@nubisco/ui 5.47.0 → 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/plugins/vite/imports.d.ts +15 -0
- package/dist/plugins/vite/imports.d.ts.map +1 -1
- package/dist/plugins/vite/imports.js +77 -4
- package/dist/plugins/vite/index.d.ts.map +1 -1
- package/dist/plugins/vite/index.js +2 -1
- 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/plugins/vite/imports.ts +64 -4
- package/src/plugins/vite/index.ts +2 -1
- 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,182 @@
|
|
|
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 { t as s } from "./useChartSize-CftshgoY.js";
|
|
6
|
+
import { Fragment as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createVNode as m, defineComponent as h, getCurrentInstance as g, normalizeClass as _, normalizeStyle as v, openBlock as y, ref as b, renderList as x, toDisplayString as S, unref as C, withCtx as w } from "vue";
|
|
7
|
+
//#region src/components/Charts/PieChart.vue?vue&type=script&setup=true&lang.ts
|
|
8
|
+
var T = [
|
|
9
|
+
"width",
|
|
10
|
+
"height",
|
|
11
|
+
"role",
|
|
12
|
+
"aria-label"
|
|
13
|
+
], E = ["transform"], D = [
|
|
14
|
+
"d",
|
|
15
|
+
"fill",
|
|
16
|
+
"tabindex",
|
|
17
|
+
"role",
|
|
18
|
+
"aria-label",
|
|
19
|
+
"onMouseenter",
|
|
20
|
+
"onClick",
|
|
21
|
+
"onKeydown"
|
|
22
|
+
], O = ["x", "y"], k = /* @__PURE__ */ e(/* @__PURE__ */ h({
|
|
23
|
+
__name: "PieChart",
|
|
24
|
+
props: {
|
|
25
|
+
data: { default: () => [] },
|
|
26
|
+
innerRadius: { default: 0 },
|
|
27
|
+
labels: { default: "percent" },
|
|
28
|
+
title: { default: void 0 },
|
|
29
|
+
subtitle: { default: void 0 },
|
|
30
|
+
height: { default: 280 },
|
|
31
|
+
showLegend: {
|
|
32
|
+
type: Boolean,
|
|
33
|
+
default: !0
|
|
34
|
+
},
|
|
35
|
+
showTooltip: {
|
|
36
|
+
type: Boolean,
|
|
37
|
+
default: !0
|
|
38
|
+
},
|
|
39
|
+
colors: { default: () => i }
|
|
40
|
+
},
|
|
41
|
+
emits: ["select"],
|
|
42
|
+
setup(e, { emit: i }) {
|
|
43
|
+
let h = t(), k = e, A = i, j = g(), M = () => !!j?.vnode.props?.onSelect, N = (e) => {
|
|
44
|
+
if (!M()) return;
|
|
45
|
+
let t = k.data[e];
|
|
46
|
+
t && A("select", {
|
|
47
|
+
kind: "categorical",
|
|
48
|
+
label: t.label,
|
|
49
|
+
value: t.value,
|
|
50
|
+
index: e,
|
|
51
|
+
datum: t
|
|
52
|
+
});
|
|
53
|
+
}, P = (e, t) => {
|
|
54
|
+
M() && (e.key !== "Enter" && e.key !== " " || (e.preventDefault(), N(t)));
|
|
55
|
+
}, F = b(null), I = s(F, {
|
|
56
|
+
width: 280,
|
|
57
|
+
height: 240
|
|
58
|
+
}), L = l(() => k.data.map((e, t) => ({
|
|
59
|
+
label: e.label,
|
|
60
|
+
value: e.value,
|
|
61
|
+
color: e.color ?? n(t, k.colors)
|
|
62
|
+
}))), R = l(() => L.value.reduce((e, t) => e + Math.max(0, t.value), 0)), z = l(() => I.value.width / 2), B = l(() => I.value.height / 2), V = l(() => Math.max(0, Math.min(I.value.width, I.value.height) / 2 - 8)), H = l(() => Math.max(0, Math.min(.95, k.innerRadius)) * V.value), U = l(() => {
|
|
63
|
+
if (!R.value) return [];
|
|
64
|
+
let e = -Math.PI / 2, t = [];
|
|
65
|
+
for (let n = 0; n < L.value.length; n++) {
|
|
66
|
+
let r = L.value[n], i = Math.max(0, r.value) / R.value, a = e, o = e + i * Math.PI * 2;
|
|
67
|
+
e = o;
|
|
68
|
+
let s = W(a, o, H.value, V.value), c = (a + o) / 2, l = H.value > 0 ? (H.value + V.value) / 2 : V.value * .65, u = Math.cos(c) * l, d = Math.sin(c) * l, f = k.labels === "percent" ? `${Math.round(i * 100)}%` : k.labels === "value" ? String(r.value) : "";
|
|
69
|
+
t.push({
|
|
70
|
+
path: s,
|
|
71
|
+
color: r.color,
|
|
72
|
+
labelX: u,
|
|
73
|
+
labelY: d,
|
|
74
|
+
labelText: f,
|
|
75
|
+
labelColor: "var(--nb-c-white)",
|
|
76
|
+
startAngle: a,
|
|
77
|
+
endAngle: o,
|
|
78
|
+
value: r.value,
|
|
79
|
+
label: r.label
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
return t;
|
|
83
|
+
}), W = (e, t, n, r) => {
|
|
84
|
+
if (Math.abs(t - e) >= Math.PI * 2 - 1e-6) {
|
|
85
|
+
let e = `M ${r} 0 A ${r} ${r} 0 1 1 ${-r} 0 A ${r} ${r} 0 1 1 ${r} 0 Z`;
|
|
86
|
+
return n <= 0 ? e : `${e} ${`M ${n} 0 A ${n} ${n} 0 1 0 ${-n} 0 A ${n} ${n} 0 1 0 ${n} 0 Z`}`;
|
|
87
|
+
}
|
|
88
|
+
let i = Math.cos(e) * r, a = Math.sin(e) * r, o = Math.cos(t) * r, s = Math.sin(t) * r, c = t - e > Math.PI ? 1 : 0;
|
|
89
|
+
if (n <= 0) return `M 0 0 L ${i} ${a} A ${r} ${r} 0 ${c} 1 ${o} ${s} Z`;
|
|
90
|
+
let l = Math.cos(t) * n, u = Math.sin(t) * n, d = Math.cos(e) * n, f = Math.sin(e) * n;
|
|
91
|
+
return [
|
|
92
|
+
`M ${i} ${a}`,
|
|
93
|
+
`A ${r} ${r} 0 ${c} 1 ${o} ${s}`,
|
|
94
|
+
`L ${l} ${u}`,
|
|
95
|
+
`A ${n} ${n} 0 ${c} 0 ${d} ${f}`,
|
|
96
|
+
"Z"
|
|
97
|
+
].join(" ");
|
|
98
|
+
}, G = b(null), K = b({
|
|
99
|
+
x: 0,
|
|
100
|
+
y: 0
|
|
101
|
+
}), q = (e) => {
|
|
102
|
+
let t = e.currentTarget.ownerSVGElement;
|
|
103
|
+
if (!t) return;
|
|
104
|
+
let n = t.getBoundingClientRect();
|
|
105
|
+
K.value = {
|
|
106
|
+
x: e.clientX - n.left + 12,
|
|
107
|
+
y: e.clientY - n.top + 12
|
|
108
|
+
};
|
|
109
|
+
}, J = l(() => {
|
|
110
|
+
if (G.value === null) return [];
|
|
111
|
+
let e = U.value[G.value];
|
|
112
|
+
if (!e) return [];
|
|
113
|
+
let t = R.value ? Math.round(e.value / R.value * 100) : 0;
|
|
114
|
+
return [{
|
|
115
|
+
label: e.label,
|
|
116
|
+
value: `${e.value} (${t}%)`,
|
|
117
|
+
color: e.color
|
|
118
|
+
}];
|
|
119
|
+
});
|
|
120
|
+
return (t, n) => (y(), u(a, {
|
|
121
|
+
title: e.title,
|
|
122
|
+
subtitle: e.subtitle,
|
|
123
|
+
height: e.height,
|
|
124
|
+
"show-legend": e.showLegend && L.value.length > 0
|
|
125
|
+
}, {
|
|
126
|
+
legend: w(() => [m(o, { items: L.value.map((e) => ({
|
|
127
|
+
label: e.label,
|
|
128
|
+
color: e.color
|
|
129
|
+
})) }, null, 8, ["items"])]),
|
|
130
|
+
default: w(() => [p("div", {
|
|
131
|
+
ref_key: "root",
|
|
132
|
+
ref: F,
|
|
133
|
+
class: "nb-pie-chart"
|
|
134
|
+
}, [(y(), f("svg", {
|
|
135
|
+
width: C(I).width,
|
|
136
|
+
height: C(I).height,
|
|
137
|
+
class: _(["nb-chart__svg", { "nb-chart__svg--selectable": M() }]),
|
|
138
|
+
role: M() ? "group" : "img",
|
|
139
|
+
"aria-label": e.title || C(h).chartPie,
|
|
140
|
+
onMouseleave: n[1] ||= (e) => G.value = null
|
|
141
|
+
}, [p("g", { transform: `translate(${z.value}, ${B.value})` }, [(y(!0), f(c, null, x(U.value, (e, t) => (y(), f("path", {
|
|
142
|
+
key: `slice-${t}`,
|
|
143
|
+
class: _(["nb-chart__slice", { "is-dim": G.value !== null && G.value !== t }]),
|
|
144
|
+
d: e.path,
|
|
145
|
+
fill: e.color,
|
|
146
|
+
tabindex: M() ? 0 : void 0,
|
|
147
|
+
role: M() ? "button" : void 0,
|
|
148
|
+
"aria-label": M() ? `${e.label}: ${e.value}` : void 0,
|
|
149
|
+
onMouseenter: (e) => G.value = t,
|
|
150
|
+
onMousemove: n[0] ||= (e) => q(e),
|
|
151
|
+
onClick: (e) => N(t),
|
|
152
|
+
onKeydown: (e) => P(e, t)
|
|
153
|
+
}, null, 42, D))), 128)), e.labels === "none" ? d("", !0) : (y(!0), f(c, { key: 0 }, x(U.value, (e, t) => (y(), f("text", {
|
|
154
|
+
key: `lab-${t}`,
|
|
155
|
+
class: "nb-chart__slice-label",
|
|
156
|
+
x: e.labelX,
|
|
157
|
+
y: e.labelY,
|
|
158
|
+
"text-anchor": "middle",
|
|
159
|
+
"dominant-baseline": "middle",
|
|
160
|
+
style: v({ fill: e.labelColor })
|
|
161
|
+
}, S(e.labelText), 13, O))), 128))], 8, E)], 42, T)), m(r, {
|
|
162
|
+
visible: e.showTooltip && G.value !== null,
|
|
163
|
+
x: K.value.x,
|
|
164
|
+
y: K.value.y,
|
|
165
|
+
rows: J.value
|
|
166
|
+
}, null, 8, [
|
|
167
|
+
"visible",
|
|
168
|
+
"x",
|
|
169
|
+
"y",
|
|
170
|
+
"rows"
|
|
171
|
+
])], 512)]),
|
|
172
|
+
_: 1
|
|
173
|
+
}, 8, [
|
|
174
|
+
"title",
|
|
175
|
+
"subtitle",
|
|
176
|
+
"height",
|
|
177
|
+
"show-legend"
|
|
178
|
+
]));
|
|
179
|
+
}
|
|
180
|
+
}), [["__scopeId", "data-v-fd8b338b"]]);
|
|
181
|
+
//#endregion
|
|
182
|
+
export { k as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),t=require(`./composables/useNbStrings.composable.cjs`),n=require(`./palette-B7XEOMVB.cjs`),r=require(`./ChartLegend-C81jju4k.cjs`),i=require(`./useChartSize-B6Bes760.cjs`);let a=require(`vue`);var o=[`width`,`height`,`role`,`aria-label`],s=[`transform`],c=[`d`,`fill`,`tabindex`,`role`,`aria-label`,`onMouseenter`,`onClick`,`onKeydown`],l=[`x`,`y`],u=(0,a.defineComponent)({__name:`PieChart`,props:{data:{default:()=>[]},innerRadius:{default:0},labels:{default:`percent`},title:{default:void 0},subtitle:{default:void 0},height:{default:280},showLegend:{type:Boolean,default:!0},showTooltip:{type:Boolean,default:!0},colors:{default:()=>n.n}},emits:[`select`],setup(e,{emit:u}){let d=t.useNbStrings(),f=e,p=u,m=(0,a.getCurrentInstance)(),h=()=>!!m?.vnode.props?.onSelect,g=e=>{if(!h())return;let t=f.data[e];t&&p(`select`,{kind:`categorical`,label:t.label,value:t.value,index:e,datum:t})},_=(e,t)=>{h()&&(e.key!==`Enter`&&e.key!==` `||(e.preventDefault(),g(t)))},v=(0,a.ref)(null),y=i.t(v,{width:280,height:240}),b=(0,a.computed)(()=>f.data.map((e,t)=>({label:e.label,value:e.value,color:e.color??n.i(t,f.colors)}))),x=(0,a.computed)(()=>b.value.reduce((e,t)=>e+Math.max(0,t.value),0)),S=(0,a.computed)(()=>y.value.width/2),C=(0,a.computed)(()=>y.value.height/2),w=(0,a.computed)(()=>Math.max(0,Math.min(y.value.width,y.value.height)/2-8)),T=(0,a.computed)(()=>Math.max(0,Math.min(.95,f.innerRadius))*w.value),E=(0,a.computed)(()=>{if(!x.value)return[];let e=-Math.PI/2,t=[];for(let n=0;n<b.value.length;n++){let r=b.value[n],i=Math.max(0,r.value)/x.value,a=e,o=e+i*Math.PI*2;e=o;let s=D(a,o,T.value,w.value),c=(a+o)/2,l=T.value>0?(T.value+w.value)/2:w.value*.65,u=Math.cos(c)*l,d=Math.sin(c)*l,p=f.labels===`percent`?`${Math.round(i*100)}%`:f.labels===`value`?String(r.value):``;t.push({path:s,color:r.color,labelX:u,labelY:d,labelText:p,labelColor:`var(--nb-c-white)`,startAngle:a,endAngle:o,value:r.value,label:r.label})}return t}),D=(e,t,n,r)=>{if(Math.abs(t-e)>=Math.PI*2-1e-6){let e=`M ${r} 0 A ${r} ${r} 0 1 1 ${-r} 0 A ${r} ${r} 0 1 1 ${r} 0 Z`;return n<=0?e:`${e} ${`M ${n} 0 A ${n} ${n} 0 1 0 ${-n} 0 A ${n} ${n} 0 1 0 ${n} 0 Z`}`}let i=Math.cos(e)*r,a=Math.sin(e)*r,o=Math.cos(t)*r,s=Math.sin(t)*r,c=t-e>Math.PI?1:0;if(n<=0)return`M 0 0 L ${i} ${a} A ${r} ${r} 0 ${c} 1 ${o} ${s} Z`;let l=Math.cos(t)*n,u=Math.sin(t)*n,d=Math.cos(e)*n,f=Math.sin(e)*n;return[`M ${i} ${a}`,`A ${r} ${r} 0 ${c} 1 ${o} ${s}`,`L ${l} ${u}`,`A ${n} ${n} 0 ${c} 0 ${d} ${f}`,`Z`].join(` `)},O=(0,a.ref)(null),k=(0,a.ref)({x:0,y:0}),A=e=>{let t=e.currentTarget.ownerSVGElement;if(!t)return;let n=t.getBoundingClientRect();k.value={x:e.clientX-n.left+12,y:e.clientY-n.top+12}},j=(0,a.computed)(()=>{if(O.value===null)return[];let e=E.value[O.value];if(!e)return[];let t=x.value?Math.round(e.value/x.value*100):0;return[{label:e.label,value:`${e.value} (${t}%)`,color:e.color}]});return(t,i)=>((0,a.openBlock)(),(0,a.createBlock)(n.u,{title:e.title,subtitle:e.subtitle,height:e.height,"show-legend":e.showLegend&&b.value.length>0},{legend:(0,a.withCtx)(()=>[(0,a.createVNode)(r.t,{items:b.value.map(e=>({label:e.label,color:e.color}))},null,8,[`items`])]),default:(0,a.withCtx)(()=>[(0,a.createElementVNode)(`div`,{ref_key:`root`,ref:v,class:`nb-pie-chart`},[((0,a.openBlock)(),(0,a.createElementBlock)(`svg`,{width:(0,a.unref)(y).width,height:(0,a.unref)(y).height,class:(0,a.normalizeClass)([`nb-chart__svg`,{"nb-chart__svg--selectable":h()}]),role:h()?`group`:`img`,"aria-label":e.title||(0,a.unref)(d).chartPie,onMouseleave:i[1]||=e=>O.value=null},[(0,a.createElementVNode)(`g`,{transform:`translate(${S.value}, ${C.value})`},[((0,a.openBlock)(!0),(0,a.createElementBlock)(a.Fragment,null,(0,a.renderList)(E.value,(e,t)=>((0,a.openBlock)(),(0,a.createElementBlock)(`path`,{key:`slice-${t}`,class:(0,a.normalizeClass)([`nb-chart__slice`,{"is-dim":O.value!==null&&O.value!==t}]),d:e.path,fill:e.color,tabindex:h()?0:void 0,role:h()?`button`:void 0,"aria-label":h()?`${e.label}: ${e.value}`:void 0,onMouseenter:e=>O.value=t,onMousemove:i[0]||=e=>A(e),onClick:e=>g(t),onKeydown:e=>_(e,t)},null,42,c))),128)),e.labels===`none`?(0,a.createCommentVNode)(``,!0):((0,a.openBlock)(!0),(0,a.createElementBlock)(a.Fragment,{key:0},(0,a.renderList)(E.value,(e,t)=>((0,a.openBlock)(),(0,a.createElementBlock)(`text`,{key:`lab-${t}`,class:`nb-chart__slice-label`,x:e.labelX,y:e.labelY,"text-anchor":`middle`,"dominant-baseline":`middle`,style:(0,a.normalizeStyle)({fill:e.labelColor})},(0,a.toDisplayString)(e.labelText),13,l))),128))],8,s)],42,o)),(0,a.createVNode)(n.l,{visible:e.showTooltip&&O.value!==null,x:k.value.x,y:k.value.y,rows:j.value},null,8,[`visible`,`x`,`y`,`rows`])],512)]),_:1},8,[`title`,`subtitle`,`height`,`show-legend`]))}}),d=e.t(u,[[`__scopeId`,`data-v-fd8b338b`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return d}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=Symbol.for(`@nubisco/ui:primary-action-scope`);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return e}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./PrimaryAction.context-2v_jcQAo.cjs`);let t=require(`vue`);var n=(0,t.defineComponent)({__name:`PrimaryActionScope`,props:{owner:{}},setup(n){let r=n,i=0,a=!1;function o(){return!(typeof process<`u`&&process.env.NODE_ENV===`production`)}return(0,t.provide)(e.t,{register(){i+=1,i>1&&!a&&o()&&(a=!0,console.warn(`[${r.owner}] ${i} filled primary buttons in one header's actions slot. A header carries one primary action: step the others down to \`tertiary\` or \`ghost\`. See https://docs.nubisco.io/ui/principles/hierarchy`));let e=!0;return()=>{e&&(e=!1,--i)}}}),(e,n)=>(0,t.renderSlot)(e.$slots,`default`)}});Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return n}});
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { t as e } from "./PrimaryAction.context-BkYkcMlm.js";
|
|
2
|
+
import { defineComponent as t, provide as n, renderSlot as r } from "vue";
|
|
3
|
+
//#endregion
|
|
4
|
+
//#region src/components/PrimaryActionScope.vue
|
|
5
|
+
var i = /* @__PURE__ */ t({
|
|
6
|
+
__name: "PrimaryActionScope",
|
|
7
|
+
props: { owner: {} },
|
|
8
|
+
setup(t) {
|
|
9
|
+
let i = t, a = 0, o = !1;
|
|
10
|
+
function s() {
|
|
11
|
+
return !(typeof process < "u" && process.env.NODE_ENV === "production");
|
|
12
|
+
}
|
|
13
|
+
return n(e, { register() {
|
|
14
|
+
a += 1, a > 1 && !o && s() && (o = !0, console.warn(`[${i.owner}] ${a} filled primary buttons in one header's actions slot. A header carries one primary action: step the others down to \`tertiary\` or \`ghost\`. See https://docs.nubisco.io/ui/principles/hierarchy`));
|
|
15
|
+
let e = !0;
|
|
16
|
+
return () => {
|
|
17
|
+
e && (e = !1, --a);
|
|
18
|
+
};
|
|
19
|
+
} }), (e, t) => r(e.$slots, "default");
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
23
|
+
export { i as t };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(`./chunk-D-qHiVGv.cjs`),t=require(`./_plugin-vue_export-helper-
|
|
1
|
+
const e=require(`./chunk-D-qHiVGv.cjs`),t=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),n=require(`./Icon-CssV4E2-.cjs`),r=require(`./Label-CTOPIIbR.cjs`),i=require(`./Message-Bija1nMK.cjs`);let a=require(`vue`),o=require(`@nubisco/ui/icons/warning-circle`);o=e.n(o);let s=require(`@nubisco/ui/icons/check-circle`);s=e.n(s);var c=function(e){return e.Small=`sm`,e.Medium=`md`,e}(c||{}),l=function(e){return e.Active=`active`,e.Finished=`finished`,e.Error=`error`,e}(l||{}),u={key:0,class:`nb-progress-bar__header`},d=[`aria-label`,`aria-valuemax`,`aria-valuenow`],f=(0,a.defineComponent)({__name:`ProgressBar`,props:{value:{default:void 0},max:{default:100},helper:{default:void 0},size:{default:c.Medium},status:{default:l.Active},hideLabel:{type:Boolean,default:!1},id:{default:`progress-bar`},label:{}},setup(e){let t=e,c=(0,a.computed)(()=>t.value==null&&t.status===l.Active),f=(0,a.computed)(()=>t.status===l.Active?t.value==null||t.max<=0?0:Math.min(Math.max(t.value/t.max,0),1):1),p=(0,a.computed)(()=>c.value?void 0:f.value*t.max),m=(0,a.computed)(()=>[`nb-progress-bar`,`nb-progress-bar--${t.size}`,`nb-progress-bar--${t.status}`,{"nb-progress-bar--indeterminate":c.value}]),h=(0,a.computed)(()=>({transform:`scaleX(${f.value})`})),g=(0,a.computed)(()=>t.status===l.Finished?s:t.status===l.Error?o:null),_=(0,a.computed)(()=>t.status===l.Error?i.n.Error:i.n.Helper);return(t,o)=>((0,a.openBlock)(),(0,a.createElementBlock)(`div`,{class:(0,a.normalizeClass)(m.value)},[e.label&&!e.hideLabel?((0,a.openBlock)(),(0,a.createElementBlock)(`div`,u,[(0,a.createVNode)(r.t,null,{default:(0,a.withCtx)(()=>[(0,a.createTextVNode)((0,a.toDisplayString)(e.label),1)]),_:1}),g.value?((0,a.openBlock)(),(0,a.createBlock)(n.t,{key:0,name:g.value,size:`sm`,class:`nb-progress-bar__status-icon`},null,8,[`name`])):(0,a.createCommentVNode)(``,!0)])):(0,a.createCommentVNode)(``,!0),(0,a.createElementVNode)(`div`,{class:`nb-progress-bar__track`,role:`progressbar`,"aria-label":e.label,"aria-valuemin":`0`,"aria-valuemax":e.max,"aria-valuenow":p.value},[(0,a.createElementVNode)(`div`,{class:`nb-progress-bar__bar`,style:(0,a.normalizeStyle)(h.value)},null,4)],8,d),e.helper?((0,a.openBlock)(),(0,a.createBlock)(i.t,{key:1,variant:_.value,class:`nb-progress-bar__message`},{default:(0,a.withCtx)(()=>[(0,a.createTextVNode)((0,a.toDisplayString)(e.helper),1)]),_:1},8,[`variant`])):(0,a.createCommentVNode)(``,!0)],2))}}),p=t.t(f,[[`__scopeId`,`data-v-e3e26acc`]]);Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return p}});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-
|
|
2
|
-
import { t } from "./Icon-
|
|
3
|
-
import { t as n } from "./Label-
|
|
4
|
-
import { n as r, t as i } from "./Message-
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
2
|
+
import { t } from "./Icon-B2tiGiqZ.js";
|
|
3
|
+
import { t as n } from "./Label-BDMCrURR.js";
|
|
4
|
+
import { n as r, t as i } from "./Message-BONOwoVY.js";
|
|
5
5
|
import { computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, normalizeClass as p, normalizeStyle as m, openBlock as h, toDisplayString as g, withCtx as _ } from "vue";
|
|
6
6
|
import * as v from "@nubisco/ui/icons/warning-circle";
|
|
7
7
|
import * as y from "@nubisco/ui/icons/check-circle";
|
|
@@ -46,7 +46,7 @@ var b = /* @__PURE__ */ function(e) {
|
|
|
46
46
|
}), O.value ? (h(), o(t, {
|
|
47
47
|
key: 0,
|
|
48
48
|
name: O.value,
|
|
49
|
-
size:
|
|
49
|
+
size: "sm",
|
|
50
50
|
class: "nb-progress-bar__status-icon"
|
|
51
51
|
}, null, 8, ["name"])) : s("", !0)])) : s("", !0),
|
|
52
52
|
l("div", {
|
|
@@ -70,6 +70,6 @@ var b = /* @__PURE__ */ function(e) {
|
|
|
70
70
|
}, 8, ["variant"])) : s("", !0)
|
|
71
71
|
], 2));
|
|
72
72
|
}
|
|
73
|
-
}), [["__scopeId", "data-v-
|
|
73
|
+
}), [["__scopeId", "data-v-e3e26acc"]]);
|
|
74
74
|
//#endregion
|
|
75
75
|
export { b as n, x as r, w as t };
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
2
|
+
import { useStableId as t } from "./composables/useStableId.composable.mjs";
|
|
3
|
+
import { t as n } from "./Label-BDMCrURR.js";
|
|
4
|
+
import { t as r } from "./Message-BONOwoVY.js";
|
|
5
|
+
import { useFieldMessage as i } from "./composables/useFieldMessage.composable.mjs";
|
|
6
|
+
import { Fragment as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, defineComponent as f, normalizeClass as p, openBlock as m, renderList as h, toDisplayString as g, unref as _, withCtx as v } from "vue";
|
|
7
|
+
//#region src/components/Radio.d.ts
|
|
8
|
+
var y = /* @__PURE__ */ function(e) {
|
|
9
|
+
return e.Horizontal = "horizontal", e.Vertical = "vertical", e;
|
|
10
|
+
}(y || {}), b = [
|
|
11
|
+
"aria-labelledby",
|
|
12
|
+
"aria-invalid",
|
|
13
|
+
"aria-describedby",
|
|
14
|
+
"aria-disabled"
|
|
15
|
+
], x = { class: "nb-radio__control" }, S = [
|
|
16
|
+
"name",
|
|
17
|
+
"value",
|
|
18
|
+
"checked",
|
|
19
|
+
"disabled",
|
|
20
|
+
"readonly",
|
|
21
|
+
"onChange"
|
|
22
|
+
], C = { class: "nb-radio__circle" }, w = {
|
|
23
|
+
key: 0,
|
|
24
|
+
class: "nb-radio__dot"
|
|
25
|
+
}, T = { class: "nb-radio__text" }, E = /* @__PURE__ */ e(/* @__PURE__ */ f({
|
|
26
|
+
__name: "Radio",
|
|
27
|
+
props: {
|
|
28
|
+
modelValue: {},
|
|
29
|
+
options: {},
|
|
30
|
+
name: {},
|
|
31
|
+
direction: { default: y.Vertical },
|
|
32
|
+
readonly: {
|
|
33
|
+
type: Boolean,
|
|
34
|
+
default: !1
|
|
35
|
+
},
|
|
36
|
+
disabled: {
|
|
37
|
+
type: Boolean,
|
|
38
|
+
default: !1
|
|
39
|
+
},
|
|
40
|
+
required: { type: Boolean },
|
|
41
|
+
id: { default: "radio" },
|
|
42
|
+
label: {},
|
|
43
|
+
error: { default: void 0 },
|
|
44
|
+
warning: { default: void 0 },
|
|
45
|
+
helper: { default: void 0 }
|
|
46
|
+
},
|
|
47
|
+
emits: ["update:modelValue"],
|
|
48
|
+
setup(e) {
|
|
49
|
+
let f = e, y = t({}), E = o(() => f.id && f.id !== "radio" ? f.id : y), D = o(() => `${E.value}-label`), { variant: O, text: k, messageId: A, invalid: j, live: M, key: N } = i(f, E), P = o(() => ["nb-radio", {
|
|
50
|
+
"nb-radio--error": !!f.error,
|
|
51
|
+
"nb-radio--warning": !f.error && !!f.warning,
|
|
52
|
+
"nb-radio--disabled": f.disabled,
|
|
53
|
+
"nb-radio--readonly": f.readonly
|
|
54
|
+
}]);
|
|
55
|
+
function F(e) {
|
|
56
|
+
return ["nb-radio__option", {
|
|
57
|
+
"nb-radio__option--disabled": f.disabled || e.disabled,
|
|
58
|
+
"nb-radio__option--readonly": f.readonly
|
|
59
|
+
}];
|
|
60
|
+
}
|
|
61
|
+
return (t, i) => (m(), l("div", { class: p(P.value) }, [
|
|
62
|
+
e.label ? (m(), s(n, {
|
|
63
|
+
key: 0,
|
|
64
|
+
id: D.value
|
|
65
|
+
}, {
|
|
66
|
+
default: v(() => [d(g(e.label), 1)]),
|
|
67
|
+
_: 1
|
|
68
|
+
}, 8, ["id"])) : c("", !0),
|
|
69
|
+
u("div", {
|
|
70
|
+
class: p(["nb-radio__group", `nb-radio__group--${e.direction}`]),
|
|
71
|
+
role: "radiogroup",
|
|
72
|
+
"aria-labelledby": e.label ? D.value : void 0,
|
|
73
|
+
"aria-invalid": _(j),
|
|
74
|
+
"aria-describedby": _(A),
|
|
75
|
+
"aria-disabled": e.disabled || void 0
|
|
76
|
+
}, [(m(!0), l(a, null, h(e.options, (n) => (m(), l("label", {
|
|
77
|
+
key: n.value,
|
|
78
|
+
class: p(F(n))
|
|
79
|
+
}, [u("span", x, [u("input", {
|
|
80
|
+
type: "radio",
|
|
81
|
+
name: e.name,
|
|
82
|
+
value: n.value,
|
|
83
|
+
checked: e.modelValue === n.value,
|
|
84
|
+
disabled: e.disabled || n.disabled,
|
|
85
|
+
readonly: e.readonly,
|
|
86
|
+
class: "nb-radio__input",
|
|
87
|
+
onChange: (r) => !e.readonly && t.$emit("update:modelValue", n.value)
|
|
88
|
+
}, null, 40, S), u("span", C, [e.modelValue === n.value ? (m(), l("span", w)) : c("", !0)])]), u("span", T, g(n.label), 1)], 2))), 128))], 10, b),
|
|
89
|
+
_(O) ? (m(), s(r, {
|
|
90
|
+
id: _(A),
|
|
91
|
+
key: _(N),
|
|
92
|
+
variant: _(O),
|
|
93
|
+
live: _(M),
|
|
94
|
+
class: "nb-radio__message"
|
|
95
|
+
}, {
|
|
96
|
+
default: v(() => [d(g(_(k)), 1)]),
|
|
97
|
+
_: 1
|
|
98
|
+
}, 8, [
|
|
99
|
+
"id",
|
|
100
|
+
"variant",
|
|
101
|
+
"live"
|
|
102
|
+
])) : c("", !0)
|
|
103
|
+
], 2));
|
|
104
|
+
}
|
|
105
|
+
}), [["__scopeId", "data-v-6eea4e2a"]]);
|
|
106
|
+
//#endregion
|
|
107
|
+
export { y as n, E as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),t=require(`./composables/useStableId.composable.cjs`),n=require(`./Label-CTOPIIbR.cjs`),r=require(`./Message-Bija1nMK.cjs`),i=require(`./composables/useFieldMessage.composable.cjs`);let a=require(`vue`);var o=function(e){return e.Horizontal=`horizontal`,e.Vertical=`vertical`,e}(o||{}),s=[`aria-labelledby`,`aria-invalid`,`aria-describedby`,`aria-disabled`],c={class:`nb-radio__control`},l=[`name`,`value`,`checked`,`disabled`,`readonly`,`onChange`],u={class:`nb-radio__circle`},d={key:0,class:`nb-radio__dot`},f={class:`nb-radio__text`},p=(0,a.defineComponent)({__name:`Radio`,props:{modelValue:{},options:{},name:{},direction:{default:o.Vertical},readonly:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},required:{type:Boolean},id:{default:`radio`},label:{},error:{default:void 0},warning:{default:void 0},helper:{default:void 0}},emits:[`update:modelValue`],setup(e){let o=e,p=t.useStableId({}),m=(0,a.computed)(()=>o.id&&o.id!==`radio`?o.id:p),h=(0,a.computed)(()=>`${m.value}-label`),{variant:g,text:_,messageId:v,invalid:y,live:b,key:x}=i.useFieldMessage(o,m),S=(0,a.computed)(()=>[`nb-radio`,{"nb-radio--error":!!o.error,"nb-radio--warning":!o.error&&!!o.warning,"nb-radio--disabled":o.disabled,"nb-radio--readonly":o.readonly}]);function C(e){return[`nb-radio__option`,{"nb-radio__option--disabled":o.disabled||e.disabled,"nb-radio__option--readonly":o.readonly}]}return(t,i)=>((0,a.openBlock)(),(0,a.createElementBlock)(`div`,{class:(0,a.normalizeClass)(S.value)},[e.label?((0,a.openBlock)(),(0,a.createBlock)(n.t,{key:0,id:h.value},{default:(0,a.withCtx)(()=>[(0,a.createTextVNode)((0,a.toDisplayString)(e.label),1)]),_:1},8,[`id`])):(0,a.createCommentVNode)(``,!0),(0,a.createElementVNode)(`div`,{class:(0,a.normalizeClass)([`nb-radio__group`,`nb-radio__group--${e.direction}`]),role:`radiogroup`,"aria-labelledby":e.label?h.value:void 0,"aria-invalid":(0,a.unref)(y),"aria-describedby":(0,a.unref)(v),"aria-disabled":e.disabled||void 0},[((0,a.openBlock)(!0),(0,a.createElementBlock)(a.Fragment,null,(0,a.renderList)(e.options,n=>((0,a.openBlock)(),(0,a.createElementBlock)(`label`,{key:n.value,class:(0,a.normalizeClass)(C(n))},[(0,a.createElementVNode)(`span`,c,[(0,a.createElementVNode)(`input`,{type:`radio`,name:e.name,value:n.value,checked:e.modelValue===n.value,disabled:e.disabled||n.disabled,readonly:e.readonly,class:`nb-radio__input`,onChange:r=>!e.readonly&&t.$emit(`update:modelValue`,n.value)},null,40,l),(0,a.createElementVNode)(`span`,u,[e.modelValue===n.value?((0,a.openBlock)(),(0,a.createElementBlock)(`span`,d)):(0,a.createCommentVNode)(``,!0)])]),(0,a.createElementVNode)(`span`,f,(0,a.toDisplayString)(n.label),1)],2))),128))],10,s),(0,a.unref)(g)?((0,a.openBlock)(),(0,a.createBlock)(r.t,{id:(0,a.unref)(v),key:(0,a.unref)(x),variant:(0,a.unref)(g),live:(0,a.unref)(b),class:`nb-radio__message`},{default:(0,a.withCtx)(()=>[(0,a.createTextVNode)((0,a.toDisplayString)((0,a.unref)(_)),1)]),_:1},8,[`id`,`variant`,`live`])):(0,a.createCommentVNode)(``,!0)],2))}}),m=e.t(p,[[`__scopeId`,`data-v-6eea4e2a`]]);Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return m}});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-
|
|
2
|
-
import { t } from "./Icon-
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
2
|
+
import { t } from "./Icon-B2tiGiqZ.js";
|
|
3
3
|
import { useStableId as n } from "./composables/useStableId.composable.mjs";
|
|
4
4
|
import { useSurfaceLayer as r } from "./composables/useSurfaceLayer.composable.mjs";
|
|
5
5
|
import { Fragment as i, computed as a, createElementBlock as o, createElementVNode as s, createTextVNode as c, createVNode as l, defineComponent as u, mergeProps as d, normalizeClass as f, onBeforeUnmount as p, openBlock as m, ref as h, renderList as g, renderSlot as _, toDisplayString as v, unref as y } from "vue";
|
|
@@ -178,6 +178,6 @@ var x = ["aria-label", "aria-describedby"], S = ["data-index", "onPointerdown"],
|
|
|
178
178
|
s("li", E, v(I.value), 1)
|
|
179
179
|
], 10, x));
|
|
180
180
|
}
|
|
181
|
-
}), [["__scopeId", "data-v-
|
|
181
|
+
}), [["__scopeId", "data-v-f1d60ad0"]]);
|
|
182
182
|
//#endregion
|
|
183
183
|
export { D as t };
|
|
@@ -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`),t=require(`./Icon-CssV4E2-.cjs`),n=require(`./composables/useStableId.composable.cjs`),r=require(`./composables/useSurfaceLayer.composable.cjs`);let i=require(`vue`),a=require(`@nubisco/ui/icons/dots-six-vertical`);var o=[`aria-label`,`aria-describedby`],s=[`data-index`,`onPointerdown`],c=[`tabindex`,`aria-disabled`,`aria-label`,`onKeydown`,`onBlur`],l={class:`nb-reorder-list__content`},u=[`id`],d={class:`nb-reorder-list__sr`,"aria-live":`assertive`},f=(0,i.defineComponent)({__name:`ReorderList`,props:{modelValue:{default:()=>[]},itemKey:{type:[String,Function],default:void 0},handle:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},label:{default:``}},emits:[`update:modelValue`,`reorder`],setup(e,{emit:f}){let p=e,m=f,h=n.useStableId({}),g=(0,i.ref)(null),{layerProps:_}=r.useSurfaceLayer({el:g}),v=(0,i.computed)(()=>p.modelValue);function y(e,t){let n=p.itemKey;return typeof n==`function`?n(e,t):typeof n==`string`?e?.[n]:t}function b(e){let t=v.value[e];if(t&&typeof t==`object`){let e=t,n=e.label??e.name??e.title;if(typeof n==`string`)return n}return String(t??`Item ${e+1}`)}function x(e){let t=`${b(e)}, ${e+1} of ${v.value.length}`;return w.value===e?`${t}, picked up`:t}let S=(0,i.ref)(``);function C(e,t,n){if(e===t||e<0||t<0)return;let r=[...v.value],[i]=r.splice(e,1);r.splice(t,0,i),m(`update:modelValue`,r),m(`reorder`,{from:e,to:t,via:n}),S.value=`${b(e)} moved to position ${t+1} of ${r.length}`}let w=(0,i.ref)(null);function T(e,t){if(p.disabled)return;if(e.key===`Escape`&&w.value!==null){e.preventDefault(),w.value=null,S.value=`Move cancelled`;return}if(e.key===` `||e.key===`Enter`){e.preventDefault(),w.value===t?(w.value=null,S.value=`${b(t)} dropped at position ${t+1}`):(w.value=t,S.value=`${b(t)} picked up, position ${t+1} of ${v.value.length}`);return}let n=e.key===`ArrowUp`?-1:e.key===`ArrowDown`?1:0;if(!n)return;e.preventDefault();let r=t+n;r<0||r>=v.value.length||(w.value===t?(C(t,r,`keyboard`),w.value=r,E(r)):E(r))}async function E(e){await Promise.resolve(),(g.value?.querySelector(`[data-index="${e}"] .nb-reorder-list__grab`))?.focus()}function D(e){w.value===e&&(w.value=null)}let O=(0,i.ref)(null),k=(0,i.ref)(null);function A(e,t){if(p.disabled||e.button!==0)return;let n=e.target,r=!!n.closest(`.nb-reorder-list__grab`);if(!(p.handle&&!r)&&!(!r&&n.closest(`button, a, input, select, textarea`))&&!(e.pointerType===`touch`&&!r)&&!(O.value!==null&&e.pointerId!==j)){if(w.value=null,O.value=t,k.value=t,j=e.pointerId,e.pointerType&&e.pointerType!==`mouse`){let t=n.closest(`.nb-reorder-list__grab`);try{t?.setPointerCapture?.(e.pointerId)}catch{}}P(),window.addEventListener(`pointermove`,I),window.addEventListener(`pointerup`,L),window.addEventListener(`pointercancel`,R)}}let j;function M(e){return e.pointerId===j}let N=null;function P(){typeof document>`u`||N!==null||(N=document.body.style.userSelect,document.body.style.userSelect=`none`,document.body.style.setProperty(`-webkit-user-select`,`none`))}function F(){typeof document>`u`||N===null||(document.body.style.userSelect=N,document.body.style.removeProperty(`-webkit-user-select`),N=null)}function I(e){if(O.value===null||!g.value||!M(e))return;let t=[...g.value.querySelectorAll(`[data-index]`)],n=t.length;for(let r of t){let t=r.getBoundingClientRect();if(e.clientY<t.top+t.height/2){n=Number(r.dataset.index);break}}k.value=n}function L(e){if(!M(e))return;let t=O.value,n=k.value;z(),!(t===null||n===null)&&C(t,n>t?n-1:n,`pointer`)}function R(e){M(e)&&z()}function z(){F(),O.value=null,k.value=null,j=void 0,window.removeEventListener(`pointermove`,I),window.removeEventListener(`pointerup`,L),window.removeEventListener(`pointercancel`,R)}return(0,i.onBeforeUnmount)(z),(n,r)=>((0,i.openBlock)(),(0,i.createElementBlock)(`ul`,{ref_key:`listRef`,ref:g,class:(0,i.normalizeClass)([`nb-reorder-list`,{"nb-reorder-list--dragging":O.value!==null}]),role:`list`,"aria-label":e.label||void 0,"aria-describedby":`${(0,i.unref)(h)}-hint`},[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(v.value,(r,o)=>((0,i.openBlock)(),(0,i.createElementBlock)(`li`,(0,i.mergeProps)({key:y(r,o),class:[`nb-reorder-list__row`,{"nb-reorder-list__row--dragging":O.value===o,"nb-reorder-list__row--lifted":w.value===o,"nb-reorder-list__row--drop-before":k.value===o,"nb-reorder-list__row--drop-after":k.value===o+1&&o===v.value.length-1}]},{ref_for:!0},(0,i.unref)(_),{"data-index":o,onPointerdown:e=>A(e,o)}),[(0,i.createElementVNode)(`div`,{class:`nb-reorder-list__grab`,tabindex:e.disabled?-1:0,role:`button`,"aria-disabled":e.disabled||void 0,"aria-label":x(o),onKeydown:e=>T(e,o),onBlur:e=>D(o)},[(0,i.renderSlot)(n.$slots,`handle`,{item:r,index:o},()=>[(0,i.createVNode)(t.t,{class:`nb-reorder-list__grip`,name:(0,i.unref)(a.regular),size:16,"aria-hidden":`true`},null,8,[`name`])],!0)],40,c),(0,i.createElementVNode)(`div`,l,[(0,i.renderSlot)(n.$slots,`default`,{item:r,index:o},()=>[(0,i.createTextVNode)((0,i.toDisplayString)(r),1)],!0)])],16,s))),128)),(0,i.createElementVNode)(`li`,{id:`${(0,i.unref)(h)}-hint`,class:`nb-reorder-list__sr`},` Press Space or Enter to pick up, arrow keys to move, Space or Enter to drop, Escape to cancel. `,8,u),(0,i.createElementVNode)(`li`,d,(0,i.toDisplayString)(S.value),1)],10,o))}}),p=e.t(f,[[`__scopeId`,`data-v-f1d60ad0`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return p}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./Icon-CssV4E2-.cjs`),t=require(`./Label-CTOPIIbR.cjs`),n=require(`./Message-Bija1nMK.cjs`),r=require(`./Grid-C0muGlj3.cjs`),i=require(`./composables/useFieldMessage.composable.cjs`),a=require(`./composables/useMenuSurface.composable.cjs`);let o=require(`vue`),s=require(`@nubisco/ui/icons/caret-down`),c=require(`@nubisco/ui/icons/caret-up`),l=require(`@nubisco/ui/icons/x`);var ee=[`id`,`aria-expanded`,`aria-disabled`,`aria-required`,`aria-invalid`,`aria-describedby`,`disabled`],te={key:2,class:`nb-select__clear-space`,"aria-hidden":`true`},ne=[`aria-label`],re=[`id`,`aria-expanded`,`aria-disabled`,`aria-required`,`aria-invalid`,`aria-describedby`,`disabled`],ie={key:1,class:`nb-select__inner-label`},ae={key:0,class:`nb-select__asterisk`,"aria-hidden":`true`},oe={key:0,class:`nb-select__clear-space`,"aria-hidden":`true`},se=[`aria-label`],ce=[`id`,`aria-multiselectable`],le={key:0,class:`nb-select__search`},ue=[`placeholder`,`aria-label`,`aria-controls`,`aria-activedescendant`],de=[`aria-labelledby`],fe=[`id`],u=[`id`,`data-index`,`aria-selected`,`aria-disabled`,`onMouseenter`,`onClick`],pe={key:0,class:`nb-select__option-check`,"aria-hidden":`true`},me={key:0,viewBox:`0 0 10 8`,fill:`none`,width:`10`,height:`8`},he={class:`nb-select__option-label`},d={key:1,class:`nb-select__empty`},ge={key:2,class:`nb-select__empty`},_e=[`placeholder`,`onKeydown`],f=(0,o.defineComponent)({__name:`Select`,props:{modelValue:{default:null},options:{default:()=>[]},multiple:{type:Boolean,default:!1},creatable:{type:Boolean,default:!1},createPlaceholder:{default:``},clearable:{type:Boolean,default:!1},clearLabel:{default:`Clear selection`},searchable:{type:Boolean,default:!1},searchPlaceholder:{default:`Search`},noResultsLabel:{default:`No results`},anchor:{type:[Function,null],default:null},selectedMark:{default:`fill`},placeholder:{default:`Select…`},name:{default:``},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},id:{default:void 0},label:{default:``},error:{default:``},warning:{default:``},helper:{default:``},variant:{default:`default`},size:{default:`md`}},emits:[`update:modelValue`,`change`,`create`],setup(f,{expose:ve,emit:ye}){let p=f,m=ye,h=(e,{slots:t})=>e.wrap?(0,o.h)(`div`,{class:`nb-select__control`},t.default?.()):t.default?.();h.props=[`wrap`];let g=(0,o.ref)(``),_=(0,o.ref)(``),v=(0,o.ref)(null);function be(){let e=g.value.trim();e&&(m(`create`,e),g.value=``)}let y=(0,o.ref)(!1),b=(0,o.ref)(!1),x=(0,o.ref)(-1),S=(0,o.ref)(null),C=(0,o.ref)(null),w=(0,o.useSlots)(),xe=()=>(typeof p.anchor==`function`?p.anchor():p.anchor)??C.value??S.value;function T(){(C.value??S.value?.querySelector(`button, [tabindex]`))?.focus()}let E=(0,o.ref)(null);a.useMenuSurface(E);let D=(0,o.ref)({position:`fixed`,top:`0px`,left:`0px`,width:`0px`,zIndex:`9999`}),Se=`nb-select-${(0,o.useId)()}`,O=(0,o.computed)(()=>p.id??Se),{ids:k,messageId:A,invalid:j,live:M,key:N}=i.useFieldMessage(p,O),P=(0,o.computed)(()=>`${O.value}-listbox`),F=e=>`${O.value}-option-${e}`,I=(0,o.computed)(()=>p.modelValue==null?[]:Array.isArray(p.modelValue)?p.modelValue:[p.modelValue]),L=(0,o.computed)(()=>{if(!(p.multiple||I.value.length!==1))return(p.options??[]).find(e=>e.value===I.value[0])?.icon}),R=(0,o.computed)(()=>{if(I.value.length===0)return``;let e=p.options??[];return p.multiple?I.value.length===1?e.find(e=>e.value===I.value[0])?.label??String(I.value[0]):I.value.length===2?I.value.map(t=>e.find(e=>e.value===t)?.label??String(t)).join(`, `):`${I.value.length} selected`:e.find(e=>e.value===I.value[0])?.label??String(I.value[0])});function z(e){return I.value.includes(e)}let B=e=>e.normalize(`NFD`).replace(/\p{M}/gu,``).toLowerCase(),V=(0,o.computed)(()=>{let e=p.options??[],t=p.searchable?B(_.value.trim()):``,n=new Set;return e.forEach((e,r)=>{(!t||B(e.label).includes(t))&&n.add(r)}),n}),Ce=(0,o.computed)(()=>{let e=[];return(p.options??[]).forEach((t,n)=>{if(!V.value.has(n))return;let r=e[e.length-1];(!r||r.name!==t.group)&&e.push({key:`${e.length}:${t.group??``}`,name:t.group,labelId:`${O.value}-group-${e.length}`,entries:[]}),e[e.length-1].entries.push({option:t,index:n})}),e});function H(e,t){let n=p.options??[];for(let r=e+t;r>=0&&r<n.length;r+=t)if(!n[r].disabled&&V.value.has(r))return r;return e}function U(e){if(e.disabled)return;let t;if(p.multiple){let n=[...I.value],r=n.indexOf(e.value);r>=0?n.splice(r,1):n.push(e.value),t=n}else t=e.value,K();m(`update:modelValue`,t),m(`change`,t)}function W(){let e=xe();if(!e)return;let t=e.getBoundingClientRect(),n=E.value?.offsetHeight??0,r=window.innerHeight-t.bottom,i=t.top,a=n>0&&r<n&&i>r,o=w.trigger?Math.max(t.width,240):t.width,s=w.trigger?Math.max(8,Math.min(t.left,window.innerWidth-o-8)):t.left;D.value={position:`fixed`,top:a?`${t.top-n}px`:`${t.bottom}px`,left:`${s}px`,width:`${o}px`,zIndex:`9999`}}function G(){if(p.disabled)return;y.value=!0,W();let e=p.options??[];x.value=I.value.length>0?Math.max(0,e.findIndex(e=>e.value===I.value[0])):-1,(0,o.nextTick)(()=>{W(),Z(),v.value?.focus({preventScroll:!0})})}function K(){let e=!!E.value?.contains(document.activeElement);y.value=!1,x.value=-1,_.value=``,e&&T()}function q(){y.value?K():G()}function J(e){let t=e.target,n=S.value?.contains(t)??!1,r=E.value?.contains(t)??!1;!n&&!r&&K()}function Y(){y.value&&W()}(0,o.watch)(y,e=>{e?(document.addEventListener(`mousedown`,J),window.addEventListener(`scroll`,Y,!0),window.addEventListener(`resize`,Y)):(document.removeEventListener(`mousedown`,J),window.removeEventListener(`scroll`,Y,!0),window.removeEventListener(`resize`,Y))}),(0,o.onBeforeUnmount)(()=>{document.removeEventListener(`mousedown`,J),window.removeEventListener(`scroll`,Y,!0),window.removeEventListener(`resize`,Y)});function X(e){let t=p.options??[];if(!y.value){(e.key===`Enter`||e.key===` `||e.key===`ArrowDown`)&&(e.preventDefault(),G());return}e.key===`Escape`?(K(),e.preventDefault()):e.key===`Tab`?K():e.key===`ArrowDown`?(e.preventDefault(),x.value=H(x.value,1),Z()):e.key===`ArrowUp`?(e.preventDefault(),x.value>0&&(x.value=H(x.value,-1)),Z()):(e.key===`Enter`||e.key===` `)&&x.value>=0&&(e.preventDefault(),U(t[x.value]))}function Z(){(0,o.nextTick)(()=>{!E.value||x.value<0||E.value.querySelector(`[data-index="${x.value}"]`)?.scrollIntoView({block:`nearest`})})}(0,o.watch)(_,()=>{if(!y.value)return;let e=H(-1,1);x.value=e===-1?-1:e,Z()});function we(e){if(e.key===` `){e.stopPropagation();return}if(e.key===`Home`||e.key===`End`){e.stopPropagation();return}X(e)}let Te=(0,o.computed)(()=>({isOpen:y.value,toggle:q,open:G,close:K,attrs:{"aria-expanded":y.value,"aria-haspopup":`listbox`,"aria-controls":y.value?P.value:void 0,"aria-invalid":j.value,onClick:q}})),Q=(0,o.computed)(()=>p.clearable&&!p.disabled&&I.value.length>0);function $(){let e=p.multiple?[]:null;K(),m(`update:modelValue`,e),m(`change`,e),T()}let Ee=(0,o.computed)(()=>[`nb-select`,`nb-select--${p.variant}`,`nb-select--${p.size}`,{"nb-select--open":y.value,"nb-select--focused":b.value&&!y.value,"nb-select--error":!!p.error,"nb-select--warning":!p.error&&!!p.warning,"nb-select--multiple":p.multiple,"nb-select--bare":!!w.trigger}]);return ve({open:G,close:K}),(i,a)=>((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,null,[(0,o.createElementVNode)(`div`,{ref_key:`rootRef`,ref:S,class:(0,o.normalizeClass)(Ee.value),onKeydown:X},[i.$slots.trigger?(0,o.renderSlot)(i.$slots,`trigger`,(0,o.normalizeProps)((0,o.mergeProps)({key:0},Te.value))):f.variant===`default`?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:1},[i.$slots.label?(0,o.renderSlot)(i.$slots,`label`,{key:0}):f.label?((0,o.openBlock)(),(0,o.createBlock)(t.t,{key:1,for:O.value,required:f.required,disabled:f.disabled},{default:(0,o.withCtx)(()=>[(0,o.createTextVNode)((0,o.toDisplayString)(f.label),1)]),_:1},8,[`for`,`required`,`disabled`])):(0,o.createCommentVNode)(``,!0),(0,o.createVNode)(h,{wrap:f.clearable},{default:(0,o.withCtx)(()=>[(0,o.createElementVNode)(`button`,{id:O.value,ref_key:`triggerRef`,ref:C,type:`button`,class:`nb-select__trigger`,role:`combobox`,"aria-expanded":y.value,"aria-haspopup":`listbox`,"aria-disabled":f.disabled||void 0,"aria-required":f.required||void 0,"aria-invalid":(0,o.unref)(j),"aria-describedby":(0,o.unref)(A),disabled:f.disabled||void 0,onClick:q,onFocus:a[0]||=e=>b.value=!0,onBlur:a[1]||=e=>b.value=!1},[(0,o.createElementVNode)(`span`,{class:(0,o.normalizeClass)([`nb-select__value`,{"nb-select__value--placeholder":!R.value,"nb-select__value--with-icon":!!L.value}])},[L.value?((0,o.openBlock)(),(0,o.createBlock)(e.t,{key:0,class:`nb-select__value-icon`,name:L.value,size:16},null,8,[`name`])):(0,o.createCommentVNode)(``,!0),R.value?(0,o.renderSlot)(i.$slots,`value`,{key:1,values:I.value},()=>[(0,o.createTextVNode)((0,o.toDisplayString)(R.value),1)]):((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:2},[(0,o.createTextVNode)((0,o.toDisplayString)(f.placeholder),1)],64))],2),f.error?((0,o.openBlock)(),(0,o.createBlock)(n.t,{key:0,variant:`error`,"icon-only":!0,live:`off`,"aria-hidden":`true`,class:`nb-select__status-icon`},{default:(0,o.withCtx)(()=>[(0,o.createTextVNode)((0,o.toDisplayString)(f.error),1)]),_:1})):f.warning?((0,o.openBlock)(),(0,o.createBlock)(n.t,{key:1,variant:`warning`,"icon-only":!0,live:`off`,"aria-hidden":`true`,class:`nb-select__status-icon`},{default:(0,o.withCtx)(()=>[(0,o.createTextVNode)((0,o.toDisplayString)(f.warning),1)]),_:1})):(0,o.createCommentVNode)(``,!0),Q.value?((0,o.openBlock)(),(0,o.createElementBlock)(`span`,te)):(0,o.createCommentVNode)(``,!0),(0,o.createVNode)(r.t,{align:`center`,justify:`center`,class:`nb-select__caret`},{default:(0,o.withCtx)(()=>[(0,o.createVNode)(e.t,{name:y.value?(0,o.unref)(c.regular):(0,o.unref)(s.regular),size:16},null,8,[`name`])]),_:1})],40,ee),Q.value?((0,o.openBlock)(),(0,o.createElementBlock)(`button`,{key:0,type:`button`,class:`nb-select__clear`,"aria-label":f.clearLabel,onClick:$,onKeydown:[a[2]||=(0,o.withKeys)((0,o.withModifiers)(()=>{},[`stop`]),[`enter`]),a[3]||=(0,o.withKeys)((0,o.withModifiers)(()=>{},[`stop`]),[`space`])]},[(0,o.createVNode)(e.t,{name:(0,o.unref)(l.regular),size:16},null,8,[`name`])],40,ne)):(0,o.createCommentVNode)(``,!0)]),_:3},8,[`wrap`]),f.error?((0,o.openBlock)(),(0,o.createBlock)(n.t,{id:(0,o.unref)(k).error,key:(0,o.unref)(N),variant:`error`,live:(0,o.unref)(M),class:`nb-select__message`},{default:(0,o.withCtx)(()=>[(0,o.createTextVNode)((0,o.toDisplayString)(f.error),1)]),_:1},8,[`id`,`live`])):f.warning?((0,o.openBlock)(),(0,o.createBlock)(n.t,{id:(0,o.unref)(k).warning,key:(0,o.unref)(N),variant:`warning`,live:(0,o.unref)(M),class:`nb-select__message`},{default:(0,o.withCtx)(()=>[(0,o.createTextVNode)((0,o.toDisplayString)(f.warning),1)]),_:1},8,[`id`,`live`])):f.helper?((0,o.openBlock)(),(0,o.createBlock)(n.t,{id:(0,o.unref)(k).helper,key:(0,o.unref)(N),variant:`helper`,live:(0,o.unref)(M),class:`nb-select__message`},{default:(0,o.withCtx)(()=>[(0,o.createTextVNode)((0,o.toDisplayString)(f.helper),1)]),_:1},8,[`id`,`live`])):(0,o.createCommentVNode)(``,!0)],64)):f.variant===`fluid`?((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:2},[(0,o.createVNode)(h,{wrap:f.clearable},{default:(0,o.withCtx)(()=>[(0,o.createElementVNode)(`button`,{id:O.value,ref_key:`triggerRef`,ref:C,type:`button`,class:`nb-select__trigger`,role:`combobox`,"aria-expanded":y.value,"aria-haspopup":`listbox`,"aria-disabled":f.disabled||void 0,"aria-required":f.required||void 0,"aria-invalid":(0,o.unref)(j),"aria-describedby":(0,o.unref)(A),disabled:f.disabled||void 0,onClick:q,onFocus:a[4]||=e=>b.value=!0,onBlur:a[5]||=e=>b.value=!1},[f.label||i.$slots.label?((0,o.openBlock)(),(0,o.createBlock)(r.t,{key:0,dir:`row`,align:`center`,gap:`xs`,class:`nb-select__inner-header`},{default:(0,o.withCtx)(()=>[i.$slots.label?(0,o.renderSlot)(i.$slots,`label`,{key:0}):((0,o.openBlock)(),(0,o.createElementBlock)(`label`,ie,[(0,o.createTextVNode)((0,o.toDisplayString)(f.label)+` `,1),f.required?((0,o.openBlock)(),(0,o.createElementBlock)(`span`,ae,`*`)):(0,o.createCommentVNode)(``,!0)])),f.helper&&!f.error&&!f.warning?((0,o.openBlock)(),(0,o.createBlock)(n.t,{key:2,id:(0,o.unref)(k).helper,variant:`helper`,"icon-only":!0,live:`off`,"aria-hidden":`true`,class:`nb-select__inner-message`},{default:(0,o.withCtx)(()=>[(0,o.createTextVNode)((0,o.toDisplayString)(f.helper),1)]),_:1},8,[`id`])):(0,o.createCommentVNode)(``,!0)]),_:3})):(0,o.createCommentVNode)(``,!0),(0,o.createVNode)(r.t,{dir:`row`,align:`end`,flex:``,class:`nb-select__value-row`},{default:(0,o.withCtx)(()=>[(0,o.createElementVNode)(`span`,{class:(0,o.normalizeClass)([`nb-select__value`,{"nb-select__value--placeholder":!R.value,"nb-select__value--with-icon":!!L.value}])},[L.value?((0,o.openBlock)(),(0,o.createBlock)(e.t,{key:0,class:`nb-select__value-icon`,name:L.value,size:16},null,8,[`name`])):(0,o.createCommentVNode)(``,!0),R.value?(0,o.renderSlot)(i.$slots,`value`,{key:1,values:I.value},()=>[(0,o.createTextVNode)((0,o.toDisplayString)(R.value),1)]):((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:2},[(0,o.createTextVNode)((0,o.toDisplayString)(f.placeholder),1)],64))],2),Q.value?((0,o.openBlock)(),(0,o.createElementBlock)(`span`,oe)):(0,o.createCommentVNode)(``,!0),(0,o.createVNode)(r.t,{align:`center`,justify:`center`,class:`nb-select__caret`},{default:(0,o.withCtx)(()=>[(0,o.createVNode)(e.t,{name:y.value?(0,o.unref)(c.regular):(0,o.unref)(s.regular),size:16},null,8,[`name`])]),_:1})]),_:3})],40,re),Q.value?((0,o.openBlock)(),(0,o.createElementBlock)(`button`,{key:0,type:`button`,class:`nb-select__clear`,"aria-label":f.clearLabel,onClick:$,onKeydown:[a[6]||=(0,o.withKeys)((0,o.withModifiers)(()=>{},[`stop`]),[`enter`]),a[7]||=(0,o.withKeys)((0,o.withModifiers)(()=>{},[`stop`]),[`space`])]},[(0,o.createVNode)(e.t,{name:(0,o.unref)(l.regular),size:16},null,8,[`name`])],40,se)):(0,o.createCommentVNode)(``,!0)]),_:3},8,[`wrap`]),f.error?((0,o.openBlock)(),(0,o.createBlock)(n.t,{id:(0,o.unref)(k).error,key:(0,o.unref)(N),variant:`error`,live:(0,o.unref)(M),class:`nb-select__fluid-message`},{default:(0,o.withCtx)(()=>[(0,o.createTextVNode)((0,o.toDisplayString)(f.error),1)]),_:1},8,[`id`,`live`])):f.warning?((0,o.openBlock)(),(0,o.createBlock)(n.t,{id:(0,o.unref)(k).warning,key:(0,o.unref)(N),variant:`warning`,live:(0,o.unref)(M),class:`nb-select__fluid-message`},{default:(0,o.withCtx)(()=>[(0,o.createTextVNode)((0,o.toDisplayString)(f.warning),1)]),_:1},8,[`id`,`live`])):(0,o.createCommentVNode)(``,!0)],64)):(0,o.createCommentVNode)(``,!0)],34),((0,o.openBlock)(),(0,o.createBlock)(o.Teleport,{to:`body`},[(0,o.createVNode)(o.Transition,{name:`nb-select-pop`},{default:(0,o.withCtx)(()=>[y.value?((0,o.openBlock)(),(0,o.createElementBlock)(`div`,{key:0,id:P.value,ref_key:`dropdownRef`,ref:E,class:(0,o.normalizeClass)([`nb-select__dropdown`,{"nb-select__dropdown--check":f.selectedMark===`check`,"nb-select__dropdown--anchored":!!i.$slots.trigger}]),style:(0,o.normalizeStyle)(D.value),role:`listbox`,"aria-multiselectable":f.multiple||void 0},[f.searchable?((0,o.openBlock)(),(0,o.createElementBlock)(`div`,le,[(0,o.withDirectives)((0,o.createElementVNode)(`input`,{ref_key:`searchRef`,ref:v,"onUpdate:modelValue":a[8]||=e=>_.value=e,type:`search`,class:`nb-select__search-input`,autocomplete:`off`,spellcheck:`false`,placeholder:f.searchPlaceholder,"aria-label":f.searchPlaceholder,"aria-controls":P.value,"aria-activedescendant":x.value>=0?F(x.value):void 0,onKeydown:we},null,40,ue),[[o.vModelText,_.value]])])):(0,o.createCommentVNode)(``,!0),((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(Ce.value,t=>((0,o.openBlock)(),(0,o.createElementBlock)(`div`,{key:t.key,class:`nb-select__group`,role:`group`,"aria-labelledby":t.name?t.labelId:void 0},[t.name?((0,o.openBlock)(),(0,o.createElementBlock)(`div`,{key:0,id:t.labelId,class:`nb-select__group-label`},(0,o.toDisplayString)(t.name),9,fe)):(0,o.createCommentVNode)(``,!0),((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(t.entries,t=>((0,o.openBlock)(),(0,o.createElementBlock)(`div`,{id:F(t.index),key:t.option.value,"data-index":t.index,class:(0,o.normalizeClass)([`nb-select__option`,{"nb-select__option--selected":z(t.option.value),"nb-select__option--highlighted":x.value===t.index,"nb-select__option--disabled":t.option.disabled}]),role:`option`,"aria-selected":z(t.option.value),"aria-disabled":t.option.disabled||void 0,onMouseenter:e=>x.value=t.index,onClick:e=>U(t.option)},[f.multiple||f.selectedMark===`check`?((0,o.openBlock)(),(0,o.createElementBlock)(`span`,pe,[z(t.option.value)?((0,o.openBlock)(),(0,o.createElementBlock)(`svg`,me,[...a[12]||=[(0,o.createElementVNode)(`path`,{d:`M1 4l3 3 5-6`,stroke:`currentColor`,"stroke-width":`1.5`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])):(0,o.createCommentVNode)(``,!0)])):(0,o.createCommentVNode)(``,!0),t.option.icon?((0,o.openBlock)(),(0,o.createBlock)(e.t,{key:1,class:`nb-select__option-icon`,name:t.option.icon,size:16},null,8,[`name`])):(0,o.createCommentVNode)(``,!0),(0,o.createElementVNode)(`span`,he,[(0,o.renderSlot)(i.$slots,`option`,{option:t.option},()=>[(0,o.createTextVNode)((0,o.toDisplayString)(t.option.label),1)])])],42,u))),128))],8,de))),128)),!f.options||f.options.length===0?((0,o.openBlock)(),(0,o.createElementBlock)(`div`,d,` No options `)):f.searchable&&V.value.size===0?((0,o.openBlock)(),(0,o.createElementBlock)(`div`,ge,(0,o.toDisplayString)(f.noResultsLabel),1)):(0,o.createCommentVNode)(``,!0),f.creatable?((0,o.openBlock)(),(0,o.createElementBlock)(`div`,{key:3,class:`nb-select__create`,onMousedown:a[11]||=(0,o.withModifiers)(()=>{},[`prevent`])},[(0,o.withDirectives)((0,o.createElementVNode)(`input`,{"onUpdate:modelValue":a[9]||=e=>g.value=e,type:`text`,class:`nb-select__create-input`,placeholder:f.createPlaceholder||`Add new…`,onKeydown:[(0,o.withKeys)((0,o.withModifiers)(be,[`prevent`]),[`enter`]),a[10]||=(0,o.withModifiers)(()=>{},[`stop`])]},null,40,_e),[[o.vModelText,g.value]])],32)):(0,o.createCommentVNode)(``,!0)],14,ce)):(0,o.createCommentVNode)(``,!0)]),_:3})]))],64))}});Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return f}});
|