mdb-ui-kit v7.3.1 -> v7.3.2
This commit is contained in:
parent
0c72a1b2c2
commit
2fd62b93fa
|
@ -949,8 +949,8 @@ https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/5.0.0/mdb.min.css
|
|||
https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/5.0.0/mdb.min.js
|
||||
https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/6.4.2/mdb.min.css
|
||||
https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/6.4.2/mdb.min.js
|
||||
https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/7.3.1/mdb.es.min.js
|
||||
https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/7.3.1/mdb.min.css
|
||||
https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/7.3.2/mdb.es.min.js
|
||||
https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/7.3.2/mdb.min.css
|
||||
https://cdnjs.cloudflare.com/ajax/libs/Modaal/0.4.4/css/modaal.min.css
|
||||
https://cdnjs.cloudflare.com/ajax/libs/Modaal/0.4.4/js/modaal.min.js
|
||||
https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js
|
||||
|
|
|
@ -337,7 +337,7 @@ targets.setLastVersion = function (type, version) {
|
|||
if (type.startsWith('/mdb-ui-kit/4.')) return '4.4.0';
|
||||
if (type.startsWith('/mdb-ui-kit/5.')) return '5.0.0';
|
||||
if (type.startsWith('/mdb-ui-kit/6.')) return '6.4.2';
|
||||
if (type.startsWith('/mdb-ui-kit/7.')) return '7.3.1';
|
||||
if (type.startsWith('/mdb-ui-kit/7.')) return '7.3.2';
|
||||
if (type.startsWith('/mobile/1.')) return '1.4.5';
|
||||
if (type.startsWith('/Modaal/0.')) return '0.4.4';
|
||||
if (type.startsWith('/modernizr/2.')) return '2.8.3';
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
<li>jquery-csv v1.0.21 -> v1.0.22</li>
|
||||
<li>jquery-migrate v3.4.1 -> v3.5.0</li>
|
||||
<li>libphonenumber-js v1.11.3 -> v1.11.4</li>
|
||||
<li>mdb-ui-kit v7.3.1 -> v7.3.2</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="generator-section">
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*!
|
||||
* MDB5
|
||||
* Version: FREE 7.3.1
|
||||
* Version: FREE 7.3.2
|
||||
*
|
||||
*
|
||||
* Copyright: Material Design for Bootstrap
|
|
@ -7340,9 +7340,13 @@ class Range extends BaseComponent2 {
|
|||
});
|
||||
}
|
||||
}
|
||||
const callbackInitState = /* @__PURE__ */ new Map();
|
||||
const alertCallback = (component, initSelector) => {
|
||||
const Alert3 = component;
|
||||
enableDismissTrigger(Alert3, "close");
|
||||
if (!callbackInitState.has(component.name)) {
|
||||
enableDismissTrigger(Alert3);
|
||||
callbackInitState.set(component.name, true);
|
||||
}
|
||||
SelectorEngine$1.find(initSelector).forEach((element2) => {
|
||||
return Alert3.getOrCreateInstance(element2);
|
||||
});
|
||||
|
@ -7350,17 +7354,23 @@ const alertCallback = (component, initSelector) => {
|
|||
const buttonCallback = (component, initSelector) => {
|
||||
const Button3 = component;
|
||||
const EVENT_CLICK_DATA_API = `click.bs.${component.name}.data-api`;
|
||||
EventHandler$1.on(document, EVENT_CLICK_DATA_API, initSelector, (event) => {
|
||||
event.preventDefault();
|
||||
const button = event.target.closest(initSelector);
|
||||
const data = Button3.getOrCreateInstance(button);
|
||||
data.toggle();
|
||||
});
|
||||
if (!callbackInitState.has(component.name)) {
|
||||
EventHandler$1.on(document, EVENT_CLICK_DATA_API, initSelector, (event) => {
|
||||
event.preventDefault();
|
||||
const button = event.target.closest(initSelector);
|
||||
const data = Button3.getOrCreateInstance(button);
|
||||
data.toggle();
|
||||
});
|
||||
callbackInitState.set(component.name, true);
|
||||
}
|
||||
SelectorEngine$1.find(initSelector).forEach((element2) => {
|
||||
return Button3.getOrCreateInstance(element2);
|
||||
});
|
||||
};
|
||||
const carouselCallback = (component, initSelector) => {
|
||||
if (callbackInitState.has(component.name)) {
|
||||
return;
|
||||
}
|
||||
const EVENT_CLICK_DATA_API = `click.bs.${component.name}.data-api`;
|
||||
const SELECTOR_DATA_SLIDE = "[data-mdb-slide], [data-mdb-slide-to]";
|
||||
const CLASS_NAME_CAROUSEL2 = "carousel";
|
||||
|
@ -7394,21 +7404,25 @@ const carouselCallback = (component, initSelector) => {
|
|||
Carousel3.getOrCreateInstance(carousel);
|
||||
});
|
||||
});
|
||||
callbackInitState.set(component.name, true);
|
||||
};
|
||||
const collapseCallback = (component, initSelector) => {
|
||||
const EVENT_CLICK_DATA_API = `click.bs.${component.name}.data-api`;
|
||||
const SELECTOR_DATA_TOGGLE2 = initSelector;
|
||||
const Collapse3 = component;
|
||||
EventHandler$1.on(document, EVENT_CLICK_DATA_API, SELECTOR_DATA_TOGGLE2, function(event) {
|
||||
if (event.target.tagName === "A" || event.delegateTarget && event.delegateTarget.tagName === "A") {
|
||||
event.preventDefault();
|
||||
}
|
||||
const selector = getSelectorFromElement(this);
|
||||
const selectorElements = SelectorEngine$1.find(selector);
|
||||
selectorElements.forEach((element2) => {
|
||||
Collapse3.getOrCreateInstance(element2, { toggle: false }).toggle();
|
||||
if (!callbackInitState.has(component.name)) {
|
||||
EventHandler$1.on(document, EVENT_CLICK_DATA_API, SELECTOR_DATA_TOGGLE2, function(event) {
|
||||
if (event.target.tagName === "A" || event.delegateTarget && event.delegateTarget.tagName === "A") {
|
||||
event.preventDefault();
|
||||
}
|
||||
const selector = getSelectorFromElement(this);
|
||||
const selectorElements = SelectorEngine$1.find(selector);
|
||||
selectorElements.forEach((element2) => {
|
||||
Collapse3.getOrCreateInstance(element2, { toggle: false }).toggle();
|
||||
});
|
||||
});
|
||||
});
|
||||
callbackInitState.set(component.name, true);
|
||||
}
|
||||
SelectorEngine$1.find(SELECTOR_DATA_TOGGLE2).forEach((el) => {
|
||||
const selector = getSelectorFromElement(el);
|
||||
const selectorElements = SelectorEngine$1.find(selector);
|
||||
|
@ -7424,19 +7438,27 @@ const dropdownCallback = (component, initSelector) => {
|
|||
const SELECTOR_MENU2 = ".dropdown-menu";
|
||||
const SELECTOR_DATA_TOGGLE2 = `[data-mdb-${component.NAME}-initialized]`;
|
||||
const Dropdown3 = component;
|
||||
EventHandler$1.on(
|
||||
document,
|
||||
EVENT_KEYDOWN_DATA_API,
|
||||
SELECTOR_DATA_TOGGLE2,
|
||||
Dropdown3.dataApiKeydownHandler
|
||||
);
|
||||
EventHandler$1.on(document, EVENT_KEYDOWN_DATA_API, SELECTOR_MENU2, Dropdown3.dataApiKeydownHandler);
|
||||
EventHandler$1.on(document, EVENT_CLICK_DATA_API, Dropdown3.clearMenus);
|
||||
EventHandler$1.on(document, EVENT_KEYUP_DATA_API, Dropdown3.clearMenus);
|
||||
EventHandler$1.on(document, EVENT_CLICK_DATA_API, SELECTOR_DATA_TOGGLE2, function(event) {
|
||||
event.preventDefault();
|
||||
Dropdown3.getOrCreateInstance(this).toggle();
|
||||
});
|
||||
if (!callbackInitState.has(component.name)) {
|
||||
EventHandler$1.on(
|
||||
document,
|
||||
EVENT_KEYDOWN_DATA_API,
|
||||
SELECTOR_DATA_TOGGLE2,
|
||||
Dropdown3.dataApiKeydownHandler
|
||||
);
|
||||
EventHandler$1.on(
|
||||
document,
|
||||
EVENT_KEYDOWN_DATA_API,
|
||||
SELECTOR_MENU2,
|
||||
Dropdown3.dataApiKeydownHandler
|
||||
);
|
||||
EventHandler$1.on(document, EVENT_CLICK_DATA_API, Dropdown3.clearMenus);
|
||||
EventHandler$1.on(document, EVENT_KEYUP_DATA_API, Dropdown3.clearMenus);
|
||||
EventHandler$1.on(document, EVENT_CLICK_DATA_API, SELECTOR_DATA_TOGGLE2, function(event) {
|
||||
event.preventDefault();
|
||||
Dropdown3.getOrCreateInstance(this).toggle();
|
||||
});
|
||||
}
|
||||
callbackInitState.set(component.name, true);
|
||||
SelectorEngine$1.find(initSelector).forEach((el) => {
|
||||
Dropdown3.getOrCreateInstance(el);
|
||||
});
|
||||
|
@ -7446,31 +7468,56 @@ const inputCallback = (component, initSelector) => {
|
|||
const SELECTOR_OUTLINE_INPUT = `${SELECTOR_DATA_INIT} input`;
|
||||
const SELECTOR_OUTLINE_TEXTAREA = `${SELECTOR_DATA_INIT} textarea`;
|
||||
const Input2 = component;
|
||||
EventHandler$1.on(document, "focus", SELECTOR_OUTLINE_INPUT, Input2.activate(new Input2()));
|
||||
EventHandler$1.on(document, "input", SELECTOR_OUTLINE_INPUT, Input2.activate(new Input2()));
|
||||
EventHandler$1.on(document, "blur", SELECTOR_OUTLINE_INPUT, Input2.deactivate(new Input2()));
|
||||
EventHandler$1.on(document, "focus", SELECTOR_OUTLINE_TEXTAREA, Input2.activate(new Input2()));
|
||||
EventHandler$1.on(document, "input", SELECTOR_OUTLINE_TEXTAREA, Input2.activate(new Input2()));
|
||||
EventHandler$1.on(document, "blur", SELECTOR_OUTLINE_TEXTAREA, Input2.deactivate(new Input2()));
|
||||
EventHandler$1.on(window, "shown.bs.modal", (e) => {
|
||||
SelectorEngine$1.find(SELECTOR_OUTLINE_INPUT, e.target).forEach((element2) => {
|
||||
const instance = Input2.getInstance(element2.parentNode);
|
||||
if (!instance) {
|
||||
return;
|
||||
}
|
||||
instance.update();
|
||||
if (!callbackInitState.has(component.name)) {
|
||||
EventHandler$1.on(document, "focus", SELECTOR_OUTLINE_INPUT, Input2.activate(new Input2()));
|
||||
EventHandler$1.on(document, "input", SELECTOR_OUTLINE_INPUT, Input2.activate(new Input2()));
|
||||
EventHandler$1.on(document, "blur", SELECTOR_OUTLINE_INPUT, Input2.deactivate(new Input2()));
|
||||
EventHandler$1.on(document, "focus", SELECTOR_OUTLINE_TEXTAREA, Input2.activate(new Input2()));
|
||||
EventHandler$1.on(document, "input", SELECTOR_OUTLINE_TEXTAREA, Input2.activate(new Input2()));
|
||||
EventHandler$1.on(document, "blur", SELECTOR_OUTLINE_TEXTAREA, Input2.deactivate(new Input2()));
|
||||
EventHandler$1.on(window, "shown.bs.modal", (e) => {
|
||||
SelectorEngine$1.find(SELECTOR_OUTLINE_INPUT, e.target).forEach((element2) => {
|
||||
const instance = Input2.getInstance(element2.parentNode);
|
||||
if (!instance) {
|
||||
return;
|
||||
}
|
||||
instance.update();
|
||||
});
|
||||
SelectorEngine$1.find(SELECTOR_OUTLINE_TEXTAREA, e.target).forEach((element2) => {
|
||||
const instance = Input2.getInstance(element2.parentNode);
|
||||
if (!instance) {
|
||||
return;
|
||||
}
|
||||
instance.update();
|
||||
});
|
||||
});
|
||||
SelectorEngine$1.find(SELECTOR_OUTLINE_TEXTAREA, e.target).forEach((element2) => {
|
||||
const instance = Input2.getInstance(element2.parentNode);
|
||||
if (!instance) {
|
||||
return;
|
||||
EventHandler$1.on(window, "shown.bs.dropdown", (e) => {
|
||||
const target = e.target.parentNode.querySelector(".dropdown-menu");
|
||||
if (target) {
|
||||
SelectorEngine$1.find(SELECTOR_OUTLINE_INPUT, target).forEach((element2) => {
|
||||
const instance = Input2.getInstance(element2.parentNode);
|
||||
if (!instance) {
|
||||
return;
|
||||
}
|
||||
instance.update();
|
||||
});
|
||||
SelectorEngine$1.find(SELECTOR_OUTLINE_TEXTAREA, target).forEach((element2) => {
|
||||
const instance = Input2.getInstance(element2.parentNode);
|
||||
if (!instance) {
|
||||
return;
|
||||
}
|
||||
instance.update();
|
||||
});
|
||||
}
|
||||
instance.update();
|
||||
});
|
||||
});
|
||||
EventHandler$1.on(window, "shown.bs.dropdown", (e) => {
|
||||
const target = e.target.parentNode.querySelector(".dropdown-menu");
|
||||
if (target) {
|
||||
EventHandler$1.on(window, "shown.bs.tab", (e) => {
|
||||
let targetId;
|
||||
if (e.target.href) {
|
||||
targetId = e.target.href.split("#")[1];
|
||||
} else {
|
||||
targetId = Manipulator$1.getDataAttribute(e.target, "target").split("#")[1];
|
||||
}
|
||||
const target = SelectorEngine$1.findOne(`#${targetId}`);
|
||||
SelectorEngine$1.find(SELECTOR_OUTLINE_INPUT, target).forEach((element2) => {
|
||||
const instance = Input2.getInstance(element2.parentNode);
|
||||
if (!instance) {
|
||||
|
@ -7485,55 +7532,33 @@ const inputCallback = (component, initSelector) => {
|
|||
}
|
||||
instance.update();
|
||||
});
|
||||
}
|
||||
});
|
||||
EventHandler$1.on(window, "shown.bs.tab", (e) => {
|
||||
let targetId;
|
||||
if (e.target.href) {
|
||||
targetId = e.target.href.split("#")[1];
|
||||
} else {
|
||||
targetId = Manipulator$1.getDataAttribute(e.target, "target").split("#")[1];
|
||||
}
|
||||
const target = SelectorEngine$1.findOne(`#${targetId}`);
|
||||
SelectorEngine$1.find(SELECTOR_OUTLINE_INPUT, target).forEach((element2) => {
|
||||
const instance = Input2.getInstance(element2.parentNode);
|
||||
if (!instance) {
|
||||
});
|
||||
EventHandler$1.on(window, "reset", (e) => {
|
||||
SelectorEngine$1.find(SELECTOR_OUTLINE_INPUT, e.target).forEach((element2) => {
|
||||
const instance = Input2.getInstance(element2.parentNode);
|
||||
if (!instance) {
|
||||
return;
|
||||
}
|
||||
instance.forceInactive();
|
||||
});
|
||||
SelectorEngine$1.find(SELECTOR_OUTLINE_TEXTAREA, e.target).forEach((element2) => {
|
||||
const instance = Input2.getInstance(element2.parentNode);
|
||||
if (!instance) {
|
||||
return;
|
||||
}
|
||||
instance.forceInactive();
|
||||
});
|
||||
});
|
||||
EventHandler$1.on(window, "onautocomplete", (e) => {
|
||||
const instance = Input2.getInstance(e.target.parentNode);
|
||||
if (!instance || !e.cancelable) {
|
||||
return;
|
||||
}
|
||||
instance.update();
|
||||
instance.forceActive();
|
||||
});
|
||||
SelectorEngine$1.find(SELECTOR_OUTLINE_TEXTAREA, target).forEach((element2) => {
|
||||
const instance = Input2.getInstance(element2.parentNode);
|
||||
if (!instance) {
|
||||
return;
|
||||
}
|
||||
instance.update();
|
||||
});
|
||||
});
|
||||
callbackInitState.set(component.name, true);
|
||||
}
|
||||
SelectorEngine$1.find(SELECTOR_DATA_INIT).map((element2) => Input2.getOrCreateInstance(element2));
|
||||
EventHandler$1.on(window, "reset", (e) => {
|
||||
SelectorEngine$1.find(SELECTOR_OUTLINE_INPUT, e.target).forEach((element2) => {
|
||||
const instance = Input2.getInstance(element2.parentNode);
|
||||
if (!instance) {
|
||||
return;
|
||||
}
|
||||
instance.forceInactive();
|
||||
});
|
||||
SelectorEngine$1.find(SELECTOR_OUTLINE_TEXTAREA, e.target).forEach((element2) => {
|
||||
const instance = Input2.getInstance(element2.parentNode);
|
||||
if (!instance) {
|
||||
return;
|
||||
}
|
||||
instance.forceInactive();
|
||||
});
|
||||
});
|
||||
EventHandler$1.on(window, "onautocomplete", (e) => {
|
||||
const instance = Input2.getInstance(e.target.parentNode);
|
||||
if (!instance || !e.cancelable) {
|
||||
return;
|
||||
}
|
||||
instance.forceActive();
|
||||
});
|
||||
};
|
||||
const modalCallback = (component, initSelector) => {
|
||||
const EVENT_CLICK_DATA_API = `click.bs.${component.name}.data-api`;
|
||||
|
@ -7541,31 +7566,34 @@ const modalCallback = (component, initSelector) => {
|
|||
const Modal3 = component;
|
||||
const EVENT_SHOW2 = `show.bs.${component.name}`;
|
||||
const EVENT_HIDDEN2 = `hidden.bs.${component.name}`;
|
||||
EventHandler$1.on(document, EVENT_CLICK_DATA_API, initSelector, function(event) {
|
||||
const target = getElementFromSelector(this);
|
||||
if (["A", "AREA"].includes(this.tagName)) {
|
||||
event.preventDefault();
|
||||
}
|
||||
EventHandler$1.one(target, EVENT_SHOW2, (showEvent) => {
|
||||
if (showEvent.defaultPrevented) {
|
||||
return;
|
||||
if (!callbackInitState.has(component.name)) {
|
||||
EventHandler$1.on(document, EVENT_CLICK_DATA_API, initSelector, function(event) {
|
||||
const target = getElementFromSelector(this);
|
||||
if (["A", "AREA"].includes(this.tagName)) {
|
||||
event.preventDefault();
|
||||
}
|
||||
EventHandler$1.one(target, EVENT_HIDDEN2, () => {
|
||||
if (isVisible$1(this)) {
|
||||
this.focus();
|
||||
EventHandler$1.one(target, EVENT_SHOW2, (showEvent) => {
|
||||
if (showEvent.defaultPrevented) {
|
||||
return;
|
||||
}
|
||||
EventHandler$1.one(target, EVENT_HIDDEN2, () => {
|
||||
if (isVisible$1(this)) {
|
||||
this.focus();
|
||||
}
|
||||
});
|
||||
});
|
||||
const alreadyOpenedModals = SelectorEngine$1.find(OPEN_SELECTOR);
|
||||
alreadyOpenedModals.forEach((modal) => {
|
||||
if (!modal.classList.contains("modal-non-invasive-show")) {
|
||||
Modal3.getInstance(modal).hide();
|
||||
}
|
||||
});
|
||||
const data = Modal3.getOrCreateInstance(target);
|
||||
data.toggle(this);
|
||||
});
|
||||
const alreadyOpenedModals = SelectorEngine$1.find(OPEN_SELECTOR);
|
||||
alreadyOpenedModals.forEach((modal) => {
|
||||
if (!modal.classList.contains("modal-non-invasive-show")) {
|
||||
Modal3.getInstance(modal).hide();
|
||||
}
|
||||
});
|
||||
const data = Modal3.getOrCreateInstance(target);
|
||||
data.toggle(this);
|
||||
});
|
||||
enableDismissTrigger(Modal3);
|
||||
enableDismissTrigger(Modal3);
|
||||
callbackInitState.set(component.name, true);
|
||||
}
|
||||
SelectorEngine$1.find(initSelector).forEach((el) => {
|
||||
const selector = getSelectorFromElement(el);
|
||||
const selectorElement = SelectorEngine$1.findOne(selector);
|
||||
|
@ -7573,6 +7601,9 @@ const modalCallback = (component, initSelector) => {
|
|||
});
|
||||
};
|
||||
const offcanvasCallback = (component, initSelector) => {
|
||||
if (callbackInitState.has(component.name)) {
|
||||
return;
|
||||
}
|
||||
const EVENT_CLICK_DATA_API = `click.bs.${component.name}.data-api`;
|
||||
const OPEN_SELECTOR = ".offcanvas.show";
|
||||
const Offcanvas2 = component;
|
||||
|
@ -7612,8 +7643,12 @@ const offcanvasCallback = (component, initSelector) => {
|
|||
});
|
||||
});
|
||||
enableDismissTrigger(Offcanvas2);
|
||||
callbackInitState.set(component.name, true);
|
||||
};
|
||||
const scrollspyCallback = (component, initSelector) => {
|
||||
if (callbackInitState.has(component.name)) {
|
||||
return;
|
||||
}
|
||||
const EVENT_LOAD_DATA_API = `load.bs.${component.name}.data-api`;
|
||||
const ScrollSpy3 = component;
|
||||
EventHandler$1.on(window, EVENT_LOAD_DATA_API, () => {
|
||||
|
@ -7621,6 +7656,7 @@ const scrollspyCallback = (component, initSelector) => {
|
|||
ScrollSpy3.getOrCreateInstance(el);
|
||||
});
|
||||
});
|
||||
callbackInitState.set(component.name, true);
|
||||
};
|
||||
const tabCallback = (component, initSelector) => {
|
||||
const EVENT_LOAD_DATA_API = `load.bs.${component.name}.data-api`;
|
||||
|
@ -7628,31 +7664,40 @@ const tabCallback = (component, initSelector) => {
|
|||
const CLASS_NAME_ACTIVE2 = "active";
|
||||
const SELECTOR_DATA_TOGGLE_ACTIVE = `.${CLASS_NAME_ACTIVE2}[data-mdb-tab-init], .${CLASS_NAME_ACTIVE2}[data-mdb-pill-init], .${CLASS_NAME_ACTIVE2}[data-mdb-toggle="list"]`;
|
||||
const Tab3 = component;
|
||||
EventHandler$1.on(document, EVENT_CLICK_DATA_API, initSelector, function(event) {
|
||||
if (["A", "AREA"].includes(this.tagName)) {
|
||||
event.preventDefault();
|
||||
}
|
||||
if (isDisabled$1(this)) {
|
||||
return;
|
||||
}
|
||||
Tab3.getOrCreateInstance(this).show();
|
||||
});
|
||||
EventHandler$1.on(window, EVENT_LOAD_DATA_API, () => {
|
||||
SelectorEngine$1.find(SELECTOR_DATA_TOGGLE_ACTIVE).forEach((element2) => {
|
||||
Tab3.getOrCreateInstance(element2);
|
||||
if (!callbackInitState.has(component.name)) {
|
||||
EventHandler$1.on(document, EVENT_CLICK_DATA_API, initSelector, function(event) {
|
||||
if (["A", "AREA"].includes(this.tagName)) {
|
||||
event.preventDefault();
|
||||
}
|
||||
if (isDisabled$1(this)) {
|
||||
return;
|
||||
}
|
||||
Tab3.getOrCreateInstance(this).show();
|
||||
});
|
||||
});
|
||||
EventHandler$1.on(window, EVENT_LOAD_DATA_API, () => {
|
||||
SelectorEngine$1.find(SELECTOR_DATA_TOGGLE_ACTIVE).forEach((element2) => {
|
||||
Tab3.getOrCreateInstance(element2);
|
||||
});
|
||||
});
|
||||
callbackInitState.set(component.name, true);
|
||||
}
|
||||
};
|
||||
const toastCallback = (component, initSelector) => {
|
||||
const Toast3 = component;
|
||||
enableDismissTrigger(Toast3);
|
||||
if (!callbackInitState.has(component.name)) {
|
||||
enableDismissTrigger(Toast3);
|
||||
callbackInitState.set(component.name, true);
|
||||
}
|
||||
SelectorEngine$1.find(initSelector).forEach((element2) => {
|
||||
return Toast3.getOrCreateInstance(element2);
|
||||
});
|
||||
};
|
||||
const rippleCallback = (component, initSelector) => {
|
||||
const Ripple2 = component;
|
||||
EventHandler$1.one(document, "mousedown", initSelector, Ripple2.autoInitial(new Ripple2()));
|
||||
if (!callbackInitState.has(component.name)) {
|
||||
EventHandler$1.one(document, "mousedown", initSelector, Ripple2.autoInitial(new Ripple2()));
|
||||
callbackInitState.set(component.name, true);
|
||||
}
|
||||
};
|
||||
const defaultInitSelectors = {
|
||||
// Bootstrap Components
|
Loading…
Reference in New Issue