Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2019-10-08 09:39:10 +0300
committerGitHub <noreply@github.com>2019-10-08 09:39:10 +0300
commit1770691b339bdbf17de5e8824158b358dc0284a9 (patch)
tree69ac7056dcc46fbf63497df93b6e69c623fb93d2 /dist/js/bootstrap.esm.js
parent9c54d3579757aa1e4027ff8fb434a18c656d840c (diff)
Dist (#29484)
Diffstat (limited to 'dist/js/bootstrap.esm.js')
-rw-r--r--dist/js/bootstrap.esm.js134
1 files changed, 60 insertions, 74 deletions
diff --git a/dist/js/bootstrap.esm.js b/dist/js/bootstrap.esm.js
index f88f8ee548..87a0569943 100644
--- a/dist/js/bootstrap.esm.js
+++ b/dist/js/bootstrap.esm.js
@@ -98,7 +98,6 @@ var toType = function toType(obj) {
var getUID = function getUID(prefix) {
do {
- // eslint-disable-next-line no-bitwise
prefix += ~~(Math.random() * MAX_UID); // "~~" acts like a faster Math.floor() here
} while (document.getElementById(prefix));
@@ -235,8 +234,7 @@ var findShadowRoot = function findShadowRoot(element) {
}
return findShadowRoot(element.parentNode);
-}; // eslint-disable-next-line no-empty-function
-
+};
var noop = function noop() {
return function () {};
@@ -415,7 +413,7 @@ var supportScopeQuery = function () {
try {
element.querySelectorAll(':scope *');
- } catch (error) {
+ } catch (_) {
return false;
}
@@ -675,7 +673,7 @@ var EventHandler = {
if (isNamespace) {
Object.keys(events).forEach(function (elementEvent) {
- removeNamespacedHandlers(element, events, elementEvent, originalTypeEvent.substr(1));
+ removeNamespacedHandlers(element, events, elementEvent, originalTypeEvent.slice(1));
});
}
@@ -851,13 +849,12 @@ var ClassName = {
ALERT: 'alert',
FADE: 'fade',
SHOW: 'show'
- /**
- * ------------------------------------------------------------------------
- * Class Definition
- * ------------------------------------------------------------------------
- */
-
};
+/**
+ * ------------------------------------------------------------------------
+ * Class Definition
+ * ------------------------------------------------------------------------
+ */
var Alert =
/*#__PURE__*/
@@ -1030,13 +1027,12 @@ var Event$2 = {
CLICK_DATA_API: "click" + EVENT_KEY$1 + DATA_API_KEY$1,
FOCUS_DATA_API: "focus" + EVENT_KEY$1 + DATA_API_KEY$1,
BLUR_DATA_API: "blur" + EVENT_KEY$1 + DATA_API_KEY$1
- /**
- * ------------------------------------------------------------------------
- * Class Definition
- * ------------------------------------------------------------------------
- */
-
};
+/**
+ * ------------------------------------------------------------------------
+ * Class Definition
+ * ------------------------------------------------------------------------
+ */
var Button =
/*#__PURE__*/
@@ -1342,13 +1338,12 @@ var Selector$2 = {
var PointerType = {
TOUCH: 'touch',
PEN: 'pen'
- /**
- * ------------------------------------------------------------------------
- * Class Definition
- * ------------------------------------------------------------------------
- */
-
};
+/**
+ * ------------------------------------------------------------------------
+ * Class Definition
+ * ------------------------------------------------------------------------
+ */
var Carousel =
/*#__PURE__*/
@@ -1918,13 +1913,12 @@ var Dimension = {
var Selector$3 = {
ACTIVES: '.show, .collapsing',
DATA_TOGGLE: '[data-toggle="collapse"]'
- /**
- * ------------------------------------------------------------------------
- * Class Definition
- * ------------------------------------------------------------------------
- */
-
};
+/**
+ * ------------------------------------------------------------------------
+ * Class Definition
+ * ------------------------------------------------------------------------
+ */
var Collapse =
/*#__PURE__*/
@@ -2372,13 +2366,12 @@ var DefaultType$2 = {
reference: '(string|element)',
display: 'string',
popperConfig: '(null|object)'
- /**
- * ------------------------------------------------------------------------
- * Class Definition
- * ------------------------------------------------------------------------
- */
-
};
+/**
+ * ------------------------------------------------------------------------
+ * Class Definition
+ * ------------------------------------------------------------------------
+ */
var Dropdown =
/*#__PURE__*/
@@ -2598,9 +2591,8 @@ function () {
preventOverflow: {
boundariesElement: this._config.boundary
}
- } // Disable Popper.js if we have a static display
-
- };
+ }
+ }; // Disable Popper.js if we have a static display
if (this._config.display === 'static') {
popperConfig.modifiers.applyStyle = {
@@ -2870,13 +2862,12 @@ var Selector$5 = {
DATA_DISMISS: '[data-dismiss="modal"]',
FIXED_CONTENT: '.fixed-top, .fixed-bottom, .is-fixed, .sticky-top',
STICKY_CONTENT: '.sticky-top'
- /**
- * ------------------------------------------------------------------------
- * Class Definition
- * ------------------------------------------------------------------------
- */
-
};
+/**
+ * ------------------------------------------------------------------------
+ * Class Definition
+ * ------------------------------------------------------------------------
+ */
var Modal =
/*#__PURE__*/
@@ -3620,13 +3611,12 @@ var Trigger = {
FOCUS: 'focus',
CLICK: 'click',
MANUAL: 'manual'
- /**
- * ------------------------------------------------------------------------
- * Class Definition
- * ------------------------------------------------------------------------
- */
-
};
+/**
+ * ------------------------------------------------------------------------
+ * Class Definition
+ * ------------------------------------------------------------------------
+ */
var Tooltip =
/*#__PURE__*/
@@ -4336,13 +4326,12 @@ var Event$8 = {
FOCUSOUT: "focusout" + EVENT_KEY$7,
MOUSEENTER: "mouseenter" + EVENT_KEY$7,
MOUSELEAVE: "mouseleave" + EVENT_KEY$7
- /**
- * ------------------------------------------------------------------------
- * Class Definition
- * ------------------------------------------------------------------------
- */
-
};
+/**
+ * ------------------------------------------------------------------------
+ * Class Definition
+ * ------------------------------------------------------------------------
+ */
var Popover =
/*#__PURE__*/
@@ -4531,13 +4520,12 @@ var Selector$8 = {
var OffsetMethod = {
OFFSET: 'offset',
POSITION: 'position'
- /**
- * ------------------------------------------------------------------------
- * Class Definition
- * ------------------------------------------------------------------------
- */
-
};
+/**
+ * ------------------------------------------------------------------------
+ * Class Definition
+ * ------------------------------------------------------------------------
+ */
var ScrollSpy =
/*#__PURE__*/
@@ -4838,13 +4826,12 @@ var Selector$9 = {
DATA_TOGGLE: '[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',
DROPDOWN_TOGGLE: '.dropdown-toggle',
DROPDOWN_ACTIVE_CHILD: ':scope > .dropdown-menu .active'
- /**
- * ------------------------------------------------------------------------
- * Class Definition
- * ------------------------------------------------------------------------
- */
-
};
+/**
+ * ------------------------------------------------------------------------
+ * Class Definition
+ * ------------------------------------------------------------------------
+ */
var Tab =
/*#__PURE__*/
@@ -5075,13 +5062,12 @@ var Default$7 = {
};
var Selector$a = {
DATA_DISMISS: '[data-dismiss="toast"]'
- /**
- * ------------------------------------------------------------------------
- * Class Definition
- * ------------------------------------------------------------------------
- */
-
};
+/**
+ * ------------------------------------------------------------------------
+ * Class Definition
+ * ------------------------------------------------------------------------
+ */
var Toast =
/*#__PURE__*/