@cabloy/vue-runtime-core 3.5.27 → 3.5.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.
@@ -6686,7 +6686,12 @@ const filterZovaAttrs = (attrs, inheritAttrs = true) => {
6686
6686
  for (const key in attrs) {
6687
6687
  if (inheritAttrs) {
6688
6688
  if (inheritAttrs === true) {
6689
- res[key] = attrs[key];
6689
+ if (key.startsWith("nativeOn")) {
6690
+ const key2 = "on" + key.slice("nativeOn".length);
6691
+ res[key2] = attrs[key];
6692
+ } else {
6693
+ res[key] = attrs[key];
6694
+ }
6690
6695
  } else if (inheritAttrs === "auto") {
6691
6696
  if (["class", "style"].includes(key)) {
6692
6697
  res[key] = attrs[key];
@@ -7756,6 +7761,7 @@ function invokeVNodeHook(hook, instance, vnode, prevVNode = null) {
7756
7761
  const emptyAppContext = createAppContext();
7757
7762
  let uid = 0;
7758
7763
  function createComponentInstance(vnode, parent, suspense) {
7764
+ var _a;
7759
7765
  const type = vnode.type;
7760
7766
  const appContext = (parent ? parent.appContext : vnode.appContext) || emptyAppContext;
7761
7767
  const instance = {
@@ -7837,8 +7843,9 @@ function createComponentInstance(vnode, parent, suspense) {
7837
7843
  {
7838
7844
  instance.ctx = createDevRenderContext(instance);
7839
7845
  }
7840
- if (vnode.zovaHostProviders) {
7841
- instance.zovaHostProviders = vnode.zovaHostProviders;
7846
+ const zovaHostProviders = (_a = vnode.zovaHostProviders) != null ? _a : parent && parent.zovaHostProviders;
7847
+ if (zovaHostProviders) {
7848
+ instance.zovaHostProviders = zovaHostProviders;
7842
7849
  }
7843
7850
  instance.root = parent ? parent.root : instance;
7844
7851
  instance.emit = emit.bind(null, instance);
@@ -5238,7 +5238,12 @@ const filterZovaAttrs = (attrs, inheritAttrs = true) => {
5238
5238
  for (const key in attrs) {
5239
5239
  if (inheritAttrs) {
5240
5240
  if (inheritAttrs === true) {
5241
- res[key] = attrs[key];
5241
+ if (key.startsWith("nativeOn")) {
5242
+ const key2 = "on" + key.slice("nativeOn".length);
5243
+ res[key2] = attrs[key];
5244
+ } else {
5245
+ res[key] = attrs[key];
5246
+ }
5242
5247
  } else if (inheritAttrs === "auto") {
5243
5248
  if (["class", "style"].includes(key)) {
5244
5249
  res[key] = attrs[key];
@@ -6234,6 +6239,7 @@ function invokeVNodeHook(hook, instance, vnode, prevVNode = null) {
6234
6239
  const emptyAppContext = createAppContext();
6235
6240
  let uid = 0;
6236
6241
  function createComponentInstance(vnode, parent, suspense) {
6242
+ var _a;
6237
6243
  const type = vnode.type;
6238
6244
  const appContext = (parent ? parent.appContext : vnode.appContext) || emptyAppContext;
6239
6245
  const instance = {
@@ -6315,8 +6321,9 @@ function createComponentInstance(vnode, parent, suspense) {
6315
6321
  {
6316
6322
  instance.ctx = { _: instance };
6317
6323
  }
6318
- if (vnode.zovaHostProviders) {
6319
- instance.zovaHostProviders = vnode.zovaHostProviders;
6324
+ const zovaHostProviders = (_a = vnode.zovaHostProviders) != null ? _a : parent && parent.zovaHostProviders;
6325
+ if (zovaHostProviders) {
6326
+ instance.zovaHostProviders = zovaHostProviders;
6320
6327
  }
6321
6328
  instance.root = parent ? parent.root : instance;
6322
6329
  instance.emit = emit.bind(null, instance);
@@ -6743,7 +6743,12 @@ const filterZovaAttrs = (attrs, inheritAttrs = true) => {
6743
6743
  for (const key in attrs) {
6744
6744
  if (inheritAttrs) {
6745
6745
  if (inheritAttrs === true) {
6746
- res[key] = attrs[key];
6746
+ if (key.startsWith("nativeOn")) {
6747
+ const key2 = "on" + key.slice("nativeOn".length);
6748
+ res[key2] = attrs[key];
6749
+ } else {
6750
+ res[key] = attrs[key];
6751
+ }
6747
6752
  } else if (inheritAttrs === "auto") {
6748
6753
  if (["class", "style"].includes(key)) {
6749
6754
  res[key] = attrs[key];
@@ -7813,6 +7818,7 @@ function invokeVNodeHook(hook, instance, vnode, prevVNode = null) {
7813
7818
  const emptyAppContext = createAppContext();
7814
7819
  let uid = 0;
7815
7820
  function createComponentInstance(vnode, parent, suspense) {
7821
+ var _a;
7816
7822
  const type = vnode.type;
7817
7823
  const appContext = (parent ? parent.appContext : vnode.appContext) || emptyAppContext;
7818
7824
  const instance = {
@@ -7896,8 +7902,9 @@ function createComponentInstance(vnode, parent, suspense) {
7896
7902
  } else {
7897
7903
  instance.ctx = { _: instance };
7898
7904
  }
7899
- if (vnode.zovaHostProviders) {
7900
- instance.zovaHostProviders = vnode.zovaHostProviders;
7905
+ const zovaHostProviders = (_a = vnode.zovaHostProviders) != null ? _a : parent && parent.zovaHostProviders;
7906
+ if (zovaHostProviders) {
7907
+ instance.zovaHostProviders = zovaHostProviders;
7901
7908
  }
7902
7909
  instance.root = parent ? parent.root : instance;
7903
7910
  instance.emit = emit.bind(null, instance);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cabloy/vue-runtime-core",
3
- "version": "3.5.27",
3
+ "version": "3.5.29",
4
4
  "description": "@vue/runtime-core",
5
5
  "main": "index.js",
6
6
  "module": "dist/runtime-core.esm-bundler.js",