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

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,14 +1,12 @@
1
1
  /**
2
- * @vue/runtime-dom v3.6.0-beta.7
2
+ * @vue/runtime-dom v3.6.0-beta.8
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
6
6
  var VueRuntimeDOM = (function(exports) {
7
-
8
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
9
-
10
- //#region packages/shared/src/makeMap.ts
11
- /**
7
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
8
+ //#region packages/shared/src/makeMap.ts
9
+ /**
12
10
  * Make a map and return a function for checking if a key
13
11
  * is in that map.
14
12
  * IMPORTANT: all calls of this function must be prefixed with
@@ -21,9 +19,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
21
19
  for (const key of str.split(",")) map[key] = 1;
22
20
  return (val) => val in map;
23
21
  }
24
-
25
- //#endregion
26
- //#region packages/shared/src/general.ts
22
+ //#endregion
23
+ //#region packages/shared/src/general.ts
27
24
  const EMPTY_OBJ = Object.freeze({});
28
25
  const EMPTY_ARR = Object.freeze([]);
29
26
  const NOOP = () => {};
@@ -136,14 +133,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
136
133
  function canSetValueDirectly(tagName) {
137
134
  return tagName !== "PROGRESS" && !tagName.includes("-");
138
135
  }
139
-
140
- //#endregion
141
- //#region packages/shared/src/globalsAllowList.ts
142
- 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";
143
- const isGloballyAllowed = /* @__PURE__ */ makeMap(GLOBALS_ALLOWED);
144
-
145
- //#endregion
146
- //#region packages/shared/src/normalizeProp.ts
136
+ 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");
137
+ //#endregion
138
+ //#region packages/shared/src/normalizeProp.ts
147
139
  function normalizeStyle(value) {
148
140
  if (isArray(value)) {
149
141
  const res = {};
@@ -200,9 +192,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
200
192
  if (style) props.style = normalizeStyle(style);
201
193
  return props;
202
194
  }
203
-
204
- //#endregion
205
- //#region packages/shared/src/domTagConfig.ts
195
+ //#endregion
196
+ //#region packages/shared/src/domTagConfig.ts
206
197
  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";
207
198
  const SVG_TAGS = "svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view";
208
199
  const MATH_TAGS = "annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics";
@@ -221,10 +212,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
221
212
  * Do NOT use in runtime code paths unless behind `__DEV__` flag.
222
213
  */
223
214
  const isMathMLTag = /* @__PURE__ */ makeMap(MATH_TAGS);
224
-
225
- //#endregion
226
- //#region packages/shared/src/domAttrConfig.ts
227
- /**
215
+ //#endregion
216
+ //#region packages/shared/src/domAttrConfig.ts
217
+ /**
228
218
  * On the client we only need to offer special cases for boolean attributes that
229
219
  * have different names from their corresponding dom properties:
230
220
  * - itemscope -> N/A
@@ -276,16 +266,14 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
276
266
  if (key === "sandbox" && tagName === "IFRAME") return true;
277
267
  return false;
278
268
  }
279
-
280
- //#endregion
281
- //#region packages/shared/src/escapeHtml.ts
269
+ //#endregion
270
+ //#region packages/shared/src/escapeHtml.ts
282
271
  const cssVarNameEscapeSymbolsRE = /[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;
283
272
  function getEscapedCssVarName(key, doubleEscape) {
284
273
  return key.replace(cssVarNameEscapeSymbolsRE, (s) => doubleEscape ? s === "\"" ? "\\\\\\\"" : `\\\\${s}` : `\\${s}`);
285
274
  }
286
-
287
- //#endregion
288
- //#region packages/shared/src/looseEqual.ts
275
+ //#endregion
276
+ //#region packages/shared/src/looseEqual.ts
289
277
  function looseCompareArrays(a, b) {
290
278
  if (a.length !== b.length) return false;
291
279
  let equal = true;
@@ -319,9 +307,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
319
307
  function looseIndexOf(arr, val) {
320
308
  return arr.findIndex((item) => looseEqual(item, val));
321
309
  }
322
-
323
- //#endregion
324
- //#region packages/shared/src/toDisplayString.ts
310
+ //#endregion
311
+ //#region packages/shared/src/toDisplayString.ts
325
312
  const isRef$1 = (val) => {
326
313
  return !!(val && val["__v_isRef"] === true);
327
314
  };
@@ -354,9 +341,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
354
341
  var _description;
355
342
  return isSymbol(v) ? `Symbol(${(_description = v.description) !== null && _description !== void 0 ? _description : i})` : v;
356
343
  };
357
-
358
- //#endregion
359
- //#region packages/shared/src/subSequence.ts
344
+ //#endregion
345
+ //#region packages/shared/src/subSequence.ts
360
346
  function getSequence(arr) {
361
347
  const p = arr.slice();
362
348
  const result = [0];
@@ -392,10 +378,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
392
378
  }
393
379
  return result;
394
380
  }
395
-
396
- //#endregion
397
- //#region packages/shared/src/cssVars.ts
398
- /**
381
+ //#endregion
382
+ //#region packages/shared/src/cssVars.ts
383
+ /**
399
384
  * Normalize CSS var value created by `v-bind` in `<style>` block
400
385
  * See https://github.com/vuejs/core/pull/12461#issuecomment-2495804664
401
386
  */
@@ -405,9 +390,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
405
390
  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);
406
391
  return String(value);
407
392
  }
408
-
409
- //#endregion
410
- //#region packages/reactivity/src/debug.ts
393
+ //#endregion
394
+ //#region packages/reactivity/src/debug.ts
411
395
  const triggerEventInfos = [];
412
396
  function onTrack(sub, debugInfo) {
413
397
  if (sub.onTrack) sub.onTrack(extend({ effect: sub }, debugInfo));
@@ -441,31 +425,11 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
441
425
  }
442
426
  });
443
427
  }
444
-
445
- //#endregion
446
- //#region packages/reactivity/src/warning.ts
428
+ //#endregion
429
+ //#region packages/reactivity/src/warning.ts
447
430
  function warn$2(msg, ...args) {
448
431
  console.warn(`[Vue warn] ${msg}`, ...args);
449
432
  }
450
-
451
- //#endregion
452
- //#region packages/reactivity/src/system.ts
453
- const ReactiveFlags = {
454
- "None": 0,
455
- "0": "None",
456
- "Mutable": 1,
457
- "1": "Mutable",
458
- "Watching": 2,
459
- "2": "Watching",
460
- "RecursedCheck": 4,
461
- "4": "RecursedCheck",
462
- "Recursed": 8,
463
- "8": "Recursed",
464
- "Dirty": 16,
465
- "16": "Dirty",
466
- "Pending": 32,
467
- "32": "Pending"
468
- };
469
433
  const notifyBuffer = [];
470
434
  let batchDepth = 0;
471
435
  let activeSub = void 0;
@@ -673,9 +637,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
673
637
  }
674
638
  return false;
675
639
  }
