@lax-wp/design-system 0.13.28 → 0.13.32

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.
@@ -1,26 +1,26 @@
1
- import { jsx as s, jsxs as S, Fragment as xr } from "react/jsx-runtime";
2
- import { useCheckbox as yr } from "../../../hooks/useCheckbox.es.js";
3
- import { useTableConfig as kr } from "../../../providers/design-system-provider/hooks.es.js";
4
- import { mergeViewColumnsWithTableColumns as Vt } from "../../../utils/table.es.js";
1
+ import { jsx as s, jsxs as S, Fragment as yr } from "react/jsx-runtime";
2
+ import { useCheckbox as kr } from "../../../hooks/useCheckbox.es.js";
3
+ import { useTableConfig as Nr } from "../../../providers/design-system-provider/hooks.es.js";
4
+ import { mergeViewColumnsWithTableColumns as gt } from "../../../utils/table.es.js";
5
5
  import jt from "../../button/Button.es.js";
6
- import { FloatingBar as Nr } from "../../floating-bar/FloatingBar.es.js";
6
+ import { FloatingBar as Er } from "../../floating-bar/FloatingBar.es.js";
7
7
  import { Typography as ye } from "../typography/Typography.es.js";
8
- import { useSensors as Er, useSensor as Bt, MouseSensor as Dr, TouchSensor as Tr, DndContext as Rr, closestCorners as Mr, DragOverlay as Ar } from "@dnd-kit/core";
9
- import Or, { useState as p, useRef as D, useCallback as i, useEffect as k, useMemo as W, forwardRef as Lt } from "react";
8
+ import { useSensors as Dr, useSensor as Bt, MouseSensor as Tr, TouchSensor as Rr, DndContext as Ar, closestCorners as Mr, DragOverlay as Or } from "@dnd-kit/core";
9
+ import Vr, { useState as p, useRef as D, useCallback as i, useEffect as k, useMemo as W, forwardRef as Lt } from "react";
10
10
  import { AutoSizer as gr } from "react-virtualized-auto-sizer";
11
- import { createPortal as Vr } from "react-dom";
12
- import { useTable as jr, useResizeColumns as Br } from "react-table";
13
- import { Body as Lr } from "./body/index.es.js";
11
+ import { createPortal as jr } from "react-dom";
12
+ import { useTable as Br, useResizeColumns as Lr } from "react-table";
13
+ import { Body as Pr } from "./body/index.es.js";
14
14
  import { validateCellValue as Pt } from "./validateCell.es.js";
