@vtj/pro 0.16.35 → 0.17.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 +4 -4
- package/dist/@vtj/materials/deps/@vtj/utils/index.umd.js +3 -3
- package/dist/@vtj/materials/deps/ant-design-vue/dayjs/dayjs.min.js +1 -1
- package/dist/@vtj/materials/deps/element-plus/index.css +1 -1
- package/dist/@vtj/materials/deps/element-plus/index.full.min.js +7 -7
- package/dist/@vtj/materials/deps/element-plus/zh-cn.js +1 -1
- package/dist/@vtj/materials/deps/vue/vue.global.js +137 -74
- package/dist/@vtj/materials/deps/vue/vue.global.prod.js +8 -8
- package/dist/assets/{@element-plus-icons-vue-DfQfjj5s.js → @element-plus-icons-vue-CXRJnQYo.js} +1 -1
- package/dist/assets/{@vueuse-DGhgU4Wj.js → @vueuse-w7qmHU3H.js} +1 -1
- package/dist/assets/Editor-BcijGQZx-bQZe_R8O.js +531 -0
- package/dist/assets/{Editor-D-tp7Tlp-PWXX2s5r.css → Editor-BcijGQZx-xwJs2FyB.css} +1 -1
- package/dist/assets/{auth-B-zf6SPf.js → auth-C4mrJ31Y.js} +1 -1
- package/dist/assets/dayjs-CxR8wwn9.js +1 -0
- package/dist/assets/element-plus-Bgelixwu.js +39 -0
- package/dist/assets/{element-plus-AP7zs95r.css → element-plus-Bw1qTWaj.css} +1 -1
- package/dist/assets/index-BlFihnwD.js +1 -0
- package/dist/assets/index-ZU10z4rD.js +2 -0
- package/dist/assets/mockjs-C_1w07tn.js +9 -0
- package/dist/assets/page-Xd5VkPhH.js +2 -0
- package/dist/assets/preview-BrO82JG-.js +2 -0
- package/dist/assets/shared-Bc0G8KpM.js +25 -0
- package/dist/assets/uni-page-BrivKbVY.js +1 -0
- package/dist/assets/utils-BBxwIlQH.js +1 -0
- package/dist/assets/vue-BaPf1eHv.js +35 -0
- package/dist/assets/{vue-router-DLyhMsB6.js → vue-router-B2eGcVGj.js} +3 -3
- package/dist/assets/{vxe-BJJKGxpR.js → vxe-C7ZzhQxY.js} +1 -1
- package/dist/index.html +11 -11
- package/dist/uni/assets/{index-9RSgvd_1.js → index-D-hwt8LT.js} +9 -9
- package/dist/uni/index.html +1 -1
- package/package.json +13 -13
- package/dist/assets/Editor-D-tp7Tlp-BqA5rq41.js +0 -525
- package/dist/assets/dayjs-GGXMDmCk.js +0 -1
- package/dist/assets/element-plus-ClWnlNxy.js +0 -39
- package/dist/assets/index-CV87taOl.js +0 -2
- package/dist/assets/index-a7qT8C-9.js +0 -1
- package/dist/assets/mockjs-C_F9xDf5.js +0 -9
- package/dist/assets/page-BuuAxNLq.js +0 -2
- package/dist/assets/preview-wqG9b0ME.js +0 -2
- package/dist/assets/shared-Df95_Dth.js +0 -25
- package/dist/assets/uni-page-hurVTe5x.js +0 -1
- package/dist/assets/utils-DzXiTz8Y.js +0 -1
- package/dist/assets/vue-Cs4cahp0.js +0 -35
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* vue v3.5.
|
|
2
|
+
* vue v3.5.35
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -430,12 +430,18 @@ var Vue = (function (exports) {
|
|
|
430
430
|
*/
|
|
431
431
|
this.cleanups = [];
|
|
432
432
|
this._isPaused = false;
|
|
433
|
+
this._warnOnRun = true;
|
|
433
434
|
this.__v_skip = true;
|
|
434
|
-
this.parent = activeEffectScope;
|
|
435
435
|
if (!detached && activeEffectScope) {
|
|
436
|
-
|
|
437
|
-
this
|
|
438
|
-
|
|
436
|
+
if (activeEffectScope.active) {
|
|
437
|
+
this.parent = activeEffectScope;
|
|
438
|
+
this.index = (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(
|
|
439
|
+
this
|
|
440
|
+
) - 1;
|
|
441
|
+
} else {
|
|
442
|
+
this._active = false;
|
|
443
|
+
this._warnOnRun = false;
|
|
444
|
+
}
|
|
439
445
|
}
|
|
440
446
|
}
|
|
441
447
|
get active() {
|
|
@@ -483,7 +489,7 @@ var Vue = (function (exports) {
|
|
|
483
489
|
} finally {
|
|
484
490
|
activeEffectScope = currentEffectScope;
|
|
485
491
|
}
|
|
486
|
-
} else {
|
|
492
|
+
} else if (this._warnOnRun) {
|
|
487
493
|
warn$2(`cannot run an inactive effect scope.`);
|
|
488
494
|
}
|
|
489
495
|
}
|
|
@@ -503,7 +509,18 @@ var Vue = (function (exports) {
|
|
|
503
509
|
*/
|
|
504
510
|
off() {
|
|
505
511
|
if (this._on > 0 && --this._on === 0) {
|
|
506
|
-
activeEffectScope
|
|
512
|
+
if (activeEffectScope === this) {
|
|
513
|
+
activeEffectScope = this.prevScope;
|
|
514
|
+
} else {
|
|
515
|
+
let current = activeEffectScope;
|
|
516
|
+
while (current) {
|
|
517
|
+
if (current.prevScope === this) {
|
|
518
|
+
current.prevScope = this.prevScope;
|
|
519
|
+
break;
|
|
520
|
+
}
|
|
521
|
+
current = current.prevScope;
|
|
522
|
+
}
|
|
523
|
+
}
|
|
507
524
|
this.prevScope = void 0;
|
|
508
525
|
}
|
|
509
526
|
}
|
|
@@ -578,8 +595,12 @@ var Vue = (function (exports) {
|
|
|
578
595
|
*/
|
|
579
596
|
this.cleanup = void 0;
|
|
580
597
|
this.scheduler = void 0;
|
|
581
|
-
if (activeEffectScope
|
|
582
|
-
activeEffectScope.
|
|
598
|
+
if (activeEffectScope) {
|
|
599
|
+
if (activeEffectScope.active) {
|
|
600
|
+
activeEffectScope.effects.push(this);
|
|
601
|
+
} else {
|
|
602
|
+
this.flags &= -2;
|
|
603
|
+
}
|
|
583
604
|
}
|
|
584
605
|
}
|
|
585
606
|
pause() {
|
|
@@ -1727,9 +1748,6 @@ var Vue = (function (exports) {
|
|
|
1727
1748
|
return 0 /* INVALID */;
|
|
1728
1749
|
}
|
|
1729
1750
|
}
|
|
1730
|
-
function getTargetType(value) {
|
|
1731
|
-
return value["__v_skip"] || !Object.isExtensible(value) ? 0 /* INVALID */ : targetTypeMap(toRawType(value));
|
|
1732
|
-
}
|
|
1733
1751
|
// @__NO_SIDE_EFFECTS__
|
|
1734
1752
|
function reactive(target) {
|
|
1735
1753
|
if (/* @__PURE__ */ isReadonly(target)) {
|
|
@@ -1787,14 +1805,17 @@ var Vue = (function (exports) {
|
|
|
1787
1805
|
if (target["__v_raw"] && !(isReadonly2 && target["__v_isReactive"])) {
|
|
1788
1806
|
return target;
|
|
1789
1807
|
}
|
|
1790
|
-
|
|
1791
|
-
if (targetType === 0 /* INVALID */) {
|
|
1808
|
+
if (target["__v_skip"] || !Object.isExtensible(target)) {
|
|
1792
1809
|
return target;
|
|
1793
1810
|
}
|
|
1794
1811
|
const existingProxy = proxyMap.get(target);
|
|
1795
1812
|
if (existingProxy) {
|
|
1796
1813
|
return existingProxy;
|
|
1797
1814
|
}
|
|
1815
|
+
const targetType = targetTypeMap(toRawType(target));
|
|
1816
|
+
if (targetType === 0 /* INVALID */) {
|
|
1817
|
+
return target;
|
|
1818
|
+
}
|
|
1798
1819
|
const proxy = new Proxy(
|
|
1799
1820
|
target,
|
|
1800
1821
|
targetType === 2 /* COLLECTION */ ? collectionHandlers : baseHandlers
|
|
@@ -3275,7 +3296,7 @@ var Vue = (function (exports) {
|
|
|
3275
3296
|
mc: mountChildren,
|
|
3276
3297
|
pc: patchChildren,
|
|
3277
3298
|
pbc: patchBlockChildren,
|
|
3278
|
-
o: { insert, querySelector, createText, createComment }
|
|
3299
|
+
o: { insert, querySelector, createText, createComment, parentNode }
|
|
3279
3300
|
} = internals;
|
|
3280
3301
|
const disabled = isTeleportDisabled(n2.props);
|
|
3281
3302
|
let { dynamicChildren } = n2;
|
|
@@ -3323,7 +3344,8 @@ var Vue = (function (exports) {
|
|
|
3323
3344
|
if (pendingMounts.get(vnode) !== mountJob) return;
|
|
3324
3345
|
pendingMounts.delete(vnode);
|
|
3325
3346
|
if (isTeleportDisabled(vnode.props)) {
|
|
3326
|
-
|
|
3347
|
+
const mountContainer = parentNode(vnode.el) || container;
|
|
3348
|
+
mount(vnode, mountContainer, vnode.anchor);
|
|
3327
3349
|
updateCssVars(vnode, true);
|
|
3328
3350
|
}
|
|
3329
3351
|
mountToTarget(vnode);
|
|
@@ -3448,19 +3470,18 @@ var Vue = (function (exports) {
|
|
|
3448
3470
|
target,
|
|
3449
3471
|
props
|
|
3450
3472
|
} = vnode;
|
|
3451
|
-
|
|
3473
|
+
const shouldRemove = doRemove || !isTeleportDisabled(props);
|
|
3452
3474
|
const pendingMount = pendingMounts.get(vnode);
|
|
3453
3475
|
if (pendingMount) {
|
|
3454
3476
|
pendingMount.flags |= 8;
|
|
3455
3477
|
pendingMounts.delete(vnode);
|
|
3456
|
-
shouldRemove = false;
|
|
3457
3478
|
}
|
|
3458
3479
|
if (target) {
|
|
3459
3480
|
hostRemove(targetStart);
|
|
3460
3481
|
hostRemove(targetAnchor);
|
|
3461
3482
|
}
|
|
3462
3483
|
doRemove && hostRemove(anchor);
|
|
3463
|
-
if (shapeFlag & 16) {
|
|
3484
|
+
if (!pendingMount && shapeFlag & 16) {
|
|
3464
3485
|
for (let i = 0; i < children.length; i++) {
|
|
3465
3486
|
const child = children[i];
|
|
3466
3487
|
unmount(
|
|
@@ -3485,7 +3506,7 @@ var Vue = (function (exports) {
|
|
|
3485
3506
|
if (isReorder) {
|
|
3486
3507
|
insert(el, container, parentAnchor);
|
|
3487
3508
|
}
|
|
3488
|
-
if (!isReorder || isTeleportDisabled(props)) {
|
|
3509
|
+
if (!pendingMounts.has(vnode) && (!isReorder || isTeleportDisabled(props))) {
|
|
3489
3510
|
if (shapeFlag & 16) {
|
|
3490
3511
|
for (let i = 0; i < children.length; i++) {
|
|
3491
3512
|
move(
|
|
@@ -3659,10 +3680,14 @@ var Vue = (function (exports) {
|
|
|
3659
3680
|
const state = useTransitionState();
|
|
3660
3681
|
return () => {
|
|
3661
3682
|
const children = slots.default && getTransitionRawChildren(slots.default(), true);
|
|
3662
|
-
|
|
3683
|
+
const child = children && children.length ? findNonCommentChild(children) : (
|
|
3684
|
+
// Keep explicit default-slot conditionals on the same transition path
|
|
3685
|
+
// as regular v-if branches, which render a comment placeholder.
|
|
3686
|
+
instance.subTree ? createCommentVNode() : void 0
|
|
3687
|
+
);
|
|
3688
|
+
if (!child) {
|
|
3663
3689
|
return;
|
|
3664
3690
|
}
|
|
3665
|
-
const child = findNonCommentChild(children);
|
|
3666
3691
|
const rawProps = toRaw(props);
|
|
3667
3692
|
const { mode } = rawProps;
|
|
3668
3693
|
if (mode && mode !== "in-out" && mode !== "out-in" && mode !== "default") {
|
|
@@ -4424,20 +4449,16 @@ var Vue = (function (exports) {
|
|
|
4424
4449
|
slotScopeIds,
|
|
4425
4450
|
optimized
|
|
4426
4451
|
);
|
|
4427
|
-
|
|
4428
|
-
|
|
4429
|
-
|
|
4430
|
-
|
|
4431
|
-
|
|
4432
|
-
`Hydration children mismatch on`,
|
|
4433
|
-
el,
|
|
4434
|
-
`
|
|
4452
|
+
if (next && !isMismatchAllowed(el, 1 /* CHILDREN */)) {
|
|
4453
|
+
warn$1(
|
|
4454
|
+
`Hydration children mismatch on`,
|
|
4455
|
+
el,
|
|
4456
|
+
`
|
|
4435
4457
|
Server rendered element contains more child nodes than client vdom.`
|
|
4436
|
-
|
|
4437
|
-
|
|
4438
|
-
|
|
4439
|
-
|
|
4440
|
-
}
|
|
4458
|
+
);
|
|
4459
|
+
logMismatchError();
|
|
4460
|
+
}
|
|
4461
|
+
while (next) {
|
|
4441
4462
|
const cur = next;
|
|
4442
4463
|
next = next.nextSibling;
|
|
4443
4464
|
remove(cur);
|
|
@@ -4500,7 +4521,7 @@ Server rendered element contains more child nodes than client vdom.`
|
|
|
4500
4521
|
optimized = optimized || !!parentVNode.dynamicChildren;
|
|
4501
4522
|
const children = parentVNode.children;
|
|
4502
4523
|
const l = children.length;
|
|
4503
|
-
let
|
|
4524
|
+
let hasCheckedMismatch = false;
|
|
4504
4525
|
for (let i = 0; i < l; i++) {
|
|
4505
4526
|
const vnode = optimized ? children[i] : children[i] = normalizeVNode(children[i]);
|
|
4506
4527
|
const isText = vnode.type === Text;
|
|
@@ -4528,17 +4549,17 @@ Server rendered element contains more child nodes than client vdom.`
|
|
|
4528
4549
|
} else if (isText && !vnode.children) {
|
|
4529
4550
|
insert(vnode.el = createText(""), container);
|
|
4530
4551
|
} else {
|
|
4531
|
-
if (!
|
|
4532
|
-
|
|
4552
|
+
if (!hasCheckedMismatch) {
|
|
4553
|
+
hasCheckedMismatch = true;
|
|
4554
|
+
if (!isMismatchAllowed(container, 1 /* CHILDREN */)) {
|
|
4533
4555
|
warn$1(
|
|
4534
4556
|
`Hydration children mismatch on`,
|
|
4535
4557
|
container,
|
|
4536
4558
|
`
|
|
4537
4559
|
Server rendered element contains fewer child nodes than client vdom.`
|
|
4538
4560
|
);
|
|
4539
|
-
|
|
4561
|
+
logMismatchError();
|
|
4540
4562
|
}
|
|
4541
|
-
logMismatchError();
|
|
4542
4563
|
}
|
|
4543
4564
|
patch(
|
|
4544
4565
|
null,
|
|
@@ -7465,7 +7486,7 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
7465
7486
|
const receivedType = toRawType(value);
|
|
7466
7487
|
const expectedValue = styleValue(value, expectedType);
|
|
7467
7488
|
const receivedValue = styleValue(value, receivedType);
|
|
7468
|
-
if (expectedTypes.length === 1 && isExplicable(expectedType) &&
|
|
7489
|
+
if (expectedTypes.length === 1 && isExplicable(expectedType) && isCoercible(expectedType, receivedType)) {
|
|
7469
7490
|
message += ` with value ${expectedValue}`;
|
|
7470
7491
|
}
|
|
7471
7492
|
message += `, got ${receivedType} `;
|
|
@@ -7475,7 +7496,9 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
7475
7496
|
return message;
|
|
7476
7497
|
}
|
|
7477
7498
|
function styleValue(value, type) {
|
|
7478
|
-
if (
|
|
7499
|
+
if (isSymbol(value)) {
|
|
7500
|
+
return value.toString();
|
|
7501
|
+
} else if (type === "String") {
|
|
7479
7502
|
return `"${value}"`;
|
|
7480
7503
|
} else if (type === "Number") {
|
|
7481
7504
|
return `${Number(value)}`;
|
|
@@ -7487,8 +7510,11 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
7487
7510
|
const explicitTypes = ["string", "number", "boolean"];
|
|
7488
7511
|
return explicitTypes.some((elem) => type.toLowerCase() === elem);
|
|
7489
7512
|
}
|
|
7490
|
-
function
|
|
7491
|
-
return args.
|
|
7513
|
+
function isCoercible(...args) {
|
|
7514
|
+
return args.every((elem) => {
|
|
7515
|
+
const value = elem.toLowerCase();
|
|
7516
|
+
return value !== "boolean" && value !== "symbol";
|
|
7517
|
+
});
|
|
7492
7518
|
}
|
|
7493
7519
|
|
|
7494
7520
|
const isInternalKey = (key) => key === "_" || key === "_ctx" || key === "$stable";
|
|
@@ -8806,9 +8832,13 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
8806
8832
|
const needTransition2 = moveType !== 2 && shapeFlag & 1 && transition;
|
|
8807
8833
|
if (needTransition2) {
|
|
8808
8834
|
if (moveType === 0) {
|
|
8809
|
-
transition.
|
|
8810
|
-
|
|
8811
|
-
|
|
8835
|
+
if (transition.persisted && !el[leaveCbKey]) {
|
|
8836
|
+
hostInsert(el, container, anchor);
|
|
8837
|
+
} else {
|
|
8838
|
+
transition.beforeEnter(el);
|
|
8839
|
+
hostInsert(el, container, anchor);
|
|
8840
|
+
queuePostRenderEffect(() => transition.enter(el), parentSuspense);
|
|
8841
|
+
}
|
|
8812
8842
|
} else {
|
|
8813
8843
|
const { leave, delayLeave, afterLeave } = transition;
|
|
8814
8844
|
const remove2 = () => {
|
|
@@ -8819,16 +8849,21 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
8819
8849
|
}
|
|
8820
8850
|
};
|
|
8821
8851
|
const performLeave = () => {
|
|
8852
|
+
const wasLeaving = el._isLeaving || !!el[leaveCbKey];
|
|
8822
8853
|
if (el._isLeaving) {
|
|
8823
8854
|
el[leaveCbKey](
|
|
8824
8855
|
true
|
|
8825
8856
|
/* cancelled */
|
|
8826
8857
|
);
|
|
8827
8858
|
}
|
|
8828
|
-
|
|
8859
|
+
if (transition.persisted && !wasLeaving) {
|
|
8829
8860
|
remove2();
|
|
8830
|
-
|
|
8831
|
-
|
|
8861
|
+
} else {
|
|
8862
|
+
leave(el, () => {
|
|
8863
|
+
remove2();
|
|
8864
|
+
afterLeave && afterLeave();
|
|
8865
|
+
});
|
|
8866
|
+
}
|
|
8832
8867
|
};
|
|
8833
8868
|
if (delayLeave) {
|
|
8834
8869
|
delayLeave(el, remove2, performLeave);
|
|
@@ -9508,13 +9543,14 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
9508
9543
|
suspense.isHydrating = false;
|
|
9509
9544
|
} else if (!resume) {
|
|
9510
9545
|
delayEnter = activeBranch && pendingBranch.transition && pendingBranch.transition.mode === "out-in";
|
|
9546
|
+
let hasUpdatedAnchor = false;
|
|
9511
9547
|
if (delayEnter) {
|
|
9512
9548
|
activeBranch.transition.afterLeave = () => {
|
|
9513
9549
|
if (pendingId === suspense.pendingId) {
|
|
9514
9550
|
move(
|
|
9515
9551
|
pendingBranch,
|
|
9516
9552
|
container2,
|
|
9517
|
-
anchor === initialAnchor ? next(activeBranch) : anchor,
|
|
9553
|
+
anchor === initialAnchor && !hasUpdatedAnchor ? next(activeBranch) : anchor,
|
|
9518
9554
|
0
|
|
9519
9555
|
);
|
|
9520
9556
|
queuePostFlushCb(effects);
|
|
@@ -9527,6 +9563,7 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
9527
9563
|
if (activeBranch && !suspense.isFallbackMountPending) {
|
|
9528
9564
|
if (parentNode(activeBranch.el) === container2) {
|
|
9529
9565
|
anchor = next(activeBranch);
|
|
9566
|
+
hasUpdatedAnchor = true;
|
|
9530
9567
|
}
|
|
9531
9568
|
unmount(activeBranch, parentComponent2, suspense, true);
|
|
9532
9569
|
if (!delayEnter && isInFallback && vnode2.ssFallback) {
|
|
@@ -10819,7 +10856,7 @@ Component that was made reactive: `,
|
|
|
10819
10856
|
return true;
|
|
10820
10857
|
}
|
|
10821
10858
|
|
|
10822
|
-
const version = "3.5.
|
|
10859
|
+
const version = "3.5.35";
|
|
10823
10860
|
const warn = warn$1 ;
|
|
10824
10861
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
10825
10862
|
const devtools = devtools$1 ;
|
|
@@ -11347,7 +11384,19 @@ Component that was made reactive: `,
|
|
|
11347
11384
|
if (key === "display") {
|
|
11348
11385
|
hasControlledDisplay = true;
|
|
11349
11386
|
}
|
|
11350
|
-
|
|
11387
|
+
const value = next[key];
|
|
11388
|
+
if (value != null) {
|
|
11389
|
+
if (!shouldPreserveTextareaResizeStyle(
|
|
11390
|
+
el,
|
|
11391
|
+
key,
|
|
11392
|
+
!isString(prev) && prev ? prev[key] : void 0,
|
|
11393
|
+
value
|
|
11394
|
+
)) {
|
|
11395
|
+
setStyle(style, key, value);
|
|
11396
|
+
}
|
|
11397
|
+
} else {
|
|
11398
|
+
setStyle(style, key, "");
|
|
11399
|
+
}
|
|
11351
11400
|
}
|
|
11352
11401
|
} else {
|
|
11353
11402
|
if (isCssString) {
|
|
@@ -11420,6 +11469,9 @@ Component that was made reactive: `,
|
|
|
11420
11469
|
}
|
|
11421
11470
|
return rawName;
|
|
11422
11471
|
}
|
|
11472
|
+
function shouldPreserveTextareaResizeStyle(el, key, prev, next) {
|
|
11473
|
+
return el.tagName === "TEXTAREA" && (key === "width" || key === "height") && isString(next) && prev === next;
|
|
11474
|
+
}
|
|
11423
11475
|
|
|
11424
11476
|
const xlinkNS = "http://www.w3.org/1999/xlink";
|
|
11425
11477
|
function patchAttr(el, key, value, isSVG, instance, isBoolean = isSpecialBooleanAttr(key)) {
|
|
@@ -11542,12 +11594,37 @@ Component that was made reactive: `,
|
|
|
11542
11594
|
} else if (e._vts <= invoker.attached) {
|
|
11543
11595
|
return;
|
|
11544
11596
|
}
|
|
11545
|
-
|
|
11546
|
-
|
|
11547
|
-
|
|
11548
|
-
|
|
11549
|
-
|
|
11550
|
-
|
|
11597
|
+
const value = invoker.value;
|
|
11598
|
+
if (isArray(value)) {
|
|
11599
|
+
const originalStop = e.stopImmediatePropagation;
|
|
11600
|
+
e.stopImmediatePropagation = () => {
|
|
11601
|
+
originalStop.call(e);
|
|
11602
|
+
e._stopped = true;
|
|
11603
|
+
};
|
|
11604
|
+
const handlers = value.slice();
|
|
11605
|
+
const args = [e];
|
|
11606
|
+
for (let i = 0; i < handlers.length; i++) {
|
|
11607
|
+
if (e._stopped) {
|
|
11608
|
+
break;
|
|
11609
|
+
}
|
|
11610
|
+
const handler = handlers[i];
|
|
11611
|
+
if (handler) {
|
|
11612
|
+
callWithAsyncErrorHandling(
|
|
11613
|
+
handler,
|
|
11614
|
+
instance,
|
|
11615
|
+
5,
|
|
11616
|
+
args
|
|
11617
|
+
);
|
|
11618
|
+
}
|
|
11619
|
+
}
|
|
11620
|
+
} else {
|
|
11621
|
+
callWithAsyncErrorHandling(
|
|
11622
|
+
value,
|
|
11623
|
+
instance,
|
|
11624
|
+
5,
|
|
11625
|
+
[e]
|
|
11626
|
+
);
|
|
11627
|
+
}
|
|
11551
11628
|
};
|
|
11552
11629
|
invoker.value = initialValue;
|
|
11553
11630
|
invoker.attached = getNow();
|
|
@@ -11563,20 +11640,6 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
|
11563
11640
|
);
|
|
11564
11641
|
return NOOP;
|
|
11565
11642
|
}
|
|
11566
|
-
function patchStopImmediatePropagation(e, value) {
|
|
11567
|
-
if (isArray(value)) {
|
|
11568
|
-
const originalStop = e.stopImmediatePropagation;
|
|
11569
|
-
e.stopImmediatePropagation = () => {
|
|
11570
|
-
originalStop.call(e);
|
|
11571
|
-
e._stopped = true;
|
|
11572
|
-
};
|
|
11573
|
-
return value.map(
|
|
11574
|
-
(fn) => (e2) => !e2._stopped && fn && fn(e2)
|
|
11575
|
-
);
|
|
11576
|
-
} else {
|
|
11577
|
-
return value;
|
|
11578
|
-
}
|
|
11579
|
-
}
|
|
11580
11643
|
|
|
11581
11644
|
const isNativeOn = (key) => key.charCodeAt(0) === 111 && key.charCodeAt(1) === 110 && // lowercase letter
|
|
11582
11645
|
key.charCodeAt(2) > 96 && key.charCodeAt(2) < 123;
|
|
@@ -16282,7 +16345,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
16282
16345
|
const keyProp = findProp(node, `key`, false, true);
|
|
16283
16346
|
keyProp && keyProp.type === 7;
|
|
16284
16347
|
let keyExp = keyProp && (keyProp.type === 6 ? keyProp.value ? createSimpleExpression(keyProp.value.content, true) : void 0 : keyProp.exp);
|
|
16285
|
-
const keyProperty =
|
|
16348
|
+
const keyProperty = keyExp ? createObjectProperty(`key`, keyExp) : null;
|
|
16286
16349
|
const isStableFragment = forNode.source.type === 4 && forNode.source.constType > 0;
|
|
16287
16350
|
const fragmentFlag = isStableFragment ? 64 : keyProp ? 128 : 256;
|
|
16288
16351
|
forNode.codegenNode = createVNodeCall(
|