@syncfusion/ej2-inputs 27.1.58 → 27.2.4
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/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 +14 -4
- package/dist/es6/ej2-inputs.es2015.js.map +1 -1
- package/dist/es6/ej2-inputs.es5.js +14 -4
- 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 +9 -9
- package/src/numerictextbox/numerictextbox.js +4 -2
- package/src/textarea/textarea.js +1 -1
- package/src/textbox/textbox.js +1 -1
- package/src/uploader/uploader.js +8 -0
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 27.
|
|
3
|
+
* version : 27.2.4
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2023. 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,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-inputs@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-inputs@27.
|
|
3
|
+
"_id": "@syncfusion/ej2-inputs@27.2.2",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-nq91ptVmGbNbhUus/YIQI+3stGjgkRpv+vfIHQkOKq1wjC2+a7F+J5+7qbZw149fWw1nA2WgAXMTxuJtcTZ3PQ==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-inputs",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"/@syncfusion/ej2-schedule",
|
|
41
41
|
"/@syncfusion/ej2-vue-inputs"
|
|
42
42
|
],
|
|
43
|
-
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-inputs/-/ej2-inputs-27.
|
|
44
|
-
"_shasum": "
|
|
43
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-inputs/-/ej2-inputs-27.2.2.tgz",
|
|
44
|
+
"_shasum": "e61a97322e25d835e3b9004e3bdb9b64d66a8e32",
|
|
45
45
|
"_spec": "@syncfusion/ej2-inputs@*",
|
|
46
46
|
"_where": "/jenkins/workspace/elease-automation_release_27.1.1/packages/included",
|
|
47
47
|
"author": {
|
|
@@ -49,10 +49,10 @@
|
|
|
49
49
|
},
|
|
50
50
|
"bundleDependencies": false,
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@syncfusion/ej2-base": "~27.
|
|
53
|
-
"@syncfusion/ej2-buttons": "~27.
|
|
54
|
-
"@syncfusion/ej2-popups": "~27.
|
|
55
|
-
"@syncfusion/ej2-splitbuttons": "~27.
|
|
52
|
+
"@syncfusion/ej2-base": "~27.2.2",
|
|
53
|
+
"@syncfusion/ej2-buttons": "~27.2.4",
|
|
54
|
+
"@syncfusion/ej2-popups": "~27.2.2",
|
|
55
|
+
"@syncfusion/ej2-splitbuttons": "~27.2.2"
|
|
56
56
|
},
|
|
57
57
|
"deprecated": false,
|
|
58
58
|
"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.",
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
"url": "https://github.com/syncfusion/ej2-javascript-ui-controls/tree/master/controls/inputs"
|
|
121
121
|
},
|
|
122
122
|
"typings": "index.d.ts",
|
|
123
|
-
"version": "27.
|
|
123
|
+
"version": "27.2.4",
|
|
124
124
|
"sideEffects": false,
|
|
125
125
|
"homepage": "https://www.syncfusion.com/javascript-ui-controls"
|
|
126
126
|
}
|
|
@@ -781,8 +781,10 @@ var NumericTextBox = /** @class */ (function (_super) {
|
|
|
781
781
|
this.setElementValue(elementValue);
|
|
782
782
|
attributes(this.element, { 'aria-valuenow': value });
|
|
783
783
|
this.hiddenInput.value = this.value.toString();
|
|
784
|
-
if (this.
|
|
785
|
-
this.
|
|
784
|
+
if (!isNullOrUndefined(this.hiddenInput)) {
|
|
785
|
+
if (this.value !== null && this.serverDecimalSeparator) {
|
|
786
|
+
this.hiddenInput.value = this.hiddenInput.value.replace('.', this.serverDecimalSeparator);
|
|
787
|
+
}
|
|
786
788
|
}
|
|
787
789
|
}
|
|
788
790
|
else {
|
package/src/textarea/textarea.js
CHANGED
|
@@ -608,7 +608,7 @@ var TextArea = /** @class */ (function (_super) {
|
|
|
608
608
|
var prevOnChange = this.isProtectedOnChange;
|
|
609
609
|
this.isProtectedOnChange = true;
|
|
610
610
|
this.value = value;
|
|
611
|
-
if (value == null && this.textareaWrapper.container.classList.contains('e-valid-input')) {
|
|
611
|
+
if (value == null && this.textareaWrapper.container.classList.contains('e-valid-input') && !(this.floatLabelType === 'Always' && this.textareaWrapper.container.classList.contains('e-outline'))) {
|
|
612
612
|
this.textareaWrapper.container.classList.remove('e-valid-input');
|
|
613
613
|
}
|
|
614
614
|
this.isProtectedOnChange = prevOnChange;
|
package/src/textbox/textbox.js
CHANGED
|
@@ -384,7 +384,7 @@ var TextBox = /** @class */ (function (_super) {
|
|
|
384
384
|
var prevOnChange = this.isProtectedOnChange;
|
|
385
385
|
this.isProtectedOnChange = true;
|
|
386
386
|
this.value = value;
|
|
387
|
-
if (value == null && this.textboxWrapper.container.classList.contains('e-valid-input')) {
|
|
387
|
+
if (value == null && this.textboxWrapper.container.classList.contains('e-valid-input') && !(this.floatLabelType === 'Always' && this.textboxWrapper.container.classList.contains('e-outline'))) {
|
|
388
388
|
this.textboxWrapper.container.classList.remove('e-valid-input');
|
|
389
389
|
}
|
|
390
390
|
this.isProtectedOnChange = prevOnChange;
|
package/src/uploader/uploader.js
CHANGED
|
@@ -2604,6 +2604,9 @@ var Uploader = /** @class */ (function (_super) {
|
|
|
2604
2604
|
chunkSize: this.asyncSettings.chunkSize
|
|
2605
2605
|
};
|
|
2606
2606
|
this.abortUpload(metaData, custom, eventArgs);
|
|
2607
|
+
if (this.sequentialUpload) {
|
|
2608
|
+
this.uploadSequential();
|
|
2609
|
+
}
|
|
2607
2610
|
};
|
|
2608
2611
|
Uploader.prototype.abortUpload = function (metaData, custom, eventArgs) {
|
|
2609
2612
|
if (metaData.file.statusCode !== '4') {
|
|
@@ -2979,6 +2982,8 @@ var Uploader = /** @class */ (function (_super) {
|
|
|
2979
2982
|
};
|
|
2980
2983
|
this.trigger('beforeUpload', eventArgs, function (eventArgs) {
|
|
2981
2984
|
if (!eventArgs.cancel) {
|
|
2985
|
+
_this.customFormDatas = (eventArgs.customFormData && eventArgs.customFormData.length > 0) ?
|
|
2986
|
+
eventArgs.customFormData : _this.customFormDatas;
|
|
2982
2987
|
_this.uploadFiles(uploadFiles_1, custom);
|
|
2983
2988
|
}
|
|
2984
2989
|
});
|
|
@@ -3084,6 +3089,9 @@ var Uploader = /** @class */ (function (_super) {
|
|
|
3084
3089
|
if (eventArgs.cancel) {
|
|
3085
3090
|
_this.eventCancelByArgs(e, eventArgs, selectedFiles[i]);
|
|
3086
3091
|
}
|
|
3092
|
+
if (_this.customFormDatas && _this.customFormDatas.length > 0) {
|
|
3093
|
+
_this.updateFormData(formData, _this.customFormDatas);
|
|
3094
|
+
}
|
|
3087
3095
|
_this.updateFormData(formData, eventArgs.customFormData);
|
|
3088
3096
|
});
|
|
3089
3097
|
};
|