@progress/kendo-react-grid 14.5.0-develop.3 → 14.5.0-develop.4
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.
- package/GridClientWrapper.js +1 -1
- package/GridClientWrapper.mjs +288 -283
- package/GridComponent.js +1 -1
- package/GridComponent.mjs +271 -260
- package/dist/cdn/js/kendo-react-grid.js +1 -1
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +17 -17
package/GridComponent.mjs
CHANGED
|
@@ -6,43 +6,43 @@
|
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
8
|
import * as n from "react";
|
|
9
|
-
import { uGrid as
|
|
10
|
-
import { getDetailExpandableOptions as
|
|
11
|
-
import { GridHierarchyCell as
|
|
12
|
-
import { Header as
|
|
13
|
-
import { HeaderRow as
|
|
14
|
-
import { FilterRow as
|
|
15
|
-
import { GroupPanel as
|
|
16
|
-
import { Footer as
|
|
17
|
-
import { isRowReorderEnabled as
|
|
18
|
-
import { normalizeAutoProcessData as
|
|
19
|
-
import { orderBy as
|
|
20
|
-
import { GridGroupCell as
|
|
21
|
-
import { GridHeaderGroupSpacerCell as
|
|
22
|
-
import { GridHeaderSelectionCell as
|
|
23
|
-
import { GridNoRecords as
|
|
24
|
-
import { operators as
|
|
25
|
-
import { FooterRow as
|
|
26
|
-
import { normalize as
|
|
27
|
-
import { packageMetadata as
|
|
28
|
-
import { GridDetailCell as
|
|
29
|
-
import { GridNoRecordsContainer as
|
|
30
|
-
import { GridClientWrapper as
|
|
31
|
-
import { GridColGroup as
|
|
32
|
-
import { GridTable as
|
|
33
|
-
import { GridDropClue as
|
|
34
|
-
import { GridDragClue as
|
|
35
|
-
import { GridTableBody as
|
|
36
|
-
import { PagerContainer as
|
|
37
|
-
import { GridTableScrollable as
|
|
38
|
-
import { GridElementContainer as
|
|
39
|
-
import { GridContainerElementContainer as
|
|
40
|
-
import { VirtualScrollHeightContainer as
|
|
41
|
-
import { gridAriaLabel as
|
|
9
|
+
import { uGrid as At, hasValidLicense as Ft, getLicenseMessage as Ot, validatePackage as _t, getter as p, classNames as c, WatermarkOverlay as Ze } from "@progress/kendo-react-common";
|
|
10
|
+
import { getDetailExpandableOptions as Vt, getGroupExpandableOptions as jt, getSelectionOptions as $t, tableKeyboardNavigationTools as j, Pager as Zt, tableKeyboardNavigationBodyAttributes as Ut, tableKeyboardNavigationScopeAttributes as Ue } from "@progress/kendo-react-data-tools";
|
|
11
|
+
import { GridHierarchyCell as qt } from "./cells/hierarchycell/GridHierarchyCell.mjs";
|
|
12
|
+
import { Header as Jt } from "./header/Header.mjs";
|
|
13
|
+
import { HeaderRow as Qt } from "./header/HeaderRow.mjs";
|
|
14
|
+
import { FilterRow as Xt } from "./header/FilterRow.mjs";
|
|
15
|
+
import { GroupPanel as Yt } from "./header/GroupPanel.mjs";
|
|
16
|
+
import { Footer as pt } from "./footer/Footer.mjs";
|
|
17
|
+
import { isRowReorderEnabled as ea, getRowSpanOptions as qe, getColumnWidth as ee, isSorted as ta, flatData as aa, autoGenerateColumns as la, mapColumns as na, clientColumn as ia, getColSpan as ra, readColumns as oa, getFlatColumnsState as da, getColumnState as te } from "./utils/index.mjs";
|
|
18
|
+
import { normalizeAutoProcessData as sa, processData as ma } from "./utils/dataProcessing.mjs";
|
|
19
|
+
import { orderBy as Je } from "@progress/kendo-data-query";
|
|
20
|
+
import { GridGroupCell as ca } from "./cells/groupcell/GridGroupCell.mjs";
|
|
21
|
+
import { GridHeaderGroupSpacerCell as ua } from "./header/GridHeaderGroupSpacerCell.mjs";
|
|
22
|
+
import { GridHeaderSelectionCell as fa } from "./header/GridHeaderSelectionCell.mjs";
|
|
23
|
+
import { GridNoRecords as Qe } from "./components/noRecords/GridNoRecords.mjs";
|
|
24
|
+
import { operators as Xe } from "./filterCommon.mjs";
|
|
25
|
+
import { FooterRow as ga } from "./footer/FooterRow.mjs";
|
|
26
|
+
import { normalize as ba } from "./paging/GridPagerSettings.mjs";
|
|
27
|
+
import { packageMetadata as ae } from "./package-metadata.mjs";
|
|
28
|
+
import { GridDetailCell as ha } from "./cells/detailcell/GridDetailCell.mjs";
|
|
29
|
+
import { GridNoRecordsContainer as Ye } from "./components/noRecords/GridNoRecordsContainer.mjs";
|
|
30
|
+
import { GridClientWrapper as pe } from "./GridClientWrapper.mjs";
|
|
31
|
+
import { GridColGroup as wa } from "./components/colGroup/GridColGroup.mjs";
|
|
32
|
+
import { GridTable as Ca } from "./components/table/GridTable.mjs";
|
|
33
|
+
import { GridDropClue as et } from "./components/GridDropClue.mjs";
|
|
34
|
+
import { GridDragClue as tt } from "./components/GridDragClue.mjs";
|
|
35
|
+
import { GridTableBody as at } from "./components/table/GridTableBody.mjs";
|
|
36
|
+
import { PagerContainer as Ra } from "./components/PagerContainer.mjs";
|
|
37
|
+
import { GridTableScrollable as ya } from "./components/table/GridTableScrollable.mjs";
|
|
38
|
+
import { GridElementContainer as lt } from "./components/GridElementContainer.mjs";
|
|
39
|
+
import { GridContainerElementContainer as Ea } from "./components/GridContainerElementContainer.mjs";
|
|
40
|
+
import { VirtualScrollHeightContainer as Sa } from "./components/VirtualScrollHeightContainer.mjs";
|
|
41
|
+
import { gridAriaLabel as $, messages as nt } from "./messages/index.mjs";
|
|
42
42
|
import { GridReorderableRowsContainer as va } from "./components/GridDraggableRowsContainer.mjs";
|
|
43
43
|
import { GridRowReorderCell as Ga } from "./cells/rowreordercell/GridRowReorderCell.mjs";
|
|
44
44
|
import { GridHeaderRowReorderCell as Ia } from "./header/client/GridHeaderRowReorderCell.mjs";
|
|
45
|
-
import { GridLoader as
|
|
45
|
+
import { GridLoader as it } from "./components/GridLoader.mjs";
|
|
46
46
|
import { gridPremiumFeatures as ka } from "./utils/premium.mjs";
|
|
47
47
|
import { LocalizationService as xa, IntlService as Ha } from "@progress/kendo-react-intl";
|
|
48
48
|
import { getVirtualCellsToRender as La } from "./utils/virtualColumns.mjs";
|
|
@@ -59,15 +59,15 @@ import { GridHeaderPinCell as Aa } from "./header/client/GridHeaderPinCell.mjs";
|
|
|
59
59
|
import { StackedModeColGroup as Fa } from "./stacked/StackedModeComponents.mjs";
|
|
60
60
|
import { GridRowRenderer as Oa } from "./rows/GridRowRenderer.mjs";
|
|
61
61
|
import { GridDetailRowRenderer as _a } from "./rows/GridDetailRowRenderer.mjs";
|
|
62
|
-
import { StickyGroupTable as
|
|
63
|
-
import { PinnedRowsTable as
|
|
62
|
+
import { StickyGroupTable as rt } from "./components/StickyGroupTable.mjs";
|
|
63
|
+
import { PinnedRowsTable as ot } from "./components/PinnedRowsTable.mjs";
|
|
64
64
|
import { getRowContents as Va } from "./getRowContents.mjs";
|
|
65
|
-
const ja = n.forwardRef((e,
|
|
66
|
-
var
|
|
67
|
-
const
|
|
65
|
+
const ja = n.forwardRef((e, dt) => {
|
|
66
|
+
var De, Te, Pe, Be, Me, ze, Ke, We, Ae, Fe, Oe, _e, Ve, je;
|
|
67
|
+
const G = e.id + "-role-element-id", E = e.navigatable ? G : "";
|
|
68
68
|
let w = e.columnsState || [];
|
|
69
|
-
const
|
|
70
|
-
const h = [], F =
|
|
69
|
+
const st = (t, i, r, o, a, l, d) => {
|
|
70
|
+
const h = [], F = aa(
|
|
71
71
|
h,
|
|
72
72
|
t,
|
|
73
73
|
i,
|
|
@@ -75,16 +75,16 @@ const ja = n.forwardRef((e, ot) => {
|
|
|
75
75
|
o !== void 0,
|
|
76
76
|
a,
|
|
77
77
|
l,
|
|
78
|
-
|
|
78
|
+
It.defaultExpand,
|
|
79
79
|
d
|
|
80
80
|
);
|
|
81
81
|
return { flattedData: h, resolvedGroupsCount: F };
|
|
82
|
-
},
|
|
82
|
+
}, mt = (t) => {
|
|
83
83
|
const i = t.filter(
|
|
84
84
|
(r) => r && r.type && r.type.displayName === "KendoReactGridColumn"
|
|
85
85
|
);
|
|
86
|
-
return
|
|
87
|
-
},
|
|
86
|
+
return oa(i, w, { prevId: 0, idPrefix: E });
|
|
87
|
+
}, ct = () => {
|
|
88
88
|
const t = [], i = (r, o) => r == null ? void 0 : r.forEach((a) => {
|
|
89
89
|
const l = a.hidden || o;
|
|
90
90
|
t.push({
|
|
@@ -93,8 +93,8 @@ const ja = n.forwardRef((e, ot) => {
|
|
|
93
93
|
}), i(a.children, l);
|
|
94
94
|
});
|
|
95
95
|
return i(w, !1), t;
|
|
96
|
-
},
|
|
97
|
-
const i =
|
|
96
|
+
}, ut = (t) => {
|
|
97
|
+
const i = ct();
|
|
98
98
|
return [
|
|
99
99
|
t.filter((r) => {
|
|
100
100
|
var o;
|
|
@@ -105,8 +105,8 @@ const ja = n.forwardRef((e, ot) => {
|
|
|
105
105
|
return r.hidden || ((o = i.find((a) => a.id === r.id)) == null ? void 0 : o.hidden);
|
|
106
106
|
})
|
|
107
107
|
];
|
|
108
|
-
},
|
|
109
|
-
s =
|
|
108
|
+
}, ft = (t, i) => {
|
|
109
|
+
s = mt(t), s.filter((a) => !a.hidden).length === 0 && (s = la(
|
|
110
110
|
C,
|
|
111
111
|
e.group,
|
|
112
112
|
{
|
|
@@ -114,12 +114,12 @@ const ja = n.forwardRef((e, ot) => {
|
|
|
114
114
|
},
|
|
115
115
|
{
|
|
116
116
|
prevId: 0,
|
|
117
|
-
idPrefix:
|
|
117
|
+
idPrefix: E
|
|
118
118
|
}
|
|
119
|
-
)),
|
|
120
|
-
const [r, o] =
|
|
121
|
-
s = r,
|
|
122
|
-
},
|
|
119
|
+
)), bt(s, i);
|
|
120
|
+
const [r, o] = ut(s);
|
|
121
|
+
s = r, ie = o, N = na(s, w, !0), re = s.map(ia);
|
|
122
|
+
}, gt = (t, i) => {
|
|
123
123
|
const r = (o) => {
|
|
124
124
|
var l;
|
|
125
125
|
const a = i.find((d) => d.id === o.id);
|
|
@@ -127,19 +127,19 @@ const ja = n.forwardRef((e, ot) => {
|
|
|
127
127
|
const d = { ...a };
|
|
128
128
|
return d.children = (l = o.children) == null ? void 0 : l.map(r), d;
|
|
129
129
|
}
|
|
130
|
-
return
|
|
130
|
+
return te(o);
|
|
131
131
|
};
|
|
132
132
|
w = t.filter((o) => o.parentIndex === -1).map(r);
|
|
133
|
-
},
|
|
133
|
+
}, bt = (t, i) => {
|
|
134
134
|
t.filter((l) => l.columnType === "checkbox").forEach((l) => {
|
|
135
|
-
l.width = l.width || "50px", l.defaultCell = e.isClient ? Ta : Da, l.defaultHeaderCell =
|
|
136
|
-
}),
|
|
135
|
+
l.width = l.width || "50px", l.defaultCell = e.isClient ? Ta : Da, l.defaultHeaderCell = fa, l._type = "edit";
|
|
136
|
+
}), k !== void 0 && t.filter((l) => l.columnType === "reorder").forEach((l) => {
|
|
137
137
|
l.width = l.width || "50px", l.defaultCell = e.isClient ? Ga : Ba, l.defaultHeaderCell = Ia, l.sortable = !1, l.filterable = !1, l.editable = !1;
|
|
138
138
|
}), e.pinnable && t.filter((l) => l.columnType === "pin").forEach((l) => {
|
|
139
139
|
l.width = l.width || "48px", l.defaultCell = e.isClient ? Ka : Wa, l.defaultHeaderCell = Aa, l.sortable = !1, l.filterable = !1, l.editable = !1;
|
|
140
140
|
});
|
|
141
|
-
const r =
|
|
142
|
-
|
|
141
|
+
const r = da(w);
|
|
142
|
+
gt(t, r);
|
|
143
143
|
const o = {
|
|
144
144
|
id: "",
|
|
145
145
|
resizable: !0,
|
|
@@ -166,53 +166,53 @@ const ja = n.forwardRef((e, ot) => {
|
|
|
166
166
|
...o,
|
|
167
167
|
_type: "expand",
|
|
168
168
|
id: j.generateNavigatableId(`${a++}`, "expand", "column"),
|
|
169
|
-
defaultCell: e.isClient ?
|
|
169
|
+
defaultCell: e.isClient ? qt : Pa,
|
|
170
170
|
field: v.column,
|
|
171
171
|
headerClassName: c(m.hierarchyCell({}))
|
|
172
172
|
};
|
|
173
|
-
t.unshift(l), w.unshift(r.find((d) => d.id === l.id) ||
|
|
173
|
+
t.unshift(l), w.unshift(r.find((d) => d.id === l.id) || te(l));
|
|
174
174
|
}
|
|
175
175
|
for (let l = 0; l < i; l++) {
|
|
176
176
|
const d = {
|
|
177
177
|
...o,
|
|
178
178
|
isAccessible: !1,
|
|
179
|
-
defaultCell: e.isClient ?
|
|
180
|
-
defaultHeaderCell:
|
|
179
|
+
defaultCell: e.isClient ? ca : za,
|
|
180
|
+
defaultHeaderCell: ua,
|
|
181
181
|
id: j.generateNavigatableId(`${a++}`, "group", "column"),
|
|
182
182
|
field: "value",
|
|
183
183
|
locked: e.lockGroups
|
|
184
184
|
};
|
|
185
|
-
t.unshift(d), w.unshift(r.find((h) => h.id === d.id) ||
|
|
185
|
+
t.unshift(d), w.unshift(r.find((h) => h.id === d.id) || te(d));
|
|
186
186
|
}
|
|
187
187
|
t.slice(a).forEach((l) => {
|
|
188
|
-
l.parentIndex >= 0 && (l.parentIndex += a), l.rowSpannable = l.rowSpannable !== void 0 ?
|
|
188
|
+
l.parentIndex >= 0 && (l.parentIndex += a), l.rowSpannable = l.rowSpannable !== void 0 ? qe(l.rowSpannable) : me;
|
|
189
189
|
});
|
|
190
|
-
},
|
|
190
|
+
}, le = () => e.isClient ? s : re, ne = (t) => {
|
|
191
191
|
const i = [];
|
|
192
192
|
let r = null, o = 0;
|
|
193
|
-
if (
|
|
193
|
+
if (u.forEach((a, l) => {
|
|
194
194
|
let d = parseFloat((a.width || "").toString()) || 10;
|
|
195
195
|
if (typeof (a == null ? void 0 : a.width) == "number" && (a != null && a.minResizableWidth) && (a == null ? void 0 : a.width) < (a == null ? void 0 : a.minResizableWidth) && (d = a == null ? void 0 : a.minResizableWidth), typeof (a == null ? void 0 : a.width) == "number" && (a != null && a.minWidth) && (a == null ? void 0 : a.width) < (a == null ? void 0 : a.minWidth) ? d = a == null ? void 0 : a.minWidth : typeof (a == null ? void 0 : a.width) == "number" && (a != null && a.maxWidth) && (a == null ? void 0 : a.width) > (a == null ? void 0 : a.maxWidth) && (d = a == null ? void 0 : a.maxWidth), o) {
|
|
196
196
|
o--, r && (r.width += d);
|
|
197
197
|
return;
|
|
198
198
|
}
|
|
199
|
-
const h = Math.min(
|
|
199
|
+
const h = Math.min(ra(a, t), u.length - l);
|
|
200
200
|
o = h - 1, r = {
|
|
201
201
|
width: d,
|
|
202
202
|
colSpan: h,
|
|
203
203
|
columnIndex: l
|
|
204
204
|
}, i.push(r);
|
|
205
205
|
}), e.columnVirtualization) {
|
|
206
|
-
const a =
|
|
206
|
+
const a = wt.current || 0, l = Ct.current || parseFloat(((e.style || {}).width || "").toString());
|
|
207
207
|
return La({
|
|
208
208
|
cellModels: i,
|
|
209
|
-
columns:
|
|
209
|
+
columns: u,
|
|
210
210
|
tableViewPortWidth: l,
|
|
211
211
|
scrollLeft: a
|
|
212
212
|
});
|
|
213
213
|
}
|
|
214
214
|
return i;
|
|
215
|
-
},
|
|
215
|
+
}, ht = () => {
|
|
216
216
|
const { pageable: t, take: i, pageSize: r } = e;
|
|
217
217
|
if (!R)
|
|
218
218
|
return 0;
|
|
@@ -222,15 +222,15 @@ const ja = n.forwardRef((e, ot) => {
|
|
|
222
222
|
if (r)
|
|
223
223
|
return r;
|
|
224
224
|
}
|
|
225
|
-
const o = e.rowHeight ||
|
|
225
|
+
const o = e.rowHeight || yt.current, a = Rt.current;
|
|
226
226
|
return a && o ? Math.ceil(a / o * 1.5) : 0;
|
|
227
227
|
};
|
|
228
|
-
let
|
|
229
|
-
const
|
|
230
|
-
let C,
|
|
231
|
-
if (Array.isArray(e.data) ? (C = e.data,
|
|
232
|
-
const t =
|
|
233
|
-
autoProcessData:
|
|
228
|
+
let f = [], Z, s = [], ie = [], re = [], N = [[]];
|
|
229
|
+
const wt = e.scrollLeftRef || { current: 0 }, Ct = e.widthRef || { current: 0 }, Rt = e.containerHeightRef || { current: 0 }, yt = e.minRowHeightRef || { current: 0 }, D = e.localization || new xa(e.language), Et = e.intl || new Ha((De = e.locale) != null ? De : "en"), I = e.unstyled, m = I && I.uGrid ? I.uGrid : At, k = ea(e.rowReorderable), R = e.scrollable === "virtual" || e.scrollable === void 0 && e.isClient && Ft(ae) || !1, b = e.dataLayoutMode === "stacked", S = ((Te = e.group) == null ? void 0 : Te.length) || 0, oe = Ot(ae), x = sa(e.autoProcessData);
|
|
230
|
+
let C, y;
|
|
231
|
+
if (Array.isArray(e.data) ? (C = e.data, y = (Pe = e.total) != null ? Pe : C.length) : (C = ((Be = e.data) == null ? void 0 : Be.data) || [], y = (Ke = (ze = e.total) != null ? ze : (Me = e.data) == null ? void 0 : Me.total) != null ? Ke : C.length), x) {
|
|
232
|
+
const t = ma(C, {
|
|
233
|
+
autoProcessData: x,
|
|
234
234
|
group: e.group,
|
|
235
235
|
sort: e.sort,
|
|
236
236
|
filter: e.filter,
|
|
@@ -242,49 +242,49 @@ const ja = n.forwardRef((e, ot) => {
|
|
|
242
242
|
isVirtualScroll: R,
|
|
243
243
|
includePaging: !0
|
|
244
244
|
});
|
|
245
|
-
C = t.data,
|
|
245
|
+
C = t.data, y = t.total;
|
|
246
246
|
}
|
|
247
|
-
const B = C.length ===
|
|
247
|
+
const B = C.length === y, { size: g } = e, St = typeof e.groupable == "object" && e.groupable.footer || "none", vt = typeof e.groupable == "object" && !!e.groupable.stickyHeaders, Gt = typeof e.groupable == "object" && !!e.groupable.stickyFooters, M = e.groupable === !0 || typeof e.groupable == "object" && e.groupable.enabled !== !1, v = Vt(!!e.detail), It = jt(
|
|
248
248
|
typeof e.groupable == "object" && e.groupable.enabled !== !1 ? e.groupable.expandable : e.groupable
|
|
249
|
-
), z = !!((
|
|
249
|
+
), z = !!((We = e.group) != null && We.length), { resolvedGroupsCount: kt, flattedData: xt } = st(
|
|
250
250
|
C,
|
|
251
|
-
|
|
251
|
+
St,
|
|
252
252
|
B ? 0 : e.skip || 0,
|
|
253
253
|
e.group,
|
|
254
254
|
e.detailExpand,
|
|
255
255
|
e.groupExpand,
|
|
256
256
|
e.dataItemKey
|
|
257
257
|
);
|
|
258
|
-
|
|
259
|
-
const
|
|
260
|
-
let
|
|
258
|
+
f = xt;
|
|
259
|
+
const U = ht(), K = ((Ae = e.virtualSkipRef) == null ? void 0 : Ae.current) || 0;
|
|
260
|
+
let de = y;
|
|
261
261
|
if (R) {
|
|
262
262
|
let t = e.skip || 0;
|
|
263
|
-
if ((z || e.pageable) && (t = K,
|
|
264
|
-
if (
|
|
265
|
-
const i = Math.min(e.take || e.pageSize || 20,
|
|
266
|
-
|
|
263
|
+
if ((z || e.pageable) && (t = K, de = f.length), B || z || e.pageable)
|
|
264
|
+
if (U === 0) {
|
|
265
|
+
const i = Math.min(e.take || e.pageSize || 20, f.length);
|
|
266
|
+
Z = f.slice(t, t + i);
|
|
267
267
|
} else
|
|
268
|
-
|
|
268
|
+
Z = f.slice(t, t + U);
|
|
269
269
|
}
|
|
270
|
-
const
|
|
271
|
-
|
|
272
|
-
const
|
|
270
|
+
const se = $t(e.selectable), me = qe(e.rowSpannable), Ht = se && se.drag ? "none" : void 0, W = n.useMemo(() => n.Children.toArray(e.children), [e.children]);
|
|
271
|
+
ft(W, kt);
|
|
272
|
+
const q = n.useMemo(() => {
|
|
273
273
|
const t = ka(e, s);
|
|
274
274
|
return {
|
|
275
275
|
premium: t.length > 0,
|
|
276
276
|
features: t
|
|
277
277
|
};
|
|
278
|
-
}, [e, s]),
|
|
278
|
+
}, [e, s]), ce = n.useMemo(() => q.premium ? !_t(ae, { component: "Grid", features: q.features }) : !1, [q.premium]), ue = W.map((t) => t && t.type && t.type.displayName === "KendoReactGridToolbar" ? n.cloneElement(t, { ...t.props, _ariaControls: G, ariaLabel: "Top toolbar" }) : null), A = W.filter((t) => t && t.type && t.type.displayName === "KendoReactGridNoRecords"), fe = W.filter(
|
|
279
279
|
(t) => t && t.type && t.type.displayName === "KendoReactGridStatusBar"
|
|
280
|
-
),
|
|
281
|
-
|
|
280
|
+
), u = s.filter((t) => t.children.length === 0), ge = M && !b && /* @__PURE__ */ n.createElement(Yt, { columns: le(), group: e.group || [], ariaControls: G }), be = b ? null : /* @__PURE__ */ n.createElement(
|
|
281
|
+
Jt,
|
|
282
282
|
{
|
|
283
|
-
size:
|
|
283
|
+
size: g,
|
|
284
284
|
staticHeaders: e.scrollable !== "none",
|
|
285
285
|
draggable: e.reorderable || M,
|
|
286
286
|
headerRow: /* @__PURE__ */ n.createElement(
|
|
287
|
-
|
|
287
|
+
Qt,
|
|
288
288
|
{
|
|
289
289
|
cells: e.cells,
|
|
290
290
|
sort: e.sort,
|
|
@@ -293,91 +293,91 @@ const ja = n.forwardRef((e, ot) => {
|
|
|
293
293
|
groupable: M,
|
|
294
294
|
filter: e.filter,
|
|
295
295
|
filterable: e.filterable,
|
|
296
|
-
filterOperators: e.filterOperators ||
|
|
296
|
+
filterOperators: e.filterOperators || Xe,
|
|
297
297
|
columnMenu: e.columnMenu,
|
|
298
298
|
columnMenuIcon: e.columnMenuIcon,
|
|
299
299
|
columns: s,
|
|
300
300
|
columnsMap: N,
|
|
301
301
|
navigatable: !!e.navigatable,
|
|
302
|
-
localization:
|
|
303
|
-
unstyled:
|
|
302
|
+
localization: D,
|
|
303
|
+
unstyled: I,
|
|
304
304
|
columnsState: w,
|
|
305
|
-
headerSelectionValue: !!(e.select &&
|
|
306
|
-
(t) => e.select && e.dataItemKey &&
|
|
305
|
+
headerSelectionValue: !!(e.select && f.filter((t) => t.rowType === "data").every(
|
|
306
|
+
(t) => e.select && e.dataItemKey && p(e.dataItemKey)(t.dataItem) !== void 0 ? e.select[p(e.dataItemKey)(t.dataItem)] : void 0
|
|
307
307
|
))
|
|
308
308
|
}
|
|
309
309
|
),
|
|
310
310
|
filterRow: e.filterable && /* @__PURE__ */ n.createElement(
|
|
311
|
-
|
|
311
|
+
Xt,
|
|
312
312
|
{
|
|
313
313
|
cells: e.cells,
|
|
314
|
-
size:
|
|
314
|
+
size: g,
|
|
315
315
|
columns: s,
|
|
316
316
|
filter: e.filter,
|
|
317
|
-
filterOperators: e.filterOperators ||
|
|
317
|
+
filterOperators: e.filterOperators || Xe,
|
|
318
318
|
sort: e.sort,
|
|
319
319
|
navigatable: !!e.navigatable,
|
|
320
320
|
ariaRowIndex: N.length + 1,
|
|
321
|
-
localization:
|
|
321
|
+
localization: D
|
|
322
322
|
}
|
|
323
323
|
) || void 0,
|
|
324
|
-
cols:
|
|
324
|
+
cols: u.map((t, i) => /* @__PURE__ */ n.createElement("col", { key: i.toString(), width: ee(t) }))
|
|
325
325
|
}
|
|
326
|
-
),
|
|
327
|
-
let
|
|
328
|
-
|
|
329
|
-
const
|
|
330
|
-
leafColumns:
|
|
326
|
+
), he = u.findIndex((t) => typeof t.colSpan == "function") > -1;
|
|
327
|
+
let we;
|
|
328
|
+
he || (we = ne(null));
|
|
329
|
+
const J = ((Fe = e.editable) == null ? void 0 : Fe.mode) === "dialog", Lt = (Oe = e.editable) == null ? void 0 : Oe.enabled, Ce = (Ve = (_e = e.editZoneRef) == null ? void 0 : _e.current) != null ? Ve : "body", Nt = Ce === "pinned" ? void 0 : e.edit, Re = Ce === "body" ? void 0 : e.edit, T = {
|
|
330
|
+
leafColumns: u,
|
|
331
331
|
columnsState: w,
|
|
332
|
-
cellsToRender:
|
|
333
|
-
getCellsToRender:
|
|
334
|
-
hasDynamicColSpan:
|
|
335
|
-
idPrefix:
|
|
332
|
+
cellsToRender: we,
|
|
333
|
+
getCellsToRender: ne,
|
|
334
|
+
hasDynamicColSpan: he,
|
|
335
|
+
idPrefix: E,
|
|
336
336
|
gridClasses: m,
|
|
337
|
-
unstyled:
|
|
338
|
-
localization:
|
|
339
|
-
intl:
|
|
337
|
+
unstyled: I,
|
|
338
|
+
localization: D,
|
|
339
|
+
intl: Et,
|
|
340
340
|
cells: e.cells,
|
|
341
|
-
isRowReorderable:
|
|
341
|
+
isRowReorderable: k,
|
|
342
342
|
sort: e.sort,
|
|
343
343
|
editable: e.editable,
|
|
344
344
|
isClient: e.isClient,
|
|
345
|
-
isEditDialog:
|
|
345
|
+
isEditDialog: J,
|
|
346
346
|
dataItemKey: e.dataItemKey,
|
|
347
347
|
select: e.select,
|
|
348
348
|
highlight: e.highlight
|
|
349
|
-
},
|
|
350
|
-
let
|
|
351
|
-
const
|
|
349
|
+
}, Dt = 0;
|
|
350
|
+
let Q = null;
|
|
351
|
+
const ye = (t) => t >= f.length - Dt, X = [], Ee = !f.length, Se = n.useMemo(() => {
|
|
352
352
|
var i;
|
|
353
353
|
const t = e.pinnedTopRows || [];
|
|
354
|
-
return
|
|
355
|
-
}, [e.pinnedTopRows, e.sort,
|
|
354
|
+
return x && ((i = e.sort) != null && i.length) ? Je([...t], e.sort) : t;
|
|
355
|
+
}, [e.pinnedTopRows, e.sort, x]), ve = n.useMemo(() => {
|
|
356
356
|
var i;
|
|
357
357
|
const t = e.pinnedBottomRows || [];
|
|
358
|
-
return
|
|
359
|
-
}, [e.pinnedBottomRows, e.sort,
|
|
360
|
-
let
|
|
361
|
-
const
|
|
358
|
+
return x && ((i = e.sort) != null && i.length) ? Je([...t], e.sort) : t;
|
|
359
|
+
}, [e.pinnedBottomRows, e.sort, x]), Tt = e.pinnable && Se.length > 0, Pt = e.pinnable && ve.length > 0;
|
|
360
|
+
let P = 0;
|
|
361
|
+
const Bt = n.useMemo(() => {
|
|
362
362
|
const t = /* @__PURE__ */ new Set();
|
|
363
363
|
return e.pinnedTopRows && e.pinnedTopRows.forEach((i) => t.add(i)), e.pinnedBottomRows && e.pinnedBottomRows.forEach((i) => t.add(i)), t;
|
|
364
364
|
}, [e.pinnedTopRows, e.pinnedBottomRows]);
|
|
365
|
-
if (
|
|
365
|
+
if (f.length) {
|
|
366
366
|
const t = N.length + (e.filterable ? 1 : 0) + 1;
|
|
367
367
|
let i = e.skip || 0, r = -1, o = 0;
|
|
368
|
-
const a =
|
|
368
|
+
const a = me.enabled ? {} : void 0;
|
|
369
369
|
if (R) {
|
|
370
370
|
if (K > 0) {
|
|
371
|
-
const l =
|
|
371
|
+
const l = f.slice(0, K).filter((d) => d.rowType === "data").length;
|
|
372
372
|
r += l, i += K;
|
|
373
373
|
}
|
|
374
374
|
!e.pageable && B && (r += e.skip || 0);
|
|
375
375
|
}
|
|
376
|
-
(
|
|
377
|
-
var
|
|
376
|
+
(Z || f).forEach((l, d) => {
|
|
377
|
+
var $e;
|
|
378
378
|
l.rowType === "data" && r++;
|
|
379
|
-
const h = l.dataIndex % 2 !== 0, F = e.dataItemKey &&
|
|
380
|
-
if (
|
|
379
|
+
const h = l.dataIndex % 2 !== 0, F = e.dataItemKey && p(e.dataItemKey)(l.dataItem), O = d + i, _ = F || "ai" + O, L = Va(T, Nt, l, _, r, h, a), Kt = l.rowType === "data" ? Bt.has(l.dataItem) : !1;
|
|
380
|
+
if (P = O + t + o, J && Lt && L.isInEdit && (Q = l.dataItem), X.push(
|
|
381
381
|
/* @__PURE__ */ n.createElement(
|
|
382
382
|
Oa,
|
|
383
383
|
{
|
|
@@ -386,269 +386,280 @@ const ja = n.forwardRef((e, ot) => {
|
|
|
386
386
|
item: l,
|
|
387
387
|
rowId: _,
|
|
388
388
|
dataIndex: r,
|
|
389
|
-
idPrefix:
|
|
390
|
-
ariaRowIndex:
|
|
389
|
+
idPrefix: E,
|
|
390
|
+
ariaRowIndex: P,
|
|
391
391
|
absoluteRowIndex: O,
|
|
392
392
|
isAltRow: h,
|
|
393
|
-
isHidden:
|
|
394
|
-
isRowReorderable:
|
|
393
|
+
isHidden: ye(d),
|
|
394
|
+
isRowReorderable: k,
|
|
395
395
|
rowHeight: e.rowHeight,
|
|
396
396
|
rows: e.rows,
|
|
397
|
-
leafColumns:
|
|
398
|
-
groupLevelCount:
|
|
397
|
+
leafColumns: u,
|
|
398
|
+
groupLevelCount: S,
|
|
399
399
|
stackedLayoutSettings: e.stackedLayoutSettings,
|
|
400
400
|
cells: e.cells,
|
|
401
|
-
editMode: (
|
|
402
|
-
isSelected:
|
|
403
|
-
isHighlighted:
|
|
404
|
-
isInEdit:
|
|
405
|
-
preparedCells:
|
|
401
|
+
editMode: ($e = e.editable) == null ? void 0 : $e.mode,
|
|
402
|
+
isSelected: L.isSelected,
|
|
403
|
+
isHighlighted: L.isHighlighted,
|
|
404
|
+
isInEdit: L.isInEdit && !J,
|
|
405
|
+
preparedCells: L.row,
|
|
406
406
|
showDetailToggle: !!e.detail && !!v.enabled,
|
|
407
407
|
isDetailExpanded: !!l.expanded,
|
|
408
408
|
detailExpandField: v.column,
|
|
409
|
-
isPinned:
|
|
409
|
+
isPinned: Kt
|
|
410
410
|
}
|
|
411
411
|
)
|
|
412
412
|
), e.detail && l.rowType === "data" && l.expanded) {
|
|
413
413
|
o++;
|
|
414
414
|
const V = _ + "_1";
|
|
415
|
-
|
|
416
|
-
const
|
|
417
|
-
|
|
415
|
+
P = O + t + o;
|
|
416
|
+
const Wt = e.isClient ? ha : Ma;
|
|
417
|
+
X.push(
|
|
418
418
|
/* @__PURE__ */ n.createElement(
|
|
419
419
|
_a,
|
|
420
420
|
{
|
|
421
421
|
key: V,
|
|
422
422
|
isStackedMode: b,
|
|
423
423
|
detailRowId: V,
|
|
424
|
-
isHidden:
|
|
424
|
+
isHidden: ye(d),
|
|
425
425
|
detailRowHeight: e.detailRowHeight,
|
|
426
|
-
ariaRowIndex:
|
|
426
|
+
ariaRowIndex: P,
|
|
427
427
|
item: l,
|
|
428
|
-
groupLevelCount:
|
|
428
|
+
groupLevelCount: S,
|
|
429
429
|
groupDescriptors: e.group,
|
|
430
430
|
lockGroups: e.lockGroups,
|
|
431
431
|
cells: e.cells,
|
|
432
|
-
leafColumns:
|
|
432
|
+
leafColumns: u,
|
|
433
433
|
detailExpandableEnabled: !!v.enabled,
|
|
434
|
-
preparedCells:
|
|
435
|
-
DetailCell:
|
|
434
|
+
preparedCells: L.row,
|
|
435
|
+
DetailCell: Wt,
|
|
436
436
|
detail: e.detail,
|
|
437
|
-
detailCellId: j.generateNavigatableId(`${V}-dcell`,
|
|
438
|
-
detailHierarchyCellId: v.enabled ? j.generateNavigatableId(`${V}-dhcell`,
|
|
437
|
+
detailCellId: j.generateNavigatableId(`${V}-dcell`, E),
|
|
438
|
+
detailHierarchyCellId: v.enabled ? j.generateNavigatableId(`${V}-dhcell`, E) : void 0,
|
|
439
439
|
detailTrClassName: c(m.detailTr({ isAlt: h })),
|
|
440
|
-
unstyled:
|
|
440
|
+
unstyled: I
|
|
441
441
|
}
|
|
442
442
|
)
|
|
443
443
|
);
|
|
444
444
|
}
|
|
445
445
|
});
|
|
446
446
|
}
|
|
447
|
-
const
|
|
448
|
-
size:
|
|
449
|
-
total:
|
|
447
|
+
const Ge = {
|
|
448
|
+
size: g,
|
|
449
|
+
total: y,
|
|
450
450
|
skip: e.skip || 0,
|
|
451
451
|
take: (e.take !== void 0 ? e.take : e.pageSize) || 10,
|
|
452
|
-
...
|
|
453
|
-
},
|
|
452
|
+
...ba(e.pageable || {})
|
|
453
|
+
}, Ie = /* @__PURE__ */ n.createElement(Ra, null, e.pager ? /* @__PURE__ */ n.createElement(e.pager, { ...Ge }) : /* @__PURE__ */ n.createElement(Zt, { className: c(m.pager({})), ...Ge })), Mt = (t, i) => /* @__PURE__ */ n.createElement("col", { key: i.toString(), width: ee(t) }), ke = (je = e.cells) != null && je.footerCell || s.some((t) => {
|
|
454
454
|
var i;
|
|
455
455
|
return !!((i = t.cells) != null && i.footerCell);
|
|
456
456
|
}) ? /* @__PURE__ */ n.createElement(
|
|
457
|
-
|
|
457
|
+
pt,
|
|
458
458
|
{
|
|
459
|
-
size:
|
|
459
|
+
size: g,
|
|
460
460
|
staticHeaders: e.scrollable !== "none",
|
|
461
461
|
row: /* @__PURE__ */ n.createElement(
|
|
462
|
-
|
|
462
|
+
ga,
|
|
463
463
|
{
|
|
464
464
|
cells: e.cells,
|
|
465
|
-
idPrefix:
|
|
465
|
+
idPrefix: E,
|
|
466
466
|
columns: s,
|
|
467
|
-
ariaRowIndex:
|
|
467
|
+
ariaRowIndex: P + 1
|
|
468
468
|
}
|
|
469
469
|
),
|
|
470
|
-
cols:
|
|
470
|
+
cols: u.map(Mt)
|
|
471
471
|
}
|
|
472
|
-
) : null,
|
|
472
|
+
) : null, H = b ? /* @__PURE__ */ n.createElement(Fa, { groupLevelCount: S }) : /* @__PURE__ */ n.createElement(wa, null, u.map((t, i) => /* @__PURE__ */ n.createElement(
|
|
473
473
|
"col",
|
|
474
474
|
{
|
|
475
475
|
key: i.toString(),
|
|
476
|
-
className:
|
|
477
|
-
width:
|
|
476
|
+
className: ta(t.field, e.sort) ? c(m.sorted({})) : void 0,
|
|
477
|
+
width: ee(t)
|
|
478
478
|
}
|
|
479
|
-
))),
|
|
479
|
+
))), xe = e.reorderable || M, { detail: $a, cells: Za, rows: Ua, ...zt } = e, He = /* @__PURE__ */ n.createElement(
|
|
480
480
|
"tbody",
|
|
481
481
|
{
|
|
482
482
|
role: "rowgroup",
|
|
483
483
|
className: c(m.tbody({})),
|
|
484
|
-
...
|
|
484
|
+
...Ut
|
|
485
485
|
},
|
|
486
|
-
|
|
487
|
-
),
|
|
488
|
-
let
|
|
489
|
-
|
|
486
|
+
X
|
|
487
|
+
), Le = Q ? /* @__PURE__ */ n.createElement(Na, { columns: u, customEditDialog: e.editDialog, dataItem: Q }) : null;
|
|
488
|
+
let Y = He;
|
|
489
|
+
k && (Y = /* @__PURE__ */ n.createElement(
|
|
490
490
|
va,
|
|
491
491
|
{
|
|
492
492
|
unstyled: m,
|
|
493
493
|
columns: s,
|
|
494
494
|
rowReorderSettings: e.rowReorderable
|
|
495
495
|
},
|
|
496
|
-
|
|
496
|
+
He
|
|
497
497
|
));
|
|
498
|
-
const
|
|
499
|
-
gridRef:
|
|
498
|
+
const Ne = {
|
|
499
|
+
gridRef: dt,
|
|
500
500
|
innerGrid: e.innerGrid,
|
|
501
|
-
gridProps:
|
|
502
|
-
columnsRef:
|
|
503
|
-
hiddenColumnsRef:
|
|
501
|
+
gridProps: zt,
|
|
502
|
+
columnsRef: le(),
|
|
503
|
+
hiddenColumnsRef: ie,
|
|
504
504
|
columnsMapRef: N,
|
|
505
505
|
columnsState: w,
|
|
506
|
-
dataRef:
|
|
507
|
-
id:
|
|
508
|
-
virtualTotal:
|
|
506
|
+
dataRef: f,
|
|
507
|
+
id: G,
|
|
508
|
+
virtualTotal: de,
|
|
509
509
|
isAllData: B,
|
|
510
|
-
virtualPageSize:
|
|
510
|
+
virtualPageSize: U,
|
|
511
511
|
isVirtualScroll: R,
|
|
512
512
|
detailExpandable: !!e.detail
|
|
513
513
|
};
|
|
514
|
-
return e.scrollable === "none" ? /* @__PURE__ */ n.createElement(
|
|
514
|
+
return e.scrollable === "none" ? /* @__PURE__ */ n.createElement(pe, { ...Ne }, /* @__PURE__ */ n.createElement(lt, null, /* @__PURE__ */ n.createElement(
|
|
515
515
|
"div",
|
|
516
516
|
{
|
|
517
517
|
id: e.id,
|
|
518
518
|
style: e.style,
|
|
519
|
-
className: c(m.wrapper({ size:
|
|
520
|
-
...
|
|
519
|
+
className: c(m.wrapper({ size: g, isStackedMode: b }), e.className),
|
|
520
|
+
...Ue
|
|
521
521
|
},
|
|
522
|
-
|
|
523
|
-
|
|
522
|
+
ue,
|
|
523
|
+
ge,
|
|
524
524
|
/* @__PURE__ */ n.createElement(
|
|
525
|
-
|
|
525
|
+
"div",
|
|
526
526
|
{
|
|
527
|
-
|
|
528
|
-
|
|
527
|
+
className: c(m.ariaRoot({})),
|
|
528
|
+
role: "grid",
|
|
529
|
+
"aria-colcount": u.length,
|
|
530
|
+
"aria-rowcount": y,
|
|
531
|
+
id: G,
|
|
532
|
+
"aria-label": D.toLanguageString($, nt[$])
|
|
529
533
|
},
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
+
/* @__PURE__ */ n.createElement(
|
|
535
|
+
Ca,
|
|
536
|
+
{
|
|
537
|
+
selectable: e.selectable,
|
|
538
|
+
tableClassName: c(m.table({ size: g }))
|
|
539
|
+
},
|
|
540
|
+
H,
|
|
541
|
+
be,
|
|
542
|
+
/* @__PURE__ */ n.createElement(at, { rowReorderable: k }, Y),
|
|
543
|
+
ke
|
|
544
|
+
)
|
|
534
545
|
),
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
)),
|
|
546
|
+
Ee && /* @__PURE__ */ n.createElement(Ye, null, A.length ? A : /* @__PURE__ */ n.createElement(Qe, null)),
|
|
547
|
+
xe && /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement(et, null), /* @__PURE__ */ n.createElement(tt, null))
|
|
548
|
+
)), fe, e.pageable && Ie, /* @__PURE__ */ n.createElement(it, { loader: e.loader, showLoader: e.showLoader }), Le, ce && /* @__PURE__ */ n.createElement(Ze, { message: oe })) : /* @__PURE__ */ n.createElement(pe, { ...Ne }, /* @__PURE__ */ n.createElement(lt, null, /* @__PURE__ */ n.createElement(
|
|
538
549
|
"div",
|
|
539
550
|
{
|
|
540
551
|
id: e.id,
|
|
541
552
|
style: e.style,
|
|
542
553
|
className: c(
|
|
543
554
|
m.wrapper({
|
|
544
|
-
size:
|
|
555
|
+
size: g,
|
|
545
556
|
virtual: R,
|
|
546
557
|
isStackedMode: b
|
|
547
558
|
}),
|
|
548
559
|
e.className
|
|
549
560
|
),
|
|
550
|
-
...
|
|
561
|
+
...Ue
|
|
551
562
|
},
|
|
552
|
-
|
|
553
|
-
|
|
563
|
+
ue,
|
|
564
|
+
ge,
|
|
554
565
|
/* @__PURE__ */ n.createElement(
|
|
555
566
|
"div",
|
|
556
567
|
{
|
|
557
568
|
className: c(m.ariaRoot({})),
|
|
558
569
|
role: "grid",
|
|
559
|
-
"aria-colcount":
|
|
560
|
-
"aria-rowcount":
|
|
561
|
-
id:
|
|
562
|
-
"aria-label":
|
|
570
|
+
"aria-colcount": u.length,
|
|
571
|
+
"aria-rowcount": y,
|
|
572
|
+
id: G,
|
|
573
|
+
"aria-label": D.toLanguageString($, nt[$])
|
|
563
574
|
},
|
|
564
|
-
|
|
565
|
-
e.isClient &&
|
|
566
|
-
|
|
575
|
+
be,
|
|
576
|
+
e.isClient && Tt && /* @__PURE__ */ n.createElement(
|
|
577
|
+
ot,
|
|
567
578
|
{
|
|
568
|
-
size:
|
|
569
|
-
colGroups:
|
|
570
|
-
dataRowContext:
|
|
571
|
-
edit:
|
|
579
|
+
size: g,
|
|
580
|
+
colGroups: H,
|
|
581
|
+
dataRowContext: T,
|
|
582
|
+
edit: Re,
|
|
572
583
|
position: "top",
|
|
573
|
-
pinnedItems:
|
|
584
|
+
pinnedItems: Se,
|
|
574
585
|
isStackedMode: b,
|
|
575
|
-
groupLevelCount:
|
|
586
|
+
groupLevelCount: S,
|
|
576
587
|
stackedLayoutSettings: e.stackedLayoutSettings,
|
|
577
588
|
rowHeight: e.rowHeight,
|
|
578
589
|
rows: e.rows,
|
|
579
590
|
selectable: e.selectable
|
|
580
591
|
}
|
|
581
592
|
),
|
|
582
|
-
/* @__PURE__ */ n.createElement("div", { className: c(m.container({})), role: "presentation" }, e.isClient && z &&
|
|
583
|
-
|
|
593
|
+
/* @__PURE__ */ n.createElement("div", { className: c(m.container({})), role: "presentation" }, e.isClient && z && vt && /* @__PURE__ */ n.createElement(
|
|
594
|
+
rt,
|
|
584
595
|
{
|
|
585
|
-
size:
|
|
586
|
-
colGroups:
|
|
587
|
-
dataRowContext:
|
|
596
|
+
size: g,
|
|
597
|
+
colGroups: H,
|
|
598
|
+
dataRowContext: T,
|
|
588
599
|
position: "top",
|
|
589
600
|
isStackedMode: b,
|
|
590
|
-
groupLevelCount:
|
|
601
|
+
groupLevelCount: S,
|
|
591
602
|
stackedLayoutSettings: e.stackedLayoutSettings,
|
|
592
603
|
rowHeight: e.rowHeight
|
|
593
604
|
}
|
|
594
|
-
), /* @__PURE__ */ n.createElement(
|
|
595
|
-
|
|
605
|
+
), /* @__PURE__ */ n.createElement(Ea, null, /* @__PURE__ */ n.createElement("div", { className: c(m.content({})), role: "presentation" }, /* @__PURE__ */ n.createElement("div", { className: c(m.tableWrap({})), role: "presentation" }, /* @__PURE__ */ n.createElement(
|
|
606
|
+
ya,
|
|
596
607
|
{
|
|
597
608
|
selectable: e.selectable,
|
|
598
609
|
tableClassName: c(
|
|
599
610
|
m.table({
|
|
600
|
-
size:
|
|
611
|
+
size: g
|
|
601
612
|
})
|
|
602
613
|
),
|
|
603
|
-
tableStyle: { userSelect:
|
|
614
|
+
tableStyle: { userSelect: Ht }
|
|
604
615
|
},
|
|
605
|
-
|
|
606
|
-
/* @__PURE__ */ n.createElement(
|
|
607
|
-
),
|
|
616
|
+
H,
|
|
617
|
+
/* @__PURE__ */ n.createElement(at, { rowReorderable: k }, Y)
|
|
618
|
+
), Ee && /* @__PURE__ */ n.createElement(Ye, null, A.length ? A : /* @__PURE__ */ n.createElement(Qe, null))), R && /* @__PURE__ */ n.createElement(
|
|
608
619
|
"div",
|
|
609
620
|
{
|
|
610
621
|
className: c(m.heightContainer({})),
|
|
611
622
|
role: "presentation"
|
|
612
623
|
},
|
|
613
|
-
/* @__PURE__ */ n.createElement(
|
|
614
|
-
))), e.isClient && z &&
|
|
615
|
-
|
|
624
|
+
/* @__PURE__ */ n.createElement(Sa, { isVirtualScroll: R })
|
|
625
|
+
))), e.isClient && z && Gt && /* @__PURE__ */ n.createElement(
|
|
626
|
+
rt,
|
|
616
627
|
{
|
|
617
|
-
size:
|
|
618
|
-
colGroups:
|
|
619
|
-
dataRowContext:
|
|
628
|
+
size: g,
|
|
629
|
+
colGroups: H,
|
|
630
|
+
dataRowContext: T,
|
|
620
631
|
position: "bottom",
|
|
621
632
|
isStackedMode: b,
|
|
622
|
-
groupLevelCount:
|
|
633
|
+
groupLevelCount: S,
|
|
623
634
|
stackedLayoutSettings: e.stackedLayoutSettings,
|
|
624
635
|
rowHeight: e.rowHeight
|
|
625
636
|
}
|
|
626
637
|
)),
|
|
627
|
-
e.isClient &&
|
|
628
|
-
|
|
638
|
+
e.isClient && Pt && /* @__PURE__ */ n.createElement(
|
|
639
|
+
ot,
|
|
629
640
|
{
|
|
630
|
-
size:
|
|
631
|
-
colGroups:
|
|
632
|
-
dataRowContext:
|
|
633
|
-
edit:
|
|
641
|
+
size: g,
|
|
642
|
+
colGroups: H,
|
|
643
|
+
dataRowContext: T,
|
|
644
|
+
edit: Re,
|
|
634
645
|
position: "bottom",
|
|
635
|
-
pinnedItems:
|
|
646
|
+
pinnedItems: ve,
|
|
636
647
|
isStackedMode: b,
|
|
637
|
-
groupLevelCount:
|
|
648
|
+
groupLevelCount: S,
|
|
638
649
|
stackedLayoutSettings: e.stackedLayoutSettings,
|
|
639
650
|
rowHeight: e.rowHeight,
|
|
640
651
|
rows: e.rows,
|
|
641
652
|
selectable: e.selectable
|
|
642
653
|
}
|
|
643
654
|
),
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
655
|
+
ke,
|
|
656
|
+
xe && /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement(et, null), /* @__PURE__ */ n.createElement(tt, null)),
|
|
657
|
+
ce && /* @__PURE__ */ n.createElement(Ze, { message: oe })
|
|
647
658
|
),
|
|
648
|
-
|
|
649
|
-
e.pageable &&
|
|
650
|
-
/* @__PURE__ */ n.createElement(
|
|
651
|
-
|
|
659
|
+
fe,
|
|
660
|
+
e.pageable && Ie,
|
|
661
|
+
/* @__PURE__ */ n.createElement(it, { loader: e.loader, showLoader: e.showLoader }),
|
|
662
|
+
Le
|
|
652
663
|
)));
|
|
653
664
|
});
|
|
654
665
|
ja.displayName = "KendoReactGridComponent";
|