@progress/kendo-angular-chart-wizard 16.9.0-develop.11 → 16.9.0-develop.13

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.
@@ -2,49 +2,8 @@
2
2
  * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- import { CategoryAxis, ChartArea, Legend, Series, SeriesStack, SeriesType, Subtitle, Title, ValueAxis, XAxis, YAxis } from "@progress/kendo-angular-charts";
6
- /**
7
- * Describes a single data cell for the Chart Wizard.
8
- */
9
- export interface ChartWizardDataCell {
10
- /**
11
- * The field name of the data cell.
12
- */
13
- field: string;
14
- /**
15
- * The value of the data cell.
16
- */
17
- value: any;
18
- }
19
- /**
20
- * Describes a data row for the Chart Wizard. The data row must be an array of [`ChartWizardDataCell`](slug:api_chart-wizard_chartwizarddatacell).
21
- */
22
- export declare type ChartWizardDataRow = ChartWizardDataCell[];
23
- export interface SeriesItem extends Series {
24
- id?: number;
25
- }
26
- export interface ChartWizardState {
27
- title?: Title;
28
- subtitle?: Subtitle;
29
- area?: ChartArea;
30
- categoryAxis: CategoryAxis[];
31
- valueAxis: ValueAxis[];
32
- series: SeriesItem[];
33
- initialSeries: SeriesItem[];
34
- xAxis?: XAxis[];
35
- yAxis?: YAxis[];
36
- legend?: Legend;
37
- columns: string[];
38
- data: ChartWizardDataRow[];
39
- seriesType?: SeriesType;
40
- categoryField?: string;
41
- valueField?: string;
42
- xField?: string;
43
- yField?: string;
44
- stack?: SeriesStack | boolean;
45
- }
46
- export interface ChartWizardInitialState extends Pick<ChartWizardState, 'stack' | 'seriesType'> {
47
- }
5
+ import { type ChartWizardDefaultState } from '@progress/kendo-charts';
6
+ export { type ChartWizardDataRow, type ChartWizardSeriesType } from '@progress/kendo-charts';
48
7
  /**
49
8
  * @hidden
50
9
  */
