@syncfusion/ej2-inputs 34.2.6 → 34.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -1
- package/dist/ej2-inputs.min.js +2 -2
- package/dist/ej2-inputs.umd.min.js +2 -2
- package/dist/ej2-inputs.umd.min.js.map +1 -1
- package/dist/es6/ej2-inputs.es2015.js +2 -2
- package/dist/es6/ej2-inputs.es2015.js.map +1 -1
- package/dist/es6/ej2-inputs.es5.js +2 -2
- package/dist/es6/ej2-inputs.es5.js.map +1 -1
- package/dist/global/ej2-inputs.min.js +2 -2
- package/dist/global/ej2-inputs.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/input/input.js +1 -1
- package/src/maskedtextbox/maskedtextbox/maskedtextbox-model.d.ts +11 -8
- package/src/maskedtextbox/maskedtextbox/maskedtextbox.d.ts +11 -8
- package/src/maskedtextbox/maskedtextbox/maskedtextbox.js +1 -1
- package/src/numerictextbox/numerictextbox-model.d.ts +1 -10
- package/src/numerictextbox/numerictextbox.d.ts +1 -10
- package/src/uploader/uploader-model.d.ts +1 -1
- package/src/uploader/uploader.d.ts +1 -1
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 34.2.
|
|
3
|
+
* version : 34.2.7
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2025. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@syncfusion/ej2-inputs",
|
|
3
|
-
"version": "34.2.
|
|
3
|
+
"version": "34.2.7",
|
|
4
4
|
"description": "A package of Essential JS 2 input components such as Textbox, Color-picker, Masked-textbox, Numeric-textbox, Slider, Upload, and Form-validator that is used to get input from the users.",
|
|
5
5
|
"author": "Syncfusion Inc.",
|
|
6
6
|
"license": "SEE LICENSE IN license",
|
package/src/input/input.js
CHANGED
|
@@ -653,7 +653,7 @@ export var Input;
|
|
|
653
653
|
function setPlaceholder(placeholder, element, moduleName) {
|
|
654
654
|
var modules = [
|
|
655
655
|
'textbox', 'numerictextbox', 'textarea', 'combobox',
|
|
656
|
-
'datepicker', 'daterangepicker', 'datetimepicker'
|
|
656
|
+
'datepicker', 'daterangepicker', 'datetimepicker', 'maskedtextbox'
|
|
657
657
|
];
|
|
658
658
|
placeholder = encodePlaceHolder(placeholder);
|
|
659
659
|
var parentElement = getParentNode(element);
|
|
@@ -82,14 +82,17 @@ export interface MaskedTextBoxModel extends ComponentModel{
|
|
|
82
82
|
enablePersistence?: boolean;
|
|
83
83
|
|
|
84
84
|
/**
|
|
85
|
-
* Sets a value that masks the MaskedTextBox to allow
|
|
86
|
-
*
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
*
|
|
85
|
+
* Sets a value that masks the MaskedTextBox to allow or validate user input.
|
|
86
|
+
*
|
|
87
|
+
* Mask supports
|
|
88
|
+
* [`standard mask elements`](../../maskedtextbox/mask-configuration#standard-mask-elements),
|
|
89
|
+
* [`custom characters`](../../maskedtextbox/mask-configuration#custom-characters) snd
|
|
90
|
+
* [`regular expression`](../../maskedtextbox/mask-configuration#regular-expression)
|
|
91
|
+
* as mask elements.
|
|
92
|
+
*
|
|
93
|
+
* For more information, refer to the [mask](../../maskedtextbox/mask-configuration#standard-mask-elements) documentation.
|
|
94
|
+
*
|
|
95
|
+
* If the `mask` value is empty, the MaskedTextBox behaves as an input element with text type.
|
|
93
96
|
*
|
|
94
97
|
* {% codeBlock src='maskedtextbox/mask/index.md' %}{% endcodeBlock %}
|
|
95
98
|
*
|
|
@@ -111,14 +111,17 @@ export declare class MaskedTextBox extends Component<HTMLInputElement> implement
|
|
|
111
111
|
*/
|
|
112
112
|
enablePersistence: boolean;
|
|
113
113
|
/**
|
|
114
|
-
* Sets a value that masks the MaskedTextBox to allow
|
|
115
|
-
*
|
|
116
|
-
*
|
|
117
|
-
*
|
|
118
|
-
*
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
*
|
|
114
|
+
* Sets a value that masks the MaskedTextBox to allow or validate user input.
|
|
115
|
+
*
|
|
116
|
+
* Mask supports
|
|
117
|
+
* [`standard mask elements`](../../maskedtextbox/mask-configuration#standard-mask-elements),
|
|
118
|
+
* [`custom characters`](../../maskedtextbox/mask-configuration#custom-characters) snd
|
|
119
|
+
* [`regular expression`](../../maskedtextbox/mask-configuration#regular-expression)
|
|
120
|
+
* as mask elements.
|
|
121
|
+
*
|
|
122
|
+
* For more information, refer to the [mask](../../maskedtextbox/mask-configuration#standard-mask-elements) documentation.
|
|
123
|
+
*
|
|
124
|
+
* If the `mask` value is empty, the MaskedTextBox behaves as an input element with text type.
|
|
122
125
|
*
|
|
123
126
|
* {% codeBlock src='maskedtextbox/mask/index.md' %}{% endcodeBlock %}
|
|
124
127
|
*
|
|
@@ -240,7 +240,7 @@ var MaskedTextBox = /** @class */ (function (_super) {
|
|
|
240
240
|
};
|
|
241
241
|
MaskedTextBox.prototype.setMaskPlaceholder = function (setVal, dynamicPlaceholder) {
|
|
242
242
|
if (dynamicPlaceholder || this.placeholder) {
|
|
243
|
-
Input.setPlaceholder(this.placeholder, this.element);
|
|
243
|
+
Input.setPlaceholder(this.placeholder, this.element, this.getModuleName());
|
|
244
244
|
if ((this.element.value === this.promptMask && setVal && this.floatLabelType !== 'Always') ||
|
|
245
245
|
this.element.value === this.promptMask && this.floatLabelType === 'Never') {
|
|
246
246
|
setElementValue.call(this, '');
|
|
@@ -26,8 +26,6 @@ export interface NumericTextBoxModel extends ComponentModel{
|
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
28
|
* Specifies a minimum value that is allowed a user can enter.
|
|
29
|
-
* For more information on min, refer to
|
|
30
|
-
* [min](../../numerictextbox/getting-started/#range-validation).
|
|
31
29
|
*
|
|
32
30
|
* @default null
|
|
33
31
|
* @aspType object
|
|
@@ -38,8 +36,6 @@ export interface NumericTextBoxModel extends ComponentModel{
|
|
|
38
36
|
|
|
39
37
|
/**
|
|
40
38
|
* Specifies a maximum value that is allowed a user can enter.
|
|
41
|
-
* For more information on max, refer to
|
|
42
|
-
* [max](../../numerictextbox/getting-started/#range-validation).
|
|
43
39
|
*
|
|
44
40
|
* @default null
|
|
45
41
|
* @aspType object
|
|
@@ -50,8 +46,6 @@ export interface NumericTextBoxModel extends ComponentModel{
|
|
|
50
46
|
|
|
51
47
|
/**
|
|
52
48
|
* Specifies the incremental or decremental step size for the NumericTextBox.
|
|
53
|
-
* For more information on step, refer to
|
|
54
|
-
* [step](../../numerictextbox/getting-started/#range-validation).
|
|
55
49
|
*
|
|
56
50
|
* @default 1
|
|
57
51
|
* @isGenericType true
|
|
@@ -121,8 +115,7 @@ export interface NumericTextBoxModel extends ComponentModel{
|
|
|
121
115
|
|
|
122
116
|
/**
|
|
123
117
|
* Specifies the number format that indicates the display format for the value of the NumericTextBox.
|
|
124
|
-
* For more information on formats, refer to
|
|
125
|
-
* [formats](../../numerictextbox/formats/#standard-formats).
|
|
118
|
+
* For more information on formats, refer to [formats](../../numerictextbox/formats#standard-formats).
|
|
126
119
|
*
|
|
127
120
|
* @default 'n2'
|
|
128
121
|
*/
|
|
@@ -130,8 +123,6 @@ export interface NumericTextBoxModel extends ComponentModel{
|
|
|
130
123
|
|
|
131
124
|
/**
|
|
132
125
|
* Specifies the number precision applied to the textbox value when the NumericTextBox is focused.
|
|
133
|
-
* For more information on decimals, refer to
|
|
134
|
-
* [decimals](../../numerictextbox/formats/#precision-of-numbers).
|
|
135
126
|
*
|
|
136
127
|
* @default null
|
|
137
128
|
*/
|
|
@@ -72,8 +72,6 @@ export declare class NumericTextBox extends Component<HTMLInputElement> implemen
|
|
|
72
72
|
value: number;
|
|
73
73
|
/**
|
|
74
74
|
* Specifies a minimum value that is allowed a user can enter.
|
|
75
|
-
* For more information on min, refer to
|
|
76
|
-
* [min](../../numerictextbox/getting-started/#range-validation).
|
|
77
75
|
*
|
|
78
76
|
* @default null
|
|
79
77
|
* @aspType object
|
|
@@ -83,8 +81,6 @@ export declare class NumericTextBox extends Component<HTMLInputElement> implemen
|
|
|
83
81
|
min: number;
|
|
84
82
|
/**
|
|
85
83
|
* Specifies a maximum value that is allowed a user can enter.
|
|
86
|
-
* For more information on max, refer to
|
|
87
|
-
* [max](../../numerictextbox/getting-started/#range-validation).
|
|
88
84
|
*
|
|
89
85
|
* @default null
|
|
90
86
|
* @aspType object
|
|
@@ -94,8 +90,6 @@ export declare class NumericTextBox extends Component<HTMLInputElement> implemen
|
|
|
94
90
|
max: number;
|
|
95
91
|
/**
|
|
96
92
|
* Specifies the incremental or decremental step size for the NumericTextBox.
|
|
97
|
-
* For more information on step, refer to
|
|
98
|
-
* [step](../../numerictextbox/getting-started/#range-validation).
|
|
99
93
|
*
|
|
100
94
|
* @default 1
|
|
101
95
|
* @isGenericType true
|
|
@@ -158,16 +152,13 @@ export declare class NumericTextBox extends Component<HTMLInputElement> implemen
|
|
|
158
152
|
enablePersistence: boolean;
|
|
159
153
|
/**
|
|
160
154
|
* Specifies the number format that indicates the display format for the value of the NumericTextBox.
|
|
161
|
-
* For more information on formats, refer to
|
|
162
|
-
* [formats](../../numerictextbox/formats/#standard-formats).
|
|
155
|
+
* For more information on formats, refer to [formats](../../numerictextbox/formats#standard-formats).
|
|
163
156
|
*
|
|
164
157
|
* @default 'n2'
|
|
165
158
|
*/
|
|
166
159
|
format: string;
|
|
167
160
|
/**
|
|
168
161
|
* Specifies the number precision applied to the textbox value when the NumericTextBox is focused.
|
|
169
|
-
* For more information on decimals, refer to
|
|
170
|
-
* [decimals](../../numerictextbox/formats/#precision-of-numbers).
|
|
171
162
|
*
|
|
172
163
|
* @default null
|
|
173
164
|
*/
|
|
@@ -229,7 +229,7 @@ export interface UploaderModel extends ComponentModel{
|
|
|
229
229
|
* Specifies the drop target to handle the drag-and-drop upload.
|
|
230
230
|
* By default, the component creates wrapper around file input that will act as drop target.
|
|
231
231
|
*
|
|
232
|
-
* > For more information, refer to the [drag-and-drop](../../uploader/file-source
|
|
232
|
+
* > For more information, refer to the [drag-and-drop](../../uploader/file-source#drag-and-drop) section from the documentation.
|
|
233
233
|
*
|
|
234
234
|
* @default null
|
|
235
235
|
*/
|
|
@@ -642,7 +642,7 @@ export declare class Uploader extends Component<HTMLInputElement> implements INo
|
|
|
642
642
|
* Specifies the drop target to handle the drag-and-drop upload.
|
|
643
643
|
* By default, the component creates wrapper around file input that will act as drop target.
|
|
644
644
|
*
|
|
645
|
-
* > For more information, refer to the [drag-and-drop](../../uploader/file-source
|
|
645
|
+
* > For more information, refer to the [drag-and-drop](../../uploader/file-source#drag-and-drop) section from the documentation.
|
|
646
646
|
*
|
|
647
647
|
* @default null
|
|
648
648
|
*/
|