@progress/kendo-angular-inputs 18.1.0-develop.2 → 18.1.0-develop.21

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.
Files changed (51) hide show
  1. package/colorpicker/adaptiveness/adaptive-close-button.component.d.ts +20 -0
  2. package/colorpicker/adaptiveness/adaptive-renderer.component.d.ts +38 -0
  3. package/colorpicker/color-gradient-text-label.directive.d.ts +19 -0
  4. package/colorpicker/color-gradient.component.d.ts +19 -1
  5. package/colorpicker/color-input.component.d.ts +15 -3
  6. package/colorpicker/color-palette.component.d.ts +16 -6
  7. package/colorpicker/colorpicker.component.d.ts +55 -8
  8. package/colorpicker/flatcolorpicker-actions.component.d.ts +3 -1
  9. package/colorpicker/flatcolorpicker-header.component.d.ts +3 -1
  10. package/colorpicker/flatcolorpicker.component.d.ts +19 -1
  11. package/colorpicker/localization/messages.d.ts +9 -1
  12. package/colorpicker/models/adaptive-mode.d.ts +23 -0
  13. package/common/utils.d.ts +4 -0
  14. package/directives.d.ts +7 -1
  15. package/esm2022/colorpicker/adaptiveness/adaptive-close-button.component.mjs +62 -0
  16. package/esm2022/colorpicker/adaptiveness/adaptive-renderer.component.mjs +205 -0
  17. package/esm2022/colorpicker/color-gradient-text-label.directive.mjs +34 -0
  18. package/esm2022/colorpicker/color-gradient.component.mjs +75 -17
  19. package/esm2022/colorpicker/color-input.component.mjs +56 -23
  20. package/esm2022/colorpicker/color-palette.component.mjs +45 -15
  21. package/esm2022/colorpicker/colorpicker.component.mjs +182 -41
  22. package/esm2022/colorpicker/flatcolorpicker-actions.component.mjs +22 -7
  23. package/esm2022/colorpicker/flatcolorpicker-header.component.mjs +8 -3
  24. package/esm2022/colorpicker/flatcolorpicker.component.mjs +72 -17
  25. package/esm2022/colorpicker/localization/messages.mjs +13 -1
  26. package/esm2022/colorpicker/models/adaptive-mode.mjs +27 -0
  27. package/esm2022/colorpicker/services/flatcolorpicker.service.mjs +3 -3
  28. package/esm2022/colorpicker.module.mjs +3 -2
  29. package/esm2022/common/utils.mjs +4 -0
  30. package/esm2022/directives.mjs +10 -0
  31. package/esm2022/index.mjs +3 -0
  32. package/esm2022/inputs.module.mjs +6 -3
  33. package/esm2022/otpinput/localization/custom-messages.component.mjs +43 -0
  34. package/esm2022/otpinput/localization/localized-textbox-messages.directive.mjs +39 -0
  35. package/esm2022/otpinput/localization/messages.mjs +34 -0
  36. package/esm2022/otpinput/models/otpinput-type.mjs +5 -0
  37. package/esm2022/otpinput/models/separator-icon.mjs +5 -0
  38. package/esm2022/otpinput/otpinput-separator.component.mjs +83 -0
  39. package/esm2022/otpinput/otpinput.component.mjs +930 -0
  40. package/esm2022/package-metadata.mjs +2 -2
  41. package/fesm2022/progress-kendo-angular-inputs.mjs +2694 -956
  42. package/index.d.ts +4 -0
  43. package/inputs.module.d.ts +3 -1
  44. package/otpinput/localization/custom-messages.component.d.ts +17 -0
  45. package/otpinput/localization/localized-textbox-messages.directive.d.ts +16 -0
  46. package/otpinput/localization/messages.d.ts +24 -0
  47. package/otpinput/models/otpinput-type.d.ts +10 -0
  48. package/otpinput/models/separator-icon.d.ts +12 -0
  49. package/otpinput/otpinput-separator.component.d.ts +25 -0
  50. package/otpinput/otpinput.component.d.ts +284 -0
  51. package/package.json +12 -10
