1 line
48 KiB
Plaintext
1 line
48 KiB
Plaintext
{4fd0d01ba8b6f9cd9be2989709069cf68d8788e5 true 48704 adminlte.js.map 0xc0030cc540}
{"version":3,"file":"adminlte.js","sources":["../../src/ts/util/index.ts","../../src/ts/layout.ts","../../src/ts/push-menu.ts","../../src/ts/treeview.ts","../../src/ts/direct-chat.ts","../../src/ts/card-widget.ts","../../src/ts/fullscreen.ts"],"sourcesContent":["const domContentLoadedCallbacks: Array<() => void> = []\n\nconst onDOMContentLoaded = (callback: () => void): void => {\n if (document.readyState === 'loading') {\n // add listener on the first call when the document is in loading state\n if (!domContentLoadedCallbacks.length) {\n document.addEventListener('DOMContentLoaded', () => {\n for (const callback of domContentLoadedCallbacks) {\n callback()\n }\n })\n }\n\n domContentLoadedCallbacks.push(callback)\n } else {\n callback()\n }\n}\n\n/* SLIDE UP */\nconst slideUp = (target: HTMLElement, duration = 500) => {\n target.style.transitionProperty = 'height, margin, padding'\n target.style.transitionDuration = `${duration}ms`\n target.style.boxSizing = 'border-box'\n target.style.height = `${target.offsetHeight}px`\n target.style.overflow = 'hidden'\n\n window.setTimeout(() => {\n target.style.height = '0'\n target.style.paddingTop = '0'\n target.style.paddingBottom = '0'\n target.style.marginTop = '0'\n target.style.marginBottom = '0'\n }, 1)\n\n window.setTimeout(() => {\n target.style.display = 'none'\n target.style.removeProperty('height')\n target.style.removeProperty('padding-top')\n target.style.removeProperty('padding-bottom')\n target.style.removeProperty('margin-top')\n target.style.removeProperty('margin-bottom')\n target.style.removeProperty('overflow')\n target.style.removeProperty('transition-duration')\n target.style.removeProperty('transition-property')\n }, duration)\n}\n\n/* SLIDE DOWN */\nconst slideDown = (target: HTMLElement, duration = 500) => {\n target.style.removeProperty('display')\n let { display } = window.getComputedStyle(target)\n\n if (display === 'none') {\n display = 'block'\n }\n\n target.style.display = display\n const height = target.offsetHeight\n target.style.overflow = 'hidden'\n target.style.height = '0'\n target.style.paddingTop = '0'\n target.style.paddingBottom = '0'\n target.style.marginTop = '0'\n target.style.marginBottom = '0'\n\n window.setTimeout(() => {\n target.style.boxSizing = 'border-box'\n target.style.transitionProperty = 'height, margin, padding'\n target.style.transitionDuration = `${duration}ms`\n target.style.height = `${height}px`\n target.style.removeProperty('padding-top')\n target.style.removeProperty('padding-bottom')\n target.style.removeProperty('margin-top')\n target.style.removeProperty('margin-bottom')\n }, 1)\n\n window.setTimeout(() => {\n target.style.removeProperty('height')\n target.style.removeProperty('overflow')\n target.style.removeProperty('transition-duration')\n target.style.removeProperty('transition-property')\n }, duration)\n}\n\n/* TOOGLE */\nconst slideToggle = (target: HTMLElement, duration = 500) => {\n if (window.getComputedStyle(target).display === 'none') {\n slideDown(target, duration)\n return\n }\n\n slideUp(target, duration)\n}\n\nexport {\n onDOMContentLoaded,\n slideUp,\n slideDown,\n slideToggle\n}\n","/**\n * --------------------------------------------\n * @file AdminLTE layout.ts\n * @description Layout for AdminLTE.\n * @license MIT\n * --------------------------------------------\n */\n\nimport {\n onDOMContentLoaded\n} from './util/index'\n\n/**\n * ------------------------------------------------------------------------\n * Constants\n * ------------------------------------------------------------------------\n */\n\nconst CLASS_NAME_HOLD_TRANSITIONS = 'hold-transition'\nconst CLASS_NAME_APP_LOADED = 'app-loaded'\n\n/**\n * Class Definition\n * ====================================================\n */\n\nclass Layout {\n _element: HTMLElement\n\n constructor(element: HTMLElement) {\n this._element = element\n }\n\n holdTransition(): void {\n let resizeTimer: ReturnType<typeof setTimeout>\n window.addEventListener('resize', () => {\n document.body.classList.add(CLASS_NAME_HOLD_TRANSITIONS)\n clearTimeout(resizeTimer)\n resizeTimer = setTimeout(() => {\n document.body.classList.remove(CLASS_NAME_HOLD_TRANSITIONS)\n }, 400)\n })\n }\n}\n\nonDOMContentLoaded(() => {\n const data = new Layout(document.body)\n data.holdTransition()\n setTimeout(() => {\n document.body.classList.add(CLASS_NAME_APP_LOADED)\n }, 400)\n})\n\nexport default Layout\n","/**\n * --------------------------------------------\n * @file AdminLTE push-menu.ts\n * @description Push menu for AdminLTE.\n * @license MIT\n * --------------------------------------------\n */\n\nimport {\n onDOMContentLoaded\n} from './util/index'\n\n/**\n * ------------------------------------------------------------------------\n * Constants\n * ------------------------------------------------------------------------\n */\n\nconst DATA_KEY = 'lte.push-menu'\nconst EVENT_KEY = `.${DATA_KEY}`\n\nconst EVENT_OPEN = `open${EVENT_KEY}`\nconst EVENT_COLLAPSE = `collapse${EVENT_KEY}`\n\nconst CLASS_NAME_SIDEBAR_MINI = 'sidebar-mini'\nconst CLASS_NAME_SIDEBAR_COLLAPSE = 'sidebar-collapse'\nconst CLASS_NAME_SIDEBAR_OPEN = 'sidebar-open'\nconst CLASS_NAME_SIDEBAR_EXPAND = 'sidebar-expand'\nconst CLASS_NAME_SIDEBAR_OVERLAY = 'sidebar-overlay'\nconst CLASS_NAME_MENU_OPEN = 'menu-open'\n\nconst SELECTOR_APP_SIDEBAR = '.app-sidebar'\nconst SELECTOR_SIDEBAR_MENU = '.sidebar-menu'\nconst SELECTOR_NAV_ITEM = '.nav-item'\nconst SELECTOR_NAV_TREEVIEW = '.nav-treeview'\nconst SELECTOR_APP_WRAPPER = '.app-wrapper'\nconst SELECTOR_SIDEBAR_EXPAND = `[class*=\"${CLASS_NAME_SIDEBAR_EXPAND}\"]`\nconst SELECTOR_SIDEBAR_TOGGLE = '[data-lte-toggle=\"sidebar\"]'\n\ntype Config = {\n sidebarBreakpoint: number;\n}\n\nconst Defaults = {\n sidebarBreakpoint: 992\n}\n\n/**\n * Class Definition\n * ====================================================\n */\n\nclass PushMenu {\n _element: HTMLElement\n _config: Config\n\n constructor(element: HTMLElement, config: Config) {\n this._element = element\n this._config = { ...Defaults, ...config }\n }\n\n // TODO\n menusClose() {\n const navTreeview = document.querySelectorAll<HTMLElement>(SELECTOR_NAV_TREEVIEW)\n\n navTreeview.forEach(navTree => {\n navTree.style.removeProperty('display')\n navTree.style.removeProperty('height')\n })\n\n const navSidebar = document.querySelector(SELECTOR_SIDEBAR_MENU)\n const navItem = navSidebar?.querySelectorAll(SELECTOR_NAV_ITEM)\n\n if (navItem) {\n navItem.forEach(navI => {\n navI.classList.remove(CLASS_NAME_MENU_OPEN)\n })\n }\n }\n\n expand() {\n const event = new Event(EVENT_OPEN)\n\n document.body.classList.remove(CLASS_NAME_SIDEBAR_COLLAPSE)\n document.body.classList.add(CLASS_NAME_SIDEBAR_OPEN)\n\n this._element.dispatchEvent(event)\n }\n\n collapse() {\n const event = new Event(EVENT_COLLAPSE)\n\n document.body.classList.remove(CLASS_NAME_SIDEBAR_OPEN)\n document.body.classList.add(CLASS_NAME_SIDEBAR_COLLAPSE)\n\n this._element.dispatchEvent(event)\n }\n\n addSidebarBreakPoint() {\n const sidebarExpandList = document.querySelector(SELECTOR_SIDEBAR_EXPAND)?.classList ?? []\n const sidebarExpand = Array.from(sidebarExpandList).find(className => className.startsWith(CLASS_NAME_SIDEBAR_EXPAND)) ?? ''\n const sidebar = document.getElementsByClassName(sidebarExpand)[0]\n const sidebarContent = window.getComputedStyle(sidebar, '::before').getPropertyValue('content')\n this._config = { ...this._config, sidebarBreakpoint: Number(sidebarContent.replace(/[^\\d.-]/g, '')) }\n\n if (window.innerWidth <= this._config.sidebarBreakpoint) {\n this.collapse()\n } else {\n if (!document.body.classList.contains(CLASS_NAME_SIDEBAR_MINI)) {\n this.expand()\n }\n\n if (document.body.classList.contains(CLASS_NAME_SIDEBAR_MINI) && document.body.classList.contains(CLASS_NAME_SIDEBAR_COLLAPSE)) {\n this.collapse()\n }\n }\n }\n\n toggle() {\n if (document.body.classList.contains(CLASS_NAME_SIDEBAR_COLLAPSE)) {\n this.expand()\n } else {\n this.collapse()\n }\n }\n\n init() {\n this.addSidebarBreakPoint()\n }\n}\n\n/**\n * ------------------------------------------------------------------------\n * Data Api implementation\n * ------------------------------------------------------------------------\n */\n\nonDOMContentLoaded(() => {\n const sidebar = document?.querySelector(SELECTOR_APP_SIDEBAR) as HTMLElement | undefined\n\n if (sidebar) {\n const data = new PushMenu(sidebar, Defaults)\n data.init()\n\n window.addEventListener('resize', () => {\n data.init()\n })\n }\n\n const sidebarOverlay = document.createElement('div')\n sidebarOverlay.className = CLASS_NAME_SIDEBAR_OVERLAY\n document.querySelector(SELECTOR_APP_WRAPPER)?.append(sidebarOverlay)\n\n sidebarOverlay.addEventListener('touchstart', event => {\n event.preventDefault()\n const target = event.currentTarget as HTMLElement\n const data = new PushMenu(target, Defaults)\n data.collapse()\n })\n sidebarOverlay.addEventListener('click', event => {\n event.preventDefault()\n const target = event.currentTarget as HTMLElement\n const data = new PushMenu(target, Defaults)\n data.collapse()\n })\n\n const fullBtn = document.querySelectorAll(SELECTOR_SIDEBAR_TOGGLE)\n\n fullBtn.forEach(btn => {\n btn.addEventListener('click', event => {\n event.preventDefault()\n\n let button = event.currentTarget as HTMLElement | undefined\n\n if (button?.dataset.lteToggle !== 'sidebar') {\n button = button?.closest(SELECTOR_SIDEBAR_TOGGLE) as HTMLElement | undefined\n }\n\n if (button) {\n event?.preventDefault()\n const data = new PushMenu(button, Defaults)\n data.toggle()\n }\n })\n })\n})\n\nexport default PushMenu\n","/**\n * --------------------------------------------\n * @file AdminLTE treeview.ts\n * @description Treeview plugin for AdminLTE.\n * @license MIT\n * --------------------------------------------\n */\n\nimport {\n onDOMContentLoaded,\n slideDown,\n slideUp\n} from './util/index'\n\n/**\n * ------------------------------------------------------------------------\n * Constants\n * ------------------------------------------------------------------------\n */\n\n// const NAME = 'Treeview'\nconst DATA_KEY = 'lte.treeview'\nconst EVENT_KEY = `.${DATA_KEY}`\n\nconst EVENT_EXPANDED = `expanded${EVENT_KEY}`\nconst EVENT_COLLAPSED = `collapsed${EVENT_KEY}`\n// const EVENT_LOAD_DATA_API = `load${EVENT_KEY}`\n\nconst CLASS_NAME_MENU_OPEN = 'menu-open'\nconst SELECTOR_NAV_ITEM = '.nav-item'\nconst SELECTOR_NAV_LINK = '.nav-link'\nconst SELECTOR_TREEVIEW_MENU = '.nav-treeview'\nconst SELECTOR_DATA_TOGGLE = '[data-lte-toggle=\"treeview\"]'\n\nconst Default = {\n animationSpeed: 300,\n accordion: true\n}\n\ntype Config = {\n animationSpeed: number;\n accordion: boolean;\n}\n\n/**\n * Class Definition\n * ====================================================\n */\n\nclass Treeview {\n _element: HTMLElement\n _config: Config\n\n constructor(element: HTMLElement, config: Config) {\n this._element = element\n this._config = { ...Default, ...config }\n }\n\n open(): void {\n const event = new Event(EVENT_EXPANDED)\n\n if (this._config.accordion) {\n const openMenuList = this._element.parentElement?.querySelectorAll(`${SELECTOR_NAV_ITEM}.${CLASS_NAME_MENU_OPEN}`)\n\n openMenuList?.forEach(openMenu => {\n if (openMenu !== this._element.parentElement) {\n openMenu.classList.remove(CLASS_NAME_MENU_OPEN)\n const childElement = openMenu?.querySelector(SELECTOR_TREEVIEW_MENU) as HTMLElement | undefined\n if (childElement) {\n slideUp(childElement, this._config.animationSpeed)\n }\n }\n })\n }\n\n this._element.classList.add(CLASS_NAME_MENU_OPEN)\n\n const childElement = this._element?.querySelector(SELECTOR_TREEVIEW_MENU) as HTMLElement | undefined\n if (childElement) {\n slideDown(childElement, this._config.animationSpeed)\n }\n\n this._element.dispatchEvent(event)\n }\n\n close(): void {\n const event = new Event(EVENT_COLLAPSED)\n\n this._element.classList.remove(CLASS_NAME_MENU_OPEN)\n\n const childElement = this._element?.querySelector(SELECTOR_TREEVIEW_MENU) as HTMLElement | undefined\n if (childElement) {\n slideUp(childElement, this._config.animationSpeed)\n }\n\n this._element.dispatchEvent(event)\n }\n\n toggle(): void {\n if (this._element.classList.contains(CLASS_NAME_MENU_OPEN)) {\n this.close()\n } else {\n this.open()\n }\n }\n}\n\n/**\n * ------------------------------------------------------------------------\n * Data Api implementation\n * ------------------------------------------------------------------------\n */\n\nonDOMContentLoaded(() => {\n const button = document.querySelectorAll(SELECTOR_DATA_TOGGLE)\n\n button.forEach(btn => {\n btn.addEventListener('click', event => {\n const target = event.target as HTMLElement\n const targetItem = target.closest(SELECTOR_NAV_ITEM) as HTMLElement | undefined\n const targetLink = target.closest(SELECTOR_NAV_LINK) as HTMLAnchorElement | undefined\n\n if (target?.getAttribute('href') === '#' || targetLink?.getAttribute('href') === '#') {\n event.preventDefault()\n }\n\n if (targetItem) {\n const data = new Treeview(targetItem, Default)\n data.toggle()\n }\n })\n })\n})\n\nexport default Treeview\n","/**\n * --------------------------------------------\n * @file AdminLTE direct-chat.ts\n * @description Direct chat for AdminLTE.\n * @license MIT\n * --------------------------------------------\n */\n\nimport {\n onDOMContentLoaded\n} from './util/index'\n\n/**\n * Constants\n * ====================================================\n */\n\nconst DATA_KEY = 'lte.direct-chat'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst EVENT_EXPANDED = `expanded${EVENT_KEY}`\nconst EVENT_COLLAPSED = `collapsed${EVENT_KEY}`\n\nconst SELECTOR_DATA_TOGGLE = '[data-lte-toggle=\"chat-pane\"]'\nconst SELECTOR_DIRECT_CHAT = '.direct-chat'\n\nconst CLASS_NAME_DIRECT_CHAT_OPEN = 'direct-chat-contacts-open'\n\n/**\n * Class Definition\n * ====================================================\n */\n\nclass DirectChat {\n _element: HTMLElement\n constructor(element: HTMLElement) {\n this._element = element\n }\n\n toggle(): void {\n if (this._element.classList.contains(CLASS_NAME_DIRECT_CHAT_OPEN)) {\n const event = new Event(EVENT_COLLAPSED)\n\n this._element.classList.remove(CLASS_NAME_DIRECT_CHAT_OPEN)\n\n this._element.dispatchEvent(event)\n } else {\n const event = new Event(EVENT_EXPANDED)\n\n this._element.classList.add(CLASS_NAME_DIRECT_CHAT_OPEN)\n\n this._element.dispatchEvent(event)\n }\n }\n}\n\n/**\n *\n * Data Api implementation\n * ====================================================\n */\n\nonDOMContentLoaded(() => {\n const button = document.querySelectorAll(SELECTOR_DATA_TOGGLE)\n\n button.forEach(btn => {\n btn.addEventListener('click', event => {\n event.preventDefault()\n const target = event.target as HTMLElement\n const chatPane = target.closest(SELECTOR_DIRECT_CHAT) as HTMLElement | undefined\n\n if (chatPane) {\n const data = new DirectChat(chatPane)\n data.toggle()\n }\n })\n })\n})\n\nexport default DirectChat\n","/**\n * --------------------------------------------\n * @file AdminLTE card-widget.ts\n * @description Card widget for AdminLTE.\n * @license MIT\n * --------------------------------------------\n */\n\nimport {\n onDOMContentLoaded,\n slideUp,\n slideDown\n} from './util/index'\n\n/**\n * Constants\n * ====================================================\n */\n\nconst DATA_KEY = 'lte.card-widget'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst EVENT_COLLAPSED = `collapsed${EVENT_KEY}`\nconst EVENT_EXPANDED = `expanded${EVENT_KEY}`\nconst EVENT_REMOVE = `remove${EVENT_KEY}`\nconst EVENT_MAXIMIZED = `maximized${EVENT_KEY}`\nconst EVENT_MINIMIZED = `minimized${EVENT_KEY}`\n\nconst CLASS_NAME_CARD = 'card'\nconst CLASS_NAME_COLLAPSED = 'collapsed-card'\nconst CLASS_NAME_COLLAPSING = 'collapsing-card'\nconst CLASS_NAME_EXPANDING = 'expanding-card'\nconst CLASS_NAME_WAS_COLLAPSED = 'was-collapsed'\nconst CLASS_NAME_MAXIMIZED = 'maximized-card'\n\nconst SELECTOR_DATA_REMOVE = '[data-lte-toggle=\"card-remove\"]'\nconst SELECTOR_DATA_COLLAPSE = '[data-lte-toggle=\"card-collapse\"]'\nconst SELECTOR_DATA_MAXIMIZE = '[data-lte-toggle=\"card-maximize\"]'\nconst SELECTOR_CARD = `.${CLASS_NAME_CARD}`\nconst SELECTOR_CARD_BODY = '.card-body'\nconst SELECTOR_CARD_FOOTER = '.card-footer'\n\ntype Config = {\n animationSpeed: number;\n collapseTrigger: string;\n removeTrigger: string;\n maximizeTrigger: string;\n}\n\nconst Default: Config = {\n animationSpeed: 500,\n collapseTrigger: SELECTOR_DATA_COLLAPSE,\n removeTrigger: SELECTOR_DATA_REMOVE,\n maximizeTrigger: SELECTOR_DATA_MAXIMIZE\n}\n\nclass CardWidget {\n _element: HTMLElement\n _parent: HTMLElement | undefined\n _clone: HTMLElement | undefined\n _config: Config\n\n constructor(element: HTMLElement, config: Config) {\n this._element = element\n this._parent = element.closest(SELECTOR_CARD) as HTMLElement | undefined\n\n if (element.classList.contains(CLASS_NAME_CARD)) {\n this._parent = element\n }\n\n this._config = { ...Default, ...config }\n }\n\n collapse() {\n const event = new Event(EVENT_COLLAPSED)\n\n if (this._parent) {\n this._parent.classList.add(CLASS_NAME_COLLAPSING)\n\n const elm = this._parent?.querySelectorAll(`${SELECTOR_CARD_BODY}, ${SELECTOR_CARD_FOOTER}`)\n\n elm.forEach(el => {\n if (el instanceof HTMLElement) {\n slideUp(el, this._config.animationSpeed)\n }\n })\n\n setTimeout(() => {\n if (this._parent) {\n this._parent.classList.add(CLASS_NAME_COLLAPSED)\n this._parent.classList.remove(CLASS_NAME_COLLAPSING)\n }\n }, this._config.animationSpeed)\n }\n\n this._element?.dispatchEvent(event)\n }\n\n expand() {\n const event = new Event(EVENT_EXPANDED)\n\n if (this._parent) {\n this._parent.classList.add(CLASS_NAME_EXPANDING)\n\n const elm = this._parent?.querySelectorAll(`${SELECTOR_CARD_BODY}, ${SELECTOR_CARD_FOOTER}`)\n\n elm.forEach(el => {\n if (el instanceof HTMLElement) {\n slideDown(el, this._config.animationSpeed)\n }\n })\n\n setTimeout(() => {\n if (this._parent) {\n this._parent.classList.remove(CLASS_NAME_COLLAPSED)\n this._parent.classList.remove(CLASS_NAME_EXPANDING)\n }\n }, this._config.animationSpeed)\n }\n\n this._element?.dispatchEvent(event)\n }\n\n remove() {\n const event = new Event(EVENT_REMOVE)\n\n if (this._parent) {\n slideUp(this._parent, this._config.animationSpeed)\n }\n\n this._element?.dispatchEvent(event)\n }\n\n toggle() {\n if (this._parent?.classList.contains(CLASS_NAME_COLLAPSED)) {\n this.expand()\n return\n }\n\n this.collapse()\n }\n\n maximize() {\n const event = new Event(EVENT_MAXIMIZED)\n\n if (this._parent) {\n this._parent.style.height = `${this._parent.offsetHeight}px`\n this._parent.style.width = `${this._parent.offsetWidth}px`\n this._parent.style.transition = 'all .15s'\n\n setTimeout(() => {\n const htmlTag = document.querySelector('html')\n\n if (htmlTag) {\n htmlTag.classList.add(CLASS_NAME_MAXIMIZED)\n }\n\n if (this._parent) {\n this._parent.classList.add(CLASS_NAME_MAXIMIZED)\n\n if (this._parent.classList.contains(CLASS_NAME_COLLAPSED)) {\n this._parent.classList.add(CLASS_NAME_WAS_COLLAPSED)\n }\n }\n }, 150)\n }\n\n this._element?.dispatchEvent(event)\n }\n\n minimize() {\n const event = new Event(EVENT_MINIMIZED)\n\n if (this._parent) {\n this._parent.style.height = 'auto'\n this._parent.style.width = 'auto'\n this._parent.style.transition = 'all .15s'\n\n setTimeout(() => {\n const htmlTag = document.querySelector('html')\n\n if (htmlTag) {\n htmlTag.classList.remove(CLASS_NAME_MAXIMIZED)\n }\n\n if (this._parent) {\n this._parent.classList.remove(CLASS_NAME_MAXIMIZED)\n\n if (this._parent?.classList.contains(CLASS_NAME_WAS_COLLAPSED)) {\n this._parent.classList.remove(CLASS_NAME_WAS_COLLAPSED)\n }\n }\n }, 10)\n }\n\n this._element?.dispatchEvent(event)\n }\n\n toggleMaximize() {\n if (this._parent?.classList.contains(CLASS_NAME_MAXIMIZED)) {\n this.minimize()\n return\n }\n\n this.maximize()\n }\n}\n\n/**\n *\n * Data Api implementation\n * ====================================================\n */\n\nonDOMContentLoaded(() => {\n const collapseBtn = document.querySelectorAll(SELECTOR_DATA_COLLAPSE)\n\n collapseBtn.forEach(btn => {\n btn.addEventListener('click', event => {\n event.preventDefault()\n const target = event.target as HTMLElement\n const data = new CardWidget(target, Default)\n data.toggle()\n })\n })\n\n const removeBtn = document.querySelectorAll(SELECTOR_DATA_REMOVE)\n\n removeBtn.forEach(btn => {\n btn.addEventListener('click', event => {\n event.preventDefault()\n const target = event.target as HTMLElement\n const data = new CardWidget(target, Default)\n data.remove()\n })\n })\n\n const maxBtn = document.querySelectorAll(SELECTOR_DATA_MAXIMIZE)\n\n maxBtn.forEach(btn => {\n btn.addEventListener('click', event => {\n event.preventDefault()\n const target = event.target as HTMLElement\n const data = new CardWidget(target, Default)\n data.toggleMaximize()\n })\n })\n})\n\nexport default CardWidget\n","/**\n * --------------------------------------------\n * @file AdminLTE fullscreen.ts\n * @description Fullscreen plugin for AdminLTE.\n * @license MIT\n * --------------------------------------------\n */\n\nimport {\n onDOMContentLoaded\n} from './util/index'\n\n/**\n * Constants\n * ============================================================================\n */\nconst DATA_KEY = 'lte.fullscreen'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst EVENT_MAXIMIZED = `maximized${EVENT_KEY}`\nconst EVENT_MINIMIZED = `minimized${EVENT_KEY}`\n\nconst SELECTOR_FULLSCREEN_TOGGLE = '[data-lte-toggle=\"fullscreen\"]'\nconst SELECTOR_MAXIMIZE_ICON = '[data-lte-icon=\"maximize\"]'\nconst SELECTOR_MINIMIZE_ICON = '[data-lte-icon=\"minimize\"]'\n\n/**\n * Class Definition.\n * ============================================================================\n */\nclass FullScreen {\n _element: HTMLElement\n _config: undefined\n\n constructor(element: HTMLElement, config?: undefined) {\n this._element = element\n this._config = config\n }\n\n inFullScreen(): void {\n const event = new Event(EVENT_MAXIMIZED)\n\n const iconMaximize = document.querySelector<HTMLElement>(SELECTOR_MAXIMIZE_ICON)\n const iconMinimize = document.querySelector<HTMLElement>(SELECTOR_MINIMIZE_ICON)\n\n void document.documentElement.requestFullscreen()\n\n if (iconMaximize) {\n iconMaximize.style.display = 'none'\n }\n\n if (iconMinimize) {\n iconMinimize.style.display = 'block'\n }\n\n this._element.dispatchEvent(event)\n }\n\n outFullscreen(): void {\n const event = new Event(EVENT_MINIMIZED)\n\n const iconMaximize = document.querySelector<HTMLElement>(SELECTOR_MAXIMIZE_ICON)\n const iconMinimize = document.querySelector<HTMLElement>(SELECTOR_MINIMIZE_ICON)\n\n void document.exitFullscreen()\n\n if (iconMaximize) {\n iconMaximize.style.display = 'block'\n }\n\n if (iconMinimize) {\n iconMinimize.style.display = 'none'\n }\n\n this._element.dispatchEvent(event)\n }\n\n toggleFullScreen(): void {\n if (document.fullscreenEnabled) {\n if (document.fullscreenElement) {\n this.outFullscreen()\n } else {\n this.inFullScreen()\n }\n }\n }\n}\n\n/**\n * Data Api implementation\n * ============================================================================\n */\nonDOMContentLoaded(() => {\n const buttons = document.querySelectorAll(SELECTOR_FULLSCREEN_TOGGLE)\n\n buttons.forEach(btn => {\n btn.addEventListener('click', event => {\n event.preventDefault()\n\n const target = event.target as HTMLElement\n const button = target.closest(SELECTOR_FULLSCREEN_TOGGLE) as HTMLElement | undefined\n\n if (button) {\n const data = new FullScreen(button, undefined)\n data.toggleFullScreen()\n }\n })\n })\n})\n\nexport default FullScreen\n"],"names":["DATA_KEY","EVENT_KEY","CLASS_NAME_MENU_OPEN","SELECTOR_NAV_ITEM","EVENT_EXPANDED","EVENT_COLLAPSED","SELECTOR_DATA_TOGGLE","Default","EVENT_MAXIMIZED","EVENT_MINIMIZED"],"mappings":";;;;;;;;;;;IAAA,MAAM,yBAAyB,GAAsB,EAAE,CAAA;IAEvD,MAAM,kBAAkB,GAAG,CAAC,QAAoB,KAAU;IACxD,IAAA,IAAI,QAAQ,CAAC,UAAU,KAAK,SAAS,EAAE;;IAErC,QAAA,IAAI,CAAC,yBAAyB,CAAC,MAAM,EAAE;IACrC,YAAA,QAAQ,CAAC,gBAAgB,CAAC,kBAAkB,EAAE,MAAK;IACjD,gBAAA,KAAK,MAAM,QAAQ,IAAI,yBAAyB,EAAE;IAChD,oBAAA,QAAQ,EAAE,CAAA;IACX,iBAAA;IACH,aAAC,CAAC,CAAA;IACH,SAAA;IAED,QAAA,yBAAyB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAA;IACzC,KAAA;IAAM,SAAA;IACL,QAAA,QAAQ,EAAE,CAAA;IACX,KAAA;IACH,CAAC,CAAA;IAED;IACA,MAAM,OAAO,GAAG,CAAC,MAAmB,EAAE,QAAQ,GAAG,GAAG,KAAI;IACtD,IAAA,MAAM,CAAC,KAAK,CAAC,kBAAkB,GAAG,yBAAyB,CAAA;QAC3D,MAAM,CAAC,KAAK,C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