diff --git a/package.json b/package.json index 5c4fece61b227109fb3173443901c60d6d77c9f7..da37380dc4ca489f3ad5a43caefd0c06c3e6e346 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ }, "devDependencies": { "@dcloudio/types": "^2.0.20", - "@microsoft/api-extractor": "^7.12.1", + "@microsoft/api-extractor": "^7.13.2", "@rollup/plugin-alias": "^3.1.1", "@rollup/plugin-commonjs": "^17.0.0", "@rollup/plugin-json": "^4.1.0", @@ -65,8 +65,8 @@ "rollup-plugin-vue": "^6.0.0", "semver": "^7.3.4", "ts-jest": "^26.4.4", - "typescript": "^4.1.3", - "vite": "^2.0.5", + "typescript": "~4.1.3", + "vite": "^2.1.0", "vue": "3.0.7", "yorkie": "^2.0.0" } diff --git a/packages/uni-components/dist/uni-components.esm.js b/packages/uni-components/dist/uni-components.esm.js index 2036599ee130d36d20262142c2f01653c62b926d..0c24c555c3496161ce9d68b9db104bd360901a44 100644 --- a/packages/uni-components/dist/uni-components.esm.js +++ b/packages/uni-components/dist/uni-components.esm.js @@ -20,20 +20,7 @@ function broadcast(componentName, eventName, ...params) { var emitter = { methods: { $dispatch(componentName, eventName, ...params) { - if (typeof componentName === "string") { - componentName = [componentName]; - } - let parent = this.$parent || this.$root; - let name = parent.$options.name && parent.$options.name.substr(4); - while (parent && (!name || !~componentName.indexOf(name))) { - parent = parent.$parent; - if (parent) { - name = parent.$options.name && parent.$options.name.substr(4); - } - } - if (parent) { - parent.$emit.apply(parent, [eventName].concat(params)); - } + console.log("$dispatch", componentName, eventName, params); }, $broadcast(componentName, eventName, ...params) { if (typeof componentName === "string") { @@ -396,7 +383,7 @@ try { } catch (e2) { } const passiveOptions = supportsPassive$1 ? {passive: true} : false; -const _sfc_main = { +const _sfc_main$m = { name: "Audio", mixins: [subscriber], props: { @@ -515,13 +502,13 @@ const _sfc_main = { } } }; -const _hoisted_1 = {class: "uni-audio-default"}; -const _hoisted_2 = {class: "uni-audio-right"}; -const _hoisted_3 = {class: "uni-audio-time"}; -const _hoisted_4 = {class: "uni-audio-info"}; -const _hoisted_5 = {class: "uni-audio-name"}; -const _hoisted_6 = {class: "uni-audio-author"}; -function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { +const _hoisted_1$a = {class: "uni-audio-default"}; +const _hoisted_2$4 = {class: "uni-audio-right"}; +const _hoisted_3$1 = {class: "uni-audio-time"}; +const _hoisted_4$1 = {class: "uni-audio-info"}; +const _hoisted_5$1 = {class: "uni-audio-name"}; +const _hoisted_6$1 = {class: "uni-audio-author"}; +function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createBlock("uni-audio", mergeProps({ id: $props.id, controls: !!$props.controls @@ -531,7 +518,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { loop: $props.loop, style: {display: "none"} }, null, 8, ["loop"]), - createVNode("div", _hoisted_1, [ + createVNode("div", _hoisted_1$a, [ createVNode("div", { style: "background-image: url(" + _ctx.$getRealPath($props.poster) + ");", class: "uni-audio-left" @@ -541,17 +528,17 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { onClick: _cache[1] || (_cache[1] = (...args) => $options.trigger && $options.trigger(...args)) }, null, 2) ], 4), - createVNode("div", _hoisted_2, [ - createVNode("div", _hoisted_3, toDisplayString($data.currentTime), 1), - createVNode("div", _hoisted_4, [ - createVNode("div", _hoisted_5, toDisplayString($props.name), 1), - createVNode("div", _hoisted_6, toDisplayString($props.author), 1) + createVNode("div", _hoisted_2$4, [ + createVNode("div", _hoisted_3$1, toDisplayString($data.currentTime), 1), + createVNode("div", _hoisted_4$1, [ + createVNode("div", _hoisted_5$1, toDisplayString($props.name), 1), + createVNode("div", _hoisted_6$1, toDisplayString($props.author), 1) ]) ]) ]) ], 16, ["id", "controls"]); } -_sfc_main.render = _sfc_render; +_sfc_main$m.render = _sfc_render$l; const pixelRatio = function() { const canvas = document.createElement("canvas"); canvas.height = canvas.width = 0; @@ -680,7 +667,7 @@ function wrapper(canvas) { canvas.height = canvas.offsetHeight * pixelRatio; canvas.getContext("2d").__hidpi__ = true; } -var index_vue_vue_type_style_index_0_lang = "\nuni-canvas {\r\n width: 300px;\r\n height: 150px;\r\n display: block;\r\n position: relative;\n}\nuni-canvas > canvas {\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n width: 100%;\r\n height: 100%;\n}\r\n"; +var index_vue_vue_type_style_index_0_lang$g = "\nuni-canvas {\r\n width: 300px;\r\n height: 150px;\r\n display: block;\r\n position: relative;\n}\nuni-canvas > canvas {\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n width: 100%;\r\n height: 100%;\n}\r\n"; function resolveColor(color) { color = color.slice(0); color[3] = color[3] / 255; @@ -705,7 +692,7 @@ function getTempCanvas(width = 0, height = 0) { tempCanvas.height = height; return tempCanvas; } -const _sfc_main$1 = { +const _sfc_main$l = { name: "Canvas", mixins: [subscriber], props: { @@ -1201,20 +1188,20 @@ const _sfc_main$1 = { } } }; -const _hoisted_1$1 = { +const _hoisted_1$9 = { ref: "canvas", width: "300", height: "150" }; -const _hoisted_2$1 = {style: {position: "absolute", top: "0", left: "0", width: "100%", height: "100%", overflow: "hidden"}}; -function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) { +const _hoisted_2$3 = {style: {position: "absolute", top: "0", left: "0", width: "100%", height: "100%", overflow: "hidden"}}; +function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) { const _component_v_uni_resize_sensor = resolveComponent("v-uni-resize-sensor"); return openBlock(), createBlock("uni-canvas", mergeProps({ "canvas-id": $props.canvasId, "disable-scroll": $props.disableScroll }, toHandlers($options._listeners)), [ - createVNode("canvas", _hoisted_1$1, null, 512), - createVNode("div", _hoisted_2$1, [ + createVNode("canvas", _hoisted_1$9, null, 512), + createVNode("div", _hoisted_2$3, [ renderSlot(_ctx.$slots, "default") ]), createVNode(_component_v_uni_resize_sensor, { @@ -1223,8 +1210,8 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) { }, null, 8, ["onResize"]) ], 16, ["canvas-id", "disable-scroll"]); } -_sfc_main$1.render = _sfc_render$1; -const _sfc_main$2 = { +_sfc_main$l.render = _sfc_render$k; +const _sfc_main$k = { name: "Checkbox", mixins: [emitter, listeners], props: { @@ -1300,12 +1287,12 @@ const _sfc_main$2 = { } } }; -const _hoisted_1$2 = {class: "uni-checkbox-wrapper"}; -function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) { +const _hoisted_1$8 = {class: "uni-checkbox-wrapper"}; +function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createBlock("uni-checkbox", mergeProps({disabled: $props.disabled}, _ctx.$attrs, { onClick: _cache[1] || (_cache[1] = (...args) => $options._onClick && $options._onClick(...args)) }), [ - createVNode("div", _hoisted_1$2, [ + createVNode("div", _hoisted_1$8, [ createVNode("div", { class: [[$data.checkboxChecked ? "uni-checkbox-input-checked" : ""], "uni-checkbox-input"], style: {color: $props.color} @@ -1314,9 +1301,9 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) { ]) ], 16, ["disabled"]); } -_sfc_main$2.render = _sfc_render$2; -var index_vue_vue_type_style_index_0_lang$1 = "\nuni-checkbox-group[hidden] {\r\n display: none;\n}\r\n"; -const _sfc_main$3 = { +_sfc_main$k.render = _sfc_render$j; +var index_vue_vue_type_style_index_0_lang$f = "\nuni-checkbox-group[hidden] {\r\n display: none;\n}\r\n"; +const _sfc_main$j = { name: "CheckboxGroup", mixins: [emitter, listeners], props: { @@ -1382,12 +1369,12 @@ const _sfc_main$3 = { } } }; -function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) { +function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createBlock("uni-checkbox-group", _ctx.$attrs, [ renderSlot(_ctx.$slots, "default") ], 16); } -_sfc_main$3.render = _sfc_render$3; +_sfc_main$j.render = _sfc_render$i; var startTag = /^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/; var endTag = /^<\/([-A-Za-z0-9_]+)[^>]*>/; var attr = /([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g; @@ -1772,7 +1759,7 @@ function register(Quill) { } var editor_css_vue_type_style_index_0_src_lang = ".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 index_vue_vue_type_style_index_1_lang = "\n"; -const _sfc_main$4 = { +const _sfc_main$i = { name: "Editor", mixins: [subscriber, emitter, keyboard], props: { @@ -2094,15 +2081,15 @@ const _sfc_main$4 = { } } }; -function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) { +function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createBlock("uni-editor", mergeProps({ id: $props.id, class: "ql-container" }, _ctx.$attrs), null, 16, ["id"]); } -_sfc_main$4.render = _sfc_render$4; -var index_vue_vue_type_style_index_0_lang$2 = "\r\n"; -const _sfc_main$5 = { +_sfc_main$i.render = _sfc_render$h; +var index_vue_vue_type_style_index_0_lang$e = "\r\n"; +const _sfc_main$h = { name: "Form", mixins: [listeners], data() { @@ -2143,16 +2130,16 @@ const _sfc_main$5 = { } } }; -function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) { +function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createBlock("uni-form", _ctx.$attrs, [ createVNode("span", null, [ renderSlot(_ctx.$slots, "default") ]) ], 16); } -_sfc_main$5.render = _sfc_render$5; -var index_vue_vue_type_style_index_0_lang$3 = "\nuni-icon {\r\n display: inline-block;\r\n font-size: 0;\r\n box-sizing: border-box;\n}\nuni-icon[hidden] {\r\n display: none;\n}\nuni-icon > i {\r\n font: normal normal normal 14px/1 'weui';\n}\nuni-icon > i:before {\r\n margin: 0;\r\n box-sizing: border-box;\n}\n@font-face {\r\n font-weight: normal;\r\n font-style: normal;\r\n font-family: 'weui';\r\n src: url('data:application/octet-stream;base64,AAEAAAALAIAAAwAwR1NVQrD+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2Nlc3MOc3VjY2Vzcy1jaXJjbGURc3VjY2Vzcy1uby1jaXJjbGUHd2FpdGluZw53YWl0aW5nLWNpcmNsZQR3YXJuC2luZm8tY2lyY2xlBmNhbmNlbAZzZWFyY2gFY2xlYXIEYmFjawZkZWxldGUAAAAA')\r\n format('truetype');\n}\n.uni-icon-success:before {\r\n content: '\\EA06';\n}\n.uni-icon-success_circle:before {\r\n content: '\\EA07';\n}\n.uni-icon-success_no_circle:before {\r\n content: '\\EA08';\n}\n.uni-icon-safe_success:before {\r\n content: '\\EA04';\n}\n.uni-icon-safe_warn:before {\r\n content: '\\EA05';\n}\n.uni-icon-info:before {\r\n content: '\\EA03';\n}\n.uni-icon-info_circle:before {\r\n content: '\\EA0C';\n}\n.uni-icon-warn:before {\r\n content: '\\EA0B';\n}\n.uni-icon-waiting:before {\r\n content: '\\EA09';\n}\n.uni-icon-waiting_circle:before {\r\n content: '\\EA0A';\n}\n.uni-icon-circle:before {\r\n content: '\\EA01';\n}\n.uni-icon-cancel:before {\r\n content: '\\EA0D';\n}\n.uni-icon-download:before {\r\n content: '\\EA02';\n}\n.uni-icon-search:before {\r\n content: '\\EA0E';\n}\n.uni-icon-clear:before {\r\n content: '\\EA0F';\n}\n.uni-icon-success {\r\n color: #007aff;\n}\n.uni-icon-success_circle {\r\n color: #007aff;\n}\n.uni-icon-success_no_circle {\r\n color: #007aff;\n}\n.uni-icon-safe_success {\r\n color: #007aff;\n}\n.uni-icon-safe_warn {\r\n color: #ffbe00;\n}\n.uni-icon-info {\r\n color: #10aeff;\n}\n.uni-icon-info_circle {\r\n color: #007aff;\n}\n.uni-icon-warn {\r\n color: #f76260;\n}\n.uni-icon-waiting {\r\n color: #10aeff;\n}\n.uni-icon-waiting_circle {\r\n color: #10aeff;\n}\n.uni-icon-circle {\r\n color: #c9c9c9;\n}\n.uni-icon-cancel {\r\n color: #f43530;\n}\n.uni-icon-download {\r\n color: #007aff;\n}\n.uni-icon-search {\r\n color: #b2b2b2;\n}\n.uni-icon-clear {\r\n color: #b2b2b2;\n}\r\n"; -const _sfc_main$6 = { +_sfc_main$h.render = _sfc_render$g; +var index_vue_vue_type_style_index_0_lang$d = "\nuni-icon {\r\n display: inline-block;\r\n font-size: 0;\r\n box-sizing: border-box;\n}\nuni-icon[hidden] {\r\n display: none;\n}\nuni-icon > i {\r\n font: normal normal normal 14px/1 'weui';\n}\nuni-icon > i:before {\r\n margin: 0;\r\n box-sizing: border-box;\n}\n@font-face {\r\n font-weight: normal;\r\n font-style: normal;\r\n font-family: 'weui';\r\n src: url('data:application/octet-stream;base64,AAEAAAALAIAAAwAwR1NVQrD+s+0AAAE4AAAAQk9TLzJAKEx8AAABfAAAAFZjbWFw65cFHQAAAhwAAAJQZ2x5Zp+UEEcAAASUAAAIvGhlYWQUqc7xAAAA4AAAADZoaGVhB/YD+wAAALwAAAAkaG10eEJoAAAAAAHUAAAASGxvY2EUxhJeAAAEbAAAACZtYXhwASEAQwAAARgAAAAgbmFtZeNcHtgAAA1QAAAB5nBvc3T6OoZLAAAPOAAAAOYAAQAAA+gAAABaA+gAAAAAA7MAAQAAAAAAAAAAAAAAAAAAABIAAQAAAAEAAMCU2KdfDzz1AAsD6AAAAADY7EUUAAAAANjsRRQAAAAAA7MD5AAAAAgAAgAAAAAAAAABAAAAEgA3AAUAAAAAAAIAAAAKAAoAAAD/AAAAAAAAAAEAAAAKAB4ALAABREZMVAAIAAQAAAAAAAAAAQAAAAFsaWdhAAgAAAABAAAAAQAEAAQAAAABAAgAAQAGAAAAAQAAAAAAAQOwAZAABQAIAnoCvAAAAIwCegK8AAAB4AAxAQIAAAIABQMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUGZFZABA6gHqEQPoAAAAWgPoAAAAAAABAAAAAAAAAAAAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAAAAABQAAAAMAAAAsAAAABAAAAXQAA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AHcAZQB1AGkARwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABzAHYAZwAyAHQAdABmACAAZgByAG8AbQAgAEYAbwBuAHQAZQBsAGwAbwAgAHAAcgBvAGoAZQBjAHQALgBoAHQAdABwADoALwAvAGYAbwBuAHQAZQBsAGwAbwAuAGMAbwBtAAAAAgAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASAQIBAwEEAQUBBgEHAQgBCQEKAQsBDAENAQ4BDwEQAREBEgETAAZjaXJjbGUIZG93bmxvYWQEaW5mbwxzYWZlLXN1Y2Nlc3MJc2FmZS13YXJuB3N1Y2Nlc3MOc3VjY2Vzcy1jaXJjbGURc3VjY2Vzcy1uby1jaXJjbGUHd2FpdGluZw53YWl0aW5nLWNpcmNsZQR3YXJuC2luZm8tY2lyY2xlBmNhbmNlbAZzZWFyY2gFY2xlYXIEYmFjawZkZWxldGUAAAAA')\r\n format('truetype');\n}\n.uni-icon-success:before {\r\n content: '\\EA06';\n}\n.uni-icon-success_circle:before {\r\n content: '\\EA07';\n}\n.uni-icon-success_no_circle:before {\r\n content: '\\EA08';\n}\n.uni-icon-safe_success:before {\r\n content: '\\EA04';\n}\n.uni-icon-safe_warn:before {\r\n content: '\\EA05';\n}\n.uni-icon-info:before {\r\n content: '\\EA03';\n}\n.uni-icon-info_circle:before {\r\n content: '\\EA0C';\n}\n.uni-icon-warn:before {\r\n content: '\\EA0B';\n}\n.uni-icon-waiting:before {\r\n content: '\\EA09';\n}\n.uni-icon-waiting_circle:before {\r\n content: '\\EA0A';\n}\n.uni-icon-circle:before {\r\n content: '\\EA01';\n}\n.uni-icon-cancel:before {\r\n content: '\\EA0D';\n}\n.uni-icon-download:before {\r\n content: '\\EA02';\n}\n.uni-icon-search:before {\r\n content: '\\EA0E';\n}\n.uni-icon-clear:before {\r\n content: '\\EA0F';\n}\n.uni-icon-success {\r\n color: #007aff;\n}\n.uni-icon-success_circle {\r\n color: #007aff;\n}\n.uni-icon-success_no_circle {\r\n color: #007aff;\n}\n.uni-icon-safe_success {\r\n color: #007aff;\n}\n.uni-icon-safe_warn {\r\n color: #ffbe00;\n}\n.uni-icon-info {\r\n color: #10aeff;\n}\n.uni-icon-info_circle {\r\n color: #007aff;\n}\n.uni-icon-warn {\r\n color: #f76260;\n}\n.uni-icon-waiting {\r\n color: #10aeff;\n}\n.uni-icon-waiting_circle {\r\n color: #10aeff;\n}\n.uni-icon-circle {\r\n color: #c9c9c9;\n}\n.uni-icon-cancel {\r\n color: #f43530;\n}\n.uni-icon-download {\r\n color: #007aff;\n}\n.uni-icon-search {\r\n color: #b2b2b2;\n}\n.uni-icon-clear {\r\n color: #b2b2b2;\n}\r\n"; +const _sfc_main$g = { name: "Icon", props: { type: { @@ -2182,7 +2169,7 @@ const _sfc_main$6 = { } } }; -function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) { +function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createBlock("uni-icon", _ctx.$attrs, [ createVNode("i", { class: `uni-icon-${$props.type}`, @@ -2191,9 +2178,9 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) { }, null, 6) ], 16); } -_sfc_main$6.render = _sfc_render$6; -var index_vue_vue_type_style_index_0_lang$4 = "\nuni-image {\r\n width: 320px;\r\n height: 240px;\r\n display: inline-block;\r\n overflow: hidden;\r\n position: relative;\n}\nuni-image[hidden] {\r\n display: none;\n}\nuni-image>div {\r\n width: 100%;\r\n height: 100%;\n}\nuni-image>img {\r\n -webkit-touch-callout: none;\r\n -webkit-user-select: none;\r\n -moz-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;\n}\nuni-image>.uni-image-will-change {\r\n will-change: transform;\n}\r\n"; -const _sfc_main$7 = { +_sfc_main$g.render = _sfc_render$f; +var index_vue_vue_type_style_index_0_lang$c = "\nuni-image {\r\n width: 320px;\r\n height: 240px;\r\n display: inline-block;\r\n overflow: hidden;\r\n position: relative;\n}\nuni-image[hidden] {\r\n display: none;\n}\nuni-image>div {\r\n width: 100%;\r\n height: 100%;\n}\nuni-image>img {\r\n -webkit-touch-callout: none;\r\n -webkit-user-select: none;\r\n -moz-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;\n}\nuni-image>.uni-image-will-change {\r\n will-change: transform;\n}\r\n"; +const _sfc_main$f = { name: "Image", props: { src: { @@ -2344,7 +2331,7 @@ const _sfc_main$7 = { } } }; -function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) { +function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) { const _component_v_uni_resize_sensor = resolveComponent("v-uni-resize-sensor"); return openBlock(), createBlock("uni-image", _ctx.$attrs, [ createVNode("div", { @@ -2359,11 +2346,11 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) { }, null, 8, ["onResize"])) : createCommentVNode("", true) ], 16); } -_sfc_main$7.render = _sfc_render$7; -var index_vue_vue_type_style_index_0_lang$5 = '\nuni-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;\n}\nuni-input[hidden] {\r\n display: none;\n}\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;\n}\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;\n}\n.uni-input-placeholder,\r\n.uni-input-input {\r\n width: 100%;\n}\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;\n}\n.uni-input-input {\r\n display: block;\r\n height: 100%;\r\n background: none;\r\n color: inherit;\r\n opacity: 1;\r\n -webkit-text-fill-color: currentcolor;\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;\n}\n.uni-input-input[type="search"]::-webkit-search-cancel-button {\r\n display: none;\n}\n.uni-input-input::-webkit-outer-spin-button,\r\n.uni-input-input::-webkit-inner-spin-button {\r\n -webkit-appearance: none;\r\n margin: 0;\n}\n.uni-input-input[type="number"] {\r\n -moz-appearance: textfield;\n}\r\n'; +_sfc_main$f.render = _sfc_render$e; +var index_vue_vue_type_style_index_0_lang$b = '\nuni-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;\n}\nuni-input[hidden] {\r\n display: none;\n}\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;\n}\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;\n}\n.uni-input-placeholder,\r\n.uni-input-input {\r\n width: 100%;\n}\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;\n}\n.uni-input-input {\r\n display: block;\r\n height: 100%;\r\n background: none;\r\n color: inherit;\r\n opacity: 1;\r\n -webkit-text-fill-color: currentcolor;\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;\n}\n.uni-input-input[type="search"]::-webkit-search-cancel-button {\r\n display: none;\n}\n.uni-input-input::-webkit-outer-spin-button,\r\n.uni-input-input::-webkit-inner-spin-button {\r\n -webkit-appearance: none;\r\n margin: 0;\n}\n.uni-input-input[type="number"] {\r\n -moz-appearance: textfield;\n}\r\n'; const INPUT_TYPES = ["text", "number", "idcard", "digit", "password"]; const NUMBER_TYPES = ["number", "digit"]; -const _sfc_main$8 = { +const _sfc_main$e = { name: "Input", mixins: [baseInput], props: { @@ -2541,16 +2528,16 @@ const _sfc_main$8 = { } } }; -const _hoisted_1$3 = { +const _hoisted_1$7 = { ref: "wrapper", class: "uni-input-wrapper" }; -function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) { +function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createBlock("uni-input", mergeProps({ onChange: _cache[8] || (_cache[8] = withModifiers(() => { }, ["stop"])) }, _ctx.$attrs), [ - createVNode("div", _hoisted_1$3, [ + createVNode("div", _hoisted_1$7, [ withDirectives(createVNode("div", { ref: "placeholder", style: $props.placeholderStyle, @@ -2581,9 +2568,9 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) { ], 512) ], 16); } -_sfc_main$8.render = _sfc_render$8; -var index_vue_vue_type_style_index_0_lang$6 = "\n.uni-label-pointer {\r\n cursor: pointer;\n}\r\n"; -const _sfc_main$9 = { +_sfc_main$e.render = _sfc_render$d; +var index_vue_vue_type_style_index_0_lang$a = "\n.uni-label-pointer {\r\n cursor: pointer;\n}\r\n"; +const _sfc_main$d = { name: "Label", mixins: [emitter], props: { @@ -2614,7 +2601,7 @@ const _sfc_main$9 = { } } }; -function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) { +function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createBlock("uni-label", mergeProps({ class: {"uni-label-pointer": $options.pointer} }, _ctx.$attrs, { @@ -2623,7 +2610,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) { renderSlot(_ctx.$slots, "default") ], 16); } -_sfc_main$9.render = _sfc_render$9; +_sfc_main$d.render = _sfc_render$c; const addListenerToElement = function(element, type, callback, capture) { element.addEventListener(type, ($event) => { if (typeof callback === "function") { @@ -2745,13 +2732,13 @@ function Decline() { Decline.prototype.x = function(e2) { return Math.sqrt(e2); }; -function Friction(e2, t2) { +function Friction$1(e2, t2) { this._m = e2; this._f = 1e3 * t2; this._startTime = 0; this._v = 0; } -Friction.prototype.setV = function(x, y) { +Friction$1.prototype.setV = function(x, y) { var n = Math.pow(Math.pow(x, 2) + Math.pow(y, 2), 0.5); this._x_v = x; this._y_v = y; @@ -2761,11 +2748,11 @@ Friction.prototype.setV = function(x, y) { this._lastDt = null; this._startTime = new Date().getTime(); }; -Friction.prototype.setS = function(x, y) { +Friction$1.prototype.setS = function(x, y) { this._x_s = x; this._y_s = y; }; -Friction.prototype.s = function(t2) { +Friction$1.prototype.s = function(t2) { if (t2 === void 0) { t2 = (new Date().getTime() - this._startTime) / 1e3; } @@ -2786,7 +2773,7 @@ Friction.prototype.s = function(t2) { y }; }; -Friction.prototype.ds = function(t2) { +Friction$1.prototype.ds = function(t2) { if (t2 === void 0) { t2 = (new Date().getTime() - this._startTime) / 1e3; } @@ -2798,29 +2785,29 @@ Friction.prototype.ds = function(t2) { dy: this._y_v + this._y_a * t2 }; }; -Friction.prototype.delta = function() { +Friction$1.prototype.delta = function() { return { x: -1.5 * Math.pow(this._x_v, 2) / this._x_a || 0, y: -1.5 * Math.pow(this._y_v, 2) / this._y_a || 0 }; }; -Friction.prototype.dt = function() { +Friction$1.prototype.dt = function() { return -this._x_v / this._x_a; }; -Friction.prototype.done = function() { +Friction$1.prototype.done = function() { var t2 = e(this.s().x, this._endPositionX) || e(this.s().y, this._endPositionY) || this._lastDt === this._t; this._lastDt = null; return t2; }; -Friction.prototype.setEnd = function(x, y) { +Friction$1.prototype.setEnd = function(x, y) { this._endPositionX = x; this._endPositionY = y; }; -Friction.prototype.reconfigure = function(m, f2) { +Friction$1.prototype.reconfigure = function(m, f2) { this._m = m; this._f = 1e3 * f2; }; -function Spring(m, k, c) { +function Spring$1(m, k, c) { this._m = m; this._k = k; this._c = c; @@ -2828,7 +2815,7 @@ function Spring(m, k, c) { this._endPosition = 0; this._startTime = 0; } -Spring.prototype._solve = function(e2, t2) { +Spring$1.prototype._solve = function(e2, t2) { var n = this._c; var i2 = this._m; var r = this._k; @@ -2903,19 +2890,19 @@ Spring.prototype._solve = function(e2, t2) { } }; }; -Spring.prototype.x = function(e2) { +Spring$1.prototype.x = function(e2) { if (e2 === void 0) { e2 = (new Date().getTime() - this._startTime) / 1e3; } return this._solution ? this._endPosition + this._solution.x(e2) : 0; }; -Spring.prototype.dx = function(e2) { +Spring$1.prototype.dx = function(e2) { if (e2 === void 0) { e2 = (new Date().getTime() - this._startTime) / 1e3; } return this._solution ? this._solution.dx(e2) : 0; }; -Spring.prototype.setEnd = function(e2, n, i2) { +Spring$1.prototype.setEnd = function(e2, n, i2) { if (!i2) { i2 = new Date().getTime(); } @@ -2942,7 +2929,7 @@ Spring.prototype.setEnd = function(e2, n, i2) { } } }; -Spring.prototype.snap = function(e2) { +Spring$1.prototype.snap = function(e2) { this._startTime = new Date().getTime(); this._endPosition = e2; this._solution = { @@ -2954,13 +2941,13 @@ Spring.prototype.snap = function(e2) { } }; }; -Spring.prototype.done = function(n) { +Spring$1.prototype.done = function(n) { if (!n) { n = new Date().getTime(); } return e(this.x(), this._endPosition, 0.1) && t(this.dx(), 0.1); }; -Spring.prototype.reconfigure = function(m, t2, c) { +Spring$1.prototype.reconfigure = function(m, t2, c) { this._m = m; this._k = t2; this._c = c; @@ -2969,13 +2956,13 @@ Spring.prototype.reconfigure = function(m, t2, c) { this._startTime = new Date().getTime(); } }; -Spring.prototype.springConstant = function() { +Spring$1.prototype.springConstant = function() { return this._k; }; -Spring.prototype.damping = function() { +Spring$1.prototype.damping = function() { return this._c; }; -Spring.prototype.configuration = function() { +Spring$1.prototype.configuration = function() { function e2(e3, t3) { e3.reconfigure(1, t3, e3.damping()); } @@ -3000,9 +2987,9 @@ Spring.prototype.configuration = function() { ]; }; function STD(e2, t2, n) { - this._springX = new Spring(e2, t2, n); - this._springY = new Spring(e2, t2, n); - this._springScale = new Spring(e2, t2, n); + this._springX = new Spring$1(e2, t2, n); + this._springY = new Spring$1(e2, t2, n); + this._springScale = new Spring$1(e2, t2, n); this._startTime = 0; } STD.prototype.setEnd = function(e2, t2, n, i2) { @@ -3029,7 +3016,7 @@ STD.prototype.reconfigure = function(e2, t2, n) { this._springY.reconfigure(e2, t2, n); this._springScale.reconfigure(e2, t2, n); }; -var index_vue_vue_type_style_index_0_lang$7 = "\nuni-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}\nuni-movable-view[hidden] {\n display: none;\n}\n"; +var index_vue_vue_type_style_index_0_lang$9 = "\nuni-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}\nuni-movable-view[hidden] {\n display: none;\n}\n"; var requesting = false; function _requestAnimationFrame(e2) { if (!requesting) { @@ -3090,7 +3077,7 @@ function g(e2, t2, n) { model: e2 }; } -const _sfc_main$a = { +const _sfc_main$c = { name: "MovableView", mixins: [touchtrack], props: { @@ -3224,7 +3211,7 @@ const _sfc_main$a = { this._scale = 1; this._oldScale = 1; this._STD = new STD(1, 9 * Math.pow(this.dampingNumber, 2) / 40, this.dampingNumber); - this._friction = new Friction(1, this.frictionNumber); + this._friction = new Friction$1(1, this.frictionNumber); this._declineX = new Decline(); this._declineY = new Decline(); this.__touchInfo = { @@ -3642,14 +3629,14 @@ const _sfc_main$a = { } } }; -function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) { +function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) { const _component_v_uni_resize_sensor = resolveComponent("v-uni-resize-sensor"); return openBlock(), createBlock("uni-movable-view", _ctx.$attrs, [ createVNode(_component_v_uni_resize_sensor, {onResize: $options.setParent}, null, 8, ["onResize"]), renderSlot(_ctx.$slots, "default") ], 16); } -_sfc_main$a.render = _sfc_render$a; +_sfc_main$c.render = _sfc_render$b; var index_vue_vue_type_style_index_0_lang$8 = "\nuni-navigator {\r\n height: auto;\r\n width: auto;\r\n display: block;\r\n cursor: pointer;\n}\nuni-navigator[hidden] {\r\n display: none;\n}\n.navigator-hover {\r\n background-color: rgba(0, 0, 0, 0.1);\r\n opacity: 0.7;\n}\r\n"; const OPEN_TYPES = ["navigate", "redirect", "switchTab", "reLaunch", "navigateBack"]; const _sfc_main$b = { @@ -3720,7 +3707,7 @@ const _sfc_main$b = { } } }; -function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) { +function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) { return $props.hoverClass && $props.hoverClass !== "none" ? (openBlock(), createBlock("uni-navigator", mergeProps({ key: 0, class: [_ctx.hovering ? $props.hoverClass : ""], @@ -3737,13 +3724,13 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) { renderSlot(_ctx.$slots, "default") ], 16)); } -_sfc_main$b.render = _sfc_render$b; +_sfc_main$b.render = _sfc_render$a; const VALUES = { activeColor: "#007AFF", backgroundColor: "#EBEBEB", activeMode: "backwards" }; -const _sfc_main$c = { +const _sfc_main$a = { name: "Progress", props: { percent: { @@ -3840,11 +3827,11 @@ const _sfc_main$c = { } } }; -const _hoisted_1$4 = { +const _hoisted_1$6 = { key: 0, class: "uni-progress-info" }; -function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) { +function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createBlock("uni-progress", mergeProps({class: "uni-progress"}, _ctx.$attrs), [ createVNode("div", { style: $options.outerBarStyle, @@ -3855,12 +3842,12 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) { class: "uni-progress-inner-bar" }, null, 4) ], 4), - $props.showInfo ? (openBlock(), createBlock("p", _hoisted_1$4, toDisplayString($data.currentPercent) + "% ", 1)) : createCommentVNode("", true) + $props.showInfo ? (openBlock(), createBlock("p", _hoisted_1$6, toDisplayString($data.currentPercent) + "% ", 1)) : createCommentVNode("", true) ], 16); } -_sfc_main$c.render = _sfc_render$c; -var index_vue_vue_type_style_index_0_lang$9 = '\nuni-radio {\r\n -webkit-tap-highlight-color: transparent;\r\n display: inline-block;\r\n cursor: pointer;\n}\nuni-radio[hidden] {\r\n display: none;\n}\nuni-radio[disabled] {\r\n cursor: not-allowed;\n}\nuni-radio .uni-radio-wrapper {\r\n display: -webkit-inline-flex;\r\n display: inline-flex;\r\n -webkit-align-items: center;\r\n align-items: center;\r\n vertical-align: middle;\n}\nuni-radio .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;\n}\nuni-radio:not([disabled]) .uni-radio-input:hover {\r\n border-color: #007aff;\n}\nuni-radio .uni-radio-input.uni-radio-input-checked:before {\r\n font: normal normal normal 14px/1 "uni";\r\n content: "\\EA08";\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 -webkit-transform: translate(-50%, -48%) scale(0.73);\n}\nuni-radio .uni-radio-input.uni-radio-input-disabled {\r\n background-color: #E1E1E1;\r\n border-color: #D1D1D1;\n}\nuni-radio .uni-radio-input.uni-radio-input-disabled:before {\r\n color: #ADADAD;\n}\nuni-radio-group {\r\n display: block;\n}\r\n'; -const _sfc_main$d = { +_sfc_main$a.render = _sfc_render$9; +var index_vue_vue_type_style_index_0_lang$7 = '\nuni-radio {\r\n -webkit-tap-highlight-color: transparent;\r\n display: inline-block;\r\n cursor: pointer;\n}\nuni-radio[hidden] {\r\n display: none;\n}\nuni-radio[disabled] {\r\n cursor: not-allowed;\n}\nuni-radio .uni-radio-wrapper {\r\n display: -webkit-inline-flex;\r\n display: inline-flex;\r\n -webkit-align-items: center;\r\n align-items: center;\r\n vertical-align: middle;\n}\nuni-radio .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;\n}\nuni-radio:not([disabled]) .uni-radio-input:hover {\r\n border-color: #007aff;\n}\nuni-radio .uni-radio-input.uni-radio-input-checked:before {\r\n font: normal normal normal 14px/1 "uni";\r\n content: "\\EA08";\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 -webkit-transform: translate(-50%, -48%) scale(0.73);\n}\nuni-radio .uni-radio-input.uni-radio-input-disabled {\r\n background-color: #E1E1E1;\r\n border-color: #D1D1D1;\n}\nuni-radio .uni-radio-input.uni-radio-input-disabled:before {\r\n color: #ADADAD;\n}\nuni-radio-group {\r\n display: block;\n}\r\n'; +const _sfc_main$9 = { name: "Radio", mixins: [emitter, listeners], props: { @@ -3942,7 +3929,7 @@ const _sfc_main$d = { } }; const _hoisted_1$5 = {class: "uni-radio-wrapper"}; -function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) { +function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createBlock("uni-radio", mergeProps({disabled: $props.disabled}, _ctx.$attrs, { onClick: _cache[1] || (_cache[1] = (...args) => $options._onClick && $options._onClick(...args)) }), [ @@ -3955,9 +3942,9 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) { ]) ], 16, ["disabled"]); } -_sfc_main$d.render = _sfc_render$d; -var index_vue_vue_type_style_index_0_lang$a = "\nuni-radio-group[hidden] {\r\n display: none;\n}\r\n"; -const _sfc_main$e = { +_sfc_main$9.render = _sfc_render$8; +var index_vue_vue_type_style_index_0_lang$6 = "\nuni-radio-group[hidden] {\r\n display: none;\n}\r\n"; +const _sfc_main$8 = { name: "RadioGroup", mixins: [emitter, listeners], props: { @@ -4041,14 +4028,14 @@ const _sfc_main$e = { } } }; -function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) { +function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createBlock("uni-radio-group", _ctx.$attrs, [ renderSlot(_ctx.$slots, "default") ], 16); } -_sfc_main$e.render = _sfc_render$e; -var index_vue_vue_type_style_index_0_lang$b = "\n@keyframes once-show {\nfrom {\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"; -const _sfc_main$f = { +_sfc_main$8.render = _sfc_render$7; +var index_vue_vue_type_style_index_0_lang$5 = "\n@keyframes once-show {\nfrom {\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"; +const _sfc_main$7 = { name: "ResizeSensor", props: { initial: { @@ -4328,7 +4315,7 @@ function parseNodes(nodes, parentNode) { }); return parentNode; } -const _sfc_main$g = { +const _sfc_main$6 = { name: "RichText", props: { nodes: { @@ -4357,29 +4344,29 @@ const _sfc_main$g = { } } }; -const _hoisted_1$6 = /* @__PURE__ */ createVNode("div", null, null, -1); -function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) { +const _hoisted_1$4 = /* @__PURE__ */ createVNode("div", null, null, -1); +function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createBlock("uni-rich-text", _ctx.$attrs, [ - _hoisted_1$6 + _hoisted_1$4 ], 16); } -_sfc_main$g.render = _sfc_render$f; -function Friction$1(e2) { +_sfc_main$6.render = _sfc_render$6; +function Friction(e2) { this._drag = e2; this._dragLog = Math.log(e2); this._x = 0; this._v = 0; this._startTime = 0; } -Friction$1.prototype.set = function(e2, t2) { +Friction.prototype.set = function(e2, t2) { this._x = e2; this._v = t2; this._startTime = new Date().getTime(); }; -Friction$1.prototype.setVelocityByEnd = function(e2) { +Friction.prototype.setVelocityByEnd = function(e2) { this._v = (e2 - this._x) * this._dragLog / (Math.pow(this._drag, 100) - 1); }; -Friction$1.prototype.x = function(e2) { +Friction.prototype.x = function(e2) { if (e2 === void 0) { e2 = (new Date().getTime() - this._startTime) / 1e3; } @@ -4388,7 +4375,7 @@ Friction$1.prototype.x = function(e2) { this._dt = e2; return this._x + this._v * t2 / this._dragLog - this._v / this._dragLog; }; -Friction$1.prototype.dx = function(e2) { +Friction.prototype.dx = function(e2) { if (e2 === void 0) { e2 = (new Date().getTime() - this._startTime) / 1e3; } @@ -4397,17 +4384,17 @@ Friction$1.prototype.dx = function(e2) { this._dt = e2; return this._v * t2; }; -Friction$1.prototype.done = function() { +Friction.prototype.done = function() { return Math.abs(this.dx()) < 3; }; -Friction$1.prototype.reconfigure = function(e2) { +Friction.prototype.reconfigure = function(e2) { var t2 = this.x(); var n = this.dx(); this._drag = e2; this._dragLog = Math.log(e2); this.set(t2, n); }; -Friction$1.prototype.configuration = function() { +Friction.prototype.configuration = function() { var e2 = this; return [ { @@ -4430,7 +4417,7 @@ function o(e2, t2, n) { function a(e2, t2) { return o(e2, 0, t2); } -function Spring$1(e2, t2, n) { +function Spring(e2, t2, n) { this._m = e2; this._k = t2; this._c = n; @@ -4438,7 +4425,7 @@ function Spring$1(e2, t2, n) { this._endPosition = 0; this._startTime = 0; } -Spring$1.prototype._solve = function(e2, t2) { +Spring.prototype._solve = function(e2, t2) { var n = this._c; var i2 = this._m; var r = this._k; @@ -4513,19 +4500,19 @@ Spring$1.prototype._solve = function(e2, t2) { } }; }; -Spring$1.prototype.x = function(e2) { +Spring.prototype.x = function(e2) { if (e2 === void 0) { e2 = (new Date().getTime() - this._startTime) / 1e3; } return this._solution ? this._endPosition + this._solution.x(e2) : 0; }; -Spring$1.prototype.dx = function(e2) { +Spring.prototype.dx = function(e2) { if (e2 === void 0) { e2 = (new Date().getTime() - this._startTime) / 1e3; } return this._solution ? this._solution.dx(e2) : 0; }; -Spring$1.prototype.setEnd = function(e2, t2, n) { +Spring.prototype.setEnd = function(e2, t2, n) { if (!n) { n = new Date().getTime(); } @@ -4552,7 +4539,7 @@ Spring$1.prototype.setEnd = function(e2, t2, n) { } } }; -Spring$1.prototype.snap = function(e2) { +Spring.prototype.snap = function(e2) { this._startTime = new Date().getTime(); this._endPosition = e2; this._solution = { @@ -4564,13 +4551,13 @@ Spring$1.prototype.snap = function(e2) { } }; }; -Spring$1.prototype.done = function(e2) { +Spring.prototype.done = function(e2) { if (!e2) { e2 = new Date().getTime(); } return o(this.x(), this._endPosition, 0.4) && a(this.dx(), 0.4); }; -Spring$1.prototype.reconfigure = function(e2, t2, n) { +Spring.prototype.reconfigure = function(e2, t2, n) { this._m = e2; this._k = t2; this._c = n; @@ -4579,13 +4566,13 @@ Spring$1.prototype.reconfigure = function(e2, t2, n) { this._startTime = new Date().getTime(); } }; -Spring$1.prototype.springConstant = function() { +Spring.prototype.springConstant = function() { return this._k; }; -Spring$1.prototype.damping = function() { +Spring.prototype.damping = function() { return this._c; }; -Spring$1.prototype.configuration = function() { +Spring.prototype.configuration = function() { function e2(e3, t3) { e3.reconfigure(1, t3, e3.damping()); } @@ -4611,8 +4598,8 @@ Spring$1.prototype.configuration = function() { }; function Scroll(extent, friction, spring) { this._extent = extent; - this._friction = friction || new Friction$1(0.01); - this._spring = spring || new Spring$1(1, 90, 20); + this._friction = friction || new Friction(0.01); + this._spring = spring || new Spring(1, 90, 20); this._startTime = 0; this._springing = false; this._springOffset = 0; @@ -5035,8 +5022,8 @@ var scroller = { } } }; -var index_vue_vue_type_style_index_0_lang$c = "\nuni-scroll-view {\n display: block;\n width: 100%;\n}\nuni-scroll-view[hidden] {\n display: none;\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.uni-scroll-view-content {\n width: 100%;\n height: 100%;\n}\n.uni-scroll-view-refresher {\n position: relative;\n overflow: hidden;\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.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.uni-scroll-view-refresh__spinner {\n transform-origin: center center;\n animation: uni-scroll-view-refresh-rotate 2s linear infinite;\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@keyframes uni-scroll-view-refresh-rotate {\n0% {\n transform: rotate(0deg);\n}\n100% {\n transform: rotate(360deg);\n}\n}\n@keyframes uni-scroll-view-refresh-dash {\n0% {\n stroke-dasharray: 1, 200;\n stroke-dashoffset: 0;\n}\n50% {\n stroke-dasharray: 89, 200;\n stroke-dashoffset: -35px;\n}\n100% {\n stroke-dasharray: 89, 200;\n stroke-dashoffset: -124px;\n}\n}\n"; -const _sfc_main$h = { +var index_vue_vue_type_style_index_0_lang$4 = "\nuni-scroll-view {\n display: block;\n width: 100%;\n}\nuni-scroll-view[hidden] {\n display: none;\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.uni-scroll-view-content {\n width: 100%;\n height: 100%;\n}\n.uni-scroll-view-refresher {\n position: relative;\n overflow: hidden;\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.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.uni-scroll-view-refresh__spinner {\n transform-origin: center center;\n animation: uni-scroll-view-refresh-rotate 2s linear infinite;\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@keyframes uni-scroll-view-refresh-rotate {\n0% {\n transform: rotate(0deg);\n}\n100% {\n transform: rotate(360deg);\n}\n}\n@keyframes uni-scroll-view-refresh-dash {\n0% {\n stroke-dasharray: 1, 200;\n stroke-dashoffset: 0;\n}\n50% {\n stroke-dasharray: 89, 200;\n stroke-dashoffset: -35px;\n}\n100% {\n stroke-dasharray: 89, 200;\n stroke-dashoffset: -124px;\n}\n}\n"; +const _sfc_main$5 = { name: "ScrollView", mixins: [scroller], props: { @@ -5448,7 +5435,7 @@ const _sfc_main$h = { } } }; -const _hoisted_1$7 = { +const _hoisted_1$3 = { ref: "wrap", class: "uni-scroll-view" }; @@ -5456,13 +5443,13 @@ const _hoisted_2$2 = { ref: "content", class: "uni-scroll-view-content" }; -const _hoisted_3$1 = { +const _hoisted_3 = { key: 0, class: "uni-scroll-view-refresh" }; -const _hoisted_4$1 = {class: "uni-scroll-view-refresh-inner"}; -const _hoisted_5$1 = /* @__PURE__ */ createVNode("path", {d: "M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"}, null, -1); -const _hoisted_6$1 = /* @__PURE__ */ createVNode("path", { +const _hoisted_4 = {class: "uni-scroll-view-refresh-inner"}; +const _hoisted_5 = /* @__PURE__ */ createVNode("path", {d: "M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"}, null, -1); +const _hoisted_6 = /* @__PURE__ */ createVNode("path", { d: "M0 0h24v24H0z", fill: "none" }, null, -1); @@ -5481,9 +5468,9 @@ const _hoisted_8 = /* @__PURE__ */ createVNode("circle", { style: {color: "#2BD009"}, "stroke-width": "3" }, null, -1); -function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) { +function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createBlock("uni-scroll-view", _ctx.$attrs, [ - createVNode("div", _hoisted_1$7, [ + createVNode("div", _hoisted_1$3, [ createVNode("div", { ref: "main", style: {"overflow-x": $props.scrollX ? "auto" : "hidden", "overflow-y": $props.scrollY ? "auto" : "hidden"}, @@ -5496,8 +5483,8 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) { style: {"background-color": $props.refresherBackground, height: $data.refresherHeight + "px"}, class: "uni-scroll-view-refresher" }, [ - $props.refresherDefaultStyle !== "none" ? (openBlock(), createBlock("div", _hoisted_3$1, [ - createVNode("div", _hoisted_4$1, [ + $props.refresherDefaultStyle !== "none" ? (openBlock(), createBlock("div", _hoisted_3, [ + createVNode("div", _hoisted_4, [ $data.refreshState == "pulling" ? (openBlock(), createBlock("svg", { key: 0, style: {transform: "rotate(" + $data.refreshRotate + "deg)"}, @@ -5507,8 +5494,8 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) { height: "24", viewBox: "0 0 24 24" }, [ - _hoisted_5$1, - _hoisted_6$1 + _hoisted_5, + _hoisted_6 ], 4)) : createCommentVNode("", true), $data.refreshState == "refreshing" ? (openBlock(), createBlock("svg", _hoisted_7, [ _hoisted_8 @@ -5523,8 +5510,8 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) { ], 512) ], 16); } -_sfc_main$h.render = _sfc_render$g; -const _sfc_main$i = { +_sfc_main$5.render = _sfc_render$5; +const _sfc_main$4 = { name: "Slider", mixins: [emitter, listeners, touchtrack], props: { @@ -5687,14 +5674,14 @@ const _sfc_main$i = { } } }; -const _hoisted_1$8 = {class: "uni-slider-wrapper"}; -const _hoisted_2$3 = {class: "uni-slider-tap-area"}; -function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) { +const _hoisted_1$2 = {class: "uni-slider-wrapper"}; +const _hoisted_2$1 = {class: "uni-slider-tap-area"}; +function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createBlock("uni-slider", mergeProps({ref: "uni-slider"}, _ctx.$attrs, { onClick: _cache[1] || (_cache[1] = (...args) => $options._onClick && $options._onClick(...args)) }), [ - createVNode("div", _hoisted_1$8, [ - createVNode("div", _hoisted_2$3, [ + createVNode("div", _hoisted_1$2, [ + createVNode("div", _hoisted_2$1, [ createVNode("div", { style: $options.setBgColor, class: "uni-slider-handle-wrapper" @@ -5721,9 +5708,9 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) { renderSlot(_ctx.$slots, "default") ], 16); } -_sfc_main$i.render = _sfc_render$h; -var index_vue_vue_type_style_index_0_lang$d = "\nuni-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}\nuni-swiper-item[hidden] {\n display: none;\n}\n"; -const _sfc_main$j = { +_sfc_main$4.render = _sfc_render$4; +var index_vue_vue_type_style_index_0_lang$3 = "\nuni-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}\nuni-swiper-item[hidden] {\n display: none;\n}\n"; +const _sfc_main$3 = { name: "SwiperItem", props: { itemId: { @@ -5744,14 +5731,14 @@ const _sfc_main$j = { } } }; -function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) { +function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createBlock("uni-swiper-item", _ctx.$attrs, [ renderSlot(_ctx.$slots, "default") ], 16); } -_sfc_main$j.render = _sfc_render$i; -var index_vue_vue_type_style_index_0_lang$e = '\nuni-switch {\r\n -webkit-tap-highlight-color: transparent;\r\n display: inline-block;\r\n cursor: pointer;\n}\nuni-switch[hidden] {\r\n display: none;\n}\nuni-switch[disabled] {\r\n cursor: not-allowed;\n}\nuni-switch .uni-switch-wrapper {\r\n display: -webkit-inline-flex;\r\n display: inline-flex;\r\n -webkit-align-items: center;\r\n align-items: center;\r\n vertical-align: middle;\n}\nuni-switch .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;\n}\nuni-switch[disabled] .uni-switch-input {\r\n opacity: .7;\n}\nuni-switch .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: -webkit-transform 0.3s;\r\n transition: transform 0.3s;\r\n transition: transform 0.3s, -webkit-transform 0.3s;\n}\nuni-switch .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: -webkit-transform 0.3s;\r\n transition: transform 0.3s;\r\n transition: transform 0.3s, -webkit-transform 0.3s;\n}\nuni-switch .uni-switch-input.uni-switch-input-checked {\r\n border-color: #007aff;\r\n background-color: #007aff;\n}\nuni-switch .uni-switch-input.uni-switch-input-checked:before {\r\n -webkit-transform: scale(0);\r\n transform: scale(0);\n}\nuni-switch .uni-switch-input.uni-switch-input-checked:after {\r\n -webkit-transform: translateX(20px);\r\n transform: translateX(20px);\n}\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;\n}\nuni-switch:not([disabled]) .uni-checkbox-input:hover {\r\n border-color: #007aff;\n}\nuni-switch .uni-checkbox-input.uni-checkbox-input-checked:before {\r\n font: normal normal normal 14px/1 "uni";\r\n content: "\\EA08";\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 -webkit-transform: translate(-50%, -48%) scale(0.73);\n}\nuni-switch .uni-checkbox-input.uni-checkbox-input-disabled {\r\n background-color: #E1E1E1;\n}\nuni-switch .uni-checkbox-input.uni-checkbox-input-disabled:before {\r\n color: #ADADAD;\n}\r\n'; -const _sfc_main$k = { +_sfc_main$3.render = _sfc_render$3; +var index_vue_vue_type_style_index_0_lang$2 = '\nuni-switch {\r\n -webkit-tap-highlight-color: transparent;\r\n display: inline-block;\r\n cursor: pointer;\n}\nuni-switch[hidden] {\r\n display: none;\n}\nuni-switch[disabled] {\r\n cursor: not-allowed;\n}\nuni-switch .uni-switch-wrapper {\r\n display: -webkit-inline-flex;\r\n display: inline-flex;\r\n -webkit-align-items: center;\r\n align-items: center;\r\n vertical-align: middle;\n}\nuni-switch .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;\n}\nuni-switch[disabled] .uni-switch-input {\r\n opacity: .7;\n}\nuni-switch .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: -webkit-transform 0.3s;\r\n transition: transform 0.3s;\r\n transition: transform 0.3s, -webkit-transform 0.3s;\n}\nuni-switch .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: -webkit-transform 0.3s;\r\n transition: transform 0.3s;\r\n transition: transform 0.3s, -webkit-transform 0.3s;\n}\nuni-switch .uni-switch-input.uni-switch-input-checked {\r\n border-color: #007aff;\r\n background-color: #007aff;\n}\nuni-switch .uni-switch-input.uni-switch-input-checked:before {\r\n -webkit-transform: scale(0);\r\n transform: scale(0);\n}\nuni-switch .uni-switch-input.uni-switch-input-checked:after {\r\n -webkit-transform: translateX(20px);\r\n transform: translateX(20px);\n}\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;\n}\nuni-switch:not([disabled]) .uni-checkbox-input:hover {\r\n border-color: #007aff;\n}\nuni-switch .uni-checkbox-input.uni-checkbox-input-checked:before {\r\n font: normal normal normal 14px/1 "uni";\r\n content: "\\EA08";\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 -webkit-transform: translate(-50%, -48%) scale(0.73);\n}\nuni-switch .uni-checkbox-input.uni-checkbox-input-disabled {\r\n background-color: #E1E1E1;\n}\nuni-switch .uni-checkbox-input.uni-checkbox-input-disabled:before {\r\n color: #ADADAD;\n}\r\n'; +const _sfc_main$2 = { name: "Switch", mixins: [emitter, listeners], props: { @@ -5829,12 +5816,12 @@ const _sfc_main$k = { } } }; -const _hoisted_1$9 = {class: "uni-switch-wrapper"}; -function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) { +const _hoisted_1$1 = {class: "uni-switch-wrapper"}; +function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createBlock("uni-switch", mergeProps({disabled: $props.disabled}, _ctx.$attrs, { onClick: _cache[1] || (_cache[1] = (...args) => $options._onClick && $options._onClick(...args)) }), [ - createVNode("div", _hoisted_1$9, [ + createVNode("div", _hoisted_1$1, [ withDirectives(createVNode("div", { class: [[$data.switchChecked ? "uni-switch-input-checked" : ""], "uni-switch-input"], style: {backgroundColor: $data.switchChecked ? $props.color : "#DFDFDF", borderColor: $data.switchChecked ? $props.color : "#DFDFDF"} @@ -5850,10 +5837,10 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) { ]) ], 16, ["disabled"]); } -_sfc_main$k.render = _sfc_render$j; -var index_vue_vue_type_style_index_0_lang$f = "\nuni-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}\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}\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 -webkit-text-fill-color: currentcolor;\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"; +_sfc_main$2.render = _sfc_render$2; +var index_vue_vue_type_style_index_0_lang$1 = "\nuni-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}\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}\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 -webkit-text-fill-color: currentcolor;\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"; const DARK_TEST_STRING = "(prefers-color-scheme: dark)"; -const _sfc_main$l = { +const _sfc_main$1 = { name: "Textarea", mixins: [baseInput], props: { @@ -6074,15 +6061,15 @@ const _sfc_main$l = { } } }; -const _hoisted_1$a = {class: "uni-textarea-wrapper"}; -const _hoisted_2$4 = {class: "uni-textarea-compute"}; -function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) { +const _hoisted_1 = {class: "uni-textarea-wrapper"}; +const _hoisted_2 = {class: "uni-textarea-compute"}; +function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) { const _component_v_uni_resize_sensor = resolveComponent("v-uni-resize-sensor"); return openBlock(), createBlock("uni-textarea", mergeProps({ onChange: _cache[8] || (_cache[8] = withModifiers(() => { }, ["stop"])) }, _ctx.$attrs), [ - createVNode("div", _hoisted_1$a, [ + createVNode("div", _hoisted_1, [ withDirectives(createVNode("div", { ref: "placeholder", style: $props.placeholderStyle, @@ -6096,7 +6083,7 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) { class: "uni-textarea-line", textContent: toDisplayString(" ") }, null, 8, ["textContent"]), - createVNode("div", _hoisted_2$4, [ + createVNode("div", _hoisted_2, [ (openBlock(true), createBlock(Fragment, null, renderList($options.valueCompute, (item, index) => { return openBlock(), createBlock("div", { key: index, @@ -6128,16 +6115,16 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) { ]) ], 16); } -_sfc_main$l.render = _sfc_render$k; -var index_vue_vue_type_style_index_0_lang$g = "\nuni-view {\r\n display: block;\n}\nuni-view[hidden] {\r\n display: none;\n}\r\n"; -const _sfc_main$m = { +_sfc_main$1.render = _sfc_render$1; +var index_vue_vue_type_style_index_0_lang = "\nuni-view {\r\n display: block;\n}\nuni-view[hidden] {\r\n display: none;\n}\r\n"; +const _sfc_main = { name: "View", mixins: [hover], listeners: { "label-click": "clickHandler" } }; -function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) { +function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { return _ctx.hoverClass && _ctx.hoverClass !== "none" ? (openBlock(), createBlock("uni-view", mergeProps({ key: 0, class: [_ctx.hovering ? _ctx.hoverClass : ""], @@ -6150,5 +6137,5 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) { renderSlot(_ctx.$slots, "default") ], 16)); } -_sfc_main$m.render = _sfc_render$l; -export {_sfc_main as Audio, _sfc_main$1 as Canvas, _sfc_main$2 as Checkbox, _sfc_main$3 as CheckboxGroup, _sfc_main$4 as Editor, _sfc_main$5 as Form, _sfc_main$6 as Icon, _sfc_main$7 as Image, _sfc_main$8 as Input, _sfc_main$9 as Label, _sfc_main$a as MovableView, _sfc_main$b as Navigator, _sfc_main$c as Progress, _sfc_main$d as Radio, _sfc_main$e as RadioGroup, _sfc_main$f as ResizeSensor, _sfc_main$g as RichText, _sfc_main$h as ScrollView, _sfc_main$i as Slider, _sfc_main$j as SwiperItem, _sfc_main$k as Switch, _sfc_main$l as Textarea, _sfc_main$m as View}; +_sfc_main.render = _sfc_render; +export {_sfc_main$m as Audio, _sfc_main$l as Canvas, _sfc_main$k as Checkbox, _sfc_main$j as CheckboxGroup, _sfc_main$i as Editor, _sfc_main$h as Form, _sfc_main$g as Icon, _sfc_main$f as Image, _sfc_main$e as Input, _sfc_main$d as Label, _sfc_main$c as MovableView, _sfc_main$b as Navigator, _sfc_main$a as Progress, _sfc_main$9 as Radio, _sfc_main$8 as RadioGroup, _sfc_main$7 as ResizeSensor, _sfc_main$6 as RichText, _sfc_main$5 as ScrollView, _sfc_main$4 as Slider, _sfc_main$3 as SwiperItem, _sfc_main$2 as Switch, _sfc_main$1 as Textarea, _sfc_main as View}; diff --git a/packages/uni-h5-vue/dist/vue.runtime.esm.js b/packages/uni-h5-vue/dist/vue.runtime.esm.js index 17814c74c7ccabfbe6f0cf9e900e37d17939db96..7179fe1b32e77813d946e0544dd9bc81ff47a510 100644 --- a/packages/uni-h5-vue/dist/vue.runtime.esm.js +++ b/packages/uni-h5-vue/dist/vue.runtime.esm.js @@ -2792,17 +2792,17 @@ function injectHook(type, hook, target = currentInstance, prepend = false) { )); } } -const createHook = (lifecycle) => (hook, target = currentInstance) => +const createHook$1 = (lifecycle) => (hook, target = currentInstance) => // post-create lifecycle registrations are noops during SSR !isInSSRComponentSetup && injectHook(lifecycle, hook, target); -const onBeforeMount = createHook("bm" /* BEFORE_MOUNT */); -const onMounted = createHook("m" /* MOUNTED */); -const onBeforeUpdate = createHook("bu" /* BEFORE_UPDATE */); -const onUpdated = createHook("u" /* UPDATED */); -const onBeforeUnmount = createHook("bum" /* BEFORE_UNMOUNT */); -const onUnmounted = createHook("um" /* UNMOUNTED */); -const onRenderTriggered = createHook("rtg" /* RENDER_TRIGGERED */); -const onRenderTracked = createHook("rtc" /* RENDER_TRACKED */); +const onBeforeMount = createHook$1("bm" /* BEFORE_MOUNT */); +const onMounted = createHook$1("m" /* MOUNTED */); +const onBeforeUpdate = createHook$1("bu" /* BEFORE_UPDATE */); +const onUpdated = createHook$1("u" /* UPDATED */); +const onBeforeUnmount = createHook$1("bum" /* BEFORE_UNMOUNT */); +const onUnmounted = createHook$1("um" /* UNMOUNTED */); +const onRenderTriggered = createHook$1("rtg" /* RENDER_TRIGGERED */); +const onRenderTracked = createHook$1("rtc" /* RENDER_TRACKED */); const onErrorCaptured = (hook, target = currentInstance) => { injectHook("ec" /* ERROR_CAPTURED */, hook, target); }; @@ -9196,32 +9196,32 @@ const compile$1 = () => { }; // @ts-ignore -const createHook$1 = (lifecycle) => (hook, target) => +const createHook = (lifecycle) => (hook, target) => // post-create lifecycle registrations are noops during SSR !isInSSRComponentSetup && injectHook(lifecycle, hook, target); -const onShow = /*#__PURE__*/ createHook$1("onShow" /* ON_SHOW */); -const onHide = /*#__PURE__*/ createHook$1("onHide" /* ON_HIDE */); -const onLaunch = /*#__PURE__*/ createHook$1("onLaunch" /* ON_LAUCH */); -const onError = /*#__PURE__*/ createHook$1("onError" /* ON_ERROR */); -const onThemeChange = /*#__PURE__*/ createHook$1("onThemeChange" /* ON_THEME_CHANGE */); -const onPageNotFound = /*#__PURE__*/ createHook$1("onPageNotFound" /* ON_PAGE_NOT_FOUND */); -const onUnhandledRejection = /*#__PURE__*/ createHook$1("onUnhandledRejection" /* ON_UNHANDLE_REJECTION */); -const onLoad = /*#__PURE__*/ createHook$1("onLoad" /* ON_LOAD */); -const onReady = /*#__PURE__*/ createHook$1("onReady" /* ON_READY */); -const onUnload = /*#__PURE__*/ createHook$1("onUnload" /* ON_UNLOAD */); -const onResize = /*#__PURE__*/ createHook$1("onResize" /* ON_RESIZE */); -const onBackPress = /*#__PURE__*/ createHook$1("onBackPress" /* ON_BACK_PRESS */); -const onPageScroll = /*#__PURE__*/ createHook$1("onPageScroll" /* ON_PAGE_SCROLL */); -const onTabItemTap = /*#__PURE__*/ createHook$1("onTabItemTap" /* ON_TAB_ITEM_TAP */); -const onReachBottom = /*#__PURE__*/ createHook$1("onReachBottom" /* ON_REACH_BOTTOM */); -const onPullDownRefresh = /*#__PURE__*/ createHook$1("onPullDownRefresh" /* ON_PULL_DOWN_REFRESH */); -const onShareTimeline = /*#__PURE__*/ createHook$1("onShareTimeline" /* ON_SHARE_TIMELINE */); -const onAddToFavorites = /*#__PURE__*/ createHook$1("onAddToFavorites" /* ON_ADD_TO_FAVORITES */); -const onShareAppMessage = /*#__PURE__*/ createHook$1("onShareAppMessage" /* ON_SHARE_APP_MESSAGE */); -const onNavigationBarButtonTap = /*#__PURE__*/ createHook$1("onNavigationBarButtonTap" /* ON_NAVIGATION_BAR_BUTTON_TAP */); -const onNavigationBarSearchInputChanged = /*#__PURE__*/ createHook$1("onNavigationBarSearchInputChanged" /* ON_NAVIGATION_BAR_SEARCH_INPUT_CHANGED */); -const onNavigationBarSearchInputClicked = /*#__PURE__*/ createHook$1("onNavigationBarSearchInputClicked" /* ON_NAVIGATION_BAR_SEARCH_INPUT_CLICKED */); -const onNavigationBarSearchInputConfirmed = /*#__PURE__*/ createHook$1("onNavigationBarSearchInputConfirmed" /* ON_NAVIGATION_BAR_SEARCH_INPUT_CONFIRMED */); -const onNavigationBarSearchInputFocusChanged = /*#__PURE__*/ createHook$1("onNavigationBarSearchInputFocusChanged" /* ON_NAVIGATION_BAR_SEARCH_INPUT_FOCUS_CHANGED */); +const onShow = /*#__PURE__*/ createHook("onShow" /* ON_SHOW */); +const onHide = /*#__PURE__*/ createHook("onHide" /* ON_HIDE */); +const onLaunch = /*#__PURE__*/ createHook("onLaunch" /* ON_LAUCH */); +const onError = /*#__PURE__*/ createHook("onError" /* ON_ERROR */); +const onThemeChange = /*#__PURE__*/ createHook("onThemeChange" /* ON_THEME_CHANGE */); +const onPageNotFound = /*#__PURE__*/ createHook("onPageNotFound" /* ON_PAGE_NOT_FOUND */); +const onUnhandledRejection = /*#__PURE__*/ createHook("onUnhandledRejection" /* ON_UNHANDLE_REJECTION */); +const onLoad = /*#__PURE__*/ createHook("onLoad" /* ON_LOAD */); +const onReady = /*#__PURE__*/ createHook("onReady" /* ON_READY */); +const onUnload = /*#__PURE__*/ createHook("onUnload" /* ON_UNLOAD */); +const onResize = /*#__PURE__*/ createHook("onResize" /* ON_RESIZE */); +const onBackPress = /*#__PURE__*/ createHook("onBackPress" /* ON_BACK_PRESS */); +const onPageScroll = /*#__PURE__*/ createHook("onPageScroll" /* ON_PAGE_SCROLL */); +const onTabItemTap = /*#__PURE__*/ createHook("onTabItemTap" /* ON_TAB_ITEM_TAP */); +const onReachBottom = /*#__PURE__*/ createHook("onReachBottom" /* ON_REACH_BOTTOM */); +const onPullDownRefresh = /*#__PURE__*/ createHook("onPullDownRefresh" /* ON_PULL_DOWN_REFRESH */); +const onShareTimeline = /*#__PURE__*/ createHook("onShareTimeline" /* ON_SHARE_TIMELINE */); +const onAddToFavorites = /*#__PURE__*/ createHook("onAddToFavorites" /* ON_ADD_TO_FAVORITES */); +const onShareAppMessage = /*#__PURE__*/ createHook("onShareAppMessage" /* ON_SHARE_APP_MESSAGE */); +const onNavigationBarButtonTap = /*#__PURE__*/ createHook("onNavigationBarButtonTap" /* ON_NAVIGATION_BAR_BUTTON_TAP */); +const onNavigationBarSearchInputChanged = /*#__PURE__*/ createHook("onNavigationBarSearchInputChanged" /* ON_NAVIGATION_BAR_SEARCH_INPUT_CHANGED */); +const onNavigationBarSearchInputClicked = /*#__PURE__*/ createHook("onNavigationBarSearchInputClicked" /* ON_NAVIGATION_BAR_SEARCH_INPUT_CLICKED */); +const onNavigationBarSearchInputConfirmed = /*#__PURE__*/ createHook("onNavigationBarSearchInputConfirmed" /* ON_NAVIGATION_BAR_SEARCH_INPUT_CONFIRMED */); +const onNavigationBarSearchInputFocusChanged = /*#__PURE__*/ createHook("onNavigationBarSearchInputFocusChanged" /* ON_NAVIGATION_BAR_SEARCH_INPUT_FOCUS_CHANGED */); -export { BaseTransition, Comment, Fragment, KeepAlive, Static, Suspense, Teleport, Text, Transition, TransitionGroup, callWithAsyncErrorHandling, callWithErrorHandling, cloneVNode, compile$1 as compile, computed$1 as computed, createBlock, createCommentVNode, createHook$1 as createHook, createHydrationRenderer, createRenderer, createSSRApp, createSlots, createStaticVNode, createTextVNode, createVNode, createVueApp, customRef, defineAsyncComponent, defineComponent, defineEmit, defineProps, devtools, getCurrentInstance, getTransitionRawChildren, h, handleError, hydrate, initCustomFormatter, inject, injectHook, isInSSRComponentSetup, isProxy, isReactive, isReadonly, isRef, isRuntimeOnly, isVNode, markRaw, mergeProps, nextTick, onActivated, onAddToFavorites, onBackPress, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onError, onErrorCaptured, onHide, onLaunch, onLoad, onMounted, onNavigationBarButtonTap, onNavigationBarSearchInputChanged, onNavigationBarSearchInputClicked, onNavigationBarSearchInputConfirmed, onNavigationBarSearchInputFocusChanged, onPageNotFound, onPageScroll, onPullDownRefresh, onReachBottom, onReady, onRenderTracked, onRenderTriggered, onResize, onShareAppMessage, onShareTimeline, onShow, onTabItemTap, onThemeChange, onUnhandledRejection, onUnload, onUnmounted, onUpdated, openBlock, provide, proxyRefs, queuePostFlushCb, reactive, readonly, ref, registerRuntimeCompiler, render, renderList, renderSlot, resolveComponent, resolveDirective, resolveDynamicComponent, resolveTransitionHooks, setBlockTracking, setDevtoolsHook, setScopeId, setTransitionHooks, shallowReactive, shallowReadonly, shallowRef, ssrContextKey, ssrUtils, toHandlers, toRaw, toRef, toRefs, transformVNodeArgs, triggerRef, unref, useContext, useCssModule, useCssVars, useSSRContext, useTransitionState, vModelCheckbox, vModelDynamic, vModelRadio, vModelSelect, vModelText, vShow, version, warn, watch, watchEffect, withCtx, withDirectives, withKeys, withModifiers }; +export { BaseTransition, Comment, Fragment, KeepAlive, Static, Suspense, Teleport, Text, Transition, TransitionGroup, callWithAsyncErrorHandling, callWithErrorHandling, cloneVNode, compile$1 as compile, computed$1 as computed, createBlock, createCommentVNode, createHook, createHydrationRenderer, createRenderer, createSSRApp, createSlots, createStaticVNode, createTextVNode, createVNode, createVueApp, customRef, defineAsyncComponent, defineComponent, defineEmit, defineProps, devtools, getCurrentInstance, getTransitionRawChildren, h, handleError, hydrate, initCustomFormatter, inject, injectHook, isInSSRComponentSetup, isProxy, isReactive, isReadonly, isRef, isRuntimeOnly, isVNode, markRaw, mergeProps, nextTick, onActivated, onAddToFavorites, onBackPress, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onError, onErrorCaptured, onHide, onLaunch, onLoad, onMounted, onNavigationBarButtonTap, onNavigationBarSearchInputChanged, onNavigationBarSearchInputClicked, onNavigationBarSearchInputConfirmed, onNavigationBarSearchInputFocusChanged, onPageNotFound, onPageScroll, onPullDownRefresh, onReachBottom, onReady, onRenderTracked, onRenderTriggered, onResize, onShareAppMessage, onShareTimeline, onShow, onTabItemTap, onThemeChange, onUnhandledRejection, onUnload, onUnmounted, onUpdated, openBlock, provide, proxyRefs, queuePostFlushCb, reactive, readonly, ref, registerRuntimeCompiler, render, renderList, renderSlot, resolveComponent, resolveDirective, resolveDynamicComponent, resolveTransitionHooks, setBlockTracking, setDevtoolsHook, setScopeId, setTransitionHooks, shallowReactive, shallowReadonly, shallowRef, ssrContextKey, ssrUtils, toHandlers, toRaw, toRef, toRefs, transformVNodeArgs, triggerRef, unref, useContext, useCssModule, useCssVars, useSSRContext, useTransitionState, vModelCheckbox, vModelDynamic, vModelRadio, vModelSelect, vModelText, vShow, version, warn, watch, watchEffect, withCtx, withDirectives, withKeys, withModifiers }; diff --git a/packages/uni-h5/dist/uni-h5.esm.js b/packages/uni-h5/dist/uni-h5.esm.js index c16d0d82a048371ead8b3a6d3d4e41ba50f93f53..227b3f2475294084d5453f6c320ef0dea2d42fab 100644 --- a/packages/uni-h5/dist/uni-h5.esm.js +++ b/packages/uni-h5/dist/uni-h5.esm.js @@ -27,8 +27,8 @@ function callHook(name, args) { const hooks = this.$[name]; let ret; if (hooks) { - for (let i = 0; i < hooks.length; i++) { - ret = hooks[i](args); + for (let i2 = 0; i2 < hooks.length; i2++) { + ret = hooks[i2](args); } } return ret; @@ -89,7 +89,7 @@ function initBridge(namespace) { const ViewJSBridge = initBridge("view"); const LONGPRESS_TIMEOUT = 350; const LONGPRESS_THRESHOLD = 10; -const passiveOptions = {passive: true}; +const passiveOptions$1 = {passive: true}; let longPressTimer = 0; function clearLongPressTimer() { if (longPressTimer) { @@ -132,10 +132,10 @@ function touchmove(evt) { } } function initLongPress() { - window.addEventListener("touchstart", touchstart, passiveOptions); - window.addEventListener("touchmove", touchmove, passiveOptions); - window.addEventListener("touchend", clearLongPressTimer, passiveOptions); - window.addEventListener("touchcancel", clearLongPressTimer, passiveOptions); + window.addEventListener("touchstart", touchstart, passiveOptions$1); + window.addEventListener("touchmove", touchmove, passiveOptions$1); + window.addEventListener("touchend", clearLongPressTimer, passiveOptions$1); + window.addEventListener("touchcancel", clearLongPressTimer, passiveOptions$1); } var attrs = ["top", "left", "right", "bottom"]; var inited; @@ -278,14 +278,14 @@ function attrChange(attr2) { style[attr3] = elementComputedStyle[attr3]; }); changeAttrs.length = 0; - callbacks.forEach(function(callback) { + callbacks$1.forEach(function(callback) { callback(style); }); }, 0); } changeAttrs.push(attr2); } -var callbacks = []; +var callbacks$1 = []; function onChange(callback) { if (!getSupport()) { return; @@ -294,13 +294,13 @@ function onChange(callback) { init(); } if (typeof callback === "function") { - callbacks.push(callback); + callbacks$1.push(callback); } } function offChange(callback) { - var index2 = callbacks.indexOf(callback); + var index2 = callbacks$1.indexOf(callback); if (index2 >= 0) { - callbacks.splice(index2, 1); + callbacks$1.splice(index2, 1); } } var safeAreaInsets = { @@ -420,8 +420,8 @@ function normalizeTouchList(touches) { if (touches && touches instanceof TouchList) { const res = []; const {top} = getWindowOffset(); - for (let i = 0; i < touches.length; i++) { - const touch = touches[i]; + for (let i2 = 0; i2 < touches.length; i2++) { + const touch = touches[i2]; res.push({ identifier: touch.identifier, pageX: touch.pageX, @@ -508,8 +508,8 @@ class ComponentDescriptor { } const descriptors = []; const els = this.$el.querySelectorAll(selector); - for (let i = 0; i < els.length; i++) { - const el = els[i]; + for (let i2 = 0; i2 < els.length; i2++) { + const el = els[i2]; el.__vue__ && descriptors.push(createComponentDescriptor(el.__vue__, false)); } return descriptors; @@ -625,7 +625,7 @@ function handleWxsEvent($event) { return $origEvent.stopPropagation(); }; } -function initAppConfig(appConfig) { +function initAppConfig$1(appConfig) { const globalProperties = appConfig.globalProperties; extend(globalProperties, instance); if (__UNI_WXS_API__) { @@ -640,7 +640,7 @@ function initAppConfig(appConfig) { } function initView(app) { initLongPress(); - initAppConfig(app._context.config); + initAppConfig$1(app._context.config); } const ServiceJSBridge = initBridge("service"); function querySelector(vm, selector) { @@ -654,10 +654,10 @@ function querySelectorAll(vm, selector) { } return []; } -function createSelectorQuery() { +function createSelectorQuery$1() { return uni.createSelectorQuery().in(this); } -function createIntersectionObserver(options) { +function createIntersectionObserver$1(options) { return uni.createIntersectionObserver(this, options); } function selectComponent(selector) { @@ -669,19 +669,19 @@ function selectAllComponents(selector) { var wxInstance = /* @__PURE__ */ Object.freeze({ __proto__: null, [Symbol.toStringTag]: "Module", - createSelectorQuery, - createIntersectionObserver, + createSelectorQuery: createSelectorQuery$1, + createIntersectionObserver: createIntersectionObserver$1, selectComponent, selectAllComponents }); -function initAppConfig$1(appConfig) { +function initAppConfig(appConfig) { const globalProperties = appConfig.globalProperties; if (__UNI_WX_API__) { extend(globalProperties, wxInstance); } } function initService(app) { - initAppConfig$1(app._context.config); + initAppConfig(app._context.config); } let appVm; function getApp$1() { @@ -748,7 +748,7 @@ const afterEach = (to, from, failure) => { console.log("afterEach", to, from, failure, JSON.stringify(history.state)); }; var tabBar_vue_vue_type_style_index_0_lang = "\nuni-tabbar {\r\n display: block;\r\n box-sizing: border-box;\r\n position: fixed;\r\n left: 0;\r\n bottom: 0;\r\n width: 100%;\r\n z-index: 998;\n}\nuni-tabbar .uni-tabbar {\r\n display: flex;\r\n position: fixed;\r\n left: 0;\r\n bottom: 0;\r\n width: 100%;\r\n z-index: 998;\r\n box-sizing: border-box;\r\n padding-bottom: 0;\r\n padding-bottom: constant(safe-area-inset-bottom);\r\n padding-bottom: env(safe-area-inset-bottom);\n}\nuni-tabbar .uni-tabbar ~ .uni-placeholder {\r\n width: 100%;\r\n height: 50px;\r\n margin-bottom: 0;\r\n margin-bottom: constant(safe-area-inset-bottom);\r\n margin-bottom: env(safe-area-inset-bottom);\n}\nuni-tabbar .uni-tabbar * {\r\n box-sizing: border-box;\n}\nuni-tabbar .uni-tabbar__item {\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n flex-direction: column;\r\n flex: 1;\r\n font-size: 0;\r\n text-align: center;\r\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\nuni-tabbar .uni-tabbar__bd {\r\n position: relative;\r\n height: 50px;\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n justify-content: center;\r\n cursor: pointer;\n}\nuni-tabbar .uni-tabbar__icon {\r\n position: relative;\r\n display: inline-block;\r\n margin-top: 5px;\r\n width: 24px;\r\n height: 24px;\n}\nuni-tabbar .uni-tabbar__icon.uni-tabbar__icon__diff {\r\n margin-top: 0px;\r\n width: 34px;\r\n height: 34px;\n}\nuni-tabbar .uni-tabbar__icon img {\r\n width: 100%;\r\n height: 100%;\n}\nuni-tabbar .uni-tabbar__label {\r\n position: relative;\r\n text-align: center;\r\n font-size: 10px;\r\n line-height: 1.8;\n}\nuni-tabbar .uni-tabbar-border {\r\n position: absolute;\r\n left: 0;\r\n top: 0;\r\n width: 100%;\r\n height: 1px;\r\n transform: scaleY(0.5);\n}\nuni-tabbar .uni-tabbar__reddot {\r\n position: absolute;\r\n top: 0;\r\n right: 0;\r\n width: 12px;\r\n height: 12px;\r\n border-radius: 50%;\r\n background-color: #f43530;\r\n color: #ffffff;\r\n transform: translate(40%, -20%);\n}\nuni-tabbar .uni-tabbar__badge {\r\n width: auto;\r\n height: 16px;\r\n line-height: 16px;\r\n border-radius: 16px;\r\n min-width: 16px;\r\n padding: 0 2px;\r\n font-size: 12px;\r\n text-align: center;\r\n white-space: nowrap;\n}\r\n"; -const _sfc_main = { +const _sfc_main$x = { name: "TabBar", props: { position: { @@ -830,9 +830,9 @@ const _sfc_main = { } } }; -const _hoisted_1 = {class: "uni-tabbar__bd"}; -const _hoisted_2 = /* @__PURE__ */ createVNode("div", {class: "uni-placeholder"}, null, -1); -function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { +const _hoisted_1$h = {class: "uni-tabbar__bd"}; +const _hoisted_2$b = /* @__PURE__ */ createVNode("div", {class: "uni-placeholder"}, null, -1); +function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createBlock("uni-tabbar", null, [ createVNode("div", { style: {backgroundColor: $props.backgroundColor}, @@ -848,7 +848,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { class: "uni-tabbar__item", onClick: ($event) => $options._switchTab(item, index2) }, [ - createVNode("div", _hoisted_1, [ + createVNode("div", _hoisted_1$h, [ item.iconPath ? (openBlock(), createBlock("div", { key: 0, class: [{"uni-tabbar__icon__diff": !item.text}, "uni-tabbar__icon"] @@ -876,10 +876,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { ], 8, ["onClick"]); }), 128)) ], 4), - _hoisted_2 + _hoisted_2$b ]); } -_sfc_main.render = _sfc_render; +_sfc_main$x.render = _sfc_render$w; var Transtion = { methods: { beforeTransition() { @@ -889,7 +889,7 @@ var Transtion = { } }; var toast_vue_vue_type_style_index_0_lang = "\nuni-toast {\r\n position: fixed;\r\n top: 0;\r\n right: 0;\r\n bottom: 0;\r\n left: 0;\r\n z-index: 999;\r\n display: block;\r\n box-sizing: border-box;\r\n pointer-events: none;\n}\nuni-toast .uni-sample-toast {\r\n position: fixed;\r\n z-index: 999;\r\n top: 50%;\r\n left: 50%;\r\n transform: translate(-50%, -50%);\r\n text-align: center;\r\n max-width: 80%;\n}\nuni-toast .uni-simple-toast__text {\r\n display: inline-block;\r\n vertical-align: middle;\r\n color: #ffffff;\r\n background-color: rgba(17, 17, 17, 0.7);\r\n padding: 10px 20px;\r\n border-radius: 5px;\r\n font-size: 13px;\r\n text-align: center;\r\n max-width: 100%;\r\n word-break: break-all;\r\n white-space: normal;\n}\nuni-toast .uni-mask {\r\n pointer-events: auto;\n}\nuni-toast .uni-toast {\r\n position: fixed;\r\n z-index: 999;\r\n width: 8em;\r\n top: 50%;\r\n left: 50%;\r\n transform: translate(-50%, -50%);\r\n background: rgba(17, 17, 17, 0.7);\r\n text-align: center;\r\n border-radius: 5px;\r\n color: #ffffff;\n}\nuni-toast .uni-toast * {\r\n box-sizing: border-box;\n}\nuni-toast .uni-toast__icon {\r\n margin: 20px 0 0;\r\n width: 38px;\r\n height: 38px;\r\n vertical-align: baseline;\n}\nuni-toast .uni-icon_toast {\r\n margin: 15px 0 0;\n}\nuni-toast .uni-icon_toast.uni-icon-success-no-circle:before {\r\n color: #ffffff;\r\n font-size: 55px;\n}\nuni-toast .uni-icon_toast.uni-loading {\r\n margin: 20px 0 0;\r\n width: 38px;\r\n height: 38px;\r\n vertical-align: baseline;\n}\nuni-toast .uni-toast__content {\r\n margin: 0 0 15px;\n}\r\n"; -const _sfc_main$1 = { +const _sfc_main$w = { name: "Toast", mixins: [Transtion], props: { @@ -940,17 +940,17 @@ const _sfc_main$1 = { } } }; -const _hoisted_1$1 = { +const _hoisted_1$g = { key: 1, class: "uni-sample-toast" }; -const _hoisted_2$1 = {class: "uni-simple-toast__text"}; -const _hoisted_3 = { +const _hoisted_2$a = {class: "uni-simple-toast__text"}; +const _hoisted_3$6 = { key: 2, class: "uni-toast" }; -const _hoisted_4 = {class: "uni-toast__content"}; -function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) { +const _hoisted_4$5 = {class: "uni-toast__content"}; +function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createBlock(Transition, {name: "uni-fade"}, { default: withCtx(() => [ $props.visible ? (openBlock(), createBlock("uni-toast", { @@ -964,9 +964,9 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) { onTouchmovePassive: _cache[1] || (_cache[1] = withModifiers(() => { }, ["prevent"])) }, null, 32)) : createCommentVNode("", true), - !$props.image && !$options.iconClass ? (openBlock(), createBlock("div", _hoisted_1$1, [ - createVNode("p", _hoisted_2$1, toDisplayString($props.title), 1) - ])) : (openBlock(), createBlock("div", _hoisted_3, [ + !$props.image && !$options.iconClass ? (openBlock(), createBlock("div", _hoisted_1$g, [ + createVNode("p", _hoisted_2$a, toDisplayString($props.title), 1) + ])) : (openBlock(), createBlock("div", _hoisted_3$6, [ $props.image ? (openBlock(), createBlock("img", { key: 0, src: $props.image, @@ -975,16 +975,16 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) { key: 1, class: [$options.iconClass, "uni-icon_toast"] }, null, 2)), - createVNode("p", _hoisted_4, toDisplayString($props.title), 1) + createVNode("p", _hoisted_4$5, toDisplayString($props.title), 1) ])) ], 8, ["data-duration"])) : createCommentVNode("", true) ]), _: 1 }); } -_sfc_main$1.render = _sfc_render$1; +_sfc_main$w.render = _sfc_render$v; var modal_vue_vue_type_style_index_0_lang = '\nuni-modal {\r\n position: fixed;\r\n top: 0;\r\n right: 0;\r\n bottom: 0;\r\n left: 0;\r\n z-index: 999;\r\n display: block;\r\n box-sizing: border-box;\n}\nuni-modal .uni-modal {\r\n position: fixed;\r\n z-index: 999;\r\n width: 80%;\r\n max-width: 300px;\r\n top: 50%;\r\n left: 50%;\r\n transform: translate(-50%, -50%);\r\n background-color: #ffffff;\r\n text-align: center;\r\n border-radius: 3px;\r\n overflow: hidden;\n}\nuni-modal .uni-modal * {\r\n box-sizing: border-box;\n}\nuni-modal .uni-modal__hd {\r\n padding: 1em 1.6em 0.3em;\n}\nuni-modal .uni-modal__title {\r\n font-weight: 400;\r\n font-size: 18px;\r\n word-wrap:break-word;\r\n word-break:break-all;\r\n white-space: pre-wrap;\r\n overflow : hidden;\r\n text-overflow: ellipsis;\r\n display: -webkit-box;\r\n -webkit-line-clamp: 2;\r\n -webkit-box-orient: vertical;\n}\nuni-modal .uni-modal__bd {\r\n padding: 1.3em 1.6em 1.3em;\r\n min-height: 40px;\r\n font-size: 15px;\r\n line-height: 1.4;\r\n word-wrap: break-word;\r\n word-break: break-all;\r\n white-space: pre-wrap;\r\n color: #999999;\r\n max-height: 400px;\r\n overflow-y: auto;\n}\nuni-modal .uni-modal__ft {\r\n position: relative;\r\n line-height: 48px;\r\n font-size: 18px;\r\n display: flex;\n}\nuni-modal .uni-modal__ft:after {\r\n content: " ";\r\n position: absolute;\r\n left: 0;\r\n top: 0;\r\n right: 0;\r\n height: 1px;\r\n border-top: 1px solid #d5d5d6;\r\n color: #d5d5d6;\r\n transform-origin: 0 0;\r\n transform: scaleY(0.5);\n}\nuni-modal .uni-modal__btn {\r\n display: block;\r\n flex: 1;\r\n color: #3cc51f;\r\n text-decoration: none;\r\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\r\n position: relative;\n}\nuni-modal .uni-modal__btn:active {\r\n background-color: #eeeeee;\n}\nuni-modal .uni-modal__btn:after {\r\n content: " ";\r\n position: absolute;\r\n left: 0;\r\n top: 0;\r\n width: 1px;\r\n bottom: 0;\r\n border-left: 1px solid #d5d5d6;\r\n color: #d5d5d6;\r\n transform-origin: 0 0;\r\n transform: scaleX(0.5);\n}\nuni-modal .uni-modal__btn:first-child:after {\r\n display: none;\n}\nuni-modal .uni-modal__btn_default {\r\n color: #353535;\n}\nuni-modal .uni-modal__btn_primary {\r\n color: #007aff;\n}\r\n'; -const _sfc_main$2 = { +const _sfc_main$v = { name: "Modal", mixins: [Transtion], props: { @@ -1027,23 +1027,23 @@ const _sfc_main$2 = { } } }; -const _hoisted_1$2 = /* @__PURE__ */ createVNode("div", {class: "uni-mask"}, null, -1); -const _hoisted_2$2 = {class: "uni-modal"}; -const _hoisted_3$1 = { +const _hoisted_1$f = /* @__PURE__ */ createVNode("div", {class: "uni-mask"}, null, -1); +const _hoisted_2$9 = {class: "uni-modal"}; +const _hoisted_3$5 = { key: 0, class: "uni-modal__hd" }; -const _hoisted_4$1 = {class: "uni-modal__ft"}; -function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) { +const _hoisted_4$4 = {class: "uni-modal__ft"}; +function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createBlock(Transition, {name: "uni-fade"}, { default: withCtx(() => [ withDirectives(createVNode("uni-modal", { onTouchmovePassive: _cache[4] || (_cache[4] = withModifiers(() => { }, ["prevent"])) }, [ - _hoisted_1$2, - createVNode("div", _hoisted_2$2, [ - $props.title ? (openBlock(), createBlock("div", _hoisted_3$1, [ + _hoisted_1$f, + createVNode("div", _hoisted_2$9, [ + $props.title ? (openBlock(), createBlock("div", _hoisted_3$5, [ createVNode("strong", { class: "uni-modal__title", textContent: toDisplayString($props.title) @@ -1055,7 +1055,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) { }, ["stop"])), textContent: toDisplayString($props.content) }, null, 40, ["textContent"]), - createVNode("div", _hoisted_4$1, [ + createVNode("div", _hoisted_4$4, [ $props.showCancel ? (openBlock(), createBlock("div", { key: 0, style: {color: $props.cancelColor}, @@ -1076,9 +1076,9 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) { _: 1 }); } -_sfc_main$2.render = _sfc_render$2; +_sfc_main$v.render = _sfc_render$u; var actionSheet_vue_vue_type_style_index_0_lang = '\nuni-actionsheet {\r\n display: block;\r\n box-sizing: border-box;\n}\nuni-actionsheet .uni-actionsheet {\r\n position: fixed;\r\n left: 0;\r\n bottom: 0;\r\n transform: translate(0, 100%);\r\n backface-visibility: hidden;\r\n z-index: 999;\r\n width: 100%;\r\n background-color: #efeff4;\r\n visibility: hidden;\r\n transition: transform 0.3s, visibility 0.3s;\n}\nuni-actionsheet .uni-actionsheet.uni-actionsheet_toggle {\r\n visibility: visible;\r\n transform: translate(0, 0);\n}\nuni-actionsheet .uni-actionsheet * {\r\n box-sizing: border-box;\n}\nuni-actionsheet .uni-actionsheet__menu {\r\n background-color: #fcfcfd;\n}\nuni-actionsheet .uni-actionsheet__action {\r\n margin-top: 6px;\r\n background-color: #fcfcfd;\n}\nuni-actionsheet .uni-actionsheet__cell ,\r\n uni-actionsheet .uni-actionsheet__title {\r\n position: relative;\r\n padding: 10px 0;\r\n text-align: center;\r\n font-size: 18px;\n}\nuni-actionsheet .uni-actionsheet__cell:before {\r\n content: " ";\r\n position: absolute;\r\n left: 0;\r\n top: 0;\r\n right: 0;\r\n height: 1px;\r\n border-top: 1px solid #e5e5e5;\r\n color: #e5e5e5;\r\n transform-origin: 0 0;\r\n transform: scaleY(0.5);\n}\nuni-actionsheet .uni-actionsheet__cell:active {\r\n background-color: #ececec;\n}\nuni-actionsheet .uni-actionsheet__cell:first-child:before {\r\n display: none;\n}\r\n'; -const _sfc_main$3 = { +const _sfc_main$u = { name: "ActionSheet", props: { title: { @@ -1106,13 +1106,13 @@ const _sfc_main$3 = { } } }; -const _hoisted_1$3 = {class: "uni-actionsheet__menu"}; -const _hoisted_2$3 = { +const _hoisted_1$e = {class: "uni-actionsheet__menu"}; +const _hoisted_2$8 = { key: 0, class: "uni-actionsheet__title" }; -const _hoisted_3$2 = {class: "uni-actionsheet__action"}; -function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) { +const _hoisted_3$4 = {class: "uni-actionsheet__action"}; +function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createBlock("uni-actionsheet", { onTouchmovePassive: _cache[3] || (_cache[3] = withModifiers(() => { }, ["prevent"])) @@ -1131,8 +1131,8 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) { createVNode("div", { class: [{"uni-actionsheet_toggle": $props.visible}, "uni-actionsheet"] }, [ - createVNode("div", _hoisted_1$3, [ - $props.title ? (openBlock(), createBlock("div", _hoisted_2$3, toDisplayString($props.title), 1)) : createCommentVNode("", true), + createVNode("div", _hoisted_1$e, [ + $props.title ? (openBlock(), createBlock("div", _hoisted_2$8, toDisplayString($props.title), 1)) : createCommentVNode("", true), (openBlock(true), createBlock(Fragment, null, renderList($props.itemList, (itemTitle, index2) => { return openBlock(), createBlock("div", { key: index2, @@ -1142,7 +1142,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) { }, toDisplayString(itemTitle), 13, ["onClick"]); }), 128)) ]), - createVNode("div", _hoisted_3$2, [ + createVNode("div", _hoisted_3$4, [ createVNode("div", { style: {color: $props.itemColor}, class: "uni-actionsheet__cell", @@ -1152,14 +1152,14 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) { ], 2) ], 32); } -_sfc_main$3.render = _sfc_render$3; +_sfc_main$u.render = _sfc_render$t; var Components = { - Toast: _sfc_main$1, - Modal: _sfc_main$2, - ActionSheet: _sfc_main$3 + Toast: _sfc_main$w, + Modal: _sfc_main$v, + ActionSheet: _sfc_main$u }; var components = __assign({ - TabBar: _sfc_main + TabBar: _sfc_main$x }, Components); var ActionSheet = { data() { @@ -1257,16 +1257,16 @@ var Toast = { var mixins = [ActionSheet, Modal, Toast, Transtion]; var chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; var lookup = new Uint8Array(256); -for (var i = 0; i < chars.length; i++) { - lookup[chars.charCodeAt(i)] = i; +for (var i$1 = 0; i$1 < chars.length; i$1++) { + lookup[chars.charCodeAt(i$1)] = i$1; } function encode(arraybuffer) { - var bytes = new Uint8Array(arraybuffer), i, len = bytes.length, base64 = ""; - for (i = 0; i < len; i += 3) { - base64 += chars[bytes[i] >> 2]; - base64 += chars[(bytes[i] & 3) << 4 | bytes[i + 1] >> 4]; - base64 += chars[(bytes[i + 1] & 15) << 2 | bytes[i + 2] >> 6]; - base64 += chars[bytes[i + 2] & 63]; + var bytes = new Uint8Array(arraybuffer), i2, len = bytes.length, base64 = ""; + for (i2 = 0; i2 < len; i2 += 3) { + base64 += chars[bytes[i2] >> 2]; + base64 += chars[(bytes[i2] & 3) << 4 | bytes[i2 + 1] >> 4]; + base64 += chars[(bytes[i2 + 1] & 15) << 2 | bytes[i2 + 2] >> 6]; + base64 += chars[bytes[i2 + 2] & 63]; } if (len % 3 === 2) { base64 = base64.substring(0, base64.length - 1) + "="; @@ -1276,7 +1276,7 @@ function encode(arraybuffer) { return base64; } function decode(base64) { - var bufferLength = base64.length * 0.75, len = base64.length, i, p2 = 0, encoded1, encoded2, encoded3, encoded4; + var bufferLength = base64.length * 0.75, len = base64.length, i2, p2 = 0, encoded1, encoded2, encoded3, encoded4; if (base64[base64.length - 1] === "=") { bufferLength--; if (base64[base64.length - 2] === "=") { @@ -1284,11 +1284,11 @@ function decode(base64) { } } var arraybuffer = new ArrayBuffer(bufferLength), bytes = new Uint8Array(arraybuffer); - for (i = 0; i < len; i += 4) { - encoded1 = lookup[base64.charCodeAt(i)]; - encoded2 = lookup[base64.charCodeAt(i + 1)]; - encoded3 = lookup[base64.charCodeAt(i + 2)]; - encoded4 = lookup[base64.charCodeAt(i + 3)]; + for (i2 = 0; i2 < len; i2 += 4) { + encoded1 = lookup[base64.charCodeAt(i2)]; + encoded2 = lookup[base64.charCodeAt(i2 + 1)]; + encoded3 = lookup[base64.charCodeAt(i2 + 2)]; + encoded4 = lookup[base64.charCodeAt(i2 + 3)]; bytes[p2++] = encoded1 << 2 | encoded2 >> 4; bytes[p2++] = (encoded2 & 15) << 4 | encoded3 >> 2; bytes[p2++] = (encoded3 & 3) << 6 | encoded4 & 63; @@ -1319,11 +1319,11 @@ function validateProtocols(name, args, protocol) { if (isArray(protocol)) { const len = protocol.length; const argsLen = args.length; - for (let i = 0; i < len; i++) { - const opts = protocol[i]; + for (let i2 = 0; i2 < len; i2++) { + const opts = protocol[i2]; const data = Object.create(null); - if (argsLen > i) { - data[opts.name] = args[i]; + if (argsLen > i2) { + data[opts.name] = args[i2]; } const errMsg = validateProtocol(name, data, {[opts.name]: opts}); if (errMsg) { @@ -1346,8 +1346,8 @@ function validateProp(name, value, prop, isAbsent) { let isValid = false; const types = isArray(type) ? type : [type]; const expectedTypes = []; - for (let i = 0; i < types.length && !isValid; i++) { - const {valid, expectedType} = assertType(value, types[i]); + for (let i2 = 0; i2 < types.length && !isValid; i2++) { + const {valid, expectedType} = assertType(value, types[i2]); expectedTypes.push(expectedType || ""); isValid = valid; } @@ -1513,9 +1513,9 @@ function createAsyncApiCallback(name, args = {}, {beforeAll, beforeSuccess} = {} }); return callbackId; } -const callbacks$1 = [API_SUCCESS, API_FAIL, API_COMPLETE]; +const callbacks = [API_SUCCESS, API_FAIL, API_COMPLETE]; function hasCallback(args) { - if (isPlainObject(args) && callbacks$1.find((cb) => isFunction(args[cb]))) { + if (isPlainObject(args) && callbacks.find((cb) => isFunction(args[cb]))) { return true; } return false; @@ -1621,14 +1621,14 @@ const Upx2pxProtocol = [ ]; const EPS = 1e-4; const BASE_DEVICE_WIDTH = 750; -let isIOS = false; +let isIOS$1 = false; let deviceWidth = 0; let deviceDPR = 0; function checkDeviceWidth() { const {platform, pixelRatio: pixelRatio2, windowWidth} = __GLOBAL__.getSystemInfoSync(); deviceWidth = windowWidth; deviceDPR = pixelRatio2; - isIOS = platform === "ios"; + isIOS$1 = platform === "ios"; } const upx2px = /* @__PURE__ */ createSyncApi("upx2px", (number, newDeviceWidth) => { if (deviceWidth === 0) { @@ -1644,7 +1644,7 @@ const upx2px = /* @__PURE__ */ createSyncApi("upx2px", (number, newDeviceWidth) } result = Math.floor(result + EPS); if (result === 0) { - if (deviceDPR === 1 || !isIOS) { + if (deviceDPR === 1 || !isIOS$1) { result = 1; } else { result = 0.5; @@ -1693,9 +1693,9 @@ function mergeHook(parentVal, childVal) { } function dedupeHooks(hooks) { const res = []; - for (let i = 0; i < hooks.length; i++) { - if (res.indexOf(hooks[i]) === -1) { - res.push(hooks[i]); + for (let i2 = 0; i2 < hooks.length; i2++) { + if (res.indexOf(hooks[i2]) === -1) { + res.push(hooks[i2]); } } return res; @@ -1804,13 +1804,13 @@ class ServiceIntersectionObserver { }, this._pageId); } } -const createIntersectionObserver$1 = /* @__PURE__ */ createSyncApi("createIntersectionObserver", (context, options) => { +const createIntersectionObserver = /* @__PURE__ */ createSyncApi("createIntersectionObserver", (context, options) => { if (!context) { context = getCurrentPageVm(); } return new ServiceIntersectionObserver(context, options); }); -const createSelectorQuery$1 = () => { +const createSelectorQuery = () => { }; const CanIUseProtocol = [ { @@ -1871,7 +1871,7 @@ const makePhoneCall = /* @__PURE__ */ createAsyncApi("makePhoneCall", (option) = }, MakePhoneCallProtocol); const ua = navigator.userAgent; const isAndroid = /android/i.test(ua); -const isIOS$1 = /iphone|ipad|ipod/i.test(ua); +const isIOS = /iphone|ipad|ipod/i.test(ua); const getSystemInfoSync = /* @__PURE__ */ createSyncApi("getSystemInfoSync", () => { var screen = window.screen; var pixelRatio2 = window.devicePixelRatio; @@ -1886,7 +1886,7 @@ const getSystemInfoSync = /* @__PURE__ */ createSyncApi("getSystemInfoSync", () var osname; var osversion; var model; - if (isIOS$1) { + if (isIOS) { osname = "iOS"; const osversionFind = ua.match(/OS\s([\w_]+)\slike/); if (osversionFind) { @@ -1916,8 +1916,8 @@ const getSystemInfoSync = /* @__PURE__ */ createSyncApi("getSystemInfoSync", () /\bBrowser\b/i, /\bMobile\b/i ]; - for (let i = 0; i < infos.length; i++) { - const info = infos[i]; + for (let i2 = 0; i2 < infos.length; i2++) { + const info = infos[i2]; if (info.indexOf("Build") > 0) { model = info.split("Build")[0].trim(); break; @@ -2027,8 +2027,8 @@ var api = /* @__PURE__ */ Object.freeze({ promiseInterceptor, arrayBufferToBase64, base64ToArrayBuffer, - createIntersectionObserver: createIntersectionObserver$1, - createSelectorQuery: createSelectorQuery$1, + createIntersectionObserver, + createSelectorQuery, canIUse, makePhoneCall, getSystemInfo, @@ -2042,7 +2042,7 @@ var api = /* @__PURE__ */ Object.freeze({ switchTab, getRealPath }); -const _sfc_main$4 = { +const _sfc_main$t = { name: "App", components, mixins, @@ -2101,7 +2101,7 @@ const _sfc_main$4 = { }); } }; -function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) { +function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) { const _component_router_view = resolveComponent("router-view"); const _component_tab_bar = resolveComponent("tab-bar"); const _component_toast = resolveComponent("toast"); @@ -2129,7 +2129,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) { }), 128)) : createCommentVNode("", true) ], 2); } -_sfc_main$4.render = _sfc_render$4; +_sfc_main$t.render = _sfc_render$s; function mergeTitleNView(navigationBar, titleNView) { if (isPlainObject(titleNView)) { if (hasOwn(titleNView, "backgroundColor")) { @@ -2168,8 +2168,8 @@ function mergeTitleNView(navigationBar, titleNView) { function broadcast(componentName, eventName, ...params) { const children = this.$children; const len = children.length; - for (let i = 0; i < len; i++) { - const child = children[i]; + for (let i2 = 0; i2 < len; i2++) { + const child = children[i2]; const name = child.$options.name && child.$options.name.substr(4); if (~componentName.indexOf(name)) { child.$emit.apply(child, [eventName].concat(params)); @@ -2546,8 +2546,8 @@ try { window.addEventListener("test-passive", null, opts); } catch (e2) { } -const passiveOptions$1 = supportsPassive$1 ? {passive: true} : false; -const _sfc_main$5 = { +const passiveOptions = supportsPassive$1 ? {passive: true} : false; +const _sfc_main$s = { name: "Audio", mixins: [subscriber], props: { @@ -2666,13 +2666,13 @@ const _sfc_main$5 = { } } }; -const _hoisted_1$4 = {class: "uni-audio-default"}; -const _hoisted_2$4 = {class: "uni-audio-right"}; +const _hoisted_1$d = {class: "uni-audio-default"}; +const _hoisted_2$7 = {class: "uni-audio-right"}; const _hoisted_3$3 = {class: "uni-audio-time"}; -const _hoisted_4$2 = {class: "uni-audio-info"}; -const _hoisted_5 = {class: "uni-audio-name"}; -const _hoisted_6 = {class: "uni-audio-author"}; -function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) { +const _hoisted_4$3 = {class: "uni-audio-info"}; +const _hoisted_5$1 = {class: "uni-audio-name"}; +const _hoisted_6$1 = {class: "uni-audio-author"}; +function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createBlock("uni-audio", mergeProps({ id: $props.id, controls: !!$props.controls @@ -2682,7 +2682,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) { loop: $props.loop, style: {display: "none"} }, null, 8, ["loop"]), - createVNode("div", _hoisted_1$4, [ + createVNode("div", _hoisted_1$d, [ createVNode("div", { style: "background-image: url(" + _ctx.$getRealPath($props.poster) + ");", class: "uni-audio-left" @@ -2692,17 +2692,17 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) { onClick: _cache[1] || (_cache[1] = (...args) => $options.trigger && $options.trigger(...args)) }, null, 2) ], 4), - createVNode("div", _hoisted_2$4, [ + createVNode("div", _hoisted_2$7, [ createVNode("div", _hoisted_3$3, toDisplayString($data.currentTime), 1), - createVNode("div", _hoisted_4$2, [ - createVNode("div", _hoisted_5, toDisplayString($props.name), 1), - createVNode("div", _hoisted_6, toDisplayString($props.author), 1) + createVNode("div", _hoisted_4$3, [ + createVNode("div", _hoisted_5$1, toDisplayString($props.name), 1), + createVNode("div", _hoisted_6$1, toDisplayString($props.author), 1) ]) ]) ]) ], 16, ["id", "controls"]); } -_sfc_main$5.render = _sfc_render$5; +_sfc_main$s.render = _sfc_render$r; const pixelRatio = function() { const canvas = document.createElement("canvas"); canvas.height = canvas.width = 0; @@ -2765,8 +2765,8 @@ if (pixelRatio !== 1) { return a2 * pixelRatio; }); } else if (Array.isArray(value)) { - for (let i = 0; i < value.length; i++) { - args[value[i]] *= pixelRatio; + for (let i2 = 0; i2 < value.length; i2++) { + args[value[i2]] *= pixelRatio; } } return _super.apply(this, args); @@ -2831,7 +2831,7 @@ function wrapper(canvas) { canvas.height = canvas.offsetHeight * pixelRatio; canvas.getContext("2d").__hidpi__ = true; } -var index_vue_vue_type_style_index_0_lang = "\nuni-canvas {\r\n width: 300px;\r\n height: 150px;\r\n display: block;\r\n position: relative;\n}\nuni-canvas > canvas {\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n width: 100%;\r\n height: 100%;\n}\r\n"; +var index_vue_vue_type_style_index_0_lang$j = "\nuni-canvas {\r\n width: 300px;\r\n height: 150px;\r\n display: block;\r\n position: relative;\n}\nuni-canvas > canvas {\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n width: 100%;\r\n height: 100%;\n}\r\n"; function resolveColor(color) { color = color.slice(0); color[3] = color[3] / 255; @@ -2856,7 +2856,7 @@ function getTempCanvas(width = 0, height = 0) { tempCanvas.height = height; return tempCanvas; } -const _sfc_main$6 = { +const _sfc_main$r = { name: "Canvas", mixins: [subscriber], props: { @@ -3352,20 +3352,20 @@ const _sfc_main$6 = { } } }; -const _hoisted_1$5 = { +const _hoisted_1$c = { ref: "canvas", width: "300", height: "150" }; -const _hoisted_2$5 = {style: {position: "absolute", top: "0", left: "0", width: "100%", height: "100%", overflow: "hidden"}}; -function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) { +const _hoisted_2$6 = {style: {position: "absolute", top: "0", left: "0", width: "100%", height: "100%", overflow: "hidden"}}; +function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) { const _component_v_uni_resize_sensor = resolveComponent("v-uni-resize-sensor"); return openBlock(), createBlock("uni-canvas", mergeProps({ "canvas-id": $props.canvasId, "disable-scroll": $props.disableScroll }, toHandlers($options._listeners)), [ - createVNode("canvas", _hoisted_1$5, null, 512), - createVNode("div", _hoisted_2$5, [ + createVNode("canvas", _hoisted_1$c, null, 512), + createVNode("div", _hoisted_2$6, [ renderSlot(_ctx.$slots, "default") ]), createVNode(_component_v_uni_resize_sensor, { @@ -3374,8 +3374,8 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) { }, null, 8, ["onResize"]) ], 16, ["canvas-id", "disable-scroll"]); } -_sfc_main$6.render = _sfc_render$6; -const _sfc_main$7 = { +_sfc_main$r.render = _sfc_render$q; +const _sfc_main$q = { name: "Checkbox", mixins: [emitter, listeners], props: { @@ -3451,12 +3451,12 @@ const _sfc_main$7 = { } } }; -const _hoisted_1$6 = {class: "uni-checkbox-wrapper"}; -function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) { +const _hoisted_1$b = {class: "uni-checkbox-wrapper"}; +function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createBlock("uni-checkbox", mergeProps({disabled: $props.disabled}, _ctx.$attrs, { onClick: _cache[1] || (_cache[1] = (...args) => $options._onClick && $options._onClick(...args)) }), [ - createVNode("div", _hoisted_1$6, [ + createVNode("div", _hoisted_1$b, [ createVNode("div", { class: [[$data.checkboxChecked ? "uni-checkbox-input-checked" : ""], "uni-checkbox-input"], style: {color: $props.color} @@ -3465,9 +3465,9 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) { ]) ], 16, ["disabled"]); } -_sfc_main$7.render = _sfc_render$7; -var index_vue_vue_type_style_index_0_lang$1 = "\nuni-checkbox-group[hidden] {\r\n display: none;\n}\r\n"; -const _sfc_main$8 = { +_sfc_main$q.render = _sfc_render$p; +var index_vue_vue_type_style_index_0_lang$i = "\nuni-checkbox-group[hidden] {\r\n display: none;\n}\r\n"; +const _sfc_main$p = { name: "CheckboxGroup", mixins: [emitter, listeners], props: { @@ -3533,12 +3533,12 @@ const _sfc_main$8 = { } } }; -function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) { +function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createBlock("uni-checkbox-group", _ctx.$attrs, [ renderSlot(_ctx.$slots, "default") ], 16); } -_sfc_main$8.render = _sfc_render$8; +_sfc_main$p.render = _sfc_render$o; var startTag = /^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/; var endTag = /^<\/([-A-Za-z0-9_]+)[^>]*>/; var attr = /([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g; @@ -3648,9 +3648,9 @@ function HTMLParser(html, handler) { } } if (pos >= 0) { - for (var i = stack.length - 1; i >= pos; i--) { + for (var i2 = stack.length - 1; i2 >= pos; i2--) { if (handler.end) { - handler.end(stack[i]); + handler.end(stack[i2]); } } stack.length = pos; @@ -3660,8 +3660,8 @@ function HTMLParser(html, handler) { function makeMap(str) { var obj = {}; var items = str.split(","); - for (var i = 0; i < items.length; i++) { - obj[items[i]] = true; + for (var i2 = 0; i2 < items.length; i2++) { + obj[items[i2]] = true; } return obj; } @@ -3923,7 +3923,7 @@ function register(Quill) { } var editor_css_vue_type_style_index_0_src_lang = ".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 index_vue_vue_type_style_index_1_lang = "\n"; -const _sfc_main$9 = { +const _sfc_main$o = { name: "Editor", mixins: [subscriber, emitter, keyboard], props: { @@ -4245,15 +4245,15 @@ const _sfc_main$9 = { } } }; -function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) { +function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createBlock("uni-editor", mergeProps({ id: $props.id, class: "ql-container" }, _ctx.$attrs), null, 16, ["id"]); } -_sfc_main$9.render = _sfc_render$9; -var index_vue_vue_type_style_index_0_lang$2 = "\r\n"; -const _sfc_main$a = { +_sfc_main$o.render = _sfc_render$n; +var index_vue_vue_type_style_index_0_lang$h = "\r\n"; +const _sfc_main$n = { name: "Form", mixins: [listeners], data() { @@ -4294,16 +4294,16 @@ const _sfc_main$a = { } } }; -function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) { +function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createBlock("uni-form", _ctx.$attrs, [ createVNode("span", null, [ renderSlot(_ctx.$slots, "default") ]) ], 16); } -_sfc_main$a.render = _sfc_render$a; -var index_vue_vue_type_style_index_0_lang$3 = "\nuni-icon {\r\n display: inline-block;\r\n font-size: 0;\r\n box-sizing: border-box;\n}\nuni-icon[hidden] {\r\n display: none;\n}\nuni-icon > i {\r\n font: normal normal normal 14px/1 'weui';\n}\nuni-icon > i:before {\r\n margin: 0;\r\n box-sizing: border-box;\n}\n@font-face {\r\n font-weight: normal;\r\n font-style: normal;\r\n font-family: 'weui';\r\n src: url('data:application/octet-stream;base64,AAEAAAALAIAAAwAwR1NVQrD+s+0AAAE4AAAAQk9TLzJAKEx8AAABfAAAAFZjbWFw65cFHQAAAhwAAAJQZ2x5Zp+UEEcAAASUAAAIvGhlYWQUqc7xAAAA4AAAADZoaGVhB/YD+wAAALwAAAAkaG10eEJoAAAAAAHUAAAASGxvY2EUxhJeAAAEbAAAACZtYXhwASEAQwAAARgAAAAgbmFtZeNcHtgAAA1QAAAB5nBvc3T6OoZLAAAPOAAAAOYAAQAAA+gAAABaA+gAAAAAA7MAAQAAAAAAAAAAAAAAAAAAABIAAQAAAAEAAMCU2KdfDzz1AAsD6AAAAADY7EUUAAAAANjsRRQAAAAAA7MD5AAAAAgAAgAAAAAAAAABAAAAEgA3AAUAAAAAAAIAAAAKAAoAAAD/AAAAAAAAAAEAAAAKAB4ALAABREZMVAAIAAQAAAAAAAAAAQAAAAFsaWdhAAgAAAABAAAAAQAEAAQAAAABAAgAAQAGAAAAAQAAAAAAAQOwAZAABQAIAnoCvAAAAIwCegK8AAAB4AAxAQIAAAIABQMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUGZFZABA6gHqEQPoAAAAWgPoAAAAAAABAAAAAAAAAAAAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAA+gAAAPoAAAD6AAAAAAABQAAAAMAAAAsAAAABAAAAXQAAQAAAAAAbgADAAEAAAAsAAMACgAAAXQ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lAGQAIABiAHkAIABzAHYAZwAyAHQAdABmACAAZgByAG8AbQAgAEYAbwBuAHQAZQBsAGwAbwAgAHAAcgBvAGoAZQBjAHQALgBoAHQAdABwADoALwAvAGYAbwBuAHQAZQBsAGwAbwAuAGMAbwBtAAAAAgAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASAQIBAwEEAQUBBgEHAQgBCQEKAQsBDAENAQ4BDwEQAREBEgETAAZjaXJjbGUIZG93bmxvYWQEaW5mbwxzYWZlLXN1Y2Nlc3MJc2FmZS13YXJuB3N1Y2Nlc3MOc3VjY2Vzcy1jaXJjbGURc3VjY2Vzcy1uby1jaXJjbGUHd2FpdGluZw53YWl0aW5nLWNpcmNsZQR3YXJuC2luZm8tY2lyY2xlBmNhbmNlbAZzZWFyY2gFY2xlYXIEYmFjawZkZWxldGUAAAAA')\r\n format('truetype');\n}\n.uni-icon-success:before {\r\n content: '\\EA06';\n}\n.uni-icon-success_circle:before {\r\n content: '\\EA07';\n}\n.uni-icon-success_no_circle:before {\r\n content: '\\EA08';\n}\n.uni-icon-safe_success:before {\r\n content: '\\EA04';\n}\n.uni-icon-safe_warn:before {\r\n content: '\\EA05';\n}\n.uni-icon-info:before {\r\n content: '\\EA03';\n}\n.uni-icon-info_circle:before {\r\n content: '\\EA0C';\n}\n.uni-icon-warn:before {\r\n content: '\\EA0B';\n}\n.uni-icon-waiting:before {\r\n content: '\\EA09';\n}\n.uni-icon-waiting_circle:before {\r\n content: '\\EA0A';\n}\n.uni-icon-circle:before {\r\n content: '\\EA01';\n}\n.uni-icon-cancel:before {\r\n content: '\\EA0D';\n}\n.uni-icon-download:before {\r\n content: '\\EA02';\n}\n.uni-icon-search:before {\r\n content: '\\EA0E';\n}\n.uni-icon-clear:before {\r\n content: '\\EA0F';\n}\n.uni-icon-success {\r\n color: #007aff;\n}\n.uni-icon-success_circle {\r\n color: #007aff;\n}\n.uni-icon-success_no_circle {\r\n color: #007aff;\n}\n.uni-icon-safe_success {\r\n color: #007aff;\n}\n.uni-icon-safe_warn {\r\n color: #ffbe00;\n}\n.uni-icon-info {\r\n color: #10aeff;\n}\n.uni-icon-info_circle {\r\n color: #007aff;\n}\n.uni-icon-warn {\r\n color: #f76260;\n}\n.uni-icon-waiting {\r\n color: #10aeff;\n}\n.uni-icon-waiting_circle {\r\n color: #10aeff;\n}\n.uni-icon-circle {\r\n color: #c9c9c9;\n}\n.uni-icon-cancel {\r\n color: #f43530;\n}\n.uni-icon-download {\r\n color: #007aff;\n}\n.uni-icon-search {\r\n color: #b2b2b2;\n}\n.uni-icon-clear {\r\n color: #b2b2b2;\n}\r\n"; -const _sfc_main$b = { +_sfc_main$n.render = _sfc_render$m; +var index_vue_vue_type_style_index_0_lang$g = "\nuni-icon {\r\n display: inline-block;\r\n font-size: 0;\r\n box-sizing: border-box;\n}\nuni-icon[hidden] {\r\n display: none;\n}\nuni-icon > i {\r\n font: normal normal normal 14px/1 'weui';\n}\nuni-icon > i:before {\r\n margin: 0;\r\n box-sizing: border-box;\n}\n@font-face {\r\n font-weight: normal;\r\n font-style: normal;\r\n font-family: 'weui';\r\n src: url('data:application/octet-stream;base64,AAEAAAALAIAAAwAwR1NVQrD+s+0AAAE4AAAAQk9TLzJAKEx8AAABfAAAAFZjbWFw65cFHQAAAhwAAAJQZ2x5Zp+UEEcAAASUAAAIvGhlYWQUqc7xAAAA4AAAADZoaGVhB/YD+wAAALwAAAAkaG10eEJoAAAAAAHUAAAASGxvY2EUxhJeAAAEbAAAACZtYXhwASEAQwAAARgAAAAgbmFtZeNcHtgAAA1QAAAB5nBvc3T6OoZLAAAPOAAAAOYAAQAAA+gAAABaA+gAAAAAA7MAAQAAAAAAAAAAAAAAAAAAABIAAQAAAAEAAMCU2KdfDzz1AAsD6AAAAADY7EUUAAAAANjsRRQAAAAAA7MD5AAAAAgAAgAAAAAAAAABAAAAEgA3AAUAAAAAAAIAAAAKAAoAAAD/AAAAAAAAAAEAAAAKAB4ALAABREZMVAAIAAQAAA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BoAAMAAQQJAAMACAB2AAMAAQQJAAQACAB+AAMAAQQJAAUAFgCGAAMAAQQJAAYACACcAAMAAQQJAAoAVgCkAAMAAQQJAAsAJgD6d2V1aVJlZ3VsYXJ3ZXVpd2V1aVZlcnNpb24gMS4wd2V1aUdlbmVyYXRlZCBieSBzdmcydHRmIGZyb20gRm9udGVsbG8gcHJvamVjdC5odHRwOi8vZm9udGVsbG8uY29tAHcAZQB1AGkAUgBlAGcAdQBsAGEAcgB3AGUAdQBpAHcAZQB1AGkAVgBlAHIAcwBpAG8AbgAgADEALgAwAHcAZQB1AGkARwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABzAHYAZwAyAHQAdABmACAAZgByAG8AbQAgAEYAbwBuAHQAZQBsAGwAbwAgAHAAcgBvAGoAZQBjAHQALgBoAHQAdABwADoALwAvAGYAbwBuAHQAZQBsAGwAbwAuAGMAbwBtAAAAAgAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASAQIBAwEEAQUBBgEHAQgBCQEKAQsBDAENAQ4BDwEQAREBEgETAAZjaXJjbGUIZG93bmxvYWQEaW5mbwxzYWZlLXN1Y2Nlc3MJc2FmZS13YXJuB3N1Y2Nlc3MOc3VjY2Vzcy1jaXJjbGURc3VjY2Vzcy1uby1jaXJjbGUHd2FpdGluZw53YWl0aW5nLWNpcmNsZQR3YXJuC2luZm8tY2lyY2xlBmNhbmNlbAZzZWFyY2gFY2xlYXIEYmFjawZkZWxldGUAAAAA')\r\n format('truetype');\n}\n.uni-icon-success:before {\r\n content: '\\EA06';\n}\n.uni-icon-success_circle:before {\r\n content: '\\EA07';\n}\n.uni-icon-success_no_circle:before {\r\n content: '\\EA08';\n}\n.uni-icon-safe_success:before {\r\n content: '\\EA04';\n}\n.uni-icon-safe_warn:before {\r\n content: '\\EA05';\n}\n.uni-icon-info:before {\r\n content: '\\EA03';\n}\n.uni-icon-info_circle:before {\r\n content: '\\EA0C';\n}\n.uni-icon-warn:before {\r\n content: '\\EA0B';\n}\n.uni-icon-waiting:before {\r\n content: '\\EA09';\n}\n.uni-icon-waiting_circle:before {\r\n content: '\\EA0A';\n}\n.uni-icon-circle:before {\r\n content: '\\EA01';\n}\n.uni-icon-cancel:before {\r\n content: '\\EA0D';\n}\n.uni-icon-download:before {\r\n content: '\\EA02';\n}\n.uni-icon-search:before {\r\n content: '\\EA0E';\n}\n.uni-icon-clear:before {\r\n content: '\\EA0F';\n}\n.uni-icon-success {\r\n color: #007aff;\n}\n.uni-icon-success_circle {\r\n color: #007aff;\n}\n.uni-icon-success_no_circle {\r\n color: #007aff;\n}\n.uni-icon-safe_success {\r\n color: #007aff;\n}\n.uni-icon-safe_warn {\r\n color: #ffbe00;\n}\n.uni-icon-info {\r\n color: #10aeff;\n}\n.uni-icon-info_circle {\r\n color: #007aff;\n}\n.uni-icon-warn {\r\n color: #f76260;\n}\n.uni-icon-waiting {\r\n color: #10aeff;\n}\n.uni-icon-waiting_circle {\r\n color: #10aeff;\n}\n.uni-icon-circle {\r\n color: #c9c9c9;\n}\n.uni-icon-cancel {\r\n color: #f43530;\n}\n.uni-icon-download {\r\n color: #007aff;\n}\n.uni-icon-search {\r\n color: #b2b2b2;\n}\n.uni-icon-clear {\r\n color: #b2b2b2;\n}\r\n"; +const _sfc_main$m = { name: "Icon", props: { type: { @@ -4333,7 +4333,7 @@ const _sfc_main$b = { } } }; -function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) { +function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createBlock("uni-icon", _ctx.$attrs, [ createVNode("i", { class: `uni-icon-${$props.type}`, @@ -4342,9 +4342,9 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) { }, null, 6) ], 16); } -_sfc_main$b.render = _sfc_render$b; -var index_vue_vue_type_style_index_0_lang$4 = "\nuni-image {\r\n width: 320px;\r\n height: 240px;\r\n display: inline-block;\r\n overflow: hidden;\r\n position: relative;\n}\nuni-image[hidden] {\r\n display: none;\n}\nuni-image>div {\r\n width: 100%;\r\n height: 100%;\n}\nuni-image>img {\r\n -webkit-touch-callout: none;\r\n -webkit-user-select: none;\r\n -moz-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;\n}\nuni-image>.uni-image-will-change {\r\n will-change: transform;\n}\r\n"; -const _sfc_main$c = { +_sfc_main$m.render = _sfc_render$l; +var index_vue_vue_type_style_index_0_lang$f = "\nuni-image {\r\n width: 320px;\r\n height: 240px;\r\n display: inline-block;\r\n overflow: hidden;\r\n position: relative;\n}\nuni-image[hidden] {\r\n display: none;\n}\nuni-image>div {\r\n width: 100%;\r\n height: 100%;\n}\nuni-image>img {\r\n -webkit-touch-callout: none;\r\n -webkit-user-select: none;\r\n -moz-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;\n}\nuni-image>.uni-image-will-change {\r\n will-change: transform;\n}\r\n"; +const _sfc_main$l = { name: "Image", props: { src: { @@ -4495,7 +4495,7 @@ const _sfc_main$c = { } } }; -function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) { +function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) { const _component_v_uni_resize_sensor = resolveComponent("v-uni-resize-sensor"); return openBlock(), createBlock("uni-image", _ctx.$attrs, [ createVNode("div", { @@ -4510,11 +4510,11 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) { }, null, 8, ["onResize"])) : createCommentVNode("", true) ], 16); } -_sfc_main$c.render = _sfc_render$c; -var index_vue_vue_type_style_index_0_lang$5 = '\nuni-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;\n}\nuni-input[hidden] {\r\n display: none;\n}\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;\n}\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;\n}\n.uni-input-placeholder,\r\n.uni-input-input {\r\n width: 100%;\n}\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;\n}\n.uni-input-input {\r\n display: block;\r\n height: 100%;\r\n background: none;\r\n color: inherit;\r\n opacity: 1;\r\n -webkit-text-fill-color: currentcolor;\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;\n}\n.uni-input-input[type="search"]::-webkit-search-cancel-button {\r\n display: none;\n}\n.uni-input-input::-webkit-outer-spin-button,\r\n.uni-input-input::-webkit-inner-spin-button {\r\n -webkit-appearance: none;\r\n margin: 0;\n}\n.uni-input-input[type="number"] {\r\n -moz-appearance: textfield;\n}\r\n'; +_sfc_main$l.render = _sfc_render$k; +var index_vue_vue_type_style_index_0_lang$e = '\nuni-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;\n}\nuni-input[hidden] {\r\n display: none;\n}\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;\n}\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;\n}\n.uni-input-placeholder,\r\n.uni-input-input {\r\n width: 100%;\n}\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;\n}\n.uni-input-input {\r\n display: block;\r\n height: 100%;\r\n background: none;\r\n color: inherit;\r\n opacity: 1;\r\n -webkit-text-fill-color: currentcolor;\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;\n}\n.uni-input-input[type="search"]::-webkit-search-cancel-button {\r\n display: none;\n}\n.uni-input-input::-webkit-outer-spin-button,\r\n.uni-input-input::-webkit-inner-spin-button {\r\n -webkit-appearance: none;\r\n margin: 0;\n}\n.uni-input-input[type="number"] {\r\n -moz-appearance: textfield;\n}\r\n'; const INPUT_TYPES = ["text", "number", "idcard", "digit", "password"]; const NUMBER_TYPES = ["number", "digit"]; -const _sfc_main$d = { +const _sfc_main$k = { name: "Input", mixins: [baseInput], props: { @@ -4692,16 +4692,16 @@ const _sfc_main$d = { } } }; -const _hoisted_1$7 = { +const _hoisted_1$a = { ref: "wrapper", class: "uni-input-wrapper" }; -function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) { +function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createBlock("uni-input", mergeProps({ onChange: _cache[8] || (_cache[8] = withModifiers(() => { }, ["stop"])) }, _ctx.$attrs), [ - createVNode("div", _hoisted_1$7, [ + createVNode("div", _hoisted_1$a, [ withDirectives(createVNode("div", { ref: "placeholder", style: $props.placeholderStyle, @@ -4732,9 +4732,9 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) { ], 512) ], 16); } -_sfc_main$d.render = _sfc_render$d; -var index_vue_vue_type_style_index_0_lang$6 = "\n.uni-label-pointer {\r\n cursor: pointer;\n}\r\n"; -const _sfc_main$e = { +_sfc_main$k.render = _sfc_render$j; +var index_vue_vue_type_style_index_0_lang$d = "\n.uni-label-pointer {\r\n cursor: pointer;\n}\r\n"; +const _sfc_main$j = { name: "Label", mixins: [emitter], props: { @@ -4765,7 +4765,7 @@ const _sfc_main$e = { } } }; -function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) { +function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createBlock("uni-label", mergeProps({ class: {"uni-label-pointer": $options.pointer} }, _ctx.$attrs, { @@ -4774,7 +4774,7 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) { renderSlot(_ctx.$slots, "default") ], 16); } -_sfc_main$e.render = _sfc_render$e; +_sfc_main$j.render = _sfc_render$i; const addListenerToElement = function(element, type, callback, capture) { element.addEventListener(type, ($event) => { if (typeof callback === "function") { @@ -4896,13 +4896,13 @@ function Decline() { Decline.prototype.x = function(e2) { return Math.sqrt(e2); }; -function Friction(e2, t2) { +function Friction$1(e2, t2) { this._m = e2; this._f = 1e3 * t2; this._startTime = 0; this._v = 0; } -Friction.prototype.setV = function(x, y) { +Friction$1.prototype.setV = function(x, y) { var n = Math.pow(Math.pow(x, 2) + Math.pow(y, 2), 0.5); this._x_v = x; this._y_v = y; @@ -4912,11 +4912,11 @@ Friction.prototype.setV = function(x, y) { this._lastDt = null; this._startTime = new Date().getTime(); }; -Friction.prototype.setS = function(x, y) { +Friction$1.prototype.setS = function(x, y) { this._x_s = x; this._y_s = y; }; -Friction.prototype.s = function(t2) { +Friction$1.prototype.s = function(t2) { if (t2 === void 0) { t2 = (new Date().getTime() - this._startTime) / 1e3; } @@ -4937,7 +4937,7 @@ Friction.prototype.s = function(t2) { y }; }; -Friction.prototype.ds = function(t2) { +Friction$1.prototype.ds = function(t2) { if (t2 === void 0) { t2 = (new Date().getTime() - this._startTime) / 1e3; } @@ -4949,29 +4949,29 @@ Friction.prototype.ds = function(t2) { dy: this._y_v + this._y_a * t2 }; }; -Friction.prototype.delta = function() { +Friction$1.prototype.delta = function() { return { x: -1.5 * Math.pow(this._x_v, 2) / this._x_a || 0, y: -1.5 * Math.pow(this._y_v, 2) / this._y_a || 0 }; }; -Friction.prototype.dt = function() { +Friction$1.prototype.dt = function() { return -this._x_v / this._x_a; }; -Friction.prototype.done = function() { +Friction$1.prototype.done = function() { var t2 = e(this.s().x, this._endPositionX) || e(this.s().y, this._endPositionY) || this._lastDt === this._t; this._lastDt = null; return t2; }; -Friction.prototype.setEnd = function(x, y) { +Friction$1.prototype.setEnd = function(x, y) { this._endPositionX = x; this._endPositionY = y; }; -Friction.prototype.reconfigure = function(m, f2) { +Friction$1.prototype.reconfigure = function(m, f2) { this._m = m; this._f = 1e3 * f2; }; -function Spring(m, k, c) { +function Spring$1(m, k, c) { this._m = m; this._k = k; this._c = c; @@ -4979,13 +4979,13 @@ function Spring(m, k, c) { this._endPosition = 0; this._startTime = 0; } -Spring.prototype._solve = function(e2, t2) { +Spring$1.prototype._solve = function(e2, t2) { var n = this._c; - var i = this._m; + var i2 = this._m; var r = this._k; - var o2 = n * n - 4 * i * r; + var o2 = n * n - 4 * i2 * r; if (o2 === 0) { - const a2 = -n / (2 * i); + const a2 = -n / (2 * i2); const s = e2; const l = t2 / (a2 * e2); return { @@ -4999,8 +4999,8 @@ Spring.prototype._solve = function(e2, t2) { }; } if (o2 > 0) { - const c = (-n - Math.sqrt(o2)) / (2 * i); - const u = (-n + Math.sqrt(o2)) / (2 * i); + const c = (-n - Math.sqrt(o2)) / (2 * i2); + const u = (-n + Math.sqrt(o2)) / (2 * i2); const d = (t2 - c * e2) / (u - c); const h = e2 - d; return { @@ -5038,8 +5038,8 @@ Spring.prototype._solve = function(e2, t2) { } }; } - var p2 = Math.sqrt(4 * i * r - n * n) / (2 * i); - var f2 = -n / 2 * i; + var p2 = Math.sqrt(4 * i2 * r - n * n) / (2 * i2); + var f2 = -n / 2 * i2; var v2 = e2; var g2 = (t2 - f2 * e2) / p2; return { @@ -5049,35 +5049,35 @@ Spring.prototype._solve = function(e2, t2) { dx: function(e3) { var t3 = Math.pow(Math.E, f2 * e3); var n2 = Math.cos(p2 * e3); - var i2 = Math.sin(p2 * e3); - return t3 * (g2 * p2 * n2 - v2 * p2 * i2) + f2 * t3 * (g2 * i2 + v2 * n2); + var i3 = Math.sin(p2 * e3); + return t3 * (g2 * p2 * n2 - v2 * p2 * i3) + f2 * t3 * (g2 * i3 + v2 * n2); } }; }; -Spring.prototype.x = function(e2) { +Spring$1.prototype.x = function(e2) { if (e2 === void 0) { e2 = (new Date().getTime() - this._startTime) / 1e3; } return this._solution ? this._endPosition + this._solution.x(e2) : 0; }; -Spring.prototype.dx = function(e2) { +Spring$1.prototype.dx = function(e2) { if (e2 === void 0) { e2 = (new Date().getTime() - this._startTime) / 1e3; } return this._solution ? this._solution.dx(e2) : 0; }; -Spring.prototype.setEnd = function(e2, n, i) { - if (!i) { - i = new Date().getTime(); +Spring$1.prototype.setEnd = function(e2, n, i2) { + if (!i2) { + i2 = new Date().getTime(); } if (e2 !== this._endPosition || !t(n, 0.1)) { n = n || 0; var r = this._endPosition; if (this._solution) { if (t(n, 0.1)) { - n = this._solution.dx((i - this._startTime) / 1e3); + n = this._solution.dx((i2 - this._startTime) / 1e3); } - r = this._solution.x((i - this._startTime) / 1e3); + r = this._solution.x((i2 - this._startTime) / 1e3); if (t(n, 0.1)) { n = 0; } @@ -5089,11 +5089,11 @@ Spring.prototype.setEnd = function(e2, n, i) { if (!(this._solution && t(r - e2, 0.1) && t(n, 0.1))) { this._endPosition = e2; this._solution = this._solve(r - this._endPosition, n); - this._startTime = i; + this._startTime = i2; } } }; -Spring.prototype.snap = function(e2) { +Spring$1.prototype.snap = function(e2) { this._startTime = new Date().getTime(); this._endPosition = e2; this._solution = { @@ -5105,13 +5105,13 @@ Spring.prototype.snap = function(e2) { } }; }; -Spring.prototype.done = function(n) { +Spring$1.prototype.done = function(n) { if (!n) { n = new Date().getTime(); } return e(this.x(), this._endPosition, 0.1) && t(this.dx(), 0.1); }; -Spring.prototype.reconfigure = function(m, t2, c) { +Spring$1.prototype.reconfigure = function(m, t2, c) { this._m = m; this._k = t2; this._c = c; @@ -5120,13 +5120,13 @@ Spring.prototype.reconfigure = function(m, t2, c) { this._startTime = new Date().getTime(); } }; -Spring.prototype.springConstant = function() { +Spring$1.prototype.springConstant = function() { return this._k; }; -Spring.prototype.damping = function() { +Spring$1.prototype.damping = function() { return this._c; }; -Spring.prototype.configuration = function() { +Spring$1.prototype.configuration = function() { function e2(e3, t3) { e3.reconfigure(1, t3, e3.damping()); } @@ -5151,16 +5151,16 @@ Spring.prototype.configuration = function() { ]; }; function STD(e2, t2, n) { - this._springX = new Spring(e2, t2, n); - this._springY = new Spring(e2, t2, n); - this._springScale = new Spring(e2, t2, n); + this._springX = new Spring$1(e2, t2, n); + this._springY = new Spring$1(e2, t2, n); + this._springScale = new Spring$1(e2, t2, n); this._startTime = 0; } -STD.prototype.setEnd = function(e2, t2, n, i) { +STD.prototype.setEnd = function(e2, t2, n, i2) { var r = new Date().getTime(); - this._springX.setEnd(e2, i, r); - this._springY.setEnd(t2, i, r); - this._springScale.setEnd(n, i, r); + this._springX.setEnd(e2, i2, r); + this._springY.setEnd(t2, i2, r); + this._springScale.setEnd(n, i2, r); this._startTime = r; }; STD.prototype.x = function() { @@ -5180,7 +5180,7 @@ STD.prototype.reconfigure = function(e2, t2, n) { this._springY.reconfigure(e2, t2, n); this._springScale.reconfigure(e2, t2, n); }; -var index_vue_vue_type_style_index_0_lang$7 = "\nuni-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}\nuni-movable-view[hidden] {\n display: none;\n}\n"; +var index_vue_vue_type_style_index_0_lang$c = "\nuni-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}\nuni-movable-view[hidden] {\n display: none;\n}\n"; var requesting = false; function _requestAnimationFrame(e2) { if (!requesting) { @@ -5195,21 +5195,21 @@ function p(t2, n) { if (t2 === n) { return 0; } - var i = t2.offsetLeft; - return t2.offsetParent ? i += p(t2.offsetParent, n) : 0; + var i2 = t2.offsetLeft; + return t2.offsetParent ? i2 += p(t2.offsetParent, n) : 0; } function f(t2, n) { if (t2 === n) { return 0; } - var i = t2.offsetTop; - return t2.offsetParent ? i += f(t2.offsetParent, n) : 0; + var i2 = t2.offsetTop; + return t2.offsetParent ? i2 += f(t2.offsetParent, n) : 0; } function v(a2, b) { return +((1e3 * a2 - 1e3 * b) / 1e3).toFixed(1); } function g(e2, t2, n) { - var i = function(e3) { + var i2 = function(e3) { if (e3 && e3.id) { cancelAnimationFrame(e3.id); } @@ -5221,27 +5221,27 @@ function g(e2, t2, n) { id: 0, cancelled: false }; - function fn(n2, i2, r2, o2) { + function fn(n2, i3, r2, o2) { if (!n2 || !n2.cancelled) { - r2(i2); + r2(i3); var a2 = e2.done(); if (!a2) { if (!n2.cancelled) { - n2.id = requestAnimationFrame(fn.bind(null, n2, i2, r2, o2)); + n2.id = requestAnimationFrame(fn.bind(null, n2, i3, r2, o2)); } } if (a2 && o2) { - o2(i2); + o2(i3); } } } fn(r, e2, t2, n); return { - cancel: i.bind(null, r), + cancel: i2.bind(null, r), model: e2 }; } -const _sfc_main$f = { +const _sfc_main$i = { name: "MovableView", mixins: [touchtrack], props: { @@ -5375,7 +5375,7 @@ const _sfc_main$f = { this._scale = 1; this._oldScale = 1; this._STD = new STD(1, 9 * Math.pow(this.dampingNumber, 2) / 40, this.dampingNumber); - this._friction = new Friction(1, this.frictionNumber); + this._friction = new Friction$1(1, this.frictionNumber); this._declineX = new Decline(); this._declineY = new Decline(); this.__touchInfo = { @@ -5793,17 +5793,17 @@ const _sfc_main$f = { } } }; -function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) { +function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) { const _component_v_uni_resize_sensor = resolveComponent("v-uni-resize-sensor"); return openBlock(), createBlock("uni-movable-view", _ctx.$attrs, [ createVNode(_component_v_uni_resize_sensor, {onResize: $options.setParent}, null, 8, ["onResize"]), renderSlot(_ctx.$slots, "default") ], 16); } -_sfc_main$f.render = _sfc_render$f; -var index_vue_vue_type_style_index_0_lang$8 = "\nuni-navigator {\r\n height: auto;\r\n width: auto;\r\n display: block;\r\n cursor: pointer;\n}\nuni-navigator[hidden] {\r\n display: none;\n}\n.navigator-hover {\r\n background-color: rgba(0, 0, 0, 0.1);\r\n opacity: 0.7;\n}\r\n"; +_sfc_main$i.render = _sfc_render$h; +var index_vue_vue_type_style_index_0_lang$b = "\nuni-navigator {\r\n height: auto;\r\n width: auto;\r\n display: block;\r\n cursor: pointer;\n}\nuni-navigator[hidden] {\r\n display: none;\n}\n.navigator-hover {\r\n background-color: rgba(0, 0, 0, 0.1);\r\n opacity: 0.7;\n}\r\n"; const OPEN_TYPES = ["navigate", "redirect", "switchTab", "reLaunch", "navigateBack"]; -const _sfc_main$g = { +const _sfc_main$h = { name: "Navigator", mixins: [hover], props: { @@ -5888,13 +5888,13 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) { renderSlot(_ctx.$slots, "default") ], 16)); } -_sfc_main$g.render = _sfc_render$g; +_sfc_main$h.render = _sfc_render$g; const VALUES = { activeColor: "#007AFF", backgroundColor: "#EBEBEB", activeMode: "backwards" }; -const _sfc_main$h = { +const _sfc_main$g = { name: "Progress", props: { percent: { @@ -5991,11 +5991,11 @@ const _sfc_main$h = { } } }; -const _hoisted_1$8 = { +const _hoisted_1$9 = { key: 0, class: "uni-progress-info" }; -function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) { +function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createBlock("uni-progress", mergeProps({class: "uni-progress"}, _ctx.$attrs), [ createVNode("div", { style: $options.outerBarStyle, @@ -6006,12 +6006,12 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) { class: "uni-progress-inner-bar" }, null, 4) ], 4), - $props.showInfo ? (openBlock(), createBlock("p", _hoisted_1$8, toDisplayString($data.currentPercent) + "% ", 1)) : createCommentVNode("", true) + $props.showInfo ? (openBlock(), createBlock("p", _hoisted_1$9, toDisplayString($data.currentPercent) + "% ", 1)) : createCommentVNode("", true) ], 16); } -_sfc_main$h.render = _sfc_render$h; -var index_vue_vue_type_style_index_0_lang$9 = '\nuni-radio {\r\n -webkit-tap-highlight-color: transparent;\r\n display: inline-block;\r\n cursor: pointer;\n}\nuni-radio[hidden] {\r\n display: none;\n}\nuni-radio[disabled] {\r\n cursor: not-allowed;\n}\nuni-radio .uni-radio-wrapper {\r\n display: -webkit-inline-flex;\r\n display: inline-flex;\r\n -webkit-align-items: center;\r\n align-items: center;\r\n vertical-align: middle;\n}\nuni-radio .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;\n}\nuni-radio:not([disabled]) .uni-radio-input:hover {\r\n border-color: #007aff;\n}\nuni-radio .uni-radio-input.uni-radio-input-checked:before {\r\n font: normal normal normal 14px/1 "uni";\r\n content: "\\EA08";\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 -webkit-transform: translate(-50%, -48%) scale(0.73);\n}\nuni-radio .uni-radio-input.uni-radio-input-disabled {\r\n background-color: #E1E1E1;\r\n border-color: #D1D1D1;\n}\nuni-radio .uni-radio-input.uni-radio-input-disabled:before {\r\n color: #ADADAD;\n}\nuni-radio-group {\r\n display: block;\n}\r\n'; -const _sfc_main$i = { +_sfc_main$g.render = _sfc_render$f; +var index_vue_vue_type_style_index_0_lang$a = '\nuni-radio {\r\n -webkit-tap-highlight-color: transparent;\r\n display: inline-block;\r\n cursor: pointer;\n}\nuni-radio[hidden] {\r\n display: none;\n}\nuni-radio[disabled] {\r\n cursor: not-allowed;\n}\nuni-radio .uni-radio-wrapper {\r\n display: -webkit-inline-flex;\r\n display: inline-flex;\r\n -webkit-align-items: center;\r\n align-items: center;\r\n vertical-align: middle;\n}\nuni-radio .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;\n}\nuni-radio:not([disabled]) .uni-radio-input:hover {\r\n border-color: #007aff;\n}\nuni-radio .uni-radio-input.uni-radio-input-checked:before {\r\n font: normal normal normal 14px/1 "uni";\r\n content: "\\EA08";\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 -webkit-transform: translate(-50%, -48%) scale(0.73);\n}\nuni-radio .uni-radio-input.uni-radio-input-disabled {\r\n background-color: #E1E1E1;\r\n border-color: #D1D1D1;\n}\nuni-radio .uni-radio-input.uni-radio-input-disabled:before {\r\n color: #ADADAD;\n}\nuni-radio-group {\r\n display: block;\n}\r\n'; +const _sfc_main$f = { name: "Radio", mixins: [emitter, listeners], props: { @@ -6092,12 +6092,12 @@ const _sfc_main$i = { } } }; -const _hoisted_1$9 = {class: "uni-radio-wrapper"}; -function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) { +const _hoisted_1$8 = {class: "uni-radio-wrapper"}; +function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createBlock("uni-radio", mergeProps({disabled: $props.disabled}, _ctx.$attrs, { onClick: _cache[1] || (_cache[1] = (...args) => $options._onClick && $options._onClick(...args)) }), [ - createVNode("div", _hoisted_1$9, [ + createVNode("div", _hoisted_1$8, [ createVNode("div", { class: [$data.radioChecked ? "uni-radio-input-checked" : "", "uni-radio-input"], style: $data.radioChecked ? $options.checkedStyle : "" @@ -6106,9 +6106,9 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) { ]) ], 16, ["disabled"]); } -_sfc_main$i.render = _sfc_render$i; -var index_vue_vue_type_style_index_0_lang$a = "\nuni-radio-group[hidden] {\r\n display: none;\n}\r\n"; -const _sfc_main$j = { +_sfc_main$f.render = _sfc_render$e; +var index_vue_vue_type_style_index_0_lang$9 = "\nuni-radio-group[hidden] {\r\n display: none;\n}\r\n"; +const _sfc_main$e = { name: "RadioGroup", mixins: [emitter, listeners], props: { @@ -6165,11 +6165,11 @@ const _sfc_main$j = { if (change) { this.radioList[index2].radioChecked = false; } else { - this.radioList.forEach((v2, i) => { - if (index2 >= i) { + this.radioList.forEach((v2, i2) => { + if (index2 >= i2) { return; } - if (this.radioList[i].radioChecked) { + if (this.radioList[i2].radioChecked) { this.radioList[index2].radioChecked = false; } }); @@ -6192,14 +6192,14 @@ const _sfc_main$j = { } } }; -function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) { +function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createBlock("uni-radio-group", _ctx.$attrs, [ renderSlot(_ctx.$slots, "default") ], 16); } -_sfc_main$j.render = _sfc_render$j; -var index_vue_vue_type_style_index_0_lang$b = "\n@keyframes once-show {\nfrom {\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"; -const _sfc_main$k = { +_sfc_main$e.render = _sfc_render$d; +var index_vue_vue_type_style_index_0_lang$8 = "\n@keyframes once-show {\nfrom {\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"; +const _sfc_main$d = { name: "ResizeSensor", props: { initial: { @@ -6479,7 +6479,7 @@ function parseNodes(nodes, parentNode) { }); return parentNode; } -const _sfc_main$l = { +const _sfc_main$c = { name: "RichText", props: { nodes: { @@ -6508,29 +6508,29 @@ const _sfc_main$l = { } } }; -const _hoisted_1$a = /* @__PURE__ */ createVNode("div", null, null, -1); -function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) { +const _hoisted_1$7 = /* @__PURE__ */ createVNode("div", null, null, -1); +function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createBlock("uni-rich-text", _ctx.$attrs, [ - _hoisted_1$a + _hoisted_1$7 ], 16); } -_sfc_main$l.render = _sfc_render$k; -function Friction$1(e2) { +_sfc_main$c.render = _sfc_render$c; +function Friction(e2) { this._drag = e2; this._dragLog = Math.log(e2); this._x = 0; this._v = 0; this._startTime = 0; } -Friction$1.prototype.set = function(e2, t2) { +Friction.prototype.set = function(e2, t2) { this._x = e2; this._v = t2; this._startTime = new Date().getTime(); }; -Friction$1.prototype.setVelocityByEnd = function(e2) { +Friction.prototype.setVelocityByEnd = function(e2) { this._v = (e2 - this._x) * this._dragLog / (Math.pow(this._drag, 100) - 1); }; -Friction$1.prototype.x = function(e2) { +Friction.prototype.x = function(e2) { if (e2 === void 0) { e2 = (new Date().getTime() - this._startTime) / 1e3; } @@ -6539,7 +6539,7 @@ Friction$1.prototype.x = function(e2) { this._dt = e2; return this._x + this._v * t2 / this._dragLog - this._v / this._dragLog; }; -Friction$1.prototype.dx = function(e2) { +Friction.prototype.dx = function(e2) { if (e2 === void 0) { e2 = (new Date().getTime() - this._startTime) / 1e3; } @@ -6548,17 +6548,17 @@ Friction$1.prototype.dx = function(e2) { this._dt = e2; return this._v * t2; }; -Friction$1.prototype.done = function() { +Friction.prototype.done = function() { return Math.abs(this.dx()) < 3; }; -Friction$1.prototype.reconfigure = function(e2) { +Friction.prototype.reconfigure = function(e2) { var t2 = this.x(); var n = this.dx(); this._drag = e2; this._dragLog = Math.log(e2); this.set(t2, n); }; -Friction$1.prototype.configuration = function() { +Friction.prototype.configuration = function() { var e2 = this; return [ { @@ -6581,7 +6581,7 @@ function o(e2, t2, n) { function a(e2, t2) { return o(e2, 0, t2); } -function Spring$1(e2, t2, n) { +function Spring(e2, t2, n) { this._m = e2; this._k = t2; this._c = n; @@ -6589,13 +6589,13 @@ function Spring$1(e2, t2, n) { this._endPosition = 0; this._startTime = 0; } -Spring$1.prototype._solve = function(e2, t2) { +Spring.prototype._solve = function(e2, t2) { var n = this._c; - var i = this._m; + var i2 = this._m; var r = this._k; - var o2 = n * n - 4 * i * r; + var o2 = n * n - 4 * i2 * r; if (o2 === 0) { - const a3 = -n / (2 * i); + const a3 = -n / (2 * i2); const s2 = e2; const l2 = t2 / (a3 * e2); return { @@ -6609,8 +6609,8 @@ Spring$1.prototype._solve = function(e2, t2) { }; } if (o2 > 0) { - const c = (-n - Math.sqrt(o2)) / (2 * i); - const u = (-n + Math.sqrt(o2)) / (2 * i); + const c = (-n - Math.sqrt(o2)) / (2 * i2); + const u = (-n + Math.sqrt(o2)) / (2 * i2); const l2 = (t2 - c * e2) / (u - c); const s2 = e2 - l2; return { @@ -6648,8 +6648,8 @@ Spring$1.prototype._solve = function(e2, t2) { } }; } - var d = Math.sqrt(4 * i * r - n * n) / (2 * i); - var a2 = -n / 2 * i; + var d = Math.sqrt(4 * i2 * r - n * n) / (2 * i2); + var a2 = -n / 2 * i2; var s = e2; var l = (t2 - a2 * e2) / d; return { @@ -6659,51 +6659,51 @@ Spring$1.prototype._solve = function(e2, t2) { dx: function(e3) { var t3 = Math.pow(Math.E, a2 * e3); var n2 = Math.cos(d * e3); - var i2 = Math.sin(d * e3); - return t3 * (l * d * n2 - s * d * i2) + a2 * t3 * (l * i2 + s * n2); + var i3 = Math.sin(d * e3); + return t3 * (l * d * n2 - s * d * i3) + a2 * t3 * (l * i3 + s * n2); } }; }; -Spring$1.prototype.x = function(e2) { +Spring.prototype.x = function(e2) { if (e2 === void 0) { e2 = (new Date().getTime() - this._startTime) / 1e3; } return this._solution ? this._endPosition + this._solution.x(e2) : 0; }; -Spring$1.prototype.dx = function(e2) { +Spring.prototype.dx = function(e2) { if (e2 === void 0) { e2 = (new Date().getTime() - this._startTime) / 1e3; } return this._solution ? this._solution.dx(e2) : 0; }; -Spring$1.prototype.setEnd = function(e2, t2, n) { +Spring.prototype.setEnd = function(e2, t2, n) { if (!n) { n = new Date().getTime(); } if (e2 !== this._endPosition || !a(t2, 0.4)) { t2 = t2 || 0; - var i = this._endPosition; + var i2 = this._endPosition; if (this._solution) { if (a(t2, 0.4)) { t2 = this._solution.dx((n - this._startTime) / 1e3); } - i = this._solution.x((n - this._startTime) / 1e3); + i2 = this._solution.x((n - this._startTime) / 1e3); if (a(t2, 0.4)) { t2 = 0; } - if (a(i, 0.4)) { - i = 0; + if (a(i2, 0.4)) { + i2 = 0; } - i += this._endPosition; + i2 += this._endPosition; } - if (!(this._solution && a(i - e2, 0.4) && a(t2, 0.4))) { + if (!(this._solution && a(i2 - e2, 0.4) && a(t2, 0.4))) { this._endPosition = e2; - this._solution = this._solve(i - this._endPosition, t2); + this._solution = this._solve(i2 - this._endPosition, t2); this._startTime = n; } } }; -Spring$1.prototype.snap = function(e2) { +Spring.prototype.snap = function(e2) { this._startTime = new Date().getTime(); this._endPosition = e2; this._solution = { @@ -6715,13 +6715,13 @@ Spring$1.prototype.snap = function(e2) { } }; }; -Spring$1.prototype.done = function(e2) { +Spring.prototype.done = function(e2) { if (!e2) { e2 = new Date().getTime(); } return o(this.x(), this._endPosition, 0.4) && a(this.dx(), 0.4); }; -Spring$1.prototype.reconfigure = function(e2, t2, n) { +Spring.prototype.reconfigure = function(e2, t2, n) { this._m = e2; this._k = t2; this._c = n; @@ -6730,13 +6730,13 @@ Spring$1.prototype.reconfigure = function(e2, t2, n) { this._startTime = new Date().getTime(); } }; -Spring$1.prototype.springConstant = function() { +Spring.prototype.springConstant = function() { return this._k; }; -Spring$1.prototype.damping = function() { +Spring.prototype.damping = function() { return this._c; }; -Spring$1.prototype.configuration = function() { +Spring.prototype.configuration = function() { function e2(e3, t3) { e3.reconfigure(1, t3, e3.damping()); } @@ -6762,8 +6762,8 @@ Spring$1.prototype.configuration = function() { }; function Scroll(extent, friction, spring) { this._extent = extent; - this._friction = friction || new Friction$1(0.01); - this._spring = spring || new Spring$1(1, 90, 20); + this._friction = friction || new Friction(0.01); + this._spring = spring || new Spring(1, 90, 20); this._startTime = 0; this._springing = false; this._springOffset = 0; @@ -6835,14 +6835,14 @@ Scroll.prototype.configuration = function() { e2.push.apply(e2, this._spring.configuration()); return e2; }; -function i$1(scroll, t2, n) { - function i(t3, scroll2, r2, o3) { +function i(scroll, t2, n) { + function i2(t3, scroll2, r2, o3) { if (!t3 || !t3.cancelled) { r2(scroll2); var a2 = scroll2.done(); if (!a2) { if (!t3.cancelled) { - t3.id = requestAnimationFrame(i.bind(null, t3, scroll2, r2, o3)); + t3.id = requestAnimationFrame(i2.bind(null, t3, scroll2, r2, o3)); } } if (a2 && o3) { @@ -6862,7 +6862,7 @@ function i$1(scroll, t2, n) { id: 0, cancelled: false }; - i(o2, scroll, t2, n); + i2(o2, scroll, t2, n); return { cancel: r.bind(null, o2), model: scroll @@ -6950,13 +6950,13 @@ Scroller.prototype.onTouchEnd = function(e2, r, o2) { this._scrolling = true; this._lastChangePos = this._position; this._lastIdx = Math.floor(Math.abs(this._position / this._itemSize)); - this._animation = i$1(this._scroll, () => { + this._animation = i(this._scroll, () => { var e3 = Date.now(); - var i = (e3 - this._scroll._startTime) / 1e3; - var r2 = this._scroll.x(i); + var i2 = (e3 - this._scroll._startTime) / 1e3; + var r2 = this._scroll.x(i2); this._position = r2; this.updatePosition(); - var o3 = this._scroll.dx(i); + var o3 = this._scroll.dx(i2); if (this._shouldDispatchScrollEvent && e3 - this._lastTime > this._lastDelay) { this.dispatchScroll(); this._lastDelay = Math.abs(2e3 / o3); @@ -6991,10 +6991,10 @@ Scroller.prototype.onTransitionEnd = function() { Scroller.prototype.snap = function() { var e2 = this._itemSize; var t2 = this._position % e2; - var i = Math.abs(t2) > this._itemSize / 2 ? this._position - (e2 - Math.abs(t2)) : this._position - t2; - if (this._position !== i) { + var i2 = Math.abs(t2) > this._itemSize / 2 ? this._position - (e2 - Math.abs(t2)) : this._position - t2; + if (this._position !== i2) { this._snapping = true; - this.scrollTo(-i); + this.scrollTo(-i2); if (typeof this._options.onSnap === "function") { this._options.onSnap(Math.floor(Math.abs(this._position) / this._itemSize)); } @@ -7038,20 +7038,20 @@ Scroller.prototype.dispatchScroll = function() { } }; Scroller.prototype.update = function(e2, t2, n) { - var i = 0; + var i2 = 0; var r = this._position; if (this._enableX) { - i = this._element.childNodes.length ? (t2 || this._element.offsetWidth) - this._element.parentElement.offsetWidth : 0; + i2 = this._element.childNodes.length ? (t2 || this._element.offsetWidth) - this._element.parentElement.offsetWidth : 0; this._scrollWidth = t2; } else { - i = this._element.childNodes.length ? (t2 || this._element.offsetHeight) - this._element.parentElement.offsetHeight : 0; + i2 = this._element.childNodes.length ? (t2 || this._element.offsetHeight) - this._element.parentElement.offsetHeight : 0; this._scrollHeight = t2; } if (typeof e2 === "number") { this._position = -e2; } - if (this._position < -i) { - this._position = -i; + if (this._position < -i2) { + this._position = -i2; } else { if (this._position > 0) { this._position = 0; @@ -7065,8 +7065,8 @@ Scroller.prototype.update = function(e2, t2, n) { this._options.onSnap(Math.floor(Math.abs(this._position) / this._itemSize)); } } - this._extent = i; - this._scroll._extent = i; + this._extent = i2; + this._scroll._extent = i2; }; Scroller.prototype.updatePosition = function() { var transform = ""; @@ -7186,8 +7186,8 @@ var scroller = { } } }; -var index_vue_vue_type_style_index_0_lang$c = "\nuni-scroll-view {\n display: block;\n width: 100%;\n}\nuni-scroll-view[hidden] {\n display: none;\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.uni-scroll-view-content {\n width: 100%;\n height: 100%;\n}\n.uni-scroll-view-refresher {\n position: relative;\n overflow: hidden;\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.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.uni-scroll-view-refresh__spinner {\n transform-origin: center center;\n animation: uni-scroll-view-refresh-rotate 2s linear infinite;\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@keyframes uni-scroll-view-refresh-rotate {\n0% {\n transform: rotate(0deg);\n}\n100% {\n transform: rotate(360deg);\n}\n}\n@keyframes uni-scroll-view-refresh-dash {\n0% {\n stroke-dasharray: 1, 200;\n stroke-dashoffset: 0;\n}\n50% {\n stroke-dasharray: 89, 200;\n stroke-dashoffset: -35px;\n}\n100% {\n stroke-dasharray: 89, 200;\n stroke-dashoffset: -124px;\n}\n}\n"; -const _sfc_main$m = { +var index_vue_vue_type_style_index_0_lang$7 = "\nuni-scroll-view {\n display: block;\n width: 100%;\n}\nuni-scroll-view[hidden] {\n display: none;\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.uni-scroll-view-content {\n width: 100%;\n height: 100%;\n}\n.uni-scroll-view-refresher {\n position: relative;\n overflow: hidden;\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.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.uni-scroll-view-refresh__spinner {\n transform-origin: center center;\n animation: uni-scroll-view-refresh-rotate 2s linear infinite;\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@keyframes uni-scroll-view-refresh-rotate {\n0% {\n transform: rotate(0deg);\n}\n100% {\n transform: rotate(360deg);\n}\n}\n@keyframes uni-scroll-view-refresh-dash {\n0% {\n stroke-dasharray: 1, 200;\n stroke-dashoffset: 0;\n}\n50% {\n stroke-dasharray: 89, 200;\n stroke-dashoffset: -35px;\n}\n100% {\n stroke-dasharray: 89, 200;\n stroke-dashoffset: -124px;\n}\n}\n"; +const _sfc_main$b = { name: "ScrollView", mixins: [scroller], props: { @@ -7378,32 +7378,32 @@ const _sfc_main$m = { self.$trigger("refresherabort", event2, {}); } }; - this.$refs.main.addEventListener("touchstart", this.__handleTouchStart, passiveOptions$1); - this.$refs.main.addEventListener("touchmove", this.__handleTouchMove, passiveOptions$1); + this.$refs.main.addEventListener("touchstart", this.__handleTouchStart, passiveOptions); + this.$refs.main.addEventListener("touchmove", this.__handleTouchMove, passiveOptions); this.$refs.main.addEventListener("scroll", this.__handleScroll, supportsPassive ? { passive: false } : false); - this.$refs.main.addEventListener("touchend", this.__handleTouchEnd, passiveOptions$1); + this.$refs.main.addEventListener("touchend", this.__handleTouchEnd, passiveOptions); }, activated() { this.scrollY && (this.$refs.main.scrollTop = this.lastScrollTop); this.scrollX && (this.$refs.main.scrollLeft = this.lastScrollLeft); }, beforeDestroy() { - this.$refs.main.removeEventListener("touchstart", this.__handleTouchStart, passiveOptions$1); - this.$refs.main.removeEventListener("touchmove", this.__handleTouchMove, passiveOptions$1); + this.$refs.main.removeEventListener("touchstart", this.__handleTouchStart, passiveOptions); + this.$refs.main.removeEventListener("touchmove", this.__handleTouchMove, passiveOptions); this.$refs.main.removeEventListener("scroll", this.__handleScroll, supportsPassive ? { passive: false } : false); - this.$refs.main.removeEventListener("touchend", this.__handleTouchEnd, passiveOptions$1); + this.$refs.main.removeEventListener("touchend", this.__handleTouchEnd, passiveOptions); }, methods: { scrollTo: function(t2, n) { - var i = this.$refs.main; - t2 < 0 ? t2 = 0 : n === "x" && t2 > i.scrollWidth - i.offsetWidth ? t2 = i.scrollWidth - i.offsetWidth : n === "y" && t2 > i.scrollHeight - i.offsetHeight && (t2 = i.scrollHeight - i.offsetHeight); + var i2 = this.$refs.main; + t2 < 0 ? t2 = 0 : n === "x" && t2 > i2.scrollWidth - i2.offsetWidth ? t2 = i2.scrollWidth - i2.offsetWidth : n === "y" && t2 > i2.scrollHeight - i2.offsetHeight && (t2 = i2.scrollHeight - i2.offsetHeight); var r = 0; var o2 = ""; - n === "x" ? r = i.scrollLeft - t2 : n === "y" && (r = i.scrollTop - t2); + n === "x" ? r = i2.scrollLeft - t2 : n === "y" && (r = i2.scrollTop - t2); if (r !== 0) { this.$refs.content.style.transition = "transform .3s ease-out"; this.$refs.content.style.webkitTransition = "-webkit-transform .3s ease-out"; @@ -7418,9 +7418,9 @@ const _sfc_main$m = { this.$refs.content.addEventListener("transitionend", this.__transitionEnd); this.$refs.content.addEventListener("webkitTransitionEnd", this.__transitionEnd); if (n === "x") { - i.style.overflowX = "hidden"; + i2.style.overflowX = "hidden"; } else if (n === "y") { - i.style.overflowY = "hidden"; + i2.style.overflowY = "hidden"; } this.$refs.content.style.transform = o2; this.$refs.content.style.webkitTransform = o2; @@ -7599,21 +7599,21 @@ const _sfc_main$m = { } } }; -const _hoisted_1$b = { +const _hoisted_1$6 = { ref: "wrap", class: "uni-scroll-view" }; -const _hoisted_2$6 = { +const _hoisted_2$5 = { ref: "content", class: "uni-scroll-view-content" }; -const _hoisted_3$4 = { +const _hoisted_3$2 = { key: 0, class: "uni-scroll-view-refresh" }; -const _hoisted_4$3 = {class: "uni-scroll-view-refresh-inner"}; -const _hoisted_5$1 = /* @__PURE__ */ createVNode("path", {d: "M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"}, null, -1); -const _hoisted_6$1 = /* @__PURE__ */ createVNode("path", { +const _hoisted_4$2 = {class: "uni-scroll-view-refresh-inner"}; +const _hoisted_5 = /* @__PURE__ */ createVNode("path", {d: "M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"}, null, -1); +const _hoisted_6 = /* @__PURE__ */ createVNode("path", { d: "M0 0h24v24H0z", fill: "none" }, null, -1); @@ -7632,23 +7632,23 @@ const _hoisted_8 = /* @__PURE__ */ createVNode("circle", { style: {color: "#2BD009"}, "stroke-width": "3" }, null, -1); -function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) { +function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createBlock("uni-scroll-view", _ctx.$attrs, [ - createVNode("div", _hoisted_1$b, [ + createVNode("div", _hoisted_1$6, [ createVNode("div", { ref: "main", style: {"overflow-x": $props.scrollX ? "auto" : "hidden", "overflow-y": $props.scrollY ? "auto" : "hidden"}, class: "uni-scroll-view" }, [ - createVNode("div", _hoisted_2$6, [ + createVNode("div", _hoisted_2$5, [ $props.refresherEnabled ? (openBlock(), createBlock("div", { key: 0, ref: "refresherinner", style: {"background-color": $props.refresherBackground, height: $data.refresherHeight + "px"}, class: "uni-scroll-view-refresher" }, [ - $props.refresherDefaultStyle !== "none" ? (openBlock(), createBlock("div", _hoisted_3$4, [ - createVNode("div", _hoisted_4$3, [ + $props.refresherDefaultStyle !== "none" ? (openBlock(), createBlock("div", _hoisted_3$2, [ + createVNode("div", _hoisted_4$2, [ $data.refreshState == "pulling" ? (openBlock(), createBlock("svg", { key: 0, style: {transform: "rotate(" + $data.refreshRotate + "deg)"}, @@ -7658,8 +7658,8 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) { height: "24", viewBox: "0 0 24 24" }, [ - _hoisted_5$1, - _hoisted_6$1 + _hoisted_5, + _hoisted_6 ], 4)) : createCommentVNode("", true), $data.refreshState == "refreshing" ? (openBlock(), createBlock("svg", _hoisted_7, [ _hoisted_8 @@ -7674,8 +7674,8 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) { ], 512) ], 16); } -_sfc_main$m.render = _sfc_render$l; -const _sfc_main$n = { +_sfc_main$b.render = _sfc_render$b; +const _sfc_main$a = { name: "Slider", mixins: [emitter, listeners, touchtrack], props: { @@ -7838,14 +7838,14 @@ const _sfc_main$n = { } } }; -const _hoisted_1$c = {class: "uni-slider-wrapper"}; -const _hoisted_2$7 = {class: "uni-slider-tap-area"}; -function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) { +const _hoisted_1$5 = {class: "uni-slider-wrapper"}; +const _hoisted_2$4 = {class: "uni-slider-tap-area"}; +function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createBlock("uni-slider", mergeProps({ref: "uni-slider"}, _ctx.$attrs, { onClick: _cache[1] || (_cache[1] = (...args) => $options._onClick && $options._onClick(...args)) }), [ - createVNode("div", _hoisted_1$c, [ - createVNode("div", _hoisted_2$7, [ + createVNode("div", _hoisted_1$5, [ + createVNode("div", _hoisted_2$4, [ createVNode("div", { style: $options.setBgColor, class: "uni-slider-handle-wrapper" @@ -7872,9 +7872,9 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) { renderSlot(_ctx.$slots, "default") ], 16); } -_sfc_main$n.render = _sfc_render$m; -var index_vue_vue_type_style_index_0_lang$d = "\nuni-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}\nuni-swiper-item[hidden] {\n display: none;\n}\n"; -const _sfc_main$o = { +_sfc_main$a.render = _sfc_render$a; +var index_vue_vue_type_style_index_0_lang$6 = "\nuni-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}\nuni-swiper-item[hidden] {\n display: none;\n}\n"; +const _sfc_main$9 = { name: "SwiperItem", props: { itemId: { @@ -7895,14 +7895,14 @@ const _sfc_main$o = { } } }; -function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) { +function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createBlock("uni-swiper-item", _ctx.$attrs, [ renderSlot(_ctx.$slots, "default") ], 16); } -_sfc_main$o.render = _sfc_render$n; -var index_vue_vue_type_style_index_0_lang$e = '\nuni-switch {\r\n -webkit-tap-highlight-color: transparent;\r\n display: inline-block;\r\n cursor: pointer;\n}\nuni-switch[hidden] {\r\n display: none;\n}\nuni-switch[disabled] {\r\n cursor: not-allowed;\n}\nuni-switch .uni-switch-wrapper {\r\n display: -webkit-inline-flex;\r\n display: inline-flex;\r\n -webkit-align-items: center;\r\n align-items: center;\r\n vertical-align: middle;\n}\nuni-switch .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;\n}\nuni-switch[disabled] .uni-switch-input {\r\n opacity: .7;\n}\nuni-switch .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: -webkit-transform 0.3s;\r\n transition: transform 0.3s;\r\n transition: transform 0.3s, -webkit-transform 0.3s;\n}\nuni-switch .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: -webkit-transform 0.3s;\r\n transition: transform 0.3s;\r\n transition: transform 0.3s, -webkit-transform 0.3s;\n}\nuni-switch .uni-switch-input.uni-switch-input-checked {\r\n border-color: #007aff;\r\n background-color: #007aff;\n}\nuni-switch .uni-switch-input.uni-switch-input-checked:before {\r\n -webkit-transform: scale(0);\r\n transform: scale(0);\n}\nuni-switch .uni-switch-input.uni-switch-input-checked:after {\r\n -webkit-transform: translateX(20px);\r\n transform: translateX(20px);\n}\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;\n}\nuni-switch:not([disabled]) .uni-checkbox-input:hover {\r\n border-color: #007aff;\n}\nuni-switch .uni-checkbox-input.uni-checkbox-input-checked:before {\r\n font: normal normal normal 14px/1 "uni";\r\n content: "\\EA08";\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 -webkit-transform: translate(-50%, -48%) scale(0.73);\n}\nuni-switch .uni-checkbox-input.uni-checkbox-input-disabled {\r\n background-color: #E1E1E1;\n}\nuni-switch .uni-checkbox-input.uni-checkbox-input-disabled:before {\r\n color: #ADADAD;\n}\r\n'; -const _sfc_main$p = { +_sfc_main$9.render = _sfc_render$9; +var index_vue_vue_type_style_index_0_lang$5 = '\nuni-switch {\r\n -webkit-tap-highlight-color: transparent;\r\n display: inline-block;\r\n cursor: pointer;\n}\nuni-switch[hidden] {\r\n display: none;\n}\nuni-switch[disabled] {\r\n cursor: not-allowed;\n}\nuni-switch .uni-switch-wrapper {\r\n display: -webkit-inline-flex;\r\n display: inline-flex;\r\n -webkit-align-items: center;\r\n align-items: center;\r\n vertical-align: middle;\n}\nuni-switch .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;\n}\nuni-switch[disabled] .uni-switch-input {\r\n opacity: .7;\n}\nuni-switch .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: -webkit-transform 0.3s;\r\n transition: transform 0.3s;\r\n transition: transform 0.3s, -webkit-transform 0.3s;\n}\nuni-switch .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: -webkit-transform 0.3s;\r\n transition: transform 0.3s;\r\n transition: transform 0.3s, -webkit-transform 0.3s;\n}\nuni-switch .uni-switch-input.uni-switch-input-checked {\r\n border-color: #007aff;\r\n background-color: #007aff;\n}\nuni-switch .uni-switch-input.uni-switch-input-checked:before {\r\n -webkit-transform: scale(0);\r\n transform: scale(0);\n}\nuni-switch .uni-switch-input.uni-switch-input-checked:after {\r\n -webkit-transform: translateX(20px);\r\n transform: translateX(20px);\n}\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;\n}\nuni-switch:not([disabled]) .uni-checkbox-input:hover {\r\n border-color: #007aff;\n}\nuni-switch .uni-checkbox-input.uni-checkbox-input-checked:before {\r\n font: normal normal normal 14px/1 "uni";\r\n content: "\\EA08";\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 -webkit-transform: translate(-50%, -48%) scale(0.73);\n}\nuni-switch .uni-checkbox-input.uni-checkbox-input-disabled {\r\n background-color: #E1E1E1;\n}\nuni-switch .uni-checkbox-input.uni-checkbox-input-disabled:before {\r\n color: #ADADAD;\n}\r\n'; +const _sfc_main$8 = { name: "Switch", mixins: [emitter, listeners], props: { @@ -7980,12 +7980,12 @@ const _sfc_main$p = { } } }; -const _hoisted_1$d = {class: "uni-switch-wrapper"}; -function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) { +const _hoisted_1$4 = {class: "uni-switch-wrapper"}; +function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createBlock("uni-switch", mergeProps({disabled: $props.disabled}, _ctx.$attrs, { onClick: _cache[1] || (_cache[1] = (...args) => $options._onClick && $options._onClick(...args)) }), [ - createVNode("div", _hoisted_1$d, [ + createVNode("div", _hoisted_1$4, [ withDirectives(createVNode("div", { class: [[$data.switchChecked ? "uni-switch-input-checked" : ""], "uni-switch-input"], style: {backgroundColor: $data.switchChecked ? $props.color : "#DFDFDF", borderColor: $data.switchChecked ? $props.color : "#DFDFDF"} @@ -8001,10 +8001,10 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) { ]) ], 16, ["disabled"]); } -_sfc_main$p.render = _sfc_render$o; -var index_vue_vue_type_style_index_0_lang$f = "\nuni-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}\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}\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 -webkit-text-fill-color: currentcolor;\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"; +_sfc_main$8.render = _sfc_render$8; +var index_vue_vue_type_style_index_0_lang$4 = "\nuni-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}\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}\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 -webkit-text-fill-color: currentcolor;\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"; const DARK_TEST_STRING = "(prefers-color-scheme: dark)"; -const _sfc_main$q = { +const _sfc_main$7 = { name: "Textarea", mixins: [baseInput], props: { @@ -8225,15 +8225,15 @@ const _sfc_main$q = { } } }; -const _hoisted_1$e = {class: "uni-textarea-wrapper"}; -const _hoisted_2$8 = {class: "uni-textarea-compute"}; -function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) { +const _hoisted_1$3 = {class: "uni-textarea-wrapper"}; +const _hoisted_2$3 = {class: "uni-textarea-compute"}; +function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) { const _component_v_uni_resize_sensor = resolveComponent("v-uni-resize-sensor"); return openBlock(), createBlock("uni-textarea", mergeProps({ onChange: _cache[8] || (_cache[8] = withModifiers(() => { }, ["stop"])) }, _ctx.$attrs), [ - createVNode("div", _hoisted_1$e, [ + createVNode("div", _hoisted_1$3, [ withDirectives(createVNode("div", { ref: "placeholder", style: $props.placeholderStyle, @@ -8247,7 +8247,7 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) { class: "uni-textarea-line", textContent: toDisplayString(" ") }, null, 8, ["textContent"]), - createVNode("div", _hoisted_2$8, [ + createVNode("div", _hoisted_2$3, [ (openBlock(true), createBlock(Fragment, null, renderList($options.valueCompute, (item, index2) => { return openBlock(), createBlock("div", { key: index2, @@ -8279,16 +8279,16 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) { ]) ], 16); } -_sfc_main$q.render = _sfc_render$p; -var index_vue_vue_type_style_index_0_lang$g = "\nuni-view {\r\n display: block;\n}\nuni-view[hidden] {\r\n display: none;\n}\r\n"; -const _sfc_main$r = { +_sfc_main$7.render = _sfc_render$7; +var index_vue_vue_type_style_index_0_lang$3 = "\nuni-view {\r\n display: block;\n}\nuni-view[hidden] {\r\n display: none;\n}\r\n"; +const _sfc_main$6 = { name: "View", mixins: [hover], listeners: { "label-click": "clickHandler" } }; -function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) { +function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) { return _ctx.hoverClass && _ctx.hoverClass !== "none" ? (openBlock(), createBlock("uni-view", mergeProps({ key: 0, class: [_ctx.hovering ? _ctx.hoverClass : ""], @@ -8301,7 +8301,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) { renderSlot(_ctx.$slots, "default") ], 16)); } -_sfc_main$r.render = _sfc_render$q; +_sfc_main$6.render = _sfc_render$6; function appendCss(css, cssId, replace = false) { let style = document.getElementById(cssId); if (style && replace) { @@ -8358,14 +8358,14 @@ var transparent = { const iconElems = this.$el.querySelectorAll(".uni-btn-icon"); const iconElemsStyles = []; const textColor = this.textColor; - for (let i = 0; i < iconElems.length; i++) { - iconElemsStyles.push(iconElems[i].style); + for (let i2 = 0; i2 < iconElems.length; i2++) { + iconElemsStyles.push(iconElems[i2].style); } const borderRadiusElems = this.$el.querySelectorAll(".uni-page-head-btn"); const oldColors = []; const borderRadiusElemsStyles = []; - for (let i = 0; i < borderRadiusElems.length; i++) { - const borderRadiusElem = borderRadiusElems[i]; + for (let i2 = 0; i2 < borderRadiusElems.length; i2++) { + const borderRadiusElem = borderRadiusElems[i2]; oldColors.push(getComputedStyle(borderRadiusElem).backgroundColor); borderRadiusElemsStyles.push(borderRadiusElem.style); } @@ -8399,14 +8399,14 @@ var transparent = { } else if (this.type === "float") { const iconElems = this.$el.querySelectorAll(".uni-btn-icon"); const iconElemsStyles = []; - for (let i = 0; i < iconElems.length; i++) { - iconElemsStyles.push(iconElems[i].style); + for (let i2 = 0; i2 < iconElems.length; i2++) { + iconElemsStyles.push(iconElems[i2].style); } const borderRadiusElems = this.$el.querySelectorAll(".uni-page-head-btn"); const oldColors = []; const borderRadiusElemsStyles = []; - for (let i = 0; i < borderRadiusElems.length; i++) { - const borderRadiusElem = borderRadiusElems[i]; + for (let i2 = 0; i2 < borderRadiusElems.length; i2++) { + const borderRadiusElem = borderRadiusElems[i2]; oldColors.push(getComputedStyle(borderRadiusElem).backgroundColor); borderRadiusElemsStyles.push(borderRadiusElem.style); } @@ -8441,11 +8441,11 @@ const FONTS = { menu: "", close: "" }; -const _sfc_main$s = { +const _sfc_main$5 = { name: "PageHead", mixins: [transparent], components: { - VUniInput: _sfc_main$d + VUniInput: _sfc_main$k }, props: { backButton: { @@ -8657,24 +8657,24 @@ const _sfc_main$s = { } } }; -const _hoisted_1$f = {class: "uni-page-head-hd"}; -const _hoisted_2$9 = { +const _hoisted_1$2 = {class: "uni-page-head-hd"}; +const _hoisted_2$2 = { key: 0, class: "uni-page-head-bd" }; -const _hoisted_3$5 = { +const _hoisted_3$1 = { key: 0, class: "uni-loading" }; -const _hoisted_4$4 = {class: "uni-page-head-ft"}; -function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) { +const _hoisted_4$1 = {class: "uni-page-head-ft"}; +function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) { const _component_VUniInput = resolveComponent("VUniInput"); return openBlock(), createBlock("uni-page-head", {"uni-page-head-type": $props.type}, [ createVNode("div", { style: {transitionDuration: $props.duration, transitionTimingFunction: $props.timingFunc, backgroundColor: _ctx.bgColor, color: $props.textColor}, class: [$options.headClass, "uni-page-head"] }, [ - createVNode("div", _hoisted_1$f, [ + createVNode("div", _hoisted_1$2, [ withDirectives(createVNode("div", { class: "uni-page-head-btn", onClick: _cache[1] || (_cache[1] = (...args) => $options._back && $options._back(...args)) @@ -8702,12 +8702,12 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) { ], 14, ["badge-text"]); }), 128)) ]), - !$props.searchInput ? (openBlock(), createBlock("div", _hoisted_2$9, [ + !$props.searchInput ? (openBlock(), createBlock("div", _hoisted_2$2, [ createVNode("div", { style: {fontSize: $props.titleSize, opacity: $props.type === "transparent" ? 0 : 1}, class: "uni-page-head__title" }, [ - $props.loading ? (openBlock(), createBlock("i", _hoisted_3$5)) : createCommentVNode("", true), + $props.loading ? (openBlock(), createBlock("i", _hoisted_3$1)) : createCommentVNode("", true), $props.titleImage !== "" ? (openBlock(), createBlock("img", { key: 1, src: $props.titleImage, @@ -8742,7 +8742,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) { "onUpdate:value": $options._input }, null, 8, ["modelValue", "focus", "disabled", "style", "placeholder-style", "onFocus", "onBlur", "onUpdate:value"]) ], 4)) : createCommentVNode("", true), - createVNode("div", _hoisted_4$4, [ + createVNode("div", _hoisted_4$1, [ (openBlock(true), createBlock(Fragment, null, renderList($options.rightBtns, (btn, index2) => { return openBlock(), createBlock("div", { key: index2, @@ -8766,21 +8766,21 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) { }, null, 2)) : createCommentVNode("", true) ], 8, ["uni-page-head-type"]); } -_sfc_main$s.render = _sfc_render$r; +_sfc_main$5.render = _sfc_render$5; var pageBody_vue_vue_type_style_index_0_lang = '\nuni-page-wrapper {\r\n display: block;\r\n height: 100%;\r\n position: relative;\n}\nuni-page-head[uni-page-head-type="default"] ~ uni-page-wrapper {\r\n height: calc(100% - 44px);\r\n height: calc(100% - 44px - constant(safe-area-inset-top));\r\n height: calc(100% - 44px - env(safe-area-inset-top));\n}\n.uni-app--showtabbar uni-page-wrapper {\r\n display: block;\r\n height: calc(100% - 50px);\r\n height: calc(100% - 50px - constant(safe-area-inset-bottom));\r\n height: calc(100% - 50px - env(safe-area-inset-bottom));\n}\n.uni-app--showtabbar uni-page-wrapper::after {\r\n content: "";\r\n display: block;\r\n width: 100%;\r\n height: 50px;\r\n height: calc(50px + constant(safe-area-inset-bottom));\r\n height: calc(50px + env(safe-area-inset-bottom));\n}\n.uni-app--showtabbar uni-page-head[uni-page-head-type="default"] ~ uni-page-wrapper {\r\n height: calc(100% - 44px - 50px);\r\n height: calc(100% - 44px - constant(safe-area-inset-top) - 50px - constant(safe-area-inset-bottom));\r\n height: calc(100% - 44px - env(safe-area-inset-top) - 50px - env(safe-area-inset-bottom));\n}\nuni-page-body {\r\n display: block;\r\n box-sizing: border-box;\r\n width: 100%;\n}\r\n'; -const _sfc_main$t = { +const _sfc_main$4 = { name: "PageBody" }; -function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) { +function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createBlock("uni-page-wrapper", null, [ createVNode("uni-page-body", null, [ renderSlot(_ctx.$slots, "default") ]) ]); } -_sfc_main$t.render = _sfc_render$s; +_sfc_main$4.render = _sfc_render$4; var pageRefresh_vue_vue_type_style_index_0_lang = "\nuni-page-refresh {\r\n position: absolute;\r\n top: 0;\r\n width: 100%;\r\n height: 40px;\r\n display: block;\r\n box-sizing: border-box;\n}\nuni-page-refresh .uni-page-refresh {\r\n position: absolute;\r\n top: -45px;\r\n left: 50%;\r\n transform: translate3d(-50%, 0, 0);\r\n width: 40px;\r\n height: 40px;\r\n justify-content: center;\r\n align-items: center;\r\n background: #fff;\r\n border-radius: 50%;\r\n box-shadow: 0 1px 6px rgba(0, 0, 0, .117647), 0 1px 4px rgba(0, 0, 0, .117647);\r\n display: none;\n z-index: 997;\n}\nuni-page-refresh .uni-page-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%;\n}\nuni-page-refresh.uni-page-refresh--pulling .uni-page-refresh,\r\n uni-page-refresh.uni-page-refresh--aborting .uni-page-refresh,\r\n uni-page-refresh.uni-page-refresh--reached .uni-page-refresh,\r\n uni-page-refresh.uni-page-refresh--refreshing .uni-page-refresh,\r\n uni-page-refresh.uni-page-refresh--restoring .uni-page-refresh {\r\n display: flex;\n}\nuni-page-refresh.uni-page-refresh--pulling .uni-page-refresh__spinner,\r\n uni-page-refresh.uni-page-refresh--aborting .uni-page-refresh__spinner,\r\n uni-page-refresh.uni-page-refresh--reached .uni-page-refresh__spinner,\r\n uni-page-refresh.uni-page-refresh--refreshing .uni-page-refresh__icon,\r\n uni-page-refresh.uni-page-refresh--restoring .uni-page-refresh__icon {\r\n display: none;\n}\nuni-page-refresh.uni-page-refresh--refreshing .uni-page-refresh__spinner {\r\n transform-origin: center center;\r\n animation: uni-page-refresh-rotate 2s linear infinite;\n}\nuni-page-refresh.uni-page-refresh--refreshing .uni-page-refresh__path {\r\n stroke-dasharray: 1, 200;\r\n stroke-dashoffset: 0;\r\n stroke-linecap: round;\r\n animation: uni-page-refresh-dash 1.5s ease-in-out infinite, uni-page-refresh-colorful 6s ease-in-out infinite;\n}\n@keyframes uni-page-refresh-rotate {\n100% {\r\n -webkit-transform: rotate(360deg);\r\n transform: rotate(360deg);\n}\n}\n@keyframes uni-page-refresh-dash {\n0% {\r\n stroke-dasharray: 1, 200;\r\n stroke-dashoffset: 0;\n}\n50% {\r\n stroke-dasharray: 89, 200;\r\n stroke-dashoffset: -35px;\n}\n100% {\r\n stroke-dasharray: 89, 200;\r\n stroke-dashoffset: -124px;\n}\n}\r\n"; -const _sfc_main$u = { +const _sfc_main$3 = { name: "PageRefresh", props: { color: { @@ -8793,25 +8793,25 @@ const _sfc_main$u = { } } }; -const _hoisted_1$g = {class: "uni-page-refresh-inner"}; -const _hoisted_2$a = /* @__PURE__ */ createVNode("path", {d: "M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"}, null, -1); -const _hoisted_3$6 = /* @__PURE__ */ createVNode("path", { +const _hoisted_1$1 = {class: "uni-page-refresh-inner"}; +const _hoisted_2$1 = /* @__PURE__ */ createVNode("path", {d: "M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"}, null, -1); +const _hoisted_3 = /* @__PURE__ */ createVNode("path", { d: "M0 0h24v24H0z", fill: "none" }, null, -1); -const _hoisted_4$5 = { +const _hoisted_4 = { class: "uni-page-refresh__spinner", width: "24", height: "24", viewBox: "25 25 50 50" }; -function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) { +function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createBlock("uni-page-refresh", null, [ createVNode("div", { style: {"margin-top": $props.offset + "px"}, class: "uni-page-refresh" }, [ - createVNode("div", _hoisted_1$g, [ + createVNode("div", _hoisted_1$1, [ (openBlock(), createBlock("svg", { fill: $props.color, class: "uni-page-refresh__icon", @@ -8819,10 +8819,10 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) { height: "24", viewBox: "0 0 24 24" }, [ - _hoisted_2$a, - _hoisted_3$6 + _hoisted_2$1, + _hoisted_3 ], 8, ["fill"])), - (openBlock(), createBlock("svg", _hoisted_4$5, [ + (openBlock(), createBlock("svg", _hoisted_4, [ createVNode("circle", { stroke: $props.color, class: "uni-page-refresh__path", @@ -8838,7 +8838,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) { ], 4) ]); } -_sfc_main$u.render = _sfc_render$t; +_sfc_main$3.render = _sfc_render$3; function processDeltaY(evt, identifier, startY) { const touch = Array.prototype.slice.call(evt.changedTouches).filter((touch2) => touch2.identifier === identifier)[0]; if (!touch) { @@ -9032,14 +9032,14 @@ var pullToRefresh = { } } }; -var index_vue_vue_type_style_index_0_lang$h = "\nuni-page {\r\n display: block;\r\n width: 100%;\r\n height: 100%;\n}\r\n"; -const _sfc_main$v = { +var index_vue_vue_type_style_index_0_lang$2 = "\nuni-page {\r\n display: block;\r\n width: 100%;\r\n height: 100%;\n}\r\n"; +const _sfc_main$2 = { name: "Page", mpType: "page", components: { - PageHead: _sfc_main$s, - PageBody: _sfc_main$t, - PageRefresh: _sfc_main$u + PageHead: _sfc_main$5, + PageBody: _sfc_main$4, + PageRefresh: _sfc_main$3 }, mixins: [pullToRefresh], props: { @@ -9200,7 +9200,7 @@ const _sfc_main$v = { UniServiceJSBridge.emit("onNavigationBarChange", navigationBar); } }; -function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) { +function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) { const _component_page_head = resolveComponent("page-head"); const _component_page_refresh = resolveComponent("page-refresh"); const _component_page_body = resolveComponent("page-body"); @@ -9233,9 +9233,9 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) { })) ], 8, ["data-page"]); } -_sfc_main$v.render = _sfc_render$u; -var index_vue_vue_type_style_index_0_lang$i = "\n.uni-async-error {\r\n position: absolute;\r\n left: 0;\r\n right: 0;\r\n top: 0;\r\n bottom: 0;\r\n color: #999;\r\n padding: 100px 0;\r\n text-align: center;\n}\r\n"; -const _sfc_main$w = { +_sfc_main$2.render = _sfc_render$2; +var index_vue_vue_type_style_index_0_lang$1 = "\n.uni-async-error {\r\n position: absolute;\r\n left: 0;\r\n right: 0;\r\n top: 0;\r\n bottom: 0;\r\n color: #999;\r\n padding: 100px 0;\r\n text-align: center;\n}\r\n"; +const _sfc_main$1 = { name: "AsyncError", methods: { _onClick() { @@ -9243,34 +9243,34 @@ const _sfc_main$w = { } } }; -function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) { +function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createBlock("div", { class: "uni-async-error", onClick: _cache[1] || (_cache[1] = (...args) => $options._onClick && $options._onClick(...args)) }, " \u8FDE\u63A5\u670D\u52A1\u5668\u8D85\u65F6\uFF0C\u70B9\u51FB\u5C4F\u5E55\u91CD\u8BD5 "); } -_sfc_main$w.render = _sfc_render$v; -var index_vue_vue_type_style_index_0_lang$j = "\n.uni-async-loading {\n box-sizing: border-box;\r\n width: 100%;\r\n padding: 50px;\r\n text-align: center;\n}\n.uni-async-loading .uni-loading {\r\n width: 30px;\r\n height: 30px;\n}\r\n"; -const _sfc_main$x = { +_sfc_main$1.render = _sfc_render$1; +var index_vue_vue_type_style_index_0_lang = "\n.uni-async-loading {\n box-sizing: border-box;\r\n width: 100%;\r\n padding: 50px;\r\n text-align: center;\n}\n.uni-async-loading .uni-loading {\r\n width: 30px;\r\n height: 30px;\n}\r\n"; +const _sfc_main = { name: "AsyncLoading" }; -const _hoisted_1$h = {class: "uni-async-loading"}; -const _hoisted_2$b = /* @__PURE__ */ createVNode("i", {class: "uni-loading"}, null, -1); -function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) { - return openBlock(), createBlock("div", _hoisted_1$h, [ - _hoisted_2$b +const _hoisted_1 = {class: "uni-async-loading"}; +const _hoisted_2 = /* @__PURE__ */ createVNode("i", {class: "uni-loading"}, null, -1); +function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { + return openBlock(), createBlock("div", _hoisted_1, [ + _hoisted_2 ]); } -_sfc_main$x.render = _sfc_render$w; +_sfc_main.render = _sfc_render; function initSystemComponents(app) { - _sfc_main$4.name = COMPONENT_NAME_PREFIX + _sfc_main$4.name; - _sfc_main$v.name = COMPONENT_NAME_PREFIX + _sfc_main$v.name; - _sfc_main$w.name = COMPONENT_NAME_PREFIX + _sfc_main$w.name; - _sfc_main$x.name = COMPONENT_NAME_PREFIX + _sfc_main$x.name; - app.component(_sfc_main$4.name, _sfc_main$4); - app.component(_sfc_main$v.name, _sfc_main$v); - app.component(_sfc_main$w.name, _sfc_main$w); - app.component(_sfc_main$x.name, _sfc_main$x); + _sfc_main$t.name = COMPONENT_NAME_PREFIX + _sfc_main$t.name; + _sfc_main$2.name = COMPONENT_NAME_PREFIX + _sfc_main$2.name; + _sfc_main$1.name = COMPONENT_NAME_PREFIX + _sfc_main$1.name; + _sfc_main.name = COMPONENT_NAME_PREFIX + _sfc_main.name; + app.component(_sfc_main$t.name, _sfc_main$t); + app.component(_sfc_main$2.name, _sfc_main$2); + app.component(_sfc_main$1.name, _sfc_main$1); + app.component(_sfc_main.name, _sfc_main); } var index = { install(app) { @@ -9294,4 +9294,4 @@ const UniServiceJSBridge$1 = extend(ServiceJSBridge, { window.UniViewJSBridge.subscribeHandler(event2, args, pageId); } }); -export {_sfc_main$w as AsyncErrorComponent, _sfc_main$x as AsyncLoadingComponent, _sfc_main$5 as Audio, _sfc_main$6 as Canvas, _sfc_main$7 as Checkbox, _sfc_main$8 as CheckboxGroup, _sfc_main$9 as Editor, _sfc_main$a as Form, _sfc_main$b as Icon, _sfc_main$c as Image, _sfc_main$d as Input, _sfc_main$e as Label, _sfc_main$f as MovableView, _sfc_main$g as Navigator, _sfc_main$v as PageComponent, _sfc_main$h as Progress, _sfc_main$i as Radio, _sfc_main$j as RadioGroup, _sfc_main$k as ResizeSensor, _sfc_main$l as RichText, _sfc_main$m as ScrollView, _sfc_main$n as Slider, _sfc_main$o as SwiperItem, _sfc_main$p as Switch, _sfc_main$q as Textarea, UniServiceJSBridge$1 as UniServiceJSBridge, UniViewJSBridge$1 as UniViewJSBridge, _sfc_main$r as View, addInterceptor, arrayBufferToBase64, base64ToArrayBuffer, canIUse, createIntersectionObserver$1 as createIntersectionObserver, createSelectorQuery$1 as createSelectorQuery, getApp$1 as getApp, getCurrentPages$1 as getCurrentPages, getImageInfo, getRealPath, getSystemInfo, getSystemInfoSync, makePhoneCall, navigateBack, navigateTo, openDocument, index as plugin, promiseInterceptor, reLaunch, redirectTo, removeInterceptor, switchTab, uni$1 as uni, upx2px}; +export {_sfc_main$1 as AsyncErrorComponent, _sfc_main as AsyncLoadingComponent, _sfc_main$s as Audio, _sfc_main$r as Canvas, _sfc_main$q as Checkbox, _sfc_main$p as CheckboxGroup, _sfc_main$o as Editor, _sfc_main$n as Form, _sfc_main$m as Icon, _sfc_main$l as Image, _sfc_main$k as Input, _sfc_main$j as Label, _sfc_main$i as MovableView, _sfc_main$h as Navigator, _sfc_main$2 as PageComponent, _sfc_main$g as Progress, _sfc_main$f as Radio, _sfc_main$e as RadioGroup, _sfc_main$d as ResizeSensor, _sfc_main$c as RichText, _sfc_main$b as ScrollView, _sfc_main$a as Slider, _sfc_main$9 as SwiperItem, _sfc_main$8 as Switch, _sfc_main$7 as Textarea, UniServiceJSBridge$1 as UniServiceJSBridge, UniViewJSBridge$1 as UniViewJSBridge, _sfc_main$6 as View, addInterceptor, arrayBufferToBase64, base64ToArrayBuffer, canIUse, createIntersectionObserver, createSelectorQuery, getApp$1 as getApp, getCurrentPages$1 as getCurrentPages, getImageInfo, getRealPath, getSystemInfo, getSystemInfoSync, makePhoneCall, navigateBack, navigateTo, openDocument, index as plugin, promiseInterceptor, reLaunch, redirectTo, removeInterceptor, switchTab, uni$1 as uni, upx2px}; diff --git a/packages/uni-h5/vite.config.ts b/packages/uni-h5/vite.config.ts index 1972fde968751bb9ae823023bd190c39c7a22df4..92e2459d7b31887deb305ba41e1230947f8e1961 100644 --- a/packages/uni-h5/vite.config.ts +++ b/packages/uni-h5/vite.config.ts @@ -57,10 +57,13 @@ export default defineConfig({ preserveEntrySignatures: 'strict', plugins: [ replace({ - createOnApi: `/*#__PURE__*/ createOnApi`, - createTaskApi: `/*#__PURE__*/ createTaskApi`, - createSyncApi: `/*#__PURE__*/ createSyncApi`, - createAsyncApi: `/*#__PURE__*/ createAsyncApi`, + values: { + createOnApi: `/*#__PURE__*/ createOnApi`, + createTaskApi: `/*#__PURE__*/ createTaskApi`, + createSyncApi: `/*#__PURE__*/ createSyncApi`, + createAsyncApi: `/*#__PURE__*/ createAsyncApi`, + }, + preventAssignment: true, }), ], output: { diff --git a/packages/uni-mp-alipay/dist/uni.mp.esm.js b/packages/uni-mp-alipay/dist/uni.mp.esm.js index aec6637c1dc668ec33d68b5946a4aa21b276d85c..3d7a95151363fdff2f5ad353b70833ea67ceb0f7 100644 --- a/packages/uni-mp-alipay/dist/uni.mp.esm.js +++ b/packages/uni-mp-alipay/dist/uni.mp.esm.js @@ -741,7 +741,7 @@ var parseAppOptions = /*#__PURE__*/Object.freeze({ parse: parse }); -function handleLink(event) { +function handleLink$1(event) { // detail 是微信,value 是百度(dipatch) const detail = (event.detail || event.value); @@ -860,7 +860,7 @@ function initChildVues(mpInstance) { if (childVues) { childVues.forEach((relationOptions) => { // 父子关系 - handleLink.call(mpInstance, { + handleLink$1.call(mpInstance, { detail: relationOptions, }); const { mpInstance: childMPInstance, createComponent } = relationOptions; @@ -934,18 +934,18 @@ function createObserver(isDidUpdate = false) { }); }; } -const handleLink$1 = (function () { +const handleLink = (function () { if (isComponent2) { - return function handleLink$1(detail) { - return handleLink.call(this, { + return function handleLink(detail) { + return handleLink$1.call(this, { detail, }); }; } - return function handleLink$1(detail) { + return function handleLink(detail) { if (this.$vm && this.$vm.$.isMounted) { // 父已初始化 - return handleLink.call(this, { + return handleLink$1.call(this, { detail, }); } @@ -999,7 +999,7 @@ function createPage(vueOptions) { }, __r: handleRef, __e: handleEvent, - __l: handleLink$1, + __l: handleLink, }; if (__VUE_OPTIONS_API__) { pageOptions.data = initData(vueOptions); @@ -1084,7 +1084,7 @@ function createComponent(vueOptions) { methods: { __r: handleRef, __e: handleEvent, - __l: handleLink$1, + __l: handleLink, triggerEvent, }, }; diff --git a/packages/uni-mp-baidu/dist/uni.mp.esm.js b/packages/uni-mp-baidu/dist/uni.mp.esm.js index 0b23fcfb538de5e0848c964110dc4e7c910e3f25..ef9b24f97367e1be4d179e014aa22ee99246bf64 100644 --- a/packages/uni-mp-baidu/dist/uni.mp.esm.js +++ b/packages/uni-mp-baidu/dist/uni.mp.esm.js @@ -146,7 +146,7 @@ function findHooks(vueOptions, hooks = new Set()) { } return hooks; } -function initHook(mpOptions, hook, excludes) { +function initHook$1(mpOptions, hook, excludes) { if (excludes.indexOf(hook) === -1 && !hasOwn(mpOptions, hook)) { mpOptions[hook] = function (args) { return this.$vm && this.$vm.$callHook(hook, args); @@ -155,10 +155,10 @@ function initHook(mpOptions, hook, excludes) { } const EXCLUDE_HOOKS = ['onReady']; function initHooks(mpOptions, hooks, excludes = EXCLUDE_HOOKS) { - hooks.forEach((hook) => initHook(mpOptions, hook, excludes)); + hooks.forEach((hook) => initHook$1(mpOptions, hook, excludes)); } function initUnknownHooks(mpOptions, vueOptions, excludes = EXCLUDE_HOOKS) { - findHooks(vueOptions).forEach((hook) => initHook(mpOptions, hook, excludes)); + findHooks(vueOptions).forEach((hook) => initHook$1(mpOptions, hook, excludes)); } const HOOKS = [ @@ -829,7 +829,7 @@ function initTriggerEvent(mpInstance) { return oldTriggerEvent.apply(mpInstance, [customize(event), ...args]); }; } -function initHook$1(name, options) { +function initHook(name, options) { const oldHook = options[name]; if (!oldHook) { options[name] = function () { @@ -844,15 +844,15 @@ function initHook$1(name, options) { } } Page = function (options) { - initHook$1('onLoad', options); + initHook('onLoad', options); return MPPage(options); }; Component = function (options) { - initHook$1('created', options); + initHook('created', options); return MPComponent(options); }; -function parse(appOptions) { +function parse$2(appOptions) { // 百度 onShow 竟然会在 onLaunch 之前 appOptions.onShow = function onShow(args) { if (!this.$vm) { @@ -864,7 +864,7 @@ function parse(appOptions) { var parseAppOptions = /*#__PURE__*/Object.freeze({ __proto__: null, - parse: parse + parse: parse$2 }); function initLifetimes({ mocks, isPage, initRelation, vueOptions, }) { @@ -978,7 +978,7 @@ var parseComponentOptions = /*#__PURE__*/Object.freeze({ initLifetimes: initLifetimes }); -function parse$2(pageOptions) { +function parse(pageOptions) { parse$1(pageOptions); const methods = pageOptions.methods; // 纠正百度小程序生命周期methods:onShow在methods:onLoad之前触发的问题 @@ -1002,7 +1002,7 @@ function parse$2(pageOptions) { var parsePageOptions = /*#__PURE__*/Object.freeze({ __proto__: null, - parse: parse$2, + parse: parse, handleLink: handleLink, initLifetimes: initLifetimes, mocks: mocks, diff --git a/packages/uni-mp-core/src/runtime/page.ts b/packages/uni-mp-core/src/runtime/page.ts index 8668552d9dc99aeb841a67336da31fe8de07a797..03b560e93adb73f0affbe61fa82adfceaafd12c0 100644 --- a/packages/uni-mp-core/src/runtime/page.ts +++ b/packages/uni-mp-core/src/runtime/page.ts @@ -31,7 +31,10 @@ function parsePage( const methods = miniProgramPageOptions.methods as WechatMiniprogram.Component.MethodOption - methods.onLoad = function (this: CustomComponentInstanceProperty, query) { + methods.onLoad = function ( + this: CustomComponentInstanceProperty, + query: Record + ) { ;(this as any).options = query ;(this as any).$page = { fullPath: '/' + (this as any).route + stringifyQuery(query), diff --git a/packages/uni-mp-qq/dist/uni.mp.esm.js b/packages/uni-mp-qq/dist/uni.mp.esm.js index 0d1f352fb51723eaff77f68ea9aa16d655400222..1aff95ede520baebb3391c639054cde6b3ba1ec9 100644 --- a/packages/uni-mp-qq/dist/uni.mp.esm.js +++ b/packages/uni-mp-qq/dist/uni.mp.esm.js @@ -146,7 +146,7 @@ function findHooks(vueOptions, hooks = new Set()) { } return hooks; } -function initHook(mpOptions, hook, excludes) { +function initHook$1(mpOptions, hook, excludes) { if (excludes.indexOf(hook) === -1 && !hasOwn(mpOptions, hook)) { mpOptions[hook] = function (args) { return this.$vm && this.$vm.$callHook(hook, args); @@ -155,10 +155,10 @@ function initHook(mpOptions, hook, excludes) { } const EXCLUDE_HOOKS = ['onReady']; function initHooks(mpOptions, hooks, excludes = EXCLUDE_HOOKS) { - hooks.forEach((hook) => initHook(mpOptions, hook, excludes)); + hooks.forEach((hook) => initHook$1(mpOptions, hook, excludes)); } function initUnknownHooks(mpOptions, vueOptions, excludes = EXCLUDE_HOOKS) { - findHooks(vueOptions).forEach((hook) => initHook(mpOptions, hook, excludes)); + findHooks(vueOptions).forEach((hook) => initHook$1(mpOptions, hook, excludes)); } const HOOKS = [ @@ -810,7 +810,7 @@ function initTriggerEvent(mpInstance) { return oldTriggerEvent.apply(mpInstance, [customize(event), ...args]); }; } -function initHook$1(name, options) { +function initHook(name, options) { const oldHook = options[name]; if (!oldHook) { options[name] = function () { @@ -825,11 +825,11 @@ function initHook$1(name, options) { } } Page = function (options) { - initHook$1('onLoad', options); + initHook('onLoad', options); return MPPage(options); }; Component = function (options) { - initHook$1('created', options); + initHook('created', options); return MPComponent(options); }; diff --git a/packages/uni-mp-toutiao/dist/uni.mp.esm.js b/packages/uni-mp-toutiao/dist/uni.mp.esm.js index 8f325835f1a7e8fdf6ddff2e828944c9116dc6d2..d5d9e271df96a7dd5feb9b47afa6818e6fd234fb 100644 --- a/packages/uni-mp-toutiao/dist/uni.mp.esm.js +++ b/packages/uni-mp-toutiao/dist/uni.mp.esm.js @@ -146,7 +146,7 @@ function findHooks(vueOptions, hooks = new Set()) { } return hooks; } -function initHook(mpOptions, hook, excludes) { +function initHook$1(mpOptions, hook, excludes) { if (excludes.indexOf(hook) === -1 && !hasOwn(mpOptions, hook)) { mpOptions[hook] = function (args) { if (hook === 'onError') { @@ -158,10 +158,10 @@ function initHook(mpOptions, hook, excludes) { } const EXCLUDE_HOOKS = ['onReady']; function initHooks(mpOptions, hooks, excludes = EXCLUDE_HOOKS) { - hooks.forEach((hook) => initHook(mpOptions, hook, excludes)); + hooks.forEach((hook) => initHook$1(mpOptions, hook, excludes)); } function initUnknownHooks(mpOptions, vueOptions, excludes = EXCLUDE_HOOKS) { - findHooks(vueOptions).forEach((hook) => initHook(mpOptions, hook, excludes)); + findHooks(vueOptions).forEach((hook) => initHook$1(mpOptions, hook, excludes)); } const HOOKS = [ @@ -819,7 +819,7 @@ function initTriggerEvent(mpInstance) { return oldTriggerEvent.apply(mpInstance, [customize(event), ...args]); }; } -function initHook$1(name, options) { +function initHook(name, options) { const oldHook = options[name]; if (!oldHook) { options[name] = function () { @@ -834,11 +834,11 @@ function initHook$1(name, options) { } } Page = function (options) { - initHook$1('onLoad', options); + initHook('onLoad', options); return MPPage(options); }; Component = function (options) { - initHook$1('created', options); + initHook('created', options); return MPComponent(options); }; @@ -927,7 +927,7 @@ function initInjections(instance) { } } -function initLifetimes({ mocks, isPage, initRelation, vueOptions, }) { +function initLifetimes$1({ mocks, isPage, initRelation, vueOptions, }) { return { attached() { const properties = this.properties; @@ -1025,11 +1025,11 @@ var parseComponentOptions = /*#__PURE__*/Object.freeze({ initRelation: initRelation, handleLink: handleLink, parse: parse, - initLifetimes: initLifetimes + initLifetimes: initLifetimes$1 }); -function initLifetimes$1(lifetimesOptions) { - return extend(initLifetimes(lifetimesOptions), { +function initLifetimes(lifetimesOptions) { + return extend(initLifetimes$1(lifetimesOptions), { ready() { if (this.$vm && lifetimesOptions.isPage(this)) { this.$vm.$callSyncHook('created'); @@ -1061,7 +1061,7 @@ var parsePageOptions = /*#__PURE__*/Object.freeze({ initRelation: initRelation, handleLink: handleLink, parse: parse, - initLifetimes: initLifetimes$1 + initLifetimes: initLifetimes }); const createApp = initCreateApp(); diff --git a/packages/uni-mp-vue/dist/vue.runtime.esm.js b/packages/uni-mp-vue/dist/vue.runtime.esm.js index 805c964f8f68609e885361ca9c064154b8669a44..6bc7f2a9f65e030b910889b9460064e59697f71d 100644 --- a/packages/uni-mp-vue/dist/vue.runtime.esm.js +++ b/packages/uni-mp-vue/dist/vue.runtime.esm.js @@ -268,7 +268,7 @@ function createGetter(isReadonly = false, shallow = false) { return res; }; } -const set = /*#__PURE__*/ createSetter(); +const set$1 = /*#__PURE__*/ createSetter(); const shallowSet = /*#__PURE__*/ createSetter(true); function createSetter(shallow = false) { return function set(target, key, value, receiver) { @@ -318,7 +318,7 @@ function ownKeys(target) { } const mutableHandlers = { get, - set, + set: set$1, deleteProperty, has, ownKeys @@ -400,7 +400,7 @@ function add(value) { } return this; } -function set$1(key, value) { +function set$1$1(key, value) { value = toRaw(value); const target = toRaw(this); const { has, get } = getProto(target); @@ -520,7 +520,7 @@ const mutableInstrumentations = { }, has: has$1, add, - set: set$1, + set: set$1$1, delete: deleteEntry, clear, forEach: createForEach(false, false) @@ -534,7 +534,7 @@ const shallowInstrumentations = { }, has: has$1, add, - set: set$1, + set: set$1$1, delete: deleteEntry, clear, forEach: createForEach(false, true) @@ -1746,17 +1746,17 @@ function injectHook(type, hook, target = currentInstance, prepend = false) { (``)); } } -const createHook = (lifecycle) => (hook, target = currentInstance) => +const createHook$1 = (lifecycle) => (hook, target = currentInstance) => // post-create lifecycle registrations are noops during SSR !isInSSRComponentSetup && injectHook(lifecycle, hook, target); -const onBeforeMount = createHook("bm" /* BEFORE_MOUNT */); -const onMounted = createHook("m" /* MOUNTED */); -const onBeforeUpdate = createHook("bu" /* BEFORE_UPDATE */); -const onUpdated = createHook("u" /* UPDATED */); -const onBeforeUnmount = createHook("bum" /* BEFORE_UNMOUNT */); -const onUnmounted = createHook("um" /* UNMOUNTED */); -const onRenderTriggered = createHook("rtg" /* RENDER_TRIGGERED */); -const onRenderTracked = createHook("rtc" /* RENDER_TRACKED */); +const onBeforeMount = createHook$1("bm" /* BEFORE_MOUNT */); +const onMounted = createHook$1("m" /* MOUNTED */); +const onBeforeUpdate = createHook$1("bu" /* BEFORE_UPDATE */); +const onUpdated = createHook$1("u" /* UPDATED */); +const onBeforeUnmount = createHook$1("bum" /* BEFORE_UNMOUNT */); +const onUnmounted = createHook$1("um" /* UNMOUNTED */); +const onRenderTriggered = createHook$1("rtg" /* RENDER_TRIGGERED */); +const onRenderTracked = createHook$1("rtc" /* RENDER_TRACKED */); const onErrorCaptured = (hook, target = currentInstance) => { injectHook("ec" /* ERROR_CAPTURED */, hook, target); }; @@ -2585,7 +2585,7 @@ function createDuplicateChecker() { }; } let isInBeforeCreate = false; -function applyOptions(instance, options, deferredData = [], deferredWatch = [], deferredProvide = [], asMixin = false) { +function applyOptions$1(instance, options, deferredData = [], deferredWatch = [], deferredProvide = [], asMixin = false) { const { // composition mixins, extends: extendsOptions, @@ -2613,7 +2613,7 @@ function applyOptions(instance, options, deferredData = [], deferredWatch = [], } // extending a base component... if (extendsOptions) { - applyOptions(instance, extendsOptions, deferredData, deferredWatch, deferredProvide, true); + applyOptions$1(instance, extendsOptions, deferredData, deferredWatch, deferredProvide, true); } // local mixins if (mixins) { @@ -2894,7 +2894,7 @@ function callHookFromMixins(name, type, mixins, instance) { } function applyMixins(instance, mixins, deferredData, deferredWatch, deferredProvide) { for (let i = 0; i < mixins.length; i++) { - applyOptions(instance, mixins[i], deferredData, deferredWatch, deferredProvide, true); + applyOptions$1(instance, mixins[i], deferredData, deferredWatch, deferredProvide, true); } } function resolveData(instance, dataFn, publicThis) { @@ -3461,7 +3461,7 @@ function finishComponentSetup(instance, isSSR) { if (__VUE_OPTIONS_API__) { currentInstance = instance; pauseTracking(); - applyOptions(instance, Component); + applyOptions$1(instance, Component); resetTracking(); currentInstance = null; } @@ -4009,7 +4009,7 @@ function createVueApp(rootComponent, rootProps = null) { return app; } -function applyOptions$1(options, instance, publicThis) { +function applyOptions(options, instance, publicThis) { Object.keys(options).forEach((name) => { if (name.indexOf('on') === 0) { const hook = options[name]; @@ -4020,7 +4020,7 @@ function applyOptions$1(options, instance, publicThis) { }); } -function set$2(target, key, val) { +function set(target, key, val) { return (target[key] = val); } function hasHook(name) { @@ -4061,8 +4061,8 @@ function initApp(app) { globalProperties.$hasHook = hasHook; globalProperties.$callHook = callHook; if (__VUE_OPTIONS_API__) { - globalProperties.$set = set$2; - globalProperties.$applyOptions = applyOptions$1; + globalProperties.$set = set; + globalProperties.$applyOptions = applyOptions; } } @@ -4090,37 +4090,37 @@ var plugin = { }; // @ts-ignore -const createHook$1 = (lifecycle) => (hook, target) => +const createHook = (lifecycle) => (hook, target) => // post-create lifecycle registrations are noops during SSR !isInSSRComponentSetup && injectHook(lifecycle, hook, target); -const onShow = /*#__PURE__*/ createHook$1("onShow" /* ON_SHOW */); -const onHide = /*#__PURE__*/ createHook$1("onHide" /* ON_HIDE */); -const onLaunch = /*#__PURE__*/ createHook$1("onLaunch" /* ON_LAUCH */); -const onError = /*#__PURE__*/ createHook$1("onError" /* ON_ERROR */); -const onThemeChange = /*#__PURE__*/ createHook$1("onThemeChange" /* ON_THEME_CHANGE */); -const onPageNotFound = /*#__PURE__*/ createHook$1("onPageNotFound" /* ON_PAGE_NOT_FOUND */); -const onUnhandledRejection = /*#__PURE__*/ createHook$1("onUnhandledRejection" /* ON_UNHANDLE_REJECTION */); -const onLoad = /*#__PURE__*/ createHook$1("onLoad" /* ON_LOAD */); -const onReady = /*#__PURE__*/ createHook$1("onReady" /* ON_READY */); -const onUnload = /*#__PURE__*/ createHook$1("onUnload" /* ON_UNLOAD */); -const onResize = /*#__PURE__*/ createHook$1("onResize" /* ON_RESIZE */); -const onBackPress = /*#__PURE__*/ createHook$1("onBackPress" /* ON_BACK_PRESS */); -const onPageScroll = /*#__PURE__*/ createHook$1("onPageScroll" /* ON_PAGE_SCROLL */); -const onTabItemTap = /*#__PURE__*/ createHook$1("onTabItemTap" /* ON_TAB_ITEM_TAP */); -const onReachBottom = /*#__PURE__*/ createHook$1("onReachBottom" /* ON_REACH_BOTTOM */); -const onPullDownRefresh = /*#__PURE__*/ createHook$1("onPullDownRefresh" /* ON_PULL_DOWN_REFRESH */); -const onShareTimeline = /*#__PURE__*/ createHook$1("onShareTimeline" /* ON_SHARE_TIMELINE */); -const onAddToFavorites = /*#__PURE__*/ createHook$1("onAddToFavorites" /* ON_ADD_TO_FAVORITES */); -const onShareAppMessage = /*#__PURE__*/ createHook$1("onShareAppMessage" /* ON_SHARE_APP_MESSAGE */); -const onNavigationBarButtonTap = /*#__PURE__*/ createHook$1("onNavigationBarButtonTap" /* ON_NAVIGATION_BAR_BUTTON_TAP */); -const onNavigationBarSearchInputChanged = /*#__PURE__*/ createHook$1("onNavigationBarSearchInputChanged" /* ON_NAVIGATION_BAR_SEARCH_INPUT_CHANGED */); -const onNavigationBarSearchInputClicked = /*#__PURE__*/ createHook$1("onNavigationBarSearchInputClicked" /* ON_NAVIGATION_BAR_SEARCH_INPUT_CLICKED */); -const onNavigationBarSearchInputConfirmed = /*#__PURE__*/ createHook$1("onNavigationBarSearchInputConfirmed" /* ON_NAVIGATION_BAR_SEARCH_INPUT_CONFIRMED */); -const onNavigationBarSearchInputFocusChanged = /*#__PURE__*/ createHook$1("onNavigationBarSearchInputFocusChanged" /* ON_NAVIGATION_BAR_SEARCH_INPUT_FOCUS_CHANGED */); +const onShow = /*#__PURE__*/ createHook("onShow" /* ON_SHOW */); +const onHide = /*#__PURE__*/ createHook("onHide" /* ON_HIDE */); +const onLaunch = /*#__PURE__*/ createHook("onLaunch" /* ON_LAUCH */); +const onError = /*#__PURE__*/ createHook("onError" /* ON_ERROR */); +const onThemeChange = /*#__PURE__*/ createHook("onThemeChange" /* ON_THEME_CHANGE */); +const onPageNotFound = /*#__PURE__*/ createHook("onPageNotFound" /* ON_PAGE_NOT_FOUND */); +const onUnhandledRejection = /*#__PURE__*/ createHook("onUnhandledRejection" /* ON_UNHANDLE_REJECTION */); +const onLoad = /*#__PURE__*/ createHook("onLoad" /* ON_LOAD */); +const onReady = /*#__PURE__*/ createHook("onReady" /* ON_READY */); +const onUnload = /*#__PURE__*/ createHook("onUnload" /* ON_UNLOAD */); +const onResize = /*#__PURE__*/ createHook("onResize" /* ON_RESIZE */); +const onBackPress = /*#__PURE__*/ createHook("onBackPress" /* ON_BACK_PRESS */); +const onPageScroll = /*#__PURE__*/ createHook("onPageScroll" /* ON_PAGE_SCROLL */); +const onTabItemTap = /*#__PURE__*/ createHook("onTabItemTap" /* ON_TAB_ITEM_TAP */); +const onReachBottom = /*#__PURE__*/ createHook("onReachBottom" /* ON_REACH_BOTTOM */); +const onPullDownRefresh = /*#__PURE__*/ createHook("onPullDownRefresh" /* ON_PULL_DOWN_REFRESH */); +const onShareTimeline = /*#__PURE__*/ createHook("onShareTimeline" /* ON_SHARE_TIMELINE */); +const onAddToFavorites = /*#__PURE__*/ createHook("onAddToFavorites" /* ON_ADD_TO_FAVORITES */); +const onShareAppMessage = /*#__PURE__*/ createHook("onShareAppMessage" /* ON_SHARE_APP_MESSAGE */); +const onNavigationBarButtonTap = /*#__PURE__*/ createHook("onNavigationBarButtonTap" /* ON_NAVIGATION_BAR_BUTTON_TAP */); +const onNavigationBarSearchInputChanged = /*#__PURE__*/ createHook("onNavigationBarSearchInputChanged" /* ON_NAVIGATION_BAR_SEARCH_INPUT_CHANGED */); +const onNavigationBarSearchInputClicked = /*#__PURE__*/ createHook("onNavigationBarSearchInputClicked" /* ON_NAVIGATION_BAR_SEARCH_INPUT_CLICKED */); +const onNavigationBarSearchInputConfirmed = /*#__PURE__*/ createHook("onNavigationBarSearchInputConfirmed" /* ON_NAVIGATION_BAR_SEARCH_INPUT_CONFIRMED */); +const onNavigationBarSearchInputFocusChanged = /*#__PURE__*/ createHook("onNavigationBarSearchInputFocusChanged" /* ON_NAVIGATION_BAR_SEARCH_INPUT_FOCUS_CHANGED */); function createApp(rootComponent, rootProps = null) { rootComponent && (rootComponent.mpType = 'app'); return createVueApp(rootComponent, rootProps).use(plugin); } -export { callWithAsyncErrorHandling, callWithErrorHandling, computed$1 as computed, createApp, createHook$1 as createHook, createVueApp, customRef, defineComponent, defineEmit, defineProps, getCurrentInstance, inject, injectHook, isInSSRComponentSetup, isProxy, isReactive, isReadonly, isRef, logError, markRaw, nextTick, onActivated, onAddToFavorites, onBackPress, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onError, onErrorCaptured, onHide, onLaunch, onLoad, onMounted, onNavigationBarButtonTap, onNavigationBarSearchInputChanged, onNavigationBarSearchInputClicked, onNavigationBarSearchInputConfirmed, onNavigationBarSearchInputFocusChanged, onPageNotFound, onPageScroll, onPullDownRefresh, onReachBottom, onReady, onRenderTracked, onRenderTriggered, onResize, onShareAppMessage, onShareTimeline, onShow, onTabItemTap, onThemeChange, onUnhandledRejection, onUnload, onUnmounted, onUpdated, provide, reactive, readonly, ref, resolveDirective, shallowReactive, shallowReadonly, shallowRef, toRaw, toRef, toRefs, triggerRef, unref, version, warn, watch, watchEffect, withDirectives }; +export { callWithAsyncErrorHandling, callWithErrorHandling, computed$1 as computed, createApp, createHook, createVueApp, customRef, defineComponent, defineEmit, defineProps, getCurrentInstance, inject, injectHook, isInSSRComponentSetup, isProxy, isReactive, isReadonly, isRef, logError, markRaw, nextTick, onActivated, onAddToFavorites, onBackPress, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onError, onErrorCaptured, onHide, onLaunch, onLoad, onMounted, onNavigationBarButtonTap, onNavigationBarSearchInputChanged, onNavigationBarSearchInputClicked, onNavigationBarSearchInputConfirmed, onNavigationBarSearchInputFocusChanged, onPageNotFound, onPageScroll, onPullDownRefresh, onReachBottom, onReady, onRenderTracked, onRenderTriggered, onResize, onShareAppMessage, onShareTimeline, onShow, onTabItemTap, onThemeChange, onUnhandledRejection, onUnload, onUnmounted, onUpdated, provide, reactive, readonly, ref, resolveDirective, shallowReactive, shallowReadonly, shallowRef, toRaw, toRef, toRefs, triggerRef, unref, version, warn, watch, watchEffect, withDirectives }; diff --git a/packages/uni-mp-weixin/dist/uni.mp.esm.js b/packages/uni-mp-weixin/dist/uni.mp.esm.js index 0d1f352fb51723eaff77f68ea9aa16d655400222..1aff95ede520baebb3391c639054cde6b3ba1ec9 100644 --- a/packages/uni-mp-weixin/dist/uni.mp.esm.js +++ b/packages/uni-mp-weixin/dist/uni.mp.esm.js @@ -146,7 +146,7 @@ function findHooks(vueOptions, hooks = new Set()) { } return hooks; } -function initHook(mpOptions, hook, excludes) { +function initHook$1(mpOptions, hook, excludes) { if (excludes.indexOf(hook) === -1 && !hasOwn(mpOptions, hook)) { mpOptions[hook] = function (args) { return this.$vm && this.$vm.$callHook(hook, args); @@ -155,10 +155,10 @@ function initHook(mpOptions, hook, excludes) { } const EXCLUDE_HOOKS = ['onReady']; function initHooks(mpOptions, hooks, excludes = EXCLUDE_HOOKS) { - hooks.forEach((hook) => initHook(mpOptions, hook, excludes)); + hooks.forEach((hook) => initHook$1(mpOptions, hook, excludes)); } function initUnknownHooks(mpOptions, vueOptions, excludes = EXCLUDE_HOOKS) { - findHooks(vueOptions).forEach((hook) => initHook(mpOptions, hook, excludes)); + findHooks(vueOptions).forEach((hook) => initHook$1(mpOptions, hook, excludes)); } const HOOKS = [ @@ -810,7 +810,7 @@ function initTriggerEvent(mpInstance) { return oldTriggerEvent.apply(mpInstance, [customize(event), ...args]); }; } -function initHook$1(name, options) { +function initHook(name, options) { const oldHook = options[name]; if (!oldHook) { options[name] = function () { @@ -825,11 +825,11 @@ function initHook$1(name, options) { } } Page = function (options) { - initHook$1('onLoad', options); + initHook('onLoad', options); return MPPage(options); }; Component = function (options) { - initHook$1('created', options); + initHook('created', options); return MPComponent(options); }; diff --git a/packages/uni-quickapp-webview/dist/uni.mp.esm.js b/packages/uni-quickapp-webview/dist/uni.mp.esm.js index 7527a4133c02c1222ab0f475667a7409ae9ad8b9..94e64acb7dce4b56711b7365ee168fd9ec9fe9c4 100644 --- a/packages/uni-quickapp-webview/dist/uni.mp.esm.js +++ b/packages/uni-quickapp-webview/dist/uni.mp.esm.js @@ -146,7 +146,7 @@ function findHooks(vueOptions, hooks = new Set()) { } return hooks; } -function initHook(mpOptions, hook, excludes) { +function initHook$1(mpOptions, hook, excludes) { if (excludes.indexOf(hook) === -1 && !hasOwn(mpOptions, hook)) { mpOptions[hook] = function (args) { return this.$vm && this.$vm.$callHook(hook, args); @@ -155,10 +155,10 @@ function initHook(mpOptions, hook, excludes) { } const EXCLUDE_HOOKS = ['onReady']; function initHooks(mpOptions, hooks, excludes = EXCLUDE_HOOKS) { - hooks.forEach((hook) => initHook(mpOptions, hook, excludes)); + hooks.forEach((hook) => initHook$1(mpOptions, hook, excludes)); } function initUnknownHooks(mpOptions, vueOptions, excludes = EXCLUDE_HOOKS) { - findHooks(vueOptions).forEach((hook) => initHook(mpOptions, hook, excludes)); + findHooks(vueOptions).forEach((hook) => initHook$1(mpOptions, hook, excludes)); } const HOOKS = [ @@ -791,7 +791,7 @@ function initTriggerEvent(mpInstance) { return oldTriggerEvent.apply(mpInstance, [customize(event), ...args]); }; } -function initHook$1(name, options) { +function initHook(name, options) { const oldHook = options[name]; if (!oldHook) { options[name] = function () { @@ -806,11 +806,11 @@ function initHook$1(name, options) { } } Page = function (options) { - initHook$1('onLoad', options); + initHook('onLoad', options); return MPPage(options); }; Component = function (options) { - initHook$1('created', options); + initHook('created', options); return MPComponent(options); }; @@ -899,7 +899,7 @@ function initInjections(instance) { } } -function initLifetimes({ mocks, isPage, initRelation, vueOptions, }) { +function initLifetimes$1({ mocks, isPage, initRelation, vueOptions, }) { return { attached() { const properties = this.properties; @@ -941,8 +941,8 @@ function parse(componentOptions, { handleLink }) { componentOptions.methods.__l = handleLink; } -function initLifetimes$1(lifetimesOptions) { - return extend(initLifetimes(lifetimesOptions), { +function initLifetimes(lifetimesOptions) { + return extend(initLifetimes$1(lifetimesOptions), { ready() { if (this.$vm && lifetimesOptions.isPage(this)) { if (this.pageinstance) { @@ -1037,7 +1037,7 @@ var parseComponentOptions = /*#__PURE__*/Object.freeze({ mocks: mocks, isPage: isPage, parse: parse, - initLifetimes: initLifetimes + initLifetimes: initLifetimes$1 }); var parsePageOptions = /*#__PURE__*/Object.freeze({ @@ -1047,7 +1047,7 @@ var parsePageOptions = /*#__PURE__*/Object.freeze({ initRelation: initRelation, handleLink: handleLink, parse: parse, - initLifetimes: initLifetimes$1 + initLifetimes: initLifetimes }); const createApp = initCreateApp(); diff --git a/packages/vite-plugin-uni/package.json b/packages/vite-plugin-uni/package.json index fd9173708bd297228773b82f73bf680361812af1..c1f76a5655866d1387666b306517dc53dd273c4f 100644 --- a/packages/vite-plugin-uni/package.json +++ b/packages/vite-plugin-uni/package.json @@ -32,7 +32,7 @@ "peerDependencies": { "@dcloudio/uni-cli-shared": "^3.0.0", "@dcloudio/uni-shared": "^3.0.0", - "vite": "^2.0.5" + "vite": "^2.1.0" }, "devDependencies": { "@types/sass": "^1.16.0" diff --git a/rollup.config.js b/rollup.config.js index e7891bd49b80325d5ce1617e122f806cf792c8d1..8a1be145289d820a38cee5ab18f854cfd752a932 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -126,5 +126,5 @@ function createReplacePlugin(buildOptions) { replacements[key] = process.env[key] } }) - return replace(replacements) + return replace({ values: replacements, preventAssignment: true }) } diff --git a/yarn.lock b/yarn.lock index ba5082b94ca45a20317c2779242ff2f636fc02ae..57242d5247813be2dd3cbfb1d5ebb2a4adbf1e76 100644 --- a/yarn.lock +++ b/yarn.lock @@ -17,9 +17,9 @@ "@babel/highlight" "^7.12.13" "@babel/compat-data@^7.13.8": - version "7.13.8" - resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.13.8.tgz#5b783b9808f15cef71547f1b691f34f8ff6003a6" - integrity sha512-EaI33z19T4qN3xLXsGf48M2cDqa6ei9tPZlfLdb2HC+e/cFtREiRd8hdSqDbwdLB0/+gLwqJmCYASH0z2bUdog== + version "7.13.11" + resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.13.11.tgz#9c8fe523c206979c9a81b1e12fe50c1254f1aa35" + integrity sha512-BwKEkO+2a67DcFeS3RLl0Z3Gs2OvdXewuWjc1Hfokhb5eQWP9YRYH1/+VrVZvql2CfjOiNGqSAFOYt4lsqTHzg== "@babel/core@^7.1.0", "@babel/core@^7.7.5": version "7.13.10" @@ -172,9 +172,9 @@ js-tokens "^4.0.0" "@babel/parser@^7.1.0", "@babel/parser@^7.12.0", "@babel/parser@^7.12.13", "@babel/parser@^7.13.0", "@babel/parser@^7.13.10": - version "7.13.10" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.13.10.tgz#8f8f9bf7b3afa3eabd061f7a5bcdf4fec3c48409" - integrity sha512-0s7Mlrw9uTWkYua7xWr99Wpk2bnGa0ANleKfksYAES8LpWH4gW1OUr42vqKNf0us5UQNfru2wPqMqRITzq/SIQ== + version "7.13.11" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.13.11.tgz#f93ebfc99d21c1772afbbaa153f47e7ce2f50b88" + integrity sha512-PhuoqeHoO9fc4ffMEVk4qb/w/s2iOSWohvbHxLtxui0eBg3Lg5gN1U8wp1V1u61hOWkPQJJyJzGH6Y+grwkq8Q== "@babel/plugin-syntax-async-generators@^7.8.4": version "7.8.4" @@ -521,7 +521,7 @@ "@microsoft/tsdoc" "0.12.24" "@rushstack/node-core-library" "3.36.0" -"@microsoft/api-extractor@^7.12.1": +"@microsoft/api-extractor@^7.13.2": version "7.13.2" resolved "https://registry.yarnpkg.com/@microsoft/api-extractor/-/api-extractor-7.13.2.tgz#c44762d27aee05c4da16c03fc8786bd0fa31c7eb" integrity sha512-2fD0c8OxZW+e6NTaxbtrdNxXVuX7aqil3+cqig3pKsHymvUuRJVCEAcAJmZrJ/ENqYXNiB265EyqOT6VxbMysw== @@ -681,9 +681,9 @@ integrity sha512-ebDJ9b0e702Yr7pWgB0jzm+CX4Srzz8RcXtLJDJB+BSccqMa36uyH/zUsSYao5+BD1ytv3k3rPYCq4mAE1hsXA== "@types/babel__core@^7.0.0", "@types/babel__core@^7.1.7": - version "7.1.12" - resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.1.12.tgz#4d8e9e51eb265552a7e4f1ff2219ab6133bdfb2d" - integrity sha512-wMTHiiTiBAAPebqaPiPDLFA4LYPKr6Ph0Xq/6rq1Ur3v66HXyG+clfR9CNETkD7MQS8ZHvpQOtA53DLws5WAEQ== + version "7.1.13" + resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.1.13.tgz#bc6eea53975fdf163aff66c086522c6f293ae4cf" + integrity sha512-CC6amBNND16pTk4K3ZqKIaba6VGKAQs3gMjEY17FVd56oI/ZWt9OhS6riYiWv9s8ENbYUi7p8lgqb0QHQvUKQQ== dependencies: "@babel/parser" "^7.1.0" "@babel/types" "^7.0.0" @@ -707,9 +707,9 @@ "@babel/types" "^7.0.0" "@types/babel__traverse@*", "@types/babel__traverse@^7.0.4", "@types/babel__traverse@^7.0.6": - version "7.11.0" - resolved "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.11.0.tgz#b9a1efa635201ba9bc850323a8793ee2d36c04a0" - integrity sha512-kSjgDMZONiIfSH1Nxcr5JIRMwUetDki63FSQfpTCz8ogF3Ulqm8+mr5f78dUYs6vMiB6gBusQqfQmBvHZj/lwg== + version "7.11.1" + resolved "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.11.1.tgz#654f6c4f67568e24c23b367e947098c6206fa639" + integrity sha512-Vs0hm0vPahPMYi9tDjtP66llufgO3ST16WXaSTtDGEl9cewAl3AibmxWw6TINOqHPT9z0uABKAYjT9jNSg4npw== dependencies: "@babel/types" "^7.3.0" @@ -775,9 +775,9 @@ pretty-format "^26.0.0" "@types/node@*", "@types/node@^14.14.20": - version "14.14.33" - resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.33.tgz#9e4f8c64345522e4e8ce77b334a8aaa64e2b6c78" - integrity sha512-oJqcTrgPUF29oUP8AsUqbXGJNuPutsetaa9kTQAQce5Lx5dTYWV02ScBiT/k1BX/Z7pKeqedmvp39Wu4zR7N7g== + version "14.14.35" + resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.35.tgz#42c953a4e2b18ab931f72477e7012172f4ffa313" + integrity sha512-Lt+wj8NVPx0zUmUwumiVXapmaLUcAk3yPuHCFVXras9k5VT9TdhJqKqGVUQCD60OTMCl0qxJ57OiTL0Mic3Iag== "@types/node@10.17.13": version "10.17.13" @@ -795,9 +795,9 @@ integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== "@types/prettier@^2.0.0": - version "2.2.2" - resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.2.2.tgz#e2280c89ddcbeef340099d6968d8c86ba155fdf6" - integrity sha512-i99hy7Ki19EqVOl77WplDrvgNugHnsSjECVR/wUrzw2TJXz1zlUfT2ngGckR6xN7yFYaijsMAqPkOLx9HgUqHg== + version "2.2.3" + resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.2.3.tgz#ef65165aea2924c9359205bf748865b8881753c0" + integrity sha512-PijRCG/K3s3w1We6ynUKdxEc5AcuuH3NBmMDP8uvKVp6X43UY7NQlTzczakXP3DJR0F4dfNQIGjU2cUeRYs2AA== "@types/puppeteer@^5.4.2": version "5.4.3" @@ -838,47 +838,47 @@ "@types/yargs-parser" "*" "@typescript-eslint/parser@^4.12.0": - version "4.17.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-4.17.0.tgz#141b647ffc72ebebcbf9b0fe6087f65b706d3215" - integrity sha512-KYdksiZQ0N1t+6qpnl6JeK9ycCFprS9xBAiIrw4gSphqONt8wydBw4BXJi3C11ywZmyHulvMaLjWsxDjUSDwAw== + version "4.18.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-4.18.0.tgz#a211edb14a69fc5177054bec04c95b185b4dde21" + integrity sha512-W3z5S0ZbecwX3PhJEAnq4mnjK5JJXvXUDBYIYGoweCyWyuvAKfGHvzmpUzgB5L4cRBb+cTu9U/ro66dx7dIimA== dependencies: - "@typescript-eslint/scope-manager" "4.17.0" - "@typescript-eslint/types" "4.17.0" - "@typescript-eslint/typescript-estree" "4.17.0" + "@typescript-eslint/scope-manager" "4.18.0" + "@typescript-eslint/types" "4.18.0" + "@typescript-eslint/typescript-estree" "4.18.0" debug "^4.1.1" -"@typescript-eslint/scope-manager@4.17.0": - version "4.17.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-4.17.0.tgz#f4edf94eff3b52a863180f7f89581bf963e3d37d" - integrity sha512-OJ+CeTliuW+UZ9qgULrnGpPQ1bhrZNFpfT/Bc0pzNeyZwMik7/ykJ0JHnQ7krHanFN9wcnPK89pwn84cRUmYjw== +"@typescript-eslint/scope-manager@4.18.0": + version "4.18.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-4.18.0.tgz#d75b55234c35d2ff6ac945758d6d9e53be84a427" + integrity sha512-olX4yN6rvHR2eyFOcb6E4vmhDPsfdMyfQ3qR+oQNkAv8emKKlfxTWUXU5Mqxs2Fwe3Pf1BoPvrwZtwngxDzYzQ== dependencies: - "@typescript-eslint/types" "4.17.0" - "@typescript-eslint/visitor-keys" "4.17.0" + "@typescript-eslint/types" "4.18.0" + "@typescript-eslint/visitor-keys" "4.18.0" -"@typescript-eslint/types@4.17.0": - version "4.17.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.17.0.tgz#f57d8fc7f31b348db946498a43050083d25f40ad" - integrity sha512-RN5z8qYpJ+kXwnLlyzZkiJwfW2AY458Bf8WqllkondQIcN2ZxQowAToGSd9BlAUZDB5Ea8I6mqL2quGYCLT+2g== +"@typescript-eslint/types@4.18.0": + version "4.18.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.18.0.tgz#bebe323f81f2a7e2e320fac9415e60856267584a" + integrity sha512-/BRociARpj5E+9yQ7cwCF/SNOWwXJ3qhjurMuK2hIFUbr9vTuDeu476Zpu+ptxY2kSxUHDGLLKy+qGq2sOg37A== -"@typescript-eslint/typescript-estree@4.17.0": - version "4.17.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.17.0.tgz#b835d152804f0972b80dbda92477f9070a72ded1" - integrity sha512-lRhSFIZKUEPPWpWfwuZBH9trYIEJSI0vYsrxbvVvNyIUDoKWaklOAelsSkeh3E2VBSZiNe9BZ4E5tYBZbUczVQ== +"@typescript-eslint/typescript-estree@4.18.0": + version "4.18.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.18.0.tgz#756d3e61da8c16ab99185532c44872f4cd5538cb" + integrity sha512-wt4xvF6vvJI7epz+rEqxmoNQ4ZADArGQO9gDU+cM0U5fdVv7N+IAuVoVAoZSOZxzGHBfvE3XQMLdy+scsqFfeg== dependencies: - "@typescript-eslint/types" "4.17.0" - "@typescript-eslint/visitor-keys" "4.17.0" + "@typescript-eslint/types" "4.18.0" + "@typescript-eslint/visitor-keys" "4.18.0" debug "^4.1.1" globby "^11.0.1" is-glob "^4.0.1" semver "^7.3.2" tsutils "^3.17.1" -"@typescript-eslint/visitor-keys@4.17.0": - version "4.17.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.17.0.tgz#9c304cfd20287c14a31d573195a709111849b14d" - integrity sha512-WfuMN8mm5SSqXuAr9NM+fItJ0SVVphobWYkWOwQ1odsfC014Vdxk/92t4JwS1Q6fCA/ABfCKpa3AVtpUKTNKGQ== +"@typescript-eslint/visitor-keys@4.18.0": + version "4.18.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.18.0.tgz#4e6fe2a175ee33418318a029610845a81e2ff7b6" + integrity sha512-Q9t90JCvfYaN0OfFUgaLqByOfz8yPeTAdotn/XYNm5q9eHax90gzdb+RJ6E9T5s97Kv/UHWKERTmqA0jTKAEHw== dependencies: - "@typescript-eslint/types" "4.17.0" + "@typescript-eslint/types" "4.18.0" eslint-visitor-keys "^2.0.0" "@vitejs/plugin-vue@^1.0.4": @@ -1478,9 +1478,9 @@ camelcase@^6.0.0: integrity sha512-c7wVvbw3f37nuobQNtgsgG9POC9qMbNuMQmTCqZv23b6MIz0fcYpBiOlv9gEN/hdLdnZTDQhg6e9Dq5M1vKvfg== caniuse-lite@^1.0.30001181: - version "1.0.30001199" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001199.tgz#062afccaad21023e2e647d767bac4274b8b8fd7f" - integrity sha512-ifbK2eChUCFUwGhlEzIoVwzFt1+iriSjyKKFYNfv6hN34483wyWpLLavYQXhnR036LhkdUYaSDpHg1El++VgHQ== + version "1.0.30001200" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001200.tgz#25435af6ba907c2a9c86d21ce84950d4824e6620" + integrity sha512-ic/jXfa6tgiPBAISWk16jRI2q8YfjxHnSG7ddSL1ptrIP8Uy11SayFrjXRAk3NumHpDb21fdTkbTxb/hOrFrnQ== capture-exit@^2.0.0: version "2.0.0" @@ -1967,9 +1967,9 @@ ecc-jsbn@~0.1.1: safer-buffer "^2.1.0" electron-to-chromium@^1.3.649: - version "1.3.687" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.687.tgz#c336184b7ab70427ffe2ee79eaeaedbc1ad8c374" - integrity sha512-IpzksdQNl3wdgkzf7dnA7/v10w0Utf1dF2L+B4+gKrloBrxCut+au+kky3PYvle3RMdSxZP+UiCZtLbcYRxSNQ== + version "1.3.689" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.689.tgz#0f4082467c109844b79a7b32a2649c9ab6a6c822" + integrity sha512-WCn+ZaU3V8WttlLNSOGOAlR2XpxibGre7slwGrYBB6oTjYPgP29LNDGG6wLvLTMseLdE+G1vno7PfY7JyDV48g== elliptic@^6.5.3: version "6.5.4" @@ -2027,10 +2027,10 @@ error-ex@^1.3.1: dependencies: is-arrayish "^0.2.1" -esbuild@^0.8.52: - version "0.8.57" - resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.8.57.tgz#a42d02bc2b57c70bcd0ef897fe244766bb6dd926" - integrity sha512-j02SFrUwFTRUqiY0Kjplwjm1psuzO1d6AjaXKuOR9hrY0HuPsT6sV42B6myW34h1q4CRy+Y3g4RU/cGJeI/nNA== +esbuild@^0.9.2: + version "0.9.2" + resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.9.2.tgz#7e9fde247c913ed8ee059e2648b0c53f7d00abe5" + integrity sha512-xE3oOILjnmN8PSjkG3lT9NBbd1DbxNqolJ5qNyrLhDWsFef3yTp/KTQz1C/x7BYFKbtrr9foYtKA6KA1zuNAUQ== escalade@^3.1.1: version "3.1.1" @@ -2085,9 +2085,9 @@ eslint-visitor-keys@^2.0.0: integrity sha512-QudtT6av5WXels9WjIM7qz1XD1cWGvX4gGXvp/zBn9nXG02D0utdU3Em2m/QjTnrsk6bBjmCygl3rmj118msQQ== eslint@^7.17.0: - version "7.21.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-7.21.0.tgz#4ecd5b8c5b44f5dedc9b8a110b01bbfeb15d1c83" - integrity sha512-W2aJbXpMNofUp0ztQaF40fveSsJBjlSCSWpy//gzfTvwC+USs/nceBrKmlJOiM8r1bLwP2EuYkCqArn/6QTIgg== + version "7.22.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-7.22.0.tgz#07ecc61052fec63661a2cab6bd507127c07adc6f" + integrity sha512-3VawOtjSJUQiiqac8MQc+w457iGLfuNGLFn8JmF051tTKbh5/x/0vlcEj8OgDCaw7Ysa2Jn8paGshV7x2abKXg== dependencies: "@babel/code-frame" "7.12.11" "@eslint/eslintrc" "^0.4.0" @@ -2106,7 +2106,7 @@ eslint@^7.17.0: file-entry-cache "^6.0.1" functional-red-black-tree "^1.0.1" glob-parent "^5.0.0" - globals "^12.1.0" + globals "^13.6.0" ignore "^4.0.6" import-fresh "^3.0.0" imurmurhash "^0.1.4" @@ -2114,7 +2114,7 @@ eslint@^7.17.0: js-yaml "^3.13.1" json-stable-stringify-without-jsonify "^1.0.1" levn "^0.4.1" - lodash "^4.17.20" + lodash "^4.17.21" minimatch "^3.0.4" natural-compare "^1.4.0" optionator "^0.9.1" @@ -2595,6 +2595,13 @@ globals@^12.1.0: dependencies: type-fest "^0.8.1" +globals@^13.6.0: + version "13.6.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-13.6.0.tgz#d77138e53738567bb96a3916ff6f6b487af20ef7" + integrity sha512-YFKCX0SiPg7l5oKYCJ2zZGxcXprVXHcSnVuvzrT3oSENQonVLqM5pf9fN5dLGZGyCjhw8TN8Btwe/jKnZ0pjvQ== + dependencies: + type-fest "^0.20.2" + globby@^11.0.1: version "11.0.2" resolved "https://registry.yarnpkg.com/globby/-/globby-11.0.2.tgz#1af538b766a3b540ebfb58a32b2e2d5897321d83" @@ -3500,9 +3507,9 @@ jsbn@~0.1.0: integrity sha1-peZUwuWi3rXyAdls77yoDA7y9RM= jsdom@^16.4.0: - version "16.5.0" - resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-16.5.0.tgz#9e453505600cc5a70b385750d35256f380730cc4" - integrity sha512-QxZH0nmDTnTTVI0YDm4RUlaUPl5dcyn62G5TMDNfMmTW+J1u1v9gCR8WR+WZ6UghAa7nKJjDOFaI00eMMWvJFQ== + version "16.5.1" + resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-16.5.1.tgz#4ced6bbd7b77d67fb980e64d9e3e6fb900f97dd6" + integrity sha512-pF73EOsJgwZekbDHEY5VO/yKXUkab/DuvrQB/ANVizbr6UAHJsDdHXuotZYwkJSGQl1JM+ivXaqY+XBDDL4TiA== dependencies: abab "^2.0.5" acorn "^8.0.5" @@ -3823,7 +3830,7 @@ lodash.sortby@^4.7.0: resolved "https://registry.yarnpkg.com/lodash.sortby/-/lodash.sortby-4.7.0.tgz#edd14c824e2cc9c1e0b0a1b42bb5210516a42438" integrity sha1-7dFMgk4sycHgsKG0K7UhBRakJDg= -lodash@4.x, lodash@^4.17.19, lodash@^4.17.20, lodash@~4.17.15: +lodash@4.x, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.21, lodash@~4.17.15: version "4.17.21" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== @@ -4051,9 +4058,9 @@ ms@2.1.2: integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== nanoid@^3.1.20: - version "3.1.21" - resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.1.21.tgz#25bfee7340ac4185866fbfb2c9006d299da1be7f" - integrity sha512-A6oZraK4DJkAOICstsGH98dvycPr/4GGDH7ZWKmMdd3vGcOurZ6JmWFUt0DA5bzrrn2FrUjmv6mFNWvv8jpppA== + version "3.1.22" + resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.1.22.tgz#b35f8fb7d151990a8aebd5aa5015c03cf726f844" + integrity sha512-/2ZUaJX2ANuLtTvqTlgqBQNJoQO398KyJgZloL0PZkC0dpysjncRUPsFe3DUPzz/y3h+u7C46np8RMuvF3jsSQ== nanomatch@^1.2.9: version "1.2.13" @@ -4856,9 +4863,9 @@ rollup-pluginutils@^2.3.1, rollup-pluginutils@^2.8.2: estree-walker "^0.6.1" rollup@^2.35.1, rollup@^2.38.5: - version "2.41.1" - resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.41.1.tgz#c7c7ada42b13be505facd516f13fb697c24c1116" - integrity sha512-nepLFAW5W71/MWpS2Yr7r31eS7HRfYg2RXnxb6ehqN9zY42yACxKtEfb4xq8SmNfUohAzGMcyl6jkwdLOAiUbg== + version "2.41.2" + resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.41.2.tgz#b7db5cb7c21c2d524e8b26ef39c7e9808a290c7e" + integrity sha512-6u8fJJXJx6fmvKrAC9DHYZgONvSkz8S9b/VFBjoQ6dkKdHyPpPbpqiNl2Bao9XBzDHpq672X6sGZ9G1ZBqAHMg== optionalDependencies: fsevents "~2.3.1" @@ -5506,6 +5513,11 @@ type-fest@^0.11.0: resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.11.0.tgz#97abf0872310fed88a5c466b25681576145e33f1" integrity sha512-OdjXJxnCN1AvyLSzeKIgXTXxV+99ZuXl3Hpo9XpJAv9MBcHrrJOQ5kV7ypXOuQie+AmWG25hLbiKdwYTifzcfQ== +type-fest@^0.20.2: + version "0.20.2" + resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.20.2.tgz#1bf207f4b28f91583666cb5fbd327887301cd5f4" + integrity sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ== + type-fest@^0.6.0: version "0.6.0" resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.6.0.tgz#8d2a2370d3df886eb5c90ada1c5bf6188acf838b" @@ -5533,11 +5545,6 @@ typedarray@^0.0.6: resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= -typescript@^4.1.3: - version "4.2.3" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.2.3.tgz#39062d8019912d43726298f09493d598048c1ce3" - integrity sha512-qOcYwxaByStAWrBf4x0fibwZvMRG+r4cQoTjbPtUlrWjBHbmCAww1i448U0GJ+3cNNEtebDteo/cHOR3xJ4wEw== - typescript@~4.1.3: version "4.1.5" resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.1.5.tgz#123a3b214aaff3be32926f0d8f1f6e704eb89a72" @@ -5644,12 +5651,12 @@ verror@1.10.0: core-util-is "1.0.2" extsprintf "^1.2.0" -vite@^2.0.5: - version "2.0.5" - resolved "https://registry.yarnpkg.com/vite/-/vite-2.0.5.tgz#ac46857a3fa8686d077921e61bd48a986931df1d" - integrity sha512-QTgEDbq1WsTtr6j+++ewjhBFEk6c8v0xz4fb/OWJQKNYU8ZZtphOshwOqAlnarSstPBtWCBR0tsugXx6ajfoUg== +vite@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/vite/-/vite-2.1.0.tgz#fdaab9cca360a88b654eaf942d13be29ed0958eb" + integrity sha512-qWYmX8slkv91C3hWA2iu0o0ZvFbO2dSfWIN4dbMfSeMdNn+XeirkGWU3dy5/W1Nv13cQZvVoMTl8zyC13VFRZQ== dependencies: - esbuild "^0.8.52" + esbuild "^0.9.2" postcss "^8.2.1" resolve "^1.19.0" rollup "^2.38.5" @@ -5850,9 +5857,9 @@ yallist@^4.0.0: integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== yaml@^1.10.0: - version "1.10.0" - resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.0.tgz#3b593add944876077d4d683fee01081bd9fff31e" - integrity sha512-yr2icI4glYaNG+KWONODapy2/jDdMSDnrONSjblABjD9B4Z5LgiircSt8m8sRZFNi08kG9Sm0uSHtEmP3zaEGg== + version "1.10.2" + resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" + integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== yargs-parser@20.x: version "20.2.7"