@tabler/core 1.0.0-beta12 → 1.0.0-beta13

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 +13247 -8033
  18. package/dist/css/tabler.min.css +4 -4
  19. package/dist/css/tabler.rtl.css +13244 -8031
  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 +129 -104
  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 +21 -34
  186. package/src/scss/layout/_footer.scss +1 -1
  187. package/src/scss/layout/_navbar.scss +20 -18
  188. package/src/scss/layout/_page.scss +3 -3
  189. package/src/scss/layout/_root.scss +11 -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 +14 -9
  195. package/src/scss/ui/_calendars.scss +4 -4
  196. package/src/scss/ui/_cards.scss +37 -52
  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 +3 -3
  204. package/src/scss/ui/_modals.scss +1 -1
  205. package/src/scss/ui/_nav.scss +3 -3
  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
@@ -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-beta13 (https://tabler.io)
3
+ * @version 1.0.0-beta13
4
4
  * @link https://tabler.io
5
5
  * Copyright 2018-2022 The Tabler Authors
6
6
  * Copyright 2018-2022 codecalm.net Paweł Kuna
@@ -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-beta13 (https://tabler.io)
3
+ * @version 1.0.0-beta13
4
4
  * @link https://tabler.io
5
5
  * Copyright 2018-2022 The Tabler Authors
6
6
  * Copyright 2018-2022 codecalm.net Paweł Kuna
package/dist/js/demo.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-beta13 (https://tabler.io)
3
+ * @version 1.0.0-beta13
4
4
  * @link https://tabler.io
5
5
  * Copyright 2018-2022 The Tabler Authors
6
6
  * Copyright 2018-2022 codecalm.net Paweł Kuna
@@ -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-beta13 (https://tabler.io)
3
+ * @version 1.0.0-beta13
4
4
  * @link https://tabler.io
5
5
  * Copyright 2018-2022 The Tabler Authors
6
6
  * Copyright 2018-2022 codecalm.net Paweł Kuna
@@ -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-beta13 (https://tabler.io)
3
+ * @version 1.0.0-beta13
4
4
  * @link https://tabler.io
5
5
  * Copyright 2018-2022 The Tabler Authors
6
6
  * Copyright 2018-2022 codecalm.net Paweł Kuna
@@ -75,13 +75,13 @@ function _inherits(subClass, superClass) {
75
75
  if (superClass) _setPrototypeOf(subClass, superClass);
76
76
  }
77
77
  function _getPrototypeOf(o) {
78
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
78
+ _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
79
79
  return o.__proto__ || Object.getPrototypeOf(o);
80
80
  };
81
81
  return _getPrototypeOf(o);
82
82
  }
83
83
  function _setPrototypeOf(o, p) {
84
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
84
+ _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
85
85
  o.__proto__ = p;
86
86
  return o;
87
87
  };
@@ -162,7 +162,7 @@ function _superPropBase(object, property) {
162
162
  }
163
163
  function _get() {
164
164
  if (typeof Reflect !== "undefined" && Reflect.get) {
165
- _get = Reflect.get;
165
+ _get = Reflect.get.bind();
166
166
  } else {
167
167
  _get = function _get(target, property, receiver) {
168
168
  var base = _superPropBase(target, property);
@@ -217,9 +217,18 @@ function _set(target, property, value, receiver, isStrict) {
217
217
  function _slicedToArray(arr, i) {
218
218
  return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
219
219
  }
220
+ function _toConsumableArray(arr) {
221
+ return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
222
+ }
223
+ function _arrayWithoutHoles(arr) {
224
+ if (Array.isArray(arr)) return _arrayLikeToArray(arr);
225
+ }
220
226
  function _arrayWithHoles(arr) {
221
227
  if (Array.isArray(arr)) return arr;
222
228
  }
229
+ function _iterableToArray(iter) {
230
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
231
+ }
223
232
  function _iterableToArrayLimit(arr, i) {
224
233
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
225
234
  if (_i == null) return;
@@ -257,6 +266,9 @@ function _arrayLikeToArray(arr, len) {
257
266
  for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
258
267
  return arr2;
259
268
  }
269
+ function _nonIterableSpread() {
270
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
271
+ }
260
272
  function _nonIterableRest() {
261
273
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
262
274
  }
@@ -657,7 +669,7 @@ var Masked = function () {
657
669
  if (!isString(str)) throw new Error('value should be string');
658
670
  var details = new ChangeDetails();
659
671
  var checkTail = isString(tail) ? new ContinuousTailDetails(String(tail)) : tail;
660
- if (flags && flags.tail) flags._beforeTailState = this.state;
672
+ if (flags !== null && flags !== void 0 && flags.tail) flags._beforeTailState = this.state;
661
673
  for (var ci = 0; ci < str.length; ++ci) {
662
674
  details.aggregate(this._appendChar(str[ci], flags, checkTail));
663
675
  }
@@ -732,6 +744,9 @@ var Masked = function () {
732
744
  }, {
733
745
  key: "splice",
734
746
  value: function splice(start, deleteCount, inserted, removeDirection) {
747
+ var flags = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {
748
+ input: true
749
+ };
735
750
  var tailPos = start + deleteCount;
736
751
  var tail = this.extractTail(tailPos);
737
752
  var oldRawValue;
@@ -757,15 +772,19 @@ var Masked = function () {
757
772
  tail.unshift();
758
773
  }
759
774
  }
760
- return details.aggregate(this.append(inserted, {
761
- input: true
762
- }, tail));
775
+ return details.aggregate(this.append(inserted, flags, tail));
763
776
  }
764
777
  }, {
765
778
  key: "maskEquals",
766
779
  value: function maskEquals(mask) {
767
780
  return this.mask === mask;
768
781
  }
782
+ }, {
783
+ key: "typedValueEquals",
784
+ value: function typedValueEquals(value) {
785
+ var tval = this.typedValue;
786
+ return value === tval || Masked.EMPTY_VALUES.includes(value) && Masked.EMPTY_VALUES.includes(tval) || this.doFormat(value) === this.doFormat(this.typedValue);
787
+ }
769
788
  }]);
770
789
  return Masked;
771
790
  }();
@@ -777,6 +796,7 @@ Masked.DEFAULTS = {
777
796
  return v;
778
797
  }
779
798
  };
799
+ Masked.EMPTY_VALUES = [undefined, null, ''];
780
800
  IMask.Masked = Masked;
781
801
 
782
802
  function maskedClass(mask) {
@@ -1031,7 +1051,7 @@ var PatternFixedDefinition = function () {
1031
1051
  var details = new ChangeDetails();
1032
1052
  if (this._value) return details;
1033
1053
  var appended = this.char === ch;
1034
- var isResolved = appended && (this.isUnmasking || flags.input || flags.raw) && !this.eager && !flags.tail;
1054
+ var isResolved = appended && (this.isUnmasking || flags.input || flags.raw) && (!flags.raw || !this.eager) && !flags.tail;
1035
1055
  if (isResolved) details.rawInserted = this.char;
1036
1056
  this._value = details.inserted = this.char;
1037
1057
  this._isRawInput = isResolved && (flags.raw || flags.input);
@@ -1040,7 +1060,9 @@ var PatternFixedDefinition = function () {
1040
1060
  }, {
1041
1061
  key: "_appendEager",
1042
1062
  value: function _appendEager() {
1043
- return this._appendChar(this.char);
1063
+ return this._appendChar(this.char, {
1064
+ tail: true
1065
+ });
1044
1066
  }
1045
1067
  }, {
1046
1068
  key: "_appendPlaceholder",
@@ -1609,11 +1631,11 @@ var MaskedPattern = function (_Masked) {
1609
1631
  var details = new ChangeDetails();
1610
1632
  if (!blockIter) return details;
1611
1633
  for (var bi = blockIter.index;; ++bi) {
1612
- var _flags$_beforeTailSta;
1634
+ var _flags$_beforeTailSta, _flags$_beforeTailSta2;
1613
1635
  var _block = this._blocks[bi];
1614
1636
  if (!_block) break;
1615
1637
  var blockDetails = _block._appendChar(ch, Object.assign({}, flags, {
1616
- _beforeTailState: (_flags$_beforeTailSta = flags._beforeTailState) === null || _flags$_beforeTailSta === void 0 ? void 0 : _flags$_beforeTailSta._blocks[bi]
1638
+ _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]
1617
1639
  }));
1618
1640
  var skip = blockDetails.skip;
1619
1641
  details.aggregate(blockDetails);
@@ -2274,6 +2296,7 @@ var InputMask = function () {
2274
2296
  return this._value;
2275
2297
  },
2276
2298
  set: function set(str) {
2299
+ if (this.value === str) return;
2277
2300
  this.masked.value = str;
2278
2301
  this.updateControl();
2279
2302
  this.alignCursor();
@@ -2284,6 +2307,7 @@ var InputMask = function () {
2284
2307
  return this._unmaskedValue;
2285
2308
  },
2286
2309
  set: function set(str) {
2310
+ if (this.unmaskedValue === str) return;
2287
2311
  this.masked.unmaskedValue = str;
2288
2312
  this.updateControl();
2289
2313
  this.alignCursor();
@@ -2294,6 +2318,7 @@ var InputMask = function () {
2294
2318
  return this.masked.typedValue;
2295
2319
  },
2296
2320
  set: function set(val) {
2321
+ if (this.masked.typedValueEquals(val)) return;
2297
2322
  this.masked.typedValue = val;
2298
2323
  this.updateControl();
2299
2324
  this.alignCursor();
@@ -2455,7 +2480,10 @@ var InputMask = function () {
2455
2480
  this.el.value, this.cursorPos,
2456
2481
  this.value, this._selection);
2457
2482
  var oldRawValue = this.masked.rawInputValue;
2458
- var offset = this.masked.splice(details.startChangePos, details.removed.length, details.inserted, details.removeDirection).offset;
2483
+ var offset = this.masked.splice(details.startChangePos, details.removed.length, details.inserted, details.removeDirection, {
2484
+ input: true,
2485
+ raw: true
2486
+ }).offset;
2459
2487
  var removeDirection = oldRawValue === this.masked.rawInputValue ? details.removeDirection : DIRECTION.NONE;
2460
2488
  var cursorPos = this.masked.nearestInputPos(details.startChangePos + offset, removeDirection);
2461
2489
  if (removeDirection !== DIRECTION.NONE) cursorPos = this.masked.nearestInputPos(cursorPos, DIRECTION.NONE);
@@ -2779,6 +2807,11 @@ var MaskedNumber = function (_Masked) {
2779
2807
  get: function get() {
2780
2808
  return this.signed || this.min != null && this.min < 0 || this.max != null && this.max < 0;
2781
2809
  }
2810
+ }, {
2811
+ key: "typedValueEquals",
2812
+ value: function typedValueEquals(value) {
2813
+ 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 === '');
2814
+ }
2782
2815
  }]);
2783
2816
  return MaskedNumber;
2784
2817
  }(Masked);
@@ -2791,6 +2824,7 @@ MaskedNumber.DEFAULTS = {
2791
2824
  normalizeZeros: true,
2792
2825
  padFractionalZeros: false
2793
2826
  };
2827
+ MaskedNumber.EMPTY_VALUES = [].concat(_toConsumableArray(Masked.EMPTY_VALUES), [0]);
2794
2828
  IMask.MaskedNumber = MaskedNumber;
2795
2829
 
2796
2830
  var MaskedFunction = function (_Masked) {
@@ -2839,7 +2873,7 @@ var MaskedDynamic = function (_Masked) {
2839
2873
  var flags = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
2840
2874
  var details = this._applyDispatch(ch, flags);
2841
2875
  if (this.currentMask) {
2842
- details.aggregate(this.currentMask._appendChar(ch, flags));
2876
+ details.aggregate(this.currentMask._appendChar(ch, this.currentMaskFlags(flags)));
2843
2877
  }
2844
2878
  return details;
2845
2879
  }
@@ -2855,7 +2889,7 @@ var MaskedDynamic = function (_Masked) {
2855
2889
  var tailValue = inputValue.slice(insertValue.length);
2856
2890
  var prevMask = this.currentMask;
2857
2891
  var details = new ChangeDetails();
2858
- var prevMaskState = prevMask && prevMask.state;
2892
+ var prevMaskState = prevMask === null || prevMask === void 0 ? void 0 : prevMask.state;
2859
2893
  this.currentMask = this.doDispatch(appended, Object.assign({}, flags));
2860
2894
  if (this.currentMask) {
2861
2895
  if (this.currentMask !== prevMask) {
@@ -2896,6 +2930,14 @@ var MaskedDynamic = function (_Masked) {
2896
2930
  }
2897
2931
  return details;
2898
2932
  }
2933
+ }, {
2934
+ key: "currentMaskFlags",
2935
+ value: function currentMaskFlags(flags) {
2936
+ var _flags$_beforeTailSta, _flags$_beforeTailSta2;
2937
+ return Object.assign({}, flags, {
2938
+ _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
2939
+ });
2940
+ }
2899
2941
  }, {
2900
2942
  key: "doDispatch",
2901
2943
  value: function doDispatch(appended) {
@@ -2904,18 +2946,32 @@ var MaskedDynamic = function (_Masked) {
2904
2946
  }
2905
2947
  }, {
2906
2948
  key: "doValidate",
2907
- value: function doValidate() {
2908
- var _get2, _this$currentMask;
2909
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
2910
- args[_key] = arguments[_key];
2949
+ value: function doValidate(flags) {
2950
+ return _get(_getPrototypeOf(MaskedDynamic.prototype), "doValidate", this).call(this, flags) && (!this.currentMask || this.currentMask.doValidate(this.currentMaskFlags(flags)));
2951
+ }
2952
+ }, {
2953
+ key: "doPrepare",
2954
+ value: function doPrepare(str) {
2955
+ var flags = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
2956
+ var _normalizePrepare = normalizePrepare(_get(_getPrototypeOf(MaskedDynamic.prototype), "doPrepare", this).call(this, str, flags)),
2957
+ _normalizePrepare2 = _slicedToArray(_normalizePrepare, 2),
2958
+ s = _normalizePrepare2[0],
2959
+ details = _normalizePrepare2[1];
2960
+ if (this.currentMask) {
2961
+ var currentDetails;
2962
+ var _normalizePrepare3 = normalizePrepare(_get(_getPrototypeOf(MaskedDynamic.prototype), "doPrepare", this).call(this, s, this.currentMaskFlags(flags)));
2963
+ var _normalizePrepare4 = _slicedToArray(_normalizePrepare3, 2);
2964
+ s = _normalizePrepare4[0];
2965
+ currentDetails = _normalizePrepare4[1];
2966
+ details = details.aggregate(currentDetails);
2911
2967
  }
2912
- 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));
2968
+ return [s, details];
2913
2969
  }
2914
2970
  }, {
2915
2971
  key: "reset",
2916
2972
  value: function reset() {
2917
- var _this$currentMask2;
2918
- (_this$currentMask2 = this.currentMask) === null || _this$currentMask2 === void 0 ? void 0 : _this$currentMask2.reset();
2973
+ var _this$currentMask;
2974
+ (_this$currentMask = this.currentMask) === null || _this$currentMask === void 0 ? void 0 : _this$currentMask.reset();
2919
2975
  this.compiledMasks.forEach(function (m) {
2920
2976
  return m.reset();
2921
2977
  });
@@ -2953,22 +3009,22 @@ var MaskedDynamic = function (_Masked) {
2953
3009
  }, {
2954
3010
  key: "isComplete",
2955
3011
  get: function get() {
2956
- var _this$currentMask3;
2957
- return Boolean((_this$currentMask3 = this.currentMask) === null || _this$currentMask3 === void 0 ? void 0 : _this$currentMask3.isComplete);
3012
+ var _this$currentMask2;
3013
+ return Boolean((_this$currentMask2 = this.currentMask) === null || _this$currentMask2 === void 0 ? void 0 : _this$currentMask2.isComplete);
2958
3014
  }
2959
3015
  }, {
2960
3016
  key: "isFilled",
2961
3017
  get: function get() {
2962
- var _this$currentMask4;
2963
- return Boolean((_this$currentMask4 = this.currentMask) === null || _this$currentMask4 === void 0 ? void 0 : _this$currentMask4.isFilled);
3018
+ var _this$currentMask3;
3019
+ return Boolean((_this$currentMask3 = this.currentMask) === null || _this$currentMask3 === void 0 ? void 0 : _this$currentMask3.isFilled);
2964
3020
  }
2965
3021
  }, {
2966
3022
  key: "remove",
2967
3023
  value: function remove() {
2968
3024
  var details = new ChangeDetails();
2969
3025
  if (this.currentMask) {
2970
- var _this$currentMask5;
2971
- details.aggregate((_this$currentMask5 = this.currentMask).remove.apply(_this$currentMask5, arguments))
3026
+ var _this$currentMask4;
3027
+ details.aggregate((_this$currentMask4 = this.currentMask).remove.apply(_this$currentMask4, arguments))
2972
3028
  .aggregate(this._applyDispatch());
2973
3029
  }
2974
3030
  return details;
@@ -2976,13 +3032,14 @@ var MaskedDynamic = function (_Masked) {
2976
3032
  }, {
2977
3033
  key: "state",
2978
3034
  get: function get() {
3035
+ var _this$currentMask5;
2979
3036
  return Object.assign({}, _get(_getPrototypeOf(MaskedDynamic.prototype), "state", this), {
2980
3037
  _rawInputValue: this.rawInputValue,
2981
3038
  compiledMasks: this.compiledMasks.map(function (m) {
2982
3039
  return m.state;
2983
3040
  }),
2984
3041
  currentMaskRef: this.currentMask,
2985
- currentMask: this.currentMask && this.currentMask.state
3042
+ currentMask: (_this$currentMask5 = this.currentMask) === null || _this$currentMask5 === void 0 ? void 0 : _this$currentMask5.state
2986
3043
  });
2987
3044
  },
2988
3045
  set: function set(state) {
@@ -3008,11 +3065,11 @@ var MaskedDynamic = function (_Masked) {
3008
3065
  }, {
3009
3066
  key: "extractTail",
3010
3067
  value: function extractTail() {
3011
- var _this$currentMask7, _get3;
3012
- for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
3013
- args[_key2] = arguments[_key2];
3068
+ var _this$currentMask7, _get2;
3069
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
3070
+ args[_key] = arguments[_key];
3014
3071
  }
3015
- 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));
3072
+ 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));
3016
3073
  }
3017
3074
  }, {
3018
3075
  key: "doCommit",
@@ -3023,11 +3080,11 @@ var MaskedDynamic = function (_Masked) {
3023
3080
  }, {
3024
3081
  key: "nearestInputPos",
3025
3082
  value: function nearestInputPos() {
3026
- var _this$currentMask8, _get4;
3027
- for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
3028
- args[_key3] = arguments[_key3];
3083
+ var _this$currentMask8, _get3;
3084
+ for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
3085
+ args[_key2] = arguments[_key2];
3029
3086
  }
3030
- 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));
3087
+ 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));
3031
3088
  }
3032
3089
  }, {
3033
3090
  key: "overwrite",
@@ -3053,6 +3110,12 @@ var MaskedDynamic = function (_Masked) {
3053
3110
  return m.maskEquals((_mask$mi = mask[mi]) === null || _mask$mi === void 0 ? void 0 : _mask$mi.mask);
3054
3111
  });
3055
3112
  }
3113
+ }, {
3114
+ key: "typedValueEquals",
3115
+ value: function typedValueEquals(value) {
3116
+ var _this$currentMask9;
3117
+ return Boolean((_this$currentMask9 = this.currentMask) === null || _this$currentMask9 === void 0 ? void 0 : _this$currentMask9.typedValueEquals(value));
3118
+ }
3056
3119
  }]);
3057
3120
  return MaskedDynamic;
3058
3121
  }(Masked);
@@ -3065,7 +3128,7 @@ MaskedDynamic.DEFAULTS = {
3065
3128
  m.append(inputValue, {
3066
3129
  raw: true
3067
3130
  });
3068
- m.append(appended, flags);
3131
+ m.append(appended, masked.currentMaskFlags(flags));
3069
3132
  var weight = m.rawInputValue.length;
3070
3133
  return {
3071
3134
  weight: weight,
@@ -4653,7 +4716,7 @@ var Popper = /*#__PURE__*/Object.freeze({
4653
4716
  });
4654
4717
 
4655
4718
  /*!
4656
- * Bootstrap v5.2.1 (https://getbootstrap.com/)
4719
+ * Bootstrap v5.2.2 (https://getbootstrap.com/)
4657
4720
  * Copyright 2011-2022 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
4658
4721
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
4659
4722
  */
@@ -5184,7 +5247,7 @@ class Config {
5184
5247
  }
5185
5248
  }
5186
5249
  }
5187
- const VERSION = '5.2.1';
5250
+ const VERSION = '5.2.2';
5188
5251
  class BaseComponent extends Config {
5189
5252
  constructor(element, config) {
5190
5253
  super();
@@ -6028,7 +6091,7 @@ class Dropdown extends BaseComponent {
6028
6091
  super(element, config);
6029
6092
  this._popper = null;
6030
6093
  this._parent = this._element.parentNode;
6031
- this._menu = SelectorEngine.next(this._element, SELECTOR_MENU)[0] || SelectorEngine.prev(this._element, SELECTOR_MENU)[0];
6094
+ this._menu = SelectorEngine.next(this._element, SELECTOR_MENU)[0] || SelectorEngine.prev(this._element, SELECTOR_MENU)[0] || SelectorEngine.findOne(SELECTOR_MENU, this._parent);
6032
6095
  this._inNavbar = this._detectNavbar();
6033
6096
  }
6034
6097
  static get Default() {
@@ -6252,7 +6315,7 @@ class Dropdown extends BaseComponent {
6252
6315
  return;
6253
6316
  }
6254
6317
  event.preventDefault();
6255
- 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];
6318
+ 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);
6256
6319
  const instance = Dropdown.getOrCreateInstance(getToggleButton);
6257
6320
  if (isUpOrDownEvent) {
6258
6321
  event.stopPropagation();
@@ -6674,7 +6737,7 @@ class Modal extends BaseComponent {
6674
6737
  });
6675
6738
  EventHandler.on(this._element, EVENT_MOUSEDOWN_DISMISS, event => {
6676
6739
  EventHandler.one(this._element, EVENT_CLICK_DISMISS, event2 => {
6677
- if (this._dialog.contains(event.target) || this._dialog.contains(event2.target)) {
6740
+ if (this._element !== event.target || this._element !== event2.target) {
6678
6741
  return;
6679
6742
  }
6680
6743
  if (this._config.backdrop === 'static') {
@@ -7233,6 +7296,9 @@ class Tooltip extends BaseComponent {
7233
7296
  this._newContent = null;
7234
7297
  this.tip = null;
7235
7298
  this._setListeners();
7299
+ if (!this._config.selector) {
7300
+ this._fixTitle();
7301
+ }
7236
7302
  }
7237
7303
  static get Default() {
7238
7304
  return Default$3;
@@ -7252,20 +7318,11 @@ class Tooltip extends BaseComponent {
7252
7318
  toggleEnabled() {
7253
7319
  this._isEnabled = !this._isEnabled;
7254
7320
  }
7255
- toggle(event) {
7321
+ toggle() {
7256
7322
  if (!this._isEnabled) {
7257
7323
  return;
7258
7324
  }
7259
- if (event) {
7260
- const context = this._initializeOnDelegatedTarget(event);
7261
- context._activeTrigger.click = !context._activeTrigger.click;
7262
- if (context._isWithActiveTrigger()) {
7263
- context._enter();
7264
- } else {
7265
- context._leave();
7266
- }
7267
- return;
7268
- }
7325
+ this._activeTrigger.click = !this._activeTrigger.click;
7269
7326
  if (this._isShown()) {
7270
7327
  this._leave();
7271
7328
  return;
@@ -7278,8 +7335,8 @@ class Tooltip extends BaseComponent {
7278
7335
  if (this.tip) {
7279
7336
  this.tip.remove();
7280
7337
  }
7281
- if (this._config.originalTitle) {
7282
- this._element.setAttribute('title', this._config.originalTitle);
7338
+ if (this._element.getAttribute('data-bs-original-title')) {
7339
+ this._element.setAttribute('title', this._element.getAttribute('data-bs-original-title'));
7283
7340
  }
7284
7341
  this._disposePopper();
7285
7342
  super.dispose();
@@ -7414,7 +7471,7 @@ class Tooltip extends BaseComponent {
7414
7471
  };
7415
7472
  }
7416
7473
  _getTitle() {
7417
- return this._resolvePossibleFunction(this._config.title) || this._config.originalTitle;
7474
+ return this._resolvePossibleFunction(this._config.title) || this._element.getAttribute('data-bs-original-title');
7418
7475
  }
7419
7476
  _initializeOnDelegatedTarget(event) {
7420
7477
  return this.constructor.getOrCreateInstance(event.delegateTarget, this._getDelegateConfig());
@@ -7485,7 +7542,10 @@ class Tooltip extends BaseComponent {
7485
7542
  const triggers = this._config.trigger.split(' ');
7486
7543
  for (const trigger of triggers) {
7487
7544
  if (trigger === 'click') {
7488
- EventHandler.on(this._element, this.constructor.eventName(EVENT_CLICK$1), this._config.selector, event => this.toggle(event));
7545
+ EventHandler.on(this._element, this.constructor.eventName(EVENT_CLICK$1), this._config.selector, event => {
7546
+ const context = this._initializeOnDelegatedTarget(event);
7547
+ context.toggle();
7548
+ });
7489
7549
  } else if (trigger !== TRIGGER_MANUAL) {
7490
7550
  const eventIn = trigger === TRIGGER_HOVER ? this.constructor.eventName(EVENT_MOUSEENTER) : this.constructor.eventName(EVENT_FOCUSIN$1);
7491
7551
  const eventOut = trigger === TRIGGER_HOVER ? this.constructor.eventName(EVENT_MOUSELEAVE) : this.constructor.eventName(EVENT_FOCUSOUT$1);
@@ -7507,23 +7567,16 @@ class Tooltip extends BaseComponent {
7507
7567
  }
7508
7568
  };
7509
7569
  EventHandler.on(this._element.closest(SELECTOR_MODAL), EVENT_MODAL_HIDE, this._hideModalHandler);
7510
- if (this._config.selector) {
7511
- this._config = { ...this._config,
7512
- trigger: 'manual',
7513
- selector: ''
7514
- };
7515
- } else {
7516
- this._fixTitle();
7517
- }
7518
7570
  }
7519
7571
  _fixTitle() {
7520
- const title = this._config.originalTitle;
7572
+ const title = this._element.getAttribute('title');
7521
7573
  if (!title) {
7522
7574
  return;
7523
7575
  }
7524
7576
  if (!this._element.getAttribute('aria-label') && !this._element.textContent.trim()) {
7525
7577
  this._element.setAttribute('aria-label', title);
7526
7578
  }
7579
+ this._element.setAttribute('data-bs-original-title', title);
7527
7580
  this._element.removeAttribute('title');
7528
7581
  }
7529
7582
  _enter() {
@@ -7579,7 +7632,6 @@ class Tooltip extends BaseComponent {
7579
7632
  hide: config.delay
7580
7633
  };
7581
7634
  }
7582
- config.originalTitle = this._element.getAttribute('title') || '';
7583
7635
  if (typeof config.title === 'number') {
7584
7636
  config.title = config.title.toString();
7585
7637
  }
@@ -7595,6 +7647,8 @@ class Tooltip extends BaseComponent {
7595
7647
  config[key] = this._config[key];
7596
7648
  }
7597
7649
  }
7650
+ config.selector = false;
7651
+ config.trigger = 'manual';
7598
7652
  return config;
7599
7653
  }
7600
7654
  _disposePopper() {
@@ -7887,7 +7941,6 @@ const CLASS_NAME_SHOW$1 = 'show';
7887
7941
  const CLASS_DROPDOWN = 'dropdown';
7888
7942
  const SELECTOR_DROPDOWN_TOGGLE = '.dropdown-toggle';
7889
7943
  const SELECTOR_DROPDOWN_MENU = '.dropdown-menu';
7890
- const SELECTOR_DROPDOWN_ITEM = '.dropdown-item';
7891
7944
  const NOT_SELECTOR_DROPDOWN_TOGGLE = ':not(.dropdown-toggle)';
7892
7945
  const SELECTOR_TAB_PANEL = '.list-group, .nav, [role="tablist"]';
7893
7946
  const SELECTOR_OUTER = '.nav-item, .list-group-item';
@@ -7937,7 +7990,6 @@ class Tab extends BaseComponent {
7937
7990
  element.classList.add(CLASS_NAME_SHOW$1);
7938
7991
  return;
7939
7992
  }
7940
- element.focus();
7941
7993
  element.removeAttribute('tabindex');
7942
7994
  element.setAttribute('aria-selected', true);
7943
7995
  this._toggleDropDown(element, true);
@@ -7977,6 +8029,9 @@ class Tab extends BaseComponent {
7977
8029
  const isNext = [ARROW_RIGHT_KEY, ARROW_DOWN_KEY].includes(event.key);
7978
8030
  const nextActiveElement = getNextActiveElement(this._getChildren().filter(element => !isDisabled(element)), event.target, isNext, true);
7979
8031
  if (nextActiveElement) {
8032
+ nextActiveElement.focus({
8033
+ preventScroll: true
8034
+ });
7980
8035
  Tab.getOrCreateInstance(nextActiveElement).show();
7981
8036
  }
7982
8037
  }
@@ -8029,7 +8084,6 @@ class Tab extends BaseComponent {
8029
8084
  };
8030
8085
  toggle(SELECTOR_DROPDOWN_TOGGLE, CLASS_NAME_ACTIVE);
8031
8086
  toggle(SELECTOR_DROPDOWN_MENU, CLASS_NAME_SHOW$1);
8032
- toggle(SELECTOR_DROPDOWN_ITEM, CLASS_NAME_ACTIVE);
8033
8087
  outerElem.setAttribute('aria-expanded', open);
8034
8088
  }
8035
8089
  _setAttributeIfNotExists(element, attribute, value) {
@@ -8176,12 +8230,16 @@ class Toast extends BaseComponent {
8176
8230
  switch (event.type) {
8177
8231
  case 'mouseover':
8178
8232
  case 'mouseout':
8179
- this._hasMouseInteraction = isInteracting;
8180
- break;
8233
+ {
8234
+ this._hasMouseInteraction = isInteracting;
8235
+ break;
8236
+ }
8181
8237
  case 'focusin':
8182
8238
  case 'focusout':
8183
- this._hasKeyboardInteraction = isInteracting;
8184
- break;
8239
+ {
8240
+ this._hasKeyboardInteraction = isInteracting;
8241
+ break;
8242
+ }
8185
8243
  }
8186
8244
  if (isInteracting) {
8187
8245
  this._clearTimeout();
@@ -8220,7 +8278,10 @@ defineJQueryPlugin(Toast);
8220
8278
 
8221
8279
  var dropdownTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="dropdown"]'));
8222
8280
  dropdownTriggerList.map(function (dropdownTriggerEl) {
8223
- return new Dropdown(dropdownTriggerEl);
8281
+ var options = {
8282
+ boundary: dropdownTriggerEl.getAttribute('data-bs-boundary') === 'viewport' ? document.querySelector('.btn') : 'clippingParents'
8283
+ };
8284
+ return new Dropdown(dropdownTriggerEl, options);
8224
8285
  });
8225
8286
 
8226
8287
  var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]'));