@vue/compat 3.3.0-alpha.4 → 3.3.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/vue.cjs.js +137 -121
- package/dist/vue.cjs.prod.js +135 -137
- package/dist/vue.esm-browser.js +123 -117
- package/dist/vue.esm-browser.prod.js +1 -1
- package/dist/vue.esm-bundler.js +133 -117
- package/dist/vue.global.js +123 -117
- package/dist/vue.global.prod.js +1 -1
- package/dist/vue.runtime.esm-browser.js +106 -100
- package/dist/vue.runtime.esm-browser.prod.js +1 -1
- package/dist/vue.runtime.esm-bundler.js +116 -100
- package/dist/vue.runtime.global.js +106 -100
- package/dist/vue.runtime.global.prod.js +1 -1
- package/package.json +2 -2
|
@@ -7,6 +7,96 @@ function makeMap(str, expectsLowerCase) {
|
|
|
7
7
|
return expectsLowerCase ? (val) => !!map[val.toLowerCase()] : (val) => !!map[val];
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
+
const EMPTY_OBJ = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {};
|
|
11
|
+
const EMPTY_ARR = process.env.NODE_ENV !== "production" ? Object.freeze([]) : [];
|
|
12
|
+
const NOOP = () => {
|
|
13
|
+
};
|
|
14
|
+
const NO = () => false;
|
|
15
|
+
const onRE = /^on[^a-z]/;
|
|
16
|
+
const isOn = (key) => onRE.test(key);
|
|
17
|
+
const isModelListener = (key) => key.startsWith("onUpdate:");
|
|
18
|
+
const extend = Object.assign;
|
|
19
|
+
const remove = (arr, el) => {
|
|
20
|
+
const i = arr.indexOf(el);
|
|
21
|
+
if (i > -1) {
|
|
22
|
+
arr.splice(i, 1);
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
const hasOwnProperty$1 = Object.prototype.hasOwnProperty;
|
|
26
|
+
const hasOwn = (val, key) => hasOwnProperty$1.call(val, key);
|
|
27
|
+
const isArray = Array.isArray;
|
|
28
|
+
const isMap = (val) => toTypeString(val) === "[object Map]";
|
|
29
|
+
const isSet = (val) => toTypeString(val) === "[object Set]";
|
|
30
|
+
const isDate = (val) => toTypeString(val) === "[object Date]";
|
|
31
|
+
const isRegExp = (val) => toTypeString(val) === "[object RegExp]";
|
|
32
|
+
const isFunction = (val) => typeof val === "function";
|
|
33
|
+
const isString = (val) => typeof val === "string";
|
|
34
|
+
const isSymbol = (val) => typeof val === "symbol";
|
|
35
|
+
const isObject = (val) => val !== null && typeof val === "object";
|
|
36
|
+
const isPromise = (val) => {
|
|
37
|
+
return isObject(val) && isFunction(val.then) && isFunction(val.catch);
|
|
38
|
+
};
|
|
39
|
+
const objectToString = Object.prototype.toString;
|
|
40
|
+
const toTypeString = (value) => objectToString.call(value);
|
|
41
|
+
const toRawType = (value) => {
|
|
42
|
+
return toTypeString(value).slice(8, -1);
|
|
43
|
+
};
|
|
44
|
+
const isPlainObject = (val) => toTypeString(val) === "[object Object]";
|
|
45
|
+
const isIntegerKey = (key) => isString(key) && key !== "NaN" && key[0] !== "-" && "" + parseInt(key, 10) === key;
|
|
46
|
+
const isReservedProp = /* @__PURE__ */ makeMap(
|
|
47
|
+
// the leading comma is intentional so empty string "" is also included
|
|
48
|
+
",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"
|
|
49
|
+
);
|
|
50
|
+
const isBuiltInDirective = /* @__PURE__ */ makeMap(
|
|
51
|
+
"bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"
|
|
52
|
+
);
|
|
53
|
+
const cacheStringFunction = (fn) => {
|
|
54
|
+
const cache = /* @__PURE__ */ Object.create(null);
|
|
55
|
+
return (str) => {
|
|
56
|
+
const hit = cache[str];
|
|
57
|
+
return hit || (cache[str] = fn(str));
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
const camelizeRE = /-(\w)/g;
|
|
61
|
+
const camelize = cacheStringFunction((str) => {
|
|
62
|
+
return str.replace(camelizeRE, (_, c) => c ? c.toUpperCase() : "");
|
|
63
|
+
});
|
|
64
|
+
const hyphenateRE = /\B([A-Z])/g;
|
|
65
|
+
const hyphenate = cacheStringFunction(
|
|
66
|
+
(str) => str.replace(hyphenateRE, "-$1").toLowerCase()
|
|
67
|
+
);
|
|
68
|
+
const capitalize = cacheStringFunction(
|
|
69
|
+
(str) => str.charAt(0).toUpperCase() + str.slice(1)
|
|
70
|
+
);
|
|
71
|
+
const toHandlerKey = cacheStringFunction(
|
|
72
|
+
(str) => str ? `on${capitalize(str)}` : ``
|
|
73
|
+
);
|
|
74
|
+
const hasChanged = (value, oldValue) => !Object.is(value, oldValue);
|
|
75
|
+
const invokeArrayFns = (fns, arg) => {
|
|
76
|
+
for (let i = 0; i < fns.length; i++) {
|
|
77
|
+
fns[i](arg);
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
const def = (obj, key, value) => {
|
|
81
|
+
Object.defineProperty(obj, key, {
|
|
82
|
+
configurable: true,
|
|
83
|
+
enumerable: false,
|
|
84
|
+
value
|
|
85
|
+
});
|
|
86
|
+
};
|
|
87
|
+
const looseToNumber = (val) => {
|
|
88
|
+
const n = parseFloat(val);
|
|
89
|
+
return isNaN(n) ? val : n;
|
|
90
|
+
};
|
|
91
|
+
const toNumber = (val) => {
|
|
92
|
+
const n = isString(val) ? Number(val) : NaN;
|
|
93
|
+
return isNaN(n) ? val : n;
|
|
94
|
+
};
|
|
95
|
+
let _globalThis;
|
|
96
|
+
const getGlobalThis = () => {
|
|
97
|
+
return _globalThis || (_globalThis = typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : {});
|
|
98
|
+
};
|
|
99
|
+
|
|
10
100
|
const GLOBALS_WHITE_LISTED = "Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt";
|
|
11
101
|
const isGloballyWhitelisted = /* @__PURE__ */ makeMap(GLOBALS_WHITE_LISTED);
|
|
12
102
|
|
|
@@ -161,96 +251,6 @@ const replacer = (_key, val) => {
|
|
|
161
251
|
return val;
|
|
162
252
|
};
|
|
163
253
|
|
|
164
|
-
const EMPTY_OBJ = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {};
|
|
165
|
-
const EMPTY_ARR = process.env.NODE_ENV !== "production" ? Object.freeze([]) : [];
|
|
166
|
-
const NOOP = () => {
|
|
167
|
-
};
|
|
168
|
-
const NO = () => false;
|
|
169
|
-
const onRE = /^on[^a-z]/;
|
|
170
|
-
const isOn = (key) => onRE.test(key);
|
|
171
|
-
const isModelListener = (key) => key.startsWith("onUpdate:");
|
|
172
|
-
const extend = Object.assign;
|
|
173
|
-
const remove = (arr, el) => {
|
|
174
|
-
const i = arr.indexOf(el);
|
|
175
|
-
if (i > -1) {
|
|
176
|
-
arr.splice(i, 1);
|
|
177
|
-
}
|
|
178
|
-
};
|
|
179
|
-
const hasOwnProperty$1 = Object.prototype.hasOwnProperty;
|
|
180
|
-
const hasOwn = (val, key) => hasOwnProperty$1.call(val, key);
|
|
181
|
-
const isArray = Array.isArray;
|
|
182
|
-
const isMap = (val) => toTypeString(val) === "[object Map]";
|
|
183
|
-
const isSet = (val) => toTypeString(val) === "[object Set]";
|
|
184
|
-
const isDate = (val) => toTypeString(val) === "[object Date]";
|
|
185
|
-
const isRegExp = (val) => toTypeString(val) === "[object RegExp]";
|
|
186
|
-
const isFunction = (val) => typeof val === "function";
|
|
187
|
-
const isString = (val) => typeof val === "string";
|
|
188
|
-
const isSymbol = (val) => typeof val === "symbol";
|
|
189
|
-
const isObject = (val) => val !== null && typeof val === "object";
|
|
190
|
-
const isPromise = (val) => {
|
|
191
|
-
return isObject(val) && isFunction(val.then) && isFunction(val.catch);
|
|
192
|
-
};
|
|
193
|
-
const objectToString = Object.prototype.toString;
|
|
194
|
-
const toTypeString = (value) => objectToString.call(value);
|
|
195
|
-
const toRawType = (value) => {
|
|
196
|
-
return toTypeString(value).slice(8, -1);
|
|
197
|
-
};
|
|
198
|
-
const isPlainObject = (val) => toTypeString(val) === "[object Object]";
|
|
199
|
-
const isIntegerKey = (key) => isString(key) && key !== "NaN" && key[0] !== "-" && "" + parseInt(key, 10) === key;
|
|
200
|
-
const isReservedProp = /* @__PURE__ */ makeMap(
|
|
201
|
-
// the leading comma is intentional so empty string "" is also included
|
|
202
|
-
",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"
|
|
203
|
-
);
|
|
204
|
-
const isBuiltInDirective = /* @__PURE__ */ makeMap(
|
|
205
|
-
"bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"
|
|
206
|
-
);
|
|
207
|
-
const cacheStringFunction = (fn) => {
|
|
208
|
-
const cache = /* @__PURE__ */ Object.create(null);
|
|
209
|
-
return (str) => {
|
|
210
|
-
const hit = cache[str];
|
|
211
|
-
return hit || (cache[str] = fn(str));
|
|
212
|
-
};
|
|
213
|
-
};
|
|
214
|
-
const camelizeRE = /-(\w)/g;
|
|
215
|
-
const camelize = cacheStringFunction((str) => {
|
|
216
|
-
return str.replace(camelizeRE, (_, c) => c ? c.toUpperCase() : "");
|
|
217
|
-
});
|
|
218
|
-
const hyphenateRE = /\B([A-Z])/g;
|
|
219
|
-
const hyphenate = cacheStringFunction(
|
|
220
|
-
(str) => str.replace(hyphenateRE, "-$1").toLowerCase()
|
|
221
|
-
);
|
|
222
|
-
const capitalize = cacheStringFunction(
|
|
223
|
-
(str) => str.charAt(0).toUpperCase() + str.slice(1)
|
|
224
|
-
);
|
|
225
|
-
const toHandlerKey = cacheStringFunction(
|
|
226
|
-
(str) => str ? `on${capitalize(str)}` : ``
|
|
227
|
-
);
|
|
228
|
-
const hasChanged = (value, oldValue) => !Object.is(value, oldValue);
|
|
229
|
-
const invokeArrayFns = (fns, arg) => {
|
|
230
|
-
for (let i = 0; i < fns.length; i++) {
|
|
231
|
-
fns[i](arg);
|
|
232
|
-
}
|
|
233
|
-
};
|
|
234
|
-
const def = (obj, key, value) => {
|
|
235
|
-
Object.defineProperty(obj, key, {
|
|
236
|
-
configurable: true,
|
|
237
|
-
enumerable: false,
|
|
238
|
-
value
|
|
239
|
-
});
|
|
240
|
-
};
|
|
241
|
-
const looseToNumber = (val) => {
|
|
242
|
-
const n = parseFloat(val);
|
|
243
|
-
return isNaN(n) ? val : n;
|
|
244
|
-
};
|
|
245
|
-
const toNumber = (val) => {
|
|
246
|
-
const n = isString(val) ? Number(val) : NaN;
|
|
247
|
-
return isNaN(n) ? val : n;
|
|
248
|
-
};
|
|
249
|
-
let _globalThis;
|
|
250
|
-
const getGlobalThis = () => {
|
|
251
|
-
return _globalThis || (_globalThis = typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : {});
|
|
252
|
-
};
|
|
253
|
-
|
|
254
254
|
function warn$1(msg, ...args) {
|
|
255
255
|
console.warn(`[Vue warn] ${msg}`, ...args);
|
|
256
256
|
}
|
|
@@ -4658,7 +4658,7 @@ const FILTERS = "filters";
|
|
|
4658
4658
|
function resolveComponent(name, maybeSelfReference) {
|
|
4659
4659
|
return resolveAsset(COMPONENTS, name, true, maybeSelfReference) || name;
|
|
4660
4660
|
}
|
|
4661
|
-
const NULL_DYNAMIC_COMPONENT = Symbol();
|
|
4661
|
+
const NULL_DYNAMIC_COMPONENT = Symbol.for("v-ndc");
|
|
4662
4662
|
function resolveDynamicComponent(component) {
|
|
4663
4663
|
if (isString(component)) {
|
|
4664
4664
|
return resolveAsset(COMPONENTS, component, false) || component;
|
|
@@ -6626,7 +6626,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
|
|
|
6626
6626
|
return vm;
|
|
6627
6627
|
}
|
|
6628
6628
|
}
|
|
6629
|
-
Vue.version = `2.6.14-compat:${"3.3.0-alpha.
|
|
6629
|
+
Vue.version = `2.6.14-compat:${"3.3.0-alpha.5"}`;
|
|
6630
6630
|
Vue.config = singletonApp.config;
|
|
6631
6631
|
Vue.use = (p, ...options) => {
|
|
6632
6632
|
if (p && isFunction(p.install)) {
|
|
@@ -9545,10 +9545,10 @@ function convertLegacyComponent(comp, instance) {
|
|
|
9545
9545
|
return comp;
|
|
9546
9546
|
}
|
|
9547
9547
|
|
|
9548
|
-
const Fragment = Symbol(
|
|
9549
|
-
const Text = Symbol(
|
|
9550
|
-
const Comment = Symbol(
|
|
9551
|
-
const Static = Symbol(
|
|
9548
|
+
const Fragment = Symbol.for("v-fgt");
|
|
9549
|
+
const Text = Symbol.for("v-txt");
|
|
9550
|
+
const Comment = Symbol.for("v-cmt");
|
|
9551
|
+
const Static = Symbol.for("v-stc");
|
|
9552
9552
|
const blockStack = [];
|
|
9553
9553
|
let currentBlock = null;
|
|
9554
9554
|
function openBlock(disableTracking = false) {
|
|
@@ -10012,13 +10012,29 @@ function createComponentInstance(vnode, parent, suspense) {
|
|
|
10012
10012
|
}
|
|
10013
10013
|
let currentInstance = null;
|
|
10014
10014
|
const getCurrentInstance = () => currentInstance || currentRenderingInstance;
|
|
10015
|
+
let internalSetCurrentInstance;
|
|
10016
|
+
let globalCurrentInstanceSetters;
|
|
10017
|
+
let settersKey = "__VUE_INSTANCE_SETTERS__";
|
|
10018
|
+
{
|
|
10019
|
+
if (!(globalCurrentInstanceSetters = getGlobalThis()[settersKey])) {
|
|
10020
|
+
globalCurrentInstanceSetters = getGlobalThis()[settersKey] = [];
|
|
10021
|
+
}
|
|
10022
|
+
globalCurrentInstanceSetters.push((i) => currentInstance = i);
|
|
10023
|
+
internalSetCurrentInstance = (instance) => {
|
|
10024
|
+
if (globalCurrentInstanceSetters.length > 1) {
|
|
10025
|
+
globalCurrentInstanceSetters.forEach((s) => s(instance));
|
|
10026
|
+
} else {
|
|
10027
|
+
globalCurrentInstanceSetters[0](instance);
|
|
10028
|
+
}
|
|
10029
|
+
};
|
|
10030
|
+
}
|
|
10015
10031
|
const setCurrentInstance = (instance) => {
|
|
10016
|
-
|
|
10032
|
+
internalSetCurrentInstance(instance);
|
|
10017
10033
|
instance.scope.on();
|
|
10018
10034
|
};
|
|
10019
10035
|
const unsetCurrentInstance = () => {
|
|
10020
10036
|
currentInstance && currentInstance.scope.off();
|
|
10021
|
-
|
|
10037
|
+
internalSetCurrentInstance(null);
|
|
10022
10038
|
};
|
|
10023
10039
|
const isBuiltInTag = /* @__PURE__ */ makeMap("slot,component");
|
|
10024
10040
|
function validateComponentName(name, config) {
|
|
@@ -10446,7 +10462,7 @@ function h(type, propsOrChildren, children) {
|
|
|
10446
10462
|
}
|
|
10447
10463
|
}
|
|
10448
10464
|
|
|
10449
|
-
const ssrContextKey = Symbol(
|
|
10465
|
+
const ssrContextKey = Symbol.for("v-scx");
|
|
10450
10466
|
const useSSRContext = () => {
|
|
10451
10467
|
{
|
|
10452
10468
|
const ctx = inject(ssrContextKey);
|
|
@@ -10660,7 +10676,7 @@ function isMemoSame(cached, memo) {
|
|
|
10660
10676
|
return true;
|
|
10661
10677
|
}
|
|
10662
10678
|
|
|
10663
|
-
const version = "3.3.0-alpha.
|
|
10679
|
+
const version = "3.3.0-alpha.5";
|
|
10664
10680
|
const _ssrUtils = {
|
|
10665
10681
|
createComponentInstance,
|
|
10666
10682
|
setupComponent,
|
|
@@ -10,6 +10,96 @@ var Vue = (function () {
|
|
|
10
10
|
return expectsLowerCase ? (val) => !!map[val.toLowerCase()] : (val) => !!map[val];
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
const EMPTY_OBJ = Object.freeze({}) ;
|
|
14
|
+
const EMPTY_ARR = Object.freeze([]) ;
|
|
15
|
+
const NOOP = () => {
|
|
16
|
+
};
|
|
17
|
+
const NO = () => false;
|
|
18
|
+
const onRE = /^on[^a-z]/;
|
|
19
|
+
const isOn = (key) => onRE.test(key);
|
|
20
|
+
const isModelListener = (key) => key.startsWith("onUpdate:");
|
|
21
|
+
const extend = Object.assign;
|
|
22
|
+
const remove = (arr, el) => {
|
|
23
|
+
const i = arr.indexOf(el);
|
|
24
|
+
if (i > -1) {
|
|
25
|
+
arr.splice(i, 1);
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
const hasOwnProperty$1 = Object.prototype.hasOwnProperty;
|
|
29
|
+
const hasOwn = (val, key) => hasOwnProperty$1.call(val, key);
|
|
30
|
+
const isArray = Array.isArray;
|
|
31
|
+
const isMap = (val) => toTypeString(val) === "[object Map]";
|
|
32
|
+
const isSet = (val) => toTypeString(val) === "[object Set]";
|
|
33
|
+
const isDate = (val) => toTypeString(val) === "[object Date]";
|
|
34
|
+
const isRegExp = (val) => toTypeString(val) === "[object RegExp]";
|
|
35
|
+
const isFunction = (val) => typeof val === "function";
|
|
36
|
+
const isString = (val) => typeof val === "string";
|
|
37
|
+
const isSymbol = (val) => typeof val === "symbol";
|
|
38
|
+
const isObject = (val) => val !== null && typeof val === "object";
|
|
39
|
+
const isPromise = (val) => {
|
|
40
|
+
return isObject(val) && isFunction(val.then) && isFunction(val.catch);
|
|
41
|
+
};
|
|
42
|
+
const objectToString = Object.prototype.toString;
|
|
43
|
+
const toTypeString = (value) => objectToString.call(value);
|
|
44
|
+
const toRawType = (value) => {
|
|
45
|
+
return toTypeString(value).slice(8, -1);
|
|
46
|
+
};
|
|
47
|
+
const isPlainObject = (val) => toTypeString(val) === "[object Object]";
|
|
48
|
+
const isIntegerKey = (key) => isString(key) && key !== "NaN" && key[0] !== "-" && "" + parseInt(key, 10) === key;
|
|
49
|
+
const isReservedProp = /* @__PURE__ */ makeMap(
|
|
50
|
+
// the leading comma is intentional so empty string "" is also included
|
|
51
|
+
",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"
|
|
52
|
+
);
|
|
53
|
+
const isBuiltInDirective = /* @__PURE__ */ makeMap(
|
|
54
|
+
"bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"
|
|
55
|
+
);
|
|
56
|
+
const cacheStringFunction = (fn) => {
|
|
57
|
+
const cache = /* @__PURE__ */ Object.create(null);
|
|
58
|
+
return (str) => {
|
|
59
|
+
const hit = cache[str];
|
|
60
|
+
return hit || (cache[str] = fn(str));
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
const camelizeRE = /-(\w)/g;
|
|
64
|
+
const camelize = cacheStringFunction((str) => {
|
|
65
|
+
return str.replace(camelizeRE, (_, c) => c ? c.toUpperCase() : "");
|
|
66
|
+
});
|
|
67
|
+
const hyphenateRE = /\B([A-Z])/g;
|
|
68
|
+
const hyphenate = cacheStringFunction(
|
|
69
|
+
(str) => str.replace(hyphenateRE, "-$1").toLowerCase()
|
|
70
|
+
);
|
|
71
|
+
const capitalize = cacheStringFunction(
|
|
72
|
+
(str) => str.charAt(0).toUpperCase() + str.slice(1)
|
|
73
|
+
);
|
|
74
|
+
const toHandlerKey = cacheStringFunction(
|
|
75
|
+
(str) => str ? `on${capitalize(str)}` : ``
|
|
76
|
+
);
|
|
77
|
+
const hasChanged = (value, oldValue) => !Object.is(value, oldValue);
|
|
78
|
+
const invokeArrayFns = (fns, arg) => {
|
|
79
|
+
for (let i = 0; i < fns.length; i++) {
|
|
80
|
+
fns[i](arg);
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
const def = (obj, key, value) => {
|
|
84
|
+
Object.defineProperty(obj, key, {
|
|
85
|
+
configurable: true,
|
|
86
|
+
enumerable: false,
|
|
87
|
+
value
|
|
88
|
+
});
|
|
89
|
+
};
|
|
90
|
+
const looseToNumber = (val) => {
|
|
91
|
+
const n = parseFloat(val);
|
|
92
|
+
return isNaN(n) ? val : n;
|
|
93
|
+
};
|
|
94
|
+
const toNumber = (val) => {
|
|
95
|
+
const n = isString(val) ? Number(val) : NaN;
|
|
96
|
+
return isNaN(n) ? val : n;
|
|
97
|
+
};
|
|
98
|
+
let _globalThis;
|
|
99
|
+
const getGlobalThis = () => {
|
|
100
|
+
return _globalThis || (_globalThis = typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : {});
|
|
101
|
+
};
|
|
102
|
+
|
|
13
103
|
const GLOBALS_WHITE_LISTED = "Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt";
|
|
14
104
|
const isGloballyWhitelisted = /* @__PURE__ */ makeMap(GLOBALS_WHITE_LISTED);
|
|
15
105
|
|
|
@@ -164,96 +254,6 @@ var Vue = (function () {
|
|
|
164
254
|
return val;
|
|
165
255
|
};
|
|
166
256
|
|
|
167
|
-
const EMPTY_OBJ = Object.freeze({}) ;
|
|
168
|
-
const EMPTY_ARR = Object.freeze([]) ;
|
|
169
|
-
const NOOP = () => {
|
|
170
|
-
};
|
|
171
|
-
const NO = () => false;
|
|
172
|
-
const onRE = /^on[^a-z]/;
|
|
173
|
-
const isOn = (key) => onRE.test(key);
|
|
174
|
-
const isModelListener = (key) => key.startsWith("onUpdate:");
|
|
175
|
-
const extend = Object.assign;
|
|
176
|
-
const remove = (arr, el) => {
|
|
177
|
-
const i = arr.indexOf(el);
|
|
178
|
-
if (i > -1) {
|
|
179
|
-
arr.splice(i, 1);
|
|
180
|
-
}
|
|
181
|
-
};
|
|
182
|
-
const hasOwnProperty$1 = Object.prototype.hasOwnProperty;
|
|
183
|
-
const hasOwn = (val, key) => hasOwnProperty$1.call(val, key);
|
|
184
|
-
const isArray = Array.isArray;
|
|
185
|
-
const isMap = (val) => toTypeString(val) === "[object Map]";
|
|
186
|
-
const isSet = (val) => toTypeString(val) === "[object Set]";
|
|
187
|
-
const isDate = (val) => toTypeString(val) === "[object Date]";
|
|
188
|
-
const isRegExp = (val) => toTypeString(val) === "[object RegExp]";
|
|
189
|
-
const isFunction = (val) => typeof val === "function";
|
|
190
|
-
const isString = (val) => typeof val === "string";
|
|
191
|
-
const isSymbol = (val) => typeof val === "symbol";
|
|
192
|
-
const isObject = (val) => val !== null && typeof val === "object";
|
|
193
|
-
const isPromise = (val) => {
|
|
194
|
-
return isObject(val) && isFunction(val.then) && isFunction(val.catch);
|
|
195
|
-
};
|
|
196
|
-
const objectToString = Object.prototype.toString;
|
|
197
|
-
const toTypeString = (value) => objectToString.call(value);
|
|
198
|
-
const toRawType = (value) => {
|
|
199
|
-
return toTypeString(value).slice(8, -1);
|
|
200
|
-
};
|
|
201
|
-
const isPlainObject = (val) => toTypeString(val) === "[object Object]";
|
|
202
|
-
const isIntegerKey = (key) => isString(key) && key !== "NaN" && key[0] !== "-" && "" + parseInt(key, 10) === key;
|
|
203
|
-
const isReservedProp = /* @__PURE__ */ makeMap(
|
|
204
|
-
// the leading comma is intentional so empty string "" is also included
|
|
205
|
-
",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"
|
|
206
|
-
);
|
|
207
|
-
const isBuiltInDirective = /* @__PURE__ */ makeMap(
|
|
208
|
-
"bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"
|
|
209
|
-
);
|
|
210
|
-
const cacheStringFunction = (fn) => {
|
|
211
|
-
const cache = /* @__PURE__ */ Object.create(null);
|
|
212
|
-
return (str) => {
|
|
213
|
-
const hit = cache[str];
|
|
214
|
-
return hit || (cache[str] = fn(str));
|
|
215
|
-
};
|
|
216
|
-
};
|
|
217
|
-
const camelizeRE = /-(\w)/g;
|
|
218
|
-
const camelize = cacheStringFunction((str) => {
|
|
219
|
-
return str.replace(camelizeRE, (_, c) => c ? c.toUpperCase() : "");
|
|
220
|
-
});
|
|
221
|
-
const hyphenateRE = /\B([A-Z])/g;
|
|
222
|
-
const hyphenate = cacheStringFunction(
|
|
223
|
-
(str) => str.replace(hyphenateRE, "-$1").toLowerCase()
|
|
224
|
-
);
|
|
225
|
-
const capitalize = cacheStringFunction(
|
|
226
|
-
(str) => str.charAt(0).toUpperCase() + str.slice(1)
|
|
227
|
-
);
|
|
228
|
-
const toHandlerKey = cacheStringFunction(
|
|
229
|
-
(str) => str ? `on${capitalize(str)}` : ``
|
|
230
|
-
);
|
|
231
|
-
const hasChanged = (value, oldValue) => !Object.is(value, oldValue);
|
|
232
|
-
const invokeArrayFns = (fns, arg) => {
|
|
233
|
-
for (let i = 0; i < fns.length; i++) {
|
|
234
|
-
fns[i](arg);
|
|
235
|
-
}
|
|
236
|
-
};
|
|
237
|
-
const def = (obj, key, value) => {
|
|
238
|
-
Object.defineProperty(obj, key, {
|
|
239
|
-
configurable: true,
|
|
240
|
-
enumerable: false,
|
|
241
|
-
value
|
|
242
|
-
});
|
|
243
|
-
};
|
|
244
|
-
const looseToNumber = (val) => {
|
|
245
|
-
const n = parseFloat(val);
|
|
246
|
-
return isNaN(n) ? val : n;
|
|
247
|
-
};
|
|
248
|
-
const toNumber = (val) => {
|
|
249
|
-
const n = isString(val) ? Number(val) : NaN;
|
|
250
|
-
return isNaN(n) ? val : n;
|
|
251
|
-
};
|
|
252
|
-
let _globalThis;
|
|
253
|
-
const getGlobalThis = () => {
|
|
254
|
-
return _globalThis || (_globalThis = typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : {});
|
|
255
|
-
};
|
|
256
|
-
|
|
257
257
|
function warn$1(msg, ...args) {
|
|
258
258
|
console.warn(`[Vue warn] ${msg}`, ...args);
|
|
259
259
|
}
|
|
@@ -4615,7 +4615,7 @@ Details: https://v3-migration.vuejs.org/breaking-changes/migration-build.html`
|
|
|
4615
4615
|
function resolveComponent(name, maybeSelfReference) {
|
|
4616
4616
|
return resolveAsset(COMPONENTS, name, true, maybeSelfReference) || name;
|
|
4617
4617
|
}
|
|
4618
|
-
const NULL_DYNAMIC_COMPONENT = Symbol();
|
|
4618
|
+
const NULL_DYNAMIC_COMPONENT = Symbol.for("v-ndc");
|
|
4619
4619
|
function resolveDynamicComponent(component) {
|
|
4620
4620
|
if (isString(component)) {
|
|
4621
4621
|
return resolveAsset(COMPONENTS, component, false) || component;
|
|
@@ -6581,7 +6581,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
6581
6581
|
return vm;
|
|
6582
6582
|
}
|
|
6583
6583
|
}
|
|
6584
|
-
Vue.version = `2.6.14-compat:${"3.3.0-alpha.
|
|
6584
|
+
Vue.version = `2.6.14-compat:${"3.3.0-alpha.5"}`;
|
|
6585
6585
|
Vue.config = singletonApp.config;
|
|
6586
6586
|
Vue.use = (p, ...options) => {
|
|
6587
6587
|
if (p && isFunction(p.install)) {
|
|
@@ -9476,10 +9476,10 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
9476
9476
|
return comp;
|
|
9477
9477
|
}
|
|
9478
9478
|
|
|
9479
|
-
const Fragment = Symbol("
|
|
9480
|
-
const Text = Symbol("
|
|
9481
|
-
const Comment = Symbol("
|
|
9482
|
-
const Static = Symbol("
|
|
9479
|
+
const Fragment = Symbol.for("v-fgt");
|
|
9480
|
+
const Text = Symbol.for("v-txt");
|
|
9481
|
+
const Comment = Symbol.for("v-cmt");
|
|
9482
|
+
const Static = Symbol.for("v-stc");
|
|
9483
9483
|
const blockStack = [];
|
|
9484
9484
|
let currentBlock = null;
|
|
9485
9485
|
function openBlock(disableTracking = false) {
|
|
@@ -9941,13 +9941,19 @@ Component that was made reactive: `,
|
|
|
9941
9941
|
}
|
|
9942
9942
|
let currentInstance = null;
|
|
9943
9943
|
const getCurrentInstance = () => currentInstance || currentRenderingInstance;
|
|
9944
|
+
let internalSetCurrentInstance;
|
|
9945
|
+
{
|
|
9946
|
+
internalSetCurrentInstance = (i) => {
|
|
9947
|
+
currentInstance = i;
|
|
9948
|
+
};
|
|
9949
|
+
}
|
|
9944
9950
|
const setCurrentInstance = (instance) => {
|
|
9945
|
-
|
|
9951
|
+
internalSetCurrentInstance(instance);
|
|
9946
9952
|
instance.scope.on();
|
|
9947
9953
|
};
|
|
9948
9954
|
const unsetCurrentInstance = () => {
|
|
9949
9955
|
currentInstance && currentInstance.scope.off();
|
|
9950
|
-
|
|
9956
|
+
internalSetCurrentInstance(null);
|
|
9951
9957
|
};
|
|
9952
9958
|
const isBuiltInTag = /* @__PURE__ */ makeMap("slot,component");
|
|
9953
9959
|
function validateComponentName(name, config) {
|
|
@@ -10359,7 +10365,7 @@ Component that was made reactive: `,
|
|
|
10359
10365
|
}
|
|
10360
10366
|
}
|
|
10361
10367
|
|
|
10362
|
-
const ssrContextKey = Symbol(
|
|
10368
|
+
const ssrContextKey = Symbol.for("v-scx");
|
|
10363
10369
|
const useSSRContext = () => {
|
|
10364
10370
|
{
|
|
10365
10371
|
warn(`useSSRContext() is not supported in the global build.`);
|
|
@@ -10567,7 +10573,7 @@ Component that was made reactive: `,
|
|
|
10567
10573
|
return true;
|
|
10568
10574
|
}
|
|
10569
10575
|
|
|
10570
|
-
const version = "3.3.0-alpha.
|
|
10576
|
+
const version = "3.3.0-alpha.5";
|
|
10571
10577
|
const ssrUtils = null;
|
|
10572
10578
|
const resolveFilter = resolveFilter$1 ;
|
|
10573
10579
|
const _compatUtils = {
|