mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-16 20:50:24 +00:00
Dist
This commit is contained in:
parent
bc4272531b
commit
63f3d939ea
75 changed files with 2290 additions and 3218 deletions
|
|
@ -68,12 +68,12 @@ params:
|
|||
cdn:
|
||||
# See https://www.srihash.org for info on how to generate the hashes
|
||||
css: "https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/css/bootstrap.min.css"
|
||||
css_hash: "sha384-xNSaKzL9Rjah2RV0MGhtlyVs2areDxovNJCBVnI5Jmo4fWjMx5mx1zyOiddHs4kQ"
|
||||
css_hash: "sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1"
|
||||
css_rtl: "https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/css/bootstrap.rtl.min.css"
|
||||
css_rtl_hash: "sha384-eWxmXwoY7jtZGBMpINmwuxW6Bfzjqsh1pjhGbl58bWpKmsbpGOFaMIthSFY2izhq"
|
||||
css_rtl_hash: "sha384-mUkCBeyHPdg0tqB6JDd+65Gpw5h/l8DKcCTV2D2UpaMMFd7Jo8A+mDAosaWgFBPl"
|
||||
js: "https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/js/bootstrap.min.js"
|
||||
js_hash: "sha384-supZtwqjyYg6XvvTCi4/w6J6Hm6IKqXaaeoyGhIhonCdkSvA70sSucW7OqXIo4lZ"
|
||||
js_hash: "sha384-pQQkAEnwaBkjpqZ8RU1fF1AKtTcHJwFl3pblpTlHXybJjHpMYo79HY3hIi4NKxyj"
|
||||
js_bundle: "https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/js/bootstrap.bundle.min.js"
|
||||
js_bundle_hash: "sha384-G/J8d6sz9bTod37AsZzNtTwT77J24FKjJEO1YsU2vW7iPcmYP3/tznu+LcK824t9"
|
||||
js_bundle_hash: "sha384-ygbV9kiqUc6oa4msXn9868pTtWMgiQaeYH7/t7LECLbyPA2x65Kgf80OJFdroafW"
|
||||
popper: "https://cdn.jsdelivr.net/npm/@popperjs/core@2.5.4/dist/umd/popper.min.js"
|
||||
popper_hash: "sha384-q2kxQ16AaE6UbzuKqyBE9/u/KzioAlnx2maXQHiDX9d4/zp8Ok3f+M7DPm+Ib6IU"
|
||||
|
|
|
|||
2
dist/css/bootstrap-grid.css
vendored
2
dist/css/bootstrap-grid.css
vendored
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* Bootstrap Grid v5.0.0-alpha3 (https://getbootstrap.com/)
|
||||
* Bootstrap Grid v5.0.0-beta1 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2020 The Bootstrap Authors
|
||||
* Copyright 2011-2020 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
|
|
|
|||
BIN
dist/css/bootstrap-grid.css.map
vendored
BIN
dist/css/bootstrap-grid.css.map
vendored
Binary file not shown.
2
dist/css/bootstrap-grid.min.css
vendored
2
dist/css/bootstrap-grid.min.css
vendored
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* Bootstrap Grid v5.0.0-alpha3 (https://getbootstrap.com/)
|
||||
* Bootstrap Grid v5.0.0-beta1 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2020 The Bootstrap Authors
|
||||
* Copyright 2011-2020 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
|
|
|
|||
BIN
dist/css/bootstrap-grid.min.css.map
vendored
BIN
dist/css/bootstrap-grid.min.css.map
vendored
Binary file not shown.
2
dist/css/bootstrap-grid.rtl.css
vendored
2
dist/css/bootstrap-grid.rtl.css
vendored
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* Bootstrap Grid v5.0.0-alpha3 (https://getbootstrap.com/)
|
||||
* Bootstrap Grid v5.0.0-beta1 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2020 The Bootstrap Authors
|
||||
* Copyright 2011-2020 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
|
|
|
|||
BIN
dist/css/bootstrap-grid.rtl.css.map
vendored
BIN
dist/css/bootstrap-grid.rtl.css.map
vendored
Binary file not shown.
2
dist/css/bootstrap-grid.rtl.min.css
vendored
2
dist/css/bootstrap-grid.rtl.min.css
vendored
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* Bootstrap Grid v5.0.0-alpha3 (https://getbootstrap.com/)
|
||||
* Bootstrap Grid v5.0.0-beta1 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2020 The Bootstrap Authors
|
||||
* Copyright 2011-2020 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
|
|
|
|||
BIN
dist/css/bootstrap-grid.rtl.min.css.map
vendored
BIN
dist/css/bootstrap-grid.rtl.min.css.map
vendored
Binary file not shown.
2
dist/css/bootstrap-reboot.css
vendored
2
dist/css/bootstrap-reboot.css
vendored
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* Bootstrap Reboot v5.0.0-alpha3 (https://getbootstrap.com/)
|
||||
* Bootstrap Reboot v5.0.0-beta1 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2020 The Bootstrap Authors
|
||||
* Copyright 2011-2020 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
|
|
|
|||
BIN
dist/css/bootstrap-reboot.css.map
vendored
BIN
dist/css/bootstrap-reboot.css.map
vendored
Binary file not shown.
2
dist/css/bootstrap-reboot.min.css
vendored
2
dist/css/bootstrap-reboot.min.css
vendored
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* Bootstrap Reboot v5.0.0-alpha3 (https://getbootstrap.com/)
|
||||
* Bootstrap Reboot v5.0.0-beta1 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2020 The Bootstrap Authors
|
||||
* Copyright 2011-2020 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
|
|
|
|||
BIN
dist/css/bootstrap-reboot.min.css.map
vendored
BIN
dist/css/bootstrap-reboot.min.css.map
vendored
Binary file not shown.
2
dist/css/bootstrap-reboot.rtl.css
vendored
2
dist/css/bootstrap-reboot.rtl.css
vendored
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* Bootstrap Reboot v5.0.0-alpha3 (https://getbootstrap.com/)
|
||||
* Bootstrap Reboot v5.0.0-beta1 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2020 The Bootstrap Authors
|
||||
* Copyright 2011-2020 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
|
|
|
|||
BIN
dist/css/bootstrap-reboot.rtl.css.map
vendored
BIN
dist/css/bootstrap-reboot.rtl.css.map
vendored
Binary file not shown.
2
dist/css/bootstrap-reboot.rtl.min.css
vendored
2
dist/css/bootstrap-reboot.rtl.min.css
vendored
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* Bootstrap Reboot v5.0.0-alpha3 (https://getbootstrap.com/)
|
||||
* Bootstrap Reboot v5.0.0-beta1 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2020 The Bootstrap Authors
|
||||
* Copyright 2011-2020 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
|
|
|
|||
BIN
dist/css/bootstrap-reboot.rtl.min.css.map
vendored
BIN
dist/css/bootstrap-reboot.rtl.min.css.map
vendored
Binary file not shown.
12
dist/css/bootstrap-utilities.css
vendored
12
dist/css/bootstrap-utilities.css
vendored
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* Bootstrap Utilities v5.0.0-alpha3 (https://getbootstrap.com/)
|
||||
* Bootstrap Utilities v5.0.0-beta1 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2020 The Bootstrap Authors
|
||||
* Copyright 2011-2020 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
|
|
@ -182,7 +182,15 @@
|
|||
}
|
||||
|
||||
.translate-middle {
|
||||
transform: translateX(-50%) translateY(-50%) !important;
|
||||
transform: translate(-50%, -50%) !important;
|
||||
}
|
||||
|
||||
.translate-middle-x {
|
||||
transform: translateX(-50%) !important;
|
||||
}
|
||||
|
||||
.translate-middle-y {
|
||||
transform: translateY(-50%) !important;
|
||||
}
|
||||
|
||||
.border {
|
||||
|
|
|
|||
BIN
dist/css/bootstrap-utilities.css.map
vendored
BIN
dist/css/bootstrap-utilities.css.map
vendored
Binary file not shown.
4
dist/css/bootstrap-utilities.min.css
vendored
4
dist/css/bootstrap-utilities.min.css
vendored
File diff suppressed because one or more lines are too long
BIN
dist/css/bootstrap-utilities.min.css.map
vendored
BIN
dist/css/bootstrap-utilities.min.css.map
vendored
Binary file not shown.
12
dist/css/bootstrap-utilities.rtl.css
vendored
12
dist/css/bootstrap-utilities.rtl.css
vendored
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* Bootstrap Utilities v5.0.0-alpha3 (https://getbootstrap.com/)
|
||||
* Bootstrap Utilities v5.0.0-beta1 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2020 The Bootstrap Authors
|
||||
* Copyright 2011-2020 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
|
|
@ -182,7 +182,15 @@
|
|||
}
|
||||
|
||||
.translate-middle {
|
||||
transform: translateX(50%) translateY(-50%) !important;
|
||||
transform: translate(50%, -50%) !important;
|
||||
}
|
||||
|
||||
.translate-middle-x {
|
||||
transform: translateX(50%) !important;
|
||||
}
|
||||
|
||||
.translate-middle-y {
|
||||
transform: translateY(-50%) !important;
|
||||
}
|
||||
|
||||
.border {
|
||||
|
|
|
|||
BIN
dist/css/bootstrap-utilities.rtl.css.map
vendored
BIN
dist/css/bootstrap-utilities.rtl.css.map
vendored
Binary file not shown.
4
dist/css/bootstrap-utilities.rtl.min.css
vendored
4
dist/css/bootstrap-utilities.rtl.min.css
vendored
File diff suppressed because one or more lines are too long
BIN
dist/css/bootstrap-utilities.rtl.min.css.map
vendored
BIN
dist/css/bootstrap-utilities.rtl.min.css.map
vendored
Binary file not shown.
|
|
@ -1,6 +1,6 @@
|
|||
@charset "UTF-8";
|
||||
/*!
|
||||
* Bootstrap v5.0.0-alpha3 (https://getbootstrap.com/)
|
||||
* Bootstrap v5.0.0-beta1 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2020 The Bootstrap Authors
|
||||
* Copyright 2011-2020 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
|
|
@ -3443,68 +3443,83 @@ textarea.form-control-lg {
|
|||
border: 1px solid rgba(0, 0, 0, 0.15);
|
||||
border-radius: 0.25rem;
|
||||
}
|
||||
.dropdown-menu[style] {
|
||||
right: auto !important;
|
||||
}
|
||||
|
||||
.dropdown-menu-start {
|
||||
--bs-position: start;
|
||||
right: auto /* rtl:ignore */;
|
||||
left: 0 /* rtl:ignore */;
|
||||
}
|
||||
|
||||
.dropdown-menu-end {
|
||||
--bs-position: end;
|
||||
right: 0 /* rtl:ignore */;
|
||||
left: auto /* rtl:ignore */;
|
||||
}
|
||||
|
||||
@media (min-width: 576px) {
|
||||
.dropdown-menu-sm-start {
|
||||
--bs-position: start;
|
||||
right: auto /* rtl:ignore */;
|
||||
left: 0 /* rtl:ignore */;
|
||||
}
|
||||
|
||||
.dropdown-menu-sm-end {
|
||||
--bs-position: end;
|
||||
right: 0 /* rtl:ignore */;
|
||||
left: auto /* rtl:ignore */;
|
||||
}
|
||||
}
|
||||
@media (min-width: 768px) {
|
||||
.dropdown-menu-md-start {
|
||||
--bs-position: start;
|
||||
right: auto /* rtl:ignore */;
|
||||
left: 0 /* rtl:ignore */;
|
||||
}
|
||||
|
||||
.dropdown-menu-md-end {
|
||||
--bs-position: end;
|
||||
right: 0 /* rtl:ignore */;
|
||||
left: auto /* rtl:ignore */;
|
||||
}
|
||||
}
|
||||
@media (min-width: 992px) {
|
||||
.dropdown-menu-lg-start {
|
||||
--bs-position: start;
|
||||
right: auto /* rtl:ignore */;
|
||||
left: 0 /* rtl:ignore */;
|
||||
}
|
||||
|
||||
.dropdown-menu-lg-end {
|
||||
--bs-position: end;
|
||||
right: 0 /* rtl:ignore */;
|
||||
left: auto /* rtl:ignore */;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1200px) {
|
||||
.dropdown-menu-xl-start {
|
||||
--bs-position: start;
|
||||
right: auto /* rtl:ignore */;
|
||||
left: 0 /* rtl:ignore */;
|
||||
}
|
||||
|
||||
.dropdown-menu-xl-end {
|
||||
--bs-position: end;
|
||||
right: 0 /* rtl:ignore */;
|
||||
left: auto /* rtl:ignore */;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1400px) {
|
||||
.dropdown-menu-xxl-start {
|
||||
--bs-position: start;
|
||||
right: auto /* rtl:ignore */;
|
||||
left: 0 /* rtl:ignore */;
|
||||
}
|
||||
|
||||
.dropdown-menu-xxl-end {
|
||||
--bs-position: end;
|
||||
right: 0 /* rtl:ignore */;
|
||||
left: auto /* rtl:ignore */;
|
||||
}
|
||||
|
|
@ -3585,12 +3600,6 @@ textarea.form-control-lg {
|
|||
vertical-align: 0;
|
||||
}
|
||||
|
||||
.dropdown-menu[x-placement^=top], .dropdown-menu[x-placement^=right], .dropdown-menu[x-placement^=bottom], .dropdown-menu[x-placement^=left] {
|
||||
right: auto;
|
||||
bottom: auto;
|
||||
left: auto;
|
||||
}
|
||||
|
||||
.dropdown-divider {
|
||||
height: 0;
|
||||
margin: 0.5rem 0;
|
||||
|
|
@ -5045,29 +5054,34 @@ textarea.form-control-lg {
|
|||
}
|
||||
|
||||
.toast {
|
||||
max-width: 350px;
|
||||
width: 350px;
|
||||
max-width: 100%;
|
||||
font-size: 0.875rem;
|
||||
pointer-events: auto;
|
||||
background-color: rgba(255, 255, 255, 0.85);
|
||||
background-clip: padding-box;
|
||||
border: 1px solid rgba(0, 0, 0, 0.1);
|
||||
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
|
||||
opacity: 0;
|
||||
border-radius: 0.25rem;
|
||||
}
|
||||
.toast:not(:last-child) {
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
.toast.showing {
|
||||
opacity: 1;
|
||||
}
|
||||
.toast.show {
|
||||
display: block;
|
||||
opacity: 1;
|
||||
.toast:not(.showing):not(.show) {
|
||||
opacity: 0;
|
||||
}
|
||||
.toast.hide {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.toast-container {
|
||||
width: -webkit-max-content;
|
||||
width: -moz-max-content;
|
||||
width: max-content;
|
||||
max-width: 100%;
|
||||
pointer-events: none;
|
||||
}
|
||||
.toast-container > :not(:last-child) {
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
.toast-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
|
@ -5424,56 +5438,56 @@ textarea.form-control-lg {
|
|||
border-style: solid;
|
||||
}
|
||||
|
||||
.bs-tooltip-top, .bs-tooltip-auto[x-placement^=top] {
|
||||
.bs-tooltip-top, .bs-tooltip-auto[data-popper-placement^=top] {
|
||||
padding: 0.4rem 0;
|
||||
}
|
||||
.bs-tooltip-top .tooltip-arrow, .bs-tooltip-auto[x-placement^=top] .tooltip-arrow {
|
||||
.bs-tooltip-top .tooltip-arrow, .bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow {
|
||||
bottom: 0;
|
||||
}
|
||||
.bs-tooltip-top .tooltip-arrow::before, .bs-tooltip-auto[x-placement^=top] .tooltip-arrow::before {
|
||||
top: 0;
|
||||
.bs-tooltip-top .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before {
|
||||
top: -1px;
|
||||
border-width: 0.4rem 0.4rem 0;
|
||||
border-top-color: #000;
|
||||
}
|
||||
|
||||
.bs-tooltip-end, .bs-tooltip-auto[x-placement^=right] {
|
||||
.bs-tooltip-end, .bs-tooltip-auto[data-popper-placement^=right] {
|
||||
padding: 0 0.4rem;
|
||||
}
|
||||
.bs-tooltip-end .tooltip-arrow, .bs-tooltip-auto[x-placement^=right] .tooltip-arrow {
|
||||
left: 0 /* rtl:ignore */;
|
||||
.bs-tooltip-end .tooltip-arrow, .bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow {
|
||||
left: 0;
|
||||
width: 0.4rem;
|
||||
height: 0.8rem;
|
||||
}
|
||||
.bs-tooltip-end .tooltip-arrow::before, .bs-tooltip-auto[x-placement^=right] .tooltip-arrow::before {
|
||||
right: 0 /* rtl:ignore */;
|
||||
border-width: 0.4rem 0.4rem 0.4rem 0 /* rtl:ignore */;
|
||||
border-right-color: #000 /* rtl:ignore */;
|
||||
.bs-tooltip-end .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow::before {
|
||||
right: -1px;
|
||||
border-width: 0.4rem 0.4rem 0.4rem 0;
|
||||
border-right-color: #000;
|
||||
}
|
||||
|
||||
.bs-tooltip-bottom, .bs-tooltip-auto[x-placement^=bottom] {
|
||||
.bs-tooltip-bottom, .bs-tooltip-auto[data-popper-placement^=bottom] {
|
||||
padding: 0.4rem 0;
|
||||
}
|
||||
.bs-tooltip-bottom .tooltip-arrow, .bs-tooltip-auto[x-placement^=bottom] .tooltip-arrow {
|
||||
.bs-tooltip-bottom .tooltip-arrow, .bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow {
|
||||
top: 0;
|
||||
}
|
||||
.bs-tooltip-bottom .tooltip-arrow::before, .bs-tooltip-auto[x-placement^=bottom] .tooltip-arrow::before {
|
||||
bottom: 0;
|
||||
.bs-tooltip-bottom .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow::before {
|
||||
bottom: -1px;
|
||||
border-width: 0 0.4rem 0.4rem;
|
||||
border-bottom-color: #000;
|
||||
}
|
||||
|
||||
.bs-tooltip-start, .bs-tooltip-auto[x-placement^=left] {
|
||||
.bs-tooltip-start, .bs-tooltip-auto[data-popper-placement^=left] {
|
||||
padding: 0 0.4rem;
|
||||
}
|
||||
.bs-tooltip-start .tooltip-arrow, .bs-tooltip-auto[x-placement^=left] .tooltip-arrow {
|
||||
right: 0 /* rtl:ignore */;
|
||||
.bs-tooltip-start .tooltip-arrow, .bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow {
|
||||
right: 0;
|
||||
width: 0.4rem;
|
||||
height: 0.8rem;
|
||||
}
|
||||
.bs-tooltip-start .tooltip-arrow::before, .bs-tooltip-auto[x-placement^=left] .tooltip-arrow::before {
|
||||
left: 0 /* rtl:ignore */;
|
||||
border-width: 0.4rem 0 0.4rem 0.4rem /* rtl:ignore */;
|
||||
border-left-color: #000 /* rtl:ignore */;
|
||||
.bs-tooltip-start .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow::before {
|
||||
left: -1px;
|
||||
border-width: 0.4rem 0 0.4rem 0.4rem;
|
||||
border-left-color: #000;
|
||||
}
|
||||
|
||||
.tooltip-inner {
|
||||
|
|
@ -5528,60 +5542,60 @@ textarea.form-control-lg {
|
|||
border-style: solid;
|
||||
}
|
||||
|
||||
.bs-popover-top, .bs-popover-auto[x-placement^=top] {
|
||||
margin-bottom: 0.5rem;
|
||||
.bs-popover-top, .bs-popover-auto[data-popper-placement^=top] {
|
||||
margin-bottom: 0.5rem !important;
|
||||
}
|
||||
.bs-popover-top > .popover-arrow, .bs-popover-auto[x-placement^=top] > .popover-arrow {
|
||||
.bs-popover-top > .popover-arrow, .bs-popover-auto[data-popper-placement^=top] > .popover-arrow {
|
||||
bottom: calc(-0.5rem - 1px);
|
||||
}
|
||||
.bs-popover-top > .popover-arrow::before, .bs-popover-auto[x-placement^=top] > .popover-arrow::before {
|
||||
.bs-popover-top > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=top] > .popover-arrow::before {
|
||||
bottom: 0;
|
||||
border-width: 0.5rem 0.5rem 0;
|
||||
border-top-color: rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
.bs-popover-top > .popover-arrow::after, .bs-popover-auto[x-placement^=top] > .popover-arrow::after {
|
||||
.bs-popover-top > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=top] > .popover-arrow::after {
|
||||
bottom: 1px;
|
||||
border-width: 0.5rem 0.5rem 0;
|
||||
border-top-color: #fff;
|
||||
}
|
||||
|
||||
.bs-popover-end, .bs-popover-auto[x-placement^=right] {
|
||||
margin-left: 0.5rem /* rtl:ignore */;
|
||||
.bs-popover-end, .bs-popover-auto[data-popper-placement^=right] {
|
||||
margin-left: 0.5rem !important;
|
||||
}
|
||||
.bs-popover-end > .popover-arrow, .bs-popover-auto[x-placement^=right] > .popover-arrow {
|
||||
left: calc(-0.5rem - 1px) /* rtl:ignore */;
|
||||
.bs-popover-end > .popover-arrow, .bs-popover-auto[data-popper-placement^=right] > .popover-arrow {
|
||||
left: calc(-0.5rem - 1px);
|
||||
width: 0.5rem;
|
||||
height: 1rem;
|
||||
margin: 0.3rem 0;
|
||||
}
|
||||
.bs-popover-end > .popover-arrow::before, .bs-popover-auto[x-placement^=right] > .popover-arrow::before {
|
||||
left: 0 /* rtl:ignore */;
|
||||
border-width: 0.5rem 0.5rem 0.5rem 0 /* rtl:ignore */;
|
||||
border-right-color: rgba(0, 0, 0, 0.25) /* rtl:ignore */;
|
||||
.bs-popover-end > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=right] > .popover-arrow::before {
|
||||
left: 0;
|
||||
border-width: 0.5rem 0.5rem 0.5rem 0;
|
||||
border-right-color: rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
.bs-popover-end > .popover-arrow::after, .bs-popover-auto[x-placement^=right] > .popover-arrow::after {
|
||||
left: 1px /* rtl:ignore */;
|
||||
border-width: 0.5rem 0.5rem 0.5rem 0 /* rtl:ignore */;
|
||||
border-right-color: #fff /* rtl:ignore */;
|
||||
.bs-popover-end > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=right] > .popover-arrow::after {
|
||||
left: 1px;
|
||||
border-width: 0.5rem 0.5rem 0.5rem 0;
|
||||
border-right-color: #fff;
|
||||
}
|
||||
|
||||
.bs-popover-bottom, .bs-popover-auto[x-placement^=bottom] {
|
||||
margin-top: 0.5rem;
|
||||
.bs-popover-bottom, .bs-popover-auto[data-popper-placement^=bottom] {
|
||||
margin-top: 0.5rem !important;
|
||||
}
|
||||
.bs-popover-bottom > .popover-arrow, .bs-popover-auto[x-placement^=bottom] > .popover-arrow {
|
||||
.bs-popover-bottom > .popover-arrow, .bs-popover-auto[data-popper-placement^=bottom] > .popover-arrow {
|
||||
top: calc(-0.5rem - 1px);
|
||||
}
|
||||
.bs-popover-bottom > .popover-arrow::before, .bs-popover-auto[x-placement^=bottom] > .popover-arrow::before {
|
||||
.bs-popover-bottom > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=bottom] > .popover-arrow::before {
|
||||
top: 0;
|
||||
border-width: 0 0.5rem 0.5rem 0.5rem;
|
||||
border-bottom-color: rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
.bs-popover-bottom > .popover-arrow::after, .bs-popover-auto[x-placement^=bottom] > .popover-arrow::after {
|
||||
.bs-popover-bottom > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=bottom] > .popover-arrow::after {
|
||||
top: 1px;
|
||||
border-width: 0 0.5rem 0.5rem 0.5rem;
|
||||
border-bottom-color: #fff;
|
||||
}
|
||||
.bs-popover-bottom .popover-header::before, .bs-popover-auto[x-placement^=bottom] .popover-header::before {
|
||||
.bs-popover-bottom .popover-header::before, .bs-popover-auto[data-popper-placement^=bottom] .popover-header::before {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 50%;
|
||||
|
|
@ -5592,24 +5606,24 @@ textarea.form-control-lg {
|
|||
border-bottom: 1px solid #f0f0f0;
|
||||
}
|
||||
|
||||
.bs-popover-start, .bs-popover-auto[x-placement^=left] {
|
||||
margin-right: 0.5rem /* rtl:ignore */;
|
||||
.bs-popover-start, .bs-popover-auto[data-popper-placement^=left] {
|
||||
margin-right: 0.5rem !important;
|
||||
}
|
||||
.bs-popover-start > .popover-arrow, .bs-popover-auto[x-placement^=left] > .popover-arrow {
|
||||
right: calc(-0.5rem - 1px) /* rtl:ignore */;
|
||||
.bs-popover-start > .popover-arrow, .bs-popover-auto[data-popper-placement^=left] > .popover-arrow {
|
||||
right: calc(-0.5rem - 1px);
|
||||
width: 0.5rem;
|
||||
height: 1rem;
|
||||
margin: 0.3rem 0;
|
||||
}
|
||||
.bs-popover-start > .popover-arrow::before, .bs-popover-auto[x-placement^=left] > .popover-arrow::before {
|
||||
right: 0 /* rtl:ignore */;
|
||||
border-width: 0.5rem 0 0.5rem 0.5rem /* rtl:ignore */;
|
||||
border-left-color: rgba(0, 0, 0, 0.25) /* rtl:ignore */;
|
||||
.bs-popover-start > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=left] > .popover-arrow::before {
|
||||
right: 0;
|
||||
border-width: 0.5rem 0 0.5rem 0.5rem;
|
||||
border-left-color: rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
.bs-popover-start > .popover-arrow::after, .bs-popover-auto[x-placement^=left] > .popover-arrow::after {
|
||||
right: 1px /* rtl:ignore */;
|
||||
border-width: 0.5rem 0 0.5rem 0.5rem /* rtl:ignore */;
|
||||
border-left-color: #fff /* rtl:ignore */;
|
||||
.bs-popover-start > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=left] > .popover-arrow::after {
|
||||
right: 1px;
|
||||
border-width: 0.5rem 0 0.5rem 0.5rem;
|
||||
border-left-color: #fff;
|
||||
}
|
||||
|
||||
.popover-header {
|
||||
|
|
@ -6268,7 +6282,15 @@ textarea.form-control-lg {
|
|||
}
|
||||
|
||||
.translate-middle {
|
||||
transform: translateX(-50%) translateY(-50%) !important;
|
||||
transform: translate(-50%, -50%) !important;
|
||||
}
|
||||
|
||||
.translate-middle-x {
|
||||
transform: translateX(-50%) !important;
|
||||
}
|
||||
|
||||
.translate-middle-y {
|
||||
transform: translateY(-50%) !important;
|
||||
}
|
||||
|
||||
.border {
|
||||
|
|
|
|||
BIN
dist/css/bootstrap.css.map
vendored
BIN
dist/css/bootstrap.css.map
vendored
Binary file not shown.
4
dist/css/bootstrap.min.css
vendored
4
dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
BIN
dist/css/bootstrap.min.css.map
vendored
BIN
dist/css/bootstrap.min.css.map
vendored
Binary file not shown.
174
dist/css/bootstrap.rtl.css
vendored
174
dist/css/bootstrap.rtl.css
vendored
|
|
@ -1,6 +1,6 @@
|
|||
@charset "UTF-8";
|
||||
/*!
|
||||
* Bootstrap v5.0.0-alpha3 (https://getbootstrap.com/)
|
||||
* Bootstrap v5.0.0-beta1 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2020 The Bootstrap Authors
|
||||
* Copyright 2011-2020 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
|
|
@ -3441,68 +3441,83 @@ textarea.form-control-lg {
|
|||
border: 1px solid rgba(0, 0, 0, 0.15);
|
||||
border-radius: 0.25rem;
|
||||
}
|
||||
.dropdown-menu[style] {
|
||||
left: auto !important;
|
||||
}
|
||||
|
||||
.dropdown-menu-start {
|
||||
--bs-position: start;
|
||||
right: auto ;
|
||||
left: 0 ;
|
||||
}
|
||||
|
||||
.dropdown-menu-end {
|
||||
--bs-position: end;
|
||||
right: 0 ;
|
||||
left: auto ;
|
||||
}
|
||||
|
||||
@media (min-width: 576px) {
|
||||
.dropdown-menu-sm-start {
|
||||
--bs-position: start;
|
||||
right: auto ;
|
||||
left: 0 ;
|
||||
}
|
||||
|
||||
.dropdown-menu-sm-end {
|
||||
--bs-position: end;
|
||||
right: 0 ;
|
||||
left: auto ;
|
||||
}
|
||||
}
|
||||
@media (min-width: 768px) {
|
||||
.dropdown-menu-md-start {
|
||||
--bs-position: start;
|
||||
right: auto ;
|
||||
left: 0 ;
|
||||
}
|
||||
|
||||
.dropdown-menu-md-end {
|
||||
--bs-position: end;
|
||||
right: 0 ;
|
||||
left: auto ;
|
||||
}
|
||||
}
|
||||
@media (min-width: 992px) {
|
||||
.dropdown-menu-lg-start {
|
||||
--bs-position: start;
|
||||
right: auto ;
|
||||
left: 0 ;
|
||||
}
|
||||
|
||||
.dropdown-menu-lg-end {
|
||||
--bs-position: end;
|
||||
right: 0 ;
|
||||
left: auto ;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1200px) {
|
||||
.dropdown-menu-xl-start {
|
||||
--bs-position: start;
|
||||
right: auto ;
|
||||
left: 0 ;
|
||||
}
|
||||
|
||||
.dropdown-menu-xl-end {
|
||||
--bs-position: end;
|
||||
right: 0 ;
|
||||
left: auto ;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1400px) {
|
||||
.dropdown-menu-xxl-start {
|
||||
--bs-position: start;
|
||||
right: auto ;
|
||||
left: 0 ;
|
||||
}
|
||||
|
||||
.dropdown-menu-xxl-end {
|
||||
--bs-position: end;
|
||||
right: 0 ;
|
||||
left: auto ;
|
||||
}
|
||||
|
|
@ -3583,12 +3598,6 @@ textarea.form-control-lg {
|
|||
vertical-align: 0;
|
||||
}
|
||||
|
||||
.dropdown-menu[x-placement^=top], .dropdown-menu[x-placement^=right], .dropdown-menu[x-placement^=bottom], .dropdown-menu[x-placement^=left] {
|
||||
left: auto;
|
||||
bottom: auto;
|
||||
right: auto;
|
||||
}
|
||||
|
||||
.dropdown-divider {
|
||||
height: 0;
|
||||
margin: 0.5rem 0;
|
||||
|
|
@ -5043,29 +5052,34 @@ textarea.form-control-lg {
|
|||
}
|
||||
|
||||
.toast {
|
||||
max-width: 350px;
|
||||
width: 350px;
|
||||
max-width: 100%;
|
||||
font-size: 0.875rem;
|
||||
pointer-events: auto;
|
||||
background-color: rgba(255, 255, 255, 0.85);
|
||||
background-clip: padding-box;
|
||||
border: 1px solid rgba(0, 0, 0, 0.1);
|
||||
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
|
||||
opacity: 0;
|
||||
border-radius: 0.25rem;
|
||||
}
|
||||
.toast:not(:last-child) {
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
.toast.showing {
|
||||
opacity: 1;
|
||||
}
|
||||
.toast.show {
|
||||
display: block;
|
||||
opacity: 1;
|
||||
.toast:not(.showing):not(.show) {
|
||||
opacity: 0;
|
||||
}
|
||||
.toast.hide {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.toast-container {
|
||||
width: -webkit-max-content;
|
||||
width: -moz-max-content;
|
||||
width: max-content;
|
||||
max-width: 100%;
|
||||
pointer-events: none;
|
||||
}
|
||||
.toast-container > :not(:last-child) {
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
.toast-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
|
@ -5422,56 +5436,56 @@ textarea.form-control-lg {
|
|||
border-style: solid;
|
||||
}
|
||||
|
||||
.bs-tooltip-top, .bs-tooltip-auto[x-placement^=top] {
|
||||
.bs-tooltip-top, .bs-tooltip-auto[data-popper-placement^=top] {
|
||||
padding: 0.4rem 0;
|
||||
}
|
||||
.bs-tooltip-top .tooltip-arrow, .bs-tooltip-auto[x-placement^=top] .tooltip-arrow {
|
||||
.bs-tooltip-top .tooltip-arrow, .bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow {
|
||||
bottom: 0;
|
||||
}
|
||||
.bs-tooltip-top .tooltip-arrow::before, .bs-tooltip-auto[x-placement^=top] .tooltip-arrow::before {
|
||||
top: 0;
|
||||
.bs-tooltip-top .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before {
|
||||
top: -1px;
|
||||
border-width: 0.4rem 0.4rem 0;
|
||||
border-top-color: #000;
|
||||
}
|
||||
|
||||
.bs-tooltip-end, .bs-tooltip-auto[x-placement^=right] {
|
||||
.bs-tooltip-end, .bs-tooltip-auto[data-popper-placement^=right] {
|
||||
padding: 0 0.4rem;
|
||||
}
|
||||
.bs-tooltip-end .tooltip-arrow, .bs-tooltip-auto[x-placement^=right] .tooltip-arrow {
|
||||
left: 0 ;
|
||||
.bs-tooltip-end .tooltip-arrow, .bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow {
|
||||
right: 0;
|
||||
width: 0.4rem;
|
||||
height: 0.8rem;
|
||||
}
|
||||
.bs-tooltip-end .tooltip-arrow::before, .bs-tooltip-auto[x-placement^=right] .tooltip-arrow::before {
|
||||
right: 0 ;
|
||||
border-width: 0.4rem 0.4rem 0.4rem 0 ;
|
||||
border-right-color: #000 ;
|
||||
.bs-tooltip-end .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow::before {
|
||||
left: -1px;
|
||||
border-width: 0.4rem 0 0.4rem 0.4rem;
|
||||
border-left-color: #000;
|
||||
}
|
||||
|
||||
.bs-tooltip-bottom, .bs-tooltip-auto[x-placement^=bottom] {
|
||||
.bs-tooltip-bottom, .bs-tooltip-auto[data-popper-placement^=bottom] {
|
||||
padding: 0.4rem 0;
|
||||
}
|
||||
.bs-tooltip-bottom .tooltip-arrow, .bs-tooltip-auto[x-placement^=bottom] .tooltip-arrow {
|
||||
.bs-tooltip-bottom .tooltip-arrow, .bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow {
|
||||
top: 0;
|
||||
}
|
||||
.bs-tooltip-bottom .tooltip-arrow::before, .bs-tooltip-auto[x-placement^=bottom] .tooltip-arrow::before {
|
||||
bottom: 0;
|
||||
.bs-tooltip-bottom .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow::before {
|
||||
bottom: -1px;
|
||||
border-width: 0 0.4rem 0.4rem;
|
||||
border-bottom-color: #000;
|
||||
}
|
||||
|
||||
.bs-tooltip-start, .bs-tooltip-auto[x-placement^=left] {
|
||||
.bs-tooltip-start, .bs-tooltip-auto[data-popper-placement^=left] {
|
||||
padding: 0 0.4rem;
|
||||
}
|
||||
.bs-tooltip-start .tooltip-arrow, .bs-tooltip-auto[x-placement^=left] .tooltip-arrow {
|
||||
right: 0 ;
|
||||
.bs-tooltip-start .tooltip-arrow, .bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow {
|
||||
left: 0;
|
||||
width: 0.4rem;
|
||||
height: 0.8rem;
|
||||
}
|
||||
.bs-tooltip-start .tooltip-arrow::before, .bs-tooltip-auto[x-placement^=left] .tooltip-arrow::before {
|
||||
left: 0 ;
|
||||
border-width: 0.4rem 0 0.4rem 0.4rem ;
|
||||
border-left-color: #000 ;
|
||||
.bs-tooltip-start .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow::before {
|
||||
right: -1px;
|
||||
border-width: 0.4rem 0.4rem 0.4rem 0;
|
||||
border-right-color: #000;
|
||||
}
|
||||
|
||||
.tooltip-inner {
|
||||
|
|
@ -5526,60 +5540,60 @@ textarea.form-control-lg {
|
|||
border-style: solid;
|
||||
}
|
||||
|
||||
.bs-popover-top, .bs-popover-auto[x-placement^=top] {
|
||||
margin-bottom: 0.5rem;
|
||||
.bs-popover-top, .bs-popover-auto[data-popper-placement^=top] {
|
||||
margin-bottom: 0.5rem !important;
|
||||
}
|
||||
.bs-popover-top > .popover-arrow, .bs-popover-auto[x-placement^=top] > .popover-arrow {
|
||||
.bs-popover-top > .popover-arrow, .bs-popover-auto[data-popper-placement^=top] > .popover-arrow {
|
||||
bottom: calc(-0.5rem - 1px);
|
||||
}
|
||||
.bs-popover-top > .popover-arrow::before, .bs-popover-auto[x-placement^=top] > .popover-arrow::before {
|
||||
.bs-popover-top > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=top] > .popover-arrow::before {
|
||||
bottom: 0;
|
||||
border-width: 0.5rem 0.5rem 0;
|
||||
border-top-color: rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
.bs-popover-top > .popover-arrow::after, .bs-popover-auto[x-placement^=top] > .popover-arrow::after {
|
||||
.bs-popover-top > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=top] > .popover-arrow::after {
|
||||
bottom: 1px;
|
||||
border-width: 0.5rem 0.5rem 0;
|
||||
border-top-color: #fff;
|
||||
}
|
||||
|
||||
.bs-popover-end, .bs-popover-auto[x-placement^=right] {
|
||||
margin-left: 0.5rem ;
|
||||
.bs-popover-end, .bs-popover-auto[data-popper-placement^=right] {
|
||||
margin-right: 0.5rem !important;
|
||||
}
|
||||
.bs-popover-end > .popover-arrow, .bs-popover-auto[x-placement^=right] > .popover-arrow {
|
||||
left: calc(-0.5rem - 1px) ;
|
||||
.bs-popover-end > .popover-arrow, .bs-popover-auto[data-popper-placement^=right] > .popover-arrow {
|
||||
right: calc(-0.5rem - 1px);
|
||||
width: 0.5rem;
|
||||
height: 1rem;
|
||||
margin: 0.3rem 0;
|
||||
}
|
||||
.bs-popover-end > .popover-arrow::before, .bs-popover-auto[x-placement^=right] > .popover-arrow::before {
|
||||
left: 0 ;
|
||||
border-width: 0.5rem 0.5rem 0.5rem 0 ;
|
||||
border-right-color: rgba(0, 0, 0, 0.25) ;
|
||||
.bs-popover-end > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=right] > .popover-arrow::before {
|
||||
right: 0;
|
||||
border-width: 0.5rem 0 0.5rem 0.5rem;
|
||||
border-left-color: rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
.bs-popover-end > .popover-arrow::after, .bs-popover-auto[x-placement^=right] > .popover-arrow::after {
|
||||
left: 1px ;
|
||||
border-width: 0.5rem 0.5rem 0.5rem 0 ;
|
||||
border-right-color: #fff ;
|
||||
.bs-popover-end > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=right] > .popover-arrow::after {
|
||||
right: 1px;
|
||||
border-width: 0.5rem 0 0.5rem 0.5rem;
|
||||
border-left-color: #fff;
|
||||
}
|
||||
|
||||
.bs-popover-bottom, .bs-popover-auto[x-placement^=bottom] {
|
||||
margin-top: 0.5rem;
|
||||
.bs-popover-bottom, .bs-popover-auto[data-popper-placement^=bottom] {
|
||||
margin-top: 0.5rem !important;
|
||||
}
|
||||
.bs-popover-bottom > .popover-arrow, .bs-popover-auto[x-placement^=bottom] > .popover-arrow {
|
||||
.bs-popover-bottom > .popover-arrow, .bs-popover-auto[data-popper-placement^=bottom] > .popover-arrow {
|
||||
top: calc(-0.5rem - 1px);
|
||||
}
|
||||
.bs-popover-bottom > .popover-arrow::before, .bs-popover-auto[x-placement^=bottom] > .popover-arrow::before {
|
||||
.bs-popover-bottom > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=bottom] > .popover-arrow::before {
|
||||
top: 0;
|
||||
border-width: 0 0.5rem 0.5rem 0.5rem;
|
||||
border-bottom-color: rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
.bs-popover-bottom > .popover-arrow::after, .bs-popover-auto[x-placement^=bottom] > .popover-arrow::after {
|
||||
.bs-popover-bottom > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=bottom] > .popover-arrow::after {
|
||||
top: 1px;
|
||||
border-width: 0 0.5rem 0.5rem 0.5rem;
|
||||
border-bottom-color: #fff;
|
||||
}
|
||||
.bs-popover-bottom .popover-header::before, .bs-popover-auto[x-placement^=bottom] .popover-header::before {
|
||||
.bs-popover-bottom .popover-header::before, .bs-popover-auto[data-popper-placement^=bottom] .popover-header::before {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 50%;
|
||||
|
|
@ -5590,24 +5604,24 @@ textarea.form-control-lg {
|
|||
border-bottom: 1px solid #f0f0f0;
|
||||
}
|
||||
|
||||
.bs-popover-start, .bs-popover-auto[x-placement^=left] {
|
||||
margin-right: 0.5rem ;
|
||||
.bs-popover-start, .bs-popover-auto[data-popper-placement^=left] {
|
||||
margin-left: 0.5rem !important;
|
||||
}
|
||||
.bs-popover-start > .popover-arrow, .bs-popover-auto[x-placement^=left] > .popover-arrow {
|
||||
right: calc(-0.5rem - 1px) ;
|
||||
.bs-popover-start > .popover-arrow, .bs-popover-auto[data-popper-placement^=left] > .popover-arrow {
|
||||
left: calc(-0.5rem - 1px);
|
||||
width: 0.5rem;
|
||||
height: 1rem;
|
||||
margin: 0.3rem 0;
|
||||
}
|
||||
.bs-popover-start > .popover-arrow::before, .bs-popover-auto[x-placement^=left] > .popover-arrow::before {
|
||||
right: 0 ;
|
||||
border-width: 0.5rem 0 0.5rem 0.5rem ;
|
||||
border-left-color: rgba(0, 0, 0, 0.25) ;
|
||||
.bs-popover-start > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=left] > .popover-arrow::before {
|
||||
left: 0;
|
||||
border-width: 0.5rem 0.5rem 0.5rem 0;
|
||||
border-right-color: rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
.bs-popover-start > .popover-arrow::after, .bs-popover-auto[x-placement^=left] > .popover-arrow::after {
|
||||
right: 1px ;
|
||||
border-width: 0.5rem 0 0.5rem 0.5rem ;
|
||||
border-left-color: #fff ;
|
||||
.bs-popover-start > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=left] > .popover-arrow::after {
|
||||
left: 1px;
|
||||
border-width: 0.5rem 0.5rem 0.5rem 0;
|
||||
border-right-color: #fff;
|
||||
}
|
||||
|
||||
.popover-header {
|
||||
|
|
@ -6253,7 +6267,15 @@ textarea.form-control-lg {
|
|||
}
|
||||
|
||||
.translate-middle {
|
||||
transform: translateX(50%) translateY(-50%) !important;
|
||||
transform: translate(50%, -50%) !important;
|
||||
}
|
||||
|
||||
.translate-middle-x {
|
||||
transform: translateX(50%) !important;
|
||||
}
|
||||
|
||||
.translate-middle-y {
|
||||
transform: translateY(-50%) !important;
|
||||
}
|
||||
|
||||
.border {
|
||||
|
|
|
|||
BIN
dist/css/bootstrap.rtl.css.map
vendored
BIN
dist/css/bootstrap.rtl.css.map
vendored
Binary file not shown.
4
dist/css/bootstrap.rtl.min.css
vendored
4
dist/css/bootstrap.rtl.min.css
vendored
File diff suppressed because one or more lines are too long
BIN
dist/css/bootstrap.rtl.min.css.map
vendored
BIN
dist/css/bootstrap.rtl.min.css.map
vendored
Binary file not shown.
4248
dist/js/bootstrap.bundle.js
vendored
4248
dist/js/bootstrap.bundle.js
vendored
File diff suppressed because it is too large
Load diff
BIN
dist/js/bootstrap.bundle.js.map
vendored
BIN
dist/js/bootstrap.bundle.js.map
vendored
Binary file not shown.
4
dist/js/bootstrap.bundle.min.js
vendored
4
dist/js/bootstrap.bundle.min.js
vendored
File diff suppressed because one or more lines are too long
BIN
dist/js/bootstrap.bundle.min.js.map
vendored
BIN
dist/js/bootstrap.bundle.min.js.map
vendored
Binary file not shown.
226
dist/js/bootstrap.esm.js
vendored
226
dist/js/bootstrap.esm.js
vendored
|
|
@ -1,9 +1,10 @@
|
|||
/*!
|
||||
* Bootstrap v5.0.0-alpha3 (https://getbootstrap.com/)
|
||||
* Bootstrap v5.0.0-beta1 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2020 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
*/
|
||||
import Popper from 'popper.js';
|
||||
import * as Popper from '@popperjs/core';
|
||||
import { createPopper } from '@popperjs/core';
|
||||
|
||||
function _defineProperties(target, props) {
|
||||
for (var i = 0; i < props.length; i++) {
|
||||
|
|
@ -47,7 +48,7 @@ function _inheritsLoose(subClass, superClass) {
|
|||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Bootstrap (v5.0.0-alpha3): util/index.js
|
||||
* Bootstrap (v5.0.0-beta1): util/index.js
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
* --------------------------------------------------------------------------
|
||||
*/
|
||||
|
|
@ -232,7 +233,7 @@ var isRTL = document.documentElement.dir === 'rtl';
|
|||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Bootstrap (v5.0.0-alpha3): dom/data.js
|
||||
* Bootstrap (v5.0.0-beta1): dom/data.js
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
* --------------------------------------------------------------------------
|
||||
*/
|
||||
|
|
@ -299,7 +300,7 @@ var Data = {
|
|||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Bootstrap (v5.0.0-alpha3): dom/event-handler.js
|
||||
* Bootstrap (v5.0.0-beta1): dom/event-handler.js
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
* --------------------------------------------------------------------------
|
||||
*/
|
||||
|
|
@ -578,7 +579,7 @@ var EventHandler = {
|
|||
* ------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
var VERSION = '5.0.0-alpha3';
|
||||
var VERSION = '5.0.0-beta1';
|
||||
|
||||
var BaseComponent = /*#__PURE__*/function () {
|
||||
function BaseComponent(element) {
|
||||
|
|
@ -861,7 +862,7 @@ onDOMContentLoaded(function () {
|
|||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Bootstrap (v5.0.0-alpha3): dom/manipulator.js
|
||||
* Bootstrap (v5.0.0-beta1): dom/manipulator.js
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
* --------------------------------------------------------------------------
|
||||
*/
|
||||
|
|
@ -933,7 +934,7 @@ var Manipulator = {
|
|||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Bootstrap (v5.0.0-alpha3): dom/selector-engine.js
|
||||
* Bootstrap (v5.0.0-beta1): dom/selector-engine.js
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
* --------------------------------------------------------------------------
|
||||
*/
|
||||
|
|
@ -2057,9 +2058,7 @@ var CLASS_NAME_SHOW$1 = 'show';
|
|||
var CLASS_NAME_DROPUP = 'dropup';
|
||||
var CLASS_NAME_DROPEND = 'dropend';
|
||||
var CLASS_NAME_DROPSTART = 'dropstart';
|
||||
var CLASS_NAME_MENUEND = 'dropdown-menu-end';
|
||||
var CLASS_NAME_NAVBAR = 'navbar';
|
||||
var CLASS_NAME_POSITION_STATIC = 'position-static';
|
||||
var SELECTOR_DATA_TOGGLE$2 = '[data-bs-toggle="dropdown"]';
|
||||
var SELECTOR_FORM_CHILD = '.dropdown form';
|
||||
var SELECTOR_MENU = '.dropdown-menu';
|
||||
|
|
@ -2074,7 +2073,7 @@ var PLACEMENT_LEFT = isRTL ? 'right-start' : 'left-start';
|
|||
var Default$2 = {
|
||||
offset: 0,
|
||||
flip: true,
|
||||
boundary: 'scrollParent',
|
||||
boundary: 'clippingParents',
|
||||
reference: 'toggle',
|
||||
display: 'dynamic',
|
||||
popperConfig: null
|
||||
|
|
@ -2161,16 +2160,9 @@ var Dropdown = /*#__PURE__*/function (_BaseComponent) {
|
|||
if (typeof this._config.reference.jquery !== 'undefined') {
|
||||
referenceElement = this._config.reference[0];
|
||||
}
|
||||
} // If boundary is not `scrollParent`, then set position to `static`
|
||||
// to allow the menu to "escape" the scroll parent's boundaries
|
||||
// https://github.com/twbs/bootstrap/issues/24251
|
||||
|
||||
|
||||
if (this._config.boundary !== 'scrollParent') {
|
||||
parent.classList.add(CLASS_NAME_POSITION_STATIC);
|
||||
}
|
||||
|
||||
this._popper = new Popper(referenceElement, this._menu, this._getPopperConfig());
|
||||
this._popper = createPopper(referenceElement, this._menu, this._getPopperConfig());
|
||||
} // If this is a touch-enabled device we add extra
|
||||
// empty mouseover listeners to the body's immediate children;
|
||||
// only needed because of broken event delegation on iOS
|
||||
|
|
@ -2239,7 +2231,7 @@ var Dropdown = /*#__PURE__*/function (_BaseComponent) {
|
|||
this._inNavbar = this._detectNavbar();
|
||||
|
||||
if (this._popper) {
|
||||
this._popper.scheduleUpdate();
|
||||
this._popper.update();
|
||||
}
|
||||
} // Private
|
||||
;
|
||||
|
|
@ -2267,60 +2259,46 @@ var Dropdown = /*#__PURE__*/function (_BaseComponent) {
|
|||
|
||||
_proto._getPlacement = function _getPlacement() {
|
||||
var parentDropdown = this._element.parentNode;
|
||||
var placement = PLACEMENT_BOTTOM; // Handle dropup
|
||||
|
||||
if (parentDropdown.classList.contains(CLASS_NAME_DROPUP)) {
|
||||
placement = this._menu.classList.contains(CLASS_NAME_MENUEND) ? PLACEMENT_TOPEND : PLACEMENT_TOP;
|
||||
} else if (parentDropdown.classList.contains(CLASS_NAME_DROPEND)) {
|
||||
placement = PLACEMENT_RIGHT;
|
||||
} else if (parentDropdown.classList.contains(CLASS_NAME_DROPSTART)) {
|
||||
placement = PLACEMENT_LEFT;
|
||||
} else if (this._menu.classList.contains(CLASS_NAME_MENUEND)) {
|
||||
placement = PLACEMENT_BOTTOMEND;
|
||||
if (parentDropdown.classList.contains(CLASS_NAME_DROPEND)) {
|
||||
return PLACEMENT_RIGHT;
|
||||
}
|
||||
|
||||
return placement;
|
||||
if (parentDropdown.classList.contains(CLASS_NAME_DROPSTART)) {
|
||||
return PLACEMENT_LEFT;
|
||||
} // We need to trim the value because custom properties can also include spaces
|
||||
|
||||
|
||||
var isEnd = getComputedStyle(this._menu).getPropertyValue('--bs-position').trim() === 'end';
|
||||
|
||||
if (parentDropdown.classList.contains(CLASS_NAME_DROPUP)) {
|
||||
return isEnd ? PLACEMENT_TOPEND : PLACEMENT_TOP;
|
||||
}
|
||||
|
||||
return isEnd ? PLACEMENT_BOTTOMEND : PLACEMENT_BOTTOM;
|
||||
};
|
||||
|
||||
_proto._detectNavbar = function _detectNavbar() {
|
||||
return Boolean(this._element.closest("." + CLASS_NAME_NAVBAR));
|
||||
};
|
||||
|
||||
_proto._getOffset = function _getOffset() {
|
||||
var _this3 = this;
|
||||
|
||||
var offset = {};
|
||||
|
||||
if (typeof this._config.offset === 'function') {
|
||||
offset.fn = function (data) {
|
||||
data.offsets = _extends({}, data.offsets, _this3._config.offset(data.offsets, _this3._element) || {});
|
||||
return data;
|
||||
};
|
||||
} else {
|
||||
offset.offset = this._config.offset;
|
||||
}
|
||||
|
||||
return offset;
|
||||
return this._element.closest("." + CLASS_NAME_NAVBAR) !== null;
|
||||
};
|
||||
|
||||
_proto._getPopperConfig = function _getPopperConfig() {
|
||||
var popperConfig = {
|
||||
placement: this._getPlacement(),
|
||||
modifiers: {
|
||||
offset: this._getOffset(),
|
||||
flip: {
|
||||
enabled: this._config.flip
|
||||
},
|
||||
preventOverflow: {
|
||||
boundariesElement: this._config.boundary
|
||||
modifiers: [{
|
||||
name: 'preventOverflow',
|
||||
options: {
|
||||
altBoundary: this._config.flip,
|
||||
rootBoundary: this._config.boundary
|
||||
}
|
||||
}
|
||||
}]
|
||||
}; // Disable Popper if we have a static display
|
||||
|
||||
if (this._config.display === 'static') {
|
||||
popperConfig.modifiers.applyStyle = {
|
||||
popperConfig.modifiers = [{
|
||||
name: 'applyStyles',
|
||||
enabled: false
|
||||
};
|
||||
}];
|
||||
}
|
||||
|
||||
return _extends({}, popperConfig, this._config.popperConfig);
|
||||
|
|
@ -3161,7 +3139,7 @@ onDOMContentLoaded(function () {
|
|||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Bootstrap (v5.0.0-alpha3): util/sanitizer.js
|
||||
* Bootstrap (v5.0.0-beta1): util/sanitizer.js
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
* --------------------------------------------------------------------------
|
||||
*/
|
||||
|
|
@ -3307,9 +3285,8 @@ var DefaultType$4 = {
|
|||
html: 'boolean',
|
||||
selector: '(string|boolean)',
|
||||
placement: '(string|function)',
|
||||
offset: '(number|string|function)',
|
||||
container: '(string|element|boolean)',
|
||||
fallbackPlacement: '(string|array)',
|
||||
fallbackPlacements: '(null|array)',
|
||||
boundary: '(string|element)',
|
||||
customClass: '(string|function)',
|
||||
sanitize: 'boolean',
|
||||
|
|
@ -3333,10 +3310,9 @@ var Default$4 = {
|
|||
html: false,
|
||||
selector: false,
|
||||
placement: 'top',
|
||||
offset: 0,
|
||||
container: false,
|
||||
fallbackPlacement: 'flip',
|
||||
boundary: 'scrollParent',
|
||||
fallbackPlacements: null,
|
||||
boundary: 'clippingParents',
|
||||
customClass: '',
|
||||
sanitize: true,
|
||||
sanitizeFn: null,
|
||||
|
|
@ -3513,7 +3489,7 @@ var Tooltip = /*#__PURE__*/function (_BaseComponent) {
|
|||
}
|
||||
|
||||
EventHandler.trigger(this._element, this.constructor.Event.INSERTED);
|
||||
this._popper = new Popper(this._element, tip, this._getPopperConfig(attachment));
|
||||
this._popper = createPopper(this._element, tip, this._getPopperConfig(attachment));
|
||||
tip.classList.add(CLASS_NAME_SHOW$3);
|
||||
var customClass = typeof this.config.customClass === 'function' ? this.config.customClass() : this.config.customClass;
|
||||
|
||||
|
|
@ -3536,10 +3512,6 @@ var Tooltip = /*#__PURE__*/function (_BaseComponent) {
|
|||
}
|
||||
|
||||
var complete = function complete() {
|
||||
if (_this2.config.animation) {
|
||||
_this2._fixTransition();
|
||||
}
|
||||
|
||||
var prevHoverState = _this2._hoverState;
|
||||
_this2._hoverState = null;
|
||||
EventHandler.trigger(_this2._element, _this2.constructor.Event.SHOWN);
|
||||
|
|
@ -3579,7 +3551,11 @@ var Tooltip = /*#__PURE__*/function (_BaseComponent) {
|
|||
|
||||
EventHandler.trigger(_this3._element, _this3.constructor.Event.HIDDEN);
|
||||
|
||||
_this3._popper.destroy();
|
||||
if (_this3._popper) {
|
||||
_this3._popper.destroy();
|
||||
|
||||
_this3._popper = null;
|
||||
}
|
||||
};
|
||||
|
||||
var hideEvent = EventHandler.trigger(this._element, this.constructor.Event.HIDE);
|
||||
|
|
@ -3616,7 +3592,7 @@ var Tooltip = /*#__PURE__*/function (_BaseComponent) {
|
|||
|
||||
_proto.update = function update() {
|
||||
if (this._popper !== null) {
|
||||
this._popper.scheduleUpdate();
|
||||
this._popper.update();
|
||||
}
|
||||
} // Protected
|
||||
;
|
||||
|
|
@ -3702,27 +3678,41 @@ var Tooltip = /*#__PURE__*/function (_BaseComponent) {
|
|||
_proto._getPopperConfig = function _getPopperConfig(attachment) {
|
||||
var _this4 = this;
|
||||
|
||||
var flipModifier = {
|
||||
name: 'flip',
|
||||
options: {
|
||||
altBoundary: true
|
||||
}
|
||||
};
|
||||
|
||||
if (this.config.fallbackPlacements) {
|
||||
flipModifier.options.fallbackPlacements = this.config.fallbackPlacements;
|
||||
}
|
||||
|
||||
var defaultBsConfig = {
|
||||
placement: attachment,
|
||||
modifiers: {
|
||||
offset: this._getOffset(),
|
||||
flip: {
|
||||
behavior: this.config.fallbackPlacement
|
||||
},
|
||||
arrow: {
|
||||
element: "." + this.constructor.NAME + "-arrow"
|
||||
},
|
||||
preventOverflow: {
|
||||
boundariesElement: this.config.boundary
|
||||
modifiers: [flipModifier, {
|
||||
name: 'preventOverflow',
|
||||
options: {
|
||||
rootBoundary: this.config.boundary
|
||||
}
|
||||
},
|
||||
onCreate: function onCreate(data) {
|
||||
if (data.originalPlacement !== data.placement) {
|
||||
}, {
|
||||
name: 'arrow',
|
||||
options: {
|
||||
element: "." + this.constructor.NAME + "-arrow"
|
||||
}
|
||||
}, {
|
||||
name: 'onChange',
|
||||
enabled: true,
|
||||
phase: 'afterWrite',
|
||||
fn: function fn(data) {
|
||||
return _this4._handlePopperPlacementChange(data);
|
||||
}
|
||||
}],
|
||||
onFirstUpdate: function onFirstUpdate(data) {
|
||||
if (data.options.placement !== data.placement) {
|
||||
_this4._handlePopperPlacementChange(data);
|
||||
}
|
||||
},
|
||||
onUpdate: function onUpdate(data) {
|
||||
return _this4._handlePopperPlacementChange(data);
|
||||
}
|
||||
};
|
||||
return _extends({}, defaultBsConfig, this.config.popperConfig);
|
||||
|
|
@ -3732,23 +3722,6 @@ var Tooltip = /*#__PURE__*/function (_BaseComponent) {
|
|||
this.getTipElement().classList.add(CLASS_PREFIX + "-" + this.updateAttachment(attachment));
|
||||
};
|
||||
|
||||
_proto._getOffset = function _getOffset() {
|
||||
var _this5 = this;
|
||||
|
||||
var offset = {};
|
||||
|
||||
if (typeof this.config.offset === 'function') {
|
||||
offset.fn = function (data) {
|
||||
data.offsets = _extends({}, data.offsets, _this5.config.offset(data.offsets, _this5._element) || {});
|
||||
return data;
|
||||
};
|
||||
} else {
|
||||
offset.offset = this.config.offset;
|
||||
}
|
||||
|
||||
return offset;
|
||||
};
|
||||
|
||||
_proto._getContainer = function _getContainer() {
|
||||
if (this.config.container === false) {
|
||||
return document.body;
|
||||
|
|
@ -3766,29 +3739,29 @@ var Tooltip = /*#__PURE__*/function (_BaseComponent) {
|
|||
};
|
||||
|
||||
_proto._setListeners = function _setListeners() {
|
||||
var _this6 = this;
|
||||
var _this5 = this;
|
||||
|
||||
var triggers = this.config.trigger.split(' ');
|
||||
triggers.forEach(function (trigger) {
|
||||
if (trigger === 'click') {
|
||||
EventHandler.on(_this6._element, _this6.constructor.Event.CLICK, _this6.config.selector, function (event) {
|
||||
return _this6.toggle(event);
|
||||
EventHandler.on(_this5._element, _this5.constructor.Event.CLICK, _this5.config.selector, function (event) {
|
||||
return _this5.toggle(event);
|
||||
});
|
||||
} else if (trigger !== TRIGGER_MANUAL) {
|
||||
var eventIn = trigger === TRIGGER_HOVER ? _this6.constructor.Event.MOUSEENTER : _this6.constructor.Event.FOCUSIN;
|
||||
var eventOut = trigger === TRIGGER_HOVER ? _this6.constructor.Event.MOUSELEAVE : _this6.constructor.Event.FOCUSOUT;
|
||||
EventHandler.on(_this6._element, eventIn, _this6.config.selector, function (event) {
|
||||
return _this6._enter(event);
|
||||
var eventIn = trigger === TRIGGER_HOVER ? _this5.constructor.Event.MOUSEENTER : _this5.constructor.Event.FOCUSIN;
|
||||
var eventOut = trigger === TRIGGER_HOVER ? _this5.constructor.Event.MOUSELEAVE : _this5.constructor.Event.FOCUSOUT;
|
||||
EventHandler.on(_this5._element, eventIn, _this5.config.selector, function (event) {
|
||||
return _this5._enter(event);
|
||||
});
|
||||
EventHandler.on(_this6._element, eventOut, _this6.config.selector, function (event) {
|
||||
return _this6._leave(event);
|
||||
EventHandler.on(_this5._element, eventOut, _this5.config.selector, function (event) {
|
||||
return _this5._leave(event);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
this._hideModalHandler = function () {
|
||||
if (_this6._element) {
|
||||
_this6.hide();
|
||||
if (_this5._element) {
|
||||
_this5.hide();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
@ -3961,26 +3934,17 @@ var Tooltip = /*#__PURE__*/function (_BaseComponent) {
|
|||
};
|
||||
|
||||
_proto._handlePopperPlacementChange = function _handlePopperPlacementChange(popperData) {
|
||||
this.tip = popperData.instance.popper;
|
||||
var state = popperData.state;
|
||||
|
||||
this._cleanTipClass();
|
||||
|
||||
this._addAttachmentClass(this._getAttachment(popperData.placement));
|
||||
};
|
||||
|
||||
_proto._fixTransition = function _fixTransition() {
|
||||
var tip = this.getTipElement();
|
||||
var initConfigAnimation = this.config.animation;
|
||||
|
||||
if (tip.getAttribute('x-placement') !== null) {
|
||||
if (!state) {
|
||||
return;
|
||||
}
|
||||
|
||||
tip.classList.remove(CLASS_NAME_FADE$1);
|
||||
this.config.animation = false;
|
||||
this.hide();
|
||||
this.show();
|
||||
this.config.animation = initConfigAnimation;
|
||||
this.tip = state.elements.popper;
|
||||
|
||||
this._cleanTipClass();
|
||||
|
||||
this._addAttachmentClass(this._getAttachment(state.placement));
|
||||
} // Static
|
||||
;
|
||||
|
||||
|
|
|
|||
BIN
dist/js/bootstrap.esm.js.map
vendored
BIN
dist/js/bootstrap.esm.js.map
vendored
Binary file not shown.
4
dist/js/bootstrap.esm.min.js
vendored
4
dist/js/bootstrap.esm.min.js
vendored
File diff suppressed because one or more lines are too long
BIN
dist/js/bootstrap.esm.min.js.map
vendored
BIN
dist/js/bootstrap.esm.min.js.map
vendored
Binary file not shown.
|
|
@ -1,17 +1,35 @@
|
|||
/*!
|
||||
* Bootstrap v5.0.0-alpha3 (https://getbootstrap.com/)
|
||||
* Bootstrap v5.0.0-beta1 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2020 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
*/
|
||||
(function (global, factory) {
|
||||
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('popper.js')) :
|
||||
typeof define === 'function' && define.amd ? define(['popper.js'], factory) :
|
||||
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('@popperjs/core')) :
|
||||
typeof define === 'function' && define.amd ? define(['@popperjs/core'], factory) :
|
||||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.bootstrap = factory(global.Popper));
|
||||
}(this, (function (Popper) { 'use strict';
|
||||
|
||||
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
||||
function _interopNamespace(e) {
|
||||
if (e && e.__esModule) return e;
|
||||
var n = Object.create(null);
|
||||
if (e) {
|
||||
Object.keys(e).forEach(function (k) {
|
||||
if (k !== 'default') {
|
||||
var d = Object.getOwnPropertyDescriptor(e, k);
|
||||
Object.defineProperty(n, k, d.get ? d : {
|
||||
enumerable: true,
|
||||
get: function () {
|
||||
return e[k];
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
n['default'] = e;
|
||||
return Object.freeze(n);
|
||||
}
|
||||
|
||||
var Popper__default = /*#__PURE__*/_interopDefaultLegacy(Popper);
|
||||
var Popper__namespace = /*#__PURE__*/_interopNamespace(Popper);
|
||||
|
||||
function _defineProperties(target, props) {
|
||||
for (var i = 0; i < props.length; i++) {
|
||||
|
|
@ -55,7 +73,7 @@
|
|||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Bootstrap (v5.0.0-alpha3): util/index.js
|
||||
* Bootstrap (v5.0.0-beta1): util/index.js
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
* --------------------------------------------------------------------------
|
||||
*/
|
||||
|
|
@ -240,7 +258,7 @@
|
|||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Bootstrap (v5.0.0-alpha3): dom/data.js
|
||||
* Bootstrap (v5.0.0-beta1): dom/data.js
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
* --------------------------------------------------------------------------
|
||||
*/
|
||||
|
|
@ -307,7 +325,7 @@
|
|||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Bootstrap (v5.0.0-alpha3): dom/event-handler.js
|
||||
* Bootstrap (v5.0.0-beta1): dom/event-handler.js
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
* --------------------------------------------------------------------------
|
||||
*/
|
||||
|
|
@ -586,7 +604,7 @@
|
|||
* ------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
var VERSION = '5.0.0-alpha3';
|
||||
var VERSION = '5.0.0-beta1';
|
||||
|
||||
var BaseComponent = /*#__PURE__*/function () {
|
||||
function BaseComponent(element) {
|
||||
|
|
@ -869,7 +887,7 @@
|
|||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Bootstrap (v5.0.0-alpha3): dom/manipulator.js
|
||||
* Bootstrap (v5.0.0-beta1): dom/manipulator.js
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
* --------------------------------------------------------------------------
|
||||
*/
|
||||
|
|
@ -941,7 +959,7 @@
|
|||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Bootstrap (v5.0.0-alpha3): dom/selector-engine.js
|
||||
* Bootstrap (v5.0.0-beta1): dom/selector-engine.js
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
* --------------------------------------------------------------------------
|
||||
*/
|
||||
|
|
@ -2065,9 +2083,7 @@
|
|||
var CLASS_NAME_DROPUP = 'dropup';
|
||||
var CLASS_NAME_DROPEND = 'dropend';
|
||||
var CLASS_NAME_DROPSTART = 'dropstart';
|
||||
var CLASS_NAME_MENUEND = 'dropdown-menu-end';
|
||||
var CLASS_NAME_NAVBAR = 'navbar';
|
||||
var CLASS_NAME_POSITION_STATIC = 'position-static';
|
||||
var SELECTOR_DATA_TOGGLE$2 = '[data-bs-toggle="dropdown"]';
|
||||
var SELECTOR_FORM_CHILD = '.dropdown form';
|
||||
var SELECTOR_MENU = '.dropdown-menu';
|
||||
|
|
@ -2082,7 +2098,7 @@
|
|||
var Default$2 = {
|
||||
offset: 0,
|
||||
flip: true,
|
||||
boundary: 'scrollParent',
|
||||
boundary: 'clippingParents',
|
||||
reference: 'toggle',
|
||||
display: 'dynamic',
|
||||
popperConfig: null
|
||||
|
|
@ -2155,7 +2171,7 @@
|
|||
|
||||
|
||||
if (!this._inNavbar) {
|
||||
if (typeof Popper__default['default'] === 'undefined') {
|
||||
if (typeof Popper__namespace === 'undefined') {
|
||||
throw new TypeError('Bootstrap\'s dropdowns require Popper (https://popper.js.org)');
|
||||
}
|
||||
|
||||
|
|
@ -2169,16 +2185,9 @@
|
|||
if (typeof this._config.reference.jquery !== 'undefined') {
|
||||
referenceElement = this._config.reference[0];
|
||||
}
|
||||
} // If boundary is not `scrollParent`, then set position to `static`
|
||||
// to allow the menu to "escape" the scroll parent's boundaries
|
||||
// https://github.com/twbs/bootstrap/issues/24251
|
||||
|
||||
|
||||
if (this._config.boundary !== 'scrollParent') {
|
||||
parent.classList.add(CLASS_NAME_POSITION_STATIC);
|
||||
}
|
||||
|
||||
this._popper = new Popper__default['default'](referenceElement, this._menu, this._getPopperConfig());
|
||||
this._popper = Popper.createPopper(referenceElement, this._menu, this._getPopperConfig());
|
||||
} // If this is a touch-enabled device we add extra
|
||||
// empty mouseover listeners to the body's immediate children;
|
||||
// only needed because of broken event delegation on iOS
|
||||
|
|
@ -2247,7 +2256,7 @@
|
|||
this._inNavbar = this._detectNavbar();
|
||||
|
||||
if (this._popper) {
|
||||
this._popper.scheduleUpdate();
|
||||
this._popper.update();
|
||||
}
|
||||
} // Private
|
||||
;
|
||||
|
|
@ -2275,60 +2284,46 @@
|
|||
|
||||
_proto._getPlacement = function _getPlacement() {
|
||||
var parentDropdown = this._element.parentNode;
|
||||
var placement = PLACEMENT_BOTTOM; // Handle dropup
|
||||
|
||||
if (parentDropdown.classList.contains(CLASS_NAME_DROPUP)) {
|
||||
placement = this._menu.classList.contains(CLASS_NAME_MENUEND) ? PLACEMENT_TOPEND : PLACEMENT_TOP;
|
||||
} else if (parentDropdown.classList.contains(CLASS_NAME_DROPEND)) {
|
||||
placement = PLACEMENT_RIGHT;
|
||||
} else if (parentDropdown.classList.contains(CLASS_NAME_DROPSTART)) {
|
||||
placement = PLACEMENT_LEFT;
|
||||
} else if (this._menu.classList.contains(CLASS_NAME_MENUEND)) {
|
||||
placement = PLACEMENT_BOTTOMEND;
|
||||
if (parentDropdown.classList.contains(CLASS_NAME_DROPEND)) {
|
||||
return PLACEMENT_RIGHT;
|
||||
}
|
||||
|
||||
return placement;
|
||||
if (parentDropdown.classList.contains(CLASS_NAME_DROPSTART)) {
|
||||
return PLACEMENT_LEFT;
|
||||
} // We need to trim the value because custom properties can also include spaces
|
||||
|
||||
|
||||
var isEnd = getComputedStyle(this._menu).getPropertyValue('--bs-position').trim() === 'end';
|
||||
|
||||
if (parentDropdown.classList.contains(CLASS_NAME_DROPUP)) {
|
||||
return isEnd ? PLACEMENT_TOPEND : PLACEMENT_TOP;
|
||||
}
|
||||
|
||||
return isEnd ? PLACEMENT_BOTTOMEND : PLACEMENT_BOTTOM;
|
||||
};
|
||||
|
||||
_proto._detectNavbar = function _detectNavbar() {
|
||||
return Boolean(this._element.closest("." + CLASS_NAME_NAVBAR));
|
||||
};
|
||||
|
||||
_proto._getOffset = function _getOffset() {
|
||||
var _this3 = this;
|
||||
|
||||
var offset = {};
|
||||
|
||||
if (typeof this._config.offset === 'function') {
|
||||
offset.fn = function (data) {
|
||||
data.offsets = _extends({}, data.offsets, _this3._config.offset(data.offsets, _this3._element) || {});
|
||||
return data;
|
||||
};
|
||||
} else {
|
||||
offset.offset = this._config.offset;
|
||||
}
|
||||
|
||||
return offset;
|
||||
return this._element.closest("." + CLASS_NAME_NAVBAR) !== null;
|
||||
};
|
||||
|
||||
_proto._getPopperConfig = function _getPopperConfig() {
|
||||
var popperConfig = {
|
||||
placement: this._getPlacement(),
|
||||
modifiers: {
|
||||
offset: this._getOffset(),
|
||||
flip: {
|
||||
enabled: this._config.flip
|
||||
},
|
||||
preventOverflow: {
|
||||
boundariesElement: this._config.boundary
|
||||
modifiers: [{
|
||||
name: 'preventOverflow',
|
||||
options: {
|
||||
altBoundary: this._config.flip,
|
||||
rootBoundary: this._config.boundary
|
||||
}
|
||||
}
|
||||
}]
|
||||
}; // Disable Popper if we have a static display
|
||||
|
||||
if (this._config.display === 'static') {
|
||||
popperConfig.modifiers.applyStyle = {
|
||||
popperConfig.modifiers = [{
|
||||
name: 'applyStyles',
|
||||
enabled: false
|
||||
};
|
||||
}];
|
||||
}
|
||||
|
||||
return _extends({}, popperConfig, this._config.popperConfig);
|
||||
|
|
@ -3169,7 +3164,7 @@
|
|||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Bootstrap (v5.0.0-alpha3): util/sanitizer.js
|
||||
* Bootstrap (v5.0.0-beta1): util/sanitizer.js
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
* --------------------------------------------------------------------------
|
||||
*/
|
||||
|
|
@ -3315,9 +3310,8 @@
|
|||
html: 'boolean',
|
||||
selector: '(string|boolean)',
|
||||
placement: '(string|function)',
|
||||
offset: '(number|string|function)',
|
||||
container: '(string|element|boolean)',
|
||||
fallbackPlacement: '(string|array)',
|
||||
fallbackPlacements: '(null|array)',
|
||||
boundary: '(string|element)',
|
||||
customClass: '(string|function)',
|
||||
sanitize: 'boolean',
|
||||
|
|
@ -3341,10 +3335,9 @@
|
|||
html: false,
|
||||
selector: false,
|
||||
placement: 'top',
|
||||
offset: 0,
|
||||
container: false,
|
||||
fallbackPlacement: 'flip',
|
||||
boundary: 'scrollParent',
|
||||
fallbackPlacements: null,
|
||||
boundary: 'clippingParents',
|
||||
customClass: '',
|
||||
sanitize: true,
|
||||
sanitizeFn: null,
|
||||
|
|
@ -3385,7 +3378,7 @@
|
|||
function Tooltip(element, config) {
|
||||
var _this;
|
||||
|
||||
if (typeof Popper__default['default'] === 'undefined') {
|
||||
if (typeof Popper__namespace === 'undefined') {
|
||||
throw new TypeError('Bootstrap\'s tooltips require Popper (https://popper.js.org)');
|
||||
}
|
||||
|
||||
|
|
@ -3521,7 +3514,7 @@
|
|||
}
|
||||
|
||||
EventHandler.trigger(this._element, this.constructor.Event.INSERTED);
|
||||
this._popper = new Popper__default['default'](this._element, tip, this._getPopperConfig(attachment));
|
||||
this._popper = Popper.createPopper(this._element, tip, this._getPopperConfig(attachment));
|
||||
tip.classList.add(CLASS_NAME_SHOW$3);
|
||||
var customClass = typeof this.config.customClass === 'function' ? this.config.customClass() : this.config.customClass;
|
||||
|
||||
|
|
@ -3544,10 +3537,6 @@
|
|||
}
|
||||
|
||||
var complete = function complete() {
|
||||
if (_this2.config.animation) {
|
||||
_this2._fixTransition();
|
||||
}
|
||||
|
||||
var prevHoverState = _this2._hoverState;
|
||||
_this2._hoverState = null;
|
||||
EventHandler.trigger(_this2._element, _this2.constructor.Event.SHOWN);
|
||||
|
|
@ -3587,7 +3576,11 @@
|
|||
|
||||
EventHandler.trigger(_this3._element, _this3.constructor.Event.HIDDEN);
|
||||
|
||||
_this3._popper.destroy();
|
||||
if (_this3._popper) {
|
||||
_this3._popper.destroy();
|
||||
|
||||
_this3._popper = null;
|
||||
}
|
||||
};
|
||||
|
||||
var hideEvent = EventHandler.trigger(this._element, this.constructor.Event.HIDE);
|
||||
|
|
@ -3624,7 +3617,7 @@
|
|||
|
||||
_proto.update = function update() {
|
||||
if (this._popper !== null) {
|
||||
this._popper.scheduleUpdate();
|
||||
this._popper.update();
|
||||
}
|
||||
} // Protected
|
||||
;
|
||||
|
|
@ -3710,27 +3703,41 @@
|
|||
_proto._getPopperConfig = function _getPopperConfig(attachment) {
|
||||
var _this4 = this;
|
||||
|
||||
var flipModifier = {
|
||||
name: 'flip',
|
||||
options: {
|
||||
altBoundary: true
|
||||
}
|
||||
};
|
||||
|
||||
if (this.config.fallbackPlacements) {
|
||||
flipModifier.options.fallbackPlacements = this.config.fallbackPlacements;
|
||||
}
|
||||
|
||||
var defaultBsConfig = {
|
||||
placement: attachment,
|
||||
modifiers: {
|
||||
offset: this._getOffset(),
|
||||
flip: {
|
||||
behavior: this.config.fallbackPlacement
|
||||
},
|
||||
arrow: {
|
||||
element: "." + this.constructor.NAME + "-arrow"
|
||||
},
|
||||
preventOverflow: {
|
||||
boundariesElement: this.config.boundary
|
||||
modifiers: [flipModifier, {
|
||||
name: 'preventOverflow',
|
||||
options: {
|
||||
rootBoundary: this.config.boundary
|
||||
}
|
||||
},
|
||||
onCreate: function onCreate(data) {
|
||||
if (data.originalPlacement !== data.placement) {
|
||||
}, {
|
||||
name: 'arrow',
|
||||
options: {
|
||||
element: "." + this.constructor.NAME + "-arrow"
|
||||
}
|
||||
}, {
|
||||
name: 'onChange',
|
||||
enabled: true,
|
||||
phase: 'afterWrite',
|
||||
fn: function fn(data) {
|
||||
return _this4._handlePopperPlacementChange(data);
|
||||
}
|
||||
}],
|
||||
onFirstUpdate: function onFirstUpdate(data) {
|
||||
if (data.options.placement !== data.placement) {
|
||||
_this4._handlePopperPlacementChange(data);
|
||||
}
|
||||
},
|
||||
onUpdate: function onUpdate(data) {
|
||||
return _this4._handlePopperPlacementChange(data);
|
||||
}
|
||||
};
|
||||
return _extends({}, defaultBsConfig, this.config.popperConfig);
|
||||
|
|
@ -3740,23 +3747,6 @@
|
|||
this.getTipElement().classList.add(CLASS_PREFIX + "-" + this.updateAttachment(attachment));
|
||||
};
|
||||
|
||||
_proto._getOffset = function _getOffset() {
|
||||
var _this5 = this;
|
||||
|
||||
var offset = {};
|
||||
|
||||
if (typeof this.config.offset === 'function') {
|
||||
offset.fn = function (data) {
|
||||
data.offsets = _extends({}, data.offsets, _this5.config.offset(data.offsets, _this5._element) || {});
|
||||
return data;
|
||||
};
|
||||
} else {
|
||||
offset.offset = this.config.offset;
|
||||
}
|
||||
|
||||
return offset;
|
||||
};
|
||||
|
||||
_proto._getContainer = function _getContainer() {
|
||||
if (this.config.container === false) {
|
||||
return document.body;
|
||||
|
|
@ -3774,29 +3764,29 @@
|
|||
};
|
||||
|
||||
_proto._setListeners = function _setListeners() {
|
||||
var _this6 = this;
|
||||
var _this5 = this;
|
||||
|
||||
var triggers = this.config.trigger.split(' ');
|
||||
triggers.forEach(function (trigger) {
|
||||
if (trigger === 'click') {
|
||||
EventHandler.on(_this6._element, _this6.constructor.Event.CLICK, _this6.config.selector, function (event) {
|
||||
return _this6.toggle(event);
|
||||
EventHandler.on(_this5._element, _this5.constructor.Event.CLICK, _this5.config.selector, function (event) {
|
||||
return _this5.toggle(event);
|
||||
});
|
||||
} else if (trigger !== TRIGGER_MANUAL) {
|
||||
var eventIn = trigger === TRIGGER_HOVER ? _this6.constructor.Event.MOUSEENTER : _this6.constructor.Event.FOCUSIN;
|
||||
var eventOut = trigger === TRIGGER_HOVER ? _this6.constructor.Event.MOUSELEAVE : _this6.constructor.Event.FOCUSOUT;
|
||||
EventHandler.on(_this6._element, eventIn, _this6.config.selector, function (event) {
|
||||
return _this6._enter(event);
|
||||
var eventIn = trigger === TRIGGER_HOVER ? _this5.constructor.Event.MOUSEENTER : _this5.constructor.Event.FOCUSIN;
|
||||
var eventOut = trigger === TRIGGER_HOVER ? _this5.constructor.Event.MOUSELEAVE : _this5.constructor.Event.FOCUSOUT;
|
||||
EventHandler.on(_this5._element, eventIn, _this5.config.selector, function (event) {
|
||||
return _this5._enter(event);
|
||||
});
|
||||
EventHandler.on(_this6._element, eventOut, _this6.config.selector, function (event) {
|
||||
return _this6._leave(event);
|
||||
EventHandler.on(_this5._element, eventOut, _this5.config.selector, function (event) {
|
||||
return _this5._leave(event);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
this._hideModalHandler = function () {
|
||||
if (_this6._element) {
|
||||
_this6.hide();
|
||||
if (_this5._element) {
|
||||
_this5.hide();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
@ -3969,26 +3959,17 @@
|
|||
};
|
||||
|
||||
_proto._handlePopperPlacementChange = function _handlePopperPlacementChange(popperData) {
|
||||
this.tip = popperData.instance.popper;
|
||||
var state = popperData.state;
|
||||
|
||||
this._cleanTipClass();
|
||||
|
||||
this._addAttachmentClass(this._getAttachment(popperData.placement));
|
||||
};
|
||||
|
||||
_proto._fixTransition = function _fixTransition() {
|
||||
var tip = this.getTipElement();
|
||||
var initConfigAnimation = this.config.animation;
|
||||
|
||||
if (tip.getAttribute('x-placement') !== null) {
|
||||
if (!state) {
|
||||
return;
|
||||
}
|
||||
|
||||
tip.classList.remove(CLASS_NAME_FADE$1);
|
||||
this.config.animation = false;
|
||||
this.hide();
|
||||
this.show();
|
||||
this.config.animation = initConfigAnimation;
|
||||
this.tip = state.elements.popper;
|
||||
|
||||
this._cleanTipClass();
|
||||
|
||||
this._addAttachmentClass(this._getAttachment(state.placement));
|
||||
} // Static
|
||||
;
|
||||
|
||||
|
|
@ -5003,7 +4984,7 @@
|
|||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Bootstrap (v5.0.0-alpha3): index.umd.js
|
||||
* Bootstrap (v5.0.0-beta1): index.umd.js
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
* --------------------------------------------------------------------------
|
||||
*/
|
||||
|
|
|
|||
BIN
dist/js/bootstrap.js.map
vendored
BIN
dist/js/bootstrap.js.map
vendored
Binary file not shown.
4
dist/js/bootstrap.min.js
vendored
4
dist/js/bootstrap.min.js
vendored
File diff suppressed because one or more lines are too long
BIN
dist/js/bootstrap.min.js.map
vendored
BIN
dist/js/bootstrap.min.js.map
vendored
Binary file not shown.
6
js/dist/alert.js
vendored
6
js/dist/alert.js
vendored
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* Bootstrap alert.js v5.0.0-alpha3 (https://getbootstrap.com/)
|
||||
* Bootstrap alert.js v5.0.0-beta1 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2020 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
*/
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Bootstrap (v5.0.0-alpha3): util/index.js
|
||||
* Bootstrap (v5.0.0-beta1): util/index.js
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
* --------------------------------------------------------------------------
|
||||
*/
|
||||
|
|
@ -114,7 +114,7 @@
|
|||
* ------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
var VERSION = '5.0.0-alpha3';
|
||||
var VERSION = '5.0.0-beta1';
|
||||
|
||||
var BaseComponent = /*#__PURE__*/function () {
|
||||
function BaseComponent(element) {
|
||||
|
|
|
|||
BIN
js/dist/alert.js.map
vendored
BIN
js/dist/alert.js.map
vendored
Binary file not shown.
6
js/dist/button.js
vendored
6
js/dist/button.js
vendored
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* Bootstrap button.js v5.0.0-alpha3 (https://getbootstrap.com/)
|
||||
* Bootstrap button.js v5.0.0-beta1 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2020 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
*/
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Bootstrap (v5.0.0-alpha3): util/index.js
|
||||
* Bootstrap (v5.0.0-beta1): util/index.js
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
* --------------------------------------------------------------------------
|
||||
*/
|
||||
|
|
@ -51,7 +51,7 @@
|
|||
* ------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
var VERSION = '5.0.0-alpha3';
|
||||
var VERSION = '5.0.0-beta1';
|
||||
|
||||
var BaseComponent = /*#__PURE__*/function () {
|
||||
function BaseComponent(element) {
|
||||
|
|
|
|||
BIN
js/dist/button.js.map
vendored
BIN
js/dist/button.js.map
vendored
Binary file not shown.
6
js/dist/carousel.js
vendored
6
js/dist/carousel.js
vendored
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* Bootstrap carousel.js v5.0.0-alpha3 (https://getbootstrap.com/)
|
||||
* Bootstrap carousel.js v5.0.0-beta1 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2020 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
*/
|
||||
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Bootstrap (v5.0.0-alpha3): util/index.js
|
||||
* Bootstrap (v5.0.0-beta1): util/index.js
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
* --------------------------------------------------------------------------
|
||||
*/
|
||||
|
|
@ -158,7 +158,7 @@
|
|||
* ------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
var VERSION = '5.0.0-alpha3';
|
||||
var VERSION = '5.0.0-beta1';
|
||||
|
||||
var BaseComponent = /*#__PURE__*/function () {
|
||||
function BaseComponent(element) {
|
||||
|
|
|
|||
BIN
js/dist/carousel.js.map
vendored
BIN
js/dist/carousel.js.map
vendored
Binary file not shown.
6
js/dist/collapse.js
vendored
6
js/dist/collapse.js
vendored
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* Bootstrap collapse.js v5.0.0-alpha3 (https://getbootstrap.com/)
|
||||
* Bootstrap collapse.js v5.0.0-beta1 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2020 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
*/
|
||||
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Bootstrap (v5.0.0-alpha3): util/index.js
|
||||
* Bootstrap (v5.0.0-beta1): util/index.js
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
* --------------------------------------------------------------------------
|
||||
*/
|
||||
|
|
@ -154,7 +154,7 @@
|
|||
* ------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
var VERSION = '5.0.0-alpha3';
|
||||
var VERSION = '5.0.0-beta1';
|
||||
|
||||
var BaseComponent = /*#__PURE__*/function () {
|
||||
function BaseComponent(element) {
|
||||
|
|
|
|||
BIN
js/dist/collapse.js.map
vendored
BIN
js/dist/collapse.js.map
vendored
Binary file not shown.
4
js/dist/dom/data.js
vendored
4
js/dist/dom/data.js
vendored
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* Bootstrap data.js v5.0.0-alpha3 (https://getbootstrap.com/)
|
||||
* Bootstrap data.js v5.0.0-beta1 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2020 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
*/
|
||||
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Bootstrap (v5.0.0-alpha3): dom/data.js
|
||||
* Bootstrap (v5.0.0-beta1): dom/data.js
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
* --------------------------------------------------------------------------
|
||||
*/
|
||||
|
|
|
|||
BIN
js/dist/dom/data.js.map
vendored
BIN
js/dist/dom/data.js.map
vendored
Binary file not shown.
6
js/dist/dom/event-handler.js
vendored
6
js/dist/dom/event-handler.js
vendored
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* Bootstrap event-handler.js v5.0.0-alpha3 (https://getbootstrap.com/)
|
||||
* Bootstrap event-handler.js v5.0.0-beta1 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2020 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
*/
|
||||
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Bootstrap (v5.0.0-alpha3): util/index.js
|
||||
* Bootstrap (v5.0.0-beta1): util/index.js
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
* --------------------------------------------------------------------------
|
||||
*/
|
||||
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Bootstrap (v5.0.0-alpha3): dom/event-handler.js
|
||||
* Bootstrap (v5.0.0-beta1): dom/event-handler.js
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
* --------------------------------------------------------------------------
|
||||
*/
|
||||
|
|
|
|||
BIN
js/dist/dom/event-handler.js.map
vendored
BIN
js/dist/dom/event-handler.js.map
vendored
Binary file not shown.
4
js/dist/dom/manipulator.js
vendored
4
js/dist/dom/manipulator.js
vendored
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* Bootstrap manipulator.js v5.0.0-alpha3 (https://getbootstrap.com/)
|
||||
* Bootstrap manipulator.js v5.0.0-beta1 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2020 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
*/
|
||||
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Bootstrap (v5.0.0-alpha3): dom/manipulator.js
|
||||
* Bootstrap (v5.0.0-beta1): dom/manipulator.js
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
* --------------------------------------------------------------------------
|
||||
*/
|
||||
|
|
|
|||
BIN
js/dist/dom/manipulator.js.map
vendored
BIN
js/dist/dom/manipulator.js.map
vendored
Binary file not shown.
4
js/dist/dom/selector-engine.js
vendored
4
js/dist/dom/selector-engine.js
vendored
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* Bootstrap selector-engine.js v5.0.0-alpha3 (https://getbootstrap.com/)
|
||||
* Bootstrap selector-engine.js v5.0.0-beta1 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2020 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
*/
|
||||
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Bootstrap (v5.0.0-alpha3): dom/selector-engine.js
|
||||
* Bootstrap (v5.0.0-beta1): dom/selector-engine.js
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
* --------------------------------------------------------------------------
|
||||
*/
|
||||
|
|
|
|||
BIN
js/dist/dom/selector-engine.js.map
vendored
BIN
js/dist/dom/selector-engine.js.map
vendored
Binary file not shown.
115
js/dist/dropdown.js
vendored
115
js/dist/dropdown.js
vendored
|
|
@ -1,25 +1,45 @@
|
|||
/*!
|
||||
* Bootstrap dropdown.js v5.0.0-alpha3 (https://getbootstrap.com/)
|
||||
* Bootstrap dropdown.js v5.0.0-beta1 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2020 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
*/
|
||||
(function (global, factory) {
|
||||
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('./dom/data.js'), require('./dom/event-handler.js'), require('./dom/manipulator.js'), require('popper.js'), require('./dom/selector-engine.js')) :
|
||||
typeof define === 'function' && define.amd ? define(['./dom/data', './dom/event-handler', './dom/manipulator', 'popper.js', './dom/selector-engine'], factory) :
|
||||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.Dropdown = factory(global.Data, global.EventHandler, global.Manipulator, global.Popper, global.SelectorEngine));
|
||||
}(this, (function (Data, EventHandler, Manipulator, Popper, SelectorEngine) { 'use strict';
|
||||
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('@popperjs/core'), require('./dom/data.js'), require('./dom/event-handler.js'), require('./dom/manipulator.js'), require('./dom/selector-engine.js')) :
|
||||
typeof define === 'function' && define.amd ? define(['@popperjs/core', './dom/data', './dom/event-handler', './dom/manipulator', './dom/selector-engine'], factory) :
|
||||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.Dropdown = factory(global.Popper, global.Data, global.EventHandler, global.Manipulator, global.SelectorEngine));
|
||||
}(this, (function (Popper, Data, EventHandler, Manipulator, SelectorEngine) { 'use strict';
|
||||
|
||||
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
||||
|
||||
function _interopNamespace(e) {
|
||||
if (e && e.__esModule) return e;
|
||||
var n = Object.create(null);
|
||||
if (e) {
|
||||
Object.keys(e).forEach(function (k) {
|
||||
if (k !== 'default') {
|
||||
var d = Object.getOwnPropertyDescriptor(e, k);
|
||||
Object.defineProperty(n, k, d.get ? d : {
|
||||
enumerable: true,
|
||||
get: function () {
|
||||
return e[k];
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
n['default'] = e;
|
||||
return Object.freeze(n);
|
||||
}
|
||||
|
||||
var Popper__namespace = /*#__PURE__*/_interopNamespace(Popper);
|
||||
var Data__default = /*#__PURE__*/_interopDefaultLegacy(Data);
|
||||
var EventHandler__default = /*#__PURE__*/_interopDefaultLegacy(EventHandler);
|
||||
var Manipulator__default = /*#__PURE__*/_interopDefaultLegacy(Manipulator);
|
||||
var Popper__default = /*#__PURE__*/_interopDefaultLegacy(Popper);
|
||||
var SelectorEngine__default = /*#__PURE__*/_interopDefaultLegacy(SelectorEngine);
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Bootstrap (v5.0.0-alpha3): util/index.js
|
||||
* Bootstrap (v5.0.0-beta1): util/index.js
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
* --------------------------------------------------------------------------
|
||||
*/
|
||||
|
|
@ -112,7 +132,7 @@
|
|||
* ------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
var VERSION = '5.0.0-alpha3';
|
||||
var VERSION = '5.0.0-beta1';
|
||||
|
||||
var BaseComponent = /*#__PURE__*/function () {
|
||||
function BaseComponent(element) {
|
||||
|
|
@ -185,9 +205,7 @@
|
|||
var CLASS_NAME_DROPUP = 'dropup';
|
||||
var CLASS_NAME_DROPEND = 'dropend';
|
||||
var CLASS_NAME_DROPSTART = 'dropstart';
|
||||
var CLASS_NAME_MENUEND = 'dropdown-menu-end';
|
||||
var CLASS_NAME_NAVBAR = 'navbar';
|
||||
var CLASS_NAME_POSITION_STATIC = 'position-static';
|
||||
var SELECTOR_DATA_TOGGLE = '[data-bs-toggle="dropdown"]';
|
||||
var SELECTOR_FORM_CHILD = '.dropdown form';
|
||||
var SELECTOR_MENU = '.dropdown-menu';
|
||||
|
|
@ -202,7 +220,7 @@
|
|||
var Default = {
|
||||
offset: 0,
|
||||
flip: true,
|
||||
boundary: 'scrollParent',
|
||||
boundary: 'clippingParents',
|
||||
reference: 'toggle',
|
||||
display: 'dynamic',
|
||||
popperConfig: null
|
||||
|
|
@ -275,7 +293,7 @@
|
|||
|
||||
|
||||
if (!this._inNavbar) {
|
||||
if (typeof Popper__default['default'] === 'undefined') {
|
||||
if (typeof Popper__namespace === 'undefined') {
|
||||
throw new TypeError('Bootstrap\'s dropdowns require Popper (https://popper.js.org)');
|
||||
}
|
||||
|
||||
|
|
@ -289,16 +307,9 @@
|
|||
if (typeof this._config.reference.jquery !== 'undefined') {
|
||||
referenceElement = this._config.reference[0];
|
||||
}
|
||||
} // If boundary is not `scrollParent`, then set position to `static`
|
||||
// to allow the menu to "escape" the scroll parent's boundaries
|
||||
// https://github.com/twbs/bootstrap/issues/24251
|
||||
|
||||
|
||||
if (this._config.boundary !== 'scrollParent') {
|
||||
parent.classList.add(CLASS_NAME_POSITION_STATIC);
|
||||
}
|
||||
|
||||
this._popper = new Popper__default['default'](referenceElement, this._menu, this._getPopperConfig());
|
||||
this._popper = Popper.createPopper(referenceElement, this._menu, this._getPopperConfig());
|
||||
} // If this is a touch-enabled device we add extra
|
||||
// empty mouseover listeners to the body's immediate children;
|
||||
// only needed because of broken event delegation on iOS
|
||||
|
|
@ -367,7 +378,7 @@
|
|||
this._inNavbar = this._detectNavbar();
|
||||
|
||||
if (this._popper) {
|
||||
this._popper.scheduleUpdate();
|
||||
this._popper.update();
|
||||
}
|
||||
} // Private
|
||||
;
|
||||
|
|
@ -395,60 +406,46 @@
|
|||
|
||||
_proto._getPlacement = function _getPlacement() {
|
||||
var parentDropdown = this._element.parentNode;
|
||||
var placement = PLACEMENT_BOTTOM; // Handle dropup
|
||||
|
||||
if (parentDropdown.classList.contains(CLASS_NAME_DROPUP)) {
|
||||
placement = this._menu.classList.contains(CLASS_NAME_MENUEND) ? PLACEMENT_TOPEND : PLACEMENT_TOP;
|
||||
} else if (parentDropdown.classList.contains(CLASS_NAME_DROPEND)) {
|
||||
placement = PLACEMENT_RIGHT;
|
||||
} else if (parentDropdown.classList.contains(CLASS_NAME_DROPSTART)) {
|
||||
placement = PLACEMENT_LEFT;
|
||||
} else if (this._menu.classList.contains(CLASS_NAME_MENUEND)) {
|
||||
placement = PLACEMENT_BOTTOMEND;
|
||||
if (parentDropdown.classList.contains(CLASS_NAME_DROPEND)) {
|
||||
return PLACEMENT_RIGHT;
|
||||
}
|
||||
|
||||
return placement;
|
||||
if (parentDropdown.classList.contains(CLASS_NAME_DROPSTART)) {
|
||||
return PLACEMENT_LEFT;
|
||||
} // We need to trim the value because custom properties can also include spaces
|
||||
|
||||
|
||||
var isEnd = getComputedStyle(this._menu).getPropertyValue('--bs-position').trim() === 'end';
|
||||
|
||||
if (parentDropdown.classList.contains(CLASS_NAME_DROPUP)) {
|
||||
return isEnd ? PLACEMENT_TOPEND : PLACEMENT_TOP;
|
||||
}
|
||||
|
||||
return isEnd ? PLACEMENT_BOTTOMEND : PLACEMENT_BOTTOM;
|
||||
};
|
||||
|
||||
_proto._detectNavbar = function _detectNavbar() {
|
||||
return Boolean(this._element.closest("." + CLASS_NAME_NAVBAR));
|
||||
};
|
||||
|
||||
_proto._getOffset = function _getOffset() {
|
||||
var _this3 = this;
|
||||
|
||||
var offset = {};
|
||||
|
||||
if (typeof this._config.offset === 'function') {
|
||||
offset.fn = function (data) {
|
||||
data.offsets = _extends({}, data.offsets, _this3._config.offset(data.offsets, _this3._element) || {});
|
||||
return data;
|
||||
};
|
||||
} else {
|
||||
offset.offset = this._config.offset;
|
||||
}
|
||||
|
||||
return offset;
|
||||
return this._element.closest("." + CLASS_NAME_NAVBAR) !== null;
|
||||
};
|
||||
|
||||
_proto._getPopperConfig = function _getPopperConfig() {
|
||||
var popperConfig = {
|
||||
placement: this._getPlacement(),
|
||||
modifiers: {
|
||||
offset: this._getOffset(),
|
||||
flip: {
|
||||
enabled: this._config.flip
|
||||
},
|
||||
preventOverflow: {
|
||||
boundariesElement: this._config.boundary
|
||||
modifiers: [{
|
||||
name: 'preventOverflow',
|
||||
options: {
|
||||
altBoundary: this._config.flip,
|
||||
rootBoundary: this._config.boundary
|
||||
}
|
||||
}
|
||||
}]
|
||||
}; // Disable Popper if we have a static display
|
||||
|
||||
if (this._config.display === 'static') {
|
||||
popperConfig.modifiers.applyStyle = {
|
||||
popperConfig.modifiers = [{
|
||||
name: 'applyStyles',
|
||||
enabled: false
|
||||
};
|
||||
}];
|
||||
}
|
||||
|
||||
return _extends({}, popperConfig, this._config.popperConfig);
|
||||
|
|
|
|||
BIN
js/dist/dropdown.js.map
vendored
BIN
js/dist/dropdown.js.map
vendored
Binary file not shown.
6
js/dist/modal.js
vendored
6
js/dist/modal.js
vendored
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* Bootstrap modal.js v5.0.0-alpha3 (https://getbootstrap.com/)
|
||||
* Bootstrap modal.js v5.0.0-beta1 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2020 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
*/
|
||||
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Bootstrap (v5.0.0-alpha3): util/index.js
|
||||
* Bootstrap (v5.0.0-beta1): util/index.js
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
* --------------------------------------------------------------------------
|
||||
*/
|
||||
|
|
@ -158,7 +158,7 @@
|
|||
* ------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
var VERSION = '5.0.0-alpha3';
|
||||
var VERSION = '5.0.0-beta1';
|
||||
|
||||
var BaseComponent = /*#__PURE__*/function () {
|
||||
function BaseComponent(element) {
|
||||
|
|
|
|||
BIN
js/dist/modal.js.map
vendored
BIN
js/dist/modal.js.map
vendored
Binary file not shown.
4
js/dist/popover.js
vendored
4
js/dist/popover.js
vendored
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* Bootstrap popover.js v5.0.0-alpha3 (https://getbootstrap.com/)
|
||||
* Bootstrap popover.js v5.0.0-beta1 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2020 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
*/
|
||||
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Bootstrap (v5.0.0-alpha3): util/index.js
|
||||
* Bootstrap (v5.0.0-beta1): util/index.js
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
* --------------------------------------------------------------------------
|
||||
*/
|
||||
|
|
|
|||
BIN
js/dist/popover.js.map
vendored
BIN
js/dist/popover.js.map
vendored
Binary file not shown.
6
js/dist/scrollspy.js
vendored
6
js/dist/scrollspy.js
vendored
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* Bootstrap scrollspy.js v5.0.0-alpha3 (https://getbootstrap.com/)
|
||||
* Bootstrap scrollspy.js v5.0.0-beta1 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2020 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
*/
|
||||
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Bootstrap (v5.0.0-alpha3): util/index.js
|
||||
* Bootstrap (v5.0.0-beta1): util/index.js
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
* --------------------------------------------------------------------------
|
||||
*/
|
||||
|
|
@ -113,7 +113,7 @@
|
|||
* ------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
var VERSION = '5.0.0-alpha3';
|
||||
var VERSION = '5.0.0-beta1';
|
||||
|
||||
var BaseComponent = /*#__PURE__*/function () {
|
||||
function BaseComponent(element) {
|
||||
|
|
|
|||
BIN
js/dist/scrollspy.js.map
vendored
BIN
js/dist/scrollspy.js.map
vendored
Binary file not shown.
6
js/dist/tab.js
vendored
6
js/dist/tab.js
vendored
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* Bootstrap tab.js v5.0.0-alpha3 (https://getbootstrap.com/)
|
||||
* Bootstrap tab.js v5.0.0-beta1 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2020 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
*/
|
||||
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Bootstrap (v5.0.0-alpha3): util/index.js
|
||||
* Bootstrap (v5.0.0-beta1): util/index.js
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
* --------------------------------------------------------------------------
|
||||
*/
|
||||
|
|
@ -119,7 +119,7 @@
|
|||
* ------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
var VERSION = '5.0.0-alpha3';
|
||||
var VERSION = '5.0.0-beta1';
|
||||
|
||||
var BaseComponent = /*#__PURE__*/function () {
|
||||
function BaseComponent(element) {
|
||||
|
|
|
|||
BIN
js/dist/tab.js.map
vendored
BIN
js/dist/tab.js.map
vendored
Binary file not shown.
6
js/dist/toast.js
vendored
6
js/dist/toast.js
vendored
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* Bootstrap toast.js v5.0.0-alpha3 (https://getbootstrap.com/)
|
||||
* Bootstrap toast.js v5.0.0-beta1 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2020 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
*/
|
||||
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Bootstrap (v5.0.0-alpha3): util/index.js
|
||||
* Bootstrap (v5.0.0-beta1): util/index.js
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
* --------------------------------------------------------------------------
|
||||
*/
|
||||
|
|
@ -127,7 +127,7 @@
|
|||
* ------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
var VERSION = '5.0.0-alpha3';
|
||||
var VERSION = '5.0.0-beta1';
|
||||
|
||||
var BaseComponent = /*#__PURE__*/function () {
|
||||
function BaseComponent(element) {
|
||||
|
|
|
|||
BIN
js/dist/toast.js.map
vendored
BIN
js/dist/toast.js.map
vendored
Binary file not shown.
170
js/dist/tooltip.js
vendored
170
js/dist/tooltip.js
vendored
|
|
@ -1,25 +1,45 @@
|
|||
/*!
|
||||
* Bootstrap tooltip.js v5.0.0-alpha3 (https://getbootstrap.com/)
|
||||
* Bootstrap tooltip.js v5.0.0-beta1 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2020 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
*/
|
||||
(function (global, factory) {
|
||||
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('./dom/data.js'), require('./dom/event-handler.js'), require('./dom/manipulator.js'), require('popper.js'), require('./dom/selector-engine.js')) :
|
||||
typeof define === 'function' && define.amd ? define(['./dom/data', './dom/event-handler', './dom/manipulator', 'popper.js', './dom/selector-engine'], factory) :
|
||||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.Tooltip = factory(global.Data, global.EventHandler, global.Manipulator, global.Popper, global.SelectorEngine));
|
||||
}(this, (function (Data, EventHandler, Manipulator, Popper, SelectorEngine) { 'use strict';
|
||||
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('@popperjs/core'), require('./dom/data.js'), require('./dom/event-handler.js'), require('./dom/manipulator.js'), require('./dom/selector-engine.js')) :
|
||||
typeof define === 'function' && define.amd ? define(['@popperjs/core', './dom/data', './dom/event-handler', './dom/manipulator', './dom/selector-engine'], factory) :
|
||||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.Tooltip = factory(global.Popper, global.Data, global.EventHandler, global.Manipulator, global.SelectorEngine));
|
||||
}(this, (function (Popper, Data, EventHandler, Manipulator, SelectorEngine) { 'use strict';
|
||||
|
||||
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
||||
|
||||
function _interopNamespace(e) {
|
||||
if (e && e.__esModule) return e;
|
||||
var n = Object.create(null);
|
||||
if (e) {
|
||||
Object.keys(e).forEach(function (k) {
|
||||
if (k !== 'default') {
|
||||
var d = Object.getOwnPropertyDescriptor(e, k);
|
||||
Object.defineProperty(n, k, d.get ? d : {
|
||||
enumerable: true,
|
||||
get: function () {
|
||||
return e[k];
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
n['default'] = e;
|
||||
return Object.freeze(n);
|
||||
}
|
||||
|
||||
var Popper__namespace = /*#__PURE__*/_interopNamespace(Popper);
|
||||
var Data__default = /*#__PURE__*/_interopDefaultLegacy(Data);
|
||||
var EventHandler__default = /*#__PURE__*/_interopDefaultLegacy(EventHandler);
|
||||
var Manipulator__default = /*#__PURE__*/_interopDefaultLegacy(Manipulator);
|
||||
var Popper__default = /*#__PURE__*/_interopDefaultLegacy(Popper);
|
||||
var SelectorEngine__default = /*#__PURE__*/_interopDefaultLegacy(SelectorEngine);
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Bootstrap (v5.0.0-alpha3): util/index.js
|
||||
* Bootstrap (v5.0.0-beta1): util/index.js
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
* --------------------------------------------------------------------------
|
||||
*/
|
||||
|
|
@ -160,7 +180,7 @@
|
|||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Bootstrap (v5.0.0-alpha3): util/sanitizer.js
|
||||
* Bootstrap (v5.0.0-beta1): util/sanitizer.js
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
* --------------------------------------------------------------------------
|
||||
*/
|
||||
|
|
@ -294,7 +314,7 @@
|
|||
* ------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
var VERSION = '5.0.0-alpha3';
|
||||
var VERSION = '5.0.0-beta1';
|
||||
|
||||
var BaseComponent = /*#__PURE__*/function () {
|
||||
function BaseComponent(element) {
|
||||
|
|
@ -357,9 +377,8 @@
|
|||
html: 'boolean',
|
||||
selector: '(string|boolean)',
|
||||
placement: '(string|function)',
|
||||
offset: '(number|string|function)',
|
||||
container: '(string|element|boolean)',
|
||||
fallbackPlacement: '(string|array)',
|
||||
fallbackPlacements: '(null|array)',
|
||||
boundary: '(string|element)',
|
||||
customClass: '(string|function)',
|
||||
sanitize: 'boolean',
|
||||
|
|
@ -383,10 +402,9 @@
|
|||
html: false,
|
||||
selector: false,
|
||||
placement: 'top',
|
||||
offset: 0,
|
||||
container: false,
|
||||
fallbackPlacement: 'flip',
|
||||
boundary: 'scrollParent',
|
||||
fallbackPlacements: null,
|
||||
boundary: 'clippingParents',
|
||||
customClass: '',
|
||||
sanitize: true,
|
||||
sanitizeFn: null,
|
||||
|
|
@ -427,7 +445,7 @@
|
|||
function Tooltip(element, config) {
|
||||
var _this;
|
||||
|
||||
if (typeof Popper__default['default'] === 'undefined') {
|
||||
if (typeof Popper__namespace === 'undefined') {
|
||||
throw new TypeError('Bootstrap\'s tooltips require Popper (https://popper.js.org)');
|
||||
}
|
||||
|
||||
|
|
@ -563,7 +581,7 @@
|
|||
}
|
||||
|
||||
EventHandler__default['default'].trigger(this._element, this.constructor.Event.INSERTED);
|
||||
this._popper = new Popper__default['default'](this._element, tip, this._getPopperConfig(attachment));
|
||||
this._popper = Popper.createPopper(this._element, tip, this._getPopperConfig(attachment));
|
||||
tip.classList.add(CLASS_NAME_SHOW);
|
||||
var customClass = typeof this.config.customClass === 'function' ? this.config.customClass() : this.config.customClass;
|
||||
|
||||
|
|
@ -586,10 +604,6 @@
|
|||
}
|
||||
|
||||
var complete = function complete() {
|
||||
if (_this2.config.animation) {
|
||||
_this2._fixTransition();
|
||||
}
|
||||
|
||||
var prevHoverState = _this2._hoverState;
|
||||
_this2._hoverState = null;
|
||||
EventHandler__default['default'].trigger(_this2._element, _this2.constructor.Event.SHOWN);
|
||||
|
|
@ -629,7 +643,11 @@
|
|||
|
||||
EventHandler__default['default'].trigger(_this3._element, _this3.constructor.Event.HIDDEN);
|
||||
|
||||
_this3._popper.destroy();
|
||||
if (_this3._popper) {
|
||||
_this3._popper.destroy();
|
||||
|
||||
_this3._popper = null;
|
||||
}
|
||||
};
|
||||
|
||||
var hideEvent = EventHandler__default['default'].trigger(this._element, this.constructor.Event.HIDE);
|
||||
|
|
@ -666,7 +684,7 @@
|
|||
|
||||
_proto.update = function update() {
|
||||
if (this._popper !== null) {
|
||||
this._popper.scheduleUpdate();
|
||||
this._popper.update();
|
||||
}
|
||||
} // Protected
|
||||
;
|
||||
|
|
@ -752,27 +770,41 @@
|
|||
_proto._getPopperConfig = function _getPopperConfig(attachment) {
|
||||
var _this4 = this;
|
||||
|
||||
var flipModifier = {
|
||||
name: 'flip',
|
||||
options: {
|
||||
altBoundary: true
|
||||
}
|
||||
};
|
||||
|
||||
if (this.config.fallbackPlacements) {
|
||||
flipModifier.options.fallbackPlacements = this.config.fallbackPlacements;
|
||||
}
|
||||
|
||||
var defaultBsConfig = {
|
||||
placement: attachment,
|
||||
modifiers: {
|
||||
offset: this._getOffset(),
|
||||
flip: {
|
||||
behavior: this.config.fallbackPlacement
|
||||
},
|
||||
arrow: {
|
||||
element: "." + this.constructor.NAME + "-arrow"
|
||||
},
|
||||
preventOverflow: {
|
||||
boundariesElement: this.config.boundary
|
||||
modifiers: [flipModifier, {
|
||||
name: 'preventOverflow',
|
||||
options: {
|
||||
rootBoundary: this.config.boundary
|
||||
}
|
||||
},
|
||||
onCreate: function onCreate(data) {
|
||||
if (data.originalPlacement !== data.placement) {
|
||||
}, {
|
||||
name: 'arrow',
|
||||
options: {
|
||||
element: "." + this.constructor.NAME + "-arrow"
|
||||
}
|
||||
}, {
|
||||
name: 'onChange',
|
||||
enabled: true,
|
||||
phase: 'afterWrite',
|
||||
fn: function fn(data) {
|
||||
return _this4._handlePopperPlacementChange(data);
|
||||
}
|
||||
}],
|
||||
onFirstUpdate: function onFirstUpdate(data) {
|
||||
if (data.options.placement !== data.placement) {
|
||||
_this4._handlePopperPlacementChange(data);
|
||||
}
|
||||
},
|
||||
onUpdate: function onUpdate(data) {
|
||||
return _this4._handlePopperPlacementChange(data);
|
||||
}
|
||||
};
|
||||
return _extends({}, defaultBsConfig, this.config.popperConfig);
|
||||
|
|
@ -782,23 +814,6 @@
|
|||
this.getTipElement().classList.add(CLASS_PREFIX + "-" + this.updateAttachment(attachment));
|
||||
};
|
||||
|
||||
_proto._getOffset = function _getOffset() {
|
||||
var _this5 = this;
|
||||
|
||||
var offset = {};
|
||||
|
||||
if (typeof this.config.offset === 'function') {
|
||||
offset.fn = function (data) {
|
||||
data.offsets = _extends({}, data.offsets, _this5.config.offset(data.offsets, _this5._element) || {});
|
||||
return data;
|
||||
};
|
||||
} else {
|
||||
offset.offset = this.config.offset;
|
||||
}
|
||||
|
||||
return offset;
|
||||
};
|
||||
|
||||
_proto._getContainer = function _getContainer() {
|
||||
if (this.config.container === false) {
|
||||
return document.body;
|
||||
|
|
@ -816,29 +831,29 @@
|
|||
};
|
||||
|
||||
_proto._setListeners = function _setListeners() {
|
||||
var _this6 = this;
|
||||
var _this5 = this;
|
||||
|
||||
var triggers = this.config.trigger.split(' ');
|
||||
triggers.forEach(function (trigger) {
|
||||
if (trigger === 'click') {
|
||||
EventHandler__default['default'].on(_this6._element, _this6.constructor.Event.CLICK, _this6.config.selector, function (event) {
|
||||
return _this6.toggle(event);
|
||||
EventHandler__default['default'].on(_this5._element, _this5.constructor.Event.CLICK, _this5.config.selector, function (event) {
|
||||
return _this5.toggle(event);
|
||||
});
|
||||
} else if (trigger !== TRIGGER_MANUAL) {
|
||||
var eventIn = trigger === TRIGGER_HOVER ? _this6.constructor.Event.MOUSEENTER : _this6.constructor.Event.FOCUSIN;
|
||||
var eventOut = trigger === TRIGGER_HOVER ? _this6.constructor.Event.MOUSELEAVE : _this6.constructor.Event.FOCUSOUT;
|
||||
EventHandler__default['default'].on(_this6._element, eventIn, _this6.config.selector, function (event) {
|
||||
return _this6._enter(event);
|
||||
var eventIn = trigger === TRIGGER_HOVER ? _this5.constructor.Event.MOUSEENTER : _this5.constructor.Event.FOCUSIN;
|
||||
var eventOut = trigger === TRIGGER_HOVER ? _this5.constructor.Event.MOUSELEAVE : _this5.constructor.Event.FOCUSOUT;
|
||||
EventHandler__default['default'].on(_this5._element, eventIn, _this5.config.selector, function (event) {
|
||||
return _this5._enter(event);
|
||||
});
|
||||
EventHandler__default['default'].on(_this6._element, eventOut, _this6.config.selector, function (event) {
|
||||
return _this6._leave(event);
|
||||
EventHandler__default['default'].on(_this5._element, eventOut, _this5.config.selector, function (event) {
|
||||
return _this5._leave(event);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
this._hideModalHandler = function () {
|
||||
if (_this6._element) {
|
||||
_this6.hide();
|
||||
if (_this5._element) {
|
||||
_this5.hide();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
@ -1011,26 +1026,17 @@
|
|||
};
|
||||
|
||||
_proto._handlePopperPlacementChange = function _handlePopperPlacementChange(popperData) {
|
||||
this.tip = popperData.instance.popper;
|
||||
var state = popperData.state;
|
||||
|
||||
this._cleanTipClass();
|
||||
|
||||
this._addAttachmentClass(this._getAttachment(popperData.placement));
|
||||
};
|
||||
|
||||
_proto._fixTransition = function _fixTransition() {
|
||||
var tip = this.getTipElement();
|
||||
var initConfigAnimation = this.config.animation;
|
||||
|
||||
if (tip.getAttribute('x-placement') !== null) {
|
||||
if (!state) {
|
||||
return;
|
||||
}
|
||||
|
||||
tip.classList.remove(CLASS_NAME_FADE);
|
||||
this.config.animation = false;
|
||||
this.hide();
|
||||
this.show();
|
||||
this.config.animation = initConfigAnimation;
|
||||
this.tip = state.elements.popper;
|
||||
|
||||
this._cleanTipClass();
|
||||
|
||||
this._addAttachmentClass(this._getAttachment(state.placement));
|
||||
} // Static
|
||||
;
|
||||
|
||||
|
|
|
|||
BIN
js/dist/tooltip.js.map
vendored
BIN
js/dist/tooltip.js.map
vendored
Binary file not shown.
Loading…
Reference in a new issue