@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
package/dist/vue.esm-bundler.js
CHANGED
|
@@ -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
|
**/
|
|
@@ -500,7 +500,18 @@ class EffectScope {
|
|
|
500
500
|
*/
|
|
501
501
|
off() {
|
|
502
502
|
if (this._on > 0 && --this._on === 0) {
|
|
503
|
-
activeEffectScope
|
|
503
|
+
if (activeEffectScope === this) {
|
|
504
|
+
activeEffectScope = this.prevScope;
|
|
505
|
+
} else {
|
|
506
|
+
let current = activeEffectScope;
|
|
507
|
+
while (current) {
|
|
508
|
+
if (current.prevScope === this) {
|
|
509
|
+
current.prevScope = this.prevScope;
|
|
510
|
+
break;
|
|
511
|
+
}
|
|
512
|
+
current = current.prevScope;
|
|
513
|
+
}
|
|
514
|
+
}
|
|
504
515
|
this.prevScope = void 0;
|
|
505
516
|
}
|
|
506
517
|
}
|
|
@@ -3748,6 +3759,7 @@ function createPathGetter(ctx, path) {
|
|
|
3748
3759
|
};
|
|
3749
3760
|
}
|
|
3750
3761
|
|
|
3762
|
+
const pendingMounts = /* @__PURE__ */ new WeakMap();
|
|
3751
3763
|
const TeleportEndKey = /* @__PURE__ */ Symbol("_vte");
|
|
3752
3764
|
const isTeleport = (type) => type.__isTeleport;
|
|
3753
3765
|
const isTeleportDisabled = (props) => props && (props.disabled || props.disabled === "");
|
|
@@ -3786,94 +3798,90 @@ const TeleportImpl = {
|
|
|
3786
3798
|
mc: mountChildren,
|
|
3787
3799
|
pc: patchChildren,
|
|
3788
3800
|
pbc: patchBlockChildren,
|
|
3789
|
-
o: { insert, querySelector, createText, createComment }
|
|
3801
|
+
o: { insert, querySelector, createText, createComment, parentNode }
|
|
3790
3802
|
} = internals;
|
|
3791
3803
|
const disabled = isTeleportDisabled(n2.props);
|
|
3792
|
-
let {
|
|
3804
|
+
let { dynamicChildren } = n2;
|
|
3793
3805
|
if (!!(process.env.NODE_ENV !== "production") && isHmrUpdating) {
|
|
3794
3806
|
optimized = false;
|
|
3795
3807
|
dynamicChildren = null;
|
|
3796
3808
|
}
|
|
3809
|
+
const mount = (vnode, container2, anchor2) => {
|
|
3810
|
+
if (vnode.shapeFlag & 16) {
|
|
3811
|
+
mountChildren(
|
|
3812
|
+
vnode.children,
|
|
3813
|
+
container2,
|
|
3814
|
+
anchor2,
|
|
3815
|
+
parentComponent,
|
|
3816
|
+
parentSuspense,
|
|
3817
|
+
namespace,
|
|
3818
|
+
slotScopeIds,
|
|
3819
|
+
optimized
|
|
3820
|
+
);
|
|
3821
|
+
}
|
|
3822
|
+
};
|
|
3823
|
+
const mountToTarget = (vnode = n2) => {
|
|
3824
|
+
const disabled2 = isTeleportDisabled(vnode.props);
|
|
3825
|
+
const target = vnode.target = resolveTarget(vnode.props, querySelector);
|
|
3826
|
+
const targetAnchor = prepareAnchor(target, vnode, createText, insert);
|
|
3827
|
+
if (target) {
|
|
3828
|
+
if (namespace !== "svg" && isTargetSVG(target)) {
|
|
3829
|
+
namespace = "svg";
|
|
3830
|
+
} else if (namespace !== "mathml" && isTargetMathML(target)) {
|
|
3831
|
+
namespace = "mathml";
|
|
3832
|
+
}
|
|
3833
|
+
if (parentComponent && parentComponent.isCE) {
|
|
3834
|
+
(parentComponent.ce._teleportTargets || (parentComponent.ce._teleportTargets = /* @__PURE__ */ new Set())).add(target);
|
|
3835
|
+
}
|
|
3836
|
+
if (!disabled2) {
|
|
3837
|
+
mount(vnode, target, targetAnchor);
|
|
3838
|
+
updateCssVars(vnode, false);
|
|
3839
|
+
}
|
|
3840
|
+
} else if (!!(process.env.NODE_ENV !== "production") && !disabled2) {
|
|
3841
|
+
warn$1("Invalid Teleport target on mount:", target, `(${typeof target})`);
|
|
3842
|
+
}
|
|
3843
|
+
};
|
|
3844
|
+
const queuePendingMount = (vnode) => {
|
|
3845
|
+
const mountJob = () => {
|
|
3846
|
+
if (pendingMounts.get(vnode) !== mountJob) return;
|
|
3847
|
+
pendingMounts.delete(vnode);
|
|
3848
|
+
if (isTeleportDisabled(vnode.props)) {
|
|
3849
|
+
const mountContainer = parentNode(vnode.el) || container;
|
|
3850
|
+
mount(vnode, mountContainer, vnode.anchor);
|
|
3851
|
+
updateCssVars(vnode, true);
|
|
3852
|
+
}
|
|
3853
|
+
mountToTarget(vnode);
|
|
3854
|
+
};
|
|
3855
|
+
pendingMounts.set(vnode, mountJob);
|
|
3856
|
+
queuePostRenderEffect(mountJob, parentSuspense);
|
|
3857
|
+
};
|
|
3797
3858
|
if (n1 == null) {
|
|
3798
3859
|
const placeholder = n2.el = !!(process.env.NODE_ENV !== "production") ? createComment("teleport start") : createText("");
|
|
3799
3860
|
const mainAnchor = n2.anchor = !!(process.env.NODE_ENV !== "production") ? createComment("teleport end") : createText("");
|
|
3800
3861
|
insert(placeholder, container, anchor);
|
|
3801
3862
|
insert(mainAnchor, container, anchor);
|
|
3802
|
-
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
container2,
|
|
3807
|
-
anchor2,
|
|
3808
|
-
parentComponent,
|
|
3809
|
-
parentSuspense,
|
|
3810
|
-
namespace,
|
|
3811
|
-
slotScopeIds,
|
|
3812
|
-
optimized
|
|
3813
|
-
);
|
|
3814
|
-
}
|
|
3815
|
-
};
|
|
3816
|
-
const mountToTarget = () => {
|
|
3817
|
-
const target = n2.target = resolveTarget(n2.props, querySelector);
|
|
3818
|
-
const targetAnchor = prepareAnchor(target, n2, createText, insert);
|
|
3819
|
-
if (target) {
|
|
3820
|
-
if (namespace !== "svg" && isTargetSVG(target)) {
|
|
3821
|
-
namespace = "svg";
|
|
3822
|
-
} else if (namespace !== "mathml" && isTargetMathML(target)) {
|
|
3823
|
-
namespace = "mathml";
|
|
3824
|
-
}
|
|
3825
|
-
if (parentComponent && parentComponent.isCE) {
|
|
3826
|
-
(parentComponent.ce._teleportTargets || (parentComponent.ce._teleportTargets = /* @__PURE__ */ new Set())).add(target);
|
|
3827
|
-
}
|
|
3828
|
-
if (!disabled) {
|
|
3829
|
-
mount(target, targetAnchor);
|
|
3830
|
-
updateCssVars(n2, false);
|
|
3831
|
-
}
|
|
3832
|
-
} else if (!!(process.env.NODE_ENV !== "production") && !disabled) {
|
|
3833
|
-
warn$1(
|
|
3834
|
-
"Invalid Teleport target on mount:",
|
|
3835
|
-
target,
|
|
3836
|
-
`(${typeof target})`
|
|
3837
|
-
);
|
|
3838
|
-
}
|
|
3839
|
-
};
|
|
3863
|
+
if (isTeleportDeferred(n2.props) || parentSuspense && parentSuspense.pendingBranch) {
|
|
3864
|
+
queuePendingMount(n2);
|
|
3865
|
+
return;
|
|
3866
|
+
}
|
|
3840
3867
|
if (disabled) {
|
|
3841
|
-
mount(container, mainAnchor);
|
|
3868
|
+
mount(n2, container, mainAnchor);
|
|
3842
3869
|
updateCssVars(n2, true);
|
|
3843
3870
|
}
|
|
3844
|
-
|
|
3845
|
-
n2.el.__isMounted = false;
|
|
3846
|
-
queuePostRenderEffect(() => {
|
|
3847
|
-
if (n2.el.__isMounted !== false) return;
|
|
3848
|
-
mountToTarget();
|
|
3849
|
-
delete n2.el.__isMounted;
|
|
3850
|
-
}, parentSuspense);
|
|
3851
|
-
} else {
|
|
3852
|
-
mountToTarget();
|
|
3853
|
-
}
|
|
3871
|
+
mountToTarget();
|
|
3854
3872
|
} else {
|
|
3855
3873
|
n2.el = n1.el;
|
|
3856
|
-
n2.targetStart = n1.targetStart;
|
|
3857
3874
|
const mainAnchor = n2.anchor = n1.anchor;
|
|
3858
|
-
const
|
|
3859
|
-
|
|
3860
|
-
|
|
3861
|
-
|
|
3862
|
-
|
|
3863
|
-
n1,
|
|
3864
|
-
n2,
|
|
3865
|
-
container,
|
|
3866
|
-
anchor,
|
|
3867
|
-
parentComponent,
|
|
3868
|
-
parentSuspense,
|
|
3869
|
-
namespace,
|
|
3870
|
-
slotScopeIds,
|
|
3871
|
-
optimized,
|
|
3872
|
-
internals
|
|
3873
|
-
);
|
|
3874
|
-
}, parentSuspense);
|
|
3875
|
+
const pendingMount = pendingMounts.get(n1);
|
|
3876
|
+
if (pendingMount) {
|
|
3877
|
+
pendingMount.flags |= 8;
|
|
3878
|
+
pendingMounts.delete(n1);
|
|
3879
|
+
queuePendingMount(n2);
|
|
3875
3880
|
return;
|
|
3876
3881
|
}
|
|
3882
|
+
n2.targetStart = n1.targetStart;
|
|
3883
|
+
const target = n2.target = n1.target;
|
|
3884
|
+
const targetAnchor = n2.targetAnchor = n1.targetAnchor;
|
|
3877
3885
|
const wasDisabled = isTeleportDisabled(n1.props);
|
|
3878
3886
|
const currentContainer = wasDisabled ? container : target;
|
|
3879
3887
|
const currentAnchor = wasDisabled ? mainAnchor : targetAnchor;
|
|
@@ -3964,13 +3972,19 @@ const TeleportImpl = {
|
|
|
3964
3972
|
target,
|
|
3965
3973
|
props
|
|
3966
3974
|
} = vnode;
|
|
3975
|
+
let shouldRemove = doRemove || !isTeleportDisabled(props);
|
|
3976
|
+
const pendingMount = pendingMounts.get(vnode);
|
|
3977
|
+
if (pendingMount) {
|
|
3978
|
+
pendingMount.flags |= 8;
|
|
3979
|
+
pendingMounts.delete(vnode);
|
|
3980
|
+
shouldRemove = false;
|
|
3981
|
+
}
|
|
3967
3982
|
if (target) {
|
|
3968
3983
|
hostRemove(targetStart);
|
|
3969
3984
|
hostRemove(targetAnchor);
|
|
3970
3985
|
}
|
|
3971
3986
|
doRemove && hostRemove(anchor);
|
|
3972
3987
|
if (shapeFlag & 16) {
|
|
3973
|
-
const shouldRemove = doRemove || !isTeleportDisabled(props);
|
|
3974
3988
|
for (let i = 0; i < children.length; i++) {
|
|
3975
3989
|
const child = children[i];
|
|
3976
3990
|
unmount(
|
|
@@ -3995,7 +4009,7 @@ function moveTeleport(vnode, container, parentAnchor, { o: { insert }, m: move }
|
|
|
3995
4009
|
if (isReorder) {
|
|
3996
4010
|
insert(el, container, parentAnchor);
|
|
3997
4011
|
}
|
|
3998
|
-
if (!isReorder || isTeleportDisabled(props)) {
|
|
4012
|
+
if (!pendingMounts.has(vnode) && (!isReorder || isTeleportDisabled(props))) {
|
|
3999
4013
|
if (shapeFlag & 16) {
|
|
4000
4014
|
for (let i = 0; i < children.length; i++) {
|
|
4001
4015
|
move(
|
|
@@ -4169,10 +4183,14 @@ const BaseTransitionImpl = {
|
|
|
4169
4183
|
const state = useTransitionState();
|
|
4170
4184
|
return () => {
|
|
4171
4185
|
const children = slots.default && getTransitionRawChildren(slots.default(), true);
|
|
4172
|
-
|
|
4186
|
+
const child = children && children.length ? findNonCommentChild(children) : (
|
|
4187
|
+
// Keep explicit default-slot conditionals on the same transition path
|
|
4188
|
+
// as regular v-if branches, which render a comment placeholder.
|
|
4189
|
+
instance.subTree ? createCommentVNode() : void 0
|
|
4190
|
+
);
|
|
4191
|
+
if (!child) {
|
|
4173
4192
|
return;
|
|
4174
4193
|
}
|
|
4175
|
-
const child = findNonCommentChild(children);
|
|
4176
4194
|
const rawProps = toRaw(props);
|
|
4177
4195
|
const { mode } = rawProps;
|
|
4178
4196
|
if (!!(process.env.NODE_ENV !== "production") && mode && mode !== "in-out" && mode !== "out-in" && mode !== "default") {
|
|
@@ -7551,7 +7569,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
|
|
|
7551
7569
|
return vm;
|
|
7552
7570
|
}
|
|
7553
7571
|
}
|
|
7554
|
-
Vue.version = `2.6.14-compat:${"3.5.
|
|
7572
|
+
Vue.version = `2.6.14-compat:${"3.5.33"}`;
|
|
7555
7573
|
Vue.config = singletonApp.config;
|
|
7556
7574
|
Vue.use = (plugin, ...options) => {
|
|
7557
7575
|
if (plugin && isFunction(plugin.install)) {
|
|
@@ -11423,6 +11441,7 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe
|
|
|
11423
11441
|
if (instance.isUnmounted || suspense.isUnmounted || suspense.pendingId !== instance.suspenseId) {
|
|
11424
11442
|
return;
|
|
11425
11443
|
}
|
|
11444
|
+
unsetCurrentInstance();
|
|
11426
11445
|
instance.asyncResolved = true;
|
|
11427
11446
|
const { vnode: vnode2 } = instance;
|
|
11428
11447
|
if (!!(process.env.NODE_ENV !== "production")) {
|
|
@@ -12720,7 +12739,7 @@ function isMemoSame(cached, memo) {
|
|
|
12720
12739
|
return true;
|
|
12721
12740
|
}
|
|
12722
12741
|
|
|
12723
|
-
const version = "3.5.
|
|
12742
|
+
const version = "3.5.33";
|
|
12724
12743
|
const warn = !!(process.env.NODE_ENV !== "production") ? warn$1 : NOOP;
|
|
12725
12744
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
12726
12745
|
const devtools = !!(process.env.NODE_ENV !== "production") || true ? devtools$1 : void 0;
|
|
@@ -13311,7 +13330,19 @@ function patchStyle(el, prev, next) {
|
|
|
13311
13330
|
if (key === "display") {
|
|
13312
13331
|
hasControlledDisplay = true;
|
|
13313
13332
|
}
|
|
13314
|
-
|
|
13333
|
+
const value = next[key];
|
|
13334
|
+
if (value != null) {
|
|
13335
|
+
if (!shouldPreserveTextareaResizeStyle(
|
|
13336
|
+
el,
|
|
13337
|
+
key,
|
|
13338
|
+
!isString(prev) && prev ? prev[key] : void 0,
|
|
13339
|
+
value
|
|
13340
|
+
)) {
|
|
13341
|
+
setStyle(style, key, value);
|
|
13342
|
+
}
|
|
13343
|
+
} else {
|
|
13344
|
+
setStyle(style, key, "");
|
|
13345
|
+
}
|
|
13315
13346
|
}
|
|
13316
13347
|
} else {
|
|
13317
13348
|
if (isCssString) {
|
|
@@ -13384,6 +13415,9 @@ function autoPrefix(style, rawName) {
|
|
|
13384
13415
|
}
|
|
13385
13416
|
return rawName;
|
|
13386
13417
|
}
|
|
13418
|
+
function shouldPreserveTextareaResizeStyle(el, key, prev, next) {
|
|
13419
|
+
return el.tagName === "TEXTAREA" && (key === "width" || key === "height") && isString(next) && prev === next;
|
|
13420
|
+
}
|
|
13387
13421
|
|
|
13388
13422
|
const xlinkNS = "http://www.w3.org/1999/xlink";
|
|
13389
13423
|
function patchAttr(el, key, value, isSVG, instance, isBoolean = isSpecialBooleanAttr(key)) {
|
package/dist/vue.global.js
CHANGED
|
@@ -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
|
**/
|
|
@@ -503,7 +503,18 @@ var Vue = (function () {
|
|
|
503
503
|
*/
|
|
504
504
|
off() {
|
|
505
505
|
if (this._on > 0 && --this._on === 0) {
|
|
506
|
-
activeEffectScope
|
|
506
|
+
if (activeEffectScope === this) {
|
|
507
|
+
activeEffectScope = this.prevScope;
|
|
508
|
+
} else {
|
|
509
|
+
let current = activeEffectScope;
|
|
510
|
+
while (current) {
|
|
511
|
+
if (current.prevScope === this) {
|
|
512
|
+
current.prevScope = this.prevScope;
|
|
513
|
+
break;
|
|
514
|
+
}
|
|
515
|
+
current = current.prevScope;
|
|
516
|
+
}
|
|
517
|
+
}
|
|
507
518
|
this.prevScope = void 0;
|
|
508
519
|
}
|
|
509
520
|
}
|
|
@@ -3705,6 +3716,7 @@ Details: https://v3-migration.vuejs.org/breaking-changes/migration-build.html`
|
|
|
3705
3716
|
};
|
|
3706
3717
|
}
|
|
3707
3718
|
|
|
3719
|
+
const pendingMounts = /* @__PURE__ */ new WeakMap();
|
|
3708
3720
|
const TeleportEndKey = /* @__PURE__ */ Symbol("_vte");
|
|
3709
3721
|
const isTeleport = (type) => type.__isTeleport;
|
|
3710
3722
|
const isTeleportDisabled = (props) => props && (props.disabled || props.disabled === "");
|
|
@@ -3743,94 +3755,90 @@ Details: https://v3-migration.vuejs.org/breaking-changes/migration-build.html`
|
|
|
3743
3755
|
mc: mountChildren,
|
|
3744
3756
|
pc: patchChildren,
|
|
3745
3757
|
pbc: patchBlockChildren,
|
|
3746
|
-
o: { insert, querySelector, createText, createComment }
|
|
3758
|
+
o: { insert, querySelector, createText, createComment, parentNode }
|
|
3747
3759
|
} = internals;
|
|
3748
3760
|
const disabled = isTeleportDisabled(n2.props);
|
|
3749
|
-
let {
|
|
3761
|
+
let { dynamicChildren } = n2;
|
|
3750
3762
|
if (isHmrUpdating) {
|
|
3751
3763
|
optimized = false;
|
|
3752
3764
|
dynamicChildren = null;
|
|
3753
3765
|
}
|
|
3766
|
+
const mount = (vnode, container2, anchor2) => {
|
|
3767
|
+
if (vnode.shapeFlag & 16) {
|
|
3768
|
+
mountChildren(
|
|
3769
|
+
vnode.children,
|
|
3770
|
+
container2,
|
|
3771
|
+
anchor2,
|
|
3772
|
+
parentComponent,
|
|
3773
|
+
parentSuspense,
|
|
3774
|
+
namespace,
|
|
3775
|
+
slotScopeIds,
|
|
3776
|
+
optimized
|
|
3777
|
+
);
|
|
3778
|
+
}
|
|
3779
|
+
};
|
|
3780
|
+
const mountToTarget = (vnode = n2) => {
|
|
3781
|
+
const disabled2 = isTeleportDisabled(vnode.props);
|
|
3782
|
+
const target = vnode.target = resolveTarget(vnode.props, querySelector);
|
|
3783
|
+
const targetAnchor = prepareAnchor(target, vnode, createText, insert);
|
|
3784
|
+
if (target) {
|
|
3785
|
+
if (namespace !== "svg" && isTargetSVG(target)) {
|
|
3786
|
+
namespace = "svg";
|
|
3787
|
+
} else if (namespace !== "mathml" && isTargetMathML(target)) {
|
|
3788
|
+
namespace = "mathml";
|
|
3789
|
+
}
|
|
3790
|
+
if (parentComponent && parentComponent.isCE) {
|
|
3791
|
+
(parentComponent.ce._teleportTargets || (parentComponent.ce._teleportTargets = /* @__PURE__ */ new Set())).add(target);
|
|
3792
|
+
}
|
|
3793
|
+
if (!disabled2) {
|
|
3794
|
+
mount(vnode, target, targetAnchor);
|
|
3795
|
+
updateCssVars(vnode, false);
|
|
3796
|
+
}
|
|
3797
|
+
} else if (!disabled2) {
|
|
3798
|
+
warn$1("Invalid Teleport target on mount:", target, `(${typeof target})`);
|
|
3799
|
+
}
|
|
3800
|
+
};
|
|
3801
|
+
const queuePendingMount = (vnode) => {
|
|
3802
|
+
const mountJob = () => {
|
|
3803
|
+
if (pendingMounts.get(vnode) !== mountJob) return;
|
|
3804
|
+
pendingMounts.delete(vnode);
|
|
3805
|
+
if (isTeleportDisabled(vnode.props)) {
|
|
3806
|
+
const mountContainer = parentNode(vnode.el) || container;
|
|
3807
|
+
mount(vnode, mountContainer, vnode.anchor);
|
|
3808
|
+
updateCssVars(vnode, true);
|
|
3809
|
+
}
|
|
3810
|
+
mountToTarget(vnode);
|
|
3811
|
+
};
|
|
3812
|
+
pendingMounts.set(vnode, mountJob);
|
|
3813
|
+
queuePostRenderEffect(mountJob, parentSuspense);
|
|
3814
|
+
};
|
|
3754
3815
|
if (n1 == null) {
|
|
3755
3816
|
const placeholder = n2.el = createComment("teleport start") ;
|
|
3756
3817
|
const mainAnchor = n2.anchor = createComment("teleport end") ;
|
|
3757
3818
|
insert(placeholder, container, anchor);
|
|
3758
3819
|
insert(mainAnchor, container, anchor);
|
|
3759
|
-
|
|
3760
|
-
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
container2,
|
|
3764
|
-
anchor2,
|
|
3765
|
-
parentComponent,
|
|
3766
|
-
parentSuspense,
|
|
3767
|
-
namespace,
|
|
3768
|
-
slotScopeIds,
|
|
3769
|
-
optimized
|
|
3770
|
-
);
|
|
3771
|
-
}
|
|
3772
|
-
};
|
|
3773
|
-
const mountToTarget = () => {
|
|
3774
|
-
const target = n2.target = resolveTarget(n2.props, querySelector);
|
|
3775
|
-
const targetAnchor = prepareAnchor(target, n2, createText, insert);
|
|
3776
|
-
if (target) {
|
|
3777
|
-
if (namespace !== "svg" && isTargetSVG(target)) {
|
|
3778
|
-
namespace = "svg";
|
|
3779
|
-
} else if (namespace !== "mathml" && isTargetMathML(target)) {
|
|
3780
|
-
namespace = "mathml";
|
|
3781
|
-
}
|
|
3782
|
-
if (parentComponent && parentComponent.isCE) {
|
|
3783
|
-
(parentComponent.ce._teleportTargets || (parentComponent.ce._teleportTargets = /* @__PURE__ */ new Set())).add(target);
|
|
3784
|
-
}
|
|
3785
|
-
if (!disabled) {
|
|
3786
|
-
mount(target, targetAnchor);
|
|
3787
|
-
updateCssVars(n2, false);
|
|
3788
|
-
}
|
|
3789
|
-
} else if (!disabled) {
|
|
3790
|
-
warn$1(
|
|
3791
|
-
"Invalid Teleport target on mount:",
|
|
3792
|
-
target,
|
|
3793
|
-
`(${typeof target})`
|
|
3794
|
-
);
|
|
3795
|
-
}
|
|
3796
|
-
};
|
|
3820
|
+
if (isTeleportDeferred(n2.props) || parentSuspense && parentSuspense.pendingBranch) {
|
|
3821
|
+
queuePendingMount(n2);
|
|
3822
|
+
return;
|
|
3823
|
+
}
|
|
3797
3824
|
if (disabled) {
|
|
3798
|
-
mount(container, mainAnchor);
|
|
3825
|
+
mount(n2, container, mainAnchor);
|
|
3799
3826
|
updateCssVars(n2, true);
|
|
3800
3827
|
}
|
|
3801
|
-
|
|
3802
|
-
n2.el.__isMounted = false;
|
|
3803
|
-
queuePostRenderEffect(() => {
|
|
3804
|
-
if (n2.el.__isMounted !== false) return;
|
|
3805
|
-
mountToTarget();
|
|
3806
|
-
delete n2.el.__isMounted;
|
|
3807
|
-
}, parentSuspense);
|
|
3808
|
-
} else {
|
|
3809
|
-
mountToTarget();
|
|
3810
|
-
}
|
|
3828
|
+
mountToTarget();
|
|
3811
3829
|
} else {
|
|
3812
3830
|
n2.el = n1.el;
|
|
3813
|
-
n2.targetStart = n1.targetStart;
|
|
3814
3831
|
const mainAnchor = n2.anchor = n1.anchor;
|
|
3815
|
-
const
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
n1,
|
|
3821
|
-
n2,
|
|
3822
|
-
container,
|
|
3823
|
-
anchor,
|
|
3824
|
-
parentComponent,
|
|
3825
|
-
parentSuspense,
|
|
3826
|
-
namespace,
|
|
3827
|
-
slotScopeIds,
|
|
3828
|
-
optimized,
|
|
3829
|
-
internals
|
|
3830
|
-
);
|
|
3831
|
-
}, parentSuspense);
|
|
3832
|
+
const pendingMount = pendingMounts.get(n1);
|
|
3833
|
+
if (pendingMount) {
|
|
3834
|
+
pendingMount.flags |= 8;
|
|
3835
|
+
pendingMounts.delete(n1);
|
|
3836
|
+
queuePendingMount(n2);
|
|
3832
3837
|
return;
|
|
3833
3838
|
}
|
|
3839
|
+
n2.targetStart = n1.targetStart;
|
|
3840
|
+
const target = n2.target = n1.target;
|
|
3841
|
+
const targetAnchor = n2.targetAnchor = n1.targetAnchor;
|
|
3834
3842
|
const wasDisabled = isTeleportDisabled(n1.props);
|
|
3835
3843
|
const currentContainer = wasDisabled ? container : target;
|
|
3836
3844
|
const currentAnchor = wasDisabled ? mainAnchor : targetAnchor;
|
|
@@ -3921,13 +3929,19 @@ Details: https://v3-migration.vuejs.org/breaking-changes/migration-build.html`
|
|
|
3921
3929
|
target,
|
|
3922
3930
|
props
|
|
3923
3931
|
} = vnode;
|
|
3932
|
+
let shouldRemove = doRemove || !isTeleportDisabled(props);
|
|
3933
|
+
const pendingMount = pendingMounts.get(vnode);
|
|
3934
|
+
if (pendingMount) {
|
|
3935
|
+
pendingMount.flags |= 8;
|
|
3936
|
+
pendingMounts.delete(vnode);
|
|
3937
|
+
shouldRemove = false;
|
|
3938
|
+
}
|
|
3924
3939
|
if (target) {
|
|
3925
3940
|
hostRemove(targetStart);
|
|
3926
3941
|
hostRemove(targetAnchor);
|
|
3927
3942
|
}
|
|
3928
3943
|
doRemove && hostRemove(anchor);
|
|
3929
3944
|
if (shapeFlag & 16) {
|
|
3930
|
-
const shouldRemove = doRemove || !isTeleportDisabled(props);
|
|
3931
3945
|
for (let i = 0; i < children.length; i++) {
|
|
3932
3946
|
const child = children[i];
|
|
3933
3947
|
unmount(
|
|
@@ -3952,7 +3966,7 @@ Details: https://v3-migration.vuejs.org/breaking-changes/migration-build.html`
|
|
|
3952
3966
|
if (isReorder) {
|
|
3953
3967
|
insert(el, container, parentAnchor);
|
|
3954
3968
|
}
|
|
3955
|
-
if (!isReorder || isTeleportDisabled(props)) {
|
|
3969
|
+
if (!pendingMounts.has(vnode) && (!isReorder || isTeleportDisabled(props))) {
|
|
3956
3970
|
if (shapeFlag & 16) {
|
|
3957
3971
|
for (let i = 0; i < children.length; i++) {
|
|
3958
3972
|
move(
|
|
@@ -4126,10 +4140,14 @@ Details: https://v3-migration.vuejs.org/breaking-changes/migration-build.html`
|
|
|
4126
4140
|
const state = useTransitionState();
|
|
4127
4141
|
return () => {
|
|
4128
4142
|
const children = slots.default && getTransitionRawChildren(slots.default(), true);
|
|
4129
|
-
|
|
4143
|
+
const child = children && children.length ? findNonCommentChild(children) : (
|
|
4144
|
+
// Keep explicit default-slot conditionals on the same transition path
|
|
4145
|
+
// as regular v-if branches, which render a comment placeholder.
|
|
4146
|
+
instance.subTree ? createCommentVNode() : void 0
|
|
4147
|
+
);
|
|
4148
|
+
if (!child) {
|
|
4130
4149
|
return;
|
|
4131
4150
|
}
|
|
4132
|
-
const child = findNonCommentChild(children);
|
|
4133
4151
|
const rawProps = toRaw(props);
|
|
4134
4152
|
const { mode } = rawProps;
|
|
4135
4153
|
if (mode && mode !== "in-out" && mode !== "out-in" && mode !== "default") {
|
|
@@ -7485,7 +7503,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
7485
7503
|
return vm;
|
|
7486
7504
|
}
|
|
7487
7505
|
}
|
|
7488
|
-
Vue.version = `2.6.14-compat:${"3.5.
|
|
7506
|
+
Vue.version = `2.6.14-compat:${"3.5.33"}`;
|
|
7489
7507
|
Vue.config = singletonApp.config;
|
|
7490
7508
|
Vue.use = (plugin, ...options) => {
|
|
7491
7509
|
if (plugin && isFunction(plugin.install)) {
|
|
@@ -11317,6 +11335,7 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
11317
11335
|
if (instance.isUnmounted || suspense.isUnmounted || suspense.pendingId !== instance.suspenseId) {
|
|
11318
11336
|
return;
|
|
11319
11337
|
}
|
|
11338
|
+
unsetCurrentInstance();
|
|
11320
11339
|
instance.asyncResolved = true;
|
|
11321
11340
|
const { vnode: vnode2 } = instance;
|
|
11322
11341
|
{
|
|
@@ -12586,7 +12605,7 @@ Component that was made reactive: `,
|
|
|
12586
12605
|
return true;
|
|
12587
12606
|
}
|
|
12588
12607
|
|
|
12589
|
-
const version = "3.5.
|
|
12608
|
+
const version = "3.5.33";
|
|
12590
12609
|
const warn = warn$1 ;
|
|
12591
12610
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
12592
12611
|
const devtools = devtools$1 ;
|
|
@@ -13158,7 +13177,19 @@ Component that was made reactive: `,
|
|
|
13158
13177
|
if (key === "display") {
|
|
13159
13178
|
hasControlledDisplay = true;
|
|
13160
13179
|
}
|
|
13161
|
-
|
|
13180
|
+
const value = next[key];
|
|
13181
|
+
if (value != null) {
|
|
13182
|
+
if (!shouldPreserveTextareaResizeStyle(
|
|
13183
|
+
el,
|
|
13184
|
+
key,
|
|
13185
|
+
!isString(prev) && prev ? prev[key] : void 0,
|
|
13186
|
+
value
|
|
13187
|
+
)) {
|
|
13188
|
+
setStyle(style, key, value);
|
|
13189
|
+
}
|
|
13190
|
+
} else {
|
|
13191
|
+
setStyle(style, key, "");
|
|
13192
|
+
}
|
|
13162
13193
|
}
|
|
13163
13194
|
} else {
|
|
13164
13195
|
if (isCssString) {
|
|
@@ -13231,6 +13262,9 @@ Component that was made reactive: `,
|
|
|
13231
13262
|
}
|
|
13232
13263
|
return rawName;
|
|
13233
13264
|
}
|
|
13265
|
+
function shouldPreserveTextareaResizeStyle(el, key, prev, next) {
|
|
13266
|
+
return el.tagName === "TEXTAREA" && (key === "width" || key === "height") && isString(next) && prev === next;
|
|
13267
|
+
}
|
|
13234
13268
|
|
|
13235
13269
|
const xlinkNS = "http://www.w3.org/1999/xlink";
|
|
13236
13270
|
function patchAttr(el, key, value, isSVG, instance, isBoolean = isSpecialBooleanAttr(key)) {
|