@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.
@@ -29,6 +29,7 @@ var Input;
29
29
  (function (Input) {
30
30
  let floatType;
31
31
  let isBindClearAction = true;
32
+ let floatLabelElement;
32
33
  /**
33
34
  * Create a wrapper to input element with multiple span elements and set the basic properties to input based components.
34
35
  * ```
@@ -176,7 +177,7 @@ var Input;
176
177
  inputObject.container.classList.add(CLASSNAMES.FLOATINPUT);
177
178
  }
178
179
  const floatLinelement = makeElement('span', { className: CLASSNAMES.FLOATLINE });
179
- const floatLabelElement = makeElement('label', { className: CLASSNAMES.FLOATTEXT });
180
+ floatLabelElement = makeElement('label', { className: CLASSNAMES.FLOATTEXT });
180
181
  if (!isNullOrUndefined(args.element.id) && args.element.id !== '') {
181
182
  floatLabelElement.id = 'label_' + args.element.id.replace(/ /g, '_');
182
183
  attributes(args.element, { 'aria-labelledby': floatLabelElement.id });
@@ -343,6 +344,7 @@ var Input;
343
344
  }
344
345
  Input.wireClearBtnEvents = wireClearBtnEvents;
345
346
  function destroy() {
347
+ floatLabelElement = null;
346
348
 
347
349
  }
348
350
  Input.destroy = destroy;
@@ -7104,6 +7106,7 @@ let FormValidator = FormValidator_1 = class FormValidator extends Base {
7104
7106
  detach(element);
7105
7107
  }
7106
7108
  super.destroy();
7109
+ this.infoElement = null;
7107
7110
  onIntlChange.off('notifyExternalChange', this.afterLocalization);
7108
7111
  }
7109
7112
  /**
@@ -7138,7 +7141,7 @@ let FormValidator = FormValidator_1 = class FormValidator extends Base {
7138
7141
  * @returns {string} - Returns the component name.
7139
7142
  */
7140
7143
  getModuleName() {
7141
- return 'formValidator';
7144
+ return 'formvalidator';
7142
7145
  }
7143
7146
  /**
7144
7147
  * @param {any} args - Specifies the culture name.
@@ -9090,6 +9093,10 @@ let Uploader = class Uploader extends Component {
9090
9093
  }
9091
9094
  else {
9092
9095
  this.internalCreateFileList(fileData);
9096
+ if (this.autoUpload && this.sequenceUpload && this.filesData.length > 0 && this.filesData[this.filesData.length - 1].statusCode !== '2') {
9097
+ this.filesData = this.filesData.concat(fileData);
9098
+ return;
9099
+ }
9093
9100
  this.filesData = this.filesData.concat(fileData);
9094
9101
  if (!this.isForm || this.allowUpload()) {
9095
9102
  this.checkAutoUpload(fileData);
@@ -13507,6 +13514,9 @@ let TextBox = class TextBox extends Component {
13507
13514
  const prevOnChange = this.isProtectedOnChange;
13508
13515
  this.isProtectedOnChange = true;
13509
13516
  this.value = value;
13517
+ if (value == null && this.textboxWrapper.container.classList.contains('e-valid-input')) {
13518
+ this.textboxWrapper.container.classList.remove('e-valid-input');
13519
+ }
13510
13520
  this.isProtectedOnChange = prevOnChange;
13511
13521
  }
13512
13522
  resetForm() {
@@ -13859,7 +13869,6 @@ class SignatureBase extends Component {
13859
13869
  this.timeout = null;
13860
13870
  this.isSignatureEmpty = true;
13861
13871
  this.backgroundLoaded = null;
13862
- this.clearArray = [];
13863
13872
  this.isBlazor = false;
13864
13873
  this.isResponsive = false;
13865
13874
  this.signPointsColl = [];
@@ -13874,6 +13883,7 @@ class SignatureBase extends Component {
13874
13883
  * @returns {void}
13875
13884
  */
13876
13885
  initialize(element, dotnetRef) {
13886
+ this.clearArray = [];
13877
13887
  this.element = element;
13878
13888
  this.canvasContext = this.element.getContext('2d');
13879
13889
  this.canvasContext.canvas.tabIndex = -1;