@vue/runtime-dom 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/runtime-dom v3.5.25
2
+ * @vue/runtime-dom v3.5.26
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -929,13 +929,13 @@ function addSub(link) {
929
929
  }
930
930
  }
931
931
  const targetMap = /* @__PURE__ */ new WeakMap();
932
- const ITERATE_KEY = Symbol(
932
+ const ITERATE_KEY = /* @__PURE__ */ Symbol(
933
933
  "Object iterate"
934
934
  );
935
- const MAP_KEY_ITERATE_KEY = Symbol(
935
+ const MAP_KEY_ITERATE_KEY = /* @__PURE__ */ Symbol(
936
936
  "Map keys iterate"
937
937
  );
938
- const ARRAY_ITERATE_KEY = Symbol(
938
+ const ARRAY_ITERATE_KEY = /* @__PURE__ */ Symbol(
939
939
  "Array iterate"
940
940
  );
941
941
  function track(target, type, key) {
@@ -2984,7 +2984,180 @@ function invokeDirectiveHook(vnode, prevVNode, instance, name) {
2984
2984
  }
2985
2985
  }
2986
2986
 
2987
- const TeleportEndKey = Symbol("_vte");
2987
+ function provide(key, value) {
2988
+ {
2989
+ if (!currentInstance || currentInstance.isMounted) {
2990
+ warn$1(`provide() can only be used inside setup().`);
2991
+ }
2992
+ }
2993
+ if (currentInstance) {
2994
+ let provides = currentInstance.provides;
2995
+ const parentProvides = currentInstance.parent && currentInstance.parent.provides;
2996
+ if (parentProvides === provides) {
2997
+ provides = currentInstance.provides = Object.create(parentProvides);
2998
+ }
2999
+ provides[key] = value;
3000
+ }
3001
+ }
3002
+ function inject(key, defaultValue, treatDefaultAsFactory = false) {
3003
+ const instance = getCurrentInstance();
3004
+ if (instance || currentApp) {
3005
+ let provides = currentApp ? currentApp._context.provides : instance ? instance.parent == null || instance.ce ? instance.vnode.appContext && instance.vnode.appContext.provides : instance.parent.provides : void 0;
3006
+ if (provides && key in provides) {
3007
+ return provides[key];
3008
+ } else if (arguments.length > 1) {
3009
+ return treatDefaultAsFactory && isFunction(defaultValue) ? defaultValue.call(instance && instance.proxy) : defaultValue;
3010
+ } else {
3011
+ warn$1(`injection "${String(key)}" not found.`);
3012
+ }
3013
+ } else {
3014
+ warn$1(`inject() can only be used inside setup() or functional components.`);
3015
+ }
3016
+ }
3017
+ function hasInjectionContext() {
3018
+ return !!(getCurrentInstance() || currentApp);
3019
+ }
3020
+
3021
+ const ssrContextKey = /* @__PURE__ */ Symbol.for("v-scx");
3022
+ const useSSRContext = () => {
3023
+ {
3024
+ const ctx = inject(ssrContextKey);
3025
+ if (!ctx) {
3026
+ warn$1(
3027
+ `Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build.`
3028
+ );
3029
+ }
3030
+ return ctx;
3031
+ }
3032
+ };
3033
+
3034
+ function watchEffect(effect, options) {
3035
+ return doWatch(effect, null, options);
3036
+ }
3037
+ function watchPostEffect(effect, options) {
3038
+ return doWatch(
3039
+ effect,
3040
+ null,
3041
+ extend({}, options, { flush: "post" })
3042
+ );
3043
+ }
3044
+ function watchSyncEffect(effect, options) {
3045
+ return doWatch(
3046
+ effect,
3047
+ null,
3048
+ extend({}, options, { flush: "sync" })
3049
+ );
3050
+ }
3051
+ function watch(source, cb, options) {
3052
+ if (!isFunction(cb)) {
3053
+ warn$1(
3054
+ `\`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.`
3055
+ );
3056
+ }
3057
+ return doWatch(source, cb, options);
3058
+ }
3059
+ function doWatch(source, cb, options = EMPTY_OBJ) {
3060
+ const { immediate, deep, flush, once } = options;
3061
+ if (!cb) {
3062
+ if (immediate !== void 0) {
3063
+ warn$1(
3064
+ `watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.`
3065
+ );
3066
+ }
3067
+ if (deep !== void 0) {
3068
+ warn$1(
3069
+ `watch() "deep" option is only respected when using the watch(source, callback, options?) signature.`
3070
+ );
3071
+ }
3072
+ if (once !== void 0) {
3073
+ warn$1(
3074
+ `watch() "once" option is only respected when using the watch(source, callback, options?) signature.`
3075
+ );
3076
+ }
3077
+ }
3078
+ const baseWatchOptions = extend({}, options);
3079
+ baseWatchOptions.onWarn = warn$1;
3080
+ const runsImmediately = cb && immediate || !cb && flush !== "post";
3081
+ let ssrCleanup;
3082
+ if (isInSSRComponentSetup) {
3083
+ if (flush === "sync") {
3084
+ const ctx = useSSRContext();
3085
+ ssrCleanup = ctx.__watcherHandles || (ctx.__watcherHandles = []);
3086
+ } else if (!runsImmediately) {
3087
+ const watchStopHandle = () => {
3088
+ };
3089
+ watchStopHandle.stop = NOOP;
3090
+ watchStopHandle.resume = NOOP;
3091
+ watchStopHandle.pause = NOOP;
3092
+ return watchStopHandle;
3093
+ }
3094
+ }
3095
+ const instance = currentInstance;
3096
+ baseWatchOptions.call = (fn, type, args) => callWithAsyncErrorHandling(fn, instance, type, args);
3097
+ let isPre = false;
3098
+ if (flush === "post") {
3099
+ baseWatchOptions.scheduler = (job) => {
3100
+ queuePostRenderEffect(job, instance && instance.suspense);
3101
+ };
3102
+ } else if (flush !== "sync") {
3103
+ isPre = true;
3104
+ baseWatchOptions.scheduler = (job, isFirstRun) => {
3105
+ if (isFirstRun) {
3106
+ job();
3107
+ } else {
3108
+ queueJob(job);
3109
+ }
3110
+ };
3111
+ }
3112
+ baseWatchOptions.augmentJob = (job) => {
3113
+ if (cb) {
3114
+ job.flags |= 4;
3115
+ }
3116
+ if (isPre) {
3117
+ job.flags |= 2;
3118
+ if (instance) {
3119
+ job.id = instance.uid;
3120
+ job.i = instance;
3121
+ }
3122
+ }
3123
+ };
3124
+ const watchHandle = watch$1(source, cb, baseWatchOptions);
3125
+ if (isInSSRComponentSetup) {
3126
+ if (ssrCleanup) {
3127
+ ssrCleanup.push(watchHandle);
3128
+ } else if (runsImmediately) {
3129
+ watchHandle();
3130
+ }
3131
+ }
3132
+ return watchHandle;
3133
+ }
3134
+ function instanceWatch(source, value, options) {
3135
+ const publicThis = this.proxy;
3136
+ const getter = isString(source) ? source.includes(".") ? createPathGetter(publicThis, source) : () => publicThis[source] : source.bind(publicThis, publicThis);
3137
+ let cb;
3138
+ if (isFunction(value)) {
3139
+ cb = value;
3140
+ } else {
3141
+ cb = value.handler;
3142
+ options = value;
3143
+ }
3144
+ const reset = setCurrentInstance(this);
3145
+ const res = doWatch(getter, cb.bind(publicThis), options);
3146
+ reset();
3147
+ return res;
3148
+ }
3149
+ function createPathGetter(ctx, path) {
3150
+ const segments = path.split(".");
3151
+ return () => {
3152
+ let cur = ctx;
3153
+ for (let i = 0; i < segments.length && cur; i++) {
3154
+ cur = cur[segments[i]];
3155
+ }
3156
+ return cur;
3157
+ };
3158
+ }
3159
+
3160
+ const TeleportEndKey = /* @__PURE__ */ Symbol("_vte");
2988
3161
  const isTeleport = (type) => type.__isTeleport;
2989
3162
  const isTeleportDisabled = (props) => props && (props.disabled || props.disabled === "");
2990
3163
  const isTeleportDeferred = (props) => props && (props.defer || props.defer === "");
@@ -3344,8 +3517,8 @@ function prepareAnchor(target, vnode, createText, insert) {
3344
3517
  return targetAnchor;
3345
3518
  }
3346
3519
 
3347
- const leaveCbKey = Symbol("_leaveCb");
3348
- const enterCbKey$1 = Symbol("_enterCb");
3520
+ const leaveCbKey = /* @__PURE__ */ Symbol("_leaveCb");
3521
+ const enterCbKey$1 = /* @__PURE__ */ Symbol("_enterCb");
3349
3522
  function useTransitionState() {
3350
3523
  const state = {
3351
3524
  isMounted: false,
@@ -4882,7 +5055,9 @@ const KeepAliveImpl = {
4882
5055
  }
4883
5056
  function pruneCache(filter) {
4884
5057
  cache.forEach((vnode, key) => {
4885
- const name = getComponentName(vnode.type);
5058
+ const name = getComponentName(
5059
+ isAsyncWrapper(vnode) ? vnode.type.__asyncResolved || {} : vnode.type
5060
+ );
4886
5061
  if (name && !filter(name)) {
4887
5062
  pruneCacheEntry(key);
4888
5063
  }
@@ -5109,7 +5284,7 @@ const DIRECTIVES = "directives";
5109
5284
  function resolveComponent(name, maybeSelfReference) {
5110
5285
  return resolveAsset(COMPONENTS, name, true, maybeSelfReference) || name;
5111
5286
  }
5112
- const NULL_DYNAMIC_COMPONENT = Symbol.for("v-ndc");
5287
+ const NULL_DYNAMIC_COMPONENT = /* @__PURE__ */ Symbol.for("v-ndc");
5113
5288
  function resolveDynamicComponent(component) {
5114
5289
  if (isString(component)) {
5115
5290
  return resolveAsset(COMPONENTS, component, false) || component;
@@ -6273,179 +6448,6 @@ If you want to remount the same app, move your app creation logic into a factory
6273
6448
  }
6274
6449
  let currentApp = null;
6275
6450
 
6276
- function provide(key, value) {
6277
- {
6278
- if (!currentInstance || currentInstance.isMounted) {
6279
- warn$1(`provide() can only be used inside setup().`);
6280
- }
6281
- }
6282
- if (currentInstance) {
6283
- let provides = currentInstance.provides;
6284
- const parentProvides = currentInstance.parent && currentInstance.parent.provides;
6285
- if (parentProvides === provides) {
6286
- provides = currentInstance.provides = Object.create(parentProvides);
6287
- }
6288
- provides[key] = value;
6289
- }
6290
- }
6291
- function inject(key, defaultValue, treatDefaultAsFactory = false) {
6292
- const instance = getCurrentInstance();
6293
- if (instance || currentApp) {
6294
- let provides = currentApp ? currentApp._context.provides : instance ? instance.parent == null || instance.ce ? instance.vnode.appContext && instance.vnode.appContext.provides : instance.parent.provides : void 0;
6295
- if (provides && key in provides) {
6296
- return provides[key];
6297
- } else if (arguments.length > 1) {
6298
- return treatDefaultAsFactory && isFunction(defaultValue) ? defaultValue.call(instance && instance.proxy) : defaultValue;
6299
- } else {
6300
- warn$1(`injection "${String(key)}" not found.`);
6301
- }
6302
- } else {
6303
- warn$1(`inject() can only be used inside setup() or functional components.`);
6304
- }
6305
- }
6306
- function hasInjectionContext() {
6307
- return !!(getCurrentInstance() || currentApp);
6308
- }
6309
-
6310
- const ssrContextKey = Symbol.for("v-scx");
6311
- const useSSRContext = () => {
6312
- {
6313
- const ctx = inject(ssrContextKey);
6314
- if (!ctx) {
6315
- warn$1(
6316
- `Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build.`
6317
- );
6318
- }
6319
- return ctx;
6320
- }
6321
- };
6322
-
6323
- function watchEffect(effect, options) {
6324
- return doWatch(effect, null, options);
6325
- }
6326
- function watchPostEffect(effect, options) {
6327
- return doWatch(
6328
- effect,
6329
- null,
6330
- extend({}, options, { flush: "post" })
6331
- );
6332
- }
6333
- function watchSyncEffect(effect, options) {
6334
- return doWatch(
6335
- effect,
6336
- null,
6337
- extend({}, options, { flush: "sync" })
6338
- );
6339
- }
6340
- function watch(source, cb, options) {
6341
- if (!isFunction(cb)) {
6342
- warn$1(
6343
- `\`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.`
6344
- );
6345
- }
6346
- return doWatch(source, cb, options);
6347
- }
6348
- function doWatch(source, cb, options = EMPTY_OBJ) {
6349
- const { immediate, deep, flush, once } = options;
6350
- if (!cb) {
6351
- if (immediate !== void 0) {
6352
- warn$1(
6353
- `watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.`
6354
- );
6355
- }
6356
- if (deep !== void 0) {
6357
- warn$1(
6358
- `watch() "deep" option is only respected when using the watch(source, callback, options?) signature.`
6359
- );
6360
- }
6361
- if (once !== void 0) {
6362
- warn$1(
6363
- `watch() "once" option is only respected when using the watch(source, callback, options?) signature.`
6364
- );
6365
- }
6366
- }
6367
- const baseWatchOptions = extend({}, options);
6368
- baseWatchOptions.onWarn = warn$1;
6369
- const runsImmediately = cb && immediate || !cb && flush !== "post";
6370
- let ssrCleanup;
6371
- if (isInSSRComponentSetup) {
6372
- if (flush === "sync") {
6373
- const ctx = useSSRContext();
6374
- ssrCleanup = ctx.__watcherHandles || (ctx.__watcherHandles = []);
6375
- } else if (!runsImmediately) {
6376
- const watchStopHandle = () => {
6377
- };
6378
- watchStopHandle.stop = NOOP;
6379
- watchStopHandle.resume = NOOP;
6380
- watchStopHandle.pause = NOOP;
6381
- return watchStopHandle;
6382
- }
6383
- }
6384
- const instance = currentInstance;
6385
- baseWatchOptions.call = (fn, type, args) => callWithAsyncErrorHandling(fn, instance, type, args);
6386
- let isPre = false;
6387
- if (flush === "post") {
6388
- baseWatchOptions.scheduler = (job) => {
6389
- queuePostRenderEffect(job, instance && instance.suspense);
6390
- };
6391
- } else if (flush !== "sync") {
6392
- isPre = true;
6393
- baseWatchOptions.scheduler = (job, isFirstRun) => {
6394
- if (isFirstRun) {
6395
- job();
6396
- } else {
6397
- queueJob(job);
6398
- }
6399
- };
6400
- }
6401
- baseWatchOptions.augmentJob = (job) => {
6402
- if (cb) {
6403
- job.flags |= 4;
6404
- }
6405
- if (isPre) {
6406
- job.flags |= 2;
6407
- if (instance) {
6408
- job.id = instance.uid;
6409
- job.i = instance;
6410
- }
6411
- }
6412
- };
6413
- const watchHandle = watch$1(source, cb, baseWatchOptions);
6414
- if (isInSSRComponentSetup) {
6415
- if (ssrCleanup) {
6416
- ssrCleanup.push(watchHandle);
6417
- } else if (runsImmediately) {
6418
- watchHandle();
6419
- }
6420
- }
6421
- return watchHandle;
6422
- }
6423
- function instanceWatch(source, value, options) {
6424
- const publicThis = this.proxy;
6425
- const getter = isString(source) ? source.includes(".") ? createPathGetter(publicThis, source) : () => publicThis[source] : source.bind(publicThis, publicThis);
6426
- let cb;
6427
- if (isFunction(value)) {
6428
- cb = value;
6429
- } else {
6430
- cb = value.handler;
6431
- options = value;
6432
- }
6433
- const reset = setCurrentInstance(this);
6434
- const res = doWatch(getter, cb.bind(publicThis), options);
6435
- reset();
6436
- return res;
6437
- }
6438
- function createPathGetter(ctx, path) {
6439
- const segments = path.split(".");
6440
- return () => {
6441
- let cur = ctx;
6442
- for (let i = 0; i < segments.length && cur; i++) {
6443
- cur = cur[segments[i]];
6444
- }
6445
- return cur;
6446
- };
6447
- }
6448
-
6449
6451
  function useModel(props, name, options = EMPTY_OBJ) {
6450
6452
  const i = getCurrentInstance();
6451
6453
  if (!i) {
@@ -7628,7 +7630,15 @@ function baseCreateRenderer(options, createHydrationFns) {
7628
7630
  } else {
7629
7631
  const el = n2.el = n1.el;
7630
7632
  if (n2.children !== n1.children) {
7631
- hostSetText(el, n2.children);
7633
+ if (isHmrUpdating && n2.patchFlag === -1 && "__elIndex" in n1) {
7634
+ const childNodes = container.childNodes;
7635
+ const newChild = hostCreateText(n2.children);
7636
+ const oldChild = childNodes[n2.__elIndex = n1.__elIndex];
7637
+ hostInsert(newChild, container, oldChild);
7638
+ hostRemove(oldChild);
7639
+ } else {
7640
+ hostSetText(el, n2.children);
7641
+ }
7632
7642
  }
7633
7643
  }
7634
7644
  };
@@ -8014,7 +8024,7 @@ function baseCreateRenderer(options, createHydrationFns) {
8014
8024
  } else {
8015
8025
  if (patchFlag > 0 && patchFlag & 64 && dynamicChildren && // #2715 the previous fragment could've been a BAILed one as a result
8016
8026
  // of renderSlot() with no valid children
8017
- n1.dynamicChildren) {
8027
+ n1.dynamicChildren && n1.dynamicChildren.length === dynamicChildren.length) {
8018
8028
  patchBlockChildren(
8019
8029
  n1.dynamicChildren,
8020
8030
  dynamicChildren,
@@ -8603,8 +8613,8 @@ function baseCreateRenderer(options, createHydrationFns) {
8603
8613
  const nextChild = c2[nextIndex];
8604
8614
  const anchorVNode = c2[nextIndex + 1];
8605
8615
  const anchor = nextIndex + 1 < l2 ? (
8606
- // #13559, fallback to el placeholder for unresolved async component
8607
- anchorVNode.el || anchorVNode.placeholder
8616
+ // #13559, #14173 fallback to el placeholder for unresolved async component
8617
+ anchorVNode.el || resolveAsyncComponentPlaceholder(anchorVNode)
8608
8618
  ) : parentAnchor;
8609
8619
  if (newIndexToOldIndexMap[i] === 0) {
8610
8620
  patch(
@@ -8860,9 +8870,11 @@ function baseCreateRenderer(options, createHydrationFns) {
8860
8870
  };
8861
8871
  let isFlushing = false;
8862
8872
  const render = (vnode, container, namespace) => {
8873
+ let instance;
8863
8874
  if (vnode == null) {
8864
8875
  if (container._vnode) {
8865
8876
  unmount(container._vnode, null, null, true);
8877
+ instance = container._vnode.component;
8866
8878
  }
8867
8879
  } else {
8868
8880
  patch(
@@ -8878,7 +8890,7 @@ function baseCreateRenderer(options, createHydrationFns) {
8878
8890
  container._vnode = vnode;
8879
8891
  if (!isFlushing) {
8880
8892
  isFlushing = true;
8881
- flushPreFlushCbs();
8893
+ flushPreFlushCbs(instance);
8882
8894
  flushPostFlushCbs();
8883
8895
  isFlushing = false;
8884
8896
  }
@@ -8938,9 +8950,13 @@ function traverseStaticChildren(n1, n2, shallow = false) {
8938
8950
  if (!shallow && c2.patchFlag !== -2)
8939
8951
  traverseStaticChildren(c1, c2);
8940
8952
  }
8941
- if (c2.type === Text && // avoid cached text nodes retaining detached dom nodes
8942
- c2.patchFlag !== -1) {
8943
- c2.el = c1.el;
8953
+ if (c2.type === Text) {
8954
+ if (c2.patchFlag !== -1) {
8955
+ c2.el = c1.el;
8956
+ } else {
8957
+ c2.__elIndex = i + // take fragment start anchor into account
8958
+ (n1.type === Fragment ? 1 : 0);
8959
+ }
8944
8960
  }
8945
8961
  if (c2.type === Comment && !c2.el) {
8946
8962
  c2.el = c1.el;
@@ -9007,6 +9023,16 @@ function invalidateMount(hooks) {
9007
9023
  hooks[i].flags |= 8;
9008
9024
  }
9009
9025
  }
9026
+ function resolveAsyncComponentPlaceholder(anchorVnode) {
9027
+ if (anchorVnode.placeholder) {
9028
+ return anchorVnode.placeholder;
9029
+ }
9030
+ const instance = anchorVnode.component;
9031
+ if (instance) {
9032
+ return resolveAsyncComponentPlaceholder(instance.subTree);
9033
+ }
9034
+ return null;
9035
+ }
9010
9036
 
9011
9037
  const isSuspense = (type) => type.__isSuspense;
9012
9038
  let suspenseId = 0;
@@ -9609,10 +9635,10 @@ function isVNodeSuspensible(vnode) {
9609
9635
  return suspensible != null && suspensible !== false;
9610
9636
  }
9611
9637
 
9612
- const Fragment = Symbol.for("v-fgt");
9613
- const Text = Symbol.for("v-txt");
9614
- const Comment = Symbol.for("v-cmt");
9615
- const Static = Symbol.for("v-stc");
9638
+ const Fragment = /* @__PURE__ */ Symbol.for("v-fgt");
9639
+ const Text = /* @__PURE__ */ Symbol.for("v-txt");
9640
+ const Comment = /* @__PURE__ */ Symbol.for("v-cmt");
9641
+ const Static = /* @__PURE__ */ Symbol.for("v-stc");
9616
9642
  const blockStack = [];
9617
9643
  let currentBlock = null;
9618
9644
  function openBlock(disableTracking = false) {
@@ -10656,7 +10682,7 @@ function isMemoSame(cached, memo) {
10656
10682
  return true;
10657
10683
  }
10658
10684
 
10659
- const version = "3.5.25";
10685
+ const version = "3.5.26";
10660
10686
  const warn = warn$1 ;
10661
10687
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
10662
10688
  const devtools = devtools$1 ;
@@ -10761,7 +10787,7 @@ const nodeOps = {
10761
10787
 
10762
10788
  const TRANSITION = "transition";
10763
10789
  const ANIMATION = "animation";
10764
- const vtcKey = Symbol("_vtc");
10790
+ const vtcKey = /* @__PURE__ */ Symbol("_vtc");
10765
10791
  const DOMTransitionPropsValidators = {
10766
10792
  name: String,
10767
10793
  type: String,
@@ -11054,8 +11080,8 @@ function patchClass(el, value, isSVG) {
11054
11080
  }
11055
11081
  }
11056
11082
 
11057
- const vShowOriginalDisplay = Symbol("_vod");
11058
- const vShowHidden = Symbol("_vsh");
11083
+ const vShowOriginalDisplay = /* @__PURE__ */ Symbol("_vod");
11084
+ const vShowHidden = /* @__PURE__ */ Symbol("_vsh");
11059
11085
  const vShow = {
11060
11086
  // used for prop mismatch check during hydration
11061
11087
  name: "show",
@@ -11104,7 +11130,7 @@ function initVShowForSSR() {
11104
11130
  };
11105
11131
  }
11106
11132
 
11107
- const CSS_VAR_TEXT = Symbol("CSS_VAR_TEXT" );
11133
+ const CSS_VAR_TEXT = /* @__PURE__ */ Symbol("CSS_VAR_TEXT" );
11108
11134
  function useCssVars(getter) {
11109
11135
  const instance = getCurrentInstance();
11110
11136
  if (!instance) {
@@ -11354,7 +11380,7 @@ function addEventListener(el, event, handler, options) {
11354
11380
  function removeEventListener(el, event, handler, options) {
11355
11381
  el.removeEventListener(event, handler, options);
11356
11382
  }
11357
- const veiKey = Symbol("_vei");
11383
+ const veiKey = /* @__PURE__ */ Symbol("_vei");
11358
11384
  function patchEvent(el, rawName, prevValue, nextValue, instance = null) {
11359
11385
  const invokers = el[veiKey] || (el[veiKey] = {});
11360
11386
  const existingInvoker = invokers[rawName];
@@ -11992,8 +12018,8 @@ function useCssModule(name = "$style") {
11992
12018
 
11993
12019
  const positionMap = /* @__PURE__ */ new WeakMap();
11994
12020
  const newPositionMap = /* @__PURE__ */ new WeakMap();
11995
- const moveCbKey = Symbol("_moveCb");
11996
- const enterCbKey = Symbol("_enterCb");
12021
+ const moveCbKey = /* @__PURE__ */ Symbol("_moveCb");
12022
+ const enterCbKey = /* @__PURE__ */ Symbol("_enterCb");
11997
12023
  const decorate = (t) => {
11998
12024
  delete t.props.mode;
11999
12025
  return t;
@@ -12146,7 +12172,7 @@ function onCompositionEnd(e) {
12146
12172
  target.dispatchEvent(new Event("input"));
12147
12173
  }
12148
12174
  }
12149
- const assignKey = Symbol("_assign");
12175
+ const assignKey = /* @__PURE__ */ Symbol("_assign");
12150
12176
  function castValue(value, trim, number) {
12151
12177
  if (trim) value = value.trim();
12152
12178
  if (number) value = looseToNumber(value);