@tabler/core 1.0.0-beta12 → 1.0.0-beta14

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 (222) hide show
  1. package/dist/css/demo.css +188 -248
  2. package/dist/css/demo.min.css +3 -3
  3. package/dist/css/demo.rtl.css +188 -248
  4. package/dist/css/demo.rtl.min.css +3 -3
  5. package/dist/css/tabler-flags.css +529 -266
  6. package/dist/css/tabler-flags.min.css +3 -3
  7. package/dist/css/tabler-flags.rtl.css +529 -266
  8. package/dist/css/tabler-flags.rtl.min.css +3 -3
  9. package/dist/css/tabler-payments.css +252 -127
  10. package/dist/css/tabler-payments.min.css +2 -2
  11. package/dist/css/tabler-payments.rtl.css +252 -127
  12. package/dist/css/tabler-payments.rtl.min.css +2 -2
  13. package/dist/css/tabler-vendors.css +739 -469
  14. package/dist/css/tabler-vendors.min.css +3 -3
  15. package/dist/css/tabler-vendors.rtl.css +739 -469
  16. package/dist/css/tabler-vendors.rtl.min.css +3 -3
  17. package/dist/css/tabler.css +13218 -8130
  18. package/dist/css/tabler.min.css +4 -4
  19. package/dist/css/tabler.rtl.css +13222 -8135
  20. package/dist/css/tabler.rtl.min.css +4 -4
  21. package/dist/js/demo-theme.js +2 -2
  22. package/dist/js/demo-theme.min.js +2 -2
  23. package/dist/js/demo.js +2 -2
  24. package/dist/js/demo.min.js +2 -2
  25. package/dist/js/tabler.esm.js +138 -77
  26. package/dist/js/tabler.esm.min.js +5 -5
  27. package/dist/js/tabler.js +140 -79
  28. package/dist/js/tabler.min.js +5 -5
  29. package/dist/libs/bootstrap/dist/js/bootstrap.bundle.js +66 -72
  30. package/dist/libs/bootstrap/dist/js/bootstrap.bundle.js.map +1 -1
  31. package/dist/libs/bootstrap/dist/js/bootstrap.bundle.min.js +2 -2
  32. package/dist/libs/bootstrap/dist/js/bootstrap.bundle.min.js.map +1 -1
  33. package/dist/libs/bootstrap/dist/js/bootstrap.esm.js +65 -71
  34. package/dist/libs/bootstrap/dist/js/bootstrap.esm.js.map +1 -1
  35. package/dist/libs/bootstrap/dist/js/bootstrap.esm.min.js +2 -2
  36. package/dist/libs/bootstrap/dist/js/bootstrap.esm.min.js.map +1 -1
  37. package/dist/libs/bootstrap/dist/js/bootstrap.js +66 -72
  38. package/dist/libs/bootstrap/dist/js/bootstrap.js.map +1 -1
  39. package/dist/libs/bootstrap/dist/js/bootstrap.min.js +2 -2
  40. package/dist/libs/bootstrap/dist/js/bootstrap.min.js.map +1 -1
  41. package/dist/libs/tinymce/CHANGELOG.md +45 -0
  42. package/dist/libs/tinymce/composer.json +1 -1
  43. package/dist/libs/tinymce/icons/default/icons.js +2 -0
  44. package/dist/libs/tinymce/icons/default/icons.min.js +1 -1
  45. package/dist/libs/tinymce/models/dom/model.js +14 -10
  46. package/dist/libs/tinymce/models/dom/model.min.js +2 -2
  47. package/dist/libs/tinymce/package.json +1 -1
  48. package/dist/libs/tinymce/plugins/advlist/plugin.js +16 -9
  49. package/dist/libs/tinymce/plugins/advlist/plugin.min.js +2 -2
  50. package/dist/libs/tinymce/plugins/anchor/plugin.js +7 -6
  51. package/dist/libs/tinymce/plugins/anchor/plugin.min.js +2 -2
  52. package/dist/libs/tinymce/plugins/autolink/plugin.js +93 -97
  53. package/dist/libs/tinymce/plugins/autolink/plugin.min.js +2 -2
  54. package/dist/libs/tinymce/plugins/autoresize/plugin.js +3 -2
  55. package/dist/libs/tinymce/plugins/autoresize/plugin.min.js +2 -2
  56. package/dist/libs/tinymce/plugins/autosave/plugin.js +11 -10
  57. package/dist/libs/tinymce/plugins/autosave/plugin.min.js +2 -2
  58. package/dist/libs/tinymce/plugins/charmap/plugin.js +17 -7
  59. package/dist/libs/tinymce/plugins/charmap/plugin.min.js +2 -2
  60. package/dist/libs/tinymce/plugins/code/plugin.js +1 -1
  61. package/dist/libs/tinymce/plugins/code/plugin.min.js +1 -1
  62. package/dist/libs/tinymce/plugins/codesample/plugin.js +4 -6
  63. package/dist/libs/tinymce/plugins/codesample/plugin.min.js +2 -2
  64. package/dist/libs/tinymce/plugins/directionality/plugin.js +1 -1
  65. package/dist/libs/tinymce/plugins/directionality/plugin.min.js +1 -1
  66. package/dist/libs/tinymce/plugins/emoticons/plugin.js +10 -4
  67. package/dist/libs/tinymce/plugins/emoticons/plugin.min.js +2 -2
  68. package/dist/libs/tinymce/plugins/fullscreen/plugin.js +11 -5
  69. package/dist/libs/tinymce/plugins/fullscreen/plugin.min.js +2 -2
  70. package/dist/libs/tinymce/plugins/help/plugin.js +92 -19
  71. package/dist/libs/tinymce/plugins/help/plugin.min.js +2 -2
  72. package/dist/libs/tinymce/plugins/image/plugin.js +50 -37
  73. package/dist/libs/tinymce/plugins/image/plugin.min.js +2 -2
  74. package/dist/libs/tinymce/plugins/importcss/plugin.js +8 -6
  75. package/dist/libs/tinymce/plugins/importcss/plugin.min.js +2 -2
  76. package/dist/libs/tinymce/plugins/insertdatetime/plugin.js +2 -3
  77. package/dist/libs/tinymce/plugins/insertdatetime/plugin.min.js +2 -2
  78. package/dist/libs/tinymce/plugins/link/plugin.js +57 -43
  79. package/dist/libs/tinymce/plugins/link/plugin.min.js +2 -2
  80. package/dist/libs/tinymce/plugins/lists/plugin.js +120 -74
  81. package/dist/libs/tinymce/plugins/lists/plugin.min.js +2 -2
  82. package/dist/libs/tinymce/plugins/media/plugin.js +39 -24
  83. package/dist/libs/tinymce/plugins/media/plugin.min.js +2 -2
  84. package/dist/libs/tinymce/plugins/nonbreaking/plugin.js +1 -1
  85. package/dist/libs/tinymce/plugins/nonbreaking/plugin.min.js +1 -1
  86. package/dist/libs/tinymce/plugins/pagebreak/plugin.js +2 -2
  87. package/dist/libs/tinymce/plugins/pagebreak/plugin.min.js +2 -2
  88. package/dist/libs/tinymce/plugins/preview/plugin.js +1 -1
  89. package/dist/libs/tinymce/plugins/preview/plugin.min.js +1 -1
  90. package/dist/libs/tinymce/plugins/quickbars/plugin.js +3 -2
  91. package/dist/libs/tinymce/plugins/quickbars/plugin.min.js +2 -2
  92. package/dist/libs/tinymce/plugins/save/plugin.js +1 -1
  93. package/dist/libs/tinymce/plugins/save/plugin.min.js +1 -1
  94. package/dist/libs/tinymce/plugins/searchreplace/plugin.js +13 -13
  95. package/dist/libs/tinymce/plugins/searchreplace/plugin.min.js +2 -2
  96. package/dist/libs/tinymce/plugins/table/plugin.js +42 -37
  97. package/dist/libs/tinymce/plugins/table/plugin.min.js +2 -2
  98. package/dist/libs/tinymce/plugins/template/plugin.js +7 -4
  99. package/dist/libs/tinymce/plugins/template/plugin.min.js +2 -2
  100. package/dist/libs/tinymce/plugins/visualblocks/plugin.js +1 -1
  101. package/dist/libs/tinymce/plugins/visualblocks/plugin.min.js +1 -1
  102. package/dist/libs/tinymce/plugins/visualchars/plugin.js +9 -6
  103. package/dist/libs/tinymce/plugins/visualchars/plugin.min.js +2 -2
  104. package/dist/libs/tinymce/plugins/wordcount/plugin.js +6 -5
  105. package/dist/libs/tinymce/plugins/wordcount/plugin.min.js +2 -2
  106. package/dist/libs/tinymce/skins/ui/oxide/content.css +28 -0
  107. package/dist/libs/tinymce/skins/ui/oxide/content.inline.css +28 -0
  108. package/dist/libs/tinymce/skins/ui/oxide/content.inline.min.css +1 -1
  109. package/dist/libs/tinymce/skins/ui/oxide/content.min.css +1 -1
  110. package/dist/libs/tinymce/skins/ui/oxide/skin.css +39 -4
  111. package/dist/libs/tinymce/skins/ui/oxide/skin.min.css +1 -1
  112. package/dist/libs/tinymce/skins/ui/oxide-dark/content.css +28 -0
  113. package/dist/libs/tinymce/skins/ui/oxide-dark/content.inline.css +28 -0
  114. package/dist/libs/tinymce/skins/ui/oxide-dark/content.inline.min.css +1 -1
  115. package/dist/libs/tinymce/skins/ui/oxide-dark/content.min.css +1 -1
  116. package/dist/libs/tinymce/skins/ui/oxide-dark/skin.css +39 -4
  117. package/dist/libs/tinymce/skins/ui/oxide-dark/skin.min.css +1 -1
  118. package/dist/libs/tinymce/skins/ui/tinymce-5/content.css +28 -0
  119. package/dist/libs/tinymce/skins/ui/tinymce-5/content.inline.css +28 -0
  120. package/dist/libs/tinymce/skins/ui/tinymce-5/content.inline.min.css +1 -1
  121. package/dist/libs/tinymce/skins/ui/tinymce-5/content.min.css +1 -1
  122. package/dist/libs/tinymce/skins/ui/tinymce-5/skin.css +45 -4
  123. package/dist/libs/tinymce/skins/ui/tinymce-5/skin.min.css +1 -1
  124. package/dist/libs/tinymce/skins/ui/tinymce-5-dark/content.css +28 -0
  125. package/dist/libs/tinymce/skins/ui/tinymce-5-dark/content.inline.css +28 -0
  126. package/dist/libs/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css +1 -1
  127. package/dist/libs/tinymce/skins/ui/tinymce-5-dark/content.min.css +1 -1
  128. package/dist/libs/tinymce/skins/ui/tinymce-5-dark/skin.css +44 -3
  129. package/dist/libs/tinymce/skins/ui/tinymce-5-dark/skin.min.css +1 -1
  130. package/dist/libs/tinymce/themes/silver/theme.js +2494 -1999
  131. package/dist/libs/tinymce/themes/silver/theme.min.js +2 -2
  132. package/dist/libs/tinymce/tinymce.d.ts +345 -169
  133. package/dist/libs/tinymce/tinymce.js +2988 -2392
  134. package/dist/libs/tinymce/tinymce.min.js +2 -2
  135. package/dist/libs/tom-select/dist/js/plugins/caret_position.js +164 -160
  136. package/dist/libs/tom-select/dist/js/plugins/caret_position.js.map +1 -1
  137. package/dist/libs/tom-select/dist/js/plugins/change_listener.js +1 -1
  138. package/dist/libs/tom-select/dist/js/plugins/change_listener.js.map +1 -1
  139. package/dist/libs/tom-select/dist/js/plugins/checkbox_options.js +12 -7
  140. package/dist/libs/tom-select/dist/js/plugins/checkbox_options.js.map +1 -1
  141. package/dist/libs/tom-select/dist/js/plugins/clear_button.js +94 -89
  142. package/dist/libs/tom-select/dist/js/plugins/clear_button.js.map +1 -1
  143. package/dist/libs/tom-select/dist/js/plugins/drag_drop.js +1 -1
  144. package/dist/libs/tom-select/dist/js/plugins/drag_drop.js.map +1 -1
  145. package/dist/libs/tom-select/dist/js/plugins/dropdown_header.js +121 -116
  146. package/dist/libs/tom-select/dist/js/plugins/dropdown_header.js.map +1 -1
  147. package/dist/libs/tom-select/dist/js/plugins/dropdown_input.js +234 -230
  148. package/dist/libs/tom-select/dist/js/plugins/dropdown_input.js.map +1 -1
  149. package/dist/libs/tom-select/dist/js/plugins/input_autogrow.js +1 -1
  150. package/dist/libs/tom-select/dist/js/plugins/input_autogrow.js.map +1 -1
  151. package/dist/libs/tom-select/dist/js/plugins/no_active_items.js +1 -1
  152. package/dist/libs/tom-select/dist/js/plugins/no_active_items.js.map +1 -1
  153. package/dist/libs/tom-select/dist/js/plugins/no_backspace_delete.js +1 -1
  154. package/dist/libs/tom-select/dist/js/plugins/no_backspace_delete.js.map +1 -1
  155. package/dist/libs/tom-select/dist/js/plugins/optgroup_columns.js +112 -107
  156. package/dist/libs/tom-select/dist/js/plugins/optgroup_columns.js.map +1 -1
  157. package/dist/libs/tom-select/dist/js/plugins/remove_button.js +149 -144
  158. package/dist/libs/tom-select/dist/js/plugins/remove_button.js.map +1 -1
  159. package/dist/libs/tom-select/dist/js/plugins/restore_on_backspace.js +1 -1
  160. package/dist/libs/tom-select/dist/js/plugins/restore_on_backspace.js.map +1 -1
  161. package/dist/libs/tom-select/dist/js/plugins/virtual_scroll.js +277 -269
  162. package/dist/libs/tom-select/dist/js/plugins/virtual_scroll.js.map +1 -1
  163. package/dist/libs/tom-select/dist/js/tom-select.base.js +756 -272
  164. package/dist/libs/tom-select/dist/js/tom-select.base.js.map +1 -1
  165. package/dist/libs/tom-select/dist/js/tom-select.base.min.js +329 -272
  166. package/dist/libs/tom-select/dist/js/tom-select.base.min.js.map +1 -1
  167. package/dist/libs/tom-select/dist/js/tom-select.complete.js +761 -273
  168. package/dist/libs/tom-select/dist/js/tom-select.complete.js.map +1 -1
  169. package/dist/libs/tom-select/dist/js/tom-select.complete.min.js +268 -209
  170. package/dist/libs/tom-select/dist/js/tom-select.complete.min.js.map +1 -1
  171. package/dist/libs/tom-select/dist/js/tom-select.popular.js +753 -269
  172. package/dist/libs/tom-select/dist/js/tom-select.popular.js.map +1 -1
  173. package/dist/libs/tom-select/dist/js/tom-select.popular.min.js +348 -291
  174. package/dist/libs/tom-select/dist/js/tom-select.popular.min.js.map +1 -1
  175. package/package.json +22 -24
  176. package/src/js/src/dropdown.js +5 -2
  177. package/src/js/tabler.js +2 -2
  178. package/src/scss/_core.scss +1 -0
  179. package/src/scss/_utilities.scss +2 -4
  180. package/src/scss/_variables.scss +136 -105
  181. package/src/scss/demo/_examples.scss +2 -2
  182. package/src/scss/demo/_highlight.scss +13 -277
  183. package/src/scss/demo.scss +3 -3
  184. package/src/scss/layout/_core.scss +1 -1
  185. package/src/scss/layout/_dark.scss +24 -36
  186. package/src/scss/layout/_footer.scss +1 -1
  187. package/src/scss/layout/_navbar.scss +36 -44
  188. package/src/scss/layout/_page.scss +3 -3
  189. package/src/scss/layout/_root.scss +15 -0
  190. package/src/scss/mixins/_mixins.scss +7 -6
  191. package/src/scss/ui/_alerts.scss +2 -2
  192. package/src/scss/ui/_avatars.scss +3 -3
  193. package/src/scss/ui/_badges.scss +3 -3
  194. package/src/scss/ui/_buttons.scss +24 -12
  195. package/src/scss/ui/_calendars.scss +4 -4
  196. package/src/scss/ui/_cards.scss +40 -53
  197. package/src/scss/ui/_carousel.scss +4 -4
  198. package/src/scss/ui/_dropdowns.scss +2 -1
  199. package/src/scss/ui/_empty.scss +1 -1
  200. package/src/scss/ui/_flags.scss +1 -1
  201. package/src/scss/ui/_forms.scss +2 -2
  202. package/src/scss/ui/_grid.scss +3 -3
  203. package/src/scss/ui/_lists.scss +4 -4
  204. package/src/scss/ui/_modals.scss +1 -1
  205. package/src/scss/ui/_nav.scss +12 -12
  206. package/src/scss/ui/_offcanvas.scss +1 -5
  207. package/src/scss/ui/_progress.scss +1 -1
  208. package/src/scss/ui/_ribbons.scss +12 -7
  209. package/src/scss/ui/_status.scss +2 -2
  210. package/src/scss/ui/_steps.scss +2 -2
  211. package/src/scss/ui/_tables.scss +2 -2
  212. package/src/scss/ui/_toasts.scss +1 -1
  213. package/src/scss/ui/_tracking.scss +29 -0
  214. package/src/scss/ui/_type.scss +35 -47
  215. package/src/scss/ui/forms/_form-colorinput.scss +1 -1
  216. package/src/scss/ui/forms/_form-imagecheck.scss +12 -4
  217. package/src/scss/ui/forms/_form-selectgroup.scss +2 -2
  218. package/src/scss/utils/_colors.scss +5 -3
  219. package/src/scss/vendor/_apexcharts.scss +26 -0
  220. package/src/scss/vendor/_jsvectormap.scss +2 -2
  221. package/src/scss/vendor/_litepicker.scss +4 -3
  222. package/src/scss/vendor/_tinymce.scss +14 -3