package/index.d.ts CHANGED
@@ -90,4 +90,8 @@ export { RatingComponent } from './rating/rating.component';
90
90
  export { RatingModule } from './rating.module';
91
91
  export { RatingPrecision } from './rating/models/precision';
92
92
  export { RatingSelectionMode } from './rating/models/selection';
93
+ export { OTPInputComponent } from './otpinput/otpinput.component';
94
+ export { OTPInputCustomMessagesComponent } from './otpinput/localization/custom-messages.component';
95
+ export { OTPInputType } from './otpinput/models/otpinput-type';
96
+ export { OTPSeparatorIcon } from './otpinput/models/separator-icon';
93
97
  export * from './directives';
@@ -42,6 +42,8 @@ import * as i36 from "./colorpicker/localization/custom-messages.component";
42
42
  import * as i37 from "./colorpicker/flatcolorpicker.component";
43
43
  import * as i38 from "./colorpicker/color-gradient.component";
44
44
  import * as i39 from "./colorpicker/color-palette.component";
45
+ import * as i40 from "./otpinput/otpinput.component";
46
+ import * as i41 from "./otpinput/localization/custom-messages.component";
45
47
  /**
46
48
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
47
49
  * definition for the Inputs components.
@@ -76,6 +78,6 @@ import * as i39 from "./colorpicker/color-palette.component";
76
78
  */
