paas-component-library 1.0.50 → 1.0.51
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/paas-ui.js
CHANGED
|
@@ -20963,10 +20963,10 @@ const mYe = /* @__PURE__ */ zr(dYe, [["render", vYe], ["__scopeId", "data-v-2f3e
|
|
|
20963
20963
|
stringValue(r) {
|
|
20964
20964
|
if (!this.isInternalUpdate)
|
|
20965
20965
|
if (this.multiple) {
|
|
20966
|
-
const
|
|
20966
|
+
const e = Array.isArray(r) ? r.map((n) => this.originMap.get(n)).filter((n) => n !== void 0) : [], t = e.length > 0 ? e.join(",") : "";
|
|
20967
20967
|
this.$emit("update:modelValue", t), this.$emit("change", t);
|
|
20968
20968
|
} else {
|
|
20969
|
-
const e = this.originMap.get(r) ?? null;
|
|
20969
|
+
const e = r != null && r !== "" ? this.originMap.get(r) ?? null : null;
|
|
20970
20970
|
this.$emit("update:modelValue", e), this.$emit("change", e);
|
|
20971
20971
|
}
|
|
20972
20972
|
}
|
|
@@ -22048,6 +22048,12 @@ const ZYe = /* @__PURE__ */ zr(UYe, [["render", XYe]]), qYe = {
|
|
|
22048
22048
|
computed: {
|
|
22049
22049
|
see() {
|
|
22050
22050
|
return this.$store?.forms?.see;
|
|
22051
|
+
},
|
|
22052
|
+
filteredAttrs() {
|
|
22053
|
+
const r = { ...this.$attrs };
|
|
22054
|
+
return Object.keys(r).forEach((e) => {
|
|
22055
|
+
(e.startsWith("on") || e.startsWith("@")) && delete r[e];
|
|
22056
|
+
}), r;
|
|
22051
22057
|
}
|
|
22052
22058
|
},
|
|
22053
22059
|
watch: {
|
|
@@ -22057,20 +22063,12 @@ const ZYe = /* @__PURE__ */ zr(UYe, [["render", XYe]]), qYe = {
|
|
|
22057
22063
|
});
|
|
22058
22064
|
}
|
|
22059
22065
|
},
|
|
22060
|
-
computed: {
|
|
22061
|
-
filteredAttrs() {
|
|
22062
|
-
const r = { ...this.$attrs };
|
|
22063
|
-
return Object.keys(r).forEach((e) => {
|
|
22064
|
-
(e.startsWith("on") || e.startsWith("@")) && delete r[e];
|
|
22065
|
-
}), r;
|
|
22066
|
-
}
|
|
22067
|
-
},
|
|
22068
22066
|
methods: {
|
|
22069
22067
|
onChange(r) {
|
|
22070
22068
|
if (this.isInternalUpdate)
|
|
22071
22069
|
return;
|
|
22072
|
-
let e
|
|
22073
|
-
Array.isArray(r)
|
|
22070
|
+
let e;
|
|
22071
|
+
Array.isArray(r) ? r.length === 0 ? e = this.multiple ? "" : void 0 : e = this.multiple ? r.join(",") : r[0] : e = r, this.$emit("update:modelValue", e ?? ""), this.$emit("change", e ?? "");
|
|
22074
22072
|
}
|
|
22075
22073
|
}
|
|
22076
22074
|
};
|
|
@@ -112078,7 +112076,7 @@ function jGt(r, e, t, n, i, o) {
|
|
|
112078
112076
|
style: { "margin-top": "20px" },
|
|
112079
112077
|
gap: "small",
|
|
112080
112078
|
wrap: "wrap",
|
|
112081
|
-
justify: "
|
|
112079
|
+
justify: "center",
|
|
112082
112080
|
align: "center"
|
|
112083
112081
|
}, {
|
|
112084
112082
|
default: ft(() => [
|