@vue/compat 3.4.28 → 3.4.29

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.
package/dist/vue.cjs.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/compat v3.4.28
2
+ * @vue/compat v3.4.29
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -529,7 +529,7 @@ class ReactiveEffect {
529
529
  /**
530
530
  * @internal
531
531
  */
532
- this._dirtyLevel = 4;
532
+ this._dirtyLevel = 5;
533
533
  /**
534
534
  * @internal
535
535
  */
@@ -549,14 +549,18 @@ class ReactiveEffect {
549
549
  recordEffectScope(this, scope);
550
550
  }
551
551
  get dirty() {
552
- if (this._dirtyLevel === 2 || this._dirtyLevel === 3) {
552
+ if (this._dirtyLevel === 2)
553
+ return false;
554
+ if (this._dirtyLevel === 3 || this._dirtyLevel === 4) {
553
555
  this._dirtyLevel = 1;
554
556
  pauseTracking();
555
557
  for (let i = 0; i < this._depsLength; i++) {
556
558
  const dep = this.deps[i];
557
559
  if (dep.computed) {
560
+ if (dep.computed.effect._dirtyLevel === 2)
561
+ return true;
558
562
  triggerComputed(dep.computed);
559
- if (this._dirtyLevel >= 4) {
563
+ if (this._dirtyLevel >= 5) {
560
564
  break;
561
565
  }
562
566
  }
@@ -566,10 +570,10 @@ class ReactiveEffect {
566
570
  }
567
571
  resetTracking();
568
572
  }
569
- return this._dirtyLevel >= 4;
573
+ return this._dirtyLevel >= 5;
570
574
  }
571
575
  set dirty(v) {
572
- this._dirtyLevel = v ? 4 : 0;
576
+ this._dirtyLevel = v ? 5 : 0;
573
577
  }
574
578
  run() {
575
579
  this._dirtyLevel = 0;
@@ -690,9 +694,18 @@ function triggerEffects(dep, dirtyLevel, debuggerEventExtraInfo) {
690
694
  var _a;
691
695
  pauseScheduling();
692
696
  for (const effect2 of dep.keys()) {
697
+ if (!dep.computed && effect2.computed) {
698
+ if (dep.get(effect2) === effect2._trackId && effect2._runnings > 0) {
699
+ effect2._dirtyLevel = 2;
700
+ continue;
701
+ }
702
+ }
693
703
  let tracking;
694
704
  if (effect2._dirtyLevel < dirtyLevel && (tracking != null ? tracking : tracking = dep.get(effect2) === effect2._trackId)) {
695
705
  effect2._shouldSchedule || (effect2._shouldSchedule = effect2._dirtyLevel === 0);
706
+ if (effect2.computed && effect2._dirtyLevel === 2) {
707
+ effect2._shouldSchedule = true;
708
+ }
696
709
  effect2._dirtyLevel = dirtyLevel;
697
710
  }
698
711
  if (effect2._shouldSchedule && (tracking != null ? tracking : tracking = dep.get(effect2) === effect2._trackId)) {
@@ -700,7 +713,7 @@ function triggerEffects(dep, dirtyLevel, debuggerEventExtraInfo) {
700
713
  (_a = effect2.onTrigger) == null ? void 0 : _a.call(effect2, extend({ effect: effect2 }, debuggerEventExtraInfo));
701
714
  }
702
715
  effect2.trigger();
703
- if ((!effect2._runnings || effect2.allowRecurse) && effect2._dirtyLevel !== 2) {
716
+ if ((!effect2._runnings || effect2.allowRecurse) && effect2._dirtyLevel !== 3) {
704
717
  effect2._shouldSchedule = false;
705
718
  if (effect2.scheduler) {
706
719
  queueEffectSchedulers.push(effect2.scheduler);
@@ -792,7 +805,7 @@ function trigger(target, type, key, newValue, oldValue, oldTarget) {
792
805
  if (dep) {
793
806
  triggerEffects(
794
807
  dep,
795
- 4,
808
+ 5,
796
809
  {
797
810
  target,
798
811
  type,
@@ -1395,7 +1408,7 @@ class ComputedRefImpl {
1395
1408
  () => getter(this._value),
1396
1409
  () => triggerRefValue(
1397
1410
  this,
1398
- this.effect._dirtyLevel === 2 ? 2 : 3
1411
+ this.effect._dirtyLevel === 3 ? 3 : 4
1399
1412
  )
1400
1413
  );
1401
1414
  this.effect.computed = this;
@@ -1405,7 +1418,7 @@ class ComputedRefImpl {
1405
1418
  get value() {
1406
1419
  const self = toRaw(this);
1407
1420
  if ((!self._cacheable || self.effect.dirty) && hasChanged(self._value, self._value = self.effect.run())) {
1408
- triggerRefValue(self, 4);
1421
+ triggerRefValue(self, 5);
1409
1422
  }
1410
1423
  trackRefValue(self);
1411
1424
  if (self.effect._dirtyLevel >= 2) {
@@ -1414,7 +1427,7 @@ class ComputedRefImpl {
1414
1427
 
1415
1428
  getter: `, this.getter);
1416
1429
  }
1417
- triggerRefValue(self, 2);
1430
+ triggerRefValue(self, 3);
1418
1431
  }
1419
1432
  return self._value;
1420
1433
  }
@@ -1469,7 +1482,7 @@ function trackRefValue(ref2) {
1469
1482
  );
1470
1483
  }
1471
1484
  }
1472
- function triggerRefValue(ref2, dirtyLevel = 4, newVal, oldVal) {
1485
+ function triggerRefValue(ref2, dirtyLevel = 5, newVal, oldVal) {
1473
1486
  ref2 = toRaw(ref2);
1474
1487
  const dep = ref2.dep;
1475
1488
  if (dep) {
@@ -1520,12 +1533,12 @@ class RefImpl {
1520
1533
  const oldVal = this._rawValue;
1521
1534
  this._rawValue = newVal;
1522
1535
  this._value = useDirectValue ? newVal : toReactive(newVal);
1523
- triggerRefValue(this, 4, newVal, oldVal);
1536
+ triggerRefValue(this, 5, newVal, oldVal);
1524
1537
  }
1525
1538
  }
1526
1539
  }
1527
1540
  function triggerRef(ref2) {
1528
- triggerRefValue(ref2, 4, ref2.value );
1541
+ triggerRefValue(ref2, 5, ref2.value );
1529
1542
  }
1530
1543
  function unref(ref2) {
1531
1544
  return isRef(ref2) ? ref2.value : ref2;
@@ -5728,7 +5741,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
5728
5741
  return vm;
5729
5742
  }
5730
5743
  }
5731
- Vue.version = `2.6.14-compat:${"3.4.28"}`;
5744
+ Vue.version = `2.6.14-compat:${"3.4.29"}`;
5732
5745
  Vue.config = singletonApp.config;
5733
5746
  Vue.use = (plugin, ...options) => {
5734
5747
  if (plugin && isFunction(plugin.install)) {
@@ -11482,7 +11495,7 @@ function isMemoSame(cached, memo) {
11482
11495
  return true;
11483
11496
  }
11484
11497
 
11485
- const version = "3.4.28";
11498
+ const version = "3.4.29";
11486
11499
  const warn = warn$1 ;
11487
11500
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
11488
11501
  const devtools = devtools$1 ;
@@ -12315,8 +12328,8 @@ function shouldSetAsProp(el, key, value, isSVG) {
12315
12328
 
12316
12329
  /*! #__NO_SIDE_EFFECTS__ */
12317
12330
  // @__NO_SIDE_EFFECTS__
12318
- function defineCustomElement(options, hydrate2) {
12319
- const Comp = defineComponent(options);
12331
+ function defineCustomElement(options, extraOptions, hydrate2) {
12332
+ const Comp = defineComponent(options, extraOptions);
12320
12333
  class VueCustomElement extends VueElement {
12321
12334
  constructor(initialProps) {
12322
12335
  super(Comp, initialProps, hydrate2);
@@ -12326,8 +12339,8 @@ function defineCustomElement(options, hydrate2) {
12326
12339
  return VueCustomElement;
12327
12340
  }
12328
12341
  /*! #__NO_SIDE_EFFECTS__ */
12329
- const defineSSRCustomElement = /* @__NO_SIDE_EFFECTS__ */ (options) => {
12330
- return /* @__PURE__ */ defineCustomElement(options, hydrate);
12342
+ const defineSSRCustomElement = /* @__NO_SIDE_EFFECTS__ */ (options, extraOptions) => {
12343
+ return /* @__PURE__ */ defineCustomElement(options, extraOptions, hydrate);
12331
12344
  };
12332
12345
  const BaseClass = typeof HTMLElement !== "undefined" ? HTMLElement : class {
12333
12346
  };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/compat v3.4.28
2
+ * @vue/compat v3.4.29
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -447,7 +447,7 @@ class ReactiveEffect {
447
447
  /**
448
448
  * @internal
449
449
  */
450
- this._dirtyLevel = 4;
450
+ this._dirtyLevel = 5;
451
451
  /**
452
452
  * @internal
453
453
  */
@@ -467,14 +467,18 @@ class ReactiveEffect {
467
467
  recordEffectScope(this, scope);
468
468
  }
469
469
  get dirty() {
470
- if (this._dirtyLevel === 2 || this._dirtyLevel === 3) {
470
+ if (this._dirtyLevel === 2)
471
+ return false;
472
+ if (this._dirtyLevel === 3 || this._dirtyLevel === 4) {
471
473
  this._dirtyLevel = 1;
472
474
  pauseTracking();
473
475
  for (let i = 0; i < this._depsLength; i++) {
474
476
  const dep = this.deps[i];
475
477
  if (dep.computed) {
478
+ if (dep.computed.effect._dirtyLevel === 2)
479
+ return true;
476
480
  triggerComputed(dep.computed);
477
- if (this._dirtyLevel >= 4) {
481
+ if (this._dirtyLevel >= 5) {
478
482
  break;
479
483
  }
480
484
  }
@@ -484,10 +488,10 @@ class ReactiveEffect {
484
488
  }
485
489
  resetTracking();
486
490
  }
487
- return this._dirtyLevel >= 4;
491
+ return this._dirtyLevel >= 5;
488
492
  }
489
493
  set dirty(v) {
490
- this._dirtyLevel = v ? 4 : 0;
494
+ this._dirtyLevel = v ? 5 : 0;
491
495
  }
492
496
  run() {
493
497
  this._dirtyLevel = 0;
@@ -603,14 +607,23 @@ const queueEffectSchedulers = [];
603
607
  function triggerEffects(dep, dirtyLevel, debuggerEventExtraInfo) {
604
608
  pauseScheduling();
605
609
  for (const effect2 of dep.keys()) {
610
+ if (!dep.computed && effect2.computed) {
611
+ if (dep.get(effect2) === effect2._trackId && effect2._runnings > 0) {
612
+ effect2._dirtyLevel = 2;
613
+ continue;
614
+ }
615
+ }
606
616
  let tracking;
607
617
  if (effect2._dirtyLevel < dirtyLevel && (tracking != null ? tracking : tracking = dep.get(effect2) === effect2._trackId)) {
608
618
  effect2._shouldSchedule || (effect2._shouldSchedule = effect2._dirtyLevel === 0);
619
+ if (effect2.computed && effect2._dirtyLevel === 2) {
620
+ effect2._shouldSchedule = true;
621
+ }
609
622
  effect2._dirtyLevel = dirtyLevel;
610
623
  }
611
624
  if (effect2._shouldSchedule && (tracking != null ? tracking : tracking = dep.get(effect2) === effect2._trackId)) {
612
625
  effect2.trigger();
613
- if ((!effect2._runnings || effect2.allowRecurse) && effect2._dirtyLevel !== 2) {
626
+ if ((!effect2._runnings || effect2.allowRecurse) && effect2._dirtyLevel !== 3) {
614
627
  effect2._shouldSchedule = false;
615
628
  if (effect2.scheduler) {
616
629
  queueEffectSchedulers.push(effect2.scheduler);
@@ -696,7 +709,7 @@ function trigger(target, type, key, newValue, oldValue, oldTarget) {
696
709
  if (dep) {
697
710
  triggerEffects(
698
711
  dep,
699
- 4);
712
+ 5);
700
713
  }
701
714
  }
702
715
  resetScheduling();
@@ -1249,7 +1262,7 @@ class ComputedRefImpl {
1249
1262
  () => getter(this._value),
1250
1263
  () => triggerRefValue(
1251
1264
  this,
1252
- this.effect._dirtyLevel === 2 ? 2 : 3
1265
+ this.effect._dirtyLevel === 3 ? 3 : 4
1253
1266
  )
1254
1267
  );
1255
1268
  this.effect.computed = this;
@@ -1259,11 +1272,11 @@ class ComputedRefImpl {
1259
1272
  get value() {
1260
1273
  const self = toRaw(this);
1261
1274
  if ((!self._cacheable || self.effect.dirty) && hasChanged(self._value, self._value = self.effect.run())) {
1262
- triggerRefValue(self, 4);
1275
+ triggerRefValue(self, 5);
1263
1276
  }
1264
1277
  trackRefValue(self);
1265
1278
  if (self.effect._dirtyLevel >= 2) {
1266
- triggerRefValue(self, 2);
1279
+ triggerRefValue(self, 3);
1267
1280
  }
1268
1281
  return self._value;
1269
1282
  }
@@ -1306,7 +1319,7 @@ function trackRefValue(ref2) {
1306
1319
  ));
1307
1320
  }
1308
1321
  }
1309
- function triggerRefValue(ref2, dirtyLevel = 4, newVal, oldVal) {
1322
+ function triggerRefValue(ref2, dirtyLevel = 5, newVal, oldVal) {
1310
1323
  ref2 = toRaw(ref2);
1311
1324
  const dep = ref2.dep;
1312
1325
  if (dep) {
@@ -1349,12 +1362,12 @@ class RefImpl {
1349
1362
  this._rawValue;
1350
1363
  this._rawValue = newVal;
1351
1364
  this._value = useDirectValue ? newVal : toReactive(newVal);
1352
- triggerRefValue(this, 4);
1365
+ triggerRefValue(this, 5);
1353
1366
  }
1354
1367
  }
1355
1368
  }
1356
1369
  function triggerRef(ref2) {
1357
- triggerRefValue(ref2, 4);
1370
+ triggerRefValue(ref2, 5);
1358
1371
  }
1359
1372
  function unref(ref2) {
1360
1373
  return isRef(ref2) ? ref2.value : ref2;
@@ -4446,7 +4459,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
4446
4459
  return vm;
4447
4460
  }
4448
4461
  }
4449
- Vue.version = `2.6.14-compat:${"3.4.28"}`;
4462
+ Vue.version = `2.6.14-compat:${"3.4.29"}`;
4450
4463
  Vue.config = singletonApp.config;
4451
4464
  Vue.use = (plugin, ...options) => {
4452
4465
  if (plugin && isFunction(plugin.install)) {
@@ -9142,7 +9155,7 @@ function isMemoSame(cached, memo) {
9142
9155
  return true;
9143
9156
  }
9144
9157
 
9145
- const version = "3.4.28";
9158
+ const version = "3.4.29";
9146
9159
  const warn$1 = NOOP;
9147
9160
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
9148
9161
  const devtools = void 0;
@@ -9940,8 +9953,8 @@ function shouldSetAsProp(el, key, value, isSVG) {
9940
9953
 
9941
9954
  /*! #__NO_SIDE_EFFECTS__ */
9942
9955
  // @__NO_SIDE_EFFECTS__
9943
- function defineCustomElement(options, hydrate2) {
9944
- const Comp = defineComponent(options);
9956
+ function defineCustomElement(options, extraOptions, hydrate2) {
9957
+ const Comp = defineComponent(options, extraOptions);
9945
9958
  class VueCustomElement extends VueElement {
9946
9959
  constructor(initialProps) {
9947
9960
  super(Comp, initialProps, hydrate2);
@@ -9951,8 +9964,8 @@ function defineCustomElement(options, hydrate2) {
9951
9964
  return VueCustomElement;
9952
9965
  }
9953
9966
  /*! #__NO_SIDE_EFFECTS__ */
9954
- const defineSSRCustomElement = /* @__NO_SIDE_EFFECTS__ */ (options) => {
9955
- return /* @__PURE__ */ defineCustomElement(options, hydrate);
9967
+ const defineSSRCustomElement = /* @__NO_SIDE_EFFECTS__ */ (options, extraOptions) => {
9968
+ return /* @__PURE__ */ defineCustomElement(options, extraOptions, hydrate);
9956
9969
  };
9957
9970
  const BaseClass = typeof HTMLElement !== "undefined" ? HTMLElement : class {
9958
9971
  };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/compat v3.4.28
2
+ * @vue/compat v3.4.29
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -478,7 +478,7 @@ class ReactiveEffect {
478
478
  /**
479
479
  * @internal
480
480
  */
481
- this._dirtyLevel = 4;
481
+ this._dirtyLevel = 5;
482
482
  /**
483
483
  * @internal
484
484
  */
@@ -498,14 +498,18 @@ class ReactiveEffect {
498
498
  recordEffectScope(this, scope);
499
499
  }
500
500
  get dirty() {
501
- if (this._dirtyLevel === 2 || this._dirtyLevel === 3) {
501
+ if (this._dirtyLevel === 2)
502
+ return false;
503
+ if (this._dirtyLevel === 3 || this._dirtyLevel === 4) {
502
504
  this._dirtyLevel = 1;
503
505
  pauseTracking();
504
506
  for (let i = 0; i < this._depsLength; i++) {
505
507
  const dep = this.deps[i];
506
508
  if (dep.computed) {
509
+ if (dep.computed.effect._dirtyLevel === 2)
510
+ return true;
507
511
  triggerComputed(dep.computed);
508
- if (this._dirtyLevel >= 4) {
512
+ if (this._dirtyLevel >= 5) {
509
513
  break;
510
514
  }
511
515
  }
@@ -515,10 +519,10 @@ class ReactiveEffect {
515
519
  }
516
520
  resetTracking();
517
521
  }
518
- return this._dirtyLevel >= 4;
522
+ return this._dirtyLevel >= 5;
519
523
  }
520
524
  set dirty(v) {
521
- this._dirtyLevel = v ? 4 : 0;
525
+ this._dirtyLevel = v ? 5 : 0;
522
526
  }
523
527
  run() {
524
528
  this._dirtyLevel = 0;
@@ -639,9 +643,18 @@ function triggerEffects(dep, dirtyLevel, debuggerEventExtraInfo) {
639
643
  var _a;
640
644
  pauseScheduling();
641
645
  for (const effect2 of dep.keys()) {
646
+ if (!dep.computed && effect2.computed) {
647
+ if (dep.get(effect2) === effect2._trackId && effect2._runnings > 0) {
648
+ effect2._dirtyLevel = 2;
649
+ continue;
650
+ }
651
+ }
642
652
  let tracking;
643
653
  if (effect2._dirtyLevel < dirtyLevel && (tracking != null ? tracking : tracking = dep.get(effect2) === effect2._trackId)) {
644
654
  effect2._shouldSchedule || (effect2._shouldSchedule = effect2._dirtyLevel === 0);
655
+ if (effect2.computed && effect2._dirtyLevel === 2) {
656
+ effect2._shouldSchedule = true;
657
+ }
645
658
  effect2._dirtyLevel = dirtyLevel;
646
659
  }
647
660
  if (effect2._shouldSchedule && (tracking != null ? tracking : tracking = dep.get(effect2) === effect2._trackId)) {
@@ -649,7 +662,7 @@ function triggerEffects(dep, dirtyLevel, debuggerEventExtraInfo) {
649
662
  (_a = effect2.onTrigger) == null ? void 0 : _a.call(effect2, extend({ effect: effect2 }, debuggerEventExtraInfo));
650
663
  }
651
664
  effect2.trigger();
652
- if ((!effect2._runnings || effect2.allowRecurse) && effect2._dirtyLevel !== 2) {
665
+ if ((!effect2._runnings || effect2.allowRecurse) && effect2._dirtyLevel !== 3) {
653
666
  effect2._shouldSchedule = false;
654
667
  if (effect2.scheduler) {
655
668
  queueEffectSchedulers.push(effect2.scheduler);
@@ -741,7 +754,7 @@ function trigger(target, type, key, newValue, oldValue, oldTarget) {
741
754
  if (dep) {
742
755
  triggerEffects(
743
756
  dep,
744
- 4,
757
+ 5,
745
758
  {
746
759
  target,
747
760
  type,
@@ -1344,7 +1357,7 @@ class ComputedRefImpl {
1344
1357
  () => getter(this._value),
1345
1358
  () => triggerRefValue(
1346
1359
  this,
1347
- this.effect._dirtyLevel === 2 ? 2 : 3
1360
+ this.effect._dirtyLevel === 3 ? 3 : 4
1348
1361
  )
1349
1362
  );
1350
1363
  this.effect.computed = this;
@@ -1354,7 +1367,7 @@ class ComputedRefImpl {
1354
1367
  get value() {
1355
1368
  const self = toRaw(this);
1356
1369
  if ((!self._cacheable || self.effect.dirty) && hasChanged(self._value, self._value = self.effect.run())) {
1357
- triggerRefValue(self, 4);
1370
+ triggerRefValue(self, 5);
1358
1371
  }
1359
1372
  trackRefValue(self);
1360
1373
  if (self.effect._dirtyLevel >= 2) {
@@ -1363,7 +1376,7 @@ class ComputedRefImpl {
1363
1376
 
1364
1377
  getter: `, this.getter);
1365
1378
  }
1366
- triggerRefValue(self, 2);
1379
+ triggerRefValue(self, 3);
1367
1380
  }
1368
1381
  return self._value;
1369
1382
  }
@@ -1418,7 +1431,7 @@ function trackRefValue(ref2) {
1418
1431
  );
1419
1432
  }
1420
1433
  }
1421
- function triggerRefValue(ref2, dirtyLevel = 4, newVal, oldVal) {
1434
+ function triggerRefValue(ref2, dirtyLevel = 5, newVal, oldVal) {
1422
1435
  ref2 = toRaw(ref2);
1423
1436
  const dep = ref2.dep;
1424
1437
  if (dep) {
@@ -1469,12 +1482,12 @@ class RefImpl {
1469
1482
  const oldVal = this._rawValue;
1470
1483
  this._rawValue = newVal;
1471
1484
  this._value = useDirectValue ? newVal : toReactive(newVal);
1472
- triggerRefValue(this, 4, newVal, oldVal);
1485
+ triggerRefValue(this, 5, newVal, oldVal);
1473
1486
  }
1474
1487
  }
1475
1488
  }
1476
1489
  function triggerRef(ref2) {
1477
- triggerRefValue(ref2, 4, ref2.value );
1490
+ triggerRefValue(ref2, 5, ref2.value );
1478
1491
  }
1479
1492
  function unref(ref2) {
1480
1493
  return isRef(ref2) ? ref2.value : ref2;
@@ -5677,7 +5690,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
5677
5690
  return vm;
5678
5691
  }
5679
5692
  }
5680
- Vue.version = `2.6.14-compat:${"3.4.28"}`;
5693
+ Vue.version = `2.6.14-compat:${"3.4.29"}`;
5681
5694
  Vue.config = singletonApp.config;
5682
5695
  Vue.use = (plugin, ...options) => {
5683
5696
  if (plugin && isFunction(plugin.install)) {
@@ -11391,7 +11404,7 @@ function isMemoSame(cached, memo) {
11391
11404
  return true;
11392
11405
  }
11393
11406
 
11394
- const version = "3.4.28";
11407
+ const version = "3.4.29";
11395
11408
  const warn = warn$1 ;
11396
11409
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
11397
11410
  const devtools = devtools$1 ;
@@ -12268,8 +12281,8 @@ function shouldSetAsProp(el, key, value, isSVG) {
12268
12281
 
12269
12282
  /*! #__NO_SIDE_EFFECTS__ */
12270
12283
  // @__NO_SIDE_EFFECTS__
12271
- function defineCustomElement(options, hydrate2) {
12272
- const Comp = defineComponent(options);
12284
+ function defineCustomElement(options, extraOptions, hydrate2) {
12285
+ const Comp = defineComponent(options, extraOptions);
12273
12286
  class VueCustomElement extends VueElement {
12274
12287
  constructor(initialProps) {
12275
12288
  super(Comp, initialProps, hydrate2);
@@ -12279,8 +12292,8 @@ function defineCustomElement(options, hydrate2) {
12279
12292
  return VueCustomElement;
12280
12293
  }
12281
12294
  /*! #__NO_SIDE_EFFECTS__ */
12282
- const defineSSRCustomElement = /* @__NO_SIDE_EFFECTS__ */ (options) => {
12283
- return /* @__PURE__ */ defineCustomElement(options, hydrate);
12295
+ const defineSSRCustomElement = /* @__NO_SIDE_EFFECTS__ */ (options, extraOptions) => {
12296
+ return /* @__PURE__ */ defineCustomElement(options, extraOptions, hydrate);
12284
12297
  };
12285
12298
  const BaseClass = typeof HTMLElement !== "undefined" ? HTMLElement : class {
12286
12299
  };