{"version":3,"file":"aXFn8UQ0.js","sources":["../../../../../node_modules/@nuxt/ui/dist/runtime/ui.config/overlays/slideover.mjs","../../../../../node_modules/@nuxt/ui-pro/components/dashboard/DashboardPanelHandle.vue","../../../../../node_modules/@nuxt/ui/dist/runtime/components/overlays/Slideover.vue","../../../../../node_modules/@nuxt/ui-pro/composables/useResizable.ts","../../../../../node_modules/@nuxt/ui-pro/composables/useUIState.ts","../../../../../node_modules/@nuxt/ui-pro/components/dashboard/DashboardPanel.vue"],"sourcesContent":["export default {\n wrapper: \"fixed inset-0 flex z-50\",\n overlay: {\n base: \"fixed inset-0 transition-opacity\",\n background: \"bg-gray-200/75 dark:bg-gray-800/75\",\n // Syntax for `` component https://headlessui.com/vue/transition#basic-example\n transition: {\n enter: \"ease-in-out duration-500\",\n enterFrom: \"opacity-0\",\n enterTo: \"opacity-100\",\n leave: \"ease-in-out duration-500\",\n leaveFrom: \"opacity-100\",\n leaveTo: \"opacity-0\"\n }\n },\n base: \"relative flex-1 flex flex-col w-full focus:outline-none\",\n background: \"bg-white dark:bg-gray-900\",\n ring: \"\",\n rounded: \"\",\n padding: \"\",\n shadow: \"shadow-xl\",\n width: \"w-screen max-w-md\",\n height: \"h-screen max-h-96\",\n translate: {\n base: \"translate-x-0\",\n left: \"-translate-x-full rtl:translate-x-full\",\n right: \"translate-x-full rtl:-translate-x-full\",\n top: \"-translate-y-full\",\n bottom: \"translate-y-full\"\n },\n // Syntax for `` component https://headlessui.com/vue/transition#basic-example\n transition: {\n enter: \"transform transition ease-in-out duration-300\",\n leave: \"transform transition ease-in-out duration-200\"\n }\n};\n","\n\n\n","\n\n","import { useStorage } from '@vueuse/core'\n\nexport const useResizable = (key: string, { min, max, value = 0, storage = 'cookie' }: {\n min?: number,\n max?: number,\n value?: number,\n storage?: 'cookie' | 'local'\n}) => {\n const el = ref(null)\n\n const width = storage === 'cookie' ? useCookie(key, { default: () => value }) : useStorage(key, () => value)\n\n const isDragging = ref(false)\n\n function onMouseMove (e: MouseEvent, x: number) {\n let w = el.value!.offsetWidth + e.clientX - x\n if (min) {\n w = Math.max(w, min)\n }\n if (max) {\n w = Math.min(w, max)\n }\n\n width.value = w\n\n return e.clientX\n }\n\n function onDrag (e: MouseEvent) {\n if (!el.value) return\n\n let x = e.clientX\n\n document.onmousemove = (e) => {\n isDragging.value = true\n x = onMouseMove(e, x)\n }\n\n document.onmouseup = () => {\n isDragging.value = false\n document.onmousemove = document.onmouseup = null\n }\n }\n\n return {\n el,\n width,\n isDragging,\n onDrag\n }\n}\n","import { createSharedComposable } from '@vueuse/core'\n\nconst _useUIState = () => {\n const route = useRoute()\n\n const isHeaderDialogOpen = ref(false)\n const isContentSearchModalOpen = ref(false)\n const isDashboardSidebarSlideoverOpen = ref(false)\n const isDashboardSearchModalOpen = ref(false)\n\n function toggleContentSearch () {\n if (isHeaderDialogOpen.value) {\n isHeaderDialogOpen.value = false\n\n setTimeout(() => {\n isContentSearchModalOpen.value = !isContentSearchModalOpen.value\n }, 0)\n\n return\n }\n\n isContentSearchModalOpen.value = !isContentSearchModalOpen.value\n }\n\n function toggleDashboardSearch () {\n if (isDashboardSidebarSlideoverOpen.value) {\n isDashboardSidebarSlideoverOpen.value = false\n\n setTimeout(() => {\n isDashboardSearchModalOpen.value = !isDashboardSearchModalOpen.value\n }, 200)\n\n return\n }\n\n isDashboardSearchModalOpen.value = !isDashboardSearchModalOpen.value\n }\n\n watch(() => route.path, () => {\n isDashboardSidebarSlideoverOpen.value = false\n })\n\n return {\n isHeaderDialogOpen,\n isContentSearchModalOpen,\n /**\n * @deprecated Use the new {@link isDashboardSidebarSlideoverOpen} ref instead.\n */\n isDashboardSidebarSlidoverOpen: isDashboardSidebarSlideoverOpen,\n isDashboardSidebarSlideoverOpen,\n isDashboardSearchModalOpen,\n toggleContentSearch,\n toggleDashboardSearch\n }\n}\n\nexport const useUIState = createSharedComposable(_useUIState)\n","\n\n\n"],"names":["slideover","props","__props","config","computed","wrapper","twJoin","container","ui","attrs","useUI","toRef","mergeConfig","appConfig","_sfc_main","defineComponent","HDialog","HDialogPanel","TransitionRoot","TransitionChild","value","emit","isOpen","transitionClass","enterFrom","leaveTo","sideType","close","onAfterLeave","provideUseId","useId","_createBlock","_component_TransitionRoot","_ctx","_withCtx","_createVNode","_component_HDialog","_mergeProps","_openBlock","_component_TransitionChild","_createElementVNode","_normalizeClass","_createCommentVNode","_component_HDialogPanel","_renderSlot","useResizable","key","min","max","storage","el","ref","width","useCookie","useStorage","isDragging","onMouseMove","e","x","w","onDrag","_useUIState","route","useRoute","isHeaderDialogOpen","isContentSearchModalOpen","isDashboardSidebarSlideoverOpen","isDashboardSearchModalOpen","toggleContentSearch","toggleDashboardSearch","watch","useUIState","createSharedComposable","__emit","id","breakpoints","useBreakpoints","breakpointsTailwind","smallerThanLg","__expose","provide"],"mappings":"qYAAA,MAAeA,GAAA,CACb,QAAS,0BACT,QAAS,CACP,KAAM,mCACN,WAAY,qCAEZ,WAAY,CACV,MAAO,2BACP,UAAW,YACX,QAAS,cACT,MAAO,2BACP,UAAW,cACX,QAAS,WACV,CACF,EACD,KAAM,0DACN,WAAY,4BACZ,KAAM,GACN,QAAS,GACT,QAAS,GACT,OAAQ,YACR,MAAO,oBACP,OAAQ,oBACR,UAAW,CACT,KAAM,gBACN,KAAM,yCACN,MAAO,yCACP,IAAK,oBACL,OAAQ,kBACT,EAED,WAAY,CACV,MAAO,gDACP,MAAO,+CACR,CACH,wMCrBA,MAAMC,EAAQC,EAeRC,EAASC,EAAS,IAAM,CAC5B,MAAMC,EAAkBC,EACtB,iEACAL,EAAM,cAAgB,YAAc,0DACpCA,EAAM,cAAgB,cAAgB,uDAAA,EAGlCM,EAAoBD,EACxB,wFACAL,EAAM,cAAgB,YAAc,gCACpCA,EAAM,cAAgB,cAAgB,+BAAA,EAGjC,MAAA,CACL,QAAAI,EACA,UAAAE,CAAA,CACF,CACD,EAEK,CAAE,GAAAC,EAAI,MAAAC,CAAM,EAAIC,EAAM,yBAA0BC,EAAM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