@vue/compat 3.5.1 → 3.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/compat v3.5.1
2
+ * @vue/compat v3.5.3
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -644,7 +644,7 @@ function refreshComputed(computed) {
644
644
  shouldTrack = true;
645
645
  try {
646
646
  prepareDeps(computed);
647
- const value = computed.fn();
647
+ const value = computed.fn(computed._value);
648
648
  if (dep.version === 0 || hasChanged(value, computed._value)) {
649
649
  computed._value = value;
650
650
  dep.version++;
@@ -753,7 +753,7 @@ class Dep {
753
753
  }
754
754
  }
755
755
  track(debugInfo) {
756
- if (!activeSub || !shouldTrack) {
756
+ if (!activeSub || !shouldTrack || activeSub === this.computed) {
757
757
  return;
758
758
  }
759
759
  let link = this.activeLink;
@@ -1776,7 +1776,7 @@ function toValue(source) {
1776
1776
  return isFunction(source) ? source() : unref(source);
1777
1777
  }
1778
1778
  const shallowUnwrapHandlers = {
1779
- get: (target, key, receiver) => unref(Reflect.get(target, key, receiver)),
1779
+ get: (target, key, receiver) => key === "__v_raw" ? target : unref(Reflect.get(target, key, receiver)),
1780
1780
  set: (target, key, value, receiver) => {
1781
1781
  const oldValue = target[key];
1782
1782
  if (isRef(oldValue) && !isRef(value)) {
@@ -2483,9 +2483,7 @@ function queueJob(job) {
2483
2483
  } else {
2484
2484
  queue.splice(findInsertionIndex(jobId), 0, job);
2485
2485
  }
2486
- if (!(job.flags & 4)) {
2487
- job.flags |= 1;
2488
- }
2486
+ job.flags |= 1;
2489
2487
  queueFlush();
2490
2488
  }
2491
2489
  }
@@ -2501,9 +2499,7 @@ function queuePostFlushCb(cb) {
2501
2499
  activePostFlushCbs.splice(postFlushIndex + 1, 0, cb);
2502
2500
  } else if (!(cb.flags & 1)) {
2503
2501
  pendingPostFlushCbs.push(cb);
2504
- if (!(cb.flags & 4)) {
2505
- cb.flags |= 1;
2506
- }
2502
+ cb.flags |= 1;
2507
2503
  }
2508
2504
  } else {
2509
2505
  pendingPostFlushCbs.push(...cb);
@@ -2525,6 +2521,9 @@ function flushPreFlushCbs(instance, seen, i = isFlushing ? flushIndex + 1 : 0) {
2525
2521
  }
2526
2522
  queue.splice(i, 1);
2527
2523
  i--;
2524
+ if (cb.flags & 4) {
2525
+ cb.flags &= ~1;
2526
+ }
2528
2527
  cb();
2529
2528
  cb.flags &= ~1;
2530
2529
  }
@@ -2549,6 +2548,9 @@ function flushPostFlushCbs(seen) {
2549
2548
  if (!!(process.env.NODE_ENV !== "production") && checkRecursiveUpdates(seen, cb)) {
2550
2549
  continue;
2551
2550
  }
2551
+ if (cb.flags & 4) {
2552
+ cb.flags &= ~1;
2553
+ }
2552
2554
  if (!(cb.flags & 8)) cb();
2553
2555
  cb.flags &= ~1;
2554
2556
  }
@@ -2571,6 +2573,9 @@ function flushJobs(seen) {
2571
2573
  if (!!(process.env.NODE_ENV !== "production") && check(job)) {
2572
2574
  continue;
2573
2575
  }
2576
+ if (job.flags & 4) {
2577
+ job.flags &= ~1;
2578
+ }
2574
2579
  callWithErrorHandling(
2575
2580
  job,
2576
2581
  job.i,
@@ -2580,6 +2585,12 @@ function flushJobs(seen) {
2580
2585
  }
2581
2586
  }
2582
2587
  } finally {
2588
+ for (; flushIndex < queue.length; flushIndex++) {
2589
+ const job = queue[flushIndex];
2590
+ if (job) {
2591
+ job.flags &= ~1;
2592
+ }
2593
+ }
2583
2594
  flushIndex = 0;
2584
2595
  queue.length = 0;
2585
2596
  flushPostFlushCbs(seen);
@@ -3867,6 +3878,7 @@ const BaseTransitionImpl = {
3867
3878
  if (!(instance.job.flags & 8)) {
3868
3879
  instance.update();
3869
3880
  }
3881
+ delete leavingHooks.afterLeave;
3870
3882
  };
3871
3883
  return emptyPlaceholder(child);
3872
3884
  } else if (mode === "in-out" && innerChild.type !== Comment) {
@@ -4093,6 +4105,7 @@ function getInnerChild$1(vnode) {
4093
4105
  }
4094
4106
  function setTransitionHooks(vnode, hooks) {
4095
4107
  if (vnode.shapeFlag & 6 && vnode.component) {
4108
+ vnode.transition = hooks;
4096
4109
  setTransitionHooks(vnode.component.subTree, hooks);
4097
4110
  } else if (vnode.shapeFlag & 128) {
4098
4111
  vnode.ssContent.transition = hooks.clone(vnode.ssContent);
@@ -4137,7 +4150,7 @@ function defineComponent(options, extraOptions) {
4137
4150
  function useId() {
4138
4151
  const i = getCurrentInstance();
4139
4152
  if (i) {
4140
- return (i.appContext.config.idPrefix || "v") + ":" + i.ids[0] + i.ids[1]++;
4153
+ return (i.appContext.config.idPrefix || "v") + "-" + i.ids[0] + i.ids[1]++;
4141
4154
  } else if (!!(process.env.NODE_ENV !== "production")) {
4142
4155
  warn$1(
4143
4156
  `useId() is called when there is no active component instance to be associated with.`
@@ -4148,6 +4161,34 @@ function markAsyncBoundary(instance) {
4148
4161
  instance.ids = [instance.ids[0] + instance.ids[2]++ + "-", 0, 0];
4149
4162
  }
4150
4163
 
4164
+ const knownTemplateRefs = /* @__PURE__ */ new WeakSet();
4165
+ function useTemplateRef(key) {
4166
+ const i = getCurrentInstance();
4167
+ const r = shallowRef(null);
4168
+ if (i) {
4169
+ const refs = i.refs === EMPTY_OBJ ? i.refs = {} : i.refs;
4170
+ let desc;
4171
+ if (!!(process.env.NODE_ENV !== "production") && (desc = Object.getOwnPropertyDescriptor(refs, key)) && !desc.configurable) {
4172
+ warn$1(`useTemplateRef('${key}') already exists.`);
4173
+ } else {
4174
+ Object.defineProperty(refs, key, {
4175
+ enumerable: true,
4176
+ get: () => r.value,
4177
+ set: (val) => r.value = val
4178
+ });
4179
+ }
4180
+ } else if (!!(process.env.NODE_ENV !== "production")) {
4181
+ warn$1(
4182
+ `useTemplateRef() is called when there is no active component instance to be associated with.`
4183
+ );
4184
+ }
4185
+ const ret = !!(process.env.NODE_ENV !== "production") ? readonly(r) : r;
4186
+ if (!!(process.env.NODE_ENV !== "production")) {
4187
+ knownTemplateRefs.add(ret);
4188
+ }
4189
+ return ret;
4190
+ }
4191
+
4151
4192
  function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
4152
4193
  if (isArray(rawRef)) {
4153
4194
  rawRef.forEach(
@@ -4176,7 +4217,13 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
4176
4217
  const oldRef = oldRawRef && oldRawRef.r;
4177
4218
  const refs = owner.refs === EMPTY_OBJ ? owner.refs = {} : owner.refs;
4178
4219
  const setupState = owner.setupState;
4179
- const canSetSetupRef = setupState === EMPTY_OBJ ? () => false : (key) => hasOwn(setupState, key) && !(Object.getOwnPropertyDescriptor(refs, key) || EMPTY_OBJ).get;
4220
+ const rawSetupState = toRaw(setupState);
4221
+ const canSetSetupRef = setupState === EMPTY_OBJ ? () => false : (key) => {
4222
+ if (!!(process.env.NODE_ENV !== "production") && knownTemplateRefs.has(rawSetupState[key])) {
4223
+ return false;
4224
+ }
4225
+ return hasOwn(rawSetupState, key);
4226
+ };
4180
4227
  if (oldRef != null && oldRef !== ref) {
4181
4228
  if (isString(oldRef)) {
4182
4229
  refs[oldRef] = null;
@@ -5244,7 +5291,7 @@ const KeepAliveImpl = {
5244
5291
  return () => {
5245
5292
  pendingCacheKey = null;
5246
5293
  if (!slots.default) {
5247
- return null;
5294
+ return current = null;
5248
5295
  }
5249
5296
  const children = slots.default();
5250
5297
  const rawVNode = children[0];
@@ -7021,7 +7068,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
7021
7068
  return vm;
7022
7069
  }
7023
7070
  }
7024
- Vue.version = `2.6.14-compat:${"3.5.1"}`;
7071
+ Vue.version = `2.6.14-compat:${"3.5.3"}`;
7025
7072
  Vue.config = singletonApp.config;
7026
7073
  Vue.use = (plugin, ...options) => {
7027
7074
  if (plugin && isFunction(plugin.install)) {
@@ -8966,7 +9013,7 @@ function baseCreateRenderer(options, createHydrationFns) {
8966
9013
  endMeasure(instance, `hydrate`);
8967
9014
  }
8968
9015
  };
8969
- if (isAsyncWrapperVNode) {
9016
+ if (isAsyncWrapperVNode && type.__asyncHydrate) {
8970
9017
  type.__asyncHydrate(
8971
9018
  el,
8972
9019
  instance,
@@ -10315,7 +10362,7 @@ function renderComponentRoot(instance) {
10315
10362
  `Component inside <Transition> renders non-element root node that cannot be animated.`
10316
10363
  );
10317
10364
  }
10318
- root.transition = vnode.transition;
10365
+ setTransitionHooks(root, vnode.transition);
10319
10366
  }
10320
10367
  if (!!(process.env.NODE_ENV !== "production") && setRoot) {
10321
10368
  setRoot(root);
@@ -10809,7 +10856,7 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe
10809
10856
  };
10810
10857
  }
10811
10858
  if (activeBranch) {
10812
- if (parentNode(activeBranch.el) !== suspense.hiddenContainer) {
10859
+ if (parentNode(activeBranch.el) === container2) {
10813
10860
  anchor = next(activeBranch);
10814
10861
  }
10815
10862
  unmount(activeBranch, parentComponent2, suspense, true);
@@ -11963,29 +12010,6 @@ const computed = (getterOrOptions, debugOptions) => {
11963
12010
  return c;
11964
12011
  };
11965
12012
 
11966
- function useTemplateRef(key) {
11967
- const i = getCurrentInstance();
11968
- const r = shallowRef(null);
11969
- if (i) {
11970
- const refs = i.refs === EMPTY_OBJ ? i.refs = {} : i.refs;
11971
- let desc;
11972
- if (!!(process.env.NODE_ENV !== "production") && (desc = Object.getOwnPropertyDescriptor(refs, key)) && !desc.configurable) {
11973
- warn$1(`useTemplateRef('${key}') already exists.`);
11974
- } else {
11975
- Object.defineProperty(refs, key, {
11976
- enumerable: true,
11977
- get: () => r.value,
11978
- set: (val) => r.value = val
11979
- });
11980
- }
11981
- } else if (!!(process.env.NODE_ENV !== "production")) {
11982
- warn$1(
11983
- `useTemplateRef() is called when there is no active component instance to be associated with.`
11984
- );
11985
- }
11986
- return !!(process.env.NODE_ENV !== "production") ? readonly(r) : r;
11987
- }
11988
-
11989
12013
  function h(type, propsOrChildren, children) {
11990
12014
  const l = arguments.length;
11991
12015
  if (l === 2) {
@@ -12211,7 +12235,7 @@ function isMemoSame(cached, memo) {
12211
12235
  return true;
12212
12236
  }
12213
12237
 
12214
- const version = "3.5.1";
12238
+ const version = "3.5.3";
12215
12239
  const warn = !!(process.env.NODE_ENV !== "production") ? warn$1 : NOOP;
12216
12240
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
12217
12241
  const devtools = !!(process.env.NODE_ENV !== "production") || true ? devtools$1 : void 0;
@@ -12224,7 +12248,9 @@ const _ssrUtils = {
12224
12248
  isVNode: isVNode,
12225
12249
  normalizeVNode,
12226
12250
  getComponentPublicInstance,
12227
- ensureValidVNode
12251
+ ensureValidVNode,
12252
+ pushWarningContext,
12253
+ popWarningContext
12228
12254
  };
12229
12255
  const ssrUtils = _ssrUtils ;
12230
12256
  const resolveFilter = resolveFilter$1 ;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/compat v3.5.1
2
+ * @vue/compat v3.5.3
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -647,7 +647,7 @@ var Vue = (function () {
647
647
  shouldTrack = true;
648
648
  try {
649
649
  prepareDeps(computed);
650
- const value = computed.fn();
650
+ const value = computed.fn(computed._value);
651
651
  if (dep.version === 0 || hasChanged(value, computed._value)) {
652
652
  computed._value = value;
653
653
  dep.version++;
@@ -756,7 +756,7 @@ var Vue = (function () {
756
756
  }
757
757
  }
758
758
  track(debugInfo) {
759
- if (!activeSub || !shouldTrack) {
759
+ if (!activeSub || !shouldTrack || activeSub === this.computed) {
760
760
  return;
761
761
  }
762
762
  let link = this.activeLink;
@@ -1769,7 +1769,7 @@ var Vue = (function () {
1769
1769
  return isFunction(source) ? source() : unref(source);
1770
1770
  }
1771
1771
  const shallowUnwrapHandlers = {
1772
- get: (target, key, receiver) => unref(Reflect.get(target, key, receiver)),
1772
+ get: (target, key, receiver) => key === "__v_raw" ? target : unref(Reflect.get(target, key, receiver)),
1773
1773
  set: (target, key, value, receiver) => {
1774
1774
  const oldValue = target[key];
1775
1775
  if (isRef(oldValue) && !isRef(value)) {
@@ -2471,9 +2471,7 @@ var Vue = (function () {
2471
2471
  } else {
2472
2472
  queue.splice(findInsertionIndex(jobId), 0, job);
2473
2473
  }
2474
- if (!(job.flags & 4)) {
2475
- job.flags |= 1;
2476
- }
2474
+ job.flags |= 1;
2477
2475
  queueFlush();
2478
2476
  }
2479
2477
  }
@@ -2489,9 +2487,7 @@ var Vue = (function () {
2489
2487
  activePostFlushCbs.splice(postFlushIndex + 1, 0, cb);
2490
2488
  } else if (!(cb.flags & 1)) {
2491
2489
  pendingPostFlushCbs.push(cb);
2492
- if (!(cb.flags & 4)) {
2493
- cb.flags |= 1;
2494
- }
2490
+ cb.flags |= 1;
2495
2491
  }
2496
2492
  } else {
2497
2493
  pendingPostFlushCbs.push(...cb);
@@ -2513,6 +2509,9 @@ var Vue = (function () {
2513
2509
  }
2514
2510
  queue.splice(i, 1);
2515
2511
  i--;
2512
+ if (cb.flags & 4) {
2513
+ cb.flags &= ~1;
2514
+ }
2516
2515
  cb();
2517
2516
  cb.flags &= ~1;
2518
2517
  }
@@ -2537,6 +2536,9 @@ var Vue = (function () {
2537
2536
  if (checkRecursiveUpdates(seen, cb)) {
2538
2537
  continue;
2539
2538
  }
2539
+ if (cb.flags & 4) {
2540
+ cb.flags &= ~1;
2541
+ }
2540
2542
  if (!(cb.flags & 8)) cb();
2541
2543
  cb.flags &= ~1;
2542
2544
  }
@@ -2559,6 +2561,9 @@ var Vue = (function () {
2559
2561
  if (check(job)) {
2560
2562
  continue;
2561
2563
  }
2564
+ if (job.flags & 4) {
2565
+ job.flags &= ~1;
2566
+ }
2562
2567
  callWithErrorHandling(
2563
2568
  job,
2564
2569
  job.i,
@@ -2568,6 +2573,12 @@ var Vue = (function () {
2568
2573
  }
2569
2574
  }
2570
2575
  } finally {
2576
+ for (; flushIndex < queue.length; flushIndex++) {
2577
+ const job = queue[flushIndex];
2578
+ if (job) {
2579
+ job.flags &= ~1;
2580
+ }
2581
+ }
2571
2582
  flushIndex = 0;
2572
2583
  queue.length = 0;
2573
2584
  flushPostFlushCbs(seen);
@@ -3852,6 +3863,7 @@ Details: https://v3-migration.vuejs.org/breaking-changes/migration-build.html`
3852
3863
  if (!(instance.job.flags & 8)) {
3853
3864
  instance.update();
3854
3865
  }
3866
+ delete leavingHooks.afterLeave;
3855
3867
  };
3856
3868
  return emptyPlaceholder(child);
3857
3869
  } else if (mode === "in-out" && innerChild.type !== Comment) {
@@ -4077,6 +4089,7 @@ Details: https://v3-migration.vuejs.org/breaking-changes/migration-build.html`
4077
4089
  }
4078
4090
  function setTransitionHooks(vnode, hooks) {
4079
4091
  if (vnode.shapeFlag & 6 && vnode.component) {
4092
+ vnode.transition = hooks;
4080
4093
  setTransitionHooks(vnode.component.subTree, hooks);
4081
4094
  } else if (vnode.shapeFlag & 128) {
4082
4095
  vnode.ssContent.transition = hooks.clone(vnode.ssContent);
@@ -4121,7 +4134,7 @@ Details: https://v3-migration.vuejs.org/breaking-changes/migration-build.html`
4121
4134
  function useId() {
4122
4135
  const i = getCurrentInstance();
4123
4136
  if (i) {
4124
- return (i.appContext.config.idPrefix || "v") + ":" + i.ids[0] + i.ids[1]++;
4137
+ return (i.appContext.config.idPrefix || "v") + "-" + i.ids[0] + i.ids[1]++;
4125
4138
  } else {
4126
4139
  warn$1(
4127
4140
  `useId() is called when there is no active component instance to be associated with.`
@@ -4132,6 +4145,34 @@ Details: https://v3-migration.vuejs.org/breaking-changes/migration-build.html`
4132
4145
  instance.ids = [instance.ids[0] + instance.ids[2]++ + "-", 0, 0];
4133
4146
  }
4134
4147
 
4148
+ const knownTemplateRefs = /* @__PURE__ */ new WeakSet();
4149
+ function useTemplateRef(key) {
4150
+ const i = getCurrentInstance();
4151
+ const r = shallowRef(null);
4152
+ if (i) {
4153
+ const refs = i.refs === EMPTY_OBJ ? i.refs = {} : i.refs;
4154
+ let desc;
4155
+ if ((desc = Object.getOwnPropertyDescriptor(refs, key)) && !desc.configurable) {
4156
+ warn$1(`useTemplateRef('${key}') already exists.`);
4157
+ } else {
4158
+ Object.defineProperty(refs, key, {
4159
+ enumerable: true,
4160
+ get: () => r.value,
4161
+ set: (val) => r.value = val
4162
+ });
4163
+ }
4164
+ } else {
4165
+ warn$1(
4166
+ `useTemplateRef() is called when there is no active component instance to be associated with.`
4167
+ );
4168
+ }
4169
+ const ret = readonly(r) ;
4170
+ {
4171
+ knownTemplateRefs.add(ret);
4172
+ }
4173
+ return ret;
4174
+ }
4175
+
4135
4176
  function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
4136
4177
  if (isArray(rawRef)) {
4137
4178
  rawRef.forEach(
@@ -4160,7 +4201,13 @@ Details: https://v3-migration.vuejs.org/breaking-changes/migration-build.html`
4160
4201
  const oldRef = oldRawRef && oldRawRef.r;
4161
4202
  const refs = owner.refs === EMPTY_OBJ ? owner.refs = {} : owner.refs;
4162
4203
  const setupState = owner.setupState;
4163
- const canSetSetupRef = setupState === EMPTY_OBJ ? () => false : (key) => hasOwn(setupState, key) && !(Object.getOwnPropertyDescriptor(refs, key) || EMPTY_OBJ).get;
4204
+ const rawSetupState = toRaw(setupState);
4205
+ const canSetSetupRef = setupState === EMPTY_OBJ ? () => false : (key) => {
4206
+ if (knownTemplateRefs.has(rawSetupState[key])) {
4207
+ return false;
4208
+ }
4209
+ return hasOwn(rawSetupState, key);
4210
+ };
4164
4211
  if (oldRef != null && oldRef !== ref) {
4165
4212
  if (isString(oldRef)) {
4166
4213
  refs[oldRef] = null;
@@ -5211,7 +5258,7 @@ Server rendered element contains fewer child nodes than client vdom.`
5211
5258
  return () => {
5212
5259
  pendingCacheKey = null;
5213
5260
  if (!slots.default) {
5214
- return null;
5261
+ return current = null;
5215
5262
  }
5216
5263
  const children = slots.default();
5217
5264
  const rawVNode = children[0];
@@ -6983,7 +7030,7 @@ If this is a native custom element, make sure to exclude it from component resol
6983
7030
  return vm;
6984
7031
  }
6985
7032
  }
6986
- Vue.version = `2.6.14-compat:${"3.5.1"}`;
7033
+ Vue.version = `2.6.14-compat:${"3.5.3"}`;
6987
7034
  Vue.config = singletonApp.config;
6988
7035
  Vue.use = (plugin, ...options) => {
6989
7036
  if (plugin && isFunction(plugin.install)) {
@@ -8888,7 +8935,7 @@ If you want to remount the same app, move your app creation logic into a factory
8888
8935
  endMeasure(instance, `hydrate`);
8889
8936
  }
8890
8937
  };
8891
- if (isAsyncWrapperVNode) {
8938
+ if (isAsyncWrapperVNode && type.__asyncHydrate) {
8892
8939
  type.__asyncHydrate(
8893
8940
  el,
8894
8941
  instance,
@@ -10215,7 +10262,7 @@ If you want to remount the same app, move your app creation logic into a factory
10215
10262
  `Component inside <Transition> renders non-element root node that cannot be animated.`
10216
10263
  );
10217
10264
  }
10218
- root.transition = vnode.transition;
10265
+ setTransitionHooks(root, vnode.transition);
10219
10266
  }
10220
10267
  if (setRoot) {
10221
10268
  setRoot(root);
@@ -10709,7 +10756,7 @@ If you want to remount the same app, move your app creation logic into a factory
10709
10756
  };
10710
10757
  }
10711
10758
  if (activeBranch) {
10712
- if (parentNode(activeBranch.el) !== suspense.hiddenContainer) {
10759
+ if (parentNode(activeBranch.el) === container2) {
10713
10760
  anchor = next(activeBranch);
10714
10761
  }
10715
10762
  unmount(activeBranch, parentComponent2, suspense, true);
@@ -11835,29 +11882,6 @@ Component that was made reactive: `,
11835
11882
  return c;
11836
11883
  };
11837
11884
 
11838
- function useTemplateRef(key) {
11839
- const i = getCurrentInstance();
11840
- const r = shallowRef(null);
11841
- if (i) {
11842
- const refs = i.refs === EMPTY_OBJ ? i.refs = {} : i.refs;
11843
- let desc;
11844
- if ((desc = Object.getOwnPropertyDescriptor(refs, key)) && !desc.configurable) {
11845
- warn$1(`useTemplateRef('${key}') already exists.`);
11846
- } else {
11847
- Object.defineProperty(refs, key, {
11848
- enumerable: true,
11849
- get: () => r.value,
11850
- set: (val) => r.value = val
11851
- });
11852
- }
11853
- } else {
11854
- warn$1(
11855
- `useTemplateRef() is called when there is no active component instance to be associated with.`
11856
- );
11857
- }
11858
- return readonly(r) ;
11859
- }
11860
-
11861
11885
  function h(type, propsOrChildren, children) {
11862
11886
  const l = arguments.length;
11863
11887
  if (l === 2) {
@@ -12083,7 +12107,7 @@ Component that was made reactive: `,
12083
12107
  return true;
12084
12108
  }
12085
12109
 
12086
- const version = "3.5.1";
12110
+ const version = "3.5.3";
12087
12111
  const warn = warn$1 ;
12088
12112
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
12089
12113
  const devtools = devtools$1 ;