qy-ui-for-ls 0.4.1 → 0.4.2
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/qy-ui-for-ls.es.js
CHANGED
|
@@ -24214,15 +24214,18 @@ const vze = function(e = {}) {
|
|
|
24214
24214
|
};
|
|
24215
24215
|
}, xze = (e = "id") => {
|
|
24216
24216
|
const t = ue(!1), n = ue([]), r = V(() => {
|
|
24217
|
-
let
|
|
24218
|
-
return n.value.forEach((
|
|
24217
|
+
let o = [];
|
|
24218
|
+
return n.value.forEach((s) => o.push(s[e])), o;
|
|
24219
24219
|
});
|
|
24220
24220
|
return {
|
|
24221
24221
|
isSelected: t,
|
|
24222
24222
|
selectedList: n,
|
|
24223
24223
|
selectedListIds: r,
|
|
24224
|
-
selectionChange: (
|
|
24225
|
-
|
|
24224
|
+
selectionChange: (o) => {
|
|
24225
|
+
o.length ? t.value = !0 : t.value = !1, n.value = o;
|
|
24226
|
+
},
|
|
24227
|
+
cleearSelection: () => {
|
|
24228
|
+
t.value = !1, n.value = [];
|
|
24226
24229
|
}
|
|
24227
24230
|
};
|
|
24228
24231
|
}, Sze = (e) => e && Array.isArray(e);
|
|
@@ -26934,7 +26937,7 @@ const jje = ["src"], Vje = ["href"], Hje = /* @__PURE__ */ ee({
|
|
|
26934
26937
|
I(i).statusBar ? (M(), Q("div", Qje, [
|
|
26935
26938
|
Ke(Ue.$slots, "statusBar")
|
|
26936
26939
|
])) : Fe("", !0),
|
|
26937
|
-
I(E).length > 0 ? (M(), Q("div", eVe, "已选择:" + wt(I(E).length) + "
|
|
26940
|
+
I(E).length > 0 ? (M(), Q("div", eVe, "已选择:" + wt(I(E).length) + " 条数据", 1)) : Fe("", !0),
|
|
26938
26941
|
sr((M(), He(I(Xye), $t({
|
|
26939
26942
|
ref_key: "tableRef",
|
|
26940
26943
|
ref: l,
|