@syncfusion/ej2-inputs 23.1.40 → 23.1.43

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 : 23.1.40
3
+ * version : 23.1.43
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@23.1.38",
3
+ "_id": "@syncfusion/ej2-inputs@23.1.42",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-EbHPbmalX1DHJymGVT2z6ExXybFizihqUEzMrtRUW6/opTL6v8EGVLcpIZjyzgGMHdMEqwdk0xNQ5NyoAt/Wpw==",
5
+ "_integrity": "sha512-zEb/Qlyz+qDtXYmEitu2onThu6JuTHVSsC2UOFWhKf3J1ESiLQmI0B7hSEwVcBChF1+X0f9FyVM2i9hYFa1V4A==",
6
6
  "_location": "/@syncfusion/ej2-inputs",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -39,8 +39,8 @@
39
39
  "/@syncfusion/ej2-schedule",
40
40
  "/@syncfusion/ej2-vue-inputs"
41
41
  ],
42
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-inputs/-/ej2-inputs-23.1.38.tgz",
43
- "_shasum": "69ae68a7923969cfe50533c23774baa8ea98002c",
42
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-inputs/-/ej2-inputs-23.1.42.tgz",
43
+ "_shasum": "a27995cf896af91c2a50871e2a0182b82956b316",
44
44
  "_spec": "@syncfusion/ej2-inputs@*",
45
45
  "_where": "/jenkins/workspace/elease-automation_release_23.1.1/packages/included",
46
46
  "author": {
@@ -48,10 +48,10 @@
48
48
  },
49
49
  "bundleDependencies": false,
50
50
  "dependencies": {
51
- "@syncfusion/ej2-base": "~23.1.38",
52
- "@syncfusion/ej2-buttons": "~23.1.39",
53
- "@syncfusion/ej2-popups": "~23.1.38",
54
- "@syncfusion/ej2-splitbuttons": "~23.1.36"
51
+ "@syncfusion/ej2-base": "~23.1.41",
52
+ "@syncfusion/ej2-buttons": "~23.1.43",
53
+ "@syncfusion/ej2-popups": "~23.1.43",
54
+ "@syncfusion/ej2-splitbuttons": "~23.1.43"
55
55
  },
56
56
  "deprecated": false,
57
57
  "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.",
@@ -119,7 +119,7 @@
119
119
  "url": "https://github.com/syncfusion/ej2-javascript-ui-controls/tree/master/controls/inputs"
120
120
  },
121
121
  "typings": "index.d.ts",
122
- "version": "23.1.40",
122
+ "version": "23.1.43",
123
123
  "sideEffects": false,
124
124
  "homepage": "https://www.syncfusion.com/javascript-ui-controls"
125
125
  }
@@ -25,7 +25,6 @@ var SignatureBase = /** @class */ (function (_super) {
25
25
  _this.timeout = null;
26
26
  _this.isSignatureEmpty = true;
27
27
  _this.backgroundLoaded = null;
28
- _this.clearArray = [];
29
28
  _this.isBlazor = false;
30
29
  _this.isResponsive = false;
31
30
  _this.signPointsColl = [];
@@ -41,6 +40,7 @@ var SignatureBase = /** @class */ (function (_super) {
41
40
  * @returns {void}
42
41
  */
43
42
  SignatureBase.prototype.initialize = function (element, dotnetRef) {
43
+ this.clearArray = [];
44
44
  this.element = element;
45
45
  this.canvasContext = this.element.getContext('2d');
46
46
  this.canvasContext.canvas.tabIndex = -1;
@@ -241,6 +241,7 @@ var FormValidator = /** @class */ (function (_super) {
241
241
  detach(element);
242
242
  }
243
243
  _super.prototype.destroy.call(this);
244
+ this.infoElement = null;
244
245
  onIntlChange.off('notifyExternalChange', this.afterLocalization);
245
246
  };
246
247
  /**
@@ -277,7 +278,7 @@ var FormValidator = /** @class */ (function (_super) {
277
278
  * @returns {string} - Returns the component name.
278
279
  */
279
280
  FormValidator.prototype.getModuleName = function () {
280
- return 'formValidator';
281
+ return 'formvalidator';
281
282
  };
282
283
  /**
283
284
  * @param {any} args - Specifies the culture name.
@@ -32,6 +32,7 @@ export var Input;
32
32
  };
33
33
  var floatType;
34
34
  var isBindClearAction = true;
35
+ var floatLabelElement;
35
36
  /**
36
37
  * Create a wrapper to input element with multiple span elements and set the basic properties to input based components.
37
38
  * ```
@@ -180,7 +181,7 @@ export var Input;
180
181
  inputObject.container.classList.add(CLASSNAMES.FLOATINPUT);
181
182
  }
182
183
  var floatLinelement = makeElement('span', { className: CLASSNAMES.FLOATLINE });
183
- var floatLabelElement = makeElement('label', { className: CLASSNAMES.FLOATTEXT });
184
+ floatLabelElement = makeElement('label', { className: CLASSNAMES.FLOATTEXT });
184
185
  if (!isNullOrUndefined(args.element.id) && args.element.id !== '') {
185
186
  floatLabelElement.id = 'label_' + args.element.id.replace(/ /g, '_');
186
187
  attributes(args.element, { 'aria-labelledby': floatLabelElement.id });
@@ -349,6 +350,7 @@ export var Input;
349
350
  }
350
351
  Input.wireClearBtnEvents = wireClearBtnEvents;
351
352
  function destroy() {
353
+ floatLabelElement = null;
352
354
  privateInputObj = null;
353
355
  }
354
356
  Input.destroy = destroy;
@@ -420,6 +420,9 @@ var TextBox = /** @class */ (function (_super) {
420
420
  var prevOnChange = this.isProtectedOnChange;
421
421
  this.isProtectedOnChange = true;
422
422
  this.value = value;
423
+ if (value == null && this.textboxWrapper.container.classList.contains('e-valid-input')) {
424
+ this.textboxWrapper.container.classList.remove('e-valid-input');
425
+ }
423
426
  this.isProtectedOnChange = prevOnChange;
424
427
  };
425
428
  TextBox.prototype.resetForm = function () {
@@ -1372,6 +1372,10 @@ var Uploader = /** @class */ (function (_super) {
1372
1372
  }
1373
1373
  else {
1374
1374
  this.internalCreateFileList(fileData);
1375
+ if (this.autoUpload && this.sequenceUpload && this.filesData.length > 0 && this.filesData[this.filesData.length - 1].statusCode !== '2') {
1376
+ this.filesData = this.filesData.concat(fileData);
1377
+ return;
1378
+ }
1375
1379
  this.filesData = this.filesData.concat(fileData);
1376
1380
  if (!this.isForm || this.allowUpload()) {
1377
1381
  this.checkAutoUpload(fileData);