@syncfusion/ej2-inputs 20.1.58 → 20.1.59
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/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 +8 -2
- package/dist/es6/ej2-inputs.es2015.js.map +1 -1
- package/dist/es6/ej2-inputs.es5.js +8 -2
- 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 +5 -5
- package/src/numerictextbox/numerictextbox.js +4 -1
- package/src/textbox/textbox.js +4 -1
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 20.1.
|
|
3
|
+
* version : 20.1.59
|
|
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.1.
|
|
3
|
+
"_id": "@syncfusion/ej2-inputs@20.1.58",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512
|
|
5
|
+
"_integrity": "sha512-ANi92ayH7Zx/70M+quksEVpWY6rz9LuR8acSclHaCX+1xrl/H5jFOFFknAxQaRLgfpI3kNXJx2iwi+Itm7t+aA==",
|
|
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.1.
|
|
42
|
-
"_shasum": "
|
|
41
|
+
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-inputs/-/ej2-inputs-20.1.58.tgz",
|
|
42
|
+
"_shasum": "ad92fcb88acb9bc77f9afde6aad21b065c4871d0",
|
|
43
43
|
"_spec": "@syncfusion/ej2-inputs@*",
|
|
44
44
|
"_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
|
|
45
45
|
"author": {
|
|
@@ -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.1.
|
|
121
|
+
"version": "20.1.59",
|
|
122
122
|
"sideEffects": false
|
|
123
123
|
}
|
|
@@ -83,10 +83,13 @@ var NumericTextBox = /** @class */ (function (_super) {
|
|
|
83
83
|
var index = 0;
|
|
84
84
|
for (index; index < this.element.attributes.length; index++) {
|
|
85
85
|
var attributeName = this.element.attributes[index].nodeName;
|
|
86
|
-
if (attributeName !== 'id') {
|
|
86
|
+
if (attributeName !== 'id' && attributeName !== 'class') {
|
|
87
87
|
input.setAttribute(this.element.attributes[index].nodeName, this.element.attributes[index].nodeValue);
|
|
88
88
|
input.innerHTML = this.element.innerHTML;
|
|
89
89
|
}
|
|
90
|
+
else if (attributeName === 'class') {
|
|
91
|
+
input.setAttribute(attributeName, this.element.className.split(' ').filter(function (item) { return item.indexOf('ng-') !== 0; }).join(' '));
|
|
92
|
+
}
|
|
90
93
|
}
|
|
91
94
|
if (this.element.hasAttribute('name')) {
|
|
92
95
|
this.element.removeAttribute('name');
|
package/src/textbox/textbox.js
CHANGED
|
@@ -179,13 +179,16 @@ var TextBox = /** @class */ (function (_super) {
|
|
|
179
179
|
var index = 0;
|
|
180
180
|
for (index; index < this.element.attributes.length; index++) {
|
|
181
181
|
var attributeName = this.element.attributes[index].nodeName;
|
|
182
|
-
if (attributeName !== 'id') {
|
|
182
|
+
if (attributeName !== 'id' && attributeName !== 'class') {
|
|
183
183
|
inputElement.setAttribute(attributeName, this.element.attributes[index].nodeValue);
|
|
184
184
|
inputElement.innerHTML = this.element.innerHTML;
|
|
185
185
|
if (attributeName === 'name') {
|
|
186
186
|
this.element.removeAttribute('name');
|
|
187
187
|
}
|
|
188
188
|
}
|
|
189
|
+
else if (attributeName === 'class') {
|
|
190
|
+
inputElement.setAttribute(attributeName, this.element.className.split(' ').filter(function (item) { return item.indexOf('ng-') !== 0; }).join(' '));
|
|
191
|
+
}
|
|
189
192
|
}
|
|
190
193
|
this.element.appendChild(inputElement);
|
|
191
194
|
this.element = inputElement;
|