@syncfusion/ej2-inputs 24.2.7 → 25.1.35

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 (180) hide show
  1. package/CHANGELOG.md +0 -32
  2. package/dist/ej2-inputs.min.js +2 -2
  3. package/dist/ej2-inputs.umd.min.js +2 -2
  4. package/dist/ej2-inputs.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-inputs.es2015.js +1103 -270
  6. package/dist/es6/ej2-inputs.es2015.js.map +1 -1
  7. package/dist/es6/ej2-inputs.es5.js +1129 -275
  8. package/dist/es6/ej2-inputs.es5.js.map +1 -1
  9. package/dist/global/ej2-inputs.min.js +2 -2
  10. package/dist/global/ej2-inputs.min.js.map +1 -1
  11. package/dist/global/index.d.ts +1 -1
  12. package/package.json +10 -10
  13. package/src/color-picker/color-picker.js +10 -1
  14. package/src/common/signature-base.d.ts +1 -0
  15. package/src/common/signature-base.js +4 -3
  16. package/src/index.d.ts +1 -0
  17. package/src/index.js +1 -0
  18. package/src/input/input.d.ts +18 -1
  19. package/src/input/input.js +234 -69
  20. package/src/maskedtextbox/base/mask-base.js +1 -0
  21. package/src/maskedtextbox/maskedtextbox/maskedtextbox.d.ts +1 -0
  22. package/src/maskedtextbox/maskedtextbox/maskedtextbox.js +8 -1
  23. package/src/numerictextbox/numerictextbox.d.ts +1 -0
  24. package/src/numerictextbox/numerictextbox.js +8 -1
  25. package/src/rating/rating.js +1 -0
  26. package/src/signature/signature.js +2 -0
  27. package/src/slider/slider-model.d.ts +3 -2
  28. package/src/slider/slider.d.ts +3 -2
  29. package/src/slider/slider.js +1 -1
  30. package/src/textarea/index.d.ts +5 -0
  31. package/src/textarea/index.js +4 -0
  32. package/src/textarea/textarea-model.d.ts +155 -0
  33. package/src/textarea/textarea.d.ts +231 -0
  34. package/src/textarea/textarea.js +696 -0
  35. package/src/textbox/textbox-model.d.ts +1 -1
  36. package/src/textbox/textbox.d.ts +3 -5
  37. package/src/textbox/textbox.js +21 -57
  38. package/styles/bootstrap-dark.css +69 -8
  39. package/styles/bootstrap-dark.scss +1 -0
  40. package/styles/bootstrap.css +69 -8
  41. package/styles/bootstrap.scss +1 -0
  42. package/styles/bootstrap4.css +69 -8
  43. package/styles/bootstrap4.scss +1 -0
  44. package/styles/bootstrap5-dark.css +69 -8
  45. package/styles/bootstrap5-dark.scss +1 -0
  46. package/styles/bootstrap5.css +69 -8
  47. package/styles/bootstrap5.scss +1 -0
  48. package/styles/color-picker/_bds-definition.scss +133 -0
  49. package/styles/color-picker/icons/_bds.scss +9 -0
  50. package/styles/data-form/_bds-definition.scss +41 -0
  51. package/styles/data-form/_layout.scss +3 -3
  52. package/styles/data-form/bootstrap-dark.css +8 -8
  53. package/styles/data-form/bootstrap.css +8 -8
  54. package/styles/data-form/bootstrap4.css +8 -8
  55. package/styles/data-form/bootstrap5-dark.css +8 -8
  56. package/styles/data-form/bootstrap5.css +8 -8
  57. package/styles/data-form/fabric-dark.css +8 -8
  58. package/styles/data-form/fabric.css +8 -8
  59. package/styles/data-form/fluent-dark.css +8 -8
  60. package/styles/data-form/fluent.css +8 -8
  61. package/styles/data-form/highcontrast-light.css +8 -8
  62. package/styles/data-form/highcontrast.css +8 -8
  63. package/styles/data-form/material-dark.css +8 -8
  64. package/styles/data-form/material.css +8 -8
  65. package/styles/data-form/material3-dark.css +8 -8
  66. package/styles/data-form/material3.css +8 -8
  67. package/styles/data-form/tailwind-dark.css +8 -8
  68. package/styles/data-form/tailwind.css +8 -8
  69. package/styles/fabric-dark.css +69 -8
  70. package/styles/fabric-dark.scss +1 -0
  71. package/styles/fabric.css +69 -8
  72. package/styles/fabric.scss +1 -0
  73. package/styles/fluent-dark.css +69 -8
  74. package/styles/fluent-dark.scss +1 -0
  75. package/styles/fluent.css +69 -8
  76. package/styles/fluent.scss +1 -0
  77. package/styles/highcontrast-light.css +69 -8
  78. package/styles/highcontrast-light.scss +1 -0
  79. package/styles/highcontrast.css +69 -8
  80. package/styles/highcontrast.scss +1 -0
  81. package/styles/input/_bds-definition.scss +482 -0
  82. package/styles/input/icons/_bds.scss +17 -0
  83. package/styles/maskedtextbox/_bds-definition.scss +7 -0
  84. package/styles/material-dark.css +75 -8
  85. package/styles/material-dark.scss +1 -0
  86. package/styles/material.css +83 -8
  87. package/styles/material.scss +1 -0
  88. package/styles/material3-dark.css +83 -8
  89. package/styles/material3-dark.scss +1 -0
  90. package/styles/material3.css +83 -8
  91. package/styles/material3.scss +1 -0
  92. package/styles/numerictextbox/_bds-definition.scss +3 -0
  93. package/styles/numerictextbox/icons/_bds.scss +11 -0
  94. package/styles/rating/_bds-definition.scss +47 -0
  95. package/styles/signature/_bds-definition.scss +3 -0
  96. package/styles/slider/_bds-definition.scss +88 -0
  97. package/styles/tailwind-dark.css +69 -8
  98. package/styles/tailwind-dark.scss +1 -0
  99. package/styles/tailwind.css +69 -8
  100. package/styles/tailwind.scss +1 -0
  101. package/styles/textarea/_all.scss +1 -0
  102. package/styles/textarea/_bds-definition.scss +1 -0
  103. package/styles/textarea/_bootstrap-dark-definition.scss +1 -0
  104. package/styles/textarea/_bootstrap-definition.scss +1 -0
  105. package/styles/textarea/_bootstrap4-definition.scss +1 -0
  106. package/styles/textarea/_bootstrap5-dark-definition.scss +1 -0
  107. package/styles/textarea/_bootstrap5-definition.scss +1 -0
  108. package/styles/textarea/_fabric-dark-definition.scss +1 -0
  109. package/styles/textarea/_fabric-definition.scss +1 -0
  110. package/styles/textarea/_fluent-dark-definition.scss +1 -0
  111. package/styles/textarea/_fluent-definition.scss +1 -0
  112. package/styles/textarea/_fusionnew-definition.scss +1 -0
  113. package/styles/textarea/_highcontrast-definition.scss +1 -0
  114. package/styles/textarea/_highcontrast-light-definition.scss +1 -0
  115. package/styles/textarea/_layout.scss +36 -0
  116. package/styles/textarea/_material-dark-definition.scss +1 -0
  117. package/styles/textarea/_material-definition.scss +1 -0
  118. package/styles/textarea/_material3-dark-definition.scss +1 -0
  119. package/styles/textarea/_material3-definition.scss +1 -0
  120. package/styles/textarea/_tailwind-dark-definition.scss +1 -0
  121. package/styles/textarea/_tailwind-definition.scss +1 -0
  122. package/styles/textarea/_theme.scss +1 -0
  123. package/styles/textarea/bootstrap-dark.css +33 -0
  124. package/styles/textarea/bootstrap-dark.scss +5 -0
  125. package/styles/textarea/bootstrap.css +33 -0
  126. package/styles/textarea/bootstrap.scss +5 -0
  127. package/styles/textarea/bootstrap4.css +33 -0
  128. package/styles/textarea/bootstrap4.scss +5 -0
  129. package/styles/textarea/bootstrap5-dark.css +33 -0
  130. package/styles/textarea/bootstrap5-dark.scss +5 -0
  131. package/styles/textarea/bootstrap5.css +33 -0
  132. package/styles/textarea/bootstrap5.scss +5 -0
  133. package/styles/textarea/fabric-dark.css +33 -0
  134. package/styles/textarea/fabric-dark.scss +5 -0
  135. package/styles/textarea/fabric.css +33 -0
  136. package/styles/textarea/fabric.scss +5 -0
  137. package/styles/textarea/fluent-dark.css +33 -0
  138. package/styles/textarea/fluent-dark.scss +5 -0
  139. package/styles/textarea/fluent.css +33 -0
  140. package/styles/textarea/fluent.scss +5 -0
  141. package/styles/textarea/highcontrast-light.css +33 -0
  142. package/styles/textarea/highcontrast-light.scss +5 -0
  143. package/styles/textarea/highcontrast.css +33 -0
  144. package/styles/textarea/highcontrast.scss +5 -0
  145. package/styles/textarea/material-dark.css +39 -0
  146. package/styles/textarea/material-dark.scss +5 -0
  147. package/styles/textarea/material.css +47 -0
  148. package/styles/textarea/material.scss +5 -0
  149. package/styles/textarea/material3-dark.css +102 -0
  150. package/styles/textarea/material3-dark.scss +6 -0
  151. package/styles/textarea/material3.css +158 -0
  152. package/styles/textarea/material3.scss +6 -0
  153. package/styles/textarea/tailwind-dark.css +33 -0
  154. package/styles/textarea/tailwind-dark.scss +5 -0
  155. package/styles/textarea/tailwind.css +33 -0
  156. package/styles/textarea/tailwind.scss +5 -0
  157. package/styles/textbox/_all.scss +1 -1
  158. package/styles/textbox/_bds-definition.scss +4 -0
  159. package/styles/textbox/_layout.scss +0 -11
  160. package/styles/textbox/bootstrap-dark.css +27 -1
  161. package/styles/textbox/bootstrap.css +27 -1
  162. package/styles/textbox/bootstrap4.css +27 -1
  163. package/styles/textbox/bootstrap5-dark.css +27 -1
  164. package/styles/textbox/bootstrap5.css +27 -1
  165. package/styles/textbox/fabric-dark.css +27 -1
  166. package/styles/textbox/fabric.css +27 -1
  167. package/styles/textbox/fluent-dark.css +27 -1
  168. package/styles/textbox/fluent.css +27 -1
  169. package/styles/textbox/highcontrast-light.css +27 -1
  170. package/styles/textbox/highcontrast.css +27 -1
  171. package/styles/textbox/material-dark.css +27 -1
  172. package/styles/textbox/material.css +27 -1
  173. package/styles/textbox/material3-dark.css +27 -1
  174. package/styles/textbox/material3.css +27 -1
  175. package/styles/textbox/tailwind-dark.css +27 -1
  176. package/styles/textbox/tailwind.css +27 -1
  177. package/styles/uploader/_bds-definition.scss +232 -0
  178. package/styles/uploader/icons/_bds.scss +34 -0
  179. package/textarea.d.ts +4 -0
  180. package/textarea.js +4 -0
