@syncfusion/ej2-inputs 34.2.6 → 34.2.8
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 +6 -3
- 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 +3 -3
- package/dist/es6/ej2-inputs.es2015.js.map +1 -1
- package/dist/es6/ej2-inputs.es5.js +3 -3
- 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 +5 -5
- 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/src/uploader/uploader.js +1 -1
- package/styles/input/_layout.scss +2 -0
- package/styles/input/tailwind3.css +2 -0
- package/styles/tailwind3-lite.css +2 -0
- package/styles/tailwind3.css +2 -0
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.8
|
|
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.8",
|
|
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",
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
"module": "./index.js",
|
|
9
9
|
"es2015": "./dist/es6/ej2-inputs.es5.js",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@syncfusion/ej2-base": "~34.2.
|
|
12
|
-
"@syncfusion/ej2-buttons": "~34.2.
|
|
13
|
-
"@syncfusion/ej2-popups": "~34.2.
|
|
14
|
-
"@syncfusion/ej2-splitbuttons": "~34.2.
|
|
11
|
+
"@syncfusion/ej2-base": "~34.2.8",
|
|
12
|
+
"@syncfusion/ej2-buttons": "~34.2.8",
|
|
13
|
+
"@syncfusion/ej2-popups": "~34.2.8",
|
|
14
|
+
"@syncfusion/ej2-splitbuttons": "~34.2.8"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {},
|
|
17
17
|
"keywords": [
|
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
|
*/
|
package/src/uploader/uploader.js
CHANGED
|
@@ -607,7 +607,7 @@ var Uploader = /** @class */ (function (_super) {
|
|
|
607
607
|
}
|
|
608
608
|
};
|
|
609
609
|
Uploader.prototype.setDropArea = function () {
|
|
610
|
-
var dropTextArea = this.dropAreaWrapper.querySelector('.e-file-drop');
|
|
610
|
+
var dropTextArea = this.dropAreaWrapper && this.dropAreaWrapper.querySelector('.e-file-drop');
|
|
611
611
|
if (this.dropArea) {
|
|
612
612
|
this.dropZoneElement = (typeof (this.dropArea) !== 'string') ? this.dropArea :
|
|
613
613
|
select(this.dropArea, document);
|
|
@@ -2443,6 +2443,7 @@
|
|
|
2443
2443
|
}
|
|
2444
2444
|
|
|
2445
2445
|
@if $input-skin-name == 'tailwind3' {
|
|
2446
|
+
font-weight: 500;
|
|
2446
2447
|
left: 2px;
|
|
2447
2448
|
}
|
|
2448
2449
|
}
|
|
@@ -2488,6 +2489,7 @@
|
|
|
2488
2489
|
@if $input-skin-name == 'tailwind3' {
|
|
2489
2490
|
top: -21px;
|
|
2490
2491
|
left: 2px;
|
|
2492
|
+
font-weight: 500;
|
|
2491
2493
|
}
|
|
2492
2494
|
@else if $input-skin-name == 'fabric' or $input-skin-name == 'FluentUI' or $input-skin-name == 'bootstrap' or $input-skin-name == 'bootstrap4' or $input-skin-name == 'bootstrap5' or $input-skin-name == 'bootstrap5.3' or $input-skin-name == 'highcontrast' or $input-skin-name == 'tailwind' {
|
|
2493
2495
|
top: $float-textarea-small-text-top;
|
|
@@ -1850,6 +1850,7 @@ textarea.e-input.e-small.e-rtl,
|
|
|
1850
1850
|
top: -24px;
|
|
1851
1851
|
-webkit-transform: translate3d(-10px, 6px, 0) scale(0.92);
|
|
1852
1852
|
transform: translate3d(-10px, 6px, 0) scale(0.92);
|
|
1853
|
+
font-weight: 500;
|
|
1853
1854
|
left: 2px;
|
|
1854
1855
|
}
|
|
1855
1856
|
|
|
@@ -1864,6 +1865,7 @@ textarea.e-input.e-small.e-rtl,
|
|
|
1864
1865
|
font-size: 10px;
|
|
1865
1866
|
top: -21px;
|
|
1866
1867
|
left: 2px;
|
|
1868
|
+
font-weight: 500;
|
|
1867
1869
|
}
|
|
1868
1870
|
|
|
1869
1871
|
.e-float-input textarea ~ .e-float-text,
|
|
@@ -1862,6 +1862,7 @@ textarea.e-input.e-small.e-rtl,
|
|
|
1862
1862
|
top: -24px;
|
|
1863
1863
|
-webkit-transform: translate3d(-10px, 6px, 0) scale(0.92);
|
|
1864
1864
|
transform: translate3d(-10px, 6px, 0) scale(0.92);
|
|
1865
|
+
font-weight: 500;
|
|
1865
1866
|
left: 2px;
|
|
1866
1867
|
}
|
|
1867
1868
|
|
|
@@ -1876,6 +1877,7 @@ textarea.e-input.e-small.e-rtl,
|
|
|
1876
1877
|
font-size: 10px;
|
|
1877
1878
|
top: -21px;
|
|
1878
1879
|
left: 2px;
|
|
1880
|
+
font-weight: 500;
|
|
1879
1881
|
}
|
|
1880
1882
|
|
|
1881
1883
|
.e-float-input textarea ~ .e-float-text,
|
package/styles/tailwind3.css
CHANGED
|
@@ -1862,6 +1862,7 @@ textarea.e-input.e-small.e-rtl,
|
|
|
1862
1862
|
top: -24px;
|
|
1863
1863
|
-webkit-transform: translate3d(-10px, 6px, 0) scale(0.92);
|
|
1864
1864
|
transform: translate3d(-10px, 6px, 0) scale(0.92);
|
|
1865
|
+
font-weight: 500;
|
|
1865
1866
|
left: 2px;
|
|
1866
1867
|
}
|
|
1867
1868
|
|
|
@@ -1876,6 +1877,7 @@ textarea.e-input.e-small.e-rtl,
|
|
|
1876
1877
|
font-size: 10px;
|
|
1877
1878
|
top: -21px;
|
|
1878
1879
|
left: 2px;
|
|
1880
|
+
font-weight: 500;
|
|
1879
1881
|
}
|
|
1880
1882
|
|
|
1881
1883
|
.e-float-input textarea ~ .e-float-text,
|