@vuact/runtime-dom 3.5.13-vuact.1 → 3.5.14-vuact.2

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
- * @vuactjs/runtime-dom v3.5.13
2
+ * @vuact/runtime-dom v3.5.14
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -10,7 +10,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
10
10
  var runtimeCore = require('@vue/runtime-core');
11
11
  var shared = require('@vue/shared');
12
12
 
13
- let policy = undefined;
13
+ let policy = void 0;
14
14
  const tt = typeof window !== "undefined" && window.trustedTypes;
15
15
  if (tt) {
16
16
  try {
@@ -236,11 +236,11 @@ function resolveTransitionProps(rawProps) {
236
236
  callHook(onLeave, [el, resolve]);
237
237
  },
238
238
  onEnterCancelled(el) {
239
- finishEnter(el, false, undefined, true);
239
+ finishEnter(el, false, void 0, true);
240
240
  callHook(onEnterCancelled, [el]);
241
241
  },
242
242
  onAppearCancelled(el) {
243
- finishEnter(el, true, undefined, true);
243
+ finishEnter(el, true, void 0, true);
244
244
  callHook(onAppearCancelled, [el]);
245
245
  },
246
246
  onLeaveCancelled(el) {
@@ -276,7 +276,7 @@ function removeTransitionClass(el, cls) {
276
276
  if (_vtc) {
277
277
  _vtc.delete(cls);
278
278
  if (!_vtc.size) {
279
- el[vtcKey] = undefined;
279
+ el[vtcKey] = void 0;
280
280
  }
281
281
  }
282
282
  }
@@ -634,7 +634,7 @@ function patchEvent(el, rawName, prevValue, nextValue, instance = null) {
634
634
  addEventListener(el, name, invoker, options);
635
635
  } else if (existingInvoker) {
636
636
  removeEventListener(el, name, existingInvoker, options);
637
- invokers[rawName] = undefined;
637
+ invokers[rawName] = void 0;
638
638
  }
639
639
  }
640
640
  }
@@ -739,7 +739,7 @@ function shouldSetAsProp(el, key, value, isSVG) {
739
739
  }
740
740
  return false;
741
741
  }
