0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-13 01:08:58 +01:00
Bootstrap/js/dist/dropdown.js

553 lines
17 KiB
JavaScript
Raw Normal View History

2018-07-24 02:51:14 +02:00
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('jquery'), require('popper.js'), require('./util.js')) :
typeof define === 'function' && define.amd ? define(['jquery', 'popper.js', './util.js'], factory) :
(global.Dropdown = factory(global.jQuery,global.Popper,global.Util));
}(this, (function ($,Popper,Util) { 'use strict';
$ = $ && $.hasOwnProperty('default') ? $['default'] : $;
Popper = Popper && Popper.hasOwnProperty('default') ? Popper['default'] : Popper;
Util = Util && Util.hasOwnProperty('default') ? Util['default'] : Util;
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, descriptor.key, descriptor);
}
}
function _createClass(Constructor, protoProps, staticProps) {
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
if (staticProps) _defineProperties(Constructor, staticProps);
return Constructor;
}
function _defineProperty(obj, key, value) {
if (key in obj) {
Object.defineProperty(obj, key, {
value: value,
enumerable: true,
configurable: true,
writable: true
});
} else {
obj[key] = value;
}
return obj;
}
function _objectSpread(target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i] != null ? arguments[i] : {};
var ownKeys = Object.keys(source);
if (typeof Object.getOwnPropertySymbols === 'function') {
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
}));
}
2017-12-23 01:21:54 +01:00
2018-07-24 02:51:14 +02:00
ownKeys.forEach(function (key) {
_defineProperty(target, key, source[key]);
});
}
2017-09-06 06:05:12 +02:00
2018-07-24 02:51:14 +02:00
return target;
}
2015-05-10 22:47:11 +02:00
/**
2018-07-24 02:51:14 +02:00
* --------------------------------------------------------------------------
2018-07-24 04:25:52 +02:00
* Bootstrap (v4.1.3): dropdown.js
2018-07-24 02:51:14 +02:00
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
2015-05-10 22:47:11 +02:00
*/
2018-07-24 02:51:14 +02:00
var Dropdown = function ($$$1) {
2017-09-13 07:24:15 +02:00
/**
* ------------------------------------------------------------------------
2018-07-24 02:51:14 +02:00
* Constants
2017-09-13 07:24:15 +02:00
* ------------------------------------------------------------------------
*/
2018-07-24 02:51:14 +02:00
var NAME = 'dropdown';
2018-07-24 04:25:52 +02:00
var VERSION = '4.1.3';
2018-07-24 02:51:14 +02:00
var DATA_KEY = 'bs.dropdown';
var EVENT_KEY = "." + DATA_KEY;
var DATA_API_KEY = '.data-api';
var JQUERY_NO_CONFLICT = $$$1.fn[NAME];
var ESCAPE_KEYCODE = 27; // KeyboardEvent.which value for Escape (Esc) key
var SPACE_KEYCODE = 32; // KeyboardEvent.which value for space key
var TAB_KEYCODE = 9; // KeyboardEvent.which value for tab key
var ARROW_UP_KEYCODE = 38; // KeyboardEvent.which value for up arrow key
var ARROW_DOWN_KEYCODE = 40; // KeyboardEvent.which value for down arrow key
var RIGHT_MOUSE_BUTTON_WHICH = 3; // MouseEvent.which value for the right button (assuming a right-handed mouse)
var REGEXP_KEYDOWN = new RegExp(ARROW_UP_KEYCODE + "|" + ARROW_DOWN_KEYCODE + "|" + ESCAPE_KEYCODE);
var Event = {
HIDE: "hide" + EVENT_KEY,
HIDDEN: "hidden" + EVENT_KEY,
SHOW: "show" + EVENT_KEY,
SHOWN: "shown" + EVENT_KEY,
CLICK: "click" + EVENT_KEY,
CLICK_DATA_API: "click" + EVENT_KEY + DATA_API_KEY,
KEYDOWN_DATA_API: "keydown" + EVENT_KEY + DATA_API_KEY,
KEYUP_DATA_API: "keyup" + EVENT_KEY + DATA_API_KEY
};
var ClassName = {
DISABLED: 'disabled',
SHOW: 'show',
DROPUP: 'dropup',
DROPRIGHT: 'dropright',
DROPLEFT: 'dropleft',
MENURIGHT: 'dropdown-menu-right',
MENULEFT: 'dropdown-menu-left',
POSITION_STATIC: 'position-static'
};
var Selector = {
DATA_TOGGLE: '[data-toggle="dropdown"]',
FORM_CHILD: '.dropdown form',
MENU: '.dropdown-menu',
NAVBAR_NAV: '.navbar-nav',
VISIBLE_ITEMS: '.dropdown-menu .dropdown-item:not(.disabled):not(:disabled)'
};
var AttachmentMap = {
TOP: 'top-start',
TOPEND: 'top-end',
BOTTOM: 'bottom-start',
BOTTOMEND: 'bottom-end',
RIGHT: 'right-start',
RIGHTEND: 'right-end',
LEFT: 'left-start',
LEFTEND: 'left-end'
};
var Default = {
offset: 0,
flip: true,
boundary: 'scrollParent',
reference: 'toggle',
display: 'dynamic'
};
var DefaultType = {
offset: '(number|string|function)',
flip: 'boolean',
boundary: '(string|element)',
reference: '(string|element)',
display: 'string'
/**
* ------------------------------------------------------------------------
* Class Definition
* ------------------------------------------------------------------------
*/
2015-05-10 22:47:11 +02:00
2018-07-24 02:51:14 +02:00
};
2015-05-10 22:47:11 +02:00
2018-07-24 02:51:14 +02:00
var Dropdown =
/*#__PURE__*/
function () {
function Dropdown(element, config) {
this._element = element;
this._popper = null;
this._config = this._getConfig(config);
this._menu = this._getMenuElement();
this._inNavbar = this._detectNavbar();
2015-05-13 21:48:34 +02:00
2018-07-24 02:51:14 +02:00
this._addEventListeners();
} // Getters
2015-05-10 22:47:11 +02:00
2015-08-13 06:12:03 +02:00
2018-07-24 02:51:14 +02:00
var _proto = Dropdown.prototype;
2015-05-10 22:47:11 +02:00
2018-07-24 02:51:14 +02:00
// Public
_proto.toggle = function toggle() {
if (this._element.disabled || $$$1(this._element).hasClass(ClassName.DISABLED)) {
return;
}
2015-05-10 22:47:11 +02:00
2018-07-24 02:51:14 +02:00
var parent = Dropdown._getParentFromElement(this._element);
2015-05-10 22:47:11 +02:00
2018-07-24 02:51:14 +02:00
var isActive = $$$1(this._menu).hasClass(ClassName.SHOW);
2015-05-10 22:47:11 +02:00
2018-07-24 02:51:14 +02:00
Dropdown._clearMenus();
2015-05-10 22:47:11 +02:00
2018-07-24 02:51:14 +02:00
if (isActive) {
return;
}
2015-05-10 22:47:11 +02:00
2018-07-24 02:51:14 +02:00
var relatedTarget = {
relatedTarget: this._element
};
var showEvent = $$$1.Event(Event.SHOW, relatedTarget);
$$$1(parent).trigger(showEvent);
2015-05-10 22:47:11 +02:00
2018-07-24 02:51:14 +02:00
if (showEvent.isDefaultPrevented()) {
return;
} // Disable totally Popper.js for Dropdown in Navbar
2017-10-30 00:19:14 +01:00
2018-07-24 02:51:14 +02:00
if (!this._inNavbar) {
/**
* Check for Popper dependency
* Popper - https://popper.js.org
*/
if (typeof Popper === 'undefined') {
throw new TypeError('Bootstrap dropdown require Popper.js (https://popper.js.org)');
}
2017-09-06 06:05:12 +02:00
2018-07-24 02:51:14 +02:00
var referenceElement = this._element;
2017-03-20 03:03:32 +01:00
2018-07-24 02:51:14 +02:00
if (this._config.reference === 'parent') {
referenceElement = parent;
} else if (Util.isElement(this._config.reference)) {
referenceElement = this._config.reference; // Check if it's jQuery element
2018-02-11 23:53:29 +01:00
2018-07-24 02:51:14 +02:00
if (typeof this._config.reference.jquery !== 'undefined') {
referenceElement = this._config.reference[0];
}
} // If boundary is not `scrollParent`, then set position to `static`
// to allow the menu to "escape" the scroll parent's boundaries
// https://github.com/twbs/bootstrap/issues/24251
2017-12-23 01:21:54 +01:00
2018-07-24 02:51:14 +02:00
if (this._config.boundary !== 'scrollParent') {
$$$1(parent).addClass(ClassName.POSITION_STATIC);
}
2015-05-10 22:47:11 +02:00
2018-07-24 02:51:14 +02:00
this._popper = new Popper(referenceElement, this._menu, this._getPopperConfig());
} // If this is a touch-enabled device we add extra
// empty mouseover listeners to the body's immediate children;
// only needed because of broken event delegation on iOS
// https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html
2015-05-10 22:47:11 +02:00
2017-10-30 20:48:13 +01:00
2018-07-24 02:51:14 +02:00
if ('ontouchstart' in document.documentElement && $$$1(parent).closest(Selector.NAVBAR_NAV).length === 0) {
$$$1(document.body).children().on('mouseover', null, $$$1.noop);
}
2017-09-30 23:28:03 +02:00
2018-07-24 02:51:14 +02:00
this._element.focus();
2017-09-30 23:28:03 +02:00
2018-07-24 02:51:14 +02:00
this._element.setAttribute('aria-expanded', true);
2017-09-30 23:28:03 +02:00
2018-07-24 02:51:14 +02:00
$$$1(this._menu).toggleClass(ClassName.SHOW);
$$$1(parent).toggleClass(ClassName.SHOW).trigger($$$1.Event(Event.SHOWN, relatedTarget));
};
2017-09-30 23:28:03 +02:00
2018-07-24 02:51:14 +02:00
_proto.dispose = function dispose() {
$$$1.removeData(this._element, DATA_KEY);
$$$1(this._element).off(EVENT_KEY);
this._element = null;
this._menu = null;
2017-09-30 23:28:03 +02:00
2018-07-24 02:51:14 +02:00
if (this._popper !== null) {
this._popper.destroy();
2015-05-13 21:48:34 +02:00
2018-07-24 02:51:14 +02:00
this._popper = null;
}
};
2017-05-16 09:59:44 +02:00
2018-07-24 02:51:14 +02:00
_proto.update = function update() {
this._inNavbar = this._detectNavbar();
2017-09-30 23:28:03 +02:00
2018-07-24 02:51:14 +02:00
if (this._popper !== null) {
this._popper.scheduleUpdate();
}
}; // Private
2017-09-30 23:28:03 +02:00
2018-07-24 02:51:14 +02:00
_proto._addEventListeners = function _addEventListeners() {
var _this = this;
2017-09-30 23:28:03 +02:00
2018-07-24 02:51:14 +02:00
$$$1(this._element).on(Event.CLICK, function (event) {
event.preventDefault();
event.stopPropagation();
2017-09-30 23:28:03 +02:00
2018-07-24 02:51:14 +02:00
_this.toggle();
});
};
2017-05-16 09:59:44 +02:00
2018-07-24 02:51:14 +02:00
_proto._getConfig = function _getConfig(config) {
config = _objectSpread({}, this.constructor.Default, $$$1(this._element).data(), config);
Util.typeCheckConfig(NAME, config, this.constructor.DefaultType);
return config;
};
2017-05-16 09:59:44 +02:00
2018-07-24 02:51:14 +02:00
_proto._getMenuElement = function _getMenuElement() {
if (!this._menu) {
var parent = Dropdown._getParentFromElement(this._element);
2017-09-30 23:28:03 +02:00
2018-07-24 02:51:14 +02:00
if (parent) {
this._menu = parent.querySelector(Selector.MENU);
}
2018-06-22 07:55:23 +02:00
}
2017-09-30 23:28:03 +02:00
2018-07-24 02:51:14 +02:00
return this._menu;
};
2017-09-30 23:28:03 +02:00
2018-07-24 02:51:14 +02:00
_proto._getPlacement = function _getPlacement() {
var $parentDropdown = $$$1(this._element.parentNode);
var placement = AttachmentMap.BOTTOM; // Handle dropup
2017-09-30 23:28:03 +02:00
2018-07-24 02:51:14 +02:00
if ($parentDropdown.hasClass(ClassName.DROPUP)) {
placement = AttachmentMap.TOP;
2017-09-30 23:28:03 +02:00
2018-07-24 02:51:14 +02:00
if ($$$1(this._menu).hasClass(ClassName.MENURIGHT)) {
placement = AttachmentMap.TOPEND;
}
} else if ($parentDropdown.hasClass(ClassName.DROPRIGHT)) {
placement = AttachmentMap.RIGHT;
} else if ($parentDropdown.hasClass(ClassName.DROPLEFT)) {
placement = AttachmentMap.LEFT;
} else if ($$$1(this._menu).hasClass(ClassName.MENURIGHT)) {
placement = AttachmentMap.BOTTOMEND;
2017-05-27 05:20:10 +02:00
}
2017-09-30 23:28:03 +02:00
2018-07-24 02:51:14 +02:00
return placement;
};
2017-09-30 23:28:03 +02:00
2018-07-24 02:51:14 +02:00
_proto._detectNavbar = function _detectNavbar() {
return $$$1(this._element).closest('.navbar').length > 0;
};
2017-10-16 00:51:44 +02:00
2018-07-24 02:51:14 +02:00
_proto._getPopperConfig = function _getPopperConfig() {
var _this2 = this;
2017-10-16 00:51:44 +02:00
2018-07-24 02:51:14 +02:00
var offsetConf = {};
2017-10-16 00:51:44 +02:00
2018-07-24 02:51:14 +02:00
if (typeof this._config.offset === 'function') {
offsetConf.fn = function (data) {
data.offsets = _objectSpread({}, data.offsets, _this2._config.offset(data.offsets) || {});
return data;
};
} else {
offsetConf.offset = this._config.offset;
}
2018-02-19 23:50:56 +01:00
2018-07-24 02:51:14 +02:00
var popperConfig = {
placement: this._getPlacement(),
modifiers: {
offset: offsetConf,
flip: {
enabled: this._config.flip
},
preventOverflow: {
boundariesElement: this._config.boundary
}
} // Disable Popper.js if we have a static display
2018-02-19 23:50:56 +01:00
};
2018-07-24 02:51:14 +02:00
if (this._config.display === 'static') {
popperConfig.modifiers.applyStyle = {
enabled: false
};
}
2017-09-30 23:28:03 +02:00
2018-07-24 02:51:14 +02:00
return popperConfig;
}; // Static
2017-09-30 23:28:03 +02:00
2018-07-24 02:51:14 +02:00
Dropdown._jQueryInterface = function _jQueryInterface(config) {
return this.each(function () {
var data = $$$1(this).data(DATA_KEY);
2017-09-30 23:28:03 +02:00
2018-07-24 02:51:14 +02:00
var _config = typeof config === 'object' ? config : null;
if (!data) {
data = new Dropdown(this, _config);
$$$1(this).data(DATA_KEY, data);
}
2017-09-30 23:28:03 +02:00
2018-07-24 02:51:14 +02:00
if (typeof config === 'string') {
if (typeof data[config] === 'undefined') {
throw new TypeError("No method named \"" + config + "\"");
}
data[config]();
2017-09-06 06:05:12 +02:00
}
2018-07-24 02:51:14 +02:00
});
};
2017-06-18 09:14:35 +02:00
2018-07-24 02:51:14 +02:00
Dropdown._clearMenus = function _clearMenus(event) {
if (event && (event.which === RIGHT_MOUSE_BUTTON_WHICH || event.type === 'keyup' && event.which !== TAB_KEYCODE)) {
return;
2017-09-06 06:05:12 +02:00
}
2017-09-30 23:28:03 +02:00
2018-07-24 02:51:14 +02:00
var toggles = [].slice.call(document.querySelectorAll(Selector.DATA_TOGGLE));
2017-06-18 09:14:35 +02:00
2018-07-24 02:51:14 +02:00
for (var i = 0, len = toggles.length; i < len; i++) {
var parent = Dropdown._getParentFromElement(toggles[i]);
2015-05-10 22:47:11 +02:00
2018-07-24 02:51:14 +02:00
var context = $$$1(toggles[i]).data(DATA_KEY);
var relatedTarget = {
relatedTarget: toggles[i]
};
2015-05-10 22:47:11 +02:00
2018-07-24 02:51:14 +02:00
if (event && event.type === 'click') {
relatedTarget.clickEvent = event;
}
2015-05-10 22:47:11 +02:00
2018-07-24 02:51:14 +02:00
if (!context) {
continue;
}
2018-07-12 06:42:55 +02:00
2018-07-24 02:51:14 +02:00
var dropdownMenu = context._menu;
2017-05-16 09:59:44 +02:00
2018-07-24 02:51:14 +02:00
if (!$$$1(parent).hasClass(ClassName.SHOW)) {
continue;
}
2015-05-10 22:47:11 +02:00
2018-07-24 02:51:14 +02:00
if (event && (event.type === 'click' && /input|textarea/i.test(event.target.tagName) || event.type === 'keyup' && event.which === TAB_KEYCODE) && $$$1.contains(parent, event.target)) {
continue;
}
2015-05-10 22:47:11 +02:00
2018-07-24 02:51:14 +02:00
var hideEvent = $$$1.Event(Event.HIDE, relatedTarget);
$$$1(parent).trigger(hideEvent);
2016-10-10 02:26:51 +02:00
2018-07-24 02:51:14 +02:00
if (hideEvent.isDefaultPrevented()) {
continue;
} // If this is a touch-enabled device we remove the extra
// empty mouseover listeners we added for iOS support
2017-03-20 03:03:32 +01:00
2016-10-10 02:26:51 +02:00
2018-07-24 02:51:14 +02:00
if ('ontouchstart' in document.documentElement) {
$$$1(document.body).children().off('mouseover', null, $$$1.noop);
}
2016-10-10 02:26:51 +02:00
2018-07-24 02:51:14 +02:00
toggles[i].setAttribute('aria-expanded', 'false');
$$$1(dropdownMenu).removeClass(ClassName.SHOW);
$$$1(parent).removeClass(ClassName.SHOW).trigger($$$1.Event(Event.HIDDEN, relatedTarget));
2017-09-06 06:05:12 +02:00
}
2018-07-24 02:51:14 +02:00
};
2017-09-30 23:28:03 +02:00
2018-07-24 02:51:14 +02:00
Dropdown._getParentFromElement = function _getParentFromElement(element) {
var parent;
var selector = Util.getSelectorFromElement(element);
2015-05-10 22:47:11 +02:00
2018-07-24 02:51:14 +02:00
if (selector) {
parent = document.querySelector(selector);
}
2015-05-10 22:47:11 +02:00
2018-07-24 02:51:14 +02:00
return parent || element.parentNode;
}; // eslint-disable-next-line complexity
2017-09-06 06:05:12 +02:00
2017-12-31 04:41:36 +01:00
2018-07-24 02:51:14 +02:00
Dropdown._dataApiKeydownHandler = function _dataApiKeydownHandler(event) {
// If not input/textarea:
// - And not a key in REGEXP_KEYDOWN => not a dropdown command
// If input/textarea:
// - If space key => not a dropdown command
// - If key is other than escape
// - If key is not up or down => not a dropdown command
// - If trigger inside the menu => not a dropdown command
if (/input|textarea/i.test(event.target.tagName) ? event.which === SPACE_KEYCODE || event.which !== ESCAPE_KEYCODE && (event.which !== ARROW_DOWN_KEYCODE && event.which !== ARROW_UP_KEYCODE || $$$1(event.target).closest(Selector.MENU).length) : !REGEXP_KEYDOWN.test(event.which)) {
return;
}
2015-05-10 22:47:11 +02:00
2018-07-24 02:51:14 +02:00
event.preventDefault();
event.stopPropagation();
2015-05-10 22:47:11 +02:00
2018-07-24 02:51:14 +02:00
if (this.disabled || $$$1(this).hasClass(ClassName.DISABLED)) {
return;
}
2015-05-10 22:47:11 +02:00
2018-07-24 02:51:14 +02:00
var parent = Dropdown._getParentFromElement(this);
2015-05-10 22:47:11 +02:00
2018-07-24 02:51:14 +02:00
var isActive = $$$1(parent).hasClass(ClassName.SHOW);
2016-10-10 02:26:51 +02:00
2018-07-24 02:51:14 +02:00
if (!isActive && (event.which !== ESCAPE_KEYCODE || event.which !== SPACE_KEYCODE) || isActive && (event.which === ESCAPE_KEYCODE || event.which === SPACE_KEYCODE)) {
if (event.which === ESCAPE_KEYCODE) {
var toggle = parent.querySelector(Selector.DATA_TOGGLE);
$$$1(toggle).trigger('focus');
}
2017-09-30 23:28:03 +02:00
2018-07-24 02:51:14 +02:00
$$$1(this).trigger('click');
return;
2015-05-10 22:47:11 +02:00
}
2018-07-24 02:51:14 +02:00
var items = [].slice.call(parent.querySelectorAll(Selector.VISIBLE_ITEMS));
2015-05-10 22:47:11 +02:00
2018-07-24 02:51:14 +02:00
if (items.length === 0) {
return;
}
2015-05-10 22:47:11 +02:00
2018-07-24 02:51:14 +02:00
var index = items.indexOf(event.target);
2015-05-10 22:47:11 +02:00
2018-07-24 02:51:14 +02:00
if (event.which === ARROW_UP_KEYCODE && index > 0) {
// Up
index--;
}
2015-08-19 05:28:28 +02:00
2018-07-24 02:51:14 +02:00
if (event.which === ARROW_DOWN_KEYCODE && index < items.length - 1) {
// Down
index++;
}
2015-08-19 05:28:28 +02:00
2018-07-24 02:51:14 +02:00
if (index < 0) {
index = 0;
}
2015-05-10 22:47:11 +02:00
2018-07-24 02:51:14 +02:00
items[index].focus();
};
2017-09-30 23:28:03 +02:00
2018-07-24 02:51:14 +02:00
_createClass(Dropdown, null, [{
key: "VERSION",
get: function get() {
return VERSION;
}
}, {
key: "Default",
get: function get() {
return Default;
}
}, {
key: "DefaultType",
get: function get() {
return DefaultType;
}
}]);
2017-09-30 23:28:03 +02:00
2018-07-24 02:51:14 +02:00
return Dropdown;
}();
/**
* ------------------------------------------------------------------------
* Data Api implementation
* ------------------------------------------------------------------------
*/
2015-05-10 22:47:11 +02:00
2018-07-24 02:51:14 +02:00
$$$1(document).on(Event.KEYDOWN_DATA_API, Selector.DATA_TOGGLE, Dropdown._dataApiKeydownHandler).on(Event.KEYDOWN_DATA_API, Selector.MENU, Dropdown._dataApiKeydownHandler).on(Event.CLICK_DATA_API + " " + Event.KEYUP_DATA_API, Dropdown._clearMenus).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) {
event.preventDefault();
event.stopPropagation();
2017-09-30 23:28:03 +02:00
2018-07-24 02:51:14 +02:00
Dropdown._jQueryInterface.call($$$1(this), 'toggle');
}).on(Event.CLICK_DATA_API, Selector.FORM_CHILD, function (e) {
e.stopPropagation();
});
/**
* ------------------------------------------------------------------------
* jQuery
* ------------------------------------------------------------------------
*/
2017-09-30 23:28:03 +02:00
2018-07-24 02:51:14 +02:00
$$$1.fn[NAME] = Dropdown._jQueryInterface;
$$$1.fn[NAME].Constructor = Dropdown;
2015-05-10 22:47:11 +02:00
2018-07-24 02:51:14 +02:00
$$$1.fn[NAME].noConflict = function () {
$$$1.fn[NAME] = JQUERY_NO_CONFLICT;
return Dropdown._jQueryInterface;
};
2017-09-30 23:28:03 +02:00
2018-07-24 02:51:14 +02:00
return Dropdown;
}($, Popper);
2015-05-10 22:47:11 +02:00
return Dropdown;
2018-07-24 02:51:14 +02:00
})));
//# sourceMappingURL=dropdown.js.map