__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
/*!
* Bootstrap alert.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' ? module.exports = factory(require('./base-component.js'), require('./dom/event-handler.js'), require('./util/component-functions.js'), require('./util/index.js')) :
typeof define === 'function' && define.amd ? define(['./base-component', './dom/event-handler', './util/component-functions', './util/index'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.Alert = factory(global.BaseComponent, global.EventHandler, global.ComponentFunctions, global.Index));
})(this, (function (BaseComponent, EventHandler, componentFunctions_js, index_js) { 'use strict';
function _defineProperties(target, props) {
for (var i = 0; i < props.length; i++) {
var descriptor = props[i];
descriptor.enumerable = descriptor.enumerable || false;
descriptor.configurable = true;
if ("value" in descriptor) descriptor.writable = true;
Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
}
}
function _createClass(Constructor, protoProps, staticProps) {
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
if (staticProps) _defineProperties(Constructor, staticProps);
Object.defineProperty(Constructor, "prototype", {
writable: false
});
return Constructor;
}
function _inheritsLoose(subClass, superClass) {
subClass.prototype = Object.create(superClass.prototype);
subClass.prototype.constructor = subClass;
_setPrototypeOf(subClass, superClass);
}
function _setPrototypeOf(o, p) {
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
o.__proto__ = p;
return o;
};
return _setPrototypeOf(o, p);
}
function _toPrimitive(input, hint) {
if (typeof input !== "object" || input === null) return input;
var prim = input[Symbol.toPrimitive];
if (prim !== undefined) {
var res = prim.call(input, hint || "default");
if (typeof res !== "object") return res;
throw new TypeError("@@toPrimitive must return a primitive value.");
}
return (hint === "string" ? String : Number)(input);
}
function _toPropertyKey(arg) {
var key = _toPrimitive(arg, "string");
return typeof key === "symbol" ? key : String(key);
}
/**
* Constants
*/
var NAME = 'alert';
var DATA_KEY = 'bs.alert';
var EVENT_KEY = "." + DATA_KEY;
var EVENT_CLOSE = "close" + EVENT_KEY;
var EVENT_CLOSED = "closed" + EVENT_KEY;
var CLASS_NAME_FADE = 'fade';
var CLASS_NAME_SHOW = 'show';
/**
* Class definition
*/
var Alert = /*#__PURE__*/function (_BaseComponent) {
_inheritsLoose(Alert, _BaseComponent);
function Alert() {
return _BaseComponent.apply(this, arguments) || this;
}
var _proto = Alert.prototype;
// Public
_proto.close = function close() {
var _this = this;
var closeEvent = EventHandler.trigger(this._element, EVENT_CLOSE);
if (closeEvent.defaultPrevented) {
return;
}
this._element.classList.remove(CLASS_NAME_SHOW);
var isAnimated = this._element.classList.contains(CLASS_NAME_FADE);
this._queueCallback(function () {
return _this._destroyElement();
}, this._element, isAnimated);
}
// Private
;
_proto._destroyElement = function _destroyElement() {
this._element.remove();
EventHandler.trigger(this._element, EVENT_CLOSED);
this.dispose();
}
// Static
;
Alert.jQueryInterface = function jQueryInterface(config) {
return this.each(function () {
var data = Alert.getOrCreateInstance(this);
if (typeof config !== 'string') {
return;
}
if (data[config] === undefined || config.startsWith('_') || config === 'constructor') {
throw new TypeError("No method named \"" + config + "\"");
}
data[config](this);
});
};
_createClass(Alert, null, [{
key: "NAME",
get:
// Getters
function get() {
return NAME;
}
}]);
return Alert;
}(BaseComponent);
/**
* Data API implementation
*/
componentFunctions_js.enableDismissTrigger(Alert, 'close');
/**
* jQuery
*/
index_js.defineJQueryPlugin(Alert);
return Alert;
}));
//# sourceMappingURL=alert.js.map
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| dom | Folder | 0755 |
|
|
| util | Folder | 0755 |
|
|
| alert.js | File | 4.56 KB | 0644 |
|
| alert.js.map | File | 4.56 KB | 0644 |
|
| base-component.js | File | 6.45 KB | 0644 |
|
| base-component.js.map | File | 5.35 KB | 0644 |
|
| bootstrap.bundle.js | File | 163.06 KB | 0644 |
|
| bootstrap.bundle.js.map | File | 320.41 KB | 0644 |
|
| bootstrap.bundle.min.js | File | 77.97 KB | 0644 |
|
| bootstrap.bundle.min.js.map | File | 225.27 KB | 0644 |
|
| bootstrap.js | File | 163.05 KB | 0644 |
|
| bootstrap.js.map | File | 320.4 KB | 0644 |
|
| bootstrap.min.js | File | 77.96 KB | 0644 |
|
| bootstrap.min.js.map | File | 225.27 KB | 0644 |
|
| button.js | File | 4.11 KB | 0644 |
|
| button.js.map | File | 3.73 KB | 0644 |
|
| carousel.js | File | 17.79 KB | 0644 |
|
| carousel.js.map | File | 28.13 KB | 0644 |
|
| collapse.js | File | 12.88 KB | 0644 |
|
| collapse.js.map | File | 18.81 KB | 0644 |
|
| dropdown.js | File | 19.46 KB | 0644 |
|
| dropdown.js.map | File | 29.62 KB | 0644 |
|
| modal.js | File | 13.49 KB | 0644 |
|
| modal.js.map | File | 22.57 KB | 0644 |
|
| offcanvas.js | File | 11.84 KB | 0644 |
|
| offcanvas.js.map | File | 16.54 KB | 0644 |
|
| popover.js | File | 4.91 KB | 0644 |
|
| popover.js.map | File | 4.63 KB | 0644 |
|
| scrollspy.js | File | 13.99 KB | 0644 |
|
| scrollspy.js.map | File | 20.12 KB | 0644 |
|
| tab.js | File | 14.27 KB | 0644 |
|
| tab.js.map | File | 20.98 KB | 0644 |
|
| toast.js | File | 8.31 KB | 0644 |
|
| toast.js.map | File | 12.25 KB | 0644 |
|
| tooltip.js | File | 23.43 KB | 0644 |
|
| tooltip.js.map | File | 38.46 KB | 0644 |
|