676
-
677
- //#endregion
678
- //#region packages/reactivity/src/dep.ts
640
+ //#endregion
641
+ //#region packages/reactivity/src/dep.ts
679
642
  var Dep = class {
680
643
  constructor(map, key) {
681
644
  this.map = map;
@@ -784,10 +747,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
784
747
  const depMap = targetMap.get(object);
785
748
  return depMap && depMap.get(key);
786
749
  }
787
-
788
- //#endregion
789
- //#region packages/reactivity/src/arrayInstrumentations.ts
790
- /**
750
+ //#endregion
751
+ //#region packages/reactivity/src/arrayInstrumentations.ts
752
+ /**
791
753
  * Track array iteration and return:
792
754
  * - if input is reactive: a cloned raw array with reactive values
793
755
  * - if input is non-reactive or shallowReactive: the original raw array
@@ -932,16 +894,25 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
932
894
  }
933
895
  function reduce(self, method, fn, args) {
934
896
  const arr = shallowReadArray(self);
897
+ const needsWrap = arr !== self && !/* @__PURE__ */ isShallow(self);
935
898
  let wrappedFn = fn;
899
+ let wrapInitialAccumulator = false;
936
900
  if (arr !== self) {
937
- if (!/* @__PURE__ */ isShallow(self)) wrappedFn = function(acc, item, index) {
938
- return fn.call(this, acc, toWrapped(self, item), index, self);
939
- };
940
- else if (fn.length > 3) wrappedFn = function(acc, item, index) {
901
+ if (needsWrap) {
902
+ wrapInitialAccumulator = args.length === 0;
903
+ wrappedFn = function(acc, item, index) {
904
+ if (wrapInitialAccumulator) {
905
+ wrapInitialAccumulator = false;
906
+ acc = toWrapped(self, acc);
907
+ }
908
+ return fn.call(this, acc, toWrapped(self, item), index, self);
909
+ };
910
+ } else if (fn.length > 3) wrappedFn = function(acc, item, index) {
941
911
  return fn.call(this, acc, item, index, self);
942
912
  };
943
913
  }
944
- return arr[method](wrappedFn, ...args);
914
+ const result = arr[method](wrappedFn, ...args);
915
+ return wrapInitialAccumulator ? toWrapped(self, result) : result;
945
916
  }
946
917
  function searchProxy(self, method, args) {
947
918
  const arr = /* @__PURE__ */ toRaw(self);
@@ -961,9 +932,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
961
932
  endBatch();
962
933
  return res;
963
934
  }
964
-
965
- //#endregion
966
- //#region packages/reactivity/src/baseHandlers.ts
935
+ //#endregion
936
+ //#region packages/reactivity/src/baseHandlers.ts
967
937
  const isNonTrackableKeys = /* @__PURE__ */ makeMap(`__proto__,__v_isRef,__isVue`);
968
938
  const builtInSymbols = new Set(/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((key) => key !== "arguments" && key !== "caller").map((key) => Symbol[key]).filter(isSymbol));
969
939
  function hasOwnProperty(key) {
@@ -1070,9 +1040,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
1070
1040
  const readonlyHandlers = /* @__PURE__ */ new ReadonlyReactiveHandler();
1071
1041
  const shallowReactiveHandlers = /* @__PURE__ */ new MutableReactiveHandler(true);
1072
1042
  const shallowReadonlyHandlers = /* @__PURE__ */ new ReadonlyReactiveHandler(true);
1073
-
1074
- //#endregion
1075
- //#region packages/reactivity/src/collectionHandlers.ts
1043
+ //#endregion
1044
+ //#region packages/reactivity/src/collectionHandlers.ts
1076
1045
  const toShallow = (value) => value;
1077
1046
  const getProto = (v) => Reflect.getPrototypeOf(v);
1078
1047
  function createIterableMethod(method, isReadonly, isShallow) {
@@ -1155,11 +1124,13 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
1155
1124
  clear: createReadonlyMethod("clear")
1156
1125
  } : {
1157
1126
  add(value) {
1158
- if (!shallow && !/* @__PURE__ */ isShallow(value) && !/* @__PURE__ */ isReadonly(value)) value = /* @__PURE__ */ toRaw(value);
1159
1127
  const target = /* @__PURE__ */ toRaw(this);
1160
- if (!getProto(target).has.call(target, value)) {
1161
- target.add(value);
1162
- trigger(target, "add", value, value);
1128
+ const proto = getProto(target);
1129
+ const rawValue = /* @__PURE__ */ toRaw(value);
1130
+ const valueToAdd = !shallow && !/* @__PURE__ */ isShallow(value) && !/* @__PURE__ */ isReadonly(value) ? rawValue : value;
1131
+ if (!(proto.has.call(target, valueToAdd) || hasChanged(value, valueToAdd) && proto.has.call(target, value) || hasChanged(rawValue, valueToAdd) && proto.has.call(target, rawValue))) {
1132
+ target.add(valueToAdd);
1133
+ trigger(target, "add", valueToAdd, valueToAdd);
1163
1134
  }
1164
1135
  return this;
1165
1136
  },
@@ -1230,9 +1201,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
1230
1201
  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.`);
1231
1202
  }
1232
1203
  }
1233
-
1234
- //#endregion
1235
- //#region packages/reactivity/src/reactive.ts
1204
+ //#endregion
1205
+ //#region packages/reactivity/src/reactive.ts
1236
1206
  const reactiveMap = /* @__PURE__ */ new WeakMap();
1237
1207
  const shallowReactiveMap = /* @__PURE__ */ new WeakMap();
1238
1208
  const readonlyMap = /* @__PURE__ */ new WeakMap();
@@ -1494,9 +1464,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
1494
1464
  * @param value - The value for which a readonly proxy shall be created.
1495
1465
  */
1496
1466
  const toReadonly = (value) => isObject(value) ? /* @__PURE__ */ readonly(value) : value;
1497
-
1498
- //#endregion
1499
- //#region packages/reactivity/src/ref.ts
1467
+ //#endregion
1468
+ //#region packages/reactivity/src/ref.ts
1500
1469
  /* @__NO_SIDE_EFFECTS__ */
1501
1470
  function isRef(r) {
1502
1471
  return r ? r["__v_isRef"] === true : false;
@@ -1563,7 +1532,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
1563
1532
  }
1564
1533
  }
1565
1534
  update() {
1566
- this.flags &= ~16;
1535
+ this.flags &= -17;
1567
1536
  return hasChanged(this._oldValue, this._oldValue = this._rawValue);
1568
1537
  }
1569
1538
  };
@@ -1769,9 +1738,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
1769
1738
  function propertyToRef(source, key, defaultValue) {
1770
1739
  return new ObjectRefImpl(source, key, defaultValue);
1771
1740
  }
1772
-
1773
- //#endregion
1774
- //#region packages/reactivity/src/effect.ts
1741
+ //#endregion
1742
+ //#region packages/reactivity/src/effect.ts
1775
1743
  var ReactiveEffect = class {
1776
1744
  fn() {}
1777
1745
  constructor(fn) {
@@ -1878,9 +1846,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
1878
1846
  sub.cleanupsLength = 0;
1879
1847
  }
1880
1848
  }
1881
-
1882
- //#endregion
1883
- //#region packages/reactivity/src/effectScope.ts
1849
+ //#endregion
1850
+ //#region packages/reactivity/src/effectScope.ts
1884
1851
  let activeEffectScope;
1885
1852
  var EffectScope = class {
1886
1853
  constructor(detached = false) {
@@ -1987,10 +1954,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
1987
1954
  if (activeEffectScope !== void 0) activeEffectScope.cleanups[activeEffectScope.cleanupsLength++] = fn;
1988
1955
  else if (!failSilently) warn$2("onScopeDispose() is called when there is no active effect scope to be associated with.");
1989
1956
  }
1990
-
1991
- //#endregion
1992
- //#region packages/reactivity/src/computed.ts
1993
- /**
1957
+ //#endregion
1958
+ //#region packages/reactivity/src/computed.ts
1959
+ /**
1994
1960
  * @private exported by @vue/reactivity for Vue core use, but not exported from
1995
1961
  * the main vue package
1996
1962
  */
@@ -2011,7 +1977,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2011
1977
  if (flags & 32) if (checkDirty(this.deps, this)) {
2012
1978
  this.flags = flags | 16;
2013
1979
  return true;
2014
- } else this.flags = flags & ~32;
1980
+ } else this.flags = flags & -33;
2015
1981
  return false;
2016
1982
  }
2017
1983
  /**
@@ -2020,7 +1986,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2020
1986
  */
2021
1987
  set _dirty(v) {
2022
1988
  if (v) this.flags |= 16;
2023
- else this.flags &= ~(16 | 32);
1989
+ else this.flags &= -49;
2024
1990
  }
2025
1991
  constructor(fn, setter) {
2026
1992
  this.fn = fn;
@@ -2030,7 +1996,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2030
1996
  this.subsTail = void 0;
2031
1997
  this.deps = void 0;
2032
1998
  this.depsTail = void 0;
2033
- this.flags = 1 | 16;
1999
+ this.flags = 17;
2034
2000
  this.__v_isRef = true;
2035
2001
  this["__v_isReadonly"] = !setter;
2036
2002
  }
@@ -2041,7 +2007,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2041
2007
  const subs = this.subs;
2042
2008
  if (subs !== void 0) shallowPropagate(subs);
2043
2009
  }
2044
- } else if (flags & 32) this.flags = flags & ~32;
2010
+ } else if (flags & 32) this.flags = flags & -33;
2045
2011
  if (activeSub !== void 0) {
2046
2012
  onTrack(activeSub, {
2047
2013
  target: this,
@@ -2088,9 +2054,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2088
2054
  }
2089
2055
  return cRef;
2090
2056
  }
2091
-
2092
- //#endregion
2093
- //#region packages/reactivity/src/constants.ts
2057
+ //#endregion
2058
+ //#region packages/reactivity/src/constants.ts
2094
2059
  const TrackOpTypes = {
2095
2060
  "GET": "get",
2096
2061
  "HAS": "has",
@@ -2102,9 +2067,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2102
2067
  "DELETE": "delete",
2103
2068
  "CLEAR": "clear"
2104
2069
  };
2105
-
2106
- //#endregion
2107
- //#region packages/reactivity/src/watch.ts
2070
+ //#endregion
2071
+ //#region packages/reactivity/src/watch.ts
2108
2072
  const INITIAL_WATCHER_VALUE = {};
2109
2073
  let activeWatcher = void 0;
2110
2074
  /**
@@ -2245,9 +2209,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2245
2209
  }
2246
2210
  return value;
2247
2211
  }
2248
-
2249
- //#endregion
2250
- //#region packages/runtime-core/src/warning.ts
2212
+ //#endregion
2213
+ //#region packages/runtime-core/src/warning.ts
2251
2214
  const stack = [];
2252
2215
  /**
2253
2216
  * @internal
@@ -2272,8 +2235,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2272
2235
  const trace = getComponentTrace();
2273
2236
  if (appWarnHandler) callWithErrorHandling(appWarnHandler, instance, 11, [
2274
2237
  msg + args.map((a) => {
2275
- var _a$toString, _a$toString2;
2276
- 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);
2238
+ const toString = a.toString;
2239
+ return toString == null ? JSON.stringify(a) : toString.call(a);
2277
2240
  }).join(""),
2278
2241
  instance && instance.proxy || instance,
2279
2242
  trace.map(({ ctx }) => `at <${formatComponentName(instance, ctx.type)}>`).join("\n"),
@@ -2363,9 +2326,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2363
2326
  else if (isNaN(val)) warn$1(`${type} is NaN - the duration expression might be incorrect.`);
2364
2327
  }
2365
2328
  /* v8 ignore stop */
2366
-
2367
- //#endregion
2368
- //#region packages/runtime-core/src/errorHandling.ts
2329
+ //#endregion
2330
+ //#region packages/runtime-core/src/errorHandling.ts
2369
2331
  const ErrorCodes = {
2370
2332
  "SETUP_FUNCTION": 0,
2371
2333
  "0": "SETUP_FUNCTION",
@@ -2486,9 +2448,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2486
2448
  else console.error(err);
2487
2449
  }
2488
2450
  }
2489
-
2490
- //#endregion
2491
- //#region packages/runtime-core/src/scheduler.ts
2451
+ //#endregion
2452
+ //#region packages/runtime-core/src/scheduler.ts
2492
2453
  const jobs = [];
2493
2454
  let postJobs = [];
2494
2455
  let activePostJobs = null;
@@ -2639,9 +2600,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2639
2600
  seen.set(fn, count + 1);
2640
2601
  return false;
2641
2602
  }
2642
-
2643
- //#endregion
2644
- //#region packages/runtime-core/src/hmr.ts
2603
+ //#endregion
2604
+ //#region packages/runtime-core/src/hmr.ts
2645
2605
  let isHmrUpdating = false;
2646
2606
  const hmrDirtyComponents = /* @__PURE__ */ new Map();
2647
2607
  const hmrDirtyComponentsMode = /* @__PURE__ */ new Map();
@@ -2761,9 +2721,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2761
2721
  }
2762
2722
  };
2763
2723
  }
2764
-
2765
- //#endregion
2766
- //#region packages/runtime-core/src/devtools.ts
2724
+ //#endregion
2725
+ //#region packages/runtime-core/src/devtools.ts
2767
2726
  let devtools$1;
2768
2727
  let buffer = [];
2769
2728
  let devtoolsNotInstalled = false;
@@ -2830,10 +2789,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2830
2789
  function devtoolsComponentEmit(component, event, params) {
2831
2790
  emit$1("component:emit", component.appContext.app, component, event, params);
2832
2791
  }
2833
-
2834
- //#endregion
2835
- //#region packages/runtime-core/src/componentRenderContext.ts
2836
- /**
2792
+ //#endregion
2793
+ //#region packages/runtime-core/src/componentRenderContext.ts
2794
+ /**
2837
2795
  * mark the current rendering instance for asset resolution (e.g.
2838
2796
  * resolveComponent, resolveDirective) during render
2839
2797
  */
@@ -2900,9 +2858,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2900
2858
  renderFnWithContext._d = true;
2901
2859
  return renderFnWithContext;
2902
2860
  }
2903
-
2904
- //#endregion
2905
- //#region packages/runtime-core/src/directives.ts
2861
+ //#endregion
2862
+ //#region packages/runtime-core/src/directives.ts
2906
2863
  function validateDirectiveName(name) {
2907
2864
  if (isBuiltInDirective(name)) warn$1("Do not use built-in directive ids as custom directive id: " + name);
2908
2865
  }
@@ -2955,9 +2912,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2955
2912
  }
2956
2913
  }
2957
2914
  }
2958
-
2959
- //#endregion
2960
- //#region packages/runtime-core/src/apiInject.ts
2915
+ //#endregion
2916
+ //#region packages/runtime-core/src/apiInject.ts
2961
2917
  function provide(key, value) {
2962
2918
  if (!currentInstance || currentInstance.isMounted && !isHmrUpdating) warn$1(`provide() can only be used inside setup().`);
2963
2919
  if (currentInstance) {
@@ -2984,16 +2940,14 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2984
2940
  function hasInjectionContext() {
2985
2941
  return !!(getCurrentGenericInstance() || currentApp);
2986
2942
  }
2987
-
2988
- //#endregion
2989
- //#region packages/runtime-core/src/helpers/useSsrContext.ts
2943
+ //#endregion
2944
+ //#region packages/runtime-core/src/helpers/useSsrContext.ts
2990
2945
  const ssrContextKey = Symbol.for("v-scx");
2991
2946
  const useSSRContext = () => {
2992
2947
  warn$1(`useSSRContext() is not supported in the global build.`);
2993
2948
  };
2994
-
2995
- //#endregion
2996
- //#region packages/runtime-core/src/apiWatch.ts
2949
+ //#endregion
2950
+ //#region packages/runtime-core/src/apiWatch.ts
2997
2951
  function watchEffect(effect, options) {
2998
2952
  return doWatch(effect, null, options);
2999
2953
  }
@@ -3074,9 +3028,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
3074
3028
  return cur;
3075
3029
  };
3076
3030
  }
3077
-
3078
- //#endregion
3079
- //#region packages/runtime-core/src/components/Teleport.ts
3031
+ //#endregion
3032
+ //#region packages/runtime-core/src/components/Teleport.ts
3080
3033
  const TeleportEndKey = Symbol("_vte");
3081
3034
  const isTeleport = (type) => type.__isTeleport;
3082
3035
  const isTeleportDisabled = (props) => props && (props.disabled || props.disabled === "");
@@ -3272,9 +3225,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
3272
3225
  }
3273
3226
  return targetAnchor;
3274
3227
  }
3275
-
3276
- //#endregion
3277
- //#region packages/runtime-core/src/components/BaseTransition.ts
3228
+ //#endregion
3229
+ //#region packages/runtime-core/src/components/BaseTransition.ts
3278
3230
  const leaveCbKey = Symbol("_leaveCb");
3279
3231
  const enterCbKey$1 = Symbol("_enterCb");
3280
3232
  function useTransitionState() {
@@ -3535,16 +3487,14 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
3535
3487
  function checkTransitionMode(mode) {
3536
3488
  if (mode && mode !== "in-out" && mode !== "out-in" && mode !== "default") warn$1(`invalid <transition> mode: ${mode}`);
3537
3489
  }
3538
-
3539
- //#endregion
3540
- //#region packages/runtime-core/src/apiDefineComponent.ts
3490
+ //#endregion
3491
+ //#region packages/runtime-core/src/apiDefineComponent.ts
3541
3492
  /* @__NO_SIDE_EFFECTS__ */
3542
3493
  function defineComponent(options, extraOptions) {
3543
3494
  return isFunction(options) ? extend({ name: options.name }, extraOptions, { setup: options }) : options;
3544
3495
  }
3545
-
3546
- //#endregion
3547
- //#region packages/runtime-core/src/helpers/useId.ts
3496
+ //#endregion
3497
+ //#region packages/runtime-core/src/helpers/useId.ts
3548
3498
  function useId() {
3549
3499
  const i = getCurrentGenericInstance();
3550
3500
  if (i) return (i.appContext.config.idPrefix || "v") + "-" + i.ids[0] + i.ids[1]++;
@@ -3564,9 +3514,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
3564
3514
  0
3565
3515
  ];
3566
3516
  }
3567
-
3568
- //#endregion
3569
- //#region packages/runtime-core/src/helpers/useTemplateRef.ts
3517
+ //#endregion
3518
+ //#region packages/runtime-core/src/helpers/useTemplateRef.ts
3570
3519
  const knownTemplateRefs = /* @__PURE__ */ new WeakSet();
3571
3520
  function useTemplateRef(key) {
3572
3521
  const i = getCurrentGenericInstance();
@@ -3588,9 +3537,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
3588
3537
  let desc;
3589
3538
  return !!((desc = Object.getOwnPropertyDescriptor(refs, key)) && !desc.configurable);
3590
3539
  }
3591
-
3592
- //#endregion
3593
- //#region packages/runtime-core/src/rendererTemplateRef.ts
3540
+ //#endregion
3541
+ //#region packages/runtime-core/src/rendererTemplateRef.ts
3594
3542
  const pendingSetRefMap = /* @__PURE__ */ new WeakMap();
3595
3543
  /**
3596
3544
  * Function for handling a template ref
@@ -3687,20 +3635,12 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
3687
3635
  pendingSetRefMap.delete(rawRef);
3688
3636
  }
3689
3637
  }
3690
-
3691
- //#endregion
3692
- //#region packages/runtime-core/src/hydration.ts
3638
+ //#endregion
3639
+ //#region packages/runtime-core/src/hydration.ts
3693
3640
  let isHydratingEnabled = false;
3694
3641
  function setIsHydratingEnabled(value) {
3695
3642
  isHydratingEnabled = value;
3696
3643
  }
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
3644
  let hasLoggedMismatchError = false;
3705
3645
  const logMismatchError = () => {
3706
3646
  if (hasLoggedMismatchError) return;
@@ -3726,9 +3666,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
3726
3666
  container._vnode = vnode;
3727
3667
  return;
3728
3668
  }
3729
- isHydrating = true;
3730
3669
  hydrateNode(container.firstChild, vnode, null, null, null);
3731
- isHydrating = false;
3732
3670
  flushPostFlushCbs();
3733
3671
  container._vnode = vnode;
3734
3672
  };
@@ -4097,9 +4035,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4097
4035
  return list.includes(MismatchTypeString[allowedType]);
4098
4036
  }
4099
4037
  }
4100
-
4101
- //#endregion
4102
- //#region packages/runtime-core/src/hydrationStrategies.ts
4038
+ //#endregion
4039
+ //#region packages/runtime-core/src/hydrationStrategies.ts
4103
4040
  let requestIdleCallback;
4104
4041
  let cancelIdleCallback;
4105
4042
  function ensureIdleCallbacks() {
@@ -4186,9 +4123,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4186
4123
  }
4187
4124
  } else cb(node);
4188
4125
  }
4189
-
4190
- //#endregion
4191
- //#region packages/runtime-core/src/apiAsyncComponent.ts
4126
+ //#endregion
4127
+ //#region packages/runtime-core/src/apiAsyncComponent.ts
4192
4128
  const isAsyncWrapper = (i) => !!i.type.__asyncLoader;
4193
4129
  /* @__NO_SIDE_EFFECTS__ */
4194
4130
  function defineAsyncComponent(source) {
@@ -4323,11 +4259,10 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4323
4259
  if (getResolvedComp()) doHydrate();
4324
4260
  else load().then(() => !instance.isUnmounted && doHydrate());
4325
4261
  }
4326
-
4327
- //#endregion
4328
- //#region packages/runtime-core/src/components/KeepAlive.ts
4262
+ //#endregion
4263
+ //#region packages/runtime-core/src/components/KeepAlive.ts
4329
4264
  const isKeepAlive = (vnode) => vnode.type.__isKeepAlive;
4330
- const KeepAliveImpl = {
4265
+ const KeepAlive = {
4331
4266
  name: `KeepAlive`,
4332
4267
  __isKeepAlive: true,
4333
4268
  props: {
@@ -4461,7 +4396,6 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4461
4396
  };
4462
4397
  }
4463
4398
  };
4464
- const KeepAlive = KeepAliveImpl;
4465
4399
  function matches(pattern, name) {
4466
4400
  if (isArray(pattern)) return pattern.some((p) => matches(p, name));
4467
4401
  else if (isString(pattern)) return pattern.split(",").includes(name);
@@ -4541,9 +4475,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4541
4475
  }, void 0, parentSuspense);
4542
4476
  devtoolsComponentAdded(instance);
4543
4477
  }
4544
-
4545
- //#endregion
4546
- //#region packages/runtime-core/src/apiLifecycle.ts
4478
+ //#endregion
4479
+ //#region packages/runtime-core/src/apiLifecycle.ts
4547
4480
  function injectHook(type, hook, target = currentInstance, prepend = false) {
4548
4481
  if (target) {
4549
4482
  const hooks = target[type] || (target[type] = []);
@@ -4577,23 +4510,19 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4577
4510
  function onErrorCaptured(hook, target = currentInstance) {
4578
4511
  injectHook("ec", hook, target);
4579
4512
  }
4580
-
4581
- //#endregion
4582
- //#region packages/runtime-core/src/helpers/resolveAssets.ts
4583
- const COMPONENTS = "components";
4584
4513
  const DIRECTIVES = "directives";
4585
4514
  /**
4586
4515
  * @private
4587
4516
  */
4588
4517
  function resolveComponent(name, maybeSelfReference) {
4589
- return resolveAsset(COMPONENTS, name, true, maybeSelfReference) || name;
4518
+ return resolveAsset("components", name, true, maybeSelfReference) || name;
4590
4519
  }
4591
4520
  const NULL_DYNAMIC_COMPONENT = Symbol.for("v-ndc");
4592
4521
  /**
4593
4522
  * @private
4594
4523
  */
4595
4524
  function resolveDynamicComponent(component) {
4596
- if (isString(component)) return resolveAsset(COMPONENTS, component, false) || component;
4525
+ if (isString(component)) return resolveAsset("components", component, false) || component;
4597
4526
  else return component || NULL_DYNAMIC_COMPONENT;
4598
4527
  }
4599
4528
  /**
@@ -4606,14 +4535,14 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4606
4535
  const instance = currentRenderingInstance || currentInstance;
4607
4536
  if (instance) {
4608
4537
  const Component = instance.type;
4609
- if (type === COMPONENTS) {
4538
+ if (type === "components") {
4610
4539
  const selfName = getComponentName(Component, false);
4611
4540
  if (selfName && (selfName === name || selfName === camelize(name) || selfName === capitalize(camelize(name)))) return Component;
4612
4541
  }
4613
4542
  const res = resolve(instance[type] || Component[type], name) || resolve(instance.appContext[type], name);
4614
4543
  if (!res && maybeSelfReference) return Component;
4615
4544
  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." : ``;
4545
+ const extra = type === "components" ? "\nIf this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement." : ``;
4617
4546
  warn$1(`Failed to resolve ${type.slice(0, -1)}: ${name}${extra}`);
4618
4547
  }
4619
4548
  return res;
@@ -4622,10 +4551,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4622
4551
  function resolve(registry, name) {
4623
4552
  return registry && (registry[name] || registry[camelize(name)] || registry[capitalize(camelize(name))]);
4624
4553
  }
4625
-
4626
- //#endregion
4627
- //#region packages/runtime-core/src/helpers/renderList.ts
4628
- /**
4554
+ //#endregion
4555
+ //#region packages/runtime-core/src/helpers/renderList.ts
4556
+ /**
4629
4557
  * Actual implementation
4630
4558
  */
4631
4559
  function renderList(source, renderItem, cache, index) {
@@ -4643,11 +4571,14 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4643
4571
  }
4644
4572
  ret = new Array(source.length);
4645
4573
  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}.`);
4574
+ } else if (typeof source === "number") if (!Number.isInteger(source) || source < 0) {
4575
+ warn$1(`The v-for range expects a positive integer value but got ${source}.`);
4576
+ ret = [];
4577
+ } else {
4648
4578
  ret = new Array(source);
4649
4579
  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]));
