dfs-page-config 0.2.16 → 0.2.18

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.
@@ -22804,12 +22804,13 @@ const yn = Cne({
22804
22804
  [A]: R || {},
22805
22805
  method: s.method || "POST"
22806
22806
  }).then((I) => {
22807
- I = roe(I, s), !(s.searchAfter && s.searchAfter(I) === !1) && (w ? s.selectedNodes.forEach((N) => {
22808
- for (let V = 0; V < I.result.length; V++) {
22809
- const L = I.result[V];
22810
- N.data[w.dataKey] == L[w.dataKey] && N.setData(L);
22807
+ const N = roe(I, s);
22808
+ s.searchAfter && s.searchAfter(N, I, s) === !1 || (w ? s.selectedNodes.forEach((V) => {
22809
+ for (let L = 0; L < N.result.length; L++) {
22810
+ const k = N.result[L];
22811
+ V.data[w.dataKey] == k[w.dataKey] && V.setData(k);
22811
22812
  }
22812
- }) : c.commit("updateRowData", { tableComp: s, res: I }));
22813
+ }) : c.commit("updateRowData", { tableComp: s, res: N }));
22813
22814
  }).finally(() => {
22814
22815
  c.commit("setLoading", !1);
22815
22816
  });
@@ -94256,6 +94257,7 @@ const Hoe = et({
94256
94257
  isRowClick: !1,
94257
94258
  groupSelectsChildren: !1,
94258
94259
  //
94260
+ groupDefaultExpanded: 0,
94259
94261
  autoGroupColumnDef: {}
94260
94262
  },
94261
94263
  pageInfo: w.pageInfo,
@@ -94388,10 +94390,10 @@ const Hoe = et({
94388
94390
  return typeof E.configFlag.checkboxSelection == "function" && (pe.selectable = E.configFlag.checkboxSelection(Q)), Q.node.rowPinned && (oe["font-weight"] = "bold", oe.color = "red"), Q.node.isClicked === void 0 ? oe : Q.node.isClicked ? { "background-color": "#ffe48d", ...oe } : { "background-color": "", ...oe };
94389
94391
  }
94390
94392
  function L(Q) {
94391
- s.emit("onRowSelected", Q);
94393
+ E.configFlag.onRowSelected && E.configFlag.onRowSelected(Q);
94392
94394
  }
94393
94395
  function k() {
94394
- s.emit("onViewportChanged");
94396
+ E.configFlag.onViewportChanged && E.configFlag.onViewportChanged();
94395
94397
  }
94396
94398
  function W(Q) {
94397
94399
  m = E.gridApi = Q.api, E.configFlag.sizeColumnsToFit && Q.api.sizeColumnsToFit(), E.configFlag.onGridReady && E.configFlag.onGridReady(Q.api), w.gridApi = Q.api;
@@ -94465,6 +94467,7 @@ function $oe(c, s, g, m, w, _) {
94465
94467
  enableCellTextSelection: !0,
94466
94468
  ensureDomOrder: !0,
94467
94469
  groupSelectsChildren: c.configFlag.groupSelectsChildren,
94470
+ groupDefaultExpanded: c.configFlag.groupDefaultExpanded,
94468
94471
  onViewportChanged: c.viewportChanged,
94469
94472
  onRowSelected: c.onRowSelected,
94470
94473
  onRowClicked: c.onRowClicked,
@@ -94472,7 +94475,7 @@ function $oe(c, s, g, m, w, _) {
94472
94475
  onCellClicked: c.onCellClicked,
94473
94476
  suppressAggFuncInHeader: !0,
94474
94477
  suppressContextMenu: !0
94475
- }, null, 8, ["class", "style", "rowHeight", "columnDefs", "defaultColDef", "rowData", "rowMultiSelectWithClick", "autoGroupColumnDef", "suppressRowClickSelection", "onGridReady", "onSelectionChanged", "getRowStyle", "groupSelectsChildren", "onViewportChanged", "onRowSelected", "onRowClicked", "onDragStopped", "onCellClicked"]),
94478
+ }, null, 8, ["class", "style", "rowHeight", "columnDefs", "defaultColDef", "rowData", "rowMultiSelectWithClick", "autoGroupColumnDef", "suppressRowClickSelection", "onGridReady", "onSelectionChanged", "getRowStyle", "groupSelectsChildren", "groupDefaultExpanded", "onViewportChanged", "onRowSelected", "onRowClicked", "onDragStopped", "onCellClicked"]),
94476
94479
  (q(!0), ye(At, null, Ut((c.componentOption.children || []).filter((I) => I.slot), (I) => Ct(c.$slots, I.slot, {
94477
94480
  key: I.slot
94478
94481
  })), 128)),