@progress/kendo-angular-chart-wizard 16.6.3-develop.1 → 16.7.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/chart-wizard-state.d.ts +9 -2
- package/common/models.d.ts +20 -0
- package/esm2020/chart-wizard-state.mjs +27 -11
- package/esm2020/chart-wizard.component.mjs +14 -14
- package/esm2020/common/models.mjs +20 -1
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/property-pane/chart-tab.component.mjs +10 -13
- package/esm2020/property-pane/data-tab.component.mjs +7 -5
- package/esm2020/property-pane/form-field.component.mjs +6 -1
- package/esm2020/property-pane/format-tab.component.mjs +87 -51
- package/esm2020/state.service.mjs +2 -1
- package/fesm2015/progress-kendo-angular-chart-wizard.mjs +175 -98
- package/fesm2020/progress-kendo-angular-chart-wizard.mjs +173 -98
- package/package.json +16 -16
- package/property-pane/chart-tab.component.d.ts +0 -1
- package/property-pane/form-field.component.d.ts +2 -1
- package/property-pane/format-tab.component.d.ts +16 -5
- package/state.service.d.ts +0 -2
package/chart-wizard-state.d.ts
CHANGED
@@ -65,10 +65,13 @@ export declare const fontNames: {
|
|
65
65
|
/**
|
66
66
|
* @hidden
|
67
67
|
*/
|
68
|
-
export declare const rotations: {
|
68
|
+
export declare const rotations: ({
|
69
|
+
text: string;
|
70
|
+
value: string;
|
71
|
+
} | {
|
69
72
|
text: string;
|
70
73
|
value: number;
|
71
|
-
}[];
|
74
|
+
})[];
|
72
75
|
/**
|
73
76
|
* @hidden
|
74
77
|
*/
|
@@ -87,6 +90,10 @@ export declare const parseFont: (font?: string) => {
|
|
87
90
|
size: string;
|
88
91
|
name: string;
|
89
92
|
};
|
93
|
+
/**
|
94
|
+
* @hidden
|
95
|
+
*/
|
96
|
+
export declare const createInitialState: (data: ChartWizardDataRow[], seriesType: SeriesType, defaultState?: ChartWizardInitialState) => ChartWizardState;
|
90
97
|
/**
|
91
98
|
* @hidden
|
92
99
|
*/
|
package/common/models.d.ts
CHANGED
@@ -17,3 +17,23 @@ export interface ExportOptions {
|
|
17
17
|
* @hidden
|
18
18
|
*/
|
19
19
|
export declare type PanelType = 'Chart Area' | 'Legend' | 'Title' | 'Subtitle' | 'Value Axis' | 'Category Axis' | 'Series';
|
20
|
+
/**
|
21
|
+
* @hidden
|
22
|
+
*/
|
23
|
+
export declare const defaultAllSeriesItem: {
|
24
|
+
name: string;
|
25
|
+
};
|
26
|
+
/**
|
27
|
+
* @hidden
|
28
|
+
*/
|
29
|
+
export declare const defaultFormat: {
|
30
|
+
value: string;
|
31
|
+
text: string;
|
32
|
+
};
|
33
|
+
/**
|
34
|
+
* @hidden
|
35
|
+
*/
|
36
|
+
export declare const labelFormats: {
|
37
|
+
value: string;
|
38
|
+
text: string;
|
39
|
+
}[];
|
@@ -40,6 +40,7 @@ export const fontNames = [
|
|
40
40
|
* @hidden
|
41
41
|
*/
|
42
42
|
export const rotations = [
|
43
|
+
{ text: 'Auto', value: 'auto' },
|
43
44
|
{ text: '0°', value: 0 },
|
44
45
|
{ text: '45°', value: 45 },
|
45
46
|
{ text: '90°', value: 90 },
|
@@ -86,10 +87,11 @@ const axesDefinitions = {
|
|
86
87
|
],
|
87
88
|
pie: [
|
88
89
|
{ axisType: 'category', types: categoryTypes },
|
89
|
-
{ axisType: 'value', types: valueTypes },
|
90
|
+
{ axisType: 'value', types: valueTypes, count: 1 },
|
90
91
|
],
|
91
92
|
scatter: [
|
92
|
-
{ axisType: '
|
93
|
+
{ axisType: 'category', types: categoryTypes },
|
94
|
+
{ axisType: 'value', types: valueTypes }
|
93
95
|
]
|
94
96
|
};
|
95
97
|
const getFont = (font, size) => `${size || ''} ${font || ''}`.trim();
|
@@ -146,10 +148,11 @@ const emptyState = () => structuredClone({
|
|
146
148
|
series: [],
|
147
149
|
initialSeries: [],
|
148
150
|
categoryAxis: [],
|
149
|
-
valueAxis: [{ labels: { visible: true } }],
|
151
|
+
valueAxis: [{ labels: { visible: true, rotation: 'auto' } }],
|
150
152
|
area: {
|
151
153
|
margin: { left: undefined, right: undefined, top: undefined, bottom: undefined }
|
152
154
|
},
|
155
|
+
stack: false
|
153
156
|
});
|
154
157
|
const categoryValueChartState = (data, seriesType, options) => {
|
155
158
|
const state = emptyState();
|
@@ -183,7 +186,7 @@ const categoryValueChartState = (data, seriesType, options) => {
|
|
183
186
|
type: seriesType,
|
184
187
|
data: valuesResult,
|
185
188
|
stack: false,
|
186
|
-
labels: { visible:
|
189
|
+
labels: { visible: false },
|
187
190
|
...(seriesType === scatterType ? scatterSeries : {})
|
188
191
|
});
|
189
192
|
});
|
@@ -193,10 +196,10 @@ const categoryValueChartState = (data, seriesType, options) => {
|
|
193
196
|
state.initialSeries = structuredClone(state.series);
|
194
197
|
}
|
195
198
|
if (categories.length) {
|
196
|
-
state.categoryAxis = [{ categories, labels: { visible: true } }];
|
199
|
+
state.categoryAxis = [{ categories, labels: { visible: true, rotation: 'auto' } }];
|
197
200
|
state.categoryField = state.columns[catIndex];
|
198
201
|
}
|
199
|
-
state.legend = { visible: true };
|
202
|
+
state.legend = { visible: true, position: 'bottom' };
|
200
203
|
state.title = { text: null };
|
201
204
|
state.subtitle = { text: null };
|
202
205
|
return state;
|
@@ -256,6 +259,15 @@ const pieChartState = (data, seriesType, options) => {
|
|
256
259
|
state.initialSeries = structuredClone(state.series);
|
257
260
|
return state;
|
258
261
|
};
|
262
|
+
const hasValue = (value) => value !== undefined && value !== null;
|
263
|
+
/**
|
264
|
+
* @hidden
|
265
|
+
*/
|
266
|
+
export const createInitialState = (data, seriesType, defaultState) => {
|
267
|
+
const state = createState(data, defaultState?.seriesType || seriesType);
|
268
|
+
return typeof defaultState?.stack !== 'undefined' ?
|
269
|
+
updateState(state, ActionTypes.stacked, defaultState.stack) : state;
|
270
|
+
};
|
259
271
|
/**
|
260
272
|
* @hidden
|
261
273
|
*/
|
@@ -325,7 +337,7 @@ export const mergeStates = (state, newState) => {
|
|
325
337
|
newState.series[i].labels = state.series[i].labels;
|
326
338
|
}
|
327
339
|
}
|
328
|
-
if (state.series.every(s => s.labels?.visible)) {
|
340
|
+
if (state.series.every(s => s.labels?.visible) && isCategorical(newState.seriesType) && isCategorical(state.seriesType)) {
|
329
341
|
newState.series.forEach(s => {
|
330
342
|
s.labels = s.labels || {};
|
331
343
|
s.labels.visible = true;
|
@@ -455,9 +467,11 @@ export const updateState = (currentState, action, value) => {
|
|
455
467
|
case ActionTypes.categoryAxisLabelsColor:
|
456
468
|
state.categoryAxis = state.categoryAxis?.map(axis => ({ ...axis, labels: { ...axis.labels, color: value } }));
|
457
469
|
return state;
|
458
|
-
case ActionTypes.categoryAxisLabelsRotation:
|
459
|
-
|
470
|
+
case ActionTypes.categoryAxisLabelsRotation: {
|
471
|
+
const rotation = hasValue(value) ? value : 'auto';
|
472
|
+
state.categoryAxis = state.categoryAxis?.map(axis => ({ ...axis, labels: { ...axis.labels, rotation } }));
|
460
473
|
return state;
|
474
|
+
}
|
461
475
|
case ActionTypes.categoryAxisReverseOrder:
|
462
476
|
state.categoryAxis = state.categoryAxis?.map(axis => ({ ...axis, reverse: value }));
|
463
477
|
return state;
|
@@ -493,9 +507,11 @@ export const updateState = (currentState, action, value) => {
|
|
493
507
|
case ActionTypes.valueAxisLabelsColor:
|
494
508
|
state.valueAxis = state.valueAxis?.map(axis => ({ ...axis, labels: { ...axis.labels, color: value } }));
|
495
509
|
return state;
|
496
|
-
case ActionTypes.valueAxisLabelsRotation:
|
497
|
-
|
510
|
+
case ActionTypes.valueAxisLabelsRotation: {
|
511
|
+
const rotation = hasValue(value) ? value : 'auto';
|
512
|
+
state.valueAxis = state.valueAxis?.map(axis => ({ ...axis, labels: { ...axis.labels, rotation } }));
|
498
513
|
return state;
|
514
|
+
}
|
499
515
|
default:
|
500
516
|
return state;
|
501
517
|
}
|
@@ -218,7 +218,7 @@ ChartWizardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
218
218
|
color: axis.title?.color
|
219
219
|
}"
|
220
220
|
[labels]="{
|
221
|
-
rotation:
|
221
|
+
rotation: axis.labels?.rotation,
|
222
222
|
font: axis.labels?.font,
|
223
223
|
color: axis.labels?.color
|
224
224
|
}"
|
@@ -234,9 +234,10 @@ ChartWizardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
234
234
|
color: axis.title?.color
|
235
235
|
}"
|
236
236
|
[labels]="{
|
237
|
-
rotation:
|
237
|
+
rotation: axis.labels?.rotation,
|
238
238
|
font: axis.labels?.font,
|
239
|
-
color: axis.labels?.color
|
239
|
+
color: axis.labels?.color,
|
240
|
+
format: axis.labels?.format
|
240
241
|
}"
|
241
242
|
>
|
242
243
|
</kendo-chart-value-axis-item>
|
@@ -253,8 +254,7 @@ ChartWizardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
253
254
|
[name]="series.name"
|
254
255
|
[color]="series.color"
|
255
256
|
[labels]="{ visible: series.labels?.visible }"
|
256
|
-
[
|
257
|
-
[yField]="series.yField"
|
257
|
+
[width]="series.width"
|
258
258
|
>
|
259
259
|
</kendo-chart-series-item>
|
260
260
|
</kendo-chart-series>
|
@@ -268,7 +268,7 @@ ChartWizardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
268
268
|
color: axis.title?.color
|
269
269
|
}"
|
270
270
|
[labels]="{
|
271
|
-
rotation:
|
271
|
+
rotation: axis.labels?.rotation,
|
272
272
|
font: axis.labels?.font,
|
273
273
|
color: axis.labels?.color
|
274
274
|
}"
|
@@ -285,7 +285,7 @@ ChartWizardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
285
285
|
color: axis.title?.color
|
286
286
|
}"
|
287
287
|
[labels]="{
|
288
|
-
rotation:
|
288
|
+
rotation: axis.labels?.rotation,
|
289
289
|
font: axis.labels?.font,
|
290
290
|
color: axis.labels?.color
|
291
291
|
}"
|
@@ -394,7 +394,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
394
394
|
color: axis.title?.color
|
395
395
|
}"
|
396
396
|
[labels]="{
|
397
|
-
rotation:
|
397
|
+
rotation: axis.labels?.rotation,
|
398
398
|
font: axis.labels?.font,
|
399
399
|
color: axis.labels?.color
|
400
400
|
}"
|
@@ -410,9 +410,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
410
410
|
color: axis.title?.color
|
411
411
|
}"
|
412
412
|
[labels]="{
|
413
|
-
rotation:
|
413
|
+
rotation: axis.labels?.rotation,
|
414
414
|
font: axis.labels?.font,
|
415
|
-
color: axis.labels?.color
|
415
|
+
color: axis.labels?.color,
|
416
|
+
format: axis.labels?.format
|
416
417
|
}"
|
417
418
|
>
|
418
419
|
</kendo-chart-value-axis-item>
|
@@ -429,8 +430,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
429
430
|
[name]="series.name"
|
430
431
|
[color]="series.color"
|
431
432
|
[labels]="{ visible: series.labels?.visible }"
|
432
|
-
[
|
433
|
-
[yField]="series.yField"
|
433
|
+
[width]="series.width"
|
434
434
|
>
|
435
435
|
</kendo-chart-series-item>
|
436
436
|
</kendo-chart-series>
|
@@ -444,7 +444,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
444
444
|
color: axis.title?.color
|
445
445
|
}"
|
446
446
|
[labels]="{
|
447
|
-
rotation:
|
447
|
+
rotation: axis.labels?.rotation,
|
448
448
|
font: axis.labels?.font,
|
449
449
|
color: axis.labels?.color
|
450
450
|
}"
|
@@ -461,7 +461,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
461
461
|
color: axis.title?.color
|
462
462
|
}"
|
463
463
|
[labels]="{
|
464
|
-
rotation:
|
464
|
+
rotation: axis.labels?.rotation,
|
465
465
|
font: axis.labels?.font,
|
466
466
|
color: axis.labels?.color
|
467
467
|
}"
|
@@ -2,4 +2,23 @@
|
|
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
|
-
|
5
|
+
/**
|
6
|
+
* @hidden
|
7
|
+
*/
|
8
|
+
export const defaultAllSeriesItem = { name: 'All Series' };
|
9
|
+
/**
|
10
|
+
* @hidden
|
11
|
+
*/
|
12
|
+
export const defaultFormat = {
|
13
|
+
value: '',
|
14
|
+
text: 'Text'
|
15
|
+
};
|
16
|
+
/**
|
17
|
+
* @hidden
|
18
|
+
*/
|
19
|
+
export const labelFormats = [
|
20
|
+
defaultFormat,
|
21
|
+
{ value: 'n0', text: 'Number' },
|
22
|
+
{ value: 'c0', text: 'Currency' },
|
23
|
+
{ value: 'p0', text: 'Percent' }
|
24
|
+
];
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
9
9
|
name: '@progress/kendo-angular-chart-wizard',
|
10
10
|
productName: 'Kendo UI for Angular',
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
12
|
-
publishDate:
|
13
|
-
version: '16.
|
12
|
+
publishDate: 1723113566,
|
13
|
+
version: '16.7.0-develop.1',
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning',
|
15
15
|
};
|
@@ -32,9 +32,6 @@ export class ChartWizardPropertyPaneChartTabComponent {
|
|
32
32
|
this.chartLineStacked100Icon = chartLineStacked100Icon;
|
33
33
|
this.chartScatterIcon = chartScatterIcon;
|
34
34
|
}
|
35
|
-
isExpanded(type) {
|
36
|
-
return this.stateService.state.seriesType === type;
|
37
|
-
}
|
38
35
|
ngAfterViewChecked() {
|
39
36
|
this.localization.changes.subscribe(() => {
|
40
37
|
this.detectChanges();
|
@@ -49,7 +46,7 @@ export class ChartWizardPropertyPaneChartTabComponent {
|
|
49
46
|
}
|
50
47
|
ChartWizardPropertyPaneChartTabComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChartWizardPropertyPaneChartTabComponent, deps: [{ token: i1.StateService }, { token: i0.ChangeDetectorRef }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
51
48
|
ChartWizardPropertyPaneChartTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ChartWizardPropertyPaneChartTabComponent, isStandalone: true, selector: "kendo-chartwizard-property-pane-chart-tab", ngImport: i0, template: `
|
52
|
-
<kendo-expansionpanel title="Bar Chart" [expanded]="
|
49
|
+
<kendo-expansionpanel title="Bar Chart" [expanded]="true">
|
53
50
|
<div class="k-chart-types-wrapper">
|
54
51
|
<kendo-chartwizard-series-type-button
|
55
52
|
title="Bar"
|
@@ -74,7 +71,7 @@ ChartWizardPropertyPaneChartTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ min
|
|
74
71
|
</kendo-chartwizard-series-type-button>
|
75
72
|
</div>
|
76
73
|
</kendo-expansionpanel>
|
77
|
-
<kendo-expansionpanel title="Pie Chart" [expanded]="
|
74
|
+
<kendo-expansionpanel title="Pie Chart" [expanded]="true">
|
78
75
|
<div class="k-chart-types-wrapper">
|
79
76
|
<kendo-chartwizard-series-type-button
|
80
77
|
title="Pie"
|
@@ -85,7 +82,7 @@ ChartWizardPropertyPaneChartTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ min
|
|
85
82
|
</kendo-chartwizard-series-type-button>
|
86
83
|
</div>
|
87
84
|
</kendo-expansionpanel>
|
88
|
-
<kendo-expansionpanel title="Column Chart" [expanded]="
|
85
|
+
<kendo-expansionpanel title="Column Chart" [expanded]="true">
|
89
86
|
<div class="k-chart-types-wrapper">
|
90
87
|
<kendo-chartwizard-series-type-button
|
91
88
|
title="Column"
|
@@ -110,7 +107,7 @@ ChartWizardPropertyPaneChartTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ min
|
|
110
107
|
</kendo-chartwizard-series-type-button>
|
111
108
|
</div>
|
112
109
|
</kendo-expansionpanel>
|
113
|
-
<kendo-expansionpanel title="Line Chart" [expanded]="
|
110
|
+
<kendo-expansionpanel title="Line Chart" [expanded]="true">
|
114
111
|
<div class="k-chart-types-wrapper">
|
115
112
|
<kendo-chartwizard-series-type-button
|
116
113
|
title="Line"
|
@@ -135,7 +132,7 @@ ChartWizardPropertyPaneChartTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ min
|
|
135
132
|
</kendo-chartwizard-series-type-button>
|
136
133
|
</div>
|
137
134
|
</kendo-expansionpanel>
|
138
|
-
<kendo-expansionpanel title="Scatter Chart" [expanded]="
|
135
|
+
<kendo-expansionpanel title="Scatter Chart" [expanded]="true">
|
139
136
|
<div class="k-chart-types-wrapper">
|
140
137
|
<kendo-chartwizard-series-type-button
|
141
138
|
title="Scatter"
|
@@ -153,7 +150,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
153
150
|
selector: 'kendo-chartwizard-property-pane-chart-tab',
|
154
151
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
155
152
|
template: `
|
156
|
-
<kendo-expansionpanel title="Bar Chart" [expanded]="
|
153
|
+
<kendo-expansionpanel title="Bar Chart" [expanded]="true">
|
157
154
|
<div class="k-chart-types-wrapper">
|
158
155
|
<kendo-chartwizard-series-type-button
|
159
156
|
title="Bar"
|
@@ -178,7 +175,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
178
175
|
</kendo-chartwizard-series-type-button>
|
179
176
|
</div>
|
180
177
|
</kendo-expansionpanel>
|
181
|
-
<kendo-expansionpanel title="Pie Chart" [expanded]="
|
178
|
+
<kendo-expansionpanel title="Pie Chart" [expanded]="true">
|
182
179
|
<div class="k-chart-types-wrapper">
|
183
180
|
<kendo-chartwizard-series-type-button
|
184
181
|
title="Pie"
|
@@ -189,7 +186,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
189
186
|
</kendo-chartwizard-series-type-button>
|
190
187
|
</div>
|
191
188
|
</kendo-expansionpanel>
|
192
|
-
<kendo-expansionpanel title="Column Chart" [expanded]="
|
189
|
+
<kendo-expansionpanel title="Column Chart" [expanded]="true">
|
193
190
|
<div class="k-chart-types-wrapper">
|
194
191
|
<kendo-chartwizard-series-type-button
|
195
192
|
title="Column"
|
@@ -214,7 +211,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
214
211
|
</kendo-chartwizard-series-type-button>
|
215
212
|
</div>
|
216
213
|
</kendo-expansionpanel>
|
217
|
-
<kendo-expansionpanel title="Line Chart" [expanded]="
|
214
|
+
<kendo-expansionpanel title="Line Chart" [expanded]="true">
|
218
215
|
<div class="k-chart-types-wrapper">
|
219
216
|
<kendo-chartwizard-series-type-button
|
220
217
|
title="Line"
|
@@ -239,7 +236,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
239
236
|
</kendo-chartwizard-series-type-button>
|
240
237
|
</div>
|
241
238
|
</kendo-expansionpanel>
|
242
|
-
<kendo-expansionpanel title="Scatter Chart" [expanded]="
|
239
|
+
<kendo-expansionpanel title="Scatter Chart" [expanded]="true">
|
243
240
|
<div class="k-chart-types-wrapper">
|
244
241
|
<kendo-chartwizard-series-type-button
|
245
242
|
title="Scatter"
|
@@ -74,7 +74,6 @@ ChartWizardPropertyPaneFormatTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ mi
|
|
74
74
|
rounded="medium"
|
75
75
|
size="medium"
|
76
76
|
>
|
77
|
-
<ng-template kendoDropDownListValueTemplate> Current Item </ng-template>
|
78
77
|
</kendo-dropdownlist>
|
79
78
|
</fieldset>
|
80
79
|
<fieldset class="k-form-fieldset" *ngIf="isCategorical(stateService.seriesType)">
|
@@ -126,13 +125,15 @@ ChartWizardPropertyPaneFormatTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ mi
|
|
126
125
|
[data]="stateService.state.columns"
|
127
126
|
[value]="stateService.state.yField"
|
128
127
|
(valueChange)="updateState(valueAxisY, $event)"
|
128
|
+
fillMode="outline"
|
129
|
+
rounded="medium"
|
130
|
+
size="medium"
|
129
131
|
>
|
130
|
-
<ng-template kendoDropDownListValueTemplate> Current Item </ng-template>
|
131
132
|
</kendo-dropdownlist>
|
132
133
|
</fieldset>
|
133
134
|
</form>
|
134
135
|
</kendo-expansionpanel>
|
135
|
-
`, isInline: true, dependencies: [{ kind: "component", type: ExpansionPanelComponent, selector: "kendo-expansionpanel", inputs: ["title", "subtitle", "disabled", "expanded", "svgExpandIcon", "svgCollapseIcon", "expandIcon", "collapseIcon", "animation"], outputs: ["expandedChange", "action", "expand", "collapse"], exportAs: ["kendoExpansionPanel"] }, { kind: "component", type: DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "title", "subtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }, { kind: "directive", type:
|
136
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ExpansionPanelComponent, selector: "kendo-expansionpanel", inputs: ["title", "subtitle", "disabled", "expanded", "svgExpandIcon", "svgCollapseIcon", "expandIcon", "collapseIcon", "animation"], outputs: ["expandedChange", "action", "expand", "collapse"], exportAs: ["kendoExpansionPanel"] }, { kind: "component", type: DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "title", "subtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: GridComponent, selector: "kendo-grid", inputs: ["data", "pageSize", "height", "rowHeight", "detailRowHeight", "skip", "scrollable", "selectable", "sort", "size", "trackBy", "filter", "group", "virtualColumns", "filterable", "sortable", "pageable", "groupable", "rowReorderable", "navigable", "navigatable", "autoSize", "rowClass", "rowSticky", "rowSelected", "cellSelected", "resizable", "reorderable", "loading", "columnMenu", "hideHeader", "isDetailExpanded", "isGroupExpanded"], outputs: ["filterChange", "pageChange", "groupChange", "sortChange", "selectionChange", "rowReorder", "dataStateChange", "groupExpand", "groupCollapse", "detailExpand", "detailCollapse", "edit", "cancel", "save", "remove", "add", "cellClose", "cellClick", "pdfExport", "excelExport", "columnResize", "columnReorder", "columnVisibilityChange", "columnLockedChange", "columnStickyChange", "scrollBottom", "contentScroll"], exportAs: ["kendoGrid"] }, { kind: "directive", type: ReactiveEditingDirective, selector: "[kendoGridReactiveEditing]", inputs: ["kendoGridReactiveEditing"] }, { kind: "directive", type: DataBindingDirective, selector: "[kendoGridBinding]", inputs: ["skip", "sort", "filter", "pageSize", "group", "kendoGridBinding"], exportAs: ["kendoGridBinding"] }, { kind: "directive", type: ToolbarTemplateDirective, selector: "[kendoGridToolbarTemplate]", inputs: ["position"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: RowReorderColumnComponent, selector: "kendo-grid-rowreorder-column", inputs: ["dragHandleIcon", "dragHandleSVGIcon"] }, { kind: "component", type: ColumnComponent, selector: "kendo-grid-column", inputs: ["field", "format", "sortable", "groupable", "editor", "filter", "filterable", "editable"] }, { kind: "component", type: CommandColumnComponent, selector: "kendo-grid-command-column" }, { kind: "directive", type: CellTemplateDirective, selector: "[kendoGridCellTemplate]" }, { kind: "directive", type: GridToolbarFocusableDirective, selector: " [kendoGridToolbarFocusable], [kendoGridAddCommand], [kendoGridCancelCommand], [kendoGridEditCommand], [kendoGridRemoveCommand], [kendoGridSaveCommand], [kendoGridExcelCommand], [kendoGridPDFCommand] " }, { kind: "component", type: RemoveCommandDirective, selector: "[kendoGridRemoveCommand]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
136
137
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChartWizardPropertyPaneFormatTabComponent, decorators: [{
|
137
138
|
type: Component,
|
138
139
|
args: [{
|
@@ -153,7 +154,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
153
154
|
rounded="medium"
|
154
155
|
size="medium"
|
155
156
|
>
|
156
|
-
<ng-template kendoDropDownListValueTemplate> Current Item </ng-template>
|
157
157
|
</kendo-dropdownlist>
|
158
158
|
</fieldset>
|
159
159
|
<fieldset class="k-form-fieldset" *ngIf="isCategorical(stateService.seriesType)">
|
@@ -205,8 +205,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
205
205
|
[data]="stateService.state.columns"
|
206
206
|
[value]="stateService.state.yField"
|
207
207
|
(valueChange)="updateState(valueAxisY, $event)"
|
208
|
+
fillMode="outline"
|
209
|
+
rounded="medium"
|
210
|
+
size="medium"
|
208
211
|
>
|
209
|
-
<ng-template kendoDropDownListValueTemplate> Current Item </ng-template>
|
210
212
|
</kendo-dropdownlist>
|
211
213
|
</fieldset>
|
212
214
|
</form>
|
@@ -21,6 +21,7 @@ export class ChartWizardPropertyPaneFormFieldComponent {
|
|
21
21
|
this.colSpan = 1;
|
22
22
|
this.hasLabel = true;
|
23
23
|
this.isLabelInsideFormFieldWrap = false;
|
24
|
+
this.disabled = false;
|
24
25
|
this.valueChange = new EventEmitter();
|
25
26
|
this.formField = true;
|
26
27
|
}
|
@@ -48,7 +49,7 @@ export class ChartWizardPropertyPaneFormFieldComponent {
|
|
48
49
|
}
|
49
50
|
}
|
50
51
|
ChartWizardPropertyPaneFormFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChartWizardPropertyPaneFormFieldComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
51
|
-
ChartWizardPropertyPaneFormFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ChartWizardPropertyPaneFormFieldComponent, isStandalone: true, selector: "kendo-chartwizard-property-pane-form-field", inputs: { currentState: "currentState", action: "action", class: "class", inputType: "inputType", text: "text", data: "data", placeholder: "placeholder", colSpan: "colSpan", hasLabel: "hasLabel", isLabelInsideFormFieldWrap: "isLabelInsideFormFieldWrap", value: "value" }, outputs: { valueChange: "valueChange" }, host: { properties: { "class.k-form-field": "this.formField", "class.k-col-span-2": "this.isColSpan2" } }, viewQueries: [{ propertyName: "label", first: true, predicate: LabelComponent, descendants: true }, { propertyName: "numericTextBox", first: true, predicate: NumericTextBoxComponent, descendants: true }, { propertyName: "colorPicker", first: true, predicate: ColorPickerComponent, descendants: true }, { propertyName: "dropDownList", first: true, predicate: DropDownListComponent, descendants: true }, { propertyName: "textBox", first: true, predicate: TextBoxComponent, descendants: true }, { propertyName: "comboBox", first: true, predicate: ComboBoxComponent, descendants: true }, { propertyName: "checkBox", first: true, predicate: CheckBoxComponent, descendants: true }], ngImport: i0, template: `
|
52
|
+
ChartWizardPropertyPaneFormFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ChartWizardPropertyPaneFormFieldComponent, isStandalone: true, selector: "kendo-chartwizard-property-pane-form-field", inputs: { currentState: "currentState", action: "action", class: "class", inputType: "inputType", text: "text", data: "data", placeholder: "placeholder", colSpan: "colSpan", hasLabel: "hasLabel", isLabelInsideFormFieldWrap: "isLabelInsideFormFieldWrap", value: "value", disabled: "disabled" }, outputs: { valueChange: "valueChange" }, host: { properties: { "class.k-form-field": "this.formField", "class.k-col-span-2": "this.isColSpan2" } }, viewQueries: [{ propertyName: "label", first: true, predicate: LabelComponent, descendants: true }, { propertyName: "numericTextBox", first: true, predicate: NumericTextBoxComponent, descendants: true }, { propertyName: "colorPicker", first: true, predicate: ColorPickerComponent, descendants: true }, { propertyName: "dropDownList", first: true, predicate: DropDownListComponent, descendants: true }, { propertyName: "textBox", first: true, predicate: TextBoxComponent, descendants: true }, { propertyName: "comboBox", first: true, predicate: ComboBoxComponent, descendants: true }, { propertyName: "checkBox", first: true, predicate: CheckBoxComponent, descendants: true }], ngImport: i0, template: `
|
52
53
|
<kendo-label *ngIf="hasLabel && !isLabelInsideFormFieldWrap" class="k-form-label" [text]="text"></kendo-label>
|
53
54
|
<div class="k-form-field-wrap">
|
54
55
|
<kendo-label
|
@@ -69,6 +70,7 @@ ChartWizardPropertyPaneFormFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ mi
|
|
69
70
|
fillMode="outline"
|
70
71
|
rounded="medium"
|
71
72
|
[value]="value"
|
73
|
+
[disabled]="disabled"
|
72
74
|
(valueChange)="valueChange.emit($event)"
|
73
75
|
></kendo-colorpicker>
|
74
76
|
<kendo-dropdownlist
|
@@ -138,6 +140,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
138
140
|
fillMode="outline"
|
139
141
|
rounded="medium"
|
140
142
|
[value]="value"
|
143
|
+
[disabled]="disabled"
|
141
144
|
(valueChange)="valueChange.emit($event)"
|
142
145
|
></kendo-colorpicker>
|
143
146
|
<kendo-dropdownlist
|
@@ -215,6 +218,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
215
218
|
type: Input
|
216
219
|
}], value: [{
|
217
220
|
type: Input
|
221
|
+
}], disabled: [{
|
222
|
+
type: Input
|
218
223
|
}], valueChange: [{
|
219
224
|
type: Output
|
220
225
|
}], formField: [{
|