cortex-react-components 3.2.1 → 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.
Files changed (393) hide show
  1. package/dist/{chunk-XSS7QSWX.mjs → chunk-2D3EN2AX.mjs} +2 -2
  2. package/dist/{chunk-PRMR24PY.mjs → chunk-36W3BORX.mjs} +3 -3
  3. package/dist/{chunk-PTDP7PZK.mjs → chunk-3G7VLQG5.mjs} +1 -1
  4. package/dist/{chunk-6R3QP53O.mjs → chunk-4JHX6BW6.mjs} +2 -2
  5. package/dist/{chunk-XDV7AVPQ.mjs → chunk-4JSM5VYZ.mjs} +2 -2
  6. package/dist/{chunk-K6N5K2A7.mjs → chunk-4P5Q6UXF.mjs} +4 -4
  7. package/dist/{chunk-XRMQLXAB.mjs → chunk-6NRBLKM4.mjs} +2 -2
  8. package/dist/{chunk-RBVQ7KFJ.mjs → chunk-7ZCW4XMR.mjs} +1 -1
  9. package/dist/{chunk-V4I6U2SE.mjs → chunk-AVNBD2X5.mjs} +1 -1
  10. package/dist/{chunk-YOKF4FEM.mjs → chunk-BMZG77IE.mjs} +1 -1
  11. package/dist/chunk-BXEALHGJ.mjs +142 -0
  12. package/dist/{chunk-5PMD42EE.mjs → chunk-C444TUVA.mjs} +1 -1
  13. package/dist/{chunk-JD7SR5V3.mjs → chunk-CONYNX7Y.mjs} +63 -7
  14. package/dist/{chunk-2VF2D4DL.mjs → chunk-DGDELNS3.mjs} +1 -1
  15. package/dist/{chunk-RJZMTP7J.mjs → chunk-DHB2L7O2.mjs} +1 -1
  16. package/dist/{chunk-ZED4UNH7.mjs → chunk-DPTILX6A.mjs} +2 -2
  17. package/dist/{chunk-XEZJ5VES.mjs → chunk-EC5I4CIO.mjs} +2 -2
  18. package/dist/{chunk-TAOPX5YM.mjs → chunk-EDYFH3EJ.mjs} +4 -4
  19. package/dist/{chunk-EQYJUXKZ.mjs → chunk-EGCBZZGV.mjs} +1 -1
  20. package/dist/{chunk-PAXCURFR.mjs → chunk-EGZL4DVZ.mjs} +1 -1
  21. package/dist/{chunk-G46GZ57S.mjs → chunk-EJJITIA3.mjs} +2 -2
  22. package/dist/{chunk-CZXUTAYA.mjs → chunk-ETG5N2OG.mjs} +1 -1
  23. package/dist/{chunk-25EF7VEC.mjs → chunk-F7JPOQIC.mjs} +1 -1
  24. package/dist/{chunk-U5I5GOVN.mjs → chunk-FABRRO2B.mjs} +1 -1
  25. package/dist/{chunk-JQNNFILH.mjs → chunk-FWRVXOCU.mjs} +1 -1
  26. package/dist/{chunk-725ZPBX4.mjs → chunk-FZMTC5ID.mjs} +1 -1
  27. package/dist/{chunk-4YSV633W.mjs → chunk-GAWBCR4S.mjs} +1 -1
  28. package/dist/{chunk-VMDVXNP5.mjs → chunk-GGOGMLBY.mjs} +14 -14
  29. package/dist/chunk-GXN5ZNBZ.mjs +135 -0
  30. package/dist/{chunk-3R2LCGLI.mjs → chunk-HLEMFDTD.mjs} +1 -1
  31. package/dist/{chunk-JGAZRR37.mjs → chunk-HMVIQFLN.mjs} +1 -1
  32. package/dist/{chunk-CIFGBEFV.mjs → chunk-HNBHBFLY.mjs} +1 -1
  33. package/dist/{chunk-IMJJ6BBI.mjs → chunk-HUZCVQP7.mjs} +1 -1
  34. package/dist/{chunk-MPFWWJYT.mjs → chunk-IDMTHUC4.mjs} +2 -2
  35. package/dist/{chunk-2L6AWG6R.mjs → chunk-IJ3E6ZXF.mjs} +2 -2
  36. package/dist/{chunk-G5N5MCLS.mjs → chunk-IVOPNDSN.mjs} +5 -5
  37. package/dist/{chunk-GJSDP33S.mjs → chunk-JFXWP3RQ.mjs} +1 -1
  38. package/dist/{chunk-UYUP2DAL.mjs → chunk-KHFPDDTO.mjs} +1 -1
  39. package/dist/{chunk-6GO5N6ZP.mjs → chunk-KIZUBPPQ.mjs} +1 -1
  40. package/dist/{chunk-QE3XE3LW.mjs → chunk-KOK3VCJZ.mjs} +1 -1
  41. package/dist/{chunk-N2EWVQF5.mjs → chunk-L4SNPNYU.mjs} +2 -2
  42. package/dist/{chunk-KTMTK6GC.mjs → chunk-LGGOEYDB.mjs} +14 -14
  43. package/dist/{chunk-WSL27JV6.mjs → chunk-LM4J7254.mjs} +7 -7
  44. package/dist/{chunk-FECAR2TE.mjs → chunk-LPK5R32M.mjs} +1 -1
  45. package/dist/{chunk-UHOCECJY.mjs → chunk-LQQ6C7FN.mjs} +4 -4
  46. package/dist/{chunk-22E2TZBE.mjs → chunk-LTDXFLCW.mjs} +1 -1
  47. package/dist/{chunk-37CGHX4F.mjs → chunk-MZVEK6A5.mjs} +8 -8
  48. package/dist/{chunk-HDLJDXNS.mjs → chunk-NHDPHK6D.mjs} +1 -1
  49. package/dist/{chunk-3W5H36HK.mjs → chunk-NNH7EC5Z.mjs} +1 -1
  50. package/dist/{chunk-P4P6J2SW.mjs → chunk-NQMJXY3N.mjs} +2 -2
  51. package/dist/{chunk-ZWV2O6CK.mjs → chunk-NVSA5BFC.mjs} +3 -3
  52. package/dist/{chunk-MVUW4LWE.mjs → chunk-OCVHSV6Z.mjs} +2 -2
  53. package/dist/{chunk-673GELPP.mjs → chunk-OXP3LJ53.mjs} +1 -1
  54. package/dist/{chunk-5OGDBGXG.mjs → chunk-PJZ5PWKP.mjs} +1 -1
  55. package/dist/{chunk-V2BZ7RE7.mjs → chunk-PLFX66EX.mjs} +1 -1
  56. package/dist/{chunk-E6M7XAYT.mjs → chunk-Q45EN2QB.mjs} +1 -1
  57. package/dist/{chunk-2ZZEXOZG.mjs → chunk-Q6CUUDUR.mjs} +2 -2
  58. package/dist/{chunk-35YW43JE.mjs → chunk-QETXXFRW.mjs} +1 -1
  59. package/dist/{chunk-ZF2DELZ5.mjs → chunk-QXOHY4AT.mjs} +39 -3
  60. package/dist/{chunk-NF4JWFAZ.mjs → chunk-RFMER577.mjs} +1 -1
  61. package/dist/{chunk-ARRPLAEY.mjs → chunk-RFQKQLNT.mjs} +3 -3
  62. package/dist/{chunk-QUGB53Z3.mjs → chunk-RV4VRLGN.mjs} +1 -1
  63. package/dist/{chunk-5QACTYFC.mjs → chunk-SM57JU3T.mjs} +5 -5
  64. package/dist/{chunk-B63AROCU.mjs → chunk-SMX6BH2N.mjs} +1 -1
  65. package/dist/{chunk-L3SZS7PC.mjs → chunk-SNUES6JA.mjs} +1 -1
  66. package/dist/{chunk-Z6F4XM6Y.mjs → chunk-SSDRUPMS.mjs} +58 -12
  67. package/dist/{chunk-GDMWNNYC.mjs → chunk-SSE3MQDP.mjs} +1 -1
  68. package/dist/{chunk-VEDUPADV.mjs → chunk-TDOOQIMQ.mjs} +3 -3
  69. package/dist/{chunk-EJJNYV7C.mjs → chunk-U6ZFUE5O.mjs} +2 -2
  70. package/dist/{chunk-LW7QTKQV.mjs → chunk-URC56DLC.mjs} +1 -1
  71. package/dist/{chunk-HI6QOZHR.mjs → chunk-V6VAVPKH.mjs} +1 -1
  72. package/dist/{chunk-4PFDNMLD.mjs → chunk-WEIPDZOJ.mjs} +1 -1
  73. package/dist/{chunk-VMHVOVOE.mjs → chunk-WJTVZ6CB.mjs} +1 -1
  74. package/dist/{chunk-6CSQANDH.mjs → chunk-WX5QYPGU.mjs} +1 -1
  75. package/dist/{chunk-ODPPMZG7.mjs → chunk-XFJPL6FS.mjs} +1 -1
  76. package/dist/{chunk-IPVCU3YW.mjs → chunk-XZFMQXYJ.mjs} +1 -1
  77. package/dist/{chunk-PIWSN2AS.mjs → chunk-YD7Q7IZX.mjs} +1 -1
  78. package/dist/{chunk-AOSO2JVA.mjs → chunk-YUZYLKBD.mjs} +1 -1
  79. package/dist/{chunk-GGYG3YCH.mjs → chunk-YY4VLYYH.mjs} +9 -9
  80. package/dist/{chunk-HK2DQNBU.mjs → chunk-Z54HOXSV.mjs} +4 -4
  81. package/dist/{chunk-TP5AUT7W.mjs → chunk-ZJB7AFL5.mjs} +2 -2
  82. package/dist/components/AdvancedComponents/user-selection.d.ts +1 -1
  83. package/dist/components/AdvancedComponents/user-selection.js +1 -1
  84. package/dist/components/AdvancedComponents/user-selection.mjs +1 -1
  85. package/dist/components/Blocks/Banner.mjs +10 -10
  86. package/dist/components/Blocks/CallToAction.mjs +10 -10
  87. package/dist/components/Blocks/CollapsibleArea.mjs +11 -11
  88. package/dist/components/Blocks/Content.mjs +11 -11
  89. package/dist/components/Blocks/FeaturesBlock.mjs +10 -10
  90. package/dist/components/Blocks/ImageBlock.mjs +3 -3
  91. package/dist/components/Blocks/MediaBlock.mjs +3 -3
  92. package/dist/components/Blocks/RelatedPosts.mjs +12 -12
  93. package/dist/components/Blocks/RenderBlocks.mjs +13 -13
  94. package/dist/components/Blocks/ReusableContentBlock.mjs +13 -13
  95. package/dist/components/Blocks/index.mjs +15 -15
  96. package/dist/components/Cards/ContentCard.mjs +10 -10
  97. package/dist/components/Cards/FeatureCard.mjs +10 -10
  98. package/dist/components/Cards/index.mjs +16 -16
  99. package/dist/components/Chat/ChatInterface.mjs +11 -11
  100. package/dist/components/Chat/CopilotInterface.mjs +12 -12
  101. package/dist/components/Chat/PartTypes/MessageHandler.mjs +9 -9
  102. package/dist/components/Chat/PartTypes/index.mjs +11 -11
  103. package/dist/components/Chat/demo-long-messages.mjs +12 -12
  104. package/dist/components/Chat/demo-tests.mjs +12 -12
  105. package/dist/components/Chat/demo.mjs +12 -12
  106. package/dist/components/Chat/example-usage.mjs +12 -12
  107. package/dist/components/Chat/example-with-vercel-ai.mjs +12 -12
  108. package/dist/components/Chat/index.mjs +17 -17
  109. package/dist/components/DeliveryLead/DeliveryLeadSubmissionWithList.mjs +2 -2
  110. package/dist/components/DeliveryLead/index.mjs +4 -4
  111. package/dist/components/DigitalColleagues/MainPage.mjs +6 -6
  112. package/dist/components/DigitalColleagues/Pages/dashboardpage.js +18 -18
  113. package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +15 -15
  114. package/dist/components/DigitalColleagues/Views/ColleaguesView.d.ts +1 -1
  115. package/dist/components/DigitalColleagues/Views/ColleaguesView.js +1 -1
  116. package/dist/components/DigitalColleagues/Views/ColleaguesView.mjs +3 -3
  117. package/dist/components/DigitalColleagues/Views/index.js +21 -21
  118. package/dist/components/DigitalColleagues/Views/index.mjs +34 -34
  119. package/dist/components/DigitalColleagues/digital-colleague-clone.d.ts +1 -1
  120. package/dist/components/DigitalColleagues/index.js +20 -20
  121. package/dist/components/DigitalColleagues/index.mjs +54 -54
  122. package/dist/components/{Foundary → Foundry}/AppSidebarLeft.js +3 -3
  123. package/dist/components/{Foundary → Foundry}/AppSidebarLeft.mjs +1 -1
  124. package/dist/components/{Foundary → Foundry}/DashboardHeader.js +2 -2
  125. package/dist/components/{Foundary → Foundry}/DashboardHeader.mjs +1 -1
  126. package/dist/components/{Foundary → Foundry}/Knowledge/add-knowledge-modal.js +2 -2
  127. package/dist/components/{Foundary → Foundry}/Knowledge/add-knowledge-modal.mjs +1 -1
  128. package/dist/components/{Foundary → Foundry}/Knowledge/add-team-context.js +3 -3
  129. package/dist/components/{Foundary → Foundry}/Knowledge/add-team-context.mjs +1 -1
  130. package/dist/components/{Foundary → Foundry}/Knowledge/manage-team-context.js +2 -2
  131. package/dist/components/{Foundary → Foundry}/Knowledge/manage-team-context.mjs +1 -1
  132. package/dist/components/{Foundary → Foundry}/LandingMenu.js +2 -2
  133. package/dist/components/{Foundary → Foundry}/LandingMenu.mjs +1 -1
  134. package/dist/components/{Foundary → Foundry}/Login.js +2 -2
  135. package/dist/components/{Foundary → Foundry}/Login.mjs +1 -1
  136. package/dist/components/{Foundary → Foundry}/MainPage.js +4 -4
  137. package/dist/components/{Foundary → Foundry}/MainPage.mjs +7 -7
  138. package/dist/components/{Foundary → Foundry}/ManagementSidebar.js +1 -1
  139. package/dist/components/{Foundary → Foundry}/ManagementSidebar.mjs +1 -1
  140. package/dist/components/{Foundary → Foundry}/Pages/dashboardpage.js +912 -598
  141. package/dist/components/{Foundary → Foundry}/Pages/dashboardpage.mjs +33 -31
  142. package/dist/components/{Foundary → Foundry}/README-document-edit.js +1 -1
  143. package/dist/components/{Foundary → Foundry}/README-document-edit.mjs +1 -1
  144. package/dist/components/{Foundary → Foundry}/README-document-preview.js +1 -1
  145. package/dist/components/{Foundary → Foundry}/README-document-preview.mjs +1 -1
  146. package/dist/components/{Foundary → Foundry}/RichText/Icons/Bold.js +1 -1
  147. package/dist/components/{Foundary → Foundry}/RichText/Icons/Bold.mjs +1 -1
  148. package/dist/components/{Foundary → Foundry}/RichText/Icons/Headings.js +1 -1
  149. package/dist/components/{Foundary → Foundry}/RichText/Icons/Headings.mjs +1 -1
  150. package/dist/components/{Foundary → Foundry}/RichText/Icons/Italic.js +1 -1
  151. package/dist/components/{Foundary → Foundry}/RichText/Icons/Italic.mjs +1 -1
  152. package/dist/components/{Foundary → Foundry}/RichText/Icons/StrikeThrough.js +1 -1
  153. package/dist/components/{Foundary → Foundry}/RichText/Icons/StrikeThrough.mjs +1 -1
  154. package/dist/components/{Foundary → Foundry}/RichText/Icons/Subscript.js +1 -1
  155. package/dist/components/{Foundary → Foundry}/RichText/Icons/Subscript.mjs +1 -1
  156. package/dist/components/{Foundary → Foundry}/RichText/Icons/Superscript.js +1 -1
  157. package/dist/components/{Foundary → Foundry}/RichText/Icons/Superscript.mjs +1 -1
  158. package/dist/components/{Foundary → Foundry}/RichText/Icons/Underline.js +1 -1
  159. package/dist/components/{Foundary → Foundry}/RichText/Icons/Underline.mjs +1 -1
  160. package/dist/components/{Foundary → Foundry}/RichText/components/RawUploadComponent/index.js +2 -2
  161. package/dist/components/{Foundary → Foundry}/RichText/components/RawUploadComponent/index.mjs +1 -1
  162. package/dist/components/{Foundary → Foundry}/RichText/index.js +18 -18
  163. package/dist/components/{Foundary → Foundry}/RichText/index.mjs +12 -12
  164. package/dist/components/{Foundary → Foundry}/RichText/nodes/image-node.js +4 -4
  165. package/dist/components/{Foundary → Foundry}/RichText/nodes/image-node.mjs +2 -2
  166. package/dist/components/{Foundary → Foundry}/RichText/plugins/image-plugin.js +7 -7
  167. package/dist/components/{Foundary → Foundry}/RichText/plugins/image-plugin.mjs +3 -3
  168. package/dist/components/{Foundary → Foundry}/RichText/plugins/toolbar-plugin.js +16 -16
  169. package/dist/components/{Foundary → Foundry}/RichText/plugins/toolbar-plugin.mjs +11 -11
  170. package/dist/components/{Foundary → Foundry}/SearchableSelect.js +2 -2
  171. package/dist/components/{Foundary → Foundry}/SearchableSelect.mjs +1 -1
  172. package/dist/components/{Foundary → Foundry}/Views/ColleaguesView.d.ts +4 -2
  173. package/dist/components/{Foundary → Foundry}/Views/ColleaguesView.js +521 -207
  174. package/dist/components/{Foundary → Foundry}/Views/ColleaguesView.mjs +10 -8
  175. package/dist/components/Foundry/Views/KnowledgeView.docs.js +2 -0
  176. package/dist/components/Foundry/Views/KnowledgeView.docs.mjs +7 -0
  177. package/dist/components/{Foundary → Foundry}/Views/KnowledgeView.js +29 -29
  178. package/dist/components/{Foundary → Foundry}/Views/KnowledgeView.mjs +18 -18
  179. package/dist/components/{Foundary → Foundry}/Views/TeamsIndexView.js +4 -4
  180. package/dist/components/{Foundary → Foundry}/Views/TeamsIndexView.mjs +2 -2
  181. package/dist/components/{Foundary → Foundry}/Views/index.js +2169 -1855
  182. package/dist/components/{Foundary → Foundry}/Views/index.mjs +48 -46
  183. package/dist/components/Foundry/add-colleague-to-team-form.d.ts +10 -0
  184. package/dist/components/Foundry/add-colleague-to-team-form.js +2762 -0
  185. package/dist/components/Foundry/add-colleague-to-team-form.mjs +18 -0
  186. package/dist/components/{Foundary → Foundry}/colleague-card.js +2 -2
  187. package/dist/components/{Foundary → Foundry}/colleague-card.mjs +1 -1
  188. package/dist/components/{Foundary → Foundry}/colleague-form.js +4 -4
  189. package/dist/components/{Foundary → Foundry}/colleague-form.mjs +2 -2
  190. package/dist/components/{Foundary → Foundry}/colleague-type-selection.js +2 -2
  191. package/dist/components/{Foundary → Foundry}/colleague-type-selection.mjs +1 -1
  192. package/dist/components/Foundry/digital-colleague-selection.d.ts +9 -0
  193. package/dist/components/Foundry/digital-colleague-selection.js +2787 -0
  194. package/dist/components/Foundry/digital-colleague-selection.mjs +19 -0
  195. package/dist/components/{Foundary → Foundry}/document-edit.js +20 -20
  196. package/dist/components/{Foundary → Foundry}/document-edit.mjs +13 -13
  197. package/dist/components/{Foundary → Foundry}/document-preview-examples.js +24 -24
  198. package/dist/components/{Foundary → Foundry}/document-preview-examples.mjs +15 -15
  199. package/dist/components/{Foundary → Foundry}/document-preview.js +22 -22
  200. package/dist/components/{Foundary → Foundry}/document-preview.mjs +14 -14
  201. package/dist/components/{Foundary → Foundry}/file-edit.js +20 -20
  202. package/dist/components/{Foundary → Foundry}/file-edit.mjs +13 -13
  203. package/dist/components/{Foundary → Foundry}/foundary-clone.js +3 -3
  204. package/dist/components/{Foundary → Foundry}/foundary-clone.mjs +1 -1
  205. package/dist/components/{Foundary → Foundry}/foundary-layout.d.ts +3 -3
  206. package/dist/components/{Foundary → Foundry}/foundary-layout.js +5 -5
  207. package/dist/components/{Foundary → Foundry}/foundary-layout.mjs +3 -3
  208. package/dist/components/{Foundary → Foundry}/foundary-options.d.ts +2 -1
  209. package/dist/components/{Foundary → Foundry}/foundary-options.js +39 -3
  210. package/dist/components/{Foundary → Foundry}/foundary-options.mjs +1 -1
  211. package/dist/components/{Foundary → Foundry}/index.d.ts +3 -1
  212. package/dist/components/{Foundary → Foundry}/index.js +2248 -1930
  213. package/dist/components/{Foundary → Foundry}/index.mjs +76 -68
  214. package/dist/components/{Foundary → Foundry}/knowledge-browser.js +24 -24
  215. package/dist/components/{Foundary → Foundry}/knowledge-browser.mjs +15 -15
  216. package/dist/components/Foundry/knowledge-search.css +917 -0
  217. package/dist/components/{Foundary → Foundry}/knowledge-search.js +2 -2
  218. package/dist/components/{Foundary → Foundry}/knowledge-search.mjs +1 -1
  219. package/dist/components/Foundry/team-form.css +917 -0
  220. package/dist/components/{Foundary → Foundry}/team-form.js +2 -2
  221. package/dist/components/{Foundary → Foundry}/team-form.mjs +1 -1
  222. package/dist/components/{Foundary → Foundry}/test-data.js +1 -1
  223. package/dist/components/{Foundary → Foundry}/test-data.mjs +1 -1
  224. package/dist/components/{Foundary → Foundry}/types.js +1 -1
  225. package/dist/components/HeaderFooter/Header.mjs +3 -3
  226. package/dist/components/HeaderFooter/HeaderDesktop.mjs +2 -2
  227. package/dist/components/HeaderFooter/SectionHeading.mjs +11 -11
  228. package/dist/components/HeaderFooter/index.mjs +7 -7
  229. package/dist/components/Heros/HighImpact/index.mjs +11 -11
  230. package/dist/components/Heros/LowImpact/index.mjs +11 -11
  231. package/dist/components/Heros/MediumImpact/index.mjs +11 -11
  232. package/dist/components/Heros/RenderHero.mjs +14 -14
  233. package/dist/components/Heros/index.mjs +16 -16
  234. package/dist/components/Layouts/OutputHeaderFooter.mjs +14 -14
  235. package/dist/components/Layouts/Print.mjs +18 -18
  236. package/dist/components/Layouts/SlideShow.mjs +19 -19
  237. package/dist/components/Layouts/index.mjs +20 -20
  238. package/dist/components/Payload/CollectionArchive/index.mjs +4 -4
  239. package/dist/components/Payload/Media/index.mjs +2 -2
  240. package/dist/components/Payload/PayloadCard/index.mjs +3 -3
  241. package/dist/components/Payload/RichText/index.mjs +10 -10
  242. package/dist/components/Payload/RichText/serialize.mjs +10 -10
  243. package/dist/components/Payload/index.mjs +15 -15
  244. package/dist/components/Projects/AddEpicModal.d.ts +1 -1
  245. package/dist/components/Projects/AddSprintModal.d.ts +1 -1
  246. package/dist/components/Projects/AddTaskModal.d.ts +1 -1
  247. package/dist/components/Projects/EpicsView.d.ts +1 -1
  248. package/dist/components/Projects/EpicsView.mjs +2 -2
  249. package/dist/components/Projects/FileView.d.ts +1 -1
  250. package/dist/components/Projects/FileView.js +19 -19
  251. package/dist/components/Projects/FileView.mjs +15 -15
  252. package/dist/components/Projects/KanbanBoardView.d.ts +1 -1
  253. package/dist/components/Projects/KanbanBoardView.js +20 -20
  254. package/dist/components/Projects/KanbanBoardView.mjs +20 -20
  255. package/dist/components/Projects/PlanningView.d.ts +1 -1
  256. package/dist/components/Projects/ProjectPage.d.ts +1 -1
  257. package/dist/components/Projects/ProjectPage.js +19 -19
  258. package/dist/components/Projects/ProjectPage.mjs +25 -25
  259. package/dist/components/Projects/ProjectView.d.ts +1 -1
  260. package/dist/components/Projects/ProjectView.js +20 -20
  261. package/dist/components/Projects/ProjectView.mjs +25 -25
  262. package/dist/components/Projects/ProjectsIndexView.d.ts +1 -1
  263. package/dist/components/Projects/ProjectsIndexView.mjs +2 -2
  264. package/dist/components/Projects/SprintBoardView.d.ts +1 -1
  265. package/dist/components/Projects/SprintBoardView.js +71 -25
  266. package/dist/components/Projects/SprintBoardView.mjs +20 -20
  267. package/dist/components/Projects/TaskCard.d.ts +1 -1
  268. package/dist/components/Projects/TaskDetailsModal.d.ts +1 -1
  269. package/dist/components/Projects/TaskDetailsModal.js +20 -20
  270. package/dist/components/Projects/TaskDetailsModal.mjs +17 -17
  271. package/dist/components/Projects/TaskSidebar.d.ts +1 -1
  272. package/dist/components/Projects/TaskSidebar.js +2 -2
  273. package/dist/components/Projects/TaskSidebar.mjs +2 -2
  274. package/dist/components/Projects/TasksView.d.ts +1 -1
  275. package/dist/components/Projects/file-list.d.ts +1 -1
  276. package/dist/components/Projects/file-list.js +19 -19
  277. package/dist/components/Projects/file-list.mjs +14 -14
  278. package/dist/components/Projects/index.js +71 -25
  279. package/dist/components/Projects/index.mjs +27 -27
  280. package/dist/components/dc-temp/index.js +19 -19
  281. package/dist/components/dc-temp/index.mjs +16 -16
  282. package/dist/components/dc-temp/mock-data.d.ts +1 -1
  283. package/dist/components/index.d.ts +1 -1
  284. package/dist/components/index.js +2325 -1961
  285. package/dist/components/index.mjs +160 -152
  286. package/dist/decorators/Intranet.css +14 -0
  287. package/dist/decorators/Intranet.mjs +105 -103
  288. package/dist/globals.css +14 -0
  289. package/dist/index.js +2550 -2186
  290. package/dist/index.mjs +173 -165
  291. package/dist/metafile-cjs.json +1 -1
  292. package/dist/metafile-esm.json +1 -1
  293. package/dist/pages/Blog.mjs +17 -17
  294. package/dist/pages/Documentation.mjs +5 -5
  295. package/dist/pages/IndexPage.mjs +20 -20
  296. package/dist/pages/LandingPage.mjs +113 -111
  297. package/dist/pages/Page.mjs +20 -20
  298. package/dist/pages/Publish.mjs +104 -102
  299. package/dist/pages/Website.mjs +22 -22
  300. package/dist/sections/AboutSection.mjs +12 -12
  301. package/dist/sections/BlogDetail.mjs +11 -11
  302. package/dist/sections/BlogList.mjs +12 -12
  303. package/dist/sections/BlogListSection.mjs +1 -1
  304. package/dist/sections/ContactSection.mjs +12 -12
  305. package/dist/sections/PageSections.mjs +113 -111
  306. package/dist/sections/PricingSection.mjs +12 -12
  307. package/dist/sections/ServiceDetail.mjs +11 -11
  308. package/dist/sections/ServiceDetailSection.mjs +11 -11
  309. package/dist/sections/ServiceSection.mjs +104 -102
  310. package/dist/sections/form/index.mjs +2 -2
  311. package/dist/sections/index.mjs +115 -113
  312. package/package.json +1 -1
  313. package/dist/components/Foundary/Views/KnowledgeView.docs.js +0 -2
  314. package/dist/components/Foundary/Views/KnowledgeView.docs.mjs +0 -7
  315. package/dist/{chunk-NKRBXAPF.mjs → chunk-2YHN7ZCJ.mjs} +3 -3
  316. package/dist/{chunk-7R2ZQ63M.mjs → chunk-APXXTGT4.mjs} +3 -3
  317. package/dist/{chunk-AGZGZHXC.mjs → chunk-FHZHQDXV.mjs} +3 -3
  318. package/dist/{chunk-OT2SSFKS.mjs → chunk-GSG52WU5.mjs} +3 -3
  319. package/dist/{chunk-L666B5DN.mjs → chunk-GZGWWPCP.mjs} +12 -12
  320. package/dist/{chunk-6M4Y3B66.mjs → chunk-OPJMXB4K.mjs} +3 -3
  321. package/dist/{chunk-FTVOJKVA.mjs → chunk-SNG6OKEL.mjs} +3 -3
  322. /package/dist/components/{Foundary → Foundry}/AppSidebarLeft.css +0 -0
  323. /package/dist/components/{Foundary → Foundry}/AppSidebarLeft.d.ts +0 -0
  324. /package/dist/components/{Foundary → Foundry}/DashboardHeader.css +0 -0
  325. /package/dist/components/{Foundary → Foundry}/DashboardHeader.d.ts +0 -0
  326. /package/dist/components/{Foundary → Foundry}/Knowledge/add-knowledge-modal.css +0 -0
  327. /package/dist/components/{Foundary → Foundry}/Knowledge/add-knowledge-modal.d.ts +0 -0
  328. /package/dist/components/{Foundary → Foundry}/Knowledge/add-team-context.css +0 -0
  329. /package/dist/components/{Foundary → Foundry}/Knowledge/add-team-context.d.ts +0 -0
  330. /package/dist/components/{Foundary → Foundry}/Knowledge/manage-team-context.css +0 -0
  331. /package/dist/components/{Foundary → Foundry}/Knowledge/manage-team-context.d.ts +0 -0
  332. /package/dist/components/{Foundary → Foundry}/LandingMenu.css +0 -0
  333. /package/dist/components/{Foundary → Foundry}/LandingMenu.d.ts +0 -0
  334. /package/dist/components/{Foundary → Foundry}/Login.css +0 -0
  335. /package/dist/components/{Foundary → Foundry}/Login.d.ts +0 -0
  336. /package/dist/components/{Foundary → Foundry}/MainPage.css +0 -0
  337. /package/dist/components/{Foundary → Foundry}/MainPage.d.ts +0 -0
  338. /package/dist/components/{Foundary → Foundry}/ManagementSidebar.d.ts +0 -0
  339. /package/dist/components/{Foundary → Foundry}/Pages/dashboardpage.css +0 -0
  340. /package/dist/components/{Foundary → Foundry}/Pages/dashboardpage.d.ts +0 -0
  341. /package/dist/components/{Foundary → Foundry}/RichText/Icons/Bold.d.ts +0 -0
  342. /package/dist/components/{Foundary → Foundry}/RichText/Icons/Headings.d.ts +0 -0
  343. /package/dist/components/{Foundary → Foundry}/RichText/Icons/Italic.d.ts +0 -0
  344. /package/dist/components/{Foundary → Foundry}/RichText/Icons/StrikeThrough.d.ts +0 -0
  345. /package/dist/components/{Foundary → Foundry}/RichText/Icons/Subscript.d.ts +0 -0
  346. /package/dist/components/{Foundary → Foundry}/RichText/Icons/Superscript.d.ts +0 -0
  347. /package/dist/components/{Foundary → Foundry}/RichText/Icons/Underline.d.ts +0 -0
  348. /package/dist/components/{Foundary → Foundry}/RichText/components/RawUploadComponent/index.css +0 -0
  349. /package/dist/components/{Foundary → Foundry}/RichText/components/RawUploadComponent/index.d.ts +0 -0
  350. /package/dist/components/{Foundary → Foundry}/RichText/index.css +0 -0
  351. /package/dist/components/{Foundary → Foundry}/RichText/index.d.ts +0 -0
  352. /package/dist/components/{Foundary → Foundry}/RichText/nodes/image-node.css +0 -0
  353. /package/dist/components/{Foundary → Foundry}/RichText/nodes/image-node.d.ts +0 -0
  354. /package/dist/components/{Foundary → Foundry}/RichText/plugins/image-plugin.css +0 -0
  355. /package/dist/components/{Foundary → Foundry}/RichText/plugins/image-plugin.d.ts +0 -0
  356. /package/dist/components/{Foundary → Foundry}/RichText/plugins/toolbar-plugin.css +0 -0
  357. /package/dist/components/{Foundary → Foundry}/RichText/plugins/toolbar-plugin.d.ts +0 -0
  358. /package/dist/components/{Foundary → Foundry}/SearchableSelect.css +0 -0
  359. /package/dist/components/{Foundary → Foundry}/SearchableSelect.d.ts +0 -0
  360. /package/dist/components/{Foundary → Foundry}/Views/ColleaguesView.css +0 -0
  361. /package/dist/components/{Foundary → Foundry}/Views/KnowledgeView.css +0 -0
  362. /package/dist/components/{Foundary → Foundry}/Views/KnowledgeView.d.ts +0 -0
  363. /package/dist/components/{Foundary → Foundry}/Views/TeamsIndexView.css +0 -0
  364. /package/dist/components/{Foundary → Foundry}/Views/TeamsIndexView.d.ts +0 -0
  365. /package/dist/components/{Foundary → Foundry}/Views/index.css +0 -0
  366. /package/dist/components/{Foundary → Foundry}/Views/index.d.ts +0 -0
  367. /package/dist/components/{Foundary/colleague-card.css → Foundry/add-colleague-to-team-form.css} +0 -0
  368. /package/dist/components/{Foundary/colleague-form.css → Foundry/colleague-card.css} +0 -0
  369. /package/dist/components/{Foundary → Foundry}/colleague-card.d.ts +0 -0
  370. /package/dist/components/{Foundary/colleague-type-selection.css → Foundry/colleague-form.css} +0 -0
  371. /package/dist/components/{Foundary → Foundry}/colleague-form.d.ts +0 -0
  372. /package/dist/components/{Foundary/document-edit.css → Foundry/colleague-type-selection.css} +0 -0
  373. /package/dist/components/{Foundary → Foundry}/colleague-type-selection.d.ts +0 -0
  374. /package/dist/components/{Foundary/document-preview-examples.css → Foundry/digital-colleague-selection.css} +0 -0
  375. /package/dist/components/{Foundary/document-preview.css → Foundry/document-edit.css} +0 -0
  376. /package/dist/components/{Foundary → Foundry}/document-edit.d.ts +0 -0
  377. /package/dist/components/{Foundary/file-edit.css → Foundry/document-preview-examples.css} +0 -0
  378. /package/dist/components/{Foundary → Foundry}/document-preview-examples.d.ts +0 -0
  379. /package/dist/components/{Foundary/foundary-clone.css → Foundry/document-preview.css} +0 -0
  380. /package/dist/components/{Foundary → Foundry}/document-preview.d.ts +0 -0
  381. /package/dist/components/{Foundary/foundary-layout.css → Foundry/file-edit.css} +0 -0
  382. /package/dist/components/{Foundary → Foundry}/file-edit.d.ts +0 -0
  383. /package/dist/components/{Foundary/foundary-options.css → Foundry/foundary-clone.css} +0 -0
  384. /package/dist/components/{Foundary → Foundry}/foundary-clone.d.ts +0 -0
  385. /package/dist/components/{Foundary/index.css → Foundry/foundary-layout.css} +0 -0
  386. /package/dist/components/{Foundary/knowledge-browser.css → Foundry/foundary-options.css} +0 -0
  387. /package/dist/components/{Foundary/knowledge-search.css → Foundry/index.css} +0 -0
  388. /package/dist/components/{Foundary/team-form.css → Foundry/knowledge-browser.css} +0 -0
  389. /package/dist/components/{Foundary → Foundry}/knowledge-browser.d.ts +0 -0
  390. /package/dist/components/{Foundary → Foundry}/knowledge-search.d.ts +0 -0
  391. /package/dist/components/{Foundary → Foundry}/team-form.d.ts +0 -0
  392. /package/dist/components/{Foundary → Foundry}/test-data.d.ts +0 -0
  393. /package/dist/components/{Foundary → Foundry}/types.d.ts +0 -0
