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
package/dist/chunk-G7SFQSC7.mjs
DELETED
|
@@ -1,306 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
import {
|
|
5
|
-
KnowledgeView
|
|
6
|
-
} from "./chunk-CQKCEXF2.mjs";
|
|
7
|
-
import {
|
|
8
|
-
AppCard
|
|
9
|
-
} from "./chunk-XGHUG2WQ.mjs";
|
|
10
|
-
import {
|
|
11
|
-
mockApps,
|
|
12
|
-
mockRecentFiles,
|
|
13
|
-
mockTutorials
|
|
14
|
-
} from "./chunk-EMDTCDYI.mjs";
|
|
15
|
-
import {
|
|
16
|
-
ProjectCard
|
|
17
|
-
} from "./chunk-WHCZTD2K.mjs";
|
|
18
|
-
import {
|
|
19
|
-
FileList
|
|
20
|
-
} from "./chunk-QE3XE3LW.mjs";
|
|
21
|
-
import {
|
|
22
|
-
DashboardHero
|
|
23
|
-
} from "./chunk-QPO45D6F.mjs";
|
|
24
|
-
import {
|
|
25
|
-
DigitalColleageusLayout
|
|
26
|
-
} from "./chunk-IWSATDRG.mjs";
|
|
27
|
-
import {
|
|
28
|
-
mockNotifications,
|
|
29
|
-
mockSidebarItems
|
|
30
|
-
} from "./chunk-G4WW3ZTX.mjs";
|
|
31
|
-
|
|
32
|
-
// src/components/DigitalColleagues/Pages/dashboardpage.tsx
|
|
33
|
-
import { useState } from "react";
|
|
34
|
-
import { motion, AnimatePresence } from "motion/react";
|
|
35
|
-
import { Bot } from "lucide-react";
|
|
36
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
37
|
-
function Home({
|
|
38
|
-
title = "Digital Colleagues",
|
|
39
|
-
businessUnits,
|
|
40
|
-
projects,
|
|
41
|
-
fileCount,
|
|
42
|
-
teamMemberCount,
|
|
43
|
-
onCreateProject,
|
|
44
|
-
onOpenProject,
|
|
45
|
-
sidebarItems,
|
|
46
|
-
initialColleagues,
|
|
47
|
-
users,
|
|
48
|
-
onColleagueAdd,
|
|
49
|
-
onColleagueEdit,
|
|
50
|
-
onColleagueDelete
|
|
51
|
-
}) {
|
|
52
|
-
const [activeTab, setActiveTab] = useState("home");
|
|
53
|
-
const [currentBusinessUnit, setCurrentBusinessUnit] = useState(businessUnits[0]);
|
|
54
|
-
const handleAppOpen = (app) => {
|
|
55
|
-
console.log("Opening app:", app.name);
|
|
56
|
-
};
|
|
57
|
-
const handleAppFavorite = (app) => {
|
|
58
|
-
console.log("Favoriting app:", app.name);
|
|
59
|
-
};
|
|
60
|
-
const handleFileClick = (file) => {
|
|
61
|
-
console.log("Opening file:", file.name);
|
|
62
|
-
};
|
|
63
|
-
const handleFileShare = (file) => {
|
|
64
|
-
console.log("Sharing file:", file.name);
|
|
65
|
-
};
|
|
66
|
-
const handleProjectOpen = (project) => {
|
|
67
|
-
console.log("Opening project:", project.name);
|
|
68
|
-
onOpenProject(project);
|
|
69
|
-
};
|
|
70
|
-
const handleProjectShare = (project) => {
|
|
71
|
-
console.log("Sharing project:", project.name);
|
|
72
|
-
};
|
|
73
|
-
const handleBusinessUnitChange = (unit) => {
|
|
74
|
-
setCurrentBusinessUnit(unit);
|
|
75
|
-
console.log("Business unit changed to:", unit.name);
|
|
76
|
-
};
|
|
77
|
-
const handleCopilotClick = () => {
|
|
78
|
-
console.log("Copilot clicked - navigating to chat");
|
|
79
|
-
setActiveTab("chat");
|
|
80
|
-
};
|
|
81
|
-
const handleNotificationRemove = (id) => {
|
|
82
|
-
console.log("Notification removed:", id);
|
|
83
|
-
};
|
|
84
|
-
const handleRemoveAll = () => {
|
|
85
|
-
console.log("All notifications removed");
|
|
86
|
-
};
|
|
87
|
-
const renderTabContent = () => {
|
|
88
|
-
switch (activeTab) {
|
|
89
|
-
case "home":
|
|
90
|
-
return /* @__PURE__ */ jsxs("div", { className: "px-2 md:px-4 py-4 space-y-8", children: [
|
|
91
|
-
/* @__PURE__ */ jsxs("section", { className: "text-center py-12", children: [
|
|
92
|
-
/* @__PURE__ */ jsxs("h1", { className: "text-4xl font-bold mb-4", children: [
|
|
93
|
-
"Welcome to the ",
|
|
94
|
-
currentBusinessUnit.name,
|
|
95
|
-
" team"
|
|
96
|
-
] }),
|
|
97
|
-
/* @__PURE__ */ jsx("p", { className: "text-xl text-muted-foreground mb-8", children: "This is your collaborative workspace for productivity and knowledge sharing." })
|
|
98
|
-
] }),
|
|
99
|
-
/* @__PURE__ */ jsxs("section", { className: "grid grid-cols-1 md:grid-cols-3 gap-6", children: [
|
|
100
|
-
/* @__PURE__ */ jsxs("div", { className: "bg-card p-6 rounded-lg border", children: [
|
|
101
|
-
/* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold mb-2", children: "Projects" }),
|
|
102
|
-
/* @__PURE__ */ jsx("p", { className: "text-3xl font-bold text-primary", children: projects.length }),
|
|
103
|
-
/* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground", children: "Active projects" })
|
|
104
|
-
] }),
|
|
105
|
-
/* @__PURE__ */ jsxs("div", { className: "bg-card p-6 rounded-lg border", children: [
|
|
106
|
-
/* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold mb-2", children: "Team Members" }),
|
|
107
|
-
/* @__PURE__ */ jsx("p", { className: "text-3xl font-bold text-primary", children: teamMemberCount }),
|
|
108
|
-
/* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground", children: "Collaborators" })
|
|
109
|
-
] }),
|
|
110
|
-
/* @__PURE__ */ jsxs("div", { className: "bg-card p-6 rounded-lg border", children: [
|
|
111
|
-
/* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold mb-2", children: "Files" }),
|
|
112
|
-
/* @__PURE__ */ jsx("p", { className: "text-3xl font-bold text-primary", children: fileCount }),
|
|
113
|
-
/* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground", children: "Project files" })
|
|
114
|
-
] })
|
|
115
|
-
] }),
|
|
116
|
-
/* @__PURE__ */ jsx(
|
|
117
|
-
DashboardHero,
|
|
118
|
-
{
|
|
119
|
-
title: `Chat with your team`,
|
|
120
|
-
gradient: "bg-gradient-to-r from-pink-600 via-red-600 to-orange-600",
|
|
121
|
-
primaryAction: {
|
|
122
|
-
label: "Go",
|
|
123
|
-
onClick: () => setActiveTab("chat")
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
)
|
|
127
|
-
] });
|
|
128
|
-
case "colleagues":
|
|
129
|
-
return /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx("h1", { children: "Colleagues" }) });
|
|
130
|
-
case "chat":
|
|
131
|
-
return /* @__PURE__ */ jsxs("div", { className: "px-2 md:px-4 py-4 space-y-8", children: [
|
|
132
|
-
/* @__PURE__ */ jsxs("section", { className: "text-center py-12", children: [
|
|
133
|
-
/* @__PURE__ */ jsx("h1", { className: "text-4xl font-bold mb-4", children: "Team Chat" }),
|
|
134
|
-
/* @__PURE__ */ jsxs("p", { className: "text-xl text-muted-foreground mb-8", children: [
|
|
135
|
-
"Connect with your ",
|
|
136
|
-
currentBusinessUnit.name,
|
|
137
|
-
" team members and collaborate in real-time."
|
|
138
|
-
] })
|
|
139
|
-
] }),
|
|
140
|
-
/* @__PURE__ */ jsx(
|
|
141
|
-
DashboardHero,
|
|
142
|
-
{
|
|
143
|
-
title: `Launch Full Chat Interface`,
|
|
144
|
-
description: `Access the complete chat experience with AI assistance.`,
|
|
145
|
-
gradient: "bg-gradient-to-r from-blue-600 via-purple-600 to-pink-600",
|
|
146
|
-
primaryAction: {
|
|
147
|
-
label: "Open Chat",
|
|
148
|
-
onClick: () => console.log("Open full chat interface")
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
)
|
|
152
|
-
] });
|
|
153
|
-
case "apps":
|
|
154
|
-
return /* @__PURE__ */ jsxs("div", { className: "space-y-8", children: [
|
|
155
|
-
/* @__PURE__ */ jsx(
|
|
156
|
-
DashboardHero,
|
|
157
|
-
{
|
|
158
|
-
title: "Creative Apps Collection",
|
|
159
|
-
description: "Discover our full suite of professional design and creative applications.",
|
|
160
|
-
gradient: "bg-gradient-to-r from-pink-600 via-red-600 to-orange-600",
|
|
161
|
-
primaryAction: {
|
|
162
|
-
label: "Install Desktop App",
|
|
163
|
-
onClick: () => console.log("Install desktop app clicked")
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
),
|
|
167
|
-
/* @__PURE__ */ jsxs("section", { className: "space-y-4", children: [
|
|
168
|
-
/* @__PURE__ */ jsx("h2", { className: "text-2xl font-semibold", children: "New Releases" }),
|
|
169
|
-
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 gap-3 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4", children: mockApps.filter((app) => app.new).map((app) => /* @__PURE__ */ jsx(
|
|
170
|
-
AppCard,
|
|
171
|
-
{
|
|
172
|
-
app,
|
|
173
|
-
showProgress: true,
|
|
174
|
-
onOpen: handleAppOpen,
|
|
175
|
-
onFavorite: handleAppFavorite
|
|
176
|
-
},
|
|
177
|
-
app.name
|
|
178
|
-
)) })
|
|
179
|
-
] }),
|
|
180
|
-
/* @__PURE__ */ jsxs("section", { className: "space-y-4", children: [
|
|
181
|
-
/* @__PURE__ */ jsx("h2", { className: "text-2xl font-semibold", children: "All Apps" }),
|
|
182
|
-
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 gap-3 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4", children: mockApps.map((app) => /* @__PURE__ */ jsx(
|
|
183
|
-
AppCard,
|
|
184
|
-
{
|
|
185
|
-
app,
|
|
186
|
-
onOpen: handleAppOpen,
|
|
187
|
-
onFavorite: handleAppFavorite
|
|
188
|
-
},
|
|
189
|
-
app.name
|
|
190
|
-
)) })
|
|
191
|
-
] })
|
|
192
|
-
] });
|
|
193
|
-
case "knowledge":
|
|
194
|
-
return /* @__PURE__ */ jsx(KnowledgeView, {});
|
|
195
|
-
case "files":
|
|
196
|
-
return /* @__PURE__ */ jsxs("div", { className: "px-2 md:px-4 py-4 space-y-8", children: [
|
|
197
|
-
/* @__PURE__ */ jsx(
|
|
198
|
-
DashboardHero,
|
|
199
|
-
{
|
|
200
|
-
title: "Your Creative Files",
|
|
201
|
-
description: "Access, manage, and share all your design files in one place.",
|
|
202
|
-
gradient: "bg-gradient-to-r from-teal-600 via-cyan-600 to-blue-600",
|
|
203
|
-
primaryAction: {
|
|
204
|
-
label: "Upload Files",
|
|
205
|
-
onClick: () => console.log("Upload files clicked")
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
),
|
|
209
|
-
/* @__PURE__ */ jsxs("section", { className: "space-y-4", children: [
|
|
210
|
-
/* @__PURE__ */ jsx("div", { className: "flex items-center justify-between", children: /* @__PURE__ */ jsx("h2", { className: "text-2xl font-semibold", children: "All Files" }) }),
|
|
211
|
-
/* @__PURE__ */ jsx(FileList, { files: mockRecentFiles, onFileClick: handleFileClick })
|
|
212
|
-
] })
|
|
213
|
-
] });
|
|
214
|
-
case "projects":
|
|
215
|
-
return /* @__PURE__ */ jsxs("div", { className: "px-2 md:px-4 py-4 space-y-8", children: [
|
|
216
|
-
/* @__PURE__ */ jsx(
|
|
217
|
-
DashboardHero,
|
|
218
|
-
{
|
|
219
|
-
title: "Project Management",
|
|
220
|
-
description: "Organize your creative work into projects and collaborate with your team.",
|
|
221
|
-
gradient: "bg-gradient-to-r from-purple-600 via-violet-600 to-indigo-600",
|
|
222
|
-
primaryAction: {
|
|
223
|
-
label: "New Project",
|
|
224
|
-
onClick: onCreateProject
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
),
|
|
228
|
-
/* @__PURE__ */ jsxs("section", { className: "space-y-4", children: [
|
|
229
|
-
/* @__PURE__ */ jsx("h2", { className: "text-2xl font-semibold", children: "Active Projects" }),
|
|
230
|
-
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 gap-3 md:grid-cols-2 lg:grid-cols-3", children: projects.map((project) => /* @__PURE__ */ jsx(
|
|
231
|
-
ProjectCard,
|
|
232
|
-
{
|
|
233
|
-
project,
|
|
234
|
-
onOpen: handleProjectOpen,
|
|
235
|
-
onShare: handleProjectShare
|
|
236
|
-
},
|
|
237
|
-
project.name
|
|
238
|
-
)) })
|
|
239
|
-
] })
|
|
240
|
-
] });
|
|
241
|
-
case "learn":
|
|
242
|
-
return /* @__PURE__ */ jsxs("div", { className: "space-y-8", children: [
|
|
243
|
-
/* @__PURE__ */ jsx(
|
|
244
|
-
DashboardHero,
|
|
245
|
-
{
|
|
246
|
-
title: "Learn & Grow",
|
|
247
|
-
description: "Expand your creative skills with tutorials, courses, and resources.",
|
|
248
|
-
gradient: "bg-gradient-to-r from-green-600 via-emerald-600 to-teal-600",
|
|
249
|
-
primaryAction: {
|
|
250
|
-
label: "Upgrade to Pro",
|
|
251
|
-
onClick: () => console.log("Upgrade to pro clicked")
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
),
|
|
255
|
-
/* @__PURE__ */ jsxs("section", { className: "space-y-4", children: [
|
|
256
|
-
/* @__PURE__ */ jsx("h2", { className: "text-2xl font-semibold", children: "Featured Tutorials" }),
|
|
257
|
-
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3", children: mockTutorials.slice(0, 3).map((tutorial) => /* @__PURE__ */ jsxs("div", { className: "rounded-3xl border p-6", children: [
|
|
258
|
-
/* @__PURE__ */ jsx("h3", { className: "font-semibold mb-2", children: tutorial.title }),
|
|
259
|
-
/* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground mb-4", children: tutorial.description }),
|
|
260
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between text-sm", children: [
|
|
261
|
-
/* @__PURE__ */ jsx("span", { children: tutorial.duration }),
|
|
262
|
-
/* @__PURE__ */ jsx("span", { children: tutorial.level })
|
|
263
|
-
] })
|
|
264
|
-
] }, tutorial.title)) })
|
|
265
|
-
] })
|
|
266
|
-
] });
|
|
267
|
-
default:
|
|
268
|
-
return null;
|
|
269
|
-
}
|
|
270
|
-
};
|
|
271
|
-
return /* @__PURE__ */ jsx(
|
|
272
|
-
DigitalColleageusLayout,
|
|
273
|
-
{
|
|
274
|
-
sidebarItems: mockSidebarItems,
|
|
275
|
-
title,
|
|
276
|
-
notifications: mockNotifications,
|
|
277
|
-
businessUnits,
|
|
278
|
-
currentBusinessUnit,
|
|
279
|
-
onBusinessUnitChange: handleBusinessUnitChange,
|
|
280
|
-
activeTab,
|
|
281
|
-
onTabChange: setActiveTab,
|
|
282
|
-
showTabs: true,
|
|
283
|
-
onActionClick: handleCopilotClick,
|
|
284
|
-
actionIcon: /* @__PURE__ */ jsx(Bot, { className: "mr-2 h-4 w-4" }),
|
|
285
|
-
actionText: "Start Chat",
|
|
286
|
-
onNotificationRemove: handleNotificationRemove,
|
|
287
|
-
onRemoveAll: handleRemoveAll,
|
|
288
|
-
children: /* @__PURE__ */ jsx(AnimatePresence, { mode: "wait", children: /* @__PURE__ */ jsx(
|
|
289
|
-
motion.div,
|
|
290
|
-
{
|
|
291
|
-
className: "flex-1 h-full",
|
|
292
|
-
initial: { opacity: 0, y: 10 },
|
|
293
|
-
animate: { opacity: 1, y: 0 },
|
|
294
|
-
exit: { opacity: 0, y: -10 },
|
|
295
|
-
transition: { duration: 0.2 },
|
|
296
|
-
children: renderTabContent()
|
|
297
|
-
},
|
|
298
|
-
activeTab
|
|
299
|
-
) })
|
|
300
|
-
}
|
|
301
|
-
);
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
export {
|
|
305
|
-
Home
|
|
306
|
-
};
|
package/dist/chunk-IWG2URAU.mjs
DELETED
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
// src/components/DigitalColleagues/ManagementSidebar.tsx
|
|
5
|
-
import { Calendar, Kanban, FileText, Target } from "lucide-react";
|
|
6
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
-
var viewConfig = [
|
|
8
|
-
{
|
|
9
|
-
key: "kanban",
|
|
10
|
-
icon: Kanban,
|
|
11
|
-
label: "Kanban",
|
|
12
|
-
color: "bg-primary",
|
|
13
|
-
title: "Kanban View"
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
key: "planning",
|
|
17
|
-
icon: Calendar,
|
|
18
|
-
label: "Planning",
|
|
19
|
-
color: "bg-brand-plum",
|
|
20
|
-
title: "Planning View",
|
|
21
|
-
hiddenOnMobile: true
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
key: "epics",
|
|
25
|
-
icon: Target,
|
|
26
|
-
label: "Epics",
|
|
27
|
-
color: "bg-brand-orange",
|
|
28
|
-
title: "Epic Planning"
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
key: "files",
|
|
32
|
-
icon: FileText,
|
|
33
|
-
label: "Files",
|
|
34
|
-
color: "bg-brand-green",
|
|
35
|
-
title: "Files"
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
key: "tasks",
|
|
39
|
-
icon: Calendar,
|
|
40
|
-
label: "Tasks",
|
|
41
|
-
color: "bg-brand-cyan",
|
|
42
|
-
title: "Tasks"
|
|
43
|
-
}
|
|
44
|
-
];
|
|
45
|
-
var ManagementSidebar = ({
|
|
46
|
-
currentView,
|
|
47
|
-
onViewChange,
|
|
48
|
-
children
|
|
49
|
-
}) => {
|
|
50
|
-
return /* @__PURE__ */ jsxs("div", { className: "flex w-full h-screen", children: [
|
|
51
|
-
/* @__PURE__ */ jsx("div", { className: "w-12 h-full bg-sidebar-background flex flex-col flex-shrink-0", children: viewConfig.map((view) => {
|
|
52
|
-
const Icon = view.icon;
|
|
53
|
-
const isActive = currentView === view.key;
|
|
54
|
-
return /* @__PURE__ */ jsxs(
|
|
55
|
-
"button",
|
|
56
|
-
{
|
|
57
|
-
onClick: () => onViewChange(view.key),
|
|
58
|
-
className: `flex-1 w-12 flex items-center justify-center text-sidebar-foreground transition-all duration-200 relative overflow-hidden group/btn ${isActive ? view.color : `${view.color}/75 hover:${view.color}`} ${view.hiddenOnMobile ? "hidden md:flex" : ""} hover:w-28 hover:justify-start hover:pl-3`,
|
|
59
|
-
title: view.title,
|
|
60
|
-
children: [
|
|
61
|
-
/* @__PURE__ */ jsx(Icon, { className: "h-4 w-4 flex-shrink-0" }),
|
|
62
|
-
/* @__PURE__ */ jsx("span", { className: "text-xs font-medium whitespace-nowrap opacity-0 group-hover/btn:opacity-100 transition-opacity duration-200 absolute left-8", children: view.label })
|
|
63
|
-
]
|
|
64
|
-
},
|
|
65
|
-
view.key
|
|
66
|
-
);
|
|
67
|
-
}) }),
|
|
68
|
-
/* @__PURE__ */ jsx("div", { className: "flex-1 min-w-0 px-4 md:px-6 h-full overflow-auto", children: /* @__PURE__ */ jsx("div", { className: "w-full h-full", children }) })
|
|
69
|
-
] });
|
|
70
|
-
};
|
|
71
|
-
|
|
72
|
-
export {
|
|
73
|
-
ManagementSidebar
|
|
74
|
-
};
|
package/dist/chunk-IWSATDRG.mjs
DELETED
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
import {
|
|
5
|
-
AppHeader
|
|
6
|
-
} from "./chunk-2O772NVT.mjs";
|
|
7
|
-
import {
|
|
8
|
-
AppSidebar
|
|
9
|
-
} from "./chunk-V6YEUAIH.mjs";
|
|
10
|
-
import {
|
|
11
|
-
cn
|
|
12
|
-
} from "./chunk-KZPGX6CG.mjs";
|
|
13
|
-
|
|
14
|
-
// src/components/DigitalColleagues/DigitalColleageusLayout.tsx
|
|
15
|
-
import { useState } from "react";
|
|
16
|
-
import { User } from "lucide-react";
|
|
17
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
18
|
-
var businessUnits = [
|
|
19
|
-
{
|
|
20
|
-
id: "copilot",
|
|
21
|
-
name: "Peronal Copilot",
|
|
22
|
-
description: "Your personal AI assistant for all tasks",
|
|
23
|
-
icon: /* @__PURE__ */ jsx(User, { className: "h-4 w-4" }),
|
|
24
|
-
color: "bg-orange-600",
|
|
25
|
-
accentColor: "text-orange-600"
|
|
26
|
-
}
|
|
27
|
-
];
|
|
28
|
-
function DigitalColleageusLayout({
|
|
29
|
-
sidebarItems,
|
|
30
|
-
children,
|
|
31
|
-
title = "Digital Colleagues",
|
|
32
|
-
notifications = [],
|
|
33
|
-
currentBusinessUnit = businessUnits[0],
|
|
34
|
-
// Default to Design unit
|
|
35
|
-
onBusinessUnitChange,
|
|
36
|
-
onSearch,
|
|
37
|
-
businessUnits: businessUnitsProp = businessUnits,
|
|
38
|
-
activeTab,
|
|
39
|
-
onTabChange,
|
|
40
|
-
showTabs = false,
|
|
41
|
-
onActionClick,
|
|
42
|
-
actionIcon,
|
|
43
|
-
actionText = "Action",
|
|
44
|
-
onNotificationRemove,
|
|
45
|
-
onRemoveAll,
|
|
46
|
-
logo = "/headerlogo.png",
|
|
47
|
-
appName = "Nuvia",
|
|
48
|
-
tagline = "Collaboration Platform",
|
|
49
|
-
sidebarInitiallyClosed = false
|
|
50
|
-
}) {
|
|
51
|
-
const [sidebarOpen, setSidebarOpen] = useState(!sidebarInitiallyClosed);
|
|
52
|
-
const [mobileMenuOpen, setMobileMenuOpen] = useState(false);
|
|
53
|
-
const [localBusinessUnit, setLocalBusinessUnit] = useState(currentBusinessUnit);
|
|
54
|
-
const handleBusinessUnitChange = (unit) => {
|
|
55
|
-
setLocalBusinessUnit(unit);
|
|
56
|
-
onBusinessUnitChange?.(unit);
|
|
57
|
-
};
|
|
58
|
-
return /* @__PURE__ */ jsxs("div", { className: "flex h-full flex-col overflow-hidden rounded-xl bg-background w-[]", children: [
|
|
59
|
-
mobileMenuOpen && /* @__PURE__ */ jsx("div", { className: "fixed inset-0 z-40 bg-black/50 md:hidden", onClick: () => setMobileMenuOpen(false) }),
|
|
60
|
-
/* @__PURE__ */ jsx("div", { className: "md:hidden", children: /* @__PURE__ */ jsx(
|
|
61
|
-
AppSidebar,
|
|
62
|
-
{
|
|
63
|
-
items: sidebarItems,
|
|
64
|
-
isOpen: mobileMenuOpen,
|
|
65
|
-
isMobile: true,
|
|
66
|
-
onClose: () => setMobileMenuOpen(false),
|
|
67
|
-
currentBusinessUnit: localBusinessUnit,
|
|
68
|
-
onBusinessUnitChange: handleBusinessUnitChange,
|
|
69
|
-
onSearch,
|
|
70
|
-
logo,
|
|
71
|
-
appName,
|
|
72
|
-
tagline
|
|
73
|
-
}
|
|
74
|
-
) }),
|
|
75
|
-
/* @__PURE__ */ jsx("div", { className: "hidden md:block", children: /* @__PURE__ */ jsx(
|
|
76
|
-
AppSidebar,
|
|
77
|
-
{
|
|
78
|
-
items: sidebarItems,
|
|
79
|
-
isOpen: sidebarOpen,
|
|
80
|
-
isMobile: false,
|
|
81
|
-
currentBusinessUnit: localBusinessUnit,
|
|
82
|
-
onBusinessUnitChange: handleBusinessUnitChange,
|
|
83
|
-
onSearch,
|
|
84
|
-
logo,
|
|
85
|
-
appName,
|
|
86
|
-
tagline
|
|
87
|
-
}
|
|
88
|
-
) }),
|
|
89
|
-
/* @__PURE__ */ jsxs("div", { className: cn("min-h-screen fixed w-full transition-all duration-300 ease-in-out", sidebarOpen ? "md:pl-64" : "md:pl-0"), children: [
|
|
90
|
-
/* @__PURE__ */ jsx(
|
|
91
|
-
AppHeader,
|
|
92
|
-
{
|
|
93
|
-
title,
|
|
94
|
-
notifications,
|
|
95
|
-
onToggleSidebar: () => setSidebarOpen(!sidebarOpen),
|
|
96
|
-
onToggleMobileMenu: () => setMobileMenuOpen(true),
|
|
97
|
-
sidebarOpen,
|
|
98
|
-
activeTab,
|
|
99
|
-
onTabChange,
|
|
100
|
-
showTabs,
|
|
101
|
-
onActionClick,
|
|
102
|
-
actionIcon,
|
|
103
|
-
actionText,
|
|
104
|
-
onNotificationRemove,
|
|
105
|
-
onRemoveAll,
|
|
106
|
-
logo,
|
|
107
|
-
appName,
|
|
108
|
-
tagline
|
|
109
|
-
}
|
|
110
|
-
),
|
|
111
|
-
/* @__PURE__ */ jsx("main", { className: "flex-1 p-0 flex flex-col h-[calc(100vh-4rem)] overflow-hidden", children })
|
|
112
|
-
] })
|
|
113
|
-
] });
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
export {
|
|
117
|
-
DigitalColleageusLayout
|
|
118
|
-
};
|
package/dist/chunk-JRNDRMIC.mjs
DELETED
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
DropdownMenu,
|
|
3
|
-
DropdownMenuContent,
|
|
4
|
-
DropdownMenuItem,
|
|
5
|
-
DropdownMenuLabel,
|
|
6
|
-
DropdownMenuSeparator,
|
|
7
|
-
DropdownMenuTrigger
|
|
8
|
-
} from "./chunk-C3RENDHG.mjs";
|
|
9
|
-
import {
|
|
10
|
-
Avatar,
|
|
11
|
-
AvatarFallback,
|
|
12
|
-
AvatarImage
|
|
13
|
-
} from "./chunk-DNKWV24K.mjs";
|
|
14
|
-
import {
|
|
15
|
-
Button
|
|
16
|
-
} from "./chunk-I6LSWXZW.mjs";
|
|
17
|
-
|
|
18
|
-
// src/components/DigitalColleagues/DashboardHeader.tsx
|
|
19
|
-
import { Bell, Settings, User, Menu } from "lucide-react";
|
|
20
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
21
|
-
var DashboardHeader = ({
|
|
22
|
-
isRightSidebarOpen,
|
|
23
|
-
onToggleRightSidebar,
|
|
24
|
-
onToggleLeftSidebar,
|
|
25
|
-
onToggleNotifications
|
|
26
|
-
}) => {
|
|
27
|
-
return /* @__PURE__ */ jsx("header", { className: "border-b bg-white/80 backdrop-blur-md dark:bg-slate-900/80 sticky top-0 z-50", children: /* @__PURE__ */ jsx("div", { className: "container mx-auto px-6 py-4", children: /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
28
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-center space-x-4", children: [
|
|
29
|
-
onToggleLeftSidebar && /* @__PURE__ */ jsx(Button, { variant: "ghost", size: "icon", className: "md:hidden", onClick: onToggleLeftSidebar, children: /* @__PURE__ */ jsx(Menu, { className: "h-5 w-5" }) }),
|
|
30
|
-
/* @__PURE__ */ jsx("h1", { className: "text-2xl font-bold bg-gradient-to-r from-blue-600 to-purple-600 bg-clip-text text-transparent", children: "Cortex Copilot" })
|
|
31
|
-
] }),
|
|
32
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-center space-x-4", children: [
|
|
33
|
-
/* @__PURE__ */ jsxs(
|
|
34
|
-
Button,
|
|
35
|
-
{
|
|
36
|
-
variant: "ghost",
|
|
37
|
-
size: "icon",
|
|
38
|
-
className: "relative",
|
|
39
|
-
onClick: onToggleNotifications,
|
|
40
|
-
children: [
|
|
41
|
-
/* @__PURE__ */ jsx(Bell, { className: "h-5 w-5" }),
|
|
42
|
-
/* @__PURE__ */ jsx("span", { className: "absolute -top-1 -right-1 h-3 w-3 bg-red-500 rounded-full text-xs text-white flex items-center justify-center", children: "3" })
|
|
43
|
-
]
|
|
44
|
-
}
|
|
45
|
-
),
|
|
46
|
-
/* @__PURE__ */ jsxs(DropdownMenu, { children: [
|
|
47
|
-
/* @__PURE__ */ jsx(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsx(Button, { variant: "ghost", className: "relative h-10 w-10 rounded-full", children: /* @__PURE__ */ jsxs(Avatar, { className: "h-10 w-10", children: [
|
|
48
|
-
/* @__PURE__ */ jsx(AvatarImage, { src: "/avatars/01.png", alt: "@user" }),
|
|
49
|
-
/* @__PURE__ */ jsx(AvatarFallback, { children: "JD" })
|
|
50
|
-
] }) }) }),
|
|
51
|
-
/* @__PURE__ */ jsxs(DropdownMenuContent, { className: "w-56", align: "end", forceMount: true, children: [
|
|
52
|
-
/* @__PURE__ */ jsx(DropdownMenuLabel, { className: "font-normal", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col space-y-1", children: [
|
|
53
|
-
/* @__PURE__ */ jsx("p", { className: "text-sm font-medium leading-none", children: "John Doe" }),
|
|
54
|
-
/* @__PURE__ */ jsx("p", { className: "text-xs leading-none text-muted-foreground", children: "john.doe@company.com" })
|
|
55
|
-
] }) }),
|
|
56
|
-
/* @__PURE__ */ jsx(DropdownMenuSeparator, {}),
|
|
57
|
-
/* @__PURE__ */ jsxs(DropdownMenuItem, { children: [
|
|
58
|
-
/* @__PURE__ */ jsx(User, { className: "mr-2 h-4 w-4" }),
|
|
59
|
-
/* @__PURE__ */ jsx("span", { children: "Profile" })
|
|
60
|
-
] }),
|
|
61
|
-
/* @__PURE__ */ jsxs(DropdownMenuItem, { children: [
|
|
62
|
-
/* @__PURE__ */ jsx(Settings, { className: "mr-2 h-4 w-4" }),
|
|
63
|
-
/* @__PURE__ */ jsx("span", { children: "Settings" })
|
|
64
|
-
] })
|
|
65
|
-
] })
|
|
66
|
-
] })
|
|
67
|
-
] })
|
|
68
|
-
] }) }) });
|
|
69
|
-
};
|
|
70
|
-
|
|
71
|
-
export {
|
|
72
|
-
DashboardHeader
|
|
73
|
-
};
|