@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.
- package/CHANGELOG.md +26 -0
- 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 +13 -3
- package/dist/es6/ej2-inputs.es2015.js.map +1 -1
- package/dist/es6/ej2-inputs.es5.js +13 -3
- 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/common/signature-base.js +1 -1
- package/src/form-validator/form-validator.js +2 -1
- package/src/input/input.js +3 -1
- package/src/textbox/textbox.js +3 -0
- package/src/uploader/uploader.js +4 -0
|
@@ -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
|
-
|
|
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 '
|
|
7274
|
+
return 'formvalidator';
|
|
7272
7275
|
};
|
|
7273
7276
|
/**
|
|
7274
7277
|
* @param {any} args - Specifies the culture name.
|
|
@@ -9281,6 +9284,10 @@ var Uploader = /** @__PURE__ @class */ (function (_super) {
|
|
|
9281
9284
|
}
|
|
9282
9285
|
else {
|
|
9283
9286
|
this.internalCreateFileList(fileData);
|
|
9287
|
+
if (this.autoUpload && this.sequenceUpload && this.filesData.length > 0 && this.filesData[this.filesData.length - 1].statusCode !== '2') {
|
|
9288
|
+
this.filesData = this.filesData.concat(fileData);
|
|
9289
|
+
return;
|
|
9290
|
+
}
|
|
9284
9291
|
this.filesData = this.filesData.concat(fileData);
|
|
9285
9292
|
if (!this.isForm || this.allowUpload()) {
|
|
9286
9293
|
this.checkAutoUpload(fileData);
|
|
@@ -13783,6 +13790,9 @@ var TextBox = /** @__PURE__ @class */ (function (_super) {
|
|
|
13783
13790
|
var prevOnChange = this.isProtectedOnChange;
|
|
13784
13791
|
this.isProtectedOnChange = true;
|
|
13785
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
|
+
}
|
|
13786
13796
|
this.isProtectedOnChange = prevOnChange;
|
|
13787
13797
|
};
|
|
13788
13798
|
TextBox.prototype.resetForm = function () {
|
|
@@ -14152,7 +14162,6 @@ var SignatureBase = /** @__PURE__ @class */ (function (_super) {
|
|
|
14152
14162
|
_this.timeout = null;
|
|
14153
14163
|
_this.isSignatureEmpty = true;
|
|
14154
14164
|
_this.backgroundLoaded = null;
|
|
14155
|
-
_this.clearArray = [];
|
|
14156
14165
|
_this.isBlazor = false;
|
|
14157
14166
|
_this.isResponsive = false;
|
|
14158
14167
|
_this.signPointsColl = [];
|
|
@@ -14168,6 +14177,7 @@ var SignatureBase = /** @__PURE__ @class */ (function (_super) {
|
|
|
14168
14177
|
* @returns {void}
|
|
14169
14178
|
*/
|
|
14170
14179
|
SignatureBase.prototype.initialize = function (element, dotnetRef) {
|
|
14180
|
+
this.clearArray = [];
|
|
14171
14181
|
this.element = element;
|
|
14172
14182
|
this.canvasContext = this.element.getContext('2d');
|
|
14173
14183
|
this.canvasContext.canvas.tabIndex = -1;
|