@progress/kendo-react-pivotgrid 13.3.0 → 13.4.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 (41) hide show
  1. package/PivotGrid.d.ts +303 -0
  2. package/components/AxesEditor.d.ts +57 -0
  3. package/components/AxisEditor.d.ts +65 -0
  4. package/components/AxisEditor.mjs +3 -3
  5. package/components/AxisFilterFieldsEditor.d.ts +145 -0
  6. package/components/Cell.d.ts +114 -0
  7. package/components/Column.d.ts +91 -0
  8. package/components/Configurator.d.ts +140 -0
  9. package/components/ConfiguratorButton.d.ts +89 -0
  10. package/components/ConfiguratorButton.mjs +4 -4
  11. package/components/ConfiguratorEditor.d.ts +144 -0
  12. package/components/ConfiguratorEditor.js +1 -1
  13. package/components/ConfiguratorEditor.mjs +1 -2
  14. package/components/Container.d.ts +64 -0
  15. package/components/EditorContext.d.ts +14 -0
  16. package/components/FieldsEditor.d.ts +87 -0
  17. package/components/FieldsEditor.mjs +3 -3
  18. package/components/HeaderCell.d.ts +144 -0
  19. package/components/HeaderCell.mjs +4 -4
  20. package/components/Row.d.ts +99 -0
  21. package/dist/cdn/js/kendo-react-pivotgrid.js +1 -1
  22. package/hooks/index.d.ts +9 -0
  23. package/hooks/useExpansion.d.ts +26 -0
  24. package/hooks/useHeaders.d.ts +18 -0
  25. package/hooks/useHorizontalScrollSync.d.ts +12 -0
  26. package/hooks/usePivotConfiguratorEditor.d.ts +90 -0
  27. package/hooks/usePivotLocalDataService.d.ts +86 -0
  28. package/hooks/usePivotOLAPService.d.ts +84 -0
  29. package/hooks/useVerticalScrollSync.d.ts +12 -0
  30. package/index.d.mts +18 -1827
  31. package/index.d.ts +18 -1827
  32. package/messages/index.d.ts +77 -0
  33. package/models/index.d.ts +96 -0
  34. package/package-metadata.d.ts +12 -0
  35. package/package-metadata.js +1 -1
  36. package/package-metadata.mjs +10 -16
  37. package/package.json +10 -10
  38. package/shared/PivotGridConfiguratorEditorEventsContext.d.ts +20 -0
  39. package/shared/PivotGridConfiguratorEditorStateContext.d.ts +13 -0
  40. package/shared/index.d.ts +9 -0
  41. package/utils/index.d.ts +54 -0
