-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
39c7024
commit 847fb41
Showing
76 changed files
with
11,948 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file added
BIN
+19.7 KB
docs/libs/bootstrap-4.6.0/fonts/bootstrap/glyphicons-halflings-regular.eot
Binary file not shown.
288 changes: 288 additions & 0 deletions
288
docs/libs/bootstrap-4.6.0/fonts/bootstrap/glyphicons-halflings-regular.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+44.3 KB
docs/libs/bootstrap-4.6.0/fonts/bootstrap/glyphicons-halflings-regular.ttf
Binary file not shown.
Binary file added
BIN
+22.9 KB
docs/libs/bootstrap-4.6.0/fonts/bootstrap/glyphicons-halflings-regular.woff
Binary file not shown.
Binary file added
BIN
+17.6 KB
docs/libs/bootstrap-4.6.0/fonts/bootstrap/glyphicons-halflings-regular.woff2
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
// Inform the world that we have the ability to use BS3 nav/navbar markup in BS4 | ||
window.BS3_COMPAT = true; | ||
|
||
// This logic needs to execute after both the BS4+ (new) as well as BS3 (legacy) | ||
// jQuery plugins have been registered. For BS5, plugin registration happens | ||
// after DOM content is loaded, which is why we do the same here. | ||
// https://github.com/twbs/bootstrap/blob/08139c22/js/dist/tab.js#L87 | ||
$(function() { | ||
|
||
// The legacy plugin needs to be registered after the new one | ||
if (!$.fn.tab.Constructor.VERSION.match(/^3\./)) { | ||
(console.warn || console.error || console.log)("bs3compat.js couldn't find bs3 tab impl; bs3 tabs will not be properly supported"); | ||
return; | ||
} | ||
var legacyTabPlugin = $.fn.tab.noConflict(); | ||
|
||
if (!$.fn.tab || !$.fn.tab.Constructor || !$.fn.tab.noConflict) { | ||
(console.warn || console.error || console.log)("bs3compat.js couldn't find a jQuery tab impl; bs3 tabs will not be properly supported"); | ||
} | ||
var newTabPlugin = $.fn.tab.noConflict(); | ||
|
||
// Re-define the tab click event | ||
// https://github.com/twbs/bootstrap/blob/08139c2/js/src/tab.js#L33 | ||
var EVENT_KEY = "click.bs.tab.data-api"; | ||
$(document).off(EVENT_KEY); | ||
|
||
var SELECTOR = '[data-toggle="tab"], [data-toggle="pill"], [data-bs-toggle="tab"], [data-bs-toggle="pill"]'; | ||
$(document).on(EVENT_KEY, SELECTOR, function(event) { | ||
event.preventDefault(); | ||
$(this).tab("show"); | ||
}); | ||
|
||
function TabPlugin(config) { | ||
// Legacy (bs3) tabs: li.active > a | ||
// New (bs4+) tabs: li.nav-item > a.active.nav-link | ||
var legacy = $(this).closest(".nav").find("li:not(.dropdown).active > a").length > 0; | ||
var plugin = legacy ? legacyTabPlugin : newTabPlugin; | ||
plugin.call($(this), config); | ||
} | ||
|
||
var noconflict = $.fn.tab; | ||
$.fn.tab = TabPlugin; | ||
$.fn.tab.Constructor = newTabPlugin.Constructor; | ||
$.fn.tab.noConflict = function() { | ||
$.fn.tab = noconflict; | ||
return TabPlugin; | ||
}; | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,157 @@ | ||
/* ======================================================================== | ||
* Bootstrap: tab.js v3.4.1 | ||
* https://getbootstrap.com/docs/3.4/javascript/#tabs | ||
* ======================================================================== | ||
* Copyright 2011-2019 Twitter, Inc. | ||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
* ======================================================================== */ | ||
|
||
// Register tab plugin after DOM content loaded in order to | ||
// override BS5's plugin | ||
// https://github.com/twbs/bootstrap/blob/08139c22/js/dist/tab.js#L87 | ||
$(function() { | ||
'use strict'; | ||
|
||
// TAB CLASS DEFINITION | ||
// ==================== | ||
|
||
var Tab = function (element) { | ||
// jscs:disable requireDollarBeforejQueryAssignment | ||
this.element = $(element) | ||
// jscs:enable requireDollarBeforejQueryAssignment | ||
} | ||
|
||
Tab.VERSION = '3.4.1' | ||
|
||
Tab.TRANSITION_DURATION = 150 | ||
|
||
Tab.prototype.show = function () { | ||
var $this = this.element | ||
var $ul = $this.closest('ul:not(.dropdown-menu)') | ||
var selector = $this.data('target') | ||
|
||
if (!selector) { | ||
selector = $this.attr('href') | ||
selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7 | ||
} | ||
|
||
if ($this.parent('li').hasClass('active')) return | ||
|
||
var $previous = $ul.find('.active:last a') | ||
var hideEvent = $.Event('hide.bs.tab', { | ||
relatedTarget: $this[0] | ||
}) | ||
var showEvent = $.Event('show.bs.tab', { | ||
relatedTarget: $previous[0] | ||
}) | ||
|
||
$previous.trigger(hideEvent) | ||
$this.trigger(showEvent) | ||
|
||
if (showEvent.isDefaultPrevented() || hideEvent.isDefaultPrevented()) return | ||
|
||
var $target = $(document).find(selector) | ||
|
||
this.activate($this.closest('li'), $ul) | ||
this.activate($target, $target.parent(), function () { | ||
$previous.trigger({ | ||
type: 'hidden.bs.tab', | ||
relatedTarget: $this[0] | ||
}) | ||
$this.trigger({ | ||
type: 'shown.bs.tab', | ||
relatedTarget: $previous[0] | ||
}) | ||
}) | ||
} | ||
|
||
Tab.prototype.activate = function (element, container, callback) { | ||
var $active = container.find('> .active') | ||
var transition = callback | ||
&& $.support.transition | ||
&& ($active.length && $active.hasClass('fade') || !!container.find('> .fade').length) | ||
|
||
function next() { | ||
$active | ||
.removeClass('active') | ||
.find('> .dropdown-menu > .active') | ||
.removeClass('active') | ||
.end() | ||
.find('[data-toggle="tab"]') | ||
.attr('aria-expanded', false) | ||
|
||
element | ||
.addClass('active') | ||
.find('[data-toggle="tab"]') | ||
.attr('aria-expanded', true) | ||
|
||
if (transition) { | ||
element[0].offsetWidth // reflow for transition | ||
element.addClass('in') | ||
} else { | ||
element.removeClass('fade') | ||
} | ||
|
||
if (element.parent('.dropdown-menu').length) { | ||
element | ||
.closest('li.dropdown') | ||
.addClass('active') | ||
.end() | ||
.find('[data-toggle="tab"]') | ||
.attr('aria-expanded', true) | ||
} | ||
|
||
callback && callback() | ||
} | ||
|
||
$active.length && transition ? | ||
$active | ||
.one('bsTransitionEnd', next) | ||
.emulateTransitionEnd(Tab.TRANSITION_DURATION) : | ||
next() | ||
|
||
$active.removeClass('in') | ||
} | ||
|
||
|
||
// TAB PLUGIN DEFINITION | ||
// ===================== | ||
|
||
function Plugin(option) { | ||
return this.each(function () { | ||
var $this = $(this) | ||
var data = $this.data('bs.tab') | ||
|
||
if (!data) $this.data('bs.tab', (data = new Tab(this))) | ||
if (typeof option == 'string') data[option]() | ||
}) | ||
} | ||
|
||
var old = $.fn.tab | ||
|
||
$.fn.tab = Plugin | ||
$.fn.tab.Constructor = Tab | ||
|
||
|
||
// TAB NO CONFLICT | ||
// =============== | ||
|
||
$.fn.tab.noConflict = function () { | ||
$.fn.tab = old | ||
return this | ||
} | ||
|
||
|
||
// TAB DATA-API | ||
// ============ | ||
|
||
var clickHandler = function (e) { | ||
e.preventDefault() | ||
Plugin.call($(this), 'show') | ||
} | ||
|
||
$(document) | ||
.on('click.bs.tab.data-api', '[data-toggle="tab"]', clickHandler) | ||
.on('click.bs.tab.data-api', '[data-toggle="pill"]', clickHandler) | ||
|
||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
/* ======================================================================== | ||
* Bootstrap: transition.js v3.4.1 | ||
* https://getbootstrap.com/docs/3.4/javascript/#transitions | ||
* ======================================================================== | ||
* Copyright 2011-2019 Twitter, Inc. | ||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/v3-dev/LICENSE) | ||
* ======================================================================== */ | ||
|
||
|
||
+function ($) { | ||
'use strict'; | ||
|
||
// CSS TRANSITION SUPPORT (Shoutout: https://modernizr.com/) | ||
// ============================================================ | ||
|
||
function transitionEnd() { | ||
var el = document.createElement('bootstrap') | ||
|
||
var transEndEventNames = { | ||
WebkitTransition : 'webkitTransitionEnd', | ||
MozTransition : 'transitionend', | ||
OTransition : 'oTransitionEnd otransitionend', | ||
transition : 'transitionend' | ||
} | ||
|
||
for (var name in transEndEventNames) { | ||
if (el.style[name] !== undefined) { | ||
return { end: transEndEventNames[name] } | ||
} | ||
} | ||
|
||
return false // explicit for ie8 ( ._.) | ||
} | ||
|
||
// https://blog.alexmaccaw.com/css-transitions | ||
$.fn.emulateTransitionEnd = function (duration) { | ||
var called = false | ||
var $el = this | ||
$(this).one('bsTransitionEnd', function () { called = true }) | ||
var callback = function () { if (!called) $($el).trigger($.support.transition.end) } | ||
setTimeout(callback, duration) | ||
return this | ||
} | ||
|
||
$(function () { | ||
$.support.transition = transitionEnd() | ||
|
||
if (!$.support.transition) return | ||
|
||
$.event.special.bsTransitionEnd = { | ||
bindType: $.support.transition.end, | ||
delegateType: $.support.transition.end, | ||
handle: function (e) { | ||
if ($(e.target).is(this)) return e.handleObj.handler.apply(this, arguments) | ||
} | ||
} | ||
}) | ||
|
||
}(jQuery); |
Oops, something went wrong.