www_hero/node_modules/flowbite/lib/esm/index.turbo.js

57 lines
1.6 KiB
JavaScript
Raw Normal View History

2024-05-03 04:39:20 +00:00
// core components
import Accordion, { initAccordions } from './components/accordion';
import Carousel, { initCarousels } from './components/carousel';
import Collapse, { initCollapses } from './components/collapse';
import Dial, { initDials } from './components/dial';
import Dismiss, { initDismisses } from './components/dismiss';
import Drawer, { initDrawers } from './components/drawer';
import Dropdown, { initDropdowns } from './components/dropdown';
import Modal, { initModals } from './components/modal';
import Popover, { initPopovers } from './components/popover';
import Tabs, { initTabs } from './components/tabs';
import Tooltip, { initTooltips } from './components/tooltip';
import './components/index';
import Events from './dom/events';
var turboLoadEvents = new Events('turbo:load', [
initAccordions,
initCollapses,
initCarousels,
initDismisses,
initDropdowns,
initModals,
initDrawers,
initTabs,
initTooltips,
initPopovers,
initDials,
]);
turboLoadEvents.init();
var turboFrameLoadEvents = new Events('turbo:frame-load', [
initAccordions,
initCollapses,
initCarousels,
initDismisses,
initDropdowns,
initModals,
initDrawers,
initTabs,
initTooltips,
initPopovers,
initDials,
]);
turboFrameLoadEvents.init();
export default {
Accordion: Accordion,
Carousel: Carousel,
Collapse: Collapse,
Dial: Dial,
Drawer: Drawer,
Dismiss: Dismiss,
Dropdown: Dropdown,
Modal: Modal,
Popover: Popover,
Tabs: Tabs,
Tooltip: Tooltip,
Events: Events,
};
//# sourceMappingURL=index.turbo.js.map