@nubisco/ui 5.47.1 → 5.48.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/README.md +1 -1
- package/THIRD_PARTY_NOTICES.md +35 -0
- package/dist/{Accordion-CD_BZ3Xb.cjs → Accordion-BeKz0oeM.cjs} +1 -1
- package/dist/{Accordion-2bbHhUR3.js → Accordion-Cx0hbUIx.js} +3 -3
- package/dist/{AccordionItem-BybHChPs.js → AccordionItem-DFwj28eL.js} +6 -6
- package/dist/{AccordionItem-D6mruuMX.cjs → AccordionItem-DhZD2kJL.cjs} +1 -1
- package/dist/{ActionGroup-D3Gl1-JX.js → ActionGroup-CJoBGUvw.js} +53 -52
- package/dist/ActionGroup-CU9YQboQ.cjs +1 -0
- package/dist/AiLabel-DywBjSzr.js +240 -0
- package/dist/AiLabel-pRN10dQV.cjs +1 -0
- package/dist/{AiProvider-HhveBBc_.js → AiProvider-D8O_YaaP.js} +6 -6
- package/dist/{AiProvider-CXIEBABi.cjs → AiProvider-DY1xxZff.cjs} +1 -1
- package/dist/{AiUsage-DFo022zD.cjs → AiUsage-DRj51zK5.cjs} +1 -1
- package/dist/{AiUsage-CFdp1EMH.js → AiUsage-HcYF6RQ2.js} +13 -12
- package/dist/BackToTop-C5gFfuu7.cjs +1 -0
- package/dist/BackToTop-DZhl6N_Q.js +56 -0
- package/dist/Badge-BFsoJcCK.js +70 -0
- package/dist/Badge-CfICqXrd.cjs +1 -0
- package/dist/{Banner-CsxChQ3U.js → Banner-5uX-ujbu.js} +5 -5
- package/dist/Banner-CiIQKSxv.cjs +1 -0
- package/dist/BarChart-IX4imFVT.cjs +1 -0
- package/dist/BarChart-tB6MOMoR.js +400 -0
- package/dist/{Blueprint-lTBswuCE.js → Blueprint-46DWDZmu.js} +5 -5
- package/dist/{Blueprint-BBRar8Vu.cjs → Blueprint-NyUNNf-G.cjs} +1 -1
- package/dist/{BlueprintBackground-Ez4ICRal.js → BlueprintBackground-5OOF-VpK.js} +1 -1
- package/dist/{BlueprintBackground-BpkT_8A8.cjs → BlueprintBackground-D_JokLTK.cjs} +1 -1
- package/dist/BlueprintCard-Cda5rPZu.cjs +1 -0
- package/dist/{BlueprintCard-CsOQhmxj.js → BlueprintCard-DDNP1vkk.js} +111 -110
- package/dist/BlueprintControls-D0MdXrVv.js +222 -0
- package/dist/BlueprintControls-DnUoI9qp.cjs +1 -0
- package/dist/BlueprintMinimap-CACuVJqI.cjs +1 -0
- package/dist/BlueprintMinimap-Ehrltju2.js +163 -0
- package/dist/Board-BNB96CXm.cjs +1 -0
- package/dist/{Board-CovoTYff.js → Board-CaFH4-Qw.js} +139 -138
- package/dist/BottomPanel-CYxavAS0.cjs +1 -0
- package/dist/BottomPanel-vFcIk2nf.js +115 -0
- package/dist/{Breadcrumbs-BievPitp.js → Breadcrumbs-B-pjVWeD.js} +7 -7
- package/dist/{Breadcrumbs-BxhAEegP.cjs → Breadcrumbs-CqDYLfIQ.cjs} +1 -1
- package/dist/{Briefing-DVkZ2qDG.cjs → Briefing-B_ofl8Rt.cjs} +1 -1
- package/dist/{Briefing-DOKq89AG.js → Briefing-CoDyU3k4.js} +3 -3
- package/dist/{BriefingDestination-Bt07cVas.js → BriefingDestination-CK4XdAOo.js} +2 -2
- package/dist/{BriefingDestination-DymsWBLL.cjs → BriefingDestination-DAu5S2HI.cjs} +1 -1
- package/dist/Button-C0N1cyOQ.cjs +1 -0
- package/dist/Button-CuwzIVWv.js +132 -0
- package/dist/Calendar-Bbk7bPW1.cjs +1 -0
- package/dist/{Calendar-BTE4rmqe.js → Calendar-EiqHtUG2.js} +1 -1
- package/dist/Card-B5FTcFEQ.cjs +1 -0
- package/dist/Card-DUTWbKv7.js +143 -0
- package/dist/{CardGrid-BXFxfmlA.js → CardGrid-BOhFOzTs.js} +7 -5
- package/dist/CardGrid-DzjiR2wg.cjs +1 -0
- package/dist/{ChartLegend-DGUo_MYi.cjs → ChartLegend-C81jju4k.cjs} +1 -1
- package/dist/{ChartLegend-BythwRMJ.js → ChartLegend-fsJqOyGj.js} +2 -2
- package/dist/Checkbox-7JJdh4sN.cjs +1 -0
- package/dist/{Checkbox-B_nSNoZ0.js → Checkbox-DXQpih7I.js} +23 -19
- package/dist/CheckboxGroup-B8T3zLQC.cjs +1 -0
- package/dist/CheckboxGroup-BHn1hpzh.js +70 -0
- package/dist/{ColorStrip-CeQebn7z.cjs → ColorStrip-AEg8dQbl.cjs} +1 -1
- package/dist/{ColorStrip-BSzZPdsl.js → ColorStrip-BW1nFTja.js} +17 -17
- package/dist/CommandPalette-C8-2XCrf.cjs +1 -0
- package/dist/CommandPalette-CD75Qytr.js +275 -0
- package/dist/Confirm-BA-t4jPF.cjs +1 -0
- package/dist/{Confirm-BZizwCO1.js → Confirm-MmMvMttu.js} +9 -9
- package/dist/ContainedList-7uMU4e4Z.js +48 -0
- package/dist/ContainedList-DV8kZgTS.cjs +1 -0
- package/dist/ContainedListItem-CSE8d5M6.js +69 -0
- package/dist/ContainedListItem-Dj7TcGpO.cjs +1 -0
- package/dist/{CopyButton-Bm1kmCNv.js → CopyButton-Bcc2BDJ8.js} +1 -1
- package/dist/{CopyButton-Bctl1-xC.cjs → CopyButton-CwHAVKQ6.cjs} +1 -1
- package/dist/DataTable-D4KrQH5E.js +485 -0
- package/dist/DataTable-DVJnvBQM.cjs +1 -0
- package/dist/DatePicker-BmuVSyZ3.cjs +1 -0
- package/dist/{DatePicker-On8SAmN4.js → DatePicker-CagtB0Sd.js} +234 -233
- package/dist/{DefinitionList-BH2HAPr3.cjs → DefinitionList-BuRW4drr.cjs} +1 -1
- package/dist/{DefinitionList-CCWqE3Kh.js → DefinitionList-DIPobaPW.js} +2 -2
- package/dist/{DragHandle-CCsaiV6I.js → DragHandle-dCNBfHJe.js} +3 -3
- package/dist/{DragHandle-BiRZHXXV.cjs → DragHandle-snItY92k.cjs} +1 -1
- package/dist/{EmptyState-DNIDvUi9.cjs → EmptyState-B8EM9ynK.cjs} +1 -1
- package/dist/{EmptyState-CAEo8pSi.js → EmptyState-D-fku2DD.js} +3 -3
- package/dist/Field-3S8uGW95.cjs +1 -0
- package/dist/{Field-BCzaQlaY.js → Field-DK5iec3Z.js} +17 -13
- package/dist/FileUploader-B9j-HmX3.js +193 -0
- package/dist/FileUploader-BolhAWrI.cjs +1 -0
- package/dist/{Flag-Mpl1_r4m.cjs → Flag-CNx_cE4Q.cjs} +1 -1
- package/dist/{Flag-B5E4tHa2.js → Flag-myXFwopO.js} +6 -6
- package/dist/{FloatingToolbar-CLQOPq4x.js → FloatingToolbar-CYOuKLd7.js} +2 -2
- package/dist/{FloatingToolbar-D7PkAjS7.cjs → FloatingToolbar-DxUUozlf.cjs} +1 -1
- package/dist/{Form-KF4-rBll.js → Form-1UVOFWaf.js} +1 -1
- package/dist/{Form-DLQDzw3T.cjs → Form-D6rgkJ_Y.cjs} +1 -1
- package/dist/GanttChart-B_LqsmcR.cjs +1 -0
- package/dist/GanttChart-cZguVXW8.js +468 -0
- package/dist/Grid-C0muGlj3.cjs +1 -0
- package/dist/{Grid-CVFkhOfa.js → Grid-jlgLOwom.js} +33 -5
- package/dist/Icon-B2tiGiqZ.js +119 -0
- package/dist/Icon-CssV4E2-.cjs +1 -0
- package/dist/{ImageCropper-xicq_NFy.js → ImageCropper-BFKMYthJ.js} +4 -4
- package/dist/{ImageCropper-B6aiAxIi.cjs → ImageCropper-CJ2mCj9z.cjs} +1 -1
- package/dist/{ImagePicker-DNtBcBbo.js → ImagePicker-CZEFzYC8.js} +3 -3
- package/dist/{ImagePicker-CTfZfaq9.cjs → ImagePicker-CebI8MDy.cjs} +1 -1
- package/dist/{InfoHint-KtTzQk1z.js → InfoHint-DVrm41q9.js} +4 -4
- package/dist/{InfoHint-DaBGsnrK.cjs → InfoHint-WYitTbYz.cjs} +1 -1
- package/dist/{InlineEdit-CqMv5XBG.js → InlineEdit-DViLVwtn.js} +5 -5
- package/dist/{InlineEdit-JuytHnWO.cjs → InlineEdit-DfkmTudh.cjs} +1 -1
- package/dist/{InlineLoading-CUycVgGa.cjs → InlineLoading-CB_1PwMx.cjs} +1 -1
- package/dist/{InlineLoading-D7ku7ugr.js → InlineLoading-D8T0WO05.js} +4 -4
- package/dist/InterpolationChart-CYWJFUcs.cjs +1 -0
- package/dist/InterpolationChart-CttBiNWU.js +320 -0
- package/dist/{Label-D1_MfuTA.js → Label-BDMCrURR.js} +2 -2
- package/dist/{Label-B9x4-i1C.cjs → Label-CTOPIIbR.cjs} +1 -1
- package/dist/LineChart-DNDSJQrB.cjs +1 -0
- package/dist/LineChart-J8gCM2Ba.js +310 -0
- package/dist/Menu-CLDGxi-1.cjs +1 -0
- package/dist/Menu-C_UsGyKX.js +177 -0
- package/dist/{MenuBar-BrOsK3Qa.js → MenuBar-DyJufs5b.js} +1 -1
- package/dist/{MenuBar-Bdz7lk2r.cjs → MenuBar-aLDr7-eJ.cjs} +1 -1
- package/dist/{MenuBarItem-DCArqyTW.cjs → MenuBarItem-B8H9KfFo.cjs} +1 -1
- package/dist/{MenuBarItem-BlRZXDnm.js → MenuBarItem-BLdVIz0j.js} +1 -1
- package/dist/{MenuDivider-Bz7uGAPE.cjs → MenuDivider-D75yF8o8.cjs} +1 -1
- package/dist/{MenuDivider-CEeFfvpa.js → MenuDivider-aZIXvYsH.js} +1 -1
- package/dist/{MenuItem-DSFh9Akf.js → MenuItem-BerQIsRQ.js} +7 -4
- package/dist/MenuItem-CvpxnM4W.cjs +1 -0
- package/dist/Message-BONOwoVY.js +56 -0
- package/dist/Message-Bija1nMK.cjs +1 -0
- package/dist/Modal-1i_nDqvM.cjs +1 -0
- package/dist/{Modal-C75Kf4t7.js → Modal-CxIl02xU.js} +59 -50
- package/dist/NotificationCenter-CXn7sGFw.cjs +1 -0
- package/dist/{NotificationCenter-bGbvX-iA.js → NotificationCenter-Cu_vs-jh.js} +11 -11
- package/dist/{NotificationCenterItem-BIhM59Xh.js → NotificationCenterItem-BbbBFYEu.js} +8 -7
- package/dist/{NotificationCenterItem-Dpj3jDEN.cjs → NotificationCenterItem-zdOMnxv1.cjs} +1 -1
- package/dist/NumberInput-CMxlZ54a.cjs +1 -0
- package/dist/NumberInput-Dy0leAIF.js +324 -0
- package/dist/PageHeader-BVcTzPcW.cjs +1 -0
- package/dist/PageHeader-CFMhwRcw.js +70 -0
- package/dist/PageLayout-DQKfOSQq.js +31 -0
- package/dist/PageLayout-Dw4JYS3k.cjs +1 -0
- package/dist/Pagination-VmE04nzc.cjs +1 -0
- package/dist/Pagination-zTp1lrSP.js +95 -0
- package/dist/Panel-7qPoq2lb.cjs +1 -0
- package/dist/Panel-D5OHjaTP.js +51 -0
- package/dist/PieChart-CAB3b8LE.js +182 -0
- package/dist/PieChart-Ct8oicOS.cjs +1 -0
- package/dist/PrimaryAction.context-2v_jcQAo.cjs +1 -0
- package/dist/PrimaryAction.context-BkYkcMlm.js +4 -0
- package/dist/PrimaryActionScope-B7VLsHzT.cjs +1 -0
- package/dist/PrimaryActionScope-CRdjZE0V.js +23 -0
- package/dist/{ProgressBar-DukxUvmt.cjs → ProgressBar-CfJJf7Sc.cjs} +1 -1
- package/dist/{ProgressBar-B26wk0nU.js → ProgressBar-DK-j6Bzv.js} +6 -6
- package/dist/Radio-CWWt_o_F.js +107 -0
- package/dist/Radio-D0YjKuB2.cjs +1 -0
- package/dist/{ReorderList-BMIf_x8B.js → ReorderList-B1CYGR0e.js} +3 -3
- package/dist/{ReorderList-97H8hsPW.cjs → ReorderList-DBW8TBu6.cjs} +1 -1
- package/dist/Select-Bz4tf2H_.cjs +1 -0
- package/dist/{Select-Dah-tYeb.js → Select-hL8I-aNK.js} +204 -177
- package/dist/Shell-BxGBrQsM.js +536 -0
- package/dist/Shell-BzXh23BU.cjs +1 -0
- package/dist/{ShellPanel-DAOuAPdn.js → ShellPanel-DzkkJYVd.js} +2 -2
- package/dist/{ShellPanel-CB_Rn_JF.cjs → ShellPanel-XYKkAc5n.cjs} +1 -1
- package/dist/{SidebarBrand-DLKszSpJ.cjs → SidebarBrand-CX-BgI4X.cjs} +1 -1
- package/dist/{SidebarBrand-ZZknryCa.js → SidebarBrand-FHBO4Dw3.js} +3 -3
- package/dist/{SidebarCollapseToggle-CCNVQPFh.cjs → SidebarCollapseToggle-DM-4DAEu.cjs} +1 -1
- package/dist/{SidebarCollapseToggle-Dq-A6NAJ.js → SidebarCollapseToggle-W1Z_MUIC.js} +2 -2
- package/dist/{SidebarHeaderToggle-CRsdm90m.cjs → SidebarHeaderToggle-Bdh1Z9aF.cjs} +1 -1
- package/dist/{SidebarHeaderToggle-8K_NrpBm.js → SidebarHeaderToggle-C-QIOLnU.js} +5 -5
- package/dist/{SidebarLink-BeuUiOLd.cjs → SidebarLink-DTGVapwa.cjs} +1 -1
- package/dist/{SidebarLink-m9WhGcc2.js → SidebarLink-xtGCDABj.js} +2 -2
- package/dist/{SidebarMenu-N9opcSs0.cjs → SidebarMenu-CnsOBXeM.cjs} +1 -1
- package/dist/{SidebarMenu-ippvct70.js → SidebarMenu-D24o7HS-.js} +2 -2
- package/dist/{SidebarMenuGroup-RczOdr4t.js → SidebarMenuGroup-Bjc2IeK5.js} +5 -5
- package/dist/{SidebarMenuGroup-D1jYkspC.cjs → SidebarMenuGroup-DJasr_cx.cjs} +1 -1
- package/dist/{SidebarMenuItem-D8eFyD7l.js → SidebarMenuItem-CNunAuyB.js} +5 -5
- package/dist/{SidebarMenuItem-r_TpdHsD.cjs → SidebarMenuItem-DCR-nXAK.cjs} +1 -1
- package/dist/{SidebarStatus-DxJwYk3n.js → SidebarStatus-D-CfUYFc.js} +2 -2
- package/dist/{SidebarStatus-8xHtWS22.cjs → SidebarStatus-YfLW9xzC.cjs} +1 -1
- package/dist/{Skeleton-TgkyQXSq.js → Skeleton-C1e02dcW.js} +8 -3
- package/dist/Skeleton-CqZ9O0X0.cjs +1 -0
- package/dist/Slider-BAXKJCNG.js +405 -0
- package/dist/Slider-BaM5cclm.cjs +1 -0
- package/dist/Sparkline-MAi1Fh2T.cjs +1 -0
- package/dist/Sparkline-m3wbt-f1.js +95 -0
- package/dist/Spinner-CbBPddUx.js +160 -0
- package/dist/Spinner-PT95bjWq.cjs +1 -0
- package/dist/{Stat-DmdfVU4X.cjs → Stat-C9XaqyaG.cjs} +1 -1
- package/dist/{Stat-BHuShwuo.js → Stat-DJJln4rH.js} +6 -6
- package/dist/{Stepper-n2ZH-4Gf.js → Stepper-B4xqkWXg.js} +3 -3
- package/dist/{Stepper-Br62BsXD.cjs → Stepper-DV0q0Dfv.cjs} +1 -1
- package/dist/{StepperStep-BMts1ePk.js → StepperStep-BYhlgeb1.js} +10 -10
- package/dist/StepperStep-iGyGKnQL.cjs +1 -0
- package/dist/StructuredList-BSfuLANB.js +74 -0
- package/dist/StructuredList-h9JFXpF4.cjs +1 -0
- package/dist/{Submenu-D3kcN7Qm.js → Submenu-BnMaJKYm.js} +2 -2
- package/dist/{Submenu-DTqj37HQ.cjs → Submenu-Dxo3DUDA.cjs} +1 -1
- package/dist/{SuggestionList--DXpfDSJ.cjs → SuggestionList-BJjbVvt2.cjs} +1 -1
- package/dist/{SuggestionList-CNtaiJFb.js → SuggestionList-Bdx7CK__.js} +4 -4
- package/dist/{Switch-Bhn_b5ue.js → Switch-CbYMiEbQ.js} +7 -6
- package/dist/{Switch-DPxYeU1r.cjs → Switch-D3j7PPhY.cjs} +1 -1
- package/dist/TableOfContents-By2Non4K.cjs +1 -0
- package/dist/{TableOfContents-DvsufeVY.js → TableOfContents-CM0HKSde.js} +65 -57
- package/dist/{Tabs-S3I4uaTq.js → Tabs--lz44FBk.js} +4 -4
- package/dist/{Tabs-DPd-CKi1.cjs → Tabs-DKikiz0_.cjs} +1 -1
- package/dist/TextInput-BXyJQfGx.js +348 -0
- package/dist/TextInput-DKp819VS.cjs +2 -0
- package/dist/{Toast-BZZgBE9V.cjs → Toast-BKrvlON6.cjs} +1 -1
- package/dist/{Toast-CHqiHiKq.js → Toast-fRHhhjZV.js} +4 -4
- package/dist/{Toaster-CwLeMxh_.cjs → Toaster-CJMQM8JU.cjs} +1 -1
- package/dist/{Toaster-6tdIn4we.js → Toaster-DxBW9XQ0.js} +3 -3
- package/dist/Tree-CkcFwDr7.js +180 -0
- package/dist/Tree-DP2NPXOL.cjs +1 -0
- package/dist/TreeNode-CtklZefA.cjs +1 -0
- package/dist/TreeNode-DCnlEEpj.js +180 -0
- package/dist/{UserMenu-SokwKvM0.js → UserMenu-CWRMaPGO.js} +11 -11
- package/dist/{UserMenu-BtS4CcwB.cjs → UserMenu-GJHs1fKI.cjs} +1 -1
- package/dist/Video-D1WOYCYH.cjs +1 -0
- package/dist/Video-DrDqaCXl.js +104 -0
- package/dist/{Walkthrough-9SbBr6ig.cjs → Walkthrough-DXMDgB9t.cjs} +1 -1
- package/dist/{Walkthrough-BX3cVdLo.js → Walkthrough-D_vfYTWP.js} +3 -3
- package/dist/{Wireframe-CT2d4yey.js → Wireframe-BxUNaH2g.js} +1 -1
- package/dist/{Wireframe-YFaVOmuO.cjs → Wireframe-CL0rjsos.cjs} +1 -1
- package/dist/all.cjs +1 -1
- package/dist/all.mjs +237 -223
- package/dist/component-styles.json +26 -1
- package/dist/components/Accordion.cjs +1 -1
- package/dist/components/Accordion.mjs +1 -1
- package/dist/components/AccordionItem.cjs +1 -1
- package/dist/components/AccordionItem.mjs +1 -1
- package/dist/components/ActionGroup.cjs +1 -1
- package/dist/components/ActionGroup.mjs +1 -1
- package/dist/components/AiLabel.cjs +1 -1
- package/dist/components/AiLabel.d.ts +49 -4
- package/dist/components/AiLabel.mjs +1 -1
- package/dist/components/AiLabel.vue.d.ts +44 -2
- package/dist/components/AiLabel.vue.d.ts.map +1 -1
- package/dist/components/AiProvider.cjs +1 -1
- package/dist/components/AiProvider.mjs +1 -1
- package/dist/components/AiUsage.cjs +1 -1
- package/dist/components/AiUsage.d.ts +2 -0
- package/dist/components/AiUsage.mjs +1 -1
- package/dist/components/AiUsage.vue.d.ts +1 -0
- package/dist/components/AiUsage.vue.d.ts.map +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/BackToTop.vue.d.ts.map +1 -1
- package/dist/components/Badge.cjs +1 -1
- package/dist/components/Badge.d.ts +22 -2
- package/dist/components/Badge.mjs +1 -1
- package/dist/components/Badge.vue.d.ts +7 -10
- package/dist/components/Badge.vue.d.ts.map +1 -1
- package/dist/components/Banner.cjs +1 -1
- package/dist/components/Banner.mjs +1 -1
- package/dist/components/Banner.vue.d.ts.map +1 -1
- package/dist/components/Blueprint.cjs +1 -1
- package/dist/components/Blueprint.mjs +1 -1
- package/dist/components/Blueprint.vue.d.ts.map +1 -1
- package/dist/components/BlueprintBackground.cjs +1 -1
- package/dist/components/BlueprintBackground.mjs +1 -1
- package/dist/components/BlueprintCard.cjs +1 -1
- package/dist/components/BlueprintCard.mjs +1 -1
- package/dist/components/BlueprintCard.vue.d.ts.map +1 -1
- package/dist/components/BlueprintControls.cjs +1 -1
- package/dist/components/BlueprintControls.mjs +1 -1
- package/dist/components/BlueprintControls.vue.d.ts.map +1 -1
- package/dist/components/BlueprintDomRenderer.vue.d.ts.map +1 -1
- package/dist/components/BlueprintMinimap.cjs +1 -1
- package/dist/components/BlueprintMinimap.mjs +1 -1
- package/dist/components/BlueprintMinimap.vue.d.ts.map +1 -1
- package/dist/components/Board.cjs +1 -1
- package/dist/components/Board.mjs +1 -1
- package/dist/components/Board.vue.d.ts.map +1 -1
- package/dist/components/BottomPanel.cjs +1 -1
- package/dist/components/BottomPanel.mjs +1 -1
- package/dist/components/BottomPanel.vue.d.ts.map +1 -1
- package/dist/components/Breadcrumbs.cjs +1 -1
- package/dist/components/Breadcrumbs.mjs +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.d.ts +14 -1
- package/dist/components/Button.mjs +1 -1
- package/dist/components/Button.vue.d.ts +1 -0
- package/dist/components/Button.vue.d.ts.map +1 -1
- package/dist/components/Calendar.cjs +1 -1
- package/dist/components/Calendar.d.ts +1 -1
- package/dist/components/Calendar.mjs +1 -1
- package/dist/components/Calendar.vue.d.ts +1 -1
- package/dist/components/Calendar.vue.d.ts.map +1 -1
- package/dist/components/Card.cjs +1 -1
- package/dist/components/Card.mjs +1 -1
- package/dist/components/Card.vue.d.ts +14 -5
- package/dist/components/Card.vue.d.ts.map +1 -1
- package/dist/components/CardGrid.cjs +1 -1
- package/dist/components/CardGrid.d.ts +33 -1
- package/dist/components/CardGrid.mjs +1 -1
- package/dist/components/CardGrid.vue.d.ts.map +1 -1
- package/dist/components/Charts/BarChart.cjs +1 -1
- package/dist/components/Charts/BarChart.mjs +1 -1
- package/dist/components/Charts/BarChart.vue.d.ts.map +1 -1
- package/dist/components/Charts/GanttChart.cjs +1 -1
- package/dist/components/Charts/GanttChart.d.ts +2 -0
- package/dist/components/Charts/GanttChart.mjs +1 -1
- package/dist/components/Charts/GanttChart.vue.d.ts +1 -0
- package/dist/components/Charts/GanttChart.vue.d.ts.map +1 -1
- package/dist/components/Charts/InterpolationChart.cjs +1 -1
- package/dist/components/Charts/InterpolationChart.mjs +1 -1
- package/dist/components/Charts/InterpolationChart.vue.d.ts.map +1 -1
- package/dist/components/Charts/LineChart.cjs +1 -1
- package/dist/components/Charts/LineChart.mjs +1 -1
- package/dist/components/Charts/LineChart.vue.d.ts.map +1 -1
- package/dist/components/Charts/PieChart.cjs +1 -1
- package/dist/components/Charts/PieChart.mjs +1 -1
- package/dist/components/Charts/PieChart.vue.d.ts.map +1 -1
- package/dist/components/Charts/Sparkline.cjs +1 -1
- package/dist/components/Charts/Sparkline.mjs +1 -1
- package/dist/components/Charts/Sparkline.vue.d.ts.map +1 -1
- package/dist/components/Charts/shared/palette.d.ts.map +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.context.d.ts +4 -0
- package/dist/components/CheckboxGroup.context.d.ts.map +1 -1
- package/dist/components/CheckboxGroup.mjs +1 -1
- package/dist/components/CheckboxGroup.vue.d.ts.map +1 -1
- package/dist/components/ColorStrip.cjs +1 -1
- package/dist/components/ColorStrip.mjs +1 -1
- package/dist/components/CommandPalette.cjs +1 -1
- package/dist/components/CommandPalette.d.ts +5 -0
- package/dist/components/CommandPalette.mjs +1 -1
- package/dist/components/CommandPalette.vue.d.ts +1 -0
- package/dist/components/CommandPalette.vue.d.ts.map +1 -1
- package/dist/components/Confirm.cjs +1 -1
- package/dist/components/Confirm.d.ts +4 -6
- package/dist/components/Confirm.env.d.ts +3 -2
- package/dist/components/Confirm.env.d.ts.map +1 -1
- package/dist/components/Confirm.mjs +1 -1
- package/dist/components/Confirm.vue.d.ts.map +1 -1
- package/dist/components/ContainedList.cjs +1 -0
- package/dist/components/ContainedList.d.ts +65 -0
- package/dist/components/ContainedList.mjs +2 -0
- package/dist/components/ContainedList.vue.d.ts +25 -0
- package/dist/components/ContainedList.vue.d.ts.map +1 -0
- package/dist/components/ContainedListItem.cjs +1 -0
- package/dist/components/ContainedListItem.d.ts +1 -0
- package/dist/components/ContainedListItem.mjs +2 -0
- package/dist/components/ContainedListItem.vue.d.ts +35 -0
- package/dist/components/ContainedListItem.vue.d.ts.map +1 -0
- 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.d.ts +6 -2
- package/dist/components/DataTable.mjs +1 -1
- package/dist/components/DataTable.vue.d.ts +1 -1
- package/dist/components/DataTable.vue.d.ts.map +1 -1
- package/dist/components/DatePicker.cjs +1 -1
- package/dist/components/DatePicker.d.ts +1 -1
- package/dist/components/DatePicker.mjs +1 -1
- package/dist/components/DatePicker.vue.d.ts +1 -1
- package/dist/components/DatePicker.vue.d.ts.map +1 -1
- package/dist/components/DefinitionList.cjs +1 -1
- package/dist/components/DefinitionList.mjs +1 -1
- package/dist/components/DefinitionListItem.cjs +1 -1
- package/dist/components/DefinitionListItem.mjs +1 -1
- package/dist/components/DragHandle.cjs +1 -1
- package/dist/components/DragHandle.mjs +1 -1
- package/dist/components/DragHandle.vue.d.ts.map +1 -1
- package/dist/components/EmptyState.cjs +1 -1
- package/dist/components/EmptyState.mjs +1 -1
- package/dist/components/Field.cjs +1 -1
- package/dist/components/Field.mjs +1 -1
- package/dist/components/Field.vue.d.ts +2 -1
- package/dist/components/Field.vue.d.ts.map +1 -1
- package/dist/components/FileUploader.cjs +1 -1
- package/dist/components/FileUploader.mjs +1 -1
- package/dist/components/FileUploader.vue.d.ts.map +1 -1
- package/dist/components/Flag.cjs +1 -1
- package/dist/components/Flag.mjs +1 -1
- package/dist/components/FloatingToolbar.cjs +1 -1
- package/dist/components/FloatingToolbar.mjs +1 -1
- package/dist/components/FloatingToolbar.vue.d.ts.map +1 -1
- package/dist/components/Form.cjs +1 -1
- package/dist/components/Form.mjs +1 -1
- package/dist/components/Grid.cjs +1 -1
- package/dist/components/Grid.d.ts +53 -4
- package/dist/components/Grid.mjs +1 -1
- package/dist/components/Grid.vue.d.ts +42 -4
- package/dist/components/Grid.vue.d.ts.map +1 -1
- package/dist/components/Icon.cjs +1 -1
- package/dist/components/Icon.d.ts +34 -6
- package/dist/components/Icon.mjs +1 -1
- package/dist/components/Icon.vue.d.ts +4 -4
- package/dist/components/Icon.vue.d.ts.map +1 -1
- package/dist/components/ImageCropper.cjs +1 -1
- package/dist/components/ImageCropper.mjs +1 -1
- package/dist/components/ImagePicker.cjs +1 -1
- package/dist/components/ImagePicker.mjs +1 -1
- package/dist/components/ImagePicker.vue.d.ts +1 -1
- package/dist/components/InfoHint.cjs +1 -1
- package/dist/components/InfoHint.d.ts +1 -1
- package/dist/components/InfoHint.mjs +1 -1
- package/dist/components/InfoHint.vue.d.ts.map +1 -1
- package/dist/components/InlineEdit.cjs +1 -1
- package/dist/components/InlineEdit.mjs +1 -1
- package/dist/components/InlineLoading.cjs +1 -1
- package/dist/components/InlineLoading.mjs +1 -1
- package/dist/components/JsonTree.cjs +1 -1
- package/dist/components/JsonTree.mjs +1 -1
- package/dist/components/Label.cjs +1 -1
- package/dist/components/Label.mjs +1 -1
- package/dist/components/Label.vue.d.ts.map +1 -1
- package/dist/components/Layer.cjs +1 -1
- package/dist/components/Layer.mjs +1 -1
- package/dist/components/Menu.cjs +1 -1
- package/dist/components/Menu.mjs +1 -1
- package/dist/components/Menu.vue.d.ts.map +1 -1
- package/dist/components/MenuBar.cjs +1 -1
- package/dist/components/MenuBar.mjs +1 -1
- package/dist/components/MenuBarItem.cjs +1 -1
- package/dist/components/MenuBarItem.mjs +1 -1
- package/dist/components/MenuDivider.cjs +1 -1
- package/dist/components/MenuDivider.mjs +1 -1
- package/dist/components/MenuItem.cjs +1 -1
- package/dist/components/MenuItem.mjs +1 -1
- package/dist/components/MenuItem.vue.d.ts.map +1 -1
- package/dist/components/Message.cjs +1 -1
- package/dist/components/Message.d.ts +6 -0
- package/dist/components/Message.mjs +1 -1
- package/dist/components/Message.vue.d.ts +1 -0
- package/dist/components/Message.vue.d.ts.map +1 -1
- package/dist/components/Modal.cjs +1 -1
- package/dist/components/Modal.mjs +1 -1
- package/dist/components/Modal.vue.d.ts +2 -2
- package/dist/components/Modal.vue.d.ts.map +1 -1
- package/dist/components/NotificationCenter.cjs +1 -1
- package/dist/components/NotificationCenter.d.ts +2 -3
- package/dist/components/NotificationCenter.mjs +1 -1
- package/dist/components/NotificationCenter.vue.d.ts +1 -1
- package/dist/components/NotificationCenter.vue.d.ts.map +1 -1
- package/dist/components/NotificationCenterItem.cjs +1 -1
- package/dist/components/NotificationCenterItem.d.ts +4 -6
- package/dist/components/NotificationCenterItem.mjs +1 -1
- package/dist/components/NotificationCenterItem.vue.d.ts +1 -1
- package/dist/components/NotificationCenterItem.vue.d.ts.map +1 -1
- package/dist/components/NubiscoMark.cjs +1 -1
- package/dist/components/NubiscoMark.mjs +1 -1
- package/dist/components/NubiscoPlatformMark.cjs +1 -1
- package/dist/components/NubiscoPlatformMark.mjs +1 -1
- package/dist/components/NumberInput.cjs +1 -1
- package/dist/components/NumberInput.mjs +1 -1
- package/dist/components/NumberInput.vue.d.ts.map +1 -1
- package/dist/components/PageHeader.cjs +1 -0
- package/dist/components/PageHeader.d.ts +28 -0
- package/dist/components/PageHeader.mjs +2 -0
- package/dist/components/PageHeader.vue.d.ts +29 -0
- package/dist/components/PageHeader.vue.d.ts.map +1 -0
- package/dist/components/PageLayout.cjs +1 -0
- package/dist/components/PageLayout.d.ts +39 -0
- package/dist/components/PageLayout.mjs +2 -0
- package/dist/components/PageLayout.vue.d.ts +22 -0
- package/dist/components/PageLayout.vue.d.ts.map +1 -0
- package/dist/components/Pagination.cjs +1 -1
- package/dist/components/Pagination.mjs +1 -1
- package/dist/components/Pagination.vue.d.ts.map +1 -1
- package/dist/components/Panel.cjs +1 -1
- package/dist/components/Panel.d.ts +29 -0
- package/dist/components/Panel.mjs +1 -1
- package/dist/components/Panel.vue.d.ts +10 -2
- package/dist/components/Panel.vue.d.ts.map +1 -1
- package/dist/components/PrimaryAction.context.d.ts +16 -0
- package/dist/components/PrimaryAction.context.d.ts.map +1 -0
- package/dist/components/PrimaryActionScope.vue.d.ts +18 -0
- package/dist/components/PrimaryActionScope.vue.d.ts.map +1 -0
- package/dist/components/ProgressBar.cjs +1 -1
- package/dist/components/ProgressBar.mjs +1 -1
- package/dist/components/ProgressBar.vue.d.ts.map +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/ReorderList.vue.d.ts.map +1 -1
- package/dist/components/Select.cjs +1 -1
- package/dist/components/Select.mjs +1 -1
- package/dist/components/Select.vue.d.ts +1 -0
- package/dist/components/Select.vue.d.ts.map +1 -1
- package/dist/components/Shell.cjs +1 -1
- package/dist/components/Shell.d.ts +20 -0
- package/dist/components/Shell.mjs +1 -1
- package/dist/components/Shell.vue.d.ts +7 -4
- 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/ShellPanel.vue.d.ts.map +1 -1
- package/dist/components/SidebarBrand.cjs +1 -1
- package/dist/components/SidebarBrand.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/SidebarHeaderToggle.vue.d.ts.map +1 -1
- package/dist/components/SidebarLink.cjs +1 -1
- package/dist/components/SidebarLink.mjs +1 -1
- package/dist/components/SidebarMenu.cjs +1 -1
- package/dist/components/SidebarMenu.mjs +1 -1
- package/dist/components/SidebarMenuGroup.cjs +1 -1
- package/dist/components/SidebarMenuGroup.mjs +1 -1
- package/dist/components/SidebarMenuGroup.vue.d.ts.map +1 -1
- package/dist/components/SidebarMenuItem.cjs +1 -1
- package/dist/components/SidebarMenuItem.mjs +1 -1
- package/dist/components/SidebarMenuItem.vue.d.ts.map +1 -1
- package/dist/components/SidebarStatus.cjs +1 -1
- package/dist/components/SidebarStatus.mjs +1 -1
- package/dist/components/Skeleton.cjs +1 -1
- package/dist/components/Skeleton.d.ts +5 -0
- package/dist/components/Skeleton.mjs +1 -1
- package/dist/components/Skeleton.vue.d.ts.map +1 -1
- package/dist/components/Slider.cjs +1 -1
- package/dist/components/Slider.mjs +1 -1
- package/dist/components/Slider.vue.d.ts.map +1 -1
- package/dist/components/Spinner.cjs +1 -1
- package/dist/components/Spinner.d.ts +3 -1
- package/dist/components/Spinner.mjs +1 -1
- package/dist/components/Spinner.vue.d.ts +6 -9
- package/dist/components/Spinner.vue.d.ts.map +1 -1
- package/dist/components/Stat.cjs +1 -1
- package/dist/components/Stat.mjs +1 -1
- package/dist/components/Stat.vue.d.ts.map +1 -1
- package/dist/components/Stepper.cjs +1 -1
- package/dist/components/Stepper.mjs +1 -1
- package/dist/components/Stepper.vue.d.ts.map +1 -1
- package/dist/components/StepperStep.cjs +1 -1
- package/dist/components/StepperStep.mjs +1 -1
- package/dist/components/StepperStep.vue.d.ts.map +1 -1
- package/dist/components/StructuredList.cjs +1 -0
- package/dist/components/StructuredList.d.ts +39 -0
- package/dist/components/StructuredList.mjs +2 -0
- package/dist/components/StructuredList.vue.d.ts +24 -0
- package/dist/components/StructuredList.vue.d.ts.map +1 -0
- package/dist/components/Submenu.cjs +1 -1
- package/dist/components/Submenu.mjs +1 -1
- package/dist/components/Submenu.vue.d.ts.map +1 -1
- package/dist/components/SuggestionList.cjs +1 -1
- package/dist/components/SuggestionList.mjs +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/TableOfContents.vue.d.ts +1 -1
- package/dist/components/Tabs.cjs +1 -1
- package/dist/components/Tabs.mjs +1 -1
- package/dist/components/Tabs.vue.d.ts.map +1 -1
- package/dist/components/TextInput.cjs +1 -1
- package/dist/components/TextInput.mjs +1 -1
- package/dist/components/TextInput.vue.d.ts +13 -5
- package/dist/components/TextInput.vue.d.ts.map +1 -1
- package/dist/components/Toast.cjs +1 -1
- package/dist/components/Toast.mjs +1 -1
- package/dist/components/Toast.vue.d.ts.map +1 -1
- package/dist/components/Toaster.cjs +1 -1
- package/dist/components/Toaster.d.ts +1 -2
- package/dist/components/Toaster.mjs +1 -1
- package/dist/components/Toaster.vue.d.ts.map +1 -1
- package/dist/components/Tree.cjs +1 -1
- package/dist/components/Tree.d.ts +2 -0
- package/dist/components/Tree.mjs +1 -1
- package/dist/components/Tree.vue.d.ts.map +1 -1
- package/dist/components/TreeNode.cjs +1 -1
- package/dist/components/TreeNode.mjs +1 -1
- package/dist/components/TreeNode.vue.d.ts.map +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/Video.vue.d.ts.map +1 -1
- package/dist/components/Walkthrough.cjs +1 -1
- package/dist/components/Walkthrough.mjs +1 -1
- package/dist/components/Walkthrough.vue.d.ts.map +1 -1
- package/dist/components/Wireframe.cjs +1 -1
- package/dist/components/Wireframe.mjs +1 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/manifest.d.ts +5 -0
- package/dist/components/manifest.d.ts.map +1 -1
- package/dist/components/manifest.js +5 -0
- package/dist/composables/useBlueprint.composable.cjs +1 -1
- package/dist/composables/useBlueprint.composable.mjs +1 -1
- package/dist/composables/useConfirm.composable.cjs +1 -1
- package/dist/composables/useConfirm.composable.d.ts +9 -0
- package/dist/composables/useConfirm.composable.d.ts.map +1 -1
- package/dist/composables/useConfirm.composable.mjs +62 -63
- package/dist/composables/useFieldMessage.composable.cjs +1 -0
- package/dist/composables/useFieldMessage.composable.d.ts +44 -0
- package/dist/composables/useFieldMessage.composable.d.ts.map +1 -0
- package/dist/composables/useFieldMessage.composable.mjs +33 -0
- package/dist/composables/useInlineLoading.composable.cjs +1 -1
- package/dist/composables/useInlineLoading.composable.d.ts +3 -4
- package/dist/composables/useInlineLoading.composable.d.ts.map +1 -1
- package/dist/composables/useInlineLoading.composable.mjs +1 -1
- package/dist/composables/useLoadingAnnouncer.composable.cjs +1 -1
- package/dist/composables/useLoadingAnnouncer.composable.mjs +1 -1
- package/dist/composables/useNbStrings.composable.cjs +1 -0
- package/dist/composables/useNbStrings.composable.d.ts +105 -0
- package/dist/composables/useNbStrings.composable.d.ts.map +1 -0
- package/dist/composables/useNbStrings.composable.mjs +111 -0
- package/dist/composables/useShellSlot.composable.d.ts +3 -5
- package/dist/composables/useShellSlot.composable.d.ts.map +1 -1
- package/dist/composables/useToast.composable.cjs +1 -1
- package/dist/composables/useToast.composable.d.ts +3 -1
- package/dist/composables/useToast.composable.d.ts.map +1 -1
- package/dist/composables/useToast.composable.mjs +113 -102
- package/dist/directives/ToolTip.directive.d.ts +1 -1
- package/dist/directives/ToolTip.directive.d.ts.map +1 -1
- package/dist/global.d.ts +12 -0
- package/dist/icons/ai.mjs +26 -0
- package/dist/icons/all.mjs +2 -1
- package/dist/icons/catalog.mjs +2 -1
- package/dist/icons/names.json +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +142 -133
- package/dist/{main-TRQw3oqC.js → main-BTximdIU.js} +349 -343
- package/dist/main-DkNxc78b.cjs +4 -0
- package/dist/main.d.ts +20 -4
- package/dist/main.d.ts.map +1 -1
- package/dist/motion-BjVtMTXD.cjs +1 -0
- package/dist/motion-C0h9XZQZ.js +18 -0
- package/dist/{palette-9NBcW3rl.cjs → palette-B7XEOMVB.cjs} +1 -1
- package/dist/{palette-Cq2Mb9QH.js → palette-CWU7exM6.js} +3 -3
- package/dist/plugins/fonts.d.ts +10 -5
- package/dist/plugins/fonts.d.ts.map +1 -1
- package/dist/plugins/fonts.js +13 -8
- package/dist/plugins/vite/glyphs.d.ts.map +1 -1
- package/dist/plugins/vite/glyphs.js +28 -9
- package/dist/styles/Accordion.css +1 -1
- package/dist/styles/AccordionItem.css +1 -1
- package/dist/styles/AiLabel.css +1 -1
- package/dist/styles/Avatar.css +1 -1
- package/dist/styles/Badge.css +1 -1
- package/dist/styles/Banner.css +1 -1
- package/dist/styles/BarChart.css +1 -1
- package/dist/styles/Blueprint.css +1 -1
- package/dist/styles/BlueprintCard.css +1 -1
- package/dist/styles/BlueprintControls.css +1 -1
- package/dist/styles/BlueprintMinimap.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/CardGrid.css +1 -1
- package/dist/styles/ChartLegend.css +1 -1
- package/dist/styles/Checkbox.css +1 -1
- package/dist/styles/CheckboxGroup.css +1 -1
- package/dist/styles/ColorStrip.css +1 -1
- package/dist/styles/CommandPalette.css +1 -1
- package/dist/styles/Confirm.css +1 -1
- package/dist/styles/ContainedList.css +1 -0
- package/dist/styles/ContainedListItem.css +1 -0
- package/dist/styles/DataTable.css +1 -1
- package/dist/styles/DatePicker.css +1 -1
- package/dist/styles/DefinitionList.css +1 -1
- package/dist/styles/DragHandle.css +1 -1
- package/dist/styles/EmptyState.css +1 -1
- package/dist/styles/Field.css +1 -1
- package/dist/styles/FileUploader.css +1 -1
- package/dist/styles/FloatingToolbar.css +1 -1
- package/dist/styles/GanttChart.css +1 -1
- package/dist/styles/Icon.css +1 -1
- package/dist/styles/ImageCropper.css +1 -1
- package/dist/styles/ImagePicker.css +1 -1
- package/dist/styles/InfoHint.css +1 -1
- package/dist/styles/InlineEdit.css +1 -1
- package/dist/styles/InlineLoading.css +1 -1
- package/dist/styles/InterpolationChart.css +1 -1
- package/dist/styles/JsonTree.css +1 -1
- package/dist/styles/Label.css +1 -1
- package/dist/styles/LineChart.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/NotificationCenterItem.css +1 -1
- package/dist/styles/NumberInput.css +1 -1
- package/dist/styles/PageHeader.css +1 -0
- package/dist/styles/PageLayout.css +1 -0
- package/dist/styles/Pagination.css +1 -1
- package/dist/styles/Panel.css +1 -1
- package/dist/styles/PieChart.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/SidebarBrand.css +1 -1
- package/dist/styles/SidebarHeaderToggle.css +1 -1
- package/dist/styles/SidebarLink.css +1 -1
- package/dist/styles/SidebarMenu.css +1 -1
- package/dist/styles/SidebarMenuGroup.css +1 -1
- package/dist/styles/SidebarMenuItem.css +1 -1
- package/dist/styles/SidebarStatus.css +1 -1
- package/dist/styles/Skeleton.css +1 -1
- package/dist/styles/Slider.css +1 -1
- package/dist/styles/Sparkline.css +1 -1
- package/dist/styles/Spinner.css +1 -1
- package/dist/styles/Stat.css +1 -1
- package/dist/styles/Stepper.css +1 -1
- package/dist/styles/StepperStep.css +1 -1
- package/dist/styles/StructuredList.css +1 -0
- package/dist/styles/SuggestionList.css +1 -1
- package/dist/styles/Switch.css +1 -1
- package/dist/styles/TableOfContents.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/Tree.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/styles/main.css +1 -1
- package/dist/styles/palette.css +1 -1
- package/dist/tokens/motion.d.ts +42 -0
- package/dist/tokens/motion.d.ts.map +1 -0
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/ui.css +91 -86
- package/dist/utils/pluralize.helper.cjs +1 -0
- package/dist/utils/pluralize.helper.d.ts +28 -0
- package/dist/utils/pluralize.helper.d.ts.map +1 -0
- package/dist/utils/pluralize.helper.mjs +14 -0
- package/dist/utils/truncateMiddle.helper.cjs +1 -0
- package/dist/utils/truncateMiddle.helper.d.ts +16 -0
- package/dist/utils/truncateMiddle.helper.d.ts.map +1 -0
- package/dist/utils/truncateMiddle.helper.mjs +11 -0
- package/package.json +8 -5
- package/src/assets/icons/ai.svg +4 -0
- package/src/plugins/fonts.ts +13 -8
- package/src/plugins/vite/glyphs.ts +32 -9
- package/src/styles/_accent.scss +60 -2
- package/src/styles/_ai.scss +128 -0
- package/src/styles/_contrast.scss +64 -0
- package/src/styles/_focus.scss +28 -0
- package/src/styles/_reset.scss +5 -5
- package/src/styles/_theme-api.scss +17 -2
- package/src/styles/_theme.scss +168 -51
- package/src/styles/_typography.scss +5 -0
- package/src/styles/directives/_tooltip.scss +12 -8
- package/src/styles/grid/_common.scss +3 -0
- package/src/styles/grid/_mixins.scss +3 -2
- package/src/styles/grid/index.scss +63 -0
- package/src/styles/index.scss +6 -0
- package/src/styles/logic/_a11y.scss +1 -1
- package/src/styles/logic/_motion.scss +246 -2
- package/src/styles/patterns/_inspector.scss +5 -5
- package/src/styles/presets/_classic-fields.scss +36 -10
- package/src/styles/transitions/_fade.scss +31 -8
- package/src/styles/variables/_animations.scss +13 -4
- package/src/styles/variables/_categories.scss +130 -0
- package/src/styles/variables/_grid.scss +31 -8
- package/src/styles/variables/_layers.scss +185 -6
- package/src/styles/variables/_spacing.scss +87 -0
- package/src/styles/variables/_type.scss +165 -116
- package/src/utils/pluralize.helper.ts +55 -0
- package/src/utils/truncateMiddle.helper.ts +34 -0
- package/dist/ActionGroup-BW4jTdT0.cjs +0 -1
- package/dist/AiLabel-DSiCpLvM.js +0 -56
- package/dist/AiLabel-G7b92e7Q.cjs +0 -1
- package/dist/BackToTop-BAyTy5SN.js +0 -55
- package/dist/BackToTop-DvNNsQcS.cjs +0 -1
- package/dist/Badge-BC7sqGRj.cjs +0 -1
- package/dist/Badge-DVujzLka.js +0 -59
- package/dist/Banner-BWfbWQjt.cjs +0 -1
- package/dist/BarChart-34fIWzBC.cjs +0 -1
- package/dist/BarChart-CcmkojSX.js +0 -399
- package/dist/BlueprintCard-BISElEk0.cjs +0 -1
- package/dist/BlueprintControls-BwZeMwyC.cjs +0 -1
- package/dist/BlueprintControls-bMZ4hJTJ.js +0 -156
- package/dist/BlueprintMinimap-CWmys37d.cjs +0 -1
- package/dist/BlueprintMinimap-zXf1g5UN.js +0 -161
- package/dist/Board-BVpQ2OAm.cjs +0 -1
- package/dist/BottomPanel-9wXoX7C0.cjs +0 -1
- package/dist/BottomPanel-COy4nW-t.js +0 -114
- package/dist/Button-Cepcs335.js +0 -121
- package/dist/Button-tmwLbryG.cjs +0 -1
- package/dist/Calendar-C_tRujlw.cjs +0 -1
- package/dist/Card-BNmkM0Cr.cjs +0 -1
- package/dist/Card-D5brHuVU.js +0 -109
- package/dist/CardGrid-q_Zz_Ip_.cjs +0 -1
- package/dist/Checkbox-DHjkrPUP.cjs +0 -1
- package/dist/CheckboxGroup-B2GnAaDG.js +0 -72
- package/dist/CheckboxGroup-DJs_1dDP.cjs +0 -1
- package/dist/CommandPalette--Xg6G2hP.cjs +0 -1
- package/dist/CommandPalette-C-Hz6lEX.js +0 -223
- package/dist/Confirm-CquZnoj-.cjs +0 -1
- package/dist/DataTable-Bm6OM1uz.js +0 -477
- package/dist/DataTable-DrWZCe55.cjs +0 -1
- package/dist/DatePicker-wMeO_BAn.cjs +0 -1
- package/dist/Field-3zUVZEMG.cjs +0 -1
- package/dist/FileUploader-CrtHrF9n.cjs +0 -1
- package/dist/FileUploader-D9H4klul.js +0 -187
- package/dist/GanttChart-C2ql59iv.cjs +0 -1
- package/dist/GanttChart-tHaks3Qu.js +0 -466
- package/dist/Grid-BEezjVdC.cjs +0 -1
- package/dist/Icon-Bwec1Nfv.cjs +0 -1
- package/dist/Icon-DwhI2DFK.js +0 -104
- package/dist/InterpolationChart-CezKg7nG.cjs +0 -1
- package/dist/InterpolationChart-x2yvZUFf.js +0 -319
- package/dist/LineChart-A2so8GBH.js +0 -309
- package/dist/LineChart-DnYgeNPe.cjs +0 -1
- package/dist/Menu-2Se8F81Q.js +0 -136
- package/dist/Menu-CAZmNx60.cjs +0 -1
- package/dist/MenuItem-D6hIjWBm.cjs +0 -1
- package/dist/Message-COxRTtqI.cjs +0 -1
- package/dist/Message-DlluDLCZ.js +0 -54
- package/dist/Modal-F7rA1EFq.cjs +0 -1
- package/dist/NotificationCenter-C3D55kLa.cjs +0 -1
- package/dist/NumberInput-DZ2JIarM.js +0 -293
- package/dist/NumberInput-Daauv-mS.cjs +0 -1
- package/dist/Pagination-BiXAAS94.cjs +0 -1
- package/dist/Pagination-oWMOC9Qw.js +0 -84
- package/dist/Panel-CWBZ-kgD.js +0 -15
- package/dist/Panel-ap8JYHvL.cjs +0 -1
- package/dist/PieChart-C3MInQWP.cjs +0 -1
- package/dist/PieChart-DnGl86Lc.js +0 -181
- package/dist/Radio-DuW0s5JD.cjs +0 -1
- package/dist/Radio-LrqGD0NJ.js +0 -98
- package/dist/Select-Z6XKZwgn.cjs +0 -1
- package/dist/Shell-BCBzgwZl.cjs +0 -1
- package/dist/Shell-DSY0rcWY.js +0 -520
- package/dist/Skeleton-CSRjBPVt.cjs +0 -1
- package/dist/Slider-CM-YIOPa.js +0 -308
- package/dist/Slider-CNqWXBhw.cjs +0 -1
- package/dist/Sparkline-DgmOYz7G.cjs +0 -1
- package/dist/Sparkline-TptJc3Gp.js +0 -94
- package/dist/Spinner-BPC4GV2R.cjs +0 -1
- package/dist/Spinner-DT8nD53U.js +0 -156
- package/dist/StepperStep-DM__K4sj.cjs +0 -1
- package/dist/TableOfContents-pJY07qUd.cjs +0 -1
- package/dist/TextInput-CMNHASTy.js +0 -293
- package/dist/TextInput-Dim1RJ1e.cjs +0 -2
- package/dist/Tree-BMKUnt--.js +0 -125
- package/dist/Tree-DDYIaQhW.cjs +0 -1
- package/dist/TreeNode-BjqvPxI6.cjs +0 -1
- package/dist/TreeNode-Bnlm_eRb.js +0 -176
- package/dist/Video-CfRR9Ire.cjs +0 -1
- package/dist/Video-CvpT9tlK.js +0 -103
- package/dist/main-R1TM8Ptt.cjs +0 -4
- /package/dist/{Accordion.context-D0CjtbPU.cjs → Accordion.context-Cb_NKUtg.cjs} +0 -0
- /package/dist/{Accordion.context-Wz0ugH_k.js → Accordion.context-DG649PsQ.js} +0 -0
- /package/dist/{Avatar-BtPUauIn.cjs → Avatar-UO0ySqkY.cjs} +0 -0
- /package/dist/{Avatar-DqZ-eYb8.js → Avatar-ZG-WROXx.js} +0 -0
- /package/dist/{Blueprint.context-BxEzW6uR.cjs → Blueprint.context-B3d5-4jD.cjs} +0 -0
- /package/dist/{Blueprint.context-CFAikJ3j.js → Blueprint.context-B4bRLj7m.js} +0 -0
- /package/dist/{Card.link-dJAabUqe.js → Card.link-CB8_CTbn.js} +0 -0
- /package/dist/{Card.link-crO1EgJA.cjs → Card.link-eRkbFiF1.cjs} +0 -0
- /package/dist/{CheckboxGroup.context-BapH2lov.cjs → CheckboxGroup.context-C8p21aqH.cjs} +0 -0
- /package/dist/{CheckboxGroup.context-uxyp82XM.js → CheckboxGroup.context-Cu0BA648.js} +0 -0
- /package/dist/{DefinitionListItem-DnFxxXWI.cjs → DefinitionListItem-Bf9amK8a.cjs} +0 -0
- /package/dist/{DefinitionListItem-Cg8BggyX.js → DefinitionListItem-CbVnrShi.js} +0 -0
- /package/dist/{JsonTree-DbyC2G2G.js → JsonTree-BWfMcWOV.js} +0 -0
- /package/dist/{JsonTree-CjeK5gqm.cjs → JsonTree-Bmj8WtzK.cjs} +0 -0
- /package/dist/{Layer-BgL2sFav.js → Layer-BJeI6Q6N.js} +0 -0
- /package/dist/{Layer-BPC6XSrP.cjs → Layer-D-MNrLiB.cjs} +0 -0
- /package/dist/{NubiscoMark-BGi9b3YU.js → NubiscoMark-BLT8ULAl.js} +0 -0
- /package/dist/{NubiscoMark-DH9Ngmod.cjs → NubiscoMark-Cf7Ek83E.cjs} +0 -0
- /package/dist/{NubiscoPlatformMark-ddkDJ0AU.cjs → NubiscoPlatformMark-CXMSQDYh.cjs} +0 -0
- /package/dist/{NubiscoPlatformMark-C6WbipA4.js → NubiscoPlatformMark-Dca7vi6H.js} +0 -0
- /package/dist/{Size.d-GBIblj2D.cjs → Size.d-BQ4_AVQe.cjs} +0 -0
- /package/dist/{Size.d-Bah6vMl3.js → Size.d-DY4ZHW3-.js} +0 -0
- /package/dist/{Stepper.context-DVnGO61u.cjs → Stepper.context-DUIDhN9Q.cjs} +0 -0
- /package/dist/{Stepper.context-7n0SuGh_.js → Stepper.context-DqfEvgGM.js} +0 -0
- /package/dist/{TextInput.context-DvCbZUx_.js → TextInput.context-DV1MgL_Q.js} +0 -0
- /package/dist/{TextInput.context-C0YTT4zw.cjs → TextInput.context-UTLuljcO.cjs} +0 -0
- /package/dist/{TreeContext-CvZCLIr2.js → TreeContext--GZ21fCm.js} +0 -0
- /package/dist/{TreeContext-CKcfg0Nq.cjs → TreeContext-TZ35sT5B.cjs} +0 -0
- /package/dist/{_plugin-vue_export-helper-O4QQSku4.js → _plugin-vue_export-helper-C6QCLu9I.js} +0 -0
- /package/dist/{_plugin-vue_export-helper-tagjRzOz.cjs → _plugin-vue_export-helper-D0Q0f7-M.cjs} +0 -0
- /package/dist/{pixi-scene-DSMij-ex.cjs → pixi-scene-BKyneWmd.cjs} +0 -0
- /package/dist/{pixi-scene-Du_Uq_zl.js → pixi-scene-TbaBQ2-u.js} +0 -0
- /package/dist/{scales-Bdgv87s2.cjs → scales-B8IbC7t_.cjs} +0 -0
- /package/dist/{scales-CzvC8OOZ.js → scales-CNW8JgKC.js} +0 -0
- /package/dist/{useChartSize-ByPUvppp.cjs → useChartSize-B6Bes760.cjs} +0 -0
- /package/dist/{useChartSize-BXgOzSCU.js → useChartSize-CftshgoY.js} +0 -0
- /package/dist/{useLoadingAnnouncer.composable-DQEzOEt_.js → useLoadingAnnouncer.composable-BAwecV1M.js} +0 -0
- /package/dist/{useLoadingAnnouncer.composable-pW7VKY0k.cjs → useLoadingAnnouncer.composable-Dn1mqnqe.cjs} +0 -0
- /package/dist/{vue-i18n-CNxAi_sd.cjs → vue-i18n-DIvTc6LM.cjs} +0 -0
- /package/dist/{vue-i18n-BERFm5iG.js → vue-i18n-DSR949qU.js} +0 -0
|
@@ -0,0 +1,310 @@
|
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
2
|
+
import { useNbStrings as t } from "./composables/useNbStrings.composable.mjs";
|
|
3
|
+
import { i as n, l as r, n as i, u as a } from "./palette-CWU7exM6.js";
|
|
4
|
+
import { t as o } from "./ChartLegend-fsJqOyGj.js";
|
|
5
|
+
import { i as s, r as c } from "./scales-CNW8JgKC.js";
|
|
6
|
+
import { t as l } from "./useChartSize-CftshgoY.js";
|
|
7
|
+
import { Fragment as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createVNode as g, defineComponent as _, onBeforeUnmount as v, onMounted as y, openBlock as b, ref as x, renderList as S, toDisplayString as C, unref as w, watch as T, withCtx as E } from "vue";
|
|
8
|
+
//#region src/components/Charts/shared/xLabels.ts
|
|
9
|
+
var D = 6, O = 8, k = (e, t = D) => {
|
|
10
|
+
let n = [];
|
|
11
|
+
if (e <= 0) return n;
|
|
12
|
+
let r = Math.max(1, Math.ceil(e / t));
|
|
13
|
+
for (let t = 0; t < e; t += r) n.push(t);
|
|
14
|
+
return n[n.length - 1] !== e - 1 && n.push(e - 1), n;
|
|
15
|
+
}, A = (e, t, n) => {
|
|
16
|
+
for (let r = 1; r < e.length; r++) {
|
|
17
|
+
let i = e[r - 1], a = e[r], o = i.x + t(i.index) / 2;
|
|
18
|
+
if (a.x - t(a.index) / 2 - o < n) return !1;
|
|
19
|
+
}
|
|
20
|
+
return !0;
|
|
21
|
+
}, j = (e, t, n) => {
|
|
22
|
+
if (n === void 0 || t >= n) return e;
|
|
23
|
+
let r = t / 2;
|
|
24
|
+
return Math.min(Math.max(e, r), n - r);
|
|
25
|
+
}, M = (e, t, n, r, i) => {
|
|
26
|
+
let a = (e) => e.x === n(e.index) ? r : i, o = e, s = o[o.length - 1];
|
|
27
|
+
return o.length > 2 && !A(o.slice(-2), t, a(s)) && (o = [...o.slice(0, -2), s]), o.length > 2 && !A(o.slice(0, 2), t, a(o[0])) && (o = [o[0], ...o.slice(2)]), o;
|
|
28
|
+
}, N = ({ count: e, positionOf: t, widthOf: n, width: r, gap: i = O }) => {
|
|
29
|
+
let a = k(e);
|
|
30
|
+
if (!n) return a.map((e) => ({
|
|
31
|
+
index: e,
|
|
32
|
+
x: t(e)
|
|
33
|
+
}));
|
|
34
|
+
let o = (e) => ({
|
|
35
|
+
index: e,
|
|
36
|
+
x: j(t(e), n(e), r)
|
|
37
|
+
}), s = M(a.map(o), n, t, -Infinity, i);
|
|
38
|
+
if (A(s, n, 0)) return s;
|
|
39
|
+
let c = e - 1, l = Math.max(1, Math.ceil(e / D)) + 1;
|
|
40
|
+
for (let e = l; e <= c; e++) {
|
|
41
|
+
let r = [];
|
|
42
|
+
for (let t = 0; t < c; t += e) r.push(t);
|
|
43
|
+
let a = M([...r, c].map(o), n, t, i, i);
|
|
44
|
+
if (A(a, n, i)) return a;
|
|
45
|
+
}
|
|
46
|
+
return [o(0)];
|
|
47
|
+
}, P = [
|
|
48
|
+
"width",
|
|
49
|
+
"height",
|
|
50
|
+
"aria-label"
|
|
51
|
+
], F = { key: 0 }, I = [
|
|
52
|
+
"x1",
|
|
53
|
+
"x2",
|
|
54
|
+
"y1",
|
|
55
|
+
"y2"
|
|
56
|
+
], ee = { class: "nb-chart__axis" }, te = ["x", "y"], ne = ["x", "y"], re = [
|
|
57
|
+
"x1",
|
|
58
|
+
"x2",
|
|
59
|
+
"y1",
|
|
60
|
+
"y2"
|
|
61
|
+
], ie = ["d", "fill"], ae = ["d", "stroke"], L = [
|
|
62
|
+
"cx",
|
|
63
|
+
"cy",
|
|
64
|
+
"r",
|
|
65
|
+
"fill"
|
|
66
|
+
], R = [
|
|
67
|
+
"x1",
|
|
68
|
+
"x2",
|
|
69
|
+
"y1",
|
|
70
|
+
"y2"
|
|
71
|
+
], z = /* @__PURE__ */ e(/* @__PURE__ */ _({
|
|
72
|
+
__name: "LineChart",
|
|
73
|
+
props: {
|
|
74
|
+
series: { default: () => [] },
|
|
75
|
+
area: {
|
|
76
|
+
type: Boolean,
|
|
77
|
+
default: !1
|
|
78
|
+
},
|
|
79
|
+
points: {
|
|
80
|
+
type: Boolean,
|
|
81
|
+
default: !1
|
|
82
|
+
},
|
|
83
|
+
curve: { default: "smooth" },
|
|
84
|
+
valueFormatter: {},
|
|
85
|
+
title: { default: void 0 },
|
|
86
|
+
subtitle: { default: void 0 },
|
|
87
|
+
height: { default: 280 },
|
|
88
|
+
showLegend: {
|
|
89
|
+
type: Boolean,
|
|
90
|
+
default: !0
|
|
91
|
+
},
|
|
92
|
+
showTooltip: {
|
|
93
|
+
type: Boolean,
|
|
94
|
+
default: !0
|
|
95
|
+
},
|
|
96
|
+
showGrid: {
|
|
97
|
+
type: Boolean,
|
|
98
|
+
default: !0
|
|
99
|
+
},
|
|
100
|
+
colors: { default: () => i }
|
|
101
|
+
},
|
|
102
|
+
setup(e) {
|
|
103
|
+
let i = t(), _ = e, D = {
|
|
104
|
+
top: 12,
|
|
105
|
+
right: 16,
|
|
106
|
+
bottom: 28,
|
|
107
|
+
left: 44
|
|
108
|
+
}, O = x(null), k = l(O, {
|
|
109
|
+
width: 480,
|
|
110
|
+
height: 240
|
|
111
|
+
}), A = d(() => _.series.map((e, t) => ({
|
|
112
|
+
name: e.name,
|
|
113
|
+
data: e.data,
|
|
114
|
+
color: e.color ?? n(t, _.colors)
|
|
115
|
+
}))), j = d(() => (_.series[0]?.data ?? []).map((e) => e.x)), M = d(() => {
|
|
116
|
+
let e = _.series.flatMap((e) => e.data.map((e) => e.y));
|
|
117
|
+
return e.length ? s(Math.min(0, ...e), Math.max(...e), .1) : [0, 1];
|
|
118
|
+
}), z = d(() => c(M.value, [Math.max(D.top, k.value.height - D.bottom), D.top])), B = d(() => z.value.ticks(5)), V = x(7), H = (e) => Math.max(z.value(e), V.value), U = d(() => Math.max(0, k.value.width - D.left - D.right)), W = (e) => {
|
|
119
|
+
let t = j.value.length;
|
|
120
|
+
return t <= 1 ? D.left + U.value / 2 : D.left + e / (t - 1) * U.value;
|
|
121
|
+
}, G = x(null), K = x(null), q = () => {
|
|
122
|
+
let e = G.value;
|
|
123
|
+
if (!e || typeof document > "u") return;
|
|
124
|
+
let t = document.createElementNS("http://www.w3.org/2000/svg", "text");
|
|
125
|
+
if (typeof t.getComputedTextLength != "function") return;
|
|
126
|
+
t.setAttribute("visibility", "hidden"), t.setAttribute("aria-hidden", "true"), e.appendChild(t);
|
|
127
|
+
let n = /* @__PURE__ */ new Map();
|
|
128
|
+
for (let e of j.value) {
|
|
129
|
+
let r = C(e);
|
|
130
|
+
n.has(r) || (t.textContent = r, n.set(r, t.getComputedTextLength()));
|
|
131
|
+
}
|
|
132
|
+
if (typeof t.getBBox == "function") {
|
|
133
|
+
t.setAttribute("dominant-baseline", "middle"), t.setAttribute("y", "0"), t.textContent = "0";
|
|
134
|
+
let e = -t.getBBox().y;
|
|
135
|
+
e > 0 && (V.value = e);
|
|
136
|
+
}
|
|
137
|
+
e.removeChild(t), K.value = n;
|
|
138
|
+
};
|
|
139
|
+
T(j, q, { flush: "post" });
|
|
140
|
+
let J = typeof document > "u" ? void 0 : document.fonts;
|
|
141
|
+
y(() => {
|
|
142
|
+
q(), J?.addEventListener?.("loadingdone", q);
|
|
143
|
+
}), v(() => {
|
|
144
|
+
J?.removeEventListener?.("loadingdone", q);
|
|
145
|
+
});
|
|
146
|
+
let oe = d(() => {
|
|
147
|
+
let e = j.value, t = K.value;
|
|
148
|
+
return N({
|
|
149
|
+
count: e.length,
|
|
150
|
+
positionOf: W,
|
|
151
|
+
widthOf: t ? (n) => t.get(C(e[n])) ?? 0 : void 0,
|
|
152
|
+
width: k.value.width
|
|
153
|
+
}).map((t) => ({
|
|
154
|
+
...t,
|
|
155
|
+
value: e[t.index]
|
|
156
|
+
}));
|
|
157
|
+
}), se = (e) => e.length ? Y(e.map((e, t) => [W(t), z.value(e.y)]), _.curve) : "", ce = (e) => {
|
|
158
|
+
if (!e.length) return "";
|
|
159
|
+
let t = e.map((e, t) => [W(t), z.value(e.y)]), n = k.value.height - D.bottom;
|
|
160
|
+
return `${Y(t, _.curve)} L${t[t.length - 1][0]},${n} L${t[0][0]},${n} Z`;
|
|
161
|
+
}, Y = (e, t) => {
|
|
162
|
+
if (!e.length) return "";
|
|
163
|
+
if (e.length === 1) return `M${e[0][0]},${e[0][1]}`;
|
|
164
|
+
if (t === "linear") return e.map((e, t) => `${t === 0 ? "M" : "L"}${e[0]},${e[1]}`).join(" ");
|
|
165
|
+
if (t === "step") {
|
|
166
|
+
let t = `M${e[0][0]},${e[0][1]}`;
|
|
167
|
+
for (let n = 1; n < e.length; n++) {
|
|
168
|
+
let [r, i] = e[n - 1], [a, o] = e[n], s = (r + a) / 2;
|
|
169
|
+
t += ` L${s},${i} L${s},${o} L${a},${o}`;
|
|
170
|
+
}
|
|
171
|
+
return t;
|
|
172
|
+
}
|
|
173
|
+
let n = .2, r = `M${e[0][0]},${e[0][1]}`;
|
|
174
|
+
for (let t = 0; t < e.length - 1; t++) {
|
|
175
|
+
let i = e[t - 1] ?? e[t], a = e[t], o = e[t + 1], s = e[t + 2] ?? o, c = a[0] + (o[0] - i[0]) * n, l = a[1] + (o[1] - i[1]) * n, u = o[0] - (s[0] - a[0]) * n, d = o[1] - (s[1] - a[1]) * n;
|
|
176
|
+
r += ` C${c},${l} ${u},${d} ${o[0]},${o[1]}`;
|
|
177
|
+
}
|
|
178
|
+
return r;
|
|
179
|
+
}, le = (e) => Math.abs(e) >= 1e3 ? `${(e / 1e3).toFixed(1)}k` : Number.isInteger(e) ? String(e) : e.toFixed(1), X = (e) => _.valueFormatter ? _.valueFormatter(e) : le(e), Z = x(null), Q = x({
|
|
180
|
+
x: 0,
|
|
181
|
+
y: 0
|
|
182
|
+
}), $ = (e) => {
|
|
183
|
+
let t = e.currentTarget.getBoundingClientRect(), n = e.clientX - t.left, r = j.value.length;
|
|
184
|
+
if (!r) return;
|
|
185
|
+
let i = (n - D.left) / Math.max(1, U.value);
|
|
186
|
+
Z.value = Math.round(Math.min(1, Math.max(0, i)) * (r - 1)), Q.value = {
|
|
187
|
+
x: e.clientX - t.left + 12,
|
|
188
|
+
y: e.clientY - t.top + 12
|
|
189
|
+
};
|
|
190
|
+
}, ue = d(() => Z.value === null ? [] : A.value.map((e) => {
|
|
191
|
+
let t = e.data[Z.value];
|
|
192
|
+
return {
|
|
193
|
+
label: e.name,
|
|
194
|
+
value: t?.label ?? X(t?.y ?? 0),
|
|
195
|
+
color: e.color
|
|
196
|
+
};
|
|
197
|
+
}));
|
|
198
|
+
return (t, n) => (b(), f(a, {
|
|
199
|
+
title: e.title,
|
|
200
|
+
subtitle: e.subtitle,
|
|
201
|
+
height: e.height,
|
|
202
|
+
"show-legend": e.showLegend && A.value.length > 0
|
|
203
|
+
}, {
|
|
204
|
+
legend: E(() => [g(o, { items: A.value.map((e) => ({
|
|
205
|
+
label: e.name,
|
|
206
|
+
color: e.color
|
|
207
|
+
})) }, null, 8, ["items"])]),
|
|
208
|
+
default: E(() => [h("div", {
|
|
209
|
+
ref_key: "root",
|
|
210
|
+
ref: O,
|
|
211
|
+
class: "nb-line-chart"
|
|
212
|
+
}, [(b(), m("svg", {
|
|
213
|
+
width: w(k).width,
|
|
214
|
+
height: w(k).height,
|
|
215
|
+
class: "nb-chart__svg",
|
|
216
|
+
role: "img",
|
|
217
|
+
"aria-label": e.title || w(i).chartLine,
|
|
218
|
+
onMouseleave: n[0] ||= (e) => Z.value = null,
|
|
219
|
+
onMousemove: $
|
|
220
|
+
}, [
|
|
221
|
+
e.showGrid && w(k).width > 0 ? (b(), m("g", F, [(b(!0), m(u, null, S(B.value, (e) => (b(), m("line", {
|
|
222
|
+
key: `grid-${e}`,
|
|
223
|
+
class: "nb-chart__gridline",
|
|
224
|
+
x1: D.left,
|
|
225
|
+
x2: w(k).width - D.right,
|
|
226
|
+
y1: z.value(e),
|
|
227
|
+
y2: z.value(e)
|
|
228
|
+
}, null, 8, I))), 128))])) : p("", !0),
|
|
229
|
+
h("g", ee, [(b(!0), m(u, null, S(B.value, (e) => (b(), m("text", {
|
|
230
|
+
key: `yt-${e}`,
|
|
231
|
+
x: D.left - 6,
|
|
232
|
+
y: H(e),
|
|
233
|
+
"text-anchor": "end",
|
|
234
|
+
"dominant-baseline": "middle"
|
|
235
|
+
}, C(X(e)), 9, te))), 128))]),
|
|
236
|
+
h("g", {
|
|
237
|
+
ref_key: "xAxis",
|
|
238
|
+
ref: G,
|
|
239
|
+
class: "nb-chart__axis"
|
|
240
|
+
}, [(b(!0), m(u, null, S(oe.value, (e, t) => (b(), m("text", {
|
|
241
|
+
key: `xt-${t}`,
|
|
242
|
+
x: e.x,
|
|
243
|
+
y: w(k).height - D.bottom + 14,
|
|
244
|
+
"text-anchor": "middle"
|
|
245
|
+
}, C(e.value), 9, ne))), 128))], 512),
|
|
246
|
+
h("line", {
|
|
247
|
+
class: "nb-chart__axis-line",
|
|
248
|
+
x1: D.left,
|
|
249
|
+
x2: w(k).width - D.right,
|
|
250
|
+
y1: w(k).height - D.bottom,
|
|
251
|
+
y2: w(k).height - D.bottom
|
|
252
|
+
}, null, 8, re),
|
|
253
|
+
(b(!0), m(u, null, S(A.value, (t, n) => (b(), m("g", { key: `s-${n}` }, [
|
|
254
|
+
e.area ? (b(), m("path", {
|
|
255
|
+
key: 0,
|
|
256
|
+
class: "nb-chart__area",
|
|
257
|
+
d: ce(t.data),
|
|
258
|
+
fill: t.color,
|
|
259
|
+
opacity: "0.18"
|
|
260
|
+
}, null, 8, ie)) : p("", !0),
|
|
261
|
+
h("path", {
|
|
262
|
+
class: "nb-chart__line",
|
|
263
|
+
d: se(t.data),
|
|
264
|
+
stroke: t.color,
|
|
265
|
+
fill: "none",
|
|
266
|
+
"stroke-width": "2",
|
|
267
|
+
"stroke-linejoin": "round",
|
|
268
|
+
"stroke-linecap": "round"
|
|
269
|
+
}, null, 8, ae),
|
|
270
|
+
e.points ? (b(!0), m(u, { key: 1 }, S(t.data, (e, r) => (b(), m("circle", {
|
|
271
|
+
key: `p-${n}-${r}`,
|
|
272
|
+
cx: W(r),
|
|
273
|
+
cy: z.value(e.y),
|
|
274
|
+
r: Z.value === r ? 4 : 3,
|
|
275
|
+
fill: t.color,
|
|
276
|
+
class: "nb-chart__point"
|
|
277
|
+
}, null, 8, L))), 128)) : p("", !0)
|
|
278
|
+
]))), 128)),
|
|
279
|
+
Z.value === null ? p("", !0) : (b(), m("line", {
|
|
280
|
+
key: 1,
|
|
281
|
+
class: "nb-chart__hover-line",
|
|
282
|
+
x1: W(Z.value),
|
|
283
|
+
x2: W(Z.value),
|
|
284
|
+
y1: D.top,
|
|
285
|
+
y2: w(k).height - D.bottom
|
|
286
|
+
}, null, 8, R))
|
|
287
|
+
], 40, P)), g(r, {
|
|
288
|
+
visible: e.showTooltip && Z.value !== null,
|
|
289
|
+
x: Q.value.x,
|
|
290
|
+
y: Q.value.y,
|
|
291
|
+
title: Z.value === null ? "" : String(j.value[Z.value]),
|
|
292
|
+
rows: ue.value
|
|
293
|
+
}, null, 8, [
|
|
294
|
+
"visible",
|
|
295
|
+
"x",
|
|
296
|
+
"y",
|
|
297
|
+
"title",
|
|
298
|
+
"rows"
|
|
299
|
+
])], 512)]),
|
|
300
|
+
_: 1
|
|
301
|
+
}, 8, [
|
|
302
|
+
"title",
|
|
303
|
+
"subtitle",
|
|
304
|
+
"height",
|
|
305
|
+
"show-legend"
|
|
306
|
+
]));
|
|
307
|
+
}
|
|
308
|
+
}), [["__scopeId", "data-v-76b34be5"]]);
|
|
309
|
+
//#endregion
|
|
310
|
+
export { z as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./composables/usePhoneLayout.composable.cjs`),t=require(`./composables/useFocusTrap.composable.cjs`);let n=require(`vue`);var r=(0,n.defineComponent)({__name:`Menu`,props:{open:{type:Boolean,default:!1},size:{default:`md`},minWidth:{default:160},maxWidth:{default:288}},emits:[`close`,`update:open`],setup(r,{expose:i,emit:a}){let o=r,s=a,c=(0,n.ref)(null),l=(0,n.ref)(-1),u=(0,n.reactive)([]),{phone:d}=e.usePhoneLayout();function f(e){return d.value?`min(${e}px, calc(100vw - 16px))`:`${e}px`}let p=(0,n.computed)(()=>({position:`fixed`,top:`${m.top}px`,left:`${m.left}px`,minWidth:f(o.minWidth),maxWidth:f(o.maxWidth),zIndex:d.value?`var(--nb-zindex-modal-dropdown)`:`var(--nb-zindex-menu)`})),m=(0,n.reactive)({top:0,left:0});function h(e){m.top=e.bottom,m.left=e.left,_()}function g(e,t){m.top=t,m.left=e,_()}function _(){o.open&&(0,n.nextTick)(O)}function v(){s(`close`),s(`update:open`,!1)}function y(e){return u.includes(e)||u.push(e),u.indexOf(e)}function b(e){let t=u.indexOf(e);t>=0&&u.splice(t,1)}let x=new Set;function S(e){x.add(e)}function C(e){x.delete(e)}(0,n.provide)(`nb-menu`,{size:o.size,close:v,highlightedIndex:l.value,registerItem:y,unregisterItem:b,registerSurface:S,unregisterSurface:C});function w(){return c.value?Array.from(c.value.querySelectorAll(`[role="menuitem"], [role="menuitemcheckbox"], [role="menuitemradio"]`)).filter(e=>!e.closest(`.nb-submenu`)):[]}function T(e){let t=w();e>=0&&e<t.length&&(l.value=e,t[e].focus())}function E(e){if(e.key===`Escape`){if(e.defaultPrevented)return;e.preventDefault(),e.stopPropagation(),v();return}let t=w();if(!t.length)return;let n=t.indexOf(document.activeElement);n>=0&&(l.value=n);let r=e=>t[e]?.getAttribute(`aria-disabled`)!==`true`;function i(e,n){for(let i=1;i<=t.length;i++){let a=(e+n*i+t.length*i)%t.length;if(r(a))return a}return-1}if(e.key===`ArrowDown`){e.preventDefault(),e.stopPropagation();let t=i(l.value,1);t>=0&&T(t)}else if(e.key===`ArrowUp`){e.preventDefault(),e.stopPropagation();let t=i(l.value<0?0:l.value,-1);t>=0&&T(t)}else if(e.key===`Home`){e.preventDefault(),e.stopPropagation();let t=i(-1,1);t>=0&&T(t)}else if(e.key===`End`){e.preventDefault(),e.stopPropagation();let n=i(t.length,-1);n>=0&&T(n)}else if(e.key===`Tab`)v();else if(e.key.length===1&&e.key!==` `&&!e.ctrlKey&&!e.metaKey&&!e.altKey&&!e.target.closest(`input, textarea, [contenteditable]`)){let n=e.key.toLowerCase();for(let i=1;i<=t.length;i++){let a=(l.value+i+t.length)%t.length,o=(t[a].textContent??``).trim().toLowerCase();if(r(a)&&o.startsWith(n)){e.preventDefault(),e.stopPropagation(),T(a);break}}}}function D(e){let t=e.target;if(!(!c.value||c.value.contains(t))){for(let e of x)if(e.contains(t))return;v()}}function O(){if(!c.value)return;let e=c.value.getBoundingClientRect();e.right>window.innerWidth&&(m.left=Math.max(8,window.innerWidth-e.width-8)),e.bottom>window.innerHeight&&(m.top=Math.max(8,window.innerHeight-e.height-8));let t=window.innerHeight-m.top-8;c.value.style.maxHeight=`${t}px`}let k=null;function A(){k=document.activeElement instanceof HTMLElement&&document.activeElement!==document.body?document.activeElement:null}function j(e){if(!e||e===document.body||!e.isConnected||c.value?.contains(e))return!0;for(let t of x)if(t.contains(e))return!0;return!1}function M(){let e=k;if(k=null,!e?.isConnected)return;let n=t.openModalSurfaces(),r=n[n.length-1];r&&!r.contains(e)||j(document.activeElement)&&e.focus()}return(0,n.watch)(()=>o.open,e=>{e?(A(),l.value=-1,document.addEventListener(`mousedown`,D),(0,n.nextTick)(()=>{O(),w().length>0&&T(0)})):(l.value=-1,document.removeEventListener(`mousedown`,D),M())}),(0,n.onBeforeUnmount)(()=>{document.removeEventListener(`mousedown`,D)}),i({setPosition:h,setPositionXY:g,close:v,el:c}),(e,t)=>((0,n.openBlock)(),(0,n.createBlock)(n.Teleport,{to:`body`},[(0,n.createVNode)(n.Transition,{name:`nb-menu`},{default:(0,n.withCtx)(()=>[r.open?((0,n.openBlock)(),(0,n.createElementBlock)(`ul`,{key:0,ref_key:`menuRef`,ref:c,role:`menu`,class:(0,n.normalizeClass)([`nb-menu`,`nb-menu--${r.size}`]),style:(0,n.normalizeStyle)(p.value),onKeydown:E},[(0,n.renderSlot)(e.$slots,`default`)],38)):(0,n.createCommentVNode)(``,!0)]),_:3})]))}});Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return r}});
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import { usePhoneLayout as e } from "./composables/usePhoneLayout.composable.mjs";
|
|
2
|
+
import { openModalSurfaces as t } from "./composables/useFocusTrap.composable.mjs";
|
|
3
|
+
import { Teleport as n, Transition as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createVNode as c, defineComponent as l, nextTick as u, normalizeClass as d, normalizeStyle as f, onBeforeUnmount as p, openBlock as m, provide as h, reactive as g, ref as _, renderSlot as v, watch as y, withCtx as b } from "vue";
|
|
4
|
+
//#endregion
|
|
5
|
+
//#region src/components/Menu.vue
|
|
6
|
+
var x = /* @__PURE__ */ l({
|
|
7
|
+
__name: "Menu",
|
|
8
|
+
props: {
|
|
9
|
+
open: {
|
|
10
|
+
type: Boolean,
|
|
11
|
+
default: !1
|
|
12
|
+
},
|
|
13
|
+
size: { default: "md" },
|
|
14
|
+
minWidth: { default: 160 },
|
|
15
|
+
maxWidth: { default: 288 }
|
|
16
|
+
},
|
|
17
|
+
emits: ["close", "update:open"],
|
|
18
|
+
setup(l, { expose: x, emit: S }) {
|
|
19
|
+
let C = l, w = S, T = _(null), E = _(-1), D = g([]), { phone: O } = e();
|
|
20
|
+
function k(e) {
|
|
21
|
+
return O.value ? `min(${e}px, calc(100vw - 16px))` : `${e}px`;
|
|
22
|
+
}
|
|
23
|
+
let A = i(() => ({
|
|
24
|
+
position: "fixed",
|
|
25
|
+
top: `${j.top}px`,
|
|
26
|
+
left: `${j.left}px`,
|
|
27
|
+
minWidth: k(C.minWidth),
|
|
28
|
+
maxWidth: k(C.maxWidth),
|
|
29
|
+
zIndex: O.value ? "var(--nb-zindex-modal-dropdown)" : "var(--nb-zindex-menu)"
|
|
30
|
+
})), j = g({
|
|
31
|
+
top: 0,
|
|
32
|
+
left: 0
|
|
33
|
+
});
|
|
34
|
+
function M(e) {
|
|
35
|
+
j.top = e.bottom, j.left = e.left, P();
|
|
36
|
+
}
|
|
37
|
+
function N(e, t) {
|
|
38
|
+
j.top = t, j.left = e, P();
|
|
39
|
+
}
|
|
40
|
+
function P() {
|
|
41
|
+
C.open && u(G);
|
|
42
|
+
}
|
|
43
|
+
function F() {
|
|
44
|
+
w("close"), w("update:open", !1);
|
|
45
|
+
}
|
|
46
|
+
function I(e) {
|
|
47
|
+
return D.includes(e) || D.push(e), D.indexOf(e);
|
|
48
|
+
}
|
|
49
|
+
function L(e) {
|
|
50
|
+
let t = D.indexOf(e);
|
|
51
|
+
t >= 0 && D.splice(t, 1);
|
|
52
|
+
}
|
|
53
|
+
let R = /* @__PURE__ */ new Set();
|
|
54
|
+
function z(e) {
|
|
55
|
+
R.add(e);
|
|
56
|
+
}
|
|
57
|
+
function B(e) {
|
|
58
|
+
R.delete(e);
|
|
59
|
+
}
|
|
60
|
+
h("nb-menu", {
|
|
61
|
+
size: C.size,
|
|
62
|
+
close: F,
|
|
63
|
+
highlightedIndex: E.value,
|
|
64
|
+
registerItem: I,
|
|
65
|
+
unregisterItem: L,
|
|
66
|
+
registerSurface: z,
|
|
67
|
+
unregisterSurface: B
|
|
68
|
+
});
|
|
69
|
+
function V() {
|
|
70
|
+
return T.value ? Array.from(T.value.querySelectorAll("[role=\"menuitem\"], [role=\"menuitemcheckbox\"], [role=\"menuitemradio\"]")).filter((e) => !e.closest(".nb-submenu")) : [];
|
|
71
|
+
}
|
|
72
|
+
function H(e) {
|
|
73
|
+
let t = V();
|
|
74
|
+
e >= 0 && e < t.length && (E.value = e, t[e].focus());
|
|
75
|
+
}
|
|
76
|
+
function U(e) {
|
|
77
|
+
if (e.key === "Escape") {
|
|
78
|
+
if (e.defaultPrevented) return;
|
|
79
|
+
e.preventDefault(), e.stopPropagation(), F();
|
|
80
|
+
return;
|
|
81
|
+
}
|
|
82
|
+
let t = V();
|
|
83
|
+
if (!t.length) return;
|
|
84
|
+
let n = t.indexOf(document.activeElement);
|
|
85
|
+
n >= 0 && (E.value = n);
|
|
86
|
+
let r = (e) => t[e]?.getAttribute("aria-disabled") !== "true";
|
|
87
|
+
function i(e, n) {
|
|
88
|
+
for (let i = 1; i <= t.length; i++) {
|
|
89
|
+
let a = (e + n * i + t.length * i) % t.length;
|
|
90
|
+
if (r(a)) return a;
|
|
91
|
+
}
|
|
92
|
+
return -1;
|
|
93
|
+
}
|
|
94
|
+
if (e.key === "ArrowDown") {
|
|
95
|
+
e.preventDefault(), e.stopPropagation();
|
|
96
|
+
let t = i(E.value, 1);
|
|
97
|
+
t >= 0 && H(t);
|
|
98
|
+
} else if (e.key === "ArrowUp") {
|
|
99
|
+
e.preventDefault(), e.stopPropagation();
|
|
100
|
+
let t = i(E.value < 0 ? 0 : E.value, -1);
|
|
101
|
+
t >= 0 && H(t);
|
|
102
|
+
} else if (e.key === "Home") {
|
|
103
|
+
e.preventDefault(), e.stopPropagation();
|
|
104
|
+
let t = i(-1, 1);
|
|
105
|
+
t >= 0 && H(t);
|
|
106
|
+
} else if (e.key === "End") {
|
|
107
|
+
e.preventDefault(), e.stopPropagation();
|
|
108
|
+
let n = i(t.length, -1);
|
|
109
|
+
n >= 0 && H(n);
|
|
110
|
+
} else if (e.key === "Tab") F();
|
|
111
|
+
else if (e.key.length === 1 && e.key !== " " && !e.ctrlKey && !e.metaKey && !e.altKey && !e.target.closest("input, textarea, [contenteditable]")) {
|
|
112
|
+
let n = e.key.toLowerCase();
|
|
113
|
+
for (let i = 1; i <= t.length; i++) {
|
|
114
|
+
let a = (E.value + i + t.length) % t.length, o = (t[a].textContent ?? "").trim().toLowerCase();
|
|
115
|
+
if (r(a) && o.startsWith(n)) {
|
|
116
|
+
e.preventDefault(), e.stopPropagation(), H(a);
|
|
117
|
+
break;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
function W(e) {
|
|
123
|
+
let t = e.target;
|
|
124
|
+
if (!(!T.value || T.value.contains(t))) {
|
|
125
|
+
for (let e of R) if (e.contains(t)) return;
|
|
126
|
+
F();
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
function G() {
|
|
130
|
+
if (!T.value) return;
|
|
131
|
+
let e = T.value.getBoundingClientRect();
|
|
132
|
+
e.right > window.innerWidth && (j.left = Math.max(8, window.innerWidth - e.width - 8)), e.bottom > window.innerHeight && (j.top = Math.max(8, window.innerHeight - e.height - 8));
|
|
133
|
+
let t = window.innerHeight - j.top - 8;
|
|
134
|
+
T.value.style.maxHeight = `${t}px`;
|
|
135
|
+
}
|
|
136
|
+
let K = null;
|
|
137
|
+
function q() {
|
|
138
|
+
K = document.activeElement instanceof HTMLElement && document.activeElement !== document.body ? document.activeElement : null;
|
|
139
|
+
}
|
|
140
|
+
function J(e) {
|
|
141
|
+
if (!e || e === document.body || !e.isConnected || T.value?.contains(e)) return !0;
|
|
142
|
+
for (let t of R) if (t.contains(e)) return !0;
|
|
143
|
+
return !1;
|
|
144
|
+
}
|
|
145
|
+
function Y() {
|
|
146
|
+
let e = K;
|
|
147
|
+
if (K = null, !e?.isConnected) return;
|
|
148
|
+
let n = t(), r = n[n.length - 1];
|
|
149
|
+
r && !r.contains(e) || J(document.activeElement) && e.focus();
|
|
150
|
+
}
|
|
151
|
+
return y(() => C.open, (e) => {
|
|
152
|
+
e ? (q(), E.value = -1, document.addEventListener("mousedown", W), u(() => {
|
|
153
|
+
G(), V().length > 0 && H(0);
|
|
154
|
+
})) : (E.value = -1, document.removeEventListener("mousedown", W), Y());
|
|
155
|
+
}), p(() => {
|
|
156
|
+
document.removeEventListener("mousedown", W);
|
|
157
|
+
}), x({
|
|
158
|
+
setPosition: M,
|
|
159
|
+
setPositionXY: N,
|
|
160
|
+
close: F,
|
|
161
|
+
el: T
|
|
162
|
+
}), (e, t) => (m(), a(n, { to: "body" }, [c(r, { name: "nb-menu" }, {
|
|
163
|
+
default: b(() => [l.open ? (m(), s("ul", {
|
|
164
|
+
key: 0,
|
|
165
|
+
ref_key: "menuRef",
|
|
166
|
+
ref: T,
|
|
167
|
+
role: "menu",
|
|
168
|
+
class: d(["nb-menu", `nb-menu--${l.size}`]),
|
|
169
|
+
style: f(A.value),
|
|
170
|
+
onKeydown: U
|
|
171
|
+
}, [v(e.$slots, "default")], 38)) : o("", !0)]),
|
|
172
|
+
_: 3
|
|
173
|
+
})]));
|
|
174
|
+
}
|
|
175
|
+
});
|
|
176
|
+
//#endregion
|
|
177
|
+
export { x as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
2
2
|
import { createElementBlock as t, defineComponent as n, openBlock as r, provide as i, reactive as a, ref as o, renderSlot as s } from "vue";
|
|
3
3
|
//#endregion
|
|
4
4
|
//#region src/components/MenuBar.vue
|
|
@@ -1 +1 @@
|
|
|
1
|
-
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-
|
|
1
|
+
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`);let t=require(`vue`);var n=(0,t.defineComponent)({__name:`MenuBar`,props:{maxWidth:{default:void 0}},setup(e){let n=(0,t.ref)(null),r=(0,t.ref)(!1),i=(0,t.reactive)([]);function a(e){let t=i.findIndex(t=>t.id===e.id);t>=0?i[t]=e:i.push(e)}function o(e){let t=i.findIndex(t=>t.id===e);t>=0&&i.splice(t,1)}function s(e){n.value&&n.value!==e&&i.find(e=>e.id===n.value)?.close(),n.value=e,r.value=e!==null,e&&i.find(t=>t.id===e)?.open()}function c(){i.forEach(e=>e.close()),n.value=null,r.value=!1}(0,t.provide)(`nb-menubar`,{activeMenu:n,anyOpen:r,setActiveMenu:s,closeAll:c,registerTrigger:a,unregisterTrigger:o});function l(){return i.map(e=>e.el)}function u(e){let t=l(),n=t.findIndex(e=>e===document.activeElement||e.contains(document.activeElement));if(e.key===`ArrowRight`){e.preventDefault();let a=(n+1)%t.length;t[a]?.focus(),r.value&&s(i[a].id)}else if(e.key===`ArrowLeft`){e.preventDefault();let a=(n-1+t.length)%t.length;t[a]?.focus(),r.value&&s(i[a].id)}else e.key===`Escape`&&(c(),n>=0&&t[n]?.focus())}return(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`nav`,{ref:`barRef`,role:`menubar`,class:`nb-menubar`,onKeydown:u},[(0,t.renderSlot)(e.$slots,`default`,{},void 0,!0)],544))}}),r=e.t(n,[[`__scopeId`,`data-v-5bc6f500`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return r}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./Menu-
|
|
1
|
+
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./Menu-CLDGxi-1.cjs`);let t=require(`vue`);var n=[`aria-expanded`],r=(0,t.defineComponent)({__name:`MenuBarItem`,props:{label:{},size:{default:`md`},minWidth:{default:160},maxWidth:{default:288}},setup(r){let i=`nb-menubar-item-${(0,t.useId)()}`,a=(0,t.ref)(null),o=(0,t.ref)(null),s=(0,t.inject)(`nb-menubar`,null),c=(0,t.computed)(()=>s?.activeMenu.value===i);function l(){(0,t.nextTick)(()=>{if(a.value&&o.value){let e=a.value.getBoundingClientRect();o.value.setPosition({top:e.top,left:e.left,bottom:e.bottom,width:e.width})}})}function u(){}function d(e){e.stopPropagation(),e.preventDefault(),c.value?s?.setActiveMenu(null):s?.setActiveMenu(i)}function f(){s?.anyOpen.value&&!c.value&&s.setActiveMenu(i)}function p(){c.value&&s?.setActiveMenu(null)}return(0,t.watch)(c,e=>{e&&l()}),(0,t.onMounted)(()=>{a.value&&s&&s.registerTrigger({id:i,el:a.value,open:l,close:u})}),(0,t.onBeforeUnmount)(()=>{s?.unregisterTrigger(i)}),(i,s)=>((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,null,[(0,t.createElementVNode)(`button`,{ref_key:`triggerRef`,ref:a,type:`button`,role:`menuitem`,class:(0,t.normalizeClass)([`nb-menubar-item`,{"nb-menubar-item--active":c.value}]),"aria-haspopup":`menu`,"aria-expanded":c.value,onMousedown:d,onMouseenter:f},[(0,t.renderSlot)(i.$slots,`trigger`,{},()=>[(0,t.createTextVNode)((0,t.toDisplayString)(r.label),1)])],42,n),(0,t.createVNode)(e.t,{ref_key:`menuRef`,ref:o,open:c.value,size:r.size,"min-width":r.minWidth,"max-width":r.maxWidth,onClose:p},{default:(0,t.withCtx)(()=>[(0,t.renderSlot)(i.$slots,`default`)]),_:3},8,[`open`,`size`,`min-width`,`max-width`])],64))}});Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return r}});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./Menu-
|
|
1
|
+
import { t as e } from "./Menu-C_UsGyKX.js";
|
|
2
2
|
import { Fragment as t, computed as n, createElementBlock as r, createElementVNode as i, createTextVNode as a, createVNode as o, defineComponent as s, inject as c, nextTick as l, normalizeClass as u, onBeforeUnmount as d, onMounted as f, openBlock as p, ref as m, renderSlot as h, toDisplayString as g, useId as _, watch as v, withCtx as y } from "vue";
|
|
3
3
|
//#region src/components/MenuBarItem.vue?vue&type=script&setup=true&lang.ts
|
|
4
4
|
var b = ["aria-expanded"], x = /* @__PURE__ */ s({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-
|
|
1
|
+
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`);let t=require(`vue`);var n={},r={role:`separator`,class:`nb-menu-divider`};function i(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`li`,r)}var a=e.t(n,[[`render`,i]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return a}});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./Icon-
|
|
2
|
-
import { t } from "./Avatar-
|
|
1
|
+
import { t as e } from "./Icon-B2tiGiqZ.js";
|
|
2
|
+
import { t } from "./Avatar-ZG-WROXx.js";
|
|
3
3
|
import { computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, defineComponent as s, inject as c, normalizeClass as l, onBeforeUnmount as u, onMounted as d, openBlock as f, ref as p, renderSlot as m, toDisplayString as h, unref as g, withKeys as _, withModifiers as v } from "vue";
|
|
4
4
|
import { regular as y } from "@nubisco/ui/icons/check";
|
|
5
5
|
//#region src/components/MenuItem.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -11,7 +11,7 @@ var b = [
|
|
|
11
11
|
], x = {
|
|
12
12
|
key: 1,
|
|
13
13
|
class: "nb-menu-item__check-placeholder"
|
|
14
|
-
}, S =
|
|
14
|
+
}, S = ["title"], C = {
|
|
15
15
|
key: 2,
|
|
16
16
|
class: "nb-menu-item__shortcut"
|
|
17
17
|
}, w = /* @__PURE__ */ s({
|
|
@@ -84,7 +84,10 @@ var b = [
|
|
|
84
84
|
size: 16,
|
|
85
85
|
decorative: ""
|
|
86
86
|
}, null, 8, ["name", "picture"]))]),
|
|
87
|
-
o("span",
|
|
87
|
+
o("span", {
|
|
88
|
+
class: "nb-menu-item__label",
|
|
89
|
+
title: s.label || void 0
|
|
90
|
+
}, h(s.label), 9, S),
|
|
88
91
|
s.shortcut ? (f(), a("kbd", C, h(s.shortcut), 1)) : i("", !0),
|
|
89
92
|
m(n.$slots, "trailing")
|
|
90
93
|
], 42, b));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./Icon-CssV4E2-.cjs`),t=require(`./Avatar-UO0ySqkY.cjs`);let n=require(`vue`),r=require(`@nubisco/ui/icons/check`);var i=[`role`,`aria-disabled`,`aria-checked`,`onKeydown`],a={key:1,class:`nb-menu-item__check-placeholder`},o=[`title`],s={key:2,class:`nb-menu-item__shortcut`},c=(0,n.defineComponent)({__name:`MenuItem`,props:{icon:{default:void 0},picture:{default:void 0},label:{},shortcut:{default:void 0},disabled:{type:Boolean,default:!1},danger:{type:Boolean,default:!1},selectable:{type:Boolean,default:!1},selected:{type:Boolean,default:!1},radioGroup:{default:void 0}},emits:[`select`,`highlight`],setup(c,{expose:l,emit:u}){let d=c,f=u,p=(0,n.ref)(null),m=(0,n.inject)(`nb-menu`,null),h=(0,n.computed)(()=>d.radioGroup?`menuitemradio`:d.selectable?`menuitemcheckbox`:`menuitem`),g=(0,n.computed)(()=>[`nb-menu-item`,{"nb-menu-item--disabled":d.disabled,"nb-menu-item--danger":d.danger,"nb-menu-item--selected":d.selected}]);function _(){d.disabled||(f(`select`),m?.close())}return(0,n.onMounted)(()=>{p.value&&m&&m.registerItem(p.value)}),(0,n.onBeforeUnmount)(()=>{p.value&&m&&m.unregisterItem(p.value)}),l({el:p}),(l,u)=>((0,n.openBlock)(),(0,n.createElementBlock)(`li`,{ref_key:`itemRef`,ref:p,class:(0,n.normalizeClass)(g.value),role:h.value,"aria-disabled":c.disabled||void 0,"aria-checked":c.selectable||c.radioGroup?c.selected:void 0,tabindex:-1,onClick:_,onKeydown:[(0,n.withKeys)((0,n.withModifiers)(_,[`prevent`]),[`enter`]),(0,n.withKeys)((0,n.withModifiers)(_,[`prevent`]),[`space`])],onMouseenter:u[0]||=e=>l.$emit(`highlight`)},[c.selectable&&c.selected?((0,n.openBlock)(),(0,n.createBlock)(e.t,{key:0,name:(0,n.unref)(r.regular),size:16,class:`nb-menu-item__check`},null,8,[`name`])):c.selectable?((0,n.openBlock)(),(0,n.createElementBlock)(`span`,a)):(0,n.createCommentVNode)(``,!0),(0,n.renderSlot)(l.$slots,`leading`,{},()=>[c.picture===void 0?c.icon?((0,n.openBlock)(),(0,n.createBlock)(e.t,{key:1,name:c.icon,size:16,class:`nb-menu-item__icon`},null,8,[`name`])):(0,n.createCommentVNode)(``,!0):((0,n.openBlock)(),(0,n.createBlock)(t.t,{key:0,class:`nb-menu-item__icon nb-menu-item__picture`,name:c.label,picture:c.picture,size:16,decorative:``},null,8,[`name`,`picture`]))]),(0,n.createElementVNode)(`span`,{class:`nb-menu-item__label`,title:c.label||void 0},(0,n.toDisplayString)(c.label),9,o),c.shortcut?((0,n.openBlock)(),(0,n.createElementBlock)(`kbd`,s,(0,n.toDisplayString)(c.shortcut),1)):(0,n.createCommentVNode)(``,!0),(0,n.renderSlot)(l.$slots,`trailing`)],42,i))}});Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return c}});
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
2
|
+
import { t } from "./Icon-B2tiGiqZ.js";
|
|
3
|
+
import { computed as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createVNode as o, defineComponent as s, normalizeClass as c, openBlock as l, renderSlot as u } from "vue";
|
|
4
|
+
import * as d from "@nubisco/ui/icons/info";
|
|
5
|
+
import * as f from "@nubisco/ui/icons/warning-circle";
|
|
6
|
+
import * as p from "@nubisco/ui/icons/warning";
|
|
7
|
+
import * as m from "@nubisco/ui/icons/check-circle";
|
|
8
|
+
//#region src/components/Message.d.ts
|
|
9
|
+
var h = /* @__PURE__ */ function(e) {
|
|
10
|
+
return e.Error = "error", e.Warning = "warning", e.Success = "success", e.Helper = "helper", e;
|
|
11
|
+
}(h || {}), g = ["role", "aria-live"], _ = { class: "nb-message__text" }, v = {
|
|
12
|
+
key: 0,
|
|
13
|
+
class: "nb-message__tooltip",
|
|
14
|
+
"aria-hidden": "true"
|
|
15
|
+
}, y = /* @__PURE__ */ e(/* @__PURE__ */ s({
|
|
16
|
+
__name: "Message",
|
|
17
|
+
props: {
|
|
18
|
+
variant: { default: h.Helper },
|
|
19
|
+
iconOnly: {
|
|
20
|
+
type: Boolean,
|
|
21
|
+
default: !1
|
|
22
|
+
},
|
|
23
|
+
live: { default: "auto" }
|
|
24
|
+
},
|
|
25
|
+
setup(e) {
|
|
26
|
+
let s = e, h = n(() => {
|
|
27
|
+
if (s.live !== "off") return s.live === "alert" ? "alert" : "status";
|
|
28
|
+
}), y = n(() => {
|
|
29
|
+
if (s.live !== "off") return s.live === "alert" ? "assertive" : s.live === "status" ? "polite" : s.variant === "error" ? "assertive" : "polite";
|
|
30
|
+
}), b = {
|
|
31
|
+
error: f,
|
|
32
|
+
warning: p,
|
|
33
|
+
success: m,
|
|
34
|
+
helper: d
|
|
35
|
+
};
|
|
36
|
+
return (e, n) => (l(), i("div", {
|
|
37
|
+
class: c([
|
|
38
|
+
"nb-message",
|
|
39
|
+
`nb-message--${s.variant}`,
|
|
40
|
+
{ "nb-message--icon-only": s.iconOnly }
|
|
41
|
+
]),
|
|
42
|
+
role: h.value,
|
|
43
|
+
"aria-live": y.value
|
|
44
|
+
}, [
|
|
45
|
+
o(t, {
|
|
46
|
+
name: b[s.variant],
|
|
47
|
+
size: "sm",
|
|
48
|
+
class: "nb-message__icon"
|
|
49
|
+
}, null, 8, ["name"]),
|
|
50
|
+
a("span", _, [u(e.$slots, "default", {}, void 0, !0)]),
|
|
51
|
+
s.iconOnly ? (l(), i("span", v, [u(e.$slots, "default", {}, void 0, !0)])) : r("", !0)
|
|
52
|
+
], 10, g));
|
|
53
|
+
}
|
|
54
|
+
}), [["__scopeId", "data-v-4d1339fc"]]);
|
|
55
|
+
//#endregion
|
|
56
|
+
export { h as n, y as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`./chunk-D-qHiVGv.cjs`),t=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),n=require(`./Icon-CssV4E2-.cjs`);let r=require(`vue`),i=require(`@nubisco/ui/icons/info`);i=e.n(i);let a=require(`@nubisco/ui/icons/warning-circle`);a=e.n(a);let o=require(`@nubisco/ui/icons/warning`);o=e.n(o);let s=require(`@nubisco/ui/icons/check-circle`);s=e.n(s);var c=function(e){return e.Error=`error`,e.Warning=`warning`,e.Success=`success`,e.Helper=`helper`,e}(c||{}),l=[`role`,`aria-live`],u={class:`nb-message__text`},d={key:0,class:`nb-message__tooltip`,"aria-hidden":`true`},f=(0,r.defineComponent)({__name:`Message`,props:{variant:{default:c.Helper},iconOnly:{type:Boolean,default:!1},live:{default:`auto`}},setup(e){let t=e,c=(0,r.computed)(()=>{if(t.live!==`off`)return t.live===`alert`?`alert`:`status`}),f=(0,r.computed)(()=>{if(t.live!==`off`)return t.live===`alert`?`assertive`:t.live===`status`?`polite`:t.variant===`error`?`assertive`:`polite`}),p={error:a,warning:o,success:s,helper:i};return(e,i)=>((0,r.openBlock)(),(0,r.createElementBlock)(`div`,{class:(0,r.normalizeClass)([`nb-message`,`nb-message--${t.variant}`,{"nb-message--icon-only":t.iconOnly}]),role:c.value,"aria-live":f.value},[(0,r.createVNode)(n.t,{name:p[t.variant],size:`sm`,class:`nb-message__icon`},null,8,[`name`]),(0,r.createElementVNode)(`span`,u,[(0,r.renderSlot)(e.$slots,`default`,{},void 0,!0)]),t.iconOnly?((0,r.openBlock)(),(0,r.createElementBlock)(`span`,d,[(0,r.renderSlot)(e.$slots,`default`,{},void 0,!0)])):(0,r.createCommentVNode)(``,!0)],10,l))}}),p=t.t(f,[[`__scopeId`,`data-v-4d1339fc`]]);Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return p}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./motion-BjVtMTXD.cjs`),t=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),n=require(`./Icon-CssV4E2-.cjs`),r=require(`./composables/useSurfaceLayer.composable.cjs`),i=require(`./Size.d-BQ4_AVQe.cjs`),a=require(`./Button-C0N1cyOQ.cjs`),o=require(`./composables/useFocusTrap.composable.cjs`),s=require(`./Grid-C0muGlj3.cjs`),c=require(`./composables/useNbStrings.composable.cjs`),l=require(`./composables/useVisualViewportVar.composable.cjs`),u=require(`./composables/useScrollLock.composable.cjs`);let d=require(`vue`),f=require(`@nubisco/ui/icons/x`);var p=e.n.short,m=[`[data-nb-confirm-floating]`,`.nb-select__dropdown`,`.nb-menu`,`.nb-date-picker__calendar`,`.nb-user-menu__panel`,`.nb-sidebar-menu-item__flyout`],h=new Set;function g(e){let t=e.trim();return t?(h.add(t),()=>{h.delete(t)}):()=>{}}function _(e=[]){return[...m,...h,...e].map(e=>e.trim()).filter(Boolean).join(`,`)}function v(e,t){if(!e)return;let n=`${t?0:p}ms`;e.style.transitionDuration=n;let r=e.parentElement;r instanceof HTMLElement&&(r.style.transitionDuration=n)}var y=[`role`,`aria-labelledby`,`aria-describedby`,`aria-busy`],b={key:0,class:`nb-modal--header`},x=[`aria-label`,`disabled`,`aria-disabled`],S=[`tabindex`,`role`,`aria-labelledby`],C=(0,d.defineComponent)({__name:`Modal`,props:{open:{type:Boolean,default:!1},title:{default:void 0},size:{default:i.r.Medium},closeOnOverlay:{type:Boolean,default:!0},role:{default:`dialog`},labelledBy:{default:void 0},describedBy:{default:void 0},busy:{type:Boolean,default:!1},closeDisabled:{type:Boolean,default:!1},closeAppearance:{default:`corner`},closeOnEscape:{type:Boolean,default:!0},trapFocus:{type:Boolean,default:!0},initialFocus:{type:[String,Function],default:void 0},floatingSelectors:{default:void 0}},emits:[`close`],setup(e,{expose:t,emit:i}){let p=c.useNbStrings(),m=e,h=i,g=(0,d.useSlots)(),v=(0,d.computed)(()=>!!g.header||!!m.title),C=`nb-modal-title-${(0,d.useId)()}`,w=(0,d.ref)(null),T=(0,d.ref)(null),{layerProps:E}=r.useSurfaceLayer({overlay:!0});function D(){m.closeOnOverlay&&h(`close`)}function O(){let e=m.initialFocus;return e?typeof e==`function`?e():w.value?.querySelector(e)??null:null}o.useFocusTrap({container:()=>w.value,active:()=>m.open&&m.trapFocus,initialFocus:O,floatingSelector:()=>_(m.floatingSelectors)}),l.useVisualViewportVar(()=>m.open);let k=!1;function A(){k||(k=!0,u.acquireScrollLock())}function j(){k&&(k=!1,u.releaseScrollLock())}let M=(0,d.ref)(!1);function N(){let e=T.value;if(!e)return;let t=e.scrollHeight-e.clientHeight;!M.value&&t>4?M.value=!0:M.value&&t<=0&&(M.value=!1)}let P=null,F=null;function I(){let e=T.value;e&&(L(),typeof ResizeObserver<`u`&&(P=new ResizeObserver(()=>N()),P.observe(e)),typeof MutationObserver<`u`&&(F=new MutationObserver(()=>N()),F.observe(e,{childList:!0,subtree:!0,characterData:!0})),N())}function L(){P?.disconnect(),P=null,F?.disconnect(),F=null}(0,d.watch)(()=>m.open,async e=>{e?A():j(),await(0,d.nextTick)(),e?I():(L(),M.value=!1)},{immediate:!0}),(0,d.onUnmounted)(()=>{j(),L()});function R(){let e=w.value;if(!e)return!1;let t=Array.from(document.querySelectorAll(`[aria-modal="true"]`));return t.length===0||t[t.length-1]===e}function z(e){e.key===`Escape`&&(e.defaultPrevented||!m.open||!m.closeOnEscape||m.closeDisabled||R()&&h(`close`))}return(0,d.onMounted)(()=>{document.addEventListener(`keydown`,z),m.open&&I()}),(0,d.onUnmounted)(()=>{document.removeEventListener(`keydown`,z)}),t({dialogEl:()=>w.value,bodyEl:()=>T.value}),(t,r)=>((0,d.openBlock)(),(0,d.createBlock)(d.Teleport,{to:`body`},[(0,d.createVNode)(d.Transition,{name:`nb-modal`},{default:(0,d.withCtx)(()=>[e.open?((0,d.openBlock)(),(0,d.createElementBlock)(`div`,{key:0,class:`nb-modal--overlay`,onClick:(0,d.withModifiers)(D,[`self`])},[(0,d.createElementVNode)(`div`,(0,d.mergeProps)({ref_key:`contentRef`,ref:w,class:[`nb-modal--content`,`nb-modal--content--${e.size}`]},(0,d.unref)(E),{role:e.role,"aria-modal":`true`,"aria-labelledby":e.labelledBy??(v.value?C:void 0),"aria-describedby":e.describedBy,"aria-busy":e.busy?`true`:void 0,tabindex:`-1`,onClick:r[2]||=(0,d.withModifiers)(()=>{},[`stop`])}),[v.value?((0,d.openBlock)(),(0,d.createElementBlock)(`header`,b,[(0,d.createElementVNode)(`span`,{id:C,class:`nb-modal--title`},[(0,d.renderSlot)(t.$slots,`header`,{},()=>[(0,d.createTextVNode)((0,d.toDisplayString)(e.title),1)],!0)]),e.closeAppearance===`button`?((0,d.openBlock)(),(0,d.createBlock)(a.t,{key:0,class:`nb-modal--close-button`,size:`sm`,variant:`ghost`,icon:(0,d.unref)(f.regular),"aria-label":(0,d.unref)(p).modalClose,disabled:e.closeDisabled,onClick:r[0]||=e=>h(`close`)},null,8,[`icon`,`aria-label`,`disabled`])):((0,d.openBlock)(),(0,d.createElementBlock)(`button`,{key:1,class:`nb-modal--close`,"aria-label":(0,d.unref)(p).modalClose,disabled:e.closeDisabled,"aria-disabled":e.closeDisabled?`true`:void 0,onClick:r[1]||=e=>h(`close`)},[(0,d.createVNode)(n.t,{name:(0,d.unref)(f.regular)},null,8,[`name`])],8,x))])):(0,d.createCommentVNode)(``,!0),(0,d.createElementVNode)(`main`,{ref_key:`bodyRef`,ref:T,class:`nb-modal--body`,tabindex:M.value?0:void 0,role:M.value?`region`:void 0,"aria-labelledby":M.value?e.labelledBy??(v.value?C:void 0):void 0},[(0,d.renderSlot)(t.$slots,`default`,{},void 0,!0)],8,S),t.$slots.footer?((0,d.openBlock)(),(0,d.createBlock)(s.t,{key:1,is:`footer`,justify:`end`,class:`nb-modal--footer`,distributed:``},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(t.$slots,`footer`,{},void 0,!0)]),_:3})):(0,d.createCommentVNode)(``,!0)],16,y)])):(0,d.createCommentVNode)(``,!0)]),_:3})]))}}),w=t.t(C,[[`__scopeId`,`data-v-ea6f67ce`]]);Object.defineProperty(exports,`a`,{enumerable:!0,get:function(){return g}}),Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return _}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return p}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return v}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return w}});
|