jsuites 5.0.11 → 5.0.12
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 +4 -2
- package/dist/jsuites.js +12 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -113,7 +113,9 @@ contact@jsuites.net
|
|
|
113
113
|
|
|
114
114
|
## Other tools
|
|
115
115
|
|
|
116
|
-
https://lemonadejs.net<br>
|
|
117
|
-
https://
|
|
116
|
+
- [LemonadeJS v2](https://lemonadejs.net/v2/)<br>
|
|
117
|
+
- [LemonadeJS v3](https://lemonadejs.net/v3/)<br>
|
|
118
|
+
- [Jspreadsheet Pro v9](https://jspreadsheet.com/v9/)<br>
|
|
119
|
+
- [Jspreadsheet Pro v10](https://jspreadsheet.com/v10/)<br>
|
|
118
120
|
|
|
119
121
|
|
package/dist/jsuites.js
CHANGED
|
@@ -3158,6 +3158,8 @@ function Calendar() {
|
|
|
3158
3158
|
dataType: null,
|
|
3159
3159
|
// Controls
|
|
3160
3160
|
controls: true,
|
|
3161
|
+
// Auto select
|
|
3162
|
+
autoSelect: true,
|
|
3161
3163
|
}
|
|
3162
3164
|
|
|
3163
3165
|
// Loop through our object
|
|
@@ -3297,6 +3299,9 @@ function Calendar() {
|
|
|
3297
3299
|
}
|
|
3298
3300
|
|
|
3299
3301
|
obj.close = function (ignoreEvents, update) {
|
|
3302
|
+
if (obj.options.autoSelect !== true && typeof(update) === 'undefined') {
|
|
3303
|
+
update = false;
|
|
3304
|
+
}
|
|
3300
3305
|
if (calendar.classList.contains('jcalendar-focus')) {
|
|
3301
3306
|
if (update !== false) {
|
|
3302
3307
|
var element = calendar.querySelector('.jcalendar-selected');
|
|
@@ -3310,6 +3315,12 @@ function Calendar() {
|
|
|
3310
3315
|
}
|
|
3311
3316
|
|
|
3312
3317
|
obj.setValue(value);
|
|
3318
|
+
} else {
|
|
3319
|
+
if (obj.options.value) {
|
|
3320
|
+
let value = obj.options.value;
|
|
3321
|
+
obj.options.value = '';
|
|
3322
|
+
obj.setValue(value)
|
|
3323
|
+
}
|
|
3313
3324
|
}
|
|
3314
3325
|
|
|
3315
3326
|
// Events
|
|
@@ -12518,7 +12529,7 @@ var sha512_default = /*#__PURE__*/__webpack_require__.n(sha512);
|
|
|
12518
12529
|
|
|
12519
12530
|
var jSuites = {
|
|
12520
12531
|
/** Current version */
|
|
12521
|
-
version: '5.0.
|
|
12532
|
+
version: '5.0.12',
|
|
12522
12533
|
/** Bind new extensions to Jsuites */
|
|
12523
12534
|
setExtensions: function(o) {
|
|
12524
12535
|
if (typeof(o) == 'object') {
|
package/package.json
CHANGED