@vue/runtime-dom 3.6.0-beta.7 → 3.6.0-beta.9

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.6.0-beta.7
2
+ * @vue/runtime-dom v3.6.0-beta.9
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -17,7 +17,6 @@ function makeMap(str) {
17
17
  for (const key of str.split(",")) map[key] = 1;
18
18
  return (val) => val in map;
19
19
  }
20
-
21
20
  //#endregion
22
21
  //#region packages/shared/src/general.ts
23
22
  const EMPTY_OBJ = Object.freeze({});
@@ -132,12 +131,7 @@ const getGlobalThis = () => {
132
131
  function canSetValueDirectly(tagName) {
133
132
  return tagName !== "PROGRESS" && !tagName.includes("-");
134
133
  }
135
-
136
- //#endregion
137
- //#region packages/shared/src/globalsAllowList.ts
138
- const GLOBALS_ALLOWED = "Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol";
139
- const isGloballyAllowed = /* @__PURE__ */ makeMap(GLOBALS_ALLOWED);
140
-
134
+ const isGloballyAllowed = /* @__PURE__ */ makeMap("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol");
141
135
  //#endregion
142
136
  //#region packages/shared/src/normalizeProp.ts
143
137
  function normalizeStyle(value) {
@@ -196,7 +190,6 @@ function normalizeProps(props) {
196
190
  if (style) props.style = normalizeStyle(style);
197
191
  return props;
198
192
  }
199
-
200
193
  //#endregion
201
194
  //#region packages/shared/src/domTagConfig.ts
202
195
  const HTML_TAGS = "html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot";
@@ -217,7 +210,6 @@ const isSVGTag = /* @__PURE__ */ makeMap(SVG_TAGS);
217
210
  * Do NOT use in runtime code paths unless behind `__DEV__` flag.
218
211
  */
219
212
  const isMathMLTag = /* @__PURE__ */ makeMap(MATH_TAGS);
220
-
221
213
  //#endregion
222
214
  //#region packages/shared/src/domAttrConfig.ts
223
215
  /**
@@ -272,14 +264,12 @@ function shouldSetAsAttr(tagName, key) {
272
264
  if (key === "sandbox" && tagName === "IFRAME") return true;
273
265
  return false;
274
266
  }
275
-
276
267
  //#endregion
277
268
  //#region packages/shared/src/escapeHtml.ts
278
269
  const cssVarNameEscapeSymbolsRE = /[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;
279
270
  function getEscapedCssVarName(key, doubleEscape) {
280
271
  return key.replace(cssVarNameEscapeSymbolsRE, (s) => doubleEscape ? s === "\"" ? "\\\\\\\"" : `\\\\${s}` : `\\${s}`);
281
272
  }
282
-
283
273
  //#endregion
284
274
  //#region packages/shared/src/looseEqual.ts
285
275
  function looseCompareArrays(a, b) {
@@ -315,7 +305,6 @@ function looseEqual(a, b) {
315
305
  function looseIndexOf(arr, val) {
316
306
  return arr.findIndex((item) => looseEqual(item, val));
317
307
  }
318
-
319
308
  //#endregion
320
309
  //#region packages/shared/src/toDisplayString.ts
321
310
  const isRef$1 = (val) => {
@@ -350,7 +339,6 @@ const stringifySymbol = (v, i = "") => {
350
339
  var _description;
351
340
  return isSymbol(v) ? `Symbol(${(_description = v.description) !== null && _description !== void 0 ? _description : i})` : v;
352
341
  };
353
-
354
342
  //#endregion
355
343
  //#region packages/shared/src/subSequence.ts
356
344
  function getSequence(arr) {
@@ -388,7 +376,6 @@ function getSequence(arr) {
388
376
  }
389
377
  return result;
390
378
  }
391
-
392
379
  //#endregion
393
380
  //#region packages/shared/src/cssVars.ts
394
381
  /**
@@ -401,7 +388,6 @@ function normalizeCssVarValue(value) {
401
388
  if (typeof value !== "number" || !Number.isFinite(value)) console.warn("[Vue warn] Invalid value used for CSS binding. Expected a string or a finite number but received:", value);
402
389
  return String(value);
403
390
  }
404
-
405
391
  //#endregion
406
392
  //#region packages/reactivity/src/debug.ts
407
393
  const triggerEventInfos = [];
@@ -437,31 +423,11 @@ function setupFlagsHandler(target) {
437
423
  }
438
424
  });
439
425
  }
440
-
441
426
  //#endregion
442
427
  //#region packages/reactivity/src/warning.ts
443
428
  function warn$2(msg, ...args) {
444
429
  console.warn(`[Vue warn] ${msg}`, ...args);
445
430
  }
446
-
447
- //#endregion
448
- //#region packages/reactivity/src/system.ts
449
- const ReactiveFlags = {
450
- "None": 0,
451
- "0": "None",
452
- "Mutable": 1,
453
- "1": "Mutable",
454
- "Watching": 2,
455
- "2": "Watching",
456
- "RecursedCheck": 4,
457
- "4": "RecursedCheck",
458
- "Recursed": 8,
459
- "8": "Recursed",
460
- "Dirty": 16,
461
- "16": "Dirty",
462
- "Pending": 32,
463
- "32": "Pending"
464
- };
465
431
  const notifyBuffer = [];
466
432
  let batchDepth = 0;
467
433
  let activeSub = void 0;
@@ -669,7 +635,6 @@ function isValidLink(checkLink, sub) {
669
635
  }
670
636
  return false;
671
637
  }
672
-
673
638
  //#endregion
674
639
  //#region packages/reactivity/src/dep.ts
675
640
  var Dep = class {
@@ -780,7 +745,6 @@ function getDepFromReactive(object, key) {
780
745
  const depMap = targetMap.get(object);
781
746
  return depMap && depMap.get(key);
782
747
  }
783
-
784
748
  //#endregion
785
749
  //#region packages/reactivity/src/arrayInstrumentations.ts
786
750
  /**
@@ -928,16 +892,25 @@ function apply(self, method, fn, thisArg, wrappedRetFn, args) {
928
892
  }
929
893
  function reduce(self, method, fn, args) {
930
894
  const arr = shallowReadArray(self);
895
+ const needsWrap = arr !== self && !/* @__PURE__ */ isShallow(self);
931
896
  let wrappedFn = fn;
897
+ let wrapInitialAccumulator = false;
932
898
  if (arr !== self) {
933
- if (!/* @__PURE__ */ isShallow(self)) wrappedFn = function(acc, item, index) {
934
- return fn.call(this, acc, toWrapped(self, item), index, self);
935
- };
936
- else if (fn.length > 3) wrappedFn = function(acc, item, index) {
899
+ if (needsWrap) {
900
+ wrapInitialAccumulator = args.length === 0;
901
+ wrappedFn = function(acc, item, index) {
902
+ if (wrapInitialAccumulator) {
903
+ wrapInitialAccumulator = false;
904
+ acc = toWrapped(self, acc);
905
+ }
906
+ return fn.call(this, acc, toWrapped(self, item), index, self);
907
+ };
908
+ } else if (fn.length > 3) wrappedFn = function(acc, item, index) {
937
909
  return fn.call(this, acc, item, index, self);
938
910
  };
939
911
  }
940
- return arr[method](wrappedFn, ...args);
912
+ const result = arr[method](wrappedFn, ...args);
913
+ return wrapInitialAccumulator ? toWrapped(self, result) : result;
941
914
  }
942
915
  function searchProxy(self, method, args) {
943
916
  const arr = /* @__PURE__ */ toRaw(self);
@@ -957,7 +930,6 @@ function noTracking(self, method, args = []) {
957
930
  endBatch();
958
931
  return res;
959
932
  }
960
-
961
933
  //#endregion
962
934
  //#region packages/reactivity/src/baseHandlers.ts
963
935
  const isNonTrackableKeys = /* @__PURE__ */ makeMap(`__proto__,__v_isRef,__isVue`);
@@ -1066,7 +1038,6 @@ const mutableHandlers = /* @__PURE__ */ new MutableReactiveHandler();
1066
1038
  const readonlyHandlers = /* @__PURE__ */ new ReadonlyReactiveHandler();
1067
1039
  const shallowReactiveHandlers = /* @__PURE__ */ new MutableReactiveHandler(true);
1068
1040
  const shallowReadonlyHandlers = /* @__PURE__ */ new ReadonlyReactiveHandler(true);
1069
-
1070
1041
  //#endregion
1071
1042
  //#region packages/reactivity/src/collectionHandlers.ts
1072
1043
  const toShallow = (value) => value;
@@ -1151,11 +1122,13 @@ function createInstrumentations(readonly, shallow) {
1151
1122
  clear: createReadonlyMethod("clear")
1152
1123
  } : {
1153
1124
  add(value) {
1154
- if (!shallow && !/* @__PURE__ */ isShallow(value) && !/* @__PURE__ */ isReadonly(value)) value = /* @__PURE__ */ toRaw(value);
1155
1125
  const target = /* @__PURE__ */ toRaw(this);
1156
- if (!getProto(target).has.call(target, value)) {
1157
- target.add(value);
1158
- trigger(target, "add", value, value);
1126
+ const proto = getProto(target);
1127
+ const rawValue = /* @__PURE__ */ toRaw(value);
1128
+ const valueToAdd = !shallow && !/* @__PURE__ */ isShallow(value) && !/* @__PURE__ */ isReadonly(value) ? rawValue : value;
1129
+ if (!(proto.has.call(target, valueToAdd) || hasChanged(value, valueToAdd) && proto.has.call(target, value) || hasChanged(rawValue, valueToAdd) && proto.has.call(target, rawValue))) {
1130
+ target.add(valueToAdd);
1131
+ trigger(target, "add", valueToAdd, valueToAdd);
1159
1132
  }
1160
1133
  return this;
1161
1134
  },
@@ -1226,7 +1199,6 @@ function checkIdentityKeys(target, has, key) {
1226
1199
  warn$2(`Reactive ${type} contains both the raw and reactive versions of the same object${type === `Map` ? ` as keys` : ``}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`);
1227
1200
  }
1228
1201
  }
1229
-
1230
1202
  //#endregion
1231
1203
  //#region packages/reactivity/src/reactive.ts
1232
1204
  const reactiveMap = /* @__PURE__ */ new WeakMap();
@@ -1490,7 +1462,6 @@ const toReactive = (value) => isObject(value) ? /* @__PURE__ */ reactive(value)
1490
1462
  * @param value - The value for which a readonly proxy shall be created.
1491
1463
  */
1492
1464
  const toReadonly = (value) => isObject(value) ? /* @__PURE__ */ readonly(value) : value;
1493
-
1494
1465
  //#endregion
1495
1466
  //#region packages/reactivity/src/ref.ts
1496
1467
  /* @__NO_SIDE_EFFECTS__ */
@@ -1559,7 +1530,7 @@ var RefImpl = class {
1559
1530
  }
1560
1531
  }
1561
1532
  update() {
1562
- this.flags &= ~16;
1533
+ this.flags &= -17;
1563
1534
  return hasChanged(this._oldValue, this._oldValue = this._rawValue);
1564
1535
  }
1565
1536
  };
@@ -1711,16 +1682,16 @@ function toRefs(object) {
1711
1682
  return ret;
1712
1683
  }
1713
1684
  var ObjectRefImpl = class {
1714
- constructor(_object, _key, _defaultValue) {
1685
+ constructor(_object, key, _defaultValue) {
1715
1686
  this._object = _object;
1716
- this._key = _key;
1717
1687
  this._defaultValue = _defaultValue;
1718
1688
  this["__v_isRef"] = true;
1719
1689
  this._value = void 0;
1690
+ this._key = isSymbol(key) ? key : String(key);
1720
1691
  this._raw = /* @__PURE__ */ toRaw(_object);
1721
1692
  let shallow = true;
1722
1693
  let obj = _object;
1723
- if (!isArray(_object) || !isIntegerKey(String(_key))) do
1694
+ if (!isArray(_object) || isSymbol(this._key) || !isIntegerKey(this._key)) do
1724
1695
  shallow = !/* @__PURE__ */ isProxy(obj) || /* @__PURE__ */ isShallow(obj);
1725
1696
  while (shallow && (obj = obj["__v_raw"]));
1726
1697
  this._shallow = shallow;
@@ -1765,7 +1736,6 @@ function toRef(source, key, defaultValue) {
1765
1736
  function propertyToRef(source, key, defaultValue) {
1766
1737
  return new ObjectRefImpl(source, key, defaultValue);
1767
1738
  }
1768
-
1769
1739
  //#endregion
1770
1740
  //#region packages/reactivity/src/effect.ts
1771
1741
  var ReactiveEffect = class {
@@ -1874,7 +1844,6 @@ function cleanup(sub) {
1874
1844
  sub.cleanupsLength = 0;
1875
1845
  }
1876
1846
  }
1877
-
1878
1847
  //#endregion
1879
1848
  //#region packages/reactivity/src/effectScope.ts
1880
1849
  let activeEffectScope;
@@ -1983,7 +1952,6 @@ function onScopeDispose(fn, failSilently = false) {
1983
1952
  if (activeEffectScope !== void 0) activeEffectScope.cleanups[activeEffectScope.cleanupsLength++] = fn;
1984
1953
  else if (!failSilently) warn$2("onScopeDispose() is called when there is no active effect scope to be associated with.");
1985
1954
  }
1986
-
1987
1955
  //#endregion
1988
1956
  //#region packages/reactivity/src/computed.ts
1989
1957
  /**
@@ -2007,7 +1975,7 @@ var ComputedRefImpl = class {
2007
1975
  if (flags & 32) if (checkDirty(this.deps, this)) {
2008
1976
  this.flags = flags | 16;
2009
1977
  return true;
2010
- } else this.flags = flags & ~32;
1978
+ } else this.flags = flags & -33;
2011
1979
  return false;
2012
1980
  }
2013
1981
  /**
@@ -2016,7 +1984,7 @@ var ComputedRefImpl = class {
2016
1984
  */
2017
1985
  set _dirty(v) {
2018
1986
  if (v) this.flags |= 16;
2019
- else this.flags &= ~(16 | 32);
1987
+ else this.flags &= -49;
2020
1988
  }
2021
1989
  constructor(fn, setter) {
2022
1990
  this.fn = fn;
@@ -2026,7 +1994,7 @@ var ComputedRefImpl = class {
2026
1994
  this.subsTail = void 0;
2027
1995
  this.deps = void 0;
2028
1996
  this.depsTail = void 0;
2029
- this.flags = 1 | 16;
1997
+ this.flags = 17;
2030
1998
  this.__v_isRef = true;
2031
1999
  this["__v_isReadonly"] = !setter;
2032
2000
  }
@@ -2037,7 +2005,7 @@ var ComputedRefImpl = class {
2037
2005
  const subs = this.subs;
2038
2006
  if (subs !== void 0) shallowPropagate(subs);
2039
2007
  }
2040
- } else if (flags & 32) this.flags = flags & ~32;
2008
+ } else if (flags & 32) this.flags = flags & -33;
2041
2009
  if (activeSub !== void 0) {
2042
2010
  onTrack(activeSub, {
2043
2011
  target: this,
@@ -2084,7 +2052,6 @@ function computed$1(getterOrOptions, debugOptions, isSSR = false) {
2084
2052
  }
2085
2053
  return cRef;
2086
2054
  }
2087
-
2088
2055
  //#endregion
2089
2056
  //#region packages/reactivity/src/constants.ts
2090
2057
  const TrackOpTypes = {
@@ -2098,7 +2065,6 @@ const TriggerOpTypes = {
2098
2065
  "DELETE": "delete",
2099
2066
  "CLEAR": "clear"
2100
2067
  };
2101
-
2102
2068
  //#endregion
2103
2069
  //#region packages/reactivity/src/watch.ts
2104
2070
  const INITIAL_WATCHER_VALUE = {};
@@ -2241,7 +2207,6 @@ function traverse(value, depth = Infinity, seen) {
2241
2207
  }
2242
2208
  return value;
2243
2209
  }
2244
-
2245
2210
  //#endregion
2246
2211
  //#region packages/runtime-core/src/warning.ts
2247
2212
  const stack = [];
@@ -2268,8 +2233,8 @@ function warn$1(msg, ...args) {
2268
2233
  const trace = getComponentTrace();
2269
2234
  if (appWarnHandler) callWithErrorHandling(appWarnHandler, instance, 11, [
2270
2235
  msg + args.map((a) => {
2271
- var _a$toString, _a$toString2;
2272
- return (_a$toString = (_a$toString2 = a.toString) === null || _a$toString2 === void 0 ? void 0 : _a$toString2.call(a)) !== null && _a$toString !== void 0 ? _a$toString : JSON.stringify(a);
2236
+ const toString = a.toString;
2237
+ return toString == null ? JSON.stringify(a) : toString.call(a);
2273
2238
  }).join(""),
2274
2239
  instance && instance.proxy || instance,
2275
2240
  trace.map(({ ctx }) => `at <${formatComponentName(instance, ctx.type)}>`).join("\n"),
@@ -2359,7 +2324,6 @@ function assertNumber(val, type) {
2359
2324
  else if (isNaN(val)) warn$1(`${type} is NaN - the duration expression might be incorrect.`);
2360
2325
  }
2361
2326
  /* v8 ignore stop */
2362
-
2363
2327
  //#endregion
2364
2328
  //#region packages/runtime-core/src/errorHandling.ts
2365
2329
  const ErrorCodes = {
@@ -2482,7 +2446,6 @@ function logError(err, type, instance, throwInDev = true, throwInProd = false) {
2482
2446
  else console.error(err);
2483
2447
  }
2484
2448
  }
2485
-
2486
2449
  //#endregion
2487
2450
  //#region packages/runtime-core/src/scheduler.ts
2488
2451
  const jobs = [];
@@ -2635,10 +2598,16 @@ function checkRecursiveUpdates(seen, fn) {
2635
2598
  seen.set(fn, count + 1);
2636
2599
  return false;
2637
2600
  }
2638
-
2639
2601
  //#endregion
2640
2602
  //#region packages/runtime-core/src/hmr.ts
2641
2603
  let isHmrUpdating = false;
2604
+ const setHmrUpdating = (v) => {
2605
+ try {
2606
+ return isHmrUpdating;
2607
+ } finally {
2608
+ isHmrUpdating = v;
2609
+ }
2610
+ };
2642
2611
  const hmrDirtyComponents = /* @__PURE__ */ new Map();
2643
2612
  const hmrDirtyComponentsMode = /* @__PURE__ */ new Map();
2644
2613
  getGlobalThis().__VUE_HMR_RUNTIME__ = {
@@ -2757,7 +2726,6 @@ function tryWrap(fn) {
2757
2726
  }
2758
2727
  };
2759
2728
  }
2760
-
2761
2729
  //#endregion
2762
2730
  //#region packages/runtime-core/src/devtools.ts
2763
2731
  let devtools$1;
@@ -2826,7 +2794,6 @@ function createDevtoolsPerformanceHook(hook) {
2826
2794
  function devtoolsComponentEmit(component, event, params) {
2827
2795
  emit$1("component:emit", component.appContext.app, component, event, params);
2828
2796
  }
2829
-
2830
2797
  //#endregion
2831
2798
  //#region packages/runtime-core/src/componentRenderContext.ts
2832
2799
  /**
@@ -2896,7 +2863,6 @@ function withCtx(fn, ctx = currentRenderingInstance, isNonScopedSlot) {
2896
2863
  renderFnWithContext._d = true;
2897
2864
  return renderFnWithContext;
2898
2865
  }
2899
-
2900
2866
  //#endregion
2901
2867
  //#region packages/runtime-core/src/directives.ts
2902
2868
  function validateDirectiveName(name) {
@@ -2951,7 +2917,6 @@ function invokeDirectiveHook(vnode, prevVNode, instance, name) {
2951
2917
  }
2952
2918
  }
2953
2919
  }
2954
-
2955
2920
  //#endregion
2956
2921
  //#region packages/runtime-core/src/apiInject.ts
2957
2922
  function provide(key, value) {
@@ -2980,7 +2945,6 @@ function inject(key, defaultValue, treatDefaultAsFactory = false) {
2980
2945
  function hasInjectionContext() {
2981
2946
  return !!(getCurrentGenericInstance() || currentApp);
2982
2947
  }
2983
-
2984
2948
  //#endregion
2985
2949
  //#region packages/runtime-core/src/helpers/useSsrContext.ts
2986
2950
  const ssrContextKey = Symbol.for("v-scx");
@@ -2991,7 +2955,6 @@ const useSSRContext = () => {
2991
2955
  return ctx;
2992
2956
  }
2993
2957
  };
2994
-
2995
2958
  //#endregion
2996
2959
  //#region packages/runtime-core/src/apiWatch.ts
2997
2960
  function watchEffect(effect, options) {
@@ -3074,7 +3037,6 @@ function createPathGetter(ctx, path) {
3074
3037
  return cur;
3075
3038
  };
3076
3039
  }
3077
-
3078
3040
  //#endregion
3079
3041
  //#region packages/runtime-core/src/components/Teleport.ts
3080
3042
  const TeleportEndKey = Symbol("_vte");
@@ -3134,25 +3096,26 @@ const TeleportImpl = {
3134
3096
  mount(container, mainAnchor);
3135
3097
  updateCssVars(n2, true);
3136
3098
  }
3137
- if (isTeleportDeferred(n2.props)) {
3099
+ if (isTeleportDeferred(n2.props) || parentSuspense && parentSuspense.pendingBranch) {
3138
3100
  n2.el.__isMounted = false;
3139
3101
  queuePostRenderEffect(() => {
3102
+ if (n2.el.__isMounted !== false) return;
3140
3103
  mountToTarget();
3141
3104
  delete n2.el.__isMounted;
3142
3105
  }, void 0, parentSuspense);
3143
3106
  } else mountToTarget();
3144
3107
  } else {
3145
- if (isTeleportDeferred(n2.props) && n1.el.__isMounted === false) {
3146
- queuePostRenderEffect(() => {
3147
- TeleportImpl.process(n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized, internals);
3148
- }, void 0, parentSuspense);
3149
- return;
3150
- }
3151
3108
  n2.el = n1.el;
3152
3109
  n2.targetStart = n1.targetStart;
3153
3110
  const mainAnchor = n2.anchor = n1.anchor;
3154
3111
  const target = n2.target = n1.target;
3155
3112
  const targetAnchor = n2.targetAnchor = n1.targetAnchor;
3113
+ if (n1.el.__isMounted === false) {
3114
+ queuePostRenderEffect(() => {
3115
+ TeleportImpl.process(n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized, internals);
3116
+ }, void 0, parentSuspense);
3117
+ return;
3118
+ }
3156
3119
  const wasDisabled = isTeleportDisabled(n1.props);
3157
3120
  const currentContainer = wasDisabled ? container : target;
3158
3121
  const currentAnchor = wasDisabled ? mainAnchor : targetAnchor;
@@ -3174,11 +3137,9 @@ const TeleportImpl = {
3174
3137
  }
3175
3138
  },
3176
3139
  remove(vnode, parentComponent, parentSuspense, { um: unmount, o: { remove: hostRemove } }, doRemove) {
3177
- const { shapeFlag, children, anchor, targetStart, targetAnchor, target, props } = vnode;
3178
- if (target) {
3179
- hostRemove(targetStart);
3180
- hostRemove(targetAnchor);
3181
- }
3140
+ const { shapeFlag, children, anchor, targetStart, targetAnchor, props } = vnode;
3141
+ if (targetStart) hostRemove(targetStart);
3142
+ if (targetAnchor) hostRemove(targetAnchor);
3182
3143
  doRemove && hostRemove(anchor);
3183
3144
  if (shapeFlag & 16) {
3184
3145
  const shouldRemove = doRemove || !isTeleportDisabled(props);
@@ -3272,7 +3233,6 @@ function prepareAnchor(target, vnode, createText, insert, anchor = null) {
3272
3233
  }
3273
3234
  return targetAnchor;
3274
3235
  }
3275
-
3276
3236
  //#endregion
3277
3237
  //#region packages/runtime-core/src/components/BaseTransition.ts
3278
3238
  const leaveCbKey = Symbol("_leaveCb");
@@ -3438,7 +3398,7 @@ function baseResolveTransitionHooks(context, props, state, instance) {
3438
3398
  callHook(hook, [el]);
3439
3399
  },
3440
3400
  enter(el) {
3441
- if (isLeaving()) return;
3401
+ if (!isHmrUpdating && isLeaving()) return;
3442
3402
  let hook = onEnter;
3443
3403
  let afterHook = onAfterEnter;
3444
3404
  let cancelHook = onEnterCancelled;
@@ -3535,14 +3495,12 @@ function getTransitionRawChildren(children, keepComment = false, parentKey) {
3535
3495
  function checkTransitionMode(mode) {
3536
3496
  if (mode && mode !== "in-out" && mode !== "out-in" && mode !== "default") warn$1(`invalid <transition> mode: ${mode}`);
3537
3497
  }
3538
-
3539
3498
  //#endregion
3540
3499
  //#region packages/runtime-core/src/apiDefineComponent.ts
3541
3500
  /* @__NO_SIDE_EFFECTS__ */
3542
3501
  function defineComponent(options, extraOptions) {
3543
3502
  return isFunction(options) ? extend({ name: options.name }, extraOptions, { setup: options }) : options;
3544
3503
  }
3545
-
3546
3504
  //#endregion
3547
3505
  //#region packages/runtime-core/src/helpers/useId.ts
3548
3506
  function useId() {
@@ -3564,7 +3522,6 @@ function markAsyncBoundary(instance) {
3564
3522
  0
3565
3523
  ];
3566
3524
  }
3567
-
3568
3525
  //#endregion
3569
3526
  //#region packages/runtime-core/src/helpers/useTemplateRef.ts
3570
3527
  const knownTemplateRefs = /* @__PURE__ */ new WeakSet();
@@ -3588,7 +3545,6 @@ function isTemplateRefKey(refs, key) {
3588
3545
  let desc;
3589
3546
  return !!((desc = Object.getOwnPropertyDescriptor(refs, key)) && !desc.configurable);
3590
3547
  }
3591
-
3592
3548
  //#endregion
3593
3549
  //#region packages/runtime-core/src/rendererTemplateRef.ts
3594
3550
  const pendingSetRefMap = /* @__PURE__ */ new WeakMap();
@@ -3687,20 +3643,12 @@ function invalidatePendingSetRef(rawRef) {
3687
3643
  pendingSetRefMap.delete(rawRef);
3688
3644
  }
3689
3645
  }
3690
-
3691
3646
  //#endregion
3692
3647
  //#region packages/runtime-core/src/hydration.ts
3693
3648
  let isHydratingEnabled = false;
3694
3649
  function setIsHydratingEnabled(value) {
3695
3650
  isHydratingEnabled = value;
3696
3651
  }
3697
- /**
3698
- * VDOM hydration state.
3699
- * Also used by vapor interop plugin for tree-shaking:
3700
- * In non-hydration builds, this is never set to true, so the logic in
3701
- * vaporInteropImpl's hydrate/hydrateSlot can be tree-shaken.
3702
- */
3703
- let isHydrating = false;
3704
3652
  let hasLoggedMismatchError = false;
3705
3653
  const logMismatchError = () => {
3706
3654
  if (hasLoggedMismatchError) return;
@@ -3726,9 +3674,7 @@ function createHydrationFunctions(rendererInternals) {
3726
3674
  container._vnode = vnode;
3727
3675
  return;
3728
3676
  }
3729
- isHydrating = true;
3730
3677
  hydrateNode(container.firstChild, vnode, null, null, null);
3731
- isHydrating = false;
3732
3678
  flushPostFlushCbs();
3733
3679
  container._vnode = vnode;
3734
3680
  };
@@ -4097,7 +4043,6 @@ function isMismatchAllowed(el, allowedType) {
4097
4043
  return list.includes(MismatchTypeString[allowedType]);
4098
4044
  }
4099
4045
  }
4100
-
4101
4046
  //#endregion
4102
4047
  //#region packages/runtime-core/src/hydrationStrategies.ts
4103
4048
  let requestIdleCallback;
@@ -4186,7 +4131,6 @@ function forEachElement(node, cb) {
4186
4131
  }
4187
4132
  } else cb(node);
4188
4133
  }
4189
-
4190
4134
  //#endregion
4191
4135
  //#region packages/runtime-core/src/apiAsyncComponent.ts
4192
4136
  const isAsyncWrapper = (i) => !!i.type.__asyncLoader;
@@ -4323,11 +4267,10 @@ function performAsyncHydrate(el, instance, hydrate, getResolvedComp, load, hydra
4323
4267
  if (getResolvedComp()) doHydrate();
4324
4268
  else load().then(() => !instance.isUnmounted && doHydrate());
4325
4269
  }
4326
-
4327
4270
  //#endregion
4328
4271
  //#region packages/runtime-core/src/components/KeepAlive.ts
4329
4272
  const isKeepAlive = (vnode) => vnode.type.__isKeepAlive;
4330
- const KeepAliveImpl = {
4273
+ const KeepAlive = {
4331
4274
  name: `KeepAlive`,
4332
4275
  __isKeepAlive: true,
4333
4276
  props: {
@@ -4461,7 +4404,6 @@ const KeepAliveImpl = {
4461
4404
  };
4462
4405
  }
4463
4406
  };
4464
- const KeepAlive = KeepAliveImpl;
4465
4407
  function matches(pattern, name) {
4466
4408
  if (isArray(pattern)) return pattern.some((p) => matches(p, name));
4467
4409
  else if (isString(pattern)) return pattern.split(",").includes(name);
@@ -4541,7 +4483,6 @@ function deactivate(vnode, container, { m: move }, parentComponent, parentSuspen
4541
4483
  }, void 0, parentSuspense);
4542
4484
  devtoolsComponentAdded(instance);
4543
4485
  }
4544
-
4545
4486
  //#endregion
4546
4487
  //#region packages/runtime-core/src/apiLifecycle.ts
4547
4488
  function injectHook(type, hook, target = currentInstance, prepend = false) {
@@ -4577,23 +4518,19 @@ const onRenderTracked = /* @__PURE__ */ createHook("rtc");
4577
4518
  function onErrorCaptured(hook, target = currentInstance) {
4578
4519
  injectHook("ec", hook, target);
4579
4520
  }
4580
-
4581
- //#endregion
4582
- //#region packages/runtime-core/src/helpers/resolveAssets.ts
4583
- const COMPONENTS = "components";
4584
4521
  const DIRECTIVES = "directives";
4585
4522
  /**
4586
4523
  * @private
4587
4524
  */
4588
4525
  function resolveComponent(name, maybeSelfReference) {
4589
- return resolveAsset(COMPONENTS, name, true, maybeSelfReference) || name;
4526
+ return resolveAsset("components", name, true, maybeSelfReference) || name;
4590
4527
  }
4591
4528
  const NULL_DYNAMIC_COMPONENT = Symbol.for("v-ndc");
4592
4529
  /**
4593
4530
  * @private
4594
4531
  */
4595
4532
  function resolveDynamicComponent(component) {
4596
- if (isString(component)) return resolveAsset(COMPONENTS, component, false) || component;
4533
+ if (isString(component)) return resolveAsset("components", component, false) || component;
4597
4534
  else return component || NULL_DYNAMIC_COMPONENT;
4598
4535
  }
4599
4536
  /**
@@ -4606,14 +4543,14 @@ function resolveAsset(type, name, warnMissing = true, maybeSelfReference = false
4606
4543
  const instance = currentRenderingInstance || currentInstance;
4607
4544
  if (instance) {
4608
4545
  const Component = instance.type;
4609
- if (type === COMPONENTS) {
4546
+ if (type === "components") {
4610
4547
  const selfName = getComponentName(Component, false);
4611
4548
  if (selfName && (selfName === name || selfName === camelize(name) || selfName === capitalize(camelize(name)))) return Component;
4612
4549
  }
4613
4550
  const res = resolve(instance[type] || Component[type], name) || resolve(instance.appContext[type], name);
4614
4551
  if (!res && maybeSelfReference) return Component;
4615
4552
  if (warnMissing && !res) {
4616
- const extra = type === COMPONENTS ? "\nIf this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement." : ``;
4553
+ const extra = type === "components" ? "\nIf this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement." : ``;
4617
4554
  warn$1(`Failed to resolve ${type.slice(0, -1)}: ${name}${extra}`);
4618
4555
  }
4619
4556
  return res;
@@ -4622,7 +4559,6 @@ function resolveAsset(type, name, warnMissing = true, maybeSelfReference = false
4622
4559
  function resolve(registry, name) {
4623
4560
  return registry && (registry[name] || registry[camelize(name)] || registry[capitalize(camelize(name))]);
4624
4561
  }
4625
-
4626
4562
  //#endregion
4627
4563
  //#region packages/runtime-core/src/helpers/renderList.ts
4628
4564
  /**
@@ -4643,11 +4579,14 @@ function renderList(source, renderItem, cache, index) {
4643
4579
  }
4644
4580
  ret = new Array(source.length);
4645
4581
  for (let i = 0, l = source.length; i < l; i++) ret[i] = renderItem(needsWrap ? isReadonlySource ? toReadonly(toReactive(source[i])) : toReactive(source[i]) : source[i], i, void 0, cached && cached[i]);
4646
- } else if (typeof source === "number") {
4647
- if (!Number.isInteger(source)) warn$1(`The v-for range expect an integer value but got ${source}.`);
4582
+ } else if (typeof source === "number") if (!Number.isInteger(source) || source < 0) {
4583
+ warn$1(`The v-for range expects a positive integer value but got ${source}.`);
4584
+ ret = [];
4585
+ } else {
4648
4586
  ret = new Array(source);
4649
4587
  for (let i = 0; i < source; i++) ret[i] = renderItem(i + 1, i, void 0, cached && cached[i]);
4650
- } else if (isObject(source)) if (source[Symbol.iterator]) ret = Array.from(source, (item, i) => renderItem(item, i, void 0, cached && cached[i]));
4588
+ }
4589
+ else if (isObject(source)) if (source[Symbol.iterator]) ret = Array.from(source, (item, i) => renderItem(item, i, void 0, cached && cached[i]));
4651
4590
  else {
4652
4591
  const keys = Object.keys(source);
4653
4592
  ret = new Array(keys.length);
@@ -4660,7 +4599,6 @@ function renderList(source, renderItem, cache, index) {
4660
4599
  if (cache) cache[index] = ret;
4661
4600
  return ret;
4662
4601
  }
4663
-
4664
4602
  //#endregion
4665
4603
  //#region packages/runtime-core/src/helpers/createSlots.ts
4666
4604
  /**
@@ -4679,7 +4617,6 @@ function createSlots(slots, dynamicSlots) {
4679
4617
  }
4680
4618
  return slots;
4681
4619
  }
4682
-
4683
4620
  //#endregion
4684
4621
  //#region packages/runtime-core/src/helpers/renderSlot.ts
4685
4622
  /**
@@ -4730,7 +4667,6 @@ function ensureVaporSlotFallback(vnodes, fallback) {
4730
4667
  if (!vaporSlot.fallback && fallback) vaporSlot.fallback = fallback;
4731
4668
  }
4732
4669
  }
4733
-
4734
4670
  //#endregion
4735
4671
  //#region packages/runtime-core/src/helpers/toHandlers.ts
4736
4672
  /**
@@ -4746,7 +4682,6 @@ function toHandlers(obj, preserveCaseIfNecessary) {
4746
4682
  for (const key in obj) ret[preserveCaseIfNecessary && /[A-Z]/.test(key) ? `on:${key}` : toHandlerKey(key)] = obj[key];
4747
4683
  return ret;
4748
4684
  }
4749
-
4750
4685
  //#endregion
4751
4686
  //#region packages/runtime-core/src/componentPublicInstance.ts
4752
4687
  /**
@@ -4925,7 +4860,6 @@ function exposeSetupStateOnRenderContext(instance) {
4925
4860
  }
4926
4861
  });
4927
4862
  }
4928
-
4929
4863
  //#endregion
4930
4864
  //#region packages/runtime-core/src/apiSetupHelpers.ts
4931
4865
  const warnRuntimeUsage = (method) => warn$1(`${method}() is a compiler-hint helper that is only usable inside <script setup> of a single file component. Its arguments should be compiled away and passing it at runtime has no effect.`);
@@ -4964,6 +4898,22 @@ function defineExpose(exposed) {
4964
4898
  function defineOptions(options) {
4965
4899
  warnRuntimeUsage(`defineOptions`);
4966
4900
  }
4901
+ /**
4902
+ * Vue `<script setup>` compiler macro for providing type hints to IDEs for
4903
+ * slot name and slot props type checking.
4904
+ *
4905
+ * Example usage:
4906
+ * ```ts
4907
+ * const slots = defineSlots<{
4908
+ * default(props: { msg: string }): any
4909
+ * }>()
4910
+ * ```
4911
+ *
4912
+ * This is only usable inside `<script setup>`, is compiled away in the
4913
+ * output and should **not** be actually called at runtime.
4914
+ *
4915
+ * @see {@link https://vuejs.org/api/sfc-script-setup.html#defineslots}
4916
+ */
4967
4917
  function defineSlots() {
4968
4918
  warnRuntimeUsage(`defineSlots`);
4969
4919
  return null;
@@ -5080,21 +5030,29 @@ function createPropsRestProxy(props, excludedKeys) {
5080
5030
  */
5081
5031
  function withAsyncContext(getAwaitable) {
5082
5032
  const ctx = getCurrentGenericInstance();
5033
+ const inSSRSetup = isInSSRComponentSetup;
5083
5034
  if (!ctx) warn$1("withAsyncContext called without active current instance. This is likely a bug.");
5084
5035
  let awaitable = getAwaitable();
5085
5036
  setCurrentInstance(null, void 0);
5086
- const cleanup = () => setCurrentInstance(null, void 0);
5087
- if (isPromise(awaitable)) awaitable = awaitable.catch((e) => {
5037
+ if (inSSRSetup) setInSSRSetupState(false);
5038
+ const restore = () => {
5088
5039
  setCurrentInstance(ctx);
5040
+ if (inSSRSetup) setInSSRSetupState(true);
5041
+ };
5042
+ const cleanup = () => {
5043
+ setCurrentInstance(null, void 0);
5044
+ if (inSSRSetup) setInSSRSetupState(false);
5045
+ };
5046
+ if (isPromise(awaitable)) awaitable = awaitable.catch((e) => {
5047
+ restore();
5089
5048
  Promise.resolve().then(() => Promise.resolve().then(cleanup));
5090
5049
  throw e;
5091
5050
  });
5092
5051
  return [awaitable, () => {
5093
- setCurrentInstance(ctx);
5052
+ restore();
5094
5053
  Promise.resolve().then(cleanup);
5095
5054
  }];
5096
5055
  }
5097
-
5098
5056
  //#endregion
5099
5057
  //#region packages/runtime-core/src/componentOptions.ts
5100
5058
  function createDuplicateChecker() {
@@ -5339,7 +5297,6 @@ function mergeWatchOptions(to, from) {
5339
5297
  for (const key in from) merged[key] = mergeAsArray(to[key], from[key]);
5340
5298
  return merged;
5341
5299
  }
5342
-
5343
5300
  //#endregion
5344
5301
  //#region packages/runtime-core/src/apiCreateApp.ts
5345
5302
  function createAppContext() {
@@ -5471,7 +5428,6 @@ function createAppAPI(mount, unmount, getPublicInstance, render) {
5471
5428
  * `app.runWithContext()`.
5472
5429
  */
5473
5430
  let currentApp = null;
5474
-
5475
5431
  //#endregion
5476
5432
  //#region packages/runtime-core/src/helpers/useModel.ts
5477
5433
  function useModel(props, name, options = EMPTY_OBJ) {
@@ -5544,7 +5500,6 @@ function useModel(props, name, options = EMPTY_OBJ) {
5544
5500
  const getModelModifiers = (props, modelName, getter) => {
5545
5501
  return getter(props, getModifierPropName(modelName)) || getter(props, `${camelize(modelName)}Modifiers`) || getter(props, `${hyphenate(modelName)}Modifiers`);
5546
5502
  };
5547
-
5548
5503
  //#endregion
5549
5504
  //#region packages/runtime-core/src/componentEmits.ts
5550
5505
  function emit(instance, event, ...rawArgs) {
@@ -5634,7 +5589,6 @@ function isEmitListener(options, key) {
5634
5589
  key = key.slice(2).replace(/Once$/, "");
5635
5590
  return hasOwn(options, key[0].toLowerCase() + key.slice(1)) || hasOwn(options, hyphenate(key)) || hasOwn(options, key);
5636
5591
  }
5637
-
5638
5592
  //#endregion
5639
5593
  //#region packages/runtime-core/src/componentRenderUtils.ts
5640
5594
  /**
@@ -5816,17 +5770,20 @@ function hasPropValueChanged(nextProps, prevProps, key) {
5816
5770
  if (key === "style" && isObject(nextProp) && isObject(prevProp)) return !looseEqual(nextProp, prevProp);
5817
5771
  return nextProp !== prevProp;
5818
5772
  }
5819
- function updateHOCHostEl({ vnode, parent }, el) {
5773
+ function updateHOCHostEl({ vnode, parent, suspense }, el) {
5820
5774
  while (parent && !parent.vapor) {
5821
5775
  const root = parent.subTree;
5822
- if (root.suspense && root.suspense.activeBranch === vnode) root.el = vnode.el;
5776
+ if (root.suspense && root.suspense.activeBranch === vnode) {
5777
+ root.suspense.vnode.el = root.el = el;
5778
+ vnode = root;
5779
+ }
5823
5780
  if (root === vnode) {
5824
5781
  (vnode = parent.vnode).el = el;
5825
5782
  parent = parent.parent;
5826
5783
  } else break;
5827
5784
  }
5785
+ if (suspense && suspense.activeBranch === vnode) suspense.vnode.el = el;
5828
5786
  }
5829
-
5830
5787
  //#endregion
5831
5788
  //#region packages/runtime-core/src/internalObject.ts
5832
5789
  /**
@@ -5838,7 +5795,6 @@ function updateHOCHostEl({ vnode, parent }, el) {
5838
5795
  const internalObjectProto = {};
5839
5796
  const createInternalObject = () => Object.create(internalObjectProto);
5840
5797
  const isInternalObject = (obj) => Object.getPrototypeOf(obj) === internalObjectProto;
5841
-
5842
5798
  //#endregion
5843
5799
  //#region packages/runtime-core/src/componentProps.ts
5844
5800
  function initProps(instance, rawProps, isStateful, isSSR = false) {
@@ -6134,7 +6090,6 @@ function isExplicable(type) {
6134
6090
  function isBoolean(...args) {
6135
6091
  return args.some((elem) => elem.toLowerCase() === "boolean");
6136
6092
  }
6137
-
6138
6093
  //#endregion
6139
6094
  //#region packages/runtime-core/src/componentSlots.ts
6140
6095
  const isInternalKey = (key) => key === "_" || key === "_ctx" || key === "$stable";
@@ -6203,7 +6158,6 @@ const updateSlots = (instance, children, optimized) => {
6203
6158
  for (const key in slots) if (!isInternalKey(key) && deletionComparisonTarget[key] == null) delete slots[key];
6204
6159
  }
6205
6160
  };
6206
-
6207
6161
  //#endregion
6208
6162
  //#region packages/runtime-core/src/profiling.ts
6209
6163
  let supported;
@@ -6242,7 +6196,6 @@ function isSupported() {
6242
6196
  } else supported = false;
6243
6197
  return supported;
6244
6198
  }
6245
-
6246
6199
  //#endregion
6247
6200
  //#region packages/runtime-core/src/renderer.ts
6248
6201
  const MoveType = {
@@ -6405,10 +6358,19 @@ function baseCreateRenderer(options, createHydrationFns) {
6405
6358
  if (dirs) invokeDirectiveHook(vnode, null, parentComponent, "beforeMount");
6406
6359
  if (transition) performTransitionEnter(el, transition, () => hostInsert(el, container, anchor), parentSuspense);
6407
6360
  else hostInsert(el, container, anchor);
6408
- if ((vnodeHook = props && props.onVnodeMounted) || dirs) queuePostRenderEffect(() => {
6409
- vnodeHook && invokeVNodeHook(vnodeHook, parentComponent, vnode);
6410
- dirs && invokeDirectiveHook(vnode, null, parentComponent, "mounted");
6411
- }, void 0, parentSuspense);
6361
+ if ((vnodeHook = props && props.onVnodeMounted) || dirs) {
6362
+ const isHmr = isHmrUpdating;
6363
+ queuePostRenderEffect(() => {
6364
+ let prev;
6365
+ prev = setHmrUpdating(isHmr);
6366
+ try {
6367
+ vnodeHook && invokeVNodeHook(vnodeHook, parentComponent, vnode);
6368
+ dirs && invokeDirectiveHook(vnode, null, parentComponent, "mounted");
6369
+ } finally {
6370
+ setHmrUpdating(prev);
6371
+ }
6372
+ }, void 0, parentSuspense);
6373
+ }
6412
6374
  };
6413
6375
  const setScopeId = (el, vnode, scopeId, slotScopeIds, parentComponent) => {
6414
6376
  if (scopeId) hostSetScopeId(el, scopeId);
@@ -6630,7 +6592,7 @@ function baseCreateRenderer(options, createHydrationFns) {
6630
6592
  if (isAsyncWrapperVNode && type.__asyncHydrate) type.__asyncHydrate(el, instance, hydrateSubTree);
6631
6593
  else hydrateSubTree();
6632
6594
  } else {
6633
- if (root.ce && root.ce._hasShadowRoot()) root.ce._injectChildStyle(type);
6595
+ if (root.ce && root.ce._hasShadowRoot()) root.ce._injectChildStyle(type, instance.parent ? instance.parent.type : void 0);
6634
6596
  startMeasure(instance, `render`);
6635
6597
  const subTree = instance.subTree = renderComponentRoot(instance);
6636
6598
  endMeasure(instance, `render`);
@@ -6881,7 +6843,7 @@ function baseCreateRenderer(options, createHydrationFns) {
6881
6843
  else hostInsert(el, container, anchor);
6882
6844
  };
6883
6845
  const unmount = (vnode, parentComponent, parentSuspense, doRemove = false, optimized = false) => {
6884
- const { type, props, ref, children, dynamicChildren, shapeFlag, patchFlag, dirs, cacheIndex } = vnode;
6846
+ const { type, props, ref, children, dynamicChildren, shapeFlag, patchFlag, dirs, cacheIndex, memo } = vnode;
6885
6847
  if (patchFlag === -2) optimized = false;
6886
6848
  if (ref != null) {
6887
6849
  const prevSub = setActiveSub();
@@ -6919,9 +6881,11 @@ function baseCreateRenderer(options, createHydrationFns) {
6919
6881
  }
6920
6882
  if (doRemove) remove(vnode);
6921
6883
  }
6922
- if (shouldInvokeVnodeHook && (vnodeHook = props && props.onVnodeUnmounted) || shouldInvokeDirs) queuePostRenderEffect(() => {
6884
+ const shouldInvalidateMemo = memo != null && cacheIndex == null;
6885
+ if (shouldInvokeVnodeHook && (vnodeHook = props && props.onVnodeUnmounted) || shouldInvokeDirs || shouldInvalidateMemo) queuePostRenderEffect(() => {
6923
6886
  vnodeHook && invokeVNodeHook(vnodeHook, parentComponent, vnode);
6924
6887
  shouldInvokeDirs && invokeDirectiveHook(vnode, null, parentComponent, "unmounted");
6888
+ if (shouldInvalidateMemo) vnode.el = null;
6925
6889
  }, void 0, parentSuspense);
6926
6890
  };
6927
6891
  const remove = (vnode) => {
@@ -7144,12 +7108,11 @@ function resolveAsyncComponentPlaceholder(anchorVnode) {
7144
7108
  if (instance) return resolveAsyncComponentPlaceholder(instance.subTree);
7145
7109
  return null;
7146
7110
  }
7147
-
7148
7111
  //#endregion
7149
7112
  //#region packages/runtime-core/src/components/Suspense.ts
7150
7113
  const isSuspense = (type) => type.__isSuspense;
7151
7114
  let suspenseId = 0;
7152
- const SuspenseImpl = {
7115
+ const Suspense = {
7153
7116
  name: "Suspense",
7154
7117
  __isSuspense: true,
7155
7118
  process(n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized, rendererInternals) {
@@ -7167,7 +7130,6 @@ const SuspenseImpl = {
7167
7130
  hydrate: hydrateSuspense,
7168
7131
  normalize: normalizeSuspenseChildren
7169
7132
  };
7170
- const Suspense = SuspenseImpl;
7171
7133
  function triggerEvent(vnode, name) {
7172
7134
  const eventListener = vnode.props && vnode.props[name];
7173
7135
  if (isFunction(eventListener)) eventListener();
@@ -7276,6 +7238,7 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe
7276
7238
  pendingId: suspenseId++,
7277
7239
  timeout: typeof timeout === "number" ? timeout : -1,
7278
7240
  activeBranch: null,
7241
+ isFallbackMountPending: false,
7279
7242
  pendingBranch: null,
7280
7243
  isInFallback: !isHydrating,
7281
7244
  isHydrating,
@@ -7296,13 +7259,14 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe
7296
7259
  if (isInFallback && vnode.ssFallback) vnode.ssFallback.el = null;
7297
7260
  }
7298
7261
  };
7299
- if (activeBranch) {
7262
+ if (activeBranch && !suspense.isFallbackMountPending) {
7300
7263
  if (parentNode(activeBranch.el) === container) anchor = next(activeBranch);
7301
7264
  unmount(activeBranch, parentComponent, suspense, true);
7302
7265
  if (!delayEnter && isInFallback && vnode.ssFallback) queuePostRenderEffect(() => vnode.ssFallback.el = null, void 0, suspense);
7303
7266
  }
7304
7267
  if (!delayEnter) move(pendingBranch, container, anchor, 0, parentComponent);
7305
7268
  }
7269
+ suspense.isFallbackMountPending = false;
7306
7270
  setActiveBranch(suspense, pendingBranch);
7307
7271
  suspense.pendingBranch = null;
7308
7272
  suspense.isInFallback = false;
@@ -7332,12 +7296,16 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe
7332
7296
  triggerEvent(vnode, "onFallback");
7333
7297
  const anchor = next(activeBranch);
7334
7298
  const mountFallback = () => {
7299
+ suspense.isFallbackMountPending = false;
7335
7300
  if (!suspense.isInFallback) return;
7336
7301
  patch(null, fallbackVNode, container, anchor, parentComponent, null, namespace, slotScopeIds, optimized);
7337
7302
  setActiveBranch(suspense, fallbackVNode);
7338
7303
  };
7339
7304
  const delayEnter = fallbackVNode.transition && fallbackVNode.transition.mode === "out-in";
7340
- if (delayEnter) activeBranch.transition.afterLeave = mountFallback;
7305
+ if (delayEnter) {
7306
+ suspense.isFallbackMountPending = true;
7307
+ activeBranch.transition.afterLeave = mountFallback;
7308
+ }
7341
7309
  suspense.isInFallback = true;
7342
7310
  unmount(activeBranch, parentComponent, null, true);
7343
7311
  if (!delayEnter) mountFallback();
@@ -7428,7 +7396,6 @@ function isVNodeSuspensible(vnode) {
7428
7396
  const suspensible = vnode.props && vnode.props.suspensible;
7429
7397
  return suspensible != null && suspensible !== false;
7430
7398
  }
7431
-
7432
7399
  //#endregion
7433
7400
  //#region packages/runtime-core/src/vnode.ts
7434
7401
  const Fragment = Symbol.for("v-fgt");
@@ -7739,6 +7706,7 @@ function mergeProps(...args) {
7739
7706
  const existing = ret[key];
7740
7707
  const incoming = toMerge[key];
7741
7708
  if (incoming && existing !== incoming && !(isArray(existing) && existing.includes(incoming))) ret[key] = existing ? [].concat(existing, incoming) : incoming;
7709
+ else if (incoming == null && existing == null && !isModelListener(key)) ret[key] = incoming;
7742
7710
  } else if (key !== "") ret[key] = toMerge[key];
7743
7711
  }
7744
7712
  return ret;
@@ -7746,7 +7714,6 @@ function mergeProps(...args) {
7746
7714
  function invokeVNodeHook(hook, instance, vnode, prevVNode = null) {
7747
7715
  callWithAsyncErrorHandling(hook, instance, 7, [vnode, prevVNode]);
7748
7716
  }
7749
-
7750
7717
  //#endregion
7751
7718
  //#region packages/runtime-core/src/componentCurrentInstance.ts
7752
7719
  /**
@@ -7763,8 +7730,7 @@ let setInSSRSetupState;
7763
7730
  /**
7764
7731
  * @internal
7765
7732
  */
7766
- let simpleSetCurrentInstance;
7767
- simpleSetCurrentInstance = (i) => {
7733
+ let simpleSetCurrentInstance = (i) => {
7768
7734
  currentInstance = i;
7769
7735
  };
7770
7736
  setInSSRSetupState = (v) => {
@@ -7806,7 +7772,6 @@ const useInstanceOption = (key, silent = false) => {
7806
7772
  value: instance[key]
7807
7773
  };
7808
7774
  };
7809
-
7810
7775
  //#endregion
7811
7776
  //#region packages/runtime-core/src/component.ts
7812
7777
  const emptyAppContext = /* @__PURE__ */ createAppContext();
@@ -8101,13 +8066,11 @@ function formatComponentName(instance, Component, isRoot = false) {
8101
8066
  function isClassComponent(value) {
8102
8067
  return isFunction(value) && "__vccOpts" in value;
8103
8068
  }
8104
-
8105
8069
  //#endregion
8106
8070
  //#region packages/runtime-core/src/apiComputed.ts
8107
8071
  const computed = (getterOrOptions, debugOptions) => {
8108
8072
  return /* @__PURE__ */ computed$1(getterOrOptions, debugOptions, isInSSRComponentSetup);
8109
8073
  };
8110
-
8111
8074
  //#endregion
8112
8075
  //#region packages/runtime-core/src/h.ts
8113
8076
  function h(type, propsOrChildren, children) {
@@ -8127,7 +8090,6 @@ function h(type, propsOrChildren, children) {
8127
8090
  setBlockTracking(1);
8128
8091
  }
8129
8092
  }
8130
-
8131
8093
  //#endregion
8132
8094
  //#region packages/runtime-core/src/customFormatter.ts
8133
8095
  function initCustomFormatter() {
@@ -8292,7 +8254,6 @@ function initCustomFormatter() {
8292
8254
  if (window.devtoolsFormatters) window.devtoolsFormatters.push(formatter);
8293
8255
  else window.devtoolsFormatters = [formatter];
8294
8256
  }
8295
-
8296
8257
  //#endregion
8297
8258
  //#region packages/runtime-core/src/helpers/withMemo.ts
8298
8259
  function withMemo(memo, render, cache, index) {
@@ -8310,10 +8271,9 @@ function isMemoSame(cached, memo) {
8310
8271
  if (isBlockTreeEnabled > 0 && currentBlock) currentBlock.push(cached);
8311
8272
  return true;
8312
8273
  }
8313
-
8314
8274
  //#endregion
8315
8275
  //#region packages/runtime-core/src/index.ts
8316
- const version = "3.6.0-beta.7";
8276
+ const version = "3.6.0-beta.9";
8317
8277
  const warn = warn$1;
8318
8278
  /**
8319
8279
  * Runtime error messages. Only exposed in dev or esm builds.
@@ -8336,7 +8296,6 @@ const resolveFilter = null;
8336
8296
  */
8337
8297
  const compatUtils = null;
8338
8298
  const DeprecationTypes = null;
8339
-
8340
8299
  //#endregion
8341
8300
  //#region packages/runtime-dom/src/nodeOps.ts
8342
8301
  let policy = void 0;
@@ -8397,7 +8356,6 @@ const nodeOps = {
8397
8356
  return [before ? before.nextSibling : parent.firstChild, anchor ? anchor.previousSibling : parent.lastChild];
8398
8357
  }
8399
8358
  };
8400
-
8401
8359
  //#endregion
8402
8360
  //#region packages/runtime-dom/src/components/Transition.ts
8403
8361
  const TRANSITION = "transition";
@@ -8636,7 +8594,6 @@ function toMs(s) {
8636
8594
  function forceReflow(el) {
8637
8595
  return (el ? el.ownerDocument : document).body.offsetHeight;
8638
8596
  }
8639
-
8640
8597
  //#endregion
8641
8598
  //#region packages/runtime-dom/src/modules/class.ts
8642
8599
  function patchClass(el, value, isSVG) {
@@ -8646,7 +8603,6 @@ function patchClass(el, value, isSVG) {
8646
8603
  else if (isSVG) el.setAttribute("class", value);
8647
8604
  else el.className = value;
8648
8605
  }
8649
-
8650
8606
  //#endregion
8651
8607
  //#region packages/runtime-dom/src/directives/vShow.ts
8652
8608
  const vShowOriginalDisplay = Symbol("_vod");
@@ -8680,7 +8636,6 @@ function setDisplay(el, value) {
8680
8636
  el.style.display = value ? el[vShowOriginalDisplay] : "none";
8681
8637
  el[vShowHidden] = !value;
8682
8638
  }
8683
-
8684
8639
  //#endregion
8685
8640
  //#region packages/runtime-dom/src/helpers/useCssVars.ts
8686
8641
  const CSS_VAR_TEXT = Symbol("CSS_VAR_TEXT");
@@ -8765,7 +8720,6 @@ function setVarsOnNode(el, vars) {
8765
8720
  style[CSS_VAR_TEXT] = cssText;
8766
8721
  }
8767
8722
  }
8768
-
8769
8723
  //#endregion
8770
8724
  //#region packages/runtime-dom/src/modules/style.ts
8771
8725
  const displayRE = /(?:^|;)\s*display\s*:/;
@@ -8830,7 +8784,6 @@ function autoPrefix(style, rawName) {
8830
8784
  }
8831
8785
  return rawName;
8832
8786
  }
8833
-
8834
8787
  //#endregion
8835
8788
  //#region packages/runtime-dom/src/modules/attrs.ts
8836
8789
  const xlinkNS = "http://www.w3.org/1999/xlink";
@@ -8840,7 +8793,6 @@ function patchAttr(el, key, value, isSVG, instance, isBoolean = isSpecialBoolean
8840
8793
  else if (value == null || isBoolean && !includeBooleanAttr(value)) el.removeAttribute(key);
8841
8794
  else el.setAttribute(key, isBoolean ? "" : isSymbol(value) ? String(value) : value);
8842
8795
  }
8843
-
8844
8796
  //#endregion
8845
8797
  //#region packages/runtime-dom/src/modules/props.ts
8846
8798
  function patchDOMProp(el, key, value, parentComponent, attrName) {
@@ -8876,7 +8828,6 @@ function patchDOMProp(el, key, value, parentComponent, attrName) {
8876
8828
  }
8877
8829
  needRemove && el.removeAttribute(attrName || key);
8878
8830
  }
8879
-
8880
8831
  //#endregion
8881
8832
  //#region packages/runtime-dom/src/modules/events.ts
8882
8833
  function addEventListener(el, event, handler, options) {
@@ -8940,7 +8891,6 @@ function patchStopImmediatePropagation(e, value) {
8940
8891
  return value.map((fn) => (e) => !e._stopped && fn && fn(e));
8941
8892
  } else return value;
8942
8893
  }
8943
-
8944
8894
  //#endregion
8945
8895
  //#region packages/runtime-dom/src/patchProp.ts
8946
8896
  const patchProp = (el, key, prevValue, nextValue, namespace, parentComponent) => {
@@ -8952,7 +8902,7 @@ const patchProp = (el, key, prevValue, nextValue, namespace, parentComponent) =>
8952
8902
  } else if (key[0] === "." ? (key = key.slice(1), true) : key[0] === "^" ? (key = key.slice(1), false) : shouldSetAsProp(el, key, nextValue, isSVG)) {
8953
8903
  patchDOMProp(el, key, nextValue, parentComponent);
8954
8904
  if (!el.tagName.includes("-") && (key === "value" || key === "checked" || key === "selected")) patchAttr(el, key, nextValue, isSVG, parentComponent, key !== "value");
8955
- } else if (el._isVueCE && (/[A-Z]/.test(key) || !isString(nextValue))) patchDOMProp(el, camelize(key), nextValue, parentComponent, key);
8905
+ } else if (el._isVueCE && (shouldSetAsPropForVueCE(el, key) || el._def.__asyncLoader && (/[A-Z]/.test(key) || !isString(nextValue)))) patchDOMProp(el, camelize(key), nextValue, parentComponent, key);
8956
8906
  else {
8957
8907
  if (key === "true-value") el._trueValue = nextValue;
8958
8908
  else if (key === "false-value") el._falseValue = nextValue;
@@ -8969,7 +8919,12 @@ function shouldSetAsProp(el, key, value, isSVG) {
8969
8919
  if (isNativeOn(key) && isString(value)) return false;
8970
8920
  return key in el;
8971
8921
  }
8972
-
8922
+ function shouldSetAsPropForVueCE(el, key) {
8923
+ const props = el._def.props;
8924
+ if (!props) return false;
8925
+ const camelKey = camelize(key);
8926
+ return Array.isArray(props) ? props.some((prop) => camelize(prop) === camelKey) : Object.keys(props).some((prop) => camelize(prop) === camelKey);
8927
+ }
8973
8928
  //#endregion
8974
8929
  //#region packages/runtime-dom/src/apiCustomElement.ts
8975
8930
  const REMOVAL = {};
@@ -8999,6 +8954,7 @@ var VueElementBase = class VueElementBase extends BaseClass {
8999
8954
  this._resolved = false;
9000
8955
  this._numberProps = null;
9001
8956
  this._styleChildren = /* @__PURE__ */ new WeakSet();
8957
+ this._styleAnchors = /* @__PURE__ */ new WeakMap();
9002
8958
  this._patching = false;
9003
8959
  this._dirty = false;
9004
8960
  this._ob = null;
@@ -9017,7 +8973,7 @@ var VueElementBase = class VueElementBase extends BaseClass {
9017
8973
  if (!this.shadowRoot && !this._resolved) this._parseSlots();
9018
8974
  this._connected = true;
9019
8975
  let parent = this;
9020
- while (parent = parent && (parent.parentNode || parent.host)) if (parent instanceof VueElementBase) {
8976
+ while (parent = parent && (parent.assignedSlot || parent.parentNode || parent.host)) if (parent instanceof VueElementBase) {
9021
8977
  this._parent = parent;
9022
8978
  break;
9023
8979
  }
@@ -9110,6 +9066,7 @@ var VueElementBase = class VueElementBase extends BaseClass {
9110
9066
  this._styles.forEach((s) => this._root.removeChild(s));
9111
9067
  this._styles.length = 0;
9112
9068
  }
9069
+ this._styleAnchors.delete(this._def);
9113
9070
  this._applyStyles(newStyles);
9114
9071
  if (!this._instance.vapor) this._instance = null;
9115
9072
  this._update();
@@ -9175,18 +9132,26 @@ var VueElementBase = class VueElementBase extends BaseClass {
9175
9132
  }
9176
9133
  }
9177
9134
  }
9178
- _applyStyles(styles, owner) {
9135
+ _applyStyles(styles, owner, parentComp) {
9179
9136
  if (!styles) return;
9180
9137
  if (owner) {
9181
9138
  if (owner === this._def || this._styleChildren.has(owner)) return;
9182
9139
  this._styleChildren.add(owner);
9183
9140
  }
9184
9141
  const nonce = this._nonce;
9142
+ const root = this.shadowRoot;
9143
+ const insertionAnchor = parentComp ? this._getStyleAnchor(parentComp) || this._getStyleAnchor(this._def) : this._getRootStyleInsertionAnchor(root);
9144
+ let last = null;
9185
9145
  for (let i = styles.length - 1; i >= 0; i--) {
9186
9146
  const s = document.createElement("style");
9187
9147
  if (nonce) s.setAttribute("nonce", nonce);
9188
9148
  s.textContent = styles[i];
9189
- this.shadowRoot.prepend(s);
9149
+ root.insertBefore(s, last || insertionAnchor);
9150
+ last = s;
9151
+ if (i === 0) {
9152
+ if (!parentComp) this._styleAnchors.set(this._def, s);
9153
+ if (owner) this._styleAnchors.set(owner, s);
9154
+ }
9190
9155
  if (owner) {
9191
9156
  if (owner.__hmrId) {
9192
9157
  if (!this._childStyles) this._childStyles = /* @__PURE__ */ new Map();
@@ -9197,6 +9162,20 @@ var VueElementBase = class VueElementBase extends BaseClass {
9197
9162
  } else (this._styles || (this._styles = [])).push(s);
9198
9163
  }
9199
9164
  }
9165
+ _getStyleAnchor(comp) {
9166
+ if (!comp) return null;
9167
+ const anchor = this._styleAnchors.get(comp);
9168
+ if (anchor && anchor.parentNode === this.shadowRoot) return anchor;
9169
+ if (anchor) this._styleAnchors.delete(comp);
9170
+ return null;
9171
+ }
9172
+ _getRootStyleInsertionAnchor(root) {
9173
+ for (let i = 0; i < root.childNodes.length; i++) {
9174
+ const node = root.childNodes[i];
9175
+ if (!(node instanceof HTMLStyleElement)) return node;
9176
+ }
9177
+ return null;
9178
+ }
9200
9179
  /**
9201
9180
  * Only called when shadowRoot is false
9202
9181
  */
@@ -9259,8 +9238,8 @@ var VueElementBase = class VueElementBase extends BaseClass {
9259
9238
  /**
9260
9239
  * @internal
9261
9240
  */
9262
- _injectChildStyle(comp) {
9263
- this._applyStyles(comp.styles, comp);
9241
+ _injectChildStyle(comp, parentComp) {
9242
+ this._applyStyles(comp.styles, comp, parentComp);
9264
9243
  }
9265
9244
  /**
9266
9245
  * @internal
@@ -9287,6 +9266,7 @@ var VueElementBase = class VueElementBase extends BaseClass {
9287
9266
  */
9288
9267
  _removeChildStyle(comp) {
9289
9268
  this._styleChildren.delete(comp);
9269
+ this._styleAnchors.delete(comp);
9290
9270
  if (this._childStyles && comp.__hmrId) {
9291
9271
  const oldStyles = this._childStyles.get(comp.__hmrId);
9292
9272
  if (oldStyles) {
@@ -9355,7 +9335,6 @@ function useShadowRoot() {
9355
9335
  const el = useHost("useShadowRoot");
9356
9336
  return el && el.shadowRoot;
9357
9337
  }
9358
-
9359
9338
  //#endregion
9360
9339
  //#region packages/runtime-dom/src/helpers/useCssModule.ts
9361
9340
  function useCssModule(name = "$style") {
@@ -9378,7 +9357,6 @@ function useCssModule(name = "$style") {
9378
9357
  return mod;
9379
9358
  }
9380
9359
  }
9381
-
9382
9360
  //#endregion
9383
9361
  //#region packages/runtime-dom/src/components/TransitionGroup.ts
9384
9362
  const positionMap = /* @__PURE__ */ new WeakMap();
@@ -9393,7 +9371,7 @@ const decorate = (t) => {
9393
9371
  delete t.props.mode;
9394
9372
  return t;
9395
9373
  };
9396
- const TransitionGroupImpl = /* @__PURE__ */ decorate({
9374
+ const TransitionGroup = /* @__PURE__ */ decorate({
9397
9375
  name: "TransitionGroup",
9398
9376
  props: /* @__PURE__ */ extend({}, TransitionPropsValidators, {
9399
9377
  tag: String,
@@ -9444,7 +9422,6 @@ const TransitionGroupImpl = /* @__PURE__ */ decorate({
9444
9422
  };
9445
9423
  }
9446
9424
  });
9447
- const TransitionGroup = TransitionGroupImpl;
9448
9425
  function callPendingCbs(el) {
9449
9426
  if (el[moveCbKey]) el[moveCbKey]();
9450
9427
  if (el[enterCbKey]) el[enterCbKey]();
@@ -9510,7 +9487,6 @@ const handleMovedChildren = (el, moveClass) => {
9510
9487
  };
9511
9488
  el.addEventListener("transitionend", cb);
9512
9489
  };
9513
-
9514
9490
  //#endregion
9515
9491
  //#region packages/runtime-dom/src/directives/vModel.ts
9516
9492
  const getModelAssigner = (vnode) => {
@@ -9571,7 +9547,8 @@ const vModelTextUpdate = (el, oldValue, value, trim, number, lazy) => {
9571
9547
  const elValue = (number || el.type === "number") && !/^0\d/.test(el.value) ? looseToNumber(el.value) : el.value;
9572
9548
  const newValue = value == null ? "" : value;
9573
9549
  if (elValue === newValue) return;
9574
- if (document.activeElement === el && el.type !== "range") {
9550
+ const rootNode = el.getRootNode();
9551
+ if ((rootNode instanceof Document || rootNode instanceof ShadowRoot) && rootNode.activeElement === el && el.type !== "range") {
9575
9552
  if (lazy && value === oldValue) return;
9576
9553
  if (trim && el.value.trim() === newValue) return;
9577
9554
  }
@@ -9742,7 +9719,6 @@ function callModelHook(el, binding, vnode, prevVNode, hook) {
9742
9719
  const fn = resolveDynamicModel(el.tagName, vnode.props && vnode.props.type)[hook];
9743
9720
  fn && fn(el, binding, vnode, prevVNode);
9744
9721
  }
9745
-
9746
9722
  //#endregion
9747
9723
  //#region packages/runtime-dom/src/directives/vOn.ts
9748
9724
  const systemModifiers = [
@@ -9800,7 +9776,6 @@ const withKeys = (fn, modifiers) => {
9800
9776
  if (modifiers.some((k) => k === eventKey || keyNames[k] === eventKey)) return fn(event);
9801
9777
  }));
9802
9778
  };
9803
-
9804
9779
  //#endregion
9805
9780
  //#region packages/runtime-dom/src/index.ts
9806
9781
  const rendererOptions = /* @__PURE__ */ extend({ patchProp }, nodeOps);
@@ -9902,6 +9877,5 @@ function normalizeContainer(container) {
9902
9877
  * @internal
9903
9878
  */
9904
9879
  const initDirectivesForSSR = NOOP;
9905
-
9906
9880
  //#endregion
9907
- export { BaseTransition, BaseTransitionPropsValidators, Comment, DeprecationTypes, EffectScope, ErrorCodes, ErrorTypeStrings, Fragment, KeepAlive, MoveType, NULL_DYNAMIC_COMPONENT, ReactiveEffect, Static, Suspense, Teleport, Text, TrackOpTypes, Transition, TransitionGroup, TriggerOpTypes, VueElement, VueElementBase, assertNumber, callWithAsyncErrorHandling, callWithErrorHandling, camelize, capitalize, cloneVNode, compatUtils, computed, createApp, createBlock, createCommentVNode, createElementBlock, createBaseVNode as createElementVNode, createHydrationRenderer, createPropsRestProxy, createRenderer, createSSRApp, createSlots, createStaticVNode, createTextVNode, createVNode, customRef, defineAsyncComponent, defineComponent, defineCustomElement, defineEmits, defineExpose, defineModel, defineOptions, defineProps, defineSSRCustomElement, defineSlots, devtools, effect, effectScope, getCurrentInstance, getCurrentScope, getCurrentWatcher, getTransitionRawChildren, guardReactiveProps, h, handleError, hasInjectionContext, hydrate, hydrateOnIdle, hydrateOnInteraction, hydrateOnMediaQuery, hydrateOnVisible, initCustomFormatter, initDirectivesForSSR, inject, isMemoSame, isProxy, isReactive, isReadonly, isRef, isRuntimeOnly, isShallow, isVNode, markRaw, mergeDefaults, mergeModels, mergeProps, nextTick, nodeOps, normalizeClass, normalizeProps, normalizeStyle, onActivated, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onErrorCaptured, onMounted, onRenderTracked, onRenderTriggered, onScopeDispose, onServerPrefetch, onUnmounted, onUpdated, onWatcherCleanup, openBlock, patchProp, popScopeId, provide, proxyRefs, pushScopeId, queuePostFlushCb, reactive, readonly, ref, registerRuntimeCompiler, render, renderList, renderSlot, resolveComponent, resolveDirective, resolveDynamicComponent, resolveFilter, resolveTransitionHooks, setBlockTracking, setDevtoolsHook, setIsHydratingEnabled, setTransitionHooks, shallowReactive, shallowReadonly, shallowRef, ssrContextKey, ssrUtils, stop, toDisplayString, toHandlerKey, toHandlers, toRaw, toRef, toRefs, toValue, transformVNodeArgs, triggerRef, unref, useAttrs, useCssModule, useCssVars, useHost, useId, useInstanceOption, useModel, useSSRContext, useShadowRoot, useSlots, useTemplateRef, useTransitionState, vModelCheckbox, vModelDynamic, vModelRadio, vModelSelect, vModelText, vShow, version, warn, watch, watchEffect, watchPostEffect, watchSyncEffect, withAsyncContext, withCtx, withDefaults, withDirectives, withKeys, withMemo, withModifiers, withScopeId };
9881
+ export { BaseTransition, BaseTransitionPropsValidators, Comment, DeprecationTypes, EffectScope, ErrorCodes, ErrorTypeStrings, Fragment, KeepAlive, MoveType, NULL_DYNAMIC_COMPONENT, ReactiveEffect, Static, Suspense, Teleport, Text, TrackOpTypes, Transition, TransitionGroup, TriggerOpTypes, VueElement, VueElementBase, assertNumber, callWithAsyncErrorHandling, callWithErrorHandling, camelize, capitalize, cloneVNode, compatUtils, computed, createApp, createBlock, createCommentVNode, createElementBlock, createBaseVNode as createElementVNode, createHydrationRenderer, createPropsRestProxy, createRenderer, createSSRApp, createSlots, createStaticVNode, createTextVNode, createVNode, customRef, defineAsyncComponent, defineComponent, defineCustomElement, defineEmits, defineExpose, defineModel, defineOptions, defineProps, defineSSRCustomElement, defineSlots, devtools, effect, effectScope, getCurrentInstance, getCurrentScope, getCurrentWatcher, getTransitionRawChildren, guardReactiveProps, h, handleError, hasInjectionContext, hydrate, hydrateOnIdle, hydrateOnInteraction, hydrateOnMediaQuery, hydrateOnVisible, initCustomFormatter, initDirectivesForSSR, inject, isMemoSame, isProxy, isReactive, isReadonly, isRef, isRuntimeOnly, isShallow, isVNode, markRaw, mergeDefaults, mergeModels, mergeProps, nextTick, nodeOps, normalizeClass, normalizeProps, normalizeStyle, onActivated, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onErrorCaptured, onMounted, onRenderTracked, onRenderTriggered, onScopeDispose, onServerPrefetch, onUnmounted, onUpdated, onWatcherCleanup, openBlock, patchProp, popScopeId, provide, proxyRefs, pushScopeId, queuePostFlushCb, reactive, readonly, ref, registerRuntimeCompiler, render, renderList, renderSlot, resolveComponent, resolveDirective, resolveDynamicComponent, resolveFilter, resolveTransitionHooks, setBlockTracking, setDevtoolsHook, setIsHydratingEnabled, setTransitionHooks, shallowReactive, shallowReadonly, shallowRef, ssrContextKey, ssrUtils, stop, toDisplayString, toHandlerKey, toHandlers, toRaw, toRef, toRefs, toValue, transformVNodeArgs, triggerRef, unref, useAttrs, useCssModule, useCssVars, useHost, useId, useInstanceOption, useModel, useSSRContext, useShadowRoot, useSlots, useTemplateRef, useTransitionState, vModelCheckbox, vModelDynamic, vModelRadio, vModelSelect, vModelText, vShow, version, warn, watch, watchEffect, watchPostEffect, watchSyncEffect, withAsyncContext, withCtx, withDefaults, withDirectives, withKeys, withMemo, withModifiers, withScopeId };