77
79
  export declare class InputsModule {
78
80
  static ɵfac: i0.ɵɵFactoryDeclaration<InputsModule, never>;
79
- static ɵmod: i0.ɵɵNgModuleDeclaration<InputsModule, never, [typeof i1.TextBoxDirective, typeof i2.TextBoxComponent, typeof i3.InputSeparatorComponent, typeof i4.TextBoxSuffixTemplateDirective, typeof i5.TextBoxPrefixTemplateDirective, typeof i6.TextBoxCustomMessagesComponent, typeof i7.PrefixTemplateDirective, typeof i7.SuffixTemplateDirective, typeof i7.SeparatorComponent, typeof i8.NumericTextBoxComponent, typeof i9.NumericTextBoxCustomMessagesComponent, typeof i7.PrefixTemplateDirective, typeof i7.SuffixTemplateDirective, typeof i7.SeparatorComponent, typeof i10.MaskedTextBoxComponent, typeof i7.PrefixTemplateDirective, typeof i7.SuffixTemplateDirective, typeof i7.SeparatorComponent, typeof i11.TextAreaComponent, typeof i12.TextAreaDirective, typeof i13.TextAreaPrefixComponent, typeof i14.TextAreaSuffixComponent, typeof i7.SeparatorComponent, typeof i15.CheckBoxComponent, typeof i16.CheckBoxDirective, typeof i17.RadioButtonComponent, typeof i18.RadioButtonDirective, typeof i19.SwitchComponent, typeof i20.SwitchCustomMessagesComponent, typeof i21.FormFieldComponent, typeof i22.HintComponent, typeof i23.ErrorComponent, typeof i24.SliderComponent, typeof i25.SliderCustomMessagesComponent, typeof i26.LabelTemplateDirective, typeof i27.RangeSliderComponent, typeof i28.RangeSliderCustomMessagesComponent, typeof i26.LabelTemplateDirective, typeof i29.RatingComponent, typeof i30.RatingItemTemplateDirective, typeof i31.RatingHoveredItemTemplateDirective, typeof i32.RatingSelectedItemTemplateDirective, typeof i33.SignatureComponent, typeof i34.SignatureCustomMessagesComponent, typeof i35.ColorPickerComponent, typeof i36.ColorPickerCustomMessagesComponent, typeof i37.FlatColorPickerComponent, typeof i36.ColorPickerCustomMessagesComponent, typeof i38.ColorGradientComponent, typeof i36.ColorPickerCustomMessagesComponent, typeof i39.ColorPaletteComponent, typeof i36.ColorPickerCustomMessagesComponent, typeof i7.PrefixTemplateDirective, typeof i7.SuffixTemplateDirective, typeof i7.SeparatorComponent], [typeof i1.TextBoxDirective, typeof i2.TextBoxComponent, typeof i3.InputSeparatorComponent, typeof i4.TextBoxSuffixTemplateDirective, typeof i5.TextBoxPrefixTemplateDirective, typeof i6.TextBoxCustomMessagesComponent, typeof i7.PrefixTemplateDirective, typeof i7.SuffixTemplateDirective, typeof i7.SeparatorComponent, typeof i8.NumericTextBoxComponent, typeof i9.NumericTextBoxCustomMessagesComponent, typeof i7.PrefixTemplateDirective, typeof i7.SuffixTemplateDirective, typeof i7.SeparatorComponent, typeof i10.MaskedTextBoxComponent, typeof i7.PrefixTemplateDirective, typeof i7.SuffixTemplateDirective, typeof i7.SeparatorComponent, typeof i11.TextAreaComponent, typeof i12.TextAreaDirective, typeof i13.TextAreaPrefixComponent, typeof i14.TextAreaSuffixComponent, typeof i7.SeparatorComponent, typeof i15.CheckBoxComponent, typeof i16.CheckBoxDirective, typeof i17.RadioButtonComponent, typeof i18.RadioButtonDirective, typeof i19.SwitchComponent, typeof i20.SwitchCustomMessagesComponent, typeof i21.FormFieldComponent, typeof i22.HintComponent, typeof i23.ErrorComponent, typeof i24.SliderComponent, typeof i25.SliderCustomMessagesComponent, typeof i26.LabelTemplateDirective, typeof i27.RangeSliderComponent, typeof i28.RangeSliderCustomMessagesComponent, typeof i26.LabelTemplateDirective, typeof i29.RatingComponent, typeof i30.RatingItemTemplateDirective, typeof i31.RatingHoveredItemTemplateDirective, typeof i32.RatingSelectedItemTemplateDirective, typeof i33.SignatureComponent, typeof i34.SignatureCustomMessagesComponent, typeof i35.ColorPickerComponent, typeof i36.ColorPickerCustomMessagesComponent, typeof i37.FlatColorPickerComponent, typeof i36.ColorPickerCustomMessagesComponent, typeof i38.ColorGradientComponent, typeof i36.ColorPickerCustomMessagesComponent, typeof i39.ColorPaletteComponent, typeof i36.ColorPickerCustomMessagesComponent, typeof i7.PrefixTemplateDirective, typeof i7.SuffixTemplateDirective, typeof i7.SeparatorComponent]>;
81
+ static ɵmod: i0.ɵɵNgModuleDeclaration<InputsModule, never, [typeof i1.TextBoxDirective, typeof i2.TextBoxComponent, typeof i3.InputSeparatorComponent, typeof i4.TextBoxSuffixTemplateDirective, typeof i5.TextBoxPrefixTemplateDirective, typeof i6.TextBoxCustomMessagesComponent, typeof i7.PrefixTemplateDirective, typeof i7.SuffixTemplateDirective, typeof i7.SeparatorComponent, typeof i8.NumericTextBoxComponent, typeof i9.NumericTextBoxCustomMessagesComponent, typeof i7.PrefixTemplateDirective, typeof i7.SuffixTemplateDirective, typeof i7.SeparatorComponent, typeof i10.MaskedTextBoxComponent, typeof i7.PrefixTemplateDirective, typeof i7.SuffixTemplateDirective, typeof i7.SeparatorComponent, typeof i11.TextAreaComponent, typeof i12.TextAreaDirective, typeof i13.TextAreaPrefixComponent, typeof i14.TextAreaSuffixComponent, typeof i7.SeparatorComponent, typeof i15.CheckBoxComponent, typeof i16.CheckBoxDirective, typeof i17.RadioButtonComponent, typeof i18.RadioButtonDirective, typeof i19.SwitchComponent, typeof i20.SwitchCustomMessagesComponent, typeof i21.FormFieldComponent, typeof i22.HintComponent, typeof i23.ErrorComponent, typeof i24.SliderComponent, typeof i25.SliderCustomMessagesComponent, typeof i26.LabelTemplateDirective, typeof i27.RangeSliderComponent, typeof i28.RangeSliderCustomMessagesComponent, typeof i26.LabelTemplateDirective, typeof i29.RatingComponent, typeof i30.RatingItemTemplateDirective, typeof i31.RatingHoveredItemTemplateDirective, typeof i32.RatingSelectedItemTemplateDirective, typeof i33.SignatureComponent, typeof i34.SignatureCustomMessagesComponent, typeof i35.ColorPickerComponent, typeof i36.ColorPickerCustomMessagesComponent, typeof i37.FlatColorPickerComponent, typeof i36.ColorPickerCustomMessagesComponent, typeof i38.ColorGradientComponent, typeof i36.ColorPickerCustomMessagesComponent, typeof i39.ColorPaletteComponent, typeof i36.ColorPickerCustomMessagesComponent, typeof i40.OTPInputComponent, typeof i41.OTPInputCustomMessagesComponent, typeof i7.PrefixTemplateDirective, typeof i7.SuffixTemplateDirective, typeof i7.SeparatorComponent], [typeof i1.TextBoxDirective, typeof i2.TextBoxComponent, typeof i3.InputSeparatorComponent, typeof i4.TextBoxSuffixTemplateDirective, typeof i5.TextBoxPrefixTemplateDirective, typeof i6.TextBoxCustomMessagesComponent, typeof i7.PrefixTemplateDirective, typeof i7.SuffixTemplateDirective, typeof i7.SeparatorComponent, typeof i8.NumericTextBoxComponent, typeof i9.NumericTextBoxCustomMessagesComponent, typeof i7.PrefixTemplateDirective, typeof i7.SuffixTemplateDirective, typeof i7.SeparatorComponent, typeof i10.MaskedTextBoxComponent, typeof i7.PrefixTemplateDirective, typeof i7.SuffixTemplateDirective, typeof i7.SeparatorComponent, typeof i11.TextAreaComponent, typeof i12.TextAreaDirective, typeof i13.TextAreaPrefixComponent, typeof i14.TextAreaSuffixComponent, typeof i7.SeparatorComponent, typeof i15.CheckBoxComponent, typeof i16.CheckBoxDirective, typeof i17.RadioButtonComponent, typeof i18.RadioButtonDirective, typeof i19.SwitchComponent, typeof i20.SwitchCustomMessagesComponent, typeof i21.FormFieldComponent, typeof i22.HintComponent, typeof i23.ErrorComponent, typeof i24.SliderComponent, typeof i25.SliderCustomMessagesComponent, typeof i26.LabelTemplateDirective, typeof i27.RangeSliderComponent, typeof i28.RangeSliderCustomMessagesComponent, typeof i26.LabelTemplateDirective, typeof i29.RatingComponent, typeof i30.RatingItemTemplateDirective, typeof i31.RatingHoveredItemTemplateDirective, typeof i32.RatingSelectedItemTemplateDirective, typeof i33.SignatureComponent, typeof i34.SignatureCustomMessagesComponent, typeof i35.ColorPickerComponent, typeof i36.ColorPickerCustomMessagesComponent, typeof i37.FlatColorPickerComponent, typeof i36.ColorPickerCustomMessagesComponent, typeof i38.ColorGradientComponent, typeof i36.ColorPickerCustomMessagesComponent, typeof i39.ColorPaletteComponent, typeof i36.ColorPickerCustomMessagesComponent, typeof i40.OTPInputComponent, typeof i41.OTPInputCustomMessagesComponent, typeof i7.PrefixTemplateDirective, typeof i7.SuffixTemplateDirective, typeof i7.SeparatorComponent]>;
80
82
  static ɵinj: i0.ɵɵInjectorDeclaration<InputsModule>;
81
83
  }
