__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
/*!
* Bootstrap component-functions.js v5.3.1 (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)
* --------------------------------------------------------------------------
*/
var enableDismissTrigger = function enableDismissTrigger(component, method) {
if (method === void 0) {
method = 'hide';
}
var clickEvent = "click.dismiss" + component.EVENT_KEY;
var 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;
}
var target = SelectorEngine.getElementFromSelector(this) || this.closest("." + name);
var 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
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| backdrop.js | File | 5.98 KB | 0644 |
|
| backdrop.js.map | File | 7.61 KB | 0644 |
|
| component-functions.js | File | 2.07 KB | 0644 |
|
| component-functions.js.map | File | 2.36 KB | 0644 |
|
| config.js | File | 4.46 KB | 0644 |
|
| config.js.map | File | 4.52 KB | 0644 |
|
| focustrap.js | File | 5.28 KB | 0644 |
|
| focustrap.js.map | File | 6.22 KB | 0644 |
|
| index.js | File | 9.89 KB | 0644 |
|
| index.js.map | File | 17.23 KB | 0644 |
|
| sanitizer.js | File | 5.45 KB | 0644 |
|
| sanitizer.js.map | File | 7.22 KB | 0644 |
|
| scrollbar.js | File | 6.32 KB | 0644 |
|
| scrollbar.js.map | File | 8.28 KB | 0644 |
|
| swipe.js | File | 6.59 KB | 0644 |
|
| swipe.js.map | File | 8.75 KB | 0644 |
|
| template-factory.js | File | 7.57 KB | 0644 |
|
| template-factory.js.map | File | 9.57 KB | 0644 |
|