@syncfusion/ej2-inputs 30.2.6 → 31.1.17

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 (99) hide show
  1. package/dist/ej2-inputs.min.js +2 -2
  2. package/dist/ej2-inputs.umd.min.js +2 -2
  3. package/dist/ej2-inputs.umd.min.js.map +1 -1
  4. package/dist/es6/ej2-inputs.es2015.js +1 -1
  5. package/dist/es6/ej2-inputs.es2015.js.map +1 -1
  6. package/dist/es6/ej2-inputs.es5.js +1 -1
  7. package/dist/es6/ej2-inputs.es5.js.map +1 -1
  8. package/dist/global/ej2-inputs.min.js +2 -2
  9. package/dist/global/ej2-inputs.min.js.map +1 -1
  10. package/dist/global/index.d.ts +1 -1
  11. package/dist/ts/color-picker/color-picker-model.d.ts +186 -0
  12. package/dist/ts/color-picker/color-picker.d.ts +398 -0
  13. package/dist/ts/color-picker/color-picker.ts +2209 -0
  14. package/dist/ts/color-picker/index.d.ts +5 -0
  15. package/dist/ts/color-picker/index.ts +5 -0
  16. package/dist/ts/common/index.d.ts +4 -0
  17. package/dist/ts/common/index.ts +4 -0
  18. package/dist/ts/common/signature-base.d.ts +340 -0
  19. package/dist/ts/common/signature-base.ts +1170 -0
  20. package/dist/ts/form-validator/form-validator-model.d.ts +121 -0
  21. package/dist/ts/form-validator/form-validator.d.ts +312 -0
  22. package/dist/ts/form-validator/form-validator.ts +1068 -0
  23. package/dist/ts/form-validator/index.d.ts +5 -0
  24. package/dist/ts/form-validator/index.ts +5 -0
  25. package/dist/ts/index.d.ts +18 -0
  26. package/dist/ts/index.ts +18 -0
  27. package/dist/ts/input/index.d.ts +4 -0
  28. package/dist/ts/input/index.ts +4 -0
  29. package/dist/ts/input/input.d.ts +345 -0
  30. package/dist/ts/input/input.ts +1277 -0
  31. package/dist/ts/maskedtextbox/base/index.d.ts +4 -0
  32. package/dist/ts/maskedtextbox/base/index.ts +4 -0
  33. package/dist/ts/maskedtextbox/base/mask-base.d.ts +134 -0
  34. package/dist/ts/maskedtextbox/base/mask-base.ts +1207 -0
  35. package/dist/ts/maskedtextbox/index.d.ts +5 -0
  36. package/dist/ts/maskedtextbox/index.ts +5 -0
  37. package/dist/ts/maskedtextbox/maskedtextbox/index.d.ts +5 -0
  38. package/dist/ts/maskedtextbox/maskedtextbox/index.ts +5 -0
  39. package/dist/ts/maskedtextbox/maskedtextbox/maskedtextbox-model.d.ts +167 -0
  40. package/dist/ts/maskedtextbox/maskedtextbox/maskedtextbox.d.ts +307 -0
  41. package/dist/ts/maskedtextbox/maskedtextbox/maskedtextbox.ts +709 -0
  42. package/dist/ts/numerictextbox/index.d.ts +5 -0
  43. package/dist/ts/numerictextbox/index.ts +5 -0
  44. package/dist/ts/numerictextbox/numerictextbox-model.d.ts +228 -0
  45. package/dist/ts/numerictextbox/numerictextbox.d.ts +431 -0
  46. package/dist/ts/numerictextbox/numerictextbox.ts +1672 -0
  47. package/dist/ts/otp-input/index.d.ts +5 -0
  48. package/dist/ts/otp-input/index.ts +5 -0
  49. package/dist/ts/otp-input/otp-input-model.d.ts +165 -0
  50. package/dist/ts/otp-input/otp-input.d.ts +365 -0
  51. package/dist/ts/otp-input/otp-input.ts +924 -0
  52. package/dist/ts/rating/index.d.ts +5 -0
  53. package/dist/ts/rating/index.ts +5 -0
  54. package/dist/ts/rating/rating-model.d.ts +239 -0
  55. package/dist/ts/rating/rating.d.ts +416 -0
  56. package/dist/ts/rating/rating.ts +1101 -0
  57. package/dist/ts/signature/index.d.ts +5 -0
  58. package/dist/ts/signature/index.ts +5 -0
  59. package/dist/ts/signature/signature-model.d.ts +131 -0
  60. package/dist/ts/signature/signature.d.ts +167 -0
  61. package/dist/ts/signature/signature.ts +266 -0
  62. package/dist/ts/slider/index.d.ts +5 -0
  63. package/dist/ts/slider/index.ts +5 -0
  64. package/dist/ts/slider/slider-model.d.ts +401 -0
  65. package/dist/ts/slider/slider.d.ts +721 -0
  66. package/dist/ts/slider/slider.ts +3497 -0
  67. package/dist/ts/smart-textarea/caret-helper.d.ts +17 -0
  68. package/dist/ts/smart-textarea/caret-helper.ts +95 -0
  69. package/dist/ts/smart-textarea/index.d.ts +5 -0
  70. package/dist/ts/smart-textarea/index.ts +5 -0
  71. package/dist/ts/smart-textarea/smart-textarea-model.d.ts +44 -0
  72. package/dist/ts/smart-textarea/smart-textarea.d.ts +80 -0
  73. package/dist/ts/smart-textarea/smart-textarea.ts +518 -0
  74. package/dist/ts/speech-to-text/index.d.ts +5 -0
  75. package/dist/ts/speech-to-text/index.ts +5 -0
  76. package/dist/ts/speech-to-text/speech-to-text-model.d.ts +270 -0
  77. package/dist/ts/speech-to-text/speech-to-text.d.ts +487 -0
  78. package/dist/ts/speech-to-text/speech-to-text.ts +1008 -0
  79. package/dist/ts/textarea/index.d.ts +5 -0
  80. package/dist/ts/textarea/index.ts +5 -0
  81. package/dist/ts/textarea/textarea-model.d.ts +161 -0
  82. package/dist/ts/textarea/textarea.d.ts +237 -0
  83. package/dist/ts/textarea/textarea.ts +812 -0
  84. package/dist/ts/textbox/index.d.ts +5 -0
  85. package/dist/ts/textbox/index.ts +5 -0
  86. package/dist/ts/textbox/textbox-model.d.ts +155 -0
  87. package/dist/ts/textbox/textbox.d.ts +288 -0
  88. package/dist/ts/textbox/textbox.ts +872 -0
  89. package/dist/ts/uploader/index.d.ts +5 -0
  90. package/dist/ts/uploader/index.ts +5 -0
  91. package/dist/ts/uploader/uploader-model.d.ts +555 -0
  92. package/dist/ts/uploader/uploader.d.ts +1216 -0
  93. package/dist/ts/uploader/uploader.ts +4391 -0
  94. package/package.json +62 -12
  95. package/src/input/input.js +1 -1
  96. package/styles/input/_layout.scss +0 -1
  97. package/styles/input/tailwind3.css +0 -1
  98. package/styles/tailwind3-lite.css +0 -1
  99. package/styles/tailwind3.css +0 -1
