cortex-react-components 3.2.2 → 4.0.2
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-5GFRQ4NR.mjs → chunk-2BKXIIFJ.mjs} +183 -36
- package/dist/{chunk-LQPN7L4Z.mjs → chunk-3DWDGYDG.mjs} +1 -1
- package/dist/{chunk-PTDP7PZK.mjs → chunk-3G7VLQG5.mjs} +1 -1
- package/dist/{chunk-56NFUKPK.mjs → chunk-3K6EVFOW.mjs} +1 -1
- package/dist/{chunk-PFA2P52R.mjs → chunk-3RYHYKVQ.mjs} +1 -1
- package/dist/{chunk-XDV7AVPQ.mjs → chunk-4JSM5VYZ.mjs} +2 -2
- package/dist/{chunk-VMYEV3FG.mjs → chunk-4YRR74Y4.mjs} +1 -1
- package/dist/{chunk-I4MTJN23.mjs → chunk-6A7T3O6T.mjs} +6 -5
- package/dist/{chunk-G46GZ57S.mjs → chunk-6LF4K7ER.mjs} +5 -5
- package/dist/{chunk-2363JAWB.mjs → chunk-6S7EQDLL.mjs} +1 -1
- package/dist/{chunk-ZBCZGWDU.mjs → chunk-7HHLKQE4.mjs} +1 -1
- package/dist/{chunk-YUBPY7L4.mjs → chunk-7LM2P6N3.mjs} +1 -1
- package/dist/{chunk-VMDVXNP5.mjs → chunk-AKMJBGUU.mjs} +16 -16
- package/dist/{chunk-V4I6U2SE.mjs → chunk-AVNBD2X5.mjs} +1 -1
- package/dist/{chunk-2L6AWG6R.mjs → chunk-AZ5MV7NO.mjs} +2 -2
- package/dist/{chunk-YOKF4FEM.mjs → chunk-BMZG77IE.mjs} +1 -1
- package/dist/chunk-BXEALHGJ.mjs +142 -0
- package/dist/{chunk-V6YEUAIH.mjs → chunk-CV7GOXGO.mjs} +2 -2
- package/dist/{chunk-YKX5AGFQ.mjs → chunk-D3AHBPI5.mjs} +1 -1
- package/dist/{chunk-2VF2D4DL.mjs → chunk-DGDELNS3.mjs} +1 -1
- package/dist/{chunk-RJZMTP7J.mjs → chunk-DHB2L7O2.mjs} +1 -1
- package/dist/{chunk-ZED4UNH7.mjs → chunk-DPTILX6A.mjs} +2 -2
- package/dist/{chunk-RQGM66Q4.mjs → chunk-DRLNETNN.mjs} +1 -1
- package/dist/{chunk-673GELPP.mjs → chunk-DVWMM7AI.mjs} +3 -3
- package/dist/{chunk-O633TXQG.mjs → chunk-EEVXIKNB.mjs} +1 -1
- package/dist/{chunk-EQYJUXKZ.mjs → chunk-EGCBZZGV.mjs} +1 -1
- package/dist/{chunk-HK2DQNBU.mjs → chunk-ETV6EEYB.mjs} +4 -4
- package/dist/{chunk-ORWAJNJO.mjs → chunk-F6SQTC6R.mjs} +3 -3
- package/dist/{chunk-25EF7VEC.mjs → chunk-F7JPOQIC.mjs} +1 -1
- package/dist/{chunk-JQNNFILH.mjs → chunk-FWRVXOCU.mjs} +1 -1
- package/dist/{chunk-4YSV633W.mjs → chunk-GAWBCR4S.mjs} +1 -1
- package/dist/{chunk-ZWV2O6CK.mjs → chunk-GR45UN4U.mjs} +3 -3
- package/dist/chunk-GXN5ZNBZ.mjs +135 -0
- package/dist/{chunk-CIFGBEFV.mjs → chunk-HNBHBFLY.mjs} +1 -1
- package/dist/{chunk-USEHRJFR.mjs → chunk-HNVHGBNE.mjs} +1 -1
- package/dist/{chunk-QPO45D6F.mjs → chunk-I2MVZVXE.mjs} +1 -1
- package/dist/chunk-IC4N2KYF.mjs +401 -0
- package/dist/{chunk-QOYK2HBL.mjs → chunk-IM5B557Z.mjs} +19 -19
- package/dist/{chunk-J5ZETWHG.mjs → chunk-IQ67MHAY.mjs} +2 -2
- package/dist/{chunk-UFBLZW2N.mjs → chunk-IWQEM5KO.mjs} +2 -2
- package/dist/{chunk-UJI3Y73K.mjs → chunk-J5GM5CJK.mjs} +3 -3
- package/dist/chunk-JCSRFM37.mjs +595 -0
- package/dist/{chunk-QMFGV3M5.mjs → chunk-JOGVCBYP.mjs} +1 -1
- package/dist/{chunk-K6N5K2A7.mjs → chunk-JWMQOARK.mjs} +4 -4
- package/dist/{chunk-DSVXGGGV.mjs → chunk-K5ZNBHQO.mjs} +1 -1
- package/dist/{chunk-UYUP2DAL.mjs → chunk-KHFPDDTO.mjs} +1 -1
- package/dist/{chunk-CVH5TDS6.mjs → chunk-KJVAS4I7.mjs} +27 -12
- package/dist/{chunk-4PC77ZEN.mjs → chunk-KMGTUNRZ.mjs} +1 -1
- package/dist/{chunk-LVLEZS7Q.mjs → chunk-KYY7BMXI.mjs} +1 -1
- package/dist/{chunk-GDMWNNYC.mjs → chunk-LRMDRQRJ.mjs} +2 -2
- package/dist/{chunk-CIXAM7LW.mjs → chunk-LRTEGIZ7.mjs} +12 -12
- package/dist/{chunk-XGHUG2WQ.mjs → chunk-MDG2I4PB.mjs} +1 -1
- package/dist/{chunk-S27KJUKF.mjs → chunk-N5HTSJLI.mjs} +1 -1
- package/dist/{chunk-MPFWWJYT.mjs → chunk-N5Q2DYUR.mjs} +2 -2
- package/dist/{chunk-3W5H36HK.mjs → chunk-NNH7EC5Z.mjs} +1 -1
- package/dist/{chunk-5Z7JRCOM.mjs → chunk-NSYYRG6A.mjs} +1 -1
- package/dist/{chunk-JD7SR5V3.mjs → chunk-NUAJQK4H.mjs} +64 -8
- package/dist/{chunk-SSF2CAW7.mjs → chunk-OR3XMMEK.mjs} +9 -9
- package/dist/{chunk-RC6YHGVV.mjs → chunk-PE7KJR4A.mjs} +1 -1
- package/dist/{chunk-V2BZ7RE7.mjs → chunk-PLFX66EX.mjs} +1 -1
- package/dist/{chunk-E6M7XAYT.mjs → chunk-Q45EN2QB.mjs} +1 -1
- package/dist/{chunk-22E2TZBE.mjs → chunk-QDO6BAAN.mjs} +13 -5
- package/dist/{chunk-P4P6J2SW.mjs → chunk-QJGBUBSB.mjs} +2 -2
- package/dist/{chunk-TIGSOXUA.mjs → chunk-QJQ66DYZ.mjs} +1 -1
- package/dist/{chunk-ZF2DELZ5.mjs → chunk-QXOHY4AT.mjs} +39 -3
- package/dist/{chunk-NF4JWFAZ.mjs → chunk-RFMER577.mjs} +1 -1
- package/dist/{chunk-PIGOOCU6.mjs → chunk-RNHGLZYP.mjs} +1 -1
- package/dist/{chunk-QUGB53Z3.mjs → chunk-RV4VRLGN.mjs} +1 -1
- package/dist/{chunk-KCPLIAIF.mjs → chunk-SJI6X5DK.mjs} +2 -2
- package/dist/{chunk-B63AROCU.mjs → chunk-SMX6BH2N.mjs} +1 -1
- package/dist/{chunk-L3SZS7PC.mjs → chunk-SNUES6JA.mjs} +1 -1
- package/dist/{chunk-6R3QP53O.mjs → chunk-TZH6L2OH.mjs} +2 -2
- package/dist/{chunk-EJJNYV7C.mjs → chunk-U6ZFUE5O.mjs} +2 -2
- package/dist/{chunk-OPJMXB4K.mjs → chunk-UCK4TW63.mjs} +4 -4
- package/dist/{chunk-HI6QOZHR.mjs → chunk-V6VAVPKH.mjs} +1 -1
- package/dist/{chunk-PRMR24PY.mjs → chunk-WAR2OXXK.mjs} +4 -4
- package/dist/{chunk-4PFDNMLD.mjs → chunk-WEIPDZOJ.mjs} +1 -1
- package/dist/{chunk-TLCSKAWQ.mjs → chunk-WZBXR7J3.mjs} +5 -5
- package/dist/{chunk-FECAR2TE.mjs → chunk-X4GP2O3Y.mjs} +2 -2
- package/dist/{chunk-UNEYYMLL.mjs → chunk-XCZCWSOY.mjs} +2 -2
- package/dist/{chunk-QE3XE3LW.mjs → chunk-Y4KJTMKO.mjs} +1 -1
- package/dist/{chunk-AOSO2JVA.mjs → chunk-YUZYLKBD.mjs} +1 -1
- package/dist/{chunk-YFOEG4PP.mjs → chunk-Z6MYLHDW.mjs} +1 -1
- package/dist/{chunk-TP5AUT7W.mjs → chunk-ZJB7AFL5.mjs} +2 -2
- package/dist/components/AdvancedComponents/AppSidebar.d.ts +1 -1
- package/dist/components/AdvancedComponents/AppSidebar.js +480 -301
- package/dist/components/AdvancedComponents/AppSidebar.mjs +3 -3
- package/dist/components/AdvancedComponents/index.js +480 -301
- package/dist/components/AdvancedComponents/index.mjs +3 -3
- package/dist/components/AdvancedComponents/user-selection.d.ts +1 -1
- package/dist/components/AdvancedComponents/user-selection.js +1 -1
- package/dist/components/AdvancedComponents/user-selection.mjs +1 -1
- package/dist/components/Blocks/Banner.mjs +3 -3
- package/dist/components/Blocks/CallToAction.mjs +3 -3
- package/dist/components/Blocks/CollapsibleArea.mjs +4 -4
- package/dist/components/Blocks/Content.mjs +4 -4
- package/dist/components/Blocks/FeaturesBlock.mjs +3 -3
- package/dist/components/Blocks/RelatedPosts.mjs +4 -4
- package/dist/components/Blocks/RenderBlocks.mjs +6 -6
- package/dist/components/Blocks/ReusableContentBlock.mjs +6 -6
- package/dist/components/Blocks/index.mjs +7 -7
- package/dist/components/Cards/ContentCard.mjs +3 -3
- package/dist/components/Cards/FeatureCard.mjs +3 -3
- package/dist/components/Cards/index.mjs +3 -3
- package/dist/components/Chat/CopilotInterface.d.ts +1 -1
- package/dist/components/Chat/CopilotInterface.js +527 -330
- package/dist/components/Chat/CopilotInterface.mjs +5 -5
- package/dist/components/Chat/chat-session-sidebar.d.ts +1 -1
- package/dist/components/Chat/demo-long-messages.js +527 -330
- package/dist/components/Chat/demo-long-messages.mjs +5 -5
- package/dist/components/Chat/demo-tests.js +527 -330
- package/dist/components/Chat/demo-tests.mjs +5 -5
- package/dist/components/Chat/demo.js +527 -330
- package/dist/components/Chat/demo.mjs +5 -5
- package/dist/components/Chat/example-usage.js +527 -330
- package/dist/components/Chat/example-usage.mjs +6 -6
- package/dist/components/Chat/example-with-vercel-ai.js +527 -330
- package/dist/components/Chat/example-with-vercel-ai.mjs +5 -5
- package/dist/components/Chat/index.js +527 -330
- package/dist/components/Chat/index.mjs +8 -8
- package/dist/components/DeliveryLead/DeliveryLeadSubmissionWithList.mjs +2 -2
- package/dist/components/DeliveryLead/index.mjs +4 -4
- package/dist/components/DigitalColleagues/Views/TeamsIndexView.d.ts +1 -9
- package/dist/components/DigitalColleagues/Views/TeamsIndexView.js +22 -27
- package/dist/components/DigitalColleagues/Views/TeamsIndexView.mjs +4 -6
- 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/{Foundary → Foundry}/AppSidebarLeft.js +3 -3
- package/dist/components/{DigitalColleagues → Foundry}/AppSidebarLeft.mjs +3 -3
- package/dist/components/{Foundary → Foundry}/DashboardHeader.js +2 -2
- package/dist/components/{Foundary → Foundry}/DashboardHeader.mjs +1 -1
- package/dist/components/{Foundary → Foundry}/Knowledge/add-knowledge-modal.js +2 -2
- package/dist/components/{Foundary → Foundry}/Knowledge/add-knowledge-modal.mjs +4 -4
- package/dist/components/{Foundary → Foundry}/Knowledge/add-team-context.js +3 -3
- package/dist/components/{Foundary → Foundry}/Knowledge/add-team-context.mjs +4 -4
- package/dist/components/{Foundary → Foundry}/Knowledge/manage-team-context.js +2 -2
- package/dist/components/{Foundary → Foundry}/Knowledge/manage-team-context.mjs +1 -1
- package/dist/components/{Foundary → Foundry}/LandingMenu.js +2 -2
- package/dist/components/{Foundary → Foundry}/LandingMenu.mjs +1 -1
- package/dist/components/{Foundary → Foundry}/Login.js +2 -2
- package/dist/components/{Foundary → Foundry}/Login.mjs +1 -1
- package/dist/components/{Foundary → Foundry}/MainPage.js +4 -4
- package/dist/components/{DigitalColleagues → Foundry}/MainPage.mjs +9 -9
- package/dist/components/{DigitalColleagues → Foundry}/ManagementSidebar.d.ts +2 -2
- package/dist/components/{Foundary → Foundry}/ManagementSidebar.js +12 -4
- package/dist/components/{DigitalColleagues → Foundry}/ManagementSidebar.mjs +1 -1
- package/dist/components/{Foundary → Foundry}/Pages/dashboardpage.js +1860 -2162
- package/dist/components/{Foundary → Foundry}/Pages/dashboardpage.mjs +42 -41
- package/dist/components/{Foundary → Foundry}/README-document-edit.js +1 -1
- package/dist/components/{Foundary → Foundry}/README-document-edit.mjs +1 -1
- package/dist/components/{Foundary → Foundry}/README-document-preview.js +1 -1
- package/dist/components/{Foundary → Foundry}/README-document-preview.mjs +1 -1
- package/dist/components/{Foundary → Foundry}/RichText/Icons/Bold.js +1 -1
- package/dist/components/{Foundary → Foundry}/RichText/Icons/Bold.mjs +1 -1
- package/dist/components/{Foundary → Foundry}/RichText/Icons/Headings.js +1 -1
- package/dist/components/{Foundary → Foundry}/RichText/Icons/Headings.mjs +1 -1
- package/dist/components/{Foundary → Foundry}/RichText/Icons/Italic.js +1 -1
- package/dist/components/{Foundary → Foundry}/RichText/Icons/Italic.mjs +1 -1
- package/dist/components/{Foundary → Foundry}/RichText/Icons/StrikeThrough.js +1 -1
- package/dist/components/{Foundary → Foundry}/RichText/Icons/StrikeThrough.mjs +1 -1
- package/dist/components/{Foundary → Foundry}/RichText/Icons/Subscript.js +1 -1
- package/dist/components/{Foundary → Foundry}/RichText/Icons/Subscript.mjs +1 -1
- package/dist/components/{Foundary → Foundry}/RichText/Icons/Superscript.js +1 -1
- package/dist/components/{Foundary → Foundry}/RichText/Icons/Superscript.mjs +1 -1
- package/dist/components/{Foundary → Foundry}/RichText/Icons/Underline.js +1 -1
- package/dist/components/{Foundary → Foundry}/RichText/Icons/Underline.mjs +1 -1
- package/dist/components/{Foundary → Foundry}/RichText/components/RawUploadComponent/index.js +2 -2
- package/dist/components/{Foundary → Foundry}/RichText/components/RawUploadComponent/index.mjs +1 -1
- package/dist/components/{Foundary → Foundry}/RichText/index.js +18 -18
- package/dist/components/{Foundary → Foundry}/RichText/index.mjs +12 -12
- package/dist/components/{Foundary → Foundry}/RichText/nodes/image-node.js +4 -4
- package/dist/components/{Foundary → Foundry}/RichText/nodes/image-node.mjs +2 -2
- package/dist/components/{Foundary → Foundry}/RichText/plugins/image-plugin.js +7 -7
- package/dist/components/{Foundary → Foundry}/RichText/plugins/image-plugin.mjs +3 -3
- package/dist/components/{Foundary → Foundry}/RichText/plugins/toolbar-plugin.js +16 -16
- package/dist/components/{Foundary → Foundry}/RichText/plugins/toolbar-plugin.mjs +11 -11
- package/dist/components/{Foundary → Foundry}/SearchableSelect.js +2 -2
- package/dist/components/{DigitalColleagues → Foundry}/SearchableSelect.mjs +1 -1
- package/dist/components/{Foundary → Foundry}/Views/ColleaguesView.d.ts +4 -2
- package/dist/components/{Foundary → Foundry}/Views/ColleaguesView.js +526 -211
- package/dist/components/{Foundary → Foundry}/Views/ColleaguesView.mjs +12 -10
- package/dist/components/Foundry/Views/KnowledgeView.docs.js +2 -0
- package/dist/components/Foundry/Views/KnowledgeView.docs.mjs +7 -0
- package/dist/components/{Foundary → Foundry}/Views/KnowledgeView.js +29 -29
- package/dist/components/{Foundary → Foundry}/Views/KnowledgeView.mjs +21 -21
- package/dist/components/{Foundary → Foundry}/Views/TeamsIndexView.js +9 -8
- package/dist/components/{Foundary → Foundry}/Views/TeamsIndexView.mjs +4 -4
- package/dist/components/{Foundary → Foundry}/Views/index.js +2929 -2050
- package/dist/components/{Foundary → Foundry}/Views/index.mjs +64 -61
- package/dist/components/Foundry/add-colleague-to-team-form.d.ts +10 -0
- package/dist/components/{DigitalColleagues/colleague-type-selection.js → Foundry/add-colleague-to-team-form.js} +156 -91
- package/dist/components/{DigitalColleagues/colleague-card.mjs → Foundry/add-colleague-to-team-form.mjs} +3 -4
- package/dist/components/{.archive → Foundry}/app-card.d.ts +1 -1
- package/dist/components/Foundry/app-card.js +2669 -0
- package/dist/components/{DigitalColleagues/digital-colleague-options.mjs → Foundry/app-card.mjs} +5 -3
- package/dist/components/{Foundary → Foundry}/colleague-card.js +2 -2
- package/dist/components/{Foundary → Foundry}/colleague-card.mjs +1 -1
- package/dist/components/{Foundary → Foundry}/colleague-form.js +4 -4
- package/dist/components/{Foundary → Foundry}/colleague-form.mjs +2 -2
- package/dist/components/{Foundary → Foundry}/colleague-type-selection.js +2 -2
- package/dist/components/{DigitalColleagues → Foundry}/colleague-type-selection.mjs +1 -1
- package/dist/components/Foundry/digital-colleague-selection.d.ts +9 -0
- package/dist/components/{DigitalColleagues/digital-colleague-clone.js → Foundry/digital-colleague-selection.js} +59 -100
- package/dist/components/{DigitalColleagues/digital-colleague-clone.mjs → Foundry/digital-colleague-selection.mjs} +3 -3
- package/dist/components/{Foundary → Foundry}/document-edit.js +20 -20
- package/dist/components/{Foundary → Foundry}/document-edit.mjs +13 -13
- package/dist/components/{Foundary → Foundry}/document-preview-examples.js +24 -24
- package/dist/components/{Foundary → Foundry}/document-preview-examples.mjs +15 -15
- package/dist/components/{Foundary → Foundry}/document-preview.js +22 -22
- package/dist/components/{Foundary → Foundry}/document-preview.mjs +14 -14
- package/dist/components/{Foundary → Foundry}/file-edit.js +20 -20
- package/dist/components/{Foundary → Foundry}/file-edit.mjs +16 -16
- package/dist/components/{Foundary → Foundry}/foundary-clone.js +3 -3
- package/dist/components/{Foundary → Foundry}/foundary-clone.mjs +1 -1
- package/dist/components/{Foundary → Foundry}/foundary-layout.d.ts +3 -3
- package/dist/components/{Foundary → Foundry}/foundary-layout.js +485 -306
- package/dist/components/{Foundary → Foundry}/foundary-layout.mjs +6 -6
- package/dist/components/{Foundary → Foundry}/foundary-options.d.ts +2 -1
- package/dist/components/{Foundary → Foundry}/foundary-options.js +39 -3
- package/dist/components/{Foundary → Foundry}/foundary-options.mjs +1 -1
- package/dist/components/{Foundary → Foundry}/index.d.ts +3 -1
- package/dist/components/{Foundary → Foundry}/index.js +3465 -3267
- package/dist/components/{Foundary → Foundry}/index.mjs +102 -95
- package/dist/components/{Foundary → Foundry}/knowledge-browser.js +24 -24
- package/dist/components/{Foundary → Foundry}/knowledge-browser.mjs +15 -15
- package/dist/components/{Foundary → Foundry}/knowledge-search.js +2 -2
- package/dist/components/{DigitalColleagues → Foundry}/knowledge-search.mjs +1 -1
- package/dist/components/{Foundary → Foundry}/team-form.js +2 -2
- package/dist/components/{Foundary → Foundry}/team-form.mjs +1 -1
- package/dist/components/{Foundary → Foundry}/test-data.js +1 -1
- package/dist/components/{Foundary → Foundry}/test-data.mjs +1 -1
- package/dist/components/{Foundary → Foundry}/types.d.ts +26 -0
- package/dist/components/{Foundary → Foundry}/types.js +1 -1
- package/dist/components/HeaderFooter/Header.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +4 -4
- package/dist/components/HeaderFooter/index.mjs +11 -11
- 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 +4 -4
- package/dist/components/Heros/LowImpact/index.mjs +4 -4
- package/dist/components/Heros/MediumImpact/index.mjs +4 -4
- package/dist/components/Heros/PostHero/index.mjs +3 -3
- package/dist/components/Heros/RenderHero.mjs +7 -7
- package/dist/components/Heros/index.js +5 -4
- package/dist/components/Heros/index.mjs +14 -14
- package/dist/components/Layouts/OutputHeaderFooter.mjs +4 -4
- package/dist/components/Layouts/Print.mjs +8 -8
- package/dist/components/Layouts/SlideShow.mjs +9 -9
- package/dist/components/Layouts/index.mjs +13 -13
- package/dist/components/Menus/SidebarLeft.mjs +3 -3
- package/dist/components/Menus/SidebarLeftMulti.mjs +3 -3
- package/dist/components/Menus/SidebarRight.mjs +3 -3
- package/dist/components/Menus/index.mjs +5 -5
- package/dist/components/Payload/RichText/index.mjs +3 -3
- package/dist/components/Payload/RichText/serialize.mjs +3 -3
- package/dist/components/Payload/index.mjs +3 -3
- package/dist/components/Projects/AddEpicModal.d.ts +1 -1
- package/dist/components/Projects/AddSprintModal.d.ts +1 -1
- package/dist/components/Projects/AddTaskModal.d.ts +1 -1
- 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 +46 -4
- package/dist/components/Projects/FileView.d.ts +1 -1
- package/dist/components/Projects/FileView.js +24 -23
- package/dist/components/Projects/FileView.mjs +20 -20
- package/dist/components/Projects/GanttView.d.ts +13 -0
- package/dist/components/{DigitalColleagues/colleague-card.js → Projects/GanttView.js} +559 -260
- package/dist/components/Projects/GanttView.mjs +20 -0
- package/dist/components/Projects/KanbanBoardView.d.ts +1 -1
- package/dist/components/Projects/KanbanBoardView.js +25 -24
- package/dist/components/Projects/KanbanBoardView.mjs +26 -26
- package/dist/components/Projects/KanbanColumn.d.ts +1 -1
- package/dist/components/Projects/PlanningView.d.ts +1 -1
- package/dist/components/Projects/PlanningView.js +5 -4
- package/dist/components/Projects/PlanningView.mjs +3 -3
- package/dist/components/Projects/ProjectPage.d.ts +3 -3
- package/dist/components/Projects/ProjectPage.js +1744 -983
- package/dist/components/Projects/ProjectPage.mjs +39 -38
- package/dist/components/Projects/ProjectView.d.ts +2 -2
- package/dist/components/Projects/ProjectView.js +1227 -662
- package/dist/components/Projects/ProjectView.mjs +34 -33
- package/dist/components/Projects/ProjectsIndexView.d.ts +1 -1
- package/dist/components/Projects/ProjectsIndexView.js +5 -4
- package/dist/components/Projects/ProjectsIndexView.mjs +4 -4
- package/dist/components/Projects/SprintBoardView.d.ts +4 -1
- package/dist/components/Projects/SprintBoardView.js +271 -129
- package/dist/components/Projects/SprintBoardView.mjs +26 -26
- package/dist/components/Projects/TaskCard.d.ts +1 -1
- package/dist/components/Projects/TaskDetailsModal.d.ts +1 -1
- package/dist/components/Projects/TaskDetailsModal.js +20 -20
- package/dist/components/Projects/TaskDetailsModal.mjs +20 -20
- package/dist/components/Projects/TaskSidebar.d.ts +1 -1
- package/dist/components/Projects/TaskSidebar.js +2 -2
- package/dist/components/Projects/TaskSidebar.mjs +2 -2
- package/dist/components/Projects/TasksView.d.ts +1 -1
- package/dist/components/Projects/TasksView.js +5 -4
- package/dist/components/Projects/TasksView.mjs +3 -3
- 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.d.ts +1 -1
- package/dist/components/Projects/file-list.js +19 -19
- package/dist/components/Projects/file-list.mjs +17 -17
- package/dist/components/Projects/index.js +557 -250
- package/dist/components/Projects/index.mjs +35 -35
- 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 +497 -325
- package/dist/components/dc-temp/dashboard-integration-example.mjs +6 -6
- package/dist/components/dc-temp/index.d.ts +3 -3
- package/dist/components/dc-temp/index.js +3773 -3007
- package/dist/components/dc-temp/index.mjs +35 -33
- package/dist/components/dc-temp/mock-data.d.ts +2 -2
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.js +3337 -3100
- package/dist/components/index.mjs +163 -157
- package/dist/components/ui/index.mjs +9 -9
- package/dist/components/ui/sidebar.mjs +2 -2
- package/dist/decorators/Intranet.css +54 -14
- package/dist/decorators/Intranet.mjs +99 -99
- 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 +3345 -3108
- package/dist/index.mjs +174 -168
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.mjs +12 -12
- package/dist/pages/Documentation.mjs +9 -9
- package/dist/pages/IndexPage.mjs +17 -17
- package/dist/pages/Intranet.mjs +3 -3
- package/dist/pages/LandingPage.mjs +111 -111
- package/dist/pages/Page.mjs +16 -16
- package/dist/pages/Publish.mjs +100 -100
- package/dist/pages/Website.mjs +19 -19
- package/dist/sections/AboutSection.mjs +5 -5
- package/dist/sections/BlogDetail.mjs +4 -4
- package/dist/sections/BlogList.mjs +5 -5
- package/dist/sections/BlogListSection.mjs +5 -5
- package/dist/sections/ContactSection.mjs +5 -5
- package/dist/sections/PageSections.mjs +109 -109
- package/dist/sections/PricingSection.mjs +5 -5
- package/dist/sections/ServiceDetail.mjs +4 -4
- package/dist/sections/ServiceDetailSection.mjs +4 -4
- package/dist/sections/ServiceSection.mjs +100 -100
- package/dist/sections/form/index.mjs +2 -2
- package/dist/sections/index.mjs +109 -109
- 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-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-G7SFQSC7.mjs +0 -306
- 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-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-UHOCECJY.mjs +0 -365
- package/dist/chunk-VY6L37RQ.mjs +0 -103
- package/dist/chunk-X6UI73UN.mjs +0 -262
- package/dist/components/DigitalColleagues/AppSidebarLeft.js +0 -3407
- package/dist/components/DigitalColleagues/DashboardHeader.js +0 -2756
- package/dist/components/DigitalColleagues/DashboardHeader.mjs +0 -15
- 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.js +0 -4080
- package/dist/components/DigitalColleagues/ManagementSidebar.js +0 -99
- 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.js +0 -2745
- 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.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.js +0 -12284
- package/dist/components/DigitalColleagues/Views/index.mjs +0 -114
- 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/digital-colleague-clone.d.ts +0 -9
- 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/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.js +0 -3433
- package/dist/components/DigitalColleagues/document-preview-examples.mjs +0 -151
- 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.mjs +0 -200
- 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.d.ts +0 -12
- package/dist/components/DigitalColleagues/knowledge-search.js +0 -2819
- 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/components/Foundary/AppSidebarLeft.css +0 -917
- package/dist/components/Foundary/AppSidebarLeft.d.ts +0 -47
- package/dist/components/Foundary/AppSidebarLeft.mjs +0 -23
- package/dist/components/Foundary/DashboardHeader.css +0 -917
- package/dist/components/Foundary/DashboardHeader.d.ts +0 -8
- package/dist/components/Foundary/MainPage.css +0 -917
- package/dist/components/Foundary/MainPage.d.ts +0 -3
- package/dist/components/Foundary/MainPage.mjs +0 -46
- package/dist/components/Foundary/ManagementSidebar.d.ts +0 -8
- package/dist/components/Foundary/ManagementSidebar.mjs +0 -9
- package/dist/components/Foundary/Pages/dashboardpage.css +0 -917
- package/dist/components/Foundary/SearchableSelect.css +0 -917
- package/dist/components/Foundary/SearchableSelect.d.ts +0 -16
- package/dist/components/Foundary/SearchableSelect.mjs +0 -16
- package/dist/components/Foundary/Views/ColleaguesView.css +0 -917
- package/dist/components/Foundary/Views/KnowledgeView.css +0 -917
- package/dist/components/Foundary/Views/KnowledgeView.docs.js +0 -2
- package/dist/components/Foundary/Views/KnowledgeView.docs.mjs +0 -7
- package/dist/components/Foundary/Views/index.css +0 -917
- package/dist/components/Foundary/Views/index.d.ts +0 -7
- package/dist/components/Foundary/colleague-card.d.ts +0 -12
- package/dist/components/Foundary/colleague-form.css +0 -917
- package/dist/components/Foundary/colleague-type-selection.css +0 -917
- package/dist/components/Foundary/colleague-type-selection.d.ts +0 -7
- package/dist/components/Foundary/colleague-type-selection.mjs +0 -16
- package/dist/components/Foundary/document-edit.css +0 -917
- package/dist/components/Foundary/document-preview-examples.css +0 -917
- package/dist/components/Foundary/document-preview-examples.d.ts +0 -12
- package/dist/components/Foundary/document-preview.css +0 -917
- package/dist/components/Foundary/index.css +0 -917
- package/dist/components/Foundary/knowledge-browser.css +0 -917
- package/dist/components/Foundary/knowledge-search.css +0 -917
- package/dist/components/Foundary/knowledge-search.mjs +0 -20
- package/dist/components/Foundary/team-form.css +0 -917
- package/dist/{chunk-AEFGMCK3.mjs → chunk-D5KV6INF.mjs} +3 -3
- package/dist/{chunk-SNG6OKEL.mjs → chunk-FTVOJKVA.mjs} +3 -3
- package/dist/{chunk-OT2SSFKS.mjs → chunk-GSG52WU5.mjs} +3 -3
- /package/dist/components/{DigitalColleagues → Foundry}/AppSidebarLeft.css +0 -0
- /package/dist/components/{DigitalColleagues → Foundry}/AppSidebarLeft.d.ts +0 -0
- /package/dist/components/{DigitalColleagues → Foundry}/DashboardHeader.css +0 -0
- /package/dist/components/{DigitalColleagues → Foundry}/DashboardHeader.d.ts +0 -0
- /package/dist/components/{Foundary → Foundry}/Knowledge/add-knowledge-modal.css +0 -0
- /package/dist/components/{Foundary → Foundry}/Knowledge/add-knowledge-modal.d.ts +0 -0
- /package/dist/components/{Foundary → Foundry}/Knowledge/add-team-context.css +0 -0
- /package/dist/components/{Foundary → Foundry}/Knowledge/add-team-context.d.ts +0 -0
- /package/dist/components/{Foundary → Foundry}/Knowledge/manage-team-context.css +0 -0
- /package/dist/components/{Foundary → Foundry}/Knowledge/manage-team-context.d.ts +0 -0
- /package/dist/components/{Foundary → Foundry}/LandingMenu.css +0 -0
- /package/dist/components/{Foundary → Foundry}/LandingMenu.d.ts +0 -0
- /package/dist/components/{Foundary → Foundry}/Login.css +0 -0
- /package/dist/components/{Foundary → Foundry}/Login.d.ts +0 -0
- /package/dist/components/{DigitalColleagues → Foundry}/MainPage.css +0 -0
- /package/dist/components/{DigitalColleagues → Foundry}/MainPage.d.ts +0 -0
- /package/dist/components/{DigitalColleagues → Foundry}/Pages/dashboardpage.css +0 -0
- /package/dist/components/{Foundary → Foundry}/Pages/dashboardpage.d.ts +0 -0
- /package/dist/components/{Foundary → Foundry}/RichText/Icons/Bold.d.ts +0 -0
- /package/dist/components/{Foundary → Foundry}/RichText/Icons/Headings.d.ts +0 -0
- /package/dist/components/{Foundary → Foundry}/RichText/Icons/Italic.d.ts +0 -0
- /package/dist/components/{Foundary → Foundry}/RichText/Icons/StrikeThrough.d.ts +0 -0
- /package/dist/components/{Foundary → Foundry}/RichText/Icons/Subscript.d.ts +0 -0
- /package/dist/components/{Foundary → Foundry}/RichText/Icons/Superscript.d.ts +0 -0
- /package/dist/components/{Foundary → Foundry}/RichText/Icons/Underline.d.ts +0 -0
- /package/dist/components/{DigitalColleagues/Views → Foundry/RichText/components/RawUploadComponent}/index.css +0 -0
- /package/dist/components/{Foundary → Foundry}/RichText/components/RawUploadComponent/index.d.ts +0 -0
- /package/dist/components/{DigitalColleagues → Foundry/RichText}/index.css +0 -0
- /package/dist/components/{Foundary → Foundry}/RichText/index.d.ts +0 -0
- /package/dist/components/{Foundary → Foundry}/RichText/nodes/image-node.css +0 -0
- /package/dist/components/{Foundary → Foundry}/RichText/nodes/image-node.d.ts +0 -0
- /package/dist/components/{Foundary → Foundry}/RichText/plugins/image-plugin.css +0 -0
- /package/dist/components/{Foundary → Foundry}/RichText/plugins/image-plugin.d.ts +0 -0
- /package/dist/components/{Foundary → Foundry}/RichText/plugins/toolbar-plugin.css +0 -0
- /package/dist/components/{Foundary → Foundry}/RichText/plugins/toolbar-plugin.d.ts +0 -0
- /package/dist/components/{DigitalColleagues → Foundry}/SearchableSelect.css +0 -0
- /package/dist/components/{DigitalColleagues → Foundry}/SearchableSelect.d.ts +0 -0
- /package/dist/components/{DigitalColleagues → Foundry}/Views/ColleaguesView.css +0 -0
- /package/dist/components/{DigitalColleagues → Foundry}/Views/KnowledgeView.css +0 -0
- /package/dist/components/{Foundary → Foundry}/Views/KnowledgeView.d.ts +0 -0
- /package/dist/components/{Foundary → Foundry}/Views/TeamsIndexView.css +0 -0
- /package/dist/components/{Foundary → Foundry}/Views/TeamsIndexView.d.ts +0 -0
- /package/dist/components/{Foundary/RichText/components/RawUploadComponent → Foundry/Views}/index.css +0 -0
- /package/dist/components/{DigitalColleagues → Foundry}/Views/index.d.ts +0 -0
- /package/dist/components/{DigitalColleagues/DigitalColleageusLayout.css → Foundry/add-colleague-to-team-form.css} +0 -0
- /package/dist/components/{DigitalColleagues/colleague-card.css → Foundry/app-card.css} +0 -0
- /package/dist/components/{Foundary → Foundry}/colleague-card.css +0 -0
- /package/dist/components/{DigitalColleagues → Foundry}/colleague-card.d.ts +0 -0
- /package/dist/components/{DigitalColleagues → Foundry}/colleague-form.css +0 -0
- /package/dist/components/{Foundary → Foundry}/colleague-form.d.ts +0 -0
- /package/dist/components/{DigitalColleagues → Foundry}/colleague-type-selection.css +0 -0
- /package/dist/components/{DigitalColleagues → Foundry}/colleague-type-selection.d.ts +0 -0
- /package/dist/components/{DigitalColleagues/digital-colleague-clone.css → Foundry/digital-colleague-selection.css} +0 -0
- /package/dist/components/{DigitalColleagues → Foundry}/document-edit.css +0 -0
- /package/dist/components/{Foundary → Foundry}/document-edit.d.ts +0 -0
- /package/dist/components/{DigitalColleagues → Foundry}/document-preview-examples.css +0 -0
- /package/dist/components/{DigitalColleagues → Foundry}/document-preview-examples.d.ts +0 -0
- /package/dist/components/{DigitalColleagues → Foundry}/document-preview.css +0 -0
- /package/dist/components/{Foundary → Foundry}/document-preview.d.ts +0 -0
- /package/dist/components/{Foundary → Foundry}/file-edit.css +0 -0
- /package/dist/components/{Foundary → Foundry}/file-edit.d.ts +0 -0
- /package/dist/components/{Foundary → Foundry}/foundary-clone.css +0 -0
- /package/dist/components/{Foundary → Foundry}/foundary-clone.d.ts +0 -0
- /package/dist/components/{Foundary → Foundry}/foundary-layout.css +0 -0
- /package/dist/components/{Foundary → Foundry}/foundary-options.css +0 -0
- /package/dist/components/{Foundary/RichText → Foundry}/index.css +0 -0
- /package/dist/components/{DigitalColleagues → Foundry}/knowledge-browser.css +0 -0
- /package/dist/components/{Foundary → Foundry}/knowledge-browser.d.ts +0 -0
- /package/dist/components/{DigitalColleagues → Foundry}/knowledge-search.css +0 -0
- /package/dist/components/{Foundary → Foundry}/knowledge-search.d.ts +0 -0
- /package/dist/components/{DigitalColleagues → Foundry}/team-form.css +0 -0
- /package/dist/components/{Foundary → Foundry}/team-form.d.ts +0 -0
- /package/dist/components/{Foundary → Foundry}/test-data.d.ts +0 -0
- /package/dist/components/{DigitalColleagues/digital-colleague-options.css → Projects/GanttView.css} +0 -0
|
@@ -2613,9 +2613,50 @@ var CardFooter = React2.forwardRef(
|
|
|
2613
2613
|
);
|
|
2614
2614
|
CardFooter.displayName = "CardFooter";
|
|
2615
2615
|
|
|
2616
|
+
// src/components/ui/input.tsx
|
|
2617
|
+
var React3 = __toESM(require("react"));
|
|
2618
|
+
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
2619
|
+
var Input = React3.forwardRef(
|
|
2620
|
+
({ className, type, ...props }, ref) => {
|
|
2621
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
2622
|
+
"input",
|
|
2623
|
+
{
|
|
2624
|
+
type,
|
|
2625
|
+
className: cn(
|
|
2626
|
+
"flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",
|
|
2627
|
+
className
|
|
2628
|
+
),
|
|
2629
|
+
ref,
|
|
2630
|
+
...props
|
|
2631
|
+
}
|
|
2632
|
+
);
|
|
2633
|
+
}
|
|
2634
|
+
);
|
|
2635
|
+
Input.displayName = "Input";
|
|
2636
|
+
|
|
2637
|
+
// src/components/ui/textarea.tsx
|
|
2638
|
+
var React4 = __toESM(require("react"));
|
|
2639
|
+
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
2640
|
+
var Textarea = React4.forwardRef(
|
|
2641
|
+
({ className, ...props }, ref) => {
|
|
2642
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
2643
|
+
"textarea",
|
|
2644
|
+
{
|
|
2645
|
+
className: cn(
|
|
2646
|
+
"flex min-h-[80px] w-full rounded border border-border bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
|
|
2647
|
+
className
|
|
2648
|
+
),
|
|
2649
|
+
ref,
|
|
2650
|
+
...props
|
|
2651
|
+
}
|
|
2652
|
+
);
|
|
2653
|
+
}
|
|
2654
|
+
);
|
|
2655
|
+
Textarea.displayName = "Textarea";
|
|
2656
|
+
|
|
2616
2657
|
// src/components/Projects/TaskCard.tsx
|
|
2617
2658
|
var import_lucide_react = require("lucide-react");
|
|
2618
|
-
var
|
|
2659
|
+
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
2619
2660
|
var TaskCard = ({
|
|
2620
2661
|
task,
|
|
2621
2662
|
epic,
|
|
@@ -2644,14 +2685,14 @@ var TaskCard = ({
|
|
|
2644
2685
|
const getTypeIcon = () => {
|
|
2645
2686
|
switch (task.type) {
|
|
2646
2687
|
case "story":
|
|
2647
|
-
return /* @__PURE__ */ (0,
|
|
2688
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_lucide_react.BookOpen, { className: "h-3 w-3" });
|
|
2648
2689
|
case "bug":
|
|
2649
|
-
return /* @__PURE__ */ (0,
|
|
2690
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_lucide_react.Bug, { className: "h-3 w-3" });
|
|
2650
2691
|
case "spike":
|
|
2651
|
-
return /* @__PURE__ */ (0,
|
|
2692
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_lucide_react.Zap, { className: "h-3 w-3" });
|
|
2652
2693
|
case "task":
|
|
2653
2694
|
default:
|
|
2654
|
-
return /* @__PURE__ */ (0,
|
|
2695
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_lucide_react.AlertCircle, { className: "h-3 w-3" });
|
|
2655
2696
|
}
|
|
2656
2697
|
};
|
|
2657
2698
|
const getTypeColor = () => {
|
|
@@ -2668,27 +2709,27 @@ var TaskCard = ({
|
|
|
2668
2709
|
}
|
|
2669
2710
|
};
|
|
2670
2711
|
if (isCompact) {
|
|
2671
|
-
return /* @__PURE__ */ (0,
|
|
2712
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
2672
2713
|
Card,
|
|
2673
2714
|
{
|
|
2674
2715
|
className: "p-3 bg-card border border-border hover:border-accent cursor-pointer transition-all duration-200 hover:shadow-sm",
|
|
2675
2716
|
draggable: true,
|
|
2676
2717
|
onDragStart: handleDragStart,
|
|
2677
2718
|
onClick: handleClick,
|
|
2678
|
-
children: /* @__PURE__ */ (0,
|
|
2679
|
-
/* @__PURE__ */ (0,
|
|
2719
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex items-center gap-2", children: [
|
|
2720
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
2680
2721
|
"div",
|
|
2681
2722
|
{
|
|
2682
2723
|
className: `flex items-center gap-1 px-2 py-1 rounded-full text-xs font-medium ${getTypeColor()}`,
|
|
2683
2724
|
children: getTypeIcon()
|
|
2684
2725
|
}
|
|
2685
2726
|
),
|
|
2686
|
-
/* @__PURE__ */ (0,
|
|
2727
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("h4", { className: `font-medium text-foreground text-sm mb-1 line-clamp-2 select-none-important ${task.status === "done" || task.status === "cancelled" ? "line-through opacity-60" : ""}`, children: task.name })
|
|
2687
2728
|
] })
|
|
2688
2729
|
}
|
|
2689
2730
|
);
|
|
2690
2731
|
}
|
|
2691
|
-
return /* @__PURE__ */ (0,
|
|
2732
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
|
|
2692
2733
|
Card,
|
|
2693
2734
|
{
|
|
2694
2735
|
className: "p-4 bg-card border border-border hover:border-accent cursor-pointer transition-all duration-200 hover:shadow-md",
|
|
@@ -2696,26 +2737,26 @@ var TaskCard = ({
|
|
|
2696
2737
|
onDragStart: handleDragStart,
|
|
2697
2738
|
onClick: handleClick,
|
|
2698
2739
|
children: [
|
|
2699
|
-
/* @__PURE__ */ (0,
|
|
2700
|
-
/* @__PURE__ */ (0,
|
|
2740
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex items-center justify-between mb-3", children: [
|
|
2741
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
|
|
2701
2742
|
"div",
|
|
2702
2743
|
{
|
|
2703
2744
|
className: `flex items-center gap-2 px-3 py-1 rounded-full text-sm font-medium ${getTypeColor()}`,
|
|
2704
2745
|
children: [
|
|
2705
2746
|
getTypeIcon(),
|
|
2706
|
-
/* @__PURE__ */ (0,
|
|
2747
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "capitalize", children: task.type })
|
|
2707
2748
|
]
|
|
2708
2749
|
}
|
|
2709
2750
|
),
|
|
2710
|
-
/* @__PURE__ */ (0,
|
|
2711
|
-
/* @__PURE__ */ (0,
|
|
2751
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex gap-1", children: [
|
|
2752
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
2712
2753
|
"div",
|
|
2713
2754
|
{
|
|
2714
2755
|
className: `flex items-center gap-2 px-3 py-1 rounded-full text-xs font-medium ${getPriorityColor()}`,
|
|
2715
2756
|
children: task.priority
|
|
2716
2757
|
}
|
|
2717
2758
|
),
|
|
2718
|
-
/* @__PURE__ */ (0,
|
|
2759
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
2719
2760
|
"div",
|
|
2720
2761
|
{
|
|
2721
2762
|
className: `flex items-center gap-2 px-3 py-1 border border-accent rounded-full text-xs font-medium`,
|
|
@@ -2724,16 +2765,16 @@ var TaskCard = ({
|
|
|
2724
2765
|
)
|
|
2725
2766
|
] })
|
|
2726
2767
|
] }),
|
|
2727
|
-
/* @__PURE__ */ (0,
|
|
2728
|
-
/* @__PURE__ */ (0,
|
|
2729
|
-
/* @__PURE__ */ (0,
|
|
2730
|
-
/* @__PURE__ */ (0,
|
|
2731
|
-
/* @__PURE__ */ (0,
|
|
2732
|
-
/* @__PURE__ */ (0,
|
|
2768
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("h4", { className: `font-semibold text-foreground mb-2 select-none-important ${task.status === "done" || task.status === "cancelled" ? "line-through opacity-60" : ""}`, children: task.name }),
|
|
2769
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: "text-sm text-muted-foreground mb-3 line-clamp-2 select-none-important", children: task.description }),
|
|
2770
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex items-center justify-between text-sm text-muted-foreground", children: [
|
|
2771
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex items-center gap-1", children: [
|
|
2772
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_lucide_react.User, { className: "h-4 w-4" }),
|
|
2773
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { children: task.assignee?.value?.name })
|
|
2733
2774
|
] }),
|
|
2734
|
-
/* @__PURE__ */ (0,
|
|
2735
|
-
/* @__PURE__ */ (0,
|
|
2736
|
-
/* @__PURE__ */ (0,
|
|
2775
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex items-center gap-1", children: [
|
|
2776
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_lucide_react.Calendar, { className: "h-4 w-4" }),
|
|
2777
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { children: new Date(task.createdAt).toLocaleDateString() })
|
|
2737
2778
|
] })
|
|
2738
2779
|
] })
|
|
2739
2780
|
]
|
|
@@ -2745,13 +2786,13 @@ var TaskCard = ({
|
|
|
2745
2786
|
var import_react = require("react");
|
|
2746
2787
|
|
|
2747
2788
|
// src/components/ui/dialog.tsx
|
|
2748
|
-
var
|
|
2789
|
+
var React5 = __toESM(require("react"));
|
|
2749
2790
|
var DialogPrimitive = __toESM(require("@radix-ui/react-dialog"));
|
|
2750
2791
|
var import_lucide_react2 = require("lucide-react");
|
|
2751
|
-
var
|
|
2792
|
+
var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
2752
2793
|
var Dialog = DialogPrimitive.Root;
|
|
2753
2794
|
var DialogPortal = DialogPrimitive.Portal;
|
|
2754
|
-
var DialogOverlay =
|
|
2795
|
+
var DialogOverlay = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
2755
2796
|
DialogPrimitive.Overlay,
|
|
2756
2797
|
{
|
|
2757
2798
|
ref,
|
|
@@ -2763,9 +2804,9 @@ var DialogOverlay = React3.forwardRef(({ className, ...props }, ref) => /* @__PU
|
|
|
2763
2804
|
}
|
|
2764
2805
|
));
|
|
2765
2806
|
DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
|
|
2766
|
-
var DialogContent =
|
|
2767
|
-
/* @__PURE__ */ (0,
|
|
2768
|
-
/* @__PURE__ */ (0,
|
|
2807
|
+
var DialogContent = React5.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(DialogPortal, { children: [
|
|
2808
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(DialogOverlay, {}),
|
|
2809
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
|
|
2769
2810
|
DialogPrimitive.Content,
|
|
2770
2811
|
{
|
|
2771
2812
|
ref,
|
|
@@ -2776,18 +2817,18 @@ var DialogContent = React3.forwardRef(({ className, children, ...props }, ref) =
|
|
|
2776
2817
|
...props,
|
|
2777
2818
|
children: [
|
|
2778
2819
|
children,
|
|
2779
|
-
/* @__PURE__ */ (0,
|
|
2780
|
-
/* @__PURE__ */ (0,
|
|
2781
|
-
/* @__PURE__ */ (0,
|
|
2820
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(DialogPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground", children: [
|
|
2821
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_lucide_react2.X, { className: "h-4 w-4" }),
|
|
2822
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "sr-only", children: "Close" })
|
|
2782
2823
|
] })
|
|
2783
2824
|
]
|
|
2784
2825
|
}
|
|
2785
2826
|
)
|
|
2786
2827
|
] }));
|
|
2787
2828
|
DialogContent.displayName = DialogPrimitive.Content.displayName;
|
|
2788
|
-
var DialogHeader = ({ className, ...props }) => /* @__PURE__ */ (0,
|
|
2829
|
+
var DialogHeader = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: cn("flex flex-col space-y-1.5 text-center sm:text-left", className), ...props });
|
|
2789
2830
|
DialogHeader.displayName = "DialogHeader";
|
|
2790
|
-
var DialogFooter = ({ className, ...props }) => /* @__PURE__ */ (0,
|
|
2831
|
+
var DialogFooter = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
2791
2832
|
"div",
|
|
2792
2833
|
{
|
|
2793
2834
|
className: cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className),
|
|
@@ -2795,7 +2836,7 @@ var DialogFooter = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_r
|
|
|
2795
2836
|
}
|
|
2796
2837
|
);
|
|
2797
2838
|
DialogFooter.displayName = "DialogFooter";
|
|
2798
|
-
var DialogTitle =
|
|
2839
|
+
var DialogTitle = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
2799
2840
|
DialogPrimitive.Title,
|
|
2800
2841
|
{
|
|
2801
2842
|
ref,
|
|
@@ -2804,7 +2845,7 @@ var DialogTitle = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
2804
2845
|
}
|
|
2805
2846
|
));
|
|
2806
2847
|
DialogTitle.displayName = DialogPrimitive.Title.displayName;
|
|
2807
|
-
var DialogDescription =
|
|
2848
|
+
var DialogDescription = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
2808
2849
|
DialogPrimitive.Description,
|
|
2809
2850
|
{
|
|
2810
2851
|
ref,
|
|
@@ -2814,47 +2855,6 @@ var DialogDescription = React3.forwardRef(({ className, ...props }, ref) => /* @
|
|
|
2814
2855
|
));
|
|
2815
2856
|
DialogDescription.displayName = DialogPrimitive.Description.displayName;
|
|
2816
2857
|
|
|
2817
|
-
// src/components/ui/input.tsx
|
|
2818
|
-
var React4 = __toESM(require("react"));
|
|
2819
|
-
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
2820
|
-
var Input = React4.forwardRef(
|
|
2821
|
-
({ className, type, ...props }, ref) => {
|
|
2822
|
-
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
2823
|
-
"input",
|
|
2824
|
-
{
|
|
2825
|
-
type,
|
|
2826
|
-
className: cn(
|
|
2827
|
-
"flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",
|
|
2828
|
-
className
|
|
2829
|
-
),
|
|
2830
|
-
ref,
|
|
2831
|
-
...props
|
|
2832
|
-
}
|
|
2833
|
-
);
|
|
2834
|
-
}
|
|
2835
|
-
);
|
|
2836
|
-
Input.displayName = "Input";
|
|
2837
|
-
|
|
2838
|
-
// src/components/ui/textarea.tsx
|
|
2839
|
-
var React5 = __toESM(require("react"));
|
|
2840
|
-
var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
2841
|
-
var Textarea = React5.forwardRef(
|
|
2842
|
-
({ className, ...props }, ref) => {
|
|
2843
|
-
return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
2844
|
-
"textarea",
|
|
2845
|
-
{
|
|
2846
|
-
className: cn(
|
|
2847
|
-
"flex min-h-[80px] w-full rounded border border-border bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
|
|
2848
|
-
className
|
|
2849
|
-
),
|
|
2850
|
-
ref,
|
|
2851
|
-
...props
|
|
2852
|
-
}
|
|
2853
|
-
);
|
|
2854
|
-
}
|
|
2855
|
-
);
|
|
2856
|
-
Textarea.displayName = "Textarea";
|
|
2857
|
-
|
|
2858
2858
|
// src/components/ui/select.tsx
|
|
2859
2859
|
var SelectPrimitive = __toESM(require("@radix-ui/react-select"));
|
|
2860
2860
|
var import_lucide_react3 = require("lucide-react");
|
|
@@ -3519,7 +3519,7 @@ var TaskSelect = ({
|
|
|
3519
3519
|
] });
|
|
3520
3520
|
};
|
|
3521
3521
|
|
|
3522
|
-
// src/components/
|
|
3522
|
+
// src/components/Foundry/SearchableSelect.tsx
|
|
3523
3523
|
var import_react5 = require("react");
|
|
3524
3524
|
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
3525
3525
|
var SearchableSelect = ({
|
|
@@ -3930,12 +3930,12 @@ var import_react13 = require("motion/react");
|
|
|
3930
3930
|
var import_lucide_react11 = require("lucide-react");
|
|
3931
3931
|
var DialogPrimitive2 = __toESM(require("@radix-ui/react-dialog"));
|
|
3932
3932
|
|
|
3933
|
-
// src/components/
|
|
3933
|
+
// src/components/Foundry/file-edit.tsx
|
|
3934
3934
|
var import_react11 = require("motion/react");
|
|
3935
3935
|
var import_lucide_react10 = require("lucide-react");
|
|
3936
3936
|
var import_react12 = require("react");
|
|
3937
3937
|
|
|
3938
|
-
// src/components/
|
|
3938
|
+
// src/components/Foundry/RichText/index.tsx
|
|
3939
3939
|
var import_LexicalAutoFocusPlugin = require("@payloadcms/richtext-lexical/lexical/react/LexicalAutoFocusPlugin");
|
|
3940
3940
|
var import_LexicalComposer = require("@payloadcms/richtext-lexical/lexical/react/LexicalComposer");
|
|
3941
3941
|
var import_LexicalContentEditable = require("@payloadcms/richtext-lexical/lexical/react/LexicalContentEditable");
|
|
@@ -3948,7 +3948,7 @@ var import_rich_text2 = require("@payloadcms/richtext-lexical/lexical/rich-text"
|
|
|
3948
3948
|
var import_LexicalOnChangePlugin = require("@payloadcms/richtext-lexical/lexical/react/LexicalOnChangePlugin");
|
|
3949
3949
|
var import_react10 = require("react");
|
|
3950
3950
|
|
|
3951
|
-
// src/components/
|
|
3951
|
+
// src/components/Foundry/RichText/plugins/toolbar-plugin.tsx
|
|
3952
3952
|
var import_LexicalComposerContext3 = require("@payloadcms/richtext-lexical/lexical/react/LexicalComposerContext");
|
|
3953
3953
|
var import_utils15 = require("@payloadcms/richtext-lexical/lexical/utils");
|
|
3954
3954
|
var import_lexical3 = require("@payloadcms/richtext-lexical/lexical");
|
|
@@ -3958,7 +3958,7 @@ var import_lucide_react9 = require("lucide-react");
|
|
|
3958
3958
|
var import_react9 = require("react");
|
|
3959
3959
|
var import_rich_text = require("@payloadcms/richtext-lexical/lexical/rich-text");
|
|
3960
3960
|
|
|
3961
|
-
// src/components/
|
|
3961
|
+
// src/components/Foundry/RichText/plugins/image-plugin.tsx
|
|
3962
3962
|
var import_LexicalComposerContext2 = require("@payloadcms/richtext-lexical/lexical/react/LexicalComposerContext");
|
|
3963
3963
|
var import_utils13 = require("@payloadcms/richtext-lexical/lexical/utils");
|
|
3964
3964
|
var import_lexical2 = require("@payloadcms/richtext-lexical/lexical");
|
|
@@ -3966,11 +3966,11 @@ var import_react8 = require("react");
|
|
|
3966
3966
|
var import_react_dialog = require("@radix-ui/react-dialog");
|
|
3967
3967
|
var import_client2 = require("@payloadcms/richtext-lexical/client");
|
|
3968
3968
|
|
|
3969
|
-
// src/components/
|
|
3969
|
+
// src/components/Foundry/RichText/nodes/image-node.tsx
|
|
3970
3970
|
var import_client = require("@payloadcms/richtext-lexical/client");
|
|
3971
3971
|
var import_bson_objectid = __toESM(require("bson-objectid"));
|
|
3972
3972
|
|
|
3973
|
-
// src/components/
|
|
3973
|
+
// src/components/Foundry/RichText/components/RawUploadComponent/index.tsx
|
|
3974
3974
|
var import_ui = require("@payloadcms/ui");
|
|
3975
3975
|
var import_react7 = require("react");
|
|
3976
3976
|
var import_LexicalComposerContext = require("@payloadcms/richtext-lexical/lexical/react/LexicalComposerContext");
|
|
@@ -3998,7 +3998,7 @@ var TooltipContent = React17.forwardRef(({ className, sideOffset = 4, ...props }
|
|
|
3998
3998
|
) }));
|
|
3999
3999
|
TooltipContent.displayName = TooltipPrimitive.Content.displayName;
|
|
4000
4000
|
|
|
4001
|
-
// src/components/
|
|
4001
|
+
// src/components/Foundry/RichText/components/RawUploadComponent/index.tsx
|
|
4002
4002
|
var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
4003
4003
|
var Component = (props) => {
|
|
4004
4004
|
const {
|
|
@@ -4094,7 +4094,7 @@ var Component = (props) => {
|
|
|
4094
4094
|
};
|
|
4095
4095
|
var RawUploadComponent_default = Component;
|
|
4096
4096
|
|
|
4097
|
-
// src/components/
|
|
4097
|
+
// src/components/Foundry/RichText/nodes/image-node.tsx
|
|
4098
4098
|
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
4099
4099
|
function $convertUploadElement(domNode) {
|
|
4100
4100
|
if (domNode.hasAttribute("data-lexical-upload-relation-to") && domNode.hasAttribute("data-lexical-upload-id")) {
|
|
@@ -4142,7 +4142,7 @@ function $createMyUploadNode(data) {
|
|
|
4142
4142
|
return new UploadNode({ data });
|
|
4143
4143
|
}
|
|
4144
4144
|
|
|
4145
|
-
// src/components/
|
|
4145
|
+
// src/components/Foundry/RichText/plugins/image-plugin.tsx
|
|
4146
4146
|
var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
4147
4147
|
var CAN_USE_DOM = typeof window !== "undefined" && typeof window.document !== "undefined" && typeof window.document.createElement !== "undefined";
|
|
4148
4148
|
var getDOMSelection = (targetWindow) => CAN_USE_DOM ? (targetWindow || window).getSelection() : null;
|
|
@@ -4375,7 +4375,7 @@ function getDragSelection(event) {
|
|
|
4375
4375
|
return range;
|
|
4376
4376
|
}
|
|
4377
4377
|
|
|
4378
|
-
// src/components/
|
|
4378
|
+
// src/components/Foundry/RichText/Icons/Bold.tsx
|
|
4379
4379
|
var import_jsx_runtime23 = require("react/jsx-runtime");
|
|
4380
4380
|
var Bold = () => {
|
|
4381
4381
|
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
@@ -4401,7 +4401,7 @@ var Bold = () => {
|
|
|
4401
4401
|
};
|
|
4402
4402
|
var Bold_default = Bold;
|
|
4403
4403
|
|
|
4404
|
-
// src/components/
|
|
4404
|
+
// src/components/Foundry/RichText/Icons/Italic.tsx
|
|
4405
4405
|
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
4406
4406
|
var Italic = () => {
|
|
4407
4407
|
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
@@ -4427,7 +4427,7 @@ var Italic = () => {
|
|
|
4427
4427
|
};
|
|
4428
4428
|
var Italic_default = Italic;
|
|
4429
4429
|
|
|
4430
|
-
// src/components/
|
|
4430
|
+
// src/components/Foundry/RichText/Icons/Underline.tsx
|
|
4431
4431
|
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
4432
4432
|
var Underline = () => {
|
|
4433
4433
|
return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
|
|
@@ -4456,7 +4456,7 @@ var Underline = () => {
|
|
|
4456
4456
|
};
|
|
4457
4457
|
var Underline_default = Underline;
|
|
4458
4458
|
|
|
4459
|
-
// src/components/
|
|
4459
|
+
// src/components/Foundry/RichText/Icons/StrikeThrough.tsx
|
|
4460
4460
|
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
4461
4461
|
var Strikethrough = () => {
|
|
4462
4462
|
return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
|
|
@@ -4485,7 +4485,7 @@ var Strikethrough = () => {
|
|
|
4485
4485
|
};
|
|
4486
4486
|
var StrikeThrough_default = Strikethrough;
|
|
4487
4487
|
|
|
4488
|
-
// src/components/
|
|
4488
|
+
// src/components/Foundry/RichText/Icons/Subscript.tsx
|
|
4489
4489
|
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
4490
4490
|
var Subscript = () => {
|
|
4491
4491
|
return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
@@ -4511,7 +4511,7 @@ var Subscript = () => {
|
|
|
4511
4511
|
};
|
|
4512
4512
|
var Subscript_default = Subscript;
|
|
4513
4513
|
|
|
4514
|
-
// src/components/
|
|
4514
|
+
// src/components/Foundry/RichText/Icons/Superscript.tsx
|
|
4515
4515
|
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
4516
4516
|
var Superscript = () => {
|
|
4517
4517
|
return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
@@ -4537,7 +4537,7 @@ var Superscript = () => {
|
|
|
4537
4537
|
};
|
|
4538
4538
|
var Superscript_default = Superscript;
|
|
4539
4539
|
|
|
4540
|
-
// src/components/
|
|
4540
|
+
// src/components/Foundry/RichText/Icons/Headings.tsx
|
|
4541
4541
|
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
4542
4542
|
var TextIcon = () => {
|
|
4543
4543
|
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
@@ -4769,7 +4769,7 @@ var DropdownMenuShortcut = ({ className, ...props }) => {
|
|
|
4769
4769
|
};
|
|
4770
4770
|
DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
|
|
4771
4771
|
|
|
4772
|
-
// src/components/
|
|
4772
|
+
// src/components/Foundry/RichText/plugins/toolbar-plugin.tsx
|
|
4773
4773
|
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
4774
4774
|
var LowPriority = 1;
|
|
4775
4775
|
function Divider() {
|
|
@@ -5159,7 +5159,7 @@ function ToolbarPlugin() {
|
|
|
5159
5159
|
] }) });
|
|
5160
5160
|
}
|
|
5161
5161
|
|
|
5162
|
-
// src/components/
|
|
5162
|
+
// src/components/Foundry/RichText/index.tsx
|
|
5163
5163
|
var import_LexicalComposerContext4 = require("@payloadcms/richtext-lexical/lexical/react/LexicalComposerContext");
|
|
5164
5164
|
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
5165
5165
|
var RichTextContent = ({ setValue, value, name, editable = true }) => {
|
|
@@ -5346,7 +5346,7 @@ function Calendar3({ className, classNames, showOutsideDays = true, ...props })
|
|
|
5346
5346
|
}
|
|
5347
5347
|
Calendar3.displayName = "Calendar";
|
|
5348
5348
|
|
|
5349
|
-
// src/components/
|
|
5349
|
+
// src/components/Foundry/file-edit.tsx
|
|
5350
5350
|
var import_jsx_runtime35 = require("react/jsx-runtime");
|
|
5351
5351
|
var isFileType = (doc) => {
|
|
5352
5352
|
return "mimeType" in doc && "url" in doc && !("format" in doc);
|
|
@@ -6913,15 +6913,16 @@ function useLocalStorage(key, initialValue) {
|
|
|
6913
6913
|
return initialValue;
|
|
6914
6914
|
}
|
|
6915
6915
|
});
|
|
6916
|
-
const setValue = (value) => {
|
|
6916
|
+
const setValue = (0, import_react19.useCallback)((value) => {
|
|
6917
6917
|
try {
|
|
6918
|
-
|
|
6918
|
+
const valueToStore = value instanceof Function ? value(storedValue) : value;
|
|
6919
|
+
setStoredValue(valueToStore);
|
|
6919
6920
|
if (typeof window !== "undefined") {
|
|
6920
|
-
window.localStorage.setItem(key, JSON.stringify(
|
|
6921
|
+
window.localStorage.setItem(key, JSON.stringify(valueToStore));
|
|
6921
6922
|
}
|
|
6922
6923
|
} catch (error) {
|
|
6923
6924
|
}
|
|
6924
|
-
};
|
|
6925
|
+
}, [key, storedValue]);
|
|
6925
6926
|
(0, import_react19.useEffect)(() => {
|
|
6926
6927
|
setValue(storedValue);
|
|
6927
6928
|
}, []);
|
|
@@ -7042,6 +7043,7 @@ function DashboardHero({
|
|
|
7042
7043
|
var import_lucide_react16 = require("lucide-react");
|
|
7043
7044
|
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
7044
7045
|
var SprintBoardView = ({
|
|
7046
|
+
projectId,
|
|
7045
7047
|
initialTasks = [],
|
|
7046
7048
|
initialEpics = [],
|
|
7047
7049
|
initialSprints = [],
|
|
@@ -7057,6 +7059,8 @@ var SprintBoardView = ({
|
|
|
7057
7059
|
onAddEpic,
|
|
7058
7060
|
// Sprint handlers
|
|
7059
7061
|
onAddSprint,
|
|
7062
|
+
onUpdateSprint,
|
|
7063
|
+
onDeleteSprint,
|
|
7060
7064
|
onAddComment,
|
|
7061
7065
|
onUploadFile,
|
|
7062
7066
|
onDeleteFile,
|
|
@@ -7068,9 +7072,16 @@ var SprintBoardView = ({
|
|
|
7068
7072
|
const [colleagues, setColleagues] = (0, import_react22.useState)([]);
|
|
7069
7073
|
const [users, setUsers] = (0, import_react22.useState)([]);
|
|
7070
7074
|
const [selectedSprintIds, setSelectedSprintIds] = useLocalStorage(
|
|
7071
|
-
|
|
7075
|
+
`sprintBoardView_selectedSprints${projectId ? `_${projectId}` : ""}`,
|
|
7072
7076
|
[]
|
|
7073
7077
|
);
|
|
7078
|
+
const [editingSprintId, setEditingSprintId] = (0, import_react22.useState)(null);
|
|
7079
|
+
const [sprintEditForm, setSprintEditForm] = (0, import_react22.useState)({
|
|
7080
|
+
name: "",
|
|
7081
|
+
description: "",
|
|
7082
|
+
startDate: "",
|
|
7083
|
+
endDate: ""
|
|
7084
|
+
});
|
|
7074
7085
|
const [isAddTaskModalOpen, setIsAddTaskModalOpen] = (0, import_react22.useState)(false);
|
|
7075
7086
|
const [isAddEpicModalOpen, setIsAddEpicModalOpen] = (0, import_react22.useState)(false);
|
|
7076
7087
|
const [isAddSprintModalOpen, setIsAddSprintModalOpen] = (0, import_react22.useState)(false);
|
|
@@ -7117,6 +7128,8 @@ var SprintBoardView = ({
|
|
|
7117
7128
|
const next = getHash(initialSprints);
|
|
7118
7129
|
if (next !== prevSprintHash.current) {
|
|
7119
7130
|
setSprints(initialSprints);
|
|
7131
|
+
const validIds = new Set(initialSprints.map((s) => s.id.toString()));
|
|
7132
|
+
setSelectedSprintIds(selectedSprintIds.filter((id) => validIds.has(id)));
|
|
7120
7133
|
prevSprintHash.current = next;
|
|
7121
7134
|
}
|
|
7122
7135
|
}, [initialSprints]);
|
|
@@ -7261,6 +7274,34 @@ var SprintBoardView = ({
|
|
|
7261
7274
|
onAddSprint?.(sprintData);
|
|
7262
7275
|
setIsAddSprintModalOpen(false);
|
|
7263
7276
|
};
|
|
7277
|
+
const handleSprintEditStart = (sprint) => {
|
|
7278
|
+
setEditingSprintId(sprint.id.toString());
|
|
7279
|
+
setSprintEditForm({
|
|
7280
|
+
name: sprint.name,
|
|
7281
|
+
description: sprint.description || "",
|
|
7282
|
+
startDate: sprint.startDate ? new Date(sprint.startDate).toISOString().split("T")[0] : "",
|
|
7283
|
+
endDate: sprint.endDate ? new Date(sprint.endDate).toISOString().split("T")[0] : ""
|
|
7284
|
+
});
|
|
7285
|
+
};
|
|
7286
|
+
const handleSprintEditSave = () => {
|
|
7287
|
+
if (!editingSprintId) return;
|
|
7288
|
+
onUpdateSprint?.(editingSprintId, sprintEditForm);
|
|
7289
|
+
setSprints(
|
|
7290
|
+
(prev) => prev.map(
|
|
7291
|
+
(s) => s.id.toString() === editingSprintId ? { ...s, ...sprintEditForm } : s
|
|
7292
|
+
)
|
|
7293
|
+
);
|
|
7294
|
+
setEditingSprintId(null);
|
|
7295
|
+
};
|
|
7296
|
+
const handleSprintEditCancel = () => {
|
|
7297
|
+
setEditingSprintId(null);
|
|
7298
|
+
setSprintEditForm({ name: "", description: "", startDate: "", endDate: "" });
|
|
7299
|
+
};
|
|
7300
|
+
const handleDeleteSprint = (sprintId) => {
|
|
7301
|
+
onDeleteSprint?.(sprintId);
|
|
7302
|
+
setSprints((prev) => prev.filter((s) => s.id.toString() !== sprintId));
|
|
7303
|
+
setSelectedSprintIds(selectedSprintIds.filter((id) => id !== sprintId));
|
|
7304
|
+
};
|
|
7264
7305
|
const handleTaskClick = (task) => {
|
|
7265
7306
|
setSelectedTask(task);
|
|
7266
7307
|
onTaskClick?.(task);
|
|
@@ -7391,37 +7432,138 @@ var SprintBoardView = ({
|
|
|
7391
7432
|
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
7392
7433
|
"div",
|
|
7393
7434
|
{
|
|
7394
|
-
className: `p-3 rounded-lg border
|
|
7395
|
-
|
|
7396
|
-
|
|
7397
|
-
|
|
7398
|
-
|
|
7399
|
-
|
|
7400
|
-
|
|
7401
|
-
|
|
7402
|
-
|
|
7403
|
-
|
|
7404
|
-
|
|
7405
|
-
|
|
7406
|
-
|
|
7407
|
-
|
|
7408
|
-
|
|
7409
|
-
|
|
7410
|
-
|
|
7411
|
-
|
|
7412
|
-
|
|
7413
|
-
]
|
|
7435
|
+
className: `p-3 rounded-lg border transition-all ${isSelected ? "bg-primary/10 border-primary/30 ring-1 ring-primary/20" : canSelect ? "bg-card border-border" : "bg-muted/30 border-border/30 opacity-60"}`,
|
|
7436
|
+
children: editingSprintId === sprint.id.toString() ? /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "space-y-3", children: [
|
|
7437
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
7438
|
+
Input,
|
|
7439
|
+
{
|
|
7440
|
+
value: sprintEditForm.name,
|
|
7441
|
+
onChange: (e) => setSprintEditForm((prev) => ({ ...prev, name: e.target.value })),
|
|
7442
|
+
className: "text-sm",
|
|
7443
|
+
placeholder: "Sprint name"
|
|
7444
|
+
}
|
|
7445
|
+
),
|
|
7446
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
7447
|
+
Textarea,
|
|
7448
|
+
{
|
|
7449
|
+
value: sprintEditForm.description,
|
|
7450
|
+
onChange: (e) => setSprintEditForm((prev) => ({
|
|
7451
|
+
...prev,
|
|
7452
|
+
description: e.target.value
|
|
7453
|
+
})),
|
|
7454
|
+
className: "text-sm min-h-[60px]",
|
|
7455
|
+
placeholder: "Sprint description"
|
|
7456
|
+
}
|
|
7457
|
+
),
|
|
7458
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "grid grid-cols-2 gap-2", children: [
|
|
7459
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { children: [
|
|
7460
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("label", { className: "text-xs text-muted-foreground block mb-1", children: "Start Date" }),
|
|
7461
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
7462
|
+
Input,
|
|
7463
|
+
{
|
|
7464
|
+
type: "date",
|
|
7465
|
+
value: sprintEditForm.startDate,
|
|
7466
|
+
onChange: (e) => setSprintEditForm((prev) => ({
|
|
7467
|
+
...prev,
|
|
7468
|
+
startDate: e.target.value
|
|
7469
|
+
})),
|
|
7470
|
+
className: "text-sm"
|
|
7471
|
+
}
|
|
7472
|
+
)
|
|
7473
|
+
] }),
|
|
7474
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { children: [
|
|
7475
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("label", { className: "text-xs text-muted-foreground block mb-1", children: "End Date" }),
|
|
7476
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
7477
|
+
Input,
|
|
7478
|
+
{
|
|
7479
|
+
type: "date",
|
|
7480
|
+
value: sprintEditForm.endDate,
|
|
7481
|
+
onChange: (e) => setSprintEditForm((prev) => ({
|
|
7482
|
+
...prev,
|
|
7483
|
+
endDate: e.target.value
|
|
7484
|
+
})),
|
|
7485
|
+
className: "text-sm"
|
|
7486
|
+
}
|
|
7487
|
+
)
|
|
7414
7488
|
] })
|
|
7415
7489
|
] }),
|
|
7416
|
-
/* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "
|
|
7417
|
-
/* @__PURE__ */ (0, import_jsx_runtime42.
|
|
7418
|
-
|
|
7419
|
-
"div",
|
|
7490
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "flex gap-2", children: [
|
|
7491
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
|
|
7492
|
+
Button,
|
|
7420
7493
|
{
|
|
7421
|
-
|
|
7494
|
+
size: "sm",
|
|
7495
|
+
onClick: handleSprintEditSave,
|
|
7496
|
+
className: "flex-1",
|
|
7497
|
+
children: [
|
|
7498
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_lucide_react16.Check, { className: "h-3 w-3 mr-1" }),
|
|
7499
|
+
"Save"
|
|
7500
|
+
]
|
|
7501
|
+
}
|
|
7502
|
+
),
|
|
7503
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
|
|
7504
|
+
Button,
|
|
7505
|
+
{
|
|
7506
|
+
size: "sm",
|
|
7507
|
+
variant: "outline",
|
|
7508
|
+
onClick: handleSprintEditCancel,
|
|
7509
|
+
className: "flex-1",
|
|
7510
|
+
children: [
|
|
7511
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_lucide_react16.X, { className: "h-3 w-3 mr-1" }),
|
|
7512
|
+
"Cancel"
|
|
7513
|
+
]
|
|
7422
7514
|
}
|
|
7423
7515
|
)
|
|
7424
7516
|
] })
|
|
7517
|
+
] }) : /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { children: [
|
|
7518
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "flex items-start justify-between", children: [
|
|
7519
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "flex-1 min-w-0", children: [
|
|
7520
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)("p", { className: "font-medium text-sm text-foreground truncate", children: sprint.name }),
|
|
7521
|
+
sprint.description && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("p", { className: "text-xs text-muted-foreground line-clamp-2 mt-1", children: sprint.description }),
|
|
7522
|
+
sprint.startDate && sprint.endDate && /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "flex items-center gap-1 mt-2 text-xs text-muted-foreground", children: [
|
|
7523
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_lucide_react16.Calendar, { className: "h-3 w-3" }),
|
|
7524
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("span", { children: [
|
|
7525
|
+
new Date(sprint.startDate).toLocaleDateString(),
|
|
7526
|
+
" -",
|
|
7527
|
+
" ",
|
|
7528
|
+
new Date(sprint.endDate).toLocaleDateString()
|
|
7529
|
+
] })
|
|
7530
|
+
] })
|
|
7531
|
+
] }),
|
|
7532
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "ml-2 flex items-center gap-1", children: [
|
|
7533
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Badge, { variant: "secondary", className: "text-xs", children: taskCount }),
|
|
7534
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
7535
|
+
Button,
|
|
7536
|
+
{
|
|
7537
|
+
size: "sm",
|
|
7538
|
+
variant: "ghost",
|
|
7539
|
+
onClick: () => handleSprintEditStart(sprint),
|
|
7540
|
+
className: "h-6 w-6 p-0",
|
|
7541
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_lucide_react16.Edit2, { className: "h-3 w-3" })
|
|
7542
|
+
}
|
|
7543
|
+
),
|
|
7544
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
7545
|
+
Button,
|
|
7546
|
+
{
|
|
7547
|
+
size: "sm",
|
|
7548
|
+
variant: "ghost",
|
|
7549
|
+
onClick: () => handleDeleteSprint(sprint.id.toString()),
|
|
7550
|
+
className: "h-6 w-6 p-0 text-destructive hover:text-destructive",
|
|
7551
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_lucide_react16.Trash2, { className: "h-3 w-3" })
|
|
7552
|
+
}
|
|
7553
|
+
)
|
|
7554
|
+
] })
|
|
7555
|
+
] }),
|
|
7556
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
7557
|
+
Button,
|
|
7558
|
+
{
|
|
7559
|
+
variant: isSelected ? "default" : "outline",
|
|
7560
|
+
size: "sm",
|
|
7561
|
+
className: "w-full mt-2 text-xs h-7",
|
|
7562
|
+
onClick: () => toggleSprintView(sprint.id.toString()),
|
|
7563
|
+
disabled: !isSelected && selectedSprintIds.length >= 3,
|
|
7564
|
+
children: isSelected ? "Deselect" : selectedSprintIds.length >= 3 ? "Limit reached" : "Select"
|
|
7565
|
+
}
|
|
7566
|
+
)
|
|
7425
7567
|
] })
|
|
7426
7568
|
},
|
|
7427
7569
|
sprint.id
|