@syncfusion/ej2-inputs 19.3.53 → 19.3.57

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 : 19.3.53
3
+ * version : 19.3.57
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@19.3.48",
3
+ "_id": "@syncfusion/ej2-inputs@19.3.53",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-C9kBTelqmWvnyaBcBhHRhRjkUMm+IZ7RS0Ywluu5H5/epkk+SDALInBnOAV0rYe+IbzcyD/ShS/OptqEbW/CfQ==",
5
+ "_integrity": "sha512-X2tzMF4ty8VcVx/5tbIRlBmCKNoiRppLhSLLwS6OlTxgYk/2RFftmSAG3ueAR9rCMeXfjR+ENinMIg/MsN0LPQ==",
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/@syncfusion/ej2-inputs/-/ej2-inputs-19.3.48.tgz",
42
- "_shasum": "5def8bf38165756c0d159b7b35ac62511635f660",
41
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-inputs/-/ej2-inputs-19.3.53.tgz",
42
+ "_shasum": "89d9dcc91daef696c370042770506c72e27880a3",
43
43
  "_spec": "@syncfusion/ej2-inputs@*",
44
44
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
45
45
  "author": {
@@ -47,9 +47,9 @@
47
47
  },
48
48
  "bundleDependencies": false,
49
49
  "dependencies": {
50
- "@syncfusion/ej2-base": "~19.3.53",
50
+ "@syncfusion/ej2-base": "~19.3.56",
51
51
  "@syncfusion/ej2-buttons": "~19.3.53",
52
- "@syncfusion/ej2-popups": "~19.3.53",
52
+ "@syncfusion/ej2-popups": "~19.3.57",
53
53
  "@syncfusion/ej2-splitbuttons": "~19.3.53"
54
54
  },
55
55
  "deprecated": false,
@@ -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": "19.3.53",
121
+ "version": "19.3.57",
122
122
  "sideEffects": false
123
123
  }
@@ -662,6 +662,11 @@ var NumericTextBox = /** @class */ (function (_super) {
662
662
  if (this.isVue) {
663
663
  var current = this.instance.getNumberParser({ format: 'n' })(this.element.value);
664
664
  var previous = this.instance.getNumberParser({ format: 'n' })(this.elementPrevValue);
665
+ //EJ2-54963-if type "." or ".0" or "-.0" it converts to "0" automatically when binding v-model
666
+ var nonZeroRegex = new RegExp('[^1-9]+$');
667
+ if (nonZeroRegex.test(this.element.value)) {
668
+ current = this.value;
669
+ }
665
670
  var eventArgs = {
666
671
  event: event,
667
672
  value: (current === null || isNaN(current) ? null : current),