package/dist/js/tabler.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Tabler v1.0.0-beta12 (https://tabler.io)
3
- * @version 1.0.0-beta12
2
+ * Tabler v1.0.0-beta14 (https://tabler.io)
3
+ * @version 1.0.0-beta14
4
4
  * @link https://tabler.io
5
5
  * Copyright 2018-2022 The Tabler Authors
6
6
  * Copyright 2018-2022 codecalm.net Paweł Kuna
@@ -80,13 +80,13 @@
80
80
  if (superClass) _setPrototypeOf(subClass, superClass);
81
81
  }
82
82
  function _getPrototypeOf(o) {
83
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
83
+ _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
84
84
  return o.__proto__ || Object.getPrototypeOf(o);
85
85
  };
86
86
  return _getPrototypeOf(o);
87
87
  }
88
88
  function _setPrototypeOf(o, p) {
89
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
89
+ _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
90
90
  o.__proto__ = p;
91
91
  return o;
92
92
  };
@@ -167,7 +167,7 @@
167
167
  }
168
168
  function _get() {
169
169
  if (typeof Reflect !== "undefined" && Reflect.get) {
170
- _get = Reflect.get;
170
+ _get = Reflect.get.bind();
171
171
  } else {
172
172
  _get = function _get(target, property, receiver) {
173
173
  var base = _superPropBase(target, property);
@@ -222,9 +222,18 @@
222
222
  function _slicedToArray(arr, i) {
223
223
  return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
224
224
  }
225
+ function _toConsumableArray(arr) {
226
+ return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
227
+ }
228
+ function _arrayWithoutHoles(arr) {
229
+ if (Array.isArray(arr)) return _arrayLikeToArray(arr);
230
+ }
225
231
  function _arrayWithHoles(arr) {
226
232
  if (Array.isArray(arr)) return arr;
227
233
  }
234
+ function _iterableToArray(iter) {
235
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
236
+ }
228
237
  function _iterableToArrayLimit(arr, i) {
229
238
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
230
239
  if (_i == null) return;
@@ -262,6 +271,9 @@
262
271
  for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
263
272
  return arr2;
264
273
  }
274
+ function _nonIterableSpread() {
275
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
276
+ }
265
277
  function _nonIterableRest() {
266
278
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
267
279
  }
@@ -662,7 +674,7 @@
662
674
  if (!isString(str)) throw new Error('value should be string');
663
675
  var details = new ChangeDetails();
664
676
  var checkTail = isString(tail) ? new ContinuousTailDetails(String(tail)) : tail;
665
- if (flags && flags.tail) flags._beforeTailState = this.state;
677
+ if (flags !== null && flags !== void 0 && flags.tail) flags._beforeTailState = this.state;
666
678
  for (var ci = 0; ci < str.length; ++ci) {
667
679
  details.aggregate(this._appendChar(str[ci], flags, checkTail));
668
680
  }
@@ -737,6 +749,9 @@
737
749
  }, {
738
750
  key: "splice",
739
751
  value: function splice(start, deleteCount, inserted, removeDirection) {
752
+ var flags = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {
753
+ input: true
754
+ };
740
755
  var tailPos = start + deleteCount;
741
756
  var tail = this.extractTail(tailPos);
742
757
  var oldRawValue;
@@ -762,15 +777,19 @@
762
777
  tail.unshift();
763
778
  }
764
779
  }
765
- return details.aggregate(this.append(inserted, {
766
- input: true
767
- }, tail));
780
+ return details.aggregate(this.append(inserted, flags, tail));
768
781
  }
769
782
  }, {
770
783
  key: "maskEquals",
771
784
  value: function maskEquals(mask) {
772
785
  return this.mask === mask;
773
786
  }
787
+ }, {
788
+ key: "typedValueEquals",
789
+ value: function typedValueEquals(value) {
790
+ var tval = this.typedValue;
791
+ return value === tval || Masked.EMPTY_VALUES.includes(value) && Masked.EMPTY_VALUES.includes(tval) || this.doFormat(value) === this.doFormat(this.typedValue);
792
+ }
774
793
  }]);
