@progress/kendo-react-grid 5.4.0-dev.202205250548 → 5.4.0-dev.202205271059

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 (140) hide show
  1. package/dist/cdn/js/kendo-react-grid.js +1 -1
  2. package/dist/es/Grid.d.ts +5 -4
  3. package/dist/es/Grid.js +25 -19
  4. package/dist/es/GridColumn.js +1 -1
  5. package/dist/es/GridNoRecords.js +3 -1
  6. package/dist/es/GridToolbar.js +3 -1
  7. package/dist/es/ScrollMode.js +1 -0
  8. package/dist/es/VirtualScroll.d.ts +2 -2
  9. package/dist/es/VirtualScroll.js +2 -2
  10. package/dist/es/cells/GridFilterCell.js +3 -1
  11. package/dist/es/columnMenu/GridColumnMenuCheckboxFilter.d.ts +2 -2
  12. package/dist/es/columnMenu/GridColumnMenuCheckboxFilter.js +11 -4
  13. package/dist/es/columnMenu/GridColumnMenuFilter.d.ts +4 -4
  14. package/dist/es/columnMenu/GridColumnMenuFilter.js +21 -14
  15. package/dist/es/columnMenu/GridColumnMenuFilterCell.js +3 -1
  16. package/dist/es/columnMenu/GridColumnMenuFilterUI.js +3 -1
  17. package/dist/es/columnMenu/GridColumnMenuGroup.d.ts +1 -1
  18. package/dist/es/columnMenu/GridColumnMenuGroup.js +3 -1
  19. package/dist/es/columnMenu/GridColumnMenuItem.js +3 -1
  20. package/dist/es/columnMenu/GridColumnMenuItemContent.js +3 -1
  21. package/dist/es/columnMenu/GridColumnMenuItemGroup.js +3 -1
  22. package/dist/es/columnMenu/GridColumnMenuSort.d.ts +1 -1
  23. package/dist/es/columnMenu/GridColumnMenuSort.js +3 -1
  24. package/dist/es/columnMenu/GridColumnMenuWrapper.js +7 -3
  25. package/dist/es/drag/ColumnDraggable.d.ts +1 -2
  26. package/dist/es/drag/ColumnDraggable.js +3 -1
  27. package/dist/es/drag/ColumnResize.d.ts +1 -2
  28. package/dist/es/drag/ColumnResizer.js +3 -1
  29. package/dist/es/drag/CommonDragLogic.d.ts +7 -7
  30. package/dist/es/drag/CommonDragLogic.js +4 -4
  31. package/dist/es/drag/GroupingIndicator.d.ts +2 -2
  32. package/dist/es/drag/GroupingIndicator.js +3 -1
  33. package/dist/es/filterCommon.d.ts +3 -3
  34. package/dist/es/footer/Footer.js +3 -1
  35. package/dist/es/footer/FooterRow.d.ts +1 -1
  36. package/dist/es/footer/FooterRow.js +4 -2
  37. package/dist/es/header/FilterRow.js +3 -1
  38. package/dist/es/header/GridHeaderCell.js +3 -1
  39. package/dist/es/header/GridHeaderSelectionCell.js +3 -1
  40. package/dist/es/header/GroupPanel.d.ts +2 -2
  41. package/dist/es/header/GroupPanel.js +3 -1
  42. package/dist/es/header/Header.d.ts +2 -2
  43. package/dist/es/header/Header.js +6 -5
  44. package/dist/es/header/HeaderRow.js +3 -1
  45. package/dist/es/interfaces/GridCellProps.js +1 -0
  46. package/dist/es/interfaces/GridColumnMenuBaseProps.js +1 -0
  47. package/dist/es/interfaces/GridColumnMenuColumnProps.js +1 -0
  48. package/dist/es/interfaces/GridColumnMenuFilterBaseProps.js +1 -0
  49. package/dist/es/interfaces/GridColumnMenuFilterUIProps.js +1 -0
  50. package/dist/es/interfaces/GridColumnMenuGroupBaseProps.js +1 -0
  51. package/dist/es/interfaces/GridColumnMenuProps.js +1 -0
  52. package/dist/es/interfaces/GridColumnMenuSortBaseProps.js +1 -0
  53. package/dist/es/interfaces/GridColumnProps.js +1 -0
  54. package/dist/es/interfaces/GridDetailRowProps.js +1 -0
  55. package/dist/es/interfaces/GridFilterCellProps.js +1 -0
  56. package/dist/es/interfaces/GridFilterOperator.js +1 -0
  57. package/dist/es/interfaces/GridFilterOperators.js +1 -0
  58. package/dist/es/interfaces/GridFooterCellProps.js +1 -0
  59. package/dist/es/interfaces/GridGroupableSettings.js +1 -0
  60. package/dist/es/interfaces/GridHeaderCellProps.js +1 -0
  61. package/dist/es/interfaces/GridNoRecordsProps.js +1 -0
  62. package/dist/es/interfaces/GridProps.js +1 -0
  63. package/dist/es/interfaces/GridRowProps.js +1 -0
  64. package/dist/es/interfaces/GridRowType.js +1 -0
  65. package/dist/es/interfaces/GridSelectableSettings.js +1 -0
  66. package/dist/es/interfaces/GridSortSettings.d.ts +1 -11
  67. package/dist/es/interfaces/GridSortSettings.js +6 -1
  68. package/dist/es/interfaces/GridToolbarProps.js +1 -0
  69. package/dist/es/interfaces/events.js +1 -0
  70. package/dist/es/main.js +1 -0
  71. package/dist/es/messages/index.d.ts +28 -28
  72. package/dist/es/package-metadata.js +1 -1
  73. package/dist/es/paging/Page.js +1 -0
  74. package/dist/es/rows/GridDetailRow.js +3 -1
  75. package/dist/es/rows/GridRow.js +3 -1
  76. package/dist/es/utils/index.js +4 -2
  77. package/dist/npm/Grid.d.ts +5 -4
  78. package/dist/npm/Grid.js +26 -19
  79. package/dist/npm/GridColumn.js +4 -2
  80. package/dist/npm/GridNoRecords.js +4 -1
  81. package/dist/npm/GridToolbar.js +4 -1
  82. package/dist/npm/VirtualScroll.d.ts +2 -2
  83. package/dist/npm/VirtualScroll.js +3 -2
  84. package/dist/npm/cells/GridCell.js +3 -1
  85. package/dist/npm/cells/GridDetailCell.js +3 -1
  86. package/dist/npm/cells/GridDetailHierarchyCell.js +3 -1
  87. package/dist/npm/cells/GridEditCell.js +3 -1
  88. package/dist/npm/cells/GridFilterCell.js +4 -1
  89. package/dist/npm/cells/GridGroupCell.js +3 -1
  90. package/dist/npm/cells/GridHierarchyCell.js +3 -1
  91. package/dist/npm/cells/GridSelectionCell.js +3 -1
  92. package/dist/npm/columnMenu/GridColumnMenuCheckboxFilter.d.ts +2 -2
  93. package/dist/npm/columnMenu/GridColumnMenuCheckboxFilter.js +12 -4
  94. package/dist/npm/columnMenu/GridColumnMenuFilter.d.ts +4 -4
  95. package/dist/npm/columnMenu/GridColumnMenuFilter.js +26 -16
  96. package/dist/npm/columnMenu/GridColumnMenuFilterCell.js +4 -1
  97. package/dist/npm/columnMenu/GridColumnMenuFilterUI.js +4 -1
  98. package/dist/npm/columnMenu/GridColumnMenuGroup.d.ts +1 -1
  99. package/dist/npm/columnMenu/GridColumnMenuGroup.js +4 -1
  100. package/dist/npm/columnMenu/GridColumnMenuItem.js +4 -1
  101. package/dist/npm/columnMenu/GridColumnMenuItemContent.js +4 -1
  102. package/dist/npm/columnMenu/GridColumnMenuItemGroup.js +4 -1
  103. package/dist/npm/columnMenu/GridColumnMenuSort.d.ts +1 -1
  104. package/dist/npm/columnMenu/GridColumnMenuSort.js +4 -1
  105. package/dist/npm/columnMenu/GridColumnMenuWrapper.js +8 -3
  106. package/dist/npm/constants/index.js +1 -0
  107. package/dist/npm/drag/ColumnDraggable.d.ts +1 -2
  108. package/dist/npm/drag/ColumnDraggable.js +4 -1
  109. package/dist/npm/drag/ColumnResize.d.ts +1 -2
  110. package/dist/npm/drag/ColumnResize.js +1 -0
  111. package/dist/npm/drag/ColumnResizer.js +4 -1
  112. package/dist/npm/drag/CommonDragLogic.d.ts +7 -7
  113. package/dist/npm/drag/CommonDragLogic.js +5 -4
  114. package/dist/npm/drag/GroupingIndicator.d.ts +2 -2
  115. package/dist/npm/drag/GroupingIndicator.js +4 -1
  116. package/dist/npm/filterCommon.d.ts +3 -3
  117. package/dist/npm/filterCommon.js +15 -7
  118. package/dist/npm/footer/Footer.js +4 -1
  119. package/dist/npm/footer/FooterRow.d.ts +1 -1
  120. package/dist/npm/footer/FooterRow.js +5 -2
  121. package/dist/npm/header/FilterRow.js +4 -1
  122. package/dist/npm/header/GridHeaderCell.js +4 -1
  123. package/dist/npm/header/GridHeaderSelectionCell.js +4 -1
  124. package/dist/npm/header/GroupPanel.d.ts +2 -2
  125. package/dist/npm/header/GroupPanel.js +4 -1
  126. package/dist/npm/header/Header.d.ts +2 -2
  127. package/dist/npm/header/Header.js +7 -5
  128. package/dist/npm/header/HeaderRow.js +4 -1
  129. package/dist/npm/interfaces/GridSortSettings.d.ts +1 -11
  130. package/dist/npm/interfaces/GridSortSettings.js +9 -2
  131. package/dist/npm/main.js +39 -27
  132. package/dist/npm/messages/index.d.ts +28 -28
  133. package/dist/npm/messages/index.js +2 -1
  134. package/dist/npm/package-metadata.js +2 -1
  135. package/dist/npm/paging/GridPagerSettings.js +3 -1
  136. package/dist/npm/rows/GridDetailRow.js +4 -1
  137. package/dist/npm/rows/GridRow.js +4 -1
  138. package/dist/npm/utils/index.js +9 -4
  139. package/dist/systemjs/kendo-react-grid.js +1 -1
  140. package/package.json +18 -18
