@progress/kendo-react-data-tools 7.2.4-develop.3 → 7.3.0-develop.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (184) hide show
  1. package/clipboard/clipboard.service.js +8 -0
  2. package/clipboard/clipboard.service.mjs +27 -0
  3. package/clipboard/common.js +13 -0
  4. package/clipboard/common.mjs +64 -0
  5. package/columnmenu/ColumnMenu.js +8 -0
  6. package/columnmenu/ColumnMenu.mjs +256 -0
  7. package/columnmenu/ColumnMenuFilterForm.js +8 -0
  8. package/columnmenu/ColumnMenuFilterForm.mjs +47 -0
  9. package/columnmenu/ColumnMenuFilterLogic.js +8 -0
  10. package/columnmenu/ColumnMenuFilterLogic.mjs +29 -0
  11. package/columnmenu/ColumnMenuFilters.js +8 -0
  12. package/columnmenu/ColumnMenuFilters.mjs +98 -0
  13. package/columnmenu/ColumnMenuItem.js +8 -0
  14. package/columnmenu/ColumnMenuItem.mjs +26 -0
  15. package/columnmenu/ColumnMenuOperators.js +8 -0
  16. package/columnmenu/ColumnMenuOperators.mjs +109 -0
  17. package/dist/cdn/js/kendo-react-datatools.js +8 -10
  18. package/drag/ColumnDraggable.js +8 -0
  19. package/drag/ColumnDraggable.mjs +40 -0
  20. package/drag/ColumnResize.js +8 -0
  21. package/drag/ColumnResize.mjs +58 -0
  22. package/drag/ColumnResizer.js +8 -0
  23. package/drag/ColumnResizer.mjs +56 -0
  24. package/drag/CommonDragLogic.js +8 -0
  25. package/drag/CommonDragLogic.mjs +89 -0
  26. package/drag/DragClue.js +8 -0
  27. package/drag/DragClue.mjs +52 -0
  28. package/drag/DropClue.js +8 -0
  29. package/drag/DropClue.mjs +43 -0
  30. package/filter/Expression.js +8 -0
  31. package/filter/Expression.mjs +113 -0
  32. package/filter/Filter.js +8 -0
  33. package/filter/Filter.mjs +84 -0
  34. package/filter/Group.js +8 -0
  35. package/filter/Group.mjs +163 -0
  36. package/filter/filters/BooleanFilter.js +8 -0
  37. package/filter/filters/BooleanFilter.mjs +43 -0
  38. package/filter/filters/DateFilter.js +8 -0
  39. package/filter/filters/DateFilter.mjs +43 -0
  40. package/filter/filters/EnumFilter.js +8 -0
  41. package/filter/filters/EnumFilter.mjs +59 -0
  42. package/filter/filters/NumericFilter.js +8 -0
  43. package/filter/filters/NumericFilter.mjs +54 -0
  44. package/filter/filters/TextFilter.js +8 -0
  45. package/filter/filters/TextFilter.mjs +46 -0
  46. package/filter/operators.js +8 -0
  47. package/filter/operators.mjs +114 -0
  48. package/filteringCells/BooleanFilter.js +8 -0
  49. package/filteringCells/BooleanFilter.mjs +49 -0
  50. package/filteringCells/DateFilter.js +8 -0
  51. package/filteringCells/DateFilter.mjs +22 -0
  52. package/filteringCells/FilterComponent.js +8 -0
  53. package/filteringCells/FilterComponent.mjs +81 -0
  54. package/filteringCells/NumericFilter.js +8 -0
  55. package/filteringCells/NumericFilter.mjs +22 -0
  56. package/filteringCells/TextFilter.js +8 -0
  57. package/filteringCells/TextFilter.mjs +22 -0
  58. package/header/ColumnProps.js +8 -0
  59. package/header/ColumnProps.mjs +19 -0
  60. package/header/FilterRow.js +8 -0
  61. package/header/FilterRow.mjs +54 -0
  62. package/header/Header.js +8 -0
  63. package/header/Header.mjs +36 -0
  64. package/header/HeaderCell.js +8 -0
  65. package/header/HeaderCell.mjs +18 -0
  66. package/header/HeaderRow.js +8 -0
  67. package/header/HeaderRow.mjs +132 -0
  68. package/header/HeaderSelectionCell.js +8 -0
  69. package/header/HeaderSelectionCell.mjs +32 -0
  70. package/header/HeaderThElement.js +8 -0
  71. package/header/HeaderThElement.mjs +47 -0
  72. package/header/SortSettings.js +8 -0
  73. package/header/SortSettings.mjs +12 -0
  74. package/header/utils/index.js +8 -0
  75. package/header/utils/index.mjs +130 -0
  76. package/index.d.mts +2398 -5
  77. package/index.d.ts +2398 -32
  78. package/index.js +8 -10
  79. package/index.mjs +152 -2987
  80. package/messages/index.js +8 -0
  81. package/messages/index.mjs +167 -0
  82. package/navigation/TableKeyboardNavigation.js +8 -0
  83. package/navigation/TableKeyboardNavigation.mjs +142 -0
  84. package/navigation/TableKeyboardNavigationContext.js +8 -0
  85. package/navigation/TableKeyboardNavigationContext.mjs +14 -0
  86. package/navigation/constants.js +8 -0
  87. package/navigation/constants.mjs +43 -0
  88. package/navigation/hooks.js +8 -0
  89. package/navigation/hooks.mjs +22 -0
  90. package/navigation/utils.js +8 -0
  91. package/navigation/utils.mjs +107 -0
  92. package/package-metadata.js +8 -0
  93. package/package-metadata.mjs +19 -0
  94. package/package.json +9 -9
  95. package/pager/Pager.js +8 -0
  96. package/pager/Pager.mjs +234 -0
  97. package/pager/PagerInput.js +8 -0
  98. package/pager/PagerInput.mjs +38 -0
  99. package/pager/PagerNumericButtons.js +8 -0
  100. package/pager/PagerNumericButtons.mjs +103 -0
  101. package/pager/PagerPageSizes.js +8 -0
  102. package/pager/PagerPageSizes.mjs +38 -0
  103. package/selection/TableSelection.js +8 -0
  104. package/selection/TableSelection.mjs +123 -0
  105. package/selection/constants.js +8 -0
  106. package/selection/constants.mjs +14 -0
  107. package/selection/utils.js +8 -0
  108. package/selection/utils.mjs +155 -0
  109. package/utils/data-operations.js +8 -0
  110. package/utils/data-operations.mjs +127 -0
  111. package/utils/group-operations.js +8 -0
  112. package/utils/group-operations.mjs +32 -0
  113. package/virtualization/columns.js +8 -0
  114. package/virtualization/columns.mjs +43 -0
  115. package/clipboard/clipboard.service.d.ts +0 -17
  116. package/clipboard/common.d.ts +0 -129
  117. package/columnmenu/ColumnMenu.d.ts +0 -83
  118. package/columnmenu/ColumnMenuFilterForm.d.ts +0 -17
  119. package/columnmenu/ColumnMenuFilterLogic.d.ts +0 -7
  120. package/columnmenu/ColumnMenuFilters.d.ts +0 -23
  121. package/columnmenu/ColumnMenuItem.d.ts +0 -15
  122. package/columnmenu/ColumnMenuOperators.d.ts +0 -69
  123. package/columnmenu/index.d.ts +0 -10
  124. package/drag/ColumnDraggable.d.ts +0 -34
  125. package/drag/ColumnResize.d.ts +0 -36
  126. package/drag/ColumnResizer.d.ts +0 -32
  127. package/drag/CommonDragLogic.d.ts +0 -42
  128. package/drag/DragClue.d.ts +0 -26
  129. package/drag/DropClue.d.ts +0 -23
  130. package/filter/Expression.d.ts +0 -50
  131. package/filter/FieldSettings.d.ts +0 -34
  132. package/filter/Filter.d.ts +0 -83
  133. package/filter/Group.d.ts +0 -58
  134. package/filter/filters/BooleanFilter.d.ts +0 -47
  135. package/filter/filters/DateFilter.d.ts +0 -30
  136. package/filter/filters/EnumFilter.d.ts +0 -47
  137. package/filter/filters/NumericFilter.d.ts +0 -37
  138. package/filter/filters/TextFilter.d.ts +0 -44
  139. package/filter/filters/index.d.ts +0 -9
  140. package/filter/index.d.ts +0 -10
  141. package/filter/operators.d.ts +0 -77
  142. package/filteringCells/BooleanFilter.d.ts +0 -12
  143. package/filteringCells/DateFilter.d.ts +0 -12
  144. package/filteringCells/FilterCellProps.d.ts +0 -39
  145. package/filteringCells/FilterComponent.d.ts +0 -21
  146. package/filteringCells/FilterComponentProps.d.ts +0 -27
  147. package/filteringCells/FilterOperator.d.ts +0 -17
  148. package/filteringCells/NumericFilter.d.ts +0 -12
  149. package/filteringCells/TextFilter.d.ts +0 -12
  150. package/filteringCells/index.d.ts +0 -12
  151. package/header/CellProps.d.ts +0 -72
  152. package/header/ColumnProps.d.ts +0 -157
  153. package/header/FilterRow.d.ts +0 -29
  154. package/header/Header.d.ts +0 -22
  155. package/header/HeaderCell.d.ts +0 -51
  156. package/header/HeaderRow.d.ts +0 -41
  157. package/header/HeaderSelectionCell.d.ts +0 -15
  158. package/header/HeaderThElement.d.ts +0 -26
  159. package/header/SortSettings.d.ts +0 -30
  160. package/header/index.d.ts +0 -14
  161. package/header/utils/index.d.ts +0 -87
  162. package/messages/index.d.ts +0 -394
  163. package/navigation/TableKeyboardNavigation.d.ts +0 -72
  164. package/navigation/TableKeyboardNavigationContext.d.ts +0 -10
  165. package/navigation/TableKeyboardNavigationContextType.d.ts +0 -11
  166. package/navigation/TableKeyboardNavigationStateType.d.ts +0 -14
  167. package/navigation/constants.d.ts +0 -58
  168. package/navigation/hooks.d.ts +0 -16
  169. package/navigation/utils.d.ts +0 -149
  170. package/package-metadata.d.ts +0 -9
  171. package/pager/Pager.d.ts +0 -208
  172. package/pager/PagerInput.d.ts +0 -29
  173. package/pager/PagerNumericButtons.d.ts +0 -32
  174. package/pager/PagerPageSizes.d.ts +0 -30
  175. package/selection/TableSelectableSettings.d.ts +0 -35
  176. package/selection/TableSelection.d.ts +0 -15
  177. package/selection/constants.d.ts +0 -10
  178. package/selection/events.d.ts +0 -98
  179. package/selection/utils.d.ts +0 -70
  180. package/utils/DataItemWrapper.d.ts +0 -14
  181. package/utils/data-operations.d.ts +0 -98
  182. package/utils/group-operations.d.ts +0 -33
  183. package/virtualization/columns.d.ts +0 -19
  184. package/virtualization/index.d.ts +0 -5
