@cabloy/vue-runtime-core 3.5.23 → 3.5.25

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.
@@ -6687,8 +6687,11 @@ const filterZovaAttrs = (attrs, inheritAttrs = true) => {
6687
6687
  if (inheritAttrs === true) {
6688
6688
  res[key] = attrs[key];
6689
6689
  } else if (inheritAttrs === "auto") {
6690
- if (["class", "style"].includes(key) || key.startsWith("on") && key[2] >= "A" && key[2] <= "Z") {
6690
+ if (["class", "style"].includes(key)) {
6691
6691
  res[key] = attrs[key];
6692
+ } else if (key.startsWith("nativeOn")) {
6693
+ const key2 = "on" + key.slice("nativeOn".length);
6694
+ res[key2] = attrs[key];
6692
6695
  }
6693
6696
  } else if (inheritAttrs.includes(key)) {
6694
6697
  res[key] = attrs[key];
@@ -7732,6 +7735,8 @@ function mergeProps(...args) {
7732
7735
  const incoming = toMerge[key];
7733
7736
  if (incoming && existing !== incoming && !(shared.isArray(existing) && existing.includes(incoming))) {
7734
7737
  ret[key] = existing ? [].concat(existing, incoming) : incoming;
7738
+ } else if (existing === void 0 || incoming === null || incoming === false) {
7739
+ ret[key] = incoming;
7735
7740
  }
7736
7741
  } else if (key !== "") {
7737
7742
  ret[key] = toMerge[key];
@@ -5239,8 +5239,11 @@ const filterZovaAttrs = (attrs, inheritAttrs = true) => {
5239
5239
  if (inheritAttrs === true) {
5240
5240
  res[key] = attrs[key];
5241
5241
  } else if (inheritAttrs === "auto") {
5242
- if (["class", "style"].includes(key) || key.startsWith("on") && key[2] >= "A" && key[2] <= "Z") {
5242
+ if (["class", "style"].includes(key)) {
5243
5243
  res[key] = attrs[key];
5244
+ } else if (key.startsWith("nativeOn")) {
5245
+ const key2 = "on" + key.slice("nativeOn".length);
5246
+ res[key2] = attrs[key];
5244
5247
  }
5245
5248
  } else if (inheritAttrs.includes(key)) {
5246
5249
  res[key] = attrs[key];
@@ -6210,6 +6213,8 @@ function mergeProps(...args) {
6210
6213
  const incoming = toMerge[key];
6211
6214
  if (incoming && existing !== incoming && !(shared.isArray(existing) && existing.includes(incoming))) {
6212
6215
  ret[key] = existing ? [].concat(existing, incoming) : incoming;
6216
+ } else if (existing === void 0 || incoming === null || incoming === false) {
6217
+ ret[key] = incoming;
6213
6218
  }
6214
6219
  } else if (key !== "") {
6215
6220
  ret[key] = toMerge[key];
@@ -6744,8 +6744,11 @@ const filterZovaAttrs = (attrs, inheritAttrs = true) => {
6744
6744
  if (inheritAttrs === true) {
6745
6745
  res[key] = attrs[key];
6746
6746
  } else if (inheritAttrs === "auto") {
6747
- if (["class", "style"].includes(key) || key.startsWith("on") && key[2] >= "A" && key[2] <= "Z") {
6747
+ if (["class", "style"].includes(key)) {
6748
6748
  res[key] = attrs[key];
6749
+ } else if (key.startsWith("nativeOn")) {
6750
+ const key2 = "on" + key.slice("nativeOn".length);
6751
+ res[key2] = attrs[key];
6749
6752
  }
6750
6753
  } else if (inheritAttrs.includes(key)) {
6751
6754
  res[key] = attrs[key];
@@ -7789,6 +7792,8 @@ function mergeProps(...args) {
7789
7792
  const incoming = toMerge[key];
7790
7793
  if (incoming && existing !== incoming && !(isArray(existing) && existing.includes(incoming))) {
7791
7794
  ret[key] = existing ? [].concat(existing, incoming) : incoming;
7795
+ } else if (existing === void 0 || incoming === null || incoming === false) {
7796
+ ret[key] = incoming;
7792
7797
  }
7793
7798
  } else if (key !== "") {
7794
7799
  ret[key] = toMerge[key];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cabloy/vue-runtime-core",
3
- "version": "3.5.23",
3
+ "version": "3.5.25",
4
4
  "description": "@vue/runtime-core",
5
5
  "main": "index.js",
6
6
  "module": "dist/runtime-core.esm-bundler.js",