jsuites 5.2.0 → 5.2.2

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/README.md CHANGED
@@ -62,13 +62,13 @@ The same code can render in different ways, by directive type: default, picker o
62
62
  Examples
63
63
  ---------
64
64
 
65
- * [JavaScript image cropper](https://jsuites.net/docs/)\
65
+ * [JavaScript Image Cropper](https://jsuites.net/docs/image-cropper)\
66
66
  The jSuites.crop is a lightweight JavaScript plugin that allow users load, crop and apply filters to images.
67
67
 
68
- * [Dropdown and autocomplete](https://jsuites.net/docs/dropdown)\
68
+ * [JavaScript Dropdown](https://jsuites.net/docs/dropdown)\
69
69
  Full examples on how to handle simple, advanced, autocomplete and conditional dropdowns.
70
70
 
71
- * [Javascript calendar](https://jsuites.net/docs/javascript-calendar)\
71
+ * [Javascript Calendar](https://jsuites.net/docs/javascript-calendar)\
72
72
  A lightweight javascript calendar, date and datetime picker full responsive and easy integration.
73
73
 
74
74
  * [Javascript tags](https://jsuites.net/docs/javascript-tags)\
package/dist/jsuites.js CHANGED
@@ -2959,7 +2959,11 @@ function Mask() {
2959
2959
 
2960
2960
  // Labels
2961
2961
  if (options && typeof (options) == 'object') {
2962
- var format = options.format;
2962
+ if (options.format) {
2963
+ var format = options.format;
2964
+ } else if (options.mask) {
2965
+ var format = options.mask;
2966
+ }
2963
2967
  } else {
2964
2968
  var format = options;
2965
2969
  }
@@ -12715,7 +12719,7 @@ var jSuites = {
12715
12719
  ...dictionary,
12716
12720
  ...helpers,
12717
12721
  /** Current version */
12718
- version: '5.2.0',
12722
+ version: '5.2.1',
12719
12723
  /** Bind new extensions to Jsuites */
12720
12724
  setExtensions: function(o) {
12721
12725
  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.2.0",
29
+ "version": "5.2.2",
30
30
  "bugs": "https://github.com/jsuites/jsuites/issues",
31
31
  "homepage": "https://github.com/jsuites/jsuites",
32
32
  "docs": "https://jsuites.net",