@@ -1,37 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 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 PropTypes from 'prop-types';
7
- import { TextFilterProps } from './TextFilter';
8
- /**
9
- * The props of the NumericFilter component.
10
- */
11
- export interface NumericFilterProps extends TextFilterProps {
12
- /**
13
- * Specifies the smallest value that can be entered.
14
- */
15
- min?: number;
16
- /**
17
- * Specifies the greatest value that can be entered.
18
- */
19
- max?: number;
20
- }
21
- /**
22
- * The NumericFilter component used for editing numeric value of FilterDescriptor object.
23
- */
24
- export declare class NumericFilter extends React.Component<NumericFilterProps> {
25
- /**
26
- * @hidden
27
- */
28
- static propTypes: {
29
- filter: PropTypes.Validator<object>;
30
- onFilterChange: PropTypes.Validator<(...args: any[]) => any>;
31
- };
32
- /**
33
- * @hidden
34
- */
35
- render(): import("react/jsx-runtime").JSX.Element;
36
- private onChange;
37
- }
@@ -1,44 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 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 PropTypes from 'prop-types';
7
- import { FilterDescriptor } from '@progress/kendo-data-query';
8
- /**
9
- * The props of the TextFilter component.
10
- */
11
- export interface TextFilterProps {
12
- /**
13
- * The FilterDescriptor object which will be edited.
14
- */
15
- filter: FilterDescriptor;
16
- /**
17
- * The FilterChange event, triggered while editing the FilterOperator.
18
- */
19
- onFilterChange: (event: {
20
- nextFilter: FilterDescriptor;
21
- }) => void;
22
- /**
23
- * The accessible label of the component.
24
- */
25
- ariaLabel?: string;
26
- }
27
- /**
28
- * The TextFilter component used for editing text value of FilterDescriptor object.
29
- */
30
- export declare class TextFilter extends React.Component<TextFilterProps> {
31
- /**
32
- * @hidden
33
- */
34
- static propTypes: {
35
- filter: PropTypes.Validator<object>;
36
- onFilterChange: PropTypes.Validator<(...args: any[]) => any>;
37
- ariaLabel: PropTypes.Requireable<string>;
38
- };
39
- /**
40
- * @hidden
41
- */
42
- render(): import("react/jsx-runtime").JSX.Element;
43
- private onChange;
44
- }
@@ -1,9 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the package root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- export * from './TextFilter';
6
- export * from './NumericFilter';
7
- export * from './DateFilter';
8
- export * from './BooleanFilter';
9
- export * from './EnumFilter';
package/filter/index.d.ts DELETED
@@ -1,10 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the package root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- export * from './filters';
6
- export * from './Expression';
7
- export * from './FieldSettings';
8
- export * from './Filter';
9
- export * from './Group';
10
- export * from './operators';
@@ -1,77 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the package root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { FilterOperator } from '../filteringCells';
6
- /**
7
- * Represents the operators for the TextFilter, NumericFilter, DateFilter and BooleanFilter components.
8
- *
9
- * The text field of each operator object will be resolved according to the
10
- * [localization messages]({% slug globalization_datatools %}#toc-messages).
11
- */
12
- export declare class Operators {
13
- /**
14
- * An array containing the operators for the TextFilter component.
15
- *
16
- * The operators are:
17
- *
18
- * - { text: 'filter.containsOperator', operator: 'contains' }
19
- * - { text: 'filter.notContainsOperator', operator: 'doesnotcontain' }
20
- * - { text: 'filter.eqOperator', operator: 'eq' }
21
- * - { text: 'filter.notEqOperator', operator: 'neq' }
22
- * - { text: 'filter.startsWithOperator', operator: 'startswith' }
23
- * - { text: 'filter.endsWithOperator', operator: 'endswith' }
24
- * - { text: 'filter.isNullOperator', operator: 'isnull' }
25
- * - { text: 'filter.isNotNullOperator', operator: 'isnotnull' }
26
- * - { text: 'filter.isEmptyOperator', operator: 'isempty' }
27
- * - { text: 'filter.isNotEmptyOperator', operator: 'isnotempty' }
28
- */
29
- static get text(): FilterOperator[];
30
- /**
31
- * An array containing the operators for the NumericFilter component.
32
- *
33
- * The operators are:
34
- *
35
- * - { text: 'filter.eqOperator', operator: 'eq' }
36
- * - { text: 'filter.notEqOperator', operator: 'neq' }
37
- * - { text: 'filter.gteOperator', operator: 'gte' }
38
- * - { text: 'filter.gtOperator', operator: 'gt' }
39
- * - { text: 'filter.lteOperator', operator: 'lte' }
40
- * - { text: 'filter.ltOperator', operator: 'lt' }
41
- * - { text: 'filter.isNullOperator', operator: 'isnull' }
42
- * - { text: 'filter.isNotNullOperator', operator: 'isnotnull' }
43
- */
44
- static get numeric(): FilterOperator[];
45
- /**
46
- * An array containing the operators for the DateFilter component.
47
- *
48
- * The operators are:
49
- *
50
- * - { text: 'filter.eqOperator', operator: 'eq' }
51
- * - { text: 'filter.notEqOperator', operator: 'neq' }
52
- * - { text: 'filter.afterOrEqualOperator', operator: 'gte' }
53
- * - { text: 'filter.afterOperator', operator: 'gt' }
54
- * - { text: 'filter.beforeOperator', operator: 'lt' }
55
- * - { text: 'filter.beforeOrEqualOperator', operator: 'lte' }
56
- * - { text: 'filter.isNullOperator', operator: 'isnull' }
57
- * - { text: 'filter.isNotNullOperator', operator: 'isnotnull' }
58
- */
59
- static get date(): FilterOperator[];
60
- /**
61
- * An array containing the operators for the BooleanFilter component.
62
- *
63
- * The operators are:
64
- *
65
- * - { text: 'filter.eqOperator', operator: 'eq' }
66
- * - { text: 'filter.notEqOperator', operator: 'neq' }
67
- */
68
- static get boolean(): FilterOperator[];
69
- }
70
- /**
71
- * @hidden
72
- */
73
- export declare const stringOperator: (operator: any) => boolean;
74
- /**
75
- * @hidden
76
- */
77
- export declare const unaryOperator: (operator: any) => boolean;
@@ -1,12 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 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
- declare const BooleanFilterCell_base: React.ComponentClass<import("./FilterComponentProps").FilterComponentProps, any>;
7
- /**
8
- * @hidden
9
- */
10
- export declare class BooleanFilterCell extends BooleanFilterCell_base {
11
- }
12
- export {};
@@ -1,12 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 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
- declare const DateFilterCell_base: React.ComponentClass<import("./FilterComponentProps").FilterComponentProps, any>;
7
- /**
8
- * @hidden
9
- */
10
- export declare class DateFilterCell extends DateFilterCell_base {
11
- }
12
- export {};
@@ -1,39 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the package root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { FilterDescriptor } from '@progress/kendo-data-query';
6
- /**
7
- * @hidden
8
- */
9
- export interface FilterCellProps {
10
- /**
11
- * The column field in which the cell is located.
12
- */
13
- field?: string;
14
- /**
15
- * The function that will be called if the cell needs to notify its parent TreeList about a change.
16
- */
17
- onFilterChange?: (event: {
18
- filter: Array<FilterDescriptor>;
19
- field: string;
20
- syntheticEvent: React.SyntheticEvent<any>;
21
- }) => void;
22
- /**
23
- * The collection of `FilterDescriptor` objects that is passed by the TreeList component.
24
- */
25
- filter?: FilterDescriptor[];
26
- /**
27
- * @hidden
28
- */
29
- components?: {
30
- DatePicker?: any;
31
- DropDownList?: any;
32
- Input?: any;
33
- NumericTextBox?: any;
34
- };
35
- /**
36
- * @hidden
37
- */
38
- clearButtonTitle?: string;
39
- }
@@ -1,21 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 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 { FilterDescriptor } from '@progress/kendo-data-query';
7
- import { FilterOperator } from './FilterOperator';
8
- import { FilterComponentProps } from './FilterComponentProps';
9
- /**
10
- * @hidden
11
- */
12
- export interface FilterComponentSettings {
13
- inputComponent: (props: any) => React.ReactNode;
14
- operatorComponent: (props: any, cellProps: FilterComponentProps) => React.ReactNode;
15
- emptyFilter: FilterDescriptor;
16
- operators?: FilterOperator[];
17
- }
18
- /**
19
- * @hidden
20
- */
21
- export declare const createFilterComponent: (settings: FilterComponentSettings) => React.ComponentClass<FilterComponentProps, any>;
@@ -1,27 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the package root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { FilterCellProps } from './FilterCellProps';
6
- import { FilterOperator } from './FilterOperator';
7
- /**
8
- * @hidden
9
- */
10
- export interface FilterComponentProps extends FilterCellProps {
11
- /**
12
- * The list of the operators.
13
- */
14
- operators?: FilterOperator[];
15
- /**
16
- * The accessible label of the component.
17
- */
18
- ariaLabel?: string;
19
- /**
20
- * @hidden
21
- */
22
- min?: number;
23
- /**
24
- * @hidden
25
- */
26
- max?: number;
27
- }
@@ -1,17 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the package root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- /**
6
- * A filter operator object.
7
- */
8
- export interface FilterOperator {
9
- /**
10
- * The label of the operator.
11
- */
12
- text: string;
13
- /**
14
- * The operator value.
15
- */
16
- operator: any;
17
- }
@@ -1,12 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 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
- declare const NumericFilterCell_base: React.ComponentClass<import("./FilterComponentProps").FilterComponentProps, any>;
7
- /**
8
- * @hidden
9
- */
10
- export declare class NumericFilterCell extends NumericFilterCell_base {
11
- }
12
- export {};
@@ -1,12 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 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
- declare const TextFilterCell_base: React.ComponentClass<import("./FilterComponentProps").FilterComponentProps, any>;
7
- /**
8
- * @hidden
9
- */
10
- export declare class TextFilterCell extends TextFilterCell_base {
11
- }
12
- export {};
@@ -1,12 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the package root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- export * from './FilterComponent';
6
- export * from './FilterComponentProps';
7
- export * from './FilterCellProps';
8
- export * from './FilterOperator';
9
- export * from './BooleanFilter';
10
- export * from './DateFilter';
11
- export * from './NumericFilter';
12
- export * from './TextFilter';
@@ -1,72 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 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
- /**
7
- * @hidden
8
- */
9
- export interface CellProps {
10
- /**
11
- * @hidden
12
- */
13
- id: string;
14
- /**
15
- * The index to be applied to the `aria-colindex` attribute.
16
- */
17
- ariaColumnIndex: number;
18
- /**
19
- * Indicates if the cell is selected.
20
- */
21
- isSelected: boolean;
22
- /**
23
- * The expanded value of the cell.
24
- */
25
- expanded?: boolean;
26
- /**
27
- * The custom CSS classes of the cells.
28
- */
29
- className?: string;
30
- /**
31
- * The styles for the cell.
32
- */
33
- style?: React.CSSProperties;
34
- /**
35
- * The field to which the cell is bound.
36
- */
37
- field?: string;
38
- /**
39
- * The data item which corresponds to the current row.
40
- */
41
- dataItem: any;
42
- /**
43
- * The format that is applied to the value before the value is displayed.
44
- * Takes the `{0:format}` form where `format` is a standard number format, a custom number format,
45
- * a standard date format, or a custom date format. For more information on the supported date and number formats,
46
- * refer to the [kendo-intl](https://github.com/telerik/kendo-intl/blob/develop/docs/index.md) documentation.
47
- */
48
- format?: string;
49
- /**
50
- * The column span of the cell.
51
- */
52
- colSpan?: number;
53
- /**
54
- * The event that is fired when the cell is selected.
55
- */
56
- selectionChange?: (event: {
57
- syntheticEvent: React.SyntheticEvent<any>;
58
- }) => void;
59
- /**
60
- * The event that is fired when the cell value is changed.
61
- */
62
- onChange?: (event: {
63
- dataItem: any;
64
- syntheticEvent: React.SyntheticEvent<any>;
65
- field?: string;
66
- value?: any;
67
- }) => void;
68
- /**
69
- * A function for overriding the default rendering of the cell.
70
- */
71
- render?: (defaultRendering: React.ReactElement<HTMLTableCellElement> | null, props: CellProps) => React.ReactElement<HTMLTableCellElement> | null;
72
- }
@@ -1,157 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the package root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { ComponentType } from 'react';
6
- import { HeaderCellProps as HeaderCellPropsDefault } from './HeaderCell';
7
- import { CellProps as CellPropsDefault } from './CellProps';
8
- import { FilterCellProps as FilterCellPropsDefault } from '../filteringCells/FilterCellProps';
9
- import { ColumnSortSettings } from './SortSettings';
10
- import { ColumnMenuProps } from '../columnmenu';
11
- /**
12
- * @hidden
13
- */
14
- export interface ColumnBaseProps<CellProps = CellPropsDefault> {
15
- /**
16
- * The field to which the column is bound.
17
- */
18
- field?: string;
19
- /**
20
- * The title of the column.
21
- */
22
- title?: string;
23
- /**
24
- * Allows the column headers to be clicked and the `sortChange` event emitted.
25
- * You have to handle the `sortChange` event yourself and sort the data.
26
- * Defaults to `true`.
27
- */
28
- sortable?: boolean | ColumnSortSettings;
29
- /**
30
- * The width of the column (in pixels).
31
- */
32
- width?: string | number;
33
- /**
34
- * Defines if the header selection checkbox is checked.
35
- */
36
- headerSelectionValue?: boolean;
37
- /**
38
- * The format that is applied to the value before it is displayed.
39
- * Takes the `{0:format}` form where `format` is a standard number format, a custom number format,
40
- * a standard date format, or a custom date format. For more information on the supported date and number formats,
41
- * refer to the [kendo-intl](https://github.com/telerik/kendo-intl/blob/develop/docs/index.md) documentation.
42
- */
43
- format?: string;
44
- /**
45
- * Sets the custom CSS classes to the column header cell.
46
- */
47
- headerClassName?: string;
48
- /**
49
- * Sets the custom CSS classes to the column cells.
50
- */
51
- className?: string;
52
- /**
53
- * Indicates whether the column is resizable.
54
- */
55
- resizable?: boolean;
56
- /**
57
- * Indicates whether the column is reorderable.
58
- */
59
- reorderable?: boolean;
60
- /**
61
- * The width of the column (in pixels) below which the user is not able to resize the column through the UI. Defaults to `10`.
62
- */
63
- minResizableWidth?: number;
64
- /**
65
- * Determinates the position of the column.
66
- * Columns with smaller `orderIndex` will appear before columns with bigger `orderIndex`.
67
- * Defaults to `0`.
68
- */
69
- orderIndex?: number;
70
- /**
71
- * The column identifier used to distinguish columns for example in multi column header scenarios with resize and keyboard navigation.
72
- * Also used for unique key for rendering the component cells.
73
- * If not set, the component will generate unique `id` automatically.
74
- */
75
- id?: string;
76
- /**
77
- * Defines the component that will be rendered as a cell.
78
- * If not set, a `Cell` will be rendered by default.
79
- */
80
- cell?: ComponentType<CellProps>;
81
- /**
82
- * @hidden
83
- */
84
- navigatable?: boolean;
85
- /**
86
- * @hidden
87
- */
88
- locked?: boolean;
89
- }
90
- /**
91
- * @hidden
92
- */
93
- export interface TreeColumnBaseProps<CellProps = CellPropsDefault, HeaderCellProps = HeaderCellPropsDefault, FilterCellProps = FilterCellPropsDefault> extends ColumnBaseProps<CellProps> {
94
- /**
95
- * A collection of child columns.
96
- */
97
- children?: TreeColumnBaseProps<CellProps, HeaderCellProps, FilterCellProps>[];
98
- /**
99
- * The column menu component. Pass the [ColumnMenuTextColumn]({% slug api_data-tools_columnmenutextcolumn %}),
100
- * [ColumnMenuNumericColumn]({% slug api_data-tools_columnmenunumericcolumn %}),
101
- * [ColumnMenuDateColumn]({% slug api_data-tools_columnmenudatecolumn %}),
102
- * [ColumnMenuBooleanColumn]({% slug api_data-tools_columnmenubooleancolumn %})
103
- * or a custom component base on the type of the column data.
104
- */
105
- columnMenu?: React.ComponentType<ColumnMenuProps>;
106
- /**
107
- * If set to `true`, the column will render the icons that are used for expanding and collapsing child rows.
108
- */
109
- expandable?: boolean;
110
- /**
111
- * Defines the component that will be rendered as an edit cell.
112
- */
113
- editCell?: ComponentType<CellProps>;
114
- /**
115
- * Defines the component that will be rendered as a header cell.
116
- * If not set, a `HeaderCell` will be rendered by default.
117
- */
118
- headerCell?: ComponentType<HeaderCellProps>;
119
- /**
120
- * **Deprecated**. Use `filterCell` prop instead.
121
- */
122
- filter?: ComponentType<FilterCellProps>;
123
- /**
124
- * Defines the component that will be rendered as a filter cell.
125
- */
126
- filterCell?: ComponentType<FilterCellProps>;
127
- }
128
- /**
129
- * @hidden
130
- */
131
- export interface ExtendedColumnProps<CellProps = CellPropsDefault, HeaderCellProps = HeaderCellPropsDefault, FilterCellProps = FilterCellPropsDefault> extends TreeColumnBaseProps<CellProps, HeaderCellProps, FilterCellProps> {
132
- declarationIndex: number;
133
- parentIndex: number;
134
- colSpan: number;
135
- rowSpan: number;
136
- depth: number;
137
- kFirst?: boolean;
138
- index: number;
139
- children: ExtendedColumnProps<CellProps, HeaderCellProps, FilterCellProps>[];
140
- left: number;
141
- right: number;
142
- rightBorder: boolean;
143
- groupable: boolean;
144
- ariaColumnIndex: number;
145
- isAccessible: boolean;
146
- }
147
- /**
148
- * @hidden
149
- */
150
- export declare const ColumnDefaultProps: {
151
- filterable: boolean;
152
- editable: boolean;
153
- sortable: boolean;
154
- resizable: boolean;
155
- reorderable: boolean;
156
- groupable: boolean;
157
- };
@@ -1,29 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 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 { FilterDescriptor, SortDescriptor } from '@progress/kendo-data-query';
7
- import { ExtendedColumnProps } from './ColumnProps';
8
- /**
9
- * @hidden
10
- */
11
- export declare const FILTER_ROW_CLASS = "k-table-row k-filter-row";
12
- /**
13
- * @hidden
14
- */
15
- export interface FilterRowProps {
16
- columns: ExtendedColumnProps[];
17
- filter?: FilterDescriptor[];
18
- filterChange: (event: {
19
- filter: FilterDescriptor[];
20
- field: string;
21
- syntheticEvent: React.SyntheticEvent<any>;
22
- }) => void;
23
- sort?: SortDescriptor[];
24
- ariaRowIndex?: number;
25
- }
26
- /**
27
- * @hidden
28
- */
29
- export declare const FilterRow: (props: FilterRowProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,22 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2024 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 { ColumnResize } from './../drag/ColumnResize';
7
- /**
8
- * @hidden
9
- */
10
- export interface HeaderProps {
11
- headerRow: React.ReactElement<any>;
12
- filterRow?: React.ReactElement<any>;
13
- columnResize?: ColumnResize;
14
- }
15
- /**
16
- * @hidden
17
- */
18
- export declare class Header extends React.Component<HeaderProps> {
19
- private element;
20
- componentDidMount(): void;
21
- render(): import("react/jsx-runtime").JSX.Element;
22
- }