@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
|
@@ -421,7 +421,7 @@ var Input;
|
|
|
421
421
|
if (container.getElementsByClassName('e-float-text-content')[0].classList.contains('e-float-text-overflow')) {
|
|
422
422
|
container.getElementsByClassName('e-float-text-content')[0].classList.remove('e-float-text-overflow');
|
|
423
423
|
}
|
|
424
|
-
if (element.clientWidth < container.getElementsByClassName('e-float-text-content')[0].clientWidth ||
|
|
424
|
+
if (element.clientWidth < container.getElementsByClassName('e-float-text-content')[0].clientWidth || element.clientWidth === container.getElementsByClassName('e-float-text-content')[0].clientWidth) {
|
|
425
425
|
container.getElementsByClassName('e-float-text-content')[0].classList.add('e-float-text-overflow');
|
|
426
426
|
}
|
|
427
427
|
}
|
|
@@ -7688,6 +7688,7 @@ let Uploader = class Uploader extends Component {
|
|
|
7688
7688
|
this.newFileRef = 0;
|
|
7689
7689
|
this.isFirstFileOnSelection = false;
|
|
7690
7690
|
this.dragCounter = 0;
|
|
7691
|
+
this.isAngular = false;
|
|
7691
7692
|
/**
|
|
7692
7693
|
* Get the file item(li) which are shown in file list.
|
|
7693
7694
|
*
|
|
@@ -8728,6 +8729,9 @@ let Uploader = class Uploader extends Component {
|
|
|
8728
8729
|
targetFiles = [].slice.call(args.target.files);
|
|
8729
8730
|
this.renderSelectedFiles(args, targetFiles);
|
|
8730
8731
|
}
|
|
8732
|
+
if (this.isAngular) {
|
|
8733
|
+
args.stopPropagation();
|
|
8734
|
+
}
|
|
8731
8735
|
}
|
|
8732
8736
|
/* istanbul ignore next */
|
|
8733
8737
|
getBase64(file) {
|
|
@@ -13209,7 +13213,7 @@ let TextBox = class TextBox extends Component {
|
|
|
13209
13213
|
}
|
|
13210
13214
|
if (!isNullOrUndefined(this.textboxWrapper)) {
|
|
13211
13215
|
const label = this.textboxWrapper.container.querySelector('.e-float-text');
|
|
13212
|
-
if (!isNullOrUndefined(label)) {
|
|
13216
|
+
if (!isNullOrUndefined(label) && this.floatLabelType !== 'Always') {
|
|
13213
13217
|
if ((isNullOrUndefined(this.initialValue) || this.initialValue === '')) {
|
|
13214
13218
|
label.classList.add('e-label-bottom');
|
|
13215
13219
|
label.classList.remove('e-label-top');
|
|
@@ -13231,7 +13235,7 @@ let TextBox = class TextBox extends Component {
|
|
|
13231
13235
|
}
|
|
13232
13236
|
focusOutHandler(args) {
|
|
13233
13237
|
if (!(this.previousValue === null && this.value === null && this.respectiveElement.value === '') &&
|
|
13234
|
-
(this.previousValue !== this.
|
|
13238
|
+
(this.previousValue !== this.value)) {
|
|
13235
13239
|
this.raiseChangeEvent(args, true);
|
|
13236
13240
|
}
|
|
13237
13241
|
const eventArgs = {
|