mirror of https://github.com/twbs/bootstrap.git
Dist
This commit is contained in:
parent
fdc5c1f49a
commit
5c336d0247
File diff suppressed because one or more lines are too long
|
@ -65,6 +65,7 @@ abbr[data-original-title] {
|
||||||
text-decoration: underline dotted;
|
text-decoration: underline dotted;
|
||||||
cursor: help;
|
cursor: help;
|
||||||
border-bottom: 0;
|
border-bottom: 0;
|
||||||
|
text-decoration-skip-ink: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
address {
|
address {
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -4,5 +4,5 @@
|
||||||
* Copyright 2011-2018 Twitter, Inc.
|
* Copyright 2011-2018 Twitter, Inc.
|
||||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||||
* Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)
|
* Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)
|
||||||
*/*,::after,::before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:transparent}@-ms-viewport{width:device-width}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#fff}[tabindex="-1"]:focus{outline:0!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem}p{margin-top:0;margin-bottom:1rem}abbr[data-original-title],abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;border-bottom:0}address{margin-bottom:1rem;font-style:normal;line-height:inherit}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#007bff;text-decoration:none;background-color:transparent}a:hover{color:#0056b3;text-decoration:underline}a:not([href]):not([tabindex]){color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus,a:not([href]):not([tabindex]):hover{color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus{outline:0}code,kbd,pre,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:1em}pre{margin-top:0;margin-bottom:1rem;overflow:auto;-ms-overflow-style:scrollbar}figure{margin:0 0 1rem}img{vertical-align:middle;border-style:none}svg{overflow:hidden;vertical-align:middle}table{border-collapse:collapse}caption{padding-top:.75rem;padding-bottom:.75rem;color:#6c757d;text-align:left;caption-side:bottom}th{text-align:inherit}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{padding:0;border-style:none}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;max-width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;line-height:inherit;color:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item;cursor:pointer}template{display:none}[hidden]{display:none!important}
|
*/*,::after,::before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:transparent}@-ms-viewport{width:device-width}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#fff}[tabindex="-1"]:focus{outline:0!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem}p{margin-top:0;margin-bottom:1rem}abbr[data-original-title],abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;border-bottom:0;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#007bff;text-decoration:none;background-color:transparent}a:hover{color:#0056b3;text-decoration:underline}a:not([href]):not([tabindex]){color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus,a:not([href]):not([tabindex]):hover{color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus{outline:0}code,kbd,pre,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:1em}pre{margin-top:0;margin-bottom:1rem;overflow:auto;-ms-overflow-style:scrollbar}figure{margin:0 0 1rem}img{vertical-align:middle;border-style:none}svg{overflow:hidden;vertical-align:middle}table{border-collapse:collapse}caption{padding-top:.75rem;padding-bottom:.75rem;color:#6c757d;text-align:left;caption-side:bottom}th{text-align:inherit}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{padding:0;border-style:none}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;max-width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;line-height:inherit;color:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item;cursor:pointer}template{display:none}[hidden]{display:none!important}
|
||||||
/*# sourceMappingURL=bootstrap-reboot.min.css.map */
|
/*# sourceMappingURL=bootstrap-reboot.min.css.map */
|
File diff suppressed because one or more lines are too long
|
@ -95,6 +95,7 @@ abbr[data-original-title] {
|
||||||
text-decoration: underline dotted;
|
text-decoration: underline dotted;
|
||||||
cursor: help;
|
cursor: help;
|
||||||
border-bottom: 0;
|
border-bottom: 0;
|
||||||
|
text-decoration-skip-ink: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
address {
|
address {
|
||||||
|
@ -3250,6 +3251,16 @@ input[type="button"].btn-block {
|
||||||
border: 0;
|
border: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.dropdown-item:first-child {
|
||||||
|
border-top-left-radius: calc(0.25rem - 1px);
|
||||||
|
border-top-right-radius: calc(0.25rem - 1px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.dropdown-item:last-child {
|
||||||
|
border-bottom-right-radius: calc(0.25rem - 1px);
|
||||||
|
border-bottom-left-radius: calc(0.25rem - 1px);
|
||||||
|
}
|
||||||
|
|
||||||
.dropdown-item:hover, .dropdown-item:focus {
|
.dropdown-item:hover, .dropdown-item:focus {
|
||||||
color: #16181b;
|
color: #16181b;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
@ -3550,30 +3561,45 @@ input[type="button"].btn-block {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.input-group-lg > .form-control:not(textarea),
|
||||||
|
.input-group-lg > .custom-select {
|
||||||
|
height: calc(2.875rem + 2px);
|
||||||
|
}
|
||||||
|
|
||||||
.input-group-lg > .form-control,
|
.input-group-lg > .form-control,
|
||||||
|
.input-group-lg > .custom-select,
|
||||||
.input-group-lg > .input-group-prepend > .input-group-text,
|
.input-group-lg > .input-group-prepend > .input-group-text,
|
||||||
.input-group-lg > .input-group-append > .input-group-text,
|
.input-group-lg > .input-group-append > .input-group-text,
|
||||||
.input-group-lg > .input-group-prepend > .btn,
|
.input-group-lg > .input-group-prepend > .btn,
|
||||||
.input-group-lg > .input-group-append > .btn {
|
.input-group-lg > .input-group-append > .btn {
|
||||||
height: calc(2.875rem + 2px);
|
|
||||||
padding: 0.5rem 1rem;
|
padding: 0.5rem 1rem;
|
||||||
font-size: 1.25rem;
|
font-size: 1.25rem;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
border-radius: 0.3rem;
|
border-radius: 0.3rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.input-group-sm > .form-control:not(textarea),
|
||||||
|
.input-group-sm > .custom-select {
|
||||||
|
height: calc(1.8125rem + 2px);
|
||||||
|
}
|
||||||
|
|
||||||
.input-group-sm > .form-control,
|
.input-group-sm > .form-control,
|
||||||
|
.input-group-sm > .custom-select,
|
||||||
.input-group-sm > .input-group-prepend > .input-group-text,
|
.input-group-sm > .input-group-prepend > .input-group-text,
|
||||||
.input-group-sm > .input-group-append > .input-group-text,
|
.input-group-sm > .input-group-append > .input-group-text,
|
||||||
.input-group-sm > .input-group-prepend > .btn,
|
.input-group-sm > .input-group-prepend > .btn,
|
||||||
.input-group-sm > .input-group-append > .btn {
|
.input-group-sm > .input-group-append > .btn {
|
||||||
height: calc(1.8125rem + 2px);
|
|
||||||
padding: 0.25rem 0.5rem;
|
padding: 0.25rem 0.5rem;
|
||||||
font-size: 0.875rem;
|
font-size: 0.875rem;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
border-radius: 0.2rem;
|
border-radius: 0.2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.input-group-lg > .custom-select,
|
||||||
|
.input-group-sm > .custom-select {
|
||||||
|
padding-right: 1.75rem;
|
||||||
|
}
|
||||||
|
|
||||||
.input-group > .input-group-prepend > .btn,
|
.input-group > .input-group-prepend > .btn,
|
||||||
.input-group > .input-group-prepend > .input-group-text,
|
.input-group > .input-group-prepend > .input-group-text,
|
||||||
.input-group > .input-group-append:not(:last-child) > .btn,
|
.input-group > .input-group-append:not(:last-child) > .btn,
|
||||||
|
@ -4570,7 +4596,7 @@ input[type="button"].btn-block {
|
||||||
.card-header {
|
.card-header {
|
||||||
padding: 0.75rem 1.25rem;
|
padding: 0.75rem 1.25rem;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
color: #212529;
|
color: inherit;
|
||||||
background-color: rgba(0, 0, 0, 0.03);
|
background-color: rgba(0, 0, 0, 0.03);
|
||||||
border-bottom: 1px solid rgba(0, 0, 0, 0.125);
|
border-bottom: 1px solid rgba(0, 0, 0, 0.125);
|
||||||
}
|
}
|
||||||
|
@ -6235,15 +6261,14 @@ a.close.disabled {
|
||||||
}
|
}
|
||||||
|
|
||||||
.spinner-border {
|
.spinner-border {
|
||||||
position: relative;
|
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 2rem;
|
width: 2rem;
|
||||||
height: 2rem;
|
height: 2rem;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-indent: -999em;
|
text-indent: -999em;
|
||||||
vertical-align: text-bottom;
|
vertical-align: text-bottom;
|
||||||
border: 0.25em solid;
|
border: 0.25em solid currentColor;
|
||||||
border-color: currentColor transparent currentColor currentColor;
|
border-right-color: transparent;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
-webkit-animation: spinner-border .75s linear infinite;
|
-webkit-animation: spinner-border .75s linear infinite;
|
||||||
animation: spinner-border .75s linear infinite;
|
animation: spinner-border .75s linear infinite;
|
||||||
|
@ -6257,38 +6282,25 @@ a.close.disabled {
|
||||||
|
|
||||||
@-webkit-keyframes spinner-grow {
|
@-webkit-keyframes spinner-grow {
|
||||||
0% {
|
0% {
|
||||||
opacity: 0;
|
|
||||||
-webkit-transform: scale(0);
|
-webkit-transform: scale(0);
|
||||||
transform: scale(0);
|
transform: scale(0);
|
||||||
}
|
}
|
||||||
50% {
|
50% {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
100% {
|
|
||||||
opacity: 0;
|
|
||||||
-webkit-transform: scale(1);
|
|
||||||
transform: scale(1);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes spinner-grow {
|
@keyframes spinner-grow {
|
||||||
0% {
|
0% {
|
||||||
opacity: 0;
|
|
||||||
-webkit-transform: scale(0);
|
-webkit-transform: scale(0);
|
||||||
transform: scale(0);
|
transform: scale(0);
|
||||||
}
|
}
|
||||||
50% {
|
50% {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
100% {
|
|
||||||
opacity: 0;
|
|
||||||
-webkit-transform: scale(1);
|
|
||||||
transform: scale(1);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.spinner-grow {
|
.spinner-grow {
|
||||||
position: relative;
|
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 2rem;
|
width: 2rem;
|
||||||
height: 2rem;
|
height: 2rem;
|
||||||
|
@ -6297,6 +6309,7 @@ a.close.disabled {
|
||||||
vertical-align: text-bottom;
|
vertical-align: text-bottom;
|
||||||
background-color: currentColor;
|
background-color: currentColor;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
|
opacity: 0;
|
||||||
-webkit-animation: spinner-grow .75s linear infinite;
|
-webkit-animation: spinner-grow .75s linear infinite;
|
||||||
animation: spinner-grow .75s linear infinite;
|
animation: spinner-grow .75s linear infinite;
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -73,7 +73,6 @@
|
||||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||||
* --------------------------------------------------------------------------
|
* --------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ------------------------------------------------------------------------
|
* ------------------------------------------------------------------------
|
||||||
* Private TransitionEnd Helpers
|
* Private TransitionEnd Helpers
|
||||||
|
@ -197,13 +196,6 @@
|
||||||
};
|
};
|
||||||
setTransitionEndSupport();
|
setTransitionEndSupport();
|
||||||
|
|
||||||
/**
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
* Bootstrap (v4.1.3): alert.js
|
|
||||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ------------------------------------------------------------------------
|
* ------------------------------------------------------------------------
|
||||||
* Constants
|
* Constants
|
||||||
|
@ -369,13 +361,6 @@
|
||||||
return Alert._jQueryInterface;
|
return Alert._jQueryInterface;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
* Bootstrap (v4.1.3): button.js
|
|
||||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ------------------------------------------------------------------------
|
* ------------------------------------------------------------------------
|
||||||
* Constants
|
* Constants
|
||||||
|
@ -581,10 +566,7 @@
|
||||||
TOUCHMOVE: "touchmove" + EVENT_KEY$2,
|
TOUCHMOVE: "touchmove" + EVENT_KEY$2,
|
||||||
TOUCHEND: "touchend" + EVENT_KEY$2,
|
TOUCHEND: "touchend" + EVENT_KEY$2,
|
||||||
POINTERDOWN: "pointerdown" + EVENT_KEY$2,
|
POINTERDOWN: "pointerdown" + EVENT_KEY$2,
|
||||||
POINTERMOVE: "pointermove" + EVENT_KEY$2,
|
|
||||||
POINTERUP: "pointerup" + EVENT_KEY$2,
|
POINTERUP: "pointerup" + EVENT_KEY$2,
|
||||||
POINTERLEAVE: "pointerleave" + EVENT_KEY$2,
|
|
||||||
POINTERCANCEL: "pointercancel" + EVENT_KEY$2,
|
|
||||||
DRAG_START: "dragstart" + EVENT_KEY$2,
|
DRAG_START: "dragstart" + EVENT_KEY$2,
|
||||||
LOAD_DATA_API: "load" + EVENT_KEY$2 + DATA_API_KEY$2,
|
LOAD_DATA_API: "load" + EVENT_KEY$2 + DATA_API_KEY$2,
|
||||||
CLICK_DATA_API: "click" + EVENT_KEY$2 + DATA_API_KEY$2
|
CLICK_DATA_API: "click" + EVENT_KEY$2 + DATA_API_KEY$2
|
||||||
|
@ -791,7 +773,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
var start = function start(event) {
|
var start = function start(event) {
|
||||||
if (_this3._pointerEvent && (event.originalEvent.pointerType === PointerType.TOUCH || event.originalEvent.pointerType === PointerType.PEN)) {
|
if (_this3._pointerEvent && PointerType[event.originalEvent.pointerType.toUpperCase()]) {
|
||||||
_this3.touchStartX = event.originalEvent.clientX;
|
_this3.touchStartX = event.originalEvent.clientX;
|
||||||
} else if (!_this3._pointerEvent) {
|
} else if (!_this3._pointerEvent) {
|
||||||
_this3.touchStartX = event.originalEvent.touches[0].clientX;
|
_this3.touchStartX = event.originalEvent.touches[0].clientX;
|
||||||
|
@ -808,7 +790,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
var end = function end(event) {
|
var end = function end(event) {
|
||||||
if (_this3._pointerEvent && (event.originalEvent.pointerType === PointerType.TOUCH || event.originalEvent.pointerType === PointerType.PEN)) {
|
if (_this3._pointerEvent && PointerType[event.originalEvent.pointerType.toUpperCase()]) {
|
||||||
_this3.touchDeltaX = event.originalEvent.clientX - _this3.touchStartX;
|
_this3.touchDeltaX = event.originalEvent.clientX - _this3.touchStartX;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1131,13 +1113,6 @@
|
||||||
return Carousel._jQueryInterface;
|
return Carousel._jQueryInterface;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
* Bootstrap (v4.1.3): collapse.js
|
|
||||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ------------------------------------------------------------------------
|
* ------------------------------------------------------------------------
|
||||||
* Constants
|
* Constants
|
||||||
|
@ -1193,7 +1168,7 @@
|
||||||
this._isTransitioning = false;
|
this._isTransitioning = false;
|
||||||
this._element = element;
|
this._element = element;
|
||||||
this._config = this._getConfig(config);
|
this._config = this._getConfig(config);
|
||||||
this._triggerArray = $.makeArray(document.querySelectorAll("[data-toggle=\"collapse\"][href=\"#" + element.id + "\"]," + ("[data-toggle=\"collapse\"][data-target=\"#" + element.id + "\"]")));
|
this._triggerArray = [].slice.call(document.querySelectorAll("[data-toggle=\"collapse\"][href=\"#" + element.id + "\"]," + ("[data-toggle=\"collapse\"][data-target=\"#" + element.id + "\"]")));
|
||||||
var toggleList = [].slice.call(document.querySelectorAll(Selector$3.DATA_TOGGLE));
|
var toggleList = [].slice.call(document.querySelectorAll(Selector$3.DATA_TOGGLE));
|
||||||
|
|
||||||
for (var i = 0, len = toggleList.length; i < len; i++) {
|
for (var i = 0, len = toggleList.length; i < len; i++) {
|
||||||
|
@ -1500,7 +1475,7 @@
|
||||||
|
|
||||||
/**!
|
/**!
|
||||||
* @fileOverview Kickass library to create and place poppers near their reference elements.
|
* @fileOverview Kickass library to create and place poppers near their reference elements.
|
||||||
* @version 1.14.4
|
* @version 1.14.5
|
||||||
* @license
|
* @license
|
||||||
* Copyright (c) 2016 Federico Zivolo and contributors
|
* Copyright (c) 2016 Federico Zivolo and contributors
|
||||||
*
|
*
|
||||||
|
@ -1597,7 +1572,8 @@
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
// NOTE: 1 DOM access here
|
// NOTE: 1 DOM access here
|
||||||
var css = getComputedStyle(element, null);
|
var window = element.ownerDocument.defaultView;
|
||||||
|
var css = window.getComputedStyle(element, null);
|
||||||
return property ? css[property] : css;
|
return property ? css[property] : css;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1685,7 +1661,7 @@
|
||||||
var noOffsetParent = isIE(10) ? document.body : null;
|
var noOffsetParent = isIE(10) ? document.body : null;
|
||||||
|
|
||||||
// NOTE: 1 DOM access here
|
// NOTE: 1 DOM access here
|
||||||
var offsetParent = element.offsetParent;
|
var offsetParent = element.offsetParent || null;
|
||||||
// Skip hidden elements which don't have an offsetParent
|
// Skip hidden elements which don't have an offsetParent
|
||||||
while (offsetParent === noOffsetParent && element.nextElementSibling) {
|
while (offsetParent === noOffsetParent && element.nextElementSibling) {
|
||||||
offsetParent = (element = element.nextElementSibling).offsetParent;
|
offsetParent = (element = element.nextElementSibling).offsetParent;
|
||||||
|
@ -1697,9 +1673,9 @@
|
||||||
return element ? element.ownerDocument.documentElement : document.documentElement;
|
return element ? element.ownerDocument.documentElement : document.documentElement;
|
||||||
}
|
}
|
||||||
|
|
||||||
// .offsetParent will return the closest TD or TABLE in case
|
// .offsetParent will return the closest TH, TD or TABLE in case
|
||||||
// no offsetParent is present, I hate this job...
|
// no offsetParent is present, I hate this job...
|
||||||
if (['TD', 'TABLE'].indexOf(offsetParent.nodeName) !== -1 && getStyleComputedProperty(offsetParent, 'position') === 'static') {
|
if (['TH', 'TD', 'TABLE'].indexOf(offsetParent.nodeName) !== -1 && getStyleComputedProperty(offsetParent, 'position') === 'static') {
|
||||||
return getOffsetParent(offsetParent);
|
return getOffsetParent(offsetParent);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2247,7 +2223,8 @@
|
||||||
* @returns {Object} object containing width and height properties
|
* @returns {Object} object containing width and height properties
|
||||||
*/
|
*/
|
||||||
function getOuterSizes(element) {
|
function getOuterSizes(element) {
|
||||||
var styles = getComputedStyle(element);
|
var window = element.ownerDocument.defaultView;
|
||||||
|
var styles = window.getComputedStyle(element);
|
||||||
var x = parseFloat(styles.marginTop) + parseFloat(styles.marginBottom);
|
var x = parseFloat(styles.marginTop) + parseFloat(styles.marginBottom);
|
||||||
var y = parseFloat(styles.marginLeft) + parseFloat(styles.marginRight);
|
var y = parseFloat(styles.marginLeft) + parseFloat(styles.marginRight);
|
||||||
var result = {
|
var result = {
|
||||||
|
@ -4028,13 +4005,6 @@
|
||||||
Popper.placements = placements;
|
Popper.placements = placements;
|
||||||
Popper.Defaults = Defaults;
|
Popper.Defaults = Defaults;
|
||||||
|
|
||||||
/**
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
* Bootstrap (v4.1.3): dropdown.js
|
|
||||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ------------------------------------------------------------------------
|
* ------------------------------------------------------------------------
|
||||||
* Constants
|
* Constants
|
||||||
|
@ -4557,13 +4527,6 @@
|
||||||
return Dropdown._jQueryInterface;
|
return Dropdown._jQueryInterface;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
* Bootstrap (v4.1.3): modal.js
|
|
||||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ------------------------------------------------------------------------
|
* ------------------------------------------------------------------------
|
||||||
* Constants
|
* Constants
|
||||||
|
@ -4675,8 +4638,6 @@
|
||||||
|
|
||||||
this._adjustDialog();
|
this._adjustDialog();
|
||||||
|
|
||||||
$(document.body).addClass(ClassName$5.OPEN);
|
|
||||||
|
|
||||||
this._setEscapeEvent();
|
this._setEscapeEvent();
|
||||||
|
|
||||||
this._setResizeEvent();
|
this._setResizeEvent();
|
||||||
|
@ -5011,6 +4972,8 @@
|
||||||
var calculatedPadding = $(document.body).css('padding-right');
|
var calculatedPadding = $(document.body).css('padding-right');
|
||||||
$(document.body).data('padding-right', actualPadding).css('padding-right', parseFloat(calculatedPadding) + this._scrollbarWidth + "px");
|
$(document.body).data('padding-right', actualPadding).css('padding-right', parseFloat(calculatedPadding) + this._scrollbarWidth + "px");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$(document.body).addClass(ClassName$5.OPEN);
|
||||||
};
|
};
|
||||||
|
|
||||||
_proto._resetScrollbar = function _resetScrollbar() {
|
_proto._resetScrollbar = function _resetScrollbar() {
|
||||||
|
@ -5136,13 +5099,6 @@
|
||||||
return Modal._jQueryInterface;
|
return Modal._jQueryInterface;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
* Bootstrap (v4.1.3): tooltip.js
|
|
||||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ------------------------------------------------------------------------
|
* ------------------------------------------------------------------------
|
||||||
* Constants
|
* Constants
|
||||||
|
@ -5390,7 +5346,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onUpdate: function onUpdate(data) {
|
onUpdate: function onUpdate(data) {
|
||||||
_this._handlePopperPlacementChange(data);
|
return _this._handlePopperPlacementChange(data);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
$(tip).addClass(ClassName$6.SHOW); // If this is a touch-enabled device we add extra
|
$(tip).addClass(ClassName$6.SHOW); // If this is a touch-enabled device we add extra
|
||||||
|
@ -5804,13 +5760,6 @@
|
||||||
return Tooltip._jQueryInterface;
|
return Tooltip._jQueryInterface;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
* Bootstrap (v4.1.3): popover.js
|
|
||||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ------------------------------------------------------------------------
|
* ------------------------------------------------------------------------
|
||||||
* Constants
|
* Constants
|
||||||
|
@ -5998,13 +5947,6 @@
|
||||||
return Popover._jQueryInterface;
|
return Popover._jQueryInterface;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
* Bootstrap (v4.1.3): scrollspy.js
|
|
||||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ------------------------------------------------------------------------
|
* ------------------------------------------------------------------------
|
||||||
* Constants
|
* Constants
|
||||||
|
@ -6213,12 +6155,10 @@
|
||||||
|
|
||||||
this._clear();
|
this._clear();
|
||||||
|
|
||||||
var queries = this._selector.split(','); // eslint-disable-next-line arrow-body-style
|
var queries = this._selector.split(',').map(function (selector) {
|
||||||
|
return selector + "[data-target=\"" + target + "\"]," + selector + "[href=\"" + target + "\"]";
|
||||||
|
|
||||||
queries = queries.map(function (selector) {
|
|
||||||
return selector + "[data-target=\"" + target + "\"]," + (selector + "[href=\"" + target + "\"]");
|
|
||||||
});
|
});
|
||||||
|
|
||||||
var $link = $([].slice.call(document.querySelectorAll(queries.join(','))));
|
var $link = $([].slice.call(document.querySelectorAll(queries.join(','))));
|
||||||
|
|
||||||
if ($link.hasClass(ClassName$8.DROPDOWN_ITEM)) {
|
if ($link.hasClass(ClassName$8.DROPDOWN_ITEM)) {
|
||||||
|
@ -6240,8 +6180,11 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
_proto._clear = function _clear() {
|
_proto._clear = function _clear() {
|
||||||
var nodes = [].slice.call(document.querySelectorAll(this._selector));
|
[].slice.call(document.querySelectorAll(this._selector)).filter(function (node) {
|
||||||
$(nodes).filter(Selector$8.ACTIVE).removeClass(ClassName$8.ACTIVE);
|
return node.classList.contains(ClassName$8.ACTIVE);
|
||||||
|
}).forEach(function (node) {
|
||||||
|
return node.classList.remove(ClassName$8.ACTIVE);
|
||||||
|
});
|
||||||
}; // Static
|
}; // Static
|
||||||
|
|
||||||
|
|
||||||
|
@ -6311,13 +6254,6 @@
|
||||||
return ScrollSpy._jQueryInterface;
|
return ScrollSpy._jQueryInterface;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
* Bootstrap (v4.1.3): tab.js
|
|
||||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ------------------------------------------------------------------------
|
* ------------------------------------------------------------------------
|
||||||
* Constants
|
* Constants
|
||||||
|
@ -6384,7 +6320,7 @@
|
||||||
var selector = Util.getSelectorFromElement(this._element);
|
var selector = Util.getSelectorFromElement(this._element);
|
||||||
|
|
||||||
if (listElement) {
|
if (listElement) {
|
||||||
var itemSelector = listElement.nodeName === 'UL' ? Selector$9.ACTIVE_UL : Selector$9.ACTIVE;
|
var itemSelector = listElement.nodeName === 'UL' || listElement.nodeName === 'OL' ? Selector$9.ACTIVE_UL : Selector$9.ACTIVE;
|
||||||
previous = $.makeArray($(listElement).find(itemSelector));
|
previous = $.makeArray($(listElement).find(itemSelector));
|
||||||
previous = previous[previous.length - 1];
|
previous = previous[previous.length - 1];
|
||||||
}
|
}
|
||||||
|
@ -6439,14 +6375,7 @@
|
||||||
_proto._activate = function _activate(element, container, callback) {
|
_proto._activate = function _activate(element, container, callback) {
|
||||||
var _this2 = this;
|
var _this2 = this;
|
||||||
|
|
||||||
var activeElements;
|
var activeElements = container && (container.nodeName === 'UL' || container.nodeName === 'OL') ? $(container).find(Selector$9.ACTIVE_UL) : $(container).children(Selector$9.ACTIVE);
|
||||||
|
|
||||||
if (container && container.nodeName === 'UL') {
|
|
||||||
activeElements = $(container).find(Selector$9.ACTIVE_UL);
|
|
||||||
} else {
|
|
||||||
activeElements = $(container).children(Selector$9.ACTIVE);
|
|
||||||
}
|
|
||||||
|
|
||||||
var active = activeElements[0];
|
var active = activeElements[0];
|
||||||
var isTransitioning = callback && active && $(active).hasClass(ClassName$9.FADE);
|
var isTransitioning = callback && active && $(active).hasClass(ClassName$9.FADE);
|
||||||
|
|
||||||
|
@ -6557,47 +6486,40 @@
|
||||||
return Tab._jQueryInterface;
|
return Tab._jQueryInterface;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
* Bootstrap (v4.1.3): toast.js
|
|
||||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
var Toast = function ($$$1) {
|
|
||||||
/**
|
/**
|
||||||
* ------------------------------------------------------------------------
|
* ------------------------------------------------------------------------
|
||||||
* Constants
|
* Constants
|
||||||
* ------------------------------------------------------------------------
|
* ------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
var NAME = 'toast';
|
|
||||||
var VERSION = '4.1.3';
|
var NAME$a = 'toast';
|
||||||
var DATA_KEY = 'bs.toast';
|
var VERSION$a = '4.1.3';
|
||||||
var EVENT_KEY = "." + DATA_KEY;
|
var DATA_KEY$a = 'bs.toast';
|
||||||
var JQUERY_NO_CONFLICT = $$$1.fn[NAME];
|
var EVENT_KEY$a = "." + DATA_KEY$a;
|
||||||
var Event = {
|
var JQUERY_NO_CONFLICT$a = $.fn[NAME$a];
|
||||||
CLICK_DISMISS: "click.dismiss" + EVENT_KEY,
|
var Event$a = {
|
||||||
HIDE: "hide" + EVENT_KEY,
|
CLICK_DISMISS: "click.dismiss" + EVENT_KEY$a,
|
||||||
HIDDEN: "hidden" + EVENT_KEY,
|
HIDE: "hide" + EVENT_KEY$a,
|
||||||
SHOW: "show" + EVENT_KEY,
|
HIDDEN: "hidden" + EVENT_KEY$a,
|
||||||
SHOWN: "shown" + EVENT_KEY
|
SHOW: "show" + EVENT_KEY$a,
|
||||||
|
SHOWN: "shown" + EVENT_KEY$a
|
||||||
};
|
};
|
||||||
var ClassName = {
|
var ClassName$a = {
|
||||||
FADE: 'fade',
|
FADE: 'fade',
|
||||||
HIDE: 'hide',
|
HIDE: 'hide',
|
||||||
SHOW: 'show'
|
SHOW: 'show'
|
||||||
};
|
};
|
||||||
var DefaultType = {
|
var DefaultType$7 = {
|
||||||
animation: 'boolean',
|
animation: 'boolean',
|
||||||
autohide: 'boolean',
|
autohide: 'boolean',
|
||||||
delay: 'number'
|
delay: 'number'
|
||||||
};
|
};
|
||||||
var Default = {
|
var Default$7 = {
|
||||||
animation: true,
|
animation: true,
|
||||||
autohide: true,
|
autohide: true,
|
||||||
delay: 500
|
delay: 500
|
||||||
};
|
};
|
||||||
var Selector = {
|
var Selector$a = {
|
||||||
DATA_DISMISS: '[data-dismiss="toast"]'
|
DATA_DISMISS: '[data-dismiss="toast"]'
|
||||||
/**
|
/**
|
||||||
* ------------------------------------------------------------------------
|
* ------------------------------------------------------------------------
|
||||||
|
@ -6625,25 +6547,25 @@
|
||||||
_proto.show = function show() {
|
_proto.show = function show() {
|
||||||
var _this = this;
|
var _this = this;
|
||||||
|
|
||||||
$$$1(this._element).trigger(Event.SHOW);
|
$(this._element).trigger(Event$a.SHOW);
|
||||||
|
|
||||||
if (this._config.animation) {
|
if (this._config.animation) {
|
||||||
this._element.classList.add(ClassName.FADE);
|
this._element.classList.add(ClassName$a.FADE);
|
||||||
}
|
}
|
||||||
|
|
||||||
var complete = function complete() {
|
var complete = function complete() {
|
||||||
$$$1(_this._element).trigger(Event.SHOWN);
|
$(_this._element).trigger(Event$a.SHOWN);
|
||||||
|
|
||||||
if (_this._config.autohide) {
|
if (_this._config.autohide) {
|
||||||
_this.hide();
|
_this.hide();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
this._element.classList.add(ClassName.SHOW);
|
this._element.classList.add(ClassName$a.SHOW);
|
||||||
|
|
||||||
if (this._config.animation) {
|
if (this._config.animation) {
|
||||||
var transitionDuration = Util.getTransitionDurationFromElement(this._element);
|
var transitionDuration = Util.getTransitionDurationFromElement(this._element);
|
||||||
$$$1(this._element).one(Util.TRANSITION_END, complete).emulateTransitionEnd(transitionDuration);
|
$(this._element).one(Util.TRANSITION_END, complete).emulateTransitionEnd(transitionDuration);
|
||||||
} else {
|
} else {
|
||||||
complete();
|
complete();
|
||||||
}
|
}
|
||||||
|
@ -6652,11 +6574,11 @@
|
||||||
_proto.hide = function hide(withoutTimeout) {
|
_proto.hide = function hide(withoutTimeout) {
|
||||||
var _this2 = this;
|
var _this2 = this;
|
||||||
|
|
||||||
if (!this._element.classList.contains(ClassName.SHOW)) {
|
if (!this._element.classList.contains(ClassName$a.SHOW)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$$$1(this._element).trigger(Event.HIDE);
|
$(this._element).trigger(Event$a.HIDE);
|
||||||
|
|
||||||
if (withoutTimeout) {
|
if (withoutTimeout) {
|
||||||
this._close();
|
this._close();
|
||||||
|
@ -6671,27 +6593,27 @@
|
||||||
clearTimeout(this._timeout);
|
clearTimeout(this._timeout);
|
||||||
this._timeout = null;
|
this._timeout = null;
|
||||||
|
|
||||||
if (this._element.classList.contains(ClassName.SHOW)) {
|
if (this._element.classList.contains(ClassName$a.SHOW)) {
|
||||||
this._element.classList.remove(ClassName.SHOW);
|
this._element.classList.remove(ClassName$a.SHOW);
|
||||||
}
|
}
|
||||||
|
|
||||||
$$$1(this._element).off(Event.CLICK_DISMISS);
|
$(this._element).off(Event$a.CLICK_DISMISS);
|
||||||
$$$1.removeData(this._element, DATA_KEY);
|
$.removeData(this._element, DATA_KEY$a);
|
||||||
this._element = null;
|
this._element = null;
|
||||||
this._config = null;
|
this._config = null;
|
||||||
}; // Private
|
}; // Private
|
||||||
|
|
||||||
|
|
||||||
_proto._getConfig = function _getConfig(config) {
|
_proto._getConfig = function _getConfig(config) {
|
||||||
config = _objectSpread({}, Default, $$$1(this._element).data(), typeof config === 'object' && config ? config : {});
|
config = _objectSpread({}, Default$7, $(this._element).data(), typeof config === 'object' && config ? config : {});
|
||||||
Util.typeCheckConfig(NAME, config, this.constructor.DefaultType);
|
Util.typeCheckConfig(NAME$a, config, this.constructor.DefaultType);
|
||||||
return config;
|
return config;
|
||||||
};
|
};
|
||||||
|
|
||||||
_proto._setListeners = function _setListeners() {
|
_proto._setListeners = function _setListeners() {
|
||||||
var _this3 = this;
|
var _this3 = this;
|
||||||
|
|
||||||
$$$1(this._element).on(Event.CLICK_DISMISS, Selector.DATA_DISMISS, function () {
|
$(this._element).on(Event$a.CLICK_DISMISS, Selector$a.DATA_DISMISS, function () {
|
||||||
return _this3.hide(true);
|
return _this3.hide(true);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
@ -6700,14 +6622,14 @@
|
||||||
var _this4 = this;
|
var _this4 = this;
|
||||||
|
|
||||||
var complete = function complete() {
|
var complete = function complete() {
|
||||||
$$$1(_this4._element).trigger(Event.HIDDEN);
|
$(_this4._element).trigger(Event$a.HIDDEN);
|
||||||
};
|
};
|
||||||
|
|
||||||
this._element.classList.remove(ClassName.SHOW);
|
this._element.classList.remove(ClassName$a.SHOW);
|
||||||
|
|
||||||
if (this._config.animation) {
|
if (this._config.animation) {
|
||||||
var transitionDuration = Util.getTransitionDurationFromElement(this._element);
|
var transitionDuration = Util.getTransitionDurationFromElement(this._element);
|
||||||
$$$1(this._element).one(Util.TRANSITION_END, complete).emulateTransitionEnd(transitionDuration);
|
$(this._element).one(Util.TRANSITION_END, complete).emulateTransitionEnd(transitionDuration);
|
||||||
} else {
|
} else {
|
||||||
complete();
|
complete();
|
||||||
}
|
}
|
||||||
|
@ -6716,14 +6638,14 @@
|
||||||
|
|
||||||
Toast._jQueryInterface = function _jQueryInterface(config) {
|
Toast._jQueryInterface = function _jQueryInterface(config) {
|
||||||
return this.each(function () {
|
return this.each(function () {
|
||||||
var $element = $$$1(this);
|
var $element = $(this);
|
||||||
var data = $element.data(DATA_KEY);
|
var data = $element.data(DATA_KEY$a);
|
||||||
|
|
||||||
var _config = typeof config === 'object' && config;
|
var _config = typeof config === 'object' && config;
|
||||||
|
|
||||||
if (!data) {
|
if (!data) {
|
||||||
data = new Toast(this, _config);
|
data = new Toast(this, _config);
|
||||||
$element.data(DATA_KEY, data);
|
$element.data(DATA_KEY$a, data);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (typeof config === 'string') {
|
if (typeof config === 'string') {
|
||||||
|
@ -6739,12 +6661,12 @@
|
||||||
_createClass(Toast, null, [{
|
_createClass(Toast, null, [{
|
||||||
key: "VERSION",
|
key: "VERSION",
|
||||||
get: function get() {
|
get: function get() {
|
||||||
return VERSION;
|
return VERSION$a;
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
key: "DefaultType",
|
key: "DefaultType",
|
||||||
get: function get() {
|
get: function get() {
|
||||||
return DefaultType;
|
return DefaultType$7;
|
||||||
}
|
}
|
||||||
}]);
|
}]);
|
||||||
|
|
||||||
|
@ -6757,17 +6679,14 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
$$$1.fn[NAME] = Toast._jQueryInterface;
|
$.fn[NAME$a] = Toast._jQueryInterface;
|
||||||
$$$1.fn[NAME].Constructor = Toast;
|
$.fn[NAME$a].Constructor = Toast;
|
||||||
|
|
||||||
$$$1.fn[NAME].noConflict = function () {
|
$.fn[NAME$a].noConflict = function () {
|
||||||
$$$1.fn[NAME] = JQUERY_NO_CONFLICT;
|
$.fn[NAME$a] = JQUERY_NO_CONFLICT$a;
|
||||||
return Toast._jQueryInterface;
|
return Toast._jQueryInterface;
|
||||||
};
|
};
|
||||||
|
|
||||||
return Toast;
|
|
||||||
}($);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* --------------------------------------------------------------------------
|
* --------------------------------------------------------------------------
|
||||||
* Bootstrap (v4.1.3): index.js
|
* Bootstrap (v4.1.3): index.js
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -4,13 +4,13 @@
|
||||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||||
*/
|
*/
|
||||||
(function (global, factory) {
|
(function (global, factory) {
|
||||||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('jquery'), require('popper.js')) :
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('popper.js'), require('jquery')) :
|
||||||
typeof define === 'function' && define.amd ? define(['exports', 'jquery', 'popper.js'], factory) :
|
typeof define === 'function' && define.amd ? define(['exports', 'popper.js', 'jquery'], factory) :
|
||||||
(factory((global.bootstrap = {}),global.jQuery,global.Popper));
|
(factory((global.bootstrap = {}),global.Popper,global.jQuery));
|
||||||
}(this, (function (exports,$,Popper) { 'use strict';
|
}(this, (function (exports,Popper,$) { 'use strict';
|
||||||
|
|
||||||
$ = $ && $.hasOwnProperty('default') ? $['default'] : $;
|
|
||||||
Popper = Popper && Popper.hasOwnProperty('default') ? Popper['default'] : Popper;
|
Popper = Popper && Popper.hasOwnProperty('default') ? Popper['default'] : Popper;
|
||||||
|
$ = $ && $.hasOwnProperty('default') ? $['default'] : $;
|
||||||
|
|
||||||
function _defineProperties(target, props) {
|
function _defineProperties(target, props) {
|
||||||
for (var i = 0; i < props.length; i++) {
|
for (var i = 0; i < props.length; i++) {
|
||||||
|
@ -74,7 +74,6 @@
|
||||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||||
* --------------------------------------------------------------------------
|
* --------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ------------------------------------------------------------------------
|
* ------------------------------------------------------------------------
|
||||||
* Private TransitionEnd Helpers
|
* Private TransitionEnd Helpers
|
||||||
|
@ -198,13 +197,6 @@
|
||||||
};
|
};
|
||||||
setTransitionEndSupport();
|
setTransitionEndSupport();
|
||||||
|
|
||||||
/**
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
* Bootstrap (v4.1.3): alert.js
|
|
||||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ------------------------------------------------------------------------
|
* ------------------------------------------------------------------------
|
||||||
* Constants
|
* Constants
|
||||||
|
@ -370,13 +362,6 @@
|
||||||
return Alert._jQueryInterface;
|
return Alert._jQueryInterface;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
* Bootstrap (v4.1.3): button.js
|
|
||||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ------------------------------------------------------------------------
|
* ------------------------------------------------------------------------
|
||||||
* Constants
|
* Constants
|
||||||
|
@ -582,10 +567,7 @@
|
||||||
TOUCHMOVE: "touchmove" + EVENT_KEY$2,
|
TOUCHMOVE: "touchmove" + EVENT_KEY$2,
|
||||||
TOUCHEND: "touchend" + EVENT_KEY$2,
|
TOUCHEND: "touchend" + EVENT_KEY$2,
|
||||||
POINTERDOWN: "pointerdown" + EVENT_KEY$2,
|
POINTERDOWN: "pointerdown" + EVENT_KEY$2,
|
||||||
POINTERMOVE: "pointermove" + EVENT_KEY$2,
|
|
||||||
POINTERUP: "pointerup" + EVENT_KEY$2,
|
POINTERUP: "pointerup" + EVENT_KEY$2,
|
||||||
POINTERLEAVE: "pointerleave" + EVENT_KEY$2,
|
|
||||||
POINTERCANCEL: "pointercancel" + EVENT_KEY$2,
|
|
||||||
DRAG_START: "dragstart" + EVENT_KEY$2,
|
DRAG_START: "dragstart" + EVENT_KEY$2,
|
||||||
LOAD_DATA_API: "load" + EVENT_KEY$2 + DATA_API_KEY$2,
|
LOAD_DATA_API: "load" + EVENT_KEY$2 + DATA_API_KEY$2,
|
||||||
CLICK_DATA_API: "click" + EVENT_KEY$2 + DATA_API_KEY$2
|
CLICK_DATA_API: "click" + EVENT_KEY$2 + DATA_API_KEY$2
|
||||||
|
@ -792,7 +774,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
var start = function start(event) {
|
var start = function start(event) {
|
||||||
if (_this3._pointerEvent && (event.originalEvent.pointerType === PointerType.TOUCH || event.originalEvent.pointerType === PointerType.PEN)) {
|
if (_this3._pointerEvent && PointerType[event.originalEvent.pointerType.toUpperCase()]) {
|
||||||
_this3.touchStartX = event.originalEvent.clientX;
|
_this3.touchStartX = event.originalEvent.clientX;
|
||||||
} else if (!_this3._pointerEvent) {
|
} else if (!_this3._pointerEvent) {
|
||||||
_this3.touchStartX = event.originalEvent.touches[0].clientX;
|
_this3.touchStartX = event.originalEvent.touches[0].clientX;
|
||||||
|
@ -809,7 +791,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
var end = function end(event) {
|
var end = function end(event) {
|
||||||
if (_this3._pointerEvent && (event.originalEvent.pointerType === PointerType.TOUCH || event.originalEvent.pointerType === PointerType.PEN)) {
|
if (_this3._pointerEvent && PointerType[event.originalEvent.pointerType.toUpperCase()]) {
|
||||||
_this3.touchDeltaX = event.originalEvent.clientX - _this3.touchStartX;
|
_this3.touchDeltaX = event.originalEvent.clientX - _this3.touchStartX;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1132,13 +1114,6 @@
|
||||||
return Carousel._jQueryInterface;
|
return Carousel._jQueryInterface;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
* Bootstrap (v4.1.3): collapse.js
|
|
||||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ------------------------------------------------------------------------
|
* ------------------------------------------------------------------------
|
||||||
* Constants
|
* Constants
|
||||||
|
@ -1194,7 +1169,7 @@
|
||||||
this._isTransitioning = false;
|
this._isTransitioning = false;
|
||||||
this._element = element;
|
this._element = element;
|
||||||
this._config = this._getConfig(config);
|
this._config = this._getConfig(config);
|
||||||
this._triggerArray = $.makeArray(document.querySelectorAll("[data-toggle=\"collapse\"][href=\"#" + element.id + "\"]," + ("[data-toggle=\"collapse\"][data-target=\"#" + element.id + "\"]")));
|
this._triggerArray = [].slice.call(document.querySelectorAll("[data-toggle=\"collapse\"][href=\"#" + element.id + "\"]," + ("[data-toggle=\"collapse\"][data-target=\"#" + element.id + "\"]")));
|
||||||
var toggleList = [].slice.call(document.querySelectorAll(Selector$3.DATA_TOGGLE));
|
var toggleList = [].slice.call(document.querySelectorAll(Selector$3.DATA_TOGGLE));
|
||||||
|
|
||||||
for (var i = 0, len = toggleList.length; i < len; i++) {
|
for (var i = 0, len = toggleList.length; i < len; i++) {
|
||||||
|
@ -1499,13 +1474,6 @@
|
||||||
return Collapse._jQueryInterface;
|
return Collapse._jQueryInterface;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
* Bootstrap (v4.1.3): dropdown.js
|
|
||||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ------------------------------------------------------------------------
|
* ------------------------------------------------------------------------
|
||||||
* Constants
|
* Constants
|
||||||
|
@ -2028,13 +1996,6 @@
|
||||||
return Dropdown._jQueryInterface;
|
return Dropdown._jQueryInterface;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
* Bootstrap (v4.1.3): modal.js
|
|
||||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ------------------------------------------------------------------------
|
* ------------------------------------------------------------------------
|
||||||
* Constants
|
* Constants
|
||||||
|
@ -2146,8 +2107,6 @@
|
||||||
|
|
||||||
this._adjustDialog();
|
this._adjustDialog();
|
||||||
|
|
||||||
$(document.body).addClass(ClassName$5.OPEN);
|
|
||||||
|
|
||||||
this._setEscapeEvent();
|
this._setEscapeEvent();
|
||||||
|
|
||||||
this._setResizeEvent();
|
this._setResizeEvent();
|
||||||
|
@ -2482,6 +2441,8 @@
|
||||||
var calculatedPadding = $(document.body).css('padding-right');
|
var calculatedPadding = $(document.body).css('padding-right');
|
||||||
$(document.body).data('padding-right', actualPadding).css('padding-right', parseFloat(calculatedPadding) + this._scrollbarWidth + "px");
|
$(document.body).data('padding-right', actualPadding).css('padding-right', parseFloat(calculatedPadding) + this._scrollbarWidth + "px");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$(document.body).addClass(ClassName$5.OPEN);
|
||||||
};
|
};
|
||||||
|
|
||||||
_proto._resetScrollbar = function _resetScrollbar() {
|
_proto._resetScrollbar = function _resetScrollbar() {
|
||||||
|
@ -2607,13 +2568,6 @@
|
||||||
return Modal._jQueryInterface;
|
return Modal._jQueryInterface;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
* Bootstrap (v4.1.3): tooltip.js
|
|
||||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ------------------------------------------------------------------------
|
* ------------------------------------------------------------------------
|
||||||
* Constants
|
* Constants
|
||||||
|
@ -2861,7 +2815,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onUpdate: function onUpdate(data) {
|
onUpdate: function onUpdate(data) {
|
||||||
_this._handlePopperPlacementChange(data);
|
return _this._handlePopperPlacementChange(data);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
$(tip).addClass(ClassName$6.SHOW); // If this is a touch-enabled device we add extra
|
$(tip).addClass(ClassName$6.SHOW); // If this is a touch-enabled device we add extra
|
||||||
|
@ -3275,13 +3229,6 @@
|
||||||
return Tooltip._jQueryInterface;
|
return Tooltip._jQueryInterface;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
* Bootstrap (v4.1.3): popover.js
|
|
||||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ------------------------------------------------------------------------
|
* ------------------------------------------------------------------------
|
||||||
* Constants
|
* Constants
|
||||||
|
@ -3469,13 +3416,6 @@
|
||||||
return Popover._jQueryInterface;
|
return Popover._jQueryInterface;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
* Bootstrap (v4.1.3): scrollspy.js
|
|
||||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ------------------------------------------------------------------------
|
* ------------------------------------------------------------------------
|
||||||
* Constants
|
* Constants
|
||||||
|
@ -3684,12 +3624,10 @@
|
||||||
|
|
||||||
this._clear();
|
this._clear();
|
||||||
|
|
||||||
var queries = this._selector.split(','); // eslint-disable-next-line arrow-body-style
|
var queries = this._selector.split(',').map(function (selector) {
|
||||||
|
return selector + "[data-target=\"" + target + "\"]," + selector + "[href=\"" + target + "\"]";
|
||||||
|
|
||||||
queries = queries.map(function (selector) {
|
|
||||||
return selector + "[data-target=\"" + target + "\"]," + (selector + "[href=\"" + target + "\"]");
|
|
||||||
});
|
});
|
||||||
|
|
||||||
var $link = $([].slice.call(document.querySelectorAll(queries.join(','))));
|
var $link = $([].slice.call(document.querySelectorAll(queries.join(','))));
|
||||||
|
|
||||||
if ($link.hasClass(ClassName$8.DROPDOWN_ITEM)) {
|
if ($link.hasClass(ClassName$8.DROPDOWN_ITEM)) {
|
||||||
|
@ -3711,8 +3649,11 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
_proto._clear = function _clear() {
|
_proto._clear = function _clear() {
|
||||||
var nodes = [].slice.call(document.querySelectorAll(this._selector));
|
[].slice.call(document.querySelectorAll(this._selector)).filter(function (node) {
|
||||||
$(nodes).filter(Selector$8.ACTIVE).removeClass(ClassName$8.ACTIVE);
|
return node.classList.contains(ClassName$8.ACTIVE);
|
||||||
|
}).forEach(function (node) {
|
||||||
|
return node.classList.remove(ClassName$8.ACTIVE);
|
||||||
|
});
|
||||||
}; // Static
|
}; // Static
|
||||||
|
|
||||||
|
|
||||||
|
@ -3782,13 +3723,6 @@
|
||||||
return ScrollSpy._jQueryInterface;
|
return ScrollSpy._jQueryInterface;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
* Bootstrap (v4.1.3): tab.js
|
|
||||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ------------------------------------------------------------------------
|
* ------------------------------------------------------------------------
|
||||||
* Constants
|
* Constants
|
||||||
|
@ -3855,7 +3789,7 @@
|
||||||
var selector = Util.getSelectorFromElement(this._element);
|
var selector = Util.getSelectorFromElement(this._element);
|
||||||
|
|
||||||
if (listElement) {
|
if (listElement) {
|
||||||
var itemSelector = listElement.nodeName === 'UL' ? Selector$9.ACTIVE_UL : Selector$9.ACTIVE;
|
var itemSelector = listElement.nodeName === 'UL' || listElement.nodeName === 'OL' ? Selector$9.ACTIVE_UL : Selector$9.ACTIVE;
|
||||||
previous = $.makeArray($(listElement).find(itemSelector));
|
previous = $.makeArray($(listElement).find(itemSelector));
|
||||||
previous = previous[previous.length - 1];
|
previous = previous[previous.length - 1];
|
||||||
}
|
}
|
||||||
|
@ -3910,14 +3844,7 @@
|
||||||
_proto._activate = function _activate(element, container, callback) {
|
_proto._activate = function _activate(element, container, callback) {
|
||||||
var _this2 = this;
|
var _this2 = this;
|
||||||
|
|
||||||
var activeElements;
|
var activeElements = container && (container.nodeName === 'UL' || container.nodeName === 'OL') ? $(container).find(Selector$9.ACTIVE_UL) : $(container).children(Selector$9.ACTIVE);
|
||||||
|
|
||||||
if (container && container.nodeName === 'UL') {
|
|
||||||
activeElements = $(container).find(Selector$9.ACTIVE_UL);
|
|
||||||
} else {
|
|
||||||
activeElements = $(container).children(Selector$9.ACTIVE);
|
|
||||||
}
|
|
||||||
|
|
||||||
var active = activeElements[0];
|
var active = activeElements[0];
|
||||||
var isTransitioning = callback && active && $(active).hasClass(ClassName$9.FADE);
|
var isTransitioning = callback && active && $(active).hasClass(ClassName$9.FADE);
|
||||||
|
|
||||||
|
@ -4028,47 +3955,40 @@
|
||||||
return Tab._jQueryInterface;
|
return Tab._jQueryInterface;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
* Bootstrap (v4.1.3): toast.js
|
|
||||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
var Toast = function ($$$1) {
|
|
||||||
/**
|
/**
|
||||||
* ------------------------------------------------------------------------
|
* ------------------------------------------------------------------------
|
||||||
* Constants
|
* Constants
|
||||||
* ------------------------------------------------------------------------
|
* ------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
var NAME = 'toast';
|
|
||||||
var VERSION = '4.1.3';
|
var NAME$a = 'toast';
|
||||||
var DATA_KEY = 'bs.toast';
|
var VERSION$a = '4.1.3';
|
||||||
var EVENT_KEY = "." + DATA_KEY;
|
var DATA_KEY$a = 'bs.toast';
|
||||||
var JQUERY_NO_CONFLICT = $$$1.fn[NAME];
|
var EVENT_KEY$a = "." + DATA_KEY$a;
|
||||||
var Event = {
|
var JQUERY_NO_CONFLICT$a = $.fn[NAME$a];
|
||||||
CLICK_DISMISS: "click.dismiss" + EVENT_KEY,
|
var Event$a = {
|
||||||
HIDE: "hide" + EVENT_KEY,
|
CLICK_DISMISS: "click.dismiss" + EVENT_KEY$a,
|
||||||
HIDDEN: "hidden" + EVENT_KEY,
|
HIDE: "hide" + EVENT_KEY$a,
|
||||||
SHOW: "show" + EVENT_KEY,
|
HIDDEN: "hidden" + EVENT_KEY$a,
|
||||||
SHOWN: "shown" + EVENT_KEY
|
SHOW: "show" + EVENT_KEY$a,
|
||||||
|
SHOWN: "shown" + EVENT_KEY$a
|
||||||
};
|
};
|
||||||
var ClassName = {
|
var ClassName$a = {
|
||||||
FADE: 'fade',
|
FADE: 'fade',
|
||||||
HIDE: 'hide',
|
HIDE: 'hide',
|
||||||
SHOW: 'show'
|
SHOW: 'show'
|
||||||
};
|
};
|
||||||
var DefaultType = {
|
var DefaultType$7 = {
|
||||||
animation: 'boolean',
|
animation: 'boolean',
|
||||||
autohide: 'boolean',
|
autohide: 'boolean',
|
||||||
delay: 'number'
|
delay: 'number'
|
||||||
};
|
};
|
||||||
var Default = {
|
var Default$7 = {
|
||||||
animation: true,
|
animation: true,
|
||||||
autohide: true,
|
autohide: true,
|
||||||
delay: 500
|
delay: 500
|
||||||
};
|
};
|
||||||
var Selector = {
|
var Selector$a = {
|
||||||
DATA_DISMISS: '[data-dismiss="toast"]'
|
DATA_DISMISS: '[data-dismiss="toast"]'
|
||||||
/**
|
/**
|
||||||
* ------------------------------------------------------------------------
|
* ------------------------------------------------------------------------
|
||||||
|
@ -4096,25 +4016,25 @@
|
||||||
_proto.show = function show() {
|
_proto.show = function show() {
|
||||||
var _this = this;
|
var _this = this;
|
||||||
|
|
||||||
$$$1(this._element).trigger(Event.SHOW);
|
$(this._element).trigger(Event$a.SHOW);
|
||||||
|
|
||||||
if (this._config.animation) {
|
if (this._config.animation) {
|
||||||
this._element.classList.add(ClassName.FADE);
|
this._element.classList.add(ClassName$a.FADE);
|
||||||
}
|
}
|
||||||
|
|
||||||
var complete = function complete() {
|
var complete = function complete() {
|
||||||
$$$1(_this._element).trigger(Event.SHOWN);
|
$(_this._element).trigger(Event$a.SHOWN);
|
||||||
|
|
||||||
if (_this._config.autohide) {
|
if (_this._config.autohide) {
|
||||||
_this.hide();
|
_this.hide();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
this._element.classList.add(ClassName.SHOW);
|
this._element.classList.add(ClassName$a.SHOW);
|
||||||
|
|
||||||
if (this._config.animation) {
|
if (this._config.animation) {
|
||||||
var transitionDuration = Util.getTransitionDurationFromElement(this._element);
|
var transitionDuration = Util.getTransitionDurationFromElement(this._element);
|
||||||
$$$1(this._element).one(Util.TRANSITION_END, complete).emulateTransitionEnd(transitionDuration);
|
$(this._element).one(Util.TRANSITION_END, complete).emulateTransitionEnd(transitionDuration);
|
||||||
} else {
|
} else {
|
||||||
complete();
|
complete();
|
||||||
}
|
}
|
||||||
|
@ -4123,11 +4043,11 @@
|
||||||
_proto.hide = function hide(withoutTimeout) {
|
_proto.hide = function hide(withoutTimeout) {
|
||||||
var _this2 = this;
|
var _this2 = this;
|
||||||
|
|
||||||
if (!this._element.classList.contains(ClassName.SHOW)) {
|
if (!this._element.classList.contains(ClassName$a.SHOW)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$$$1(this._element).trigger(Event.HIDE);
|
$(this._element).trigger(Event$a.HIDE);
|
||||||
|
|
||||||
if (withoutTimeout) {
|
if (withoutTimeout) {
|
||||||
this._close();
|
this._close();
|
||||||
|
@ -4142,27 +4062,27 @@
|
||||||
clearTimeout(this._timeout);
|
clearTimeout(this._timeout);
|
||||||
this._timeout = null;
|
this._timeout = null;
|
||||||
|
|
||||||
if (this._element.classList.contains(ClassName.SHOW)) {
|
if (this._element.classList.contains(ClassName$a.SHOW)) {
|
||||||
this._element.classList.remove(ClassName.SHOW);
|
this._element.classList.remove(ClassName$a.SHOW);
|
||||||
}
|
}
|
||||||
|
|
||||||
$$$1(this._element).off(Event.CLICK_DISMISS);
|
$(this._element).off(Event$a.CLICK_DISMISS);
|
||||||
$$$1.removeData(this._element, DATA_KEY);
|
$.removeData(this._element, DATA_KEY$a);
|
||||||
this._element = null;
|
this._element = null;
|
||||||
this._config = null;
|
this._config = null;
|
||||||
}; // Private
|
}; // Private
|
||||||
|
|
||||||
|
|
||||||
_proto._getConfig = function _getConfig(config) {
|
_proto._getConfig = function _getConfig(config) {
|
||||||
config = _objectSpread({}, Default, $$$1(this._element).data(), typeof config === 'object' && config ? config : {});
|
config = _objectSpread({}, Default$7, $(this._element).data(), typeof config === 'object' && config ? config : {});
|
||||||
Util.typeCheckConfig(NAME, config, this.constructor.DefaultType);
|
Util.typeCheckConfig(NAME$a, config, this.constructor.DefaultType);
|
||||||
return config;
|
return config;
|
||||||
};
|
};
|
||||||
|
|
||||||
_proto._setListeners = function _setListeners() {
|
_proto._setListeners = function _setListeners() {
|
||||||
var _this3 = this;
|
var _this3 = this;
|
||||||
|
|
||||||
$$$1(this._element).on(Event.CLICK_DISMISS, Selector.DATA_DISMISS, function () {
|
$(this._element).on(Event$a.CLICK_DISMISS, Selector$a.DATA_DISMISS, function () {
|
||||||
return _this3.hide(true);
|
return _this3.hide(true);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
@ -4171,14 +4091,14 @@
|
||||||
var _this4 = this;
|
var _this4 = this;
|
||||||
|
|
||||||
var complete = function complete() {
|
var complete = function complete() {
|
||||||
$$$1(_this4._element).trigger(Event.HIDDEN);
|
$(_this4._element).trigger(Event$a.HIDDEN);
|
||||||
};
|
};
|
||||||
|
|
||||||
this._element.classList.remove(ClassName.SHOW);
|
this._element.classList.remove(ClassName$a.SHOW);
|
||||||
|
|
||||||
if (this._config.animation) {
|
if (this._config.animation) {
|
||||||
var transitionDuration = Util.getTransitionDurationFromElement(this._element);
|
var transitionDuration = Util.getTransitionDurationFromElement(this._element);
|
||||||
$$$1(this._element).one(Util.TRANSITION_END, complete).emulateTransitionEnd(transitionDuration);
|
$(this._element).one(Util.TRANSITION_END, complete).emulateTransitionEnd(transitionDuration);
|
||||||
} else {
|
} else {
|
||||||
complete();
|
complete();
|
||||||
}
|
}
|
||||||
|
@ -4187,14 +4107,14 @@
|
||||||
|
|
||||||
Toast._jQueryInterface = function _jQueryInterface(config) {
|
Toast._jQueryInterface = function _jQueryInterface(config) {
|
||||||
return this.each(function () {
|
return this.each(function () {
|
||||||
var $element = $$$1(this);
|
var $element = $(this);
|
||||||
var data = $element.data(DATA_KEY);
|
var data = $element.data(DATA_KEY$a);
|
||||||
|
|
||||||
var _config = typeof config === 'object' && config;
|
var _config = typeof config === 'object' && config;
|
||||||
|
|
||||||
if (!data) {
|
if (!data) {
|
||||||
data = new Toast(this, _config);
|
data = new Toast(this, _config);
|
||||||
$element.data(DATA_KEY, data);
|
$element.data(DATA_KEY$a, data);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (typeof config === 'string') {
|
if (typeof config === 'string') {
|
||||||
|
@ -4210,12 +4130,12 @@
|
||||||
_createClass(Toast, null, [{
|
_createClass(Toast, null, [{
|
||||||
key: "VERSION",
|
key: "VERSION",
|
||||||
get: function get() {
|
get: function get() {
|
||||||
return VERSION;
|
return VERSION$a;
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
key: "DefaultType",
|
key: "DefaultType",
|
||||||
get: function get() {
|
get: function get() {
|
||||||
return DefaultType;
|
return DefaultType$7;
|
||||||
}
|
}
|
||||||
}]);
|
}]);
|
||||||
|
|
||||||
|
@ -4228,17 +4148,14 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
$$$1.fn[NAME] = Toast._jQueryInterface;
|
$.fn[NAME$a] = Toast._jQueryInterface;
|
||||||
$$$1.fn[NAME].Constructor = Toast;
|
$.fn[NAME$a].Constructor = Toast;
|
||||||
|
|
||||||
$$$1.fn[NAME].noConflict = function () {
|
$.fn[NAME$a].noConflict = function () {
|
||||||
$$$1.fn[NAME] = JQUERY_NO_CONFLICT;
|
$.fn[NAME$a] = JQUERY_NO_CONFLICT$a;
|
||||||
return Toast._jQueryInterface;
|
return Toast._jQueryInterface;
|
||||||
};
|
};
|
||||||
|
|
||||||
return Toast;
|
|
||||||
}($);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* --------------------------------------------------------------------------
|
* --------------------------------------------------------------------------
|
||||||
* Bootstrap (v4.1.3): index.js
|
* Bootstrap (v4.1.3): index.js
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -28,13 +28,6 @@
|
||||||
return Constructor;
|
return Constructor;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
* Bootstrap (v4.1.3): alert.js
|
|
||||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ------------------------------------------------------------------------
|
* ------------------------------------------------------------------------
|
||||||
* Constants
|
* Constants
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -27,13 +27,6 @@
|
||||||
return Constructor;
|
return Constructor;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
* Bootstrap (v4.1.3): button.js
|
|
||||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ------------------------------------------------------------------------
|
* ------------------------------------------------------------------------
|
||||||
* Constants
|
* Constants
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -113,10 +113,7 @@
|
||||||
TOUCHMOVE: "touchmove" + EVENT_KEY,
|
TOUCHMOVE: "touchmove" + EVENT_KEY,
|
||||||
TOUCHEND: "touchend" + EVENT_KEY,
|
TOUCHEND: "touchend" + EVENT_KEY,
|
||||||
POINTERDOWN: "pointerdown" + EVENT_KEY,
|
POINTERDOWN: "pointerdown" + EVENT_KEY,
|
||||||
POINTERMOVE: "pointermove" + EVENT_KEY,
|
|
||||||
POINTERUP: "pointerup" + EVENT_KEY,
|
POINTERUP: "pointerup" + EVENT_KEY,
|
||||||
POINTERLEAVE: "pointerleave" + EVENT_KEY,
|
|
||||||
POINTERCANCEL: "pointercancel" + EVENT_KEY,
|
|
||||||
DRAG_START: "dragstart" + EVENT_KEY,
|
DRAG_START: "dragstart" + EVENT_KEY,
|
||||||
LOAD_DATA_API: "load" + EVENT_KEY + DATA_API_KEY,
|
LOAD_DATA_API: "load" + EVENT_KEY + DATA_API_KEY,
|
||||||
CLICK_DATA_API: "click" + EVENT_KEY + DATA_API_KEY
|
CLICK_DATA_API: "click" + EVENT_KEY + DATA_API_KEY
|
||||||
|
@ -323,7 +320,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
var start = function start(event) {
|
var start = function start(event) {
|
||||||
if (_this3._pointerEvent && (event.originalEvent.pointerType === PointerType.TOUCH || event.originalEvent.pointerType === PointerType.PEN)) {
|
if (_this3._pointerEvent && PointerType[event.originalEvent.pointerType.toUpperCase()]) {
|
||||||
_this3.touchStartX = event.originalEvent.clientX;
|
_this3.touchStartX = event.originalEvent.clientX;
|
||||||
} else if (!_this3._pointerEvent) {
|
} else if (!_this3._pointerEvent) {
|
||||||
_this3.touchStartX = event.originalEvent.touches[0].clientX;
|
_this3.touchStartX = event.originalEvent.touches[0].clientX;
|
||||||
|
@ -340,7 +337,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
var end = function end(event) {
|
var end = function end(event) {
|
||||||
if (_this3._pointerEvent && (event.originalEvent.pointerType === PointerType.TOUCH || event.originalEvent.pointerType === PointerType.PEN)) {
|
if (_this3._pointerEvent && PointerType[event.originalEvent.pointerType.toUpperCase()]) {
|
||||||
_this3.touchDeltaX = event.originalEvent.clientX - _this3.touchStartX;
|
_this3.touchDeltaX = event.originalEvent.clientX - _this3.touchStartX;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -62,13 +62,6 @@
|
||||||
return target;
|
return target;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
* Bootstrap (v4.1.3): collapse.js
|
|
||||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ------------------------------------------------------------------------
|
* ------------------------------------------------------------------------
|
||||||
* Constants
|
* Constants
|
||||||
|
@ -124,7 +117,7 @@
|
||||||
this._isTransitioning = false;
|
this._isTransitioning = false;
|
||||||
this._element = element;
|
this._element = element;
|
||||||
this._config = this._getConfig(config);
|
this._config = this._getConfig(config);
|
||||||
this._triggerArray = $.makeArray(document.querySelectorAll("[data-toggle=\"collapse\"][href=\"#" + element.id + "\"]," + ("[data-toggle=\"collapse\"][data-target=\"#" + element.id + "\"]")));
|
this._triggerArray = [].slice.call(document.querySelectorAll("[data-toggle=\"collapse\"][href=\"#" + element.id + "\"]," + ("[data-toggle=\"collapse\"][data-target=\"#" + element.id + "\"]")));
|
||||||
var toggleList = [].slice.call(document.querySelectorAll(Selector.DATA_TOGGLE));
|
var toggleList = [].slice.call(document.querySelectorAll(Selector.DATA_TOGGLE));
|
||||||
|
|
||||||
for (var i = 0, len = toggleList.length; i < len; i++) {
|
for (var i = 0, len = toggleList.length; i < len; i++) {
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -63,13 +63,6 @@
|
||||||
return target;
|
return target;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
* Bootstrap (v4.1.3): dropdown.js
|
|
||||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ------------------------------------------------------------------------
|
* ------------------------------------------------------------------------
|
||||||
* Constants
|
* Constants
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -62,13 +62,6 @@
|
||||||
return target;
|
return target;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
* Bootstrap (v4.1.3): modal.js
|
|
||||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ------------------------------------------------------------------------
|
* ------------------------------------------------------------------------
|
||||||
* Constants
|
* Constants
|
||||||
|
@ -180,8 +173,6 @@
|
||||||
|
|
||||||
this._adjustDialog();
|
this._adjustDialog();
|
||||||
|
|
||||||
$(document.body).addClass(ClassName.OPEN);
|
|
||||||
|
|
||||||
this._setEscapeEvent();
|
this._setEscapeEvent();
|
||||||
|
|
||||||
this._setResizeEvent();
|
this._setResizeEvent();
|
||||||
|
@ -516,6 +507,8 @@
|
||||||
var calculatedPadding = $(document.body).css('padding-right');
|
var calculatedPadding = $(document.body).css('padding-right');
|
||||||
$(document.body).data('padding-right', actualPadding).css('padding-right', parseFloat(calculatedPadding) + this._scrollbarWidth + "px");
|
$(document.body).data('padding-right', actualPadding).css('padding-right', parseFloat(calculatedPadding) + this._scrollbarWidth + "px");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$(document.body).addClass(ClassName.OPEN);
|
||||||
};
|
};
|
||||||
|
|
||||||
_proto._resetScrollbar = function _resetScrollbar() {
|
_proto._resetScrollbar = function _resetScrollbar() {
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -68,13 +68,6 @@
|
||||||
subClass.__proto__ = superClass;
|
subClass.__proto__ = superClass;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
* Bootstrap (v4.1.3): popover.js
|
|
||||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ------------------------------------------------------------------------
|
* ------------------------------------------------------------------------
|
||||||
* Constants
|
* Constants
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -62,13 +62,6 @@
|
||||||
return target;
|
return target;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
* Bootstrap (v4.1.3): scrollspy.js
|
|
||||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ------------------------------------------------------------------------
|
* ------------------------------------------------------------------------
|
||||||
* Constants
|
* Constants
|
||||||
|
@ -277,12 +270,10 @@
|
||||||
|
|
||||||
this._clear();
|
this._clear();
|
||||||
|
|
||||||
var queries = this._selector.split(','); // eslint-disable-next-line arrow-body-style
|
var queries = this._selector.split(',').map(function (selector) {
|
||||||
|
return selector + "[data-target=\"" + target + "\"]," + selector + "[href=\"" + target + "\"]";
|
||||||
|
|
||||||
queries = queries.map(function (selector) {
|
|
||||||
return selector + "[data-target=\"" + target + "\"]," + (selector + "[href=\"" + target + "\"]");
|
|
||||||
});
|
});
|
||||||
|
|
||||||
var $link = $([].slice.call(document.querySelectorAll(queries.join(','))));
|
var $link = $([].slice.call(document.querySelectorAll(queries.join(','))));
|
||||||
|
|
||||||
if ($link.hasClass(ClassName.DROPDOWN_ITEM)) {
|
if ($link.hasClass(ClassName.DROPDOWN_ITEM)) {
|
||||||
|
@ -304,8 +295,11 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
_proto._clear = function _clear() {
|
_proto._clear = function _clear() {
|
||||||
var nodes = [].slice.call(document.querySelectorAll(this._selector));
|
[].slice.call(document.querySelectorAll(this._selector)).filter(function (node) {
|
||||||
$(nodes).filter(Selector.ACTIVE).removeClass(ClassName.ACTIVE);
|
return node.classList.contains(ClassName.ACTIVE);
|
||||||
|
}).forEach(function (node) {
|
||||||
|
return node.classList.remove(ClassName.ACTIVE);
|
||||||
|
});
|
||||||
}; // Static
|
}; // Static
|
||||||
|
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -28,13 +28,6 @@
|
||||||
return Constructor;
|
return Constructor;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
* Bootstrap (v4.1.3): tab.js
|
|
||||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ------------------------------------------------------------------------
|
* ------------------------------------------------------------------------
|
||||||
* Constants
|
* Constants
|
||||||
|
@ -101,7 +94,7 @@
|
||||||
var selector = Util.getSelectorFromElement(this._element);
|
var selector = Util.getSelectorFromElement(this._element);
|
||||||
|
|
||||||
if (listElement) {
|
if (listElement) {
|
||||||
var itemSelector = listElement.nodeName === 'UL' ? Selector.ACTIVE_UL : Selector.ACTIVE;
|
var itemSelector = listElement.nodeName === 'UL' || listElement.nodeName === 'OL' ? Selector.ACTIVE_UL : Selector.ACTIVE;
|
||||||
previous = $.makeArray($(listElement).find(itemSelector));
|
previous = $.makeArray($(listElement).find(itemSelector));
|
||||||
previous = previous[previous.length - 1];
|
previous = previous[previous.length - 1];
|
||||||
}
|
}
|
||||||
|
@ -156,14 +149,7 @@
|
||||||
_proto._activate = function _activate(element, container, callback) {
|
_proto._activate = function _activate(element, container, callback) {
|
||||||
var _this2 = this;
|
var _this2 = this;
|
||||||
|
|
||||||
var activeElements;
|
var activeElements = container && (container.nodeName === 'UL' || container.nodeName === 'OL') ? $(container).find(Selector.ACTIVE_UL) : $(container).children(Selector.ACTIVE);
|
||||||
|
|
||||||
if (container && container.nodeName === 'UL') {
|
|
||||||
activeElements = $(container).find(Selector.ACTIVE_UL);
|
|
||||||
} else {
|
|
||||||
activeElements = $(container).children(Selector.ACTIVE);
|
|
||||||
}
|
|
||||||
|
|
||||||
var active = activeElements[0];
|
var active = activeElements[0];
|
||||||
var isTransitioning = callback && active && $(active).hasClass(ClassName.FADE);
|
var isTransitioning = callback && active && $(active).hasClass(ClassName.FADE);
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -62,24 +62,17 @@
|
||||||
return target;
|
return target;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
* Bootstrap (v4.1.3): toast.js
|
|
||||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
var Toast = function ($$$1) {
|
|
||||||
/**
|
/**
|
||||||
* ------------------------------------------------------------------------
|
* ------------------------------------------------------------------------
|
||||||
* Constants
|
* Constants
|
||||||
* ------------------------------------------------------------------------
|
* ------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var NAME = 'toast';
|
var NAME = 'toast';
|
||||||
var VERSION = '4.1.3';
|
var VERSION = '4.1.3';
|
||||||
var DATA_KEY = 'bs.toast';
|
var DATA_KEY = 'bs.toast';
|
||||||
var EVENT_KEY = "." + DATA_KEY;
|
var EVENT_KEY = "." + DATA_KEY;
|
||||||
var JQUERY_NO_CONFLICT = $$$1.fn[NAME];
|
var JQUERY_NO_CONFLICT = $.fn[NAME];
|
||||||
var Event = {
|
var Event = {
|
||||||
CLICK_DISMISS: "click.dismiss" + EVENT_KEY,
|
CLICK_DISMISS: "click.dismiss" + EVENT_KEY,
|
||||||
HIDE: "hide" + EVENT_KEY,
|
HIDE: "hide" + EVENT_KEY,
|
||||||
|
@ -130,14 +123,14 @@
|
||||||
_proto.show = function show() {
|
_proto.show = function show() {
|
||||||
var _this = this;
|
var _this = this;
|
||||||
|
|
||||||
$$$1(this._element).trigger(Event.SHOW);
|
$(this._element).trigger(Event.SHOW);
|
||||||
|
|
||||||
if (this._config.animation) {
|
if (this._config.animation) {
|
||||||
this._element.classList.add(ClassName.FADE);
|
this._element.classList.add(ClassName.FADE);
|
||||||
}
|
}
|
||||||
|
|
||||||
var complete = function complete() {
|
var complete = function complete() {
|
||||||
$$$1(_this._element).trigger(Event.SHOWN);
|
$(_this._element).trigger(Event.SHOWN);
|
||||||
|
|
||||||
if (_this._config.autohide) {
|
if (_this._config.autohide) {
|
||||||
_this.hide();
|
_this.hide();
|
||||||
|
@ -148,7 +141,7 @@
|
||||||
|
|
||||||
if (this._config.animation) {
|
if (this._config.animation) {
|
||||||
var transitionDuration = Util.getTransitionDurationFromElement(this._element);
|
var transitionDuration = Util.getTransitionDurationFromElement(this._element);
|
||||||
$$$1(this._element).one(Util.TRANSITION_END, complete).emulateTransitionEnd(transitionDuration);
|
$(this._element).one(Util.TRANSITION_END, complete).emulateTransitionEnd(transitionDuration);
|
||||||
} else {
|
} else {
|
||||||
complete();
|
complete();
|
||||||
}
|
}
|
||||||
|
@ -161,7 +154,7 @@
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$$$1(this._element).trigger(Event.HIDE);
|
$(this._element).trigger(Event.HIDE);
|
||||||
|
|
||||||
if (withoutTimeout) {
|
if (withoutTimeout) {
|
||||||
this._close();
|
this._close();
|
||||||
|
@ -180,15 +173,15 @@
|
||||||
this._element.classList.remove(ClassName.SHOW);
|
this._element.classList.remove(ClassName.SHOW);
|
||||||
}
|
}
|
||||||
|
|
||||||
$$$1(this._element).off(Event.CLICK_DISMISS);
|
$(this._element).off(Event.CLICK_DISMISS);
|
||||||
$$$1.removeData(this._element, DATA_KEY);
|
$.removeData(this._element, DATA_KEY);
|
||||||
this._element = null;
|
this._element = null;
|
||||||
this._config = null;
|
this._config = null;
|
||||||
}; // Private
|
}; // Private
|
||||||
|
|
||||||
|
|
||||||
_proto._getConfig = function _getConfig(config) {
|
_proto._getConfig = function _getConfig(config) {
|
||||||
config = _objectSpread({}, Default, $$$1(this._element).data(), typeof config === 'object' && config ? config : {});
|
config = _objectSpread({}, Default, $(this._element).data(), typeof config === 'object' && config ? config : {});
|
||||||
Util.typeCheckConfig(NAME, config, this.constructor.DefaultType);
|
Util.typeCheckConfig(NAME, config, this.constructor.DefaultType);
|
||||||
return config;
|
return config;
|
||||||
};
|
};
|
||||||
|
@ -196,7 +189,7 @@
|
||||||
_proto._setListeners = function _setListeners() {
|
_proto._setListeners = function _setListeners() {
|
||||||
var _this3 = this;
|
var _this3 = this;
|
||||||
|
|
||||||
$$$1(this._element).on(Event.CLICK_DISMISS, Selector.DATA_DISMISS, function () {
|
$(this._element).on(Event.CLICK_DISMISS, Selector.DATA_DISMISS, function () {
|
||||||
return _this3.hide(true);
|
return _this3.hide(true);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
@ -205,14 +198,14 @@
|
||||||
var _this4 = this;
|
var _this4 = this;
|
||||||
|
|
||||||
var complete = function complete() {
|
var complete = function complete() {
|
||||||
$$$1(_this4._element).trigger(Event.HIDDEN);
|
$(_this4._element).trigger(Event.HIDDEN);
|
||||||
};
|
};
|
||||||
|
|
||||||
this._element.classList.remove(ClassName.SHOW);
|
this._element.classList.remove(ClassName.SHOW);
|
||||||
|
|
||||||
if (this._config.animation) {
|
if (this._config.animation) {
|
||||||
var transitionDuration = Util.getTransitionDurationFromElement(this._element);
|
var transitionDuration = Util.getTransitionDurationFromElement(this._element);
|
||||||
$$$1(this._element).one(Util.TRANSITION_END, complete).emulateTransitionEnd(transitionDuration);
|
$(this._element).one(Util.TRANSITION_END, complete).emulateTransitionEnd(transitionDuration);
|
||||||
} else {
|
} else {
|
||||||
complete();
|
complete();
|
||||||
}
|
}
|
||||||
|
@ -221,7 +214,7 @@
|
||||||
|
|
||||||
Toast._jQueryInterface = function _jQueryInterface(config) {
|
Toast._jQueryInterface = function _jQueryInterface(config) {
|
||||||
return this.each(function () {
|
return this.each(function () {
|
||||||
var $element = $$$1(this);
|
var $element = $(this);
|
||||||
var data = $element.data(DATA_KEY);
|
var data = $element.data(DATA_KEY);
|
||||||
|
|
||||||
var _config = typeof config === 'object' && config;
|
var _config = typeof config === 'object' && config;
|
||||||
|
@ -262,17 +255,14 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
$$$1.fn[NAME] = Toast._jQueryInterface;
|
$.fn[NAME] = Toast._jQueryInterface;
|
||||||
$$$1.fn[NAME].Constructor = Toast;
|
$.fn[NAME].Constructor = Toast;
|
||||||
|
|
||||||
$$$1.fn[NAME].noConflict = function () {
|
$.fn[NAME].noConflict = function () {
|
||||||
$$$1.fn[NAME] = JQUERY_NO_CONFLICT;
|
$.fn[NAME] = JQUERY_NO_CONFLICT;
|
||||||
return Toast._jQueryInterface;
|
return Toast._jQueryInterface;
|
||||||
};
|
};
|
||||||
|
|
||||||
return Toast;
|
|
||||||
}($);
|
|
||||||
|
|
||||||
return Toast;
|
return Toast;
|
||||||
|
|
||||||
})));
|
})));
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -63,13 +63,6 @@
|
||||||
return target;
|
return target;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
* Bootstrap (v4.1.3): tooltip.js
|
|
||||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
|
||||||
* --------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ------------------------------------------------------------------------
|
* ------------------------------------------------------------------------
|
||||||
* Constants
|
* Constants
|
||||||
|
@ -317,7 +310,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onUpdate: function onUpdate(data) {
|
onUpdate: function onUpdate(data) {
|
||||||
_this._handlePopperPlacementChange(data);
|
return _this._handlePopperPlacementChange(data);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
$(tip).addClass(ClassName.SHOW); // If this is a touch-enabled device we add extra
|
$(tip).addClass(ClassName.SHOW); // If this is a touch-enabled device we add extra
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -17,7 +17,6 @@
|
||||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||||
* --------------------------------------------------------------------------
|
* --------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ------------------------------------------------------------------------
|
* ------------------------------------------------------------------------
|
||||||
* Private TransitionEnd Helpers
|
* Private TransitionEnd Helpers
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue