@progress/kendo-react-grid 9.4.0-develop.9 → 9.4.1-develop.1

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