@vtj/materials 0.13.12 → 0.13.14
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 +2 -2
- 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/icons/style.css +1 -1
- package/dist/deps/@vtj/ui/index.umd.js +8 -8
- package/dist/deps/@vtj/ui/style.css +1 -1
- package/dist/deps/@vtj/utils/index.umd.js +5 -5
- package/dist/deps/uni-ui/index.umd.js +1 -1
- package/dist/deps/uni-ui/style.css +1 -1
- package/dist/deps/vue/vue.global.js +70 -83
- package/dist/deps/vue/vue.global.prod.js +5 -5
- package/package.json +7 -7
- package/src/uni-ui/index.ts +3 -3
- package/src/version.ts +2 -2
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* vue v3.5.
|
2
|
+
* vue v3.5.20
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
4
4
|
* @license MIT
|
5
5
|
**/
|
@@ -59,10 +59,10 @@ var Vue = (function (exports) {
|
|
59
59
|
);
|
60
60
|
const cacheStringFunction = (fn) => {
|
61
61
|
const cache = /* @__PURE__ */ Object.create(null);
|
62
|
-
return (str) => {
|
62
|
+
return ((str) => {
|
63
63
|
const hit = cache[str];
|
64
64
|
return hit || (cache[str] = fn(str));
|
65
|
-
};
|
65
|
+
});
|
66
66
|
};
|
67
67
|
const camelizeRE = /-(\w)/g;
|
68
68
|
const camelize = cacheStringFunction(
|
@@ -1167,7 +1167,7 @@ var Vue = (function (exports) {
|
|
1167
1167
|
join(separator) {
|
1168
1168
|
return reactiveReadArray(this).join(separator);
|
1169
1169
|
},
|
1170
|
-
// keys() iterator only reads `length`, no
|
1170
|
+
// keys() iterator only reads `length`, no optimization required
|
1171
1171
|
lastIndexOf(...args) {
|
1172
1172
|
return searchProxy(this, "lastIndexOf", args);
|
1173
1173
|
},
|
@@ -1368,7 +1368,13 @@ var Vue = (function (exports) {
|
|
1368
1368
|
}
|
1369
1369
|
if (!isArray(target) && isRef(oldValue) && !isRef(value)) {
|
1370
1370
|
if (isOldValueReadonly) {
|
1371
|
-
|
1371
|
+
{
|
1372
|
+
warn$2(
|
1373
|
+
`Set operation on key "${String(key)}" failed: target is readonly.`,
|
1374
|
+
target[key]
|
1375
|
+
);
|
1376
|
+
}
|
1377
|
+
return true;
|
1372
1378
|
} else {
|
1373
1379
|
oldValue.value = value;
|
1374
1380
|
return true;
|
@@ -1513,7 +1519,7 @@ var Vue = (function (exports) {
|
|
1513
1519
|
get size() {
|
1514
1520
|
const target = this["__v_raw"];
|
1515
1521
|
!readonly && track(toRaw(target), "iterate", ITERATE_KEY);
|
1516
|
-
return
|
1522
|
+
return target.size;
|
1517
1523
|
},
|
1518
1524
|
has(key) {
|
1519
1525
|
const target = this["__v_raw"];
|
@@ -2735,7 +2741,9 @@ var Vue = (function (exports) {
|
|
2735
2741
|
}
|
2736
2742
|
instance.renderCache = [];
|
2737
2743
|
isHmrUpdating = true;
|
2738
|
-
instance.
|
2744
|
+
if (!(instance.job.flags & 8)) {
|
2745
|
+
instance.update();
|
2746
|
+
}
|
2739
2747
|
isHmrUpdating = false;
|
2740
2748
|
});
|
2741
2749
|
}
|
@@ -3796,7 +3804,7 @@ var Vue = (function (exports) {
|
|
3796
3804
|
const refs = owner.refs === EMPTY_OBJ ? owner.refs = {} : owner.refs;
|
3797
3805
|
const setupState = owner.setupState;
|
3798
3806
|
const rawSetupState = toRaw(setupState);
|
3799
|
-
const canSetSetupRef = setupState === EMPTY_OBJ ?
|
3807
|
+
const canSetSetupRef = setupState === EMPTY_OBJ ? NO : (key) => {
|
3800
3808
|
{
|
3801
3809
|
if (hasOwn(rawSetupState, key) && !isRef(rawSetupState[key])) {
|
3802
3810
|
warn$1(
|
@@ -3809,6 +3817,9 @@ var Vue = (function (exports) {
|
|
3809
3817
|
}
|
3810
3818
|
return hasOwn(rawSetupState, key);
|
3811
3819
|
};
|
3820
|
+
const canSetRef = (ref2) => {
|
3821
|
+
return !knownTemplateRefs.has(ref2);
|
3822
|
+
};
|
3812
3823
|
if (oldRef != null && oldRef !== ref) {
|
3813
3824
|
if (isString(oldRef)) {
|
3814
3825
|
refs[oldRef] = null;
|
@@ -3816,7 +3827,11 @@ var Vue = (function (exports) {
|
|
3816
3827
|
setupState[oldRef] = null;
|
3817
3828
|
}
|
3818
3829
|
} else if (isRef(oldRef)) {
|
3819
|
-
oldRef
|
3830
|
+
if (canSetRef(oldRef)) {
|
3831
|
+
oldRef.value = null;
|
3832
|
+
}
|
3833
|
+
const oldRawRefAtom = oldRawRef;
|
3834
|
+
if (oldRawRefAtom.k) refs[oldRawRefAtom.k] = null;
|
3820
3835
|
}
|
3821
3836
|
}
|
3822
3837
|
if (isFunction(ref)) {
|
@@ -3827,7 +3842,7 @@ var Vue = (function (exports) {
|
|
3827
3842
|
if (_isString || _isRef) {
|
3828
3843
|
const doSet = () => {
|
3829
3844
|
if (rawRef.f) {
|
3830
|
-
const existing = _isString ? canSetSetupRef(ref) ? setupState[ref] : refs[ref] : ref.value;
|
3845
|
+
const existing = _isString ? canSetSetupRef(ref) ? setupState[ref] : refs[ref] : canSetRef(ref) || !rawRef.k ? ref.value : refs[rawRef.k];
|
3831
3846
|
if (isUnmount) {
|
3832
3847
|
isArray(existing) && remove(existing, refValue);
|
3833
3848
|
} else {
|
@@ -3838,8 +3853,11 @@ var Vue = (function (exports) {
|
|
3838
3853
|
setupState[ref] = refs[ref];
|
3839
3854
|
}
|
3840
3855
|
} else {
|
3841
|
-
|
3842
|
-
if (
|
3856
|
+
const newVal = [refValue];
|
3857
|
+
if (canSetRef(ref)) {
|
3858
|
+
ref.value = newVal;
|
3859
|
+
}
|
3860
|
+
if (rawRef.k) refs[rawRef.k] = newVal;
|
3843
3861
|
}
|
3844
3862
|
} else if (!existing.includes(refValue)) {
|
3845
3863
|
existing.push(refValue);
|
@@ -3851,7 +3869,9 @@ var Vue = (function (exports) {
|
|
3851
3869
|
setupState[ref] = value;
|
3852
3870
|
}
|
3853
3871
|
} else if (_isRef) {
|
3854
|
-
ref
|
3872
|
+
if (canSetRef(ref)) {
|
3873
|
+
ref.value = value;
|
3874
|
+
}
|
3855
3875
|
if (rawRef.k) refs[rawRef.k] = value;
|
3856
3876
|
} else {
|
3857
3877
|
warn$1("Invalid template ref type:", ref, `(${typeof ref})`);
|
@@ -5414,10 +5434,10 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
5414
5434
|
return true;
|
5415
5435
|
},
|
5416
5436
|
has({
|
5417
|
-
_: { data, setupState, accessCache, ctx, appContext, propsOptions }
|
5437
|
+
_: { data, setupState, accessCache, ctx, appContext, propsOptions, type }
|
5418
5438
|
}, key) {
|
5419
|
-
let normalizedProps;
|
5420
|
-
return !!accessCache[key] || data !== EMPTY_OBJ && hasOwn(data, key) || hasSetupBinding(setupState, key) || (normalizedProps = propsOptions[0]) && hasOwn(normalizedProps, key) || hasOwn(ctx, key) || hasOwn(publicPropertiesMap, key) || hasOwn(appContext.config.globalProperties, key);
|
5439
|
+
let normalizedProps, cssModules;
|
5440
|
+
return !!(accessCache[key] || data !== EMPTY_OBJ && key[0] !== "$" && hasOwn(data, key) || hasSetupBinding(setupState, key) || (normalizedProps = propsOptions[0]) && hasOwn(normalizedProps, key) || hasOwn(ctx, key) || hasOwn(publicPropertiesMap, key) || hasOwn(appContext.config.globalProperties, key) || (cssModules = type.__cssModules) && cssModules[key]);
|
5421
5441
|
},
|
5422
5442
|
defineProperty(target, key, descriptor) {
|
5423
5443
|
if (descriptor.get != null) {
|
@@ -6691,7 +6711,7 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
6691
6711
|
return args.some((elem) => elem.toLowerCase() === "boolean");
|
6692
6712
|
}
|
6693
6713
|
|
6694
|
-
const isInternalKey = (key) => key === "_" || key === "
|
6714
|
+
const isInternalKey = (key) => key === "_" || key === "_ctx" || key === "$stable";
|
6695
6715
|
const normalizeSlotValue = (value) => isArray(value) ? value.map(normalizeVNode) : [normalizeVNode(value)];
|
6696
6716
|
const normalizeSlot = (key, rawSlot, ctx) => {
|
6697
6717
|
if (rawSlot._n) {
|
@@ -6745,8 +6765,6 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
6745
6765
|
const initSlots = (instance, children, optimized) => {
|
6746
6766
|
const slots = instance.slots = createInternalObject();
|
6747
6767
|
if (instance.vnode.shapeFlag & 32) {
|
6748
|
-
const cacheIndexes = children.__;
|
6749
|
-
if (cacheIndexes) def(slots, "__", cacheIndexes, true);
|
6750
6768
|
const type = children._;
|
6751
6769
|
if (type) {
|
6752
6770
|
assignSlots(slots, children, optimized);
|
@@ -6807,12 +6825,10 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
6807
6825
|
if (instance.appContext.config.performance && isSupported()) {
|
6808
6826
|
const startTag = `vue-${type}-${instance.uid}`;
|
6809
6827
|
const endTag = startTag + `:end`;
|
6828
|
+
const measureName = `<${formatComponentName(instance, instance.type)}> ${type}`;
|
6810
6829
|
perf.mark(endTag);
|
6811
|
-
perf.measure(
|
6812
|
-
|
6813
|
-
startTag,
|
6814
|
-
endTag
|
6815
|
-
);
|
6830
|
+
perf.measure(measureName, startTag, endTag);
|
6831
|
+
perf.clearMeasures(measureName);
|
6816
6832
|
perf.clearMarks(startTag);
|
6817
6833
|
perf.clearMarks(endTag);
|
6818
6834
|
}
|
@@ -8004,6 +8020,12 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
8004
8020
|
}
|
8005
8021
|
};
|
8006
8022
|
const performLeave = () => {
|
8023
|
+
if (el._isLeaving) {
|
8024
|
+
el[leaveCbKey](
|
8025
|
+
true
|
8026
|
+
/* cancelled */
|
8027
|
+
);
|
8028
|
+
}
|
8007
8029
|
leave(el, () => {
|
8008
8030
|
remove2();
|
8009
8031
|
afterLeave && afterLeave();
|
@@ -8149,27 +8171,12 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
8149
8171
|
if (instance.type.__hmrId) {
|
8150
8172
|
unregisterHMR(instance);
|
8151
8173
|
}
|
8152
|
-
const {
|
8153
|
-
bum,
|
8154
|
-
scope,
|
8155
|
-
job,
|
8156
|
-
subTree,
|
8157
|
-
um,
|
8158
|
-
m,
|
8159
|
-
a,
|
8160
|
-
parent,
|
8161
|
-
slots: { __: slotCacheKeys }
|
8162
|
-
} = instance;
|
8174
|
+
const { bum, scope, job, subTree, um, m, a } = instance;
|
8163
8175
|
invalidateMount(m);
|
8164
8176
|
invalidateMount(a);
|
8165
8177
|
if (bum) {
|
8166
8178
|
invokeArrayFns(bum);
|
8167
8179
|
}
|
8168
|
-
if (parent && isArray(slotCacheKeys)) {
|
8169
|
-
slotCacheKeys.forEach((v) => {
|
8170
|
-
parent.renderCache[v] = void 0;
|
8171
|
-
});
|
8172
|
-
}
|
8173
8180
|
scope.stop();
|
8174
8181
|
if (job) {
|
8175
8182
|
job.flags |= 8;
|
@@ -8181,12 +8188,6 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
8181
8188
|
queuePostRenderEffect(() => {
|
8182
8189
|
instance.isUnmounted = true;
|
8183
8190
|
}, parentSuspense);
|
8184
|
-
if (parentSuspense && parentSuspense.pendingBranch && !parentSuspense.isUnmounted && instance.asyncDep && !instance.asyncResolved && instance.suspenseId === parentSuspense.pendingId) {
|
8185
|
-
parentSuspense.deps--;
|
8186
|
-
if (parentSuspense.deps === 0) {
|
8187
|
-
parentSuspense.resolve();
|
8188
|
-
}
|
8189
|
-
}
|
8190
8191
|
{
|
8191
8192
|
devtoolsComponentRemoved(instance);
|
8192
8193
|
}
|
@@ -8287,7 +8288,8 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
8287
8288
|
if (!shallow && c2.patchFlag !== -2)
|
8288
8289
|
traverseStaticChildren(c1, c2);
|
8289
8290
|
}
|
8290
|
-
if (c2.type === Text
|
8291
|
+
if (c2.type === Text && // avoid cached text nodes retaining detached dom nodes
|
8292
|
+
c2.patchFlag !== -1) {
|
8291
8293
|
c2.el = c1.el;
|
8292
8294
|
}
|
8293
8295
|
if (c2.type === Comment && !c2.el) {
|
@@ -10582,7 +10584,7 @@ Component that was made reactive: `,
|
|
10582
10584
|
return true;
|
10583
10585
|
}
|
10584
10586
|
|
10585
|
-
const version = "3.5.
|
10587
|
+
const version = "3.5.20";
|
10586
10588
|
const warn = warn$1 ;
|
10587
10589
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
10588
10590
|
const devtools = devtools$1 ;
|
@@ -10970,6 +10972,8 @@ Component that was made reactive: `,
|
|
10970
10972
|
const vShowOriginalDisplay = Symbol("_vod");
|
10971
10973
|
const vShowHidden = Symbol("_vsh");
|
10972
10974
|
const vShow = {
|
10975
|
+
// used for prop mismatch check during hydration
|
10976
|
+
name: "show",
|
10973
10977
|
beforeMount(el, { value }, { transition }) {
|
10974
10978
|
el[vShowOriginalDisplay] = el.style.display === "none" ? "" : el.style.display;
|
10975
10979
|
if (transition && value) {
|
@@ -11003,9 +11007,6 @@ Component that was made reactive: `,
|
|
11003
11007
|
setDisplay(el, value);
|
11004
11008
|
}
|
11005
11009
|
};
|
11006
|
-
{
|
11007
|
-
vShow.name = "show";
|
11008
|
-
}
|
11009
11010
|
function setDisplay(el, value) {
|
11010
11011
|
el.style.display = value ? el[vShowOriginalDisplay] : "none";
|
11011
11012
|
el[vShowHidden] = !value;
|
@@ -11420,10 +11421,10 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
11420
11421
|
VueCustomElement.def = Comp;
|
11421
11422
|
return VueCustomElement;
|
11422
11423
|
}
|
11423
|
-
|
11424
|
-
const defineSSRCustomElement = /* @__NO_SIDE_EFFECTS__ */ (options, extraOptions) => {
|
11424
|
+
|
11425
|
+
const defineSSRCustomElement = (/* @__NO_SIDE_EFFECTS__ */ (options, extraOptions) => {
|
11425
11426
|
return /* @__PURE__ */ defineCustomElement(options, extraOptions, createSSRApp);
|
11426
|
-
};
|
11427
|
+
});
|
11427
11428
|
const BaseClass = typeof HTMLElement !== "undefined" ? HTMLElement : class {
|
11428
11429
|
};
|
11429
11430
|
class VueElement extends BaseClass {
|
@@ -12238,13 +12239,13 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
12238
12239
|
const withModifiers = (fn, modifiers) => {
|
12239
12240
|
const cache = fn._withMods || (fn._withMods = {});
|
12240
12241
|
const cacheKey = modifiers.join(".");
|
12241
|
-
return cache[cacheKey] || (cache[cacheKey] = (event, ...args) => {
|
12242
|
+
return cache[cacheKey] || (cache[cacheKey] = ((event, ...args) => {
|
12242
12243
|
for (let i = 0; i < modifiers.length; i++) {
|
12243
12244
|
const guard = modifierGuards[modifiers[i]];
|
12244
12245
|
if (guard && guard(event, modifiers)) return;
|
12245
12246
|
}
|
12246
12247
|
return fn(event, ...args);
|
12247
|
-
});
|
12248
|
+
}));
|
12248
12249
|
};
|
12249
12250
|
const keyNames = {
|
12250
12251
|
esc: "escape",
|
@@ -12258,7 +12259,7 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
12258
12259
|
const withKeys = (fn, modifiers) => {
|
12259
12260
|
const cache = fn._withKeys || (fn._withKeys = {});
|
12260
12261
|
const cacheKey = modifiers.join(".");
|
12261
|
-
return cache[cacheKey] || (cache[cacheKey] = (event) => {
|
12262
|
+
return cache[cacheKey] || (cache[cacheKey] = ((event) => {
|
12262
12263
|
if (!("key" in event)) {
|
12263
12264
|
return;
|
12264
12265
|
}
|
@@ -12268,7 +12269,7 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
12268
12269
|
)) {
|
12269
12270
|
return fn(event);
|
12270
12271
|
}
|
12271
|
-
});
|
12272
|
+
}));
|
12272
12273
|
};
|
12273
12274
|
|
12274
12275
|
const rendererOptions = /* @__PURE__ */ extend({ patchProp }, nodeOps);
|
@@ -12282,13 +12283,13 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
12282
12283
|
enabledHydration = true;
|
12283
12284
|
return renderer;
|
12284
12285
|
}
|
12285
|
-
const render = (...args) => {
|
12286
|
+
const render = ((...args) => {
|
12286
12287
|
ensureRenderer().render(...args);
|
12287
|
-
};
|
12288
|
-
const hydrate = (...args) => {
|
12288
|
+
});
|
12289
|
+
const hydrate = ((...args) => {
|
12289
12290
|
ensureHydrationRenderer().hydrate(...args);
|
12290
|
-
};
|
12291
|
-
const createApp = (...args) => {
|
12291
|
+
});
|
12292
|
+
const createApp = ((...args) => {
|
12292
12293
|
const app = ensureRenderer().createApp(...args);
|
12293
12294
|
{
|
12294
12295
|
injectNativeTagCheck(app);
|
@@ -12313,8 +12314,8 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
12313
12314
|
return proxy;
|
12314
12315
|
};
|
12315
12316
|
return app;
|
12316
|
-
};
|
12317
|
-
const createSSRApp = (...args) => {
|
12317
|
+
});
|
12318
|
+
const createSSRApp = ((...args) => {
|
12318
12319
|
const app = ensureHydrationRenderer().createApp(...args);
|
12319
12320
|
{
|
12320
12321
|
injectNativeTagCheck(app);
|
@@ -12328,7 +12329,7 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
12328
12329
|
}
|
12329
12330
|
};
|
12330
12331
|
return app;
|
12331
|
-
};
|
12332
|
+
});
|
12332
12333
|
function resolveRootNamespace(container) {
|
12333
12334
|
if (container instanceof SVGElement) {
|
12334
12335
|
return "svg";
|
@@ -14534,7 +14535,6 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
14534
14535
|
}
|
14535
14536
|
}
|
14536
14537
|
let cachedAsArray = false;
|
14537
|
-
const slotCacheKeys = [];
|
14538
14538
|
if (toCache.length === children.length && node.type === 1) {
|
14539
14539
|
if (node.tagType === 0 && node.codegenNode && node.codegenNode.type === 13 && isArray(node.codegenNode.children)) {
|
14540
14540
|
node.codegenNode.children = getCacheExpression(
|
@@ -14544,7 +14544,6 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
14544
14544
|
} else if (node.tagType === 1 && node.codegenNode && node.codegenNode.type === 13 && node.codegenNode.children && !isArray(node.codegenNode.children) && node.codegenNode.children.type === 15) {
|
14545
14545
|
const slot = getSlotNode(node.codegenNode, "default");
|
14546
14546
|
if (slot) {
|
14547
|
-
slotCacheKeys.push(context.cached.length);
|
14548
14547
|
slot.returns = getCacheExpression(
|
14549
14548
|
createArrayExpression(slot.returns)
|
14550
14549
|
);
|
@@ -14554,7 +14553,6 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
14554
14553
|
const slotName = findDir(node, "slot", true);
|
14555
14554
|
const slot = slotName && slotName.arg && getSlotNode(parent.codegenNode, slotName.arg);
|
14556
14555
|
if (slot) {
|
14557
|
-
slotCacheKeys.push(context.cached.length);
|
14558
14556
|
slot.returns = getCacheExpression(
|
14559
14557
|
createArrayExpression(slot.returns)
|
14560
14558
|
);
|
@@ -14564,23 +14562,12 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
14564
14562
|
}
|
14565
14563
|
if (!cachedAsArray) {
|
14566
14564
|
for (const child of toCache) {
|
14567
|
-
slotCacheKeys.push(context.cached.length);
|
14568
14565
|
child.codegenNode = context.cache(child.codegenNode);
|
14569
14566
|
}
|
14570
14567
|
}
|
14571
|
-
if (slotCacheKeys.length && node.type === 1 && node.tagType === 1 && node.codegenNode && node.codegenNode.type === 13 && node.codegenNode.children && !isArray(node.codegenNode.children) && node.codegenNode.children.type === 15) {
|
14572
|
-
node.codegenNode.children.properties.push(
|
14573
|
-
createObjectProperty(
|
14574
|
-
`__`,
|
14575
|
-
createSimpleExpression(JSON.stringify(slotCacheKeys), false)
|
14576
|
-
)
|
14577
|
-
);
|
14578
|
-
}
|
14579
14568
|
function getCacheExpression(value) {
|
14580
14569
|
const exp = context.cache(value);
|
14581
|
-
|
14582
|
-
exp.needArraySpread = true;
|
14583
|
-
}
|
14570
|
+
exp.needArraySpread = true;
|
14584
14571
|
return exp;
|
14585
14572
|
}
|
14586
14573
|
function getSlotNode(node2, name) {
|
@@ -15762,7 +15749,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
15762
15749
|
continue;
|
15763
15750
|
}
|
15764
15751
|
if (sibling && sibling.type === 9) {
|
15765
|
-
if (dir.name === "else-if" && sibling.branches[sibling.branches.length - 1].condition === void 0) {
|
15752
|
+
if ((dir.name === "else-if" || dir.name === "else") && sibling.branches[sibling.branches.length - 1].condition === void 0) {
|
15766
15753
|
context.onError(
|
15767
15754
|
createCompilerError(30, node.loc)
|
15768
15755
|
);
|
@@ -17268,7 +17255,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
17268
17255
|
const transformMemo = (node, context) => {
|
17269
17256
|
if (node.type === 1) {
|
17270
17257
|
const dir = findDir(node, "memo");
|
17271
|
-
if (!dir || seen.has(node)) {
|
17258
|
+
if (!dir || seen.has(node) || context.inSSR) {
|
17272
17259
|
return;
|
17273
17260
|
}
|
17274
17261
|
seen.add(node);
|