@ntlab/ntjs-assets 2.44.0 → 2.46.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.
Files changed (44) hide show
  1. package/assets/js/bignumber.js/bignumber.js +1 -1
  2. package/assets/js/bignumber.js/bignumber.min.js +1 -1
  3. package/assets/js/bootstrap-datetimepicker/js/jQuery-provider.js +1 -1
  4. package/assets/js/bootstrap-datetimepicker/js/jQuery-provider.min.js +1 -1
  5. package/assets/js/bootstrap-datetimepicker/js/tempus-dominus.esm.js +21 -5
  6. package/assets/js/bootstrap-datetimepicker/js/tempus-dominus.esm.js.map +1 -1
  7. package/assets/js/bootstrap-datetimepicker/js/tempus-dominus.esm.min.js +2 -2
  8. package/assets/js/bootstrap-datetimepicker/js/tempus-dominus.js +21 -5
  9. package/assets/js/bootstrap-datetimepicker/js/tempus-dominus.js.map +1 -1
  10. package/assets/js/bootstrap-datetimepicker/js/tempus-dominus.min.js +2 -2
  11. package/assets/js/bootstrap-datetimepicker/locales/ar-SA.js +1 -1
  12. package/assets/js/bootstrap-datetimepicker/locales/ar.js +1 -1
  13. package/assets/js/bootstrap-datetimepicker/locales/ca.js +1 -1
  14. package/assets/js/bootstrap-datetimepicker/locales/cs.js +1 -1
  15. package/assets/js/bootstrap-datetimepicker/locales/de.js +1 -1
  16. package/assets/js/bootstrap-datetimepicker/locales/es.js +1 -1
  17. package/assets/js/bootstrap-datetimepicker/locales/fi.js +1 -1
  18. package/assets/js/bootstrap-datetimepicker/locales/fr.js +1 -1
  19. package/assets/js/bootstrap-datetimepicker/locales/hr.js +1 -1
  20. package/assets/js/bootstrap-datetimepicker/locales/hy.js +1 -1
  21. package/assets/js/bootstrap-datetimepicker/locales/it.js +1 -1
  22. package/assets/js/bootstrap-datetimepicker/locales/nl.js +1 -1
  23. package/assets/js/bootstrap-datetimepicker/locales/pl.js +1 -1
  24. package/assets/js/bootstrap-datetimepicker/locales/pt-PT.js +2 -2
  25. package/assets/js/bootstrap-datetimepicker/locales/ro.js +1 -1
  26. package/assets/js/bootstrap-datetimepicker/locales/ru.js +1 -1
  27. package/assets/js/bootstrap-datetimepicker/locales/sk.js +1 -1
  28. package/assets/js/bootstrap-datetimepicker/locales/sl.js +1 -1
  29. package/assets/js/bootstrap-datetimepicker/locales/sr-Latn.js +1 -1
  30. package/assets/js/bootstrap-datetimepicker/locales/sr.js +1 -1
  31. package/assets/js/bootstrap-datetimepicker/locales/tr.js +1 -1
  32. package/assets/js/bootstrap-datetimepicker/locales/uk.js +1 -1
  33. package/assets/js/bootstrap-datetimepicker/locales/zh-CN.js +1 -1
  34. package/assets/js/bootstrap-datetimepicker/locales/zh-HK.js +1 -1
  35. package/assets/js/bootstrap-datetimepicker/locales/zh-MO.js +1 -1
  36. package/assets/js/bootstrap-datetimepicker/locales/zh-TW.js +1 -1
  37. package/assets/js/bootstrap-datetimepicker/plugins/bi-one.js +1 -1
  38. package/assets/js/bootstrap-datetimepicker/plugins/customDateFormat.js +1 -1
  39. package/assets/js/bootstrap-datetimepicker/plugins/examples/custom-paint-job.js +1 -1
  40. package/assets/js/bootstrap-datetimepicker/plugins/examples/sample.js +1 -1
  41. package/assets/js/bootstrap-datetimepicker/plugins/fa-five.js +1 -1
  42. package/assets/js/bootstrap-datetimepicker/plugins/moment-parse.js +1 -1
  43. package/assets/js/cdn.json +2 -2
  44. package/package.json +1 -1
@@ -2,7 +2,7 @@
2
2
  'use strict';
3
3
 
4
4
  /*
5
- * bignumber.js v9.2.1
5
+ * bignumber.js v9.3.0
6
6
  * A JavaScript library for arbitrary-precision arithmetic.
7
7
  * https://github.com/MikeMcl/bignumber.js
8
8
  * Copyright (c) 2025 Michael Mclaughlin <M8ch88l@gmail.com>
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Minified by jsDelivr using Terser v5.39.0.
3
- * Original file: /npm/bignumber.js@9.2.1/bignumber.js
3
+ * Original file: /npm/bignumber.js@9.3.0/bignumber.js
4
4
  *
5
5
  * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
6
6
  */
@@ -2,7 +2,7 @@
2
2
  /*global $, tempusDominus */
3
3
 
4
4
  /*!
5
- * Tempus Dominus v6.9.4 (https://getdatepicker.com/)
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.9.4 (https://getdatepicker.com/)
2
+ * Tempus Dominus v6.10.3 (https://getdatepicker.com/)
3
3
  * Copyright 2013-2021 Jonathan Peterson
4
4
  * Licensed under MIT (https://github.com/Eonasdan/tempus-dominus/blob/master/LICENSE)
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Tempus Dominus v6.10.0 (https://getdatepicker.com/)
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
- let error = `"${path}.${x}" in not a known option.`;
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: [{ name: 'eventListeners', enabled: true }],
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?.focus();
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
  {