@@ -0,0 +1,5 @@
1
+ /**
2
+ * OtpInput modules
3
+ */
4
+ export * from './otp-input';
5
+ export * from './otp-input-model';
@@ -0,0 +1,5 @@
1
+ /**
2
+ * OtpInput modules
3
+ */
4
+ export * from './otp-input';
5
+ export * from './otp-input-model';
@@ -0,0 +1,165 @@
1
+ import { INotifyPropertyChanged, NotifyPropertyChanges, Component, Property, getUniqueID, isNullOrUndefined, addClass, attributes, removeClass, remove, EmitType, Event, EventHandler } from '@syncfusion/ej2-base';
2
+ import {OtpInputType,OtpInputStyle,TextTransform,OtpChangedEventArgs,OtpFocusEventArgs,OtpInputEventArgs} from "./otp-input";
3
+ import {ComponentModel} from '@syncfusion/ej2-base';
4
+
5
+ /**
6
+ * Interface for a class OtpInput
7
+ */
8
+ export interface OtpInputModel extends ComponentModel{
9
+
10
+ /**
11
+ * Specifies the length of the Otp (One-Time Password) to be entered by the user.
12
+ * This determines the number of input fields in the Otp Input.
13
+ *
14
+ * {% codeBlock src='otp-input/length/index.md' %}{% endcodeBlock %}
15
+ *
16
+ * @default 4
17
+ */
18
+ length?: number;
19
+
20
+ /**
21
+ * Specifies the value of the Otp (One-Time Password) input.
22
+ * This can be a string or a number, representing the Otp value entered by the user.
23
+ *
24
+ * {% codeBlock src='otp-input/value/index.md' %}{% endcodeBlock %}
25
+ *
26
+ * @default ''
27
+ * @aspType string
28
+ */
29
+ value?: string | number;
30
+
31
+ /**
32
+ * Specifies the input type of the Otp.
33
+ *
34
+ * {% codeBlock src='otp-input/type/index.md' %}{% endcodeBlock %}
35
+ *
36
+ * @isenumeration true
37
+ * @default OtpInputType.Number
38
+ * @asptype OtpInputType
39
+ */
40
+ type?: string | OtpInputType;
41
+
42
+ /**
43
+ * Specifies the separator used to separate each input field in the Otp Input component.
44
+ * The separator is displayed between each input field.
45
+ *
46
+ * {% codeBlock src='otp-input/separator/index.md' %}{% endcodeBlock %}
47
+ *
48
+ * @default ''
49
+ */
50
+ separator?: string;
51
+
52
+ /**
53
+ * Specifies the text that is shown as a hint/placeholder until the user focuses on or enters a value in the Otp Input.
54
+ * If a single text is provided, it will be used for all input fields; otherwise, each text letter will be used for each field.
55
+ *
56
+ * {% codeBlock src='otp-input/placeholder/index.md' %}{% endcodeBlock %}
57
+ *
58
+ * @default ''
59
+ */
60
+ placeholder?: string;
61
+
62
+ /**
63
+ * Specifies the style variant for the input fields in the Otp Input component.
64
+ *
65
+ * {% codeBlock src='otp-input/stylingMode/index.md' %}{% endcodeBlock %}
66
+ *
67
+ * @isenumeration true
68
+ * @default OtpInputStyle.Outlined
69
+ * @asptype OtpInputStyle
70
+ */
71
+ stylingMode?: string | OtpInputStyle;
72
+
73
+ /**
74
+ * Specifies whether the Otp input component is disabled.
75
+ * When set to true, the component is disabled and user input is not allowed.
76
+ *
77
+ * @default false
78
+ */
79
+ disabled?: boolean;
80
+
81
+ /**
82
+ * Defines one or more CSS classes that can be used to customize the appearance of the Otp (One-Time Password) input component.
83
+ *
84
+ * @default ''
85
+ */
86
+ cssClass?: string;
87
+
88
+ /**
89
+ * Specifies whether the OTP input field should automatically receive focus when the component is rendered.
90
+ *
91
+ * @type {boolean}
92
+ * @default false
93
+ */
94
+ autoFocus?: boolean;
95
+
96
+ /**
97
+ * Specifies the case transformation for the OTP input text.
98
+ *
99
+ * Valid values are:
100
+ * - `TextTransform.Uppercase` for uppercase transformation.
101
+ * - `TextTransform.Lowercase` for lowercase transformation.
102
+ * - `TextTransform.None` for no transformation.
103
+ *
104
+ * @isenumeration true
105
+ * @asptype TextTransform
106
+ * @type {TextTransform}
107
+ * @default TextTransform.None
108
+ */
109
+ textTransform?: string | TextTransform;
110
+
111
+ /**
112
+ * Specifies additional HTML attributes to be applied to the Otp (One-Time Password) input component.
113
+ *
114
+ * {% codeBlock src='otp-input/htmlAttributes/index.md' %}{% endcodeBlock %}
115
+ *
116
+ * @default {}
117
+ */
118
+ htmlAttributes?: { [key: string]: string };
119
+
120
+ /**
121
+ * Defines the ARIA-label attribute for each input field in the Otp (One-Time Password) input component.
122
+ * Each string in the array corresponds to the ARIA-label attribute for each input field.
123
+ *
124
+ * {% codeBlock src='otp-input/ariaLabels/index.md' %}{% endcodeBlock %}
125
+ *
126
+ * @default []
127
+ */
128
+ ariaLabels?: string[];
129
+
130
+ /**
131
+ * Event triggers after the creation of the Otp Input.
132
+ *
133
+ * @event created
134
+ */
135
+ created?: EmitType<Event>;
136
+
137
+ /**
138
+ * Event triggers after the value is changed and the Otp input is focused out.
139
+ *
140
+ * @event change
141
+ */
142
+ valueChanged?: EmitType<OtpChangedEventArgs>;
143
+
144
+ /**
145
+ * Event triggers when the Otp input is focused.
146
+ *
147
+ * @event focus
148
+ */
149
+ focus?: EmitType<OtpFocusEventArgs>;
150
+
151
+ /**
152
+ * Event triggers when the Otp input is focused out.
153
+ *
154
+ * @event blur
155
+ */
156
+ blur?: EmitType<OtpFocusEventArgs>;
157
+
158
+ /**
159
+ * Event triggers each time when the value of each Otp input is changed.
160
+ *
161
+ * @event input
162
+ */
163
+ input?: EmitType<OtpInputEventArgs>;
164
+
165
+ }
@@ -0,0 +1,365 @@
1
+ import { INotifyPropertyChanged, Component, EmitType } from '@syncfusion/ej2-base';
2
+ import { OtpInputModel } from './otp-input-model';
3
+ /**
4
+ * Specifies the type of input for the Otp (One-Time Password) input component.
5
+ */
6
+ export declare enum OtpInputType {
7
+ /**
8
+ * Specifies the type of input to be number for the Otp input.
9
+ */
10
+ Number = "number",
11
+ /**
12
+ * Specifies the type of input to be text for the Otp input.
13
+ */
14
+ Text = "text",
15
+ /**
16
+ * Specifies the type of input to be password for the Otp input.
17
+ */
18
+ Password = "password"
19
+ }
20
+ /**
21
+ * Specifies the style variant for the Otp (One-Time Password) input component.
22
+ */
23
+ export declare enum OtpInputStyle {
24
+ /**
25
+ * Specifies the style of the Otp input to be outlined.
26
+ */
27
+ Outlined = "outlined",
28
+ /**
29
+ * Specifies the style of the Otp input to be underlined.
30
+ */
31
+ Underlined = "underlined",
32
+ /**
33
+ * Specifies the style of the Otp input to be filled.
34
+ */
35
+ Filled = "filled"
36
+ }
37
+ /**
38
+ * Enum for the case transformation options for OTP input text.
39
+ *
40
+ * @readonly
41
+ * @enum {string}
42
+ */
43
+ export declare enum TextTransform {
44
+ /**
45
+ * No case transformation. The input text remains unchanged.
46
+ */
47
+ None = "none",
48
+ /**
49
+ * Convert the input text to uppercase.
50
+ */
51
+ Uppercase = "uppercase",
52
+ /**
53
+ * Convert the input text to lowercase.
54
+ */
55
+ Lowercase = "lowercase"
56
+ }
57
+ /**
58
+ * Provides information about valueChanged event callback
59
+ */
60
+ export interface OtpChangedEventArgs {
61
+ /**
62
+ * Provides the Otp input container element.
63
+ */
64
+ element: HTMLElement;
65
+ /**
66
+ * Provides the original event.
67
+ */
68
+ event: Event;
69
+ /**
70
+ * Provides whether the change is triggered by user interaction.
71
+ */
72
+ isInteracted: boolean;
73
+ /**
74
+ * Provides the previous value of the Otp input.
75
+ */
76
+ previousValue: string | number;
77
+ /**
78
+ * Provides the current value of the Otp input.
79
+ */
80
+ value: string | number;
81
+ }
82
+ /**
83
+ * Provides information about focus event callback
84
+ */
85
+ export interface OtpFocusEventArgs {
86
+ /**
87
+ * Provides the Otp input container element.
88
+ */
89
+ element: HTMLElement;
90
+ /**
91
+ * Provides the original event.
92
+ */
93
+ event: Event;
94
+ /**
95
+ * Provides whether the change is triggered by user interaction.
96
+ */
97
+ isInteracted: boolean;
98
+ /**
99
+ * Provides the current value of the Otp input.
100
+ */
101
+ value: string | number;
102
+ /**
103
+ * The index of the OTP input field that is currently focused.
104
+ */
105
+ index: number;
106
+ }
107
+ /**
108
+ * Provides information about input event callback
109
+ */
110
+ export interface OtpInputEventArgs {
111
+ /**
112
+ * Provides the Otp input container element.
113
+ */
114
+ element: HTMLElement;
115
+ /**
116
+ * Provides the original event.
117
+ */
118
+ event: Event;
119
+ /**
120
+ * Provides the previous value of the Otp input.
121
+ */
122
+ previousValue: string | number;
123
+ /**
124
+ * Provides the current value of the Otp input.
125
+ */
126
+ value: string | number;
127
+ /**
128
+ * The index of the OTP input field that is currently focused.
129
+ */
130
+ index: number;
131
+ }
132
+ /**
133
+ * Represents the Otp component that allows the user to enter the otp values.
134
+ * ```html
135
+ * <div id='OTPInput'></div>
136
+ * ```
137
+ * ```typescript
138
+ * <script>
139
+ * var OtpinputObj = new OtpInput();
140
+ * OtpinputObj.appendTo('#OTPInput');
141
+ * </script>
142
+ * ```
143
+ */
144
+ export declare class OtpInput extends Component<HTMLElement> implements INotifyPropertyChanged {
145
+ /**
146
+ * Specifies the length of the Otp (One-Time Password) to be entered by the user.
147
+ * This determines the number of input fields in the Otp Input.
148
+ *
149
+ * {% codeBlock src='otp-input/length/index.md' %}{% endcodeBlock %}
150
+ *
151
+ * @default 4
152
+ */
153
+ length: number;
154
+ /**
155
+ * Specifies the value of the Otp (One-Time Password) input.
156
+ * This can be a string or a number, representing the Otp value entered by the user.
157
+ *
158
+ * {% codeBlock src='otp-input/value/index.md' %}{% endcodeBlock %}
159
+ *
160
+ * @default ''
161
+ * @aspType string
162
+ */
163
+ value: string | number;
164
+ /**
165
+ * Specifies the input type of the Otp.
166
+ *
167
+ * {% codeBlock src='otp-input/type/index.md' %}{% endcodeBlock %}
168
+ *
169
+ * @isenumeration true
170
+ * @default OtpInputType.Number
171
+ * @asptype OtpInputType
172
+ */
173
+ type: string | OtpInputType;
174
+ /**
175
+ * Specifies the separator used to separate each input field in the Otp Input component.
176
+ * The separator is displayed between each input field.
177
+ *
178
+ * {% codeBlock src='otp-input/separator/index.md' %}{% endcodeBlock %}
179
+ *
180
+ * @default ''
181
+ */
182
+ separator: string;
183
+ /**
184
+ * Specifies the text that is shown as a hint/placeholder until the user focuses on or enters a value in the Otp Input.
185
+ * If a single text is provided, it will be used for all input fields; otherwise, each text letter will be used for each field.
186
+ *
187
+ * {% codeBlock src='otp-input/placeholder/index.md' %}{% endcodeBlock %}
188
+ *
189
+ * @default ''
190
+ */
191
+ placeholder: string;
192
+ /**
193
+ * Specifies the style variant for the input fields in the Otp Input component.
194
+ *
195
+ * {% codeBlock src='otp-input/stylingMode/index.md' %}{% endcodeBlock %}
196
+ *
197
+ * @isenumeration true
198
+ * @default OtpInputStyle.Outlined
199
+ * @asptype OtpInputStyle
200
+ */
201
+ stylingMode: string | OtpInputStyle;
202
+ /**
203
+ * Specifies whether the Otp input component is disabled.
204
+ * When set to true, the component is disabled and user input is not allowed.
205
+ *
206
+ * @default false
207
+ */
208
+ disabled: boolean;
209
+ /**
210
+ * Defines one or more CSS classes that can be used to customize the appearance of the Otp (One-Time Password) input component.
211
+ *
212
+ * @default ''
213
+ */
214
+ cssClass: string;
215
+ /**
216
+ * Specifies whether the OTP input field should automatically receive focus when the component is rendered.
217
+ *
218
+ * @type {boolean}
219
+ * @default false
220
+ */
221
+ autoFocus: boolean;
222
+ /**
223
+ * Specifies the case transformation for the OTP input text.
224
+ *
225
+ * Valid values are:
226
+ * - `TextTransform.Uppercase` for uppercase transformation.
227
+ * - `TextTransform.Lowercase` for lowercase transformation.
228
+ * - `TextTransform.None` for no transformation.
229
+ *
230
+ * @isenumeration true
231
+ * @asptype TextTransform
232
+ * @type {TextTransform}
233
+ * @default TextTransform.None
234
+ */
235
+ textTransform: string | TextTransform;
236
+ /**
237
+ * Specifies additional HTML attributes to be applied to the Otp (One-Time Password) input component.
238
+ *
239
+ * {% codeBlock src='otp-input/htmlAttributes/index.md' %}{% endcodeBlock %}
240
+ *
241
+ * @default {}
242
+ */
243
+ htmlAttributes: {
244
+ [key: string]: string;
245
+ };
246
+ /**
247
+ * Defines the ARIA-label attribute for each input field in the Otp (One-Time Password) input component.
248
+ * Each string in the array corresponds to the ARIA-label attribute for each input field.
249
+ *
250
+ * {% codeBlock src='otp-input/ariaLabels/index.md' %}{% endcodeBlock %}
251
+ *
252
+ * @default []
253
+ */
254
+ ariaLabels: string[];
255
+ /**
256
+ * Event triggers after the creation of the Otp Input.
257
+ *
258
+ * @event created
259
+ */
260
+ created: EmitType<Event>;
261
+ /**
262
+ * Event triggers after the value is changed and the Otp input is focused out.
263
+ *
264
+ * @event change
265
+ */
266
+ valueChanged: EmitType<OtpChangedEventArgs>;
267
+ /**
268
+ * Event triggers when the Otp input is focused.
269
+ *
270
+ * @event focus
271
+ */
272
+ focus: EmitType<OtpFocusEventArgs>;
273
+ /**
274
+ * Event triggers when the Otp input is focused out.
275
+ *
276
+ * @event blur
277
+ */
278
+ blur: EmitType<OtpFocusEventArgs>;
279
+ /**
280
+ * Event triggers each time when the value of each Otp input is changed.
281
+ *
282
+ * @event input
283
+ */
284
+ input: EmitType<OtpInputEventArgs>;
285
+ private inputs;
286
+ private previousValue;
287
+ private hiddenInputEle;
288
+ private separatorElements;
289
+ private shouldFireFocus;
290
+ private shouldFireBlur;
291
+ private isFocusInCalled;
292
+ private isFocusOutCalled;
293
+ constructor(options?: OtpInputModel, element?: string | HTMLElement);
294
+ protected preRender(): void;
295
+ render(): void;
296
+ private initialize;
297
+ private renderInputs;
298
+ private createOtpInput;
299
+ private handleWheelEvent;
300
+ private renderSeparator;
301
+ private updateSeparatorValue;
302
+ private addPlaceHolder;
303
+ private updateInputType;
304
+ private getDefaultValue;
305
+ private getTransformedText;
306
+ private handleInputChange;
307
+ private handleKeyAction;
308
+ private handleSelection;
309
+ private handleFocus;
310
+ private handleBlur;
311
+ private handlePaste;
312
+ private triggerInputEvent;
313
+ private triggerValuechanged;
314
+ private wireEvents;
315
+ private unWireEvents;
316
+ private updateValueProperty;
317
+ private updateInputValue;
318
+ private updateCssClass;
319
+ private updateVariantClass;
320
+ private updateAriaLabel;
321
+ private updateDisabledState;
322
+ private setElementAttributes;
323
+ private setInputMode;
324
+ private handleLengthChange;
325
+ /**
326
+ * To get component name.
327
+ *
328
+ * @returns {string} - Module Name
329
+ * @private
330
+ */
331
+ getModuleName(): string;
332
+ /**
333
+ * To get the properties to be maintained in the persisted state.
334
+ *
335
+ * @returns {string} - Persist data
336
+ */
337
+ protected getPersistData(): string;
338
+ /**
339
+ * Destroy the Otp input.
340
+ *
341
+ * @returns {void}
342
+ */
343
+ destroy(): void;
344
+ /**
345
+ * Sets the focus to the Otp input for interaction.
346
+ *
347
+ * @returns {void}
348
+ */
349
+ focusIn(): void;
350
+ /**
351
+ * Remove the focus from Otp input, if it is in focus state.
352
+ *
353
+ * @returns {void}
354
+ */
355
+ focusOut(): void;
356
+ /**
357
+ * Called internally if any of the property value changed.
358
+ *
359
+ * @param {OtpInputModel} newProp - Specifies new properties
360
+ * @param {OtpInputModel} oldProp - Specifies old properties
361
+ * @returns {void}
362
+ * @private
363
+ */
364
+ onPropertyChanged(newProp: OtpInputModel, oldProp?: OtpInputModel): void;
365
+ }