@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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 20.2.45
3
+ * version : 20.2.48
4
4
  * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-inputs@*",
3
- "_id": "@syncfusion/ej2-inputs@20.2.43",
3
+ "_id": "@syncfusion/ej2-inputs@20.2.45",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-RN1/O4fqajsrGPKrRFIXYwhNZc2BAgWo89LM92zDuMqG2BY+f0RnA9JjJIHXOIniSk3Fsw24Y4ZrQdrc/CIoeQ==",
5
+ "_integrity": "sha512-tHprHgofQjfmkC/OjBnYM+/EqPWqAD7nbo9WSCNFmMt8FJKC3nX8iqWec23Q32FdVRHRwIIJ6ZngI/+AO6Q5Rg==",
6
6
  "_location": "/@syncfusion/ej2-inputs",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -38,8 +38,8 @@
38
38
  "/@syncfusion/ej2-schedule",
39
39
  "/@syncfusion/ej2-vue-inputs"
40
40
  ],
41
- "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-inputs/-/ej2-inputs-20.2.43.tgz",
42
- "_shasum": "2b283a270c01058bfe450b49f9747180b29a3057",
41
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-inputs/-/ej2-inputs-20.2.45.tgz",
42
+ "_shasum": "1aeb2e6ef5c1df6754829f547f2ceca0ae9e5c32",
43
43
  "_spec": "@syncfusion/ej2-inputs@*",
44
44
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
45
45
  "author": {
@@ -47,8 +47,8 @@
47
47
  },
48
48
  "bundleDependencies": false,
49
49
  "dependencies": {
50
- "@syncfusion/ej2-base": "~20.2.45",
51
- "@syncfusion/ej2-buttons": "~20.2.45",
50
+ "@syncfusion/ej2-base": "~20.2.48",
51
+ "@syncfusion/ej2-buttons": "~20.2.46",
52
52
  "@syncfusion/ej2-popups": "~20.2.45",
53
53
  "@syncfusion/ej2-splitbuttons": "~20.2.45"
54
54
  },
@@ -118,6 +118,6 @@
118
118
  "url": "https://github.com/syncfusion/ej2-javascript-ui-controls/tree/master/controls/inputs"
119
119
  },
120
120
  "typings": "index.d.ts",
121
- "version": "20.2.45",
121
+ "version": "20.2.48",
122
122
  "sideEffects": false
123
123
  }
@@ -427,7 +427,7 @@ export var Input;
427
427
  if (container.getElementsByClassName('e-float-text-content')[0].classList.contains('e-float-text-overflow')) {
428
428
  container.getElementsByClassName('e-float-text-content')[0].classList.remove('e-float-text-overflow');
429
429
  }
430
- if (element.clientWidth < container.getElementsByClassName('e-float-text-content')[0].clientWidth || container.getElementsByClassName('e-control')[0].clientWidth === container.getElementsByClassName('e-float-text-content')[0].clientWidth) {
430
+ if (element.clientWidth < container.getElementsByClassName('e-float-text-content')[0].clientWidth || element.clientWidth === container.getElementsByClassName('e-float-text-content')[0].clientWidth) {
431
431
  container.getElementsByClassName('e-float-text-content')[0].classList.add('e-float-text-overflow');
432
432
  }
433
433
  }
@@ -427,7 +427,7 @@ var TextBox = /** @class */ (function (_super) {
427
427
  }
428
428
  if (!isNullOrUndefined(this.textboxWrapper)) {
429
429
  var label = this.textboxWrapper.container.querySelector('.e-float-text');
430
- if (!isNullOrUndefined(label)) {
430
+ if (!isNullOrUndefined(label) && this.floatLabelType !== 'Always') {
431
431
  if ((isNullOrUndefined(this.initialValue) || this.initialValue === '')) {
432
432
  label.classList.add('e-label-bottom');
433
433
  label.classList.remove('e-label-top');
@@ -449,7 +449,7 @@ var TextBox = /** @class */ (function (_super) {
449
449
  };
450
450
  TextBox.prototype.focusOutHandler = function (args) {
451
451
  if (!(this.previousValue === null && this.value === null && this.respectiveElement.value === '') &&
452
- (this.previousValue !== this.respectiveElement.value)) {
452
+ (this.previousValue !== this.value)) {
453
453
  this.raiseChangeEvent(args, true);
454
454
  }
455
455
  var eventArgs = {
@@ -518,6 +518,7 @@ export declare class Uploader extends Component<HTMLInputElement> implements INo
518
518
  private isFirstFileOnSelection;
519
519
  private dragCounter;
520
520
  private isPreloadFiles;
521
+ private isAngular;
521
522
  /**
522
523
  * Get the file item(li) which are shown in file list.
523
524
  *
@@ -163,6 +163,7 @@ var Uploader = /** @class */ (function (_super) {
163
163
  _this.newFileRef = 0;
164
164
  _this.isFirstFileOnSelection = false;
165
165
  _this.dragCounter = 0;
166
+ _this.isAngular = false;
166
167
  /**
167
168
  * Get the file item(li) which are shown in file list.
168
169
  *
@@ -1226,6 +1227,9 @@ var Uploader = /** @class */ (function (_super) {
1226
1227
  targetFiles = [].slice.call(args.target.files);
1227
1228
  this.renderSelectedFiles(args, targetFiles);
1228
1229
  }
1230
+ if (this.isAngular) {
1231
+ args.stopPropagation();
1232
+ }
1229
1233
  };
1230
1234
  /* istanbul ignore next */
1231
1235
  Uploader.prototype.getBase64 = function (file) {