@@ -3,10 +3,10 @@
3
3
 
4
4
  import {
5
5
  Printable
6
- } from "./chunk-XRMQLXAB.mjs";
6
+ } from "./chunk-6NRBLKM4.mjs";
7
7
  import {
8
8
  SlideShow
9
- } from "./chunk-MVUW4LWE.mjs";
9
+ } from "./chunk-OCVHSV6Z.mjs";
10
10
  import {
11
11
  getTableOfContents
12
12
  } from "./chunk-BXLYIIII.mjs";
@@ -11,7 +11,7 @@ import {
11
11
  cn
12
12
  } from "./chunk-KZPGX6CG.mjs";
13
13
 
14
- // src/components/Foundary/foundary-layout.tsx
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 FoundaryLayout({
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
- FoundaryLayout
135
+ FoundryLayout
136
136
  };
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-YFNT546N.mjs";
4
4
  import {
5
5
  SearchableSelect
6
- } from "./chunk-NF4JWFAZ.mjs";
6
+ } from "./chunk-RFMER577.mjs";
7
7
  import {
8
8
  extractId
9
9
  } from "./chunk-Y6HQV3VB.mjs";
@@ -3,7 +3,7 @@
3
3
 
4
4
  import {
5
5
  RichText_default
6
- } from "./chunk-HK2DQNBU.mjs";
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/Foundary/file-edit.tsx
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-TP5AUT7W.mjs";
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/Foundary/RichText/plugins/image-plugin.tsx
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-CIFGBEFV.mjs";
6
+ } from "./chunk-HNBHBFLY.mjs";
7
7
  import {
8
8
  ManageTeamContextModal
9
- } from "./chunk-25EF7VEC.mjs";
9
+ } from "./chunk-F7JPOQIC.mjs";
10
10
  import {
11
11
  KnowledgeBrowser
12
- } from "./chunk-P4P6J2SW.mjs";
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/Foundary/Views/KnowledgeView.tsx
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-35YW43JE.mjs";
7
+ } from "./chunk-QETXXFRW.mjs";
8
8
  import {
9
9
  RenderBlocks
10
- } from "./chunk-TAOPX5YM.mjs";
10
+ } from "./chunk-EDYFH3EJ.mjs";
11
11
  import {
12
12
  getTableOfContents
13
13
  } from "./chunk-BXLYIIII.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  RichText
