@vue/runtime-dom 3.5.15 → 3.5.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/runtime-dom v3.5.15
2
+ * @vue/runtime-dom v3.5.17
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -924,9 +924,10 @@ class VueElement extends BaseClass {
924
924
  };
925
925
  const asyncDef = this._def.__asyncLoader;
926
926
  if (asyncDef) {
927
- this._pendingResolve = asyncDef().then(
928
- (def) => resolve(this._def = def, true)
929
- );
927
+ this._pendingResolve = asyncDef().then((def) => {
928
+ def.configureApp = this._def.configureApp;
929
+ resolve(this._def = def, true);
930
+ });
930
931
  } else {
931
932
  resolve(this._def);
932
933
  }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/runtime-dom v3.5.15
2
+ * @vue/runtime-dom v3.5.17
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -884,9 +884,10 @@ class VueElement extends BaseClass {
884
884
  };
885
885
  const asyncDef = this._def.__asyncLoader;
886
886
  if (asyncDef) {
887
- this._pendingResolve = asyncDef().then(
888
- (def) => resolve(this._def = def, true)
889
- );
887
+ this._pendingResolve = asyncDef().then((def) => {
888
+ def.configureApp = this._def.configureApp;
889
+ resolve(this._def = def, true);
890
+ });
890
891
  } else {
891
892
  resolve(this._def);
892
893
  }
@@ -1385,8 +1385,8 @@ declare module '@vue/runtime-core' {
1385
1385
  vOn: VOnDirective;
1386
1386
  vBind: VModelDirective;
1387
1387
  vIf: Directive<any, boolean>;
1388
- VOnce: Directive;
1389
- VSlot: Directive;
1388
+ vOnce: Directive;
1389
+ vSlot: Directive;
1390
1390
  }
1391
1391
  }
1392
1392
  export declare const render: RootRenderFunction<Element | ShadowRoot>;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/runtime-dom v3.5.15
2
+ * @vue/runtime-dom v3.5.17
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -784,6 +784,7 @@ class Link {
784
784
  }
785
785
  }
786
786
  class Dep {
787
+ // TODO isolatedDeclarations "__v_skip"
787
788
  constructor(computed) {
788
789
  this.computed = computed;
789
790
  this.version = 0;
@@ -804,6 +805,10 @@ class Dep {
804
805
  * Subscriber counter
805
806
  */
806
807
  this.sc = 0;
808
+ /**
809
+ * @internal
810
+ */
811
+ this.__v_skip = true;
807
812
  {
808
813
  this.subsHead = void 0;
809
814
  }
@@ -4407,7 +4412,7 @@ function isMismatchAllowed(el, allowedType) {
4407
4412
  if (allowedType === 0 /* TEXT */ && list.includes("children")) {
4408
4413
  return true;
4409
4414
  }
4410
- return allowedAttr.split(",").includes(MismatchTypeString[allowedType]);
4415
+ return list.includes(MismatchTypeString[allowedType]);
4411
4416
  }
4412
4417
  }
4413
4418
 
@@ -6654,6 +6659,8 @@ const assignSlots = (slots, children, optimized) => {
6654
6659
  const initSlots = (instance, children, optimized) => {
6655
6660
  const slots = instance.slots = createInternalObject();
6656
6661
  if (instance.vnode.shapeFlag & 32) {
6662
+ const cacheIndexes = children.__;
6663
+ if (cacheIndexes) def(slots, "__", cacheIndexes, true);
6657
6664
  const type = children._;
6658
6665
  if (type) {
6659
6666
  assignSlots(slots, children, optimized);
@@ -6865,6 +6872,8 @@ function baseCreateRenderer(options, createHydrationFns) {
6865
6872
  }
6866
6873
  if (ref != null && parentComponent) {
6867
6874
  setRef(ref, n1 && n1.ref, parentSuspense, n2 || n1, !n2);
6875
+ } else if (ref == null && n1 && n1.ref != null) {
6876
+ setRef(n1.ref, null, parentSuspense, n1, true);
6868
6877
  }
6869
6878
  };
6870
6879
  const processText = (n1, n2, container, anchor) => {
@@ -7424,7 +7433,8 @@ function baseCreateRenderer(options, createHydrationFns) {
7424
7433
  hydrateSubTree();
7425
7434
  }
7426
7435
  } else {
7427
- if (root.ce) {
7436
+ if (root.ce && // @ts-expect-error _def is private
7437
+ root.ce._def.shadowRoot !== false) {
7428
7438
  root.ce._injectChildStyle(type);
7429
7439
  }
7430
7440
  {
@@ -10522,7 +10532,7 @@ function isMemoSame(cached, memo) {
10522
10532
  return true;
10523
10533
  }
10524
10534
 
10525
- const version = "3.5.15";
10535
+ const version = "3.5.17";
10526
10536
  const warn = warn$1 ;
10527
10537
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
10528
10538
  const devtools = devtools$1 ;
@@ -11525,9 +11535,10 @@ class VueElement extends BaseClass {
11525
11535
  };
11526
11536
  const asyncDef = this._def.__asyncLoader;
11527
11537
  if (asyncDef) {
11528
- this._pendingResolve = asyncDef().then(
11529
- (def) => resolve(this._def = def, true)
11530
- );
11538
+ this._pendingResolve = asyncDef().then((def) => {
11539
+ def.configureApp = this._def.configureApp;
11540
+ resolve(this._def = def, true);
11541
+ });
11531
11542
  } else {
11532
11543
  resolve(this._def);
11533
11544
  }