@@ -0,0 +1,77 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ /**
9
+ * @hidden
10
+ */
11
+ export declare const emptyCellAriaLabel = "pivotgrid.emptyCellAriaLabel";
12
+ /**
13
+ * @hidden
14
+ */
15
+ export declare const fieldMenuReset = "pivotgrid.fieldMenuReset";
16
+ /**
17
+ * @hidden
18
+ */
19
+ export declare const fieldMenuApply = "pivotgrid.fieldMenuApply";
20
+ /**
21
+ * @hidden
22
+ */
23
+ export declare const configuratorTitle = "pivotgrid.configuratorTitle";
24
+ /**
25
+ * @hidden
26
+ */
27
+ export declare const configuratorCancel = "pivotgrid.configuratorCancel";
28
+ /**
29
+ * @hidden
30
+ */
31
+ export declare const configuratorApply = "pivotgrid.configuratorApply";
32
+ /**
33
+ * @hidden
34
+ */
35
+ export declare const configuratorColumnsTitle = "pivotgrid.configuratorColumnsTitle";
36
+ /**
37
+ * @hidden
38
+ */
39
+ export declare const configuratorRowsTitle = "pivotgrid.configuratorRowsTitle";
40
+ /**
41
+ * @hidden
42
+ */
43
+ export declare const configuratorMeasuresTitle = "pivotgrid.configuratorMeasuresTitle";
44
+ /**
45
+ * @hidden
46
+ */
47
+ export declare const configuratorEditorSearchTitle = "pivotgrid.configuratorEditorSearchTitle";
48
+ /**
49
+ * @hidden
50
+ */
51
+ export declare const configuratorEditorSearchPlaceholder = "pivotgrid.configuratorEditorSearchPlaceholder";
52
+ /**
53
+ * @hidden
54
+ */
55
+ export declare const configuratorMissingFields = "pivotgrid.configuratorMissingFields";
56
+ /**
57
+ * @hidden
58
+ */
59
+ export declare const configuratorButtonLabel = "pivotgrid.configuratorButtonLabel";
60
+ /**
61
+ * @hidden
62
+ */
63
+ export declare const messages: {
64
+ "pivotgrid.emptyCellAriaLabel": string;
65
+ "pivotgrid.fieldMenuReset": string;
66
+ "pivotgrid.fieldMenuApply": string;
67
+ "pivotgrid.configuratorCancel": string;
68
+ "pivotgrid.configuratorApply": string;
69
+ "pivotgrid.configuratorTitle": string;
70
+ "pivotgrid.configuratorEditorSearchTitle": string;
71
+ "pivotgrid.configuratorEditorSearchPlaceholder": string;
72
+ "pivotgrid.configuratorColumnsTitle": string;
73
+ "pivotgrid.configuratorRowsTitle": string;
74
+ "pivotgrid.configuratorMeasuresTitle": string;
75
+ "pivotgrid.configuratorButtonLabel": string;
76
+ "pivotgrid.configuratorMissingFields": string;
77
+ };
@@ -0,0 +1,96 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { SortDescriptor, FilterDescriptor } from '@progress/kendo-data-query';
9
+ import { PivotGridField, PivotGridAxis } from '@progress/kendo-pivotgrid-common';
10
+ import { PivotGridHandle } from '../PivotGrid.js';
11
+ import { PivotGridConfiguratorHandle } from '../components/Configurator.js';
12
+ /**
13
+ * represents the `data` structure of the [TreeView](https://www.telerik.com/kendo-react-ui/components/treeview/api/treeview) component inside the `PivotGrid`.
14
+ */
15
+ export interface PivotGridTreeViewData {
16
+ /**
17
+ * Indicates whether the item is checked.
18
+ */
19
+ checked?: boolean;
20
+ /**
21
+ * The string value of the item.
22
+ */
23
+ value?: string;
24
+ /**
25
+ * The data item associated with the tree view node.
26
+ */
27
+ dataItem?: PivotGridField[];
28
+ }
29
+ /**
30
+ * Represents the event arguments of the [`onColumnAxesChange`](https://www.telerik.com/kendo-react-ui/components/pivotgrid/api/pivotgridprops#toc-oncolumnaxeschange) and [`onRowAxesChange`](https://www.telerik.com/kendo-react-ui/components/pivotgrid/api/pivotgridprops#toc-onrowaxeschange) callbacks of the [`PivotGrid`](https://www.telerik.com/kendo-react-ui/components/pivotgrid/api/pivotgrid) component.
31
+ */
32
+ export interface PivotGridAxesChangeEvent {
33
+ /**
34
+ * The new axes configuration value.
35
+ */
36
+ value: PivotGridAxis[];
37
+ /**
38
+ * The handle of the PivotGrid component.
39
+ */
40
+ target: PivotGridHandle | null;
41
+ /**
42
+ * The DOM event that triggered the change.
43
+ */
44
+ syntheticEvent: React.SyntheticEvent;
45
+ }
46
+ /**
47
+ * Represents the event arguments of the [`onColumnAxesChange`](https://www.telerik.com/kendo-react-ui/components/pivotgrid/api/pivotgridconfiguratorprops#toc-oncolumnaxeschange), [`onRowAxesChange`](https://www.telerik.com/kendo-react-ui/components/pivotgrid/api/pivotgridconfiguratorprops#toc-onrowaxeschange) and [`onMeasureAxesChange`](https://www.telerik.com/kendo-react-ui/components/pivotgrid/api/pivotgridconfiguratorprops#toc-onmeasureaxeschange) callbacks of the [`PivotGridConfigurator`](https://www.telerik.com/kendo-react-ui/components/pivotgrid/api/pivotgridconfigurator) component.
48
+ */
49
+ export interface PivotGridConfiguratorAxesChangeEvent {
50
+ /**
51
+ * The new axes configuration value.
52
+ */
53
+ value: PivotGridAxis[];
54
+ /**
55
+ * The handle of the PivotGridConfigurator component.
56
+ */
57
+ target: PivotGridConfiguratorHandle | null;
58
+ /**
59
+ * The DOM event that triggered the change.
60
+ */
61
+ syntheticEvent: React.SyntheticEvent;
62
+ }
63
+ /**
64
+ * Represents the event arguments of the [`onSortChange`](https://www.telerik.com/kendo-react-ui/components/pivotgrid/api/pivotgridconfiguratorprops#toc-onsortchange) callbacks of the [`PivotGridConfigurator`](https://www.telerik.com/kendo-react-ui/components/pivotgrid/api/pivotgridconfigurator) component.
65
+ */
66
+ export interface PivotGridConfiguratorSortChangeEvent {
67
+ /**
68
+ * The new sort descriptors value.
69
+ */
70
+ value: SortDescriptor[];
71
+ /**
72
+ * The handle of the PivotGridConfigurator component.
73
+ */
74
+ target: PivotGridConfiguratorHandle | null;
75
+ /**
76
+ * The DOM event that triggered the change.
77
+ */
78
+ syntheticEvent: React.SyntheticEvent;
79
+ }
80
+ /**
81
+ * Represents the event arguments of the [`onFilterChange`](https://www.telerik.com/kendo-react-ui/components/pivotgrid/api/pivotgridconfiguratorprops#toc-onfilterchange) callbacks of the [`PivotGridConfigurator`](https://www.telerik.com/kendo-react-ui/components/pivotgrid/api/pivotgridconfigurator) component.
82
+ */
83
+ export interface PivotGridConfiguratorFilterChangeEvent {
84
+ /**
85
+ * The new filter descriptors value.
86
+ */
87
+ value: FilterDescriptor[];
88
+ /**
89
+ * The handle of the PivotGridConfigurator component.
90
+ */
91
+ target: PivotGridConfiguratorHandle | null;
92
+ /**
93
+ * The DOM event that triggered the change.
94
+ */
95
+ syntheticEvent: React.SyntheticEvent;
96
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { PackageMetadata } from '@progress/kendo-licensing';
9
+ /**
10
+ * @hidden
11
+ */
12
+ export declare const packageMetadata: PackageMetadata;
@@ -5,4 +5,4 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=Object.freeze({name:"@progress/kendo-react-pivotgrid",productName:"KendoReact",productCode:"KENDOUIREACT",productCodes:["KENDOUIREACT"],publishDate: 1768550504,version:"13.3.0",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"});exports.packageMetadata=e;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=Object.freeze({name:"@progress/kendo-react-pivotgrid",productName:"KendoReact",productCode:"KENDOUIREACT",productCodes:["KENDOUIREACT"],publishDate: 1770219269,version:"13.4.0-develop.1",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"});exports.packageMetadata=e;
@@ -1,19 +1,13 @@
1
+ // Generated file. DO NOT EDIT.
1
2
  /**
2
- * @license
3
- *-------------------------------------------------------------------------------------------
4
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
- * Licensed under commercial license. See LICENSE.md in the package root for more information
6
- *-------------------------------------------------------------------------------------------
3
+ * @hidden
7
4
  */
8
- const e = Object.freeze({
9
- name: "@progress/kendo-react-pivotgrid",
10
- productName: "KendoReact",
11
- productCode: "KENDOUIREACT",
12
- productCodes: ["KENDOUIREACT"],
13
- publishDate: 1768550504,
14
- version: "13.3.0",
15
- licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/"
5
+ export const packageMetadata = Object.freeze({
6
+ name: '@progress/kendo-react-pivotgrid',
7
+ productName: 'KendoReact',
8
+ productCode: 'KENDOUIREACT',
9
+ productCodes: ['KENDOUIREACT'],
10
+ publishDate: 0,
11
+ version: '13.4.0-develop.1',
12
+ licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/components/my-license/'
16
13
  });
17
- export {
18
- e as packageMetadata
19
- };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-react-pivotgrid",
3
- "version": "13.3.0",
3
+ "version": "13.4.0-develop.1",
4
4
  "description": "React PivotGrid (also called Pivot Table) can be data-bound to an OLAP service and customized extensively. KendoReact PivotGrid package",
5
5
  "author": "Progress",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
@@ -28,14 +28,14 @@
28
28
  "@progress/kendo-data-query": "^1.7.2",
29
29
  "@progress/kendo-licensing": "^1.7.2",
30
30
  "@progress/kendo-pivotgrid-common": "0.6.3",
31
- "@progress/kendo-react-buttons": "13.3.0",
32
- "@progress/kendo-react-common": "13.3.0",
33
- "@progress/kendo-react-data-tools": "13.3.0",
34
- "@progress/kendo-react-form": "13.3.0",
35
- "@progress/kendo-react-indicators": "13.3.0",
36
- "@progress/kendo-react-intl": "13.3.0",
37
- "@progress/kendo-react-labels": "13.3.0",
38
- "@progress/kendo-react-treeview": "13.3.0",
31
+ "@progress/kendo-react-buttons": "13.4.0-develop.1",
32
+ "@progress/kendo-react-common": "13.4.0-develop.1",
33
+ "@progress/kendo-react-data-tools": "13.4.0-develop.1",
34
+ "@progress/kendo-react-form": "13.4.0-develop.1",
35
+ "@progress/kendo-react-indicators": "13.4.0-develop.1",
36
+ "@progress/kendo-react-intl": "13.4.0-develop.1",
37
+ "@progress/kendo-react-labels": "13.4.0-develop.1",
38
+ "@progress/kendo-react-treeview": "13.4.0-develop.1",
39
39
  "@progress/kendo-svg-icons": "^4.0.0",
40
40
  "react": "^16.8.2 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc",
41
41
  "react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
@@ -61,7 +61,7 @@
61
61
  "package": {
62
62
  "productName": "KendoReact",
63
63
  "productCode": "KENDOUIREACT",
64
- "publishDate": 1768550504,
64
+ "publishDate": 1770219269,
65
65
  "licensingDocsUrl": "https://www.telerik.com/kendo-react-ui/components/my-license/"
66
66
  }
67
67
  },
@@ -0,0 +1,20 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { PivotGridAxisFilterFieldsExpandChangeEvent, PivotGridAxisFilterFieldExpandEvent } from '../components/AxisFilterFieldsEditor.js';
9
+ import * as React from 'react';
10
+ /**
11
+ * @hidden
12
+ */
13
+ export interface PivotGridConfiguratorEditorEventsContextType {
14
+ onAxisFilterFieldsExpandChange?: (event: PivotGridAxisFilterFieldsExpandChangeEvent) => void;
15
+ onAxisFilterFieldExpand?: (event: PivotGridAxisFilterFieldExpandEvent) => void;
16
+ }
17
+ /**
18
+ * @hidden
19
+ */
20
+ export declare const PivotGridConfiguratorEditorEventsContext: React.Context<PivotGridConfiguratorEditorEventsContextType>;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { PivotGridConfiguratorAction, PivotGridConfiguratorEditorState } from '../hooks/usePivotConfiguratorEditor.js';
9
+ import * as React from 'react';
10
+ /**
11
+ * @hidden
12
+ */
13
+ export declare const PivotGridConfiguratorEditorStateContext: React.Context<[PivotGridConfiguratorEditorState, (action: PivotGridConfiguratorAction, event?: React.SyntheticEvent) => void]>;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ export * from './PivotGridConfiguratorEditorEventsContext.js';
9
+ export * from './PivotGridConfiguratorEditorStateContext.js';
@@ -0,0 +1,54 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { AxisDescriptor, PivotDataItem, PivotGridField, Tuple } from '@progress/kendo-pivotgrid-common';
9
+ /**
10
+ * Generates suitable data for Charting visualization.
11
+ *
12
+ * @param rows - The PivotGrid's rows prop.
13
+ * @param columns - The PivotGrid's columns prop.
14
+ * @param data - The PivotGrid's data prop.
15
+ * @returns - Suitable data for Charting visualization.
16
+ */
17
+ export declare const dataCells: (rows?: Tuple[], columns?: Tuple[], data?: PivotDataItem[]) => {
18
+ row: string[];
19
+ cells: PivotDataItem[];
20
+ }[];
21
+ /**
22
+ * @hidden
23
+ */
24
+ export declare const recursiveMap: <I extends unknown, O extends unknown>(nodes?: I[], map?: {
25
+ [key: string]: Function;
26
+ }, parent?: null) => O[];
27
+ /**
28
+ * @hidden
29
+ */
30
+ export declare const flatMap: <T extends unknown>(nodes?: T[]) => T[];
31
+ /**
32
+ * @hidden
33
+ */
34
+ export declare const extractDefaultFields: (columns?: AxisDescriptor[]) => unknown[];
35
+ /**
36
+ * @hidden
37
+ */
38
+ export declare const generateKey: (args?: string[]) => string;
39
+ /**
40
+ * @hidden
41
+ */
42
+ export declare const generateDataKey: (rows: any, columns: any) => string;
43
+ /**
44
+ * @hidden
45
+ */
46
+ export declare const findFilter: (filter: any[] | undefined, member: any, operator?: any) => any;
47
+ /**
48
+ * @hidden
49
+ */
50
+ export declare const findFilters: (filter: any[] | undefined, member: any, operator?: any) => any;
51
+ /**
52
+ * @hidden
53
+ */
54
+ export declare const compareFields: (a: PivotGridField, b: PivotGridField) => boolean;