@vue/compat 3.6.0-beta.6 → 3.6.0-beta.8
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-compat.d.ts +20221 -22
- package/dist/vue.cjs.js +132 -255
- package/dist/vue.cjs.prod.js +122 -251
- package/dist/vue.esm-browser.js +129 -249
- package/dist/vue.esm-browser.prod.js +4 -4
- package/dist/vue.esm-bundler.js +143 -244
- package/dist/vue.global.js +449 -575
- package/dist/vue.global.prod.js +4 -4
- package/dist/vue.runtime.esm-browser.js +129 -249
- package/dist/vue.runtime.esm-browser.prod.js +4 -4
- package/dist/vue.runtime.esm-bundler.js +143 -244
- package/dist/vue.runtime.global.js +449 -575
- package/dist/vue.runtime.global.prod.js +4 -4
- package/package.json +3 -2
package/dist/vue.esm-bundler.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compat v3.6.0-beta.
|
|
2
|
+
* @vue/compat v3.6.0-beta.8
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -7,18 +7,13 @@
|
|
|
7
7
|
var __defProp = Object.defineProperty;
|
|
8
8
|
var __exportAll = (all, no_symbols) => {
|
|
9
9
|
let target = {};
|
|
10
|
-
for (var name in all) {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
if (!no_symbols) {
|
|
17
|
-
__defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
18
|
-
}
|
|
10
|
+
for (var name in all) __defProp(target, name, {
|
|
11
|
+
get: all[name],
|
|
12
|
+
enumerable: true
|
|
13
|
+
});
|
|
14
|
+
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
19
15
|
return target;
|
|
20
16
|
};
|
|
21
|
-
|
|
22
17
|
//#endregion
|
|
23
18
|
//#region packages/shared/src/makeMap.ts
|
|
24
19
|
/**
|
|
@@ -34,7 +29,6 @@ function makeMap(str) {
|
|
|
34
29
|
for (const key of str.split(",")) map[key] = 1;
|
|
35
30
|
return (val) => val in map;
|
|
36
31
|
}
|
|
37
|
-
|
|
38
32
|
//#endregion
|
|
39
33
|
//#region packages/shared/src/general.ts
|
|
40
34
|
const EMPTY_OBJ = !!(process.env.NODE_ENV !== "production") ? Object.freeze({}) : {};
|
|
@@ -152,7 +146,6 @@ function genCacheKey(source, options) {
|
|
|
152
146
|
function canSetValueDirectly(tagName) {
|
|
153
147
|
return tagName !== "PROGRESS" && !tagName.includes("-");
|
|
154
148
|
}
|
|
155
|
-
|
|
156
149
|
//#endregion
|
|
157
150
|
//#region packages/shared/src/patchFlags.ts
|
|
158
151
|
/**
|
|
@@ -174,7 +167,6 @@ const PatchFlagNames = {
|
|
|
174
167
|
[-1]: `CACHED`,
|
|
175
168
|
[-2]: `BAIL`
|
|
176
169
|
};
|
|
177
|
-
|
|
178
170
|
//#endregion
|
|
179
171
|
//#region packages/shared/src/slotFlags.ts
|
|
180
172
|
/**
|
|
@@ -185,12 +177,7 @@ const slotFlagsText = {
|
|
|
185
177
|
[2]: "DYNAMIC",
|
|
186
178
|
[3]: "FORWARDED"
|
|
187
179
|
};
|
|
188
|
-
|
|
189
|
-
//#endregion
|
|
190
|
-
//#region packages/shared/src/globalsAllowList.ts
|
|
191
|
-
const GLOBALS_ALLOWED = "Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol";
|
|
192
|
-
const isGloballyAllowed = /* @__PURE__ */ makeMap(GLOBALS_ALLOWED);
|
|
193
|
-
|
|
180
|
+
const isGloballyAllowed = /* @__PURE__ */ makeMap("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol");
|
|
194
181
|
//#endregion
|
|
195
182
|
//#region packages/shared/src/codeframe.ts
|
|
196
183
|
const range = 2;
|
|
@@ -229,7 +216,6 @@ function generateCodeFrame(source, start = 0, end = source.length) {
|
|
|
229
216
|
}
|
|
230
217
|
return res.join("\n");
|
|
231
218
|
}
|
|
232
|
-
|
|
233
219
|
//#endregion
|
|
234
220
|
//#region packages/shared/src/normalizeProp.ts
|
|
235
221
|
function normalizeStyle(value) {
|
|
@@ -288,7 +274,6 @@ function normalizeProps(props) {
|
|
|
288
274
|
if (style) props.style = normalizeStyle(style);
|
|
289
275
|
return props;
|
|
290
276
|
}
|
|
291
|
-
|
|
292
277
|
//#endregion
|
|
293
278
|
//#region packages/shared/src/domTagConfig.ts
|
|
294
279
|
const HTML_TAGS = "html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot";
|
|
@@ -315,7 +300,6 @@ const isMathMLTag = /* @__PURE__ */ makeMap(MATH_TAGS);
|
|
|
315
300
|
* Do NOT use in runtime code paths unless behind `!!(process.env.NODE_ENV !== 'production')` flag.
|
|
316
301
|
*/
|
|
317
302
|
const isVoidTag = /* @__PURE__ */ makeMap(VOID_TAGS);
|
|
318
|
-
|
|
319
303
|
//#endregion
|
|
320
304
|
//#region packages/shared/src/domAttrConfig.ts
|
|
321
305
|
/**
|
|
@@ -370,14 +354,12 @@ function shouldSetAsAttr(tagName, key) {
|
|
|
370
354
|
if (key === "sandbox" && tagName === "IFRAME") return true;
|
|
371
355
|
return false;
|
|
372
356
|
}
|
|
373
|
-
|
|
374
357
|
//#endregion
|
|
375
358
|
//#region packages/shared/src/escapeHtml.ts
|
|
376
359
|
const cssVarNameEscapeSymbolsRE = /[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;
|
|
377
360
|
function getEscapedCssVarName(key, doubleEscape) {
|
|
378
361
|
return key.replace(cssVarNameEscapeSymbolsRE, (s) => doubleEscape ? s === "\"" ? "\\\\\\\"" : `\\\\${s}` : `\\${s}`);
|
|
379
362
|
}
|
|
380
|
-
|
|
381
363
|
//#endregion
|
|
382
364
|
//#region packages/shared/src/looseEqual.ts
|
|
383
365
|
function looseCompareArrays(a, b) {
|
|
@@ -413,7 +395,6 @@ function looseEqual(a, b) {
|
|
|
413
395
|
function looseIndexOf(arr, val) {
|
|
414
396
|
return arr.findIndex((item) => looseEqual(item, val));
|
|
415
397
|
}
|
|
416
|
-
|
|
417
398
|
//#endregion
|
|
418
399
|
//#region packages/shared/src/toDisplayString.ts
|
|
419
400
|
const isRef$1 = (val) => {
|
|
@@ -448,7 +429,6 @@ const stringifySymbol = (v, i = "") => {
|
|
|
448
429
|
var _description;
|
|
449
430
|
return isSymbol(v) ? `Symbol(${(_description = v.description) !== null && _description !== void 0 ? _description : i})` : v;
|
|
450
431
|
};
|
|
451
|
-
|
|
452
432
|
//#endregion
|
|
453
433
|
//#region packages/shared/src/subSequence.ts
|
|
454
434
|
function getSequence(arr) {
|
|
@@ -486,7 +466,6 @@ function getSequence(arr) {
|
|
|
486
466
|
}
|
|
487
467
|
return result;
|
|
488
468
|
}
|
|
489
|
-
|
|
490
469
|
//#endregion
|
|
491
470
|
//#region packages/shared/src/cssVars.ts
|
|
492
471
|
/**
|
|
@@ -501,7 +480,6 @@ function normalizeCssVarValue(value) {
|
|
|
501
480
|
}
|
|
502
481
|
return String(value);
|
|
503
482
|
}
|
|
504
|
-
|
|
505
483
|
//#endregion
|
|
506
484
|
//#region packages/reactivity/src/debug.ts
|
|
507
485
|
const triggerEventInfos = [];
|
|
@@ -540,31 +518,11 @@ function setupFlagsHandler(target) {
|
|
|
540
518
|
}
|
|
541
519
|
});
|
|
542
520
|
}
|
|
543
|
-
|
|
544
521
|
//#endregion
|
|
545
522
|
//#region packages/reactivity/src/warning.ts
|
|
546
523
|
function warn$2(msg, ...args) {
|
|
547
524
|
console.warn(`[Vue warn] ${msg}`, ...args);
|
|
548
525
|
}
|
|
549
|
-
|
|
550
|
-
//#endregion
|
|
551
|
-
//#region packages/reactivity/src/system.ts
|
|
552
|
-
const ReactiveFlags = {
|
|
553
|
-
"None": 0,
|
|
554
|
-
"0": "None",
|
|
555
|
-
"Mutable": 1,
|
|
556
|
-
"1": "Mutable",
|
|
557
|
-
"Watching": 2,
|
|
558
|
-
"2": "Watching",
|
|
559
|
-
"RecursedCheck": 4,
|
|
560
|
-
"4": "RecursedCheck",
|
|
561
|
-
"Recursed": 8,
|
|
562
|
-
"8": "Recursed",
|
|
563
|
-
"Dirty": 16,
|
|
564
|
-
"16": "Dirty",
|
|
565
|
-
"Pending": 32,
|
|
566
|
-
"32": "Pending"
|
|
567
|
-
};
|
|
568
526
|
const notifyBuffer = [];
|
|
569
527
|
let batchDepth = 0;
|
|
570
528
|
let activeSub = void 0;
|
|
@@ -772,7 +730,6 @@ function isValidLink(checkLink, sub) {
|
|
|
772
730
|
}
|
|
773
731
|
return false;
|
|
774
732
|
}
|
|
775
|
-
|
|
776
733
|
//#endregion
|
|
777
734
|
//#region packages/reactivity/src/dep.ts
|
|
778
735
|
var Dep = class {
|
|
@@ -883,7 +840,6 @@ function getDepFromReactive(object, key) {
|
|
|
883
840
|
const depMap = targetMap.get(object);
|
|
884
841
|
return depMap && depMap.get(key);
|
|
885
842
|
}
|
|
886
|
-
|
|
887
843
|
//#endregion
|
|
888
844
|
//#region packages/reactivity/src/arrayInstrumentations.ts
|
|
889
845
|
/**
|
|
@@ -1031,16 +987,25 @@ function apply(self, method, fn, thisArg, wrappedRetFn, args) {
|
|
|
1031
987
|
}
|
|
1032
988
|
function reduce(self, method, fn, args) {
|
|
1033
989
|
const arr = shallowReadArray(self);
|
|
990
|
+
const needsWrap = arr !== self && !/* @__PURE__ */ isShallow(self);
|
|
1034
991
|
let wrappedFn = fn;
|
|
992
|
+
let wrapInitialAccumulator = false;
|
|
1035
993
|
if (arr !== self) {
|
|
1036
|
-
if (
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
994
|
+
if (needsWrap) {
|
|
995
|
+
wrapInitialAccumulator = args.length === 0;
|
|
996
|
+
wrappedFn = function(acc, item, index) {
|
|
997
|
+
if (wrapInitialAccumulator) {
|
|
998
|
+
wrapInitialAccumulator = false;
|
|
999
|
+
acc = toWrapped(self, acc);
|
|
1000
|
+
}
|
|
1001
|
+
return fn.call(this, acc, toWrapped(self, item), index, self);
|
|
1002
|
+
};
|
|
1003
|
+
} else if (fn.length > 3) wrappedFn = function(acc, item, index) {
|
|
1040
1004
|
return fn.call(this, acc, item, index, self);
|
|
1041
1005
|
};
|
|
1042
1006
|
}
|
|
1043
|
-
|
|
1007
|
+
const result = arr[method](wrappedFn, ...args);
|
|
1008
|
+
return wrapInitialAccumulator ? toWrapped(self, result) : result;
|
|
1044
1009
|
}
|
|
1045
1010
|
function searchProxy(self, method, args) {
|
|
1046
1011
|
const arr = /* @__PURE__ */ toRaw(self);
|
|
@@ -1060,7 +1025,6 @@ function noTracking(self, method, args = []) {
|
|
|
1060
1025
|
endBatch();
|
|
1061
1026
|
return res;
|
|
1062
1027
|
}
|
|
1063
|
-
|
|
1064
1028
|
//#endregion
|
|
1065
1029
|
//#region packages/reactivity/src/baseHandlers.ts
|
|
1066
1030
|
const isNonTrackableKeys = /* @__PURE__ */ makeMap(`__proto__,__v_isRef,__isVue`);
|
|
@@ -1169,7 +1133,6 @@ const mutableHandlers = /* @__PURE__ */ new MutableReactiveHandler();
|
|
|
1169
1133
|
const readonlyHandlers = /* @__PURE__ */ new ReadonlyReactiveHandler();
|
|
1170
1134
|
const shallowReactiveHandlers = /* @__PURE__ */ new MutableReactiveHandler(true);
|
|
1171
1135
|
const shallowReadonlyHandlers = /* @__PURE__ */ new ReadonlyReactiveHandler(true);
|
|
1172
|
-
|
|
1173
1136
|
//#endregion
|
|
1174
1137
|
//#region packages/reactivity/src/collectionHandlers.ts
|
|
1175
1138
|
const toShallow = (value) => value;
|
|
@@ -1254,11 +1217,13 @@ function createInstrumentations(readonly, shallow) {
|
|
|
1254
1217
|
clear: createReadonlyMethod("clear")
|
|
1255
1218
|
} : {
|
|
1256
1219
|
add(value) {
|
|
1257
|
-
if (!shallow && !/* @__PURE__ */ isShallow(value) && !/* @__PURE__ */ isReadonly(value)) value = /* @__PURE__ */ toRaw(value);
|
|
1258
1220
|
const target = /* @__PURE__ */ toRaw(this);
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1221
|
+
const proto = getProto(target);
|
|
1222
|
+
const rawValue = /* @__PURE__ */ toRaw(value);
|
|
1223
|
+
const valueToAdd = !shallow && !/* @__PURE__ */ isShallow(value) && !/* @__PURE__ */ isReadonly(value) ? rawValue : value;
|
|
1224
|
+
if (!(proto.has.call(target, valueToAdd) || hasChanged(value, valueToAdd) && proto.has.call(target, value) || hasChanged(rawValue, valueToAdd) && proto.has.call(target, rawValue))) {
|
|
1225
|
+
target.add(valueToAdd);
|
|
1226
|
+
trigger(target, "add", valueToAdd, valueToAdd);
|
|
1262
1227
|
}
|
|
1263
1228
|
return this;
|
|
1264
1229
|
},
|
|
@@ -1329,7 +1294,6 @@ function checkIdentityKeys(target, has, key) {
|
|
|
1329
1294
|
warn$2(`Reactive ${type} contains both the raw and reactive versions of the same object${type === `Map` ? ` as keys` : ``}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`);
|
|
1330
1295
|
}
|
|
1331
1296
|
}
|
|
1332
|
-
|
|
1333
1297
|
//#endregion
|
|
1334
1298
|
//#region packages/reactivity/src/reactive.ts
|
|
1335
1299
|
const reactiveMap = /* @__PURE__ */ new WeakMap();
|
|
@@ -1593,7 +1557,6 @@ const toReactive = (value) => isObject(value) ? /* @__PURE__ */ reactive(value)
|
|
|
1593
1557
|
* @param value - The value for which a readonly proxy shall be created.
|
|
1594
1558
|
*/
|
|
1595
1559
|
const toReadonly = (value) => isObject(value) ? /* @__PURE__ */ readonly(value) : value;
|
|
1596
|
-
|
|
1597
1560
|
//#endregion
|
|
1598
1561
|
//#region packages/reactivity/src/ref.ts
|
|
1599
1562
|
/* @__NO_SIDE_EFFECTS__ */
|
|
@@ -1662,7 +1625,7 @@ var RefImpl = class {
|
|
|
1662
1625
|
}
|
|
1663
1626
|
}
|
|
1664
1627
|
update() {
|
|
1665
|
-
this.flags &=
|
|
1628
|
+
this.flags &= -17;
|
|
1666
1629
|
return hasChanged(this._oldValue, this._oldValue = this._rawValue);
|
|
1667
1630
|
}
|
|
1668
1631
|
};
|
|
@@ -1868,7 +1831,6 @@ function toRef(source, key, defaultValue) {
|
|
|
1868
1831
|
function propertyToRef(source, key, defaultValue) {
|
|
1869
1832
|
return new ObjectRefImpl(source, key, defaultValue);
|
|
1870
1833
|
}
|
|
1871
|
-
|
|
1872
1834
|
//#endregion
|
|
1873
1835
|
//#region packages/reactivity/src/effect.ts
|
|
1874
1836
|
var ReactiveEffect = class {
|
|
@@ -1977,7 +1939,6 @@ function cleanup(sub) {
|
|
|
1977
1939
|
sub.cleanupsLength = 0;
|
|
1978
1940
|
}
|
|
1979
1941
|
}
|
|
1980
|
-
|
|
1981
1942
|
//#endregion
|
|
1982
1943
|
//#region packages/reactivity/src/effectScope.ts
|
|
1983
1944
|
let activeEffectScope;
|
|
@@ -2086,7 +2047,6 @@ function onScopeDispose(fn, failSilently = false) {
|
|
|
2086
2047
|
if (activeEffectScope !== void 0) activeEffectScope.cleanups[activeEffectScope.cleanupsLength++] = fn;
|
|
2087
2048
|
else if (!!(process.env.NODE_ENV !== "production") && !failSilently) warn$2("onScopeDispose() is called when there is no active effect scope to be associated with.");
|
|
2088
2049
|
}
|
|
2089
|
-
|
|
2090
2050
|
//#endregion
|
|
2091
2051
|
//#region packages/reactivity/src/computed.ts
|
|
2092
2052
|
/**
|
|
@@ -2110,7 +2070,7 @@ var ComputedRefImpl = class {
|
|
|
2110
2070
|
if (flags & 32) if (checkDirty(this.deps, this)) {
|
|
2111
2071
|
this.flags = flags | 16;
|
|
2112
2072
|
return true;
|
|
2113
|
-
} else this.flags = flags &
|
|
2073
|
+
} else this.flags = flags & -33;
|
|
2114
2074
|
return false;
|
|
2115
2075
|
}
|
|
2116
2076
|
/**
|
|
@@ -2119,7 +2079,7 @@ var ComputedRefImpl = class {
|
|
|
2119
2079
|
*/
|
|
2120
2080
|
set _dirty(v) {
|
|
2121
2081
|
if (v) this.flags |= 16;
|
|
2122
|
-
else this.flags &=
|
|
2082
|
+
else this.flags &= -49;
|
|
2123
2083
|
}
|
|
2124
2084
|
constructor(fn, setter) {
|
|
2125
2085
|
this.fn = fn;
|
|
@@ -2129,7 +2089,7 @@ var ComputedRefImpl = class {
|
|
|
2129
2089
|
this.subsTail = void 0;
|
|
2130
2090
|
this.deps = void 0;
|
|
2131
2091
|
this.depsTail = void 0;
|
|
2132
|
-
this.flags =
|
|
2092
|
+
this.flags = 17;
|
|
2133
2093
|
this.__v_isRef = true;
|
|
2134
2094
|
this["__v_isReadonly"] = !setter;
|
|
2135
2095
|
}
|
|
@@ -2140,7 +2100,7 @@ var ComputedRefImpl = class {
|
|
|
2140
2100
|
const subs = this.subs;
|
|
2141
2101
|
if (subs !== void 0) shallowPropagate(subs);
|
|
2142
2102
|
}
|
|
2143
|
-
} else if (flags & 32) this.flags = flags &
|
|
2103
|
+
} else if (flags & 32) this.flags = flags & -33;
|
|
2144
2104
|
if (activeSub !== void 0) {
|
|
2145
2105
|
if (!!(process.env.NODE_ENV !== "production")) onTrack(activeSub, {
|
|
2146
2106
|
target: this,
|
|
@@ -2187,7 +2147,6 @@ function computed$1(getterOrOptions, debugOptions, isSSR = false) {
|
|
|
2187
2147
|
}
|
|
2188
2148
|
return cRef;
|
|
2189
2149
|
}
|
|
2190
|
-
|
|
2191
2150
|
//#endregion
|
|
2192
2151
|
//#region packages/reactivity/src/constants.ts
|
|
2193
2152
|
const TrackOpTypes = {
|
|
@@ -2201,7 +2160,6 @@ const TriggerOpTypes = {
|
|
|
2201
2160
|
"DELETE": "delete",
|
|
2202
2161
|
"CLEAR": "clear"
|
|
2203
2162
|
};
|
|
2204
|
-
|
|
2205
2163
|
//#endregion
|
|
2206
2164
|
//#region packages/reactivity/src/watch.ts
|
|
2207
2165
|
const INITIAL_WATCHER_VALUE = {};
|
|
@@ -2346,7 +2304,6 @@ function traverse(value, depth = Infinity, seen) {
|
|
|
2346
2304
|
}
|
|
2347
2305
|
return value;
|
|
2348
2306
|
}
|
|
2349
|
-
|
|
2350
2307
|
//#endregion
|
|
2351
2308
|
//#region packages/runtime-core/src/warning.ts
|
|
2352
2309
|
const stack$1 = [];
|
|
@@ -2373,8 +2330,8 @@ function warn$1(msg, ...args) {
|
|
|
2373
2330
|
const trace = getComponentTrace();
|
|
2374
2331
|
if (appWarnHandler) callWithErrorHandling(appWarnHandler, instance, 11, [
|
|
2375
2332
|
msg + args.map((a) => {
|
|
2376
|
-
|
|
2377
|
-
return
|
|
2333
|
+
const toString = a.toString;
|
|
2334
|
+
return toString == null ? JSON.stringify(a) : toString.call(a);
|
|
2378
2335
|
}).join(""),
|
|
2379
2336
|
instance && instance.proxy || instance,
|
|
2380
2337
|
trace.map(({ ctx }) => `at <${formatComponentName(instance, ctx.type)}>`).join("\n"),
|
|
@@ -2465,7 +2422,6 @@ function assertNumber(val, type) {
|
|
|
2465
2422
|
else if (isNaN(val)) warn$1(`${type} is NaN - the duration expression might be incorrect.`);
|
|
2466
2423
|
}
|
|
2467
2424
|
/* v8 ignore stop */
|
|
2468
|
-
|
|
2469
2425
|
//#endregion
|
|
2470
2426
|
//#region packages/runtime-core/src/errorHandling.ts
|
|
2471
2427
|
const ErrorCodes = {
|
|
@@ -2589,9 +2545,16 @@ function logError(err, type, instance, throwInDev = true, throwInProd = false) {
|
|
|
2589
2545
|
} else if (throwInProd) throw err;
|
|
2590
2546
|
else console.error(err);
|
|
2591
2547
|
}
|
|
2592
|
-
|
|
2593
2548
|
//#endregion
|
|
2594
2549
|
//#region packages/runtime-core/src/scheduler.ts
|
|
2550
|
+
const SchedulerJobFlags = {
|
|
2551
|
+
"QUEUED": 1,
|
|
2552
|
+
"1": "QUEUED",
|
|
2553
|
+
"ALLOW_RECURSE": 2,
|
|
2554
|
+
"2": "ALLOW_RECURSE",
|
|
2555
|
+
"DISPOSED": 4,
|
|
2556
|
+
"4": "DISPOSED"
|
|
2557
|
+
};
|
|
2595
2558
|
const jobs = [];
|
|
2596
2559
|
let postJobs = [];
|
|
2597
2560
|
let activePostJobs = null;
|
|
@@ -2742,7 +2705,6 @@ function checkRecursiveUpdates(seen, fn) {
|
|
|
2742
2705
|
seen.set(fn, count + 1);
|
|
2743
2706
|
return false;
|
|
2744
2707
|
}
|
|
2745
|
-
|
|
2746
2708
|
//#endregion
|
|
2747
2709
|
//#region packages/runtime-core/src/hmr.ts
|
|
2748
2710
|
let isHmrUpdating = false;
|
|
@@ -2864,7 +2826,6 @@ function tryWrap(fn) {
|
|
|
2864
2826
|
}
|
|
2865
2827
|
};
|
|
2866
2828
|
}
|
|
2867
|
-
|
|
2868
2829
|
//#endregion
|
|
2869
2830
|
//#region packages/runtime-core/src/devtools.ts
|
|
2870
2831
|
let devtools$1;
|
|
@@ -2933,7 +2894,6 @@ function createDevtoolsPerformanceHook(hook) {
|
|
|
2933
2894
|
function devtoolsComponentEmit(component, event, params) {
|
|
2934
2895
|
emit$2("component:emit", component.appContext.app, component, event, params);
|
|
2935
2896
|
}
|
|
2936
|
-
|
|
2937
2897
|
//#endregion
|
|
2938
2898
|
//#region packages/runtime-core/src/compat/compatConfig.ts
|
|
2939
2899
|
const DeprecationTypes$1 = {
|
|
@@ -3205,7 +3165,6 @@ function checkCompatEnabled$1(key, instance, ...args) {
|
|
|
3205
3165
|
if (!!(process.env.NODE_ENV !== "production") && enabled) warnDeprecation$1(key, instance, ...args);
|
|
3206
3166
|
return enabled;
|
|
3207
3167
|
}
|
|
3208
|
-
|
|
3209
3168
|
//#endregion
|
|
3210
3169
|
//#region packages/runtime-core/src/compat/instanceEventEmitter.ts
|
|
3211
3170
|
const eventRegistryMap = /* @__PURE__ */ new WeakMap();
|
|
@@ -3259,7 +3218,6 @@ function emit$1(instance, event, args) {
|
|
|
3259
3218
|
if (cbs) callWithAsyncErrorHandling(cbs.map((cb) => cb.bind(instance.proxy)), instance, 6, args);
|
|
3260
3219
|
return instance.proxy;
|
|
3261
3220
|
}
|
|
3262
|
-
|
|
3263
3221
|
//#endregion
|
|
3264
3222
|
//#region packages/runtime-core/src/componentRenderContext.ts
|
|
3265
3223
|
/**
|
|
@@ -3331,7 +3289,6 @@ function withCtx(fn, ctx = currentRenderingInstance, isNonScopedSlot) {
|
|
|
3331
3289
|
if (isNonScopedSlot) renderFnWithContext._ns = true;
|
|
3332
3290
|
return renderFnWithContext;
|
|
3333
3291
|
}
|
|
3334
|
-
|
|
3335
3292
|
//#endregion
|
|
3336
3293
|
//#region packages/runtime-core/src/compat/customDirective.ts
|
|
3337
3294
|
const legacyDirectiveHookMap = {
|
|
@@ -3357,7 +3314,6 @@ function mapCompatDirectiveHook(name, dir, instance) {
|
|
|
3357
3314
|
return dir[mappedName];
|
|
3358
3315
|
}
|
|
3359
3316
|
}
|
|
3360
|
-
|
|
3361
3317
|
//#endregion
|
|
3362
3318
|
//#region packages/runtime-core/src/directives.ts
|
|
3363
3319
|
function validateDirectiveName(name) {
|
|
@@ -3413,7 +3369,6 @@ function invokeDirectiveHook(vnode, prevVNode, instance, name) {
|
|
|
3413
3369
|
}
|
|
3414
3370
|
}
|
|
3415
3371
|
}
|
|
3416
|
-
|
|
3417
3372
|
//#endregion
|
|
3418
3373
|
//#region packages/runtime-core/src/apiInject.ts
|
|
3419
3374
|
function provide(key, value) {
|
|
@@ -3444,7 +3399,6 @@ function inject(key, defaultValue, treatDefaultAsFactory = false) {
|
|
|
3444
3399
|
function hasInjectionContext() {
|
|
3445
3400
|
return !!(getCurrentGenericInstance() || currentApp);
|
|
3446
3401
|
}
|
|
3447
|
-
|
|
3448
3402
|
//#endregion
|
|
3449
3403
|
//#region packages/runtime-core/src/helpers/useSsrContext.ts
|
|
3450
3404
|
const ssrContextKey = Symbol.for("v-scx");
|
|
@@ -3455,7 +3409,6 @@ const useSSRContext = () => {
|
|
|
3455
3409
|
return ctx;
|
|
3456
3410
|
}
|
|
3457
3411
|
};
|
|
3458
|
-
|
|
3459
3412
|
//#endregion
|
|
3460
3413
|
//#region packages/runtime-core/src/apiWatch.ts
|
|
3461
3414
|
function watchEffect(effect, options) {
|
|
@@ -3556,7 +3509,6 @@ function createPathGetter(ctx, path) {
|
|
|
3556
3509
|
return cur;
|
|
3557
3510
|
};
|
|
3558
3511
|
}
|
|
3559
|
-
|
|
3560
3512
|
//#endregion
|
|
3561
3513
|
//#region packages/runtime-core/src/components/Teleport.ts
|
|
3562
3514
|
const TeleportEndKey = Symbol("_vte");
|
|
@@ -3754,7 +3706,6 @@ function prepareAnchor(target, vnode, createText, insert, anchor = null) {
|
|
|
3754
3706
|
}
|
|
3755
3707
|
return targetAnchor;
|
|
3756
3708
|
}
|
|
3757
|
-
|
|
3758
3709
|
//#endregion
|
|
3759
3710
|
//#region packages/runtime-core/src/components/BaseTransition.ts
|
|
3760
3711
|
const leaveCbKey = Symbol("_leaveCb");
|
|
@@ -3879,6 +3830,7 @@ function resolveTransitionHooks(vnode, props, state, instance, postClone) {
|
|
|
3879
3830
|
const key = String(vnode.key);
|
|
3880
3831
|
const leavingVNodesCache = getLeavingNodesForType(state, vnode);
|
|
3881
3832
|
return baseResolveTransitionHooks({
|
|
3833
|
+
isLeaving: () => leavingVNodesCache[key] === vnode,
|
|
3882
3834
|
setLeavingNodeCache: () => {
|
|
3883
3835
|
leavingVNodesCache[key] = vnode;
|
|
3884
3836
|
},
|
|
@@ -3897,7 +3849,7 @@ function resolveTransitionHooks(vnode, props, state, instance, postClone) {
|
|
|
3897
3849
|
}, props, state, instance);
|
|
3898
3850
|
}
|
|
3899
3851
|
function baseResolveTransitionHooks(context, props, state, instance) {
|
|
3900
|
-
const { setLeavingNodeCache, unsetLeavingNodeCache, earlyRemove, cloneHooks } = context;
|
|
3852
|
+
const { isLeaving, setLeavingNodeCache, unsetLeavingNodeCache, earlyRemove, cloneHooks } = context;
|
|
3901
3853
|
const { appear, mode, persisted = false, onBeforeEnter, onEnter, onAfterEnter, onEnterCancelled, onBeforeLeave, onLeave, onAfterLeave, onLeaveCancelled, onBeforeAppear, onAppear, onAfterAppear, onAppearCancelled } = props;
|
|
3902
3854
|
const callHook = (hook, args) => {
|
|
3903
3855
|
hook && callWithAsyncErrorHandling(hook, instance, 9, args);
|
|
@@ -3921,6 +3873,7 @@ function baseResolveTransitionHooks(context, props, state, instance) {
|
|
|
3921
3873
|
callHook(hook, [el]);
|
|
3922
3874
|
},
|
|
3923
3875
|
enter(el) {
|
|
3876
|
+
if (isLeaving()) return;
|
|
3924
3877
|
let hook = onEnter;
|
|
3925
3878
|
let afterHook = onAfterEnter;
|
|
3926
3879
|
let cancelHook = onEnterCancelled;
|
|
@@ -4017,14 +3970,12 @@ function getTransitionRawChildren(children, keepComment = false, parentKey) {
|
|
|
4017
3970
|
function checkTransitionMode(mode) {
|
|
4018
3971
|
if (!!(process.env.NODE_ENV !== "production") && mode && mode !== "in-out" && mode !== "out-in" && mode !== "default") warn$1(`invalid <transition> mode: ${mode}`);
|
|
4019
3972
|
}
|
|
4020
|
-
|
|
4021
3973
|
//#endregion
|
|
4022
3974
|
//#region packages/runtime-core/src/apiDefineComponent.ts
|
|
4023
3975
|
/* @__NO_SIDE_EFFECTS__ */
|
|
4024
3976
|
function defineComponent(options, extraOptions) {
|
|
4025
3977
|
return isFunction(options) ? extend({ name: options.name }, extraOptions, { setup: options }) : options;
|
|
4026
3978
|
}
|
|
4027
|
-
|
|
4028
3979
|
//#endregion
|
|
4029
3980
|
//#region packages/runtime-core/src/helpers/useId.ts
|
|
4030
3981
|
function useId() {
|
|
@@ -4046,7 +3997,6 @@ function markAsyncBoundary(instance) {
|
|
|
4046
3997
|
0
|
|
4047
3998
|
];
|
|
4048
3999
|
}
|
|
4049
|
-
|
|
4050
4000
|
//#endregion
|
|
4051
4001
|
//#region packages/runtime-core/src/helpers/useTemplateRef.ts
|
|
4052
4002
|
const knownTemplateRefs = /* @__PURE__ */ new WeakSet();
|
|
@@ -4070,7 +4020,6 @@ function isTemplateRefKey(refs, key) {
|
|
|
4070
4020
|
let desc;
|
|
4071
4021
|
return !!((desc = Object.getOwnPropertyDescriptor(refs, key)) && !desc.configurable);
|
|
4072
4022
|
}
|
|
4073
|
-
|
|
4074
4023
|
//#endregion
|
|
4075
4024
|
//#region packages/runtime-core/src/rendererTemplateRef.ts
|
|
4076
4025
|
const pendingSetRefMap = /* @__PURE__ */ new WeakMap();
|
|
@@ -4171,7 +4120,6 @@ function invalidatePendingSetRef(rawRef) {
|
|
|
4171
4120
|
pendingSetRefMap.delete(rawRef);
|
|
4172
4121
|
}
|
|
4173
4122
|
}
|
|
4174
|
-
|
|
4175
4123
|
//#endregion
|
|
4176
4124
|
//#region packages/runtime-core/src/hydration.ts
|
|
4177
4125
|
let isHydratingEnabled = false;
|
|
@@ -4598,7 +4546,6 @@ function isMismatchAllowed(el, allowedType) {
|
|
|
4598
4546
|
return list.includes(MismatchTypeString[allowedType]);
|
|
4599
4547
|
}
|
|
4600
4548
|
}
|
|
4601
|
-
|
|
4602
4549
|
//#endregion
|
|
4603
4550
|
//#region packages/runtime-core/src/hydrationStrategies.ts
|
|
4604
4551
|
let requestIdleCallback;
|
|
@@ -4687,7 +4634,6 @@ function forEachElement(node, cb) {
|
|
|
4687
4634
|
}
|
|
4688
4635
|
} else cb(node);
|
|
4689
4636
|
}
|
|
4690
|
-
|
|
4691
4637
|
//#endregion
|
|
4692
4638
|
//#region packages/runtime-core/src/apiAsyncComponent.ts
|
|
4693
4639
|
const isAsyncWrapper = (i) => !!i.type.__asyncLoader;
|
|
@@ -4824,7 +4770,6 @@ function performAsyncHydrate(el, instance, hydrate, getResolvedComp, load, hydra
|
|
|
4824
4770
|
if (getResolvedComp()) doHydrate();
|
|
4825
4771
|
else load().then(() => !instance.isUnmounted && doHydrate());
|
|
4826
4772
|
}
|
|
4827
|
-
|
|
4828
4773
|
//#endregion
|
|
4829
4774
|
//#region packages/runtime-core/src/components/KeepAlive.ts
|
|
4830
4775
|
const isKeepAlive = (vnode) => vnode.type.__isKeepAlive;
|
|
@@ -5049,9 +4994,7 @@ function deactivate(vnode, container, { m: move }, parentComponent, parentSuspen
|
|
|
5049
4994
|
instance.isDeactivated = true;
|
|
5050
4995
|
}, void 0, parentSuspense);
|
|
5051
4996
|
if (!!(process.env.NODE_ENV !== "production") || __VUE_PROD_DEVTOOLS__) devtoolsComponentAdded(instance);
|
|
5052
|
-
if (!!(process.env.NODE_ENV !== "production") && true) instance.__keepAliveStorageContainer = container;
|
|
5053
4997
|
}
|
|
5054
|
-
|
|
5055
4998
|
//#endregion
|
|
5056
4999
|
//#region packages/runtime-core/src/apiLifecycle.ts
|
|
5057
5000
|
function injectHook(type, hook, target = currentInstance, prepend = false) {
|
|
@@ -5087,7 +5030,6 @@ const onRenderTracked = /* @__PURE__ */ createHook("rtc");
|
|
|
5087
5030
|
function onErrorCaptured(hook, target = currentInstance) {
|
|
5088
5031
|
injectHook("ec", hook, target);
|
|
5089
5032
|
}
|
|
5090
|
-
|
|
5091
5033
|
//#endregion
|
|
5092
5034
|
//#region packages/runtime-core/src/compat/instanceChildren.ts
|
|
5093
5035
|
function getCompatChildren(instance) {
|
|
@@ -5104,7 +5046,6 @@ function walk$1(vnode, children) {
|
|
|
5104
5046
|
for (let i = 0; i < vnodes.length; i++) walk$1(vnodes[i], children);
|
|
5105
5047
|
}
|
|
5106
5048
|
}
|
|
5107
|
-
|
|
5108
5049
|
//#endregion
|
|
5109
5050
|
//#region packages/runtime-core/src/compat/instanceListeners.ts
|
|
5110
5051
|
function getCompatListeners(instance) {
|
|
@@ -5115,24 +5056,20 @@ function getCompatListeners(instance) {
|
|
|
5115
5056
|
for (const key in rawProps) if (isOn(key)) listeners[key[2].toLowerCase() + key.slice(3)] = rawProps[key];
|
|
5116
5057
|
return listeners;
|
|
5117
5058
|
}
|
|
5118
|
-
|
|
5119
|
-
//#endregion
|
|
5120
|
-
//#region packages/runtime-core/src/helpers/resolveAssets.ts
|
|
5121
|
-
const COMPONENTS = "components";
|
|
5122
5059
|
const DIRECTIVES = "directives";
|
|
5123
5060
|
const FILTERS = "filters";
|
|
5124
5061
|
/**
|
|
5125
5062
|
* @private
|
|
5126
5063
|
*/
|
|
5127
5064
|
function resolveComponent(name, maybeSelfReference) {
|
|
5128
|
-
return resolveAsset(
|
|
5065
|
+
return resolveAsset("components", name, true, maybeSelfReference) || name;
|
|
5129
5066
|
}
|
|
5130
5067
|
const NULL_DYNAMIC_COMPONENT = Symbol.for("v-ndc");
|
|
5131
5068
|
/**
|
|
5132
5069
|
* @private
|
|
5133
5070
|
*/
|
|
5134
5071
|
function resolveDynamicComponent(component) {
|
|
5135
|
-
if (isString(component)) return resolveAsset(
|
|
5072
|
+
if (isString(component)) return resolveAsset("components", component, false) || component;
|
|
5136
5073
|
else return component || NULL_DYNAMIC_COMPONENT;
|
|
5137
5074
|
}
|
|
5138
5075
|
/**
|
|
@@ -5152,14 +5089,14 @@ function resolveAsset(type, name, warnMissing = true, maybeSelfReference = false
|
|
|
5152
5089
|
const instance = currentRenderingInstance || currentInstance;
|
|
5153
5090
|
if (instance) {
|
|
5154
5091
|
const Component = instance.type;
|
|
5155
|
-
if (type ===
|
|
5092
|
+
if (type === "components") {
|
|
5156
5093
|
const selfName = getComponentName(Component, false);
|
|
5157
5094
|
if (selfName && (selfName === name || selfName === camelize(name) || selfName === capitalize(camelize(name)))) return Component;
|
|
5158
5095
|
}
|
|
5159
5096
|
const res = resolve(instance[type] || Component[type], name) || resolve(instance.appContext[type], name);
|
|
5160
5097
|
if (!res && maybeSelfReference) return Component;
|
|
5161
5098
|
if (!!(process.env.NODE_ENV !== "production") && warnMissing && !res) {
|
|
5162
|
-
const extra = type ===
|
|
5099
|
+
const extra = type === "components" ? "\nIf this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement." : ``;
|
|
5163
5100
|
warn$1(`Failed to resolve ${type.slice(0, -1)}: ${name}${extra}`);
|
|
5164
5101
|
}
|
|
5165
5102
|
return res;
|
|
@@ -5168,7 +5105,6 @@ function resolveAsset(type, name, warnMissing = true, maybeSelfReference = false
|
|
|
5168
5105
|
function resolve(registry, name) {
|
|
5169
5106
|
return registry && (registry[name] || registry[camelize(name)] || registry[capitalize(camelize(name))]);
|
|
5170
5107
|
}
|
|
5171
|
-
|
|
5172
5108
|
//#endregion
|
|
5173
5109
|
//#region packages/runtime-core/src/compat/renderFn.ts
|
|
5174
5110
|
function convertLegacyRenderFn(instance) {
|
|
@@ -5304,7 +5240,6 @@ function defineLegacyVNodeProperties(vnode) {
|
|
|
5304
5240
|
}
|
|
5305
5241
|
/* v8 ignore stop */
|
|
5306
5242
|
}
|
|
5307
|
-
|
|
5308
5243
|
//#endregion
|
|
5309
5244
|
//#region packages/runtime-core/src/compat/componentFunctional.ts
|
|
5310
5245
|
const normalizedFunctionalComponentMap = /* @__PURE__ */ new WeakMap();
|
|
@@ -5346,7 +5281,6 @@ function convertLegacyFunctionalComponent(comp) {
|
|
|
5346
5281
|
normalizedFunctionalComponentMap.set(comp, Func);
|
|
5347
5282
|
return Func;
|
|
5348
5283
|
}
|
|
5349
|
-
|
|
5350
5284
|
//#endregion
|
|
5351
5285
|
//#region packages/runtime-core/src/helpers/renderList.ts
|
|
5352
5286
|
/**
|
|
@@ -5367,11 +5301,14 @@ function renderList(source, renderItem, cache, index) {
|
|
|
5367
5301
|
}
|
|
5368
5302
|
ret = new Array(source.length);
|
|
5369
5303
|
for (let i = 0, l = source.length; i < l; i++) ret[i] = renderItem(needsWrap ? isReadonlySource ? toReadonly(toReactive(source[i])) : toReactive(source[i]) : source[i], i, void 0, cached && cached[i]);
|
|
5370
|
-
} else if (typeof source === "number") {
|
|
5371
|
-
|
|
5304
|
+
} else if (typeof source === "number") if (!!(process.env.NODE_ENV !== "production") && (!Number.isInteger(source) || source < 0)) {
|
|
5305
|
+
warn$1(`The v-for range expects a positive integer value but got ${source}.`);
|
|
5306
|
+
ret = [];
|
|
5307
|
+
} else {
|
|
5372
5308
|
ret = new Array(source);
|
|
5373
5309
|
for (let i = 0; i < source; i++) ret[i] = renderItem(i + 1, i, void 0, cached && cached[i]);
|
|
5374
|
-
}
|
|
5310
|
+
}
|
|
5311
|
+
else if (isObject(source)) if (source[Symbol.iterator]) ret = Array.from(source, (item, i) => renderItem(item, i, void 0, cached && cached[i]));
|
|
5375
5312
|
else {
|
|
5376
5313
|
const keys = Object.keys(source);
|
|
5377
5314
|
ret = new Array(keys.length);
|
|
@@ -5384,7 +5321,6 @@ function renderList(source, renderItem, cache, index) {
|
|
|
5384
5321
|
if (cache) cache[index] = ret;
|
|
5385
5322
|
return ret;
|
|
5386
5323
|
}
|
|
5387
|
-
|
|
5388
5324
|
//#endregion
|
|
5389
5325
|
//#region packages/runtime-core/src/helpers/createSlots.ts
|
|
5390
5326
|
/**
|
|
@@ -5403,7 +5339,6 @@ function createSlots(slots, dynamicSlots) {
|
|
|
5403
5339
|
}
|
|
5404
5340
|
return slots;
|
|
5405
5341
|
}
|
|
5406
|
-
|
|
5407
5342
|
//#endregion
|
|
5408
5343
|
//#region packages/runtime-core/src/helpers/renderSlot.ts
|
|
5409
5344
|
/**
|
|
@@ -5454,7 +5389,6 @@ function ensureVaporSlotFallback(vnodes, fallback) {
|
|
|
5454
5389
|
if (!vaporSlot.fallback && fallback) vaporSlot.fallback = fallback;
|
|
5455
5390
|
}
|
|
5456
5391
|
}
|
|
5457
|
-
|
|
5458
5392
|
//#endregion
|
|
5459
5393
|
//#region packages/runtime-core/src/helpers/toHandlers.ts
|
|
5460
5394
|
/**
|
|
@@ -5470,7 +5404,6 @@ function toHandlers(obj, preserveCaseIfNecessary) {
|
|
|
5470
5404
|
for (const key in obj) ret[preserveCaseIfNecessary && /[A-Z]/.test(key) ? `on:${key}` : toHandlerKey(key)] = obj[key];
|
|
5471
5405
|
return ret;
|
|
5472
5406
|
}
|
|
5473
|
-
|
|
5474
5407
|
//#endregion
|
|
5475
5408
|
//#region packages/runtime-core/src/compat/renderHelpers.ts
|
|
5476
5409
|
function toObject(arr) {
|
|
@@ -5552,7 +5485,6 @@ function legacyBindDynamicKeys(props, values) {
|
|
|
5552
5485
|
function legacyPrependModifier(value, symbol) {
|
|
5553
5486
|
return typeof value === "string" ? symbol + value : value;
|
|
5554
5487
|
}
|
|
5555
|
-
|
|
5556
5488
|
//#endregion
|
|
5557
5489
|
//#region packages/runtime-core/src/compat/instance.ts
|
|
5558
5490
|
function installCompatInstanceProperties(map) {
|
|
@@ -5641,7 +5573,6 @@ function installCompatInstanceProperties(map) {
|
|
|
5641
5573
|
if (isCompatEnabled$1("PRIVATE_APIS", i)) return privateAPIs[key](i);
|
|
5642
5574
|
};
|
|
5643
5575
|
}
|
|
5644
|
-
|
|
5645
5576
|
//#endregion
|
|
5646
5577
|
//#region packages/runtime-core/src/componentPublicInstance.ts
|
|
5647
5578
|
/**
|
|
@@ -5827,7 +5758,6 @@ function exposeSetupStateOnRenderContext(instance) {
|
|
|
5827
5758
|
}
|
|
5828
5759
|
});
|
|
5829
5760
|
}
|
|
5830
|
-
|
|
5831
5761
|
//#endregion
|
|
5832
5762
|
//#region packages/runtime-core/src/compat/data.ts
|
|
5833
5763
|
function deepMergeData(to, from) {
|
|
@@ -5841,7 +5771,6 @@ function deepMergeData(to, from) {
|
|
|
5841
5771
|
}
|
|
5842
5772
|
return to;
|
|
5843
5773
|
}
|
|
5844
|
-
|
|
5845
5774
|
//#endregion
|
|
5846
5775
|
//#region packages/runtime-core/src/apiSetupHelpers.ts
|
|
5847
5776
|
const warnRuntimeUsage = (method) => warn$1(`${method}() is a compiler-hint helper that is only usable inside <script setup> of a single file component. Its arguments should be compiled away and passing it at runtime has no effect.`);
|
|
@@ -5880,6 +5809,22 @@ function defineExpose(exposed) {
|
|
|
5880
5809
|
function defineOptions(options) {
|
|
5881
5810
|
if (!!(process.env.NODE_ENV !== "production")) warnRuntimeUsage(`defineOptions`);
|
|
5882
5811
|
}
|
|
5812
|
+
/**
|
|
5813
|
+
* Vue `<script setup>` compiler macro for providing type hints to IDEs for
|
|
5814
|
+
* slot name and slot props type checking.
|
|
5815
|
+
*
|
|
5816
|
+
* Example usage:
|
|
5817
|
+
* ```ts
|
|
5818
|
+
* const slots = defineSlots<{
|
|
5819
|
+
* default(props: { msg: string }): any
|
|
5820
|
+
* }>()
|
|
5821
|
+
* ```
|
|
5822
|
+
*
|
|
5823
|
+
* This is only usable inside `<script setup>`, is compiled away in the
|
|
5824
|
+
* output and should **not** be actually called at runtime.
|
|
5825
|
+
*
|
|
5826
|
+
* @see {@link https://vuejs.org/api/sfc-script-setup.html#defineslots}
|
|
5827
|
+
*/
|
|
5883
5828
|
function defineSlots() {
|
|
5884
5829
|
if (!!(process.env.NODE_ENV !== "production")) warnRuntimeUsage(`defineSlots`);
|
|
5885
5830
|
return null;
|
|
@@ -5996,16 +5941,29 @@ function createPropsRestProxy(props, excludedKeys) {
|
|
|
5996
5941
|
*/
|
|
5997
5942
|
function withAsyncContext(getAwaitable) {
|
|
5998
5943
|
const ctx = getCurrentGenericInstance();
|
|
5944
|
+
const inSSRSetup = isInSSRComponentSetup;
|
|
5999
5945
|
if (!!(process.env.NODE_ENV !== "production") && !ctx) warn$1("withAsyncContext called without active current instance. This is likely a bug.");
|
|
6000
5946
|
let awaitable = getAwaitable();
|
|
6001
5947
|
setCurrentInstance(null, void 0);
|
|
6002
|
-
if (
|
|
5948
|
+
if (inSSRSetup) setInSSRSetupState(false);
|
|
5949
|
+
const restore = () => {
|
|
6003
5950
|
setCurrentInstance(ctx);
|
|
5951
|
+
if (inSSRSetup) setInSSRSetupState(true);
|
|
5952
|
+
};
|
|
5953
|
+
const cleanup = () => {
|
|
5954
|
+
setCurrentInstance(null, void 0);
|
|
5955
|
+
if (inSSRSetup) setInSSRSetupState(false);
|
|
5956
|
+
};
|
|
5957
|
+
if (isPromise(awaitable)) awaitable = awaitable.catch((e) => {
|
|
5958
|
+
restore();
|
|
5959
|
+
Promise.resolve().then(() => Promise.resolve().then(cleanup));
|
|
6004
5960
|
throw e;
|
|
6005
5961
|
});
|
|
6006
|
-
return [awaitable, () =>
|
|
5962
|
+
return [awaitable, () => {
|
|
5963
|
+
restore();
|
|
5964
|
+
Promise.resolve().then(cleanup);
|
|
5965
|
+
}];
|
|
6007
5966
|
}
|
|
6008
|
-
|
|
6009
5967
|
//#endregion
|
|
6010
5968
|
//#region packages/runtime-core/src/componentOptions.ts
|
|
6011
5969
|
function createDuplicateChecker() {
|
|
@@ -6273,7 +6231,6 @@ function mergeWatchOptions(to, from) {
|
|
|
6273
6231
|
for (const key in from) merged[key] = mergeAsArray$1(to[key], from[key]);
|
|
6274
6232
|
return merged;
|
|
6275
6233
|
}
|
|
6276
|
-
|
|
6277
6234
|
//#endregion
|
|
6278
6235
|
//#region packages/runtime-core/src/compat/globalConfig.ts
|
|
6279
6236
|
function installLegacyConfigWarnings(config) {
|
|
@@ -6304,7 +6261,6 @@ function installLegacyOptionMergeStrats(config) {
|
|
|
6304
6261
|
if (key in internalOptionMergeStrats && softAssertCompatEnabled("CONFIG_OPTION_MERGE_STRATS", null)) return internalOptionMergeStrats[key];
|
|
6305
6262
|
} });
|
|
6306
6263
|
}
|
|
6307
|
-
|
|
6308
6264
|
//#endregion
|
|
6309
6265
|
//#region packages/runtime-core/src/compat/global.ts
|
|
6310
6266
|
let isCopyingConfig = false;
|
|
@@ -6325,7 +6281,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
|
|
|
6325
6281
|
if (options.el) return vm.$mount(options.el);
|
|
6326
6282
|
else return vm;
|
|
6327
6283
|
}
|
|
6328
|
-
Vue.version = `2.6.14-compat:3.6.0-beta.
|
|
6284
|
+
Vue.version = `2.6.14-compat:3.6.0-beta.8`;
|
|
6329
6285
|
Vue.config = singletonApp.config;
|
|
6330
6286
|
Vue.use = (plugin, ...options) => {
|
|
6331
6287
|
if (plugin && isFunction(plugin.install)) plugin.install(Vue, ...options);
|
|
@@ -6605,7 +6561,6 @@ function defineReactiveSimple(obj, key, val) {
|
|
|
6605
6561
|
}
|
|
6606
6562
|
});
|
|
6607
6563
|
}
|
|
6608
|
-
|
|
6609
6564
|
//#endregion
|
|
6610
6565
|
//#region packages/runtime-core/src/apiCreateApp.ts
|
|
6611
6566
|
function createAppContext() {
|
|
@@ -6744,7 +6699,6 @@ function createAppAPI(mount, unmount, getPublicInstance, render) {
|
|
|
6744
6699
|
* `app.runWithContext()`.
|
|
6745
6700
|
*/
|
|
6746
6701
|
let currentApp = null;
|
|
6747
|
-
|
|
6748
6702
|
//#endregion
|
|
6749
6703
|
//#region packages/runtime-core/src/compat/componentVModel.ts
|
|
6750
6704
|
const compatModelEventPrefix = `onModelCompat:`;
|
|
@@ -6787,7 +6741,6 @@ function compatModelEmit(instance, event, args) {
|
|
|
6787
6741
|
const modelHandler = props && props[compatModelEventPrefix + event];
|
|
6788
6742
|
if (modelHandler) callWithErrorHandling(modelHandler, instance, 6, args);
|
|
6789
6743
|
}
|
|
6790
|
-
|
|
6791
6744
|
//#endregion
|
|
6792
6745
|
//#region packages/runtime-core/src/helpers/useModel.ts
|
|
6793
6746
|
function useModel(props, name, options = EMPTY_OBJ) {
|
|
@@ -6860,7 +6813,6 @@ function useModel(props, name, options = EMPTY_OBJ) {
|
|
|
6860
6813
|
const getModelModifiers = (props, modelName, getter) => {
|
|
6861
6814
|
return getter(props, getModifierPropName(modelName)) || getter(props, `${camelize(modelName)}Modifiers`) || getter(props, `${hyphenate(modelName)}Modifiers`);
|
|
6862
6815
|
};
|
|
6863
|
-
|
|
6864
6816
|
//#endregion
|
|
6865
6817
|
//#region packages/runtime-core/src/componentEmits.ts
|
|
6866
6818
|
function emit(instance, event, ...rawArgs) {
|
|
@@ -6956,7 +6908,6 @@ function isEmitListener(options, key) {
|
|
|
6956
6908
|
key = key.slice(2).replace(/Once$/, "");
|
|
6957
6909
|
return hasOwn(options, key[0].toLowerCase() + key.slice(1)) || hasOwn(options, hyphenate(key)) || hasOwn(options, key);
|
|
6958
6910
|
}
|
|
6959
|
-
|
|
6960
6911
|
//#endregion
|
|
6961
6912
|
//#region packages/runtime-core/src/componentRenderUtils.ts
|
|
6962
6913
|
/**
|
|
@@ -7162,7 +7113,6 @@ function updateHOCHostEl({ vnode, parent }, el) {
|
|
|
7162
7113
|
} else break;
|
|
7163
7114
|
}
|
|
7164
7115
|
}
|
|
7165
|
-
|
|
7166
7116
|
//#endregion
|
|
7167
7117
|
//#region packages/runtime-core/src/compat/props.ts
|
|
7168
7118
|
function createPropsDefaultThis(instance, rawProps, propKey) {
|
|
@@ -7178,7 +7128,6 @@ function createPropsDefaultThis(instance, rawProps, propKey) {
|
|
|
7178
7128
|
}
|
|
7179
7129
|
} });
|
|
7180
7130
|
}
|
|
7181
|
-
|
|
7182
7131
|
//#endregion
|
|
7183
7132
|
//#region packages/runtime-core/src/compat/attrsFallthrough.ts
|
|
7184
7133
|
function shouldSkipAttr(key, instance) {
|
|
@@ -7188,7 +7137,6 @@ function shouldSkipAttr(key, instance) {
|
|
|
7188
7137
|
if (key.startsWith("routerView") || key === "registerRouteInstance") return true;
|
|
7189
7138
|
return false;
|
|
7190
7139
|
}
|
|
7191
|
-
|
|
7192
7140
|
//#endregion
|
|
7193
7141
|
//#region packages/runtime-core/src/internalObject.ts
|
|
7194
7142
|
/**
|
|
@@ -7200,7 +7148,6 @@ function shouldSkipAttr(key, instance) {
|
|
|
7200
7148
|
const internalObjectProto = {};
|
|
7201
7149
|
const createInternalObject = () => Object.create(internalObjectProto);
|
|
7202
7150
|
const isInternalObject = (obj) => Object.getPrototypeOf(obj) === internalObjectProto;
|
|
7203
|
-
|
|
7204
7151
|
//#endregion
|
|
7205
7152
|
//#region packages/runtime-core/src/componentProps.ts
|
|
7206
7153
|
function initProps(instance, rawProps, isStateful, isSSR = false) {
|
|
@@ -7505,7 +7452,6 @@ function isExplicable(type) {
|
|
|
7505
7452
|
function isBoolean(...args) {
|
|
7506
7453
|
return args.some((elem) => elem.toLowerCase() === "boolean");
|
|
7507
7454
|
}
|
|
7508
|
-
|
|
7509
7455
|
//#endregion
|
|
7510
7456
|
//#region packages/runtime-core/src/componentSlots.ts
|
|
7511
7457
|
const isInternalKey = (key) => key === "_" || key === "_ctx" || key === "$stable";
|
|
@@ -7574,7 +7520,6 @@ const updateSlots = (instance, children, optimized) => {
|
|
|
7574
7520
|
for (const key in slots) if (!isInternalKey(key) && deletionComparisonTarget[key] == null) delete slots[key];
|
|
7575
7521
|
}
|
|
7576
7522
|
};
|
|
7577
|
-
|
|
7578
7523
|
//#endregion
|
|
7579
7524
|
//#region packages/runtime-core/src/profiling.ts
|
|
7580
7525
|
let supported;
|
|
@@ -7613,7 +7558,6 @@ function isSupported() {
|
|
|
7613
7558
|
} else supported = false;
|
|
7614
7559
|
return supported;
|
|
7615
7560
|
}
|
|
7616
|
-
|
|
7617
7561
|
//#endregion
|
|
7618
7562
|
//#region packages/runtime-core/src/featureFlags.ts
|
|
7619
7563
|
let initialized = false;
|
|
@@ -7643,7 +7587,6 @@ function initFeatureFlags() {
|
|
|
7643
7587
|
}
|
|
7644
7588
|
initialized = true;
|
|
7645
7589
|
}
|
|
7646
|
-
|
|
7647
7590
|
//#endregion
|
|
7648
7591
|
//#region packages/runtime-core/src/renderer.ts
|
|
7649
7592
|
const MoveType = {
|
|
@@ -7709,7 +7652,7 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
7709
7652
|
processFragment(n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized);
|
|
7710
7653
|
break;
|
|
7711
7654
|
case VaporSlot:
|
|
7712
|
-
getVaporInterface(parentComponent, n2).slot(n1, n2, container, anchor, parentComponent);
|
|
7655
|
+
getVaporInterface(parentComponent, n2).slot(n1, n2, container, anchor, parentComponent, parentSuspense);
|
|
7713
7656
|
break;
|
|
7714
7657
|
default: if (shapeFlag & 1) processElement(n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized);
|
|
7715
7658
|
else if (shapeFlag & 6) processComponent(n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized);
|
|
@@ -8045,7 +7988,7 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
8045
7988
|
if (isAsyncWrapperVNode && type.__asyncHydrate) type.__asyncHydrate(el, instance, hydrateSubTree);
|
|
8046
7989
|
else hydrateSubTree();
|
|
8047
7990
|
} else {
|
|
8048
|
-
if (root.ce && root.ce._hasShadowRoot()) root.ce._injectChildStyle(type);
|
|
7991
|
+
if (root.ce && root.ce._hasShadowRoot()) root.ce._injectChildStyle(type, instance.parent ? instance.parent.type : void 0);
|
|
8049
7992
|
if (!!(process.env.NODE_ENV !== "production")) startMeasure(instance, `render`);
|
|
8050
7993
|
const subTree = instance.subTree = renderComponentRoot(instance);
|
|
8051
7994
|
if (!!(process.env.NODE_ENV !== "production")) endMeasure(instance, `render`);
|
|
@@ -8567,12 +8510,11 @@ function resolveAsyncComponentPlaceholder(anchorVnode) {
|
|
|
8567
8510
|
if (instance) return resolveAsyncComponentPlaceholder(instance.subTree);
|
|
8568
8511
|
return null;
|
|
8569
8512
|
}
|
|
8570
|
-
|
|
8571
8513
|
//#endregion
|
|
8572
8514
|
//#region packages/runtime-core/src/components/Suspense.ts
|
|
8573
8515
|
const isSuspense = (type) => type.__isSuspense;
|
|
8574
8516
|
let suspenseId = 0;
|
|
8575
|
-
const
|
|
8517
|
+
const Suspense = {
|
|
8576
8518
|
name: "Suspense",
|
|
8577
8519
|
__isSuspense: true,
|
|
8578
8520
|
process(n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized, rendererInternals) {
|
|
@@ -8590,7 +8532,6 @@ const SuspenseImpl = {
|
|
|
8590
8532
|
hydrate: hydrateSuspense,
|
|
8591
8533
|
normalize: normalizeSuspenseChildren
|
|
8592
8534
|
};
|
|
8593
|
-
const Suspense = SuspenseImpl;
|
|
8594
8535
|
function triggerEvent(vnode, name) {
|
|
8595
8536
|
const eventListener = vnode.props && vnode.props[name];
|
|
8596
8537
|
if (isFunction(eventListener)) eventListener();
|
|
@@ -8853,7 +8794,6 @@ function isVNodeSuspensible(vnode) {
|
|
|
8853
8794
|
const suspensible = vnode.props && vnode.props.suspensible;
|
|
8854
8795
|
return suspensible != null && suspensible !== false;
|
|
8855
8796
|
}
|
|
8856
|
-
|
|
8857
8797
|
//#endregion
|
|
8858
8798
|
//#region packages/runtime-core/src/compat/componentAsync.ts
|
|
8859
8799
|
const normalizedAsyncComponentMap = /* @__PURE__ */ new WeakMap();
|
|
@@ -8879,7 +8819,6 @@ function convertLegacyAsyncComponent(comp) {
|
|
|
8879
8819
|
normalizedAsyncComponentMap.set(comp, converted);
|
|
8880
8820
|
return converted;
|
|
8881
8821
|
}
|
|
8882
|
-
|
|
8883
8822
|
//#endregion
|
|
8884
8823
|
//#region packages/runtime-core/src/compat/component.ts
|
|
8885
8824
|
function convertLegacyComponent(comp, instance) {
|
|
@@ -8895,7 +8834,6 @@ function convertLegacyComponent(comp, instance) {
|
|
|
8895
8834
|
if (isObject(comp) && comp.functional && softAssertCompatEnabled("COMPONENT_FUNCTIONAL", instance, comp)) return convertLegacyFunctionalComponent(comp);
|
|
8896
8835
|
return comp;
|
|
8897
8836
|
}
|
|
8898
|
-
|
|
8899
8837
|
//#endregion
|
|
8900
8838
|
//#region packages/runtime-core/src/vnode.ts
|
|
8901
8839
|
const Fragment = Symbol.for("v-fgt");
|
|
@@ -9217,7 +9155,6 @@ function mergeProps(...args) {
|
|
|
9217
9155
|
function invokeVNodeHook(hook, instance, vnode, prevVNode = null) {
|
|
9218
9156
|
callWithAsyncErrorHandling(hook, instance, 7, [vnode, prevVNode]);
|
|
9219
9157
|
}
|
|
9220
|
-
|
|
9221
9158
|
//#endregion
|
|
9222
9159
|
//#region packages/runtime-core/src/componentCurrentInstance.ts
|
|
9223
9160
|
/**
|
|
@@ -9285,7 +9222,6 @@ const useInstanceOption = (key, silent = false) => {
|
|
|
9285
9222
|
value: instance[key]
|
|
9286
9223
|
};
|
|
9287
9224
|
};
|
|
9288
|
-
|
|
9289
9225
|
//#endregion
|
|
9290
9226
|
//#region packages/runtime-core/src/component.ts
|
|
9291
9227
|
const emptyAppContext = /* @__PURE__ */ createAppContext();
|
|
@@ -9604,13 +9540,11 @@ function formatComponentName(instance, Component, isRoot = false) {
|
|
|
9604
9540
|
function isClassComponent(value) {
|
|
9605
9541
|
return isFunction(value) && "__vccOpts" in value;
|
|
9606
9542
|
}
|
|
9607
|
-
|
|
9608
9543
|
//#endregion
|
|
9609
9544
|
//#region packages/runtime-core/src/apiComputed.ts
|
|
9610
9545
|
const computed = (getterOrOptions, debugOptions) => {
|
|
9611
9546
|
return /* @__PURE__ */ computed$1(getterOrOptions, debugOptions, isInSSRComponentSetup);
|
|
9612
9547
|
};
|
|
9613
|
-
|
|
9614
9548
|
//#endregion
|
|
9615
9549
|
//#region packages/runtime-core/src/h.ts
|
|
9616
9550
|
function h(type, propsOrChildren, children) {
|
|
@@ -9630,7 +9564,6 @@ function h(type, propsOrChildren, children) {
|
|
|
9630
9564
|
setBlockTracking(1);
|
|
9631
9565
|
}
|
|
9632
9566
|
}
|
|
9633
|
-
|
|
9634
9567
|
//#endregion
|
|
9635
9568
|
//#region packages/runtime-core/src/customFormatter.ts
|
|
9636
9569
|
function initCustomFormatter() {
|
|
@@ -9795,7 +9728,6 @@ function initCustomFormatter() {
|
|
|
9795
9728
|
if (window.devtoolsFormatters) window.devtoolsFormatters.push(formatter);
|
|
9796
9729
|
else window.devtoolsFormatters = [formatter];
|
|
9797
9730
|
}
|
|
9798
|
-
|
|
9799
9731
|
//#endregion
|
|
9800
9732
|
//#region packages/runtime-core/src/helpers/withMemo.ts
|
|
9801
9733
|
function withMemo(memo, render, cache, index) {
|
|
@@ -9813,10 +9745,9 @@ function isMemoSame(cached, memo) {
|
|
|
9813
9745
|
if (isBlockTreeEnabled > 0 && currentBlock) currentBlock.push(cached);
|
|
9814
9746
|
return true;
|
|
9815
9747
|
}
|
|
9816
|
-
|
|
9817
9748
|
//#endregion
|
|
9818
9749
|
//#region packages/runtime-core/src/index.ts
|
|
9819
|
-
const version = "3.6.0-beta.
|
|
9750
|
+
const version = "3.6.0-beta.8";
|
|
9820
9751
|
const warn = !!(process.env.NODE_ENV !== "production") ? warn$1 : NOOP;
|
|
9821
9752
|
/**
|
|
9822
9753
|
* Runtime error messages. Only exposed in dev or esm builds.
|
|
@@ -9825,7 +9756,11 @@ const warn = !!(process.env.NODE_ENV !== "production") ? warn$1 : NOOP;
|
|
|
9825
9756
|
const ErrorTypeStrings = ErrorTypeStrings$1;
|
|
9826
9757
|
const devtools = (process.env.NODE_ENV, devtools$1);
|
|
9827
9758
|
const setDevtoolsHook = (process.env.NODE_ENV, setDevtoolsHook$1);
|
|
9828
|
-
|
|
9759
|
+
/**
|
|
9760
|
+
* SSR utils for \@vue/server-renderer. Only exposed in ssr-possible builds.
|
|
9761
|
+
* @internal
|
|
9762
|
+
*/
|
|
9763
|
+
const ssrUtils = {
|
|
9829
9764
|
createComponentInstance,
|
|
9830
9765
|
setupComponent,
|
|
9831
9766
|
renderComponentRoot,
|
|
@@ -9838,27 +9773,20 @@ const _ssrUtils = {
|
|
|
9838
9773
|
popWarningContext
|
|
9839
9774
|
};
|
|
9840
9775
|
/**
|
|
9841
|
-
* SSR utils for \@vue/server-renderer. Only exposed in ssr-possible builds.
|
|
9842
|
-
* @internal
|
|
9843
|
-
*/
|
|
9844
|
-
const ssrUtils = _ssrUtils;
|
|
9845
|
-
/**
|
|
9846
9776
|
* @internal only exposed in compat builds
|
|
9847
9777
|
*/
|
|
9848
9778
|
const resolveFilter = resolveFilter$1;
|
|
9849
|
-
|
|
9779
|
+
/**
|
|
9780
|
+
* @internal only exposed in compat builds.
|
|
9781
|
+
*/
|
|
9782
|
+
const compatUtils = {
|
|
9850
9783
|
warnDeprecation: warnDeprecation$1,
|
|
9851
9784
|
createCompatVue: createCompatVue$1,
|
|
9852
9785
|
isCompatEnabled: isCompatEnabled$1,
|
|
9853
9786
|
checkCompatEnabled: checkCompatEnabled$1,
|
|
9854
9787
|
softAssertCompatEnabled
|
|
9855
9788
|
};
|
|
9856
|
-
/**
|
|
9857
|
-
* @internal only exposed in compat builds.
|
|
9858
|
-
*/
|
|
9859
|
-
const compatUtils = _compatUtils;
|
|
9860
9789
|
const DeprecationTypes = DeprecationTypes$1;
|
|
9861
|
-
|
|
9862
9790
|
//#endregion
|
|
9863
9791
|
//#region packages/runtime-dom/src/nodeOps.ts
|
|
9864
9792
|
let policy = void 0;
|
|
@@ -9919,7 +9847,6 @@ const nodeOps = {
|
|
|
9919
9847
|
return [before ? before.nextSibling : parent.firstChild, anchor ? anchor.previousSibling : parent.lastChild];
|
|
9920
9848
|
}
|
|
9921
9849
|
};
|
|
9922
|
-
|
|
9923
9850
|
//#endregion
|
|
9924
9851
|
//#region packages/runtime-dom/src/components/Transition.ts
|
|
9925
9852
|
const TRANSITION$1 = "transition";
|
|
@@ -10177,7 +10104,6 @@ function toMs(s) {
|
|
|
10177
10104
|
function forceReflow(el) {
|
|
10178
10105
|
return (el ? el.ownerDocument : document).body.offsetHeight;
|
|
10179
10106
|
}
|
|
10180
|
-
|
|
10181
10107
|
//#endregion
|
|
10182
10108
|
//#region packages/runtime-dom/src/modules/class.ts
|
|
10183
10109
|
function patchClass(el, value, isSVG) {
|
|
@@ -10187,7 +10113,6 @@ function patchClass(el, value, isSVG) {
|
|
|
10187
10113
|
else if (isSVG) el.setAttribute("class", value);
|
|
10188
10114
|
else el.className = value;
|
|
10189
10115
|
}
|
|
10190
|
-
|
|
10191
10116
|
//#endregion
|
|
10192
10117
|
//#region packages/runtime-dom/src/directives/vShow.ts
|
|
10193
10118
|
const vShowOriginalDisplay = Symbol("_vod");
|
|
@@ -10226,7 +10151,6 @@ function initVShowForSSR() {
|
|
|
10226
10151
|
if (!value) return { style: { display: "none" } };
|
|
10227
10152
|
};
|
|
10228
10153
|
}
|
|
10229
|
-
|
|
10230
10154
|
//#endregion
|
|
10231
10155
|
//#region packages/runtime-dom/src/helpers/useCssVars.ts
|
|
10232
10156
|
const CSS_VAR_TEXT = Symbol(!!(process.env.NODE_ENV !== "production") ? "CSS_VAR_TEXT" : "");
|
|
@@ -10312,7 +10236,6 @@ function setVarsOnNode(el, vars) {
|
|
|
10312
10236
|
style[CSS_VAR_TEXT] = cssText;
|
|
10313
10237
|
}
|
|
10314
10238
|
}
|
|
10315
|
-
|
|
10316
10239
|
//#endregion
|
|
10317
10240
|
//#region packages/runtime-dom/src/modules/style.ts
|
|
10318
10241
|
const displayRE = /(?:^|;)\s*display\s*:/;
|
|
@@ -10379,7 +10302,6 @@ function autoPrefix(style, rawName) {
|
|
|
10379
10302
|
}
|
|
10380
10303
|
return rawName;
|
|
10381
10304
|
}
|
|
10382
|
-
|
|
10383
10305
|
//#endregion
|
|
10384
10306
|
//#region packages/runtime-dom/src/modules/attrs.ts
|
|
10385
10307
|
const xlinkNS = "http://www.w3.org/1999/xlink";
|
|
@@ -10407,7 +10329,6 @@ function compatCoerceAttr(el, key, value, instance = null) {
|
|
|
10407
10329
|
}
|
|
10408
10330
|
return false;
|
|
10409
10331
|
}
|
|
10410
|
-
|
|
10411
10332
|
//#endregion
|
|
10412
10333
|
//#region packages/runtime-dom/src/modules/props.ts
|
|
10413
10334
|
function patchDOMProp(el, key, value, parentComponent, attrName) {
|
|
@@ -10450,7 +10371,6 @@ function patchDOMProp(el, key, value, parentComponent, attrName) {
|
|
|
10450
10371
|
}
|
|
10451
10372
|
needRemove && el.removeAttribute(attrName || key);
|
|
10452
10373
|
}
|
|
10453
|
-
|
|
10454
10374
|
//#endregion
|
|
10455
10375
|
//#region packages/runtime-dom/src/modules/events.ts
|
|
10456
10376
|
function addEventListener(el, event, handler, options) {
|
|
@@ -10514,7 +10434,6 @@ function patchStopImmediatePropagation(e, value) {
|
|
|
10514
10434
|
return value.map((fn) => (e) => !e._stopped && fn && fn(e));
|
|
10515
10435
|
} else return value;
|
|
10516
10436
|
}
|
|
10517
|
-
|
|
10518
10437
|
//#endregion
|
|
10519
10438
|
//#region packages/runtime-dom/src/patchProp.ts
|
|
10520
10439
|
const patchProp = (el, key, prevValue, nextValue, namespace, parentComponent) => {
|
|
@@ -10526,7 +10445,7 @@ const patchProp = (el, key, prevValue, nextValue, namespace, parentComponent) =>
|
|
|
10526
10445
|
} else if (key[0] === "." ? (key = key.slice(1), true) : key[0] === "^" ? (key = key.slice(1), false) : shouldSetAsProp(el, key, nextValue, isSVG)) {
|
|
10527
10446
|
patchDOMProp(el, key, nextValue, parentComponent);
|
|
10528
10447
|
if (!el.tagName.includes("-") && (key === "value" || key === "checked" || key === "selected")) patchAttr(el, key, nextValue, isSVG, parentComponent, key !== "value");
|
|
10529
|
-
} else if (el._isVueCE && (/[A-Z]/.test(key) || !isString(nextValue))) patchDOMProp(el, camelize(key), nextValue, parentComponent, key);
|
|
10448
|
+
} else if (el._isVueCE && (shouldSetAsPropForVueCE(el, key) || el._def.__asyncLoader && (/[A-Z]/.test(key) || !isString(nextValue)))) patchDOMProp(el, camelize(key), nextValue, parentComponent, key);
|
|
10530
10449
|
else {
|
|
10531
10450
|
if (key === "true-value") el._trueValue = nextValue;
|
|
10532
10451
|
else if (key === "false-value") el._falseValue = nextValue;
|
|
@@ -10543,7 +10462,12 @@ function shouldSetAsProp(el, key, value, isSVG) {
|
|
|
10543
10462
|
if (isNativeOn(key) && isString(value)) return false;
|
|
10544
10463
|
return key in el;
|
|
10545
10464
|
}
|
|
10546
|
-
|
|
10465
|
+
function shouldSetAsPropForVueCE(el, key) {
|
|
10466
|
+
const props = el._def.props;
|
|
10467
|
+
if (!props) return false;
|
|
10468
|
+
const camelKey = camelize(key);
|
|
10469
|
+
return Array.isArray(props) ? props.some((prop) => camelize(prop) === camelKey) : Object.keys(props).some((prop) => camelize(prop) === camelKey);
|
|
10470
|
+
}
|
|
10547
10471
|
//#endregion
|
|
10548
10472
|
//#region packages/runtime-dom/src/apiCustomElement.ts
|
|
10549
10473
|
const REMOVAL = {};
|
|
@@ -10573,6 +10497,7 @@ var VueElementBase = class VueElementBase extends BaseClass {
|
|
|
10573
10497
|
this._resolved = false;
|
|
10574
10498
|
this._numberProps = null;
|
|
10575
10499
|
this._styleChildren = /* @__PURE__ */ new WeakSet();
|
|
10500
|
+
this._styleAnchors = /* @__PURE__ */ new WeakMap();
|
|
10576
10501
|
this._patching = false;
|
|
10577
10502
|
this._dirty = false;
|
|
10578
10503
|
this._ob = null;
|
|
@@ -10591,7 +10516,7 @@ var VueElementBase = class VueElementBase extends BaseClass {
|
|
|
10591
10516
|
if (!this.shadowRoot && !this._resolved) this._parseSlots();
|
|
10592
10517
|
this._connected = true;
|
|
10593
10518
|
let parent = this;
|
|
10594
|
-
while (parent = parent && (parent.parentNode || parent.host)) if (parent instanceof VueElementBase) {
|
|
10519
|
+
while (parent = parent && (parent.assignedSlot || parent.parentNode || parent.host)) if (parent instanceof VueElementBase) {
|
|
10595
10520
|
this._parent = parent;
|
|
10596
10521
|
break;
|
|
10597
10522
|
}
|
|
@@ -10684,6 +10609,7 @@ var VueElementBase = class VueElementBase extends BaseClass {
|
|
|
10684
10609
|
this._styles.forEach((s) => this._root.removeChild(s));
|
|
10685
10610
|
this._styles.length = 0;
|
|
10686
10611
|
}
|
|
10612
|
+
this._styleAnchors.delete(this._def);
|
|
10687
10613
|
this._applyStyles(newStyles);
|
|
10688
10614
|
if (!this._instance.vapor) this._instance = null;
|
|
10689
10615
|
this._update();
|
|
@@ -10749,18 +10675,26 @@ var VueElementBase = class VueElementBase extends BaseClass {
|
|
|
10749
10675
|
}
|
|
10750
10676
|
}
|
|
10751
10677
|
}
|
|
10752
|
-
_applyStyles(styles, owner) {
|
|
10678
|
+
_applyStyles(styles, owner, parentComp) {
|
|
10753
10679
|
if (!styles) return;
|
|
10754
10680
|
if (owner) {
|
|
10755
10681
|
if (owner === this._def || this._styleChildren.has(owner)) return;
|
|
10756
10682
|
this._styleChildren.add(owner);
|
|
10757
10683
|
}
|
|
10758
10684
|
const nonce = this._nonce;
|
|
10685
|
+
const root = this.shadowRoot;
|
|
10686
|
+
const insertionAnchor = parentComp ? this._getStyleAnchor(parentComp) || this._getStyleAnchor(this._def) : this._getRootStyleInsertionAnchor(root);
|
|
10687
|
+
let last = null;
|
|
10759
10688
|
for (let i = styles.length - 1; i >= 0; i--) {
|
|
10760
10689
|
const s = document.createElement("style");
|
|
10761
10690
|
if (nonce) s.setAttribute("nonce", nonce);
|
|
10762
10691
|
s.textContent = styles[i];
|
|
10763
|
-
|
|
10692
|
+
root.insertBefore(s, last || insertionAnchor);
|
|
10693
|
+
last = s;
|
|
10694
|
+
if (i === 0) {
|
|
10695
|
+
if (!parentComp) this._styleAnchors.set(this._def, s);
|
|
10696
|
+
if (owner) this._styleAnchors.set(owner, s);
|
|
10697
|
+
}
|
|
10764
10698
|
if (!!(process.env.NODE_ENV !== "production")) if (owner) {
|
|
10765
10699
|
if (owner.__hmrId) {
|
|
10766
10700
|
if (!this._childStyles) this._childStyles = /* @__PURE__ */ new Map();
|
|
@@ -10771,6 +10705,20 @@ var VueElementBase = class VueElementBase extends BaseClass {
|
|
|
10771
10705
|
} else (this._styles || (this._styles = [])).push(s);
|
|
10772
10706
|
}
|
|
10773
10707
|
}
|
|
10708
|
+
_getStyleAnchor(comp) {
|
|
10709
|
+
if (!comp) return null;
|
|
10710
|
+
const anchor = this._styleAnchors.get(comp);
|
|
10711
|
+
if (anchor && anchor.parentNode === this.shadowRoot) return anchor;
|
|
10712
|
+
if (anchor) this._styleAnchors.delete(comp);
|
|
10713
|
+
return null;
|
|
10714
|
+
}
|
|
10715
|
+
_getRootStyleInsertionAnchor(root) {
|
|
10716
|
+
for (let i = 0; i < root.childNodes.length; i++) {
|
|
10717
|
+
const node = root.childNodes[i];
|
|
10718
|
+
if (!(node instanceof HTMLStyleElement)) return node;
|
|
10719
|
+
}
|
|
10720
|
+
return null;
|
|
10721
|
+
}
|
|
10774
10722
|
/**
|
|
10775
10723
|
* Only called when shadowRoot is false
|
|
10776
10724
|
*/
|
|
@@ -10833,8 +10781,8 @@ var VueElementBase = class VueElementBase extends BaseClass {
|
|
|
10833
10781
|
/**
|
|
10834
10782
|
* @internal
|
|
10835
10783
|
*/
|
|
10836
|
-
_injectChildStyle(comp) {
|
|
10837
|
-
this._applyStyles(comp.styles, comp);
|
|
10784
|
+
_injectChildStyle(comp, parentComp) {
|
|
10785
|
+
this._applyStyles(comp.styles, comp, parentComp);
|
|
10838
10786
|
}
|
|
10839
10787
|
/**
|
|
10840
10788
|
* @internal
|
|
@@ -10862,6 +10810,7 @@ var VueElementBase = class VueElementBase extends BaseClass {
|
|
|
10862
10810
|
_removeChildStyle(comp) {
|
|
10863
10811
|
if (!!(process.env.NODE_ENV !== "production")) {
|
|
10864
10812
|
this._styleChildren.delete(comp);
|
|
10813
|
+
this._styleAnchors.delete(comp);
|
|
10865
10814
|
if (this._childStyles && comp.__hmrId) {
|
|
10866
10815
|
const oldStyles = this._childStyles.get(comp.__hmrId);
|
|
10867
10816
|
if (oldStyles) {
|
|
@@ -10931,7 +10880,6 @@ function useShadowRoot() {
|
|
|
10931
10880
|
const el = !!(process.env.NODE_ENV !== "production") ? useHost("useShadowRoot") : useHost();
|
|
10932
10881
|
return el && el.shadowRoot;
|
|
10933
10882
|
}
|
|
10934
|
-
|
|
10935
10883
|
//#endregion
|
|
10936
10884
|
//#region packages/runtime-dom/src/helpers/useCssModule.ts
|
|
10937
10885
|
function useCssModule(name = "$style") {
|
|
@@ -10954,7 +10902,6 @@ function useCssModule(name = "$style") {
|
|
|
10954
10902
|
return mod;
|
|
10955
10903
|
}
|
|
10956
10904
|
}
|
|
10957
|
-
|
|
10958
10905
|
//#endregion
|
|
10959
10906
|
//#region packages/runtime-dom/src/components/TransitionGroup.ts
|
|
10960
10907
|
const positionMap = /* @__PURE__ */ new WeakMap();
|
|
@@ -10970,7 +10917,7 @@ const decorate = (t) => {
|
|
|
10970
10917
|
t.__isBuiltIn = true;
|
|
10971
10918
|
return t;
|
|
10972
10919
|
};
|
|
10973
|
-
const
|
|
10920
|
+
const TransitionGroup = /* @__PURE__ */ decorate({
|
|
10974
10921
|
name: "TransitionGroup",
|
|
10975
10922
|
props: /* @__PURE__ */ extend({}, TransitionPropsValidators, {
|
|
10976
10923
|
tag: String,
|
|
@@ -11022,7 +10969,6 @@ const TransitionGroupImpl = /* @__PURE__ */ decorate({
|
|
|
11022
10969
|
};
|
|
11023
10970
|
}
|
|
11024
10971
|
});
|
|
11025
|
-
const TransitionGroup = TransitionGroupImpl;
|
|
11026
10972
|
function callPendingCbs(el) {
|
|
11027
10973
|
if (el[moveCbKey]) el[moveCbKey]();
|
|
11028
10974
|
if (el[enterCbKey]) el[enterCbKey]();
|
|
@@ -11088,7 +11034,6 @@ const handleMovedChildren = (el, moveClass) => {
|
|
|
11088
11034
|
};
|
|
11089
11035
|
el.addEventListener("transitionend", cb);
|
|
11090
11036
|
};
|
|
11091
|
-
|
|
11092
11037
|
//#endregion
|
|
11093
11038
|
//#region packages/runtime-dom/src/directives/vModel.ts
|
|
11094
11039
|
const getModelAssigner = (vnode) => {
|
|
@@ -11338,7 +11283,6 @@ function initVModelForSSR() {
|
|
|
11338
11283
|
if (modelToUse.getSSRProps) return modelToUse.getSSRProps(binding, vnode);
|
|
11339
11284
|
};
|
|
11340
11285
|
}
|
|
11341
|
-
|
|
11342
11286
|
//#endregion
|
|
11343
11287
|
//#region packages/runtime-dom/src/directives/vOn.ts
|
|
11344
11288
|
const systemModifiers = [
|
|
@@ -11413,7 +11357,6 @@ const withKeys = (fn, modifiers) => {
|
|
|
11413
11357
|
}
|
|
11414
11358
|
}));
|
|
11415
11359
|
};
|
|
11416
|
-
|
|
11417
11360
|
//#endregion
|
|
11418
11361
|
//#region packages/runtime-dom/src/index.ts
|
|
11419
11362
|
var src_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -11430,6 +11373,7 @@ var src_exports = /* @__PURE__ */ __exportAll({
|
|
|
11430
11373
|
MoveType: () => MoveType,
|
|
11431
11374
|
NULL_DYNAMIC_COMPONENT: () => NULL_DYNAMIC_COMPONENT,
|
|
11432
11375
|
ReactiveEffect: () => ReactiveEffect,
|
|
11376
|
+
SchedulerJobFlags: () => SchedulerJobFlags,
|
|
11433
11377
|
Static: () => Static,
|
|
11434
11378
|
Suspense: () => Suspense,
|
|
11435
11379
|
Teleport: () => Teleport,
|
|
@@ -11604,6 +11548,7 @@ var src_exports = /* @__PURE__ */ __exportAll({
|
|
|
11604
11548
|
resolveTransitionProps: () => resolveTransitionProps,
|
|
11605
11549
|
setBlockTracking: () => setBlockTracking,
|
|
11606
11550
|
setCurrentInstance: () => setCurrentInstance,
|
|
11551
|
+
setCurrentRenderingInstance: () => setCurrentRenderingInstance,
|
|
11607
11552
|
setDevtoolsHook: () => setDevtoolsHook,
|
|
11608
11553
|
setIsHydratingEnabled: () => setIsHydratingEnabled,
|
|
11609
11554
|
setRef: () => setRef,
|
|
@@ -11613,6 +11558,7 @@ var src_exports = /* @__PURE__ */ __exportAll({
|
|
|
11613
11558
|
shallowReadonly: () => shallowReadonly,
|
|
11614
11559
|
shallowRef: () => shallowRef,
|
|
11615
11560
|
shouldSetAsProp: () => shouldSetAsProp,
|
|
11561
|
+
shouldSetAsPropForVueCE: () => shouldSetAsPropForVueCE,
|
|
11616
11562
|
simpleSetCurrentInstance: () => simpleSetCurrentInstance,
|
|
11617
11563
|
ssrContextKey: () => ssrContextKey,
|
|
11618
11564
|
ssrUtils: () => ssrUtils,
|
|
@@ -11800,13 +11746,11 @@ const initDirectivesForSSR = () => {
|
|
|
11800
11746
|
initVShowForSSR();
|
|
11801
11747
|
}
|
|
11802
11748
|
};
|
|
11803
|
-
|
|
11804
11749
|
//#endregion
|
|
11805
11750
|
//#region packages/vue-compat/src/dev.ts
|
|
11806
11751
|
function initDev() {
|
|
11807
11752
|
initCustomFormatter();
|
|
11808
11753
|
}
|
|
11809
|
-
|
|
11810
11754
|
//#endregion
|
|
11811
11755
|
//#region packages/vue-compat/src/createCompatVue.ts
|
|
11812
11756
|
if (!!(process.env.NODE_ENV !== "production")) initDev();
|
|
@@ -11826,7 +11770,6 @@ function createCompatVue() {
|
|
|
11826
11770
|
extend(Vue, src_exports);
|
|
11827
11771
|
return Vue;
|
|
11828
11772
|
}
|
|
11829
|
-
|
|
11830
11773
|
//#endregion
|
|
11831
11774
|
//#region packages/compiler-core/src/runtimeHelpers.ts
|
|
11832
11775
|
const FRAGMENT = Symbol(!!(process.env.NODE_ENV !== "production") ? `Fragment` : ``);
|
|
@@ -11921,7 +11864,6 @@ function registerRuntimeHelpers(helpers) {
|
|
|
11921
11864
|
helperNameMap[s] = helpers[s];
|
|
11922
11865
|
});
|
|
11923
11866
|
}
|
|
11924
|
-
|
|
11925
11867
|
//#endregion
|
|
11926
11868
|
//#region packages/compiler-core/src/ast.ts
|
|
11927
11869
|
const locStub = {
|
|
@@ -12073,7 +12015,6 @@ function convertToBlock(node, { helper, removeHelper, inSSR }) {
|
|
|
12073
12015
|
helper(getVNodeBlockHelper(inSSR, node.isComponent));
|
|
12074
12016
|
}
|
|
12075
12017
|
}
|
|
12076
|
-
|
|
12077
12018
|
//#endregion
|
|
12078
12019
|
//#region packages/compiler-core/src/tokenizer.ts
|
|
12079
12020
|
const defaultDelimitersOpen = new Uint8Array([123, 123]);
|
|
@@ -12782,7 +12723,6 @@ var Tokenizer = class {
|
|
|
12782
12723
|
}
|
|
12783
12724
|
emitCodePoint(cp, consumed) {}
|
|
12784
12725
|
};
|
|
12785
|
-
|
|
12786
12726
|
//#endregion
|
|
12787
12727
|
//#region packages/compiler-core/src/compat/compatConfig.ts
|
|
12788
12728
|
const deprecationData = {
|
|
@@ -12840,7 +12780,6 @@ function warnDeprecation(key, context, loc, ...args) {
|
|
|
12840
12780
|
if (loc) err.loc = loc;
|
|
12841
12781
|
context.onWarn(err);
|
|
12842
12782
|
}
|
|
12843
|
-
|
|
12844
12783
|
//#endregion
|
|
12845
12784
|
//#region packages/compiler-core/src/errors.ts
|
|
12846
12785
|
function defaultOnError(error) {
|
|
@@ -12913,7 +12852,6 @@ const errorMessages = {
|
|
|
12913
12852
|
[51]: `"scopeId" option is only supported in module mode.`,
|
|
12914
12853
|
[54]: ``
|
|
12915
12854
|
};
|
|
12916
|
-
|
|
12917
12855
|
//#endregion
|
|
12918
12856
|
//#region packages/compiler-core/src/utils.ts
|
|
12919
12857
|
const isStaticExp = (p) => p.type === 4 && p.isStatic;
|
|
@@ -13113,7 +13051,6 @@ function isWhitespaceText(node) {
|
|
|
13113
13051
|
function isCommentOrWhitespace(node) {
|
|
13114
13052
|
return node.type === 3 || isWhitespaceText(node);
|
|
13115
13053
|
}
|
|
13116
|
-
|
|
13117
13054
|
//#endregion
|
|
13118
13055
|
//#region packages/compiler-core/src/parser.ts
|
|
13119
13056
|
const defaultParserOptions = {
|
|
@@ -13648,7 +13585,6 @@ function baseParse(input, options) {
|
|
|
13648
13585
|
currentRoot = null;
|
|
13649
13586
|
return root;
|
|
13650
13587
|
}
|
|
13651
|
-
|
|
13652
13588
|
//#endregion
|
|
13653
13589
|
//#region packages/compiler-core/src/transforms/cacheStatic.ts
|
|
13654
13590
|
function cacheStatic(root, context) {
|
|
@@ -13846,7 +13782,6 @@ function getNodeProps(node) {
|
|
|
13846
13782
|
const codegenNode = node.codegenNode;
|
|
13847
13783
|
if (codegenNode.type === 13) return codegenNode.props;
|
|
13848
13784
|
}
|
|
13849
|
-
|
|
13850
13785
|
//#endregion
|
|
13851
13786
|
//#region packages/compiler-core/src/transform.ts
|
|
13852
13787
|
function getSelfName(filename) {
|
|
@@ -14057,7 +13992,6 @@ function createStructuralDirectiveTransform(name, fn) {
|
|
|
14057
13992
|
}
|
|
14058
13993
|
};
|
|
14059
13994
|
}
|
|
14060
|
-
|
|
14061
13995
|
//#endregion
|
|
14062
13996
|
//#region packages/compiler-core/src/codegen.ts
|
|
14063
13997
|
const PURE_ANNOTATION = `/*@__PURE__*/`;
|
|
@@ -14484,7 +14418,6 @@ function genCacheExpression(node, context) {
|
|
|
14484
14418
|
push(`)`);
|
|
14485
14419
|
if (needArraySpread) push(`)]`);
|
|
14486
14420
|
}
|
|
14487
|
-
|
|
14488
14421
|
//#endregion
|
|
14489
14422
|
//#region packages/compiler-core/src/validateExpression.ts
|
|
14490
14423
|
const prohibitedKeywordRE = new RegExp("\\b" + "arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b") + "\\b");
|
|
@@ -14506,7 +14439,6 @@ function validateBrowserExpression(node, context, asParams = false, asRawStateme
|
|
|
14506
14439
|
context.onError(createCompilerError(46, node.loc, void 0, message));
|
|
14507
14440
|
}
|
|
14508
14441
|
}
|
|
14509
|
-
|
|
14510
14442
|
//#endregion
|
|
14511
14443
|
//#region packages/compiler-core/src/transforms/transformExpression.ts
|
|
14512
14444
|
const transformExpression = (node, context) => {
|
|
@@ -14528,7 +14460,6 @@ function processExpression(node, context, asParams = false, asRawStatements = fa
|
|
|
14528
14460
|
if (!!(process.env.NODE_ENV !== "production")) validateBrowserExpression(node, context, asParams, asRawStatements);
|
|
14529
14461
|
return node;
|
|
14530
14462
|
}
|
|
14531
|
-
|
|
14532
14463
|
//#endregion
|
|
14533
14464
|
//#region packages/compiler-core/src/transforms/vIf.ts
|
|
14534
14465
|
const transformIf = createStructuralDirectiveTransform(/^(?:if|else|else-if)$/, (node, dir, context) => {
|
|
@@ -14651,7 +14582,6 @@ function getParentCondition(node) {
|
|
|
14651
14582
|
else return node;
|
|
14652
14583
|
else if (node.type === 20) node = node.value;
|
|
14653
14584
|
}
|
|
14654
|
-
|
|
14655
14585
|
//#endregion
|
|
14656
14586
|
//#region packages/compiler-core/src/transforms/vFor.ts
|
|
14657
14587
|
const transformFor = createStructuralDirectiveTransform("for", (node, dir, context) => {
|
|
@@ -14776,7 +14706,6 @@ function createParamsList(args) {
|
|
|
14776
14706
|
while (i--) if (args[i]) break;
|
|
14777
14707
|
return args.slice(0, i + 1).map((arg, i) => arg || createSimpleExpression(`_`.repeat(i + 1), false));
|
|
14778
14708
|
}
|
|
14779
|
-
|
|
14780
14709
|
//#endregion
|
|
14781
14710
|
//#region packages/compiler-core/src/transforms/vSlot.ts
|
|
14782
14711
|
const defaultFallback = createSimpleExpression(`undefined`, false);
|
|
@@ -14907,7 +14836,6 @@ function hasForwardedSlots(children) {
|
|
|
14907
14836
|
}
|
|
14908
14837
|
return false;
|
|
14909
14838
|
}
|
|
14910
|
-
|
|
14911
14839
|
//#endregion
|
|
14912
14840
|
//#region packages/compiler-core/src/transforms/transformElement.ts
|
|
14913
14841
|
const directiveImportMap = /* @__PURE__ */ new WeakMap();
|
|
@@ -15202,7 +15130,6 @@ function stringifyDynamicPropNames(props) {
|
|
|
15202
15130
|
function isComponentTag(tag) {
|
|
15203
15131
|
return tag === "component" || tag === "Component";
|
|
15204
15132
|
}
|
|
15205
|
-
|
|
15206
15133
|
//#endregion
|
|
15207
15134
|
//#region packages/compiler-core/src/transforms/transformSlotOutlet.ts
|
|
15208
15135
|
const transformSlotOutlet = (node, context) => {
|
|
@@ -15260,7 +15187,6 @@ function processSlotOutlet(node, context) {
|
|
|
15260
15187
|
slotProps
|
|
15261
15188
|
};
|
|
15262
15189
|
}
|
|
15263
|
-
|
|
15264
15190
|
//#endregion
|
|
15265
15191
|
//#region packages/compiler-core/src/transforms/vOn.ts
|
|
15266
15192
|
const transformOn$1 = (dir, node, context, augmentor) => {
|
|
@@ -15302,7 +15228,6 @@ const transformOn$1 = (dir, node, context, augmentor) => {
|
|
|
15302
15228
|
ret.props.forEach((p) => p.key.isHandlerKey = true);
|
|
15303
15229
|
return ret;
|
|
15304
15230
|
};
|
|
15305
|
-
|
|
15306
15231
|
//#endregion
|
|
15307
15232
|
//#region packages/compiler-core/src/transforms/vBind.ts
|
|
15308
15233
|
const transformBind = (dir, _node, context) => {
|
|
@@ -15334,7 +15259,6 @@ const injectPrefix = (arg, prefix) => {
|
|
|
15334
15259
|
arg.children.push(`)`);
|
|
15335
15260
|
}
|
|
15336
15261
|
};
|
|
15337
|
-
|
|
15338
15262
|
//#endregion
|
|
15339
15263
|
//#region packages/compiler-core/src/transforms/transformText.ts
|
|
15340
15264
|
const transformText = (node, context) => {
|
|
@@ -15377,7 +15301,6 @@ const transformText = (node, context) => {
|
|
|
15377
15301
|
}
|
|
15378
15302
|
};
|
|
15379
15303
|
};
|
|
15380
|
-
|
|
15381
15304
|
//#endregion
|
|
15382
15305
|
//#region packages/compiler-core/src/transforms/vOnce.ts
|
|
15383
15306
|
const seen$1 = /* @__PURE__ */ new WeakSet();
|
|
@@ -15394,7 +15317,6 @@ const transformOnce = (node, context) => {
|
|
|
15394
15317
|
};
|
|
15395
15318
|
}
|
|
15396
15319
|
};
|
|
15397
|
-
|
|
15398
15320
|
//#endregion
|
|
15399
15321
|
//#region packages/compiler-core/src/transforms/vModel.ts
|
|
15400
15322
|
const transformModel$1 = (dir, node, context) => {
|
|
@@ -15437,7 +15359,6 @@ const transformModel$1 = (dir, node, context) => {
|
|
|
15437
15359
|
function createTransformProps(props = []) {
|
|
15438
15360
|
return { props };
|
|
15439
15361
|
}
|
|
15440
|
-
|
|
15441
15362
|
//#endregion
|
|
15442
15363
|
//#region packages/compiler-core/src/compat/transformFilter.ts
|
|
15443
15364
|
const validDivisionCharRE = /[\w).+\-_$\]]/;
|
|
@@ -15551,7 +15472,6 @@ function wrapFilter(exp, filter, context) {
|
|
|
15551
15472
|
return `${toValidAssetId(name, "filter")}(${exp}${args !== ")" ? "," + args : args}`;
|
|
15552
15473
|
}
|
|
15553
15474
|
}
|
|
15554
|
-
|
|
15555
15475
|
//#endregion
|
|
15556
15476
|
//#region packages/compiler-core/src/transforms/vMemo.ts
|
|
15557
15477
|
const seen = /* @__PURE__ */ new WeakSet();
|
|
@@ -15575,7 +15495,6 @@ const transformMemo = (node, context) => {
|
|
|
15575
15495
|
};
|
|
15576
15496
|
}
|
|
15577
15497
|
};
|
|
15578
|
-
|
|
15579
15498
|
//#endregion
|
|
15580
15499
|
//#region packages/compiler-core/src/transforms/transformVBindShorthand.ts
|
|
15581
15500
|
const transformVBindShorthand = (node, context) => {
|
|
@@ -15592,7 +15511,6 @@ const transformVBindShorthand = (node, context) => {
|
|
|
15592
15511
|
}
|
|
15593
15512
|
}
|
|
15594
15513
|
};
|
|
15595
|
-
|
|
15596
15514
|
//#endregion
|
|
15597
15515
|
//#region packages/compiler-core/src/compile.ts
|
|
15598
15516
|
function getBaseTransformPreset(prefixIdentifiers) {
|
|
@@ -15632,11 +15550,9 @@ function baseCompile(source, options = {}) {
|
|
|
15632
15550
|
}));
|
|
15633
15551
|
return generate(ast, resolvedOptions);
|
|
15634
15552
|
}
|
|
15635
|
-
|
|
15636
15553
|
//#endregion
|
|
15637
15554
|
//#region packages/compiler-core/src/transforms/noopDirectiveTransform.ts
|
|
15638
15555
|
const noopDirectiveTransform = () => ({ props: [] });
|
|
15639
|
-
|
|
15640
15556
|
//#endregion
|
|
15641
15557
|
//#region packages/compiler-dom/src/runtimeHelpers.ts
|
|
15642
15558
|
const V_MODEL_RADIO = Symbol(!!(process.env.NODE_ENV !== "production") ? `vModelRadio` : ``);
|
|
@@ -15661,7 +15577,6 @@ registerRuntimeHelpers({
|
|
|
15661
15577
|
[TRANSITION]: `Transition`,
|
|
15662
15578
|
[TRANSITION_GROUP]: `TransitionGroup`
|
|
15663
15579
|
});
|
|
15664
|
-
|
|
15665
15580
|
//#endregion
|
|
15666
15581
|
//#region packages/compiler-dom/src/decodeHtmlBrowser.ts
|
|
15667
15582
|
let decoder;
|
|
@@ -15675,7 +15590,6 @@ function decodeHtmlBrowser(raw, asAttr = false) {
|
|
|
15675
15590
|
return decoder.textContent;
|
|
15676
15591
|
}
|
|
15677
15592
|
}
|
|
15678
|
-
|
|
15679
15593
|
//#endregion
|
|
15680
15594
|
//#region packages/compiler-dom/src/parserOptions.ts
|
|
15681
15595
|
const parserOptions = {
|
|
@@ -15706,7 +15620,6 @@ const parserOptions = {
|
|
|
15706
15620
|
return ns;
|
|
15707
15621
|
}
|
|
15708
15622
|
};
|
|
15709
|
-
|
|
15710
15623
|
//#endregion
|
|
15711
15624
|
//#region packages/compiler-dom/src/transforms/transformStyle.ts
|
|
15712
15625
|
const transformStyle = (node) => {
|
|
@@ -15725,7 +15638,6 @@ const parseInlineCSS = (cssText, loc) => {
|
|
|
15725
15638
|
const normalized = parseStringStyle(cssText);
|
|
15726
15639
|
return createSimpleExpression(JSON.stringify(normalized), false, loc, 3);
|
|
15727
15640
|
};
|
|
15728
|
-
|
|
15729
15641
|
//#endregion
|
|
15730
15642
|
//#region packages/compiler-dom/src/errors.ts
|
|
15731
15643
|
function createDOMCompilerError(code, loc) {
|
|
@@ -15745,7 +15657,6 @@ const DOMErrorMessages = {
|
|
|
15745
15657
|
[64]: `Tags with side effect (<script> and <style>) are ignored in client component templates.`,
|
|
15746
15658
|
[65]: ``
|
|
15747
15659
|
};
|
|
15748
|
-
|
|
15749
15660
|
//#endregion
|
|
15750
15661
|
//#region packages/compiler-dom/src/transforms/vHtml.ts
|
|
15751
15662
|
const transformVHtml = (dir, node, context) => {
|
|
@@ -15757,7 +15668,6 @@ const transformVHtml = (dir, node, context) => {
|
|
|
15757
15668
|
}
|
|
15758
15669
|
return { props: [createObjectProperty(createSimpleExpression(`innerHTML`, true, loc), exp || createSimpleExpression("", true))] };
|
|
15759
15670
|
};
|
|
15760
|
-
|
|
15761
15671
|
//#endregion
|
|
15762
15672
|
//#region packages/compiler-dom/src/transforms/vText.ts
|
|
15763
15673
|
const transformVText = (dir, node, context) => {
|
|
@@ -15769,7 +15679,6 @@ const transformVText = (dir, node, context) => {
|
|
|
15769
15679
|
}
|
|
15770
15680
|
return { props: [createObjectProperty(createSimpleExpression(`textContent`, true), exp ? getConstantType(exp, context) > 0 ? exp : createCallExpression(context.helperString(TO_DISPLAY_STRING), [exp], loc) : createSimpleExpression("", true))] };
|
|
15771
15681
|
};
|
|
15772
|
-
|
|
15773
15682
|
//#endregion
|
|
15774
15683
|
//#region packages/compiler-dom/src/transforms/vModel.ts
|
|
15775
15684
|
const transformModel = (dir, node, context) => {
|
|
@@ -15813,7 +15722,6 @@ const transformModel = (dir, node, context) => {
|
|
|
15813
15722
|
baseResult.props = baseResult.props.filter((p) => !(p.key.type === 4 && p.key.content === "modelValue"));
|
|
15814
15723
|
return baseResult;
|
|
15815
15724
|
};
|
|
15816
|
-
|
|
15817
15725
|
//#endregion
|
|
15818
15726
|
//#region packages/compiler-dom/src/transforms/vOn.ts
|
|
15819
15727
|
const isEventOptionModifier = /* @__PURE__ */ makeMap(`passive,once,capture`);
|
|
@@ -15876,7 +15784,6 @@ const transformOn = (dir, node, context) => {
|
|
|
15876
15784
|
return { props: [createObjectProperty(key, handlerExp)] };
|
|
15877
15785
|
});
|
|
15878
15786
|
};
|
|
15879
|
-
|
|
15880
15787
|
//#endregion
|
|
15881
15788
|
//#region packages/compiler-dom/src/transforms/vShow.ts
|
|
15882
15789
|
const transformShow = (dir, node, context) => {
|
|
@@ -15887,7 +15794,6 @@ const transformShow = (dir, node, context) => {
|
|
|
15887
15794
|
needRuntime: context.helper(V_SHOW)
|
|
15888
15795
|
};
|
|
15889
15796
|
};
|
|
15890
|
-
|
|
15891
15797
|
//#endregion
|
|
15892
15798
|
//#region packages/compiler-dom/src/transforms/Transition.ts
|
|
15893
15799
|
const transformTransition = (node, context) => {
|
|
@@ -15920,7 +15826,6 @@ function defaultHasMultipleChildren(node) {
|
|
|
15920
15826
|
const child = children[0];
|
|
15921
15827
|
return children.length !== 1 || child.type === 11 || child.type === 9 && child.branches.some(defaultHasMultipleChildren);
|
|
15922
15828
|
}
|
|
15923
|
-
|
|
15924
15829
|
//#endregion
|
|
15925
15830
|
//#region packages/compiler-dom/src/transforms/ignoreSideEffectTags.ts
|
|
15926
15831
|
const ignoreSideEffectTags = (node, context) => {
|
|
@@ -15929,7 +15834,6 @@ const ignoreSideEffectTags = (node, context) => {
|
|
|
15929
15834
|
context.removeNode();
|
|
15930
15835
|
}
|
|
15931
15836
|
};
|
|
15932
|
-
|
|
15933
15837
|
//#endregion
|
|
15934
15838
|
//#region packages/compiler-dom/src/htmlNesting.ts
|
|
15935
15839
|
/**
|
|
@@ -16120,7 +16024,6 @@ const knownInvalidParents = {
|
|
|
16120
16024
|
h5: headings,
|
|
16121
16025
|
h6: headings
|
|
16122
16026
|
};
|
|
16123
|
-
|
|
16124
16027
|
//#endregion
|
|
16125
16028
|
//#region packages/compiler-dom/src/transforms/validateHtmlNesting.ts
|
|
16126
16029
|
const validateHtmlNesting = (node, context) => {
|
|
@@ -16130,7 +16033,6 @@ const validateHtmlNesting = (node, context) => {
|
|
|
16130
16033
|
context.onWarn(error);
|
|
16131
16034
|
}
|
|
16132
16035
|
};
|
|
16133
|
-
|
|
16134
16036
|
//#endregion
|
|
16135
16037
|
//#region packages/compiler-dom/src/index.ts
|
|
16136
16038
|
const DOMNodeTransforms = [transformStyle, ...!!(process.env.NODE_ENV !== "production") ? [transformTransition, validateHtmlNesting] : []];
|
|
@@ -16153,7 +16055,6 @@ function compile(src, options = {}) {
|
|
|
16153
16055
|
transformHoist: null
|
|
16154
16056
|
}));
|
|
16155
16057
|
}
|
|
16156
|
-
|
|
16157
16058
|
//#endregion
|
|
16158
16059
|
//#region packages/vue-compat/src/index.ts
|
|
16159
16060
|
const compileCache = Object.create(null);
|
|
@@ -16190,11 +16091,9 @@ function compileToFunction(template, options) {
|
|
|
16190
16091
|
registerRuntimeCompiler(compileToFunction);
|
|
16191
16092
|
const Vue = createCompatVue();
|
|
16192
16093
|
Vue.compile = compileToFunction;
|
|
16193
|
-
|
|
16194
16094
|
//#endregion
|
|
16195
16095
|
//#region packages/vue-compat/src/esm-index.ts
|
|
16196
16096
|
var esm_index_default = Vue;
|
|
16197
16097
|
const configureCompat = Vue.configureCompat;
|
|
16198
|
-
|
|
16199
16098
|
//#endregion
|
|
16200
|
-
export { BaseTransition, BaseTransitionPropsValidators, Comment, DeprecationTypes, EffectScope, ErrorCodes, ErrorTypeStrings, Fragment, KeepAlive, MismatchTypes, MoveType, NULL_DYNAMIC_COMPONENT, ReactiveEffect, Static, Suspense, Teleport, Text, TrackOpTypes, Transition, TransitionGroup, TransitionPropsValidators, TriggerOpTypes, VueElement, VueElementBase, activate, assertNumber, baseApplyTranslation, baseEmit, baseNormalizePropsOptions, baseResolveTransitionHooks, baseUseCssVars, callPendingCbs, callWithAsyncErrorHandling, callWithErrorHandling, camelize, capitalize, checkTransitionMode, cloneVNode, compatUtils, computed, configureCompat, createApp, createAppAPI, createAsyncComponentContext, createBlock, createCanSetSetupRefChecker, createCommentVNode, createElementBlock, createBaseVNode as createElementVNode, createHydrationRenderer, createInternalObject, createPropsRestProxy, createRenderer, createSSRApp, createSlots, createStaticVNode, createTextVNode, createVNode, currentInstance, customRef, deactivate, esm_index_default as default, defineAsyncComponent, defineComponent, defineCustomElement, defineEmits, defineExpose, defineModel, defineOptions, defineProps, defineSSRCustomElement, defineSlots, devtools, devtoolsComponentAdded, effect, effectScope, endMeasure, ensureHydrationRenderer, ensureRenderer, ensureVaporSlotFallback, expose, flushOnAppMount, forceReflow, getAttributeMismatch, getComponentName, getCurrentInstance, getCurrentScope, getCurrentWatcher, getFunctionalFallthrough, getInheritedScopeIds, getTransitionRawChildren, guardReactiveProps, h, handleError, handleMovedChildren, hasCSSTransform, hasInjectionContext, hydrate, hydrateOnIdle, hydrateOnInteraction, hydrateOnMediaQuery, hydrateOnVisible, initCustomFormatter, initDirectivesForSSR, initFeatureFlags, inject, isAsyncWrapper, isEmitListener, isHydrating, isKeepAlive, isMapEqual, isMemoSame, isMismatchAllowed, isProxy, isReactive, isReadonly, isRef, isRuntimeOnly, isSetEqual, isShallow, isTeleportDeferred, isTeleportDisabled, isTemplateNode, isTemplateRefKey, isVNode, isValidHtmlOrSvgAttribute, knownTemplateRefs, leaveCbKey, markAsyncBoundary, markRaw, matches, mergeDefaults, mergeModels, mergeProps, nextTick, nextUid, nodeOps, normalizeClass, normalizeContainer, normalizeProps, normalizeRef, normalizeStyle, onActivated, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onErrorCaptured, onMounted, onRenderTracked, onRenderTriggered, onScopeDispose, onServerPrefetch, onUnmounted, onUpdated, onWatcherCleanup, openBlock, patchProp, patchStyle, performAsyncHydrate, performTransitionEnter, performTransitionLeave, popScopeId, popWarningContext, provide, proxyRefs, pushScopeId, pushWarningContext, queueJob, queuePostFlushCb, reactive, readonly, ref, registerHMR, registerRuntimeCompiler, render, renderList, renderSlot, resetShapeFlag, resolveComponent, resolveDirective, resolveDynamicComponent, resolveFilter, resolvePropValue, resolveTarget as resolveTeleportTarget, resolveTransitionHooks, resolveTransitionProps, setBlockTracking, setCurrentInstance, setDevtoolsHook, setIsHydratingEnabled, setRef, setTransitionHooks, setVarsOnNode, shallowReactive, shallowReadonly, shallowRef, shouldSetAsProp, simpleSetCurrentInstance, ssrContextKey, ssrUtils, startMeasure, stop, svgNS, toClassSet, toDisplayString, toHandlerKey, toHandlers, toRaw, toRef, toRefs, toStyleMap, toValue, transformVNodeArgs, triggerRef, unref, unregisterHMR, unsafeToTrustedHTML, useAsyncComponentState, useAttrs, useCssModule, useCssVars, useHost, useId, useInstanceOption, useModel, useSSRContext, useShadowRoot, useSlots, useTemplateRef, useTransitionState, vModelCheckbox, vModelCheckboxInit, vModelCheckboxUpdate, vModelDynamic, getValue as vModelGetValue, vModelRadio, vModelSelect, vModelSelectInit, vModelSetSelected, vModelText, vModelTextInit, vModelTextUpdate, vShow, vShowHidden, vShowOriginalDisplay, validateComponentName, validateProps, version, warn, warnExtraneousAttributes, warnPropMismatch, watch, watchEffect, watchPostEffect, watchSyncEffect, withAsyncContext, withCtx, withDefaults, withDirectives, withKeys, withMemo, withModifiers, withScopeId, xlinkNS };
|
|
16099
|
+
export { BaseTransition, BaseTransitionPropsValidators, Comment, DeprecationTypes, EffectScope, ErrorCodes, ErrorTypeStrings, Fragment, KeepAlive, MismatchTypes, MoveType, NULL_DYNAMIC_COMPONENT, ReactiveEffect, SchedulerJobFlags, Static, Suspense, Teleport, Text, TrackOpTypes, Transition, TransitionGroup, TransitionPropsValidators, TriggerOpTypes, VueElement, VueElementBase, activate, assertNumber, baseApplyTranslation, baseEmit, baseNormalizePropsOptions, baseResolveTransitionHooks, baseUseCssVars, callPendingCbs, callWithAsyncErrorHandling, callWithErrorHandling, camelize, capitalize, checkTransitionMode, cloneVNode, compatUtils, computed, configureCompat, createApp, createAppAPI, createAsyncComponentContext, createBlock, createCanSetSetupRefChecker, createCommentVNode, createElementBlock, createBaseVNode as createElementVNode, createHydrationRenderer, createInternalObject, createPropsRestProxy, createRenderer, createSSRApp, createSlots, createStaticVNode, createTextVNode, createVNode, currentInstance, customRef, deactivate, esm_index_default as default, defineAsyncComponent, defineComponent, defineCustomElement, defineEmits, defineExpose, defineModel, defineOptions, defineProps, defineSSRCustomElement, defineSlots, devtools, devtoolsComponentAdded, effect, effectScope, endMeasure, ensureHydrationRenderer, ensureRenderer, ensureVaporSlotFallback, expose, flushOnAppMount, forceReflow, getAttributeMismatch, getComponentName, getCurrentInstance, getCurrentScope, getCurrentWatcher, getFunctionalFallthrough, getInheritedScopeIds, getTransitionRawChildren, guardReactiveProps, h, handleError, handleMovedChildren, hasCSSTransform, hasInjectionContext, hydrate, hydrateOnIdle, hydrateOnInteraction, hydrateOnMediaQuery, hydrateOnVisible, initCustomFormatter, initDirectivesForSSR, initFeatureFlags, inject, isAsyncWrapper, isEmitListener, isHydrating, isKeepAlive, isMapEqual, isMemoSame, isMismatchAllowed, isProxy, isReactive, isReadonly, isRef, isRuntimeOnly, isSetEqual, isShallow, isTeleportDeferred, isTeleportDisabled, isTemplateNode, isTemplateRefKey, isVNode, isValidHtmlOrSvgAttribute, knownTemplateRefs, leaveCbKey, markAsyncBoundary, markRaw, matches, mergeDefaults, mergeModels, mergeProps, nextTick, nextUid, nodeOps, normalizeClass, normalizeContainer, normalizeProps, normalizeRef, normalizeStyle, onActivated, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onErrorCaptured, onMounted, onRenderTracked, onRenderTriggered, onScopeDispose, onServerPrefetch, onUnmounted, onUpdated, onWatcherCleanup, openBlock, patchProp, patchStyle, performAsyncHydrate, performTransitionEnter, performTransitionLeave, popScopeId, popWarningContext, provide, proxyRefs, pushScopeId, pushWarningContext, queueJob, queuePostFlushCb, reactive, readonly, ref, registerHMR, registerRuntimeCompiler, render, renderList, renderSlot, resetShapeFlag, resolveComponent, resolveDirective, resolveDynamicComponent, resolveFilter, resolvePropValue, resolveTarget as resolveTeleportTarget, resolveTransitionHooks, resolveTransitionProps, setBlockTracking, setCurrentInstance, setCurrentRenderingInstance, setDevtoolsHook, setIsHydratingEnabled, setRef, setTransitionHooks, setVarsOnNode, shallowReactive, shallowReadonly, shallowRef, shouldSetAsProp, shouldSetAsPropForVueCE, simpleSetCurrentInstance, ssrContextKey, ssrUtils, startMeasure, stop, svgNS, toClassSet, toDisplayString, toHandlerKey, toHandlers, toRaw, toRef, toRefs, toStyleMap, toValue, transformVNodeArgs, triggerRef, unref, unregisterHMR, unsafeToTrustedHTML, useAsyncComponentState, useAttrs, useCssModule, useCssVars, useHost, useId, useInstanceOption, useModel, useSSRContext, useShadowRoot, useSlots, useTemplateRef, useTransitionState, vModelCheckbox, vModelCheckboxInit, vModelCheckboxUpdate, vModelDynamic, getValue as vModelGetValue, vModelRadio, vModelSelect, vModelSelectInit, vModelSetSelected, vModelText, vModelTextInit, vModelTextUpdate, vShow, vShowHidden, vShowOriginalDisplay, validateComponentName, validateProps, version, warn, warnExtraneousAttributes, warnPropMismatch, watch, watchEffect, watchPostEffect, watchSyncEffect, withAsyncContext, withCtx, withDefaults, withDirectives, withKeys, withMemo, withModifiers, withScopeId, xlinkNS };
|