@nubisco/ui 5.43.2 → 5.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AccordionItem-DYTMtfdV.cjs +1 -0
- package/dist/{AccordionItem-Cg4m1SfF.js → AccordionItem-Dwt7yH5V.js} +6 -4
- package/dist/{ActionGroup-D7M9uaEp.js → ActionGroup-DVzC7pb-.js} +1 -1
- package/dist/{ActionGroup-BZ6YpjJO.cjs → ActionGroup-PgnAwRgJ.cjs} +1 -1
- package/dist/{AiProvider-PuA_dYYu.cjs → AiProvider-Dfl-y2Wy.cjs} +1 -1
- package/dist/{AiProvider-BwX0fWR4.js → AiProvider-rvV85R7w.js} +3 -3
- package/dist/{BackToTop-yDcNNu1c.js → BackToTop-Bgq4txNz.js} +1 -1
- package/dist/{BackToTop-MiNmxj8y.cjs → BackToTop-FeQ4kykw.cjs} +1 -1
- package/dist/{Banner-S8WqTTYP.cjs → Banner-C6t1fbs0.cjs} +1 -1
- package/dist/{Banner-Czz07yca.js → Banner-Cb3GrxMM.js} +1 -1
- package/dist/{Blueprint-Bv8EweAy.cjs → Blueprint-BBRar8Vu.cjs} +1 -1
- package/dist/{Blueprint-C8VbPuw9.js → Blueprint-lTBswuCE.js} +1 -1
- package/dist/{BlueprintCard-WaIQcsDQ.cjs → BlueprintCard-BISElEk0.cjs} +1 -1
- package/dist/{BlueprintCard-jJjQydFH.js → BlueprintCard-CsOQhmxj.js} +1 -1
- package/dist/{BlueprintControls-CdvlOBtV.js → BlueprintControls-B9TveRQm.js} +1 -1
- package/dist/{BlueprintControls-BYa7Phal.cjs → BlueprintControls-HuvP3JgD.cjs} +1 -1
- package/dist/{Board-DxbzneAu.cjs → Board-CpSPRwYK.cjs} +1 -1
- package/dist/{Board-Jr8RJ7R1.js → Board-m5s6Dtby.js} +1 -1
- package/dist/{BottomPanel-D8z92-SS.cjs → BottomPanel-9wXoX7C0.cjs} +1 -1
- package/dist/{BottomPanel-xfSCWeN2.js → BottomPanel-COy4nW-t.js} +1 -1
- package/dist/Breadcrumbs-Cmr5dHB3.js +175 -0
- package/dist/Breadcrumbs-DGJEdKOS.cjs +1 -0
- package/dist/{Briefing-BhnZ6WVQ.js → Briefing-DH_mh7fN.js} +1 -1
- package/dist/{Briefing-CZ2bGU7N.cjs → Briefing-DUhMbdSV.cjs} +1 -1
- package/dist/{BriefingDestination-DY6Om2tX.js → BriefingDestination-D2_W_n7J.js} +1 -1
- package/dist/{BriefingDestination-CJHuxQnL.cjs → BriefingDestination-LfgeTUzh.cjs} +1 -1
- package/dist/{Button-D81Efqjg.js → Button-C-OsrbBY.js} +1 -1
- package/dist/{Button-B-8ikYRN.cjs → Button-Cjtw1CkB.cjs} +1 -1
- package/dist/{Card-BFF-wPpB.cjs → Card-B1Snkf7r.cjs} +1 -1
- package/dist/{Card-m0pPg2DV.js → Card-__tew6aW.js} +1 -1
- package/dist/{Checkbox-5ANAIFrb.js → Checkbox-B_nSNoZ0.js} +1 -1
- package/dist/{Checkbox-CtUFfX3m.cjs → Checkbox-DHjkrPUP.cjs} +1 -1
- package/dist/{CheckboxGroup-CORB_666.js → CheckboxGroup-CUIlWTqZ.js} +1 -1
- package/dist/{CheckboxGroup-DUwsVYmt.cjs → CheckboxGroup-DZYMcUYF.cjs} +1 -1
- package/dist/{ColorStrip-Cvg8SDbi.js → ColorStrip-ms8u4-on.js} +1 -1
- package/dist/{ColorStrip-D9Y0q4F3.cjs → ColorStrip-oYITobr0.cjs} +1 -1
- package/dist/{Confirm-7uLqv38W.cjs → Confirm-19CDmfES.cjs} +1 -1
- package/dist/{Confirm-c2Ss3_hy.js → Confirm-BVTBZR2b.js} +4 -4
- package/dist/{CopyButton-D_DwMgrr.cjs → CopyButton-CetR7hHC.cjs} +1 -1
- package/dist/{CopyButton-BaJmS3TN.js → CopyButton-Dgt2DbUH.js} +1 -1
- package/dist/{DataTable-JG2gCpgz.cjs → DataTable-6Z8IZeHf.cjs} +1 -1
- package/dist/{DataTable-C44scor6.js → DataTable-CaJYOtLk.js} +3 -3
- package/dist/{DatePicker-BtQGKawo.cjs → DatePicker-BXZaGWsS.cjs} +1 -1
- package/dist/{DatePicker-D-V0rt-j.js → DatePicker-DN_5RDB8.js} +1 -1
- package/dist/{DragHandle-DX3qexW0.cjs → DragHandle-B673DaN2.cjs} +1 -1
- package/dist/{DragHandle-CBfcSRsL.js → DragHandle-CaK-4YhE.js} +1 -1
- package/dist/{FileUploader-yF9oG9am.cjs → FileUploader-3vqReJ1p.cjs} +1 -1
- package/dist/{FileUploader-0N1aSLeq.js → FileUploader-DbkSKQbb.js} +2 -2
- package/dist/{FloatingToolbar-Bfe38At4.js → FloatingToolbar-CLQOPq4x.js} +1 -1
- package/dist/{FloatingToolbar-Bdwzxebh.cjs → FloatingToolbar-D7PkAjS7.cjs} +1 -1
- package/dist/{ImagePicker-D6udeZN0.cjs → ImagePicker-BGSGBibF.cjs} +1 -1
- package/dist/{ImagePicker-C2Kz4U4G.js → ImagePicker-BX28wROp.js} +1 -1
- package/dist/{InfoHint-ieo2S-YE.js → InfoHint-CC4cvFsD.js} +1 -1
- package/dist/{InfoHint-D35B8g96.cjs → InfoHint-CyuBCIgq.cjs} +1 -1
- package/dist/{Message-vFr_gB2V.cjs → Message-BpDOzu5W.cjs} +1 -1
- package/dist/{Message-DPv6St5M.js → Message-CqVP4y4Y.js} +1 -1
- package/dist/{Modal-x4RAvBHZ.cjs → Modal-CMF77gQX.cjs} +1 -1
- package/dist/{Modal-BCWixlOG.js → Modal-wtlHUSSo.js} +4 -4
- package/dist/{NotificationCenter-DLeWxnQl.cjs → NotificationCenter-CGNa7MoB.cjs} +1 -1
- package/dist/{NotificationCenter-BkgLzD2x.js → NotificationCenter-DtsfXKrM.js} +1 -1
- package/dist/{NumberInput-DgjZDq0n.js → NumberInput-ggLG8zsa.js} +2 -2
- package/dist/{NumberInput-DpPVxENr.cjs → NumberInput-x1lY-01L.cjs} +1 -1
- package/dist/{Pagination-XOtOT86P.cjs → Pagination-6FLCG39u.cjs} +1 -1
- package/dist/{Pagination-Dk2C7ktz.js → Pagination-gc-SNeLt.js} +2 -2
- package/dist/{ProgressBar-CnVdi3l4.cjs → ProgressBar-CHyFQlL4.cjs} +1 -1
- package/dist/{ProgressBar-DFtOp3I-.js → ProgressBar-RCt7Y6mi.js} +2 -2
- package/dist/{Radio-DYXyO8tN.cjs → Radio-BSl4W12s.cjs} +1 -1
- package/dist/{Radio-CgsnwzDy.js → Radio-DHmTMvjM.js} +2 -2
- package/dist/{ReorderList-BuUYPJMK.js → ReorderList-BgowtiZj.js} +1 -1
- package/dist/{ReorderList-bFHn97rx.cjs → ReorderList-JLX01ViS.cjs} +1 -1
- package/dist/Select-DPrncZll.js +576 -0
- package/dist/{Select-CnieTPOL.cjs → Select-cRjKYI2t.cjs} +1 -1
- package/dist/Shell-B-kBO9pJ.cjs +1 -0
- package/dist/Shell-Da_Updzh.js +520 -0
- package/dist/{ShellPanel-CaThNh0w.cjs → ShellPanel-BaJQxg3h.cjs} +1 -1
- package/dist/{ShellPanel-Di6orfq4.js → ShellPanel-CoP2tWLo.js} +1 -1
- package/dist/{SidebarCollapseToggle-0-uyosme.js → SidebarCollapseToggle-CX6Ay_PC.js} +1 -1
- package/dist/{SidebarCollapseToggle-BswURvS0.cjs → SidebarCollapseToggle-dgx4SPB5.cjs} +1 -1
- package/dist/{SidebarHeaderToggle-CHkcVjY7.cjs → SidebarHeaderToggle-BeLPv1dU.cjs} +1 -1
- package/dist/{SidebarHeaderToggle-BFxmHAl9.js → SidebarHeaderToggle-BwnXdcrB.js} +1 -1
- package/dist/{SidebarLink-DaZrlrLZ.cjs → SidebarLink-BeuUiOLd.cjs} +1 -1
- package/dist/{SidebarLink-CXCdVrWM.js → SidebarLink-m9WhGcc2.js} +1 -1
- package/dist/SidebarMenuGroup-BTVsBDts.js +69 -0
- package/dist/SidebarMenuGroup-ByeTvkHJ.cjs +1 -0
- package/dist/SidebarMenuItem-BFdCve25.js +268 -0
- package/dist/SidebarMenuItem-C46vbCOy.cjs +1 -0
- package/dist/{Slider-CUonOhgJ.js → Slider-56pPcL_E.js} +2 -2
- package/dist/{Slider-CojrFGb_.cjs → Slider-TlwhliL1.cjs} +1 -1
- package/dist/{Stat-UpbLQlEY.js → Stat-BfDK9HRp.js} +1 -1
- package/dist/{Stat-BSdnUOwK.cjs → Stat-x01dwM0g.cjs} +1 -1
- package/dist/{StepperStep-CjxVhsbr.cjs → StepperStep-C-uCJroV.cjs} +1 -1
- package/dist/{StepperStep-Co1KKj9h.js → StepperStep-CsrrJfwu.js} +1 -1
- package/dist/{Switch-8zEBXjF9.js → Switch-B40hMlXu.js} +1 -1
- package/dist/{Switch-D6Yh4B_9.cjs → Switch-D7eHiXw1.cjs} +1 -1
- package/dist/{TableOfContents-BPw_ilXl.js → TableOfContents-B72I_ReR.js} +1 -1
- package/dist/{TableOfContents-Dg1rE8d6.cjs → TableOfContents-CNxzC_6Z.cjs} +1 -1
- package/dist/{Tabs-C-vp8-s1.js → Tabs-C_sm66Xi.js} +1 -1
- package/dist/{Tabs-CNZ3LlV1.cjs → Tabs-RbPvDC7u.cjs} +1 -1
- package/dist/{TextInput-Cxnxq2F6.js → TextInput-DssK3wB2.js} +2 -2
- package/dist/{TextInput-D6YChZsO.cjs → TextInput-gA5Fp8Y7.cjs} +2 -2
- package/dist/{Toast-WMeps0Sy.js → Toast-CkZ1teg6.js} +1 -1
- package/dist/{Toast-DJ4m7ct6.cjs → Toast-DNtON_wR.cjs} +1 -1
- package/dist/{Toaster-BHcDHheK.js → Toaster-B1SyGLyl.js} +2 -2
- package/dist/{Toaster-BkxXz6XR.cjs → Toaster-C6GwLIeR.cjs} +1 -1
- package/dist/{TreeNode-CyJM0bOD.js → TreeNode-4bbso5nG.js} +1 -1
- package/dist/{TreeNode-BDCrTAs_.cjs → TreeNode-CSHd1PSy.cjs} +1 -1
- package/dist/{UserMenu-zLh3PXSg.js → UserMenu-BD6uLDXp.js} +1 -1
- package/dist/{UserMenu-ZaUmKXsQ.cjs → UserMenu-Cn_zwZyJ.cjs} +1 -1
- package/dist/{Video-CG0jZjAZ.cjs → Video-B8TFsoLx.cjs} +1 -1
- package/dist/{Video-BnajNYWZ.js → Video-CTeSlgd1.js} +1 -1
- package/dist/{Walkthrough-CV9RAizC.cjs → Walkthrough-BIN8ZCbA.cjs} +1 -1
- package/dist/{Walkthrough-BmSzAV_b.js → Walkthrough-Cy136LvZ.js} +2 -2
- package/dist/all.cjs +1 -1
- package/dist/all.mjs +63 -63
- package/dist/component-styles.json +4 -0
- package/dist/components/AccordionItem.cjs +1 -1
- package/dist/components/AccordionItem.mjs +1 -1
- package/dist/components/AccordionItem.vue.d.ts.map +1 -1
- package/dist/components/ActionGroup.cjs +1 -1
- package/dist/components/ActionGroup.mjs +1 -1
- package/dist/components/AiProvider.cjs +1 -1
- package/dist/components/AiProvider.mjs +1 -1
- package/dist/components/Avatar.cjs +1 -1
- package/dist/components/Avatar.mjs +1 -1
- package/dist/components/BackToTop.cjs +1 -1
- package/dist/components/BackToTop.mjs +1 -1
- package/dist/components/Banner.cjs +1 -1
- package/dist/components/Banner.mjs +1 -1
- package/dist/components/Blueprint.cjs +1 -1
- package/dist/components/Blueprint.mjs +1 -1
- package/dist/components/BlueprintCard.cjs +1 -1
- package/dist/components/BlueprintCard.mjs +1 -1
- package/dist/components/BlueprintControls.cjs +1 -1
- package/dist/components/BlueprintControls.mjs +1 -1
- package/dist/components/Board.cjs +1 -1
- package/dist/components/Board.mjs +1 -1
- package/dist/components/BottomPanel.cjs +1 -1
- package/dist/components/BottomPanel.mjs +1 -1
- package/dist/components/Breadcrumbs.cjs +1 -1
- package/dist/components/Breadcrumbs.d.ts +13 -0
- package/dist/components/Breadcrumbs.mjs +1 -1
- package/dist/components/Breadcrumbs.vue.d.ts +2 -2
- package/dist/components/Breadcrumbs.vue.d.ts.map +1 -1
- package/dist/components/Briefing.cjs +1 -1
- package/dist/components/Briefing.mjs +1 -1
- package/dist/components/BriefingDestination.cjs +1 -1
- package/dist/components/BriefingDestination.mjs +1 -1
- package/dist/components/Button.cjs +1 -1
- package/dist/components/Button.mjs +1 -1
- package/dist/components/Calendar.cjs +1 -1
- package/dist/components/Calendar.mjs +1 -1
- package/dist/components/Card.cjs +1 -1
- package/dist/components/Card.mjs +1 -1
- package/dist/components/Checkbox.cjs +1 -1
- package/dist/components/Checkbox.mjs +1 -1
- package/dist/components/Checkbox.vue.d.ts.map +1 -1
- package/dist/components/CheckboxGroup.cjs +1 -1
- package/dist/components/CheckboxGroup.mjs +1 -1
- package/dist/components/ColorStrip.cjs +1 -1
- package/dist/components/ColorStrip.mjs +1 -1
- package/dist/components/CommandPalette.vue.d.ts.map +1 -1
- package/dist/components/Confirm.cjs +1 -1
- package/dist/components/Confirm.env.d.ts +1 -1
- package/dist/components/Confirm.mjs +1 -1
- package/dist/components/CopyButton.cjs +1 -1
- package/dist/components/CopyButton.mjs +1 -1
- package/dist/components/DataTable.cjs +1 -1
- package/dist/components/DataTable.mjs +1 -1
- package/dist/components/DatePicker.cjs +1 -1
- package/dist/components/DatePicker.mjs +1 -1
- package/dist/components/DragHandle.cjs +1 -1
- package/dist/components/DragHandle.mjs +1 -1
- package/dist/components/FileUploader.cjs +1 -1
- package/dist/components/FileUploader.mjs +1 -1
- package/dist/components/FloatingToolbar.cjs +1 -1
- package/dist/components/FloatingToolbar.mjs +1 -1
- package/dist/components/ImagePicker.cjs +1 -1
- package/dist/components/ImagePicker.mjs +1 -1
- package/dist/components/InfoHint.cjs +1 -1
- package/dist/components/InfoHint.mjs +1 -1
- package/dist/components/InfoHint.vue.d.ts.map +1 -1
- package/dist/components/Menu.vue.d.ts.map +1 -1
- package/dist/components/Message.cjs +1 -1
- package/dist/components/Message.mjs +1 -1
- package/dist/components/Modal.cjs +1 -1
- package/dist/components/Modal.mjs +1 -1
- package/dist/components/Modal.vue.d.ts.map +1 -1
- package/dist/components/NotificationCenter.cjs +1 -1
- package/dist/components/NotificationCenter.mjs +1 -1
- package/dist/components/NotificationCenter.vue.d.ts.map +1 -1
- package/dist/components/NumberInput.cjs +1 -1
- package/dist/components/NumberInput.mjs +1 -1
- package/dist/components/Pagination.cjs +1 -1
- package/dist/components/Pagination.mjs +1 -1
- package/dist/components/ProgressBar.cjs +1 -1
- package/dist/components/ProgressBar.mjs +1 -1
- package/dist/components/Radio.cjs +1 -1
- package/dist/components/Radio.mjs +1 -1
- package/dist/components/Radio.vue.d.ts.map +1 -1
- package/dist/components/ReorderList.cjs +1 -1
- package/dist/components/ReorderList.mjs +1 -1
- package/dist/components/Select.cjs +1 -1
- package/dist/components/Select.mjs +1 -1
- package/dist/components/Select.vue.d.ts +2 -2
- package/dist/components/Select.vue.d.ts.map +1 -1
- package/dist/components/Shell.cjs +1 -1
- package/dist/components/Shell.d.ts +23 -0
- package/dist/components/Shell.mjs +1 -1
- package/dist/components/Shell.vue.d.ts +12 -11
- package/dist/components/Shell.vue.d.ts.map +1 -1
- package/dist/components/ShellPanel.cjs +1 -1
- package/dist/components/ShellPanel.mjs +1 -1
- package/dist/components/SidebarCollapseToggle.cjs +1 -1
- package/dist/components/SidebarCollapseToggle.mjs +1 -1
- package/dist/components/SidebarHeaderToggle.cjs +1 -1
- package/dist/components/SidebarHeaderToggle.mjs +1 -1
- package/dist/components/SidebarLink.cjs +1 -1
- package/dist/components/SidebarLink.mjs +1 -1
- package/dist/components/SidebarMenuGroup.cjs +1 -1
- package/dist/components/SidebarMenuGroup.d.ts +7 -0
- package/dist/components/SidebarMenuGroup.mjs +1 -1
- package/dist/components/SidebarMenuGroup.vue.d.ts +4 -3
- package/dist/components/SidebarMenuGroup.vue.d.ts.map +1 -1
- package/dist/components/SidebarMenuItem.cjs +1 -1
- package/dist/components/SidebarMenuItem.d.ts +9 -0
- package/dist/components/SidebarMenuItem.mjs +1 -1
- package/dist/components/SidebarMenuItem.vue.d.ts +4 -3
- package/dist/components/SidebarMenuItem.vue.d.ts.map +1 -1
- package/dist/components/Slider.cjs +1 -1
- package/dist/components/Slider.mjs +1 -1
- package/dist/components/Stat.cjs +1 -1
- package/dist/components/Stat.mjs +1 -1
- package/dist/components/StepperStep.cjs +1 -1
- package/dist/components/StepperStep.mjs +1 -1
- package/dist/components/Submenu.vue.d.ts.map +1 -1
- package/dist/components/Switch.cjs +1 -1
- package/dist/components/Switch.mjs +1 -1
- package/dist/components/Switch.vue.d.ts.map +1 -1
- package/dist/components/TableOfContents.cjs +1 -1
- package/dist/components/TableOfContents.mjs +1 -1
- package/dist/components/Tabs.cjs +1 -1
- package/dist/components/Tabs.mjs +1 -1
- package/dist/components/TextInput.cjs +1 -1
- package/dist/components/TextInput.mjs +1 -1
- package/dist/components/Toast.cjs +1 -1
- package/dist/components/Toast.mjs +1 -1
- package/dist/components/Toaster.cjs +1 -1
- package/dist/components/Toaster.mjs +1 -1
- package/dist/components/TreeNode.cjs +1 -1
- package/dist/components/TreeNode.mjs +1 -1
- package/dist/components/UserMenu.cjs +1 -1
- package/dist/components/UserMenu.mjs +1 -1
- package/dist/components/UserMenu.vue.d.ts.map +1 -1
- package/dist/components/Video.cjs +1 -1
- package/dist/components/Video.mjs +1 -1
- package/dist/components/Walkthrough.cjs +1 -1
- package/dist/components/Walkthrough.mjs +1 -1
- package/dist/composables/useConfirm.composable.cjs +1 -1
- package/dist/composables/useConfirm.composable.mjs +3 -3
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +60 -60
- package/dist/{main-B7CVGoiq.js → main-Bp4F8LhP.js} +4 -4
- package/dist/main-Dw1kBHgQ.cjs +4 -0
- package/dist/main.d.ts +1 -1
- package/dist/main.d.ts.map +1 -1
- package/dist/styles/AccordionItem.css +1 -1
- package/dist/styles/BackToTop.css +1 -1
- package/dist/styles/Banner.css +1 -1
- package/dist/styles/Blueprint.css +1 -1
- package/dist/styles/BlueprintCard.css +1 -1
- package/dist/styles/Board.css +1 -1
- package/dist/styles/BottomPanel.css +1 -1
- package/dist/styles/Breadcrumbs.css +1 -1
- package/dist/styles/Button.css +1 -1
- package/dist/styles/Calendar.css +1 -1
- package/dist/styles/Card.css +1 -1
- package/dist/styles/Checkbox.css +1 -1
- package/dist/styles/ColorStrip.css +1 -1
- package/dist/styles/CommandPalette.css +1 -1
- package/dist/styles/DataTable.css +1 -1
- package/dist/styles/DatePicker.css +1 -1
- package/dist/styles/DragHandle.css +1 -1
- package/dist/styles/FileUploader.css +1 -1
- package/dist/styles/FloatingToolbar.css +1 -1
- package/dist/styles/ImagePicker.css +1 -1
- package/dist/styles/InfoHint.css +1 -1
- package/dist/styles/Menu.css +1 -1
- package/dist/styles/MenuBarItem.css +1 -1
- package/dist/styles/MenuItem.css +1 -1
- package/dist/styles/Message.css +1 -1
- package/dist/styles/Modal.css +1 -1
- package/dist/styles/NotificationCenter.css +1 -1
- package/dist/styles/NumberInput.css +1 -1
- package/dist/styles/ProgressBar.css +1 -1
- package/dist/styles/Radio.css +1 -1
- package/dist/styles/ReorderList.css +1 -1
- package/dist/styles/Select.css +1 -1
- package/dist/styles/Shell.css +1 -1
- package/dist/styles/ShellPanel.css +1 -1
- package/dist/styles/SidebarHeaderToggle.css +1 -1
- package/dist/styles/SidebarLink.css +1 -1
- package/dist/styles/SidebarMenuGroup.css +1 -1
- package/dist/styles/SidebarMenuItem.css +1 -1
- package/dist/styles/Stat.css +1 -1
- package/dist/styles/StepperStep.css +1 -1
- package/dist/styles/Submenu.css +1 -1
- package/dist/styles/Switch.css +1 -1
- package/dist/styles/Tabs.css +1 -1
- package/dist/styles/TextInput.css +1 -1
- package/dist/styles/Toast.css +1 -1
- package/dist/styles/Toaster.css +1 -1
- package/dist/styles/TreeNode.css +1 -1
- package/dist/styles/UserMenu.css +1 -1
- package/dist/styles/Walkthrough.css +1 -1
- package/dist/ui.css +49 -49
- package/package.json +1 -1
- package/src/styles/_theme.scss +19 -0
- package/src/styles/logic/_motion.scss +32 -0
- package/src/styles/variables/_animations.scss +45 -3
- package/dist/AccordionItem-BOIL14KX.cjs +0 -1
- package/dist/Breadcrumbs-B1dTOa2c.js +0 -145
- package/dist/Breadcrumbs-BQCRa6zF.cjs +0 -1
- package/dist/Select-cEKAoY4x.js +0 -573
- package/dist/Shell-BUqkz67b.js +0 -497
- package/dist/Shell-CixU-_Lh.cjs +0 -1
- package/dist/SidebarMenuGroup-BTE6pzU7.cjs +0 -1
- package/dist/SidebarMenuGroup-BWjJE_SN.js +0 -55
- package/dist/SidebarMenuItem-Ca3H9cGh.cjs +0 -1
- package/dist/SidebarMenuItem-DlMpBgAc.js +0 -255
- package/dist/main-8_dE3Ta1.cjs +0 -4
- /package/dist/{Avatar-EkPppXcU.js → Avatar-BibgBZuN.js} +0 -0
- /package/dist/{Avatar-DMTs2BnK.cjs → Avatar-BpPczEa8.cjs} +0 -0
- /package/dist/{Calendar-BdPVR00d.js → Calendar-BTE4rmqe.js} +0 -0
- /package/dist/{Calendar-Dg3g3h7z.cjs → Calendar-C_tRujlw.cjs} +0 -0
|
@@ -121,6 +121,6 @@ var h = { class: "nb-shell-panel__header" }, g = { class: "nb-shell-panel__heade
|
|
|
121
121
|
], !0)], 8, b)
|
|
122
122
|
]), A.value === "collapsed" ? r("", !0) : (l(), i("div", w, [d(t.$slots, "default", {}, void 0, !0)]))], 16));
|
|
123
123
|
}
|
|
124
|
-
}), [["__scopeId", "data-v-
|
|
124
|
+
}), [["__scopeId", "data-v-f35ea14b"]]);
|
|
125
125
|
//#endregion
|
|
126
126
|
export { T as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./vue-i18n-BERFm5iG.js";
|
|
2
|
-
import { t } from "./SidebarMenuItem-
|
|
2
|
+
import { t } from "./SidebarMenuItem-BFdCve25.js";
|
|
3
3
|
import { computed as n, createBlock as r, defineComponent as i, inject as a, openBlock as o, ref as s } from "vue";
|
|
4
4
|
import * as c from "@nubisco/ui/icons/caret-line-left";
|
|
5
5
|
import * as l from "@nubisco/ui/icons/caret-line-right";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(`./chunk-D-qHiVGv.cjs`),t=require(`./vue-i18n-CNxAi_sd.cjs`),n=require(`./SidebarMenuItem-
|
|
1
|
+
const e=require(`./chunk-D-qHiVGv.cjs`),t=require(`./vue-i18n-CNxAi_sd.cjs`),n=require(`./SidebarMenuItem-C46vbCOy.cjs`);let r=require(`vue`),i=require(`@nubisco/ui/icons/caret-line-left`);i=e.n(i);let a=require(`@nubisco/ui/icons/caret-line-right`);a=e.n(a);var o=(0,r.defineComponent)({__name:`SidebarCollapseToggle`,props:{collapseLabel:{default:void 0},expandLabel:{default:void 0}},emits:[`toggle`],setup(e,{emit:o}){let s=e,c=o,l=(0,r.inject)(`nb-shell-sidebar-variant`,(0,r.ref)(`verbose`)),u=(0,r.computed)(()=>l.value===`compact`),d={en:{COLLAPSE:`Collapse sidebar`,EXPAND:`Expand sidebar`},pt:{COLLAPSE:`Recolher barra lateral`,EXPAND:`Expandir barra lateral`}};function f(){try{return t.t({useScope:`global`})}catch{return null}}let p=f();function m(e){let t=`sidebarCollapseToggle.${e}`;return p?.te(t)?p.t(t):d[String(p?.locale.value??`en`).toLowerCase().split(`-`)[0]]?.[e]??d.en[e]}let h=(0,r.computed)(()=>u.value?s.expandLabel??m(`EXPAND`):s.collapseLabel??m(`COLLAPSE`));return(e,t)=>((0,r.openBlock)(),(0,r.createBlock)(n.t,{class:`nb-sidebar-collapse-toggle`,label:h.value,icon:u.value?a:i,onClick:t[0]||=e=>c(`toggle`)},null,8,[`label`,`icon`]))}});Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return o}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(`./chunk-D-qHiVGv.cjs`),t=require(`./_plugin-vue_export-helper-tagjRzOz.cjs`),n=require(`./Icon-C8R_r_In.cjs`),r=require(`./vue-i18n-CNxAi_sd.cjs`);let i=require(`vue`),a=require(`@nubisco/ui/icons/caret-right`);a=e.n(a);let o=require(`@nubisco/ui/icons/caret-left`);o=e.n(o);let s=require(`@nubisco/ui/icons/sidebar-simple`);s=e.n(s);var c=[`aria-label`,`aria-expanded`],l=(0,i.defineComponent)({__name:`SidebarHeaderToggle`,props:{collapseLabel:{default:void 0},expandLabel:{default:void 0},icon:{default:void 0}},emits:[`toggle`],setup(e,{emit:t}){let l=e,u=t,d=(0,i.inject)(`nb-shell-sidebar-variant`,(0,i.ref)(`verbose`)),f=(0,i.inject)(`nb-shell-sidebar-header-action-position`,(0,i.ref)(`end`)),p=(0,i.computed)(()=>d.value===`compact`),m=(0,i.computed)(()=>f.value===`edge`),h=(0,i.computed)(()=>l.icon?l.icon:m.value?p.value?a:o:s),g={en:{COLLAPSE:`Collapse sidebar`,EXPAND:`Expand sidebar`},pt:{COLLAPSE:`Recolher barra lateral`,EXPAND:`Expandir barra lateral`}};function _(){try{return r.t({useScope:`global`})}catch{return null}}let v=_();function y(e){let t=`sidebarCollapseToggle.${e}`;return v?.te(t)?v.t(t):g[String(v?.locale.value??`en`).toLowerCase().split(`-`)[0]]?.[e]??g.en[e]}let b=(0,i.computed)(()=>p.value?l.expandLabel??y(`EXPAND`):l.collapseLabel??y(`COLLAPSE`));return(e,t)=>{let r=(0,i.resolveDirective)(`nb-tooltip`);return(0,i.withDirectives)(((0,i.openBlock)(),(0,i.createElementBlock)(`button`,{type:`button`,class:(0,i.normalizeClass)([`nb-sidebar-header-toggle`,{"nb-sidebar-header-toggle--edge":m.value}]),"aria-label":b.value,"aria-expanded":!p.value,onClick:t[0]||=e=>u(`toggle`)},[(0,i.createVNode)(n.t,{name:h.value,size:m.value?14:18},null,8,[`name`,`size`])],10,c)),[[r,{body:b.value,aria:`none`,position:`right`}]])}}}),u=t.t(l,[[`__scopeId`,`data-v-
|
|
1
|
+
const e=require(`./chunk-D-qHiVGv.cjs`),t=require(`./_plugin-vue_export-helper-tagjRzOz.cjs`),n=require(`./Icon-C8R_r_In.cjs`),r=require(`./vue-i18n-CNxAi_sd.cjs`);let i=require(`vue`),a=require(`@nubisco/ui/icons/caret-right`);a=e.n(a);let o=require(`@nubisco/ui/icons/caret-left`);o=e.n(o);let s=require(`@nubisco/ui/icons/sidebar-simple`);s=e.n(s);var c=[`aria-label`,`aria-expanded`],l=(0,i.defineComponent)({__name:`SidebarHeaderToggle`,props:{collapseLabel:{default:void 0},expandLabel:{default:void 0},icon:{default:void 0}},emits:[`toggle`],setup(e,{emit:t}){let l=e,u=t,d=(0,i.inject)(`nb-shell-sidebar-variant`,(0,i.ref)(`verbose`)),f=(0,i.inject)(`nb-shell-sidebar-header-action-position`,(0,i.ref)(`end`)),p=(0,i.computed)(()=>d.value===`compact`),m=(0,i.computed)(()=>f.value===`edge`),h=(0,i.computed)(()=>l.icon?l.icon:m.value?p.value?a:o:s),g={en:{COLLAPSE:`Collapse sidebar`,EXPAND:`Expand sidebar`},pt:{COLLAPSE:`Recolher barra lateral`,EXPAND:`Expandir barra lateral`}};function _(){try{return r.t({useScope:`global`})}catch{return null}}let v=_();function y(e){let t=`sidebarCollapseToggle.${e}`;return v?.te(t)?v.t(t):g[String(v?.locale.value??`en`).toLowerCase().split(`-`)[0]]?.[e]??g.en[e]}let b=(0,i.computed)(()=>p.value?l.expandLabel??y(`EXPAND`):l.collapseLabel??y(`COLLAPSE`));return(e,t)=>{let r=(0,i.resolveDirective)(`nb-tooltip`);return(0,i.withDirectives)(((0,i.openBlock)(),(0,i.createElementBlock)(`button`,{type:`button`,class:(0,i.normalizeClass)([`nb-sidebar-header-toggle`,{"nb-sidebar-header-toggle--edge":m.value}]),"aria-label":b.value,"aria-expanded":!p.value,onClick:t[0]||=e=>u(`toggle`)},[(0,i.createVNode)(n.t,{name:h.value,size:m.value?14:18},null,8,[`name`,`size`])],10,c)),[[r,{body:b.value,aria:`none`,position:`right`}]])}}}),u=t.t(l,[[`__scopeId`,`data-v-9dc8cbd7`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return u}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-tagjRzOz.cjs`),t=require(`./composables/useRouterLink.composable.cjs`);let n=require(`vue`);var r=(0,n.defineComponent)({__name:`SidebarLink`,props:{to:{default:void 0},href:{default:void 0},tooltip:{default:void 0},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},danger:{type:Boolean,default:!1}},emits:[`click`],setup(e){let r=e,i=t.useRouterLink(),a=(0,n.computed)(()=>r.to!=null&&!!i.value),o=(0,n.computed)(()=>{if(typeof r.to==`string`)return r.to;if(r.href)return r.href}),s=(0,n.computed)(()=>a.value?i.value:o.value?`a`:`button`),c=(0,n.computed)(()=>s.value===`a`?{href:o.value}:{});return(t,r)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(s.value),(0,n.mergeProps)({class:[`nb-sidebar-link`,{"nb-sidebar-link--active":e.active,"nb-sidebar-link--danger":e.danger,"nb-sidebar-link--disabled":e.disabled}],to:a.value?e.to:void 0},c.value,{disabled:s.value===`button`&&e.disabled||void 0,"aria-disabled":s.value!==`button`&&e.disabled?!0:void 0,"data-tooltip":e.tooltip||void 0,onClick:r[0]||=n=>e.disabled?void 0:t.$emit(`click`,n)}),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(t.$slots,`default`,{},void 0,!0)]),_:3},16,[`class`,`to`,`disabled`,`aria-disabled`,`data-tooltip`]))}}),i=e.t(r,[[`__scopeId`,`data-v-
|
|
1
|
+
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-tagjRzOz.cjs`),t=require(`./composables/useRouterLink.composable.cjs`);let n=require(`vue`);var r=(0,n.defineComponent)({__name:`SidebarLink`,props:{to:{default:void 0},href:{default:void 0},tooltip:{default:void 0},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},danger:{type:Boolean,default:!1}},emits:[`click`],setup(e){let r=e,i=t.useRouterLink(),a=(0,n.computed)(()=>r.to!=null&&!!i.value),o=(0,n.computed)(()=>{if(typeof r.to==`string`)return r.to;if(r.href)return r.href}),s=(0,n.computed)(()=>a.value?i.value:o.value?`a`:`button`),c=(0,n.computed)(()=>s.value===`a`?{href:o.value}:{});return(t,r)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(s.value),(0,n.mergeProps)({class:[`nb-sidebar-link`,{"nb-sidebar-link--active":e.active,"nb-sidebar-link--danger":e.danger,"nb-sidebar-link--disabled":e.disabled}],to:a.value?e.to:void 0},c.value,{disabled:s.value===`button`&&e.disabled||void 0,"aria-disabled":s.value!==`button`&&e.disabled?!0:void 0,"data-tooltip":e.tooltip||void 0,onClick:r[0]||=n=>e.disabled?void 0:t.$emit(`click`,n)}),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(t.$slots,`default`,{},void 0,!0)]),_:3},16,[`class`,`to`,`disabled`,`aria-disabled`,`data-tooltip`]))}}),i=e.t(r,[[`__scopeId`,`data-v-35d4ede3`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return i}});
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-O4QQSku4.js";
|
|
2
|
+
import { t } from "./Icon-rREAqsu0.js";
|
|
3
|
+
import { t as n } from "./Avatar-BibgBZuN.js";
|
|
4
|
+
import { Fragment as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, inject as d, normalizeClass as f, openBlock as p, ref as m, renderSlot as h, resolveDynamicComponent as g, toDisplayString as _, unref as v, vShow as y, withCtx as b, withDirectives as x } from "vue";
|
|
5
|
+
import { regular as S } from "@nubisco/ui/icons/caret-down";
|
|
6
|
+
//#region src/components/SidebarMenuGroup.vue?vue&type=script&setup=true&lang.ts
|
|
7
|
+
var C = {
|
|
8
|
+
key: 0,
|
|
9
|
+
class: "nb-sidebar-menu-group__title"
|
|
10
|
+
}, w = { class: "nb-sidebar-menu-group__label" }, T = {
|
|
11
|
+
key: 1,
|
|
12
|
+
class: "nb-sidebar-menu-group__label"
|
|
13
|
+
}, E = {
|
|
14
|
+
class: "nb-sidebar-menu-group__items",
|
|
15
|
+
role: "group"
|
|
16
|
+
}, D = ["aria-label"], O = ["aria-label"], k = /* @__PURE__ */ e(/* @__PURE__ */ u({
|
|
17
|
+
__name: "SidebarMenuGroup",
|
|
18
|
+
props: {
|
|
19
|
+
label: {},
|
|
20
|
+
picture: { default: void 0 },
|
|
21
|
+
collapsible: {
|
|
22
|
+
type: Boolean,
|
|
23
|
+
default: !1
|
|
24
|
+
},
|
|
25
|
+
defaultCollapsed: {
|
|
26
|
+
type: Boolean,
|
|
27
|
+
default: !1
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
setup(e) {
|
|
31
|
+
let u = e, k = d("nb-shell-sidebar-variant", m("verbose")), A = i(() => k.value), j = m(u.collapsible && u.defaultCollapsed);
|
|
32
|
+
return (i, u) => (p(), s("li", {
|
|
33
|
+
class: f(["nb-sidebar-menu-group", [`nb-sidebar-menu-group--${A.value}`]]),
|
|
34
|
+
role: "none"
|
|
35
|
+
}, [A.value === "verbose" ? (p(), s(r, { key: 0 }, [(p(), a(g(e.collapsible ? "button" : "div"), {
|
|
36
|
+
class: f(["nb-sidebar-menu-group__header", { "nb-sidebar-menu-group__header--interactive": e.collapsible }]),
|
|
37
|
+
type: e.collapsible ? "button" : void 0,
|
|
38
|
+
"aria-expanded": e.collapsible ? !j.value : void 0,
|
|
39
|
+
onClick: u[0] ||= (t) => e.collapsible ? j.value = !j.value : void 0
|
|
40
|
+
}, {
|
|
41
|
+
default: b(() => [e.picture === void 0 ? (p(), s("span", T, _(e.label), 1)) : (p(), s("span", C, [l(n, {
|
|
42
|
+
class: "nb-sidebar-menu-group__picture",
|
|
43
|
+
name: e.label,
|
|
44
|
+
picture: e.picture,
|
|
45
|
+
size: 14,
|
|
46
|
+
decorative: ""
|
|
47
|
+
}, null, 8, ["name", "picture"]), c("span", w, _(e.label), 1)])), e.collapsible ? (p(), a(t, {
|
|
48
|
+
key: 2,
|
|
49
|
+
class: f(["nb-sidebar-menu-group__caret", { "nb-sidebar-menu-group__caret--collapsed": j.value }]),
|
|
50
|
+
name: v(S),
|
|
51
|
+
size: 12
|
|
52
|
+
}, null, 8, ["class", "name"])) : o("", !0)]),
|
|
53
|
+
_: 1
|
|
54
|
+
}, 8, [
|
|
55
|
+
"class",
|
|
56
|
+
"type",
|
|
57
|
+
"aria-expanded"
|
|
58
|
+
])), x(c("ul", E, [h(i.$slots, "default", {}, void 0, !0)], 512), [[y, !j.value]])], 64)) : (p(), s(r, { key: 1 }, [c("hr", {
|
|
59
|
+
class: "nb-sidebar-menu-group__divider",
|
|
60
|
+
"aria-label": e.label
|
|
61
|
+
}, null, 8, D), c("ul", {
|
|
62
|
+
class: "nb-sidebar-menu-group__items",
|
|
63
|
+
role: "group",
|
|
64
|
+
"aria-label": e.label
|
|
65
|
+
}, [h(i.$slots, "default", {}, void 0, !0)], 8, O)], 64))], 2));
|
|
66
|
+
}
|
|
67
|
+
}), [["__scopeId", "data-v-969a45bd"]]);
|
|
68
|
+
//#endregion
|
|
69
|
+
export { k as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-tagjRzOz.cjs`),t=require(`./Icon-C8R_r_In.cjs`),n=require(`./Avatar-BpPczEa8.cjs`);let r=require(`vue`),i=require(`@nubisco/ui/icons/caret-down`);var a={key:0,class:`nb-sidebar-menu-group__title`},o={class:`nb-sidebar-menu-group__label`},s={key:1,class:`nb-sidebar-menu-group__label`},c={class:`nb-sidebar-menu-group__items`,role:`group`},l=[`aria-label`],u=[`aria-label`],d=(0,r.defineComponent)({__name:`SidebarMenuGroup`,props:{label:{},picture:{default:void 0},collapsible:{type:Boolean,default:!1},defaultCollapsed:{type:Boolean,default:!1}},setup(e){let d=e,f=(0,r.inject)(`nb-shell-sidebar-variant`,(0,r.ref)(`verbose`)),p=(0,r.computed)(()=>f.value),m=(0,r.ref)(d.collapsible&&d.defaultCollapsed);return(d,f)=>((0,r.openBlock)(),(0,r.createElementBlock)(`li`,{class:(0,r.normalizeClass)([`nb-sidebar-menu-group`,[`nb-sidebar-menu-group--${p.value}`]]),role:`none`},[p.value===`verbose`?((0,r.openBlock)(),(0,r.createElementBlock)(r.Fragment,{key:0},[((0,r.openBlock)(),(0,r.createBlock)((0,r.resolveDynamicComponent)(e.collapsible?`button`:`div`),{class:(0,r.normalizeClass)([`nb-sidebar-menu-group__header`,{"nb-sidebar-menu-group__header--interactive":e.collapsible}]),type:e.collapsible?`button`:void 0,"aria-expanded":e.collapsible?!m.value:void 0,onClick:f[0]||=t=>e.collapsible?m.value=!m.value:void 0},{default:(0,r.withCtx)(()=>[e.picture===void 0?((0,r.openBlock)(),(0,r.createElementBlock)(`span`,s,(0,r.toDisplayString)(e.label),1)):((0,r.openBlock)(),(0,r.createElementBlock)(`span`,a,[(0,r.createVNode)(n.t,{class:`nb-sidebar-menu-group__picture`,name:e.label,picture:e.picture,size:14,decorative:``},null,8,[`name`,`picture`]),(0,r.createElementVNode)(`span`,o,(0,r.toDisplayString)(e.label),1)])),e.collapsible?((0,r.openBlock)(),(0,r.createBlock)(t.t,{key:2,class:(0,r.normalizeClass)([`nb-sidebar-menu-group__caret`,{"nb-sidebar-menu-group__caret--collapsed":m.value}]),name:(0,r.unref)(i.regular),size:12},null,8,[`class`,`name`])):(0,r.createCommentVNode)(``,!0)]),_:1},8,[`class`,`type`,`aria-expanded`])),(0,r.withDirectives)((0,r.createElementVNode)(`ul`,c,[(0,r.renderSlot)(d.$slots,`default`,{},void 0,!0)],512),[[r.vShow,!m.value]])],64)):((0,r.openBlock)(),(0,r.createElementBlock)(r.Fragment,{key:1},[(0,r.createElementVNode)(`hr`,{class:`nb-sidebar-menu-group__divider`,"aria-label":e.label},null,8,l),(0,r.createElementVNode)(`ul`,{class:`nb-sidebar-menu-group__items`,role:`group`,"aria-label":e.label},[(0,r.renderSlot)(d.$slots,`default`,{},void 0,!0)],8,u)],64))],2))}}),f=e.t(d,[[`__scopeId`,`data-v-969a45bd`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return f}});
|
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-O4QQSku4.js";
|
|
2
|
+
import { t } from "./Icon-rREAqsu0.js";
|
|
3
|
+
import { useRouterLink as n } from "./composables/useRouterLink.composable.mjs";
|
|
4
|
+
import { hasRenderableContent as r } from "./utils/slotContent.helper.mjs";
|
|
5
|
+
import { t as ee } from "./Avatar-BibgBZuN.js";
|
|
6
|
+
import { Fragment as te, Teleport as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, defineComponent as u, inject as ne, mergeProps as re, nextTick as ie, normalizeClass as d, normalizeStyle as f, onBeforeUnmount as p, openBlock as m, provide as h, ref as g, renderSlot as _, resolveDynamicComponent as ae, toDisplayString as v, toRef as y, unref as oe, useSlots as se, vShow as b, watch as x, withCtx as S, withDirectives as C } from "vue";
|
|
7
|
+
import { regular as w } from "@nubisco/ui/icons/caret-right";
|
|
8
|
+
//#endregion
|
|
9
|
+
//#region src/components/SidebarVariantScope.vue
|
|
10
|
+
var T = /* @__PURE__ */ u({
|
|
11
|
+
__name: "SidebarVariantScope",
|
|
12
|
+
props: { variant: {} },
|
|
13
|
+
setup(e) {
|
|
14
|
+
return h("nb-shell-sidebar-variant", y(e, "variant")), (e, t) => _(e.$slots, "default");
|
|
15
|
+
}
|
|
16
|
+
}), E = { class: "nb-sidebar-menu-item__label" }, D = ["title"], ce = {
|
|
17
|
+
key: 0,
|
|
18
|
+
class: "nb-sidebar-menu-item__children",
|
|
19
|
+
role: "group"
|
|
20
|
+
}, le = { class: "nb-sidebar-menu-item__flyout-header" }, ue = { class: "nb-sidebar-menu-item__flyout-label" }, de = ["aria-label"], O = /* @__PURE__ */ e(/* @__PURE__ */ u({
|
|
21
|
+
__name: "SidebarMenuItem",
|
|
22
|
+
props: {
|
|
23
|
+
label: {},
|
|
24
|
+
icon: { default: void 0 },
|
|
25
|
+
picture: { default: void 0 },
|
|
26
|
+
to: { default: void 0 },
|
|
27
|
+
href: { default: void 0 },
|
|
28
|
+
active: {
|
|
29
|
+
type: Boolean,
|
|
30
|
+
default: !1
|
|
31
|
+
},
|
|
32
|
+
disabled: {
|
|
33
|
+
type: Boolean,
|
|
34
|
+
default: !1
|
|
35
|
+
},
|
|
36
|
+
defaultExpanded: {
|
|
37
|
+
type: Boolean,
|
|
38
|
+
default: !1
|
|
39
|
+
},
|
|
40
|
+
badge: { default: void 0 },
|
|
41
|
+
badgeVariant: { default: "neutral" }
|
|
42
|
+
},
|
|
43
|
+
emits: ["click"],
|
|
44
|
+
setup(e, { emit: u }) {
|
|
45
|
+
let h = e, y = u, O = ne("nb-shell-sidebar-variant", g("verbose")), k = a(() => O.value), fe = se(), A = a(() => {
|
|
46
|
+
let e = h.badge;
|
|
47
|
+
if (e === void 0) return;
|
|
48
|
+
let t = typeof e == "number" ? e : Number(String(e).trim());
|
|
49
|
+
if (!(!Number.isFinite(t) || String(e).trim() === "")) return t > 99 ? "99+" : String(t);
|
|
50
|
+
}), j = a(() => h.badge === void 0 ? h.label : `${h.label} (${h.badge})`), M = a(() => {
|
|
51
|
+
let e = fe.default?.();
|
|
52
|
+
return e ? r(e) : !1;
|
|
53
|
+
}), N = g(h.defaultExpanded || h.active), P = n(), F = a(() => {
|
|
54
|
+
if (typeof h.to == "string") return h.to;
|
|
55
|
+
if (h.href) return h.href;
|
|
56
|
+
}), I = a(() => M.value), L = a(() => h.to != null && !I.value && !!P.value), R = a(() => I.value ? "button" : L.value ? P.value : F.value ? "a" : "button"), z = a(() => R.value === "a" ? { href: F.value } : {});
|
|
57
|
+
function B(e) {
|
|
58
|
+
if (h.disabled) {
|
|
59
|
+
e.preventDefault();
|
|
60
|
+
return;
|
|
61
|
+
}
|
|
62
|
+
if (I.value && k.value === "verbose") {
|
|
63
|
+
N.value = !N.value;
|
|
64
|
+
return;
|
|
65
|
+
}
|
|
66
|
+
I.value && k.value === "compact" && _e(e), y("click", e);
|
|
67
|
+
}
|
|
68
|
+
let V = g(null), H = g(null), U = g(!1), W = g(!1), G = g({}), K = null;
|
|
69
|
+
function q() {
|
|
70
|
+
if (k.value !== "compact") return;
|
|
71
|
+
K &&= (clearTimeout(K), null);
|
|
72
|
+
let e = Y();
|
|
73
|
+
if (!e) return;
|
|
74
|
+
let t = e.getBoundingClientRect();
|
|
75
|
+
G.value = {
|
|
76
|
+
top: `${t.top}px`,
|
|
77
|
+
left: `${t.right + 8}px`
|
|
78
|
+
}, U.value = !0;
|
|
79
|
+
}
|
|
80
|
+
function J() {
|
|
81
|
+
W.value || (K && clearTimeout(K), K = setTimeout(() => {
|
|
82
|
+
U.value = !1, K = null;
|
|
83
|
+
}, 120));
|
|
84
|
+
}
|
|
85
|
+
function pe() {
|
|
86
|
+
q();
|
|
87
|
+
}
|
|
88
|
+
function me() {
|
|
89
|
+
J();
|
|
90
|
+
}
|
|
91
|
+
function he() {
|
|
92
|
+
K &&= (clearTimeout(K), null);
|
|
93
|
+
}
|
|
94
|
+
function ge() {
|
|
95
|
+
J();
|
|
96
|
+
}
|
|
97
|
+
function Y() {
|
|
98
|
+
let e = V.value;
|
|
99
|
+
return e ? e instanceof HTMLElement ? e : e.$el ?? null : null;
|
|
100
|
+
}
|
|
101
|
+
function X(e = !1) {
|
|
102
|
+
K &&= (clearTimeout(K), null), U.value = !1, W.value = !1, e && Y()?.focus();
|
|
103
|
+
}
|
|
104
|
+
function Z() {
|
|
105
|
+
let e = H.value;
|
|
106
|
+
return e ? Array.from(e.querySelectorAll("[role=\"menuitem\"]")).filter((e) => !e.hasAttribute("disabled") && e.getAttribute("aria-disabled") !== "true" && !e.closest("[style*=\"display: none\"]")) : [];
|
|
107
|
+
}
|
|
108
|
+
async function Q(e) {
|
|
109
|
+
q(), W.value = !0, e && (await ie(), Z()[0]?.focus());
|
|
110
|
+
}
|
|
111
|
+
function _e(e) {
|
|
112
|
+
if (U.value && W.value) {
|
|
113
|
+
X();
|
|
114
|
+
return;
|
|
115
|
+
}
|
|
116
|
+
Q(e.detail === 0);
|
|
117
|
+
}
|
|
118
|
+
function ve(e) {
|
|
119
|
+
!I.value || k.value !== "compact" || (e.key === "ArrowRight" || e.key === "ArrowDown" ? (e.preventDefault(), Q(!0)) : e.key === "Escape" && U.value && (e.preventDefault(), X(!0)));
|
|
120
|
+
}
|
|
121
|
+
function ye(e) {
|
|
122
|
+
let t = Z(), n = t.indexOf(document.activeElement);
|
|
123
|
+
switch (e.key) {
|
|
124
|
+
case "Escape":
|
|
125
|
+
case "ArrowLeft":
|
|
126
|
+
e.preventDefault(), e.stopPropagation(), X(!0);
|
|
127
|
+
return;
|
|
128
|
+
case "ArrowDown":
|
|
129
|
+
e.preventDefault(), t[(n + 1) % t.length]?.focus();
|
|
130
|
+
return;
|
|
131
|
+
case "ArrowUp":
|
|
132
|
+
e.preventDefault(), t[(n - 1 + t.length) % t.length]?.focus();
|
|
133
|
+
return;
|
|
134
|
+
case "Home":
|
|
135
|
+
e.preventDefault(), t[0]?.focus();
|
|
136
|
+
return;
|
|
137
|
+
case "End":
|
|
138
|
+
e.preventDefault(), t[t.length - 1]?.focus();
|
|
139
|
+
return;
|
|
140
|
+
case "Tab":
|
|
141
|
+
X(!0);
|
|
142
|
+
return;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
function be(e) {
|
|
146
|
+
let t = e.relatedTarget;
|
|
147
|
+
t && (H.value?.contains(t) || Y()?.contains(t) || X());
|
|
148
|
+
}
|
|
149
|
+
function xe(e) {
|
|
150
|
+
let t = e.target?.closest("[role=\"menuitem\"]");
|
|
151
|
+
t && !t.hasAttribute("aria-expanded") && X();
|
|
152
|
+
}
|
|
153
|
+
function $(e) {
|
|
154
|
+
let t = e.target;
|
|
155
|
+
t && (H.value?.contains(t) || Y()?.contains(t) || X());
|
|
156
|
+
}
|
|
157
|
+
return x(U, (e) => {
|
|
158
|
+
typeof document > "u" || (e ? document.addEventListener("pointerdown", $, !0) : document.removeEventListener("pointerdown", $, !0));
|
|
159
|
+
}), x(k, () => X()), p(() => {
|
|
160
|
+
K && clearTimeout(K), typeof document < "u" && document.removeEventListener("pointerdown", $, !0);
|
|
161
|
+
}), (n, r) => (m(), c("li", {
|
|
162
|
+
class: d(["nb-sidebar-menu-item", [`nb-sidebar-menu-item--${k.value}`]]),
|
|
163
|
+
role: "none",
|
|
164
|
+
onMouseenter: pe,
|
|
165
|
+
onMouseleave: me
|
|
166
|
+
}, [
|
|
167
|
+
(m(), o(ae(R.value), re({
|
|
168
|
+
ref_key: "rowRef",
|
|
169
|
+
ref: V,
|
|
170
|
+
class: ["nb-sidebar-menu-item__row", {
|
|
171
|
+
"nb-sidebar-menu-item__row--active": e.active,
|
|
172
|
+
"nb-sidebar-menu-item__row--disabled": e.disabled,
|
|
173
|
+
"nb-sidebar-menu-item__row--expandable": M.value && k.value === "verbose",
|
|
174
|
+
"nb-sidebar-menu-item__row--compact": k.value === "compact"
|
|
175
|
+
}],
|
|
176
|
+
type: R.value === "button" ? "button" : void 0,
|
|
177
|
+
to: L.value ? e.to : void 0
|
|
178
|
+
}, z.value, {
|
|
179
|
+
disabled: R.value === "button" && !M.value && e.disabled || void 0,
|
|
180
|
+
"aria-disabled": e.disabled || void 0,
|
|
181
|
+
"aria-expanded": M.value ? k.value === "verbose" ? N.value : U.value : void 0,
|
|
182
|
+
"aria-haspopup": M.value && k.value === "compact" ? "menu" : void 0,
|
|
183
|
+
"aria-label": k.value === "compact" ? j.value : void 0,
|
|
184
|
+
role: "menuitem",
|
|
185
|
+
onClick: B,
|
|
186
|
+
onKeydown: ve
|
|
187
|
+
}), {
|
|
188
|
+
default: S(() => [e.picture === void 0 ? e.icon ? (m(), o(t, {
|
|
189
|
+
key: 1,
|
|
190
|
+
class: "nb-sidebar-menu-item__icon",
|
|
191
|
+
name: e.icon,
|
|
192
|
+
size: k.value === "compact" ? 18 : 16
|
|
193
|
+
}, null, 8, ["name", "size"])) : s("", !0) : (m(), o(ee, {
|
|
194
|
+
key: 0,
|
|
195
|
+
class: "nb-sidebar-menu-item__icon nb-sidebar-menu-item__picture",
|
|
196
|
+
name: e.label,
|
|
197
|
+
picture: e.picture,
|
|
198
|
+
size: k.value === "compact" ? 18 : 16,
|
|
199
|
+
decorative: ""
|
|
200
|
+
}, null, 8, [
|
|
201
|
+
"name",
|
|
202
|
+
"picture",
|
|
203
|
+
"size"
|
|
204
|
+
])), k.value === "verbose" ? (m(), c(te, { key: 2 }, [
|
|
205
|
+
l("span", E, v(e.label), 1),
|
|
206
|
+
e.badge === void 0 ? s("", !0) : (m(), c("span", {
|
|
207
|
+
key: 0,
|
|
208
|
+
class: d(["nb-sidebar-menu-item__badge", [`nb-sidebar-menu-item__badge--${e.badgeVariant}`]])
|
|
209
|
+
}, v(e.badge), 3)),
|
|
210
|
+
M.value ? (m(), o(t, {
|
|
211
|
+
key: 1,
|
|
212
|
+
class: d(["nb-sidebar-menu-item__caret", { "nb-sidebar-menu-item__caret--expanded": N.value }]),
|
|
213
|
+
name: oe(w),
|
|
214
|
+
size: 12
|
|
215
|
+
}, null, 8, ["class", "name"])) : s("", !0)
|
|
216
|
+
], 64)) : A.value === void 0 ? e.badge === void 0 ? s("", !0) : (m(), c("span", {
|
|
217
|
+
key: 4,
|
|
218
|
+
class: d(["nb-sidebar-menu-item__badge-dot", [`nb-sidebar-menu-item__badge-dot--${e.badgeVariant}`]]),
|
|
219
|
+
title: String(e.badge)
|
|
220
|
+
}, null, 10, D)) : (m(), c("span", {
|
|
221
|
+
key: 3,
|
|
222
|
+
class: d(["nb-sidebar-menu-item__badge-count", [`nb-sidebar-menu-item__badge-count--${e.badgeVariant}`]]),
|
|
223
|
+
"aria-hidden": "true"
|
|
224
|
+
}, v(A.value), 3))]),
|
|
225
|
+
_: 1
|
|
226
|
+
}, 16, [
|
|
227
|
+
"class",
|
|
228
|
+
"type",
|
|
229
|
+
"to",
|
|
230
|
+
"disabled",
|
|
231
|
+
"aria-disabled",
|
|
232
|
+
"aria-expanded",
|
|
233
|
+
"aria-haspopup",
|
|
234
|
+
"aria-label"
|
|
235
|
+
])),
|
|
236
|
+
M.value && k.value === "verbose" ? C((m(), c("ul", ce, [_(n.$slots, "default", {}, void 0, !0)], 512)), [[b, N.value]]) : s("", !0),
|
|
237
|
+
k.value === "compact" && U.value ? (m(), o(i, {
|
|
238
|
+
key: 1,
|
|
239
|
+
to: "body"
|
|
240
|
+
}, [l("div", {
|
|
241
|
+
ref_key: "flyoutRef",
|
|
242
|
+
ref: H,
|
|
243
|
+
class: "nb-sidebar-menu-item__flyout",
|
|
244
|
+
style: f(G.value),
|
|
245
|
+
onMouseenter: he,
|
|
246
|
+
onMouseleave: ge,
|
|
247
|
+
onKeydown: ye,
|
|
248
|
+
onFocusout: be,
|
|
249
|
+
onClick: xe
|
|
250
|
+
}, [l("div", le, [l("span", ue, v(e.label), 1), e.badge === void 0 ? s("", !0) : (m(), c("span", {
|
|
251
|
+
key: 0,
|
|
252
|
+
class: d(["nb-sidebar-menu-item__badge", [`nb-sidebar-menu-item__badge--${e.badgeVariant}`]])
|
|
253
|
+
}, v(e.badge), 3))]), M.value ? (m(), o(T, {
|
|
254
|
+
key: 0,
|
|
255
|
+
variant: "verbose"
|
|
256
|
+
}, {
|
|
257
|
+
default: S(() => [l("ul", {
|
|
258
|
+
class: "nb-sidebar-menu-item__flyout-children",
|
|
259
|
+
role: "menu",
|
|
260
|
+
"aria-label": e.label
|
|
261
|
+
}, [_(n.$slots, "default", {}, void 0, !0)], 8, de)]),
|
|
262
|
+
_: 3
|
|
263
|
+
})) : s("", !0)], 36)])) : s("", !0)
|
|
264
|
+
], 34));
|
|
265
|
+
}
|
|
266
|
+
}), [["__scopeId", "data-v-20ad0a04"]]);
|
|
267
|
+
//#endregion
|
|
268
|
+
export { O as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-tagjRzOz.cjs`),t=require(`./Icon-C8R_r_In.cjs`),n=require(`./composables/useRouterLink.composable.cjs`),r=require(`./utils/slotContent.helper.cjs`),i=require(`./Avatar-BpPczEa8.cjs`);let a=require(`vue`),o=require(`@nubisco/ui/icons/caret-right`);var s=(0,a.defineComponent)({__name:`SidebarVariantScope`,props:{variant:{}},setup(e){return(0,a.provide)(`nb-shell-sidebar-variant`,(0,a.toRef)(e,`variant`)),(e,t)=>(0,a.renderSlot)(e.$slots,`default`)}}),c={class:`nb-sidebar-menu-item__label`},l=[`title`],u={key:0,class:`nb-sidebar-menu-item__children`,role:`group`},d={class:`nb-sidebar-menu-item__flyout-header`},f={class:`nb-sidebar-menu-item__flyout-label`},p=[`aria-label`],m=(0,a.defineComponent)({__name:`SidebarMenuItem`,props:{label:{},icon:{default:void 0},picture:{default:void 0},to:{default:void 0},href:{default:void 0},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},defaultExpanded:{type:Boolean,default:!1},badge:{default:void 0},badgeVariant:{default:`neutral`}},emits:[`click`],setup(e,{emit:m}){let h=e,g=m,_=(0,a.inject)(`nb-shell-sidebar-variant`,(0,a.ref)(`verbose`)),v=(0,a.computed)(()=>_.value),y=(0,a.useSlots)(),b=(0,a.computed)(()=>{let e=h.badge;if(e===void 0)return;let t=typeof e==`number`?e:Number(String(e).trim());if(!(!Number.isFinite(t)||String(e).trim()===``))return t>99?`99+`:String(t)}),x=(0,a.computed)(()=>h.badge===void 0?h.label:`${h.label} (${h.badge})`),S=(0,a.computed)(()=>{let e=y.default?.();return e?r.hasRenderableContent(e):!1}),C=(0,a.ref)(h.defaultExpanded||h.active),w=n.useRouterLink(),T=(0,a.computed)(()=>{if(typeof h.to==`string`)return h.to;if(h.href)return h.href}),E=(0,a.computed)(()=>S.value),D=(0,a.computed)(()=>h.to!=null&&!E.value&&!!w.value),O=(0,a.computed)(()=>E.value?`button`:D.value?w.value:T.value?`a`:`button`),k=(0,a.computed)(()=>O.value===`a`?{href:T.value}:{});function A(e){if(h.disabled){e.preventDefault();return}if(E.value&&v.value===`verbose`){C.value=!C.value;return}E.value&&v.value===`compact`&&q(e),g(`click`,e)}let j=(0,a.ref)(null),M=(0,a.ref)(null),N=(0,a.ref)(!1),P=(0,a.ref)(!1),F=(0,a.ref)({}),I=null;function L(){if(v.value!==`compact`)return;I&&=(clearTimeout(I),null);let e=U();if(!e)return;let t=e.getBoundingClientRect();F.value={top:`${t.top}px`,left:`${t.right+8}px`},N.value=!0}function R(){P.value||(I&&clearTimeout(I),I=setTimeout(()=>{N.value=!1,I=null},120))}function z(){L()}function B(){R()}function V(){I&&=(clearTimeout(I),null)}function H(){R()}function U(){let e=j.value;return e?e instanceof HTMLElement?e:e.$el??null:null}function W(e=!1){I&&=(clearTimeout(I),null),N.value=!1,P.value=!1,e&&U()?.focus()}function G(){let e=M.value;return e?Array.from(e.querySelectorAll(`[role="menuitem"]`)).filter(e=>!e.hasAttribute(`disabled`)&&e.getAttribute(`aria-disabled`)!==`true`&&!e.closest(`[style*="display: none"]`)):[]}async function K(e){L(),P.value=!0,e&&(await(0,a.nextTick)(),G()[0]?.focus())}function q(e){if(N.value&&P.value){W();return}K(e.detail===0)}function J(e){!E.value||v.value!==`compact`||(e.key===`ArrowRight`||e.key===`ArrowDown`?(e.preventDefault(),K(!0)):e.key===`Escape`&&N.value&&(e.preventDefault(),W(!0)))}function Y(e){let t=G(),n=t.indexOf(document.activeElement);switch(e.key){case`Escape`:case`ArrowLeft`:e.preventDefault(),e.stopPropagation(),W(!0);return;case`ArrowDown`:e.preventDefault(),t[(n+1)%t.length]?.focus();return;case`ArrowUp`:e.preventDefault(),t[(n-1+t.length)%t.length]?.focus();return;case`Home`:e.preventDefault(),t[0]?.focus();return;case`End`:e.preventDefault(),t[t.length-1]?.focus();return;case`Tab`:W(!0);return}}function X(e){let t=e.relatedTarget;t&&(M.value?.contains(t)||U()?.contains(t)||W())}function Z(e){let t=e.target?.closest(`[role="menuitem"]`);t&&!t.hasAttribute(`aria-expanded`)&&W()}function Q(e){let t=e.target;t&&(M.value?.contains(t)||U()?.contains(t)||W())}return(0,a.watch)(N,e=>{typeof document>`u`||(e?document.addEventListener(`pointerdown`,Q,!0):document.removeEventListener(`pointerdown`,Q,!0))}),(0,a.watch)(v,()=>W()),(0,a.onBeforeUnmount)(()=>{I&&clearTimeout(I),typeof document<`u`&&document.removeEventListener(`pointerdown`,Q,!0)}),(n,r)=>((0,a.openBlock)(),(0,a.createElementBlock)(`li`,{class:(0,a.normalizeClass)([`nb-sidebar-menu-item`,[`nb-sidebar-menu-item--${v.value}`]]),role:`none`,onMouseenter:z,onMouseleave:B},[((0,a.openBlock)(),(0,a.createBlock)((0,a.resolveDynamicComponent)(O.value),(0,a.mergeProps)({ref_key:`rowRef`,ref:j,class:[`nb-sidebar-menu-item__row`,{"nb-sidebar-menu-item__row--active":e.active,"nb-sidebar-menu-item__row--disabled":e.disabled,"nb-sidebar-menu-item__row--expandable":S.value&&v.value===`verbose`,"nb-sidebar-menu-item__row--compact":v.value===`compact`}],type:O.value===`button`?`button`:void 0,to:D.value?e.to:void 0},k.value,{disabled:O.value===`button`&&!S.value&&e.disabled||void 0,"aria-disabled":e.disabled||void 0,"aria-expanded":S.value?v.value===`verbose`?C.value:N.value:void 0,"aria-haspopup":S.value&&v.value===`compact`?`menu`:void 0,"aria-label":v.value===`compact`?x.value:void 0,role:`menuitem`,onClick:A,onKeydown:J}),{default:(0,a.withCtx)(()=>[e.picture===void 0?e.icon?((0,a.openBlock)(),(0,a.createBlock)(t.t,{key:1,class:`nb-sidebar-menu-item__icon`,name:e.icon,size:v.value===`compact`?18:16},null,8,[`name`,`size`])):(0,a.createCommentVNode)(``,!0):((0,a.openBlock)(),(0,a.createBlock)(i.t,{key:0,class:`nb-sidebar-menu-item__icon nb-sidebar-menu-item__picture`,name:e.label,picture:e.picture,size:v.value===`compact`?18:16,decorative:``},null,8,[`name`,`picture`,`size`])),v.value===`verbose`?((0,a.openBlock)(),(0,a.createElementBlock)(a.Fragment,{key:2},[(0,a.createElementVNode)(`span`,c,(0,a.toDisplayString)(e.label),1),e.badge===void 0?(0,a.createCommentVNode)(``,!0):((0,a.openBlock)(),(0,a.createElementBlock)(`span`,{key:0,class:(0,a.normalizeClass)([`nb-sidebar-menu-item__badge`,[`nb-sidebar-menu-item__badge--${e.badgeVariant}`]])},(0,a.toDisplayString)(e.badge),3)),S.value?((0,a.openBlock)(),(0,a.createBlock)(t.t,{key:1,class:(0,a.normalizeClass)([`nb-sidebar-menu-item__caret`,{"nb-sidebar-menu-item__caret--expanded":C.value}]),name:(0,a.unref)(o.regular),size:12},null,8,[`class`,`name`])):(0,a.createCommentVNode)(``,!0)],64)):b.value===void 0?e.badge===void 0?(0,a.createCommentVNode)(``,!0):((0,a.openBlock)(),(0,a.createElementBlock)(`span`,{key:4,class:(0,a.normalizeClass)([`nb-sidebar-menu-item__badge-dot`,[`nb-sidebar-menu-item__badge-dot--${e.badgeVariant}`]]),title:String(e.badge)},null,10,l)):((0,a.openBlock)(),(0,a.createElementBlock)(`span`,{key:3,class:(0,a.normalizeClass)([`nb-sidebar-menu-item__badge-count`,[`nb-sidebar-menu-item__badge-count--${e.badgeVariant}`]]),"aria-hidden":`true`},(0,a.toDisplayString)(b.value),3))]),_:1},16,[`class`,`type`,`to`,`disabled`,`aria-disabled`,`aria-expanded`,`aria-haspopup`,`aria-label`])),S.value&&v.value===`verbose`?(0,a.withDirectives)(((0,a.openBlock)(),(0,a.createElementBlock)(`ul`,u,[(0,a.renderSlot)(n.$slots,`default`,{},void 0,!0)],512)),[[a.vShow,C.value]]):(0,a.createCommentVNode)(``,!0),v.value===`compact`&&N.value?((0,a.openBlock)(),(0,a.createBlock)(a.Teleport,{key:1,to:`body`},[(0,a.createElementVNode)(`div`,{ref_key:`flyoutRef`,ref:M,class:`nb-sidebar-menu-item__flyout`,style:(0,a.normalizeStyle)(F.value),onMouseenter:V,onMouseleave:H,onKeydown:Y,onFocusout:X,onClick:Z},[(0,a.createElementVNode)(`div`,d,[(0,a.createElementVNode)(`span`,f,(0,a.toDisplayString)(e.label),1),e.badge===void 0?(0,a.createCommentVNode)(``,!0):((0,a.openBlock)(),(0,a.createElementBlock)(`span`,{key:0,class:(0,a.normalizeClass)([`nb-sidebar-menu-item__badge`,[`nb-sidebar-menu-item__badge--${e.badgeVariant}`]])},(0,a.toDisplayString)(e.badge),3))]),S.value?((0,a.openBlock)(),(0,a.createBlock)(s,{key:0,variant:`verbose`},{default:(0,a.withCtx)(()=>[(0,a.createElementVNode)(`ul`,{class:`nb-sidebar-menu-item__flyout-children`,role:`menu`,"aria-label":e.label},[(0,a.renderSlot)(n.$slots,`default`,{},void 0,!0)],8,p)]),_:3})):(0,a.createCommentVNode)(``,!0)],36)])):(0,a.createCommentVNode)(``,!0)],34))}}),h=e.t(m,[[`__scopeId`,`data-v-20ad0a04`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return h}});
|
|
@@ -2,8 +2,8 @@ import { t as e } from "./_plugin-vue_export-helper-O4QQSku4.js";
|
|
|
2
2
|
import { r as t } from "./Size.d-Bah6vMl3.js";
|
|
3
3
|
import { t as n } from "./Grid-CJFQvcko.js";
|
|
4
4
|
import { t as r } from "./Label-BEW_5nYq.js";
|
|
5
|
-
import { t as i } from "./Message-
|
|
6
|
-
import { t as a } from "./NumberInput-
|
|
5
|
+
import { t as i } from "./Message-CqVP4y4Y.js";
|
|
6
|
+
import { t as a } from "./NumberInput-ggLG8zsa.js";
|
|
7
7
|
import { Fragment as ee, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, defineComponent as p, normalizeClass as m, normalizeStyle as h, onBeforeUnmount as g, openBlock as _, ref as v, toDisplayString as y, withCtx as b, withModifiers as x } from "vue";
|
|
8
8
|
//#region src/components/Slider.vue?vue&type=script&setup=true&lang.ts
|
|
9
9
|
var S = { class: "nb-slider__field-box" }, C = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-tagjRzOz.cjs`),t=require(`./Size.d-GBIblj2D.cjs`),n=require(`./Grid-CXE0B85G.cjs`),r=require(`./Label-71QAuWf4.cjs`),i=require(`./Message-
|
|
1
|
+
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-tagjRzOz.cjs`),t=require(`./Size.d-GBIblj2D.cjs`),n=require(`./Grid-CXE0B85G.cjs`),r=require(`./Label-71QAuWf4.cjs`),i=require(`./Message-BpDOzu5W.cjs`),a=require(`./NumberInput-x1lY-01L.cjs`);let o=require(`vue`);var s={class:`nb-slider__field-box`},c={key:0,class:`nb-slider__inner-header`},l={class:`nb-slider__inner-label`},u={class:`nb-slider__track-row`},d={key:0,class:`nb-slider__track-label`},f={key:1,class:`nb-slider__track-label`},p=(0,o.defineComponent)({__name:`Slider`,props:{modelValue:{},min:{default:0},max:{default:100},step:{default:1},range:{type:Boolean,default:!1},showInput:{type:Boolean,default:!0},showBounds:{type:Boolean,default:!0},name:{},disabled:{type:Boolean,default:!1},required:{type:Boolean},id:{},label:{},error:{},warning:{},helper:{},variant:{default:`default`},size:{default:t.r.Medium}},emits:[`update:modelValue`,`change`],setup(e,{emit:t}){let p=e,m=t,h=(0,o.ref)(null),g=(0,o.ref)(null),_=(0,o.computed)(()=>p.range||p.modelValue===null||p.modelValue===void 0?p.min??0:Array.isArray(p.modelValue)?p.modelValue[0]??p.min??0:p.modelValue),v=(0,o.computed)(()=>!p.range||!Array.isArray(p.modelValue)?p.min??0:p.modelValue[0]??p.min??0),y=(0,o.computed)(()=>!p.range||!Array.isArray(p.modelValue)?p.max??100:p.modelValue[1]??p.max??100),b=(0,o.computed)(()=>{let e=p.step??1;if(!isFinite(e)||e<=0)return 0;let t=String(e),n=t.indexOf(`.`);return n===-1?0:t.length-n-1});function x(e){let t=b.value;return t>0?Number(e.toFixed(t)):Math.round(e)}let S=(0,o.computed)(()=>x(p.range?y.value:_.value));function C(e){let t=p.min??0,n=p.max??100;return n===t?0:(e-t)/(n-t)*100}function w(e){let t=p.min??0,n=p.max??100,r=p.step??1,i=t+e/100*(n-t),a=Math.round(i/r)*r;return Math.max(t,Math.min(n,a))}function T(e){if(!h.value)return 0;let t=h.value.getBoundingClientRect(),n=`touches`in e?e.touches[0].clientX:e.clientX;return Math.max(0,Math.min(100,(n-t.left)/t.width*100))}let E=(0,o.computed)(()=>{if(!p.range)return{left:`0%`,width:`${C(_.value)}%`};let e=C(v.value),t=C(y.value);return{left:`${e}%`,width:`${t-e}%`}});function D(e){m(`update:modelValue`,e)}function O(e,t){m(`update:modelValue`,[e,t])}function k(e){if(e===null)return;let t=p.min??0,n=p.max??100;D(Math.max(t,Math.min(n,e)))}function A(e){if(e===null)return;let t=p.min??0;O(Math.max(t,Math.min(y.value,e)),y.value)}function j(e){if(e===null)return;let t=p.max??100,n=Math.max(v.value,Math.min(t,e));O(v.value,n)}function M(e){if(!p.range)return null;let t=C(v.value),n=C(y.value);return Math.abs(e-t)<=Math.abs(e-n)?`low`:`high`}function N(e){let t=w(e);if(!p.range){D(t);return}if(g.value===`low`)O(Math.min(t,y.value),y.value);else{let e=Math.max(t,v.value);O(v.value,e)}}function P(e){p.disabled||N(T(e))}function F(e){p.disabled||(m(`change`,p.range?[v.value,y.value]:_.value),N(T(e))),z()}function I(e){p.disabled||N(T(e))}function L(e){p.disabled||(m(`change`,p.range?[v.value,y.value]:_.value),N(T(e))),V()}function R(){document.addEventListener(`mousemove`,P),document.addEventListener(`mouseup`,F)}function z(){g.value=null,document.removeEventListener(`mousemove`,P),document.removeEventListener(`mouseup`,F)}function B(){document.addEventListener(`touchmove`,I,{passive:!0}),document.addEventListener(`touchend`,L)}function V(){g.value=null,document.removeEventListener(`touchmove`,I),document.removeEventListener(`touchend`,L)}function H(e){if(p.disabled)return;let t=T(e);g.value=M(t),N(t),R()}function U(e){if(p.disabled)return;let t=T(e);g.value=M(t),N(t),B()}function W(e,t){p.disabled||(g.value=p.range?e:null,R())}function G(e,t){p.disabled||(g.value=p.range?e:null,B())}(0,o.onBeforeUnmount)(()=>{z(),V()});let K=(0,o.computed)(()=>[`nb-slider`,`nb-slider--${p.size}`,`nb-slider--${p.variant}`,{"nb-slider--range":p.range,"nb-slider--disabled":p.disabled,"nb-slider--error":!!p.error,"nb-slider--warning":!p.error&&!!p.warning}]),q=(0,o.computed)(()=>({"nb-slider__track-area--error":!!p.error,"nb-slider__track-area--warning":!p.error&&!!p.warning}));return(t,p)=>((0,o.openBlock)(),(0,o.createElementBlock)(`div`,{class:(0,o.normalizeClass)(K.value)},[e.variant===`default`&&e.label?((0,o.openBlock)(),(0,o.createBlock)(r.t,{key:0,class:`nb-slider__label`},{default:(0,o.withCtx)(()=>[(0,o.createTextVNode)((0,o.toDisplayString)(e.label),1)]),_:1})):(0,o.createCommentVNode)(``,!0),(0,o.createElementVNode)(`div`,s,[e.variant===`fluid`&&e.label?((0,o.openBlock)(),(0,o.createElementBlock)(`div`,c,[(0,o.createElementVNode)(`label`,l,(0,o.toDisplayString)(e.label),1)])):(0,o.createCommentVNode)(``,!0),(0,o.createVNode)(n.t,{dir:`row`,align:`center`,gap:`sm`,class:`nb-slider__row`},{default:(0,o.withCtx)(()=>[e.range&&e.showInput?((0,o.openBlock)(),(0,o.createBlock)(a.t,{key:0,size:e.variant===`fluid`?`sm`:e.size,"model-value":v.value,min:e.min,max:y.value,step:e.step,disabled:e.disabled,class:`nb-slider__input`,"onUpdate:modelValue":A,onChange:A},null,8,[`size`,`model-value`,`min`,`max`,`step`,`disabled`])):(0,o.createCommentVNode)(``,!0),(0,o.createVNode)(n.t,{dir:`col`,justify:`end`,gap:`xs`,class:(0,o.normalizeClass)([`nb-slider__track-area`,q.value]),grow:``},{default:(0,o.withCtx)(()=>[(0,o.createElementVNode)(`div`,u,[e.showBounds?((0,o.openBlock)(),(0,o.createElementBlock)(`span`,d,(0,o.toDisplayString)(e.min),1)):(0,o.createCommentVNode)(``,!0),(0,o.createElementVNode)(`div`,{ref_key:`trackRef`,ref:h,class:`nb-slider__track`,onMousedown:H,onTouchstartPassive:U},[(0,o.createElementVNode)(`div`,{class:`nb-slider__track__fill`,style:(0,o.normalizeStyle)(E.value)},null,4),e.range?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:1},[(0,o.createElementVNode)(`div`,{class:`nb-slider__track__handle nb-slider__track__handle--low`,style:(0,o.normalizeStyle)({left:`${C(v.value)}%`}),onMousedown:p[2]||=(0,o.withModifiers)(e=>W(`low`,e),[`stop`]),onTouchstartPassive:p[3]||=(0,o.withModifiers)(e=>G(`low`,e),[`stop`])},null,36),(0,o.createElementVNode)(`div`,{class:`nb-slider__track__handle nb-slider__track__handle--high`,style:(0,o.normalizeStyle)({left:`${C(y.value)}%`}),onMousedown:p[4]||=(0,o.withModifiers)(e=>W(`high`,e),[`stop`]),onTouchstartPassive:p[5]||=(0,o.withModifiers)(e=>G(`high`,e),[`stop`])},null,36),p[8]||=(0,o.createElementVNode)(`div`,{class:`nb-slider__tick`},null,-1)],64)):((0,o.openBlock)(),(0,o.createElementBlock)(`div`,{key:0,class:`nb-slider__track__handle`,style:(0,o.normalizeStyle)({left:`${C(_.value)}%`}),onMousedown:p[0]||=(0,o.withModifiers)(e=>W(null,e),[`stop`]),onTouchstartPassive:p[1]||=(0,o.withModifiers)(e=>G(null,e),[`stop`])},null,36))],544),e.showBounds?((0,o.openBlock)(),(0,o.createElementBlock)(`span`,f,(0,o.toDisplayString)(e.max),1)):(0,o.createCommentVNode)(``,!0)])]),_:1},8,[`class`]),e.showInput?((0,o.openBlock)(),(0,o.createBlock)(a.t,{key:1,size:e.variant===`fluid`?`sm`:e.size,"model-value":S.value,min:e.range?v.value:e.min,max:e.max,step:e.step,disabled:e.disabled,class:`nb-slider__input`,"onUpdate:modelValue":p[6]||=t=>e.range?j(t):k(t),onChange:p[7]||=t=>e.range?j(t):k(t)},null,8,[`size`,`model-value`,`min`,`max`,`step`,`disabled`])):(0,o.createCommentVNode)(``,!0)]),_:1})]),e.error?((0,o.openBlock)(),(0,o.createBlock)(i.t,{key:1,variant:`error`,class:`nb-slider__message`},{default:(0,o.withCtx)(()=>[(0,o.createTextVNode)((0,o.toDisplayString)(e.error),1)]),_:1})):e.warning?((0,o.openBlock)(),(0,o.createBlock)(i.t,{key:2,variant:`warning`,class:`nb-slider__message`},{default:(0,o.withCtx)(()=>[(0,o.createTextVNode)((0,o.toDisplayString)(e.warning),1)]),_:1})):e.helper?((0,o.openBlock)(),(0,o.createBlock)(i.t,{key:3,variant:`helper`,class:`nb-slider__message`},{default:(0,o.withCtx)(()=>[(0,o.createTextVNode)((0,o.toDisplayString)(e.helper),1)]),_:1})):(0,o.createCommentVNode)(``,!0)],2))}}),m=e.t(p,[[`__scopeId`,`data-v-2eeb00d6`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return m}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(`./chunk-D-qHiVGv.cjs`),t=require(`./_plugin-vue_export-helper-tagjRzOz.cjs`),n=require(`./Icon-C8R_r_In.cjs`),r=require(`./composables/useSurfaceLayer.composable.cjs`),i=require(`./Card.link--Qj8i8fT.cjs`),a=require(`./Skeleton-CSRjBPVt.cjs`);let o=require(`vue`),s=require(`@nubisco/ui/icons/arrow-up-right`);s=e.n(s);let c=require(`@nubisco/ui/icons/arrow-down-right`);c=e.n(c);let l=require(`@nubisco/ui/icons/minus`);l=e.n(l);var u={class:`nb-stat__label`},d={class:`nb-stat__value`},f={key:1},p={key:2,class:`nb-stat__comparison`},m=(0,o.defineComponent)({__name:`Stat`,props:{label:{},value:{default:void 0},status:{default:`neutral`},delta:{default:void 0},trend:{default:void 0},invertTrend:{type:Boolean,default:!1},comparison:{default:void 0},size:{default:`md`},loading:{type:Boolean,default:!1},to:{default:void 0},href:{default:void 0},target:{default:void 0},clickable:{type:Boolean,default:!1},selected:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:[`select`],setup(e,{emit:t}){let m=e,h=t,{layerProps:g}=r.useSurfaceLayer(),{tag:_,attrs:v,isInteractive:y,onClick:b,onKeydown:x}=i.t(m,e=>h(`select`,e)),S=(0,o.computed)(()=>m.size===`lg`?36:m.size===`sm`?20:28),C=(0,o.computed)(()=>m.trend===`up`?s:m.trend===`down`?c:m.trend===`flat`?l:null),w=(0,o.computed)(()=>m.trend===`up`?m.invertTrend?`negative`:`positive`:m.trend===`down`?m.invertTrend?`positive`:`negative`:`neutral`);return(t,r)=>((0,o.openBlock)(),(0,o.createBlock)((0,o.resolveDynamicComponent)((0,o.unref)(_)),(0,o.mergeProps)({class:[`nb-stat`,[`nb-stat--${e.status}`,`nb-stat--${e.size}`,{"nb-stat--interactive":(0,o.unref)(y),"nb-stat--selected":e.selected,"nb-stat--disabled":e.disabled}]]},{...(0,o.unref)(v),...(0,o.unref)(g)},{"aria-busy":e.loading?!0:void 0,onClick:(0,o.unref)(b),onKeydown:(0,o.unref)(x)}),{default:(0,o.withCtx)(()=>[(0,o.createElementVNode)(`span`,u,[(0,o.renderSlot)(t.$slots,`label`,{},()=>[(0,o.createTextVNode)((0,o.toDisplayString)(e.label),1)],!0)]),(0,o.createElementVNode)(`span`,d,[e.loading?((0,o.openBlock)(),(0,o.createBlock)(a.t,{key:0,variant:`block`,height:S.value,width:`4.5ch`,radius:`sm`},null,8,[`height`])):(0,o.renderSlot)(t.$slots,`value`,{key:1},()=>[(0,o.createTextVNode)((0,o.toDisplayString)(e.value),1)],!0)]),!e.loading&&(e.delta||e.trend||e.comparison||t.$slots.delta)?((0,o.openBlock)(),(0,o.createElementBlock)(`span`,{key:0,class:(0,o.normalizeClass)([`nb-stat__delta`,e.trend?`nb-stat__delta--${w.value}`:null])},[(0,o.renderSlot)(t.$slots,`delta`,{},()=>[C.value?((0,o.openBlock)(),(0,o.createBlock)(n.t,{key:0,name:C.value,size:12,class:`nb-stat__trend`,"aria-hidden":`true`},null,8,[`name`])):(0,o.createCommentVNode)(``,!0),e.delta?((0,o.openBlock)(),(0,o.createElementBlock)(`span`,f,(0,o.toDisplayString)(e.delta),1)):(0,o.createCommentVNode)(``,!0),e.comparison?((0,o.openBlock)(),(0,o.createElementBlock)(`span`,p,(0,o.toDisplayString)(e.comparison),1)):(0,o.createCommentVNode)(``,!0)],!0)],2)):(0,o.createCommentVNode)(``,!0)]),_:3},16,[`class`,`aria-busy`,`onClick`,`onKeydown`]))}}),h=t.t(m,[[`__scopeId`,`data-v-
|
|
1
|
+
const e=require(`./chunk-D-qHiVGv.cjs`),t=require(`./_plugin-vue_export-helper-tagjRzOz.cjs`),n=require(`./Icon-C8R_r_In.cjs`),r=require(`./composables/useSurfaceLayer.composable.cjs`),i=require(`./Card.link--Qj8i8fT.cjs`),a=require(`./Skeleton-CSRjBPVt.cjs`);let o=require(`vue`),s=require(`@nubisco/ui/icons/arrow-up-right`);s=e.n(s);let c=require(`@nubisco/ui/icons/arrow-down-right`);c=e.n(c);let l=require(`@nubisco/ui/icons/minus`);l=e.n(l);var u={class:`nb-stat__label`},d={class:`nb-stat__value`},f={key:1},p={key:2,class:`nb-stat__comparison`},m=(0,o.defineComponent)({__name:`Stat`,props:{label:{},value:{default:void 0},status:{default:`neutral`},delta:{default:void 0},trend:{default:void 0},invertTrend:{type:Boolean,default:!1},comparison:{default:void 0},size:{default:`md`},loading:{type:Boolean,default:!1},to:{default:void 0},href:{default:void 0},target:{default:void 0},clickable:{type:Boolean,default:!1},selected:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:[`select`],setup(e,{emit:t}){let m=e,h=t,{layerProps:g}=r.useSurfaceLayer(),{tag:_,attrs:v,isInteractive:y,onClick:b,onKeydown:x}=i.t(m,e=>h(`select`,e)),S=(0,o.computed)(()=>m.size===`lg`?36:m.size===`sm`?20:28),C=(0,o.computed)(()=>m.trend===`up`?s:m.trend===`down`?c:m.trend===`flat`?l:null),w=(0,o.computed)(()=>m.trend===`up`?m.invertTrend?`negative`:`positive`:m.trend===`down`?m.invertTrend?`positive`:`negative`:`neutral`);return(t,r)=>((0,o.openBlock)(),(0,o.createBlock)((0,o.resolveDynamicComponent)((0,o.unref)(_)),(0,o.mergeProps)({class:[`nb-stat`,[`nb-stat--${e.status}`,`nb-stat--${e.size}`,{"nb-stat--interactive":(0,o.unref)(y),"nb-stat--selected":e.selected,"nb-stat--disabled":e.disabled}]]},{...(0,o.unref)(v),...(0,o.unref)(g)},{"aria-busy":e.loading?!0:void 0,onClick:(0,o.unref)(b),onKeydown:(0,o.unref)(x)}),{default:(0,o.withCtx)(()=>[(0,o.createElementVNode)(`span`,u,[(0,o.renderSlot)(t.$slots,`label`,{},()=>[(0,o.createTextVNode)((0,o.toDisplayString)(e.label),1)],!0)]),(0,o.createElementVNode)(`span`,d,[e.loading?((0,o.openBlock)(),(0,o.createBlock)(a.t,{key:0,variant:`block`,height:S.value,width:`4.5ch`,radius:`sm`},null,8,[`height`])):(0,o.renderSlot)(t.$slots,`value`,{key:1},()=>[(0,o.createTextVNode)((0,o.toDisplayString)(e.value),1)],!0)]),!e.loading&&(e.delta||e.trend||e.comparison||t.$slots.delta)?((0,o.openBlock)(),(0,o.createElementBlock)(`span`,{key:0,class:(0,o.normalizeClass)([`nb-stat__delta`,e.trend?`nb-stat__delta--${w.value}`:null])},[(0,o.renderSlot)(t.$slots,`delta`,{},()=>[C.value?((0,o.openBlock)(),(0,o.createBlock)(n.t,{key:0,name:C.value,size:12,class:`nb-stat__trend`,"aria-hidden":`true`},null,8,[`name`])):(0,o.createCommentVNode)(``,!0),e.delta?((0,o.openBlock)(),(0,o.createElementBlock)(`span`,f,(0,o.toDisplayString)(e.delta),1)):(0,o.createCommentVNode)(``,!0),e.comparison?((0,o.openBlock)(),(0,o.createElementBlock)(`span`,p,(0,o.toDisplayString)(e.comparison),1)):(0,o.createCommentVNode)(``,!0)],!0)],2)):(0,o.createCommentVNode)(``,!0)]),_:3},16,[`class`,`aria-busy`,`onClick`,`onKeydown`]))}}),h=t.t(m,[[`__scopeId`,`data-v-ba68abce`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return h}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(`./chunk-D-qHiVGv.cjs`),t=require(`./_plugin-vue_export-helper-tagjRzOz.cjs`),n=require(`./Icon-C8R_r_In.cjs`),r=require(`./composables/useStableId.composable.cjs`),i=require(`./Stepper.context-DVnGO61u.cjs`);let a=require(`vue`),o=require(`@nubisco/ui/icons/check`);o=e.n(o);let s=require(`@nubisco/ui/icons/warning`);s=e.n(s);var c=[`data-nb-step`,`data-status`,`data-orientation`,`aria-current`],l={class:`nb-stepper__marker`,"aria-hidden":`true`},u={class:`nb-stepper__text`},d=[`id`],f=[`id`],p=[`id`],m=(0,a.defineComponent)({__name:`StepperStep`,props:{label:{default:``},description:{default:void 0},complete:{type:Boolean,default:!1},invalid:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},id:{default:void 0}},setup(e){let t=e,m=r.useStableId(t),h=(0,a.useSlots)(),g=(0,a.inject)(i.t,null),_=(0,a.ref)(null),v=(0,a.computed)(()=>t.disabled),y=g?.register({uid:m,disabled:v,el:()=>_.value});(0,a.onUnmounted)(()=>y?.());let b=(0,a.computed)(()=>g?.order.value.indexOf(m)??-1),x=(0,a.computed)(()=>b.value===g?.current.value),S=(0,a.computed)(()=>b.value<0?1:b.value+1),C=(0,a.computed)(()=>t.disabled?i.n.Disabled:t.invalid?i.n.Invalid:x.value?i.n.Current:t.complete||b.value>=0&&b.value<(g?.current.value??0)?i.n.Complete:i.n.Incomplete),w=(0,a.computed)(()=>g?.labels.value[C.value]??``),T=(0,a.computed)(()=>`${m}-label`),E=(0,a.computed)(()=>`${m}-description`),D=(0,a.computed)(()=>`${m}-status`),O=(0,a.computed)(()=>!!t.description||!!h.description),k=(0,a.computed)(()=>[O.value?E.value:null,D.value].filter(Boolean).join(` `)),A=(0,a.computed)(()=>g?.tabbable.value??-1),j=(0,a.computed)(()=>g?.clickable(b.value,t.disabled)??!1),M=(0,a.computed)(()=>C.value===i.n.Complete?o:C.value===i.n.Invalid?s:null),N=(0,a.computed)(()=>g?.size.value===`sm`?12:14),P=(0,a.computed)(()=>g?.orientation.value??`horizontal`);function F(){g?.select(b.value,t.disabled)}return(t,r)=>((0,a.openBlock)(),(0,a.createElementBlock)(`li`,{ref_key:`rootEl`,ref:_,class:(0,a.normalizeClass)([`nb-stepper__step`,[`nb-stepper__step--${C.value}`,{"nb-stepper__step--clickable":j.value}]]),"data-nb-step":(0,a.unref)(m),"data-status":C.value,"data-orientation":P.value,"aria-current":x.value?`step`:void 0},[((0,a.openBlock)(),(0,a.createBlock)((0,a.resolveDynamicComponent)(j.value?`button`:`div`),(0,a.mergeProps)({id:(0,a.unref)(m),class:`nb-stepper__body`},j.value?{type:`button`,"data-nb-stepper-button":``,tabindex:b.value===A.value?0:-1,"aria-labelledby":T.value,"aria-describedby":k.value}:{},{onClick:F}),{default:(0,a.withCtx)(()=>[(0,a.createElementVNode)(`span`,l,[M.value?((0,a.openBlock)(),(0,a.createBlock)(n.t,{key:0,name:M.value,size:N.value},null,8,[`name`,`size`])):((0,a.openBlock)(),(0,a.createElementBlock)(a.Fragment,{key:1},[(0,a.createTextVNode)((0,a.toDisplayString)(S.value),1)],64))]),(0,a.createElementVNode)(`span`,u,[(0,a.createElementVNode)(`span`,{id:T.value,class:`nb-stepper__label`},[(0,a.renderSlot)(t.$slots,`label`,{},()=>[(0,a.createTextVNode)((0,a.toDisplayString)(e.label),1)],!0)],8,d),e.description||t.$slots.description?((0,a.openBlock)(),(0,a.createElementBlock)(`span`,{key:0,id:E.value,class:`nb-stepper__description`},[(0,a.renderSlot)(t.$slots,`description`,{},()=>[(0,a.createTextVNode)((0,a.toDisplayString)(e.description),1)],!0)],8,f)):(0,a.createCommentVNode)(``,!0),(0,a.createElementVNode)(`span`,{id:D.value,class:`nb-stepper__status`},(0,a.toDisplayString)(w.value),9,p)])]),_:3},16,[`id`])),r[0]||=(0,a.createElementVNode)(`span`,{class:`nb-stepper__line`,"aria-hidden":`true`},null,-1)],10,c))}}),h=t.t(m,[[`__scopeId`,`data-v-
|
|
1
|
+
const e=require(`./chunk-D-qHiVGv.cjs`),t=require(`./_plugin-vue_export-helper-tagjRzOz.cjs`),n=require(`./Icon-C8R_r_In.cjs`),r=require(`./composables/useStableId.composable.cjs`),i=require(`./Stepper.context-DVnGO61u.cjs`);let a=require(`vue`),o=require(`@nubisco/ui/icons/check`);o=e.n(o);let s=require(`@nubisco/ui/icons/warning`);s=e.n(s);var c=[`data-nb-step`,`data-status`,`data-orientation`,`aria-current`],l={class:`nb-stepper__marker`,"aria-hidden":`true`},u={class:`nb-stepper__text`},d=[`id`],f=[`id`],p=[`id`],m=(0,a.defineComponent)({__name:`StepperStep`,props:{label:{default:``},description:{default:void 0},complete:{type:Boolean,default:!1},invalid:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},id:{default:void 0}},setup(e){let t=e,m=r.useStableId(t),h=(0,a.useSlots)(),g=(0,a.inject)(i.t,null),_=(0,a.ref)(null),v=(0,a.computed)(()=>t.disabled),y=g?.register({uid:m,disabled:v,el:()=>_.value});(0,a.onUnmounted)(()=>y?.());let b=(0,a.computed)(()=>g?.order.value.indexOf(m)??-1),x=(0,a.computed)(()=>b.value===g?.current.value),S=(0,a.computed)(()=>b.value<0?1:b.value+1),C=(0,a.computed)(()=>t.disabled?i.n.Disabled:t.invalid?i.n.Invalid:x.value?i.n.Current:t.complete||b.value>=0&&b.value<(g?.current.value??0)?i.n.Complete:i.n.Incomplete),w=(0,a.computed)(()=>g?.labels.value[C.value]??``),T=(0,a.computed)(()=>`${m}-label`),E=(0,a.computed)(()=>`${m}-description`),D=(0,a.computed)(()=>`${m}-status`),O=(0,a.computed)(()=>!!t.description||!!h.description),k=(0,a.computed)(()=>[O.value?E.value:null,D.value].filter(Boolean).join(` `)),A=(0,a.computed)(()=>g?.tabbable.value??-1),j=(0,a.computed)(()=>g?.clickable(b.value,t.disabled)??!1),M=(0,a.computed)(()=>C.value===i.n.Complete?o:C.value===i.n.Invalid?s:null),N=(0,a.computed)(()=>g?.size.value===`sm`?12:14),P=(0,a.computed)(()=>g?.orientation.value??`horizontal`);function F(){g?.select(b.value,t.disabled)}return(t,r)=>((0,a.openBlock)(),(0,a.createElementBlock)(`li`,{ref_key:`rootEl`,ref:_,class:(0,a.normalizeClass)([`nb-stepper__step`,[`nb-stepper__step--${C.value}`,{"nb-stepper__step--clickable":j.value}]]),"data-nb-step":(0,a.unref)(m),"data-status":C.value,"data-orientation":P.value,"aria-current":x.value?`step`:void 0},[((0,a.openBlock)(),(0,a.createBlock)((0,a.resolveDynamicComponent)(j.value?`button`:`div`),(0,a.mergeProps)({id:(0,a.unref)(m),class:`nb-stepper__body`},j.value?{type:`button`,"data-nb-stepper-button":``,tabindex:b.value===A.value?0:-1,"aria-labelledby":T.value,"aria-describedby":k.value}:{},{onClick:F}),{default:(0,a.withCtx)(()=>[(0,a.createElementVNode)(`span`,l,[M.value?((0,a.openBlock)(),(0,a.createBlock)(n.t,{key:0,name:M.value,size:N.value},null,8,[`name`,`size`])):((0,a.openBlock)(),(0,a.createElementBlock)(a.Fragment,{key:1},[(0,a.createTextVNode)((0,a.toDisplayString)(S.value),1)],64))]),(0,a.createElementVNode)(`span`,u,[(0,a.createElementVNode)(`span`,{id:T.value,class:`nb-stepper__label`},[(0,a.renderSlot)(t.$slots,`label`,{},()=>[(0,a.createTextVNode)((0,a.toDisplayString)(e.label),1)],!0)],8,d),e.description||t.$slots.description?((0,a.openBlock)(),(0,a.createElementBlock)(`span`,{key:0,id:E.value,class:`nb-stepper__description`},[(0,a.renderSlot)(t.$slots,`description`,{},()=>[(0,a.createTextVNode)((0,a.toDisplayString)(e.description),1)],!0)],8,f)):(0,a.createCommentVNode)(``,!0),(0,a.createElementVNode)(`span`,{id:D.value,class:`nb-stepper__status`},(0,a.toDisplayString)(w.value),9,p)])]),_:3},16,[`id`])),r[0]||=(0,a.createElementVNode)(`span`,{class:`nb-stepper__line`,"aria-hidden":`true`},null,-1)],10,c))}}),h=t.t(m,[[`__scopeId`,`data-v-fd8697a8`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return h}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-tagjRzOz.cjs`),t=require(`./composables/useStableId.composable.cjs`),n=require(`./Grid-CXE0B85G.cjs`),r=require(`./Label-71QAuWf4.cjs`);let i=require(`vue`);var a=function(e){return e.Small=`sm`,e.Medium=`md`,e.Large=`lg`,e}(a||{}),o=function(e){return e.Primary=`primary`,e.Secondary=`secondary`,e}(o||{}),s=[`for`],c=[`id`,`name`,`disabled`],l=(0,i.defineComponent)({__name:`Switch`,props:(0,i.mergeModels)({id:{type:String,default:()=>null},label:{type:String,default:``},size:{type:String,default:a.Medium,validator:e=>Object.values(a).includes(e)},verbose:Boolean,hideLabel:Boolean,name:{type:String,required:!0},disabled:Boolean,variant:{type:String,default:o.Primary,validator:e=>Object.values(o).includes(e)}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let a=(0,i.useModel)(e,`modelValue`),o=e,l=t.useStableId(o),u=(0,i.computed)(()=>({"aria-disabled":o.disabled})),d=(0,i.computed)(()=>({"nb-switch":!0,disabled:o.disabled})),f=(0,i.computed)(()=>({"nb-switch-wrapper":!0,verbose:o.verbose,[o.size]:!0,[`nb-${o.variant}`]:!0}));return(t,o)=>((0,i.openBlock)(),(0,i.createBlock)(n.t,{id:(0,i.unref)(l),class:(0,i.normalizeClass)(d.value),align:`center`,gap:`sm`},{default:(0,i.withCtx)(()=>[e.label?((0,i.openBlock)(),(0,i.createBlock)(r.t,{key:0,for:`${(0,i.unref)(l)}-input`,disabled:e.disabled,class:(0,i.normalizeClass)({"nb-switch__label--hidden":e.hideLabel})},{default:(0,i.withCtx)(()=>[(0,i.createTextVNode)((0,i.toDisplayString)(e.label),1)]),_:1},8,[`for`,`disabled`,`class`])):(0,i.createCommentVNode)(``,!0),(0,i.createElementVNode)(`label`,(0,i.mergeProps)({for:`${(0,i.unref)(l)}-input`,class:f.value},u.value,{onClick:o[1]||=(0,i.withModifiers)(()=>{},[`stop`])}),[(0,i.withDirectives)((0,i.createElementVNode)(`input`,{id:`${(0,i.unref)(l)}-input`,"onUpdate:modelValue":o[0]||=e=>a.value=e,name:e.name,type:`checkbox`,disabled:e.disabled},null,8,c),[[i.vModelCheckbox,a.value]]),o[2]||=(0,i.createElementVNode)(`div`,{class:`slider round`},null,-1)],16,s)]),_:1},8,[`id`,`class`]))}}),u=e.t(l,[[`__scopeId`,`data-v-
|
|
1
|
+
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-tagjRzOz.cjs`),t=require(`./composables/useStableId.composable.cjs`),n=require(`./Grid-CXE0B85G.cjs`),r=require(`./Label-71QAuWf4.cjs`);let i=require(`vue`);var a=function(e){return e.Small=`sm`,e.Medium=`md`,e.Large=`lg`,e}(a||{}),o=function(e){return e.Primary=`primary`,e.Secondary=`secondary`,e}(o||{}),s=[`for`],c=[`id`,`name`,`disabled`],l=(0,i.defineComponent)({__name:`Switch`,props:(0,i.mergeModels)({id:{type:String,default:()=>null},label:{type:String,default:``},size:{type:String,default:a.Medium,validator:e=>Object.values(a).includes(e)},verbose:Boolean,hideLabel:Boolean,name:{type:String,required:!0},disabled:Boolean,variant:{type:String,default:o.Primary,validator:e=>Object.values(o).includes(e)}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let a=(0,i.useModel)(e,`modelValue`),o=e,l=t.useStableId(o),u=(0,i.computed)(()=>({"aria-disabled":o.disabled})),d=(0,i.computed)(()=>({"nb-switch":!0,disabled:o.disabled})),f=(0,i.computed)(()=>({"nb-switch-wrapper":!0,verbose:o.verbose,[o.size]:!0,[`nb-${o.variant}`]:!0}));return(t,o)=>((0,i.openBlock)(),(0,i.createBlock)(n.t,{id:(0,i.unref)(l),class:(0,i.normalizeClass)(d.value),align:`center`,gap:`sm`},{default:(0,i.withCtx)(()=>[e.label?((0,i.openBlock)(),(0,i.createBlock)(r.t,{key:0,for:`${(0,i.unref)(l)}-input`,disabled:e.disabled,class:(0,i.normalizeClass)({"nb-switch__label--hidden":e.hideLabel})},{default:(0,i.withCtx)(()=>[(0,i.createTextVNode)((0,i.toDisplayString)(e.label),1)]),_:1},8,[`for`,`disabled`,`class`])):(0,i.createCommentVNode)(``,!0),(0,i.createElementVNode)(`label`,(0,i.mergeProps)({for:`${(0,i.unref)(l)}-input`,class:f.value},u.value,{onClick:o[1]||=(0,i.withModifiers)(()=>{},[`stop`])}),[(0,i.withDirectives)((0,i.createElementVNode)(`input`,{id:`${(0,i.unref)(l)}-input`,"onUpdate:modelValue":o[0]||=e=>a.value=e,name:e.name,type:`checkbox`,disabled:e.disabled},null,8,c),[[i.vModelCheckbox,a.value]]),o[2]||=(0,i.createElementVNode)(`div`,{class:`slider round`},null,-1)],16,s)]),_:1},8,[`id`,`class`]))}}),u=e.t(l,[[`__scopeId`,`data-v-48cbbf78`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return u}});
|
|
@@ -2,7 +2,7 @@ import { prefersReducedMotion as e } from "./composables/useReducedMotion.compos
|
|
|
2
2
|
import { t } from "./_plugin-vue_export-helper-O4QQSku4.js";
|
|
3
3
|
import { useStableId as n } from "./composables/useStableId.composable.mjs";
|
|
4
4
|
import { useSurfaceLayer as r } from "./composables/useSurfaceLayer.composable.mjs";
|
|
5
|
-
import { t as i } from "./Button-
|
|
5
|
+
import { t as i } from "./Button-C-OsrbBY.js";
|
|
6
6
|
import { Fragment as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createVNode as d, defineComponent as f, mergeProps as p, nextTick as m, normalizeClass as h, onBeforeUnmount as g, onMounted as _, openBlock as v, ref as y, renderList as b, resolveComponent as x, toDisplayString as S, watch as C, withKeys as w } from "vue";
|
|
7
7
|
import * as T from "@nubisco/ui/icons/caret-right";
|
|
8
8
|
import * as E from "@nubisco/ui/icons/list-dashes";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(`./chunk-D-qHiVGv.cjs`),t=require(`./composables/useReducedMotion.composable.cjs`),n=require(`./_plugin-vue_export-helper-tagjRzOz.cjs`),r=require(`./composables/useStableId.composable.cjs`),i=require(`./composables/useSurfaceLayer.composable.cjs`),a=require(`./Button-
|
|
1
|
+
const e=require(`./chunk-D-qHiVGv.cjs`),t=require(`./composables/useReducedMotion.composable.cjs`),n=require(`./_plugin-vue_export-helper-tagjRzOz.cjs`),r=require(`./composables/useStableId.composable.cjs`),i=require(`./composables/useSurfaceLayer.composable.cjs`),a=require(`./Button-Cjtw1CkB.cjs`);let o=require(`vue`),s=require(`@nubisco/ui/icons/caret-right`);s=e.n(s);let c=require(`@nubisco/ui/icons/list-dashes`);c=e.n(c);var l=[`href`,`aria-current`,`data-id`,`onClick`],u=(0,o.defineComponent)({name:`TableOfContentsList`,__name:`TableOfContentsList`,props:{nodes:{},active:{},nested:{type:Boolean}},emits:[`go`],setup(e,{emit:t}){let n=t;function r(e,t){e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.button===0&&(e.preventDefault(),n(`go`,t))}return(t,i)=>{let a=(0,o.resolveComponent)(`TableOfContentsList`,!0);return(0,o.openBlock)(),(0,o.createElementBlock)(`ol`,{class:(0,o.normalizeClass)([`nb-toc-list`,{"nb-toc-list--nested":e.nested}])},[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.nodes,t=>((0,o.openBlock)(),(0,o.createElementBlock)(`li`,{key:t.id,class:`nb-toc-list__item`},[(0,o.createElementVNode)(`a`,{class:(0,o.normalizeClass)([`nb-toc-list__link`,{"nb-toc-list__link--active":t.id===e.active}]),href:`#${t.id}`,"aria-current":t.id===e.active?`location`:void 0,"data-id":t.id,onClick:e=>r(e,t)},(0,o.toDisplayString)(t.label),11,l),t.children.length>0?((0,o.openBlock)(),(0,o.createBlock)(a,{key:0,nodes:t.children,active:e.active,nested:``,onGo:i[0]||=e=>n(`go`,e)},null,8,[`nodes`,`active`])):(0,o.createCommentVNode)(``,!0)]))),128))],2)}}}),d=n.t(u,[[`__scopeId`,`data-v-d0f98dc3`]]),f=[`aria-label`],p={class:`nb-toc__head`},m={class:`nb-toc__title`},h=(0,o.defineComponent)({__name:`TableOfContents`,props:{items:{},active:{default:void 0},open:{type:Boolean,default:void 0},variant:{default:`docked`},collapsible:{type:Boolean,default:!0},title:{default:`Contents`},label:{default:`Table of contents`},showLabel:{default:`Show contents`},hideLabel:{default:`Hide contents`},root:{default:null},resolveTarget:{type:Function,default:void 0},spy:{type:Boolean,default:!0},offset:{default:96},updateHash:{type:Boolean,default:!0},followHash:{type:Boolean,default:!1}},emits:[`update:active`,`update:open`,`navigate`],setup(e,{expose:n,emit:l}){let u=e,h=l,g=`${r.useStableId({})}-nav`,_=(0,o.ref)(null),v=(0,o.ref)(null),{layerProps:y}=i.useSurfaceLayer({overlay:!0}),b=(0,o.computed)(()=>u.variant===`floating`?y.value:{}),x=(0,o.ref)(u.variant!==`floating`),S=(0,o.computed)(()=>u.open??x.value),C=(0,o.computed)(()=>u.variant===`floating`||u.collapsible);function w(e){!e&&!C.value||(x.value=e,h(`update:open`,e),e||(0,o.nextTick)(()=>T()))}function T(){(v.value?.$el)?.focus()}function E(e){u.variant!==`floating`||!S.value||(e.stopPropagation(),w(!1))}(0,o.watch)(()=>u.variant,e=>{x.value=e!==`floating`});let D=(0,o.computed)(()=>{let e=[],t=[];for(let n of u.items){let r={...n,children:[]};for(;t.length>0&&t[t.length-1].level>=n.level;)t.pop();t.length===0?e.push(r):t[t.length-1].children.push(r),t.push(r)}return e}),O=(0,o.ref)(null),k=(0,o.computed)(()=>u.active===void 0?O.value:u.active);function A(e){e!==k.value&&(O.value=e,h(`update:active`,e))}function j(e,t){return u.resolveTarget?u.resolveTarget(e,t):u.root?u.root.querySelector(`[id="${e.id.replace(/(["\\])/g,`\\$1`)}"]`):typeof document>`u`?null:document.getElementById(e.id)}function M(e){let t=e?.parentElement??null;for(;t;){let{overflowY:e}=getComputedStyle(t);if(e===`auto`||e===`scroll`)return t;t=t.parentElement}return window}function N(e,t,n,r){if(n){for(let t=e.length-1;t>=0;t--)if(e[t]<r)return t}let i=-1;for(let n=0;n<e.length&&e[n]<=t;n++)i=n;return i}let P=null,F=null,I=0;function L(){if(F=null,!u.spy||typeof window>`u`||Date.now()<I)return;let e=u.items.map((e,t)=>({item:e,el:j(e,t)})).filter(e=>!!e.el);if(e.length===0){A(null);return}let t=P??window,n=0,r=window.innerHeight,i=window.scrollY,a=document.documentElement.scrollHeight;if(t!==window){let e=t;n=e.getBoundingClientRect().top,r=e.clientHeight,i=e.scrollTop,a=e.scrollHeight}let o=a>r&&i+r>=a-2,s=N(e.map(({el:e})=>e.getBoundingClientRect().top-n),u.offset,o,r);A(s>=0?e[s].item.id:null)}function R(){F===null&&(F=typeof requestAnimationFrame==`function`?requestAnimationFrame(L):setTimeout(L,16))}function z(){B(),!(!u.spy||typeof window>`u`)&&(P=M(u.items.map((e,t)=>j(e,t)).find(Boolean)??u.root??_.value),P.addEventListener(`scroll`,R,{passive:!0}),window.addEventListener(`resize`,R,{passive:!0}),R())}function B(){P?.removeEventListener(`scroll`,R),typeof window<`u`&&window.removeEventListener(`resize`,R),P=null}function V(e,n={}){let r=typeof e==`string`?e:e.id,i=u.items.findIndex(e=>e.id===r);if(i<0)return;let a=u.items[i],o=j(a,i);if(!o)return;let s=n.instant||t.prefersReducedMotion();if(o.scrollIntoView?.({behavior:s?`auto`:`smooth`,block:`start`}),A(r),I=s?0:Date.now()+700,u.updateHash)try{let{pathname:e,search:t}=window.location;window.history.replaceState(window.history.state,``,`${e}${t}#${r}`)}catch{}o.closest(`[contenteditable="true"]`)||(o.hasAttribute(`tabindex`)||o.setAttribute(`tabindex`,`-1`),o.focus({preventScroll:!0})),u.variant===`floating`&&(x.value=!1,h(`update:open`,!1)),h(`navigate`,a)}let H=!1;function U(){if(!u.followHash||H||typeof window>`u`)return;let e=decodeURIComponent(window.location.hash.slice(1));if(!e){H=!0;return}let t=u.items.findIndex(t=>t.id===e);t<0||!j(u.items[t],t)||(H=!0,V(e,{instant:!0}))}return(0,o.watch)(()=>u.items,()=>void(0,o.nextTick)(()=>{z(),U()}),{flush:`post`,deep:!0}),(0,o.watch)(()=>[u.root,u.spy],()=>void(0,o.nextTick)(z),{flush:`post`}),(0,o.onMounted)(()=>{z(),(0,o.nextTick)(U)}),(0,o.onBeforeUnmount)(()=>{B(),F!==null&&(typeof cancelAnimationFrame==`function`&&cancelAnimationFrame(F),clearTimeout(F))}),n({go:V,measure:L}),(t,n)=>((0,o.openBlock)(),(0,o.createElementBlock)(`div`,{ref_key:`rootEl`,ref:_,class:(0,o.normalizeClass)([`nb-toc`,`nb-toc--${e.variant}`,{"nb-toc--open":S.value}]),onKeydown:(0,o.withKeys)(E,[`esc`])},[S.value?((0,o.openBlock)(),(0,o.createElementBlock)(`div`,(0,o.mergeProps)({key:1,class:`nb-toc__body`},b.value),[(0,o.createElementVNode)(`nav`,{id:g,class:`nb-toc__nav`,"aria-label":e.label},[(0,o.createElementVNode)(`div`,p,[(0,o.createElementVNode)(`span`,m,(0,o.toDisplayString)(e.title),1),C.value?((0,o.openBlock)(),(0,o.createBlock)(a.t,{key:0,size:`xs`,variant:`ghost`,icon:s,"aria-label":e.hideLabel,title:e.hideLabel,"aria-expanded":!0,"aria-controls":g,onClick:n[1]||=e=>w(!1)},null,8,[`aria-label`,`title`])):(0,o.createCommentVNode)(``,!0)]),(0,o.createVNode)(d,{nodes:D.value,active:k.value,onGo:V},null,8,[`nodes`,`active`])],8,f)],16)):((0,o.openBlock)(),(0,o.createBlock)(a.t,{key:0,ref_key:`showButton`,ref:v,size:`sm`,variant:`ghost`,icon:c,class:`nb-toc__show`,"aria-label":e.showLabel,title:e.showLabel,"aria-expanded":!1,"aria-controls":g,onClick:n[0]||=e=>w(!0)},null,8,[`aria-label`,`title`]))],34))}}),g=n.t(h,[[`__scopeId`,`data-v-cb6a1ca7`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return g}});
|
|
@@ -191,6 +191,6 @@ var w = /* @__PURE__ */ function(e) {
|
|
|
191
191
|
tabindex: "0"
|
|
192
192
|
}, [x(n.$slots, e.id, { item: e }, void 0, !0)], 8, E)) : l("", !0)], 64))), 128))], 2));
|
|
193
193
|
}
|
|
194
|
-
}), [["__scopeId", "data-v-
|
|
194
|
+
}), [["__scopeId", "data-v-ff682d3b"]]);
|
|
195
195
|
//#endregion
|
|
196
196
|
export { O as t };
|