@cabloy/vue-runtime-core 3.5.22 → 3.5.24
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
|
@@ -6684,7 +6684,16 @@ const filterZovaAttrs = (attrs, inheritAttrs = true) => {
|
|
|
6684
6684
|
if (!inheritAttrs) return res;
|
|
6685
6685
|
for (const key in attrs) {
|
|
6686
6686
|
if (inheritAttrs) {
|
|
6687
|
-
if (inheritAttrs === true
|
|
6687
|
+
if (inheritAttrs === true) {
|
|
6688
|
+
res[key] = attrs[key];
|
|
6689
|
+
} else if (inheritAttrs === "auto") {
|
|
6690
|
+
if (["class", "style"].includes(key)) {
|
|
6691
|
+
res[key] = attrs[key];
|
|
6692
|
+
} else if (key.startsWith("nativeOn")) {
|
|
6693
|
+
const key2 = "on" + key.slice("nativeOn".length);
|
|
6694
|
+
res[key2] = attrs[key];
|
|
6695
|
+
}
|
|
6696
|
+
} else if (inheritAttrs.includes(key)) {
|
|
6688
6697
|
res[key] = attrs[key];
|
|
6689
6698
|
}
|
|
6690
6699
|
} else if (!["slots", "controllerRef"].includes(key)) {
|
|
@@ -5236,7 +5236,16 @@ const filterZovaAttrs = (attrs, inheritAttrs = true) => {
|
|
|
5236
5236
|
if (!inheritAttrs) return res;
|
|
5237
5237
|
for (const key in attrs) {
|
|
5238
5238
|
if (inheritAttrs) {
|
|
5239
|
-
if (inheritAttrs === true
|
|
5239
|
+
if (inheritAttrs === true) {
|
|
5240
|
+
res[key] = attrs[key];
|
|
5241
|
+
} else if (inheritAttrs === "auto") {
|
|
5242
|
+
if (["class", "style"].includes(key)) {
|
|
5243
|
+
res[key] = attrs[key];
|
|
5244
|
+
} else if (key.startsWith("nativeOn")) {
|
|
5245
|
+
const key2 = "on" + key.slice("nativeOn".length);
|
|
5246
|
+
res[key2] = attrs[key];
|
|
5247
|
+
}
|
|
5248
|
+
} else if (inheritAttrs.includes(key)) {
|
|
5240
5249
|
res[key] = attrs[key];
|
|
5241
5250
|
}
|
|
5242
5251
|
} else if (!["slots", "controllerRef"].includes(key)) {
|
|
@@ -6741,7 +6741,16 @@ const filterZovaAttrs = (attrs, inheritAttrs = true) => {
|
|
|
6741
6741
|
if (!inheritAttrs) return res;
|
|
6742
6742
|
for (const key in attrs) {
|
|
6743
6743
|
if (inheritAttrs) {
|
|
6744
|
-
if (inheritAttrs === true
|
|
6744
|
+
if (inheritAttrs === true) {
|
|
6745
|
+
res[key] = attrs[key];
|
|
6746
|
+
} else if (inheritAttrs === "auto") {
|
|
6747
|
+
if (["class", "style"].includes(key)) {
|
|
6748
|
+
res[key] = attrs[key];
|
|
6749
|
+
} else if (key.startsWith("nativeOn")) {
|
|
6750
|
+
const key2 = "on" + key.slice("nativeOn".length);
|
|
6751
|
+
res[key2] = attrs[key];
|
|
6752
|
+
}
|
|
6753
|
+
} else if (inheritAttrs.includes(key)) {
|
|
6745
6754
|
res[key] = attrs[key];
|
|
6746
6755
|
}
|
|
6747
6756
|
} else if (!["slots", "controllerRef"].includes(key)) {
|