@vue/compat 3.5.25 → 3.5.26
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/README.md +38 -40
- package/dist/vue.cjs.js +404 -352
- package/dist/vue.cjs.prod.js +345 -306
- package/dist/vue.esm-browser.js +398 -346
- package/dist/vue.esm-browser.prod.js +5 -5
- package/dist/vue.esm-bundler.js +398 -346
- package/dist/vue.global.js +371 -319
- package/dist/vue.global.prod.js +5 -5
- package/dist/vue.runtime.esm-browser.js +285 -252
- package/dist/vue.runtime.esm-browser.prod.js +3 -3
- package/dist/vue.runtime.esm-bundler.js +285 -252
- package/dist/vue.runtime.global.js +258 -225
- package/dist/vue.runtime.global.prod.js +3 -3
- package/package.json +2 -2
package/dist/vue.esm-bundler.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compat v3.5.
|
|
2
|
+
* @vue/compat v3.5.26
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -1002,13 +1002,13 @@ function addSub(link) {
|
|
|
1002
1002
|
}
|
|
1003
1003
|
}
|
|
1004
1004
|
const targetMap = /* @__PURE__ */ new WeakMap();
|
|
1005
|
-
const ITERATE_KEY = Symbol(
|
|
1005
|
+
const ITERATE_KEY = /* @__PURE__ */ Symbol(
|
|
1006
1006
|
!!(process.env.NODE_ENV !== "production") ? "Object iterate" : ""
|
|
1007
1007
|
);
|
|
1008
|
-
const MAP_KEY_ITERATE_KEY = Symbol(
|
|
1008
|
+
const MAP_KEY_ITERATE_KEY = /* @__PURE__ */ Symbol(
|
|
1009
1009
|
!!(process.env.NODE_ENV !== "production") ? "Map keys iterate" : ""
|
|
1010
1010
|
);
|
|
1011
|
-
const ARRAY_ITERATE_KEY = Symbol(
|
|
1011
|
+
const ARRAY_ITERATE_KEY = /* @__PURE__ */ Symbol(
|
|
1012
1012
|
!!(process.env.NODE_ENV !== "production") ? "Array iterate" : ""
|
|
1013
1013
|
);
|
|
1014
1014
|
function track(target, type, key) {
|
|
@@ -3394,65 +3394,6 @@ function emit$1(instance, event, args) {
|
|
|
3394
3394
|
return instance.proxy;
|
|
3395
3395
|
}
|
|
3396
3396
|
|
|
3397
|
-
const compatModelEventPrefix = `onModelCompat:`;
|
|
3398
|
-
const warnedTypes = /* @__PURE__ */ new WeakSet();
|
|
3399
|
-
function convertLegacyVModelProps(vnode) {
|
|
3400
|
-
const { type, shapeFlag, props, dynamicProps } = vnode;
|
|
3401
|
-
const comp = type;
|
|
3402
|
-
if (shapeFlag & 6 && props && "modelValue" in props) {
|
|
3403
|
-
if (!isCompatEnabled$1(
|
|
3404
|
-
"COMPONENT_V_MODEL",
|
|
3405
|
-
// this is a special case where we want to use the vnode component's
|
|
3406
|
-
// compat config instead of the current rendering instance (which is the
|
|
3407
|
-
// parent of the component that exposes v-model)
|
|
3408
|
-
{ type }
|
|
3409
|
-
)) {
|
|
3410
|
-
return;
|
|
3411
|
-
}
|
|
3412
|
-
if (!!(process.env.NODE_ENV !== "production") && !warnedTypes.has(comp)) {
|
|
3413
|
-
pushWarningContext(vnode);
|
|
3414
|
-
warnDeprecation$1("COMPONENT_V_MODEL", { type }, comp);
|
|
3415
|
-
popWarningContext();
|
|
3416
|
-
warnedTypes.add(comp);
|
|
3417
|
-
}
|
|
3418
|
-
const model = comp.model || {};
|
|
3419
|
-
applyModelFromMixins(model, comp.mixins);
|
|
3420
|
-
const { prop = "value", event = "input" } = model;
|
|
3421
|
-
if (prop !== "modelValue") {
|
|
3422
|
-
props[prop] = props.modelValue;
|
|
3423
|
-
delete props.modelValue;
|
|
3424
|
-
}
|
|
3425
|
-
if (dynamicProps) {
|
|
3426
|
-
dynamicProps[dynamicProps.indexOf("modelValue")] = prop;
|
|
3427
|
-
}
|
|
3428
|
-
props[compatModelEventPrefix + event] = props["onUpdate:modelValue"];
|
|
3429
|
-
delete props["onUpdate:modelValue"];
|
|
3430
|
-
}
|
|
3431
|
-
}
|
|
3432
|
-
function applyModelFromMixins(model, mixins) {
|
|
3433
|
-
if (mixins) {
|
|
3434
|
-
mixins.forEach((m) => {
|
|
3435
|
-
if (m.model) extend(model, m.model);
|
|
3436
|
-
if (m.mixins) applyModelFromMixins(model, m.mixins);
|
|
3437
|
-
});
|
|
3438
|
-
}
|
|
3439
|
-
}
|
|
3440
|
-
function compatModelEmit(instance, event, args) {
|
|
3441
|
-
if (!isCompatEnabled$1("COMPONENT_V_MODEL", instance)) {
|
|
3442
|
-
return;
|
|
3443
|
-
}
|
|
3444
|
-
const props = instance.vnode.props;
|
|
3445
|
-
const modelHandler = props && props[compatModelEventPrefix + event];
|
|
3446
|
-
if (modelHandler) {
|
|
3447
|
-
callWithErrorHandling(
|
|
3448
|
-
modelHandler,
|
|
3449
|
-
instance,
|
|
3450
|
-
6,
|
|
3451
|
-
args
|
|
3452
|
-
);
|
|
3453
|
-
}
|
|
3454
|
-
}
|
|
3455
|
-
|
|
3456
3397
|
let currentRenderingInstance = null;
|
|
3457
3398
|
let currentScopeId = null;
|
|
3458
3399
|
function setCurrentRenderingInstance(instance) {
|
|
@@ -3603,7 +3544,180 @@ function invokeDirectiveHook(vnode, prevVNode, instance, name) {
|
|
|
3603
3544
|
}
|
|
3604
3545
|
}
|
|
3605
3546
|
|
|
3606
|
-
|
|
3547
|
+
function provide(key, value) {
|
|
3548
|
+
if (!!(process.env.NODE_ENV !== "production")) {
|
|
3549
|
+
if (!currentInstance || currentInstance.isMounted) {
|
|
3550
|
+
warn$1(`provide() can only be used inside setup().`);
|
|
3551
|
+
}
|
|
3552
|
+
}
|
|
3553
|
+
if (currentInstance) {
|
|
3554
|
+
let provides = currentInstance.provides;
|
|
3555
|
+
const parentProvides = currentInstance.parent && currentInstance.parent.provides;
|
|
3556
|
+
if (parentProvides === provides) {
|
|
3557
|
+
provides = currentInstance.provides = Object.create(parentProvides);
|
|
3558
|
+
}
|
|
3559
|
+
provides[key] = value;
|
|
3560
|
+
}
|
|
3561
|
+
}
|
|
3562
|
+
function inject(key, defaultValue, treatDefaultAsFactory = false) {
|
|
3563
|
+
const instance = getCurrentInstance();
|
|
3564
|
+
if (instance || currentApp) {
|
|
3565
|
+
let provides = currentApp ? currentApp._context.provides : instance ? instance.parent == null || instance.ce ? instance.vnode.appContext && instance.vnode.appContext.provides : instance.parent.provides : void 0;
|
|
3566
|
+
if (provides && key in provides) {
|
|
3567
|
+
return provides[key];
|
|
3568
|
+
} else if (arguments.length > 1) {
|
|
3569
|
+
return treatDefaultAsFactory && isFunction(defaultValue) ? defaultValue.call(instance && instance.proxy) : defaultValue;
|
|
3570
|
+
} else if (!!(process.env.NODE_ENV !== "production")) {
|
|
3571
|
+
warn$1(`injection "${String(key)}" not found.`);
|
|
3572
|
+
}
|
|
3573
|
+
} else if (!!(process.env.NODE_ENV !== "production")) {
|
|
3574
|
+
warn$1(`inject() can only be used inside setup() or functional components.`);
|
|
3575
|
+
}
|
|
3576
|
+
}
|
|
3577
|
+
function hasInjectionContext() {
|
|
3578
|
+
return !!(getCurrentInstance() || currentApp);
|
|
3579
|
+
}
|
|
3580
|
+
|
|
3581
|
+
const ssrContextKey = /* @__PURE__ */ Symbol.for("v-scx");
|
|
3582
|
+
const useSSRContext = () => {
|
|
3583
|
+
{
|
|
3584
|
+
const ctx = inject(ssrContextKey);
|
|
3585
|
+
if (!ctx) {
|
|
3586
|
+
!!(process.env.NODE_ENV !== "production") && warn$1(
|
|
3587
|
+
`Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build.`
|
|
3588
|
+
);
|
|
3589
|
+
}
|
|
3590
|
+
return ctx;
|
|
3591
|
+
}
|
|
3592
|
+
};
|
|
3593
|
+
|
|
3594
|
+
function watchEffect(effect, options) {
|
|
3595
|
+
return doWatch(effect, null, options);
|
|
3596
|
+
}
|
|
3597
|
+
function watchPostEffect(effect, options) {
|
|
3598
|
+
return doWatch(
|
|
3599
|
+
effect,
|
|
3600
|
+
null,
|
|
3601
|
+
!!(process.env.NODE_ENV !== "production") ? extend({}, options, { flush: "post" }) : { flush: "post" }
|
|
3602
|
+
);
|
|
3603
|
+
}
|
|
3604
|
+
function watchSyncEffect(effect, options) {
|
|
3605
|
+
return doWatch(
|
|
3606
|
+
effect,
|
|
3607
|
+
null,
|
|
3608
|
+
!!(process.env.NODE_ENV !== "production") ? extend({}, options, { flush: "sync" }) : { flush: "sync" }
|
|
3609
|
+
);
|
|
3610
|
+
}
|
|
3611
|
+
function watch(source, cb, options) {
|
|
3612
|
+
if (!!(process.env.NODE_ENV !== "production") && !isFunction(cb)) {
|
|
3613
|
+
warn$1(
|
|
3614
|
+
`\`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.`
|
|
3615
|
+
);
|
|
3616
|
+
}
|
|
3617
|
+
return doWatch(source, cb, options);
|
|
3618
|
+
}
|
|
3619
|
+
function doWatch(source, cb, options = EMPTY_OBJ) {
|
|
3620
|
+
const { immediate, deep, flush, once } = options;
|
|
3621
|
+
if (!!(process.env.NODE_ENV !== "production") && !cb) {
|
|
3622
|
+
if (immediate !== void 0) {
|
|
3623
|
+
warn$1(
|
|
3624
|
+
`watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.`
|
|
3625
|
+
);
|
|
3626
|
+
}
|
|
3627
|
+
if (deep !== void 0) {
|
|
3628
|
+
warn$1(
|
|
3629
|
+
`watch() "deep" option is only respected when using the watch(source, callback, options?) signature.`
|
|
3630
|
+
);
|
|
3631
|
+
}
|
|
3632
|
+
if (once !== void 0) {
|
|
3633
|
+
warn$1(
|
|
3634
|
+
`watch() "once" option is only respected when using the watch(source, callback, options?) signature.`
|
|
3635
|
+
);
|
|
3636
|
+
}
|
|
3637
|
+
}
|
|
3638
|
+
const baseWatchOptions = extend({}, options);
|
|
3639
|
+
if (!!(process.env.NODE_ENV !== "production")) baseWatchOptions.onWarn = warn$1;
|
|
3640
|
+
const runsImmediately = cb && immediate || !cb && flush !== "post";
|
|
3641
|
+
let ssrCleanup;
|
|
3642
|
+
if (isInSSRComponentSetup) {
|
|
3643
|
+
if (flush === "sync") {
|
|
3644
|
+
const ctx = useSSRContext();
|
|
3645
|
+
ssrCleanup = ctx.__watcherHandles || (ctx.__watcherHandles = []);
|
|
3646
|
+
} else if (!runsImmediately) {
|
|
3647
|
+
const watchStopHandle = () => {
|
|
3648
|
+
};
|
|
3649
|
+
watchStopHandle.stop = NOOP;
|
|
3650
|
+
watchStopHandle.resume = NOOP;
|
|
3651
|
+
watchStopHandle.pause = NOOP;
|
|
3652
|
+
return watchStopHandle;
|
|
3653
|
+
}
|
|
3654
|
+
}
|
|
3655
|
+
const instance = currentInstance;
|
|
3656
|
+
baseWatchOptions.call = (fn, type, args) => callWithAsyncErrorHandling(fn, instance, type, args);
|
|
3657
|
+
let isPre = false;
|
|
3658
|
+
if (flush === "post") {
|
|
3659
|
+
baseWatchOptions.scheduler = (job) => {
|
|
3660
|
+
queuePostRenderEffect(job, instance && instance.suspense);
|
|
3661
|
+
};
|
|
3662
|
+
} else if (flush !== "sync") {
|
|
3663
|
+
isPre = true;
|
|
3664
|
+
baseWatchOptions.scheduler = (job, isFirstRun) => {
|
|
3665
|
+
if (isFirstRun) {
|
|
3666
|
+
job();
|
|
3667
|
+
} else {
|
|
3668
|
+
queueJob(job);
|
|
3669
|
+
}
|
|
3670
|
+
};
|
|
3671
|
+
}
|
|
3672
|
+
baseWatchOptions.augmentJob = (job) => {
|
|
3673
|
+
if (cb) {
|
|
3674
|
+
job.flags |= 4;
|
|
3675
|
+
}
|
|
3676
|
+
if (isPre) {
|
|
3677
|
+
job.flags |= 2;
|
|
3678
|
+
if (instance) {
|
|
3679
|
+
job.id = instance.uid;
|
|
3680
|
+
job.i = instance;
|
|
3681
|
+
}
|
|
3682
|
+
}
|
|
3683
|
+
};
|
|
3684
|
+
const watchHandle = watch$1(source, cb, baseWatchOptions);
|
|
3685
|
+
if (isInSSRComponentSetup) {
|
|
3686
|
+
if (ssrCleanup) {
|
|
3687
|
+
ssrCleanup.push(watchHandle);
|
|
3688
|
+
} else if (runsImmediately) {
|
|
3689
|
+
watchHandle();
|
|
3690
|
+
}
|
|
3691
|
+
}
|
|
3692
|
+
return watchHandle;
|
|
3693
|
+
}
|
|
3694
|
+
function instanceWatch(source, value, options) {
|
|
3695
|
+
const publicThis = this.proxy;
|
|
3696
|
+
const getter = isString(source) ? source.includes(".") ? createPathGetter(publicThis, source) : () => publicThis[source] : source.bind(publicThis, publicThis);
|
|
3697
|
+
let cb;
|
|
3698
|
+
if (isFunction(value)) {
|
|
3699
|
+
cb = value;
|
|
3700
|
+
} else {
|
|
3701
|
+
cb = value.handler;
|
|
3702
|
+
options = value;
|
|
3703
|
+
}
|
|
3704
|
+
const reset = setCurrentInstance(this);
|
|
3705
|
+
const res = doWatch(getter, cb.bind(publicThis), options);
|
|
3706
|
+
reset();
|
|
3707
|
+
return res;
|
|
3708
|
+
}
|
|
3709
|
+
function createPathGetter(ctx, path) {
|
|
3710
|
+
const segments = path.split(".");
|
|
3711
|
+
return () => {
|
|
3712
|
+
let cur = ctx;
|
|
3713
|
+
for (let i = 0; i < segments.length && cur; i++) {
|
|
3714
|
+
cur = cur[segments[i]];
|
|
3715
|
+
}
|
|
3716
|
+
return cur;
|
|
3717
|
+
};
|
|
3718
|
+
}
|
|
3719
|
+
|
|
3720
|
+
const TeleportEndKey = /* @__PURE__ */ Symbol("_vte");
|
|
3607
3721
|
const isTeleport = (type) => type.__isTeleport;
|
|
3608
3722
|
const isTeleportDisabled = (props) => props && (props.disabled || props.disabled === "");
|
|
3609
3723
|
const isTeleportDeferred = (props) => props && (props.defer || props.defer === "");
|
|
@@ -3963,8 +4077,8 @@ function prepareAnchor(target, vnode, createText, insert) {
|
|
|
3963
4077
|
return targetAnchor;
|
|
3964
4078
|
}
|
|
3965
4079
|
|
|
3966
|
-
const leaveCbKey = Symbol("_leaveCb");
|
|
3967
|
-
const enterCbKey$1 = Symbol("_enterCb");
|
|
4080
|
+
const leaveCbKey = /* @__PURE__ */ Symbol("_leaveCb");
|
|
4081
|
+
const enterCbKey$1 = /* @__PURE__ */ Symbol("_enterCb");
|
|
3968
4082
|
function useTransitionState() {
|
|
3969
4083
|
const state = {
|
|
3970
4084
|
isMounted: false,
|
|
@@ -5516,7 +5630,9 @@ const KeepAliveImpl = {
|
|
|
5516
5630
|
}
|
|
5517
5631
|
function pruneCache(filter) {
|
|
5518
5632
|
cache.forEach((vnode, key) => {
|
|
5519
|
-
const name = getComponentName(
|
|
5633
|
+
const name = getComponentName(
|
|
5634
|
+
isAsyncWrapper(vnode) ? vnode.type.__asyncResolved || {} : vnode.type
|
|
5635
|
+
);
|
|
5520
5636
|
if (name && !filter(name)) {
|
|
5521
5637
|
pruneCacheEntry(key);
|
|
5522
5638
|
}
|
|
@@ -5783,7 +5899,7 @@ const FILTERS = "filters";
|
|
|
5783
5899
|
function resolveComponent(name, maybeSelfReference) {
|
|
5784
5900
|
return resolveAsset(COMPONENTS, name, true, maybeSelfReference) || name;
|
|
5785
5901
|
}
|
|
5786
|
-
const NULL_DYNAMIC_COMPONENT = Symbol.for("v-ndc");
|
|
5902
|
+
const NULL_DYNAMIC_COMPONENT = /* @__PURE__ */ Symbol.for("v-ndc");
|
|
5787
5903
|
function resolveDynamicComponent(component) {
|
|
5788
5904
|
if (isString(component)) {
|
|
5789
5905
|
return resolveAsset(COMPONENTS, component, false) || component;
|
|
@@ -7350,7 +7466,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
|
|
|
7350
7466
|
return vm;
|
|
7351
7467
|
}
|
|
7352
7468
|
}
|
|
7353
|
-
Vue.version = `2.6.14-compat:${"3.5.
|
|
7469
|
+
Vue.version = `2.6.14-compat:${"3.5.26"}`;
|
|
7354
7470
|
Vue.config = singletonApp.config;
|
|
7355
7471
|
Vue.use = (plugin, ...options) => {
|
|
7356
7472
|
if (plugin && isFunction(plugin.install)) {
|
|
@@ -7929,177 +8045,70 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
7929
8045
|
}
|
|
7930
8046
|
let currentApp = null;
|
|
7931
8047
|
|
|
7932
|
-
|
|
7933
|
-
|
|
7934
|
-
|
|
7935
|
-
|
|
8048
|
+
const compatModelEventPrefix = `onModelCompat:`;
|
|
8049
|
+
const warnedTypes = /* @__PURE__ */ new WeakSet();
|
|
8050
|
+
function convertLegacyVModelProps(vnode) {
|
|
8051
|
+
const { type, shapeFlag, props, dynamicProps } = vnode;
|
|
8052
|
+
const comp = type;
|
|
8053
|
+
if (shapeFlag & 6 && props && "modelValue" in props) {
|
|
8054
|
+
if (!isCompatEnabled$1(
|
|
8055
|
+
"COMPONENT_V_MODEL",
|
|
8056
|
+
// this is a special case where we want to use the vnode component's
|
|
8057
|
+
// compat config instead of the current rendering instance (which is the
|
|
8058
|
+
// parent of the component that exposes v-model)
|
|
8059
|
+
{ type }
|
|
8060
|
+
)) {
|
|
8061
|
+
return;
|
|
7936
8062
|
}
|
|
7937
|
-
|
|
7938
|
-
|
|
7939
|
-
|
|
7940
|
-
|
|
7941
|
-
|
|
7942
|
-
|
|
8063
|
+
if (!!(process.env.NODE_ENV !== "production") && !warnedTypes.has(comp)) {
|
|
8064
|
+
pushWarningContext(vnode);
|
|
8065
|
+
warnDeprecation$1(
|
|
8066
|
+
"COMPONENT_V_MODEL",
|
|
8067
|
+
{
|
|
8068
|
+
type,
|
|
8069
|
+
appContext: vnode.ctx && vnode.ctx.appContext || createAppContext()
|
|
8070
|
+
},
|
|
8071
|
+
comp
|
|
8072
|
+
);
|
|
8073
|
+
popWarningContext();
|
|
8074
|
+
warnedTypes.add(comp);
|
|
7943
8075
|
}
|
|
7944
|
-
|
|
7945
|
-
|
|
7946
|
-
}
|
|
7947
|
-
|
|
7948
|
-
|
|
7949
|
-
|
|
7950
|
-
let provides = currentApp ? currentApp._context.provides : instance ? instance.parent == null || instance.ce ? instance.vnode.appContext && instance.vnode.appContext.provides : instance.parent.provides : void 0;
|
|
7951
|
-
if (provides && key in provides) {
|
|
7952
|
-
return provides[key];
|
|
7953
|
-
} else if (arguments.length > 1) {
|
|
7954
|
-
return treatDefaultAsFactory && isFunction(defaultValue) ? defaultValue.call(instance && instance.proxy) : defaultValue;
|
|
7955
|
-
} else if (!!(process.env.NODE_ENV !== "production")) {
|
|
7956
|
-
warn$1(`injection "${String(key)}" not found.`);
|
|
8076
|
+
const model = comp.model || {};
|
|
8077
|
+
applyModelFromMixins(model, comp.mixins);
|
|
8078
|
+
const { prop = "value", event = "input" } = model;
|
|
8079
|
+
if (prop !== "modelValue") {
|
|
8080
|
+
props[prop] = props.modelValue;
|
|
8081
|
+
delete props.modelValue;
|
|
7957
8082
|
}
|
|
7958
|
-
|
|
7959
|
-
|
|
7960
|
-
}
|
|
7961
|
-
}
|
|
7962
|
-
function hasInjectionContext() {
|
|
7963
|
-
return !!(getCurrentInstance() || currentApp);
|
|
7964
|
-
}
|
|
7965
|
-
|
|
7966
|
-
const ssrContextKey = Symbol.for("v-scx");
|
|
7967
|
-
const useSSRContext = () => {
|
|
7968
|
-
{
|
|
7969
|
-
const ctx = inject(ssrContextKey);
|
|
7970
|
-
if (!ctx) {
|
|
7971
|
-
!!(process.env.NODE_ENV !== "production") && warn$1(
|
|
7972
|
-
`Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build.`
|
|
7973
|
-
);
|
|
8083
|
+
if (dynamicProps) {
|
|
8084
|
+
dynamicProps[dynamicProps.indexOf("modelValue")] = prop;
|
|
7974
8085
|
}
|
|
7975
|
-
|
|
8086
|
+
props[compatModelEventPrefix + event] = props["onUpdate:modelValue"];
|
|
8087
|
+
delete props["onUpdate:modelValue"];
|
|
7976
8088
|
}
|
|
7977
|
-
};
|
|
7978
|
-
|
|
7979
|
-
function watchEffect(effect, options) {
|
|
7980
|
-
return doWatch(effect, null, options);
|
|
7981
|
-
}
|
|
7982
|
-
function watchPostEffect(effect, options) {
|
|
7983
|
-
return doWatch(
|
|
7984
|
-
effect,
|
|
7985
|
-
null,
|
|
7986
|
-
!!(process.env.NODE_ENV !== "production") ? extend({}, options, { flush: "post" }) : { flush: "post" }
|
|
7987
|
-
);
|
|
7988
8089
|
}
|
|
7989
|
-
function
|
|
7990
|
-
|
|
7991
|
-
|
|
7992
|
-
|
|
7993
|
-
|
|
7994
|
-
|
|
7995
|
-
}
|
|
7996
|
-
function watch(source, cb, options) {
|
|
7997
|
-
if (!!(process.env.NODE_ENV !== "production") && !isFunction(cb)) {
|
|
7998
|
-
warn$1(
|
|
7999
|
-
`\`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.`
|
|
8000
|
-
);
|
|
8090
|
+
function applyModelFromMixins(model, mixins) {
|
|
8091
|
+
if (mixins) {
|
|
8092
|
+
mixins.forEach((m) => {
|
|
8093
|
+
if (m.model) extend(model, m.model);
|
|
8094
|
+
if (m.mixins) applyModelFromMixins(model, m.mixins);
|
|
8095
|
+
});
|
|
8001
8096
|
}
|
|
8002
|
-
return doWatch(source, cb, options);
|
|
8003
8097
|
}
|
|
8004
|
-
function
|
|
8005
|
-
|
|
8006
|
-
|
|
8007
|
-
if (immediate !== void 0) {
|
|
8008
|
-
warn$1(
|
|
8009
|
-
`watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.`
|
|
8010
|
-
);
|
|
8011
|
-
}
|
|
8012
|
-
if (deep !== void 0) {
|
|
8013
|
-
warn$1(
|
|
8014
|
-
`watch() "deep" option is only respected when using the watch(source, callback, options?) signature.`
|
|
8015
|
-
);
|
|
8016
|
-
}
|
|
8017
|
-
if (once !== void 0) {
|
|
8018
|
-
warn$1(
|
|
8019
|
-
`watch() "once" option is only respected when using the watch(source, callback, options?) signature.`
|
|
8020
|
-
);
|
|
8021
|
-
}
|
|
8022
|
-
}
|
|
8023
|
-
const baseWatchOptions = extend({}, options);
|
|
8024
|
-
if (!!(process.env.NODE_ENV !== "production")) baseWatchOptions.onWarn = warn$1;
|
|
8025
|
-
const runsImmediately = cb && immediate || !cb && flush !== "post";
|
|
8026
|
-
let ssrCleanup;
|
|
8027
|
-
if (isInSSRComponentSetup) {
|
|
8028
|
-
if (flush === "sync") {
|
|
8029
|
-
const ctx = useSSRContext();
|
|
8030
|
-
ssrCleanup = ctx.__watcherHandles || (ctx.__watcherHandles = []);
|
|
8031
|
-
} else if (!runsImmediately) {
|
|
8032
|
-
const watchStopHandle = () => {
|
|
8033
|
-
};
|
|
8034
|
-
watchStopHandle.stop = NOOP;
|
|
8035
|
-
watchStopHandle.resume = NOOP;
|
|
8036
|
-
watchStopHandle.pause = NOOP;
|
|
8037
|
-
return watchStopHandle;
|
|
8038
|
-
}
|
|
8039
|
-
}
|
|
8040
|
-
const instance = currentInstance;
|
|
8041
|
-
baseWatchOptions.call = (fn, type, args) => callWithAsyncErrorHandling(fn, instance, type, args);
|
|
8042
|
-
let isPre = false;
|
|
8043
|
-
if (flush === "post") {
|
|
8044
|
-
baseWatchOptions.scheduler = (job) => {
|
|
8045
|
-
queuePostRenderEffect(job, instance && instance.suspense);
|
|
8046
|
-
};
|
|
8047
|
-
} else if (flush !== "sync") {
|
|
8048
|
-
isPre = true;
|
|
8049
|
-
baseWatchOptions.scheduler = (job, isFirstRun) => {
|
|
8050
|
-
if (isFirstRun) {
|
|
8051
|
-
job();
|
|
8052
|
-
} else {
|
|
8053
|
-
queueJob(job);
|
|
8054
|
-
}
|
|
8055
|
-
};
|
|
8056
|
-
}
|
|
8057
|
-
baseWatchOptions.augmentJob = (job) => {
|
|
8058
|
-
if (cb) {
|
|
8059
|
-
job.flags |= 4;
|
|
8060
|
-
}
|
|
8061
|
-
if (isPre) {
|
|
8062
|
-
job.flags |= 2;
|
|
8063
|
-
if (instance) {
|
|
8064
|
-
job.id = instance.uid;
|
|
8065
|
-
job.i = instance;
|
|
8066
|
-
}
|
|
8067
|
-
}
|
|
8068
|
-
};
|
|
8069
|
-
const watchHandle = watch$1(source, cb, baseWatchOptions);
|
|
8070
|
-
if (isInSSRComponentSetup) {
|
|
8071
|
-
if (ssrCleanup) {
|
|
8072
|
-
ssrCleanup.push(watchHandle);
|
|
8073
|
-
} else if (runsImmediately) {
|
|
8074
|
-
watchHandle();
|
|
8075
|
-
}
|
|
8098
|
+
function compatModelEmit(instance, event, args) {
|
|
8099
|
+
if (!isCompatEnabled$1("COMPONENT_V_MODEL", instance)) {
|
|
8100
|
+
return;
|
|
8076
8101
|
}
|
|
8077
|
-
|
|
8078
|
-
|
|
8079
|
-
|
|
8080
|
-
|
|
8081
|
-
|
|
8082
|
-
|
|
8083
|
-
|
|
8084
|
-
|
|
8085
|
-
|
|
8086
|
-
cb = value.handler;
|
|
8087
|
-
options = value;
|
|
8102
|
+
const props = instance.vnode.props;
|
|
8103
|
+
const modelHandler = props && props[compatModelEventPrefix + event];
|
|
8104
|
+
if (modelHandler) {
|
|
8105
|
+
callWithErrorHandling(
|
|
8106
|
+
modelHandler,
|
|
8107
|
+
instance,
|
|
8108
|
+
6,
|
|
8109
|
+
args
|
|
8110
|
+
);
|
|
8088
8111
|
}
|
|
8089
|
-
const reset = setCurrentInstance(this);
|
|
8090
|
-
const res = doWatch(getter, cb.bind(publicThis), options);
|
|
8091
|
-
reset();
|
|
8092
|
-
return res;
|
|
8093
|
-
}
|
|
8094
|
-
function createPathGetter(ctx, path) {
|
|
8095
|
-
const segments = path.split(".");
|
|
8096
|
-
return () => {
|
|
8097
|
-
let cur = ctx;
|
|
8098
|
-
for (let i = 0; i < segments.length && cur; i++) {
|
|
8099
|
-
cur = cur[segments[i]];
|
|
8100
|
-
}
|
|
8101
|
-
return cur;
|
|
8102
|
-
};
|
|
8103
8112
|
}
|
|
8104
8113
|
|
|
8105
8114
|
function useModel(props, name, options = EMPTY_OBJ) {
|
|
@@ -9412,7 +9421,15 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
9412
9421
|
} else {
|
|
9413
9422
|
const el = n2.el = n1.el;
|
|
9414
9423
|
if (n2.children !== n1.children) {
|
|
9415
|
-
|
|
9424
|
+
if (!!(process.env.NODE_ENV !== "production") && isHmrUpdating && n2.patchFlag === -1 && "__elIndex" in n1) {
|
|
9425
|
+
const childNodes = container.childNodes;
|
|
9426
|
+
const newChild = hostCreateText(n2.children);
|
|
9427
|
+
const oldChild = childNodes[n2.__elIndex = n1.__elIndex];
|
|
9428
|
+
hostInsert(newChild, container, oldChild);
|
|
9429
|
+
hostRemove(oldChild);
|
|
9430
|
+
} else {
|
|
9431
|
+
hostSetText(el, n2.children);
|
|
9432
|
+
}
|
|
9416
9433
|
}
|
|
9417
9434
|
}
|
|
9418
9435
|
};
|
|
@@ -9796,7 +9813,7 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
9796
9813
|
} else {
|
|
9797
9814
|
if (patchFlag > 0 && patchFlag & 64 && dynamicChildren && // #2715 the previous fragment could've been a BAILed one as a result
|
|
9798
9815
|
// of renderSlot() with no valid children
|
|
9799
|
-
n1.dynamicChildren) {
|
|
9816
|
+
n1.dynamicChildren && n1.dynamicChildren.length === dynamicChildren.length) {
|
|
9800
9817
|
patchBlockChildren(
|
|
9801
9818
|
n1.dynamicChildren,
|
|
9802
9819
|
dynamicChildren,
|
|
@@ -10423,8 +10440,8 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
10423
10440
|
const nextChild = c2[nextIndex];
|
|
10424
10441
|
const anchorVNode = c2[nextIndex + 1];
|
|
10425
10442
|
const anchor = nextIndex + 1 < l2 ? (
|
|
10426
|
-
// #13559, fallback to el placeholder for unresolved async component
|
|
10427
|
-
anchorVNode.el || anchorVNode
|
|
10443
|
+
// #13559, #14173 fallback to el placeholder for unresolved async component
|
|
10444
|
+
anchorVNode.el || resolveAsyncComponentPlaceholder(anchorVNode)
|
|
10428
10445
|
) : parentAnchor;
|
|
10429
10446
|
if (newIndexToOldIndexMap[i] === 0) {
|
|
10430
10447
|
patch(
|
|
@@ -10689,9 +10706,11 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
10689
10706
|
};
|
|
10690
10707
|
let isFlushing = false;
|
|
10691
10708
|
const render = (vnode, container, namespace) => {
|
|
10709
|
+
let instance;
|
|
10692
10710
|
if (vnode == null) {
|
|
10693
10711
|
if (container._vnode) {
|
|
10694
10712
|
unmount(container._vnode, null, null, true);
|
|
10713
|
+
instance = container._vnode.component;
|
|
10695
10714
|
}
|
|
10696
10715
|
} else {
|
|
10697
10716
|
patch(
|
|
@@ -10707,7 +10726,7 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
10707
10726
|
container._vnode = vnode;
|
|
10708
10727
|
if (!isFlushing) {
|
|
10709
10728
|
isFlushing = true;
|
|
10710
|
-
flushPreFlushCbs();
|
|
10729
|
+
flushPreFlushCbs(instance);
|
|
10711
10730
|
flushPostFlushCbs();
|
|
10712
10731
|
isFlushing = false;
|
|
10713
10732
|
}
|
|
@@ -10767,9 +10786,13 @@ function traverseStaticChildren(n1, n2, shallow = false) {
|
|
|
10767
10786
|
if (!shallow && c2.patchFlag !== -2)
|
|
10768
10787
|
traverseStaticChildren(c1, c2);
|
|
10769
10788
|
}
|
|
10770
|
-
if (c2.type === Text
|
|
10771
|
-
|
|
10772
|
-
|
|
10789
|
+
if (c2.type === Text) {
|
|
10790
|
+
if (c2.patchFlag !== -1) {
|
|
10791
|
+
c2.el = c1.el;
|
|
10792
|
+
} else {
|
|
10793
|
+
c2.__elIndex = i + // take fragment start anchor into account
|
|
10794
|
+
(n1.type === Fragment ? 1 : 0);
|
|
10795
|
+
}
|
|
10773
10796
|
}
|
|
10774
10797
|
if (c2.type === Comment && !c2.el) {
|
|
10775
10798
|
c2.el = c1.el;
|
|
@@ -10836,6 +10859,16 @@ function invalidateMount(hooks) {
|
|
|
10836
10859
|
hooks[i].flags |= 8;
|
|
10837
10860
|
}
|
|
10838
10861
|
}
|
|
10862
|
+
function resolveAsyncComponentPlaceholder(anchorVnode) {
|
|
10863
|
+
if (anchorVnode.placeholder) {
|
|
10864
|
+
return anchorVnode.placeholder;
|
|
10865
|
+
}
|
|
10866
|
+
const instance = anchorVnode.component;
|
|
10867
|
+
if (instance) {
|
|
10868
|
+
return resolveAsyncComponentPlaceholder(instance.subTree);
|
|
10869
|
+
}
|
|
10870
|
+
return null;
|
|
10871
|
+
}
|
|
10839
10872
|
|
|
10840
10873
|
const isSuspense = (type) => type.__isSuspense;
|
|
10841
10874
|
let suspenseId = 0;
|
|
@@ -11495,10 +11528,10 @@ function convertLegacyComponent(comp, instance) {
|
|
|
11495
11528
|
return comp;
|
|
11496
11529
|
}
|
|
11497
11530
|
|
|
11498
|
-
const Fragment = Symbol.for("v-fgt");
|
|
11499
|
-
const Text = Symbol.for("v-txt");
|
|
11500
|
-
const Comment = Symbol.for("v-cmt");
|
|
11501
|
-
const Static = Symbol.for("v-stc");
|
|
11531
|
+
const Fragment = /* @__PURE__ */ Symbol.for("v-fgt");
|
|
11532
|
+
const Text = /* @__PURE__ */ Symbol.for("v-txt");
|
|
11533
|
+
const Comment = /* @__PURE__ */ Symbol.for("v-cmt");
|
|
11534
|
+
const Static = /* @__PURE__ */ Symbol.for("v-stc");
|
|
11502
11535
|
const blockStack = [];
|
|
11503
11536
|
let currentBlock = null;
|
|
11504
11537
|
function openBlock(disableTracking = false) {
|
|
@@ -12578,7 +12611,7 @@ function isMemoSame(cached, memo) {
|
|
|
12578
12611
|
return true;
|
|
12579
12612
|
}
|
|
12580
12613
|
|
|
12581
|
-
const version = "3.5.
|
|
12614
|
+
const version = "3.5.26";
|
|
12582
12615
|
const warn = !!(process.env.NODE_ENV !== "production") ? warn$1 : NOOP;
|
|
12583
12616
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
12584
12617
|
const devtools = !!(process.env.NODE_ENV !== "production") || true ? devtools$1 : void 0;
|
|
@@ -12690,7 +12723,7 @@ const nodeOps = {
|
|
|
12690
12723
|
|
|
12691
12724
|
const TRANSITION$1 = "transition";
|
|
12692
12725
|
const ANIMATION = "animation";
|
|
12693
|
-
const vtcKey = Symbol("_vtc");
|
|
12726
|
+
const vtcKey = /* @__PURE__ */ Symbol("_vtc");
|
|
12694
12727
|
const DOMTransitionPropsValidators = {
|
|
12695
12728
|
name: String,
|
|
12696
12729
|
type: String,
|
|
@@ -13020,8 +13053,8 @@ function patchClass(el, value, isSVG) {
|
|
|
13020
13053
|
}
|
|
13021
13054
|
}
|
|
13022
13055
|
|
|
13023
|
-
const vShowOriginalDisplay = Symbol("_vod");
|
|
13024
|
-
const vShowHidden = Symbol("_vsh");
|
|
13056
|
+
const vShowOriginalDisplay = /* @__PURE__ */ Symbol("_vod");
|
|
13057
|
+
const vShowHidden = /* @__PURE__ */ Symbol("_vsh");
|
|
13025
13058
|
const vShow = {
|
|
13026
13059
|
// used for prop mismatch check during hydration
|
|
13027
13060
|
name: "show",
|
|
@@ -13070,7 +13103,7 @@ function initVShowForSSR() {
|
|
|
13070
13103
|
};
|
|
13071
13104
|
}
|
|
13072
13105
|
|
|
13073
|
-
const CSS_VAR_TEXT = Symbol(!!(process.env.NODE_ENV !== "production") ? "CSS_VAR_TEXT" : "");
|
|
13106
|
+
const CSS_VAR_TEXT = /* @__PURE__ */ Symbol(!!(process.env.NODE_ENV !== "production") ? "CSS_VAR_TEXT" : "");
|
|
13074
13107
|
function useCssVars(getter) {
|
|
13075
13108
|
const instance = getCurrentInstance();
|
|
13076
13109
|
if (!instance) {
|
|
@@ -13268,7 +13301,7 @@ function patchAttr(el, key, value, isSVG, instance, isBoolean = isSpecialBoolean
|
|
|
13268
13301
|
const isEnumeratedAttr = /* @__PURE__ */ makeMap("contenteditable,draggable,spellcheck") ;
|
|
13269
13302
|
function compatCoerceAttr(el, key, value, instance = null) {
|
|
13270
13303
|
if (isEnumeratedAttr(key)) {
|
|
13271
|
-
const v2CoercedValue = value ===
|
|
13304
|
+
const v2CoercedValue = value === void 0 ? null : value === null || value === false || value === "false" ? "false" : "true";
|
|
13272
13305
|
if (v2CoercedValue && compatUtils.softAssertCompatEnabled(
|
|
13273
13306
|
"ATTR_ENUMERATED_COERCION",
|
|
13274
13307
|
instance,
|
|
@@ -13364,7 +13397,7 @@ function addEventListener(el, event, handler, options) {
|
|
|
13364
13397
|
function removeEventListener(el, event, handler, options) {
|
|
13365
13398
|
el.removeEventListener(event, handler, options);
|
|
13366
13399
|
}
|
|
13367
|
-
const veiKey = Symbol("_vei");
|
|
13400
|
+
const veiKey = /* @__PURE__ */ Symbol("_vei");
|
|
13368
13401
|
function patchEvent(el, rawName, prevValue, nextValue, instance = null) {
|
|
13369
13402
|
const invokers = el[veiKey] || (el[veiKey] = {});
|
|
13370
13403
|
const existingInvoker = invokers[rawName];
|
|
@@ -14002,8 +14035,8 @@ function useCssModule(name = "$style") {
|
|
|
14002
14035
|
|
|
14003
14036
|
const positionMap = /* @__PURE__ */ new WeakMap();
|
|
14004
14037
|
const newPositionMap = /* @__PURE__ */ new WeakMap();
|
|
14005
|
-
const moveCbKey = Symbol("_moveCb");
|
|
14006
|
-
const enterCbKey = Symbol("_enterCb");
|
|
14038
|
+
const moveCbKey = /* @__PURE__ */ Symbol("_moveCb");
|
|
14039
|
+
const enterCbKey = /* @__PURE__ */ Symbol("_enterCb");
|
|
14007
14040
|
const decorate = (t) => {
|
|
14008
14041
|
delete t.props.mode;
|
|
14009
14042
|
{
|
|
@@ -14165,7 +14198,7 @@ function onCompositionEnd(e) {
|
|
|
14165
14198
|
target.dispatchEvent(new Event("input"));
|
|
14166
14199
|
}
|
|
14167
14200
|
}
|
|
14168
|
-
const assignKey = Symbol("_assign");
|
|
14201
|
+
const assignKey = /* @__PURE__ */ Symbol("_assign");
|
|
14169
14202
|
function castValue(value, trim, number) {
|
|
14170
14203
|
if (trim) value = value.trim();
|
|
14171
14204
|
if (number) value = looseToNumber(value);
|
|
@@ -14854,81 +14887,81 @@ function createCompatVue() {
|
|
|
14854
14887
|
return Vue;
|
|
14855
14888
|
}
|
|
14856
14889
|
|
|
14857
|
-
const FRAGMENT = Symbol(!!(process.env.NODE_ENV !== "production") ? `Fragment` : ``);
|
|
14858
|
-
const TELEPORT = Symbol(!!(process.env.NODE_ENV !== "production") ? `Teleport` : ``);
|
|
14859
|
-
const SUSPENSE = Symbol(!!(process.env.NODE_ENV !== "production") ? `Suspense` : ``);
|
|
14860
|
-
const KEEP_ALIVE = Symbol(!!(process.env.NODE_ENV !== "production") ? `KeepAlive` : ``);
|
|
14861
|
-
const BASE_TRANSITION = Symbol(
|
|
14890
|
+
const FRAGMENT = /* @__PURE__ */ Symbol(!!(process.env.NODE_ENV !== "production") ? `Fragment` : ``);
|
|
14891
|
+
const TELEPORT = /* @__PURE__ */ Symbol(!!(process.env.NODE_ENV !== "production") ? `Teleport` : ``);
|
|
14892
|
+
const SUSPENSE = /* @__PURE__ */ Symbol(!!(process.env.NODE_ENV !== "production") ? `Suspense` : ``);
|
|
14893
|
+
const KEEP_ALIVE = /* @__PURE__ */ Symbol(!!(process.env.NODE_ENV !== "production") ? `KeepAlive` : ``);
|
|
14894
|
+
const BASE_TRANSITION = /* @__PURE__ */ Symbol(
|
|
14862
14895
|
!!(process.env.NODE_ENV !== "production") ? `BaseTransition` : ``
|
|
14863
14896
|
);
|
|
14864
|
-
const OPEN_BLOCK = Symbol(!!(process.env.NODE_ENV !== "production") ? `openBlock` : ``);
|
|
14865
|
-
const CREATE_BLOCK = Symbol(!!(process.env.NODE_ENV !== "production") ? `createBlock` : ``);
|
|
14866
|
-
const CREATE_ELEMENT_BLOCK = Symbol(
|
|
14897
|
+
const OPEN_BLOCK = /* @__PURE__ */ Symbol(!!(process.env.NODE_ENV !== "production") ? `openBlock` : ``);
|
|
14898
|
+
const CREATE_BLOCK = /* @__PURE__ */ Symbol(!!(process.env.NODE_ENV !== "production") ? `createBlock` : ``);
|
|
14899
|
+
const CREATE_ELEMENT_BLOCK = /* @__PURE__ */ Symbol(
|
|
14867
14900
|
!!(process.env.NODE_ENV !== "production") ? `createElementBlock` : ``
|
|
14868
14901
|
);
|
|
14869
|
-
const CREATE_VNODE = Symbol(!!(process.env.NODE_ENV !== "production") ? `createVNode` : ``);
|
|
14870
|
-
const CREATE_ELEMENT_VNODE = Symbol(
|
|
14902
|
+
const CREATE_VNODE = /* @__PURE__ */ Symbol(!!(process.env.NODE_ENV !== "production") ? `createVNode` : ``);
|
|
14903
|
+
const CREATE_ELEMENT_VNODE = /* @__PURE__ */ Symbol(
|
|
14871
14904
|
!!(process.env.NODE_ENV !== "production") ? `createElementVNode` : ``
|
|
14872
14905
|
);
|
|
14873
|
-
const CREATE_COMMENT = Symbol(
|
|
14906
|
+
const CREATE_COMMENT = /* @__PURE__ */ Symbol(
|
|
14874
14907
|
!!(process.env.NODE_ENV !== "production") ? `createCommentVNode` : ``
|
|
14875
14908
|
);
|
|
14876
|
-
const CREATE_TEXT = Symbol(
|
|
14909
|
+
const CREATE_TEXT = /* @__PURE__ */ Symbol(
|
|
14877
14910
|
!!(process.env.NODE_ENV !== "production") ? `createTextVNode` : ``
|
|
14878
14911
|
);
|
|
14879
|
-
const CREATE_STATIC = Symbol(
|
|
14912
|
+
const CREATE_STATIC = /* @__PURE__ */ Symbol(
|
|
14880
14913
|
!!(process.env.NODE_ENV !== "production") ? `createStaticVNode` : ``
|
|
14881
14914
|
);
|
|
14882
|
-
const RESOLVE_COMPONENT = Symbol(
|
|
14915
|
+
const RESOLVE_COMPONENT = /* @__PURE__ */ Symbol(
|
|
14883
14916
|
!!(process.env.NODE_ENV !== "production") ? `resolveComponent` : ``
|
|
14884
14917
|
);
|
|
14885
|
-
const RESOLVE_DYNAMIC_COMPONENT = Symbol(
|
|
14918
|
+
const RESOLVE_DYNAMIC_COMPONENT = /* @__PURE__ */ Symbol(
|
|
14886
14919
|
!!(process.env.NODE_ENV !== "production") ? `resolveDynamicComponent` : ``
|
|
14887
14920
|
);
|
|
14888
|
-
const RESOLVE_DIRECTIVE = Symbol(
|
|
14921
|
+
const RESOLVE_DIRECTIVE = /* @__PURE__ */ Symbol(
|
|
14889
14922
|
!!(process.env.NODE_ENV !== "production") ? `resolveDirective` : ``
|
|
14890
14923
|
);
|
|
14891
|
-
const RESOLVE_FILTER = Symbol(
|
|
14924
|
+
const RESOLVE_FILTER = /* @__PURE__ */ Symbol(
|
|
14892
14925
|
!!(process.env.NODE_ENV !== "production") ? `resolveFilter` : ``
|
|
14893
14926
|
);
|
|
14894
|
-
const WITH_DIRECTIVES = Symbol(
|
|
14927
|
+
const WITH_DIRECTIVES = /* @__PURE__ */ Symbol(
|
|
14895
14928
|
!!(process.env.NODE_ENV !== "production") ? `withDirectives` : ``
|
|
14896
14929
|
);
|
|
14897
|
-
const RENDER_LIST = Symbol(!!(process.env.NODE_ENV !== "production") ? `renderList` : ``);
|
|
14898
|
-
const RENDER_SLOT = Symbol(!!(process.env.NODE_ENV !== "production") ? `renderSlot` : ``);
|
|
14899
|
-
const CREATE_SLOTS = Symbol(!!(process.env.NODE_ENV !== "production") ? `createSlots` : ``);
|
|
14900
|
-
const TO_DISPLAY_STRING = Symbol(
|
|
14930
|
+
const RENDER_LIST = /* @__PURE__ */ Symbol(!!(process.env.NODE_ENV !== "production") ? `renderList` : ``);
|
|
14931
|
+
const RENDER_SLOT = /* @__PURE__ */ Symbol(!!(process.env.NODE_ENV !== "production") ? `renderSlot` : ``);
|
|
14932
|
+
const CREATE_SLOTS = /* @__PURE__ */ Symbol(!!(process.env.NODE_ENV !== "production") ? `createSlots` : ``);
|
|
14933
|
+
const TO_DISPLAY_STRING = /* @__PURE__ */ Symbol(
|
|
14901
14934
|
!!(process.env.NODE_ENV !== "production") ? `toDisplayString` : ``
|
|
14902
14935
|
);
|
|
14903
|
-
const MERGE_PROPS = Symbol(!!(process.env.NODE_ENV !== "production") ? `mergeProps` : ``);
|
|
14904
|
-
const NORMALIZE_CLASS = Symbol(
|
|
14936
|
+
const MERGE_PROPS = /* @__PURE__ */ Symbol(!!(process.env.NODE_ENV !== "production") ? `mergeProps` : ``);
|
|
14937
|
+
const NORMALIZE_CLASS = /* @__PURE__ */ Symbol(
|
|
14905
14938
|
!!(process.env.NODE_ENV !== "production") ? `normalizeClass` : ``
|
|
14906
14939
|
);
|
|
14907
|
-
const NORMALIZE_STYLE = Symbol(
|
|
14940
|
+
const NORMALIZE_STYLE = /* @__PURE__ */ Symbol(
|
|
14908
14941
|
!!(process.env.NODE_ENV !== "production") ? `normalizeStyle` : ``
|
|
14909
14942
|
);
|
|
14910
|
-
const NORMALIZE_PROPS = Symbol(
|
|
14943
|
+
const NORMALIZE_PROPS = /* @__PURE__ */ Symbol(
|
|
14911
14944
|
!!(process.env.NODE_ENV !== "production") ? `normalizeProps` : ``
|
|
14912
14945
|
);
|
|
14913
|
-
const GUARD_REACTIVE_PROPS = Symbol(
|
|
14946
|
+
const GUARD_REACTIVE_PROPS = /* @__PURE__ */ Symbol(
|
|
14914
14947
|
!!(process.env.NODE_ENV !== "production") ? `guardReactiveProps` : ``
|
|
14915
14948
|
);
|
|
14916
|
-
const TO_HANDLERS = Symbol(!!(process.env.NODE_ENV !== "production") ? `toHandlers` : ``);
|
|
14917
|
-
const CAMELIZE = Symbol(!!(process.env.NODE_ENV !== "production") ? `camelize` : ``);
|
|
14918
|
-
const CAPITALIZE = Symbol(!!(process.env.NODE_ENV !== "production") ? `capitalize` : ``);
|
|
14919
|
-
const TO_HANDLER_KEY = Symbol(
|
|
14949
|
+
const TO_HANDLERS = /* @__PURE__ */ Symbol(!!(process.env.NODE_ENV !== "production") ? `toHandlers` : ``);
|
|
14950
|
+
const CAMELIZE = /* @__PURE__ */ Symbol(!!(process.env.NODE_ENV !== "production") ? `camelize` : ``);
|
|
14951
|
+
const CAPITALIZE = /* @__PURE__ */ Symbol(!!(process.env.NODE_ENV !== "production") ? `capitalize` : ``);
|
|
14952
|
+
const TO_HANDLER_KEY = /* @__PURE__ */ Symbol(
|
|
14920
14953
|
!!(process.env.NODE_ENV !== "production") ? `toHandlerKey` : ``
|
|
14921
14954
|
);
|
|
14922
|
-
const SET_BLOCK_TRACKING = Symbol(
|
|
14955
|
+
const SET_BLOCK_TRACKING = /* @__PURE__ */ Symbol(
|
|
14923
14956
|
!!(process.env.NODE_ENV !== "production") ? `setBlockTracking` : ``
|
|
14924
14957
|
);
|
|
14925
|
-
const PUSH_SCOPE_ID = Symbol(!!(process.env.NODE_ENV !== "production") ? `pushScopeId` : ``);
|
|
14926
|
-
const POP_SCOPE_ID = Symbol(!!(process.env.NODE_ENV !== "production") ? `popScopeId` : ``);
|
|
14927
|
-
const WITH_CTX = Symbol(!!(process.env.NODE_ENV !== "production") ? `withCtx` : ``);
|
|
14928
|
-
const UNREF = Symbol(!!(process.env.NODE_ENV !== "production") ? `unref` : ``);
|
|
14929
|
-
const IS_REF = Symbol(!!(process.env.NODE_ENV !== "production") ? `isRef` : ``);
|
|
14930
|
-
const WITH_MEMO = Symbol(!!(process.env.NODE_ENV !== "production") ? `withMemo` : ``);
|
|
14931
|
-
const IS_MEMO_SAME = Symbol(!!(process.env.NODE_ENV !== "production") ? `isMemoSame` : ``);
|
|
14958
|
+
const PUSH_SCOPE_ID = /* @__PURE__ */ Symbol(!!(process.env.NODE_ENV !== "production") ? `pushScopeId` : ``);
|
|
14959
|
+
const POP_SCOPE_ID = /* @__PURE__ */ Symbol(!!(process.env.NODE_ENV !== "production") ? `popScopeId` : ``);
|
|
14960
|
+
const WITH_CTX = /* @__PURE__ */ Symbol(!!(process.env.NODE_ENV !== "production") ? `withCtx` : ``);
|
|
14961
|
+
const UNREF = /* @__PURE__ */ Symbol(!!(process.env.NODE_ENV !== "production") ? `unref` : ``);
|
|
14962
|
+
const IS_REF = /* @__PURE__ */ Symbol(!!(process.env.NODE_ENV !== "production") ? `isRef` : ``);
|
|
14963
|
+
const WITH_MEMO = /* @__PURE__ */ Symbol(!!(process.env.NODE_ENV !== "production") ? `withMemo` : ``);
|
|
14964
|
+
const IS_MEMO_SAME = /* @__PURE__ */ Symbol(!!(process.env.NODE_ENV !== "production") ? `isMemoSame` : ``);
|
|
14932
14965
|
const helperNameMap = {
|
|
14933
14966
|
[FRAGMENT]: `Fragment`,
|
|
14934
14967
|
[TELEPORT]: `Teleport`,
|
|
@@ -15223,14 +15256,28 @@ class Tokenizer {
|
|
|
15223
15256
|
getPos(index) {
|
|
15224
15257
|
let line = 1;
|
|
15225
15258
|
let column = index + 1;
|
|
15226
|
-
|
|
15227
|
-
|
|
15228
|
-
|
|
15229
|
-
|
|
15230
|
-
|
|
15231
|
-
|
|
15259
|
+
const length = this.newlines.length;
|
|
15260
|
+
let j = -1;
|
|
15261
|
+
if (length > 100) {
|
|
15262
|
+
let l = -1;
|
|
15263
|
+
let r = length;
|
|
15264
|
+
while (l + 1 < r) {
|
|
15265
|
+
const m = l + r >>> 1;
|
|
15266
|
+
this.newlines[m] < index ? l = m : r = m;
|
|
15267
|
+
}
|
|
15268
|
+
j = l;
|
|
15269
|
+
} else {
|
|
15270
|
+
for (let i = length - 1; i >= 0; i--) {
|
|
15271
|
+
if (index > this.newlines[i]) {
|
|
15272
|
+
j = i;
|
|
15273
|
+
break;
|
|
15274
|
+
}
|
|
15232
15275
|
}
|
|
15233
15276
|
}
|
|
15277
|
+
if (j >= 0) {
|
|
15278
|
+
line = j + 2;
|
|
15279
|
+
column = index - this.newlines[j];
|
|
15280
|
+
}
|
|
15234
15281
|
return {
|
|
15235
15282
|
column,
|
|
15236
15283
|
line,
|
|
@@ -16045,7 +16092,7 @@ const errorMessages = {
|
|
|
16045
16092
|
[32]: `v-for has invalid expression.`,
|
|
16046
16093
|
[33]: `<template v-for> key should be placed on the <template> tag.`,
|
|
16047
16094
|
[34]: `v-bind is missing expression.`,
|
|
16048
|
-
[
|
|
16095
|
+
[53]: `v-bind with same-name shorthand only allows static argument.`,
|
|
16049
16096
|
[35]: `v-on is missing expression.`,
|
|
16050
16097
|
[36]: `Unexpected custom directive on <slot> outlet.`,
|
|
16051
16098
|
[37]: `Mixed v-slot usage on both the component and nested <template>. When there are multiple named slots, all slots should use <template> syntax to avoid scope ambiguity.`,
|
|
@@ -16057,16 +16104,17 @@ const errorMessages = {
|
|
|
16057
16104
|
[43]: `v-model cannot be used on v-for or v-slot scope variables because they are not writable.`,
|
|
16058
16105
|
[44]: `v-model cannot be used on a prop, because local prop bindings are not writable.
|
|
16059
16106
|
Use a v-bind binding combined with a v-on listener that emits update:x event instead.`,
|
|
16060
|
-
[45]: `
|
|
16061
|
-
[46]:
|
|
16062
|
-
[
|
|
16107
|
+
[45]: `v-model cannot be used on a const binding because it is not writable.`,
|
|
16108
|
+
[46]: `Error parsing JavaScript expression: `,
|
|
16109
|
+
[47]: `<KeepAlive> expects exactly one child component.`,
|
|
16110
|
+
[52]: `@vnode-* hooks in templates are no longer supported. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support has been removed in 3.4.`,
|
|
16063
16111
|
// generic errors
|
|
16064
|
-
[
|
|
16065
|
-
[
|
|
16066
|
-
[
|
|
16067
|
-
[
|
|
16112
|
+
[48]: `"prefixIdentifiers" option is not supported in this build of compiler.`,
|
|
16113
|
+
[49]: `ES module mode is not supported in this build of compiler.`,
|
|
16114
|
+
[50]: `"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.`,
|
|
16115
|
+
[51]: `"scopeId" option is only supported in module mode.`,
|
|
16068
16116
|
// just to fulfill types
|
|
16069
|
-
[
|
|
16117
|
+
[54]: ``
|
|
16070
16118
|
};
|
|
16071
16119
|
|
|
16072
16120
|
const isStaticExp = (p) => p.type === 4 && p.isStatic;
|
|
@@ -18255,7 +18303,7 @@ function validateBrowserExpression(node, context, asParams = false, asRawStateme
|
|
|
18255
18303
|
}
|
|
18256
18304
|
context.onError(
|
|
18257
18305
|
createCompilerError(
|
|
18258
|
-
|
|
18306
|
+
46,
|
|
18259
18307
|
node.loc,
|
|
18260
18308
|
void 0,
|
|
18261
18309
|
message
|
|
@@ -19021,7 +19069,7 @@ const transformElement = (node, context) => {
|
|
|
19021
19069
|
patchFlag |= 1024;
|
|
19022
19070
|
if (!!(process.env.NODE_ENV !== "production") && node.children.length > 1) {
|
|
19023
19071
|
context.onError(
|
|
19024
|
-
createCompilerError(
|
|
19072
|
+
createCompilerError(47, {
|
|
19025
19073
|
start: node.children[0].loc.start,
|
|
19026
19074
|
end: node.children[node.children.length - 1].loc.end,
|
|
19027
19075
|
source: ""
|
|
@@ -19608,7 +19656,7 @@ const transformOn$1 = (dir, node, context, augmentor) => {
|
|
|
19608
19656
|
if (arg.isStatic) {
|
|
19609
19657
|
let rawName = arg.content;
|
|
19610
19658
|
if (!!(process.env.NODE_ENV !== "production") && rawName.startsWith("vnode")) {
|
|
19611
|
-
context.onError(createCompilerError(
|
|
19659
|
+
context.onError(createCompilerError(52, arg.loc));
|
|
19612
19660
|
}
|
|
19613
19661
|
if (rawName.startsWith("vue:")) {
|
|
19614
19662
|
rawName = `vnode-${rawName.slice(4)}`;
|
|
@@ -19841,6 +19889,10 @@ const transformModel$1 = (dir, node, context) => {
|
|
|
19841
19889
|
context.onError(createCompilerError(44, exp.loc));
|
|
19842
19890
|
return createTransformProps();
|
|
19843
19891
|
}
|
|
19892
|
+
if (bindingType === "literal-const" || bindingType === "setup-const") {
|
|
19893
|
+
context.onError(createCompilerError(45, exp.loc));
|
|
19894
|
+
return createTransformProps();
|
|
19895
|
+
}
|
|
19844
19896
|
if (!expString.trim() || !isMemberExpression(exp) && true) {
|
|
19845
19897
|
context.onError(
|
|
19846
19898
|
createCompilerError(42, exp.loc)
|
|
@@ -20069,7 +20121,7 @@ const transformVBindShorthand = (node, context) => {
|
|
|
20069
20121
|
if (arg.type !== 4 || !arg.isStatic) {
|
|
20070
20122
|
context.onError(
|
|
20071
20123
|
createCompilerError(
|
|
20072
|
-
|
|
20124
|
+
53,
|
|
20073
20125
|
arg.loc
|
|
20074
20126
|
)
|
|
20075
20127
|
);
|
|
@@ -20113,17 +20165,17 @@ function baseCompile(source, options = {}) {
|
|
|
20113
20165
|
const isModuleMode = options.mode === "module";
|
|
20114
20166
|
{
|
|
20115
20167
|
if (options.prefixIdentifiers === true) {
|
|
20116
|
-
onError(createCompilerError(47));
|
|
20117
|
-
} else if (isModuleMode) {
|
|
20118
20168
|
onError(createCompilerError(48));
|
|
20169
|
+
} else if (isModuleMode) {
|
|
20170
|
+
onError(createCompilerError(49));
|
|
20119
20171
|
}
|
|
20120
20172
|
}
|
|
20121
20173
|
const prefixIdentifiers = false;
|
|
20122
20174
|
if (options.cacheHandlers) {
|
|
20123
|
-
onError(createCompilerError(
|
|
20175
|
+
onError(createCompilerError(50));
|
|
20124
20176
|
}
|
|
20125
20177
|
if (options.scopeId && !isModuleMode) {
|
|
20126
|
-
onError(createCompilerError(
|
|
20178
|
+
onError(createCompilerError(51));
|
|
20127
20179
|
}
|
|
20128
20180
|
const resolvedOptions = extend({}, options, {
|
|
20129
20181
|
prefixIdentifiers
|
|
@@ -20151,26 +20203,26 @@ function baseCompile(source, options = {}) {
|
|
|
20151
20203
|
|
|
20152
20204
|
const noopDirectiveTransform = () => ({ props: [] });
|
|
20153
20205
|
|
|
20154
|
-
const V_MODEL_RADIO = Symbol(!!(process.env.NODE_ENV !== "production") ? `vModelRadio` : ``);
|
|
20155
|
-
const V_MODEL_CHECKBOX = Symbol(
|
|
20206
|
+
const V_MODEL_RADIO = /* @__PURE__ */ Symbol(!!(process.env.NODE_ENV !== "production") ? `vModelRadio` : ``);
|
|
20207
|
+
const V_MODEL_CHECKBOX = /* @__PURE__ */ Symbol(
|
|
20156
20208
|
!!(process.env.NODE_ENV !== "production") ? `vModelCheckbox` : ``
|
|
20157
20209
|
);
|
|
20158
|
-
const V_MODEL_TEXT = Symbol(!!(process.env.NODE_ENV !== "production") ? `vModelText` : ``);
|
|
20159
|
-
const V_MODEL_SELECT = Symbol(
|
|
20210
|
+
const V_MODEL_TEXT = /* @__PURE__ */ Symbol(!!(process.env.NODE_ENV !== "production") ? `vModelText` : ``);
|
|
20211
|
+
const V_MODEL_SELECT = /* @__PURE__ */ Symbol(
|
|
20160
20212
|
!!(process.env.NODE_ENV !== "production") ? `vModelSelect` : ``
|
|
20161
20213
|
);
|
|
20162
|
-
const V_MODEL_DYNAMIC = Symbol(
|
|
20214
|
+
const V_MODEL_DYNAMIC = /* @__PURE__ */ Symbol(
|
|
20163
20215
|
!!(process.env.NODE_ENV !== "production") ? `vModelDynamic` : ``
|
|
20164
20216
|
);
|
|
20165
|
-
const V_ON_WITH_MODIFIERS = Symbol(
|
|
20217
|
+
const V_ON_WITH_MODIFIERS = /* @__PURE__ */ Symbol(
|
|
20166
20218
|
!!(process.env.NODE_ENV !== "production") ? `vOnModifiersGuard` : ``
|
|
20167
20219
|
);
|
|
20168
|
-
const V_ON_WITH_KEYS = Symbol(
|
|
20220
|
+
const V_ON_WITH_KEYS = /* @__PURE__ */ Symbol(
|
|
20169
20221
|
!!(process.env.NODE_ENV !== "production") ? `vOnKeysGuard` : ``
|
|
20170
20222
|
);
|
|
20171
|
-
const V_SHOW = Symbol(!!(process.env.NODE_ENV !== "production") ? `vShow` : ``);
|
|
20172
|
-
const TRANSITION = Symbol(!!(process.env.NODE_ENV !== "production") ? `Transition` : ``);
|
|
20173
|
-
const TRANSITION_GROUP = Symbol(
|
|
20223
|
+
const V_SHOW = /* @__PURE__ */ Symbol(!!(process.env.NODE_ENV !== "production") ? `vShow` : ``);
|
|
20224
|
+
const TRANSITION = /* @__PURE__ */ Symbol(!!(process.env.NODE_ENV !== "production") ? `Transition` : ``);
|
|
20225
|
+
const TRANSITION_GROUP = /* @__PURE__ */ Symbol(
|
|
20174
20226
|
!!(process.env.NODE_ENV !== "production") ? `TransitionGroup` : ``
|
|
20175
20227
|
);
|
|
20176
20228
|
registerRuntimeHelpers({
|
|
@@ -20281,29 +20333,29 @@ function createDOMCompilerError(code, loc) {
|
|
|
20281
20333
|
);
|
|
20282
20334
|
}
|
|
20283
20335
|
const DOMErrorMessages = {
|
|
20284
|
-
[
|
|
20285
|
-
[
|
|
20286
|
-
[
|
|
20287
|
-
[
|
|
20288
|
-
[
|
|
20289
|
-
[
|
|
20290
|
-
[
|
|
20291
|
-
[
|
|
20292
|
-
[
|
|
20293
|
-
[
|
|
20294
|
-
[
|
|
20336
|
+
[54]: `v-html is missing expression.`,
|
|
20337
|
+
[55]: `v-html will override element children.`,
|
|
20338
|
+
[56]: `v-text is missing expression.`,
|
|
20339
|
+
[57]: `v-text will override element children.`,
|
|
20340
|
+
[58]: `v-model can only be used on <input>, <textarea> and <select> elements.`,
|
|
20341
|
+
[59]: `v-model argument is not supported on plain elements.`,
|
|
20342
|
+
[60]: `v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.`,
|
|
20343
|
+
[61]: `Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.`,
|
|
20344
|
+
[62]: `v-show is missing expression.`,
|
|
20345
|
+
[63]: `<Transition> expects exactly one child element or component.`,
|
|
20346
|
+
[64]: `Tags with side effect (<script> and <style>) are ignored in client component templates.`
|
|
20295
20347
|
};
|
|
20296
20348
|
|
|
20297
20349
|
const transformVHtml = (dir, node, context) => {
|
|
20298
20350
|
const { exp, loc } = dir;
|
|
20299
20351
|
if (!exp) {
|
|
20300
20352
|
context.onError(
|
|
20301
|
-
createDOMCompilerError(
|
|
20353
|
+
createDOMCompilerError(54, loc)
|
|
20302
20354
|
);
|
|
20303
20355
|
}
|
|
20304
20356
|
if (node.children.length) {
|
|
20305
20357
|
context.onError(
|
|
20306
|
-
createDOMCompilerError(
|
|
20358
|
+
createDOMCompilerError(55, loc)
|
|
20307
20359
|
);
|
|
20308
20360
|
node.children.length = 0;
|
|
20309
20361
|
}
|
|
@@ -20321,12 +20373,12 @@ const transformVText = (dir, node, context) => {
|
|
|
20321
20373
|
const { exp, loc } = dir;
|
|
20322
20374
|
if (!exp) {
|
|
20323
20375
|
context.onError(
|
|
20324
|
-
createDOMCompilerError(
|
|
20376
|
+
createDOMCompilerError(56, loc)
|
|
20325
20377
|
);
|
|
20326
20378
|
}
|
|
20327
20379
|
if (node.children.length) {
|
|
20328
20380
|
context.onError(
|
|
20329
|
-
createDOMCompilerError(
|
|
20381
|
+
createDOMCompilerError(57, loc)
|
|
20330
20382
|
);
|
|
20331
20383
|
node.children.length = 0;
|
|
20332
20384
|
}
|
|
@@ -20352,7 +20404,7 @@ const transformModel = (dir, node, context) => {
|
|
|
20352
20404
|
if (dir.arg) {
|
|
20353
20405
|
context.onError(
|
|
20354
20406
|
createDOMCompilerError(
|
|
20355
|
-
|
|
20407
|
+
59,
|
|
20356
20408
|
dir.arg.loc
|
|
20357
20409
|
)
|
|
20358
20410
|
);
|
|
@@ -20362,7 +20414,7 @@ const transformModel = (dir, node, context) => {
|
|
|
20362
20414
|
if (value && isStaticArgOf(value.arg, "value")) {
|
|
20363
20415
|
context.onError(
|
|
20364
20416
|
createDOMCompilerError(
|
|
20365
|
-
|
|
20417
|
+
61,
|
|
20366
20418
|
value.loc
|
|
20367
20419
|
)
|
|
20368
20420
|
);
|
|
@@ -20390,7 +20442,7 @@ const transformModel = (dir, node, context) => {
|
|
|
20390
20442
|
isInvalidType = true;
|
|
20391
20443
|
context.onError(
|
|
20392
20444
|
createDOMCompilerError(
|
|
20393
|
-
|
|
20445
|
+
60,
|
|
20394
20446
|
dir.loc
|
|
20395
20447
|
)
|
|
20396
20448
|
);
|
|
@@ -20416,7 +20468,7 @@ const transformModel = (dir, node, context) => {
|
|
|
20416
20468
|
} else {
|
|
20417
20469
|
context.onError(
|
|
20418
20470
|
createDOMCompilerError(
|
|
20419
|
-
|
|
20471
|
+
58,
|
|
20420
20472
|
dir.loc
|
|
20421
20473
|
)
|
|
20422
20474
|
);
|
|
@@ -20524,7 +20576,7 @@ const transformShow = (dir, node, context) => {
|
|
|
20524
20576
|
const { exp, loc } = dir;
|
|
20525
20577
|
if (!exp) {
|
|
20526
20578
|
context.onError(
|
|
20527
|
-
createDOMCompilerError(
|
|
20579
|
+
createDOMCompilerError(62, loc)
|
|
20528
20580
|
);
|
|
20529
20581
|
}
|
|
20530
20582
|
return {
|
|
@@ -20544,7 +20596,7 @@ const transformTransition = (node, context) => {
|
|
|
20544
20596
|
if (hasMultipleChildren(node)) {
|
|
20545
20597
|
context.onError(
|
|
20546
20598
|
createDOMCompilerError(
|
|
20547
|
-
|
|
20599
|
+
63,
|
|
20548
20600
|
{
|
|
20549
20601
|
start: node.children[0].loc.start,
|
|
20550
20602
|
end: node.children[node.children.length - 1].loc.end,
|
|
@@ -20583,7 +20635,7 @@ const ignoreSideEffectTags = (node, context) => {
|
|
|
20583
20635
|
if (node.type === 1 && node.tagType === 0 && (node.tag === "script" || node.tag === "style")) {
|
|
20584
20636
|
!!(process.env.NODE_ENV !== "production") && context.onError(
|
|
20585
20637
|
createDOMCompilerError(
|
|
20586
|
-
|
|
20638
|
+
64,
|
|
20587
20639
|
node.loc
|
|
20588
20640
|
)
|
|
20589
20641
|
);
|