@progress/kendo-angular-chart-wizard 21.4.1 → 22.0.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/fesm2022/progress-kendo-angular-chart-wizard.mjs +44 -44
- package/localization/messages.d.ts +1 -1
- package/package.json +21 -29
- package/esm2022/chart-wizard-state.mjs +0 -57
- package/esm2022/chart-wizard.component.mjs +0 -1237
- package/esm2022/chart-wizard.module.mjs +0 -67
- package/esm2022/common/get-wizard-data-from-data-rows.mjs +0 -6
- package/esm2022/common/index.mjs +0 -5
- package/esm2022/common/models.mjs +0 -24
- package/esm2022/common/window-settings.mjs +0 -5
- package/esm2022/directives.mjs +0 -34
- package/esm2022/events/export-event.mjs +0 -37
- package/esm2022/events/index.mjs +0 -5
- package/esm2022/events/preventable-event.mjs +0 -28
- package/esm2022/grid-integration/get-grid-selected-rows.mjs +0 -50
- package/esm2022/grid-integration/get-wizard-data-from-grid-selection.mjs +0 -13
- package/esm2022/grid-integration/grid-chart-wizard.directive.mjs +0 -95
- package/esm2022/grid-integration/index.mjs +0 -7
- package/esm2022/index.mjs +0 -12
- package/esm2022/localization/chartwizard-localization.service.mjs +0 -31
- package/esm2022/localization/custom-messages.component.mjs +0 -52
- package/esm2022/localization/localized-messages.directive.mjs +0 -39
- package/esm2022/localization/messages.mjs +0 -657
- package/esm2022/package-metadata.mjs +0 -16
- package/esm2022/progress-kendo-angular-chart-wizard.mjs +0 -8
- package/esm2022/property-pane/chart-tab.component.mjs +0 -260
- package/esm2022/property-pane/data-tab.component.mjs +0 -270
- package/esm2022/property-pane/form-field.component.mjs +0 -296
- package/esm2022/property-pane/format-tab.component.mjs +0 -1032
- package/esm2022/series-type-button.component.mjs +0 -71
- package/esm2022/state.service.mjs +0 -36
|
@@ -1,296 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Component, HostBinding, Input, Output, ViewChild, EventEmitter, ChangeDetectionStrategy, ChangeDetectorRef } from '@angular/core';
|
|
6
|
-
import { ComboBoxComponent, DropDownListComponent } from '@progress/kendo-angular-dropdowns';
|
|
7
|
-
import { CheckBoxComponent, ColorPickerComponent, NumericTextBoxComponent, TextBoxComponent } from '@progress/kendo-angular-inputs';
|
|
8
|
-
import { LabelComponent } from '@progress/kendo-angular-label';
|
|
9
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
import * as i1 from "@progress/kendo-angular-l10n";
|
|
12
|
-
/**
|
|
13
|
-
* @hidden
|
|
14
|
-
*/
|
|
15
|
-
export class ChartWizardPropertyPaneFormFieldComponent {
|
|
16
|
-
localization;
|
|
17
|
-
cdr;
|
|
18
|
-
currentState;
|
|
19
|
-
action;
|
|
20
|
-
class;
|
|
21
|
-
inputType;
|
|
22
|
-
text;
|
|
23
|
-
data;
|
|
24
|
-
placeholder;
|
|
25
|
-
colSpan = 1;
|
|
26
|
-
hasLabel = true;
|
|
27
|
-
isLabelInsideFormFieldWrap = false;
|
|
28
|
-
value;
|
|
29
|
-
disabled = false;
|
|
30
|
-
valueChange = new EventEmitter();
|
|
31
|
-
formField = true;
|
|
32
|
-
get isColSpan2() {
|
|
33
|
-
return this.colSpan === 2;
|
|
34
|
-
}
|
|
35
|
-
label;
|
|
36
|
-
numericTextBox;
|
|
37
|
-
colorPicker;
|
|
38
|
-
dropDownList;
|
|
39
|
-
textBox;
|
|
40
|
-
comboBox;
|
|
41
|
-
checkBox;
|
|
42
|
-
constructor(localization, cdr) {
|
|
43
|
-
this.localization = localization;
|
|
44
|
-
this.cdr = cdr;
|
|
45
|
-
}
|
|
46
|
-
ngAfterViewChecked() {
|
|
47
|
-
this.localization.changes.subscribe(() => {
|
|
48
|
-
this.cdr.detectChanges();
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
ngOnDestroy() {
|
|
52
|
-
this.localization.changes.unsubscribe();
|
|
53
|
-
}
|
|
54
|
-
ngAfterViewInit() {
|
|
55
|
-
if (this.hasLabel) {
|
|
56
|
-
this.label.for =
|
|
57
|
-
this.numericTextBox ||
|
|
58
|
-
this.colorPicker ||
|
|
59
|
-
this.dropDownList ||
|
|
60
|
-
this.textBox ||
|
|
61
|
-
this.comboBox ||
|
|
62
|
-
this.checkBox;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChartWizardPropertyPaneFormFieldComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
66
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", 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: `
|
|
67
|
-
@if (hasLabel && !isLabelInsideFormFieldWrap && inputType !== 'checkbox') {
|
|
68
|
-
<kendo-label class="k-form-label" [text]="text"></kendo-label>
|
|
69
|
-
}
|
|
70
|
-
<div class="k-form-field-wrap">
|
|
71
|
-
@if (hasLabel && isLabelInsideFormFieldWrap && inputType !== 'checkbox') {
|
|
72
|
-
<kendo-label
|
|
73
|
-
class="k-form-label"
|
|
74
|
-
[text]="text"
|
|
75
|
-
></kendo-label>
|
|
76
|
-
}
|
|
77
|
-
@if (inputType === 'numeric') {
|
|
78
|
-
<kendo-numerictextbox
|
|
79
|
-
fillMode="outline"
|
|
80
|
-
rounded="medium"
|
|
81
|
-
[value]="value"
|
|
82
|
-
(valueChange)="valueChange.emit($event)"
|
|
83
|
-
[placeholder]="placeholder"
|
|
84
|
-
></kendo-numerictextbox>
|
|
85
|
-
}
|
|
86
|
-
@if (inputType === 'colorPicker') {
|
|
87
|
-
<kendo-colorpicker
|
|
88
|
-
fillMode="outline"
|
|
89
|
-
rounded="medium"
|
|
90
|
-
[value]="value"
|
|
91
|
-
[disabled]="disabled"
|
|
92
|
-
(valueChange)="valueChange.emit($event)"
|
|
93
|
-
></kendo-colorpicker>
|
|
94
|
-
}
|
|
95
|
-
@if (inputType === 'dropDownList') {
|
|
96
|
-
<kendo-dropdownlist
|
|
97
|
-
[data]="data"
|
|
98
|
-
textField="text"
|
|
99
|
-
valueField="value"
|
|
100
|
-
[valuePrimitive]="true"
|
|
101
|
-
fillMode="outline"
|
|
102
|
-
rounded="medium"
|
|
103
|
-
size="medium"
|
|
104
|
-
[value]="value"
|
|
105
|
-
(valueChange)="valueChange.emit($event)"
|
|
106
|
-
></kendo-dropdownlist>
|
|
107
|
-
}
|
|
108
|
-
@if (inputType === 'comboBox') {
|
|
109
|
-
<kendo-combobox
|
|
110
|
-
[data]="data"
|
|
111
|
-
[value]="value"
|
|
112
|
-
textField="text"
|
|
113
|
-
valueField="value"
|
|
114
|
-
[valuePrimitive]="true"
|
|
115
|
-
fillMode="outline"
|
|
116
|
-
rounded="medium"
|
|
117
|
-
size="medium"
|
|
118
|
-
[placeholder]="placeholder"
|
|
119
|
-
(valueChange)="valueChange.emit($event)"
|
|
120
|
-
></kendo-combobox>
|
|
121
|
-
}
|
|
122
|
-
@if (inputType === 'text') {
|
|
123
|
-
<kendo-textbox
|
|
124
|
-
fillMode="outline"
|
|
125
|
-
rounded="medium"
|
|
126
|
-
[placeholder]="placeholder"
|
|
127
|
-
[value]="value"
|
|
128
|
-
(valueChange)="valueChange.emit($event)"
|
|
129
|
-
></kendo-textbox>
|
|
130
|
-
}
|
|
131
|
-
@if (inputType === 'checkbox') {
|
|
132
|
-
<kendo-checkbox
|
|
133
|
-
class="k-checkbox-md k-rounded-md"
|
|
134
|
-
[checkedState]="value"
|
|
135
|
-
(checkedStateChange)="valueChange.emit($event)"
|
|
136
|
-
></kendo-checkbox>
|
|
137
|
-
}
|
|
138
|
-
@if (hasLabel && isLabelInsideFormFieldWrap && inputType === 'checkbox') {
|
|
139
|
-
<kendo-label
|
|
140
|
-
class="k-checkbox-label"
|
|
141
|
-
[text]="text"
|
|
142
|
-
></kendo-label>
|
|
143
|
-
}
|
|
144
|
-
</div>
|
|
145
|
-
`, isInline: true, dependencies: [{ kind: "component", type: LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional", "labelCssStyle", "labelCssClass"], exportAs: ["kendoLabel"] }, { kind: "component", type: NumericTextBoxComponent, selector: "kendo-numerictextbox", inputs: ["focusableId", "disabled", "readonly", "title", "autoCorrect", "format", "max", "min", "decimals", "placeholder", "step", "spinners", "rangeValidation", "tabindex", "tabIndex", "changeValueOnScroll", "selectOnFocus", "value", "maxlength", "size", "rounded", "fillMode", "inputAttributes"], outputs: ["valueChange", "focus", "blur", "inputFocus", "inputBlur"], exportAs: ["kendoNumericTextBox"] }, { kind: "component", type: ColorPickerComponent, selector: "kendo-colorpicker", inputs: ["views", "view", "adaptiveMode", "activeView", "readonly", "disabled", "format", "value", "popupSettings", "paletteSettings", "gradientSettings", "icon", "iconClass", "svgIcon", "adaptiveTitle", "adaptiveSubtitle", "clearButton", "tabindex", "preview", "actionsLayout", "size", "rounded", "fillMode"], outputs: ["valueChange", "open", "close", "focus", "blur", "cancel", "activeColorClick", "clearButtonClick", "activeViewChange"], exportAs: ["kendoColorPicker"] }, { kind: "component", type: DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "adaptiveTitle", "adaptiveSubtitle", "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: "component", type: ComboBoxComponent, selector: "kendo-combobox", inputs: ["icon", "svgIcon", "inputAttributes", "showStickyHeader", "focusableId", "allowCustom", "data", "value", "textField", "valueField", "valuePrimitive", "valueNormalizer", "placeholder", "adaptiveMode", "adaptiveTitle", "adaptiveSubtitle", "popupSettings", "listHeight", "loading", "suggest", "clearButton", "disabled", "itemDisabled", "readonly", "tabindex", "tabIndex", "filterable", "virtual", "size", "rounded", "fillMode"], outputs: ["valueChange", "selectionChange", "filterChange", "open", "opened", "close", "closed", "focus", "blur", "inputFocus", "inputBlur", "escape"], exportAs: ["kendoComboBox"] }, { kind: "component", type: TextBoxComponent, selector: "kendo-textbox", inputs: ["focusableId", "title", "type", "disabled", "readonly", "tabindex", "value", "selectOnFocus", "showSuccessIcon", "showErrorIcon", "clearButton", "successIcon", "successSvgIcon", "errorIcon", "errorSvgIcon", "clearButtonIcon", "clearButtonSvgIcon", "size", "rounded", "fillMode", "tabIndex", "placeholder", "maxlength", "inputAttributes"], outputs: ["valueChange", "inputFocus", "inputBlur", "focus", "blur"], exportAs: ["kendoTextBox"] }, { kind: "component", type: CheckBoxComponent, selector: "kendo-checkbox", inputs: ["checkedState", "rounded"], outputs: ["checkedStateChange"], exportAs: ["kendoCheckBox"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
146
|
-
}
|
|
147
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChartWizardPropertyPaneFormFieldComponent, decorators: [{
|
|
148
|
-
type: Component,
|
|
149
|
-
args: [{
|
|
150
|
-
selector: 'kendo-chartwizard-property-pane-form-field',
|
|
151
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
152
|
-
template: `
|
|
153
|
-
@if (hasLabel && !isLabelInsideFormFieldWrap && inputType !== 'checkbox') {
|
|
154
|
-
<kendo-label class="k-form-label" [text]="text"></kendo-label>
|
|
155
|
-
}
|
|
156
|
-
<div class="k-form-field-wrap">
|
|
157
|
-
@if (hasLabel && isLabelInsideFormFieldWrap && inputType !== 'checkbox') {
|
|
158
|
-
<kendo-label
|
|
159
|
-
class="k-form-label"
|
|
160
|
-
[text]="text"
|
|
161
|
-
></kendo-label>
|
|
162
|
-
}
|
|
163
|
-
@if (inputType === 'numeric') {
|
|
164
|
-
<kendo-numerictextbox
|
|
165
|
-
fillMode="outline"
|
|
166
|
-
rounded="medium"
|
|
167
|
-
[value]="value"
|
|
168
|
-
(valueChange)="valueChange.emit($event)"
|
|
169
|
-
[placeholder]="placeholder"
|
|
170
|
-
></kendo-numerictextbox>
|
|
171
|
-
}
|
|
172
|
-
@if (inputType === 'colorPicker') {
|
|
173
|
-
<kendo-colorpicker
|
|
174
|
-
fillMode="outline"
|
|
175
|
-
rounded="medium"
|
|
176
|
-
[value]="value"
|
|
177
|
-
[disabled]="disabled"
|
|
178
|
-
(valueChange)="valueChange.emit($event)"
|
|
179
|
-
></kendo-colorpicker>
|
|
180
|
-
}
|
|
181
|
-
@if (inputType === 'dropDownList') {
|
|
182
|
-
<kendo-dropdownlist
|
|
183
|
-
[data]="data"
|
|
184
|
-
textField="text"
|
|
185
|
-
valueField="value"
|
|
186
|
-
[valuePrimitive]="true"
|
|
187
|
-
fillMode="outline"
|
|
188
|
-
rounded="medium"
|
|
189
|
-
size="medium"
|
|
190
|
-
[value]="value"
|
|
191
|
-
(valueChange)="valueChange.emit($event)"
|
|
192
|
-
></kendo-dropdownlist>
|
|
193
|
-
}
|
|
194
|
-
@if (inputType === 'comboBox') {
|
|
195
|
-
<kendo-combobox
|
|
196
|
-
[data]="data"
|
|
197
|
-
[value]="value"
|
|
198
|
-
textField="text"
|
|
199
|
-
valueField="value"
|
|
200
|
-
[valuePrimitive]="true"
|
|
201
|
-
fillMode="outline"
|
|
202
|
-
rounded="medium"
|
|
203
|
-
size="medium"
|
|
204
|
-
[placeholder]="placeholder"
|
|
205
|
-
(valueChange)="valueChange.emit($event)"
|
|
206
|
-
></kendo-combobox>
|
|
207
|
-
}
|
|
208
|
-
@if (inputType === 'text') {
|
|
209
|
-
<kendo-textbox
|
|
210
|
-
fillMode="outline"
|
|
211
|
-
rounded="medium"
|
|
212
|
-
[placeholder]="placeholder"
|
|
213
|
-
[value]="value"
|
|
214
|
-
(valueChange)="valueChange.emit($event)"
|
|
215
|
-
></kendo-textbox>
|
|
216
|
-
}
|
|
217
|
-
@if (inputType === 'checkbox') {
|
|
218
|
-
<kendo-checkbox
|
|
219
|
-
class="k-checkbox-md k-rounded-md"
|
|
220
|
-
[checkedState]="value"
|
|
221
|
-
(checkedStateChange)="valueChange.emit($event)"
|
|
222
|
-
></kendo-checkbox>
|
|
223
|
-
}
|
|
224
|
-
@if (hasLabel && isLabelInsideFormFieldWrap && inputType === 'checkbox') {
|
|
225
|
-
<kendo-label
|
|
226
|
-
class="k-checkbox-label"
|
|
227
|
-
[text]="text"
|
|
228
|
-
></kendo-label>
|
|
229
|
-
}
|
|
230
|
-
</div>
|
|
231
|
-
`,
|
|
232
|
-
standalone: true,
|
|
233
|
-
imports: [
|
|
234
|
-
LabelComponent,
|
|
235
|
-
NumericTextBoxComponent,
|
|
236
|
-
ColorPickerComponent,
|
|
237
|
-
DropDownListComponent,
|
|
238
|
-
ComboBoxComponent,
|
|
239
|
-
TextBoxComponent,
|
|
240
|
-
CheckBoxComponent
|
|
241
|
-
]
|
|
242
|
-
}]
|
|
243
|
-
}], ctorParameters: () => [{ type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }], propDecorators: { currentState: [{
|
|
244
|
-
type: Input
|
|
245
|
-
}], action: [{
|
|
246
|
-
type: Input
|
|
247
|
-
}], class: [{
|
|
248
|
-
type: Input
|
|
249
|
-
}], inputType: [{
|
|
250
|
-
type: Input
|
|
251
|
-
}], text: [{
|
|
252
|
-
type: Input
|
|
253
|
-
}], data: [{
|
|
254
|
-
type: Input
|
|
255
|
-
}], placeholder: [{
|
|
256
|
-
type: Input
|
|
257
|
-
}], colSpan: [{
|
|
258
|
-
type: Input
|
|
259
|
-
}], hasLabel: [{
|
|
260
|
-
type: Input
|
|
261
|
-
}], isLabelInsideFormFieldWrap: [{
|
|
262
|
-
type: Input
|
|
263
|
-
}], value: [{
|
|
264
|
-
type: Input
|
|
265
|
-
}], disabled: [{
|
|
266
|
-
type: Input
|
|
267
|
-
}], valueChange: [{
|
|
268
|
-
type: Output
|
|
269
|
-
}], formField: [{
|
|
270
|
-
type: HostBinding,
|
|
271
|
-
args: ['class.k-form-field']
|
|
272
|
-
}], isColSpan2: [{
|
|
273
|
-
type: HostBinding,
|
|
274
|
-
args: ['class.k-col-span-2']
|
|
275
|
-
}], label: [{
|
|
276
|
-
type: ViewChild,
|
|
277
|
-
args: [LabelComponent]
|
|
278
|
-
}], numericTextBox: [{
|
|
279
|
-
type: ViewChild,
|
|
280
|
-
args: [NumericTextBoxComponent]
|
|
281
|
-
}], colorPicker: [{
|
|
282
|
-
type: ViewChild,
|
|
283
|
-
args: [ColorPickerComponent]
|
|
284
|
-
}], dropDownList: [{
|
|
285
|
-
type: ViewChild,
|
|
286
|
-
args: [DropDownListComponent]
|
|
287
|
-
}], textBox: [{
|
|
288
|
-
type: ViewChild,
|
|
289
|
-
args: [TextBoxComponent]
|
|
290
|
-
}], comboBox: [{
|
|
291
|
-
type: ViewChild,
|
|
292
|
-
args: [ComboBoxComponent]
|
|
293
|
-
}], checkBox: [{
|
|
294
|
-
type: ViewChild,
|
|
295
|
-
args: [CheckBoxComponent]
|
|
296
|
-
}] } });
|