775
794
  return Masked;
776
795
  }();
@@ -782,6 +801,7 @@
782
801
  return v;
783
802
  }
784
803
  };
804
+ Masked.EMPTY_VALUES = [undefined, null, ''];
785
805
  IMask.Masked = Masked;
786
806
 
787
807
  function maskedClass(mask) {
@@ -1036,7 +1056,7 @@
1036
1056
  var details = new ChangeDetails();
1037
1057
  if (this._value) return details;
1038
1058
  var appended = this.char === ch;
1039
- var isResolved = appended && (this.isUnmasking || flags.input || flags.raw) && !this.eager && !flags.tail;
1059
+ var isResolved = appended && (this.isUnmasking || flags.input || flags.raw) && (!flags.raw || !this.eager) && !flags.tail;
1040
1060
  if (isResolved) details.rawInserted = this.char;
1041
1061
  this._value = details.inserted = this.char;
1042
1062
  this._isRawInput = isResolved && (flags.raw || flags.input);
@@ -1045,7 +1065,9 @@
1045
1065
  }, {
1046
1066
  key: "_appendEager",
1047
1067
  value: function _appendEager() {
1048
- return this._appendChar(this.char);
1068
+ return this._appendChar(this.char, {
1069
+ tail: true
1070
+ });
1049
1071
  }
1050
1072
  }, {
1051
1073
  key: "_appendPlaceholder",
@@ -1614,11 +1636,11 @@
1614
1636
  var details = new ChangeDetails();
1615
1637
  if (!blockIter) return details;
1616
1638
  for (var bi = blockIter.index;; ++bi) {
1617
- var _flags$_beforeTailSta;
1639
+ var _flags$_beforeTailSta, _flags$_beforeTailSta2;
1618
1640
  var _block = this._blocks[bi];
1619
1641
  if (!_block) break;
1620
1642
  var blockDetails = _block._appendChar(ch, Object.assign({}, flags, {
1621
- _beforeTailState: (_flags$_beforeTailSta = flags._beforeTailState) === null || _flags$_beforeTailSta === void 0 ? void 0 : _flags$_beforeTailSta._blocks[bi]
1643
+ _beforeTailState: (_flags$_beforeTailSta = flags._beforeTailState) === null || _flags$_beforeTailSta === void 0 ? void 0 : (_flags$_beforeTailSta2 = _flags$_beforeTailSta._blocks) === null || _flags$_beforeTailSta2 === void 0 ? void 0 : _flags$_beforeTailSta2[bi]
1622
1644
  }));
1623
1645
  var skip = blockDetails.skip;
1624
1646
  details.aggregate(blockDetails);
@@ -2279,6 +2301,7 @@
2279
2301
  return this._value;
2280
2302
  },
2281
2303
  set: function set(str) {
2304
+ if (this.value === str) return;
2282
2305
  this.masked.value = str;
2283
2306
  this.updateControl();
2284
2307
  this.alignCursor();
@@ -2289,6 +2312,7 @@
2289
2312
  return this._unmaskedValue;
2290
2313
  },
2291
2314
  set: function set(str) {
2315
+ if (this.unmaskedValue === str) return;
2292
2316
  this.masked.unmaskedValue = str;
2293
2317
  this.updateControl();
2294
2318
  this.alignCursor();
@@ -2299,6 +2323,7 @@
2299
2323
  return this.masked.typedValue;
2300
2324
  },
2301
2325
  set: function set(val) {
2326
+ if (this.masked.typedValueEquals(val)) return;
2302
2327
  this.masked.typedValue = val;
2303
2328
  this.updateControl();
2304
2329
  this.alignCursor();
@@ -2460,7 +2485,10 @@
2460
2485
  this.el.value, this.cursorPos,
2461
2486
  this.value, this._selection);
2462
2487
  var oldRawValue = this.masked.rawInputValue;
2463
- var offset = this.masked.splice(details.startChangePos, details.removed.length, details.inserted, details.removeDirection).offset;
2488
+ var offset = this.masked.splice(details.startChangePos, details.removed.length, details.inserted, details.removeDirection, {
2489
+ input: true,
2490
+ raw: true
2491
+ }).offset;
2464
2492
  var removeDirection = oldRawValue === this.masked.rawInputValue ? details.removeDirection : DIRECTION.NONE;
2465
2493
  var cursorPos = this.masked.nearestInputPos(details.startChangePos + offset, removeDirection);
2466
2494
  if (removeDirection !== DIRECTION.NONE) cursorPos = this.masked.nearestInputPos(cursorPos, DIRECTION.NONE);
@@ -2784,6 +2812,11 @@
2784
2812
  get: function get() {
2785
2813
  return this.signed || this.min != null && this.min < 0 || this.max != null && this.max < 0;
2786
2814
  }
2815
+ }, {
2816
+ key: "typedValueEquals",
2817
+ value: function typedValueEquals(value) {
2818
+ return (_get(_getPrototypeOf(MaskedNumber.prototype), "typedValueEquals", this).call(this, value) || MaskedNumber.EMPTY_VALUES.includes(value) && MaskedNumber.EMPTY_VALUES.includes(this.typedValue)) && !(value === 0 && this.value === '');
2819
+ }
2787
2820
  }]);