@@ -65,92 +24,46 @@ export declare const fontNames: {
65
24
  /**
66
25
  * @hidden
67
26
  */
68
- export declare const rotations: ({
69
- text: string;
70
- value: string;
71
- } | {
72
- text: string;
73
- value: number;
74
- })[];
27
+ export declare const createState: (data: import("@progress/kendo-charts").ChartWizardDataRow[], seriesType: import("@progress/kendo-charts").ChartWizardSeriesType) => import("@progress/kendo-charts").ChartWizardState;
75
28
  /**
76
29
  * @hidden
77
30
  */
78
- export declare const positions: {
79
- text: string;
80
- value: string;
81
- }[];
31
+ export declare const updateState: (currentState: import("@progress/kendo-charts").ChartWizardState, action: import("@progress/kendo-charts").ActionTypes, value: any) => import("@progress/kendo-charts").ChartWizardState;
82
32
  /**
83
33
  * @hidden
84
34
  */
85
- export declare const isCategorical: (type?: SeriesType) => boolean;
35
+ export declare const mergeStates: (state: import("@progress/kendo-charts").ChartWizardState, newState: import("@progress/kendo-charts").ChartWizardState) => import("@progress/kendo-charts").ChartWizardState;
86
36
  /**
87
37
  * @hidden
88
38
  */
89
- export declare const parseFont: (font?: string) => {
90
- size: string;
91
- name: string;
92
- };
93
- /**
94
- * @hidden
95
- */
96
- export declare const createInitialState: (data: ChartWizardDataRow[], seriesType: SeriesType, defaultState?: ChartWizardInitialState) => ChartWizardState;
39
+ export declare const isCategorical: (seriesType?: import("@progress/kendo-charts").ChartWizardSeriesType) => boolean;
97
40
  /**
98
41
  * @hidden
99
42
  */
100
- export declare const createState: (data: any[], seriesType: SeriesType) => ChartWizardState;
43
+ export declare const parseFont: (font?: string) => {
44
+ name: string;
45
+ size: string;
46
+ };
101
47
  /**
102
48
  * @hidden
103
49
  */
104
- export declare enum ActionTypes {
105
- seriesType = 0,
106
- stacked = 1,
107
- categoryAxisX = 2,
108
- valueAxisY = 3,
109
- seriesChange = 4,
110
- areaMarginLeft = 5,
111
- areaMarginRight = 6,
112
- areaMarginTop = 7,
113
- areaMarginBottom = 8,
114
- areaBackground = 9,
115
- titleText = 10,
116
- titleFontName = 11,
117
- titleFontSize = 12,
118
- titleColor = 13,
119
- subtitleText = 14,
120
- subtitleFontName = 15,
121
- subtitleFontSize = 16,
122
- subtitleColor = 17,
123
- seriesColor = 18,
124
- seriesLabel = 19,
125
- legendVisible = 20,
126
- legendFontName = 21,
127
- legendFontSize = 22,
128
- legendColor = 23,
129
- legendPosition = 24,
130
- categoryAxisTitleText = 25,
131
- categoryAxisTitleFontName = 26,
132
- categoryAxisTitleFontSize = 27,
133
- categoryAxisTitleColor = 28,
134
- categoryAxisLabelsFontName = 29,
135
- categoryAxisLabelsFontSize = 30,
136
- categoryAxisLabelsColor = 31,
137
- categoryAxisLabelsRotation = 32,
138
- categoryAxisReverseOrder = 33,
139
- valueAxisTitleText = 34,
140
- valueAxisTitleFontName = 35,
141
- valueAxisTitleFontSize = 36,
142
- valueAxisTitleColor = 37,
143
- valueAxisLabelsFormat = 38,
144
- valueAxisLabelsFontName = 39,
145
- valueAxisLabelsFontSize = 40,
146
- valueAxisLabelsColor = 41,
147
- valueAxisLabelsRotation = 42
50
+ export declare const ActionTypes: typeof import("@progress/kendo-charts").ActionTypes;
51
+ export interface ChartWizardInitialState extends ChartWizardDefaultState {
148
52
  }
149
53
  /**
150
54
  * @hidden
151
55
  */
152
- export declare const mergeStates: (state: ChartWizardState, newState: ChartWizardState) => ChartWizardState;
56
+ export declare const rotations: ({
57
+ text: string;
58
+ value: string;
59
+ } | {
60
+ text: string;
61
+ value: number;
62
+ })[];
153
63
  /**
154
64
  * @hidden
155
65
  */
156
- export declare const updateState: (currentState: ChartWizardState, action: ActionTypes, value: any) => ChartWizardState;
66
+ export declare const positions: {
67
+ text: string;
68
+ value: string;
69
+ }[];
@@ -7,6 +7,7 @@ import { LocalizationService } from '@progress/kendo-angular-l10n';
7
7
  import { ChartWizardDataRow, ChartWizardInitialState } from './chart-wizard-state';
8
8
  import { StateService } from './state.service';
9
9
  import { ChartComponent } from '@progress/kendo-angular-charts';
10
+ import { ChartWizardPropertyPaneDataTabComponent } from './property-pane/data-tab.component';
10
11
  import { ChartWizardPropertyPaneChartTabComponent } from './property-pane/chart-tab.component';
11
12
  import { ExportEvent } from './events';
12
13
  import { ExportOptions } from './common/models';
@@ -66,6 +67,10 @@ export declare class ChartWizardComponent implements OnChanges, OnDestroy {
66
67
  * @hidden
67
68
  */
68
69
  propertyPane: ChartWizardPropertyPaneChartTabComponent;
70
+ /**
71
+ * @hidden
72
+ */
73
+ dataTab: ChartWizardPropertyPaneDataTabComponent;
69
74
  private subscription;
70
75
  constructor(localization: LocalizationService, stateService: StateService);
71
76
  ngAfterViewInit(): void;
@@ -2,46 +2,5 @@
2
2
  * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- /**
6
- * Describes a single data cell for the Chart Wizard.
7
- */
8
- /**
9
- * @hidden
10
- */
11
- export interface ChartWizardDataCell {
12
- /**
13
- * The field name of the data cell.
14
- */
15
- field: string;
16
- /**
17
- * The value of the data cell.
18
- */
19
- value: any;
20
- }
21
- /**
22
- * Describes a data row for the Chart Wizard. The data row must be an array of [`ChartWizardDataCell`](slug:api_chart-wizard_chartwizarddatacell).
23
- */
24
- /**
25
- * @hidden
26
- */
27
- export declare type ChartWizardDataRow = ChartWizardDataCell[];
28
- /**
29
- * Represents a data column from a grid component or similar.
30
- */
31
- export interface DataColumn {
32
- field: string;
33
- title: string;
34
- }
35
- /**
36
- * Represents a data row from a grid component or similar.
37
- */
38
- export interface DataRow {
39
- dataItem: any;
40
- dataColumns: DataColumn[];
41
- }
42
- /**
43
- * Maps data rows to the Chart Wizard data format.
44
- *
45
- * @returns collection that can be used as Chart Wizard.
46
- */
47
- export declare function getWizardDataFromDataRows(dataRows: DataRow[]): ChartWizardDataRow[];
5
+ export { ChartWizardDataCell, ChartWizardDataRow, DataColumn, DataRow } from '@progress/kendo-charts';
6
+ export declare const getWizardDataFromDataRows: (dataRows: import("@progress/kendo-charts").DataRow[]) => import("@progress/kendo-charts").ChartWizardDataRow[];