@cabloy/vue-runtime-core 3.5.22 → 3.5.23
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,13 @@ 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) || key.startsWith("on") && key[2] >= "A" && key[2] <= "Z") {
|
|
6691
|
+
res[key] = attrs[key];
|
|
6692
|
+
}
|
|
6693
|
+
} else if (inheritAttrs.includes(key)) {
|
|
6688
6694
|
res[key] = attrs[key];
|
|
6689
6695
|
}
|
|
6690
6696
|
} else if (!["slots", "controllerRef"].includes(key)) {
|
|
@@ -5236,7 +5236,13 @@ 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) || key.startsWith("on") && key[2] >= "A" && key[2] <= "Z") {
|
|
5243
|
+
res[key] = attrs[key];
|
|
5244
|
+
}
|
|
5245
|
+
} else if (inheritAttrs.includes(key)) {
|
|
5240
5246
|
res[key] = attrs[key];
|
|
5241
5247
|
}
|
|
5242
5248
|
} else if (!["slots", "controllerRef"].includes(key)) {
|
|
@@ -6741,7 +6741,13 @@ 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) || key.startsWith("on") && key[2] >= "A" && key[2] <= "Z") {
|
|
6748
|
+
res[key] = attrs[key];
|
|
6749
|
+
}
|
|
6750
|
+
} else if (inheritAttrs.includes(key)) {
|
|
6745
6751
|
res[key] = attrs[key];
|
|
6746
6752
|
}
|
|
6747
6753
|
} else if (!["slots", "controllerRef"].includes(key)) {
|