@vue/runtime-core 3.5.12 → 3.5.13
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/runtime-core.cjs.js +48 -11
- package/dist/runtime-core.cjs.prod.js +47 -10
- package/dist/runtime-core.d.ts +3 -3
- package/dist/runtime-core.esm-bundler.js +49 -12
- package/package.json +3 -3
package/dist/runtime-core.cjs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/runtime-core v3.5.
|
|
2
|
+
* @vue/runtime-core v3.5.13
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -856,11 +856,32 @@ const TeleportImpl = {
|
|
|
856
856
|
updateCssVars(n2, true);
|
|
857
857
|
}
|
|
858
858
|
if (isTeleportDeferred(n2.props)) {
|
|
859
|
-
queuePostRenderEffect(
|
|
859
|
+
queuePostRenderEffect(() => {
|
|
860
|
+
mountToTarget();
|
|
861
|
+
n2.el.__isMounted = true;
|
|
862
|
+
}, parentSuspense);
|
|
860
863
|
} else {
|
|
861
864
|
mountToTarget();
|
|
862
865
|
}
|
|
863
866
|
} else {
|
|
867
|
+
if (isTeleportDeferred(n2.props) && !n1.el.__isMounted) {
|
|
868
|
+
queuePostRenderEffect(() => {
|
|
869
|
+
TeleportImpl.process(
|
|
870
|
+
n1,
|
|
871
|
+
n2,
|
|
872
|
+
container,
|
|
873
|
+
anchor,
|
|
874
|
+
parentComponent,
|
|
875
|
+
parentSuspense,
|
|
876
|
+
namespace,
|
|
877
|
+
slotScopeIds,
|
|
878
|
+
optimized,
|
|
879
|
+
internals
|
|
880
|
+
);
|
|
881
|
+
delete n1.el.__isMounted;
|
|
882
|
+
}, parentSuspense);
|
|
883
|
+
return;
|
|
884
|
+
}
|
|
864
885
|
n2.el = n1.el;
|
|
865
886
|
n2.targetStart = n1.targetStart;
|
|
866
887
|
const mainAnchor = n2.anchor = n1.anchor;
|
|
@@ -1166,10 +1187,9 @@ const BaseTransitionImpl = {
|
|
|
1166
1187
|
if (innerChild.type !== Comment) {
|
|
1167
1188
|
setTransitionHooks(innerChild, enterHooks);
|
|
1168
1189
|
}
|
|
1169
|
-
|
|
1170
|
-
const oldInnerChild = oldChild && getInnerChild$1(oldChild);
|
|
1190
|
+
let oldInnerChild = instance.subTree && getInnerChild$1(instance.subTree);
|
|
1171
1191
|
if (oldInnerChild && oldInnerChild.type !== Comment && !isSameVNodeType(innerChild, oldInnerChild) && recursiveGetSubtree(instance).type !== Comment) {
|
|
1172
|
-
|
|
1192
|
+
let leavingHooks = resolveTransitionHooks(
|
|
1173
1193
|
oldInnerChild,
|
|
1174
1194
|
rawProps,
|
|
1175
1195
|
state,
|
|
@@ -1184,6 +1204,7 @@ const BaseTransitionImpl = {
|
|
|
1184
1204
|
instance.update();
|
|
1185
1205
|
}
|
|
1186
1206
|
delete leavingHooks.afterLeave;
|
|
1207
|
+
oldInnerChild = void 0;
|
|
1187
1208
|
};
|
|
1188
1209
|
return emptyPlaceholder(child);
|
|
1189
1210
|
} else if (mode === "in-out" && innerChild.type !== Comment) {
|
|
@@ -1197,10 +1218,19 @@ const BaseTransitionImpl = {
|
|
|
1197
1218
|
earlyRemove();
|
|
1198
1219
|
el[leaveCbKey] = void 0;
|
|
1199
1220
|
delete enterHooks.delayedLeave;
|
|
1221
|
+
oldInnerChild = void 0;
|
|
1222
|
+
};
|
|
1223
|
+
enterHooks.delayedLeave = () => {
|
|
1224
|
+
delayedLeave();
|
|
1225
|
+
delete enterHooks.delayedLeave;
|
|
1226
|
+
oldInnerChild = void 0;
|
|
1200
1227
|
};
|
|
1201
|
-
enterHooks.delayedLeave = delayedLeave;
|
|
1202
1228
|
};
|
|
1229
|
+
} else {
|
|
1230
|
+
oldInnerChild = void 0;
|
|
1203
1231
|
}
|
|
1232
|
+
} else if (oldInnerChild) {
|
|
1233
|
+
oldInnerChild = void 0;
|
|
1204
1234
|
}
|
|
1205
1235
|
return child;
|
|
1206
1236
|
};
|
|
@@ -1505,6 +1535,9 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
|
|
|
1505
1535
|
return;
|
|
1506
1536
|
}
|
|
1507
1537
|
if (isAsyncWrapper(vnode) && !isUnmount) {
|
|
1538
|
+
if (vnode.shapeFlag & 512 && vnode.type.__asyncResolved && vnode.component.subTree.component) {
|
|
1539
|
+
setRef(rawRef, oldRawRef, parentSuspense, vnode.component.subTree);
|
|
1540
|
+
}
|
|
1508
1541
|
return;
|
|
1509
1542
|
}
|
|
1510
1543
|
const refValue = vnode.shapeFlag & 4 ? getComponentPublicInstance(vnode.component) : vnode.el;
|
|
@@ -1769,7 +1802,7 @@ function createHydrationFunctions(rendererInternals) {
|
|
|
1769
1802
|
getContainerType(container),
|
|
1770
1803
|
optimized
|
|
1771
1804
|
);
|
|
1772
|
-
if (isAsyncWrapper(vnode)) {
|
|
1805
|
+
if (isAsyncWrapper(vnode) && !vnode.type.__asyncResolved) {
|
|
1773
1806
|
let subTree;
|
|
1774
1807
|
if (isFragmentStart) {
|
|
1775
1808
|
subTree = createVNode(Fragment);
|
|
@@ -2038,6 +2071,10 @@ Server rendered element contains fewer child nodes than client vdom.`
|
|
|
2038
2071
|
getContainerType(container),
|
|
2039
2072
|
slotScopeIds
|
|
2040
2073
|
);
|
|
2074
|
+
if (parentComponent) {
|
|
2075
|
+
parentComponent.vnode.el = vnode.el;
|
|
2076
|
+
updateHOCHostEl(parentComponent, vnode.el);
|
|
2077
|
+
}
|
|
2041
2078
|
return next;
|
|
2042
2079
|
};
|
|
2043
2080
|
const locateClosingAnchor = (node, open = "[", close = "]") => {
|
|
@@ -6477,7 +6514,7 @@ function renderComponentRoot(instance) {
|
|
|
6477
6514
|
}
|
|
6478
6515
|
if (extraAttrs.length) {
|
|
6479
6516
|
warn$1(
|
|
6480
|
-
`Extraneous non-props attributes (${extraAttrs.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.`
|
|
6517
|
+
`Extraneous non-props attributes (${extraAttrs.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text or teleport root nodes.`
|
|
6481
6518
|
);
|
|
6482
6519
|
}
|
|
6483
6520
|
if (eventAttrs.length) {
|
|
@@ -7260,9 +7297,9 @@ function closeBlock() {
|
|
|
7260
7297
|
currentBlock = blockStack[blockStack.length - 1] || null;
|
|
7261
7298
|
}
|
|
7262
7299
|
let isBlockTreeEnabled = 1;
|
|
7263
|
-
function setBlockTracking(value) {
|
|
7300
|
+
function setBlockTracking(value, inVOnce = false) {
|
|
7264
7301
|
isBlockTreeEnabled += value;
|
|
7265
|
-
if (value < 0 && currentBlock) {
|
|
7302
|
+
if (value < 0 && currentBlock && inVOnce) {
|
|
7266
7303
|
currentBlock.hasOnce = true;
|
|
7267
7304
|
}
|
|
7268
7305
|
}
|
|
@@ -8286,7 +8323,7 @@ function isMemoSame(cached, memo) {
|
|
|
8286
8323
|
return true;
|
|
8287
8324
|
}
|
|
8288
8325
|
|
|
8289
|
-
const version = "3.5.
|
|
8326
|
+
const version = "3.5.13";
|
|
8290
8327
|
const warn = warn$1 ;
|
|
8291
8328
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
8292
8329
|
const devtools = devtools$1 ;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/runtime-core v3.5.
|
|
2
|
+
* @vue/runtime-core v3.5.13
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -449,11 +449,32 @@ const TeleportImpl = {
|
|
|
449
449
|
updateCssVars(n2, true);
|
|
450
450
|
}
|
|
451
451
|
if (isTeleportDeferred(n2.props)) {
|
|
452
|
-
queuePostRenderEffect(
|
|
452
|
+
queuePostRenderEffect(() => {
|
|
453
|
+
mountToTarget();
|
|
454
|
+
n2.el.__isMounted = true;
|
|
455
|
+
}, parentSuspense);
|
|
453
456
|
} else {
|
|
454
457
|
mountToTarget();
|
|
455
458
|
}
|
|
456
459
|
} else {
|
|
460
|
+
if (isTeleportDeferred(n2.props) && !n1.el.__isMounted) {
|
|
461
|
+
queuePostRenderEffect(() => {
|
|
462
|
+
TeleportImpl.process(
|
|
463
|
+
n1,
|
|
464
|
+
n2,
|
|
465
|
+
container,
|
|
466
|
+
anchor,
|
|
467
|
+
parentComponent,
|
|
468
|
+
parentSuspense,
|
|
469
|
+
namespace,
|
|
470
|
+
slotScopeIds,
|
|
471
|
+
optimized,
|
|
472
|
+
internals
|
|
473
|
+
);
|
|
474
|
+
delete n1.el.__isMounted;
|
|
475
|
+
}, parentSuspense);
|
|
476
|
+
return;
|
|
477
|
+
}
|
|
457
478
|
n2.el = n1.el;
|
|
458
479
|
n2.targetStart = n1.targetStart;
|
|
459
480
|
const mainAnchor = n2.anchor = n1.anchor;
|
|
@@ -750,10 +771,9 @@ const BaseTransitionImpl = {
|
|
|
750
771
|
if (innerChild.type !== Comment) {
|
|
751
772
|
setTransitionHooks(innerChild, enterHooks);
|
|
752
773
|
}
|
|
753
|
-
|
|
754
|
-
const oldInnerChild = oldChild && getInnerChild$1(oldChild);
|
|
774
|
+
let oldInnerChild = instance.subTree && getInnerChild$1(instance.subTree);
|
|
755
775
|
if (oldInnerChild && oldInnerChild.type !== Comment && !isSameVNodeType(innerChild, oldInnerChild) && recursiveGetSubtree(instance).type !== Comment) {
|
|
756
|
-
|
|
776
|
+
let leavingHooks = resolveTransitionHooks(
|
|
757
777
|
oldInnerChild,
|
|
758
778
|
rawProps,
|
|
759
779
|
state,
|
|
@@ -768,6 +788,7 @@ const BaseTransitionImpl = {
|
|
|
768
788
|
instance.update();
|
|
769
789
|
}
|
|
770
790
|
delete leavingHooks.afterLeave;
|
|
791
|
+
oldInnerChild = void 0;
|
|
771
792
|
};
|
|
772
793
|
return emptyPlaceholder(child);
|
|
773
794
|
} else if (mode === "in-out" && innerChild.type !== Comment) {
|
|
@@ -781,10 +802,19 @@ const BaseTransitionImpl = {
|
|
|
781
802
|
earlyRemove();
|
|
782
803
|
el[leaveCbKey] = void 0;
|
|
783
804
|
delete enterHooks.delayedLeave;
|
|
805
|
+
oldInnerChild = void 0;
|
|
806
|
+
};
|
|
807
|
+
enterHooks.delayedLeave = () => {
|
|
808
|
+
delayedLeave();
|
|
809
|
+
delete enterHooks.delayedLeave;
|
|
810
|
+
oldInnerChild = void 0;
|
|
784
811
|
};
|
|
785
|
-
enterHooks.delayedLeave = delayedLeave;
|
|
786
812
|
};
|
|
813
|
+
} else {
|
|
814
|
+
oldInnerChild = void 0;
|
|
787
815
|
}
|
|
816
|
+
} else if (oldInnerChild) {
|
|
817
|
+
oldInnerChild = void 0;
|
|
788
818
|
}
|
|
789
819
|
return child;
|
|
790
820
|
};
|
|
@@ -1064,6 +1094,9 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
|
|
|
1064
1094
|
return;
|
|
1065
1095
|
}
|
|
1066
1096
|
if (isAsyncWrapper(vnode) && !isUnmount) {
|
|
1097
|
+
if (vnode.shapeFlag & 512 && vnode.type.__asyncResolved && vnode.component.subTree.component) {
|
|
1098
|
+
setRef(rawRef, oldRawRef, parentSuspense, vnode.component.subTree);
|
|
1099
|
+
}
|
|
1067
1100
|
return;
|
|
1068
1101
|
}
|
|
1069
1102
|
const refValue = vnode.shapeFlag & 4 ? getComponentPublicInstance(vnode.component) : vnode.el;
|
|
@@ -1292,7 +1325,7 @@ function createHydrationFunctions(rendererInternals) {
|
|
|
1292
1325
|
getContainerType(container),
|
|
1293
1326
|
optimized
|
|
1294
1327
|
);
|
|
1295
|
-
if (isAsyncWrapper(vnode)) {
|
|
1328
|
+
if (isAsyncWrapper(vnode) && !vnode.type.__asyncResolved) {
|
|
1296
1329
|
let subTree;
|
|
1297
1330
|
if (isFragmentStart) {
|
|
1298
1331
|
subTree = createVNode(Fragment);
|
|
@@ -1529,6 +1562,10 @@ function createHydrationFunctions(rendererInternals) {
|
|
|
1529
1562
|
getContainerType(container),
|
|
1530
1563
|
slotScopeIds
|
|
1531
1564
|
);
|
|
1565
|
+
if (parentComponent) {
|
|
1566
|
+
parentComponent.vnode.el = vnode.el;
|
|
1567
|
+
updateHOCHostEl(parentComponent, vnode.el);
|
|
1568
|
+
}
|
|
1532
1569
|
return next;
|
|
1533
1570
|
};
|
|
1534
1571
|
const locateClosingAnchor = (node, open = "[", close = "]") => {
|
|
@@ -5775,9 +5812,9 @@ function closeBlock() {
|
|
|
5775
5812
|
currentBlock = blockStack[blockStack.length - 1] || null;
|
|
5776
5813
|
}
|
|
5777
5814
|
let isBlockTreeEnabled = 1;
|
|
5778
|
-
function setBlockTracking(value) {
|
|
5815
|
+
function setBlockTracking(value, inVOnce = false) {
|
|
5779
5816
|
isBlockTreeEnabled += value;
|
|
5780
|
-
if (value < 0 && currentBlock) {
|
|
5817
|
+
if (value < 0 && currentBlock && inVOnce) {
|
|
5781
5818
|
currentBlock.hasOnce = true;
|
|
5782
5819
|
}
|
|
5783
5820
|
}
|
|
@@ -6447,7 +6484,7 @@ function isMemoSame(cached, memo) {
|
|
|
6447
6484
|
return true;
|
|
6448
6485
|
}
|
|
6449
6486
|
|
|
6450
|
-
const version = "3.5.
|
|
6487
|
+
const version = "3.5.13";
|
|
6451
6488
|
const warn$1 = shared.NOOP;
|
|
6452
6489
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
6453
6490
|
const devtools = void 0;
|
package/dist/runtime-core.d.ts
CHANGED
|
@@ -223,7 +223,7 @@ type BooleanKey<T, K extends keyof T = keyof T> = K extends any ? [T[K]] extends
|
|
|
223
223
|
export declare function defineEmits<EE extends string = string>(emitOptions: EE[]): EmitFn<EE[]>;
|
|
224
224
|
export declare function defineEmits<E extends EmitsOptions = EmitsOptions>(emitOptions: E): EmitFn<E>;
|
|
225
225
|
export declare function defineEmits<T extends ComponentTypeEmits>(): T extends (...args: any[]) => any ? T : ShortEmits<T>;
|
|
226
|
-
export type ComponentTypeEmits = ((...args: any[]) => any) | Record<string, any
|
|
226
|
+
export type ComponentTypeEmits = ((...args: any[]) => any) | Record<string, any>;
|
|
227
227
|
type RecordToUnion<T extends Record<string, any>> = T[keyof T];
|
|
228
228
|
type ShortEmits<T extends Record<string, any>> = UnionToIntersection<RecordToUnion<{
|
|
229
229
|
[K in keyof T]: (evt: K, ...args: T[K]) => void;
|
|
@@ -1251,7 +1251,7 @@ export declare function openBlock(disableTracking?: boolean): void;
|
|
|
1251
1251
|
*
|
|
1252
1252
|
* ``` js
|
|
1253
1253
|
* _cache[1] || (
|
|
1254
|
-
* setBlockTracking(-1),
|
|
1254
|
+
* setBlockTracking(-1, true),
|
|
1255
1255
|
* _cache[1] = createVNode(...),
|
|
1256
1256
|
* setBlockTracking(1),
|
|
1257
1257
|
* _cache[1]
|
|
@@ -1260,7 +1260,7 @@ export declare function openBlock(disableTracking?: boolean): void;
|
|
|
1260
1260
|
*
|
|
1261
1261
|
* @private
|
|
1262
1262
|
*/
|
|
1263
|
-
export declare function setBlockTracking(value: number): void;
|
|
1263
|
+
export declare function setBlockTracking(value: number, inVOnce?: boolean): void;
|
|
1264
1264
|
/**
|
|
1265
1265
|
* @private
|
|
1266
1266
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/runtime-core v3.5.
|
|
2
|
+
* @vue/runtime-core v3.5.13
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -859,11 +859,32 @@ const TeleportImpl = {
|
|
|
859
859
|
updateCssVars(n2, true);
|
|
860
860
|
}
|
|
861
861
|
if (isTeleportDeferred(n2.props)) {
|
|
862
|
-
queuePostRenderEffect(
|
|
862
|
+
queuePostRenderEffect(() => {
|
|
863
|
+
mountToTarget();
|
|
864
|
+
n2.el.__isMounted = true;
|
|
865
|
+
}, parentSuspense);
|
|
863
866
|
} else {
|
|
864
867
|
mountToTarget();
|
|
865
868
|
}
|
|
866
869
|
} else {
|
|
870
|
+
if (isTeleportDeferred(n2.props) && !n1.el.__isMounted) {
|
|
871
|
+
queuePostRenderEffect(() => {
|
|
872
|
+
TeleportImpl.process(
|
|
873
|
+
n1,
|
|
874
|
+
n2,
|
|
875
|
+
container,
|
|
876
|
+
anchor,
|
|
877
|
+
parentComponent,
|
|
878
|
+
parentSuspense,
|
|
879
|
+
namespace,
|
|
880
|
+
slotScopeIds,
|
|
881
|
+
optimized,
|
|
882
|
+
internals
|
|
883
|
+
);
|
|
884
|
+
delete n1.el.__isMounted;
|
|
885
|
+
}, parentSuspense);
|
|
886
|
+
return;
|
|
887
|
+
}
|
|
867
888
|
n2.el = n1.el;
|
|
868
889
|
n2.targetStart = n1.targetStart;
|
|
869
890
|
const mainAnchor = n2.anchor = n1.anchor;
|
|
@@ -1169,10 +1190,9 @@ const BaseTransitionImpl = {
|
|
|
1169
1190
|
if (innerChild.type !== Comment) {
|
|
1170
1191
|
setTransitionHooks(innerChild, enterHooks);
|
|
1171
1192
|
}
|
|
1172
|
-
|
|
1173
|
-
const oldInnerChild = oldChild && getInnerChild$1(oldChild);
|
|
1193
|
+
let oldInnerChild = instance.subTree && getInnerChild$1(instance.subTree);
|
|
1174
1194
|
if (oldInnerChild && oldInnerChild.type !== Comment && !isSameVNodeType(innerChild, oldInnerChild) && recursiveGetSubtree(instance).type !== Comment) {
|
|
1175
|
-
|
|
1195
|
+
let leavingHooks = resolveTransitionHooks(
|
|
1176
1196
|
oldInnerChild,
|
|
1177
1197
|
rawProps,
|
|
1178
1198
|
state,
|
|
@@ -1187,6 +1207,7 @@ const BaseTransitionImpl = {
|
|
|
1187
1207
|
instance.update();
|
|
1188
1208
|
}
|
|
1189
1209
|
delete leavingHooks.afterLeave;
|
|
1210
|
+
oldInnerChild = void 0;
|
|
1190
1211
|
};
|
|
1191
1212
|
return emptyPlaceholder(child);
|
|
1192
1213
|
} else if (mode === "in-out" && innerChild.type !== Comment) {
|
|
@@ -1200,10 +1221,19 @@ const BaseTransitionImpl = {
|
|
|
1200
1221
|
earlyRemove();
|
|
1201
1222
|
el[leaveCbKey] = void 0;
|
|
1202
1223
|
delete enterHooks.delayedLeave;
|
|
1224
|
+
oldInnerChild = void 0;
|
|
1225
|
+
};
|
|
1226
|
+
enterHooks.delayedLeave = () => {
|
|
1227
|
+
delayedLeave();
|
|
1228
|
+
delete enterHooks.delayedLeave;
|
|
1229
|
+
oldInnerChild = void 0;
|
|
1203
1230
|
};
|
|
1204
|
-
enterHooks.delayedLeave = delayedLeave;
|
|
1205
1231
|
};
|
|
1232
|
+
} else {
|
|
1233
|
+
oldInnerChild = void 0;
|
|
1206
1234
|
}
|
|
1235
|
+
} else if (oldInnerChild) {
|
|
1236
|
+
oldInnerChild = void 0;
|
|
1207
1237
|
}
|
|
1208
1238
|
return child;
|
|
1209
1239
|
};
|
|
@@ -1509,6 +1539,9 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
|
|
|
1509
1539
|
return;
|
|
1510
1540
|
}
|
|
1511
1541
|
if (isAsyncWrapper(vnode) && !isUnmount) {
|
|
1542
|
+
if (vnode.shapeFlag & 512 && vnode.type.__asyncResolved && vnode.component.subTree.component) {
|
|
1543
|
+
setRef(rawRef, oldRawRef, parentSuspense, vnode.component.subTree);
|
|
1544
|
+
}
|
|
1512
1545
|
return;
|
|
1513
1546
|
}
|
|
1514
1547
|
const refValue = vnode.shapeFlag & 4 ? getComponentPublicInstance(vnode.component) : vnode.el;
|
|
@@ -1773,7 +1806,7 @@ function createHydrationFunctions(rendererInternals) {
|
|
|
1773
1806
|
getContainerType(container),
|
|
1774
1807
|
optimized
|
|
1775
1808
|
);
|
|
1776
|
-
if (isAsyncWrapper(vnode)) {
|
|
1809
|
+
if (isAsyncWrapper(vnode) && !vnode.type.__asyncResolved) {
|
|
1777
1810
|
let subTree;
|
|
1778
1811
|
if (isFragmentStart) {
|
|
1779
1812
|
subTree = createVNode(Fragment);
|
|
@@ -2053,6 +2086,10 @@ Server rendered element contains fewer child nodes than client vdom.`
|
|
|
2053
2086
|
getContainerType(container),
|
|
2054
2087
|
slotScopeIds
|
|
2055
2088
|
);
|
|
2089
|
+
if (parentComponent) {
|
|
2090
|
+
parentComponent.vnode.el = vnode.el;
|
|
2091
|
+
updateHOCHostEl(parentComponent, vnode.el);
|
|
2092
|
+
}
|
|
2056
2093
|
return next;
|
|
2057
2094
|
};
|
|
2058
2095
|
const locateClosingAnchor = (node, open = "[", close = "]") => {
|
|
@@ -6534,7 +6571,7 @@ function renderComponentRoot(instance) {
|
|
|
6534
6571
|
}
|
|
6535
6572
|
if (extraAttrs.length) {
|
|
6536
6573
|
warn$1(
|
|
6537
|
-
`Extraneous non-props attributes (${extraAttrs.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.`
|
|
6574
|
+
`Extraneous non-props attributes (${extraAttrs.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text or teleport root nodes.`
|
|
6538
6575
|
);
|
|
6539
6576
|
}
|
|
6540
6577
|
if (eventAttrs.length) {
|
|
@@ -7317,9 +7354,9 @@ function closeBlock() {
|
|
|
7317
7354
|
currentBlock = blockStack[blockStack.length - 1] || null;
|
|
7318
7355
|
}
|
|
7319
7356
|
let isBlockTreeEnabled = 1;
|
|
7320
|
-
function setBlockTracking(value) {
|
|
7357
|
+
function setBlockTracking(value, inVOnce = false) {
|
|
7321
7358
|
isBlockTreeEnabled += value;
|
|
7322
|
-
if (value < 0 && currentBlock) {
|
|
7359
|
+
if (value < 0 && currentBlock && inVOnce) {
|
|
7323
7360
|
currentBlock.hasOnce = true;
|
|
7324
7361
|
}
|
|
7325
7362
|
}
|
|
@@ -7948,7 +7985,7 @@ function finishComponentSetup(instance, isSSR, skipOptions) {
|
|
|
7948
7985
|
const Component = instance.type;
|
|
7949
7986
|
if (!instance.render) {
|
|
7950
7987
|
if (!isSSR && compile && !Component.render) {
|
|
7951
|
-
const template = Component.template || resolveMergedOptions(instance).template;
|
|
7988
|
+
const template = Component.template || __VUE_OPTIONS_API__ && resolveMergedOptions(instance).template;
|
|
7952
7989
|
if (template) {
|
|
7953
7990
|
if (!!(process.env.NODE_ENV !== "production")) {
|
|
7954
7991
|
startMeasure(instance, `compile`);
|
|
@@ -8357,7 +8394,7 @@ function isMemoSame(cached, memo) {
|
|
|
8357
8394
|
return true;
|
|
8358
8395
|
}
|
|
8359
8396
|
|
|
8360
|
-
const version = "3.5.
|
|
8397
|
+
const version = "3.5.13";
|
|
8361
8398
|
const warn = !!(process.env.NODE_ENV !== "production") ? warn$1 : NOOP;
|
|
8362
8399
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
8363
8400
|
const devtools = !!(process.env.NODE_ENV !== "production") || true ? devtools$1 : void 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/runtime-core",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.13",
|
|
4
4
|
"description": "@vue/runtime-core",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/runtime-core.esm-bundler.js",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
},
|
|
47
47
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/runtime-core#readme",
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@vue/shared": "3.5.
|
|
50
|
-
"@vue/reactivity": "3.5.
|
|
49
|
+
"@vue/shared": "3.5.13",
|
|
50
|
+
"@vue/reactivity": "3.5.13"
|
|
51
51
|
}
|
|
52
52
|
}
|