mirror of https://github.com/twbs/bootstrap.git
dist
This commit is contained in:
parent
139e89235f
commit
496311bf97
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
|
|
@ -24,7 +24,7 @@ html {
|
||||||
width: device-width;
|
width: device-width;
|
||||||
}
|
}
|
||||||
|
|
||||||
article, aside, dialog, figcaption, figure, footer, header, hgroup, main, nav, section {
|
article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -160,7 +160,7 @@ pre,
|
||||||
code,
|
code,
|
||||||
kbd,
|
kbd,
|
||||||
samp {
|
samp {
|
||||||
font-family: monospace, monospace;
|
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
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-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:transparent}@-ms-viewport{width:device-width}article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";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}dfn{font-style:italic}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;-webkit-text-decoration-skip:objects}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:monospace,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:not(:root){overflow:hidden}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=reset],[type=submit],button,html [type=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-cancel-button,[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-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,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";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}dfn{font-style:italic}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;-webkit-text-decoration-skip:objects}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:not(:root){overflow:hidden}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=reset],[type=submit],button,html [type=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-cancel-button,[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
|
|
@ -54,7 +54,7 @@ html {
|
||||||
width: device-width;
|
width: device-width;
|
||||||
}
|
}
|
||||||
|
|
||||||
article, aside, dialog, figcaption, figure, footer, header, hgroup, main, nav, section {
|
article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -190,7 +190,7 @@ pre,
|
||||||
code,
|
code,
|
||||||
kbd,
|
kbd,
|
||||||
samp {
|
samp {
|
||||||
font-family: monospace, monospace;
|
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -505,13 +505,6 @@ mark,
|
||||||
color: #6c757d;
|
color: #6c757d;
|
||||||
}
|
}
|
||||||
|
|
||||||
code,
|
|
||||||
kbd,
|
|
||||||
pre,
|
|
||||||
samp {
|
|
||||||
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
||||||
}
|
|
||||||
|
|
||||||
code {
|
code {
|
||||||
font-size: 87.5%;
|
font-size: 87.5%;
|
||||||
color: #e83e8c;
|
color: #e83e8c;
|
||||||
|
|
@ -2086,6 +2079,12 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.was-validated .form-control-file:valid ~ .valid-feedback,
|
||||||
|
.was-validated .form-control-file:valid ~ .valid-tooltip, .form-control-file.is-valid ~ .valid-feedback,
|
||||||
|
.form-control-file.is-valid ~ .valid-tooltip {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
.was-validated .form-check-input:valid ~ .form-check-label, .form-check-input.is-valid ~ .form-check-label {
|
.was-validated .form-check-input:valid ~ .form-check-label, .form-check-input.is-valid ~ .form-check-label {
|
||||||
color: #28a745;
|
color: #28a745;
|
||||||
}
|
}
|
||||||
|
|
@ -2183,6 +2182,12 @@ select.form-control-lg:not([size]):not([multiple]), .input-group-lg > select.for
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.was-validated .form-control-file:invalid ~ .invalid-feedback,
|
||||||
|
.was-validated .form-control-file:invalid ~ .invalid-tooltip, .form-control-file.is-invalid ~ .invalid-feedback,
|
||||||
|
.form-control-file.is-invalid ~ .invalid-tooltip {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
.was-validated .form-check-input:invalid ~ .form-check-label, .form-check-input.is-invalid ~ .form-check-label {
|
.was-validated .form-check-input:invalid ~ .form-check-label, .form-check-input.is-invalid ~ .form-check-label {
|
||||||
color: #dc3545;
|
color: #dc3545;
|
||||||
}
|
}
|
||||||
|
|
@ -3392,8 +3397,7 @@ input[type="button"].btn-block {
|
||||||
border-bottom-right-radius: 0;
|
border-bottom-right-radius: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.input-group > .custom-file:not(:first-child) .custom-file-label,
|
.input-group > .custom-file:not(:first-child) .custom-file-label {
|
||||||
.input-group > .custom-file:not(:first-child) .custom-file-label::after {
|
|
||||||
border-top-left-radius: 0;
|
border-top-left-radius: 0;
|
||||||
border-bottom-left-radius: 0;
|
border-bottom-left-radius: 0;
|
||||||
}
|
}
|
||||||
|
|
@ -3514,13 +3518,14 @@ input[type="button"].btn-block {
|
||||||
}
|
}
|
||||||
|
|
||||||
.custom-control-label {
|
.custom-control-label {
|
||||||
|
position: relative;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.custom-control-label::before {
|
.custom-control-label::before {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0.25rem;
|
top: 0.25rem;
|
||||||
left: 0;
|
left: -1.5rem;
|
||||||
display: block;
|
display: block;
|
||||||
width: 1rem;
|
width: 1rem;
|
||||||
height: 1rem;
|
height: 1rem;
|
||||||
|
|
@ -3536,7 +3541,7 @@ input[type="button"].btn-block {
|
||||||
.custom-control-label::after {
|
.custom-control-label::after {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0.25rem;
|
top: 0.25rem;
|
||||||
left: 0;
|
left: -1.5rem;
|
||||||
display: block;
|
display: block;
|
||||||
width: 1rem;
|
width: 1rem;
|
||||||
height: 1rem;
|
height: 1rem;
|
||||||
|
|
@ -3699,7 +3704,7 @@ input[type="button"].btn-block {
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
z-index: 3;
|
z-index: 3;
|
||||||
display: block;
|
display: block;
|
||||||
height: calc(calc(2.25rem + 2px) - 1px * 2);
|
height: 2.25rem;
|
||||||
padding: 0.375rem 0.75rem;
|
padding: 0.375rem 0.75rem;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
color: #495057;
|
color: #495057;
|
||||||
|
|
@ -5624,7 +5629,8 @@ button.close {
|
||||||
}
|
}
|
||||||
|
|
||||||
.bs-popover-top .arrow::before, .bs-popover-auto[x-placement^="top"] .arrow::before,
|
.bs-popover-top .arrow::before, .bs-popover-auto[x-placement^="top"] .arrow::before,
|
||||||
.bs-popover-top .arrow::after, .bs-popover-auto[x-placement^="top"] .arrow::after {
|
.bs-popover-top .arrow::after,
|
||||||
|
.bs-popover-auto[x-placement^="top"] .arrow::after {
|
||||||
border-width: 0.5rem 0.5rem 0;
|
border-width: 0.5rem 0.5rem 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -5633,7 +5639,9 @@ button.close {
|
||||||
border-top-color: rgba(0, 0, 0, 0.25);
|
border-top-color: rgba(0, 0, 0, 0.25);
|
||||||
}
|
}
|
||||||
|
|
||||||
.bs-popover-top .arrow::after, .bs-popover-auto[x-placement^="top"] .arrow::after {
|
|
||||||
|
.bs-popover-top .arrow::after,
|
||||||
|
.bs-popover-auto[x-placement^="top"] .arrow::after {
|
||||||
bottom: 1px;
|
bottom: 1px;
|
||||||
border-top-color: #fff;
|
border-top-color: #fff;
|
||||||
}
|
}
|
||||||
|
|
@ -5650,7 +5658,8 @@ button.close {
|
||||||
}
|
}
|
||||||
|
|
||||||
.bs-popover-right .arrow::before, .bs-popover-auto[x-placement^="right"] .arrow::before,
|
.bs-popover-right .arrow::before, .bs-popover-auto[x-placement^="right"] .arrow::before,
|
||||||
.bs-popover-right .arrow::after, .bs-popover-auto[x-placement^="right"] .arrow::after {
|
.bs-popover-right .arrow::after,
|
||||||
|
.bs-popover-auto[x-placement^="right"] .arrow::after {
|
||||||
border-width: 0.5rem 0.5rem 0.5rem 0;
|
border-width: 0.5rem 0.5rem 0.5rem 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -5659,7 +5668,9 @@ button.close {
|
||||||
border-right-color: rgba(0, 0, 0, 0.25);
|
border-right-color: rgba(0, 0, 0, 0.25);
|
||||||
}
|
}
|
||||||
|
|
||||||
.bs-popover-right .arrow::after, .bs-popover-auto[x-placement^="right"] .arrow::after {
|
|
||||||
|
.bs-popover-right .arrow::after,
|
||||||
|
.bs-popover-auto[x-placement^="right"] .arrow::after {
|
||||||
left: 1px;
|
left: 1px;
|
||||||
border-right-color: #fff;
|
border-right-color: #fff;
|
||||||
}
|
}
|
||||||
|
|
@ -5673,7 +5684,8 @@ button.close {
|
||||||
}
|
}
|
||||||
|
|
||||||
.bs-popover-bottom .arrow::before, .bs-popover-auto[x-placement^="bottom"] .arrow::before,
|
.bs-popover-bottom .arrow::before, .bs-popover-auto[x-placement^="bottom"] .arrow::before,
|
||||||
.bs-popover-bottom .arrow::after, .bs-popover-auto[x-placement^="bottom"] .arrow::after {
|
.bs-popover-bottom .arrow::after,
|
||||||
|
.bs-popover-auto[x-placement^="bottom"] .arrow::after {
|
||||||
border-width: 0 0.5rem 0.5rem 0.5rem;
|
border-width: 0 0.5rem 0.5rem 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -5682,7 +5694,9 @@ button.close {
|
||||||
border-bottom-color: rgba(0, 0, 0, 0.25);
|
border-bottom-color: rgba(0, 0, 0, 0.25);
|
||||||
}
|
}
|
||||||
|
|
||||||
.bs-popover-bottom .arrow::after, .bs-popover-auto[x-placement^="bottom"] .arrow::after {
|
|
||||||
|
.bs-popover-bottom .arrow::after,
|
||||||
|
.bs-popover-auto[x-placement^="bottom"] .arrow::after {
|
||||||
top: 1px;
|
top: 1px;
|
||||||
border-bottom-color: #fff;
|
border-bottom-color: #fff;
|
||||||
}
|
}
|
||||||
|
|
@ -5710,7 +5724,8 @@ button.close {
|
||||||
}
|
}
|
||||||
|
|
||||||
.bs-popover-left .arrow::before, .bs-popover-auto[x-placement^="left"] .arrow::before,
|
.bs-popover-left .arrow::before, .bs-popover-auto[x-placement^="left"] .arrow::before,
|
||||||
.bs-popover-left .arrow::after, .bs-popover-auto[x-placement^="left"] .arrow::after {
|
.bs-popover-left .arrow::after,
|
||||||
|
.bs-popover-auto[x-placement^="left"] .arrow::after {
|
||||||
border-width: 0.5rem 0 0.5rem 0.5rem;
|
border-width: 0.5rem 0 0.5rem 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -5719,7 +5734,9 @@ button.close {
|
||||||
border-left-color: rgba(0, 0, 0, 0.25);
|
border-left-color: rgba(0, 0, 0, 0.25);
|
||||||
}
|
}
|
||||||
|
|
||||||
.bs-popover-left .arrow::after, .bs-popover-auto[x-placement^="left"] .arrow::after {
|
|
||||||
|
.bs-popover-left .arrow::after,
|
||||||
|
.bs-popover-auto[x-placement^="left"] .arrow::after {
|
||||||
right: 1px;
|
right: 1px;
|
||||||
border-left-color: #fff;
|
border-left-color: #fff;
|
||||||
}
|
}
|
||||||
|
|
@ -5942,6 +5959,7 @@ button.close {
|
||||||
margin-right: 3px;
|
margin-right: 3px;
|
||||||
margin-left: 3px;
|
margin-left: 3px;
|
||||||
text-indent: -999px;
|
text-indent: -999px;
|
||||||
|
cursor: pointer;
|
||||||
background-color: rgba(255, 255, 255, 0.5);
|
background-color: rgba(255, 255, 255, 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -8946,5 +8964,18 @@ a.text-dark:hover, a.text-dark:focus {
|
||||||
.table-bordered td {
|
.table-bordered td {
|
||||||
border: 1px solid #dee2e6 !important;
|
border: 1px solid #dee2e6 !important;
|
||||||
}
|
}
|
||||||
|
.table-dark {
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
.table-dark th,
|
||||||
|
.table-dark td,
|
||||||
|
.table-dark thead th,
|
||||||
|
.table-dark tbody + tbody {
|
||||||
|
border-color: #dee2e6;
|
||||||
|
}
|
||||||
|
.table .thead-dark th {
|
||||||
|
color: inherit;
|
||||||
|
border-color: #dee2e6;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
/*# sourceMappingURL=bootstrap.css.map */
|
/*# sourceMappingURL=bootstrap.css.map */
|
||||||
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
|
|
@ -251,9 +251,11 @@
|
||||||
|
|
||||||
// Public
|
// Public
|
||||||
_proto.close = function close(element) {
|
_proto.close = function close(element) {
|
||||||
element = element || this._element;
|
var rootElement = this._element;
|
||||||
|
|
||||||
var rootElement = this._getRootElement(element);
|
if (element) {
|
||||||
|
rootElement = this._getRootElement(element);
|
||||||
|
}
|
||||||
|
|
||||||
var customEvent = this._triggerCloseEvent(rootElement);
|
var customEvent = this._triggerCloseEvent(rootElement);
|
||||||
|
|
||||||
|
|
@ -1323,7 +1325,7 @@
|
||||||
var $this = $$$1(this);
|
var $this = $$$1(this);
|
||||||
var data = $this.data(DATA_KEY);
|
var data = $this.data(DATA_KEY);
|
||||||
|
|
||||||
var _config = _objectSpread({}, Default, $this.data(), typeof config === 'object' && config);
|
var _config = _objectSpread({}, Default, $this.data(), typeof config === 'object' && config ? config : {});
|
||||||
|
|
||||||
if (!data && _config.toggle && /show|hide/.test(config)) {
|
if (!data && _config.toggle && /show|hide/.test(config)) {
|
||||||
_config.toggle = false;
|
_config.toggle = false;
|
||||||
|
|
@ -1400,7 +1402,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.1
|
* @version 1.14.3
|
||||||
* @license
|
* @license
|
||||||
* Copyright (c) 2016 Federico Zivolo and contributors
|
* Copyright (c) 2016 Federico Zivolo and contributors
|
||||||
*
|
*
|
||||||
|
|
@ -1423,6 +1425,7 @@
|
||||||
* SOFTWARE.
|
* SOFTWARE.
|
||||||
*/
|
*/
|
||||||
var isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined';
|
var isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined';
|
||||||
|
|
||||||
var longerTimeoutBrowsers = ['Edge', 'Trident', 'Firefox'];
|
var longerTimeoutBrowsers = ['Edge', 'Trident', 'Firefox'];
|
||||||
var timeoutDuration = 0;
|
var timeoutDuration = 0;
|
||||||
for (var i = 0; i < longerTimeoutBrowsers.length; i += 1) {
|
for (var i = 0; i < longerTimeoutBrowsers.length; i += 1) {
|
||||||
|
|
@ -1549,40 +1552,25 @@
|
||||||
return getScrollParent(getParentNode(element));
|
return getScrollParent(getParentNode(element));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var isIE11 = isBrowser && !!(window.MSInputMethodContext && document.documentMode);
|
||||||
|
var isIE10 = isBrowser && /MSIE 10/.test(navigator.userAgent);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tells if you are running Internet Explorer
|
* Determines if the browser is Internet Explorer
|
||||||
* @method
|
* @method
|
||||||
* @memberof Popper.Utils
|
* @memberof Popper.Utils
|
||||||
* @argument {number} version to check
|
* @param {Number} version to check
|
||||||
* @returns {Boolean} isIE
|
* @returns {Boolean} isIE
|
||||||
*/
|
*/
|
||||||
var cache = {};
|
function isIE(version) {
|
||||||
|
if (version === 11) {
|
||||||
var isIE = function () {
|
return isIE11;
|
||||||
var version = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'all';
|
|
||||||
|
|
||||||
version = version.toString();
|
|
||||||
if (cache.hasOwnProperty(version)) {
|
|
||||||
return cache[version];
|
|
||||||
}
|
}
|
||||||
switch (version) {
|
if (version === 10) {
|
||||||
case '11':
|
return isIE10;
|
||||||
cache[version] = navigator.userAgent.indexOf('Trident') !== -1;
|
|
||||||
break;
|
|
||||||
case '10':
|
|
||||||
cache[version] = navigator.appVersion.indexOf('MSIE 10') !== -1;
|
|
||||||
break;
|
|
||||||
case 'all':
|
|
||||||
cache[version] = navigator.userAgent.indexOf('Trident') !== -1 || navigator.userAgent.indexOf('MSIE') !== -1;
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
return isIE11 || isIE10;
|
||||||
//Set IE
|
}
|
||||||
cache.all = cache.all || Object.keys(cache).some(function (key) {
|
|
||||||
return cache[key];
|
|
||||||
});
|
|
||||||
return cache[version];
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the offset parent of the given element
|
* Returns the offset parent of the given element
|
||||||
|
|
@ -2335,6 +2323,7 @@
|
||||||
|
|
||||||
// compute the popper offsets
|
// compute the popper offsets
|
||||||
data.offsets.popper = getPopperOffsets(this.popper, data.offsets.reference, data.placement);
|
data.offsets.popper = getPopperOffsets(this.popper, data.offsets.reference, data.placement);
|
||||||
|
|
||||||
data.offsets.popper.position = this.options.positionFixed ? 'fixed' : 'absolute';
|
data.offsets.popper.position = this.options.positionFixed ? 'fixed' : 'absolute';
|
||||||
|
|
||||||
// run the modifiers
|
// run the modifiers
|
||||||
|
|
@ -2640,11 +2629,13 @@
|
||||||
position: popper.position
|
position: popper.position
|
||||||
};
|
};
|
||||||
|
|
||||||
// floor sides to avoid blurry text
|
// Avoid blurry text by using full pixel integers.
|
||||||
|
// For pixel-perfect positioning, top/bottom prefers rounded
|
||||||
|
// values, while left/right prefers floored values.
|
||||||
var offsets = {
|
var offsets = {
|
||||||
left: Math.floor(popper.left),
|
left: Math.floor(popper.left),
|
||||||
top: Math.floor(popper.top),
|
top: Math.round(popper.top),
|
||||||
bottom: Math.floor(popper.bottom),
|
bottom: Math.round(popper.bottom),
|
||||||
right: Math.floor(popper.right)
|
right: Math.floor(popper.right)
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -3200,7 +3191,27 @@
|
||||||
boundariesElement = getOffsetParent(boundariesElement);
|
boundariesElement = getOffsetParent(boundariesElement);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// NOTE: DOM access here
|
||||||
|
// resets the popper's position so that the document size can be calculated excluding
|
||||||
|
// the size of the popper element itself
|
||||||
|
var transformProp = getSupportedPropertyName('transform');
|
||||||
|
var popperStyles = data.instance.popper.style; // assignment to help minification
|
||||||
|
var top = popperStyles.top,
|
||||||
|
left = popperStyles.left,
|
||||||
|
transform = popperStyles[transformProp];
|
||||||
|
|
||||||
|
popperStyles.top = '';
|
||||||
|
popperStyles.left = '';
|
||||||
|
popperStyles[transformProp] = '';
|
||||||
|
|
||||||
var boundaries = getBoundaries(data.instance.popper, data.instance.reference, options.padding, boundariesElement, data.positionFixed);
|
var boundaries = getBoundaries(data.instance.popper, data.instance.reference, options.padding, boundariesElement, data.positionFixed);
|
||||||
|
|
||||||
|
// NOTE: DOM access here
|
||||||
|
// restores the original style properties after the offsets have been computed
|
||||||
|
popperStyles.top = top;
|
||||||
|
popperStyles.left = left;
|
||||||
|
popperStyles[transformProp] = transform;
|
||||||
|
|
||||||
options.boundaries = boundaries;
|
options.boundaries = boundaries;
|
||||||
|
|
||||||
var order = options.priority;
|
var order = options.priority;
|
||||||
|
|
@ -4879,7 +4890,7 @@
|
||||||
return this.each(function () {
|
return this.each(function () {
|
||||||
var data = $$$1(this).data(DATA_KEY);
|
var data = $$$1(this).data(DATA_KEY);
|
||||||
|
|
||||||
var _config = _objectSpread({}, Modal.Default, $$$1(this).data(), typeof config === 'object' && config);
|
var _config = _objectSpread({}, Default, $$$1(this).data(), typeof config === 'object' && config ? config : {});
|
||||||
|
|
||||||
if (!data) {
|
if (!data) {
|
||||||
data = new Modal(this, _config);
|
data = new Modal(this, _config);
|
||||||
|
|
@ -5486,7 +5497,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
_proto._getConfig = function _getConfig(config) {
|
_proto._getConfig = function _getConfig(config) {
|
||||||
config = _objectSpread({}, this.constructor.Default, $$$1(this.element).data(), config);
|
config = _objectSpread({}, this.constructor.Default, $$$1(this.element).data(), typeof config === 'object' && config ? config : {});
|
||||||
|
|
||||||
if (typeof config.delay === 'number') {
|
if (typeof config.delay === 'number') {
|
||||||
config.delay = {
|
config.delay = {
|
||||||
|
|
@ -5972,7 +5983,7 @@
|
||||||
|
|
||||||
|
|
||||||
_proto._getConfig = function _getConfig(config) {
|
_proto._getConfig = function _getConfig(config) {
|
||||||
config = _objectSpread({}, Default, config);
|
config = _objectSpread({}, Default, typeof config === 'object' && config ? config : {});
|
||||||
|
|
||||||
if (typeof config.target !== 'string') {
|
if (typeof config.target !== 'string') {
|
||||||
var id = $$$1(config.target).attr('id');
|
var id = $$$1(config.target).attr('id');
|
||||||
|
|
@ -6393,7 +6404,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* --------------------------------------------------------------------------
|
* --------------------------------------------------------------------------
|
||||||
* Bootstrap (v4.0.0): index.js
|
* Bootstrap (v4.1.0): index.js
|
||||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||||
* --------------------------------------------------------------------------
|
* --------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
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
|
|
@ -252,9 +252,11 @@
|
||||||
|
|
||||||
// Public
|
// Public
|
||||||
_proto.close = function close(element) {
|
_proto.close = function close(element) {
|
||||||
element = element || this._element;
|
var rootElement = this._element;
|
||||||
|
|
||||||
var rootElement = this._getRootElement(element);
|
if (element) {
|
||||||
|
rootElement = this._getRootElement(element);
|
||||||
|
}
|
||||||
|
|
||||||
var customEvent = this._triggerCloseEvent(rootElement);
|
var customEvent = this._triggerCloseEvent(rootElement);
|
||||||
|
|
||||||
|
|
@ -1324,7 +1326,7 @@
|
||||||
var $this = $$$1(this);
|
var $this = $$$1(this);
|
||||||
var data = $this.data(DATA_KEY);
|
var data = $this.data(DATA_KEY);
|
||||||
|
|
||||||
var _config = _objectSpread({}, Default, $this.data(), typeof config === 'object' && config);
|
var _config = _objectSpread({}, Default, $this.data(), typeof config === 'object' && config ? config : {});
|
||||||
|
|
||||||
if (!data && _config.toggle && /show|hide/.test(config)) {
|
if (!data && _config.toggle && /show|hide/.test(config)) {
|
||||||
_config.toggle = false;
|
_config.toggle = false;
|
||||||
|
|
@ -2371,7 +2373,7 @@
|
||||||
return this.each(function () {
|
return this.each(function () {
|
||||||
var data = $$$1(this).data(DATA_KEY);
|
var data = $$$1(this).data(DATA_KEY);
|
||||||
|
|
||||||
var _config = _objectSpread({}, Modal.Default, $$$1(this).data(), typeof config === 'object' && config);
|
var _config = _objectSpread({}, Default, $$$1(this).data(), typeof config === 'object' && config ? config : {});
|
||||||
|
|
||||||
if (!data) {
|
if (!data) {
|
||||||
data = new Modal(this, _config);
|
data = new Modal(this, _config);
|
||||||
|
|
@ -2978,7 +2980,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
_proto._getConfig = function _getConfig(config) {
|
_proto._getConfig = function _getConfig(config) {
|
||||||
config = _objectSpread({}, this.constructor.Default, $$$1(this.element).data(), config);
|
config = _objectSpread({}, this.constructor.Default, $$$1(this.element).data(), typeof config === 'object' && config ? config : {});
|
||||||
|
|
||||||
if (typeof config.delay === 'number') {
|
if (typeof config.delay === 'number') {
|
||||||
config.delay = {
|
config.delay = {
|
||||||
|
|
@ -3464,7 +3466,7 @@
|
||||||
|
|
||||||
|
|
||||||
_proto._getConfig = function _getConfig(config) {
|
_proto._getConfig = function _getConfig(config) {
|
||||||
config = _objectSpread({}, Default, config);
|
config = _objectSpread({}, Default, typeof config === 'object' && config ? config : {});
|
||||||
|
|
||||||
if (typeof config.target !== 'string') {
|
if (typeof config.target !== 'string') {
|
||||||
var id = $$$1(config.target).attr('id');
|
var id = $$$1(config.target).attr('id');
|
||||||
|
|
@ -3885,7 +3887,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* --------------------------------------------------------------------------
|
* --------------------------------------------------------------------------
|
||||||
* Bootstrap (v4.0.0): index.js
|
* Bootstrap (v4.1.0): index.js
|
||||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||||
* --------------------------------------------------------------------------
|
* --------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
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
|
|
@ -52,9 +52,11 @@ var Alert = function ($) {
|
||||||
|
|
||||||
// Public
|
// Public
|
||||||
_proto.close = function close(element) {
|
_proto.close = function close(element) {
|
||||||
element = element || this._element;
|
var rootElement = this._element;
|
||||||
|
|
||||||
var rootElement = this._getRootElement(element);
|
if (element) {
|
||||||
|
rootElement = this._getRootElement(element);
|
||||||
|
}
|
||||||
|
|
||||||
var customEvent = this._triggerCloseEvent(rootElement);
|
var customEvent = this._triggerCloseEvent(rootElement);
|
||||||
|
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -290,7 +290,7 @@ var Collapse = function ($) {
|
||||||
var $this = $(this);
|
var $this = $(this);
|
||||||
var data = $this.data(DATA_KEY);
|
var data = $this.data(DATA_KEY);
|
||||||
|
|
||||||
var _config = _objectSpread({}, Default, $this.data(), typeof config === 'object' && config);
|
var _config = _objectSpread({}, Default, $this.data(), typeof config === 'object' && config ? config : {});
|
||||||
|
|
||||||
if (!data && _config.toggle && /show|hide/.test(config)) {
|
if (!data && _config.toggle && /show|hide/.test(config)) {
|
||||||
_config.toggle = false;
|
_config.toggle = false;
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -1,6 +1,6 @@
|
||||||
/**
|
/**
|
||||||
* --------------------------------------------------------------------------
|
* --------------------------------------------------------------------------
|
||||||
* Bootstrap (v4.0.0): index.js
|
* Bootstrap (v4.1.0): index.js
|
||||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||||
* --------------------------------------------------------------------------
|
* --------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
{"version":3,"sources":["../src/index.js"],"names":["$","TypeError","version","fn","jquery","split","minMajor","ltMajor","minMinor","minPatch","maxMajor","Error"],"mappings":"AAaA;;;;;;AAOA,CAAC,UAACA,CAAD,EAAO;AACN,MAAI,OAAOA,CAAP,KAAa,WAAjB,EAA8B;AAC5B,UAAM,IAAIC,SAAJ,CAAc,kGAAd,CAAN;AACD;;AAED,MAAMC,UAAUF,EAAEG,EAAF,CAAKC,MAAL,CAAYC,KAAZ,CAAkB,GAAlB,EAAuB,CAAvB,EAA0BA,KAA1B,CAAgC,GAAhC,CAAhB;AACA,MAAMC,WAAW,CAAjB;AACA,MAAMC,UAAU,CAAhB;AACA,MAAMC,WAAW,CAAjB;AACA,MAAMC,WAAW,CAAjB;AACA,MAAMC,WAAW,CAAjB;;AAEA,MAAIR,QAAQ,CAAR,IAAaK,OAAb,IAAwBL,QAAQ,CAAR,IAAaM,QAArC,IAAiDN,QAAQ,CAAR,MAAeI,QAAf,IAA2BJ,QAAQ,CAAR,MAAeM,QAA1C,IAAsDN,QAAQ,CAAR,IAAaO,QAApH,IAAgIP,QAAQ,CAAR,KAAcQ,QAAlJ,EAA4J;AAC1J,UAAM,IAAIC,KAAJ,CAAU,8EAAV,CAAN;AACD;AACF,CAfD,EAeGX,CAfH","sourcesContent":["import $ from 'jquery'\nimport Alert from './alert'\nimport Button from './button'\nimport Carousel from './carousel'\nimport Collapse from './collapse'\nimport Dropdown from './dropdown'\nimport Modal from './modal'\nimport Popover from './popover'\nimport Scrollspy from './scrollspy'\nimport Tab from './tab'\nimport Tooltip from './tooltip'\nimport Util from './util'\n\n/**\n * --------------------------------------------------------------------------\n * Bootstrap (v4.0.0): index.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * --------------------------------------------------------------------------\n */\n\n(($) => {\n if (typeof $ === 'undefined') {\n throw new TypeError('Bootstrap\\'s JavaScript requires jQuery. jQuery must be included before Bootstrap\\'s JavaScript.')\n }\n\n const version = $.fn.jquery.split(' ')[0].split('.')\n const minMajor = 1\n const ltMajor = 2\n const minMinor = 9\n const minPatch = 1\n const maxMajor = 4\n\n if (version[0] < ltMajor && version[1] < minMinor || version[0] === minMajor && version[1] === minMinor && version[2] < minPatch || version[0] >= maxMajor) {\n throw new Error('Bootstrap\\'s JavaScript requires at least jQuery v1.9.1 but less than v4.0.0')\n }\n})($)\n\nexport {\n Util,\n Alert,\n Button,\n Carousel,\n Collapse,\n Dropdown,\n Modal,\n Popover,\n Scrollspy,\n Tab,\n Tooltip\n}\n"],"file":"index.js"}
|
{"version":3,"sources":["../src/index.js"],"names":["$","TypeError","version","fn","jquery","split","minMajor","ltMajor","minMinor","minPatch","maxMajor","Error"],"mappings":"AAaA;;;;;;AAOA,CAAC,UAACA,CAAD,EAAO;AACN,MAAI,OAAOA,CAAP,KAAa,WAAjB,EAA8B;AAC5B,UAAM,IAAIC,SAAJ,CAAc,kGAAd,CAAN;AACD;;AAED,MAAMC,UAAUF,EAAEG,EAAF,CAAKC,MAAL,CAAYC,KAAZ,CAAkB,GAAlB,EAAuB,CAAvB,EAA0BA,KAA1B,CAAgC,GAAhC,CAAhB;AACA,MAAMC,WAAW,CAAjB;AACA,MAAMC,UAAU,CAAhB;AACA,MAAMC,WAAW,CAAjB;AACA,MAAMC,WAAW,CAAjB;AACA,MAAMC,WAAW,CAAjB;;AAEA,MAAIR,QAAQ,CAAR,IAAaK,OAAb,IAAwBL,QAAQ,CAAR,IAAaM,QAArC,IAAiDN,QAAQ,CAAR,MAAeI,QAAf,IAA2BJ,QAAQ,CAAR,MAAeM,QAA1C,IAAsDN,QAAQ,CAAR,IAAaO,QAApH,IAAgIP,QAAQ,CAAR,KAAcQ,QAAlJ,EAA4J;AAC1J,UAAM,IAAIC,KAAJ,CAAU,8EAAV,CAAN;AACD;AACF,CAfD,EAeGX,CAfH","sourcesContent":["import $ from 'jquery'\nimport Alert from './alert'\nimport Button from './button'\nimport Carousel from './carousel'\nimport Collapse from './collapse'\nimport Dropdown from './dropdown'\nimport Modal from './modal'\nimport Popover from './popover'\nimport Scrollspy from './scrollspy'\nimport Tab from './tab'\nimport Tooltip from './tooltip'\nimport Util from './util'\n\n/**\n * --------------------------------------------------------------------------\n * Bootstrap (v4.1.0): index.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * --------------------------------------------------------------------------\n */\n\n(($) => {\n if (typeof $ === 'undefined') {\n throw new TypeError('Bootstrap\\'s JavaScript requires jQuery. jQuery must be included before Bootstrap\\'s JavaScript.')\n }\n\n const version = $.fn.jquery.split(' ')[0].split('.')\n const minMajor = 1\n const ltMajor = 2\n const minMinor = 9\n const minPatch = 1\n const maxMajor = 4\n\n if (version[0] < ltMajor && version[1] < minMinor || version[0] === minMajor && version[1] === minMinor && version[2] < minPatch || version[0] >= maxMajor) {\n throw new Error('Bootstrap\\'s JavaScript requires at least jQuery v1.9.1 but less than v4.0.0')\n }\n})($)\n\nexport {\n Util,\n Alert,\n Button,\n Carousel,\n Collapse,\n Dropdown,\n Modal,\n Popover,\n Scrollspy,\n Tab,\n Tooltip\n}\n"],"file":"index.js"}
|
||||||
|
|
@ -495,7 +495,7 @@ var Modal = function ($) {
|
||||||
return this.each(function () {
|
return this.each(function () {
|
||||||
var data = $(this).data(DATA_KEY);
|
var data = $(this).data(DATA_KEY);
|
||||||
|
|
||||||
var _config = _objectSpread({}, Modal.Default, $(this).data(), typeof config === 'object' && config);
|
var _config = _objectSpread({}, Default, $(this).data(), typeof config === 'object' && config ? config : {});
|
||||||
|
|
||||||
if (!data) {
|
if (!data) {
|
||||||
data = new Modal(this, _config);
|
data = new Modal(this, _config);
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -146,7 +146,7 @@ var ScrollSpy = function ($) {
|
||||||
|
|
||||||
|
|
||||||
_proto._getConfig = function _getConfig(config) {
|
_proto._getConfig = function _getConfig(config) {
|
||||||
config = _objectSpread({}, Default, config);
|
config = _objectSpread({}, Default, typeof config === 'object' && config ? config : {});
|
||||||
|
|
||||||
if (typeof config.target !== 'string') {
|
if (typeof config.target !== 'string') {
|
||||||
var id = $(config.target).attr('id');
|
var id = $(config.target).attr('id');
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -524,7 +524,7 @@ var Tooltip = function ($) {
|
||||||
};
|
};
|
||||||
|
|
||||||
_proto._getConfig = function _getConfig(config) {
|
_proto._getConfig = function _getConfig(config) {
|
||||||
config = _objectSpread({}, this.constructor.Default, $(this.element).data(), config);
|
config = _objectSpread({}, this.constructor.Default, $(this.element).data(), typeof config === 'object' && config ? config : {});
|
||||||
|
|
||||||
if (typeof config.delay === 'number') {
|
if (typeof config.delay === 'number') {
|
||||||
config.delay = {
|
config.delay = {
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue