@progress/kendo-react-grid 9.4.0-develop.8 → 9.4.0

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 (41) hide show
  1. package/GridClientWrapper.js +1 -1
  2. package/GridClientWrapper.mjs +463 -374
  3. package/GridComponent.js +1 -1
  4. package/GridComponent.mjs +339 -306
  5. package/GridSearchBox.js +8 -0
  6. package/GridSearchBox.mjs +35 -0
  7. package/GridState.js +1 -1
  8. package/GridState.mjs +79 -67
  9. package/NOTICE.txt +40 -51
  10. package/cells/GridCell.js +1 -1
  11. package/cells/GridCell.mjs +24 -20
  12. package/cells/client/GridRowReorderContainer.js +1 -1
  13. package/cells/client/GridRowReorderContainer.mjs +15 -9
  14. package/columnMenu/GridColumnMenuCheckboxFilter.js +1 -1
  15. package/columnMenu/GridColumnMenuCheckboxFilter.mjs +56 -55
  16. package/columnMenu/GridColumnMenuColumnsChooser.js +9 -0
  17. package/columnMenu/GridColumnMenuColumnsChooser.mjs +82 -0
  18. package/columnMenu/GridColumnMenuFilter.js +1 -1
  19. package/columnMenu/GridColumnMenuFilter.mjs +19 -19
  20. package/columnMenu/GridColumnMenuSort.js +1 -1
  21. package/columnMenu/GridColumnMenuSort.mjs +1 -1
  22. package/components/GridLoader.js +9 -0
  23. package/components/GridLoader.mjs +22 -0
  24. package/dist/cdn/js/kendo-react-grid.js +1 -1
  25. package/header/client/GridHeaderCellContainer.js +1 -1
  26. package/header/client/GridHeaderCellContainer.mjs +20 -18
  27. package/index.d.mts +297 -36
  28. package/index.d.ts +297 -36
  29. package/index.js +1 -1
  30. package/index.mjs +76 -72
  31. package/messages/index.js +1 -1
  32. package/messages/index.mjs +38 -36
  33. package/package-metadata.js +1 -1
  34. package/package-metadata.mjs +2 -2
  35. package/package.json +14 -13
  36. package/rows/GridRow.js +1 -1
  37. package/rows/GridRow.mjs +45 -45
  38. package/utils/index.js +1 -1
  39. package/utils/index.mjs +156 -146
  40. /package/{interfaces/GridSortSettings.js → sortCommon.js} +0 -0
  41. /package/{interfaces/GridSortSettings.mjs → sortCommon.mjs} +0 -0
package/GridComponent.mjs CHANGED
@@ -6,95 +6,111 @@
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
8
  import * as l from "react";
9
- import { validatePackage as dt, uGrid as ct, getter as N, classNames as m, canUseDOM as st } from "@progress/kendo-react-common";
10
- import { process as mt } from "@progress/kendo-data-query";
11
- import { getDetailExpandableOptions as ut, getGroupExpandableOptions as ft, getSelectionOptions as gt, tableKeyboardNavigationTools as q, Pager as bt, tableKeyboardNavigationBodyAttributes as yt, tableKeyboardNavigationScopeAttributes as ke, tableColumnsVirtualization as Ct } from "@progress/kendo-react-data-tools";
12
- import { GridSelectionCell as ht } from "./cells/GridSelectionCell.mjs";
13
- import { GridHierarchyCell as wt } from "./cells/GridHierarchyCell.mjs";
14
- import { GridEditCell as Et } from "./cells/GridEditCell.mjs";
15
- import { Header as It } from "./header/Header.mjs";
16
- import { HeaderRow as Rt } from "./header/HeaderRow.mjs";
17
- import { FilterRow as xt } from "./header/FilterRow.mjs";
18
- import { GroupPanel as vt } from "./header/GroupPanel.mjs";
19
- import { Footer as St } from "./footer/Footer.mjs";
20
- import { getColumnWidth as p, isSorted as Ne, flatData as Gt, autoGenerateColumns as kt, mapColumns as Nt, clientColumn as Ft, getNestedValue as Fe, getColSpan as De, resolveCells as Dt, isClientReference as Tt, sanitizeColumns as Kt, readColumns as Ht } from "./utils/index.mjs";
21
- import { GridCell as At } from "./cells/GridCell.mjs";
22
- import { GridGroupCell as Te } from "./cells/GridGroupCell.mjs";
23
- import { GridRow as Pt } from "./rows/GridRow.mjs";
24
- import { GridHeaderSelectionCell as Bt } from "./header/GridHeaderSelectionCell.mjs";
25
- import { GridNoRecords as Ke } from "./components/noRecords/GridNoRecords.mjs";
26
- import { operators as He } from "./filterCommon.mjs";
27
- import { FooterRow as Vt } from "./footer/FooterRow.mjs";
28
- import { normalize as zt } from "./paging/GridPagerSettings.mjs";
29
- import { packageMetadata as Ot } from "./package-metadata.mjs";
30
- import { GridDetailCell as _t } from "./cells/GridDetailCell.mjs";
31
- import { GridDetailHierarchyCell as Lt } from "./cells/GridDetailHierarchyCell.mjs";
32
- import { GridNoRecordsContainer as Ae } from "./components/noRecords/GridNoRecordsContainer.mjs";
33
- import { GridWatermarkOverlay as Mt } from "./GridWatermarkOverlay.mjs";
34
- import { GridClientWrapper as Pe } from "./GridClientWrapper.mjs";
35
- import { GridColGroup as Wt } from "./components/colGroup/GridColGroup.mjs";
36
- import { GridTable as jt } from "./components/table/GridTable.mjs";
37
- import { GridDropClue as Be } from "./components/GridDropClue.mjs";
38
- import { GridDragClue as Ve } from "./components/GridDragClue.mjs";
39
- import { GridTableBody as ze } from "./components/table/GridTableBody.mjs";
40
- import { PagerContainer as $t } from "./components/PagerContainer.mjs";
41
- import { GridTableScrollable as Ut } from "./components/table/GridTableScrollable.mjs";
42
- import { GridElementContainer as Oe } from "./components/GridElementContainer.mjs";
43
- import { GridContainerElementContainer as Jt } from "./components/GridContainerElementContainer.mjs";
44
- import { VirtualScrollHeightContainer as Qt } from "./components/VirtualScrollHeightContainer.mjs";
45
- import { LocalizationService as Xt, IntlService as Yt } from "@progress/kendo-react-intl";
46
- import { gridAriaLabel as _e, messages as Zt } from "./messages/index.mjs";
9
+ import { validatePackage as wt, uGrid as Et, getter as H, classNames as f, canUseDOM as It } from "@progress/kendo-react-common";
10
+ import { process as St } from "@progress/kendo-data-query";
11
+ import { combineFilters as vt, getDetailExpandableOptions as Rt, getGroupExpandableOptions as xt, getSelectionOptions as Gt, tableKeyboardNavigationTools as ee, Pager as kt, tableKeyboardNavigationBodyAttributes as Nt, tableKeyboardNavigationScopeAttributes as Ke, tableColumnsVirtualization as Ft } from "@progress/kendo-react-data-tools";
12
+ import { GridSelectionCell as Dt } from "./cells/GridSelectionCell.mjs";
13
+ import { GridHierarchyCell as Tt } from "./cells/GridHierarchyCell.mjs";
14
+ import { GridEditCell as Ht } from "./cells/GridEditCell.mjs";
15
+ import { Header as Kt } from "./header/Header.mjs";
16
+ import { HeaderRow as At } from "./header/HeaderRow.mjs";
17
+ import { FilterRow as Bt } from "./header/FilterRow.mjs";
18
+ import { GroupPanel as Pt } from "./header/GroupPanel.mjs";
19
+ import { Footer as Vt } from "./footer/Footer.mjs";
20
+ import { isRowReorderEnabled as Lt, getRowSpanOptions as Ae, getColumnWidth as te, isSorted as Be, flatData as Ot, autoGenerateColumns as _t, mapColumns as zt, clientColumn as Mt, getNestedValue as Pe, getColSpan as Ve, resolveCells as Wt, isClientReference as jt, sanitizeColumns as $t, readColumns as Ut } from "./utils/index.mjs";
21
+ import { GridCell as Jt } from "./cells/GridCell.mjs";
22
+ import { GridGroupCell as Le } from "./cells/GridGroupCell.mjs";
23
+ import { GridRow as Qt } from "./rows/GridRow.mjs";
24
+ import { GridHeaderSelectionCell as Xt } from "./header/GridHeaderSelectionCell.mjs";
25
+ import { GridNoRecords as Oe } from "./components/noRecords/GridNoRecords.mjs";
26
+ import { operators as _e } from "./filterCommon.mjs";
27
+ import { FooterRow as Yt } from "./footer/FooterRow.mjs";
28
+ import { normalize as Zt } from "./paging/GridPagerSettings.mjs";
29
+ import { packageMetadata as qt } from "./package-metadata.mjs";
30
+ import { GridDetailCell as pt } from "./cells/GridDetailCell.mjs";
31
+ import { GridDetailHierarchyCell as el } from "./cells/GridDetailHierarchyCell.mjs";
32
+ import { GridNoRecordsContainer as ze } from "./components/noRecords/GridNoRecordsContainer.mjs";
33
+ import { GridWatermarkOverlay as tl } from "./GridWatermarkOverlay.mjs";
34
+ import { GridClientWrapper as Me } from "./GridClientWrapper.mjs";
35
+ import { GridColGroup as ll } from "./components/colGroup/GridColGroup.mjs";
36
+ import { GridTable as al } from "./components/table/GridTable.mjs";
37
+ import { GridDropClue as We } from "./components/GridDropClue.mjs";
38
+ import { GridDragClue as je } from "./components/GridDragClue.mjs";
39
+ import { GridTableBody as $e } from "./components/table/GridTableBody.mjs";
40
+ import { PagerContainer as rl } from "./components/PagerContainer.mjs";
41
+ import { GridTableScrollable as nl } from "./components/table/GridTableScrollable.mjs";
42
+ import { GridElementContainer as Ue } from "./components/GridElementContainer.mjs";
43
+ import { GridContainerElementContainer as il } from "./components/GridContainerElementContainer.mjs";
44
+ import { VirtualScrollHeightContainer as ol } from "./components/VirtualScrollHeightContainer.mjs";
45
+ import { LocalizationService as dl, IntlService as cl } from "@progress/kendo-react-intl";
46
+ import { gridAriaLabel as Je, messages as sl } from "./messages/index.mjs";
47
47
  import { VirtualScrollFixed as j } from "./VirtualScrollFixed.mjs";
48
- import { VirtualScroll as qt } from "./VirtualScroll.mjs";
49
- import { GridCustomCellClientContainer as pt } from "./components/GridCustomCellClientContainer.mjs";
50
- import { GridReorderableRowsContainer as el } from "./components/GridDraggableRowsContainer.mjs";
51
- import { GridRowReorderCell as tl } from "./cells/GridRowReorderCell.mjs";
52
- import { GridHeaderRowReorderCell as ll } from "./header/client/GridHeaderRowReorderCell.mjs";
53
- const al = l.forwardRef((e, ee) => {
54
- var we, Ee, Ie, Re, xe, ve, Se;
48
+ import { VirtualScroll as ml } from "./VirtualScroll.mjs";
49
+ import { GridCustomCellClientContainer as ul } from "./components/GridCustomCellClientContainer.mjs";
50
+ import { GridReorderableRowsContainer as fl } from "./components/GridDraggableRowsContainer.mjs";
51
+ import { GridRowReorderCell as gl } from "./cells/GridRowReorderCell.mjs";
52
+ import { GridHeaderRowReorderCell as bl } from "./header/client/GridHeaderRowReorderCell.mjs";
53
+ import { GridLoader as Qe } from "./components/GridLoader.mjs";
54
+ const hl = l.forwardRef((e, le) => {
55
+ var Se, ve, Re, xe, Ge, ke, Ne;
55
56
  const R = e.id + "-role-element-id", x = e.navigatable ? R : "";
56
- dt(Ot);
57
- const Le = (t, r, o, d, i, a, c) => {
58
- const f = [], g = Gt(
59
- f,
60
- h,
57
+ wt(qt);
58
+ const Xe = (t, r, d, o, i, a, c) => {
59
+ const s = [], h = Ot(
60
+ s,
61
+ C,
61
62
  t,
62
63
  { index: r },
63
- o !== void 0,
64
- d,
64
+ d !== void 0,
65
+ o,
65
66
  i,
66
67
  a,
67
- Ze.defaultExpand,
68
+ ot.defaultExpand,
68
69
  c
69
70
  );
70
- return { flattedData: f, resolvedGroupsCount: g };
71
- }, Me = (t) => {
71
+ return { flattedData: s, resolvedGroupsCount: h };
72
+ }, Ye = (t) => {
72
73
  const r = t.filter(
73
74
  (i) => i && i.type && i.type.displayName === "KendoReactGridColumn"
74
- ), o = u.current.filter((i) => i.declarationIndex >= 0 && i.parentIndex === -1), d = Kt(o);
75
- return Ht(r, d, { prevId: 0, idPrefix: x });
76
- }, We = (t) => t.filter((r) => st && r && r.media ? window.matchMedia(r.media).matches : r), je = (t, r) => {
75
+ ), d = m.current.filter((i) => i.declarationIndex >= 0 && i.parentIndex === -1), o = $t(d);
76
+ return Ut(r, o, { prevId: 0, idPrefix: x });
77
+ }, Ze = (t) => t.filter((r) => It && r && r.media ? window.matchMedia(r.media).matches : r), qe = () => {
78
+ const t = [], r = (d, o) => d == null ? void 0 : d.forEach((i) => {
79
+ const a = i.hidden || o;
80
+ t.push({
81
+ ...i,
82
+ hidden: a
83
+ }), r(i.children, a);
84
+ });
85
+ return r(e.columnsState, !1), t;
86
+ }, pe = (t) => {
87
+ const r = qe();
88
+ return t.filter((d) => {
89
+ var o;
90
+ return !((o = r.find((i) => i.id === d.id)) != null && o.hidden);
91
+ });
92
+ }, et = (t, r) => {
77
93
  var i;
78
- const o = Me(t), d = We(o);
79
- u.current = d, u.current.length === 0 && (u.current = kt(
80
- h,
94
+ const d = Ye(t), o = Ze(d);
95
+ m.current = o, m.current.length === 0 && (m.current = _t(
96
+ C,
81
97
  e.group,
82
98
  {
83
- column: (i = T.column) != null ? i : e.expandField
99
+ column: (i = A.column) != null ? i : e.expandField
84
100
  },
85
101
  {
86
102
  prevId: 0,
87
103
  idPrefix: x
88
104
  }
89
- )), $e(u.current, r), v = Nt(u.current, !0), le.current = u.current.map(Ft);
90
- }, $e = (t, r) => {
105
+ )), m.current = pe(m.current), tt(m.current, r), G = zt(m.current, !0), re.current = m.current.map(Mt);
106
+ }, tt = (t, r) => {
91
107
  var i;
92
108
  t.filter((a) => e.selectedField && a.field === e.selectedField || a.columnType === "checkbox").forEach((a) => {
93
- a.width = a.width || "50px", a.cell = a.cell || ht, a._type = "edit", a.headerCell = a.headerCell || Bt;
94
- }), G !== void 0 && t.filter((a) => a.columnType === "reorder").forEach((a) => {
95
- a.width = a.width || "50px", a.cell = a.cell || tl, a.headerCell = a.headerCell || ll, a.sortable = !1, a.filterable = !1, a.editable = !1;
109
+ a.width = a.width || "50px", a.cell = a.cell || Dt, a._type = "edit", a.headerCell = a.headerCell || Xt;
110
+ }), N !== void 0 && t.filter((a) => a.columnType === "reorder").forEach((a) => {
111
+ a.width = a.width || "50px", a.cell = a.cell || gl, a.headerCell = a.headerCell || bl, a.sortable = !1, a.filterable = !1, a.editable = !1;
96
112
  });
97
- const o = {
113
+ const d = {
98
114
  id: "",
99
115
  resizable: !0,
100
116
  width: "32px",
@@ -114,59 +130,65 @@ const al = l.forwardRef((e, ee) => {
114
130
  ariaColumnIndex: 0,
115
131
  isAccessible: !0
116
132
  };
117
- let d = 0;
118
- (e.expandField || T.enabled) && e.detail && (t.unshift({
119
- ...o,
133
+ let o = 0;
134
+ (e.expandField || A.enabled) && e.detail && (t.unshift({
135
+ ...d,
120
136
  _type: "expand",
121
- cell: wt,
122
- field: (i = T.column) != null ? i : e.expandField,
123
- headerClassName: m(s.hierarchyCell({}))
124
- }), d++);
137
+ cell: Tt,
138
+ field: (i = A.column) != null ? i : e.expandField,
139
+ headerClassName: f(u.hierarchyCell({}))
140
+ }), o++);
125
141
  for (let a = 0; a < r; a++)
126
142
  t.unshift({
127
- ...o,
143
+ ...d,
128
144
  isAccessible: !1,
129
- cell: Te,
145
+ cell: Le,
130
146
  field: "value",
131
147
  locked: e.lockGroups
132
- }), d++;
133
- t.slice(d).forEach((a) => a.parentIndex >= 0 && (a.parentIndex += d));
134
- }, te = () => h.length === e.total, Ue = () => {
135
- const { rowHeight: t, detailRowHeight: r, detail: o, expandField: d } = e, i = te(), a = t !== void 0 && t > 0, c = r !== void 0 && r > 0;
136
- return !a || D && !i || !!(o && d) && (!c || !i) ? qt : j;
137
- }, $ = () => e.isClient ? u : le, Je = (t, r, o, d, i, a) => {
138
- let c = De(t, r);
148
+ }), o++;
149
+ t.slice(o).forEach((a) => {
150
+ a.parentIndex >= 0 && (a.parentIndex += o), a.rowSpannable = a.rowSpannable !== void 0 ? Ae(a.rowSpannable) : ie;
151
+ });
152
+ }, ae = () => C.length === e.total, lt = () => {
153
+ const { rowHeight: t, detailRowHeight: r, detail: d, expandField: o } = e, i = ae(), a = t !== void 0 && t > 0, c = r !== void 0 && r > 0;
154
+ return !a || K && !i || !!(d && o) && (!c || !i) ? ml : j;
155
+ }, $ = () => e.isClient ? m : re, at = (t, r, d, o, i, a) => {
156
+ let c = Ve(t, r);
139
157
  if (e.columnVirtualization && t.colSpan === 1)
140
158
  return { colSpan: a, colsToSkip: i };
141
- let f = o.length - 1 === d, g = o.length - d;
142
- return e.columnVirtualization && (f = y.length - 1 === d, g = y.length - d), c > 1 && !f ? i = c - 1 : c = 1, g <= c && !f && (c = g), { colSpan: c, colsToSkip: i };
159
+ let s = d.length - 1 === o, h = d.length - o;
160
+ return e.columnVirtualization && (s = b.length - 1 === o, h = b.length - o), c > 1 && !s ? i = c - 1 : c = 1, h <= c && !s && (c = h), { colSpan: c, colsToSkip: i };
143
161
  };
144
- let U, b = [], V;
145
- const u = e.columnsRef || { current: [] }, le = { current: [] };
146
- let v = [[]];
147
- const Qe = e.scrollLeftRef || { current: 0 }, z = e.localization || new Xt(), Xe = e.intl || new Yt("en"), S = e.unstyled, s = S && S.uGrid ? S.uGrid : ct, G = typeof e.rowReorderable == "object" ? e.rowReorderable.enabled : e.rowReorderable, F = e.autoProcessData === !0 ? {
162
+ let U, g = [], O;
163
+ const m = e.columnsRef || { current: [] }, re = { current: [] };
164
+ let G = [[]];
165
+ const rt = e.scrollLeftRef || { current: 0 }, _ = e.localization || new dl(), nt = e.intl || new cl("en"), k = e.unstyled, u = k && k.uGrid ? k.uGrid : Et, N = Lt(e.rowReorderable), F = e.autoProcessData === !0 ? {
148
166
  group: !0,
149
167
  sort: !0,
150
168
  filter: !0,
169
+ search: !0,
151
170
  page: !0
152
171
  } : e.autoProcessData;
153
- let h, I;
154
- if (Array.isArray(e.data) ? (h = e.data, I = (we = e.total) != null ? we : h.length) : (h = ((Ee = e.data) == null ? void 0 : Ee.data) || [], I = (xe = (Re = e.total) != null ? Re : (Ie = e.data) == null ? void 0 : Ie.total) != null ? xe : h.length), F) {
155
- const { data: t, total: r } = mt(h, {
172
+ let C, v;
173
+ if (Array.isArray(e.data) ? (C = e.data, v = (Se = e.total) != null ? Se : C.length) : (C = ((ve = e.data) == null ? void 0 : ve.data) || [], v = (Ge = (xe = e.total) != null ? xe : (Re = e.data) == null ? void 0 : Re.total) != null ? Ge : C.length), F) {
174
+ const { data: t, total: r } = St(C, {
156
175
  group: F.group ? e.group : void 0,
157
176
  sort: F.sort ? e.sort : void 0,
158
- filter: F.filter ? e.filter : void 0,
177
+ filter: vt(
178
+ F.filter ? e.filter : void 0,
179
+ F.search ? e.search : void 0
180
+ ),
159
181
  ...F.page ? {
160
182
  take: e.take,
161
183
  skip: e.skip
162
184
  } : {}
163
185
  });
164
- h = t, I = (ve = e.total) != null ? ve : r;
186
+ C = t, v = (ke = e.total) != null ? ke : r;
165
187
  }
166
- const { size: w = "medium" } = e, Ye = typeof e.groupable == "object" && e.groupable.footer || "none", k = e.scrollable === "virtual", D = e.groupable === !0 || typeof e.groupable == "object" && e.groupable.enabled !== !1, T = ut(!!e.detail), Ze = ft(
188
+ const { size: E = "medium" } = e, it = typeof e.groupable == "object" && e.groupable.footer || "none", D = e.scrollable === "virtual", K = e.groupable === !0 || typeof e.groupable == "object" && e.groupable.enabled !== !1, A = Rt(!!e.detail), ot = xt(
167
189
  typeof e.groupable == "object" && e.groupable.enabled !== !1 ? e.groupable.expandable : e.groupable
168
- ), { resolvedGroupsCount: qe, flattedData: pe } = Le(
169
- Ye,
190
+ ), { resolvedGroupsCount: dt, flattedData: ct } = Xe(
191
+ it,
170
192
  e.skip || 0,
171
193
  e.group,
172
194
  e.expandField,
@@ -174,218 +196,227 @@ const al = l.forwardRef((e, ee) => {
174
196
  e.groupExpand,
175
197
  e.dataItemKey
176
198
  );
177
- b = pe;
178
- const J = Ue();
179
- J === j && te() && (V = b.slice(
199
+ g = ct;
200
+ const J = lt();
201
+ J === j && ae() && (O = g.slice(
180
202
  e.skip || 0,
181
203
  (e.skip || 0) + ((e.take !== void 0 ? e.take : e.pageSize) || 0)
182
204
  ));
183
- const ae = gt(e.selectable || !!e.selectedField), et = ae && ae.drag ? "none" : void 0, O = l.Children.toArray(e.children);
184
- je(O, qe);
185
- const re = O.map((t) => t && t.type && t.type.displayName === "KendoReactGridToolbar" ? l.cloneElement(t, { ...t.props, ariaControls: R }) : null), _ = O.filter((t) => t && t.type && t.type.displayName === "KendoReactGridNoRecords"), ne = O.filter(
205
+ const ne = Gt(e.selectable || !!e.selectedField), ie = Ae(e.rowSpannable), st = ne && ne.drag ? "none" : void 0, z = l.Children.toArray(e.children);
206
+ et(z, dt);
207
+ const oe = z.map((t) => t && t.type && t.type.displayName === "KendoReactGridToolbar" ? l.cloneElement(t, { ...t.props, ariaControls: R }) : null), M = z.filter((t) => t && t.type && t.type.displayName === "KendoReactGridNoRecords"), de = z.filter(
186
208
  (t) => t && t.type && t.type.displayName === "KendoReactGridStatusBar"
187
- ), y = u.current.filter((t) => t.children.length === 0), ie = D && /* @__PURE__ */ l.createElement(vt, { columns: $().current, group: e.group || [], ariaControls: R }), oe = /* @__PURE__ */ l.createElement(
188
- It,
209
+ ), b = m.current.filter((t) => t.children.length === 0), ce = K && /* @__PURE__ */ l.createElement(Pt, { columns: $().current, group: e.group || [], ariaControls: R }), se = /* @__PURE__ */ l.createElement(
210
+ Kt,
189
211
  {
190
- size: w,
212
+ size: E,
191
213
  staticHeaders: e.scrollable !== "none",
192
- draggable: e.reorderable || D,
214
+ draggable: e.reorderable || K,
193
215
  headerRow: /* @__PURE__ */ l.createElement(
194
- Rt,
216
+ At,
195
217
  {
196
218
  cells: e.cells,
197
219
  sort: e.sort,
198
220
  sortable: e.sortable,
199
221
  group: e.group || [],
200
- groupable: D,
222
+ groupable: K,
201
223
  filter: e.filter,
202
224
  filterable: e.filterable,
203
- filterOperators: e.filterOperators || He,
225
+ filterOperators: e.filterOperators || _e,
204
226
  columnMenu: e.columnMenu,
205
227
  columnMenuIcon: e.columnMenuIcon,
206
- columns: u.current,
207
- columnsMap: v,
228
+ columns: m.current,
229
+ columnsMap: G,
208
230
  cellRender: e.headerCellRender,
209
231
  navigatable: !!e.navigatable,
210
- localization: z,
211
- unstyled: S,
212
- headerSelectionValue: !!(e.select && b.filter((t) => t.rowType === "data").every(
213
- (t) => e.select && e.dataItemKey && N(e.dataItemKey)(t.dataItem) !== void 0 ? e.select[N(e.dataItemKey)(t.dataItem)] : void 0
232
+ localization: _,
233
+ unstyled: k,
234
+ headerSelectionValue: !!(e.select && g.filter((t) => t.rowType === "data").every(
235
+ (t) => e.select && e.dataItemKey && H(e.dataItemKey)(t.dataItem) !== void 0 ? e.select[H(e.dataItemKey)(t.dataItem)] : void 0
214
236
  ))
215
237
  }
216
238
  ),
217
239
  filterRow: e.filterable && /* @__PURE__ */ l.createElement(
218
- xt,
240
+ Bt,
219
241
  {
220
242
  cells: e.cells,
221
- size: w,
222
- columns: u.current,
243
+ size: E,
244
+ columns: m.current,
223
245
  filter: e.filter,
224
- filterOperators: e.filterOperators || He,
246
+ filterOperators: e.filterOperators || _e,
225
247
  sort: e.sort,
226
248
  cellRender: e.filterCellRender,
227
249
  navigatable: !!e.navigatable,
228
- ariaRowIndex: v.length + 1,
229
- localization: z
250
+ ariaRowIndex: G.length + 1,
251
+ localization: _
230
252
  }
231
253
  ) || void 0,
232
- cols: y.map((t, r) => /* @__PURE__ */ l.createElement("col", { key: r.toString(), width: p(t) }))
254
+ cols: b.map((t, r) => /* @__PURE__ */ l.createElement("col", { key: r.toString(), width: te(t) }))
233
255
  }
234
- ), tt = Qe.current || 0, lt = parseFloat(((e.style || {}).width || "").toString()), at = (t, r, o, d) => {
235
- let i = !1;
236
- const a = e.selectedField ? Fe(e.selectedField, t.dataItem) : e.select && e.dataItemKey && N(e.dataItemKey)(t.dataItem) !== void 0 ? e.select[N(e.dataItemKey)(t.dataItem)] : void 0;
237
- let c = 0;
238
- const { colSpans: f, hiddenColumns: g } = Ct({
256
+ ), mt = rt.current || 0, ut = parseFloat(((e.style || {}).width || "").toString()), ft = (t, r, d, o, i) => {
257
+ let a = !1;
258
+ const c = e.selectedField ? Pe(e.selectedField, t.dataItem) : e.select && e.dataItemKey && H(e.dataItemKey)(t.dataItem) !== void 0 ? e.select[H(e.dataItemKey)(t.dataItem)] : void 0;
259
+ let s = 0;
260
+ const { colSpans: h, hiddenColumns: T } = Ft({
239
261
  enabled: e.columnVirtualization,
240
- columns: y,
241
- tableViewPortWidth: lt,
242
- scrollLeft: tt,
243
- getColSpan: De,
262
+ columns: b,
263
+ tableViewPortWidth: ut,
264
+ scrollLeft: mt,
265
+ getColSpan: Ve,
244
266
  dataItem: t.dataItem
245
- }), E = y.filter((n, C) => !g[C]);
267
+ }), I = b.filter((n, y) => !T[y]);
246
268
  return {
247
- row: y.map((n, C) => {
248
- if (g[C])
269
+ row: b.map((n, y) => {
270
+ var Fe, De, Te, He;
271
+ if (T[y])
249
272
  return null;
250
- if (c > 0)
251
- return c--, null;
252
- const { colSpan: H, colsToSkip: A } = Je(
273
+ if (s > 0)
274
+ return s--, null;
275
+ let w;
276
+ if ((Fe = n.rowSpannable) != null && Fe.enabled && t.rowType === "data" && n.field && i) {
277
+ const S = n.field ? (Te = (De = n.rowSpannable).valueGetter) == null ? void 0 : Te.call(De, t.dataItem, n.field) : null;
278
+ w = { value: S, count: 1 }, i[n.field] && ((He = i[n.field]) == null ? void 0 : He.value) === S && i[n.field] !== null ? (i[n.field].count++, w.count = null) : i[n.field] = w;
279
+ }
280
+ const { colSpan: P, colsToSkip: Y } = at(
253
281
  n,
254
282
  t.dataItem,
255
- E,
256
- C,
257
- c,
258
- f[C]
283
+ I,
284
+ y,
285
+ s,
286
+ h[y]
259
287
  );
260
- c = A;
261
- const M = n.id ? n.id : C, W = m(s.contentSticky({ locked: n.locked }), n.className), it = n.left !== void 0 ? { left: n.left, right: n.right } : {};
262
- let Ge = !1;
288
+ s = Y;
289
+ const V = n.id ? n.id : y, ht = f(u.contentSticky({ locked: n.locked }), n.className), yt = n.left !== void 0 ? { left: n.left, right: n.right } : {};
290
+ let Z = !1;
263
291
  if (n.editable && (e.editable || e.editField)) {
264
- const B = e.editField ? Fe(e.editField, t.dataItem) : e.edit && e.dataItemKey ? e.edit[N(e.dataItemKey)(t.dataItem)] : void 0, Z = typeof B == "boolean" ? B : Array.isArray(B) ? B.indexOf(n.field) > -1 : n.field !== void 0 && B === n.field;
265
- Z && n.columnType === "data" && (Z === !0 || Z === n.field) && (i = !0, Ge = !0);
292
+ const S = e.editField ? Pe(e.editField, t.dataItem) : e.edit && e.dataItemKey ? e.edit[H(e.dataItemKey)(t.dataItem)] : void 0, p = typeof S == "boolean" ? S : Array.isArray(S) ? S.indexOf(n.field) > -1 : n.field !== void 0 && S === n.field;
293
+ p && n.columnType === "data" && (p === !0 || p === n.field) && (a = !0, Z = !0);
266
294
  }
267
- const Y = n.cell || Ge && Et || At, ot = e.expandField && e.detail && n.field === e.expandField || n._type === "expand", P = {
295
+ const q = n.cell || Z && Ht || Jt, Ct = e.expandField && e.detail && n.field === e.expandField || n._type === "expand", L = {
268
296
  locked: e.lockGroups,
269
- id: q.generateNavigatableId(
270
- `${r}-${String(C)}`,
297
+ id: ee.generateNavigatableId(
298
+ `${r}-${String(y)}`,
271
299
  x,
272
- ot || t.rowType === "groupHeader" || t.rowType === "groupFooter" || n.field === "value" ? "nodata" : "cell"
300
+ Ct || t.rowType === "groupHeader" || t.rowType === "groupFooter" || n.field === "value" ? "nodata" : "cell"
273
301
  ),
274
- colSpan: H,
302
+ colSpan: P,
275
303
  dataItem: t.dataItem,
276
304
  field: n.field,
277
305
  editor: n.editor,
278
306
  format: n.format,
279
307
  columnType: n.columnType,
280
- rowReorderable: G,
281
- className: W,
308
+ rowReorderable: N,
309
+ className: ht,
282
310
  render: e.cellRender,
283
- cells: Dt(e.cells, n.cells),
284
- columnIndex: C,
285
- columnsCount: y.length,
311
+ cells: Wt(e.cells, n.cells),
312
+ columnIndex: y,
313
+ columnsCount: b.length,
286
314
  rowType: t.rowType,
287
315
  level: t.level,
288
316
  expanded: t.expanded,
289
317
  dataIndex: t.dataIndex,
290
- rowDataIndex: o,
291
- columnPosition: it,
318
+ rowDataIndex: d,
319
+ columnPosition: yt,
292
320
  style: {},
293
321
  ariaColumnIndex: n.ariaColumnIndex,
294
- isSelected: (n == null ? void 0 : n._type) === "edit" ? a : Array.isArray(a) && a.indexOf(C) > -1,
295
- isSorted: !!Ne(n.field, e.sort),
296
- isInEdit: i,
297
- isAlt: d,
298
- unstyled: S,
322
+ isSelected: (n == null ? void 0 : n._type) === "edit" ? c : Array.isArray(c) && c.indexOf(y) > -1,
323
+ isSorted: !!Be(n.field, e.sort),
324
+ isInEdit: Z,
325
+ isAlt: o,
326
+ unstyled: k,
299
327
  group: t.group,
300
- localization: z,
301
- intl: Xe
328
+ localization: _,
329
+ intl: nt,
330
+ _rowSpan: w
302
331
  };
303
332
  return n.cell ? /* @__PURE__ */ l.createElement(
304
- pt,
333
+ ul,
305
334
  {
306
- key: M,
307
- isClient: Tt(Y),
308
- dataItem: P.dataItem,
309
- rowDataIndex: P.rowDataIndex,
310
- columnIndex: P.columnIndex
335
+ key: V,
336
+ isClient: jt(q),
337
+ dataItem: L.dataItem,
338
+ rowDataIndex: L.rowDataIndex,
339
+ columnIndex: L.columnIndex
311
340
  },
312
- /* @__PURE__ */ l.createElement(Y, { ...P })
313
- ) : /* @__PURE__ */ l.createElement(Y, { key: M, ...P });
341
+ /* @__PURE__ */ l.createElement(q, { ...L })
342
+ ) : /* @__PURE__ */ l.createElement(q, { key: V, ...L });
314
343
  }),
315
- isInEdit: i,
316
- isSelected: typeof a == "boolean" && a
344
+ isInEdit: a,
345
+ isSelected: typeof c == "boolean" && c
317
346
  };
318
347
  };
319
- let de = 0;
320
- if (k && U)
348
+ let me = 0;
349
+ if (D && U)
321
350
  for (let t = 0; t < U.topCacheCount + U.attendedSkip - (e.skip || 0); t++) {
322
- const r = b.shift();
351
+ const r = g.shift();
323
352
  if (r)
324
- b.push(r), de++, r.rowType === "groupHeader" && t--;
353
+ g.push(r), me++, r.rowType === "groupHeader" && t--;
325
354
  else
326
355
  break;
327
356
  }
328
- const ce = (t) => t >= b.length - de;
329
- let se = e.skip || 0;
330
- const Q = [], me = !b.length, ue = v.length + (e.filterable ? 1 : 0) + 1;
331
- let K = 0;
332
- if (b.length) {
357
+ const ue = (t) => t >= g.length - me;
358
+ let fe = e.skip || 0;
359
+ const Q = [], ge = !g.length, be = G.length + (e.filterable ? 1 : 0) + 1;
360
+ let B = 0;
361
+ if (g.length) {
333
362
  let t = -1, r = 0;
334
- (V || b).forEach((o, d) => {
335
- o.rowType === "data" && (se++, t++);
336
- const i = se % 2 === 0, a = e.dataItemKey && N(e.dataItemKey)(o.dataItem), c = d + (e.skip || 0), f = a || "ai" + c, g = f + "_1", E = at(o, f, t, i);
337
- if (K = c + ue + r, Q.push(
363
+ const d = ie.enabled ? {} : void 0;
364
+ (O || g).forEach((o, i) => {
365
+ o.rowType === "data" && (fe++, t++);
366
+ const a = fe % 2 === 0, c = e.dataItemKey && H(e.dataItemKey)(o.dataItem), s = i + (e.skip || 0), h = c || "ai" + s, T = h + "_1", I = ft(o, h, t, a, d);
367
+ if (B = s + be + r, Q.push(
338
368
  /* @__PURE__ */ l.createElement(
339
- Pt,
369
+ Qt,
340
370
  {
341
- key: f,
371
+ key: h,
342
372
  dataItem: o.dataItem,
343
- isAltRow: i,
344
- isInEdit: E.isInEdit,
373
+ isAltRow: a,
374
+ isInEdit: I.isInEdit,
345
375
  rowType: o.rowType,
346
- isRowReorderable: G,
347
- isHidden: ce(d),
376
+ isRowReorderable: N,
377
+ isHidden: ue(i),
348
378
  onClick: null,
349
379
  onDoubleClick: null,
350
380
  selectedField: e.selectedField,
351
381
  rowHeight: e.rowHeight,
352
382
  render: e.rowRender,
353
- ariaRowIndex: K,
354
- absoluteRowIndex: c,
355
- dataIndex: k && !e.groupable ? c : t,
356
- isSelected: E.isSelected
383
+ ariaRowIndex: B,
384
+ absoluteRowIndex: s,
385
+ dataIndex: D && !e.groupable ? s : t,
386
+ isSelected: I.isSelected,
387
+ rows: e.rows
357
388
  },
358
- E.row
389
+ I.row
359
390
  )
360
391
  ), e.detail && o.rowType === "data" && o.expanded) {
361
- const n = y.length - (e.expandField || T.enabled ? 1 : 0) - (e.group ? e.group.length : 0) || 1;
362
- r++, K = c + ue + r, Q.push(
392
+ const n = b.length - (e.expandField || A.enabled ? 1 : 0) - (e.group ? e.group.length : 0) || 1;
393
+ r++, B = s + be + r, Q.push(
363
394
  /* @__PURE__ */ l.createElement(
364
395
  "tr",
365
396
  {
366
- key: g,
367
- className: m(s.detailTr({ isAlt: i })),
397
+ key: T,
398
+ className: f(u.detailTr({ isAlt: a })),
368
399
  style: {
369
- visibility: ce(d) ? "hidden" : "",
400
+ visibility: ue(i) ? "hidden" : "",
370
401
  height: e.detailRowHeight
371
402
  },
372
403
  role: "row",
373
- "aria-rowindex": K
404
+ "aria-rowindex": B
374
405
  },
375
- e.group && e.group.map((C, H) => {
376
- var W;
377
- const A = (W = E == null ? void 0 : E.row[H]) == null ? void 0 : W.props.style, M = A ? { left: A.left, right: A.right } : {};
406
+ e.group && e.group.map((y, w) => {
407
+ var V;
408
+ const P = (V = I == null ? void 0 : I.row[w]) == null ? void 0 : V.props.style, Y = P ? { left: P.left, right: P.right } : {};
378
409
  return /* @__PURE__ */ l.createElement(
379
- Te,
410
+ Le,
380
411
  {
381
412
  id: "",
382
413
  dataIndex: o.dataIndex,
383
- field: C.field,
414
+ field: y.field,
384
415
  dataItem: o.dataItem,
385
- key: H,
386
- columnPosition: M,
416
+ key: w,
417
+ columnPosition: Y,
387
418
  style: {},
388
- ariaColumnIndex: 1 + H,
419
+ ariaColumnIndex: 1 + w,
389
420
  isSelected: !1,
390
421
  locked: e.lockGroups,
391
422
  cells: e.cells,
@@ -393,22 +424,22 @@ const al = l.forwardRef((e, ee) => {
393
424
  }
394
425
  );
395
426
  }),
396
- (e.expandField || T.enabled) && /* @__PURE__ */ l.createElement(
397
- Lt,
427
+ (e.expandField || A.enabled) && /* @__PURE__ */ l.createElement(
428
+ el,
398
429
  {
399
- unstyled: S,
400
- id: q.generateNavigatableId(`${g}-dhcell`, x)
430
+ unstyled: k,
431
+ id: ee.generateNavigatableId(`${T}-dhcell`, x)
401
432
  }
402
433
  ),
403
434
  /* @__PURE__ */ l.createElement(
404
- _t,
435
+ pt,
405
436
  {
406
437
  dataItem: o.dataItem,
407
438
  dataIndex: o.dataIndex,
408
439
  colSpan: n,
409
440
  ariaColIndex: 2 + (e.group ? e.group.length : 0),
410
441
  detail: e.detail,
411
- id: q.generateNavigatableId(`${g}-dcell`, x)
442
+ id: ee.generateNavigatableId(`${T}-dcell`, x)
412
443
  }
413
444
  )
414
445
  )
@@ -416,172 +447,174 @@ const al = l.forwardRef((e, ee) => {
416
447
  }
417
448
  });
418
449
  }
419
- const fe = {
420
- size: w,
421
- total: I,
450
+ const he = {
451
+ size: E,
452
+ total: v,
422
453
  skip: e.skip || 0,
423
454
  take: (e.take !== void 0 ? e.take : e.pageSize) || 10,
424
- ...zt(e.pageable || {})
425
- }, ge = /* @__PURE__ */ l.createElement($t, null, e.pager ? /* @__PURE__ */ l.createElement(e.pager, { ...fe }) : /* @__PURE__ */ l.createElement(bt, { className: m(s.pager({})), ...fe })), rt = (t, r) => /* @__PURE__ */ l.createElement("col", { key: r.toString(), width: p(t) }), nt = (Se = e.cells) != null && Se.footerCell || u.current.some((t) => {
455
+ ...Zt(e.pageable || {})
456
+ }, ye = /* @__PURE__ */ l.createElement(rl, null, e.pager ? /* @__PURE__ */ l.createElement(e.pager, { ...he }) : /* @__PURE__ */ l.createElement(kt, { className: f(u.pager({})), ...he })), gt = (t, r) => /* @__PURE__ */ l.createElement("col", { key: r.toString(), width: te(t) }), bt = (Ne = e.cells) != null && Ne.footerCell || m.current.some((t) => {
426
457
  var r;
427
458
  return !!(t.footerCell || (r = t.cells) != null && r.footerCell);
428
459
  }) ? /* @__PURE__ */ l.createElement(
429
- St,
460
+ Vt,
430
461
  {
431
- size: w,
462
+ size: E,
432
463
  staticHeaders: e.scrollable !== "none",
433
464
  row: /* @__PURE__ */ l.createElement(
434
- Vt,
465
+ Yt,
435
466
  {
436
467
  cells: e.cells,
437
468
  idPrefix: x,
438
- columns: u.current,
439
- ariaRowIndex: K + 1
469
+ columns: m.current,
470
+ ariaRowIndex: B + 1
440
471
  }
441
472
  ),
442
- cols: y.map(rt)
473
+ cols: b.map(gt)
443
474
  }
444
- ) : null, be = /* @__PURE__ */ l.createElement(Wt, null, y.map((t, r) => /* @__PURE__ */ l.createElement(
475
+ ) : null, Ce = /* @__PURE__ */ l.createElement(ll, null, b.map((t, r) => /* @__PURE__ */ l.createElement(
445
476
  "col",
446
477
  {
447
478
  key: r.toString(),
448
- className: Ne(t.field, e.sort) ? m(s.sorted({})) : void 0,
449
- width: p(t)
479
+ className: Be(t.field, e.sort) ? f(u.sorted({})) : void 0,
480
+ width: te(t)
450
481
  }
451
- ))), ye = e.reorderable || D, { detail: rl, cells: nl, ...Ce } = e, he = /* @__PURE__ */ l.createElement(
482
+ ))), we = e.reorderable || K, { detail: yl, cells: Cl, rows: wl, ...Ee } = e, Ie = /* @__PURE__ */ l.createElement(
452
483
  "tbody",
453
484
  {
454
485
  role: "rowgroup",
455
- className: m(s.tbody({})),
456
- ...yt
486
+ className: f(u.tbody({})),
487
+ ...Nt
457
488
  },
458
489
  Q
459
490
  );
460
- let X = he;
461
- if (G && (X = /* @__PURE__ */ l.createElement(
462
- el,
491
+ let X = Ie;
492
+ if (N && (X = /* @__PURE__ */ l.createElement(
493
+ fl,
463
494
  {
464
- unstyled: s,
465
- columns: u.current,
495
+ unstyled: u,
496
+ columns: m.current,
466
497
  rowReorderSettings: e.rowReorderable
467
498
  },
468
- he
499
+ Ie
469
500
  )), e.scrollable === "none")
470
501
  return /* @__PURE__ */ l.createElement(
471
- Pe,
502
+ Me,
472
503
  {
473
- gridRef: ee,
474
- gridProps: Ce,
504
+ gridRef: le,
505
+ gridProps: Ee,
475
506
  columnsRef: $(),
476
- columnsMapRef: v,
477
- dataRef: b,
478
- slicedData: V,
507
+ columnsMapRef: G,
508
+ dataRef: g,
509
+ slicedData: O,
479
510
  isFixedVirtualScroll: J === j,
480
511
  id: R,
481
- total: I,
512
+ total: v,
482
513
  detailExpandable: !!e.detail
483
514
  },
484
- /* @__PURE__ */ l.createElement(Oe, null, /* @__PURE__ */ l.createElement(
515
+ /* @__PURE__ */ l.createElement(Ue, null, /* @__PURE__ */ l.createElement(
485
516
  "div",
486
517
  {
487
518
  id: e.id,
488
519
  style: e.style,
489
- className: m(s.wrapper({ size: w }), e.className),
520
+ className: f(u.wrapper({ size: E }), e.className),
490
521
  "aria-label": e.ariaLabel,
491
- ...ke
522
+ ...Ke
492
523
  },
493
- re,
494
- ie,
524
+ oe,
525
+ ce,
495
526
  /* @__PURE__ */ l.createElement(
496
- jt,
527
+ al,
497
528
  {
498
529
  selectable: e.selectable,
499
- className: m(s.table({ size: w }))
530
+ className: f(u.table({ size: E }))
500
531
  },
501
- be,
502
- oe,
503
- /* @__PURE__ */ l.createElement(ze, { rowReorderable: G }, X)
532
+ Ce,
533
+ se,
534
+ /* @__PURE__ */ l.createElement($e, { rowReorderable: N }, X)
504
535
  ),
505
- me && /* @__PURE__ */ l.createElement(Ae, null, _.length ? _ : /* @__PURE__ */ l.createElement(Ke, null)),
506
- ye && /* @__PURE__ */ l.createElement(l.Fragment, null, /* @__PURE__ */ l.createElement(Be, null), /* @__PURE__ */ l.createElement(Ve, null))
536
+ ge && /* @__PURE__ */ l.createElement(ze, null, M.length ? M : /* @__PURE__ */ l.createElement(Oe, null)),
537
+ we && /* @__PURE__ */ l.createElement(l.Fragment, null, /* @__PURE__ */ l.createElement(We, null), /* @__PURE__ */ l.createElement(je, null))
507
538
  )),
508
- ne,
509
- e.pageable && ge
539
+ de,
540
+ e.pageable && ye,
541
+ /* @__PURE__ */ l.createElement(Qe, { loader: e.loader, showLoader: e.showLoader })
510
542
  );
511
- let L = e.style || {};
512
- return k && (L.height || (L = Object.assign({}, L, { height: "450px" }))), /* @__PURE__ */ l.createElement(
513
- Pe,
543
+ let W = e.style || {};
544
+ return D && (W.height || (W = Object.assign({}, W, { height: "450px" }))), /* @__PURE__ */ l.createElement(
545
+ Me,
514
546
  {
515
- gridRef: ee,
516
- gridProps: Ce,
547
+ gridRef: le,
548
+ gridProps: Ee,
517
549
  columnsRef: $(),
518
- columnsMapRef: v,
519
- dataRef: b,
520
- slicedData: V,
550
+ columnsMapRef: G,
551
+ dataRef: g,
552
+ slicedData: O,
521
553
  isFixedVirtualScroll: J === j,
522
554
  id: R,
523
- total: I,
555
+ total: v,
524
556
  detailExpandable: !!e.detail
525
557
  },
526
- /* @__PURE__ */ l.createElement(Oe, null, /* @__PURE__ */ l.createElement(
558
+ /* @__PURE__ */ l.createElement(Ue, null, /* @__PURE__ */ l.createElement(
527
559
  "div",
528
560
  {
529
561
  id: e.id,
530
- style: L,
531
- className: m(
532
- s.wrapper({
533
- size: w,
534
- virtual: k
562
+ style: W,
563
+ className: f(
564
+ u.wrapper({
565
+ size: E,
566
+ virtual: D
535
567
  }),
536
568
  e.className
537
569
  ),
538
570
  "aria-label": e.ariaLabel,
539
- ...ke
571
+ ...Ke
540
572
  },
541
- re,
542
- ie,
573
+ oe,
574
+ ce,
543
575
  /* @__PURE__ */ l.createElement(
544
576
  "div",
545
577
  {
546
- className: m(s.ariaRoot({})),
578
+ className: f(u.ariaRoot({})),
547
579
  role: "grid",
548
- "aria-colcount": y.length,
549
- "aria-rowcount": I,
580
+ "aria-colcount": b.length,
581
+ "aria-rowcount": v,
550
582
  id: R,
551
- "aria-label": z.toLanguageString(_e, Zt[_e])
583
+ "aria-label": _.toLanguageString(Je, sl[Je])
552
584
  },
553
- oe,
554
- /* @__PURE__ */ l.createElement("div", { className: m(s.container({})), role: "presentation" }, /* @__PURE__ */ l.createElement(Jt, null, /* @__PURE__ */ l.createElement("div", { className: m(s.content({})), role: "presentation" }, /* @__PURE__ */ l.createElement("div", { className: m(s.tableWrap({})), role: "presentation" }, /* @__PURE__ */ l.createElement(
555
- Ut,
585
+ se,
586
+ /* @__PURE__ */ l.createElement("div", { className: f(u.container({})), role: "presentation" }, /* @__PURE__ */ l.createElement(il, null, /* @__PURE__ */ l.createElement("div", { className: f(u.content({})), role: "presentation" }, /* @__PURE__ */ l.createElement("div", { className: f(u.tableWrap({})), role: "presentation" }, /* @__PURE__ */ l.createElement(
587
+ nl,
556
588
  {
557
589
  selectable: e.selectable,
558
- tableClassName: m(
559
- s.table({
560
- size: w
590
+ tableClassName: f(
591
+ u.table({
592
+ size: E
561
593
  })
562
594
  ),
563
- tableStyle: { userSelect: et }
595
+ tableStyle: { userSelect: st }
564
596
  },
565
- be,
566
- /* @__PURE__ */ l.createElement(ze, { rowReorderable: G }, X)
567
- ), me && /* @__PURE__ */ l.createElement(Ae, null, _.length ? _ : /* @__PURE__ */ l.createElement(Ke, null))), k && /* @__PURE__ */ l.createElement(
597
+ Ce,
598
+ /* @__PURE__ */ l.createElement($e, { rowReorderable: N }, X)
599
+ ), ge && /* @__PURE__ */ l.createElement(ze, null, M.length ? M : /* @__PURE__ */ l.createElement(Oe, null))), D && /* @__PURE__ */ l.createElement(
568
600
  "div",
569
601
  {
570
- className: m(s.heightContainer({})),
602
+ className: f(u.heightContainer({})),
571
603
  role: "presentation"
572
604
  },
573
- /* @__PURE__ */ l.createElement(Qt, { isVirtualScroll: k })
605
+ /* @__PURE__ */ l.createElement(ol, { isVirtualScroll: D })
574
606
  )))),
575
- nt,
576
- ye && /* @__PURE__ */ l.createElement(l.Fragment, null, /* @__PURE__ */ l.createElement(Be, null), /* @__PURE__ */ l.createElement(Ve, null)),
577
- /* @__PURE__ */ l.createElement(Mt, null)
607
+ bt,
608
+ we && /* @__PURE__ */ l.createElement(l.Fragment, null, /* @__PURE__ */ l.createElement(We, null), /* @__PURE__ */ l.createElement(je, null)),
609
+ /* @__PURE__ */ l.createElement(tl, null)
578
610
  ),
579
- ne,
580
- e.pageable && ge
611
+ de,
612
+ e.pageable && ye,
613
+ /* @__PURE__ */ l.createElement(Qe, { loader: e.loader, showLoader: e.showLoader })
581
614
  ))
582
615
  );
583
616
  });
584
- al.displayName = "KendoReactGridComponent";
617
+ hl.displayName = "KendoReactGridComponent";
585
618
  export {
586
- al as GridComponent
619
+ hl as GridComponent
587
620
  };