3
- } from "./chunk-ARRPLAEY.mjs";
3
+ } from "./chunk-RFQKQLNT.mjs";
4
4
 
5
5
  // src/components/Heros/MediumImpact/index.tsx
6
6
  import Image from "next/image";
@@ -1,4 +1,4 @@
1
- // src/components/Foundary/RichText/Icons/Bold.tsx
1
+ // src/components/Foundry/RichText/Icons/Bold.tsx
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  var Bold = () => {
4
4
  return /* @__PURE__ */ jsx(
@@ -1,4 +1,4 @@
1
- // src/components/Foundary/RichText/Icons/Underline.tsx
1
+ // src/components/Foundry/RichText/Icons/Underline.tsx
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  var Underline = () => {
4
4
  return /* @__PURE__ */ jsxs(
@@ -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
+ };
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-WHCZTD2K.mjs";
13
13
  import {
14
14
  FileList
15
- } from "./chunk-QE3XE3LW.mjs";
15
+ } from "./chunk-KOK3VCJZ.mjs";
16
16
  import {
17
17
  mockApps,
18
18
  mockRecentFiles,
@@ -6,25 +6,31 @@ import {
6
6
  } from "./chunk-PR24SSJK.mjs";
7
7
  import {
8
8
  DigitalColleagueClone
9
- } from "./chunk-EJJNYV7C.mjs";
9
+ } from "./chunk-U6ZFUE5O.mjs";
10
10
  import {
11
11
  DigitalColleagueOptions
12
- } from "./chunk-ZF2DELZ5.mjs";
12
+ } from "./chunk-QXOHY4AT.mjs";
13
+ import {
14
+ AddColleagueToTeamForm
15
+ } from "./chunk-GXN5ZNBZ.mjs";
13
16
  import {
14
17
  ColleagueCard
15
- } from "./chunk-HI6QOZHR.mjs";
18
+ } from "./chunk-V6VAVPKH.mjs";
16
19
  import {
17
20
  ColleagueForm
18
- } from "./chunk-ZED4UNH7.mjs";
21
+ } from "./chunk-DPTILX6A.mjs";
19
22
  import {
20
23
  ColleagueTypeSelection
21
- } from "./chunk-4YSV633W.mjs";
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-E6M7XAYT.mjs";
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/Foundary/Views/ColleaguesView.tsx
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/Foundary/DashboardHeader.tsx
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 = ({
@@ -1,4 +1,4 @@
1
- // src/components/Foundary/RichText/Icons/Superscript.tsx
1
+ // src/components/Foundry/RichText/Icons/Superscript.tsx
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  var Superscript = () => {
4
4
  return /* @__PURE__ */ jsx(
@@ -3,7 +3,7 @@
3
3
 
4
4
  import {
5
5
  KnowledgeSearch
6
- } from "./chunk-AOSO2JVA.mjs";
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/Foundary/colleague-form.tsx
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,9 +1,9 @@
1
1
  import {
2
2
  PayloadCard
3
- } from "./chunk-PAXCURFR.mjs";
3
+ } from "./chunk-EGZL4DVZ.mjs";
4
4
  import {
5
5
  RichText
6
- } from "./chunk-ARRPLAEY.mjs";
6
+ } from "./chunk-RFQKQLNT.mjs";
7
7
 
8
8
  // src/components/Blocks/RelatedPosts.tsx
9
9
  import clsx from "clsx";
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  CollapsibleBlock
3
- } from "./chunk-PIWSN2AS.mjs";
3
+ } from "./chunk-YD7Q7IZX.mjs";
4
4
  import {
5
5
  ContentBlock
6
- } from "./chunk-LW7QTKQV.mjs";
6
+ } from "./chunk-URC56DLC.mjs";
7
7
  import {
8
8
  CallToActionBlock,
9
9
  FeaturesBlock
10
- } from "./chunk-ARRPLAEY.mjs";
10
+ } from "./chunk-RFQKQLNT.mjs";
11
11
  import {
12
12
  MediaBlock
13
- } from "./chunk-6GO5N6ZP.mjs";
13
+ } from "./chunk-KIZUBPPQ.mjs";
14
14
  import {
15
15
  cn
16
16
  } from "./chunk-KZPGX6CG.mjs";