2788
2821
  return MaskedNumber;
2789
2822
  }(Masked);
@@ -2796,6 +2829,7 @@
2796
2829
  normalizeZeros: true,
2797
2830
  padFractionalZeros: false
2798
2831
  };
2832
+ MaskedNumber.EMPTY_VALUES = [].concat(_toConsumableArray(Masked.EMPTY_VALUES), [0]);
2799
2833
  IMask.MaskedNumber = MaskedNumber;
2800
2834
 
2801
2835
  var MaskedFunction = function (_Masked) {
@@ -2844,7 +2878,7 @@
2844
2878
  var flags = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
2845
2879
  var details = this._applyDispatch(ch, flags);
2846
2880
  if (this.currentMask) {
2847
- details.aggregate(this.currentMask._appendChar(ch, flags));
2881
+ details.aggregate(this.currentMask._appendChar(ch, this.currentMaskFlags(flags)));
2848
2882
  }
2849
2883
  return details;
2850
2884
  }
@@ -2860,7 +2894,7 @@
2860
2894
  var tailValue = inputValue.slice(insertValue.length);
2861
2895
  var prevMask = this.currentMask;
2862
2896
  var details = new ChangeDetails();
2863
- var prevMaskState = prevMask && prevMask.state;
2897
+ var prevMaskState = prevMask === null || prevMask === void 0 ? void 0 : prevMask.state;
2864
2898
  this.currentMask = this.doDispatch(appended, Object.assign({}, flags));
