/var/www/vhosts/ihelp.ro/httpdocs/vendor/twbs/bootstrap/js/dist/util
NameSizeModeActions
backdrop.js41180644editdlrm
backdrop.js.map70960644editdlrm
component-functions.js20500644editdlrm
component-functions.js.map23770644editdlrm
config.js25660644editdlrm
config.js.map39520644editdlrm
focustrap.js34650644editdlrm
focustrap.js.map58030644editdlrm
index.js93170644editdlrm
index.js.map169030644editdlrm
sanitizer.js38860644editdlrm
sanitizer.js.map69260644editdlrm
scrollbar.js46980644editdlrm
scrollbar.js.map79480644editdlrm
swipe.js43600644editdlrm
swipe.js.map82300644editdlrm
template-factory.js46840644editdlrm
template-factory.js.map85200644editdlrm
Edit: /var/www/vhosts/ihelp.ro/httpdocs/vendor/twbs/bootstrap/js/dist/util/component-functions.js (2050B)
/*! * Bootstrap component-functions.js v5.3.0 (https://getbootstrap.com/) * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('../dom/event-handler.js'), require('../dom/selector-engine.js'), require('./index.js')) : typeof define === 'function' && define.amd ? define(['exports', '../dom/event-handler', '../dom/selector-engine', './index'], factory) : (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.ComponentFunctions = {}, global.EventHandler, global.SelectorEngine, global.Index)); })(this, (function (exports, EventHandler, SelectorEngine, index_js) { 'use strict'; /** * -------------------------------------------------------------------------- * Bootstrap util/component-functions.js * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) * -------------------------------------------------------------------------- */ const enableDismissTrigger = (component, method = 'hide') => { const clickEvent = `click.dismiss${component.EVENT_KEY}`; const name = component.NAME; EventHandler.on(document, clickEvent, `[data-bs-dismiss="${name}"]`, function (event) { if (['A', 'AREA'].includes(this.tagName)) { event.preventDefault(); } if (index_js.isDisabled(this)) { return; } const target = SelectorEngine.getElementFromSelector(this) || this.closest(`.${name}`); const instance = component.getOrCreateInstance(target); // Method argument is left, for Alert and only, as it doesn't implement the 'hide' method instance[method](); }); }; exports.enableDismissTrigger = enableDismissTrigger; Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); })); //# sourceMappingURL=component-functions.js.map