@progress/kendo-react-treelist 6.1.1 → 7.0.0-develop.2

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 (176) hide show
  1. package/LICENSE.md +1 -1
  2. package/ScrollMode.d.ts +5 -0
  3. package/{dist/es/TreeList.d.ts → TreeList.d.ts} +6 -2
  4. package/{dist/es/TreeListNoRecords.d.ts → TreeListNoRecords.d.ts} +4 -0
  5. package/TreeListToolbar.d.ts +15 -0
  6. package/cells/EditCells/TreeListBooleanEditor.d.ts +11 -0
  7. package/cells/EditCells/TreeListDateEditor.d.ts +11 -0
  8. package/{dist/es/cells → cells}/EditCells/TreeListNumericEditor.d.ts +4 -0
  9. package/cells/EditCells/TreeListTextEditor.d.ts +11 -0
  10. package/{dist/npm/cells → cells}/FilterCells/TreeListBooleanFilter.d.ts +4 -0
  11. package/{dist/npm/cells → cells}/FilterCells/TreeListDateFilter.d.ts +4 -0
  12. package/{dist/es/cells → cells}/FilterCells/TreeListNumericFilter.d.ts +4 -0
  13. package/{dist/es/cells → cells}/FilterCells/TreeListTextFilter.d.ts +4 -0
  14. package/{dist/npm/cells → cells}/FilterCells/utils.d.ts +4 -0
  15. package/cells/TreeListCell.d.ts +9 -0
  16. package/cells/TreeListSelectionCell.d.ts +11 -0
  17. package/{dist/es/constants → constants}/index.d.ts +4 -0
  18. package/dist/cdn/js/kendo-react-treelist.js +5 -1
  19. package/header/TreeListHeaderCell.d.ts +7 -0
  20. package/header/TreeListHeaderSelectionCell.d.ts +15 -0
  21. package/index.d.ts +38 -0
  22. package/index.js +5 -0
  23. package/index.mjs +1181 -0
  24. package/interfaces/DataItemWrapper.d.ts +14 -0
  25. package/{dist/npm/interfaces → interfaces}/TreeListCellProps.d.ts +4 -1
  26. package/{dist/es/interfaces → interfaces}/TreeListColumnProps.d.ts +4 -0
  27. package/interfaces/TreeListFilterCellProps.d.ts +10 -0
  28. package/interfaces/TreeListFilterOperator.d.ts +10 -0
  29. package/interfaces/TreeListHeaderCellProps.d.ts +10 -0
  30. package/interfaces/TreeListNoRecordsProps.d.ts +13 -0
  31. package/{dist/es/interfaces → interfaces}/TreeListProps.d.ts +4 -1
  32. package/{dist/es/interfaces → interfaces}/TreeListRowProps.d.ts +4 -1
  33. package/{dist/es/interfaces → interfaces}/TreeListSelectableSettings.d.ts +5 -1
  34. package/interfaces/TreeListSortSettings.d.ts +13 -0
  35. package/interfaces/TreeListToolbarProps.d.ts +13 -0
  36. package/{dist/es/interfaces → interfaces}/events.d.ts +4 -0
  37. package/{dist/npm/messages → messages}/index.d.ts +4 -0
  38. package/package-metadata.d.ts +9 -0
  39. package/package.json +36 -57
  40. package/{dist/es/rows → rows}/TreeListDraggableRow.d.ts +5 -1
  41. package/rows/TreeListRow.d.ts +10 -0
  42. package/{dist/npm/utils → utils}/index.d.ts +4 -0
  43. package/about.md +0 -3
  44. package/debug.log +0 -3
  45. package/dist/es/ScrollMode.d.ts +0 -1
  46. package/dist/es/ScrollMode.js +0 -1
  47. package/dist/es/TreeList.js +0 -632
  48. package/dist/es/TreeListNoRecords.js +0 -37
  49. package/dist/es/TreeListToolbar.d.ts +0 -11
  50. package/dist/es/TreeListToolbar.js +0 -33
  51. package/dist/es/cells/EditCells/TreeListBooleanEditor.d.ts +0 -8
  52. package/dist/es/cells/EditCells/TreeListBooleanEditor.js +0 -41
  53. package/dist/es/cells/EditCells/TreeListDateEditor.d.ts +0 -8
  54. package/dist/es/cells/EditCells/TreeListDateEditor.js +0 -40
  55. package/dist/es/cells/EditCells/TreeListNumericEditor.js +0 -41
  56. package/dist/es/cells/EditCells/TreeListTextEditor.d.ts +0 -8
  57. package/dist/es/cells/EditCells/TreeListTextEditor.js +0 -39
  58. package/dist/es/cells/FilterCells/TreeListBooleanFilter.d.ts +0 -10
  59. package/dist/es/cells/FilterCells/TreeListBooleanFilter.js +0 -30
  60. package/dist/es/cells/FilterCells/TreeListDateFilter.d.ts +0 -10
  61. package/dist/es/cells/FilterCells/TreeListDateFilter.js +0 -30
  62. package/dist/es/cells/FilterCells/TreeListNumericFilter.js +0 -30
  63. package/dist/es/cells/FilterCells/TreeListTextFilter.js +0 -30
  64. package/dist/es/cells/FilterCells/utils.d.ts +0 -38
  65. package/dist/es/cells/FilterCells/utils.js +0 -66
  66. package/dist/es/cells/TreeListCell.d.ts +0 -6
  67. package/dist/es/cells/TreeListCell.js +0 -61
  68. package/dist/es/cells/TreeListSelectionCell.d.ts +0 -8
  69. package/dist/es/cells/TreeListSelectionCell.js +0 -31
  70. package/dist/es/constants/index.js +0 -7
  71. package/dist/es/header/TreeListHeaderCell.d.ts +0 -3
  72. package/dist/es/header/TreeListHeaderCell.js +0 -14
  73. package/dist/es/header/TreeListHeaderSelectionCell.d.ts +0 -11
  74. package/dist/es/header/TreeListHeaderSelectionCell.js +0 -45
  75. package/dist/es/interfaces/DataItemWrapper.d.ts +0 -10
  76. package/dist/es/interfaces/DataItemWrapper.js +0 -1
  77. package/dist/es/interfaces/TreeListCellProps.d.ts +0 -42
  78. package/dist/es/interfaces/TreeListCellProps.js +0 -1
  79. package/dist/es/interfaces/TreeListColumnProps.js +0 -1
  80. package/dist/es/interfaces/TreeListFilterCellProps.d.ts +0 -6
  81. package/dist/es/interfaces/TreeListFilterCellProps.js +0 -1
  82. package/dist/es/interfaces/TreeListFilterOperator.d.ts +0 -6
  83. package/dist/es/interfaces/TreeListFilterOperator.js +0 -1
  84. package/dist/es/interfaces/TreeListHeaderCellProps.d.ts +0 -6
  85. package/dist/es/interfaces/TreeListHeaderCellProps.js +0 -1
  86. package/dist/es/interfaces/TreeListNoRecordsProps.d.ts +0 -10
  87. package/dist/es/interfaces/TreeListNoRecordsProps.js +0 -1
  88. package/dist/es/interfaces/TreeListProps.js +0 -1
  89. package/dist/es/interfaces/TreeListRowProps.js +0 -1
  90. package/dist/es/interfaces/TreeListSelectableSettings.js +0 -2
  91. package/dist/es/interfaces/TreeListSortSettings.d.ts +0 -9
  92. package/dist/es/interfaces/TreeListSortSettings.js +0 -1
  93. package/dist/es/interfaces/TreeListToolbarProps.d.ts +0 -10
  94. package/dist/es/interfaces/TreeListToolbarProps.js +0 -1
  95. package/dist/es/interfaces/events.js +0 -1
  96. package/dist/es/main.d.ts +0 -34
  97. package/dist/es/main.js +0 -23
  98. package/dist/es/messages/index.d.ts +0 -120
  99. package/dist/es/messages/index.js +0 -121
  100. package/dist/es/package-metadata.d.ts +0 -5
  101. package/dist/es/package-metadata.js +0 -11
  102. package/dist/es/rows/TreeListDraggableRow.js +0 -171
  103. package/dist/es/rows/TreeListRow.d.ts +0 -6
  104. package/dist/es/rows/TreeListRow.js +0 -31
  105. package/dist/es/utils/index.d.ts +0 -17
  106. package/dist/es/utils/index.js +0 -68
  107. package/dist/npm/ScrollMode.d.ts +0 -1
  108. package/dist/npm/ScrollMode.js +0 -2
  109. package/dist/npm/TreeList.d.ts +0 -133
  110. package/dist/npm/TreeList.js +0 -635
  111. package/dist/npm/TreeListNoRecords.d.ts +0 -12
  112. package/dist/npm/TreeListNoRecords.js +0 -40
  113. package/dist/npm/TreeListToolbar.d.ts +0 -11
  114. package/dist/npm/TreeListToolbar.js +0 -36
  115. package/dist/npm/cells/EditCells/TreeListBooleanEditor.d.ts +0 -8
  116. package/dist/npm/cells/EditCells/TreeListBooleanEditor.js +0 -45
  117. package/dist/npm/cells/EditCells/TreeListDateEditor.d.ts +0 -8
  118. package/dist/npm/cells/EditCells/TreeListDateEditor.js +0 -44
  119. package/dist/npm/cells/EditCells/TreeListNumericEditor.d.ts +0 -8
  120. package/dist/npm/cells/EditCells/TreeListNumericEditor.js +0 -45
  121. package/dist/npm/cells/EditCells/TreeListTextEditor.d.ts +0 -8
  122. package/dist/npm/cells/EditCells/TreeListTextEditor.js +0 -43
  123. package/dist/npm/cells/FilterCells/TreeListBooleanFilter.js +0 -34
  124. package/dist/npm/cells/FilterCells/TreeListDateFilter.js +0 -34
  125. package/dist/npm/cells/FilterCells/TreeListNumericFilter.d.ts +0 -10
  126. package/dist/npm/cells/FilterCells/TreeListNumericFilter.js +0 -34
  127. package/dist/npm/cells/FilterCells/TreeListTextFilter.d.ts +0 -10
  128. package/dist/npm/cells/FilterCells/TreeListTextFilter.js +0 -34
  129. package/dist/npm/cells/FilterCells/utils.js +0 -70
  130. package/dist/npm/cells/TreeListCell.d.ts +0 -6
  131. package/dist/npm/cells/TreeListCell.js +0 -65
  132. package/dist/npm/cells/TreeListSelectionCell.d.ts +0 -8
  133. package/dist/npm/cells/TreeListSelectionCell.js +0 -35
  134. package/dist/npm/constants/index.d.ts +0 -6
  135. package/dist/npm/constants/index.js +0 -10
  136. package/dist/npm/header/TreeListHeaderCell.d.ts +0 -3
  137. package/dist/npm/header/TreeListHeaderCell.js +0 -18
  138. package/dist/npm/header/TreeListHeaderSelectionCell.d.ts +0 -11
  139. package/dist/npm/header/TreeListHeaderSelectionCell.js +0 -48
  140. package/dist/npm/interfaces/DataItemWrapper.d.ts +0 -10
  141. package/dist/npm/interfaces/DataItemWrapper.js +0 -2
  142. package/dist/npm/interfaces/TreeListCellProps.js +0 -2
  143. package/dist/npm/interfaces/TreeListColumnProps.d.ts +0 -41
  144. package/dist/npm/interfaces/TreeListColumnProps.js +0 -2
  145. package/dist/npm/interfaces/TreeListFilterCellProps.d.ts +0 -6
  146. package/dist/npm/interfaces/TreeListFilterCellProps.js +0 -2
  147. package/dist/npm/interfaces/TreeListFilterOperator.d.ts +0 -6
  148. package/dist/npm/interfaces/TreeListFilterOperator.js +0 -2
  149. package/dist/npm/interfaces/TreeListHeaderCellProps.d.ts +0 -6
  150. package/dist/npm/interfaces/TreeListHeaderCellProps.js +0 -2
  151. package/dist/npm/interfaces/TreeListNoRecordsProps.d.ts +0 -10
  152. package/dist/npm/interfaces/TreeListNoRecordsProps.js +0 -2
  153. package/dist/npm/interfaces/TreeListProps.d.ts +0 -234
  154. package/dist/npm/interfaces/TreeListProps.js +0 -2
  155. package/dist/npm/interfaces/TreeListRowProps.d.ts +0 -93
  156. package/dist/npm/interfaces/TreeListRowProps.js +0 -2
  157. package/dist/npm/interfaces/TreeListSelectableSettings.d.ts +0 -18
  158. package/dist/npm/interfaces/TreeListSelectableSettings.js +0 -3
  159. package/dist/npm/interfaces/TreeListSortSettings.d.ts +0 -9
  160. package/dist/npm/interfaces/TreeListSortSettings.js +0 -2
  161. package/dist/npm/interfaces/TreeListToolbarProps.d.ts +0 -10
  162. package/dist/npm/interfaces/TreeListToolbarProps.js +0 -2
  163. package/dist/npm/interfaces/events.d.ts +0 -265
  164. package/dist/npm/interfaces/events.js +0 -2
  165. package/dist/npm/main.d.ts +0 -34
  166. package/dist/npm/main.js +0 -63
  167. package/dist/npm/messages/index.js +0 -124
  168. package/dist/npm/package-metadata.d.ts +0 -5
  169. package/dist/npm/package-metadata.js +0 -14
  170. package/dist/npm/rows/TreeListDraggableRow.d.ts +0 -32
  171. package/dist/npm/rows/TreeListDraggableRow.js +0 -174
  172. package/dist/npm/rows/TreeListRow.d.ts +0 -6
  173. package/dist/npm/rows/TreeListRow.js +0 -34
  174. package/dist/npm/utils/index.js +0 -74
  175. package/dist/systemjs/kendo-react-treelist.js +0 -1
  176. package/e2e-next/basic.tests.ts +0 -24
