@progress/kendo-angular-chart-wizard 21.1.1-develop.1 → 21.2.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/esm2022/chart-wizard.component.mjs +655 -636
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/property-pane/data-tab.component.mjs +149 -145
- package/esm2022/property-pane/form-field.component.mjs +123 -105
- package/esm2022/property-pane/format-tab.component.mjs +798 -792
- package/fesm2022/progress-kendo-angular-chart-wizard.mjs +1727 -1677
- package/package.json +17 -17
- package/schematics/ngAdd/index.js +4 -0
|
@@ -6,7 +6,6 @@ import { Component, HostBinding, Input, Output, ViewChild, EventEmitter, ChangeD
|
|
|
6
6
|
import { ComboBoxComponent, DropDownListComponent } from '@progress/kendo-angular-dropdowns';
|
|
7
7
|
import { CheckBoxComponent, ColorPickerComponent, NumericTextBoxComponent, TextBoxComponent } from '@progress/kendo-angular-inputs';
|
|
8
8
|
import { LabelComponent } from '@progress/kendo-angular-label';
|
|
9
|
-
import { NgIf } from '@angular/common';
|
|
10
9
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
11
10
|
import * as i0 from "@angular/core";
|
|
12
11
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
@@ -64,76 +63,86 @@ export class ChartWizardPropertyPaneFormFieldComponent {
|
|
|
64
63
|
}
|
|
65
64
|
}
|
|
66
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 });
|
|
67
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
68
|
-
|
|
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
|
+
}
|
|
69
70
|
<div class="k-form-field-wrap">
|
|
71
|
+
@if (hasLabel && isLabelInsideFormFieldWrap && inputType !== 'checkbox') {
|
|
70
72
|
<kendo-label
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
[text]="text"
|
|
73
|
+
class="k-form-label"
|
|
74
|
+
[text]="text"
|
|
74
75
|
></kendo-label>
|
|
76
|
+
}
|
|
77
|
+
@if (inputType === 'numeric') {
|
|
75
78
|
<kendo-numerictextbox
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
[placeholder]="placeholder"
|
|
79
|
+
fillMode="outline"
|
|
80
|
+
rounded="medium"
|
|
81
|
+
[value]="value"
|
|
82
|
+
(valueChange)="valueChange.emit($event)"
|
|
83
|
+
[placeholder]="placeholder"
|
|
82
84
|
></kendo-numerictextbox>
|
|
85
|
+
}
|
|
86
|
+
@if (inputType === 'colorPicker') {
|
|
83
87
|
<kendo-colorpicker
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
(valueChange)="valueChange.emit($event)"
|
|
88
|
+
fillMode="outline"
|
|
89
|
+
rounded="medium"
|
|
90
|
+
[value]="value"
|
|
91
|
+
[disabled]="disabled"
|
|
92
|
+
(valueChange)="valueChange.emit($event)"
|
|
90
93
|
></kendo-colorpicker>
|
|
94
|
+
}
|
|
95
|
+
@if (inputType === 'dropDownList') {
|
|
91
96
|
<kendo-dropdownlist
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
(valueChange)="valueChange.emit($event)"
|
|
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)"
|
|
102
106
|
></kendo-dropdownlist>
|
|
107
|
+
}
|
|
108
|
+
@if (inputType === 'comboBox') {
|
|
103
109
|
<kendo-combobox
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
(valueChange)="valueChange.emit($event)"
|
|
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)"
|
|
115
120
|
></kendo-combobox>
|
|
121
|
+
}
|
|
122
|
+
@if (inputType === 'text') {
|
|
116
123
|
<kendo-textbox
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
(valueChange)="valueChange.emit($event)"
|
|
124
|
+
fillMode="outline"
|
|
125
|
+
rounded="medium"
|
|
126
|
+
[placeholder]="placeholder"
|
|
127
|
+
[value]="value"
|
|
128
|
+
(valueChange)="valueChange.emit($event)"
|
|
123
129
|
></kendo-textbox>
|
|
130
|
+
}
|
|
131
|
+
@if (inputType === 'checkbox') {
|
|
124
132
|
<kendo-checkbox
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
(checkedStateChange)="valueChange.emit($event)"
|
|
133
|
+
class="k-checkbox-md k-rounded-md"
|
|
134
|
+
[checkedState]="value"
|
|
135
|
+
(checkedStateChange)="valueChange.emit($event)"
|
|
129
136
|
></kendo-checkbox>
|
|
137
|
+
}
|
|
138
|
+
@if (hasLabel && isLabelInsideFormFieldWrap && inputType === 'checkbox') {
|
|
130
139
|
<kendo-label
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
[text]="text"
|
|
140
|
+
class="k-checkbox-label"
|
|
141
|
+
[text]="text"
|
|
134
142
|
></kendo-label>
|
|
143
|
+
}
|
|
135
144
|
</div>
|
|
136
|
-
|
|
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 });
|
|
137
146
|
}
|
|
138
147
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ChartWizardPropertyPaneFormFieldComponent, decorators: [{
|
|
139
148
|
type: Component,
|
|
@@ -141,78 +150,87 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
|
|
|
141
150
|
selector: 'kendo-chartwizard-property-pane-form-field',
|
|
142
151
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
143
152
|
template: `
|
|
144
|
-
|
|
153
|
+
@if (hasLabel && !isLabelInsideFormFieldWrap && inputType !== 'checkbox') {
|
|
154
|
+
<kendo-label class="k-form-label" [text]="text"></kendo-label>
|
|
155
|
+
}
|
|
145
156
|
<div class="k-form-field-wrap">
|
|
157
|
+
@if (hasLabel && isLabelInsideFormFieldWrap && inputType !== 'checkbox') {
|
|
146
158
|
<kendo-label
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
[text]="text"
|
|
159
|
+
class="k-form-label"
|
|
160
|
+
[text]="text"
|
|
150
161
|
></kendo-label>
|
|
162
|
+
}
|
|
163
|
+
@if (inputType === 'numeric') {
|
|
151
164
|
<kendo-numerictextbox
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
[placeholder]="placeholder"
|
|
165
|
+
fillMode="outline"
|
|
166
|
+
rounded="medium"
|
|
167
|
+
[value]="value"
|
|
168
|
+
(valueChange)="valueChange.emit($event)"
|
|
169
|
+
[placeholder]="placeholder"
|
|
158
170
|
></kendo-numerictextbox>
|
|
171
|
+
}
|
|
172
|
+
@if (inputType === 'colorPicker') {
|
|
159
173
|
<kendo-colorpicker
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
(valueChange)="valueChange.emit($event)"
|
|
174
|
+
fillMode="outline"
|
|
175
|
+
rounded="medium"
|
|
176
|
+
[value]="value"
|
|
177
|
+
[disabled]="disabled"
|
|
178
|
+
(valueChange)="valueChange.emit($event)"
|
|
166
179
|
></kendo-colorpicker>
|
|
180
|
+
}
|
|
181
|
+
@if (inputType === 'dropDownList') {
|
|
167
182
|
<kendo-dropdownlist
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
(valueChange)="valueChange.emit($event)"
|
|
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)"
|
|
178
192
|
></kendo-dropdownlist>
|
|
193
|
+
}
|
|
194
|
+
@if (inputType === 'comboBox') {
|
|
179
195
|
<kendo-combobox
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
(valueChange)="valueChange.emit($event)"
|
|
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)"
|
|
191
206
|
></kendo-combobox>
|
|
207
|
+
}
|
|
208
|
+
@if (inputType === 'text') {
|
|
192
209
|
<kendo-textbox
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
(valueChange)="valueChange.emit($event)"
|
|
210
|
+
fillMode="outline"
|
|
211
|
+
rounded="medium"
|
|
212
|
+
[placeholder]="placeholder"
|
|
213
|
+
[value]="value"
|
|
214
|
+
(valueChange)="valueChange.emit($event)"
|
|
199
215
|
></kendo-textbox>
|
|
216
|
+
}
|
|
217
|
+
@if (inputType === 'checkbox') {
|
|
200
218
|
<kendo-checkbox
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
(checkedStateChange)="valueChange.emit($event)"
|
|
219
|
+
class="k-checkbox-md k-rounded-md"
|
|
220
|
+
[checkedState]="value"
|
|
221
|
+
(checkedStateChange)="valueChange.emit($event)"
|
|
205
222
|
></kendo-checkbox>
|
|
223
|
+
}
|
|
224
|
+
@if (hasLabel && isLabelInsideFormFieldWrap && inputType === 'checkbox') {
|
|
206
225
|
<kendo-label
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
[text]="text"
|
|
226
|
+
class="k-checkbox-label"
|
|
227
|
+
[text]="text"
|
|
210
228
|
></kendo-label>
|
|
229
|
+
}
|
|
211
230
|
</div>
|
|
212
|
-
|
|
231
|
+
`,
|
|
213
232
|
standalone: true,
|
|
214
233
|
imports: [
|
|
215
|
-
NgIf,
|
|
216
234
|
LabelComponent,
|
|
217
235
|
NumericTextBoxComponent,
|
|
218
236
|
ColorPickerComponent,
|