@syncfusion/ej2-inputs 20.2.45 → 20.2.48
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 +6 -0
- 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 +7 -3
- package/dist/es6/ej2-inputs.es2015.js.map +1 -1
- package/dist/es6/ej2-inputs.es5.js +7 -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 +7 -7
- package/src/input/input.js +1 -1
- package/src/textbox/textbox.js +2 -2
- package/src/uploader/uploader.d.ts +1 -0
- package/src/uploader/uploader.js +4 -0
|
@@ -423,7 +423,7 @@ var Input;
|
|
|
423
423
|
if (container.getElementsByClassName('e-float-text-content')[0].classList.contains('e-float-text-overflow')) {
|
|
424
424
|
container.getElementsByClassName('e-float-text-content')[0].classList.remove('e-float-text-overflow');
|
|
425
425
|
}
|
|
426
|
-
if (element.clientWidth < container.getElementsByClassName('e-float-text-content')[0].clientWidth ||
|
|
426
|
+
if (element.clientWidth < container.getElementsByClassName('e-float-text-content')[0].clientWidth || element.clientWidth === container.getElementsByClassName('e-float-text-content')[0].clientWidth) {
|
|
427
427
|
container.getElementsByClassName('e-float-text-content')[0].classList.add('e-float-text-overflow');
|
|
428
428
|
}
|
|
429
429
|
}
|
|
@@ -7855,6 +7855,7 @@ var Uploader = /** @__PURE__ @class */ (function (_super) {
|
|
|
7855
7855
|
_this.newFileRef = 0;
|
|
7856
7856
|
_this.isFirstFileOnSelection = false;
|
|
7857
7857
|
_this.dragCounter = 0;
|
|
7858
|
+
_this.isAngular = false;
|
|
7858
7859
|
/**
|
|
7859
7860
|
* Get the file item(li) which are shown in file list.
|
|
7860
7861
|
*
|
|
@@ -8918,6 +8919,9 @@ var Uploader = /** @__PURE__ @class */ (function (_super) {
|
|
|
8918
8919
|
targetFiles = [].slice.call(args.target.files);
|
|
8919
8920
|
this.renderSelectedFiles(args, targetFiles);
|
|
8920
8921
|
}
|
|
8922
|
+
if (this.isAngular) {
|
|
8923
|
+
args.stopPropagation();
|
|
8924
|
+
}
|
|
8921
8925
|
};
|
|
8922
8926
|
/* istanbul ignore next */
|
|
8923
8927
|
Uploader.prototype.getBase64 = function (file) {
|
|
@@ -13486,7 +13490,7 @@ var TextBox = /** @__PURE__ @class */ (function (_super) {
|
|
|
13486
13490
|
}
|
|
13487
13491
|
if (!isNullOrUndefined(this.textboxWrapper)) {
|
|
13488
13492
|
var label = this.textboxWrapper.container.querySelector('.e-float-text');
|
|
13489
|
-
if (!isNullOrUndefined(label)) {
|
|
13493
|
+
if (!isNullOrUndefined(label) && this.floatLabelType !== 'Always') {
|
|
13490
13494
|
if ((isNullOrUndefined(this.initialValue) || this.initialValue === '')) {
|
|
13491
13495
|
label.classList.add('e-label-bottom');
|
|
13492
13496
|
label.classList.remove('e-label-top');
|
|
@@ -13508,7 +13512,7 @@ var TextBox = /** @__PURE__ @class */ (function (_super) {
|
|
|
13508
13512
|
};
|
|
13509
13513
|
TextBox.prototype.focusOutHandler = function (args) {
|
|
13510
13514
|
if (!(this.previousValue === null && this.value === null && this.respectiveElement.value === '') &&
|
|
13511
|
-
(this.previousValue !== this.
|
|
13515
|
+
(this.previousValue !== this.value)) {
|
|
13512
13516
|
this.raiseChangeEvent(args, true);
|
|
13513
13517
|
}
|
|
13514
13518
|
var eventArgs = {
|