@vtj/pro 0.18.27 → 0.19.0
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/@vtj/materials/assets/antdv/index.umd.js +2 -2
- package/dist/@vtj/materials/assets/charts/index.umd.js +2 -2
- package/dist/@vtj/materials/assets/element/index.umd.js +2 -2
- package/dist/@vtj/materials/assets/icons/index.umd.js +2 -2
- package/dist/@vtj/materials/assets/ui/index.umd.js +2 -2
- package/dist/@vtj/materials/assets/uni-h5/index.umd.js +2 -2
- package/dist/@vtj/materials/assets/uni-ui/index.umd.js +2 -2
- package/dist/@vtj/materials/assets/vant/index.umd.js +2 -2
- package/dist/@vtj/materials/deps/@vtj/charts/index.umd.js +2 -2
- package/dist/@vtj/materials/deps/@vtj/icons/index.umd.js +2 -2
- package/dist/@vtj/materials/deps/@vtj/ui/index.umd.js +3 -3
- package/dist/@vtj/materials/deps/@vtj/utils/index.umd.js +2 -2
- package/dist/@vtj/materials/deps/uni-ui/index.umd.js +1 -1
- package/dist/@vtj/materials/deps/vue/vue.global.js +253 -83
- package/dist/@vtj/materials/deps/vue/vue.global.prod.js +10 -9
- package/dist/assets/{@element-plus-icons-vue-DA02k83P.js → @element-plus-icons-vue-CMB1ifep.js} +1 -1
- package/dist/assets/{@vueuse-SvwMwBjL.js → @vueuse-Jk9KQurp.js} +1 -1
- package/dist/assets/Editor-aD1U5H8b-CEjzzkkb.js +506 -0
- package/dist/assets/{Editor-BGOUCiNb-Bf2AOMId.css → Editor-aD1U5H8b-DSohPn64.css} +1 -1
- package/dist/assets/auth-Cidhsi4R.js +1 -0
- package/dist/assets/{element-plus-_gYoEp33.js → element-plus-BnQSNCX2.js} +3 -3
- package/dist/assets/{index-CTBdQTnI.js → index-CFYs7okg.js} +2 -2
- package/dist/assets/index-CToMDdzv.js +1 -0
- package/dist/assets/{mockjs-Cu-wxkKz.js → mockjs-BUsIuI1U.js} +3 -3
- package/dist/assets/page-CWdKRmEe.js +2 -0
- package/dist/assets/preview-BwEKr5zo.js +2 -0
- package/dist/assets/shared-P7kalaod.js +25 -0
- package/dist/assets/{uni-page--udw_bNq.js → uni-page-551_wqCE.js} +1 -1
- package/dist/assets/utils-Br5c6Ygo.js +1 -0
- package/dist/assets/{vue-router-CDqTjrgM.js → vue-router-Drd5teeV.js} +1 -1
- package/dist/assets/vue-wWzmtsAU.js +36 -0
- package/dist/assets/{vxe-BulginLS.js → vxe-Hv0pYDff.js} +2 -2
- package/dist/index.html +9 -9
- package/dist/uni/assets/{@dcloudio-uni-h5-vue-BSNRkEM_.js → @dcloudio-uni-h5-vue-ZHZeNOoM.js} +1 -1
- package/dist/uni/assets/index-BynleqLJ.js +98 -0
- package/dist/uni/assets/{vue-router-DFsWHEOo.js → vue-router-cjYR4veV.js} +1 -1
- package/dist/uni/index.html +3 -3
- package/package.json +12 -12
- package/dist/assets/Editor-BGOUCiNb-B7CQmaQI.js +0 -437
- package/dist/assets/auth-B2gJ70GV.js +0 -1
- package/dist/assets/index-CWGmo9Bv.js +0 -1
- package/dist/assets/page-ZlzG_syD.js +0 -2
- package/dist/assets/preview-d_ol5nZ_.js +0 -2
- package/dist/assets/shared-Bc0G8KpM.js +0 -25
- package/dist/assets/utils-BabHMUuv.js +0 -1
- package/dist/assets/vue-fMktb-5o.js +0 -35
- package/dist/uni/assets/index-BiPe-Mf9.js +0 -89
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* vue v3.5.
|
|
2
|
+
* vue v3.5.41
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -270,7 +270,7 @@ var Vue = (function (exports) {
|
|
|
270
270
|
const specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`;
|
|
271
271
|
const isSpecialBooleanAttr = /* @__PURE__ */ makeMap(specialBooleanAttrs);
|
|
272
272
|
const isBooleanAttr = /* @__PURE__ */ makeMap(
|
|
273
|
-
specialBooleanAttrs + `,async,autofocus,autoplay,controls,default,defer,disabled,
|
|
273
|
+
specialBooleanAttrs + `,async,autofocus,autoplay,controls,default,defer,disabled,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected`
|
|
274
274
|
);
|
|
275
275
|
function includeBooleanAttr(value) {
|
|
276
276
|
return !!value || value === "";
|
|
@@ -452,8 +452,9 @@ var Vue = (function (exports) {
|
|
|
452
452
|
this._isPaused = true;
|
|
453
453
|
let i, l;
|
|
454
454
|
if (this.scopes) {
|
|
455
|
-
|
|
456
|
-
|
|
455
|
+
const scopes = this.scopes.slice();
|
|
456
|
+
for (i = 0, l = scopes.length; i < l; i++) {
|
|
457
|
+
scopes[i].pause();
|
|
457
458
|
}
|
|
458
459
|
}
|
|
459
460
|
for (i = 0, l = this.effects.length; i < l; i++) {
|
|
@@ -470,12 +471,14 @@ var Vue = (function (exports) {
|
|
|
470
471
|
this._isPaused = false;
|
|
471
472
|
let i, l;
|
|
472
473
|
if (this.scopes) {
|
|
473
|
-
|
|
474
|
-
|
|
474
|
+
const scopes = this.scopes.slice();
|
|
475
|
+
for (i = 0, l = scopes.length; i < l; i++) {
|
|
476
|
+
scopes[i].resume();
|
|
475
477
|
}
|
|
476
478
|
}
|
|
477
|
-
|
|
478
|
-
|
|
479
|
+
const effects = this.effects.slice();
|
|
480
|
+
for (i = 0, l = effects.length; i < l; i++) {
|
|
481
|
+
effects[i].resume();
|
|
479
482
|
}
|
|
480
483
|
}
|
|
481
484
|
}
|
|
@@ -537,8 +540,9 @@ var Vue = (function (exports) {
|
|
|
537
540
|
}
|
|
538
541
|
this.cleanups.length = 0;
|
|
539
542
|
if (this.scopes) {
|
|
540
|
-
|
|
541
|
-
|
|
543
|
+
const scopes = this.scopes.slice();
|
|
544
|
+
for (i = 0, l = scopes.length; i < l; i++) {
|
|
545
|
+
scopes[i].stop(true);
|
|
542
546
|
}
|
|
543
547
|
this.scopes.length = 0;
|
|
544
548
|
}
|
|
@@ -1447,7 +1451,7 @@ var Vue = (function (exports) {
|
|
|
1447
1451
|
value,
|
|
1448
1452
|
isRef(target) ? target : receiver
|
|
1449
1453
|
);
|
|
1450
|
-
if (target === toRaw(receiver)) {
|
|
1454
|
+
if (target === toRaw(receiver) && result) {
|
|
1451
1455
|
if (!hadKey) {
|
|
1452
1456
|
trigger(target, "add", key, value);
|
|
1453
1457
|
} else if (hasChanged(value, oldValue)) {
|
|
@@ -2669,7 +2673,9 @@ var Vue = (function (exports) {
|
|
|
2669
2673
|
cb.flags |= 1;
|
|
2670
2674
|
}
|
|
2671
2675
|
} else {
|
|
2672
|
-
|
|
2676
|
+
for (let i = 0; i < cb.length; i++) {
|
|
2677
|
+
pendingPostFlushCbs.push(cb[i]);
|
|
2678
|
+
}
|
|
2673
2679
|
}
|
|
2674
2680
|
queueFlush();
|
|
2675
2681
|
}
|
|
@@ -2705,7 +2711,9 @@ var Vue = (function (exports) {
|
|
|
2705
2711
|
);
|
|
2706
2712
|
pendingPostFlushCbs.length = 0;
|
|
2707
2713
|
if (activePostFlushCbs) {
|
|
2708
|
-
|
|
2714
|
+
for (let i = 0; i < deduped.length; i++) {
|
|
2715
|
+
activePostFlushCbs.push(deduped[i]);
|
|
2716
|
+
}
|
|
2709
2717
|
return;
|
|
2710
2718
|
}
|
|
2711
2719
|
activePostFlushCbs = deduped;
|
|
@@ -3035,10 +3043,12 @@ var Vue = (function (exports) {
|
|
|
3035
3043
|
setBlockTracking(-1);
|
|
3036
3044
|
}
|
|
3037
3045
|
const prevInstance = setCurrentRenderingInstance(ctx);
|
|
3046
|
+
const prevStackSize = blockStack.length;
|
|
3038
3047
|
let res;
|
|
3039
3048
|
try {
|
|
3040
3049
|
res = fn(...args);
|
|
3041
3050
|
} finally {
|
|
3051
|
+
for (let i = blockStack.length; i > prevStackSize; i--) closeBlock();
|
|
3042
3052
|
setCurrentRenderingInstance(prevInstance);
|
|
3043
3053
|
if (renderFnWithContext._d) {
|
|
3044
3054
|
setBlockTracking(1);
|
|
@@ -3429,11 +3439,9 @@ var Vue = (function (exports) {
|
|
|
3429
3439
|
}
|
|
3430
3440
|
} else {
|
|
3431
3441
|
if ((n2.props && n2.props.to) !== (n1.props && n1.props.to)) {
|
|
3432
|
-
const nextTarget = n2.
|
|
3433
|
-
n2.props,
|
|
3434
|
-
querySelector
|
|
3435
|
-
);
|
|
3442
|
+
const nextTarget = resolveTarget(n2.props, querySelector);
|
|
3436
3443
|
if (nextTarget) {
|
|
3444
|
+
n2.target = nextTarget;
|
|
3437
3445
|
moveTeleport(
|
|
3438
3446
|
n2,
|
|
3439
3447
|
nextTarget,
|
|
@@ -3471,7 +3479,8 @@ var Vue = (function (exports) {
|
|
|
3471
3479
|
target,
|
|
3472
3480
|
props
|
|
3473
3481
|
} = vnode;
|
|
3474
|
-
const
|
|
3482
|
+
const disabled = isTeleportDisabled(props);
|
|
3483
|
+
const shouldRemove = doRemove || !disabled;
|
|
3475
3484
|
const pendingMount = pendingMounts.get(vnode);
|
|
3476
3485
|
if (pendingMount) {
|
|
3477
3486
|
pendingMount.flags |= 8;
|
|
@@ -3482,7 +3491,7 @@ var Vue = (function (exports) {
|
|
|
3482
3491
|
hostRemove(targetAnchor);
|
|
3483
3492
|
}
|
|
3484
3493
|
doRemove && hostRemove(anchor);
|
|
3485
|
-
if (!pendingMount && shapeFlag & 16) {
|
|
3494
|
+
if (!pendingMount && (disabled || target) && shapeFlag & 16) {
|
|
3486
3495
|
for (let i = 0; i < children.length; i++) {
|
|
3487
3496
|
const child = children[i];
|
|
3488
3497
|
unmount(
|
|
@@ -3965,7 +3974,11 @@ var Vue = (function (exports) {
|
|
|
3965
3974
|
function setTransitionHooks(vnode, hooks) {
|
|
3966
3975
|
if (vnode.shapeFlag & 6 && vnode.component) {
|
|
3967
3976
|
vnode.transition = hooks;
|
|
3968
|
-
|
|
3977
|
+
const subTree = vnode.component.subTree;
|
|
3978
|
+
setTransitionHooks(
|
|
3979
|
+
isTeleport(subTree.type) ? getInnerChild$1(subTree) || subTree : subTree,
|
|
3980
|
+
hooks
|
|
3981
|
+
);
|
|
3969
3982
|
} else if (vnode.shapeFlag & 128) {
|
|
3970
3983
|
vnode.ssContent.transition = hooks.clone(vnode.ssContent);
|
|
3971
3984
|
vnode.ssFallback.transition = hooks.clone(vnode.ssFallback);
|
|
@@ -4417,7 +4430,15 @@ var Vue = (function (exports) {
|
|
|
4417
4430
|
};
|
|
4418
4431
|
const hydrateElement = (el, vnode, parentComponent, parentSuspense, slotScopeIds, optimized) => {
|
|
4419
4432
|
optimized = optimized || !!vnode.dynamicChildren;
|
|
4420
|
-
const {
|
|
4433
|
+
const {
|
|
4434
|
+
type,
|
|
4435
|
+
dynamicProps,
|
|
4436
|
+
props,
|
|
4437
|
+
patchFlag,
|
|
4438
|
+
shapeFlag,
|
|
4439
|
+
dirs,
|
|
4440
|
+
transition
|
|
4441
|
+
} = vnode;
|
|
4421
4442
|
const forcePatch = type === "input" || type === "option";
|
|
4422
4443
|
{
|
|
4423
4444
|
if (dirs) {
|
|
@@ -4488,6 +4509,7 @@ Server rendered element contains more child nodes than client vdom.`
|
|
|
4488
4509
|
if (props) {
|
|
4489
4510
|
{
|
|
4490
4511
|
const isCustomElement = el.tagName.includes("-");
|
|
4512
|
+
const namespace = el.namespaceURI.includes("svg") ? "svg" : el.namespaceURI.includes("MathML") ? "mathml" : void 0;
|
|
4491
4513
|
for (const key in props) {
|
|
4492
4514
|
if (// #11189 skip if this node has directives that have created hooks
|
|
4493
4515
|
// as it could have mutated the DOM in any possible way
|
|
@@ -4495,8 +4517,11 @@ Server rendered element contains more child nodes than client vdom.`
|
|
|
4495
4517
|
logMismatchError();
|
|
4496
4518
|
}
|
|
4497
4519
|
if (forcePatch && (key.endsWith("value") || key === "indeterminate") || isOn(key) && !isReservedProp(key) || // force hydrate v-bind with .prop modifiers
|
|
4498
|
-
key[0] === "." || isCustomElement && !isReservedProp(key)) {
|
|
4499
|
-
|
|
4520
|
+
key[0] === "." || isCustomElement && !isReservedProp(key) || dynamicProps && dynamicProps.includes(key)) {
|
|
4521
|
+
if (isUnchangedResourceProp(el, key, props[key])) {
|
|
4522
|
+
continue;
|
|
4523
|
+
}
|
|
4524
|
+
patchProp(el, key, null, props[key], namespace, parentComponent);
|
|
4500
4525
|
}
|
|
4501
4526
|
}
|
|
4502
4527
|
}
|
|
@@ -4600,7 +4625,7 @@ Server rendered element contains fewer child nodes than client vdom.`
|
|
|
4600
4625
|
}
|
|
4601
4626
|
};
|
|
4602
4627
|
const handleMismatch = (node, vnode, parentComponent, parentSuspense, slotScopeIds, isFragment) => {
|
|
4603
|
-
if (!
|
|
4628
|
+
if (!isNodeMismatchAllowed(node, vnode)) {
|
|
4604
4629
|
warn$1(
|
|
4605
4630
|
`Hydration node mismatch:
|
|
4606
4631
|
- rendered on server:`,
|
|
@@ -4678,6 +4703,13 @@ Server rendered element contains fewer child nodes than client vdom.`
|
|
|
4678
4703
|
};
|
|
4679
4704
|
return [hydrate, hydrateNode];
|
|
4680
4705
|
}
|
|
4706
|
+
const resourceProps = /* @__PURE__ */ new Set(["src", "srcset", "href", "poster"]);
|
|
4707
|
+
function isUnchangedResourceProp(el, key, clientValue) {
|
|
4708
|
+
if (!resourceProps.has(key)) {
|
|
4709
|
+
return false;
|
|
4710
|
+
}
|
|
4711
|
+
return el.getAttribute(key) === (clientValue == null ? null : `${clientValue}`);
|
|
4712
|
+
}
|
|
4681
4713
|
function propHasMismatch(el, key, clientValue, vnode, instance) {
|
|
4682
4714
|
let mismatchType;
|
|
4683
4715
|
let mismatchKey;
|
|
@@ -4715,7 +4747,10 @@ Server rendered element contains fewer child nodes than client vdom.`
|
|
|
4715
4747
|
mismatchKey = "style";
|
|
4716
4748
|
}
|
|
4717
4749
|
} else if (el instanceof SVGElement && isKnownSvgAttr(key) || el instanceof HTMLElement && (isBooleanAttr(key) || isKnownHtmlAttr(key))) {
|
|
4718
|
-
if (
|
|
4750
|
+
if (key === "hidden") {
|
|
4751
|
+
actual = normalizeHiddenValue(el.getAttribute(key));
|
|
4752
|
+
expected = normalizeHiddenValue(clientValue);
|
|
4753
|
+
} else if (isBooleanAttr(key)) {
|
|
4719
4754
|
actual = el.hasAttribute(key);
|
|
4720
4755
|
expected = includeBooleanAttr(clientValue);
|
|
4721
4756
|
} else if (clientValue == null) {
|
|
@@ -4751,6 +4786,15 @@ Server rendered element contains fewer child nodes than client vdom.`
|
|
|
4751
4786
|
}
|
|
4752
4787
|
return false;
|
|
4753
4788
|
}
|
|
4789
|
+
function normalizeHiddenValue(value) {
|
|
4790
|
+
if (!isRenderableAttrValue(value)) {
|
|
4791
|
+
return false;
|
|
4792
|
+
}
|
|
4793
|
+
if (isString(value)) {
|
|
4794
|
+
return value.toLowerCase() === "until-found" ? "until-found" : "";
|
|
4795
|
+
}
|
|
4796
|
+
return includeBooleanAttr(value) ? "" : false;
|
|
4797
|
+
}
|
|
4754
4798
|
function toClassSet(str) {
|
|
4755
4799
|
return new Set(str.trim().split(/\s+/));
|
|
4756
4800
|
}
|
|
@@ -4815,7 +4859,12 @@ Server rendered element contains fewer child nodes than client vdom.`
|
|
|
4815
4859
|
el = el.parentElement;
|
|
4816
4860
|
}
|
|
4817
4861
|
}
|
|
4818
|
-
|
|
4862
|
+
return isMismatchAllowedByAttr(
|
|
4863
|
+
el && el.getAttribute(allowMismatchAttr),
|
|
4864
|
+
allowedType
|
|
4865
|
+
);
|
|
4866
|
+
}
|
|
4867
|
+
function isMismatchAllowedByAttr(allowedAttr, allowedType) {
|
|
4819
4868
|
if (allowedAttr == null) {
|
|
4820
4869
|
return false;
|
|
4821
4870
|
} else if (allowedAttr === "") {
|
|
@@ -4828,6 +4877,19 @@ Server rendered element contains fewer child nodes than client vdom.`
|
|
|
4828
4877
|
return list.includes(MismatchTypeString[allowedType]);
|
|
4829
4878
|
}
|
|
4830
4879
|
}
|
|
4880
|
+
function isNodeMismatchAllowed(node, vnode) {
|
|
4881
|
+
return isMismatchAllowed(node.parentElement, 1 /* CHILDREN */) || isMismatchAllowedByNode(node) || isMismatchAllowedByVNode(vnode);
|
|
4882
|
+
}
|
|
4883
|
+
function isMismatchAllowedByNode(node) {
|
|
4884
|
+
return node.nodeType === 1 && isMismatchAllowedByAttr(
|
|
4885
|
+
node.getAttribute(allowMismatchAttr),
|
|
4886
|
+
1 /* CHILDREN */
|
|
4887
|
+
);
|
|
4888
|
+
}
|
|
4889
|
+
function isMismatchAllowedByVNode({ props }) {
|
|
4890
|
+
const allowedAttr = props && props[allowMismatchAttr];
|
|
4891
|
+
return typeof allowedAttr === "string" && isMismatchAllowedByAttr(allowedAttr, 1 /* CHILDREN */);
|
|
4892
|
+
}
|
|
4831
4893
|
|
|
4832
4894
|
const requestIdleCallback = getGlobalThis().requestIdleCallback || ((cb) => setTimeout(cb, 1));
|
|
4833
4895
|
const cancelIdleCallback = getGlobalThis().cancelIdleCallback || ((id) => clearTimeout(id));
|
|
@@ -4981,6 +5043,7 @@ Server rendered element contains fewer child nodes than client vdom.`
|
|
|
4981
5043
|
name: "AsyncComponentWrapper",
|
|
4982
5044
|
__asyncLoader: load,
|
|
4983
5045
|
__asyncHydrate(el, instance, hydrate) {
|
|
5046
|
+
const wasConnected = el.isConnected;
|
|
4984
5047
|
let patched = false;
|
|
4985
5048
|
(instance.bu || (instance.bu = [])).push(() => patched = true);
|
|
4986
5049
|
const performHydrate = () => {
|
|
@@ -4992,6 +5055,7 @@ Server rendered element contains fewer child nodes than client vdom.`
|
|
|
4992
5055
|
}
|
|
4993
5056
|
return;
|
|
4994
5057
|
}
|
|
5058
|
+
if (!el.parentNode || wasConnected && !el.isConnected) return;
|
|
4995
5059
|
hydrate();
|
|
4996
5060
|
};
|
|
4997
5061
|
const doHydrate = hydrateStrategy ? () => {
|
|
@@ -5544,14 +5608,16 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
5544
5608
|
return slots;
|
|
5545
5609
|
}
|
|
5546
5610
|
|
|
5547
|
-
function renderSlot(slots, name, props
|
|
5611
|
+
function renderSlot(slots, name, props, fallback, noSlotted, branchKey) {
|
|
5612
|
+
if (props == null) props = {};
|
|
5548
5613
|
if (currentRenderingInstance.ce || currentRenderingInstance.parent && isAsyncWrapper(currentRenderingInstance.parent) && currentRenderingInstance.parent.ce) {
|
|
5549
|
-
const
|
|
5550
|
-
|
|
5614
|
+
const slotProps = branchKey != null && props.key == null ? extend({}, props, { key: branchKey }) : props;
|
|
5615
|
+
const hasProps = Object.keys(slotProps).length > 0;
|
|
5616
|
+
if (name !== "default") slotProps.name = name;
|
|
5551
5617
|
return openBlock(), createBlock(
|
|
5552
5618
|
Fragment,
|
|
5553
5619
|
null,
|
|
5554
|
-
[createVNode("slot",
|
|
5620
|
+
[createVNode("slot", slotProps, fallback && fallback())],
|
|
5555
5621
|
hasProps ? -2 : 64
|
|
5556
5622
|
);
|
|
5557
5623
|
}
|
|
@@ -5565,26 +5631,34 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
5565
5631
|
if (slot && slot._c) {
|
|
5566
5632
|
slot._d = false;
|
|
5567
5633
|
}
|
|
5634
|
+
const prevStackSize = blockStack.length;
|
|
5568
5635
|
openBlock();
|
|
5569
|
-
|
|
5570
|
-
|
|
5571
|
-
|
|
5572
|
-
|
|
5573
|
-
|
|
5574
|
-
|
|
5575
|
-
|
|
5576
|
-
|
|
5577
|
-
|
|
5578
|
-
|
|
5579
|
-
|
|
5580
|
-
|
|
5581
|
-
|
|
5636
|
+
let rendered;
|
|
5637
|
+
try {
|
|
5638
|
+
const validSlotContent = slot && ensureValidVNode(slot(props));
|
|
5639
|
+
const slotKey = props.key || branchKey || // slot content array of a dynamic conditional slot may have a branch
|
|
5640
|
+
// key attached in the `createSlots` helper, respect that
|
|
5641
|
+
validSlotContent && validSlotContent.key;
|
|
5642
|
+
rendered = createBlock(
|
|
5643
|
+
Fragment,
|
|
5644
|
+
{
|
|
5645
|
+
key: (slotKey && !isSymbol(slotKey) ? slotKey : `_${name}`) + // #7256 force differentiate fallback content from actual content
|
|
5646
|
+
(!validSlotContent && fallback ? "_fb" : "")
|
|
5647
|
+
},
|
|
5648
|
+
validSlotContent || (fallback ? fallback() : []),
|
|
5649
|
+
validSlotContent && slots._ === 1 ? 64 : -2
|
|
5650
|
+
);
|
|
5651
|
+
} catch (err) {
|
|
5652
|
+
for (let i = blockStack.length; i > prevStackSize; i--) closeBlock();
|
|
5653
|
+
throw err;
|
|
5654
|
+
} finally {
|
|
5655
|
+
if (slot && slot._c) {
|
|
5656
|
+
slot._d = true;
|
|
5657
|
+
}
|
|
5658
|
+
}
|
|
5582
5659
|
if (!noSlotted && rendered.scopeId) {
|
|
5583
5660
|
rendered.slotScopeIds = [rendered.scopeId + "-s"];
|
|
5584
5661
|
}
|
|
5585
|
-
if (slot && slot._c) {
|
|
5586
|
-
slot._d = true;
|
|
5587
|
-
}
|
|
5588
5662
|
return rendered;
|
|
5589
5663
|
}
|
|
5590
5664
|
function ensureValidVNode(vnodes) {
|
|
@@ -6816,7 +6890,8 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
6816
6890
|
if (!options || !isOn(key)) {
|
|
6817
6891
|
return false;
|
|
6818
6892
|
}
|
|
6819
|
-
key = key.slice(2)
|
|
6893
|
+
key = key.slice(2);
|
|
6894
|
+
key = key === "Once" ? key : key.replace(/Once$/, "");
|
|
6820
6895
|
return hasOwn(options, key[0].toLowerCase() + key.slice(1)) || hasOwn(options, hyphenate(key)) || hasOwn(options, key);
|
|
6821
6896
|
}
|
|
6822
6897
|
|
|
@@ -6955,12 +7030,13 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
6955
7030
|
root.dirs = root.dirs ? root.dirs.concat(vnode.dirs) : vnode.dirs;
|
|
6956
7031
|
}
|
|
6957
7032
|
if (vnode.transition) {
|
|
6958
|
-
|
|
7033
|
+
const child = isTeleport(root.type) ? getInnerChild$1(root) || root : root;
|
|
7034
|
+
if (!isElementRoot(child)) {
|
|
6959
7035
|
warn$1(
|
|
6960
7036
|
`Component inside <Transition> renders non-element root node that cannot be animated.`
|
|
6961
7037
|
);
|
|
6962
7038
|
}
|
|
6963
|
-
setTransitionHooks(
|
|
7039
|
+
setTransitionHooks(child, vnode.transition);
|
|
6964
7040
|
}
|
|
6965
7041
|
if (setRoot) {
|
|
6966
7042
|
setRoot(root);
|
|
@@ -8040,7 +8116,12 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
8040
8116
|
invokeDirectiveHook(n2, n1, parentComponent, "beforeUpdate");
|
|
8041
8117
|
}
|
|
8042
8118
|
parentComponent && toggleRecurse(parentComponent, true);
|
|
8043
|
-
if (
|
|
8119
|
+
if (
|
|
8120
|
+
// HMR updated, force full diff
|
|
8121
|
+
isHmrUpdating || // #6385 the old vnode may be a user-wrapped non-isomorphic block
|
|
8122
|
+
// Force full diff when block metadata is unstable.
|
|
8123
|
+
dynamicChildren && (!n1.dynamicChildren || n1.dynamicChildren.length !== dynamicChildren.length)
|
|
8124
|
+
) {
|
|
8044
8125
|
patchFlag = 0;
|
|
8045
8126
|
optimized = false;
|
|
8046
8127
|
dynamicChildren = null;
|
|
@@ -9603,7 +9684,9 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
9603
9684
|
let hasUnresolvedAncestor = false;
|
|
9604
9685
|
while (parent) {
|
|
9605
9686
|
if (parent.pendingBranch) {
|
|
9606
|
-
|
|
9687
|
+
for (let i = 0; i < effects.length; i++) {
|
|
9688
|
+
parent.effects.push(effects[i]);
|
|
9689
|
+
}
|
|
9607
9690
|
hasUnresolvedAncestor = true;
|
|
9608
9691
|
break;
|
|
9609
9692
|
}
|
|
@@ -9968,6 +10051,14 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
9968
10051
|
if (vnode.key !== vnode.key) {
|
|
9969
10052
|
warn$1(`VNode created with invalid key (NaN). VNode type:`, vnode.type);
|
|
9970
10053
|
}
|
|
10054
|
+
if (props && vnode.shapeFlag & 1) {
|
|
10055
|
+
const overwritingProp = props.innerHTML != null ? "innerHTML" : props.textContent != null ? "textContent" : null;
|
|
10056
|
+
if (overwritingProp && hasContentChildren(vnode.children)) {
|
|
10057
|
+
warn$1(
|
|
10058
|
+
`The \`${overwritingProp}\` prop on <${vnode.type}> will override its children. Remove either the \`${overwritingProp}\` prop or the children.`
|
|
10059
|
+
);
|
|
10060
|
+
}
|
|
10061
|
+
}
|
|
9971
10062
|
if (isBlockTreeEnabled > 0 && // avoid a block node from tracking itself
|
|
9972
10063
|
!isBlockNode && // has current parent block
|
|
9973
10064
|
currentBlock && // presence of a patch flag indicates this node needs patching on updates.
|
|
@@ -9981,6 +10072,11 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
9981
10072
|
}
|
|
9982
10073
|
return vnode;
|
|
9983
10074
|
}
|
|
10075
|
+
function hasContentChildren(children) {
|
|
10076
|
+
if (isString(children)) return children !== "";
|
|
10077
|
+
if (isArray(children)) return children.length > 0;
|
|
10078
|
+
return false;
|
|
10079
|
+
}
|
|
9984
10080
|
const createVNode = createVNodeWithArgsTransform ;
|
|
9985
10081
|
function _createVNode(type, props = null, children = null, patchFlag = 0, dynamicProps = null, isBlockNode = false) {
|
|
9986
10082
|
if (!type || type === NULL_DYNAMIC_COMPONENT) {
|
|
@@ -10173,6 +10269,10 @@ Component that was made reactive: `,
|
|
|
10173
10269
|
}
|
|
10174
10270
|
}
|
|
10175
10271
|
} else if (isFunction(children)) {
|
|
10272
|
+
if (shapeFlag & (1 | 64)) {
|
|
10273
|
+
normalizeChildren(vnode, { default: children });
|
|
10274
|
+
return;
|
|
10275
|
+
}
|
|
10176
10276
|
children = { default: children, _ctx: currentRenderingInstance };
|
|
10177
10277
|
type = 32;
|
|
10178
10278
|
} else {
|
|
@@ -10413,7 +10513,12 @@ Component that was made reactive: `,
|
|
|
10413
10513
|
setupResult.then(unsetCurrentInstance, unsetCurrentInstance);
|
|
10414
10514
|
if (isSSR) {
|
|
10415
10515
|
return setupResult.then((resolvedResult) => {
|
|
10416
|
-
|
|
10516
|
+
setInSSRSetupState(true);
|
|
10517
|
+
try {
|
|
10518
|
+
handleSetupResult(instance, resolvedResult, isSSR);
|
|
10519
|
+
} finally {
|
|
10520
|
+
setInSSRSetupState(false);
|
|
10521
|
+
}
|
|
10417
10522
|
}).catch((e) => {
|
|
10418
10523
|
handleError(e, instance, 0);
|
|
10419
10524
|
});
|
|
@@ -10877,7 +10982,7 @@ Component that was made reactive: `,
|
|
|
10877
10982
|
return true;
|
|
10878
10983
|
}
|
|
10879
10984
|
|
|
10880
|
-
const version = "3.5.
|
|
10985
|
+
const version = "3.5.41";
|
|
10881
10986
|
const warn = warn$1 ;
|
|
10882
10987
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
10883
10988
|
const devtools = devtools$1 ;
|
|
@@ -11591,16 +11696,15 @@ Component that was made reactive: `,
|
|
|
11591
11696
|
}
|
|
11592
11697
|
}
|
|
11593
11698
|
}
|
|
11594
|
-
const optionsModifierRE = /(
|
|
11699
|
+
const optionsModifierRE = /(Once|Passive|Capture)$/;
|
|
11700
|
+
const optionsModifierEventRE = /^on:?(?:Once|Passive|Capture)$/;
|
|
11595
11701
|
function parseName(name) {
|
|
11596
11702
|
let options;
|
|
11597
|
-
|
|
11598
|
-
|
|
11599
|
-
|
|
11600
|
-
|
|
11601
|
-
|
|
11602
|
-
options[m[0].toLowerCase()] = true;
|
|
11603
|
-
}
|
|
11703
|
+
let m;
|
|
11704
|
+
while ((m = name.match(optionsModifierRE)) && !optionsModifierEventRE.test(name)) {
|
|
11705
|
+
if (!options) options = {};
|
|
11706
|
+
name = name.slice(0, name.length - m[1].length);
|
|
11707
|
+
options[m[1].toLowerCase()] = true;
|
|
11604
11708
|
}
|
|
11605
11709
|
const event = name[2] === ":" ? name.slice(3) : hyphenate(name.slice(2));
|
|
11606
11710
|
return [event, options];
|
|
@@ -11829,7 +11933,9 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
|
11829
11933
|
if (parent && parent._pendingResolve) {
|
|
11830
11934
|
this._pendingResolve = parent._pendingResolve.then(() => {
|
|
11831
11935
|
this._pendingResolve = void 0;
|
|
11832
|
-
this.
|
|
11936
|
+
if (this.isConnected) {
|
|
11937
|
+
return this._resolveDef();
|
|
11938
|
+
}
|
|
11833
11939
|
});
|
|
11834
11940
|
} else {
|
|
11835
11941
|
this._resolveDef();
|
|
@@ -11879,7 +11985,7 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
|
11879
11985
|
*/
|
|
11880
11986
|
_resolveDef() {
|
|
11881
11987
|
if (this._pendingResolve) {
|
|
11882
|
-
return;
|
|
11988
|
+
return this._pendingResolve;
|
|
11883
11989
|
}
|
|
11884
11990
|
for (let i = 0; i < this.attributes.length; i++) {
|
|
11885
11991
|
this._setAttr(this.attributes[i].name);
|
|
@@ -11919,6 +12025,7 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
|
11919
12025
|
def.configureApp = this._def.configureApp;
|
|
11920
12026
|
resolve(this._def = def, true);
|
|
11921
12027
|
});
|
|
12028
|
+
return this._pendingResolve;
|
|
11922
12029
|
} else {
|
|
11923
12030
|
resolve(this._def);
|
|
11924
12031
|
}
|
|
@@ -11956,6 +12063,11 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
|
11956
12063
|
}
|
|
11957
12064
|
}
|
|
11958
12065
|
for (const key of declaredPropKeys.map(camelize)) {
|
|
12066
|
+
if (key in Object.getPrototypeOf(this)) {
|
|
12067
|
+
warn(
|
|
12068
|
+
`Custom element prop "${key}" conflicts with an existing property on the element and will overwrite it.`
|
|
12069
|
+
);
|
|
12070
|
+
}
|
|
11959
12071
|
Object.defineProperty(this, key, {
|
|
11960
12072
|
get() {
|
|
11961
12073
|
return this._getProp(key);
|
|
@@ -12428,6 +12540,7 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
|
12428
12540
|
}
|
|
12429
12541
|
}
|
|
12430
12542
|
const assignKey = /* @__PURE__ */ Symbol("_assign");
|
|
12543
|
+
const initialValueKey = /* @__PURE__ */ Symbol("_initialValue");
|
|
12431
12544
|
function castValue(value, trim, number) {
|
|
12432
12545
|
if (trim) value = value.trim();
|
|
12433
12546
|
if (number) value = looseToNumber(value);
|
|
@@ -12435,6 +12548,13 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
|
12435
12548
|
}
|
|
12436
12549
|
const vModelText = {
|
|
12437
12550
|
created(el, { modifiers: { lazy, trim, number } }, vnode) {
|
|
12551
|
+
if (el.parentNode) {
|
|
12552
|
+
if (el.type === "text") {
|
|
12553
|
+
el[initialValueKey] = el.defaultValue.replace(/[\r\n]/g, "");
|
|
12554
|
+
} else if (el.type === "textarea") {
|
|
12555
|
+
el[initialValueKey] = el.defaultValue.replace(/\r\n?/g, "\n");
|
|
12556
|
+
}
|
|
12557
|
+
}
|
|
12438
12558
|
el[assignKey] = getModelAssigner(vnode);
|
|
12439
12559
|
const castToNumber = number || vnode.props && vnode.props.type === "number";
|
|
12440
12560
|
addEventListener(el, lazy ? "change" : "input", (e) => {
|
|
@@ -12453,8 +12573,15 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
|
12453
12573
|
}
|
|
12454
12574
|
},
|
|
12455
12575
|
// set value on mounted so it's after min/max for type="range"
|
|
12456
|
-
mounted(el, { value }) {
|
|
12457
|
-
|
|
12576
|
+
mounted(el, { value, modifiers: { trim, number } }) {
|
|
12577
|
+
const newValue = value == null ? "" : value;
|
|
12578
|
+
const initialValue = el[initialValueKey];
|
|
12579
|
+
delete el[initialValueKey];
|
|
12580
|
+
if (initialValue !== void 0 && (el.type === "text" || el.type === "textarea") && el.value !== initialValue) {
|
|
12581
|
+
el[assignKey](castValue(el.value, trim, number));
|
|
12582
|
+
} else {
|
|
12583
|
+
el.value = newValue;
|
|
12584
|
+
}
|
|
12458
12585
|
},
|
|
12459
12586
|
beforeUpdate(el, { value, oldValue, modifiers: { lazy, trim, number } }, vnode) {
|
|
12460
12587
|
el[assignKey] = getModelAssigner(vnode);
|
|
@@ -12550,13 +12677,13 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
|
12550
12677
|
// <select multiple> value need to be deep traversed
|
|
12551
12678
|
deep: true,
|
|
12552
12679
|
created(el, { value, modifiers: { number } }, vnode) {
|
|
12553
|
-
|
|
12680
|
+
el._modelValue = value;
|
|
12554
12681
|
addEventListener(el, "change", () => {
|
|
12555
12682
|
const selectedVal = Array.prototype.filter.call(el.options, (o) => o.selected).map(
|
|
12556
12683
|
(o) => number ? looseToNumber(getValue(o)) : getValue(o)
|
|
12557
12684
|
);
|
|
12558
12685
|
el[assignKey](
|
|
12559
|
-
el.multiple ?
|
|
12686
|
+
el.multiple ? isSet(el._modelValue) ? new Set(selectedVal) : selectedVal : selectedVal[0]
|
|
12560
12687
|
);
|
|
12561
12688
|
el._assigning = true;
|
|
12562
12689
|
nextTick(() => {
|
|
@@ -12570,7 +12697,8 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
|
12570
12697
|
mounted(el, { value }) {
|
|
12571
12698
|
setSelected(el, value);
|
|
12572
12699
|
},
|
|
12573
|
-
beforeUpdate(el,
|
|
12700
|
+
beforeUpdate(el, { value }, vnode) {
|
|
12701
|
+
el._modelValue = value;
|
|
12574
12702
|
el[assignKey] = getModelAssigner(vnode);
|
|
12575
12703
|
},
|
|
12576
12704
|
updated(el, { value }) {
|
|
@@ -14159,6 +14287,9 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
14159
14287
|
return [props, callPath];
|
|
14160
14288
|
}
|
|
14161
14289
|
function injectProp(node, prop, context) {
|
|
14290
|
+
if (node.type !== 13 && injectSlotKey(node, prop)) {
|
|
14291
|
+
return;
|
|
14292
|
+
}
|
|
14162
14293
|
let propsWithInjection;
|
|
14163
14294
|
let props = node.type === 13 ? node.props : node.arguments[2];
|
|
14164
14295
|
let callPath = [];
|
|
@@ -14216,6 +14347,24 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
14216
14347
|
}
|
|
14217
14348
|
}
|
|
14218
14349
|
}
|
|
14350
|
+
function injectSlotKey(node, prop) {
|
|
14351
|
+
var _a, _b, _c;
|
|
14352
|
+
if (prop.key.type !== 4 || prop.key.content !== "key") {
|
|
14353
|
+
return false;
|
|
14354
|
+
}
|
|
14355
|
+
const props = node.arguments[2];
|
|
14356
|
+
if (props && !isString(props)) {
|
|
14357
|
+
const [unnormalizedProps] = getUnnormalizedProps(props);
|
|
14358
|
+
if (unnormalizedProps && !isString(unnormalizedProps) && unnormalizedProps.type === 15 && hasProp(prop, unnormalizedProps)) {
|
|
14359
|
+
return true;
|
|
14360
|
+
}
|
|
14361
|
+
}
|
|
14362
|
+
(_a = node.arguments)[2] || (_a[2] = "{}");
|
|
14363
|
+
(_b = node.arguments)[3] || (_b[3] = "undefined");
|
|
14364
|
+
(_c = node.arguments)[4] || (_c[4] = "undefined");
|
|
14365
|
+
node.arguments[5] = prop.value;
|
|
14366
|
+
return true;
|
|
14367
|
+
}
|
|
14219
14368
|
function hasProp(prop, props) {
|
|
14220
14369
|
let result = false;
|
|
14221
14370
|
if (prop.key.type === 4) {
|
|
@@ -16385,6 +16534,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
16385
16534
|
node.loc
|
|
16386
16535
|
);
|
|
16387
16536
|
return () => {
|
|
16537
|
+
var _a;
|
|
16388
16538
|
let childBlock;
|
|
16389
16539
|
const { children } = forNode;
|
|
16390
16540
|
if (isTemplate) {
|
|
@@ -16428,7 +16578,8 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
16428
16578
|
if (isTemplate && keyProperty) {
|
|
16429
16579
|
injectProp(childBlock, keyProperty, context);
|
|
16430
16580
|
}
|
|
16431
|
-
|
|
16581
|
+
const shouldUseBlock = !isStableFragment || childBlock.isBlockRequired === true;
|
|
16582
|
+
if (childBlock.isBlock !== shouldUseBlock) {
|
|
16432
16583
|
if (childBlock.isBlock) {
|
|
16433
16584
|
removeHelper(OPEN_BLOCK);
|
|
16434
16585
|
removeHelper(
|
|
@@ -16440,12 +16591,15 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
16440
16591
|
);
|
|
16441
16592
|
}
|
|
16442
16593
|
}
|
|
16443
|
-
childBlock.isBlock =
|
|
16594
|
+
childBlock.isBlock = shouldUseBlock;
|
|
16444
16595
|
if (childBlock.isBlock) {
|
|
16445
16596
|
helper(OPEN_BLOCK);
|
|
16446
16597
|
helper(getVNodeBlockHelper(context.inSSR, childBlock.isComponent));
|
|
16447
16598
|
} else {
|
|
16448
16599
|
helper(getVNodeHelper(context.inSSR, childBlock.isComponent));
|
|
16600
|
+
if (childBlock.needsPatch) {
|
|
16601
|
+
childBlock.patchFlag = ((_a = childBlock.patchFlag) != null ? _a : 0) | 512;
|
|
16602
|
+
}
|
|
16449
16603
|
}
|
|
16450
16604
|
}
|
|
16451
16605
|
if (memo) {
|
|
@@ -16821,6 +16975,8 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
16821
16975
|
let vnodeDynamicProps;
|
|
16822
16976
|
let dynamicPropNames;
|
|
16823
16977
|
let vnodeDirectives;
|
|
16978
|
+
let needsPatch = false;
|
|
16979
|
+
let isBlockRequired = false;
|
|
16824
16980
|
let shouldUseBlock = (
|
|
16825
16981
|
// dynamic component may resolve to plain elements
|
|
16826
16982
|
isDynamicComponent || vnodeTag === TELEPORT || vnodeTag === SUSPENSE || !isComponent && // <svg> and <foreignObject> must be forced into blocks so that block
|
|
@@ -16840,6 +16996,8 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
16840
16996
|
vnodeProps = propsBuildResult.props;
|
|
16841
16997
|
patchFlag = propsBuildResult.patchFlag;
|
|
16842
16998
|
dynamicPropNames = propsBuildResult.dynamicPropNames;
|
|
16999
|
+
needsPatch = propsBuildResult.needsPatch;
|
|
17000
|
+
isBlockRequired = propsBuildResult.isBlockRequired;
|
|
16843
17001
|
const directives = propsBuildResult.directives;
|
|
16844
17002
|
vnodeDirectives = directives && directives.length ? createArrayExpression(
|
|
16845
17003
|
directives.map((dir) => buildDirectiveArgs(dir, context))
|
|
@@ -16890,7 +17048,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
16890
17048
|
if (dynamicPropNames && dynamicPropNames.length) {
|
|
16891
17049
|
vnodeDynamicProps = stringifyDynamicPropNames(dynamicPropNames);
|
|
16892
17050
|
}
|
|
16893
|
-
node.codegenNode = createVNodeCall(
|
|
17051
|
+
const vnodeCall = node.codegenNode = createVNodeCall(
|
|
16894
17052
|
context,
|
|
16895
17053
|
vnodeTag,
|
|
16896
17054
|
vnodeProps,
|
|
@@ -16903,6 +17061,13 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
16903
17061
|
isComponent,
|
|
16904
17062
|
node.loc
|
|
16905
17063
|
);
|
|
17064
|
+
needsPatch = needsPatch && (patchFlag === 0 || patchFlag === 32);
|
|
17065
|
+
if (needsPatch) {
|
|
17066
|
+
vnodeCall.needsPatch = true;
|
|
17067
|
+
}
|
|
17068
|
+
if (isBlockRequired) {
|
|
17069
|
+
vnodeCall.isBlockRequired = true;
|
|
17070
|
+
}
|
|
16906
17071
|
};
|
|
16907
17072
|
};
|
|
16908
17073
|
function resolveComponentType(node, context, ssr = false) {
|
|
@@ -16951,6 +17116,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
16951
17116
|
const runtimeDirectives = [];
|
|
16952
17117
|
const hasChildren = children.length > 0;
|
|
16953
17118
|
let shouldUseBlock = false;
|
|
17119
|
+
let isBlockRequired = false;
|
|
16954
17120
|
let patchFlag = 0;
|
|
16955
17121
|
let hasRef = false;
|
|
16956
17122
|
let hasClassBinding = false;
|
|
@@ -16992,19 +17158,20 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
16992
17158
|
if (isEventHandler && isReservedProp(name)) {
|
|
16993
17159
|
hasVnodeHook = true;
|
|
16994
17160
|
}
|
|
17161
|
+
if (name === "ref") {
|
|
17162
|
+
hasRef = true;
|
|
17163
|
+
}
|
|
16995
17164
|
if (isEventHandler && value.type === 14) {
|
|
16996
17165
|
value = value.arguments[0];
|
|
16997
17166
|
}
|
|
16998
17167
|
if (value.type === 20 || (value.type === 4 || value.type === 8) && getConstantType(value, context) > 0) {
|
|
16999
17168
|
return;
|
|
17000
17169
|
}
|
|
17001
|
-
if (name === "
|
|
17002
|
-
hasRef = true;
|
|
17003
|
-
} else if (name === "class") {
|
|
17170
|
+
if (name === "class") {
|
|
17004
17171
|
hasClassBinding = true;
|
|
17005
17172
|
} else if (name === "style") {
|
|
17006
17173
|
hasStyleBinding = true;
|
|
17007
|
-
} else if (name !== "key" && !dynamicPropNames.includes(name)) {
|
|
17174
|
+
} else if (name !== "ref" && name !== "key" && !dynamicPropNames.includes(name)) {
|
|
17008
17175
|
dynamicPropNames.push(name);
|
|
17009
17176
|
}
|
|
17010
17177
|
if (isComponent && (name === "class" || name === "style") && !dynamicPropNames.includes(name)) {
|
|
@@ -17057,13 +17224,12 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
17057
17224
|
if (isVOn && ssr) {
|
|
17058
17225
|
continue;
|
|
17059
17226
|
}
|
|
17060
|
-
if (
|
|
17061
|
-
|
|
17062
|
-
|
|
17063
|
-
|
|
17064
|
-
isVOn && hasChildren && isStaticArgOf(arg, "vue:before-update")
|
|
17065
|
-
) {
|
|
17227
|
+
if (isVBind && isStaticArgOf(arg, "key")) {
|
|
17228
|
+
shouldUseBlock = true;
|
|
17229
|
+
}
|
|
17230
|
+
if (isVOn && hasChildren && arg && isStaticExp(arg) && camelize(arg.content) === "vue:beforeUpdate") {
|
|
17066
17231
|
shouldUseBlock = true;
|
|
17232
|
+
isBlockRequired = true;
|
|
17067
17233
|
}
|
|
17068
17234
|
if (isVBind && isStaticArgOf(arg, "ref")) {
|
|
17069
17235
|
pushRefVForMarker();
|
|
@@ -17115,6 +17281,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
17115
17281
|
runtimeDirectives.push(prop);
|
|
17116
17282
|
if (hasChildren) {
|
|
17117
17283
|
shouldUseBlock = true;
|
|
17284
|
+
isBlockRequired = true;
|
|
17118
17285
|
}
|
|
17119
17286
|
}
|
|
17120
17287
|
}
|
|
@@ -17153,7 +17320,8 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
17153
17320
|
patchFlag |= 32;
|
|
17154
17321
|
}
|
|
17155
17322
|
}
|
|
17156
|
-
|
|
17323
|
+
const needsPatch = (patchFlag === 0 || patchFlag === 32) && (hasRef || hasVnodeHook || runtimeDirectives.length > 0);
|
|
17324
|
+
if (!shouldUseBlock && needsPatch) {
|
|
17157
17325
|
patchFlag |= 512;
|
|
17158
17326
|
}
|
|
17159
17327
|
if (!context.inSSR && propsExpression) {
|
|
@@ -17219,7 +17387,9 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
17219
17387
|
directives: runtimeDirectives,
|
|
17220
17388
|
patchFlag,
|
|
17221
17389
|
dynamicPropNames,
|
|
17222
|
-
shouldUseBlock
|
|
17390
|
+
shouldUseBlock,
|
|
17391
|
+
needsPatch,
|
|
17392
|
+
isBlockRequired
|
|
17223
17393
|
};
|
|
17224
17394
|
}
|
|
17225
17395
|
function dedupeProperties(properties) {
|