1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-21 12:51:52 +02:00
This commit is contained in:
XhmikosR
2022-11-21 20:19:01 +02:00
parent 39589472f7
commit cb021439c6
97 changed files with 390 additions and 288 deletions

View File

@@ -1,5 +1,5 @@
/*!
* Bootstrap v5.2.2 (https://getbootstrap.com/)
* Bootstrap v5.2.3 (https://getbootstrap.com/)
* Copyright 2011-2022 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
@@ -11,7 +11,7 @@
/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): util/index.js
* Bootstrap (v5.2.3): util/index.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
@@ -326,7 +326,7 @@
/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): dom/event-handler.js
* Bootstrap (v5.2.3): dom/event-handler.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
@@ -595,7 +595,7 @@
/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): dom/data.js
* Bootstrap (v5.2.3): dom/data.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
@@ -647,7 +647,7 @@
/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): dom/manipulator.js
* Bootstrap (v5.2.3): dom/manipulator.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
@@ -717,7 +717,7 @@
/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): util/config.js
* Bootstrap (v5.2.3): util/config.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
@@ -778,7 +778,7 @@
/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): base-component.js
* Bootstrap (v5.2.3): base-component.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
@@ -786,7 +786,7 @@
* Constants
*/
const VERSION = '5.2.2';
const VERSION = '5.2.3';
/**
* Class definition
*/
@@ -857,7 +857,7 @@
/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): util/component-functions.js
* Bootstrap (v5.2.3): util/component-functions.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
@@ -883,7 +883,7 @@
/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): alert.js
* Bootstrap (v5.2.3): alert.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
@@ -963,7 +963,7 @@
/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): button.js
* Bootstrap (v5.2.3): button.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
@@ -1025,7 +1025,7 @@
/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): dom/selector-engine.js
* Bootstrap (v5.2.3): dom/selector-engine.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
@@ -1096,7 +1096,7 @@
/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): util/swipe.js
* Bootstrap (v5.2.3): util/swipe.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
@@ -1232,7 +1232,7 @@
/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): carousel.js
* Bootstrap (v5.2.3): carousel.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
@@ -1680,7 +1680,7 @@
/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): collapse.js
* Bootstrap (v5.2.3): collapse.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
@@ -3816,7 +3816,7 @@
/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): dropdown.js
* Bootstrap (v5.2.3): dropdown.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
@@ -4248,7 +4248,7 @@
/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): util/scrollBar.js
* Bootstrap (v5.2.3): util/scrollBar.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
@@ -4367,7 +4367,7 @@
/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): util/backdrop.js
* Bootstrap (v5.2.3): util/backdrop.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
@@ -4513,7 +4513,7 @@
/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): util/focustrap.js
* Bootstrap (v5.2.3): util/focustrap.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
@@ -4622,7 +4622,7 @@
/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): modal.js
* Bootstrap (v5.2.3): modal.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
@@ -4998,7 +4998,7 @@
/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): offcanvas.js
* Bootstrap (v5.2.3): offcanvas.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
@@ -5272,7 +5272,7 @@
/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): util/sanitizer.js
* Bootstrap (v5.2.3): util/sanitizer.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
@@ -5377,7 +5377,7 @@
/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): util/template-factory.js
* Bootstrap (v5.2.3): util/template-factory.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
@@ -5535,7 +5535,7 @@
/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): tooltip.js
* Bootstrap (v5.2.3): tooltip.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
@@ -5685,10 +5685,6 @@
clearTimeout(this._timeout);
EventHandler.off(this._element.closest(SELECTOR_MODAL), EVENT_MODAL_HIDE, this._hideModalHandler);
if (this.tip) {
this.tip.remove();
}
if (this._element.getAttribute('data-bs-original-title')) {
this._element.setAttribute('title', this._element.getAttribute('data-bs-original-title'));
}
@@ -5717,10 +5713,7 @@
} // todo v6 remove this OR make it optional
if (this.tip) {
this.tip.remove();
this.tip = null;
}
this._disposePopper();
const tip = this._getTipElement();
@@ -5735,12 +5728,7 @@
EventHandler.trigger(this._element, this.constructor.eventName(EVENT_INSERTED));
}
if (this._popper) {
this._popper.update();
} else {
this._popper = this._createPopper(tip);
}
this._popper = this._createPopper(tip);
tip.classList.add(CLASS_NAME_SHOW$2); // If this is a touch-enabled device we add extra
// empty mouseover listeners to the body's immediate children;
// only needed because of broken event delegation on iOS
@@ -5798,14 +5786,12 @@
}
if (!this._isHovered) {
tip.remove();
this._disposePopper();
}
this._element.removeAttribute('aria-describedby');
EventHandler.trigger(this._element, this.constructor.eventName(EVENT_HIDDEN$2));
this._disposePopper();
};
this._queueCallback(complete, this.tip, this._isAnimated());
@@ -6122,6 +6108,11 @@
this._popper = null;
}
if (this.tip) {
this.tip.remove();
this.tip = null;
}
} // Static
@@ -6151,7 +6142,7 @@
/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): popover.js
* Bootstrap (v5.2.3): popover.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
@@ -6234,7 +6225,7 @@
/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): scrollspy.js
* Bootstrap (v5.2.3): scrollspy.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
@@ -6525,7 +6516,7 @@
/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): tab.js
* Bootstrap (v5.2.3): tab.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
@@ -6838,7 +6829,7 @@
/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): toast.js
* Bootstrap (v5.2.3): toast.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
@@ -7059,7 +7050,7 @@
/**
* --------------------------------------------------------------------------
* Bootstrap (v5.2.2): index.umd.js
* Bootstrap (v5.2.3): index.umd.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/