@vue/compat 3.4.25 → 3.4.27
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/vue.cjs.js +60 -65
- package/dist/vue.cjs.prod.js +59 -64
- package/dist/vue.esm-browser.js +55 -63
- package/dist/vue.esm-browser.prod.js +4 -4
- package/dist/vue.esm-bundler.js +55 -63
- package/dist/vue.global.js +55 -63
- package/dist/vue.global.prod.js +4 -4
- package/dist/vue.runtime.esm-browser.js +47 -51
- package/dist/vue.runtime.esm-browser.prod.js +3 -3
- package/dist/vue.runtime.esm-bundler.js +47 -51
- package/dist/vue.runtime.global.js +47 -51
- package/dist/vue.runtime.global.prod.js +3 -3
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compat v3.4.
|
|
2
|
+
* @vue/compat v3.4.27
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -81,10 +81,11 @@ const invokeArrayFns = (fns, arg) => {
|
|
|
81
81
|
fns[i](arg);
|
|
82
82
|
}
|
|
83
83
|
};
|
|
84
|
-
const def = (obj, key, value) => {
|
|
84
|
+
const def = (obj, key, value, writable = false) => {
|
|
85
85
|
Object.defineProperty(obj, key, {
|
|
86
86
|
configurable: true,
|
|
87
87
|
enumerable: false,
|
|
88
|
+
writable,
|
|
88
89
|
value
|
|
89
90
|
});
|
|
90
91
|
};
|
|
@@ -141,8 +142,8 @@ function stringifyStyle(styles) {
|
|
|
141
142
|
}
|
|
142
143
|
for (const key in styles) {
|
|
143
144
|
const value = styles[key];
|
|
144
|
-
const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key);
|
|
145
145
|
if (isString(value) || typeof value === "number") {
|
|
146
|
+
const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key);
|
|
146
147
|
ret += `${normalizedKey}:${value};`;
|
|
147
148
|
}
|
|
148
149
|
}
|
|
@@ -476,11 +477,10 @@ class ReactiveEffect {
|
|
|
476
477
|
}
|
|
477
478
|
}
|
|
478
479
|
stop() {
|
|
479
|
-
var _a;
|
|
480
480
|
if (this.active) {
|
|
481
481
|
preCleanupEffect(this);
|
|
482
482
|
postCleanupEffect(this);
|
|
483
|
-
|
|
483
|
+
this.onStop && this.onStop();
|
|
484
484
|
this.active = false;
|
|
485
485
|
}
|
|
486
486
|
}
|
|
@@ -693,8 +693,8 @@ function trigger(target, type, key, newValue, oldValue, oldTarget) {
|
|
|
693
693
|
resetScheduling();
|
|
694
694
|
}
|
|
695
695
|
function getDepFromReactive(object, key) {
|
|
696
|
-
|
|
697
|
-
return
|
|
696
|
+
const depsMap = targetMap.get(object);
|
|
697
|
+
return depsMap && depsMap.get(key);
|
|
698
698
|
}
|
|
699
699
|
|
|
700
700
|
const isNonTrackableKeys = /* @__PURE__ */ makeMap(`__proto__,__v_isRef,__isVue`);
|
|
@@ -2913,7 +2913,7 @@ function renderComponentRoot(instance) {
|
|
|
2913
2913
|
!!(process.env.NODE_ENV !== "production") ? {
|
|
2914
2914
|
get attrs() {
|
|
2915
2915
|
markAttrsAccessed();
|
|
2916
|
-
return attrs;
|
|
2916
|
+
return shallowReadonly(attrs);
|
|
2917
2917
|
},
|
|
2918
2918
|
slots,
|
|
2919
2919
|
emit
|
|
@@ -2946,7 +2946,7 @@ function renderComponentRoot(instance) {
|
|
|
2946
2946
|
propsOptions
|
|
2947
2947
|
);
|
|
2948
2948
|
}
|
|
2949
|
-
root = cloneVNode(root, fallthroughAttrs);
|
|
2949
|
+
root = cloneVNode(root, fallthroughAttrs, false, true);
|
|
2950
2950
|
} else if (!!(process.env.NODE_ENV !== "production") && !accessedAttrs && root.type !== Comment) {
|
|
2951
2951
|
const allAttrs = Object.keys(attrs);
|
|
2952
2952
|
const eventAttrs = [];
|
|
@@ -2984,10 +2984,15 @@ function renderComponentRoot(instance) {
|
|
|
2984
2984
|
getComponentName(instance.type)
|
|
2985
2985
|
);
|
|
2986
2986
|
}
|
|
2987
|
-
root = cloneVNode(
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2987
|
+
root = cloneVNode(
|
|
2988
|
+
root,
|
|
2989
|
+
{
|
|
2990
|
+
class: cls,
|
|
2991
|
+
style
|
|
2992
|
+
},
|
|
2993
|
+
false,
|
|
2994
|
+
true
|
|
2995
|
+
);
|
|
2991
2996
|
}
|
|
2992
2997
|
}
|
|
2993
2998
|
if (vnode.dirs) {
|
|
@@ -2996,7 +3001,7 @@ function renderComponentRoot(instance) {
|
|
|
2996
3001
|
`Runtime directive used on component with non-element root node. The directives will not function as intended.`
|
|
2997
3002
|
);
|
|
2998
3003
|
}
|
|
2999
|
-
root = cloneVNode(root);
|
|
3004
|
+
root = cloneVNode(root, null, false, true);
|
|
3000
3005
|
root.dirs = root.dirs ? root.dirs.concat(vnode.dirs) : vnode.dirs;
|
|
3001
3006
|
}
|
|
3002
3007
|
if (vnode.transition) {
|
|
@@ -3491,7 +3496,7 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe
|
|
|
3491
3496
|
let parentSuspenseId;
|
|
3492
3497
|
const isSuspensible = isVNodeSuspensible(vnode);
|
|
3493
3498
|
if (isSuspensible) {
|
|
3494
|
-
if (parentSuspense
|
|
3499
|
+
if (parentSuspense && parentSuspense.pendingBranch) {
|
|
3495
3500
|
parentSuspenseId = parentSuspense.pendingId;
|
|
3496
3501
|
parentSuspense.deps++;
|
|
3497
3502
|
}
|
|
@@ -3803,8 +3808,8 @@ function setActiveBranch(suspense, branch) {
|
|
|
3803
3808
|
}
|
|
3804
3809
|
}
|
|
3805
3810
|
function isVNodeSuspensible(vnode) {
|
|
3806
|
-
|
|
3807
|
-
return
|
|
3811
|
+
const suspensible = vnode.props && vnode.props.suspensible;
|
|
3812
|
+
return suspensible != null && suspensible !== false;
|
|
3808
3813
|
}
|
|
3809
3814
|
|
|
3810
3815
|
const legacyDirectiveHookMap = {
|
|
@@ -4106,34 +4111,29 @@ function createPathGetter(ctx, path) {
|
|
|
4106
4111
|
return cur;
|
|
4107
4112
|
};
|
|
4108
4113
|
}
|
|
4109
|
-
function traverse(value, depth
|
|
4110
|
-
if (!isObject(value) || value["__v_skip"]) {
|
|
4114
|
+
function traverse(value, depth = Infinity, seen) {
|
|
4115
|
+
if (depth <= 0 || !isObject(value) || value["__v_skip"]) {
|
|
4111
4116
|
return value;
|
|
4112
4117
|
}
|
|
4113
|
-
if (depth && depth > 0) {
|
|
4114
|
-
if (currentDepth >= depth) {
|
|
4115
|
-
return value;
|
|
4116
|
-
}
|
|
4117
|
-
currentDepth++;
|
|
4118
|
-
}
|
|
4119
4118
|
seen = seen || /* @__PURE__ */ new Set();
|
|
4120
4119
|
if (seen.has(value)) {
|
|
4121
4120
|
return value;
|
|
4122
4121
|
}
|
|
4123
4122
|
seen.add(value);
|
|
4123
|
+
depth--;
|
|
4124
4124
|
if (isRef(value)) {
|
|
4125
|
-
traverse(value.value, depth,
|
|
4125
|
+
traverse(value.value, depth, seen);
|
|
4126
4126
|
} else if (isArray(value)) {
|
|
4127
4127
|
for (let i = 0; i < value.length; i++) {
|
|
4128
|
-
traverse(value[i], depth,
|
|
4128
|
+
traverse(value[i], depth, seen);
|
|
4129
4129
|
}
|
|
4130
4130
|
} else if (isSet(value) || isMap(value)) {
|
|
4131
4131
|
value.forEach((v) => {
|
|
4132
|
-
traverse(v, depth,
|
|
4132
|
+
traverse(v, depth, seen);
|
|
4133
4133
|
});
|
|
4134
4134
|
} else if (isPlainObject(value)) {
|
|
4135
4135
|
for (const key in value) {
|
|
4136
|
-
traverse(value[key], depth,
|
|
4136
|
+
traverse(value[key], depth, seen);
|
|
4137
4137
|
}
|
|
4138
4138
|
}
|
|
4139
4139
|
return value;
|
|
@@ -4296,7 +4296,7 @@ const BaseTransitionImpl = {
|
|
|
4296
4296
|
instance
|
|
4297
4297
|
);
|
|
4298
4298
|
setTransitionHooks(oldInnerChild, leavingHooks);
|
|
4299
|
-
if (mode === "out-in") {
|
|
4299
|
+
if (mode === "out-in" && innerChild.type !== Comment) {
|
|
4300
4300
|
state.isLeaving = true;
|
|
4301
4301
|
leavingHooks.afterLeave = () => {
|
|
4302
4302
|
state.isLeaving = false;
|
|
@@ -4820,7 +4820,7 @@ const KeepAliveImpl = {
|
|
|
4820
4820
|
return () => {
|
|
4821
4821
|
pendingCacheKey = null;
|
|
4822
4822
|
if (!slots.default) {
|
|
4823
|
-
return
|
|
4823
|
+
return null;
|
|
4824
4824
|
}
|
|
4825
4825
|
const children = slots.default();
|
|
4826
4826
|
const rawVNode = children[0];
|
|
@@ -5538,14 +5538,7 @@ function installCompatInstanceProperties(map) {
|
|
|
5538
5538
|
},
|
|
5539
5539
|
$scopedSlots: (i) => {
|
|
5540
5540
|
assertCompatEnabled("INSTANCE_SCOPED_SLOTS", i);
|
|
5541
|
-
|
|
5542
|
-
for (const key in i.slots) {
|
|
5543
|
-
const fn = i.slots[key];
|
|
5544
|
-
if (!fn._ns) {
|
|
5545
|
-
res[key] = fn;
|
|
5546
|
-
}
|
|
5547
|
-
}
|
|
5548
|
-
return res;
|
|
5541
|
+
return !!(process.env.NODE_ENV !== "production") ? shallowReadonly(i.slots) : i.slots;
|
|
5549
5542
|
},
|
|
5550
5543
|
$on: (i) => on.bind(null, i),
|
|
5551
5544
|
$once: (i) => once.bind(null, i),
|
|
@@ -6518,13 +6511,13 @@ function createCompatVue$1(createApp, createSingletonApp) {
|
|
|
6518
6511
|
return vm;
|
|
6519
6512
|
}
|
|
6520
6513
|
}
|
|
6521
|
-
Vue.version = `2.6.14-compat:${"3.4.
|
|
6514
|
+
Vue.version = `2.6.14-compat:${"3.4.27"}`;
|
|
6522
6515
|
Vue.config = singletonApp.config;
|
|
6523
|
-
Vue.use = (
|
|
6524
|
-
if (
|
|
6525
|
-
|
|
6526
|
-
} else if (isFunction(
|
|
6527
|
-
|
|
6516
|
+
Vue.use = (plugin, ...options) => {
|
|
6517
|
+
if (plugin && isFunction(plugin.install)) {
|
|
6518
|
+
plugin.install(Vue, ...options);
|
|
6519
|
+
} else if (isFunction(plugin)) {
|
|
6520
|
+
plugin(Vue, ...options);
|
|
6528
6521
|
}
|
|
6529
6522
|
return Vue;
|
|
6530
6523
|
};
|
|
@@ -7645,7 +7638,7 @@ const initSlots = (instance, children) => {
|
|
|
7645
7638
|
const type = children._;
|
|
7646
7639
|
if (type) {
|
|
7647
7640
|
extend(slots, children);
|
|
7648
|
-
def(slots, "_", type);
|
|
7641
|
+
def(slots, "_", type, true);
|
|
7649
7642
|
} else {
|
|
7650
7643
|
normalizeObjectSlots(children, slots, instance);
|
|
7651
7644
|
}
|
|
@@ -8269,7 +8262,7 @@ function propHasMismatch(el, key, clientValue, vnode, instance) {
|
|
|
8269
8262
|
mismatchType = mismatchKey = `class`;
|
|
8270
8263
|
}
|
|
8271
8264
|
} else if (key === "style") {
|
|
8272
|
-
actual = el.getAttribute("style");
|
|
8265
|
+
actual = el.getAttribute("style") || "";
|
|
8273
8266
|
expected = isString(clientValue) ? clientValue : stringifyStyle(normalizeStyle(clientValue));
|
|
8274
8267
|
const actualMap = toStyleMap(actual);
|
|
8275
8268
|
const expectedMap = toStyleMap(expected);
|
|
@@ -10532,8 +10525,8 @@ function guardReactiveProps(props) {
|
|
|
10532
10525
|
return null;
|
|
10533
10526
|
return isProxy(props) || isInternalObject(props) ? extend({}, props) : props;
|
|
10534
10527
|
}
|
|
10535
|
-
function cloneVNode(vnode, extraProps, mergeRef = false) {
|
|
10536
|
-
const { props, ref, patchFlag, children } = vnode;
|
|
10528
|
+
function cloneVNode(vnode, extraProps, mergeRef = false, cloneTransition = false) {
|
|
10529
|
+
const { props, ref, patchFlag, children, transition } = vnode;
|
|
10537
10530
|
const mergedProps = extraProps ? mergeProps(props || {}, extraProps) : props;
|
|
10538
10531
|
const cloned = {
|
|
10539
10532
|
__v_isVNode: true,
|
|
@@ -10563,7 +10556,7 @@ function cloneVNode(vnode, extraProps, mergeRef = false) {
|
|
|
10563
10556
|
dynamicChildren: vnode.dynamicChildren,
|
|
10564
10557
|
appContext: vnode.appContext,
|
|
10565
10558
|
dirs: vnode.dirs,
|
|
10566
|
-
transition
|
|
10559
|
+
transition,
|
|
10567
10560
|
// These should technically only be non-null on mounted VNodes. However,
|
|
10568
10561
|
// they *should* be copied for kept-alive vnodes. So we just always copy
|
|
10569
10562
|
// them since them being non-null during a mount doesn't affect the logic as
|
|
@@ -10577,6 +10570,9 @@ function cloneVNode(vnode, extraProps, mergeRef = false) {
|
|
|
10577
10570
|
ctx: vnode.ctx,
|
|
10578
10571
|
ce: vnode.ce
|
|
10579
10572
|
};
|
|
10573
|
+
if (transition && cloneTransition) {
|
|
10574
|
+
cloned.transition = transition.clone(cloned);
|
|
10575
|
+
}
|
|
10580
10576
|
{
|
|
10581
10577
|
defineLegacyVNodeProperties(cloned);
|
|
10582
10578
|
}
|
|
@@ -11430,7 +11426,7 @@ function isMemoSame(cached, memo) {
|
|
|
11430
11426
|
return true;
|
|
11431
11427
|
}
|
|
11432
11428
|
|
|
11433
|
-
const version = "3.4.
|
|
11429
|
+
const version = "3.4.27";
|
|
11434
11430
|
const warn = !!(process.env.NODE_ENV !== "production") ? warn$1 : NOOP;
|
|
11435
11431
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
11436
11432
|
const devtools = !!(process.env.NODE_ENV !== "production") || true ? devtools$1 : void 0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compat v3.4.
|
|
2
|
+
* @vue/compat v3.4.27
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -84,10 +84,11 @@ var Vue = (function () {
|
|
|
84
84
|
fns[i](arg);
|
|
85
85
|
}
|
|
86
86
|
};
|
|
87
|
-
const def = (obj, key, value) => {
|
|
87
|
+
const def = (obj, key, value, writable = false) => {
|
|
88
88
|
Object.defineProperty(obj, key, {
|
|
89
89
|
configurable: true,
|
|
90
90
|
enumerable: false,
|
|
91
|
+
writable,
|
|
91
92
|
value
|
|
92
93
|
});
|
|
93
94
|
};
|
|
@@ -144,8 +145,8 @@ var Vue = (function () {
|
|
|
144
145
|
}
|
|
145
146
|
for (const key in styles) {
|
|
146
147
|
const value = styles[key];
|
|
147
|
-
const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key);
|
|
148
148
|
if (isString(value) || typeof value === "number") {
|
|
149
|
+
const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key);
|
|
149
150
|
ret += `${normalizedKey}:${value};`;
|
|
150
151
|
}
|
|
151
152
|
}
|
|
@@ -479,11 +480,10 @@ var Vue = (function () {
|
|
|
479
480
|
}
|
|
480
481
|
}
|
|
481
482
|
stop() {
|
|
482
|
-
var _a;
|
|
483
483
|
if (this.active) {
|
|
484
484
|
preCleanupEffect(this);
|
|
485
485
|
postCleanupEffect(this);
|
|
486
|
-
|
|
486
|
+
this.onStop && this.onStop();
|
|
487
487
|
this.active = false;
|
|
488
488
|
}
|
|
489
489
|
}
|
|
@@ -696,8 +696,8 @@ var Vue = (function () {
|
|
|
696
696
|
resetScheduling();
|
|
697
697
|
}
|
|
698
698
|
function getDepFromReactive(object, key) {
|
|
699
|
-
|
|
700
|
-
return
|
|
699
|
+
const depsMap = targetMap.get(object);
|
|
700
|
+
return depsMap && depsMap.get(key);
|
|
701
701
|
}
|
|
702
702
|
|
|
703
703
|
const isNonTrackableKeys = /* @__PURE__ */ makeMap(`__proto__,__v_isRef,__isVue`);
|
|
@@ -2909,7 +2909,7 @@ Details: https://v3-migration.vuejs.org/breaking-changes/migration-build.html`
|
|
|
2909
2909
|
true ? {
|
|
2910
2910
|
get attrs() {
|
|
2911
2911
|
markAttrsAccessed();
|
|
2912
|
-
return attrs;
|
|
2912
|
+
return shallowReadonly(attrs);
|
|
2913
2913
|
},
|
|
2914
2914
|
slots,
|
|
2915
2915
|
emit
|
|
@@ -2942,7 +2942,7 @@ Details: https://v3-migration.vuejs.org/breaking-changes/migration-build.html`
|
|
|
2942
2942
|
propsOptions
|
|
2943
2943
|
);
|
|
2944
2944
|
}
|
|
2945
|
-
root = cloneVNode(root, fallthroughAttrs);
|
|
2945
|
+
root = cloneVNode(root, fallthroughAttrs, false, true);
|
|
2946
2946
|
} else if (!accessedAttrs && root.type !== Comment) {
|
|
2947
2947
|
const allAttrs = Object.keys(attrs);
|
|
2948
2948
|
const eventAttrs = [];
|
|
@@ -2980,10 +2980,15 @@ Details: https://v3-migration.vuejs.org/breaking-changes/migration-build.html`
|
|
|
2980
2980
|
getComponentName(instance.type)
|
|
2981
2981
|
);
|
|
2982
2982
|
}
|
|
2983
|
-
root = cloneVNode(
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2983
|
+
root = cloneVNode(
|
|
2984
|
+
root,
|
|
2985
|
+
{
|
|
2986
|
+
class: cls,
|
|
2987
|
+
style
|
|
2988
|
+
},
|
|
2989
|
+
false,
|
|
2990
|
+
true
|
|
2991
|
+
);
|
|
2987
2992
|
}
|
|
2988
2993
|
}
|
|
2989
2994
|
if (vnode.dirs) {
|
|
@@ -2992,7 +2997,7 @@ Details: https://v3-migration.vuejs.org/breaking-changes/migration-build.html`
|
|
|
2992
2997
|
`Runtime directive used on component with non-element root node. The directives will not function as intended.`
|
|
2993
2998
|
);
|
|
2994
2999
|
}
|
|
2995
|
-
root = cloneVNode(root);
|
|
3000
|
+
root = cloneVNode(root, null, false, true);
|
|
2996
3001
|
root.dirs = root.dirs ? root.dirs.concat(vnode.dirs) : vnode.dirs;
|
|
2997
3002
|
}
|
|
2998
3003
|
if (vnode.transition) {
|
|
@@ -3487,7 +3492,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
3487
3492
|
let parentSuspenseId;
|
|
3488
3493
|
const isSuspensible = isVNodeSuspensible(vnode);
|
|
3489
3494
|
if (isSuspensible) {
|
|
3490
|
-
if (parentSuspense
|
|
3495
|
+
if (parentSuspense && parentSuspense.pendingBranch) {
|
|
3491
3496
|
parentSuspenseId = parentSuspense.pendingId;
|
|
3492
3497
|
parentSuspense.deps++;
|
|
3493
3498
|
}
|
|
@@ -3799,8 +3804,8 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
3799
3804
|
}
|
|
3800
3805
|
}
|
|
3801
3806
|
function isVNodeSuspensible(vnode) {
|
|
3802
|
-
|
|
3803
|
-
return
|
|
3807
|
+
const suspensible = vnode.props && vnode.props.suspensible;
|
|
3808
|
+
return suspensible != null && suspensible !== false;
|
|
3804
3809
|
}
|
|
3805
3810
|
|
|
3806
3811
|
const legacyDirectiveHookMap = {
|
|
@@ -4075,34 +4080,29 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
4075
4080
|
return cur;
|
|
4076
4081
|
};
|
|
4077
4082
|
}
|
|
4078
|
-
function traverse(value, depth
|
|
4079
|
-
if (!isObject(value) || value["__v_skip"]) {
|
|
4083
|
+
function traverse(value, depth = Infinity, seen) {
|
|
4084
|
+
if (depth <= 0 || !isObject(value) || value["__v_skip"]) {
|
|
4080
4085
|
return value;
|
|
4081
4086
|
}
|
|
4082
|
-
if (depth && depth > 0) {
|
|
4083
|
-
if (currentDepth >= depth) {
|
|
4084
|
-
return value;
|
|
4085
|
-
}
|
|
4086
|
-
currentDepth++;
|
|
4087
|
-
}
|
|
4088
4087
|
seen = seen || /* @__PURE__ */ new Set();
|
|
4089
4088
|
if (seen.has(value)) {
|
|
4090
4089
|
return value;
|
|
4091
4090
|
}
|
|
4092
4091
|
seen.add(value);
|
|
4092
|
+
depth--;
|
|
4093
4093
|
if (isRef(value)) {
|
|
4094
|
-
traverse(value.value, depth,
|
|
4094
|
+
traverse(value.value, depth, seen);
|
|
4095
4095
|
} else if (isArray(value)) {
|
|
4096
4096
|
for (let i = 0; i < value.length; i++) {
|
|
4097
|
-
traverse(value[i], depth,
|
|
4097
|
+
traverse(value[i], depth, seen);
|
|
4098
4098
|
}
|
|
4099
4099
|
} else if (isSet(value) || isMap(value)) {
|
|
4100
4100
|
value.forEach((v) => {
|
|
4101
|
-
traverse(v, depth,
|
|
4101
|
+
traverse(v, depth, seen);
|
|
4102
4102
|
});
|
|
4103
4103
|
} else if (isPlainObject(value)) {
|
|
4104
4104
|
for (const key in value) {
|
|
4105
|
-
traverse(value[key], depth,
|
|
4105
|
+
traverse(value[key], depth, seen);
|
|
4106
4106
|
}
|
|
4107
4107
|
}
|
|
4108
4108
|
return value;
|
|
@@ -4263,7 +4263,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
4263
4263
|
instance
|
|
4264
4264
|
);
|
|
4265
4265
|
setTransitionHooks(oldInnerChild, leavingHooks);
|
|
4266
|
-
if (mode === "out-in") {
|
|
4266
|
+
if (mode === "out-in" && innerChild.type !== Comment) {
|
|
4267
4267
|
state.isLeaving = true;
|
|
4268
4268
|
leavingHooks.afterLeave = () => {
|
|
4269
4269
|
state.isLeaving = false;
|
|
@@ -4781,7 +4781,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
4781
4781
|
return () => {
|
|
4782
4782
|
pendingCacheKey = null;
|
|
4783
4783
|
if (!slots.default) {
|
|
4784
|
-
return
|
|
4784
|
+
return null;
|
|
4785
4785
|
}
|
|
4786
4786
|
const children = slots.default();
|
|
4787
4787
|
const rawVNode = children[0];
|
|
@@ -5499,14 +5499,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
5499
5499
|
},
|
|
5500
5500
|
$scopedSlots: (i) => {
|
|
5501
5501
|
assertCompatEnabled("INSTANCE_SCOPED_SLOTS", i);
|
|
5502
|
-
|
|
5503
|
-
for (const key in i.slots) {
|
|
5504
|
-
const fn = i.slots[key];
|
|
5505
|
-
if (!fn._ns) {
|
|
5506
|
-
res[key] = fn;
|
|
5507
|
-
}
|
|
5508
|
-
}
|
|
5509
|
-
return res;
|
|
5502
|
+
return shallowReadonly(i.slots) ;
|
|
5510
5503
|
},
|
|
5511
5504
|
$on: (i) => on.bind(null, i),
|
|
5512
5505
|
$once: (i) => once.bind(null, i),
|
|
@@ -6477,13 +6470,13 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
6477
6470
|
return vm;
|
|
6478
6471
|
}
|
|
6479
6472
|
}
|
|
6480
|
-
Vue.version = `2.6.14-compat:${"3.4.
|
|
6473
|
+
Vue.version = `2.6.14-compat:${"3.4.27"}`;
|
|
6481
6474
|
Vue.config = singletonApp.config;
|
|
6482
|
-
Vue.use = (
|
|
6483
|
-
if (
|
|
6484
|
-
|
|
6485
|
-
} else if (isFunction(
|
|
6486
|
-
|
|
6475
|
+
Vue.use = (plugin, ...options) => {
|
|
6476
|
+
if (plugin && isFunction(plugin.install)) {
|
|
6477
|
+
plugin.install(Vue, ...options);
|
|
6478
|
+
} else if (isFunction(plugin)) {
|
|
6479
|
+
plugin(Vue, ...options);
|
|
6487
6480
|
}
|
|
6488
6481
|
return Vue;
|
|
6489
6482
|
};
|
|
@@ -7601,7 +7594,7 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
7601
7594
|
const type = children._;
|
|
7602
7595
|
if (type) {
|
|
7603
7596
|
extend(slots, children);
|
|
7604
|
-
def(slots, "_", type);
|
|
7597
|
+
def(slots, "_", type, true);
|
|
7605
7598
|
} else {
|
|
7606
7599
|
normalizeObjectSlots(children, slots, instance);
|
|
7607
7600
|
}
|
|
@@ -8215,7 +8208,7 @@ Server rendered element contains fewer child nodes than client vdom.`
|
|
|
8215
8208
|
mismatchType = mismatchKey = `class`;
|
|
8216
8209
|
}
|
|
8217
8210
|
} else if (key === "style") {
|
|
8218
|
-
actual = el.getAttribute("style");
|
|
8211
|
+
actual = el.getAttribute("style") || "";
|
|
8219
8212
|
expected = isString(clientValue) ? clientValue : stringifyStyle(normalizeStyle(clientValue));
|
|
8220
8213
|
const actualMap = toStyleMap(actual);
|
|
8221
8214
|
const expectedMap = toStyleMap(expected);
|
|
@@ -10440,8 +10433,8 @@ Component that was made reactive: `,
|
|
|
10440
10433
|
return null;
|
|
10441
10434
|
return isProxy(props) || isInternalObject(props) ? extend({}, props) : props;
|
|
10442
10435
|
}
|
|
10443
|
-
function cloneVNode(vnode, extraProps, mergeRef = false) {
|
|
10444
|
-
const { props, ref, patchFlag, children } = vnode;
|
|
10436
|
+
function cloneVNode(vnode, extraProps, mergeRef = false, cloneTransition = false) {
|
|
10437
|
+
const { props, ref, patchFlag, children, transition } = vnode;
|
|
10445
10438
|
const mergedProps = extraProps ? mergeProps(props || {}, extraProps) : props;
|
|
10446
10439
|
const cloned = {
|
|
10447
10440
|
__v_isVNode: true,
|
|
@@ -10471,7 +10464,7 @@ Component that was made reactive: `,
|
|
|
10471
10464
|
dynamicChildren: vnode.dynamicChildren,
|
|
10472
10465
|
appContext: vnode.appContext,
|
|
10473
10466
|
dirs: vnode.dirs,
|
|
10474
|
-
transition
|
|
10467
|
+
transition,
|
|
10475
10468
|
// These should technically only be non-null on mounted VNodes. However,
|
|
10476
10469
|
// they *should* be copied for kept-alive vnodes. So we just always copy
|
|
10477
10470
|
// them since them being non-null during a mount doesn't affect the logic as
|
|
@@ -10485,6 +10478,9 @@ Component that was made reactive: `,
|
|
|
10485
10478
|
ctx: vnode.ctx,
|
|
10486
10479
|
ce: vnode.ce
|
|
10487
10480
|
};
|
|
10481
|
+
if (transition && cloneTransition) {
|
|
10482
|
+
cloned.transition = transition.clone(cloned);
|
|
10483
|
+
}
|
|
10488
10484
|
{
|
|
10489
10485
|
defineLegacyVNodeProperties(cloned);
|
|
10490
10486
|
}
|
|
@@ -11307,7 +11303,7 @@ Component that was made reactive: `,
|
|
|
11307
11303
|
return true;
|
|
11308
11304
|
}
|
|
11309
11305
|
|
|
11310
|
-
const version = "3.4.
|
|
11306
|
+
const version = "3.4.27";
|
|
11311
11307
|
const warn = warn$1 ;
|
|
11312
11308
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
11313
11309
|
const devtools = devtools$1 ;
|