vue 3.4.23 → 3.4.25
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 +1 -1
- package/dist/vue.cjs.prod.js +1 -1
- package/dist/vue.esm-browser.js +46 -40
- package/dist/vue.esm-browser.prod.js +4 -4
- package/dist/vue.esm-bundler.js +1 -1
- package/dist/vue.global.js +46 -40
- package/dist/vue.global.prod.js +4 -4
- package/dist/vue.runtime.esm-browser.js +31 -26
- package/dist/vue.runtime.esm-browser.prod.js +3 -3
- package/dist/vue.runtime.esm-bundler.js +1 -1
- package/dist/vue.runtime.global.js +31 -26
- package/dist/vue.runtime.global.prod.js +4 -4
- package/package.json +6 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* vue v3.4.
|
|
2
|
+
* vue v3.4.25
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -10,7 +10,7 @@ var Vue = (function (exports) {
|
|
|
10
10
|
// @__NO_SIDE_EFFECTS__
|
|
11
11
|
function makeMap(str, expectsLowerCase) {
|
|
12
12
|
const set = new Set(str.split(","));
|
|
13
|
-
return
|
|
13
|
+
return (val) => set.has(val);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
const EMPTY_OBJ = Object.freeze({}) ;
|
|
@@ -2359,21 +2359,21 @@ getter: `, this.getter);
|
|
|
2359
2359
|
vnode,
|
|
2360
2360
|
proxy,
|
|
2361
2361
|
withProxy,
|
|
2362
|
-
props,
|
|
2363
2362
|
propsOptions: [propsOptions],
|
|
2364
2363
|
slots,
|
|
2365
2364
|
attrs,
|
|
2366
2365
|
emit,
|
|
2367
2366
|
render,
|
|
2368
2367
|
renderCache,
|
|
2368
|
+
props,
|
|
2369
2369
|
data,
|
|
2370
2370
|
setupState,
|
|
2371
2371
|
ctx,
|
|
2372
2372
|
inheritAttrs
|
|
2373
2373
|
} = instance;
|
|
2374
|
+
const prev = setCurrentRenderingInstance(instance);
|
|
2374
2375
|
let result;
|
|
2375
2376
|
let fallthroughAttrs;
|
|
2376
|
-
const prev = setCurrentRenderingInstance(instance);
|
|
2377
2377
|
{
|
|
2378
2378
|
accessedAttrs = false;
|
|
2379
2379
|
}
|
|
@@ -2395,7 +2395,7 @@ getter: `, this.getter);
|
|
|
2395
2395
|
thisProxy,
|
|
2396
2396
|
proxyToUse,
|
|
2397
2397
|
renderCache,
|
|
2398
|
-
props,
|
|
2398
|
+
true ? shallowReadonly(props) : props,
|
|
2399
2399
|
setupState,
|
|
2400
2400
|
data,
|
|
2401
2401
|
ctx
|
|
@@ -2409,7 +2409,7 @@ getter: `, this.getter);
|
|
|
2409
2409
|
}
|
|
2410
2410
|
result = normalizeVNode(
|
|
2411
2411
|
render2.length > 1 ? render2(
|
|
2412
|
-
props,
|
|
2412
|
+
true ? shallowReadonly(props) : props,
|
|
2413
2413
|
true ? {
|
|
2414
2414
|
get attrs() {
|
|
2415
2415
|
markAttrsAccessed();
|
|
@@ -2419,9 +2419,8 @@ getter: `, this.getter);
|
|
|
2419
2419
|
emit
|
|
2420
2420
|
} : { attrs, slots, emit }
|
|
2421
2421
|
) : render2(
|
|
2422
|
-
props,
|
|
2422
|
+
true ? shallowReadonly(props) : props,
|
|
2423
2423
|
null
|
|
2424
|
-
/* we know it doesn't need it */
|
|
2425
2424
|
)
|
|
2426
2425
|
);
|
|
2427
2426
|
fallthroughAttrs = Component.props ? attrs : getFunctionalFallthrough(attrs);
|
|
@@ -3882,11 +3881,21 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
3882
3881
|
}
|
|
3883
3882
|
}
|
|
3884
3883
|
function getKeepAliveChild(vnode) {
|
|
3885
|
-
|
|
3886
|
-
|
|
3887
|
-
|
|
3888
|
-
|
|
3889
|
-
|
|
3884
|
+
if (!isKeepAlive(vnode)) {
|
|
3885
|
+
return vnode;
|
|
3886
|
+
}
|
|
3887
|
+
if (vnode.component) {
|
|
3888
|
+
return vnode.component.subTree;
|
|
3889
|
+
}
|
|
3890
|
+
const { shapeFlag, children } = vnode;
|
|
3891
|
+
if (children) {
|
|
3892
|
+
if (shapeFlag & 16) {
|
|
3893
|
+
return children[0];
|
|
3894
|
+
}
|
|
3895
|
+
if (shapeFlag & 32 && isFunction(children.default)) {
|
|
3896
|
+
return children.default();
|
|
3897
|
+
}
|
|
3898
|
+
}
|
|
3890
3899
|
}
|
|
3891
3900
|
function setTransitionHooks(vnode, hooks) {
|
|
3892
3901
|
if (vnode.shapeFlag & 6 && vnode.component) {
|
|
@@ -5485,7 +5494,7 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
5485
5494
|
return !!(currentInstance || currentRenderingInstance || currentApp);
|
|
5486
5495
|
}
|
|
5487
5496
|
|
|
5488
|
-
const internalObjectProto =
|
|
5497
|
+
const internalObjectProto = {};
|
|
5489
5498
|
const createInternalObject = () => Object.create(internalObjectProto);
|
|
5490
5499
|
const isInternalObject = (obj) => Object.getPrototypeOf(obj) === internalObjectProto;
|
|
5491
5500
|
|
|
@@ -5938,21 +5947,17 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
5938
5947
|
instance.slots.default = () => normalized;
|
|
5939
5948
|
};
|
|
5940
5949
|
const initSlots = (instance, children) => {
|
|
5950
|
+
const slots = instance.slots = createInternalObject();
|
|
5941
5951
|
if (instance.vnode.shapeFlag & 32) {
|
|
5942
5952
|
const type = children._;
|
|
5943
5953
|
if (type) {
|
|
5944
|
-
|
|
5945
|
-
def(
|
|
5954
|
+
extend(slots, children);
|
|
5955
|
+
def(slots, "_", type);
|
|
5946
5956
|
} else {
|
|
5947
|
-
normalizeObjectSlots(
|
|
5948
|
-
children,
|
|
5949
|
-
instance.slots = createInternalObject());
|
|
5950
|
-
}
|
|
5951
|
-
} else {
|
|
5952
|
-
instance.slots = createInternalObject();
|
|
5953
|
-
if (children) {
|
|
5954
|
-
normalizeVNodeSlots(instance, children);
|
|
5957
|
+
normalizeObjectSlots(children, slots);
|
|
5955
5958
|
}
|
|
5959
|
+
} else if (children) {
|
|
5960
|
+
normalizeVNodeSlots(instance, children);
|
|
5956
5961
|
}
|
|
5957
5962
|
};
|
|
5958
5963
|
const updateSlots = (instance, children, optimized) => {
|
|
@@ -9546,7 +9551,7 @@ Component that was made reactive: `,
|
|
|
9546
9551
|
return true;
|
|
9547
9552
|
}
|
|
9548
9553
|
|
|
9549
|
-
const version = "3.4.
|
|
9554
|
+
const version = "3.4.25";
|
|
9550
9555
|
const warn = warn$1 ;
|
|
9551
9556
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
9552
9557
|
const devtools = devtools$1 ;
|
|
@@ -9742,8 +9747,8 @@ Component that was made reactive: `,
|
|
|
9742
9747
|
el._isLeaving = true;
|
|
9743
9748
|
const resolve = () => finishLeave(el, done);
|
|
9744
9749
|
addTransitionClass(el, leaveFromClass);
|
|
9745
|
-
forceReflow();
|
|
9746
9750
|
addTransitionClass(el, leaveActiveClass);
|
|
9751
|
+
forceReflow();
|
|
9747
9752
|
nextFrame(() => {
|
|
9748
9753
|
if (!el._isLeaving) {
|
|
9749
9754
|
return;
|