@progress/kendo-angular-chart-wizard 16.6.2 → 16.6.3-develop.2
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 +6 -0
- package/esm2020/chart-wizard-state.mjs +27 -11
- package/esm2020/chart-wizard.component.mjs +10 -12
- package/esm2020/common/models.mjs +4 -1
- package/esm2020/grid-integration/grid-chart-wizard.directive.mjs +3 -6
- package/esm2020/package-metadata.mjs +2 -2
- 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 +52 -19
- package/esm2020/series-type-button.component.mjs +2 -2
- package/esm2020/state.service.mjs +2 -1
- package/fesm2015/progress-kendo-angular-chart-wizard.mjs +115 -62
- package/fesm2020/progress-kendo-angular-chart-wizard.mjs +113 -59
- package/package.json +16 -16
- package/property-pane/form-field.component.d.ts +2 -1
- package/property-pane/format-tab.component.d.ts +10 -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,9 @@ 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
|
+
};
|
@@ -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,7 +234,7 @@ 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
239
|
color: axis.labels?.color
|
240
240
|
}"
|
@@ -253,8 +253,7 @@ ChartWizardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
253
253
|
[name]="series.name"
|
254
254
|
[color]="series.color"
|
255
255
|
[labels]="{ visible: series.labels?.visible }"
|
256
|
-
[
|
257
|
-
[yField]="series.yField"
|
256
|
+
[width]="series.width"
|
258
257
|
>
|
259
258
|
</kendo-chart-series-item>
|
260
259
|
</kendo-chart-series>
|
@@ -268,7 +267,7 @@ ChartWizardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
268
267
|
color: axis.title?.color
|
269
268
|
}"
|
270
269
|
[labels]="{
|
271
|
-
rotation:
|
270
|
+
rotation: axis.labels?.rotation,
|
272
271
|
font: axis.labels?.font,
|
273
272
|
color: axis.labels?.color
|
274
273
|
}"
|
@@ -285,7 +284,7 @@ ChartWizardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
285
284
|
color: axis.title?.color
|
286
285
|
}"
|
287
286
|
[labels]="{
|
288
|
-
rotation:
|
287
|
+
rotation: axis.labels?.rotation,
|
289
288
|
font: axis.labels?.font,
|
290
289
|
color: axis.labels?.color
|
291
290
|
}"
|
@@ -394,7 +393,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
394
393
|
color: axis.title?.color
|
395
394
|
}"
|
396
395
|
[labels]="{
|
397
|
-
rotation:
|
396
|
+
rotation: axis.labels?.rotation,
|
398
397
|
font: axis.labels?.font,
|
399
398
|
color: axis.labels?.color
|
400
399
|
}"
|
@@ -410,7 +409,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
410
409
|
color: axis.title?.color
|
411
410
|
}"
|
412
411
|
[labels]="{
|
413
|
-
rotation:
|
412
|
+
rotation: axis.labels?.rotation,
|
414
413
|
font: axis.labels?.font,
|
415
414
|
color: axis.labels?.color
|
416
415
|
}"
|
@@ -429,8 +428,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
429
428
|
[name]="series.name"
|
430
429
|
[color]="series.color"
|
431
430
|
[labels]="{ visible: series.labels?.visible }"
|
432
|
-
[
|
433
|
-
[yField]="series.yField"
|
431
|
+
[width]="series.width"
|
434
432
|
>
|
435
433
|
</kendo-chart-series-item>
|
436
434
|
</kendo-chart-series>
|
@@ -444,7 +442,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
444
442
|
color: axis.title?.color
|
445
443
|
}"
|
446
444
|
[labels]="{
|
447
|
-
rotation:
|
445
|
+
rotation: axis.labels?.rotation,
|
448
446
|
font: axis.labels?.font,
|
449
447
|
color: axis.labels?.color
|
450
448
|
}"
|
@@ -461,7 +459,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
461
459
|
color: axis.title?.color
|
462
460
|
}"
|
463
461
|
[labels]="{
|
464
|
-
rotation:
|
462
|
+
rotation: axis.labels?.rotation,
|
465
463
|
font: axis.labels?.font,
|
466
464
|
color: axis.labels?.color
|
467
465
|
}"
|
@@ -2,4 +2,7 @@
|
|
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' };
|
@@ -2,7 +2,7 @@
|
|
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 { Directive, EventEmitter, HostListener,
|
5
|
+
import { Directive, EventEmitter, HostListener, Input, Output } from "@angular/core";
|
6
6
|
import { GridComponent } from "@progress/kendo-angular-grid";
|
7
7
|
import { getWizardDataFromGridSelection } from "./get-wizard-data-from-grid-selection";
|
8
8
|
import * as i0 from "@angular/core";
|
@@ -44,7 +44,7 @@ export class ChartWizardGridBindingDirective {
|
|
44
44
|
this.chartWizardDataChange.emit(this.chartWizardData);
|
45
45
|
}
|
46
46
|
}
|
47
|
-
ChartWizardGridBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChartWizardGridBindingDirective, deps: [{ token: GridComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
47
|
+
ChartWizardGridBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChartWizardGridBindingDirective, deps: [{ token: i1.GridComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
48
48
|
ChartWizardGridBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ChartWizardGridBindingDirective, isStandalone: true, selector: "[kendoChartWizardGridBinding]", inputs: { chartWizardData: "chartWizardData", data: ["kendoGridBinding", "data"], selectionKey: ["kendoGridSelectBy", "selectionKey"], columnKey: "columnKey" }, outputs: { chartWizardDataChange: "chartWizardDataChange" }, host: { listeners: { "selectedKeysChange": "onSelectionChange($event)" } }, exportAs: ["kendoChartWizardGridBinding"], ngImport: i0 });
|
49
49
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChartWizardGridBindingDirective, decorators: [{
|
50
50
|
type: Directive,
|
@@ -53,10 +53,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
53
53
|
exportAs: 'kendoChartWizardGridBinding',
|
54
54
|
standalone: true
|
55
55
|
}]
|
56
|
-
}], ctorParameters: function () { return [{ type: i1.GridComponent,
|
57
|
-
type: Inject,
|
58
|
-
args: [GridComponent]
|
59
|
-
}] }]; }, propDecorators: { chartWizardData: [{
|
56
|
+
}], ctorParameters: function () { return [{ type: i1.GridComponent }]; }, propDecorators: { chartWizardData: [{
|
60
57
|
type: Input
|
61
58
|
}], chartWizardDataChange: [{
|
62
59
|
type: Output
|
@@ -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.6.2',
|
12
|
+
publishDate: 1723102230,
|
13
|
+
version: '16.6.3-develop.2',
|
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
|
};
|
@@ -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: [{
|