@nubisco/ui 5.47.1 → 5.48.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/THIRD_PARTY_NOTICES.md +35 -0
- package/dist/{Accordion-CD_BZ3Xb.cjs → Accordion-BeKz0oeM.cjs} +1 -1
- package/dist/{Accordion-2bbHhUR3.js → Accordion-Cx0hbUIx.js} +3 -3
- package/dist/{AccordionItem-BybHChPs.js → AccordionItem-DFwj28eL.js} +6 -6
- package/dist/{AccordionItem-D6mruuMX.cjs → AccordionItem-DhZD2kJL.cjs} +1 -1
- package/dist/{ActionGroup-D3Gl1-JX.js → ActionGroup-CJoBGUvw.js} +53 -52
- package/dist/ActionGroup-CU9YQboQ.cjs +1 -0
- package/dist/AiLabel-DywBjSzr.js +240 -0
- package/dist/AiLabel-pRN10dQV.cjs +1 -0
- package/dist/{AiProvider-HhveBBc_.js → AiProvider-D8O_YaaP.js} +6 -6
- package/dist/{AiProvider-CXIEBABi.cjs → AiProvider-DY1xxZff.cjs} +1 -1
- package/dist/{AiUsage-DFo022zD.cjs → AiUsage-DRj51zK5.cjs} +1 -1
- package/dist/{AiUsage-CFdp1EMH.js → AiUsage-HcYF6RQ2.js} +13 -12
- package/dist/BackToTop-C5gFfuu7.cjs +1 -0
- package/dist/BackToTop-DZhl6N_Q.js +56 -0
- package/dist/Badge-BFsoJcCK.js +70 -0
- package/dist/Badge-CfICqXrd.cjs +1 -0
- package/dist/{Banner-CsxChQ3U.js → Banner-5uX-ujbu.js} +5 -5
- package/dist/Banner-CiIQKSxv.cjs +1 -0
- package/dist/BarChart-IX4imFVT.cjs +1 -0
- package/dist/BarChart-tB6MOMoR.js +400 -0
- package/dist/{Blueprint-lTBswuCE.js → Blueprint-46DWDZmu.js} +5 -5
- package/dist/{Blueprint-BBRar8Vu.cjs → Blueprint-NyUNNf-G.cjs} +1 -1
- package/dist/{BlueprintBackground-Ez4ICRal.js → BlueprintBackground-5OOF-VpK.js} +1 -1
- package/dist/{BlueprintBackground-BpkT_8A8.cjs → BlueprintBackground-D_JokLTK.cjs} +1 -1
- package/dist/BlueprintCard-Cda5rPZu.cjs +1 -0
- package/dist/{BlueprintCard-CsOQhmxj.js → BlueprintCard-DDNP1vkk.js} +111 -110
- package/dist/BlueprintControls-D0MdXrVv.js +222 -0
- package/dist/BlueprintControls-DnUoI9qp.cjs +1 -0
- package/dist/BlueprintMinimap-CACuVJqI.cjs +1 -0
- package/dist/BlueprintMinimap-Ehrltju2.js +163 -0
- package/dist/Board-BNB96CXm.cjs +1 -0
- package/dist/{Board-CovoTYff.js → Board-CaFH4-Qw.js} +139 -138
- package/dist/BottomPanel-CYxavAS0.cjs +1 -0
- package/dist/BottomPanel-vFcIk2nf.js +115 -0
- package/dist/{Breadcrumbs-BievPitp.js → Breadcrumbs-B-pjVWeD.js} +7 -7
- package/dist/{Breadcrumbs-BxhAEegP.cjs → Breadcrumbs-CqDYLfIQ.cjs} +1 -1
- package/dist/{Briefing-DVkZ2qDG.cjs → Briefing-B_ofl8Rt.cjs} +1 -1
- package/dist/{Briefing-DOKq89AG.js → Briefing-CoDyU3k4.js} +3 -3
- package/dist/{BriefingDestination-Bt07cVas.js → BriefingDestination-CK4XdAOo.js} +2 -2
- package/dist/{BriefingDestination-DymsWBLL.cjs → BriefingDestination-DAu5S2HI.cjs} +1 -1
- package/dist/Button-C0N1cyOQ.cjs +1 -0
- package/dist/Button-CuwzIVWv.js +132 -0
- package/dist/Calendar-Bbk7bPW1.cjs +1 -0
- package/dist/{Calendar-BTE4rmqe.js → Calendar-EiqHtUG2.js} +1 -1
- package/dist/Card-B5FTcFEQ.cjs +1 -0
- package/dist/Card-DUTWbKv7.js +143 -0
- package/dist/{CardGrid-BXFxfmlA.js → CardGrid-BOhFOzTs.js} +7 -5
- package/dist/CardGrid-DzjiR2wg.cjs +1 -0
- package/dist/{ChartLegend-DGUo_MYi.cjs → ChartLegend-C81jju4k.cjs} +1 -1
- package/dist/{ChartLegend-BythwRMJ.js → ChartLegend-fsJqOyGj.js} +2 -2
- package/dist/Checkbox-7JJdh4sN.cjs +1 -0
- package/dist/{Checkbox-B_nSNoZ0.js → Checkbox-DXQpih7I.js} +23 -19
- package/dist/CheckboxGroup-B8T3zLQC.cjs +1 -0
- package/dist/CheckboxGroup-BHn1hpzh.js +70 -0
- package/dist/{ColorStrip-CeQebn7z.cjs → ColorStrip-AEg8dQbl.cjs} +1 -1
- package/dist/{ColorStrip-BSzZPdsl.js → ColorStrip-BW1nFTja.js} +17 -17
- package/dist/CommandPalette-C8-2XCrf.cjs +1 -0
- package/dist/CommandPalette-CD75Qytr.js +275 -0
- package/dist/Confirm-BA-t4jPF.cjs +1 -0
- package/dist/{Confirm-BZizwCO1.js → Confirm-MmMvMttu.js} +9 -9
- package/dist/ContainedList-7uMU4e4Z.js +48 -0
- package/dist/ContainedList-DV8kZgTS.cjs +1 -0
- package/dist/ContainedListItem-CSE8d5M6.js +69 -0
- package/dist/ContainedListItem-Dj7TcGpO.cjs +1 -0
- package/dist/{CopyButton-Bm1kmCNv.js → CopyButton-Bcc2BDJ8.js} +1 -1
- package/dist/{CopyButton-Bctl1-xC.cjs → CopyButton-CwHAVKQ6.cjs} +1 -1
- package/dist/DataTable-D4KrQH5E.js +485 -0
- package/dist/DataTable-DVJnvBQM.cjs +1 -0
- package/dist/DatePicker-BmuVSyZ3.cjs +1 -0
- package/dist/{DatePicker-On8SAmN4.js → DatePicker-CagtB0Sd.js} +234 -233
- package/dist/{DefinitionList-BH2HAPr3.cjs → DefinitionList-BuRW4drr.cjs} +1 -1
- package/dist/{DefinitionList-CCWqE3Kh.js → DefinitionList-DIPobaPW.js} +2 -2
- package/dist/{DragHandle-CCsaiV6I.js → DragHandle-dCNBfHJe.js} +3 -3
- package/dist/{DragHandle-BiRZHXXV.cjs → DragHandle-snItY92k.cjs} +1 -1
- package/dist/{EmptyState-DNIDvUi9.cjs → EmptyState-B8EM9ynK.cjs} +1 -1
- package/dist/{EmptyState-CAEo8pSi.js → EmptyState-D-fku2DD.js} +3 -3
- package/dist/Field-3S8uGW95.cjs +1 -0
- package/dist/{Field-BCzaQlaY.js → Field-DK5iec3Z.js} +17 -13
- package/dist/FileUploader-B9j-HmX3.js +193 -0
- package/dist/FileUploader-BolhAWrI.cjs +1 -0
- package/dist/{Flag-Mpl1_r4m.cjs → Flag-CNx_cE4Q.cjs} +1 -1
- package/dist/{Flag-B5E4tHa2.js → Flag-myXFwopO.js} +6 -6
- package/dist/{FloatingToolbar-CLQOPq4x.js → FloatingToolbar-CYOuKLd7.js} +2 -2
- package/dist/{FloatingToolbar-D7PkAjS7.cjs → FloatingToolbar-DxUUozlf.cjs} +1 -1
- package/dist/{Form-KF4-rBll.js → Form-1UVOFWaf.js} +1 -1
- package/dist/{Form-DLQDzw3T.cjs → Form-D6rgkJ_Y.cjs} +1 -1
- package/dist/GanttChart-B_LqsmcR.cjs +1 -0
- package/dist/GanttChart-cZguVXW8.js +468 -0
- package/dist/Grid-C0muGlj3.cjs +1 -0
- package/dist/{Grid-CVFkhOfa.js → Grid-jlgLOwom.js} +33 -5
- package/dist/Icon-B2tiGiqZ.js +119 -0
- package/dist/Icon-CssV4E2-.cjs +1 -0
- package/dist/{ImageCropper-xicq_NFy.js → ImageCropper-BFKMYthJ.js} +4 -4
- package/dist/{ImageCropper-B6aiAxIi.cjs → ImageCropper-CJ2mCj9z.cjs} +1 -1
- package/dist/{ImagePicker-DNtBcBbo.js → ImagePicker-CZEFzYC8.js} +3 -3
- package/dist/{ImagePicker-CTfZfaq9.cjs → ImagePicker-CebI8MDy.cjs} +1 -1
- package/dist/{InfoHint-KtTzQk1z.js → InfoHint-DVrm41q9.js} +4 -4
- package/dist/{InfoHint-DaBGsnrK.cjs → InfoHint-WYitTbYz.cjs} +1 -1
- package/dist/{InlineEdit-CqMv5XBG.js → InlineEdit-DViLVwtn.js} +5 -5
- package/dist/{InlineEdit-JuytHnWO.cjs → InlineEdit-DfkmTudh.cjs} +1 -1
- package/dist/{InlineLoading-CUycVgGa.cjs → InlineLoading-CB_1PwMx.cjs} +1 -1
- package/dist/{InlineLoading-D7ku7ugr.js → InlineLoading-D8T0WO05.js} +4 -4
- package/dist/InterpolationChart-CYWJFUcs.cjs +1 -0
- package/dist/InterpolationChart-CttBiNWU.js +320 -0
- package/dist/{Label-D1_MfuTA.js → Label-BDMCrURR.js} +2 -2
- package/dist/{Label-B9x4-i1C.cjs → Label-CTOPIIbR.cjs} +1 -1
- package/dist/LineChart-DNDSJQrB.cjs +1 -0
- package/dist/LineChart-J8gCM2Ba.js +310 -0
- package/dist/Menu-CLDGxi-1.cjs +1 -0
- package/dist/Menu-C_UsGyKX.js +177 -0
- package/dist/{MenuBar-BrOsK3Qa.js → MenuBar-DyJufs5b.js} +1 -1
- package/dist/{MenuBar-Bdz7lk2r.cjs → MenuBar-aLDr7-eJ.cjs} +1 -1
- package/dist/{MenuBarItem-DCArqyTW.cjs → MenuBarItem-B8H9KfFo.cjs} +1 -1
- package/dist/{MenuBarItem-BlRZXDnm.js → MenuBarItem-BLdVIz0j.js} +1 -1
- package/dist/{MenuDivider-Bz7uGAPE.cjs → MenuDivider-D75yF8o8.cjs} +1 -1
- package/dist/{MenuDivider-CEeFfvpa.js → MenuDivider-aZIXvYsH.js} +1 -1
- package/dist/{MenuItem-DSFh9Akf.js → MenuItem-BerQIsRQ.js} +7 -4
- package/dist/MenuItem-CvpxnM4W.cjs +1 -0
- package/dist/Message-BONOwoVY.js +56 -0
- package/dist/Message-Bija1nMK.cjs +1 -0
- package/dist/Modal-1i_nDqvM.cjs +1 -0
- package/dist/{Modal-C75Kf4t7.js → Modal-CxIl02xU.js} +59 -50
- package/dist/NotificationCenter-CXn7sGFw.cjs +1 -0
- package/dist/{NotificationCenter-bGbvX-iA.js → NotificationCenter-Cu_vs-jh.js} +11 -11
- package/dist/{NotificationCenterItem-BIhM59Xh.js → NotificationCenterItem-BbbBFYEu.js} +8 -7
- package/dist/{NotificationCenterItem-Dpj3jDEN.cjs → NotificationCenterItem-zdOMnxv1.cjs} +1 -1
- package/dist/NumberInput-CMxlZ54a.cjs +1 -0
- package/dist/NumberInput-Dy0leAIF.js +324 -0
- package/dist/PageHeader-BVcTzPcW.cjs +1 -0
- package/dist/PageHeader-CFMhwRcw.js +70 -0
- package/dist/PageLayout-DQKfOSQq.js +31 -0
- package/dist/PageLayout-Dw4JYS3k.cjs +1 -0
- package/dist/Pagination-VmE04nzc.cjs +1 -0
- package/dist/Pagination-zTp1lrSP.js +95 -0
- package/dist/Panel-7qPoq2lb.cjs +1 -0
- package/dist/Panel-D5OHjaTP.js +51 -0
- package/dist/PieChart-CAB3b8LE.js +182 -0
- package/dist/PieChart-Ct8oicOS.cjs +1 -0
- package/dist/PrimaryAction.context-2v_jcQAo.cjs +1 -0
- package/dist/PrimaryAction.context-BkYkcMlm.js +4 -0
- package/dist/PrimaryActionScope-B7VLsHzT.cjs +1 -0
- package/dist/PrimaryActionScope-CRdjZE0V.js +23 -0
- package/dist/{ProgressBar-DukxUvmt.cjs → ProgressBar-CfJJf7Sc.cjs} +1 -1
- package/dist/{ProgressBar-B26wk0nU.js → ProgressBar-DK-j6Bzv.js} +6 -6
- package/dist/Radio-CWWt_o_F.js +107 -0
- package/dist/Radio-D0YjKuB2.cjs +1 -0
- package/dist/{ReorderList-BMIf_x8B.js → ReorderList-B1CYGR0e.js} +3 -3
- package/dist/{ReorderList-97H8hsPW.cjs → ReorderList-DBW8TBu6.cjs} +1 -1
- package/dist/Select-Bz4tf2H_.cjs +1 -0
- package/dist/{Select-Dah-tYeb.js → Select-hL8I-aNK.js} +204 -177
- package/dist/Shell-BxGBrQsM.js +536 -0
- package/dist/Shell-BzXh23BU.cjs +1 -0
- package/dist/{ShellPanel-DAOuAPdn.js → ShellPanel-DzkkJYVd.js} +2 -2
- package/dist/{ShellPanel-CB_Rn_JF.cjs → ShellPanel-XYKkAc5n.cjs} +1 -1
- package/dist/{SidebarBrand-DLKszSpJ.cjs → SidebarBrand-CX-BgI4X.cjs} +1 -1
- package/dist/{SidebarBrand-ZZknryCa.js → SidebarBrand-FHBO4Dw3.js} +3 -3
- package/dist/{SidebarCollapseToggle-CCNVQPFh.cjs → SidebarCollapseToggle-DM-4DAEu.cjs} +1 -1
- package/dist/{SidebarCollapseToggle-Dq-A6NAJ.js → SidebarCollapseToggle-W1Z_MUIC.js} +2 -2
- package/dist/{SidebarHeaderToggle-CRsdm90m.cjs → SidebarHeaderToggle-Bdh1Z9aF.cjs} +1 -1
- package/dist/{SidebarHeaderToggle-8K_NrpBm.js → SidebarHeaderToggle-C-QIOLnU.js} +5 -5
- package/dist/{SidebarLink-BeuUiOLd.cjs → SidebarLink-DTGVapwa.cjs} +1 -1
- package/dist/{SidebarLink-m9WhGcc2.js → SidebarLink-xtGCDABj.js} +2 -2
- package/dist/{SidebarMenu-N9opcSs0.cjs → SidebarMenu-CnsOBXeM.cjs} +1 -1
- package/dist/{SidebarMenu-ippvct70.js → SidebarMenu-D24o7HS-.js} +2 -2
- package/dist/{SidebarMenuGroup-RczOdr4t.js → SidebarMenuGroup-Bjc2IeK5.js} +5 -5
- package/dist/{SidebarMenuGroup-D1jYkspC.cjs → SidebarMenuGroup-DJasr_cx.cjs} +1 -1
- package/dist/{SidebarMenuItem-D8eFyD7l.js → SidebarMenuItem-CNunAuyB.js} +5 -5
- package/dist/{SidebarMenuItem-r_TpdHsD.cjs → SidebarMenuItem-DCR-nXAK.cjs} +1 -1
- package/dist/{SidebarStatus-DxJwYk3n.js → SidebarStatus-D-CfUYFc.js} +2 -2
- package/dist/{SidebarStatus-8xHtWS22.cjs → SidebarStatus-YfLW9xzC.cjs} +1 -1
- package/dist/{Skeleton-TgkyQXSq.js → Skeleton-C1e02dcW.js} +8 -3
- package/dist/Skeleton-CqZ9O0X0.cjs +1 -0
- package/dist/Slider-BAXKJCNG.js +405 -0
- package/dist/Slider-BaM5cclm.cjs +1 -0
- package/dist/Sparkline-MAi1Fh2T.cjs +1 -0
- package/dist/Sparkline-m3wbt-f1.js +95 -0
- package/dist/Spinner-CbBPddUx.js +160 -0
- package/dist/Spinner-PT95bjWq.cjs +1 -0
- package/dist/{Stat-DmdfVU4X.cjs → Stat-C9XaqyaG.cjs} +1 -1
- package/dist/{Stat-BHuShwuo.js → Stat-DJJln4rH.js} +6 -6
- package/dist/{Stepper-n2ZH-4Gf.js → Stepper-B4xqkWXg.js} +3 -3
- package/dist/{Stepper-Br62BsXD.cjs → Stepper-DV0q0Dfv.cjs} +1 -1
- package/dist/{StepperStep-BMts1ePk.js → StepperStep-BYhlgeb1.js} +10 -10
- package/dist/StepperStep-iGyGKnQL.cjs +1 -0
- package/dist/StructuredList-BSfuLANB.js +74 -0
- package/dist/StructuredList-h9JFXpF4.cjs +1 -0
- package/dist/{Submenu-D3kcN7Qm.js → Submenu-BnMaJKYm.js} +2 -2
- package/dist/{Submenu-DTqj37HQ.cjs → Submenu-Dxo3DUDA.cjs} +1 -1
- package/dist/{SuggestionList--DXpfDSJ.cjs → SuggestionList-BJjbVvt2.cjs} +1 -1
- package/dist/{SuggestionList-CNtaiJFb.js → SuggestionList-Bdx7CK__.js} +4 -4
- package/dist/{Switch-Bhn_b5ue.js → Switch-CbYMiEbQ.js} +7 -6
- package/dist/{Switch-DPxYeU1r.cjs → Switch-D3j7PPhY.cjs} +1 -1
- package/dist/TableOfContents-By2Non4K.cjs +1 -0
- package/dist/{TableOfContents-DvsufeVY.js → TableOfContents-CM0HKSde.js} +65 -57
- package/dist/{Tabs-S3I4uaTq.js → Tabs--lz44FBk.js} +4 -4
- package/dist/{Tabs-DPd-CKi1.cjs → Tabs-DKikiz0_.cjs} +1 -1
- package/dist/TextInput-BXyJQfGx.js +348 -0
- package/dist/TextInput-DKp819VS.cjs +2 -0
- package/dist/{Toast-BZZgBE9V.cjs → Toast-BKrvlON6.cjs} +1 -1
- package/dist/{Toast-CHqiHiKq.js → Toast-fRHhhjZV.js} +4 -4
- package/dist/{Toaster-CwLeMxh_.cjs → Toaster-CJMQM8JU.cjs} +1 -1
- package/dist/{Toaster-6tdIn4we.js → Toaster-DxBW9XQ0.js} +3 -3
- package/dist/Tree-CkcFwDr7.js +180 -0
- package/dist/Tree-DP2NPXOL.cjs +1 -0
- package/dist/TreeNode-CtklZefA.cjs +1 -0
- package/dist/TreeNode-DCnlEEpj.js +180 -0
- package/dist/{UserMenu-SokwKvM0.js → UserMenu-CWRMaPGO.js} +11 -11
- package/dist/{UserMenu-BtS4CcwB.cjs → UserMenu-GJHs1fKI.cjs} +1 -1
- package/dist/Video-D1WOYCYH.cjs +1 -0
- package/dist/Video-DrDqaCXl.js +104 -0
- package/dist/{Walkthrough-9SbBr6ig.cjs → Walkthrough-DXMDgB9t.cjs} +1 -1
- package/dist/{Walkthrough-BX3cVdLo.js → Walkthrough-D_vfYTWP.js} +3 -3
- package/dist/{Wireframe-CT2d4yey.js → Wireframe-BxUNaH2g.js} +1 -1
- package/dist/{Wireframe-YFaVOmuO.cjs → Wireframe-CL0rjsos.cjs} +1 -1
- package/dist/all.cjs +1 -1
- package/dist/all.mjs +237 -223
- package/dist/component-styles.json +26 -1
- package/dist/components/Accordion.cjs +1 -1
- package/dist/components/Accordion.mjs +1 -1
- package/dist/components/AccordionItem.cjs +1 -1
- package/dist/components/AccordionItem.mjs +1 -1
- package/dist/components/ActionGroup.cjs +1 -1
- package/dist/components/ActionGroup.mjs +1 -1
- package/dist/components/AiLabel.cjs +1 -1
- package/dist/components/AiLabel.d.ts +49 -4
- package/dist/components/AiLabel.mjs +1 -1
- package/dist/components/AiLabel.vue.d.ts +44 -2
- package/dist/components/AiLabel.vue.d.ts.map +1 -1
- package/dist/components/AiProvider.cjs +1 -1
- package/dist/components/AiProvider.mjs +1 -1
- package/dist/components/AiUsage.cjs +1 -1
- package/dist/components/AiUsage.d.ts +2 -0
- package/dist/components/AiUsage.mjs +1 -1
- package/dist/components/AiUsage.vue.d.ts +1 -0
- package/dist/components/AiUsage.vue.d.ts.map +1 -1
- package/dist/components/Avatar.cjs +1 -1
- package/dist/components/Avatar.mjs +1 -1
- package/dist/components/BackToTop.cjs +1 -1
- package/dist/components/BackToTop.mjs +1 -1
- package/dist/components/BackToTop.vue.d.ts.map +1 -1
- package/dist/components/Badge.cjs +1 -1
- package/dist/components/Badge.d.ts +22 -2
- package/dist/components/Badge.mjs +1 -1
- package/dist/components/Badge.vue.d.ts +7 -10
- package/dist/components/Badge.vue.d.ts.map +1 -1
- package/dist/components/Banner.cjs +1 -1
- package/dist/components/Banner.mjs +1 -1
- package/dist/components/Banner.vue.d.ts.map +1 -1
- package/dist/components/Blueprint.cjs +1 -1
- package/dist/components/Blueprint.mjs +1 -1
- package/dist/components/Blueprint.vue.d.ts.map +1 -1
- package/dist/components/BlueprintBackground.cjs +1 -1
- package/dist/components/BlueprintBackground.mjs +1 -1
- package/dist/components/BlueprintCard.cjs +1 -1
- package/dist/components/BlueprintCard.mjs +1 -1
- package/dist/components/BlueprintCard.vue.d.ts.map +1 -1
- package/dist/components/BlueprintControls.cjs +1 -1
- package/dist/components/BlueprintControls.mjs +1 -1
- package/dist/components/BlueprintControls.vue.d.ts.map +1 -1
- package/dist/components/BlueprintDomRenderer.vue.d.ts.map +1 -1
- package/dist/components/BlueprintMinimap.cjs +1 -1
- package/dist/components/BlueprintMinimap.mjs +1 -1
- package/dist/components/BlueprintMinimap.vue.d.ts.map +1 -1
- package/dist/components/Board.cjs +1 -1
- package/dist/components/Board.mjs +1 -1
- package/dist/components/Board.vue.d.ts.map +1 -1
- package/dist/components/BottomPanel.cjs +1 -1
- package/dist/components/BottomPanel.mjs +1 -1
- package/dist/components/BottomPanel.vue.d.ts.map +1 -1
- package/dist/components/Breadcrumbs.cjs +1 -1
- package/dist/components/Breadcrumbs.mjs +1 -1
- package/dist/components/Briefing.cjs +1 -1
- package/dist/components/Briefing.mjs +1 -1
- package/dist/components/BriefingDestination.cjs +1 -1
- package/dist/components/BriefingDestination.mjs +1 -1
- package/dist/components/Button.cjs +1 -1
- package/dist/components/Button.d.ts +14 -1
- package/dist/components/Button.mjs +1 -1
- package/dist/components/Button.vue.d.ts +1 -0
- package/dist/components/Button.vue.d.ts.map +1 -1
- package/dist/components/Calendar.cjs +1 -1
- package/dist/components/Calendar.d.ts +1 -1
- package/dist/components/Calendar.mjs +1 -1
- package/dist/components/Calendar.vue.d.ts +1 -1
- package/dist/components/Calendar.vue.d.ts.map +1 -1
- package/dist/components/Card.cjs +1 -1
- package/dist/components/Card.mjs +1 -1
- package/dist/components/Card.vue.d.ts +14 -5
- package/dist/components/Card.vue.d.ts.map +1 -1
- package/dist/components/CardGrid.cjs +1 -1
- package/dist/components/CardGrid.d.ts +33 -1
- package/dist/components/CardGrid.mjs +1 -1
- package/dist/components/CardGrid.vue.d.ts.map +1 -1
- package/dist/components/Charts/BarChart.cjs +1 -1
- package/dist/components/Charts/BarChart.mjs +1 -1
- package/dist/components/Charts/BarChart.vue.d.ts.map +1 -1
- package/dist/components/Charts/GanttChart.cjs +1 -1
- package/dist/components/Charts/GanttChart.d.ts +2 -0
- package/dist/components/Charts/GanttChart.mjs +1 -1
- package/dist/components/Charts/GanttChart.vue.d.ts +1 -0
- package/dist/components/Charts/GanttChart.vue.d.ts.map +1 -1
- package/dist/components/Charts/InterpolationChart.cjs +1 -1
- package/dist/components/Charts/InterpolationChart.mjs +1 -1
- package/dist/components/Charts/InterpolationChart.vue.d.ts.map +1 -1
- package/dist/components/Charts/LineChart.cjs +1 -1
- package/dist/components/Charts/LineChart.mjs +1 -1
- package/dist/components/Charts/LineChart.vue.d.ts.map +1 -1
- package/dist/components/Charts/PieChart.cjs +1 -1
- package/dist/components/Charts/PieChart.mjs +1 -1
- package/dist/components/Charts/PieChart.vue.d.ts.map +1 -1
- package/dist/components/Charts/Sparkline.cjs +1 -1
- package/dist/components/Charts/Sparkline.mjs +1 -1
- package/dist/components/Charts/Sparkline.vue.d.ts.map +1 -1
- package/dist/components/Charts/shared/palette.d.ts.map +1 -1
- package/dist/components/Checkbox.cjs +1 -1
- package/dist/components/Checkbox.mjs +1 -1
- package/dist/components/Checkbox.vue.d.ts.map +1 -1
- package/dist/components/CheckboxGroup.cjs +1 -1
- package/dist/components/CheckboxGroup.context.d.ts +4 -0
- package/dist/components/CheckboxGroup.context.d.ts.map +1 -1
- package/dist/components/CheckboxGroup.mjs +1 -1
- package/dist/components/CheckboxGroup.vue.d.ts.map +1 -1
- package/dist/components/ColorStrip.cjs +1 -1
- package/dist/components/ColorStrip.mjs +1 -1
- package/dist/components/CommandPalette.cjs +1 -1
- package/dist/components/CommandPalette.d.ts +5 -0
- package/dist/components/CommandPalette.mjs +1 -1
- package/dist/components/CommandPalette.vue.d.ts +1 -0
- package/dist/components/CommandPalette.vue.d.ts.map +1 -1
- package/dist/components/Confirm.cjs +1 -1
- package/dist/components/Confirm.d.ts +4 -6
- package/dist/components/Confirm.env.d.ts +3 -2
- package/dist/components/Confirm.env.d.ts.map +1 -1
- package/dist/components/Confirm.mjs +1 -1
- package/dist/components/Confirm.vue.d.ts.map +1 -1
- package/dist/components/ContainedList.cjs +1 -0
- package/dist/components/ContainedList.d.ts +65 -0
- package/dist/components/ContainedList.mjs +2 -0
- package/dist/components/ContainedList.vue.d.ts +25 -0
- package/dist/components/ContainedList.vue.d.ts.map +1 -0
- package/dist/components/ContainedListItem.cjs +1 -0
- package/dist/components/ContainedListItem.d.ts +1 -0
- package/dist/components/ContainedListItem.mjs +2 -0
- package/dist/components/ContainedListItem.vue.d.ts +35 -0
- package/dist/components/ContainedListItem.vue.d.ts.map +1 -0
- package/dist/components/CopyButton.cjs +1 -1
- package/dist/components/CopyButton.mjs +1 -1
- package/dist/components/DataTable.cjs +1 -1
- package/dist/components/DataTable.d.ts +6 -2
- package/dist/components/DataTable.mjs +1 -1
- package/dist/components/DataTable.vue.d.ts +1 -1
- package/dist/components/DataTable.vue.d.ts.map +1 -1
- package/dist/components/DatePicker.cjs +1 -1
- package/dist/components/DatePicker.d.ts +1 -1
- package/dist/components/DatePicker.mjs +1 -1
- package/dist/components/DatePicker.vue.d.ts +1 -1
- package/dist/components/DatePicker.vue.d.ts.map +1 -1
- package/dist/components/DefinitionList.cjs +1 -1
- package/dist/components/DefinitionList.mjs +1 -1
- package/dist/components/DefinitionListItem.cjs +1 -1
- package/dist/components/DefinitionListItem.mjs +1 -1
- package/dist/components/DragHandle.cjs +1 -1
- package/dist/components/DragHandle.mjs +1 -1
- package/dist/components/DragHandle.vue.d.ts.map +1 -1
- package/dist/components/EmptyState.cjs +1 -1
- package/dist/components/EmptyState.mjs +1 -1
- package/dist/components/Field.cjs +1 -1
- package/dist/components/Field.mjs +1 -1
- package/dist/components/Field.vue.d.ts +2 -1
- package/dist/components/Field.vue.d.ts.map +1 -1
- package/dist/components/FileUploader.cjs +1 -1
- package/dist/components/FileUploader.mjs +1 -1
- package/dist/components/FileUploader.vue.d.ts.map +1 -1
- package/dist/components/Flag.cjs +1 -1
- package/dist/components/Flag.mjs +1 -1
- package/dist/components/FloatingToolbar.cjs +1 -1
- package/dist/components/FloatingToolbar.mjs +1 -1
- package/dist/components/FloatingToolbar.vue.d.ts.map +1 -1
- package/dist/components/Form.cjs +1 -1
- package/dist/components/Form.mjs +1 -1
- package/dist/components/Grid.cjs +1 -1
- package/dist/components/Grid.d.ts +53 -4
- package/dist/components/Grid.mjs +1 -1
- package/dist/components/Grid.vue.d.ts +42 -4
- package/dist/components/Grid.vue.d.ts.map +1 -1
- package/dist/components/Icon.cjs +1 -1
- package/dist/components/Icon.d.ts +34 -6
- package/dist/components/Icon.mjs +1 -1
- package/dist/components/Icon.vue.d.ts +4 -4
- package/dist/components/Icon.vue.d.ts.map +1 -1
- package/dist/components/ImageCropper.cjs +1 -1
- package/dist/components/ImageCropper.mjs +1 -1
- package/dist/components/ImagePicker.cjs +1 -1
- package/dist/components/ImagePicker.mjs +1 -1
- package/dist/components/ImagePicker.vue.d.ts +1 -1
- package/dist/components/InfoHint.cjs +1 -1
- package/dist/components/InfoHint.d.ts +1 -1
- package/dist/components/InfoHint.mjs +1 -1
- package/dist/components/InfoHint.vue.d.ts.map +1 -1
- package/dist/components/InlineEdit.cjs +1 -1
- package/dist/components/InlineEdit.mjs +1 -1
- package/dist/components/InlineLoading.cjs +1 -1
- package/dist/components/InlineLoading.mjs +1 -1
- package/dist/components/JsonTree.cjs +1 -1
- package/dist/components/JsonTree.mjs +1 -1
- package/dist/components/Label.cjs +1 -1
- package/dist/components/Label.mjs +1 -1
- package/dist/components/Label.vue.d.ts.map +1 -1
- package/dist/components/Layer.cjs +1 -1
- package/dist/components/Layer.mjs +1 -1
- package/dist/components/Menu.cjs +1 -1
- package/dist/components/Menu.mjs +1 -1
- package/dist/components/Menu.vue.d.ts.map +1 -1
- package/dist/components/MenuBar.cjs +1 -1
- package/dist/components/MenuBar.mjs +1 -1
- package/dist/components/MenuBarItem.cjs +1 -1
- package/dist/components/MenuBarItem.mjs +1 -1
- package/dist/components/MenuDivider.cjs +1 -1
- package/dist/components/MenuDivider.mjs +1 -1
- package/dist/components/MenuItem.cjs +1 -1
- package/dist/components/MenuItem.mjs +1 -1
- package/dist/components/MenuItem.vue.d.ts.map +1 -1
- package/dist/components/Message.cjs +1 -1
- package/dist/components/Message.d.ts +6 -0
- package/dist/components/Message.mjs +1 -1
- package/dist/components/Message.vue.d.ts +1 -0
- package/dist/components/Message.vue.d.ts.map +1 -1
- package/dist/components/Modal.cjs +1 -1
- package/dist/components/Modal.mjs +1 -1
- package/dist/components/Modal.vue.d.ts +2 -2
- package/dist/components/Modal.vue.d.ts.map +1 -1
- package/dist/components/NotificationCenter.cjs +1 -1
- package/dist/components/NotificationCenter.d.ts +2 -3
- package/dist/components/NotificationCenter.mjs +1 -1
- package/dist/components/NotificationCenter.vue.d.ts +1 -1
- package/dist/components/NotificationCenter.vue.d.ts.map +1 -1
- package/dist/components/NotificationCenterItem.cjs +1 -1
- package/dist/components/NotificationCenterItem.d.ts +4 -6
- package/dist/components/NotificationCenterItem.mjs +1 -1
- package/dist/components/NotificationCenterItem.vue.d.ts +1 -1
- package/dist/components/NotificationCenterItem.vue.d.ts.map +1 -1
- package/dist/components/NubiscoMark.cjs +1 -1
- package/dist/components/NubiscoMark.mjs +1 -1
- package/dist/components/NubiscoPlatformMark.cjs +1 -1
- package/dist/components/NubiscoPlatformMark.mjs +1 -1
- package/dist/components/NumberInput.cjs +1 -1
- package/dist/components/NumberInput.mjs +1 -1
- package/dist/components/NumberInput.vue.d.ts.map +1 -1
- package/dist/components/PageHeader.cjs +1 -0
- package/dist/components/PageHeader.d.ts +28 -0
- package/dist/components/PageHeader.mjs +2 -0
- package/dist/components/PageHeader.vue.d.ts +29 -0
- package/dist/components/PageHeader.vue.d.ts.map +1 -0
- package/dist/components/PageLayout.cjs +1 -0
- package/dist/components/PageLayout.d.ts +39 -0
- package/dist/components/PageLayout.mjs +2 -0
- package/dist/components/PageLayout.vue.d.ts +22 -0
- package/dist/components/PageLayout.vue.d.ts.map +1 -0
- package/dist/components/Pagination.cjs +1 -1
- package/dist/components/Pagination.mjs +1 -1
- package/dist/components/Pagination.vue.d.ts.map +1 -1
- package/dist/components/Panel.cjs +1 -1
- package/dist/components/Panel.d.ts +29 -0
- package/dist/components/Panel.mjs +1 -1
- package/dist/components/Panel.vue.d.ts +10 -2
- package/dist/components/Panel.vue.d.ts.map +1 -1
- package/dist/components/PrimaryAction.context.d.ts +16 -0
- package/dist/components/PrimaryAction.context.d.ts.map +1 -0
- package/dist/components/PrimaryActionScope.vue.d.ts +18 -0
- package/dist/components/PrimaryActionScope.vue.d.ts.map +1 -0
- package/dist/components/ProgressBar.cjs +1 -1
- package/dist/components/ProgressBar.mjs +1 -1
- package/dist/components/ProgressBar.vue.d.ts.map +1 -1
- package/dist/components/Radio.cjs +1 -1
- package/dist/components/Radio.mjs +1 -1
- package/dist/components/Radio.vue.d.ts.map +1 -1
- package/dist/components/ReorderList.cjs +1 -1
- package/dist/components/ReorderList.mjs +1 -1
- package/dist/components/ReorderList.vue.d.ts.map +1 -1
- package/dist/components/Select.cjs +1 -1
- package/dist/components/Select.mjs +1 -1
- package/dist/components/Select.vue.d.ts +1 -0
- package/dist/components/Select.vue.d.ts.map +1 -1
- package/dist/components/Shell.cjs +1 -1
- package/dist/components/Shell.d.ts +20 -0
- package/dist/components/Shell.mjs +1 -1
- package/dist/components/Shell.vue.d.ts +7 -4
- package/dist/components/Shell.vue.d.ts.map +1 -1
- package/dist/components/ShellPanel.cjs +1 -1
- package/dist/components/ShellPanel.mjs +1 -1
- package/dist/components/ShellPanel.vue.d.ts.map +1 -1
- package/dist/components/SidebarBrand.cjs +1 -1
- package/dist/components/SidebarBrand.mjs +1 -1
- package/dist/components/SidebarCollapseToggle.cjs +1 -1
- package/dist/components/SidebarCollapseToggle.mjs +1 -1
- package/dist/components/SidebarHeaderToggle.cjs +1 -1
- package/dist/components/SidebarHeaderToggle.mjs +1 -1
- package/dist/components/SidebarHeaderToggle.vue.d.ts.map +1 -1
- package/dist/components/SidebarLink.cjs +1 -1
- package/dist/components/SidebarLink.mjs +1 -1
- package/dist/components/SidebarMenu.cjs +1 -1
- package/dist/components/SidebarMenu.mjs +1 -1
- package/dist/components/SidebarMenuGroup.cjs +1 -1
- package/dist/components/SidebarMenuGroup.mjs +1 -1
- package/dist/components/SidebarMenuGroup.vue.d.ts.map +1 -1
- package/dist/components/SidebarMenuItem.cjs +1 -1
- package/dist/components/SidebarMenuItem.mjs +1 -1
- package/dist/components/SidebarMenuItem.vue.d.ts.map +1 -1
- package/dist/components/SidebarStatus.cjs +1 -1
- package/dist/components/SidebarStatus.mjs +1 -1
- package/dist/components/Skeleton.cjs +1 -1
- package/dist/components/Skeleton.d.ts +5 -0
- package/dist/components/Skeleton.mjs +1 -1
- package/dist/components/Skeleton.vue.d.ts.map +1 -1
- package/dist/components/Slider.cjs +1 -1
- package/dist/components/Slider.mjs +1 -1
- package/dist/components/Slider.vue.d.ts.map +1 -1
- package/dist/components/Spinner.cjs +1 -1
- package/dist/components/Spinner.d.ts +3 -1
- package/dist/components/Spinner.mjs +1 -1
- package/dist/components/Spinner.vue.d.ts +6 -9
- package/dist/components/Spinner.vue.d.ts.map +1 -1
- package/dist/components/Stat.cjs +1 -1
- package/dist/components/Stat.mjs +1 -1
- package/dist/components/Stat.vue.d.ts.map +1 -1
- package/dist/components/Stepper.cjs +1 -1
- package/dist/components/Stepper.mjs +1 -1
- package/dist/components/Stepper.vue.d.ts.map +1 -1
- package/dist/components/StepperStep.cjs +1 -1
- package/dist/components/StepperStep.mjs +1 -1
- package/dist/components/StepperStep.vue.d.ts.map +1 -1
- package/dist/components/StructuredList.cjs +1 -0
- package/dist/components/StructuredList.d.ts +39 -0
- package/dist/components/StructuredList.mjs +2 -0
- package/dist/components/StructuredList.vue.d.ts +24 -0
- package/dist/components/StructuredList.vue.d.ts.map +1 -0
- package/dist/components/Submenu.cjs +1 -1
- package/dist/components/Submenu.mjs +1 -1
- package/dist/components/Submenu.vue.d.ts.map +1 -1
- package/dist/components/SuggestionList.cjs +1 -1
- package/dist/components/SuggestionList.mjs +1 -1
- package/dist/components/Switch.cjs +1 -1
- package/dist/components/Switch.mjs +1 -1
- package/dist/components/Switch.vue.d.ts.map +1 -1
- package/dist/components/TableOfContents.cjs +1 -1
- package/dist/components/TableOfContents.mjs +1 -1
- package/dist/components/TableOfContents.vue.d.ts +1 -1
- package/dist/components/Tabs.cjs +1 -1
- package/dist/components/Tabs.mjs +1 -1
- package/dist/components/Tabs.vue.d.ts.map +1 -1
- package/dist/components/TextInput.cjs +1 -1
- package/dist/components/TextInput.mjs +1 -1
- package/dist/components/TextInput.vue.d.ts +13 -5
- package/dist/components/TextInput.vue.d.ts.map +1 -1
- package/dist/components/Toast.cjs +1 -1
- package/dist/components/Toast.mjs +1 -1
- package/dist/components/Toast.vue.d.ts.map +1 -1
- package/dist/components/Toaster.cjs +1 -1
- package/dist/components/Toaster.d.ts +1 -2
- package/dist/components/Toaster.mjs +1 -1
- package/dist/components/Toaster.vue.d.ts.map +1 -1
- package/dist/components/Tree.cjs +1 -1
- package/dist/components/Tree.d.ts +2 -0
- package/dist/components/Tree.mjs +1 -1
- package/dist/components/Tree.vue.d.ts.map +1 -1
- package/dist/components/TreeNode.cjs +1 -1
- package/dist/components/TreeNode.mjs +1 -1
- package/dist/components/TreeNode.vue.d.ts.map +1 -1
- package/dist/components/UserMenu.cjs +1 -1
- package/dist/components/UserMenu.mjs +1 -1
- package/dist/components/UserMenu.vue.d.ts.map +1 -1
- package/dist/components/Video.cjs +1 -1
- package/dist/components/Video.mjs +1 -1
- package/dist/components/Video.vue.d.ts.map +1 -1
- package/dist/components/Walkthrough.cjs +1 -1
- package/dist/components/Walkthrough.mjs +1 -1
- package/dist/components/Walkthrough.vue.d.ts.map +1 -1
- package/dist/components/Wireframe.cjs +1 -1
- package/dist/components/Wireframe.mjs +1 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/manifest.d.ts +5 -0
- package/dist/components/manifest.d.ts.map +1 -1
- package/dist/components/manifest.js +5 -0
- package/dist/composables/useBlueprint.composable.cjs +1 -1
- package/dist/composables/useBlueprint.composable.mjs +1 -1
- package/dist/composables/useConfirm.composable.cjs +1 -1
- package/dist/composables/useConfirm.composable.d.ts +9 -0
- package/dist/composables/useConfirm.composable.d.ts.map +1 -1
- package/dist/composables/useConfirm.composable.mjs +62 -63
- package/dist/composables/useFieldMessage.composable.cjs +1 -0
- package/dist/composables/useFieldMessage.composable.d.ts +44 -0
- package/dist/composables/useFieldMessage.composable.d.ts.map +1 -0
- package/dist/composables/useFieldMessage.composable.mjs +33 -0
- package/dist/composables/useInlineLoading.composable.cjs +1 -1
- package/dist/composables/useInlineLoading.composable.d.ts +3 -4
- package/dist/composables/useInlineLoading.composable.d.ts.map +1 -1
- package/dist/composables/useInlineLoading.composable.mjs +1 -1
- package/dist/composables/useLoadingAnnouncer.composable.cjs +1 -1
- package/dist/composables/useLoadingAnnouncer.composable.mjs +1 -1
- package/dist/composables/useNbStrings.composable.cjs +1 -0
- package/dist/composables/useNbStrings.composable.d.ts +105 -0
- package/dist/composables/useNbStrings.composable.d.ts.map +1 -0
- package/dist/composables/useNbStrings.composable.mjs +111 -0
- package/dist/composables/useShellSlot.composable.d.ts +3 -5
- package/dist/composables/useShellSlot.composable.d.ts.map +1 -1
- package/dist/composables/useToast.composable.cjs +1 -1
- package/dist/composables/useToast.composable.d.ts +3 -1
- package/dist/composables/useToast.composable.d.ts.map +1 -1
- package/dist/composables/useToast.composable.mjs +113 -102
- package/dist/directives/ToolTip.directive.d.ts +1 -1
- package/dist/directives/ToolTip.directive.d.ts.map +1 -1
- package/dist/global.d.ts +12 -0
- package/dist/icons/ai.mjs +26 -0
- package/dist/icons/all.mjs +2 -1
- package/dist/icons/catalog.mjs +2 -1
- package/dist/icons/names.json +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +142 -133
- package/dist/{main-TRQw3oqC.js → main-BTximdIU.js} +349 -343
- package/dist/main-DkNxc78b.cjs +4 -0
- package/dist/main.d.ts +20 -4
- package/dist/main.d.ts.map +1 -1
- package/dist/motion-BjVtMTXD.cjs +1 -0
- package/dist/motion-C0h9XZQZ.js +18 -0
- package/dist/{palette-9NBcW3rl.cjs → palette-B7XEOMVB.cjs} +1 -1
- package/dist/{palette-Cq2Mb9QH.js → palette-CWU7exM6.js} +3 -3
- package/dist/plugins/fonts.d.ts +10 -5
- package/dist/plugins/fonts.d.ts.map +1 -1
- package/dist/plugins/fonts.js +13 -8
- package/dist/plugins/vite/glyphs.d.ts.map +1 -1
- package/dist/plugins/vite/glyphs.js +28 -9
- package/dist/styles/Accordion.css +1 -1
- package/dist/styles/AccordionItem.css +1 -1
- package/dist/styles/AiLabel.css +1 -1
- package/dist/styles/Avatar.css +1 -1
- package/dist/styles/Badge.css +1 -1
- package/dist/styles/Banner.css +1 -1
- package/dist/styles/BarChart.css +1 -1
- package/dist/styles/Blueprint.css +1 -1
- package/dist/styles/BlueprintCard.css +1 -1
- package/dist/styles/BlueprintControls.css +1 -1
- package/dist/styles/BlueprintMinimap.css +1 -1
- package/dist/styles/Board.css +1 -1
- package/dist/styles/BottomPanel.css +1 -1
- package/dist/styles/Breadcrumbs.css +1 -1
- package/dist/styles/Button.css +1 -1
- package/dist/styles/Calendar.css +1 -1
- package/dist/styles/Card.css +1 -1
- package/dist/styles/CardGrid.css +1 -1
- package/dist/styles/ChartLegend.css +1 -1
- package/dist/styles/Checkbox.css +1 -1
- package/dist/styles/CheckboxGroup.css +1 -1
- package/dist/styles/ColorStrip.css +1 -1
- package/dist/styles/CommandPalette.css +1 -1
- package/dist/styles/Confirm.css +1 -1
- package/dist/styles/ContainedList.css +1 -0
- package/dist/styles/ContainedListItem.css +1 -0
- package/dist/styles/DataTable.css +1 -1
- package/dist/styles/DatePicker.css +1 -1
- package/dist/styles/DefinitionList.css +1 -1
- package/dist/styles/DragHandle.css +1 -1
- package/dist/styles/EmptyState.css +1 -1
- package/dist/styles/Field.css +1 -1
- package/dist/styles/FileUploader.css +1 -1
- package/dist/styles/FloatingToolbar.css +1 -1
- package/dist/styles/GanttChart.css +1 -1
- package/dist/styles/Icon.css +1 -1
- package/dist/styles/ImageCropper.css +1 -1
- package/dist/styles/ImagePicker.css +1 -1
- package/dist/styles/InfoHint.css +1 -1
- package/dist/styles/InlineEdit.css +1 -1
- package/dist/styles/InlineLoading.css +1 -1
- package/dist/styles/InterpolationChart.css +1 -1
- package/dist/styles/JsonTree.css +1 -1
- package/dist/styles/Label.css +1 -1
- package/dist/styles/LineChart.css +1 -1
- package/dist/styles/MenuBarItem.css +1 -1
- package/dist/styles/MenuItem.css +1 -1
- package/dist/styles/Message.css +1 -1
- package/dist/styles/Modal.css +1 -1
- package/dist/styles/NotificationCenter.css +1 -1
- package/dist/styles/NotificationCenterItem.css +1 -1
- package/dist/styles/NumberInput.css +1 -1
- package/dist/styles/PageHeader.css +1 -0
- package/dist/styles/PageLayout.css +1 -0
- package/dist/styles/Pagination.css +1 -1
- package/dist/styles/Panel.css +1 -1
- package/dist/styles/PieChart.css +1 -1
- package/dist/styles/ProgressBar.css +1 -1
- package/dist/styles/Radio.css +1 -1
- package/dist/styles/ReorderList.css +1 -1
- package/dist/styles/Select.css +1 -1
- package/dist/styles/Shell.css +1 -1
- package/dist/styles/ShellPanel.css +1 -1
- package/dist/styles/SidebarBrand.css +1 -1
- package/dist/styles/SidebarHeaderToggle.css +1 -1
- package/dist/styles/SidebarLink.css +1 -1
- package/dist/styles/SidebarMenu.css +1 -1
- package/dist/styles/SidebarMenuGroup.css +1 -1
- package/dist/styles/SidebarMenuItem.css +1 -1
- package/dist/styles/SidebarStatus.css +1 -1
- package/dist/styles/Skeleton.css +1 -1
- package/dist/styles/Slider.css +1 -1
- package/dist/styles/Sparkline.css +1 -1
- package/dist/styles/Spinner.css +1 -1
- package/dist/styles/Stat.css +1 -1
- package/dist/styles/Stepper.css +1 -1
- package/dist/styles/StepperStep.css +1 -1
- package/dist/styles/StructuredList.css +1 -0
- package/dist/styles/SuggestionList.css +1 -1
- package/dist/styles/Switch.css +1 -1
- package/dist/styles/TableOfContents.css +1 -1
- package/dist/styles/Tabs.css +1 -1
- package/dist/styles/TextInput.css +1 -1
- package/dist/styles/Toast.css +1 -1
- package/dist/styles/Toaster.css +1 -1
- package/dist/styles/Tree.css +1 -1
- package/dist/styles/TreeNode.css +1 -1
- package/dist/styles/UserMenu.css +1 -1
- package/dist/styles/Walkthrough.css +1 -1
- package/dist/styles/main.css +1 -1
- package/dist/styles/palette.css +1 -1
- package/dist/tokens/motion.d.ts +42 -0
- package/dist/tokens/motion.d.ts.map +1 -0
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/ui.css +91 -86
- package/dist/utils/pluralize.helper.cjs +1 -0
- package/dist/utils/pluralize.helper.d.ts +28 -0
- package/dist/utils/pluralize.helper.d.ts.map +1 -0
- package/dist/utils/pluralize.helper.mjs +14 -0
- package/dist/utils/truncateMiddle.helper.cjs +1 -0
- package/dist/utils/truncateMiddle.helper.d.ts +16 -0
- package/dist/utils/truncateMiddle.helper.d.ts.map +1 -0
- package/dist/utils/truncateMiddle.helper.mjs +11 -0
- package/package.json +8 -5
- package/src/assets/icons/ai.svg +4 -0
- package/src/plugins/fonts.ts +13 -8
- package/src/plugins/vite/glyphs.ts +32 -9
- package/src/styles/_accent.scss +60 -2
- package/src/styles/_ai.scss +128 -0
- package/src/styles/_contrast.scss +64 -0
- package/src/styles/_focus.scss +28 -0
- package/src/styles/_reset.scss +5 -5
- package/src/styles/_theme-api.scss +17 -2
- package/src/styles/_theme.scss +168 -51
- package/src/styles/_typography.scss +5 -0
- package/src/styles/directives/_tooltip.scss +12 -8
- package/src/styles/grid/_common.scss +3 -0
- package/src/styles/grid/_mixins.scss +3 -2
- package/src/styles/grid/index.scss +63 -0
- package/src/styles/index.scss +6 -0
- package/src/styles/logic/_a11y.scss +1 -1
- package/src/styles/logic/_motion.scss +246 -2
- package/src/styles/patterns/_inspector.scss +5 -5
- package/src/styles/presets/_classic-fields.scss +36 -10
- package/src/styles/transitions/_fade.scss +31 -8
- package/src/styles/variables/_animations.scss +13 -4
- package/src/styles/variables/_categories.scss +130 -0
- package/src/styles/variables/_grid.scss +31 -8
- package/src/styles/variables/_layers.scss +185 -6
- package/src/styles/variables/_spacing.scss +87 -0
- package/src/styles/variables/_type.scss +165 -116
- package/src/utils/pluralize.helper.ts +55 -0
- package/src/utils/truncateMiddle.helper.ts +34 -0
- package/dist/ActionGroup-BW4jTdT0.cjs +0 -1
- package/dist/AiLabel-DSiCpLvM.js +0 -56
- package/dist/AiLabel-G7b92e7Q.cjs +0 -1
- package/dist/BackToTop-BAyTy5SN.js +0 -55
- package/dist/BackToTop-DvNNsQcS.cjs +0 -1
- package/dist/Badge-BC7sqGRj.cjs +0 -1
- package/dist/Badge-DVujzLka.js +0 -59
- package/dist/Banner-BWfbWQjt.cjs +0 -1
- package/dist/BarChart-34fIWzBC.cjs +0 -1
- package/dist/BarChart-CcmkojSX.js +0 -399
- package/dist/BlueprintCard-BISElEk0.cjs +0 -1
- package/dist/BlueprintControls-BwZeMwyC.cjs +0 -1
- package/dist/BlueprintControls-bMZ4hJTJ.js +0 -156
- package/dist/BlueprintMinimap-CWmys37d.cjs +0 -1
- package/dist/BlueprintMinimap-zXf1g5UN.js +0 -161
- package/dist/Board-BVpQ2OAm.cjs +0 -1
- package/dist/BottomPanel-9wXoX7C0.cjs +0 -1
- package/dist/BottomPanel-COy4nW-t.js +0 -114
- package/dist/Button-Cepcs335.js +0 -121
- package/dist/Button-tmwLbryG.cjs +0 -1
- package/dist/Calendar-C_tRujlw.cjs +0 -1
- package/dist/Card-BNmkM0Cr.cjs +0 -1
- package/dist/Card-D5brHuVU.js +0 -109
- package/dist/CardGrid-q_Zz_Ip_.cjs +0 -1
- package/dist/Checkbox-DHjkrPUP.cjs +0 -1
- package/dist/CheckboxGroup-B2GnAaDG.js +0 -72
- package/dist/CheckboxGroup-DJs_1dDP.cjs +0 -1
- package/dist/CommandPalette--Xg6G2hP.cjs +0 -1
- package/dist/CommandPalette-C-Hz6lEX.js +0 -223
- package/dist/Confirm-CquZnoj-.cjs +0 -1
- package/dist/DataTable-Bm6OM1uz.js +0 -477
- package/dist/DataTable-DrWZCe55.cjs +0 -1
- package/dist/DatePicker-wMeO_BAn.cjs +0 -1
- package/dist/Field-3zUVZEMG.cjs +0 -1
- package/dist/FileUploader-CrtHrF9n.cjs +0 -1
- package/dist/FileUploader-D9H4klul.js +0 -187
- package/dist/GanttChart-C2ql59iv.cjs +0 -1
- package/dist/GanttChart-tHaks3Qu.js +0 -466
- package/dist/Grid-BEezjVdC.cjs +0 -1
- package/dist/Icon-Bwec1Nfv.cjs +0 -1
- package/dist/Icon-DwhI2DFK.js +0 -104
- package/dist/InterpolationChart-CezKg7nG.cjs +0 -1
- package/dist/InterpolationChart-x2yvZUFf.js +0 -319
- package/dist/LineChart-A2so8GBH.js +0 -309
- package/dist/LineChart-DnYgeNPe.cjs +0 -1
- package/dist/Menu-2Se8F81Q.js +0 -136
- package/dist/Menu-CAZmNx60.cjs +0 -1
- package/dist/MenuItem-D6hIjWBm.cjs +0 -1
- package/dist/Message-COxRTtqI.cjs +0 -1
- package/dist/Message-DlluDLCZ.js +0 -54
- package/dist/Modal-F7rA1EFq.cjs +0 -1
- package/dist/NotificationCenter-C3D55kLa.cjs +0 -1
- package/dist/NumberInput-DZ2JIarM.js +0 -293
- package/dist/NumberInput-Daauv-mS.cjs +0 -1
- package/dist/Pagination-BiXAAS94.cjs +0 -1
- package/dist/Pagination-oWMOC9Qw.js +0 -84
- package/dist/Panel-CWBZ-kgD.js +0 -15
- package/dist/Panel-ap8JYHvL.cjs +0 -1
- package/dist/PieChart-C3MInQWP.cjs +0 -1
- package/dist/PieChart-DnGl86Lc.js +0 -181
- package/dist/Radio-DuW0s5JD.cjs +0 -1
- package/dist/Radio-LrqGD0NJ.js +0 -98
- package/dist/Select-Z6XKZwgn.cjs +0 -1
- package/dist/Shell-BCBzgwZl.cjs +0 -1
- package/dist/Shell-DSY0rcWY.js +0 -520
- package/dist/Skeleton-CSRjBPVt.cjs +0 -1
- package/dist/Slider-CM-YIOPa.js +0 -308
- package/dist/Slider-CNqWXBhw.cjs +0 -1
- package/dist/Sparkline-DgmOYz7G.cjs +0 -1
- package/dist/Sparkline-TptJc3Gp.js +0 -94
- package/dist/Spinner-BPC4GV2R.cjs +0 -1
- package/dist/Spinner-DT8nD53U.js +0 -156
- package/dist/StepperStep-DM__K4sj.cjs +0 -1
- package/dist/TableOfContents-pJY07qUd.cjs +0 -1
- package/dist/TextInput-CMNHASTy.js +0 -293
- package/dist/TextInput-Dim1RJ1e.cjs +0 -2
- package/dist/Tree-BMKUnt--.js +0 -125
- package/dist/Tree-DDYIaQhW.cjs +0 -1
- package/dist/TreeNode-BjqvPxI6.cjs +0 -1
- package/dist/TreeNode-Bnlm_eRb.js +0 -176
- package/dist/Video-CfRR9Ire.cjs +0 -1
- package/dist/Video-CvpT9tlK.js +0 -103
- package/dist/main-R1TM8Ptt.cjs +0 -4
- /package/dist/{Accordion.context-D0CjtbPU.cjs → Accordion.context-Cb_NKUtg.cjs} +0 -0
- /package/dist/{Accordion.context-Wz0ugH_k.js → Accordion.context-DG649PsQ.js} +0 -0
- /package/dist/{Avatar-BtPUauIn.cjs → Avatar-UO0ySqkY.cjs} +0 -0
- /package/dist/{Avatar-DqZ-eYb8.js → Avatar-ZG-WROXx.js} +0 -0
- /package/dist/{Blueprint.context-BxEzW6uR.cjs → Blueprint.context-B3d5-4jD.cjs} +0 -0
- /package/dist/{Blueprint.context-CFAikJ3j.js → Blueprint.context-B4bRLj7m.js} +0 -0
- /package/dist/{Card.link-dJAabUqe.js → Card.link-CB8_CTbn.js} +0 -0
- /package/dist/{Card.link-crO1EgJA.cjs → Card.link-eRkbFiF1.cjs} +0 -0
- /package/dist/{CheckboxGroup.context-BapH2lov.cjs → CheckboxGroup.context-C8p21aqH.cjs} +0 -0
- /package/dist/{CheckboxGroup.context-uxyp82XM.js → CheckboxGroup.context-Cu0BA648.js} +0 -0
- /package/dist/{DefinitionListItem-DnFxxXWI.cjs → DefinitionListItem-Bf9amK8a.cjs} +0 -0
- /package/dist/{DefinitionListItem-Cg8BggyX.js → DefinitionListItem-CbVnrShi.js} +0 -0
- /package/dist/{JsonTree-DbyC2G2G.js → JsonTree-BWfMcWOV.js} +0 -0
- /package/dist/{JsonTree-CjeK5gqm.cjs → JsonTree-Bmj8WtzK.cjs} +0 -0
- /package/dist/{Layer-BgL2sFav.js → Layer-BJeI6Q6N.js} +0 -0
- /package/dist/{Layer-BPC6XSrP.cjs → Layer-D-MNrLiB.cjs} +0 -0
- /package/dist/{NubiscoMark-BGi9b3YU.js → NubiscoMark-BLT8ULAl.js} +0 -0
- /package/dist/{NubiscoMark-DH9Ngmod.cjs → NubiscoMark-Cf7Ek83E.cjs} +0 -0
- /package/dist/{NubiscoPlatformMark-ddkDJ0AU.cjs → NubiscoPlatformMark-CXMSQDYh.cjs} +0 -0
- /package/dist/{NubiscoPlatformMark-C6WbipA4.js → NubiscoPlatformMark-Dca7vi6H.js} +0 -0
- /package/dist/{Size.d-GBIblj2D.cjs → Size.d-BQ4_AVQe.cjs} +0 -0
- /package/dist/{Size.d-Bah6vMl3.js → Size.d-DY4ZHW3-.js} +0 -0
- /package/dist/{Stepper.context-DVnGO61u.cjs → Stepper.context-DUIDhN9Q.cjs} +0 -0
- /package/dist/{Stepper.context-7n0SuGh_.js → Stepper.context-DqfEvgGM.js} +0 -0
- /package/dist/{TextInput.context-DvCbZUx_.js → TextInput.context-DV1MgL_Q.js} +0 -0
- /package/dist/{TextInput.context-C0YTT4zw.cjs → TextInput.context-UTLuljcO.cjs} +0 -0
- /package/dist/{TreeContext-CvZCLIr2.js → TreeContext--GZ21fCm.js} +0 -0
- /package/dist/{TreeContext-CKcfg0Nq.cjs → TreeContext-TZ35sT5B.cjs} +0 -0
- /package/dist/{_plugin-vue_export-helper-O4QQSku4.js → _plugin-vue_export-helper-C6QCLu9I.js} +0 -0
- /package/dist/{_plugin-vue_export-helper-tagjRzOz.cjs → _plugin-vue_export-helper-D0Q0f7-M.cjs} +0 -0
- /package/dist/{pixi-scene-DSMij-ex.cjs → pixi-scene-BKyneWmd.cjs} +0 -0
- /package/dist/{pixi-scene-Du_Uq_zl.js → pixi-scene-TbaBQ2-u.js} +0 -0
- /package/dist/{scales-Bdgv87s2.cjs → scales-B8IbC7t_.cjs} +0 -0
- /package/dist/{scales-CzvC8OOZ.js → scales-CNW8JgKC.js} +0 -0
- /package/dist/{useChartSize-ByPUvppp.cjs → useChartSize-B6Bes760.cjs} +0 -0
- /package/dist/{useChartSize-BXgOzSCU.js → useChartSize-CftshgoY.js} +0 -0
- /package/dist/{useLoadingAnnouncer.composable-DQEzOEt_.js → useLoadingAnnouncer.composable-BAwecV1M.js} +0 -0
- /package/dist/{useLoadingAnnouncer.composable-pW7VKY0k.cjs → useLoadingAnnouncer.composable-Dn1mqnqe.cjs} +0 -0
- /package/dist/{vue-i18n-CNxAi_sd.cjs → vue-i18n-DIvTc6LM.cjs} +0 -0
- /package/dist/{vue-i18n-BERFm5iG.js → vue-i18n-DSR949qU.js} +0 -0
|
@@ -1,187 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-O4QQSku4.js";
|
|
2
|
-
import { t } from "./Icon-DwhI2DFK.js";
|
|
3
|
-
import { useSurfaceLayer as n } from "./composables/useSurfaceLayer.composable.mjs";
|
|
4
|
-
import { t as r } from "./Button-Cepcs335.js";
|
|
5
|
-
import { Fragment as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createTextVNode as l, createVNode as u, defineComponent as d, mergeProps as f, normalizeClass as p, openBlock as m, ref as h, renderList as g, toDisplayString as _, unref as v, watch as y, withCtx as b, withModifiers as x } from "vue";
|
|
6
|
-
import { regular as S } from "@nubisco/ui/icons/x";
|
|
7
|
-
import { regular as C } from "@nubisco/ui/icons/circle-notch";
|
|
8
|
-
//#region src/types/Variants.d.ts
|
|
9
|
-
var w = /* @__PURE__ */ function(e) {
|
|
10
|
-
return e.Primary = "primary", e.Secondary = "secondary", e.Ghost = "ghost", e.Danger = "danger", e.Success = "success", e.Warning = "warning", e;
|
|
11
|
-
}(w || {}), T = /* @__PURE__ */ function(e) {
|
|
12
|
-
return e.Idle = "idle", e.Loading = "loading", e.Success = "success", e;
|
|
13
|
-
}(T || {}), E = {
|
|
14
|
-
key: 0,
|
|
15
|
-
class: "nb-file-uploader__heading"
|
|
16
|
-
}, D = {
|
|
17
|
-
key: 1,
|
|
18
|
-
class: "nb-file-uploader__description"
|
|
19
|
-
}, O = [
|
|
20
|
-
"accept",
|
|
21
|
-
"multiple",
|
|
22
|
-
"disabled"
|
|
23
|
-
], k = {
|
|
24
|
-
key: 4,
|
|
25
|
-
class: "nb-file-uploader__list"
|
|
26
|
-
}, A = { class: "nb-file-uploader__name" }, j = { class: "nb-file-uploader__status" }, M = [
|
|
27
|
-
"aria-label",
|
|
28
|
-
"disabled",
|
|
29
|
-
"onClick"
|
|
30
|
-
], N = {
|
|
31
|
-
key: 0,
|
|
32
|
-
class: "nb-file-uploader__error"
|
|
33
|
-
}, P = /* @__PURE__ */ e(/* @__PURE__ */ d({
|
|
34
|
-
__name: "FileUploader",
|
|
35
|
-
props: {
|
|
36
|
-
heading: {},
|
|
37
|
-
description: {},
|
|
38
|
-
buttonLabel: { default: "Add file" },
|
|
39
|
-
variant: { default: w.Primary },
|
|
40
|
-
accept: {},
|
|
41
|
-
multiple: {
|
|
42
|
-
type: Boolean,
|
|
43
|
-
default: !1
|
|
44
|
-
},
|
|
45
|
-
maxSize: {},
|
|
46
|
-
disabled: {
|
|
47
|
-
type: Boolean,
|
|
48
|
-
default: !1
|
|
49
|
-
},
|
|
50
|
-
id: {}
|
|
51
|
-
},
|
|
52
|
-
emits: ["change", "remove"],
|
|
53
|
-
setup(e, { expose: d, emit: w }) {
|
|
54
|
-
let P = e, { layerProps: F } = n(), I = w, L = h(null), R = h([]), z = h(!1), B = 0;
|
|
55
|
-
y(() => P.disabled, (e) => {
|
|
56
|
-
e && (B = 0, z.value = !1);
|
|
57
|
-
});
|
|
58
|
-
function V() {
|
|
59
|
-
P.disabled || L.value?.click();
|
|
60
|
-
}
|
|
61
|
-
function H(e) {
|
|
62
|
-
if (P.maxSize && e.size > P.maxSize) return "File exceeds size limit.";
|
|
63
|
-
if (P.accept) {
|
|
64
|
-
let t = P.accept.split(",").map((e) => e.trim().toLowerCase()), n = e.name.toLowerCase();
|
|
65
|
-
if (!t.some((t) => t.startsWith(".") ? n.endsWith(t) : t.includes("/") ? e.type === t || e.type.startsWith(t.replaceAll("*", "")) : !1)) return "File type not accepted.";
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
function U(e) {
|
|
69
|
-
let t = Array.from(e);
|
|
70
|
-
P.multiple || (R.value = []);
|
|
71
|
-
for (let e of t) {
|
|
72
|
-
let t = H(e);
|
|
73
|
-
R.value.push({
|
|
74
|
-
file: e,
|
|
75
|
-
status: T.Idle,
|
|
76
|
-
error: t
|
|
77
|
-
});
|
|
78
|
-
}
|
|
79
|
-
I("change", R.value.filter((e) => !e.error).map((e) => e.file));
|
|
80
|
-
}
|
|
81
|
-
function W(e) {
|
|
82
|
-
let t = e.target;
|
|
83
|
-
if (P.disabled) {
|
|
84
|
-
t.value = "";
|
|
85
|
-
return;
|
|
86
|
-
}
|
|
87
|
-
t.files?.length && (U(t.files), t.value = "");
|
|
88
|
-
}
|
|
89
|
-
function G() {
|
|
90
|
-
P.disabled || (B++, z.value = !0);
|
|
91
|
-
}
|
|
92
|
-
function K() {
|
|
93
|
-
B--, B <= 0 && (B = 0, z.value = !1);
|
|
94
|
-
}
|
|
95
|
-
function q(e) {
|
|
96
|
-
P.disabled && e.dataTransfer && (e.dataTransfer.dropEffect = "none");
|
|
97
|
-
}
|
|
98
|
-
function J(e) {
|
|
99
|
-
if (B = 0, z.value = !1, P.disabled) return;
|
|
100
|
-
let t = e.dataTransfer?.files;
|
|
101
|
-
t?.length && U(t);
|
|
102
|
-
}
|
|
103
|
-
function Y(e) {
|
|
104
|
-
if (P.disabled) return;
|
|
105
|
-
let t = R.value[e];
|
|
106
|
-
R.value.splice(e, 1), I("remove", t.file), I("change", R.value.filter((e) => !e.error).map((e) => e.file));
|
|
107
|
-
}
|
|
108
|
-
function X(e, t, n) {
|
|
109
|
-
R.value[e] && (R.value[e].status = t, R.value[e].error = n);
|
|
110
|
-
}
|
|
111
|
-
return d({
|
|
112
|
-
files: R,
|
|
113
|
-
setFileStatus: X
|
|
114
|
-
}), (n, d) => (m(), s("div", f({ class: ["nb-file-uploader", { "nb-file-uploader--disabled": e.disabled }] }, v(F), {
|
|
115
|
-
onDragenter: x(G, ["prevent"]),
|
|
116
|
-
onDragover: x(q, ["prevent"]),
|
|
117
|
-
onDragleave: x(K, ["prevent"]),
|
|
118
|
-
onDrop: x(J, ["prevent"])
|
|
119
|
-
}), [
|
|
120
|
-
e.heading ? (m(), s("p", E, _(e.heading), 1)) : o("", !0),
|
|
121
|
-
e.description ? (m(), s("p", D, _(e.description), 1)) : o("", !0),
|
|
122
|
-
z.value ? (m(), s("div", {
|
|
123
|
-
key: 2,
|
|
124
|
-
class: p(["nb-file-uploader__dropzone", `nb-file-uploader__dropzone--${e.variant}`])
|
|
125
|
-
}, [...d[0] ||= [c("span", { class: "nb-file-uploader__drop-label" }, [
|
|
126
|
-
l(" Drag and drop files here"),
|
|
127
|
-
c("br"),
|
|
128
|
-
l("or click to upload ")
|
|
129
|
-
], -1)]], 2)) : (m(), a(r, {
|
|
130
|
-
key: 3,
|
|
131
|
-
class: "nb-file-uploader__btn",
|
|
132
|
-
variant: e.variant,
|
|
133
|
-
disabled: e.disabled,
|
|
134
|
-
onClick: x(V, ["stop"])
|
|
135
|
-
}, {
|
|
136
|
-
default: b(() => [l(_(e.buttonLabel), 1)]),
|
|
137
|
-
_: 1
|
|
138
|
-
}, 8, ["variant", "disabled"])),
|
|
139
|
-
c("input", {
|
|
140
|
-
ref_key: "inputRef",
|
|
141
|
-
ref: L,
|
|
142
|
-
type: "file",
|
|
143
|
-
class: "nb-file-uploader__input",
|
|
144
|
-
accept: e.accept,
|
|
145
|
-
multiple: e.multiple,
|
|
146
|
-
disabled: e.disabled,
|
|
147
|
-
onChange: W
|
|
148
|
-
}, null, 40, O),
|
|
149
|
-
R.value.length ? (m(), s("ul", k, [(m(!0), s(i, null, g(R.value, (n, r) => (m(), s("li", {
|
|
150
|
-
key: r,
|
|
151
|
-
class: p(["nb-file-uploader__item", {
|
|
152
|
-
"nb-file-uploader__item--error": n.error,
|
|
153
|
-
"nb-file-uploader__item--success": n.status === "success"
|
|
154
|
-
}])
|
|
155
|
-
}, [
|
|
156
|
-
c("span", A, _(n.file.name), 1),
|
|
157
|
-
c("span", j, [
|
|
158
|
-
n.status === "loading" ? (m(), a(t, {
|
|
159
|
-
key: 0,
|
|
160
|
-
name: v(C),
|
|
161
|
-
class: "nb-file-uploader__spinner"
|
|
162
|
-
}, null, 8, ["name"])) : n.status === "success" ? (m(), a(t, {
|
|
163
|
-
key: 1,
|
|
164
|
-
name: "check-circle-fill",
|
|
165
|
-
class: "nb-file-uploader__check"
|
|
166
|
-
})) : o("", !0),
|
|
167
|
-
n.error ? (m(), a(t, {
|
|
168
|
-
key: 2,
|
|
169
|
-
name: "warning-circle-fill",
|
|
170
|
-
class: "nb-file-uploader__warn"
|
|
171
|
-
})) : o("", !0),
|
|
172
|
-
n.status === "loading" ? o("", !0) : (m(), s("button", {
|
|
173
|
-
key: 3,
|
|
174
|
-
class: "nb-file-uploader__remove",
|
|
175
|
-
type: "button",
|
|
176
|
-
"aria-label": `Remove ${n.file.name}`,
|
|
177
|
-
disabled: e.disabled,
|
|
178
|
-
onClick: (e) => Y(r)
|
|
179
|
-
}, [u(t, { name: v(S) }, null, 8, ["name"])], 8, M))
|
|
180
|
-
]),
|
|
181
|
-
n.error ? (m(), s("div", N, _(n.error), 1)) : o("", !0)
|
|
182
|
-
], 2))), 128))])) : o("", !0)
|
|
183
|
-
], 16));
|
|
184
|
-
}
|
|
185
|
-
}), [["__scopeId", "data-v-4fc529fa"]]);
|
|
186
|
-
//#endregion
|
|
187
|
-
export { T as n, P as t };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-tagjRzOz.cjs`),t=require(`./palette-9NBcW3rl.cjs`),n=require(`./ChartLegend-DGUo_MYi.cjs`),r=require(`./scales-Bdgv87s2.cjs`);let i=require(`vue`);var a={class:`nb-gantt__list-body`},o=[`onClick`],s={class:`nb-gantt__list-group-label`},c=[`onMouseenter`],l=[`title`],u=[`width`],d={class:`nb-gantt__time-header`},f=[`x`,`y`],p=[`x1`,`x2`],m=[`width`,`height`,`aria-label`],h={key:0},g=[`x1`,`x2`,`y2`],ee=[`y`,`width`,`height`],te=[`x1`,`x2`,`y2`],ne=[`x`,`y`,`width`,`height`],_=[`points`],v=[`points`],y=[`x`,`y`,`width`,`height`,`fill`,`onMouseenter`,`onMousemove`],b=[`x`,`y`,`width`,`height`,`fill`],x=[`points`,`fill`,`onMouseenter`,`onMousemove`],re=[`d`],ie=[`points`],ae=[`y`,`width`,`height`,`onMouseenter`],S=40,C=(0,i.defineComponent)({__name:`GanttChart`,props:{tasks:{default:()=>[]},dependencies:{default:()=>[]},groups:{default:()=>[]},timeScale:{default:`week`},rowHeight:{default:36},listWidth:{default:200},showTodayMarker:{type:Boolean,default:!0},today:{default:void 0},showProgress:{type:Boolean,default:!0},statusColors:{default:void 0},title:{default:void 0},subtitle:{default:void 0},height:{default:400},showLegend:{type:Boolean,default:!0},showTooltip:{type:Boolean,default:!0},showGrid:{type:Boolean,default:!0},colors:{default:()=>t.n}},setup(e){let C=e,w={default:t.r(1),"on-track":t.r(3),"at-risk":t.r(4),behind:t.r(5),complete:t.r(2)},T=(0,i.computed)(()=>({...w,...C.statusColors})),E=(0,i.computed)(()=>Math.round(C.rowHeight*.22)),D=(0,i.computed)(()=>C.rowHeight-E.value*2),O=(0,i.computed)(()=>Math.round(C.rowHeight*.28)),k=(0,i.ref)(new Set((C.groups??[]).filter(e=>e.collapsed).map(e=>e.id))),A=e=>{let t=new Set(k.value);t.has(e)?t.delete(e):t.add(e),k.value=t},j=(0,i.computed)(()=>(C.groups?.length??0)>0),M=(0,i.computed)(()=>{let e=C.tasks??[],t=C.groups??[];if(!t.length)return e.map(e=>({id:e.id,label:e.label,type:`task`,milestone:e.milestone}));let n=[],r=new Map(t.map(e=>[e.id,e])),i=new Map,a=[];for(let t of e)if(t.group&&r.has(t.group)){let e=i.get(t.group)??[];e.push(t),i.set(t.group,e)}else a.push(t);for(let e of t)if(n.push({id:e.id,label:e.label,type:`group`}),!k.value.has(e.id))for(let t of i.get(e.id)??[])n.push({id:t.id,label:t.label,type:`task`,milestone:t.milestone,indent:!0});for(let e of a)n.push({id:e.id,label:e.label,type:`task`,milestone:e.milestone});return n}),N=(0,i.computed)(()=>M.value.filter(e=>e.type===`task`)),P=(0,i.computed)(()=>{let e=new Map;return M.value.forEach((t,n)=>e.set(t.id,n)),e}),F=e=>typeof e==`string`?new Date(e).getTime():e.getTime(),I=(0,i.computed)(()=>{let e=C.tasks??[];if(!e.length){let e=Date.now();return[e,e+7*864e5]}let t=1/0,n=-1/0;for(let r of e){let e=F(r.start),i=r.end?F(r.end):e;e<t&&(t=e),i>n&&(n=i)}let r=L(C.timeScale);return[t-r,n+r]}),L=e=>{let t=864e5;return e===`day`?t:e===`week`?7*t:e===`month`?30*t:e===`quarter`?91*t:365*t},R=(0,i.computed)(()=>{let e=C.timeScale;return e===`day`?40:e===`week`?120:e===`month`?180:e===`quarter`?240:360}),z=(0,i.computed)(()=>R.value/L(C.timeScale)),B=(0,i.computed)(()=>I.value[0]),V=(0,i.computed)(()=>Math.max(200,Math.ceil((I.value[1]-I.value[0])*z.value))),H=(0,i.computed)(()=>M.value.length*C.rowHeight),U=(0,i.computed)(()=>r.a(new Date(I.value[0]),new Date(I.value[1]),C.timeScale,z.value,B.value)),W=(0,i.computed)(()=>{if(!C.showTodayMarker)return null;let e=r.n(C.today?new Date(C.today):new Date,B.value,z.value);return e<0||e>V.value?null:e}),G=(e,n)=>e.color?e.color:e.status&&e.status!==`default`?T.value[e.status]:t.i(n,C.colors),K=e=>(typeof e==`string`?new Date(e):e).toLocaleDateString(`en-US`,{month:`short`,day:`numeric`,year:`numeric`}),oe=(0,i.computed)(()=>(C.tasks??[]).filter(e=>!e.milestone&&e.end).map((e,t)=>{let n=P.value.get(e.id);if(n===void 0)return null;let i=r.n(e.start,B.value,z.value),a=r.n(e.end,B.value,z.value);return{id:e.id,x:i,y:n*C.rowHeight,width:Math.max(a-i,4),color:G(e,t),status:e.status??`default`,progress:e.progress??0,label:e.label,start:K(e.start),end:K(e.end)}}).filter(Boolean)),se=(0,i.computed)(()=>(C.tasks??[]).filter(e=>e.milestone).map((e,t)=>{let n=P.value.get(e.id);return n===void 0?null:{id:e.id,x:r.n(e.start,B.value,z.value),y:n*C.rowHeight,color:G(e,t),label:e.label,date:K(e.start)}}).filter(Boolean)),ce=(0,i.computed)(()=>{let e=C.groups??[],t=C.tasks??[];return e.length?e.map(e=>{let n=P.value.get(e.id);if(n===void 0)return null;let i=t.filter(t=>t.group===e.id);if(!i.length)return null;let a=1/0,o=-1/0;for(let e of i){let t=F(e.start),n=e.end?F(e.end):t;t<a&&(a=t),n>o&&(o=n)}let s=r.n(new Date(a),B.value,z.value),c=r.n(new Date(o),B.value,z.value);return{id:e.id,x:s,y:n*C.rowHeight,width:Math.max(c-s,4)}}).filter(Boolean):[]}),q=(e,t)=>`${e},${t} ${e-5},${t+5} ${e+5},${t+5}`,le=(e,t,n)=>`${e},${t-n} ${e+n},${t} ${e},${t+n} ${e-n},${t}`,J=(0,i.computed)(()=>{let e=C.dependencies??[];if(!e.length)return[];let t=new Map((C.tasks??[]).map(e=>[e.id,e]));return e.map(e=>{let n=t.get(e.from),i=t.get(e.to);if(!n||!i)return null;let a=P.value.get(e.from),o=P.value.get(e.to);if(a===void 0||o===void 0)return null;let s=e.type??`finish-to-start`,c=C.rowHeight,l,u,d,f;s===`finish-to-start`?(l=n.milestone?r.n(n.start,B.value,z.value)+O.value:r.n(n.end??n.start,B.value,z.value),u=a*c+c/2,d=i.milestone?r.n(i.start,B.value,z.value)-O.value:r.n(i.start,B.value,z.value),f=o*c+c/2):s===`start-to-start`?(l=r.n(n.start,B.value,z.value),u=a*c+c/2,d=r.n(i.start,B.value,z.value),f=o*c+c/2):s===`finish-to-finish`?(l=r.n(n.end??n.start,B.value,z.value),u=a*c+c/2,d=r.n(i.end??i.start,B.value,z.value),f=o*c+c/2):(l=r.n(n.start,B.value,z.value),u=a*c+c/2,d=r.n(i.end??i.start,B.value,z.value),f=o*c+c/2);let p=l+(d-l)*.5,m=d>l+12?`M${l},${u} H${p} V${f} H${d}`:`M${l},${u} H${l+12} V${(u+f)/2} H${d-12} V${f} H${d}`,h=d,g=f;return{path:m,arrowhead:`${h},${g} ${h-6},${g-4} ${h-6},${g+4}`}}).filter(Boolean)}),Y=(0,i.ref)(null),X=(0,i.ref)(null),Z=(0,i.reactive)({x:0,y:0}),Q=(0,i.ref)(null),ue=(e,t)=>{if(!Y.value)return;let n=Y.value.getBoundingClientRect();Z.x=e.clientX-n.left+12,Z.y=e.clientY-n.top+12,X.value=t.id,Q.value={title:t.label,rows:[{label:`Start`,value:t.start,color:t.color},{label:`End`,value:t.end,color:t.color},...t.progress>0?[{label:`Progress`,value:`${t.progress}%`,color:t.color}]:[]]}},de=(e,t)=>{if(!Y.value)return;let n=Y.value.getBoundingClientRect();Z.x=e.clientX-n.left+12,Z.y=e.clientY-n.top+12,X.value=t.id,Q.value={title:t.label,rows:[{label:`Date`,value:t.date,color:t.color}]}},$=(0,i.computed)(()=>{let e=new Set;for(let t of C.tasks??[])e.add(t.status??`default`);let t={default:`Default`,"on-track":`On track`,"at-risk":`At risk`,behind:`Behind`,complete:`Complete`};return Array.from(e).map(e=>({label:t[e],color:T.value[e]}))});return(r,C)=>((0,i.openBlock)(),(0,i.createBlock)(t.u,{title:e.title,subtitle:e.subtitle,height:e.height,"show-legend":e.showLegend&&$.value.length>1},{legend:(0,i.withCtx)(()=>[(0,i.createVNode)(n.t,{items:$.value},null,8,[`items`])]),default:(0,i.withCtx)(()=>[(0,i.createElementVNode)(`div`,{class:(0,i.normalizeClass)([`nb-gantt`,{"nb-gantt--has-groups":j.value}])},[(0,i.createElementVNode)(`div`,{class:`nb-gantt__list`,style:(0,i.normalizeStyle)({width:`${e.listWidth}px`})},[(0,i.createElementVNode)(`div`,{class:`nb-gantt__list-header`,style:(0,i.normalizeStyle)({height:`${S}px`})},` Tasks `,4),(0,i.createElementVNode)(`div`,a,[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(M.value,t=>((0,i.openBlock)(),(0,i.createElementBlock)(i.Fragment,{key:t.id},[t.type===`group`?((0,i.openBlock)(),(0,i.createElementBlock)(`div`,{key:0,class:`nb-gantt__list-group`,style:(0,i.normalizeStyle)({height:`${e.rowHeight}px`}),onClick:e=>A(t.id)},[(0,i.createElementVNode)(`span`,{class:(0,i.normalizeClass)([`nb-gantt__list-caret`,{"is-collapsed":k.value.has(t.id)}])},`▸`,2),(0,i.createElementVNode)(`span`,s,(0,i.toDisplayString)(t.label),1)],12,o)):((0,i.openBlock)(),(0,i.createElementBlock)(`div`,{key:1,class:(0,i.normalizeClass)([`nb-gantt__list-row`,{"is-hovered":X.value===t.id,"is-milestone":t.milestone}]),style:(0,i.normalizeStyle)({height:`${e.rowHeight}px`,paddingLeft:t.indent?`20px`:void 0}),onMouseenter:e=>X.value=t.id,onMouseleave:C[0]||=e=>X.value=null},[(0,i.createElementVNode)(`span`,{class:`nb-gantt__list-label`,title:t.label},(0,i.toDisplayString)(t.label),9,l)],46,c))],64))),128))])],4),(0,i.createElementVNode)(`div`,{ref_key:`timelineEl`,ref:Y,class:`nb-gantt__timeline`},[((0,i.openBlock)(),(0,i.createElementBlock)(`svg`,{class:`nb-gantt__header-svg`,width:V.value,height:S},[(0,i.createElementVNode)(`g`,d,[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(U.value,(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)(`text`,{key:`th-${t}`,x:e.x+4,y:S-6,class:`nb-gantt__time-label`},(0,i.toDisplayString)(e.label),9,f))),128)),((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(U.value,(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)(`line`,{key:`tl-${t}`,x1:e.x,x2:e.x,y1:0,y2:S,class:`nb-gantt__header-gridline`},null,8,p))),128))])],8,u)),((0,i.openBlock)(),(0,i.createElementBlock)(`svg`,{class:`nb-gantt__svg`,width:V.value,height:H.value,role:`img`,"aria-label":e.title||`Gantt chart`,onMouseleave:C[4]||=e=>X.value=null},[e.showGrid?((0,i.openBlock)(),(0,i.createElementBlock)(`g`,h,[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(U.value,(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)(`line`,{key:`grid-${t}`,class:`nb-gantt__gridline`,x1:e.x,x2:e.x,y1:0,y2:H.value},null,8,g))),128))])):(0,i.createCommentVNode)(``,!0),(0,i.createElementVNode)(`g`,null,[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(M.value,(t,n)=>((0,i.openBlock)(),(0,i.createElementBlock)(`rect`,{key:`stripe-${t.id}`,class:(0,i.normalizeClass)([`nb-gantt__row-stripe`,{"is-even":n%2==0,"is-group":t.type===`group`}]),x:0,y:n*e.rowHeight,width:V.value,height:e.rowHeight},null,10,ee))),128))]),e.showTodayMarker&&W.value!==null?((0,i.openBlock)(),(0,i.createElementBlock)(`line`,{key:1,class:`nb-gantt__today-line`,x1:W.value,x2:W.value,y1:0,y2:H.value},null,8,te)):(0,i.createCommentVNode)(``,!0),((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(ce.value,t=>((0,i.openBlock)(),(0,i.createElementBlock)(`g`,{key:`summary-${t.id}`},[(0,i.createElementVNode)(`rect`,{class:`nb-gantt__summary-bar`,x:t.x,y:t.y+e.rowHeight*.35,width:Math.max(t.width,2),height:e.rowHeight*.3,rx:`2`},null,8,ne),(0,i.createElementVNode)(`polygon`,{class:`nb-gantt__summary-caret`,points:q(t.x,t.y+e.rowHeight*.65)},null,8,_),(0,i.createElementVNode)(`polygon`,{class:`nb-gantt__summary-caret`,points:q(t.x+t.width,t.y+e.rowHeight*.65)},null,8,v)]))),128)),((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(oe.value,t=>((0,i.openBlock)(),(0,i.createElementBlock)(`g`,{key:`bar-${t.id}`},[(0,i.createElementVNode)(`rect`,{class:(0,i.normalizeClass)([`nb-gantt__bar`,[`nb-gantt__bar--${t.status}`,{"is-hovered":X.value===t.id,"is-dim":X.value!==null&&X.value!==t.id}]]),x:t.x,y:t.y+E.value,width:Math.max(t.width,4),height:D.value,rx:`3`,fill:t.color,onMouseenter:e=>X.value=t.id,onMouseleave:C[1]||=e=>X.value=null,onMousemove:e=>ue(e,t)},null,42,y),e.showProgress&&t.progress>0?((0,i.openBlock)(),(0,i.createElementBlock)(`rect`,{key:0,class:`nb-gantt__bar-progress`,x:t.x,y:t.y+E.value,width:Math.max(t.width*(t.progress/100),2),height:D.value,rx:`3`,fill:t.color,"pointer-events":`none`},null,8,b)):(0,i.createCommentVNode)(``,!0)]))),128)),((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(se.value,t=>((0,i.openBlock)(),(0,i.createElementBlock)(`g`,{key:`ms-${t.id}`},[(0,i.createElementVNode)(`polygon`,{class:(0,i.normalizeClass)([`nb-gantt__milestone`,{"is-hovered":X.value===t.id,"is-dim":X.value!==null&&X.value!==t.id}]),points:le(t.x,t.y+e.rowHeight/2,O.value),fill:t.color,onMouseenter:e=>X.value=t.id,onMouseleave:C[2]||=e=>X.value=null,onMousemove:e=>de(e,t)},null,42,x)]))),128)),(0,i.createElementVNode)(`g`,null,[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(J.value,(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)(`path`,{key:`dep-${t}`,class:`nb-gantt__dependency`,d:e.path,fill:`none`},null,8,re))),128)),((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(J.value,(e,t)=>((0,i.openBlock)(),(0,i.createElementBlock)(`polygon`,{key:`dep-arrow-${t}`,class:`nb-gantt__dependency-arrow`,points:e.arrowhead},null,8,ie))),128))]),(0,i.createElementVNode)(`g`,null,[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(N.value,(t,n)=>((0,i.openBlock)(),(0,i.createElementBlock)(`rect`,{key:`hover-${t.id}`,x:0,y:n*e.rowHeight,width:V.value,height:e.rowHeight,fill:`transparent`,onMouseenter:e=>X.value=t.id,onMouseleave:C[3]||=e=>X.value=null},null,40,ae))),128))])],40,m)),(0,i.createVNode)(t.l,{visible:e.showTooltip&&X.value!==null&&Q.value!==null,x:Z.x,y:Z.y,title:Q.value?.title??``,rows:Q.value?.rows??[]},null,8,[`visible`,`x`,`y`,`title`,`rows`])],512)],2)]),_:1},8,[`title`,`subtitle`,`height`,`show-legend`]))}}),w=e.t(C,[[`__scopeId`,`data-v-8b61c468`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return w}});
|
|
@@ -1,466 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-O4QQSku4.js";
|
|
2
|
-
import { i as t, l as n, n as r, r as i, u as a } from "./palette-Cq2Mb9QH.js";
|
|
3
|
-
import { t as o } from "./ChartLegend-BythwRMJ.js";
|
|
4
|
-
import { a as s, n as c } from "./scales-CzvC8OOZ.js";
|
|
5
|
-
import { Fragment as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createVNode as h, defineComponent as g, normalizeClass as _, normalizeStyle as v, openBlock as y, reactive as b, ref as x, renderList as S, toDisplayString as C, withCtx as w } from "vue";
|
|
6
|
-
//#region src/components/Charts/GanttChart.vue?vue&type=script&setup=true&lang.ts
|
|
7
|
-
var T = { class: "nb-gantt__list-body" }, ee = ["onClick"], te = { class: "nb-gantt__list-group-label" }, ne = ["onMouseenter"], re = ["title"], ie = ["width"], ae = { class: "nb-gantt__time-header" }, oe = ["x", "y"], se = ["x1", "x2"], ce = [
|
|
8
|
-
"width",
|
|
9
|
-
"height",
|
|
10
|
-
"aria-label"
|
|
11
|
-
], le = { key: 0 }, ue = [
|
|
12
|
-
"x1",
|
|
13
|
-
"x2",
|
|
14
|
-
"y2"
|
|
15
|
-
], de = [
|
|
16
|
-
"y",
|
|
17
|
-
"width",
|
|
18
|
-
"height"
|
|
19
|
-
], fe = [
|
|
20
|
-
"x1",
|
|
21
|
-
"x2",
|
|
22
|
-
"y2"
|
|
23
|
-
], pe = [
|
|
24
|
-
"x",
|
|
25
|
-
"y",
|
|
26
|
-
"width",
|
|
27
|
-
"height"
|
|
28
|
-
], me = ["points"], E = ["points"], he = [
|
|
29
|
-
"x",
|
|
30
|
-
"y",
|
|
31
|
-
"width",
|
|
32
|
-
"height",
|
|
33
|
-
"fill",
|
|
34
|
-
"onMouseenter",
|
|
35
|
-
"onMousemove"
|
|
36
|
-
], ge = [
|
|
37
|
-
"x",
|
|
38
|
-
"y",
|
|
39
|
-
"width",
|
|
40
|
-
"height",
|
|
41
|
-
"fill"
|
|
42
|
-
], _e = [
|
|
43
|
-
"points",
|
|
44
|
-
"fill",
|
|
45
|
-
"onMouseenter",
|
|
46
|
-
"onMousemove"
|
|
47
|
-
], ve = ["d"], ye = ["points"], be = [
|
|
48
|
-
"y",
|
|
49
|
-
"width",
|
|
50
|
-
"height",
|
|
51
|
-
"onMouseenter"
|
|
52
|
-
], D = 40, O = /* @__PURE__ */ e(/* @__PURE__ */ g({
|
|
53
|
-
__name: "GanttChart",
|
|
54
|
-
props: {
|
|
55
|
-
tasks: { default: () => [] },
|
|
56
|
-
dependencies: { default: () => [] },
|
|
57
|
-
groups: { default: () => [] },
|
|
58
|
-
timeScale: { default: "week" },
|
|
59
|
-
rowHeight: { default: 36 },
|
|
60
|
-
listWidth: { default: 200 },
|
|
61
|
-
showTodayMarker: {
|
|
62
|
-
type: Boolean,
|
|
63
|
-
default: !0
|
|
64
|
-
},
|
|
65
|
-
today: { default: void 0 },
|
|
66
|
-
showProgress: {
|
|
67
|
-
type: Boolean,
|
|
68
|
-
default: !0
|
|
69
|
-
},
|
|
70
|
-
statusColors: { default: void 0 },
|
|
71
|
-
title: { default: void 0 },
|
|
72
|
-
subtitle: { default: void 0 },
|
|
73
|
-
height: { default: 400 },
|
|
74
|
-
showLegend: {
|
|
75
|
-
type: Boolean,
|
|
76
|
-
default: !0
|
|
77
|
-
},
|
|
78
|
-
showTooltip: {
|
|
79
|
-
type: Boolean,
|
|
80
|
-
default: !0
|
|
81
|
-
},
|
|
82
|
-
showGrid: {
|
|
83
|
-
type: Boolean,
|
|
84
|
-
default: !0
|
|
85
|
-
},
|
|
86
|
-
colors: { default: () => r }
|
|
87
|
-
},
|
|
88
|
-
setup(e) {
|
|
89
|
-
let r = e, g = {
|
|
90
|
-
default: i(1),
|
|
91
|
-
"on-track": i(3),
|
|
92
|
-
"at-risk": i(4),
|
|
93
|
-
behind: i(5),
|
|
94
|
-
complete: i(2)
|
|
95
|
-
}, O = u(() => ({
|
|
96
|
-
...g,
|
|
97
|
-
...r.statusColors
|
|
98
|
-
})), k = u(() => Math.round(r.rowHeight * .22)), A = u(() => r.rowHeight - k.value * 2), j = u(() => Math.round(r.rowHeight * .28)), M = x(new Set((r.groups ?? []).filter((e) => e.collapsed).map((e) => e.id))), N = (e) => {
|
|
99
|
-
let t = new Set(M.value);
|
|
100
|
-
t.has(e) ? t.delete(e) : t.add(e), M.value = t;
|
|
101
|
-
}, xe = u(() => (r.groups?.length ?? 0) > 0), P = u(() => {
|
|
102
|
-
let e = r.tasks ?? [], t = r.groups ?? [];
|
|
103
|
-
if (!t.length) return e.map((e) => ({
|
|
104
|
-
id: e.id,
|
|
105
|
-
label: e.label,
|
|
106
|
-
type: "task",
|
|
107
|
-
milestone: e.milestone
|
|
108
|
-
}));
|
|
109
|
-
let n = [], i = new Map(t.map((e) => [e.id, e])), a = /* @__PURE__ */ new Map(), o = [];
|
|
110
|
-
for (let t of e) if (t.group && i.has(t.group)) {
|
|
111
|
-
let e = a.get(t.group) ?? [];
|
|
112
|
-
e.push(t), a.set(t.group, e);
|
|
113
|
-
} else o.push(t);
|
|
114
|
-
for (let e of t) if (n.push({
|
|
115
|
-
id: e.id,
|
|
116
|
-
label: e.label,
|
|
117
|
-
type: "group"
|
|
118
|
-
}), !M.value.has(e.id)) for (let t of a.get(e.id) ?? []) n.push({
|
|
119
|
-
id: t.id,
|
|
120
|
-
label: t.label,
|
|
121
|
-
type: "task",
|
|
122
|
-
milestone: t.milestone,
|
|
123
|
-
indent: !0
|
|
124
|
-
});
|
|
125
|
-
for (let e of o) n.push({
|
|
126
|
-
id: e.id,
|
|
127
|
-
label: e.label,
|
|
128
|
-
type: "task",
|
|
129
|
-
milestone: e.milestone
|
|
130
|
-
});
|
|
131
|
-
return n;
|
|
132
|
-
}), Se = u(() => P.value.filter((e) => e.type === "task")), F = u(() => {
|
|
133
|
-
let e = /* @__PURE__ */ new Map();
|
|
134
|
-
return P.value.forEach((t, n) => e.set(t.id, n)), e;
|
|
135
|
-
}), I = (e) => typeof e == "string" ? new Date(e).getTime() : e.getTime(), L = u(() => {
|
|
136
|
-
let e = r.tasks ?? [];
|
|
137
|
-
if (!e.length) {
|
|
138
|
-
let e = Date.now();
|
|
139
|
-
return [e, e + 7 * 864e5];
|
|
140
|
-
}
|
|
141
|
-
let t = Infinity, n = -Infinity;
|
|
142
|
-
for (let r of e) {
|
|
143
|
-
let e = I(r.start), i = r.end ? I(r.end) : e;
|
|
144
|
-
e < t && (t = e), i > n && (n = i);
|
|
145
|
-
}
|
|
146
|
-
let i = R(r.timeScale);
|
|
147
|
-
return [t - i, n + i];
|
|
148
|
-
}), R = (e) => {
|
|
149
|
-
let t = 864e5;
|
|
150
|
-
return e === "day" ? t : e === "week" ? 7 * t : e === "month" ? 30 * t : e === "quarter" ? 91 * t : 365 * t;
|
|
151
|
-
}, Ce = u(() => {
|
|
152
|
-
let e = r.timeScale;
|
|
153
|
-
return e === "day" ? 40 : e === "week" ? 120 : e === "month" ? 180 : e === "quarter" ? 240 : 360;
|
|
154
|
-
}), z = u(() => Ce.value / R(r.timeScale)), B = u(() => L.value[0]), V = u(() => Math.max(200, Math.ceil((L.value[1] - L.value[0]) * z.value))), H = u(() => P.value.length * r.rowHeight), U = u(() => s(new Date(L.value[0]), new Date(L.value[1]), r.timeScale, z.value, B.value)), W = u(() => {
|
|
155
|
-
if (!r.showTodayMarker) return null;
|
|
156
|
-
let e = c(r.today ? new Date(r.today) : /* @__PURE__ */ new Date(), B.value, z.value);
|
|
157
|
-
return e < 0 || e > V.value ? null : e;
|
|
158
|
-
}), G = (e, n) => e.color ? e.color : e.status && e.status !== "default" ? O.value[e.status] : t(n, r.colors), K = (e) => (typeof e == "string" ? new Date(e) : e).toLocaleDateString("en-US", {
|
|
159
|
-
month: "short",
|
|
160
|
-
day: "numeric",
|
|
161
|
-
year: "numeric"
|
|
162
|
-
}), we = u(() => (r.tasks ?? []).filter((e) => !e.milestone && e.end).map((e, t) => {
|
|
163
|
-
let n = F.value.get(e.id);
|
|
164
|
-
if (n === void 0) return null;
|
|
165
|
-
let i = c(e.start, B.value, z.value), a = c(e.end, B.value, z.value);
|
|
166
|
-
return {
|
|
167
|
-
id: e.id,
|
|
168
|
-
x: i,
|
|
169
|
-
y: n * r.rowHeight,
|
|
170
|
-
width: Math.max(a - i, 4),
|
|
171
|
-
color: G(e, t),
|
|
172
|
-
status: e.status ?? "default",
|
|
173
|
-
progress: e.progress ?? 0,
|
|
174
|
-
label: e.label,
|
|
175
|
-
start: K(e.start),
|
|
176
|
-
end: K(e.end)
|
|
177
|
-
};
|
|
178
|
-
}).filter(Boolean)), Te = u(() => (r.tasks ?? []).filter((e) => e.milestone).map((e, t) => {
|
|
179
|
-
let n = F.value.get(e.id);
|
|
180
|
-
return n === void 0 ? null : {
|
|
181
|
-
id: e.id,
|
|
182
|
-
x: c(e.start, B.value, z.value),
|
|
183
|
-
y: n * r.rowHeight,
|
|
184
|
-
color: G(e, t),
|
|
185
|
-
label: e.label,
|
|
186
|
-
date: K(e.start)
|
|
187
|
-
};
|
|
188
|
-
}).filter(Boolean)), Ee = u(() => {
|
|
189
|
-
let e = r.groups ?? [], t = r.tasks ?? [];
|
|
190
|
-
return e.length ? e.map((e) => {
|
|
191
|
-
let n = F.value.get(e.id);
|
|
192
|
-
if (n === void 0) return null;
|
|
193
|
-
let i = t.filter((t) => t.group === e.id);
|
|
194
|
-
if (!i.length) return null;
|
|
195
|
-
let a = Infinity, o = -Infinity;
|
|
196
|
-
for (let e of i) {
|
|
197
|
-
let t = I(e.start), n = e.end ? I(e.end) : t;
|
|
198
|
-
t < a && (a = t), n > o && (o = n);
|
|
199
|
-
}
|
|
200
|
-
let s = c(new Date(a), B.value, z.value), l = c(new Date(o), B.value, z.value);
|
|
201
|
-
return {
|
|
202
|
-
id: e.id,
|
|
203
|
-
x: s,
|
|
204
|
-
y: n * r.rowHeight,
|
|
205
|
-
width: Math.max(l - s, 4)
|
|
206
|
-
};
|
|
207
|
-
}).filter(Boolean) : [];
|
|
208
|
-
}), q = (e, t) => `${e},${t} ${e - 5},${t + 5} ${e + 5},${t + 5}`, De = (e, t, n) => `${e},${t - n} ${e + n},${t} ${e},${t + n} ${e - n},${t}`, J = u(() => {
|
|
209
|
-
let e = r.dependencies ?? [];
|
|
210
|
-
if (!e.length) return [];
|
|
211
|
-
let t = new Map((r.tasks ?? []).map((e) => [e.id, e]));
|
|
212
|
-
return e.map((e) => {
|
|
213
|
-
let n = t.get(e.from), i = t.get(e.to);
|
|
214
|
-
if (!n || !i) return null;
|
|
215
|
-
let a = F.value.get(e.from), o = F.value.get(e.to);
|
|
216
|
-
if (a === void 0 || o === void 0) return null;
|
|
217
|
-
let s = e.type ?? "finish-to-start", l = r.rowHeight, u, d, f, p;
|
|
218
|
-
s === "finish-to-start" ? (u = n.milestone ? c(n.start, B.value, z.value) + j.value : c(n.end ?? n.start, B.value, z.value), d = a * l + l / 2, f = i.milestone ? c(i.start, B.value, z.value) - j.value : c(i.start, B.value, z.value), p = o * l + l / 2) : s === "start-to-start" ? (u = c(n.start, B.value, z.value), d = a * l + l / 2, f = c(i.start, B.value, z.value), p = o * l + l / 2) : s === "finish-to-finish" ? (u = c(n.end ?? n.start, B.value, z.value), d = a * l + l / 2, f = c(i.end ?? i.start, B.value, z.value), p = o * l + l / 2) : (u = c(n.start, B.value, z.value), d = a * l + l / 2, f = c(i.end ?? i.start, B.value, z.value), p = o * l + l / 2);
|
|
219
|
-
let m = u + (f - u) * .5, h = f > u + 12 ? `M${u},${d} H${m} V${p} H${f}` : `M${u},${d} H${u + 12} V${(d + p) / 2} H${f - 12} V${p} H${f}`, g = f, _ = p;
|
|
220
|
-
return {
|
|
221
|
-
path: h,
|
|
222
|
-
arrowhead: `${g},${_} ${g - 6},${_ - 4} ${g - 6},${_ + 4}`
|
|
223
|
-
};
|
|
224
|
-
}).filter(Boolean);
|
|
225
|
-
}), Y = x(null), X = x(null), Z = b({
|
|
226
|
-
x: 0,
|
|
227
|
-
y: 0
|
|
228
|
-
}), Q = x(null), Oe = (e, t) => {
|
|
229
|
-
if (!Y.value) return;
|
|
230
|
-
let n = Y.value.getBoundingClientRect();
|
|
231
|
-
Z.x = e.clientX - n.left + 12, Z.y = e.clientY - n.top + 12, X.value = t.id, Q.value = {
|
|
232
|
-
title: t.label,
|
|
233
|
-
rows: [
|
|
234
|
-
{
|
|
235
|
-
label: "Start",
|
|
236
|
-
value: t.start,
|
|
237
|
-
color: t.color
|
|
238
|
-
},
|
|
239
|
-
{
|
|
240
|
-
label: "End",
|
|
241
|
-
value: t.end,
|
|
242
|
-
color: t.color
|
|
243
|
-
},
|
|
244
|
-
...t.progress > 0 ? [{
|
|
245
|
-
label: "Progress",
|
|
246
|
-
value: `${t.progress}%`,
|
|
247
|
-
color: t.color
|
|
248
|
-
}] : []
|
|
249
|
-
]
|
|
250
|
-
};
|
|
251
|
-
}, ke = (e, t) => {
|
|
252
|
-
if (!Y.value) return;
|
|
253
|
-
let n = Y.value.getBoundingClientRect();
|
|
254
|
-
Z.x = e.clientX - n.left + 12, Z.y = e.clientY - n.top + 12, X.value = t.id, Q.value = {
|
|
255
|
-
title: t.label,
|
|
256
|
-
rows: [{
|
|
257
|
-
label: "Date",
|
|
258
|
-
value: t.date,
|
|
259
|
-
color: t.color
|
|
260
|
-
}]
|
|
261
|
-
};
|
|
262
|
-
}, $ = u(() => {
|
|
263
|
-
let e = /* @__PURE__ */ new Set();
|
|
264
|
-
for (let t of r.tasks ?? []) e.add(t.status ?? "default");
|
|
265
|
-
let t = {
|
|
266
|
-
default: "Default",
|
|
267
|
-
"on-track": "On track",
|
|
268
|
-
"at-risk": "At risk",
|
|
269
|
-
behind: "Behind",
|
|
270
|
-
complete: "Complete"
|
|
271
|
-
};
|
|
272
|
-
return Array.from(e).map((e) => ({
|
|
273
|
-
label: t[e],
|
|
274
|
-
color: O.value[e]
|
|
275
|
-
}));
|
|
276
|
-
});
|
|
277
|
-
return (t, r) => (y(), d(a, {
|
|
278
|
-
title: e.title,
|
|
279
|
-
subtitle: e.subtitle,
|
|
280
|
-
height: e.height,
|
|
281
|
-
"show-legend": e.showLegend && $.value.length > 1
|
|
282
|
-
}, {
|
|
283
|
-
legend: w(() => [h(o, { items: $.value }, null, 8, ["items"])]),
|
|
284
|
-
default: w(() => [m("div", { class: _(["nb-gantt", { "nb-gantt--has-groups": xe.value }]) }, [m("div", {
|
|
285
|
-
class: "nb-gantt__list",
|
|
286
|
-
style: v({ width: `${e.listWidth}px` })
|
|
287
|
-
}, [m("div", {
|
|
288
|
-
class: "nb-gantt__list-header",
|
|
289
|
-
style: v({ height: `${D}px` })
|
|
290
|
-
}, " Tasks ", 4), m("div", T, [(y(!0), p(l, null, S(P.value, (t) => (y(), p(l, { key: t.id }, [t.type === "group" ? (y(), p("div", {
|
|
291
|
-
key: 0,
|
|
292
|
-
class: "nb-gantt__list-group",
|
|
293
|
-
style: v({ height: `${e.rowHeight}px` }),
|
|
294
|
-
onClick: (e) => N(t.id)
|
|
295
|
-
}, [m("span", { class: _(["nb-gantt__list-caret", { "is-collapsed": M.value.has(t.id) }]) }, "▸", 2), m("span", te, C(t.label), 1)], 12, ee)) : (y(), p("div", {
|
|
296
|
-
key: 1,
|
|
297
|
-
class: _(["nb-gantt__list-row", {
|
|
298
|
-
"is-hovered": X.value === t.id,
|
|
299
|
-
"is-milestone": t.milestone
|
|
300
|
-
}]),
|
|
301
|
-
style: v({
|
|
302
|
-
height: `${e.rowHeight}px`,
|
|
303
|
-
paddingLeft: t.indent ? "20px" : void 0
|
|
304
|
-
}),
|
|
305
|
-
onMouseenter: (e) => X.value = t.id,
|
|
306
|
-
onMouseleave: r[0] ||= (e) => X.value = null
|
|
307
|
-
}, [m("span", {
|
|
308
|
-
class: "nb-gantt__list-label",
|
|
309
|
-
title: t.label
|
|
310
|
-
}, C(t.label), 9, re)], 46, ne))], 64))), 128))])], 4), m("div", {
|
|
311
|
-
ref_key: "timelineEl",
|
|
312
|
-
ref: Y,
|
|
313
|
-
class: "nb-gantt__timeline"
|
|
314
|
-
}, [
|
|
315
|
-
(y(), p("svg", {
|
|
316
|
-
class: "nb-gantt__header-svg",
|
|
317
|
-
width: V.value,
|
|
318
|
-
height: D
|
|
319
|
-
}, [m("g", ae, [(y(!0), p(l, null, S(U.value, (e, t) => (y(), p("text", {
|
|
320
|
-
key: `th-${t}`,
|
|
321
|
-
x: e.x + 4,
|
|
322
|
-
y: D - 6,
|
|
323
|
-
class: "nb-gantt__time-label"
|
|
324
|
-
}, C(e.label), 9, oe))), 128)), (y(!0), p(l, null, S(U.value, (e, t) => (y(), p("line", {
|
|
325
|
-
key: `tl-${t}`,
|
|
326
|
-
x1: e.x,
|
|
327
|
-
x2: e.x,
|
|
328
|
-
y1: 0,
|
|
329
|
-
y2: D,
|
|
330
|
-
class: "nb-gantt__header-gridline"
|
|
331
|
-
}, null, 8, se))), 128))])], 8, ie)),
|
|
332
|
-
(y(), p("svg", {
|
|
333
|
-
class: "nb-gantt__svg",
|
|
334
|
-
width: V.value,
|
|
335
|
-
height: H.value,
|
|
336
|
-
role: "img",
|
|
337
|
-
"aria-label": e.title || "Gantt chart",
|
|
338
|
-
onMouseleave: r[4] ||= (e) => X.value = null
|
|
339
|
-
}, [
|
|
340
|
-
e.showGrid ? (y(), p("g", le, [(y(!0), p(l, null, S(U.value, (e, t) => (y(), p("line", {
|
|
341
|
-
key: `grid-${t}`,
|
|
342
|
-
class: "nb-gantt__gridline",
|
|
343
|
-
x1: e.x,
|
|
344
|
-
x2: e.x,
|
|
345
|
-
y1: 0,
|
|
346
|
-
y2: H.value
|
|
347
|
-
}, null, 8, ue))), 128))])) : f("", !0),
|
|
348
|
-
m("g", null, [(y(!0), p(l, null, S(P.value, (t, n) => (y(), p("rect", {
|
|
349
|
-
key: `stripe-${t.id}`,
|
|
350
|
-
class: _(["nb-gantt__row-stripe", {
|
|
351
|
-
"is-even": n % 2 == 0,
|
|
352
|
-
"is-group": t.type === "group"
|
|
353
|
-
}]),
|
|
354
|
-
x: 0,
|
|
355
|
-
y: n * e.rowHeight,
|
|
356
|
-
width: V.value,
|
|
357
|
-
height: e.rowHeight
|
|
358
|
-
}, null, 10, de))), 128))]),
|
|
359
|
-
e.showTodayMarker && W.value !== null ? (y(), p("line", {
|
|
360
|
-
key: 1,
|
|
361
|
-
class: "nb-gantt__today-line",
|
|
362
|
-
x1: W.value,
|
|
363
|
-
x2: W.value,
|
|
364
|
-
y1: 0,
|
|
365
|
-
y2: H.value
|
|
366
|
-
}, null, 8, fe)) : f("", !0),
|
|
367
|
-
(y(!0), p(l, null, S(Ee.value, (t) => (y(), p("g", { key: `summary-${t.id}` }, [
|
|
368
|
-
m("rect", {
|
|
369
|
-
class: "nb-gantt__summary-bar",
|
|
370
|
-
x: t.x,
|
|
371
|
-
y: t.y + e.rowHeight * .35,
|
|
372
|
-
width: Math.max(t.width, 2),
|
|
373
|
-
height: e.rowHeight * .3,
|
|
374
|
-
rx: "2"
|
|
375
|
-
}, null, 8, pe),
|
|
376
|
-
m("polygon", {
|
|
377
|
-
class: "nb-gantt__summary-caret",
|
|
378
|
-
points: q(t.x, t.y + e.rowHeight * .65)
|
|
379
|
-
}, null, 8, me),
|
|
380
|
-
m("polygon", {
|
|
381
|
-
class: "nb-gantt__summary-caret",
|
|
382
|
-
points: q(t.x + t.width, t.y + e.rowHeight * .65)
|
|
383
|
-
}, null, 8, E)
|
|
384
|
-
]))), 128)),
|
|
385
|
-
(y(!0), p(l, null, S(we.value, (t) => (y(), p("g", { key: `bar-${t.id}` }, [m("rect", {
|
|
386
|
-
class: _(["nb-gantt__bar", [`nb-gantt__bar--${t.status}`, {
|
|
387
|
-
"is-hovered": X.value === t.id,
|
|
388
|
-
"is-dim": X.value !== null && X.value !== t.id
|
|
389
|
-
}]]),
|
|
390
|
-
x: t.x,
|
|
391
|
-
y: t.y + k.value,
|
|
392
|
-
width: Math.max(t.width, 4),
|
|
393
|
-
height: A.value,
|
|
394
|
-
rx: "3",
|
|
395
|
-
fill: t.color,
|
|
396
|
-
onMouseenter: (e) => X.value = t.id,
|
|
397
|
-
onMouseleave: r[1] ||= (e) => X.value = null,
|
|
398
|
-
onMousemove: (e) => Oe(e, t)
|
|
399
|
-
}, null, 42, he), e.showProgress && t.progress > 0 ? (y(), p("rect", {
|
|
400
|
-
key: 0,
|
|
401
|
-
class: "nb-gantt__bar-progress",
|
|
402
|
-
x: t.x,
|
|
403
|
-
y: t.y + k.value,
|
|
404
|
-
width: Math.max(t.width * (t.progress / 100), 2),
|
|
405
|
-
height: A.value,
|
|
406
|
-
rx: "3",
|
|
407
|
-
fill: t.color,
|
|
408
|
-
"pointer-events": "none"
|
|
409
|
-
}, null, 8, ge)) : f("", !0)]))), 128)),
|
|
410
|
-
(y(!0), p(l, null, S(Te.value, (t) => (y(), p("g", { key: `ms-${t.id}` }, [m("polygon", {
|
|
411
|
-
class: _(["nb-gantt__milestone", {
|
|
412
|
-
"is-hovered": X.value === t.id,
|
|
413
|
-
"is-dim": X.value !== null && X.value !== t.id
|
|
414
|
-
}]),
|
|
415
|
-
points: De(t.x, t.y + e.rowHeight / 2, j.value),
|
|
416
|
-
fill: t.color,
|
|
417
|
-
onMouseenter: (e) => X.value = t.id,
|
|
418
|
-
onMouseleave: r[2] ||= (e) => X.value = null,
|
|
419
|
-
onMousemove: (e) => ke(e, t)
|
|
420
|
-
}, null, 42, _e)]))), 128)),
|
|
421
|
-
m("g", null, [(y(!0), p(l, null, S(J.value, (e, t) => (y(), p("path", {
|
|
422
|
-
key: `dep-${t}`,
|
|
423
|
-
class: "nb-gantt__dependency",
|
|
424
|
-
d: e.path,
|
|
425
|
-
fill: "none"
|
|
426
|
-
}, null, 8, ve))), 128)), (y(!0), p(l, null, S(J.value, (e, t) => (y(), p("polygon", {
|
|
427
|
-
key: `dep-arrow-${t}`,
|
|
428
|
-
class: "nb-gantt__dependency-arrow",
|
|
429
|
-
points: e.arrowhead
|
|
430
|
-
}, null, 8, ye))), 128))]),
|
|
431
|
-
m("g", null, [(y(!0), p(l, null, S(Se.value, (t, n) => (y(), p("rect", {
|
|
432
|
-
key: `hover-${t.id}`,
|
|
433
|
-
x: 0,
|
|
434
|
-
y: n * e.rowHeight,
|
|
435
|
-
width: V.value,
|
|
436
|
-
height: e.rowHeight,
|
|
437
|
-
fill: "transparent",
|
|
438
|
-
onMouseenter: (e) => X.value = t.id,
|
|
439
|
-
onMouseleave: r[3] ||= (e) => X.value = null
|
|
440
|
-
}, null, 40, be))), 128))])
|
|
441
|
-
], 40, ce)),
|
|
442
|
-
h(n, {
|
|
443
|
-
visible: e.showTooltip && X.value !== null && Q.value !== null,
|
|
444
|
-
x: Z.x,
|
|
445
|
-
y: Z.y,
|
|
446
|
-
title: Q.value?.title ?? "",
|
|
447
|
-
rows: Q.value?.rows ?? []
|
|
448
|
-
}, null, 8, [
|
|
449
|
-
"visible",
|
|
450
|
-
"x",
|
|
451
|
-
"y",
|
|
452
|
-
"title",
|
|
453
|
-
"rows"
|
|
454
|
-
])
|
|
455
|
-
], 512)], 2)]),
|
|
456
|
-
_: 1
|
|
457
|
-
}, 8, [
|
|
458
|
-
"title",
|
|
459
|
-
"subtitle",
|
|
460
|
-
"height",
|
|
461
|
-
"show-legend"
|
|
462
|
-
]));
|
|
463
|
-
}
|
|
464
|
-
}), [["__scopeId", "data-v-8b61c468"]]);
|
|
465
|
-
//#endregion
|
|
466
|
-
export { O as t };
|