@lax-wp/design-system 0.14.34 → 0.14.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -43,7 +43,7 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
43
43
  columnSort: { field: "", order: "" },
44
44
  onRemoveSort: () => null
45
45
  },
46
- headerConfig: a = {
46
+ headerConfig: i = {
47
47
  showExportButton: null,
48
48
  showFilters: !0,
49
49
  showSorts: !0,
@@ -93,8 +93,8 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
93
93
  onBulkRowEdit: j,
94
94
  inlineEditColumns: Yt,
95
95
  isResizable: Zt = !0,
96
- paginationConfig: ie,
97
- dndSortableUtils: ae,
96
+ paginationConfig: ae,
97
+ dndSortableUtils: ie,
98
98
  multipleContexts: Ze,
99
99
  withSortable: ye,
100
100
  withDraggable: Qt,
@@ -109,8 +109,8 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
109
109
  setExpandedRows: sl,
110
110
  showNewItem: ol,
111
111
  rawData: Ke,
112
- dragConfig: il,
113
- isOverlayLoading: al,
112
+ dragConfig: al,
113
+ isOverlayLoading: il,
114
114
  style: cl = {},
115
115
  floatingBarConfig: De,
116
116
  rowWrapper: dl,
@@ -135,22 +135,22 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
135
135
  onPendingEditsChange: et,
136
136
  onCancelPendingEdits: P
137
137
  }) => {
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(
138
+ const a = Nr(), Tl = nn(sn()), Dl = !!D?.search, tt = n?.columnFilters?.length > 0, q = Dl || tt, Nl = !!V, N = a?.getTableView?.(g) ?? null, [x, J] = p(N || null), M = !Or(
139
139
  x,
140
- i?.getUserId?.()
140
+ a?.getUserId?.()
141
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
142
  null
143
143
  ), [Al, El] = p(!1), [Rl, _l] = p(null), [kl, Ml] = p(!1), [Il, ue] = p(
144
144
  null
145
145
  ), [Ll, he] = p(null), [gl, ot] = p({}), [C, Ie] = p(
146
146
  null
147
- ), [Vl, it] = p(!1), [E, jl] = p(0), Le = O(null), ge = O(null), [at, Bl] = p({
147
+ ), [Vl, at] = p(!1), [E, jl] = p(0), Le = O(null), ge = O(null), [it, Bl] = p({
148
148
  width: 0,
149
149
  height: 0
150
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);
151
151
  Be.current = x;
152
- const mt = O(i);
153
- mt.current = i;
152
+ const mt = O(a);
153
+ mt.current = a;
154
154
  const pt = O(A);
155
155
  pt.current = A;
156
156
  const pe = O(n);
@@ -218,7 +218,7 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
218
218
  }, [B, P, u]), H = d(
219
219
  (e, t, l) => {
220
220
  setTimeout(() => {
221
- i?.dispatchEvent?.("SCROLL_TO_TABLE_ROW", { rowIndex: l });
221
+ a?.dispatchEvent?.("SCROLL_TO_TABLE_ROW", { rowIndex: l });
222
222
  const r = w.findIndex(
223
223
  (o) => o.key === t
224
224
  );
@@ -253,7 +253,7 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
253
253
  }, 350);
254
254
  }, 100);
255
255
  },
256
- [w, i]
256
+ [w, a]
257
257
  ), X = d(
258
258
  (e) => {
259
259
  let t = !1, l = null;
@@ -281,7 +281,7 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
281
281
  }, []), bt = d(() => {
282
282
  const { hasErrors: e, updatedEdits: t, firstError: l, errorTypes: r } = X(u);
283
283
  if (e) {
284
- if (_(t), i?.showNotification?.(
284
+ if (_(t), a?.showNotification?.(
285
285
  "error",
286
286
  fe(r)
287
287
  ), l) {
@@ -315,7 +315,7 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
315
315
  X,
316
316
  fe,
317
317
  H,
318
- i
318
+ a
319
319
  ]), Ul = d(
320
320
  (e) => {
321
321
  if (B) return;
@@ -340,7 +340,7 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
340
340
  if (_((v) => ({
341
341
  ...v,
342
342
  [e]: r[e]
343
- })), i?.showNotification?.(
343
+ })), a?.showNotification?.(
344
344
  "error",
345
345
  fe(c)
346
346
  ), o) {
@@ -381,7 +381,7 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
381
381
  X,
382
382
  fe,
383
383
  H,
384
- i
384
+ a
385
385
  ]
386
386
  ), $ = z(() => Object.values(u).reduce(
387
387
  (e, t) => e + Object.keys(t).length,
@@ -466,7 +466,7 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
466
466
  emptyMessage: Je,
467
467
  buttons: Ge,
468
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(
469
+ }, lr = a?.t?.(jt) ?? jt, we = q ? "No Results Found" : Je || "No Data Found", rr = typeof we == "string" ? a?.t?.(we) ?? we : we, yt = { __isLoading: !0 }, nr = new Array(1).fill(yt), sr = new Array(el).fill(yt), Y = z(
470
470
  () => w.filter((e) => !!e?.visible),
471
471
  [w]
472
472
  ), or = jr(
@@ -485,7 +485,7 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
485
485
  Br
486
486
  ), { getTableProps: Tt, getTableBodyProps: Dt, headerGroups: Fe, prepareRow: Nt, rows: I } = or;
487
487
  ft.current = Fe;
488
- const ir = JSON.stringify(
488
+ const ar = JSON.stringify(
489
489
  Fe[0]?.headers?.map(
490
490
  (e) => e?.Header
491
491
  )
@@ -497,7 +497,7 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
497
497
  e?.[0]?.headers?.map((t) => t?.Header) ?? []
498
498
  );
499
499
  }
500
- }, [ir, Ae]);
500
+ }, [ar, Ae]);
501
501
  const { checkboxConfig: Ot } = Dr({
502
502
  rows: I,
503
503
  checkedIds: V?.checkedIds,
@@ -507,7 +507,7 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
507
507
  onAllChecked: Ml,
508
508
  setCheckedIds: V?.setCheckedIds,
509
509
  checkboxMetadata: V?.checkboxMetadata
510
- }), ar = Er(
510
+ }), ir = Er(
511
511
  It(Rr, {
512
512
  activationConstraint: { distance: Vt }
513
513
  }),
@@ -536,18 +536,18 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
536
536
  );