2865
2899
  if (this.currentMask) {
2866
2900
  if (this.currentMask !== prevMask) {
@@ -2901,6 +2935,14 @@
2901
2935
  }
2902
2936
  return details;
2903
2937
  }
2938
+ }, {
2939
+ key: "currentMaskFlags",
2940
+ value: function currentMaskFlags(flags) {
2941
+ var _flags$_beforeTailSta, _flags$_beforeTailSta2;
2942
+ return Object.assign({}, flags, {
2943
+ _beforeTailState: ((_flags$_beforeTailSta = flags._beforeTailState) === null || _flags$_beforeTailSta === void 0 ? void 0 : _flags$_beforeTailSta.currentMaskRef) === this.currentMask && ((_flags$_beforeTailSta2 = flags._beforeTailState) === null || _flags$_beforeTailSta2 === void 0 ? void 0 : _flags$_beforeTailSta2.currentMask) || flags._beforeTailState
2944
+ });
2945
+ }
2904
2946
  }, {
2905
2947
  key: "doDispatch",
2906
2948
  value: function doDispatch(appended) {
@@ -2909,18 +2951,32 @@
2909
2951
  }
2910
2952
  }, {
2911
2953
  key: "doValidate",
2912
- value: function doValidate() {
2913
- var _get2, _this$currentMask;
2914
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
2915
- args[_key] = arguments[_key];
2954
+ value: function doValidate(flags) {
2955
+ return _get(_getPrototypeOf(MaskedDynamic.prototype), "doValidate", this).call(this, flags) && (!this.currentMask || this.currentMask.doValidate(this.currentMaskFlags(flags)));
2956
+ }
2957
+ }, {
2958
+ key: "doPrepare",
2959
+ value: function doPrepare(str) {
2960
+ var flags = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
2961
+ var _normalizePrepare = normalizePrepare(_get(_getPrototypeOf(MaskedDynamic.prototype), "doPrepare", this).call(this, str, flags)),
2962
+ _normalizePrepare2 = _slicedToArray(_normalizePrepare, 2),
2963
+ s = _normalizePrepare2[0],
2964
+ details = _normalizePrepare2[1];
2965
+ if (this.currentMask) {
2966
+ var currentDetails;
2967
+ var _normalizePrepare3 = normalizePrepare(_get(_getPrototypeOf(MaskedDynamic.prototype), "doPrepare", this).call(this, s, this.currentMaskFlags(flags)));
2968
+ var _normalizePrepare4 = _slicedToArray(_normalizePrepare3, 2);
2969
+ s = _normalizePrepare4[0];
2970
+ currentDetails = _normalizePrepare4[1];
2971
+ details = details.aggregate(currentDetails);
2916
2972
  }
2917
- return (_get2 = _get(_getPrototypeOf(MaskedDynamic.prototype), "doValidate", this)).call.apply(_get2, [this].concat(args)) && (!this.currentMask || (_this$currentMask = this.currentMask).doValidate.apply(_this$currentMask, args));
2973
+ return [s, details];
2918
2974
  }
2919
2975
  }, {
2920
2976
  key: "reset",
2921
2977
  value: function reset() {
2922
- var _this$currentMask2;
2923
- (_this$currentMask2 = this.currentMask) === null || _this$currentMask2 === void 0 ? void 0 : _this$currentMask2.reset();
2978
+ var _this$currentMask;
2979
+ (_this$currentMask = this.currentMask) === null || _this$currentMask === void 0 ? void 0 : _this$currentMask.reset();
2924
2980
  this.compiledMasks.forEach(function (m) {
2925
2981
  return m.reset();
2926
2982
  });
@@ -2958,22 +3014,22 @@
2958
3014
  }, {
2959
3015
  key: "isComplete",
2960
3016
  get: function get() {
2961
- var _this$currentMask3;
2962
- return Boolean((_this$currentMask3 = this.currentMask) === null || _this$currentMask3 === void 0 ? void 0 : _this$currentMask3.isComplete);
3017
+ var _this$currentMask2;
3018
+ return Boolean((_this$currentMask2 = this.currentMask) === null || _this$currentMask2 === void 0 ? void 0 : _this$currentMask2.isComplete);
2963
3019
  }
2964
3020
  }, {
2965
3021
  key: "isFilled",
2966
3022
  get: function get() {
2967
- var _this$currentMask4;
2968
- return Boolean((_this$currentMask4 = this.currentMask) === null || _this$currentMask4 === void 0 ? void 0 : _this$currentMask4.isFilled);
3023
+ var _this$currentMask3;
3024
+ return Boolean((_this$currentMask3 = this.currentMask) === null || _this$currentMask3 === void 0 ? void 0 : _this$currentMask3.isFilled);
2969
3025
  }
2970
3026
  }, {
2971
3027
  key: "remove",
2972
3028
  value: function remove() {
2973
3029
  var details = new ChangeDetails();
2974
3030
  if (this.currentMask) {
2975
- var _this$currentMask5;
2976
- details.aggregate((_this$currentMask5 = this.currentMask).remove.apply(_this$currentMask5, arguments))
3031
+ var _this$currentMask4;
3032
+ details.aggregate((_this$currentMask4 = this.currentMask).remove.apply(_this$currentMask4, arguments))
2977
3033
  .aggregate(this._applyDispatch());
2978
3034
  }
2979
3035
  return details;
@@ -2981,13 +3037,14 @@
2981
3037
  }, {
2982
3038
  key: "state",
2983
3039
  get: function get() {
3040
+ var _this$currentMask5;
2984
3041
  return Object.assign({}, _get(_getPrototypeOf(MaskedDynamic.prototype), "state", this), {
2985
3042
  _rawInputValue: this.rawInputValue,
2986
3043
  compiledMasks: this.compiledMasks.map(function (m) {
2987
3044
  return m.state;
2988
3045
  }),
2989
3046
  currentMaskRef: this.currentMask,
2990
- currentMask: this.currentMask && this.currentMask.state
3047
+ currentMask: (_this$currentMask5 = this.currentMask) === null || _this$currentMask5 === void 0 ? void 0 : _this$currentMask5.state
2991
3048
  });
2992
3049
  },
2993
3050
  set: function set(state) {
@@ -3013,11 +3070,11 @@
3013
3070
  }, {
3014
3071
  key: "extractTail",
3015
3072
  value: function extractTail() {
3016
- var _this$currentMask7, _get3;
3017
- for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
3018
- args[_key2] = arguments[_key2];
3073
+ var _this$currentMask7, _get2;
3074
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
3075
+ args[_key] = arguments[_key];
3019
3076
  }
3020
- return this.currentMask ? (_this$currentMask7 = this.currentMask).extractTail.apply(_this$currentMask7, args) : (_get3 = _get(_getPrototypeOf(MaskedDynamic.prototype), "extractTail", this)).call.apply(_get3, [this].concat(args));
3077
+ return this.currentMask ? (_this$currentMask7 = this.currentMask).extractTail.apply(_this$currentMask7, args) : (_get2 = _get(_getPrototypeOf(MaskedDynamic.prototype), "extractTail", this)).call.apply(_get2, [this].concat(args));
3021
3078
  }
3022
3079
  }, {
3023
3080
  key: "doCommit",
@@ -3028,11 +3085,11 @@
3028
3085
  }, {
3029
3086
  key: "nearestInputPos",
3030
3087
  value: function nearestInputPos() {
3031
- var _this$currentMask8, _get4;
3032
- for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
3033
- args[_key3] = arguments[_key3];
3088
+ var _this$currentMask8, _get3;
3089
+ for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
3090
+ args[_key2] = arguments[_key2];
3034
3091
  }
3035
- return this.currentMask ? (_this$currentMask8 = this.currentMask).nearestInputPos.apply(_this$currentMask8, args) : (_get4 = _get(_getPrototypeOf(MaskedDynamic.prototype), "nearestInputPos", this)).call.apply(_get4, [this].concat(args));
3092
+ return this.currentMask ? (_this$currentMask8 = this.currentMask).nearestInputPos.apply(_this$currentMask8, args) : (_get3 = _get(_getPrototypeOf(MaskedDynamic.prototype), "nearestInputPos", this)).call.apply(_get3, [this].concat(args));
3036
3093
  }
3037
3094
  }, {
3038
3095
  key: "overwrite",
@@ -3058,6 +3115,12 @@
3058
3115
  return m.maskEquals((_mask$mi = mask[mi]) === null || _mask$mi === void 0 ? void 0 : _mask$mi.mask);
3059
3116
  });
3060
3117
  }
