diff --git a/.size-limit.js b/.size-limit.js deleted file mode 100644 index d715a6175b23e388ab0a7645a01e9279c63bef13..0000000000000000000000000000000000000000 --- a/.size-limit.js +++ /dev/null @@ -1,38 +0,0 @@ -module.exports = [ - { - path: 'packages/size-check/dist/assets', - running: false, - }, - { - path: 'packages/uni-h5-vue/dist', - running: false, - }, - { - path: 'packages/uni-mp-vue/dist', - running: false, - }, - { - path: 'packages/uni-mp-alipay/dist', - running: false, - }, - { - path: 'packages/uni-mp-baidu/dist', - running: false, - }, - { - path: 'packages/uni-mp-qq/dist', - running: false, - }, - { - path: 'packages/uni-mp-toutiao/dist', - running: false, - }, - { - path: 'packages/uni-mp-weixin/dist', - running: false, - }, - { - path: 'packages/uni-quickapp-webview/dist', - running: false, - }, -] diff --git a/package.json b/package.json index 4482d62814273d242bff6190e82e9e60e7eb48c0..af10630148f4d9ddd6d18a9ed3f40bbac083198e 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,6 @@ "@rollup/plugin-node-resolve": "^11.0.1", "@rollup/plugin-replace": "^2.3.4", "@rollup/plugin-strip": "^2.0.0", - "@size-limit/preset-app": "^4.10.1", "@types/css-font-loading-module": "^0.0.4", "@types/debug": "^4.1.5", "@types/es-module-lexer": "^0.3.0", @@ -73,7 +72,6 @@ "rollup-plugin-typescript2": "^0.29.0", "rollup-plugin-vue": "^6.0.0", "semver": "^7.3.4", - "size-limit": "^4.10.1", "ts-jest": "^26.4.4", "typescript": "~4.1.3", "vite": "^2.2.4", diff --git a/packages/global.d.ts b/packages/global.d.ts index 3e9a69d124749668823e25f2f845cac4198afc42..93be547188d6262646717fa2b77abb6ef0825713 100644 --- a/packages/global.d.ts +++ b/packages/global.d.ts @@ -6,6 +6,11 @@ declare var __PLATFORM__: UniApp.PLATFORM declare var __PLATFORM_PREFIX__: 'wx' | 'qq' | 'my' | 'swan' | 'tt' | 'qa' declare var __GLOBAL__: Record +// importMeta(es|cjs) +declare var __IMPORT_META_ENV_BASE_URL__: + | 'import.meta.env.BASE_URL' + | '__IMPORT_META_ENV_BASE_URL__' + // Global compile-time constants declare var __DEV__: boolean declare var __TEST__: boolean diff --git a/packages/playground/ssr/src/manifest.json b/packages/playground/ssr/src/manifest.json index 8f280c8f79d89e39f12298e4387b83b0377c106b..5fe639a21366abb971031820874bd8dac879249f 100644 --- a/packages/playground/ssr/src/manifest.json +++ b/packages/playground/ssr/src/manifest.json @@ -1,71 +1,71 @@ { - "name" : "hello", - "appid" : "__UNI__4DCD124", - "description" : "", - "versionName" : "1.0.0", - "versionCode" : "100", - "transformPx" : false, - /* 5+App特有相关 */ - "app-plus" : { - "usingComponents" : true, - "nvueStyleCompiler" : "uni-app", - "compilerVersion" : 3, - "splashscreen" : { - "alwaysShowBeforeRender" : true, - "waiting" : true, - "autoclose" : true, - "delay" : 0 - }, - /* 模块配置 */ - "modules" : {}, - /* 应用发布信息 */ - "distribute" : { - /* android打包配置 */ - "android" : { - "permissions" : [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ] - }, - /* ios打包配置 */ - "ios" : {}, - /* SDK配置 */ - "sdkConfigs" : {} - } + "name": "hello", + "appid": "__UNI__4DCD124", + "description": "", + "versionName": "1.0.0", + "versionCode": "100", + "transformPx": false, + /* 5+App特有相关 */ + "app-plus": { + "usingComponents": true, + "nvueStyleCompiler": "uni-app", + "compilerVersion": 3, + "splashscreen": { + "alwaysShowBeforeRender": true, + "waiting": true, + "autoclose": true, + "delay": 0 }, - /* 快应用特有相关 */ - "quickapp" : {}, - /* 小程序特有相关 */ - "mp-weixin" : { - "appid" : "", - "setting" : { - "urlCheck" : false - }, - "usingComponents" : true - }, - "mp-alipay" : { - "usingComponents" : true - }, - "mp-baidu" : { - "usingComponents" : true - }, - "mp-toutiao" : { - "usingComponents" : true - }, - "uniStatistics": { - "enable": false + /* 模块配置 */ + "modules": {}, + /* 应用发布信息 */ + "distribute": { + /* android打包配置 */ + "android": { + "permissions": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ] + }, + /* ios打包配置 */ + "ios": {}, + /* SDK配置 */ + "sdkConfigs": {} } + }, + /* 快应用特有相关 */ + "quickapp": {}, + /* 小程序特有相关 */ + "mp-weixin": { + "appid": "", + "setting": { + "urlCheck": false + }, + "usingComponents": true + }, + "mp-alipay": { + "usingComponents": true + }, + "mp-baidu": { + "usingComponents": true + }, + "mp-toutiao": { + "usingComponents": true + }, + "uniStatistics": { + "enable": false + } } diff --git a/packages/playground/ssr/yarn.lock b/packages/playground/ssr/yarn.lock index 2a9082f5888d8ecbfa3351ab2f2baccf9f3abb1a..210f9ebb0677ae91bf47e26c0a26faeb4dd5ed8e 100644 --- a/packages/playground/ssr/yarn.lock +++ b/packages/playground/ssr/yarn.lock @@ -1917,9 +1917,9 @@ postcss-modules@^4.0.0: string-hash "^1.1.1" postcss-selector-parser@^6.0.2, postcss-selector-parser@^6.0.4: - version "6.0.5" - resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-6.0.5.tgz#042d74e137db83e6f294712096cb413f5aa612c4" - integrity sha512-aFYPoYmXbZ1V6HZaSvat08M97A8HqO6Pjz+PiNpw/DhuRrC72XWAdp3hL6wusDCN31sSmcZyMGa2hZEuX+Xfhg== + version "6.0.6" + resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-6.0.6.tgz#2c5bba8174ac2f6981ab631a42ab0ee54af332ea" + integrity sha512-9LXrvaaX3+mcv5xkg5kFwqSzSH1JIObIx51PrndZwlmznwXRfxMddDvo9gve3gVR8ZTKgoFDdWkbRFmEhT4PMg== dependencies: cssesc "^3.0.0" util-deprecate "^1.0.2" diff --git a/packages/uni-h5/dist/uni-h5.cjs.js b/packages/uni-h5/dist/uni-h5.cjs.js index 0d52fc7f5db92ce4599b7e49fb598b6e7c9c6f6e..4d70c4bfd2e1f850d9d1a9fa31667e0cf38ecbbe 100644 --- a/packages/uni-h5/dist/uni-h5.cjs.js +++ b/packages/uni-h5/dist/uni-h5.cjs.js @@ -1,20 +1,4 @@ "use strict"; -var __defProp = Object.defineProperty; -var __hasOwnProp = Object.prototype.hasOwnProperty; -var __getOwnPropSymbols = Object.getOwnPropertySymbols; -var __propIsEnum = Object.prototype.propertyIsEnumerable; -var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, {enumerable: true, configurable: true, writable: true, value}) : obj[key] = value; -var __assign = (a2, b) => { - for (var prop in b || (b = {})) - if (__hasOwnProp.call(b, prop)) - __defNormalProp(a2, prop, b[prop]); - if (__getOwnPropSymbols) - for (var prop of __getOwnPropSymbols(b)) { - if (__propIsEnum.call(b, prop)) - __defNormalProp(a2, prop, b[prop]); - } - return a2; -}; Object.defineProperty(exports, "__esModule", {value: true}); exports[Symbol.toStringTag] = "Module"; var shared = require("@vue/shared"); @@ -770,17 +754,9 @@ function defineAsyncApi(name, fn, protocol, options) { } const SCHEME_RE = /^([a-z-]+:)?\/\//i; const DATA_RE = /^data:.*,.*/; +const baseUrl = __IMPORT_META_ENV_BASE_URL__; function addBase(filePath) { - const base = __uniConfig.router.base; - if (!base) { - return filePath; - } - if (base !== "/") { - if (("/" + filePath).indexOf(base) === 0) { - return "/" + filePath; - } - } - return base + filePath; + return baseUrl + filePath; } function getRealPath(filePath) { if (__uniConfig.router.base === "./") { @@ -1425,7 +1401,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) { vue.createVNode("audio", { ref: "audio", loop: $props.loop, - style: {display: "none"} + style: {"display": "none"} }, null, 8, ["loop"]), vue.createVNode("div", _hoisted_1$6, [ vue.createVNode("div", { @@ -1638,12 +1614,12 @@ var index$q = /* @__PURE__ */ vue.defineComponent({ const booleanAttrs = useBooleanAttr(props2, "disabled"); if (hoverClass && hoverClass !== "none") { return vue.createVNode("uni-button", vue.mergeProps({ - onClick, - class: hovering.value ? hoverClass : "" + "onClick": onClick, + "class": hovering.value ? hoverClass : "" }, binding, booleanAttrs), [slots.default && slots.default()], 16, ["onClick"]); } return vue.createVNode("uni-button", vue.mergeProps({ - onClick + "onClick": onClick }, booleanAttrs), [slots.default && slots.default()], 16, ["onClick"]); }; } @@ -1664,12 +1640,12 @@ var ResizeSensor = /* @__PURE__ */ vue.defineComponent({ const reset = useResizeSensorReset(rootRef); const update = useResizeSensorUpdate(rootRef, emit2, reset); return () => vue.createVNode("uni-resize-sensor", { - ref: rootRef, - onAnimationstartOnce: update + "ref": rootRef, + "onAnimationstartOnce": update }, [vue.createVNode("div", { - onScroll: update + "onScroll": update }, [vue.createVNode("div", null, null)], 40, ["onScroll"]), vue.createVNode("div", { - onScroll: update + "onScroll": update }, [vue.createVNode("div", null, null)], 40, ["onScroll"])], 40, ["onAnimationstartOnce"]); } }); @@ -2215,13 +2191,13 @@ const _hoisted_1$5 = { width: "300", height: "150" }; -const _hoisted_2$2 = {style: {position: "absolute", top: "0", left: "0", width: "100%", height: "100%", overflow: "hidden"}}; +const _hoisted_2$2 = {style: {"position": "absolute", "top": "0", "left": "0", "width": "100%", "height": "100%", "overflow": "hidden"}}; function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) { const _component_ResizeSensor = vue.resolveComponent("ResizeSensor"); return vue.openBlock(), vue.createBlock("uni-canvas", vue.mergeProps({ "canvas-id": $props.canvasId, "disable-scroll": $props.disableScroll - }, __assign(__assign({}, $setup.Attrs), $setup.ExcludeAttrs), vue.toHandlers($options._listeners)), [ + }, {...$setup.Attrs, ...$setup.ExcludeAttrs}, vue.toHandlers($options._listeners)), [ vue.createVNode("canvas", _hoisted_1$5, null, 512), vue.createVNode("div", _hoisted_2$2, [ vue.renderSlot(_ctx.$slots, "default") @@ -2253,7 +2229,7 @@ var index$p = /* @__PURE__ */ vue.defineComponent({ useProvideCheckGroup(props2, trigger); return () => { return vue.createVNode("uni-checkbox-group", { - ref: rootRef + "ref": rootRef }, [slots.default && slots.default()], 512); }; } @@ -2329,10 +2305,10 @@ var index$o = /* @__PURE__ */ vue.defineComponent({ } }); return () => vue.createVNode("uni-label", { - class: { + "class": { "uni-label-pointer": pointer }, - onClick: _onClick + "onClick": _onClick }, [slots.default && slots.default()], 10, ["onClick"]); } }); @@ -2404,11 +2380,11 @@ var index$n = /* @__PURE__ */ vue.defineComponent({ booleanAttrs } = useBooleanAttr(props2, "disabled"); return vue.createVNode("uni-checkbox", vue.mergeProps(booleanAttrs, { - onClick: _onClick + "onClick": _onClick }), [vue.createVNode("div", { - class: "uni-checkbox-wrapper" + "class": "uni-checkbox-wrapper" }, [vue.createVNode("div", { - class: ["uni-checkbox-input", { + "class": ["uni-checkbox-input", { "uni-checkbox-input-disabled": props2.disabled }] }, [checkboxChecked.value ? createSvgIconVNode(ICON_PATH_SUCCESS_NO_CIRCLE, props2.color, 22) : ""], 2), slots.default && slots.default()])], 16, ["onClick"]); @@ -2649,9 +2625,9 @@ var index$m = /* @__PURE__ */ vue.defineComponent({ useKeyboard(props2, rootRef); return () => { return vue.createVNode("uni-editor", { - ref: rootRef, - id: props2.id, - class: "ql-container" + "ref": rootRef, + "id": props2.id, + "class": "ql-container" }, null, 8, ["id"]); }; } @@ -2787,14 +2763,14 @@ var index$k = /* @__PURE__ */ vue.defineComponent({ modeStyle } = state; return vue.createVNode("uni-image", { - ref: rootRef + "ref": rootRef }, [vue.createVNode("div", { - style: modeStyle + "style": modeStyle }, null, 4), imgSrc ? vue.createVNode("img", { - src: imgSrc, - draggable: props2.draggable + "src": imgSrc, + "draggable": props2.draggable }, null, 8, ["src", "draggable"]) : vue.createVNode("img", null, null), FIX_MODES[mode] ? vue.createVNode(ResizeSensor, { - onResize: fixSize + "onResize": fixSize }, null, 8, ["onResize"]) : vue.createVNode("span", null, null)], 512); }; } @@ -3283,38 +3259,38 @@ var Input = /* @__PURE__ */ vue.defineComponent({ } return () => { let inputNode = props2.disabled && fixDisabledColor ? vue.createVNode("input", { - ref: fieldRef, - value: state.value, - tabindex: "-1", - readonly: !!props2.disabled, - type: type.value, - maxlength: state.maxlength, - step: step.value, - class: "uni-input-input", - onFocus: (event) => event.target.blur() + "ref": fieldRef, + "value": state.value, + "tabindex": "-1", + "readonly": !!props2.disabled, + "type": type.value, + "maxlength": state.maxlength, + "step": step.value, + "class": "uni-input-input", + "onFocus": (event) => event.target.blur() }, null, 40, ["value", "readonly", "type", "maxlength", "step", "onFocus"]) : vue.createVNode("input", { - ref: fieldRef, - value: state.value, - disabled: !!props2.disabled, - type: type.value, - maxlength: state.maxlength, - step: step.value, - enterkeyhint: props2.confirmType, - class: "uni-input-input", - autocomplete: "off", - onKeyup: onKeyUpEnter + "ref": fieldRef, + "value": state.value, + "disabled": !!props2.disabled, + "type": type.value, + "maxlength": state.maxlength, + "step": step.value, + "enterkeyhint": props2.confirmType, + "class": "uni-input-input", + "autocomplete": "off", + "onKeyup": onKeyUpEnter }, null, 40, ["value", "disabled", "type", "maxlength", "step", "enterkeyhint", "onKeyup"]); return vue.createVNode("uni-input", { - ref: rootRef + "ref": rootRef }, [vue.createVNode("div", { - class: "uni-input-wrapper" + "class": "uni-input-wrapper" }, [vue.withDirectives(vue.createVNode("div", vue.mergeProps(scopedAttrsState.attrs, { - style: props2.placeholderStyle, - class: ["uni-input-placeholder", props2.placeholderClass] + "style": props2.placeholderStyle, + "class": ["uni-input-placeholder", props2.placeholderClass] }), [props2.placeholder], 16), [[vue.vShow, !(state.value.length || !valid.value)]]), props2.confirmType === "search" ? vue.createVNode("form", { - action: "", - onSubmit: () => false, - class: "uni-input-form" + "action": "", + "onSubmit": () => false, + "class": "uni-input-form" }, [inputNode], 40, ["onSubmit"]) : inputNode])], 512); }; } @@ -3382,9 +3358,9 @@ var index$j = /* @__PURE__ */ vue.defineComponent({ const defaultSlots = slots.default && slots.default(); movableViewItems = defaultSlots || []; return vue.createVNode("uni-movable-area", vue.mergeProps({ - ref: rootRef + "ref": rootRef }, $attrs.value, $excludeAttrs.value, _listeners), [vue.createVNode(ResizeSensor, { - onReize: movableAreaEvents._resize + "onReize": movableAreaEvents._resize }, null, 8, ["onReize"]), movableViewItems], 16); }; } @@ -3880,9 +3856,9 @@ var index$i = /* @__PURE__ */ vue.defineComponent({ } = useMovableViewState(props2, trigger, rootRef); return () => { return vue.createVNode("uni-movable-view", { - ref: rootRef + "ref": rootRef }, [vue.createVNode(ResizeSensor, { - onResize: setParent + "onResize": setParent }, null, 8, ["onResize"]), slots.default && slots.default()], 512); }; } @@ -4431,14 +4407,14 @@ var index$h = /* @__PURE__ */ vue.defineComponent({ const defaultSlots = slots.default && slots.default(); columnVNodes = columnVNodes = defaultSlots || []; return vue.createVNode("uni-picker-view", { - ref: rootRef + "ref": rootRef }, [vue.createVNode(ResizeSensor, { - initial: true, - onResize: ({ + "initial": true, + "onResize": ({ height }) => state.height = height }, null, 8, ["initial", "onResize"]), vue.createVNode("div", { - class: "uni-picker-view-wrapper" + "class": "uni-picker-view-wrapper" }, [columnVNodes])], 512); }; } @@ -4539,26 +4515,26 @@ var index$g = /* @__PURE__ */ vue.defineComponent({ state.length = flatVNode(defaultSlots).length; const padding = `${maskSize.value}px 0`; return vue.createVNode("uni-picker-view-column", { - ref: rootRef + "ref": rootRef }, [vue.createVNode("div", { - onWheel: handleWheel, - onClick: handleTap, - class: "uni-picker-view-group" + "onWheel": handleWheel, + "onClick": handleTap, + "class": "uni-picker-view-group" }, [vue.createVNode("div", vue.mergeProps(scopedAttrsState.attrs, { - class: ["uni-picker-view-mask", pickerViewProps.maskClass], - style: `background-size: 100% ${maskSize.value}px;${pickerViewProps.maskStyle}` + "class": ["uni-picker-view-mask", pickerViewProps.maskClass], + "style": `background-size: 100% ${maskSize.value}px;${pickerViewProps.maskStyle}` }), null, 16), vue.createVNode("div", vue.mergeProps(scopedAttrsState.attrs, { - class: ["uni-picker-view-indicator", pickerViewProps.indicatorClass], - style: pickerViewProps.indicatorStyle + "class": ["uni-picker-view-indicator", pickerViewProps.indicatorClass], + "style": pickerViewProps.indicatorStyle }), [vue.createVNode(ResizeSensor, { - initial: true, - onResize: ({ + "initial": true, + "onResize": ({ height }) => indicatorHeight.value = height }, null, 8, ["initial", "onResize"])], 16), vue.createVNode("div", { - ref: contentRef, - class: ["uni-picker-view-content", className], - style: { + "ref": contentRef, + "class": ["uni-picker-view-content", className], + "style": { padding } }, [defaultSlots], 6)], 40, ["onWheel", "onClick"])], 512); @@ -4638,15 +4614,15 @@ var index$f = /* @__PURE__ */ vue.defineComponent({ currentPercent } = state; return vue.createVNode("uni-progress", { - class: "uni-progress" + "class": "uni-progress" }, [vue.createVNode("div", { - style: outerBarStyle, - class: "uni-progress-bar" + "style": outerBarStyle, + "class": "uni-progress-bar" }, [vue.createVNode("div", { - style: innerBarStyle, - class: "uni-progress-inner-bar" + "style": innerBarStyle, + "class": "uni-progress-inner-bar" }, null, 4)], 4), showInfo ? vue.createVNode("p", { - class: "uni-progress-info" + "class": "uni-progress-info" }, [currentPercent + "%"]) : ""]); }; } @@ -4708,17 +4684,14 @@ var index$e = /* @__PURE__ */ vue.defineComponent({ useProvideRadioGroup(props2, trigger); return () => { return vue.createVNode("uni-radio-group", { - ref: rootRef + "ref": rootRef }, [slots.default && slots.default()], 512); }; } }); function useProvideRadioGroup(props2, trigger) { const fields = []; - const getFieldsValue = () => { - var _a; - return (_a = fields.find((field) => field.value.radioChecked)) == null ? void 0 : _a.value.value; - }; + const getFieldsValue = () => fields.find((field) => field.value.radioChecked)?.value.value; vue.provide(uniRadioGroupKey, { addField(field) { fields.push(field); @@ -4832,14 +4805,14 @@ var index$d = /* @__PURE__ */ vue.defineComponent({ booleanAttrs } = useBooleanAttr(props2, "disabled"); return vue.createVNode("uni-radio", vue.mergeProps(booleanAttrs, { - onClick: _onClick + "onClick": _onClick }), [vue.createVNode("div", { - class: "uni-radio-wrapper" + "class": "uni-radio-wrapper" }, [vue.createVNode("div", { - class: ["uni-radio-input", { + "class": ["uni-radio-input", { "uni-radio-input-disabled": props2.disabled }], - style: radioChecked.value ? checkedStyle.value : "" + "style": radioChecked.value ? checkedStyle.value : "" }, [radioChecked.value ? createSvgIconVNode(ICON_PATH_SUCCESS_NO_CIRCLE, "#fff", 18) : ""], 6), slots.default && slots.default()])], 16, ["onClick"]); }; } @@ -6241,7 +6214,7 @@ const _hoisted_9 = /* @__PURE__ */ vue.createVNode("circle", { cy: "50", r: "20", fill: "none", - style: {color: "#2bd009"}, + style: {"color": "#2bd009"}, "stroke-width": "3" }, null, -1); function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) { @@ -6372,28 +6345,28 @@ var index$c = /* @__PURE__ */ vue.defineComponent({ setBlockStyle } = state; return vue.createVNode("uni-slider", { - ref: sliderRef, - onClick: _onClick + "ref": sliderRef, + "onClick": _onClick }, [vue.createVNode("div", { - class: "uni-slider-wrapper" + "class": "uni-slider-wrapper" }, [vue.createVNode("div", { - class: "uni-slider-tap-area" + "class": "uni-slider-tap-area" }, [vue.createVNode("div", { - style: setBgColor.value, - class: "uni-slider-handle-wrapper" + "style": setBgColor.value, + "class": "uni-slider-handle-wrapper" }, [vue.createVNode("div", { - ref: sliderHandleRef, - style: setBlockBg.value, - class: "uni-slider-handle" + "ref": sliderHandleRef, + "style": setBlockBg.value, + "class": "uni-slider-handle" }, null, 4), vue.createVNode("div", { - style: setBlockStyle.value, - class: "uni-slider-thumb" + "style": setBlockStyle.value, + "class": "uni-slider-thumb" }, null, 4), vue.createVNode("div", { - style: setActiveColor.value, - class: "uni-slider-track" + "style": setActiveColor.value, + "class": "uni-slider-track" }, null, 4)], 4)]), vue.withDirectives(vue.createVNode("span", { - ref: sliderValueRef, - class: "uni-slider-value" + "ref": sliderValueRef, + "class": "uni-slider-value" }, [sliderValue.value], 512), [[vue.vShow, props2.showValue]])]), vue.createVNode("slot", null, null)], 8, ["onClick"]); }; } @@ -6960,26 +6933,26 @@ var index$b = /* @__PURE__ */ vue.defineComponent({ const defaultSlots = slots.default && slots.default(); swiperItems = flatVNode(defaultSlots); return vue.createVNode("uni-swiper", { - ref: rootRef + "ref": rootRef }, [vue.createVNode("div", { - ref: slidesWrapperRef, - class: "uni-swiper-wrapper" + "ref": slidesWrapperRef, + "class": "uni-swiper-wrapper" }, [vue.createVNode("div", { - class: "uni-swiper-slides", - style: slidesStyle.value + "class": "uni-swiper-slides", + "style": slidesStyle.value }, [vue.createVNode("div", { - ref: slideFrameRef, - class: "uni-swiper-slide-frame", - style: slideFrameStyle.value + "ref": slideFrameRef, + "class": "uni-swiper-slide-frame", + "style": slideFrameStyle.value }, [defaultSlots], 4)], 4), props2.indicatorDots && vue.createVNode("div", { - class: ["uni-swiper-dots", props2.vertical ? "uni-swiper-dots-vertical" : "uni-swiper-dots-horizontal"] + "class": ["uni-swiper-dots", props2.vertical ? "uni-swiper-dots-vertical" : "uni-swiper-dots-horizontal"] }, [swiperContexts.value.map((_, index2, array) => vue.createVNode("div", { - onClick: () => onSwiperDotClick(index2), - class: { + "onClick": () => onSwiperDotClick(index2), + "class": { "uni-swiper-dot": true, "uni-swiper-dot-active": index2 < state.current + state.displayMultipleItems && index2 >= state.current || index2 < state.current + state.displayMultipleItems - array.length }, - style: { + "style": { background: index2 === state.current ? props2.indicatorActiveColor : props2.indicatorColor } }, null, 14, ["onClick"]))], 2)], 512)], 512); @@ -7001,8 +6974,8 @@ var index$a = /* @__PURE__ */ vue.defineComponent({ const rootRef = vue.ref(null); return () => { return vue.createVNode("uni-swiper-item", { - ref: rootRef, - style: { + "ref": rootRef, + "style": { position: "absolute", width: "100%", height: "100%" @@ -7072,19 +7045,19 @@ var index$9 = /* @__PURE__ */ vue.defineComponent({ booleanAttrs } = useBooleanAttr(props2, "disabled"); return vue.createVNode("uni-switch", vue.mergeProps({ - ref: rootRef + "ref": rootRef }, booleanAttrs, { - onClick: _onClick + "onClick": _onClick }), [vue.createVNode("div", { - class: "uni-switch-wrapper" + "class": "uni-switch-wrapper" }, [vue.withDirectives(vue.createVNode("div", { - class: ["uni-switch-input", [switchChecked.value ? "uni-switch-input-checked" : ""]], - style: { + "class": ["uni-switch-input", [switchChecked.value ? "uni-switch-input-checked" : ""]], + "style": { backgroundColor: switchChecked.value ? color : "#DFDFDF", borderColor: switchChecked.value ? color : "#DFDFDF" } }, null, 6), [[vue.vShow, type === "switch"]]), vue.withDirectives(vue.createVNode("div", { - class: "uni-checkbox-input" + "class": "uni-checkbox-input" }, [switchChecked.value ? createSvgIconVNode(ICON_PATH_SUCCESS_NO_CIRCLE, props2.color, 22) : ""], 512), [[vue.vShow, type === "checkbox"]])])], 16, ["onClick"]); }; } @@ -7175,7 +7148,7 @@ var index$8 = /* @__PURE__ */ vue.defineComponent({ }); } return vue.createVNode("uni-text", { - selectable: props2.selectable + "selectable": props2.selectable }, [vue.createVNode("span", null, children)], 8, ["selectable"]); }; } @@ -7262,54 +7235,54 @@ var index$7 = /* @__PURE__ */ vue.defineComponent({ const fixMargin = String(navigator.platform).indexOf("iP") === 0 && String(navigator.vendor).indexOf("Apple") === 0 && window.matchMedia(DARK_TEST_STRING).media !== DARK_TEST_STRING; return () => { let textareaNode = props2.disabled && fixDisabledColor ? vue.createVNode("textarea", { - ref: fieldRef, - value: state.value, - tabindex: "-1", - readonly: !!props2.disabled, - maxlength: state.maxlength, - class: { + "ref": fieldRef, + "value": state.value, + "tabindex": "-1", + "readonly": !!props2.disabled, + "maxlength": state.maxlength, + "class": { "uni-textarea-textarea": true, "uni-textarea-textarea-fix-margin": fixMargin }, - style: { + "style": { overflowY: props2.autoHeight ? "hidden" : "auto" }, - onFocus: (event) => event.target.blur() + "onFocus": (event) => event.target.blur() }, null, 46, ["value", "readonly", "maxlength", "onFocus"]) : vue.createVNode("textarea", { - ref: fieldRef, - value: state.value, - disabled: !!props2.disabled, - maxlength: state.maxlength, - enterkeyhint: props2.confirmType, - class: { + "ref": fieldRef, + "value": state.value, + "disabled": !!props2.disabled, + "maxlength": state.maxlength, + "enterkeyhint": props2.confirmType, + "class": { "uni-textarea-textarea": true, "uni-textarea-textarea-fix-margin": fixMargin }, - style: { + "style": { overflowY: props2.autoHeight ? "hidden" : "auto" }, - onKeydown: onKeyDownEnter, - onKeyup: onKeyUpEnter + "onKeydown": onKeyDownEnter, + "onKeyup": onKeyUpEnter }, null, 46, ["value", "disabled", "maxlength", "enterkeyhint", "onKeydown", "onKeyup"]); return vue.createVNode("uni-textarea", { - ref: rootRef + "ref": rootRef }, [vue.createVNode("div", { - class: "uni-textarea-wrapper" + "class": "uni-textarea-wrapper" }, [vue.withDirectives(vue.createVNode("div", vue.mergeProps(scopedAttrsState.attrs, { - style: props2.placeholderStyle, - class: ["uni-textarea-placeholder", props2.placeholderClass] + "style": props2.placeholderStyle, + "class": ["uni-textarea-placeholder", props2.placeholderClass] }), [props2.placeholder], 16), [[vue.vShow, !state.value.length]]), vue.createVNode("div", { - ref: lineRef, - class: "uni-textarea-line" + "ref": lineRef, + "class": "uni-textarea-line" }, [" "], 512), vue.createVNode("div", { - class: "uni-textarea-compute" + "class": "uni-textarea-compute" }, [valueCompute.value.map((item) => vue.createVNode("div", null, [item.trim() ? item : "."])), vue.createVNode(ResizeSensor, { - initial: true, - onResize + "initial": true, + "onResize": onResize }, null, 8, ["initial", "onResize"])]), props2.confirmType === "search" ? vue.createVNode("form", { - action: "", - onSubmit: () => false, - class: "uni-input-form" + "action": "", + "onSubmit": () => false, + "class": "uni-input-form" }, [textareaNode], 40, ["onSubmit"]) : textareaNode])], 512); }; } @@ -7328,7 +7301,7 @@ var index$6 = /* @__PURE__ */ vue.defineComponent({ const hoverClass = props2.hoverClass; if (hoverClass && hoverClass !== "none") { return vue.createVNode("uni-view", vue.mergeProps({ - class: hovering.value ? hoverClass : "" + "class": hovering.value ? hoverClass : "" }, binding), [slots.default && slots.default()], 16); } return vue.createVNode("uni-view", null, [slots.default && slots.default()]); @@ -8000,144 +7973,144 @@ var index$5 = /* @__PURE__ */ vue.defineComponent({ useContext(); return () => { return vue.createVNode("uni-video", { - ref: rootRef, - id: props2.id + "ref": rootRef, + "id": props2.id }, [vue.createVNode("div", { - ref: containerRef, - class: "uni-video-container", - onTouchstart, - onTouchend, - onTouchmove, - onFullscreenchange: vue.withModifiers(onFullscreenChange, ["stop"]), - onWebkitfullscreenchange: vue.withModifiers(($event) => onFullscreenChange($event, true), ["stop"]) + "ref": containerRef, + "class": "uni-video-container", + "onTouchstart": onTouchstart, + "onTouchend": onTouchend, + "onTouchmove": onTouchmove, + "onFullscreenchange": vue.withModifiers(onFullscreenChange, ["stop"]), + "onWebkitfullscreenchange": vue.withModifiers(($event) => onFullscreenChange($event, true), ["stop"]) }, [vue.createVNode("video", vue.mergeProps({ - ref: videoRef, - style: { + "ref": videoRef, + "style": { "object-fit": props2.objectFit }, - muted: !!props2.muted, - loop: !!props2.loop, - src: videoState.src, - poster: props2.poster, - autoplay: !!props2.autoplay + "muted": !!props2.muted, + "loop": !!props2.loop, + "src": videoState.src, + "poster": props2.poster, + "autoplay": !!props2.autoplay }, videoAttrs.value, { - class: "uni-video-video", + "class": "uni-video-video", "webkit-playsinline": true, - playsinline: true, - onClick: toggleControls, - onDurationchange: onDurationChange, - onLoadedmetadata: onLoadedMetadata, - onProgress, - onWaiting, - onError: onVideoError, - onPlay, - onPause, - onEnded, - onTimeupdate: (event) => { + "playsinline": true, + "onClick": toggleControls, + "onDurationchange": onDurationChange, + "onLoadedmetadata": onLoadedMetadata, + "onProgress": onProgress, + "onWaiting": onWaiting, + "onError": onVideoError, + "onPlay": onPlay, + "onPause": onPause, + "onEnded": onEnded, + "onTimeupdate": (event) => { onTimeUpdate(event); updateDanmu(event); }, - onWebkitbeginfullscreen: () => emitFullscreenChange(true), - onX5videoenterfullscreen: () => emitFullscreenChange(true), - onWebkitendfullscreen: () => emitFullscreenChange(false), - onX5videoexitfullscreen: () => emitFullscreenChange(false) + "onWebkitbeginfullscreen": () => emitFullscreenChange(true), + "onX5videoenterfullscreen": () => emitFullscreenChange(true), + "onWebkitendfullscreen": () => emitFullscreenChange(false), + "onX5videoexitfullscreen": () => emitFullscreenChange(false) }), null, 16, ["muted", "loop", "src", "poster", "autoplay", "webkit-playsinline", "playsinline", "onClick", "onDurationchange", "onLoadedmetadata", "onProgress", "onWaiting", "onError", "onPlay", "onPause", "onEnded", "onTimeupdate", "onWebkitbeginfullscreen", "onX5videoenterfullscreen", "onWebkitendfullscreen", "onX5videoexitfullscreen"]), vue.withDirectives(vue.createVNode("div", { - class: "uni-video-bar uni-video-bar-full", - onClick: vue.withModifiers(() => { + "class": "uni-video-bar uni-video-bar-full", + "onClick": vue.withModifiers(() => { }, ["stop"]) }, [vue.createVNode("div", { - class: "uni-video-controls" + "class": "uni-video-controls" }, [vue.withDirectives(vue.createVNode("div", { - class: { + "class": { "uni-video-control-button": true, "uni-video-control-button-play": !videoState.playing, "uni-video-control-button-pause": videoState.playing }, - onClick: vue.withModifiers(toggle, ["stop"]) + "onClick": vue.withModifiers(toggle, ["stop"]) }, null, 10, ["onClick"]), [[vue.vShow, props2.showPlayBtn]]), vue.createVNode("div", { - class: "uni-video-current-time" + "class": "uni-video-current-time" }, [formatTime(videoState.currentTime)]), vue.createVNode("div", { - ref: progressRef, - class: "uni-video-progress-container", - onClick: vue.withModifiers(clickProgress, ["stop"]) + "ref": progressRef, + "class": "uni-video-progress-container", + "onClick": vue.withModifiers(clickProgress, ["stop"]) }, [vue.createVNode("div", { - class: "uni-video-progress" + "class": "uni-video-progress" }, [vue.createVNode("div", { - style: { + "style": { width: videoState.buffered + "%" }, - class: "uni-video-progress-buffered" + "class": "uni-video-progress-buffered" }, null, 4), vue.createVNode("div", { - ref: ballRef, - style: { + "ref": ballRef, + "style": { left: videoState.progress + "%" }, - class: "uni-video-ball" + "class": "uni-video-ball" }, [vue.createVNode("div", { - class: "uni-video-inner" + "class": "uni-video-inner" }, null)], 4)])], 8, ["onClick"]), vue.createVNode("div", { - class: "uni-video-duration" + "class": "uni-video-duration" }, [formatTime(Number(props2.duration) || videoState.duration)])]), vue.withDirectives(vue.createVNode("div", { - class: { + "class": { "uni-video-danmu-button": true, "uni-video-danmu-button-active": danmuState.enable }, - onClick: vue.withModifiers(toggleDanmu, ["stop"]) + "onClick": vue.withModifiers(toggleDanmu, ["stop"]) }, [t2("uni.video.danmu")], 10, ["onClick"]), [[vue.vShow, props2.danmuBtn]]), vue.withDirectives(vue.createVNode("div", { - class: { + "class": { "uni-video-fullscreen": true, "uni-video-type-fullscreen": fullscreenState.fullscreen }, - onClick: vue.withModifiers(() => toggleFullscreen(!fullscreenState.fullscreen), ["stop"]) + "onClick": vue.withModifiers(() => toggleFullscreen(!fullscreenState.fullscreen), ["stop"]) }, null, 10, ["onClick"]), [[vue.vShow, props2.showFullscreenBtn]])], 8, ["onClick"]), [[vue.vShow, controlsState.controlsShow]]), vue.withDirectives(vue.createVNode("div", { - ref: danmuRef, - style: "z-index: 0;", - class: "uni-video-danmu" + "ref": danmuRef, + "style": "z-index: 0;", + "class": "uni-video-danmu" }, null, 512), [[vue.vShow, videoState.start && danmuState.enable]]), controlsState.centerPlayBtnShow && vue.createVNode("div", { - class: "uni-video-cover", - onClick: vue.withModifiers(() => { + "class": "uni-video-cover", + "onClick": vue.withModifiers(() => { }, ["stop"]) }, [vue.createVNode("div", { - class: "uni-video-cover-play-button", - onClick: vue.withModifiers(play, ["stop"]) + "class": "uni-video-cover-play-button", + "onClick": vue.withModifiers(play, ["stop"]) }, null, 8, ["onClick"]), vue.createVNode("p", { - class: "uni-video-cover-duration" + "class": "uni-video-cover-duration" }, [formatTime(Number(props2.duration) || videoState.duration)])], 8, ["onClick"]), vue.createVNode("div", { - class: { + "class": { "uni-video-toast": true, "uni-video-toast-volume": gestureState.gestureType === "volume" } }, [vue.createVNode("div", { - class: "uni-video-toast-title" + "class": "uni-video-toast-title" }, [t2("uni.video.volume")]), vue.createVNode("svg", { - class: "uni-video-toast-icon", - width: "200px", - height: "200px", - viewBox: "0 0 1024 1024", - version: "1.1", - xmlns: "http://www.w3.org/2000/svg" + "class": "uni-video-toast-icon", + "width": "200px", + "height": "200px", + "viewBox": "0 0 1024 1024", + "version": "1.1", + "xmlns": "http://www.w3.org/2000/svg" }, [vue.createVNode("path", { - d: "M475.400704 201.19552l0 621.674496q0 14.856192-10.856448 25.71264t-25.71264 10.856448-25.71264-10.856448l-190.273536-190.273536-149.704704 0q-14.856192 0-25.71264-10.856448t-10.856448-25.71264l0-219.414528q0-14.856192 10.856448-25.71264t25.71264-10.856448l149.704704 0 190.273536-190.273536q10.856448-10.856448 25.71264-10.856448t25.71264 10.856448 10.856448 25.71264zm219.414528 310.837248q0 43.425792-24.28416 80.851968t-64.2816 53.425152q-5.71392 2.85696-14.2848 2.85696-14.856192 0-25.71264-10.570752t-10.856448-25.998336q0-11.999232 6.856704-20.284416t16.570368-14.2848 19.427328-13.142016 16.570368-20.284416 6.856704-32.569344-6.856704-32.569344-16.570368-20.284416-19.427328-13.142016-16.570368-14.2848-6.856704-20.284416q0-15.427584 10.856448-25.998336t25.71264-10.570752q8.57088 0 14.2848 2.85696 39.99744 15.427584 64.2816 53.139456t24.28416 81.137664zm146.276352 0q0 87.422976-48.56832 161.41824t-128.5632 107.707392q-7.428096 2.85696-14.2848 2.85696-15.427584 0-26.284032-10.856448t-10.856448-25.71264q0-22.284288 22.284288-33.712128 31.997952-16.570368 43.425792-25.141248 42.283008-30.855168 65.995776-77.423616t23.712768-99.136512-23.712768-99.136512-65.995776-77.423616q-11.42784-8.57088-43.425792-25.141248-22.284288-11.42784-22.284288-33.712128 0-14.856192 10.856448-25.71264t25.71264-10.856448q7.428096 0 14.856192 2.85696 79.99488 33.712128 128.5632 107.707392t48.56832 161.41824zm146.276352 0q0 131.42016-72.566784 241.41312t-193.130496 161.989632q-7.428096 2.85696-14.856192 2.85696-14.856192 0-25.71264-10.856448t-10.856448-25.71264q0-20.570112 22.284288-33.712128 3.999744-2.285568 12.85632-5.999616t12.85632-5.999616q26.284032-14.2848 46.854144-29.140992 70.281216-51.996672 109.707264-129.705984t39.426048-165.132288-39.426048-165.132288-109.707264-129.705984q-20.570112-14.856192-46.854144-29.140992-3.999744-2.285568-12.85632-5.999616t-12.85632-5.999616q-22.284288-13.142016-22.284288-33.712128 0-14.856192 10.856448-25.71264t25.71264-10.856448q7.428096 0 14.856192 2.85696 120.563712 51.996672 193.130496 161.989632t72.566784 241.41312z" + "d": "M475.400704 201.19552l0 621.674496q0 14.856192-10.856448 25.71264t-25.71264 10.856448-25.71264-10.856448l-190.273536-190.273536-149.704704 0q-14.856192 0-25.71264-10.856448t-10.856448-25.71264l0-219.414528q0-14.856192 10.856448-25.71264t25.71264-10.856448l149.704704 0 190.273536-190.273536q10.856448-10.856448 25.71264-10.856448t25.71264 10.856448 10.856448 25.71264zm219.414528 310.837248q0 43.425792-24.28416 80.851968t-64.2816 53.425152q-5.71392 2.85696-14.2848 2.85696-14.856192 0-25.71264-10.570752t-10.856448-25.998336q0-11.999232 6.856704-20.284416t16.570368-14.2848 19.427328-13.142016 16.570368-20.284416 6.856704-32.569344-6.856704-32.569344-16.570368-20.284416-19.427328-13.142016-16.570368-14.2848-6.856704-20.284416q0-15.427584 10.856448-25.998336t25.71264-10.570752q8.57088 0 14.2848 2.85696 39.99744 15.427584 64.2816 53.139456t24.28416 81.137664zm146.276352 0q0 87.422976-48.56832 161.41824t-128.5632 107.707392q-7.428096 2.85696-14.2848 2.85696-15.427584 0-26.284032-10.856448t-10.856448-25.71264q0-22.284288 22.284288-33.712128 31.997952-16.570368 43.425792-25.141248 42.283008-30.855168 65.995776-77.423616t23.712768-99.136512-23.712768-99.136512-65.995776-77.423616q-11.42784-8.57088-43.425792-25.141248-22.284288-11.42784-22.284288-33.712128 0-14.856192 10.856448-25.71264t25.71264-10.856448q7.428096 0 14.856192 2.85696 79.99488 33.712128 128.5632 107.707392t48.56832 161.41824zm146.276352 0q0 131.42016-72.566784 241.41312t-193.130496 161.989632q-7.428096 2.85696-14.856192 2.85696-14.856192 0-25.71264-10.856448t-10.856448-25.71264q0-20.570112 22.284288-33.712128 3.999744-2.285568 12.85632-5.999616t12.85632-5.999616q26.284032-14.2848 46.854144-29.140992 70.281216-51.996672 109.707264-129.705984t39.426048-165.132288-39.426048-165.132288-109.707264-129.705984q-20.570112-14.856192-46.854144-29.140992-3.999744-2.285568-12.85632-5.999616t-12.85632-5.999616q-22.284288-13.142016-22.284288-33.712128 0-14.856192 10.856448-25.71264t25.71264-10.856448q7.428096 0 14.856192 2.85696 120.563712 51.996672 193.130496 161.989632t72.566784 241.41312z" }, null)]), vue.createVNode("div", { - class: "uni-video-toast-value" + "class": "uni-video-toast-value" }, [vue.createVNode("div", { - style: { + "style": { width: gestureState.volumeNew * 100 + "%" }, - class: "uni-video-toast-value-content" + "class": "uni-video-toast-value-content" }, [vue.createVNode("div", { - class: "uni-video-toast-volume-grids" + "class": "uni-video-toast-volume-grids" }, [vue.renderList(10, () => vue.createVNode("div", { - class: "uni-video-toast-volume-grids-item" + "class": "uni-video-toast-volume-grids-item" }, null))])], 4)])], 2), vue.createVNode("div", { - class: { + "class": { "uni-video-toast": true, "uni-video-toast-progress": gestureState.gestureType === "progress" } }, [vue.createVNode("div", { - class: "uni-video-toast-title" + "class": "uni-video-toast-title" }, [formatTime(gestureState.currentTimeNew), " / ", formatTime(videoState.duration)])], 2), vue.createVNode("div", { - class: "uni-video-slots" + "class": "uni-video-slots" }, [slots.default && slots.default()])], 40, ["onTouchstart", "onTouchend", "onTouchmove", "onFullscreenchange", "onWebkitfullscreenchange"])], 8, ["id"]); }; } @@ -8167,15 +8140,15 @@ var index$4 = /* @__PURE__ */ vue.defineComponent({ }); return () => { return vue.createVNode(vue.Fragment, null, [vue.createVNode("uni-web-view", vue.mergeProps($listeners.value, $excludeAttrs.value, { - ref: rootRef + "ref": rootRef }), [vue.createVNode(ResizeSensor, { - onResize: _resize + "onResize": _resize }, null, 8, ["onResize"])], 16), vue.createVNode(vue.Teleport, { - to: "body" + "to": "body" }, { default: () => [vue.createVNode("iframe", vue.mergeProps({ - ref: iframeRef, - src: getRealPath(props2.src) + "ref": iframeRef, + "src": getRealPath(props2.src) }, $attrs.value), null, 16, ["src"])] })]); }; @@ -8721,13 +8694,13 @@ var MapLocation = /* @__PURE__ */ vue.defineComponent({ }); return () => { return state.latitude ? vue.createVNode(MapMarker, vue.mergeProps({ - anchor: { + "anchor": { x: 0.5, y: 0.5 }, - width: "44", - height: "44", - iconPath: ICON_PATH + "width": "44", + "height": "44", + "iconPath": ICON_PATH }, state), null, 16, ["iconPath"]) : null; }; } @@ -8850,15 +8823,15 @@ var index$3 = /* @__PURE__ */ vue.defineComponent({ } = useMap(props2); return () => { return vue.createVNode("uni-map", { - ref: rootRef, - id: props2.id + "ref": rootRef, + "id": props2.id }, [vue.createVNode("div", { - ref: mapRef, - style: "width: 100%; height: 100%; position: relative; overflow: hidden" + "ref": mapRef, + "style": "width: 100%; height: 100%; position: relative; overflow: hidden" }, null, 512), props2.markers.map((item) => item.id && vue.createVNode(MapMarker, vue.mergeProps({ - key: item.id + "key": item.id }, item), null, 16)), props2.polyline.map((item) => vue.createVNode(MapPolyline, item, null, 16)), props2.circles.map((item) => vue.createVNode(MapCircle, item, null, 16)), props2.controls.map((item) => vue.createVNode(MapControl, item, null, 16)), props2.showLocation && vue.createVNode(MapLocation, null, null), vue.createVNode("div", { - style: "position: absolute;top: 0;width: 100%;height: 100%;overflow: hidden;pointer-events: none;" + "style": "position: absolute;top: 0;width: 100%;height: 100%;overflow: hidden;pointer-events: none;" }, [slots.default && slots.default()])], 8, ["id"]); }; } @@ -9238,16 +9211,16 @@ var TabBar = /* @__PURE__ */ vue.defineComponent({ return () => { const tabBarItemsTsx = createTabBarItemsTsx(tabBar2, onSwitchTab); return vue.createVNode("uni-tabbar", { - class: "uni-tabbar-" + tabBar2.position + "class": "uni-tabbar-" + tabBar2.position }, [vue.createVNode("div", { - class: "uni-tabbar", - style: style.value + "class": "uni-tabbar", + "style": style.value }, [vue.createVNode("div", { - class: "uni-tabbar-border", - style: borderStyle.value + "class": "uni-tabbar-border", + "style": borderStyle.value }, null, 4), tabBarItemsTsx], 4), vue.createVNode("div", { - class: "uni-placeholder", - style: placeholderStyle.value + "class": "uni-placeholder", + "style": placeholderStyle.value }, null, 4)], 2); }; } @@ -9369,9 +9342,9 @@ function createTabBarItemsTsx(tabBar2, onSwitchTab) { } function createTabBarItemTsx(color, iconPath, tabBarItem, tabBar2, index2, onSwitchTab) { return vue.createVNode("div", { - key: index2, - class: "uni-tabbar__item", - onClick: onSwitchTab(tabBarItem, index2) + "key": index2, + "class": "uni-tabbar__item", + "onClick": onSwitchTab(tabBarItem, index2) }, [createTabBarItemBdTsx(color, iconPath || "", tabBarItem, tabBar2)], 8, ["onClick"]); } function createTabBarItemBdTsx(color, iconPath, tabBarItem, tabBar2) { @@ -9379,8 +9352,8 @@ function createTabBarItemBdTsx(color, iconPath, tabBarItem, tabBar2) { height } = tabBar2; return vue.createVNode("div", { - class: "uni-tabbar__bd", - style: { + "class": "uni-tabbar__bd", + "style": { height } }, [iconPath && createTabBarItemIconTsx(iconPath, tabBarItem, tabBar2), tabBarItem.text && createTabBarItemTextTsx(color, tabBarItem, tabBar2)], 4); @@ -9400,10 +9373,10 @@ function createTabBarItemIconTsx(iconPath, tabBarItem, tabBar2) { height: iconWidth }; return vue.createVNode("div", { - class: clazz2, - style + "class": clazz2, + "style": style }, [type !== "midButton" && vue.createVNode("img", { - src: getRealPath(iconPath) + "src": getRealPath(iconPath) }, null, 8, ["src"]), redDot && createTabBarItemRedDotTsx(tabBarItem.badge)], 6); } function createTabBarItemTextTsx(color, tabBarItem, tabBar2) { @@ -9423,14 +9396,14 @@ function createTabBarItemTextTsx(color, tabBarItem, tabBar2) { marginTop: !iconPath ? "inherit" : spacing }; return vue.createVNode("div", { - class: "uni-tabbar__label", - style + "class": "uni-tabbar__label", + "style": style }, [text, redDot && !iconPath && createTabBarItemRedDotTsx(tabBarItem.badge)], 4); } function createTabBarItemRedDotTsx(badge) { const clazz2 = "uni-tabbar__reddot" + (badge ? " uni-tabbar__badge" : ""); return vue.createVNode("div", { - class: clazz2 + "class": clazz2 }, [badge], 2); } function createTabBarMidButtonTsx(color, iconPath, midButton, tabBar2, index2, onSwitchTab) { @@ -9441,26 +9414,26 @@ function createTabBarMidButtonTsx(color, iconPath, midButton, tabBar2, index2, o iconWidth } = midButton; return vue.createVNode("div", { - key: index2, - class: "uni-tabbar__item", - style: { + "key": index2, + "class": "uni-tabbar__item", + "style": { flex: "0 0 " + width, position: "relative" }, - onClick: onSwitchTab(midButton, index2) + "onClick": onSwitchTab(midButton, index2) }, [vue.createVNode("div", { - class: "uni-tabbar__mid", - style: { + "class": "uni-tabbar__mid", + "style": { width, height, backgroundImage: backgroundImage ? "url('" + getRealPath(backgroundImage) + "')" : "none" } }, [iconPath && vue.createVNode("img", { - style: { + "style": { width: iconWidth, height: iconWidth }, - src: getRealPath(iconPath) + "src": getRealPath(iconPath) }, null, 12, ["src"])], 4), createTabBarItemBdTsx(color, iconPath, midButton, tabBar2)], 12, ["onClick"]); } var LayoutComponent = vue.defineComponent({ @@ -9478,7 +9451,7 @@ var LayoutComponent = vue.defineComponent({ const layoutTsx = createLayoutTsx(keepAliveRoute); const tabBarTsx = __UNI_FEATURE_TABBAR__ && createTabBarTsx(showTabBar); return vue.createVNode("uni-app", { - class: clazz2.value + "class": clazz2.value }, [layoutTsx, tabBarTsx], 2); }; } @@ -9637,7 +9610,7 @@ var PageHead = /* @__PURE__ */ vue.defineComponent({ const rightButtonsTsx = __UNI_FEATURE_NAVIGATIONBAR_BUTTONS__ ? createButtonsTsx(buttons.right) : []; const type = navigationBar.type || "default"; const placeholderTsx = type !== "transparent" && type !== "float" && vue.createVNode("div", { - class: { + "class": { "uni-placeholder": true, "uni-placeholder-titlePenetrate": navigationBar.titlePenetrate } @@ -9645,13 +9618,13 @@ var PageHead = /* @__PURE__ */ vue.defineComponent({ return vue.createVNode("uni-page-head", { "uni-page-head-type": type }, [vue.createVNode("div", { - ref: headRef, - class: clazz2.value, - style: style.value + "ref": headRef, + "class": clazz2.value, + "style": style.value }, [vue.createVNode("div", { - class: "uni-page-head-hd" + "class": "uni-page-head-hd" }, [backButtonTsx, ...leftButtonsTsx]), createPageHeadBdTsx(navigationBar, searchInput), vue.createVNode("div", { - class: "uni-page-head-ft" + "class": "uni-page-head-ft" }, [...rightButtonsTsx])], 6), placeholderTsx], 8, ["uni-page-head-type"]); }; } @@ -9663,8 +9636,8 @@ function createBackButtonTsx(pageMeta) { } = pageMeta; if (navigationBar.backButton && !isQuit) { return vue.createVNode("div", { - class: "uni-page-head-btn", - onClick: onPageHeadBackButton + "class": "uni-page-head-btn", + "onClick": onPageHeadBackButton }, [createSvgIconVNode(ICON_PATH_BACK, navigationBar.type === "transparent" ? "#fff" : navigationBar.titleColor, 27)], 8, ["onClick"]); } } @@ -9679,15 +9652,15 @@ function createButtonsTsx(btns) { iconStyle }, index2) => { return vue.createVNode("div", { - key: index2, - class: btnClass, - style: btnStyle, - onClick, + "key": index2, + "class": btnClass, + "style": btnStyle, + "onClick": onClick, "badge-text": badgeText }, [btnIconPath ? createSvgIconVNode(btnIconPath, iconStyle.color, iconStyle.fontSize) : vue.createVNode("i", { - class: "uni-btn-icon", - style: iconStyle, - innerHTML: btnText + "class": "uni-btn-icon", + "style": iconStyle, + "innerHTML": btnText }, null, 12, ["innerHTML"])], 14, ["onClick", "badge-text"]); }); } @@ -9705,18 +9678,18 @@ function createPageHeadTitleTextTsx({ titleImage }) { return vue.createVNode("div", { - class: "uni-page-head-bd" + "class": "uni-page-head-bd" }, [vue.createVNode("div", { - style: { + "style": { fontSize: titleSize, opacity: type === "transparent" ? 0 : 1 }, - class: "uni-page-head__title" + "class": "uni-page-head__title" }, [loading ? vue.createVNode("i", { - class: "uni-loading" + "class": "uni-loading" }, null) : titleImage ? vue.createVNode("img", { - src: titleImage, - class: "uni-page-head__title_image" + "src": titleImage, + "class": "uni-page-head__title_image" }, null, 8, ["src"]) : titleText], 4)]); } function createPageHeadSearchInputTsx(navigationBar, { @@ -9745,40 +9718,40 @@ function createPageHeadSearchInputTsx(navigationBar, { }; const placeholderClass = ["uni-page-head-search-placeholder", `uni-page-head-search-placeholder-${focus.value || text.value ? "left" : align}`]; return vue.createVNode("div", { - class: "uni-page-head-search", - style: searchStyle + "class": "uni-page-head-search", + "style": searchStyle }, [vue.createVNode("div", { - style: { + "style": { color: placeholderColor }, - class: placeholderClass + "class": placeholderClass }, [vue.createVNode("div", { - class: "uni-page-head-search-icon" + "class": "uni-page-head-search-icon" }, [createSvgIconVNode(ICON_PATH_SEARCH, placeholderColor, 20)]), text.value || composing.value ? "" : placeholder], 6), disabled ? vue.createVNode(Input, { - disabled: true, - style: { + "disabled": true, + "style": { color }, "placeholder-style": { color: placeholderColor }, - class: "uni-page-head-search-input", + "class": "uni-page-head-search-input", "confirm-type": "search", - onClick + "onClick": onClick }, null, 8, ["style", "placeholder-style", "onClick"]) : vue.createVNode(Input, { - focus: autoFocus, - style: { + "focus": autoFocus, + "style": { color }, "placeholder-style": { color: placeholderColor }, - class: "uni-page-head-search-input", + "class": "uni-page-head-search-input", "confirm-type": "search", - onFocus, - onBlur, - onInput, - onKeyup + "onFocus": onFocus, + "onBlur": onBlur, + "onInput": onInput, + "onKeyup": onKeyup }, null, 8, ["focus", "style", "placeholder-style", "onFocus", "onBlur", "onInput", "onKeyup"])], 4); } function onPageHeadBackButton() { @@ -10023,7 +9996,7 @@ function createPageRefreshTsx(refreshRef, pageMeta) { return null; } return vue.createVNode(_sfc_main, { - ref: refreshRef + "ref": refreshRef }, null, 512); } var index$2 = vue.defineComponent({ @@ -10050,8 +10023,8 @@ var index$1 = /* @__PURE__ */ vue.defineComponent({ t: t2 } = useI18n(); return () => vue.createVNode("div", { - class: "uni-async-error", - onClick: reload + "class": "uni-async-error", + "onClick": reload }, [t2("uni.async.error")], 8, ["onClick"]); } }); diff --git a/packages/uni-h5/dist/uni-h5.es.js b/packages/uni-h5/dist/uni-h5.es.js index a4dbdb3b94e39d41c52833acb613445d257a0663..26821570622af7a3271621e4563371ed2bdd84af 100644 --- a/packages/uni-h5/dist/uni-h5.es.js +++ b/packages/uni-h5/dist/uni-h5.es.js @@ -1,19 +1,3 @@ -var __defProp = Object.defineProperty; -var __hasOwnProp = Object.prototype.hasOwnProperty; -var __getOwnPropSymbols = Object.getOwnPropertySymbols; -var __propIsEnum = Object.prototype.propertyIsEnumerable; -var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, {enumerable: true, configurable: true, writable: true, value}) : obj[key] = value; -var __assign = (a2, b) => { - for (var prop in b || (b = {})) - if (__hasOwnProp.call(b, prop)) - __defNormalProp(a2, prop, b[prop]); - if (__getOwnPropSymbols) - for (var prop of __getOwnPropSymbols(b)) { - if (__propIsEnum.call(b, prop)) - __defNormalProp(a2, prop, b[prop]); - } - return a2; -}; import {isFunction, extend, hyphenate, isPlainObject, isString, isArray, hasOwn, isObject, capitalize, toRawType, makeMap as makeMap$1, isPromise, invokeArrayFns as invokeArrayFns$1} from "@vue/shared"; import {injectHook, withModifiers, createVNode, getCurrentInstance, inject, provide, reactive, computed, nextTick, onBeforeMount, onMounted, onBeforeActivate, onBeforeDeactivate, openBlock, createBlock, mergeProps, toDisplayString, ref, defineComponent, watch, onActivated, resolveComponent, toHandlers, renderSlot, onUnmounted, onBeforeUnmount, withDirectives, vShow, markRaw, isVNode, Fragment, createCommentVNode, createTextVNode, shallowRef, watchEffect, renderList, onDeactivated, Teleport, createApp, Transition, withCtx, KeepAlive, resolveDynamicComponent} from "vue"; import {once, passive, normalizeTarget, isBuiltInComponent, invokeArrayFns, NAVBAR_HEIGHT, parseQuery, PRIMARY_COLOR, removeLeadingSlash, getLen, ON_REACH_BOTTOM_DISTANCE, decodedQuery, debounce, updateElementStyle, addFont, scrollTo} from "@dcloudio/uni-shared"; @@ -1663,17 +1647,9 @@ function findElem(vm) { } const SCHEME_RE = /^([a-z-]+:)?\/\//i; const DATA_RE = /^data:.*,.*/; +const baseUrl = import.meta.env.BASE_URL; function addBase(filePath) { - const base = __uniConfig.router.base; - if (!base) { - return filePath; - } - if (base !== "/") { - if (("/" + filePath).indexOf(base) === 0) { - return "/" + filePath; - } - } - return base + filePath; + return baseUrl + filePath; } function getRealPath(filePath) { if (__uniConfig.router.base === "./") { @@ -5000,7 +4976,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) { createVNode("audio", { ref: "audio", loop: $props.loop, - style: {display: "none"} + style: {"display": "none"} }, null, 8, ["loop"]), createVNode("div", _hoisted_1$6, [ createVNode("div", { @@ -5213,12 +5189,12 @@ var index$q = /* @__PURE__ */ defineComponent({ const booleanAttrs = useBooleanAttr(props2, "disabled"); if (hoverClass && hoverClass !== "none") { return createVNode("uni-button", mergeProps({ - onClick, - class: hovering.value ? hoverClass : "" + "onClick": onClick, + "class": hovering.value ? hoverClass : "" }, binding, booleanAttrs), [slots.default && slots.default()], 16, ["onClick"]); } return createVNode("uni-button", mergeProps({ - onClick + "onClick": onClick }, booleanAttrs), [slots.default && slots.default()], 16, ["onClick"]); }; } @@ -5240,12 +5216,12 @@ var ResizeSensor = /* @__PURE__ */ defineComponent({ const update = useResizeSensorUpdate(rootRef, emit2, reset); useResizeSensorLifecycle(rootRef, props2, update, reset); return () => createVNode("uni-resize-sensor", { - ref: rootRef, - onAnimationstartOnce: update + "ref": rootRef, + "onAnimationstartOnce": update }, [createVNode("div", { - onScroll: update + "onScroll": update }, [createVNode("div", null, null)], 40, ["onScroll"]), createVNode("div", { - onScroll: update + "onScroll": update }, [createVNode("div", null, null)], 40, ["onScroll"])], 40, ["onAnimationstartOnce"]); } }); @@ -5936,13 +5912,13 @@ const _hoisted_1$5 = { width: "300", height: "150" }; -const _hoisted_2$2 = {style: {position: "absolute", top: "0", left: "0", width: "100%", height: "100%", overflow: "hidden"}}; +const _hoisted_2$2 = {style: {"position": "absolute", "top": "0", "left": "0", "width": "100%", "height": "100%", "overflow": "hidden"}}; function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) { const _component_ResizeSensor = resolveComponent("ResizeSensor"); return openBlock(), createBlock("uni-canvas", mergeProps({ "canvas-id": $props.canvasId, "disable-scroll": $props.disableScroll - }, __assign(__assign({}, $setup.Attrs), $setup.ExcludeAttrs), toHandlers($options._listeners)), [ + }, {...$setup.Attrs, ...$setup.ExcludeAttrs}, toHandlers($options._listeners)), [ createVNode("canvas", _hoisted_1$5, null, 512), createVNode("div", _hoisted_2$2, [ renderSlot(_ctx.$slots, "default") @@ -6028,7 +6004,7 @@ var index$p = /* @__PURE__ */ defineComponent({ useProvideCheckGroup(props2, trigger); return () => { return createVNode("uni-checkbox-group", { - ref: rootRef + "ref": rootRef }, [slots.default && slots.default()], 512); }; } @@ -6104,10 +6080,10 @@ var index$o = /* @__PURE__ */ defineComponent({ } }); return () => createVNode("uni-label", { - class: { + "class": { "uni-label-pointer": pointer }, - onClick: _onClick + "onClick": _onClick }, [slots.default && slots.default()], 10, ["onClick"]); } }); @@ -6185,11 +6161,11 @@ var index$n = /* @__PURE__ */ defineComponent({ booleanAttrs } = useBooleanAttr(props2, "disabled"); return createVNode("uni-checkbox", mergeProps(booleanAttrs, { - onClick: _onClick + "onClick": _onClick }), [createVNode("div", { - class: "uni-checkbox-wrapper" + "class": "uni-checkbox-wrapper" }, [createVNode("div", { - class: ["uni-checkbox-input", { + "class": ["uni-checkbox-input", { "uni-checkbox-input-disabled": props2.disabled }] }, [checkboxChecked.value ? createSvgIconVNode(ICON_PATH_SUCCESS_NO_CIRCLE, props2.color, 22) : ""], 2), slots.default && slots.default()])], 16, ["onClick"]); @@ -7009,9 +6985,9 @@ var index$m = /* @__PURE__ */ defineComponent({ useKeyboard$1(props2, rootRef); return () => { return createVNode("uni-editor", { - ref: rootRef, - id: props2.id, - class: "ql-container" + "ref": rootRef, + "id": props2.id, + "class": "ql-container" }, null, 8, ["id"]); }; } @@ -7147,14 +7123,14 @@ var index$k = /* @__PURE__ */ defineComponent({ modeStyle } = state; return createVNode("uni-image", { - ref: rootRef + "ref": rootRef }, [createVNode("div", { - style: modeStyle + "style": modeStyle }, null, 4), imgSrc ? createVNode("img", { - src: imgSrc, - draggable: props2.draggable + "src": imgSrc, + "draggable": props2.draggable }, null, 8, ["src", "draggable"]) : createVNode("img", null, null), FIX_MODES[mode] ? createVNode(ResizeSensor, { - onResize: fixSize + "onResize": fixSize }, null, 8, ["onResize"]) : createVNode("span", null, null)], 512); }; } @@ -7719,38 +7695,38 @@ var Input = /* @__PURE__ */ defineComponent({ } return () => { let inputNode = props2.disabled && fixDisabledColor ? createVNode("input", { - ref: fieldRef, - value: state.value, - tabindex: "-1", - readonly: !!props2.disabled, - type: type.value, - maxlength: state.maxlength, - step: step.value, - class: "uni-input-input", - onFocus: (event) => event.target.blur() + "ref": fieldRef, + "value": state.value, + "tabindex": "-1", + "readonly": !!props2.disabled, + "type": type.value, + "maxlength": state.maxlength, + "step": step.value, + "class": "uni-input-input", + "onFocus": (event) => event.target.blur() }, null, 40, ["value", "readonly", "type", "maxlength", "step", "onFocus"]) : createVNode("input", { - ref: fieldRef, - value: state.value, - disabled: !!props2.disabled, - type: type.value, - maxlength: state.maxlength, - step: step.value, - enterkeyhint: props2.confirmType, - class: "uni-input-input", - autocomplete: "off", - onKeyup: onKeyUpEnter + "ref": fieldRef, + "value": state.value, + "disabled": !!props2.disabled, + "type": type.value, + "maxlength": state.maxlength, + "step": step.value, + "enterkeyhint": props2.confirmType, + "class": "uni-input-input", + "autocomplete": "off", + "onKeyup": onKeyUpEnter }, null, 40, ["value", "disabled", "type", "maxlength", "step", "enterkeyhint", "onKeyup"]); return createVNode("uni-input", { - ref: rootRef + "ref": rootRef }, [createVNode("div", { - class: "uni-input-wrapper" + "class": "uni-input-wrapper" }, [withDirectives(createVNode("div", mergeProps(scopedAttrsState.attrs, { - style: props2.placeholderStyle, - class: ["uni-input-placeholder", props2.placeholderClass] + "style": props2.placeholderStyle, + "class": ["uni-input-placeholder", props2.placeholderClass] }), [props2.placeholder], 16), [[vShow, !(state.value.length || !valid.value)]]), props2.confirmType === "search" ? createVNode("form", { - action: "", - onSubmit: () => false, - class: "uni-input-form" + "action": "", + "onSubmit": () => false, + "class": "uni-input-form" }, [inputNode], 40, ["onSubmit"]) : inputNode])], 512); }; } @@ -7822,9 +7798,9 @@ var index$j = /* @__PURE__ */ defineComponent({ const defaultSlots = slots.default && slots.default(); movableViewItems = defaultSlots || []; return createVNode("uni-movable-area", mergeProps({ - ref: rootRef + "ref": rootRef }, $attrs.value, $excludeAttrs.value, _listeners), [createVNode(ResizeSensor, { - onReize: movableAreaEvents._resize + "onReize": movableAreaEvents._resize }, null, 8, ["onReize"]), movableViewItems], 16); }; } @@ -8434,9 +8410,9 @@ var index$i = /* @__PURE__ */ defineComponent({ } = useMovableViewState(props2, trigger, rootRef); return () => { return createVNode("uni-movable-view", { - ref: rootRef + "ref": rootRef }, [createVNode(ResizeSensor, { - onResize: setParent + "onResize": setParent }, null, 8, ["onResize"]), slots.default && slots.default()], 512); }; } @@ -9198,14 +9174,14 @@ var index$h = /* @__PURE__ */ defineComponent({ const defaultSlots = slots.default && slots.default(); columnVNodes = columnVNodes = defaultSlots || []; return createVNode("uni-picker-view", { - ref: rootRef + "ref": rootRef }, [createVNode(ResizeSensor, { - initial: true, - onResize: ({ + "initial": true, + "onResize": ({ height }) => state.height = height }, null, 8, ["initial", "onResize"]), createVNode("div", { - class: "uni-picker-view-wrapper" + "class": "uni-picker-view-wrapper" }, [columnVNodes])], 512); }; } @@ -10059,26 +10035,26 @@ var index$g = /* @__PURE__ */ defineComponent({ state.length = flatVNode(defaultSlots).length; const padding = `${maskSize.value}px 0`; return createVNode("uni-picker-view-column", { - ref: rootRef + "ref": rootRef }, [createVNode("div", { - onWheel: handleWheel, - onClick: handleTap, - class: "uni-picker-view-group" + "onWheel": handleWheel, + "onClick": handleTap, + "class": "uni-picker-view-group" }, [createVNode("div", mergeProps(scopedAttrsState.attrs, { - class: ["uni-picker-view-mask", pickerViewProps.maskClass], - style: `background-size: 100% ${maskSize.value}px;${pickerViewProps.maskStyle}` + "class": ["uni-picker-view-mask", pickerViewProps.maskClass], + "style": `background-size: 100% ${maskSize.value}px;${pickerViewProps.maskStyle}` }), null, 16), createVNode("div", mergeProps(scopedAttrsState.attrs, { - class: ["uni-picker-view-indicator", pickerViewProps.indicatorClass], - style: pickerViewProps.indicatorStyle + "class": ["uni-picker-view-indicator", pickerViewProps.indicatorClass], + "style": pickerViewProps.indicatorStyle }), [createVNode(ResizeSensor, { - initial: true, - onResize: ({ + "initial": true, + "onResize": ({ height }) => indicatorHeight.value = height }, null, 8, ["initial", "onResize"])], 16), createVNode("div", { - ref: contentRef, - class: ["uni-picker-view-content", className], - style: { + "ref": contentRef, + "class": ["uni-picker-view-content", className], + "style": { padding } }, [defaultSlots], 6)], 40, ["onWheel", "onClick"])], 512); @@ -10158,15 +10134,15 @@ var index$f = /* @__PURE__ */ defineComponent({ currentPercent } = state; return createVNode("uni-progress", { - class: "uni-progress" + "class": "uni-progress" }, [createVNode("div", { - style: outerBarStyle, - class: "uni-progress-bar" + "style": outerBarStyle, + "class": "uni-progress-bar" }, [createVNode("div", { - style: innerBarStyle, - class: "uni-progress-inner-bar" + "style": innerBarStyle, + "class": "uni-progress-inner-bar" }, null, 4)], 4), showInfo ? createVNode("p", { - class: "uni-progress-info" + "class": "uni-progress-info" }, [currentPercent + "%"]) : ""]); }; } @@ -10228,7 +10204,7 @@ var index$e = /* @__PURE__ */ defineComponent({ useProvideRadioGroup(props2, trigger); return () => { return createVNode("uni-radio-group", { - ref: rootRef + "ref": rootRef }, [slots.default && slots.default()], 512); }; } @@ -10238,10 +10214,7 @@ function useProvideRadioGroup(props2, trigger) { onMounted(() => { _resetRadioGroupValue(fields.length - 1); }); - const getFieldsValue = () => { - var _a; - return (_a = fields.find((field) => field.value.radioChecked)) == null ? void 0 : _a.value.value; - }; + const getFieldsValue = () => fields.find((field) => field.value.radioChecked)?.value.value; provide(uniRadioGroupKey, { addField(field) { fields.push(field); @@ -10361,14 +10334,14 @@ var index$d = /* @__PURE__ */ defineComponent({ booleanAttrs } = useBooleanAttr(props2, "disabled"); return createVNode("uni-radio", mergeProps(booleanAttrs, { - onClick: _onClick + "onClick": _onClick }), [createVNode("div", { - class: "uni-radio-wrapper" + "class": "uni-radio-wrapper" }, [createVNode("div", { - class: ["uni-radio-input", { + "class": ["uni-radio-input", { "uni-radio-input-disabled": props2.disabled }], - style: radioChecked.value ? checkedStyle.value : "" + "style": radioChecked.value ? checkedStyle.value : "" }, [radioChecked.value ? createSvgIconVNode(ICON_PATH_SUCCESS_NO_CIRCLE, "#fff", 18) : ""], 6), slots.default && slots.default()])], 16, ["onClick"]); }; } @@ -11774,7 +11747,7 @@ const _hoisted_9 = /* @__PURE__ */ createVNode("circle", { cy: "50", r: "20", fill: "none", - style: {color: "#2bd009"}, + style: {"color": "#2bd009"}, "stroke-width": "3" }, null, -1); function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) { @@ -11908,28 +11881,28 @@ var index$c = /* @__PURE__ */ defineComponent({ setBlockStyle } = state; return createVNode("uni-slider", { - ref: sliderRef, - onClick: _onClick + "ref": sliderRef, + "onClick": _onClick }, [createVNode("div", { - class: "uni-slider-wrapper" + "class": "uni-slider-wrapper" }, [createVNode("div", { - class: "uni-slider-tap-area" + "class": "uni-slider-tap-area" }, [createVNode("div", { - style: setBgColor.value, - class: "uni-slider-handle-wrapper" + "style": setBgColor.value, + "class": "uni-slider-handle-wrapper" }, [createVNode("div", { - ref: sliderHandleRef, - style: setBlockBg.value, - class: "uni-slider-handle" + "ref": sliderHandleRef, + "style": setBlockBg.value, + "class": "uni-slider-handle" }, null, 4), createVNode("div", { - style: setBlockStyle.value, - class: "uni-slider-thumb" + "style": setBlockStyle.value, + "class": "uni-slider-thumb" }, null, 4), createVNode("div", { - style: setActiveColor.value, - class: "uni-slider-track" + "style": setActiveColor.value, + "class": "uni-slider-track" }, null, 4)], 4)]), withDirectives(createVNode("span", { - ref: sliderValueRef, - class: "uni-slider-value" + "ref": sliderValueRef, + "class": "uni-slider-value" }, [sliderValue.value], 512), [[vShow, props2.showValue]])]), createVNode("slot", null, null)], 8, ["onClick"]); }; } @@ -12605,26 +12578,26 @@ var index$b = /* @__PURE__ */ defineComponent({ const defaultSlots = slots.default && slots.default(); swiperItems = flatVNode(defaultSlots); return createVNode("uni-swiper", { - ref: rootRef + "ref": rootRef }, [createVNode("div", { - ref: slidesWrapperRef, - class: "uni-swiper-wrapper" + "ref": slidesWrapperRef, + "class": "uni-swiper-wrapper" }, [createVNode("div", { - class: "uni-swiper-slides", - style: slidesStyle.value + "class": "uni-swiper-slides", + "style": slidesStyle.value }, [createVNode("div", { - ref: slideFrameRef, - class: "uni-swiper-slide-frame", - style: slideFrameStyle.value + "ref": slideFrameRef, + "class": "uni-swiper-slide-frame", + "style": slideFrameStyle.value }, [defaultSlots], 4)], 4), props2.indicatorDots && createVNode("div", { - class: ["uni-swiper-dots", props2.vertical ? "uni-swiper-dots-vertical" : "uni-swiper-dots-horizontal"] + "class": ["uni-swiper-dots", props2.vertical ? "uni-swiper-dots-vertical" : "uni-swiper-dots-horizontal"] }, [swiperContexts.value.map((_, index2, array) => createVNode("div", { - onClick: () => onSwiperDotClick(index2), - class: { + "onClick": () => onSwiperDotClick(index2), + "class": { "uni-swiper-dot": true, "uni-swiper-dot-active": index2 < state.current + state.displayMultipleItems && index2 >= state.current || index2 < state.current + state.displayMultipleItems - array.length }, - style: { + "style": { background: index2 === state.current ? props2.indicatorActiveColor : props2.indicatorColor } }, null, 14, ["onClick"]))], 2)], 512)], 512); @@ -12678,8 +12651,8 @@ var index$a = /* @__PURE__ */ defineComponent({ }); return () => { return createVNode("uni-swiper-item", { - ref: rootRef, - style: { + "ref": rootRef, + "style": { position: "absolute", width: "100%", height: "100%" @@ -12755,19 +12728,19 @@ var index$9 = /* @__PURE__ */ defineComponent({ booleanAttrs } = useBooleanAttr(props2, "disabled"); return createVNode("uni-switch", mergeProps({ - ref: rootRef + "ref": rootRef }, booleanAttrs, { - onClick: _onClick + "onClick": _onClick }), [createVNode("div", { - class: "uni-switch-wrapper" + "class": "uni-switch-wrapper" }, [withDirectives(createVNode("div", { - class: ["uni-switch-input", [switchChecked.value ? "uni-switch-input-checked" : ""]], - style: { + "class": ["uni-switch-input", [switchChecked.value ? "uni-switch-input-checked" : ""]], + "style": { backgroundColor: switchChecked.value ? color : "#DFDFDF", borderColor: switchChecked.value ? color : "#DFDFDF" } }, null, 6), [[vShow, type === "switch"]]), withDirectives(createVNode("div", { - class: "uni-checkbox-input" + "class": "uni-checkbox-input" }, [switchChecked.value ? createSvgIconVNode(ICON_PATH_SUCCESS_NO_CIRCLE, props2.color, 22) : ""], 512), [[vShow, type === "checkbox"]])])], 16, ["onClick"]); }; } @@ -12861,7 +12834,7 @@ var index$8 = /* @__PURE__ */ defineComponent({ }); } return createVNode("uni-text", { - selectable: props2.selectable + "selectable": props2.selectable }, [createVNode("span", null, children)], 8, ["selectable"]); }; } @@ -12948,54 +12921,54 @@ var index$7 = /* @__PURE__ */ defineComponent({ const fixMargin = String(navigator.platform).indexOf("iP") === 0 && String(navigator.vendor).indexOf("Apple") === 0 && window.matchMedia(DARK_TEST_STRING).media !== DARK_TEST_STRING; return () => { let textareaNode = props2.disabled && fixDisabledColor ? createVNode("textarea", { - ref: fieldRef, - value: state.value, - tabindex: "-1", - readonly: !!props2.disabled, - maxlength: state.maxlength, - class: { + "ref": fieldRef, + "value": state.value, + "tabindex": "-1", + "readonly": !!props2.disabled, + "maxlength": state.maxlength, + "class": { "uni-textarea-textarea": true, "uni-textarea-textarea-fix-margin": fixMargin }, - style: { + "style": { overflowY: props2.autoHeight ? "hidden" : "auto" }, - onFocus: (event) => event.target.blur() + "onFocus": (event) => event.target.blur() }, null, 46, ["value", "readonly", "maxlength", "onFocus"]) : createVNode("textarea", { - ref: fieldRef, - value: state.value, - disabled: !!props2.disabled, - maxlength: state.maxlength, - enterkeyhint: props2.confirmType, - class: { + "ref": fieldRef, + "value": state.value, + "disabled": !!props2.disabled, + "maxlength": state.maxlength, + "enterkeyhint": props2.confirmType, + "class": { "uni-textarea-textarea": true, "uni-textarea-textarea-fix-margin": fixMargin }, - style: { + "style": { overflowY: props2.autoHeight ? "hidden" : "auto" }, - onKeydown: onKeyDownEnter, - onKeyup: onKeyUpEnter + "onKeydown": onKeyDownEnter, + "onKeyup": onKeyUpEnter }, null, 46, ["value", "disabled", "maxlength", "enterkeyhint", "onKeydown", "onKeyup"]); return createVNode("uni-textarea", { - ref: rootRef + "ref": rootRef }, [createVNode("div", { - class: "uni-textarea-wrapper" + "class": "uni-textarea-wrapper" }, [withDirectives(createVNode("div", mergeProps(scopedAttrsState.attrs, { - style: props2.placeholderStyle, - class: ["uni-textarea-placeholder", props2.placeholderClass] + "style": props2.placeholderStyle, + "class": ["uni-textarea-placeholder", props2.placeholderClass] }), [props2.placeholder], 16), [[vShow, !state.value.length]]), createVNode("div", { - ref: lineRef, - class: "uni-textarea-line" + "ref": lineRef, + "class": "uni-textarea-line" }, [" "], 512), createVNode("div", { - class: "uni-textarea-compute" + "class": "uni-textarea-compute" }, [valueCompute.value.map((item) => createVNode("div", null, [item.trim() ? item : "."])), createVNode(ResizeSensor, { - initial: true, - onResize + "initial": true, + "onResize": onResize }, null, 8, ["initial", "onResize"])]), props2.confirmType === "search" ? createVNode("form", { - action: "", - onSubmit: () => false, - class: "uni-input-form" + "action": "", + "onSubmit": () => false, + "class": "uni-input-form" }, [textareaNode], 40, ["onSubmit"]) : textareaNode])], 512); }; } @@ -13014,7 +12987,7 @@ var index$6 = /* @__PURE__ */ defineComponent({ const hoverClass = props2.hoverClass; if (hoverClass && hoverClass !== "none") { return createVNode("uni-view", mergeProps({ - class: hovering.value ? hoverClass : "" + "class": hovering.value ? hoverClass : "" }, binding), [slots.default && slots.default()], 16); } return createVNode("uni-view", null, [slots.default && slots.default()]); @@ -13807,144 +13780,144 @@ var index$5 = /* @__PURE__ */ defineComponent({ useContext(play, pause, seek, sendDanmu, playbackRate, requestFullScreen, exitFullScreen); return () => { return createVNode("uni-video", { - ref: rootRef, - id: props2.id + "ref": rootRef, + "id": props2.id }, [createVNode("div", { - ref: containerRef, - class: "uni-video-container", - onTouchstart, - onTouchend, - onTouchmove, - onFullscreenchange: withModifiers(onFullscreenChange, ["stop"]), - onWebkitfullscreenchange: withModifiers(($event) => onFullscreenChange($event, true), ["stop"]) + "ref": containerRef, + "class": "uni-video-container", + "onTouchstart": onTouchstart, + "onTouchend": onTouchend, + "onTouchmove": onTouchmove, + "onFullscreenchange": withModifiers(onFullscreenChange, ["stop"]), + "onWebkitfullscreenchange": withModifiers(($event) => onFullscreenChange($event, true), ["stop"]) }, [createVNode("video", mergeProps({ - ref: videoRef, - style: { + "ref": videoRef, + "style": { "object-fit": props2.objectFit }, - muted: !!props2.muted, - loop: !!props2.loop, - src: videoState.src, - poster: props2.poster, - autoplay: !!props2.autoplay + "muted": !!props2.muted, + "loop": !!props2.loop, + "src": videoState.src, + "poster": props2.poster, + "autoplay": !!props2.autoplay }, videoAttrs.value, { - class: "uni-video-video", + "class": "uni-video-video", "webkit-playsinline": true, - playsinline: true, - onClick: toggleControls, - onDurationchange: onDurationChange, - onLoadedmetadata: onLoadedMetadata, - onProgress, - onWaiting, - onError: onVideoError, - onPlay, - onPause, - onEnded, - onTimeupdate: (event) => { + "playsinline": true, + "onClick": toggleControls, + "onDurationchange": onDurationChange, + "onLoadedmetadata": onLoadedMetadata, + "onProgress": onProgress, + "onWaiting": onWaiting, + "onError": onVideoError, + "onPlay": onPlay, + "onPause": onPause, + "onEnded": onEnded, + "onTimeupdate": (event) => { onTimeUpdate(event); updateDanmu(event); }, - onWebkitbeginfullscreen: () => emitFullscreenChange(true), - onX5videoenterfullscreen: () => emitFullscreenChange(true), - onWebkitendfullscreen: () => emitFullscreenChange(false), - onX5videoexitfullscreen: () => emitFullscreenChange(false) + "onWebkitbeginfullscreen": () => emitFullscreenChange(true), + "onX5videoenterfullscreen": () => emitFullscreenChange(true), + "onWebkitendfullscreen": () => emitFullscreenChange(false), + "onX5videoexitfullscreen": () => emitFullscreenChange(false) }), null, 16, ["muted", "loop", "src", "poster", "autoplay", "webkit-playsinline", "playsinline", "onClick", "onDurationchange", "onLoadedmetadata", "onProgress", "onWaiting", "onError", "onPlay", "onPause", "onEnded", "onTimeupdate", "onWebkitbeginfullscreen", "onX5videoenterfullscreen", "onWebkitendfullscreen", "onX5videoexitfullscreen"]), withDirectives(createVNode("div", { - class: "uni-video-bar uni-video-bar-full", - onClick: withModifiers(() => { + "class": "uni-video-bar uni-video-bar-full", + "onClick": withModifiers(() => { }, ["stop"]) }, [createVNode("div", { - class: "uni-video-controls" + "class": "uni-video-controls" }, [withDirectives(createVNode("div", { - class: { + "class": { "uni-video-control-button": true, "uni-video-control-button-play": !videoState.playing, "uni-video-control-button-pause": videoState.playing }, - onClick: withModifiers(toggle, ["stop"]) + "onClick": withModifiers(toggle, ["stop"]) }, null, 10, ["onClick"]), [[vShow, props2.showPlayBtn]]), createVNode("div", { - class: "uni-video-current-time" + "class": "uni-video-current-time" }, [formatTime(videoState.currentTime)]), createVNode("div", { - ref: progressRef, - class: "uni-video-progress-container", - onClick: withModifiers(clickProgress, ["stop"]) + "ref": progressRef, + "class": "uni-video-progress-container", + "onClick": withModifiers(clickProgress, ["stop"]) }, [createVNode("div", { - class: "uni-video-progress" + "class": "uni-video-progress" }, [createVNode("div", { - style: { + "style": { width: videoState.buffered + "%" }, - class: "uni-video-progress-buffered" + "class": "uni-video-progress-buffered" }, null, 4), createVNode("div", { - ref: ballRef, - style: { + "ref": ballRef, + "style": { left: videoState.progress + "%" }, - class: "uni-video-ball" + "class": "uni-video-ball" }, [createVNode("div", { - class: "uni-video-inner" + "class": "uni-video-inner" }, null)], 4)])], 8, ["onClick"]), createVNode("div", { - class: "uni-video-duration" + "class": "uni-video-duration" }, [formatTime(Number(props2.duration) || videoState.duration)])]), withDirectives(createVNode("div", { - class: { + "class": { "uni-video-danmu-button": true, "uni-video-danmu-button-active": danmuState.enable }, - onClick: withModifiers(toggleDanmu, ["stop"]) + "onClick": withModifiers(toggleDanmu, ["stop"]) }, [t2("uni.video.danmu")], 10, ["onClick"]), [[vShow, props2.danmuBtn]]), withDirectives(createVNode("div", { - class: { + "class": { "uni-video-fullscreen": true, "uni-video-type-fullscreen": fullscreenState.fullscreen }, - onClick: withModifiers(() => toggleFullscreen(!fullscreenState.fullscreen), ["stop"]) + "onClick": withModifiers(() => toggleFullscreen(!fullscreenState.fullscreen), ["stop"]) }, null, 10, ["onClick"]), [[vShow, props2.showFullscreenBtn]])], 8, ["onClick"]), [[vShow, controlsState.controlsShow]]), withDirectives(createVNode("div", { - ref: danmuRef, - style: "z-index: 0;", - class: "uni-video-danmu" + "ref": danmuRef, + "style": "z-index: 0;", + "class": "uni-video-danmu" }, null, 512), [[vShow, videoState.start && danmuState.enable]]), controlsState.centerPlayBtnShow && createVNode("div", { - class: "uni-video-cover", - onClick: withModifiers(() => { + "class": "uni-video-cover", + "onClick": withModifiers(() => { }, ["stop"]) }, [createVNode("div", { - class: "uni-video-cover-play-button", - onClick: withModifiers(play, ["stop"]) + "class": "uni-video-cover-play-button", + "onClick": withModifiers(play, ["stop"]) }, null, 8, ["onClick"]), createVNode("p", { - class: "uni-video-cover-duration" + "class": "uni-video-cover-duration" }, [formatTime(Number(props2.duration) || videoState.duration)])], 8, ["onClick"]), createVNode("div", { - class: { + "class": { "uni-video-toast": true, "uni-video-toast-volume": gestureState.gestureType === "volume" } }, [createVNode("div", { - class: "uni-video-toast-title" + "class": "uni-video-toast-title" }, [t2("uni.video.volume")]), createVNode("svg", { - class: "uni-video-toast-icon", - width: "200px", - height: "200px", - viewBox: "0 0 1024 1024", - version: "1.1", - xmlns: "http://www.w3.org/2000/svg" + "class": "uni-video-toast-icon", + "width": "200px", + "height": "200px", + "viewBox": "0 0 1024 1024", + "version": "1.1", + "xmlns": "http://www.w3.org/2000/svg" }, [createVNode("path", { - d: "M475.400704 201.19552l0 621.674496q0 14.856192-10.856448 25.71264t-25.71264 10.856448-25.71264-10.856448l-190.273536-190.273536-149.704704 0q-14.856192 0-25.71264-10.856448t-10.856448-25.71264l0-219.414528q0-14.856192 10.856448-25.71264t25.71264-10.856448l149.704704 0 190.273536-190.273536q10.856448-10.856448 25.71264-10.856448t25.71264 10.856448 10.856448 25.71264zm219.414528 310.837248q0 43.425792-24.28416 80.851968t-64.2816 53.425152q-5.71392 2.85696-14.2848 2.85696-14.856192 0-25.71264-10.570752t-10.856448-25.998336q0-11.999232 6.856704-20.284416t16.570368-14.2848 19.427328-13.142016 16.570368-20.284416 6.856704-32.569344-6.856704-32.569344-16.570368-20.284416-19.427328-13.142016-16.570368-14.2848-6.856704-20.284416q0-15.427584 10.856448-25.998336t25.71264-10.570752q8.57088 0 14.2848 2.85696 39.99744 15.427584 64.2816 53.139456t24.28416 81.137664zm146.276352 0q0 87.422976-48.56832 161.41824t-128.5632 107.707392q-7.428096 2.85696-14.2848 2.85696-15.427584 0-26.284032-10.856448t-10.856448-25.71264q0-22.284288 22.284288-33.712128 31.997952-16.570368 43.425792-25.141248 42.283008-30.855168 65.995776-77.423616t23.712768-99.136512-23.712768-99.136512-65.995776-77.423616q-11.42784-8.57088-43.425792-25.141248-22.284288-11.42784-22.284288-33.712128 0-14.856192 10.856448-25.71264t25.71264-10.856448q7.428096 0 14.856192 2.85696 79.99488 33.712128 128.5632 107.707392t48.56832 161.41824zm146.276352 0q0 131.42016-72.566784 241.41312t-193.130496 161.989632q-7.428096 2.85696-14.856192 2.85696-14.856192 0-25.71264-10.856448t-10.856448-25.71264q0-20.570112 22.284288-33.712128 3.999744-2.285568 12.85632-5.999616t12.85632-5.999616q26.284032-14.2848 46.854144-29.140992 70.281216-51.996672 109.707264-129.705984t39.426048-165.132288-39.426048-165.132288-109.707264-129.705984q-20.570112-14.856192-46.854144-29.140992-3.999744-2.285568-12.85632-5.999616t-12.85632-5.999616q-22.284288-13.142016-22.284288-33.712128 0-14.856192 10.856448-25.71264t25.71264-10.856448q7.428096 0 14.856192 2.85696 120.563712 51.996672 193.130496 161.989632t72.566784 241.41312z" + "d": "M475.400704 201.19552l0 621.674496q0 14.856192-10.856448 25.71264t-25.71264 10.856448-25.71264-10.856448l-190.273536-190.273536-149.704704 0q-14.856192 0-25.71264-10.856448t-10.856448-25.71264l0-219.414528q0-14.856192 10.856448-25.71264t25.71264-10.856448l149.704704 0 190.273536-190.273536q10.856448-10.856448 25.71264-10.856448t25.71264 10.856448 10.856448 25.71264zm219.414528 310.837248q0 43.425792-24.28416 80.851968t-64.2816 53.425152q-5.71392 2.85696-14.2848 2.85696-14.856192 0-25.71264-10.570752t-10.856448-25.998336q0-11.999232 6.856704-20.284416t16.570368-14.2848 19.427328-13.142016 16.570368-20.284416 6.856704-32.569344-6.856704-32.569344-16.570368-20.284416-19.427328-13.142016-16.570368-14.2848-6.856704-20.284416q0-15.427584 10.856448-25.998336t25.71264-10.570752q8.57088 0 14.2848 2.85696 39.99744 15.427584 64.2816 53.139456t24.28416 81.137664zm146.276352 0q0 87.422976-48.56832 161.41824t-128.5632 107.707392q-7.428096 2.85696-14.2848 2.85696-15.427584 0-26.284032-10.856448t-10.856448-25.71264q0-22.284288 22.284288-33.712128 31.997952-16.570368 43.425792-25.141248 42.283008-30.855168 65.995776-77.423616t23.712768-99.136512-23.712768-99.136512-65.995776-77.423616q-11.42784-8.57088-43.425792-25.141248-22.284288-11.42784-22.284288-33.712128 0-14.856192 10.856448-25.71264t25.71264-10.856448q7.428096 0 14.856192 2.85696 79.99488 33.712128 128.5632 107.707392t48.56832 161.41824zm146.276352 0q0 131.42016-72.566784 241.41312t-193.130496 161.989632q-7.428096 2.85696-14.856192 2.85696-14.856192 0-25.71264-10.856448t-10.856448-25.71264q0-20.570112 22.284288-33.712128 3.999744-2.285568 12.85632-5.999616t12.85632-5.999616q26.284032-14.2848 46.854144-29.140992 70.281216-51.996672 109.707264-129.705984t39.426048-165.132288-39.426048-165.132288-109.707264-129.705984q-20.570112-14.856192-46.854144-29.140992-3.999744-2.285568-12.85632-5.999616t-12.85632-5.999616q-22.284288-13.142016-22.284288-33.712128 0-14.856192 10.856448-25.71264t25.71264-10.856448q7.428096 0 14.856192 2.85696 120.563712 51.996672 193.130496 161.989632t72.566784 241.41312z" }, null)]), createVNode("div", { - class: "uni-video-toast-value" + "class": "uni-video-toast-value" }, [createVNode("div", { - style: { + "style": { width: gestureState.volumeNew * 100 + "%" }, - class: "uni-video-toast-value-content" + "class": "uni-video-toast-value-content" }, [createVNode("div", { - class: "uni-video-toast-volume-grids" + "class": "uni-video-toast-volume-grids" }, [renderList(10, () => createVNode("div", { - class: "uni-video-toast-volume-grids-item" + "class": "uni-video-toast-volume-grids-item" }, null))])], 4)])], 2), createVNode("div", { - class: { + "class": { "uni-video-toast": true, "uni-video-toast-progress": gestureState.gestureType === "progress" } }, [createVNode("div", { - class: "uni-video-toast-title" + "class": "uni-video-toast-title" }, [formatTime(gestureState.currentTimeNew), " / ", formatTime(videoState.duration)])], 2), createVNode("div", { - class: "uni-video-slots" + "class": "uni-video-slots" }, [slots.default && slots.default()])], 40, ["onTouchstart", "onTouchend", "onTouchmove", "onFullscreenchange", "onWebkitfullscreenchange"])], 8, ["id"]); }; } @@ -13983,15 +13956,15 @@ var index$4 = /* @__PURE__ */ defineComponent({ }); return () => { return createVNode(Fragment, null, [createVNode("uni-web-view", mergeProps($listeners.value, $excludeAttrs.value, { - ref: rootRef + "ref": rootRef }), [createVNode(ResizeSensor, { - onResize: _resize + "onResize": _resize }, null, 8, ["onResize"])], 16), createVNode(Teleport, { - to: "body" + "to": "body" }, { default: () => [createVNode("iframe", mergeProps({ - ref: iframeRef, - src: getRealPath(props2.src) + "ref": iframeRef, + "src": getRealPath(props2.src) }, $attrs.value), null, 16, ["src"])] })]); }; @@ -16331,35 +16304,35 @@ var modal = /* @__PURE__ */ defineComponent({ confirmColor } = props2; return createVNode(Transition, { - name: "uni-fade" + "name": "uni-fade" }, { default: () => [withDirectives(createVNode("uni-modal", { - onTouchmove: onEventPrevent + "onTouchmove": onEventPrevent }, [VNODE_MASK, createVNode("div", { - class: "uni-modal" + "class": "uni-modal" }, [title && createVNode("div", { - class: "uni-modal__hd" + "class": "uni-modal__hd" }, [createVNode("strong", { - class: "uni-modal__title", - textContent: title + "class": "uni-modal__title", + "textContent": title }, null, 8, ["textContent"])]), createVNode("div", { - class: "uni-modal__bd", - onTouchmovePassive: onEventStop, - textContent: content + "class": "uni-modal__bd", + "onTouchmovePassive": onEventStop, + "textContent": content }, null, 40, ["onTouchmovePassive", "textContent"]), createVNode("div", { - class: "uni-modal__ft" + "class": "uni-modal__ft" }, [showCancel && createVNode("div", { - style: { + "style": { color: props2.cancelColor }, - class: "uni-modal__btn uni-modal__btn_default", - onClick: cancel + "class": "uni-modal__btn uni-modal__btn_default", + "onClick": cancel }, [props2.cancelText], 12, ["onClick"]), createVNode("div", { - style: { + "style": { color: confirmColor }, - class: "uni-modal__btn uni-modal__btn_primary", - onClick: confirm + "class": "uni-modal__btn uni-modal__btn_primary", + "onClick": confirm }, [confirmText], 12, ["onClick"])])])], 40, ["onTouchmove"]), [[vShow, visible.value]])] }); }; @@ -16429,25 +16402,25 @@ var Toast = /* @__PURE__ */ defineComponent({ image: image2 } = props2; return createVNode(Transition, { - name: "uni-fade" + "name": "uni-fade" }, { default: () => [withDirectives(createVNode("uni-toast", { "data-duration": duration }, [mask ? createVNode("div", { - class: "uni-mask", - style: "background: transparent;", - onTouchmove: onEventPrevent + "class": "uni-mask", + "style": "background: transparent;", + "onTouchmove": onEventPrevent }, null, 40, ["onTouchmove"]) : "", !image2 && !Icon.value ? createVNode("div", { - class: "uni-sample-toast" + "class": "uni-sample-toast" }, [createVNode("p", { - class: "uni-simple-toast__text" + "class": "uni-simple-toast__text" }, [title])]) : createVNode("div", { - class: "uni-toast" + "class": "uni-toast" }, [image2 ? createVNode("img", { - src: image2, - class: ToastIconClassName + "src": image2, + "class": ToastIconClassName }, null, 10, ["src"]) : Icon.value, createVNode("p", { - class: "uni-toast__content" + "class": "uni-toast__content" }, [title])])], 8, ["data-duration"]), [[vShow, visible.value]])] }); }; @@ -16457,7 +16430,7 @@ function useToastIcon(props2) { const Icon = computed(() => props2.icon === "success" ? createVNode(createSvgIconVNode(ICON_PATH_SUCCESS_NO_CIRCLE, "#fff", 38), { class: ToastIconClassName }) : props2.icon === "loading" ? createVNode("i", { - class: [ToastIconClassName, "uni-loading"] + "class": [ToastIconClassName, "uni-loading"] }, null, 2) : null); return { Icon @@ -16838,13 +16811,13 @@ var MapLocation = /* @__PURE__ */ defineComponent({ } return () => { return state.latitude ? createVNode(MapMarker, mergeProps({ - anchor: { + "anchor": { x: 0.5, y: 0.5 }, - width: "44", - height: "44", - iconPath: ICON_PATH + "width": "44", + "height": "44", + "iconPath": ICON_PATH }, state), null, 16, ["iconPath"]) : null; }; } @@ -17181,15 +17154,15 @@ var index$3 = /* @__PURE__ */ defineComponent({ } = useMap(props2, rootRef, emit2); return () => { return createVNode("uni-map", { - ref: rootRef, - id: props2.id + "ref": rootRef, + "id": props2.id }, [createVNode("div", { - ref: mapRef, - style: "width: 100%; height: 100%; position: relative; overflow: hidden" + "ref": mapRef, + "style": "width: 100%; height: 100%; position: relative; overflow: hidden" }, null, 512), props2.markers.map((item) => item.id && createVNode(MapMarker, mergeProps({ - key: item.id + "key": item.id }, item), null, 16)), props2.polyline.map((item) => createVNode(MapPolyline, item, null, 16)), props2.circles.map((item) => createVNode(MapCircle, item, null, 16)), props2.controls.map((item) => createVNode(MapControl, item, null, 16)), props2.showLocation && createVNode(MapLocation, null, null), createVNode("div", { - style: "position: absolute;top: 0;width: 100%;height: 100%;overflow: hidden;pointer-events: none;" + "style": "position: absolute;top: 0;width: 100%;height: 100%;overflow: hidden;pointer-events: none;" }, [slots.default && slots.default()])], 8, ["id"]); }; } @@ -17314,16 +17287,16 @@ var TabBar = /* @__PURE__ */ defineComponent({ return () => { const tabBarItemsTsx = createTabBarItemsTsx(tabBar2, onSwitchTab); return createVNode("uni-tabbar", { - class: "uni-tabbar-" + tabBar2.position + "class": "uni-tabbar-" + tabBar2.position }, [createVNode("div", { - class: "uni-tabbar", - style: style.value + "class": "uni-tabbar", + "style": style.value }, [createVNode("div", { - class: "uni-tabbar-border", - style: borderStyle.value + "class": "uni-tabbar-border", + "style": borderStyle.value }, null, 4), tabBarItemsTsx], 4), createVNode("div", { - class: "uni-placeholder", - style: placeholderStyle.value + "class": "uni-placeholder", + "style": placeholderStyle.value }, null, 4)], 2); }; } @@ -17445,9 +17418,9 @@ function createTabBarItemsTsx(tabBar2, onSwitchTab) { } function createTabBarItemTsx(color, iconPath, tabBarItem, tabBar2, index2, onSwitchTab) { return createVNode("div", { - key: index2, - class: "uni-tabbar__item", - onClick: onSwitchTab(tabBarItem, index2) + "key": index2, + "class": "uni-tabbar__item", + "onClick": onSwitchTab(tabBarItem, index2) }, [createTabBarItemBdTsx(color, iconPath || "", tabBarItem, tabBar2)], 8, ["onClick"]); } function createTabBarItemBdTsx(color, iconPath, tabBarItem, tabBar2) { @@ -17455,8 +17428,8 @@ function createTabBarItemBdTsx(color, iconPath, tabBarItem, tabBar2) { height } = tabBar2; return createVNode("div", { - class: "uni-tabbar__bd", - style: { + "class": "uni-tabbar__bd", + "style": { height } }, [iconPath && createTabBarItemIconTsx(iconPath, tabBarItem, tabBar2), tabBarItem.text && createTabBarItemTextTsx(color, tabBarItem, tabBar2)], 4); @@ -17476,10 +17449,10 @@ function createTabBarItemIconTsx(iconPath, tabBarItem, tabBar2) { height: iconWidth }; return createVNode("div", { - class: clazz2, - style + "class": clazz2, + "style": style }, [type !== "midButton" && createVNode("img", { - src: getRealPath(iconPath) + "src": getRealPath(iconPath) }, null, 8, ["src"]), redDot && createTabBarItemRedDotTsx(tabBarItem.badge)], 6); } function createTabBarItemTextTsx(color, tabBarItem, tabBar2) { @@ -17499,14 +17472,14 @@ function createTabBarItemTextTsx(color, tabBarItem, tabBar2) { marginTop: !iconPath ? "inherit" : spacing }; return createVNode("div", { - class: "uni-tabbar__label", - style + "class": "uni-tabbar__label", + "style": style }, [text2, redDot && !iconPath && createTabBarItemRedDotTsx(tabBarItem.badge)], 4); } function createTabBarItemRedDotTsx(badge) { const clazz2 = "uni-tabbar__reddot" + (badge ? " uni-tabbar__badge" : ""); return createVNode("div", { - class: clazz2 + "class": clazz2 }, [badge], 2); } function createTabBarMidButtonTsx(color, iconPath, midButton, tabBar2, index2, onSwitchTab) { @@ -17517,26 +17490,26 @@ function createTabBarMidButtonTsx(color, iconPath, midButton, tabBar2, index2, o iconWidth } = midButton; return createVNode("div", { - key: index2, - class: "uni-tabbar__item", - style: { + "key": index2, + "class": "uni-tabbar__item", + "style": { flex: "0 0 " + width, position: "relative" }, - onClick: onSwitchTab(midButton, index2) + "onClick": onSwitchTab(midButton, index2) }, [createVNode("div", { - class: "uni-tabbar__mid", - style: { + "class": "uni-tabbar__mid", + "style": { width, height, backgroundImage: backgroundImage ? "url('" + getRealPath(backgroundImage) + "')" : "none" } }, [iconPath && createVNode("img", { - style: { + "style": { width: iconWidth, height: iconWidth }, - src: getRealPath(iconPath) + "src": getRealPath(iconPath) }, null, 12, ["src"])], 4), createTabBarItemBdTsx(color, iconPath, midButton, tabBar2)], 12, ["onClick"]); } const DEFAULT_CSS_VAR_VALUE = "0px"; @@ -17556,7 +17529,7 @@ var LayoutComponent = defineComponent({ const layoutTsx = createLayoutTsx(keepAliveRoute); const tabBarTsx = __UNI_FEATURE_TABBAR__ && createTabBarTsx(showTabBar2); return createVNode("uni-app", { - class: clazz2.value + "class": clazz2.value }, [layoutTsx, tabBarTsx], 2); }; } @@ -17777,7 +17750,7 @@ var PageHead = /* @__PURE__ */ defineComponent({ const rightButtonsTsx = __UNI_FEATURE_NAVIGATIONBAR_BUTTONS__ ? createButtonsTsx(buttons.right) : []; const type = navigationBar.type || "default"; const placeholderTsx = type !== "transparent" && type !== "float" && createVNode("div", { - class: { + "class": { "uni-placeholder": true, "uni-placeholder-titlePenetrate": navigationBar.titlePenetrate } @@ -17785,13 +17758,13 @@ var PageHead = /* @__PURE__ */ defineComponent({ return createVNode("uni-page-head", { "uni-page-head-type": type }, [createVNode("div", { - ref: headRef, - class: clazz2.value, - style: style.value + "ref": headRef, + "class": clazz2.value, + "style": style.value }, [createVNode("div", { - class: "uni-page-head-hd" + "class": "uni-page-head-hd" }, [backButtonTsx, ...leftButtonsTsx]), createPageHeadBdTsx(navigationBar, searchInput), createVNode("div", { - class: "uni-page-head-ft" + "class": "uni-page-head-ft" }, [...rightButtonsTsx])], 6), placeholderTsx], 8, ["uni-page-head-type"]); }; } @@ -17803,8 +17776,8 @@ function createBackButtonTsx(pageMeta) { } = pageMeta; if (navigationBar.backButton && !isQuit) { return createVNode("div", { - class: "uni-page-head-btn", - onClick: onPageHeadBackButton + "class": "uni-page-head-btn", + "onClick": onPageHeadBackButton }, [createSvgIconVNode(ICON_PATH_BACK, navigationBar.type === "transparent" ? "#fff" : navigationBar.titleColor, 27)], 8, ["onClick"]); } } @@ -17819,15 +17792,15 @@ function createButtonsTsx(btns) { iconStyle }, index2) => { return createVNode("div", { - key: index2, - class: btnClass, - style: btnStyle, - onClick, + "key": index2, + "class": btnClass, + "style": btnStyle, + "onClick": onClick, "badge-text": badgeText }, [btnIconPath ? createSvgIconVNode(btnIconPath, iconStyle.color, iconStyle.fontSize) : createVNode("i", { - class: "uni-btn-icon", - style: iconStyle, - innerHTML: btnText + "class": "uni-btn-icon", + "style": iconStyle, + "innerHTML": btnText }, null, 12, ["innerHTML"])], 14, ["onClick", "badge-text"]); }); } @@ -17845,18 +17818,18 @@ function createPageHeadTitleTextTsx({ titleImage }) { return createVNode("div", { - class: "uni-page-head-bd" + "class": "uni-page-head-bd" }, [createVNode("div", { - style: { + "style": { fontSize: titleSize, opacity: type === "transparent" ? 0 : 1 }, - class: "uni-page-head__title" + "class": "uni-page-head__title" }, [loading ? createVNode("i", { - class: "uni-loading" + "class": "uni-loading" }, null) : titleImage ? createVNode("img", { - src: titleImage, - class: "uni-page-head__title_image" + "src": titleImage, + "class": "uni-page-head__title_image" }, null, 8, ["src"]) : titleText], 4)]); } function createPageHeadSearchInputTsx(navigationBar, { @@ -17885,40 +17858,40 @@ function createPageHeadSearchInputTsx(navigationBar, { }; const placeholderClass = ["uni-page-head-search-placeholder", `uni-page-head-search-placeholder-${focus.value || text2.value ? "left" : align2}`]; return createVNode("div", { - class: "uni-page-head-search", - style: searchStyle + "class": "uni-page-head-search", + "style": searchStyle }, [createVNode("div", { - style: { + "style": { color: placeholderColor }, - class: placeholderClass + "class": placeholderClass }, [createVNode("div", { - class: "uni-page-head-search-icon" + "class": "uni-page-head-search-icon" }, [createSvgIconVNode(ICON_PATH_SEARCH, placeholderColor, 20)]), text2.value || composing.value ? "" : placeholder], 6), disabled ? createVNode(Input, { - disabled: true, - style: { + "disabled": true, + "style": { color }, "placeholder-style": { color: placeholderColor }, - class: "uni-page-head-search-input", + "class": "uni-page-head-search-input", "confirm-type": "search", - onClick + "onClick": onClick }, null, 8, ["style", "placeholder-style", "onClick"]) : createVNode(Input, { - focus: autoFocus, - style: { + "focus": autoFocus, + "style": { color }, "placeholder-style": { color: placeholderColor }, - class: "uni-page-head-search-input", + "class": "uni-page-head-search-input", "confirm-type": "search", - onFocus, - onBlur, - onInput, - onKeyup + "onFocus": onFocus, + "onBlur": onBlur, + "onInput": onInput, + "onKeyup": onKeyup }, null, 8, ["focus", "style", "placeholder-style", "onFocus", "onBlur", "onInput", "onKeyup"])], 4); } function onPageHeadBackButton() { @@ -18362,7 +18335,7 @@ function createPageRefreshTsx(refreshRef, pageMeta) { return null; } return createVNode(_sfc_main, { - ref: refreshRef + "ref": refreshRef }, null, 512); } var index$2 = defineComponent({ @@ -18389,8 +18362,8 @@ var index$1 = /* @__PURE__ */ defineComponent({ t: t2 } = useI18n(); return () => createVNode("div", { - class: "uni-async-error", - onClick: reload + "class": "uni-async-error", + "onClick": reload }, [t2("uni.async.error")], 8, ["onClick"]); } }); diff --git a/packages/uni-h5/src/platform/dom.ts b/packages/uni-h5/src/platform/dom.ts index 2c3a75f7695bf50c665590835e9dc88204685382..6fb5e66067b9ffad39f7ba2f976249c5ebac6724 100644 --- a/packages/uni-h5/src/platform/dom.ts +++ b/packages/uni-h5/src/platform/dom.ts @@ -1,6 +1,14 @@ import { ComponentPublicInstance } from 'vue' import { getRealRoute } from '@dcloudio/uni-core' +declare global { + interface ImportMeta { + env: { + BASE_URL: string + } + } +} + export function findElem(vm: ComponentPublicInstance) { return vm.$el } @@ -8,18 +16,9 @@ export function findElem(vm: ComponentPublicInstance) { const SCHEME_RE = /^([a-z-]+:)?\/\//i const DATA_RE = /^data:.*,.*/ +const baseUrl = __IMPORT_META_ENV_BASE_URL__ function addBase(filePath: string) { - const base = __uniConfig.router.base - if (!base) { - return filePath - } - if (base !== '/') { - // 部分地址已经带了base(如被webpack处理过的资源自动带了publicPath) - if (('/' + filePath).indexOf(base) === 0) { - return '/' + filePath - } - } - return base + filePath + return baseUrl + filePath } export function getRealPath(filePath: string) { diff --git a/packages/uni-h5/vite.config.ts b/packages/uni-h5/vite.config.ts index 60b5edcee943962d05abb9e20bd452efb190a5ec..4318ebb58234886100f42a2fd34df56e682d67c9 100644 --- a/packages/uni-h5/vite.config.ts +++ b/packages/uni-h5/vite.config.ts @@ -30,6 +30,10 @@ const rollupPlugins = [ defineTaskApi: `/*#__PURE__*/ defineTaskApi`, defineSyncApi: `/*#__PURE__*/ defineSyncApi`, defineAsyncApi: `/*#__PURE__*/ defineAsyncApi`, + __IMPORT_META_ENV_BASE_URL__: + FORMAT === 'cjs' + ? '__IMPORT_META_ENV_BASE_URL__' + : 'import.meta.env.BASE_URL', //直接使用import.meta.env.BASE_URL会被vite替换成'/' }, preventAssignment: true, }), @@ -90,6 +94,7 @@ export default defineConfig({ vueJsx({ optimize: true, isCustomElement }), ], build: { + target: 'es2020', // keep import.meta... emptyOutDir: FORMAT === 'es', minify: false, lib: { diff --git a/packages/vite-plugin-uni/src/cli/server.ts b/packages/vite-plugin-uni/src/cli/server.ts index f4feb8daf9cb7083efaceff5fad4614d6eddd27c..7e2f1727a7cc901535c20c9dc62f496f071e049e 100644 --- a/packages/vite-plugin-uni/src/cli/server.ts +++ b/packages/vite-plugin-uni/src/cli/server.ts @@ -84,8 +84,16 @@ export async function createSSRServer(options: CliOptions & ServerOptions) { ? 'https' : 'http' let port = options.port || serverOptions.port || 3000 - const hostname = options.host - + let hostname: string | undefined + if (options.host === undefined || options.host === 'localhost') { + // Use a secure default + hostname = '127.0.0.1' + } else if (options.host === true) { + // probably passed --host in the CLI, without arguments + hostname = undefined // undefined typically means 0.0.0.0 or :: (listen on all IPs) + } else { + hostname = options.host as string + } return new Promise((resolve, reject) => { const onSuccess = () => { const interfaces = os.networkInterfaces() diff --git a/packages/vite-plugin-uni/src/config/index.ts b/packages/vite-plugin-uni/src/config/index.ts index bda6fd9616afa1b983b184b82fd358ca752e358b..9aa2889dd4976367beac762073b6efc07f478f7a 100644 --- a/packages/vite-plugin-uni/src/config/index.ts +++ b/packages/vite-plugin-uni/src/config/index.ts @@ -2,7 +2,7 @@ import path from 'path' import { extend } from '@vue/shared' import { Plugin, UserConfig } from 'vite' -import { normalizePath } from '@dcloudio/uni-cli-shared' +import { normalizePath, parseManifestJsonOnce } from '@dcloudio/uni-cli-shared' import { VitePluginUniResolvedOptions } from '..' import { createCss } from './css' @@ -28,7 +28,9 @@ export function createConfig( options.inputDir = normalizeInputDir(config) options.compiler.init() const define = createDefine(options, config, env) + const { h5 } = parseManifestJsonOnce(options.inputDir) return { + base: (h5 && h5.router && h5.router.base) || '', define: extend(define, options.compiler.define()), resolve: createResolve(options, config), optimizeDeps: createOptimizeDeps(options), diff --git a/packages/vite-plugin-uni/src/config/server.ts b/packages/vite-plugin-uni/src/config/server.ts index 1db9b78f810cb1c6fc33307dc645dbb9f373a375..8395a3454f603f54d0e09db2fe2dbb98ca17452c 100644 --- a/packages/vite-plugin-uni/src/config/server.ts +++ b/packages/vite-plugin-uni/src/config/server.ts @@ -5,6 +5,7 @@ export function createServer( _options: VitePluginUniResolvedOptions ): UserConfig['server'] { return { + host: true, watch: { ignored: ['**/uniCloud**'], }, diff --git a/packages/vite-plugin-uni/src/configResolved/config.ts b/packages/vite-plugin-uni/src/configResolved/config.ts index d25fb13fa17455e8fe20d01dae2921ad26b58db8..2f26d366eb936607b09ad527705e5c1a9b150e31 100644 --- a/packages/vite-plugin-uni/src/configResolved/config.ts +++ b/packages/vite-plugin-uni/src/configResolved/config.ts @@ -1,9 +1,15 @@ import { ResolvedConfig } from 'vite' -import { isSsr, rewriteSsrNativeTag, rewriteSsrRenderStyle } from '../utils' +import { + isSsr, + initSsrDefine, + rewriteSsrNativeTag, + rewriteSsrRenderStyle, +} from '../utils' // import alias from 'module-alias' export function initConfig(config: ResolvedConfig) { if (isSsr(config.command, config)) { + initSsrDefine(config) rewriteSsrNativeTag() rewriteSsrRenderStyle(process.env.UNI_INPUT_DIR) } diff --git a/packages/vite-plugin-uni/src/utils/ssr.ts b/packages/vite-plugin-uni/src/utils/ssr.ts index ebc9426a7ae93525e0fdca053051f8da98d1d93a..6b70ac96a986af5b7e9ba36f953a7656a1b1e205 100644 --- a/packages/vite-plugin-uni/src/utils/ssr.ts +++ b/packages/vite-plugin-uni/src/utils/ssr.ts @@ -1,6 +1,6 @@ import path from 'path' import fs from 'fs-extra' -import { isString, NormalizedStyle } from '@vue/shared' +import { extend, isString, NormalizedStyle } from '@vue/shared' import { isNativeTag, createRpx2Unit, @@ -32,6 +32,10 @@ export function isSsrManifest( return false } +export function initSsrDefine(config: ResolvedConfig) { + extend(globalThis, { __IMPORT_META_ENV_BASE_URL__: config.env.BASE_URL }) +} + function serializeDefine(define: Record): string { let res = `{` for (const key in define) { diff --git a/yarn.lock b/yarn.lock index ec3eebad666e6e3dd2864bef3f1a6615a17889cb..30dbbee29e7c92d5dc572e3c4720fafa3c8e62bf 100644 --- a/yarn.lock +++ b/yarn.lock @@ -345,9 +345,9 @@ minimist "^1.2.0" "@dcloudio/types@^2.2.1": - version "2.2.2" - resolved "https://registry.yarnpkg.com/@dcloudio/types/-/types-2.2.2.tgz#74f01b4a04b4577f16e6d0f48579c2c84ef0b88b" - integrity sha512-4zOZ2WWg0t1Y6m9WOsUHIlkptUQI1bbN4rJWNquVb4Rcwcx3OlZ5AYcnCSWGT4LjGxPz+fkt91dxmCAjQBQs3Q== + version "2.2.3" + resolved "https://registry.yarnpkg.com/@dcloudio/types/-/types-2.2.3.tgz#651e61eed278fd2ff44c3a654a6a799cc4a6d1a6" + integrity sha512-pGtihm7tmfaSEwZS8IuT9fnS79MsofycKQBmA9/vP8dufFhMOPxC35S1sovQonB8PhvletY3hK6InxCWe3HIRg== "@eslint/eslintrc@^0.4.1": version "0.4.1" @@ -744,36 +744,6 @@ dependencies: "@sinonjs/commons" "^1.7.0" -"@sitespeed.io/tracium@^0.3.3": - version "0.3.3" - resolved "https://registry.yarnpkg.com/@sitespeed.io/tracium/-/tracium-0.3.3.tgz#b497a4a8d5837db1fd9e3053c99b78f6c0e1f53b" - integrity sha512-dNZafjM93Y+F+sfwTO5gTpsGXlnc/0Q+c2+62ViqP3gkMWvHEMSKkaEHgVJLcLg3i/g19GSIPziiKpgyne07Bw== - dependencies: - debug "^4.1.1" - -"@size-limit/file@4.10.2": - version "4.10.2" - resolved "https://registry.yarnpkg.com/@size-limit/file/-/file-4.10.2.tgz#0a91b83ae310d267bd0a9d6d865e06b0f3fef6ce" - integrity sha512-IrmEzZitNMTyGcbvIN5bMN6u8A5x8M1YVjfJnEiO3mukMtszGK2yOqVYltyyvB0Qm0Wvqcm4qXAxxRASXtDwVg== - dependencies: - semver "7.3.5" - -"@size-limit/preset-app@^4.10.1": - version "4.10.2" - resolved "https://registry.yarnpkg.com/@size-limit/preset-app/-/preset-app-4.10.2.tgz#9732ddea7f81c3a00b90299a16bac111a51761de" - integrity sha512-B/+okE4Jn/N4rqIhy+ZpgdQ72BMQwpkxIHp+rCdFDib1H7VVbgLwyei9mfIco4cKNzk/EkQ6wd4Hyit6OsY0pQ== - dependencies: - "@size-limit/file" "4.10.2" - "@size-limit/time" "4.10.2" - -"@size-limit/time@4.10.2": - version "4.10.2" - resolved "https://registry.yarnpkg.com/@size-limit/time/-/time-4.10.2.tgz#139782f6d600b88671ec719bcc7ea8e8ae324779" - integrity sha512-zvpCDojR0+B1gHCAiLWCm4eLlapLMZYuNLE+SVOn0QR1/L9UwERFvXy5/sIJO62qX/MNusyhBmC2NkqB9gOtjg== - dependencies: - estimo "^2.2.3" - react "^17.0.2" - "@types/argparse@1.0.38": version "1.0.38" resolved "https://registry.yarnpkg.com/@types/argparse/-/argparse-1.0.38.tgz#a81fd8606d481f873a3800c6ebae4f1d768a56a9" @@ -1045,13 +1015,6 @@ dependencies: "@types/yargs-parser" "*" -"@types/yauzl@^2.9.1": - version "2.9.1" - resolved "https://registry.yarnpkg.com/@types/yauzl/-/yauzl-2.9.1.tgz#d10f69f9f522eef3cf98e30afb684a1e1ec923af" - integrity sha512-A1b8SU4D10uoPjwb0lnHmmu8wZhR9d+9o2PKBQT2jU5YPTKsxac6M2qGAdY7VcL+dHHhARVUDmeg0rOrcd9EjA== - dependencies: - "@types/node" "*" - "@typescript-eslint/parser@^4.12.0": version "4.23.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-4.23.0.tgz#239315d38e42e852bef43a4b0b01bef78f78911c" @@ -1264,13 +1227,6 @@ acorn@^8.1.0: resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.2.4.tgz#caba24b08185c3b56e3168e97d15ed17f4d31fd0" integrity sha512-Ibt84YwBDDA890eDiDCEqcbwvHlBvzzDkU2cGBBDDI1QWT12jTiXIOn2CIw5KK4i6N5Z2HUxwYjzriDyqaqqZg== -agent-base@6: - version "6.0.2" - resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-6.0.2.tgz#49fff58577cfee3f37176feab4c22e00f86d7f77" - integrity sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ== - dependencies: - debug "4" - aggregate-error@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/aggregate-error/-/aggregate-error-3.1.0.tgz#92670ff50f5359bdb7a3e0d40d0ec30c5737687a" @@ -1338,7 +1294,7 @@ anymatch@^2.0.0: micromatch "^3.1.4" normalize-path "^2.1.1" -anymatch@^3.0.3, anymatch@~3.1.1: +anymatch@^3.0.3: version "3.1.2" resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.2.tgz#c0557c096af32f106198f4f4e2a383537e378716" integrity sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg== @@ -1518,11 +1474,6 @@ balanced-match@^1.0.0: resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== -base64-js@^1.3.1: - version "1.5.1" - resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" - integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== - base@^0.11.1: version "0.11.2" resolved "https://registry.yarnpkg.com/base/-/base-0.11.2.tgz#7bde5ced145b6d551a90db87f83c558b4eb48a8f" @@ -1548,20 +1499,6 @@ big.js@^5.2.2: resolved "https://registry.yarnpkg.com/big.js/-/big.js-5.2.2.tgz#65f0af382f578bcdc742bd9c281e9cb2d7768328" integrity sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ== -binary-extensions@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d" - integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA== - -bl@^4.0.3, bl@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/bl/-/bl-4.1.0.tgz#451535264182bec2fbbc83a62ab98cf11d9f7b3a" - integrity sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w== - dependencies: - buffer "^5.5.0" - inherits "^2.0.4" - readable-stream "^3.4.0" - bl@~0.8.1: version "0.8.2" resolved "https://registry.yarnpkg.com/bl/-/bl-0.8.2.tgz#c9b6bca08d1bc2ea00fc8afb4f1a5fd1e1c66e4e" @@ -1624,7 +1561,7 @@ braces@^2.3.1: split-string "^3.0.2" to-regex "^3.0.1" -braces@^3.0.1, braces@~3.0.2: +braces@^3.0.1: version "3.0.2" resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107" integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A== @@ -1729,11 +1666,6 @@ bser@2.1.1: dependencies: node-int64 "^0.4.0" -buffer-crc32@~0.2.3: - version "0.2.13" - resolved "https://registry.yarnpkg.com/buffer-crc32/-/buffer-crc32-0.2.13.tgz#0d333e3f00eac50aa1454abd30ef8c2a5d9a7242" - integrity sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI= - buffer-es6@^4.9.2, buffer-es6@^4.9.3: version "4.9.3" resolved "https://registry.yarnpkg.com/buffer-es6/-/buffer-es6-4.9.3.tgz#f26347b82df76fd37e18bcb5288c4970cfd5c404" @@ -1749,24 +1681,11 @@ buffer-xor@^1.0.3: resolved "https://registry.yarnpkg.com/buffer-xor/-/buffer-xor-1.0.3.tgz#26e61ed1422fb70dd42e6e36729ed51d855fe8d9" integrity sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk= -buffer@^5.2.1, buffer@^5.5.0: - version "5.7.1" - resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.7.1.tgz#ba62e7c13133053582197160851a8f648e99eed0" - integrity sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ== - dependencies: - base64-js "^1.3.1" - ieee754 "^1.1.13" - builtin-modules@^3.1.0: version "3.2.0" resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-3.2.0.tgz#45d5db99e7ee5e6bc4f362e008bf917ab5049887" integrity sha512-lGzLKcioL90C7wMczpkY0n/oART3MbBa8R9OFGE1rJxoVI86u4WAGfEk8Wjv10eKSyTHVGkSo3bvBylCEtk7LA== -bytes-iec@^3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/bytes-iec/-/bytes-iec-3.1.1.tgz#94cd36bf95c2c22a82002c247df8772d1d591083" - integrity sha512-fey6+4jDK7TFtFg/klGSvNKJctyU7n2aQdnM+CO0ruLPbqqMOM8Tio0Pc+deqUeVKX1tL5DQep1zQ7+37aTAsA== - bytes@3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.0.tgz#f6cf7933a360e0588fa9fde85651cdc7f805d1f6" @@ -1846,26 +1765,6 @@ char-regex@^1.0.2: resolved "https://registry.yarnpkg.com/char-regex/-/char-regex-1.0.2.tgz#d744358226217f981ed58f479b1d6bcc29545dcf" integrity sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw== -chokidar@^3.5.1: - version "3.5.1" - resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.1.tgz#ee9ce7bbebd2b79f49f304799d5468e31e14e68a" - integrity sha512-9+s+Od+W0VJJzawDma/gvBNQqkTiqYTWLuZoyAsivsI4AaWTCzHG06/TMjsf1cYe9Cb97UCEhjz7HvnPk2p/tw== - dependencies: - anymatch "~3.1.1" - braces "~3.0.2" - glob-parent "~5.1.0" - is-binary-path "~2.1.0" - is-glob "~4.0.1" - normalize-path "~3.0.0" - readdirp "~3.5.0" - optionalDependencies: - fsevents "~2.3.1" - -chownr@^1.1.1: - version "1.1.4" - resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.4.tgz#6fc9d7b42d32a583596337666e7d08084da2cc6b" - integrity sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg== - ci-info@^1.5.0: version "1.6.0" resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-1.6.0.tgz#2ca20dbb9ceb32d4524a683303313f0304b1e497" @@ -1876,11 +1775,6 @@ ci-info@^2.0.0: resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46" integrity sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ== -ci-job-number@^1.2.2: - version "1.2.2" - resolved "https://registry.yarnpkg.com/ci-job-number/-/ci-job-number-1.2.2.tgz#f4e5918fcaeeda95b604f214be7d7d4a961fe0c0" - integrity sha512-CLOGsVDrVamzv8sXJGaILUVI6dsuAkouJP/n6t+OxLPeeA4DDby7zn9SB6EUpa1H7oIKoE+rMmkW80zYsFfUjA== - cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3: version "1.0.4" resolved "https://registry.yarnpkg.com/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de" @@ -1916,11 +1810,6 @@ cli-cursor@^3.1.0: dependencies: restore-cursor "^3.1.0" -cli-spinners@^2.5.0: - version "2.6.0" - resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-2.6.0.tgz#36c7dc98fb6a9a76bd6238ec3f77e2425627e939" - integrity sha512-t+4/y50K/+4xcCRosKkA7W4gTr1MySvLV0q+PxmG7FJ5g+66ChKurYjxBCjHggHH3HA5Hh9cy+lcUGWDqVH+4Q== - cli-truncate@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/cli-truncate/-/cli-truncate-2.1.0.tgz#c39e28bf05edcde5be3b98992a22deed5a2b93c7" @@ -1938,20 +1827,6 @@ cliui@^6.0.0: strip-ansi "^6.0.0" wrap-ansi "^6.2.0" -cliui@^7.0.2: - version "7.0.4" - resolved "https://registry.yarnpkg.com/cliui/-/cliui-7.0.4.tgz#a0265ee655476fc807aea9df3df8df7783808b4f" - integrity sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ== - dependencies: - string-width "^4.2.0" - strip-ansi "^6.0.0" - wrap-ansi "^7.0.0" - -clone@^1.0.2: - version "1.0.4" - resolved "https://registry.yarnpkg.com/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e" - integrity sha1-2jCcwmPfFZlMaIypAheco8fNfH4= - clone@~0.1.9: version "0.1.19" resolved "https://registry.yarnpkg.com/clone/-/clone-0.1.19.tgz#613fb68639b26a494ac53253e15b1a6bd88ada85" @@ -2235,7 +2110,7 @@ debug@2.6.9, debug@^2.2.0, debug@^2.3.3: dependencies: ms "2.0.0" -debug@4, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1, debug@^4.2.0, debug@^4.3.1: +debug@^4.0.1, debug@^4.1.0, debug@^4.1.1, debug@^4.2.0, debug@^4.3.1: version "4.3.1" resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.1.tgz#f0d229c505e0c6d8c49ac553d1b13dc183f6b2ee" integrity sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ== @@ -2272,13 +2147,6 @@ deepmerge@^4.2.2: resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.2.2.tgz#44d2ea3679b8f4d4ffba33f03d865fc1e7bf4955" integrity sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg== -defaults@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/defaults/-/defaults-1.0.3.tgz#c656051e9817d9ff08ed881477f3fe4019f3ef7d" - integrity sha1-xlYFHpgX2f8I7YgUd/P+QBnz730= - dependencies: - clone "^1.0.2" - deferred-leveldown@~0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/deferred-leveldown/-/deferred-leveldown-0.2.0.tgz#2cef1f111e1c57870d8bbb8af2650e587cd2f5b4" @@ -2336,11 +2204,6 @@ detect-newline@^3.0.0: resolved "https://registry.yarnpkg.com/detect-newline/-/detect-newline-3.1.0.tgz#576f5dfc63ae1a192ff192d8ad3af6308991b651" integrity sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA== -devtools-protocol@0.0.869402: - version "0.0.869402" - resolved "https://registry.yarnpkg.com/devtools-protocol/-/devtools-protocol-0.0.869402.tgz#03ade701761742e43ae4de5dc188bcd80f156d8d" - integrity sha512-VvlVYY+VDJe639yHs5PHISzdWTLL3Aw8rO4cvUtwvoxFd6FHbE4OpHHcde52M6096uYYazAmd4l0o5VuFRO2WA== - diff-sequences@^26.6.2: version "26.6.2" resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-26.6.2.tgz#48ba99157de1923412eed41db6b6d4aa9ca7c0b1" @@ -2427,7 +2290,7 @@ encodeurl@~1.0.2: resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59" integrity sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k= -end-of-stream@^1.1.0, end-of-stream@^1.4.1: +end-of-stream@^1.1.0: version "1.4.4" resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0" integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q== @@ -2455,10 +2318,10 @@ error-ex@^1.3.1: dependencies: is-arrayish "^0.2.1" -esbuild@^0.9.3: - version "0.9.7" - resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.9.7.tgz#ea0d639cbe4b88ec25fbed4d6ff00c8d788ef70b" - integrity sha512-VtUf6aQ89VTmMLKrWHYG50uByMF4JQlVysb8dmg6cOgW8JnFCipmz7p+HNBl+RR3LLCuBxFGVauAe2wfnF9bLg== +esbuild@^0.11.19: + version "0.11.20" + resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.11.20.tgz#7cefa1aee8b372c184e42457885f7ce5d3e62a1e" + integrity sha512-QOZrVpN/Yz74xfat0H6euSgn3RnwLevY1mJTEXneukz1ln9qB+ieaerRMzSeETpz/UJWsBMzRVR/andBht5WKw== escalade@^3.1.1: version "3.1.1" @@ -2588,16 +2451,6 @@ esrecurse@^4.3.0: dependencies: estraverse "^5.2.0" -estimo@^2.2.3: - version "2.2.7" - resolved "https://registry.yarnpkg.com/estimo/-/estimo-2.2.7.tgz#bbfd97ad208b831d83ac5402c26e32b0e23939ed" - integrity sha512-hY5X3DwK4Pftmc2yvkKXiRk32gr8vbc0OMfztQjsA9UYX29aovnpuIoL/g0MlcNXe8EOKGLrKIl1t0cItoblhA== - dependencies: - "@sitespeed.io/tracium" "^0.3.3" - nanoid "^3.1.22" - puppeteer-core "^9.1.0" - yargs "^17.0.0" - estraverse@^4.1.1: version "4.3.0" resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d" @@ -2792,17 +2645,6 @@ extglob@^2.0.4: snapdragon "^0.8.1" to-regex "^3.0.1" -extract-zip@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/extract-zip/-/extract-zip-2.0.1.tgz#663dca56fe46df890d5f131ef4a06d22bb8ba13a" - integrity sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg== - dependencies: - debug "^4.1.1" - get-stream "^5.1.0" - yauzl "^2.10.0" - optionalDependencies: - "@types/yauzl" "^2.9.1" - extsprintf@1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05" @@ -2854,13 +2696,6 @@ fb-watchman@^2.0.0: dependencies: bser "2.1.1" -fd-slicer@~1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/fd-slicer/-/fd-slicer-1.1.0.tgz#25c7c89cb1f9077f8891bbe61d8f390eae256f1e" - integrity sha1-JcfInLH5B3+IkbvmHY85Dq4lbx4= - dependencies: - pend "~1.2.0" - figures@^3.2.0: version "3.2.0" resolved "https://registry.yarnpkg.com/figures/-/figures-3.2.0.tgz#625c18bd293c604dc4a8ddb2febf0c88341746af" @@ -2981,11 +2816,6 @@ fresh@0.5.2: resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7" integrity sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac= -fs-constants@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/fs-constants/-/fs-constants-1.0.0.tgz#6be0de9be998ce16af8afc24497b9ee9b7ccd9ad" - integrity sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow== - fs-extra@8.1.0, fs-extra@^8.1.0: version "8.1.0" resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-8.1.0.tgz#49d43c45a88cd9677668cb7be1b46efdb8d2e1c0" @@ -3053,7 +2883,7 @@ gensync@^1.0.0-beta.2: resolved "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.2.tgz#32a6ee76c3d7f52d46b2b1ae5d93fea8580a25e0" integrity sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg== -get-caller-file@^2.0.1, get-caller-file@^2.0.5: +get-caller-file@^2.0.1: version "2.0.5" resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== @@ -3080,7 +2910,7 @@ get-stream@^4.0.0: dependencies: pump "^3.0.0" -get-stream@^5.0.0, get-stream@^5.1.0: +get-stream@^5.0.0: version "5.2.0" resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-5.2.0.tgz#4966a1795ee5ace65e706c4b7beb71257d6e22d3" integrity sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA== @@ -3099,7 +2929,7 @@ getpass@^0.1.1: dependencies: assert-plus "^1.0.0" -glob-parent@^5.0.0, glob-parent@^5.1.0, glob-parent@~5.1.0: +glob-parent@^5.0.0, glob-parent@^5.1.0: version "5.1.2" resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4" integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== @@ -3151,7 +2981,7 @@ globby@10.0.1: merge2 "^1.2.3" slash "^3.0.0" -globby@^11.0.1, globby@^11.0.3: +globby@^11.0.1: version "11.0.3" resolved "https://registry.yarnpkg.com/globby/-/globby-11.0.3.tgz#9b1f0cb523e171dd1ad8c7b2a9fb4b644b9593cb" integrity sha512-ffdmosjA807y7+lA1NM0jELARVmYul/715xiILEjo3hBLPTcirgQNnXECn5g3mtR8TOLCVbkfua1Hpen25/Xcg== @@ -3318,14 +3148,6 @@ http-signature@~1.2.0: jsprim "^1.2.2" sshpk "^1.7.0" -https-proxy-agent@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz#e2a90542abb68a762e0a0850f6c9edadfd8506b2" - integrity sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA== - dependencies: - agent-base "6" - debug "4" - human-signals@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-1.1.1.tgz#c5b1cd14f50aeae09ab6c59fe63ba3395fe4dfa3" @@ -3353,11 +3175,6 @@ idb-wrapper@^1.5.0: resolved "https://registry.yarnpkg.com/idb-wrapper/-/idb-wrapper-1.7.2.tgz#8251afd5e77fe95568b1c16152eb44b396767ea2" integrity sha512-zfNREywMuf0NzDo9mVsL0yegjsirJxHpKHvWcyRozIqQy89g0a3U+oBPOCN4cc0oCiOuYgZHimzaW/R46G1Mpg== -ieee754@^1.1.13: - version "1.2.1" - resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" - integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== - ignore@^4.0.6: version "4.0.6" resolved "https://registry.yarnpkg.com/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc" @@ -3446,13 +3263,6 @@ is-arrayish@^0.2.1: resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" integrity sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0= -is-binary-path@~2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09" - integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw== - dependencies: - binary-extensions "^2.0.0" - is-buffer@^1.1.5: version "1.1.6" resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" @@ -3543,18 +3353,13 @@ is-generator-fn@^2.0.0: resolved "https://registry.yarnpkg.com/is-generator-fn/-/is-generator-fn-2.1.0.tgz#7d140adc389aaf3011a8f2a2a4cfa6faadffb118" integrity sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ== -is-glob@^4.0.0, is-glob@^4.0.1, is-glob@~4.0.1: +is-glob@^4.0.0, is-glob@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.1.tgz#7567dbe9f2f5e2467bc77ab83c4a29482407a5dc" integrity sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg== dependencies: is-extglob "^2.1.1" -is-interactive@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-interactive/-/is-interactive-1.0.0.tgz#cea6e6ae5c870a7b0a0004070b7b587e0252912e" - integrity sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w== - is-module@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/is-module/-/is-module-1.0.0.tgz#3258fb69f78c14d5b815d664336b4cffb6441591" @@ -4104,7 +3909,7 @@ jju@~1.4.0: resolved "https://registry.yarnpkg.com/jju/-/jju-1.4.0.tgz#a3abe2718af241a2b2904f84a625970f389ae32a" integrity sha1-o6vicYryQaKykE+EpiWXDzia4yo= -"js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: +js-tokens@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== @@ -4380,11 +4185,6 @@ levn@~0.3.0: prelude-ls "~1.1.2" type-check "~0.3.2" -lilconfig@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/lilconfig/-/lilconfig-2.0.2.tgz#9f802752254697d22a5c33e88d97b7329008c060" - integrity sha512-4zUThttj8TQ4N7Pps92Z79jPf1OMcll4m61pivQSVk5MT78hVhNa2LrKTuNYD0AGLpmpf7zeIKOxSt6hHBfypw== - lines-and-columns@^1.1.6: version "1.1.6" resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.1.6.tgz#1c00c743b433cd0a4e80758f7b64a57440d9ff00" @@ -4477,7 +4277,7 @@ lodash@4.x, lodash@^4.17.19, lodash@^4.17.21, lodash@^4.7.0, lodash@~4.17.15: resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== -log-symbols@^4.0.0, log-symbols@^4.1.0: +log-symbols@^4.0.0: version "4.1.0" resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-4.1.0.tgz#3fbdbb95b4683ac9fc785111e792e558d4abd503" integrity sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg== @@ -4495,13 +4295,6 @@ log-update@^4.0.0: slice-ansi "^4.0.0" wrap-ansi "^6.2.0" -loose-envify@^1.1.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" - integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q== - dependencies: - js-tokens "^3.0.0 || ^4.0.0" - lru-cache@^4.0.1: version "4.1.5" resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.5.tgz#8bbe50ea85bed59bc9e33dcab8235ee9bcf443cd" @@ -4717,11 +4510,6 @@ mixin-deep@^1.2.0: for-in "^1.0.2" is-extendable "^1.0.1" -mkdirp-classic@^0.5.2: - version "0.5.3" - resolved "https://registry.yarnpkg.com/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz#fa10c9115cc6d8865be221ba47ee9bed78601113" - integrity sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A== - mkdirp@1.x: version "1.0.4" resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" @@ -4747,7 +4535,7 @@ ms@2.1.2: resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== -nanoid@^3.1.22, nanoid@^3.1.23: +nanoid@^3.1.23: version "3.1.23" resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.1.23.tgz#f744086ce7c2bc47ee0a8472574d5c78e4183a81" integrity sha512-FiB0kzdP0FFVGDKlRLEQ1BgDzU87dy5NnzjeW9YZNt+/c3+q82EQDUwniSAUxp/F0gFNI1ZhKU1FqYsMuqZVnw== @@ -4784,11 +4572,6 @@ nice-try@^1.0.4: resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366" integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ== -node-fetch@^2.6.1: - version "2.6.1" - resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.1.tgz#045bd323631f76ed2e2b55573394416b639a0052" - integrity sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw== - node-int64@^0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b" @@ -4838,7 +4621,7 @@ normalize-path@^2.1.1: dependencies: remove-trailing-separator "^1.0.1" -normalize-path@^3.0.0, normalize-path@~3.0.0: +normalize-path@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== @@ -4872,11 +4655,6 @@ oauth-sign@~0.9.0: resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.9.0.tgz#47a7b016baa68b5fa0ecf3dee08a85c679ac6455" integrity sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ== -object-assign@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" - integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM= - object-copy@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/object-copy/-/object-copy-0.1.0.tgz#7e7d858b781bd7c991a41ba975ed3812754e998c" @@ -4964,21 +4742,6 @@ optionator@^0.9.1: type-check "^0.4.0" word-wrap "^1.2.3" -ora@^5.4.0: - version "5.4.0" - resolved "https://registry.yarnpkg.com/ora/-/ora-5.4.0.tgz#42eda4855835b9cd14d33864c97a3c95a3f56bf4" - integrity sha512-1StwyXQGoU6gdjYkyVcqOLnVlbKj+6yPNNOxJVgpt9t4eksKjiriiHuxktLYkgllwk+D6MbC4ihH84L1udRXPg== - dependencies: - bl "^4.1.0" - chalk "^4.1.0" - cli-cursor "^3.1.0" - cli-spinners "^2.5.0" - is-interactive "^1.0.0" - is-unicode-supported "^0.1.0" - log-symbols "^4.1.0" - strip-ansi "^6.0.0" - wcwidth "^1.0.1" - p-each-series@^2.1.0: version "2.2.0" resolved "https://registry.yarnpkg.com/p-each-series/-/p-each-series-2.2.0.tgz#105ab0357ce72b202a8a8b94933672657b5e2a9a" @@ -5114,11 +4877,6 @@ pbkdf2@^3.0.3: safe-buffer "^5.0.1" sha.js "^2.4.8" -pend@~1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/pend/-/pend-1.2.0.tgz#7a57eb550a6783f9115331fcf4663d5c8e007a50" - integrity sha1-elfrVQpng/kRUzH89GY9XI4AelA= - perf-regexes@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/perf-regexes/-/perf-regexes-1.0.1.tgz#6da1d62f5a94bf9353a0451bccacf69068b75d0b" @@ -5203,9 +4961,9 @@ postcss-modules@^4.0.0: string-hash "^1.1.1" postcss-selector-parser@^6.0.2, postcss-selector-parser@^6.0.4: - version "6.0.5" - resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-6.0.5.tgz#042d74e137db83e6f294712096cb413f5aa612c4" - integrity sha512-aFYPoYmXbZ1V6HZaSvat08M97A8HqO6Pjz+PiNpw/DhuRrC72XWAdp3hL6wusDCN31sSmcZyMGa2hZEuX+Xfhg== + version "6.0.6" + resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-6.0.6.tgz#2c5bba8174ac2f6981ab631a42ab0ee54af332ea" + integrity sha512-9LXrvaaX3+mcv5xkg5kFwqSzSH1JIObIx51PrndZwlmznwXRfxMddDvo9gve3gVR8ZTKgoFDdWkbRFmEhT4PMg== dependencies: cssesc "^3.0.0" util-deprecate "^1.0.2" @@ -5259,7 +5017,7 @@ process-nextick-args@~2.0.0: resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2" integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag== -progress@^2.0.0, progress@^2.0.1: +progress@^2.0.0: version "2.0.3" resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8" integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA== @@ -5280,11 +5038,6 @@ proxy-addr@~2.0.5: forwarded "~0.1.2" ipaddr.js "1.9.1" -proxy-from-env@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2" - integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg== - prr@~0.0.0: version "0.0.0" resolved "https://registry.yarnpkg.com/prr/-/prr-0.0.0.tgz#1a84b85908325501411853d0081ee3fa86e2926a" @@ -5330,24 +5083,6 @@ punycode@^2.1.0, punycode@^2.1.1: resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== -puppeteer-core@^9.1.0: - version "9.1.1" - resolved "https://registry.yarnpkg.com/puppeteer-core/-/puppeteer-core-9.1.1.tgz#0c189c3275967d65c39270e6b146e559baca3d47" - integrity sha512-zbedbitVIGhmgz0nt7eIdLsnaoVZSlNJfBivqm2w67T8LR2bU1dvnruDZ8nQO0zn++Iet7zHbAOdnuS5+H2E7A== - dependencies: - debug "^4.1.0" - devtools-protocol "0.0.869402" - extract-zip "^2.0.0" - https-proxy-agent "^5.0.0" - node-fetch "^2.6.1" - pkg-dir "^4.2.0" - progress "^2.0.1" - proxy-from-env "^1.1.0" - rimraf "^3.0.2" - tar-fs "^2.0.0" - unbzip2-stream "^1.3.3" - ws "^7.2.3" - qs@6.7.0: version "6.7.0" resolved "https://registry.yarnpkg.com/qs/-/qs-6.7.0.tgz#41dc1a015e3d581f1621776be31afb2876a9b1bc" @@ -5398,14 +5133,6 @@ react-is@^17.0.1: resolved "https://registry.yarnpkg.com/react-is/-/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0" integrity sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w== -react@^17.0.2: - version "17.0.2" - resolved "https://registry.yarnpkg.com/react/-/react-17.0.2.tgz#d0b5cc516d29eb3eee383f75b62864cfb6800037" - integrity sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA== - dependencies: - loose-envify "^1.1.0" - object-assign "^4.1.1" - read-pkg-up@^7.0.1: version "7.0.1" resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-7.0.1.tgz#f3a6135758459733ae2b95638056e1854e7ef507" @@ -5448,7 +5175,7 @@ readable-stream@^2.2.2: string_decoder "~1.1.1" util-deprecate "~1.0.1" -readable-stream@^3.1.1, readable-stream@^3.4.0, readable-stream@^3.6.0: +readable-stream@^3.6.0: version "3.6.0" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198" integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA== @@ -5467,13 +5194,6 @@ readable-stream@~1.0.26, readable-stream@~1.0.26-4: isarray "0.0.1" string_decoder "~0.10.x" -readdirp@~3.5.0: - version "3.5.0" - resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.5.0.tgz#9ba74c019b15d365278d2e91bb8c48d7b4d42c9e" - integrity sha512-cMhu7c/8rdhkHXWsY+osBhfSy0JikwpHK/5+imo+LpeasTF8ouErHrlYkwT0++njiyuDvc7OFY5T3ukvZ8qmFQ== - dependencies: - picomatch "^2.2.1" - regex-not@^1.0.0, regex-not@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/regex-not/-/regex-not-1.0.2.tgz#1f4ece27e00b0b65e0247a6810e6a85d83a5752c" @@ -5801,7 +5521,7 @@ semver-compare@^1.0.0: resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== -semver@7.3.5, semver@7.x, semver@^7.2.1, semver@^7.3.2, semver@^7.3.4, semver@~7.3.0: +semver@7.x, semver@^7.2.1, semver@^7.3.2, semver@^7.3.4, semver@~7.3.0: version "7.3.5" resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.5.tgz#0b621c879348d8998e4b0e4be94b3f12e6018ef7" integrity sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ== @@ -5921,20 +5641,6 @@ sisteransi@^1.0.5: resolved "https://registry.yarnpkg.com/sisteransi/-/sisteransi-1.0.5.tgz#134d681297756437cc05ca01370d3a7a571075ed" integrity sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg== -size-limit@^4.10.1: - version "4.10.2" - resolved "https://registry.yarnpkg.com/size-limit/-/size-limit-4.10.2.tgz#caa3a54825db5cbe3759907cf69a8f0d35021f3d" - integrity sha512-FvRqs/F3SfmDPI9UX7tBcQM7PPEgtSFjOao+awOjn73GYY9LUy4SDMyE0BEZgvYJbG5ditfqZffaTvPsde0cag== - dependencies: - bytes-iec "^3.1.1" - chokidar "^3.5.1" - ci-job-number "^1.2.2" - colorette "^1.2.2" - globby "^11.0.3" - lilconfig "^2.0.2" - ora "^5.4.0" - read-pkg-up "^7.0.1" - skip-regex@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/skip-regex/-/skip-regex-1.0.2.tgz#ac655d77e7c771ac2b9f37585fea37bff56ad65b" @@ -6256,27 +5962,6 @@ tapable@^2.2.0: resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.2.0.tgz#5c373d281d9c672848213d0e037d1c4165ab426b" integrity sha512-FBk4IesMV1rBxX2tfiK8RAmogtWn53puLOQlvO8XuwlgxcYbP4mVPS9Ph4aeamSyyVjOl24aYWAuc8U5kCVwMw== -tar-fs@^2.0.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/tar-fs/-/tar-fs-2.1.1.tgz#489a15ab85f1f0befabb370b7de4f9eb5cbe8784" - integrity sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng== - dependencies: - chownr "^1.1.1" - mkdirp-classic "^0.5.2" - pump "^3.0.0" - tar-stream "^2.1.4" - -tar-stream@^2.1.4: - version "2.2.0" - resolved "https://registry.yarnpkg.com/tar-stream/-/tar-stream-2.2.0.tgz#acad84c284136b060dc3faa64474aa9aebd77287" - integrity sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ== - dependencies: - bl "^4.0.3" - end-of-stream "^1.4.1" - fs-constants "^1.0.0" - inherits "^2.0.3" - readable-stream "^3.1.1" - terminal-link@^2.0.0: version "2.1.1" resolved "https://registry.yarnpkg.com/terminal-link/-/terminal-link-2.1.1.tgz#14a64a27ab3c0df933ea546fba55f2d078edc994" @@ -6513,14 +6198,6 @@ typescript@~4.2.4: resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.2.4.tgz#8610b59747de028fda898a8aef0e103f156d0961" integrity sha512-V+evlYHZnQkaz8TRBuxTA92yZBPotr5H+WhQ7bD3hZUndx5tGOa1fuCgeSjxAzM1RiN5IzvadIXTVefuuwZCRg== -unbzip2-stream@^1.3.3: - version "1.4.3" - resolved "https://registry.yarnpkg.com/unbzip2-stream/-/unbzip2-stream-1.4.3.tgz#b0da04c4371311df771cdc215e87f2130991ace7" - integrity sha512-mlExGW4w71ebDJviH16lQLtZS32VKqsSfk80GCfUlwT/4/hNRFsoscrF/c++9xinkMzECL1uL9DDwXqFWkruPg== - dependencies: - buffer "^5.2.1" - through "^2.3.8" - union-value@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/union-value/-/union-value-1.0.1.tgz#0b6fe7b835aecda61c6ea4d4f02c14221e109847" @@ -6633,11 +6310,11 @@ verror@1.10.0: extsprintf "^1.2.0" vite@^2.2.4: - version "2.2.4" - resolved "https://registry.yarnpkg.com/vite/-/vite-2.2.4.tgz#8f9cc85aacab04c850085894b086c8717f12ed16" - integrity sha512-vnIwSNci+phFMp6krhy+FbYzKL0R67Sdt9mVZ96S27AewrApSJjTqncJcalk8sf60BgcbW4+1C6DFIWkxquO9g== + version "2.3.0" + resolved "https://registry.yarnpkg.com/vite/-/vite-2.3.0.tgz#02b007c7aa4ac88cc18f854b9c68e4fbe76e3ef4" + integrity sha512-gsCy0t3X9nGGYDoNiE2NJgYq6BPxrtKeo6FkpMXdMvtUluYxnRhl7xfpHaYDmQLCnMbYTWhvWS1L/Hpw/V9L5w== dependencies: - esbuild "^0.9.3" + esbuild "^0.11.19" postcss "^8.2.1" resolve "^1.19.0" rollup "^2.38.5" @@ -6684,13 +6361,6 @@ walker@^1.0.7, walker@~1.0.5: dependencies: makeerror "1.0.x" -wcwidth@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/wcwidth/-/wcwidth-1.0.1.tgz#f0b0dcf915bc5ff1528afadb2c0e17b532da2fe8" - integrity sha1-8LDc+RW8X/FSivrbLA4XtTLaL+g= - dependencies: - defaults "^1.0.3" - webidl-conversions@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-5.0.0.tgz#ae59c8a00b121543a2acc65c0434f57b0fc11aff" @@ -6779,7 +6449,7 @@ write-file-atomic@^3.0.0: signal-exit "^3.0.2" typedarray-to-buffer "^3.1.5" -ws@^7.2.3, ws@^7.4.4: +ws@^7.4.4: version "7.4.5" resolved "https://registry.yarnpkg.com/ws/-/ws-7.4.5.tgz#a484dd851e9beb6fdb420027e3885e8ce48986c1" integrity sha512-xzyu3hFvomRfXKH8vOFMU3OguG6oOvhXMo3xsGy3xWExqaM2dxBbVxuD99O7m3ZUFMvvscsZDqxfgMaRr/Nr1g== @@ -6834,11 +6504,6 @@ y18n@^4.0.0: resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.3.tgz#b5f259c82cd6e336921efd7bfd8bf560de9eeedf" integrity sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ== -y18n@^5.0.5: - version "5.0.8" - resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55" - integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA== - yallist@^2.1.2: version "2.1.2" resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52" @@ -6859,7 +6524,7 @@ yaml@^1.10.0: resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== -yargs-parser@20.x, yargs-parser@^20.2.2: +yargs-parser@20.x: version "20.2.7" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.7.tgz#61df85c113edfb5a7a4e36eb8aa60ef423cbc90a" integrity sha512-FiNkvbeHzB/syOjIUxFDCnhSfzAL8R5vs40MgLFBorXACCOAEaWu0gRZl14vG8MR9AOJIZbmkjhusqBYZ3HTHw== @@ -6889,27 +6554,6 @@ yargs@^15.4.1: y18n "^4.0.0" yargs-parser "^18.1.2" -yargs@^17.0.0: - version "17.0.1" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.0.1.tgz#6a1ced4ed5ee0b388010ba9fd67af83b9362e0bb" - integrity sha512-xBBulfCc8Y6gLFcrPvtqKz9hz8SO0l1Ni8GgDekvBX2ro0HRQImDGnikfc33cgzcYUSncapnNcZDjVFIH3f6KQ== - dependencies: - cliui "^7.0.2" - escalade "^3.1.1" - get-caller-file "^2.0.5" - require-directory "^2.1.1" - string-width "^4.2.0" - y18n "^5.0.5" - yargs-parser "^20.2.2" - -yauzl@^2.10.0: - version "2.10.0" - resolved "https://registry.yarnpkg.com/yauzl/-/yauzl-2.10.0.tgz#c7eb17c93e112cb1086fa6d8e51fb0667b79a5f9" - integrity sha1-x+sXyT4RLLEIb6bY5R+wZnt5pfk= - dependencies: - buffer-crc32 "~0.2.3" - fd-slicer "~1.1.0" - yorkie@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/yorkie/-/yorkie-2.0.0.tgz#92411912d435214e12c51c2ae1093e54b6bb83d9"