@@ -3,10 +3,12 @@ var __extends = (this && this.__extends) || (function () {
3
3
  var extendStatics = function (d, b) {
4
4
  extendStatics = Object.setPrototypeOf ||
5
5
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
7
  return extendStatics(d, b);
8
8
  };
9
9
  return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
10
12
  extendStatics(d, b);
11
13
  function __() { this.constructor = d; }
12
14
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
@@ -23,7 +25,13 @@ var __assign = (this && this.__assign) || function () {
23
25
  };
24
26
  return __assign.apply(this, arguments);
25
27
  };
28
+ var __spreadArray = (this && this.__spreadArray) || function (to, from) {
29
+ for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
30
+ to[j] = from[i];
31
+ return to;
32
+ };
26
33
  Object.defineProperty(exports, "__esModule", { value: true });
34
+ exports.GridColumnMenuFilter = exports.filterGroupByField = exports.rootFilterOrDefault = void 0;
27
35
  var React = require("react");
28
36
  var kendo_data_query_1 = require("@progress/kendo-data-query");
29
37
  var GridColumnMenuItem_1 = require("./GridColumnMenuItem");
@@ -37,13 +45,14 @@ var kendo_react_buttons_1 = require("@progress/kendo-react-buttons");
37
45
  /**
38
46
  * @hidden
39
47
  */
40
- exports.rootFilterOrDefault = function (rootFilter) {
48
+ var rootFilterOrDefault = function (rootFilter) {
41
49
  return (rootFilter || { filters: [], logic: 'and' });
42
50
  };
51
+ exports.rootFilterOrDefault = rootFilterOrDefault;
43
52
  /**
44
53
  * @hidden
45
54
  */
46
- exports.filterGroupByField = function (field, filter) {
55
+ var filterGroupByField = function (field, filter) {
47
56
  var rootFilter = exports.rootFilterOrDefault(filter);
48
57
  var compositeFilters = rootFilter.filters
49
58
  .filter(function (f) {
@@ -57,6 +66,7 @@ exports.filterGroupByField = function (field, filter) {
57
66
  });
58
67
  return compositeFilters[0] || null;
59
68
  };
69
+ exports.filterGroupByField = filterGroupByField;
60
70
  /**
61
71
  * @example
62
72
  * ```jsx-no-run
@@ -121,21 +131,21 @@ var GridColumnMenuFilter = /** @class */ (function (_super) {
121
131
  * @hidden
122
132
  */
123
133
  _this.removeGroup = function (group, rootFilter) {
124
- var filters = rootFilter.filters.slice();
134
+ var filters = __spreadArray([], rootFilter.filters);
125
135
  var groupIndex = filters
126
136
  .findIndex(function (f) { return f === group; });
127
137
  if (groupIndex > -1) {
128
138
  filters.splice(groupIndex, 1);
129
139
  }
130
- return __assign({}, rootFilter, { filters: filters });
140
+ return __assign(__assign({}, rootFilter), { filters: filters });
131
141
  };
132
142
  /**
133
143
  * @hidden
134
144
  */
135
145
  _this.insertGroup = function (group, rootFilter) {
136
- return __assign({}, rootFilter, { filters: [
146
+ return __assign(__assign({}, rootFilter), { filters: __spreadArray([
137
147
  group
138
- ].concat(rootFilter.filters) });
148
+ ], rootFilter.filters) });
139
149
  };
140
150
  /**
141
151
  * @hidden
@@ -174,12 +184,12 @@ var GridColumnMenuFilter = /** @class */ (function (_super) {
174
184
  _this.filterChange = function (filterIndex, e) {
175
185
  var filters = _this.state.filterGroup.filters.map(function (f, i) {
176
186
  if (i === filterIndex) {
177
- return __assign({}, f, { value: e.value, operator: e.operator });
187
+ return __assign(__assign({}, f), { value: e.value, operator: e.operator });
178
188
  }
179
189
  return f;
180
190
  });
181
191
  _this.setState({
182
- filterGroup: __assign({}, _this.state.filterGroup, { filters: filters })
192
+ filterGroup: __assign(__assign({}, _this.state.filterGroup), { filters: filters })
183
193
  });
184
194
  };
185
195
  /**
@@ -187,7 +197,7 @@ var GridColumnMenuFilter = /** @class */ (function (_super) {
187
197
  */
188
198
  _this.logicChange = function (event) {
189
199
  _this.setState({
190
- filterGroup: __assign({}, _this.state.filterGroup, { logic: event.target.value.operator })
200
+ filterGroup: __assign(__assign({}, _this.state.filterGroup), { logic: event.target.value.operator })
191
201
  });
192
202
  };
193
203
  /**
@@ -206,7 +216,7 @@ var GridColumnMenuFilter = /** @class */ (function (_super) {
206
216
  _this.props.onFilterChange(null, event);
207
217
  }
208
218
  else {
209
- _this.props.onFilterChange(__assign({}, rootFilter, { filters: rootFilters }), event);
219
+ _this.props.onFilterChange(__assign(__assign({}, rootFilter), { filters: rootFilters }), event);
210
220
  }
211
221
  if (_this.props.onCloseMenu) {
212
222
  _this.props.onCloseMenu();
@@ -216,7 +226,7 @@ var GridColumnMenuFilter = /** @class */ (function (_super) {
216
226
  * @hidden
217
227
  */
218
228
  _this.currentFilterGroup = function () {
219
- return __assign({}, _this.state.filterGroup, { filters: _this.state
229
+ return __assign(__assign({}, _this.state.filterGroup), { filters: _this.state
220
230
  .filterGroup
221
231
  .filters
222
232
  .filter(function (nf) {
@@ -244,18 +254,18 @@ var GridColumnMenuFilter = /** @class */ (function (_super) {
244
254
  }
245
255
  return f;
246
256
  });
247
- updatedFilter = __assign({}, rootFilter, { filters: rootFilters });
257
+ updatedFilter = __assign(__assign({}, rootFilter), { filters: rootFilters });
248
258
  }
249
259
  else if (currentFilterGroup.filters.length === 0) {
250
260
  var rootFilters = rootFilter
251
261
  .filters
252
262
  .filter(function (f) { return f !== filterGroup; });
253
263
  if (rootFilters.length) {
254
- updatedFilter = __assign({}, rootFilter, { filters: rootFilters });
264
+ updatedFilter = __assign(__assign({}, rootFilter), { filters: rootFilters });
255
265
  }
256
266
  }
257
267
  else {
258
- updatedFilter = __assign({}, rootFilter, { filters: rootFilter.filters.concat([currentFilterGroup]) });
268
+ updatedFilter = __assign(__assign({}, rootFilter), { filters: __spreadArray(__spreadArray([], rootFilter.filters), [currentFilterGroup]) });
259
269
  }
260
270
  _this.props.onFilterChange(updatedFilter, event);
261
271
  if (_this.props.onCloseMenu) {
@@ -267,7 +277,7 @@ var GridColumnMenuFilter = /** @class */ (function (_super) {
267
277
  var filterType = filterCommon_1.getFilterType(props.column.filter);
268
278
  var defaultOperator = filterCommon_1.getDefaultOperator(props.filterOperators, filterType);
269
279
  filterGroup = exports.filterGroupByField(props.column.field, props.filter);
270
- filterGroup = filterGroup ? __assign({}, filterGroup, { filters: filterGroup.filters.map(function (f) {
280
+ filterGroup = filterGroup ? __assign(__assign({}, filterGroup), { filters: filterGroup.filters.map(function (f) {
271
281
  return __assign({}, f);
272
282
  }) }) : {
273
283
  logic: 'and',
@@ -3,16 +3,19 @@ var __extends = (this && this.__extends) || (function () {
3
3
  var extendStatics = function (d, b) {
4
4
  extendStatics = Object.setPrototypeOf ||
5
5
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
7
  return extendStatics(d, b);
8
8
  };
9
9
  return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
10
12
  extendStatics(d, b);
11
13
  function __() { this.constructor = d; }
12
14
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
13
15
  };
14
16
  })();
15
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.GridColumnMenuFilterCell = void 0;
16
19
  var React = require("react");
17
20
  var kendo_react_dropdowns_1 = require("@progress/kendo-react-dropdowns");
18
21
  var kendo_react_inputs_1 = require("@progress/kendo-react-inputs");
@@ -3,10 +3,12 @@ var __extends = (this && this.__extends) || (function () {
3
3
  var extendStatics = function (d, b) {
4
4
  extendStatics = Object.setPrototypeOf ||
5
5
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
7
  return extendStatics(d, b);
8
8
  };
9
9
  return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
10
12
  extendStatics(d, b);
11
13
  function __() { this.constructor = d; }
12
14
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
@@ -24,6 +26,7 @@ var __assign = (this && this.__assign) || function () {
24
26
  return __assign.apply(this, arguments);
25
27
  };
26
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.GridColumnMenuFilterUI = void 0;
27
30
  var React = require("react");
28
31
  var GridColumnMenuFilterCell_1 = require("./GridColumnMenuFilterCell");
29
32
  var kendo_react_dropdowns_1 = require("@progress/kendo-react-dropdowns");
@@ -65,7 +65,7 @@ export declare class GridColumnMenuGroup extends React.Component<GridColumnMenuG
65
65
  /**
66
66
  * @hidden
67
67
  */
68
- onGroupClick: (event: React.MouseEvent<HTMLAnchorElement, MouseEvent>) => void;
68
+ onGroupClick: (event: React.MouseEvent<HTMLAnchorElement>) => void;
69
69
  /**
70
70
  * @hidden
71
71
  */
@@ -3,16 +3,19 @@ var __extends = (this && this.__extends) || (function () {
3
3
  var extendStatics = function (d, b) {
4
4
  extendStatics = Object.setPrototypeOf ||
5
5
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
7
  return extendStatics(d, b);
8
8
  };
9
9
  return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
10
12
  extendStatics(d, b);
11
13
  function __() { this.constructor = d; }
12
14
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
13
15
  };
14
16
  })();
15
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.GridColumnMenuGroup = void 0;
16
19
  var React = require("react");
17
20
  var kendo_react_intl_1 = require("@progress/kendo-react-intl");
18
21
  var GridColumnMenuItemGroup_1 = require("./GridColumnMenuItemGroup");
@@ -3,16 +3,19 @@ var __extends = (this && this.__extends) || (function () {
3
3
  var extendStatics = function (d, b) {
4
4
  extendStatics = Object.setPrototypeOf ||
5
5
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
7
  return extendStatics(d, b);
8
8
  };
9
9
  return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
10
12
  extendStatics(d, b);
11
13
  function __() { this.constructor = d; }
12
14
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
13
15
  };
14
16
  })();
15
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.GridColumnMenuItem = void 0;
16
19
  var React = require("react");
17
20
  /**
18
21
  * The GridColumnMenuItem component that is used inside the Grid ColumnMenu.
@@ -3,16 +3,19 @@ var __extends = (this && this.__extends) || (function () {
3
3
  var extendStatics = function (d, b) {
4
4
  extendStatics = Object.setPrototypeOf ||
5
5
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
7
  return extendStatics(d, b);
8
8
  };
9
9
  return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
10
12
  extendStatics(d, b);
11
13
  function __() { this.constructor = d; }
12
14
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
13
15
  };
14
16
  })();
15
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.GridColumnMenuItemContent = void 0;
16
19
  var React = require("react");
17
20
  var kendo_react_animation_1 = require("@progress/kendo-react-animation");
18
21
  var kendo_react_common_1 = require("@progress/kendo-react-common");
@@ -3,16 +3,19 @@ var __extends = (this && this.__extends) || (function () {
3
3
  var extendStatics = function (d, b) {
4
4
  extendStatics = Object.setPrototypeOf ||
5
5
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
7
  return extendStatics(d, b);
8
8
  };
9
9
  return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
10
12
  extendStatics(d, b);
11
13
  function __() { this.constructor = d; }
12
14
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
13
15
  };
14
16
  })();
15
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.GridColumnMenuItemGroup = void 0;
16
19
  var kendo_react_common_1 = require("@progress/kendo-react-common");
17
20
  var React = require("react");
18
21
  /**
@@ -77,7 +77,7 @@ export declare class GridColumnMenuSort extends React.Component<GridColumnMenuSo
77
77
  /**
78
78
  * @hidden
79
79
  */
80
- onSort: (event: React.MouseEvent<HTMLAnchorElement, MouseEvent>, selectedDir: "desc" | "asc") => void;
80
+ onSort: (event: React.MouseEvent<HTMLAnchorElement>, selectedDir: 'asc' | 'desc') => void;
81
81
  /**
82
82
  * @hidden
83
83
  */
@@ -3,16 +3,19 @@ var __extends = (this && this.__extends) || (function () {
3
3
  var extendStatics = function (d, b) {
4
4
  extendStatics = Object.setPrototypeOf ||
5
5
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
7
  return extendStatics(d, b);
8
8
  };
9
9
  return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
10
12
  extendStatics(d, b);
11
13
  function __() { this.constructor = d; }
12
14
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
13
15
  };
14
16
  })();
15
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.GridColumnMenuSort = void 0;
16
19
  var React = require("react");
17
20
  var GridColumnMenuItem_1 = require("./GridColumnMenuItem");
18
21
  var GridColumnMenuItemGroup_1 = require("./GridColumnMenuItemGroup");
@@ -3,10 +3,12 @@ var __extends = (this && this.__extends) || (function () {
3
3
  var extendStatics = function (d, b) {
4
4
  extendStatics = Object.setPrototypeOf ||
5
5
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
7
  return extendStatics(d, b);
8
8
  };
9
9
  return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
10
12
  extendStatics(d, b);
11
13
  function __() { this.constructor = d; }
12
14
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
@@ -28,11 +30,14 @@ var __rest = (this && this.__rest) || function (s, e) {
28
30
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
29
31
  t[p] = s[p];
30
32
  if (s != null && typeof Object.getOwnPropertySymbols === "function")
31
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)
32
- t[p[i]] = s[p[i]];
33
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
34
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
35
+ t[p[i]] = s[p[i]];
36
+ }
33
37
  return t;
34
38
  };
35
39
  Object.defineProperty(exports, "__esModule", { value: true });
40
+ exports.GridColumnMenuWrapper = void 0;
36
41
  var React = require("react");
37
42
  var kendo_react_popup_1 = require("@progress/kendo-react-popup");
38
43
  /**
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GRID_PREVENT_SELECTION_ELEMENT = exports.GRID_COL_INDEX_ATTRIBUTE = exports.GRID_ROW_INDEX_ATTRIBUTE = void 0;
3
4
  var kendo_react_data_tools_1 = require("@progress/kendo-react-data-tools");
4
5
  /** The attribute required by the Grid selection on Grid `tr` elements. */
5
6
  exports.GRID_ROW_INDEX_ATTRIBUTE = kendo_react_data_tools_1.TABLE_ROW_INDEX_ATTRIBUTE;
@@ -1,6 +1,5 @@
1
1
  import * as React from 'react';
2
2
  import { DragClue } from '@progress/kendo-react-data-tools';
3
- import { Header } from '../header/Header';
4
3
  /**
5
4
  * @hidden
6
5
  */
@@ -10,7 +9,7 @@ export interface ColumnDraggableProps {
10
9
  releaseHandler?: (draggableEvent: any) => void;
11
10
  ariaRowIndex?: number;
12
11
  dragClue?: React.RefObject<DragClue | null> | null;
13
- headerRef?: React.RefObject<Header | null> | null;
12
+ headerRef?: React.RefObject<HTMLDivElement | null> | null;
14
13
  containerRef?: React.RefObject<HTMLDivElement | null> | null;
15
14
  }
16
15
  /**
@@ -3,16 +3,19 @@ var __extends = (this && this.__extends) || (function () {
3
3
  var extendStatics = function (d, b) {
4
4
  extendStatics = Object.setPrototypeOf ||
5
5
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
7
  return extendStatics(d, b);
8
8
  };
9
9
  return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
10
12
  extendStatics(d, b);
11
13
  function __() { this.constructor = d; }
12
14
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
13
15
  };
14
16
  })();
15
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.ColumnDraggable = void 0;
16
19
  var React = require("react");
17
20
  var kendo_react_common_1 = require("@progress/kendo-react-common");
18
21
  /**
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ExtendedColumnProps } from '../GridColumn';
3
2
  /**
4
3
  * @hidden
@@ -26,7 +25,7 @@ export declare class ColumnResize {
26
25
  constructor(triggerResize: (index: number, newWidth: number, oldWidth: number, originalEvent: any, end: boolean, targetId?: string) => void);
27
26
  setIsRtl: (isRtl: boolean) => void;
28
27
  dragHandler: (event: any, column: ExtendedColumnProps, dragCue: HTMLSpanElement, end: boolean) => void;
29
- dblClickHandler: (event: import("react").MouseEvent<HTMLSpanElement, MouseEvent>, columnIds: string[]) => void;
28
+ dblClickHandler: (event: React.MouseEvent<HTMLSpanElement, MouseEvent> | null, columnIds: string[]) => void;
30
29
  private fixateInitialWidths;
31
30
  private setWidths;
32
31
  private updateColElements;
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ColumnResize = void 0;
3
4
  // offsetWidth() is slowly transition to reporting double instead of integet in all browsers
4
5
  // during this process (which is a bit back-and-forth) we need to make sure we are working across all browsers and versions
5
6
  var OFFSET_ROUND = 1;
@@ -3,16 +3,19 @@ var __extends = (this && this.__extends) || (function () {
3
3
  var extendStatics = function (d, b) {
4
4
  extendStatics = Object.setPrototypeOf ||
5
5
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
7
  return extendStatics(d, b);
8
8
  };
9
9
  return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
10
12
  extendStatics(d, b);
11
13
  function __() { this.constructor = d; }
12
14
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
13
15
  };
14
16
  })();
15
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.ColumnResizer = void 0;
16
19
  var React = require("react");
17
20
  var kendo_react_common_1 = require("@progress/kendo-react-common");
18
21
  /**
@@ -22,14 +22,14 @@ export declare class CommonDragLogic {
22
22
  private groupReorder;
23
23
  private columnToGroup;
24
24
  private groupPanelDivElement;
25
- readonly dragClueRef: React.RefObject<DragClue | null>;
26
- readonly dropClueRef: React.RefObject<DropClue | null>;
27
- private readonly dragElementClue;
28
- private readonly dropElementClue;
25
+ get dragClueRef(): React.RefObject<DragClue | null>;
26
+ get dropClueRef(): React.RefObject<DropClue | null>;
27
+ private get dragElementClue();
28
+ private get dropElementClue();
29
29
  constructor(columnReorder: handler, groupReorder: handler, columnToGroup: handler);
30
- refGroupPanelDiv: (e: HTMLDivElement) => void;
31
- pressHandler: (event: any, element: HTMLDivElement | HTMLTableRowElement) => void;
32
- dragHandler: (event: any, element: HTMLDivElement | HTMLTableRowElement) => void;
30
+ refGroupPanelDiv: (e: HTMLDivElement | null) => void;
31
+ pressHandler: (event: any, element: HTMLTableRowElement | HTMLDivElement) => void;
32
+ dragHandler: (event: any, element: HTMLTableRowElement | HTMLDivElement) => void;
33
33
  releaseHandler: (event: any) => void;
34
34
  private getColumnIndex;
35
35
  private getGroupIndex;
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CommonDragLogic = void 0;
3
4
  var React = require("react");
4
5
  var kendo_react_data_tools_1 = require("@progress/kendo-react-data-tools");
5
6
  /**
@@ -89,28 +90,28 @@ var CommonDragLogic = /** @class */ (function () {
89
90
  get: function () {
90
91
  return this.refDragElementClue;
91
92
  },
92
- enumerable: true,
93
+ enumerable: false,
93
94
  configurable: true
94
95
  });
95
96
  Object.defineProperty(CommonDragLogic.prototype, "dropClueRef", {
96
97
  get: function () {
97
98
  return this.refDropElementClue;
98
99
  },
99
- enumerable: true,
100
+ enumerable: false,
100
101
  configurable: true
101
102
  });
102
103
  Object.defineProperty(CommonDragLogic.prototype, "dragElementClue", {
103
104
  get: function () {
104
105
  return this.refDragElementClue.current;
105
106
  },
106
- enumerable: true,
107
+ enumerable: false,
107
108
  configurable: true
108
109
  });
109
110
  Object.defineProperty(CommonDragLogic.prototype, "dropElementClue", {
110
111
  get: function () {
111
112
  return this.refDropElementClue.current;
112
113
  },
113
- enumerable: true,
114
+ enumerable: false,
114
115
  configurable: true
115
116
  });
116
117
  CommonDragLogic.prototype.getColumnIndex = function (event, parent) {
@@ -28,7 +28,7 @@ export declare class GroupingIndicator extends React.Component<GroupingIndicator
28
28
  * @hidden
29
29
  */
30
30
  onRelease: (data: any) => void;
31
- sortChange: (event: React.MouseEvent<HTMLAnchorElement, MouseEvent>) => void;
32
- groupRemove: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
31
+ sortChange: (event: React.MouseEvent<HTMLAnchorElement>) => void;
32
+ groupRemove: (event: React.MouseEvent<HTMLButtonElement>) => void;
33
33
  render(): JSX.Element;
34
34
  }
@@ -3,16 +3,19 @@ var __extends = (this && this.__extends) || (function () {
3
3
  var extendStatics = function (d, b) {
4
4
  extendStatics = Object.setPrototypeOf ||
5
5
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
7
  return extendStatics(d, b);
8
8
  };
9
9
  return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
10
12
  extendStatics(d, b);
11
13
  function __() { this.constructor = d; }
12
14
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
13
15
  };
14
16
  })();
15
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.GroupingIndicator = void 0;
16
19
  var React = require("react");
17
20
  var kendo_react_common_1 = require("@progress/kendo-react-common");
18
21
  var kendo_react_buttons_1 = require("@progress/kendo-react-buttons");
@@ -20,7 +20,7 @@ export declare const IsUnaryFilter: (operator: string) => boolean;
20
20
  /**
21
21
  * @hidden
22
22
  */
23
- export declare const operatorMap: (iterable: any[], service: LocalizationService) => {
23
+ export declare const operatorMap: (iterable: Array<any>, service: LocalizationService) => {
24
24
  text: string;
25
25
  operator: any;
26
26
  }[];
@@ -50,7 +50,7 @@ export declare const defaultHideSecondFilter: {
50
50
  /**
51
51
  * @hidden
52
52
  */
53
- export declare const cellInputChange: (value: any, e: React.SyntheticEvent<any, Event>, props: any) => void;
53
+ export declare const cellInputChange: (value: any, e: React.SyntheticEvent<any>, props: any) => void;
54
54
  /**
55
55
  * @hidden
56
56
  */
@@ -58,7 +58,7 @@ export declare const getDefaultOperator: (filterOperators: GridFilterOperators |
58
58
  /**
59
59
  * @hidden
60
60
  */
61
- export declare const getFilterType: (filterType: "boolean" | "text" | "numeric" | "date") => "boolean" | "text" | "numeric" | "date";
61
+ export declare const getFilterType: (filterType: 'text' | 'numeric' | 'boolean' | 'date' | undefined) => "boolean" | "numeric" | "text" | "date";
62
62
  /**
63
63
  * @hidden
64
64
  */