@lax-wp/design-system 0.14.34 → 0.14.36

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.
Files changed (36) hide show
  1. package/dist/components/data-display/infinite-table/CellContextMenuPortal.cjs.js +2 -0
  2. package/dist/components/data-display/infinite-table/CellContextMenuPortal.cjs.js.map +1 -0
  3. package/dist/components/data-display/infinite-table/CellContextMenuPortal.d.ts +13 -0
  4. package/dist/components/data-display/infinite-table/CellContextMenuPortal.es.js +174 -0
  5. package/dist/components/data-display/infinite-table/CellContextMenuPortal.es.js.map +1 -0
  6. package/dist/components/data-display/infinite-table/body/cell/DataCell.cjs.js +1 -1
  7. package/dist/components/data-display/infinite-table/body/cell/DataCell.cjs.js.map +1 -1
  8. package/dist/components/data-display/infinite-table/body/cell/DataCell.es.js +183 -164
  9. package/dist/components/data-display/infinite-table/body/cell/DataCell.es.js.map +1 -1
  10. package/dist/components/data-display/infinite-table/constants.cjs.js +1 -1
  11. package/dist/components/data-display/infinite-table/constants.cjs.js.map +1 -1
  12. package/dist/components/data-display/infinite-table/constants.d.ts +8 -0
  13. package/dist/components/data-display/infinite-table/constants.es.js +24 -20
  14. package/dist/components/data-display/infinite-table/constants.es.js.map +1 -1
  15. package/dist/components/data-display/infinite-table/context.cjs.js +1 -1
  16. package/dist/components/data-display/infinite-table/context.cjs.js.map +1 -1
  17. package/dist/components/data-display/infinite-table/context.d.ts +5 -1
  18. package/dist/components/data-display/infinite-table/context.es.js +5 -2
  19. package/dist/components/data-display/infinite-table/context.es.js.map +1 -1
  20. package/dist/components/data-display/infinite-table/head/cell/index.cjs.js +1 -1
  21. package/dist/components/data-display/infinite-table/head/cell/index.cjs.js.map +1 -1
  22. package/dist/components/data-display/infinite-table/head/cell/index.es.js +39 -39
  23. package/dist/components/data-display/infinite-table/head/cell/index.es.js.map +1 -1
  24. package/dist/components/data-display/infinite-table/index.cjs.js +1 -1
  25. package/dist/components/data-display/infinite-table/index.cjs.js.map +1 -1
  26. package/dist/components/data-display/infinite-table/index.d.ts +1 -1
  27. package/dist/components/data-display/infinite-table/index.es.js +433 -418
  28. package/dist/components/data-display/infinite-table/index.es.js.map +1 -1
  29. package/dist/components/data-display/infinite-table/types.d.ts +65 -0
  30. package/dist/components/forms/currency-input/CurrencyInputField.cjs.js +1 -1
  31. package/dist/components/forms/currency-input/CurrencyInputField.cjs.js.map +1 -1
  32. package/dist/components/forms/currency-input/CurrencyInputField.es.js +24 -24
  33. package/dist/components/forms/currency-input/CurrencyInputField.es.js.map +1 -1
  34. package/dist/index.d.ts +1 -1
  35. package/dist/providers/design-system-provider/types.d.ts +1 -0
  36. package/package.json +1 -1
@@ -1,28 +1,29 @@
1
- import { jsx as s, jsxs as b, Fragment as Tr } from "react/jsx-runtime";
2
- import { useCheckbox as Dr } from "../../../hooks/useCheckbox.es.js";
3
- import { useTableConfig as Nr } from "../../../providers/design-system-provider/hooks.es.js";
4
- import { canEditTableView as Or, mergeViewColumnsWithTableColumns as kt } from "../../../utils/table.es.js";
5
- import Mt from "../../button/Button.es.js";
6
- import { FloatingBar as Ar } from "../../floating-bar/FloatingBar.es.js";
1
+ import { jsx as s, jsxs as b, Fragment as Er } from "react/jsx-runtime";
2
+ import { useCheckbox as Rr } from "../../../hooks/useCheckbox.es.js";
3
+ import { useTableConfig as _r } from "../../../providers/design-system-provider/hooks.es.js";
4
+ import { canEditTableView as kr, mergeViewColumnsWithTableColumns as Lt } from "../../../utils/table.es.js";
5
+ import gt from "../../button/Button.es.js";
6
+ import { FloatingBar as Mr } from "../../floating-bar/FloatingBar.es.js";
7
7
  import { Typography as be } from "../typography/Typography.es.js";
