@ntlab/ntjs-assets 2.44.0 → 2.45.0
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/assets/js/bootstrap-datetimepicker/js/jQuery-provider.js +1 -1
- package/assets/js/bootstrap-datetimepicker/js/jQuery-provider.min.js +1 -1
- package/assets/js/bootstrap-datetimepicker/js/tempus-dominus.esm.js +21 -5
- package/assets/js/bootstrap-datetimepicker/js/tempus-dominus.esm.js.map +1 -1
- package/assets/js/bootstrap-datetimepicker/js/tempus-dominus.esm.min.js +2 -2
- package/assets/js/bootstrap-datetimepicker/js/tempus-dominus.js +21 -5
- package/assets/js/bootstrap-datetimepicker/js/tempus-dominus.js.map +1 -1
- package/assets/js/bootstrap-datetimepicker/js/tempus-dominus.min.js +2 -2
- package/assets/js/bootstrap-datetimepicker/locales/ar-SA.js +1 -1
- package/assets/js/bootstrap-datetimepicker/locales/ar.js +1 -1
- package/assets/js/bootstrap-datetimepicker/locales/ca.js +1 -1
- package/assets/js/bootstrap-datetimepicker/locales/cs.js +1 -1
- package/assets/js/bootstrap-datetimepicker/locales/de.js +1 -1
- package/assets/js/bootstrap-datetimepicker/locales/es.js +1 -1
- package/assets/js/bootstrap-datetimepicker/locales/fi.js +1 -1
- package/assets/js/bootstrap-datetimepicker/locales/fr.js +1 -1
- package/assets/js/bootstrap-datetimepicker/locales/hr.js +1 -1
- package/assets/js/bootstrap-datetimepicker/locales/hy.js +1 -1
- package/assets/js/bootstrap-datetimepicker/locales/it.js +1 -1
- package/assets/js/bootstrap-datetimepicker/locales/nl.js +1 -1
- package/assets/js/bootstrap-datetimepicker/locales/pl.js +1 -1
- package/assets/js/bootstrap-datetimepicker/locales/pt-PT.js +2 -2
- package/assets/js/bootstrap-datetimepicker/locales/ro.js +1 -1
- package/assets/js/bootstrap-datetimepicker/locales/ru.js +1 -1
- package/assets/js/bootstrap-datetimepicker/locales/sk.js +1 -1
- package/assets/js/bootstrap-datetimepicker/locales/sl.js +1 -1
- package/assets/js/bootstrap-datetimepicker/locales/sr-Latn.js +1 -1
- package/assets/js/bootstrap-datetimepicker/locales/sr.js +1 -1
- package/assets/js/bootstrap-datetimepicker/locales/tr.js +1 -1
- package/assets/js/bootstrap-datetimepicker/locales/uk.js +1 -1
- package/assets/js/bootstrap-datetimepicker/locales/zh-CN.js +1 -1
- package/assets/js/bootstrap-datetimepicker/locales/zh-HK.js +1 -1
- package/assets/js/bootstrap-datetimepicker/locales/zh-MO.js +1 -1
- package/assets/js/bootstrap-datetimepicker/locales/zh-TW.js +1 -1
- package/assets/js/bootstrap-datetimepicker/plugins/bi-one.js +1 -1
- package/assets/js/bootstrap-datetimepicker/plugins/customDateFormat.js +1 -1
- package/assets/js/bootstrap-datetimepicker/plugins/examples/custom-paint-job.js +1 -1
- package/assets/js/bootstrap-datetimepicker/plugins/examples/sample.js +1 -1
- package/assets/js/bootstrap-datetimepicker/plugins/fa-five.js +1 -1
- package/assets/js/bootstrap-datetimepicker/plugins/moment-parse.js +1 -1
- package/assets/js/cdn.json +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/*global $, tempusDominus */
|
|
3
3
|
|
|
4
4
|
/*!
|
|
5
|
-
* Tempus Dominus v6.
|
|
5
|
+
* Tempus Dominus v6.10.3 (https://getdatepicker.com/)
|
|
6
6
|
* Copyright 2013-2021 Jonathan Peterson
|
|
7
7
|
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
|
|
8
8
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Tempus Dominus v6.10.
|
|
2
|
+
* Tempus Dominus v6.10.2 (https://getdatepicker.com/)
|
|
3
3
|
* Copyright 2013-2025 Jonathan Peterson
|
|
4
4
|
* Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
|
|
5
5
|
*/
|
|
@@ -1880,7 +1880,8 @@ class OptionConverter {
|
|
|
1880
1880
|
if (unsupportedOptions.length > 0) {
|
|
1881
1881
|
const flattenedOptions = OptionConverter.getFlattenDefaultOptions();
|
|
1882
1882
|
const errors = unsupportedOptions.map((x) => {
|
|
1883
|
-
|
|
1883
|
+
const d = path ? '.' : '';
|
|
1884
|
+
let error = `"${path}${d}${x}" is not a known option.`;
|
|
1884
1885
|
const didYouMean = flattenedOptions.find((y) => y.includes(x));
|
|
1885
1886
|
if (didYouMean)
|
|
1886
1887
|
error += ` Did you mean "${didYouMean}"?`;
|
|
@@ -3435,8 +3436,19 @@ class Display {
|
|
|
3435
3436
|
const container = this.optionsStore.options?.container || document.body;
|
|
3436
3437
|
const placement = this.optionsStore.options?.display?.placement || 'bottom';
|
|
3437
3438
|
container.appendChild(this.widget);
|
|
3439
|
+
const handleFocus = this._handleFocus.bind(this);
|
|
3438
3440
|
this.createPopup(this.optionsStore.element, this.widget, {
|
|
3439
|
-
modifiers: [
|
|
3441
|
+
modifiers: [
|
|
3442
|
+
{ name: 'eventListeners', enabled: true },
|
|
3443
|
+
{
|
|
3444
|
+
name: 'focusDate',
|
|
3445
|
+
enabled: true,
|
|
3446
|
+
phase: 'afterWrite',
|
|
3447
|
+
fn() {
|
|
3448
|
+
handleFocus();
|
|
3449
|
+
},
|
|
3450
|
+
},
|
|
3451
|
+
],
|
|
3440
3452
|
//#2400
|
|
3441
3453
|
placement: document.documentElement.dir === 'rtl'
|
|
3442
3454
|
? `${placement}-end`
|
|
@@ -3549,7 +3561,7 @@ class Display {
|
|
|
3549
3561
|
if (!this._popperInstance)
|
|
3550
3562
|
return;
|
|
3551
3563
|
this._popperInstance.update();
|
|
3552
|
-
this._handleFocus();
|
|
3564
|
+
//this._handleFocus();
|
|
3553
3565
|
}
|
|
3554
3566
|
/**
|
|
3555
3567
|
* Changes the calendar view mode. E.g. month <-> year
|
|
@@ -3686,7 +3698,10 @@ class Display {
|
|
|
3686
3698
|
if (this.optionsStore.options.display.keyboardNavigation) {
|
|
3687
3699
|
this.widget.removeEventListener('keydown', this._keyboardEventBound);
|
|
3688
3700
|
}
|
|
3689
|
-
this.optionsStore.toggle
|
|
3701
|
+
if (this.optionsStore.toggle)
|
|
3702
|
+
this.optionsStore.toggle.focus();
|
|
3703
|
+
else if (this.optionsStore.input)
|
|
3704
|
+
this.optionsStore.input.focus();
|
|
3690
3705
|
}
|
|
3691
3706
|
/**
|
|
3692
3707
|
* Toggles the picker's open state. Fires a show/hide event depending.
|
|
@@ -4165,6 +4180,7 @@ class Display {
|
|
|
4165
4180
|
tabTargets.push(...calendarHeaderItems);
|
|
4166
4181
|
};
|
|
4167
4182
|
const tabTargets = [];
|
|
4183
|
+
console.log(this.optionsStore.currentView);
|
|
4168
4184
|
switch (this.optionsStore.currentView) {
|
|
4169
4185
|
case 'clock':
|
|
4170
4186
|
{
|