4580
+ }
4581
+ else if (isObject(source)) if (source[Symbol.iterator]) ret = Array.from(source, (item, i) => renderItem(item, i, void 0, cached && cached[i]));
4651
4582
  else {
4652
4583
  const keys = Object.keys(source);
4653
4584
  ret = new Array(keys.length);
@@ -4660,10 +4591,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4660
4591
  if (cache) cache[index] = ret;
4661
4592
  return ret;
4662
4593
  }
4663
-
4664
- //#endregion
4665
- //#region packages/runtime-core/src/helpers/createSlots.ts
4666
- /**
4594
+ //#endregion
4595
+ //#region packages/runtime-core/src/helpers/createSlots.ts
4596
+ /**
4667
4597
  * Compiler runtime helper for creating dynamic slots object
4668
4598
  * @private
4669
4599
  */
@@ -4679,10 +4609,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4679
4609
  }
4680
4610
  return slots;
4681
4611
  }
4682
-
4683
- //#endregion
4684
- //#region packages/runtime-core/src/helpers/renderSlot.ts
4685
- /**
4612
+ //#endregion
4613
+ //#region packages/runtime-core/src/helpers/renderSlot.ts
4614
+ /**
4686
4615
  * Compiler runtime helper for rendering `<slot/>`
4687
4616
  * @private
4688
4617
  */