3118
+ }, {
3119
+ key: "typedValueEquals",
3120
+ value: function typedValueEquals(value) {
3121
+ var _this$currentMask9;
3122
+ return Boolean((_this$currentMask9 = this.currentMask) === null || _this$currentMask9 === void 0 ? void 0 : _this$currentMask9.typedValueEquals(value));
3123
+ }
3061
3124
  }]);
3062
3125
  return MaskedDynamic;
3063
3126
  }(Masked);
@@ -3070,7 +3133,7 @@
3070
3133
  m.append(inputValue, {
3071
3134
  raw: true
3072
3135
  });
3073
- m.append(appended, flags);
3136
+ m.append(appended, masked.currentMaskFlags(flags));
3074
3137
  var weight = m.rawInputValue.length;
3075
3138
  return {
3076
3139
  weight: weight,
@@ -4658,7 +4721,7 @@
4658
4721
  });
4659
4722
 
4660
4723
  /*!
4661
- * Bootstrap v5.2.1 (https://getbootstrap.com/)
4724
+ * Bootstrap v5.2.2 (https://getbootstrap.com/)
4662
4725
  * Copyright 2011-2022 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
4663
4726
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
4664
4727
  */
@@ -5189,7 +5252,7 @@
5189
5252
  }
5190
5253
  }
