@byteluck-fe/runtime-desktop-controls 7.0.0-beta.96 → 7.0.0-beta.97
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-desktop-controls.js +19 -15
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -72834,32 +72834,35 @@ const K7e = /* @__PURE__ */ je(Q7e, [["__scopeId", "data-v-4ff06e2b"]]), X7e = /
|
|
|
72834
72834
|
},
|
|
72835
72835
|
emits: ["onGetList", "onDelRow"],
|
|
72836
72836
|
setup(e) {
|
|
72837
|
-
const t = e, n = D(() => t.width && t.width - 18), a = D(() => t.instance.type.includes("column")), o = Ei(t.instanceProps), { options: r, initValue: i } = aT({
|
|
72837
|
+
const t = e, n = D(() => t.width && t.width - 18), a = D(() => t.instance.type.includes("column")), o = Ei(t.instanceProps), { options: r, initValue: i, getDisplayValue: l } = aT({
|
|
72838
72838
|
...t,
|
|
72839
72839
|
instanceProps: o
|
|
72840
|
-
}), { getCacheDisplayValue:
|
|
72841
|
-
const
|
|
72842
|
-
return
|
|
72843
|
-
"
|
|
72844
|
-
|
|
72845
|
-
|
|
72846
|
-
|
|
72840
|
+
}), { getCacheDisplayValue: c } = Tn(t.instance), u = D(() => {
|
|
72841
|
+
const p = c(t.value);
|
|
72842
|
+
return p.length > 0 ? p.map((f) => {
|
|
72843
|
+
if (typeof f == "string")
|
|
72844
|
+
return f;
|
|
72845
|
+
const h = f;
|
|
72846
|
+
return h.display_value ?? h.department_name ?? h.org_unit_name ?? h.org_name ?? h.label ?? "";
|
|
72847
|
+
}) : (s(r)?.length || Array.isArray(t.value) && t.value.length && l(t.value), []);
|
|
72848
|
+
}), d = D(
|
|
72849
|
+
() => s(u).length ? s(u) : s(r)?.length ? s(r) : t.readList
|
|
72847
72850
|
);
|
|
72848
72851
|
return De(
|
|
72849
72852
|
() => t.value,
|
|
72850
|
-
(
|
|
72853
|
+
(p) => {
|
|
72851
72854
|
i();
|
|
72852
72855
|
},
|
|
72853
72856
|
{ deep: !0 }
|
|
72854
|
-
), (
|
|
72857
|
+
), (p, f) => (e.rowIndex !== void 0 || a.value) && e.pageStatus !== 5 ? (x(), ne(rh, ht({ key: 0 }, p.$attrs, {
|
|
72855
72858
|
instance: e.instance,
|
|
72856
|
-
"list-total":
|
|
72859
|
+
"list-total": d.value,
|
|
72857
72860
|
"row-index": e.rowIndex,
|
|
72858
72861
|
label: "display_value",
|
|
72859
72862
|
width: n.value
|
|
72860
|
-
}), null, 16, ["instance", "list-total", "row-index", "width"])) : (x(), ne(Dl, ht({ key: 1 },
|
|
72863
|
+
}), null, 16, ["instance", "list-total", "row-index", "width"])) : (x(), ne(Dl, ht({ key: 1 }, p.$attrs, {
|
|
72861
72864
|
label: "display_value",
|
|
72862
|
-
"read-list":
|
|
72865
|
+
"read-list": d.value
|
|
72863
72866
|
}), null, 16, ["read-list"]));
|
|
72864
72867
|
}
|
|
72865
72868
|
}), e9e = {
|
|
@@ -72963,8 +72966,9 @@ const K7e = /* @__PURE__ */ je(Q7e, [["__scopeId", "data-v-4ff06e2b"]]), X7e = /
|
|
|
72963
72966
|
"page-status": s(I),
|
|
72964
72967
|
"get-departments-by-ids": s(R),
|
|
72965
72968
|
width: ee.width,
|
|
72969
|
+
"instance-props": s(N),
|
|
72966
72970
|
"is-org-select": ""
|
|
72967
|
-
}, null, 40, ["read-list", "name", "instance", "value", "row-index", "page-status", "get-departments-by-ids", "width"]))
|
|
72971
|
+
}, null, 40, ["read-list", "name", "instance", "value", "row-index", "page-status", "get-departments-by-ids", "width", "instance-props"]))
|
|
72968
72972
|
]),
|
|
72969
72973
|
_: 1
|
|
72970
72974
|
}, 8, ["control", "name", "show-type", "instance-props"])),
|
|
@@ -72991,7 +72995,7 @@ const K7e = /* @__PURE__ */ je(Q7e, [["__scopeId", "data-v-4ff06e2b"]]), X7e = /
|
|
|
72991
72995
|
], 64));
|
|
72992
72996
|
}
|
|
72993
72997
|
});
|
|
72994
|
-
const n9e = /* @__PURE__ */ je(t9e, [["__scopeId", "data-v-
|
|
72998
|
+
const n9e = /* @__PURE__ */ je(t9e, [["__scopeId", "data-v-d3fa1e9e"]]), a9e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
72995
72999
|
__proto__: null,
|
|
72996
73000
|
RokOrganizationSelection: n9e
|
|
72997
73001
|
}, Symbol.toStringTag, { value: "Module" })), o9e = {
|