cortex-react-components 3.2.2 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-KCPLIAIF.mjs → chunk-2D3EN2AX.mjs} +2 -2
- package/dist/{chunk-PRMR24PY.mjs → chunk-36W3BORX.mjs} +3 -3
- package/dist/{chunk-PTDP7PZK.mjs → chunk-3G7VLQG5.mjs} +1 -1
- package/dist/{chunk-6R3QP53O.mjs → chunk-4JHX6BW6.mjs} +2 -2
- package/dist/{chunk-XDV7AVPQ.mjs → chunk-4JSM5VYZ.mjs} +2 -2
- package/dist/{chunk-K6N5K2A7.mjs → chunk-4P5Q6UXF.mjs} +4 -4
- package/dist/{chunk-UNEYYMLL.mjs → chunk-6NRBLKM4.mjs} +2 -2
- package/dist/{chunk-5Z7JRCOM.mjs → chunk-7ZCW4XMR.mjs} +1 -1
- package/dist/{chunk-V4I6U2SE.mjs → chunk-AVNBD2X5.mjs} +1 -1
- package/dist/{chunk-YOKF4FEM.mjs → chunk-BMZG77IE.mjs} +1 -1
- package/dist/chunk-BXEALHGJ.mjs +142 -0
- package/dist/{chunk-G7SFQSC7.mjs → chunk-C444TUVA.mjs} +6 -6
- package/dist/{chunk-JD7SR5V3.mjs → chunk-CONYNX7Y.mjs} +63 -7
- 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-ZBCZGWDU.mjs → chunk-EC5I4CIO.mjs} +2 -2
- package/dist/{chunk-ORWAJNJO.mjs → chunk-EDYFH3EJ.mjs} +4 -4
- package/dist/{chunk-EQYJUXKZ.mjs → chunk-EGCBZZGV.mjs} +1 -1
- package/dist/{chunk-PAXCURFR.mjs → chunk-EGZL4DVZ.mjs} +1 -1
- package/dist/{chunk-G46GZ57S.mjs → chunk-EJJITIA3.mjs} +2 -2
- package/dist/{chunk-LVLEZS7Q.mjs → chunk-ETG5N2OG.mjs} +1 -1
- package/dist/{chunk-25EF7VEC.mjs → chunk-F7JPOQIC.mjs} +1 -1
- package/dist/{chunk-RQGM66Q4.mjs → chunk-FABRRO2B.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-VMDVXNP5.mjs → chunk-GGOGMLBY.mjs} +14 -14
- package/dist/chunk-GXN5ZNBZ.mjs +135 -0
- package/dist/{chunk-3R2LCGLI.mjs → chunk-HLEMFDTD.mjs} +1 -1
- package/dist/{chunk-S27KJUKF.mjs → chunk-HMVIQFLN.mjs} +1 -1
- package/dist/{chunk-CIFGBEFV.mjs → chunk-HNBHBFLY.mjs} +1 -1
- package/dist/{chunk-O633TXQG.mjs → chunk-HUZCVQP7.mjs} +1 -1
- package/dist/{chunk-MPFWWJYT.mjs → chunk-IDMTHUC4.mjs} +2 -2
- package/dist/{chunk-2L6AWG6R.mjs → chunk-IJ3E6ZXF.mjs} +2 -2
- package/dist/{chunk-G5N5MCLS.mjs → chunk-IVOPNDSN.mjs} +5 -5
- package/dist/{chunk-PFA2P52R.mjs → chunk-JFXWP3RQ.mjs} +1 -1
- package/dist/{chunk-UYUP2DAL.mjs → chunk-KHFPDDTO.mjs} +1 -1
- package/dist/{chunk-6GO5N6ZP.mjs → chunk-KIZUBPPQ.mjs} +1 -1
- package/dist/{chunk-QE3XE3LW.mjs → chunk-KOK3VCJZ.mjs} +1 -1
- package/dist/{chunk-YKX5AGFQ.mjs → chunk-L4SNPNYU.mjs} +2 -2
- package/dist/{chunk-CIXAM7LW.mjs → chunk-LGGOEYDB.mjs} +13 -13
- package/dist/{chunk-SSF2CAW7.mjs → chunk-LM4J7254.mjs} +1 -1
- package/dist/{chunk-FECAR2TE.mjs → chunk-LPK5R32M.mjs} +1 -1
- package/dist/{chunk-UHOCECJY.mjs → chunk-LQQ6C7FN.mjs} +4 -4
- package/dist/{chunk-22E2TZBE.mjs → chunk-LTDXFLCW.mjs} +1 -1
- package/dist/{chunk-QOYK2HBL.mjs → chunk-MZVEK6A5.mjs} +13 -13
- package/dist/{chunk-3W5H36HK.mjs → chunk-NNH7EC5Z.mjs} +1 -1
- package/dist/{chunk-P4P6J2SW.mjs → chunk-NQMJXY3N.mjs} +2 -2
- package/dist/{chunk-ZWV2O6CK.mjs → chunk-NVSA5BFC.mjs} +3 -3
- package/dist/{chunk-UFBLZW2N.mjs → chunk-OCVHSV6Z.mjs} +2 -2
- package/dist/{chunk-673GELPP.mjs → chunk-OXP3LJ53.mjs} +1 -1
- package/dist/{chunk-5OGDBGXG.mjs → chunk-PJZ5PWKP.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-J5ZETWHG.mjs → chunk-Q6CUUDUR.mjs} +2 -2
- package/dist/{chunk-USEHRJFR.mjs → chunk-QETXXFRW.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-YUBPY7L4.mjs → chunk-RFQKQLNT.mjs} +5 -5
- package/dist/{chunk-QUGB53Z3.mjs → chunk-RV4VRLGN.mjs} +1 -1
- package/dist/{chunk-TLCSKAWQ.mjs → chunk-SM57JU3T.mjs} +5 -5
- package/dist/{chunk-B63AROCU.mjs → chunk-SMX6BH2N.mjs} +1 -1
- package/dist/{chunk-L3SZS7PC.mjs → chunk-SNUES6JA.mjs} +1 -1
- package/dist/{chunk-5GFRQ4NR.mjs → chunk-SSDRUPMS.mjs} +1 -1
- package/dist/{chunk-GDMWNNYC.mjs → chunk-SSE3MQDP.mjs} +1 -1
- package/dist/{chunk-UJI3Y73K.mjs → chunk-TDOOQIMQ.mjs} +2 -2
- package/dist/{chunk-EJJNYV7C.mjs → chunk-U6ZFUE5O.mjs} +2 -2
- package/dist/{chunk-2363JAWB.mjs → chunk-URC56DLC.mjs} +1 -1
- package/dist/{chunk-HI6QOZHR.mjs → chunk-V6VAVPKH.mjs} +1 -1
- package/dist/{chunk-4PFDNMLD.mjs → chunk-WEIPDZOJ.mjs} +1 -1
- package/dist/{chunk-PIGOOCU6.mjs → chunk-WJTVZ6CB.mjs} +1 -1
- package/dist/{chunk-56NFUKPK.mjs → chunk-WX5QYPGU.mjs} +1 -1
- package/dist/{chunk-LQPN7L4Z.mjs → chunk-XFJPL6FS.mjs} +1 -1
- package/dist/{chunk-4PC77ZEN.mjs → chunk-XZFMQXYJ.mjs} +1 -1
- package/dist/{chunk-TIGSOXUA.mjs → chunk-YD7Q7IZX.mjs} +1 -1
- package/dist/{chunk-AOSO2JVA.mjs → chunk-YUZYLKBD.mjs} +1 -1
- package/dist/{chunk-CVH5TDS6.mjs → chunk-YY4VLYYH.mjs} +4 -4
- package/dist/{chunk-HK2DQNBU.mjs → chunk-Z54HOXSV.mjs} +4 -4
- package/dist/{chunk-TP5AUT7W.mjs → chunk-ZJB7AFL5.mjs} +2 -2
- 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 +10 -10
- package/dist/components/Blocks/CallToAction.mjs +10 -10
- package/dist/components/Blocks/CollapsibleArea.mjs +11 -11
- package/dist/components/Blocks/Content.mjs +11 -11
- package/dist/components/Blocks/FeaturesBlock.mjs +10 -10
- package/dist/components/Blocks/ImageBlock.mjs +3 -3
- package/dist/components/Blocks/MediaBlock.mjs +3 -3
- package/dist/components/Blocks/RelatedPosts.mjs +12 -12
- package/dist/components/Blocks/RenderBlocks.mjs +13 -13
- package/dist/components/Blocks/ReusableContentBlock.mjs +13 -13
- package/dist/components/Blocks/index.mjs +20 -20
- package/dist/components/CRM/index.mjs +3 -3
- package/dist/components/Cards/ContentCard.mjs +10 -10
- package/dist/components/Cards/FeatureCard.mjs +10 -10
- package/dist/components/Cards/index.mjs +16 -16
- package/dist/components/Chat/ChatInterface.mjs +11 -11
- package/dist/components/Chat/CopilotInterface.mjs +12 -12
- package/dist/components/Chat/PartTypes/MessageHandler.mjs +9 -9
- package/dist/components/Chat/PartTypes/index.mjs +11 -11
- package/dist/components/Chat/demo-long-messages.mjs +12 -12
- package/dist/components/Chat/demo-tests.mjs +12 -12
- package/dist/components/Chat/demo.mjs +12 -12
- package/dist/components/Chat/example-usage.mjs +13 -13
- package/dist/components/Chat/example-with-vercel-ai.mjs +12 -12
- package/dist/components/Chat/index.mjs +20 -20
- package/dist/components/DigitalColleagues/MainPage.mjs +2 -2
- package/dist/components/DigitalColleagues/Pages/dashboardpage.js +18 -18
- package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +16 -16
- package/dist/components/DigitalColleagues/Views/ColleaguesView.d.ts +1 -1
- package/dist/components/DigitalColleagues/Views/ColleaguesView.js +1 -1
- package/dist/components/DigitalColleagues/Views/ColleaguesView.mjs +3 -3
- package/dist/components/DigitalColleagues/Views/index.js +21 -21
- package/dist/components/DigitalColleagues/Views/index.mjs +28 -28
- package/dist/components/DigitalColleagues/digital-colleague-clone.d.ts +1 -1
- package/dist/components/DigitalColleagues/index.js +20 -20
- package/dist/components/DigitalColleagues/index.mjs +45 -45
- package/dist/components/{Foundary → Foundry}/AppSidebarLeft.js +3 -3
- package/dist/components/{Foundary → Foundry}/AppSidebarLeft.mjs +1 -1
- 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 +1 -1
- package/dist/components/{Foundary → Foundry}/Knowledge/add-team-context.js +3 -3
- package/dist/components/{Foundary → Foundry}/Knowledge/add-team-context.mjs +1 -1
- 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/{Foundary → Foundry}/MainPage.mjs +4 -4
- package/dist/components/{Foundary → Foundry}/ManagementSidebar.js +1 -1
- package/dist/components/{Foundary → Foundry}/ManagementSidebar.mjs +1 -1
- package/dist/components/{Foundary → Foundry}/Pages/dashboardpage.js +912 -598
- package/dist/components/{Foundary → Foundry}/Pages/dashboardpage.mjs +34 -32
- 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/{Foundary → Foundry}/SearchableSelect.mjs +1 -1
- package/dist/components/{Foundary → Foundry}/Views/ColleaguesView.d.ts +4 -2
- package/dist/components/{Foundary → Foundry}/Views/ColleaguesView.js +521 -207
- package/dist/components/{Foundary → Foundry}/Views/ColleaguesView.mjs +10 -8
- 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 +18 -18
- package/dist/components/{Foundary → Foundry}/Views/TeamsIndexView.js +4 -4
- package/dist/components/{Foundary → Foundry}/Views/TeamsIndexView.mjs +2 -2
- package/dist/components/{Foundary → Foundry}/Views/index.js +2169 -1855
- package/dist/components/{Foundary → Foundry}/Views/index.mjs +42 -40
- package/dist/components/Foundry/add-colleague-to-team-form.d.ts +10 -0
- package/dist/components/Foundry/add-colleague-to-team-form.js +2762 -0
- package/dist/components/Foundry/add-colleague-to-team-form.mjs +18 -0
- 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/{Foundary → Foundry}/colleague-type-selection.mjs +1 -1
- package/dist/components/Foundry/digital-colleague-selection.d.ts +9 -0
- package/dist/components/Foundry/digital-colleague-selection.js +2787 -0
- package/dist/components/Foundry/digital-colleague-selection.mjs +19 -0
- 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 +13 -13
- 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 +5 -5
- package/dist/components/{Foundary → Foundry}/foundary-layout.mjs +3 -3
- 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 +2248 -1930
- package/dist/components/{Foundary → Foundry}/index.mjs +67 -59
- package/dist/components/{Foundary → Foundry}/knowledge-browser.js +24 -24
- package/dist/components/{Foundary → Foundry}/knowledge-browser.mjs +15 -15
- package/dist/components/Foundry/knowledge-search.css +917 -0
- package/dist/components/{Foundary → Foundry}/knowledge-search.js +2 -2
- package/dist/components/{Foundary → Foundry}/knowledge-search.mjs +1 -1
- package/dist/components/Foundry/team-form.css +917 -0
- 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.js +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +11 -11
- package/dist/components/HeaderFooter/index.mjs +6 -6
- package/dist/components/Heros/HighImpact/index.mjs +11 -11
- package/dist/components/Heros/LowImpact/index.mjs +11 -11
- package/dist/components/Heros/MediumImpact/index.mjs +11 -11
- package/dist/components/Heros/RenderHero.mjs +14 -14
- package/dist/components/Heros/index.mjs +16 -16
- package/dist/components/Layouts/OutputHeaderFooter.mjs +13 -13
- package/dist/components/Layouts/Print.mjs +17 -17
- package/dist/components/Layouts/SlideShow.mjs +19 -19
- package/dist/components/Layouts/index.mjs +20 -20
- package/dist/components/Payload/CollectionArchive/index.mjs +4 -4
- package/dist/components/Payload/Media/index.mjs +2 -2
- package/dist/components/Payload/PayloadCard/index.mjs +3 -3
- package/dist/components/Payload/RichText/index.mjs +10 -10
- package/dist/components/Payload/RichText/serialize.mjs +10 -10
- package/dist/components/Payload/index.mjs +12 -12
- 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/EpicsView.d.ts +1 -1
- package/dist/components/Projects/FileView.d.ts +1 -1
- package/dist/components/Projects/FileView.js +19 -19
- package/dist/components/Projects/FileView.mjs +15 -15
- package/dist/components/Projects/KanbanBoardView.d.ts +1 -1
- package/dist/components/Projects/KanbanBoardView.js +20 -20
- package/dist/components/Projects/KanbanBoardView.mjs +18 -18
- package/dist/components/Projects/PlanningView.d.ts +1 -1
- package/dist/components/Projects/ProjectPage.d.ts +1 -1
- package/dist/components/Projects/ProjectPage.js +19 -19
- package/dist/components/Projects/ProjectPage.mjs +20 -20
- package/dist/components/Projects/ProjectView.d.ts +1 -1
- package/dist/components/Projects/ProjectView.js +20 -20
- package/dist/components/Projects/ProjectView.mjs +20 -20
- package/dist/components/Projects/ProjectsIndexView.d.ts +1 -1
- package/dist/components/Projects/SprintBoardView.d.ts +1 -1
- package/dist/components/Projects/SprintBoardView.js +20 -20
- package/dist/components/Projects/SprintBoardView.mjs +18 -18
- 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 +17 -17
- 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/file-list.d.ts +1 -1
- package/dist/components/Projects/file-list.js +19 -19
- package/dist/components/Projects/file-list.mjs +14 -14
- package/dist/components/Projects/index.js +20 -20
- package/dist/components/Projects/index.mjs +21 -21
- package/dist/components/dc-temp/index.js +19 -19
- package/dist/components/dc-temp/index.mjs +19 -19
- package/dist/components/dc-temp/mock-data.d.ts +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.js +2279 -1961
- package/dist/components/index.mjs +159 -151
- package/dist/decorators/Intranet.mjs +97 -95
- package/dist/index.js +2505 -2187
- package/dist/index.mjs +170 -162
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.mjs +13 -13
- package/dist/pages/Documentation.mjs +2 -2
- package/dist/pages/IndexPage.mjs +20 -20
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/LandingPage.mjs +109 -107
- package/dist/pages/Page.mjs +17 -17
- package/dist/pages/Publish.mjs +98 -96
- package/dist/pages/Website.mjs +21 -21
- package/dist/sections/AboutSection.mjs +12 -12
- package/dist/sections/BlogDetail.mjs +11 -11
- package/dist/sections/BlogList.mjs +12 -12
- package/dist/sections/ContactSection.mjs +12 -12
- package/dist/sections/PageSections.mjs +107 -105
- package/dist/sections/PricingSection.mjs +12 -12
- package/dist/sections/ServiceDetail.mjs +11 -11
- package/dist/sections/ServiceDetailSection.mjs +11 -11
- package/dist/sections/ServiceSection.mjs +98 -96
- package/dist/sections/form/index.mjs +2 -2
- package/dist/sections/index.mjs +107 -105
- package/package.json +1 -1
- package/dist/components/Foundary/Views/KnowledgeView.docs.js +0 -2
- package/dist/components/Foundary/Views/KnowledgeView.docs.mjs +0 -7
- package/dist/{chunk-NKRBXAPF.mjs → chunk-2YHN7ZCJ.mjs} +3 -3
- package/dist/{chunk-OT2SSFKS.mjs → chunk-GSG52WU5.mjs} +3 -3
- package/dist/{chunk-L666B5DN.mjs → chunk-GZGWWPCP.mjs} +12 -12
- /package/dist/components/{Foundary → Foundry}/AppSidebarLeft.css +0 -0
- /package/dist/components/{Foundary → Foundry}/AppSidebarLeft.d.ts +0 -0
- /package/dist/components/{Foundary → Foundry}/DashboardHeader.css +0 -0
- /package/dist/components/{Foundary → 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/{Foundary → Foundry}/MainPage.css +0 -0
- /package/dist/components/{Foundary → Foundry}/MainPage.d.ts +0 -0
- /package/dist/components/{Foundary → Foundry}/ManagementSidebar.d.ts +0 -0
- /package/dist/components/{Foundary → 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/{Foundary → Foundry}/RichText/components/RawUploadComponent/index.css +0 -0
- /package/dist/components/{Foundary → Foundry}/RichText/components/RawUploadComponent/index.d.ts +0 -0
- /package/dist/components/{Foundary → 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/{Foundary → Foundry}/SearchableSelect.css +0 -0
- /package/dist/components/{Foundary → Foundry}/SearchableSelect.d.ts +0 -0
- /package/dist/components/{Foundary → Foundry}/Views/ColleaguesView.css +0 -0
- /package/dist/components/{Foundary → 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 → Foundry}/Views/index.css +0 -0
- /package/dist/components/{Foundary → Foundry}/Views/index.d.ts +0 -0
- /package/dist/components/{Foundary/colleague-card.css → Foundry/add-colleague-to-team-form.css} +0 -0
- /package/dist/components/{Foundary/colleague-form.css → Foundry/colleague-card.css} +0 -0
- /package/dist/components/{Foundary → Foundry}/colleague-card.d.ts +0 -0
- /package/dist/components/{Foundary/colleague-type-selection.css → Foundry/colleague-form.css} +0 -0
- /package/dist/components/{Foundary → Foundry}/colleague-form.d.ts +0 -0
- /package/dist/components/{Foundary/document-edit.css → Foundry/colleague-type-selection.css} +0 -0
- /package/dist/components/{Foundary → Foundry}/colleague-type-selection.d.ts +0 -0
- /package/dist/components/{Foundary/document-preview-examples.css → Foundry/digital-colleague-selection.css} +0 -0
- /package/dist/components/{Foundary/document-preview.css → Foundry/document-edit.css} +0 -0
- /package/dist/components/{Foundary → Foundry}/document-edit.d.ts +0 -0
- /package/dist/components/{Foundary/file-edit.css → Foundry/document-preview-examples.css} +0 -0
- /package/dist/components/{Foundary → Foundry}/document-preview-examples.d.ts +0 -0
- /package/dist/components/{Foundary/foundary-clone.css → Foundry/document-preview.css} +0 -0
- /package/dist/components/{Foundary → Foundry}/document-preview.d.ts +0 -0
- /package/dist/components/{Foundary/foundary-layout.css → Foundry/file-edit.css} +0 -0
- /package/dist/components/{Foundary → Foundry}/file-edit.d.ts +0 -0
- /package/dist/components/{Foundary/foundary-options.css → Foundry/foundary-clone.css} +0 -0
- /package/dist/components/{Foundary → Foundry}/foundary-clone.d.ts +0 -0
- /package/dist/components/{Foundary/index.css → Foundry/foundary-layout.css} +0 -0
- /package/dist/components/{Foundary/knowledge-browser.css → Foundry/foundary-options.css} +0 -0
- /package/dist/components/{Foundary/knowledge-search.css → Foundry/index.css} +0 -0
- /package/dist/components/{Foundary/team-form.css → Foundry/knowledge-browser.css} +0 -0
- /package/dist/components/{Foundary → Foundry}/knowledge-browser.d.ts +0 -0
- /package/dist/components/{Foundary → Foundry}/knowledge-search.d.ts +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/{Foundary → Foundry}/types.d.ts +0 -0
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
cn
|
|
12
12
|
} from "./chunk-KZPGX6CG.mjs";
|
|
13
13
|
|
|
14
|
-
// src/components/
|
|
14
|
+
// src/components/Foundry/foundary-layout.tsx
|
|
15
15
|
import { useState } from "react";
|
|
16
16
|
import { User } from "lucide-react";
|
|
17
17
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -25,7 +25,7 @@ var businessUnits = [
|
|
|
25
25
|
accentColor: "text-orange-600"
|
|
26
26
|
}
|
|
27
27
|
];
|
|
28
|
-
function
|
|
28
|
+
function FoundryLayout({
|
|
29
29
|
sidebarItems,
|
|
30
30
|
children,
|
|
31
31
|
title = "Digital Colleagues",
|
|
@@ -132,5 +132,5 @@ function FoundaryLayout({
|
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
export {
|
|
135
|
-
|
|
135
|
+
FoundryLayout
|
|
136
136
|
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
RichText_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-Z54HOXSV.mjs";
|
|
7
7
|
import {
|
|
8
8
|
EditableField
|
|
9
9
|
} from "./chunk-ZFUPXIGR.mjs";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
Button
|
|
15
15
|
} from "./chunk-I6LSWXZW.mjs";
|
|
16
16
|
|
|
17
|
-
// src/components/
|
|
17
|
+
// src/components/Foundry/file-edit.tsx
|
|
18
18
|
import { motion } from "motion/react";
|
|
19
19
|
import { File, FileText, Type, Loader2, X, Save } from "lucide-react";
|
|
20
20
|
import { useEffect, useRef, useState } from "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
$createMyUploadNode
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZJB7AFL5.mjs";
|
|
4
4
|
import {
|
|
5
5
|
Dialog,
|
|
6
6
|
DialogContent,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
Button
|
|
15
15
|
} from "./chunk-I6LSWXZW.mjs";
|
|
16
16
|
|
|
17
|
-
// src/components/
|
|
17
|
+
// src/components/Foundry/RichText/plugins/image-plugin.tsx
|
|
18
18
|
import { useLexicalComposerContext } from "@payloadcms/richtext-lexical/lexical/react/LexicalComposerContext";
|
|
19
19
|
import { mergeRegister } from "@payloadcms/richtext-lexical/lexical/utils";
|
|
20
20
|
import {
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
AddKnowledgeModal
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HNBHBFLY.mjs";
|
|
7
7
|
import {
|
|
8
8
|
ManageTeamContextModal
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-F7JPOQIC.mjs";
|
|
10
10
|
import {
|
|
11
11
|
KnowledgeBrowser
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-NQMJXY3N.mjs";
|
|
13
13
|
import {
|
|
14
14
|
DropdownMenu,
|
|
15
15
|
DropdownMenuContent,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
Button
|
|
21
21
|
} from "./chunk-I6LSWXZW.mjs";
|
|
22
22
|
|
|
23
|
-
// src/components/
|
|
23
|
+
// src/components/Foundry/Views/KnowledgeView.tsx
|
|
24
24
|
import { useEffect, useState } from "react";
|
|
25
25
|
import { ChevronDown, Loader2 } from "lucide-react";
|
|
26
26
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
import {
|
|
5
5
|
HeaderTop,
|
|
6
6
|
TitleSlide
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-QETXXFRW.mjs";
|
|
8
8
|
import {
|
|
9
9
|
RenderBlocks
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-EDYFH3EJ.mjs";
|
|
11
11
|
import {
|
|
12
12
|
getTableOfContents
|
|
13
13
|
} from "./chunk-BXLYIIII.mjs";
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
import {
|
|
5
|
+
Avatar,
|
|
6
|
+
AvatarFallback
|
|
7
|
+
} from "./chunk-DNKWV24K.mjs";
|
|
8
|
+
import {
|
|
9
|
+
Badge
|
|
10
|
+
} from "./chunk-BG5JSVXF.mjs";
|
|
11
|
+
import {
|
|
12
|
+
Card,
|
|
13
|
+
CardContent,
|
|
14
|
+
CardHeader,
|
|
15
|
+
CardTitle
|
|
16
|
+
} from "./chunk-EQHAE4MP.mjs";
|
|
17
|
+
import {
|
|
18
|
+
Input
|
|
19
|
+
} from "./chunk-YMZ2OUK6.mjs";
|
|
20
|
+
import {
|
|
21
|
+
Button
|
|
22
|
+
} from "./chunk-I6LSWXZW.mjs";
|
|
23
|
+
|
|
24
|
+
// src/components/Foundry/digital-colleague-selection.tsx
|
|
25
|
+
import { useState, useMemo } from "react";
|
|
26
|
+
import { Search, Bot, ChevronLeft, UserPlus } from "lucide-react";
|
|
27
|
+
import { motion, AnimatePresence } from "motion/react";
|
|
28
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
29
|
+
function DigitalColleagueSelection({
|
|
30
|
+
digitalColleagues,
|
|
31
|
+
onColleagueSelect,
|
|
32
|
+
onCancel,
|
|
33
|
+
selectedColleagueId
|
|
34
|
+
}) {
|
|
35
|
+
const [searchTerm, setSearchTerm] = useState("");
|
|
36
|
+
const [statusFilter, setStatusFilter] = useState("all");
|
|
37
|
+
const filteredColleagues = useMemo(() => {
|
|
38
|
+
return digitalColleagues.filter((colleague) => {
|
|
39
|
+
const matchesSearch = colleague?.name.toLowerCase().includes(searchTerm.toLowerCase()) || colleague.jobDescription?.toLowerCase().includes(searchTerm.toLowerCase()) || colleague.workInstructions?.toLowerCase().includes(searchTerm.toLowerCase());
|
|
40
|
+
return matchesSearch;
|
|
41
|
+
});
|
|
42
|
+
}, [digitalColleagues, searchTerm, statusFilter]);
|
|
43
|
+
const handleColleagueSelect = (colleague) => {
|
|
44
|
+
onColleagueSelect(colleague);
|
|
45
|
+
};
|
|
46
|
+
const formatDate = (date) => {
|
|
47
|
+
return new Intl.DateTimeFormat("en-US", {
|
|
48
|
+
month: "short",
|
|
49
|
+
day: "numeric",
|
|
50
|
+
year: "numeric"
|
|
51
|
+
}).format(date);
|
|
52
|
+
};
|
|
53
|
+
return /* @__PURE__ */ jsx("div", { className: "px-2 md:px-4 py-4 space-y-6", children: /* @__PURE__ */ jsx(AnimatePresence, { mode: "wait", children: /* @__PURE__ */ jsxs(
|
|
54
|
+
motion.div,
|
|
55
|
+
{
|
|
56
|
+
initial: { opacity: 0, y: 10 },
|
|
57
|
+
animate: { opacity: 1, y: 0 },
|
|
58
|
+
exit: { opacity: 0, y: -10 },
|
|
59
|
+
transition: { duration: 0.2 },
|
|
60
|
+
children: [
|
|
61
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-4 mb-6", children: [
|
|
62
|
+
/* @__PURE__ */ jsxs(Button, { variant: "ghost", onClick: onCancel, className: "gap-2", children: [
|
|
63
|
+
/* @__PURE__ */ jsx(ChevronLeft, { className: "h-4 w-4" }),
|
|
64
|
+
"Back"
|
|
65
|
+
] }),
|
|
66
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
67
|
+
/* @__PURE__ */ jsx("h1", { className: "text-3xl font-bold", children: "Add Existing Digital Colleague" }),
|
|
68
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground", children: "Select a digital colleague to add to your team" })
|
|
69
|
+
] })
|
|
70
|
+
] }),
|
|
71
|
+
/* @__PURE__ */ jsx(Card, { children: /* @__PURE__ */ jsx(CardContent, { className: "pt-6", children: /* @__PURE__ */ jsx("div", { className: "flex flex-col md:flex-row gap-4", children: /* @__PURE__ */ jsx("div", { className: "flex-1", children: /* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
72
|
+
/* @__PURE__ */ jsx(Search, { className: "absolute left-3 top-3 h-4 w-4 text-muted-foreground" }),
|
|
73
|
+
/* @__PURE__ */ jsx(
|
|
74
|
+
Input,
|
|
75
|
+
{
|
|
76
|
+
placeholder: "Search by name, job description, or capabilities...",
|
|
77
|
+
value: searchTerm,
|
|
78
|
+
onChange: (e) => setSearchTerm(e.target.value),
|
|
79
|
+
className: "pl-9"
|
|
80
|
+
}
|
|
81
|
+
)
|
|
82
|
+
] }) }) }) }) }),
|
|
83
|
+
/* @__PURE__ */ jsx("div", { className: "space-y-4 mt-4", children: filteredColleagues.length === 0 ? /* @__PURE__ */ jsx(Card, { children: /* @__PURE__ */ jsxs(CardContent, { className: "pt-6 text-center", children: [
|
|
84
|
+
/* @__PURE__ */ jsx(Bot, { className: "h-12 w-12 mx-auto mb-4 text-muted-foreground" }),
|
|
85
|
+
/* @__PURE__ */ jsx("p", { className: "text-lg font-medium mb-2", children: "No digital colleagues found" }),
|
|
86
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground", children: searchTerm ? "Try adjusting your search criteria" : "No digital colleagues available to add" })
|
|
87
|
+
] }) }) : /* @__PURE__ */ jsx("div", { className: "grid gap-4 md:grid-cols-2 lg:grid-cols-3", children: filteredColleagues.map((colleague) => /* @__PURE__ */ jsx(
|
|
88
|
+
motion.div,
|
|
89
|
+
{
|
|
90
|
+
initial: { opacity: 0, y: 20 },
|
|
91
|
+
animate: { opacity: 1, y: 0 },
|
|
92
|
+
exit: { opacity: 0, y: -20 },
|
|
93
|
+
transition: { duration: 0.2 },
|
|
94
|
+
children: /* @__PURE__ */ jsxs(
|
|
95
|
+
Card,
|
|
96
|
+
{
|
|
97
|
+
className: "cursor-pointer transition-all hover:shadow-lg hover:border-primary/50",
|
|
98
|
+
onClick: () => handleColleagueSelect(colleague),
|
|
99
|
+
children: [
|
|
100
|
+
/* @__PURE__ */ jsx(CardHeader, { className: "pb-3", children: /* @__PURE__ */ jsx("div", { className: "flex items-start justify-between", children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3 flex-1 min-w-0", children: [
|
|
101
|
+
/* @__PURE__ */ jsx(Avatar, { className: "h-12 w-12 flex-shrink-0", children: /* @__PURE__ */ jsx(AvatarFallback, { className: "bg-purple-100", children: /* @__PURE__ */ jsx(Bot, { className: "h-6 w-6 text-purple-600" }) }) }),
|
|
102
|
+
/* @__PURE__ */ jsxs("div", { className: "flex-1 min-w-0 overflow-hidden", children: [
|
|
103
|
+
/* @__PURE__ */ jsx(CardTitle, { className: "text-base truncate", children: colleague?.name }),
|
|
104
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground truncate", children: colleague.jobDescription || "Digital Colleague" })
|
|
105
|
+
] })
|
|
106
|
+
] }) }) }),
|
|
107
|
+
/* @__PURE__ */ jsxs(CardContent, { className: "space-y-3", children: [
|
|
108
|
+
colleague.model && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-sm", children: [
|
|
109
|
+
/* @__PURE__ */ jsx(Bot, { className: "h-4 w-4 text-muted-foreground" }),
|
|
110
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground truncate", children: typeof colleague.model === "object" ? colleague.model.name : colleague.model })
|
|
111
|
+
] }),
|
|
112
|
+
colleague.capabilities && colleague.capabilities.length > 0 && /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap gap-1", children: [
|
|
113
|
+
colleague.capabilities.slice(0, 3).map((cap, index) => {
|
|
114
|
+
const capName = typeof cap === "object" && cap.value && typeof cap.value === "object" && "name" in cap.value ? String(cap.value.name) : "Capability";
|
|
115
|
+
return /* @__PURE__ */ jsx(Badge, { variant: "secondary", className: "text-xs", children: capName }, index);
|
|
116
|
+
}),
|
|
117
|
+
colleague.capabilities.length > 3 && /* @__PURE__ */ jsxs(Badge, { variant: "outline", className: "text-xs", children: [
|
|
118
|
+
"+",
|
|
119
|
+
colleague.capabilities.length - 3
|
|
120
|
+
] })
|
|
121
|
+
] }),
|
|
122
|
+
colleague.workInstructions && /* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground line-clamp-2", children: colleague.workInstructions }),
|
|
123
|
+
/* @__PURE__ */ jsx("div", { className: "pt-2", children: /* @__PURE__ */ jsxs(Button, { className: "w-full", variant: "outline", size: "sm", children: [
|
|
124
|
+
/* @__PURE__ */ jsx(UserPlus, { className: "h-4 w-4 mr-2" }),
|
|
125
|
+
"Add to Team"
|
|
126
|
+
] }) })
|
|
127
|
+
] })
|
|
128
|
+
]
|
|
129
|
+
}
|
|
130
|
+
)
|
|
131
|
+
},
|
|
132
|
+
colleague.id
|
|
133
|
+
)) }) })
|
|
134
|
+
]
|
|
135
|
+
},
|
|
136
|
+
"colleague-selection"
|
|
137
|
+
) }) });
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
export {
|
|
141
|
+
DigitalColleagueSelection
|
|
142
|
+
};
|
|
@@ -7,17 +7,17 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
AppCard
|
|
9
9
|
} from "./chunk-XGHUG2WQ.mjs";
|
|
10
|
-
import {
|
|
11
|
-
mockApps,
|
|
12
|
-
mockRecentFiles,
|
|
13
|
-
mockTutorials
|
|
14
|
-
} from "./chunk-EMDTCDYI.mjs";
|
|
15
10
|
import {
|
|
16
11
|
ProjectCard
|
|
17
12
|
} from "./chunk-WHCZTD2K.mjs";
|
|
18
13
|
import {
|
|
19
14
|
FileList
|
|
20
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-KOK3VCJZ.mjs";
|
|
16
|
+
import {
|
|
17
|
+
mockApps,
|
|
18
|
+
mockRecentFiles,
|
|
19
|
+
mockTutorials
|
|
20
|
+
} from "./chunk-EMDTCDYI.mjs";
|
|
21
21
|
import {
|
|
22
22
|
DashboardHero
|
|
23
23
|
} from "./chunk-QPO45D6F.mjs";
|
|
@@ -6,25 +6,31 @@ import {
|
|
|
6
6
|
} from "./chunk-PR24SSJK.mjs";
|
|
7
7
|
import {
|
|
8
8
|
DigitalColleagueClone
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-U6ZFUE5O.mjs";
|
|
10
10
|
import {
|
|
11
11
|
DigitalColleagueOptions
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QXOHY4AT.mjs";
|
|
13
|
+
import {
|
|
14
|
+
AddColleagueToTeamForm
|
|
15
|
+
} from "./chunk-GXN5ZNBZ.mjs";
|
|
13
16
|
import {
|
|
14
17
|
ColleagueCard
|
|
15
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-V6VAVPKH.mjs";
|
|
16
19
|
import {
|
|
17
20
|
ColleagueForm
|
|
18
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-DPTILX6A.mjs";
|
|
19
22
|
import {
|
|
20
23
|
ColleagueTypeSelection
|
|
21
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-GAWBCR4S.mjs";
|
|
25
|
+
import {
|
|
26
|
+
DigitalColleagueSelection
|
|
27
|
+
} from "./chunk-BXEALHGJ.mjs";
|
|
22
28
|
import {
|
|
23
29
|
DashboardHero
|
|
24
30
|
} from "./chunk-QPO45D6F.mjs";
|
|
25
31
|
import {
|
|
26
32
|
UserSelection
|
|
27
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-Q45EN2QB.mjs";
|
|
28
34
|
import {
|
|
29
35
|
NavigationTabs
|
|
30
36
|
} from "./chunk-CR4DEGH3.mjs";
|
|
@@ -48,7 +54,7 @@ import {
|
|
|
48
54
|
Button
|
|
49
55
|
} from "./chunk-I6LSWXZW.mjs";
|
|
50
56
|
|
|
51
|
-
// src/components/
|
|
57
|
+
// src/components/Foundry/Views/ColleaguesView.tsx
|
|
52
58
|
import { useEffect, useState } from "react";
|
|
53
59
|
import { Plus, Search, Users, Bot, User, Filter } from "lucide-react";
|
|
54
60
|
import { motion, AnimatePresence } from "motion/react";
|
|
@@ -58,11 +64,13 @@ function ColleaguesView({
|
|
|
58
64
|
onColleagueAdd,
|
|
59
65
|
onColleagueEdit,
|
|
60
66
|
onColleagueDelete,
|
|
67
|
+
onColleagueAddToTeam,
|
|
61
68
|
compactView = false,
|
|
62
69
|
departments = ["Design", "Engineering", "Marketing", "Product", "Sales", "Operations"],
|
|
63
70
|
className,
|
|
64
71
|
availableUsers = [],
|
|
65
72
|
existingDigitalColleagues = [],
|
|
73
|
+
currentTeam,
|
|
66
74
|
availableKnowledgeDocuments = [],
|
|
67
75
|
availableCapabilities = [],
|
|
68
76
|
availableModels = []
|
|
@@ -74,6 +82,7 @@ function ColleaguesView({
|
|
|
74
82
|
const [activeTab, setActiveTab] = useState("all");
|
|
75
83
|
const [editingColleague, setEditingColleague] = useState(null);
|
|
76
84
|
const [viewingColleague, setViewingColleague] = useState(null);
|
|
85
|
+
const [selectedColleagueForTeam, setSelectedColleagueForTeam] = useState(null);
|
|
77
86
|
useEffect(() => {
|
|
78
87
|
setColleagues(initialColleagues || []);
|
|
79
88
|
}, [initialColleagues]);
|
|
@@ -145,6 +154,27 @@ function ColleaguesView({
|
|
|
145
154
|
onColleagueAdd?.({ ...clonedColleague, type: "digital" });
|
|
146
155
|
setCurrentView("main");
|
|
147
156
|
};
|
|
157
|
+
const handleDigitalColleagueSelect = (selectedColleague) => {
|
|
158
|
+
if (!selectedColleague || !selectedColleague.id) {
|
|
159
|
+
console.error(
|
|
160
|
+
"Invalid selected colleague provided to handleDigitalColleagueSelect:",
|
|
161
|
+
selectedColleague
|
|
162
|
+
);
|
|
163
|
+
return;
|
|
164
|
+
}
|
|
165
|
+
setSelectedColleagueForTeam(selectedColleague);
|
|
166
|
+
setCurrentView("addToTeam");
|
|
167
|
+
};
|
|
168
|
+
const handleAddColleagueToTeam = (colleague, teamId) => {
|
|
169
|
+
onColleagueAddToTeam?.(colleague, teamId);
|
|
170
|
+
setColleagues((prev) => [...prev, { ...colleague, type: "digital" }]);
|
|
171
|
+
setSelectedColleagueForTeam(null);
|
|
172
|
+
setCurrentView("main");
|
|
173
|
+
};
|
|
174
|
+
const handleCancelAddToTeam = () => {
|
|
175
|
+
setSelectedColleagueForTeam(null);
|
|
176
|
+
setCurrentView("digitalSelection");
|
|
177
|
+
};
|
|
148
178
|
const handleCreateNewDigital = () => {
|
|
149
179
|
setEditingColleague(null);
|
|
150
180
|
setCurrentView("form");
|
|
@@ -221,12 +251,38 @@ function ColleaguesView({
|
|
|
221
251
|
return /* @__PURE__ */ jsx(
|
|
222
252
|
DigitalColleagueOptions,
|
|
223
253
|
{
|
|
254
|
+
onAddExisting: () => setCurrentView("digitalSelection"),
|
|
224
255
|
onCloneExisting: () => setCurrentView("digitalClone"),
|
|
225
256
|
onCreateNew: handleCreateNewDigital,
|
|
226
257
|
onCancel: () => setCurrentView("typeSelection")
|
|
227
258
|
}
|
|
228
259
|
);
|
|
229
260
|
}
|
|
261
|
+
if (currentView === "digitalSelection") {
|
|
262
|
+
return /* @__PURE__ */ jsx(
|
|
263
|
+
DigitalColleagueSelection,
|
|
264
|
+
{
|
|
265
|
+
digitalColleagues: safeExistingDigitalColleagues,
|
|
266
|
+
onColleagueSelect: handleDigitalColleagueSelect,
|
|
267
|
+
onCancel: () => setCurrentView("digitalOptions")
|
|
268
|
+
}
|
|
269
|
+
);
|
|
270
|
+
}
|
|
271
|
+
if (currentView === "addToTeam") {
|
|
272
|
+
if (!selectedColleagueForTeam || !currentTeam) {
|
|
273
|
+
setCurrentView("digitalSelection");
|
|
274
|
+
return null;
|
|
275
|
+
}
|
|
276
|
+
return /* @__PURE__ */ jsx(
|
|
277
|
+
AddColleagueToTeamForm,
|
|
278
|
+
{
|
|
279
|
+
colleague: selectedColleagueForTeam,
|
|
280
|
+
team: currentTeam,
|
|
281
|
+
onSave: handleAddColleagueToTeam,
|
|
282
|
+
onCancel: handleCancelAddToTeam
|
|
283
|
+
}
|
|
284
|
+
);
|
|
285
|
+
}
|
|
230
286
|
if (currentView === "digitalClone") {
|
|
231
287
|
return /* @__PURE__ */ jsx(
|
|
232
288
|
DigitalColleagueClone,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
Button
|
|
16
16
|
} from "./chunk-I6LSWXZW.mjs";
|
|
17
17
|
|
|
18
|
-
// src/components/
|
|
18
|
+
// src/components/Foundry/DashboardHeader.tsx
|
|
19
19
|
import { Bell, Settings, User, Menu } from "lucide-react";
|
|
20
20
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
21
21
|
var DashboardHeader = ({
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
KnowledgeSearch
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YUZYLKBD.mjs";
|
|
7
7
|
import {
|
|
8
8
|
Select,
|
|
9
9
|
SelectContent,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
Button
|
|
34
34
|
} from "./chunk-I6LSWXZW.mjs";
|
|
35
35
|
|
|
36
|
-
// src/components/
|
|
36
|
+
// src/components/Foundry/colleague-form.tsx
|
|
37
37
|
import { useState, useEffect } from "react";
|
|
38
38
|
import { Bot, Plus, X, Edit } from "lucide-react";
|
|
39
39
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CollapsibleBlock
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YD7Q7IZX.mjs";
|
|
4
4
|
import {
|
|
5
5
|
ContentBlock
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-URC56DLC.mjs";
|
|
7
7
|
import {
|
|
8
8
|
CallToActionBlock,
|
|
9
9
|
FeaturesBlock
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-RFQKQLNT.mjs";
|
|
11
11
|
import {
|
|
12
12
|
MediaBlock
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-KIZUBPPQ.mjs";
|
|
14
14
|
import {
|
|
15
15
|
cn
|
|
16
16
|
} from "./chunk-KZPGX6CG.mjs";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
TeamForm
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WEIPDZOJ.mjs";
|
|
7
7
|
import {
|
|
8
8
|
TeamCard
|
|
9
9
|
} from "./chunk-R5LKUQ37.mjs";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
DialogTitle
|
|
19
19
|
} from "./chunk-3BYULUMU.mjs";
|
|
20
20
|
|
|
21
|
-
// src/components/
|
|
21
|
+
// src/components/Foundry/Views/TeamsIndexView.tsx
|
|
22
22
|
import { useState } from "react";
|
|
23
23
|
import { motion, AnimatePresence } from "motion/react";
|
|
24
24
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
cn
|
|
34
34
|
} from "./chunk-KZPGX6CG.mjs";
|
|
35
35
|
|
|
36
|
-
// src/components/
|
|
36
|
+
// src/components/Foundry/Knowledge/manage-team-context.tsx
|
|
37
37
|
import { useState } from "react";
|
|
38
38
|
import { X, Search, FileText, Trash2 } from "lucide-react";
|
|
39
39
|
import { toast } from "sonner";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
Button
|
|
12
12
|
} from "./chunk-I6LSWXZW.mjs";
|
|
13
13
|
|
|
14
|
-
// src/components/
|
|
14
|
+
// src/components/Foundry/colleague-type-selection.tsx
|
|
15
15
|
import { User, Bot, ChevronLeft, Users } from "lucide-react";
|
|
16
16
|
import { motion, AnimatePresence } from "motion/react";
|
|
17
17
|
import { jsx, jsxs } from "react/jsx-runtime";
|