@progress/kendo-react-chart-wizard 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.
- package/ChartWizard.d.ts +15 -0
- package/ChartWizard.mjs +10 -10
- package/components/ChartComponent.d.ts +18 -0
- package/components/FormField.d.ts +19 -0
- package/components/FormFieldSet.d.ts +17 -0
- package/components/SeriesGrid.d.ts +18 -0
- package/components/SeriesGrid.mjs +3 -3
- package/components/SeriesGridCells.d.ts +54 -0
- package/components/SeriesTypeButton.d.ts +21 -0
- package/components/SeriesTypesWrap.d.ts +14 -0
- package/components/panels/BarChartPanel.d.ts +16 -0
- package/components/panels/CategoryAxisPanel.d.ts +16 -0
- package/components/panels/CategoryAxisPanel.mjs +13 -13
- package/components/panels/ChartAreaPanel.d.ts +16 -0
- package/components/panels/ColumnChartPanel.d.ts +16 -0
- package/components/panels/ConfigurationPanel.d.ts +16 -0
- package/components/panels/LegendPanel.d.ts +16 -0
- package/components/panels/LegendPanel.mjs +1 -1
- package/components/panels/LineChartPanel.d.ts +16 -0
- package/components/panels/PieChartPanel.d.ts +16 -0
- package/components/panels/ScatterChartPanel.d.ts +16 -0
- package/components/panels/SeriesPanel.d.ts +16 -0
- package/components/panels/SeriesPanel.mjs +3 -3
- package/components/panels/TitlePanel.d.ts +16 -0
- package/components/panels/TitlePanel.mjs +6 -6
- package/components/panels/ValueAxisPanel.d.ts +16 -0
- package/components/panels/ValueAxisPanel.mjs +1 -1
- package/dist/cdn/js/kendo-react-chart-wizard.js +1 -1
- package/grid-integration/get-grid-selected-rows.d.ts +36 -0
- package/grid-integration/get-wizard-data-from-grid-selection.d.ts +36 -0
- package/grid-integration/index.d.ts +9 -0
- package/index.d.mts +7 -237
- package/index.d.ts +7 -237
- package/messages.d.ts +551 -0
- package/package.json +14 -14
- package/types/ChartWizardHandle.d.ts +24 -0
- package/types/ChartWizardPanelProps.d.ts +15 -0
- package/types/ChartWizardProps.d.ts +47 -0
- package/types/export.d.ts +65 -0
- package/utils.d.ts +147 -0
|
@@ -0,0 +1,65 @@
|
|
|
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 { ImageExportOptions } from '@progress/kendo-drawing';
|
|
9
|
+
import { PDFOptions } from '@progress/kendo-drawing/pdf';
|
|
10
|
+
import { Chart } from '@progress/kendo-react-charts';
|
|
11
|
+
/**
|
|
12
|
+
* Sets the export options for the Chart Wizard.
|
|
13
|
+
*/
|
|
14
|
+
export interface ExportOptions {
|
|
15
|
+
/**
|
|
16
|
+
* Sets the filename for exported files.
|
|
17
|
+
*
|
|
18
|
+
* @default 'chart'
|
|
19
|
+
*/
|
|
20
|
+
fileName?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Configures PDF export options.
|
|
23
|
+
*
|
|
24
|
+
* @default { paperSize: 'A4', margin: '1cm' }
|
|
25
|
+
*/
|
|
26
|
+
pdf?: PDFOptions;
|
|
27
|
+
/**
|
|
28
|
+
* Configures image export options.
|
|
29
|
+
*
|
|
30
|
+
* @default { width: 800, height: 600 }
|
|
31
|
+
*/
|
|
32
|
+
image?: ImageExportOptions;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* @hidden
|
|
36
|
+
*/
|
|
37
|
+
export declare abstract class PreventableEvent {
|
|
38
|
+
private prevented;
|
|
39
|
+
/**
|
|
40
|
+
* Prevents the default action for a specific event.
|
|
41
|
+
* This action stops the source component from executing its built-in behavior that follows the event.
|
|
42
|
+
*/
|
|
43
|
+
preventDefault(): void;
|
|
44
|
+
/**
|
|
45
|
+
* Returns `true` if any of the event subscribers prevented the event.
|
|
46
|
+
*
|
|
47
|
+
* @returns - Returns `true` if you prevented the default action.
|
|
48
|
+
* Otherwise, returns `false`.
|
|
49
|
+
*/
|
|
50
|
+
isDefaultPrevented(): boolean;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Provides arguments for the `export` event on the Chart Wizard.
|
|
54
|
+
*/
|
|
55
|
+
export declare class ExportEvent extends PreventableEvent {
|
|
56
|
+
/**
|
|
57
|
+
* Gets the export options on the Chart Wizard.
|
|
58
|
+
*/
|
|
59
|
+
exportOptions: ExportOptions;
|
|
60
|
+
/**
|
|
61
|
+
* Gets the current Chart chart instance you want to export.
|
|
62
|
+
*/
|
|
63
|
+
chart: Chart;
|
|
64
|
+
constructor(chart: Chart, exportOptions: ExportOptions);
|
|
65
|
+
}
|
package/utils.d.ts
ADDED
|
@@ -0,0 +1,147 @@
|
|
|
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 { ChartWizardDataRow, ChartWizardSeriesType, ChartWizardState } from '@progress/kendo-charts';
|
|
9
|
+
import { SeriesStack } from '@progress/kendo-react-charts';
|
|
10
|
+
import { ExportEvent, ExportOptions } from './types/export.js';
|
|
11
|
+
import * as React from 'react';
|
|
12
|
+
/**
|
|
13
|
+
* @hidden
|
|
14
|
+
*/
|
|
15
|
+
export declare const stopPropagation: (event: React.KeyboardEvent<HTMLElement>) => void;
|
|
16
|
+
/**
|
|
17
|
+
* @hidden
|
|
18
|
+
*/
|
|
19
|
+
export declare const resolveExportOptions: (exportOptions?: ExportOptions) => {
|
|
20
|
+
fileName: string | undefined;
|
|
21
|
+
pdf: {
|
|
22
|
+
autoPrint?: boolean | undefined;
|
|
23
|
+
author?: string | undefined;
|
|
24
|
+
creator?: string | undefined;
|
|
25
|
+
date?: Date | undefined;
|
|
26
|
+
imgDPI?: number | undefined;
|
|
27
|
+
keywords?: string | undefined;
|
|
28
|
+
landscape?: boolean | undefined;
|
|
29
|
+
margin?: string | number | import('@progress/kendo-drawing/pdf').PageMargin | undefined;
|
|
30
|
+
multiPage?: boolean | undefined;
|
|
31
|
+
paperSize?: import('@progress/kendo-drawing/pdf').PaperSize | undefined;
|
|
32
|
+
producer?: string | undefined;
|
|
33
|
+
subject?: string | undefined;
|
|
34
|
+
title?: string | undefined;
|
|
35
|
+
};
|
|
36
|
+
image: {
|
|
37
|
+
height?: number | undefined;
|
|
38
|
+
width?: number | undefined;
|
|
39
|
+
cors?: string | undefined;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* @hidden
|
|
44
|
+
*/
|
|
45
|
+
export declare const handlePDFExport: (event: ExportEvent) => void;
|
|
46
|
+
/**
|
|
47
|
+
* @hidden
|
|
48
|
+
*/
|
|
49
|
+
export declare const handleSVGExport: (event: ExportEvent) => void;
|
|
50
|
+
/**
|
|
51
|
+
* @hidden
|
|
52
|
+
*/
|
|
53
|
+
export declare const handleImageExport: (event: ExportEvent) => void;
|
|
54
|
+
/**
|
|
55
|
+
* @hidden
|
|
56
|
+
*/
|
|
57
|
+
export declare const nullItem: {
|
|
58
|
+
value: null;
|
|
59
|
+
text: string;
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* @hidden
|
|
63
|
+
*/
|
|
64
|
+
export declare const itemRender: (li: any, itemProps: any) => any;
|
|
65
|
+
/**
|
|
66
|
+
* @hidden
|
|
67
|
+
*/
|
|
68
|
+
export declare const ensureValue: (fontSize: any) => boolean;
|
|
69
|
+
/**
|
|
70
|
+
* @hidden
|
|
71
|
+
*/
|
|
72
|
+
export declare const dropdownlistCommonProps: {
|
|
73
|
+
fillMode: "flat" | "solid" | "outline" | undefined;
|
|
74
|
+
popupSettings: {
|
|
75
|
+
animate: boolean;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* @hidden
|
|
80
|
+
*/
|
|
81
|
+
export declare const stackNormal: SeriesStack;
|
|
82
|
+
/**
|
|
83
|
+
* @hidden
|
|
84
|
+
*/
|
|
85
|
+
export declare const stack100: SeriesStack;
|
|
86
|
+
/**
|
|
87
|
+
* @hidden
|
|
88
|
+
*/
|
|
89
|
+
export declare const stackState: (state: ChartWizardState) => {
|
|
90
|
+
isStackFalse: boolean;
|
|
91
|
+
isStackNormal: boolean;
|
|
92
|
+
isStack100: boolean;
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* @hidden
|
|
96
|
+
*/
|
|
97
|
+
declare const fontSizes: {
|
|
98
|
+
text: string;
|
|
99
|
+
value: string;
|
|
100
|
+
}[];
|
|
101
|
+
/**
|
|
102
|
+
* @hidden
|
|
103
|
+
*/
|
|
104
|
+
declare const fontNames: {
|
|
105
|
+
text: string;
|
|
106
|
+
value: string;
|
|
107
|
+
style: {
|
|
108
|
+
fontFamily: string;
|
|
109
|
+
};
|
|
110
|
+
}[];
|
|
111
|
+
/**
|
|
112
|
+
* @hidden
|
|
113
|
+
*/
|
|
114
|
+
declare const createInitialState: (data: ChartWizardDataRow[], seriesType: ChartWizardSeriesType, defaultState?: import('@progress/kendo-charts').ChartWizardDefaultState | undefined) => ChartWizardState;
|
|
115
|
+
/**
|
|
116
|
+
* Creates a state object from the provided data and series type.
|
|
117
|
+
*
|
|
118
|
+
* @param data - Specifies the data you want to display in the ChartWizard component.
|
|
119
|
+
* @param seriesType - Sets the series type of the ChartWizard component.
|
|
120
|
+
* @returns The state object.
|
|
121
|
+
*/
|
|
122
|
+
declare const createState: (data: ChartWizardDataRow[], seriesType: ChartWizardSeriesType) => ChartWizardState;
|
|
123
|
+
/**
|
|
124
|
+
* @hidden
|
|
125
|
+
*/
|
|
126
|
+
declare const updateState: (currentState: ChartWizardState, action: import('@progress/kendo-charts').ActionTypes, value: any) => ChartWizardState;
|
|
127
|
+
/**
|
|
128
|
+
* @hidden
|
|
129
|
+
*/
|
|
130
|
+
declare const mergeStates: (sourceState: ChartWizardState, targetState: ChartWizardState) => ChartWizardState;
|
|
131
|
+
/**
|
|
132
|
+
* @hidden
|
|
133
|
+
*/
|
|
134
|
+
declare const isCategorical: (seriesType?: ChartWizardSeriesType | undefined) => boolean;
|
|
135
|
+
/**
|
|
136
|
+
* @hidden
|
|
137
|
+
*/
|
|
138
|
+
declare const parseFont: (font?: string | undefined) => {
|
|
139
|
+
name: string;
|
|
140
|
+
size: string;
|
|
141
|
+
};
|
|
142
|
+
/**
|
|
143
|
+
* @hidden
|
|
144
|
+
*/
|
|
145
|
+
declare const ActionTypes: typeof import('@progress/kendo-charts').ActionTypes;
|
|
146
|
+
declare const getWizardDataFromDataRows: (dataRows: import('@progress/kendo-charts').DataRow[]) => ChartWizardDataRow[];
|
|
147
|
+
export { fontSizes, fontNames, createInitialState, createState, updateState, mergeStates, isCategorical, parseFont, ActionTypes, getWizardDataFromDataRows };
|