@syncfusion/ej2-inputs 30.2.4 → 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 (110) 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/bootstrap5.3-lite.css +3 -3
  97. package/styles/bootstrap5.3.css +5 -5
  98. package/styles/input/_layout.scss +0 -1
  99. package/styles/input/tailwind3.css +0 -1
  100. package/styles/tailwind-dark-lite.css +3 -3
  101. package/styles/tailwind-dark.css +5 -5
  102. package/styles/tailwind-lite.css +3 -3
  103. package/styles/tailwind.css +5 -5
  104. package/styles/tailwind3-lite.css +0 -1
  105. package/styles/tailwind3.css +0 -1
  106. package/styles/uploader/_bootstrap5.3-definition.scss +1 -1
  107. package/styles/uploader/_tailwind-definition.scss +1 -1
  108. package/styles/uploader/bootstrap5.3.css +5 -5
  109. package/styles/uploader/tailwind-dark.css +5 -5
  110. package/styles/uploader/tailwind.css +5 -5
@@ -0,0 +1,5 @@
1
+ /**
2
+ * MaskedTextbox modules
3
+ */
4
+ export * from './base/index';
5
+ export * from './maskedtextbox/index';
@@ -0,0 +1,5 @@
1
+ /**
2
+ * MaskedTextbox modules
3
+ */
4
+ export * from './base/index';
5
+ export * from './maskedtextbox/index';
@@ -0,0 +1,5 @@
1
+ /**
2
+ * MaskedTextbox modules
3
+ */
4
+ export * from './maskedtextbox';
5
+ export * from './maskedtextbox-model';
@@ -0,0 +1,5 @@
1
+ /**
2
+ * MaskedTextbox modules
3
+ */
4
+ export * from './maskedtextbox';
5
+ export * from './maskedtextbox-model';
@@ -0,0 +1,167 @@
1
+ import { Component, Event, Property, EmitType, NotifyPropertyChanges, INotifyPropertyChanged, BaseEventArgs } from '@syncfusion/ej2-base';import { isNullOrUndefined, formatUnit, getValue, setValue, addClass, detach } from '@syncfusion/ej2-base';import { removeClass , Browser, closest} from '@syncfusion/ej2-base';import { Input, InputObject, FloatLabelType } from '../../input/input';import { regularExpressions, createMask, applyMask, wireEvents, unwireEvents, unstrippedValue, strippedValue } from '../base/index';import { setMaskValue, MaskUndo, setElementValue, bindClearEvent } from '../base/index';
2
+ import {MaskChangeEventArgs,MaskFocusEventArgs,MaskBlurEventArgs} from "./maskedtextbox";
3
+ import {ComponentModel} from '@syncfusion/ej2-base';
4
+
5
+ /**
6
+ * Interface for a class MaskedTextBox
7
+ */
8
+ export interface MaskedTextBoxModel extends ComponentModel{
9
+
10
+ /**
11
+ * Gets or sets the CSS classes to root element of the MaskedTextBox which helps to customize the
12
+ * complete UI styles for the MaskedTextBox component.
13
+ *
14
+ * @default null
15
+ */
16
+ cssClass?: string;
17
+
18
+ /**
19
+ * Sets the width of the MaskedTextBox.
20
+ *
21
+ * @default null
22
+ */
23
+ width?: number | string;
24
+
25
+ /**
26
+ * Gets or sets the string shown as a hint/placeholder when the MaskedTextBox is empty.
27
+ * It acts as a label and floats above the MaskedTextBox based on the
28
+ * <b><a href="#floatlabeltype" target="_blank">floatLabelType.</a></b>
29
+ *
30
+ * @default null
31
+ */
32
+ placeholder?: string;
33
+
34
+ /**
35
+ * The <b><a href="#placeholder" target="_blank">placeholder</a></b> acts as a label
36
+ * and floats above the MaskedTextBox based on the below values.
37
+ * Possible values are:
38
+ * * Never - The floating label will not be enable when the placeholder is available.
39
+ * * Always - The floating label always floats above the MaskedTextBox.
40
+ * * Auto - The floating label floats above the MaskedTextBox after focusing it or when enters the value in it.
41
+ *
42
+ * @default Never
43
+ */
44
+ floatLabelType?: FloatLabelType;
45
+
46
+ /**
47
+ * You can add the additional html attributes such as disabled, value etc., to the element.
48
+ * If you configured both property and equivalent html attribute then the component considers the property value.
49
+ * {% codeBlock src='maskedtextbox/htmlAttributes/index.md' %}{% endcodeBlock %}
50
+ *
51
+ * @default {}
52
+ */
53
+ htmlAttributes?: { [key: string]: string };
54
+
55
+ /**
56
+ * Sets a value that enables or disables the MaskedTextBox component.
57
+ *
58
+ * @default true
59
+ */
60
+ enabled?: boolean;
61
+
62
+ /**
63
+ * Specifies the boolean value whether the Masked TextBox allows the user to change the text.
64
+ *
65
+ * @default false
66
+ */
67
+ readonly?: boolean;
68
+
69
+ /**
70
+ * Specifies whether to show or hide the clear icon.
71
+ *
72
+ * @default false
73
+ */
74
+ showClearButton?: boolean;
75
+
76
+ /**
77
+ * Sets a value that enables or disables the persisting state of the MaskedTextBox after reloading the page.
78
+ * If enabled, the 'value' state will be persisted.
79
+ *
80
+ * @default false
81
+ */
82
+ enablePersistence?: boolean;
83
+
84
+ /**
85
+ * Sets a value that masks the MaskedTextBox to allow/validate the user input.
86
+ * * Mask allows [`standard mask elements`](../../maskedtextbox/mask-configuration/#standard-mask-elements)
87
+ * </b>, <b>[`custom characters`](../../maskedtextbox/mask-configuration/#custom-characters)</b> and
88
+ * <b>[`regular expression`](../../maskedtextbox/mask-configuration/#regular-expression)</b> as mask
89
+ * elements.
90
+ * For more information on mask, refer to
91
+ * [mask](../../maskedtextbox/mask-configuration/#standard-mask-elements).
92
+ * * If the mask value is empty, the MaskedTextBox will behave as an input element with text type.
93
+ *
94
+ * {% codeBlock src='maskedtextbox/mask/index.md' %}{% endcodeBlock %}
95
+ *
96
+ * @default null
97
+ */
98
+ mask?: string;
99
+
100
+ /**
101
+ * Gets or sets a value that will be shown as a prompting symbol for the masked value.
102
+ * The symbol used to show input positions in the MaskedTextBox.
103
+ * For more information on prompt-character, refer to
104
+ * [prompt-character](../../maskedtextbox/mask-configuration/#prompt-character).
105
+ *
106
+ * @default '_'
107
+ */
108
+ promptChar?: string;
109
+
110
+ /**
111
+ * Gets or sets the value of the MaskedTextBox. It is a raw value of the MaskedTextBox excluding literals
112
+ * and prompt characters. By using `getMaskedValue` property, you can get the value of MaskedTextBox with the masked format.
113
+ * {% codeBlock src='maskedtextbox/value/index.md' %}{% endcodeBlock %}
114
+ *
115
+ * @default null
116
+ */
117
+ value?: string;
118
+
119
+ /**
120
+ * Sets the collection of values to be mapped for non-mask elements(literals)
121
+ * which have been set in the mask of MaskedTextBox.
122
+ * In the below example, non-mask elements "P" accepts values
123
+ * "P" , "A" , "p" , "a" and "M" accepts values "M", "m" mentioned in the custom characters collection.
124
+ * > For more information on customCharacters, refer to
125
+ * [customCharacters](../../maskedtextbox/mask-configuration/#custom-characters).
126
+ * {% codeBlock src='maskedtextbox/customCharacters/index.md' %}{% endcodeBlock %}
127
+ *
128
+ * @default null
129
+ */
130
+ customCharacters?: { [x: string]: Object };
131
+
132
+ /**
133
+ * Triggers when the MaskedTextBox component is created.
134
+ *
135
+ * @event created
136
+ */
137
+ created?: EmitType<Object>;
138
+
139
+ /**
140
+ * Triggers when the MaskedTextBox component is destroyed.
141
+ *
142
+ * @event destroyed
143
+ */
144
+ destroyed?: EmitType<Object>;
145
+
146
+ /**
147
+ * Triggers when the value of the MaskedTextBox changes.
148
+ *
149
+ * @event change
150
+ */
151
+ change?: EmitType <MaskChangeEventArgs>;
152
+
153
+ /**
154
+ * Triggers when the MaskedTextBox got focus in.
155
+ *
156
+ * @event focus
157
+ */
158
+ focus?: EmitType<MaskFocusEventArgs>;
159
+
160
+ /**
161
+ * Triggers when the MaskedTextBox got focus out.
162
+ *
163
+ * @event blur
164
+ */
165
+ blur?: EmitType<MaskBlurEventArgs>;
166
+
167
+ }
@@ -0,0 +1,307 @@
1
+ import { Component, EmitType, INotifyPropertyChanged, BaseEventArgs } from '@syncfusion/ej2-base';
2
+ import { FloatLabelType } from '../../input/input';
3
+ import { MaskedTextBoxModel } from './maskedtextbox-model';
4
+ /**
5
+ * The MaskedTextBox allows the user to enter the valid input only based on the provided mask.
6
+ * ```html
7
+ * <input id="mask" type="text" />
8
+ * ```
9
+ * ```typescript
10
+ * <script>
11
+ * var maskObj = new MaskedTextBox({ mask: "(999) 9999-999" });
12
+ * maskObj.appendTo('#mask');
13
+ * </script>
14
+ * ```
15
+ */
16
+ export declare class MaskedTextBox extends Component<HTMLInputElement> implements INotifyPropertyChanged {
17
+ private cloneElement;
18
+ private promptMask;
19
+ private hiddenMask;
20
+ private escapeMaskValue;
21
+ private regExpCollec;
22
+ private customRegExpCollec;
23
+ private maskedRegExp;
24
+ private inputObj;
25
+ private undoCollec;
26
+ private redoCollec;
27
+ private changeEventArgs;
28
+ private focusEventArgs;
29
+ private blurEventArgs;
30
+ private maskKeyPress;
31
+ private angularTagName;
32
+ private prevValue;
33
+ private isFocus;
34
+ private isInitial;
35
+ private isIosInvalid;
36
+ private preEleVal;
37
+ private formElement;
38
+ private initInputValue;
39
+ private maskOptions;
40
+ private preventChange;
41
+ private isClicked;
42
+ private clearButton;
43
+ /**
44
+ * Gets or sets the CSS classes to root element of the MaskedTextBox which helps to customize the
45
+ * complete UI styles for the MaskedTextBox component.
46
+ *
47
+ * @default null
48
+ */
49
+ cssClass: string;
50
+ /**
51
+ * Sets the width of the MaskedTextBox.
52
+ *
53
+ * @default null
54
+ */
55
+ width: number | string;
56
+ /**
57
+ * Gets or sets the string shown as a hint/placeholder when the MaskedTextBox is empty.
58
+ * It acts as a label and floats above the MaskedTextBox based on the
59
+ * <b><a href="#floatlabeltype" target="_blank">floatLabelType.</a></b>
60
+ *
61
+ * @default null
62
+ */
63
+ placeholder: string;
64
+ /**
65
+ * The <b><a href="#placeholder" target="_blank">placeholder</a></b> acts as a label
66
+ * and floats above the MaskedTextBox based on the below values.
67
+ * Possible values are:
68
+ * * Never - The floating label will not be enable when the placeholder is available.
69
+ * * Always - The floating label always floats above the MaskedTextBox.
70
+ * * Auto - The floating label floats above the MaskedTextBox after focusing it or when enters the value in it.
71
+ *
72
+ * @default Never
73
+ */
74
+ floatLabelType: FloatLabelType;
75
+ /**
76
+ * You can add the additional html attributes such as disabled, value etc., to the element.
77
+ * If you configured both property and equivalent html attribute then the component considers the property value.
78
+ * {% codeBlock src='maskedtextbox/htmlAttributes/index.md' %}{% endcodeBlock %}
79
+ *
80
+ * @default {}
81
+ */
82
+ htmlAttributes: {
83
+ [key: string]: string;
84
+ };
85
+ /**
86
+ * Sets a value that enables or disables the MaskedTextBox component.
87
+ *
88
+ * @default true
89
+ */
90
+ enabled: boolean;
91
+ /**
92
+ * Specifies the boolean value whether the Masked TextBox allows the user to change the text.
93
+ *
94
+ * @default false
95
+ */
96
+ readonly: boolean;
97
+ /**
98
+ * Specifies whether to show or hide the clear icon.
99
+ *
100
+ * @default false
101
+ */
102
+ showClearButton: boolean;
103
+ /**
104
+ * Sets a value that enables or disables the persisting state of the MaskedTextBox after reloading the page.
105
+ * If enabled, the 'value' state will be persisted.
106
+ *
107
+ * @default false
108
+ */
109
+ enablePersistence: boolean;
110
+ /**
111
+ * Sets a value that masks the MaskedTextBox to allow/validate the user input.
112
+ * * Mask allows [`standard mask elements`](../../maskedtextbox/mask-configuration/#standard-mask-elements)
113
+ * </b>, <b>[`custom characters`](../../maskedtextbox/mask-configuration/#custom-characters)</b> and
114
+ * <b>[`regular expression`](../../maskedtextbox/mask-configuration/#regular-expression)</b> as mask
115
+ * elements.
116
+ * For more information on mask, refer to
117
+ * [mask](../../maskedtextbox/mask-configuration/#standard-mask-elements).
118
+ * * If the mask value is empty, the MaskedTextBox will behave as an input element with text type.
119
+ *
120
+ * {% codeBlock src='maskedtextbox/mask/index.md' %}{% endcodeBlock %}
121
+ *
122
+ * @default null
123
+ */
124
+ mask: string;
125
+ /**
126
+ * Gets or sets a value that will be shown as a prompting symbol for the masked value.
127
+ * The symbol used to show input positions in the MaskedTextBox.
128
+ * For more information on prompt-character, refer to
129
+ * [prompt-character](../../maskedtextbox/mask-configuration/#prompt-character).
130
+ *
131
+ * @default '_'
132
+ */
133
+ promptChar: string;
134
+ /**
135
+ * Gets or sets the value of the MaskedTextBox. It is a raw value of the MaskedTextBox excluding literals
136
+ * and prompt characters. By using `getMaskedValue` property, you can get the value of MaskedTextBox with the masked format.
137
+ * {% codeBlock src='maskedtextbox/value/index.md' %}{% endcodeBlock %}
138
+ *
139
+ * @default null
140
+ */
141
+ value: string;
142
+ /**
143
+ * Sets the collection of values to be mapped for non-mask elements(literals)
144
+ * which have been set in the mask of MaskedTextBox.
145
+ * In the below example, non-mask elements "P" accepts values
146
+ * "P" , "A" , "p" , "a" and "M" accepts values "M", "m" mentioned in the custom characters collection.
147
+ * > For more information on customCharacters, refer to
148
+ * [customCharacters](../../maskedtextbox/mask-configuration/#custom-characters).
149
+ * {% codeBlock src='maskedtextbox/customCharacters/index.md' %}{% endcodeBlock %}
150
+ *
151
+ * @default null
152
+ */
153
+ customCharacters: {
154
+ [x: string]: Object;
155
+ };
156
+ /**
157
+ * Triggers when the MaskedTextBox component is created.
158
+ *
159
+ * @event created
160
+ */
161
+ created: EmitType<Object>;
162
+ /**
163
+ * Triggers when the MaskedTextBox component is destroyed.
164
+ *
165
+ * @event destroyed
166
+ */
167
+ destroyed: EmitType<Object>;
168
+ /**
169
+ * Triggers when the value of the MaskedTextBox changes.
170
+ *
171
+ * @event change
172
+ */
173
+ change: EmitType<MaskChangeEventArgs>;
174
+ /**
175
+ * Triggers when the MaskedTextBox got focus in.
176
+ *
177
+ * @event focus
178
+ */
179
+ focus: EmitType<MaskFocusEventArgs>;
180
+ /**
181
+ * Triggers when the MaskedTextBox got focus out.
182
+ *
183
+ * @event blur
184
+ */
185
+ blur: EmitType<MaskBlurEventArgs>;
186
+ /**
187
+ *
188
+ * @param {MaskedTextBoxModel} options - Specifies the MaskedTextBox model.
189
+ * @param {string | HTMLElement | HTMLInputElement} element - Specifies the element to render as component.
190
+ * @private
191
+ */
192
+ constructor(options?: MaskedTextBoxModel, element?: string | HTMLElement | HTMLInputElement);
193
+ /**
194
+ * Gets the component name.
195
+ *
196
+ * @returns {string} Returns the component name.
197
+ * @private
198
+ */
199
+ protected getModuleName(): string;
200
+ /**
201
+ * Initializes the event handler
202
+ *
203
+ * @returns {void}
204
+ * @private
205
+ */
206
+ protected preRender(): void;
207
+ /**
208
+ * Gets the properties to be maintained in the persisted state.
209
+ *
210
+ * @returns {string}
211
+ */
212
+ getPersistData(): string;
213
+ /**
214
+ * Initializes the component rendering.
215
+ *
216
+ * @returns {void}
217
+ * @private
218
+ */
219
+ render(): void;
220
+ private updateHTMLAttrToElement;
221
+ private updateCssClass;
222
+ private getValidClassList;
223
+ private updateHTMLAttrToWrapper;
224
+ private resetMaskedTextBox;
225
+ private setMaskPlaceholder;
226
+ private setWidth;
227
+ private checkHtmlAttributes;
228
+ private createWrapper;
229
+ /**
230
+ * Calls internally if any of the property value is changed.
231
+ *
232
+ * @param {MaskedTextBoxModel} newProp - Returns the dynamic property value of the component.
233
+ * @param {MaskedTextBoxModel} oldProp - Returns the previous property value of the component.
234
+ * @returns {void}
235
+ * @hidden
236
+ */
237
+ onPropertyChanged(newProp: MaskedTextBoxModel, oldProp: MaskedTextBoxModel): void;
238
+ private updateValue;
239
+ /**
240
+ * Gets the value of the MaskedTextBox with the masked format.
241
+ * By using `value` property, you can get the raw value of maskedtextbox without literals and prompt characters.
242
+ *
243
+ * @returns {string} Returns the value with the masked format.
244
+ */
245
+ getMaskedValue(): string;
246
+ /**
247
+ * Sets the focus to widget for interaction.
248
+ *
249
+ * @returns {void}
250
+ */
251
+ focusIn(): void;
252
+ /**
253
+ * Remove the focus from widget, if the widget is in focus state.
254
+ *
255
+ * @returns {void}
256
+ */
257
+ focusOut(): void;
258
+ /**
259
+ * Removes the component from the DOM and detaches all its related event handlers.
260
+ * Also it maintains the initial input element from the DOM.
261
+ *
262
+ * @method destroy
263
+ * @returns {void}
264
+ */
265
+ destroy(): void;
266
+ }
267
+ export interface MaskChangeEventArgs extends BaseEventArgs {
268
+ /** Returns the value of the MaskedTextBox with the masked format. */
269
+ maskedValue?: string;
270
+ /** Returns the raw value of MaskedTextBox by removing the prompt characters and literals(non-mask elements)
271
+ * which have been set in the mask of MaskedTextBox.
272
+ */
273
+ value?: string;
274
+ /** Returns true when the value of MaskedTextBox is changed by user interaction. Otherwise, it returns false.
275
+ *
276
+ * @private
277
+ */
278
+ isInteraction?: boolean;
279
+ /** Returns true when the value of MaskedTextBox is changed by user interaction. Otherwise, it returns false */
280
+ isInteracted?: boolean;
281
+ /** Returns the original event arguments. */
282
+ event?: Event;
283
+ }
284
+ export interface MaskFocusEventArgs extends BaseEventArgs {
285
+ /** Returns selectionStart value as zero by default */
286
+ selectionStart?: number;
287
+ /** Returns selectionEnd value depends on mask length */
288
+ selectionEnd?: number;
289
+ /** Returns the original event arguments. */
290
+ event?: MouseEvent | FocusEvent | TouchEvent | KeyboardEvent;
291
+ /** Returns the value of MaskedTextBox. */
292
+ value?: string;
293
+ /** Returns the maskedValue of MaskedTextBox. */
294
+ maskedValue?: string;
295
+ /** Returns the MaskedTextBox container element */
296
+ container?: HTMLElement;
297
+ }
298
+ export interface MaskBlurEventArgs extends BaseEventArgs {
299
+ /** Returns the original event arguments. */
300
+ event?: MouseEvent | FocusEvent | TouchEvent | KeyboardEvent;
301
+ /** Returns the value of MaskedTextBox. */
302
+ value?: string;
303
+ /** Returns the maskedValue of MaskedTextBox. */
304
+ maskedValue?: string;
305
+ /** Returns the MaskedTextBox container element */
306
+ container?: HTMLElement;
307
+ }