package/LICENSE.md CHANGED
@@ -8,4 +8,4 @@ This is commercial software. To use it, you need to agree to the [**End User Lic
8
8
 
9
9
  All available KendoReact commercial licenses may be obtained at the [KendoReact website](https://www.telerik.com/kendo-react-ui/pricing).
10
10
 
11
- *Copyright © 2022 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.*
11
+ *Copyright © 2023 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.*
@@ -0,0 +1,5 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ export type ScrollMode = 'none' | 'scrollable' | 'virtual';
@@ -1,3 +1,7 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
1
5
  import * as React from 'react';
2
6
  import * as PropTypes from 'prop-types';
3
7
  import { CommonDragLogic, TableKeyboardNavigationContextType } from '@progress/kendo-react-data-tools';
@@ -76,7 +80,7 @@ export declare class TreeList extends React.Component<TreeListProps, {}> {
76
80
  * @param options - Object, containing the rowIndex to which is going to be scrolled.
77
81
  */
78
82
  scrollIntoView: (options: {
79
- rowIndex?: number | undefined;
83
+ rowIndex?: number;
80
84
  }) => void;
81
85
  /**
82
86
  * @hidden
@@ -97,7 +101,7 @@ export declare class TreeList extends React.Component<TreeListProps, {}> {
97
101
  /**
98
102
  * @hidden
99
103
  */
100
- render(): JSX.Element;
104
+ render(): import("react/jsx-runtime").JSX.Element;
101
105
  private getExtendedColumn;
102
106
  private getColumnsMap;
103
107
  private get columns();
@@ -1,3 +1,7 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
1
5
  import * as React from 'react';
2
6
  import { TreeListNoRecordsProps } from './interfaces/TreeListNoRecordsProps';
3
7
  /**
@@ -0,0 +1,15 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import * as React from 'react';
6
+ import { TreeListToolbarProps } from './interfaces/TreeListToolbarProps';
7
+ /**
8
+ * Represents the TreeListToolbar component.
9
+ */
10
+ export declare class TreeListToolbar extends React.Component<TreeListToolbarProps, {}> {
11
+ /**
12
+ * @hidden
13
+ */
14
+ render(): import("react/jsx-runtime").JSX.Element;
15
+ }
@@ -0,0 +1,11 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { TreeListCellProps } from '../../interfaces/TreeListCellProps';
6
+ export interface TreeListBooleanEditorProps extends TreeListCellProps {
7
+ }
8
+ export declare const TreeListBooleanEditor: {
9
+ (props: TreeListBooleanEditorProps): import("react/jsx-runtime").JSX.Element | null;
10
+ displayName: string;
11
+ };
@@ -0,0 +1,11 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { TreeListCellProps } from '../../interfaces/TreeListCellProps';
6
+ export interface TreeListDateEditorProps extends TreeListCellProps {
7
+ }
8
+ export declare const TreeListDateEditor: {
9
+ (props: TreeListDateEditorProps): import("react/jsx-runtime").JSX.Element | null;
10
+ displayName: string;
11
+ };
@@ -1,3 +1,7 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
1
5
  import * as React from 'react';
2
6
  import { TreeListCellProps } from '../../interfaces/TreeListCellProps';
3
7
  export interface TreeListNumericEditorProps extends TreeListCellProps {
@@ -0,0 +1,11 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { TreeListCellProps } from '../../interfaces/TreeListCellProps';
6
+ export interface TreeListTextEditorProps extends TreeListCellProps {
7
+ }
8
+ export declare const TreeListTextEditor: {
9
+ (props: TreeListTextEditorProps): import("react/jsx-runtime").JSX.Element | null;
10
+ displayName: string;
11
+ };
@@ -1,3 +1,7 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
1
5
  import * as React from 'react';
2
6
  import { FilterComponentProps } from '@progress/kendo-react-data-tools';
3
7
  import { TreeListFilterOperator } from '../../interfaces/TreeListFilterOperator';
@@ -1,3 +1,7 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
1
5
  import * as React from 'react';
2
6
  import { FilterComponentProps } from '@progress/kendo-react-data-tools';
3
7
  import { TreeListFilterOperator } from '../../interfaces/TreeListFilterOperator';
@@ -1,3 +1,7 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
1
5
  import * as React from 'react';
2
6
  import { FilterComponentProps } from '@progress/kendo-react-data-tools';
3
7
  import { TreeListFilterOperator } from '../../interfaces/TreeListFilterOperator';
@@ -1,3 +1,7 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
1
5
  import * as React from 'react';
2
6
  import { FilterComponentProps } from '@progress/kendo-react-data-tools';
3
7
  import { TreeListFilterOperator } from '../../interfaces/TreeListFilterOperator';
@@ -1,3 +1,7 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
1
5
  import { LocalizationService } from '@progress/kendo-react-intl';
2
6
  import { TreeListFilterOperator } from '../../interfaces/TreeListFilterOperator';
3
7
  /**
@@ -0,0 +1,9 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { TreeListCellProps } from '../interfaces/TreeListCellProps';
6
+ export declare const TreeListCell: {
7
+ (props: TreeListCellProps): import("react/jsx-runtime").JSX.Element | null;
8
+ displayName: string;
9
+ };
@@ -0,0 +1,11 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { TreeListCellProps } from '../interfaces/TreeListCellProps';
6
+ export interface TreeListSelectionCellProps extends TreeListCellProps {
7
+ }
8
+ export declare const TreeListSelectionCell: {
9
+ (props: TreeListSelectionCellProps): import("react/jsx-runtime").JSX.Element | null;
10
+ displayName: string;
11
+ };
@@ -1,3 +1,7 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
4
+ *-------------------------------------------------------------------------------------------*/
1
5
  /** The attribute required by the TreeList selection on TreeList `tr` elements. */
2
6
  export declare const TREELIST_ROW_INDEX_ATTRIBUTE = "data-grid-row-index";
3
7
  /** The attribute required by the TreeList selection on TreeList `td` elements. */