@cabloy/vue-runtime-core 3.5.28 → 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.
package/dist/runtime-core.cjs.js
CHANGED
|
@@ -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
|
-
|
|
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];
|
|
@@ -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
|
-
|
|
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];
|
|
@@ -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
|
-
|
|
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];
|