537
537
  }, hr = (e) => {
538
538
  const { active: t, over: l } = e;
539
- l && (ae?.checkDndDragEnd && ae.checkDndDragEnd(
539
+ l && (ie?.checkDndDragEnd && ie.checkDndDragEnd(
540
540
  t,
541
541
  l,
542
542
  gl,
543
543
  (r) => {
544
- ot(r), it(!0), ae.onDragSuccess?.({
544
+ ot(r), at(!0), ie.onDragSuccess?.({
545
545
  draggedId: t.id,
546
546
  droppedId: l.id,
547
547
  draggedType: t.data.current?.type,
548
548
  droppedType: l.data.current?.type,
549
549
  updatedList: r,
550
- cb: () => it(!1)
550
+ cb: () => at(!1)
551
551
  });
552
552
  }
553
553
  ), Ie(null));
@@ -582,7 +582,7 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
582
582
  U
583
583
  ]
584
584
  ), At = () => {
585
- const e = i?.getUserId?.();
585
+ const e = a?.getUserId?.();
586
586
  return {
587
587
  ...x || {},
588
588
  name: x?.name || "Untitled View",
@@ -604,14 +604,13 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
604
604
  };
605
605
  vt.current = At;
606
606
  const Fr = (e, t) => {
607
- if (M) return;
608
607
  const l = At();
609
608
  J({
610
609
  ...l,
611
610
  columns: l?.columns?.map(
612
611
  (r) => r.name === e ? { ...r, width: t } : r
613
612
  ),
614
- unsaved: !0
613
+ unsaved: M ? l?.unsaved : !0
615
614
  });
616
615
  };
617
616
  T(() => {
@@ -708,7 +707,7 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
708
707
  showPendingEditsColumn: $ > 0
709
708
  }
710
709
  ), 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,
710
+ Vl || il ? /* @__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
711
  /* @__PURE__ */ s(
713
712
  "div",
714
713
  {
@@ -716,7 +715,7 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
716
715
  className: "w-full text-sm text-left text-neutral-500 dark:text-neutral-200 h-full bg-white dark:bg-black-800",
717
716
  children: nt ? /* @__PURE__ */ b("div", { className: "z-10", children: [
718
717
  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: [
718
+ /* @__PURE__ */ s("div", { className: "absolute w-full", children: a?.renderEmpty ? a.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
719
  Ce && !q ? /* @__PURE__ */ s(on, { widgetType: "TABLE" }) : /* @__PURE__ */ s(an, { text: rr }),
721
720
  ne && !q ? /* @__PURE__ */ s("div", { className: "my-4", children: /* @__PURE__ */ b(
722
721
  Mt,
@@ -738,7 +737,7 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
738
737
  status: "secondary",
739
738
  id: un(e.label, t),
740
739
  onClick: e.onClick,
741
- children: i?.t?.(e.label) ?? e.label
740
+ children: a?.t?.(e.label) ?? e.label
742
741
  },
743
742
  `${e.label}-${t}`
744
743
  ))
@@ -748,7 +747,7 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
748
747
  {
749
748
  style: { width: "100%", height: "100%" },
750
749
  renderProp: ({ width: e, height: t }) => {
751
- const l = e > 0 ? e : at.width, r = t > 0 ? t : at.height;
750
+ const l = e > 0 ? e : it.width, r = t > 0 ? t : it.height;
752
751
  return l > 0 && r > 0 ? /* @__PURE__ */ s(
753
752
  Pr,
754
753
  {
@@ -773,7 +772,7 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
773
772
  ] }), xr = Lt((e, t) => /* @__PURE__ */ b("div", { className: "h-full w-full", ...e, ref: t, children: [
774
773
  Et,
775
774
  /* @__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({
775
+ ] })), 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(() => a?.renderTableHeader ? a.renderTableHeader({
777
776
  tableKey: g,
778
777
  search: D?.search,
779
778
  handleSearch: D?.handleSearch,
@@ -784,7 +783,7 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
784
783
  columnFilters: n?.columnFilters,
785
784
  setSelectedTableView: J,
786
785
  selectedTableView: x,
787
- enableTableView: a?.showTableView,
786
+ enableTableView: i?.showTableView,
788
787
  modelName: Q,
789
788
  enableMasterDataEnumSuggestions: K,
790
789
  onRemoveFilter: n?.onRemoveFilter,
@@ -792,22 +791,22 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
792
791
  onFilter: n?.onFilter,
793
792
  data: le ?? m,
794
793
  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,
794
+ showTableViewAsModal: i?.showTableViewAsModal,
795
+ additionalOptions: i?.additionalOptions,
796
+ inlineActions: i?.inlineActions,
797
+ showFilters: i?.showFilters,
798
+ showSorts: i?.showSorts,
799
+ showSearch: i?.showSearch,
800
+ isLoading: !!i?.isLoading,
802
801
  setTableHeaders: Me,
803
802
  allowAStarSearch: !!D?.allowAStarSearch,
804
- withContent: !!a?.content,
803
+ withContent: !!i?.content,
805
804
  setShowFilters: _e,
806
805
  sort: h?.columnSort,
807
806
  onSort: h?.onSort,
808
807
  onRemoveSort: We,
809
- showExportButton: a?.showExportButton,
810
- onExportClick: a?.onExportClick,
808
+ showExportButton: i?.showExportButton,
809
+ onExportClick: i?.onExportClick,
811
810
  agreementId: ee,
812
811
  enumSuggestionsExtraParams: te
813
812
  }) : null, [
@@ -820,7 +819,7 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
820
819
  A,
821
820
  J,
822
821
  x,
823
- a,
822
+ i,
824
823
  Q,
825
824
  n?.onRemoveFilter,
826
825
  n?.onClearFilter,
@@ -831,7 +830,7 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
831
830
  h?.columnSort,
832
831
  h?.onSort,
833
832
  We,
834
- i,
833
+ a,
835
834
  D?.allowAStarSearch,
836
835
  K,
837
836
  ee,
@@ -875,7 +874,7 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
875
874
  onRowEdit: k,
876
875
  inlineEditColumns: Yt,
877
876
  tableActions: Ue,
878
- dndSortableUtils: ae,
877
+ dndSortableUtils: ie,
879
878
  withSortable: ye,
880
879
  withDraggable: Qt,
881
880
  onCascadingRowExpand: tl,
@@ -886,7 +885,7 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
886
885
  setExpandedRows: sl,
887
886
  showNewItem: ol,
888
887
  rawData: Ke,
889
- dragConfig: il,
888
+ dragConfig: al,
890
889
  rowWrapper: dl,
891
890
  rowLinkConfig: ul,
892
891
  isCellClickDisabled: hl,
@@ -940,13 +939,13 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
940
939
  /* @__PURE__ */ b(
941
940
  "div",
942
941
  {
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"}`,
942
+ className: `flex items-center gap-x-2 gap-y-1 ${E < Z ? "w-full flex-wrap" : ""} ${i?.content ? "min-w-0 flex-1" : "shrink-0"}`,
944
943
  children: [
945
- a?.content ? /* @__PURE__ */ s(
944
+ i?.content ? /* @__PURE__ */ s(
946
945
  "div",
947
946
  {
948
947
  className: `min-w-0 ${E < Z ? "w-full" : "flex-1"}`,
949
- children: a.content
948
+ children: i.content
950
949
  }
951
950
  ) : null,
952
951
  Te ? /* @__PURE__ */ b("div", { className: "flex items-center gap-1.5 shrink-0", children: [
@@ -990,16 +989,16 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
990
989
  children: "total records"
991
990
  }
992
991
  )
993
- ] }) : a?.preContent ? /* @__PURE__ */ s("div", { className: "flex min-w-0 shrink-0 justify-start items-center", children: a.preContent }) : null
992
+ ] }) : i?.preContent ? /* @__PURE__ */ s("div", { className: "flex min-w-0 shrink-0 justify-start items-center", children: i.preContent }) : null
994
993
  ]
995
994
  }
996
995
  ),
997
996
  /* @__PURE__ */ b(
998
997
  "div",
999
998
  {
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" : ""}`,
999
+ className: `flex min-w-0 items-center justify-end ${E < Z ? "w-full" : i?.content ? "shrink-0" : "flex-1"} ${E < ze ? "flex-col" : "flex-row flex-wrap"} ${i?.postContent ? "gap-2" : ""}`,
1001
1000
  children: [
1002
- Te && a?.preContent ? /* @__PURE__ */ s("div", { className: "flex w-full justify-start items-center", children: a.preContent }) : null,
1001
+ Te && i?.preContent ? /* @__PURE__ */ s("div", { className: "flex w-full justify-start items-center", children: i.preContent }) : null,
1003
1002
  /* @__PURE__ */ s(
1004
1003
  "div",
1005
1004
  {
@@ -1007,11 +1006,11 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
1007
1006
  children: $e
1008
1007
  }
1009
1008
  ),
1010
- a?.postContent ? /* @__PURE__ */ s(
1009
+ i?.postContent ? /* @__PURE__ */ s(
1011
1010
  "div",
1012
1011
  {
1013
1012
  className: `flex justify-end items-center ${E < ze ? "w-full" : ""}`,
1014
- children: a.postContent
1013
+ children: i.postContent
1015
1014
  }
1016
1015
  ) : null
1017
1016
  ]
@@ -1020,9 +1019,9 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
1020
1019
  ]
1021
1020
  }
1022
1021
  ) : null,
1023
- a?.showDivider ? /* @__PURE__ */ s("div", { className: "border-b pb-2 w-full dark:bg-black-800" }) : null,
1022
+ i?.showDivider ? /* @__PURE__ */ s("div", { className: "border-b pb-2 w-full dark:bg-black-800" }) : null,
1024
1023
  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({
1024
+ ke && a?.renderSortItem ? a.renderSortItem({
1026
1025
  sort: h?.columnSort,
1027
1026
  onRemoveSort: We,
1028
1027
  onSort: h?.onSort,
@@ -1032,7 +1031,7 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
1032
1031
  }) : null,
1033
1032
  Re && ke && h?.columnSort?.field !== "" ? /* @__PURE__ */ s("div", { className: "h-8 w-[1px] flex-shrink-0 bg-neutral-200" }) : null,
1034
1033
  Re ? /* @__PURE__ */ b("div", { className: "flex gap-2 items-center", children: [
1035
- (tt || n?.onResetFilter) && i?.renderActiveFilters && i.renderActiveFilters({
1034
+ (tt || n?.onResetFilter) && a?.renderActiveFilters && a.renderActiveFilters({
1036
1035
  filters: n?.columnFilters,
1037
1036
  onRemoveFilter: Sr,
1038
1037
  onClearFilter: br,
@@ -1050,7 +1049,7 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
1050
1049
  enumSuggestionsExtraParams: te,
1051
1050
  disabled: M
1052
1051
  }),
1053
- i?.renderFilterButtons && i.renderFilterButtons({
1052
+ a?.renderFilterButtons && a.renderFilterButtons({
1054
1053
  onClearFilter: n?.onClearFilter,
1055
1054
  onClose: fr,
1056
1055
  modelName: Q,
@@ -1096,14 +1095,14 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
1096
1095
  ),
1097
1096
  /* @__PURE__ */ s(be, { size: "small", variant: "semibold", appearance: "title", children: (Qe ?? m.length).toLocaleString() }),
1098
1097
  /* @__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,
1098
+ ] }) : !xe && i?.preContent ? /* @__PURE__ */ s("div", { className: "flex items-center mb-2", children: i.preContent }) : null,
1100
1099
  /* @__PURE__ */ s(
1101
1100
  "div",
1102
1101
  {
1103
1102
  ref: ge,
1104
- className: `w-full ${ie ? "h-auto" : oe} rounded-lg relative border overflow-x-hidden`,
1103
+ className: `w-full ${ae ? "h-auto" : oe} rounded-lg relative border overflow-x-hidden`,
1105
1104
  style: {
1106
- ...ie ? {
1105
+ ...ae ? {
1107
1106
  height: m?.length > 0 ? `${(m?.length + 1) * Tl + 4}px` : "350px"
1108
1107
  } : { height: er },
1109
1108
  ...cl
@@ -1111,7 +1110,7 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
1111
1110
  children: Kt ? Rt : /* @__PURE__ */ b(
1112
1111
  kr,
1113
1112
  {
1114
- sensors: ar,
1113
+ sensors: ir,
1115
1114
  onDragEnd: hr,
1116
1115
  onDragStart: ur,
1117
1116
  onDragCancel: mr,
@@ -1160,8 +1159,8 @@ const dn = gr, jt = "Create Column", un = (g, D) => `button-admin-${g.toLowerCas
1160
1159
  )
1161
1160
  }
1162
1161
  ),
1163
- ie && i?.renderPagination ? i.renderPagination(ie) : null,
1164
- i?.renderMasterDataModal && i.renderMasterDataModal({
1162
+ ae && a?.renderPagination ? a.renderPagination(ae) : null,
1163
+ a?.renderMasterDataModal && a.renderMasterDataModal({
1165
1164
  isVisible: !!R,
1166
1165
  onSelected: Xl,
1167
1166
  onClose: ve,