|
|
|
@ -27,7 +27,9 @@ |
|
|
|
return {}.toString.call(obj).match(/\s([a-z]+)/i)[1].toLowerCase(); |
|
|
|
}; |
|
|
|
/** |
|
|
|
* Public Util API |
|
|
|
* -------------------------------------------------------------------------- |
|
|
|
* Public Util Api |
|
|
|
* -------------------------------------------------------------------------- |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
@ -327,6 +329,7 @@ |
|
|
|
/** |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
* Constants |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
*/ |
|
|
|
|
|
|
|
const namespaceRegex = /[^.]*(?=\..*)\.|.*/; |
|
|
|
@ -760,6 +763,7 @@ |
|
|
|
/** |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
* Constants |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
*/ |
|
|
|
|
|
|
|
const NAME$d = 'alert'; |
|
|
|
@ -1132,7 +1136,9 @@ |
|
|
|
const POINTER_TYPE_TOUCH = 'touch'; |
|
|
|
const POINTER_TYPE_PEN = 'pen'; |
|
|
|
/** |
|
|
|
* Class definition |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
* Class Definition |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
*/ |
|
|
|
|
|
|
|
class Carousel extends BaseComponent { |
|
|
|
@ -1578,7 +1584,9 @@ |
|
|
|
|
|
|
|
} |
|
|
|
/** |
|
|
|
* Data API implementation |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
* Data Api implementation |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
@ -1591,6 +1599,7 @@ |
|
|
|
} |
|
|
|
}); |
|
|
|
/** |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
* jQuery |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
* add .Carousel to jQuery only if jQuery is present |
|
|
|
@ -1607,6 +1616,7 @@ |
|
|
|
/** |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
* Constants |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
*/ |
|
|
|
|
|
|
|
const NAME$a = 'collapse'; |
|
|
|
@ -1637,7 +1647,9 @@ |
|
|
|
const SELECTOR_ACTIVES = '.collapse.show, .collapse.collapsing'; |
|
|
|
const SELECTOR_DATA_TOGGLE$4 = '[data-bs-toggle="collapse"]'; |
|
|
|
/** |
|
|
|
* Class definition |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
* Class Definition |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
*/ |
|
|
|
|
|
|
|
class Collapse extends BaseComponent { |
|
|
|
@ -1885,7 +1897,9 @@ |
|
|
|
|
|
|
|
} |
|
|
|
/** |
|
|
|
* Data API implementation |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
* Data Api implementation |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
@ -1904,6 +1918,7 @@ |
|
|
|
}); |
|
|
|
}); |
|
|
|
/** |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
* jQuery |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
* add .Collapse to jQuery only if jQuery is present |
|
|
|
@ -4497,7 +4512,9 @@ |
|
|
|
* -------------------------------------------------------------------------- |
|
|
|
*/ |
|
|
|
/** |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
* Constants |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
*/ |
|
|
|
|
|
|
|
const NAME$6 = 'modal'; |
|
|
|
@ -4535,7 +4552,9 @@ |
|
|
|
const SELECTOR_MODAL_BODY = '.modal-body'; |
|
|
|
const SELECTOR_DATA_TOGGLE$2 = '[data-bs-toggle="modal"]'; |
|
|
|
/** |
|
|
|
* Class definition |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
* Class Definition |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
*/ |
|
|
|
|
|
|
|
class Modal extends BaseComponent { |
|
|
|
@ -5128,7 +5147,9 @@ |
|
|
|
|
|
|
|
} |
|
|
|
/** |
|
|
|
* Data API implementation |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
* Data Api implementation |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
@ -5162,7 +5183,9 @@ |
|
|
|
EventHandler.on(window, EVENT_LOAD_DATA_API$1, () => SelectorEngine.find(OPEN_SELECTOR).forEach(el => Offcanvas.getOrCreateInstance(el).show())); |
|
|
|
enableDismissTrigger(Offcanvas); |
|
|
|
/** |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
* jQuery |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
*/ |
|
|
|
|
|
|
|
defineJQueryPlugin(Offcanvas); |
|
|
|
@ -5288,6 +5311,7 @@ |
|
|
|
/** |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
* Constants |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
*/ |
|
|
|
|
|
|
|
const NAME$4 = 'tooltip'; |
|
|
|
@ -5365,7 +5389,9 @@ |
|
|
|
const TRIGGER_CLICK = 'click'; |
|
|
|
const TRIGGER_MANUAL = 'manual'; |
|
|
|
/** |
|
|
|
* Class definition |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
* Class Definition |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
*/ |
|
|
|
|
|
|
|
class Tooltip extends BaseComponent { |
|
|
|
@ -5977,6 +6003,7 @@ |
|
|
|
|
|
|
|
} |
|
|
|
/** |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
* jQuery |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
* add .Tooltip to jQuery only if jQuery is present |
|
|
|
@ -5994,6 +6021,7 @@ |
|
|
|
/** |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
* Constants |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
*/ |
|
|
|
|
|
|
|
const NAME$3 = 'popover'; |
|
|
|
@ -6025,7 +6053,9 @@ |
|
|
|
const SELECTOR_TITLE = '.popover-header'; |
|
|
|
const SELECTOR_CONTENT = '.popover-body'; |
|
|
|
/** |
|
|
|
* Class definition |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
* Class Definition |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
*/ |
|
|
|
|
|
|
|
class Popover extends Tooltip { |
|
|
|
@ -6083,6 +6113,7 @@ |
|
|
|
|
|
|
|
} |
|
|
|
/** |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
* jQuery |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
* add .Popover to jQuery only if jQuery is present |
|
|
|
@ -6100,6 +6131,7 @@ |
|
|
|
/** |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
* Constants |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
*/ |
|
|
|
|
|
|
|
const NAME$2 = 'scrollspy'; |
|
|
|
@ -6132,7 +6164,9 @@ |
|
|
|
const METHOD_OFFSET = 'offset'; |
|
|
|
const METHOD_POSITION = 'position'; |
|
|
|
/** |
|
|
|
* Class definition |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
* Class Definition |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
*/ |
|
|
|
|
|
|
|
class ScrollSpy extends BaseComponent { |
|
|
|
@ -6305,7 +6339,9 @@ |
|
|
|
|
|
|
|
} |
|
|
|
/** |
|
|
|
* Data API implementation |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
* Data Api implementation |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
@ -6313,6 +6349,7 @@ |
|
|
|
SelectorEngine.find(SELECTOR_DATA_SPY).forEach(spy => new ScrollSpy(spy)); |
|
|
|
}); |
|
|
|
/** |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
* jQuery |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
* add .ScrollSpy to jQuery only if jQuery is present |
|
|
|
@ -6329,6 +6366,7 @@ |
|
|
|
/** |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
* Constants |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
*/ |
|
|
|
|
|
|
|
const NAME$1 = 'tab'; |
|
|
|
@ -6352,7 +6390,9 @@ |
|
|
|
const SELECTOR_DROPDOWN_TOGGLE = '.dropdown-toggle'; |
|
|
|
const SELECTOR_DROPDOWN_ACTIVE_CHILD = ':scope > .dropdown-menu .active'; |
|
|
|
/** |
|
|
|
* Class definition |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
* Class Definition |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
*/ |
|
|
|
|
|
|
|
class Tab extends BaseComponent { |
|
|
|
@ -6488,7 +6528,9 @@ |
|
|
|
|
|
|
|
} |
|
|
|
/** |
|
|
|
* Data API implementation |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
* Data Api implementation |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
@ -6505,6 +6547,7 @@ |
|
|
|
data.show(); |
|
|
|
}); |
|
|
|
/** |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
* jQuery |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
* add .Tab to jQuery only if jQuery is present |
|
|
|
@ -6521,6 +6564,7 @@ |
|
|
|
/** |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
* Constants |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
*/ |
|
|
|
|
|
|
|
const NAME = 'toast'; |
|
|
|
@ -6550,7 +6594,9 @@ |
|
|
|
delay: 5000 |
|
|
|
}; |
|
|
|
/** |
|
|
|
* Class definition |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
* Class Definition |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
*/ |
|
|
|
|
|
|
|
class Toast extends BaseComponent { |
|
|
|
@ -6731,6 +6777,7 @@ |
|
|
|
|
|
|
|
enableDismissTrigger(Toast); |
|
|
|
/** |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
* jQuery |
|
|
|
* ------------------------------------------------------------------------ |
|
|
|
* add .Toast to jQuery only if jQuery is present |
|
|
|
|