@@ -60,6 +60,8 @@ var Signature = /** @class */ (function (_super) {
60
60
  this.initialize();
61
61
  };
62
62
  Signature.prototype.initialize = function () {
63
+ this.element.setAttribute('role', 'img');
64
+ this.element.setAttribute('aria-label', 'signature');
63
65
  addClass([this.element], 'e-' + this.getModuleName());
64
66
  _super.prototype.initialize.call(this, this.element);
65
67
  if (this.enablePersistence) {
@@ -342,9 +342,10 @@ export interface SliderModel extends ComponentModel{
342
342
  cssClass?: string;
343
343
 
344
344
  /**
345
- * Defines whether to allow the cross-scripting site or not.
345
+ * Specifies whether to display or remove the untrusted HTML values in the Slider component.
346
+ * If 'enableHtmlSanitizer' set to true, the component will sanitize any suspected untrusted strings and scripts before rendering them.
346
347
  *
347
- * @default false
348
+ * @default true
348
349
  */
349
350
  enableHtmlSanitizer?: boolean;
350
351
 
@@ -490,9 +490,10 @@ export declare class Slider extends Component<HTMLElement> implements INotifyPro
490
490
  */
491
491
  cssClass: string;
492
492
  /**
493
- * Defines whether to allow the cross-scripting site or not.
493
+ * Specifies whether to display or remove the untrusted HTML values in the Slider component.
494
+ * If 'enableHtmlSanitizer' set to true, the component will sanitize any suspected untrusted strings and scripts before rendering them.
494
495
  *
495
- * @default false
496
+ * @default true
496
497
  */
497
498
  enableHtmlSanitizer: boolean;
498
499
  /**
@@ -2991,7 +2991,7 @@ var Slider = /** @class */ (function (_super) {
2991
2991
  Property('')
2992
2992
  ], Slider.prototype, "cssClass", void 0);
2993
2993
  __decorate([
2994
- Property(false)
2994
+ Property(true)
2995
2995
  ], Slider.prototype, "enableHtmlSanitizer", void 0);
2996
2996
  __decorate([
2997
2997
  Event()
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Uploader modules
3
+ */
4
+ export * from './textarea';
5
+ export * from './textarea-model';
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Uploader modules
3
+ */
4
+ export * from './textarea';
@@ -0,0 +1,155 @@
1
+ import { Component, Property, NotifyPropertyChanges, INotifyPropertyChanged, isNullOrUndefined, setValue, getValue } from '@syncfusion/ej2-base';import { detach, getUniqueID, Event, EventHandler, EmitType, Internationalization, L10n, addClass, removeClass, closest, formatUnit } from '@syncfusion/ej2-base';import { FloatLabelType, Input, InputObject, TEXTBOX_FOCUS } from '../input/input';import { FocusInEventArgs, FocusOutEventArgs, InputEventArgs, ChangedEventArgs } from '../textbox/textbox';
2
+ import {Resize} from "./textarea";
3
+ import {ComponentModel} from '@syncfusion/ej2-base';
4
+
5
+ /**
6
+ * Interface for a class TextArea
7
+ */
8
+ export interface TextAreaModel extends ComponentModel{
9
+
10
+ /**
11
+ * Specifies the boolean value whether the TextArea allows user to change the text.
12
+ *
13
+ * @default false
14
+ */
15
+ readonly?: boolean;
16
+
17
+ /**
18
+ * Sets the content of the TextArea.
19
+ *
20
+ * @default null
21
+ */
22
+ value?: string;
23
+
24
+ /**
25
+ * Specifies the floating label behavior of the TextArea that the placeholder text floats above the TextArea based on the below values.
26
+ * Possible values are:
27
+ * * `Never` - The placeholder text should not be float ever.
28
+ * * `Always` - The placeholder text floats above the TextArea always.
29
+ * * `Auto` - The placeholder text floats above the TextArea while focusing or enter a value in TextArea.
30
+ *
31
+ * @default Never
32
+ */
33
+ floatLabelType?: FloatLabelType;
34
+
35
+ /**
36
+ * Specifies the CSS class value that is appended to wrapper of Textbox.
37
+ *
38
+ * @default ''
39
+ */
40
+ cssClass?: string;
41
+
42
+ /**
43
+ * Specifies the text that is shown as a hint/placeholder until the user focus or enter a value in TextArea.
44
+ * The property is depending on the floatLabelType property.
45
+ *
46
+ * @default null
47
+ */
48
+ placeholder?: string;
49
+
50
+ /**
51
+ * You can add the additional html attributes such as disabled, value etc., to the element.
52
+ * If you configured both property and equivalent html attribute then the component considers the property value.
53
+ *
54
+ * @default {}
55
+ */
56
+ htmlAttributes?: { [key: string]: string };
57
+
58
+ /**
59
+ * Specifies a Boolean value that indicates whether the TextArea allow user to interact with it.
60
+ *
61
+ * @default true
62
+ */
63
+ enabled?: boolean;
64
+
65
+ /**
66
+ * Specifies a Boolean value that indicates whether the clear button is displayed in TextArea.
67
+ *
68
+ * @default false
69
+ */
70
+ showClearButton?: boolean;
71
+
72
+ /**
73
+ * Enable or disable persisting TextArea state between page reloads. If enabled, the `value` state will be persisted.
74
+ *
75
+ * @default false
76
+ */
77
+ enablePersistence?: boolean;
78
+
79
+ /**
80
+ * Specifies the width of the TextArea component.
81
+ *
82
+ * @default null
83
+ */
84
+ width?: number | string;
85
+
86
+ /**
87
+ * Specifies the resize mode of textarea.
88
+ * possible values are:
89
+ * * `Vertical` - The textarea element can be resized vertically.
90
+ * * `Horizontal` - The textarea element can be resized horizontally.
91
+ * * `Both` - The textarea element can be resized both vertically and horizontally.
92
+ * * `None` - The textarea element cannot be resized.
93
+ *
94
+ * @default None
95
+ */
96
+ resizeMode?: Resize;
97
+
98
+ /**
99
+ * Specifies the maximum number of characters allowed in TextArea.
100
+ */
101
+ maxLength?: number;
102
+
103
+ /**
104
+ * specifies the visible width of the textarea, measured in average character widths.
105
+ */
106
+ columnsCount?: number;
107
+
108
+ /**
109
+ * specifies the visible height of the textarea, measured in lines
110
+ */
111
+ rowsCount?: number;
112
+
113
+ /**
114
+ * Triggers when the TextArea component is created.
115
+ *
116
+ * @event created
117
+ */
118
+ created?: EmitType<Object>;
119
+
120
+ /**
121
+ * Triggers when the TextArea component is destroyed.
122
+ *
123
+ * @event destroyed
124
+ */
125
+ destroyed?: EmitType<Object>;
126
+
127
+ /**
128
+ * Triggers when the content of TextArea has changed and gets focus-out.
129
+ *
130
+ * @event change
131
+ */
132
+ change?: EmitType<ChangedEventArgs>;
133
+
134
+ /**
135
+ * Triggers when the TextArea has focus-out.
136
+ *
137
+ * @event blur
138
+ */
139
+ blur?: EmitType<FocusOutEventArgs>;
140
+
141
+ /**
142
+ * Triggers when the TextArea gets focus.
143
+ *
144
+ * @event focus
145
+ */
146
+ focus?: EmitType<FocusInEventArgs>;
147
+
148
+ /**
149
+ * Triggers each time when the value of TextArea has changed.
150
+ *
151
+ * @event input
152
+ */
153
+ input?: EmitType<InputEventArgs>;
154
+
155
+ }
@@ -0,0 +1,231 @@
1
+ import { Component, INotifyPropertyChanged } from '@syncfusion/ej2-base';
2
+ import { EmitType } from '@syncfusion/ej2-base';
3
+ import { FloatLabelType } from '../input/input';
4
+ import { FocusInEventArgs, FocusOutEventArgs, InputEventArgs, ChangedEventArgs } from '../textbox/textbox';
5
+ import { TextAreaModel } from './textarea-model';
6
+ export declare type Resize = 'Vertical' | 'Horizontal' | 'Both' | 'None';
7
+ export declare class TextArea extends Component<HTMLTextAreaElement> implements INotifyPropertyChanged {
8
+ private textareaWrapper;
9
+ private textareaOptions;
10
+ private globalize;
11
+ private l10n;
12
+ private previousValue;
13
+ private formElement;
14
+ private isForm;
15
+ private initialValue;
16
+ private inputPreviousValue;
17
+ private isAngular;
18
+ private isVue;
19
+ private preventChange;
20
+ private clearButton;
21
+ /**
22
+ * Specifies the boolean value whether the TextArea allows user to change the text.
23
+ *
24
+ * @default false
25
+ */
26
+ readonly: boolean;
27
+ /**
28
+ * Sets the content of the TextArea.
29
+ *
30
+ * @default null
31
+ */
32
+ value: string;
33
+ /**
34
+ * Specifies the floating label behavior of the TextArea that the placeholder text floats above the TextArea based on the below values.
35
+ * Possible values are:
36
+ * * `Never` - The placeholder text should not be float ever.
37
+ * * `Always` - The placeholder text floats above the TextArea always.
38
+ * * `Auto` - The placeholder text floats above the TextArea while focusing or enter a value in TextArea.
39
+ *
40
+ * @default Never
41
+ */
42
+ floatLabelType: FloatLabelType;
43
+ /**
44
+ * Specifies the CSS class value that is appended to wrapper of Textbox.
45
+ *
46
+ * @default ''
47
+ */
48
+ cssClass: string;
49
+ /**
50
+ * Specifies the text that is shown as a hint/placeholder until the user focus or enter a value in TextArea.
51
+ * The property is depending on the floatLabelType property.
52
+ *
53
+ * @default null
54
+ */
55
+ placeholder: string;
56
+ /**
57
+ * You can add the additional html attributes such as disabled, value etc., to the element.
58
+ * If you configured both property and equivalent html attribute then the component considers the property value.
59
+ *
60
+ * @default {}
61
+ */
62
+ htmlAttributes: {
63
+ [key: string]: string;
64
+ };
65
+ /**
66
+ * Specifies a Boolean value that indicates whether the TextArea allow user to interact with it.
67
+ *
68
+ * @default true
69
+ */
70
+ enabled: boolean;
71
+ /**
72
+ * Specifies a Boolean value that indicates whether the clear button is displayed in TextArea.
73
+ *
74
+ * @default false
75
+ */
76
+ showClearButton: boolean;
77
+ /**
78
+ * Enable or disable persisting TextArea state between page reloads. If enabled, the `value` state will be persisted.
79
+ *
80
+ * @default false
81
+ */
82
+ enablePersistence: boolean;
83
+ /**
84
+ * Specifies the width of the TextArea component.
85
+ *
86
+ * @default null
87
+ */
88
+ width: number | string;
89
+ /**
90
+ * Specifies the resize mode of textarea.
91
+ * possible values are:
92
+ * * `Vertical` - The textarea element can be resized vertically.
93
+ * * `Horizontal` - The textarea element can be resized horizontally.
94
+ * * `Both` - The textarea element can be resized both vertically and horizontally.
95
+ * * `None` - The textarea element cannot be resized.
96
+ *
97
+ * @default None
98
+ */
99
+ resizeMode: Resize;
100
+ /**
101
+ * Specifies the maximum number of characters allowed in TextArea.
102
+ */
103
+ maxLength: number;
104
+ /**
105
+ * specifies the visible width of the textarea, measured in average character widths.
106
+ */
107
+ columnsCount: number;
108
+ /**
109
+ * specifies the visible height of the textarea, measured in lines
110
+ */
111
+ rowsCount: number;
112
+ /**
113
+ * Triggers when the TextArea component is created.
114
+ *
115
+ * @event created
116
+ */
117
+ created: EmitType<Object>;
118
+ /**
119
+ * Triggers when the TextArea component is destroyed.
120
+ *
121
+ * @event destroyed
122
+ */
123
+ destroyed: EmitType<Object>;
124
+ /**
125
+ * Triggers when the content of TextArea has changed and gets focus-out.
126
+ *
127
+ * @event change
128
+ */
129
+ change: EmitType<ChangedEventArgs>;
130
+ /**
131
+ * Triggers when the TextArea has focus-out.
132
+ *
133
+ * @event blur
134
+ */
135
+ blur: EmitType<FocusOutEventArgs>;
136
+ /**
137
+ * Triggers when the TextArea gets focus.
138
+ *
139
+ * @event focus
140
+ */
141
+ focus: EmitType<FocusInEventArgs>;
142
+ /**
143
+ * Triggers each time when the value of TextArea has changed.
144
+ *
145
+ * @event input
146
+ */
147
+ input: EmitType<InputEventArgs>;
148
+ constructor(options?: TextAreaModel, element?: string | HTMLTextAreaElement);
149
+ /**
150
+ * Calls internally if any of the property value is changed.
151
+ *
152
+ * @param {TextAreaModel} newProp - Returns the dynamic property value of the component.
153
+ * @param {TextAreaModel} oldProp - Returns the previous property value of the component.
154
+ * @returns {void}
155
+ * @private
156
+ */
157
+ onPropertyChanged(newProp: TextAreaModel, oldProp: TextAreaModel): void;
158
+ protected preRender(): void;
159
+ /**
160
+ * To Initialize the control rendering
161
+ *
162
+ * @returns {void}
163
+ * @private
164
+ */
165
+ render(): void;
166
+ getModuleName(): string;
167
+ /**
168
+ * Gets the properties to be maintained in the persisted state.
169
+ *
170
+ */
171
+ getPersistData(): string;
172
+ private checkAttributes;
173
+ private wireEvents;
174
+ private unWireEvents;
175
+ /**
176
+ * Removes the component from the DOM and detaches all its related event handlers.
177
+ * Also, it maintains the initial TextArea element from the DOM.
178
+ *
179
+ * @method destroy
180
+ * @returns {void}
181
+ */
182
+ destroy(): void;
183
+ private focusHandler;
184
+ private focusOutHandler;
185
+ private keydownHandler;
186
+ private inputHandler;
187
+ private changeHandler;
188
+ private raiseChangeEvent;
189
+ private updateHTMLAttributesToWrapper;
190
+ private updateHTMLAttributesToElement;
191
+ private bindClearEvent;
192
+ private resetInputHandler;
193
+ /**
194
+ * Adding the multiple attributes as key-value pair to the TextArea element.
195
+ *
196
+ * @param {string} attributes - Specifies the attributes to be add to TextArea element.
197
+ * @returns {void}
198
+ */
199
+ addAttributes(attributes: {
200
+ [key: string]: string;
201
+ }): void;
202
+ /**
203
+ * Removing the multiple attributes as key-value pair to the TextArea element.
204
+ *
205
+ * @param { string[] } attributes - Specifies the attributes name to be removed from TextArea element.
206
+ * @returns {void}
207
+ */
208
+ removeAttributes(attributes: string[]): void;
209
+ /**
210
+ * Sets the focus to widget for interaction.
211
+ *
212
+ * @returns {void}
213
+ */
214
+ focusIn(): void;
215
+ /**
216
+ * Remove the focus from widget, if the widget is in focus state.
217
+ *
218
+ * @returns {void}
219
+ */
220
+ focusOut(): void;
221
+ /**
222
+ * Sets up the width for the textarea wrapper.
223
+ *
224
+ * @returns {void}
225
+ */
226
+ private setWrapperWidth;
227
+ private resetForm;
228
+ private resetValue;
229
+ private setElementWidth;
230
+ private getCurrentResizeClass;
231
+ }