cortex-react-components 3.3.0 → 4.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-Z54HOXSV.mjs → chunk-2254O4YT.mjs} +2 -2
- package/dist/{chunk-V6YEUAIH.mjs → chunk-3BYBIUZN.mjs} +3 -3
- package/dist/{chunk-XFJPL6FS.mjs → chunk-3IXZB3VP.mjs} +1 -1
- package/dist/{chunk-WJTVZ6CB.mjs → chunk-3NXXPFU2.mjs} +1 -1
- package/dist/{chunk-CONYNX7Y.mjs → chunk-4HKHDXKK.mjs} +3 -3
- package/dist/{chunk-DSVXGGGV.mjs → chunk-54AIO5ED.mjs} +2 -2
- package/dist/{chunk-7ZCW4XMR.mjs → chunk-64IBDKCH.mjs} +1 -1
- package/dist/{chunk-EJJITIA3.mjs → chunk-65ZDGR46.mjs} +5 -5
- package/dist/{chunk-I4MTJN23.mjs → chunk-6A7T3O6T.mjs} +6 -5
- package/dist/{chunk-HUZCVQP7.mjs → chunk-7IMTNL53.mjs} +1 -1
- package/dist/{chunk-IJ3E6ZXF.mjs → chunk-B2LFNC3C.mjs} +1 -1
- package/dist/{chunk-IDMTHUC4.mjs → chunk-B36NGEMF.mjs} +3 -3
- package/dist/{chunk-FABRRO2B.mjs → chunk-BAJ7NCAT.mjs} +1 -1
- package/dist/{chunk-4JHX6BW6.mjs → chunk-BEGQGEDH.mjs} +1 -1
- package/dist/{chunk-36W3BORX.mjs → chunk-BWS5MUG7.mjs} +1 -1
- package/dist/{chunk-5NGZXIP7.mjs → chunk-CI625DSA.mjs} +1 -1
- package/dist/{chunk-WX5QYPGU.mjs → chunk-CUUAA2TB.mjs} +1 -1
- package/dist/{chunk-ETG5N2OG.mjs → chunk-DOIUUDF6.mjs} +1 -1
- package/dist/{chunk-SSE3MQDP.mjs → chunk-DST7L2PX.mjs} +3 -3
- package/dist/{chunk-UETTBM3J.mjs → chunk-F6NJD6IG.mjs} +1 -1
- package/dist/{chunk-L4SNPNYU.mjs → chunk-FBCL4K4A.mjs} +1 -1
- package/dist/{chunk-IVOPNDSN.mjs → chunk-G5N5MCLS.mjs} +5 -5
- package/dist/{chunk-NQMJXY3N.mjs → chunk-GC7DB2Y5.mjs} +1 -1
- package/dist/{chunk-5CQITTLV.mjs → chunk-GMHZ7GGN.mjs} +1 -1
- package/dist/{chunk-C3CKYJ2F.mjs → chunk-GZRODHXY.mjs} +1 -1
- package/dist/{chunk-SM57JU3T.mjs → chunk-HCVN3YVW.mjs} +5 -5
- package/dist/{chunk-SSDRUPMS.mjs → chunk-HWSDSULO.mjs} +183 -36
- package/dist/{chunk-QPO45D6F.mjs → chunk-I2MVZVXE.mjs} +1 -1
- package/dist/chunk-IC4N2KYF.mjs +401 -0
- package/dist/{chunk-GGOGMLBY.mjs → chunk-JKVS2VFG.mjs} +4 -4
- package/dist/{chunk-OPJMXB4K.mjs → chunk-K4ZS4W4S.mjs} +2 -2
- package/dist/{chunk-Q6CUUDUR.mjs → chunk-LVLYUHSA.mjs} +1 -1
- package/dist/{chunk-UDCOG2XL.mjs → chunk-LY4RR7AL.mjs} +1 -1
- package/dist/{chunk-QMFGV3M5.mjs → chunk-LZUYY2G6.mjs} +2 -2
- package/dist/{chunk-XGHUG2WQ.mjs → chunk-MDG2I4PB.mjs} +1 -1
- package/dist/{chunk-YD7Q7IZX.mjs → chunk-MNJ5CMJM.mjs} +1 -1
- package/dist/{chunk-YY4VLYYH.mjs → chunk-MOMYX6OH.mjs} +26 -11
- package/dist/{chunk-EDYFH3EJ.mjs → chunk-NM7RODDO.mjs} +3 -3
- package/dist/{chunk-KOK3VCJZ.mjs → chunk-O5RKEF5N.mjs} +2 -2
- package/dist/chunk-PBIUFMQ7.mjs +595 -0
- package/dist/{chunk-GTHNG3Q7.mjs → chunk-PPESICX2.mjs} +1 -1
- package/dist/{chunk-F7JPOQIC.mjs → chunk-Q54XDKD6.mjs} +1 -1
- package/dist/{chunk-LTDXFLCW.mjs → chunk-QM3XSGNV.mjs} +13 -5
- package/dist/{chunk-LGGOEYDB.mjs → chunk-QU3TSSIT.mjs} +9 -9
- package/dist/{chunk-OCVHSV6Z.mjs → chunk-R4WRE5VN.mjs} +2 -2
- package/dist/{chunk-HMVIQFLN.mjs → chunk-S2JSIAMP.mjs} +1 -1
- package/dist/{chunk-4JSM5VYZ.mjs → chunk-SAVDOTMQ.mjs} +1 -1
- package/dist/{chunk-PE44IHZN.mjs → chunk-SBD4TWK2.mjs} +1 -1
- package/dist/{chunk-B7WVGDB6.mjs → chunk-SZJ6XME5.mjs} +1 -1
- package/dist/{chunk-URC56DLC.mjs → chunk-T2VDQBFT.mjs} +1 -1
- package/dist/{chunk-2D3EN2AX.mjs → chunk-T36HNGWV.mjs} +2 -2
- package/dist/{chunk-3BYULUMU.mjs → chunk-T62Q55Y5.mjs} +1 -1
- package/dist/{chunk-IBQBZNEA.mjs → chunk-T756T7P5.mjs} +1 -1
- package/dist/{chunk-HNBHBFLY.mjs → chunk-TZBPEFJY.mjs} +1 -1
- package/dist/{chunk-HQW5M4ND.mjs → chunk-U5XRK325.mjs} +1 -1
- package/dist/{chunk-4P5Q6UXF.mjs → chunk-UBFOKMYD.mjs} +5 -5
- package/dist/{chunk-6NRBLKM4.mjs → chunk-UM7KTWAX.mjs} +2 -2
- package/dist/{chunk-E5LGE3IW.mjs → chunk-W73LGNTH.mjs} +1 -1
- package/dist/{chunk-QETXXFRW.mjs → chunk-WNGLLRYA.mjs} +1 -1
- package/dist/{chunk-NVSA5BFC.mjs → chunk-XP74JZNW.mjs} +3 -3
- package/dist/{chunk-OXP3LJ53.mjs → chunk-XT7I7SJB.mjs} +4 -4
- package/dist/{chunk-JFXWP3RQ.mjs → chunk-Y7B7YO6Q.mjs} +1 -1
- package/dist/{chunk-XZFMQXYJ.mjs → chunk-ZD5DKC5T.mjs} +1 -1
- package/dist/{chunk-EC5I4CIO.mjs → chunk-ZJ5SRNYD.mjs} +1 -1
- package/dist/{chunk-LM4J7254.mjs → chunk-ZSGXRIK7.mjs} +7 -7
- package/dist/{chunk-MZVEK6A5.mjs → chunk-ZZQWZWMG.mjs} +19 -19
- package/dist/components/AdvancedComponents/AppSidebar.d.ts +1 -1
- package/dist/components/AdvancedComponents/AppSidebar.js +481 -302
- package/dist/components/AdvancedComponents/AppSidebar.mjs +4 -4
- package/dist/components/AdvancedComponents/index.js +481 -302
- package/dist/components/AdvancedComponents/index.mjs +4 -4
- package/dist/components/Blocks/Banner.mjs +6 -6
- package/dist/components/Blocks/CallToAction.mjs +6 -6
- package/dist/components/Blocks/CollapsibleArea.mjs +7 -7
- package/dist/components/Blocks/Content.mjs +7 -7
- package/dist/components/Blocks/FeaturesBlock.mjs +6 -6
- package/dist/components/Blocks/RelatedPosts.mjs +7 -7
- package/dist/components/Blocks/RenderBlocks.mjs +9 -9
- package/dist/components/Blocks/ReusableContentBlock.mjs +9 -9
- package/dist/components/Blocks/index.mjs +15 -15
- package/dist/components/CRM/CogeBoard.js +1 -1
- package/dist/components/CRM/CogeBoard.mjs +3 -3
- package/dist/components/CRM/DealDetails.js +1 -1
- package/dist/components/CRM/DealDetails.mjs +2 -2
- package/dist/components/CRM/KanbanBoard.js +1 -1
- package/dist/components/CRM/KanbanBoard.mjs +3 -3
- package/dist/components/CRM/NewDealForm.js +1 -1
- package/dist/components/CRM/NewDealForm.mjs +2 -2
- package/dist/components/CRM/index.js +1 -1
- package/dist/components/CRM/index.mjs +8 -8
- package/dist/components/Cards/ContentCard.mjs +6 -6
- package/dist/components/Cards/FeatureCard.mjs +6 -6
- package/dist/components/Cards/Image.js +1 -1
- package/dist/components/Cards/Image.mjs +2 -2
- package/dist/components/Cards/ImageProxy.js +1 -1
- package/dist/components/Cards/ImageProxy.mjs +2 -2
- package/dist/components/Cards/index.js +1 -1
- package/dist/components/Cards/index.mjs +12 -12
- package/dist/components/Chat/ChatInterface.mjs +11 -11
- package/dist/components/Chat/CopilotInterface.d.ts +1 -1
- package/dist/components/Chat/CopilotInterface.js +528 -331
- package/dist/components/Chat/CopilotInterface.mjs +17 -17
- package/dist/components/Chat/PartTypes/MessageHandler.mjs +9 -9
- package/dist/components/Chat/PartTypes/index.mjs +11 -11
- package/dist/components/Chat/chat-session-sidebar.d.ts +1 -1
- package/dist/components/Chat/demo-long-messages.js +528 -331
- package/dist/components/Chat/demo-long-messages.mjs +17 -17
- package/dist/components/Chat/demo-tests.js +528 -331
- package/dist/components/Chat/demo-tests.mjs +17 -17
- package/dist/components/Chat/demo.js +528 -331
- package/dist/components/Chat/demo.mjs +17 -17
- package/dist/components/Chat/example-usage.js +528 -331
- package/dist/components/Chat/example-usage.mjs +18 -18
- package/dist/components/Chat/example-with-vercel-ai.js +528 -331
- package/dist/components/Chat/example-with-vercel-ai.mjs +17 -17
- package/dist/components/Chat/index.js +528 -331
- package/dist/components/Chat/index.mjs +25 -25
- package/dist/components/DigitalColleagues/Views/TeamsIndexView.d.ts +1 -9
- package/dist/components/DigitalColleagues/Views/TeamsIndexView.js +23 -28
- package/dist/components/DigitalColleagues/Views/TeamsIndexView.mjs +5 -7
- package/dist/components/DigitalColleagues/index.d.ts +0 -18
- package/dist/components/DigitalColleagues/index.js +0 -16754
- package/dist/components/DigitalColleagues/test-data.d.ts +1 -112
- package/dist/components/DigitalColleagues/test-data.js +482 -308
- package/dist/components/DigitalColleagues/test-data.mjs +1 -5
- package/dist/components/Foundry/Knowledge/add-knowledge-modal.js +1 -1
- package/dist/components/Foundry/Knowledge/add-knowledge-modal.mjs +3 -3
- package/dist/components/Foundry/Knowledge/add-team-context.js +1 -1
- package/dist/components/Foundry/Knowledge/add-team-context.mjs +2 -2
- package/dist/components/Foundry/Knowledge/manage-team-context.js +1 -1
- package/dist/components/Foundry/Knowledge/manage-team-context.mjs +2 -2
- package/dist/components/Foundry/MainPage.mjs +3 -3
- package/dist/components/Foundry/ManagementSidebar.d.ts +2 -2
- package/dist/components/Foundry/ManagementSidebar.js +12 -4
- package/dist/components/Foundry/ManagementSidebar.mjs +1 -1
- package/dist/components/Foundry/Pages/dashboardpage.js +1424 -2040
- package/dist/components/Foundry/Pages/dashboardpage.mjs +25 -26
- package/dist/components/Foundry/RichText/index.js +1 -1
- package/dist/components/Foundry/RichText/index.mjs +5 -5
- package/dist/components/Foundry/RichText/plugins/image-plugin.js +1 -1
- package/dist/components/Foundry/RichText/plugins/image-plugin.mjs +2 -2
- package/dist/components/Foundry/RichText/plugins/toolbar-plugin.js +1 -1
- package/dist/components/Foundry/RichText/plugins/toolbar-plugin.mjs +4 -4
- package/dist/components/Foundry/Views/ColleaguesView.js +5 -4
- package/dist/components/Foundry/Views/ColleaguesView.mjs +3 -3
- package/dist/components/Foundry/Views/KnowledgeView.js +1 -1
- package/dist/components/Foundry/Views/KnowledgeView.mjs +12 -12
- package/dist/components/Foundry/Views/TeamsIndexView.js +6 -5
- package/dist/components/Foundry/Views/TeamsIndexView.mjs +5 -5
- package/dist/components/Foundry/Views/index.js +1352 -787
- package/dist/components/Foundry/Views/index.mjs +50 -49
- package/dist/components/{.archive → Foundry}/app-card.d.ts +1 -1
- package/dist/components/{DigitalColleagues/colleague-type-selection.js → Foundry/app-card.js} +89 -117
- package/dist/components/{DigitalColleagues/colleague-card.mjs → Foundry/app-card.mjs} +4 -5
- package/dist/components/Foundry/document-edit.js +1 -1
- package/dist/components/Foundry/document-edit.mjs +6 -6
- package/dist/components/Foundry/document-preview-examples.js +1 -1
- package/dist/components/Foundry/document-preview-examples.mjs +7 -7
- package/dist/components/Foundry/document-preview.js +1 -1
- package/dist/components/Foundry/document-preview.mjs +7 -7
- package/dist/components/Foundry/file-edit.js +1 -1
- package/dist/components/Foundry/file-edit.mjs +7 -7
- package/dist/components/Foundry/foundary-layout.js +481 -302
- package/dist/components/Foundry/foundary-layout.mjs +5 -5
- package/dist/components/Foundry/index.js +2748 -2868
- package/dist/components/Foundry/index.mjs +78 -79
- package/dist/components/Foundry/knowledge-browser.js +1 -1
- package/dist/components/Foundry/knowledge-browser.mjs +8 -8
- package/dist/components/Foundry/types.d.ts +26 -0
- package/dist/components/HeaderFooter/SectionHeading.mjs +7 -7
- package/dist/components/HeaderFooter/index.mjs +5 -5
- package/dist/components/Heros/DashboardHero/DashboardHero.js +5 -4
- package/dist/components/Heros/DashboardHero/DashboardHero.mjs +2 -2
- package/dist/components/Heros/DashboardHero/index.js +5 -4
- package/dist/components/Heros/DashboardHero/index.mjs +2 -2
- package/dist/components/Heros/HighImpact/index.mjs +7 -7
- package/dist/components/Heros/LowImpact/index.mjs +7 -7
- package/dist/components/Heros/MediumImpact/index.mjs +7 -7
- package/dist/components/Heros/PostHero/index.mjs +2 -2
- package/dist/components/Heros/RenderHero.mjs +10 -10
- package/dist/components/Heros/index.js +5 -4
- package/dist/components/Heros/index.mjs +15 -15
- package/dist/components/Layouts/OutputHeaderFooter.mjs +7 -7
- package/dist/components/Layouts/Print.mjs +11 -11
- package/dist/components/Layouts/SlideShow.mjs +13 -13
- package/dist/components/Layouts/index.mjs +17 -17
- package/dist/components/Payload/RichText/index.mjs +6 -6
- package/dist/components/Payload/RichText/serialize.mjs +6 -6
- package/dist/components/Payload/index.mjs +6 -6
- package/dist/components/Projects/AddEpicModal.js +1 -1
- package/dist/components/Projects/AddEpicModal.mjs +2 -2
- package/dist/components/Projects/AddFileModal.js +1 -1
- package/dist/components/Projects/AddFileModal.mjs +2 -2
- package/dist/components/Projects/AddSprintModal.js +1 -1
- package/dist/components/Projects/AddSprintModal.mjs +2 -2
- package/dist/components/Projects/AddTaskModal.js +1 -1
- package/dist/components/Projects/AddTaskModal.mjs +2 -2
- package/dist/components/Projects/EpicFilter.d.ts +6 -2
- package/dist/components/Projects/EpicFilter.js +6 -6
- package/dist/components/Projects/EpicFilter.mjs +6 -6
- package/dist/components/Projects/EpicsView.d.ts +12 -2
- package/dist/components/Projects/EpicsView.js +3980 -736
- package/dist/components/Projects/EpicsView.mjs +48 -6
- package/dist/components/Projects/FileView.js +6 -5
- package/dist/components/Projects/FileView.mjs +12 -12
- package/dist/components/Projects/GanttView.d.ts +13 -0
- package/dist/components/{DigitalColleagues/colleague-card.js → Projects/GanttView.js} +559 -260
- package/dist/components/{DigitalColleagues/digital-colleague-clone.mjs → Projects/GanttView.mjs} +7 -6
- package/dist/components/Projects/KanbanBoardView.js +6 -5
- package/dist/components/Projects/KanbanBoardView.mjs +17 -17
- package/dist/components/Projects/KanbanColumn.d.ts +1 -1
- package/dist/components/Projects/PlanningView.js +6 -5
- package/dist/components/Projects/PlanningView.mjs +5 -5
- package/dist/components/Projects/ProjectPage.d.ts +2 -2
- package/dist/components/Projects/ProjectPage.js +1727 -966
- package/dist/components/Projects/ProjectPage.mjs +30 -29
- package/dist/components/Projects/ProjectView.d.ts +1 -1
- package/dist/components/Projects/ProjectView.js +1209 -644
- package/dist/components/Projects/ProjectView.mjs +25 -24
- package/dist/components/Projects/ProjectsIndexView.js +6 -5
- package/dist/components/Projects/ProjectsIndexView.mjs +4 -4
- package/dist/components/Projects/SprintBoardView.d.ts +3 -0
- package/dist/components/Projects/SprintBoardView.js +252 -110
- package/dist/components/Projects/SprintBoardView.mjs +18 -18
- package/dist/components/Projects/TaskDetailsModal.js +1 -1
- package/dist/components/Projects/TaskDetailsModal.mjs +11 -11
- package/dist/components/Projects/TasksView.js +6 -5
- package/dist/components/Projects/TasksView.mjs +4 -4
- package/dist/components/Projects/business-unit-switcher.d.ts +1 -1
- package/dist/components/Projects/business-units.d.ts +1 -1
- package/dist/components/Projects/file-list.js +1 -1
- package/dist/components/Projects/file-list.mjs +8 -8
- package/dist/components/Projects/index.js +538 -231
- package/dist/components/Projects/index.mjs +23 -23
- package/dist/components/Projects/project-card.d.ts +1 -1
- package/dist/components/Projects/project-form.d.ts +1 -1
- package/dist/components/Projects/team-card.d.ts +1 -1
- package/dist/components/Projects/team-switcher-bar.d.ts +1 -1
- package/dist/components/Projects/test-data.d.ts +448 -29
- package/dist/components/dc-temp/dashboard-integration-example.js +498 -326
- package/dist/components/dc-temp/dashboard-integration-example.mjs +7 -7
- package/dist/components/dc-temp/index.d.ts +3 -3
- package/dist/components/dc-temp/index.js +3746 -2980
- package/dist/components/dc-temp/index.mjs +24 -22
- package/dist/components/dc-temp/mock-data.d.ts +1 -1
- package/dist/components/index.js +4129 -4210
- package/dist/components/index.mjs +174 -176
- package/dist/components/ui/command.js +1 -1
- package/dist/components/ui/command.mjs +2 -2
- package/dist/components/ui/dialog.js +1 -1
- package/dist/components/ui/dialog.mjs +1 -1
- package/dist/components/ui/index.js +1 -1
- package/dist/components/ui/index.mjs +2 -2
- package/dist/decorators/Intranet.css +54 -14
- package/dist/decorators/Intranet.mjs +103 -105
- package/dist/globals.css +54 -14
- package/dist/hooks/use-local-storage.d.ts +2 -1
- package/dist/hooks/use-local-storage.js +5 -4
- package/dist/hooks/use-local-storage.mjs +1 -1
- package/dist/index.js +4125 -4206
- package/dist/index.mjs +185 -187
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.mjs +11 -11
- package/dist/pages/Documentation.mjs +3 -3
- package/dist/pages/IndexPage.mjs +14 -14
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/LandingPage.mjs +113 -115
- package/dist/pages/Page.mjs +15 -15
- package/dist/pages/Publish.mjs +104 -106
- package/dist/pages/Website.mjs +18 -18
- package/dist/sections/AboutSection.mjs +8 -8
- package/dist/sections/BlogDetail.mjs +7 -7
- package/dist/sections/BlogList.mjs +8 -8
- package/dist/sections/ContactSection.mjs +8 -8
- package/dist/sections/PageSections.mjs +113 -115
- package/dist/sections/PricingSection.mjs +8 -8
- package/dist/sections/ServiceDetail.mjs +7 -7
- package/dist/sections/ServiceDetailSection.mjs +7 -7
- package/dist/sections/ServiceSection.mjs +104 -106
- package/dist/sections/index.mjs +113 -115
- package/package.json +5 -2
- package/dist/chunk-5MMSWFVA.mjs +0 -364
- package/dist/chunk-7TDXZ32Q.mjs +0 -197
- package/dist/chunk-APXXTGT4.mjs +0 -424
- package/dist/chunk-BZENEU5C.mjs +0 -160
- package/dist/chunk-C444TUVA.mjs +0 -306
- package/dist/chunk-CNQTT5P3.mjs +0 -276
- package/dist/chunk-CQKCEXF2.mjs +0 -82
- package/dist/chunk-EKQB7NJA.mjs +0 -194
- package/dist/chunk-G4WW3ZTX.mjs +0 -1063
- package/dist/chunk-IWG2URAU.mjs +0 -74
- package/dist/chunk-IWSATDRG.mjs +0 -118
- package/dist/chunk-JRNDRMIC.mjs +0 -73
- package/dist/chunk-K2C4VMGF.mjs +0 -121
- package/dist/chunk-LQQ6C7FN.mjs +0 -365
- package/dist/chunk-M6ELOAGS.mjs +0 -136
- package/dist/chunk-NAUBZM7P.mjs +0 -183
- package/dist/chunk-NHDPHK6D.mjs +0 -72
- package/dist/chunk-R5MJWISX.mjs +0 -194
- package/dist/chunk-RKYMAFRJ.mjs +0 -92
- package/dist/chunk-SZBUXY6L.mjs +0 -121
- package/dist/chunk-VY6L37RQ.mjs +0 -103
- package/dist/chunk-X6UI73UN.mjs +0 -262
- package/dist/components/DigitalColleagues/AppSidebarLeft.d.ts +0 -47
- package/dist/components/DigitalColleagues/AppSidebarLeft.js +0 -3407
- package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +0 -23
- package/dist/components/DigitalColleagues/DashboardHeader.d.ts +0 -8
- package/dist/components/DigitalColleagues/DashboardHeader.js +0 -2756
- package/dist/components/DigitalColleagues/DashboardHeader.mjs +0 -15
- package/dist/components/DigitalColleagues/DigitalColleageusLayout.css +0 -917
- package/dist/components/DigitalColleagues/DigitalColleageusLayout.d.ts +0 -28
- package/dist/components/DigitalColleagues/DigitalColleageusLayout.js +0 -4417
- package/dist/components/DigitalColleagues/DigitalColleageusLayout.mjs +0 -31
- package/dist/components/DigitalColleagues/MainPage.css +0 -917
- package/dist/components/DigitalColleagues/MainPage.d.ts +0 -3
- package/dist/components/DigitalColleagues/MainPage.js +0 -4080
- package/dist/components/DigitalColleagues/MainPage.mjs +0 -46
- package/dist/components/DigitalColleagues/ManagementSidebar.d.ts +0 -8
- package/dist/components/DigitalColleagues/ManagementSidebar.js +0 -99
- package/dist/components/DigitalColleagues/ManagementSidebar.mjs +0 -9
- package/dist/components/DigitalColleagues/Pages/dashboardpage.css +0 -917
- package/dist/components/DigitalColleagues/Pages/dashboardpage.d.ts +0 -18
- package/dist/components/DigitalColleagues/Pages/dashboardpage.js +0 -8514
- package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +0 -78
- package/dist/components/DigitalColleagues/README-document-edit.js +0 -2
- package/dist/components/DigitalColleagues/README-document-edit.mjs +0 -7
- package/dist/components/DigitalColleagues/README-document-preview.js +0 -2
- package/dist/components/DigitalColleagues/README-document-preview.mjs +0 -7
- package/dist/components/DigitalColleagues/SearchableSelect.css +0 -917
- package/dist/components/DigitalColleagues/SearchableSelect.d.ts +0 -16
- package/dist/components/DigitalColleagues/SearchableSelect.js +0 -2745
- package/dist/components/DigitalColleagues/SearchableSelect.mjs +0 -16
- package/dist/components/DigitalColleagues/Views/ColleaguesView.css +0 -917
- package/dist/components/DigitalColleagues/Views/ColleaguesView.d.ts +0 -14
- package/dist/components/DigitalColleagues/Views/ColleaguesView.js +0 -3795
- package/dist/components/DigitalColleagues/Views/ColleaguesView.mjs +0 -28
- package/dist/components/DigitalColleagues/Views/KnowledgeView.css +0 -917
- package/dist/components/DigitalColleagues/Views/KnowledgeView.d.ts +0 -11
- package/dist/components/DigitalColleagues/Views/KnowledgeView.docs.js +0 -2
- package/dist/components/DigitalColleagues/Views/KnowledgeView.docs.mjs +0 -7
- package/dist/components/DigitalColleagues/Views/KnowledgeView.js +0 -3935
- package/dist/components/DigitalColleagues/Views/KnowledgeView.mjs +0 -26
- package/dist/components/DigitalColleagues/Views/index.css +0 -917
- package/dist/components/DigitalColleagues/Views/index.d.ts +0 -7
- package/dist/components/DigitalColleagues/Views/index.js +0 -12284
- package/dist/components/DigitalColleagues/Views/index.mjs +0 -114
- package/dist/components/DigitalColleagues/colleague-card.css +0 -917
- package/dist/components/DigitalColleagues/colleague-card.d.ts +0 -12
- package/dist/components/DigitalColleagues/colleague-form.css +0 -917
- package/dist/components/DigitalColleagues/colleague-form.d.ts +0 -14
- package/dist/components/DigitalColleagues/colleague-form.js +0 -3086
- package/dist/components/DigitalColleagues/colleague-form.mjs +0 -22
- package/dist/components/DigitalColleagues/colleague-type-selection.css +0 -917
- package/dist/components/DigitalColleagues/colleague-type-selection.d.ts +0 -7
- package/dist/components/DigitalColleagues/colleague-type-selection.mjs +0 -16
- package/dist/components/DigitalColleagues/digital-colleague-clone.css +0 -917
- package/dist/components/DigitalColleagues/digital-colleague-clone.d.ts +0 -9
- package/dist/components/DigitalColleagues/digital-colleague-clone.js +0 -2828
- package/dist/components/DigitalColleagues/digital-colleague-options.css +0 -917
- package/dist/components/DigitalColleagues/digital-colleague-options.d.ts +0 -7
- package/dist/components/DigitalColleagues/digital-colleague-options.js +0 -2697
- package/dist/components/DigitalColleagues/digital-colleague-options.mjs +0 -16
- package/dist/components/DigitalColleagues/document-edit.css +0 -917
- package/dist/components/DigitalColleagues/document-edit.d.ts +0 -10
- package/dist/components/DigitalColleagues/document-edit.js +0 -3112
- package/dist/components/DigitalColleagues/document-edit.mjs +0 -20
- package/dist/components/DigitalColleagues/document-preview-examples.css +0 -917
- package/dist/components/DigitalColleagues/document-preview-examples.d.ts +0 -12
- package/dist/components/DigitalColleagues/document-preview-examples.js +0 -3433
- package/dist/components/DigitalColleagues/document-preview-examples.mjs +0 -151
- package/dist/components/DigitalColleagues/document-preview.css +0 -917
- package/dist/components/DigitalColleagues/document-preview.d.ts +0 -18
- package/dist/components/DigitalColleagues/document-preview.js +0 -3296
- package/dist/components/DigitalColleagues/document-preview.mjs +0 -21
- package/dist/components/DigitalColleagues/index.css +0 -917
- package/dist/components/DigitalColleagues/index.mjs +0 -200
- package/dist/components/DigitalColleagues/knowledge-browser.css +0 -917
- package/dist/components/DigitalColleagues/knowledge-browser.d.ts +0 -13
- package/dist/components/DigitalColleagues/knowledge-browser.js +0 -3581
- package/dist/components/DigitalColleagues/knowledge-browser.mjs +0 -23
- package/dist/components/DigitalColleagues/knowledge-search.css +0 -917
- package/dist/components/DigitalColleagues/knowledge-search.d.ts +0 -12
- package/dist/components/DigitalColleagues/knowledge-search.js +0 -2819
- package/dist/components/DigitalColleagues/knowledge-search.mjs +0 -20
- package/dist/components/DigitalColleagues/team-form.css +0 -917
- package/dist/components/DigitalColleagues/team-form.d.ts +0 -24
- package/dist/components/DigitalColleagues/team-form.js +0 -2836
- package/dist/components/DigitalColleagues/team-form.mjs +0 -20
- package/dist/components/DigitalColleagues/types.d.ts +0 -289
- package/dist/components/DigitalColleagues/types.js +0 -18
- package/dist/{chunk-RFQKQLNT.mjs → chunk-JJDC25TG.mjs} +3 -3
- package/dist/{chunk-GZGWWPCP.mjs → chunk-L666B5DN.mjs} +12 -12
- /package/dist/components/{DigitalColleagues/AppSidebarLeft.css → Foundry/app-card.css} +0 -0
- /package/dist/components/{DigitalColleagues/DashboardHeader.css → Projects/GanttView.css} +0 -0
|
@@ -0,0 +1,401 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import {
|
|
5
|
+
DashboardHero
|
|
6
|
+
} from "./chunk-I2MVZVXE.mjs";
|
|
7
|
+
import {
|
|
8
|
+
extractId
|
|
9
|
+
} from "./chunk-Y6HQV3VB.mjs";
|
|
10
|
+
import {
|
|
11
|
+
Button
|
|
12
|
+
} from "./chunk-I6LSWXZW.mjs";
|
|
13
|
+
|
|
14
|
+
// src/components/Projects/GanttView.tsx
|
|
15
|
+
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
16
|
+
import {
|
|
17
|
+
addDays,
|
|
18
|
+
differenceInDays,
|
|
19
|
+
eachMonthOfInterval,
|
|
20
|
+
format,
|
|
21
|
+
isWithinInterval
|
|
22
|
+
} from "date-fns";
|
|
23
|
+
import { BarChart2, Calendar, Maximize2, Minimize2 } from "lucide-react";
|
|
24
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
25
|
+
var PHASE_LABELS = {
|
|
26
|
+
1: "Plan",
|
|
27
|
+
2: "Dev",
|
|
28
|
+
3: "Test",
|
|
29
|
+
4: "Deploy",
|
|
30
|
+
5: "Review",
|
|
31
|
+
6: "Maint.",
|
|
32
|
+
7: "Complete",
|
|
33
|
+
8: "Archive",
|
|
34
|
+
9: "Legacy"
|
|
35
|
+
};
|
|
36
|
+
var ZOOM_LEVELS = [
|
|
37
|
+
{ label: "Quarter", dayWidth: 3 },
|
|
38
|
+
{ label: "Month", dayWidth: 7 },
|
|
39
|
+
{ label: "Week", dayWidth: 14 },
|
|
40
|
+
{ label: "Day", dayWidth: 40 }
|
|
41
|
+
];
|
|
42
|
+
var ROW_HEIGHT = 48;
|
|
43
|
+
var TIME_HEADER_HEIGHT = 60;
|
|
44
|
+
var GanttView = ({
|
|
45
|
+
tasks,
|
|
46
|
+
epics,
|
|
47
|
+
sprints,
|
|
48
|
+
onTaskClick
|
|
49
|
+
}) => {
|
|
50
|
+
const [dayWidth, setDayWidth] = useState(7);
|
|
51
|
+
const [isFullscreen, setIsFullscreen] = useState(false);
|
|
52
|
+
const scrollRef = useRef(null);
|
|
53
|
+
const heroRef = useRef(null);
|
|
54
|
+
const [heroHeight, setHeroHeight] = useState(0);
|
|
55
|
+
useEffect(() => {
|
|
56
|
+
const measure = () => {
|
|
57
|
+
if (heroRef.current) setHeroHeight(heroRef.current.offsetHeight);
|
|
58
|
+
};
|
|
59
|
+
const observer = new ResizeObserver(measure);
|
|
60
|
+
if (heroRef.current) observer.observe(heroRef.current);
|
|
61
|
+
return () => observer.disconnect();
|
|
62
|
+
}, []);
|
|
63
|
+
const { timelineStart, timelineEnd, totalDays } = useMemo(() => {
|
|
64
|
+
if (epics.length === 0) {
|
|
65
|
+
const today = /* @__PURE__ */ new Date();
|
|
66
|
+
const start = addDays(today, -14);
|
|
67
|
+
const end = addDays(today, 76);
|
|
68
|
+
return { timelineStart: start, timelineEnd: end, totalDays: 90 };
|
|
69
|
+
}
|
|
70
|
+
const allDates = epics.flatMap((e) => [new Date(e.startDate), new Date(e.endDate)]);
|
|
71
|
+
const minTime = Math.min(...allDates.map((d) => d.getTime()));
|
|
72
|
+
const maxTime = Math.max(...allDates.map((d) => d.getTime()));
|
|
73
|
+
const paddedStart = addDays(new Date(minTime), -14);
|
|
74
|
+
const paddedEnd = addDays(new Date(maxTime), 14);
|
|
75
|
+
return {
|
|
76
|
+
timelineStart: paddedStart,
|
|
77
|
+
timelineEnd: paddedEnd,
|
|
78
|
+
totalDays: differenceInDays(paddedEnd, paddedStart)
|
|
79
|
+
};
|
|
80
|
+
}, [epics]);
|
|
81
|
+
const { groups, sortedKeys } = useMemo(() => {
|
|
82
|
+
const groups2 = {};
|
|
83
|
+
epics.forEach((epic) => {
|
|
84
|
+
if (!groups2[epic.name]) groups2[epic.name] = [];
|
|
85
|
+
groups2[epic.name].push(epic);
|
|
86
|
+
});
|
|
87
|
+
Object.values(groups2).forEach((list) => list.sort((a, b) => a.phase - b.phase));
|
|
88
|
+
const sortedKeys2 = Object.keys(groups2).sort((a, b) => {
|
|
89
|
+
const aMin = Math.min(...groups2[a].map((e) => new Date(e.startDate).getTime()));
|
|
90
|
+
const bMin = Math.min(...groups2[b].map((e) => new Date(e.startDate).getTime()));
|
|
91
|
+
return aMin - bMin;
|
|
92
|
+
});
|
|
93
|
+
return { groups: groups2, sortedKeys: sortedKeys2 };
|
|
94
|
+
}, [epics]);
|
|
95
|
+
const realSprints = useMemo(
|
|
96
|
+
() => sprints.filter((s) => {
|
|
97
|
+
const name = s.name.toLowerCase();
|
|
98
|
+
return name !== "backlog" && name !== "all tasks";
|
|
99
|
+
}),
|
|
100
|
+
[sprints]
|
|
101
|
+
);
|
|
102
|
+
const monthHeaders = useMemo(
|
|
103
|
+
() => eachMonthOfInterval({ start: timelineStart, end: timelineEnd }).map((month) => ({
|
|
104
|
+
month,
|
|
105
|
+
left: differenceInDays(month, timelineStart) * dayWidth
|
|
106
|
+
})),
|
|
107
|
+
[timelineStart, timelineEnd, dayWidth]
|
|
108
|
+
);
|
|
109
|
+
const totalWidth = Math.max(totalDays * dayWidth, 600);
|
|
110
|
+
const scrollToToday = useCallback(() => {
|
|
111
|
+
if (scrollRef.current) {
|
|
112
|
+
const todayOffset = differenceInDays(/* @__PURE__ */ new Date(), timelineStart) * dayWidth;
|
|
113
|
+
scrollRef.current.scrollLeft = Math.max(0, todayOffset - 200);
|
|
114
|
+
}
|
|
115
|
+
}, [timelineStart, dayWidth]);
|
|
116
|
+
const todayLeft = differenceInDays(/* @__PURE__ */ new Date(), timelineStart) * dayWidth;
|
|
117
|
+
const getEpicStats = (epic) => {
|
|
118
|
+
const epicTasks = tasks.filter((t) => extractId(t.epic) === epic.id);
|
|
119
|
+
const done = epicTasks.filter((t) => t.status === "done").length;
|
|
120
|
+
const pct = epicTasks.length > 0 ? Math.round(done / epicTasks.length * 100) : 0;
|
|
121
|
+
return { total: epicTasks.length, done, pct };
|
|
122
|
+
};
|
|
123
|
+
const getGroupStats = (epicList) => {
|
|
124
|
+
const allTasks = epicList.flatMap(
|
|
125
|
+
(e) => tasks.filter((t) => extractId(t.epic) === e.id)
|
|
126
|
+
);
|
|
127
|
+
const done = allTasks.filter((t) => t.status === "done").length;
|
|
128
|
+
const pct = allTasks.length > 0 ? Math.round(done / allTasks.length * 100) : 0;
|
|
129
|
+
return { total: allTasks.length, done, pct };
|
|
130
|
+
};
|
|
131
|
+
const isSprintActive = (sprint) => {
|
|
132
|
+
const today = /* @__PURE__ */ new Date();
|
|
133
|
+
try {
|
|
134
|
+
return isWithinInterval(today, {
|
|
135
|
+
start: new Date(sprint.startDate),
|
|
136
|
+
end: new Date(sprint.endDate)
|
|
137
|
+
});
|
|
138
|
+
} catch {
|
|
139
|
+
return false;
|
|
140
|
+
}
|
|
141
|
+
};
|
|
142
|
+
const chartContent = /* @__PURE__ */ jsxs("div", { className: "flex flex-1 min-h-0 overflow-hidden", children: [
|
|
143
|
+
/* @__PURE__ */ jsxs("div", { className: "w-52 flex-shrink-0 border-r bg-background z-10 flex flex-col", children: [
|
|
144
|
+
/* @__PURE__ */ jsx(
|
|
145
|
+
"div",
|
|
146
|
+
{
|
|
147
|
+
className: "border-b flex items-end pb-2 px-3 flex-shrink-0 bg-muted/20",
|
|
148
|
+
style: { height: TIME_HEADER_HEIGHT },
|
|
149
|
+
children: /* @__PURE__ */ jsx("span", { className: "text-xs font-semibold text-muted-foreground tracking-wider uppercase", children: "Epic" })
|
|
150
|
+
}
|
|
151
|
+
),
|
|
152
|
+
/* @__PURE__ */ jsxs("div", { className: "overflow-y-auto flex-1", children: [
|
|
153
|
+
sortedKeys.length === 0 && /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center h-24 text-sm text-muted-foreground", children: "No epics" }),
|
|
154
|
+
sortedKeys.map((name) => {
|
|
155
|
+
const stats = getGroupStats(groups[name]);
|
|
156
|
+
return /* @__PURE__ */ jsxs(
|
|
157
|
+
"div",
|
|
158
|
+
{
|
|
159
|
+
className: "flex flex-col justify-center px-3 border-b",
|
|
160
|
+
style: { height: ROW_HEIGHT },
|
|
161
|
+
children: [
|
|
162
|
+
/* @__PURE__ */ jsx("span", { className: "text-sm font-medium truncate", title: name, children: name }),
|
|
163
|
+
/* @__PURE__ */ jsxs("span", { className: "text-xs text-muted-foreground", children: [
|
|
164
|
+
stats.total,
|
|
165
|
+
" task",
|
|
166
|
+
stats.total !== 1 ? "s" : "",
|
|
167
|
+
" \xB7 ",
|
|
168
|
+
stats.pct,
|
|
169
|
+
"%"
|
|
170
|
+
] })
|
|
171
|
+
]
|
|
172
|
+
},
|
|
173
|
+
name
|
|
174
|
+
);
|
|
175
|
+
})
|
|
176
|
+
] })
|
|
177
|
+
] }),
|
|
178
|
+
/* @__PURE__ */ jsx("div", { className: "flex-1 overflow-x-auto overflow-y-auto", ref: scrollRef, children: /* @__PURE__ */ jsxs("div", { style: { width: totalWidth, position: "relative" }, children: [
|
|
179
|
+
/* @__PURE__ */ jsxs(
|
|
180
|
+
"div",
|
|
181
|
+
{
|
|
182
|
+
className: "sticky top-0 border-b bg-muted/20 z-20 flex-shrink-0",
|
|
183
|
+
style: { height: TIME_HEADER_HEIGHT, width: totalWidth },
|
|
184
|
+
children: [
|
|
185
|
+
monthHeaders.map(({ month, left }) => /* @__PURE__ */ jsx(
|
|
186
|
+
"div",
|
|
187
|
+
{
|
|
188
|
+
className: "absolute top-2 text-xs font-semibold text-muted-foreground select-none",
|
|
189
|
+
style: { left: left + 4 },
|
|
190
|
+
children: format(month, "MMM yyyy")
|
|
191
|
+
},
|
|
192
|
+
month.toISOString()
|
|
193
|
+
)),
|
|
194
|
+
realSprints.map((sprint) => {
|
|
195
|
+
const start = new Date(sprint.startDate);
|
|
196
|
+
const end = new Date(sprint.endDate);
|
|
197
|
+
if (start > timelineEnd || end < timelineStart) return null;
|
|
198
|
+
const left = Math.max(0, differenceInDays(start, timelineStart) * dayWidth);
|
|
199
|
+
const right = Math.min(
|
|
200
|
+
totalWidth,
|
|
201
|
+
differenceInDays(end, timelineStart) * dayWidth
|
|
202
|
+
);
|
|
203
|
+
const width = right - left;
|
|
204
|
+
if (width <= 0) return null;
|
|
205
|
+
const active = isSprintActive(sprint);
|
|
206
|
+
return /* @__PURE__ */ jsx(
|
|
207
|
+
"div",
|
|
208
|
+
{
|
|
209
|
+
className: `absolute bottom-0 border-l border-t text-xs px-1 overflow-hidden whitespace-nowrap select-none flex items-center ${active ? "border-primary/50 bg-primary/10 text-primary font-medium" : "border-border bg-muted/40 text-muted-foreground"}`,
|
|
210
|
+
style: { left, width, height: 22 },
|
|
211
|
+
title: sprint.name,
|
|
212
|
+
children: sprint.name
|
|
213
|
+
},
|
|
214
|
+
`header-sprint-${sprint.id}`
|
|
215
|
+
);
|
|
216
|
+
})
|
|
217
|
+
]
|
|
218
|
+
}
|
|
219
|
+
),
|
|
220
|
+
/* @__PURE__ */ jsxs("div", { style: { position: "relative", width: totalWidth }, children: [
|
|
221
|
+
realSprints.map((sprint) => {
|
|
222
|
+
const start = new Date(sprint.startDate);
|
|
223
|
+
const end = new Date(sprint.endDate);
|
|
224
|
+
if (start > timelineEnd || end < timelineStart) return null;
|
|
225
|
+
const left = Math.max(0, differenceInDays(start, timelineStart) * dayWidth);
|
|
226
|
+
const right = Math.min(
|
|
227
|
+
totalWidth,
|
|
228
|
+
differenceInDays(end, timelineStart) * dayWidth
|
|
229
|
+
);
|
|
230
|
+
const width = right - left;
|
|
231
|
+
if (width <= 0 || !isSprintActive(sprint)) return null;
|
|
232
|
+
return /* @__PURE__ */ jsx(
|
|
233
|
+
"div",
|
|
234
|
+
{
|
|
235
|
+
className: "absolute inset-y-0 bg-primary/5 pointer-events-none",
|
|
236
|
+
style: { left, width }
|
|
237
|
+
},
|
|
238
|
+
`bg-${sprint.id}`
|
|
239
|
+
);
|
|
240
|
+
}),
|
|
241
|
+
realSprints.map((sprint) => {
|
|
242
|
+
const left = differenceInDays(new Date(sprint.startDate), timelineStart) * dayWidth;
|
|
243
|
+
if (left < 0 || left > totalWidth) return null;
|
|
244
|
+
const active = isSprintActive(sprint);
|
|
245
|
+
return /* @__PURE__ */ jsx(
|
|
246
|
+
"div",
|
|
247
|
+
{
|
|
248
|
+
className: `absolute inset-y-0 pointer-events-none ${active ? "border-l border-primary/40" : "border-l border-dashed border-border/60"}`,
|
|
249
|
+
style: { left }
|
|
250
|
+
},
|
|
251
|
+
`line-${sprint.id}`
|
|
252
|
+
);
|
|
253
|
+
}),
|
|
254
|
+
todayLeft >= 0 && todayLeft <= totalWidth && /* @__PURE__ */ jsxs(
|
|
255
|
+
"div",
|
|
256
|
+
{
|
|
257
|
+
className: "absolute inset-y-0 pointer-events-none z-10",
|
|
258
|
+
style: { left: todayLeft },
|
|
259
|
+
children: [
|
|
260
|
+
/* @__PURE__ */ jsx("div", { className: "absolute inset-y-0 w-0.5 bg-destructive/50" }),
|
|
261
|
+
/* @__PURE__ */ jsx("div", { className: "absolute top-1 -translate-x-1/2 w-2 h-2 rounded-full bg-destructive" })
|
|
262
|
+
]
|
|
263
|
+
}
|
|
264
|
+
),
|
|
265
|
+
monthHeaders.map(({ month, left }) => /* @__PURE__ */ jsx(
|
|
266
|
+
"div",
|
|
267
|
+
{
|
|
268
|
+
className: "absolute inset-y-0 border-l border-border/30 pointer-events-none",
|
|
269
|
+
style: { left }
|
|
270
|
+
},
|
|
271
|
+
`grid-${month.toISOString()}`
|
|
272
|
+
)),
|
|
273
|
+
sortedKeys.map((name) => {
|
|
274
|
+
const epicList = groups[name];
|
|
275
|
+
return /* @__PURE__ */ jsx(
|
|
276
|
+
"div",
|
|
277
|
+
{
|
|
278
|
+
className: "border-b relative flex items-center",
|
|
279
|
+
style: { height: ROW_HEIGHT },
|
|
280
|
+
children: epicList.map((epic) => {
|
|
281
|
+
const start = new Date(epic.startDate);
|
|
282
|
+
const end = new Date(epic.endDate);
|
|
283
|
+
const left = differenceInDays(start, timelineStart) * dayWidth;
|
|
284
|
+
const width = Math.max(8, differenceInDays(end, start) * dayWidth);
|
|
285
|
+
const stats = getEpicStats(epic);
|
|
286
|
+
const phaseLabel = PHASE_LABELS[epic.phase] ?? `Phase ${epic.phase}`;
|
|
287
|
+
const showLabel = width >= 50;
|
|
288
|
+
const tooltip = [
|
|
289
|
+
`${epic.name} \xB7 ${phaseLabel}`,
|
|
290
|
+
epic.description ? epic.description : null,
|
|
291
|
+
`${format(start, "dd MMM yyyy")} \u2192 ${format(end, "dd MMM yyyy")}`,
|
|
292
|
+
`${stats.total} tasks \xB7 ${stats.pct}% complete`
|
|
293
|
+
].filter(Boolean).join("\n");
|
|
294
|
+
return /* @__PURE__ */ jsxs(
|
|
295
|
+
"div",
|
|
296
|
+
{
|
|
297
|
+
className: "absolute rounded overflow-hidden cursor-pointer hover:ring-2 hover:ring-white/40 transition-all",
|
|
298
|
+
style: { left, width, height: 32, top: 8 },
|
|
299
|
+
title: tooltip,
|
|
300
|
+
children: [
|
|
301
|
+
/* @__PURE__ */ jsx(
|
|
302
|
+
"div",
|
|
303
|
+
{
|
|
304
|
+
className: `absolute inset-0 ${epic.color}`,
|
|
305
|
+
style: { opacity: 0.2 }
|
|
306
|
+
}
|
|
307
|
+
),
|
|
308
|
+
/* @__PURE__ */ jsx(
|
|
309
|
+
"div",
|
|
310
|
+
{
|
|
311
|
+
className: `absolute inset-y-0 left-0 ${epic.color} transition-all`,
|
|
312
|
+
style: { width: `${stats.pct}%`, opacity: 0.85 }
|
|
313
|
+
}
|
|
314
|
+
),
|
|
315
|
+
showLabel && /* @__PURE__ */ jsxs("div", { className: "absolute inset-0 flex items-center px-2 gap-1.5 z-10", children: [
|
|
316
|
+
/* @__PURE__ */ jsx("span", { className: "text-xs font-semibold text-white drop-shadow truncate", children: phaseLabel }),
|
|
317
|
+
stats.total > 0 && /* @__PURE__ */ jsxs("span", { className: "text-xs text-white/80 drop-shadow shrink-0", children: [
|
|
318
|
+
stats.pct,
|
|
319
|
+
"%"
|
|
320
|
+
] })
|
|
321
|
+
] })
|
|
322
|
+
]
|
|
323
|
+
},
|
|
324
|
+
epic.id
|
|
325
|
+
);
|
|
326
|
+
})
|
|
327
|
+
},
|
|
328
|
+
name
|
|
329
|
+
);
|
|
330
|
+
}),
|
|
331
|
+
sortedKeys.length === 0 && /* @__PURE__ */ jsx(
|
|
332
|
+
"div",
|
|
333
|
+
{
|
|
334
|
+
className: "flex items-center justify-center text-sm text-muted-foreground",
|
|
335
|
+
style: { height: 200 },
|
|
336
|
+
children: "No epics to display on the timeline"
|
|
337
|
+
}
|
|
338
|
+
)
|
|
339
|
+
] })
|
|
340
|
+
] }) })
|
|
341
|
+
] });
|
|
342
|
+
const inner = /* @__PURE__ */ jsxs("div", { className: `flex flex-col ${isFullscreen ? "h-screen" : "h-full"} overflow-hidden`, children: [
|
|
343
|
+
/* @__PURE__ */ jsx("div", { ref: heroRef, className: "flex-shrink-0", children: /* @__PURE__ */ jsx(
|
|
344
|
+
DashboardHero,
|
|
345
|
+
{
|
|
346
|
+
title: "Gantt Chart",
|
|
347
|
+
description: "Epic timeline with sprint alignment and phase-based grouping.",
|
|
348
|
+
gradient: "bg-gradient-to-r from-indigo-600 via-blue-600 to-cyan-600",
|
|
349
|
+
badge: `${sortedKeys.length} epic${sortedKeys.length !== 1 ? "s" : ""}`
|
|
350
|
+
}
|
|
351
|
+
) }),
|
|
352
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 px-4 py-2 border-b bg-background flex-shrink-0", children: [
|
|
353
|
+
/* @__PURE__ */ jsx(BarChart2, { className: "h-4 w-4 text-muted-foreground" }),
|
|
354
|
+
/* @__PURE__ */ jsx("div", { className: "flex items-center gap-1", children: ZOOM_LEVELS.map((z) => /* @__PURE__ */ jsx(
|
|
355
|
+
Button,
|
|
356
|
+
{
|
|
357
|
+
variant: dayWidth === z.dayWidth ? "default" : "outline",
|
|
358
|
+
size: "sm",
|
|
359
|
+
className: "h-7 px-2 text-xs",
|
|
360
|
+
onClick: () => setDayWidth(z.dayWidth),
|
|
361
|
+
children: z.label
|
|
362
|
+
},
|
|
363
|
+
z.label
|
|
364
|
+
)) }),
|
|
365
|
+
/* @__PURE__ */ jsx("div", { className: "flex-1" }),
|
|
366
|
+
/* @__PURE__ */ jsxs(
|
|
367
|
+
Button,
|
|
368
|
+
{
|
|
369
|
+
variant: "outline",
|
|
370
|
+
size: "sm",
|
|
371
|
+
className: "h-7 px-2 text-xs",
|
|
372
|
+
onClick: scrollToToday,
|
|
373
|
+
children: [
|
|
374
|
+
/* @__PURE__ */ jsx(Calendar, { className: "h-3 w-3 mr-1" }),
|
|
375
|
+
"Today"
|
|
376
|
+
]
|
|
377
|
+
}
|
|
378
|
+
),
|
|
379
|
+
/* @__PURE__ */ jsx(
|
|
380
|
+
Button,
|
|
381
|
+
{
|
|
382
|
+
variant: "outline",
|
|
383
|
+
size: "sm",
|
|
384
|
+
className: "h-7 w-7 p-0",
|
|
385
|
+
onClick: () => setIsFullscreen((v) => !v),
|
|
386
|
+
title: isFullscreen ? "Exit fullscreen" : "Fullscreen",
|
|
387
|
+
children: isFullscreen ? /* @__PURE__ */ jsx(Minimize2, { className: "h-3.5 w-3.5" }) : /* @__PURE__ */ jsx(Maximize2, { className: "h-3.5 w-3.5" })
|
|
388
|
+
}
|
|
389
|
+
)
|
|
390
|
+
] }),
|
|
391
|
+
chartContent
|
|
392
|
+
] });
|
|
393
|
+
if (isFullscreen) {
|
|
394
|
+
return /* @__PURE__ */ jsx("div", { className: "fixed inset-0 z-50 bg-background overflow-hidden", children: inner });
|
|
395
|
+
}
|
|
396
|
+
return inner;
|
|
397
|
+
};
|
|
398
|
+
|
|
399
|
+
export {
|
|
400
|
+
GanttView
|
|
401
|
+
};
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Italic_default
|
|
3
|
+
} from "./chunk-PLFX66EX.mjs";
|
|
1
4
|
import {
|
|
2
5
|
StrikeThrough_default
|
|
3
6
|
} from "./chunk-EGCBZZGV.mjs";
|
|
@@ -13,7 +16,7 @@ import {
|
|
|
13
16
|
import {
|
|
14
17
|
INSERT_UPLOAD_COMMAND,
|
|
15
18
|
InsertInlineImageDialog
|
|
16
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-SAVDOTMQ.mjs";
|
|
17
20
|
import {
|
|
18
21
|
$createMyUploadNode
|
|
19
22
|
} from "./chunk-ZJB7AFL5.mjs";
|
|
@@ -27,9 +30,6 @@ import {
|
|
|
27
30
|
H4,
|
|
28
31
|
TextIcon
|
|
29
32
|
} from "./chunk-SNUES6JA.mjs";
|
|
30
|
-
import {
|
|
31
|
-
Italic_default
|
|
32
|
-
} from "./chunk-PLFX66EX.mjs";
|
|
33
33
|
import {
|
|
34
34
|
DropdownMenu,
|
|
35
35
|
DropdownMenuContent,
|
|
@@ -9,14 +9,14 @@ import {
|
|
|
9
9
|
} from "./chunk-WHCZTD2K.mjs";
|
|
10
10
|
import {
|
|
11
11
|
DashboardHero
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-I2MVZVXE.mjs";
|
|
13
13
|
import {
|
|
14
14
|
Dialog,
|
|
15
15
|
DialogContent,
|
|
16
16
|
DialogDescription,
|
|
17
17
|
DialogHeader,
|
|
18
18
|
DialogTitle
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-T62Q55Y5.mjs";
|
|
20
20
|
|
|
21
21
|
// src/components/Projects/ProjectsIndexView.tsx
|
|
22
22
|
import { useState } from "react";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
Button
|
|
20
20
|
} from "./chunk-I6LSWXZW.mjs";
|
|
21
21
|
|
|
22
|
-
// src/components
|
|
22
|
+
// src/components/Foundry/app-card.tsx
|
|
23
23
|
import { motion } from "motion/react";
|
|
24
24
|
import { Star } from "lucide-react";
|
|
25
25
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -3,28 +3,31 @@
|
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
TasksView
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-54AIO5ED.mjs";
|
|
7
7
|
import {
|
|
8
8
|
PlanningView
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LZUYY2G6.mjs";
|
|
10
10
|
import {
|
|
11
11
|
EpicsView
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-PBIUFMQ7.mjs";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./chunk-
|
|
14
|
+
FileView
|
|
15
|
+
} from "./chunk-DST7L2PX.mjs";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./chunk-
|
|
17
|
+
GanttView
|
|
18
|
+
} from "./chunk-IC4N2KYF.mjs";
|
|
19
|
+
import {
|
|
20
|
+
KanbanBoardView
|
|
21
|
+
} from "./chunk-ZSGXRIK7.mjs";
|
|
19
22
|
import {
|
|
20
23
|
AddTaskModal
|
|
21
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-GZRODHXY.mjs";
|
|
22
25
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./chunk-
|
|
26
|
+
AddEpicModal
|
|
27
|
+
} from "./chunk-LY4RR7AL.mjs";
|
|
25
28
|
import {
|
|
26
29
|
ManagementSidebar
|
|
27
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-QM3XSGNV.mjs";
|
|
28
31
|
import {
|
|
29
32
|
extractId
|
|
30
33
|
} from "./chunk-Y6HQV3VB.mjs";
|
|
@@ -326,6 +329,8 @@ function ProjectView({
|
|
|
326
329
|
return "Documentation";
|
|
327
330
|
case "epics":
|
|
328
331
|
return "Epic Planning";
|
|
332
|
+
case "gantt":
|
|
333
|
+
return "Gantt Chart";
|
|
329
334
|
default:
|
|
330
335
|
return "Project Board";
|
|
331
336
|
}
|
|
@@ -407,6 +412,16 @@ function ProjectView({
|
|
|
407
412
|
onDeleteEpic: handleDeleteEpic
|
|
408
413
|
}
|
|
409
414
|
) }),
|
|
415
|
+
currentView === "gantt" && /* @__PURE__ */ jsx("div", { className: "hidden md:block h-full", children: /* @__PURE__ */ jsx(
|
|
416
|
+
GanttView,
|
|
417
|
+
{
|
|
418
|
+
tasks,
|
|
419
|
+
epics,
|
|
420
|
+
sprints,
|
|
421
|
+
onUpdateEpic: handleUpdateEpic,
|
|
422
|
+
onTaskClick: handleTaskClick
|
|
423
|
+
}
|
|
424
|
+
) }),
|
|
410
425
|
/* @__PURE__ */ jsx(
|
|
411
426
|
AddTaskModal,
|
|
412
427
|
{
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CollapsibleBlock
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MNJ5CMJM.mjs";
|
|
4
4
|
import {
|
|
5
5
|
ContentBlock
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-T2VDQBFT.mjs";
|
|
7
7
|
import {
|
|
8
8
|
CallToActionBlock,
|
|
9
9
|
FeaturesBlock
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-JJDC25TG.mjs";
|
|
11
11
|
import {
|
|
12
12
|
MediaBlock
|
|
13
13
|
} from "./chunk-KIZUBPPQ.mjs";
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
FileEdit
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BEGQGEDH.mjs";
|
|
7
7
|
import {
|
|
8
8
|
Dialog,
|
|
9
9
|
DialogOverlay,
|
|
10
10
|
DialogPortal,
|
|
11
11
|
DialogTitle
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-T62Q55Y5.mjs";
|
|
13
13
|
import {
|
|
14
14
|
Button
|
|
15
15
|
} from "./chunk-I6LSWXZW.mjs";
|