@@ -1,4 +1,4 @@
1
- // src/components/Foundary/RichText/Icons/StrikeThrough.tsx
1
+ // src/components/Foundry/RichText/Icons/StrikeThrough.tsx
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  var Strikethrough = () => {
4
4
  return /* @__PURE__ */ jsxs(
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-4Z4X2GG7.mjs";
7
7
  import {
8
8
  Media
9
- } from "./chunk-NKRBXAPF.mjs";
9
+ } from "./chunk-2YHN7ZCJ.mjs";
10
10
  import {
11
11
  cn
12
12
  } from "./chunk-KZPGX6CG.mjs";
@@ -3,7 +3,7 @@
3
3
 
4
4
  import {
5
5
  TeamForm
6
- } from "./chunk-4PFDNMLD.mjs";
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/Foundary/Views/TeamsIndexView.tsx
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";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-A4SKUZ2E.mjs";
4
4
  import {
5
5
  SectionHeading
6
- } from "./chunk-6CSQANDH.mjs";
6
+ } from "./chunk-WX5QYPGU.mjs";
7
7
  import {
8
8
  PricingCard
9
9
  } from "./chunk-4GLXI5J3.mjs";
@@ -33,7 +33,7 @@ import {
33
33
  cn
34
34
  } from "./chunk-KZPGX6CG.mjs";
