@syncfusion/ej2-inputs 23.1.42 → 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
  var floatType;
31
31
  var isBindClearAction = true;
32
+ var 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
  var floatLinelement = makeElement('span', { className: CLASSNAMES.FLOATLINE });
179
- var 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 });
@@ -345,6 +346,7 @@ var Input;
345
346
  }
346
347
  Input.wireClearBtnEvents = wireClearBtnEvents;
347
348
  function destroy() {
349
+ floatLabelElement = null;
348
350
 
349
351
  }
350
352
  Input.destroy = destroy;
@@ -7232,6 +7234,7 @@ var FormValidator = /** @__PURE__ @class */ (function (_super) {
7232
7234
  detach(element);
7233
7235
  }
7234
7236
  _super.prototype.destroy.call(this);
7237
+ this.infoElement = null;
7235
7238
  onIntlChange.off('notifyExternalChange', this.afterLocalization);
7236
7239
  };
7237
7240
  /**
@@ -7268,7 +7271,7 @@ var FormValidator = /** @__PURE__ @class */ (function (_super) {
7268
7271
  * @returns {string} - Returns the component name.
7269
7272
  */
7270
7273
  FormValidator.prototype.getModuleName = function () {
7271
- return 'formValidator';
7274
+ return 'formvalidator';
7272
7275
  };
7273
7276
  /**
7274
7277
  * @param {any} args - Specifies the culture name.
@@ -13787,6 +13790,9 @@ var TextBox = /** @__PURE__ @class */ (function (_super) {
13787
13790
  var prevOnChange = this.isProtectedOnChange;
13788
13791
  this.isProtectedOnChange = true;
13789
13792
  this.value = value;
13793
+ if (value == null && this.textboxWrapper.container.classList.contains('e-valid-input')) {
13794
+ this.textboxWrapper.container.classList.remove('e-valid-input');
13795
+ }
13790
13796
  this.isProtectedOnChange = prevOnChange;
13791
13797
  };
13792
13798
  TextBox.prototype.resetForm = function () {
@@ -14156,7 +14162,6 @@ var SignatureBase = /** @__PURE__ @class */ (function (_super) {
14156
14162
  _this.timeout = null;
14157
14163
  _this.isSignatureEmpty = true;
14158
14164
  _this.backgroundLoaded = null;
14159
- _this.clearArray = [];
14160
14165
  _this.isBlazor = false;
14161
14166
  _this.isResponsive = false;
14162
14167
  _this.signPointsColl = [];
@@ -14172,6 +14177,7 @@ var SignatureBase = /** @__PURE__ @class */ (function (_super) {
14172
14177
  * @returns {void}
14173
14178
  */
14174
14179
  SignatureBase.prototype.initialize = function (element, dotnetRef) {
14180
+ this.clearArray = [];
14175
14181
  this.element = element;
14176
14182
  this.canvasContext = this.element.getContext('2d');
14177
14183
  this.canvasContext.canvas.tabIndex = -1;