@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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/compat v3.5.25
2
+ * @vue/compat v3.5.26
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -7,7 +7,7 @@
7
7
 
8
8
  var parser = require('@babel/parser');
9
9
  var estreeWalker = require('estree-walker');
10
- var decode_js = require('entities/lib/decode.js');
10
+ var decode = require('entities/decode');
11
11
  var sourceMapJs = require('source-map-js');
12
12
 
13
13
  // @__NO_SIDE_EFFECTS__
@@ -911,13 +911,13 @@ function addSub(link) {
911
911
  }
912
912
  }
913
913
  const targetMap = /* @__PURE__ */ new WeakMap();
914
- const ITERATE_KEY = Symbol(
914
+ const ITERATE_KEY = /* @__PURE__ */ Symbol(
915
915
  ""
916
916
  );
917
- const MAP_KEY_ITERATE_KEY = Symbol(
917
+ const MAP_KEY_ITERATE_KEY = /* @__PURE__ */ Symbol(
918
918
  ""
919
919
  );
920
- const ARRAY_ITERATE_KEY = Symbol(
920
+ const ARRAY_ITERATE_KEY = /* @__PURE__ */ Symbol(
921
921
  ""
922
922
  );
923
923
  function track(target, type, key) {
@@ -2537,58 +2537,6 @@ function emit$1(instance, event, args) {
2537
2537
  return instance.proxy;
2538
2538
  }
2539
2539
 
2540
- const compatModelEventPrefix = `onModelCompat:`;
2541
- function convertLegacyVModelProps(vnode) {
2542
- const { type, shapeFlag, props, dynamicProps } = vnode;
2543
- const comp = type;
2544
- if (shapeFlag & 6 && props && "modelValue" in props) {
2545
- if (!isCompatEnabled$1(
2546
- "COMPONENT_V_MODEL",
2547
- // this is a special case where we want to use the vnode component's
2548
- // compat config instead of the current rendering instance (which is the
2549
- // parent of the component that exposes v-model)
2550
- { type }
2551
- )) {
2552
- return;
2553
- }
2554
- const model = comp.model || {};
2555
- applyModelFromMixins(model, comp.mixins);
2556
- const { prop = "value", event = "input" } = model;
2557
- if (prop !== "modelValue") {
2558
- props[prop] = props.modelValue;
2559
- delete props.modelValue;
2560
- }
2561
- if (dynamicProps) {
2562
- dynamicProps[dynamicProps.indexOf("modelValue")] = prop;
2563
- }
2564
- props[compatModelEventPrefix + event] = props["onUpdate:modelValue"];
2565
- delete props["onUpdate:modelValue"];
2566
- }
2567
- }
2568
- function applyModelFromMixins(model, mixins) {
2569
- if (mixins) {
2570
- mixins.forEach((m) => {
2571
- if (m.model) extend$1(model, m.model);
2572
- if (m.mixins) applyModelFromMixins(model, m.mixins);
2573
- });
2574
- }
2575
- }
2576
- function compatModelEmit(instance, event, args) {
2577
- if (!isCompatEnabled$1("COMPONENT_V_MODEL", instance)) {
2578
- return;
2579
- }
2580
- const props = instance.vnode.props;
2581
- const modelHandler = props && props[compatModelEventPrefix + event];
2582
- if (modelHandler) {
2583
- callWithErrorHandling(
2584
- modelHandler,
2585
- instance,
2586
- 6,
2587
- args
2588
- );
2589
- }
2590
- }
2591
-
2592
2540
  let currentRenderingInstance = null;
2593
2541
  let currentScopeId = null;
2594
2542
  function setCurrentRenderingInstance(instance) {
@@ -2730,7 +2678,143 @@ function invokeDirectiveHook(vnode, prevVNode, instance, name) {
2730
2678
  }
2731
2679
  }
2732
2680
 
2733
- const TeleportEndKey = Symbol("_vte");
2681
+ function provide(key, value) {
2682
+ if (currentInstance) {
2683
+ let provides = currentInstance.provides;
2684
+ const parentProvides = currentInstance.parent && currentInstance.parent.provides;
2685
+ if (parentProvides === provides) {
2686
+ provides = currentInstance.provides = Object.create(parentProvides);
2687
+ }
2688
+ provides[key] = value;
2689
+ }
2690
+ }
2691
+ function inject(key, defaultValue, treatDefaultAsFactory = false) {
2692
+ const instance = getCurrentInstance();
2693
+ if (instance || currentApp) {
2694
+ let provides = currentApp ? currentApp._context.provides : instance ? instance.parent == null || instance.ce ? instance.vnode.appContext && instance.vnode.appContext.provides : instance.parent.provides : void 0;
2695
+ if (provides && key in provides) {
2696
+ return provides[key];
2697
+ } else if (arguments.length > 1) {
2698
+ return treatDefaultAsFactory && isFunction(defaultValue) ? defaultValue.call(instance && instance.proxy) : defaultValue;
2699
+ } else ;
2700
+ }
2701
+ }
2702
+ function hasInjectionContext() {
2703
+ return !!(getCurrentInstance() || currentApp);
2704
+ }
2705
+
2706
+ const ssrContextKey = /* @__PURE__ */ Symbol.for("v-scx");
2707
+ const useSSRContext = () => {
2708
+ {
2709
+ const ctx = inject(ssrContextKey);
2710
+ return ctx;
2711
+ }
2712
+ };
2713
+
2714
+ function watchEffect(effect, options) {
2715
+ return doWatch(effect, null, options);
2716
+ }
2717
+ function watchPostEffect(effect, options) {
2718
+ return doWatch(
2719
+ effect,
2720
+ null,
2721
+ { flush: "post" }
2722
+ );
2723
+ }
2724
+ function watchSyncEffect(effect, options) {
2725
+ return doWatch(
2726
+ effect,
2727
+ null,
2728
+ { flush: "sync" }
2729
+ );
2730
+ }
2731
+ function watch(source, cb, options) {
2732
+ return doWatch(source, cb, options);
2733
+ }
2734
+ function doWatch(source, cb, options = EMPTY_OBJ) {
2735
+ const { immediate, deep, flush, once } = options;
2736
+ const baseWatchOptions = extend$1({}, options);
2737
+ const runsImmediately = cb && immediate || !cb && flush !== "post";
2738
+ let ssrCleanup;
2739
+ if (isInSSRComponentSetup) {
2740
+ if (flush === "sync") {
2741
+ const ctx = useSSRContext();
2742
+ ssrCleanup = ctx.__watcherHandles || (ctx.__watcherHandles = []);
2743
+ } else if (!runsImmediately) {
2744
+ const watchStopHandle = () => {
2745
+ };
2746
+ watchStopHandle.stop = NOOP;
2747
+ watchStopHandle.resume = NOOP;
2748
+ watchStopHandle.pause = NOOP;
2749
+ return watchStopHandle;
2750
+ }
2751
+ }
2752
+ const instance = currentInstance;
2753
+ baseWatchOptions.call = (fn, type, args) => callWithAsyncErrorHandling(fn, instance, type, args);
2754
+ let isPre = false;
2755
+ if (flush === "post") {
2756
+ baseWatchOptions.scheduler = (job) => {
2757
+ queuePostRenderEffect(job, instance && instance.suspense);
2758
+ };
2759
+ } else if (flush !== "sync") {
2760
+ isPre = true;
2761
+ baseWatchOptions.scheduler = (job, isFirstRun) => {
2762
+ if (isFirstRun) {
2763
+ job();
2764
+ } else {
2765
+ queueJob(job);
2766
+ }
2767
+ };
2768
+ }
2769
+ baseWatchOptions.augmentJob = (job) => {
2770
+ if (cb) {
2771
+ job.flags |= 4;
2772
+ }
2773
+ if (isPre) {
2774
+ job.flags |= 2;
2775
+ if (instance) {
2776
+ job.id = instance.uid;
2777
+ job.i = instance;
2778
+ }
2779
+ }
2780
+ };
2781
+ const watchHandle = watch$1(source, cb, baseWatchOptions);
2782
+ if (isInSSRComponentSetup) {
2783
+ if (ssrCleanup) {
2784
+ ssrCleanup.push(watchHandle);
2785
+ } else if (runsImmediately) {
2786
+ watchHandle();
2787
+ }
2788
+ }
2789
+ return watchHandle;
2790
+ }
2791
+ function instanceWatch(source, value, options) {
2792
+ const publicThis = this.proxy;
2793
+ const getter = isString(source) ? source.includes(".") ? createPathGetter(publicThis, source) : () => publicThis[source] : source.bind(publicThis, publicThis);
2794
+ let cb;
2795
+ if (isFunction(value)) {
2796
+ cb = value;
2797
+ } else {
2798
+ cb = value.handler;
2799
+ options = value;
2800
+ }
2801
+ const reset = setCurrentInstance(this);
2802
+ const res = doWatch(getter, cb.bind(publicThis), options);
2803
+ reset();
2804
+ return res;
2805
+ }
2806
+ function createPathGetter(ctx, path) {
2807
+ const segments = path.split(".");
2808
+ return () => {
2809
+ let cur = ctx;
2810
+ for (let i = 0; i < segments.length && cur; i++) {
2811
+ cur = cur[segments[i]];
2812
+ }
2813
+ return cur;
2814
+ };
2815
+ }
2816
+
2817
+ const TeleportEndKey = /* @__PURE__ */ Symbol("_vte");
2734
2818
  const isTeleport = (type) => type.__isTeleport;
2735
2819
  const isTeleportDisabled = (props) => props && (props.disabled || props.disabled === "");
2736
2820
  const isTeleportDeferred = (props) => props && (props.defer || props.defer === "");
@@ -3063,8 +3147,8 @@ function prepareAnchor(target, vnode, createText, insert) {
3063
3147
  return targetAnchor;
3064
3148
  }
3065
3149
 
3066
- const leaveCbKey = Symbol("_leaveCb");
3067
- const enterCbKey$1 = Symbol("_enterCb");
3150
+ const leaveCbKey = /* @__PURE__ */ Symbol("_leaveCb");
3151
+ const enterCbKey$1 = /* @__PURE__ */ Symbol("_enterCb");
3068
3152
  function useTransitionState() {
3069
3153
  const state = {
3070
3154
  isMounted: false,
@@ -4360,7 +4444,9 @@ const KeepAliveImpl = {
4360
4444
  }
4361
4445
  function pruneCache(filter) {
4362
4446
  cache.forEach((vnode, key) => {
4363
- const name = getComponentName(vnode.type);
4447
+ const name = getComponentName(
4448
+ isAsyncWrapper(vnode) ? vnode.type.__asyncResolved || {} : vnode.type
4449
+ );
4364
4450
  if (name && !filter(name)) {
4365
4451
  pruneCacheEntry(key);
4366
4452
  }
@@ -4619,7 +4705,7 @@ const FILTERS = "filters";
4619
4705
  function resolveComponent(name, maybeSelfReference) {
4620
4706
  return resolveAsset(COMPONENTS, name, true, maybeSelfReference) || name;
4621
4707
  }
4622
- const NULL_DYNAMIC_COMPONENT = Symbol.for("v-ndc");
4708
+ const NULL_DYNAMIC_COMPONENT = /* @__PURE__ */ Symbol.for("v-ndc");
4623
4709
  function resolveDynamicComponent(component) {
4624
4710
  if (isString(component)) {
4625
4711
  return resolveAsset(COMPONENTS, component, false) || component;
@@ -5913,7 +5999,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
5913
5999
  return vm;
5914
6000
  }
5915
6001
  }
5916
- Vue.version = `2.6.14-compat:${"3.5.25"}`;
6002
+ Vue.version = `2.6.14-compat:${"3.5.26"}`;
5917
6003
  Vue.config = singletonApp.config;
5918
6004
  Vue.use = (plugin, ...options) => {
5919
6005
  if (plugin && isFunction(plugin.install)) {
@@ -6380,140 +6466,56 @@ function createAppAPI(render, hydrate) {
6380
6466
  }
6381
6467
  let currentApp = null;
6382
6468
 
6383
- function provide(key, value) {
6384
- if (currentInstance) {
6385
- let provides = currentInstance.provides;
6386
- const parentProvides = currentInstance.parent && currentInstance.parent.provides;
6387
- if (parentProvides === provides) {
6388
- provides = currentInstance.provides = Object.create(parentProvides);
6389
- }
6390
- provides[key] = value;
6391
- }
6392
- }
6393
- function inject(key, defaultValue, treatDefaultAsFactory = false) {
6394
- const instance = getCurrentInstance();
6395
- if (instance || currentApp) {
6396
- let provides = currentApp ? currentApp._context.provides : instance ? instance.parent == null || instance.ce ? instance.vnode.appContext && instance.vnode.appContext.provides : instance.parent.provides : void 0;
6397
- if (provides && key in provides) {
6398
- return provides[key];
6399
- } else if (arguments.length > 1) {
6400
- return treatDefaultAsFactory && isFunction(defaultValue) ? defaultValue.call(instance && instance.proxy) : defaultValue;
6401
- } else ;
6402
- }
6403
- }
6404
- function hasInjectionContext() {
6405
- return !!(getCurrentInstance() || currentApp);
6406
- }
6407
-
6408
- const ssrContextKey = Symbol.for("v-scx");
6409
- const useSSRContext = () => {
6410
- {
6411
- const ctx = inject(ssrContextKey);
6412
- return ctx;
6413
- }
6414
- };
6415
-
6416
- function watchEffect(effect, options) {
6417
- return doWatch(effect, null, options);
6418
- }
6419
- function watchPostEffect(effect, options) {
6420
- return doWatch(
6421
- effect,
6422
- null,
6423
- { flush: "post" }
6424
- );
6425
- }
6426
- function watchSyncEffect(effect, options) {
6427
- return doWatch(
6428
- effect,
6429
- null,
6430
- { flush: "sync" }
6431
- );
6432
- }
6433
- function watch(source, cb, options) {
6434
- return doWatch(source, cb, options);
6435
- }
6436
- function doWatch(source, cb, options = EMPTY_OBJ) {
6437
- const { immediate, deep, flush, once } = options;
6438
- const baseWatchOptions = extend$1({}, options);
6439
- const runsImmediately = cb && immediate || !cb && flush !== "post";
6440
- let ssrCleanup;
6441
- if (isInSSRComponentSetup) {
6442
- if (flush === "sync") {
6443
- const ctx = useSSRContext();
6444
- ssrCleanup = ctx.__watcherHandles || (ctx.__watcherHandles = []);
6445
- } else if (!runsImmediately) {
6446
- const watchStopHandle = () => {
6447
- };
6448
- watchStopHandle.stop = NOOP;
6449
- watchStopHandle.resume = NOOP;
6450
- watchStopHandle.pause = NOOP;
6451
- return watchStopHandle;
6452
- }
6453
- }
6454
- const instance = currentInstance;
6455
- baseWatchOptions.call = (fn, type, args) => callWithAsyncErrorHandling(fn, instance, type, args);
6456
- let isPre = false;
6457
- if (flush === "post") {
6458
- baseWatchOptions.scheduler = (job) => {
6459
- queuePostRenderEffect(job, instance && instance.suspense);
6460
- };
6461
- } else if (flush !== "sync") {
6462
- isPre = true;
6463
- baseWatchOptions.scheduler = (job, isFirstRun) => {
6464
- if (isFirstRun) {
6465
- job();
6466
- } else {
6467
- queueJob(job);
6468
- }
6469
- };
6470
- }
6471
- baseWatchOptions.augmentJob = (job) => {
6472
- if (cb) {
6473
- job.flags |= 4;
6469
+ const compatModelEventPrefix = `onModelCompat:`;
6470
+ function convertLegacyVModelProps(vnode) {
6471
+ const { type, shapeFlag, props, dynamicProps } = vnode;
6472
+ const comp = type;
6473
+ if (shapeFlag & 6 && props && "modelValue" in props) {
6474
+ if (!isCompatEnabled$1(
6475
+ "COMPONENT_V_MODEL",
6476
+ // this is a special case where we want to use the vnode component's
6477
+ // compat config instead of the current rendering instance (which is the
6478
+ // parent of the component that exposes v-model)
6479
+ { type }
6480
+ )) {
6481
+ return;
6474
6482
  }
6475
- if (isPre) {
6476
- job.flags |= 2;
6477
- if (instance) {
6478
- job.id = instance.uid;
6479
- job.i = instance;
6480
- }
6483
+ const model = comp.model || {};
6484
+ applyModelFromMixins(model, comp.mixins);
6485
+ const { prop = "value", event = "input" } = model;
6486
+ if (prop !== "modelValue") {
6487
+ props[prop] = props.modelValue;
6488
+ delete props.modelValue;
6481
6489
  }
6482
- };
6483
- const watchHandle = watch$1(source, cb, baseWatchOptions);
6484
- if (isInSSRComponentSetup) {
6485
- if (ssrCleanup) {
6486
- ssrCleanup.push(watchHandle);
6487
- } else if (runsImmediately) {
6488
- watchHandle();
6490
+ if (dynamicProps) {
6491
+ dynamicProps[dynamicProps.indexOf("modelValue")] = prop;
6489
6492
  }
6493
+ props[compatModelEventPrefix + event] = props["onUpdate:modelValue"];
6494
+ delete props["onUpdate:modelValue"];
6490
6495
  }
6491
- return watchHandle;
6492
6496
  }
6493
- function instanceWatch(source, value, options) {
6494
- const publicThis = this.proxy;
6495
- const getter = isString(source) ? source.includes(".") ? createPathGetter(publicThis, source) : () => publicThis[source] : source.bind(publicThis, publicThis);
6496
- let cb;
6497
- if (isFunction(value)) {
6498
- cb = value;
6499
- } else {
6500
- cb = value.handler;
6501
- options = value;
6497
+ function applyModelFromMixins(model, mixins) {
6498
+ if (mixins) {
6499
+ mixins.forEach((m) => {
6500
+ if (m.model) extend$1(model, m.model);
6501
+ if (m.mixins) applyModelFromMixins(model, m.mixins);
6502
+ });
6502
6503
  }
6503
- const reset = setCurrentInstance(this);
6504
- const res = doWatch(getter, cb.bind(publicThis), options);
6505
- reset();
6506
- return res;
6507
6504
  }
6508
- function createPathGetter(ctx, path) {
6509
- const segments = path.split(".");
6510
- return () => {
6511
- let cur = ctx;
6512
- for (let i = 0; i < segments.length && cur; i++) {
6513
- cur = cur[segments[i]];
6514
- }
6515
- return cur;
6516
- };
6505
+ function compatModelEmit(instance, event, args) {
6506
+ if (!isCompatEnabled$1("COMPONENT_V_MODEL", instance)) {
6507
+ return;
6508
+ }
6509
+ const props = instance.vnode.props;
6510
+ const modelHandler = props && props[compatModelEventPrefix + event];
6511
+ if (modelHandler) {
6512
+ callWithErrorHandling(
6513
+ modelHandler,
6514
+ instance,
6515
+ 6,
6516
+ args
6517
+ );
6518
+ }
6517
6519
  }
6518
6520
 
6519
6521
  function useModel(props, name, options = EMPTY_OBJ) {
@@ -7466,7 +7468,9 @@ function baseCreateRenderer(options, createHydrationFns) {
7466
7468
  } else {
7467
7469
  const el = n2.el = n1.el;
7468
7470
  if (n2.children !== n1.children) {
7469
- hostSetText(el, n2.children);
7471
+ {
7472
+ hostSetText(el, n2.children);
7473
+ }
7470
7474
  }
7471
7475
  }
7472
7476
  };
@@ -7811,7 +7815,7 @@ function baseCreateRenderer(options, createHydrationFns) {
7811
7815
  } else {
7812
7816
  if (patchFlag > 0 && patchFlag & 64 && dynamicChildren && // #2715 the previous fragment could've been a BAILed one as a result
7813
7817
  // of renderSlot() with no valid children
7814
- n1.dynamicChildren) {
7818
+ n1.dynamicChildren && n1.dynamicChildren.length === dynamicChildren.length) {
7815
7819
  patchBlockChildren(
7816
7820
  n1.dynamicChildren,
7817
7821
  dynamicChildren,
@@ -8353,8 +8357,8 @@ function baseCreateRenderer(options, createHydrationFns) {
8353
8357
  const nextChild = c2[nextIndex];
8354
8358
  const anchorVNode = c2[nextIndex + 1];
8355
8359
  const anchor = nextIndex + 1 < l2 ? (
8356
- // #13559, fallback to el placeholder for unresolved async component
8357
- anchorVNode.el || anchorVNode.placeholder
8360
+ // #13559, #14173 fallback to el placeholder for unresolved async component
8361
+ anchorVNode.el || resolveAsyncComponentPlaceholder(anchorVNode)
8358
8362
  ) : parentAnchor;
8359
8363
  if (newIndexToOldIndexMap[i] === 0) {
8360
8364
  patch(
@@ -8605,9 +8609,11 @@ function baseCreateRenderer(options, createHydrationFns) {
8605
8609
  };
8606
8610
  let isFlushing = false;
8607
8611
  const render = (vnode, container, namespace) => {
8612
+ let instance;
8608
8613
  if (vnode == null) {
8609
8614
  if (container._vnode) {
8610
8615
  unmount(container._vnode, null, null, true);
8616
+ instance = container._vnode.component;
8611
8617
  }
8612
8618
  } else {
8613
8619
  patch(
@@ -8623,7 +8629,7 @@ function baseCreateRenderer(options, createHydrationFns) {
8623
8629
  container._vnode = vnode;
8624
8630
  if (!isFlushing) {
8625
8631
  isFlushing = true;
8626
- flushPreFlushCbs();
8632
+ flushPreFlushCbs(instance);
8627
8633
  flushPostFlushCbs();
8628
8634
  isFlushing = false;
8629
8635
  }
@@ -8683,9 +8689,13 @@ function traverseStaticChildren(n1, n2, shallow = false) {
8683
8689
  if (!shallow && c2.patchFlag !== -2)
8684
8690
  traverseStaticChildren(c1, c2);
8685
8691
  }
8686
- if (c2.type === Text && // avoid cached text nodes retaining detached dom nodes
8687
- c2.patchFlag !== -1) {
8688
- c2.el = c1.el;
8692
+ if (c2.type === Text) {
8693
+ if (c2.patchFlag !== -1) {
8694
+ c2.el = c1.el;
8695
+ } else {
8696
+ c2.__elIndex = i + // take fragment start anchor into account
8697
+ (n1.type === Fragment ? 1 : 0);
8698
+ }
8689
8699
  }
8690
8700
  if (c2.type === Comment && !c2.el) {
8691
8701
  c2.el = c1.el;
@@ -8749,6 +8759,16 @@ function invalidateMount(hooks) {
8749
8759
  hooks[i].flags |= 8;
8750
8760
  }
8751
8761
  }
8762
+ function resolveAsyncComponentPlaceholder(anchorVnode) {
8763
+ if (anchorVnode.placeholder) {
8764
+ return anchorVnode.placeholder;
8765
+ }
8766
+ const instance = anchorVnode.component;
8767
+ if (instance) {
8768
+ return resolveAsyncComponentPlaceholder(instance.subTree);
8769
+ }
8770
+ return null;
8771
+ }
8752
8772
 
8753
8773
  const isSuspense = (type) => type.__isSuspense;
8754
8774
  let suspenseId = 0;
@@ -9377,10 +9397,10 @@ function convertLegacyComponent(comp, instance) {
9377
9397
  return comp;
9378
9398
  }
9379
9399
 
9380
- const Fragment = Symbol.for("v-fgt");
9381
- const Text = Symbol.for("v-txt");
9382
- const Comment = Symbol.for("v-cmt");
9383
- const Static = Symbol.for("v-stc");
9400
+ const Fragment = /* @__PURE__ */ Symbol.for("v-fgt");
9401
+ const Text = /* @__PURE__ */ Symbol.for("v-txt");
9402
+ const Comment = /* @__PURE__ */ Symbol.for("v-cmt");
9403
+ const Static = /* @__PURE__ */ Symbol.for("v-stc");
9384
9404
  const blockStack = [];
9385
9405
  let currentBlock = null;
9386
9406
  function openBlock(disableTracking = false) {
@@ -10088,7 +10108,7 @@ function isMemoSame(cached, memo) {
10088
10108
  return true;
10089
10109
  }
10090
10110
 
10091
- const version = "3.5.25";
10111
+ const version = "3.5.26";
10092
10112
  const warn$1 = NOOP;
10093
10113
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
10094
10114
  const devtools = void 0;
@@ -10199,7 +10219,7 @@ const nodeOps = {
10199
10219
 
10200
10220
  const TRANSITION$1 = "transition";
10201
10221
  const ANIMATION = "animation";
10202
- const vtcKey = Symbol("_vtc");
10222
+ const vtcKey = /* @__PURE__ */ Symbol("_vtc");
10203
10223
  const DOMTransitionPropsValidators = {
10204
10224
  name: String,
10205
10225
  type: String,
@@ -10526,8 +10546,8 @@ function patchClass(el, value, isSVG) {
10526
10546
  }
10527
10547
  }
10528
10548
 
10529
- const vShowOriginalDisplay = Symbol("_vod");
10530
- const vShowHidden = Symbol("_vsh");
10549
+ const vShowOriginalDisplay = /* @__PURE__ */ Symbol("_vod");
10550
+ const vShowHidden = /* @__PURE__ */ Symbol("_vsh");
10531
10551
  const vShow = {
10532
10552
  // used for prop mismatch check during hydration
10533
10553
  name: "show",
@@ -10576,7 +10596,7 @@ function initVShowForSSR() {
10576
10596
  };
10577
10597
  }
10578
10598
 
10579
- const CSS_VAR_TEXT = Symbol("");
10599
+ const CSS_VAR_TEXT = /* @__PURE__ */ Symbol("");
10580
10600
  function useCssVars(getter) {
10581
10601
  return;
10582
10602
  }
@@ -10698,7 +10718,7 @@ function patchAttr(el, key, value, isSVG, instance, isBoolean = isSpecialBoolean
10698
10718
  const isEnumeratedAttr = /* @__PURE__ */ makeMap("contenteditable,draggable,spellcheck") ;
10699
10719
  function compatCoerceAttr(el, key, value, instance = null) {
10700
10720
  if (isEnumeratedAttr(key)) {
10701
- const v2CoercedValue = value === null ? "false" : typeof value !== "boolean" && value !== void 0 ? "true" : null;
10721
+ const v2CoercedValue = value === void 0 ? null : value === null || value === false || value === "false" ? "false" : "true";
10702
10722
  if (v2CoercedValue && compatUtils.softAssertCompatEnabled(
10703
10723
  "ATTR_ENUMERATED_COERCION",
10704
10724
  instance,
@@ -10783,7 +10803,7 @@ function addEventListener(el, event, handler, options) {
10783
10803
  function removeEventListener(el, event, handler, options) {
10784
10804
  el.removeEventListener(event, handler, options);
10785
10805
  }
10786
- const veiKey = Symbol("_vei");
10806
+ const veiKey = /* @__PURE__ */ Symbol("_vei");
10787
10807
  function patchEvent(el, rawName, prevValue, nextValue, instance = null) {
10788
10808
  const invokers = el[veiKey] || (el[veiKey] = {});
10789
10809
  const existingInvoker = invokers[rawName];
@@ -11349,8 +11369,8 @@ function useCssModule(name = "$style") {
11349
11369
 
11350
11370
  const positionMap = /* @__PURE__ */ new WeakMap();
11351
11371
  const newPositionMap = /* @__PURE__ */ new WeakMap();
11352
- const moveCbKey = Symbol("_moveCb");
11353
- const enterCbKey = Symbol("_enterCb");
11372
+ const moveCbKey = /* @__PURE__ */ Symbol("_moveCb");
11373
+ const enterCbKey = /* @__PURE__ */ Symbol("_enterCb");
11354
11374
  const decorate = (t) => {
11355
11375
  delete t.props.mode;
11356
11376
  {
@@ -11510,7 +11530,7 @@ function onCompositionEnd(e) {
11510
11530
  target.dispatchEvent(new Event("input"));
11511
11531
  }
11512
11532
  }
11513
- const assignKey = Symbol("_assign");
11533
+ const assignKey = /* @__PURE__ */ Symbol("_assign");
11514
11534
  function castValue(value, trim, number) {
11515
11535
  if (trim) value = value.trim();
11516
11536
  if (number) value = looseToNumber(value);
@@ -12116,81 +12136,81 @@ function createCompatVue() {
12116
12136
  return Vue;
12117
12137
  }
12118
12138
 
12119
- const FRAGMENT = Symbol(``);
12120
- const TELEPORT = Symbol(``);
12121
- const SUSPENSE = Symbol(``);
12122
- const KEEP_ALIVE = Symbol(``);
12123
- const BASE_TRANSITION = Symbol(
12139
+ const FRAGMENT = /* @__PURE__ */ Symbol(``);
12140
+ const TELEPORT = /* @__PURE__ */ Symbol(``);
12141
+ const SUSPENSE = /* @__PURE__ */ Symbol(``);
12142
+ const KEEP_ALIVE = /* @__PURE__ */ Symbol(``);
12143
+ const BASE_TRANSITION = /* @__PURE__ */ Symbol(
12124
12144
  ``
12125
12145
  );
12126
- const OPEN_BLOCK = Symbol(``);
12127
- const CREATE_BLOCK = Symbol(``);
12128
- const CREATE_ELEMENT_BLOCK = Symbol(
12146
+ const OPEN_BLOCK = /* @__PURE__ */ Symbol(``);
12147
+ const CREATE_BLOCK = /* @__PURE__ */ Symbol(``);
12148
+ const CREATE_ELEMENT_BLOCK = /* @__PURE__ */ Symbol(
12129
12149
  ``
12130
12150
  );
12131
- const CREATE_VNODE = Symbol(``);
12132
- const CREATE_ELEMENT_VNODE = Symbol(
12151
+ const CREATE_VNODE = /* @__PURE__ */ Symbol(``);
12152
+ const CREATE_ELEMENT_VNODE = /* @__PURE__ */ Symbol(
12133
12153
  ``
12134
12154
  );
12135
- const CREATE_COMMENT = Symbol(
12155
+ const CREATE_COMMENT = /* @__PURE__ */ Symbol(
12136
12156
  ``
12137
12157
  );
12138
- const CREATE_TEXT = Symbol(
12158
+ const CREATE_TEXT = /* @__PURE__ */ Symbol(
12139
12159
  ``
12140
12160
  );
12141
- const CREATE_STATIC = Symbol(
12161
+ const CREATE_STATIC = /* @__PURE__ */ Symbol(
12142
12162
  ``
12143
12163
  );
12144
- const RESOLVE_COMPONENT = Symbol(
12164
+ const RESOLVE_COMPONENT = /* @__PURE__ */ Symbol(
12145
12165
  ``
12146
12166
  );
12147
- const RESOLVE_DYNAMIC_COMPONENT = Symbol(
12167
+ const RESOLVE_DYNAMIC_COMPONENT = /* @__PURE__ */ Symbol(
12148
12168
  ``
12149
12169
  );
12150
- const RESOLVE_DIRECTIVE = Symbol(
12170
+ const RESOLVE_DIRECTIVE = /* @__PURE__ */ Symbol(
12151
12171
  ``
12152
12172
  );
12153
- const RESOLVE_FILTER = Symbol(
12173
+ const RESOLVE_FILTER = /* @__PURE__ */ Symbol(
12154
12174
  ``
12155
12175
  );
12156
- const WITH_DIRECTIVES = Symbol(
12176
+ const WITH_DIRECTIVES = /* @__PURE__ */ Symbol(
12157
12177
  ``
12158
12178
  );
12159
- const RENDER_LIST = Symbol(``);
12160
- const RENDER_SLOT = Symbol(``);
12161
- const CREATE_SLOTS = Symbol(``);
12162
- const TO_DISPLAY_STRING = Symbol(
12179
+ const RENDER_LIST = /* @__PURE__ */ Symbol(``);
12180
+ const RENDER_SLOT = /* @__PURE__ */ Symbol(``);
12181
+ const CREATE_SLOTS = /* @__PURE__ */ Symbol(``);
12182
+ const TO_DISPLAY_STRING = /* @__PURE__ */ Symbol(
12163
12183
  ``
12164
12184
  );
12165
- const MERGE_PROPS = Symbol(``);
12166
- const NORMALIZE_CLASS = Symbol(
12185
+ const MERGE_PROPS = /* @__PURE__ */ Symbol(``);
12186
+ const NORMALIZE_CLASS = /* @__PURE__ */ Symbol(
12167
12187
  ``
12168
12188
  );
12169
- const NORMALIZE_STYLE = Symbol(
12189
+ const NORMALIZE_STYLE = /* @__PURE__ */ Symbol(
12170
12190
  ``
12171
12191
  );
12172
- const NORMALIZE_PROPS = Symbol(
12192
+ const NORMALIZE_PROPS = /* @__PURE__ */ Symbol(
12173
12193
  ``
12174
12194
  );
12175
- const GUARD_REACTIVE_PROPS = Symbol(
12195
+ const GUARD_REACTIVE_PROPS = /* @__PURE__ */ Symbol(
12176
12196
  ``
12177
12197
  );
12178
- const TO_HANDLERS = Symbol(``);
12179
- const CAMELIZE = Symbol(``);
12180
- const CAPITALIZE = Symbol(``);
12181
- const TO_HANDLER_KEY = Symbol(
12198
+ const TO_HANDLERS = /* @__PURE__ */ Symbol(``);
12199
+ const CAMELIZE = /* @__PURE__ */ Symbol(``);
12200
+ const CAPITALIZE = /* @__PURE__ */ Symbol(``);
12201
+ const TO_HANDLER_KEY = /* @__PURE__ */ Symbol(
12182
12202
  ``
12183
12203
  );
12184
- const SET_BLOCK_TRACKING = Symbol(
12204
+ const SET_BLOCK_TRACKING = /* @__PURE__ */ Symbol(
12185
12205
  ``
12186
12206
  );
12187
- const PUSH_SCOPE_ID = Symbol(``);
12188
- const POP_SCOPE_ID = Symbol(``);
12189
- const WITH_CTX = Symbol(``);
12190
- const UNREF = Symbol(``);
12191
- const IS_REF = Symbol(``);
12192
- const WITH_MEMO = Symbol(``);
12193
- const IS_MEMO_SAME = Symbol(``);
12207
+ const PUSH_SCOPE_ID = /* @__PURE__ */ Symbol(``);
12208
+ const POP_SCOPE_ID = /* @__PURE__ */ Symbol(``);
12209
+ const WITH_CTX = /* @__PURE__ */ Symbol(``);
12210
+ const UNREF = /* @__PURE__ */ Symbol(``);
12211
+ const IS_REF = /* @__PURE__ */ Symbol(``);
12212
+ const WITH_MEMO = /* @__PURE__ */ Symbol(``);
12213
+ const IS_MEMO_SAME = /* @__PURE__ */ Symbol(``);
12194
12214
  const helperNameMap = {
12195
12215
  [FRAGMENT]: `Fragment`,
12196
12216
  [TELEPORT]: `Teleport`,
@@ -12460,8 +12480,8 @@ class Tokenizer {
12460
12480
  this.currentSequence = void 0;
12461
12481
  this.sequenceIndex = 0;
12462
12482
  {
12463
- this.entityDecoder = new decode_js.EntityDecoder(
12464
- decode_js.htmlDecodeTree,
12483
+ this.entityDecoder = new decode.EntityDecoder(
12484
+ decode.htmlDecodeTree,
12465
12485
  (cp, consumed) => this.emitCodePoint(cp, consumed)
12466
12486
  );
12467
12487
  }
@@ -12491,14 +12511,28 @@ class Tokenizer {
12491
12511
  getPos(index) {
12492
12512
  let line = 1;
12493
12513
  let column = index + 1;
12494
- for (let i = this.newlines.length - 1; i >= 0; i--) {
12495
- const newlineIndex = this.newlines[i];
12496
- if (index > newlineIndex) {
12497
- line = i + 2;
12498
- column = index - newlineIndex;
12499
- break;
12514
+ const length = this.newlines.length;
12515
+ let j = -1;
12516
+ if (length > 100) {
12517
+ let l = -1;
12518
+ let r = length;
12519
+ while (l + 1 < r) {
12520
+ const m = l + r >>> 1;
12521
+ this.newlines[m] < index ? l = m : r = m;
12522
+ }
12523
+ j = l;
12524
+ } else {
12525
+ for (let i = length - 1; i >= 0; i--) {
12526
+ if (index > this.newlines[i]) {
12527
+ j = i;
12528
+ break;
12529
+ }
12500
12530
  }
12501
12531
  }
12532
+ if (j >= 0) {
12533
+ line = j + 2;
12534
+ column = index - this.newlines[j];
12535
+ }
12502
12536
  return {
12503
12537
  column,
12504
12538
  line,
@@ -13011,7 +13045,7 @@ class Tokenizer {
13011
13045
  this.state = 33;
13012
13046
  this.entityStart = this.index;
13013
13047
  this.entityDecoder.startEntity(
13014
- this.baseState === 1 || this.baseState === 32 ? decode_js.DecodingMode.Legacy : decode_js.DecodingMode.Attribute
13048
+ this.baseState === 1 || this.baseState === 32 ? decode.DecodingMode.Legacy : decode.DecodingMode.Attribute
13015
13049
  );
13016
13050
  }
13017
13051
  }
@@ -13230,7 +13264,7 @@ class Tokenizer {
13230
13264
  this.sectionStart = this.entityStart + consumed;
13231
13265
  this.index = this.sectionStart - 1;
13232
13266
  this.cbs.onattribentity(
13233
- decode_js.fromCodePoint(cp),
13267
+ decode.fromCodePoint(cp),
13234
13268
  this.entityStart,
13235
13269
  this.sectionStart
13236
13270
  );
@@ -13241,7 +13275,7 @@ class Tokenizer {
13241
13275
  this.sectionStart = this.entityStart + consumed;
13242
13276
  this.index = this.sectionStart - 1;
13243
13277
  this.cbs.ontextentity(
13244
- decode_js.fromCodePoint(cp),
13278
+ decode.fromCodePoint(cp),
13245
13279
  this.entityStart,
13246
13280
  this.sectionStart
13247
13281
  );
@@ -13319,7 +13353,7 @@ const errorMessages = {
13319
13353
  [32]: `v-for has invalid expression.`,
13320
13354
  [33]: `<template v-for> key should be placed on the <template> tag.`,
13321
13355
  [34]: `v-bind is missing expression.`,
13322
- [52]: `v-bind with same-name shorthand only allows static argument.`,
13356
+ [53]: `v-bind with same-name shorthand only allows static argument.`,
13323
13357
  [35]: `v-on is missing expression.`,
13324
13358
  [36]: `Unexpected custom directive on <slot> outlet.`,
13325
13359
  [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.`,
@@ -13331,16 +13365,17 @@ const errorMessages = {
13331
13365
  [43]: `v-model cannot be used on v-for or v-slot scope variables because they are not writable.`,
13332
13366
  [44]: `v-model cannot be used on a prop, because local prop bindings are not writable.
13333
13367
  Use a v-bind binding combined with a v-on listener that emits update:x event instead.`,
13334
- [45]: `Error parsing JavaScript expression: `,
13335
- [46]: `<KeepAlive> expects exactly one child component.`,
13336
- [51]: `@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.`,
13368
+ [45]: `v-model cannot be used on a const binding because it is not writable.`,
13369
+ [46]: `Error parsing JavaScript expression: `,
13370
+ [47]: `<KeepAlive> expects exactly one child component.`,
13371
+ [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.`,
13337
13372
  // generic errors
13338
- [47]: `"prefixIdentifiers" option is not supported in this build of compiler.`,
13339
- [48]: `ES module mode is not supported in this build of compiler.`,
13340
- [49]: `"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.`,
13341
- [50]: `"scopeId" option is only supported in module mode.`,
13373
+ [48]: `"prefixIdentifiers" option is not supported in this build of compiler.`,
13374
+ [49]: `ES module mode is not supported in this build of compiler.`,
13375
+ [50]: `"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.`,
13376
+ [51]: `"scopeId" option is only supported in module mode.`,
13342
13377
  // just to fulfill types
13343
- [53]: ``
13378
+ [54]: ``
13344
13379
  };
13345
13380
 
13346
13381
  function walkIdentifiers(root, onIdentifier, includeAll = false, parentStack = [], knownIds = /* @__PURE__ */ Object.create(null)) {
@@ -14059,7 +14094,7 @@ const tokenizer = new Tokenizer(stack, {
14059
14094
  let exp = getSlice(innerStart, innerEnd);
14060
14095
  if (exp.includes("&")) {
14061
14096
  {
14062
- exp = decode_js.decodeHTML(exp);
14097
+ exp = decode.decodeHTML(exp);
14063
14098
  }
14064
14099
  }
14065
14100
  addNode({
@@ -14690,7 +14725,7 @@ function createExp(content, isStatic = false, loc, constType = 0, parseMode = 0
14690
14725
  }
14691
14726
  } catch (e) {
14692
14727
  exp.ast = false;
14693
- emitError(45, loc.start.offset, e.message);
14728
+ emitError(46, loc.start.offset, e.message);
14694
14729
  }
14695
14730
  }
14696
14731
  return exp;
@@ -16221,7 +16256,7 @@ function processExpression(node, context, asParams = false, asRawStatements = fa
16221
16256
  } catch (e) {
16222
16257
  context.onError(
16223
16258
  createCompilerError(
16224
- 45,
16259
+ 46,
16225
16260
  node.loc,
16226
16261
  void 0,
16227
16262
  e.message
@@ -17986,6 +18021,10 @@ const transformModel$1 = (dir, node, context) => {
17986
18021
  context.onError(createCompilerError(44, exp.loc));
17987
18022
  return createTransformProps();
17988
18023
  }
18024
+ if (bindingType === "literal-const" || bindingType === "setup-const") {
18025
+ context.onError(createCompilerError(45, exp.loc));
18026
+ return createTransformProps();
18027
+ }
17989
18028
  const maybeRef = context.inline && (bindingType === "setup-let" || bindingType === "setup-ref" || bindingType === "setup-maybe-ref");
17990
18029
  if (!expString.trim() || !isMemberExpression(exp, context) && !maybeRef) {
17991
18030
  context.onError(
@@ -18234,7 +18273,7 @@ const transformVBindShorthand = (node, context) => {
18234
18273
  if (arg.type !== 4 || !arg.isStatic) {
18235
18274
  context.onError(
18236
18275
  createCompilerError(
18237
- 52,
18276
+ 53,
18238
18277
  arg.loc
18239
18278
  )
18240
18279
  );
@@ -18282,10 +18321,10 @@ function baseCompile(source, options = {}) {
18282
18321
  const isModuleMode = options.mode === "module";
18283
18322
  const prefixIdentifiers = options.prefixIdentifiers === true || isModuleMode;
18284
18323
  if (!prefixIdentifiers && options.cacheHandlers) {
18285
- onError(createCompilerError(49));
18324
+ onError(createCompilerError(50));
18286
18325
  }
18287
18326
  if (options.scopeId && !isModuleMode) {
18288
- onError(createCompilerError(50));
18327
+ onError(createCompilerError(51));
18289
18328
  }
18290
18329
  const resolvedOptions = extend$1({}, options, {
18291
18330
  prefixIdentifiers
@@ -18319,26 +18358,26 @@ function baseCompile(source, options = {}) {
18319
18358
 
18320
18359
  const noopDirectiveTransform = () => ({ props: [] });
18321
18360
 
18322
- const V_MODEL_RADIO = Symbol(``);
18323
- const V_MODEL_CHECKBOX = Symbol(
18361
+ const V_MODEL_RADIO = /* @__PURE__ */ Symbol(``);
18362
+ const V_MODEL_CHECKBOX = /* @__PURE__ */ Symbol(
18324
18363
  ``
18325
18364
  );
18326
- const V_MODEL_TEXT = Symbol(``);
18327
- const V_MODEL_SELECT = Symbol(
18365
+ const V_MODEL_TEXT = /* @__PURE__ */ Symbol(``);
18366
+ const V_MODEL_SELECT = /* @__PURE__ */ Symbol(
18328
18367
  ``
18329
18368
  );
18330
- const V_MODEL_DYNAMIC = Symbol(
18369
+ const V_MODEL_DYNAMIC = /* @__PURE__ */ Symbol(
18331
18370
  ``
18332
18371
  );
18333
- const V_ON_WITH_MODIFIERS = Symbol(
18372
+ const V_ON_WITH_MODIFIERS = /* @__PURE__ */ Symbol(
18334
18373
  ``
18335
18374
  );
18336
- const V_ON_WITH_KEYS = Symbol(
18375
+ const V_ON_WITH_KEYS = /* @__PURE__ */ Symbol(
18337
18376
  ``
18338
18377
  );
18339
- const V_SHOW = Symbol(``);
18340
- const TRANSITION = Symbol(``);
18341
- const TRANSITION_GROUP = Symbol(
18378
+ const V_SHOW = /* @__PURE__ */ Symbol(``);
18379
+ const TRANSITION = /* @__PURE__ */ Symbol(``);
18380
+ const TRANSITION_GROUP = /* @__PURE__ */ Symbol(
18342
18381
  ``
18343
18382
  );
18344
18383
  registerRuntimeHelpers({
@@ -18435,29 +18474,29 @@ function createDOMCompilerError(code, loc) {
18435
18474
  );
18436
18475
  }
18437
18476
  const DOMErrorMessages = {
18438
- [53]: `v-html is missing expression.`,
18439
- [54]: `v-html will override element children.`,
18440
- [55]: `v-text is missing expression.`,
18441
- [56]: `v-text will override element children.`,
18442
- [57]: `v-model can only be used on <input>, <textarea> and <select> elements.`,
18443
- [58]: `v-model argument is not supported on plain elements.`,
18444
- [59]: `v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.`,
18445
- [60]: `Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.`,
18446
- [61]: `v-show is missing expression.`,
18447
- [62]: `<Transition> expects exactly one child element or component.`,
18448
- [63]: `Tags with side effect (<script> and <style>) are ignored in client component templates.`
18477
+ [54]: `v-html is missing expression.`,
18478
+ [55]: `v-html will override element children.`,
18479
+ [56]: `v-text is missing expression.`,
18480
+ [57]: `v-text will override element children.`,
18481
+ [58]: `v-model can only be used on <input>, <textarea> and <select> elements.`,
18482
+ [59]: `v-model argument is not supported on plain elements.`,
18483
+ [60]: `v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.`,
18484
+ [61]: `Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.`,
18485
+ [62]: `v-show is missing expression.`,
18486
+ [63]: `<Transition> expects exactly one child element or component.`,
18487
+ [64]: `Tags with side effect (<script> and <style>) are ignored in client component templates.`
18449
18488
  };
18450
18489
 
18451
18490
  const transformVHtml = (dir, node, context) => {
18452
18491
  const { exp, loc } = dir;
18453
18492
  if (!exp) {
18454
18493
  context.onError(
18455
- createDOMCompilerError(53, loc)
18494
+ createDOMCompilerError(54, loc)
18456
18495
  );
18457
18496
  }
18458
18497
  if (node.children.length) {
18459
18498
  context.onError(
18460
- createDOMCompilerError(54, loc)
18499
+ createDOMCompilerError(55, loc)
18461
18500
  );
18462
18501
  node.children.length = 0;
18463
18502
  }
@@ -18475,12 +18514,12 @@ const transformVText = (dir, node, context) => {
18475
18514
  const { exp, loc } = dir;
18476
18515
  if (!exp) {
18477
18516
  context.onError(
18478
- createDOMCompilerError(55, loc)
18517
+ createDOMCompilerError(56, loc)
18479
18518
  );
18480
18519
  }
18481
18520
  if (node.children.length) {
18482
18521
  context.onError(
18483
- createDOMCompilerError(56, loc)
18522
+ createDOMCompilerError(57, loc)
18484
18523
  );
18485
18524
  node.children.length = 0;
18486
18525
  }
@@ -18506,7 +18545,7 @@ const transformModel = (dir, node, context) => {
18506
18545
  if (dir.arg) {
18507
18546
  context.onError(
18508
18547
  createDOMCompilerError(
18509
- 58,
18548
+ 59,
18510
18549
  dir.arg.loc
18511
18550
  )
18512
18551
  );
@@ -18533,7 +18572,7 @@ const transformModel = (dir, node, context) => {
18533
18572
  isInvalidType = true;
18534
18573
  context.onError(
18535
18574
  createDOMCompilerError(
18536
- 59,
18575
+ 60,
18537
18576
  dir.loc
18538
18577
  )
18539
18578
  );
@@ -18552,7 +18591,7 @@ const transformModel = (dir, node, context) => {
18552
18591
  } else {
18553
18592
  context.onError(
18554
18593
  createDOMCompilerError(
18555
- 57,
18594
+ 58,
18556
18595
  dir.loc
18557
18596
  )
18558
18597
  );
@@ -18658,7 +18697,7 @@ const transformShow = (dir, node, context) => {
18658
18697
  const { exp, loc } = dir;
18659
18698
  if (!exp) {
18660
18699
  context.onError(
18661
- createDOMCompilerError(61, loc)
18700
+ createDOMCompilerError(62, loc)
18662
18701
  );
18663
18702
  }
18664
18703
  return {