@tabler/core 1.0.0-beta11 → 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.
- package/README.md +33 -10
- package/dist/css/demo.css +43 -231
- package/dist/css/demo.min.css +3 -3
- package/dist/css/demo.rtl.css +43 -231
- package/dist/css/demo.rtl.min.css +3 -3
- package/dist/css/tabler-flags.css +4 -4
- package/dist/css/tabler-flags.min.css +3 -3
- package/dist/css/tabler-flags.rtl.css +4 -4
- package/dist/css/tabler-flags.rtl.min.css +3 -3
- package/dist/css/tabler-payments.css +2 -2
- package/dist/css/tabler-payments.min.css +2 -2
- package/dist/css/tabler-payments.rtl.css +2 -2
- package/dist/css/tabler-payments.rtl.min.css +2 -2
- package/dist/css/tabler-vendors.css +138 -67
- package/dist/css/tabler-vendors.min.css +3 -3
- package/dist/css/tabler-vendors.rtl.css +138 -67
- package/dist/css/tabler-vendors.rtl.min.css +3 -3
- package/dist/css/tabler.css +3234 -2860
- package/dist/css/tabler.min.css +4 -4
- package/dist/css/tabler.rtl.css +3234 -2860
- package/dist/css/tabler.rtl.min.css +4 -4
- package/dist/js/demo-theme.js +32 -0
- package/dist/js/demo-theme.min.js +9 -0
- package/dist/js/demo.js +2 -12
- package/dist/js/demo.min.js +3 -3
- package/dist/js/tabler.esm.js +219 -129
- package/dist/js/tabler.esm.min.js +9 -3
- package/dist/js/tabler.js +242 -130
- package/dist/js/tabler.min.js +9 -3
- package/dist/libs/apexcharts/dist/apexcharts.amd.js +1 -1
- package/dist/libs/apexcharts/dist/apexcharts.common.js +3 -3
- package/dist/libs/apexcharts/dist/apexcharts.esm.js +3 -3
- package/dist/libs/apexcharts/dist/apexcharts.js +27 -8
- package/dist/libs/apexcharts/dist/apexcharts.min.js +3 -3
- package/dist/libs/bootstrap/dist/js/bootstrap.bundle.js +162 -144
- package/dist/libs/bootstrap/dist/js/bootstrap.bundle.js.map +1 -1
- package/dist/libs/bootstrap/dist/js/bootstrap.bundle.min.js +2 -2
- package/dist/libs/bootstrap/dist/js/bootstrap.bundle.min.js.map +1 -1
- package/dist/libs/bootstrap/dist/js/bootstrap.esm.js +101 -94
- package/dist/libs/bootstrap/dist/js/bootstrap.esm.js.map +1 -1
- package/dist/libs/bootstrap/dist/js/bootstrap.esm.min.js +2 -2
- package/dist/libs/bootstrap/dist/js/bootstrap.esm.min.js.map +1 -1
- package/dist/libs/bootstrap/dist/js/bootstrap.js +102 -95
- package/dist/libs/bootstrap/dist/js/bootstrap.js.map +1 -1
- package/dist/libs/bootstrap/dist/js/bootstrap.min.js +2 -2
- package/dist/libs/bootstrap/dist/js/bootstrap.min.js.map +1 -1
- package/dist/libs/jsvectormap/dist/js/jsvectormap.js +1061 -1066
- package/dist/libs/jsvectormap/dist/js/jsvectormap.min.js +1 -1
- package/dist/libs/nouislider/dist/nouislider.d.ts +1 -1
- package/dist/libs/tinymce/CHANGELOG.md +45 -0
- package/dist/libs/tinymce/composer.json +1 -1
- package/dist/libs/tinymce/icons/default/icons.js +2 -0
- package/dist/libs/tinymce/icons/default/icons.min.js +1 -1
- package/dist/libs/tinymce/models/dom/model.js +14 -10
- package/dist/libs/tinymce/models/dom/model.min.js +2 -2
- package/dist/libs/tinymce/package.json +1 -1
- package/dist/libs/tinymce/plugins/advlist/plugin.js +16 -9
- package/dist/libs/tinymce/plugins/advlist/plugin.min.js +2 -2
- package/dist/libs/tinymce/plugins/anchor/plugin.js +7 -6
- package/dist/libs/tinymce/plugins/anchor/plugin.min.js +2 -2
- package/dist/libs/tinymce/plugins/autolink/plugin.js +93 -97
- package/dist/libs/tinymce/plugins/autolink/plugin.min.js +2 -2
- package/dist/libs/tinymce/plugins/autoresize/plugin.js +3 -2
- package/dist/libs/tinymce/plugins/autoresize/plugin.min.js +2 -2
- package/dist/libs/tinymce/plugins/autosave/plugin.js +11 -10
- package/dist/libs/tinymce/plugins/autosave/plugin.min.js +2 -2
- package/dist/libs/tinymce/plugins/charmap/plugin.js +17 -7
- package/dist/libs/tinymce/plugins/charmap/plugin.min.js +2 -2
- package/dist/libs/tinymce/plugins/code/plugin.js +1 -1
- package/dist/libs/tinymce/plugins/code/plugin.min.js +1 -1
- package/dist/libs/tinymce/plugins/codesample/plugin.js +4 -6
- package/dist/libs/tinymce/plugins/codesample/plugin.min.js +2 -2
- package/dist/libs/tinymce/plugins/directionality/plugin.js +1 -1
- package/dist/libs/tinymce/plugins/directionality/plugin.min.js +1 -1
- package/dist/libs/tinymce/plugins/emoticons/plugin.js +10 -4
- package/dist/libs/tinymce/plugins/emoticons/plugin.min.js +2 -2
- package/dist/libs/tinymce/plugins/fullscreen/plugin.js +11 -5
- package/dist/libs/tinymce/plugins/fullscreen/plugin.min.js +2 -2
- package/dist/libs/tinymce/plugins/help/plugin.js +92 -19
- package/dist/libs/tinymce/plugins/help/plugin.min.js +2 -2
- package/dist/libs/tinymce/plugins/image/plugin.js +50 -37
- package/dist/libs/tinymce/plugins/image/plugin.min.js +2 -2
- package/dist/libs/tinymce/plugins/importcss/plugin.js +8 -6
- package/dist/libs/tinymce/plugins/importcss/plugin.min.js +2 -2
- package/dist/libs/tinymce/plugins/insertdatetime/plugin.js +2 -3
- package/dist/libs/tinymce/plugins/insertdatetime/plugin.min.js +2 -2
- package/dist/libs/tinymce/plugins/link/plugin.js +57 -43
- package/dist/libs/tinymce/plugins/link/plugin.min.js +2 -2
- package/dist/libs/tinymce/plugins/lists/plugin.js +120 -74
- package/dist/libs/tinymce/plugins/lists/plugin.min.js +2 -2
- package/dist/libs/tinymce/plugins/media/plugin.js +39 -24
- package/dist/libs/tinymce/plugins/media/plugin.min.js +2 -2
- package/dist/libs/tinymce/plugins/nonbreaking/plugin.js +1 -1
- package/dist/libs/tinymce/plugins/nonbreaking/plugin.min.js +1 -1
- package/dist/libs/tinymce/plugins/pagebreak/plugin.js +2 -2
- package/dist/libs/tinymce/plugins/pagebreak/plugin.min.js +2 -2
- package/dist/libs/tinymce/plugins/preview/plugin.js +1 -1
- package/dist/libs/tinymce/plugins/preview/plugin.min.js +1 -1
- package/dist/libs/tinymce/plugins/quickbars/plugin.js +3 -2
- package/dist/libs/tinymce/plugins/quickbars/plugin.min.js +2 -2
- package/dist/libs/tinymce/plugins/save/plugin.js +1 -1
- package/dist/libs/tinymce/plugins/save/plugin.min.js +1 -1
- package/dist/libs/tinymce/plugins/searchreplace/plugin.js +13 -13
- package/dist/libs/tinymce/plugins/searchreplace/plugin.min.js +2 -2
- package/dist/libs/tinymce/plugins/table/plugin.js +42 -37
- package/dist/libs/tinymce/plugins/table/plugin.min.js +2 -2
- package/dist/libs/tinymce/plugins/template/plugin.js +7 -4
- package/dist/libs/tinymce/plugins/template/plugin.min.js +2 -2
- package/dist/libs/tinymce/plugins/visualblocks/plugin.js +1 -1
- package/dist/libs/tinymce/plugins/visualblocks/plugin.min.js +1 -1
- package/dist/libs/tinymce/plugins/visualchars/plugin.js +9 -6
- package/dist/libs/tinymce/plugins/visualchars/plugin.min.js +2 -2
- package/dist/libs/tinymce/plugins/wordcount/plugin.js +6 -5
- package/dist/libs/tinymce/plugins/wordcount/plugin.min.js +2 -2
- package/dist/libs/tinymce/skins/ui/oxide/content.css +28 -0
- package/dist/libs/tinymce/skins/ui/oxide/content.inline.css +28 -0
- package/dist/libs/tinymce/skins/ui/oxide/content.inline.min.css +1 -1
- package/dist/libs/tinymce/skins/ui/oxide/content.min.css +1 -1
- package/dist/libs/tinymce/skins/ui/oxide/skin.css +39 -4
- package/dist/libs/tinymce/skins/ui/oxide/skin.min.css +1 -1
- package/dist/libs/tinymce/skins/ui/oxide-dark/content.css +28 -0
- package/dist/libs/tinymce/skins/ui/oxide-dark/content.inline.css +28 -0
- package/dist/libs/tinymce/skins/ui/oxide-dark/content.inline.min.css +1 -1
- package/dist/libs/tinymce/skins/ui/oxide-dark/content.min.css +1 -1
- package/dist/libs/tinymce/skins/ui/oxide-dark/skin.css +39 -4
- package/dist/libs/tinymce/skins/ui/oxide-dark/skin.min.css +1 -1
- package/dist/libs/tinymce/skins/ui/tinymce-5/content.css +28 -0
- package/dist/libs/tinymce/skins/ui/tinymce-5/content.inline.css +28 -0
- package/dist/libs/tinymce/skins/ui/tinymce-5/content.inline.min.css +1 -1
- package/dist/libs/tinymce/skins/ui/tinymce-5/content.min.css +1 -1
- package/dist/libs/tinymce/skins/ui/tinymce-5/skin.css +45 -4
- package/dist/libs/tinymce/skins/ui/tinymce-5/skin.min.css +1 -1
- package/dist/libs/tinymce/skins/ui/tinymce-5-dark/content.css +28 -0
- package/dist/libs/tinymce/skins/ui/tinymce-5-dark/content.inline.css +28 -0
- package/dist/libs/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css +1 -1
- package/dist/libs/tinymce/skins/ui/tinymce-5-dark/content.min.css +1 -1
- package/dist/libs/tinymce/skins/ui/tinymce-5-dark/skin.css +44 -3
- package/dist/libs/tinymce/skins/ui/tinymce-5-dark/skin.min.css +1 -1
- package/dist/libs/tinymce/themes/silver/theme.js +2494 -1999
- package/dist/libs/tinymce/themes/silver/theme.min.js +2 -2
- package/dist/libs/tinymce/tinymce.d.ts +345 -169
- package/dist/libs/tinymce/tinymce.js +2988 -2392
- package/dist/libs/tinymce/tinymce.min.js +2 -2
- package/dist/libs/tom-select/dist/js/plugins/caret_position.js +164 -160
- package/dist/libs/tom-select/dist/js/plugins/caret_position.js.map +1 -1
- package/dist/libs/tom-select/dist/js/plugins/change_listener.js +1 -1
- package/dist/libs/tom-select/dist/js/plugins/change_listener.js.map +1 -1
- package/dist/libs/tom-select/dist/js/plugins/checkbox_options.js +12 -7
- package/dist/libs/tom-select/dist/js/plugins/checkbox_options.js.map +1 -1
- package/dist/libs/tom-select/dist/js/plugins/clear_button.js +94 -89
- package/dist/libs/tom-select/dist/js/plugins/clear_button.js.map +1 -1
- package/dist/libs/tom-select/dist/js/plugins/drag_drop.js +1 -1
- package/dist/libs/tom-select/dist/js/plugins/drag_drop.js.map +1 -1
- package/dist/libs/tom-select/dist/js/plugins/dropdown_header.js +121 -116
- package/dist/libs/tom-select/dist/js/plugins/dropdown_header.js.map +1 -1
- package/dist/libs/tom-select/dist/js/plugins/dropdown_input.js +234 -230
- package/dist/libs/tom-select/dist/js/plugins/dropdown_input.js.map +1 -1
- package/dist/libs/tom-select/dist/js/plugins/input_autogrow.js +1 -1
- package/dist/libs/tom-select/dist/js/plugins/input_autogrow.js.map +1 -1
- package/dist/libs/tom-select/dist/js/plugins/no_active_items.js +1 -1
- package/dist/libs/tom-select/dist/js/plugins/no_active_items.js.map +1 -1
- package/dist/libs/tom-select/dist/js/plugins/no_backspace_delete.js +1 -1
- package/dist/libs/tom-select/dist/js/plugins/no_backspace_delete.js.map +1 -1
- package/dist/libs/tom-select/dist/js/plugins/optgroup_columns.js +112 -107
- package/dist/libs/tom-select/dist/js/plugins/optgroup_columns.js.map +1 -1
- package/dist/libs/tom-select/dist/js/plugins/remove_button.js +149 -144
- package/dist/libs/tom-select/dist/js/plugins/remove_button.js.map +1 -1
- package/dist/libs/tom-select/dist/js/plugins/restore_on_backspace.js +1 -1
- package/dist/libs/tom-select/dist/js/plugins/restore_on_backspace.js.map +1 -1
- package/dist/libs/tom-select/dist/js/plugins/virtual_scroll.js +277 -269
- package/dist/libs/tom-select/dist/js/plugins/virtual_scroll.js.map +1 -1
- package/dist/libs/tom-select/dist/js/tom-select.base.js +756 -272
- package/dist/libs/tom-select/dist/js/tom-select.base.js.map +1 -1
- package/dist/libs/tom-select/dist/js/tom-select.base.min.js +329 -272
- package/dist/libs/tom-select/dist/js/tom-select.base.min.js.map +1 -1
- package/dist/libs/tom-select/dist/js/tom-select.complete.js +761 -273
- package/dist/libs/tom-select/dist/js/tom-select.complete.js.map +1 -1
- package/dist/libs/tom-select/dist/js/tom-select.complete.min.js +268 -209
- package/dist/libs/tom-select/dist/js/tom-select.complete.min.js.map +1 -1
- package/dist/libs/tom-select/dist/js/tom-select.popular.js +753 -269
- package/dist/libs/tom-select/dist/js/tom-select.popular.js.map +1 -1
- package/dist/libs/tom-select/dist/js/tom-select.popular.min.js +348 -291
- package/dist/libs/tom-select/dist/js/tom-select.popular.min.js.map +1 -1
- package/package.json +78 -34
- package/src/js/demo-theme.js +25 -0
- package/src/js/demo.js +0 -17
- package/src/js/src/dropdown.js +5 -2
- package/src/js/src/tabler.js +17 -0
- package/src/js/tabler.js +3 -1
- package/src/scss/_core.scss +2 -0
- package/src/scss/_mixins-override.scss +26 -26
- package/src/scss/_utilities.scss +2 -4
- package/src/scss/_variables.scss +311 -168
- package/src/scss/demo/_examples.scss +2 -2
- package/src/scss/demo/_highlight.scss +14 -278
- package/src/scss/demo.scss +4 -4
- package/src/scss/fonts/_webfonts.scss +0 -50
- package/src/scss/layout/_core.scss +2 -23
- package/src/scss/layout/_dark.scss +27 -38
- package/src/scss/layout/_footer.scss +2 -2
- package/src/scss/layout/_navbar.scss +23 -19
- package/src/scss/layout/_page.scss +9 -7
- package/src/scss/layout/_root.scss +48 -0
- package/src/scss/mixins/_functions.scss +2 -2
- package/src/scss/mixins/_mixins.scss +10 -8
- package/src/scss/ui/_accordion.scss +1 -1
- package/src/scss/ui/_alerts.scss +3 -3
- package/src/scss/ui/_avatars.scss +7 -7
- package/src/scss/ui/_badges.scss +3 -3
- package/src/scss/ui/_buttons.scss +35 -22
- package/src/scss/ui/_calendars.scss +10 -10
- package/src/scss/ui/_cards.scss +45 -63
- package/src/scss/ui/_carousel.scss +5 -5
- package/src/scss/ui/_chips.scss +0 -0
- package/src/scss/ui/_dropdowns.scss +2 -1
- package/src/scss/ui/_empty.scss +3 -3
- package/src/scss/ui/_flags.scss +2 -2
- package/src/scss/ui/_forms.scss +8 -8
- package/src/scss/ui/_grid.scss +8 -9
- package/src/scss/ui/_icons.scss +64 -4
- package/src/scss/ui/_legend.scss +8 -4
- package/src/scss/ui/_lists.scss +16 -13
- package/src/scss/ui/_markdown.scss +2 -3
- package/src/scss/ui/_modals.scss +1 -1
- package/src/scss/ui/_nav.scss +9 -9
- package/src/scss/ui/_offcanvas.scss +2 -6
- package/src/scss/ui/_pagination.scss +10 -6
- package/src/scss/ui/_placeholder.scss +1 -1
- package/src/scss/ui/_progress.scss +45 -6
- package/src/scss/ui/_ribbons.scss +17 -12
- package/src/scss/ui/_status.scss +3 -3
- package/src/scss/ui/_steps.scss +4 -4
- package/src/scss/ui/_tables.scss +27 -6
- package/src/scss/ui/_toasts.scss +1 -2
- package/src/scss/ui/_tracking.scss +29 -0
- package/src/scss/ui/_type.scss +43 -40
- package/src/scss/ui/forms/_form-check.scss +26 -1
- package/src/scss/ui/forms/_form-colorinput.scss +2 -2
- package/src/scss/ui/forms/_form-icon.scss +1 -1
- package/src/scss/ui/forms/_form-imagecheck.scss +14 -6
- package/src/scss/ui/forms/_form-selectgroup.scss +8 -8
- package/src/scss/ui/typo/_hr.scss +2 -3
- package/src/scss/utils/_colors.scss +17 -6
- package/src/scss/vendor/_apexcharts.scss +26 -0
- package/src/scss/vendor/_dropzone.scss +1 -1
- package/src/scss/vendor/_jsvectormap.scss +7 -7
- package/src/scss/vendor/_litepicker.scss +14 -13
- package/src/scss/vendor/_plyr.scss +1 -1
- package/src/scss/vendor/_tinymce.scss +14 -3
- package/src/scss/vendor/_tom-select.scss +2 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Bootstrap v5.2.
|
|
2
|
+
* Bootstrap v5.2.2 (https://getbootstrap.com/)
|
|
3
3
|
* Copyright 2011-2022 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
|
4
4
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
5
5
|
*/
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* --------------------------------------------------------------------------
|
|
14
|
-
* Bootstrap (v5.2.
|
|
14
|
+
* Bootstrap (v5.2.2): util/index.js
|
|
15
15
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
16
16
|
* --------------------------------------------------------------------------
|
|
17
17
|
*/
|
|
@@ -326,7 +326,7 @@
|
|
|
326
326
|
|
|
327
327
|
/**
|
|
328
328
|
* --------------------------------------------------------------------------
|
|
329
|
-
* Bootstrap (v5.2.
|
|
329
|
+
* Bootstrap (v5.2.2): dom/event-handler.js
|
|
330
330
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
331
331
|
* --------------------------------------------------------------------------
|
|
332
332
|
*/
|
|
@@ -595,7 +595,7 @@
|
|
|
595
595
|
|
|
596
596
|
/**
|
|
597
597
|
* --------------------------------------------------------------------------
|
|
598
|
-
* Bootstrap (v5.2.
|
|
598
|
+
* Bootstrap (v5.2.2): dom/data.js
|
|
599
599
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
600
600
|
* --------------------------------------------------------------------------
|
|
601
601
|
*/
|
|
@@ -647,7 +647,7 @@
|
|
|
647
647
|
|
|
648
648
|
/**
|
|
649
649
|
* --------------------------------------------------------------------------
|
|
650
|
-
* Bootstrap (v5.2.
|
|
650
|
+
* Bootstrap (v5.2.2): dom/manipulator.js
|
|
651
651
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
652
652
|
* --------------------------------------------------------------------------
|
|
653
653
|
*/
|
|
@@ -717,7 +717,7 @@
|
|
|
717
717
|
|
|
718
718
|
/**
|
|
719
719
|
* --------------------------------------------------------------------------
|
|
720
|
-
* Bootstrap (v5.2.
|
|
720
|
+
* Bootstrap (v5.2.2): util/config.js
|
|
721
721
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
722
722
|
* --------------------------------------------------------------------------
|
|
723
723
|
*/
|
|
@@ -778,7 +778,7 @@
|
|
|
778
778
|
|
|
779
779
|
/**
|
|
780
780
|
* --------------------------------------------------------------------------
|
|
781
|
-
* Bootstrap (v5.2.
|
|
781
|
+
* Bootstrap (v5.2.2): base-component.js
|
|
782
782
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
783
783
|
* --------------------------------------------------------------------------
|
|
784
784
|
*/
|
|
@@ -786,7 +786,7 @@
|
|
|
786
786
|
* Constants
|
|
787
787
|
*/
|
|
788
788
|
|
|
789
|
-
const VERSION = '5.2.
|
|
789
|
+
const VERSION = '5.2.2';
|
|
790
790
|
/**
|
|
791
791
|
* Class definition
|
|
792
792
|
*/
|
|
@@ -857,7 +857,7 @@
|
|
|
857
857
|
|
|
858
858
|
/**
|
|
859
859
|
* --------------------------------------------------------------------------
|
|
860
|
-
* Bootstrap (v5.2.
|
|
860
|
+
* Bootstrap (v5.2.2): util/component-functions.js
|
|
861
861
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
862
862
|
* --------------------------------------------------------------------------
|
|
863
863
|
*/
|
|
@@ -883,7 +883,7 @@
|
|
|
883
883
|
|
|
884
884
|
/**
|
|
885
885
|
* --------------------------------------------------------------------------
|
|
886
|
-
* Bootstrap (v5.2.
|
|
886
|
+
* Bootstrap (v5.2.2): alert.js
|
|
887
887
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
888
888
|
* --------------------------------------------------------------------------
|
|
889
889
|
*/
|
|
@@ -963,7 +963,7 @@
|
|
|
963
963
|
|
|
964
964
|
/**
|
|
965
965
|
* --------------------------------------------------------------------------
|
|
966
|
-
* Bootstrap (v5.2.
|
|
966
|
+
* Bootstrap (v5.2.2): button.js
|
|
967
967
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
968
968
|
* --------------------------------------------------------------------------
|
|
969
969
|
*/
|
|
@@ -1025,7 +1025,7 @@
|
|
|
1025
1025
|
|
|
1026
1026
|
/**
|
|
1027
1027
|
* --------------------------------------------------------------------------
|
|
1028
|
-
* Bootstrap (v5.2.
|
|
1028
|
+
* Bootstrap (v5.2.2): dom/selector-engine.js
|
|
1029
1029
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
1030
1030
|
* --------------------------------------------------------------------------
|
|
1031
1031
|
*/
|
|
@@ -1096,7 +1096,7 @@
|
|
|
1096
1096
|
|
|
1097
1097
|
/**
|
|
1098
1098
|
* --------------------------------------------------------------------------
|
|
1099
|
-
* Bootstrap (v5.2.
|
|
1099
|
+
* Bootstrap (v5.2.2): util/swipe.js
|
|
1100
1100
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
1101
1101
|
* --------------------------------------------------------------------------
|
|
1102
1102
|
*/
|
|
@@ -1232,7 +1232,7 @@
|
|
|
1232
1232
|
|
|
1233
1233
|
/**
|
|
1234
1234
|
* --------------------------------------------------------------------------
|
|
1235
|
-
* Bootstrap (v5.2.
|
|
1235
|
+
* Bootstrap (v5.2.2): carousel.js
|
|
1236
1236
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
1237
1237
|
* --------------------------------------------------------------------------
|
|
1238
1238
|
*/
|
|
@@ -1680,7 +1680,7 @@
|
|
|
1680
1680
|
|
|
1681
1681
|
/**
|
|
1682
1682
|
* --------------------------------------------------------------------------
|
|
1683
|
-
* Bootstrap (v5.2.
|
|
1683
|
+
* Bootstrap (v5.2.2): collapse.js
|
|
1684
1684
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
1685
1685
|
* --------------------------------------------------------------------------
|
|
1686
1686
|
*/
|
|
@@ -2128,38 +2128,57 @@
|
|
|
2128
2128
|
var min = Math.min;
|
|
2129
2129
|
var round = Math.round;
|
|
2130
2130
|
|
|
2131
|
-
function
|
|
2131
|
+
function getUAString() {
|
|
2132
|
+
var uaData = navigator.userAgentData;
|
|
2133
|
+
|
|
2134
|
+
if (uaData != null && uaData.brands) {
|
|
2135
|
+
return uaData.brands.map(function (item) {
|
|
2136
|
+
return item.brand + "/" + item.version;
|
|
2137
|
+
}).join(' ');
|
|
2138
|
+
}
|
|
2139
|
+
|
|
2140
|
+
return navigator.userAgent;
|
|
2141
|
+
}
|
|
2142
|
+
|
|
2143
|
+
function isLayoutViewport() {
|
|
2144
|
+
return !/^((?!chrome|android).)*safari/i.test(getUAString());
|
|
2145
|
+
}
|
|
2146
|
+
|
|
2147
|
+
function getBoundingClientRect(element, includeScale, isFixedStrategy) {
|
|
2132
2148
|
if (includeScale === void 0) {
|
|
2133
2149
|
includeScale = false;
|
|
2134
2150
|
}
|
|
2135
2151
|
|
|
2136
|
-
|
|
2152
|
+
if (isFixedStrategy === void 0) {
|
|
2153
|
+
isFixedStrategy = false;
|
|
2154
|
+
}
|
|
2155
|
+
|
|
2156
|
+
var clientRect = element.getBoundingClientRect();
|
|
2137
2157
|
var scaleX = 1;
|
|
2138
2158
|
var scaleY = 1;
|
|
2139
2159
|
|
|
2140
|
-
if (isHTMLElement(element)
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
// Fallback to 1 in case both values are `0`
|
|
2144
|
-
|
|
2145
|
-
if (offsetWidth > 0) {
|
|
2146
|
-
scaleX = round(rect.width) / offsetWidth || 1;
|
|
2147
|
-
}
|
|
2148
|
-
|
|
2149
|
-
if (offsetHeight > 0) {
|
|
2150
|
-
scaleY = round(rect.height) / offsetHeight || 1;
|
|
2151
|
-
}
|
|
2160
|
+
if (includeScale && isHTMLElement(element)) {
|
|
2161
|
+
scaleX = element.offsetWidth > 0 ? round(clientRect.width) / element.offsetWidth || 1 : 1;
|
|
2162
|
+
scaleY = element.offsetHeight > 0 ? round(clientRect.height) / element.offsetHeight || 1 : 1;
|
|
2152
2163
|
}
|
|
2153
2164
|
|
|
2165
|
+
var _ref = isElement(element) ? getWindow(element) : window,
|
|
2166
|
+
visualViewport = _ref.visualViewport;
|
|
2167
|
+
|
|
2168
|
+
var addVisualOffsets = !isLayoutViewport() && isFixedStrategy;
|
|
2169
|
+
var x = (clientRect.left + (addVisualOffsets && visualViewport ? visualViewport.offsetLeft : 0)) / scaleX;
|
|
2170
|
+
var y = (clientRect.top + (addVisualOffsets && visualViewport ? visualViewport.offsetTop : 0)) / scaleY;
|
|
2171
|
+
var width = clientRect.width / scaleX;
|
|
2172
|
+
var height = clientRect.height / scaleY;
|
|
2154
2173
|
return {
|
|
2155
|
-
width:
|
|
2156
|
-
height:
|
|
2157
|
-
top:
|
|
2158
|
-
right:
|
|
2159
|
-
bottom:
|
|
2160
|
-
left:
|
|
2161
|
-
x:
|
|
2162
|
-
y:
|
|
2174
|
+
width: width,
|
|
2175
|
+
height: height,
|
|
2176
|
+
top: y,
|
|
2177
|
+
right: x + width,
|
|
2178
|
+
bottom: y + height,
|
|
2179
|
+
left: x,
|
|
2180
|
+
x: x,
|
|
2181
|
+
y: y
|
|
2163
2182
|
};
|
|
2164
2183
|
}
|
|
2165
2184
|
|
|
@@ -2254,8 +2273,8 @@
|
|
|
2254
2273
|
|
|
2255
2274
|
|
|
2256
2275
|
function getContainingBlock(element) {
|
|
2257
|
-
var isFirefox =
|
|
2258
|
-
var isIE =
|
|
2276
|
+
var isFirefox = /firefox/i.test(getUAString());
|
|
2277
|
+
var isIE = /Trident/i.test(getUAString());
|
|
2259
2278
|
|
|
2260
2279
|
if (isIE && isHTMLElement(element)) {
|
|
2261
2280
|
// In IE 9, 10 and 11 fixed elements containing block is always established by the viewport
|
|
@@ -2676,31 +2695,21 @@
|
|
|
2676
2695
|
return getBoundingClientRect(getDocumentElement(element)).left + getWindowScroll(element).scrollLeft;
|
|
2677
2696
|
}
|
|
2678
2697
|
|
|
2679
|
-
function getViewportRect(element) {
|
|
2698
|
+
function getViewportRect(element, strategy) {
|
|
2680
2699
|
var win = getWindow(element);
|
|
2681
2700
|
var html = getDocumentElement(element);
|
|
2682
2701
|
var visualViewport = win.visualViewport;
|
|
2683
2702
|
var width = html.clientWidth;
|
|
2684
2703
|
var height = html.clientHeight;
|
|
2685
2704
|
var x = 0;
|
|
2686
|
-
var y = 0;
|
|
2687
|
-
// can be obscured underneath it.
|
|
2688
|
-
// Also, `html.clientHeight` adds the bottom bar height in Safari iOS, even
|
|
2689
|
-
// if it isn't open, so if this isn't available, the popper will be detected
|
|
2690
|
-
// to overflow the bottom of the screen too early.
|
|
2705
|
+
var y = 0;
|
|
2691
2706
|
|
|
2692
2707
|
if (visualViewport) {
|
|
2693
2708
|
width = visualViewport.width;
|
|
2694
|
-
height = visualViewport.height;
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
// Feature detection fails in mobile emulation mode in Chrome.
|
|
2699
|
-
// Math.abs(win.innerWidth / visualViewport.scale - visualViewport.width) <
|
|
2700
|
-
// 0.001
|
|
2701
|
-
// Fallback here: "Not Safari" userAgent
|
|
2702
|
-
|
|
2703
|
-
if (!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)) {
|
|
2709
|
+
height = visualViewport.height;
|
|
2710
|
+
var layoutViewport = isLayoutViewport();
|
|
2711
|
+
|
|
2712
|
+
if (layoutViewport || !layoutViewport && strategy === 'fixed') {
|
|
2704
2713
|
x = visualViewport.offsetLeft;
|
|
2705
2714
|
y = visualViewport.offsetTop;
|
|
2706
2715
|
}
|
|
@@ -2794,8 +2803,8 @@
|
|
|
2794
2803
|
});
|
|
2795
2804
|
}
|
|
2796
2805
|
|
|
2797
|
-
function getInnerBoundingClientRect(element) {
|
|
2798
|
-
var rect = getBoundingClientRect(element);
|
|
2806
|
+
function getInnerBoundingClientRect(element, strategy) {
|
|
2807
|
+
var rect = getBoundingClientRect(element, false, strategy === 'fixed');
|
|
2799
2808
|
rect.top = rect.top + element.clientTop;
|
|
2800
2809
|
rect.left = rect.left + element.clientLeft;
|
|
2801
2810
|
rect.bottom = rect.top + element.clientHeight;
|
|
@@ -2807,8 +2816,8 @@
|
|
|
2807
2816
|
return rect;
|
|
2808
2817
|
}
|
|
2809
2818
|
|
|
2810
|
-
function getClientRectFromMixedType(element, clippingParent) {
|
|
2811
|
-
return clippingParent === viewport ? rectToClientRect(getViewportRect(element)) : isElement(clippingParent) ? getInnerBoundingClientRect(clippingParent) : rectToClientRect(getDocumentRect(getDocumentElement(element)));
|
|
2819
|
+
function getClientRectFromMixedType(element, clippingParent, strategy) {
|
|
2820
|
+
return clippingParent === viewport ? rectToClientRect(getViewportRect(element, strategy)) : isElement(clippingParent) ? getInnerBoundingClientRect(clippingParent, strategy) : rectToClientRect(getDocumentRect(getDocumentElement(element)));
|
|
2812
2821
|
} // A "clipping parent" is an overflowable container with the characteristic of
|
|
2813
2822
|
// clipping (or hiding) overflowing elements with a position different from
|
|
2814
2823
|
// `initial`
|
|
@@ -2831,18 +2840,18 @@
|
|
|
2831
2840
|
// clipping parents
|
|
2832
2841
|
|
|
2833
2842
|
|
|
2834
|
-
function getClippingRect(element, boundary, rootBoundary) {
|
|
2843
|
+
function getClippingRect(element, boundary, rootBoundary, strategy) {
|
|
2835
2844
|
var mainClippingParents = boundary === 'clippingParents' ? getClippingParents(element) : [].concat(boundary);
|
|
2836
2845
|
var clippingParents = [].concat(mainClippingParents, [rootBoundary]);
|
|
2837
2846
|
var firstClippingParent = clippingParents[0];
|
|
2838
2847
|
var clippingRect = clippingParents.reduce(function (accRect, clippingParent) {
|
|
2839
|
-
var rect = getClientRectFromMixedType(element, clippingParent);
|
|
2848
|
+
var rect = getClientRectFromMixedType(element, clippingParent, strategy);
|
|
2840
2849
|
accRect.top = max(rect.top, accRect.top);
|
|
2841
2850
|
accRect.right = min(rect.right, accRect.right);
|
|
2842
2851
|
accRect.bottom = min(rect.bottom, accRect.bottom);
|
|
2843
2852
|
accRect.left = max(rect.left, accRect.left);
|
|
2844
2853
|
return accRect;
|
|
2845
|
-
}, getClientRectFromMixedType(element, firstClippingParent));
|
|
2854
|
+
}, getClientRectFromMixedType(element, firstClippingParent, strategy));
|
|
2846
2855
|
clippingRect.width = clippingRect.right - clippingRect.left;
|
|
2847
2856
|
clippingRect.height = clippingRect.bottom - clippingRect.top;
|
|
2848
2857
|
clippingRect.x = clippingRect.left;
|
|
@@ -2923,6 +2932,8 @@
|
|
|
2923
2932
|
var _options = options,
|
|
2924
2933
|
_options$placement = _options.placement,
|
|
2925
2934
|
placement = _options$placement === void 0 ? state.placement : _options$placement,
|
|
2935
|
+
_options$strategy = _options.strategy,
|
|
2936
|
+
strategy = _options$strategy === void 0 ? state.strategy : _options$strategy,
|
|
2926
2937
|
_options$boundary = _options.boundary,
|
|
2927
2938
|
boundary = _options$boundary === void 0 ? clippingParents : _options$boundary,
|
|
2928
2939
|
_options$rootBoundary = _options.rootBoundary,
|
|
@@ -2937,7 +2948,7 @@
|
|
|
2937
2948
|
var altContext = elementContext === popper ? reference : popper;
|
|
2938
2949
|
var popperRect = state.rects.popper;
|
|
2939
2950
|
var element = state.elements[altBoundary ? altContext : elementContext];
|
|
2940
|
-
var clippingClientRect = getClippingRect(isElement(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary);
|
|
2951
|
+
var clippingClientRect = getClippingRect(isElement(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary, strategy);
|
|
2941
2952
|
var referenceClientRect = getBoundingClientRect(state.elements.reference);
|
|
2942
2953
|
var popperOffsets = computeOffsets({
|
|
2943
2954
|
reference: referenceClientRect,
|
|
@@ -3451,7 +3462,7 @@
|
|
|
3451
3462
|
var isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
3452
3463
|
var offsetParentIsScaled = isHTMLElement(offsetParent) && isElementScaled(offsetParent);
|
|
3453
3464
|
var documentElement = getDocumentElement(offsetParent);
|
|
3454
|
-
var rect = getBoundingClientRect(elementOrVirtualElement, offsetParentIsScaled);
|
|
3465
|
+
var rect = getBoundingClientRect(elementOrVirtualElement, offsetParentIsScaled, isFixed);
|
|
3455
3466
|
var scroll = {
|
|
3456
3467
|
scrollLeft: 0,
|
|
3457
3468
|
scrollTop: 0
|
|
@@ -3805,7 +3816,7 @@
|
|
|
3805
3816
|
|
|
3806
3817
|
/**
|
|
3807
3818
|
* --------------------------------------------------------------------------
|
|
3808
|
-
* Bootstrap (v5.2.
|
|
3819
|
+
* Bootstrap (v5.2.2): dropdown.js
|
|
3809
3820
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
3810
3821
|
* --------------------------------------------------------------------------
|
|
3811
3822
|
*/
|
|
@@ -3875,8 +3886,9 @@
|
|
|
3875
3886
|
super(element, config);
|
|
3876
3887
|
this._popper = null;
|
|
3877
3888
|
this._parent = this._element.parentNode; // dropdown wrapper
|
|
3889
|
+
// todo: v6 revert #37011 & change markup https://getbootstrap.com/docs/5.2/forms/input-group/
|
|
3878
3890
|
|
|
3879
|
-
this._menu = SelectorEngine.findOne(SELECTOR_MENU, this._parent);
|
|
3891
|
+
this._menu = SelectorEngine.next(this._element, SELECTOR_MENU)[0] || SelectorEngine.prev(this._element, SELECTOR_MENU)[0] || SelectorEngine.findOne(SELECTOR_MENU, this._parent);
|
|
3880
3892
|
this._inNavbar = this._detectNavbar();
|
|
3881
3893
|
} // Getters
|
|
3882
3894
|
|
|
@@ -4192,8 +4204,9 @@
|
|
|
4192
4204
|
return;
|
|
4193
4205
|
}
|
|
4194
4206
|
|
|
4195
|
-
event.preventDefault();
|
|
4196
|
-
|
|
4207
|
+
event.preventDefault(); // todo: v6 revert #37011 & change markup https://getbootstrap.com/docs/5.2/forms/input-group/
|
|
4208
|
+
|
|
4209
|
+
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);
|
|
4197
4210
|
const instance = Dropdown.getOrCreateInstance(getToggleButton);
|
|
4198
4211
|
|
|
4199
4212
|
if (isUpOrDownEvent) {
|
|
@@ -4235,7 +4248,7 @@
|
|
|
4235
4248
|
|
|
4236
4249
|
/**
|
|
4237
4250
|
* --------------------------------------------------------------------------
|
|
4238
|
-
* Bootstrap (v5.2.
|
|
4251
|
+
* Bootstrap (v5.2.2): util/scrollBar.js
|
|
4239
4252
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
4240
4253
|
* --------------------------------------------------------------------------
|
|
4241
4254
|
*/
|
|
@@ -4354,7 +4367,7 @@
|
|
|
4354
4367
|
|
|
4355
4368
|
/**
|
|
4356
4369
|
* --------------------------------------------------------------------------
|
|
4357
|
-
* Bootstrap (v5.2.
|
|
4370
|
+
* Bootstrap (v5.2.2): util/backdrop.js
|
|
4358
4371
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
4359
4372
|
* --------------------------------------------------------------------------
|
|
4360
4373
|
*/
|
|
@@ -4500,7 +4513,7 @@
|
|
|
4500
4513
|
|
|
4501
4514
|
/**
|
|
4502
4515
|
* --------------------------------------------------------------------------
|
|
4503
|
-
* Bootstrap (v5.2.
|
|
4516
|
+
* Bootstrap (v5.2.2): util/focustrap.js
|
|
4504
4517
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
4505
4518
|
* --------------------------------------------------------------------------
|
|
4506
4519
|
*/
|
|
@@ -4609,7 +4622,7 @@
|
|
|
4609
4622
|
|
|
4610
4623
|
/**
|
|
4611
4624
|
* --------------------------------------------------------------------------
|
|
4612
|
-
* Bootstrap (v5.2.
|
|
4625
|
+
* Bootstrap (v5.2.2): modal.js
|
|
4613
4626
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
4614
4627
|
* --------------------------------------------------------------------------
|
|
4615
4628
|
*/
|
|
@@ -4628,6 +4641,7 @@
|
|
|
4628
4641
|
const EVENT_SHOW$4 = `show${EVENT_KEY$4}`;
|
|
4629
4642
|
const EVENT_SHOWN$4 = `shown${EVENT_KEY$4}`;
|
|
4630
4643
|
const EVENT_RESIZE$1 = `resize${EVENT_KEY$4}`;
|
|
4644
|
+
const EVENT_CLICK_DISMISS = `click.dismiss${EVENT_KEY$4}`;
|
|
4631
4645
|
const EVENT_MOUSEDOWN_DISMISS = `mousedown.dismiss${EVENT_KEY$4}`;
|
|
4632
4646
|
const EVENT_KEYDOWN_DISMISS$1 = `keydown.dismiss${EVENT_KEY$4}`;
|
|
4633
4647
|
const EVENT_CLICK_DATA_API$2 = `click${EVENT_KEY$4}${DATA_API_KEY$2}`;
|
|
@@ -4820,20 +4834,22 @@
|
|
|
4820
4834
|
}
|
|
4821
4835
|
});
|
|
4822
4836
|
EventHandler.on(this._element, EVENT_MOUSEDOWN_DISMISS, event => {
|
|
4823
|
-
|
|
4824
|
-
|
|
4825
|
-
|
|
4826
|
-
|
|
4837
|
+
// a bad trick to segregate clicks that may start inside dialog but end outside, and avoid listen to scrollbar clicks
|
|
4838
|
+
EventHandler.one(this._element, EVENT_CLICK_DISMISS, event2 => {
|
|
4839
|
+
if (this._element !== event.target || this._element !== event2.target) {
|
|
4840
|
+
return;
|
|
4841
|
+
}
|
|
4827
4842
|
|
|
4828
|
-
|
|
4829
|
-
|
|
4843
|
+
if (this._config.backdrop === 'static') {
|
|
4844
|
+
this._triggerBackdropTransition();
|
|
4830
4845
|
|
|
4831
|
-
|
|
4832
|
-
|
|
4846
|
+
return;
|
|
4847
|
+
}
|
|
4833
4848
|
|
|
4834
|
-
|
|
4835
|
-
|
|
4836
|
-
|
|
4849
|
+
if (this._config.backdrop) {
|
|
4850
|
+
this.hide();
|
|
4851
|
+
}
|
|
4852
|
+
});
|
|
4837
4853
|
});
|
|
4838
4854
|
}
|
|
4839
4855
|
|
|
@@ -4982,7 +4998,7 @@
|
|
|
4982
4998
|
|
|
4983
4999
|
/**
|
|
4984
5000
|
* --------------------------------------------------------------------------
|
|
4985
|
-
* Bootstrap (v5.2.
|
|
5001
|
+
* Bootstrap (v5.2.2): offcanvas.js
|
|
4986
5002
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
4987
5003
|
* --------------------------------------------------------------------------
|
|
4988
5004
|
*/
|
|
@@ -5256,7 +5272,7 @@
|
|
|
5256
5272
|
|
|
5257
5273
|
/**
|
|
5258
5274
|
* --------------------------------------------------------------------------
|
|
5259
|
-
* Bootstrap (v5.2.
|
|
5275
|
+
* Bootstrap (v5.2.2): util/sanitizer.js
|
|
5260
5276
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
5261
5277
|
* --------------------------------------------------------------------------
|
|
5262
5278
|
*/
|
|
@@ -5361,7 +5377,7 @@
|
|
|
5361
5377
|
|
|
5362
5378
|
/**
|
|
5363
5379
|
* --------------------------------------------------------------------------
|
|
5364
|
-
* Bootstrap (v5.2.
|
|
5380
|
+
* Bootstrap (v5.2.2): util/template-factory.js
|
|
5365
5381
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
5366
5382
|
* --------------------------------------------------------------------------
|
|
5367
5383
|
*/
|
|
@@ -5519,7 +5535,7 @@
|
|
|
5519
5535
|
|
|
5520
5536
|
/**
|
|
5521
5537
|
* --------------------------------------------------------------------------
|
|
5522
|
-
* Bootstrap (v5.2.
|
|
5538
|
+
* Bootstrap (v5.2.2): tooltip.js
|
|
5523
5539
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
5524
5540
|
* --------------------------------------------------------------------------
|
|
5525
5541
|
*/
|
|
@@ -5608,7 +5624,7 @@
|
|
|
5608
5624
|
|
|
5609
5625
|
this._isEnabled = true;
|
|
5610
5626
|
this._timeout = 0;
|
|
5611
|
-
this._isHovered =
|
|
5627
|
+
this._isHovered = null;
|
|
5612
5628
|
this._activeTrigger = {};
|
|
5613
5629
|
this._popper = null;
|
|
5614
5630
|
this._templateFactory = null;
|
|
@@ -5617,6 +5633,10 @@
|
|
|
5617
5633
|
this.tip = null;
|
|
5618
5634
|
|
|
5619
5635
|
this._setListeners();
|
|
5636
|
+
|
|
5637
|
+
if (!this._config.selector) {
|
|
5638
|
+
this._fixTitle();
|
|
5639
|
+
}
|
|
5620
5640
|
} // Getters
|
|
5621
5641
|
|
|
5622
5642
|
|
|
@@ -5645,24 +5665,12 @@
|
|
|
5645
5665
|
this._isEnabled = !this._isEnabled;
|
|
5646
5666
|
}
|
|
5647
5667
|
|
|
5648
|
-
toggle(
|
|
5668
|
+
toggle() {
|
|
5649
5669
|
if (!this._isEnabled) {
|
|
5650
5670
|
return;
|
|
5651
5671
|
}
|
|
5652
5672
|
|
|
5653
|
-
|
|
5654
|
-
const context = this._initializeOnDelegatedTarget(event);
|
|
5655
|
-
|
|
5656
|
-
context._activeTrigger.click = !context._activeTrigger.click;
|
|
5657
|
-
|
|
5658
|
-
if (context._isWithActiveTrigger()) {
|
|
5659
|
-
context._enter();
|
|
5660
|
-
} else {
|
|
5661
|
-
context._leave();
|
|
5662
|
-
}
|
|
5663
|
-
|
|
5664
|
-
return;
|
|
5665
|
-
}
|
|
5673
|
+
this._activeTrigger.click = !this._activeTrigger.click;
|
|
5666
5674
|
|
|
5667
5675
|
if (this._isShown()) {
|
|
5668
5676
|
this._leave();
|
|
@@ -5681,6 +5689,10 @@
|
|
|
5681
5689
|
this.tip.remove();
|
|
5682
5690
|
}
|
|
5683
5691
|
|
|
5692
|
+
if (this._element.getAttribute('data-bs-original-title')) {
|
|
5693
|
+
this._element.setAttribute('title', this._element.getAttribute('data-bs-original-title'));
|
|
5694
|
+
}
|
|
5695
|
+
|
|
5684
5696
|
this._disposePopper();
|
|
5685
5697
|
|
|
5686
5698
|
super.dispose();
|
|
@@ -5741,13 +5753,13 @@
|
|
|
5741
5753
|
}
|
|
5742
5754
|
|
|
5743
5755
|
const complete = () => {
|
|
5744
|
-
const previousHoverState = this._isHovered;
|
|
5745
|
-
this._isHovered = false;
|
|
5746
5756
|
EventHandler.trigger(this._element, this.constructor.eventName(EVENT_SHOWN$2));
|
|
5747
5757
|
|
|
5748
|
-
if (
|
|
5758
|
+
if (this._isHovered === false) {
|
|
5749
5759
|
this._leave();
|
|
5750
5760
|
}
|
|
5761
|
+
|
|
5762
|
+
this._isHovered = false;
|
|
5751
5763
|
};
|
|
5752
5764
|
|
|
5753
5765
|
this._queueCallback(complete, this.tip, this._isAnimated());
|
|
@@ -5778,7 +5790,7 @@
|
|
|
5778
5790
|
this._activeTrigger[TRIGGER_CLICK] = false;
|
|
5779
5791
|
this._activeTrigger[TRIGGER_FOCUS] = false;
|
|
5780
5792
|
this._activeTrigger[TRIGGER_HOVER] = false;
|
|
5781
|
-
this._isHovered =
|
|
5793
|
+
this._isHovered = null; // it is a trick to support manual triggering
|
|
5782
5794
|
|
|
5783
5795
|
const complete = () => {
|
|
5784
5796
|
if (this._isWithActiveTrigger()) {
|
|
@@ -5871,7 +5883,7 @@
|
|
|
5871
5883
|
}
|
|
5872
5884
|
|
|
5873
5885
|
_getTitle() {
|
|
5874
|
-
return this._resolvePossibleFunction(this._config.title) || this.
|
|
5886
|
+
return this._resolvePossibleFunction(this._config.title) || this._element.getAttribute('data-bs-original-title');
|
|
5875
5887
|
} // Private
|
|
5876
5888
|
|
|
5877
5889
|
|
|
@@ -5957,7 +5969,11 @@
|
|
|
5957
5969
|
|
|
5958
5970
|
for (const trigger of triggers) {
|
|
5959
5971
|
if (trigger === 'click') {
|
|
5960
|
-
EventHandler.on(this._element, this.constructor.eventName(EVENT_CLICK$1), this._config.selector, event =>
|
|
5972
|
+
EventHandler.on(this._element, this.constructor.eventName(EVENT_CLICK$1), this._config.selector, event => {
|
|
5973
|
+
const context = this._initializeOnDelegatedTarget(event);
|
|
5974
|
+
|
|
5975
|
+
context.toggle();
|
|
5976
|
+
});
|
|
5961
5977
|
} else if (trigger !== TRIGGER_MANUAL) {
|
|
5962
5978
|
const eventIn = trigger === TRIGGER_HOVER ? this.constructor.eventName(EVENT_MOUSEENTER) : this.constructor.eventName(EVENT_FOCUSIN$1);
|
|
5963
5979
|
const eventOut = trigger === TRIGGER_HOVER ? this.constructor.eventName(EVENT_MOUSELEAVE) : this.constructor.eventName(EVENT_FOCUSOUT$1);
|
|
@@ -5985,19 +6001,10 @@
|
|
|
5985
6001
|
};
|
|
5986
6002
|
|
|
5987
6003
|
EventHandler.on(this._element.closest(SELECTOR_MODAL), EVENT_MODAL_HIDE, this._hideModalHandler);
|
|
5988
|
-
|
|
5989
|
-
if (this._config.selector) {
|
|
5990
|
-
this._config = { ...this._config,
|
|
5991
|
-
trigger: 'manual',
|
|
5992
|
-
selector: ''
|
|
5993
|
-
};
|
|
5994
|
-
} else {
|
|
5995
|
-
this._fixTitle();
|
|
5996
|
-
}
|
|
5997
6004
|
}
|
|
5998
6005
|
|
|
5999
6006
|
_fixTitle() {
|
|
6000
|
-
const title = this.
|
|
6007
|
+
const title = this._element.getAttribute('title');
|
|
6001
6008
|
|
|
6002
6009
|
if (!title) {
|
|
6003
6010
|
return;
|
|
@@ -6007,6 +6014,9 @@
|
|
|
6007
6014
|
this._element.setAttribute('aria-label', title);
|
|
6008
6015
|
}
|
|
6009
6016
|
|
|
6017
|
+
this._element.setAttribute('data-bs-original-title', title); // DO NOT USE IT. Is only for backwards compatibility
|
|
6018
|
+
|
|
6019
|
+
|
|
6010
6020
|
this._element.removeAttribute('title');
|
|
6011
6021
|
}
|
|
6012
6022
|
|
|
@@ -6078,8 +6088,6 @@
|
|
|
6078
6088
|
};
|
|
6079
6089
|
}
|
|
6080
6090
|
|
|
6081
|
-
config.originalTitle = this._element.getAttribute('title') || '';
|
|
6082
|
-
|
|
6083
6091
|
if (typeof config.title === 'number') {
|
|
6084
6092
|
config.title = config.title.toString();
|
|
6085
6093
|
}
|
|
@@ -6098,11 +6106,13 @@
|
|
|
6098
6106
|
if (this.constructor.Default[key] !== this._config[key]) {
|
|
6099
6107
|
config[key] = this._config[key];
|
|
6100
6108
|
}
|
|
6101
|
-
}
|
|
6109
|
+
}
|
|
6110
|
+
|
|
6111
|
+
config.selector = false;
|
|
6112
|
+
config.trigger = 'manual'; // In the future can be replaced with:
|
|
6102
6113
|
// const keysWithDifferentValues = Object.entries(this._config).filter(entry => this.constructor.Default[entry[0]] !== this._config[entry[0]])
|
|
6103
6114
|
// `Object.fromEntries(keysWithDifferentValues)`
|
|
6104
6115
|
|
|
6105
|
-
|
|
6106
6116
|
return config;
|
|
6107
6117
|
}
|
|
6108
6118
|
|
|
@@ -6141,7 +6151,7 @@
|
|
|
6141
6151
|
|
|
6142
6152
|
/**
|
|
6143
6153
|
* --------------------------------------------------------------------------
|
|
6144
|
-
* Bootstrap (v5.2.
|
|
6154
|
+
* Bootstrap (v5.2.2): popover.js
|
|
6145
6155
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
6146
6156
|
* --------------------------------------------------------------------------
|
|
6147
6157
|
*/
|
|
@@ -6224,7 +6234,7 @@
|
|
|
6224
6234
|
|
|
6225
6235
|
/**
|
|
6226
6236
|
* --------------------------------------------------------------------------
|
|
6227
|
-
* Bootstrap (v5.2.
|
|
6237
|
+
* Bootstrap (v5.2.2): scrollspy.js
|
|
6228
6238
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
6229
6239
|
* --------------------------------------------------------------------------
|
|
6230
6240
|
*/
|
|
@@ -6255,14 +6265,16 @@
|
|
|
6255
6265
|
// TODO: v6 @deprecated, keep it for backwards compatibility reasons
|
|
6256
6266
|
rootMargin: '0px 0px -25%',
|
|
6257
6267
|
smoothScroll: false,
|
|
6258
|
-
target: null
|
|
6268
|
+
target: null,
|
|
6269
|
+
threshold: [0.1, 0.5, 1]
|
|
6259
6270
|
};
|
|
6260
6271
|
const DefaultType$1 = {
|
|
6261
6272
|
offset: '(number|null)',
|
|
6262
6273
|
// TODO v6 @deprecated, keep it for backwards compatibility reasons
|
|
6263
6274
|
rootMargin: 'string',
|
|
6264
6275
|
smoothScroll: 'boolean',
|
|
6265
|
-
target: 'element'
|
|
6276
|
+
target: 'element',
|
|
6277
|
+
threshold: 'array'
|
|
6266
6278
|
};
|
|
6267
6279
|
/**
|
|
6268
6280
|
* Class definition
|
|
@@ -6323,7 +6335,14 @@
|
|
|
6323
6335
|
|
|
6324
6336
|
_configAfterMerge(config) {
|
|
6325
6337
|
// TODO: on v6 target should be given explicitly & remove the {target: 'ss-target'} case
|
|
6326
|
-
config.target = getElement(config.target) || document.body;
|
|
6338
|
+
config.target = getElement(config.target) || document.body; // TODO: v6 Only for backwards compatibility reasons. Use rootMargin only
|
|
6339
|
+
|
|
6340
|
+
config.rootMargin = config.offset ? `${config.offset}px 0px -30%` : config.rootMargin;
|
|
6341
|
+
|
|
6342
|
+
if (typeof config.threshold === 'string') {
|
|
6343
|
+
config.threshold = config.threshold.split(',').map(value => Number.parseFloat(value));
|
|
6344
|
+
}
|
|
6345
|
+
|
|
6327
6346
|
return config;
|
|
6328
6347
|
}
|
|
6329
6348
|
|
|
@@ -6359,8 +6378,8 @@
|
|
|
6359
6378
|
_getNewObserver() {
|
|
6360
6379
|
const options = {
|
|
6361
6380
|
root: this._rootElement,
|
|
6362
|
-
threshold:
|
|
6363
|
-
rootMargin: this.
|
|
6381
|
+
threshold: this._config.threshold,
|
|
6382
|
+
rootMargin: this._config.rootMargin
|
|
6364
6383
|
};
|
|
6365
6384
|
return new IntersectionObserver(entries => this._observerCallback(entries), options);
|
|
6366
6385
|
} // The logic of selection
|
|
@@ -6405,11 +6424,6 @@
|
|
|
6405
6424
|
activate(entry);
|
|
6406
6425
|
}
|
|
6407
6426
|
}
|
|
6408
|
-
} // TODO: v6 Only for backwards compatibility reasons. Use rootMargin only
|
|
6409
|
-
|
|
6410
|
-
|
|
6411
|
-
_getRootMargin() {
|
|
6412
|
-
return this._config.offset ? `${this._config.offset}px 0px -30%` : this._config.rootMargin;
|
|
6413
6427
|
}
|
|
6414
6428
|
|
|
6415
6429
|
_initializeTargetsAndObservables() {
|
|
@@ -6511,7 +6525,7 @@
|
|
|
6511
6525
|
|
|
6512
6526
|
/**
|
|
6513
6527
|
* --------------------------------------------------------------------------
|
|
6514
|
-
* Bootstrap (v5.2.
|
|
6528
|
+
* Bootstrap (v5.2.2): tab.js
|
|
6515
6529
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
6516
6530
|
* --------------------------------------------------------------------------
|
|
6517
6531
|
*/
|
|
@@ -6539,7 +6553,6 @@
|
|
|
6539
6553
|
const CLASS_DROPDOWN = 'dropdown';
|
|
6540
6554
|
const SELECTOR_DROPDOWN_TOGGLE = '.dropdown-toggle';
|
|
6541
6555
|
const SELECTOR_DROPDOWN_MENU = '.dropdown-menu';
|
|
6542
|
-
const SELECTOR_DROPDOWN_ITEM = '.dropdown-item';
|
|
6543
6556
|
const NOT_SELECTOR_DROPDOWN_TOGGLE = ':not(.dropdown-toggle)';
|
|
6544
6557
|
const SELECTOR_TAB_PANEL = '.list-group, .nav, [role="tablist"]';
|
|
6545
6558
|
const SELECTOR_OUTER = '.nav-item, .list-group-item';
|
|
@@ -6618,7 +6631,6 @@
|
|
|
6618
6631
|
return;
|
|
6619
6632
|
}
|
|
6620
6633
|
|
|
6621
|
-
element.focus();
|
|
6622
6634
|
element.removeAttribute('tabindex');
|
|
6623
6635
|
element.setAttribute('aria-selected', true);
|
|
6624
6636
|
|
|
@@ -6674,6 +6686,9 @@
|
|
|
6674
6686
|
const nextActiveElement = getNextActiveElement(this._getChildren().filter(element => !isDisabled(element)), event.target, isNext, true);
|
|
6675
6687
|
|
|
6676
6688
|
if (nextActiveElement) {
|
|
6689
|
+
nextActiveElement.focus({
|
|
6690
|
+
preventScroll: true
|
|
6691
|
+
});
|
|
6677
6692
|
Tab.getOrCreateInstance(nextActiveElement).show();
|
|
6678
6693
|
}
|
|
6679
6694
|
}
|
|
@@ -6749,7 +6764,6 @@
|
|
|
6749
6764
|
|
|
6750
6765
|
toggle(SELECTOR_DROPDOWN_TOGGLE, CLASS_NAME_ACTIVE);
|
|
6751
6766
|
toggle(SELECTOR_DROPDOWN_MENU, CLASS_NAME_SHOW$1);
|
|
6752
|
-
toggle(SELECTOR_DROPDOWN_ITEM, CLASS_NAME_ACTIVE);
|
|
6753
6767
|
outerElem.setAttribute('aria-expanded', open);
|
|
6754
6768
|
}
|
|
6755
6769
|
|
|
@@ -6824,7 +6838,7 @@
|
|
|
6824
6838
|
|
|
6825
6839
|
/**
|
|
6826
6840
|
* --------------------------------------------------------------------------
|
|
6827
|
-
* Bootstrap (v5.2.
|
|
6841
|
+
* Bootstrap (v5.2.2): toast.js
|
|
6828
6842
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
6829
6843
|
* --------------------------------------------------------------------------
|
|
6830
6844
|
*/
|
|
@@ -6975,13 +6989,17 @@
|
|
|
6975
6989
|
switch (event.type) {
|
|
6976
6990
|
case 'mouseover':
|
|
6977
6991
|
case 'mouseout':
|
|
6978
|
-
|
|
6979
|
-
|
|
6992
|
+
{
|
|
6993
|
+
this._hasMouseInteraction = isInteracting;
|
|
6994
|
+
break;
|
|
6995
|
+
}
|
|
6980
6996
|
|
|
6981
6997
|
case 'focusin':
|
|
6982
6998
|
case 'focusout':
|
|
6983
|
-
|
|
6984
|
-
|
|
6999
|
+
{
|
|
7000
|
+
this._hasKeyboardInteraction = isInteracting;
|
|
7001
|
+
break;
|
|
7002
|
+
}
|
|
6985
7003
|
}
|
|
6986
7004
|
|
|
6987
7005
|
if (isInteracting) {
|
|
@@ -7041,7 +7059,7 @@
|
|
|
7041
7059
|
|
|
7042
7060
|
/**
|
|
7043
7061
|
* --------------------------------------------------------------------------
|
|
7044
|
-
* Bootstrap (v5.2.
|
|
7062
|
+
* Bootstrap (v5.2.2): index.umd.js
|
|
7045
7063
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
7046
7064
|
* --------------------------------------------------------------------------
|
|
7047
7065
|
*/
|