@vue/compat 3.4.0-beta.4 → 3.4.0-rc.2
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 +165 -158
- package/dist/vue.cjs.prod.js +10 -52
- package/dist/vue.esm-browser.js +165 -158
- package/dist/vue.esm-browser.prod.js +5 -5
- package/dist/vue.esm-bundler.js +166 -161
- package/dist/vue.global.js +165 -158
- package/dist/vue.global.prod.js +5 -5
- package/dist/vue.runtime.esm-browser.js +161 -144
- package/dist/vue.runtime.esm-browser.prod.js +5 -5
- package/dist/vue.runtime.esm-bundler.js +162 -147
- package/dist/vue.runtime.global.js +161 -144
- package/dist/vue.runtime.global.prod.js +5 -5
- package/package.json +3 -3
|
@@ -283,7 +283,7 @@ var Vue = (function () {
|
|
|
283
283
|
return isSymbol(v) ? `Symbol(${(_a = v.description) != null ? _a : i})` : v;
|
|
284
284
|
};
|
|
285
285
|
|
|
286
|
-
function warn$
|
|
286
|
+
function warn$2(msg, ...args) {
|
|
287
287
|
console.warn(`[Vue warn] ${msg}`, ...args);
|
|
288
288
|
}
|
|
289
289
|
|
|
@@ -323,7 +323,7 @@ var Vue = (function () {
|
|
|
323
323
|
activeEffectScope = currentEffectScope;
|
|
324
324
|
}
|
|
325
325
|
} else {
|
|
326
|
-
warn$
|
|
326
|
+
warn$2(`cannot run an inactive effect scope.`);
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
329
|
/**
|
|
@@ -381,7 +381,7 @@ var Vue = (function () {
|
|
|
381
381
|
if (activeEffectScope) {
|
|
382
382
|
activeEffectScope.cleanups.push(fn);
|
|
383
383
|
} else {
|
|
384
|
-
warn$
|
|
384
|
+
warn$2(
|
|
385
385
|
`onScopeDispose() is called when there is no active effect scope to be associated with.`
|
|
386
386
|
);
|
|
387
387
|
}
|
|
@@ -829,7 +829,7 @@ var Vue = (function () {
|
|
|
829
829
|
}
|
|
830
830
|
set(target, key) {
|
|
831
831
|
{
|
|
832
|
-
warn$
|
|
832
|
+
warn$2(
|
|
833
833
|
`Set operation on key "${String(key)}" failed: target is readonly.`,
|
|
834
834
|
target
|
|
835
835
|
);
|
|
@@ -838,7 +838,7 @@ var Vue = (function () {
|
|
|
838
838
|
}
|
|
839
839
|
deleteProperty(target, key) {
|
|
840
840
|
{
|
|
841
|
-
warn$
|
|
841
|
+
warn$2(
|
|
842
842
|
`Delete operation on key "${String(key)}" failed: target is readonly.`,
|
|
843
843
|
target
|
|
844
844
|
);
|
|
@@ -1496,7 +1496,7 @@ var Vue = (function () {
|
|
|
1496
1496
|
function popWarningContext() {
|
|
1497
1497
|
stack.pop();
|
|
1498
1498
|
}
|
|
1499
|
-
function warn(msg, ...args) {
|
|
1499
|
+
function warn$1(msg, ...args) {
|
|
1500
1500
|
pauseTracking();
|
|
1501
1501
|
const instance = stack.length ? stack[stack.length - 1].component : null;
|
|
1502
1502
|
const appWarnHandler = instance && instance.appContext.config.warnHandler;
|
|
@@ -1597,9 +1597,9 @@ var Vue = (function () {
|
|
|
1597
1597
|
if (val === void 0) {
|
|
1598
1598
|
return;
|
|
1599
1599
|
} else if (typeof val !== "number") {
|
|
1600
|
-
warn(`${type} is not a valid number - got ${JSON.stringify(val)}.`);
|
|
1600
|
+
warn$1(`${type} is not a valid number - got ${JSON.stringify(val)}.`);
|
|
1601
1601
|
} else if (isNaN(val)) {
|
|
1602
|
-
warn(`${type} is NaN - the duration expression might be incorrect.`);
|
|
1602
|
+
warn$1(`${type} is NaN - the duration expression might be incorrect.`);
|
|
1603
1603
|
}
|
|
1604
1604
|
}
|
|
1605
1605
|
|
|
@@ -1727,7 +1727,7 @@ var Vue = (function () {
|
|
|
1727
1727
|
if (contextVNode) {
|
|
1728
1728
|
pushWarningContext(contextVNode);
|
|
1729
1729
|
}
|
|
1730
|
-
warn(`Unhandled error${info ? ` during execution of ${info}` : ``}`);
|
|
1730
|
+
warn$1(`Unhandled error${info ? ` during execution of ${info}` : ``}`);
|
|
1731
1731
|
if (contextVNode) {
|
|
1732
1732
|
popWarningContext();
|
|
1733
1733
|
}
|
|
@@ -2025,22 +2025,22 @@ var Vue = (function () {
|
|
|
2025
2025
|
};
|
|
2026
2026
|
}
|
|
2027
2027
|
|
|
2028
|
-
let devtools;
|
|
2028
|
+
let devtools$1;
|
|
2029
2029
|
let buffer = [];
|
|
2030
2030
|
let devtoolsNotInstalled = false;
|
|
2031
2031
|
function emit$2(event, ...args) {
|
|
2032
|
-
if (devtools) {
|
|
2033
|
-
devtools.emit(event, ...args);
|
|
2032
|
+
if (devtools$1) {
|
|
2033
|
+
devtools$1.emit(event, ...args);
|
|
2034
2034
|
} else if (!devtoolsNotInstalled) {
|
|
2035
2035
|
buffer.push({ event, args });
|
|
2036
2036
|
}
|
|
2037
2037
|
}
|
|
2038
|
-
function setDevtoolsHook(hook, target) {
|
|
2038
|
+
function setDevtoolsHook$1(hook, target) {
|
|
2039
2039
|
var _a, _b;
|
|
2040
|
-
devtools = hook;
|
|
2041
|
-
if (devtools) {
|
|
2042
|
-
devtools.enabled = true;
|
|
2043
|
-
buffer.forEach(({ event, args }) => devtools.emit(event, ...args));
|
|
2040
|
+
devtools$1 = hook;
|
|
2041
|
+
if (devtools$1) {
|
|
2042
|
+
devtools$1.enabled = true;
|
|
2043
|
+
buffer.forEach(({ event, args }) => devtools$1.emit(event, ...args));
|
|
2044
2044
|
buffer = [];
|
|
2045
2045
|
} else if (
|
|
2046
2046
|
// handle late devtools injection - only do this if we are in an actual
|
|
@@ -2052,10 +2052,10 @@ var Vue = (function () {
|
|
|
2052
2052
|
) {
|
|
2053
2053
|
const replay = target.__VUE_DEVTOOLS_HOOK_REPLAY__ = target.__VUE_DEVTOOLS_HOOK_REPLAY__ || [];
|
|
2054
2054
|
replay.push((newHook) => {
|
|
2055
|
-
setDevtoolsHook(newHook, target);
|
|
2055
|
+
setDevtoolsHook$1(newHook, target);
|
|
2056
2056
|
});
|
|
2057
2057
|
setTimeout(() => {
|
|
2058
|
-
if (!devtools) {
|
|
2058
|
+
if (!devtools$1) {
|
|
2059
2059
|
target.__VUE_DEVTOOLS_HOOK_REPLAY__ = null;
|
|
2060
2060
|
devtoolsNotInstalled = true;
|
|
2061
2061
|
buffer = [];
|
|
@@ -2085,8 +2085,8 @@ var Vue = (function () {
|
|
|
2085
2085
|
"component:removed" /* COMPONENT_REMOVED */
|
|
2086
2086
|
);
|
|
2087
2087
|
const devtoolsComponentRemoved = (component) => {
|
|
2088
|
-
if (devtools && typeof devtools.cleanupBuffer === "function" && // remove the component if it wasn't buffered
|
|
2089
|
-
!devtools.cleanupBuffer(component)) {
|
|
2088
|
+
if (devtools$1 && typeof devtools$1.cleanupBuffer === "function" && // remove the component if it wasn't buffered
|
|
2089
|
+
!devtools$1.cleanupBuffer(component)) {
|
|
2090
2090
|
_devtoolsComponentRemoved(component);
|
|
2091
2091
|
}
|
|
2092
2092
|
};
|
|
@@ -2385,12 +2385,12 @@ var Vue = (function () {
|
|
|
2385
2385
|
}
|
|
2386
2386
|
instanceWarned[componentDupKey] = true;
|
|
2387
2387
|
if (dupKey in warnCount) {
|
|
2388
|
-
warn(`(deprecation ${key}) (${++warnCount[dupKey] + 1})`);
|
|
2388
|
+
warn$1(`(deprecation ${key}) (${++warnCount[dupKey] + 1})`);
|
|
2389
2389
|
return;
|
|
2390
2390
|
}
|
|
2391
2391
|
warnCount[dupKey] = 0;
|
|
2392
2392
|
const { message, link } = deprecationData[key];
|
|
2393
|
-
warn(
|
|
2393
|
+
warn$1(
|
|
2394
2394
|
`(deprecation ${key}) ${typeof message === "function" ? message(...args) : message}${link ? `
|
|
2395
2395
|
Details: ${link}` : ``}`
|
|
2396
2396
|
);
|
|
@@ -2420,19 +2420,19 @@ var Vue = (function () {
|
|
|
2420
2420
|
if (key !== "MODE" && !(key in deprecationData) && !(key in warnedInvalidKeys)) {
|
|
2421
2421
|
if (key.startsWith("COMPILER_")) {
|
|
2422
2422
|
if (isRuntimeOnly()) {
|
|
2423
|
-
warn(
|
|
2423
|
+
warn$1(
|
|
2424
2424
|
`Deprecation config "${key}" is compiler-specific and you are running a runtime-only build of Vue. This deprecation should be configured via compiler options in your build setup instead.
|
|
2425
2425
|
Details: https://v3-migration.vuejs.org/breaking-changes/migration-build.html`
|
|
2426
2426
|
);
|
|
2427
2427
|
}
|
|
2428
2428
|
} else {
|
|
2429
|
-
warn(`Invalid deprecation config "${key}".`);
|
|
2429
|
+
warn$1(`Invalid deprecation config "${key}".`);
|
|
2430
2430
|
}
|
|
2431
2431
|
warnedInvalidKeys[key] = true;
|
|
2432
2432
|
}
|
|
2433
2433
|
}
|
|
2434
2434
|
if (instance && config["OPTIONS_DATA_MERGE"] != null) {
|
|
2435
|
-
warn(
|
|
2435
|
+
warn$1(
|
|
2436
2436
|
`Deprecation config "${"OPTIONS_DATA_MERGE"}" can only be configured globally.`
|
|
2437
2437
|
);
|
|
2438
2438
|
}
|
|
@@ -2622,7 +2622,7 @@ Details: https://v3-migration.vuejs.org/breaking-changes/migration-build.html`
|
|
|
2622
2622
|
if (emitsOptions) {
|
|
2623
2623
|
if (!(event in emitsOptions) && !(event.startsWith("hook:") || event.startsWith(compatModelEventPrefix))) {
|
|
2624
2624
|
if (!propsOptions || !(toHandlerKey(event) in propsOptions)) {
|
|
2625
|
-
warn(
|
|
2625
|
+
warn$1(
|
|
2626
2626
|
`Component emitted event "${event}" but it is neither declared in the emits option nor as an "${toHandlerKey(event)}" prop.`
|
|
2627
2627
|
);
|
|
2628
2628
|
}
|
|
@@ -2631,7 +2631,7 @@ Details: https://v3-migration.vuejs.org/breaking-changes/migration-build.html`
|
|
|
2631
2631
|
if (isFunction(validator)) {
|
|
2632
2632
|
const isValid = validator(...rawArgs);
|
|
2633
2633
|
if (!isValid) {
|
|
2634
|
-
warn(
|
|
2634
|
+
warn$1(
|
|
2635
2635
|
`Invalid event arguments: event validation failed for event "${event}".`
|
|
2636
2636
|
);
|
|
2637
2637
|
}
|
|
@@ -2658,7 +2658,7 @@ Details: https://v3-migration.vuejs.org/breaking-changes/migration-build.html`
|
|
|
2658
2658
|
{
|
|
2659
2659
|
const lowerCaseEvent = event.toLowerCase();
|
|
2660
2660
|
if (lowerCaseEvent !== event && props[toHandlerKey(lowerCaseEvent)]) {
|
|
2661
|
-
warn(
|
|
2661
|
+
warn$1(
|
|
2662
2662
|
`Event "${lowerCaseEvent}" is emitted in component ${formatComponentName(
|
|
2663
2663
|
instance,
|
|
2664
2664
|
instance.type
|
|
@@ -2839,7 +2839,7 @@ Details: https://v3-migration.vuejs.org/breaking-changes/migration-build.html`
|
|
|
2839
2839
|
const proxyToUse = withProxy || proxy;
|
|
2840
2840
|
const thisProxy = setupState.__isScriptSetup ? new Proxy(proxyToUse, {
|
|
2841
2841
|
get(target, key, receiver) {
|
|
2842
|
-
warn(
|
|
2842
|
+
warn$1(
|
|
2843
2843
|
`Property '${String(
|
|
2844
2844
|
key
|
|
2845
2845
|
)}' was accessed via 'this'. Avoid using 'this' in templates.`
|
|
@@ -2920,12 +2920,12 @@ Details: https://v3-migration.vuejs.org/breaking-changes/migration-build.html`
|
|
|
2920
2920
|
}
|
|
2921
2921
|
}
|
|
2922
2922
|
if (extraAttrs.length) {
|
|
2923
|
-
warn(
|
|
2923
|
+
warn$1(
|
|
2924
2924
|
`Extraneous non-props attributes (${extraAttrs.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.`
|
|
2925
2925
|
);
|
|
2926
2926
|
}
|
|
2927
2927
|
if (eventAttrs.length) {
|
|
2928
|
-
warn(
|
|
2928
|
+
warn$1(
|
|
2929
2929
|
`Extraneous non-emits event listeners (${eventAttrs.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.`
|
|
2930
2930
|
);
|
|
2931
2931
|
}
|
|
@@ -2950,7 +2950,7 @@ Details: https://v3-migration.vuejs.org/breaking-changes/migration-build.html`
|
|
|
2950
2950
|
}
|
|
2951
2951
|
if (vnode.dirs) {
|
|
2952
2952
|
if (!isElementRoot(root)) {
|
|
2953
|
-
warn(
|
|
2953
|
+
warn$1(
|
|
2954
2954
|
`Runtime directive used on component with non-element root node. The directives will not function as intended.`
|
|
2955
2955
|
);
|
|
2956
2956
|
}
|
|
@@ -2959,7 +2959,7 @@ Details: https://v3-migration.vuejs.org/breaking-changes/migration-build.html`
|
|
|
2959
2959
|
}
|
|
2960
2960
|
if (vnode.transition) {
|
|
2961
2961
|
if (!isElementRoot(root)) {
|
|
2962
|
-
warn(
|
|
2962
|
+
warn$1(
|
|
2963
2963
|
`Component inside <Transition> renders non-element root node that cannot be animated.`
|
|
2964
2964
|
);
|
|
2965
2965
|
}
|
|
@@ -3156,11 +3156,11 @@ Details: https://v3-migration.vuejs.org/breaking-changes/migration-build.html`
|
|
|
3156
3156
|
if (warnMissing && !res) {
|
|
3157
3157
|
const extra = type === COMPONENTS ? `
|
|
3158
3158
|
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.` : ``;
|
|
3159
|
-
warn(`Failed to resolve ${type.slice(0, -1)}: ${name}${extra}`);
|
|
3159
|
+
warn$1(`Failed to resolve ${type.slice(0, -1)}: ${name}${extra}`);
|
|
3160
3160
|
}
|
|
3161
3161
|
return res;
|
|
3162
3162
|
} else {
|
|
3163
|
-
warn(
|
|
3163
|
+
warn$1(
|
|
3164
3164
|
`resolve${capitalize(type.slice(0, -1))} can only be used in render() or setup().`
|
|
3165
3165
|
);
|
|
3166
3166
|
}
|
|
@@ -3716,7 +3716,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
3716
3716
|
if (isArray(s)) {
|
|
3717
3717
|
const singleChild = filterSingleRoot(s);
|
|
3718
3718
|
if (!singleChild && s.filter((child) => child !== NULL_DYNAMIC_COMPONENT).length > 0) {
|
|
3719
|
-
warn(`<Suspense> slots expect a single root node.`);
|
|
3719
|
+
warn$1(`<Suspense> slots expect a single root node.`);
|
|
3720
3720
|
}
|
|
3721
3721
|
s = singleChild;
|
|
3722
3722
|
}
|
|
@@ -3809,7 +3809,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
3809
3809
|
const INITIAL_WATCHER_VALUE = {};
|
|
3810
3810
|
function watch(source, cb, options) {
|
|
3811
3811
|
if (!isFunction(cb)) {
|
|
3812
|
-
warn(
|
|
3812
|
+
warn$1(
|
|
3813
3813
|
`\`watch(fn, options?)\` signature has been moved to a separate API. Use \`watchEffect(fn, options?)\` instead. \`watch\` now only supports \`watch(source, cb, options?) signature.`
|
|
3814
3814
|
);
|
|
3815
3815
|
}
|
|
@@ -3826,23 +3826,23 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
3826
3826
|
}
|
|
3827
3827
|
if (!cb) {
|
|
3828
3828
|
if (immediate !== void 0) {
|
|
3829
|
-
warn(
|
|
3829
|
+
warn$1(
|
|
3830
3830
|
`watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.`
|
|
3831
3831
|
);
|
|
3832
3832
|
}
|
|
3833
3833
|
if (deep !== void 0) {
|
|
3834
|
-
warn(
|
|
3834
|
+
warn$1(
|
|
3835
3835
|
`watch() "deep" option is only respected when using the watch(source, callback, options?) signature.`
|
|
3836
3836
|
);
|
|
3837
3837
|
}
|
|
3838
3838
|
if (once !== void 0) {
|
|
3839
|
-
warn(
|
|
3839
|
+
warn$1(
|
|
3840
3840
|
`watch() "once" option is only respected when using the watch(source, callback, options?) signature.`
|
|
3841
3841
|
);
|
|
3842
3842
|
}
|
|
3843
3843
|
}
|
|
3844
3844
|
const warnInvalidSource = (s) => {
|
|
3845
|
-
warn(
|
|
3845
|
+
warn$1(
|
|
3846
3846
|
`Invalid watch source: `,
|
|
3847
3847
|
s,
|
|
3848
3848
|
`A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.`
|
|
@@ -4037,13 +4037,13 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
4037
4037
|
|
|
4038
4038
|
function validateDirectiveName(name) {
|
|
4039
4039
|
if (isBuiltInDirective(name)) {
|
|
4040
|
-
warn("Do not use built-in directive ids as custom directive id: " + name);
|
|
4040
|
+
warn$1("Do not use built-in directive ids as custom directive id: " + name);
|
|
4041
4041
|
}
|
|
4042
4042
|
}
|
|
4043
4043
|
function withDirectives(vnode, directives) {
|
|
4044
4044
|
const internalInstance = currentRenderingInstance;
|
|
4045
4045
|
if (internalInstance === null) {
|
|
4046
|
-
warn(`withDirectives can only be used inside render functions.`);
|
|
4046
|
+
warn$1(`withDirectives can only be used inside render functions.`);
|
|
4047
4047
|
return vnode;
|
|
4048
4048
|
}
|
|
4049
4049
|
const instance = getExposeProxy(internalInstance) || internalInstance.proxy;
|
|
@@ -4153,7 +4153,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
4153
4153
|
for (const c of children) {
|
|
4154
4154
|
if (c.type !== Comment) {
|
|
4155
4155
|
if (hasFound) {
|
|
4156
|
-
warn(
|
|
4156
|
+
warn$1(
|
|
4157
4157
|
"<transition> can only be used on a single element or component. Use <transition-group> for lists."
|
|
4158
4158
|
);
|
|
4159
4159
|
break;
|
|
@@ -4166,7 +4166,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
4166
4166
|
const rawProps = toRaw(props);
|
|
4167
4167
|
const { mode } = rawProps;
|
|
4168
4168
|
if (mode && mode !== "in-out" && mode !== "out-in" && mode !== "default") {
|
|
4169
|
-
warn(`invalid <transition> mode: ${mode}`);
|
|
4169
|
+
warn$1(`invalid <transition> mode: ${mode}`);
|
|
4170
4170
|
}
|
|
4171
4171
|
if (state.isLeaving) {
|
|
4172
4172
|
return emptyPlaceholder(child);
|
|
@@ -4484,7 +4484,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
4484
4484
|
return pendingRequest;
|
|
4485
4485
|
}
|
|
4486
4486
|
if (!comp) {
|
|
4487
|
-
warn(
|
|
4487
|
+
warn$1(
|
|
4488
4488
|
`Async component loader resolved to undefined. If you are using retry(), make sure to return its return value.`
|
|
4489
4489
|
);
|
|
4490
4490
|
}
|
|
@@ -4718,7 +4718,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
4718
4718
|
const rawVNode = children[0];
|
|
4719
4719
|
if (children.length > 1) {
|
|
4720
4720
|
{
|
|
4721
|
-
warn(`KeepAlive should contain exactly one component child.`);
|
|
4721
|
+
warn$1(`KeepAlive should contain exactly one component child.`);
|
|
4722
4722
|
}
|
|
4723
4723
|
current = null;
|
|
4724
4724
|
return children;
|
|
@@ -4850,7 +4850,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
4850
4850
|
return wrappedHook;
|
|
4851
4851
|
} else {
|
|
4852
4852
|
const apiName = toHandlerKey(ErrorTypeStrings$1[type].replace(/ hook$/, ""));
|
|
4853
|
-
warn(
|
|
4853
|
+
warn$1(
|
|
4854
4854
|
`${apiName} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup().` + (` If you are using async setup(), make sure to register lifecycle hooks before the first await statement.` )
|
|
4855
4855
|
);
|
|
4856
4856
|
}
|
|
@@ -5172,7 +5172,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
5172
5172
|
}
|
|
5173
5173
|
} else if (typeof source === "number") {
|
|
5174
5174
|
if (!Number.isInteger(source)) {
|
|
5175
|
-
warn(`The v-for range expect an integer value but got ${source}.`);
|
|
5175
|
+
warn$1(`The v-for range expect an integer value but got ${source}.`);
|
|
5176
5176
|
}
|
|
5177
5177
|
ret = new Array(source);
|
|
5178
5178
|
for (let i = 0; i < source; i++) {
|
|
@@ -5228,7 +5228,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
5228
5228
|
}
|
|
5229
5229
|
let slot = slots[name];
|
|
5230
5230
|
if (slot && slot.length > 1) {
|
|
5231
|
-
warn(
|
|
5231
|
+
warn$1(
|
|
5232
5232
|
`SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template.`
|
|
5233
5233
|
);
|
|
5234
5234
|
slot = () => [];
|
|
@@ -5271,7 +5271,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
5271
5271
|
function toHandlers(obj, preserveCaseIfNecessary) {
|
|
5272
5272
|
const ret = {};
|
|
5273
5273
|
if (!isObject(obj)) {
|
|
5274
|
-
warn(`v-on with no argument expects an object value.`);
|
|
5274
|
+
warn$1(`v-on with no argument expects an object value.`);
|
|
5275
5275
|
return ret;
|
|
5276
5276
|
}
|
|
5277
5277
|
for (const key in obj) {
|
|
@@ -5600,13 +5600,13 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
5600
5600
|
// to infinite warning loop
|
|
5601
5601
|
key.indexOf("__v") !== 0)) {
|
|
5602
5602
|
if (data !== EMPTY_OBJ && isReservedPrefix(key[0]) && hasOwn(data, key)) {
|
|
5603
|
-
warn(
|
|
5603
|
+
warn$1(
|
|
5604
5604
|
`Property ${JSON.stringify(
|
|
5605
5605
|
key
|
|
5606
5606
|
)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`
|
|
5607
5607
|
);
|
|
5608
5608
|
} else if (instance === currentRenderingInstance) {
|
|
5609
|
-
warn(
|
|
5609
|
+
warn$1(
|
|
5610
5610
|
`Property ${JSON.stringify(key)} was accessed during render but is not defined on instance.`
|
|
5611
5611
|
);
|
|
5612
5612
|
}
|
|
@@ -5618,17 +5618,17 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
5618
5618
|
setupState[key] = value;
|
|
5619
5619
|
return true;
|
|
5620
5620
|
} else if (setupState.__isScriptSetup && hasOwn(setupState, key)) {
|
|
5621
|
-
warn(`Cannot mutate <script setup> binding "${key}" from Options API.`);
|
|
5621
|
+
warn$1(`Cannot mutate <script setup> binding "${key}" from Options API.`);
|
|
5622
5622
|
return false;
|
|
5623
5623
|
} else if (data !== EMPTY_OBJ && hasOwn(data, key)) {
|
|
5624
5624
|
data[key] = value;
|
|
5625
5625
|
return true;
|
|
5626
5626
|
} else if (hasOwn(instance.props, key)) {
|
|
5627
|
-
warn(`Attempting to mutate prop "${key}". Props are readonly.`);
|
|
5627
|
+
warn$1(`Attempting to mutate prop "${key}". Props are readonly.`);
|
|
5628
5628
|
return false;
|
|
5629
5629
|
}
|
|
5630
5630
|
if (key[0] === "$" && key.slice(1) in instance) {
|
|
5631
|
-
warn(
|
|
5631
|
+
warn$1(
|
|
5632
5632
|
`Attempting to mutate public property "${key}". Properties starting with $ are reserved and readonly.`
|
|
5633
5633
|
);
|
|
5634
5634
|
return false;
|
|
@@ -5662,7 +5662,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
5662
5662
|
};
|
|
5663
5663
|
{
|
|
5664
5664
|
PublicInstanceProxyHandlers.ownKeys = (target) => {
|
|
5665
|
-
warn(
|
|
5665
|
+
warn$1(
|
|
5666
5666
|
`Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead.`
|
|
5667
5667
|
);
|
|
5668
5668
|
return Reflect.ownKeys(target);
|
|
@@ -5681,7 +5681,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
5681
5681
|
has(_, key) {
|
|
5682
5682
|
const has = key[0] !== "_" && !isGloballyAllowed(key);
|
|
5683
5683
|
if (!has && PublicInstanceProxyHandlers.has(_, key)) {
|
|
5684
|
-
warn(
|
|
5684
|
+
warn$1(
|
|
5685
5685
|
`Property ${JSON.stringify(
|
|
5686
5686
|
key
|
|
5687
5687
|
)} should not start with _ which is a reserved prefix for Vue internals.`
|
|
@@ -5731,7 +5731,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
5731
5731
|
Object.keys(toRaw(setupState)).forEach((key) => {
|
|
5732
5732
|
if (!setupState.__isScriptSetup) {
|
|
5733
5733
|
if (isReservedPrefix(key[0])) {
|
|
5734
|
-
warn(
|
|
5734
|
+
warn$1(
|
|
5735
5735
|
`setup() return property ${JSON.stringify(
|
|
5736
5736
|
key
|
|
5737
5737
|
)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`
|
|
@@ -5762,7 +5762,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
5762
5762
|
return to;
|
|
5763
5763
|
}
|
|
5764
5764
|
|
|
5765
|
-
const warnRuntimeUsage = (method) => warn(
|
|
5765
|
+
const warnRuntimeUsage = (method) => warn$1(
|
|
5766
5766
|
`${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.`
|
|
5767
5767
|
);
|
|
5768
5768
|
function defineProps() {
|
|
@@ -5813,11 +5813,11 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
5813
5813
|
function useModel(props, name) {
|
|
5814
5814
|
const i = getCurrentInstance();
|
|
5815
5815
|
if (!i) {
|
|
5816
|
-
warn(`useModel() called without active instance.`);
|
|
5816
|
+
warn$1(`useModel() called without active instance.`);
|
|
5817
5817
|
return ref();
|
|
5818
5818
|
}
|
|
5819
5819
|
if (!i.propsOptions[0][name]) {
|
|
5820
|
-
warn(`useModel() called with prop "${name}" which is not declared.`);
|
|
5820
|
+
warn$1(`useModel() called with prop "${name}" which is not declared.`);
|
|
5821
5821
|
return ref();
|
|
5822
5822
|
}
|
|
5823
5823
|
return customRef((track, trigger) => {
|
|
@@ -5848,7 +5848,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
5848
5848
|
function getContext() {
|
|
5849
5849
|
const i = getCurrentInstance();
|
|
5850
5850
|
if (!i) {
|
|
5851
|
-
warn(`useContext() called without active instance.`);
|
|
5851
|
+
warn$1(`useContext() called without active instance.`);
|
|
5852
5852
|
}
|
|
5853
5853
|
return i.setupContext || (i.setupContext = createSetupContext(i));
|
|
5854
5854
|
}
|
|
@@ -5873,7 +5873,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
5873
5873
|
} else if (opt === null) {
|
|
5874
5874
|
opt = props[key] = { default: defaults[key] };
|
|
5875
5875
|
} else {
|
|
5876
|
-
warn(`props default key "${key}" has no corresponding declaration.`);
|
|
5876
|
+
warn$1(`props default key "${key}" has no corresponding declaration.`);
|
|
5877
5877
|
}
|
|
5878
5878
|
if (opt && defaults[`__skip_${key}`]) {
|
|
5879
5879
|
opt.skipFactory = true;
|
|
@@ -5903,7 +5903,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
5903
5903
|
function withAsyncContext(getAwaitable) {
|
|
5904
5904
|
const ctx = getCurrentInstance();
|
|
5905
5905
|
if (!ctx) {
|
|
5906
|
-
warn(
|
|
5906
|
+
warn$1(
|
|
5907
5907
|
`withAsyncContext called without active current instance. This is likely a bug.`
|
|
5908
5908
|
);
|
|
5909
5909
|
}
|
|
@@ -5922,7 +5922,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
5922
5922
|
const cache = /* @__PURE__ */ Object.create(null);
|
|
5923
5923
|
return (type, key) => {
|
|
5924
5924
|
if (cache[key]) {
|
|
5925
|
-
warn(`${type} property "${key}" is already defined in ${cache[key]}.`);
|
|
5925
|
+
warn$1(`${type} property "${key}" is already defined in ${cache[key]}.`);
|
|
5926
5926
|
} else {
|
|
5927
5927
|
cache[key] = type;
|
|
5928
5928
|
}
|
|
@@ -5998,7 +5998,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
5998
5998
|
checkDuplicateProperties("Methods" /* METHODS */, key);
|
|
5999
5999
|
}
|
|
6000
6000
|
} else {
|
|
6001
|
-
warn(
|
|
6001
|
+
warn$1(
|
|
6002
6002
|
`Method "${key}" has type "${typeof methodHandler}" in the component definition. Did you reference the function correctly?`
|
|
6003
6003
|
);
|
|
6004
6004
|
}
|
|
@@ -6006,18 +6006,18 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
6006
6006
|
}
|
|
6007
6007
|
if (dataOptions) {
|
|
6008
6008
|
if (!isFunction(dataOptions)) {
|
|
6009
|
-
warn(
|
|
6009
|
+
warn$1(
|
|
6010
6010
|
`The data option must be a function. Plain object usage is no longer supported.`
|
|
6011
6011
|
);
|
|
6012
6012
|
}
|
|
6013
6013
|
const data = dataOptions.call(publicThis, publicThis);
|
|
6014
6014
|
if (isPromise(data)) {
|
|
6015
|
-
warn(
|
|
6015
|
+
warn$1(
|
|
6016
6016
|
`data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>.`
|
|
6017
6017
|
);
|
|
6018
6018
|
}
|
|
6019
6019
|
if (!isObject(data)) {
|
|
6020
|
-
warn(`data() should return an object.`);
|
|
6020
|
+
warn$1(`data() should return an object.`);
|
|
6021
6021
|
} else {
|
|
6022
6022
|
instance.data = reactive(data);
|
|
6023
6023
|
{
|
|
@@ -6041,10 +6041,10 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
6041
6041
|
const opt = computedOptions[key];
|
|
6042
6042
|
const get = isFunction(opt) ? opt.bind(publicThis, publicThis) : isFunction(opt.get) ? opt.get.bind(publicThis, publicThis) : NOOP;
|
|
6043
6043
|
if (get === NOOP) {
|
|
6044
|
-
warn(`Computed property "${key}" has no getter.`);
|
|
6044
|
+
warn$1(`Computed property "${key}" has no getter.`);
|
|
6045
6045
|
}
|
|
6046
6046
|
const set = !isFunction(opt) && isFunction(opt.set) ? opt.set.bind(publicThis) : () => {
|
|
6047
|
-
warn(
|
|
6047
|
+
warn$1(
|
|
6048
6048
|
`Write operation failed: computed property "${key}" is readonly.`
|
|
6049
6049
|
);
|
|
6050
6050
|
} ;
|
|
@@ -6181,7 +6181,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
6181
6181
|
if (isFunction(handler)) {
|
|
6182
6182
|
watch(getter, handler);
|
|
6183
6183
|
} else {
|
|
6184
|
-
warn(`Invalid watch handler specified by key "${raw}"`, handler);
|
|
6184
|
+
warn$1(`Invalid watch handler specified by key "${raw}"`, handler);
|
|
6185
6185
|
}
|
|
6186
6186
|
} else if (isFunction(raw)) {
|
|
6187
6187
|
watch(getter, raw.bind(publicThis));
|
|
@@ -6193,11 +6193,11 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
6193
6193
|
if (isFunction(handler)) {
|
|
6194
6194
|
watch(getter, handler, raw);
|
|
6195
6195
|
} else {
|
|
6196
|
-
warn(`Invalid watch handler specified by key "${raw.handler}"`, handler);
|
|
6196
|
+
warn$1(`Invalid watch handler specified by key "${raw.handler}"`, handler);
|
|
6197
6197
|
}
|
|
6198
6198
|
}
|
|
6199
6199
|
} else {
|
|
6200
|
-
warn(`Invalid watch option: "${key}"`, raw);
|
|
6200
|
+
warn$1(`Invalid watch option: "${key}"`, raw);
|
|
6201
6201
|
}
|
|
6202
6202
|
}
|
|
6203
6203
|
function resolveMergedOptions(instance) {
|
|
@@ -6249,7 +6249,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
6249
6249
|
}
|
|
6250
6250
|
for (const key in from) {
|
|
6251
6251
|
if (asMixin && key === "expose") {
|
|
6252
|
-
warn(
|
|
6252
|
+
warn$1(
|
|
6253
6253
|
`"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.`
|
|
6254
6254
|
);
|
|
6255
6255
|
} else {
|
|
@@ -6417,7 +6417,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
6417
6417
|
return vm;
|
|
6418
6418
|
}
|
|
6419
6419
|
}
|
|
6420
|
-
Vue.version = `2.6.14-compat:${"3.4.0-
|
|
6420
|
+
Vue.version = `2.6.14-compat:${"3.4.0-rc.2"}`;
|
|
6421
6421
|
Vue.config = singletonApp.config;
|
|
6422
6422
|
Vue.use = (p, ...options) => {
|
|
6423
6423
|
if (p && isFunction(p.install)) {
|
|
@@ -6518,7 +6518,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
6518
6518
|
}
|
|
6519
6519
|
};
|
|
6520
6520
|
const util = {
|
|
6521
|
-
warn: warn ,
|
|
6521
|
+
warn: warn$1 ,
|
|
6522
6522
|
extend,
|
|
6523
6523
|
mergeOptions: (parent, child, vm) => mergeOptions(
|
|
6524
6524
|
parent,
|
|
@@ -6555,7 +6555,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
6555
6555
|
return context.filters[name];
|
|
6556
6556
|
}
|
|
6557
6557
|
if (context.filters[name]) {
|
|
6558
|
-
warn(`Filter "${name}" has already been registered.`);
|
|
6558
|
+
warn$1(`Filter "${name}" has already been registered.`);
|
|
6559
6559
|
}
|
|
6560
6560
|
context.filters[name] = filter;
|
|
6561
6561
|
return app;
|
|
@@ -6646,14 +6646,14 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
6646
6646
|
vnode.isCompatRoot = true;
|
|
6647
6647
|
instance.ctx._compat_mount = (selectorOrEl) => {
|
|
6648
6648
|
if (isMounted) {
|
|
6649
|
-
warn(`Root instance is already mounted.`);
|
|
6649
|
+
warn$1(`Root instance is already mounted.`);
|
|
6650
6650
|
return;
|
|
6651
6651
|
}
|
|
6652
6652
|
let container;
|
|
6653
6653
|
if (typeof selectorOrEl === "string") {
|
|
6654
6654
|
const result = document.querySelector(selectorOrEl);
|
|
6655
6655
|
if (!result) {
|
|
6656
|
-
warn(
|
|
6656
|
+
warn$1(
|
|
6657
6657
|
`Failed to mount root instance: selector "${selectorOrEl}" returned null.`
|
|
6658
6658
|
);
|
|
6659
6659
|
return;
|
|
@@ -6818,7 +6818,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
6818
6818
|
rootComponent = extend({}, rootComponent);
|
|
6819
6819
|
}
|
|
6820
6820
|
if (rootProps != null && !isObject(rootProps)) {
|
|
6821
|
-
warn(`root props passed to app.mount() must be an object.`);
|
|
6821
|
+
warn$1(`root props passed to app.mount() must be an object.`);
|
|
6822
6822
|
rootProps = null;
|
|
6823
6823
|
}
|
|
6824
6824
|
const context = createAppContext();
|
|
@@ -6837,14 +6837,14 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
6837
6837
|
},
|
|
6838
6838
|
set config(v) {
|
|
6839
6839
|
{
|
|
6840
|
-
warn(
|
|
6840
|
+
warn$1(
|
|
6841
6841
|
`app.config cannot be replaced. Modify individual options instead.`
|
|
6842
6842
|
);
|
|
6843
6843
|
}
|
|
6844
6844
|
},
|
|
6845
6845
|
use(plugin, ...options) {
|
|
6846
6846
|
if (installedPlugins.has(plugin)) {
|
|
6847
|
-
warn(`Plugin has already been applied to target app.`);
|
|
6847
|
+
warn$1(`Plugin has already been applied to target app.`);
|
|
6848
6848
|
} else if (plugin && isFunction(plugin.install)) {
|
|
6849
6849
|
installedPlugins.add(plugin);
|
|
6850
6850
|
plugin.install(app, ...options);
|
|
@@ -6852,7 +6852,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
6852
6852
|
installedPlugins.add(plugin);
|
|
6853
6853
|
plugin(app, ...options);
|
|
6854
6854
|
} else {
|
|
6855
|
-
warn(
|
|
6855
|
+
warn$1(
|
|
6856
6856
|
`A plugin must either be a function or an object with an "install" function.`
|
|
6857
6857
|
);
|
|
6858
6858
|
}
|
|
@@ -6863,7 +6863,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
6863
6863
|
if (!context.mixins.includes(mixin)) {
|
|
6864
6864
|
context.mixins.push(mixin);
|
|
6865
6865
|
} else {
|
|
6866
|
-
warn(
|
|
6866
|
+
warn$1(
|
|
6867
6867
|
"Mixin has already been applied to target app" + (mixin.name ? `: ${mixin.name}` : "")
|
|
6868
6868
|
);
|
|
6869
6869
|
}
|
|
@@ -6878,7 +6878,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
6878
6878
|
return context.components[name];
|
|
6879
6879
|
}
|
|
6880
6880
|
if (context.components[name]) {
|
|
6881
|
-
warn(`Component "${name}" has already been registered in target app.`);
|
|
6881
|
+
warn$1(`Component "${name}" has already been registered in target app.`);
|
|
6882
6882
|
}
|
|
6883
6883
|
context.components[name] = component;
|
|
6884
6884
|
return app;
|
|
@@ -6891,7 +6891,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
6891
6891
|
return context.directives[name];
|
|
6892
6892
|
}
|
|
6893
6893
|
if (context.directives[name]) {
|
|
6894
|
-
warn(`Directive "${name}" has already been registered in target app.`);
|
|
6894
|
+
warn$1(`Directive "${name}" has already been registered in target app.`);
|
|
6895
6895
|
}
|
|
6896
6896
|
context.directives[name] = directive;
|
|
6897
6897
|
return app;
|
|
@@ -6899,7 +6899,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
6899
6899
|
mount(rootContainer, isHydrate, namespace) {
|
|
6900
6900
|
if (!isMounted) {
|
|
6901
6901
|
if (rootContainer.__vue_app__) {
|
|
6902
|
-
warn(
|
|
6902
|
+
warn$1(
|
|
6903
6903
|
`There is already an app instance mounted on the host container.
|
|
6904
6904
|
If you want to mount another app on the same host container, you need to unmount the previous app by calling \`app.unmount()\` first.`
|
|
6905
6905
|
);
|
|
@@ -6934,7 +6934,7 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
6934
6934
|
}
|
|
6935
6935
|
return getExposeProxy(vnode.component) || vnode.component.proxy;
|
|
6936
6936
|
} else {
|
|
6937
|
-
warn(
|
|
6937
|
+
warn$1(
|
|
6938
6938
|
`App has already been mounted.
|
|
6939
6939
|
If you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. \`const createMyApp = () => createApp(App)\``
|
|
6940
6940
|
);
|
|
@@ -6949,12 +6949,12 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
6949
6949
|
}
|
|
6950
6950
|
delete app._container.__vue_app__;
|
|
6951
6951
|
} else {
|
|
6952
|
-
warn(`Cannot unmount an app that is not mounted.`);
|
|
6952
|
+
warn$1(`Cannot unmount an app that is not mounted.`);
|
|
6953
6953
|
}
|
|
6954
6954
|
},
|
|
6955
6955
|
provide(key, value) {
|
|
6956
6956
|
if (key in context.provides) {
|
|
6957
|
-
warn(
|
|
6957
|
+
warn$1(
|
|
6958
6958
|
`App already provides property with key "${String(key)}". It will be overwritten with the new value.`
|
|
6959
6959
|
);
|
|
6960
6960
|
}
|
|
@@ -6981,7 +6981,7 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
6981
6981
|
function provide(key, value) {
|
|
6982
6982
|
if (!currentInstance) {
|
|
6983
6983
|
{
|
|
6984
|
-
warn(`provide() can only be used inside setup().`);
|
|
6984
|
+
warn$1(`provide() can only be used inside setup().`);
|
|
6985
6985
|
}
|
|
6986
6986
|
} else {
|
|
6987
6987
|
let provides = currentInstance.provides;
|
|
@@ -7001,10 +7001,10 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
7001
7001
|
} else if (arguments.length > 1) {
|
|
7002
7002
|
return treatDefaultAsFactory && isFunction(defaultValue) ? defaultValue.call(instance && instance.proxy) : defaultValue;
|
|
7003
7003
|
} else {
|
|
7004
|
-
warn(`injection "${String(key)}" not found.`);
|
|
7004
|
+
warn$1(`injection "${String(key)}" not found.`);
|
|
7005
7005
|
}
|
|
7006
7006
|
} else {
|
|
7007
|
-
warn(`inject() can only be used inside setup() or functional components.`);
|
|
7007
|
+
warn$1(`inject() can only be used inside setup() or functional components.`);
|
|
7008
7008
|
}
|
|
7009
7009
|
}
|
|
7010
7010
|
function hasInjectionContext() {
|
|
@@ -7320,7 +7320,7 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
7320
7320
|
if (isArray(raw)) {
|
|
7321
7321
|
for (let i = 0; i < raw.length; i++) {
|
|
7322
7322
|
if (!isString(raw[i])) {
|
|
7323
|
-
warn(`props must be strings when using array syntax.`, raw[i]);
|
|
7323
|
+
warn$1(`props must be strings when using array syntax.`, raw[i]);
|
|
7324
7324
|
}
|
|
7325
7325
|
const normalizedKey = camelize(raw[i]);
|
|
7326
7326
|
if (validatePropName(normalizedKey)) {
|
|
@@ -7329,7 +7329,7 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
7329
7329
|
}
|
|
7330
7330
|
} else if (raw) {
|
|
7331
7331
|
if (!isObject(raw)) {
|
|
7332
|
-
warn(`invalid props options`, raw);
|
|
7332
|
+
warn$1(`invalid props options`, raw);
|
|
7333
7333
|
}
|
|
7334
7334
|
for (const key in raw) {
|
|
7335
7335
|
const normalizedKey = camelize(key);
|
|
@@ -7358,7 +7358,7 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
7358
7358
|
if (key[0] !== "$") {
|
|
7359
7359
|
return true;
|
|
7360
7360
|
} else {
|
|
7361
|
-
warn(`Invalid prop name: "${key}" is a reserved property.`);
|
|
7361
|
+
warn$1(`Invalid prop name: "${key}" is a reserved property.`);
|
|
7362
7362
|
}
|
|
7363
7363
|
return false;
|
|
7364
7364
|
}
|
|
@@ -7396,7 +7396,7 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
7396
7396
|
function validateProp(name, value, prop, props, isAbsent) {
|
|
7397
7397
|
const { type, required, validator, skipCheck } = prop;
|
|
7398
7398
|
if (required && isAbsent) {
|
|
7399
|
-
warn('Missing required prop: "' + name + '"');
|
|
7399
|
+
warn$1('Missing required prop: "' + name + '"');
|
|
7400
7400
|
return;
|
|
7401
7401
|
}
|
|
7402
7402
|
if (value == null && !required) {
|
|
@@ -7412,12 +7412,12 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
7412
7412
|
isValid = valid;
|
|
7413
7413
|
}
|
|
7414
7414
|
if (!isValid) {
|
|
7415
|
-
warn(getInvalidTypeMessage(name, value, expectedTypes));
|
|
7415
|
+
warn$1(getInvalidTypeMessage(name, value, expectedTypes));
|
|
7416
7416
|
return;
|
|
7417
7417
|
}
|
|
7418
7418
|
}
|
|
7419
7419
|
if (validator && !validator(value, props)) {
|
|
7420
|
-
warn('Invalid prop: custom validator check failed for prop "' + name + '".');
|
|
7420
|
+
warn$1('Invalid prop: custom validator check failed for prop "' + name + '".');
|
|
7421
7421
|
}
|
|
7422
7422
|
}
|
|
7423
7423
|
const isSimpleType = /* @__PURE__ */ makeMap(
|
|
@@ -7489,7 +7489,7 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
7489
7489
|
}
|
|
7490
7490
|
const normalized = withCtx((...args) => {
|
|
7491
7491
|
if (currentInstance) {
|
|
7492
|
-
warn(
|
|
7492
|
+
warn$1(
|
|
7493
7493
|
`Slot "${key}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`
|
|
7494
7494
|
);
|
|
7495
7495
|
}
|
|
@@ -7508,7 +7508,7 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
7508
7508
|
slots[key] = normalizeSlot(key, value, ctx);
|
|
7509
7509
|
} else if (value != null) {
|
|
7510
7510
|
if (!isCompatEnabled("RENDER_FUNCTION", instance)) {
|
|
7511
|
-
warn(
|
|
7511
|
+
warn$1(
|
|
7512
7512
|
`Non-function value encountered for slot "${key}". Prefer function slots for better performance.`
|
|
7513
7513
|
);
|
|
7514
7514
|
}
|
|
@@ -7519,7 +7519,7 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
7519
7519
|
};
|
|
7520
7520
|
const normalizeVNodeSlots = (instance, children) => {
|
|
7521
7521
|
if (!isKeepAlive(instance.vnode) && !isCompatEnabled("RENDER_FUNCTION", instance)) {
|
|
7522
|
-
warn(
|
|
7522
|
+
warn$1(
|
|
7523
7523
|
`Non-function value encountered for default slot. Prefer function slots for better performance.`
|
|
7524
7524
|
);
|
|
7525
7525
|
}
|
|
@@ -7603,7 +7603,7 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
7603
7603
|
const value = isUnmount ? null : refValue;
|
|
7604
7604
|
const { i: owner, r: ref } = rawRef;
|
|
7605
7605
|
if (!owner) {
|
|
7606
|
-
warn(
|
|
7606
|
+
warn$1(
|
|
7607
7607
|
`Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.`
|
|
7608
7608
|
);
|
|
7609
7609
|
return;
|
|
@@ -7658,7 +7658,7 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
7658
7658
|
if (rawRef.k)
|
|
7659
7659
|
refs[rawRef.k] = value;
|
|
7660
7660
|
} else {
|
|
7661
|
-
warn("Invalid template ref type:", ref, `(${typeof ref})`);
|
|
7661
|
+
warn$1("Invalid template ref type:", ref, `(${typeof ref})`);
|
|
7662
7662
|
}
|
|
7663
7663
|
};
|
|
7664
7664
|
if (value) {
|
|
@@ -7668,7 +7668,7 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
7668
7668
|
doSet();
|
|
7669
7669
|
}
|
|
7670
7670
|
} else {
|
|
7671
|
-
warn("Invalid template ref type:", ref, `(${typeof ref})`);
|
|
7671
|
+
warn$1("Invalid template ref type:", ref, `(${typeof ref})`);
|
|
7672
7672
|
}
|
|
7673
7673
|
}
|
|
7674
7674
|
}
|
|
@@ -7700,7 +7700,7 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
7700
7700
|
} = rendererInternals;
|
|
7701
7701
|
const hydrate = (vnode, container) => {
|
|
7702
7702
|
if (!container.hasChildNodes()) {
|
|
7703
|
-
warn(
|
|
7703
|
+
warn$1(
|
|
7704
7704
|
`Attempting to hydrate existing markup but container is empty. Performing full mount instead.`
|
|
7705
7705
|
);
|
|
7706
7706
|
patch(null, vnode, container);
|
|
@@ -7760,7 +7760,7 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
7760
7760
|
} else {
|
|
7761
7761
|
if (node.data !== vnode.children) {
|
|
7762
7762
|
hasMismatch = true;
|
|
7763
|
-
warn(
|
|
7763
|
+
warn$1(
|
|
7764
7764
|
`Hydration text mismatch in`,
|
|
7765
7765
|
node.parentNode,
|
|
7766
7766
|
`
|
|
@@ -7895,7 +7895,7 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
7895
7895
|
hydrateNode
|
|
7896
7896
|
);
|
|
7897
7897
|
} else {
|
|
7898
|
-
warn("Invalid HostVNode type:", type, `(${typeof type})`);
|
|
7898
|
+
warn$1("Invalid HostVNode type:", type, `(${typeof type})`);
|
|
7899
7899
|
}
|
|
7900
7900
|
}
|
|
7901
7901
|
if (ref != null) {
|
|
@@ -7936,7 +7936,7 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
7936
7936
|
while (next) {
|
|
7937
7937
|
hasMismatch = true;
|
|
7938
7938
|
if (!hasWarned) {
|
|
7939
|
-
warn(
|
|
7939
|
+
warn$1(
|
|
7940
7940
|
`Hydration children mismatch on`,
|
|
7941
7941
|
el,
|
|
7942
7942
|
`
|
|
@@ -7951,7 +7951,7 @@ Server rendered element contains more child nodes than client vdom.`
|
|
|
7951
7951
|
} else if (shapeFlag & 8) {
|
|
7952
7952
|
if (el.textContent !== vnode.children) {
|
|
7953
7953
|
hasMismatch = true;
|
|
7954
|
-
warn(
|
|
7954
|
+
warn$1(
|
|
7955
7955
|
`Hydration text content mismatch on`,
|
|
7956
7956
|
el,
|
|
7957
7957
|
`
|
|
@@ -8020,7 +8020,7 @@ Server rendered element contains more child nodes than client vdom.`
|
|
|
8020
8020
|
} else {
|
|
8021
8021
|
hasMismatch = true;
|
|
8022
8022
|
if (!hasWarned) {
|
|
8023
|
-
warn(
|
|
8023
|
+
warn$1(
|
|
8024
8024
|
`Hydration children mismatch on`,
|
|
8025
8025
|
container,
|
|
8026
8026
|
`
|
|
@@ -8067,7 +8067,7 @@ Server rendered element contains fewer child nodes than client vdom.`
|
|
|
8067
8067
|
};
|
|
8068
8068
|
const handleMismatch = (node, vnode, parentComponent, parentSuspense, slotScopeIds, isFragment) => {
|
|
8069
8069
|
hasMismatch = true;
|
|
8070
|
-
warn(
|
|
8070
|
+
warn$1(
|
|
8071
8071
|
`Hydration node mismatch:
|
|
8072
8072
|
- rendered on server:`,
|
|
8073
8073
|
node,
|
|
@@ -8145,9 +8145,9 @@ Server rendered element contains fewer child nodes than client vdom.`
|
|
|
8145
8145
|
let actual;
|
|
8146
8146
|
let expected;
|
|
8147
8147
|
if (key === "class") {
|
|
8148
|
-
actual = el.getAttribute("class");
|
|
8149
|
-
expected = normalizeClass(clientValue);
|
|
8150
|
-
if (actual
|
|
8148
|
+
actual = toClassSet(el.getAttribute("class") || "");
|
|
8149
|
+
expected = toClassSet(normalizeClass(clientValue));
|
|
8150
|
+
if (!isSetEqual(actual, expected)) {
|
|
8151
8151
|
mismatchType = mismatchKey = `class`;
|
|
8152
8152
|
}
|
|
8153
8153
|
} else if (key === "style") {
|
|
@@ -8166,7 +8166,7 @@ Server rendered element contains fewer child nodes than client vdom.`
|
|
|
8166
8166
|
}
|
|
8167
8167
|
if (mismatchType) {
|
|
8168
8168
|
const format = (v) => v === false ? `(not rendered)` : `${mismatchKey}="${v}"`;
|
|
8169
|
-
warn(
|
|
8169
|
+
warn$1(
|
|
8170
8170
|
`Hydration ${mismatchType} mismatch on`,
|
|
8171
8171
|
el,
|
|
8172
8172
|
`
|
|
@@ -8179,6 +8179,20 @@ Server rendered element contains fewer child nodes than client vdom.`
|
|
|
8179
8179
|
}
|
|
8180
8180
|
return false;
|
|
8181
8181
|
}
|
|
8182
|
+
function toClassSet(str) {
|
|
8183
|
+
return new Set(str.trim().split(/\s+/));
|
|
8184
|
+
}
|
|
8185
|
+
function isSetEqual(a, b) {
|
|
8186
|
+
if (a.size !== b.size) {
|
|
8187
|
+
return false;
|
|
8188
|
+
}
|
|
8189
|
+
for (const s of a) {
|
|
8190
|
+
if (!b.has(s)) {
|
|
8191
|
+
return false;
|
|
8192
|
+
}
|
|
8193
|
+
}
|
|
8194
|
+
return true;
|
|
8195
|
+
}
|
|
8182
8196
|
|
|
8183
8197
|
let supported;
|
|
8184
8198
|
let perf;
|
|
@@ -8231,7 +8245,7 @@ Server rendered element contains fewer child nodes than client vdom.`
|
|
|
8231
8245
|
const target = getGlobalThis();
|
|
8232
8246
|
target.__VUE__ = true;
|
|
8233
8247
|
{
|
|
8234
|
-
setDevtoolsHook(target.__VUE_DEVTOOLS_GLOBAL_HOOK__, target);
|
|
8248
|
+
setDevtoolsHook$1(target.__VUE_DEVTOOLS_GLOBAL_HOOK__, target);
|
|
8235
8249
|
}
|
|
8236
8250
|
const {
|
|
8237
8251
|
insert: hostInsert,
|
|
@@ -8340,7 +8354,7 @@ Server rendered element contains fewer child nodes than client vdom.`
|
|
|
8340
8354
|
internals
|
|
8341
8355
|
);
|
|
8342
8356
|
} else {
|
|
8343
|
-
warn("Invalid VNode type:", type, `(${typeof type})`);
|
|
8357
|
+
warn$1("Invalid VNode type:", type, `(${typeof type})`);
|
|
8344
8358
|
}
|
|
8345
8359
|
}
|
|
8346
8360
|
if (ref != null && parentComponent) {
|
|
@@ -9334,7 +9348,7 @@ Server rendered element contains fewer child nodes than client vdom.`
|
|
|
9334
9348
|
const nextChild = c2[i] = optimized ? cloneIfMounted(c2[i]) : normalizeVNode(c2[i]);
|
|
9335
9349
|
if (nextChild.key != null) {
|
|
9336
9350
|
if (keyToNewIndexMap.has(nextChild.key)) {
|
|
9337
|
-
warn(
|
|
9351
|
+
warn$1(
|
|
9338
9352
|
`Duplicate keys found during update:`,
|
|
9339
9353
|
JSON.stringify(nextChild.key),
|
|
9340
9354
|
`Make sure keys are unique.`
|
|
@@ -9772,14 +9786,14 @@ Server rendered element contains fewer child nodes than client vdom.`
|
|
|
9772
9786
|
const targetSelector = props && props.to;
|
|
9773
9787
|
if (isString(targetSelector)) {
|
|
9774
9788
|
if (!select) {
|
|
9775
|
-
warn(
|
|
9789
|
+
warn$1(
|
|
9776
9790
|
`Current renderer does not support string target for Teleports. (missing querySelector renderer option)`
|
|
9777
9791
|
);
|
|
9778
9792
|
return null;
|
|
9779
9793
|
} else {
|
|
9780
9794
|
const target = select(targetSelector);
|
|
9781
9795
|
if (!target) {
|
|
9782
|
-
warn(
|
|
9796
|
+
warn$1(
|
|
9783
9797
|
`Failed to locate Teleport target with selector "${targetSelector}". Note the target element must exist before the component is mounted - i.e. the target cannot be rendered by the component itself, and ideally should be outside of the entire Vue component tree.`
|
|
9784
9798
|
);
|
|
9785
9799
|
}
|
|
@@ -9787,7 +9801,7 @@ Server rendered element contains fewer child nodes than client vdom.`
|
|
|
9787
9801
|
}
|
|
9788
9802
|
} else {
|
|
9789
9803
|
if (!targetSelector && !isTeleportDisabled(props)) {
|
|
9790
|
-
warn(`Invalid Teleport target: ${targetSelector}`);
|
|
9804
|
+
warn$1(`Invalid Teleport target: ${targetSelector}`);
|
|
9791
9805
|
}
|
|
9792
9806
|
return targetSelector;
|
|
9793
9807
|
}
|
|
@@ -9823,7 +9837,7 @@ Server rendered element contains fewer child nodes than client vdom.`
|
|
|
9823
9837
|
namespace = "mathml";
|
|
9824
9838
|
}
|
|
9825
9839
|
} else if (!disabled) {
|
|
9826
|
-
warn("Invalid Teleport target on mount:", target, `(${typeof target})`);
|
|
9840
|
+
warn$1("Invalid Teleport target on mount:", target, `(${typeof target})`);
|
|
9827
9841
|
}
|
|
9828
9842
|
const mount = (container2, anchor2) => {
|
|
9829
9843
|
if (shapeFlag & 16) {
|
|
@@ -9910,7 +9924,7 @@ Server rendered element contains fewer child nodes than client vdom.`
|
|
|
9910
9924
|
0
|
|
9911
9925
|
);
|
|
9912
9926
|
} else {
|
|
9913
|
-
warn(
|
|
9927
|
+
warn$1(
|
|
9914
9928
|
"Invalid Teleport target on update:",
|
|
9915
9929
|
target,
|
|
9916
9930
|
`(${typeof target})`
|
|
@@ -10211,7 +10225,7 @@ Server rendered element contains fewer child nodes than client vdom.`
|
|
|
10211
10225
|
vnode.shapeFlag |= isString(children) ? 8 : 16;
|
|
10212
10226
|
}
|
|
10213
10227
|
if (vnode.key !== vnode.key) {
|
|
10214
|
-
warn(`VNode created with invalid key (NaN). VNode type:`, vnode.type);
|
|
10228
|
+
warn$1(`VNode created with invalid key (NaN). VNode type:`, vnode.type);
|
|
10215
10229
|
}
|
|
10216
10230
|
if (isBlockTreeEnabled > 0 && // avoid a block node from tracking itself
|
|
10217
10231
|
!isBlockNode && // has current parent block
|
|
@@ -10234,7 +10248,7 @@ Server rendered element contains fewer child nodes than client vdom.`
|
|
|
10234
10248
|
function _createVNode(type, props = null, children = null, patchFlag = 0, dynamicProps = null, isBlockNode = false) {
|
|
10235
10249
|
if (!type || type === NULL_DYNAMIC_COMPONENT) {
|
|
10236
10250
|
if (!type) {
|
|
10237
|
-
warn(`Invalid vnode type when creating vnode: ${type}.`);
|
|
10251
|
+
warn$1(`Invalid vnode type when creating vnode: ${type}.`);
|
|
10238
10252
|
}
|
|
10239
10253
|
type = Comment;
|
|
10240
10254
|
}
|
|
@@ -10280,7 +10294,7 @@ Server rendered element contains fewer child nodes than client vdom.`
|
|
|
10280
10294
|
const shapeFlag = isString(type) ? 1 : isSuspense(type) ? 128 : isTeleport(type) ? 64 : isObject(type) ? 4 : isFunction(type) ? 2 : 0;
|
|
10281
10295
|
if (shapeFlag & 4 && isProxy(type)) {
|
|
10282
10296
|
type = toRaw(type);
|
|
10283
|
-
warn(
|
|
10297
|
+
warn$1(
|
|
10284
10298
|
`Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with \`markRaw\` or using \`shallowRef\` instead of \`ref\`.`,
|
|
10285
10299
|
`
|
|
10286
10300
|
Component that was made reactive: `,
|
|
@@ -10581,7 +10595,7 @@ Component that was made reactive: `,
|
|
|
10581
10595
|
function validateComponentName(name, config) {
|
|
10582
10596
|
const appIsNativeTag = config.isNativeTag || NO;
|
|
10583
10597
|
if (isBuiltInTag(name) || appIsNativeTag(name)) {
|
|
10584
|
-
warn(
|
|
10598
|
+
warn$1(
|
|
10585
10599
|
"Do not use built-in or reserved HTML elements as component id: " + name
|
|
10586
10600
|
);
|
|
10587
10601
|
}
|
|
@@ -10620,7 +10634,7 @@ Component that was made reactive: `,
|
|
|
10620
10634
|
}
|
|
10621
10635
|
}
|
|
10622
10636
|
if (Component.compilerOptions && isRuntimeOnly()) {
|
|
10623
|
-
warn(
|
|
10637
|
+
warn$1(
|
|
10624
10638
|
`"compilerOptions" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.`
|
|
10625
10639
|
);
|
|
10626
10640
|
}
|
|
@@ -10655,7 +10669,7 @@ Component that was made reactive: `,
|
|
|
10655
10669
|
instance.asyncDep = setupResult;
|
|
10656
10670
|
if (!instance.suspense) {
|
|
10657
10671
|
const name = (_a = Component.name) != null ? _a : "Anonymous";
|
|
10658
|
-
warn(
|
|
10672
|
+
warn$1(
|
|
10659
10673
|
`Component <${name}>: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered.`
|
|
10660
10674
|
);
|
|
10661
10675
|
}
|
|
@@ -10674,7 +10688,7 @@ Component that was made reactive: `,
|
|
|
10674
10688
|
}
|
|
10675
10689
|
} else if (isObject(setupResult)) {
|
|
10676
10690
|
if (isVNode(setupResult)) {
|
|
10677
|
-
warn(
|
|
10691
|
+
warn$1(
|
|
10678
10692
|
`setup() should not return VNodes directly - return a render function instead.`
|
|
10679
10693
|
);
|
|
10680
10694
|
}
|
|
@@ -10686,7 +10700,7 @@ Component that was made reactive: `,
|
|
|
10686
10700
|
exposeSetupStateOnRenderContext(instance);
|
|
10687
10701
|
}
|
|
10688
10702
|
} else if (setupResult !== void 0) {
|
|
10689
|
-
warn(
|
|
10703
|
+
warn$1(
|
|
10690
10704
|
`setup() should return an object. Received: ${setupResult === null ? "null" : typeof setupResult}`
|
|
10691
10705
|
);
|
|
10692
10706
|
}
|
|
@@ -10759,12 +10773,12 @@ Component that was made reactive: `,
|
|
|
10759
10773
|
}
|
|
10760
10774
|
if (!Component.render && instance.render === NOOP && !isSSR) {
|
|
10761
10775
|
if (!compile && Component.template) {
|
|
10762
|
-
warn(
|
|
10776
|
+
warn$1(
|
|
10763
10777
|
`Component provided template option but runtime compilation is not supported in this build of Vue.` + (` Use "vue.global.js" instead.` )
|
|
10764
10778
|
/* should not happen */
|
|
10765
10779
|
);
|
|
10766
10780
|
} else {
|
|
10767
|
-
warn(`Component is missing template or render function.`);
|
|
10781
|
+
warn$1(`Component is missing template or render function.`);
|
|
10768
10782
|
}
|
|
10769
10783
|
}
|
|
10770
10784
|
}
|
|
@@ -10778,11 +10792,11 @@ Component that was made reactive: `,
|
|
|
10778
10792
|
return target[key];
|
|
10779
10793
|
},
|
|
10780
10794
|
set() {
|
|
10781
|
-
warn(`setupContext.attrs is readonly.`);
|
|
10795
|
+
warn$1(`setupContext.attrs is readonly.`);
|
|
10782
10796
|
return false;
|
|
10783
10797
|
},
|
|
10784
10798
|
deleteProperty() {
|
|
10785
|
-
warn(`setupContext.attrs is readonly.`);
|
|
10799
|
+
warn$1(`setupContext.attrs is readonly.`);
|
|
10786
10800
|
return false;
|
|
10787
10801
|
}
|
|
10788
10802
|
}
|
|
@@ -10800,7 +10814,7 @@ Component that was made reactive: `,
|
|
|
10800
10814
|
const expose = (exposed) => {
|
|
10801
10815
|
{
|
|
10802
10816
|
if (instance.exposed) {
|
|
10803
|
-
warn(`expose() should be called only once per setup().`);
|
|
10817
|
+
warn$1(`expose() should be called only once per setup().`);
|
|
10804
10818
|
}
|
|
10805
10819
|
if (exposed != null) {
|
|
10806
10820
|
let exposedType = typeof exposed;
|
|
@@ -10812,7 +10826,7 @@ Component that was made reactive: `,
|
|
|
10812
10826
|
}
|
|
10813
10827
|
}
|
|
10814
10828
|
if (exposedType !== "object") {
|
|
10815
|
-
warn(
|
|
10829
|
+
warn$1(
|
|
10816
10830
|
`expose() should be passed a plain object, received ${exposedType}.`
|
|
10817
10831
|
);
|
|
10818
10832
|
}
|
|
@@ -10910,7 +10924,7 @@ Component that was made reactive: `,
|
|
|
10910
10924
|
const ssrContextKey = Symbol.for("v-scx");
|
|
10911
10925
|
const useSSRContext = () => {
|
|
10912
10926
|
{
|
|
10913
|
-
warn(`useSSRContext() is not supported in the global build.`);
|
|
10927
|
+
warn$1(`useSSRContext() is not supported in the global build.`);
|
|
10914
10928
|
}
|
|
10915
10929
|
};
|
|
10916
10930
|
|
|
@@ -11115,8 +11129,11 @@ Component that was made reactive: `,
|
|
|
11115
11129
|
return true;
|
|
11116
11130
|
}
|
|
11117
11131
|
|
|
11118
|
-
const version = "3.4.0-
|
|
11132
|
+
const version = "3.4.0-rc.2";
|
|
11133
|
+
const warn = warn$1 ;
|
|
11119
11134
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
11135
|
+
const devtools = devtools$1 ;
|
|
11136
|
+
const setDevtoolsHook = setDevtoolsHook$1 ;
|
|
11120
11137
|
const ssrUtils = null;
|
|
11121
11138
|
const resolveFilter = resolveFilter$1 ;
|
|
11122
11139
|
const _compatUtils = {
|
|
@@ -12816,7 +12833,7 @@ Component that was made reactive: `,
|
|
|
12816
12833
|
defineProps: defineProps,
|
|
12817
12834
|
defineSSRCustomElement: defineSSRCustomElement,
|
|
12818
12835
|
defineSlots: defineSlots,
|
|
12819
|
-
|
|
12836
|
+
devtools: devtools,
|
|
12820
12837
|
effect: effect,
|
|
12821
12838
|
effectScope: effectScope,
|
|
12822
12839
|
getCurrentInstance: getCurrentInstance,
|