jsuites 6.3.4 → 6.3.6

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 +3 -3
  2. package/package.json +1 -1
package/dist/jsuites.js CHANGED
@@ -8230,7 +8230,7 @@ if (! Contextmenu && "function" === 'function') {
8230
8230
 
8231
8231
  component.dateToNum = function (jsDate) {
8232
8232
  if (typeof jsDate === 'string') {
8233
- jsDate = new Date(jsDate + ' GMT+0');
8233
+ jsDate = new Date(jsDate.trim().replace(' ', 'T') + 'Z');
8234
8234
  }
8235
8235
  let jsDateInMilliseconds = jsDate.getTime();
8236
8236
  if (jsDateInMilliseconds >= excelLeapYearBug) {
@@ -10784,7 +10784,7 @@ if (! Contextmenu && "function" === 'function') {
10784
10784
  if (control.caret) {
10785
10785
  let index = control.caret.index;
10786
10786
  let position = control.caret.position;
10787
- let value = control.values[index] ?? '';
10787
+ let value = String(control.values[index] ?? '');
10788
10788
  // Re-apply the caret to the original position
10789
10789
  control.values[index] = value.substring(0, position) + hiddenCaret + value.substring(position);
10790
10790
  }
@@ -23443,7 +23443,7 @@ var jSuites = {
23443
23443
  ...dictionary,
23444
23444
  ...helpers,
23445
23445
  /** Current version */
23446
- version: '6.3.4',
23446
+ version: '6.3.6',
23447
23447
  /** Bind new extensions to Jsuites */
23448
23448
  setExtensions: function(o) {
23449
23449
  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": "6.3.4",
29
+ "version": "6.3.6",
30
30
  "bugs": "https://github.com/jsuites/jsuites/issues",
31
31
  "homepage": "https://github.com/jsuites/jsuites",
32
32
  "docs": "https://jsuites.net",