@progress/kendo-react-data-tools 7.2.4-develop.3 → 7.2.4-develop.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/clipboard/clipboard.service.js +8 -0
- package/clipboard/clipboard.service.mjs +27 -0
- package/clipboard/common.js +13 -0
- package/clipboard/common.mjs +64 -0
- package/columnmenu/ColumnMenu.js +8 -0
- package/columnmenu/ColumnMenu.mjs +256 -0
- package/columnmenu/ColumnMenuFilterForm.js +8 -0
- package/columnmenu/ColumnMenuFilterForm.mjs +47 -0
- package/columnmenu/ColumnMenuFilterLogic.js +8 -0
- package/columnmenu/ColumnMenuFilterLogic.mjs +29 -0
- package/columnmenu/ColumnMenuFilters.js +8 -0
- package/columnmenu/ColumnMenuFilters.mjs +98 -0
- package/columnmenu/ColumnMenuItem.js +8 -0
- package/columnmenu/ColumnMenuItem.mjs +26 -0
- package/columnmenu/ColumnMenuOperators.js +8 -0
- package/columnmenu/ColumnMenuOperators.mjs +109 -0
- package/dist/cdn/js/kendo-react-datatools.js +8 -10
- package/drag/ColumnDraggable.js +8 -0
- package/drag/ColumnDraggable.mjs +40 -0
- package/drag/ColumnResize.js +8 -0
- package/drag/ColumnResize.mjs +58 -0
- package/drag/ColumnResizer.js +8 -0
- package/drag/ColumnResizer.mjs +56 -0
- package/drag/CommonDragLogic.js +8 -0
- package/drag/CommonDragLogic.mjs +89 -0
- package/drag/DragClue.js +8 -0
- package/drag/DragClue.mjs +52 -0
- package/drag/DropClue.js +8 -0
- package/drag/DropClue.mjs +43 -0
- package/filter/Expression.js +8 -0
- package/filter/Expression.mjs +113 -0
- package/filter/Filter.js +8 -0
- package/filter/Filter.mjs +84 -0
- package/filter/Group.js +8 -0
- package/filter/Group.mjs +163 -0
- package/filter/filters/BooleanFilter.js +8 -0
- package/filter/filters/BooleanFilter.mjs +43 -0
- package/filter/filters/DateFilter.js +8 -0
- package/filter/filters/DateFilter.mjs +43 -0
- package/filter/filters/EnumFilter.js +8 -0
- package/filter/filters/EnumFilter.mjs +59 -0
- package/filter/filters/NumericFilter.js +8 -0
- package/filter/filters/NumericFilter.mjs +54 -0
- package/filter/filters/TextFilter.js +8 -0
- package/filter/filters/TextFilter.mjs +46 -0
- package/filter/operators.js +8 -0
- package/filter/operators.mjs +114 -0
- package/filteringCells/BooleanFilter.js +8 -0
- package/filteringCells/BooleanFilter.mjs +49 -0
- package/filteringCells/DateFilter.js +8 -0
- package/filteringCells/DateFilter.mjs +22 -0
- package/filteringCells/FilterComponent.js +8 -0
- package/filteringCells/FilterComponent.mjs +81 -0
- package/filteringCells/NumericFilter.js +8 -0
- package/filteringCells/NumericFilter.mjs +22 -0
- package/filteringCells/TextFilter.js +8 -0
- package/filteringCells/TextFilter.mjs +22 -0
- package/header/ColumnProps.js +8 -0
- package/header/ColumnProps.mjs +19 -0
- package/header/FilterRow.js +8 -0
- package/header/FilterRow.mjs +54 -0
- package/header/Header.js +8 -0
- package/header/Header.mjs +36 -0
- package/header/HeaderCell.js +8 -0
- package/header/HeaderCell.mjs +18 -0
- package/header/HeaderRow.js +8 -0
- package/header/HeaderRow.mjs +132 -0
- package/header/HeaderSelectionCell.js +8 -0
- package/header/HeaderSelectionCell.mjs +32 -0
- package/header/HeaderThElement.js +8 -0
- package/header/HeaderThElement.mjs +47 -0
- package/header/SortSettings.js +8 -0
- package/header/SortSettings.mjs +12 -0
- package/header/utils/index.js +8 -0
- package/header/utils/index.mjs +130 -0
- package/index.d.mts +2398 -5
- package/index.d.ts +2398 -32
- package/index.js +8 -10
- package/index.mjs +152 -2987
- package/messages/index.js +8 -0
- package/messages/index.mjs +167 -0
- package/navigation/TableKeyboardNavigation.js +8 -0
- package/navigation/TableKeyboardNavigation.mjs +142 -0
- package/navigation/TableKeyboardNavigationContext.js +8 -0
- package/navigation/TableKeyboardNavigationContext.mjs +14 -0
- package/navigation/constants.js +8 -0
- package/navigation/constants.mjs +43 -0
- package/navigation/hooks.js +8 -0
- package/navigation/hooks.mjs +22 -0
- package/navigation/utils.js +8 -0
- package/navigation/utils.mjs +107 -0
- package/package-metadata.js +8 -0
- package/package-metadata.mjs +19 -0
- package/package.json +9 -9
- package/pager/Pager.js +8 -0
- package/pager/Pager.mjs +234 -0
- package/pager/PagerInput.js +8 -0
- package/pager/PagerInput.mjs +38 -0
- package/pager/PagerNumericButtons.js +8 -0
- package/pager/PagerNumericButtons.mjs +103 -0
- package/pager/PagerPageSizes.js +8 -0
- package/pager/PagerPageSizes.mjs +38 -0
- package/selection/TableSelection.js +8 -0
- package/selection/TableSelection.mjs +123 -0
- package/selection/constants.js +8 -0
- package/selection/constants.mjs +14 -0
- package/selection/utils.js +8 -0
- package/selection/utils.mjs +155 -0
- package/utils/data-operations.js +8 -0
- package/utils/data-operations.mjs +127 -0
- package/utils/group-operations.js +8 -0
- package/utils/group-operations.mjs +32 -0
- package/virtualization/columns.js +8 -0
- package/virtualization/columns.mjs +43 -0
- package/clipboard/clipboard.service.d.ts +0 -17
- package/clipboard/common.d.ts +0 -129
- package/columnmenu/ColumnMenu.d.ts +0 -83
- package/columnmenu/ColumnMenuFilterForm.d.ts +0 -17
- package/columnmenu/ColumnMenuFilterLogic.d.ts +0 -7
- package/columnmenu/ColumnMenuFilters.d.ts +0 -23
- package/columnmenu/ColumnMenuItem.d.ts +0 -15
- package/columnmenu/ColumnMenuOperators.d.ts +0 -69
- package/columnmenu/index.d.ts +0 -10
- package/drag/ColumnDraggable.d.ts +0 -34
- package/drag/ColumnResize.d.ts +0 -36
- package/drag/ColumnResizer.d.ts +0 -32
- package/drag/CommonDragLogic.d.ts +0 -42
- package/drag/DragClue.d.ts +0 -26
- package/drag/DropClue.d.ts +0 -23
- package/filter/Expression.d.ts +0 -50
- package/filter/FieldSettings.d.ts +0 -34
- package/filter/Filter.d.ts +0 -83
- package/filter/Group.d.ts +0 -58
- package/filter/filters/BooleanFilter.d.ts +0 -47
- package/filter/filters/DateFilter.d.ts +0 -30
- package/filter/filters/EnumFilter.d.ts +0 -47
- package/filter/filters/NumericFilter.d.ts +0 -37
- package/filter/filters/TextFilter.d.ts +0 -44
- package/filter/filters/index.d.ts +0 -9
- package/filter/index.d.ts +0 -10
- package/filter/operators.d.ts +0 -77
- package/filteringCells/BooleanFilter.d.ts +0 -12
- package/filteringCells/DateFilter.d.ts +0 -12
- package/filteringCells/FilterCellProps.d.ts +0 -39
- package/filteringCells/FilterComponent.d.ts +0 -21
- package/filteringCells/FilterComponentProps.d.ts +0 -27
- package/filteringCells/FilterOperator.d.ts +0 -17
- package/filteringCells/NumericFilter.d.ts +0 -12
- package/filteringCells/TextFilter.d.ts +0 -12
- package/filteringCells/index.d.ts +0 -12
- package/header/CellProps.d.ts +0 -72
- package/header/ColumnProps.d.ts +0 -157
- package/header/FilterRow.d.ts +0 -29
- package/header/Header.d.ts +0 -22
- package/header/HeaderCell.d.ts +0 -51
- package/header/HeaderRow.d.ts +0 -41
- package/header/HeaderSelectionCell.d.ts +0 -15
- package/header/HeaderThElement.d.ts +0 -26
- package/header/SortSettings.d.ts +0 -30
- package/header/index.d.ts +0 -14
- package/header/utils/index.d.ts +0 -87
- package/messages/index.d.ts +0 -394
- package/navigation/TableKeyboardNavigation.d.ts +0 -72
- package/navigation/TableKeyboardNavigationContext.d.ts +0 -10
- package/navigation/TableKeyboardNavigationContextType.d.ts +0 -11
- package/navigation/TableKeyboardNavigationStateType.d.ts +0 -14
- package/navigation/constants.d.ts +0 -58
- package/navigation/hooks.d.ts +0 -16
- package/navigation/utils.d.ts +0 -149
- package/package-metadata.d.ts +0 -9
- package/pager/Pager.d.ts +0 -208
- package/pager/PagerInput.d.ts +0 -29
- package/pager/PagerNumericButtons.d.ts +0 -32
- package/pager/PagerPageSizes.d.ts +0 -30
- package/selection/TableSelectableSettings.d.ts +0 -35
- package/selection/TableSelection.d.ts +0 -15
- package/selection/constants.d.ts +0 -10
- package/selection/events.d.ts +0 -98
- package/selection/utils.d.ts +0 -70
- package/utils/DataItemWrapper.d.ts +0 -14
- package/utils/data-operations.d.ts +0 -98
- package/utils/group-operations.d.ts +0 -33
- package/virtualization/columns.d.ts +0 -19
- package/virtualization/index.d.ts +0 -5
|
@@ -1,15 +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 { SVGIcon } from '@progress/kendo-react-common';
|
|
7
|
-
export interface ColumnMenuItemProps {
|
|
8
|
-
onClick?: (event: React.MouseEvent<HTMLDivElement>) => void;
|
|
9
|
-
selected?: boolean;
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
iconClass?: string;
|
|
12
|
-
svgIcon?: SVGIcon;
|
|
13
|
-
title: string;
|
|
14
|
-
}
|
|
15
|
-
export declare const ColumnMenuItem: React.FunctionComponent<ColumnMenuItemProps>;
|
|
@@ -1,69 +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 ColumnMenuTextFilter, ColumnMenuNumericFilter,
|
|
8
|
-
* ColumnMenuDateFilter and ColumnMenuBooleanFilter components.
|
|
9
|
-
*
|
|
10
|
-
* The text field of each operator object will be resolved according to the
|
|
11
|
-
* [localization messages]({% slug globalization_datatools %}#toc-messages).
|
|
12
|
-
*/
|
|
13
|
-
export declare class ColumnMenuOperators {
|
|
14
|
-
/**
|
|
15
|
-
* An array containing the operators for the ColumnMenuTextFilter component.
|
|
16
|
-
*
|
|
17
|
-
* The operators are:
|
|
18
|
-
*
|
|
19
|
-
* - { text: 'columnMenu.filterContainsOperator', operator: 'contains' }
|
|
20
|
-
* - { text: 'columnMenu.filterNotContainsOperator', operator: 'doesnotcontain' }
|
|
21
|
-
* - { text: 'columnMenu.filterEqOperator', operator: 'eq' }
|
|
22
|
-
* - { text: 'columnMenu.filterNotEqOperator', operator: 'neq' }
|
|
23
|
-
* - { text: 'columnMenu.filterStartsWithOperator', operator: 'startswith' }
|
|
24
|
-
* - { text: 'columnMenu.filterEndsWithOperator', operator: 'endswith' }
|
|
25
|
-
* - { text: 'columnMenu.filterIsNullOperator', operator: 'isnull' }
|
|
26
|
-
* - { text: 'columnMenu.filterIsNotNullOperator', operator: 'isnotnull' }
|
|
27
|
-
* - { text: 'columnMenu.filterIsEmptyOperator', operator: 'isempty' }
|
|
28
|
-
* - { text: 'columnMenu.filterIsNotEmptyOperator', operator: 'isnotempty' }
|
|
29
|
-
*/
|
|
30
|
-
static get text(): FilterOperator[];
|
|
31
|
-
/**
|
|
32
|
-
* An array containing the operators for the ColumnMenuNumericFilter component.
|
|
33
|
-
*
|
|
34
|
-
* The operators are:
|
|
35
|
-
*
|
|
36
|
-
* - { text: 'columnMenu.filterEqOperator', operator: 'eq' }
|
|
37
|
-
* - { text: 'columnMenu.filterNotEqOperator', operator: 'neq' }
|
|
38
|
-
* - { text: 'columnMenu.filterGteOperator', operator: 'gte' }
|
|
39
|
-
* - { text: 'columnMenu.filterGtOperator', operator: 'gt' }
|
|
40
|
-
* - { text: 'columnMenu.filterLteOperator', operator: 'lte' }
|
|
41
|
-
* - { text: 'columnMenu.filterLtOperator', operator: 'lt' }
|
|
42
|
-
* - { text: 'columnMenu.filterIsNullOperator', operator: 'isnull' }
|
|
43
|
-
* - { text: 'columnMenu.filterIsNotNullOperator', operator: 'isnotnull' }
|
|
44
|
-
*/
|
|
45
|
-
static get numeric(): FilterOperator[];
|
|
46
|
-
/**
|
|
47
|
-
* An array containing the operators for the ColumnMenuDateFilter component.
|
|
48
|
-
*
|
|
49
|
-
* The operators are:
|
|
50
|
-
*
|
|
51
|
-
* - { text: 'columnMenu.filterEqOperator', operator: 'eq' }
|
|
52
|
-
* - { text: 'columnMenu.filterNotEqOperator', operator: 'neq' }
|
|
53
|
-
* - { text: 'columnMenu.filterAfterOrEqualOperator', operator: 'gte' }
|
|
54
|
-
* - { text: 'columnMenu.filterAfterOperator', operator: 'gt' }
|
|
55
|
-
* - { text: 'columnMenu.filterBeforeOperator', operator: 'lt' }
|
|
56
|
-
* - { text: 'columnMenu.filterBeforeOrEqualOperator', operator: 'lte' }
|
|
57
|
-
* - { text: 'columnMenu.filterIsNullOperator', operator: 'isnull' }
|
|
58
|
-
* - { text: 'columnMenu.filterIsNotNullOperator', operator: 'isnotnull' }
|
|
59
|
-
*/
|
|
60
|
-
static get date(): FilterOperator[];
|
|
61
|
-
/**
|
|
62
|
-
* An array containing the operators for the ColumnMenuBooleanFilter component.
|
|
63
|
-
*
|
|
64
|
-
* The operators are:
|
|
65
|
-
*
|
|
66
|
-
* - { text: 'columnMenu.filterIsTrue', operator: '' }
|
|
67
|
-
*/
|
|
68
|
-
static get boolean(): FilterOperator[];
|
|
69
|
-
}
|
package/columnmenu/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 './ColumnMenu';
|
|
6
|
-
export * from './ColumnMenuFilterForm';
|
|
7
|
-
export * from './ColumnMenuFilterLogic';
|
|
8
|
-
export * from './ColumnMenuFilters';
|
|
9
|
-
export * from './ColumnMenuItem';
|
|
10
|
-
export * from './ColumnMenuOperators';
|
|
@@ -1,34 +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 ColumnDraggableProps {
|
|
10
|
-
pressHandler?: (draggableEvent: any, element: HTMLTableRowElement | HTMLDivElement) => void;
|
|
11
|
-
dragHandler?: (draggableEvent: any, element: HTMLTableRowElement | HTMLDivElement) => void;
|
|
12
|
-
releaseHandler?: (draggableEvent: any) => void;
|
|
13
|
-
ariaRowIndex?: number;
|
|
14
|
-
children?: React.ReactNode;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* @hidden
|
|
18
|
-
*/
|
|
19
|
-
export declare class ColumnDraggable extends React.PureComponent<ColumnDraggableProps, {}> {
|
|
20
|
-
private draggable;
|
|
21
|
-
/**
|
|
22
|
-
* @hidden
|
|
23
|
-
*/
|
|
24
|
-
onPress: (data: any) => void;
|
|
25
|
-
/**
|
|
26
|
-
* @hidden
|
|
27
|
-
*/
|
|
28
|
-
onDrag: (data: any) => void;
|
|
29
|
-
/**
|
|
30
|
-
* @hidden
|
|
31
|
-
*/
|
|
32
|
-
onRelease: (data: any) => void;
|
|
33
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
34
|
-
}
|
package/drag/ColumnResize.d.ts
DELETED
|
@@ -1,36 +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 '../filteringCells';
|
|
6
|
-
import { ExtendedColumnProps, CellProps, HeaderCellProps } from './../header';
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export declare class ColumnResize<C = CellProps, H = HeaderCellProps, F = FilterCellProps> {
|
|
11
|
-
/**
|
|
12
|
-
* The main `colgroup` of the Grid.
|
|
13
|
-
*/
|
|
14
|
-
colGroupMain: any | null;
|
|
15
|
-
/**
|
|
16
|
-
* The header `colgroup` of the Grid (if any).
|
|
17
|
-
*/
|
|
18
|
-
colGroupHeader: any | null;
|
|
19
|
-
/**
|
|
20
|
-
* The footer `colgroup` of the Grid (if any).
|
|
21
|
-
*/
|
|
22
|
-
colGroupFooter: any | null;
|
|
23
|
-
columns: ExtendedColumnProps<C, H, F>[];
|
|
24
|
-
/**
|
|
25
|
-
* The settings for resizing the Grid.
|
|
26
|
-
*/
|
|
27
|
-
resizable: boolean;
|
|
28
|
-
onResize: (index: number, newWidth: number, oldWidth: number, originalEvent: any, end: boolean) => void;
|
|
29
|
-
private isRtl;
|
|
30
|
-
constructor(triggerResize: (index: number, newWidth: number, oldWidth: number, originalEvent: any, end: boolean) => void);
|
|
31
|
-
setIsRtl: (isRtl: boolean) => void;
|
|
32
|
-
dragHandler(event: any, column: ExtendedColumnProps<C, H, F>, dragCue: HTMLSpanElement, end: boolean): void;
|
|
33
|
-
private setWidths;
|
|
34
|
-
private updateColElements;
|
|
35
|
-
private setColWidth;
|
|
36
|
-
}
|
package/drag/ColumnResizer.d.ts
DELETED
|
@@ -1,32 +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 ColumnResizerResizerProps {
|
|
10
|
-
resize: (event: any, dragCue: HTMLSpanElement, end: boolean) => void;
|
|
11
|
-
autofit?: (event: React.MouseEvent<HTMLSpanElement, MouseEvent>, dragCue: HTMLSpanElement) => void;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* @hidden
|
|
15
|
-
*/
|
|
16
|
-
export declare class ColumnResizer extends React.Component<ColumnResizerResizerProps, {}> {
|
|
17
|
-
private draggable;
|
|
18
|
-
private isDragged;
|
|
19
|
-
/**
|
|
20
|
-
* @hidden
|
|
21
|
-
*/
|
|
22
|
-
onDrag: (data: any) => void;
|
|
23
|
-
/**
|
|
24
|
-
* @hidden
|
|
25
|
-
*/
|
|
26
|
-
onRelease: (data: any) => void;
|
|
27
|
-
/**
|
|
28
|
-
* @hidden
|
|
29
|
-
*/
|
|
30
|
-
onDoubleClick: (event: React.MouseEvent<HTMLSpanElement, MouseEvent>) => void;
|
|
31
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
32
|
-
}
|
|
@@ -1,42 +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 { DragClue } from './DragClue';
|
|
6
|
-
import { DropClue } from './DropClue';
|
|
7
|
-
import { FilterCellProps } from '../filteringCells';
|
|
8
|
-
import { ExtendedColumnProps, CellProps, HeaderCellProps } from './../header';
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export type handler = (prevIndex: number, nextIndex: number, nativeEvent: any) => void;
|
|
13
|
-
/**
|
|
14
|
-
* @hidden
|
|
15
|
-
*/
|
|
16
|
-
export declare class CommonDragLogic<C = CellProps, H = HeaderCellProps, F = FilterCellProps> {
|
|
17
|
-
columns: ExtendedColumnProps<C, H, F>[];
|
|
18
|
-
reorderable: boolean;
|
|
19
|
-
groupable: boolean;
|
|
20
|
-
private startColumn;
|
|
21
|
-
private startGroup;
|
|
22
|
-
private currentColumn;
|
|
23
|
-
private currentGroup;
|
|
24
|
-
private columnReorder;
|
|
25
|
-
private groupReorder;
|
|
26
|
-
private columnToGroup;
|
|
27
|
-
private dropElementClue;
|
|
28
|
-
private dragElementClue;
|
|
29
|
-
private groupPanelDivElement;
|
|
30
|
-
constructor(columnReorder: handler, groupReorder: handler, columnToGroup: handler);
|
|
31
|
-
refGroupPanelDiv: (e: HTMLDivElement | null) => void;
|
|
32
|
-
refDropElementClue: (e: DropClue | null) => void;
|
|
33
|
-
refDragElementClue: (e: DragClue | null) => void;
|
|
34
|
-
pressHandler: (event: any, element: HTMLTableRowElement | HTMLDivElement) => void;
|
|
35
|
-
dragHandler: (event: any, element: HTMLTableRowElement | HTMLDivElement) => void;
|
|
36
|
-
releaseHandler: (event: any) => void;
|
|
37
|
-
private getColumnIndex;
|
|
38
|
-
private getGroupIndex;
|
|
39
|
-
private isValid;
|
|
40
|
-
private updateDragElementClue;
|
|
41
|
-
private updateDropElementClue;
|
|
42
|
-
}
|
package/drag/DragClue.d.ts
DELETED
|
@@ -1,26 +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 DragClueState {
|
|
10
|
-
visible: boolean;
|
|
11
|
-
top: number;
|
|
12
|
-
left: number;
|
|
13
|
-
innerText: string;
|
|
14
|
-
status: 'k-i-cancel' | 'k-i-plus';
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* @hidden
|
|
18
|
-
*/
|
|
19
|
-
export declare class DragClue extends React.PureComponent<any, DragClueState> {
|
|
20
|
-
private elementRef;
|
|
21
|
-
readonly state: DragClueState;
|
|
22
|
-
hiddenElementRef: React.RefObject<HTMLDivElement>;
|
|
23
|
-
get element(): HTMLDivElement | null;
|
|
24
|
-
constructor(props: any);
|
|
25
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
}
|
package/drag/DropClue.d.ts
DELETED
|
@@ -1,23 +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 DropClueState {
|
|
10
|
-
visible: boolean;
|
|
11
|
-
top: number;
|
|
12
|
-
left: number;
|
|
13
|
-
height: number;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* @hidden
|
|
17
|
-
*/
|
|
18
|
-
export declare class DropClue extends React.PureComponent<any, DropClueState> {
|
|
19
|
-
readonly state: DropClueState;
|
|
20
|
-
hiddenElementRef: React.RefObject<HTMLDivElement>;
|
|
21
|
-
constructor(props: any);
|
|
22
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
23
|
-
}
|
package/filter/Expression.d.ts
DELETED
|
@@ -1,50 +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
|
-
import { BaseEvent } from '@progress/kendo-react-common';
|
|
9
|
-
import { FieldSettings } from './FieldSettings';
|
|
10
|
-
/**
|
|
11
|
-
* @hidden
|
|
12
|
-
*/
|
|
13
|
-
export interface ExpressionChangeEvent extends BaseEvent<Expression> {
|
|
14
|
-
prevFilter: FilterDescriptor;
|
|
15
|
-
nextFilter: FilterDescriptor;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @hidden
|
|
19
|
-
*/
|
|
20
|
-
export interface ExpressionRemoveEvent extends BaseEvent<Expression> {
|
|
21
|
-
filter: FilterDescriptor;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* @hidden
|
|
25
|
-
*/
|
|
26
|
-
export interface ExpressionProps {
|
|
27
|
-
filter: FilterDescriptor;
|
|
28
|
-
fields: Array<FieldSettings>;
|
|
29
|
-
ariaLabel?: string;
|
|
30
|
-
onChange: (event: ExpressionChangeEvent) => void;
|
|
31
|
-
onRemove: (event: ExpressionRemoveEvent) => void;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* @hidden
|
|
35
|
-
*/
|
|
36
|
-
export declare class Expression extends React.Component<ExpressionProps> {
|
|
37
|
-
static propTypes: {
|
|
38
|
-
filter: PropTypes.Validator<object>;
|
|
39
|
-
fields: PropTypes.Validator<any[]>;
|
|
40
|
-
ariaLabel: PropTypes.Requireable<string>;
|
|
41
|
-
onChange: PropTypes.Validator<(...args: any[]) => any>;
|
|
42
|
-
onRemove: PropTypes.Validator<(...args: any[]) => any>;
|
|
43
|
-
};
|
|
44
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
45
|
-
private onFieldChange;
|
|
46
|
-
private onOperatorChange;
|
|
47
|
-
private onInputChange;
|
|
48
|
-
private triggerOnFilterChange;
|
|
49
|
-
private onFilterRemove;
|
|
50
|
-
}
|
|
@@ -1,34 +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
|
-
* The FieldSettings object.
|
|
8
|
-
*/
|
|
9
|
-
export interface FieldSettings {
|
|
10
|
-
/**
|
|
11
|
-
* The field name.
|
|
12
|
-
*/
|
|
13
|
-
name: string;
|
|
14
|
-
/**
|
|
15
|
-
* The field label, which will be shown in the fields DropDownList.
|
|
16
|
-
*/
|
|
17
|
-
label: string;
|
|
18
|
-
/**
|
|
19
|
-
* The filter editor component. Could be any of the built-in TextFilter, NumericFilter, DateFilter, BooleanFilter or a custom component.
|
|
20
|
-
*/
|
|
21
|
-
filter: any;
|
|
22
|
-
/**
|
|
23
|
-
* The collection of operators which will be passed to the operators DropDownList.
|
|
24
|
-
*/
|
|
25
|
-
operators: Array<FilterOperator>;
|
|
26
|
-
/**
|
|
27
|
-
* Specifies the smallest value that can be entered.
|
|
28
|
-
*/
|
|
29
|
-
min?: number;
|
|
30
|
-
/**
|
|
31
|
-
* Specifies the greatest value that can be entered.
|
|
32
|
-
*/
|
|
33
|
-
max?: number;
|
|
34
|
-
}
|
package/filter/Filter.d.ts
DELETED
|
@@ -1,83 +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 { CompositeFilterDescriptor } from '@progress/kendo-data-query';
|
|
8
|
-
import { BaseEvent } from '@progress/kendo-react-common';
|
|
9
|
-
import { FieldSettings } from './FieldSettings';
|
|
10
|
-
/**
|
|
11
|
-
* The FilterChangeEvent object.
|
|
12
|
-
*/
|
|
13
|
-
export interface FilterChangeEvent extends BaseEvent<Filter> {
|
|
14
|
-
/**
|
|
15
|
-
* The changed composite filter descriptor.
|
|
16
|
-
*/
|
|
17
|
-
filter: CompositeFilterDescriptor;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* The props of the Filter component.
|
|
21
|
-
*/
|
|
22
|
-
export interface FilterProps {
|
|
23
|
-
/**
|
|
24
|
-
* Sets additional classes to the Filter.
|
|
25
|
-
*/
|
|
26
|
-
className?: string;
|
|
27
|
-
/**
|
|
28
|
-
* The styles that are applied to the Filter.
|
|
29
|
-
*/
|
|
30
|
-
style?: React.CSSProperties;
|
|
31
|
-
/**
|
|
32
|
-
* The fields settings of the Filter.
|
|
33
|
-
*/
|
|
34
|
-
fields: Array<FieldSettings>;
|
|
35
|
-
/**
|
|
36
|
-
* The composite filter descriptor value.
|
|
37
|
-
*/
|
|
38
|
-
value: CompositeFilterDescriptor;
|
|
39
|
-
/**
|
|
40
|
-
* Represents the aria-label prop of the Filter's container component.
|
|
41
|
-
*/
|
|
42
|
-
ariaLabel?: string;
|
|
43
|
-
/**
|
|
44
|
-
* Represents the aria-label prop of the Filter's underlying Group component.
|
|
45
|
-
*/
|
|
46
|
-
ariaLabelGroup?: string;
|
|
47
|
-
/**
|
|
48
|
-
* Represents the aria-label prop of the Filter's underlying Expression component.
|
|
49
|
-
*/
|
|
50
|
-
ariaLabelExpression?: string;
|
|
51
|
-
/**
|
|
52
|
-
* The Filter onChange event.
|
|
53
|
-
*/
|
|
54
|
-
onChange: (event: FilterChangeEvent) => void;
|
|
55
|
-
/**
|
|
56
|
-
* The initial composite filter descriptor which will be used when a new group is created.
|
|
57
|
-
*/
|
|
58
|
-
defaultGroupFilter?: CompositeFilterDescriptor;
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* Represents the [KendoReact Filter component]({% slug overview_filter %}).
|
|
62
|
-
*/
|
|
63
|
-
export declare class Filter extends React.Component<FilterProps> {
|
|
64
|
-
/**
|
|
65
|
-
* @hidden
|
|
66
|
-
*/
|
|
67
|
-
static propTypes: {
|
|
68
|
-
className: PropTypes.Requireable<string>;
|
|
69
|
-
style: PropTypes.Requireable<object>;
|
|
70
|
-
fields: (props: FilterProps, propName: string) => Error | null;
|
|
71
|
-
ariaLabelGroup: PropTypes.Requireable<string>;
|
|
72
|
-
ariaLabelExpression: PropTypes.Requireable<string>;
|
|
73
|
-
value: PropTypes.Validator<object>;
|
|
74
|
-
onChange: PropTypes.Validator<(...args: any[]) => any>;
|
|
75
|
-
};
|
|
76
|
-
constructor(props: FilterProps);
|
|
77
|
-
/**
|
|
78
|
-
* @hidden
|
|
79
|
-
*/
|
|
80
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
81
|
-
private onFilterChange;
|
|
82
|
-
private onGroupRemove;
|
|
83
|
-
}
|
package/filter/Group.d.ts
DELETED
|
@@ -1,58 +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 { CompositeFilterDescriptor } from '@progress/kendo-data-query';
|
|
8
|
-
import { BaseEvent } from '@progress/kendo-react-common';
|
|
9
|
-
import { FieldSettings } from './FieldSettings';
|
|
10
|
-
/**
|
|
11
|
-
* @hidden
|
|
12
|
-
*/
|
|
13
|
-
export interface GroupChangeEvent extends BaseEvent<Group> {
|
|
14
|
-
prevFilter: CompositeFilterDescriptor;
|
|
15
|
-
nextFilter: CompositeFilterDescriptor;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @hidden
|
|
19
|
-
*/
|
|
20
|
-
export interface GroupRemoveEvent extends BaseEvent<Group> {
|
|
21
|
-
filter: CompositeFilterDescriptor;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* @hidden
|
|
25
|
-
*/
|
|
26
|
-
export interface GroupProps {
|
|
27
|
-
filter: CompositeFilterDescriptor;
|
|
28
|
-
fields: Array<FieldSettings>;
|
|
29
|
-
ariaLabel?: string;
|
|
30
|
-
ariaLabelExpression?: string;
|
|
31
|
-
onChange: (event: GroupChangeEvent) => void;
|
|
32
|
-
onRemove: (event: GroupRemoveEvent) => void;
|
|
33
|
-
defaultGroupFilter: CompositeFilterDescriptor;
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* @hidden
|
|
37
|
-
*/
|
|
38
|
-
export declare class Group extends React.Component<GroupProps> {
|
|
39
|
-
static propTypes: {
|
|
40
|
-
filter: PropTypes.Validator<object>;
|
|
41
|
-
fields: PropTypes.Validator<any[]>;
|
|
42
|
-
ariaLabel: PropTypes.Requireable<string>;
|
|
43
|
-
ariaLabelExpression: PropTypes.Requireable<string>;
|
|
44
|
-
onChange: PropTypes.Validator<(...args: any[]) => any>;
|
|
45
|
-
onRemove: PropTypes.Validator<(...args: any[]) => any>;
|
|
46
|
-
defaultGroupFilter: PropTypes.Validator<object>;
|
|
47
|
-
};
|
|
48
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
49
|
-
private onGroupRemove;
|
|
50
|
-
private onAddExpression;
|
|
51
|
-
private onAddGroup;
|
|
52
|
-
private onLogicAnd;
|
|
53
|
-
private onLogicOr;
|
|
54
|
-
private changeLogic;
|
|
55
|
-
private replaceFilter;
|
|
56
|
-
private onChange;
|
|
57
|
-
private onRemove;
|
|
58
|
-
}
|
|
@@ -1,47 +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 BooleanFilter component.
|
|
10
|
-
*/
|
|
11
|
-
export interface BooleanFilterProps extends TextFilterProps {
|
|
12
|
-
/**
|
|
13
|
-
* A collection of text-value pairs passed to the BooleanFilter DropDownList.
|
|
14
|
-
* Defaults to [ { text: 'True', value: true }, { text: 'False', value: false } ]
|
|
15
|
-
*/
|
|
16
|
-
data?: Array<{
|
|
17
|
-
text: string;
|
|
18
|
-
value: any;
|
|
19
|
-
}>;
|
|
20
|
-
/**
|
|
21
|
-
* The defaultItem passed to the BooleanFilter DropDownList.
|
|
22
|
-
*/
|
|
23
|
-
defaultItem?: any;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* The BooleanFilter component used for editing boolean value of FilterDescriptor object.
|
|
27
|
-
*/
|
|
28
|
-
export declare class BooleanFilter extends React.Component<BooleanFilterProps> {
|
|
29
|
-
/**
|
|
30
|
-
* @hidden
|
|
31
|
-
*/
|
|
32
|
-
static propTypes: {
|
|
33
|
-
filter: PropTypes.Validator<object>;
|
|
34
|
-
onFilterChange: PropTypes.Validator<(...args: any[]) => any>;
|
|
35
|
-
data: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
36
|
-
text: PropTypes.Requireable<string>;
|
|
37
|
-
value: PropTypes.Requireable<any>;
|
|
38
|
-
}> | null | undefined)[]>;
|
|
39
|
-
ariaLabel: PropTypes.Requireable<string>;
|
|
40
|
-
defaultItem: PropTypes.Requireable<any>;
|
|
41
|
-
};
|
|
42
|
-
private data;
|
|
43
|
-
/**
|
|
44
|
-
* @hidden
|
|
45
|
-
*/
|
|
46
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
47
|
-
}
|
|
@@ -1,30 +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 DateFilter component.
|
|
10
|
-
*/
|
|
11
|
-
export interface DateFilterProps extends TextFilterProps {
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* The DateFilter component used for editing date value of FilterDescriptor object.
|
|
15
|
-
*/
|
|
16
|
-
export declare class DateFilter extends React.Component<DateFilterProps> {
|
|
17
|
-
/**
|
|
18
|
-
* @hidden
|
|
19
|
-
*/
|
|
20
|
-
static propTypes: {
|
|
21
|
-
filter: PropTypes.Validator<object>;
|
|
22
|
-
onFilterChange: PropTypes.Validator<(...args: any[]) => any>;
|
|
23
|
-
ariaLabel: PropTypes.Requireable<string>;
|
|
24
|
-
};
|
|
25
|
-
/**
|
|
26
|
-
* @hidden
|
|
27
|
-
*/
|
|
28
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
29
|
-
private onChange;
|
|
30
|
-
}
|
|
@@ -1,47 +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 EnumFilter component.
|
|
10
|
-
*/
|
|
11
|
-
export interface EnumFilterProps extends TextFilterProps {
|
|
12
|
-
/**
|
|
13
|
-
* A collection of text-value pairs passed to the EnumFilter DropDownList.
|
|
14
|
-
*/
|
|
15
|
-
data?: Array<{
|
|
16
|
-
text: string;
|
|
17
|
-
value: any;
|
|
18
|
-
}>;
|
|
19
|
-
/**
|
|
20
|
-
* The defaultItem passed to the EnumFilter DropDownList.
|
|
21
|
-
*/
|
|
22
|
-
defaultItem?: any;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* The EnumFilter component used for editing the value of FilterDescriptor object.
|
|
26
|
-
* It renders a DropDownList and allows you to choose a value from the predefined list.
|
|
27
|
-
*/
|
|
28
|
-
export declare class EnumFilter extends React.Component<EnumFilterProps> {
|
|
29
|
-
/**
|
|
30
|
-
* @hidden
|
|
31
|
-
*/
|
|
32
|
-
static propTypes: {
|
|
33
|
-
filter: PropTypes.Validator<object>;
|
|
34
|
-
onFilterChange: PropTypes.Validator<(...args: any[]) => any>;
|
|
35
|
-
data: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
36
|
-
text: PropTypes.Requireable<string>;
|
|
37
|
-
value: PropTypes.Requireable<any>;
|
|
38
|
-
}> | null | undefined)[]>;
|
|
39
|
-
defaultItem: PropTypes.Requireable<any>;
|
|
40
|
-
ariaLabel: PropTypes.Requireable<string>;
|
|
41
|
-
};
|
|
42
|
-
/**
|
|
43
|
-
* @hidden
|
|
44
|
-
*/
|
|
45
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
46
|
-
private onChange;
|
|
47
|
-
}
|