742
- if (key === "spellcheck" || key === "draggable" || key === "translate") {
742
+ if (key === "spellcheck" || key === "draggable" || key === "translate" || key === "autocorrect") {
743
743
  return false;
744
744
  }
745
745
  if (key === "form") {
@@ -846,7 +846,7 @@ class VueElement extends BaseClass {
846
846
  } else {
847
847
  if (parent && parent._pendingResolve) {
848
848
  this._pendingResolve = parent._pendingResolve.then(() => {
849
- this._pendingResolve = undefined;
849
+ this._pendingResolve = void 0;
850
850
  this._resolveDef();
851
851
  });
852
852
  } else {
@@ -870,7 +870,7 @@ class VueElement extends BaseClass {
870
870
  this._ob = null;
871
871
  }
872
872
  this._app && this._app.unmount();
873
- if (this._instance) this._instance.ce = undefined;
873
+ if (this._instance) this._instance.ce = void 0;
874
874
  this._app = this._instance = null;
875
875
  }
876
876
  });
@@ -893,7 +893,7 @@ class VueElement extends BaseClass {
893
893
  this._ob.observe(this, { attributes: true });
894
894
  const resolve = (def, isAsync = false) => {
895
895
  this._resolved = true;
896
- this._pendingResolve = undefined;
896
+ this._pendingResolve = void 0;
897
897
  const { props, styles } = def;
898
898
  let numberProps;
899
899
  if (props && !shared.isArray(props)) {
@@ -1228,6 +1228,7 @@ const TransitionGroupImpl = /* @__PURE__ */ decorate({
1228
1228
  instance.vnode.el,
1229
1229
  moveClass
1230
1230
  )) {
1231
+ prevChildren = [];
1231
1232
  return;
1232
1233
  }
1233
1234
  prevChildren.forEach(callPendingCbs);
@@ -1251,6 +1252,7 @@ const TransitionGroupImpl = /* @__PURE__ */ decorate({
1251
1252
  };
1252
1253
  el.addEventListener("transitionend", cb);
1253
1254
  });
1255
+ prevChildren = [];
1254
1256
  });
1255
1257
  return () => {
1256
1258
  const rawProps = runtimeCore.toRaw(props);
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vuactjs/runtime-dom v3.5.13
2
+ * @vuact/runtime-dom v3.5.14
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -10,7 +10,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
10
10
  var runtimeCore = require('@vue/runtime-core');
11
11
  var shared = require('@vue/shared');
12
12
 
13
- let policy = undefined;
13
+ let policy = void 0;
14
14
  const tt = typeof window !== "undefined" && window.trustedTypes;
15
15
  if (tt) {
16
16
  try {
@@ -235,11 +235,11 @@ function resolveTransitionProps(rawProps) {
235
235
  callHook(onLeave, [el, resolve]);
236
236
  },
237
237
  onEnterCancelled(el) {
238
- finishEnter(el, false, undefined, true);
238
+ finishEnter(el, false, void 0, true);
239
239
  callHook(onEnterCancelled, [el]);
240
240
  },
241
241
  onAppearCancelled(el) {
242
- finishEnter(el, true, undefined, true);
242
+ finishEnter(el, true, void 0, true);
243
243
  callHook(onAppearCancelled, [el]);
244
244
  },
245
245
  onLeaveCancelled(el) {
@@ -272,7 +272,7 @@ function removeTransitionClass(el, cls) {
272
272
  if (_vtc) {
273
273
  _vtc.delete(cls);
274
274
  if (!_vtc.size) {
275
- el[vtcKey] = undefined;
275
+ el[vtcKey] = void 0;
276
276
  }
277
277
  }
278
278
  }
@@ -613,7 +613,7 @@ function patchEvent(el, rawName, prevValue, nextValue, instance = null) {
613
613
  addEventListener(el, name, invoker, options);
614
614
  } else if (existingInvoker) {
615
615
  removeEventListener(el, name, existingInvoker, options);
616
- invokers[rawName] = undefined;
616
+ invokers[rawName] = void 0;
617
617
  }
618
618
  }
619
619
  }
@@ -708,7 +708,7 @@ function shouldSetAsProp(el, key, value, isSVG) {
708
708
  }
709
709
  return false;
710
710
  }
711
- if (key === "spellcheck" || key === "draggable" || key === "translate") {
711
+ if (key === "spellcheck" || key === "draggable" || key === "translate" || key === "autocorrect") {
712
712
  return false;
713
713
  }
714
714
  if (key === "form") {
@@ -810,7 +810,7 @@ class VueElement extends BaseClass {
810
810
  } else {
811
811
  if (parent && parent._pendingResolve) {
812
812
  this._pendingResolve = parent._pendingResolve.then(() => {
813
- this._pendingResolve = undefined;
813
+ this._pendingResolve = void 0;
814
814
  this._resolveDef();
815
815
  });
816
816
  } else {
@@ -834,7 +834,7 @@ class VueElement extends BaseClass {
834
834
  this._ob = null;
835
835
  }
836
836
  this._app && this._app.unmount();
837
- if (this._instance) this._instance.ce = undefined;
837
+ if (this._instance) this._instance.ce = void 0;
838
838
  this._app = this._instance = null;
839
839
  }
840
840
  });
@@ -857,7 +857,7 @@ class VueElement extends BaseClass {
857
857
  this._ob.observe(this, { attributes: true });
858
858
  const resolve = (def, isAsync = false) => {
859
859
  this._resolved = true;
860
- this._pendingResolve = undefined;
860
+ this._pendingResolve = void 0;
861
861
  const { props, styles } = def;
862
862
  let numberProps;
863
863
  if (props && !shared.isArray(props)) {
@@ -1135,6 +1135,7 @@ const TransitionGroupImpl = /* @__PURE__ */ decorate({
1135
1135
  instance.vnode.el,
1136
1136
  moveClass
1137
1137
  )) {
1138
+ prevChildren = [];
1138
1139
  return;
1139
1140
  }
1140
1141
  prevChildren.forEach(callPendingCbs);
@@ -1158,6 +1159,7 @@ const TransitionGroupImpl = /* @__PURE__ */ decorate({
1158
1159
  };
1159
1160
  el.addEventListener("transitionend", cb);
1160
1161
  });
1162
+ prevChildren = [];
1161
1163
  });
1162
1164
  return () => {
1163
1165
  const rawProps = runtimeCore.toRaw(props);