提交 b05afc33 编写于 作者: D DCloud_LXH

feat(App):...

feat(App): setTabBarBadge、setTabBarItem、setTabBarStyle、hideTabBar、showTabBar、showTabBarRedDot、removeTabBarBadge、hideTabBarRedDot
上级 678cb2bc
......@@ -236,7 +236,7 @@ export function defineSyncApi<T extends ApiLike>(
export function defineAsyncApi<T extends AsyncApiLike, P = AsyncApiOptions<T>>(
name: string,
fn: (
args: Omit<P, CALLBACK_TYPES>,
args: P extends undefined ? undefined : Omit<P, CALLBACK_TYPES>,
res: {
resolve: (res: AsyncApiRes<P> | void) => void
reject: (errMsg?: string, errRes?: any) => void
......
......@@ -1067,6 +1067,12 @@ var serviceContext = (function (vue) {
function cacheStringFunction(fn) {
return cache(fn);
}
function getLen(str = '') {
return ('' + str).replace(/[^\x00-\xff]/g, '**').length;
}
function removeLeadingSlash(str) {
return str.indexOf('/') === 0 ? str.substr(1) : str;
}
const invokeArrayFns = (fns, arg) => {
let ret;
for (let i = 0; i < fns.length; i++) {
......@@ -5011,6 +5017,104 @@ var serviceContext = (function (vue) {
const API_STOP_PULL_DOWN_REFRESH = 'stopPullDownRefresh';
const IndexProtocol = {
index: {
type: Number,
required: true,
},
};
const IndexOptions = {
beforeInvoke() {
const pageMeta = getCurrentPageMeta();
if (pageMeta && !pageMeta.isTabBar) {
return 'not TabBar page';
}
},
formatArgs: {
index(value) {
if (!__uniConfig.tabBar.list[value]) {
return 'tabbar item not found';
}
},
},
};
const API_SET_TAB_BAR_ITEM = 'setTabBarItem';
const SetTabBarItemProtocol =
/*#__PURE__*/ extend({
text: String,
iconPath: String,
selectedIconPath: String,
pagePath: String,
}, IndexProtocol);
const SetTabBarItemOptions = {
beforeInvoke: IndexOptions.beforeInvoke,
formatArgs: /*#__PURE__*/ extend({
pagePath(value, params) {
if (value) {
params.pagePath = removeLeadingSlash(value);
}
},
}, IndexOptions.formatArgs),
};
const API_SET_TAB_BAR_STYLE = 'setTabBarStyle';
const SetTabBarStyleProtocol = {
color: String,
selectedColor: String,
backgroundColor: String,
backgroundImage: String,
backgroundRepeat: String,
borderStyle: String,
};
const GRADIENT_RE = /^(linear|radial)-gradient\(.+?\);?$/;
const SetTabBarStyleOptions = {
beforeInvoke: IndexOptions.beforeInvoke,
formatArgs: {
backgroundImage(value, params) {
if (value && !GRADIENT_RE.test(value)) {
params.backgroundImage = getRealPath(value);
}
},
borderStyle(value, params) {
if (value) {
params.borderStyle = value === 'white' ? 'white' : 'black';
}
},
},
};
const API_HIDE_TAB_BAR = 'hideTabBar';
const HideTabBarProtocol = {
animation: Boolean,
};
const API_SHOW_TAB_BAR = 'showTabBar';
const ShowTabBarProtocol = HideTabBarProtocol;
const API_HIDE_TAB_BAR_RED_DOT = 'hideTabBarRedDot';
const HideTabBarRedDotProtocol = IndexProtocol;
const HideTabBarRedDotOptions = IndexOptions;
const API_SHOW_TAB_BAR_RED_DOT = 'showTabBarRedDot';
const ShowTabBarRedDotProtocol = IndexProtocol;
const ShowTabBarRedDotOptions = IndexOptions;
const API_REMOVE_TAB_BAR_BADGE = 'removeTabBarBadge';
const RemoveTabBarBadgeProtocol = IndexProtocol;
const RemoveTabBarBadgeOptions = IndexOptions;
const API_SET_TAB_BAR_BADGE = 'setTabBarBadge';
const SetTabBarBadgeProtocol =
/*#__PURE__*/ extend({
text: {
type: String,
required: true,
},
}, IndexProtocol);
const SetTabBarBadgeOptions = {
beforeInvoke: IndexOptions.beforeInvoke,
formatArgs: /*#__PURE__*/ extend({
text(value, params) {
if (getLen(value) >= 4) {
params.text = '...';
}
},
}, IndexOptions.formatArgs),
};
const API_GET_PROVIDER = 'getProvider';
const GetProviderProtocol = {
service: {
......@@ -5257,7 +5361,7 @@ var serviceContext = (function (vue) {
}));
};
}
function isTabBarPage(path = '') {
function isTabBarPage$1(path = '') {
if (!(__uniConfig.tabBar && Array.isArray(__uniConfig.tabBar.list))) {
return false;
}
......@@ -5482,7 +5586,7 @@ var serviceContext = (function (vue) {
* @param {number} index
* @param {string} text
*/
function setTabBarBadge(type, index, text) {
function setTabBarBadge$1(type, index, text) {
if (!tabBar) {
return;
}
......@@ -5509,7 +5613,7 @@ var serviceContext = (function (vue) {
/**
* 动态设置 tabBar 某一项的内容
*/
function setTabBarItem(index, text, iconPath, selectedIconPath) {
function setTabBarItem$1(index, text, iconPath, selectedIconPath) {
const item = {
index,
};
......@@ -5528,14 +5632,14 @@ var serviceContext = (function (vue) {
* 动态设置 tabBar 的整体样式
* @param {Object} style 样式
*/
function setTabBarStyle(style) {
function setTabBarStyle$1(style) {
tabBar && tabBar.setTabBarStyle(style);
}
/**
* 隐藏 tabBar
* @param {boolean} animation 是否需要动画效果
*/
function hideTabBar(animation) {
function hideTabBar$1(animation) {
visible = false;
tabBar &&
tabBar.hideTabBar({
......@@ -5546,7 +5650,7 @@ var serviceContext = (function (vue) {
* 显示 tabBar
* @param {boolean} animation 是否需要动画效果
*/
function showTabBar(animation) {
function showTabBar$1(animation) {
visible = true;
tabBar &&
tabBar.showTabBar({
......@@ -5603,11 +5707,11 @@ var serviceContext = (function (vue) {
}
return false;
},
setTabBarBadge,
setTabBarItem,
setTabBarStyle,
hideTabBar,
showTabBar,
setTabBarBadge: setTabBarBadge$1,
setTabBarItem: setTabBarItem$1,
setTabBarStyle: setTabBarStyle$1,
hideTabBar: hideTabBar$1,
showTabBar: showTabBar$1,
append(webview) {
tabBar &&
tabBar.append({
......@@ -5666,6 +5770,35 @@ var serviceContext = (function (vue) {
function setPullDownRefreshWebview(webview) {
pullDownRefreshWebview = webview;
}
function isTabBarPage(path = '') {
if (!(__uniConfig.tabBar && Array.isArray(__uniConfig.tabBar.list))) {
return false;
}
try {
if (!path) {
const pages = getCurrentPages();
if (!pages.length) {
return false;
}
const page = pages[pages.length - 1];
if (!page) {
return false;
}
return page.$page.meta.isTabBar;
}
if (!/^\//.test(path)) {
path = '/' + path;
}
const route = __uniRoutes.find((route) => route.path === path);
return route && route.meta.isTabBar;
}
catch (e) {
if (process.env.NODE_ENV !== 'production') {
console.log('getCurrentPages is not ready');
}
}
return false;
}
function getStatusbarHeight() {
// 横屏时 iOS 获取的状态栏高度错误,进行纠正
......@@ -5731,7 +5864,7 @@ var serviceContext = (function (vue) {
height: 0,
cover: false,
};
if (isTabBarPage()) {
if (isTabBarPage$1()) {
tabBarView.height = tabBar$1.visible ? tabBar$1.height : 0;
tabBarView.cover = tabBar$1.cover;
}
......@@ -8596,6 +8729,74 @@ var serviceContext = (function (vue) {
}
}, SetNavigationBarColorProtocol, SetNavigationBarColorOptions);
const setTabBarBadge = defineAsyncApi(API_SET_TAB_BAR_BADGE, ({ index, text }, { resolve, reject }) => {
tabBar$1.setTabBarBadge('text', index, text);
resolve();
}, SetTabBarBadgeProtocol, SetTabBarBadgeOptions);
const setTabBarItem = defineAsyncApi(API_SET_TAB_BAR_ITEM, ({ index, text, iconPath, selectedIconPath, pagePath }, { resolve, reject }) => {
tabBar$1.setTabBarItem(index, text, iconPath, selectedIconPath);
const route = pagePath && __uniRoutes.find(({ path }) => path === pagePath);
if (route) {
const meta = route.meta;
meta.isTabBar = true;
meta.tabBarIndex = index;
meta.isQuit = true;
const tabBar = __uniConfig.tabBar;
if (tabBar && tabBar.list && tabBar.list[index] && pagePath) {
tabBar.list[index].pagePath = pagePath.startsWith('/')
? pagePath.substring(1)
: pagePath;
}
}
resolve();
}, SetTabBarItemProtocol, SetTabBarItemOptions);
const setTabBarStyle = defineAsyncApi(API_SET_TAB_BAR_STYLE, (style = {}, { resolve, reject }) => {
if (!isTabBarPage()) {
return {
errMsg: 'setTabBarStyle:fail not TabBar page',
};
}
const borderStyles = {
black: 'rgba(0,0,0,0.4)',
white: 'rgba(255,255,255,0.4)',
};
const borderStyle = style.borderStyle;
if (borderStyle && borderStyle in borderStyles) {
style.borderStyle = borderStyles[borderStyle];
}
tabBar$1.setTabBarStyle(style);
resolve();
}, SetTabBarStyleProtocol, SetTabBarStyleOptions);
const hideTabBar = defineAsyncApi(API_HIDE_TAB_BAR, (args, { resolve, reject }) => {
const animation = args && args.animation;
if (!isTabBarPage()) {
return reject('not TabBar page');
}
tabBar$1.hideTabBar(Boolean(animation));
resolve();
}, HideTabBarProtocol);
const showTabBar = defineAsyncApi(API_SHOW_TAB_BAR, (args, { resolve, reject }) => {
const animation = args && args.animation;
if (!isTabBarPage()) {
return reject('not TabBar page');
}
tabBar$1.showTabBar(Boolean(animation));
resolve();
}, ShowTabBarProtocol);
const showTabBarRedDot = defineAsyncApi(API_SHOW_TAB_BAR_RED_DOT, ({ index }, { resolve, reject }) => {
tabBar$1.setTabBarBadge('redDot', index);
resolve();
}, ShowTabBarRedDotProtocol, ShowTabBarRedDotOptions);
const setTabBarBadgeNone = (index) => tabBar$1.setTabBarBadge('none', index);
const removeTabBarBadge = defineAsyncApi(API_REMOVE_TAB_BAR_BADGE, ({ index }, { resolve, reject }) => {
setTabBarBadgeNone(index);
resolve();
}, RemoveTabBarBadgeProtocol, RemoveTabBarBadgeOptions);
const hideTabBarRedDot = defineAsyncApi(API_HIDE_TAB_BAR_RED_DOT, ({ index }, { resolve, reject }) => {
setTabBarBadgeNone(index);
resolve();
}, HideTabBarRedDotProtocol, HideTabBarRedDotOptions);
const providers = {
oauth(callback) {
plus.oauth.getServices((services) => {
......@@ -10179,6 +10380,9 @@ var serviceContext = (function (vue) {
if (typeof callback !== 'function') {
return;
}
if (!this._callbacks[type]) {
this._callbacks[type] = [];
}
this._callbacks[type].push(callback);
}
_removeEventListener(type, callback) {
......@@ -11396,6 +11600,14 @@ var serviceContext = (function (vue) {
showNavigationBarLoading: showNavigationBarLoading,
hideNavigationBarLoading: hideNavigationBarLoading,
setNavigationBarColor: setNavigationBarColor,
setTabBarBadge: setTabBarBadge,
setTabBarItem: setTabBarItem,
setTabBarStyle: setTabBarStyle,
hideTabBar: hideTabBar,
showTabBar: showTabBar,
showTabBarRedDot: showTabBarRedDot,
removeTabBarBadge: removeTabBarBadge,
hideTabBarRedDot: hideTabBarRedDot,
getProvider: getProvider,
login: login,
getUserInfo: getUserInfo,
......
......@@ -2,9 +2,9 @@
typeof define === "function" && define.amd ? define(factory) : factory();
})(function() {
"use strict";
var base = "* {\n margin: 0;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n -webkit-tap-highlight-color: transparent;\n}\n\nhtml,\nbody {\n -webkit-user-select: none;\n user-select: none;\n width: 100%;\n}\n\nhtml {\n height: 100%;\n height: 100vh;\n width: 100%;\n width: 100vw;\n}\n\nbody {\n overflow-x: hidden;\n background-color: white;\n}\n\ninput[type='search']::-webkit-search-cancel-button {\n display: none;\n}\n\n.uni-loading,\nuni-button[loading]:before {\n background: transparent\n url('data:image/svg+xml;base64, PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjOUI5OTlBIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDYwIDc1Ljk4IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0EzQTFBMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSg5MCA2NSA2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dodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTJFMkUyIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=')\n no-repeat;\n}\n\n.uni-loading {\n width: 20px;\n height: 20px;\n display: inline-block;\n vertical-align: middle;\n animation: uni-loading 1s steps(12, end) infinite;\n background-size: 100%;\n}\n\n@keyframes uni-loading {\n 0% {\n transform: rotate3d(0, 0, 1, 0deg);\n }\n\n 100% {\n transform: rotate3d(0, 0, 1, 360deg);\n }\n}\n";
var nvue = "[nvue] uni-view,\n[nvue] uni-label,\n[nvue] uni-swiper-item,\n[nvue] uni-scroll-view {\n display: flex;\n flex-shrink: 0;\n flex-grow: 0;\n flex-basis: auto;\n align-items: stretch;\n align-content: flex-start;\n}\n\n[nvue] uni-button {\n margin: 0;\n}\n\n[nvue-dir-row] uni-view,\n[nvue-dir-row] uni-label,\n[nvue-dir-row] uni-swiper-item {\n flex-direction: row;\n}\n\n[nvue-dir-column] uni-view,\n[nvue-dir-column] uni-label,\n[nvue-dir-column] uni-swiper-item {\n flex-direction: column;\n}\n\n[nvue-dir-row-reverse] uni-view,\n[nvue-dir-row-reverse] uni-label,\n[nvue-dir-row-reverse] uni-swiper-item {\n flex-direction: row-reverse;\n}\n\n[nvue-dir-column-reverse] uni-view,\n[nvue-dir-column-reverse] uni-label,\n[nvue-dir-column-reverse] uni-swiper-item {\n flex-direction: column-reverse;\n}\n\n[nvue] uni-view,\n[nvue] uni-image,\n[nvue] uni-input,\n[nvue] uni-scroll-view,\n[nvue] uni-swiper,\n[nvue] uni-swiper-item,\n[nvue] uni-text,\n[nvue] uni-textarea,\n[nvue] uni-video {\n position: relative;\n border: 0px solid #000000;\n box-sizing: border-box;\n}\n\n[nvue] uni-swiper-item {\n position: absolute;\n}\n";
var resizeSensor = "@keyframes once-show {\n from {\n top: 0;\n }\n}\nuni-resize-sensor,\nuni-resize-sensor > div {\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n overflow: hidden;\n}\nuni-resize-sensor {\n display: block;\n z-index: -1;\n visibility: hidden;\n animation: once-show 1ms;\n}\nuni-resize-sensor > div > div {\n position: absolute;\n left: 0;\n top: 0;\n}\nuni-resize-sensor > div:first-child > div {\n width: 100000px;\n height: 100000px;\n}\nuni-resize-sensor > div:last-child > div {\n width: 200%;\n height: 200%;\n}\n";
var base = "* {\r\n margin: 0;\r\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\r\n -webkit-tap-highlight-color: transparent;\r\n}\r\n\r\nhtml,\r\nbody {\r\n -webkit-user-select: none;\r\n user-select: none;\r\n width: 100%;\r\n}\r\n\r\nhtml {\r\n height: 100%;\r\n height: 100vh;\r\n width: 100%;\r\n width: 100vw;\r\n}\r\n\r\nbody {\r\n overflow-x: hidden;\r\n background-color: white;\r\n}\r\n\r\ninput[type='search']::-webkit-search-cancel-button {\r\n display: none;\r\n}\r\n\r\n.uni-loading,\r\nuni-button[loading]:before {\r\n background: transparent\r\n url('data:image/svg+xml;base64, PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGh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ZpbGw9IiNEMkQyRDIiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDM1IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0RBREFEQSIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgtNjAgMjQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTJFMkUyIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=')\r\n no-repeat;\r\n}\r\n\r\n.uni-loading {\r\n width: 20px;\r\n height: 20px;\r\n display: inline-block;\r\n vertical-align: middle;\r\n animation: uni-loading 1s steps(12, end) infinite;\r\n background-size: 100%;\r\n}\r\n\r\n@keyframes uni-loading {\r\n 0% {\r\n transform: rotate3d(0, 0, 1, 0deg);\r\n }\r\n\r\n 100% {\r\n transform: rotate3d(0, 0, 1, 360deg);\r\n }\r\n}\r\n";
var nvue = "[nvue] uni-view,\r\n[nvue] uni-label,\r\n[nvue] uni-swiper-item,\r\n[nvue] uni-scroll-view {\r\n display: flex;\r\n flex-shrink: 0;\r\n flex-grow: 0;\r\n flex-basis: auto;\r\n align-items: stretch;\r\n align-content: flex-start;\r\n}\r\n\r\n[nvue] uni-button {\r\n margin: 0;\r\n}\r\n\r\n[nvue-dir-row] uni-view,\r\n[nvue-dir-row] uni-label,\r\n[nvue-dir-row] uni-swiper-item {\r\n flex-direction: row;\r\n}\r\n\r\n[nvue-dir-column] uni-view,\r\n[nvue-dir-column] uni-label,\r\n[nvue-dir-column] uni-swiper-item {\r\n flex-direction: column;\r\n}\r\n\r\n[nvue-dir-row-reverse] uni-view,\r\n[nvue-dir-row-reverse] uni-label,\r\n[nvue-dir-row-reverse] uni-swiper-item {\r\n flex-direction: row-reverse;\r\n}\r\n\r\n[nvue-dir-column-reverse] uni-view,\r\n[nvue-dir-column-reverse] uni-label,\r\n[nvue-dir-column-reverse] uni-swiper-item {\r\n flex-direction: column-reverse;\r\n}\r\n\r\n[nvue] uni-view,\r\n[nvue] uni-image,\r\n[nvue] uni-input,\r\n[nvue] uni-scroll-view,\r\n[nvue] uni-swiper,\r\n[nvue] uni-swiper-item,\r\n[nvue] uni-text,\r\n[nvue] uni-textarea,\r\n[nvue] uni-video {\r\n position: relative;\r\n border: 0px solid #000000;\r\n box-sizing: border-box;\r\n}\r\n\r\n[nvue] uni-swiper-item {\r\n position: absolute;\r\n}\r\n";
var resizeSensor = "@keyframes once-show {\r\n from {\r\n top: 0;\r\n }\r\n}\r\nuni-resize-sensor,\r\nuni-resize-sensor > div {\r\n position: absolute;\r\n left: 0;\r\n top: 0;\r\n right: 0;\r\n bottom: 0;\r\n overflow: hidden;\r\n}\r\nuni-resize-sensor {\r\n display: block;\r\n z-index: -1;\r\n visibility: hidden;\r\n animation: once-show 1ms;\r\n}\r\nuni-resize-sensor > div > div {\r\n position: absolute;\r\n left: 0;\r\n top: 0;\r\n}\r\nuni-resize-sensor > div:first-child > div {\r\n width: 100000px;\r\n height: 100000px;\r\n}\r\nuni-resize-sensor > div:last-child > div {\r\n width: 200%;\r\n height: 200%;\r\n}\r\n";
function makeMap$1(str, expectsLowerCase) {
const map2 = Object.create(null);
const list2 = str.split(",");
......@@ -5256,7 +5256,7 @@
onChange,
offChange
};
var out = safeAreaInsets;
var D__DCloud_local_git_uniAppNext_node_modules_safeAreaInsets_out = safeAreaInsets;
const onEventPrevent = /* @__PURE__ */ withModifiers(() => {
}, ["prevent"]);
function getWindowOffset() {
......@@ -5266,10 +5266,10 @@
const left = parseInt(style.getPropertyValue("--window-left"));
const right = parseInt(style.getPropertyValue("--window-right"));
return {
top: top ? top + out.top : 0,
bottom: bottom ? bottom + out.bottom : 0,
left: left ? left + out.left : 0,
right: right ? right + out.right : 0
top: top ? top + D__DCloud_local_git_uniAppNext_node_modules_safeAreaInsets_out.top : 0,
bottom: bottom ? bottom + D__DCloud_local_git_uniAppNext_node_modules_safeAreaInsets_out.bottom : 0,
left: left ? left + D__DCloud_local_git_uniAppNext_node_modules_safeAreaInsets_out.left : 0,
right: right ? right + D__DCloud_local_git_uniAppNext_node_modules_safeAreaInsets_out.right : 0
};
}
function updateCssVar(cssVars) {
......@@ -6154,7 +6154,7 @@
this.insert(parentNodeId, refNodeId);
}
}
var text$1 = "uni-text[selectable] {\n cursor: auto;\n -webkit-user-select: text;\n user-select: text;\n}\n";
var text$1 = "uni-text[selectable] {\r\n cursor: auto;\r\n -webkit-user-select: text;\r\n user-select: text;\r\n}\r\n";
var subscriber = {
mounted() {
this._toggleListeners("subscribe", this.id);
......@@ -14342,7 +14342,7 @@
this.insert(parentNodeId, refNodeId);
}
}
var view = "uni-view {\n display: block;\n}\nuni-view[hidden] {\n display: none;\n}\n";
var view = "uni-view {\r\n display: block;\r\n}\r\nuni-view[hidden] {\r\n display: none;\r\n}\r\n";
const PROP_NAMES_HOVER = [
"hover-class",
"hover-stop-propagation",
......@@ -14826,13 +14826,13 @@
super(id2, "uni-ad", Ad, parentNodeId, refNodeId, nodeJson);
}
}
var audio = "uni-audio {\n display: none;\n}\n\nuni-audio[controls] {\n display: inline-block;\n}\n\nuni-audio[hidden] {\n display: none;\n}\n\n.uni-audio-default {\n max-width: 100%;\n min-width: 302px;\n height: 65px;\n background: #fcfcfc;\n border: 1px solid #e0e0e0;\n border-radius: 2.5px;\n display: inline-block;\n overflow: hidden;\n}\n\n.uni-audio-left {\n width: 65px;\n height: 65px;\n float: left;\n background-color: #e6e6e6;\n background-size: 100% 100%;\n background-position: 50% 50%;\n}\n\n.uni-audio-button {\n width: 24px;\n height: 24px;\n margin: 20.5px;\n background-size: cover;\n}\n\n.uni-audio-button.play {\n background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAX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YUd8fPyHzo6PwuJ4XL9+/QAWrjILOHWmDu5SAWjHa500sBSNZoibUWKGvNnuDOKbNwFPLLytITYjUteAWIuOvNbZptQxxF1ZWXnYGWuCc57TRnjzhMFbGmIyI7MpJPbAdMpEuQzsKdc/hi+jT0tLO+NoE0tTSWsjL9h58vP45qe8YppSAQqBEmaXfAy0MlbJcJ+tXqUMUMMdlpsUIuE78JYVO89mznn7LvmUh8gL+xzKknVS6hmrZLiPETNrr1npmNG3oXsg7LCKaFobx1yzKhKhBE3sFnA+mCFuI4IyBuyWzYjb/MHQh+lFN09SPIxgirxIlxhepeIWiHL41vPBFl90i4MtykOROfVXA4tAT9YJisyJP3tMu4gnA29aB2UY4V4DXg1m/FMH9gMrMSd6jwwe8PxtAPMU6JC/2/wHuyI2cMsNBRIAAAAASUVORK5CYII=);\n}\n\n.uni-audio-button.pause {\n background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAABatJREFUaAXVWl1IpFUYnllZGUf3wlz6MXER1ES7s83VUDJw6KpdaSTDwMnYFSK6KNirooHullKQCNzQRjZ/wom1u9ALQ0mT1ktFdEBWXLdibaH1jwmx5zme83W+z2Hm+7bZmc8X3jl/73vO837n/z3j9aSBjo6O8lBNC7gZXAUuBxeCz4FJj8APwTHwCngaPOX1evcRZocAuhAcAt8G74KdEnWoyzpobGYIjfnBn4D/BqeLWBfr9Du1wmtXAZXnQPY9cBj8HNhEe3t7sbW1tfn19fW7m5ubD5aXl7dnZmYeUKipqel8dXV1UUlJyfmysrILFRUV9X6/n8PMSveREQYPYHgdWgsTpW0ZAPDPQ3kC/JJeCUEvLi7+NDg4+EskEvldL0sVD4VCz3Z1db1SW1v7egJj7kD/Coy4l6qelAYAfB0quQ02vno8Hr8/OTkZaWtrmzo4ODhK1Uiycp/P5x0fH28JBAKh3Nxcow3osDdaYcRCMv2kBgD8O1D+BuyTlcTn5+cj7e3t0Y2NjX+SVey0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rSpsmK6yVdi7zx0APmoVuvs7Pz/Wx55+jkHRoa+jonJ+cp4gHdAV+CAcbrjckASsCI0+vcpQGw7h6CVrDwRvMCTS8xvwbLM0Fsy+KZJha+1hCbiYw5oOdCkM86V1UejWBXZmJOsA22pXkeCIOvNAmfmk4MIQWaIYZTwiemYDAY3dracsUTU1IDpBGn95FP9Yac2KfzmVUzgkssHxfCYOGGR2gQvXp0jNG3lOyh+wKosrLykmWMq3q4SYXBth+6laLtEL3hqr8a2AZuFYQhrvizR8pJbAWeKA1j6OFuATeDq8D09hWClc+Jp0ceGHn/5hWWt8C0/N3mX15C4bDnCIuAAAAAAElFTkSuQmCC);\n}\n\n.uni-audio-right {\n box-sizing: border-box;\n height: 65px;\n margin-left: 65px;\n padding: 11px 16.5px 13.5px 15px;\n overflow: hidden;\n}\n\n.uni-audio-time {\n margin-top: 3.5px;\n height: 16.5px;\n font-size: 12px;\n color: #888888;\n float: right;\n}\n\n.uni-audio-info {\n margin-right: 70px;\n overflow: hidden;\n}\n\n.uni-audio-name {\n height: 22.5px;\n line-height: 22.5px;\n margin-bottom: 3.5px;\n font-size: 14px;\n color: #353535;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.uni-audio-author {\n height: 14.5px;\n line-height: 14.5px;\n font-size: 12px;\n color: #888888;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n";
var audio = "uni-audio {\r\n display: none;\r\n}\r\n\r\nuni-audio[controls] {\r\n display: inline-block;\r\n}\r\n\r\nuni-audio[hidden] {\r\n display: none;\r\n}\r\n\r\n.uni-audio-default {\r\n max-width: 100%;\r\n min-width: 302px;\r\n height: 65px;\r\n background: #fcfcfc;\r\n border: 1px solid #e0e0e0;\r\n border-radius: 2.5px;\r\n display: inline-block;\r\n overflow: hidden;\r\n}\r\n\r\n.uni-audio-left {\r\n width: 65px;\r\n height: 65px;\r\n float: left;\r\n background-color: #e6e6e6;\r\n background-size: 100% 100%;\r\n background-position: 50% 50%;\r\n}\r\n\r\n.uni-audio-button {\r\n width: 24px;\r\n height: 24px;\r\n margin: 20.5px;\r\n background-size: cover;\r\n}\r\n\r\n.uni-audio-button.play {\r\n background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAB4dJREFUaAXNWg1MlVUYvpcfIRCJ+MnCaOBl8dOcOCEQZ9kmI5cQG5Yb6MifKbMaGVobOtlibTWHDpgpxBUwF07826iFsMkYJhg559JdGiQSkUzSBA0QkZ7n4/u+nXsvwf3jwru99/y/3/N+3znvec97rlbjABofH38GYtaAV4MjwDqwH9gHTBoE3wd3gA3gi+B6rVY7hHR2CKD9wFngs+BHYGuJYziWMqiscwgP8wLvBQ+AHUWURZle1mqhtXQAhLui7xZwPvgFsBENDg7+Drp069at2z09Pf03b978u6mpqZ+dVq1aFRAVFeW/aNGigNDQ0JfDwsISfXx8wowETBT+QpIPLsf0GpuomvrXIgUAPhhizoGXi+II+tq1az/o9fpLFRUVd8S26fJZWVkLN2/enBgTE/PW/PnzF5v0b0P5HSjxp0m9WXFaBQD+NYw6C1bf+vDwcF9DQ4N+/fr19ciPm0m1osLT01N76tSpNaD3PTw8FgpD+TXSoESrUGeWnVIBgM/EiDKwJ0eiPNrS0nJsw4YNNd3d3aOscxSFhIS4V1dXpyckJGRB5jxZ7jDSbVDiW7lslriY1cgVMvjjKErgR0dH/zl06NCuFStWfOdo8HwkZVL2wYMHP3ny5AlNLonPPi5jkSpMfyb9AhjAadMIlsBjrndmZ2fnnThxos9UwEyUMzIynj9y5EgB1gb3ExK/xBuTTSczBQCeC/ZnsDTnCR6f9YMbN25QiNMoOjras7W1tcjb2ztcfijXRKzpwjaaQgBPU0lrI4HntOGbdzZ4AuYzt2/fvm9sbOweyyBiOidjlCr4Y6QAyrTzkqlEx9GSkpJ9zpo2BGNKfHZRUdF+1D+W24iNGFVSpxAAcxekryK9/cuXLx/FoqpWe85iBlPpvbi4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1lRg3hRvNkLtyytuHfAHlKVOI+UIwQxYaRolramrSmZ8LhLefJIAnRmKVSFUAHbiq8yeqNRpGiWE5XlXKs5WWlZUthu3/SHh+voxVqlKnEEuYRvTPee5czjKjxDCr2bMVnYNF9IO7fRRQAokHxIuPeCig3t4YKcAeUCIYiRrcffjwYUd8fPyHzo6PwuJ4XL9+/QAWrjILOHWmDu5SAWjHa500sBSNZoibUWKGvNnuDOKbNwFPLLytITYjUteAWIuOvNbZptQxxF1ZWXnYGWuCc57TRnjzhMFbGmIyI7MpJPbAdMpEuQzsKdc/hi+jT0tLO+NoE0tTSWsjL9h58vP45qe8YppSAQqBEmaXfAy0MlbJcJ+tXqUMUMMdlpsUIuE78JYVO89mznn7LvmUh8gL+xzKknVS6hmrZLiPETNrr1npmNG3oXsg7LCKaFobx1yzKhKhBE3sFnA+mCFuI4IyBuyWzYjb/MHQh+lFN09SPIxgirxIlxhepeIWiHL41vPBFl90i4MtykOROfVXA4tAT9YJisyJP3tMu4gnA29aB2UY4V4DXg1m/FMH9gMrMSd6jwwe8PxtAPMU6JC/2/wHuyI2cMsNBRIAAAAASUVORK5CYII=);\r\n}\r\n\r\n.uni-audio-button.pause {\r\n background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAABatJREFUaAXVWl1IpFUYnllZGUf3wlz6MXER1ES7s83VUDJw6KpdaSTDwMnYFSK6KNirooHullKQCNzQRjZ/wom1u9ALQ0mT1ktFdEBWXLdibaH1jwmx5zme83W+z2Hm+7bZmc8X3jl/73vO837n/z3j9aSBjo6O8lBNC7gZXAUuBxeCz4FJj8APwTHwCngaPOX1evcRZocAuhAcAt8G74KdEnWoyzpobGYIjfnBn4D/BqeLWBfr9Du1wmtXAZXnQPY9cBj8HNhEe3t7sbW1tfn19fW7m5ubD5aXl7dnZmYeUKipqel8dXV1UUlJyfmysrILFRUV9X6/n8PMSveREQYPYHgdWgsTpW0ZAPDP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YPZHoC94FW9gBJnEYZoa8SBy1hGNNuIWIiNg2PwKwbIPYDdhF9lZqgK6LEpA0fYv3PAHQF94IbCikdrcXFxWdVOtsh/abEpOG4ITGbvBI9EBA3f3qJo9FoUFPIapROX81zTYzEKkgNIQ8s4qwOH2d7PPQS9/T0vKjS2QqJQXqsFYSwxCrSpsmK6yVdi7zx0APmoVuvs7Pz/Wx55+jkHRoa+jonJ+cp4gHdAV+CAcbrjckASsCI0+vcpQGw7h6CVrDwRvMCTS8xvwbLM0Fsy+KZJha+1hCbiYw5oOdCkM86V1UejWBXZmJOsA22pXkeCIOvNAmfmk4MIQWaIYZTwiemYDAY3dracsUTU1IDpBGn95FP9Yac2KfzmVUzgkssHxfCYOGGR2gQvXp0jNG3lOyh+wKosrLykmWMq3q4SYXBth+6laLtEL3hqr8a2AZuFYQhrvizR8pJbAWeKA1j6OFuATeDq8D09hWClc+Jp0ceGHn/5hWWt8C0/N3mX15C4bDnCIuAAAAAAElFTkSuQmCC);\r\n}\r\n\r\n.uni-audio-right {\r\n box-sizing: border-box;\r\n height: 65px;\r\n margin-left: 65px;\r\n padding: 11px 16.5px 13.5px 15px;\r\n overflow: hidden;\r\n}\r\n\r\n.uni-audio-time {\r\n margin-top: 3.5px;\r\n height: 16.5px;\r\n font-size: 12px;\r\n color: #888888;\r\n float: right;\r\n}\r\n\r\n.uni-audio-info {\r\n margin-right: 70px;\r\n overflow: hidden;\r\n}\r\n\r\n.uni-audio-name {\r\n height: 22.5px;\r\n line-height: 22.5px;\r\n margin-bottom: 3.5px;\r\n font-size: 14px;\r\n color: #353535;\r\n overflow: hidden;\r\n white-space: nowrap;\r\n text-overflow: ellipsis;\r\n}\r\n\r\n.uni-audio-author {\r\n height: 14.5px;\r\n line-height: 14.5px;\r\n font-size: 12px;\r\n color: #888888;\r\n overflow: hidden;\r\n white-space: nowrap;\r\n text-overflow: ellipsis;\r\n}\r\n";
class UniAudio extends UniComponent {
constructor(id2, parentNodeId, refNodeId, nodeJson) {
super(id2, "uni-audio", _sfc_main, parentNodeId, refNodeId, nodeJson);
}
}
var button = "uni-button {\n position: relative;\n display: block;\n margin-left: auto;\n margin-right: auto;\n padding-left: 14px;\n padding-right: 14px;\n box-sizing: border-box;\n font-size: 18px;\n text-align: center;\n text-decoration: none;\n line-height: 2.55555556;\n border-radius: 5px;\n -webkit-tap-highlight-color: transparent;\n overflow: hidden;\n color: #000000;\n background-color: #f8f8f8;\n cursor: pointer;\n}\n\nuni-button[hidden] {\n display: none !important;\n}\n\nuni-button:after {\n content: ' ';\n width: 200%;\n height: 200%;\n position: absolute;\n top: 0;\n left: 0;\n border: 1px solid rgba(0, 0, 0, 0.2);\n transform: scale(0.5);\n transform-origin: 0 0;\n box-sizing: border-box;\n border-radius: 10px;\n}\n\nuni-button[native] {\n padding-left: 0;\n padding-right: 0;\n}\n\nuni-button[native] .uni-button-cover-view-wrapper {\n border: inherit;\n border-color: inherit;\n border-radius: inherit;\n background-color: inherit;\n}\n\nuni-button[native] .uni-button-cover-view-inner {\n padding-left: 14px;\n padding-right: 14px;\n}\n\nuni-button uni-cover-view {\n line-height: inherit;\n white-space: inherit;\n}\n\nuni-button[type='default'] {\n color: #000000;\n background-color: #f8f8f8;\n}\n\nuni-button[type='primary'] {\n color: #ffffff;\n background-color: #007aff;\n}\n\nuni-button[type='warn'] {\n color: #ffffff;\n background-color: #e64340;\n}\n\nuni-button[disabled] {\n color: rgba(255, 255, 255, 0.6);\n cursor: not-allowed;\n}\n\nuni-button[disabled][type='default'],\nuni-button[disabled]:not([type]) {\n color: rgba(0, 0, 0, 0.3);\n background-color: #f7f7f7;\n}\n\nuni-button[disabled][type='primary'] {\n background-color: rgba(0, 122, 255, 0.6);\n}\n\nuni-button[disabled][type='warn'] {\n background-color: #ec8b89;\n}\n\nuni-button[type='primary'][plain] {\n color: #007aff;\n border: 1px solid #007aff;\n background-color: transparent;\n}\n\nuni-button[type='primary'][plain][disabled] {\n color: rgba(0, 0, 0, 0.2);\n border-color: rgba(0, 0, 0, 0.2);\n}\n\nuni-button[type='primary'][plain]:after {\n border-width: 0;\n}\n\nuni-button[type='default'][plain] {\n color: #353535;\n border: 1px solid #353535;\n background-color: transparent;\n}\n\nuni-button[type='default'][plain][disabled] {\n color: rgba(0, 0, 0, 0.2);\n border-color: rgba(0, 0, 0, 0.2);\n}\n\nuni-button[type='default'][plain]:after {\n border-width: 0;\n}\n\nuni-button[plain] {\n color: #353535;\n border: 1px solid #353535;\n background-color: transparent;\n}\n\nuni-button[plain][disabled] {\n color: rgba(0, 0, 0, 0.2);\n border-color: rgba(0, 0, 0, 0.2);\n}\n\nuni-button[plain]:after {\n border-width: 0;\n}\n\nuni-button[plain][native] .uni-button-cover-view-inner {\n padding: 0;\n}\n\nuni-button[type='warn'][plain] {\n color: #e64340;\n border: 1px solid #e64340;\n background-color: transparent;\n}\n\nuni-button[type='warn'][plain][disabled] {\n color: rgba(0, 0, 0, 0.2);\n border-color: rgba(0, 0, 0, 0.2);\n}\n\nuni-button[type='warn'][plain]:after {\n border-width: 0;\n}\n\nuni-button[size='mini'] {\n display: inline-block;\n line-height: 2.3;\n font-size: 13px;\n padding: 0 1.34em;\n}\n\nuni-button[size='mini'][native] {\n padding: 0;\n}\n\nuni-button[size='mini'][native] .uni-button-cover-view-inner {\n padding: 0 1.34em;\n}\n\nuni-button[loading]:not([disabled]) {\n cursor: progress;\n}\n\nuni-button[loading]:before {\n content: ' ';\n display: inline-block;\n width: 18px;\n height: 18px;\n vertical-align: middle;\n animation: uni-loading 1s steps(12, end) infinite;\n background-size: 100%;\n}\n\nuni-button[loading][type='primary'] {\n color: rgba(255, 255, 255, 0.6);\n background-color: #0062cc;\n}\n\nuni-button[loading][type='primary'][plain] {\n color: #007aff;\n background-color: transparent;\n}\n\nuni-button[loading][type='default'] {\n color: rgba(0, 0, 0, 0.6);\n background-color: #dedede;\n}\n\nuni-button[loading][type='default'][plain] {\n color: #353535;\n background-color: transparent;\n}\n\nuni-button[loading][type='warn'] {\n color: rgba(255, 255, 255, 0.6);\n background-color: #ce3c39;\n}\n\nuni-button[loading][type='warn'][plain] {\n color: #e64340;\n background-color: transparent;\n}\n\nuni-button[loading][native]:before {\n content: none;\n}\n\n.button-hover {\n color: rgba(0, 0, 0, 0.6);\n background-color: #dedede;\n}\n\n.button-hover[plain] {\n color: rgba(53, 53, 53, 0.6);\n border-color: rgba(53, 53, 53, 0.6);\n background-color: transparent;\n}\n\n.button-hover[type='primary'] {\n color: rgba(255, 255, 255, 0.6);\n background-color: #0062cc;\n}\n\n.button-hover[type='primary'][plain] {\n color: rgba(26, 173, 25, 0.6);\n border-color: rgba(26, 173, 25, 0.6);\n background-color: transparent;\n}\n\n.button-hover[type='default'] {\n color: rgba(0, 0, 0, 0.6);\n background-color: #dedede;\n}\n\n.button-hover[type='default'][plain] {\n color: rgba(53, 53, 53, 0.6);\n border-color: rgba(53, 53, 53, 0.6);\n background-color: transparent;\n}\n\n.button-hover[type='warn'] {\n color: rgba(255, 255, 255, 0.6);\n background-color: #ce3c39;\n}\n\n.button-hover[type='warn'][plain] {\n color: rgba(230, 67, 64, 0.6);\n border-color: rgba(230, 67, 64, 0.6);\n background-color: transparent;\n}\n";
var button = "uni-button {\r\n position: relative;\r\n display: block;\r\n margin-left: auto;\r\n margin-right: auto;\r\n padding-left: 14px;\r\n padding-right: 14px;\r\n box-sizing: border-box;\r\n font-size: 18px;\r\n text-align: center;\r\n text-decoration: none;\r\n line-height: 2.55555556;\r\n border-radius: 5px;\r\n -webkit-tap-highlight-color: transparent;\r\n overflow: hidden;\r\n color: #000000;\r\n background-color: #f8f8f8;\r\n cursor: pointer;\r\n}\r\n\r\nuni-button[hidden] {\r\n display: none !important;\r\n}\r\n\r\nuni-button:after {\r\n content: ' ';\r\n width: 200%;\r\n height: 200%;\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n border: 1px solid rgba(0, 0, 0, 0.2);\r\n transform: scale(0.5);\r\n transform-origin: 0 0;\r\n box-sizing: border-box;\r\n border-radius: 10px;\r\n}\r\n\r\nuni-button[native] {\r\n padding-left: 0;\r\n padding-right: 0;\r\n}\r\n\r\nuni-button[native] .uni-button-cover-view-wrapper {\r\n border: inherit;\r\n border-color: inherit;\r\n border-radius: inherit;\r\n background-color: inherit;\r\n}\r\n\r\nuni-button[native] .uni-button-cover-view-inner {\r\n padding-left: 14px;\r\n padding-right: 14px;\r\n}\r\n\r\nuni-button uni-cover-view {\r\n line-height: inherit;\r\n white-space: inherit;\r\n}\r\n\r\nuni-button[type='default'] {\r\n color: #000000;\r\n background-color: #f8f8f8;\r\n}\r\n\r\nuni-button[type='primary'] {\r\n color: #ffffff;\r\n background-color: #007aff;\r\n}\r\n\r\nuni-button[type='warn'] {\r\n color: #ffffff;\r\n background-color: #e64340;\r\n}\r\n\r\nuni-button[disabled] {\r\n color: rgba(255, 255, 255, 0.6);\r\n cursor: not-allowed;\r\n}\r\n\r\nuni-button[disabled][type='default'],\r\nuni-button[disabled]:not([type]) {\r\n color: rgba(0, 0, 0, 0.3);\r\n background-color: #f7f7f7;\r\n}\r\n\r\nuni-button[disabled][type='primary'] {\r\n background-color: rgba(0, 122, 255, 0.6);\r\n}\r\n\r\nuni-button[disabled][type='warn'] {\r\n background-color: #ec8b89;\r\n}\r\n\r\nuni-button[type='primary'][plain] {\r\n color: #007aff;\r\n border: 1px solid #007aff;\r\n background-color: transparent;\r\n}\r\n\r\nuni-button[type='primary'][plain][disabled] {\r\n color: rgba(0, 0, 0, 0.2);\r\n border-color: rgba(0, 0, 0, 0.2);\r\n}\r\n\r\nuni-button[type='primary'][plain]:after {\r\n border-width: 0;\r\n}\r\n\r\nuni-button[type='default'][plain] {\r\n color: #353535;\r\n border: 1px solid #353535;\r\n background-color: transparent;\r\n}\r\n\r\nuni-button[type='default'][plain][disabled] {\r\n color: rgba(0, 0, 0, 0.2);\r\n border-color: rgba(0, 0, 0, 0.2);\r\n}\r\n\r\nuni-button[type='default'][plain]:after {\r\n border-width: 0;\r\n}\r\n\r\nuni-button[plain] {\r\n color: #353535;\r\n border: 1px solid #353535;\r\n background-color: transparent;\r\n}\r\n\r\nuni-button[plain][disabled] {\r\n color: rgba(0, 0, 0, 0.2);\r\n border-color: rgba(0, 0, 0, 0.2);\r\n}\r\n\r\nuni-button[plain]:after {\r\n border-width: 0;\r\n}\r\n\r\nuni-button[plain][native] .uni-button-cover-view-inner {\r\n padding: 0;\r\n}\r\n\r\nuni-button[type='warn'][plain] {\r\n color: #e64340;\r\n border: 1px solid #e64340;\r\n background-color: transparent;\r\n}\r\n\r\nuni-button[type='warn'][plain][disabled] {\r\n color: rgba(0, 0, 0, 0.2);\r\n border-color: rgba(0, 0, 0, 0.2);\r\n}\r\n\r\nuni-button[type='warn'][plain]:after {\r\n border-width: 0;\r\n}\r\n\r\nuni-button[size='mini'] {\r\n display: inline-block;\r\n line-height: 2.3;\r\n font-size: 13px;\r\n padding: 0 1.34em;\r\n}\r\n\r\nuni-button[size='mini'][native] {\r\n padding: 0;\r\n}\r\n\r\nuni-button[size='mini'][native] .uni-button-cover-view-inner {\r\n padding: 0 1.34em;\r\n}\r\n\r\nuni-button[loading]:not([disabled]) {\r\n cursor: progress;\r\n}\r\n\r\nuni-button[loading]:before {\r\n content: ' ';\r\n display: inline-block;\r\n width: 18px;\r\n height: 18px;\r\n vertical-align: middle;\r\n animation: uni-loading 1s steps(12, end) infinite;\r\n background-size: 100%;\r\n}\r\n\r\nuni-button[loading][type='primary'] {\r\n color: rgba(255, 255, 255, 0.6);\r\n background-color: #0062cc;\r\n}\r\n\r\nuni-button[loading][type='primary'][plain] {\r\n color: #007aff;\r\n background-color: transparent;\r\n}\r\n\r\nuni-button[loading][type='default'] {\r\n color: rgba(0, 0, 0, 0.6);\r\n background-color: #dedede;\r\n}\r\n\r\nuni-button[loading][type='default'][plain] {\r\n color: #353535;\r\n background-color: transparent;\r\n}\r\n\r\nuni-button[loading][type='warn'] {\r\n color: rgba(255, 255, 255, 0.6);\r\n background-color: #ce3c39;\r\n}\r\n\r\nuni-button[loading][type='warn'][plain] {\r\n color: #e64340;\r\n background-color: transparent;\r\n}\r\n\r\nuni-button[loading][native]:before {\r\n content: none;\r\n}\r\n\r\n.button-hover {\r\n color: rgba(0, 0, 0, 0.6);\r\n background-color: #dedede;\r\n}\r\n\r\n.button-hover[plain] {\r\n color: rgba(53, 53, 53, 0.6);\r\n border-color: rgba(53, 53, 53, 0.6);\r\n background-color: transparent;\r\n}\r\n\r\n.button-hover[type='primary'] {\r\n color: rgba(255, 255, 255, 0.6);\r\n background-color: #0062cc;\r\n}\r\n\r\n.button-hover[type='primary'][plain] {\r\n color: rgba(26, 173, 25, 0.6);\r\n border-color: rgba(26, 173, 25, 0.6);\r\n background-color: transparent;\r\n}\r\n\r\n.button-hover[type='default'] {\r\n color: rgba(0, 0, 0, 0.6);\r\n background-color: #dedede;\r\n}\r\n\r\n.button-hover[type='default'][plain] {\r\n color: rgba(53, 53, 53, 0.6);\r\n border-color: rgba(53, 53, 53, 0.6);\r\n background-color: transparent;\r\n}\r\n\r\n.button-hover[type='warn'] {\r\n color: rgba(255, 255, 255, 0.6);\r\n background-color: #ce3c39;\r\n}\r\n\r\n.button-hover[type='warn'][plain] {\r\n color: rgba(230, 67, 64, 0.6);\r\n border-color: rgba(230, 67, 64, 0.6);\r\n background-color: transparent;\r\n}\r\n";
class UniButton extends UniComponent {
constructor(id2, parentNodeId, refNodeId, nodeJson) {
super(id2, "uni-button", Button, parentNodeId, refNodeId, nodeJson);
......@@ -14849,13 +14849,13 @@
super(id2, "uni-camera", parentNodeId, refNodeId);
}
}
var canvas = "uni-canvas {\n width: 300px;\n height: 150px;\n display: block;\n position: relative;\n}\n\nuni-canvas > .uni-canvas-canvas {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n}\n";
var canvas = "uni-canvas {\r\n width: 300px;\r\n height: 150px;\r\n display: block;\r\n position: relative;\r\n}\r\n\r\nuni-canvas > .uni-canvas-canvas {\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n width: 100%;\r\n height: 100%;\r\n}\r\n";
class UniCanvas extends UniComponent {
constructor(id2, parentNodeId, refNodeId, nodeJson) {
super(id2, "uni-canvas", Canvas, parentNodeId, refNodeId, nodeJson, "uni-canvas > div");
}
}
var checkbox = "uni-checkbox {\n -webkit-tap-highlight-color: transparent;\n display: inline-block;\n cursor: pointer;\n}\n\nuni-checkbox[hidden] {\n display: none;\n}\n\nuni-checkbox[disabled] {\n cursor: not-allowed;\n}\n\n.uni-checkbox-wrapper {\n display: inline-flex;\n align-items: center;\n vertical-align: middle;\n}\n\n.uni-checkbox-input {\n margin-right: 5px;\n -webkit-appearance: none;\n appearance: none;\n outline: 0;\n border: 1px solid #d1d1d1;\n background-color: #ffffff;\n border-radius: 3px;\n width: 22px;\n height: 22px;\n position: relative;\n}\n\n.uni-checkbox-input svg {\n color: #007aff;\n font-size: 22px;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -48%) scale(0.73);\n}\n\nuni-checkbox:not([disabled]) .uni-checkbox-input:hover {\n border-color: #007aff;\n}\n\n.uni-checkbox-input.uni-checkbox-input-disabled {\n background-color: #e1e1e1;\n}\n\n.uni-checkbox-input.uni-checkbox-input-disabled:before {\n color: #adadad;\n}\n\nuni-checkbox-group {\n display: block;\n}\n";
var checkbox = "uni-checkbox {\r\n -webkit-tap-highlight-color: transparent;\r\n display: inline-block;\r\n cursor: pointer;\r\n}\r\n\r\nuni-checkbox[hidden] {\r\n display: none;\r\n}\r\n\r\nuni-checkbox[disabled] {\r\n cursor: not-allowed;\r\n}\r\n\r\n.uni-checkbox-wrapper {\r\n display: inline-flex;\r\n align-items: center;\r\n vertical-align: middle;\r\n}\r\n\r\n.uni-checkbox-input {\r\n margin-right: 5px;\r\n -webkit-appearance: none;\r\n appearance: none;\r\n outline: 0;\r\n border: 1px solid #d1d1d1;\r\n background-color: #ffffff;\r\n border-radius: 3px;\r\n width: 22px;\r\n height: 22px;\r\n position: relative;\r\n}\r\n\r\n.uni-checkbox-input svg {\r\n color: #007aff;\r\n font-size: 22px;\r\n position: absolute;\r\n top: 50%;\r\n left: 50%;\r\n transform: translate(-50%, -48%) scale(0.73);\r\n}\r\n\r\nuni-checkbox:not([disabled]) .uni-checkbox-input:hover {\r\n border-color: #007aff;\r\n}\r\n\r\n.uni-checkbox-input.uni-checkbox-input-disabled {\r\n background-color: #e1e1e1;\r\n}\r\n\r\n.uni-checkbox-input.uni-checkbox-input-disabled:before {\r\n color: #adadad;\r\n}\r\n\r\nuni-checkbox-group {\r\n display: block;\r\n}\r\n";
class UniCheckbox extends UniComponent {
constructor(id2, parentNodeId, refNodeId, nodeJson) {
super(id2, "uni-checkbox", Checkbox, parentNodeId, refNodeId, nodeJson, ".uni-checkbox-wrapper");
......@@ -14864,13 +14864,13 @@
setHolderText(this.$holder, "uni-checkbox-input", text2);
}
}
var checkboxGroup = "uni-checkbox-group {\n display: block;\n}\n\nuni-checkbox-group[hidden] {\n display: none;\n}\n";
var checkboxGroup = "uni-checkbox-group {\r\n display: block;\r\n}\r\n\r\nuni-checkbox-group[hidden] {\r\n display: none;\r\n}\r\n";
class UniCheckboxGroup extends UniComponent {
constructor(id2, parentNodeId, refNodeId, nodeJson) {
super(id2, "uni-checkbox-group", CheckboxGroup, parentNodeId, refNodeId, nodeJson);
}
}
var coverImage = "uni-cover-image {\n display: block;\n line-height: 1.2;\n overflow: hidden;\n height: 100%;\n width: 100%;\n pointer-events: auto;\n}\n\nuni-cover-image[hidden] {\n display: none;\n}\n\nuni-cover-image .uni-cover-image {\n width: 100%;\n height: 100%;\n}\n";
var coverImage = "uni-cover-image {\r\n display: block;\r\n line-height: 1.2;\r\n overflow: hidden;\r\n height: 100%;\r\n width: 100%;\r\n pointer-events: auto;\r\n}\r\n\r\nuni-cover-image[hidden] {\r\n display: none;\r\n}\r\n\r\nuni-cover-image .uni-cover-image {\r\n width: 100%;\r\n height: 100%;\r\n}\r\n";
let id = 0;
function useCover(rootRef, trigger2, content) {
const { position, hidden, onParentReady } = useNative(rootRef);
......@@ -15129,7 +15129,7 @@
super(id2, "uni-cover-image", CoverImage, parentNodeId, refNodeId, nodeJson);
}
}
var coverView = "uni-cover-view {\n display: block;\n line-height: 1.2;\n overflow: hidden;\n white-space: nowrap;\n pointer-events: auto;\n}\n\nuni-cover-view[hidden] {\n display: none;\n}\n\nuni-cover-view .uni-cover-view {\n width: 100%;\n height: 100%;\n}\n";
var coverView = "uni-cover-view {\r\n display: block;\r\n line-height: 1.2;\r\n overflow: hidden;\r\n white-space: nowrap;\r\n pointer-events: auto;\r\n}\r\n\r\nuni-cover-view[hidden] {\r\n display: none;\r\n}\r\n\r\nuni-cover-view .uni-cover-view {\r\n width: 100%;\r\n height: 100%;\r\n}\r\n";
var CoverView = /* @__PURE__ */ defineBuiltInComponent({
name: "CoverView",
emits: ["click"],
......@@ -15164,7 +15164,7 @@
super(id2, "uni-cover-view", CoverView, parentNodeId, refNodeId, nodeJson, ".uni-cover-view");
}
}
var editor = ".ql-container {\n display: block;\n position: relative;\n box-sizing: border-box;\n -webkit-user-select: text;\n user-select: text;\n outline: none;\n overflow: hidden;\n width: 100%;\n height: 200px;\n min-height: 200px;\n}\n.ql-container[hidden] {\n display: none;\n}\n.ql-container .ql-editor {\n position: relative;\n font-size: inherit;\n line-height: inherit;\n font-family: inherit;\n min-height: inherit;\n width: 100%;\n height: 100%;\n padding: 0;\n overflow-x: hidden;\n overflow-y: auto;\n -webkit-tap-highlight-color: transparent;\n -webkit-touch-callout: none;\n -webkit-overflow-scrolling: touch;\n}\n.ql-container .ql-editor::-webkit-scrollbar {\n width: 0 !important;\n}\n.ql-container .ql-editor.scroll-disabled {\n overflow: hidden;\n}\n.ql-container .ql-image-overlay {\n display: flex;\n position: absolute;\n box-sizing: border-box;\n border: 1px dashed #ccc;\n justify-content: center;\n align-items: center;\n -webkit-user-select: none;\n user-select: none;\n}\n.ql-container .ql-image-overlay .ql-image-size {\n position: absolute;\n padding: 4px 8px;\n text-align: center;\n background-color: #fff;\n color: #888;\n border: 1px solid #ccc;\n box-sizing: border-box;\n opacity: 0.8;\n right: 4px;\n top: 4px;\n font-size: 12px;\n display: inline-block;\n width: auto;\n}\n.ql-container .ql-image-overlay .ql-image-toolbar {\n position: relative;\n text-align: center;\n box-sizing: border-box;\n background: #000;\n border-radius: 5px;\n color: #fff;\n font-size: 0;\n min-height: 24px;\n z-index: 100;\n}\n.ql-container .ql-image-overlay .ql-image-toolbar span {\n display: inline-block;\n cursor: pointer;\n padding: 5px;\n font-size: 12px;\n border-right: 1px solid #fff;\n}\n.ql-container .ql-image-overlay .ql-image-toolbar span:last-child {\n border-right: 0;\n}\n.ql-container .ql-image-overlay .ql-image-toolbar span.triangle-up {\n padding: 0;\n position: absolute;\n top: -12px;\n left: 50%;\n transform: translatex(-50%);\n width: 0;\n height: 0;\n border-width: 6px;\n border-style: solid;\n border-color: transparent transparent black transparent;\n}\n.ql-container .ql-image-overlay .ql-image-handle {\n position: absolute;\n height: 12px;\n width: 12px;\n border-radius: 50%;\n border: 1px solid #ccc;\n box-sizing: border-box;\n background: #fff;\n}\n.ql-container img {\n display: inline-block;\n max-width: 100%;\n}\n.ql-clipboard p {\n margin: 0;\n padding: 0;\n}\n.ql-editor {\n box-sizing: border-box;\n height: 100%;\n outline: none;\n overflow-y: auto;\n tab-size: 4;\n -moz-tab-size: 4;\n text-align: left;\n white-space: pre-wrap;\n word-wrap: break-word;\n}\n.ql-editor > * {\n cursor: text;\n}\n.ql-editor p,\n.ql-editor ol,\n.ql-editor ul,\n.ql-editor pre,\n.ql-editor blockquote,\n.ql-editor h1,\n.ql-editor h2,\n.ql-editor h3,\n.ql-editor h4,\n.ql-editor h5,\n.ql-editor h6 {\n margin: 0;\n padding: 0;\n counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;\n}\n.ql-editor ol > li,\n.ql-editor ul > li {\n list-style-type: none;\n}\n.ql-editor ul > li::before {\n content: '\\2022';\n}\n.ql-editor ul[data-checked=true],\n.ql-editor ul[data-checked=false] {\n pointer-events: none;\n}\n.ql-editor ul[data-checked=true] > li *,\n.ql-editor ul[data-checked=false] > li * {\n pointer-events: all;\n}\n.ql-editor ul[data-checked=true] > li::before,\n.ql-editor ul[data-checked=false] > li::before {\n color: #777;\n cursor: pointer;\n pointer-events: all;\n}\n.ql-editor ul[data-checked=true] > li::before {\n content: '\\2611';\n}\n.ql-editor ul[data-checked=false] > li::before {\n content: '\\2610';\n}\n.ql-editor li::before {\n display: inline-block;\n white-space: nowrap;\n width: 2em;\n}\n.ql-editor ol li {\n counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;\n counter-increment: list-0;\n}\n.ql-editor ol li:before {\n content: counter(list-0, decimal) '. ';\n}\n.ql-editor ol li.ql-indent-1 {\n counter-increment: list-1;\n}\n.ql-editor ol li.ql-indent-1:before {\n content: counter(list-1, lower-alpha) '. ';\n}\n.ql-editor ol li.ql-indent-1 {\n counter-reset: list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;\n}\n.ql-editor ol li.ql-indent-2 {\n counter-increment: list-2;\n}\n.ql-editor ol li.ql-indent-2:before {\n content: counter(list-2, lower-roman) '. ';\n}\n.ql-editor ol li.ql-indent-2 {\n counter-reset: list-3 list-4 list-5 list-6 list-7 list-8 list-9;\n}\n.ql-editor ol li.ql-indent-3 {\n counter-increment: list-3;\n}\n.ql-editor ol li.ql-indent-3:before {\n content: counter(list-3, decimal) '. ';\n}\n.ql-editor ol li.ql-indent-3 {\n counter-reset: list-4 list-5 list-6 list-7 list-8 list-9;\n}\n.ql-editor ol li.ql-indent-4 {\n counter-increment: list-4;\n}\n.ql-editor ol li.ql-indent-4:before {\n content: counter(list-4, lower-alpha) '. ';\n}\n.ql-editor ol li.ql-indent-4 {\n counter-reset: list-5 list-6 list-7 list-8 list-9;\n}\n.ql-editor ol li.ql-indent-5 {\n counter-increment: list-5;\n}\n.ql-editor ol li.ql-indent-5:before {\n content: counter(list-5, lower-roman) '. ';\n}\n.ql-editor ol li.ql-indent-5 {\n counter-reset: list-6 list-7 list-8 list-9;\n}\n.ql-editor ol li.ql-indent-6 {\n counter-increment: list-6;\n}\n.ql-editor ol li.ql-indent-6:before {\n content: counter(list-6, decimal) '. ';\n}\n.ql-editor ol li.ql-indent-6 {\n counter-reset: list-7 list-8 list-9;\n}\n.ql-editor ol li.ql-indent-7 {\n counter-increment: list-7;\n}\n.ql-editor ol li.ql-indent-7:before {\n content: counter(list-7, lower-alpha) '. ';\n}\n.ql-editor ol li.ql-indent-7 {\n counter-reset: list-8 list-9;\n}\n.ql-editor ol li.ql-indent-8 {\n counter-increment: list-8;\n}\n.ql-editor ol li.ql-indent-8:before {\n content: counter(list-8, lower-roman) '. ';\n}\n.ql-editor ol li.ql-indent-8 {\n counter-reset: list-9;\n}\n.ql-editor ol li.ql-indent-9 {\n counter-increment: list-9;\n}\n.ql-editor ol li.ql-indent-9:before {\n content: counter(list-9, decimal) '. ';\n}\n.ql-editor .ql-indent-1:not(.ql-direction-rtl) {\n padding-left: 2em;\n}\n.ql-editor li.ql-indent-1:not(.ql-direction-rtl) {\n padding-left: 2em;\n}\n.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right {\n padding-right: 2em;\n}\n.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right {\n padding-right: 2em;\n}\n.ql-editor .ql-indent-2:not(.ql-direction-rtl) {\n padding-left: 4em;\n}\n.ql-editor li.ql-indent-2:not(.ql-direction-rtl) {\n padding-left: 4em;\n}\n.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right {\n padding-right: 4em;\n}\n.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right {\n padding-right: 4em;\n}\n.ql-editor .ql-indent-3:not(.ql-direction-rtl) {\n padding-left: 6em;\n}\n.ql-editor li.ql-indent-3:not(.ql-direction-rtl) {\n padding-left: 6em;\n}\n.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right {\n padding-right: 6em;\n}\n.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right {\n padding-right: 6em;\n}\n.ql-editor .ql-indent-4:not(.ql-direction-rtl) {\n padding-left: 8em;\n}\n.ql-editor li.ql-indent-4:not(.ql-direction-rtl) {\n padding-left: 8em;\n}\n.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right {\n padding-right: 8em;\n}\n.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right {\n padding-right: 8em;\n}\n.ql-editor .ql-indent-5:not(.ql-direction-rtl) {\n padding-left: 10em;\n}\n.ql-editor li.ql-indent-5:not(.ql-direction-rtl) {\n padding-left: 10em;\n}\n.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right {\n padding-right: 10em;\n}\n.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right {\n padding-right: 10em;\n}\n.ql-editor .ql-indent-6:not(.ql-direction-rtl) {\n padding-left: 12em;\n}\n.ql-editor li.ql-indent-6:not(.ql-direction-rtl) {\n padding-left: 12em;\n}\n.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right {\n padding-right: 12em;\n}\n.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right {\n padding-right: 12em;\n}\n.ql-editor .ql-indent-7:not(.ql-direction-rtl) {\n padding-left: 14em;\n}\n.ql-editor li.ql-indent-7:not(.ql-direction-rtl) {\n padding-left: 14em;\n}\n.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right {\n padding-right: 14em;\n}\n.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right {\n padding-right: 14em;\n}\n.ql-editor .ql-indent-8:not(.ql-direction-rtl) {\n padding-left: 16em;\n}\n.ql-editor li.ql-indent-8:not(.ql-direction-rtl) {\n padding-left: 16em;\n}\n.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right {\n padding-right: 16em;\n}\n.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right {\n padding-right: 16em;\n}\n.ql-editor .ql-indent-9:not(.ql-direction-rtl) {\n padding-left: 18em;\n}\n.ql-editor li.ql-indent-9:not(.ql-direction-rtl) {\n padding-left: 18em;\n}\n.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right {\n padding-right: 18em;\n}\n.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right {\n padding-right: 18em;\n}\n.ql-editor .ql-direction-rtl {\n direction: rtl;\n text-align: inherit;\n}\n.ql-editor .ql-align-center {\n text-align: center;\n}\n.ql-editor .ql-align-justify {\n text-align: justify;\n}\n.ql-editor .ql-align-right {\n text-align: right;\n}\n.ql-editor.ql-blank::before {\n color: rgba(0, 0, 0, 0.6);\n content: attr(data-placeholder);\n font-style: italic;\n pointer-events: none;\n position: absolute;\n}\n.ql-container.ql-disabled .ql-editor ul[data-checked] > li::before {\n pointer-events: none;\n}\n.ql-clipboard {\n left: -100000px;\n height: 1px;\n overflow-y: hidden;\n position: absolute;\n top: 50%;\n}\n";
var editor = ".ql-container {\r\n display: block;\r\n position: relative;\r\n box-sizing: border-box;\r\n -webkit-user-select: text;\r\n user-select: text;\r\n outline: none;\r\n overflow: hidden;\r\n width: 100%;\r\n height: 200px;\r\n min-height: 200px;\r\n}\r\n.ql-container[hidden] {\r\n display: none;\r\n}\r\n.ql-container .ql-editor {\r\n position: relative;\r\n font-size: inherit;\r\n line-height: inherit;\r\n font-family: inherit;\r\n min-height: inherit;\r\n width: 100%;\r\n height: 100%;\r\n padding: 0;\r\n overflow-x: hidden;\r\n overflow-y: auto;\r\n -webkit-tap-highlight-color: transparent;\r\n -webkit-touch-callout: none;\r\n -webkit-overflow-scrolling: touch;\r\n}\r\n.ql-container .ql-editor::-webkit-scrollbar {\r\n width: 0 !important;\r\n}\r\n.ql-container .ql-editor.scroll-disabled {\r\n overflow: hidden;\r\n}\r\n.ql-container .ql-image-overlay {\r\n display: flex;\r\n position: absolute;\r\n box-sizing: border-box;\r\n border: 1px dashed #ccc;\r\n justify-content: center;\r\n align-items: center;\r\n -webkit-user-select: none;\r\n user-select: none;\r\n}\r\n.ql-container .ql-image-overlay .ql-image-size {\r\n position: absolute;\r\n padding: 4px 8px;\r\n text-align: center;\r\n background-color: #fff;\r\n color: #888;\r\n border: 1px solid #ccc;\r\n box-sizing: border-box;\r\n opacity: 0.8;\r\n right: 4px;\r\n top: 4px;\r\n font-size: 12px;\r\n display: inline-block;\r\n width: auto;\r\n}\r\n.ql-container .ql-image-overlay .ql-image-toolbar {\r\n position: relative;\r\n text-align: center;\r\n box-sizing: border-box;\r\n background: #000;\r\n border-radius: 5px;\r\n color: #fff;\r\n font-size: 0;\r\n min-height: 24px;\r\n z-index: 100;\r\n}\r\n.ql-container .ql-image-overlay .ql-image-toolbar span {\r\n display: inline-block;\r\n cursor: pointer;\r\n padding: 5px;\r\n font-size: 12px;\r\n border-right: 1px solid #fff;\r\n}\r\n.ql-container .ql-image-overlay .ql-image-toolbar span:last-child {\r\n border-right: 0;\r\n}\r\n.ql-container .ql-image-overlay .ql-image-toolbar span.triangle-up {\r\n padding: 0;\r\n position: absolute;\r\n top: -12px;\r\n left: 50%;\r\n transform: translatex(-50%);\r\n width: 0;\r\n height: 0;\r\n border-width: 6px;\r\n border-style: solid;\r\n border-color: transparent transparent black transparent;\r\n}\r\n.ql-container .ql-image-overlay .ql-image-handle {\r\n position: absolute;\r\n height: 12px;\r\n width: 12px;\r\n border-radius: 50%;\r\n border: 1px solid #ccc;\r\n box-sizing: border-box;\r\n background: #fff;\r\n}\r\n.ql-container img {\r\n display: inline-block;\r\n max-width: 100%;\r\n}\r\n.ql-clipboard p {\r\n margin: 0;\r\n padding: 0;\r\n}\r\n.ql-editor {\r\n box-sizing: border-box;\r\n height: 100%;\r\n outline: none;\r\n overflow-y: auto;\r\n tab-size: 4;\r\n -moz-tab-size: 4;\r\n text-align: left;\r\n white-space: pre-wrap;\r\n word-wrap: break-word;\r\n}\r\n.ql-editor > * {\r\n cursor: text;\r\n}\r\n.ql-editor p,\r\n.ql-editor ol,\r\n.ql-editor ul,\r\n.ql-editor pre,\r\n.ql-editor blockquote,\r\n.ql-editor h1,\r\n.ql-editor h2,\r\n.ql-editor h3,\r\n.ql-editor h4,\r\n.ql-editor h5,\r\n.ql-editor h6 {\r\n margin: 0;\r\n padding: 0;\r\n counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;\r\n}\r\n.ql-editor ol > li,\r\n.ql-editor ul > li {\r\n list-style-type: none;\r\n}\r\n.ql-editor ul > li::before {\r\n content: '\\2022';\r\n}\r\n.ql-editor ul[data-checked=true],\r\n.ql-editor ul[data-checked=false] {\r\n pointer-events: none;\r\n}\r\n.ql-editor ul[data-checked=true] > li *,\r\n.ql-editor ul[data-checked=false] > li * {\r\n pointer-events: all;\r\n}\r\n.ql-editor ul[data-checked=true] > li::before,\r\n.ql-editor ul[data-checked=false] > li::before {\r\n color: #777;\r\n cursor: pointer;\r\n pointer-events: all;\r\n}\r\n.ql-editor ul[data-checked=true] > li::before {\r\n content: '\\2611';\r\n}\r\n.ql-editor ul[data-checked=false] > li::before {\r\n content: '\\2610';\r\n}\r\n.ql-editor li::before {\r\n display: inline-block;\r\n white-space: nowrap;\r\n width: 2em;\r\n}\r\n.ql-editor ol li {\r\n counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;\r\n counter-increment: list-0;\r\n}\r\n.ql-editor ol li:before {\r\n content: counter(list-0, decimal) '. ';\r\n}\r\n.ql-editor ol li.ql-indent-1 {\r\n counter-increment: list-1;\r\n}\r\n.ql-editor ol li.ql-indent-1:before {\r\n content: counter(list-1, lower-alpha) '. ';\r\n}\r\n.ql-editor ol li.ql-indent-1 {\r\n counter-reset: list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;\r\n}\r\n.ql-editor ol li.ql-indent-2 {\r\n counter-increment: list-2;\r\n}\r\n.ql-editor ol li.ql-indent-2:before {\r\n content: counter(list-2, lower-roman) '. ';\r\n}\r\n.ql-editor ol li.ql-indent-2 {\r\n counter-reset: list-3 list-4 list-5 list-6 list-7 list-8 list-9;\r\n}\r\n.ql-editor ol li.ql-indent-3 {\r\n counter-increment: list-3;\r\n}\r\n.ql-editor ol li.ql-indent-3:before {\r\n content: counter(list-3, decimal) '. ';\r\n}\r\n.ql-editor ol li.ql-indent-3 {\r\n counter-reset: list-4 list-5 list-6 list-7 list-8 list-9;\r\n}\r\n.ql-editor ol li.ql-indent-4 {\r\n counter-increment: list-4;\r\n}\r\n.ql-editor ol li.ql-indent-4:before {\r\n content: counter(list-4, lower-alpha) '. ';\r\n}\r\n.ql-editor ol li.ql-indent-4 {\r\n counter-reset: list-5 list-6 list-7 list-8 list-9;\r\n}\r\n.ql-editor ol li.ql-indent-5 {\r\n counter-increment: list-5;\r\n}\r\n.ql-editor ol li.ql-indent-5:before {\r\n content: counter(list-5, lower-roman) '. ';\r\n}\r\n.ql-editor ol li.ql-indent-5 {\r\n counter-reset: list-6 list-7 list-8 list-9;\r\n}\r\n.ql-editor ol li.ql-indent-6 {\r\n counter-increment: list-6;\r\n}\r\n.ql-editor ol li.ql-indent-6:before {\r\n content: counter(list-6, decimal) '. ';\r\n}\r\n.ql-editor ol li.ql-indent-6 {\r\n counter-reset: list-7 list-8 list-9;\r\n}\r\n.ql-editor ol li.ql-indent-7 {\r\n counter-increment: list-7;\r\n}\r\n.ql-editor ol li.ql-indent-7:before {\r\n content: counter(list-7, lower-alpha) '. ';\r\n}\r\n.ql-editor ol li.ql-indent-7 {\r\n counter-reset: list-8 list-9;\r\n}\r\n.ql-editor ol li.ql-indent-8 {\r\n counter-increment: list-8;\r\n}\r\n.ql-editor ol li.ql-indent-8:before {\r\n content: counter(list-8, lower-roman) '. ';\r\n}\r\n.ql-editor ol li.ql-indent-8 {\r\n counter-reset: list-9;\r\n}\r\n.ql-editor ol li.ql-indent-9 {\r\n counter-increment: list-9;\r\n}\r\n.ql-editor ol li.ql-indent-9:before {\r\n content: counter(list-9, decimal) '. ';\r\n}\r\n.ql-editor .ql-indent-1:not(.ql-direction-rtl) {\r\n padding-left: 2em;\r\n}\r\n.ql-editor li.ql-indent-1:not(.ql-direction-rtl) {\r\n padding-left: 2em;\r\n}\r\n.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right {\r\n padding-right: 2em;\r\n}\r\n.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right {\r\n padding-right: 2em;\r\n}\r\n.ql-editor .ql-indent-2:not(.ql-direction-rtl) {\r\n padding-left: 4em;\r\n}\r\n.ql-editor li.ql-indent-2:not(.ql-direction-rtl) {\r\n padding-left: 4em;\r\n}\r\n.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right {\r\n padding-right: 4em;\r\n}\r\n.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right {\r\n padding-right: 4em;\r\n}\r\n.ql-editor .ql-indent-3:not(.ql-direction-rtl) {\r\n padding-left: 6em;\r\n}\r\n.ql-editor li.ql-indent-3:not(.ql-direction-rtl) {\r\n padding-left: 6em;\r\n}\r\n.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right {\r\n padding-right: 6em;\r\n}\r\n.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right {\r\n padding-right: 6em;\r\n}\r\n.ql-editor .ql-indent-4:not(.ql-direction-rtl) {\r\n padding-left: 8em;\r\n}\r\n.ql-editor li.ql-indent-4:not(.ql-direction-rtl) {\r\n padding-left: 8em;\r\n}\r\n.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right {\r\n padding-right: 8em;\r\n}\r\n.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right {\r\n padding-right: 8em;\r\n}\r\n.ql-editor .ql-indent-5:not(.ql-direction-rtl) {\r\n padding-left: 10em;\r\n}\r\n.ql-editor li.ql-indent-5:not(.ql-direction-rtl) {\r\n padding-left: 10em;\r\n}\r\n.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right {\r\n padding-right: 10em;\r\n}\r\n.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right {\r\n padding-right: 10em;\r\n}\r\n.ql-editor .ql-indent-6:not(.ql-direction-rtl) {\r\n padding-left: 12em;\r\n}\r\n.ql-editor li.ql-indent-6:not(.ql-direction-rtl) {\r\n padding-left: 12em;\r\n}\r\n.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right {\r\n padding-right: 12em;\r\n}\r\n.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right {\r\n padding-right: 12em;\r\n}\r\n.ql-editor .ql-indent-7:not(.ql-direction-rtl) {\r\n padding-left: 14em;\r\n}\r\n.ql-editor li.ql-indent-7:not(.ql-direction-rtl) {\r\n padding-left: 14em;\r\n}\r\n.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right {\r\n padding-right: 14em;\r\n}\r\n.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right {\r\n padding-right: 14em;\r\n}\r\n.ql-editor .ql-indent-8:not(.ql-direction-rtl) {\r\n padding-left: 16em;\r\n}\r\n.ql-editor li.ql-indent-8:not(.ql-direction-rtl) {\r\n padding-left: 16em;\r\n}\r\n.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right {\r\n padding-right: 16em;\r\n}\r\n.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right {\r\n padding-right: 16em;\r\n}\r\n.ql-editor .ql-indent-9:not(.ql-direction-rtl) {\r\n padding-left: 18em;\r\n}\r\n.ql-editor li.ql-indent-9:not(.ql-direction-rtl) {\r\n padding-left: 18em;\r\n}\r\n.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right {\r\n padding-right: 18em;\r\n}\r\n.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right {\r\n padding-right: 18em;\r\n}\r\n.ql-editor .ql-direction-rtl {\r\n direction: rtl;\r\n text-align: inherit;\r\n}\r\n.ql-editor .ql-align-center {\r\n text-align: center;\r\n}\r\n.ql-editor .ql-align-justify {\r\n text-align: justify;\r\n}\r\n.ql-editor .ql-align-right {\r\n text-align: right;\r\n}\r\n.ql-editor.ql-blank::before {\r\n color: rgba(0, 0, 0, 0.6);\r\n content: attr(data-placeholder);\r\n font-style: italic;\r\n pointer-events: none;\r\n position: absolute;\r\n}\r\n.ql-container.ql-disabled .ql-editor ul[data-checked] > li::before {\r\n pointer-events: none;\r\n}\r\n.ql-clipboard {\r\n left: -100000px;\r\n height: 1px;\r\n overflow-y: hidden;\r\n position: absolute;\r\n top: 50%;\r\n}\r\n";
class UniEditor extends UniComponent {
constructor(id2, parentNodeId, refNodeId, nodeJson) {
super(id2, "uni-editor", Editor, parentNodeId, refNodeId, nodeJson);
......@@ -15181,25 +15181,25 @@
super(id2, "uni-functional-page-navigator", parentNodeId, refNodeId);
}
}
var icon = "uni-icon {\n display: inline-block;\n font-size: 0;\n box-sizing: border-box;\n}\n\nuni-icon[hidden] {\n display: none;\n}\n";
var icon = "uni-icon {\r\n display: inline-block;\r\n font-size: 0;\r\n box-sizing: border-box;\r\n}\r\n\r\nuni-icon[hidden] {\r\n display: none;\r\n}\r\n";
class UniIcon extends UniComponent {
constructor(id2, parentNodeId, refNodeId, nodeJson) {
super(id2, "uni-icon", Icon, parentNodeId, refNodeId, nodeJson);
}
}
var image = "uni-image {\n width: 320px;\n height: 240px;\n display: inline-block;\n overflow: hidden;\n position: relative;\n}\n\nuni-image[hidden] {\n display: none;\n}\n\nuni-image > div {\n width: 100%;\n height: 100%;\n}\n\nuni-image > img {\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n user-select: none;\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n opacity: 0;\n}\n\nuni-image > .uni-image-will-change {\n will-change: transform;\n}\n";
var image = "uni-image {\r\n width: 320px;\r\n height: 240px;\r\n display: inline-block;\r\n overflow: hidden;\r\n position: relative;\r\n}\r\n\r\nuni-image[hidden] {\r\n display: none;\r\n}\r\n\r\nuni-image > div {\r\n width: 100%;\r\n height: 100%;\r\n}\r\n\r\nuni-image > img {\r\n -webkit-touch-callout: none;\r\n -webkit-user-select: none;\r\n user-select: none;\r\n display: block;\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n width: 100%;\r\n height: 100%;\r\n opacity: 0;\r\n}\r\n\r\nuni-image > .uni-image-will-change {\r\n will-change: transform;\r\n}\r\n";
class UniImage extends UniComponent {
constructor(id2, parentNodeId, refNodeId, nodeJson) {
super(id2, "uni-image", Image$1, parentNodeId, refNodeId, nodeJson);
}
}
var input = "uni-input {\n display: block;\n font-size: 16px;\n line-height: 1.4em;\n height: 1.4em;\n min-height: 1.4em;\n overflow: hidden;\n}\n\nuni-input[hidden] {\n display: none;\n}\n\n.uni-input-wrapper,\n.uni-input-placeholder,\n.uni-input-form,\n.uni-input-input {\n outline: none;\n border: none;\n padding: 0;\n margin: 0;\n text-decoration: inherit;\n}\n\n.uni-input-wrapper,\n.uni-input-form {\n display: flex;\n position: relative;\n width: 100%;\n height: 100%;\n flex-direction: column;\n justify-content: center;\n}\n\n.uni-input-placeholder,\n.uni-input-input {\n width: 100%;\n}\n\n.uni-input-placeholder {\n position: absolute;\n top: auto !important;\n left: 0;\n color: gray;\n overflow: hidden;\n text-overflow: clip;\n white-space: pre;\n word-break: keep-all;\n pointer-events: none;\n line-height: inherit;\n}\n\n.uni-input-input {\n position: relative;\n display: block;\n height: 100%;\n background: none;\n color: inherit;\n opacity: 1;\n font: inherit;\n line-height: inherit;\n letter-spacing: inherit;\n text-align: inherit;\n text-indent: inherit;\n text-transform: inherit;\n text-shadow: inherit;\n}\n\n.uni-input-input[type='search']::-webkit-search-cancel-button {\n display: none;\n}\n\n.uni-input-input::-webkit-outer-spin-button,\n.uni-input-input::-webkit-inner-spin-button {\n -webkit-appearance: none;\n appearance: none;\n margin: 0;\n}\n\n.uni-input-input[type='number'] {\n -moz-appearance: textfield;\n}\n\n.uni-input-input:disabled {\n /* \u7528\u4E8E\u91CD\u7F6EiOS14\u4EE5\u4E0B\u7981\u7528\u72B6\u6001\u6587\u5B57\u989C\u8272 */\n -webkit-text-fill-color: currentcolor;\n}\n";
var input = "uni-input {\r\n display: block;\r\n font-size: 16px;\r\n line-height: 1.4em;\r\n height: 1.4em;\r\n min-height: 1.4em;\r\n overflow: hidden;\r\n}\r\n\r\nuni-input[hidden] {\r\n display: none;\r\n}\r\n\r\n.uni-input-wrapper,\r\n.uni-input-placeholder,\r\n.uni-input-form,\r\n.uni-input-input {\r\n outline: none;\r\n border: none;\r\n padding: 0;\r\n margin: 0;\r\n text-decoration: inherit;\r\n}\r\n\r\n.uni-input-wrapper,\r\n.uni-input-form {\r\n display: flex;\r\n position: relative;\r\n width: 100%;\r\n height: 100%;\r\n flex-direction: column;\r\n justify-content: center;\r\n}\r\n\r\n.uni-input-placeholder,\r\n.uni-input-input {\r\n width: 100%;\r\n}\r\n\r\n.uni-input-placeholder {\r\n position: absolute;\r\n top: auto !important;\r\n left: 0;\r\n color: gray;\r\n overflow: hidden;\r\n text-overflow: clip;\r\n white-space: pre;\r\n word-break: keep-all;\r\n pointer-events: none;\r\n line-height: inherit;\r\n}\r\n\r\n.uni-input-input {\r\n position: relative;\r\n display: block;\r\n height: 100%;\r\n background: none;\r\n color: inherit;\r\n opacity: 1;\r\n font: inherit;\r\n line-height: inherit;\r\n letter-spacing: inherit;\r\n text-align: inherit;\r\n text-indent: inherit;\r\n text-transform: inherit;\r\n text-shadow: inherit;\r\n}\r\n\r\n.uni-input-input[type='search']::-webkit-search-cancel-button {\r\n display: none;\r\n}\r\n\r\n.uni-input-input::-webkit-outer-spin-button,\r\n.uni-input-input::-webkit-inner-spin-button {\r\n -webkit-appearance: none;\r\n appearance: none;\r\n margin: 0;\r\n}\r\n\r\n.uni-input-input[type='number'] {\r\n -moz-appearance: textfield;\r\n}\r\n\r\n.uni-input-input:disabled {\r\n /* \u7528\u4E8E\u91CD\u7F6EiOS14\u4EE5\u4E0B\u7981\u7528\u72B6\u6001\u6587\u5B57\u989C\u8272 */\r\n -webkit-text-fill-color: currentcolor;\r\n}\r\n";
class UniInput extends UniComponent {
constructor(id2, parentNodeId, refNodeId, nodeJson) {
super(id2, "uni-input", Input, parentNodeId, refNodeId, nodeJson);
}
}
var label = ".uni-label-pointer {\n cursor: pointer;\n}\n";
var label = ".uni-label-pointer {\r\n cursor: pointer;\r\n}\r\n";
class UniLabel extends UniComponent {
constructor(id2, parentNodeId, refNodeId, nodeJson) {
super(id2, "uni-label", Label, parentNodeId, refNodeId, nodeJson);
......@@ -15215,7 +15215,7 @@
super(id2, "uni-live-pusher", parentNodeId, refNodeId);
}
}
var map = "uni-map {\n width: 300px;\n height: 225px;\n display: inline-block;\n line-height: 0;\n overflow: hidden;\n position: relative;\n}\n\nuni-map[hidden] {\n display: none;\n}\n\n.uni-map-container {\n width: 100%;\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n overflow: hidden;\n background-color: black;\n}\n\n.uni-map-slot {\n position: absolute;\n top: 0;\n width: 100%;\n height: 100%;\n overflow: hidden;\n pointer-events: none;\n}";
var map = "uni-map {\r\n width: 300px;\r\n height: 225px;\r\n display: inline-block;\r\n line-height: 0;\r\n overflow: hidden;\r\n position: relative;\r\n}\r\n\r\nuni-map[hidden] {\r\n display: none;\r\n}\r\n\r\n.uni-map-container {\r\n width: 100%;\r\n height: 100%;\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n overflow: hidden;\r\n background-color: black;\r\n}\r\n\r\n.uni-map-slot {\r\n position: absolute;\r\n top: 0;\r\n width: 100%;\r\n height: 100%;\r\n overflow: hidden;\r\n pointer-events: none;\r\n}";
const convertCoordinates = (lng, lat, callback) => {
callback({
coord: {
......@@ -15602,19 +15602,19 @@
super(id2, "uni-map", Map$1, parentNodeId, refNodeId, nodeJson, ".uni-map-slot");
}
}
var movableArea = "uni-movable-area {\n display: block;\n position: relative;\n width: 10px;\n height: 10px;\n}\n\nuni-movable-area[hidden] {\n display: none;\n}\n";
var movableArea = "uni-movable-area {\r\n display: block;\r\n position: relative;\r\n width: 10px;\r\n height: 10px;\r\n}\r\n\r\nuni-movable-area[hidden] {\r\n display: none;\r\n}\r\n";
class UniMovableArea extends UniContainerComponent {
constructor(id2, parentNodeId, refNodeId, nodeJson) {
super(id2, "uni-movable-area", MovableArea, parentNodeId, refNodeId, nodeJson);
}
}
var movableView = "uni-movable-view {\n display: inline-block;\n width: 10px;\n height: 10px;\n top: 0px;\n left: 0px;\n position: absolute;\n cursor: grab;\n}\n\nuni-movable-view[hidden] {\n display: none;\n}\n";
var movableView = "uni-movable-view {\r\n display: inline-block;\r\n width: 10px;\r\n height: 10px;\r\n top: 0px;\r\n left: 0px;\r\n position: absolute;\r\n cursor: grab;\r\n}\r\n\r\nuni-movable-view[hidden] {\r\n display: none;\r\n}\r\n";
class UniMovableView extends UniComponent {
constructor(id2, parentNodeId, refNodeId, nodeJson) {
super(id2, "uni-movable-view", MovableView, parentNodeId, refNodeId, nodeJson);
}
}
var navigator$1 = "uni-navigator {\n height: auto;\n width: auto;\n display: block;\n cursor: pointer;\n}\n\nuni-navigator[hidden] {\n display: none;\n}\n\n.navigator-hover {\n background-color: rgba(0, 0, 0, 0.1);\n opacity: 0.7;\n}\n";
var navigator$1 = "uni-navigator {\r\n height: auto;\r\n width: auto;\r\n display: block;\r\n cursor: pointer;\r\n}\r\n\r\nuni-navigator[hidden] {\r\n display: none;\r\n}\r\n\r\n.navigator-hover {\r\n background-color: rgba(0, 0, 0, 0.1);\r\n opacity: 0.7;\r\n}\r\n";
class UniNavigator extends UniComponent {
constructor(id2, parentNodeId, refNodeId, nodeJson) {
super(id2, "uni-navigator", Navigator, parentNodeId, refNodeId, nodeJson);
......@@ -16034,25 +16034,25 @@
super(id2, "uni-picker", Picker, parentNodeId, refNodeId, nodeJson);
}
}
var pickerView = "uni-picker-view {\n display: block;\n}\n\n.uni-picker-view-wrapper {\n display: flex;\n position: relative;\n overflow: hidden;\n height: 100%;\n}\n\nuni-picker-view[hidden] {\n display: none;\n}\n";
var pickerView = "uni-picker-view {\r\n display: block;\r\n}\r\n\r\n.uni-picker-view-wrapper {\r\n display: flex;\r\n position: relative;\r\n overflow: hidden;\r\n height: 100%;\r\n}\r\n\r\nuni-picker-view[hidden] {\r\n display: none;\r\n}\r\n";
class UniPickerView extends UniContainerComponent {
constructor(id2, parentNodeId, refNodeId, nodeJson) {
super(id2, "uni-picker-view", PickerView, parentNodeId, refNodeId, nodeJson, ".uni-picker-view-wrapper");
}
}
var pickerViewColumn = "uni-picker-view-column {\n flex: 1;\n position: relative;\n height: 100%;\n overflow: hidden;\n}\n\nuni-picker-view-column[hidden] {\n display: none;\n}\n\n.uni-picker-view-group {\n height: 100%;\n overflow: hidden;\n}\n\n.uni-picker-view-mask {\n transform: translateZ(0);\n}\n\n.uni-picker-view-indicator,\n.uni-picker-view-mask {\n position: absolute;\n left: 0;\n width: 100%;\n z-index: 3;\n pointer-events: none;\n}\n\n.uni-picker-view-mask {\n top: 0;\n height: 100%;\n margin: 0 auto;\n background: linear-gradient(\n 180deg,\n hsla(0, 0%, 100%, 0.95),\n hsla(0, 0%, 100%, 0.6)\n ),\n linear-gradient(0deg, hsla(0, 0%, 100%, 0.95), hsla(0, 0%, 100%, 0.6));\n background-position: top, bottom;\n background-size: 100% 102px;\n background-repeat: no-repeat;\n}\n\n.uni-picker-view-indicator {\n height: 34px;\n /* top: 102px; */\n top: 50%;\n transform: translateY(-50%);\n}\n\n.uni-picker-view-content {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n will-change: transform;\n padding: 102px 0;\n cursor: pointer;\n}\n\n.uni-picker-view-content > * {\n height: 34px;\n overflow: hidden;\n}\n\n.uni-picker-view-indicator:after,\n.uni-picker-view-indicator:before {\n content: ' ';\n position: absolute;\n left: 0;\n right: 0;\n height: 1px;\n color: #e5e5e5;\n}\n\n.uni-picker-view-indicator:before {\n top: 0;\n border-top: 1px solid #e5e5e5;\n transform-origin: 0 0;\n transform: scaleY(0.5);\n}\n\n.uni-picker-view-indicator:after {\n bottom: 0;\n border-bottom: 1px solid #e5e5e5;\n transform-origin: 0 100%;\n transform: scaleY(0.5);\n}\n\n.uni-picker-view-indicator:after,\n.uni-picker-view-indicator:before {\n content: ' ';\n position: absolute;\n left: 0;\n right: 0;\n height: 1px;\n color: #e5e5e5;\n}\n";
var pickerViewColumn = "uni-picker-view-column {\r\n flex: 1;\r\n position: relative;\r\n height: 100%;\r\n overflow: hidden;\r\n}\r\n\r\nuni-picker-view-column[hidden] {\r\n display: none;\r\n}\r\n\r\n.uni-picker-view-group {\r\n height: 100%;\r\n overflow: hidden;\r\n}\r\n\r\n.uni-picker-view-mask {\r\n transform: translateZ(0);\r\n}\r\n\r\n.uni-picker-view-indicator,\r\n.uni-picker-view-mask {\r\n position: absolute;\r\n left: 0;\r\n width: 100%;\r\n z-index: 3;\r\n pointer-events: none;\r\n}\r\n\r\n.uni-picker-view-mask {\r\n top: 0;\r\n height: 100%;\r\n margin: 0 auto;\r\n background: linear-gradient(\r\n 180deg,\r\n hsla(0, 0%, 100%, 0.95),\r\n hsla(0, 0%, 100%, 0.6)\r\n ),\r\n linear-gradient(0deg, hsla(0, 0%, 100%, 0.95), hsla(0, 0%, 100%, 0.6));\r\n background-position: top, bottom;\r\n background-size: 100% 102px;\r\n background-repeat: no-repeat;\r\n}\r\n\r\n.uni-picker-view-indicator {\r\n height: 34px;\r\n /* top: 102px; */\r\n top: 50%;\r\n transform: translateY(-50%);\r\n}\r\n\r\n.uni-picker-view-content {\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n width: 100%;\r\n will-change: transform;\r\n padding: 102px 0;\r\n cursor: pointer;\r\n}\r\n\r\n.uni-picker-view-content > * {\r\n height: 34px;\r\n overflow: hidden;\r\n}\r\n\r\n.uni-picker-view-indicator:after,\r\n.uni-picker-view-indicator:before {\r\n content: ' ';\r\n position: absolute;\r\n left: 0;\r\n right: 0;\r\n height: 1px;\r\n color: #e5e5e5;\r\n}\r\n\r\n.uni-picker-view-indicator:before {\r\n top: 0;\r\n border-top: 1px solid #e5e5e5;\r\n transform-origin: 0 0;\r\n transform: scaleY(0.5);\r\n}\r\n\r\n.uni-picker-view-indicator:after {\r\n bottom: 0;\r\n border-bottom: 1px solid #e5e5e5;\r\n transform-origin: 0 100%;\r\n transform: scaleY(0.5);\r\n}\r\n\r\n.uni-picker-view-indicator:after,\r\n.uni-picker-view-indicator:before {\r\n content: ' ';\r\n position: absolute;\r\n left: 0;\r\n right: 0;\r\n height: 1px;\r\n color: #e5e5e5;\r\n}\r\n";
class UniPickerViewColumn extends UniContainerComponent {
constructor(id2, parentNodeId, refNodeId, nodeJson) {
super(id2, "uni-picker-view-column", PickerViewColumn, parentNodeId, refNodeId, nodeJson, ".uni-picker-view-content");
}
}
var progress = "uni-progress {\n display: flex;\n align-items: center;\n}\n\nuni-progress[hidden] {\n display: none;\n}\n\n.uni-progress-bar {\n flex: 1;\n}\n\n.uni-progress-inner-bar {\n width: 0;\n height: 100%;\n}\n\n.uni-progress-info {\n margin-top: 0;\n margin-bottom: 0;\n min-width: 2em;\n margin-left: 15px;\n font-size: 16px;\n}\n";
var progress = "uni-progress {\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\nuni-progress[hidden] {\r\n display: none;\r\n}\r\n\r\n.uni-progress-bar {\r\n flex: 1;\r\n}\r\n\r\n.uni-progress-inner-bar {\r\n width: 0;\r\n height: 100%;\r\n}\r\n\r\n.uni-progress-info {\r\n margin-top: 0;\r\n margin-bottom: 0;\r\n min-width: 2em;\r\n margin-left: 15px;\r\n font-size: 16px;\r\n}\r\n";
class UniProgress extends UniComponent {
constructor(id2, parentNodeId, refNodeId, nodeJson) {
super(id2, "uni-progress", Progress, parentNodeId, refNodeId, nodeJson);
}
}
var radio = "uni-radio {\n -webkit-tap-highlight-color: transparent;\n display: inline-block;\n cursor: pointer;\n}\n\nuni-radio[hidden] {\n display: none;\n}\n\nuni-radio[disabled] {\n cursor: not-allowed;\n}\n\n.uni-radio-wrapper {\n display: inline-flex;\n align-items: center;\n vertical-align: middle;\n}\n\n.uni-radio-input {\n -webkit-appearance: none;\n appearance: none;\n margin-right: 5px;\n outline: 0;\n border: 1px solid #d1d1d1;\n background-color: #ffffff;\n border-radius: 50%;\n width: 22px;\n height: 22px;\n position: relative;\n}\n\nuni-radio:not([disabled]) .uni-radio-input:hover {\n border-color: #007aff;\n}\n\n.uni-radio-input svg {\n color: #ffffff;\n font-size: 18px;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -48%) scale(0.73);\n}\n\n.uni-radio-input.uni-radio-input-disabled {\n background-color: #e1e1e1;\n border-color: #d1d1d1;\n}\n\n.uni-radio-input.uni-radio-input-disabled:before {\n color: #adadad;\n}\n";
var radio = "uni-radio {\r\n -webkit-tap-highlight-color: transparent;\r\n display: inline-block;\r\n cursor: pointer;\r\n}\r\n\r\nuni-radio[hidden] {\r\n display: none;\r\n}\r\n\r\nuni-radio[disabled] {\r\n cursor: not-allowed;\r\n}\r\n\r\n.uni-radio-wrapper {\r\n display: inline-flex;\r\n align-items: center;\r\n vertical-align: middle;\r\n}\r\n\r\n.uni-radio-input {\r\n -webkit-appearance: none;\r\n appearance: none;\r\n margin-right: 5px;\r\n outline: 0;\r\n border: 1px solid #d1d1d1;\r\n background-color: #ffffff;\r\n border-radius: 50%;\r\n width: 22px;\r\n height: 22px;\r\n position: relative;\r\n}\r\n\r\nuni-radio:not([disabled]) .uni-radio-input:hover {\r\n border-color: #007aff;\r\n}\r\n\r\n.uni-radio-input svg {\r\n color: #ffffff;\r\n font-size: 18px;\r\n position: absolute;\r\n top: 50%;\r\n left: 50%;\r\n transform: translate(-50%, -48%) scale(0.73);\r\n}\r\n\r\n.uni-radio-input.uni-radio-input-disabled {\r\n background-color: #e1e1e1;\r\n border-color: #d1d1d1;\r\n}\r\n\r\n.uni-radio-input.uni-radio-input-disabled:before {\r\n color: #adadad;\r\n}\r\n";
class UniRadio extends UniComponent {
constructor(id2, parentNodeId, refNodeId, nodeJson) {
super(id2, "uni-radio", Radio, parentNodeId, refNodeId, nodeJson, ".uni-radio-wrapper");
......@@ -16061,7 +16061,7 @@
setHolderText(this.$holder, "uni-radio-input", text2);
}
}
var radioGroup = "uni-radio-group {\n display: block;\n}\nuni-radio-group[hidden] {\n display: none;\n}\n";
var radioGroup = "uni-radio-group {\r\n display: block;\r\n}\r\nuni-radio-group[hidden] {\r\n display: none;\r\n}\r\n";
class UniRadioGroup extends UniComponent {
constructor(id2, parentNodeId, refNodeId, nodeJson) {
super(id2, "uni-radio-group", RadioGroup, parentNodeId, refNodeId, nodeJson);
......@@ -16073,7 +16073,7 @@
super(id2, "uni-rich-text", RichText, parentNodeId, refNodeId, nodeJson);
}
}
var scrollView = "uni-scroll-view {\n display: block;\n width: 100%;\n}\n\nuni-scroll-view[hidden] {\n display: none;\n}\n\n.uni-scroll-view {\n position: relative;\n -webkit-overflow-scrolling: touch;\n width: 100%;\n /* display: flex; \u65F6\u5728\u5B89\u5353\u4E0B\u4F1A\u5BFC\u81F4scrollWidth\u548CoffsetWidth\u4E00\u6837 */\n height: 100%;\n max-height: inherit;\n}\n\n.uni-scroll-view-content {\n width: 100%;\n height: 100%;\n}\n\n.uni-scroll-view-refresher {\n position: relative;\n overflow: hidden;\n}\n\n.uni-scroll-view-refresh {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n}\n\n.uni-scroll-view-refresh-inner {\n display: flex;\n align-items: center;\n justify-content: center;\n line-height: 0;\n width: 40px;\n height: 40px;\n border-radius: 50%;\n background-color: #fff;\n box-shadow: 0 1px 6px rgba(0, 0, 0, 0.117647),\n 0 1px 4px rgba(0, 0, 0, 0.117647);\n}\n\n.uni-scroll-view-refresh__spinner {\n transform-origin: center center;\n animation: uni-scroll-view-refresh-rotate 2s linear infinite;\n}\n\n.uni-scroll-view-refresh__spinner > circle {\n stroke: currentColor;\n stroke-linecap: round;\n animation: uni-scroll-view-refresh-dash 2s linear infinite;\n}\n\n@keyframes uni-scroll-view-refresh-rotate {\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n}\n\n@keyframes uni-scroll-view-refresh-dash {\n 0% {\n stroke-dasharray: 1, 200;\n stroke-dashoffset: 0;\n }\n\n 50% {\n stroke-dasharray: 89, 200;\n stroke-dashoffset: -35px;\n }\n\n 100% {\n stroke-dasharray: 89, 200;\n stroke-dashoffset: -124px;\n }\n}\n";
var scrollView = "uni-scroll-view {\r\n display: block;\r\n width: 100%;\r\n}\r\n\r\nuni-scroll-view[hidden] {\r\n display: none;\r\n}\r\n\r\n.uni-scroll-view {\r\n position: relative;\r\n -webkit-overflow-scrolling: touch;\r\n width: 100%;\r\n /* display: flex; \u65F6\u5728\u5B89\u5353\u4E0B\u4F1A\u5BFC\u81F4scrollWidth\u548CoffsetWidth\u4E00\u6837 */\r\n height: 100%;\r\n max-height: inherit;\r\n}\r\n\r\n.uni-scroll-view-content {\r\n width: 100%;\r\n height: 100%;\r\n}\r\n\r\n.uni-scroll-view-refresher {\r\n position: relative;\r\n overflow: hidden;\r\n}\r\n\r\n.uni-scroll-view-refresh {\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n right: 0;\r\n bottom: 0;\r\n display: flex;\r\n flex-direction: row;\r\n justify-content: center;\r\n align-items: center;\r\n}\r\n\r\n.uni-scroll-view-refresh-inner {\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n line-height: 0;\r\n width: 40px;\r\n height: 40px;\r\n border-radius: 50%;\r\n background-color: #fff;\r\n box-shadow: 0 1px 6px rgba(0, 0, 0, 0.117647),\r\n 0 1px 4px rgba(0, 0, 0, 0.117647);\r\n}\r\n\r\n.uni-scroll-view-refresh__spinner {\r\n transform-origin: center center;\r\n animation: uni-scroll-view-refresh-rotate 2s linear infinite;\r\n}\r\n\r\n.uni-scroll-view-refresh__spinner > circle {\r\n stroke: currentColor;\r\n stroke-linecap: round;\r\n animation: uni-scroll-view-refresh-dash 2s linear infinite;\r\n}\r\n\r\n@keyframes uni-scroll-view-refresh-rotate {\r\n 0% {\r\n transform: rotate(0deg);\r\n }\r\n\r\n 100% {\r\n transform: rotate(360deg);\r\n }\r\n}\r\n\r\n@keyframes uni-scroll-view-refresh-dash {\r\n 0% {\r\n stroke-dasharray: 1, 200;\r\n stroke-dashoffset: 0;\r\n }\r\n\r\n 50% {\r\n stroke-dasharray: 89, 200;\r\n stroke-dashoffset: -35px;\r\n }\r\n\r\n 100% {\r\n stroke-dasharray: 89, 200;\r\n stroke-dashoffset: -124px;\r\n }\r\n}\r\n";
class UniScrollView extends UniComponent {
constructor(id2, parentNodeId, refNodeId, nodeJson) {
super(id2, "uni-scroll-view", ScrollView, parentNodeId, refNodeId, nodeJson, ".uni-scroll-view-content");
......@@ -16082,37 +16082,37 @@
setHolderText(this.$holder, "uni-scroll-view-refresher", text2);
}
}
var slider = "uni-slider {\n margin: 10px 18px;\n padding: 0;\n display: block;\n}\n\nuni-slider[hidden] {\n display: none;\n}\n\nuni-slider .uni-slider-wrapper {\n display: flex;\n align-items: center;\n min-height: 16px;\n}\n\nuni-slider .uni-slider-tap-area {\n flex: 1;\n padding: 8px 0;\n}\n\nuni-slider .uni-slider-handle-wrapper {\n position: relative;\n height: 2px;\n border-radius: 5px;\n background-color: #e9e9e9;\n cursor: pointer;\n transition: background-color 0.3s ease;\n -webkit-tap-highlight-color: transparent;\n}\n\nuni-slider .uni-slider-track {\n height: 100%;\n border-radius: 6px;\n background-color: #007aff;\n transition: background-color 0.3s ease;\n}\n\nuni-slider .uni-slider-handle,\nuni-slider .uni-slider-thumb {\n position: absolute;\n left: 50%;\n top: 50%;\n cursor: pointer;\n border-radius: 50%;\n transition: border-color 0.3s ease;\n}\n\nuni-slider .uni-slider-handle {\n width: 28px;\n height: 28px;\n margin-top: -14px;\n margin-left: -14px;\n background-color: transparent;\n z-index: 3;\n cursor: grab;\n}\n\nuni-slider .uni-slider-thumb {\n z-index: 2;\n box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);\n}\n\nuni-slider .uni-slider-step {\n position: absolute;\n width: 100%;\n height: 2px;\n background: transparent;\n z-index: 1;\n}\n\nuni-slider .uni-slider-value {\n width: 3ch;\n color: #888;\n font-size: 14px;\n margin-left: 1em;\n}\n\nuni-slider .uni-slider-disabled .uni-slider-track {\n background-color: #ccc;\n}\n\nuni-slider .uni-slider-disabled .uni-slider-thumb {\n background-color: #fff;\n border-color: #ccc;\n}\n";
var slider = "uni-slider {\r\n margin: 10px 18px;\r\n padding: 0;\r\n display: block;\r\n}\r\n\r\nuni-slider[hidden] {\r\n display: none;\r\n}\r\n\r\nuni-slider .uni-slider-wrapper {\r\n display: flex;\r\n align-items: center;\r\n min-height: 16px;\r\n}\r\n\r\nuni-slider .uni-slider-tap-area {\r\n flex: 1;\r\n padding: 8px 0;\r\n}\r\n\r\nuni-slider .uni-slider-handle-wrapper {\r\n position: relative;\r\n height: 2px;\r\n border-radius: 5px;\r\n background-color: #e9e9e9;\r\n cursor: pointer;\r\n transition: background-color 0.3s ease;\r\n -webkit-tap-highlight-color: transparent;\r\n}\r\n\r\nuni-slider .uni-slider-track {\r\n height: 100%;\r\n border-radius: 6px;\r\n background-color: #007aff;\r\n transition: background-color 0.3s ease;\r\n}\r\n\r\nuni-slider .uni-slider-handle,\r\nuni-slider .uni-slider-thumb {\r\n position: absolute;\r\n left: 50%;\r\n top: 50%;\r\n cursor: pointer;\r\n border-radius: 50%;\r\n transition: border-color 0.3s ease;\r\n}\r\n\r\nuni-slider .uni-slider-handle {\r\n width: 28px;\r\n height: 28px;\r\n margin-top: -14px;\r\n margin-left: -14px;\r\n background-color: transparent;\r\n z-index: 3;\r\n cursor: grab;\r\n}\r\n\r\nuni-slider .uni-slider-thumb {\r\n z-index: 2;\r\n box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);\r\n}\r\n\r\nuni-slider .uni-slider-step {\r\n position: absolute;\r\n width: 100%;\r\n height: 2px;\r\n background: transparent;\r\n z-index: 1;\r\n}\r\n\r\nuni-slider .uni-slider-value {\r\n width: 3ch;\r\n color: #888;\r\n font-size: 14px;\r\n margin-left: 1em;\r\n}\r\n\r\nuni-slider .uni-slider-disabled .uni-slider-track {\r\n background-color: #ccc;\r\n}\r\n\r\nuni-slider .uni-slider-disabled .uni-slider-thumb {\r\n background-color: #fff;\r\n border-color: #ccc;\r\n}\r\n";
class UniSlider extends UniComponent {
constructor(id2, parentNodeId, refNodeId, nodeJson) {
super(id2, "uni-slider", Slider, parentNodeId, refNodeId, nodeJson);
}
}
var swiper = "uni-swiper {\n display: block;\n height: 150px;\n}\n\nuni-swiper[hidden] {\n display: none;\n}\n\n.uni-swiper-wrapper {\n overflow: hidden;\n position: relative;\n width: 100%;\n height: 100%;\n transform: translateZ(0);\n}\n\n.uni-swiper-slides {\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n}\n\n.uni-swiper-slide-frame {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n will-change: transform;\n}\n\n.uni-swiper-dots {\n position: absolute;\n font-size: 0;\n}\n\n.uni-swiper-dots-horizontal {\n left: 50%;\n bottom: 10px;\n text-align: center;\n white-space: nowrap;\n transform: translate(-50%, 0);\n}\n\n.uni-swiper-dots-horizontal .uni-swiper-dot {\n margin-right: 8px;\n}\n\n.uni-swiper-dots-horizontal .uni-swiper-dot:last-child {\n margin-right: 0;\n}\n\n.uni-swiper-dots-vertical {\n right: 10px;\n top: 50%;\n text-align: right;\n transform: translate(0, -50%);\n}\n\n.uni-swiper-dots-vertical .uni-swiper-dot {\n display: block;\n margin-bottom: 9px;\n}\n\n.uni-swiper-dots-vertical .uni-swiper-dot:last-child {\n margin-bottom: 0;\n}\n\n.uni-swiper-dot {\n display: inline-block;\n width: 8px;\n height: 8px;\n cursor: pointer;\n transition-property: background-color;\n transition-timing-function: ease;\n background: rgba(0, 0, 0, 0.3);\n border-radius: 50%;\n}\n\n.uni-swiper-dot-active {\n background-color: #000000;\n}\n";
var swiper = "uni-swiper {\r\n display: block;\r\n height: 150px;\r\n}\r\n\r\nuni-swiper[hidden] {\r\n display: none;\r\n}\r\n\r\n.uni-swiper-wrapper {\r\n overflow: hidden;\r\n position: relative;\r\n width: 100%;\r\n height: 100%;\r\n transform: translateZ(0);\r\n}\r\n\r\n.uni-swiper-slides {\r\n position: absolute;\r\n left: 0;\r\n top: 0;\r\n right: 0;\r\n bottom: 0;\r\n}\r\n\r\n.uni-swiper-slide-frame {\r\n position: absolute;\r\n left: 0;\r\n top: 0;\r\n width: 100%;\r\n height: 100%;\r\n will-change: transform;\r\n}\r\n\r\n.uni-swiper-dots {\r\n position: absolute;\r\n font-size: 0;\r\n}\r\n\r\n.uni-swiper-dots-horizontal {\r\n left: 50%;\r\n bottom: 10px;\r\n text-align: center;\r\n white-space: nowrap;\r\n transform: translate(-50%, 0);\r\n}\r\n\r\n.uni-swiper-dots-horizontal .uni-swiper-dot {\r\n margin-right: 8px;\r\n}\r\n\r\n.uni-swiper-dots-horizontal .uni-swiper-dot:last-child {\r\n margin-right: 0;\r\n}\r\n\r\n.uni-swiper-dots-vertical {\r\n right: 10px;\r\n top: 50%;\r\n text-align: right;\r\n transform: translate(0, -50%);\r\n}\r\n\r\n.uni-swiper-dots-vertical .uni-swiper-dot {\r\n display: block;\r\n margin-bottom: 9px;\r\n}\r\n\r\n.uni-swiper-dots-vertical .uni-swiper-dot:last-child {\r\n margin-bottom: 0;\r\n}\r\n\r\n.uni-swiper-dot {\r\n display: inline-block;\r\n width: 8px;\r\n height: 8px;\r\n cursor: pointer;\r\n transition-property: background-color;\r\n transition-timing-function: ease;\r\n background: rgba(0, 0, 0, 0.3);\r\n border-radius: 50%;\r\n}\r\n\r\n.uni-swiper-dot-active {\r\n background-color: #000000;\r\n}\r\n";
class UniSwiper extends UniContainerComponent {
constructor(id2, parentNodeId, refNodeId, nodeJson) {
super(id2, "uni-swiper", Swiper, parentNodeId, refNodeId, nodeJson, ".uni-swiper-slide-frame");
}
}
var swiperItem = "uni-swiper-item {\n display: block;\n overflow: hidden;\n will-change: transform;\n position: absolute;\n width: 100%;\n height: 100%;\n cursor: grab;\n}\n\nuni-swiper-item[hidden] {\n display: none;\n}\n";
var swiperItem = "uni-swiper-item {\r\n display: block;\r\n overflow: hidden;\r\n will-change: transform;\r\n position: absolute;\r\n width: 100%;\r\n height: 100%;\r\n cursor: grab;\r\n}\r\n\r\nuni-swiper-item[hidden] {\r\n display: none;\r\n}\r\n";
class UniSwiperItem extends UniComponent {
constructor(id2, parentNodeId, refNodeId, nodeJson) {
super(id2, "uni-swiper-item", SwiperItem, parentNodeId, refNodeId, nodeJson);
}
}
var _switch = "uni-switch {\n -webkit-tap-highlight-color: transparent;\n display: inline-block;\n cursor: pointer;\n}\n\nuni-switch[hidden] {\n display: none;\n}\n\nuni-switch[disabled] {\n cursor: not-allowed;\n}\n\n.uni-switch-wrapper {\n display: inline-flex;\n align-items: center;\n vertical-align: middle;\n}\n\n.uni-switch-input {\n -webkit-appearance: none;\n appearance: none;\n position: relative;\n width: 52px;\n height: 32px;\n margin-right: 5px;\n border: 1px solid #dfdfdf;\n outline: 0;\n border-radius: 16px;\n box-sizing: border-box;\n background-color: #dfdfdf;\n transition: background-color 0.1s, border 0.1s;\n}\n\nuni-switch[disabled] .uni-switch-input {\n opacity: 0.7;\n}\n\n.uni-switch-input:before {\n content: ' ';\n position: absolute;\n top: 0;\n left: 0;\n width: 50px;\n height: 30px;\n border-radius: 15px;\n background-color: #fdfdfd;\n transition: transform 0.3s;\n}\n\n.uni-switch-input:after {\n content: ' ';\n position: absolute;\n top: 0;\n left: 0;\n width: 30px;\n height: 30px;\n border-radius: 15px;\n background-color: #ffffff;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);\n transition: transform 0.3s;\n}\n\n.uni-switch-input.uni-switch-input-checked {\n border-color: #007aff;\n background-color: #007aff;\n}\n\n.uni-switch-input.uni-switch-input-checked:before {\n transform: scale(0);\n}\n\n.uni-switch-input.uni-switch-input-checked:after {\n transform: translateX(20px);\n}\n\nuni-switch .uni-checkbox-input {\n margin-right: 5px;\n -webkit-appearance: none;\n appearance: none;\n outline: 0;\n border: 1px solid #d1d1d1;\n background-color: #ffffff;\n border-radius: 3px;\n width: 22px;\n height: 22px;\n position: relative;\n color: #007aff;\n}\n\nuni-switch:not([disabled]) .uni-checkbox-input:hover {\n border-color: #007aff;\n}\n\nuni-switch .uni-checkbox-input svg {\n color: inherit;\n font-size: 22px;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -48%) scale(0.73);\n}\n\n.uni-checkbox-input.uni-checkbox-input-disabled {\n background-color: #e1e1e1;\n}\n\n.uni-checkbox-input.uni-checkbox-input-disabled:before {\n color: #adadad;\n}\n";
var _switch = "uni-switch {\r\n -webkit-tap-highlight-color: transparent;\r\n display: inline-block;\r\n cursor: pointer;\r\n}\r\n\r\nuni-switch[hidden] {\r\n display: none;\r\n}\r\n\r\nuni-switch[disabled] {\r\n cursor: not-allowed;\r\n}\r\n\r\n.uni-switch-wrapper {\r\n display: inline-flex;\r\n align-items: center;\r\n vertical-align: middle;\r\n}\r\n\r\n.uni-switch-input {\r\n -webkit-appearance: none;\r\n appearance: none;\r\n position: relative;\r\n width: 52px;\r\n height: 32px;\r\n margin-right: 5px;\r\n border: 1px solid #dfdfdf;\r\n outline: 0;\r\n border-radius: 16px;\r\n box-sizing: border-box;\r\n background-color: #dfdfdf;\r\n transition: background-color 0.1s, border 0.1s;\r\n}\r\n\r\nuni-switch[disabled] .uni-switch-input {\r\n opacity: 0.7;\r\n}\r\n\r\n.uni-switch-input:before {\r\n content: ' ';\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n width: 50px;\r\n height: 30px;\r\n border-radius: 15px;\r\n background-color: #fdfdfd;\r\n transition: transform 0.3s;\r\n}\r\n\r\n.uni-switch-input:after {\r\n content: ' ';\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n width: 30px;\r\n height: 30px;\r\n border-radius: 15px;\r\n background-color: #ffffff;\r\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);\r\n transition: transform 0.3s;\r\n}\r\n\r\n.uni-switch-input.uni-switch-input-checked {\r\n border-color: #007aff;\r\n background-color: #007aff;\r\n}\r\n\r\n.uni-switch-input.uni-switch-input-checked:before {\r\n transform: scale(0);\r\n}\r\n\r\n.uni-switch-input.uni-switch-input-checked:after {\r\n transform: translateX(20px);\r\n}\r\n\r\nuni-switch .uni-checkbox-input {\r\n margin-right: 5px;\r\n -webkit-appearance: none;\r\n appearance: none;\r\n outline: 0;\r\n border: 1px solid #d1d1d1;\r\n background-color: #ffffff;\r\n border-radius: 3px;\r\n width: 22px;\r\n height: 22px;\r\n position: relative;\r\n color: #007aff;\r\n}\r\n\r\nuni-switch:not([disabled]) .uni-checkbox-input:hover {\r\n border-color: #007aff;\r\n}\r\n\r\nuni-switch .uni-checkbox-input svg {\r\n color: inherit;\r\n font-size: 22px;\r\n position: absolute;\r\n top: 50%;\r\n left: 50%;\r\n transform: translate(-50%, -48%) scale(0.73);\r\n}\r\n\r\n.uni-checkbox-input.uni-checkbox-input-disabled {\r\n background-color: #e1e1e1;\r\n}\r\n\r\n.uni-checkbox-input.uni-checkbox-input-disabled:before {\r\n color: #adadad;\r\n}\r\n";
class UniSwitch extends UniComponent {
constructor(id2, parentNodeId, refNodeId, nodeJson) {
super(id2, "uni-switch", Switch, parentNodeId, refNodeId, nodeJson);
}
}
var textarea = "uni-textarea {\n width: 300px;\n height: 150px;\n display: block;\n position: relative;\n font-size: 16px;\n line-height: normal;\n white-space: pre-wrap;\n word-break: break-all;\n box-sizing: content-box !important;\n}\nuni-textarea[hidden] {\n display: none;\n}\n.uni-textarea-wrapper,\n.uni-textarea-placeholder,\n.uni-textarea-line,\n.uni-textarea-compute,\n.uni-textarea-textarea {\n outline: none;\n border: none;\n padding: 0;\n margin: 0;\n text-decoration: inherit;\n}\n.uni-textarea-wrapper {\n display: block;\n position: relative;\n width: 100%;\n height: 100%;\n min-height: inherit;\n}\n.uni-textarea-placeholder,\n.uni-textarea-line,\n.uni-textarea-compute,\n.uni-textarea-textarea {\n position: absolute;\n width: 100%;\n height: 100%;\n left: 0;\n top: 0;\n white-space: inherit;\n word-break: inherit;\n}\n.uni-textarea-placeholder {\n color: grey;\n overflow: hidden;\n}\n.uni-textarea-line,\n.uni-textarea-compute {\n visibility: hidden;\n height: auto;\n}\n.uni-textarea-line {\n width: 1em;\n}\n.uni-textarea-textarea {\n resize: none;\n background: none;\n color: inherit;\n opacity: 1;\n font: inherit;\n line-height: inherit;\n letter-spacing: inherit;\n text-align: inherit;\n text-indent: inherit;\n text-transform: inherit;\n text-shadow: inherit;\n}\n/* \u7528\u4E8E\u89E3\u51B3 iOS textarea \u5185\u90E8\u9ED8\u8BA4\u8FB9\u8DDD */\n.uni-textarea-textarea-fix-margin {\n width: auto;\n right: 0;\n margin: 0 -3px;\n}\n.uni-textarea-textarea:disabled {\n /* \u7528\u4E8E\u91CD\u7F6EiOS14\u4EE5\u4E0B\u7981\u7528\u72B6\u6001\u6587\u5B57\u989C\u8272 */\n -webkit-text-fill-color: currentcolor;\n}\n";
var textarea = "uni-textarea {\r\n width: 300px;\r\n height: 150px;\r\n display: block;\r\n position: relative;\r\n font-size: 16px;\r\n line-height: normal;\r\n white-space: pre-wrap;\r\n word-break: break-all;\r\n box-sizing: content-box !important;\r\n}\r\nuni-textarea[hidden] {\r\n display: none;\r\n}\r\n.uni-textarea-wrapper,\r\n.uni-textarea-placeholder,\r\n.uni-textarea-line,\r\n.uni-textarea-compute,\r\n.uni-textarea-textarea {\r\n outline: none;\r\n border: none;\r\n padding: 0;\r\n margin: 0;\r\n text-decoration: inherit;\r\n}\r\n.uni-textarea-wrapper {\r\n display: block;\r\n position: relative;\r\n width: 100%;\r\n height: 100%;\r\n min-height: inherit;\r\n}\r\n.uni-textarea-placeholder,\r\n.uni-textarea-line,\r\n.uni-textarea-compute,\r\n.uni-textarea-textarea {\r\n position: absolute;\r\n width: 100%;\r\n height: 100%;\r\n left: 0;\r\n top: 0;\r\n white-space: inherit;\r\n word-break: inherit;\r\n}\r\n.uni-textarea-placeholder {\r\n color: grey;\r\n overflow: hidden;\r\n}\r\n.uni-textarea-line,\r\n.uni-textarea-compute {\r\n visibility: hidden;\r\n height: auto;\r\n}\r\n.uni-textarea-line {\r\n width: 1em;\r\n}\r\n.uni-textarea-textarea {\r\n resize: none;\r\n background: none;\r\n color: inherit;\r\n opacity: 1;\r\n font: inherit;\r\n line-height: inherit;\r\n letter-spacing: inherit;\r\n text-align: inherit;\r\n text-indent: inherit;\r\n text-transform: inherit;\r\n text-shadow: inherit;\r\n}\r\n/* \u7528\u4E8E\u89E3\u51B3 iOS textarea \u5185\u90E8\u9ED8\u8BA4\u8FB9\u8DDD */\r\n.uni-textarea-textarea-fix-margin {\r\n width: auto;\r\n right: 0;\r\n margin: 0 -3px;\r\n}\r\n.uni-textarea-textarea:disabled {\r\n /* \u7528\u4E8E\u91CD\u7F6EiOS14\u4EE5\u4E0B\u7981\u7528\u72B6\u6001\u6587\u5B57\u989C\u8272 */\r\n -webkit-text-fill-color: currentcolor;\r\n}\r\n";
class UniTextarea extends UniComponent {
constructor(id2, parentNodeId, refNodeId, nodeJson) {
super(id2, "uni-textarea", Textarea, parentNodeId, refNodeId, nodeJson);
}
}
var video = "uni-video {\n width: 300px;\n height: 225px;\n display: inline-block;\n line-height: 0;\n overflow: hidden;\n position: relative;\n}\n\nuni-video[hidden] {\n display: none;\n}\n\n.uni-video-container {\n width: 100%;\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n overflow: hidden;\n background-color: black;\n}\n\n.uni-video-slot {\n position: absolute;\n top: 0;\n width: 100%;\n height: 100%;\n overflow: hidden;\n pointer-events: none;\n}\n";
var video = "uni-video {\r\n width: 300px;\r\n height: 225px;\r\n display: inline-block;\r\n line-height: 0;\r\n overflow: hidden;\r\n position: relative;\r\n}\r\n\r\nuni-video[hidden] {\r\n display: none;\r\n}\r\n\r\n.uni-video-container {\r\n width: 100%;\r\n height: 100%;\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n overflow: hidden;\r\n background-color: black;\r\n}\r\n\r\n.uni-video-slot {\r\n position: absolute;\r\n top: 0;\r\n width: 100%;\r\n height: 100%;\r\n overflow: hidden;\r\n pointer-events: none;\r\n}\r\n";
const props$1 = {
id: {
type: String,
......@@ -16318,7 +16318,7 @@
super(id2, "uni-video", Video, parentNodeId, refNodeId, nodeJson, ".uni-video-slot");
}
}
var webview$1 = "uni-web-view {\n display: inline-block;\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n}\n";
var webview$1 = "uni-web-view {\r\n display: inline-block;\r\n position: absolute;\r\n left: 0;\r\n right: 0;\r\n top: 0;\r\n bottom: 0;\r\n}\r\n";
const props = {
src: {
type: String,
......
......@@ -49,6 +49,7 @@ export * from './ui/stopPullDownRefresh'
export * from './ui/loadFontFace'
export * from './ui/pageScrollTo'
export * from './ui/navigationBar'
export * from './ui/tabBar'
export * from './plugin/getProvider'
export * from './plugin/oauth'
......
import {
API_HIDE_TAB_BAR,
API_HIDE_TAB_BAR_RED_DOT,
API_REMOVE_TAB_BAR_BADGE,
API_SET_TAB_BAR_BADGE,
API_SET_TAB_BAR_ITEM,
API_SET_TAB_BAR_STYLE,
API_SHOW_TAB_BAR,
API_SHOW_TAB_BAR_RED_DOT,
API_TYPE_HIDE_TAB_BAR,
API_TYPE_HIDE_TAB_BAR_RED_DOT,
API_TYPE_REMOVE_TAB_BAR_BADGE,
API_TYPE_SET_TAB_BAR_BADGE,
API_TYPE_SET_TAB_BAR_ITEM,
API_TYPE_SET_TAB_BAR_STYLE,
API_TYPE_SHOW_TAB_BAR,
API_TYPE_SHOW_TAB_BAR_RED_DOT,
defineAsyncApi,
HideTabBarProtocol,
HideTabBarRedDotOptions,
HideTabBarRedDotProtocol,
RemoveTabBarBadgeOptions,
RemoveTabBarBadgeProtocol,
SetTabBarBadgeOptions,
SetTabBarBadgeProtocol,
SetTabBarItemOptions,
SetTabBarItemProtocol,
SetTabBarStyleOptions,
SetTabBarStyleProtocol,
ShowTabBarProtocol,
ShowTabBarRedDotOptions,
ShowTabBarRedDotProtocol,
} from '@dcloudio/uni-api'
import { isTabBarPage } from '../../utils'
import tabBar from '../../framework/app/tabBar'
export const setTabBarBadge = defineAsyncApi<API_TYPE_SET_TAB_BAR_BADGE>(
API_SET_TAB_BAR_BADGE,
({ index, text }, { resolve, reject }) => {
tabBar.setTabBarBadge('text', index, text)
resolve()
},
SetTabBarBadgeProtocol,
SetTabBarBadgeOptions
)
export const setTabBarItem = defineAsyncApi<API_TYPE_SET_TAB_BAR_ITEM>(
API_SET_TAB_BAR_ITEM,
(
{ index, text, iconPath, selectedIconPath, pagePath },
{ resolve, reject }
) => {
tabBar.setTabBarItem(index, text, iconPath, selectedIconPath)
const route = pagePath && __uniRoutes.find(({ path }) => path === pagePath)
if (route) {
const meta = route.meta
meta.isTabBar = true
meta.tabBarIndex = index
meta.isQuit = true
const tabBar = __uniConfig.tabBar
if (tabBar && tabBar.list && tabBar.list[index] && pagePath) {
tabBar.list[index].pagePath = pagePath.startsWith('/')
? pagePath.substring(1)
: pagePath
}
}
resolve()
},
SetTabBarItemProtocol,
SetTabBarItemOptions
)
export const setTabBarStyle = defineAsyncApi<API_TYPE_SET_TAB_BAR_STYLE>(
API_SET_TAB_BAR_STYLE,
(style = {}, { resolve, reject }) => {
if (!isTabBarPage()) {
return {
errMsg: 'setTabBarStyle:fail not TabBar page',
}
}
const borderStyles = {
black: 'rgba(0,0,0,0.4)',
white: 'rgba(255,255,255,0.4)',
}
const borderStyle = style.borderStyle
if (borderStyle && borderStyle in borderStyles) {
style.borderStyle = borderStyles[borderStyle as keyof typeof borderStyles]
}
tabBar.setTabBarStyle(style)
resolve()
},
SetTabBarStyleProtocol,
SetTabBarStyleOptions
)
export const hideTabBar = defineAsyncApi<API_TYPE_HIDE_TAB_BAR>(
API_HIDE_TAB_BAR,
(args, { resolve, reject }) => {
const animation = args && args.animation
if (!isTabBarPage()) {
return reject('not TabBar page')
}
tabBar.hideTabBar(Boolean(animation))
resolve()
},
HideTabBarProtocol
)
export const showTabBar = defineAsyncApi<API_TYPE_SHOW_TAB_BAR>(
API_SHOW_TAB_BAR,
(args, { resolve, reject }) => {
const animation = args && args.animation
if (!isTabBarPage()) {
return reject('not TabBar page')
}
tabBar.showTabBar(Boolean(animation))
resolve()
},
ShowTabBarProtocol
)
export const showTabBarRedDot = defineAsyncApi<API_TYPE_SHOW_TAB_BAR_RED_DOT>(
API_SHOW_TAB_BAR_RED_DOT,
({ index }, { resolve, reject }) => {
tabBar.setTabBarBadge('redDot', index)
resolve()
},
ShowTabBarRedDotProtocol,
ShowTabBarRedDotOptions
)
const setTabBarBadgeNone = (index: number) =>
tabBar.setTabBarBadge('none', index)
export const removeTabBarBadge = defineAsyncApi<API_TYPE_REMOVE_TAB_BAR_BADGE>(
API_REMOVE_TAB_BAR_BADGE,
({ index }, { resolve, reject }) => {
setTabBarBadgeNone(index)
resolve()
},
RemoveTabBarBadgeProtocol,
RemoveTabBarBadgeOptions
)
export const hideTabBarRedDot = defineAsyncApi<API_TYPE_HIDE_TAB_BAR_RED_DOT>(
API_HIDE_TAB_BAR_RED_DOT,
({ index }, { resolve, reject }) => {
setTabBarBadgeNone(index)
resolve()
},
HideTabBarRedDotProtocol,
HideTabBarRedDotOptions
)
......@@ -22,7 +22,7 @@ let tabBar: any
function setTabBarBadge(
type: 'none' | 'text' | 'redDot',
index: number,
text: string
text?: string
) {
if (!tabBar) {
return
......
......@@ -27,3 +27,32 @@ export function setPullDownRefreshWebview(
) {
pullDownRefreshWebview = webview
}
export function isTabBarPage(path = '') {
if (!(__uniConfig.tabBar && Array.isArray(__uniConfig.tabBar.list))) {
return false
}
try {
if (!path) {
const pages = getCurrentPages()
if (!pages.length) {
return false
}
const page = pages[pages.length - 1]
if (!page) {
return false
}
return page.$page.meta.isTabBar
}
if (!/^\//.test(path)) {
path = '/' + path
}
const route = __uniRoutes.find((route) => route.path === path)
return route && route.meta.isTabBar
} catch (e) {
if (process.env.NODE_ENV !== 'production') {
console.log('getCurrentPages is not ready')
}
}
return false
}
......@@ -786,7 +786,7 @@ var safeAreaInsets = {
onChange,
offChange
};
var out = safeAreaInsets;
var D__DCloud_local_git_uniAppNext_node_modules_safeAreaInsets_out = safeAreaInsets;
const onEventPrevent = /* @__PURE__ */ withModifiers(() => {
}, ["prevent"]);
const onEventStop = /* @__PURE__ */ withModifiers(() => {
......@@ -798,10 +798,10 @@ function getWindowOffset() {
const left = parseInt(style.getPropertyValue("--window-left"));
const right = parseInt(style.getPropertyValue("--window-right"));
return {
top: top ? top + out.top : 0,
bottom: bottom ? bottom + out.bottom : 0,
left: left ? left + out.left : 0,
right: right ? right + out.right : 0
top: top ? top + D__DCloud_local_git_uniAppNext_node_modules_safeAreaInsets_out.top : 0,
bottom: bottom ? bottom + D__DCloud_local_git_uniAppNext_node_modules_safeAreaInsets_out.bottom : 0,
left: left ? left + D__DCloud_local_git_uniAppNext_node_modules_safeAreaInsets_out.left : 0,
right: right ? right + D__DCloud_local_git_uniAppNext_node_modules_safeAreaInsets_out.right : 0
};
}
function updateCssVar(cssVars) {
......@@ -13347,7 +13347,7 @@ function normalizePageMeta(pageMeta) {
}, pageMeta.pullToRefresh));
const { type, style } = navigationBar;
if (style !== "custom" && type !== "transparent") {
pullToRefresh.offset += NAVBAR_HEIGHT + out.top;
pullToRefresh.offset += NAVBAR_HEIGHT + D__DCloud_local_git_uniAppNext_node_modules_safeAreaInsets_out.top;
}
pageMeta.pullToRefresh = pullToRefresh;
}
......@@ -15545,7 +15545,7 @@ const getSystemInfoSync = /* @__PURE__ */ defineSyncApi("getSystemInfoSync", ()
const windowWidth = getWindowWidth(screenWidth);
let windowHeight = window.innerHeight;
const language = navigator.language;
const statusBarHeight = out.top;
const statusBarHeight = D__DCloud_local_git_uniAppNext_node_modules_safeAreaInsets_out.top;
let osname;
let osversion;
let model;
......@@ -15658,12 +15658,12 @@ const getSystemInfoSync = /* @__PURE__ */ defineSyncApi("getSystemInfoSync", ()
const system = `${osname} ${osversion}`;
const platform = osname.toLocaleLowerCase();
const safeArea = {
left: out.left,
right: windowWidth - out.right,
top: out.top,
bottom: windowHeight - out.bottom,
width: windowWidth - out.left - out.right,
height: windowHeight - out.top - out.bottom
left: D__DCloud_local_git_uniAppNext_node_modules_safeAreaInsets_out.left,
right: windowWidth - D__DCloud_local_git_uniAppNext_node_modules_safeAreaInsets_out.right,
top: D__DCloud_local_git_uniAppNext_node_modules_safeAreaInsets_out.top,
bottom: windowHeight - D__DCloud_local_git_uniAppNext_node_modules_safeAreaInsets_out.bottom,
width: windowWidth - D__DCloud_local_git_uniAppNext_node_modules_safeAreaInsets_out.left - D__DCloud_local_git_uniAppNext_node_modules_safeAreaInsets_out.right,
height: windowHeight - D__DCloud_local_git_uniAppNext_node_modules_safeAreaInsets_out.top - D__DCloud_local_git_uniAppNext_node_modules_safeAreaInsets_out.bottom
};
const { top: windowTop, bottom: windowBottom } = getWindowOffset();
windowHeight -= windowTop;
......@@ -15683,10 +15683,10 @@ const getSystemInfoSync = /* @__PURE__ */ defineSyncApi("getSystemInfoSync", ()
model,
safeArea,
safeAreaInsets: {
top: out.top,
right: out.right,
bottom: out.bottom,
left: out.left
top: D__DCloud_local_git_uniAppNext_node_modules_safeAreaInsets_out.top,
right: D__DCloud_local_git_uniAppNext_node_modules_safeAreaInsets_out.right,
bottom: D__DCloud_local_git_uniAppNext_node_modules_safeAreaInsets_out.bottom,
left: D__DCloud_local_git_uniAppNext_node_modules_safeAreaInsets_out.left
}
};
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册