5191
5254
  }
5192
- const VERSION = '5.2.1';
5255
+ const VERSION = '5.2.2';
5193
5256
  class BaseComponent extends Config {
5194
5257
  constructor(element, config) {
5195
5258
  super();
@@ -6033,7 +6096,7 @@
6033
6096
  super(element, config);
6034
6097
  this._popper = null;
6035
6098
  this._parent = this._element.parentNode;
6036
- this._menu = SelectorEngine.next(this._element, SELECTOR_MENU)[0] || SelectorEngine.prev(this._element, SELECTOR_MENU)[0];
6099
+ this._menu = SelectorEngine.next(this._element, SELECTOR_MENU)[0] || SelectorEngine.prev(this._element, SELECTOR_MENU)[0] || SelectorEngine.findOne(SELECTOR_MENU, this._parent);
6037
6100
  this._inNavbar = this._detectNavbar();
6038
6101
  }
6039
6102
  static get Default() {
@@ -6257,7 +6320,7 @@
6257
6320
  return;
6258
6321
  }
6259
6322
  event.preventDefault();
6260
- const getToggleButton = this.matches(SELECTOR_DATA_TOGGLE$3) ? this : SelectorEngine.prev(this, SELECTOR_DATA_TOGGLE$3)[0] || SelectorEngine.next(this, SELECTOR_DATA_TOGGLE$3)[0];
6323
+ const getToggleButton = this.matches(SELECTOR_DATA_TOGGLE$3) ? this : SelectorEngine.prev(this, SELECTOR_DATA_TOGGLE$3)[0] || SelectorEngine.next(this, SELECTOR_DATA_TOGGLE$3)[0] || SelectorEngine.findOne(SELECTOR_DATA_TOGGLE$3, event.delegateTarget.parentNode);
6261
6324
  const instance = Dropdown.getOrCreateInstance(getToggleButton);
6262
6325
  if (isUpOrDownEvent) {
6263
6326
  event.stopPropagation();
@@ -6679,7 +6742,7 @@
6679
6742
  });
