@vtj/materials 0.13.15 → 0.13.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/antdv/index.umd.js +2 -2
- package/dist/assets/charts/index.umd.js +2 -2
- package/dist/assets/element/index.umd.js +3 -3
- package/dist/assets/icons/index.umd.js +2 -2
- package/dist/assets/ui/index.umd.js +2 -2
- package/dist/assets/uni-h5/index.umd.js +2 -2
- package/dist/assets/uni-ui/index.umd.js +2 -2
- package/dist/assets/vant/index.umd.js +2 -2
- package/dist/deps/@vtj/charts/index.umd.js +2 -2
- package/dist/deps/@vtj/icons/index.umd.js +2 -2
- package/dist/deps/@vtj/ui/index.umd.js +4 -4
- package/dist/deps/@vtj/ui/style.css +1 -1
- package/dist/deps/@vtj/utils/index.umd.js +28 -33
- package/dist/deps/@vueuse/core/index.iife.min.js +1 -1
- package/dist/deps/element-plus/index.css +1 -1
- package/dist/deps/element-plus/index.full.min.js +14 -14
- package/dist/deps/element-plus/zh-cn.js +1 -1
- package/dist/deps/uni-app/index.umd.js +1 -1
- package/dist/deps/uni-h5/index.umd.js +8 -8
- package/dist/deps/uni-h5/style.css +1 -1
- package/dist/deps/uni-h5-vue/index.umd.js +1 -1
- package/dist/deps/uni-ui/index.umd.js +6 -1
- package/dist/deps/uni-ui/style.css +1 -1
- package/dist/deps/vue/vue.global.js +88 -53
- package/dist/deps/vue/vue.global.prod.js +9 -9
- package/package.json +12 -12
- package/src/antdv/image.ts +1 -1
- package/src/element/image.ts +1 -1
- package/src/element/virtualizedTable.ts +6 -6
- package/src/manifest.json +69 -0
- package/src/pages/index.vue +2 -0
- package/src/pages.json +19 -0
- package/src/uni-ui/index.ts +88 -58
- package/src/{uni-ui/lib/uni.scss → uni.scss} +4 -0
- package/src/version.ts +2 -2
- package/src/uni-ui/lib/uni-col/uni-col.vue +0 -324
- package/src/uni-ui/lib/uni-collapse/uni-collapse.vue +0 -153
- package/src/uni-ui/lib/uni-collapse-item/uni-collapse-item.vue +0 -425
- package/src/uni-ui/lib/uni-data-picker/keypress.js +0 -45
- package/src/uni-ui/lib/uni-data-picker/uni-data-picker.vue +0 -604
- package/src/uni-ui/lib/uni-data-pickerview/uni-data-picker.js +0 -622
- package/src/uni-ui/lib/uni-data-pickerview/uni-data-pickerview.css +0 -76
- package/src/uni-ui/lib/uni-data-pickerview/uni-data-pickerview.vue +0 -335
- package/src/uni-ui/lib/uni-data-select/uni-data-select.vue +0 -590
- package/src/uni-ui/lib/uni-datetime-picker/calendar-item.vue +0 -188
- package/src/uni-ui/lib/uni-datetime-picker/calendar.vue +0 -985
- package/src/uni-ui/lib/uni-datetime-picker/i18n/en.json +0 -22
- package/src/uni-ui/lib/uni-datetime-picker/i18n/index.js +0 -8
- package/src/uni-ui/lib/uni-datetime-picker/i18n/zh-Hans.json +0 -22
- package/src/uni-ui/lib/uni-datetime-picker/i18n/zh-Hant.json +0 -22
- package/src/uni-ui/lib/uni-datetime-picker/time-picker.vue +0 -1032
- package/src/uni-ui/lib/uni-datetime-picker/uni-datetime-picker.vue +0 -1230
- package/src/uni-ui/lib/uni-datetime-picker/util.js +0 -448
- package/src/uni-ui/lib/uni-easyinput/common.js +0 -54
- package/src/uni-ui/lib/uni-easyinput/uni-easyinput.vue +0 -790
- package/src/uni-ui/lib/uni-fav/i18n/en.json +0 -4
- package/src/uni-ui/lib/uni-fav/i18n/index.js +0 -8
- package/src/uni-ui/lib/uni-fav/i18n/zh-Hans.json +0 -4
- package/src/uni-ui/lib/uni-fav/i18n/zh-Hant.json +0 -4
- package/src/uni-ui/lib/uni-fav/uni-fav.vue +0 -170
- package/src/uni-ui/lib/uni-file-picker/choose-and-upload-file.js +0 -280
- package/src/uni-ui/lib/uni-file-picker/uni-file-picker.vue +0 -668
- package/src/uni-ui/lib/uni-file-picker/upload-file.vue +0 -325
- package/src/uni-ui/lib/uni-file-picker/upload-image.vue +0 -292
- package/src/uni-ui/lib/uni-file-picker/utils.js +0 -110
- package/src/uni-ui/lib/uni-forms/uni-forms.vue +0 -416
- package/src/uni-ui/lib/uni-forms/utils.js +0 -293
- package/src/uni-ui/lib/uni-forms/validate.js +0 -486
- package/src/uni-ui/lib/uni-forms-item/uni-forms-item.vue +0 -630
- package/src/uni-ui/lib/uni-goods-nav/i18n/en.json +0 -6
- package/src/uni-ui/lib/uni-goods-nav/i18n/index.js +0 -8
- package/src/uni-ui/lib/uni-goods-nav/i18n/zh-Hans.json +0 -6
- package/src/uni-ui/lib/uni-goods-nav/i18n/zh-Hant.json +0 -6
- package/src/uni-ui/lib/uni-goods-nav/uni-goods-nav.vue +0 -231
- package/src/uni-ui/lib/uni-grid/uni-grid.vue +0 -148
- package/src/uni-ui/lib/uni-icons/uni-icons.uvue +0 -91
- package/src/uni-ui/lib/uni-icons/uni-icons.vue +0 -114
- package/src/uni-ui/lib/uni-icons/uniicons.css +0 -664
- package/src/uni-ui/lib/uni-icons/uniicons.ttf +0 -0
- package/src/uni-ui/lib/uni-icons/uniicons_file.ts +0 -664
- package/src/uni-ui/lib/uni-icons/uniicons_file_vue.js +0 -649
- package/src/uni-ui/lib/uni-indexed-list/uni-indexed-list-item.vue +0 -168
- package/src/uni-ui/lib/uni-indexed-list/uni-indexed-list.vue +0 -404
- package/src/uni-ui/lib/uni-list/uni-list.vue +0 -123
- package/src/uni-ui/lib/uni-list/uni-refresh.vue +0 -65
- package/src/uni-ui/lib/uni-list/uni-refresh.wxs +0 -87
- package/src/uni-ui/lib/uni-load-more/i18n/en.json +0 -5
- package/src/uni-ui/lib/uni-load-more/i18n/index.js +0 -8
- package/src/uni-ui/lib/uni-load-more/i18n/zh-Hans.json +0 -5
- package/src/uni-ui/lib/uni-load-more/i18n/zh-Hant.json +0 -5
- package/src/uni-ui/lib/uni-load-more/uni-load-more.vue +0 -456
- package/src/uni-ui/lib/uni-notice-bar/uni-notice-bar.vue +0 -484
- package/src/uni-ui/lib/uni-popup/i18n/en.json +0 -7
- package/src/uni-ui/lib/uni-popup/i18n/index.js +0 -8
- package/src/uni-ui/lib/uni-popup/i18n/zh-Hans.json +0 -7
- package/src/uni-ui/lib/uni-popup/i18n/zh-Hant.json +0 -7
- package/src/uni-ui/lib/uni-popup/keypress.js +0 -45
- package/src/uni-ui/lib/uni-popup/popup.js +0 -26
- package/src/uni-ui/lib/uni-popup/uni-popup.uvue +0 -90
- package/src/uni-ui/lib/uni-popup/uni-popup.vue +0 -552
- package/src/uni-ui/lib/uni-popup-dialog/keypress.js +0 -45
- package/src/uni-ui/lib/uni-popup-dialog/uni-popup-dialog.vue +0 -324
- package/src/uni-ui/lib/uni-popup-message/uni-popup-message.vue +0 -149
- package/src/uni-ui/lib/uni-rate/uni-rate.vue +0 -380
- package/src/uni-ui/lib/uni-row/uni-row.vue +0 -193
- package/src/uni-ui/lib/uni-search-bar/i18n/en.json +0 -4
- package/src/uni-ui/lib/uni-search-bar/i18n/index.js +0 -8
- package/src/uni-ui/lib/uni-search-bar/i18n/zh-Hans.json +0 -4
- package/src/uni-ui/lib/uni-search-bar/i18n/zh-Hant.json +0 -4
- package/src/uni-ui/lib/uni-search-bar/uni-search-bar.vue +0 -339
- package/src/uni-ui/lib/uni-swipe-action-item/bindingx.js +0 -311
- package/src/uni-ui/lib/uni-swipe-action-item/isPC.js +0 -12
- package/src/uni-ui/lib/uni-swipe-action-item/mpalipay.js +0 -195
- package/src/uni-ui/lib/uni-swipe-action-item/mpother.js +0 -260
- package/src/uni-ui/lib/uni-swipe-action-item/mpwxs.js +0 -84
- package/src/uni-ui/lib/uni-swipe-action-item/render.js +0 -270
- package/src/uni-ui/lib/uni-swipe-action-item/uni-swipe-action-item.vue +0 -493
- package/src/uni-ui/lib/uni-swipe-action-item/wx.wxs +0 -341
- package/src/uni-ui/lib/uni-table/uni-table.vue +0 -496
- package/src/uni-ui/lib/uni-td/uni-td.vue +0 -99
- package/src/uni-ui/lib/uni-th/filter-dropdown.vue +0 -559
- package/src/uni-ui/lib/uni-th/uni-th.vue +0 -322
- package/src/uni-ui/lib/uni-tr/table-checkbox.vue +0 -181
- package/src/uni-ui/lib/uni-tr/uni-tr.vue +0 -208
- package/src/uni-ui/lib/uni-transition/createAnimation.js +0 -131
- package/src/uni-ui/lib/uni-transition/uni-transition.vue +0 -310
- package/src/uni-ui/polyfill.ts +0 -41
@@ -1,12 +1,11 @@
|
|
1
1
|
/**
|
2
|
-
* vue v3.5.
|
2
|
+
* vue v3.5.21
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
4
4
|
* @license MIT
|
5
5
|
**/
|
6
6
|
var Vue = (function (exports) {
|
7
7
|
'use strict';
|
8
8
|
|
9
|
-
/*! #__NO_SIDE_EFFECTS__ */
|
10
9
|
// @__NO_SIDE_EFFECTS__
|
11
10
|
function makeMap(str) {
|
12
11
|
const map = /* @__PURE__ */ Object.create(null);
|
@@ -64,10 +63,10 @@ var Vue = (function (exports) {
|
|
64
63
|
return hit || (cache[str] = fn(str));
|
65
64
|
});
|
66
65
|
};
|
67
|
-
const camelizeRE =
|
66
|
+
const camelizeRE = /-\w/g;
|
68
67
|
const camelize = cacheStringFunction(
|
69
68
|
(str) => {
|
70
|
-
return str.replace(camelizeRE, (
|
69
|
+
return str.replace(camelizeRE, (c) => c.slice(1).toUpperCase());
|
71
70
|
}
|
72
71
|
);
|
73
72
|
const hyphenateRE = /\B([A-Z])/g;
|
@@ -2230,11 +2229,11 @@ var Vue = (function (exports) {
|
|
2230
2229
|
if (depth <= 0 || !isObject(value) || value["__v_skip"]) {
|
2231
2230
|
return value;
|
2232
2231
|
}
|
2233
|
-
seen = seen || /* @__PURE__ */ new
|
2234
|
-
if (seen.
|
2232
|
+
seen = seen || /* @__PURE__ */ new Map();
|
2233
|
+
if ((seen.get(value) || 0) >= depth) {
|
2235
2234
|
return value;
|
2236
2235
|
}
|
2237
|
-
seen.
|
2236
|
+
seen.set(value, depth);
|
2238
2237
|
depth--;
|
2239
2238
|
if (isRef(value)) {
|
2240
2239
|
traverse(value.value, depth, seen);
|
@@ -2696,11 +2695,14 @@ var Vue = (function (exports) {
|
|
2696
2695
|
let isHmrUpdating = false;
|
2697
2696
|
const hmrDirtyComponents = /* @__PURE__ */ new Map();
|
2698
2697
|
{
|
2699
|
-
getGlobalThis()
|
2700
|
-
|
2701
|
-
|
2702
|
-
|
2703
|
-
|
2698
|
+
const g = getGlobalThis();
|
2699
|
+
if (!g.__VUE_HMR_RUNTIME__) {
|
2700
|
+
g.__VUE_HMR_RUNTIME__ = {
|
2701
|
+
createRecord: tryWrap(createRecord),
|
2702
|
+
rerender: tryWrap(rerender),
|
2703
|
+
reload: tryWrap(reload)
|
2704
|
+
};
|
2705
|
+
}
|
2704
2706
|
}
|
2705
2707
|
const map = /* @__PURE__ */ new Map();
|
2706
2708
|
function registerHMR(instance) {
|
@@ -2773,10 +2775,12 @@ var Vue = (function (exports) {
|
|
2773
2775
|
dirtyInstances.delete(instance);
|
2774
2776
|
} else if (instance.parent) {
|
2775
2777
|
queueJob(() => {
|
2776
|
-
|
2777
|
-
|
2778
|
-
|
2779
|
-
|
2778
|
+
if (!(instance.job.flags & 8)) {
|
2779
|
+
isHmrUpdating = true;
|
2780
|
+
instance.parent.update();
|
2781
|
+
isHmrUpdating = false;
|
2782
|
+
dirtyInstances.delete(instance);
|
2783
|
+
}
|
2780
2784
|
});
|
2781
2785
|
} else if (instance.appContext.reload) {
|
2782
2786
|
instance.appContext.reload();
|
@@ -2880,7 +2884,6 @@ var Vue = (function (exports) {
|
|
2880
2884
|
_devtoolsComponentRemoved(component);
|
2881
2885
|
}
|
2882
2886
|
};
|
2883
|
-
/*! #__NO_SIDE_EFFECTS__ */
|
2884
2887
|
// @__NO_SIDE_EFFECTS__
|
2885
2888
|
function createDevtoolsComponentHook(hook) {
|
2886
2889
|
return (component) => {
|
@@ -3278,26 +3281,34 @@ var Vue = (function (exports) {
|
|
3278
3281
|
function hydrateTeleport(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized, {
|
3279
3282
|
o: { nextSibling, parentNode, querySelector, insert, createText }
|
3280
3283
|
}, hydrateChildren) {
|
3284
|
+
function hydrateDisabledTeleport(node2, vnode2, targetStart, targetAnchor) {
|
3285
|
+
vnode2.anchor = hydrateChildren(
|
3286
|
+
nextSibling(node2),
|
3287
|
+
vnode2,
|
3288
|
+
parentNode(node2),
|
3289
|
+
parentComponent,
|
3290
|
+
parentSuspense,
|
3291
|
+
slotScopeIds,
|
3292
|
+
optimized
|
3293
|
+
);
|
3294
|
+
vnode2.targetStart = targetStart;
|
3295
|
+
vnode2.targetAnchor = targetAnchor;
|
3296
|
+
}
|
3281
3297
|
const target = vnode.target = resolveTarget(
|
3282
3298
|
vnode.props,
|
3283
3299
|
querySelector
|
3284
3300
|
);
|
3301
|
+
const disabled = isTeleportDisabled(vnode.props);
|
3285
3302
|
if (target) {
|
3286
|
-
const disabled = isTeleportDisabled(vnode.props);
|
3287
3303
|
const targetNode = target._lpa || target.firstChild;
|
3288
3304
|
if (vnode.shapeFlag & 16) {
|
3289
3305
|
if (disabled) {
|
3290
|
-
|
3291
|
-
|
3306
|
+
hydrateDisabledTeleport(
|
3307
|
+
node,
|
3292
3308
|
vnode,
|
3293
|
-
|
3294
|
-
|
3295
|
-
parentSuspense,
|
3296
|
-
slotScopeIds,
|
3297
|
-
optimized
|
3309
|
+
targetNode,
|
3310
|
+
targetNode && nextSibling(targetNode)
|
3298
3311
|
);
|
3299
|
-
vnode.targetStart = targetNode;
|
3300
|
-
vnode.targetAnchor = targetNode && nextSibling(targetNode);
|
3301
3312
|
} else {
|
3302
3313
|
vnode.anchor = nextSibling(node);
|
3303
3314
|
let targetAnchor = targetNode;
|
@@ -3328,6 +3339,10 @@ var Vue = (function (exports) {
|
|
3328
3339
|
}
|
3329
3340
|
}
|
3330
3341
|
updateCssVars(vnode, disabled);
|
3342
|
+
} else if (disabled) {
|
3343
|
+
if (vnode.shapeFlag & 16) {
|
3344
|
+
hydrateDisabledTeleport(node, vnode, node, nextSibling(node));
|
3345
|
+
}
|
3331
3346
|
}
|
3332
3347
|
return vnode.anchor && nextSibling(vnode.anchor);
|
3333
3348
|
}
|
@@ -3439,7 +3454,7 @@ var Vue = (function (exports) {
|
|
3439
3454
|
setTransitionHooks(innerChild, enterHooks);
|
3440
3455
|
}
|
3441
3456
|
let oldInnerChild = instance.subTree && getInnerChild$1(instance.subTree);
|
3442
|
-
if (oldInnerChild && oldInnerChild.type !== Comment && !isSameVNodeType(
|
3457
|
+
if (oldInnerChild && oldInnerChild.type !== Comment && !isSameVNodeType(oldInnerChild, innerChild) && recursiveGetSubtree(instance).type !== Comment) {
|
3443
3458
|
let leavingHooks = resolveTransitionHooks(
|
3444
3459
|
oldInnerChild,
|
3445
3460
|
rawProps,
|
@@ -3719,7 +3734,6 @@ var Vue = (function (exports) {
|
|
3719
3734
|
return ret;
|
3720
3735
|
}
|
3721
3736
|
|
3722
|
-
/*! #__NO_SIDE_EFFECTS__ */
|
3723
3737
|
// @__NO_SIDE_EFFECTS__
|
3724
3738
|
function defineComponent(options, extraOptions) {
|
3725
3739
|
return isFunction(options) ? (
|
@@ -3772,6 +3786,7 @@ var Vue = (function (exports) {
|
|
3772
3786
|
return ret;
|
3773
3787
|
}
|
3774
3788
|
|
3789
|
+
const pendingSetRefMap = /* @__PURE__ */ new WeakMap();
|
3775
3790
|
function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
|
3776
3791
|
if (isArray(rawRef)) {
|
3777
3792
|
rawRef.forEach(
|
@@ -3821,6 +3836,7 @@ var Vue = (function (exports) {
|
|
3821
3836
|
return !knownTemplateRefs.has(ref2);
|
3822
3837
|
};
|
3823
3838
|
if (oldRef != null && oldRef !== ref) {
|
3839
|
+
invalidatePendingSetRef(oldRawRef);
|
3824
3840
|
if (isString(oldRef)) {
|
3825
3841
|
refs[oldRef] = null;
|
3826
3842
|
if (canSetSetupRef(oldRef)) {
|
@@ -3878,9 +3894,15 @@ var Vue = (function (exports) {
|
|
3878
3894
|
}
|
3879
3895
|
};
|
3880
3896
|
if (value) {
|
3881
|
-
|
3882
|
-
|
3897
|
+
const job = () => {
|
3898
|
+
doSet();
|
3899
|
+
pendingSetRefMap.delete(rawRef);
|
3900
|
+
};
|
3901
|
+
job.id = -1;
|
3902
|
+
pendingSetRefMap.set(rawRef, job);
|
3903
|
+
queuePostRenderEffect(job, parentSuspense);
|
3883
3904
|
} else {
|
3905
|
+
invalidatePendingSetRef(rawRef);
|
3884
3906
|
doSet();
|
3885
3907
|
}
|
3886
3908
|
} else {
|
@@ -3888,6 +3910,13 @@ var Vue = (function (exports) {
|
|
3888
3910
|
}
|
3889
3911
|
}
|
3890
3912
|
}
|
3913
|
+
function invalidatePendingSetRef(rawRef) {
|
3914
|
+
const pendingSetRef = pendingSetRefMap.get(rawRef);
|
3915
|
+
if (pendingSetRef) {
|
3916
|
+
pendingSetRef.flags |= 8;
|
3917
|
+
pendingSetRefMap.delete(rawRef);
|
3918
|
+
}
|
3919
|
+
}
|
3891
3920
|
|
3892
3921
|
let hasLoggedMismatchError = false;
|
3893
3922
|
const logMismatchError = () => {
|
@@ -4620,7 +4649,6 @@ Server rendered element contains fewer child nodes than client vdom.`
|
|
4620
4649
|
}
|
4621
4650
|
|
4622
4651
|
const isAsyncWrapper = (i) => !!i.type.__asyncLoader;
|
4623
|
-
/*! #__NO_SIDE_EFFECTS__ */
|
4624
4652
|
// @__NO_SIDE_EFFECTS__
|
4625
4653
|
function defineAsyncComponent(source) {
|
4626
4654
|
if (isFunction(source)) {
|
@@ -8621,8 +8649,9 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
8621
8649
|
);
|
8622
8650
|
}
|
8623
8651
|
}
|
8652
|
+
const mixinEmitsCache = /* @__PURE__ */ new WeakMap();
|
8624
8653
|
function normalizeEmitsOptions(comp, appContext, asMixin = false) {
|
8625
|
-
const cache = appContext.emitsCache;
|
8654
|
+
const cache = asMixin ? mixinEmitsCache : appContext.emitsCache;
|
8626
8655
|
const cached = cache.get(comp);
|
8627
8656
|
if (cached !== void 0) {
|
8628
8657
|
return cached;
|
@@ -9070,7 +9099,7 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
9070
9099
|
const { activeBranch, pendingBranch, isInFallback, isHydrating } = suspense;
|
9071
9100
|
if (pendingBranch) {
|
9072
9101
|
suspense.pendingBranch = newBranch;
|
9073
|
-
if (isSameVNodeType(
|
9102
|
+
if (isSameVNodeType(pendingBranch, newBranch)) {
|
9074
9103
|
patch(
|
9075
9104
|
pendingBranch,
|
9076
9105
|
newBranch,
|
@@ -9141,7 +9170,7 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
9141
9170
|
);
|
9142
9171
|
setActiveBranch(suspense, newFallback);
|
9143
9172
|
}
|
9144
|
-
} else if (activeBranch && isSameVNodeType(
|
9173
|
+
} else if (activeBranch && isSameVNodeType(activeBranch, newBranch)) {
|
9145
9174
|
patch(
|
9146
9175
|
activeBranch,
|
9147
9176
|
newBranch,
|
@@ -9172,7 +9201,7 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
9172
9201
|
}
|
9173
9202
|
}
|
9174
9203
|
} else {
|
9175
|
-
if (activeBranch && isSameVNodeType(
|
9204
|
+
if (activeBranch && isSameVNodeType(activeBranch, newBranch)) {
|
9176
9205
|
patch(
|
9177
9206
|
activeBranch,
|
9178
9207
|
newBranch,
|
@@ -10315,7 +10344,7 @@ Component that was made reactive: `,
|
|
10315
10344
|
return instance.proxy;
|
10316
10345
|
}
|
10317
10346
|
}
|
10318
|
-
const classifyRE = /(?:^|[-_])
|
10347
|
+
const classifyRE = /(?:^|[-_])\w/g;
|
10319
10348
|
const classify = (str) => str.replace(classifyRE, (c) => c.toUpperCase()).replace(/[-_]/g, "");
|
10320
10349
|
function getComponentName(Component, includeInferred = true) {
|
10321
10350
|
return isFunction(Component) ? Component.displayName || Component.name : Component.name || includeInferred && Component.__name;
|
@@ -10358,15 +10387,23 @@ Component that was made reactive: `,
|
|
10358
10387
|
};
|
10359
10388
|
|
10360
10389
|
function h(type, propsOrChildren, children) {
|
10390
|
+
const doCreateVNode = (type2, props, children2) => {
|
10391
|
+
setBlockTracking(-1);
|
10392
|
+
try {
|
10393
|
+
return createVNode(type2, props, children2);
|
10394
|
+
} finally {
|
10395
|
+
setBlockTracking(1);
|
10396
|
+
}
|
10397
|
+
};
|
10361
10398
|
const l = arguments.length;
|
10362
10399
|
if (l === 2) {
|
10363
10400
|
if (isObject(propsOrChildren) && !isArray(propsOrChildren)) {
|
10364
10401
|
if (isVNode(propsOrChildren)) {
|
10365
|
-
return
|
10402
|
+
return doCreateVNode(type, null, [propsOrChildren]);
|
10366
10403
|
}
|
10367
|
-
return
|
10404
|
+
return doCreateVNode(type, propsOrChildren);
|
10368
10405
|
} else {
|
10369
|
-
return
|
10406
|
+
return doCreateVNode(type, null, propsOrChildren);
|
10370
10407
|
}
|
10371
10408
|
} else {
|
10372
10409
|
if (l > 3) {
|
@@ -10374,7 +10411,7 @@ Component that was made reactive: `,
|
|
10374
10411
|
} else if (l === 3 && isVNode(children)) {
|
10375
10412
|
children = [children];
|
10376
10413
|
}
|
10377
|
-
return
|
10414
|
+
return doCreateVNode(type, propsOrChildren, children);
|
10378
10415
|
}
|
10379
10416
|
}
|
10380
10417
|
|
@@ -10584,7 +10621,7 @@ Component that was made reactive: `,
|
|
10584
10621
|
return true;
|
10585
10622
|
}
|
10586
10623
|
|
10587
|
-
const version = "3.5.
|
10624
|
+
const version = "3.5.21";
|
10588
10625
|
const warn = warn$1 ;
|
10589
10626
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
10590
10627
|
const devtools = devtools$1 ;
|
@@ -10931,7 +10968,7 @@ Component that was made reactive: `,
|
|
10931
10968
|
type = timeout > 0 ? transitionTimeout > animationTimeout ? TRANSITION$1 : ANIMATION : null;
|
10932
10969
|
propCount = type ? type === TRANSITION$1 ? transitionDurations.length : animationDurations.length : 0;
|
10933
10970
|
}
|
10934
|
-
const hasTransform = type === TRANSITION$1 && /\b(transform|all)(
|
10971
|
+
const hasTransform = type === TRANSITION$1 && /\b(?:transform|all)(?:,|$)/.test(
|
10935
10972
|
getStyleProperties(`${TRANSITION$1}Property`).toString()
|
10936
10973
|
);
|
10937
10974
|
return {
|
@@ -11085,7 +11122,7 @@ Component that was made reactive: `,
|
|
11085
11122
|
}
|
11086
11123
|
}
|
11087
11124
|
|
11088
|
-
const displayRE = /(
|
11125
|
+
const displayRE = /(?:^|;)\s*display\s*:/;
|
11089
11126
|
function patchStyle(el, prev, next) {
|
11090
11127
|
const style = el.style;
|
11091
11128
|
const isCssString = isString(next);
|
@@ -11408,11 +11445,10 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
11408
11445
|
}
|
11409
11446
|
|
11410
11447
|
const REMOVAL = {};
|
11411
|
-
/*! #__NO_SIDE_EFFECTS__ */
|
11412
11448
|
// @__NO_SIDE_EFFECTS__
|
11413
11449
|
function defineCustomElement(options, extraOptions, _createApp) {
|
11414
|
-
|
11415
|
-
if (isPlainObject(Comp)) extend(Comp, extraOptions);
|
11450
|
+
let Comp = defineComponent(options, extraOptions);
|
11451
|
+
if (isPlainObject(Comp)) Comp = extend({}, Comp, extraOptions);
|
11416
11452
|
class VueCustomElement extends VueElement {
|
11417
11453
|
constructor(initialProps) {
|
11418
11454
|
super(Comp, initialProps, _createApp);
|
@@ -11421,7 +11457,6 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
11421
11457
|
VueCustomElement.def = Comp;
|
11422
11458
|
return VueCustomElement;
|
11423
11459
|
}
|
11424
|
-
|
11425
11460
|
const defineSSRCustomElement = (/* @__NO_SIDE_EFFECTS__ */ (options, extraOptions) => {
|
11426
11461
|
return /* @__PURE__ */ defineCustomElement(options, extraOptions, createSSRApp);
|
11427
11462
|
});
|
@@ -11882,7 +11917,7 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
11882
11917
|
if (e && e.target !== el) {
|
11883
11918
|
return;
|
11884
11919
|
}
|
11885
|
-
if (!e ||
|
11920
|
+
if (!e || e.propertyName.endsWith("transform")) {
|
11886
11921
|
el.removeEventListener("transitionend", cb);
|
11887
11922
|
el[moveCbKey] = null;
|
11888
11923
|
removeTransitionClass(el, moveClass);
|
@@ -13638,7 +13673,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
13638
13673
|
return !currentOpenBracketCount && !currentOpenParensCount;
|
13639
13674
|
};
|
13640
13675
|
const isMemberExpression = isMemberExpressionBrowser ;
|
13641
|
-
const fnExpRE = /^\s*(async\s*)?(
|
13676
|
+
const fnExpRE = /^\s*(?:async\s*)?(?:\([^)]*?\)|[\w$_]+)\s*(?::[^=]+)?=>|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/;
|
13642
13677
|
const isFnExpressionBrowser = (exp) => fnExpRE.test(getExpSource(exp));
|
13643
13678
|
const isFnExpression = isFnExpressionBrowser ;
|
13644
13679
|
function assert(condition, msg) {
|
@@ -15680,7 +15715,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
15680
15715
|
}
|
15681
15716
|
|
15682
15717
|
const transformIf = createStructuralDirectiveTransform(
|
15683
|
-
/^(if|else|else-if)$/,
|
15718
|
+
/^(?:if|else|else-if)$/,
|
15684
15719
|
(node, dir, context) => {
|
15685
15720
|
return processIf(node, dir, context, (ifNode, branch, isRoot) => {
|
15686
15721
|
const siblings = context.parent.children;
|
@@ -16267,7 +16302,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
16267
16302
|
);
|
16268
16303
|
} else if (vElse = findDir(
|
16269
16304
|
slotElement,
|
16270
|
-
/^else(
|
16305
|
+
/^else(?:-if)?$/,
|
16271
16306
|
true
|
16272
16307
|
/* allowEmpty */
|
16273
16308
|
)) {
|
@@ -16279,7 +16314,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
16279
16314
|
break;
|
16280
16315
|
}
|
16281
16316
|
}
|
16282
|
-
if (prev && isTemplateNode(prev) && findDir(prev, /^(else-)?if$/)) {
|
16317
|
+
if (prev && isTemplateNode(prev) && findDir(prev, /^(?:else-)?if$/)) {
|
16283
16318
|
let conditional = dynamicSlots[dynamicSlots.length - 1];
|
16284
16319
|
while (conditional.alternate.type === 19) {
|
16285
16320
|
conditional = conditional.alternate;
|