@syncfusion/ej2-inputs 27.2.2 → 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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 27.2.2
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.1.58",
3
+ "_id": "@syncfusion/ej2-inputs@27.2.2",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-s75vBdv7AiCW1O5g63F0APf1fqTjDkVNmwHxkw2XJ/LACiwrlKiyOCNGJkLyAEALCW804kFlB6Q+VdXkYK9DBA==",
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.1.58.tgz",
44
- "_shasum": "4a3b02a7205511c8d49c17d382c55e70428ab59e",
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": {
@@ -50,7 +50,7 @@
50
50
  "bundleDependencies": false,
51
51
  "dependencies": {
52
52
  "@syncfusion/ej2-base": "~27.2.2",
53
- "@syncfusion/ej2-buttons": "~27.2.2",
53
+ "@syncfusion/ej2-buttons": "~27.2.4",
54
54
  "@syncfusion/ej2-popups": "~27.2.2",
55
55
  "@syncfusion/ej2-splitbuttons": "~27.2.2"
56
56
  },
@@ -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.2.2",
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.value !== null && this.serverDecimalSeparator) {
785
- this.hiddenInput.value = this.hiddenInput.value.replace('.', this.serverDecimalSeparator);
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 {
@@ -2982,6 +2982,8 @@ var Uploader = /** @class */ (function (_super) {
2982
2982
  };
2983
2983
  this.trigger('beforeUpload', eventArgs, function (eventArgs) {
2984
2984
  if (!eventArgs.cancel) {
2985
+ _this.customFormDatas = (eventArgs.customFormData && eventArgs.customFormData.length > 0) ?
2986
+ eventArgs.customFormData : _this.customFormDatas;
2985
2987
  _this.uploadFiles(uploadFiles_1, custom);
2986
2988
  }
2987
2989
  });
@@ -3087,6 +3089,9 @@ var Uploader = /** @class */ (function (_super) {
3087
3089
  if (eventArgs.cancel) {
3088
3090
  _this.eventCancelByArgs(e, eventArgs, selectedFiles[i]);
3089
3091
  }
3092
+ if (_this.customFormDatas && _this.customFormDatas.length > 0) {
3093
+ _this.updateFormData(formData, _this.customFormDatas);
3094
+ }
3090
3095
  _this.updateFormData(formData, eventArgs.customFormData);
3091
3096
  });
3092
3097
  };