@@ -4730,10 +4659,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4730
4659
  if (!vaporSlot.fallback && fallback) vaporSlot.fallback = fallback;
4731
4660
  }
4732
4661
  }
4733
-
4734
- //#endregion
4735
- //#region packages/runtime-core/src/helpers/toHandlers.ts
4736
- /**
4662
+ //#endregion
4663
+ //#region packages/runtime-core/src/helpers/toHandlers.ts
4664
+ /**
4737
4665
  * For prefixing keys in v-on="obj" with "on"
4738
4666
  * @private
4739
4667
  */
@@ -4746,10 +4674,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4746
4674
  for (const key in obj) ret[preserveCaseIfNecessary && /[A-Z]/.test(key) ? `on:${key}` : toHandlerKey(key)] = obj[key];
4747
4675
  return ret;
4748
4676
  }
4749
-
4750
- //#endregion
4751
- //#region packages/runtime-core/src/componentPublicInstance.ts
4752
- /**
4677
+ //#endregion
4678
+ //#region packages/runtime-core/src/componentPublicInstance.ts
4679
+ /**
4753
4680
  * #2437 In Vue 3, functional components do not have a public instance proxy but
4754
4681
  * they exist in the internal parent chain. For code that relies on traversing
4755
4682
  * public $parent chains, skip functional ones and go to the parent instead.
@@ -4925,9 +4852,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4925
4852
  }
4926
4853
  });
4927
4854
  }
4928
-
4929
- //#endregion
4930
- //#region packages/runtime-core/src/apiSetupHelpers.ts
4855
+ //#endregion
4856
+ //#region packages/runtime-core/src/apiSetupHelpers.ts
4931
4857
  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.`);
4932
4858
  function defineProps() {
4933
4859
  warnRuntimeUsage(`defineProps`);
@@ -4964,6 +4890,22 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4964
4890
  function defineOptions(options) {
4965
4891
  warnRuntimeUsage(`defineOptions`);
4966
4892
  }
4893
+ /**
4894
+ * Vue `<script setup>` compiler macro for providing type hints to IDEs for
4895
+ * slot name and slot props type checking.
4896
+ *
4897
+ * Example usage:
4898
+ * ```ts
4899
+ * const slots = defineSlots<{
4900
+ * default(props: { msg: string }): any
4901
+ * }>()
4902
+ * ```
4903
+ *
4904
+ * This is only usable inside `<script setup>`, is compiled away in the
4905
+ * output and should **not** be actually called at runtime.
4906
+ *
4907
+ * @see {@link https://vuejs.org/api/sfc-script-setup.html#defineslots}
4908
+ */
4967
4909
  function defineSlots() {
4968
4910
  warnRuntimeUsage(`defineSlots`);
4969
4911
  return null;
@@ -5080,23 +5022,31 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5080
5022
  */
5081
5023
  function withAsyncContext(getAwaitable) {
5082
5024
  const ctx = getCurrentGenericInstance();
5025
+ const inSSRSetup = isInSSRComponentSetup;
5083
5026
  if (!ctx) warn$1("withAsyncContext called without active current instance. This is likely a bug.");
5084
5027
  let awaitable = getAwaitable();
5085
5028
  setCurrentInstance(null, void 0);
5086
- const cleanup = () => setCurrentInstance(null, void 0);
5087
- if (isPromise(awaitable)) awaitable = awaitable.catch((e) => {
5029
+ if (inSSRSetup) setInSSRSetupState(false);
5030
+ const restore = () => {
5088
5031
  setCurrentInstance(ctx);
5032
+ if (inSSRSetup) setInSSRSetupState(true);
5033
+ };
5034
+ const cleanup = () => {
5035
+ setCurrentInstance(null, void 0);
5036
+ if (inSSRSetup) setInSSRSetupState(false);
5037
+ };
5038
+ if (isPromise(awaitable)) awaitable = awaitable.catch((e) => {
5039
+ restore();
5089
5040
  Promise.resolve().then(() => Promise.resolve().then(cleanup));
5090
5041
  throw e;
5091
5042
  });
5092
5043
  return [awaitable, () => {
5093
- setCurrentInstance(ctx);
5044
+ restore();
5094
5045
  Promise.resolve().then(cleanup);
5095
5046
  }];
5096
5047
  }
5097
-
5098
- //#endregion
5099
- //#region packages/runtime-core/src/componentOptions.ts
5048
+ //#endregion
5049
+ //#region packages/runtime-core/src/componentOptions.ts
5100
5050
  function createDuplicateChecker() {
5101
5051
  const cache = Object.create(null);
5102
5052
  return (type, key) => {
@@ -5339,9 +5289,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5339
5289
  for (const key in from) merged[key] = mergeAsArray(to[key], from[key]);
5340
5290
  return merged;
5341
5291
  }
5342
-
5343
- //#endregion
5344
- //#region packages/runtime-core/src/apiCreateApp.ts
5292
+ //#endregion
5293
+ //#region packages/runtime-core/src/apiCreateApp.ts
5345
5294
  function createAppContext() {
5346
5295
  return {
5347
5296
  app: null,
@@ -5471,9 +5420,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5471
5420
  * `app.runWithContext()`.
5472
5421
  */
5473
5422
  let currentApp = null;
5474
-
5475
- //#endregion
5476
- //#region packages/runtime-core/src/helpers/useModel.ts
5423
+ //#endregion
5424
+ //#region packages/runtime-core/src/helpers/useModel.ts
5477
5425
  function useModel(props, name, options = EMPTY_OBJ) {
5478
5426
  const i = getCurrentGenericInstance();
5479
5427
  if (!i) {
@@ -5544,9 +5492,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5544
5492
  const getModelModifiers = (props, modelName, getter) => {
5545
5493
  return getter(props, getModifierPropName(modelName)) || getter(props, `${camelize(modelName)}Modifiers`) || getter(props, `${hyphenate(modelName)}Modifiers`);
5546
5494
  };
5547
-
5548
- //#endregion
5549
- //#region packages/runtime-core/src/componentEmits.ts
5495
+ //#endregion
5496
+ //#region packages/runtime-core/src/componentEmits.ts
5550
5497
  function emit(instance, event, ...rawArgs) {
5551
5498
  return baseEmit(instance, instance.vnode.props || EMPTY_OBJ, defaultPropGetter, event, ...rawArgs);
5552
5499
  }
@@ -5634,10 +5581,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5634
5581
  key = key.slice(2).replace(/Once$/, "");
5635
5582
  return hasOwn(options, key[0].toLowerCase() + key.slice(1)) || hasOwn(options, hyphenate(key)) || hasOwn(options, key);
5636
5583
  }
5637
-
5638
- //#endregion
5639
- //#region packages/runtime-core/src/componentRenderUtils.ts
5640
- /**
5584
+ //#endregion
5585
+ //#region packages/runtime-core/src/componentRenderUtils.ts
5586
+ /**
5641
5587
  * dev only flag to track whether $attrs was used during render.
5642
5588
  * If $attrs was used during render then the warning for failed attrs
5643
5589
  * fallthrough can be suppressed.
@@ -5826,10 +5772,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5826
5772
  } else break;
5827
5773
  }
5828
5774
  }
5829
-
5830
- //#endregion
5831
- //#region packages/runtime-core/src/internalObject.ts
5832
- /**
5775
+ //#endregion
5776
+ //#region packages/runtime-core/src/internalObject.ts
5777
+ /**
5833
5778
  * Used during vnode props/slots normalization to check if the vnode props/slots
5834
5779
  * are the internal attrs / slots object of a component via
5835
5780
  * `Object.getPrototypeOf`. This is more performant than defining a
@@ -5838,9 +5783,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5838
5783
  const internalObjectProto = {};
5839
5784
  const createInternalObject = () => Object.create(internalObjectProto);
5840
5785
  const isInternalObject = (obj) => Object.getPrototypeOf(obj) === internalObjectProto;
5841
-
5842
- //#endregion
5843
- //#region packages/runtime-core/src/componentProps.ts
5786
+ //#endregion
5787
+ //#region packages/runtime-core/src/componentProps.ts
5844
5788
  function initProps(instance, rawProps, isStateful, isSSR = false) {
5845
5789
  const props = instance.props = {};
5846
5790
  const attrs = createInternalObject();
@@ -6134,9 +6078,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
6134
6078
  function isBoolean(...args) {
6135
6079
  return args.some((elem) => elem.toLowerCase() === "boolean");
6136
6080
  }
6137
-
6138
- //#endregion
6139
- //#region packages/runtime-core/src/componentSlots.ts
6081
+ //#endregion
6082
+ //#region packages/runtime-core/src/componentSlots.ts
6140
6083
  const isInternalKey = (key) => key === "_" || key === "_ctx" || key === "$stable";
6141
6084
  const normalizeSlotValue = (value) => isArray(value) ? value.map(normalizeVNode) : [normalizeVNode(value)];
6142
6085
  const normalizeSlot = (key, rawSlot, ctx) => {
@@ -6203,9 +6146,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
6203
6146
  for (const key in slots) if (!isInternalKey(key) && deletionComparisonTarget[key] == null) delete slots[key];
6204
6147
  }
6205
6148
  };
6206
-
6207
- //#endregion
6208
- //#region packages/runtime-core/src/profiling.ts
6149
+ //#endregion
6150
+ //#region packages/runtime-core/src/profiling.ts
6209
6151
  let supported;
6210
6152
  let perf;
6211
6153
  let cachedNow$1 = 0;
@@ -6242,9 +6184,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
6242
6184
  } else supported = false;
6243
6185
  return supported;
6244
6186
  }
6245
-
6246
- //#endregion
6247
- //#region packages/runtime-core/src/renderer.ts
6187
+ //#endregion
6188
+ //#region packages/runtime-core/src/renderer.ts
6248
6189
  const MoveType = {
6249
6190
  "ENTER": 0,
6250
6191
  "0": "ENTER",
@@ -6630,7 +6571,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
6630
6571
  if (isAsyncWrapperVNode && type.__asyncHydrate) type.__asyncHydrate(el, instance, hydrateSubTree);
6631
6572
  else hydrateSubTree();
6632
6573
  } else {
6633
- if (root.ce && root.ce._hasShadowRoot()) root.ce._injectChildStyle(type);
6574
+ if (root.ce && root.ce._hasShadowRoot()) root.ce._injectChildStyle(type, instance.parent ? instance.parent.type : void 0);
6634
6575
  startMeasure(instance, `render`);
6635
6576
  const subTree = instance.subTree = renderComponentRoot(instance);
6636
6577
  endMeasure(instance, `render`);
@@ -7144,12 +7085,11 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
7144
7085
  if (instance) return resolveAsyncComponentPlaceholder(instance.subTree);
7145
7086
  return null;
7146
7087
  }
7147
-
7148
- //#endregion
7149
- //#region packages/runtime-core/src/components/Suspense.ts
7088
+ //#endregion
7089
+ //#region packages/runtime-core/src/components/Suspense.ts
7150
7090
  const isSuspense = (type) => type.__isSuspense;
7151
7091
  let suspenseId = 0;
7152
- const SuspenseImpl = {
7092
+ const Suspense = {
7153
7093
  name: "Suspense",
7154
7094
  __isSuspense: true,
7155
7095
  process(n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized, rendererInternals) {
@@ -7167,7 +7107,6 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
7167
7107
  hydrate: hydrateSuspense,
7168
7108
  normalize: normalizeSuspenseChildren
7169
7109
  };
7170
- const Suspense = SuspenseImpl;
7171
7110
  function triggerEvent(vnode, name) {
7172
7111
  const eventListener = vnode.props && vnode.props[name];
7173
7112
  if (isFunction(eventListener)) eventListener();
@@ -7428,9 +7367,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
7428
7367
  const suspensible = vnode.props && vnode.props.suspensible;
7429
7368
  return suspensible != null && suspensible !== false;
7430
7369
  }
7431
-
7432
- //#endregion
7433
- //#region packages/runtime-core/src/vnode.ts
7370
+ //#endregion
7371
+ //#region packages/runtime-core/src/vnode.ts
7434
7372
  const Fragment = Symbol.for("v-fgt");
7435
7373
  const Text = Symbol.for("v-txt");
7436
7374
  const Comment = Symbol.for("v-cmt");
@@ -7746,10 +7684,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
7746
7684
  function invokeVNodeHook(hook, instance, vnode, prevVNode = null) {
7747
7685
  callWithAsyncErrorHandling(hook, instance, 7, [vnode, prevVNode]);
7748
7686
  }
7749
-
7750
- //#endregion
7751
- //#region packages/runtime-core/src/componentCurrentInstance.ts
7752
- /**
7687
+ //#endregion
7688
+ //#region packages/runtime-core/src/componentCurrentInstance.ts
7689
+ /**
7753
7690
  * @internal
7754
7691
  */
7755
7692
  let currentInstance = null;
@@ -7763,8 +7700,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
7763
7700
  /**
7764
7701
  * @internal
7765
7702
  */
7766
- let simpleSetCurrentInstance;
7767
- simpleSetCurrentInstance = (i) => {
7703
+ let simpleSetCurrentInstance = (i) => {
7768
7704
  currentInstance = i;
7769
7705
  };
7770
7706
  setInSSRSetupState = (v) => {
@@ -7806,9 +7742,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
7806
7742
  value: instance[key]
7807
7743
  };
7808
7744
  };
7809
-
7810
- //#endregion
7811
- //#region packages/runtime-core/src/component.ts
7745
+ //#endregion
7746
+ //#region packages/runtime-core/src/component.ts
7812
7747
  const emptyAppContext = /* @__PURE__ */ createAppContext();
7813
7748
  let uid = 0;
7814
7749
  function createComponentInstance(vnode, parent, suspense) {
@@ -8101,15 +8036,13 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
8101
8036
  function isClassComponent(value) {
8102
8037
  return isFunction(value) && "__vccOpts" in value;
8103
8038
  }
8104
-
8105
- //#endregion
8106
- //#region packages/runtime-core/src/apiComputed.ts
8039
+ //#endregion
8040
+ //#region packages/runtime-core/src/apiComputed.ts
8107
8041
  const computed = (getterOrOptions, debugOptions) => {
8108
8042
  return /* @__PURE__ */ computed$1(getterOrOptions, debugOptions, isInSSRComponentSetup);
8109
8043
  };
8110
-
8111
- //#endregion
8112
- //#region packages/runtime-core/src/h.ts
8044
+ //#endregion
8045
+ //#region packages/runtime-core/src/h.ts
8113
8046
  function h(type, propsOrChildren, children) {
8114
8047
  try {
8115
8048
  setBlockTracking(-1);
@@ -8127,9 +8060,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
8127
8060
  setBlockTracking(1);
8128
8061
  }
8129
8062
  }
8130
-
8131
- //#endregion
8132
- //#region packages/runtime-core/src/customFormatter.ts
8063
+ //#endregion
8064
+ //#region packages/runtime-core/src/customFormatter.ts
8133
8065
  function initCustomFormatter() {
8134
8066
  if (typeof window === "undefined") return;
8135
8067
  const vueStyle = { style: "color:#3ba776" };
@@ -8292,9 +8224,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
8292
8224
  if (window.devtoolsFormatters) window.devtoolsFormatters.push(formatter);
8293
8225
  else window.devtoolsFormatters = [formatter];
8294
8226
  }
8295
-
8296
- //#endregion
8297
- //#region packages/runtime-core/src/helpers/withMemo.ts
8227
+ //#endregion
8228
+ //#region packages/runtime-core/src/helpers/withMemo.ts
8298
8229
  function withMemo(memo, render, cache, index) {
8299
8230
  const cached = cache[index];
8300
8231
  if (cached && isMemoSame(cached, memo)) return cached;
@@ -8310,10 +8241,9 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
8310
8241
  if (isBlockTreeEnabled > 0 && currentBlock) currentBlock.push(cached);
8311
8242
  return true;
8312
8243
  }
8313
-
8314
- //#endregion
8315
- //#region packages/runtime-core/src/index.ts
8316
- const version = "3.6.0-beta.7";
8244
+ //#endregion
8245
+ //#region packages/runtime-core/src/index.ts
8246
+ const version = "3.6.0-beta.8";
8317
8247
  const warn = warn$1;
8318
8248
  /**
8319
8249
  * Runtime error messages. Only exposed in dev or esm builds.
@@ -8336,9 +8266,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
8336
8266
  */
8337
8267
  const compatUtils = null;
8338
8268
  const DeprecationTypes = null;
8339
-
8340
- //#endregion
8341
- //#region packages/runtime-dom/src/nodeOps.ts
8269
+ //#endregion
8270
+ //#region packages/runtime-dom/src/nodeOps.ts
8342
8271
  let policy = void 0;
8343
8272
  const tt = typeof window !== "undefined" && window.trustedTypes;
8344
8273
  if (tt) try {
@@ -8397,9 +8326,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
8397
8326
  return [before ? before.nextSibling : parent.firstChild, anchor ? anchor.previousSibling : parent.lastChild];
8398
8327
  }
8399
8328
  };
8400
-
8401
- //#endregion
8402
- //#region packages/runtime-dom/src/components/Transition.ts
8329
+ //#endregion
8330
+ //#region packages/runtime-dom/src/components/Transition.ts
8403
8331
  const TRANSITION = "transition";
8404
8332
  const ANIMATION = "animation";
8405
8333
  const vtcKey = Symbol("_vtc");
@@ -8636,9 +8564,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
8636
8564
  function forceReflow(el) {
8637
8565
  return (el ? el.ownerDocument : document).body.offsetHeight;
8638
8566
  }
8639
-
8640
- //#endregion
8641
- //#region packages/runtime-dom/src/modules/class.ts
8567
+ //#endregion
8568
+ //#region packages/runtime-dom/src/modules/class.ts
8642
8569
  function patchClass(el, value, isSVG) {
8643
8570
  const transitionClasses = el[vtcKey];
8644
8571
  if (transitionClasses) value = (value ? [value, ...transitionClasses] : [...transitionClasses]).join(" ");
@@ -8646,9 +8573,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
8646
8573
  else if (isSVG) el.setAttribute("class", value);
8647
8574
  else el.className = value;
8648
8575
  }
8649
-
8650
- //#endregion
8651
- //#region packages/runtime-dom/src/directives/vShow.ts
8576
+ //#endregion
8577
+ //#region packages/runtime-dom/src/directives/vShow.ts
8652
8578
  const vShowOriginalDisplay = Symbol("_vod");
8653
8579
  const vShowHidden = Symbol("_vsh");
8654
8580
  const vShow = {
@@ -8680,9 +8606,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
8680
8606
  el.style.display = value ? el[vShowOriginalDisplay] : "none";
8681
8607
  el[vShowHidden] = !value;
8682
8608
  }
8683
-
8684
- //#endregion
8685
- //#region packages/runtime-dom/src/helpers/useCssVars.ts
8609
+ //#endregion
8610
+ //#region packages/runtime-dom/src/helpers/useCssVars.ts
8686
8611
  const CSS_VAR_TEXT = Symbol("CSS_VAR_TEXT");
8687
8612
  /**
8688
8613
  * Runtime helper for SFC's CSS variable injection feature.
@@ -8765,9 +8690,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
8765
8690
  style[CSS_VAR_TEXT] = cssText;
8766
8691
  }
8767
8692
  }
8768
-
8769
- //#endregion
8770
- //#region packages/runtime-dom/src/modules/style.ts
8693
+ //#endregion
8694
+ //#region packages/runtime-dom/src/modules/style.ts
8771
8695
  const displayRE = /(?:^|;)\s*display\s*:/;
8772
8696
  function patchStyle(el, prev, next) {
8773
8697
  const style = el.style;
@@ -8830,9 +8754,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
8830
8754
  }
8831
8755
  return rawName;
8832
8756
  }
8833
-
8834
- //#endregion
8835
- //#region packages/runtime-dom/src/modules/attrs.ts
8757
+ //#endregion
8758
+ //#region packages/runtime-dom/src/modules/attrs.ts
8836
8759
  const xlinkNS = "http://www.w3.org/1999/xlink";
8837
8760
  function patchAttr(el, key, value, isSVG, instance, isBoolean = isSpecialBooleanAttr(key)) {
8838
8761
  if (isSVG && key.startsWith("xlink:")) if (value == null) el.removeAttributeNS(xlinkNS, key.slice(6, key.length));
@@ -8840,9 +8763,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
8840
8763
  else if (value == null || isBoolean && !includeBooleanAttr(value)) el.removeAttribute(key);
8841
8764
  else el.setAttribute(key, isBoolean ? "" : isSymbol(value) ? String(value) : value);
8842
8765
  }
8843
-
8844
- //#endregion
8845
- //#region packages/runtime-dom/src/modules/props.ts
8766
+ //#endregion
8767
+ //#region packages/runtime-dom/src/modules/props.ts
8846
8768
  function patchDOMProp(el, key, value, parentComponent, attrName) {
8847
8769
  if (key === "innerHTML" || key === "textContent") {
8848
8770
  if (value != null) el[key] = key === "innerHTML" ? unsafeToTrustedHTML(value) : value;
@@ -8876,9 +8798,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
8876
8798
  }
8877
8799
  needRemove && el.removeAttribute(attrName || key);
8878
8800
  }
8879
-
8880
- //#endregion
8881
- //#region packages/runtime-dom/src/modules/events.ts
8801
+ //#endregion
8802
+ //#region packages/runtime-dom/src/modules/events.ts
8882
8803
  function addEventListener(el, event, handler, options) {
8883
8804
  el.addEventListener(event, handler, options);
8884
8805
  }
@@ -8940,9 +8861,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
8940
8861
  return value.map((fn) => (e) => !e._stopped && fn && fn(e));
8941
8862
  } else return value;
8942
8863
  }
8943
-
8944
- //#endregion
8945
- //#region packages/runtime-dom/src/patchProp.ts
8864
+ //#endregion
8865
+ //#region packages/runtime-dom/src/patchProp.ts
8946
8866
  const patchProp = (el, key, prevValue, nextValue, namespace, parentComponent) => {
8947
8867
  const isSVG = namespace === "svg";
8948
8868
  if (key === "class") patchClass(el, nextValue, isSVG);
@@ -8952,7 +8872,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
8952
8872
  } else if (key[0] === "." ? (key = key.slice(1), true) : key[0] === "^" ? (key = key.slice(1), false) : shouldSetAsProp(el, key, nextValue, isSVG)) {
8953
8873
  patchDOMProp(el, key, nextValue, parentComponent);
8954
8874
  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);
8875
+ } else if (el._isVueCE && (shouldSetAsPropForVueCE(el, key) || el._def.__asyncLoader && (/[A-Z]/.test(key) || !isString(nextValue)))) patchDOMProp(el, camelize(key), nextValue, parentComponent, key);
8956
8876
  else {
8957
8877
  if (key === "true-value") el._trueValue = nextValue;
8958
8878
  else if (key === "false-value") el._falseValue = nextValue;
@@ -8969,9 +8889,14 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
8969
8889
  if (isNativeOn(key) && isString(value)) return false;
8970
8890
  return key in el;
8971
8891
  }
8972
-
8973
- //#endregion
8974
- //#region packages/runtime-dom/src/apiCustomElement.ts
8892
+ function shouldSetAsPropForVueCE(el, key) {
8893
+ const props = el._def.props;
8894
+ if (!props) return false;
8895
+ const camelKey = camelize(key);
8896
+ return Array.isArray(props) ? props.some((prop) => camelize(prop) === camelKey) : Object.keys(props).some((prop) => camelize(prop) === camelKey);
8897
+ }
8898
+ //#endregion
8899
+ //#region packages/runtime-dom/src/apiCustomElement.ts
8975
8900
  const REMOVAL = {};
8976
8901
  /* @__NO_SIDE_EFFECTS__ */
8977
8902
  function defineCustomElement(options, extraOptions, _createApp) {
@@ -8999,6 +8924,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
8999
8924
  this._resolved = false;
9000
8925
  this._numberProps = null;
9001
8926
  this._styleChildren = /* @__PURE__ */ new WeakSet();
8927
+ this._styleAnchors = /* @__PURE__ */ new WeakMap();
9002
8928
  this._patching = false;
9003
8929
  this._dirty = false;
9004
8930
  this._ob = null;
@@ -9017,7 +8943,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
9017
8943
  if (!this.shadowRoot && !this._resolved) this._parseSlots();
9018
8944
  this._connected = true;
9019
8945
  let parent = this;
9020
- while (parent = parent && (parent.parentNode || parent.host)) if (parent instanceof VueElementBase) {
8946
+ while (parent = parent && (parent.assignedSlot || parent.parentNode || parent.host)) if (parent instanceof VueElementBase) {
9021
8947
  this._parent = parent;
9022
8948
  break;
9023
8949
  }
@@ -9110,6 +9036,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
9110
9036
  this._styles.forEach((s) => this._root.removeChild(s));
9111
9037
  this._styles.length = 0;
9112
9038
  }
9039
+ this._styleAnchors.delete(this._def);
9113
9040
  this._applyStyles(newStyles);
9114
9041
  if (!this._instance.vapor) this._instance = null;
9115
9042
  this._update();
@@ -9175,18 +9102,26 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
9175
9102
  }
9176
9103
  }
9177
9104
  }
9178
- _applyStyles(styles, owner) {
9105
+ _applyStyles(styles, owner, parentComp) {
9179
9106
  if (!styles) return;
9180
9107
  if (owner) {
9181
9108
  if (owner === this._def || this._styleChildren.has(owner)) return;
9182
9109
  this._styleChildren.add(owner);
9183
9110
  }
9184
9111
  const nonce = this._nonce;
9112
+ const root = this.shadowRoot;
9113
+ const insertionAnchor = parentComp ? this._getStyleAnchor(parentComp) || this._getStyleAnchor(this._def) : this._getRootStyleInsertionAnchor(root);
9114
+ let last = null;
9185
9115
  for (let i = styles.length - 1; i >= 0; i--) {
9186
9116
  const s = document.createElement("style");
9187
9117
  if (nonce) s.setAttribute("nonce", nonce);
9188
9118
  s.textContent = styles[i];
9189
- this.shadowRoot.prepend(s);
9119
+ root.insertBefore(s, last || insertionAnchor);
9120
+ last = s;
9121
+ if (i === 0) {
9122
+ if (!parentComp) this._styleAnchors.set(this._def, s);
9123
+ if (owner) this._styleAnchors.set(owner, s);
9124
+ }
9190
9125
  if (owner) {
9191
9126
  if (owner.__hmrId) {
9192
9127
  if (!this._childStyles) this._childStyles = /* @__PURE__ */ new Map();
@@ -9197,6 +9132,20 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
9197
9132
  } else (this._styles || (this._styles = [])).push(s);
9198
9133
  }
9199
9134
  }
9135
+ _getStyleAnchor(comp) {
9136
+ if (!comp) return null;
9137
+ const anchor = this._styleAnchors.get(comp);
9138
+ if (anchor && anchor.parentNode === this.shadowRoot) return anchor;
9139
+ if (anchor) this._styleAnchors.delete(comp);
9140
+ return null;
9141
+ }
9142
+ _getRootStyleInsertionAnchor(root) {
9143
+ for (let i = 0; i < root.childNodes.length; i++) {
9144
+ const node = root.childNodes[i];
9145
+ if (!(node instanceof HTMLStyleElement)) return node;
9146
+ }
9147
+ return null;
9148
+ }
9200
9149
  /**
9201
9150
  * Only called when shadowRoot is false
9202
9151
  */
@@ -9259,8 +9208,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
9259
9208
  /**
9260
9209
  * @internal
9261
9210
  */
9262
- _injectChildStyle(comp) {
9263
- this._applyStyles(comp.styles, comp);
9211
+ _injectChildStyle(comp, parentComp) {
9212
+ this._applyStyles(comp.styles, comp, parentComp);
9264
9213
  }
9265
9214
  /**
9266
9215
  * @internal
@@ -9287,6 +9236,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
9287
9236
  */
9288
9237
  _removeChildStyle(comp) {
9289
9238
  this._styleChildren.delete(comp);
9239
+ this._styleAnchors.delete(comp);
9290
9240
  if (this._childStyles && comp.__hmrId) {
9291
9241
  const oldStyles = this._childStyles.get(comp.__hmrId);
9292
9242
  if (oldStyles) {
@@ -9355,16 +9305,14 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
9355
9305
  const el = useHost("useShadowRoot");
9356
9306
  return el && el.shadowRoot;
9357
9307
  }
9358
-
9359
- //#endregion
9360
- //#region packages/runtime-dom/src/helpers/useCssModule.ts
9308
+ //#endregion
9309
+ //#region packages/runtime-dom/src/helpers/useCssModule.ts
9361
9310
  function useCssModule(name = "$style") {
9362
9311
  warn(`useCssModule() is not supported in the global build.`);
9363
9312
  return EMPTY_OBJ;
9364
9313
  }
9365
-
9366
- //#endregion
9367
- //#region packages/runtime-dom/src/components/TransitionGroup.ts
9314
+ //#endregion
9315
+ //#region packages/runtime-dom/src/components/TransitionGroup.ts
9368
9316
  const positionMap = /* @__PURE__ */ new WeakMap();
9369
9317
  const newPositionMap = /* @__PURE__ */ new WeakMap();
9370
9318
  const moveCbKey = Symbol("_moveCb");
@@ -9377,7 +9325,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
9377
9325
  delete t.props.mode;
9378
9326
  return t;
9379
9327
  };
9380
- const TransitionGroupImpl = /* @__PURE__ */ decorate({
9328
+ const TransitionGroup = /* @__PURE__ */ decorate({
9381
9329
  name: "TransitionGroup",
9382
9330
  props: /* @__PURE__ */ extend({}, TransitionPropsValidators, {
9383
9331
  tag: String,
@@ -9428,7 +9376,6 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
9428
9376
  };
9429
9377
  }
9430
9378
  });
9431
- const TransitionGroup = TransitionGroupImpl;
9432
9379
  function callPendingCbs(el) {
9433
9380
  if (el[moveCbKey]) el[moveCbKey]();
9434
9381
  if (el[enterCbKey]) el[enterCbKey]();
@@ -9494,9 +9441,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
9494
9441
  };
9495
9442
  el.addEventListener("transitionend", cb);
9496
9443
  };
9497
-
9498
- //#endregion
9499
- //#region packages/runtime-dom/src/directives/vModel.ts
9444
+ //#endregion
9445
+ //#region packages/runtime-dom/src/directives/vModel.ts
9500
9446
  const getModelAssigner = (vnode) => {
9501
9447
  const fn = vnode.props["onUpdate:modelValue"] || false;
9502
9448
  return isArray(fn) ? (value) => invokeArrayFns(fn, value) : fn;
@@ -9726,9 +9672,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
9726
9672
  const fn = resolveDynamicModel(el.tagName, vnode.props && vnode.props.type)[hook];
9727
9673
  fn && fn(el, binding, vnode, prevVNode);
9728
9674
  }
9729
-
9730
- //#endregion
9731
- //#region packages/runtime-dom/src/directives/vOn.ts
9675
+ //#endregion
9676
+ //#region packages/runtime-dom/src/directives/vOn.ts
9732
9677
  const systemModifiers = [
9733
9678
  "ctrl",
9734
9679
  "shift",
@@ -9784,9 +9729,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
9784
9729
  if (modifiers.some((k) => k === eventKey || keyNames[k] === eventKey)) return fn(event);
9785
9730
  }));
9786
9731
  };
9787
-
9788
- //#endregion
9789
- //#region packages/runtime-dom/src/index.ts
9732
+ //#endregion
9733
+ //#region packages/runtime-dom/src/index.ts
9790
9734
  const rendererOptions = /* @__PURE__ */ extend({ patchProp }, nodeOps);
9791
9735
  let renderer;
9792
9736
  let enabledHydration = false;
@@ -9886,182 +9830,181 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
9886
9830
  * @internal
9887
9831
  */
9888
9832
  const initDirectivesForSSR = NOOP;
9889
-
9890
- //#endregion
9891
- exports.BaseTransition = BaseTransition;
9892
- exports.BaseTransitionPropsValidators = BaseTransitionPropsValidators;
9893
- exports.Comment = Comment;
9894
- exports.DeprecationTypes = DeprecationTypes;
9895
- exports.EffectScope = EffectScope;
9896
- exports.ErrorCodes = ErrorCodes;
9897
- exports.ErrorTypeStrings = ErrorTypeStrings;
9898
- exports.Fragment = Fragment;
9899
- exports.KeepAlive = KeepAlive;
9900
- exports.MoveType = MoveType;
9901
- exports.NULL_DYNAMIC_COMPONENT = NULL_DYNAMIC_COMPONENT;
9902
- exports.ReactiveEffect = ReactiveEffect;
9903
- exports.Static = Static;
9904
- exports.Suspense = Suspense;
9905
- exports.Teleport = Teleport;
9906
- exports.Text = Text;
9907
- exports.TrackOpTypes = TrackOpTypes;
9908
- exports.Transition = Transition;
9909
- exports.TransitionGroup = TransitionGroup;
9910
- exports.TriggerOpTypes = TriggerOpTypes;
9911
- exports.VueElement = VueElement;
9912
- exports.VueElementBase = VueElementBase;
9913
- exports.assertNumber = assertNumber;
9914
- exports.callWithAsyncErrorHandling = callWithAsyncErrorHandling;
9915
- exports.callWithErrorHandling = callWithErrorHandling;
9916
- exports.camelize = camelize;
9917
- exports.capitalize = capitalize;
9918
- exports.cloneVNode = cloneVNode;
9919
- exports.compatUtils = compatUtils;
9920
- exports.computed = computed;
9921
- exports.createApp = createApp;
9922
- exports.createBlock = createBlock;
9923
- exports.createCommentVNode = createCommentVNode;
9924
- exports.createElementBlock = createElementBlock;
9925
- exports.createElementVNode = createBaseVNode;
9926
- exports.createHydrationRenderer = createHydrationRenderer;
9927
- exports.createPropsRestProxy = createPropsRestProxy;
9928
- exports.createRenderer = createRenderer;
9929
- exports.createSSRApp = createSSRApp;
9930
- exports.createSlots = createSlots;
9931
- exports.createStaticVNode = createStaticVNode;
9932
- exports.createTextVNode = createTextVNode;
9933
- exports.createVNode = createVNode;
9934
- exports.customRef = customRef;
9935
- exports.defineAsyncComponent = defineAsyncComponent;
9936
- exports.defineComponent = defineComponent;
9937
- exports.defineCustomElement = defineCustomElement;
9938
- exports.defineEmits = defineEmits;
9939
- exports.defineExpose = defineExpose;
9940
- exports.defineModel = defineModel;
9941
- exports.defineOptions = defineOptions;
9942
- exports.defineProps = defineProps;
9943
- exports.defineSSRCustomElement = defineSSRCustomElement;
9944
- exports.defineSlots = defineSlots;
9945
- exports.devtools = devtools;
9946
- exports.effect = effect;
9947
- exports.effectScope = effectScope;
9948
- exports.getCurrentInstance = getCurrentInstance;
9949
- exports.getCurrentScope = getCurrentScope;
9950
- exports.getCurrentWatcher = getCurrentWatcher;
9951
- exports.getTransitionRawChildren = getTransitionRawChildren;
9952
- exports.guardReactiveProps = guardReactiveProps;
9953
- exports.h = h;
9954
- exports.handleError = handleError;
9955
- exports.hasInjectionContext = hasInjectionContext;
9956
- exports.hydrate = hydrate;
9957
- exports.hydrateOnIdle = hydrateOnIdle;
9958
- exports.hydrateOnInteraction = hydrateOnInteraction;
9959
- exports.hydrateOnMediaQuery = hydrateOnMediaQuery;
9960
- exports.hydrateOnVisible = hydrateOnVisible;
9961
- exports.initCustomFormatter = initCustomFormatter;
9962
- exports.initDirectivesForSSR = initDirectivesForSSR;
9963
- exports.inject = inject;
9964
- exports.isMemoSame = isMemoSame;
9965
- exports.isProxy = isProxy;
9966
- exports.isReactive = isReactive;
9967
- exports.isReadonly = isReadonly;
9968
- exports.isRef = isRef;
9969
- exports.isRuntimeOnly = isRuntimeOnly;
9970
- exports.isShallow = isShallow;
9971
- exports.isVNode = isVNode;
9972
- exports.markRaw = markRaw;
9973
- exports.mergeDefaults = mergeDefaults;
9974
- exports.mergeModels = mergeModels;
9975
- exports.mergeProps = mergeProps;
9976
- exports.nextTick = nextTick;
9977
- exports.nodeOps = nodeOps;
9978
- exports.normalizeClass = normalizeClass;
9979
- exports.normalizeProps = normalizeProps;
9980
- exports.normalizeStyle = normalizeStyle;
9981
- exports.onActivated = onActivated;
9982
- exports.onBeforeMount = onBeforeMount;
9983
- exports.onBeforeUnmount = onBeforeUnmount;
9984
- exports.onBeforeUpdate = onBeforeUpdate;
9985
- exports.onDeactivated = onDeactivated;
9986
- exports.onErrorCaptured = onErrorCaptured;
9987
- exports.onMounted = onMounted;
9988
- exports.onRenderTracked = onRenderTracked;
9989
- exports.onRenderTriggered = onRenderTriggered;
9990
- exports.onScopeDispose = onScopeDispose;
9991
- exports.onServerPrefetch = onServerPrefetch;
9992
- exports.onUnmounted = onUnmounted;
9993
- exports.onUpdated = onUpdated;
9994
- exports.onWatcherCleanup = onWatcherCleanup;
9995
- exports.openBlock = openBlock;
9996
- exports.patchProp = patchProp;
9997
- exports.popScopeId = popScopeId;
9998
- exports.provide = provide;
9999
- exports.proxyRefs = proxyRefs;
10000
- exports.pushScopeId = pushScopeId;
10001
- exports.queuePostFlushCb = queuePostFlushCb;
10002
- exports.reactive = reactive;
10003
- exports.readonly = readonly;
10004
- exports.ref = ref;
10005
- exports.registerRuntimeCompiler = registerRuntimeCompiler;
10006
- exports.render = render;
10007
- exports.renderList = renderList;
10008
- exports.renderSlot = renderSlot;
10009
- exports.resolveComponent = resolveComponent;
10010
- exports.resolveDirective = resolveDirective;
10011
- exports.resolveDynamicComponent = resolveDynamicComponent;
10012
- exports.resolveFilter = resolveFilter;
10013
- exports.resolveTransitionHooks = resolveTransitionHooks;
10014
- exports.setBlockTracking = setBlockTracking;
10015
- exports.setDevtoolsHook = setDevtoolsHook;
10016
- exports.setIsHydratingEnabled = setIsHydratingEnabled;
10017
- exports.setTransitionHooks = setTransitionHooks;
10018
- exports.shallowReactive = shallowReactive;
10019
- exports.shallowReadonly = shallowReadonly;
10020
- exports.shallowRef = shallowRef;
10021
- exports.ssrContextKey = ssrContextKey;
10022
- exports.ssrUtils = ssrUtils;
10023
- exports.stop = stop;
10024
- exports.toDisplayString = toDisplayString;
10025
- exports.toHandlerKey = toHandlerKey;
10026
- exports.toHandlers = toHandlers;
10027
- exports.toRaw = toRaw;
10028
- exports.toRef = toRef;
10029
- exports.toRefs = toRefs;
10030
- exports.toValue = toValue;
10031
- exports.transformVNodeArgs = transformVNodeArgs;
10032
- exports.triggerRef = triggerRef;
10033
- exports.unref = unref;
10034
- exports.useAttrs = useAttrs;
10035
- exports.useCssModule = useCssModule;
10036
- exports.useCssVars = useCssVars;
10037
- exports.useHost = useHost;
10038
- exports.useId = useId;
10039
- exports.useInstanceOption = useInstanceOption;
10040
- exports.useModel = useModel;
10041
- exports.useSSRContext = useSSRContext;
10042
- exports.useShadowRoot = useShadowRoot;
10043
- exports.useSlots = useSlots;
10044
- exports.useTemplateRef = useTemplateRef;
10045
- exports.useTransitionState = useTransitionState;
10046
- exports.vModelCheckbox = vModelCheckbox;
10047
- exports.vModelDynamic = vModelDynamic;
10048
- exports.vModelRadio = vModelRadio;
10049
- exports.vModelSelect = vModelSelect;
10050
- exports.vModelText = vModelText;
10051
- exports.vShow = vShow;
10052
- exports.version = version;
10053
- exports.warn = warn;
10054
- exports.watch = watch;
10055
- exports.watchEffect = watchEffect;
10056
- exports.watchPostEffect = watchPostEffect;
10057
- exports.watchSyncEffect = watchSyncEffect;
10058
- exports.withAsyncContext = withAsyncContext;
10059
- exports.withCtx = withCtx;
10060
- exports.withDefaults = withDefaults;
10061
- exports.withDirectives = withDirectives;
10062
- exports.withKeys = withKeys;
10063
- exports.withMemo = withMemo;
10064
- exports.withModifiers = withModifiers;
10065
- exports.withScopeId = withScopeId;
10066
- return exports;
10067
- })({});
9833
+ //#endregion
9834
+ exports.BaseTransition = BaseTransition;
9835
+ exports.BaseTransitionPropsValidators = BaseTransitionPropsValidators;
9836
+ exports.Comment = Comment;
9837
+ exports.DeprecationTypes = DeprecationTypes;
9838
+ exports.EffectScope = EffectScope;
9839
+ exports.ErrorCodes = ErrorCodes;
9840
+ exports.ErrorTypeStrings = ErrorTypeStrings;
9841
+ exports.Fragment = Fragment;
9842
+ exports.KeepAlive = KeepAlive;
9843
+ exports.MoveType = MoveType;
9844
+ exports.NULL_DYNAMIC_COMPONENT = NULL_DYNAMIC_COMPONENT;
9845
+ exports.ReactiveEffect = ReactiveEffect;
9846
+ exports.Static = Static;
9847
+ exports.Suspense = Suspense;
9848
+ exports.Teleport = Teleport;
9849
+ exports.Text = Text;
9850
+ exports.TrackOpTypes = TrackOpTypes;
9851
+ exports.Transition = Transition;
9852
+ exports.TransitionGroup = TransitionGroup;
9853
+ exports.TriggerOpTypes = TriggerOpTypes;
9854
+ exports.VueElement = VueElement;
9855
+ exports.VueElementBase = VueElementBase;
9856
+ exports.assertNumber = assertNumber;
9857
+ exports.callWithAsyncErrorHandling = callWithAsyncErrorHandling;
9858
+ exports.callWithErrorHandling = callWithErrorHandling;
9859
+ exports.camelize = camelize;
9860
+ exports.capitalize = capitalize;
9861
+ exports.cloneVNode = cloneVNode;
9862
+ exports.compatUtils = compatUtils;
9863
+ exports.computed = computed;
9864
+ exports.createApp = createApp;
9865
+ exports.createBlock = createBlock;
9866
+ exports.createCommentVNode = createCommentVNode;
9867
+ exports.createElementBlock = createElementBlock;
9868
+ exports.createElementVNode = createBaseVNode;
9869
+ exports.createHydrationRenderer = createHydrationRenderer;
9870
+ exports.createPropsRestProxy = createPropsRestProxy;
9871
+ exports.createRenderer = createRenderer;
9872
+ exports.createSSRApp = createSSRApp;
9873
+ exports.createSlots = createSlots;
9874
+ exports.createStaticVNode = createStaticVNode;
9875
+ exports.createTextVNode = createTextVNode;
9876
+ exports.createVNode = createVNode;
9877
+ exports.customRef = customRef;
9878
+ exports.defineAsyncComponent = defineAsyncComponent;
9879
+ exports.defineComponent = defineComponent;
9880
+ exports.defineCustomElement = defineCustomElement;
9881
+ exports.defineEmits = defineEmits;
9882
+ exports.defineExpose = defineExpose;
9883
+ exports.defineModel = defineModel;
9884
+ exports.defineOptions = defineOptions;
9885
+ exports.defineProps = defineProps;
9886
+ exports.defineSSRCustomElement = defineSSRCustomElement;
9887
+ exports.defineSlots = defineSlots;
9888
+ exports.devtools = devtools;
9889
+ exports.effect = effect;
9890
+ exports.effectScope = effectScope;
9891
+ exports.getCurrentInstance = getCurrentInstance;
9892
+ exports.getCurrentScope = getCurrentScope;
9893
+ exports.getCurrentWatcher = getCurrentWatcher;
9894
+ exports.getTransitionRawChildren = getTransitionRawChildren;
9895
+ exports.guardReactiveProps = guardReactiveProps;
9896
+ exports.h = h;
9897
+ exports.handleError = handleError;
9898
+ exports.hasInjectionContext = hasInjectionContext;
9899
+ exports.hydrate = hydrate;
9900
+ exports.hydrateOnIdle = hydrateOnIdle;
9901
+ exports.hydrateOnInteraction = hydrateOnInteraction;
9902
+ exports.hydrateOnMediaQuery = hydrateOnMediaQuery;
9903
+ exports.hydrateOnVisible = hydrateOnVisible;
9904
+ exports.initCustomFormatter = initCustomFormatter;
9905
+ exports.initDirectivesForSSR = initDirectivesForSSR;
9906
+ exports.inject = inject;
9907
+ exports.isMemoSame = isMemoSame;
9908
+ exports.isProxy = isProxy;
9909
+ exports.isReactive = isReactive;
9910
+ exports.isReadonly = isReadonly;
9911
+ exports.isRef = isRef;
9912
+ exports.isRuntimeOnly = isRuntimeOnly;
9913
+ exports.isShallow = isShallow;
9914
+ exports.isVNode = isVNode;
9915
+ exports.markRaw = markRaw;
9916
+ exports.mergeDefaults = mergeDefaults;
9917
+ exports.mergeModels = mergeModels;
9918
+ exports.mergeProps = mergeProps;
9919
+ exports.nextTick = nextTick;
9920
+ exports.nodeOps = nodeOps;
9921
+ exports.normalizeClass = normalizeClass;
9922
+ exports.normalizeProps = normalizeProps;
9923
+ exports.normalizeStyle = normalizeStyle;
9924
+ exports.onActivated = onActivated;
9925
+ exports.onBeforeMount = onBeforeMount;
9926
+ exports.onBeforeUnmount = onBeforeUnmount;
9927
+ exports.onBeforeUpdate = onBeforeUpdate;
9928
+ exports.onDeactivated = onDeactivated;
9929
+ exports.onErrorCaptured = onErrorCaptured;
9930
+ exports.onMounted = onMounted;
9931
+ exports.onRenderTracked = onRenderTracked;
9932
+ exports.onRenderTriggered = onRenderTriggered;
9933
+ exports.onScopeDispose = onScopeDispose;
9934
+ exports.onServerPrefetch = onServerPrefetch;
9935
+ exports.onUnmounted = onUnmounted;
9936
+ exports.onUpdated = onUpdated;
9937
+ exports.onWatcherCleanup = onWatcherCleanup;
9938
+ exports.openBlock = openBlock;
9939
+ exports.patchProp = patchProp;
9940
+ exports.popScopeId = popScopeId;
9941
+ exports.provide = provide;
9942
+ exports.proxyRefs = proxyRefs;
9943
+ exports.pushScopeId = pushScopeId;
9944
+ exports.queuePostFlushCb = queuePostFlushCb;
9945
+ exports.reactive = reactive;
9946
+ exports.readonly = readonly;
9947
+ exports.ref = ref;
9948
+ exports.registerRuntimeCompiler = registerRuntimeCompiler;
9949
+ exports.render = render;
9950
+ exports.renderList = renderList;
9951
+ exports.renderSlot = renderSlot;
9952
+ exports.resolveComponent = resolveComponent;
9953
+ exports.resolveDirective = resolveDirective;
9954
+ exports.resolveDynamicComponent = resolveDynamicComponent;
9955
+ exports.resolveFilter = resolveFilter;
9956
+ exports.resolveTransitionHooks = resolveTransitionHooks;
9957
+ exports.setBlockTracking = setBlockTracking;
9958
+ exports.setDevtoolsHook = setDevtoolsHook;
9959
+ exports.setIsHydratingEnabled = setIsHydratingEnabled;
9960
+ exports.setTransitionHooks = setTransitionHooks;
9961
+ exports.shallowReactive = shallowReactive;
9962
+ exports.shallowReadonly = shallowReadonly;
9963
+ exports.shallowRef = shallowRef;
9964
+ exports.ssrContextKey = ssrContextKey;
9965
+ exports.ssrUtils = ssrUtils;
9966
+ exports.stop = stop;
9967
+ exports.toDisplayString = toDisplayString;
9968
+ exports.toHandlerKey = toHandlerKey;
9969
+ exports.toHandlers = toHandlers;
9970
+ exports.toRaw = toRaw;
9971
+ exports.toRef = toRef;
9972
+ exports.toRefs = toRefs;
9973
+ exports.toValue = toValue;
9974
+ exports.transformVNodeArgs = transformVNodeArgs;
9975
+ exports.triggerRef = triggerRef;
9976
+ exports.unref = unref;
9977
+ exports.useAttrs = useAttrs;
9978
+ exports.useCssModule = useCssModule;
9979
+ exports.useCssVars = useCssVars;
9980
+ exports.useHost = useHost;
9981
+ exports.useId = useId;
9982
+ exports.useInstanceOption = useInstanceOption;
9983
+ exports.useModel = useModel;
9984
+ exports.useSSRContext = useSSRContext;
9985
+ exports.useShadowRoot = useShadowRoot;
9986
+ exports.useSlots = useSlots;
9987
+ exports.useTemplateRef = useTemplateRef;
9988
+ exports.useTransitionState = useTransitionState;
9989
+ exports.vModelCheckbox = vModelCheckbox;
9990
+ exports.vModelDynamic = vModelDynamic;
9991
+ exports.vModelRadio = vModelRadio;
9992
+ exports.vModelSelect = vModelSelect;
9993
+ exports.vModelText = vModelText;
9994
+ exports.vShow = vShow;
9995
+ exports.version = version;
9996
+ exports.warn = warn;
9997
+ exports.watch = watch;
9998
+ exports.watchEffect = watchEffect;
9999
+ exports.watchPostEffect = watchPostEffect;
10000
+ exports.watchSyncEffect = watchSyncEffect;
10001
+ exports.withAsyncContext = withAsyncContext;
10002
+ exports.withCtx = withCtx;
10003
+ exports.withDefaults = withDefaults;
10004
+ exports.withDirectives = withDirectives;
10005
+ exports.withKeys = withKeys;
10006
+ exports.withMemo = withMemo;
10007
+ exports.withModifiers = withModifiers;
10008
+ exports.withScopeId = withScopeId;
10009
+ return exports;
10010
+ })({});