@vue/compat 3.5.31 → 3.5.33
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 +112 -78
- package/dist/vue.cjs.prod.js +110 -72
- package/dist/vue.esm-browser.js +112 -78
- package/dist/vue.esm-browser.prod.js +5 -5
- package/dist/vue.esm-bundler.js +112 -78
- package/dist/vue.global.js +112 -78
- package/dist/vue.global.prod.js +5 -5
- package/dist/vue.runtime.esm-browser.js +112 -78
- package/dist/vue.runtime.esm-browser.prod.js +4 -4
- package/dist/vue.runtime.esm-bundler.js +112 -78
- package/dist/vue.runtime.global.js +112 -78
- package/dist/vue.runtime.global.prod.js +3 -3
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compat v3.5.
|
|
2
|
+
* @vue/compat v3.5.33
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -427,7 +427,18 @@ class EffectScope {
|
|
|
427
427
|
*/
|
|
428
428
|
off() {
|
|
429
429
|
if (this._on > 0 && --this._on === 0) {
|
|
430
|
-
activeEffectScope
|
|
430
|
+
if (activeEffectScope === this) {
|
|
431
|
+
activeEffectScope = this.prevScope;
|
|
432
|
+
} else {
|
|
433
|
+
let current = activeEffectScope;
|
|
434
|
+
while (current) {
|
|
435
|
+
if (current.prevScope === this) {
|
|
436
|
+
current.prevScope = this.prevScope;
|
|
437
|
+
break;
|
|
438
|
+
}
|
|
439
|
+
current = current.prevScope;
|
|
440
|
+
}
|
|
441
|
+
}
|
|
431
442
|
this.prevScope = void 0;
|
|
432
443
|
}
|
|
433
444
|
}
|
|
@@ -3675,6 +3686,7 @@ function createPathGetter(ctx, path) {
|
|
|
3675
3686
|
};
|
|
3676
3687
|
}
|
|
3677
3688
|
|
|
3689
|
+
const pendingMounts = /* @__PURE__ */ new WeakMap();
|
|
3678
3690
|
const TeleportEndKey = /* @__PURE__ */ Symbol("_vte");
|
|
3679
3691
|
const isTeleport = (type) => type.__isTeleport;
|
|
3680
3692
|
const isTeleportDisabled = (props) => props && (props.disabled || props.disabled === "");
|
|
@@ -3713,94 +3725,90 @@ const TeleportImpl = {
|
|
|
3713
3725
|
mc: mountChildren,
|
|
3714
3726
|
pc: patchChildren,
|
|
3715
3727
|
pbc: patchBlockChildren,
|
|
3716
|
-
o: { insert, querySelector, createText, createComment }
|
|
3728
|
+
o: { insert, querySelector, createText, createComment, parentNode }
|
|
3717
3729
|
} = internals;
|
|
3718
3730
|
const disabled = isTeleportDisabled(n2.props);
|
|
3719
|
-
let {
|
|
3731
|
+
let { dynamicChildren } = n2;
|
|
3720
3732
|
if (!!(process.env.NODE_ENV !== "production") && isHmrUpdating) {
|
|
3721
3733
|
optimized = false;
|
|
3722
3734
|
dynamicChildren = null;
|
|
3723
3735
|
}
|
|
3736
|
+
const mount = (vnode, container2, anchor2) => {
|
|
3737
|
+
if (vnode.shapeFlag & 16) {
|
|
3738
|
+
mountChildren(
|
|
3739
|
+
vnode.children,
|
|
3740
|
+
container2,
|
|
3741
|
+
anchor2,
|
|
3742
|
+
parentComponent,
|
|
3743
|
+
parentSuspense,
|
|
3744
|
+
namespace,
|
|
3745
|
+
slotScopeIds,
|
|
3746
|
+
optimized
|
|
3747
|
+
);
|
|
3748
|
+
}
|
|
3749
|
+
};
|
|
3750
|
+
const mountToTarget = (vnode = n2) => {
|
|
3751
|
+
const disabled2 = isTeleportDisabled(vnode.props);
|
|
3752
|
+
const target = vnode.target = resolveTarget(vnode.props, querySelector);
|
|
3753
|
+
const targetAnchor = prepareAnchor(target, vnode, createText, insert);
|
|
3754
|
+
if (target) {
|
|
3755
|
+
if (namespace !== "svg" && isTargetSVG(target)) {
|
|
3756
|
+
namespace = "svg";
|
|
3757
|
+
} else if (namespace !== "mathml" && isTargetMathML(target)) {
|
|
3758
|
+
namespace = "mathml";
|
|
3759
|
+
}
|
|
3760
|
+
if (parentComponent && parentComponent.isCE) {
|
|
3761
|
+
(parentComponent.ce._teleportTargets || (parentComponent.ce._teleportTargets = /* @__PURE__ */ new Set())).add(target);
|
|
3762
|
+
}
|
|
3763
|
+
if (!disabled2) {
|
|
3764
|
+
mount(vnode, target, targetAnchor);
|
|
3765
|
+
updateCssVars(vnode, false);
|
|
3766
|
+
}
|
|
3767
|
+
} else if (!!(process.env.NODE_ENV !== "production") && !disabled2) {
|
|
3768
|
+
warn$1("Invalid Teleport target on mount:", target, `(${typeof target})`);
|
|
3769
|
+
}
|
|
3770
|
+
};
|
|
3771
|
+
const queuePendingMount = (vnode) => {
|
|
3772
|
+
const mountJob = () => {
|
|
3773
|
+
if (pendingMounts.get(vnode) !== mountJob) return;
|
|
3774
|
+
pendingMounts.delete(vnode);
|
|
3775
|
+
if (isTeleportDisabled(vnode.props)) {
|
|
3776
|
+
const mountContainer = parentNode(vnode.el) || container;
|
|
3777
|
+
mount(vnode, mountContainer, vnode.anchor);
|
|
3778
|
+
updateCssVars(vnode, true);
|
|
3779
|
+
}
|
|
3780
|
+
mountToTarget(vnode);
|
|
3781
|
+
};
|
|
3782
|
+
pendingMounts.set(vnode, mountJob);
|
|
3783
|
+
queuePostRenderEffect(mountJob, parentSuspense);
|
|
3784
|
+
};
|
|
3724
3785
|
if (n1 == null) {
|
|
3725
3786
|
const placeholder = n2.el = !!(process.env.NODE_ENV !== "production") ? createComment("teleport start") : createText("");
|
|
3726
3787
|
const mainAnchor = n2.anchor = !!(process.env.NODE_ENV !== "production") ? createComment("teleport end") : createText("");
|
|
3727
3788
|
insert(placeholder, container, anchor);
|
|
3728
3789
|
insert(mainAnchor, container, anchor);
|
|
3729
|
-
|
|
3730
|
-
|
|
3731
|
-
|
|
3732
|
-
|
|
3733
|
-
container2,
|
|
3734
|
-
anchor2,
|
|
3735
|
-
parentComponent,
|
|
3736
|
-
parentSuspense,
|
|
3737
|
-
namespace,
|
|
3738
|
-
slotScopeIds,
|
|
3739
|
-
optimized
|
|
3740
|
-
);
|
|
3741
|
-
}
|
|
3742
|
-
};
|
|
3743
|
-
const mountToTarget = () => {
|
|
3744
|
-
const target = n2.target = resolveTarget(n2.props, querySelector);
|
|
3745
|
-
const targetAnchor = prepareAnchor(target, n2, createText, insert);
|
|
3746
|
-
if (target) {
|
|
3747
|
-
if (namespace !== "svg" && isTargetSVG(target)) {
|
|
3748
|
-
namespace = "svg";
|
|
3749
|
-
} else if (namespace !== "mathml" && isTargetMathML(target)) {
|
|
3750
|
-
namespace = "mathml";
|
|
3751
|
-
}
|
|
3752
|
-
if (parentComponent && parentComponent.isCE) {
|
|
3753
|
-
(parentComponent.ce._teleportTargets || (parentComponent.ce._teleportTargets = /* @__PURE__ */ new Set())).add(target);
|
|
3754
|
-
}
|
|
3755
|
-
if (!disabled) {
|
|
3756
|
-
mount(target, targetAnchor);
|
|
3757
|
-
updateCssVars(n2, false);
|
|
3758
|
-
}
|
|
3759
|
-
} else if (!!(process.env.NODE_ENV !== "production") && !disabled) {
|
|
3760
|
-
warn$1(
|
|
3761
|
-
"Invalid Teleport target on mount:",
|
|
3762
|
-
target,
|
|
3763
|
-
`(${typeof target})`
|
|
3764
|
-
);
|
|
3765
|
-
}
|
|
3766
|
-
};
|
|
3790
|
+
if (isTeleportDeferred(n2.props) || parentSuspense && parentSuspense.pendingBranch) {
|
|
3791
|
+
queuePendingMount(n2);
|
|
3792
|
+
return;
|
|
3793
|
+
}
|
|
3767
3794
|
if (disabled) {
|
|
3768
|
-
mount(container, mainAnchor);
|
|
3795
|
+
mount(n2, container, mainAnchor);
|
|
3769
3796
|
updateCssVars(n2, true);
|
|
3770
3797
|
}
|
|
3771
|
-
|
|
3772
|
-
n2.el.__isMounted = false;
|
|
3773
|
-
queuePostRenderEffect(() => {
|
|
3774
|
-
if (n2.el.__isMounted !== false) return;
|
|
3775
|
-
mountToTarget();
|
|
3776
|
-
delete n2.el.__isMounted;
|
|
3777
|
-
}, parentSuspense);
|
|
3778
|
-
} else {
|
|
3779
|
-
mountToTarget();
|
|
3780
|
-
}
|
|
3798
|
+
mountToTarget();
|
|
3781
3799
|
} else {
|
|
3782
3800
|
n2.el = n1.el;
|
|
3783
|
-
n2.targetStart = n1.targetStart;
|
|
3784
3801
|
const mainAnchor = n2.anchor = n1.anchor;
|
|
3785
|
-
const
|
|
3786
|
-
|
|
3787
|
-
|
|
3788
|
-
|
|
3789
|
-
|
|
3790
|
-
n1,
|
|
3791
|
-
n2,
|
|
3792
|
-
container,
|
|
3793
|
-
anchor,
|
|
3794
|
-
parentComponent,
|
|
3795
|
-
parentSuspense,
|
|
3796
|
-
namespace,
|
|
3797
|
-
slotScopeIds,
|
|
3798
|
-
optimized,
|
|
3799
|
-
internals
|
|
3800
|
-
);
|
|
3801
|
-
}, parentSuspense);
|
|
3802
|
+
const pendingMount = pendingMounts.get(n1);
|
|
3803
|
+
if (pendingMount) {
|
|
3804
|
+
pendingMount.flags |= 8;
|
|
3805
|
+
pendingMounts.delete(n1);
|
|
3806
|
+
queuePendingMount(n2);
|
|
3802
3807
|
return;
|
|
3803
3808
|
}
|
|
3809
|
+
n2.targetStart = n1.targetStart;
|
|
3810
|
+
const target = n2.target = n1.target;
|
|
3811
|
+
const targetAnchor = n2.targetAnchor = n1.targetAnchor;
|
|
3804
3812
|
const wasDisabled = isTeleportDisabled(n1.props);
|
|
3805
3813
|
const currentContainer = wasDisabled ? container : target;
|
|
3806
3814
|
const currentAnchor = wasDisabled ? mainAnchor : targetAnchor;
|
|
@@ -3891,13 +3899,19 @@ const TeleportImpl = {
|
|
|
3891
3899
|
target,
|
|
3892
3900
|
props
|
|
3893
3901
|
} = vnode;
|
|
3902
|
+
let shouldRemove = doRemove || !isTeleportDisabled(props);
|
|
3903
|
+
const pendingMount = pendingMounts.get(vnode);
|
|
3904
|
+
if (pendingMount) {
|
|
3905
|
+
pendingMount.flags |= 8;
|
|
3906
|
+
pendingMounts.delete(vnode);
|
|
3907
|
+
shouldRemove = false;
|
|
3908
|
+
}
|
|
3894
3909
|
if (target) {
|
|
3895
3910
|
hostRemove(targetStart);
|
|
3896
3911
|
hostRemove(targetAnchor);
|
|
3897
3912
|
}
|
|
3898
3913
|
doRemove && hostRemove(anchor);
|
|
3899
3914
|
if (shapeFlag & 16) {
|
|
3900
|
-
const shouldRemove = doRemove || !isTeleportDisabled(props);
|
|
3901
3915
|
for (let i = 0; i < children.length; i++) {
|
|
3902
3916
|
const child = children[i];
|
|
3903
3917
|
unmount(
|
|
@@ -3922,7 +3936,7 @@ function moveTeleport(vnode, container, parentAnchor, { o: { insert }, m: move }
|
|
|
3922
3936
|
if (isReorder) {
|
|
3923
3937
|
insert(el, container, parentAnchor);
|
|
3924
3938
|
}
|
|
3925
|
-
if (!isReorder || isTeleportDisabled(props)) {
|
|
3939
|
+
if (!pendingMounts.has(vnode) && (!isReorder || isTeleportDisabled(props))) {
|
|
3926
3940
|
if (shapeFlag & 16) {
|
|
3927
3941
|
for (let i = 0; i < children.length; i++) {
|
|
3928
3942
|
move(
|
|
@@ -4096,10 +4110,14 @@ const BaseTransitionImpl = {
|
|
|
4096
4110
|
const state = useTransitionState();
|
|
4097
4111
|
return () => {
|
|
4098
4112
|
const children = slots.default && getTransitionRawChildren(slots.default(), true);
|
|
4099
|
-
|
|
4113
|
+
const child = children && children.length ? findNonCommentChild(children) : (
|
|
4114
|
+
// Keep explicit default-slot conditionals on the same transition path
|
|
4115
|
+
// as regular v-if branches, which render a comment placeholder.
|
|
4116
|
+
instance.subTree ? createCommentVNode() : void 0
|
|
4117
|
+
);
|
|
4118
|
+
if (!child) {
|
|
4100
4119
|
return;
|
|
4101
4120
|
}
|
|
4102
|
-
const child = findNonCommentChild(children);
|
|
4103
4121
|
const rawProps = toRaw(props);
|
|
4104
4122
|
const { mode } = rawProps;
|
|
4105
4123
|
if (!!(process.env.NODE_ENV !== "production") && mode && mode !== "in-out" && mode !== "out-in" && mode !== "default") {
|
|
@@ -7478,7 +7496,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
|
|
|
7478
7496
|
return vm;
|
|
7479
7497
|
}
|
|
7480
7498
|
}
|
|
7481
|
-
Vue.version = `2.6.14-compat:${"3.5.
|
|
7499
|
+
Vue.version = `2.6.14-compat:${"3.5.33"}`;
|
|
7482
7500
|
Vue.config = singletonApp.config;
|
|
7483
7501
|
Vue.use = (plugin, ...options) => {
|
|
7484
7502
|
if (plugin && isFunction(plugin.install)) {
|
|
@@ -11350,6 +11368,7 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe
|
|
|
11350
11368
|
if (instance.isUnmounted || suspense.isUnmounted || suspense.pendingId !== instance.suspenseId) {
|
|
11351
11369
|
return;
|
|
11352
11370
|
}
|
|
11371
|
+
unsetCurrentInstance();
|
|
11353
11372
|
instance.asyncResolved = true;
|
|
11354
11373
|
const { vnode: vnode2 } = instance;
|
|
11355
11374
|
if (!!(process.env.NODE_ENV !== "production")) {
|
|
@@ -12647,7 +12666,7 @@ function isMemoSame(cached, memo) {
|
|
|
12647
12666
|
return true;
|
|
12648
12667
|
}
|
|
12649
12668
|
|
|
12650
|
-
const version = "3.5.
|
|
12669
|
+
const version = "3.5.33";
|
|
12651
12670
|
const warn = !!(process.env.NODE_ENV !== "production") ? warn$1 : NOOP;
|
|
12652
12671
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
12653
12672
|
const devtools = !!(process.env.NODE_ENV !== "production") || true ? devtools$1 : void 0;
|
|
@@ -13238,7 +13257,19 @@ function patchStyle(el, prev, next) {
|
|
|
13238
13257
|
if (key === "display") {
|
|
13239
13258
|
hasControlledDisplay = true;
|
|
13240
13259
|
}
|
|
13241
|
-
|
|
13260
|
+
const value = next[key];
|
|
13261
|
+
if (value != null) {
|
|
13262
|
+
if (!shouldPreserveTextareaResizeStyle(
|
|
13263
|
+
el,
|
|
13264
|
+
key,
|
|
13265
|
+
!isString(prev) && prev ? prev[key] : void 0,
|
|
13266
|
+
value
|
|
13267
|
+
)) {
|
|
13268
|
+
setStyle(style, key, value);
|
|
13269
|
+
}
|
|
13270
|
+
} else {
|
|
13271
|
+
setStyle(style, key, "");
|
|
13272
|
+
}
|
|
13242
13273
|
}
|
|
13243
13274
|
} else {
|
|
13244
13275
|
if (isCssString) {
|
|
@@ -13311,6 +13342,9 @@ function autoPrefix(style, rawName) {
|
|
|
13311
13342
|
}
|
|
13312
13343
|
return rawName;
|
|
13313
13344
|
}
|
|
13345
|
+
function shouldPreserveTextareaResizeStyle(el, key, prev, next) {
|
|
13346
|
+
return el.tagName === "TEXTAREA" && (key === "width" || key === "height") && isString(next) && prev === next;
|
|
13347
|
+
}
|
|
13314
13348
|
|
|
13315
13349
|
const xlinkNS = "http://www.w3.org/1999/xlink";
|
|
13316
13350
|
function patchAttr(el, key, value, isSVG, instance, isBoolean = isSpecialBooleanAttr(key)) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compat v3.5.
|
|
2
|
+
* @vue/compat v3.5.33
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -430,7 +430,18 @@ var Vue = (function () {
|
|
|
430
430
|
*/
|
|
431
431
|
off() {
|
|
432
432
|
if (this._on > 0 && --this._on === 0) {
|
|
433
|
-
activeEffectScope
|
|
433
|
+
if (activeEffectScope === this) {
|
|
434
|
+
activeEffectScope = this.prevScope;
|
|
435
|
+
} else {
|
|
436
|
+
let current = activeEffectScope;
|
|
437
|
+
while (current) {
|
|
438
|
+
if (current.prevScope === this) {
|
|
439
|
+
current.prevScope = this.prevScope;
|
|
440
|
+
break;
|
|
441
|
+
}
|
|
442
|
+
current = current.prevScope;
|
|
443
|
+
}
|
|
444
|
+
}
|
|
434
445
|
this.prevScope = void 0;
|
|
435
446
|
}
|
|
436
447
|
}
|
|
@@ -3632,6 +3643,7 @@ Details: https://v3-migration.vuejs.org/breaking-changes/migration-build.html`
|
|
|
3632
3643
|
};
|
|
3633
3644
|
}
|
|
3634
3645
|
|
|
3646
|
+
const pendingMounts = /* @__PURE__ */ new WeakMap();
|
|
3635
3647
|
const TeleportEndKey = /* @__PURE__ */ Symbol("_vte");
|
|
3636
3648
|
const isTeleport = (type) => type.__isTeleport;
|
|
3637
3649
|
const isTeleportDisabled = (props) => props && (props.disabled || props.disabled === "");
|
|
@@ -3670,94 +3682,90 @@ Details: https://v3-migration.vuejs.org/breaking-changes/migration-build.html`
|
|
|
3670
3682
|
mc: mountChildren,
|
|
3671
3683
|
pc: patchChildren,
|
|
3672
3684
|
pbc: patchBlockChildren,
|
|
3673
|
-
o: { insert, querySelector, createText, createComment }
|
|
3685
|
+
o: { insert, querySelector, createText, createComment, parentNode }
|
|
3674
3686
|
} = internals;
|
|
3675
3687
|
const disabled = isTeleportDisabled(n2.props);
|
|
3676
|
-
let {
|
|
3688
|
+
let { dynamicChildren } = n2;
|
|
3677
3689
|
if (isHmrUpdating) {
|
|
3678
3690
|
optimized = false;
|
|
3679
3691
|
dynamicChildren = null;
|
|
3680
3692
|
}
|
|
3693
|
+
const mount = (vnode, container2, anchor2) => {
|
|
3694
|
+
if (vnode.shapeFlag & 16) {
|
|
3695
|
+
mountChildren(
|
|
3696
|
+
vnode.children,
|
|
3697
|
+
container2,
|
|
3698
|
+
anchor2,
|
|
3699
|
+
parentComponent,
|
|
3700
|
+
parentSuspense,
|
|
3701
|
+
namespace,
|
|
3702
|
+
slotScopeIds,
|
|
3703
|
+
optimized
|
|
3704
|
+
);
|
|
3705
|
+
}
|
|
3706
|
+
};
|
|
3707
|
+
const mountToTarget = (vnode = n2) => {
|
|
3708
|
+
const disabled2 = isTeleportDisabled(vnode.props);
|
|
3709
|
+
const target = vnode.target = resolveTarget(vnode.props, querySelector);
|
|
3710
|
+
const targetAnchor = prepareAnchor(target, vnode, createText, insert);
|
|
3711
|
+
if (target) {
|
|
3712
|
+
if (namespace !== "svg" && isTargetSVG(target)) {
|
|
3713
|
+
namespace = "svg";
|
|
3714
|
+
} else if (namespace !== "mathml" && isTargetMathML(target)) {
|
|
3715
|
+
namespace = "mathml";
|
|
3716
|
+
}
|
|
3717
|
+
if (parentComponent && parentComponent.isCE) {
|
|
3718
|
+
(parentComponent.ce._teleportTargets || (parentComponent.ce._teleportTargets = /* @__PURE__ */ new Set())).add(target);
|
|
3719
|
+
}
|
|
3720
|
+
if (!disabled2) {
|
|
3721
|
+
mount(vnode, target, targetAnchor);
|
|
3722
|
+
updateCssVars(vnode, false);
|
|
3723
|
+
}
|
|
3724
|
+
} else if (!disabled2) {
|
|
3725
|
+
warn$1("Invalid Teleport target on mount:", target, `(${typeof target})`);
|
|
3726
|
+
}
|
|
3727
|
+
};
|
|
3728
|
+
const queuePendingMount = (vnode) => {
|
|
3729
|
+
const mountJob = () => {
|
|
3730
|
+
if (pendingMounts.get(vnode) !== mountJob) return;
|
|
3731
|
+
pendingMounts.delete(vnode);
|
|
3732
|
+
if (isTeleportDisabled(vnode.props)) {
|
|
3733
|
+
const mountContainer = parentNode(vnode.el) || container;
|
|
3734
|
+
mount(vnode, mountContainer, vnode.anchor);
|
|
3735
|
+
updateCssVars(vnode, true);
|
|
3736
|
+
}
|
|
3737
|
+
mountToTarget(vnode);
|
|
3738
|
+
};
|
|
3739
|
+
pendingMounts.set(vnode, mountJob);
|
|
3740
|
+
queuePostRenderEffect(mountJob, parentSuspense);
|
|
3741
|
+
};
|
|
3681
3742
|
if (n1 == null) {
|
|
3682
3743
|
const placeholder = n2.el = createComment("teleport start") ;
|
|
3683
3744
|
const mainAnchor = n2.anchor = createComment("teleport end") ;
|
|
3684
3745
|
insert(placeholder, container, anchor);
|
|
3685
3746
|
insert(mainAnchor, container, anchor);
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
container2,
|
|
3691
|
-
anchor2,
|
|
3692
|
-
parentComponent,
|
|
3693
|
-
parentSuspense,
|
|
3694
|
-
namespace,
|
|
3695
|
-
slotScopeIds,
|
|
3696
|
-
optimized
|
|
3697
|
-
);
|
|
3698
|
-
}
|
|
3699
|
-
};
|
|
3700
|
-
const mountToTarget = () => {
|
|
3701
|
-
const target = n2.target = resolveTarget(n2.props, querySelector);
|
|
3702
|
-
const targetAnchor = prepareAnchor(target, n2, createText, insert);
|
|
3703
|
-
if (target) {
|
|
3704
|
-
if (namespace !== "svg" && isTargetSVG(target)) {
|
|
3705
|
-
namespace = "svg";
|
|
3706
|
-
} else if (namespace !== "mathml" && isTargetMathML(target)) {
|
|
3707
|
-
namespace = "mathml";
|
|
3708
|
-
}
|
|
3709
|
-
if (parentComponent && parentComponent.isCE) {
|
|
3710
|
-
(parentComponent.ce._teleportTargets || (parentComponent.ce._teleportTargets = /* @__PURE__ */ new Set())).add(target);
|
|
3711
|
-
}
|
|
3712
|
-
if (!disabled) {
|
|
3713
|
-
mount(target, targetAnchor);
|
|
3714
|
-
updateCssVars(n2, false);
|
|
3715
|
-
}
|
|
3716
|
-
} else if (!disabled) {
|
|
3717
|
-
warn$1(
|
|
3718
|
-
"Invalid Teleport target on mount:",
|
|
3719
|
-
target,
|
|
3720
|
-
`(${typeof target})`
|
|
3721
|
-
);
|
|
3722
|
-
}
|
|
3723
|
-
};
|
|
3747
|
+
if (isTeleportDeferred(n2.props) || parentSuspense && parentSuspense.pendingBranch) {
|
|
3748
|
+
queuePendingMount(n2);
|
|
3749
|
+
return;
|
|
3750
|
+
}
|
|
3724
3751
|
if (disabled) {
|
|
3725
|
-
mount(container, mainAnchor);
|
|
3752
|
+
mount(n2, container, mainAnchor);
|
|
3726
3753
|
updateCssVars(n2, true);
|
|
3727
3754
|
}
|
|
3728
|
-
|
|
3729
|
-
n2.el.__isMounted = false;
|
|
3730
|
-
queuePostRenderEffect(() => {
|
|
3731
|
-
if (n2.el.__isMounted !== false) return;
|
|
3732
|
-
mountToTarget();
|
|
3733
|
-
delete n2.el.__isMounted;
|
|
3734
|
-
}, parentSuspense);
|
|
3735
|
-
} else {
|
|
3736
|
-
mountToTarget();
|
|
3737
|
-
}
|
|
3755
|
+
mountToTarget();
|
|
3738
3756
|
} else {
|
|
3739
3757
|
n2.el = n1.el;
|
|
3740
|
-
n2.targetStart = n1.targetStart;
|
|
3741
3758
|
const mainAnchor = n2.anchor = n1.anchor;
|
|
3742
|
-
const
|
|
3743
|
-
|
|
3744
|
-
|
|
3745
|
-
|
|
3746
|
-
|
|
3747
|
-
n1,
|
|
3748
|
-
n2,
|
|
3749
|
-
container,
|
|
3750
|
-
anchor,
|
|
3751
|
-
parentComponent,
|
|
3752
|
-
parentSuspense,
|
|
3753
|
-
namespace,
|
|
3754
|
-
slotScopeIds,
|
|
3755
|
-
optimized,
|
|
3756
|
-
internals
|
|
3757
|
-
);
|
|
3758
|
-
}, parentSuspense);
|
|
3759
|
+
const pendingMount = pendingMounts.get(n1);
|
|
3760
|
+
if (pendingMount) {
|
|
3761
|
+
pendingMount.flags |= 8;
|
|
3762
|
+
pendingMounts.delete(n1);
|
|
3763
|
+
queuePendingMount(n2);
|
|
3759
3764
|
return;
|
|
3760
3765
|
}
|
|
3766
|
+
n2.targetStart = n1.targetStart;
|
|
3767
|
+
const target = n2.target = n1.target;
|
|
3768
|
+
const targetAnchor = n2.targetAnchor = n1.targetAnchor;
|
|
3761
3769
|
const wasDisabled = isTeleportDisabled(n1.props);
|
|
3762
3770
|
const currentContainer = wasDisabled ? container : target;
|
|
3763
3771
|
const currentAnchor = wasDisabled ? mainAnchor : targetAnchor;
|
|
@@ -3848,13 +3856,19 @@ Details: https://v3-migration.vuejs.org/breaking-changes/migration-build.html`
|
|
|
3848
3856
|
target,
|
|
3849
3857
|
props
|
|
3850
3858
|
} = vnode;
|
|
3859
|
+
let shouldRemove = doRemove || !isTeleportDisabled(props);
|
|
3860
|
+
const pendingMount = pendingMounts.get(vnode);
|
|
3861
|
+
if (pendingMount) {
|
|
3862
|
+
pendingMount.flags |= 8;
|
|
3863
|
+
pendingMounts.delete(vnode);
|
|
3864
|
+
shouldRemove = false;
|
|
3865
|
+
}
|
|
3851
3866
|
if (target) {
|
|
3852
3867
|
hostRemove(targetStart);
|
|
3853
3868
|
hostRemove(targetAnchor);
|
|
3854
3869
|
}
|
|
3855
3870
|
doRemove && hostRemove(anchor);
|
|
3856
3871
|
if (shapeFlag & 16) {
|
|
3857
|
-
const shouldRemove = doRemove || !isTeleportDisabled(props);
|
|
3858
3872
|
for (let i = 0; i < children.length; i++) {
|
|
3859
3873
|
const child = children[i];
|
|
3860
3874
|
unmount(
|
|
@@ -3879,7 +3893,7 @@ Details: https://v3-migration.vuejs.org/breaking-changes/migration-build.html`
|
|
|
3879
3893
|
if (isReorder) {
|
|
3880
3894
|
insert(el, container, parentAnchor);
|
|
3881
3895
|
}
|
|
3882
|
-
if (!isReorder || isTeleportDisabled(props)) {
|
|
3896
|
+
if (!pendingMounts.has(vnode) && (!isReorder || isTeleportDisabled(props))) {
|
|
3883
3897
|
if (shapeFlag & 16) {
|
|
3884
3898
|
for (let i = 0; i < children.length; i++) {
|
|
3885
3899
|
move(
|
|
@@ -4053,10 +4067,14 @@ Details: https://v3-migration.vuejs.org/breaking-changes/migration-build.html`
|
|
|
4053
4067
|
const state = useTransitionState();
|
|
4054
4068
|
return () => {
|
|
4055
4069
|
const children = slots.default && getTransitionRawChildren(slots.default(), true);
|
|
4056
|
-
|
|
4070
|
+
const child = children && children.length ? findNonCommentChild(children) : (
|
|
4071
|
+
// Keep explicit default-slot conditionals on the same transition path
|
|
4072
|
+
// as regular v-if branches, which render a comment placeholder.
|
|
4073
|
+
instance.subTree ? createCommentVNode() : void 0
|
|
4074
|
+
);
|
|
4075
|
+
if (!child) {
|
|
4057
4076
|
return;
|
|
4058
4077
|
}
|
|
4059
|
-
const child = findNonCommentChild(children);
|
|
4060
4078
|
const rawProps = toRaw(props);
|
|
4061
4079
|
const { mode } = rawProps;
|
|
4062
4080
|
if (mode && mode !== "in-out" && mode !== "out-in" && mode !== "default") {
|
|
@@ -7412,7 +7430,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
7412
7430
|
return vm;
|
|
7413
7431
|
}
|
|
7414
7432
|
}
|
|
7415
|
-
Vue.version = `2.6.14-compat:${"3.5.
|
|
7433
|
+
Vue.version = `2.6.14-compat:${"3.5.33"}`;
|
|
7416
7434
|
Vue.config = singletonApp.config;
|
|
7417
7435
|
Vue.use = (plugin, ...options) => {
|
|
7418
7436
|
if (plugin && isFunction(plugin.install)) {
|
|
@@ -11244,6 +11262,7 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
11244
11262
|
if (instance.isUnmounted || suspense.isUnmounted || suspense.pendingId !== instance.suspenseId) {
|
|
11245
11263
|
return;
|
|
11246
11264
|
}
|
|
11265
|
+
unsetCurrentInstance();
|
|
11247
11266
|
instance.asyncResolved = true;
|
|
11248
11267
|
const { vnode: vnode2 } = instance;
|
|
11249
11268
|
{
|
|
@@ -12513,7 +12532,7 @@ Component that was made reactive: `,
|
|
|
12513
12532
|
return true;
|
|
12514
12533
|
}
|
|
12515
12534
|
|
|
12516
|
-
const version = "3.5.
|
|
12535
|
+
const version = "3.5.33";
|
|
12517
12536
|
const warn = warn$1 ;
|
|
12518
12537
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
12519
12538
|
const devtools = devtools$1 ;
|
|
@@ -13085,7 +13104,19 @@ Component that was made reactive: `,
|
|
|
13085
13104
|
if (key === "display") {
|
|
13086
13105
|
hasControlledDisplay = true;
|
|
13087
13106
|
}
|
|
13088
|
-
|
|
13107
|
+
const value = next[key];
|
|
13108
|
+
if (value != null) {
|
|
13109
|
+
if (!shouldPreserveTextareaResizeStyle(
|
|
13110
|
+
el,
|
|
13111
|
+
key,
|
|
13112
|
+
!isString(prev) && prev ? prev[key] : void 0,
|
|
13113
|
+
value
|
|
13114
|
+
)) {
|
|
13115
|
+
setStyle(style, key, value);
|
|
13116
|
+
}
|
|
13117
|
+
} else {
|
|
13118
|
+
setStyle(style, key, "");
|
|
13119
|
+
}
|
|
13089
13120
|
}
|
|
13090
13121
|
} else {
|
|
13091
13122
|
if (isCssString) {
|
|
@@ -13158,6 +13189,9 @@ Component that was made reactive: `,
|
|
|
13158
13189
|
}
|
|
13159
13190
|
return rawName;
|
|
13160
13191
|
}
|
|
13192
|
+
function shouldPreserveTextareaResizeStyle(el, key, prev, next) {
|
|
13193
|
+
return el.tagName === "TEXTAREA" && (key === "width" || key === "height") && isString(next) && prev === next;
|
|
13194
|
+
}
|
|
13161
13195
|
|
|
13162
13196
|
const xlinkNS = "http://www.w3.org/1999/xlink";
|
|
13163
13197
|
function patchAttr(el, key, value, isSVG, instance, isBoolean = isSpecialBooleanAttr(key)) {
|