8
- import { useSensors as Er, useSensor as It, MouseSensor as Rr, TouchSensor as _r, DndContext as kr, closestCorners as Mr, DragOverlay as Ir } from "@dnd-kit/core";
9
- import Lr, { useState as p, useRef as O, useCallback as d, useEffect as T, useMemo as z, forwardRef as Lt } from "react";
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 Pr } from "./body/index.es.js";
14
- import { validateCellValue as gt } from "./validateCell.es.js";
15
- import { Row as Wr } from "./body/rows/row.es.js";
16
- import { TableContext as Hr } 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 Ur } from "./PendingEditsFloatingBar.es.js";
20
- import { DATA_ROW_ID_ATTR as qr, DATA_COLUMN_KEY_ATTR as Jr, OS_VIEWPORT_SELECTOR as Cr, SCROLL_TO_CELL_COLUMN_WIDTH_FALLBACK as Gr, SCROLL_TO_CELL_LEFT_OFFSET as Xr, DEFAULT_PAGE_SIZE as Yr, DEFAULT_COLUMN_MAX_WIDTH as Zr, DEFAULT_COLUMN_WIDTH as Qr, DEFAULT_COLUMN_MIN_WIDTH as Kr, DND_ACTIVATION_DISTANCE as Vt, ROW_ADDITIONAL_ACTIONS_DEFAULT_WIDTH as en, ROW_OPTIONS_COLUMN_WIDTH as tn, TOOLBAR_FIRST_BREAKPOINT as Z, TOOLBAR_SECOND_BREAKPOINT as ze, DROP_ANIMATION_DURATION as ln, DROP_ANIMATION_EASING as rn } from "./constants.es.js";
21
- import { getRowSlotHeight as nn, useRowHeight as sn } from "./useRowHeight.es.js";
22
- import { NoDataFoundWidgets as on } from "../empty-state/NoDataFoundWidgets.es.js";
23
- import { NoDataFound as an } from "../empty-state/NoDataFound.es.js";
24
- import { Add2Icon as cn } from "../../icon/icons.generated.es.js";
25
- const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCase().trim().replace(/\s+/g, "-").replace(/[^a-z0-9-_]/g, "") || D}`, Vn = Lr.memo(
8
+ import { useSensors as Ir, useSensor as Vt, MouseSensor as Lr, TouchSensor as gr, DndContext as Vr, closestCorners as jr, DragOverlay as Br } from "@dnd-kit/core";
9
+ import Pr, { useState as h, useRef as O, useCallback as i, useEffect as T, useMemo as z, forwardRef as jt } from "react";
10
+ import { AutoSizer as Wr } from "react-virtualized-auto-sizer";
11
+ import { createPortal as Hr } from "react-dom";
12
+ import { useTable as $r, useResizeColumns as zr } from "react-table";
13
+ import { Body as Cr } from "./body/index.es.js";
14
+ import { validateCellValue as Bt } from "./validateCell.es.js";
15
+ import { Row as Ur } from "./body/rows/row.es.js";
16
+ import { TableContext as qr } from "./context.es.js";
17
+ import { CellContextMenuPortal as Jr } from "./CellContextMenuPortal.es.js";
18
+ import { CurrencyDropdownPortal as Gr } from "./CurrencyDropdownPortal.es.js";
19
+ import { Head as Xr } from "./head/index.es.js";
20
+ import { PendingEditsFloatingBar as Yr } from "./PendingEditsFloatingBar.es.js";
21
+ import { DATA_ROW_ID_ATTR as Zr, DATA_COLUMN_KEY_ATTR as Qr, OS_VIEWPORT_SELECTOR as Kr, SCROLL_TO_CELL_COLUMN_WIDTH_FALLBACK as en, SCROLL_TO_CELL_LEFT_OFFSET as tn, DEFAULT_PAGE_SIZE as ln, DEFAULT_COLUMN_MAX_WIDTH as rn, DEFAULT_COLUMN_WIDTH as nn, DEFAULT_COLUMN_MIN_WIDTH as sn, DND_ACTIVATION_DISTANCE as Pt, ROW_ADDITIONAL_ACTIONS_DEFAULT_WIDTH as on, ROW_OPTIONS_COLUMN_WIDTH as an, TOOLBAR_FIRST_BREAKPOINT as Z, TOOLBAR_SECOND_BREAKPOINT as ze, DROP_ANIMATION_DURATION as cn, DROP_ANIMATION_EASING as dn } from "./constants.es.js";
22
+ import { getRowSlotHeight as un, useRowHeight as hn } from "./useRowHeight.es.js";
23
+ import { NoDataFoundWidgets as mn } from "../empty-state/NoDataFoundWidgets.es.js";
24
+ import { NoDataFound as pn } from "../empty-state/NoDataFound.es.js";
25
+ import { Add2Icon as fn } from "../../icon/icons.generated.es.js";
26
+ const vn = Wr, Wt = "Create Column", wn = (g, D) => `button-admin-${g.toLowerCase().trim().replace(/\s+/g, "-").replace(/[^a-z0-9-_]/g, "") || D}`, zn = Pr.memo(
26
27
  ({
27
28
  tableKey: g,
28
29
  searchConfig: D = {
@@ -38,12 +39,12 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
38
39
  onResetFilter: () => Promise.resolve({}),
39
40
  asyncRowOptionsFilter: () => Promise.resolve({})
40
41
  },
41
- sortConfig: h = {
42
+ sortConfig: m = {
42
43
  onSort: () => null,
43
44
  columnSort: { field: "", order: "" },
44
45
  onRemoveSort: () => null
45
46
  },
46
- headerConfig: a = {
47
+ headerConfig: c = {
47
48
  showExportButton: null,
48
49
  showFilters: !0,
49
50
  showSorts: !0,
@@ -56,122 +57,123 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
56
57
  isLoading: !1,
57
58
  showDivider: !1
58
59
  },
59
- hoverConfig: Bt = null,
60
+ hoverConfig: Ht = null,
60
61
  columns: A,
61
62
  modelName: Q,
62
63
  enableMasterDataEnumSuggestions: K = !1,
63
64
  agreementId: ee,
64
65
  enumSuggestionsExtraParams: te,
65
66
  enumSuggestionsData: le,
66
- data: m = [],
67
- onRowClick: Pt,
67
+ data: p = [],
68
+ onRowClick: $t,
68
69
  showHeader: xe,
69
- showSubHeader: Wt = !0,
70
- tableActions: Ue,
71
- rowOptions: U,
72
- hideRowOptionWidth: qe,
70
+ showSubHeader: zt = !0,
71
+ tableActions: Ce,
72
+ rowOptions: C,
73
+ hideRowOptionWidth: Ue,
73
74
  checkboxUtilities: V,
74
75
  isLoading: re = !1,
75
- onScroll: Ht,
76
- onScrolling: $t,
76
+ onScroll: Ct,
77
+ onScrolling: Ut,
77
78
  isColumnConfigurable: ne,
78
79
  onAddColumnClick: se,
79
- emptyMessage: Je,
80
- noDataWidget: Ce,
80
+ emptyMessage: qe,
81
+ noDataWidget: Je,
81
82
  buttons: Ge,
82
83
  onEditColumnClick: Xe,
83
84
  onDeleteColumnClick: Ye,
84
- onRowTooltipClick: zt,
85
- tooltiptext: Ut,
86
- cascadingTableConfig: qt,
87
- originalsOnly: Jt,
88
- disableOptionsForRowIndex: Ct,
85
+ onRowTooltipClick: qt,
86
+ tooltiptext: Jt,
87
+ cascadingTableConfig: Gt,
88
+ originalsOnly: Xt,
89
+ disableOptionsForRowIndex: Yt,
89
90
  tableHeightClass: oe = "h-[calc(100vh-220px)]",
90
- getFullRowDataOnClick: Gt,
91
- selectedRowId: Xt = null,
91
+ getFullRowDataOnClick: Zt,
92
+ selectedRowId: Qt = null,
92
93
  onRowEdit: k,
93
94
  onBulkRowEdit: j,
94
- inlineEditColumns: Yt,
95
- isResizable: Zt = !0,
96
- paginationConfig: ie,
97
- dndSortableUtils: ae,
95
+ inlineEditColumns: Kt,
96
+ isResizable: el = !0,
97
+ paginationConfig: ae,
98
+ dndSortableUtils: ie,
98
99
  multipleContexts: Ze,
99
100
  withSortable: ye,
100
- withDraggable: Qt,
101
- enableRootDrag: Kt,
102
- pageSize: el = Yr,
103
- onCascadingRowExpand: tl,
101
+ withDraggable: tl,
102
+ enableRootDrag: ll,
103
+ pageSize: rl = ln,
104
+ onCascadingRowExpand: nl,
104
105
  totalItems: Qe,
105
106
  showRecordCount: Te = !1,
106
- getInnerRowData: ll,
107
- maxLevel: rl,
108
- expandedRows: nl = {},
109
- setExpandedRows: sl,
110
- showNewItem: ol,
107
+ getInnerRowData: sl,
108
+ maxLevel: ol,
109
+ expandedRows: al = {},
110
+ setExpandedRows: il,
111
+ showNewItem: cl,
111
112
  rawData: Ke,
112
- dragConfig: il,
113
- isOverlayLoading: al,
114
- style: cl = {},
113
+ dragConfig: dl,
114
+ isOverlayLoading: ul,
115
+ style: hl = {},
115
116
  floatingBarConfig: De,
116
- rowWrapper: dl,
117
- rowLinkConfig: ul,
118
- isCellClickDisabled: hl,
117
+ rowWrapper: ml,
118
+ rowLinkConfig: pl,
119
+ isCellClickDisabled: fl,
119
120
  setHeaderOnParent: Ne,
120
- optimizeTable: ml = !1,
121
- multiSelectConfig: pl,
122
- headerContextOptions: fl,
123
- showHeaderContextOptions: vl,
124
- setShowHeaderContextOptions: wl,
125
- showDataTypeIcon: Fl = !1,
121
+ optimizeTable: vl = !1,
122
+ multiSelectConfig: wl,
123
+ cellContextMenuConfig: et,
124
+ headerContextOptions: Fl,
125
+ showHeaderContextOptions: Sl,
126
+ setShowHeaderContextOptions: bl,
127
+ showDataTypeIcon: xl = !1,
126
128
  rowAdditionalActions: ce,
127
129
  rowAdditionalActionsWidth: Oe,
128
130
  setVisibleHeaders: Ae,
129
- cellEditing: Sl = null,
130
- cellEditingValue: bl = null,
131
- allowInlineEdit: xl = !1,
132
- onFieldOperationFlow: yl,
131
+ cellEditing: yl = null,
132
+ cellEditingValue: Tl = null,
133
+ allowInlineEdit: Dl = !1,
134
+ onFieldOperationFlow: Nl,
133
135
  fieldOperationLoading: B = null,
134
136
  onTableActionsReady: Ee,
135
- onPendingEditsChange: et,
137
+ onPendingEditsChange: tt,
136
138
  onCancelPendingEdits: P
137
139
  }) => {
138
- const i = Nr(), Tl = nn(sn()), Dl = !!D?.search, tt = n?.columnFilters?.length > 0, q = Dl || tt, Nl = !!V, N = i?.getTableView?.(g) ?? null, [x, J] = p(N || null), M = !Or(
140
+ const a = _r(), Ol = un(hn()), Al = !!D?.search, lt = n?.columnFilters?.length > 0, U = Al || lt, El = !!V, N = a?.getTableView?.(g) ?? null, [x, q] = h(N || null), M = !kr(
139
141
  x,
140
- i?.getUserId?.()
141
- ), [Re, _e] = p(!1), [ke, lt] = p(!1), [Ol, rt] = p(null), [w, Me] = p(A), nt = (m.length === 0 || !w.length) && !re, [st, de] = p(
142
+ a?.getUserId?.()
143
+ ), [Re, _e] = h(!1), [ke, rt] = h(!1), [Rl, nt] = h(null), [w, Me] = h(A), st = (p.length === 0 || !w.length) && !re, [ot, de] = h(
142
144
  null
143
- ), [Al, El] = p(!1), [Rl, _l] = p(null), [kl, Ml] = p(!1), [Il, ue] = p(
145
+ ), [_l, kl] = h(!1), [Ml, Il] = h(null), [Ll, gl] = h(!1), [Vl, ue] = h(
144
146
  null
145
- ), [Ll, he] = p(null), [gl, ot] = p({}), [C, Ie] = p(
147
+ ), [jl, he] = h(null), [Bl, at] = h({}), [J, Ie] = h(
146
148
  null
147
- ), [Vl, it] = p(!1), [E, jl] = p(0), Le = O(null), ge = O(null), [at, Bl] = p({
149
+ ), [Pl, it] = h(!1), [E, Wl] = h(0), Le = O(null), ge = O(null), [ct, Hl] = h({
148
150
  width: 0,
149
151
  height: 0
150
- }), [Pl, W] = p(null), [R, ct] = p(null), [Wl, dt] = p(null), [ut, ht] = p(null), [Ve, G] = p({}), je = O(!1), me = O(!1), Be = O(x);
152
+ }), [$l, W] = h(null), [R, dt] = h(null), [zl, ut] = h(null), [ht, mt] = h(null), [Cl, pt] = h(null), [Ve, G] = h({}), je = O(!1), me = O(!1), Be = O(x);
151
153
  Be.current = x;
152
- const mt = O(i);
153
- mt.current = i;
154
- const pt = O(A);
155
- pt.current = A;
154
+ const ft = O(a);
155
+ ft.current = a;
156
+ const vt = O(A);
157
+ vt.current = A;
156
158
  const pe = O(n);
157
159
  pe.current = n;
158
- const ft = O(null), vt = O(
160
+ const wt = O(null), Ft = O(
159
161
  () => ({})
160
- ), wt = O(() => ({})), [u, _] = p({}), Pe = d(
162
+ ), St = O(() => ({})), [u, _] = h({}), Pe = i(
161
163
  (e, t, l) => {
162
164
  _((r) => {
163
165
  const o = r[e]?.[t];
164
- let c = l.validationError;
165
- if (c === void 0) {
166
+ let d = l.validationError;
167
+ if (d === void 0) {
166
168
  const F = w.find((f) => f.key === t);
167
169
  if (F) {
168
- const f = gt(
170
+ const f = Bt(
169
171
  l.value,
170
172
  F
171
173
  );
172
- c = f.isValid ? null : f.error || "Invalid";
174
+ d = f.isValid ? null : f.error || "Invalid";
173
175
  } else
174
- c = o?.validationError ?? null;
176
+ d = o?.validationError ?? null;
175
177
  }
176
178
  return {
177
179
  ...r,
@@ -179,52 +181,52 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
179
181
  ...r[e] || {},
180
182
  [t]: {
181
183
  ...l,
182
- validationError: c ?? null
184
+ validationError: d ?? null
183
185
  }
184
186
  }
185
187
  };
186
188
  });
187
189
  },
188
190
  [w]
189
- ), Ft = d(() => Object.values(u).some(
191
+ ), bt = i(() => Object.values(u).some(
190
192
  (e) => Object.keys(e).length > 0
191
193
  ), [u]);
192
194
  T(() => {
193
195
  Ee && Ee({
194
196
  addPendingEdit: Pe,
195
- hasPendingEdits: Ft
197
+ hasPendingEdits: bt
196
198
  });
197
- }, [Ee, Pe, Ft]);
198
- const Hl = d(
199
+ }, [Ee, Pe, bt]);
200
+ const Ul = i(
199
201
  (e, t) => {
200
202
  _((l) => {
201
203
  const r = { ...l };
202
204
  if (r[e]) {
203
- const { [t]: o, ...c } = r[e];
204
- Object.keys(c).length === 0 ? delete r[e] : r[e] = c;
205
+ const { [t]: o, ...d } = r[e];
206
+ Object.keys(d).length === 0 ? delete r[e] : r[e] = d;
205
207
  }
206
208
  return r;
207
209
  });
208
210
  },
209
211
  []
210
- ), $l = d(
212
+ ), ql = i(
211
213
  (e, t) => u[e]?.[t],
212
214
  [u]
213
- ), zl = d(
215
+ ), Jl = i(
214
216
  (e, t) => !!u[e]?.[t],
215
217
  [u]
216
- ), St = d(() => {
218
+ ), xt = i(() => {
217
219
  B || (P && Object.keys(u).length > 0 && P(u), _({}), G({}), W(null));
218
- }, [B, P, u]), H = d(
220
+ }, [B, P, u]), H = i(
219
221
  (e, t, l) => {
220
222
  setTimeout(() => {
221
- i?.dispatchEvent?.("SCROLL_TO_TABLE_ROW", { rowIndex: l });
223
+ a?.dispatchEvent?.("SCROLL_TO_TABLE_ROW", { rowIndex: l });
222
224
  const r = w.findIndex(
223
225
  (o) => o.key === t
224
226
  );
225
227
  setTimeout(() => {
226
228
  const o = document.querySelector(
227
- `[${qr}="${e}"] [${Jr}="${t}"]`
229
+ `[${Zr}="${e}"] [${Qr}="${t}"]`
228
230
  );
229
231
  if (o)
230
232
  o.scrollIntoView({
@@ -233,17 +235,17 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
233
235
  inline: "center"
234
236
  });
235
237
  else if (r > 0) {
236
- const c = document.querySelector(Cr);
237
- if (c) {
238
+ const d = document.querySelector(Kr);
239
+ if (d) {
238
240
  let F = 0;
239
241
  for (let f = 0; f < r; f++) {
240
242
  const y = w[f];
241
- y?.sticky || (F += y?.width || Gr);
243
+ y?.sticky || (F += y?.width || en);
242
244
  }
243
245
  F = Math.max(
244
246
  0,
245
- F - Xr
246
- ), c.scrollTo({
247
+ F - tn
248
+ ), d.scrollTo({
247
249
  left: F,
248
250
  behavior: "smooth"
249
251
  });
@@ -253,21 +255,21 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
253
255
  }, 350);
254
256
  }, 100);
255
257
  },
256
- [w, i]
257
- ), X = d(
258
+ [w, a]
259
+ ), X = i(
258
260
  (e) => {
259
261
  let t = !1, l = null;
260
262
  const r = {}, o = /* @__PURE__ */ new Set();
261
- return Object.entries(e).forEach(([c, F]) => {
262
- r[c] = {}, Object.entries(F).forEach(([f, y]) => {
263
- const L = w.find((S) => S.key === f), v = gt(
263
+ return Object.entries(e).forEach(([d, F]) => {
264
+ r[d] = {}, Object.entries(F).forEach(([f, y]) => {
265
+ const L = w.find((S) => S.key === f), v = Bt(
264
266
  y.value,
265
267
  L
266
268
  );
267
- v.isValid ? r[c][f] = {
269
+ v.isValid ? r[d][f] = {
268
270
  ...y,
269
271
  validationError: null
270
- } : (t = !0, v.error && o.add(v.error), l || (l = { rowId: c, columnKey: f }), r[c][f] = {
272
+ } : (t = !0, v.error && o.add(v.error), l || (l = { rowId: d, columnKey: f }), r[d][f] = {
271
273
  ...y,
272
274
  validationError: v.error
273
275
  });
@@ -275,27 +277,27 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
275
277
  }), { hasErrors: t, updatedEdits: r, firstError: l, errorTypes: o };
276
278
  },
277
279
  [w]
278
- ), fe = d((e) => {
280
+ ), fe = i((e) => {
279
281
  const t = e.has("Field required"), l = e.size > (t ? 1 : 0);
280
282
  return t && l ? "Missing required field(s) and invalid format detected. Please review highlighted field(s)." : t ? "Missing required field(s). Please review highlighted field(s)." : "Invalid field value(s). Please review highlighted field(s).";
281
- }, []), bt = d(() => {
283
+ }, []), yt = i(() => {
282
284
  const { hasErrors: e, updatedEdits: t, firstError: l, errorTypes: r } = X(u);
283
285
  if (e) {
284
- if (_(t), i?.showNotification?.(
286
+ if (_(t), a?.showNotification?.(
285
287
  "error",
286
288
  fe(r)
287
289
  ), l) {
288
- const c = m.findIndex(
290
+ const d = p.findIndex(
289
291
  (F) => F.id === l.rowId
290
292
  );
291
- H(l.rowId, l.columnKey, c);
293
+ H(l.rowId, l.columnKey, d);
292
294
  }
293
295
  return;
294
296
  }
295
297
  const o = [];
296
- Object.entries(u).forEach(([c, F]) => {
297
- const f = m.find(
298
- (y) => y.id === c
298
+ Object.entries(u).forEach(([d, F]) => {
299
+ const f = p.find(
300
+ (y) => y.id === d
299
301
  );
300
302
  if (f) {
301
303
  const y = { ...f }, L = {};
@@ -309,14 +311,14 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
309
311
  })), _({}), G({}), W(null);
310
312
  }, [
311
313
  u,
312
- m,
314
+ p,
313
315
  k,
314
316
  j,
315
317
  X,
316
318
  fe,
317
319
  H,
318
- i
319
- ]), Ul = d(
320
+ a
321
+ ]), Gl = i(
320
322
  (e) => {
321
323
  if (B) return;
322
324
  const t = u[e];
@@ -331,27 +333,27 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
331
333
  }), W(null);
332
334
  },
333
335
  [B, P, u]
334
- ), ql = d(
336
+ ), Xl = i(
335
337
  (e) => {
336
338
  const t = u[e];
337
339
  if (!t || Object.keys(t).length === 0) return;
338
- const { hasErrors: l, updatedEdits: r, firstError: o, errorTypes: c } = X({ [e]: t });
340
+ const { hasErrors: l, updatedEdits: r, firstError: o, errorTypes: d } = X({ [e]: t });
339
341
  if (l) {
340
342
  if (_((v) => ({
341
343
  ...v,
342
344
  [e]: r[e]
343
- })), i?.showNotification?.(
345
+ })), a?.showNotification?.(
344
346
  "error",
345
- fe(c)
347
+ fe(d)
346
348
  ), o) {
347
- const v = m.findIndex(
349
+ const v = p.findIndex(
348
350
  (S) => S.id === o.rowId
349
351
  );
350
352
  H(o.rowId, o.columnKey, v);
351
353
  }
352
354
  return;
353
355
  }
354
- const F = m.find(
356
+ const F = p.find(
355
357
  (v) => v.id === e
356
358
  );
357
359
  if (!F) return;
@@ -368,52 +370,52 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
368
370
  return delete S[e], S;
369
371
  }), G((v) => {
370
372
  const S = { ...v };
371
- return Object.keys(S).forEach((_t) => {
372
- _t.startsWith(`${e}-`) && delete S[_t];
373
+ return Object.keys(S).forEach((It) => {
374
+ It.startsWith(`${e}-`) && delete S[It];
373
375
  }), S;
374
376
  }), W(null);
375
377
  },
376
378
  [
377
379
  u,
378
- m,
380
+ p,
379
381
  k,
380
382
  j,
381
383
  X,
382
384
  fe,
383
385
  H,
384
- i
386
+ a
385
387
  ]
386
388
  ), $ = z(() => Object.values(u).reduce(
387
389
  (e, t) => e + Object.keys(t).length,
388
390
  0
389
391
  ), [u]);
390
392
  T(() => {
391
- et?.($ > 0, $);
392
- }, [$, et]);
393
- const Jl = z(() => {
393
+ tt?.($ > 0, $);
394
+ }, [$, tt]);
395
+ const Yl = z(() => {
394
396
  const e = [];
395
397
  return Object.entries(u).forEach(([t, l]) => {
396
- const r = m.findIndex(
398
+ const r = p.findIndex(
397
399
  (o) => o.id === t
398
400
  );
399
- Object.entries(l).forEach(([o, c]) => {
401
+ Object.entries(l).forEach(([o, d]) => {
400
402
  const F = w.find((f) => f.key === o);
401
403
  e.push({
402
404
  rowId: t,
403
405
  columnKey: o,
404
406
  fieldName: F?.Header || F?.display_name || o,
405
- value: c.value,
406
- originalValue: c.originalValue,
407
- meta: c.meta,
408
- originalMeta: c.originalMeta,
407
+ value: d.value,
408
+ originalValue: d.originalValue,
409
+ meta: d.meta,
410
+ originalMeta: d.originalMeta,
409
411
  rowIndex: r
410
412
  });
411
413
  });
412
414
  }), e;
413
- }, [u, w, m]), Cl = z(() => {
415
+ }, [u, w, p]), Zl = z(() => {
414
416
  const e = /* @__PURE__ */ new Map();
415
417
  return Object.entries(u).forEach(([t, l]) => {
416
- const r = m.findIndex(
418
+ const r = p.findIndex(
417
419
  (o) => o.id === t
418
420
  );
419
421
  e.set(t, {
@@ -424,101 +426,104 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
424
426
  }), Array.from(e.values()).sort(
425
427
  (t, l) => t.rowIndex - l.rowIndex
426
428
  );
427
- }, [u, m]), Gl = d(
428
- (e) => ct(e),
429
+ }, [u, p]), Ql = i(
430
+ (e) => dt(e),
429
431
  []
430
- ), ve = d(
431
- () => ct(null),
432
+ ), ve = i(
433
+ () => dt(null),
432
434
  []
433
- ), Xl = d(
435
+ ), Kl = i(
434
436
  (e, t) => {
435
- dt({ value: e, reference: t }), R?.onSelected && R.onSelected(e, t), ve();
437
+ ut({ value: e, reference: t }), R?.onSelected && R.onSelected(e, t), ve();
436
438
  },
437
439
  [R, ve]
438
- ), Yl = d(
439
- () => dt(null),
440
+ ), er = i(
441
+ () => ut(null),
442
+ []
443
+ ), tr = i(
444
+ (e) => mt(e),
440
445
  []
441
- ), Zl = d(
442
- (e) => ht(e),
446
+ ), Tt = i(
447
+ () => mt(null),
443
448
  []
444
- ), xt = d(
445
- () => ht(null),
449
+ ), lr = i(
450
+ (e) => pt(e),
446
451
  []
447
- ), Ql = d(
452
+ ), Dt = i(() => pt(null), []), rr = i(
448
453
  (e, t) => {
449
454
  G((l) => ({ ...l, [e]: t }));
450
455
  },
451
456
  []
452
- ), Kl = d(
457
+ ), nr = i(
453
458
  (e) => Ve[e],
454
459
  [Ve]
455
- ), er = z(() => {
460
+ ), sr = z(() => {
456
461
  const e = oe.match(/h-\[(\d+px)\]/);
457
462
  if (e) return e[1];
458
463
  const t = oe.match(/h-\[(calc\(.+\))\]/);
459
464
  if (t)
460
465
  return t[1].replace(/([+-])/g, " $1 ").replace(/\s+/g, " ");
461
- }, [oe]), tr = {
462
- isEmpty: nt,
463
- isFilters: q,
466
+ }, [oe]), or = {
467
+ isEmpty: st,
468
+ isFilters: U,
464
469
  isColumnConfigurable: ne,
465
470
  handleOnClick: se,
466
- emptyMessage: Je,
471
+ emptyMessage: qe,
467
472
  buttons: Ge,
468
- noDataWidget: Ce
469
- }, lr = i?.t?.(jt) ?? jt, we = q ? "No Results Found" : Je || "No Data Found", rr = typeof we == "string" ? i?.t?.(we) ?? we : we, yt = { __isLoading: !0 }, nr = new Array(1).fill(yt), sr = new Array(el).fill(yt), Y = z(
473
+ noDataWidget: Je
474
+ }, ar = a?.t?.(Wt) ?? Wt, we = U ? "No Results Found" : qe || "No Data Found", ir = typeof we == "string" ? a?.t?.(we) ?? we : we, Nt = { __isLoading: !0 }, cr = new Array(1).fill(Nt), dr = new Array(rl).fill(Nt), Y = z(
470
475
  () => w.filter((e) => !!e?.visible),
471
476
  [w]
472
- ), or = jr(
477
+ ), ur = $r(
473
478
  {
474
- columns: ml ? Y : w,
479
+ columns: vl ? Y : w,
475
480
  data: [
476
- ...m,
477
- ...re ? m?.length ? nr : sr : []
481
+ ...p,
482
+ ...re ? p?.length ? cr : dr : []
478
483
  ],
479
484
  defaultColumn: {
480
- minWidth: Kr,
481
- width: Qr,
482
- maxWidth: Zr
485
+ minWidth: sn,
486
+ width: nn,
487
+ maxWidth: rn
483
488
  }
484
489
  },
485
- Br
486
- ), { getTableProps: Tt, getTableBodyProps: Dt, headerGroups: Fe, prepareRow: Nt, rows: I } = or;
487
- ft.current = Fe;
488
- const ir = JSON.stringify(
490
+ zr
491
+ ), { getTableProps: Ot, getTableBodyProps: At, headerGroups: Fe, prepareRow: Et, rows: I } = ur;
492
+ wt.current = Fe;
493
+ const hr = JSON.stringify(
489
494
  Fe[0]?.headers?.map(
490
495
  (e) => e?.Header
491
496
  )
492
497
  );
493
498
  T(() => {
494
499
  if (Ae) {
495
- const e = ft.current;
500
+ const e = wt.current;
496
501
  Ae?.(
497
502
  e?.[0]?.headers?.map((t) => t?.Header) ?? []
498
503
  );
499
504
  }
500
- }, [ir, Ae]);
501
- const { checkboxConfig: Ot } = Dr({
505
+ }, [hr, Ae]);
506
+ const { checkboxConfig: Rt } = Rr({
502
507
  rows: I,
503
508
  checkedIds: V?.checkedIds,
504
509
  isCheckAllDisabled: V?.isCheckAllDisabled,
505
510
  selectionDisabledRowIds: V?.selectionDisabledRowIds,
506
511
  rawData: Ke,
507
- onAllChecked: Ml,
512
+ onAllChecked: gl,
508
513
  setCheckedIds: V?.setCheckedIds,
509
514
  checkboxMetadata: V?.checkboxMetadata
510
- }), ar = Er(
511
- It(Rr, {
512
- activationConstraint: { distance: Vt }
515
+ }), mr = Ir(
516
+ Vt(Lr, {
517
+ activationConstraint: { distance: Pt }
513
518
  }),
514
- It(_r, {
515
- activationConstraint: { distance: Vt }
519
+ Vt(gr, {
520
+ activationConstraint: { distance: Pt }
516
521
  })
517
- ), cr = {
518
- easing: rn,
519
- duration: ln
522
+ ), pr = {
523
+ easing: dn,
524
+ duration: cn
520
525
  };
521
- function dr() {
526
+ function fr() {
522
527
  return !Ze?.length || !ye ? I : Ze.reduce(
523
528
  (e, t) => (e[t] = I.filter(
524
529
  (l) => l.original?.type === t
@@ -526,22 +531,22 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
526
531
  {}
527
532
  );
528
533
  }
529
- wt.current = dr;
530
- const ur = (e) => {
534
+ St.current = fr;
535
+ const vr = (e) => {
531
536
  const { active: t } = e;
532
537
  Ie(
533
538
  I.find(
534
539
  (l) => l.original?.id === t?.id
535
540
  ) ?? null
536
541
  );
537
- }, hr = (e) => {
542
+ }, wr = (e) => {
538
543
  const { active: t, over: l } = e;
539
- l && (ae?.checkDndDragEnd && ae.checkDndDragEnd(
544
+ l && (ie?.checkDndDragEnd && ie.checkDndDragEnd(
540
545
  t,
541
546
  l,
542
- gl,
547
+ Bl,
543
548
  (r) => {
544
- ot(r), it(!0), ae.onDragSuccess?.({
549
+ at(r), it(!0), ie.onDragSuccess?.({
545
550
  draggedId: t.id,
546
551
  droppedId: l.id,
547
552
  draggedType: t.data.current?.type,
@@ -551,38 +556,38 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
551
556
  });
552
557
  }
553
558
  ), Ie(null));
554
- }, mr = () => Ie(null), pr = (e) => {
555
- !h?.onSort && !n?.onFilter || de(st === e ? null : e);
556
- }, fr = (e) => {
557
- _l(e), El(!Al), de(null);
558
- }, We = d(() => {
559
- h?.onRemoveSort ? h.onRemoveSort() : h?.onSort && h.onSort("", "");
560
- }, [h]), Se = d((e = null) => {
561
- rt(e), _e((t) => e ? !0 : !t);
562
- }, []), He = d(
563
- () => lt((e) => !e),
559
+ }, Fr = () => Ie(null), Sr = (e) => {
560
+ !m?.onSort && !n?.onFilter || de(ot === e ? null : e);
561
+ }, br = (e) => {
562
+ Il(e), kl(!_l), de(null);
563
+ }, We = i(() => {
564
+ m?.onRemoveSort ? m.onRemoveSort() : m?.onSort && m.onSort("", "");
565
+ }, [m]), Se = i((e = null) => {
566
+ nt(e), _e((t) => e ? !0 : !t);
567
+ }, []), He = i(
568
+ () => rt((e) => !e),
564
569
  []
565
- ), vr = () => {
570
+ ), xr = () => {
566
571
  const e = Fe[0]?.headers?.filter((t) => t?.visible !== !1);
567
572
  for (let t = 0; t < e.length; t++)
568
573
  if (e[t].sticky) return t - 1;
569
574
  return e.length - 1;
570
- }, wr = d(
575
+ }, yr = i(
571
576
  (e) => {
572
577
  let t = 0;
573
578
  for (let l = e + 1; l < Y.length; l++)
574
579
  Y[l].visible !== !1 && (t += Y[l].width ?? 0);
575
- return ce && (t += Oe || en), U && (t += qe ? 0 : tn), t;
580
+ return ce && (t += Oe || on), C && (t += Ue ? 0 : an), t;
576
581
  },
577
582
  [
578
583
  Y,
579
584
  Oe,
580
- qe,
585
+ Ue,
581
586
  ce,
582
- U
587
+ C
583
588
  ]
584
- ), At = () => {
585
- const e = i?.getUserId?.();
589
+ ), _t = () => {
590
+ const e = a?.getUserId?.();
586
591
  return {
587
592
  ...x || {},
588
593
  name: x?.name || "Untitled View",
@@ -602,16 +607,15 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
602
607
  }))
603
608
  };
604
609
  };
605
- vt.current = At;
606
- const Fr = (e, t) => {
607
- if (M) return;
608
- const l = At();
609
- J({
610
+ Ft.current = _t;
611
+ const Tr = (e, t) => {
612
+ const l = _t();
613
+ q({
610
614
  ...l,
611
615
  columns: l?.columns?.map(
612
616
  (r) => r.name === e ? { ...r, width: t } : r
613
617
  ),
614
- unsaved: !0
618
+ unsaved: M ? l?.unsaved : !0
615
619
  });
616
620
  };
617
621
  T(() => {
@@ -620,8 +624,8 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
620
624
  if (JSON.stringify(e?.filters || []) !== JSON.stringify(n?.columnFilters || [])) {
621
625
  const t = (e?.filters?.length ?? 0) > 0, l = n?.columnFilters?.length > 0;
622
626
  if (!(t && !l && !me.current)) {
623
- const o = vt.current();
624
- J({
627
+ const o = Ft.current();
628
+ q({
625
629
  ...o,
626
630
  filters: JSON.parse(
627
631
  JSON.stringify(n?.columnFilters || [])
@@ -632,34 +636,34 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
632
636
  me.current = !1;
633
637
  }
634
638
  }, [n?.columnFilters, M]);
635
- const Sr = d(
639
+ const Dr = i(
636
640
  (e) => {
637
641
  me.current = !0, n?.onRemoveFilter?.(e);
638
642
  },
639
643
  [n?.onRemoveFilter]
640
- ), br = d(() => {
644
+ ), Nr = i(() => {
641
645
  me.current = !0, n?.onClearFilter?.();
642
646
  }, [n?.onClearFilter]);
643
647
  T(() => {
644
- h?.columnSort?.field ? (lt(!0), h.columnSort.order === "asc" ? (ue(h.columnSort.field), he(null)) : h.columnSort.order === "desc" && (he(h.columnSort.field), ue(null))) : (ue(null), he(null));
645
- }, [h?.columnSort?.field, h?.columnSort?.order]), T(() => {
648
+ m?.columnSort?.field ? (rt(!0), m.columnSort.order === "asc" ? (ue(m.columnSort.field), he(null)) : m.columnSort.order === "desc" && (he(m.columnSort.field), ue(null))) : (ue(null), he(null));
649
+ }, [m?.columnSort?.field, m?.columnSort?.order]), T(() => {
646
650
  Me(
647
- kt(
651
+ Lt(
648
652
  Be.current?.columns || [],
649
653
  A
650
654
  )
651
655
  );
652
656
  }, [A]), T(() => {
653
- x?.unsaved && mt.current?.persistTableView?.(x);
657
+ x?.unsaved && ft.current?.persistTableView?.(x);
654
658
  }, [x]), T(() => {
655
- ot(
656
- wt.current()
659
+ at(
660
+ St.current()
657
661
  );
658
662
  }, [I.length]), T(() => {
659
- J(N || null), N?.columns && Me(
660
- kt(
663
+ q(N || null), N?.columns && Me(
664
+ Lt(
661
665
  N?.columns || [],
662
- pt.current
666
+ vt.current
663
667
  )
664
668
  ), N?.filters && N.filters.length > 0 && !je.current ? (requestAnimationFrame(() => {
665
669
  pe.current?.onFilter?.(N.filters);
@@ -667,7 +671,7 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
667
671
  }, [N]), T(() => {
668
672
  if (Le.current) {
669
673
  const e = new ResizeObserver(
670
- (t) => jl(t[0].contentRect.width)
674
+ (t) => Wl(t[0].contentRect.width)
671
675
  );
672
676
  return e.observe(Le.current), () => e.disconnect();
673
677
  }
@@ -675,89 +679,89 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
675
679
  if (!ge.current) return;
676
680
  const e = new ResizeObserver((t) => {
677
681
  const { width: l, height: r } = t[0].contentRect;
678
- Bl({ width: l, height: r });
682
+ Hl({ width: l, height: r });
679
683
  });
680
684
  return e.observe(ge.current), () => e.disconnect();
681
685
  }, []);
682
- const Et = /* @__PURE__ */ s(
683
- zr,
686
+ const kt = /* @__PURE__ */ s(
687
+ Xr,
684
688
  {
685
- isResizable: Zt,
689
+ isResizable: el,
686
690
  headerGroups: Fe,
687
- isCheckbox: Nl,
688
- checkboxConfig: Ot,
689
- isAllChecked: kl,
690
- showHeaderOptions: st ?? "",
691
+ isCheckbox: El,
692
+ checkboxConfig: Rt,
693
+ isAllChecked: Ll,
694
+ showHeaderOptions: ot ?? "",
691
695
  setShowHeaderOptions: de,
692
- isShowSortArrowAsc: Il,
693
- isShowSortArrowDesc: Ll,
694
- onSort: h?.onSort,
696
+ isShowSortArrowAsc: Vl,
697
+ isShowSortArrowDesc: jl,
698
+ onSort: m?.onSort,
695
699
  onFilter: n?.onFilter,
696
- toggleHeaderOption: pr,
700
+ toggleHeaderOption: Sr,
697
701
  setIsShowSortArrowAsc: ue,
698
702
  setIsShowSortArrowDesc: he,
699
703
  toggleDataFilterModal: Se,
700
- rowOptions: Array.isArray(U) ? U : [],
704
+ rowOptions: Array.isArray(C) ? C : [],
701
705
  isColumnConfigurable: ne ?? !1,
702
706
  onAddColumnClick: se,
703
707
  onEditColumnClick: Xe,
704
708
  onDeleteColumnClick: Ye,
705
- tableActions: Ue || null,
709
+ tableActions: Ce || null,
706
710
  isLoading: re,
707
711
  rowAdditionalActions: ce ?? null,
708
712
  showPendingEditsColumn: $ > 0
709
713
  }
710
- ), Rt = /* @__PURE__ */ b(Tr, { children: [
711
- Vl || 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,
714
+ ), Mt = /* @__PURE__ */ b(Er, { children: [
715
+ Pl || ul ? /* @__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,
712
716
  /* @__PURE__ */ s(
713
717
  "div",
714
718
  {
715
- ...Tt(),
719
+ ...Ot(),
716
720
  className: "w-full text-sm text-left text-neutral-500 dark:text-neutral-200 h-full bg-white dark:bg-black-800",
717
- children: nt ? /* @__PURE__ */ b("div", { className: "z-10", children: [
718
- Et,
719
- /* @__PURE__ */ s("div", { className: "absolute w-full", children: i?.renderEmpty ? i.renderEmpty(tr) : /* @__PURE__ */ b("div", { className: "flex flex-col items-center justify-center w-full h-[12rem] text-neutral-900 dark:text-neutral-200 mt-8", children: [
720
- Ce && !q ? /* @__PURE__ */ s(on, { widgetType: "TABLE" }) : /* @__PURE__ */ s(an, { text: rr }),
721
- ne && !q ? /* @__PURE__ */ s("div", { className: "my-4", children: /* @__PURE__ */ b(
722
- Mt,
721
+ children: st ? /* @__PURE__ */ b("div", { className: "z-10", children: [
722
+ kt,
723
+ /* @__PURE__ */ s("div", { className: "absolute w-full", children: a?.renderEmpty ? a.renderEmpty(or) : /* @__PURE__ */ b("div", { className: "flex flex-col items-center justify-center w-full h-[12rem] text-neutral-900 dark:text-neutral-200 mt-8", children: [
724
+ Je && !U ? /* @__PURE__ */ s(mn, { widgetType: "TABLE" }) : /* @__PURE__ */ s(pn, { text: ir }),
725
+ ne && !U ? /* @__PURE__ */ s("div", { className: "my-4", children: /* @__PURE__ */ b(
726
+ gt,
723
727
  {
724
728
  id: "btn-table-shell-create-column",
725
729
  status: "primary",
726
730
  appearance: "ghost",
727
731
  onClick: se,
728
732
  children: [
729
- /* @__PURE__ */ s(cn, { className: "text-white dark:text-white" }),
733
+ /* @__PURE__ */ s(fn, { className: "text-white dark:text-white" }),
730
734
  " ",
731
- lr
735
+ ar
732
736
  ]
733
737
  }
734
738
  ) }) : null,
735
- !q && Ge?.map((e, t) => /* @__PURE__ */ s(
736
- Mt,
739
+ !U && Ge?.map((e, t) => /* @__PURE__ */ s(
740
+ gt,
737
741
  {
738
742
  status: "secondary",
739
- id: un(e.label, t),
743
+ id: wn(e.label, t),
740
744
  onClick: e.onClick,
741
- children: i?.t?.(e.label) ?? e.label
745
+ children: a?.t?.(e.label) ?? e.label
742
746
  },
743
747
  `${e.label}-${t}`
744
748
  ))
745
749
  ] }) })
746
750
  ] }) : /* @__PURE__ */ s(
747
- dn,
751
+ vn,
748
752
  {
749
753
  style: { width: "100%", height: "100%" },
750
754
  renderProp: ({ width: e, height: t }) => {
751
- const l = e > 0 ? e : at.width, r = t > 0 ? t : at.height;
755
+ const l = e > 0 ? e : ct.width, r = t > 0 ? t : ct.height;
752
756
  return l > 0 && r > 0 ? /* @__PURE__ */ s(
753
- Pr,
757
+ Cr,
754
758
  {
755
- getTableBodyProps: Dt,
759
+ getTableBodyProps: At,
756
760
  rows: I,
757
- prepareRow: Nt,
761
+ prepareRow: Et,
758
762
  isLoading: re,
759
- onScroll: Ht,
760
- onScrolling: $t,
763
+ onScroll: Ct,
764
+ onScrolling: Ut,
761
765
  columns: A,
762
766
  width: l,
763
767
  height: r,
@@ -770,10 +774,10 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
770
774
  )
771
775
  }
772
776
  )
773
- ] }), xr = Lt((e, t) => /* @__PURE__ */ b("div", { className: "h-full w-full", ...e, ref: t, children: [
774
- Et,
777
+ ] }), Or = jt((e, t) => /* @__PURE__ */ b("div", { className: "h-full w-full", ...e, ref: t, children: [
778
+ kt,
775
779
  /* @__PURE__ */ s("div", { className: "relative w-full h-full", children: e?.children })
776
- ] })), yr = 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 }) })), $e = z(() => i?.renderTableHeader ? i.renderTableHeader({
780
+ ] })), Ar = jt((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 }) })), $e = z(() => a?.renderTableHeader ? a.renderTableHeader({
777
781
  tableKey: g,
778
782
  search: D?.search,
779
783
  handleSearch: D?.handleSearch,
@@ -782,32 +786,32 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
782
786
  filterCounts: n?.columnFilters?.length,
783
787
  columns: A,
784
788
  columnFilters: n?.columnFilters,
785
- setSelectedTableView: J,
789
+ setSelectedTableView: q,
786
790
  selectedTableView: x,
787
- enableTableView: a?.showTableView,
791
+ enableTableView: c?.showTableView,
788
792
  modelName: Q,
789
793
  enableMasterDataEnumSuggestions: K,
790
794
  onRemoveFilter: n?.onRemoveFilter,
791
795
  onClearFilter: n?.onClearFilter,
792
796
  onFilter: n?.onFilter,
793
- data: le ?? m,
797
+ data: le ?? p,
794
798
  tableHeaders: w,
795
- showTableViewAsModal: a?.showTableViewAsModal,
796
- additionalOptions: a?.additionalOptions,
797
- inlineActions: a?.inlineActions,
798
- showFilters: a?.showFilters,
799
- showSorts: a?.showSorts,
800
- showSearch: a?.showSearch,
801
- isLoading: !!a?.isLoading,
799
+ showTableViewAsModal: c?.showTableViewAsModal,
800
+ additionalOptions: c?.additionalOptions,
801
+ inlineActions: c?.inlineActions,
802
+ showFilters: c?.showFilters,
803
+ showSorts: c?.showSorts,
804
+ showSearch: c?.showSearch,
805
+ isLoading: !!c?.isLoading,
802
806
  setTableHeaders: Me,
803
807
  allowAStarSearch: !!D?.allowAStarSearch,
804
- withContent: !!a?.content,
808
+ withContent: !!c?.content,
805
809
  setShowFilters: _e,
806
- sort: h?.columnSort,
807
- onSort: h?.onSort,
810
+ sort: m?.columnSort,
811
+ onSort: m?.onSort,
808
812
  onRemoveSort: We,
809
- showExportButton: a?.showExportButton,
810
- onExportClick: a?.onExportClick,
813
+ showExportButton: c?.showExportButton,
814
+ onExportClick: c?.onExportClick,
811
815
  agreementId: ee,
812
816
  enumSuggestionsExtraParams: te
813
817
  }) : null, [
@@ -818,20 +822,20 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
818
822
  He,
819
823
  n?.columnFilters,
820
824
  A,
821
- J,
825
+ q,
822
826
  x,
823
- a,
827
+ c,
824
828
  Q,
825
829
  n?.onRemoveFilter,
826
830
  n?.onClearFilter,
827
831
  n?.onFilter,
828
- m,
832
+ p,
829
833
  le,
830
834
  w,
831
- h?.columnSort,
832
- h?.onSort,
835
+ m?.columnSort,
836
+ m?.onSort,
833
837
  We,
834
- i,
838
+ a,
835
839
  D?.allowAStarSearch,
836
840
  K,
837
841
  ee,
@@ -840,93 +844,96 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
840
844
  return T(() => {
841
845
  Ne && Ne($e);
842
846
  }, [$e, Ne]), /* @__PURE__ */ b(
843
- Hr.Provider,
847
+ qr.Provider,
844
848
  {
845
849
  value: {
846
- tableWrapper: xr,
847
- tableBodyWrapper: yr,
848
- lastNonStickyColumnIndex: vr,
850
+ tableWrapper: Or,
851
+ tableBodyWrapper: Ar,
852
+ lastNonStickyColumnIndex: xr,
849
853
  search: D?.search,
850
854
  columnFilters: n?.columnFilters,
851
- onRowClick: Pt,
852
- onSort: h?.onSort,
855
+ onRowClick: $t,
856
+ onSort: m?.onSort,
853
857
  onFilter: n?.onFilter,
854
858
  toggleShowFilters: Se,
855
859
  toggleShowSorts: He,
856
860
  onRemoveFilter: n?.onRemoveFilter,
857
861
  onClearFilter: n?.onClearFilter,
858
- rowOptions: U,
859
- checkboxConfig: Ot,
862
+ rowOptions: C,
863
+ checkboxConfig: Rt,
860
864
  onResetFilter: n?.onResetFilter,
861
865
  isColumnConfigurable: ne,
862
866
  onAddColumnClick: se,
863
867
  onEditColumnClick: Xe,
864
868
  onDeleteColumnClick: Ye,
865
- onRowTooltipClick: zt,
866
- tooltiptext: Ut,
867
- cascadingTableConfig: qt,
868
- activeInlineEdit: Pl,
869
+ onRowTooltipClick: qt,
870
+ tooltiptext: Jt,
871
+ cascadingTableConfig: Gt,
872
+ activeInlineEdit: $l,
869
873
  setActiveInlineEdit: W,
870
- originalsOnly: Jt,
871
- disableOptionsForRowIndex: Ct,
872
- getFullRowDataOnClick: Gt,
873
- selectedRowId: Xt,
874
- getSumOfNextVisibleColumnWidth: wr,
874
+ originalsOnly: Xt,
875
+ disableOptionsForRowIndex: Yt,
876
+ getFullRowDataOnClick: Zt,
877
+ selectedRowId: Qt,
878
+ getSumOfNextVisibleColumnWidth: yr,
875
879
  onRowEdit: k,
876
- inlineEditColumns: Yt,
877
- tableActions: Ue,
878
- dndSortableUtils: ae,
880
+ inlineEditColumns: Kt,
881
+ tableActions: Ce,
882
+ dndSortableUtils: ie,
879
883
  withSortable: ye,
880
- withDraggable: Qt,
881
- onCascadingRowExpand: tl,
882
- getInnerRowData: ll,
884
+ withDraggable: tl,
885
+ onCascadingRowExpand: nl,
886
+ getInnerRowData: sl,
883
887
  tableHeaders: w,
884
- maxLevel: rl,
885
- expandedRows: nl,
886
- setExpandedRows: sl,
887
- showNewItem: ol,
888
+ maxLevel: ol,
889
+ expandedRows: al,
890
+ setExpandedRows: il,
891
+ showNewItem: cl,
888
892
  rawData: Ke,
889
- dragConfig: il,
890
- rowWrapper: dl,
891
- rowLinkConfig: ul,
892
- isCellClickDisabled: hl,
893
+ dragConfig: dl,
894
+ rowWrapper: ml,
895
+ rowLinkConfig: pl,
896
+ isCellClickDisabled: fl,
893
897
  asyncRowOptionsFilter: n?.asyncRowOptionsFilter,
894
- handleUpdateColumnWidth: Fr,
898
+ handleUpdateColumnWidth: Tr,
895
899
  isTableViewReadOnly: M,
896
- multiSelectConfig: pl,
897
- headerContextOptions: fl,
898
- showHeaderContextOptions: vl,
899
- setShowHeaderContextOptions: wl,
900
+ multiSelectConfig: wl,
901
+ cellContextMenuConfig: et,
902
+ openCellContextMenu: lr,
903
+ closeCellContextMenu: Dt,
904
+ headerContextOptions: Fl,
905
+ showHeaderContextOptions: Sl,
906
+ setShowHeaderContextOptions: bl,
900
907
  headerDivWidth: E,
901
- showDataTypeIcon: Fl,
908
+ showDataTypeIcon: xl,
902
909
  rowAdditionalActions: ce,
903
- hoverConfig: Bt,
910
+ hoverConfig: Ht,
904
911
  rowAdditionalActionsWidth: Oe,
905
- cellEditing: Sl,
906
- cellEditingValue: bl,
907
- openMasterDataModal: Gl,
912
+ cellEditing: yl,
913
+ cellEditingValue: Tl,
914
+ openMasterDataModal: Ql,
908
915
  closeMasterDataModal: ve,
909
- selectedMasterData: Wl,
910
- clearSelectedMasterData: Yl,
911
- allowInlineEdit: xl,
912
- openCurrencyDropdown: Zl,
913
- closeCurrencyDropdown: xt,
914
- currencyDropdownConfig: ut,
916
+ selectedMasterData: zl,
917
+ clearSelectedMasterData: er,
918
+ allowInlineEdit: Dl,
919
+ openCurrencyDropdown: tr,
920
+ closeCurrencyDropdown: Tt,
921
+ currencyDropdownConfig: ht,
915
922
  selectedCurrenciesMap: Ve,
916
- setCurrencyForCell: Ql,
917
- getCurrencyForCell: Kl,
923
+ setCurrencyForCell: rr,
924
+ getCurrencyForCell: nr,
918
925
  pendingEdits: u,
919
926
  addPendingEdit: Pe,
920
- removePendingEdit: Hl,
921
- getPendingEdit: $l,
922
- hasPendingEdit: zl,
923
- clearAllPendingEdits: St,
924
- saveAllPendingEdits: bt,
925
- clearRowPendingEdits: Ul,
926
- saveRowPendingEdits: ql,
927
+ removePendingEdit: Ul,
928
+ getPendingEdit: ql,
929
+ hasPendingEdit: Jl,
930
+ clearAllPendingEdits: xt,
931
+ saveAllPendingEdits: yt,
932
+ clearRowPendingEdits: Gl,
933
+ saveRowPendingEdits: Xl,
927
934
  pendingEditsCount: $,
928
935
  scrollToCell: H,
929
- onFieldOperationFlow: yl,
936
+ onFieldOperationFlow: Nl,
930
937
  fieldOperationLoading: B,
931
938
  validateAllPendingEdits: X
932
939
  },
@@ -940,13 +947,13 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
940
947
  /* @__PURE__ */ b(
941
948
  "div",
942
949
  {
943
- className: `flex items-center gap-x-2 gap-y-1 ${E < Z ? "w-full flex-wrap" : ""} ${a?.content ? "min-w-0 flex-1" : "shrink-0"}`,
950
+ className: `flex items-center gap-x-2 gap-y-1 ${E < Z ? "w-full flex-wrap" : ""} ${c?.content ? "min-w-0 flex-1" : "shrink-0"}`,
944
951
  children: [
945
- a?.content ? /* @__PURE__ */ s(
952
+ c?.content ? /* @__PURE__ */ s(
946
953
  "div",
947
954
  {
948
955
  className: `min-w-0 ${E < Z ? "w-full" : "flex-1"}`,
949
- children: a.content
956
+ children: c.content
950
957
  }
951
958
  ) : null,
952
959
  Te ? /* @__PURE__ */ b("div", { className: "flex items-center gap-1.5 shrink-0", children: [
@@ -978,7 +985,7 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
978
985
  size: "small",
979
986
  variant: "semibold",
980
987
  appearance: "title",
981
- children: (Qe ?? m.length).toLocaleString()
988
+ children: (Qe ?? p.length).toLocaleString()
982
989
  }
983
990
  ),
984
991
  /* @__PURE__ */ s(
@@ -990,16 +997,16 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
990
997
  children: "total records"
991
998
  }
992
999
  )
993
- ] }) : a?.preContent ? /* @__PURE__ */ s("div", { className: "flex min-w-0 shrink-0 justify-start items-center", children: a.preContent }) : null
1000
+ ] }) : c?.preContent ? /* @__PURE__ */ s("div", { className: "flex min-w-0 shrink-0 justify-start items-center", children: c.preContent }) : null
994
1001
  ]
995
1002
  }
996
1003
  ),
997
1004
  /* @__PURE__ */ b(
998
1005
  "div",
999
1006
  {
1000
- className: `flex min-w-0 items-center justify-end ${E < Z ? "w-full" : a?.content ? "shrink-0" : "flex-1"} ${E < ze ? "flex-col" : "flex-row flex-wrap"} ${a?.postContent ? "gap-2" : ""}`,
1007
+ className: `flex min-w-0 items-center justify-end ${E < Z ? "w-full" : c?.content ? "shrink-0" : "flex-1"} ${E < ze ? "flex-col" : "flex-row flex-wrap"} ${c?.postContent ? "gap-2" : ""}`,
1001
1008
  children: [
1002
- Te && a?.preContent ? /* @__PURE__ */ s("div", { className: "flex w-full justify-start items-center", children: a.preContent }) : null,
1009
+ Te && c?.preContent ? /* @__PURE__ */ s("div", { className: "flex w-full justify-start items-center", children: c.preContent }) : null,
1003
1010
  /* @__PURE__ */ s(
1004
1011
  "div",
1005
1012
  {
@@ -1007,11 +1014,11 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
1007
1014
  children: $e
1008
1015
  }
1009
1016
  ),
1010
- a?.postContent ? /* @__PURE__ */ s(
1017
+ c?.postContent ? /* @__PURE__ */ s(
1011
1018
  "div",
1012
1019
  {
1013
1020
  className: `flex justify-end items-center ${E < ze ? "w-full" : ""}`,
1014
- children: a.postContent
1021
+ children: c.postContent
1015
1022
  }
1016
1023
  ) : null
1017
1024
  ]
@@ -1020,22 +1027,22 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
1020
1027
  ]
1021
1028
  }
1022
1029
  ) : null,
1023
- a?.showDivider ? /* @__PURE__ */ s("div", { className: "border-b pb-2 w-full dark:bg-black-800" }) : null,
1024
- Wt && (Re || ke) ? /* @__PURE__ */ s("div", { className: "flex justify-between items-center pb-4 dark:bg-black-800", children: /* @__PURE__ */ b("div", { className: "flex gap-2 items-center", children: [
1025
- ke && i?.renderSortItem ? i.renderSortItem({
1026
- sort: h?.columnSort,
1030
+ c?.showDivider ? /* @__PURE__ */ s("div", { className: "border-b pb-2 w-full dark:bg-black-800" }) : null,
1031
+ zt && (Re || ke) ? /* @__PURE__ */ s("div", { className: "flex justify-between items-center pb-4 dark:bg-black-800", children: /* @__PURE__ */ b("div", { className: "flex gap-2 items-center", children: [
1032
+ ke && a?.renderSortItem ? a.renderSortItem({
1033
+ sort: m?.columnSort,
1027
1034
  onRemoveSort: We,
1028
- onSort: h?.onSort,
1035
+ onSort: m?.onSort,
1029
1036
  tableHeaders: w,
1030
- data: m,
1037
+ data: p,
1031
1038
  disabled: M
1032
1039
  }) : null,
1033
- Re && ke && h?.columnSort?.field !== "" ? /* @__PURE__ */ s("div", { className: "h-8 w-[1px] flex-shrink-0 bg-neutral-200" }) : null,
1040
+ Re && ke && m?.columnSort?.field !== "" ? /* @__PURE__ */ s("div", { className: "h-8 w-[1px] flex-shrink-0 bg-neutral-200" }) : null,
1034
1041
  Re ? /* @__PURE__ */ b("div", { className: "flex gap-2 items-center", children: [
1035
- (tt || n?.onResetFilter) && i?.renderActiveFilters && i.renderActiveFilters({
1042
+ (lt || n?.onResetFilter) && a?.renderActiveFilters && a.renderActiveFilters({
1036
1043
  filters: n?.columnFilters,
1037
- onRemoveFilter: Sr,
1038
- onClearFilter: br,
1044
+ onRemoveFilter: Dr,
1045
+ onClearFilter: Nr,
1039
1046
  onResetFilter: n?.onResetFilter,
1040
1047
  onFilter: n?.onFilter,
1041
1048
  tableHeaders: w,
@@ -1045,23 +1052,23 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
1045
1052
  noSpacing: !0,
1046
1053
  notionStyle: n?.notionStyle,
1047
1054
  context: n?.context,
1048
- data: le ?? m,
1055
+ data: le ?? p,
1049
1056
  agreementId: ee,
1050
1057
  enumSuggestionsExtraParams: te,
1051
1058
  disabled: M
1052
1059
  }),
1053
- i?.renderFilterButtons && i.renderFilterButtons({
1060
+ a?.renderFilterButtons && a.renderFilterButtons({
1054
1061
  onClearFilter: n?.onClearFilter,
1055
- onClose: fr,
1062
+ onClose: br,
1056
1063
  modelName: Q,
1057
1064
  enableMasterDataEnumSuggestions: K,
1058
- defaultFilterColumn: Ol,
1059
- resetDefaultFilterColumn: () => rt(null),
1060
- column: Rl,
1065
+ defaultFilterColumn: Rl,
1066
+ resetDefaultFilterColumn: () => nt(null),
1067
+ column: Ml,
1061
1068
  onFilter: n?.onFilter,
1062
1069
  tableHeaders: w,
1063
1070
  columnFilters: n?.columnFilters,
1064
- data: le ?? m,
1071
+ data: le ?? p,
1065
1072
  notionStyle: n?.notionStyle,
1066
1073
  context: n?.context,
1067
1074
  agreementId: ee,
@@ -1070,7 +1077,7 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
1070
1077
  })
1071
1078
  ] }) : null
1072
1079
  ] }) }) : null,
1073
- De && Object.keys(De).length ? /* @__PURE__ */ s(Ar, { ...De }) : null,
1080
+ De && Object.keys(De).length ? /* @__PURE__ */ s(Mr, { ...De }) : null,
1074
1081
  !xe && Te ? /* @__PURE__ */ b("div", { className: "flex items-center gap-1.5 mb-2", children: [
1075
1082
  /* @__PURE__ */ b(
1076
1083
  "svg",
@@ -1094,57 +1101,57 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
1094
1101
  ]
1095
1102
  }
1096
1103
  ),
1097
- /* @__PURE__ */ s(be, { size: "small", variant: "semibold", appearance: "title", children: (Qe ?? m.length).toLocaleString() }),
1104
+ /* @__PURE__ */ s(be, { size: "small", variant: "semibold", appearance: "title", children: (Qe ?? p.length).toLocaleString() }),
1098
1105
  /* @__PURE__ */ s(be, { size: "small", variant: "regular", appearance: "subtitle", children: "total records" })
1099
- ] }) : !xe && a?.preContent ? /* @__PURE__ */ s("div", { className: "flex items-center mb-2", children: a.preContent }) : null,
1106
+ ] }) : !xe && c?.preContent ? /* @__PURE__ */ s("div", { className: "flex items-center mb-2", children: c.preContent }) : null,
1100
1107
  /* @__PURE__ */ s(
1101
1108
  "div",
1102
1109
  {
1103
1110
  ref: ge,
1104
- className: `w-full ${ie ? "h-auto" : oe} rounded-lg relative border overflow-x-hidden`,
1111
+ className: `w-full ${ae ? "h-auto" : oe} rounded-lg relative border overflow-x-hidden`,
1105
1112
  style: {
1106
- ...ie ? {
1107
- height: m?.length > 0 ? `${(m?.length + 1) * Tl + 4}px` : "350px"
1108
- } : { height: er },
1109
- ...cl
1113
+ ...ae ? {
1114
+ height: p?.length > 0 ? `${(p?.length + 1) * Ol + 4}px` : "350px"
1115
+ } : { height: sr },
1116
+ ...hl
1110
1117
  },
1111
- children: Kt ? Rt : /* @__PURE__ */ b(
1112
- kr,
1118
+ children: ll ? Mt : /* @__PURE__ */ b(
1119
+ Vr,
1113
1120
  {
1114
- sensors: ar,
1115
- onDragEnd: hr,
1116
- onDragStart: ur,
1117
- onDragCancel: mr,
1118
- collisionDetection: Mr,
1121
+ sensors: mr,
1122
+ onDragEnd: wr,
1123
+ onDragStart: vr,
1124
+ onDragCancel: Fr,
1125
+ collisionDetection: jr,
1119
1126
  children: [
1120
- Rt,
1121
- C ? Vr(
1127
+ Mt,
1128
+ J ? Hr(
1122
1129
  /* @__PURE__ */ s(
1123
- Ir,
1130
+ Br,
1124
1131
  {
1125
1132
  adjustScale: !0,
1126
- dropAnimation: cr,
1133
+ dropAnimation: pr,
1127
1134
  children: /* @__PURE__ */ s(
1128
1135
  "table",
1129
1136
  {
1130
- ...Tt(),
1137
+ ...Ot(),
1131
1138
  className: "w-full text-sm text-left text-neutral-500 dark:text-neutral-200 bg-white dark:bg-black-700 table-auto border-collapse",
1132
1139
  children: /* @__PURE__ */ b(
1133
1140
  "tbody",
1134
1141
  {
1135
- ...Dt(),
1142
+ ...At(),
1136
1143
  className: "bg-transparent divide-y divide-neutral-200",
1137
1144
  children: [
1138
- void Nt(C),
1145
+ void Et(J),
1139
1146
  /* @__PURE__ */ s(
1140
- Wr,
1147
+ Ur,
1141
1148
  {
1142
- row: C,
1149
+ row: J,
1143
1150
  index: I?.findIndex(
1144
- (e) => e.id === C.original.id
1151
+ (e) => e.id === J.original.id
1145
1152
  )
1146
1153
  },
1147
- C.original.id
1154
+ J.original.id
1148
1155
  )
1149
1156
  ]
1150
1157
  }
@@ -1160,10 +1167,10 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
1160
1167
  )
1161
1168
  }
1162
1169
  ),
1163
- ie && i?.renderPagination ? i.renderPagination(ie) : null,
1164
- i?.renderMasterDataModal && i.renderMasterDataModal({
1170
+ ae && a?.renderPagination ? a.renderPagination(ae) : null,
1171
+ a?.renderMasterDataModal && a.renderMasterDataModal({
1165
1172
  isVisible: !!R,
1166
- onSelected: Xl,
1173
+ onSelected: Kl,
1167
1174
  onClose: ve,
1168
1175
  masterDataColumnName: R?.masterDataColumnName,
1169
1176
  masterDataFormula: R?.masterDataFormula,
@@ -1173,21 +1180,29 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
1173
1180
  showFilters: !0
1174
1181
  }),
1175
1182
  /* @__PURE__ */ s(
1176
- $r,
1183
+ Gr,
1184
+ {
1185
+ config: ht,
1186
+ onClose: Tt
1187
+ }
1188
+ ),
1189
+ /* @__PURE__ */ s(
1190
+ Jr,
1177
1191
  {
1178
- config: ut,
1179
- onClose: xt
1192
+ state: Cl,
1193
+ config: et,
1194
+ onClose: Dt
1180
1195
  }
1181
1196
  ),
1182
1197
  /* @__PURE__ */ s(
1183
- Ur,
1198
+ Yr,
1184
1199
  {
1185
1200
  pendingEditsCount: $,
1186
- pendingEditsList: Jl,
1187
- rowsWithPendingEdits: Cl,
1201
+ pendingEditsList: Yl,
1202
+ rowsWithPendingEdits: Zl,
1188
1203
  fieldOperationLoading: B,
1189
- onClearAll: St,
1190
- onSaveAll: bt,
1204
+ onClearAll: xt,
1205
+ onSaveAll: yt,
1191
1206
  onScrollToCell: H
1192
1207
  }
1193
1208
  )
@@ -1197,6 +1212,6 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
1197
1212
  }
1198
1213
  );
1199
1214
  export {
1200
- Vn as InfiniteTable
1215
+ zn as InfiniteTable
1201
1216
  };
1202
1217
  //# sourceMappingURL=index.es.js.map