@progress/kendo-react-pivotgrid 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/PivotGrid.js +8 -0
- package/PivotGrid.mjs +252 -0
- package/components/AxesEditor.js +8 -0
- package/components/AxesEditor.mjs +43 -0
- package/components/AxisEditor.js +8 -0
- package/components/AxisEditor.mjs +108 -0
- package/components/AxisFilterFieldsEditor.js +8 -0
- package/components/AxisFilterFieldsEditor.mjs +159 -0
- package/components/Cell.js +8 -0
- package/components/Cell.mjs +45 -0
- package/components/Column.js +8 -0
- package/components/Column.mjs +40 -0
- package/components/Configurator.js +8 -0
- package/components/Configurator.mjs +134 -0
- package/components/ConfiguratorButton.js +8 -0
- package/components/ConfiguratorButton.mjs +42 -0
- package/components/ConfiguratorEditor.js +8 -0
- package/components/ConfiguratorEditor.mjs +240 -0
- package/components/Container.js +8 -0
- package/components/Container.mjs +40 -0
- package/components/EditorContext.js +8 -0
- package/components/EditorContext.mjs +13 -0
- package/components/FieldsEditor.js +8 -0
- package/components/FieldsEditor.mjs +78 -0
- package/components/HeaderCell.js +8 -0
- package/components/HeaderCell.mjs +69 -0
- package/components/Row.js +8 -0
- package/components/Row.mjs +42 -0
- package/dist/cdn/js/kendo-react-pivotgrid.js +8 -5
- package/hooks/useExpansion.js +8 -0
- package/hooks/useExpansion.mjs +46 -0
- package/hooks/useHeaders.js +8 -0
- package/hooks/useHeaders.mjs +18 -0
- package/hooks/useHorizontalScrollSync.js +8 -0
- package/hooks/useHorizontalScrollSync.mjs +25 -0
- package/hooks/usePivotConfiguratorEditor.js +8 -0
- package/hooks/usePivotConfiguratorEditor.mjs +67 -0
- package/hooks/usePivotLocalDataService.js +8 -0
- package/hooks/usePivotLocalDataService.mjs +94 -0
- package/hooks/usePivotOLAPService.js +8 -0
- package/hooks/usePivotOLAPService.mjs +230 -0
- package/hooks/useVerticalScrollSync.js +8 -0
- package/hooks/useVerticalScrollSync.mjs +25 -0
- package/index.d.mts +1342 -5
- package/index.d.ts +1342 -22
- package/index.js +8 -5
- package/index.mjs +46 -1583
- package/messages/index.js +8 -0
- package/messages/index.mjs +39 -0
- package/package-metadata.js +8 -0
- package/package-metadata.mjs +19 -0
- package/package.json +9 -9
- package/shared/PivotGridConfiguratorEditorEventsContext.js +8 -0
- package/shared/PivotGridConfiguratorEditorEventsContext.mjs +13 -0
- package/shared/PivotGridConfiguratorEditorStateContext.js +8 -0
- package/shared/PivotGridConfiguratorEditorStateContext.mjs +28 -0
- package/utils/index.js +8 -0
- package/utils/index.mjs +59 -0
- package/PivotGrid.d.ts +0 -181
- package/components/AxesEditor.d.ts +0 -44
- package/components/AxisEditor.d.ts +0 -56
- package/components/AxisFilterFieldsEditor.d.ts +0 -118
- package/components/Cell.d.ts +0 -69
- package/components/Column.d.ts +0 -46
- package/components/Configurator.d.ts +0 -129
- package/components/ConfiguratorButton.d.ts +0 -44
- package/components/ConfiguratorEditor.d.ts +0 -130
- package/components/Container.d.ts +0 -50
- package/components/EditorContext.d.ts +0 -11
- package/components/FieldsEditor.d.ts +0 -78
- package/components/HeaderCell.d.ts +0 -100
- package/components/Row.d.ts +0 -54
- package/hooks/index.d.ts +0 -6
- package/hooks/useExpansion.d.ts +0 -23
- package/hooks/useHeaders.d.ts +0 -16
- package/hooks/useHorizontalScrollSync.d.ts +0 -9
- package/hooks/usePivotConfiguratorEditor.d.ts +0 -87
- package/hooks/usePivotLocalDataService.d.ts +0 -83
- package/hooks/usePivotOLAPService.d.ts +0 -45
- package/hooks/useVerticalScrollSync.d.ts +0 -9
- package/messages/index.d.ts +0 -74
- package/models/index.d.ts +0 -48
- package/package-metadata.d.ts +0 -9
- package/shared/PivotGridConfiguratorEditorEventsContext.d.ts +0 -17
- package/shared/PivotGridConfiguratorEditorStateContext.d.ts +0 -10
- package/shared/index.d.ts +0 -6
- package/utils/index.d.ts +0 -51
package/components/Cell.d.ts
DELETED
|
@@ -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 * as React from 'react';
|
|
6
|
-
import { KendoMouse } from '@progress/kendo-react-common';
|
|
7
|
-
import { PivotDataItem } from '@progress/kendo-pivotgrid-common';
|
|
8
|
-
/**
|
|
9
|
-
* Represents the object which is passed to the [`ref`](https://reactjs.org/docs/refs-and-the-dom.html) callback of the PivotGridCell component.
|
|
10
|
-
*/
|
|
11
|
-
export interface PivotGridCellHandle {
|
|
12
|
-
props: PivotGridCellProps;
|
|
13
|
-
element: HTMLTableCellElement | null;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Represents the props of the [KendoReact PivotGridCell component]({% slug api_pivotgrid_pivotgridcell %}).
|
|
17
|
-
*/
|
|
18
|
-
export interface PivotGridCellProps extends KendoMouse<PivotGridCellHandle, HTMLTableCellElement> {
|
|
19
|
-
/**
|
|
20
|
-
* Represents the `dataItem` of the PivotGridCell.
|
|
21
|
-
*
|
|
22
|
-
* The `dataItem` is a single [PivotDataItem]({% slug api_pivotgrid_pivotdataitem %}) object.
|
|
23
|
-
*/
|
|
24
|
-
dataItem: PivotDataItem;
|
|
25
|
-
/**
|
|
26
|
-
* Sets the `id` property of the top-most element of the PivotGridCell.
|
|
27
|
-
*/
|
|
28
|
-
id?: string;
|
|
29
|
-
/**
|
|
30
|
-
* Sets the `className` property of the top-most element of the PivotGridCell in addition to the default `k-pivotgrid-cell` class.
|
|
31
|
-
*/
|
|
32
|
-
className?: string;
|
|
33
|
-
/**
|
|
34
|
-
* Sets the `tabIndex` property of the top-most element of the PivotGridCell.
|
|
35
|
-
*/
|
|
36
|
-
tabIndex?: number;
|
|
37
|
-
/**
|
|
38
|
-
* Sets the `children` property of the top-most element of the PivotGridCell.
|
|
39
|
-
*/
|
|
40
|
-
children?: React.ReactNode;
|
|
41
|
-
/**
|
|
42
|
-
* Sets the `style` property of the top-most element of the PivotGridCell.
|
|
43
|
-
*/
|
|
44
|
-
style?: React.CSSProperties;
|
|
45
|
-
/**
|
|
46
|
-
* Represents the columns `path` leading to the current cell.
|
|
47
|
-
*/
|
|
48
|
-
columnPath?: string[];
|
|
49
|
-
/**
|
|
50
|
-
* Represents the row `path` leading to the current cell.
|
|
51
|
-
*/
|
|
52
|
-
rowPath?: string[];
|
|
53
|
-
/**
|
|
54
|
-
* Indicates if the current cell represents a `total` value.
|
|
55
|
-
*/
|
|
56
|
-
total?: boolean;
|
|
57
|
-
/**
|
|
58
|
-
* Sets the `role` property of the top-most element of the PivotGridCell.
|
|
59
|
-
*/
|
|
60
|
-
role?: string;
|
|
61
|
-
/**
|
|
62
|
-
* Sets the `aria-describedby` property of the top-most element of the PivotGridCell.
|
|
63
|
-
*/
|
|
64
|
-
ariaDescribedby?: string;
|
|
65
|
-
}
|
|
66
|
-
/**
|
|
67
|
-
* Represents the [KendoReact PivotGridCell component]({% slug api_pivotgrid_pivotgridcellprops %}).
|
|
68
|
-
*/
|
|
69
|
-
export declare const PivotGridCell: React.ForwardRefExoticComponent<PivotGridCellProps & React.RefAttributes<PivotGridCellHandle | null>>;
|
package/components/Column.d.ts
DELETED
|
@@ -1,46 +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 { KendoMouse } from '@progress/kendo-react-common';
|
|
7
|
-
/**
|
|
8
|
-
* Represents the object which is passed to the [`ref`](https://reactjs.org/docs/refs-and-the-dom.html) callback of the PivotGridColumn component.
|
|
9
|
-
*/
|
|
10
|
-
export interface PivotGridColumnHandle {
|
|
11
|
-
props: PivotGridColumnProps;
|
|
12
|
-
element: HTMLTableColElement | null;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Represents the props of the [KendoReact PivotGridColumn component]({% slug api_pivotgrid_pivotgridcolumn %}).
|
|
16
|
-
*/
|
|
17
|
-
export interface PivotGridColumnProps extends KendoMouse<PivotGridColumnHandle, HTMLTableColElement> {
|
|
18
|
-
/**
|
|
19
|
-
* Sets the `className` property of the top-most element of the PivotGridColumn in addition to the default `k-pivotgrid-row` class.
|
|
20
|
-
*/
|
|
21
|
-
className?: string;
|
|
22
|
-
/**
|
|
23
|
-
* Sets the `id` property of the top-most element of the PivotGridColumn.
|
|
24
|
-
*/
|
|
25
|
-
id?: string;
|
|
26
|
-
/**
|
|
27
|
-
* Sets the `children` property of the top-most element of the PivotGridColumn.
|
|
28
|
-
*/
|
|
29
|
-
children?: React.ReactNode;
|
|
30
|
-
/**
|
|
31
|
-
* Sets the `style` property of the top-most element of the PivotGridColumn.
|
|
32
|
-
*/
|
|
33
|
-
style?: React.CSSProperties;
|
|
34
|
-
/**
|
|
35
|
-
* Sets the `tabIndex` property of the top-most element of the PivotGridColumn.
|
|
36
|
-
*/
|
|
37
|
-
tabIndex?: number;
|
|
38
|
-
/**
|
|
39
|
-
* Represents the `path` leading to the current `column`.
|
|
40
|
-
*/
|
|
41
|
-
path?: string[];
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Represents the [KendoReact PivotGridColumn component]({% slug api_pivotgrid_pivotgridcolumnprops %}).
|
|
45
|
-
*/
|
|
46
|
-
export declare const PivotGridColumn: React.ForwardRefExoticComponent<PivotGridColumnProps & React.RefAttributes<PivotGridColumnHandle | null>>;
|
|
@@ -1,129 +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 { CustomComponent } from '@progress/kendo-react-common';
|
|
7
|
-
import { FormProps as KendoFormProps, FormElementProps as KendoFormElementProps } from '@progress/kendo-react-form';
|
|
8
|
-
import { SortDescriptor, FilterDescriptor } from '@progress/kendo-data-query';
|
|
9
|
-
import { PivotGridAxis, PivotGridField } from '@progress/kendo-pivotgrid-common';
|
|
10
|
-
import { PivotGridConfiguratorEditorProps } from './ConfiguratorEditor';
|
|
11
|
-
import { PivotGridAxisFilterFieldsExpandChangeEvent, PivotGridAxisFilterFieldExpandEvent } from './AxisFilterFieldsEditor';
|
|
12
|
-
import { PivotGridConfiguratorAxesChangeEvent, PivotGridConfiguratorSortChangeEvent, PivotGridConfiguratorFilterChangeEvent } from '../models';
|
|
13
|
-
import { PivotGridFieldsEditorFieldExpandEvent, PivotGridFieldsEditorFieldCheckEvent } from './FieldsEditor';
|
|
14
|
-
/**
|
|
15
|
-
* Represents the props of the [KendoReact PivotGridConfigurator component]({% slug api_pivotgrid_pivotgridconfigurator %}).
|
|
16
|
-
*/
|
|
17
|
-
export interface PivotGridConfiguratorProps {
|
|
18
|
-
/**
|
|
19
|
-
* Sets the `className` property of the top-most element of the PivotGridConfigurator in addition to the default `k-pivotgrid-configurator` class.
|
|
20
|
-
*/
|
|
21
|
-
className?: string;
|
|
22
|
-
/**
|
|
23
|
-
* Sets the `id` property of the top-most element of the PivotGridConfigurator.
|
|
24
|
-
*/
|
|
25
|
-
id?: string;
|
|
26
|
-
/**
|
|
27
|
-
* Sets the `tabIndex` property of the top-most element of the PivotGridConfigurator.
|
|
28
|
-
*/
|
|
29
|
-
tabIndex?: number;
|
|
30
|
-
/**
|
|
31
|
-
* Sets the `style` property of the top-most element of the PivotGridConfigurator.
|
|
32
|
-
*/
|
|
33
|
-
style?: React.CSSProperties;
|
|
34
|
-
/**
|
|
35
|
-
* Renders the PivotGridConfigurator in `horizontal` orientation.
|
|
36
|
-
*/
|
|
37
|
-
horizontal?: boolean;
|
|
38
|
-
/**
|
|
39
|
-
* Sets the `data` of the PivotGridConfigurator.
|
|
40
|
-
*
|
|
41
|
-
* The `data` represents all fields available in the configurator.
|
|
42
|
-
*/
|
|
43
|
-
data?: PivotGridField[];
|
|
44
|
-
/**
|
|
45
|
-
* The configuration of the `column` axes.
|
|
46
|
-
*/
|
|
47
|
-
columnAxes?: PivotGridAxis[];
|
|
48
|
-
/**
|
|
49
|
-
* A callback, fired whenever the `columnAxes` property should change.
|
|
50
|
-
*/
|
|
51
|
-
onColumnAxesChange?: (event: PivotGridConfiguratorAxesChangeEvent) => void;
|
|
52
|
-
/**
|
|
53
|
-
* The configuration of the `row` axes.
|
|
54
|
-
*/
|
|
55
|
-
rowAxes?: PivotGridAxis[];
|
|
56
|
-
/**
|
|
57
|
-
* A callback, fired whenever the `rowAxes` property should change.
|
|
58
|
-
*/
|
|
59
|
-
onRowAxesChange?: (event: PivotGridConfiguratorAxesChangeEvent) => void;
|
|
60
|
-
/**
|
|
61
|
-
* The configuration of the `measure` axes.
|
|
62
|
-
*/
|
|
63
|
-
measureAxes?: PivotGridAxis[];
|
|
64
|
-
/**
|
|
65
|
-
* A callback, fired whenever the `measureAxes` property should change.
|
|
66
|
-
*/
|
|
67
|
-
onMeasureAxesChange?: (event: PivotGridConfiguratorAxesChangeEvent) => void;
|
|
68
|
-
/**
|
|
69
|
-
* The descriptors by which the data is sorted.
|
|
70
|
-
*/
|
|
71
|
-
sort?: SortDescriptor[];
|
|
72
|
-
/**
|
|
73
|
-
* A callback, fired whenever the `sort` property should change.
|
|
74
|
-
*/
|
|
75
|
-
onSortChange?: (event: PivotGridConfiguratorSortChangeEvent) => void;
|
|
76
|
-
/**
|
|
77
|
-
* The descriptors by which the data is filtered.
|
|
78
|
-
*/
|
|
79
|
-
filter?: FilterDescriptor[];
|
|
80
|
-
/**
|
|
81
|
-
* A callback, fired whenever the `filter` property should change.
|
|
82
|
-
*/
|
|
83
|
-
onFilterChange?: (event: PivotGridConfiguratorFilterChangeEvent) => void;
|
|
84
|
-
/**
|
|
85
|
-
* A callback, fired whenever a `field` is expanded.
|
|
86
|
-
*/
|
|
87
|
-
onFieldsEditorFieldExpand?: (event: PivotGridFieldsEditorFieldExpandEvent) => void;
|
|
88
|
-
/**
|
|
89
|
-
* A callback, fired whenever a `field` is checked.
|
|
90
|
-
*/
|
|
91
|
-
onFieldsEditorFieldCheck?: (event: PivotGridFieldsEditorFieldCheckEvent) => void;
|
|
92
|
-
/**
|
|
93
|
-
* A callback, fired whenever an `AxisFilterField` is expanded.
|
|
94
|
-
*/
|
|
95
|
-
onAxisFilterFieldExpand?: (event?: PivotGridAxisFilterFieldExpandEvent) => void;
|
|
96
|
-
/**
|
|
97
|
-
* A callback, fired whenever the `expanded` state of the `AxisFilterFields` is changed.
|
|
98
|
-
*/
|
|
99
|
-
onAxisFilterFieldsExpandChange?: (event?: PivotGridAxisFilterFieldsExpandChangeEvent) => void;
|
|
100
|
-
/**
|
|
101
|
-
* Overrides the default `editor` component.
|
|
102
|
-
*
|
|
103
|
-
* The default component is: [PivotGridConfiguratorEditor]({% slug api_pivotgrid_pivotgridconfiguratoreditor %}).
|
|
104
|
-
*/
|
|
105
|
-
editor?: CustomComponent<PivotGridConfiguratorEditorProps>;
|
|
106
|
-
/**
|
|
107
|
-
* Overrides the default `form` component.
|
|
108
|
-
*
|
|
109
|
-
* The default component is: [KendoReactForm]({% slug api_form_form %}).
|
|
110
|
-
*/
|
|
111
|
-
form?: CustomComponent<KendoFormProps>;
|
|
112
|
-
/**
|
|
113
|
-
* Overrides the default `formElement` component.
|
|
114
|
-
*
|
|
115
|
-
* The default component is: [KendoReactFormElement]({% slug api_form_formelement %}).
|
|
116
|
-
*/
|
|
117
|
-
formElement?: CustomComponent<KendoFormElementProps>;
|
|
118
|
-
}
|
|
119
|
-
/**
|
|
120
|
-
* Represents the object which is passed to the [`ref`](https://reactjs.org/docs/refs-and-the-dom.html) callback of the PivotGridConfigurator component.
|
|
121
|
-
*/
|
|
122
|
-
export interface PivotGridConfiguratorHandle {
|
|
123
|
-
props: PivotGridConfiguratorProps;
|
|
124
|
-
element: HTMLDivElement | null;
|
|
125
|
-
}
|
|
126
|
-
/**
|
|
127
|
-
* Represents the [KendoReact PivotGridConfigurator component]({% slug api_pivotgrid_pivotgridconfiguratorprops %}).
|
|
128
|
-
*/
|
|
129
|
-
export declare const PivotGridConfigurator: React.ForwardRefExoticComponent<PivotGridConfiguratorProps & React.RefAttributes<PivotGridConfiguratorHandle | null>>;
|
|
@@ -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 { CustomComponent, IconProps as KendoIconProps, KendoMouse, SvgIconProps } from '@progress/kendo-react-common';
|
|
7
|
-
/**
|
|
8
|
-
* Represents the props of the [KendoReact PivotGridConfiguratorButton component]({% slug api_pivotgrid_pivotgridconfiguratorbutton %}).
|
|
9
|
-
*/
|
|
10
|
-
export interface PivotGridConfiguratorButtonProps extends KendoMouse<PivotGridConfiguratorButtonHandle, HTMLDivElement> {
|
|
11
|
-
/**
|
|
12
|
-
* Sets the `className` property of the top-most element of the PivotGridConfiguratorButton in addition to the default `k-pivotgrid-configurator-button` class.
|
|
13
|
-
*/
|
|
14
|
-
className?: string;
|
|
15
|
-
/**
|
|
16
|
-
* Sets the `id` property of the top-most element of the PivotGridConfiguratorButton.
|
|
17
|
-
*/
|
|
18
|
-
id?: string;
|
|
19
|
-
/**
|
|
20
|
-
* Sets the `tabIndex` property of the top-most element of the PivotGridConfiguratorButton.
|
|
21
|
-
*/
|
|
22
|
-
tabIndex?: number;
|
|
23
|
-
/**
|
|
24
|
-
* Sets the `style` property of the top-most element of the PivotGridConfiguratorButton.
|
|
25
|
-
*/
|
|
26
|
-
style?: React.CSSProperties;
|
|
27
|
-
/**
|
|
28
|
-
* Overrides the default `icon` component.
|
|
29
|
-
*
|
|
30
|
-
* The default component is: [KendoReactIcon]({% slug api_common_icon %}).
|
|
31
|
-
*/
|
|
32
|
-
icon?: CustomComponent<KendoIconProps & SvgIconProps>;
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Represents the object which is passed to the [`ref`](https://reactjs.org/docs/refs-and-the-dom.html) callback of the PivotGridConfiguratorButton component.
|
|
36
|
-
*/
|
|
37
|
-
export interface PivotGridConfiguratorButtonHandle {
|
|
38
|
-
props: PivotGridConfiguratorButtonProps;
|
|
39
|
-
element: HTMLDivElement | null;
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* Represents the [KendoReact PivotGridConfiguratorButton component]({% slug api_pivotgrid_pivotgridconfiguratorbuttonprops %}).
|
|
43
|
-
*/
|
|
44
|
-
export declare const PivotGridConfiguratorButton: React.ForwardRefExoticComponent<PivotGridConfiguratorButtonProps & React.RefAttributes<PivotGridConfiguratorButtonHandle | null>>;
|
|
@@ -1,130 +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 { FormRenderProps, FieldProps } from '@progress/kendo-react-form';
|
|
7
|
-
import { LabelProps } from '@progress/kendo-react-labels';
|
|
8
|
-
import { CustomComponent } from '@progress/kendo-react-common';
|
|
9
|
-
import { PivotGridAxisFilterFieldExpandEvent, PivotGridAxisFilterFieldsExpandChangeEvent } from './AxisFilterFieldsEditor';
|
|
10
|
-
import { PivotGridConfiguratorState, PivotGridField } from '@progress/kendo-pivotgrid-common';
|
|
11
|
-
import { PivotGridAxesEditorProps } from './AxesEditor';
|
|
12
|
-
import { PivotGridFieldsEditorProps, PivotGridFieldsEditorFieldExpandEvent, PivotGridFieldsEditorFieldCheckEvent } from './FieldsEditor';
|
|
13
|
-
import { PivotGridConfiguratorEditorState, PivotGridConfiguratorAction } from '../hooks';
|
|
14
|
-
/**
|
|
15
|
-
* Represents the props of the [KendoReact PivotGridConfiguratorEditor component]({% slug api_pivotgrid_pivotgridconfiguratoreditor %}).
|
|
16
|
-
*/
|
|
17
|
-
export interface PivotGridConfiguratorEditorProps extends FormRenderProps {
|
|
18
|
-
/**
|
|
19
|
-
* Sets the `data` of the PivotGridConfiguratorEditor.
|
|
20
|
-
*
|
|
21
|
-
* The `data` represents all fields available in the configurator.
|
|
22
|
-
*/
|
|
23
|
-
data: PivotGridField[];
|
|
24
|
-
/**
|
|
25
|
-
* Renders the PivotGridConfiguratorEditor in `horizontal` orientation.
|
|
26
|
-
*/
|
|
27
|
-
horizontal?: boolean;
|
|
28
|
-
/**
|
|
29
|
-
* Overrides the default `fieldsLabel` component.
|
|
30
|
-
*
|
|
31
|
-
* The default component is: [KendoReactLabel]({% slug api_labels_label %}).
|
|
32
|
-
*/
|
|
33
|
-
fieldsLabel?: CustomComponent<FieldProps & LabelProps>;
|
|
34
|
-
/**
|
|
35
|
-
* Overrides the default `fieldsEditor` component.
|
|
36
|
-
*
|
|
37
|
-
* The default component is: [PivotGridFieldsEditor]({% slug api_pivotgrid_pivotgridfieldseditor %}).
|
|
38
|
-
*/
|
|
39
|
-
fieldsEditor?: CustomComponent<PivotGridFieldsEditorProps>;
|
|
40
|
-
/**
|
|
41
|
-
* Overrides the default `columnAxesLabel` component.
|
|
42
|
-
*
|
|
43
|
-
* The default component is: [KendoReactLabel]({% slug api_labels_label %}).
|
|
44
|
-
*/
|
|
45
|
-
columnAxesLabel?: CustomComponent<FieldProps & LabelProps>;
|
|
46
|
-
/**
|
|
47
|
-
* Overrides the default `columnAxesEditor` component.
|
|
48
|
-
*
|
|
49
|
-
* The default component is: [PivotGridAxesEditor]({% slug api_pivotgrid_pivotgridaxeseditor %}).
|
|
50
|
-
*/
|
|
51
|
-
columnAxesEditor?: CustomComponent<PivotGridAxesEditorProps>;
|
|
52
|
-
/**
|
|
53
|
-
* Overrides the default `rowAxesLabel` component.
|
|
54
|
-
*
|
|
55
|
-
* The default component is: [KendoReactLabel]({% slug api_labels_label %}).
|
|
56
|
-
*/
|
|
57
|
-
rowAxesLabel?: CustomComponent<FieldProps & LabelProps>;
|
|
58
|
-
/**
|
|
59
|
-
* Overrides the default `rowAxesEditor` component.
|
|
60
|
-
*
|
|
61
|
-
* The default component is: [PivotGridAxesEditor]({% slug api_pivotgrid_pivotgridaxeseditor %}).
|
|
62
|
-
*/
|
|
63
|
-
rowAxesEditor?: CustomComponent<PivotGridAxesEditorProps>;
|
|
64
|
-
/**
|
|
65
|
-
* Overrides the default `measureAxesLabel` component.
|
|
66
|
-
*
|
|
67
|
-
* The default component is: [KendoReactLabel]({% slug api_labels_label %}).
|
|
68
|
-
*/
|
|
69
|
-
measureAxesLabel?: CustomComponent<FieldProps & LabelProps>;
|
|
70
|
-
/**
|
|
71
|
-
* Overrides the default `measureAxesEditor` component.
|
|
72
|
-
*
|
|
73
|
-
* The default component is: [PivotGridAxesEditor]({% slug api_pivotgrid_pivotgridaxeseditor %}).
|
|
74
|
-
*/
|
|
75
|
-
measureAxesEditor?: CustomComponent<PivotGridAxesEditorProps>;
|
|
76
|
-
/**
|
|
77
|
-
* A callback, fired whenever a `FieldEditorField` is expanded.
|
|
78
|
-
*/
|
|
79
|
-
onFieldsEditorFieldExpand?: (event: PivotGridFieldsEditorFieldExpandEvent & {
|
|
80
|
-
currentTarget: PivotGridConfiguratorEditorHandle;
|
|
81
|
-
}) => void;
|
|
82
|
-
/**
|
|
83
|
-
* An action callback. Used to define the component behavior when a `FieldsEditorFieldExpand` is triggered.
|
|
84
|
-
*
|
|
85
|
-
* Internal state change will be triggered depending on the specific action types.
|
|
86
|
-
*
|
|
87
|
-
* @hidden
|
|
88
|
-
*/
|
|
89
|
-
onFieldsEditorFieldExpandAction?: (event: PivotGridFieldsEditorFieldCheckEvent & {
|
|
90
|
-
currentTarget: PivotGridConfiguratorEditorHandle;
|
|
91
|
-
}, props: PivotGridConfiguratorEditorProps, state: PivotGridConfiguratorEditorState) => PivotGridConfiguratorAction | PivotGridConfiguratorAction[];
|
|
92
|
-
/**
|
|
93
|
-
* A callback, fired whenever a `FieldEditorField` is checked.
|
|
94
|
-
*/
|
|
95
|
-
onFieldsEditorFieldCheck?: (event: PivotGridFieldsEditorFieldCheckEvent & {
|
|
96
|
-
currentTarget: PivotGridConfiguratorEditorHandle;
|
|
97
|
-
}) => void;
|
|
98
|
-
/**
|
|
99
|
-
* An action callback. Used to define the component behavior when a `FieldsEditorFieldCheck` is triggered.
|
|
100
|
-
*
|
|
101
|
-
* Internal state change will be triggered depending on the specific action types.
|
|
102
|
-
*
|
|
103
|
-
* @hidden
|
|
104
|
-
*/
|
|
105
|
-
onFieldsEditorFieldCheckAction?: (event: PivotGridFieldsEditorFieldCheckEvent & {
|
|
106
|
-
currentTarget: PivotGridConfiguratorEditorHandle;
|
|
107
|
-
}, props: PivotGridConfiguratorEditorProps, state: PivotGridConfiguratorEditorState) => PivotGridConfiguratorAction | PivotGridConfiguratorAction[];
|
|
108
|
-
/**
|
|
109
|
-
* A callback, fired whenever an `AxisFilterField` is expanded.
|
|
110
|
-
*/
|
|
111
|
-
onAxisFilterFieldExpand?: (event: PivotGridAxisFilterFieldExpandEvent & {
|
|
112
|
-
currentTarget: PivotGridConfiguratorEditorHandle;
|
|
113
|
-
}) => void;
|
|
114
|
-
/**
|
|
115
|
-
* A callback, fired whenever `expanded` state of the AxisFilterFields is changed.
|
|
116
|
-
*/
|
|
117
|
-
onAxisFilterFieldsExpandChange?: (event: PivotGridAxisFilterFieldsExpandChangeEvent) => void;
|
|
118
|
-
}
|
|
119
|
-
/**
|
|
120
|
-
* Represents the object which is passed to the [`ref`](https://reactjs.org/docs/refs-and-the-dom.html) callback of the PivotGridConfiguratorEditor component.
|
|
121
|
-
*/
|
|
122
|
-
export interface PivotGridConfiguratorEditorHandle {
|
|
123
|
-
props: PivotGridConfiguratorEditorProps;
|
|
124
|
-
state: PivotGridConfiguratorState;
|
|
125
|
-
element: HTMLDivElement;
|
|
126
|
-
}
|
|
127
|
-
/**
|
|
128
|
-
* Represents the [KendoReact PivotGridConfiguratorEditor component]({% slug api_pivotgrid_pivotgridconfiguratoreditorprops %}).
|
|
129
|
-
*/
|
|
130
|
-
export declare const PivotGridConfiguratorEditor: React.ForwardRefExoticComponent<PivotGridConfiguratorEditorProps & React.RefAttributes<PivotGridConfiguratorEditorHandle>>;
|
|
@@ -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
|
-
/**
|
|
7
|
-
* Represents the props of the [KendoReact PivotGridContainer component]({% slug api_pivotgrid_pivotgridcontainer %}).
|
|
8
|
-
*/
|
|
9
|
-
export interface PivotGridContainerProps {
|
|
10
|
-
/**
|
|
11
|
-
* Sets the `id` property of the top-most element of the PivotGridContainer.
|
|
12
|
-
*/
|
|
13
|
-
id?: string;
|
|
14
|
-
/**
|
|
15
|
-
* Sets the `tabIndex` property of the top-most element of the PivotGridContainer.
|
|
16
|
-
*/
|
|
17
|
-
tabIndex?: number;
|
|
18
|
-
/**
|
|
19
|
-
* Sets the `className` property of the top-most element of the PivotGridContainer in addition to the default `k-d-flex k-pos-relative` class.
|
|
20
|
-
*/
|
|
21
|
-
className?: string;
|
|
22
|
-
/**
|
|
23
|
-
* Sets the `children` property of the top-most element of the PivotGridContainer.
|
|
24
|
-
*/
|
|
25
|
-
children?: React.ReactNode;
|
|
26
|
-
/**
|
|
27
|
-
* Sets the `style` property of the top-most element of the PivotGridContainer.
|
|
28
|
-
*/
|
|
29
|
-
style?: React.CSSProperties;
|
|
30
|
-
/**
|
|
31
|
-
* Sets the configurator position in the container.
|
|
32
|
-
* The available values are:
|
|
33
|
-
* - top
|
|
34
|
-
* - left
|
|
35
|
-
* - right
|
|
36
|
-
* - bottom
|
|
37
|
-
*/
|
|
38
|
-
configuratorPosition?: 'top' | 'left' | 'right' | 'bottom';
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* Represents the object which is passed to the [`ref`](https://reactjs.org/docs/refs-and-the-dom.html) callback of the PivotGridContainer component.
|
|
42
|
-
*/
|
|
43
|
-
export interface PivotGridContainerHandle {
|
|
44
|
-
element: HTMLDivElement | null;
|
|
45
|
-
props: PivotGridContainerProps;
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* Represents the [KendoReact PivotGridContainer component]({% slug api_pivotgrid_pivotgridcontainerprops %}).
|
|
49
|
-
*/
|
|
50
|
-
export declare const PivotGridContainer: React.ForwardRefExoticComponent<PivotGridContainerProps & React.RefAttributes<PivotGridContainerHandle | null>>;
|
|
@@ -1,11 +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 declare const PivotGridConfiguratorEditorAxesContext: React.Context<{
|
|
10
|
-
axes: string | null;
|
|
11
|
-
}>;
|
|
@@ -1,78 +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 { TreeViewProps as KendoReactTreeViewProps } from '@progress/kendo-react-treeview';
|
|
7
|
-
import { PivotGridField, PivotGridAxis } from '@progress/kendo-pivotgrid-common';
|
|
8
|
-
import { CustomComponent } from '@progress/kendo-react-common';
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*/
|
|
12
|
-
export interface PivotGridFieldsEditorFieldExpandEvent {
|
|
13
|
-
target: PivotGridFieldsEditorHandle;
|
|
14
|
-
value: PivotGridField;
|
|
15
|
-
syntheticEvent: React.SyntheticEvent;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @hidden
|
|
19
|
-
*/
|
|
20
|
-
export interface PivotGridFieldsEditorFieldCheckEvent {
|
|
21
|
-
target: PivotGridFieldsEditorHandle;
|
|
22
|
-
value: PivotGridField;
|
|
23
|
-
syntheticEvent: React.SyntheticEvent;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Represents the props of the [KendoReact PivotGridFieldsEditor component]({% slug api_pivotgrid_pivotgridfieldseditor %}).
|
|
27
|
-
*/
|
|
28
|
-
export interface PivotGridFieldsEditorProps {
|
|
29
|
-
/**
|
|
30
|
-
* Sets the `data` of the PivotGridConfiguratorEditor.
|
|
31
|
-
*
|
|
32
|
-
* The `data` represents all fields available in the configurator.
|
|
33
|
-
*/
|
|
34
|
-
data?: PivotGridField[];
|
|
35
|
-
/**
|
|
36
|
-
* The configuration of the `row` axes.
|
|
37
|
-
*/
|
|
38
|
-
rowAxes?: PivotGridAxis[];
|
|
39
|
-
/**
|
|
40
|
-
* The configuration of the `column` axes.
|
|
41
|
-
*/
|
|
42
|
-
columnAxes?: PivotGridAxis[];
|
|
43
|
-
/**
|
|
44
|
-
* The configuration of the `measure` axes.
|
|
45
|
-
*/
|
|
46
|
-
measureAxes?: PivotGridAxis[];
|
|
47
|
-
/**
|
|
48
|
-
* A callback, fired whenever an `expand` is triggered.
|
|
49
|
-
*/
|
|
50
|
-
onExpand?: (args: PivotGridFieldsEditorFieldExpandEvent) => void;
|
|
51
|
-
/**
|
|
52
|
-
* A callback, fired whenever a `check` is triggered.
|
|
53
|
-
*/
|
|
54
|
-
onCheck?: (args: PivotGridFieldsEditorFieldCheckEvent) => void;
|
|
55
|
-
/**
|
|
56
|
-
* Overrides the default `treeView` component.
|
|
57
|
-
*
|
|
58
|
-
* The default component is: [KendoReactTreeView]({% slug api_treeview_treeview %}).
|
|
59
|
-
*/
|
|
60
|
-
treeView?: CustomComponent<KendoReactTreeViewProps>;
|
|
61
|
-
/**
|
|
62
|
-
* Overrides the default `noData` component.
|
|
63
|
-
*
|
|
64
|
-
* The default component is: `() => <div>NO DATA</div>`
|
|
65
|
-
*/
|
|
66
|
-
noData?: CustomComponent<any>;
|
|
67
|
-
}
|
|
68
|
-
/**
|
|
69
|
-
* Represents the object which is passed to the [`ref`](https://reactjs.org/docs/refs-and-the-dom.html) callback of the PivotGridFieldsEditor component.
|
|
70
|
-
*/
|
|
71
|
-
export interface PivotGridFieldsEditorHandle {
|
|
72
|
-
props: PivotGridFieldsEditorProps;
|
|
73
|
-
element: HTMLDivElement | null;
|
|
74
|
-
}
|
|
75
|
-
/**
|
|
76
|
-
* Represents the [KendoReact PivotGridFieldsEditor component]({% slug api_pivotgrid_pivotgridfieldseditorprops %}).
|
|
77
|
-
*/
|
|
78
|
-
export declare const PivotGridFieldsEditor: React.ForwardRefExoticComponent<PivotGridFieldsEditorProps & React.RefAttributes<PivotGridFieldsEditorHandle | null>>;
|
|
@@ -1,100 +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 { KendoMouse, KendoMouseEvent, SvgIconProps } from '@progress/kendo-react-common';
|
|
7
|
-
import { IconProps as KendoIconProps, CustomComponent } from '@progress/kendo-react-common';
|
|
8
|
-
import { AxisDataItem } from '@progress/kendo-pivotgrid-common';
|
|
9
|
-
/**
|
|
10
|
-
* Represents the object which is passed to the [`ref`](https://reactjs.org/docs/refs-and-the-dom.html) callback of the PivotGridHeaderCell component.
|
|
11
|
-
*/
|
|
12
|
-
export interface PivotGridHeaderCellHandle {
|
|
13
|
-
props: PivotGridHeaderCellProps;
|
|
14
|
-
element: HTMLTableHeaderCellElement | null;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Represents the props of the [KendoReact PivotGridHeaderCell component]({% slug api_pivotgrid_pivotgridheadercell %}).
|
|
18
|
-
*/
|
|
19
|
-
export interface PivotGridHeaderCellProps extends KendoMouse<PivotGridHeaderCellHandle, HTMLTableHeaderCellElement> {
|
|
20
|
-
/**
|
|
21
|
-
* Represents the `dataItem` of the PivotGridHeaderCell.
|
|
22
|
-
*
|
|
23
|
-
* The `dataItem` is a single [AxisDataItem]({% slug api_pivotgrid_axisdataitem %}) object.
|
|
24
|
-
*/
|
|
25
|
-
dataItem: AxisDataItem;
|
|
26
|
-
/**
|
|
27
|
-
* Sets the `id` property of the top-most element of the PivotGridHeaderCell.
|
|
28
|
-
*/
|
|
29
|
-
id?: string;
|
|
30
|
-
/**
|
|
31
|
-
* Sets the `className` property of the top-most element of the PivotGridHeaderCell in addition to the default `k-pivotgrid-cell` class.
|
|
32
|
-
*/
|
|
33
|
-
className?: string;
|
|
34
|
-
/**
|
|
35
|
-
* Sets the `tabIndex` property of the top-most element of the PivotGridHeaderCell.
|
|
36
|
-
*/
|
|
37
|
-
tabIndex?: number;
|
|
38
|
-
/**
|
|
39
|
-
* Sets the `children` property of the top-most element of the PivotGridHeaderCell.
|
|
40
|
-
*/
|
|
41
|
-
children?: React.ReactNode;
|
|
42
|
-
/**
|
|
43
|
-
* Sets the `style` property of the top-most element of the PivotGridHeaderCell.
|
|
44
|
-
*/
|
|
45
|
-
style?: React.CSSProperties;
|
|
46
|
-
/**
|
|
47
|
-
* Represents the calculated `rowSpan` property of the cell.
|
|
48
|
-
*/
|
|
49
|
-
rowSpan?: number;
|
|
50
|
-
/**
|
|
51
|
-
* Represents the calculated `colSpan` property of the cell.
|
|
52
|
-
*/
|
|
53
|
-
colSpan?: number;
|
|
54
|
-
/**
|
|
55
|
-
* Represents the columns `path` leading to the current cell.
|
|
56
|
-
*/
|
|
57
|
-
columnPath?: string[];
|
|
58
|
-
/**
|
|
59
|
-
* Represents the row `path` leading to the current cell.
|
|
60
|
-
*/
|
|
61
|
-
rowPath?: string[];
|
|
62
|
-
/**
|
|
63
|
-
* Indicates if the current cell represents a `total` value.
|
|
64
|
-
*/
|
|
65
|
-
total?: boolean;
|
|
66
|
-
/**
|
|
67
|
-
* Indicates if the current cell represents the first level of a hierarchy.
|
|
68
|
-
*/
|
|
69
|
-
root?: boolean;
|
|
70
|
-
/**
|
|
71
|
-
* Indicates if the current cell can be expanded.
|
|
72
|
-
*/
|
|
73
|
-
expandable?: boolean;
|
|
74
|
-
/**
|
|
75
|
-
* Indicates if the current cell is expanded.
|
|
76
|
-
*/
|
|
77
|
-
expanded?: boolean;
|
|
78
|
-
/**
|
|
79
|
-
* @hidden
|
|
80
|
-
*/
|
|
81
|
-
first?: boolean;
|
|
82
|
-
/**
|
|
83
|
-
* Overrides the default `icon` component.
|
|
84
|
-
*
|
|
85
|
-
* The default component is: [KendoReactIcon]({% slug api_common_icon %}).
|
|
86
|
-
*/
|
|
87
|
-
icon?: CustomComponent<KendoIconProps & SvgIconProps>;
|
|
88
|
-
/**
|
|
89
|
-
* A callback, fired whenever the `icon` is clicked.
|
|
90
|
-
*/
|
|
91
|
-
onIconClick?: (args: KendoMouseEvent<PivotGridHeaderCellHandle, HTMLSpanElement>) => void;
|
|
92
|
-
/**
|
|
93
|
-
* Sets the `role` property of the top-most element of the PivotGridHeaderCell.
|
|
94
|
-
*/
|
|
95
|
-
role?: string;
|
|
96
|
-
}
|
|
97
|
-
/**
|
|
98
|
-
* Represents the [KendoReact PivotGridHeaderCell component]({% slug api_pivotgrid_pivotgridheadercellprops %}).
|
|
99
|
-
*/
|
|
100
|
-
export declare const PivotGridHeaderCell: React.ForwardRefExoticComponent<PivotGridHeaderCellProps & React.RefAttributes<PivotGridHeaderCellHandle | null>>;
|