@progress/kendo-react-treelist 7.0.0-develop.8 → 7.0.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.
package/index.mjs CHANGED
@@ -2,53 +2,54 @@
2
2
  * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the package root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
+ "use client";
5
6
  import * as l from "react";
6
7
  import * as c from "prop-types";
7
- import { getNestedValue as C, Keys as Fe, IconWrap as ne, classNames as I, guid as z, memoizeOne as Q, validatePackage as Ae, noop as Z, canUseDOM as j, getter as Me, Draggable as Pe } from "@progress/kendo-react-common";
8
- import { getNestedValue as Yt, mapTree as Jt, mapTreeItem as Qt } from "@progress/kendo-react-common";
9
- import { TABLE_ROW_INDEX_ATTRIBUTE as ze, TABLE_COL_INDEX_ATTRIBUTE as He, TABLE_PREVENT_SELECTION_ELEMENT as Be, useTableKeyboardNavigation as k, readColumns as Ke, mapColumns as _e, tableKeyboardNavigation as T, getSelectionOptions as ee, CommonDragLogic as qe, ColumnResize as Ve, tableKeyboardNavigationTools as te, Header as Ue, HeaderRow as We, tableColumnsVirtualization as Xe, TableKeyboardNavigationContext as oe, tableKeyboardNavigationScopeAttributes as Ge, TableSelection as $e, tableKeyboardNavigationBodyAttributes as je, DropClue as Ye, DragClue as Je, flatData as Qe, FilterRow as Ze, HeaderCell as et, HeaderSelectionCell as tt, TextFilterCell as at, NumericFilterCell as nt, DateFilterCell as ot, BooleanFilterCell as lt } from "@progress/kendo-react-data-tools";
10
- import { createDataTree as ea, extendDataItem as ta, filterBy as aa, flatData as na, getItemPath as oa, getSelectedState as la, getSelectedStateFromKeyDown as ra, modifySubItems as ia, moveTreeItem as sa, orderBy as ca, removeItems as da, setSelectedState as ha, treeToFlat as ga } from "@progress/kendo-react-data-tools";
11
- import { useInternationalization as rt, provideLocalizationService as it, registerForLocalization as st, useLocalization as H } from "@progress/kendo-react-intl";
12
- import { caretAltDownIcon as ct, caretAltRightIcon as dt, plusIcon as ht, cancelIcon as gt } from "@progress/kendo-svg-icons";
13
- import * as ut from "react-dom";
14
- import { NumericTextBox as mt } from "@progress/kendo-react-inputs";
15
- import { DatePicker as ft } from "@progress/kendo-react-dateinputs";
16
- function pt(e) {
8
+ import { getNestedValue as v, Keys as Fe, IconWrap as ae, classNames as I, memoizeOne as J, validatePackage as Ae, noop as Q, canUseDOM as $, getter as Me, useId as ne, guid as Pe, Draggable as ze } from "@progress/kendo-react-common";
9
+ import { getNestedValue as Jt, mapTree as Qt, mapTreeItem as Zt } from "@progress/kendo-react-common";
10
+ import { TABLE_ROW_INDEX_ATTRIBUTE as He, TABLE_COL_INDEX_ATTRIBUTE as Be, TABLE_PREVENT_SELECTION_ELEMENT as Ke, useTableKeyboardNavigation as T, readColumns as _e, mapColumns as qe, tableKeyboardNavigation as k, getSelectionOptions as Z, CommonDragLogic as Ve, ColumnResize as Ue, tableKeyboardNavigationTools as ee, Header as We, HeaderRow as Xe, tableColumnsVirtualization as Ge, TableKeyboardNavigationContext as oe, tableKeyboardNavigationScopeAttributes as $e, TableSelection as je, tableKeyboardNavigationBodyAttributes as Ye, DropClue as Je, DragClue as Qe, flatData as Ze, FilterRow as et, HeaderCell as tt, HeaderSelectionCell as at, TextFilterCell as nt, NumericFilterCell as ot, DateFilterCell as lt, BooleanFilterCell as rt } from "@progress/kendo-react-data-tools";
11
+ import { createDataTree as ta, extendDataItem as aa, filterBy as na, flatData as oa, getItemPath as la, getSelectedState as ra, getSelectedStateFromKeyDown as ia, modifySubItems as sa, moveTreeItem as ca, orderBy as da, removeItems as ha, setSelectedState as ga, treeToFlat as ua } from "@progress/kendo-react-data-tools";
12
+ import { useInternationalization as it, provideLocalizationService as st, registerForLocalization as ct, useLocalization as z } from "@progress/kendo-react-intl";
13
+ import { caretAltDownIcon as dt, caretAltRightIcon as ht, plusIcon as gt, cancelIcon as ut } from "@progress/kendo-svg-icons";
14
+ import * as mt from "react-dom";
15
+ import { NumericTextBox as ft } from "@progress/kendo-react-inputs";
16
+ import { DatePicker as pt } from "@progress/kendo-react-dateinputs";
17
+ function Ct(e) {
17
18
  return e !== void 0 && (typeof e == "number" || /px$/i.test(String(e)));
18
19
  }
19
- function Ct(e, r, t) {
20
+ function vt(e, r, t) {
20
21
  const a = Array.from(e.tHead && e.tHead.rows || []), n = [r];
21
22
  let o;
22
23
  const i = t || ((s) => window.getComputedStyle(s).height || void 0);
23
24
  a.forEach((s) => {
24
25
  let d = i(s);
25
- n.push(pt(d) ? parseFloat(String(d)) : s.offsetHeight);
26
+ n.push(Ct(d) ? parseFloat(String(d)) : s.offsetHeight);
26
27
  });
27
28
  for (let s = 0; s < a.length; s++)
28
29
  o = n.slice(0, s + 1).reduce((d, g) => d + g), Array.from(a[s].cells).forEach((d) => d.style.top = o + "px");
29
30
  }
30
- const W = 1e6;
31
- function vt(e) {
31
+ const U = 1e6;
32
+ function xt(e) {
32
33
  const { rows: r, tableViewPortHeight: t, scrollTop: a } = e;
33
34
  if (r.length === 0)
34
35
  return [];
35
36
  const n = r[0].height, o = Math.min(Math.round(a / n), r.length), i = Math.round(t / n), s = Math.max(0, o - i), d = Math.min(r.length, o + 2 * i), g = r.slice(s, d), m = g[g.length - 1];
36
37
  return s > 0 && g.unshift({
37
38
  dataItem: {},
38
- level: [W],
39
+ level: [U],
39
40
  offsetTop: 0,
40
41
  height: g[0].offsetTop,
41
42
  levelCount: 0
42
43
  }), d < r.length - 1 && g.push({
43
44
  dataItem: {},
44
- level: [W, W],
45
+ level: [U, U],
45
46
  offsetTop: m.offsetTop + m.height,
46
47
  height: (r.length - d) * n,
47
48
  levelCount: 0
48
49
  }), g;
49
50
  }
50
- const xt = ze, L = He, bt = Be, le = (e) => {
51
- const { hasChildren: r, level: t = [0], expanded: a, dataItem: n, format: o, id: i, ariaColumnIndex: s, isSelected: d } = e, g = C(e.field, n), m = rt(), p = k(i);
51
+ const bt = He, L = Be, Et = Ke, le = (e) => {
52
+ const { hasChildren: r, level: t = [0], expanded: a, dataItem: n, format: o, id: i, ariaColumnIndex: s, isSelected: d } = e, g = v(e.field, n), m = it(), C = T(i);
52
53
  let S = "";
53
54
  const w = l.useCallback(
54
55
  (E) => {
@@ -57,22 +58,22 @@ const xt = ze, L = He, bt = Be, le = (e) => {
57
58
  [e.expandable, n, t]
58
59
  );
59
60
  g != null && (S = o ? m.format(o, g) : g.toString());
60
- const v = [];
61
+ const x = [];
61
62
  if (e.expandable) {
62
63
  const E = (f) => /* @__PURE__ */ l.createElement("span", { key: f, className: "k-treelist-toggle k-icon k-svg-icon" }, /* @__PURE__ */ l.createElement("svg", { "aria-hidden": "true", focusable: "false", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }));
63
- v.push(...t.slice(1).map((f, F) => E(F))), r ? v.push(
64
+ x.push(...t.slice(1).map((f, F) => E(F))), r ? x.push(
64
65
  /* @__PURE__ */ l.createElement(
65
- ne,
66
+ ae,
66
67
  {
67
68
  className: "k-treelist-toggle",
68
69
  name: a ? "caret-alt-down" : "caret-alt-right",
69
- icon: a ? ct : dt,
70
+ icon: a ? dt : ht,
70
71
  key: "expand-collapse",
71
72
  onClick: (f) => e.onExpandChange(f.syntheticEvent || f, n, t),
72
- [bt]: !0
73
+ [Et]: !0
73
74
  }
74
75
  )
75
- ) : v.push(E(v.length));
76
+ ) : x.push(E(x.length));
76
77
  }
77
78
  const O = /* @__PURE__ */ l.createElement(
78
79
  "td",
@@ -93,20 +94,20 @@ const xt = ze, L = He, bt = Be, le = (e) => {
93
94
  role: "gridcell",
94
95
  onKeyDown: w,
95
96
  [L]: e.colIndex,
96
- ...p
97
+ ...C
97
98
  },
98
- v,
99
+ x,
99
100
  S
100
101
  );
101
102
  return e.render ? e.render.call(void 0, O, e) : O;
102
103
  };
103
104
  le.displayName = "KendoReactTreeListCell";
104
- const X = "treelist.filterClearButton", B = "treelist.filterEqOperator", K = "treelist.filterNotEqOperator", _ = "treelist.filterIsNullOperator", q = "treelist.filterIsNotNullOperator", re = "treelist.filterIsEmptyOperator", ie = "treelist.filterIsNotEmptyOperator", se = "treelist.filterStartsWithOperator", ce = "treelist.filterContainsOperator", de = "treelist.filterNotContainsOperator", he = "treelist.filterEndsWithOperator", ge = "treelist.filterGteOperator", ue = "treelist.filterGtOperator", me = "treelist.filterLteOperator", fe = "treelist.filterLtOperator", pe = "treelist.filterIsTrue", Ce = "treelist.filterIsFalse", ve = "treelist.filterBooleanAll", xe = "treelist.filterAfterOrEqualOperator", be = "treelist.filterAfterOperator", Ee = "treelist.filterBeforeOperator", Ie = "treelist.filterBeforeOrEqualOperator", G = "treelist.noRecords", $ = {
105
- [X]: "Clear",
106
- [B]: "Is equal to",
107
- [K]: "Is not equal to",
108
- [_]: "Is null",
109
- [q]: "Is not null",
105
+ const W = "treelist.filterClearButton", H = "treelist.filterEqOperator", B = "treelist.filterNotEqOperator", K = "treelist.filterIsNullOperator", _ = "treelist.filterIsNotNullOperator", re = "treelist.filterIsEmptyOperator", ie = "treelist.filterIsNotEmptyOperator", se = "treelist.filterStartsWithOperator", ce = "treelist.filterContainsOperator", de = "treelist.filterNotContainsOperator", he = "treelist.filterEndsWithOperator", ge = "treelist.filterGteOperator", ue = "treelist.filterGtOperator", me = "treelist.filterLteOperator", fe = "treelist.filterLtOperator", pe = "treelist.filterIsTrue", Ce = "treelist.filterIsFalse", ve = "treelist.filterBooleanAll", xe = "treelist.filterAfterOrEqualOperator", be = "treelist.filterAfterOperator", Ee = "treelist.filterBeforeOperator", Ie = "treelist.filterBeforeOrEqualOperator", X = "treelist.noRecords", G = {
106
+ [W]: "Clear",
107
+ [H]: "Is equal to",
108
+ [B]: "Is not equal to",
109
+ [K]: "Is null",
110
+ [_]: "Is not null",
110
111
  [re]: "Is empty",
111
112
  [ie]: "Is not empty",
112
113
  [se]: "Starts with",
@@ -124,18 +125,18 @@ const X = "treelist.filterClearButton", B = "treelist.filterEqOperator", K = "tr
124
125
  [be]: "Is after",
125
126
  [Ee]: "Is before",
126
127
  [Ie]: "Is before or equal to",
127
- [G]: "No records available"
128
+ [X]: "No records available"
128
129
  };
129
130
  class Se extends l.Component {
130
131
  /**
131
132
  * @hidden
132
133
  */
133
134
  render() {
134
- return this.props.children || it(this).toLanguageString(G, $[G]);
135
+ return this.props.children || st(this).toLanguageString(X, G[X]);
135
136
  }
136
137
  }
137
- st(Se);
138
- const Y = l.forwardRef((e, r) => {
138
+ ct(Se);
139
+ const j = l.forwardRef((e, r) => {
139
140
  const { isSelected: t, rowHeight: a, isAltRow: n, expanded: o, ariaRowIndex: i, level: s, ariaSetSize: d, ariaPosInSet: g } = e, m = I(
140
141
  "k-table-row",
141
142
  "k-master-row",
@@ -143,7 +144,7 @@ const Y = l.forwardRef((e, r) => {
143
144
  "k-selected": t,
144
145
  "k-alt": n
145
146
  }
146
- ), p = l.useMemo(
147
+ ), C = l.useMemo(
147
148
  () => a !== void 0 ? { height: a + "px" } : void 0,
148
149
  [a]
149
150
  ), S = /* @__PURE__ */ l.createElement(
@@ -153,7 +154,7 @@ const Y = l.forwardRef((e, r) => {
153
154
  onDoubleClick: e.onDoubleClick,
154
155
  onContextMenu: e.onContextMenu,
155
156
  className: m,
156
- style: p,
157
+ style: C,
157
158
  ref: r,
158
159
  "aria-expanded": o,
159
160
  role: "row",
@@ -161,24 +162,24 @@ const Y = l.forwardRef((e, r) => {
161
162
  "aria-level": s.length,
162
163
  "aria-posinset": g,
163
164
  "aria-setsize": d,
164
- [xt]: e.rowIndex
165
+ [bt]: e.rowIndex
165
166
  },
166
167
  e.children
167
168
  );
168
169
  return /* @__PURE__ */ l.createElement(l.Fragment, null, e.render ? e.render.call(void 0, S, e) : S);
169
170
  });
170
- Y.displayName = "KendoReactTreeListRow";
171
- const Et = {
171
+ j.displayName = "KendoReactTreeListRow";
172
+ const It = {
172
173
  name: "@progress/kendo-react-treelist",
173
174
  productName: "KendoReact",
174
175
  productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
175
- publishDate: 1701260273,
176
+ publishDate: 1702304897,
176
177
  version: "",
177
178
  licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/"
178
179
  };
179
180
  class we extends l.Component {
180
181
  constructor(r) {
181
- super(r), this.wrapperScrollLeft = 0, this.wrapperScrollTop = 0, this.updateOnScroll = !1, this.tbodyOffsetTop = 0, this.prevData = [], this.flattedData = [], this.extendedColumn = [], this.columnsMap = [], this.element = null, this._treeListId = z(), this.contextStateRef = { current: void 0 }, this.navigationStateRef = { current: void 0 }, this.scrollIntoView = (t) => {
182
+ super(r), this.wrapperScrollLeft = 0, this.wrapperScrollTop = 0, this.updateOnScroll = !1, this.tbodyOffsetTop = 0, this.prevData = [], this.flattedData = [], this.extendedColumn = [], this.columnsMap = [], this.element = null, this.contextStateRef = { current: void 0 }, this.navigationStateRef = { current: void 0 }, this.scrollIntoView = (t) => {
182
183
  if (!this.element)
183
184
  return;
184
185
  const { rowIndex: a = 0 } = t, { scrollable: n, rowHeight: o = 0 } = this.props;
@@ -191,16 +192,16 @@ class we extends l.Component {
191
192
  this.element.scroll(0, s);
192
193
  }
193
194
  }
194
- }, this.getExtendedColumn = Q(
195
- (t, a) => Ke(t, { prevId: 0, idPrefix: a })
196
- ), this.getColumnsMap = Q(
197
- (t) => _e(t)
195
+ }, this.getExtendedColumn = J(
196
+ (t, a) => _e(t, { prevId: 0, idPrefix: a })
197
+ ), this.getColumnsMap = J(
198
+ (t) => qe(t)
198
199
  ), this.onKeyDown = (t) => {
199
- if (T.onKeyDown(t, {
200
+ if (k.onKeyDown(t, {
200
201
  contextStateRef: this.contextStateRef,
201
202
  navigationStateRef: this.navigationStateRef
202
203
  }), this.props.onKeyDown) {
203
- const { mode: a, cell: n } = ee(this.props.selectable), o = {
204
+ const { mode: a, cell: n } = Z(this.props.selectable), o = {
204
205
  dataItems: this.getLeafDataItems(),
205
206
  mode: a,
206
207
  cell: n,
@@ -211,7 +212,7 @@ class we extends l.Component {
211
212
  this.props.onKeyDown.call(void 0, o);
212
213
  }
213
214
  }, this.onFocus = (t) => {
214
- T.onFocus(t, {
215
+ k.onFocus(t, {
215
216
  contextStateRef: this.contextStateRef
216
217
  });
217
218
  }, this.onRowDrag = (t) => {
@@ -260,7 +261,7 @@ class we extends l.Component {
260
261
  const s = o.style.boxSizing;
261
262
  o.style.boxSizing = "border-box", i = parseFloat(String(window.getComputedStyle(o).height)) || o.offsetHeight, o.style.boxSizing = s, o.getAttribute("style") || o.removeAttribute("style");
262
263
  }
263
- this.tbodyOffsetTop = n.tBodies[0].offsetTop, Ct(n, i);
264
+ this.tbodyOffsetTop = n.tBodies[0].offsetTop, vt(n, i);
264
265
  }, this.itemChange = (t) => {
265
266
  const a = this.props.onItemChange;
266
267
  if (t.field === this.props.expandField) {
@@ -379,22 +380,25 @@ class we extends l.Component {
379
380
  }
380
381
  }, this.expandedSubItems = (t) => {
381
382
  const a = [];
382
- return this.expanded(t) && this.hasChildren(t) && a.push(...C(this.props.subItemsField, t)), a;
383
- }, this.getLeafDataItems = () => this.flatData.map((t) => t.dataItem), this.expanded = (t) => !!C(this.props.expandField, t), this.hasChildren = (t) => !!C(this.props.subItemsField, t), Ae(Et), this.dragLogic = new qe(this.columnReorder, Z, Z), this.columnResize = new Ve(this.onResize.bind(this)), T.onConstructor({
383
+ return this.expanded(t) && this.hasChildren(t) && a.push(...v(this.props.subItemsField, t)), a;
384
+ }, this.getLeafDataItems = () => this.flatData.map((t) => t.dataItem), this.expanded = (t) => !!v(this.props.expandField, t), this.hasChildren = (t) => !!v(this.props.subItemsField, t), Ae(It), this.dragLogic = new Ve(this.columnReorder, Q, Q), this.columnResize = new Ue(this.onResize.bind(this)), k.onConstructor({
384
385
  navigatable: !!r.navigatable,
385
386
  contextStateRef: this.contextStateRef,
386
387
  navigationStateRef: this.navigationStateRef
387
388
  });
388
389
  }
390
+ get _treeListId() {
391
+ return this.props.id + "-treelist";
392
+ }
389
393
  get document() {
390
- if (j)
394
+ if ($)
391
395
  return this.element && this.element.ownerDocument || document;
392
396
  }
393
397
  /**
394
398
  * @hidden
395
399
  */
396
400
  componentDidMount() {
397
- this.calculateSizes(this.element), T.onComponentDidMount({
401
+ this.calculateSizes(this.element), k.onComponentDidMount({
398
402
  scope: this.element || void 0,
399
403
  contextStateRef: this.contextStateRef,
400
404
  navigationStateRef: this.navigationStateRef
@@ -404,7 +408,7 @@ class we extends l.Component {
404
408
  * @hidden
405
409
  */
406
410
  getSnapshotBeforeUpdate() {
407
- return T.onGetSnapshotBeforeUpdate({
411
+ return k.onGetSnapshotBeforeUpdate({
408
412
  document: this.document,
409
413
  contextStateRef: this.contextStateRef,
410
414
  navigationStateRef: this.navigationStateRef
@@ -414,7 +418,7 @@ class we extends l.Component {
414
418
  * @hidden
415
419
  */
416
420
  componentDidUpdate(r) {
417
- r.columns !== this.props.columns && this.calculateSizes(this.element), T.onComponentDidUpdate({
421
+ r.columns !== this.props.columns && this.calculateSizes(this.element), k.onComponentDidUpdate({
418
422
  scope: this.element || void 0,
419
423
  contextStateRef: this.contextStateRef,
420
424
  navigationStateRef: this.navigationStateRef
@@ -438,15 +442,15 @@ class we extends l.Component {
438
442
  reorderable: o = !1,
439
443
  skip: i,
440
444
  take: s
441
- } = this.props, d = r.some((h) => !!h.filter || !!h.filterCell) || t !== void 0, g = t || Ze, m = te.getIdPrefix(this.navigationStateRef);
445
+ } = this.props, d = r.some((h) => !!h.filter || !!h.filterCell) || t !== void 0, g = t || et, m = ee.getIdPrefix(this.navigationStateRef);
442
446
  this.extendedColumn = this.getExtendedColumn(r, m), this.columnsMap = this.getColumnsMap(this.extendedColumn);
443
- const p = this.extendedColumn.filter((h) => h.children.length === 0);
447
+ const C = this.extendedColumn.filter((h) => h.children.length === 0);
444
448
  this.columnResize.columns = this.extendedColumn, this.columnResize.resizable = n, this.dragLogic.columns = this.extendedColumn, this.dragLogic.reorderable = o, this.dragLogic.groupable = !1;
445
449
  const S = /* @__PURE__ */ l.createElement(
446
- Ue,
450
+ We,
447
451
  {
448
452
  headerRow: /* @__PURE__ */ l.createElement(
449
- We,
453
+ Xe,
450
454
  {
451
455
  sort: this.props.sort,
452
456
  sortable: this.props.sortable,
@@ -468,7 +472,7 @@ class we extends l.Component {
468
472
  filterRow: d && /* @__PURE__ */ l.createElement(
469
473
  g,
470
474
  {
471
- columns: p,
475
+ columns: C,
472
476
  filter: this.props.filter,
473
477
  filterChange: this.filterChange,
474
478
  sort: this.props.sort,
@@ -477,87 +481,88 @@ class we extends l.Component {
477
481
  ) || void 0,
478
482
  columnResize: this.columnResize
479
483
  }
480
- ), w = this.props.style || {}, { colSpans: v, hiddenColumns: O } = Xe({
484
+ ), w = this.props.style || {}, { colSpans: x, hiddenColumns: O } = Ge({
481
485
  enabled: this.props.columnVirtualization,
482
- columns: p,
486
+ columns: C,
483
487
  scrollLeft: this.wrapperScrollLeft,
484
488
  tableViewPortWidth: parseFloat((w.width || "").toString())
485
- }), E = (h, x, A, M, P, N) => p.map((u, b) => {
486
- if (O[b])
489
+ }), E = (h, b, A, M, P, N) => C.map((u, p) => {
490
+ if (O[p])
487
491
  return null;
488
- const y = u.id ? u.id : b, U = `${u.className ? u.className + " " : ""}${u.locked ? "k-grid-content-sticky" : ""}`, D = {
489
- id: te.generateNavigatableId(`${A}-${String(b)}`, m),
490
- colSpan: v[b],
492
+ const R = u.id ? u.id : p, V = `${u.className ? u.className + " " : ""}${u.locked ? "k-grid-content-sticky" : ""}`, D = {
493
+ id: ee.generateNavigatableId(`${A}-${String(p)}`, m),
494
+ colSpan: x[p],
491
495
  dataItem: h.dataItem,
492
496
  field: u.field,
493
497
  format: u.format,
494
- className: U || void 0,
498
+ className: V || void 0,
495
499
  render: this.props.cellRender,
496
500
  onChange: this.itemChange,
497
- selectionChange: this.props.onSelectionChange ? (R) => {
498
- this.selectionChange({ event: R, item: h, columnIndex: b, dataIndex: P });
501
+ selectionChange: this.props.onSelectionChange ? (y) => {
502
+ this.selectionChange({ event: y, item: h, columnIndex: p, dataIndex: P });
499
503
  } : void 0,
500
504
  level: h.level,
501
505
  expandable: u.expandable,
502
506
  expanded: M,
503
507
  hasChildren: this.hasChildren(h.dataItem),
504
508
  onExpandChange: this.expandChange,
505
- colIndex: b,
509
+ colIndex: p,
506
510
  ariaColumnIndex: u.ariaColumnIndex,
507
511
  style: u.left !== void 0 && {
508
512
  left: u.left,
509
513
  right: u.right,
510
514
  borderRightWidth: u.rightBorder ? "1px" : ""
511
515
  } || {},
512
- isSelected: Array.isArray(N) && N.indexOf(b) > -1
516
+ isSelected: Array.isArray(N) && N.indexOf(p) > -1
513
517
  };
514
- return x && u.editCell ? /* @__PURE__ */ l.createElement(u.editCell, { key: y, ...D, onChange: this.itemChange }) : u.cell ? /* @__PURE__ */ l.createElement(u.cell, { key: y, ...D }) : /* @__PURE__ */ l.createElement(le, { key: y, ...D });
518
+ return b && u.editCell ? /* @__PURE__ */ l.createElement(u.editCell, { key: R, ...D, onChange: this.itemChange }) : u.cell ? /* @__PURE__ */ l.createElement(u.cell, { key: R, ...D }) : /* @__PURE__ */ l.createElement(le, { key: R, ...D });
515
519
  });
516
520
  let f = this.flatData;
517
521
  const F = f.length;
518
- i !== void 0 && s !== void 0 && (f = f.slice(i, i + s)), a === "virtual" && (f = vt({
522
+ i !== void 0 && s !== void 0 && (f = f.slice(i, i + s)), a === "virtual" && (f = xt({
519
523
  rows: f,
520
524
  tableViewPortHeight: parseFloat((w.height || w.maxHeight || "").toString()),
521
525
  scrollTop: this.wrapperScrollTop
522
526
  }), this.updateOnScroll = !1);
523
- const ye = f.map((h) => h.level), De = this.columnsMap.length + (d ? 1 : 0) + 1, Te = f.length > 0 && f.map((h, x) => {
524
- const A = C(this.props.editField, h.dataItem), M = this.props.dataItemKey && Me(this.props.dataItemKey)(h.dataItem), P = String(M || h.level.join(".")), N = this.expanded(h.dataItem), u = this.props.selectedField ? C(this.props.selectedField, h.dataItem) : void 0, b = {
527
+ const Re = f.map((h) => h.level), De = this.columnsMap.length + (d ? 1 : 0) + 1, ke = f.length > 0 && f.map((h, b) => {
528
+ const A = v(this.props.editField, h.dataItem), M = this.props.dataItemKey && Me(this.props.dataItemKey)(h.dataItem), P = String(M || h.level.join(".")), N = this.expanded(h.dataItem), u = this.props.selectedField ? v(this.props.selectedField, h.dataItem) : void 0, p = {
525
529
  key: P,
526
530
  level: h.level,
527
- levels: ye,
531
+ levels: Re,
528
532
  dataItem: h.dataItem,
529
533
  selectedField: this.props.selectedField,
530
534
  rowHeight: a === "virtual" ? h.height : this.props.rowHeight,
531
535
  render: this.props.rowRender,
532
536
  onDrop: this.onRowDrop,
533
537
  onDrag: this.onRowDrag,
534
- onClick: (R) => this.rowClick(R, h),
535
- onDoubleClick: (R) => this.rowDoubleClick(R, h),
536
- onContextMenu: (R) => this.rowContextMenu(R, h),
537
- isAltRow: x % 2 !== 0,
538
+ onClick: (y) => this.rowClick(y, h),
539
+ onDoubleClick: (y) => this.rowDoubleClick(y, h),
540
+ onContextMenu: (y) => this.rowContextMenu(y, h),
541
+ isAltRow: b % 2 !== 0,
538
542
  expanded: N,
539
- rowIndex: x,
540
- ariaRowIndex: De + x,
543
+ rowIndex: b,
544
+ ariaRowIndex: De + b,
541
545
  ariaSetSize: h.levelCount,
542
546
  ariaPosInSet: h.level[h.level.length - 1] + 1,
543
547
  isSelected: typeof u == "boolean" && u
544
- }, y = this.props.editRow, U = this.props.row || Y, D = E(h, A, P, N, x, u);
545
- return A && y ? /* @__PURE__ */ l.createElement(y, { ...b }, D) : /* @__PURE__ */ l.createElement(U, { ...b }, D);
546
- }) || /* @__PURE__ */ l.createElement("tr", { className: "k-table-row k-grid-norecords" }, /* @__PURE__ */ l.createElement("td", { colSpan: p.length }, this.props.noRecords || /* @__PURE__ */ l.createElement(Se, null))), ke = (h) => this.props.sort && this.props.sort.some((x) => x.field === h), Ne = /* @__PURE__ */ l.createElement("colgroup", { ref: (h) => {
548
+ }, R = this.props.editRow, V = this.props.row || j, D = E(h, A, P, N, b, u);
549
+ return A && R ? /* @__PURE__ */ l.createElement(R, { ...p, key: p.key }, D) : /* @__PURE__ */ l.createElement(V, { ...p, key: p.key }, D);
550
+ }) || /* @__PURE__ */ l.createElement("tr", { className: "k-table-row k-grid-norecords" }, /* @__PURE__ */ l.createElement("td", { colSpan: C.length }, this.props.noRecords || /* @__PURE__ */ l.createElement(Se, null))), Te = (h) => this.props.sort && this.props.sort.some((b) => b.field === h), Ne = /* @__PURE__ */ l.createElement("colgroup", { ref: (h) => {
547
551
  this.columnResize.colGroupMain = h;
548
- } }, p.map(
549
- (h, x) => /* @__PURE__ */ l.createElement(
552
+ } }, C.map(
553
+ (h, b) => /* @__PURE__ */ l.createElement(
550
554
  "col",
551
555
  {
552
- key: x.toString(),
553
- className: ke(h.field) ? "k-sorted" : void 0,
556
+ key: b.toString(),
557
+ className: Te(h.field) ? "k-sorted" : void 0,
554
558
  style: h.width !== void 0 ? { width: h.width } : void 0
555
559
  }
556
560
  )
557
- )), Le = this.props.columnVirtualization || this.props.scrollable === "virtual", Oe = this.props.selectable && this.props.selectable.drag ? "none" : void 0, J = this.props.tableProps || {};
561
+ )), Le = this.props.columnVirtualization || this.props.scrollable === "virtual", Oe = this.props.selectable && this.props.selectable.drag ? "none" : void 0, Y = this.props.tableProps || {};
558
562
  return /* @__PURE__ */ l.createElement(oe.Provider, { value: this.contextStateRef.current }, /* @__PURE__ */ l.createElement(
559
563
  "div",
560
564
  {
565
+ id: this.props.id,
561
566
  style: this.props.style,
562
567
  className: I(
563
568
  "k-grid k-grid-md",
@@ -569,13 +574,13 @@ class we extends l.Component {
569
574
  onKeyDown: this.onKeyDown,
570
575
  onFocus: this.onFocus,
571
576
  "aria-rowcount": F,
572
- "aria-colcount": p.length,
577
+ "aria-colcount": C.length,
573
578
  role: "treegrid",
574
- ...Ge
579
+ ...$e
575
580
  },
576
581
  this.props.toolbar,
577
582
  /* @__PURE__ */ l.createElement(
578
- $e,
583
+ je,
579
584
  {
580
585
  selectable: this.props.selectable,
581
586
  onRelease: this.selectionRelease
@@ -584,13 +589,13 @@ class we extends l.Component {
584
589
  "table",
585
590
  {
586
591
  className: "k-table k-table-md k-grid-table",
587
- ...J,
588
- style: { ...J.style || {}, userSelect: Oe },
592
+ ...Y,
593
+ style: { ...Y.style || {}, userSelect: Oe },
589
594
  role: "presentation"
590
595
  },
591
596
  Ne,
592
597
  S,
593
- /* @__PURE__ */ l.createElement("tbody", { className: "k-table-tbody", ...je, role: "presentation" }, Te)
598
+ /* @__PURE__ */ l.createElement("tbody", { className: "k-table-tbody", ...Ye, role: "presentation" }, ke)
594
599
  )
595
600
  ),
596
601
  this.props.pager && /* @__PURE__ */ l.createElement(
@@ -603,7 +608,7 @@ class we extends l.Component {
603
608
  onPageChange: this.onPageChange
604
609
  }
605
610
  ),
606
- o && /* @__PURE__ */ l.createElement(l.Fragment, null, /* @__PURE__ */ l.createElement(Ye, { ref: this.dragLogic.refDropElementClue }), /* @__PURE__ */ l.createElement(Je, { ref: this.dragLogic.refDragElementClue }))
611
+ o && /* @__PURE__ */ l.createElement(l.Fragment, null, /* @__PURE__ */ l.createElement(Je, { ref: this.dragLogic.refDropElementClue }), /* @__PURE__ */ l.createElement(Qe, { ref: this.dragLogic.refDragElementClue }))
607
612
  ));
608
613
  }
609
614
  get columns() {
@@ -615,15 +620,15 @@ class we extends l.Component {
615
620
  colSpan: d,
616
621
  rowSpan: g,
617
622
  index: m,
618
- kFirst: p,
623
+ kFirst: C,
619
624
  groupable: S,
620
625
  children: w,
621
- ...v
626
+ ...x
622
627
  } = n;
623
628
  return w.length ? {
624
629
  children: t(w),
625
- ...v
626
- } : v;
630
+ ...x
631
+ } : x;
627
632
  }));
628
633
  return t(r);
629
634
  }
@@ -634,12 +639,12 @@ class we extends l.Component {
634
639
  const s = { height: t, offsetTop: a };
635
640
  return a += s.height, s;
636
641
  };
637
- let o = this.updateOnScroll && this.prevData === r && this.tbodyOffsetTop > 0 && this.flattedData.length ? this.flattedData : Qe(r, this.expandedSubItems, n);
642
+ let o = this.updateOnScroll && this.prevData === r && this.tbodyOffsetTop > 0 && this.flattedData.length ? this.flattedData : Ze(r, this.expandedSubItems, n);
638
643
  return this.prevData = r, this.flattedData = o, o;
639
644
  }
640
645
  selectionChange(r) {
641
646
  if (this.props.onSelectionChange) {
642
- const { event: t, item: a, dataIndex: n, columnIndex: o } = r, { mode: i, cell: s } = ee(this.props.selectable), d = {
647
+ const { event: t, item: a, dataIndex: n, columnIndex: o } = r, { mode: i, cell: s } = Z(this.props.selectable), d = {
643
648
  ...this.getArguments(t.syntheticEvent),
644
649
  dataItem: a.dataItem,
645
650
  level: a.level,
@@ -731,13 +736,13 @@ we.propTypes = {
731
736
  navigatable: c.bool
732
737
  };
733
738
  we.contextType = oe;
734
- const Kt = (e) => /* @__PURE__ */ l.createElement(et, { ...e }), It = (e) => {
739
+ const _t = (e) => /* @__PURE__ */ l.createElement(tt, { ...e }), St = (e) => {
735
740
  const r = l.useCallback(
736
741
  (i) => {
737
742
  e.selectionChange && e.selectionChange({ syntheticEvent: i });
738
743
  },
739
744
  [e.selectionChange]
740
- ), t = l.useMemo(() => z(), []), a = C(e.field, e.dataItem), n = k(e.id), o = /* @__PURE__ */ l.createElement(
745
+ ), t = ne(), a = v(e.field, e.dataItem), n = T(e.id), o = /* @__PURE__ */ l.createElement(
741
746
  "td",
742
747
  {
743
748
  style: e.style,
@@ -763,19 +768,19 @@ const Kt = (e) => /* @__PURE__ */ l.createElement(et, { ...e }), It = (e) => {
763
768
  );
764
769
  return e.render ? e.render.call(void 0, o, e) : o;
765
770
  };
766
- It.displayName = "KendoReactTreeListSelectionCell";
767
- class _t extends l.Component {
771
+ St.displayName = "KendoReactTreeListSelectionCell";
772
+ class qt extends l.Component {
768
773
  constructor() {
769
- super(...arguments), this._inputId = z();
774
+ super(...arguments), this._inputId = Pe();
770
775
  }
771
776
  /**
772
777
  * @hidden
773
778
  */
774
779
  render() {
775
- return /* @__PURE__ */ l.createElement(tt, { inputId: this._inputId, ...this.props });
780
+ return /* @__PURE__ */ l.createElement(at, { inputId: this._inputId, ...this.props });
776
781
  }
777
782
  }
778
- const St = (e) => e.visible && j ? ut.createPortal(
783
+ const wt = (e) => e.visible && $ ? mt.createPortal(
779
784
  /* @__PURE__ */ l.createElement(
780
785
  "div",
781
786
  {
@@ -790,23 +795,23 @@ const St = (e) => e.visible && j ? ut.createPortal(
790
795
  }
791
796
  },
792
797
  /* @__PURE__ */ l.createElement(
793
- ne,
798
+ ae,
794
799
  {
795
800
  className: I(
796
801
  "k-drag-status"
797
802
  ),
798
803
  name: e.allowDrop ? "plus" : "cancel",
799
- icon: e.allowDrop ? ht : gt
804
+ icon: e.allowDrop ? gt : ut
800
805
  }
801
806
  ),
802
807
  e.text
803
808
  ),
804
809
  document.body
805
810
  ) : null;
806
- function wt(e, r, t) {
811
+ function yt(e, r, t) {
807
812
  if (!e.originalEvent)
808
813
  return -1;
809
- let a = Re(e, "tr", t);
814
+ let a = ye(e, "tr", t);
810
815
  if (a) {
811
816
  const n = r ? r.childNodes : [];
812
817
  for (let o = 0; o < n.length; o++)
@@ -815,23 +820,23 @@ function wt(e, r, t) {
815
820
  }
816
821
  return -1;
817
822
  }
818
- function Re(e, r, t) {
823
+ function ye(e, r, t) {
819
824
  let a = t ? t.elementFromPoint(e.clientX, e.clientY) : null;
820
825
  return r && a ? a.closest(r) : null;
821
826
  }
822
- const Rt = "k-grid k-grid-md", ae = {
827
+ const Rt = "k-grid k-grid-md", te = {
823
828
  visible: !1,
824
829
  top: 0,
825
830
  left: 0,
826
831
  text: "",
827
832
  allowDrop: !1
828
833
  };
829
- class qt extends l.Component {
834
+ class Vt extends l.Component {
830
835
  constructor() {
831
836
  super(...arguments), this.state = {
832
- clueProps: { ...ae }
837
+ clueProps: { ...te }
833
838
  }, this.draggable = l.createRef(), this.dragged = null, this.draggedOver = null, this.onPress = () => this.dragged = this.props.level, this.onDrag = (r) => {
834
- if (!j)
839
+ if (!$)
835
840
  return;
836
841
  const t = this.draggable.current && this.draggable.current.element, a = t ? t.ownerDocument : document;
837
842
  if (!a)
@@ -839,9 +844,9 @@ class qt extends l.Component {
839
844
  const n = r.event, o = this.dragged;
840
845
  if (t && o) {
841
846
  !n.isTouch && n.type !== "scroll" && n.originalEvent.preventDefault();
842
- const i = this.props.levels[wt(n, t.parentNode, a)];
847
+ const i = this.props.levels[yt(n, t.parentNode, a)];
843
848
  this.draggedOver = i;
844
- const s = i ? !o.every((d, g) => d === i[g]) : !!Re(n, Rt, a);
849
+ const s = i ? !o.every((d, g) => d === i[g]) : !!ye(n, Rt, a);
845
850
  this.setState({
846
851
  clueProps: {
847
852
  visible: !0,
@@ -861,7 +866,7 @@ class qt extends l.Component {
861
866
  const t = r.event;
862
867
  if (this.dragged) {
863
868
  const a = [...this.dragged], n = this.draggedOver && [...this.draggedOver], o = this.state.clueProps.allowDrop;
864
- this.dragged = null, this.draggedOver = null, this.setState({ clueProps: { ...ae } });
869
+ this.dragged = null, this.draggedOver = null, this.setState({ clueProps: { ...te } });
865
870
  const i = this.props.dataItem;
866
871
  o && this.props.onDrop && this.props.onDrop.call(void 0, {
867
872
  nativeEvent: t.originalEvent,
@@ -878,18 +883,18 @@ class qt extends l.Component {
878
883
  render() {
879
884
  const { clueProps: r } = this.state;
880
885
  return /* @__PURE__ */ l.createElement(l.Fragment, null, /* @__PURE__ */ l.createElement(
881
- Pe,
886
+ ze,
882
887
  {
883
888
  ref: this.draggable,
884
889
  onPress: this.onPress,
885
890
  onDrag: this.onDrag,
886
891
  onRelease: this.onRelease
887
892
  },
888
- /* @__PURE__ */ l.createElement(Y, { ...this.props })
889
- ), /* @__PURE__ */ l.createElement(St, { ...r }));
893
+ /* @__PURE__ */ l.createElement(j, { ...this.props })
894
+ ), /* @__PURE__ */ l.createElement(wt, { ...r }));
890
895
  }
891
896
  }
892
- class Vt extends l.Component {
897
+ class Ut extends l.Component {
893
898
  /**
894
899
  * @hidden
895
900
  */
@@ -903,90 +908,90 @@ class Vt extends l.Component {
903
908
  );
904
909
  }
905
910
  }
906
- const yt = [
911
+ const Dt = [
907
912
  { text: ce, operator: "contains" },
908
913
  { text: de, operator: "doesnotcontain" },
909
- { text: B, operator: "eq" },
910
- { text: K, operator: "neq" },
914
+ { text: H, operator: "eq" },
915
+ { text: B, operator: "neq" },
911
916
  { text: se, operator: "startswith" },
912
917
  { text: he, operator: "endswith" },
913
- { text: _, operator: "isnull" },
914
- { text: q, operator: "isnotnull" },
918
+ { text: K, operator: "isnull" },
919
+ { text: _, operator: "isnotnull" },
915
920
  { text: re, operator: "isempty" },
916
921
  { text: ie, operator: "isnotempty" }
917
- ], Dt = [
918
- { text: B, operator: "eq" },
919
- { text: K, operator: "neq" },
922
+ ], kt = [
923
+ { text: H, operator: "eq" },
924
+ { text: B, operator: "neq" },
920
925
  { text: ge, operator: "gte" },
921
926
  { text: ue, operator: "gt" },
922
927
  { text: me, operator: "lte" },
923
928
  { text: fe, operator: "lt" },
924
- { text: _, operator: "isnull" },
925
- { text: q, operator: "isnotnull" }
929
+ { text: K, operator: "isnull" },
930
+ { text: _, operator: "isnotnull" }
926
931
  ], Tt = [
927
- { text: B, operator: "eq" },
928
- { text: K, operator: "neq" },
932
+ { text: H, operator: "eq" },
933
+ { text: B, operator: "neq" },
929
934
  { text: xe, operator: "gte" },
930
935
  { text: be, operator: "gt" },
931
936
  { text: Ee, operator: "lt" },
932
937
  { text: Ie, operator: "lte" },
933
- { text: _, operator: "isnull" },
934
- { text: q, operator: "isnotnull" }
935
- ], kt = [
938
+ { text: K, operator: "isnull" },
939
+ { text: _, operator: "isnotnull" }
940
+ ], Nt = [
936
941
  { text: ve, operator: "" },
937
942
  { text: pe, operator: !0 },
938
943
  { text: Ce, operator: !1 }
939
944
  ];
940
- function V(e, r) {
945
+ function q(e, r) {
941
946
  return {
942
- clearButtonTitle: e.toLanguageString(X, $[X]),
947
+ clearButtonTitle: e.toLanguageString(W, G[W]),
943
948
  operators: r.map((t) => ({
944
- text: e.toLanguageString(t.text, $[t.text]),
949
+ text: e.toLanguageString(t.text, G[t.text]),
945
950
  operator: t.operator
946
951
  }))
947
952
  };
948
953
  }
949
- const Ut = function(e) {
954
+ const Wt = function(e) {
950
955
  const { operators: r, ...t } = e;
951
956
  return /* @__PURE__ */ l.createElement(
952
- at,
957
+ nt,
953
958
  {
954
959
  ariaLabel: "text filter",
955
- ...V(H(), r || yt),
960
+ ...q(z(), r || Dt),
956
961
  ...t
957
962
  }
958
963
  );
959
- }, Wt = function(e) {
964
+ }, Xt = function(e) {
960
965
  const { operators: r, ...t } = e;
961
966
  return /* @__PURE__ */ l.createElement(
962
- nt,
967
+ ot,
963
968
  {
964
969
  ariaLabel: "numeric filter",
965
- ...V(H(), r || Dt),
970
+ ...q(z(), r || kt),
966
971
  ...t
967
972
  }
968
973
  );
969
- }, Xt = function(e) {
974
+ }, Gt = function(e) {
970
975
  const { operators: r, ...t } = e;
971
976
  return /* @__PURE__ */ l.createElement(
972
- ot,
977
+ lt,
973
978
  {
974
979
  ariaLabel: "date filter",
975
- ...V(H(), r || Tt),
980
+ ...q(z(), r || Tt),
976
981
  ...t
977
982
  }
978
983
  );
979
- }, Gt = function(e) {
984
+ }, $t = function(e) {
980
985
  const { operators: r, ...t } = e;
981
986
  return /* @__PURE__ */ l.createElement(
982
- lt,
987
+ rt,
983
988
  {
984
989
  ariaLabel: "boolean filter",
985
- ...V(H(), r || kt),
990
+ ...q(z(), r || Nt),
986
991
  ...t
987
992
  }
988
993
  );
989
- }, Nt = (e) => {
994
+ }, Lt = (e) => {
990
995
  const r = l.useCallback(
991
996
  (o) => {
992
997
  e.onChange && e.onChange({
@@ -998,7 +1003,7 @@ const Ut = function(e) {
998
1003
  });
999
1004
  },
1000
1005
  [e.onChange, e.dataItem, e.level, e.field]
1001
- ), t = k(e.id), a = I({
1006
+ ), t = T(e.id), a = I({
1002
1007
  ["k-selected"]: e.isSelected
1003
1008
  }, e.className), n = /* @__PURE__ */ l.createElement(
1004
1009
  "td",
@@ -1016,15 +1021,15 @@ const Ut = function(e) {
1016
1021
  {
1017
1022
  style: { width: "100%" },
1018
1023
  className: "k-input",
1019
- value: C(e.field, e.dataItem) || "",
1024
+ value: v(e.field, e.dataItem) || "",
1020
1025
  onChange: r
1021
1026
  }
1022
1027
  )
1023
1028
  );
1024
1029
  return e.render ? e.render.call(void 0, n, e) : n;
1025
1030
  };
1026
- Nt.displayName = "KendoReactTreeListTextEditor";
1027
- const Lt = (e) => {
1031
+ Lt.displayName = "KendoReactTreeListTextEditor";
1032
+ const Ot = (e) => {
1028
1033
  const r = l.useCallback(
1029
1034
  (i) => {
1030
1035
  e.onChange && e.onChange({
@@ -1036,7 +1041,7 @@ const Lt = (e) => {
1036
1041
  });
1037
1042
  },
1038
1043
  [e.onChange, e.dataItem, e.level, e.field]
1039
- ), t = C(e.field, e.dataItem), a = k(e.id), n = I({
1044
+ ), t = v(e.field, e.dataItem), a = T(e.id), n = I({
1040
1045
  ["k-selected"]: e.isSelected
1041
1046
  }, e.className), o = /* @__PURE__ */ l.createElement(
1042
1047
  "td",
@@ -1050,7 +1055,7 @@ const Lt = (e) => {
1050
1055
  [L]: e.colIndex
1051
1056
  },
1052
1057
  /* @__PURE__ */ l.createElement(
1053
- mt,
1058
+ ft,
1054
1059
  {
1055
1060
  width: "100%",
1056
1061
  value: t === void 0 ? null : t,
@@ -1060,8 +1065,8 @@ const Lt = (e) => {
1060
1065
  );
1061
1066
  return e.render ? e.render.call(void 0, o, e) : o;
1062
1067
  };
1063
- Lt.displayName = "KendoReactTreeListNumericEditor";
1064
- const Ot = (e) => {
1068
+ Ot.displayName = "KendoReactTreeListNumericEditor";
1069
+ const Ft = (e) => {
1065
1070
  const r = l.useCallback(
1066
1071
  (i) => {
1067
1072
  e.onChange && e.onChange({
@@ -1073,7 +1078,7 @@ const Ot = (e) => {
1073
1078
  });
1074
1079
  },
1075
1080
  [e.onChange, e.dataItem, e.level, e.field]
1076
- ), t = l.useMemo(() => z(), []), a = k(e.id), n = I({
1081
+ ), t = ne(), a = T(e.id), n = I({
1077
1082
  ["k-selected"]: e.isSelected
1078
1083
  }, e.className), o = /* @__PURE__ */ l.createElement(
1079
1084
  "td",
@@ -1089,7 +1094,7 @@ const Ot = (e) => {
1089
1094
  /* @__PURE__ */ l.createElement(
1090
1095
  "input",
1091
1096
  {
1092
- checked: C(e.field, e.dataItem) || !1,
1097
+ checked: v(e.field, e.dataItem) || !1,
1093
1098
  id: t,
1094
1099
  type: "checkbox",
1095
1100
  className: "k-checkbox k-checkbox-md k-rounded-md",
@@ -1100,8 +1105,8 @@ const Ot = (e) => {
1100
1105
  );
1101
1106
  return e.render ? e.render.call(void 0, o, e) : o;
1102
1107
  };
1103
- Ot.displayName = "KendoReactTreeListBooleanEditor";
1104
- const Ft = (e) => {
1108
+ Ft.displayName = "KendoReactTreeListBooleanEditor";
1109
+ const At = (e) => {
1105
1110
  const r = l.useCallback(
1106
1111
  (o) => {
1107
1112
  e.onChange && e.onChange({
@@ -1113,7 +1118,7 @@ const Ft = (e) => {
1113
1118
  });
1114
1119
  },
1115
1120
  [e.onChange, e.dataItem, e.level, e.field]
1116
- ), t = k(e.id), a = I({
1121
+ ), t = T(e.id), a = I({
1117
1122
  ["k-selected"]: e.isSelected
1118
1123
  }, e.className);
1119
1124
  let n = /* @__PURE__ */ l.createElement(
@@ -1128,54 +1133,54 @@ const Ft = (e) => {
1128
1133
  [L]: e.colIndex
1129
1134
  },
1130
1135
  /* @__PURE__ */ l.createElement(
1131
- ft,
1136
+ pt,
1132
1137
  {
1133
1138
  width: "100%",
1134
- value: C(e.field, e.dataItem),
1139
+ value: v(e.field, e.dataItem),
1135
1140
  onChange: r
1136
1141
  }
1137
1142
  )
1138
1143
  );
1139
1144
  return e.render ? e.render.call(void 0, n, e) : n;
1140
1145
  };
1141
- Ft.displayName = "KendoReactTreeListDateEditor";
1146
+ At.displayName = "KendoReactTreeListDateEditor";
1142
1147
  export {
1143
1148
  L as TREELIST_COL_INDEX_ATTRIBUTE,
1144
- bt as TREELIST_PREVENT_SELECTION_ELEMENT,
1145
- xt as TREELIST_ROW_INDEX_ATTRIBUTE,
1149
+ Et as TREELIST_PREVENT_SELECTION_ELEMENT,
1150
+ bt as TREELIST_ROW_INDEX_ATTRIBUTE,
1146
1151
  we as TreeList,
1147
- Ot as TreeListBooleanEditor,
1148
- Gt as TreeListBooleanFilter,
1152
+ Ft as TreeListBooleanEditor,
1153
+ $t as TreeListBooleanFilter,
1149
1154
  le as TreeListCell,
1150
- Ft as TreeListDateEditor,
1151
- Xt as TreeListDateFilter,
1152
- qt as TreeListDraggableRow,
1153
- Kt as TreeListHeaderCell,
1154
- _t as TreeListHeaderSelectionCell,
1155
+ At as TreeListDateEditor,
1156
+ Gt as TreeListDateFilter,
1157
+ Vt as TreeListDraggableRow,
1158
+ _t as TreeListHeaderCell,
1159
+ qt as TreeListHeaderSelectionCell,
1155
1160
  Se as TreeListNoRecords,
1156
- Lt as TreeListNumericEditor,
1157
- Wt as TreeListNumericFilter,
1158
- Y as TreeListRow,
1159
- It as TreeListSelectionCell,
1160
- Nt as TreeListTextEditor,
1161
- Ut as TreeListTextFilter,
1162
- Vt as TreeListToolbar,
1163
- ea as createDataTree,
1164
- ta as extendDataItem,
1165
- aa as filterBy,
1166
- na as flatData,
1167
- oa as getItemPath,
1168
- Yt as getNestedValue,
1169
- la as getSelectedState,
1170
- ra as getSelectedStateFromKeyDown,
1171
- Jt as mapTree,
1172
- Qt as mapTreeItem,
1173
- ia as modifySubItems,
1174
- sa as moveTreeItem,
1175
- ca as orderBy,
1176
- da as removeItems,
1177
- Ct as setHeaderRowsTop,
1178
- ha as setSelectedState,
1179
- vt as tableRowsVirtualization,
1180
- ga as treeToFlat
1161
+ Ot as TreeListNumericEditor,
1162
+ Xt as TreeListNumericFilter,
1163
+ j as TreeListRow,
1164
+ St as TreeListSelectionCell,
1165
+ Lt as TreeListTextEditor,
1166
+ Wt as TreeListTextFilter,
1167
+ Ut as TreeListToolbar,
1168
+ ta as createDataTree,
1169
+ aa as extendDataItem,
1170
+ na as filterBy,
1171
+ oa as flatData,
1172
+ la as getItemPath,
1173
+ Jt as getNestedValue,
1174
+ ra as getSelectedState,
1175
+ ia as getSelectedStateFromKeyDown,
1176
+ Qt as mapTree,
1177
+ Zt as mapTreeItem,
1178
+ sa as modifySubItems,
1179
+ ca as moveTreeItem,
1180
+ da as orderBy,
1181
+ ha as removeItems,
1182
+ vt as setHeaderRowsTop,
1183
+ ga as setSelectedState,
1184
+ xt as tableRowsVirtualization,
1185
+ ua as treeToFlat
1181
1186
  };