@@ -0,0 +1,17 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { LocalizationService } from '@progress/kendo-angular-l10n';
6
+ import { OTPInputMessages } from './messages';
7
+ import * as i0 from "@angular/core";
8
+ /**
9
+ * Custom component messages override default component messages.
10
+ */
11
+ export declare class OTPInputCustomMessagesComponent extends OTPInputMessages {
12
+ protected service: LocalizationService;
13
+ constructor(service: LocalizationService);
14
+ protected get override(): boolean;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<OTPInputCustomMessagesComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<OTPInputCustomMessagesComponent, "kendo-otpinput-messages", never, {}, {}, never, never, true, never>;
17
+ }
@@ -0,0 +1,16 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { LocalizationService } from '@progress/kendo-angular-l10n';
6
+ import { OTPInputMessages } from './messages';
7
+ import * as i0 from "@angular/core";
8
+ /**
9
+ * @hidden
10
+ */
11
+ export declare class LocalizedOTPInputMessagesDirective extends OTPInputMessages {
12
+ protected service: LocalizationService;
13
+ constructor(service: LocalizationService);
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedOTPInputMessagesDirective, never>;
15
+ static ɵdir: i0.ɵɵDirectiveDeclaration<LocalizedOTPInputMessagesDirective, "[kendoOTPInputLocalizedMessages]", never, {}, {}, never, never, true, never>;
16
+ }
@@ -0,0 +1,24 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { ComponentMessages } from '@progress/kendo-angular-l10n';
6
+ import * as i0 from "@angular/core";
7
+ /**
8
+ * @hidden
9
+ */
10
+ export declare class OTPInputMessages extends ComponentMessages {
11
+ /**
12
+ * The aria-label of the OTP Input. Follows the pattern **Input {currentInput} of {totalInputs}, current value {value}** by default.
13
+ * Тhe default label text when the current input is 1, and the total number of inputs is 4 will be
14
+ * **Input 1 of 4, current value null**.
15
+ *
16
+ * The message consists of several parts - the current input number, the total number of inputs, the current value and a localizable string.
17
+ * To allow for reordering its parts, the `ariaLabel` input accepts a string with placeholders for the current input,
18
+ * total number of inputs and current value. The `{currentInput}`, `{totalInputs}` and `{currentValue}` placeholders will be
19
+ * replaced internally with the respective actual values.
20
+ */
21
+ ariaLabel: string;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<OTPInputMessages, never>;
23
+ static ɵdir: i0.ɵɵDirectiveDeclaration<OTPInputMessages, "kendo-otpinput-messages-base", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; }; }, {}, never, never, false, never>;
24
+ }
@@ -0,0 +1,10 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ /**
6
+ * Represents the possible input `type` options of the OTP Input.
7
+ *
8
+ * @default `text`
9
+ */
10
+ export type OTPInputType = 'text' | 'password' | 'number';
@@ -0,0 +1,12 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { SVGIcon } from "@progress/kendo-angular-icons";
6
+ /**
7
+ * Represents the possible icon separators of the OTP Input.
8
+ */
9
+ export type OTPSeparatorIcon = {
10
+ type: 'svgIcon' | 'fontIcon' | 'iconClass';
11
+ value: string | SVGIcon;
12
+ };
@@ -0,0 +1,25 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { OTPSeparatorIcon } from "./models/separator-icon";
6
+ import { SVGIcon } from "@progress/kendo-angular-icons";
7
+ import * as i0 from "@angular/core";
8
+ /**
9
+ * @hidden
10
+ */
11
+ export declare class OTPInputSeparatorComponent {
12
+ set separator(otpSeparator: string | OTPSeparatorIcon);
13
+ get separator(): string | OTPSeparatorIcon;
14
+ wrapperClass: boolean;
15
+ hasText: boolean;
16
+ hasIconClass: boolean;
17
+ hasSVGIcon: boolean;
18
+ hasFontIcon: boolean;
19
+ separatorIconString: string;
20
+ separatorSVGIcon: SVGIcon;
21
+ private _separator;
22
+ private clearSeparator;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<OTPInputSeparatorComponent, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<OTPInputSeparatorComponent, "kendo-otpinput-separator", ["kendoOTPInputSeparator"], { "separator": { "alias": "separator"; "required": false; }; }, {}, never, never, true, never>;
25
+ }
@@ -0,0 +1,284 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, Injector, NgZone, OnDestroy, OnInit, QueryList, Renderer2 } from "@angular/core";
6
+ import { TextBoxComponent } from "../textbox/textbox.component";
7
+ import { InputFillMode, InputRounded, InputSize } from "../common/models";
8
+ import { ControlValueAccessor, FormControl } from "@angular/forms";
9
+ import { LocalizationService } from "@progress/kendo-angular-l10n";
10
+ import { OTPInputType } from "./models/otpinput-type";
11
+ import { OTPSeparatorIcon } from "./models/separator-icon";
12
+ import * as i0 from "@angular/core";
13
+ export declare class OTPInputComponent implements ControlValueAccessor, OnInit, AfterViewInit, OnDestroy {
14
+ hostElement: ElementRef;
15
+ private cdr;
16
+ private injector;
17
+ private renderer;
18
+ private localizationService;
19
+ private zone;
20
+ /**
21
+ * Configures the total number of input fields.
22
+ *
23
+ * @default 4
24
+ */
25
+ set length(value: number);
26
+ get length(): number;
27
+ /**
28
+ * Configures the input type.
29
+ *
30
+ * * The possible values are:
31
+ * * `text` (default)
32
+ * * `number`
33
+ * * `password`
34
+ *
35
+ * @default 'text'
36
+ */
37
+ type: OTPInputType;
38
+ /**
39
+ * Configures whether the input fields are separate or adjacent to each other.
40
+ *
41
+ * @default true
42
+ */
43
+ spacing: boolean;
44
+ /**
45
+ * Specifies the separator between groups of input fields.
46
+ *
47
+ * > The configuration can only be applied when `groupLength` is set.
48
+ */
49
+ separator: string | OTPSeparatorIcon;
50
+ /**
51
+ * Configures whether the component is enabled or disabled.
52
+ *
53
+ * @default false
54
+ */
55
+ disabled: boolean;
56
+ /**
57
+ * Configures whether the component is readonly.
58
+ *
59
+ * @default false
60
+ */
61
+ readonly: boolean;
62
+ /**
63
+ * Configures the placeholder of the input fields.
64
+ */
65
+ placeholder: string;
66
+ /**
67
+ * Configures the length of the groups. If `groupLength` is a number, all groups will have the same length. If it's an array, each group can have a different length.
68
+ */
69
+ get groupLength(): number | Array<number>;
70
+ set groupLength(length: number | Array<number>);
71
+ /**
72
+ * Configures the value of the component. Unfilled input fields are represented with space.
73
+ */
74
+ get value(): string;
75
+ set value(input: string);
76
+ /**
77
+ * The `size` property specifies the padding of the input fields.
78
+ *
79
+ * The possible values are:
80
+ * * `small`
81
+ * * `medium` (default)
82
+ * * `large`
83
+ * * `none`
84
+ */
85
+ set size(size: InputSize);
86
+ get size(): InputSize;
87
+ /**
88
+ * The `rounded` property specifies the border radius of the OTP Input.
89
+ *
90
+ * The possible values are:
91
+ * * `small`
92
+ * * `medium` (default)
93
+ * * `large`
94
+ * * `full`
95
+ * * `none`
96
+ */
97
+ set rounded(rounded: InputRounded);
98
+ get rounded(): InputRounded;
99
+ /**
100
+ * The `fillMode` property specifies the background and border styles of the OTP Input.
101
+ *
102
+ * The possible values are:
103
+ * * `flat`
104
+ * * `solid` (default)
105
+ * * `outline`
106
+ * * `none`
107
+ */
108
+ set fillMode(fillMode: InputFillMode);
109
+ get fillMode(): InputFillMode;
110
+ /**
111
+ * Sets the HTML attributes of the inner focusable input element. Attributes which are essential for certain component functionalities cannot be changed.
112
+ */
113
+ set inputAttributes(attributes: {
114
+ [key: string]: string;
115
+ });
116
+ get inputAttributes(): {
117
+ [key: string]: string;
118
+ };
119
+ /**
120
+ * Fires each time the value is changed by the user&mdash;
121
+ * When the value of the component is programmatically changed to `ngModel` or `formControl`
122
+ * through its API or form binding, the `valueChange` event is not triggered because it
123
+ * might cause a mix-up with the built-in `valueChange` mechanisms of the `ngModel` or `formControl` bindings.
124
+ */
125
+ valueChange: EventEmitter<any>;
126
+ /**
127
+ * Fires each time the user focuses the OTP Input.
128
+ */
129
+ onFocus: EventEmitter<any>;
130
+ /**
131
+ * Fires each time the user blurs the OTP Input.
132
+ */
133
+ onBlur: EventEmitter<any>;
134
+ wrapperClass: boolean;
135
+ get invalidClass(): boolean;
136
+ direction: string;
137
+ role: string;
138
+ /**
139
+ * @hidden
140
+ */
141
+ inputFields: QueryList<TextBoxComponent>;
142
+ /**
143
+ * @hidden
144
+ */
145
+ set inputGroups(elements: QueryList<ElementRef>);
146
+ get inputGroups(): QueryList<ElementRef>;
147
+ /**
148
+ * @hidden
149
+ */
150
+ groupLengthArray: Array<number>;
151
+ /**
152
+ * @hidden
153
+ */
154
+ inputsArray: Array<any>;
155
+ /**
156
+ * @hidden
157
+ */
158
+ inputsValues: Array<any> | null;
159
+ /**
160
+ * @hidden
161
+ */
162
+ adjacentGroups: Array<number> | null;
163
+ private _length;
164
+ private _groupLength;
165
+ private _inputGroups;
166
+ private separatorPositions;
167
+ private _value;
168
+ private _size;
169
+ private _rounded;
170
+ private _fillMode;
171
+ private _isFocused;
172
+ private focusChangedProgrammatically;
173
+ private inputFieldValueChanged;
174
+ private focusedInput;
175
+ private _inputAttributes;
176
+ parsedAttributes: {
177
+ [key: string]: string;
178
+ };
179
+ private get defaultAttributes();
180
+ private subscriptions;
181
+ private ngChange;
182
+ private ngTouched;
183
+ constructor(hostElement: ElementRef, cdr: ChangeDetectorRef, injector: Injector, renderer: Renderer2, localizationService: LocalizationService, zone: NgZone);
184
+ ngOnInit(): void;
185
+ ngAfterViewInit(): void;
186
+ ngOnChanges(changes: any): void;
187
+ ngOnDestroy(): void;
188
+ /**
189
+ * @hidden
190
+ */
191
+ get formControl(): FormControl;
192
+ /**
193
+ * @hidden
194
+ */
195
+ writeValue(value: string): void;
196
+ /**
197
+ * @hidden
198
+ */
199
+ registerOnChange(fn: (value: string) => any): void;
200
+ /**
201
+ * @hidden
202
+ */
203
+ registerOnTouched(fn: () => any): void;
204
+ /**
205
+ * @hidden
206
+ */
207
+ setDisabledState(isDisabled: boolean): void;
208
+ /**
209
+ * @hidden
210
+ */
211
+ get isControlInvalid(): boolean;
212
+ /**
213
+ * @hidden
214
+ */
215
+ get isFocused(): boolean;
216
+ /**
217
+ * @hidden
218
+ */
219
+ set isFocused(value: boolean);
220
+ /**
221
+ * @hidden
222
+ */
223
+ get hasGroups(): boolean;
224
+ /**
225
+ * @hidden
226
+ */
227
+ showGroupSeparator(index: number): boolean;
228
+ /**
229
+ * @hidden
230
+ */
231
+ showSeparator(index: number): boolean;
232
+ /**
233
+ * @hidden
234
+ */
235
+ handleValueChange(index?: number, groupIndex?: number): void;
236
+ /**
237
+ * @hidden
238
+ */
239
+ handleInputFocus(index: number, groupIndex?: number): void;
240
+ /**
241
+ * @hidden
242
+ */
243
+ handleInput(event: any, index: number, groupIndex?: number): void;
244
+ /**
245
+ * @hidden
246
+ */
247
+ fillInputs(text: string, start?: number, replaceLast?: boolean): void;
248
+ /**
249
+ * Focuses the OTP Input.
250
+ */
251
+ focus(index?: number): void;
252
+ /**
253
+ * Blurs the OTP Input.
254
+ */
255
+ blur(): void;
256
+ /**
257
+ * @hidden
258
+ */
259
+ handleFocus(): void;
260
+ /**
261
+ * @hidden
262
+ */
263
+ handleBlur(): void;
264
+ private getIndexByGroup;
265
+ private focusNext;
266
+ private focusPrevious;
267
+ private handlePaste;
268
+ private handleKeydown;
269
+ private isValidGroupArray;
270
+ private populateGroupArray;
271
+ private populateSeparatorPositions;
272
+ private clearGroups;
273
+ private clearInputValues;
274
+ private handleInputChanges;
275
+ private setGroupFillMode;
276
+ private setInputAttributes;
277
+ private setDefaultAttributes;
278
+ private ariaLabel;
279
+ private isValidNumber;
280
+ private showInvalidInput;
281
+ private containsDigitsOrSpaces;
282
+ static ɵfac: i0.ɵɵFactoryDeclaration<OTPInputComponent, never>;
283
+ static ɵcmp: i0.ɵɵComponentDeclaration<OTPInputComponent, "kendo-otpinput", ["kendoOTPInput"], { "length": { "alias": "length"; "required": false; }; "type": { "alias": "type"; "required": false; }; "spacing": { "alias": "spacing"; "required": false; }; "separator": { "alias": "separator"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "groupLength": { "alias": "groupLength"; "required": false; }; "value": { "alias": "value"; "required": false; }; "size": { "alias": "size"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "fillMode": { "alias": "fillMode"; "required": false; }; "inputAttributes": { "alias": "inputAttributes"; "required": false; }; }, { "valueChange": "valueChange"; "onFocus": "focus"; "onBlur": "blur"; }, never, never, true, never>;
284
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-inputs",
3
- "version": "18.1.0-develop.2",
3
+ "version": "18.1.0-develop.21",
4
4
  "description": "Kendo UI for Angular Inputs Package - Everything you need to build professional form functionality (Checkbox, ColorGradient, ColorPalette, ColorPicker, FlatColorPicker, FormField, MaskedTextBox, NumericTextBox, RadioButton, RangeSlider, Slider, Switch, TextArea, and TextBox Components)",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -28,7 +28,7 @@
28
28
  "package": {
29
29
  "productName": "Kendo UI for Angular",
30
30
  "productCode": "KENDOUIANGULAR",
31
- "publishDate": 1738227142,
31
+ "publishDate": 1738836651,
32
32
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
33
33
  }
34
34
  },
@@ -40,18 +40,20 @@
40
40
  "@angular/platform-browser": "16 - 19",
41
41
  "@progress/kendo-drawing": "^1.21.0",
42
42
  "@progress/kendo-licensing": "^1.0.2",
43
- "@progress/kendo-angular-buttons": "18.1.0-develop.2",
44
- "@progress/kendo-angular-common": "18.1.0-develop.2",
45
- "@progress/kendo-angular-dialog": "18.1.0-develop.2",
46
- "@progress/kendo-angular-intl": "18.1.0-develop.2",
47
- "@progress/kendo-angular-l10n": "18.1.0-develop.2",
48
- "@progress/kendo-angular-popup": "18.1.0-develop.2",
49
- "@progress/kendo-angular-icons": "18.1.0-develop.2",
43
+ "@progress/kendo-angular-buttons": "18.1.0-develop.21",
44
+ "@progress/kendo-angular-common": "18.1.0-develop.21",
45
+ "@progress/kendo-angular-utils": "18.1.0-develop.21",
46
+ "@progress/kendo-angular-navigation": "18.1.0-develop.21",
47
+ "@progress/kendo-angular-dialog": "18.1.0-develop.21",
48
+ "@progress/kendo-angular-intl": "18.1.0-develop.21",
49
+ "@progress/kendo-angular-l10n": "18.1.0-develop.21",
50
+ "@progress/kendo-angular-popup": "18.1.0-develop.21",
51
+ "@progress/kendo-angular-icons": "18.1.0-develop.21",
50
52
  "rxjs": "^6.5.3 || ^7.0.0"
51
53
  },
52
54
  "dependencies": {
53
55
  "tslib": "^2.3.1",
54
- "@progress/kendo-angular-schematics": "18.1.0-develop.2",
56
+ "@progress/kendo-angular-schematics": "18.1.0-develop.21",
55
57
  "@progress/kendo-common": "^1.0.1",
56
58
  "@progress/kendo-draggable": "^3.0.0",
57
59
  "@progress/kendo-inputs-common": "^3.1.0"