dfs-page-config 0.1.33 → 0.1.35
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/dfs-page-config.js
CHANGED
|
@@ -22412,10 +22412,12 @@ const MO = /* @__PURE__ */ oo(oq, [["render", iq]]), aq = _e({
|
|
|
22412
22412
|
setup(r) {
|
|
22413
22413
|
const s = pi(), l = bn({
|
|
22414
22414
|
buttonGroup: B(() => r.componentOption.elementGroup.filter((b) => {
|
|
22415
|
-
if (typeof b.isShow == "function"
|
|
22416
|
-
|
|
22417
|
-
|
|
22418
|
-
|
|
22415
|
+
if (typeof b.isShow == "function")
|
|
22416
|
+
if (b.relation) {
|
|
22417
|
+
const R = Pl(s, r.pageKey, b.relation);
|
|
22418
|
+
return b.isShow(R);
|
|
22419
|
+
} else
|
|
22420
|
+
return b.isShow();
|
|
22419
22421
|
return b.isShow === void 0 || b.isShow;
|
|
22420
22422
|
})),
|
|
22421
22423
|
size: r.componentOption.size || "default"
|
|
@@ -22594,7 +22596,7 @@ function uq(r, s, l, c, p, f) {
|
|
|
22594
22596
|
Be(r.$slots, "default", {}, void 0, !0)
|
|
22595
22597
|
], 4);
|
|
22596
22598
|
}
|
|
22597
|
-
const cq = /* @__PURE__ */ oo(aq, [["render", uq], ["__scopeId", "data-v-
|
|
22599
|
+
const cq = /* @__PURE__ */ oo(aq, [["render", uq], ["__scopeId", "data-v-c8904ad4"]]), dq = _e({
|
|
22598
22600
|
props: {
|
|
22599
22601
|
gridApi: {
|
|
22600
22602
|
type: Object,
|
|
@@ -55268,7 +55270,7 @@ const eX = /* @__PURE__ */ oo(Zq, [["render", Jq]]), tX = (r) => {
|
|
|
55268
55270
|
_ = iX(_, s), !(s.searchAfter && s.searchAfter(_) === !1) && (c ? s.selectedNodes.forEach((E) => {
|
|
55269
55271
|
for (let b = 0; b < _.result.length; b++) {
|
|
55270
55272
|
const R = _.result[b];
|
|
55271
|
-
E.data[c.dataKey] == R[c.dataKey] && E.setData(R);
|
|
55273
|
+
E.data[c.dataKey] == R[c.dataKey] && (E.setData(R), E.setSelected(!1));
|
|
55272
55274
|
}
|
|
55273
55275
|
}) : r.commit("updateRowData", { tableComp: s, res: _ }));
|
|
55274
55276
|
}).finally(() => {
|