@progress/kendo-angular-inputs 19.1.1-develop.2 → 19.1.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/checkbox/checkbox.component.d.ts +15 -13
- package/checkbox/checkbox.directive.d.ts +8 -15
- package/checkbox/checked-state.d.ts +5 -1
- package/checkbox.module.d.ts +9 -20
- package/colorpicker/color-gradient.component.d.ts +26 -26
- package/colorpicker/color-input.component.d.ts +18 -18
- package/colorpicker/color-palette.component.d.ts +28 -29
- package/colorpicker/colorpicker.component.d.ts +53 -69
- package/colorpicker/events/active-color-click-event.d.ts +10 -14
- package/colorpicker/events/cancel-event.d.ts +1 -1
- package/colorpicker/events/close-event.d.ts +1 -1
- package/colorpicker/events/open-event.d.ts +1 -1
- package/colorpicker/flatcolorpicker.component.d.ts +26 -29
- package/colorpicker/localization/custom-messages.component.d.ts +9 -1
- package/colorpicker/localization/messages.d.ts +29 -29
- package/colorpicker/models/palette-settings.d.ts +0 -3
- package/colorpicker/models/tile-size.d.ts +6 -0
- package/colorpicker.module.d.ts +18 -2
- package/common/models/fillmode.d.ts +4 -1
- package/common/models/rounded.d.ts +8 -2
- package/common/models/size.d.ts +4 -1
- package/common/models/type.d.ts +3 -1
- package/common/radio-checkbox.base.d.ts +0 -7
- package/directives.d.ts +216 -18
- package/esm2022/checkbox/checkbox.component.mjs +15 -13
- package/esm2022/checkbox/checkbox.directive.mjs +8 -15
- package/esm2022/checkbox.module.mjs +9 -20
- package/esm2022/colorpicker/color-gradient.component.mjs +26 -26
- package/esm2022/colorpicker/color-input.component.mjs +21 -21
- package/esm2022/colorpicker/color-palette.component.mjs +28 -29
- package/esm2022/colorpicker/colorpicker.component.mjs +53 -69
- package/esm2022/colorpicker/events/active-color-click-event.mjs +10 -14
- package/esm2022/colorpicker/events/cancel-event.mjs +1 -1
- package/esm2022/colorpicker/events/close-event.mjs +1 -1
- package/esm2022/colorpicker/events/open-event.mjs +1 -1
- package/esm2022/colorpicker/flatcolorpicker.component.mjs +26 -29
- package/esm2022/colorpicker/localization/custom-messages.component.mjs +9 -1
- package/esm2022/colorpicker/localization/messages.mjs +29 -29
- package/esm2022/colorpicker.module.mjs +18 -2
- package/esm2022/common/radio-checkbox.base.mjs +0 -7
- package/esm2022/directives.mjs +216 -18
- package/esm2022/formfield/error.component.mjs +9 -6
- package/esm2022/formfield/formfield.component.mjs +24 -20
- package/esm2022/formfield/hint.component.mjs +8 -5
- package/esm2022/formfield.module.mjs +9 -20
- package/esm2022/index.mjs +1 -0
- package/esm2022/inputs.module.mjs +9 -21
- package/esm2022/maskedtextbox/maskedtextbox.component.mjs +46 -88
- package/esm2022/maskedtextbox.module.mjs +9 -20
- package/esm2022/numerictextbox/localization/custom-messages.component.mjs +13 -1
- package/esm2022/numerictextbox/localization/messages.mjs +2 -2
- package/esm2022/numerictextbox/numerictextbox.component.mjs +57 -70
- package/esm2022/numerictextbox.module.mjs +9 -20
- package/esm2022/otp.module.mjs +44 -0
- package/esm2022/otpinput/localization/custom-messages.component.mjs +3 -1
- package/esm2022/otpinput/otpinput.component.mjs +39 -42
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/radiobutton/radiobutton.component.mjs +15 -6
- package/esm2022/radiobutton/radiobutton.directive.mjs +6 -10
- package/esm2022/radiobutton.module.mjs +8 -18
- package/esm2022/rangeslider/localization/custom-messages.component.mjs +11 -1
- package/esm2022/rangeslider/rangeslider.component.mjs +12 -16
- package/esm2022/rangeslider.module.mjs +7 -18
- package/esm2022/rating/directives/rating-hovered-item.directive.mjs +11 -3
- package/esm2022/rating/directives/rating-item.directive.mjs +10 -3
- package/esm2022/rating/directives/rating-selected-item.directive.mjs +12 -3
- package/esm2022/rating/rating.component.mjs +23 -20
- package/esm2022/rating.module.mjs +7 -18
- package/esm2022/shared/input-separator.component.mjs +10 -15
- package/esm2022/shared/textarea.directive.mjs +5 -6
- package/esm2022/signature/events/close-event.mjs +1 -1
- package/esm2022/signature/localization/custom-messages.component.mjs +1 -1
- package/esm2022/signature/signature.component.mjs +52 -51
- package/esm2022/signature.module.mjs +7 -18
- package/esm2022/slider/localization/custom-messages.component.mjs +1 -1
- package/esm2022/slider/slider.component.mjs +18 -19
- package/esm2022/slider.module.mjs +7 -18
- package/esm2022/sliders-common/label-template.directive.mjs +9 -19
- package/esm2022/sliders-common/slider-base.mjs +47 -29
- package/esm2022/switch/events/blur-event.mjs +1 -1
- package/esm2022/switch/events/focus-event.mjs +1 -1
- package/esm2022/switch/localization/custom-messages.component.mjs +1 -1
- package/esm2022/switch/switch.component.mjs +32 -43
- package/esm2022/switch.module.mjs +7 -18
- package/esm2022/textarea/textarea-prefix.component.mjs +11 -13
- package/esm2022/textarea/textarea-suffix.component.mjs +11 -13
- package/esm2022/textarea/textarea.component.mjs +40 -103
- package/esm2022/textarea.module.mjs +7 -18
- package/esm2022/textbox/localization/custom-messages.component.mjs +1 -1
- package/esm2022/textbox/textbox-prefix.directive.mjs +9 -13
- package/esm2022/textbox/textbox-suffix.directive.mjs +10 -14
- package/esm2022/textbox/textbox.component.mjs +41 -112
- package/esm2022/textbox/textbox.directive.mjs +2 -2
- package/esm2022/textbox.module.mjs +7 -18
- package/fesm2022/progress-kendo-angular-inputs.mjs +1207 -1280
- package/formfield/error.component.d.ts +9 -6
- package/formfield/formfield.component.d.ts +24 -20
- package/formfield/hint.component.d.ts +8 -5
- package/formfield/models/message-align.d.ts +3 -1
- package/formfield/models/orientation.d.ts +3 -0
- package/formfield/models/show-options.d.ts +5 -7
- package/formfield.module.d.ts +9 -20
- package/index.d.ts +1 -0
- package/inputs.module.d.ts +9 -21
- package/maskedtextbox/maskedtextbox.component.d.ts +46 -88
- package/maskedtextbox.module.d.ts +9 -20
- package/numerictextbox/localization/custom-messages.component.d.ts +13 -1
- package/numerictextbox/localization/messages.d.ts +2 -2
- package/numerictextbox/numerictextbox.component.d.ts +57 -70
- package/numerictextbox.module.d.ts +9 -20
- package/otp.module.d.ts +32 -0
- package/otpinput/localization/custom-messages.component.d.ts +3 -1
- package/otpinput/models/otpinput-type.d.ts +2 -2
- package/otpinput/models/separator-icon.d.ts +8 -3
- package/otpinput/otpinput.component.d.ts +39 -42
- package/package.json +12 -12
- package/radiobutton/radiobutton.component.d.ts +15 -6
- package/radiobutton/radiobutton.directive.d.ts +6 -10
- package/radiobutton.module.d.ts +8 -18
- package/rangeslider/localization/custom-messages.component.d.ts +11 -1
- package/rangeslider/rangeslider-value.type.d.ts +2 -2
- package/rangeslider/rangeslider.component.d.ts +12 -16
- package/rangeslider.module.d.ts +7 -18
- package/rating/directives/rating-hovered-item.directive.d.ts +11 -3
- package/rating/directives/rating-item.directive.d.ts +10 -3
- package/rating/directives/rating-selected-item.directive.d.ts +12 -3
- package/rating/models/precision.d.ts +1 -2
- package/rating/models/selection.d.ts +1 -2
- package/rating/rating.component.d.ts +21 -18
- package/rating.module.d.ts +7 -18
- package/shared/input-separator.component.d.ts +10 -15
- package/shared/textarea.directive.d.ts +5 -6
- package/signature/events/close-event.d.ts +1 -1
- package/signature/localization/custom-messages.component.d.ts +1 -1
- package/signature/signature.component.d.ts +52 -51
- package/signature.module.d.ts +7 -18
- package/slider/localization/custom-messages.component.d.ts +1 -1
- package/slider/slider.component.d.ts +18 -19
- package/slider.module.d.ts +7 -18
- package/sliders-common/label-template.directive.d.ts +9 -19
- package/sliders-common/slider-base.d.ts +47 -29
- package/sliders-common/title-callback.d.ts +19 -3
- package/switch/events/blur-event.d.ts +1 -1
- package/switch/events/focus-event.d.ts +1 -1
- package/switch/localization/custom-messages.component.d.ts +1 -1
- package/switch/switch.component.d.ts +32 -43
- package/switch.module.d.ts +7 -18
- package/textarea/models/adornments-orientation.d.ts +3 -3
- package/textarea/models/flow.d.ts +3 -3
- package/textarea/models/resize.d.ts +6 -7
- package/textarea/textarea-prefix.component.d.ts +11 -13
- package/textarea/textarea-suffix.component.d.ts +11 -13
- package/textarea/textarea.component.d.ts +40 -103
- package/textarea.module.d.ts +7 -18
- package/textbox/localization/custom-messages.component.d.ts +1 -1
- package/textbox/textbox-prefix.directive.d.ts +9 -13
- package/textbox/textbox-suffix.directive.d.ts +10 -14
- package/textbox/textbox.component.d.ts +41 -112
- package/textbox/textbox.directive.d.ts +2 -2
- package/textbox.module.d.ts +7 -18
package/esm2022/directives.mjs
CHANGED
|
@@ -44,7 +44,18 @@ import { TextBoxDirective } from "./textbox/textbox.directive";
|
|
|
44
44
|
import { OTPInputComponent } from "./otpinput/otpinput.component";
|
|
45
45
|
import { OTPInputCustomMessagesComponent } from "./otpinput/localization/custom-messages.component";
|
|
46
46
|
/**
|
|
47
|
-
*
|
|
47
|
+
* Use the `KENDO_TEXTBOX` utility array to add all TextBox-related components and directives to a standalone Angular component.
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* ```typescript
|
|
51
|
+
* import { KENDO_TEXTBOX } from '@progress/kendo-angular-inputs';
|
|
52
|
+
* @Component({
|
|
53
|
+
* standalone: true,
|
|
54
|
+
* imports: [KENDO_TEXTBOX],
|
|
55
|
+
* template: `<kendo-textbox></kendo-textbox>`
|
|
56
|
+
* })
|
|
57
|
+
* export class MyComponent {}
|
|
58
|
+
* ```
|
|
48
59
|
*/
|
|
49
60
|
export const KENDO_TEXTBOX = [
|
|
50
61
|
TextBoxDirective,
|
|
@@ -58,7 +69,18 @@ export const KENDO_TEXTBOX = [
|
|
|
58
69
|
SeparatorComponent
|
|
59
70
|
];
|
|
60
71
|
/**
|
|
61
|
-
*
|
|
72
|
+
* Use the `KENDO_NUMERICTEXTBOX` utility array to add all NumericTextBox-related components and directives to a standalone Angular component.
|
|
73
|
+
*
|
|
74
|
+
* @example
|
|
75
|
+
* ```typescript
|
|
76
|
+
* import { KENDO_NUMERICTEXTBOX } from '@progress/kendo-angular-inputs';
|
|
77
|
+
* @Component({
|
|
78
|
+
* standalone: true,
|
|
79
|
+
* imports: [KENDO_NUMERICTEXTBOX],
|
|
80
|
+
* template: `<kendo-numerictextbox></kendo-numerictextbox>`
|
|
81
|
+
* })
|
|
82
|
+
* export class MyComponent {}
|
|
83
|
+
* ```
|
|
62
84
|
*/
|
|
63
85
|
export const KENDO_NUMERICTEXTBOX = [
|
|
64
86
|
NumericTextBoxComponent,
|
|
@@ -68,7 +90,18 @@ export const KENDO_NUMERICTEXTBOX = [
|
|
|
68
90
|
SeparatorComponent
|
|
69
91
|
];
|
|
70
92
|
/**
|
|
71
|
-
*
|
|
93
|
+
* Use the `KENDO_MASKEDTEXTBOX` utility array to add all MaskedTextBox-related components and directives to a standalone Angular component.
|
|
94
|
+
*
|
|
95
|
+
* @example
|
|
96
|
+
* ```typescript
|
|
97
|
+
* import { KENDO_MASKEDTEXTBOX } from '@progress/kendo-angular-inputs';
|
|
98
|
+
* @Component({
|
|
99
|
+
* standalone: true,
|
|
100
|
+
* imports: [KENDO_MASKEDTEXTBOX],
|
|
101
|
+
* template: `<kendo-maskedtextbox></kendo-maskedtextbox>`
|
|
102
|
+
* })
|
|
103
|
+
* export class MyComponent {}
|
|
104
|
+
* ```
|
|
72
105
|
*/
|
|
73
106
|
export const KENDO_MASKEDTEXTBOX = [
|
|
74
107
|
MaskedTextBoxComponent,
|
|
@@ -77,14 +110,36 @@ export const KENDO_MASKEDTEXTBOX = [
|
|
|
77
110
|
SeparatorComponent
|
|
78
111
|
];
|
|
79
112
|
/**
|
|
80
|
-
*
|
|
113
|
+
* Use the `KENDO_OTPINPUT` utility array to add all OTPInput-related components and directives to a standalone Angular component.
|
|
114
|
+
*
|
|
115
|
+
* @example
|
|
116
|
+
* ```typescript
|
|
117
|
+
* import { KENDO_OTPINPUT } from '@progress/kendo-angular-inputs';
|
|
118
|
+
* @Component({
|
|
119
|
+
* standalone: true,
|
|
120
|
+
* imports: [KENDO_OTPINPUT],
|
|
121
|
+
* template: `<kendo-otpinput></kendo-otpinput>`
|
|
122
|
+
* })
|
|
123
|
+
* export class MyComponent {}
|
|
124
|
+
* ```
|
|
81
125
|
*/
|
|
82
126
|
export const KENDO_OTPINPUT = [
|
|
83
127
|
OTPInputComponent,
|
|
84
128
|
OTPInputCustomMessagesComponent
|
|
85
129
|
];
|
|
86
130
|
/**
|
|
87
|
-
*
|
|
131
|
+
* Use the `KENDO_TEXTAREA` utility array to add all TextArea-related components and directives to a standalone Angular component.
|
|
132
|
+
*
|
|
133
|
+
* @example
|
|
134
|
+
* ```typescript
|
|
135
|
+
* import { KENDO_TEXTAREA } from '@progress/kendo-angular-inputs';
|
|
136
|
+
* @Component({
|
|
137
|
+
* standalone: true,
|
|
138
|
+
* imports: [KENDO_TEXTAREA],
|
|
139
|
+
* template: `<kendo-textarea></kendo-textarea>`
|
|
140
|
+
* })
|
|
141
|
+
* export class MyComponent {}
|
|
142
|
+
* ```
|
|
88
143
|
*/
|
|
89
144
|
export const KENDO_TEXTAREA = [
|
|
90
145
|
TextAreaComponent,
|
|
@@ -94,28 +149,72 @@ export const KENDO_TEXTAREA = [
|
|
|
94
149
|
SeparatorComponent
|
|
95
150
|
];
|
|
96
151
|
/**
|
|
97
|
-
*
|
|
152
|
+
* Use the `KENDO_CHECKBOX` utility array to add all CheckBox-related components and directives to a standalone Angular component.
|
|
153
|
+
*
|
|
154
|
+
* @example
|
|
155
|
+
* ```typescript
|
|
156
|
+
* import { KENDO_CHECKBOX } from '@progress/kendo-angular-inputs';
|
|
157
|
+
* @Component({
|
|
158
|
+
* standalone: true,
|
|
159
|
+
* imports: [KENDO_CHECKBOX],
|
|
160
|
+
* template: `<kendo-checkbox></kendo-checkbox>`
|
|
161
|
+
* })
|
|
162
|
+
* export class MyComponent {}
|
|
163
|
+
* ```
|
|
98
164
|
*/
|
|
99
165
|
export const KENDO_CHECKBOX = [
|
|
100
166
|
CheckBoxComponent,
|
|
101
167
|
CheckBoxDirective
|
|
102
168
|
];
|
|
103
169
|
/**
|
|
104
|
-
*
|
|
170
|
+
* Use the `KENDO_RADIOBUTTON` utility array to add all RadioButton-related components and directives to a standalone Angular component.
|
|
171
|
+
*
|
|
172
|
+
* @example
|
|
173
|
+
* ```typescript
|
|
174
|
+
* import { KENDO_RADIOBUTTON } from '@progress/kendo-angular-inputs';
|
|
175
|
+
* @Component({
|
|
176
|
+
* standalone: true,
|
|
177
|
+
* imports: [KENDO_RADIOBUTTON],
|
|
178
|
+
* template: `<kendo-radiobutton></kendo-radiobutton>`
|
|
179
|
+
* })
|
|
180
|
+
* export class MyComponent {}
|
|
181
|
+
* ```
|
|
105
182
|
*/
|
|
106
183
|
export const KENDO_RADIOBUTTON = [
|
|
107
184
|
RadioButtonComponent,
|
|
108
185
|
RadioButtonDirective
|
|
109
186
|
];
|
|
110
187
|
/**
|
|
111
|
-
*
|
|
188
|
+
* Use the `KENDO_SWITCH` utility array to add all Switch-related components and directives to a standalone Angular component.
|
|
189
|
+
*
|
|
190
|
+
* @example
|
|
191
|
+
* ```typescript
|
|
192
|
+
* import { KENDO_SWITCH } from '@progress/kendo-angular-inputs';
|
|
193
|
+
* @Component({
|
|
194
|
+
* standalone: true,
|
|
195
|
+
* imports: [KENDO_SWITCH],
|
|
196
|
+
* template: `<kendo-switch></kendo-switch>`
|
|
197
|
+
* })
|
|
198
|
+
* export class MyComponent {}
|
|
199
|
+
* ```
|
|
112
200
|
*/
|
|
113
201
|
export const KENDO_SWITCH = [
|
|
114
202
|
SwitchComponent,
|
|
115
203
|
SwitchCustomMessagesComponent
|
|
116
204
|
];
|
|
117
205
|
/**
|
|
118
|
-
*
|
|
206
|
+
* Use the `KENDO_FORMFIELD` utility array to add all FormField-related components and directives to a standalone Angular component.
|
|
207
|
+
*
|
|
208
|
+
* @example
|
|
209
|
+
* ```typescript
|
|
210
|
+
* import { KENDO_FORMFIELD } from '@progress/kendo-angular-inputs';
|
|
211
|
+
* @Component({
|
|
212
|
+
* standalone: true,
|
|
213
|
+
* imports: [KENDO_FORMFIELD],
|
|
214
|
+
* template: `<kendo-formfield></kendo-formfield>`
|
|
215
|
+
* })
|
|
216
|
+
* export class MyComponent {}
|
|
217
|
+
* ```
|
|
119
218
|
*/
|
|
120
219
|
export const KENDO_FORMFIELD = [
|
|
121
220
|
FormFieldComponent,
|
|
@@ -123,7 +222,18 @@ export const KENDO_FORMFIELD = [
|
|
|
123
222
|
ErrorComponent
|
|
124
223
|
];
|
|
125
224
|
/**
|
|
126
|
-
*
|
|
225
|
+
* Use the `KENDO_SLIDER` utility array to add all Slider-related components and directives to a standalone Angular component.
|
|
226
|
+
*
|
|
227
|
+
* @example
|
|
228
|
+
* ```typescript
|
|
229
|
+
* import { KENDO_SLIDER } from '@progress/kendo-angular-inputs';
|
|
230
|
+
* @Component({
|
|
231
|
+
* standalone: true,
|
|
232
|
+
* imports: [KENDO_SLIDER],
|
|
233
|
+
* template: `<kendo-slider></kendo-slider>`
|
|
234
|
+
* })
|
|
235
|
+
* export class MyComponent {}
|
|
236
|
+
* ```
|
|
127
237
|
*/
|
|
128
238
|
export const KENDO_SLIDER = [
|
|
129
239
|
SliderComponent,
|
|
@@ -131,7 +241,18 @@ export const KENDO_SLIDER = [
|
|
|
131
241
|
LabelTemplateDirective,
|
|
132
242
|
];
|
|
133
243
|
/**
|
|
134
|
-
*
|
|
244
|
+
* Use the `KENDO_RANGESLIDER` utility array to add all RangeSlider-related components and directives to a standalone Angular component.
|
|
245
|
+
*
|
|
246
|
+
* @example
|
|
247
|
+
* ```typescript
|
|
248
|
+
* import { KENDO_RANGESLIDER } from '@progress/kendo-angular-inputs';
|
|
249
|
+
* @Component({
|
|
250
|
+
* standalone: true,
|
|
251
|
+
* imports: [KENDO_RANGESLIDER],
|
|
252
|
+
* template: `<kendo-rangeslider></kendo-rangeslider>`
|
|
253
|
+
* })
|
|
254
|
+
* export class MyComponent {}
|
|
255
|
+
* ```
|
|
135
256
|
*/
|
|
136
257
|
export const KENDO_RANGESLIDER = [
|
|
137
258
|
RangeSliderComponent,
|
|
@@ -139,7 +260,18 @@ export const KENDO_RANGESLIDER = [
|
|
|
139
260
|
LabelTemplateDirective
|
|
140
261
|
];
|
|
141
262
|
/**
|
|
142
|
-
*
|
|
263
|
+
* Use the `KENDO_RATING` utility array to add all Rating-related components and directives to a standalone Angular component.
|
|
264
|
+
*
|
|
265
|
+
* @example
|
|
266
|
+
* ```typescript
|
|
267
|
+
* import { KENDO_RATING } from '@progress/kendo-angular-inputs';
|
|
268
|
+
* @Component({
|
|
269
|
+
* standalone: true,
|
|
270
|
+
* imports: [KENDO_RATING],
|
|
271
|
+
* template: `<kendo-rating></kendo-rating>`
|
|
272
|
+
* })
|
|
273
|
+
* export class MyComponent {}
|
|
274
|
+
* ```
|
|
143
275
|
*/
|
|
144
276
|
export const KENDO_RATING = [
|
|
145
277
|
RatingComponent,
|
|
@@ -148,42 +280,108 @@ export const KENDO_RATING = [
|
|
|
148
280
|
RatingSelectedItemTemplateDirective
|
|
149
281
|
];
|
|
150
282
|
/**
|
|
151
|
-
*
|
|
283
|
+
* Use the `KENDO_SIGNATURE` utility array to add all Signature-related components and directives to a standalone Angular component.
|
|
284
|
+
*
|
|
285
|
+
* @example
|
|
286
|
+
* ```typescript
|
|
287
|
+
* import { KENDO_SIGNATURE } from '@progress/kendo-angular-inputs';
|
|
288
|
+
* @Component({
|
|
289
|
+
* standalone: true,
|
|
290
|
+
* imports: [KENDO_SIGNATURE],
|
|
291
|
+
* template: `<kendo-signature></kendo-signature>`
|
|
292
|
+
* })
|
|
293
|
+
* export class MyComponent {}
|
|
294
|
+
* ```
|
|
152
295
|
*/
|
|
153
296
|
export const KENDO_SIGNATURE = [
|
|
154
297
|
SignatureComponent,
|
|
155
298
|
SignatureCustomMessagesComponent
|
|
156
299
|
];
|
|
157
300
|
/**
|
|
158
|
-
*
|
|
301
|
+
* Use the `KENDO_COLORPICKER` utility array to add all ColorPicker-related components and directives to a standalone Angular component.
|
|
302
|
+
*
|
|
303
|
+
* @example
|
|
304
|
+
* ```typescript
|
|
305
|
+
* import { KENDO_COLORPICKER } from '@progress/kendo-angular-inputs';
|
|
306
|
+
* @Component({
|
|
307
|
+
* standalone: true,
|
|
308
|
+
* imports: [KENDO_COLORPICKER],
|
|
309
|
+
* template: `<kendo-colorpicker></kendo-colorpicker>`
|
|
310
|
+
* })
|
|
311
|
+
* export class MyComponent {}
|
|
312
|
+
* ```
|
|
159
313
|
*/
|
|
160
314
|
export const KENDO_COLORPICKER = [
|
|
161
315
|
ColorPickerComponent,
|
|
162
316
|
ColorPickerCustomMessagesComponent
|
|
163
317
|
];
|
|
164
318
|
/**
|
|
165
|
-
*
|
|
319
|
+
* Use the `KENDO_FLATCOLORPICKER` utility array to add all FlatColorPicker-related components and directives to a standalone Angular component.
|
|
320
|
+
*
|
|
321
|
+
* @example
|
|
322
|
+
* ```typescript
|
|
323
|
+
* import { KENDO_FLATCOLORPICKER } from '@progress/kendo-angular-inputs';
|
|
324
|
+
* @Component({
|
|
325
|
+
* standalone: true,
|
|
326
|
+
* imports: [KENDO_FLATCOLORPICKER],
|
|
327
|
+
* template: `<kendo-flatcolorpicker></kendo-flatcolorpicker>`
|
|
328
|
+
* })
|
|
329
|
+
* export class MyComponent {}
|
|
330
|
+
* ```
|
|
166
331
|
*/
|
|
167
332
|
export const KENDO_FLATCOLORPICKER = [
|
|
168
333
|
FlatColorPickerComponent,
|
|
169
334
|
ColorPickerCustomMessagesComponent
|
|
170
335
|
];
|
|
171
336
|
/**
|
|
172
|
-
*
|
|
337
|
+
* Use the `KENDO_COLORPALETTE` utility array to add all ColorPalette-related components and directives to a standalone Angular component.
|
|
338
|
+
*
|
|
339
|
+
* @example
|
|
340
|
+
* ```typescript
|
|
341
|
+
* import { KENDO_COLORPALETTE } from '@progress/kendo-angular-inputs';
|
|
342
|
+
* @Component({
|
|
343
|
+
* standalone: true,
|
|
344
|
+
* imports: [KENDO_COLORPALETTE],
|
|
345
|
+
* template: `<kendo-colorpalette></kendo-colorpalette>`
|
|
346
|
+
* })
|
|
347
|
+
* export class MyComponent {}
|
|
348
|
+
* ```
|
|
173
349
|
*/
|
|
174
350
|
export const KENDO_COLORPALETTE = [
|
|
175
351
|
ColorPaletteComponent,
|
|
176
352
|
ColorPickerCustomMessagesComponent
|
|
177
353
|
];
|
|
178
354
|
/**
|
|
179
|
-
*
|
|
355
|
+
* Use the `KENDO_COLORGRADIENT` utility array to add all ColorGradient-related components and directives to a standalone Angular component.
|
|
356
|
+
*
|
|
357
|
+
* @example
|
|
358
|
+
* ```typescript
|
|
359
|
+
* import { KENDO_COLORGRADIENT } from '@progress/kendo-angular-inputs';
|
|
360
|
+
* @Component({
|
|
361
|
+
* standalone: true,
|
|
362
|
+
* imports: [KENDO_COLORGRADIENT],
|
|
363
|
+
* template: `<kendo-colorgradient></kendo-colorgradient>`
|
|
364
|
+
* })
|
|
365
|
+
* export class MyComponent {}
|
|
366
|
+
* ```
|
|
180
367
|
*/
|
|
181
368
|
export const KENDO_COLORGRADIENT = [
|
|
182
369
|
ColorGradientComponent,
|
|
183
370
|
ColorPickerCustomMessagesComponent
|
|
184
371
|
];
|
|
185
372
|
/**
|
|
186
|
-
*
|
|
373
|
+
* Use the `KENDO_INPUTS` utility array to add all `@progress/kendo-angular-inputs`-related components and directives to a standalone Angular component.
|
|
374
|
+
*
|
|
375
|
+
* @example
|
|
376
|
+
* ```typescript
|
|
377
|
+
* import { KENDO_INPUTS } from '@progress/kendo-angular-inputs';
|
|
378
|
+
* @Component({
|
|
379
|
+
* standalone: true,
|
|
380
|
+
* imports: [KENDO_INPUTS],
|
|
381
|
+
* template: `<kendo-textbox></kendo-textbox>`
|
|
382
|
+
* })
|
|
383
|
+
* export class MyComponent {}
|
|
384
|
+
* ```
|
|
187
385
|
*/
|
|
188
386
|
export const KENDO_INPUTS = [
|
|
189
387
|
...KENDO_TEXTBOX,
|
|
@@ -6,17 +6,20 @@ import { Component, HostBinding, Input } from '@angular/core';
|
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
let serial = 0;
|
|
8
8
|
/**
|
|
9
|
-
* Represents
|
|
10
|
-
* a Kendo
|
|
9
|
+
* Represents the Kendo UI FormError component.
|
|
10
|
+
* Displays an error message under a Kendo Angular component or native HTML form-bound component after validation.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```html
|
|
14
|
+
* <kendo-formerror>Error message here</kendo-formerror>
|
|
15
|
+
* ```
|
|
11
16
|
*/
|
|
12
17
|
export class ErrorComponent {
|
|
13
18
|
hostClass = true;
|
|
14
19
|
/**
|
|
15
|
-
*
|
|
20
|
+
* Sets the alignment of the error message.
|
|
16
21
|
*
|
|
17
|
-
*
|
|
18
|
-
* * (Default) `start`
|
|
19
|
-
* * `end`
|
|
22
|
+
* @default 'start'
|
|
20
23
|
*/
|
|
21
24
|
align = 'start';
|
|
22
25
|
/**
|
|
@@ -15,8 +15,22 @@ import { NgIf } from '@angular/common';
|
|
|
15
15
|
import * as i0 from "@angular/core";
|
|
16
16
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Represents the Kendo UI FormField component for Angular.
|
|
19
|
+
* Use this component to group form-bound controls (Kendo Angular components or native HTML controls).
|
|
19
20
|
* Applies styling and behavior rules.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```html
|
|
24
|
+
* <kendo-formfield>
|
|
25
|
+
* <kendo-label [for]="firstName"text="First Name"></kendo-label>
|
|
26
|
+
* <kendo-textbox formControlName="firstName" #firstName></kendo-textbox>
|
|
27
|
+
* <kendo-formhint>Enter your name.</kendo-formhint>
|
|
28
|
+
* <kendo-formerror>First name is required.</kendo-formerror>
|
|
29
|
+
* </kendo-formfield>
|
|
30
|
+
* ```
|
|
31
|
+
*
|
|
32
|
+
* @remarks
|
|
33
|
+
* Supported children components are: {@link ErrorComponent}, {@link HintComponent}, {@link TextBoxComponent}, {@link NumericTextBoxComponent}, {@link MaskedTextBoxComponent}, {@link TextAreaComponent}, {@link DatePickerComponent}, {@link DateTimePickerComponent}, {@link DateInputComponent}, {@link OTPInputComponent}.
|
|
20
34
|
*/
|
|
21
35
|
export class FormFieldComponent {
|
|
22
36
|
renderer;
|
|
@@ -54,35 +68,25 @@ export class FormFieldComponent {
|
|
|
54
68
|
errorChildren;
|
|
55
69
|
hintChildren;
|
|
56
70
|
/**
|
|
71
|
+
* Specifies when to show the hint messages:
|
|
72
|
+
* * `initial`—Shows hints when the form control is `valid` or `untouched` and `pristine`.
|
|
73
|
+
* * `always`—Always shows hints.
|
|
57
74
|
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
* The possible values are:
|
|
61
|
-
*
|
|
62
|
-
* * (Default) `initial`—Allows displaying hints when the form-bound component state is
|
|
63
|
-
* `valid` or `untouched` and `pristine`.
|
|
64
|
-
* * `always`—Allows full control over the visibility of the hints.
|
|
65
|
-
*
|
|
75
|
+
* @default 'initial'
|
|
66
76
|
*/
|
|
67
77
|
showHints = 'initial';
|
|
68
78
|
/**
|
|
69
79
|
* Specifies the layout orientation of the form field.
|
|
70
80
|
*
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
* * (Default) `vertical`
|
|
74
|
-
* * `horizontal`
|
|
81
|
+
* @default 'vertical'
|
|
75
82
|
*/
|
|
76
83
|
orientation = 'vertical';
|
|
77
84
|
/**
|
|
78
|
-
* Specifies when the
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
* * (Default) `initial`—Allows displaying errors when the form-bound component state is
|
|
83
|
-
* `invalid` and `touched` or `dirty`.
|
|
84
|
-
* * `always`—Allows full control over the visibility of the errors.
|
|
85
|
+
* Specifies when to show the error messages:
|
|
86
|
+
* * `initial`—Shows errors when the form control is `invalid` and `touched` or `dirty`.
|
|
87
|
+
* * `always`—Always shows errors.
|
|
85
88
|
*
|
|
89
|
+
* @default 'initial'
|
|
86
90
|
*/
|
|
87
91
|
showErrors = 'initial';
|
|
88
92
|
/**
|
|
@@ -6,15 +6,18 @@ import { Component, HostBinding, Input } from '@angular/core';
|
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
let serial = 0;
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Displays a hint message under a form-bound component.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```html
|
|
13
|
+
* <kendo-formhint>Hint message here</kendo-formhint>
|
|
14
|
+
* ```
|
|
10
15
|
*/
|
|
11
16
|
export class HintComponent {
|
|
12
17
|
/**
|
|
13
|
-
*
|
|
18
|
+
* Sets the alignment of the hint message.
|
|
14
19
|
*
|
|
15
|
-
*
|
|
16
|
-
* * (Default) `start`
|
|
17
|
-
* * `end`
|
|
20
|
+
* @default 'start'
|
|
18
21
|
*/
|
|
19
22
|
align = 'start';
|
|
20
23
|
/**
|
|
@@ -10,34 +10,23 @@ import * as i2 from "./formfield/hint.component";
|
|
|
10
10
|
import * as i3 from "./formfield/error.component";
|
|
11
11
|
//IMPORTANT: NgModule export kept for backwards compatibility
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
14
|
-
* definition for the FormField, Error and Hint components.
|
|
13
|
+
* Defines the [NgModule](link:site.data.urls.angular['ngmoduleapi']) for the FormField, Error, and Hint components.
|
|
15
14
|
*
|
|
16
|
-
*
|
|
15
|
+
* Use this module to add FormField, Error, and Hint features to your NgModule-based Angular application.
|
|
17
16
|
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```typescript
|
|
20
19
|
* import { FormFieldModule } from '@progress/kendo-angular-inputs';
|
|
21
|
-
*
|
|
22
|
-
* // The browser platform with a compiler
|
|
23
|
-
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
24
|
-
*
|
|
25
20
|
* import { NgModule } from '@angular/core';
|
|
26
|
-
*
|
|
27
|
-
* // Import the app component
|
|
21
|
+
* import { BrowserModule } from '@angular/platform-browser';
|
|
28
22
|
* import { AppComponent } from './app.component';
|
|
29
23
|
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
* bootstrap: [AppComponent]
|
|
24
|
+
* @NgModule({
|
|
25
|
+
* declarations: [AppComponent],
|
|
26
|
+
* imports: [BrowserModule, FormFieldModule],
|
|
27
|
+
* bootstrap: [AppComponent]
|
|
35
28
|
* })
|
|
36
29
|
* export class AppModule {}
|
|
37
|
-
*
|
|
38
|
-
* // Compile and launch the module
|
|
39
|
-
* platformBrowserDynamic().bootstrapModule(AppModule);
|
|
40
|
-
*
|
|
41
30
|
* ```
|
|
42
31
|
*/
|
|
43
32
|
export class FormFieldModule {
|
package/esm2022/index.mjs
CHANGED
|
@@ -17,6 +17,7 @@ export { SliderTicksComponent } from './sliders-common/slider-ticks.component';
|
|
|
17
17
|
export { SliderModule } from './slider.module';
|
|
18
18
|
export { RangeSliderModule } from './rangeslider.module';
|
|
19
19
|
export { SwitchModule } from './switch.module';
|
|
20
|
+
export { OTPInputModule } from './otp.module';
|
|
20
21
|
export { NumericTextBoxModule } from './numerictextbox.module';
|
|
21
22
|
export { MaskedTextBoxModule } from './maskedtextbox.module';
|
|
22
23
|
export { TextBoxModule } from './textbox.module';
|
|
@@ -53,35 +53,23 @@ import * as i40 from "./otpinput/otpinput.component";
|
|
|
53
53
|
import * as i41 from "./otpinput/localization/custom-messages.component";
|
|
54
54
|
//IMPORTANT: NgModule export kept for backwards compatibility
|
|
55
55
|
/**
|
|
56
|
-
*
|
|
57
|
-
* definition for the Inputs components.
|
|
56
|
+
* Defines the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) for the Inputs components.
|
|
58
57
|
*
|
|
59
|
-
*
|
|
58
|
+
* Use this module to import all Kendo UI for Angular Inputs components at once in your NgModule-based Angular application.
|
|
60
59
|
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
60
|
+
* @example
|
|
61
|
+
* ```typescript
|
|
63
62
|
* import { InputsModule } from '@progress/kendo-angular-inputs';
|
|
64
|
-
*
|
|
65
|
-
* // The browser platform with a compiler
|
|
66
|
-
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
67
|
-
* import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
68
|
-
*
|
|
69
63
|
* import { NgModule } from '@angular/core';
|
|
70
|
-
*
|
|
71
|
-
* // Import the app component
|
|
64
|
+
* import { BrowserModule } from '@angular/platform-browser';
|
|
72
65
|
* import { AppComponent } from './app.component';
|
|
73
66
|
*
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
*
|
|
78
|
-
* bootstrap: [AppComponent]
|
|
67
|
+
* @NgModule({
|
|
68
|
+
* declarations: [AppComponent],
|
|
69
|
+
* imports: [BrowserModule, InputsModule],
|
|
70
|
+
* bootstrap: [AppComponent]
|
|
79
71
|
* })
|
|
80
72
|
* export class AppModule {}
|
|
81
|
-
*
|
|
82
|
-
* // Compile and launch the module
|
|
83
|
-
* platformBrowserDynamic().bootstrapModule(AppModule);
|
|
84
|
-
*
|
|
85
73
|
* ```
|
|
86
74
|
*/
|
|
87
75
|
export class InputsModule {
|