@nubisco/ui 5.47.1 → 5.48.1
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-C6aLQTYv.cjs} +1 -1
- package/dist/{SidebarCollapseToggle-Dq-A6NAJ.js → SidebarCollapseToggle-D5yQ-8Vu.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-r_TpdHsD.cjs → SidebarMenuItem-DP4L8ljr.cjs} +1 -1
- package/dist/{SidebarMenuItem-D8eFyD7l.js → SidebarMenuItem-UFeKPTvc.js} +5 -5
- package/dist/{SidebarStatus-DxJwYk3n.js → SidebarStatus-D-CfUYFc.js} +2 -2
- package/dist/{SidebarStatus-8xHtWS22.cjs → SidebarStatus-YfLW9xzC.cjs} +1 -1
- package/dist/{Skeleton-TgkyQXSq.js → Skeleton-C1e02dcW.js} +8 -3
- package/dist/Skeleton-CqZ9O0X0.cjs +1 -0
- package/dist/Slider-BAXKJCNG.js +405 -0
- package/dist/Slider-BaM5cclm.cjs +1 -0
- package/dist/Sparkline-MAi1Fh2T.cjs +1 -0
- package/dist/Sparkline-m3wbt-f1.js +95 -0
- package/dist/Spinner-CbBPddUx.js +160 -0
- package/dist/Spinner-PT95bjWq.cjs +1 -0
- package/dist/{Stat-DmdfVU4X.cjs → Stat-C9XaqyaG.cjs} +1 -1
- package/dist/{Stat-BHuShwuo.js → Stat-DJJln4rH.js} +6 -6
- package/dist/{Stepper-n2ZH-4Gf.js → Stepper-B4xqkWXg.js} +3 -3
- package/dist/{Stepper-Br62BsXD.cjs → Stepper-DV0q0Dfv.cjs} +1 -1
- package/dist/{StepperStep-BMts1ePk.js → StepperStep-BYhlgeb1.js} +10 -10
- package/dist/StepperStep-iGyGKnQL.cjs +1 -0
- package/dist/StructuredList-BSfuLANB.js +74 -0
- package/dist/StructuredList-h9JFXpF4.cjs +1 -0
- package/dist/{Submenu-D3kcN7Qm.js → Submenu-BnMaJKYm.js} +2 -2
- package/dist/{Submenu-DTqj37HQ.cjs → Submenu-Dxo3DUDA.cjs} +1 -1
- package/dist/{SuggestionList--DXpfDSJ.cjs → SuggestionList-BJjbVvt2.cjs} +1 -1
- package/dist/{SuggestionList-CNtaiJFb.js → SuggestionList-Bdx7CK__.js} +4 -4
- package/dist/{Switch-Bhn_b5ue.js → Switch-CbYMiEbQ.js} +7 -6
- package/dist/{Switch-DPxYeU1r.cjs → Switch-D3j7PPhY.cjs} +1 -1
- package/dist/TableOfContents-By2Non4K.cjs +1 -0
- package/dist/{TableOfContents-DvsufeVY.js → TableOfContents-CM0HKSde.js} +65 -57
- package/dist/{Tabs-S3I4uaTq.js → Tabs--lz44FBk.js} +4 -4
- package/dist/{Tabs-DPd-CKi1.cjs → Tabs-DKikiz0_.cjs} +1 -1
- package/dist/TextInput-BXyJQfGx.js +348 -0
- package/dist/TextInput-DKp819VS.cjs +2 -0
- package/dist/{Toast-BZZgBE9V.cjs → Toast-BKrvlON6.cjs} +1 -1
- package/dist/{Toast-CHqiHiKq.js → Toast-fRHhhjZV.js} +4 -4
- package/dist/{Toaster-CwLeMxh_.cjs → Toaster-CJMQM8JU.cjs} +1 -1
- package/dist/{Toaster-6tdIn4we.js → Toaster-DxBW9XQ0.js} +3 -3
- package/dist/Tree-CkcFwDr7.js +180 -0
- package/dist/Tree-DP2NPXOL.cjs +1 -0
- package/dist/TreeNode-CtklZefA.cjs +1 -0
- package/dist/TreeNode-DCnlEEpj.js +180 -0
- package/dist/{UserMenu-SokwKvM0.js → UserMenu-CWRMaPGO.js} +11 -11
- package/dist/{UserMenu-BtS4CcwB.cjs → UserMenu-GJHs1fKI.cjs} +1 -1
- package/dist/Video-D1WOYCYH.cjs +1 -0
- package/dist/Video-DrDqaCXl.js +104 -0
- package/dist/{Walkthrough-9SbBr6ig.cjs → Walkthrough-DXMDgB9t.cjs} +1 -1
- package/dist/{Walkthrough-BX3cVdLo.js → Walkthrough-D_vfYTWP.js} +3 -3
- package/dist/{Wireframe-CT2d4yey.js → Wireframe-BxUNaH2g.js} +1 -1
- package/dist/{Wireframe-YFaVOmuO.cjs → Wireframe-CL0rjsos.cjs} +1 -1
- package/dist/all.cjs +1 -1
- package/dist/all.mjs +237 -223
- package/dist/component-styles.json +26 -1
- package/dist/components/Accordion.cjs +1 -1
- package/dist/components/Accordion.mjs +1 -1
- package/dist/components/AccordionItem.cjs +1 -1
- package/dist/components/AccordionItem.mjs +1 -1
- package/dist/components/ActionGroup.cjs +1 -1
- package/dist/components/ActionGroup.mjs +1 -1
- package/dist/components/AiLabel.cjs +1 -1
- package/dist/components/AiLabel.d.ts +49 -4
- package/dist/components/AiLabel.mjs +1 -1
- package/dist/components/AiLabel.vue.d.ts +44 -2
- package/dist/components/AiLabel.vue.d.ts.map +1 -1
- package/dist/components/AiProvider.cjs +1 -1
- package/dist/components/AiProvider.mjs +1 -1
- package/dist/components/AiUsage.cjs +1 -1
- package/dist/components/AiUsage.d.ts +2 -0
- package/dist/components/AiUsage.mjs +1 -1
- package/dist/components/AiUsage.vue.d.ts +1 -0
- package/dist/components/AiUsage.vue.d.ts.map +1 -1
- package/dist/components/Avatar.cjs +1 -1
- package/dist/components/Avatar.mjs +1 -1
- package/dist/components/BackToTop.cjs +1 -1
- package/dist/components/BackToTop.mjs +1 -1
- package/dist/components/BackToTop.vue.d.ts.map +1 -1
- package/dist/components/Badge.cjs +1 -1
- package/dist/components/Badge.d.ts +22 -2
- package/dist/components/Badge.mjs +1 -1
- package/dist/components/Badge.vue.d.ts +7 -10
- package/dist/components/Badge.vue.d.ts.map +1 -1
- package/dist/components/Banner.cjs +1 -1
- package/dist/components/Banner.mjs +1 -1
- package/dist/components/Banner.vue.d.ts.map +1 -1
- package/dist/components/Blueprint.cjs +1 -1
- package/dist/components/Blueprint.mjs +1 -1
- package/dist/components/Blueprint.vue.d.ts.map +1 -1
- package/dist/components/BlueprintBackground.cjs +1 -1
- package/dist/components/BlueprintBackground.mjs +1 -1
- package/dist/components/BlueprintCard.cjs +1 -1
- package/dist/components/BlueprintCard.mjs +1 -1
- package/dist/components/BlueprintCard.vue.d.ts.map +1 -1
- package/dist/components/BlueprintControls.cjs +1 -1
- package/dist/components/BlueprintControls.mjs +1 -1
- package/dist/components/BlueprintControls.vue.d.ts.map +1 -1
- package/dist/components/BlueprintDomRenderer.vue.d.ts.map +1 -1
- package/dist/components/BlueprintMinimap.cjs +1 -1
- package/dist/components/BlueprintMinimap.mjs +1 -1
- package/dist/components/BlueprintMinimap.vue.d.ts.map +1 -1
- package/dist/components/Board.cjs +1 -1
- package/dist/components/Board.mjs +1 -1
- package/dist/components/Board.vue.d.ts.map +1 -1
- package/dist/components/BottomPanel.cjs +1 -1
- package/dist/components/BottomPanel.mjs +1 -1
- package/dist/components/BottomPanel.vue.d.ts.map +1 -1
- package/dist/components/Breadcrumbs.cjs +1 -1
- package/dist/components/Breadcrumbs.mjs +1 -1
- package/dist/components/Briefing.cjs +1 -1
- package/dist/components/Briefing.mjs +1 -1
- package/dist/components/BriefingDestination.cjs +1 -1
- package/dist/components/BriefingDestination.mjs +1 -1
- package/dist/components/Button.cjs +1 -1
- package/dist/components/Button.d.ts +14 -1
- package/dist/components/Button.mjs +1 -1
- package/dist/components/Button.vue.d.ts +1 -0
- package/dist/components/Button.vue.d.ts.map +1 -1
- package/dist/components/Calendar.cjs +1 -1
- package/dist/components/Calendar.d.ts +1 -1
- package/dist/components/Calendar.mjs +1 -1
- package/dist/components/Calendar.vue.d.ts +1 -1
- package/dist/components/Calendar.vue.d.ts.map +1 -1
- package/dist/components/Card.cjs +1 -1
- package/dist/components/Card.mjs +1 -1
- package/dist/components/Card.vue.d.ts +14 -5
- package/dist/components/Card.vue.d.ts.map +1 -1
- package/dist/components/CardGrid.cjs +1 -1
- package/dist/components/CardGrid.d.ts +33 -1
- package/dist/components/CardGrid.mjs +1 -1
- package/dist/components/CardGrid.vue.d.ts.map +1 -1
- package/dist/components/Charts/BarChart.cjs +1 -1
- package/dist/components/Charts/BarChart.mjs +1 -1
- package/dist/components/Charts/BarChart.vue.d.ts.map +1 -1
- package/dist/components/Charts/GanttChart.cjs +1 -1
- package/dist/components/Charts/GanttChart.d.ts +2 -0
- package/dist/components/Charts/GanttChart.mjs +1 -1
- package/dist/components/Charts/GanttChart.vue.d.ts +1 -0
- package/dist/components/Charts/GanttChart.vue.d.ts.map +1 -1
- package/dist/components/Charts/InterpolationChart.cjs +1 -1
- package/dist/components/Charts/InterpolationChart.mjs +1 -1
- package/dist/components/Charts/InterpolationChart.vue.d.ts.map +1 -1
- package/dist/components/Charts/LineChart.cjs +1 -1
- package/dist/components/Charts/LineChart.mjs +1 -1
- package/dist/components/Charts/LineChart.vue.d.ts.map +1 -1
- package/dist/components/Charts/PieChart.cjs +1 -1
- package/dist/components/Charts/PieChart.mjs +1 -1
- package/dist/components/Charts/PieChart.vue.d.ts.map +1 -1
- package/dist/components/Charts/Sparkline.cjs +1 -1
- package/dist/components/Charts/Sparkline.mjs +1 -1
- package/dist/components/Charts/Sparkline.vue.d.ts.map +1 -1
- package/dist/components/Charts/shared/palette.d.ts.map +1 -1
- package/dist/components/Checkbox.cjs +1 -1
- package/dist/components/Checkbox.mjs +1 -1
- package/dist/components/Checkbox.vue.d.ts.map +1 -1
- package/dist/components/CheckboxGroup.cjs +1 -1
- package/dist/components/CheckboxGroup.context.d.ts +4 -0
- package/dist/components/CheckboxGroup.context.d.ts.map +1 -1
- package/dist/components/CheckboxGroup.mjs +1 -1
- package/dist/components/CheckboxGroup.vue.d.ts.map +1 -1
- package/dist/components/ColorStrip.cjs +1 -1
- package/dist/components/ColorStrip.mjs +1 -1
- package/dist/components/CommandPalette.cjs +1 -1
- package/dist/components/CommandPalette.d.ts +5 -0
- package/dist/components/CommandPalette.mjs +1 -1
- package/dist/components/CommandPalette.vue.d.ts +1 -0
- package/dist/components/CommandPalette.vue.d.ts.map +1 -1
- package/dist/components/Confirm.cjs +1 -1
- package/dist/components/Confirm.d.ts +4 -6
- package/dist/components/Confirm.env.d.ts +3 -2
- package/dist/components/Confirm.env.d.ts.map +1 -1
- package/dist/components/Confirm.mjs +1 -1
- package/dist/components/Confirm.vue.d.ts.map +1 -1
- package/dist/components/ContainedList.cjs +1 -0
- package/dist/components/ContainedList.d.ts +65 -0
- package/dist/components/ContainedList.mjs +2 -0
- package/dist/components/ContainedList.vue.d.ts +25 -0
- package/dist/components/ContainedList.vue.d.ts.map +1 -0
- package/dist/components/ContainedListItem.cjs +1 -0
- package/dist/components/ContainedListItem.d.ts +1 -0
- package/dist/components/ContainedListItem.mjs +2 -0
- package/dist/components/ContainedListItem.vue.d.ts +35 -0
- package/dist/components/ContainedListItem.vue.d.ts.map +1 -0
- package/dist/components/CopyButton.cjs +1 -1
- package/dist/components/CopyButton.mjs +1 -1
- package/dist/components/DataTable.cjs +1 -1
- package/dist/components/DataTable.d.ts +6 -2
- package/dist/components/DataTable.mjs +1 -1
- package/dist/components/DataTable.vue.d.ts +1 -1
- package/dist/components/DataTable.vue.d.ts.map +1 -1
- package/dist/components/DatePicker.cjs +1 -1
- package/dist/components/DatePicker.d.ts +1 -1
- package/dist/components/DatePicker.mjs +1 -1
- package/dist/components/DatePicker.vue.d.ts +1 -1
- package/dist/components/DatePicker.vue.d.ts.map +1 -1
- package/dist/components/DefinitionList.cjs +1 -1
- package/dist/components/DefinitionList.mjs +1 -1
- package/dist/components/DefinitionListItem.cjs +1 -1
- package/dist/components/DefinitionListItem.mjs +1 -1
- package/dist/components/DragHandle.cjs +1 -1
- package/dist/components/DragHandle.mjs +1 -1
- package/dist/components/DragHandle.vue.d.ts.map +1 -1
- package/dist/components/EmptyState.cjs +1 -1
- package/dist/components/EmptyState.mjs +1 -1
- package/dist/components/Field.cjs +1 -1
- package/dist/components/Field.mjs +1 -1
- package/dist/components/Field.vue.d.ts +2 -1
- package/dist/components/Field.vue.d.ts.map +1 -1
- package/dist/components/FileUploader.cjs +1 -1
- package/dist/components/FileUploader.mjs +1 -1
- package/dist/components/FileUploader.vue.d.ts.map +1 -1
- package/dist/components/Flag.cjs +1 -1
- package/dist/components/Flag.mjs +1 -1
- package/dist/components/FloatingToolbar.cjs +1 -1
- package/dist/components/FloatingToolbar.mjs +1 -1
- package/dist/components/FloatingToolbar.vue.d.ts.map +1 -1
- package/dist/components/Form.cjs +1 -1
- package/dist/components/Form.mjs +1 -1
- package/dist/components/Grid.cjs +1 -1
- package/dist/components/Grid.d.ts +53 -4
- package/dist/components/Grid.mjs +1 -1
- package/dist/components/Grid.vue.d.ts +42 -4
- package/dist/components/Grid.vue.d.ts.map +1 -1
- package/dist/components/Icon.cjs +1 -1
- package/dist/components/Icon.d.ts +34 -6
- package/dist/components/Icon.mjs +1 -1
- package/dist/components/Icon.vue.d.ts +4 -4
- package/dist/components/Icon.vue.d.ts.map +1 -1
- package/dist/components/ImageCropper.cjs +1 -1
- package/dist/components/ImageCropper.mjs +1 -1
- package/dist/components/ImagePicker.cjs +1 -1
- package/dist/components/ImagePicker.mjs +1 -1
- package/dist/components/ImagePicker.vue.d.ts +1 -1
- package/dist/components/InfoHint.cjs +1 -1
- package/dist/components/InfoHint.d.ts +1 -1
- package/dist/components/InfoHint.mjs +1 -1
- package/dist/components/InfoHint.vue.d.ts.map +1 -1
- package/dist/components/InlineEdit.cjs +1 -1
- package/dist/components/InlineEdit.mjs +1 -1
- package/dist/components/InlineLoading.cjs +1 -1
- package/dist/components/InlineLoading.mjs +1 -1
- package/dist/components/JsonTree.cjs +1 -1
- package/dist/components/JsonTree.mjs +1 -1
- package/dist/components/Label.cjs +1 -1
- package/dist/components/Label.mjs +1 -1
- package/dist/components/Label.vue.d.ts.map +1 -1
- package/dist/components/Layer.cjs +1 -1
- package/dist/components/Layer.mjs +1 -1
- package/dist/components/Menu.cjs +1 -1
- package/dist/components/Menu.mjs +1 -1
- package/dist/components/Menu.vue.d.ts.map +1 -1
- package/dist/components/MenuBar.cjs +1 -1
- package/dist/components/MenuBar.mjs +1 -1
- package/dist/components/MenuBarItem.cjs +1 -1
- package/dist/components/MenuBarItem.mjs +1 -1
- package/dist/components/MenuDivider.cjs +1 -1
- package/dist/components/MenuDivider.mjs +1 -1
- package/dist/components/MenuItem.cjs +1 -1
- package/dist/components/MenuItem.mjs +1 -1
- package/dist/components/MenuItem.vue.d.ts.map +1 -1
- package/dist/components/Message.cjs +1 -1
- package/dist/components/Message.d.ts +6 -0
- package/dist/components/Message.mjs +1 -1
- package/dist/components/Message.vue.d.ts +1 -0
- package/dist/components/Message.vue.d.ts.map +1 -1
- package/dist/components/Modal.cjs +1 -1
- package/dist/components/Modal.mjs +1 -1
- package/dist/components/Modal.vue.d.ts +2 -2
- package/dist/components/Modal.vue.d.ts.map +1 -1
- package/dist/components/NotificationCenter.cjs +1 -1
- package/dist/components/NotificationCenter.d.ts +2 -3
- package/dist/components/NotificationCenter.mjs +1 -1
- package/dist/components/NotificationCenter.vue.d.ts +1 -1
- package/dist/components/NotificationCenter.vue.d.ts.map +1 -1
- package/dist/components/NotificationCenterItem.cjs +1 -1
- package/dist/components/NotificationCenterItem.d.ts +4 -6
- package/dist/components/NotificationCenterItem.mjs +1 -1
- package/dist/components/NotificationCenterItem.vue.d.ts +1 -1
- package/dist/components/NotificationCenterItem.vue.d.ts.map +1 -1
- package/dist/components/NubiscoMark.cjs +1 -1
- package/dist/components/NubiscoMark.mjs +1 -1
- package/dist/components/NubiscoPlatformMark.cjs +1 -1
- package/dist/components/NubiscoPlatformMark.mjs +1 -1
- package/dist/components/NumberInput.cjs +1 -1
- package/dist/components/NumberInput.mjs +1 -1
- package/dist/components/NumberInput.vue.d.ts.map +1 -1
- package/dist/components/PageHeader.cjs +1 -0
- package/dist/components/PageHeader.d.ts +28 -0
- package/dist/components/PageHeader.mjs +2 -0
- package/dist/components/PageHeader.vue.d.ts +29 -0
- package/dist/components/PageHeader.vue.d.ts.map +1 -0
- package/dist/components/PageLayout.cjs +1 -0
- package/dist/components/PageLayout.d.ts +39 -0
- package/dist/components/PageLayout.mjs +2 -0
- package/dist/components/PageLayout.vue.d.ts +22 -0
- package/dist/components/PageLayout.vue.d.ts.map +1 -0
- package/dist/components/Pagination.cjs +1 -1
- package/dist/components/Pagination.mjs +1 -1
- package/dist/components/Pagination.vue.d.ts.map +1 -1
- package/dist/components/Panel.cjs +1 -1
- package/dist/components/Panel.d.ts +29 -0
- package/dist/components/Panel.mjs +1 -1
- package/dist/components/Panel.vue.d.ts +10 -2
- package/dist/components/Panel.vue.d.ts.map +1 -1
- package/dist/components/PrimaryAction.context.d.ts +16 -0
- package/dist/components/PrimaryAction.context.d.ts.map +1 -0
- package/dist/components/PrimaryActionScope.vue.d.ts +18 -0
- package/dist/components/PrimaryActionScope.vue.d.ts.map +1 -0
- package/dist/components/ProgressBar.cjs +1 -1
- package/dist/components/ProgressBar.mjs +1 -1
- package/dist/components/ProgressBar.vue.d.ts.map +1 -1
- package/dist/components/Radio.cjs +1 -1
- package/dist/components/Radio.mjs +1 -1
- package/dist/components/Radio.vue.d.ts.map +1 -1
- package/dist/components/ReorderList.cjs +1 -1
- package/dist/components/ReorderList.mjs +1 -1
- package/dist/components/ReorderList.vue.d.ts.map +1 -1
- package/dist/components/Select.cjs +1 -1
- package/dist/components/Select.mjs +1 -1
- package/dist/components/Select.vue.d.ts +1 -0
- package/dist/components/Select.vue.d.ts.map +1 -1
- package/dist/components/Shell.cjs +1 -1
- package/dist/components/Shell.d.ts +20 -0
- package/dist/components/Shell.mjs +1 -1
- package/dist/components/Shell.vue.d.ts +7 -4
- package/dist/components/Shell.vue.d.ts.map +1 -1
- package/dist/components/ShellPanel.cjs +1 -1
- package/dist/components/ShellPanel.mjs +1 -1
- package/dist/components/ShellPanel.vue.d.ts.map +1 -1
- package/dist/components/SidebarBrand.cjs +1 -1
- package/dist/components/SidebarBrand.mjs +1 -1
- package/dist/components/SidebarCollapseToggle.cjs +1 -1
- package/dist/components/SidebarCollapseToggle.mjs +1 -1
- package/dist/components/SidebarHeaderToggle.cjs +1 -1
- package/dist/components/SidebarHeaderToggle.mjs +1 -1
- package/dist/components/SidebarHeaderToggle.vue.d.ts.map +1 -1
- package/dist/components/SidebarLink.cjs +1 -1
- package/dist/components/SidebarLink.mjs +1 -1
- package/dist/components/SidebarMenu.cjs +1 -1
- package/dist/components/SidebarMenu.mjs +1 -1
- package/dist/components/SidebarMenuGroup.cjs +1 -1
- package/dist/components/SidebarMenuGroup.mjs +1 -1
- package/dist/components/SidebarMenuGroup.vue.d.ts.map +1 -1
- package/dist/components/SidebarMenuItem.cjs +1 -1
- package/dist/components/SidebarMenuItem.mjs +1 -1
- package/dist/components/SidebarMenuItem.vue.d.ts.map +1 -1
- package/dist/components/SidebarStatus.cjs +1 -1
- package/dist/components/SidebarStatus.mjs +1 -1
- package/dist/components/Skeleton.cjs +1 -1
- package/dist/components/Skeleton.d.ts +5 -0
- package/dist/components/Skeleton.mjs +1 -1
- package/dist/components/Skeleton.vue.d.ts.map +1 -1
- package/dist/components/Slider.cjs +1 -1
- package/dist/components/Slider.mjs +1 -1
- package/dist/components/Slider.vue.d.ts.map +1 -1
- package/dist/components/Spinner.cjs +1 -1
- package/dist/components/Spinner.d.ts +3 -1
- package/dist/components/Spinner.mjs +1 -1
- package/dist/components/Spinner.vue.d.ts +6 -9
- package/dist/components/Spinner.vue.d.ts.map +1 -1
- package/dist/components/Stat.cjs +1 -1
- package/dist/components/Stat.mjs +1 -1
- package/dist/components/Stat.vue.d.ts.map +1 -1
- package/dist/components/Stepper.cjs +1 -1
- package/dist/components/Stepper.mjs +1 -1
- package/dist/components/Stepper.vue.d.ts.map +1 -1
- package/dist/components/StepperStep.cjs +1 -1
- package/dist/components/StepperStep.mjs +1 -1
- package/dist/components/StepperStep.vue.d.ts.map +1 -1
- package/dist/components/StructuredList.cjs +1 -0
- package/dist/components/StructuredList.d.ts +39 -0
- package/dist/components/StructuredList.mjs +2 -0
- package/dist/components/StructuredList.vue.d.ts +24 -0
- package/dist/components/StructuredList.vue.d.ts.map +1 -0
- package/dist/components/Submenu.cjs +1 -1
- package/dist/components/Submenu.mjs +1 -1
- package/dist/components/Submenu.vue.d.ts.map +1 -1
- package/dist/components/SuggestionList.cjs +1 -1
- package/dist/components/SuggestionList.mjs +1 -1
- package/dist/components/Switch.cjs +1 -1
- package/dist/components/Switch.mjs +1 -1
- package/dist/components/Switch.vue.d.ts.map +1 -1
- package/dist/components/TableOfContents.cjs +1 -1
- package/dist/components/TableOfContents.mjs +1 -1
- package/dist/components/TableOfContents.vue.d.ts +1 -1
- package/dist/components/Tabs.cjs +1 -1
- package/dist/components/Tabs.mjs +1 -1
- package/dist/components/Tabs.vue.d.ts.map +1 -1
- package/dist/components/TextInput.cjs +1 -1
- package/dist/components/TextInput.mjs +1 -1
- package/dist/components/TextInput.vue.d.ts +13 -5
- package/dist/components/TextInput.vue.d.ts.map +1 -1
- package/dist/components/Toast.cjs +1 -1
- package/dist/components/Toast.mjs +1 -1
- package/dist/components/Toast.vue.d.ts.map +1 -1
- package/dist/components/Toaster.cjs +1 -1
- package/dist/components/Toaster.d.ts +1 -2
- package/dist/components/Toaster.mjs +1 -1
- package/dist/components/Toaster.vue.d.ts.map +1 -1
- package/dist/components/Tree.cjs +1 -1
- package/dist/components/Tree.d.ts +2 -0
- package/dist/components/Tree.mjs +1 -1
- package/dist/components/Tree.vue.d.ts.map +1 -1
- package/dist/components/TreeNode.cjs +1 -1
- package/dist/components/TreeNode.mjs +1 -1
- package/dist/components/TreeNode.vue.d.ts.map +1 -1
- package/dist/components/UserMenu.cjs +1 -1
- package/dist/components/UserMenu.mjs +1 -1
- package/dist/components/UserMenu.vue.d.ts.map +1 -1
- package/dist/components/Video.cjs +1 -1
- package/dist/components/Video.mjs +1 -1
- package/dist/components/Video.vue.d.ts.map +1 -1
- package/dist/components/Walkthrough.cjs +1 -1
- package/dist/components/Walkthrough.mjs +1 -1
- package/dist/components/Walkthrough.vue.d.ts.map +1 -1
- package/dist/components/Wireframe.cjs +1 -1
- package/dist/components/Wireframe.mjs +1 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/manifest.d.ts +5 -0
- package/dist/components/manifest.d.ts.map +1 -1
- package/dist/components/manifest.js +5 -0
- package/dist/composables/useBlueprint.composable.cjs +1 -1
- package/dist/composables/useBlueprint.composable.mjs +1 -1
- package/dist/composables/useConfirm.composable.cjs +1 -1
- package/dist/composables/useConfirm.composable.d.ts +9 -0
- package/dist/composables/useConfirm.composable.d.ts.map +1 -1
- package/dist/composables/useConfirm.composable.mjs +62 -63
- package/dist/composables/useFieldMessage.composable.cjs +1 -0
- package/dist/composables/useFieldMessage.composable.d.ts +44 -0
- package/dist/composables/useFieldMessage.composable.d.ts.map +1 -0
- package/dist/composables/useFieldMessage.composable.mjs +33 -0
- package/dist/composables/useInlineLoading.composable.cjs +1 -1
- package/dist/composables/useInlineLoading.composable.d.ts +3 -4
- package/dist/composables/useInlineLoading.composable.d.ts.map +1 -1
- package/dist/composables/useInlineLoading.composable.mjs +1 -1
- package/dist/composables/useLoadingAnnouncer.composable.cjs +1 -1
- package/dist/composables/useLoadingAnnouncer.composable.mjs +1 -1
- package/dist/composables/useNbStrings.composable.cjs +1 -0
- package/dist/composables/useNbStrings.composable.d.ts +105 -0
- package/dist/composables/useNbStrings.composable.d.ts.map +1 -0
- package/dist/composables/useNbStrings.composable.mjs +111 -0
- package/dist/composables/useShellSlot.composable.d.ts +3 -5
- package/dist/composables/useShellSlot.composable.d.ts.map +1 -1
- package/dist/composables/useToast.composable.cjs +1 -1
- package/dist/composables/useToast.composable.d.ts +3 -1
- package/dist/composables/useToast.composable.d.ts.map +1 -1
- package/dist/composables/useToast.composable.mjs +113 -102
- package/dist/directives/ToolTip.directive.d.ts +1 -1
- package/dist/directives/ToolTip.directive.d.ts.map +1 -1
- package/dist/global.d.ts +12 -0
- package/dist/icons/ai.mjs +26 -0
- package/dist/icons/all.mjs +2 -1
- package/dist/icons/catalog.mjs +2 -1
- package/dist/icons/names.json +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +142 -133
- package/dist/{main-TRQw3oqC.js → main-BTximdIU.js} +349 -343
- package/dist/main-DkNxc78b.cjs +4 -0
- package/dist/main.d.ts +20 -4
- package/dist/main.d.ts.map +1 -1
- package/dist/motion-BjVtMTXD.cjs +1 -0
- package/dist/motion-C0h9XZQZ.js +18 -0
- package/dist/{palette-9NBcW3rl.cjs → palette-B7XEOMVB.cjs} +1 -1
- package/dist/{palette-Cq2Mb9QH.js → palette-CWU7exM6.js} +3 -3
- package/dist/plugins/fonts.d.ts +10 -5
- package/dist/plugins/fonts.d.ts.map +1 -1
- package/dist/plugins/fonts.js +13 -8
- package/dist/plugins/vite/glyphs.d.ts.map +1 -1
- package/dist/plugins/vite/glyphs.js +28 -9
- package/dist/styles/Accordion.css +1 -1
- package/dist/styles/AccordionItem.css +1 -1
- package/dist/styles/AiLabel.css +1 -1
- package/dist/styles/Avatar.css +1 -1
- package/dist/styles/Badge.css +1 -1
- package/dist/styles/Banner.css +1 -1
- package/dist/styles/BarChart.css +1 -1
- package/dist/styles/Blueprint.css +1 -1
- package/dist/styles/BlueprintCard.css +1 -1
- package/dist/styles/BlueprintControls.css +1 -1
- package/dist/styles/BlueprintMinimap.css +1 -1
- package/dist/styles/Board.css +1 -1
- package/dist/styles/BottomPanel.css +1 -1
- package/dist/styles/Breadcrumbs.css +1 -1
- package/dist/styles/Button.css +1 -1
- package/dist/styles/Calendar.css +1 -1
- package/dist/styles/Card.css +1 -1
- package/dist/styles/CardGrid.css +1 -1
- package/dist/styles/ChartLegend.css +1 -1
- package/dist/styles/Checkbox.css +1 -1
- package/dist/styles/CheckboxGroup.css +1 -1
- package/dist/styles/ColorStrip.css +1 -1
- package/dist/styles/CommandPalette.css +1 -1
- package/dist/styles/Confirm.css +1 -1
- package/dist/styles/ContainedList.css +1 -0
- package/dist/styles/ContainedListItem.css +1 -0
- package/dist/styles/DataTable.css +1 -1
- package/dist/styles/DatePicker.css +1 -1
- package/dist/styles/DefinitionList.css +1 -1
- package/dist/styles/DragHandle.css +1 -1
- package/dist/styles/EmptyState.css +1 -1
- package/dist/styles/Field.css +1 -1
- package/dist/styles/FileUploader.css +1 -1
- package/dist/styles/FloatingToolbar.css +1 -1
- package/dist/styles/GanttChart.css +1 -1
- package/dist/styles/Icon.css +1 -1
- package/dist/styles/ImageCropper.css +1 -1
- package/dist/styles/ImagePicker.css +1 -1
- package/dist/styles/InfoHint.css +1 -1
- package/dist/styles/InlineEdit.css +1 -1
- package/dist/styles/InlineLoading.css +1 -1
- package/dist/styles/InterpolationChart.css +1 -1
- package/dist/styles/JsonTree.css +1 -1
- package/dist/styles/Label.css +1 -1
- package/dist/styles/LineChart.css +1 -1
- package/dist/styles/MenuBarItem.css +1 -1
- package/dist/styles/MenuItem.css +1 -1
- package/dist/styles/Message.css +1 -1
- package/dist/styles/Modal.css +1 -1
- package/dist/styles/NotificationCenter.css +1 -1
- package/dist/styles/NotificationCenterItem.css +1 -1
- package/dist/styles/NumberInput.css +1 -1
- package/dist/styles/PageHeader.css +1 -0
- package/dist/styles/PageLayout.css +1 -0
- package/dist/styles/Pagination.css +1 -1
- package/dist/styles/Panel.css +1 -1
- package/dist/styles/PieChart.css +1 -1
- package/dist/styles/ProgressBar.css +1 -1
- package/dist/styles/Radio.css +1 -1
- package/dist/styles/ReorderList.css +1 -1
- package/dist/styles/Select.css +1 -1
- package/dist/styles/Shell.css +1 -1
- package/dist/styles/ShellPanel.css +1 -1
- package/dist/styles/SidebarBrand.css +1 -1
- package/dist/styles/SidebarHeaderToggle.css +1 -1
- package/dist/styles/SidebarLink.css +1 -1
- package/dist/styles/SidebarMenu.css +1 -1
- package/dist/styles/SidebarMenuGroup.css +1 -1
- package/dist/styles/SidebarMenuItem.css +1 -1
- package/dist/styles/SidebarStatus.css +1 -1
- package/dist/styles/Skeleton.css +1 -1
- package/dist/styles/Slider.css +1 -1
- package/dist/styles/Sparkline.css +1 -1
- package/dist/styles/Spinner.css +1 -1
- package/dist/styles/Stat.css +1 -1
- package/dist/styles/Stepper.css +1 -1
- package/dist/styles/StepperStep.css +1 -1
- package/dist/styles/StructuredList.css +1 -0
- package/dist/styles/SuggestionList.css +1 -1
- package/dist/styles/Switch.css +1 -1
- package/dist/styles/TableOfContents.css +1 -1
- package/dist/styles/Tabs.css +1 -1
- package/dist/styles/TextInput.css +1 -1
- package/dist/styles/Toast.css +1 -1
- package/dist/styles/Toaster.css +1 -1
- package/dist/styles/Tree.css +1 -1
- package/dist/styles/TreeNode.css +1 -1
- package/dist/styles/UserMenu.css +1 -1
- package/dist/styles/Walkthrough.css +1 -1
- package/dist/styles/main.css +1 -1
- package/dist/styles/palette.css +1 -1
- package/dist/tokens/motion.d.ts +42 -0
- package/dist/tokens/motion.d.ts.map +1 -0
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/ui.css +91 -86
- package/dist/utils/pluralize.helper.cjs +1 -0
- package/dist/utils/pluralize.helper.d.ts +28 -0
- package/dist/utils/pluralize.helper.d.ts.map +1 -0
- package/dist/utils/pluralize.helper.mjs +14 -0
- package/dist/utils/truncateMiddle.helper.cjs +1 -0
- package/dist/utils/truncateMiddle.helper.d.ts +16 -0
- package/dist/utils/truncateMiddle.helper.d.ts.map +1 -0
- package/dist/utils/truncateMiddle.helper.mjs +11 -0
- package/package.json +8 -5
- package/src/assets/icons/ai.svg +4 -0
- package/src/plugins/fonts.ts +13 -8
- package/src/plugins/vite/glyphs.ts +32 -9
- package/src/styles/_accent.scss +60 -2
- package/src/styles/_ai.scss +128 -0
- package/src/styles/_contrast.scss +64 -0
- package/src/styles/_focus.scss +28 -0
- package/src/styles/_reset.scss +5 -5
- package/src/styles/_theme-api.scss +17 -2
- package/src/styles/_theme.scss +176 -56
- 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,468 @@
|
|
|
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, r as a, u as o } from "./palette-CWU7exM6.js";
|
|
4
|
+
import { t as s } from "./ChartLegend-fsJqOyGj.js";
|
|
5
|
+
import { a as c, n as l } from "./scales-CNW8JgKC.js";
|
|
6
|
+
import { Fragment as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createVNode as g, defineComponent as _, normalizeClass as v, normalizeStyle as y, openBlock as b, reactive as ee, ref as x, renderList as S, toDisplayString as C, unref as te, withCtx as w } from "vue";
|
|
7
|
+
//#region src/components/Charts/GanttChart.vue?vue&type=script&setup=true&lang.ts
|
|
8
|
+
var T = { class: "nb-gantt__list-body" }, ne = ["onClick"], re = { class: "nb-gantt__list-group-label" }, ie = ["onMouseenter"], ae = ["title"], oe = ["width"], E = { class: "nb-gantt__time-header" }, se = ["x", "y"], ce = ["x1", "x2"], le = [
|
|
9
|
+
"width",
|
|
10
|
+
"height",
|
|
11
|
+
"aria-label"
|
|
12
|
+
], ue = { key: 0 }, de = [
|
|
13
|
+
"x1",
|
|
14
|
+
"x2",
|
|
15
|
+
"y2"
|
|
16
|
+
], fe = [
|
|
17
|
+
"y",
|
|
18
|
+
"width",
|
|
19
|
+
"height"
|
|
20
|
+
], pe = [
|
|
21
|
+
"x1",
|
|
22
|
+
"x2",
|
|
23
|
+
"y2"
|
|
24
|
+
], me = [
|
|
25
|
+
"x",
|
|
26
|
+
"y",
|
|
27
|
+
"width",
|
|
28
|
+
"height"
|
|
29
|
+
], he = ["points"], ge = ["points"], _e = [
|
|
30
|
+
"x",
|
|
31
|
+
"y",
|
|
32
|
+
"width",
|
|
33
|
+
"height",
|
|
34
|
+
"fill",
|
|
35
|
+
"onMouseenter",
|
|
36
|
+
"onMousemove"
|
|
37
|
+
], ve = [
|
|
38
|
+
"x",
|
|
39
|
+
"y",
|
|
40
|
+
"width",
|
|
41
|
+
"height",
|
|
42
|
+
"fill"
|
|
43
|
+
], ye = [
|
|
44
|
+
"points",
|
|
45
|
+
"fill",
|
|
46
|
+
"onMouseenter",
|
|
47
|
+
"onMousemove"
|
|
48
|
+
], be = ["d"], xe = ["points"], Se = [
|
|
49
|
+
"y",
|
|
50
|
+
"width",
|
|
51
|
+
"height",
|
|
52
|
+
"onMouseenter"
|
|
53
|
+
], D = 40, O = /* @__PURE__ */ e(/* @__PURE__ */ _({
|
|
54
|
+
__name: "GanttChart",
|
|
55
|
+
props: {
|
|
56
|
+
tasks: { default: () => [] },
|
|
57
|
+
dependencies: { default: () => [] },
|
|
58
|
+
groups: { default: () => [] },
|
|
59
|
+
timeScale: { default: "week" },
|
|
60
|
+
locale: { default: void 0 },
|
|
61
|
+
rowHeight: { default: 36 },
|
|
62
|
+
listWidth: { default: 200 },
|
|
63
|
+
showTodayMarker: {
|
|
64
|
+
type: Boolean,
|
|
65
|
+
default: !0
|
|
66
|
+
},
|
|
67
|
+
today: { default: void 0 },
|
|
68
|
+
showProgress: {
|
|
69
|
+
type: Boolean,
|
|
70
|
+
default: !0
|
|
71
|
+
},
|
|
72
|
+
statusColors: { default: void 0 },
|
|
73
|
+
title: { default: void 0 },
|
|
74
|
+
subtitle: { default: void 0 },
|
|
75
|
+
height: { default: 400 },
|
|
76
|
+
showLegend: {
|
|
77
|
+
type: Boolean,
|
|
78
|
+
default: !0
|
|
79
|
+
},
|
|
80
|
+
showTooltip: {
|
|
81
|
+
type: Boolean,
|
|
82
|
+
default: !0
|
|
83
|
+
},
|
|
84
|
+
showGrid: {
|
|
85
|
+
type: Boolean,
|
|
86
|
+
default: !0
|
|
87
|
+
},
|
|
88
|
+
colors: { default: () => i }
|
|
89
|
+
},
|
|
90
|
+
setup(e) {
|
|
91
|
+
let i = t(), _ = e, O = d(() => _.locale || (typeof navigator < "u" ? navigator.language : "") || "en"), Ce = {
|
|
92
|
+
default: a(1),
|
|
93
|
+
"on-track": a(3),
|
|
94
|
+
"at-risk": a(4),
|
|
95
|
+
behind: a(5),
|
|
96
|
+
complete: a(2)
|
|
97
|
+
}, k = d(() => ({
|
|
98
|
+
...Ce,
|
|
99
|
+
..._.statusColors
|
|
100
|
+
})), A = d(() => Math.round(_.rowHeight * .22)), j = d(() => _.rowHeight - A.value * 2), M = d(() => Math.round(_.rowHeight * .28)), N = x(new Set((_.groups ?? []).filter((e) => e.collapsed).map((e) => e.id))), we = (e) => {
|
|
101
|
+
let t = new Set(N.value);
|
|
102
|
+
t.has(e) ? t.delete(e) : t.add(e), N.value = t;
|
|
103
|
+
}, Te = d(() => (_.groups?.length ?? 0) > 0), P = d(() => {
|
|
104
|
+
let e = _.tasks ?? [], t = _.groups ?? [];
|
|
105
|
+
if (!t.length) return e.map((e) => ({
|
|
106
|
+
id: e.id,
|
|
107
|
+
label: e.label,
|
|
108
|
+
type: "task",
|
|
109
|
+
milestone: e.milestone
|
|
110
|
+
}));
|
|
111
|
+
let n = [], r = new Map(t.map((e) => [e.id, e])), i = /* @__PURE__ */ new Map(), a = [];
|
|
112
|
+
for (let t of e) if (t.group && r.has(t.group)) {
|
|
113
|
+
let e = i.get(t.group) ?? [];
|
|
114
|
+
e.push(t), i.set(t.group, e);
|
|
115
|
+
} else a.push(t);
|
|
116
|
+
for (let e of t) if (n.push({
|
|
117
|
+
id: e.id,
|
|
118
|
+
label: e.label,
|
|
119
|
+
type: "group"
|
|
120
|
+
}), !N.value.has(e.id)) for (let t of i.get(e.id) ?? []) n.push({
|
|
121
|
+
id: t.id,
|
|
122
|
+
label: t.label,
|
|
123
|
+
type: "task",
|
|
124
|
+
milestone: t.milestone,
|
|
125
|
+
indent: !0
|
|
126
|
+
});
|
|
127
|
+
for (let e of a) n.push({
|
|
128
|
+
id: e.id,
|
|
129
|
+
label: e.label,
|
|
130
|
+
type: "task",
|
|
131
|
+
milestone: e.milestone
|
|
132
|
+
});
|
|
133
|
+
return n;
|
|
134
|
+
}), Ee = d(() => P.value.filter((e) => e.type === "task")), F = d(() => {
|
|
135
|
+
let e = /* @__PURE__ */ new Map();
|
|
136
|
+
return P.value.forEach((t, n) => e.set(t.id, n)), e;
|
|
137
|
+
}), I = (e) => typeof e == "string" ? new Date(e).getTime() : e.getTime(), L = d(() => {
|
|
138
|
+
let e = _.tasks ?? [];
|
|
139
|
+
if (!e.length) {
|
|
140
|
+
let e = Date.now();
|
|
141
|
+
return [e, e + 7 * 864e5];
|
|
142
|
+
}
|
|
143
|
+
let t = Infinity, n = -Infinity;
|
|
144
|
+
for (let r of e) {
|
|
145
|
+
let e = I(r.start), i = r.end ? I(r.end) : e;
|
|
146
|
+
e < t && (t = e), i > n && (n = i);
|
|
147
|
+
}
|
|
148
|
+
let r = R(_.timeScale);
|
|
149
|
+
return [t - r, n + r];
|
|
150
|
+
}), R = (e) => {
|
|
151
|
+
let t = 864e5;
|
|
152
|
+
return e === "day" ? t : e === "week" ? 7 * t : e === "month" ? 30 * t : e === "quarter" ? 91 * t : 365 * t;
|
|
153
|
+
}, De = d(() => {
|
|
154
|
+
let e = _.timeScale;
|
|
155
|
+
return e === "day" ? 40 : e === "week" ? 120 : e === "month" ? 180 : e === "quarter" ? 240 : 360;
|
|
156
|
+
}), z = d(() => De.value / R(_.timeScale)), B = d(() => L.value[0]), V = d(() => Math.max(200, Math.ceil((L.value[1] - L.value[0]) * z.value))), H = d(() => P.value.length * _.rowHeight), U = d(() => c(new Date(L.value[0]), new Date(L.value[1]), _.timeScale, z.value, B.value)), W = d(() => {
|
|
157
|
+
if (!_.showTodayMarker) return null;
|
|
158
|
+
let e = l(_.today ? new Date(_.today) : /* @__PURE__ */ new Date(), B.value, z.value);
|
|
159
|
+
return e < 0 || e > V.value ? null : e;
|
|
160
|
+
}), G = (e, t) => e.color ? e.color : e.status && e.status !== "default" ? k.value[e.status] : n(t, _.colors), K = (e) => (typeof e == "string" ? new Date(e) : e).toLocaleDateString(O.value, {
|
|
161
|
+
month: "short",
|
|
162
|
+
day: "numeric",
|
|
163
|
+
year: "numeric"
|
|
164
|
+
}), Oe = d(() => (_.tasks ?? []).filter((e) => !e.milestone && e.end).map((e, t) => {
|
|
165
|
+
let n = F.value.get(e.id);
|
|
166
|
+
if (n === void 0) return null;
|
|
167
|
+
let r = l(e.start, B.value, z.value), i = l(e.end, B.value, z.value);
|
|
168
|
+
return {
|
|
169
|
+
id: e.id,
|
|
170
|
+
x: r,
|
|
171
|
+
y: n * _.rowHeight,
|
|
172
|
+
width: Math.max(i - r, 4),
|
|
173
|
+
color: G(e, t),
|
|
174
|
+
status: e.status ?? "default",
|
|
175
|
+
progress: e.progress ?? 0,
|
|
176
|
+
label: e.label,
|
|
177
|
+
start: K(e.start),
|
|
178
|
+
end: K(e.end)
|
|
179
|
+
};
|
|
180
|
+
}).filter(Boolean)), ke = d(() => (_.tasks ?? []).filter((e) => e.milestone).map((e, t) => {
|
|
181
|
+
let n = F.value.get(e.id);
|
|
182
|
+
return n === void 0 ? null : {
|
|
183
|
+
id: e.id,
|
|
184
|
+
x: l(e.start, B.value, z.value),
|
|
185
|
+
y: n * _.rowHeight,
|
|
186
|
+
color: G(e, t),
|
|
187
|
+
label: e.label,
|
|
188
|
+
date: K(e.start)
|
|
189
|
+
};
|
|
190
|
+
}).filter(Boolean)), Ae = d(() => {
|
|
191
|
+
let e = _.groups ?? [], t = _.tasks ?? [];
|
|
192
|
+
return e.length ? e.map((e) => {
|
|
193
|
+
let n = F.value.get(e.id);
|
|
194
|
+
if (n === void 0) return null;
|
|
195
|
+
let r = t.filter((t) => t.group === e.id);
|
|
196
|
+
if (!r.length) return null;
|
|
197
|
+
let i = Infinity, a = -Infinity;
|
|
198
|
+
for (let e of r) {
|
|
199
|
+
let t = I(e.start), n = e.end ? I(e.end) : t;
|
|
200
|
+
t < i && (i = t), n > a && (a = n);
|
|
201
|
+
}
|
|
202
|
+
let o = l(new Date(i), B.value, z.value), s = l(new Date(a), B.value, z.value);
|
|
203
|
+
return {
|
|
204
|
+
id: e.id,
|
|
205
|
+
x: o,
|
|
206
|
+
y: n * _.rowHeight,
|
|
207
|
+
width: Math.max(s - o, 4)
|
|
208
|
+
};
|
|
209
|
+
}).filter(Boolean) : [];
|
|
210
|
+
}), q = (e, t) => `${e},${t} ${e - 5},${t + 5} ${e + 5},${t + 5}`, je = (e, t, n) => `${e},${t - n} ${e + n},${t} ${e},${t + n} ${e - n},${t}`, J = d(() => {
|
|
211
|
+
let e = _.dependencies ?? [];
|
|
212
|
+
if (!e.length) return [];
|
|
213
|
+
let t = new Map((_.tasks ?? []).map((e) => [e.id, e]));
|
|
214
|
+
return e.map((e) => {
|
|
215
|
+
let n = t.get(e.from), r = t.get(e.to);
|
|
216
|
+
if (!n || !r) return null;
|
|
217
|
+
let i = F.value.get(e.from), a = F.value.get(e.to);
|
|
218
|
+
if (i === void 0 || a === void 0) return null;
|
|
219
|
+
let o = e.type ?? "finish-to-start", s = _.rowHeight, c, u, d, f;
|
|
220
|
+
o === "finish-to-start" ? (c = n.milestone ? l(n.start, B.value, z.value) + M.value : l(n.end ?? n.start, B.value, z.value), u = i * s + s / 2, d = r.milestone ? l(r.start, B.value, z.value) - M.value : l(r.start, B.value, z.value), f = a * s + s / 2) : o === "start-to-start" ? (c = l(n.start, B.value, z.value), u = i * s + s / 2, d = l(r.start, B.value, z.value), f = a * s + s / 2) : o === "finish-to-finish" ? (c = l(n.end ?? n.start, B.value, z.value), u = i * s + s / 2, d = l(r.end ?? r.start, B.value, z.value), f = a * s + s / 2) : (c = l(n.start, B.value, z.value), u = i * s + s / 2, d = l(r.end ?? r.start, B.value, z.value), f = a * s + s / 2);
|
|
221
|
+
let p = c + (d - c) * .5, m = d > c + 12 ? `M${c},${u} H${p} V${f} H${d}` : `M${c},${u} H${c + 12} V${(u + f) / 2} H${d - 12} V${f} H${d}`, h = d, g = f;
|
|
222
|
+
return {
|
|
223
|
+
path: m,
|
|
224
|
+
arrowhead: `${h},${g} ${h - 6},${g - 4} ${h - 6},${g + 4}`
|
|
225
|
+
};
|
|
226
|
+
}).filter(Boolean);
|
|
227
|
+
}), Y = x(null), X = x(null), Z = ee({
|
|
228
|
+
x: 0,
|
|
229
|
+
y: 0
|
|
230
|
+
}), Q = x(null), Me = (e, t) => {
|
|
231
|
+
if (!Y.value) return;
|
|
232
|
+
let n = Y.value.getBoundingClientRect();
|
|
233
|
+
Z.x = e.clientX - n.left + 12, Z.y = e.clientY - n.top + 12, X.value = t.id, Q.value = {
|
|
234
|
+
title: t.label,
|
|
235
|
+
rows: [
|
|
236
|
+
{
|
|
237
|
+
label: "Start",
|
|
238
|
+
value: t.start,
|
|
239
|
+
color: t.color
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
label: "End",
|
|
243
|
+
value: t.end,
|
|
244
|
+
color: t.color
|
|
245
|
+
},
|
|
246
|
+
...t.progress > 0 ? [{
|
|
247
|
+
label: "Progress",
|
|
248
|
+
value: `${t.progress}%`,
|
|
249
|
+
color: t.color
|
|
250
|
+
}] : []
|
|
251
|
+
]
|
|
252
|
+
};
|
|
253
|
+
}, Ne = (e, t) => {
|
|
254
|
+
if (!Y.value) return;
|
|
255
|
+
let n = Y.value.getBoundingClientRect();
|
|
256
|
+
Z.x = e.clientX - n.left + 12, Z.y = e.clientY - n.top + 12, X.value = t.id, Q.value = {
|
|
257
|
+
title: t.label,
|
|
258
|
+
rows: [{
|
|
259
|
+
label: "Date",
|
|
260
|
+
value: t.date,
|
|
261
|
+
color: t.color
|
|
262
|
+
}]
|
|
263
|
+
};
|
|
264
|
+
}, $ = d(() => {
|
|
265
|
+
let e = /* @__PURE__ */ new Set();
|
|
266
|
+
for (let t of _.tasks ?? []) e.add(t.status ?? "default");
|
|
267
|
+
let t = {
|
|
268
|
+
default: "Default",
|
|
269
|
+
"on-track": "On track",
|
|
270
|
+
"at-risk": "At risk",
|
|
271
|
+
behind: "Behind",
|
|
272
|
+
complete: "Complete"
|
|
273
|
+
};
|
|
274
|
+
return Array.from(e).map((e) => ({
|
|
275
|
+
label: t[e],
|
|
276
|
+
color: k.value[e]
|
|
277
|
+
}));
|
|
278
|
+
});
|
|
279
|
+
return (t, n) => (b(), f(o, {
|
|
280
|
+
title: e.title,
|
|
281
|
+
subtitle: e.subtitle,
|
|
282
|
+
height: e.height,
|
|
283
|
+
"show-legend": e.showLegend && $.value.length > 1
|
|
284
|
+
}, {
|
|
285
|
+
legend: w(() => [g(s, { items: $.value }, null, 8, ["items"])]),
|
|
286
|
+
default: w(() => [h("div", { class: v(["nb-gantt", { "nb-gantt--has-groups": Te.value }]) }, [h("div", {
|
|
287
|
+
class: "nb-gantt__list",
|
|
288
|
+
style: y({ width: `${e.listWidth}px` })
|
|
289
|
+
}, [h("div", {
|
|
290
|
+
class: "nb-gantt__list-header",
|
|
291
|
+
style: y({ height: `${D}px` })
|
|
292
|
+
}, " Tasks ", 4), h("div", T, [(b(!0), m(u, null, S(P.value, (t) => (b(), m(u, { key: t.id }, [t.type === "group" ? (b(), m("div", {
|
|
293
|
+
key: 0,
|
|
294
|
+
class: "nb-gantt__list-group",
|
|
295
|
+
style: y({ height: `${e.rowHeight}px` }),
|
|
296
|
+
onClick: (e) => we(t.id)
|
|
297
|
+
}, [h("span", { class: v(["nb-gantt__list-caret", { "is-collapsed": N.value.has(t.id) }]) }, "▸", 2), h("span", re, C(t.label), 1)], 12, ne)) : (b(), m("div", {
|
|
298
|
+
key: 1,
|
|
299
|
+
class: v(["nb-gantt__list-row", {
|
|
300
|
+
"is-hovered": X.value === t.id,
|
|
301
|
+
"is-milestone": t.milestone
|
|
302
|
+
}]),
|
|
303
|
+
style: y({
|
|
304
|
+
height: `${e.rowHeight}px`,
|
|
305
|
+
paddingLeft: t.indent ? "20px" : void 0
|
|
306
|
+
}),
|
|
307
|
+
onMouseenter: (e) => X.value = t.id,
|
|
308
|
+
onMouseleave: n[0] ||= (e) => X.value = null
|
|
309
|
+
}, [h("span", {
|
|
310
|
+
class: "nb-gantt__list-label",
|
|
311
|
+
title: t.label
|
|
312
|
+
}, C(t.label), 9, ae)], 46, ie))], 64))), 128))])], 4), h("div", {
|
|
313
|
+
ref_key: "timelineEl",
|
|
314
|
+
ref: Y,
|
|
315
|
+
class: "nb-gantt__timeline"
|
|
316
|
+
}, [
|
|
317
|
+
(b(), m("svg", {
|
|
318
|
+
class: "nb-gantt__header-svg",
|
|
319
|
+
width: V.value,
|
|
320
|
+
height: D
|
|
321
|
+
}, [h("g", E, [(b(!0), m(u, null, S(U.value, (e, t) => (b(), m("text", {
|
|
322
|
+
key: `th-${t}`,
|
|
323
|
+
x: e.x + 4,
|
|
324
|
+
y: D - 6,
|
|
325
|
+
class: "nb-gantt__time-label"
|
|
326
|
+
}, C(e.label), 9, se))), 128)), (b(!0), m(u, null, S(U.value, (e, t) => (b(), m("line", {
|
|
327
|
+
key: `tl-${t}`,
|
|
328
|
+
x1: e.x,
|
|
329
|
+
x2: e.x,
|
|
330
|
+
y1: 0,
|
|
331
|
+
y2: D,
|
|
332
|
+
class: "nb-gantt__header-gridline"
|
|
333
|
+
}, null, 8, ce))), 128))])], 8, oe)),
|
|
334
|
+
(b(), m("svg", {
|
|
335
|
+
class: "nb-gantt__svg",
|
|
336
|
+
width: V.value,
|
|
337
|
+
height: H.value,
|
|
338
|
+
role: "img",
|
|
339
|
+
"aria-label": e.title || te(i).chartGantt,
|
|
340
|
+
onMouseleave: n[4] ||= (e) => X.value = null
|
|
341
|
+
}, [
|
|
342
|
+
e.showGrid ? (b(), m("g", ue, [(b(!0), m(u, null, S(U.value, (e, t) => (b(), m("line", {
|
|
343
|
+
key: `grid-${t}`,
|
|
344
|
+
class: "nb-gantt__gridline",
|
|
345
|
+
x1: e.x,
|
|
346
|
+
x2: e.x,
|
|
347
|
+
y1: 0,
|
|
348
|
+
y2: H.value
|
|
349
|
+
}, null, 8, de))), 128))])) : p("", !0),
|
|
350
|
+
h("g", null, [(b(!0), m(u, null, S(P.value, (t, n) => (b(), m("rect", {
|
|
351
|
+
key: `stripe-${t.id}`,
|
|
352
|
+
class: v(["nb-gantt__row-stripe", {
|
|
353
|
+
"is-even": n % 2 == 0,
|
|
354
|
+
"is-group": t.type === "group"
|
|
355
|
+
}]),
|
|
356
|
+
x: 0,
|
|
357
|
+
y: n * e.rowHeight,
|
|
358
|
+
width: V.value,
|
|
359
|
+
height: e.rowHeight
|
|
360
|
+
}, null, 10, fe))), 128))]),
|
|
361
|
+
e.showTodayMarker && W.value !== null ? (b(), m("line", {
|
|
362
|
+
key: 1,
|
|
363
|
+
class: "nb-gantt__today-line",
|
|
364
|
+
x1: W.value,
|
|
365
|
+
x2: W.value,
|
|
366
|
+
y1: 0,
|
|
367
|
+
y2: H.value
|
|
368
|
+
}, null, 8, pe)) : p("", !0),
|
|
369
|
+
(b(!0), m(u, null, S(Ae.value, (t) => (b(), m("g", { key: `summary-${t.id}` }, [
|
|
370
|
+
h("rect", {
|
|
371
|
+
class: "nb-gantt__summary-bar",
|
|
372
|
+
x: t.x,
|
|
373
|
+
y: t.y + e.rowHeight * .35,
|
|
374
|
+
width: Math.max(t.width, 2),
|
|
375
|
+
height: e.rowHeight * .3,
|
|
376
|
+
rx: "2"
|
|
377
|
+
}, null, 8, me),
|
|
378
|
+
h("polygon", {
|
|
379
|
+
class: "nb-gantt__summary-caret",
|
|
380
|
+
points: q(t.x, t.y + e.rowHeight * .65)
|
|
381
|
+
}, null, 8, he),
|
|
382
|
+
h("polygon", {
|
|
383
|
+
class: "nb-gantt__summary-caret",
|
|
384
|
+
points: q(t.x + t.width, t.y + e.rowHeight * .65)
|
|
385
|
+
}, null, 8, ge)
|
|
386
|
+
]))), 128)),
|
|
387
|
+
(b(!0), m(u, null, S(Oe.value, (t) => (b(), m("g", { key: `bar-${t.id}` }, [h("rect", {
|
|
388
|
+
class: v(["nb-gantt__bar", [`nb-gantt__bar--${t.status}`, {
|
|
389
|
+
"is-hovered": X.value === t.id,
|
|
390
|
+
"is-dim": X.value !== null && X.value !== t.id
|
|
391
|
+
}]]),
|
|
392
|
+
x: t.x,
|
|
393
|
+
y: t.y + A.value,
|
|
394
|
+
width: Math.max(t.width, 4),
|
|
395
|
+
height: j.value,
|
|
396
|
+
rx: "3",
|
|
397
|
+
fill: t.color,
|
|
398
|
+
onMouseenter: (e) => X.value = t.id,
|
|
399
|
+
onMouseleave: n[1] ||= (e) => X.value = null,
|
|
400
|
+
onMousemove: (e) => Me(e, t)
|
|
401
|
+
}, null, 42, _e), e.showProgress && t.progress > 0 ? (b(), m("rect", {
|
|
402
|
+
key: 0,
|
|
403
|
+
class: "nb-gantt__bar-progress",
|
|
404
|
+
x: t.x,
|
|
405
|
+
y: t.y + A.value,
|
|
406
|
+
width: Math.max(t.width * (t.progress / 100), 2),
|
|
407
|
+
height: j.value,
|
|
408
|
+
rx: "3",
|
|
409
|
+
fill: t.color,
|
|
410
|
+
"pointer-events": "none"
|
|
411
|
+
}, null, 8, ve)) : p("", !0)]))), 128)),
|
|
412
|
+
(b(!0), m(u, null, S(ke.value, (t) => (b(), m("g", { key: `ms-${t.id}` }, [h("polygon", {
|
|
413
|
+
class: v(["nb-gantt__milestone", {
|
|
414
|
+
"is-hovered": X.value === t.id,
|
|
415
|
+
"is-dim": X.value !== null && X.value !== t.id
|
|
416
|
+
}]),
|
|
417
|
+
points: je(t.x, t.y + e.rowHeight / 2, M.value),
|
|
418
|
+
fill: t.color,
|
|
419
|
+
onMouseenter: (e) => X.value = t.id,
|
|
420
|
+
onMouseleave: n[2] ||= (e) => X.value = null,
|
|
421
|
+
onMousemove: (e) => Ne(e, t)
|
|
422
|
+
}, null, 42, ye)]))), 128)),
|
|
423
|
+
h("g", null, [(b(!0), m(u, null, S(J.value, (e, t) => (b(), m("path", {
|
|
424
|
+
key: `dep-${t}`,
|
|
425
|
+
class: "nb-gantt__dependency",
|
|
426
|
+
d: e.path,
|
|
427
|
+
fill: "none"
|
|
428
|
+
}, null, 8, be))), 128)), (b(!0), m(u, null, S(J.value, (e, t) => (b(), m("polygon", {
|
|
429
|
+
key: `dep-arrow-${t}`,
|
|
430
|
+
class: "nb-gantt__dependency-arrow",
|
|
431
|
+
points: e.arrowhead
|
|
432
|
+
}, null, 8, xe))), 128))]),
|
|
433
|
+
h("g", null, [(b(!0), m(u, null, S(Ee.value, (t, r) => (b(), m("rect", {
|
|
434
|
+
key: `hover-${t.id}`,
|
|
435
|
+
x: 0,
|
|
436
|
+
y: r * e.rowHeight,
|
|
437
|
+
width: V.value,
|
|
438
|
+
height: e.rowHeight,
|
|
439
|
+
fill: "transparent",
|
|
440
|
+
onMouseenter: (e) => X.value = t.id,
|
|
441
|
+
onMouseleave: n[3] ||= (e) => X.value = null
|
|
442
|
+
}, null, 40, Se))), 128))])
|
|
443
|
+
], 40, le)),
|
|
444
|
+
g(r, {
|
|
445
|
+
visible: e.showTooltip && X.value !== null && Q.value !== null,
|
|
446
|
+
x: Z.x,
|
|
447
|
+
y: Z.y,
|
|
448
|
+
title: Q.value?.title ?? "",
|
|
449
|
+
rows: Q.value?.rows ?? []
|
|
450
|
+
}, null, 8, [
|
|
451
|
+
"visible",
|
|
452
|
+
"x",
|
|
453
|
+
"y",
|
|
454
|
+
"title",
|
|
455
|
+
"rows"
|
|
456
|
+
])
|
|
457
|
+
], 512)], 2)]),
|
|
458
|
+
_: 1
|
|
459
|
+
}, 8, [
|
|
460
|
+
"title",
|
|
461
|
+
"subtitle",
|
|
462
|
+
"height",
|
|
463
|
+
"show-legend"
|
|
464
|
+
]));
|
|
465
|
+
}
|
|
466
|
+
}), [["__scopeId", "data-v-b4a32e39"]]);
|
|
467
|
+
//#endregion
|
|
468
|
+
export { O as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`./chunk-D-qHiVGv.cjs`);let e=require(`vue`);var t=[`1/3`,`2/3`,`1/5`,`2/5`,`3/5`,`4/5`,`1/6`,`5/6`],n=[`1:1`,`2:1`,`2:3`,`3:2`,`4:3`,`16:9`],r={id:{type:String,default:null},is:{type:String,default:`div`},dir:{type:[String,Object,Function],default:`row`,validator:e=>typeof e==`function`?!0:typeof e==`string`?[`row`,`col`,`row-reverse`,`col-reverse`].includes(e):Object.values(e).every(e=>[`row`,`col`,`row-reverse`,`col-reverse`].includes(e))},align:{type:[String,Object,Function],default:null,validator:e=>e==null||typeof e==`function`?!0:typeof e==`string`?[`start`,`end`,`center`,`baseline`,`stretch`].includes(e):Object.values(e).every(e=>[`start`,`end`,`center`,`baseline`,`stretch`].includes(e))},justify:{type:[String,Object,Function],default:null,validator:e=>e==null||typeof e==`function`?!0:typeof e==`string`?[`around`,`between`,`center`,`end`,`evenly`,`start`].includes(e):Object.values(e).every(e=>[`around`,`between`,`center`,`end`,`evenly`,`start`].includes(e))},gap:{type:[String,Object,Function],default:null,validator:e=>{if(e==null||typeof e==`function`)return!0;let t=[`xxs`,`xs`,`sm`,`md`,`lg`,`xl`,`xxl`];return typeof e==`string`?t.includes(e):Object.values(e).every(e=>t.includes(e))}},grid:{type:[Number,String,Object,Function],default:null,validator:e=>{if(e==null||typeof e==`function`)return!0;let n=e=>{if(typeof e==`string`&&e.includes(`/`))return t.includes(e);let n=typeof e==`string`?parseInt(e,10):e;return n>=1&&n<=16&&!isNaN(n)};return typeof e==`number`||typeof e==`string`?n(e):Object.values(e).every(n)}},shift:{type:[Number,String,Object,Function],default:null,validator:e=>{if(e==null||typeof e==`function`)return!0;let t=e=>{let t=typeof e==`string`?parseInt(e,10):e;return t>=0&&t<=15&&!isNaN(t)};return typeof e==`number`||typeof e==`string`?t(e):Object.values(e).every(t)}},wrap:{type:[String,Object,Function],default:null,validator:e=>e==null||typeof e==`function`?!0:typeof e==`string`?[`nowrap`,`wrap`,`reverse`].includes(e):Object.values(e).every(e=>[`nowrap`,`wrap`,`reverse`].includes(e))},first:{type:[Boolean,Array],default:null,validator:e=>{if(e==null||typeof e==`boolean`)return!0;let t=[`sm`,`md`,`lg`,`xl`,`xxl`];return e.every(e=>t.includes(e))}},last:{type:[Boolean,Array],default:null,validator:e=>{if(e==null||typeof e==`boolean`)return!0;let t=[`sm`,`md`,`lg`,`xl`,`xxl`];return e.every(e=>t.includes(e))}},visible:{type:[Boolean,Object,Function],default:null},reverse:{type:[Boolean,Array],default:!1,validator:e=>{if(e==null||typeof e==`boolean`)return!0;let t=[`sm`,`md`,`lg`,`xl`,`xxl`];return e.every(e=>t.includes(e))}},grow:{type:Boolean,default:null},flex:{type:Boolean,default:null},shrink:{type:Boolean,default:null},distributed:{type:Boolean,default:!1},mode:{type:String,default:null,validator:e=>e==null?!0:[`wide`,`narrow`,`condensed`].includes(e)},hang:{type:Boolean,default:!1},container:{type:Boolean,default:!1},subgrid:{type:Boolean,default:!1},ratio:{type:String,default:null,validator:e=>e==null||n.includes(e)},tabIndex:{type:String,default:null}},i=(0,e.defineComponent)({__name:`Grid`,props:r,setup(t,{expose:n}){let r=[`a`,`button`,`input`,`textarea`,`select`,`details`,`iframe`,`object`,`embed`,`area`,`audio`,`video`],i=(0,e.ref)();n({getRef:()=>i.value});let a=t,o=e=>e.replace(/([a-z])([A-Z])/g,`$1-$2`).toLowerCase();function s(e,t){let{collection:n,breakpoint:r}=t,i=r?`${r}-`:``;n[`${i}${e}`]=!0}function c(e,t){let{collection:n,breakpoint:r,classMap:i}=t,a=r?`${r}-`:``,o=i?.[e]??e;n[`${a}align-${o}`]=!0}function l(e,t){let{collection:n,breakpoint:r,classMap:i}=t,a=r?`${r}-`:``,o=i?.[e]??e;n[`${a}justify-${o}`]=!0}function u(e,t){let{collection:n,breakpoint:r}=t,i=r?`${r}-`:``;n[`${i}gap-${e}`]=!0}function d(e,t){let{collection:n,breakpoint:r}=t,i=r?`${r}-`:``;n[`${i}grid-${String(e).replace(`/`,`-`)}`]=!0}function f(e,t){let{collection:n,breakpoint:r}=t,i=r?`${r}-`:``;n[`${i}shift-${e}`]=!0}function p(e,t){let{collection:n,breakpoint:r}=t,i=r?`${r}-`:``;n[`${i}${e}`]=!0}function m(e,t){if(!e)return;let{collection:n,breakpoint:r}=t,i=r?`${r}-`:``;n[`${i}reverse`]=!0}function h(e,t,n){if(!e)return;let{collection:r,breakpoint:i}=t,a=i?`${i}-`:``;r[`${a}${n}`]=!0}function g(e,t){let{collection:n,breakpoint:r}=t,i=r?`${r}-`:``;n[`${i}${e?`visible`:`hidden`}`]=!0}function _(e,t,n){let r={};if(e==null)return r;if(typeof e==`function`){let i=e();return i!=null&&t(i,{collection:r,classMap:n}),r}return typeof e==`string`||typeof e==`number`||typeof e==`boolean`?(t(e,{collection:r,classMap:n}),r):Array.isArray(e)?(e.forEach(e=>{t(!0,{collection:r,breakpoint:o(e),classMap:n})}),r):(typeof e==`object`&&Object.entries(e).forEach(([e,i])=>{i!=null&&t(i,{collection:r,breakpoint:o(e),classMap:n})}),r)}let v=e=>{let t={top:`start`,bottom:`end`,center:`center`,stretch:`stretch`,baseline:`base`},n={left:`start`,right:`end`,center:`center`,between:`between`,around:`around`,evenly:`evenly`};return{"nb-grid":!0,..._(e.dir,s),..._(e.align,c,t),..._(e.justify,l,n),..._(e.gap,u),..._(e.grid,d),..._(e.shift,f),..._(e.wrap,p),..._(e.reverse,m),..._(e.first,(e,t)=>h(e,t,`first`)),..._(e.last,(e,t)=>h(e,t,`last`)),..._(e.visible,g),...e.flex?{flex:!0}:{},...e.distributed?{distributed:!0}:{},...e.mode?{[`nb-grid--${e.mode}`]:!0}:{},...e.hang?{"nb-grid--hang":!0}:{},...e.container?{"nb-grid--container":!0}:{},...e.subgrid?{"nb-grid--subgrid":!0}:{},...e.ratio?{[`nb-grid--ratio-${e.ratio.replace(`:`,`-`)}`]:!0}:{},...e.grow?{grow:!0}:{},...e.shrink!==null&&e.shrink!==void 0?{[`shrink-${e.shrink?`1`:`0`}`]:!0}:{}}},y=(0,e.computed)(()=>v(a));return(t,n)=>((0,e.openBlock)(),(0,e.createBlock)((0,e.resolveDynamicComponent)(t.is),{id:t.id,ref_key:`root`,ref:i,class:(0,e.normalizeClass)(y.value),tabindex:t.tabIndex??!r.includes(t.is)?`-1`:`0`},{default:(0,e.withCtx)(()=>[(0,e.renderSlot)(t.$slots,`default`)]),_:3},8,[`id`,`class`,`tabindex`]))}});Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return i}});
|
|
@@ -9,7 +9,14 @@ var l = [
|
|
|
9
9
|
"4/5",
|
|
10
10
|
"1/6",
|
|
11
11
|
"5/6"
|
|
12
|
-
], u =
|
|
12
|
+
], u = [
|
|
13
|
+
"1:1",
|
|
14
|
+
"2:1",
|
|
15
|
+
"2:3",
|
|
16
|
+
"3:2",
|
|
17
|
+
"4:3",
|
|
18
|
+
"16:9"
|
|
19
|
+
], d = /* @__PURE__ */ n({
|
|
13
20
|
__name: "Grid",
|
|
14
21
|
props: {
|
|
15
22
|
id: {
|
|
@@ -227,13 +234,30 @@ var l = [
|
|
|
227
234
|
},
|
|
228
235
|
mode: {
|
|
229
236
|
type: String,
|
|
230
|
-
default:
|
|
231
|
-
validator: (e) => [
|
|
237
|
+
default: null,
|
|
238
|
+
validator: (e) => e == null ? !0 : [
|
|
232
239
|
"wide",
|
|
233
240
|
"narrow",
|
|
234
241
|
"condensed"
|
|
235
242
|
].includes(e)
|
|
236
243
|
},
|
|
244
|
+
hang: {
|
|
245
|
+
type: Boolean,
|
|
246
|
+
default: !1
|
|
247
|
+
},
|
|
248
|
+
container: {
|
|
249
|
+
type: Boolean,
|
|
250
|
+
default: !1
|
|
251
|
+
},
|
|
252
|
+
subgrid: {
|
|
253
|
+
type: Boolean,
|
|
254
|
+
default: !1
|
|
255
|
+
},
|
|
256
|
+
ratio: {
|
|
257
|
+
type: String,
|
|
258
|
+
default: null,
|
|
259
|
+
validator: (e) => e == null || u.includes(e)
|
|
260
|
+
},
|
|
237
261
|
tabIndex: {
|
|
238
262
|
type: String,
|
|
239
263
|
default: null
|
|
@@ -355,7 +379,11 @@ var l = [
|
|
|
355
379
|
...w(e.visible, C),
|
|
356
380
|
...e.flex ? { flex: !0 } : {},
|
|
357
381
|
...e.distributed ? { distributed: !0 } : {},
|
|
358
|
-
...e.mode ? { [e.mode]: !0 } : {},
|
|
382
|
+
...e.mode ? { [`nb-grid--${e.mode}`]: !0 } : {},
|
|
383
|
+
...e.hang ? { "nb-grid--hang": !0 } : {},
|
|
384
|
+
...e.container ? { "nb-grid--container": !0 } : {},
|
|
385
|
+
...e.subgrid ? { "nb-grid--subgrid": !0 } : {},
|
|
386
|
+
...e.ratio ? { [`nb-grid--ratio-${e.ratio.replace(":", "-")}`]: !0 } : {},
|
|
359
387
|
...e.grow ? { grow: !0 } : {},
|
|
360
388
|
...e.shrink !== null && e.shrink !== void 0 ? { [`shrink-${e.shrink ? "1" : "0"}`]: !0 } : {}
|
|
361
389
|
};
|
|
@@ -377,4 +405,4 @@ var l = [
|
|
|
377
405
|
}
|
|
378
406
|
});
|
|
379
407
|
//#endregion
|
|
380
|
-
export {
|
|
408
|
+
export { d as t };
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { getRegisteredIcon as e } from "./composables/iconRegistry.mjs";
|
|
2
|
+
import { glyphNameOf as t, pickWeight as n, resolveFromCatalog as r } from "./composables/glyphCatalog.composable.mjs";
|
|
3
|
+
import { t as i } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
4
|
+
import { useStableId as a } from "./composables/useStableId.composable.mjs";
|
|
5
|
+
import { computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, defineComponent as u, mergeProps as d, openBlock as f, resolveDynamicComponent as p, useAttrs as m, watch as h } from "vue";
|
|
6
|
+
//#region src/components/Icon.d.ts
|
|
7
|
+
var g = /* @__PURE__ */ function(e) {
|
|
8
|
+
return e.SwingRight = "swing-right", e.Wobble = "wobble", e.Expand = "expand", e.Refresh = "refresh", e.Heart = "heart", e.Undo = "undo", e.Italic = "italic", e.Cog = "cog", e.Wrench = "wrench", e.Mouse = "mouse-pointer", e.Magic = "magic", e.Lock = "lock", e.Unlock = "unlock", e.Hourglass = "hourglass", e.Eraser = "eraser", e.Rocket = "rocket", e.Times = "times", e;
|
|
9
|
+
}(g || {}), _ = /* @__PURE__ */ function(e) {
|
|
10
|
+
return e.Hover = "hover", e.Always = "always", e;
|
|
11
|
+
}(_ || {}), v = /* @__PURE__ */ function(e) {
|
|
12
|
+
return e.Thin = "thin", e.Light = "light", e.Regular = "regular", e.Bold = "bold", e.Fill = "fill", e.Duotone = "duotone", e;
|
|
13
|
+
}(v || {}), y = /* @__PURE__ */ function(e) {
|
|
14
|
+
return e[e.XXL = 92] = "XXL", e[e.XL = 32] = "XL", e[e.LG = 24] = "LG", e[e.MD = 20] = "MD", e[e.SM = 16] = "SM", e[e.XS = 12] = "XS", e[e.XXS = 8] = "XXS", e;
|
|
15
|
+
}(y || {}), b = /* @__PURE__ */ new Set(), x = !1, S = [
|
|
16
|
+
"xxs",
|
|
17
|
+
"xs",
|
|
18
|
+
"sm",
|
|
19
|
+
"md",
|
|
20
|
+
"lg",
|
|
21
|
+
"xl",
|
|
22
|
+
"xxl"
|
|
23
|
+
], C = /* @__PURE__ */ i(/* @__PURE__ */ u({
|
|
24
|
+
__name: "Icon",
|
|
25
|
+
props: {
|
|
26
|
+
name: { default: void 0 },
|
|
27
|
+
icon: { default: void 0 },
|
|
28
|
+
size: { default: "sm" },
|
|
29
|
+
animation: { default: null },
|
|
30
|
+
animationMode: { default: _.Always },
|
|
31
|
+
color: { default: void 0 },
|
|
32
|
+
weight: { default: v.Regular },
|
|
33
|
+
title: { default: void 0 },
|
|
34
|
+
label: { default: void 0 },
|
|
35
|
+
clickable: {
|
|
36
|
+
type: Boolean,
|
|
37
|
+
default: !1
|
|
38
|
+
},
|
|
39
|
+
hoverable: {
|
|
40
|
+
type: Boolean,
|
|
41
|
+
default: !1
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
emits: ["click"],
|
|
45
|
+
setup(i, { emit: u }) {
|
|
46
|
+
let g = i, _ = u;
|
|
47
|
+
function v(e) {
|
|
48
|
+
typeof process < "u" && process.env.NODE_ENV === "production" || !(e === "xs" || e === "xxs" || typeof e == "number" && e < 16) || b.has(String(e)) || (b.add(String(e)), console.warn(`[NbIcon] size ${JSON.stringify(e)} is deprecated: icons are drawn for 16px and up, and below that the stroke is under a pixel. Use the scale: sm (16), md (20), lg (24) or xl (32).`));
|
|
49
|
+
}
|
|
50
|
+
h(() => g.size, v, { immediate: !0 }), h(() => g.clickable, (e) => {
|
|
51
|
+
!e || x || typeof process < "u" && process.env.NODE_ENV === "production" || (x = !0, console.warn("[NbIcon] `clickable` is deprecated. An icon that does something is a button: use <NbButton variant=\"ghost\" icon=\"...\" /> with v-nb-tooltip naming the action."));
|
|
52
|
+
}, { immediate: !0 });
|
|
53
|
+
function C(e) {
|
|
54
|
+
g.clickable && (e.key === "Enter" ? (e.preventDefault(), _("click", e)) : e.key === " " && e.preventDefault());
|
|
55
|
+
}
|
|
56
|
+
function w(e) {
|
|
57
|
+
g.clickable && e.key === " " && _("click", e);
|
|
58
|
+
}
|
|
59
|
+
let T = o(() => g.icon ?? g.name), E = o(() => typeof T.value == "string" ? T.value : t(T.value)), D = o(() => typeof T.value == "string" ? void 0 : T.value), O = a({ name: E.value }), k = m(), A = o(() => g.label || g.title || void 0), j = o(() => !!A.value || !!k["aria-label"] || !!k["aria-labelledby"]), M = o(() => {
|
|
60
|
+
let e = typeof g.size == "number" ? g.size : y[String(g.size).toUpperCase()] || y.SM;
|
|
61
|
+
return {
|
|
62
|
+
id: O,
|
|
63
|
+
...g.size && {
|
|
64
|
+
width: `${e}px`,
|
|
65
|
+
height: `${e}px`
|
|
66
|
+
},
|
|
67
|
+
...g.title && { title: g.title },
|
|
68
|
+
...g.clickable ? {
|
|
69
|
+
role: "button",
|
|
70
|
+
tabindex: 0,
|
|
71
|
+
"aria-label": A.value
|
|
72
|
+
} : j.value ? {
|
|
73
|
+
role: "img",
|
|
74
|
+
"aria-label": A.value
|
|
75
|
+
} : { "aria-hidden": "true" }
|
|
76
|
+
};
|
|
77
|
+
}), N = o(() => {
|
|
78
|
+
let t = D.value;
|
|
79
|
+
if (t) return n(t, g.weight);
|
|
80
|
+
let i = typeof T.value == "string" ? T.value : void 0;
|
|
81
|
+
return i ? e(i, g.weight) || r("icon", i, g.weight) : void 0;
|
|
82
|
+
}), P = o(() => ({
|
|
83
|
+
"nb-icon": !0,
|
|
84
|
+
...E.value && { [E.value]: !0 },
|
|
85
|
+
[`nb-icon-${g.size}`]: S.includes(String(g.size)),
|
|
86
|
+
[`nb-icon-animation-${g.animationMode}-${g.animation}`]: g.animation,
|
|
87
|
+
hoverable: g.hoverable || g.animation && g.animationMode === "hover",
|
|
88
|
+
"box-clickable": g.clickable
|
|
89
|
+
})), F = o(() => ({
|
|
90
|
+
...g.color && { color: g.color },
|
|
91
|
+
...typeof g.size == "number" && {
|
|
92
|
+
maxWidth: `${g.size}px`,
|
|
93
|
+
maxHeight: `${g.size}px`,
|
|
94
|
+
height: `${g.size}px`,
|
|
95
|
+
width: `${g.size}px`
|
|
96
|
+
},
|
|
97
|
+
...typeof g.size == "string" && !S.includes(g.size) && {
|
|
98
|
+
maxWidth: g.size,
|
|
99
|
+
maxHeight: g.size,
|
|
100
|
+
height: g.size,
|
|
101
|
+
width: g.size
|
|
102
|
+
}
|
|
103
|
+
}));
|
|
104
|
+
return (e, t) => (f(), l("i", d({
|
|
105
|
+
class: P.value,
|
|
106
|
+
style: F.value
|
|
107
|
+
}, M.value, {
|
|
108
|
+
onClick: t[0] ||= (e) => i.clickable ? _("click", e) : void 0,
|
|
109
|
+
onKeydown: C,
|
|
110
|
+
onKeyup: w
|
|
111
|
+
}), [N.value ? (f(), s(p(N.value), {
|
|
112
|
+
key: 0,
|
|
113
|
+
"aria-hidden": "true",
|
|
114
|
+
focusable: "false"
|
|
115
|
+
})) : c("", !0)], 16));
|
|
116
|
+
}
|
|
117
|
+
}), [["__scopeId", "data-v-db38800f"]]);
|
|
118
|
+
//#endregion
|
|
119
|
+
export { v as a, y as i, g as n, _ as r, C as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./composables/iconRegistry.cjs`),t=require(`./composables/glyphCatalog.composable.cjs`),n=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),r=require(`./composables/useStableId.composable.cjs`);let i=require(`vue`);var a=function(e){return e.SwingRight=`swing-right`,e.Wobble=`wobble`,e.Expand=`expand`,e.Refresh=`refresh`,e.Heart=`heart`,e.Undo=`undo`,e.Italic=`italic`,e.Cog=`cog`,e.Wrench=`wrench`,e.Mouse=`mouse-pointer`,e.Magic=`magic`,e.Lock=`lock`,e.Unlock=`unlock`,e.Hourglass=`hourglass`,e.Eraser=`eraser`,e.Rocket=`rocket`,e.Times=`times`,e}(a||{}),o=function(e){return e.Hover=`hover`,e.Always=`always`,e}(o||{}),s=function(e){return e.Thin=`thin`,e.Light=`light`,e.Regular=`regular`,e.Bold=`bold`,e.Fill=`fill`,e.Duotone=`duotone`,e}(s||{}),c=function(e){return e[e.XXL=92]=`XXL`,e[e.XL=32]=`XL`,e[e.LG=24]=`LG`,e[e.MD=20]=`MD`,e[e.SM=16]=`SM`,e[e.XS=12]=`XS`,e[e.XXS=8]=`XXS`,e}(c||{}),l=new Set,u=!1,d=[`xxs`,`xs`,`sm`,`md`,`lg`,`xl`,`xxl`],f=(0,i.defineComponent)({__name:`Icon`,props:{name:{default:void 0},icon:{default:void 0},size:{default:`sm`},animation:{default:null},animationMode:{default:o.Always},color:{default:void 0},weight:{default:s.Regular},title:{default:void 0},label:{default:void 0},clickable:{type:Boolean,default:!1},hoverable:{type:Boolean,default:!1}},emits:[`click`],setup(n,{emit:a}){let o=n,s=a;function f(e){typeof process<`u`&&process.env.NODE_ENV===`production`||!(e===`xs`||e===`xxs`||typeof e==`number`&&e<16)||l.has(String(e))||(l.add(String(e)),console.warn(`[NbIcon] size ${JSON.stringify(e)} is deprecated: icons are drawn for 16px and up, and below that the stroke is under a pixel. Use the scale: sm (16), md (20), lg (24) or xl (32).`))}(0,i.watch)(()=>o.size,f,{immediate:!0}),(0,i.watch)(()=>o.clickable,e=>{!e||u||typeof process<`u`&&process.env.NODE_ENV===`production`||(u=!0,console.warn('[NbIcon] `clickable` is deprecated. An icon that does something is a button: use <NbButton variant="ghost" icon="..." /> with v-nb-tooltip naming the action.'))},{immediate:!0});function p(e){o.clickable&&(e.key===`Enter`?(e.preventDefault(),s(`click`,e)):e.key===` `&&e.preventDefault())}function m(e){o.clickable&&e.key===` `&&s(`click`,e)}let h=(0,i.computed)(()=>o.icon??o.name),g=(0,i.computed)(()=>typeof h.value==`string`?h.value:t.glyphNameOf(h.value)),_=(0,i.computed)(()=>typeof h.value==`string`?void 0:h.value),v=r.useStableId({name:g.value}),y=(0,i.useAttrs)(),b=(0,i.computed)(()=>o.label||o.title||void 0),x=(0,i.computed)(()=>!!b.value||!!y[`aria-label`]||!!y[`aria-labelledby`]),S=(0,i.computed)(()=>{let e=typeof o.size==`number`?o.size:c[String(o.size).toUpperCase()]||c.SM;return{id:v,...o.size&&{width:`${e}px`,height:`${e}px`},...o.title&&{title:o.title},...o.clickable?{role:`button`,tabindex:0,"aria-label":b.value}:x.value?{role:`img`,"aria-label":b.value}:{"aria-hidden":`true`}}}),C=(0,i.computed)(()=>{let n=_.value;if(n)return t.pickWeight(n,o.weight);let r=typeof h.value==`string`?h.value:void 0;return r?e.getRegisteredIcon(r,o.weight)||t.resolveFromCatalog(`icon`,r,o.weight):void 0}),w=(0,i.computed)(()=>({"nb-icon":!0,...g.value&&{[g.value]:!0},[`nb-icon-${o.size}`]:d.includes(String(o.size)),[`nb-icon-animation-${o.animationMode}-${o.animation}`]:o.animation,hoverable:o.hoverable||o.animation&&o.animationMode===`hover`,"box-clickable":o.clickable})),T=(0,i.computed)(()=>({...o.color&&{color:o.color},...typeof o.size==`number`&&{maxWidth:`${o.size}px`,maxHeight:`${o.size}px`,height:`${o.size}px`,width:`${o.size}px`},...typeof o.size==`string`&&!d.includes(o.size)&&{maxWidth:o.size,maxHeight:o.size,height:o.size,width:o.size}}));return(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)(`i`,(0,i.mergeProps)({class:w.value,style:T.value},S.value,{onClick:t[0]||=e=>n.clickable?s(`click`,e):void 0,onKeydown:p,onKeyup:m}),[C.value?((0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)(C.value),{key:0,"aria-hidden":`true`,focusable:`false`})):(0,i.createCommentVNode)(``,!0)],16))}}),p=n.t(f,[[`__scopeId`,`data-v-db38800f`]]);Object.defineProperty(exports,`a`,{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return p}});
|