@syncfusion/ej2-inputs 20.3.47 → 20.3.49

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.3.47
3
+ * version : 20.3.49
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@18.50.1",
3
+ "_id": "@syncfusion/ej2-inputs@20.3.47",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-/s5V0PzkSkE98m/Rtg/L8T2qoJ5uwoDJ6xpZIQTFJuoQAbXiExTs9ndlpwTUIOQmP9x1wZpUw5YH3E/ox6r4dw==",
5
+ "_integrity": "sha512-JZw8Cr45+VnPtzPrMCD9XDmT7uSMXTRDlYEFslpoacRJBjQtYGHopdpSgHFjS9dFVI+B3yYnegaythQqiQe4vQ==",
6
6
  "_location": "/@syncfusion/ej2-inputs",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -39,8 +39,8 @@
39
39
  "/@syncfusion/ej2-schedule",
40
40
  "/@syncfusion/ej2-vue-inputs"
41
41
  ],
42
- "_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-inputs/-/ej2-inputs-18.50.1.tgz",
43
- "_shasum": "6f0814e17792f89768725b9f648b98f0f7933274",
42
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-inputs/-/ej2-inputs-20.3.47.tgz",
43
+ "_shasum": "0b0e13fbcd06d878e616bf4864bae7aa460f03ea",
44
44
  "_spec": "@syncfusion/ej2-inputs@*",
45
45
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
46
46
  "author": {
@@ -48,9 +48,9 @@
48
48
  },
49
49
  "bundleDependencies": false,
50
50
  "dependencies": {
51
- "@syncfusion/ej2-base": "~20.3.47",
52
- "@syncfusion/ej2-buttons": "~20.3.47",
53
- "@syncfusion/ej2-popups": "~20.3.47",
51
+ "@syncfusion/ej2-base": "~20.3.49",
52
+ "@syncfusion/ej2-buttons": "~20.3.49",
53
+ "@syncfusion/ej2-popups": "~20.3.49",
54
54
  "@syncfusion/ej2-splitbuttons": "~20.3.47"
55
55
  },
56
56
  "deprecated": false,
@@ -119,6 +119,6 @@
119
119
  "url": "https://github.com/syncfusion/ej2-javascript-ui-controls/tree/master/controls/inputs"
120
120
  },
121
121
  "typings": "index.d.ts",
122
- "version": "20.3.47",
122
+ "version": "20.3.49",
123
123
  "sideEffects": false
124
124
  }
@@ -86,6 +86,9 @@ export var Input;
86
86
  || parent.classList.contains('e-filled')) {
87
87
  parent.classList.add('e-input-focus');
88
88
  }
89
+ setTimeout(function () {
90
+ Input.calculateWidth(args.element, parent);
91
+ }, 80);
89
92
  });
90
93
  args.element.addEventListener('blur', function () {
91
94
  var parent = getParentNode(this);
@@ -93,6 +96,9 @@ export var Input;
93
96
  || parent.classList.contains('e-filled')) {
94
97
  parent.classList.remove('e-input-focus');
95
98
  }
99
+ setTimeout(function () {
100
+ Input.calculateWidth(args.element, parent);
101
+ }, 80);
96
102
  });
97
103
  args.element.addEventListener('input', function () {
98
104
  checkInputValue(floatType, args.element);
@@ -370,9 +376,7 @@ export var Input;
370
376
  */
371
377
  function setValue(value, element, floatLabelType, clearButton) {
372
378
  element.value = value;
373
- if (isNullOrUndefined(element.getAttribute('value'))) {
374
- calculateWidth(element, element.parentElement);
375
- }
379
+ calculateWidth(element, element.parentElement);
376
380
  if ((!isNullOrUndefined(floatLabelType)) && floatLabelType === 'Auto') {
377
381
  validateLabel(element, floatLabelType);
378
382
  }