jsuites 5.8.2 → 5.8.3

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.
Files changed (2) hide show
  1. package/dist/jsuites.js +6 -2
  2. package/package.json +1 -1
package/dist/jsuites.js CHANGED
@@ -2780,7 +2780,10 @@ function Mask() {
2780
2780
  type = getType.call(options, options.mask);
2781
2781
  }
2782
2782
 
2783
- if (type === 'general') {
2783
+ if (type === 'text') {
2784
+ var o = {};
2785
+ value = v;
2786
+ } else if (type === 'general') {
2784
2787
  var o = obj(v, options, true);
2785
2788
 
2786
2789
  value = v;
@@ -2882,6 +2885,7 @@ function Mask() {
2882
2885
  if (options.mask && fullMask) {
2883
2886
  fillWithBlanks = true;
2884
2887
  }
2888
+ } else if (type === 'text') {
2885
2889
  } else {
2886
2890
  // Parse number
2887
2891
  if (typeof(value) === 'string' && jSuites.isNumeric(value)) {
@@ -12861,7 +12865,7 @@ var jsuites_jSuites = {
12861
12865
  ...dictionary,
12862
12866
  ...helpers,
12863
12867
  /** Current version */
12864
- version: '5.8.2',
12868
+ version: '5.8.3',
12865
12869
  /** Bind new extensions to Jsuites */
12866
12870
  setExtensions: function(o) {
12867
12871
  if (typeof(o) == 'object') {
package/package.json CHANGED
@@ -26,7 +26,7 @@
26
26
  },
27
27
  "main": "dist/jsuites.js",
28
28
  "types": "dist/jsuites.d.ts",
29
- "version": "5.8.2",
29
+ "version": "5.8.3",
30
30
  "bugs": "https://github.com/jsuites/jsuites/issues",
31
31
  "homepage": "https://github.com/jsuites/jsuites",
32
32
  "docs": "https://jsuites.net",