15
- import { Row as Pr } from "./body/rows/row.es.js";
16
- import { TableContext as _r } from "./context.es.js";
17
- import { CurrencyDropdownPortal as $r } from "./CurrencyDropdownPortal.es.js";
18
- import { Head as zr } from "./head/index.es.js";
19
- import { PendingEditsFloatingBar as Hr } from "./PendingEditsFloatingBar.es.js";
20
- import { NoDataFoundWidgets as Wr } from "../empty-state/NoDataFoundWidgets.es.js";
21
- import { NoDataFound as Ir } from "../empty-state/NoDataFound.es.js";
22
- import { Add2Icon as qr } from "../../icon/icons.generated.es.js";
23
- const Jr = gr, Z = 700, Je = 430, _t = "Create Column", Gr = (j, N) => `button-admin-${j.toLowerCase().trim().replace(/\s+/g, "-").replace(/[^a-z0-9-_]/g, "") || N}`, fn = Or.memo(
15
+ import { Row as _r } from "./body/rows/row.es.js";
16
+ import { TableContext as $r } from "./context.es.js";
17
+ import { CurrencyDropdownPortal as zr } from "./CurrencyDropdownPortal.es.js";
18
+ import { Head as Hr } from "./head/index.es.js";
19
+ import { PendingEditsFloatingBar as Wr } from "./PendingEditsFloatingBar.es.js";
20
+ import { NoDataFoundWidgets as Ir } from "../empty-state/NoDataFoundWidgets.es.js";
21
+ import { NoDataFound as qr } from "../empty-state/NoDataFound.es.js";
22
+ import { Add2Icon as Jr } from "../../icon/icons.generated.es.js";
23
+ const Gr = gr, Z = 700, Je = 430, _t = "Create Column", Qr = (j, N) => `button-admin-${j.toLowerCase().trim().replace(/\s+/g, "-").replace(/[^a-z0-9-_]/g, "") || N}`, wn = Vr.memo(
24
24
  ({
25
25
  tableKey: j,
26
26
  searchConfig: N = { search: "", handleSearch: () => null, allowAStarSearch: !1 },
@@ -80,53 +80,54 @@ const Jr = gr, Z = 700, Je = 430, _t = "Create Column", Gr = (j, N) => `button-a
80
80
  disableOptionsForRowIndex: Qt,
81
81
  tableHeightClass: ce = "h-[calc(100vh-220px)]",
82
82
  getFullRowDataOnClick: Xt,
83
+ selectedRowId: Yt = null,
83
84
  onRowEdit: O,
84
85
  onBulkRowEdit: L,
85
- inlineEditColumns: Yt,
86
- isResizable: Zt = !0,
86
+ inlineEditColumns: Zt,
87
+ isResizable: Ut = !0,
87
88
  paginationConfig: ie,
88
89
  dndSortableUtils: ue,
89
90
  multipleContexts: Ce,
90
91
  withSortable: Ne,
91
- withDraggable: Ut,
92
- enableRootDrag: Kt,
93
- pageSize: Ct = 10,
94
- onCascadingRowExpand: el,
92
+ withDraggable: Kt,
93
+ enableRootDrag: Ct,
94
+ pageSize: el = 10,
95
+ onCascadingRowExpand: tl,
95
96
  totalItems: et,
96
97
  showRecordCount: Ee = !1,
97
- getInnerRowData: tl,
98
- maxLevel: ll,
99
- expandedRows: rl = {},
100
- setExpandedRows: nl,
101
- showNewItem: sl,
98
+ getInnerRowData: ll,
99
+ maxLevel: rl,
100
+ expandedRows: nl = {},
101
+ setExpandedRows: sl,
102
+ showNewItem: ol,
102
103
  rawData: tt,
103
- dragConfig: ol,
104
- isOverlayLoading: al,
105
- style: cl = {},
104
+ dragConfig: al,
105
+ isOverlayLoading: cl,
106
+ style: il = {},
106
107
  floatingBarConfig: De,
107
- rowWrapper: il,
108
- rowLinkConfig: ul,
109
- isCellClickDisabled: dl,
108
+ rowWrapper: ul,
109
+ rowLinkConfig: dl,
110
+ isCellClickDisabled: hl,
110
111
  setHeaderOnParent: Te,
111
- optimizeTable: hl = !1,
112
- multiSelectConfig: ml,
113
- headerContextOptions: pl,
114
- showHeaderContextOptions: vl,
115
- setShowHeaderContextOptions: fl,
116
- showDataTypeIcon: wl = !1,
112
+ optimizeTable: ml = !1,
113
+ multiSelectConfig: pl,
114
+ headerContextOptions: vl,
115
+ showHeaderContextOptions: fl,
116
+ setShowHeaderContextOptions: wl,
117
+ showDataTypeIcon: Fl = !1,
117
118
  rowAdditionalActions: de,
118
119
  rowAdditionalActionsWidth: Re,
119
- setVisibleHeaders: Me,
120
- cellEditing: Fl = null,
121
- cellEditingValue: bl = null,
122
- allowInlineEdit: Sl = !1,
123
- onFieldOperationFlow: xl,
120
+ setVisibleHeaders: Ae,
121
+ cellEditing: bl = null,
122
+ cellEditingValue: Sl = null,
123
+ allowInlineEdit: xl = !1,
124
+ onFieldOperationFlow: yl,
124
125
  fieldOperationLoading: P = null,
125
- onTableActionsReady: Ae,
126
+ onTableActionsReady: Me,
126
127
  onPendingEditsChange: lt,
127
128
  onCancelPendingEdits: _
128
129
  }) => {
129
- const a = kr(), yl = !!N?.search, rt = n?.columnFilters?.length > 0, q = yl || rt, kl = !!B, E = a?.getTableView?.(j) ?? null, [x, J] = p(E || null), [Oe, ge] = p(!1), [Ve, nt] = p(!1), [Nl, st] = p(null), [w, je] = p(T), ot = (m.length === 0 || !w.length) && !se, [at, he] = p(null), [El, Dl] = p(!1), [Tl, Rl] = p(null), [Ml, Al] = p(!1), [Ol, me] = p(null), [gl, pe] = p(null), [Vl, ct] = p({}), [G, Be] = p(null), [jl, it] = p(!1), [R, Bl] = p(0), Le = D(null), Pe = D(null), [ut, Ll] = p({ width: 0, height: 0 }), [Pl, $] = p(null), [M, dt] = p(null), [_l, ht] = p(null), [mt, pt] = p(null), [_e, Q] = p({}), $e = D(!1), ve = D(!1), ze = D(x);
130
+ const a = Nr(), kl = !!N?.search, rt = n?.columnFilters?.length > 0, q = kl || rt, Nl = !!B, E = a?.getTableView?.(j) ?? null, [x, J] = p(E || null), [Oe, Ve] = p(!1), [ge, nt] = p(!1), [El, st] = p(null), [w, je] = p(T), ot = (m.length === 0 || !w.length) && !se, [at, he] = p(null), [Dl, Tl] = p(!1), [Rl, Al] = p(null), [Ml, Ol] = p(!1), [Vl, me] = p(null), [gl, pe] = p(null), [jl, ct] = p({}), [G, Be] = p(null), [Bl, it] = p(!1), [R, Ll] = p(0), Le = D(null), Pe = D(null), [ut, Pl] = p({ width: 0, height: 0 }), [_l, $] = p(null), [A, dt] = p(null), [$l, ht] = p(null), [mt, pt] = p(null), [_e, Q] = p({}), $e = D(!1), ve = D(!1), ze = D(x);
130
131
  ze.current = x;
131
132
  const vt = D(a);
132
133
  vt.current = a;
@@ -134,9 +135,9 @@ const Jr = gr, Z = 700, Je = 430, _t = "Create Column", Gr = (j, N) => `button-a
134
135
  ft.current = T;
135
136
  const fe = D(n);
136
137
  fe.current = n;
137
- const wt = D(null), Ft = D(() => ({})), bt = D(() => ({})), [d, A] = p({}), He = i(
138
+ const wt = D(null), Ft = D(() => ({})), bt = D(() => ({})), [d, M] = p({}), He = i(
138
139
  (e, t, l) => {
139
- A((r) => {
140
+ M((r) => {
140
141
  const o = r[e]?.[t];
141
142
  let c = l.validationError;
142
143
  if (c === void 0) {
@@ -153,10 +154,10 @@ const Jr = gr, Z = 700, Je = 430, _t = "Create Column", Gr = (j, N) => `button-a
153
154
  [w]
154
155
  ), St = i(() => Object.values(d).some((e) => Object.keys(e).length > 0), [d]);
155
156
  k(() => {
156
- Ae && Ae({ addPendingEdit: He, hasPendingEdits: St });
157
- }, [Ae, He, St]);
158
- const $l = i((e, t) => {
159
- A((l) => {
157
+ Me && Me({ addPendingEdit: He, hasPendingEdits: St });
158
+ }, [Me, He, St]);
159
+ const zl = i((e, t) => {
160
+ M((l) => {
160
161
  const r = { ...l };
161
162
  if (r[e]) {
162
163
  const { [t]: o, ...c } = r[e];
@@ -164,14 +165,14 @@ const Jr = gr, Z = 700, Je = 430, _t = "Create Column", Gr = (j, N) => `button-a
164
165
  }
165
166
  return r;
166
167
  });
167
- }, []), zl = i(
168
+ }, []), Hl = i(
168
169
  (e, t) => d[e]?.[t],
169
170
  [d]
170
- ), Hl = i(
171
+ ), Wl = i(
171
172
  (e, t) => !!d[e]?.[t],
172
173
  [d]
173
174
  ), xt = i(() => {
174
- P || (_ && Object.keys(d).length > 0 && _(d), A({}), Q({}), $(null));
175
+ P || (_ && Object.keys(d).length > 0 && _(d), M({}), Q({}), $(null));
175
176
  }, [P, _, d]), z = i(
176
177
  (e, t, l) => {
177
178
  setTimeout(() => {
@@ -203,7 +204,7 @@ const Jr = gr, Z = 700, Je = 430, _t = "Create Column", Gr = (j, N) => `button-a
203
204
  const r = {}, o = /* @__PURE__ */ new Set();
204
205
  return Object.entries(e).forEach(([c, F]) => {
205
206
  r[c] = {}, Object.entries(F).forEach(([v, y]) => {
206
- const V = w.find((b) => b.key === v), f = Pt(y.value, V);
207
+ const g = w.find((b) => b.key === v), f = Pt(y.value, g);
207
208
  f.isValid ? r[c][v] = { ...y, validationError: null } : (t = !0, f.error && o.add(f.error), l || (l = { rowId: c, columnKey: v }), r[c][v] = { ...y, validationError: f.error });
208
209
  });
209
210
  }), { hasErrors: t, updatedEdits: r, firstError: l, errorTypes: o };
@@ -215,7 +216,7 @@ const Jr = gr, Z = 700, Je = 430, _t = "Create Column", Gr = (j, N) => `button-a
215
216
  }, []), yt = i(() => {
216
217
  const { hasErrors: e, updatedEdits: t, firstError: l, errorTypes: r } = X(d);
217
218
  if (e) {
218
- if (A(t), a?.showNotification?.("error", we(r)), l) {
219
+ if (M(t), a?.showNotification?.("error", we(r)), l) {
219
220
  const c = m.findIndex((F) => F.id === l.rowId);
220
221
  z(l.rowId, l.columnKey, c);
221
222
  }
@@ -225,17 +226,17 @@ const Jr = gr, Z = 700, Je = 430, _t = "Create Column", Gr = (j, N) => `button-a
225
226
  Object.entries(d).forEach(([c, F]) => {
226
227
  const v = m.find((y) => y.id === c);
227
228
  if (v) {
228
- const y = { ...v }, V = {};
229
+ const y = { ...v }, g = {};
229
230
  Object.entries(F).forEach(([f, b]) => {
230
- y[f] = b.value, V[f] = { value: b.value, meta: b.meta };
231
- }), o.push({ ...y, __editedFields: V });
231
+ y[f] = b.value, g[f] = { value: b.value, meta: b.meta };
232
+ }), o.push({ ...y, __editedFields: g });
232
233
  }
233
- }), o.length > 0 && (L ? L(o) : O && O(null, null, null, null, null, { isBulk: !0, rows: o })), A({}), Q({}), $(null);
234
- }, [d, m, O, L, X, we, z, a]), Wl = i(
234
+ }), o.length > 0 && (L ? L(o) : O && O(null, null, null, null, null, { isBulk: !0, rows: o })), M({}), Q({}), $(null);
235
+ }, [d, m, O, L, X, we, z, a]), Il = i(
235
236
  (e) => {
236
237
  if (P) return;
237
238
  const t = d[e];
238
- t && _ && _({ [e]: t }), A((l) => {
239
+ t && _ && _({ [e]: t }), M((l) => {
239
240
  const r = { ...l };
240
241
  return delete r[e], r;
241
242
  }), Q((l) => {
@@ -246,13 +247,13 @@ const Jr = gr, Z = 700, Je = 430, _t = "Create Column", Gr = (j, N) => `button-a
246
247
  }), $(null);
247
248
  },
248
249
  [P, _, d]
249
- ), Il = i(
250
+ ), ql = i(
250
251
  (e) => {
251
252
  const t = d[e];
252
253
  if (!t || Object.keys(t).length === 0) return;
253
254
  const { hasErrors: l, updatedEdits: r, firstError: o, errorTypes: c } = X({ [e]: t });
254
255
  if (l) {
255
- if (A((f) => ({ ...f, [e]: r[e] })), a?.showNotification?.("error", we(c)), o) {
256
+ if (M((f) => ({ ...f, [e]: r[e] })), a?.showNotification?.("error", we(c)), o) {
256
257
  const f = m.findIndex((b) => b.id === o.rowId);
257
258
  z(o.rowId, o.columnKey, f);
258
259
  }
@@ -264,14 +265,14 @@ const Jr = gr, Z = 700, Je = 430, _t = "Create Column", Gr = (j, N) => `button-a
264
265
  Object.entries(t).forEach(([f, b]) => {
265
266
  v[f] = b.value, y[f] = { value: b.value, meta: b.meta };
266
267
  });
267
- const V = { ...v, __editedFields: y };
268
- L ? L([V]) : O && O(null, null, null, null, null, { isBulk: !0, rows: [V] }), A((f) => {
268
+ const g = { ...v, __editedFields: y };
269
+ L ? L([g]) : O && O(null, null, null, null, null, { isBulk: !0, rows: [g] }), M((f) => {
269
270
  const b = { ...f };
270
271
  return delete b[e], b;
271
272
  }), Q((f) => {
272
273
  const b = { ...f };
273
- return Object.keys(b).forEach((gt) => {
274
- gt.startsWith(`${e}-`) && delete b[gt];
274
+ return Object.keys(b).forEach((Vt) => {
275
+ Vt.startsWith(`${e}-`) && delete b[Vt];
275
276
  }), b;
276
277
  }), $(null);
277
278
  },
@@ -280,7 +281,7 @@ const Jr = gr, Z = 700, Je = 430, _t = "Create Column", Gr = (j, N) => `button-a
280
281
  k(() => {
281
282
  lt?.(H > 0, H);
282
283
  }, [H, lt]);
283
- const ql = W(() => {
284
+ const Jl = W(() => {
284
285
  const e = [];
285
286
  return Object.entries(d).forEach(([t, l]) => {
286
287
  const r = m.findIndex((o) => o.id === t);
@@ -289,28 +290,28 @@ const Jr = gr, Z = 700, Je = 430, _t = "Create Column", Gr = (j, N) => `button-a
289
290
  e.push({ rowId: t, columnKey: o, fieldName: F?.Header || F?.display_name || o, value: c.value, originalValue: c.originalValue, meta: c.meta, originalMeta: c.originalMeta, rowIndex: r });
290
291
  });
291
292
  }), e;
292
- }, [d, w, m]), Jl = W(() => {
293
+ }, [d, w, m]), Gl = W(() => {
293
294
  const e = /* @__PURE__ */ new Map();
294
295
  return Object.entries(d).forEach(([t, l]) => {
295
296
  const r = m.findIndex((o) => o.id === t);
296
297
  e.set(t, { rowId: t, rowIndex: r, editCount: Object.keys(l).length });
297
298
  }), Array.from(e.values()).sort((t, l) => t.rowIndex - l.rowIndex);
298
- }, [d, m]), Gl = i((e) => dt(e), []), Fe = i(() => dt(null), []), Ql = i(
299
+ }, [d, m]), Ql = i((e) => dt(e), []), Fe = i(() => dt(null), []), Xl = i(
299
300
  (e, t) => {
300
- ht({ value: e, reference: t }), M?.onSelected && M.onSelected(e, t), Fe();
301
+ ht({ value: e, reference: t }), A?.onSelected && A.onSelected(e, t), Fe();
301
302
  },
302
- [M, Fe]
303
- ), Xl = i(() => ht(null), []), Yl = i((e) => pt(e), []), kt = i(() => pt(null), []), Zl = i((e, t) => {
303
+ [A, Fe]
304
+ ), Yl = i(() => ht(null), []), Zl = i((e) => pt(e), []), kt = i(() => pt(null), []), Ul = i((e, t) => {
304
305
  Q((l) => ({ ...l, [e]: t }));
305
- }, []), Ul = i(
306
+ }, []), Kl = i(
306
307
  (e) => _e[e],
307
308
  [_e]
308
- ), Kl = W(() => {
309
+ ), Cl = W(() => {
309
310
  const e = ce.match(/h-\[(\d+px)\]/);
310
311
  if (e) return e[1];
311
312
  const t = ce.match(/h-\[(calc\(.+\))\]/);
312
313
  if (t) return t[1].replace(/([+-])/g, " $1 ").replace(/\s+/g, " ");
313
- }, [ce]), Cl = {
314
+ }, [ce]), er = {
314
315
  isEmpty: ot,
315
316
  isFilters: q,
316
317
  isColumnConfigurable: oe,
@@ -318,45 +319,45 @@ const Jr = gr, Z = 700, Je = 430, _t = "Create Column", Gr = (j, N) => `button-a
318
319
  emptyMessage: Xe,
319
320
  buttons: Ze,
320
321
  noDataWidget: Ye
321
- }, er = a?.t?.(_t) ?? _t, be = q ? "No Results Found" : Xe || "No Data Found", tr = typeof be == "string" ? a?.t?.(be) ?? be : be, Nt = { __isLoading: !0 }, lr = new Array(1).fill(Nt), rr = new Array(Ct).fill(Nt), Y = W(() => w.filter((e) => !!e?.visible), [w]), nr = jr(
322
+ }, tr = a?.t?.(_t) ?? _t, be = q ? "No Results Found" : Xe || "No Data Found", lr = typeof be == "string" ? a?.t?.(be) ?? be : be, Nt = { __isLoading: !0 }, rr = new Array(1).fill(Nt), nr = new Array(el).fill(Nt), Y = W(() => w.filter((e) => !!e?.visible), [w]), sr = Br(
322
323
  {
323
- columns: hl ? Y : w,
324
- data: [...m, ...se ? m?.length ? lr : rr : []],
324
+ columns: ml ? Y : w,
325
+ data: [...m, ...se ? m?.length ? rr : nr : []],
325
326
  defaultColumn: { minWidth: 100, width: 200, maxWidth: 999999 }
326
327
  },
327
- Br
328
- ), { getTableProps: Et, getTableBodyProps: Dt, headerGroups: Se, prepareRow: Tt, rows: g } = nr;
328
+ Lr
329
+ ), { getTableProps: Et, getTableBodyProps: Dt, headerGroups: Se, prepareRow: Tt, rows: V } = sr;
329
330
  wt.current = Se;
330
- const sr = JSON.stringify(Se[0]?.headers?.map((e) => e?.Header));
331
+ const or = JSON.stringify(Se[0]?.headers?.map((e) => e?.Header));
331
332
  k(() => {
332
- if (Me) {
333
+ if (Ae) {
333
334
  const e = wt.current;
334
- Me?.(e?.[0]?.headers?.map((t) => t?.Header) ?? []);
335
+ Ae?.(e?.[0]?.headers?.map((t) => t?.Header) ?? []);
335
336
  }
336
- }, [sr, Me]);
337
- const { checkboxConfig: Rt } = yr({
338
- rows: g,
337
+ }, [or, Ae]);
338
+ const { checkboxConfig: Rt } = kr({
339
+ rows: V,
339
340
  checkedIds: B?.checkedIds,
340
341
  isCheckAllDisabled: B?.isCheckAllDisabled,
341
342
  selectionDisabledRowIds: B?.selectionDisabledRowIds,
342
343
  rawData: tt,
343
- onAllChecked: Al,
344
+ onAllChecked: Ol,
344
345
  setCheckedIds: B?.setCheckedIds,
345
346
  checkboxMetadata: B?.checkboxMetadata
346
- }), or = Er(
347
- Bt(Dr, { activationConstraint: { distance: 5 } }),
348
- Bt(Tr, { activationConstraint: { distance: 5 } })
349
- ), ar = { easing: "cubic-bezier(0.18, 0.67, 0.6, 1.22)", duration: 20 };
350
- function cr() {
351
- return !Ce?.length || !Ne ? g : Ce.reduce((e, t) => (e[t] = g.filter((l) => l.original?.type === t), e), {});
347
+ }), ar = Dr(
348
+ Bt(Tr, { activationConstraint: { distance: 5 } }),
349
+ Bt(Rr, { activationConstraint: { distance: 5 } })
350
+ ), cr = { easing: "cubic-bezier(0.18, 0.67, 0.6, 1.22)", duration: 20 };
351
+ function ir() {
352
+ return !Ce?.length || !Ne ? V : Ce.reduce((e, t) => (e[t] = V.filter((l) => l.original?.type === t), e), {});
352
353
  }
353
- bt.current = cr;
354
- const ir = (e) => {
354
+ bt.current = ir;
355
+ const ur = (e) => {
355
356
  const { active: t } = e;
356
- Be(g.find((l) => l.original?.id === t?.id) ?? null);
357
- }, ur = (e) => {
357
+ Be(V.find((l) => l.original?.id === t?.id) ?? null);
358
+ }, dr = (e) => {
358
359
  const { active: t, over: l } = e;
359
- l && (ue?.checkDndDragEnd && ue.checkDndDragEnd(t, l, Vl, (r) => {
360
+ l && (ue?.checkDndDragEnd && ue.checkDndDragEnd(t, l, jl, (r) => {
360
361
  ct(r), it(!0), ue.onDragSuccess?.({
361
362
  draggedId: t.id,
362
363
  droppedId: l.id,
@@ -366,20 +367,20 @@ const Jr = gr, Z = 700, Je = 430, _t = "Create Column", Gr = (j, N) => `button-a
366
367
  cb: () => it(!1)
367
368
  });
368
369
  }), Be(null));
369
- }, dr = () => Be(null), hr = (e) => {
370
+ }, hr = () => Be(null), mr = (e) => {
370
371
  !h?.onSort && !n?.onFilter || he(at === e ? null : e);
371
- }, mr = (e) => {
372
- Rl(e), Dl(!El), he(null);
372
+ }, pr = (e) => {
373
+ Al(e), Tl(!Dl), he(null);
373
374
  }, We = i(() => {
374
375
  h?.onRemoveSort ? h.onRemoveSort() : h?.onSort && h.onSort("", "");
375
376
  }, [h]), xe = i((e = null) => {
376
- st(e), ge((t) => e ? !0 : !t);
377
- }, []), Ie = i(() => nt((e) => !e), []), pr = () => {
377
+ st(e), Ve((t) => e ? !0 : !t);
378
+ }, []), Ie = i(() => nt((e) => !e), []), vr = () => {
378
379
  const e = Se[0]?.headers?.filter((t) => t?.visible !== !1);
379
380
  for (let t = 0; t < e.length; t++)
380
381
  if (e[t].sticky) return t - 1;
381
382
  return e.length - 1;
382
- }, vr = i(
383
+ }, fr = i(
383
384
  (e) => {
384
385
  let t = 0;
385
386
  for (let l = e + 1; l < Y.length; l++)
@@ -387,7 +388,7 @@ const Jr = gr, Z = 700, Je = 430, _t = "Create Column", Gr = (j, N) => `button-a
387
388
  return de && (t += Re || 40), I && (t += Qe ? 0 : 28), t;
388
389
  },
389
390
  [Y, Re, Qe, de, I]
390
- ), Mt = () => {
391
+ ), At = () => {
391
392
  const e = a?.getUserId?.();
392
393
  return {
393
394
  ...x || {},
@@ -408,9 +409,9 @@ const Jr = gr, Z = 700, Je = 430, _t = "Create Column", Gr = (j, N) => `button-a
408
409
  }))
409
410
  };
410
411
  };
411
- Ft.current = Mt;
412
- const fr = (e, t) => {
413
- const l = Mt();
412
+ Ft.current = At;
413
+ const wr = (e, t) => {
414
+ const l = At();
414
415
  J({
415
416
  ...l,
416
417
  columns: l?.columns?.map((r) => r.name === e ? { ...r, width: t } : r),
@@ -418,7 +419,7 @@ const Jr = gr, Z = 700, Je = 430, _t = "Create Column", Gr = (j, N) => `button-a
418
419
  });
419
420
  };
420
421
  k(() => {
421
- n?.columnFilters?.length > 0 && ge(!0);
422
+ n?.columnFilters?.length > 0 && Ve(!0);
422
423
  const e = ze.current;
423
424
  if (JSON.stringify(e?.filters || []) !== JSON.stringify(n?.columnFilters || [])) {
424
425
  const t = (e?.filters?.length ?? 0) > 0, l = n?.columnFilters?.length > 0;
@@ -429,54 +430,54 @@ const Jr = gr, Z = 700, Je = 430, _t = "Create Column", Gr = (j, N) => `button-a
429
430
  ve.current = !1;
430
431
  }
431
432
  }, [n?.columnFilters]);
432
- const wr = i(
433
+ const Fr = i(
433
434
  (e) => {
434
435
  ve.current = !0, n?.onRemoveFilter?.(e);
435
436
  },
436
437
  [n?.onRemoveFilter]
437
- ), Fr = i(() => {
438
+ ), br = i(() => {
438
439
  ve.current = !0, n?.onClearFilter?.();
439
440
  }, [n?.onClearFilter]);
440
441
  k(() => {
441
442
  h?.columnSort?.field ? (nt(!0), h.columnSort.order === "asc" ? (me(h.columnSort.field), pe(null)) : h.columnSort.order === "desc" && (pe(h.columnSort.field), me(null))) : (me(null), pe(null));
442
443
  }, [h?.columnSort?.field, h?.columnSort?.order]), k(() => {
443
- je(Vt(ze.current?.columns || [], T));
444
+ je(gt(ze.current?.columns || [], T));
444
445
  }, [T]), k(() => {
445
446
  x?.unsaved && vt.current?.persistTableView?.(x);
446
447
  }, [x]), k(() => {
447
448
  ct(bt.current());
448
- }, [g.length]), k(() => {
449
- J(E || null), E?.columns && je(Vt(E?.columns || [], ft.current)), E?.filters && E.filters.length > 0 && !$e.current ? (requestAnimationFrame(() => {
449
+ }, [V.length]), k(() => {
450
+ J(E || null), E?.columns && je(gt(E?.columns || [], ft.current)), E?.filters && E.filters.length > 0 && !$e.current ? (requestAnimationFrame(() => {
450
451
  fe.current?.onFilter?.(E.filters);
451
452
  }), $e.current = !0) : E?.filters && $e.current && JSON.stringify(E.filters) !== JSON.stringify(fe.current?.columnFilters) && fe.current?.onFilter?.(E.filters);
452
453
  }, [E]), k(() => {
453
454
  if (Le.current) {
454
- const e = new ResizeObserver((t) => Bl(t[0].contentRect.width));
455
+ const e = new ResizeObserver((t) => Ll(t[0].contentRect.width));
455
456
  return e.observe(Le.current), () => e.disconnect();
456
457
  }
457
458
  }, []), k(() => {
458
459
  if (!Pe.current) return;
459
460
  const e = new ResizeObserver((t) => {
460
461
  const { width: l, height: r } = t[0].contentRect;
461
- Ll({ width: l, height: r });
462
+ Pl({ width: l, height: r });
462
463
  });
463
464
  return e.observe(Pe.current), () => e.disconnect();
464
465
  }, []);
465
- const At = /* @__PURE__ */ s(
466
- zr,
466
+ const Mt = /* @__PURE__ */ s(
467
+ Hr,
467
468
  {
468
- isResizable: Zt,
469
+ isResizable: Ut,
469
470
  headerGroups: Se,
470
- isCheckbox: kl,
471
+ isCheckbox: Nl,
471
472
  checkboxConfig: Rt,
472
473
  isAllChecked: Ml,
473
474
  showHeaderOptions: at ?? "",
474
475
  setShowHeaderOptions: he,
475
- isShowSortArrowAsc: Ol,
476
+ isShowSortArrowAsc: Vl,
476
477
  isShowSortArrowDesc: gl,
477
478
  onSort: h?.onSort,
478
479
  onFilter: n?.onFilter,
479
- toggleHeaderOption: hr,
480
+ toggleHeaderOption: mr,
480
481
  setIsShowSortArrowAsc: me,
481
482
  setIsShowSortArrowDesc: pe,
482
483
  toggleDataFilterModal: xe,
@@ -490,17 +491,17 @@ const Jr = gr, Z = 700, Je = 430, _t = "Create Column", Gr = (j, N) => `button-a
490
491
  rowAdditionalActions: de ?? null,
491
492
  showPendingEditsColumn: H > 0
492
493
  }
493
- ), Ot = /* @__PURE__ */ S(xr, { children: [
494
- jl || al ? /* @__PURE__ */ s("div", { className: "absolute left-0 top-0 w-full h-full z-40 flex items-center justify-center bg-neutral-100 dark:bg-black-700" }) : null,
494
+ ), Ot = /* @__PURE__ */ S(yr, { children: [
495
+ Bl || cl ? /* @__PURE__ */ s("div", { className: "absolute left-0 top-0 w-full h-full z-40 flex items-center justify-center bg-neutral-100 dark:bg-black-700" }) : null,
495
496
  /* @__PURE__ */ s(
496
497
  "div",
497
498
  {
498
499
  ...Et(),
499
500
  className: "w-full text-sm text-left text-neutral-500 dark:text-neutral-200 h-full bg-white dark:bg-black-800",
500
501
  children: ot ? /* @__PURE__ */ S("div", { className: "z-10", children: [
501
- At,
502
- /* @__PURE__ */ s("div", { className: "absolute w-full", children: a?.renderEmpty ? a.renderEmpty(Cl) : /* @__PURE__ */ S("div", { className: "flex flex-col items-center justify-center w-full h-[12rem] text-neutral-900 dark:text-neutral-200 mt-8", children: [
503
- Ye && !q ? /* @__PURE__ */ s(Wr, { widgetType: "TABLE" }) : /* @__PURE__ */ s(Ir, { text: tr }),
502
+ Mt,
503
+ /* @__PURE__ */ s("div", { className: "absolute w-full", children: a?.renderEmpty ? a.renderEmpty(er) : /* @__PURE__ */ S("div", { className: "flex flex-col items-center justify-center w-full h-[12rem] text-neutral-900 dark:text-neutral-200 mt-8", children: [
504
+ Ye && !q ? /* @__PURE__ */ s(Ir, { widgetType: "TABLE" }) : /* @__PURE__ */ s(qr, { text: lr }),
504
505
  oe && !q ? /* @__PURE__ */ s("div", { className: "my-4", children: /* @__PURE__ */ S(
505
506
  jt,
506
507
  {
@@ -509,25 +510,25 @@ const Jr = gr, Z = 700, Je = 430, _t = "Create Column", Gr = (j, N) => `button-a
509
510
  appearance: "ghost",
510
511
  onClick: ae,
511
512
  children: [
512
- /* @__PURE__ */ s(qr, { className: "text-white dark:text-white" }),
513
+ /* @__PURE__ */ s(Jr, { className: "text-white dark:text-white" }),
513
514
  " ",
514
- er
515
+ tr
515
516
  ]
516
517
  }
517
518
  ) }) : null,
518
- !q && Ze?.map((e, t) => /* @__PURE__ */ s(jt, { status: "secondary", id: Gr(e.label, t), onClick: e.onClick, children: a?.t?.(e.label) ?? e.label }, `${e.label}-${t}`))
519
+ !q && Ze?.map((e, t) => /* @__PURE__ */ s(jt, { status: "secondary", id: Qr(e.label, t), onClick: e.onClick, children: a?.t?.(e.label) ?? e.label }, `${e.label}-${t}`))
519
520
  ] }) })
520
521
  ] }) : /* @__PURE__ */ s(
521
- Jr,
522
+ Gr,
522
523
  {
523
524
  style: { width: "100%", height: "100%" },
524
525
  renderProp: ({ width: e, height: t }) => {
525
526
  const l = e > 0 ? e : ut.width, r = t > 0 ? t : ut.height;
526
527
  return l > 0 && r > 0 ? /* @__PURE__ */ s(
527
- Lr,
528
+ Pr,
528
529
  {
529
530
  getTableBodyProps: Dt,
530
- rows: g,
531
+ rows: V,
531
532
  prepareRow: Tt,
532
533
  isLoading: se,
533
534
  onScroll: Ht,
@@ -544,10 +545,10 @@ const Jr = gr, Z = 700, Je = 430, _t = "Create Column", Gr = (j, N) => `button-a
544
545
  )
545
546
  }
546
547
  )
547
- ] }), br = Lt((e, t) => /* @__PURE__ */ S("div", { className: "h-full w-full", ...e, ref: t, children: [
548
- At,
548
+ ] }), Sr = Lt((e, t) => /* @__PURE__ */ S("div", { className: "h-full w-full", ...e, ref: t, children: [
549
+ Mt,
549
550
  /* @__PURE__ */ s("div", { className: "relative w-full h-full", children: e?.children })
550
- ] })), Sr = Lt((e, t) => /* @__PURE__ */ s("div", { className: "h-full w-full", ...e, ref: t, children: /* @__PURE__ */ s("div", { className: "relative w-full h-full", children: e?.children }) })), qe = W(() => a?.renderTableHeader ? a.renderTableHeader({
551
+ ] })), xr = Lt((e, t) => /* @__PURE__ */ s("div", { className: "h-full w-full", ...e, ref: t, children: /* @__PURE__ */ s("div", { className: "relative w-full h-full", children: e?.children }) })), qe = W(() => a?.renderTableHeader ? a.renderTableHeader({
551
552
  tableKey: j,
552
553
  search: N?.search,
553
554
  handleSearch: N?.handleSearch,
@@ -568,6 +569,7 @@ const Jr = gr, Z = 700, Je = 430, _t = "Create Column", Gr = (j, N) => `button-a
568
569
  tableHeaders: w,
569
570
  showTableViewAsModal: u?.showTableViewAsModal,
570
571
  additionalOptions: u?.additionalOptions,
572
+ inlineActions: u?.inlineActions,
571
573
  showFilters: u?.showFilters,
572
574
  showSorts: u?.showSorts,
573
575
  showSearch: u?.showSearch,
@@ -575,7 +577,7 @@ const Jr = gr, Z = 700, Je = 430, _t = "Create Column", Gr = (j, N) => `button-a
575
577
  setTableHeaders: je,
576
578
  allowAStarSearch: !!N?.allowAStarSearch,
577
579
  withContent: !!u?.content,
578
- setShowFilters: ge,
580
+ setShowFilters: Ve,
579
581
  sort: h?.columnSort,
580
582
  onSort: h?.onSort,
581
583
  onRemoveSort: We,
@@ -618,12 +620,12 @@ const Jr = gr, Z = 700, Je = 430, _t = "Create Column", Gr = (j, N) => `button-a
618
620
  return k(() => {
619
621
  Te && Te(qe);
620
622
  }, [qe, Te]), /* @__PURE__ */ S(
621
- _r.Provider,
623
+ $r.Provider,
622
624
  {
623
625
  value: {
624
- tableWrapper: br,
625
- tableBodyWrapper: Sr,
626
- lastNonStickyColumnIndex: pr,
626
+ tableWrapper: Sr,
627
+ tableBodyWrapper: xr,
628
+ lastNonStickyColumnIndex: vr,
627
629
  search: N?.search,
628
630
  columnFilters: n?.columnFilters,
629
631
  onRowClick: zt,
@@ -643,66 +645,67 @@ const Jr = gr, Z = 700, Je = 430, _t = "Create Column", Gr = (j, N) => `button-a
643
645
  onRowTooltipClick: It,
644
646
  tooltiptext: qt,
645
647
  cascadingTableConfig: Jt,
646
- activeInlineEdit: Pl,
648
+ activeInlineEdit: _l,
647
649
  setActiveInlineEdit: $,
648
650
  originalsOnly: Gt,
649
651
  disableOptionsForRowIndex: Qt,
650
652
  getFullRowDataOnClick: Xt,
651
- getSumOfNextVisibleColumnWidth: vr,
653
+ selectedRowId: Yt,
654
+ getSumOfNextVisibleColumnWidth: fr,
652
655
  onRowEdit: O,
653
- inlineEditColumns: Yt,
656
+ inlineEditColumns: Zt,
654
657
  tableActions: Ge,
655
658
  dndSortableUtils: ue,
656
659
  withSortable: Ne,
657
- withDraggable: Ut,
658
- onCascadingRowExpand: el,
659
- getInnerRowData: tl,
660
+ withDraggable: Kt,
661
+ onCascadingRowExpand: tl,
662
+ getInnerRowData: ll,
660
663
  tableHeaders: w,
661
- maxLevel: ll,
662
- expandedRows: rl,
663
- setExpandedRows: nl,
664
- showNewItem: sl,
664
+ maxLevel: rl,
665
+ expandedRows: nl,
666
+ setExpandedRows: sl,
667
+ showNewItem: ol,
665
668
  rawData: tt,
666
- dragConfig: ol,
667
- rowWrapper: il,
668
- rowLinkConfig: ul,
669
- isCellClickDisabled: dl,
669
+ dragConfig: al,
670
+ rowWrapper: ul,
671
+ rowLinkConfig: dl,
672
+ isCellClickDisabled: hl,
670
673
  asyncRowOptionsFilter: n?.asyncRowOptionsFilter,
671
- handleUpdateColumnWidth: fr,
672
- multiSelectConfig: ml,
673
- headerContextOptions: pl,
674
- showHeaderContextOptions: vl,
675
- setShowHeaderContextOptions: fl,
674
+ handleUpdateColumnWidth: wr,
675
+ multiSelectConfig: pl,
676
+ headerContextOptions: vl,
677
+ showHeaderContextOptions: fl,
678
+ setShowHeaderContextOptions: wl,
676
679
  headerDivWidth: R,
677
- showDataTypeIcon: wl,
680
+ showDataTypeIcon: Fl,
678
681
  rowAdditionalActions: de,
679
682
  hoverConfig: $t,
680
683
  rowAdditionalActionsWidth: Re,
681
- cellEditing: Fl,
682
- cellEditingValue: bl,
683
- openMasterDataModal: Gl,
684
+ cellEditing: bl,
685
+ cellEditingValue: Sl,
686
+ openMasterDataModal: Ql,
684
687
  closeMasterDataModal: Fe,
685
- selectedMasterData: _l,
686
- clearSelectedMasterData: Xl,
687
- allowInlineEdit: Sl,
688
- openCurrencyDropdown: Yl,
688
+ selectedMasterData: $l,
689
+ clearSelectedMasterData: Yl,
690
+ allowInlineEdit: xl,
691
+ openCurrencyDropdown: Zl,
689
692
  closeCurrencyDropdown: kt,
690
693
  currencyDropdownConfig: mt,
691
694
  selectedCurrenciesMap: _e,
692
- setCurrencyForCell: Zl,
693
- getCurrencyForCell: Ul,
695
+ setCurrencyForCell: Ul,
696
+ getCurrencyForCell: Kl,
694
697
  pendingEdits: d,
695
698
  addPendingEdit: He,
696
- removePendingEdit: $l,
697
- getPendingEdit: zl,
698
- hasPendingEdit: Hl,
699
+ removePendingEdit: zl,
700
+ getPendingEdit: Hl,
701
+ hasPendingEdit: Wl,
699
702
  clearAllPendingEdits: xt,
700
703
  saveAllPendingEdits: yt,
701
- clearRowPendingEdits: Wl,
702
- saveRowPendingEdits: Il,
704
+ clearRowPendingEdits: Il,
705
+ saveRowPendingEdits: ql,
703
706
  pendingEditsCount: H,
704
707
  scrollToCell: z,
705
- onFieldOperationFlow: xl,
708
+ onFieldOperationFlow: yl,
706
709
  fieldOperationLoading: P,
707
710
  validateAllPendingEdits: X
708
711
  },
@@ -769,14 +772,14 @@ const Jr = gr, Z = 700, Je = 430, _t = "Create Column", Gr = (j, N) => `button-a
769
772
  }
770
773
  ) : null,
771
774
  u?.showDivider ? /* @__PURE__ */ s("div", { className: "border-b pb-2 w-full dark:bg-black-800" }) : null,
772
- Oe || Ve ? /* @__PURE__ */ s("div", { className: "flex justify-between items-center pb-4 dark:bg-black-800", children: /* @__PURE__ */ S("div", { className: "flex gap-2 items-center", children: [
773
- Ve && a?.renderSortItem ? a.renderSortItem({ sort: h?.columnSort, onRemoveSort: We, onSort: h?.onSort, tableHeaders: w, data: m }) : null,
774
- Oe && Ve && h?.columnSort?.field !== "" ? /* @__PURE__ */ s("div", { className: "h-8 w-[1px] flex-shrink-0 bg-neutral-200" }) : null,
775
+ Oe || ge ? /* @__PURE__ */ s("div", { className: "flex justify-between items-center pb-4 dark:bg-black-800", children: /* @__PURE__ */ S("div", { className: "flex gap-2 items-center", children: [
776
+ ge && a?.renderSortItem ? a.renderSortItem({ sort: h?.columnSort, onRemoveSort: We, onSort: h?.onSort, tableHeaders: w, data: m }) : null,
777
+ Oe && ge && h?.columnSort?.field !== "" ? /* @__PURE__ */ s("div", { className: "h-8 w-[1px] flex-shrink-0 bg-neutral-200" }) : null,
775
778
  Oe ? /* @__PURE__ */ S("div", { className: "flex gap-2 items-center", children: [
776
779
  (rt || n?.onResetFilter) && a?.renderActiveFilters && a.renderActiveFilters({
777
780
  filters: n?.columnFilters,
778
- onRemoveFilter: wr,
779
- onClearFilter: Fr,
781
+ onRemoveFilter: Fr,
782
+ onClearFilter: br,
780
783
  onResetFilter: n?.onResetFilter,
781
784
  onFilter: n?.onFilter,
782
785
  tableHeaders: w,
@@ -795,12 +798,12 @@ const Jr = gr, Z = 700, Je = 430, _t = "Create Column", Gr = (j, N) => `button-a
795
798
  }),
796
799
  a?.renderFilterButtons && a.renderFilterButtons({
797
800
  onClearFilter: n?.onClearFilter,
798
- onClose: mr,
801
+ onClose: pr,
799
802
  modelName: U,
800
803
  enableMasterDataEnumSuggestions: K,
801
- defaultFilterColumn: Nl,
804
+ defaultFilterColumn: El,
802
805
  resetDefaultFilterColumn: () => st(null),
803
- column: Tl,
806
+ column: Rl,
804
807
  onFilter: n?.onFilter,
805
808
  tableHeaders: w,
806
809
  columnFilters: n?.columnFilters,
@@ -815,7 +818,7 @@ const Jr = gr, Z = 700, Je = 430, _t = "Create Column", Gr = (j, N) => `button-a
815
818
  })
816
819
  ] }) : null
817
820
  ] }) }) : null,
818
- De && Object.keys(De).length ? /* @__PURE__ */ s(Nr, { ...De }) : null,
821
+ De && Object.keys(De).length ? /* @__PURE__ */ s(Er, { ...De }) : null,
819
822
  !ke && Ee ? /* @__PURE__ */ S("div", { className: "flex items-center gap-1.5 mb-2", children: [
820
823
  /* @__PURE__ */ S(
821
824
  "svg",
@@ -848,15 +851,15 @@ const Jr = gr, Z = 700, Je = 430, _t = "Create Column", Gr = (j, N) => `button-a
848
851
  ref: Pe,
849
852
  className: `w-full ${ie ? "h-auto" : ce} rounded-lg relative border overflow-x-hidden`,
850
853
  style: {
851
- ...ie ? { height: m?.length > 0 ? `${(m?.length + 1) * 41 + 4}px` : "350px" } : { height: Kl },
852
- ...cl
854
+ ...ie ? { height: m?.length > 0 ? `${(m?.length + 1) * 41 + 4}px` : "350px" } : { height: Cl },
855
+ ...il
853
856
  },
854
- children: Kt ? Ot : /* @__PURE__ */ S(Rr, { sensors: or, onDragEnd: ur, onDragStart: ir, onDragCancel: dr, collisionDetection: Mr, children: [
857
+ children: Ct ? Ot : /* @__PURE__ */ S(Ar, { sensors: ar, onDragEnd: dr, onDragStart: ur, onDragCancel: hr, collisionDetection: Mr, children: [
855
858
  Ot,
856
- G ? Vr(
857
- /* @__PURE__ */ s(Ar, { adjustScale: !0, dropAnimation: ar, children: /* @__PURE__ */ s("table", { ...Et(), className: "w-full text-sm text-left text-neutral-500 dark:text-neutral-200 bg-white dark:bg-black-700 table-auto border-collapse", children: /* @__PURE__ */ S("tbody", { ...Dt(), className: "bg-transparent divide-y divide-neutral-200", children: [
859
+ G ? jr(
860
+ /* @__PURE__ */ s(Or, { adjustScale: !0, dropAnimation: cr, children: /* @__PURE__ */ s("table", { ...Et(), className: "w-full text-sm text-left text-neutral-500 dark:text-neutral-200 bg-white dark:bg-black-700 table-auto border-collapse", children: /* @__PURE__ */ S("tbody", { ...Dt(), className: "bg-transparent divide-y divide-neutral-200", children: [
858
861
  void Tt(G),
859
- /* @__PURE__ */ s(Pr, { row: G, index: g?.findIndex((e) => e.id === G.original.id) }, G.original.id)
862
+ /* @__PURE__ */ s(_r, { row: G, index: V?.findIndex((e) => e.id === G.original.id) }, G.original.id)
860
863
  ] }) }) }),
861
864
  document.getElementById("full-screen-container") || document.body
862
865
  ) : null
@@ -865,22 +868,22 @@ const Jr = gr, Z = 700, Je = 430, _t = "Create Column", Gr = (j, N) => `button-a
865
868
  ),
866
869
  ie && a?.renderPagination ? a.renderPagination(ie) : null,
867
870
  a?.renderMasterDataModal && a.renderMasterDataModal({
868
- isVisible: !!M,
869
- onSelected: Ql,
871
+ isVisible: !!A,
872
+ onSelected: Xl,
870
873
  onClose: Fe,
871
- masterDataColumnName: M?.masterDataColumnName,
872
- masterDataFilters: M?.masterDataFilters,
873
- masterDataName: M?.masterDataName,
874
- masterDataId: M?.masterDataName,
874
+ masterDataColumnName: A?.masterDataColumnName,
875
+ masterDataFilters: A?.masterDataFilters,
876
+ masterDataName: A?.masterDataName,
877
+ masterDataId: A?.masterDataName,
875
878
  showFilters: !0
876
879
  }),
877
- /* @__PURE__ */ s($r, { config: mt, onClose: kt }),
880
+ /* @__PURE__ */ s(zr, { config: mt, onClose: kt }),
878
881
  /* @__PURE__ */ s(
879
- Hr,
882
+ Wr,
880
883
  {
881
884
  pendingEditsCount: H,
882
- pendingEditsList: ql,
883
- rowsWithPendingEdits: Jl,
885
+ pendingEditsList: Jl,
886
+ rowsWithPendingEdits: Gl,
884
887
  fieldOperationLoading: P,
885
888
  onClearAll: xt,
886
889
  onSaveAll: yt,
@@ -893,6 +896,6 @@ const Jr = gr, Z = 700, Je = 430, _t = "Create Column", Gr = (j, N) => `button-a
893
896
  }
894
897
  );
895
898
  export {
896
- fn as InfiniteTable
899
+ wn as InfiniteTable
897
900
  };
898
901
  //# sourceMappingURL=index.es.js.map