@vue/compat 3.5.0 → 3.5.1
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 +39 -27
- package/dist/vue.cjs.prod.js +39 -27
- package/dist/vue.esm-browser.js +39 -27
- package/dist/vue.esm-browser.prod.js +6 -6
- package/dist/vue.esm-bundler.js +39 -27
- package/dist/vue.global.js +39 -27
- package/dist/vue.global.prod.js +6 -6
- package/dist/vue.runtime.esm-browser.js +38 -26
- package/dist/vue.runtime.esm-browser.prod.js +2 -2
- package/dist/vue.runtime.esm-bundler.js +38 -26
- package/dist/vue.runtime.global.js +38 -26
- package/dist/vue.runtime.global.prod.js +2 -2
- package/package.json +2 -2
package/dist/vue.cjs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compat v3.5.
|
|
2
|
+
* @vue/compat v3.5.1
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -1092,7 +1092,7 @@ const arrayInstrumentations = {
|
|
|
1092
1092
|
},
|
|
1093
1093
|
concat(...args) {
|
|
1094
1094
|
return reactiveReadArray(this).concat(
|
|
1095
|
-
...args.map((x) => reactiveReadArray(x))
|
|
1095
|
+
...args.map((x) => isArray(x) ? reactiveReadArray(x) : x)
|
|
1096
1096
|
);
|
|
1097
1097
|
},
|
|
1098
1098
|
entries() {
|
|
@@ -3946,7 +3946,9 @@ const BaseTransitionImpl = {
|
|
|
3946
3946
|
// #11061, ensure enterHooks is fresh after clone
|
|
3947
3947
|
(hooks) => enterHooks = hooks
|
|
3948
3948
|
);
|
|
3949
|
-
|
|
3949
|
+
if (innerChild.type !== Comment) {
|
|
3950
|
+
setTransitionHooks(innerChild, enterHooks);
|
|
3951
|
+
}
|
|
3950
3952
|
const oldChild = instance.subTree;
|
|
3951
3953
|
const oldInnerChild = oldChild && getInnerChild$1(oldChild);
|
|
3952
3954
|
if (oldInnerChild && oldInnerChild.type !== Comment && !isSameVNodeType(innerChild, oldInnerChild) && recursiveGetSubtree(instance).type !== Comment) {
|
|
@@ -4272,10 +4274,11 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
|
|
|
4272
4274
|
const oldRef = oldRawRef && oldRawRef.r;
|
|
4273
4275
|
const refs = owner.refs === EMPTY_OBJ ? owner.refs = {} : owner.refs;
|
|
4274
4276
|
const setupState = owner.setupState;
|
|
4277
|
+
const canSetSetupRef = setupState === EMPTY_OBJ ? () => false : (key) => hasOwn(setupState, key) && !(Object.getOwnPropertyDescriptor(refs, key) || EMPTY_OBJ).get;
|
|
4275
4278
|
if (oldRef != null && oldRef !== ref) {
|
|
4276
4279
|
if (isString(oldRef)) {
|
|
4277
4280
|
refs[oldRef] = null;
|
|
4278
|
-
if (
|
|
4281
|
+
if (canSetSetupRef(oldRef)) {
|
|
4279
4282
|
setupState[oldRef] = null;
|
|
4280
4283
|
}
|
|
4281
4284
|
} else if (isRef(oldRef)) {
|
|
@@ -4290,14 +4293,14 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
|
|
|
4290
4293
|
if (_isString || _isRef) {
|
|
4291
4294
|
const doSet = () => {
|
|
4292
4295
|
if (rawRef.f) {
|
|
4293
|
-
const existing = _isString ?
|
|
4296
|
+
const existing = _isString ? canSetSetupRef(ref) ? setupState[ref] : refs[ref] : ref.value;
|
|
4294
4297
|
if (isUnmount) {
|
|
4295
4298
|
isArray(existing) && remove(existing, refValue);
|
|
4296
4299
|
} else {
|
|
4297
4300
|
if (!isArray(existing)) {
|
|
4298
4301
|
if (_isString) {
|
|
4299
4302
|
refs[ref] = [refValue];
|
|
4300
|
-
if (
|
|
4303
|
+
if (canSetSetupRef(ref)) {
|
|
4301
4304
|
setupState[ref] = refs[ref];
|
|
4302
4305
|
}
|
|
4303
4306
|
} else {
|
|
@@ -4310,7 +4313,7 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
|
|
|
4310
4313
|
}
|
|
4311
4314
|
} else if (_isString) {
|
|
4312
4315
|
refs[ref] = value;
|
|
4313
|
-
if (
|
|
4316
|
+
if (canSetSetupRef(ref)) {
|
|
4314
4317
|
setupState[ref] = value;
|
|
4315
4318
|
}
|
|
4316
4319
|
} else if (_isRef) {
|
|
@@ -5387,10 +5390,11 @@ const KeepAliveImpl = {
|
|
|
5387
5390
|
};
|
|
5388
5391
|
}
|
|
5389
5392
|
};
|
|
5390
|
-
{
|
|
5391
|
-
|
|
5392
|
-
|
|
5393
|
-
|
|
5393
|
+
const decorate$2 = (t) => {
|
|
5394
|
+
t.__isBuiltIn = true;
|
|
5395
|
+
return t;
|
|
5396
|
+
};
|
|
5397
|
+
const KeepAlive = /* @__PURE__ */ decorate$2(KeepAliveImpl) ;
|
|
5394
5398
|
function matches(pattern, name) {
|
|
5395
5399
|
if (isArray(pattern)) {
|
|
5396
5400
|
return pattern.some((p) => matches(p, name));
|
|
@@ -7102,7 +7106,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
|
|
|
7102
7106
|
return vm;
|
|
7103
7107
|
}
|
|
7104
7108
|
}
|
|
7105
|
-
Vue.version = `2.6.14-compat:${"3.5.
|
|
7109
|
+
Vue.version = `2.6.14-compat:${"3.5.1"}`;
|
|
7106
7110
|
Vue.config = singletonApp.config;
|
|
7107
7111
|
Vue.use = (plugin, ...options) => {
|
|
7108
7112
|
if (plugin && isFunction(plugin.install)) {
|
|
@@ -12238,7 +12242,7 @@ function isMemoSame(cached, memo) {
|
|
|
12238
12242
|
return true;
|
|
12239
12243
|
}
|
|
12240
12244
|
|
|
12241
|
-
const version = "3.5.
|
|
12245
|
+
const version = "3.5.1";
|
|
12242
12246
|
const warn = warn$1 ;
|
|
12243
12247
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
12244
12248
|
const devtools = devtools$1 ;
|
|
@@ -12349,11 +12353,6 @@ const nodeOps = {
|
|
|
12349
12353
|
const TRANSITION$1 = "transition";
|
|
12350
12354
|
const ANIMATION = "animation";
|
|
12351
12355
|
const vtcKey = Symbol("_vtc");
|
|
12352
|
-
const Transition = (props, { slots }) => h(BaseTransition, resolveTransitionProps(props), slots);
|
|
12353
|
-
Transition.displayName = "Transition";
|
|
12354
|
-
{
|
|
12355
|
-
Transition.__isBuiltIn = true;
|
|
12356
|
-
}
|
|
12357
12356
|
const DOMTransitionPropsValidators = {
|
|
12358
12357
|
name: String,
|
|
12359
12358
|
type: String,
|
|
@@ -12372,11 +12371,22 @@ const DOMTransitionPropsValidators = {
|
|
|
12372
12371
|
leaveActiveClass: String,
|
|
12373
12372
|
leaveToClass: String
|
|
12374
12373
|
};
|
|
12375
|
-
const TransitionPropsValidators =
|
|
12374
|
+
const TransitionPropsValidators = /* @__PURE__ */ extend(
|
|
12376
12375
|
{},
|
|
12377
12376
|
BaseTransitionPropsValidators,
|
|
12378
12377
|
DOMTransitionPropsValidators
|
|
12379
12378
|
);
|
|
12379
|
+
const decorate$1 = (t) => {
|
|
12380
|
+
t.displayName = "Transition";
|
|
12381
|
+
t.props = TransitionPropsValidators;
|
|
12382
|
+
{
|
|
12383
|
+
t.__isBuiltIn = true;
|
|
12384
|
+
}
|
|
12385
|
+
return t;
|
|
12386
|
+
};
|
|
12387
|
+
const Transition = /* @__PURE__ */ decorate$1(
|
|
12388
|
+
(props, { slots }) => h(BaseTransition, resolveTransitionProps(props), slots)
|
|
12389
|
+
);
|
|
12380
12390
|
const callHook = (hook, args = []) => {
|
|
12381
12391
|
if (isArray(hook)) {
|
|
12382
12392
|
hook.forEach((h2) => h2(...args));
|
|
@@ -13524,7 +13534,14 @@ const positionMap = /* @__PURE__ */ new WeakMap();
|
|
|
13524
13534
|
const newPositionMap = /* @__PURE__ */ new WeakMap();
|
|
13525
13535
|
const moveCbKey = Symbol("_moveCb");
|
|
13526
13536
|
const enterCbKey = Symbol("_enterCb");
|
|
13527
|
-
const
|
|
13537
|
+
const decorate = (t) => {
|
|
13538
|
+
delete t.props.mode;
|
|
13539
|
+
{
|
|
13540
|
+
t.__isBuiltIn = true;
|
|
13541
|
+
}
|
|
13542
|
+
return t;
|
|
13543
|
+
};
|
|
13544
|
+
const TransitionGroupImpl = /* @__PURE__ */ decorate({
|
|
13528
13545
|
name: "TransitionGroup",
|
|
13529
13546
|
props: /* @__PURE__ */ extend({}, TransitionPropsValidators, {
|
|
13530
13547
|
tag: String,
|
|
@@ -13616,12 +13633,7 @@ const TransitionGroupImpl = {
|
|
|
13616
13633
|
return createVNode(tag, null, children);
|
|
13617
13634
|
};
|
|
13618
13635
|
}
|
|
13619
|
-
};
|
|
13620
|
-
{
|
|
13621
|
-
TransitionGroupImpl.__isBuiltIn = true;
|
|
13622
|
-
}
|
|
13623
|
-
const removeMode = (props) => delete props.mode;
|
|
13624
|
-
/* @__PURE__ */ removeMode(TransitionGroupImpl.props);
|
|
13636
|
+
});
|
|
13625
13637
|
const TransitionGroup = TransitionGroupImpl;
|
|
13626
13638
|
function callPendingCbs(c) {
|
|
13627
13639
|
const el = c.el;
|
|
@@ -17623,7 +17635,7 @@ function createStructuralDirectiveTransform(name, fn) {
|
|
|
17623
17635
|
};
|
|
17624
17636
|
}
|
|
17625
17637
|
|
|
17626
|
-
const PURE_ANNOTATION =
|
|
17638
|
+
const PURE_ANNOTATION = `/*@__PURE__*/`;
|
|
17627
17639
|
const aliasHelper = (s) => `${helperNameMap[s]}: _${helperNameMap[s]}`;
|
|
17628
17640
|
function createCodegenContext(ast, {
|
|
17629
17641
|
mode = "function",
|
package/dist/vue.cjs.prod.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compat v3.5.
|
|
2
|
+
* @vue/compat v3.5.1
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -958,7 +958,7 @@ const arrayInstrumentations = {
|
|
|
958
958
|
},
|
|
959
959
|
concat(...args) {
|
|
960
960
|
return reactiveReadArray(this).concat(
|
|
961
|
-
...args.map((x) => reactiveReadArray(x))
|
|
961
|
+
...args.map((x) => isArray(x) ? reactiveReadArray(x) : x)
|
|
962
962
|
);
|
|
963
963
|
},
|
|
964
964
|
entries() {
|
|
@@ -3034,7 +3034,9 @@ const BaseTransitionImpl = {
|
|
|
3034
3034
|
// #11061, ensure enterHooks is fresh after clone
|
|
3035
3035
|
(hooks) => enterHooks = hooks
|
|
3036
3036
|
);
|
|
3037
|
-
|
|
3037
|
+
if (innerChild.type !== Comment) {
|
|
3038
|
+
setTransitionHooks(innerChild, enterHooks);
|
|
3039
|
+
}
|
|
3038
3040
|
const oldChild = instance.subTree;
|
|
3039
3041
|
const oldInnerChild = oldChild && getInnerChild$1(oldChild);
|
|
3040
3042
|
if (oldInnerChild && oldInnerChild.type !== Comment && !isSameVNodeType(innerChild, oldInnerChild) && recursiveGetSubtree(instance).type !== Comment) {
|
|
@@ -3340,10 +3342,11 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
|
|
|
3340
3342
|
const oldRef = oldRawRef && oldRawRef.r;
|
|
3341
3343
|
const refs = owner.refs === EMPTY_OBJ ? owner.refs = {} : owner.refs;
|
|
3342
3344
|
const setupState = owner.setupState;
|
|
3345
|
+
const canSetSetupRef = setupState === EMPTY_OBJ ? () => false : (key) => hasOwn(setupState, key) && !(Object.getOwnPropertyDescriptor(refs, key) || EMPTY_OBJ).get;
|
|
3343
3346
|
if (oldRef != null && oldRef !== ref) {
|
|
3344
3347
|
if (isString(oldRef)) {
|
|
3345
3348
|
refs[oldRef] = null;
|
|
3346
|
-
if (
|
|
3349
|
+
if (canSetSetupRef(oldRef)) {
|
|
3347
3350
|
setupState[oldRef] = null;
|
|
3348
3351
|
}
|
|
3349
3352
|
} else if (isRef(oldRef)) {
|
|
@@ -3358,14 +3361,14 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
|
|
|
3358
3361
|
if (_isString || _isRef) {
|
|
3359
3362
|
const doSet = () => {
|
|
3360
3363
|
if (rawRef.f) {
|
|
3361
|
-
const existing = _isString ?
|
|
3364
|
+
const existing = _isString ? canSetSetupRef(ref) ? setupState[ref] : refs[ref] : ref.value;
|
|
3362
3365
|
if (isUnmount) {
|
|
3363
3366
|
isArray(existing) && remove(existing, refValue);
|
|
3364
3367
|
} else {
|
|
3365
3368
|
if (!isArray(existing)) {
|
|
3366
3369
|
if (_isString) {
|
|
3367
3370
|
refs[ref] = [refValue];
|
|
3368
|
-
if (
|
|
3371
|
+
if (canSetSetupRef(ref)) {
|
|
3369
3372
|
setupState[ref] = refs[ref];
|
|
3370
3373
|
}
|
|
3371
3374
|
} else {
|
|
@@ -3378,7 +3381,7 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
|
|
|
3378
3381
|
}
|
|
3379
3382
|
} else if (_isString) {
|
|
3380
3383
|
refs[ref] = value;
|
|
3381
|
-
if (
|
|
3384
|
+
if (canSetSetupRef(ref)) {
|
|
3382
3385
|
setupState[ref] = value;
|
|
3383
3386
|
}
|
|
3384
3387
|
} else if (_isRef) {
|
|
@@ -4263,10 +4266,11 @@ const KeepAliveImpl = {
|
|
|
4263
4266
|
};
|
|
4264
4267
|
}
|
|
4265
4268
|
};
|
|
4266
|
-
{
|
|
4267
|
-
|
|
4268
|
-
|
|
4269
|
-
|
|
4269
|
+
const decorate$2 = (t) => {
|
|
4270
|
+
t.__isBuiltIn = true;
|
|
4271
|
+
return t;
|
|
4272
|
+
};
|
|
4273
|
+
const KeepAlive = /* @__PURE__ */ decorate$2(KeepAliveImpl) ;
|
|
4270
4274
|
function matches(pattern, name) {
|
|
4271
4275
|
if (isArray(pattern)) {
|
|
4272
4276
|
return pattern.some((p) => matches(p, name));
|
|
@@ -5702,7 +5706,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
|
|
|
5702
5706
|
return vm;
|
|
5703
5707
|
}
|
|
5704
5708
|
}
|
|
5705
|
-
Vue.version = `2.6.14-compat:${"3.5.
|
|
5709
|
+
Vue.version = `2.6.14-compat:${"3.5.1"}`;
|
|
5706
5710
|
Vue.config = singletonApp.config;
|
|
5707
5711
|
Vue.use = (plugin, ...options) => {
|
|
5708
5712
|
if (plugin && isFunction(plugin.install)) {
|
|
@@ -9838,7 +9842,7 @@ function isMemoSame(cached, memo) {
|
|
|
9838
9842
|
return true;
|
|
9839
9843
|
}
|
|
9840
9844
|
|
|
9841
|
-
const version = "3.5.
|
|
9845
|
+
const version = "3.5.1";
|
|
9842
9846
|
const warn$1 = NOOP;
|
|
9843
9847
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
9844
9848
|
const devtools = void 0;
|
|
@@ -9948,11 +9952,6 @@ const nodeOps = {
|
|
|
9948
9952
|
const TRANSITION$1 = "transition";
|
|
9949
9953
|
const ANIMATION = "animation";
|
|
9950
9954
|
const vtcKey = Symbol("_vtc");
|
|
9951
|
-
const Transition = (props, { slots }) => h(BaseTransition, resolveTransitionProps(props), slots);
|
|
9952
|
-
Transition.displayName = "Transition";
|
|
9953
|
-
{
|
|
9954
|
-
Transition.__isBuiltIn = true;
|
|
9955
|
-
}
|
|
9956
9955
|
const DOMTransitionPropsValidators = {
|
|
9957
9956
|
name: String,
|
|
9958
9957
|
type: String,
|
|
@@ -9971,11 +9970,22 @@ const DOMTransitionPropsValidators = {
|
|
|
9971
9970
|
leaveActiveClass: String,
|
|
9972
9971
|
leaveToClass: String
|
|
9973
9972
|
};
|
|
9974
|
-
const TransitionPropsValidators =
|
|
9973
|
+
const TransitionPropsValidators = /* @__PURE__ */ extend$1(
|
|
9975
9974
|
{},
|
|
9976
9975
|
BaseTransitionPropsValidators,
|
|
9977
9976
|
DOMTransitionPropsValidators
|
|
9978
9977
|
);
|
|
9978
|
+
const decorate$1 = (t) => {
|
|
9979
|
+
t.displayName = "Transition";
|
|
9980
|
+
t.props = TransitionPropsValidators;
|
|
9981
|
+
{
|
|
9982
|
+
t.__isBuiltIn = true;
|
|
9983
|
+
}
|
|
9984
|
+
return t;
|
|
9985
|
+
};
|
|
9986
|
+
const Transition = /* @__PURE__ */ decorate$1(
|
|
9987
|
+
(props, { slots }) => h(BaseTransition, resolveTransitionProps(props), slots)
|
|
9988
|
+
);
|
|
9979
9989
|
const callHook = (hook, args = []) => {
|
|
9980
9990
|
if (isArray(hook)) {
|
|
9981
9991
|
hook.forEach((h2) => h2(...args));
|
|
@@ -11026,7 +11036,14 @@ const positionMap = /* @__PURE__ */ new WeakMap();
|
|
|
11026
11036
|
const newPositionMap = /* @__PURE__ */ new WeakMap();
|
|
11027
11037
|
const moveCbKey = Symbol("_moveCb");
|
|
11028
11038
|
const enterCbKey = Symbol("_enterCb");
|
|
11029
|
-
const
|
|
11039
|
+
const decorate = (t) => {
|
|
11040
|
+
delete t.props.mode;
|
|
11041
|
+
{
|
|
11042
|
+
t.__isBuiltIn = true;
|
|
11043
|
+
}
|
|
11044
|
+
return t;
|
|
11045
|
+
};
|
|
11046
|
+
const TransitionGroupImpl = /* @__PURE__ */ decorate({
|
|
11030
11047
|
name: "TransitionGroup",
|
|
11031
11048
|
props: /* @__PURE__ */ extend$1({}, TransitionPropsValidators, {
|
|
11032
11049
|
tag: String,
|
|
@@ -11116,12 +11133,7 @@ const TransitionGroupImpl = {
|
|
|
11116
11133
|
return createVNode(tag, null, children);
|
|
11117
11134
|
};
|
|
11118
11135
|
}
|
|
11119
|
-
};
|
|
11120
|
-
{
|
|
11121
|
-
TransitionGroupImpl.__isBuiltIn = true;
|
|
11122
|
-
}
|
|
11123
|
-
const removeMode = (props) => delete props.mode;
|
|
11124
|
-
/* @__PURE__ */ removeMode(TransitionGroupImpl.props);
|
|
11136
|
+
});
|
|
11125
11137
|
const TransitionGroup = TransitionGroupImpl;
|
|
11126
11138
|
function callPendingCbs(c) {
|
|
11127
11139
|
const el = c.el;
|
|
@@ -14938,7 +14950,7 @@ function createStructuralDirectiveTransform(name, fn) {
|
|
|
14938
14950
|
};
|
|
14939
14951
|
}
|
|
14940
14952
|
|
|
14941
|
-
const PURE_ANNOTATION =
|
|
14953
|
+
const PURE_ANNOTATION = `/*@__PURE__*/`;
|
|
14942
14954
|
const aliasHelper = (s) => `${helperNameMap[s]}: _${helperNameMap[s]}`;
|
|
14943
14955
|
function createCodegenContext(ast, {
|
|
14944
14956
|
mode = "function",
|
package/dist/vue.esm-browser.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compat v3.5.
|
|
2
|
+
* @vue/compat v3.5.1
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -1042,7 +1042,7 @@ const arrayInstrumentations = {
|
|
|
1042
1042
|
},
|
|
1043
1043
|
concat(...args) {
|
|
1044
1044
|
return reactiveReadArray(this).concat(
|
|
1045
|
-
...args.map((x) => reactiveReadArray(x))
|
|
1045
|
+
...args.map((x) => isArray(x) ? reactiveReadArray(x) : x)
|
|
1046
1046
|
);
|
|
1047
1047
|
},
|
|
1048
1048
|
entries() {
|
|
@@ -3896,7 +3896,9 @@ const BaseTransitionImpl = {
|
|
|
3896
3896
|
// #11061, ensure enterHooks is fresh after clone
|
|
3897
3897
|
(hooks) => enterHooks = hooks
|
|
3898
3898
|
);
|
|
3899
|
-
|
|
3899
|
+
if (innerChild.type !== Comment) {
|
|
3900
|
+
setTransitionHooks(innerChild, enterHooks);
|
|
3901
|
+
}
|
|
3900
3902
|
const oldChild = instance.subTree;
|
|
3901
3903
|
const oldInnerChild = oldChild && getInnerChild$1(oldChild);
|
|
3902
3904
|
if (oldInnerChild && oldInnerChild.type !== Comment && !isSameVNodeType(innerChild, oldInnerChild) && recursiveGetSubtree(instance).type !== Comment) {
|
|
@@ -4222,10 +4224,11 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
|
|
|
4222
4224
|
const oldRef = oldRawRef && oldRawRef.r;
|
|
4223
4225
|
const refs = owner.refs === EMPTY_OBJ ? owner.refs = {} : owner.refs;
|
|
4224
4226
|
const setupState = owner.setupState;
|
|
4227
|
+
const canSetSetupRef = setupState === EMPTY_OBJ ? () => false : (key) => hasOwn(setupState, key) && !(Object.getOwnPropertyDescriptor(refs, key) || EMPTY_OBJ).get;
|
|
4225
4228
|
if (oldRef != null && oldRef !== ref) {
|
|
4226
4229
|
if (isString(oldRef)) {
|
|
4227
4230
|
refs[oldRef] = null;
|
|
4228
|
-
if (
|
|
4231
|
+
if (canSetSetupRef(oldRef)) {
|
|
4229
4232
|
setupState[oldRef] = null;
|
|
4230
4233
|
}
|
|
4231
4234
|
} else if (isRef(oldRef)) {
|
|
@@ -4240,14 +4243,14 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
|
|
|
4240
4243
|
if (_isString || _isRef) {
|
|
4241
4244
|
const doSet = () => {
|
|
4242
4245
|
if (rawRef.f) {
|
|
4243
|
-
const existing = _isString ?
|
|
4246
|
+
const existing = _isString ? canSetSetupRef(ref) ? setupState[ref] : refs[ref] : ref.value;
|
|
4244
4247
|
if (isUnmount) {
|
|
4245
4248
|
isArray(existing) && remove(existing, refValue);
|
|
4246
4249
|
} else {
|
|
4247
4250
|
if (!isArray(existing)) {
|
|
4248
4251
|
if (_isString) {
|
|
4249
4252
|
refs[ref] = [refValue];
|
|
4250
|
-
if (
|
|
4253
|
+
if (canSetSetupRef(ref)) {
|
|
4251
4254
|
setupState[ref] = refs[ref];
|
|
4252
4255
|
}
|
|
4253
4256
|
} else {
|
|
@@ -4260,7 +4263,7 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
|
|
|
4260
4263
|
}
|
|
4261
4264
|
} else if (_isString) {
|
|
4262
4265
|
refs[ref] = value;
|
|
4263
|
-
if (
|
|
4266
|
+
if (canSetSetupRef(ref)) {
|
|
4264
4267
|
setupState[ref] = value;
|
|
4265
4268
|
}
|
|
4266
4269
|
} else if (_isRef) {
|
|
@@ -5337,10 +5340,11 @@ const KeepAliveImpl = {
|
|
|
5337
5340
|
};
|
|
5338
5341
|
}
|
|
5339
5342
|
};
|
|
5340
|
-
{
|
|
5341
|
-
|
|
5342
|
-
|
|
5343
|
-
|
|
5343
|
+
const decorate$2 = (t) => {
|
|
5344
|
+
t.__isBuiltIn = true;
|
|
5345
|
+
return t;
|
|
5346
|
+
};
|
|
5347
|
+
const KeepAlive = /* @__PURE__ */ decorate$2(KeepAliveImpl) ;
|
|
5344
5348
|
function matches(pattern, name) {
|
|
5345
5349
|
if (isArray(pattern)) {
|
|
5346
5350
|
return pattern.some((p) => matches(p, name));
|
|
@@ -7052,7 +7056,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
|
|
|
7052
7056
|
return vm;
|
|
7053
7057
|
}
|
|
7054
7058
|
}
|
|
7055
|
-
Vue.version = `2.6.14-compat:${"3.5.
|
|
7059
|
+
Vue.version = `2.6.14-compat:${"3.5.1"}`;
|
|
7056
7060
|
Vue.config = singletonApp.config;
|
|
7057
7061
|
Vue.use = (plugin, ...options) => {
|
|
7058
7062
|
if (plugin && isFunction(plugin.install)) {
|
|
@@ -12188,7 +12192,7 @@ function isMemoSame(cached, memo) {
|
|
|
12188
12192
|
return true;
|
|
12189
12193
|
}
|
|
12190
12194
|
|
|
12191
|
-
const version = "3.5.
|
|
12195
|
+
const version = "3.5.1";
|
|
12192
12196
|
const warn = warn$1 ;
|
|
12193
12197
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
12194
12198
|
const devtools = devtools$1 ;
|
|
@@ -12299,11 +12303,6 @@ const nodeOps = {
|
|
|
12299
12303
|
const TRANSITION$1 = "transition";
|
|
12300
12304
|
const ANIMATION = "animation";
|
|
12301
12305
|
const vtcKey = Symbol("_vtc");
|
|
12302
|
-
const Transition = (props, { slots }) => h(BaseTransition, resolveTransitionProps(props), slots);
|
|
12303
|
-
Transition.displayName = "Transition";
|
|
12304
|
-
{
|
|
12305
|
-
Transition.__isBuiltIn = true;
|
|
12306
|
-
}
|
|
12307
12306
|
const DOMTransitionPropsValidators = {
|
|
12308
12307
|
name: String,
|
|
12309
12308
|
type: String,
|
|
@@ -12322,11 +12321,22 @@ const DOMTransitionPropsValidators = {
|
|
|
12322
12321
|
leaveActiveClass: String,
|
|
12323
12322
|
leaveToClass: String
|
|
12324
12323
|
};
|
|
12325
|
-
const TransitionPropsValidators =
|
|
12324
|
+
const TransitionPropsValidators = /* @__PURE__ */ extend(
|
|
12326
12325
|
{},
|
|
12327
12326
|
BaseTransitionPropsValidators,
|
|
12328
12327
|
DOMTransitionPropsValidators
|
|
12329
12328
|
);
|
|
12329
|
+
const decorate$1 = (t) => {
|
|
12330
|
+
t.displayName = "Transition";
|
|
12331
|
+
t.props = TransitionPropsValidators;
|
|
12332
|
+
{
|
|
12333
|
+
t.__isBuiltIn = true;
|
|
12334
|
+
}
|
|
12335
|
+
return t;
|
|
12336
|
+
};
|
|
12337
|
+
const Transition = /* @__PURE__ */ decorate$1(
|
|
12338
|
+
(props, { slots }) => h(BaseTransition, resolveTransitionProps(props), slots)
|
|
12339
|
+
);
|
|
12330
12340
|
const callHook = (hook, args = []) => {
|
|
12331
12341
|
if (isArray(hook)) {
|
|
12332
12342
|
hook.forEach((h2) => h2(...args));
|
|
@@ -13540,7 +13550,14 @@ const positionMap = /* @__PURE__ */ new WeakMap();
|
|
|
13540
13550
|
const newPositionMap = /* @__PURE__ */ new WeakMap();
|
|
13541
13551
|
const moveCbKey = Symbol("_moveCb");
|
|
13542
13552
|
const enterCbKey = Symbol("_enterCb");
|
|
13543
|
-
const
|
|
13553
|
+
const decorate = (t) => {
|
|
13554
|
+
delete t.props.mode;
|
|
13555
|
+
{
|
|
13556
|
+
t.__isBuiltIn = true;
|
|
13557
|
+
}
|
|
13558
|
+
return t;
|
|
13559
|
+
};
|
|
13560
|
+
const TransitionGroupImpl = /* @__PURE__ */ decorate({
|
|
13544
13561
|
name: "TransitionGroup",
|
|
13545
13562
|
props: /* @__PURE__ */ extend({}, TransitionPropsValidators, {
|
|
13546
13563
|
tag: String,
|
|
@@ -13632,12 +13649,7 @@ const TransitionGroupImpl = {
|
|
|
13632
13649
|
return createVNode(tag, null, children);
|
|
13633
13650
|
};
|
|
13634
13651
|
}
|
|
13635
|
-
};
|
|
13636
|
-
{
|
|
13637
|
-
TransitionGroupImpl.__isBuiltIn = true;
|
|
13638
|
-
}
|
|
13639
|
-
const removeMode = (props) => delete props.mode;
|
|
13640
|
-
/* @__PURE__ */ removeMode(TransitionGroupImpl.props);
|
|
13652
|
+
});
|
|
13641
13653
|
const TransitionGroup = TransitionGroupImpl;
|
|
13642
13654
|
function callPendingCbs(c) {
|
|
13643
13655
|
const el = c.el;
|
|
@@ -17163,7 +17175,7 @@ function createStructuralDirectiveTransform(name, fn) {
|
|
|
17163
17175
|
};
|
|
17164
17176
|
}
|
|
17165
17177
|
|
|
17166
|
-
const PURE_ANNOTATION =
|
|
17178
|
+
const PURE_ANNOTATION = `/*@__PURE__*/`;
|
|
17167
17179
|
const aliasHelper = (s) => `${helperNameMap[s]}: _${helperNameMap[s]}`;
|
|
17168
17180
|
function createCodegenContext(ast, {
|
|
17169
17181
|
mode = "function",
|