35
35
 
36
- // src/components/Foundary/Knowledge/manage-team-context.tsx
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";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-A4SKUZ2E.mjs";
4
4
  import {
5
5
  SectionHeading
6
- } from "./chunk-6CSQANDH.mjs";
6
+ } from "./chunk-WX5QYPGU.mjs";
7
7
  import {
8
8
  formatDateTimeStringShort
9
9
  } from "./chunk-RFP2KGUZ.mjs";
@@ -18,7 +18,7 @@ import {
18
18
  cn
19
19
  } from "./chunk-KZPGX6CG.mjs";
20
20
 
21
- // src/components/Foundary/Login.tsx
21
+ // src/components/Foundry/Login.tsx
22
22
  import { useState } from "react";
23
23
  import { motion } from "motion/react";
24
24
  import { Lock } from "lucide-react";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  HeaderDesktop
3
- } from "./chunk-AGZGZHXC.mjs";
3
+ } from "./chunk-FHZHQDXV.mjs";
4
4
  import {
5
5
  HeaderMobile
6
6
  } from "./chunk-OXZJ5MRS.mjs";
@@ -11,7 +11,7 @@ import {
11
11
  Button
12
12
  } from "./chunk-I6LSWXZW.mjs";
13
13
 
14
- // src/components/Foundary/colleague-type-selection.tsx
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";
@@ -1,35 +1,35 @@
1
+ import {
2
+ StrikeThrough_default
3
+ } from "./chunk-EGCBZZGV.mjs";
4
+ import {
5
+ Subscript_default
6
+ } from "./chunk-RV4VRLGN.mjs";
1
7
  import {
2
8
  Superscript_default
3
- } from "./chunk-RJZMTP7J.mjs";
9
+ } from "./chunk-DHB2L7O2.mjs";
4
10
  import {
5
11
  Underline_default
6
- } from "./chunk-YOKF4FEM.mjs";
12
+ } from "./chunk-BMZG77IE.mjs";
7
13
  import {
8
14
  INSERT_UPLOAD_COMMAND,
9
15
  InsertInlineImageDialog
10
- } from "./chunk-XDV7AVPQ.mjs";
16
+ } from "./chunk-4JSM5VYZ.mjs";
11
17
  import {
12
18
  $createMyUploadNode
13
- } from "./chunk-TP5AUT7W.mjs";
19
+ } from "./chunk-ZJB7AFL5.mjs";
14
20
  import {
15
21
  Bold_default
16
- } from "./chunk-V4I6U2SE.mjs";
22
+ } from "./chunk-AVNBD2X5.mjs";
17
23
  import {
18
24
  H1,
19
25
  H2,
20
26
  H3,
21
27
  H4,
22
28
  TextIcon
23
- } from "./chunk-L3SZS7PC.mjs";
29
+ } from "./chunk-SNUES6JA.mjs";
24
30
  import {
25
31
  Italic_default
26
- } from "./chunk-V2BZ7RE7.mjs";
27
- import {
28
- StrikeThrough_default
29
- } from "./chunk-EQYJUXKZ.mjs";
30
- import {
31
- Subscript_default
32
- } from "./chunk-QUGB53Z3.mjs";
32
+ } from "./chunk-PLFX66EX.mjs";
33
33
  import {
34
34
  DropdownMenu,
35
35
  DropdownMenuContent,
@@ -46,7 +46,7 @@ import {
46
46
  cn
47
47
  } from "./chunk-KZPGX6CG.mjs";
48
48
 
49
- // src/components/Foundary/RichText/plugins/toolbar-plugin.tsx
49
+ // src/components/Foundry/RichText/plugins/toolbar-plugin.tsx
50
50
  import { useLexicalComposerContext } from "@payloadcms/richtext-lexical/lexical/react/LexicalComposerContext";
51
51
  import { $insertNodeToNearestRoot, mergeRegister } from "@payloadcms/richtext-lexical/lexical/utils";
52
52
  import {