6680
6743
  EventHandler.on(this._element, EVENT_MOUSEDOWN_DISMISS, event => {
6681
6744
  EventHandler.one(this._element, EVENT_CLICK_DISMISS, event2 => {
6682
- if (this._dialog.contains(event.target) || this._dialog.contains(event2.target)) {
6745
+ if (this._element !== event.target || this._element !== event2.target) {
6683
6746
  return;
6684
6747
  }
6685
6748
  if (this._config.backdrop === 'static') {
@@ -7238,6 +7301,9 @@
7238
7301
  this._newContent = null;
7239
7302
  this.tip = null;
7240
7303
  this._setListeners();
7304
+ if (!this._config.selector) {
7305
+ this._fixTitle();
7306
+ }
7241
7307
  }
7242
7308
  static get Default() {
7243
7309
  return Default$3;
@@ -7257,20 +7323,11 @@
7257
7323
  toggleEnabled() {
7258
7324
  this._isEnabled = !this._isEnabled;
7259
7325
  }
7260
- toggle(event) {
7326
+ toggle() {
7261
7327
  if (!this._isEnabled) {
7262
7328
  return;
7263
7329
  }
7264
- if (event) {
7265
- const context = this._initializeOnDelegatedTarget(event);
7266
- context._activeTrigger.click = !context._activeTrigger.click;
7267
- if (context._isWithActiveTrigger()) {
7268
- context._enter();
7269
- } else {
7270
- context._leave();
7271
- }
7272
- return;
7273
- }
7330
+ this._activeTrigger.click = !this._activeTrigger.click;
7274
7331
  if (this._isShown()) {
7275
7332
  this._leave();
7276
7333
  return;
@@ -7283,8 +7340,8 @@
7283
7340
  if (this.tip) {
7284
7341
  this.tip.remove();
7285
7342
  }
7286
- if (this._config.originalTitle) {
7287
- this._element.setAttribute('title', this._config.originalTitle);
7343
+ if (this._element.getAttribute('data-bs-original-title')) {
7344
+ this._element.setAttribute('title', this._element.getAttribute('data-bs-original-title'));
7288
7345
  }
7289
7346
  this._disposePopper();
7290
7347
  super.dispose();
@@ -7419,7 +7476,7 @@
7419
7476
  };
7420
7477
  }
7421
7478
  _getTitle() {
7422
- return this._resolvePossibleFunction(this._config.title) || this._config.originalTitle;
7479
+ return this._resolvePossibleFunction(this._config.title) || this._element.getAttribute('data-bs-original-title');
7423
7480
  }
7424
7481
  _initializeOnDelegatedTarget(event) {
7425
7482
  return this.constructor.getOrCreateInstance(event.delegateTarget, this._getDelegateConfig());
@@ -7490,7 +7547,10 @@
7490
7547
  const triggers = this._config.trigger.split(' ');
7491
7548
  for (const trigger of triggers) {
7492
7549
  if (trigger === 'click') {
7493
- EventHandler.on(this._element, this.constructor.eventName(EVENT_CLICK$1), this._config.selector, event => this.toggle(event));
7550
+ EventHandler.on(this._element, this.constructor.eventName(EVENT_CLICK$1), this._config.selector, event => {
7551
+ const context = this._initializeOnDelegatedTarget(event);
7552
+ context.toggle();
7553
+ });
7494
7554
  } else if (trigger !== TRIGGER_MANUAL) {
7495
7555
  const eventIn = trigger === TRIGGER_HOVER ? this.constructor.eventName(EVENT_MOUSEENTER) : this.constructor.eventName(EVENT_FOCUSIN$1);
7496
7556
  const eventOut = trigger === TRIGGER_HOVER ? this.constructor.eventName(EVENT_MOUSELEAVE) : this.constructor.eventName(EVENT_FOCUSOUT$1);
@@ -7512,23 +7572,16 @@
7512
7572
  }
7513
7573
  };
7514
7574
  EventHandler.on(this._element.closest(SELECTOR_MODAL), EVENT_MODAL_HIDE, this._hideModalHandler);
7515
- if (this._config.selector) {
7516
- this._config = { ...this._config,
7517
- trigger: 'manual',
7518
- selector: ''
7519
- };
7520
- } else {
7521
- this._fixTitle();
7522
- }
7523
7575
  }
7524
7576
  _fixTitle() {
7525
- const title = this._config.originalTitle;
7577
+ const title = this._element.getAttribute('title');
7526
7578
  if (!title) {
7527
7579
  return;
7528
7580
  }
7529
7581
  if (!this._element.getAttribute('aria-label') && !this._element.textContent.trim()) {
7530
7582
  this._element.setAttribute('aria-label', title);
7531
7583
  }
7584
+ this._element.setAttribute('data-bs-original-title', title);
7532
7585
  this._element.removeAttribute('title');
7533
7586
  }
7534
7587
  _enter() {
@@ -7584,7 +7637,6 @@
7584
7637
  hide: config.delay
7585
7638
  };
7586
7639
  }
7587
- config.originalTitle = this._element.getAttribute('title') || '';
7588
7640
  if (typeof config.title === 'number') {
7589
7641
  config.title = config.title.toString();
7590
7642
  }
@@ -7600,6 +7652,8 @@
7600
7652
  config[key] = this._config[key];
7601
7653
  }
7602
7654
  }
7655
+ config.selector = false;
7656
+ config.trigger = 'manual';
7603
7657
  return config;
7604
7658
  }
7605
7659
  _disposePopper() {
@@ -7892,7 +7946,6 @@
7892
7946
  const CLASS_DROPDOWN = 'dropdown';
7893
7947
  const SELECTOR_DROPDOWN_TOGGLE = '.dropdown-toggle';
7894
7948
  const SELECTOR_DROPDOWN_MENU = '.dropdown-menu';
7895
- const SELECTOR_DROPDOWN_ITEM = '.dropdown-item';
7896
7949
  const NOT_SELECTOR_DROPDOWN_TOGGLE = ':not(.dropdown-toggle)';
7897
7950
  const SELECTOR_TAB_PANEL = '.list-group, .nav, [role="tablist"]';
7898
7951
  const SELECTOR_OUTER = '.nav-item, .list-group-item';
@@ -7942,7 +7995,6 @@
7942
7995
  element.classList.add(CLASS_NAME_SHOW$1);
7943
7996
  return;
7944
7997
  }
7945
- element.focus();
7946
7998
  element.removeAttribute('tabindex');
7947
7999
  element.setAttribute('aria-selected', true);
7948
8000
  this._toggleDropDown(element, true);
@@ -7982,6 +8034,9 @@
7982
8034
  const isNext = [ARROW_RIGHT_KEY, ARROW_DOWN_KEY].includes(event.key);
7983
8035
  const nextActiveElement = getNextActiveElement(this._getChildren().filter(element => !isDisabled(element)), event.target, isNext, true);
7984
8036
  if (nextActiveElement) {
8037
+ nextActiveElement.focus({
8038
+ preventScroll: true
8039
+ });
7985
8040
  Tab.getOrCreateInstance(nextActiveElement).show();
7986
8041
  }
7987
8042
  }
@@ -8034,7 +8089,6 @@
8034
8089
  };
8035
8090
  toggle(SELECTOR_DROPDOWN_TOGGLE, CLASS_NAME_ACTIVE);
8036
8091
  toggle(SELECTOR_DROPDOWN_MENU, CLASS_NAME_SHOW$1);
8037
- toggle(SELECTOR_DROPDOWN_ITEM, CLASS_NAME_ACTIVE);
8038
8092
  outerElem.setAttribute('aria-expanded', open);
8039
8093
  }
8040
8094
  _setAttributeIfNotExists(element, attribute, value) {
@@ -8181,12 +8235,16 @@
8181
8235
  switch (event.type) {
8182
8236
  case 'mouseover':
8183
8237
  case 'mouseout':
8184
- this._hasMouseInteraction = isInteracting;
8185
- break;
8238
+ {
8239
+ this._hasMouseInteraction = isInteracting;
8240
+ break;
8241
+ }
8186
8242
  case 'focusin':
8187
8243
  case 'focusout':
8188
- this._hasKeyboardInteraction = isInteracting;
8189
- break;
8244
+ {
8245
+ this._hasKeyboardInteraction = isInteracting;
8246
+ break;
8247
+ }
8190
8248
  }
8191
8249
  if (isInteracting) {
8192
8250
  this._clearTimeout();
@@ -8241,7 +8299,10 @@
8241
8299
 
8242
8300
  var dropdownTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="dropdown"]'));
8243
8301
  dropdownTriggerList.map(function (dropdownTriggerEl) {
8244
- return new Dropdown(dropdownTriggerEl);
8302
+ var options = {
8303
+ boundary: dropdownTriggerEl.getAttribute('data-bs-boundary') === 'viewport' ? document.querySelector('.btn') : 'clippingParents'
8304
+ };
8305
+ return new Dropdown(dropdownTriggerEl, options);
8245
8306
  });
8246
8307
 
8247
8308
  var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]'));
@@ -8320,7 +8381,7 @@
8320
8381
  getColor: getColor
8321
8382
  });
8322
8383
 
8323
- window.bootstrap = bootstrap;
8324
- window.tabler = tabler;
8384
+ globalThis.bootstrap = bootstrap;
8385
+ globalThis.tabler = tabler;
8325
8386
 
8326
8387
  }));