|
1 | 1 | /*! |
2 | | - * Bootstrap v5.2.2 (https://getbootstrap.com/) |
| 2 | + * Bootstrap v5.2.3 (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 | */ |
|
31 | 31 |
|
32 | 32 | /** |
33 | 33 | * -------------------------------------------------------------------------- |
34 | | - * Bootstrap (v5.2.2): util/index.js |
| 34 | + * Bootstrap (v5.2.3): util/index.js |
35 | 35 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
36 | 36 | * -------------------------------------------------------------------------- |
37 | 37 | */ |
|
346 | 346 |
|
347 | 347 | /** |
348 | 348 | * -------------------------------------------------------------------------- |
349 | | - * Bootstrap (v5.2.2): dom/event-handler.js |
| 349 | + * Bootstrap (v5.2.3): dom/event-handler.js |
350 | 350 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
351 | 351 | * -------------------------------------------------------------------------- |
352 | 352 | */ |
|
615 | 615 |
|
616 | 616 | /** |
617 | 617 | * -------------------------------------------------------------------------- |
618 | | - * Bootstrap (v5.2.2): dom/data.js |
| 618 | + * Bootstrap (v5.2.3): dom/data.js |
619 | 619 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
620 | 620 | * -------------------------------------------------------------------------- |
621 | 621 | */ |
|
667 | 667 |
|
668 | 668 | /** |
669 | 669 | * -------------------------------------------------------------------------- |
670 | | - * Bootstrap (v5.2.2): dom/manipulator.js |
| 670 | + * Bootstrap (v5.2.3): dom/manipulator.js |
671 | 671 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
672 | 672 | * -------------------------------------------------------------------------- |
673 | 673 | */ |
|
737 | 737 |
|
738 | 738 | /** |
739 | 739 | * -------------------------------------------------------------------------- |
740 | | - * Bootstrap (v5.2.2): util/config.js |
| 740 | + * Bootstrap (v5.2.3): util/config.js |
741 | 741 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
742 | 742 | * -------------------------------------------------------------------------- |
743 | 743 | */ |
|
798 | 798 |
|
799 | 799 | /** |
800 | 800 | * -------------------------------------------------------------------------- |
801 | | - * Bootstrap (v5.2.2): base-component.js |
| 801 | + * Bootstrap (v5.2.3): base-component.js |
802 | 802 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
803 | 803 | * -------------------------------------------------------------------------- |
804 | 804 | */ |
805 | 805 | /** |
806 | 806 | * Constants |
807 | 807 | */ |
808 | 808 |
|
809 | | - const VERSION = '5.2.2'; |
| 809 | + const VERSION = '5.2.3'; |
810 | 810 | /** |
811 | 811 | * Class definition |
812 | 812 | */ |
|
877 | 877 |
|
878 | 878 | /** |
879 | 879 | * -------------------------------------------------------------------------- |
880 | | - * Bootstrap (v5.2.2): util/component-functions.js |
| 880 | + * Bootstrap (v5.2.3): util/component-functions.js |
881 | 881 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
882 | 882 | * -------------------------------------------------------------------------- |
883 | 883 | */ |
|
903 | 903 |
|
904 | 904 | /** |
905 | 905 | * -------------------------------------------------------------------------- |
906 | | - * Bootstrap (v5.2.2): alert.js |
| 906 | + * Bootstrap (v5.2.3): alert.js |
907 | 907 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
908 | 908 | * -------------------------------------------------------------------------- |
909 | 909 | */ |
|
983 | 983 |
|
984 | 984 | /** |
985 | 985 | * -------------------------------------------------------------------------- |
986 | | - * Bootstrap (v5.2.2): button.js |
| 986 | + * Bootstrap (v5.2.3): button.js |
987 | 987 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
988 | 988 | * -------------------------------------------------------------------------- |
989 | 989 | */ |
|
1045 | 1045 |
|
1046 | 1046 | /** |
1047 | 1047 | * -------------------------------------------------------------------------- |
1048 | | - * Bootstrap (v5.2.2): dom/selector-engine.js |
| 1048 | + * Bootstrap (v5.2.3): dom/selector-engine.js |
1049 | 1049 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
1050 | 1050 | * -------------------------------------------------------------------------- |
1051 | 1051 | */ |
|
1116 | 1116 |
|
1117 | 1117 | /** |
1118 | 1118 | * -------------------------------------------------------------------------- |
1119 | | - * Bootstrap (v5.2.2): util/swipe.js |
| 1119 | + * Bootstrap (v5.2.3): util/swipe.js |
1120 | 1120 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
1121 | 1121 | * -------------------------------------------------------------------------- |
1122 | 1122 | */ |
|
1252 | 1252 |
|
1253 | 1253 | /** |
1254 | 1254 | * -------------------------------------------------------------------------- |
1255 | | - * Bootstrap (v5.2.2): carousel.js |
| 1255 | + * Bootstrap (v5.2.3): carousel.js |
1256 | 1256 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
1257 | 1257 | * -------------------------------------------------------------------------- |
1258 | 1258 | */ |
|
1700 | 1700 |
|
1701 | 1701 | /** |
1702 | 1702 | * -------------------------------------------------------------------------- |
1703 | | - * Bootstrap (v5.2.2): collapse.js |
| 1703 | + * Bootstrap (v5.2.3): collapse.js |
1704 | 1704 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
1705 | 1705 | * -------------------------------------------------------------------------- |
1706 | 1706 | */ |
|
1990 | 1990 |
|
1991 | 1991 | /** |
1992 | 1992 | * -------------------------------------------------------------------------- |
1993 | | - * Bootstrap (v5.2.2): dropdown.js |
| 1993 | + * Bootstrap (v5.2.3): dropdown.js |
1994 | 1994 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
1995 | 1995 | * -------------------------------------------------------------------------- |
1996 | 1996 | */ |
|
2422 | 2422 |
|
2423 | 2423 | /** |
2424 | 2424 | * -------------------------------------------------------------------------- |
2425 | | - * Bootstrap (v5.2.2): util/scrollBar.js |
| 2425 | + * Bootstrap (v5.2.3): util/scrollBar.js |
2426 | 2426 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
2427 | 2427 | * -------------------------------------------------------------------------- |
2428 | 2428 | */ |
|
2541 | 2541 |
|
2542 | 2542 | /** |
2543 | 2543 | * -------------------------------------------------------------------------- |
2544 | | - * Bootstrap (v5.2.2): util/backdrop.js |
| 2544 | + * Bootstrap (v5.2.3): util/backdrop.js |
2545 | 2545 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
2546 | 2546 | * -------------------------------------------------------------------------- |
2547 | 2547 | */ |
|
2687 | 2687 |
|
2688 | 2688 | /** |
2689 | 2689 | * -------------------------------------------------------------------------- |
2690 | | - * Bootstrap (v5.2.2): util/focustrap.js |
| 2690 | + * Bootstrap (v5.2.3): util/focustrap.js |
2691 | 2691 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
2692 | 2692 | * -------------------------------------------------------------------------- |
2693 | 2693 | */ |
|
2796 | 2796 |
|
2797 | 2797 | /** |
2798 | 2798 | * -------------------------------------------------------------------------- |
2799 | | - * Bootstrap (v5.2.2): modal.js |
| 2799 | + * Bootstrap (v5.2.3): modal.js |
2800 | 2800 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
2801 | 2801 | * -------------------------------------------------------------------------- |
2802 | 2802 | */ |
|
3172 | 3172 |
|
3173 | 3173 | /** |
3174 | 3174 | * -------------------------------------------------------------------------- |
3175 | | - * Bootstrap (v5.2.2): offcanvas.js |
| 3175 | + * Bootstrap (v5.2.3): offcanvas.js |
3176 | 3176 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
3177 | 3177 | * -------------------------------------------------------------------------- |
3178 | 3178 | */ |
|
3446 | 3446 |
|
3447 | 3447 | /** |
3448 | 3448 | * -------------------------------------------------------------------------- |
3449 | | - * Bootstrap (v5.2.2): util/sanitizer.js |
| 3449 | + * Bootstrap (v5.2.3): util/sanitizer.js |
3450 | 3450 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
3451 | 3451 | * -------------------------------------------------------------------------- |
3452 | 3452 | */ |
|
3551 | 3551 |
|
3552 | 3552 | /** |
3553 | 3553 | * -------------------------------------------------------------------------- |
3554 | | - * Bootstrap (v5.2.2): util/template-factory.js |
| 3554 | + * Bootstrap (v5.2.3): util/template-factory.js |
3555 | 3555 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
3556 | 3556 | * -------------------------------------------------------------------------- |
3557 | 3557 | */ |
|
3709 | 3709 |
|
3710 | 3710 | /** |
3711 | 3711 | * -------------------------------------------------------------------------- |
3712 | | - * Bootstrap (v5.2.2): tooltip.js |
| 3712 | + * Bootstrap (v5.2.3): tooltip.js |
3713 | 3713 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
3714 | 3714 | * -------------------------------------------------------------------------- |
3715 | 3715 | */ |
|
3859 | 3859 | clearTimeout(this._timeout); |
3860 | 3860 | EventHandler.off(this._element.closest(SELECTOR_MODAL), EVENT_MODAL_HIDE, this._hideModalHandler); |
3861 | 3861 |
|
3862 | | - if (this.tip) { |
3863 | | - this.tip.remove(); |
3864 | | - } |
3865 | | - |
3866 | 3862 | if (this._element.getAttribute('data-bs-original-title')) { |
3867 | 3863 | this._element.setAttribute('title', this._element.getAttribute('data-bs-original-title')); |
3868 | 3864 | } |
|
3891 | 3887 | } // todo v6 remove this OR make it optional |
3892 | 3888 |
|
3893 | 3889 |
|
3894 | | - if (this.tip) { |
3895 | | - this.tip.remove(); |
3896 | | - this.tip = null; |
3897 | | - } |
| 3890 | + this._disposePopper(); |
3898 | 3891 |
|
3899 | 3892 | const tip = this._getTipElement(); |
3900 | 3893 |
|
|
3909 | 3902 | EventHandler.trigger(this._element, this.constructor.eventName(EVENT_INSERTED)); |
3910 | 3903 | } |
3911 | 3904 |
|
3912 | | - if (this._popper) { |
3913 | | - this._popper.update(); |
3914 | | - } else { |
3915 | | - this._popper = this._createPopper(tip); |
3916 | | - } |
3917 | | - |
| 3905 | + this._popper = this._createPopper(tip); |
3918 | 3906 | tip.classList.add(CLASS_NAME_SHOW$2); // If this is a touch-enabled device we add extra |
3919 | 3907 | // empty mouseover listeners to the body's immediate children; |
3920 | 3908 | // only needed because of broken event delegation on iOS |
|
3972 | 3960 | } |
3973 | 3961 |
|
3974 | 3962 | if (!this._isHovered) { |
3975 | | - tip.remove(); |
| 3963 | + this._disposePopper(); |
3976 | 3964 | } |
3977 | 3965 |
|
3978 | 3966 | this._element.removeAttribute('aria-describedby'); |
3979 | 3967 |
|
3980 | 3968 | EventHandler.trigger(this._element, this.constructor.eventName(EVENT_HIDDEN$2)); |
3981 | | - |
3982 | | - this._disposePopper(); |
3983 | 3969 | }; |
3984 | 3970 |
|
3985 | 3971 | this._queueCallback(complete, this.tip, this._isAnimated()); |
|
4296 | 4282 |
|
4297 | 4283 | this._popper = null; |
4298 | 4284 | } |
| 4285 | + |
| 4286 | + if (this.tip) { |
| 4287 | + this.tip.remove(); |
| 4288 | + this.tip = null; |
| 4289 | + } |
4299 | 4290 | } // Static |
4300 | 4291 |
|
4301 | 4292 |
|
|
4325 | 4316 |
|
4326 | 4317 | /** |
4327 | 4318 | * -------------------------------------------------------------------------- |
4328 | | - * Bootstrap (v5.2.2): popover.js |
| 4319 | + * Bootstrap (v5.2.3): popover.js |
4329 | 4320 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
4330 | 4321 | * -------------------------------------------------------------------------- |
4331 | 4322 | */ |
|
4408 | 4399 |
|
4409 | 4400 | /** |
4410 | 4401 | * -------------------------------------------------------------------------- |
4411 | | - * Bootstrap (v5.2.2): scrollspy.js |
| 4402 | + * Bootstrap (v5.2.3): scrollspy.js |
4412 | 4403 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
4413 | 4404 | * -------------------------------------------------------------------------- |
4414 | 4405 | */ |
|
4699 | 4690 |
|
4700 | 4691 | /** |
4701 | 4692 | * -------------------------------------------------------------------------- |
4702 | | - * Bootstrap (v5.2.2): tab.js |
| 4693 | + * Bootstrap (v5.2.3): tab.js |
4703 | 4694 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
4704 | 4695 | * -------------------------------------------------------------------------- |
4705 | 4696 | */ |
|
5012 | 5003 |
|
5013 | 5004 | /** |
5014 | 5005 | * -------------------------------------------------------------------------- |
5015 | | - * Bootstrap (v5.2.2): toast.js |
| 5006 | + * Bootstrap (v5.2.3): toast.js |
5016 | 5007 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
5017 | 5008 | * -------------------------------------------------------------------------- |
5018 | 5009 | */ |
|
5233 | 5224 |
|
5234 | 5225 | /** |
5235 | 5226 | * -------------------------------------------------------------------------- |
5236 | | - * Bootstrap (v5.2.2): index.umd.js |
| 5227 | + * Bootstrap (v5.2.3): index.umd.js |
5237 | 5228 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
5238 | 5229 | * -------------------------------------------------------------------------- |
5239 | 5230 | */ |
|
0 commit comments