cortex-react-components 3.3.0 → 4.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (395) hide show
  1. package/dist/{chunk-Z54HOXSV.mjs → chunk-2254O4YT.mjs} +2 -2
  2. package/dist/{chunk-V6YEUAIH.mjs → chunk-3BYBIUZN.mjs} +3 -3
  3. package/dist/{chunk-XFJPL6FS.mjs → chunk-3IXZB3VP.mjs} +1 -1
  4. package/dist/{chunk-WJTVZ6CB.mjs → chunk-3NXXPFU2.mjs} +1 -1
  5. package/dist/{chunk-CONYNX7Y.mjs → chunk-4HKHDXKK.mjs} +3 -3
  6. package/dist/{chunk-DSVXGGGV.mjs → chunk-54AIO5ED.mjs} +2 -2
  7. package/dist/{chunk-7ZCW4XMR.mjs → chunk-64IBDKCH.mjs} +1 -1
  8. package/dist/{chunk-EJJITIA3.mjs → chunk-65ZDGR46.mjs} +5 -5
  9. package/dist/{chunk-I4MTJN23.mjs → chunk-6A7T3O6T.mjs} +6 -5
  10. package/dist/{chunk-HUZCVQP7.mjs → chunk-7IMTNL53.mjs} +1 -1
  11. package/dist/{chunk-IJ3E6ZXF.mjs → chunk-B2LFNC3C.mjs} +1 -1
  12. package/dist/{chunk-IDMTHUC4.mjs → chunk-B36NGEMF.mjs} +3 -3
  13. package/dist/{chunk-FABRRO2B.mjs → chunk-BAJ7NCAT.mjs} +1 -1
  14. package/dist/{chunk-4JHX6BW6.mjs → chunk-BEGQGEDH.mjs} +1 -1
  15. package/dist/{chunk-36W3BORX.mjs → chunk-BWS5MUG7.mjs} +1 -1
  16. package/dist/{chunk-5NGZXIP7.mjs → chunk-CI625DSA.mjs} +1 -1
  17. package/dist/{chunk-WX5QYPGU.mjs → chunk-CUUAA2TB.mjs} +1 -1
  18. package/dist/{chunk-ETG5N2OG.mjs → chunk-DOIUUDF6.mjs} +1 -1
  19. package/dist/{chunk-SSE3MQDP.mjs → chunk-DST7L2PX.mjs} +3 -3
  20. package/dist/{chunk-UETTBM3J.mjs → chunk-F6NJD6IG.mjs} +1 -1
  21. package/dist/{chunk-L4SNPNYU.mjs → chunk-FBCL4K4A.mjs} +1 -1
  22. package/dist/{chunk-IVOPNDSN.mjs → chunk-G5N5MCLS.mjs} +5 -5
  23. package/dist/{chunk-NQMJXY3N.mjs → chunk-GC7DB2Y5.mjs} +1 -1
  24. package/dist/{chunk-5CQITTLV.mjs → chunk-GMHZ7GGN.mjs} +1 -1
  25. package/dist/{chunk-C3CKYJ2F.mjs → chunk-GZRODHXY.mjs} +1 -1
  26. package/dist/{chunk-SM57JU3T.mjs → chunk-HCVN3YVW.mjs} +5 -5
  27. package/dist/{chunk-SSDRUPMS.mjs → chunk-HWSDSULO.mjs} +183 -36
  28. package/dist/{chunk-QPO45D6F.mjs → chunk-I2MVZVXE.mjs} +1 -1
  29. package/dist/chunk-IC4N2KYF.mjs +401 -0
  30. package/dist/{chunk-GGOGMLBY.mjs → chunk-JKVS2VFG.mjs} +4 -4
  31. package/dist/{chunk-OPJMXB4K.mjs → chunk-K4ZS4W4S.mjs} +2 -2
  32. package/dist/{chunk-Q6CUUDUR.mjs → chunk-LVLYUHSA.mjs} +1 -1
  33. package/dist/{chunk-UDCOG2XL.mjs → chunk-LY4RR7AL.mjs} +1 -1
  34. package/dist/{chunk-QMFGV3M5.mjs → chunk-LZUYY2G6.mjs} +2 -2
  35. package/dist/{chunk-XGHUG2WQ.mjs → chunk-MDG2I4PB.mjs} +1 -1
  36. package/dist/{chunk-YD7Q7IZX.mjs → chunk-MNJ5CMJM.mjs} +1 -1
  37. package/dist/{chunk-YY4VLYYH.mjs → chunk-MOMYX6OH.mjs} +26 -11
  38. package/dist/{chunk-EDYFH3EJ.mjs → chunk-NM7RODDO.mjs} +3 -3
  39. package/dist/{chunk-KOK3VCJZ.mjs → chunk-O5RKEF5N.mjs} +2 -2
  40. package/dist/chunk-PBIUFMQ7.mjs +595 -0
  41. package/dist/{chunk-GTHNG3Q7.mjs → chunk-PPESICX2.mjs} +1 -1
  42. package/dist/{chunk-F7JPOQIC.mjs → chunk-Q54XDKD6.mjs} +1 -1
  43. package/dist/{chunk-LTDXFLCW.mjs → chunk-QM3XSGNV.mjs} +13 -5
  44. package/dist/{chunk-LGGOEYDB.mjs → chunk-QU3TSSIT.mjs} +9 -9
  45. package/dist/{chunk-OCVHSV6Z.mjs → chunk-R4WRE5VN.mjs} +2 -2
  46. package/dist/{chunk-HMVIQFLN.mjs → chunk-S2JSIAMP.mjs} +1 -1
  47. package/dist/{chunk-4JSM5VYZ.mjs → chunk-SAVDOTMQ.mjs} +1 -1
  48. package/dist/{chunk-PE44IHZN.mjs → chunk-SBD4TWK2.mjs} +1 -1
  49. package/dist/{chunk-B7WVGDB6.mjs → chunk-SZJ6XME5.mjs} +1 -1
  50. package/dist/{chunk-URC56DLC.mjs → chunk-T2VDQBFT.mjs} +1 -1
  51. package/dist/{chunk-2D3EN2AX.mjs → chunk-T36HNGWV.mjs} +2 -2
  52. package/dist/{chunk-3BYULUMU.mjs → chunk-T62Q55Y5.mjs} +1 -1
  53. package/dist/{chunk-IBQBZNEA.mjs → chunk-T756T7P5.mjs} +1 -1
  54. package/dist/{chunk-HNBHBFLY.mjs → chunk-TZBPEFJY.mjs} +1 -1
  55. package/dist/{chunk-HQW5M4ND.mjs → chunk-U5XRK325.mjs} +1 -1
  56. package/dist/{chunk-4P5Q6UXF.mjs → chunk-UBFOKMYD.mjs} +5 -5
  57. package/dist/{chunk-6NRBLKM4.mjs → chunk-UM7KTWAX.mjs} +2 -2
  58. package/dist/{chunk-E5LGE3IW.mjs → chunk-W73LGNTH.mjs} +1 -1
  59. package/dist/{chunk-QETXXFRW.mjs → chunk-WNGLLRYA.mjs} +1 -1
  60. package/dist/{chunk-NVSA5BFC.mjs → chunk-XP74JZNW.mjs} +3 -3
  61. package/dist/{chunk-OXP3LJ53.mjs → chunk-XT7I7SJB.mjs} +4 -4
  62. package/dist/{chunk-JFXWP3RQ.mjs → chunk-Y7B7YO6Q.mjs} +1 -1
  63. package/dist/{chunk-XZFMQXYJ.mjs → chunk-ZD5DKC5T.mjs} +1 -1
  64. package/dist/{chunk-EC5I4CIO.mjs → chunk-ZJ5SRNYD.mjs} +1 -1
  65. package/dist/{chunk-LM4J7254.mjs → chunk-ZSGXRIK7.mjs} +7 -7
  66. package/dist/{chunk-MZVEK6A5.mjs → chunk-ZZQWZWMG.mjs} +19 -19
  67. package/dist/components/AdvancedComponents/AppSidebar.d.ts +1 -1
  68. package/dist/components/AdvancedComponents/AppSidebar.js +481 -302
  69. package/dist/components/AdvancedComponents/AppSidebar.mjs +4 -4
  70. package/dist/components/AdvancedComponents/index.js +481 -302
  71. package/dist/components/AdvancedComponents/index.mjs +4 -4
  72. package/dist/components/Blocks/Banner.mjs +6 -6
  73. package/dist/components/Blocks/CallToAction.mjs +6 -6
  74. package/dist/components/Blocks/CollapsibleArea.mjs +7 -7
  75. package/dist/components/Blocks/Content.mjs +7 -7
  76. package/dist/components/Blocks/FeaturesBlock.mjs +6 -6
  77. package/dist/components/Blocks/RelatedPosts.mjs +7 -7
  78. package/dist/components/Blocks/RenderBlocks.mjs +9 -9
  79. package/dist/components/Blocks/ReusableContentBlock.mjs +9 -9
  80. package/dist/components/Blocks/index.mjs +15 -15
  81. package/dist/components/CRM/CogeBoard.js +1 -1
  82. package/dist/components/CRM/CogeBoard.mjs +3 -3
  83. package/dist/components/CRM/DealDetails.js +1 -1
  84. package/dist/components/CRM/DealDetails.mjs +2 -2
  85. package/dist/components/CRM/KanbanBoard.js +1 -1
  86. package/dist/components/CRM/KanbanBoard.mjs +3 -3
  87. package/dist/components/CRM/NewDealForm.js +1 -1
  88. package/dist/components/CRM/NewDealForm.mjs +2 -2
  89. package/dist/components/CRM/index.js +1 -1
  90. package/dist/components/CRM/index.mjs +8 -8
  91. package/dist/components/Cards/ContentCard.mjs +6 -6
  92. package/dist/components/Cards/FeatureCard.mjs +6 -6
  93. package/dist/components/Cards/Image.js +1 -1
  94. package/dist/components/Cards/Image.mjs +2 -2
  95. package/dist/components/Cards/ImageProxy.js +1 -1
  96. package/dist/components/Cards/ImageProxy.mjs +2 -2
  97. package/dist/components/Cards/index.js +1 -1
  98. package/dist/components/Cards/index.mjs +12 -12
  99. package/dist/components/Chat/ChatInterface.mjs +11 -11
  100. package/dist/components/Chat/CopilotInterface.d.ts +1 -1
  101. package/dist/components/Chat/CopilotInterface.js +528 -331
  102. package/dist/components/Chat/CopilotInterface.mjs +17 -17
  103. package/dist/components/Chat/PartTypes/MessageHandler.mjs +9 -9
  104. package/dist/components/Chat/PartTypes/index.mjs +11 -11
  105. package/dist/components/Chat/chat-session-sidebar.d.ts +1 -1
  106. package/dist/components/Chat/demo-long-messages.js +528 -331
  107. package/dist/components/Chat/demo-long-messages.mjs +17 -17
  108. package/dist/components/Chat/demo-tests.js +528 -331
  109. package/dist/components/Chat/demo-tests.mjs +17 -17
  110. package/dist/components/Chat/demo.js +528 -331
  111. package/dist/components/Chat/demo.mjs +17 -17
  112. package/dist/components/Chat/example-usage.js +528 -331
  113. package/dist/components/Chat/example-usage.mjs +18 -18
  114. package/dist/components/Chat/example-with-vercel-ai.js +528 -331
  115. package/dist/components/Chat/example-with-vercel-ai.mjs +17 -17
  116. package/dist/components/Chat/index.js +528 -331
  117. package/dist/components/Chat/index.mjs +25 -25
  118. package/dist/components/DigitalColleagues/Views/TeamsIndexView.d.ts +1 -9
  119. package/dist/components/DigitalColleagues/Views/TeamsIndexView.js +23 -28
  120. package/dist/components/DigitalColleagues/Views/TeamsIndexView.mjs +5 -7
  121. package/dist/components/DigitalColleagues/index.d.ts +0 -18
  122. package/dist/components/DigitalColleagues/index.js +0 -16754
  123. package/dist/components/DigitalColleagues/test-data.d.ts +1 -112
  124. package/dist/components/DigitalColleagues/test-data.js +482 -308
  125. package/dist/components/DigitalColleagues/test-data.mjs +1 -5
  126. package/dist/components/Foundry/Knowledge/add-knowledge-modal.js +1 -1
  127. package/dist/components/Foundry/Knowledge/add-knowledge-modal.mjs +3 -3
  128. package/dist/components/Foundry/Knowledge/add-team-context.js +1 -1
  129. package/dist/components/Foundry/Knowledge/add-team-context.mjs +2 -2
  130. package/dist/components/Foundry/Knowledge/manage-team-context.js +1 -1
  131. package/dist/components/Foundry/Knowledge/manage-team-context.mjs +2 -2
  132. package/dist/components/Foundry/MainPage.mjs +3 -3
  133. package/dist/components/Foundry/ManagementSidebar.d.ts +2 -2
  134. package/dist/components/Foundry/ManagementSidebar.js +12 -4
  135. package/dist/components/Foundry/ManagementSidebar.mjs +1 -1
  136. package/dist/components/Foundry/Pages/dashboardpage.js +1424 -2040
  137. package/dist/components/Foundry/Pages/dashboardpage.mjs +25 -26
  138. package/dist/components/Foundry/RichText/index.js +1 -1
  139. package/dist/components/Foundry/RichText/index.mjs +5 -5
  140. package/dist/components/Foundry/RichText/plugins/image-plugin.js +1 -1
  141. package/dist/components/Foundry/RichText/plugins/image-plugin.mjs +2 -2
  142. package/dist/components/Foundry/RichText/plugins/toolbar-plugin.js +1 -1
  143. package/dist/components/Foundry/RichText/plugins/toolbar-plugin.mjs +4 -4
  144. package/dist/components/Foundry/Views/ColleaguesView.js +5 -4
  145. package/dist/components/Foundry/Views/ColleaguesView.mjs +3 -3
  146. package/dist/components/Foundry/Views/KnowledgeView.js +1 -1
  147. package/dist/components/Foundry/Views/KnowledgeView.mjs +12 -12
  148. package/dist/components/Foundry/Views/TeamsIndexView.js +6 -5
  149. package/dist/components/Foundry/Views/TeamsIndexView.mjs +5 -5
  150. package/dist/components/Foundry/Views/index.js +1352 -787
  151. package/dist/components/Foundry/Views/index.mjs +50 -49
  152. package/dist/components/{.archive → Foundry}/app-card.d.ts +1 -1
  153. package/dist/components/{DigitalColleagues/colleague-type-selection.js → Foundry/app-card.js} +89 -117
  154. package/dist/components/{DigitalColleagues/colleague-card.mjs → Foundry/app-card.mjs} +4 -5
  155. package/dist/components/Foundry/document-edit.js +1 -1
  156. package/dist/components/Foundry/document-edit.mjs +6 -6
  157. package/dist/components/Foundry/document-preview-examples.js +1 -1
  158. package/dist/components/Foundry/document-preview-examples.mjs +7 -7
  159. package/dist/components/Foundry/document-preview.js +1 -1
  160. package/dist/components/Foundry/document-preview.mjs +7 -7
  161. package/dist/components/Foundry/file-edit.js +1 -1
  162. package/dist/components/Foundry/file-edit.mjs +7 -7
  163. package/dist/components/Foundry/foundary-layout.js +481 -302
  164. package/dist/components/Foundry/foundary-layout.mjs +5 -5
  165. package/dist/components/Foundry/index.js +2748 -2868
  166. package/dist/components/Foundry/index.mjs +78 -79
  167. package/dist/components/Foundry/knowledge-browser.js +1 -1
  168. package/dist/components/Foundry/knowledge-browser.mjs +8 -8
  169. package/dist/components/Foundry/types.d.ts +26 -0
  170. package/dist/components/HeaderFooter/SectionHeading.mjs +7 -7
  171. package/dist/components/HeaderFooter/index.mjs +5 -5
  172. package/dist/components/Heros/DashboardHero/DashboardHero.js +5 -4
  173. package/dist/components/Heros/DashboardHero/DashboardHero.mjs +2 -2
  174. package/dist/components/Heros/DashboardHero/index.js +5 -4
  175. package/dist/components/Heros/DashboardHero/index.mjs +2 -2
  176. package/dist/components/Heros/HighImpact/index.mjs +7 -7
  177. package/dist/components/Heros/LowImpact/index.mjs +7 -7
  178. package/dist/components/Heros/MediumImpact/index.mjs +7 -7
  179. package/dist/components/Heros/PostHero/index.mjs +2 -2
  180. package/dist/components/Heros/RenderHero.mjs +10 -10
  181. package/dist/components/Heros/index.js +5 -4
  182. package/dist/components/Heros/index.mjs +15 -15
  183. package/dist/components/Layouts/OutputHeaderFooter.mjs +7 -7
  184. package/dist/components/Layouts/Print.mjs +11 -11
  185. package/dist/components/Layouts/SlideShow.mjs +13 -13
  186. package/dist/components/Layouts/index.mjs +17 -17
  187. package/dist/components/Payload/RichText/index.mjs +6 -6
  188. package/dist/components/Payload/RichText/serialize.mjs +6 -6
  189. package/dist/components/Payload/index.mjs +6 -6
  190. package/dist/components/Projects/AddEpicModal.js +1 -1
  191. package/dist/components/Projects/AddEpicModal.mjs +2 -2
  192. package/dist/components/Projects/AddFileModal.js +1 -1
  193. package/dist/components/Projects/AddFileModal.mjs +2 -2
  194. package/dist/components/Projects/AddSprintModal.js +1 -1
  195. package/dist/components/Projects/AddSprintModal.mjs +2 -2
  196. package/dist/components/Projects/AddTaskModal.js +1 -1
  197. package/dist/components/Projects/AddTaskModal.mjs +2 -2
  198. package/dist/components/Projects/EpicFilter.d.ts +6 -2
  199. package/dist/components/Projects/EpicFilter.js +6 -6
  200. package/dist/components/Projects/EpicFilter.mjs +6 -6
  201. package/dist/components/Projects/EpicsView.d.ts +12 -2
  202. package/dist/components/Projects/EpicsView.js +3980 -736
  203. package/dist/components/Projects/EpicsView.mjs +48 -6
  204. package/dist/components/Projects/FileView.js +6 -5
  205. package/dist/components/Projects/FileView.mjs +12 -12
  206. package/dist/components/Projects/GanttView.d.ts +13 -0
  207. package/dist/components/{DigitalColleagues/colleague-card.js → Projects/GanttView.js} +559 -260
  208. package/dist/components/{DigitalColleagues/digital-colleague-clone.mjs → Projects/GanttView.mjs} +7 -6
  209. package/dist/components/Projects/KanbanBoardView.js +6 -5
  210. package/dist/components/Projects/KanbanBoardView.mjs +17 -17
  211. package/dist/components/Projects/KanbanColumn.d.ts +1 -1
  212. package/dist/components/Projects/PlanningView.js +6 -5
  213. package/dist/components/Projects/PlanningView.mjs +5 -5
  214. package/dist/components/Projects/ProjectPage.d.ts +2 -2
  215. package/dist/components/Projects/ProjectPage.js +1727 -966
  216. package/dist/components/Projects/ProjectPage.mjs +30 -29
  217. package/dist/components/Projects/ProjectView.d.ts +1 -1
  218. package/dist/components/Projects/ProjectView.js +1209 -644
  219. package/dist/components/Projects/ProjectView.mjs +25 -24
  220. package/dist/components/Projects/ProjectsIndexView.js +6 -5
  221. package/dist/components/Projects/ProjectsIndexView.mjs +4 -4
  222. package/dist/components/Projects/SprintBoardView.d.ts +3 -0
  223. package/dist/components/Projects/SprintBoardView.js +252 -110
  224. package/dist/components/Projects/SprintBoardView.mjs +18 -18
  225. package/dist/components/Projects/TaskDetailsModal.js +1 -1
  226. package/dist/components/Projects/TaskDetailsModal.mjs +11 -11
  227. package/dist/components/Projects/TasksView.js +6 -5
  228. package/dist/components/Projects/TasksView.mjs +4 -4
  229. package/dist/components/Projects/business-unit-switcher.d.ts +1 -1
  230. package/dist/components/Projects/business-units.d.ts +1 -1
  231. package/dist/components/Projects/file-list.js +1 -1
  232. package/dist/components/Projects/file-list.mjs +8 -8
  233. package/dist/components/Projects/index.js +538 -231
  234. package/dist/components/Projects/index.mjs +23 -23
  235. package/dist/components/Projects/project-card.d.ts +1 -1
  236. package/dist/components/Projects/project-form.d.ts +1 -1
  237. package/dist/components/Projects/team-card.d.ts +1 -1
  238. package/dist/components/Projects/team-switcher-bar.d.ts +1 -1
  239. package/dist/components/Projects/test-data.d.ts +448 -29
  240. package/dist/components/dc-temp/dashboard-integration-example.js +498 -326
  241. package/dist/components/dc-temp/dashboard-integration-example.mjs +7 -7
  242. package/dist/components/dc-temp/index.d.ts +3 -3
  243. package/dist/components/dc-temp/index.js +3746 -2980
  244. package/dist/components/dc-temp/index.mjs +24 -22
  245. package/dist/components/dc-temp/mock-data.d.ts +1 -1
  246. package/dist/components/index.js +4129 -4210
  247. package/dist/components/index.mjs +174 -176
  248. package/dist/components/ui/command.js +1 -1
  249. package/dist/components/ui/command.mjs +2 -2
  250. package/dist/components/ui/dialog.js +1 -1
  251. package/dist/components/ui/dialog.mjs +1 -1
  252. package/dist/components/ui/index.js +1 -1
  253. package/dist/components/ui/index.mjs +2 -2
  254. package/dist/decorators/Intranet.css +54 -14
  255. package/dist/decorators/Intranet.mjs +103 -105
  256. package/dist/globals.css +54 -14
  257. package/dist/hooks/use-local-storage.d.ts +2 -1
  258. package/dist/hooks/use-local-storage.js +5 -4
  259. package/dist/hooks/use-local-storage.mjs +1 -1
  260. package/dist/index.js +4125 -4206
  261. package/dist/index.mjs +185 -187
  262. package/dist/metafile-cjs.json +1 -1
  263. package/dist/metafile-esm.json +1 -1
  264. package/dist/pages/Blog.mjs +11 -11
  265. package/dist/pages/Documentation.mjs +3 -3
  266. package/dist/pages/IndexPage.mjs +14 -14
  267. package/dist/pages/Intranet.mjs +1 -1
  268. package/dist/pages/LandingPage.mjs +113 -115
  269. package/dist/pages/Page.mjs +15 -15
  270. package/dist/pages/Publish.mjs +104 -106
  271. package/dist/pages/Website.mjs +18 -18
  272. package/dist/sections/AboutSection.mjs +8 -8
  273. package/dist/sections/BlogDetail.mjs +7 -7
  274. package/dist/sections/BlogList.mjs +8 -8
  275. package/dist/sections/ContactSection.mjs +8 -8
  276. package/dist/sections/PageSections.mjs +113 -115
  277. package/dist/sections/PricingSection.mjs +8 -8
  278. package/dist/sections/ServiceDetail.mjs +7 -7
  279. package/dist/sections/ServiceDetailSection.mjs +7 -7
  280. package/dist/sections/ServiceSection.mjs +104 -106
  281. package/dist/sections/index.mjs +113 -115
  282. package/package.json +5 -2
  283. package/dist/chunk-5MMSWFVA.mjs +0 -364
  284. package/dist/chunk-7TDXZ32Q.mjs +0 -197
  285. package/dist/chunk-APXXTGT4.mjs +0 -424
  286. package/dist/chunk-BZENEU5C.mjs +0 -160
  287. package/dist/chunk-C444TUVA.mjs +0 -306
  288. package/dist/chunk-CNQTT5P3.mjs +0 -276
  289. package/dist/chunk-CQKCEXF2.mjs +0 -82
  290. package/dist/chunk-EKQB7NJA.mjs +0 -194
  291. package/dist/chunk-G4WW3ZTX.mjs +0 -1063
  292. package/dist/chunk-IWG2URAU.mjs +0 -74
  293. package/dist/chunk-IWSATDRG.mjs +0 -118
  294. package/dist/chunk-JRNDRMIC.mjs +0 -73
  295. package/dist/chunk-K2C4VMGF.mjs +0 -121
  296. package/dist/chunk-LQQ6C7FN.mjs +0 -365
  297. package/dist/chunk-M6ELOAGS.mjs +0 -136
  298. package/dist/chunk-NAUBZM7P.mjs +0 -183
  299. package/dist/chunk-NHDPHK6D.mjs +0 -72
  300. package/dist/chunk-R5MJWISX.mjs +0 -194
  301. package/dist/chunk-RKYMAFRJ.mjs +0 -92
  302. package/dist/chunk-SZBUXY6L.mjs +0 -121
  303. package/dist/chunk-VY6L37RQ.mjs +0 -103
  304. package/dist/chunk-X6UI73UN.mjs +0 -262
  305. package/dist/components/DigitalColleagues/AppSidebarLeft.d.ts +0 -47
  306. package/dist/components/DigitalColleagues/AppSidebarLeft.js +0 -3407
  307. package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +0 -23
  308. package/dist/components/DigitalColleagues/DashboardHeader.d.ts +0 -8
  309. package/dist/components/DigitalColleagues/DashboardHeader.js +0 -2756
  310. package/dist/components/DigitalColleagues/DashboardHeader.mjs +0 -15
  311. package/dist/components/DigitalColleagues/DigitalColleageusLayout.css +0 -917
  312. package/dist/components/DigitalColleagues/DigitalColleageusLayout.d.ts +0 -28
  313. package/dist/components/DigitalColleagues/DigitalColleageusLayout.js +0 -4417
  314. package/dist/components/DigitalColleagues/DigitalColleageusLayout.mjs +0 -31
  315. package/dist/components/DigitalColleagues/MainPage.css +0 -917
  316. package/dist/components/DigitalColleagues/MainPage.d.ts +0 -3
  317. package/dist/components/DigitalColleagues/MainPage.js +0 -4080
  318. package/dist/components/DigitalColleagues/MainPage.mjs +0 -46
  319. package/dist/components/DigitalColleagues/ManagementSidebar.d.ts +0 -8
  320. package/dist/components/DigitalColleagues/ManagementSidebar.js +0 -99
  321. package/dist/components/DigitalColleagues/ManagementSidebar.mjs +0 -9
  322. package/dist/components/DigitalColleagues/Pages/dashboardpage.css +0 -917
  323. package/dist/components/DigitalColleagues/Pages/dashboardpage.d.ts +0 -18
  324. package/dist/components/DigitalColleagues/Pages/dashboardpage.js +0 -8514
  325. package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +0 -78
  326. package/dist/components/DigitalColleagues/README-document-edit.js +0 -2
  327. package/dist/components/DigitalColleagues/README-document-edit.mjs +0 -7
  328. package/dist/components/DigitalColleagues/README-document-preview.js +0 -2
  329. package/dist/components/DigitalColleagues/README-document-preview.mjs +0 -7
  330. package/dist/components/DigitalColleagues/SearchableSelect.css +0 -917
  331. package/dist/components/DigitalColleagues/SearchableSelect.d.ts +0 -16
  332. package/dist/components/DigitalColleagues/SearchableSelect.js +0 -2745
  333. package/dist/components/DigitalColleagues/SearchableSelect.mjs +0 -16
  334. package/dist/components/DigitalColleagues/Views/ColleaguesView.css +0 -917
  335. package/dist/components/DigitalColleagues/Views/ColleaguesView.d.ts +0 -14
  336. package/dist/components/DigitalColleagues/Views/ColleaguesView.js +0 -3795
  337. package/dist/components/DigitalColleagues/Views/ColleaguesView.mjs +0 -28
  338. package/dist/components/DigitalColleagues/Views/KnowledgeView.css +0 -917
  339. package/dist/components/DigitalColleagues/Views/KnowledgeView.d.ts +0 -11
  340. package/dist/components/DigitalColleagues/Views/KnowledgeView.docs.js +0 -2
  341. package/dist/components/DigitalColleagues/Views/KnowledgeView.docs.mjs +0 -7
  342. package/dist/components/DigitalColleagues/Views/KnowledgeView.js +0 -3935
  343. package/dist/components/DigitalColleagues/Views/KnowledgeView.mjs +0 -26
  344. package/dist/components/DigitalColleagues/Views/index.css +0 -917
  345. package/dist/components/DigitalColleagues/Views/index.d.ts +0 -7
  346. package/dist/components/DigitalColleagues/Views/index.js +0 -12284
  347. package/dist/components/DigitalColleagues/Views/index.mjs +0 -114
  348. package/dist/components/DigitalColleagues/colleague-card.css +0 -917
  349. package/dist/components/DigitalColleagues/colleague-card.d.ts +0 -12
  350. package/dist/components/DigitalColleagues/colleague-form.css +0 -917
  351. package/dist/components/DigitalColleagues/colleague-form.d.ts +0 -14
  352. package/dist/components/DigitalColleagues/colleague-form.js +0 -3086
  353. package/dist/components/DigitalColleagues/colleague-form.mjs +0 -22
  354. package/dist/components/DigitalColleagues/colleague-type-selection.css +0 -917
  355. package/dist/components/DigitalColleagues/colleague-type-selection.d.ts +0 -7
  356. package/dist/components/DigitalColleagues/colleague-type-selection.mjs +0 -16
  357. package/dist/components/DigitalColleagues/digital-colleague-clone.css +0 -917
  358. package/dist/components/DigitalColleagues/digital-colleague-clone.d.ts +0 -9
  359. package/dist/components/DigitalColleagues/digital-colleague-clone.js +0 -2828
  360. package/dist/components/DigitalColleagues/digital-colleague-options.css +0 -917
  361. package/dist/components/DigitalColleagues/digital-colleague-options.d.ts +0 -7
  362. package/dist/components/DigitalColleagues/digital-colleague-options.js +0 -2697
  363. package/dist/components/DigitalColleagues/digital-colleague-options.mjs +0 -16
  364. package/dist/components/DigitalColleagues/document-edit.css +0 -917
  365. package/dist/components/DigitalColleagues/document-edit.d.ts +0 -10
  366. package/dist/components/DigitalColleagues/document-edit.js +0 -3112
  367. package/dist/components/DigitalColleagues/document-edit.mjs +0 -20
  368. package/dist/components/DigitalColleagues/document-preview-examples.css +0 -917
  369. package/dist/components/DigitalColleagues/document-preview-examples.d.ts +0 -12
  370. package/dist/components/DigitalColleagues/document-preview-examples.js +0 -3433
  371. package/dist/components/DigitalColleagues/document-preview-examples.mjs +0 -151
  372. package/dist/components/DigitalColleagues/document-preview.css +0 -917
  373. package/dist/components/DigitalColleagues/document-preview.d.ts +0 -18
  374. package/dist/components/DigitalColleagues/document-preview.js +0 -3296
  375. package/dist/components/DigitalColleagues/document-preview.mjs +0 -21
  376. package/dist/components/DigitalColleagues/index.css +0 -917
  377. package/dist/components/DigitalColleagues/index.mjs +0 -200
  378. package/dist/components/DigitalColleagues/knowledge-browser.css +0 -917
  379. package/dist/components/DigitalColleagues/knowledge-browser.d.ts +0 -13
  380. package/dist/components/DigitalColleagues/knowledge-browser.js +0 -3581
  381. package/dist/components/DigitalColleagues/knowledge-browser.mjs +0 -23
  382. package/dist/components/DigitalColleagues/knowledge-search.css +0 -917
  383. package/dist/components/DigitalColleagues/knowledge-search.d.ts +0 -12
  384. package/dist/components/DigitalColleagues/knowledge-search.js +0 -2819
  385. package/dist/components/DigitalColleagues/knowledge-search.mjs +0 -20
  386. package/dist/components/DigitalColleagues/team-form.css +0 -917
  387. package/dist/components/DigitalColleagues/team-form.d.ts +0 -24
  388. package/dist/components/DigitalColleagues/team-form.js +0 -2836
  389. package/dist/components/DigitalColleagues/team-form.mjs +0 -20
  390. package/dist/components/DigitalColleagues/types.d.ts +0 -289
  391. package/dist/components/DigitalColleagues/types.js +0 -18
  392. package/dist/{chunk-RFQKQLNT.mjs → chunk-JJDC25TG.mjs} +3 -3
  393. package/dist/{chunk-GZGWWPCP.mjs → chunk-L666B5DN.mjs} +12 -12
  394. /package/dist/components/{DigitalColleagues/AppSidebarLeft.css → Foundry/app-card.css} +0 -0
  395. /package/dist/components/{DigitalColleagues/DashboardHeader.css → Projects/GanttView.css} +0 -0
@@ -52,7 +52,7 @@ var import_react20 = require("react");
52
52
  var import_react21 = require("motion/react");
53
53
  var import_lucide_react20 = require("lucide-react");
54
54
 
55
- // src/components/DigitalColleagues/DigitalColleageusLayout.tsx
55
+ // src/components/Foundry/foundary-layout.tsx
56
56
  var import_react6 = require("react");
57
57
 
58
58
  // src/utils/cn.ts
@@ -2672,7 +2672,7 @@ var DialogContent = React4.forwardRef(({ className, children, ...props }, ref) =
2672
2672
  {
2673
2673
  ref,
2674
2674
  className: cn(
2675
- "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",
2675
+ "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg max-h-[90vh] overflow-y-auto translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",
2676
2676
  className
2677
2677
  ),
2678
2678
  ...props,
@@ -2735,15 +2735,9 @@ var Checkbox = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__
2735
2735
  ));
2736
2736
  Checkbox.displayName = CheckboxPrimitive.Root.displayName;
2737
2737
 
2738
- // src/components/DigitalColleagues/test-data.tsx
2738
+ // src/components/Foundry/test-data.tsx
2739
2739
  var import_lucide_react3 = require("lucide-react");
2740
2740
  var import_jsx_runtime7 = require("react/jsx-runtime");
2741
- var createKnowledgeDocument = (title) => ({
2742
- id: Math.random().toString(36).substr(2, 9),
2743
- title,
2744
- format: "markdown",
2745
- createdAt: /* @__PURE__ */ new Date()
2746
- });
2747
2741
  var businessUnits = [
2748
2742
  {
2749
2743
  id: "design",
@@ -2828,289 +2822,392 @@ var businessUnits = [
2828
2822
  ];
2829
2823
  var mockProjects = [
2830
2824
  {
2831
- id: "1",
2825
+ id: 1,
2832
2826
  name: "E-commerce Platform",
2833
2827
  description: "Main customer-facing e-commerce application",
2834
- isSelected: true
2828
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
2829
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
2830
+ team: 1
2831
+ // isSelected: true,
2835
2832
  },
2836
2833
  {
2837
- id: "2",
2834
+ id: 2,
2838
2835
  name: "Admin Dashboard",
2839
2836
  description: "Internal administration and analytics dashboard",
2840
- isSelected: false
2837
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
2838
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
2839
+ team: 1
2840
+ // isSelected: false,
2841
2841
  },
2842
2842
  {
2843
- id: "3",
2843
+ id: 3,
2844
2844
  name: "Mobile App",
2845
2845
  description: "Native mobile application for iOS and Android",
2846
- isSelected: false
2846
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
2847
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
2848
+ team: 1
2849
+ // isSelected: false,
2847
2850
  }
2848
2851
  ];
2849
2852
  var mockEpics = [
2850
2853
  {
2851
- id: "1",
2854
+ id: 1,
2852
2855
  name: "User Authentication",
2853
2856
  color: "bg-blue-500",
2854
2857
  description: "Implement secure user authentication system",
2855
2858
  confidence: "high",
2856
2859
  phase: 2,
2857
2860
  // development
2858
- startDate: /* @__PURE__ */ new Date("2024-01-01"),
2859
- endDate: /* @__PURE__ */ new Date("2024-02-15"),
2860
- progress: 75,
2861
- isSelected: true
2861
+ startDate: (/* @__PURE__ */ new Date()).toString(),
2862
+ endDate: (/* @__PURE__ */ new Date()).toString(),
2863
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
2864
+ updatedAt: (/* @__PURE__ */ new Date()).toString()
2865
+ // progress: 75,
2866
+ // isSelected: true,
2862
2867
  },
2863
2868
  {
2864
- id: "2",
2869
+ id: 2,
2865
2870
  name: "Dashboard Features",
2866
2871
  color: "bg-green-500",
2867
2872
  description: "Build comprehensive dashboard functionality",
2868
2873
  confidence: "medium",
2869
2874
  phase: 1,
2870
2875
  // planning
2871
- startDate: /* @__PURE__ */ new Date("2024-02-01"),
2872
- endDate: /* @__PURE__ */ new Date("2024-03-15"),
2873
- progress: 30,
2874
- isSelected: true
2876
+ startDate: (/* @__PURE__ */ new Date()).toString(),
2877
+ endDate: (/* @__PURE__ */ new Date()).toString(),
2878
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
2879
+ updatedAt: (/* @__PURE__ */ new Date()).toString()
2880
+ // progress: 30,
2881
+ // isSelected: true,
2875
2882
  },
2876
2883
  {
2877
- id: "3",
2884
+ id: 3,
2878
2885
  name: "Mobile Optimization",
2879
2886
  color: "bg-purple-500",
2880
2887
  description: "Optimize application for mobile devices",
2881
2888
  confidence: "low",
2882
2889
  phase: 1,
2883
2890
  // planning
2884
- startDate: /* @__PURE__ */ new Date("2024-03-01"),
2885
- endDate: /* @__PURE__ */ new Date("2024-04-15"),
2886
- progress: 10,
2887
- isSelected: true
2891
+ startDate: (/* @__PURE__ */ new Date()).toString(),
2892
+ endDate: (/* @__PURE__ */ new Date()).toString(),
2893
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
2894
+ updatedAt: (/* @__PURE__ */ new Date()).toString()
2895
+ // progress: 10,
2896
+ // isSelected: true,
2888
2897
  },
2889
2898
  {
2890
- id: "4",
2899
+ id: 4,
2891
2900
  name: "Performance Improvements",
2892
2901
  color: "bg-orange-500",
2893
2902
  description: "Enhance application performance and speed",
2894
2903
  confidence: "high",
2895
2904
  phase: 3,
2896
2905
  // testing
2897
- startDate: /* @__PURE__ */ new Date("2024-01-15"),
2898
- endDate: /* @__PURE__ */ new Date("2024-02-28"),
2899
- progress: 90,
2900
- isSelected: true
2906
+ startDate: (/* @__PURE__ */ new Date()).toString(),
2907
+ endDate: (/* @__PURE__ */ new Date()).toString(),
2908
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
2909
+ updatedAt: (/* @__PURE__ */ new Date()).toString()
2910
+ // progress: 90,
2911
+ // isSelected: true,
2901
2912
  }
2902
2913
  ];
2903
2914
  var mockSprints = [
2904
2915
  {
2905
- id: "backlog",
2916
+ id: 1,
2906
2917
  name: "Backlog",
2907
2918
  description: "Tasks not yet assigned to a sprint",
2908
- startDate: /* @__PURE__ */ new Date("2024-01-01"),
2909
- endDate: /* @__PURE__ */ new Date("2024-12-31"),
2910
- isActive: false,
2911
- isSelected: false
2919
+ startDate: (/* @__PURE__ */ new Date()).toString(),
2920
+ endDate: (/* @__PURE__ */ new Date()).toString(),
2921
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
2922
+ updatedAt: (/* @__PURE__ */ new Date()).toString()
2923
+ // isActive: false,
2924
+ // isSelected: false,
2912
2925
  },
2913
2926
  {
2914
- id: "all-tasks",
2927
+ id: 2,
2915
2928
  name: "All Tasks",
2916
2929
  description: "View all tasks across all sprints",
2917
- startDate: /* @__PURE__ */ new Date("2024-01-01"),
2918
- endDate: /* @__PURE__ */ new Date("2024-12-31"),
2919
- isActive: false,
2920
- isSelected: true
2930
+ startDate: (/* @__PURE__ */ new Date()).toString(),
2931
+ endDate: (/* @__PURE__ */ new Date()).toString(),
2932
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
2933
+ updatedAt: (/* @__PURE__ */ new Date()).toString()
2934
+ // isActive: false,
2935
+ // isSelected: true,
2921
2936
  },
2922
2937
  {
2923
- id: "1",
2938
+ id: 3,
2924
2939
  name: "Sprint 1",
2925
2940
  description: "Initial development phase",
2926
- startDate: /* @__PURE__ */ new Date("2024-01-01"),
2927
- endDate: /* @__PURE__ */ new Date("2024-01-14"),
2928
- isActive: false,
2929
- isSelected: false
2941
+ startDate: (/* @__PURE__ */ new Date()).toString(),
2942
+ endDate: (/* @__PURE__ */ new Date()).toString(),
2943
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
2944
+ updatedAt: (/* @__PURE__ */ new Date()).toString()
2945
+ // isActive: false,
2946
+ // isSelected: false,
2930
2947
  },
2931
2948
  {
2932
- id: "2",
2949
+ id: 4,
2933
2950
  name: "Sprint 2",
2934
2951
  description: "Feature development",
2935
- startDate: /* @__PURE__ */ new Date("2024-01-15"),
2936
- endDate: /* @__PURE__ */ new Date("2024-01-28"),
2937
- isActive: true,
2938
- isSelected: false
2952
+ startDate: (/* @__PURE__ */ new Date()).toString(),
2953
+ endDate: (/* @__PURE__ */ new Date()).toString(),
2954
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
2955
+ updatedAt: (/* @__PURE__ */ new Date()).toString()
2956
+ // isActive: true,
2957
+ // isSelected: false,
2939
2958
  }
2940
2959
  ];
2941
2960
  var mockTasks = [
2942
2961
  {
2943
- id: "1",
2962
+ id: 1,
2944
2963
  name: "Design login page",
2945
2964
  description: "Create wireframes and mockups for the login interface",
2946
2965
  status: "todo",
2947
2966
  priority: "high",
2948
2967
  type: "story",
2949
- points: 5,
2950
- epicId: "1",
2951
- sprintId: "2",
2952
- assignee: "John Doe",
2953
- createdAt: /* @__PURE__ */ new Date("2024-01-15")
2968
+ dateLogged: (/* @__PURE__ */ new Date()).toString(),
2969
+ index: 1,
2970
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
2971
+ // points: 5,
2972
+ // epicId: '1',
2973
+ // sprintId: '2',
2974
+ assignee: {
2975
+ relationTo: "users",
2976
+ value: "John Doe"
2977
+ },
2978
+ createdAt: (/* @__PURE__ */ new Date()).toString()
2954
2979
  },
2955
2980
  {
2956
- id: "2",
2981
+ id: 2,
2957
2982
  name: "Implement OAuth integration",
2958
2983
  description: "Add Google and GitHub OAuth authentication",
2959
2984
  status: "review",
2960
2985
  priority: "high",
2961
2986
  type: "task",
2962
- points: 8,
2963
- epicId: "1",
2964
- sprintId: "2",
2965
- assignee: "Jane Smith",
2966
- createdAt: /* @__PURE__ */ new Date("2024-01-16")
2987
+ dateLogged: (/* @__PURE__ */ new Date()).toString(),
2988
+ index: 2,
2989
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
2990
+ // points: 8,
2991
+ // epicId: '1',
2992
+ // sprintId: '2',
2993
+ assignee: {
2994
+ relationTo: "users",
2995
+ value: "Jane Smith"
2996
+ },
2997
+ createdAt: (/* @__PURE__ */ new Date()).toString()
2967
2998
  },
2968
2999
  {
2969
- id: "3",
3000
+ id: 3,
2970
3001
  name: "Create dashboard widgets",
2971
3002
  description: "Build analytics and metrics widgets for the main dashboard",
2972
3003
  status: "todo",
2973
3004
  priority: "medium",
2974
3005
  type: "story",
2975
- points: 13,
2976
- epicId: "2",
2977
- sprintId: "2",
2978
- assignee: "Mike Johnson",
2979
- createdAt: /* @__PURE__ */ new Date("2024-01-17")
3006
+ dateLogged: (/* @__PURE__ */ new Date()).toString(),
3007
+ index: 3,
3008
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3009
+ // points: 13,
3010
+ // epicId: '2',
3011
+ // sprintId: '2',
3012
+ assignee: {
3013
+ relationTo: "users",
3014
+ value: "Mike Johnson"
3015
+ },
3016
+ createdAt: (/* @__PURE__ */ new Date()).toString()
2980
3017
  },
2981
3018
  {
2982
- id: "4",
3019
+ id: 4,
2983
3020
  name: "Fix login redirect bug",
2984
3021
  description: "Resolve issue where users are not redirected after login",
2985
3022
  status: "done",
2986
3023
  priority: "high",
2987
3024
  type: "bug",
2988
- points: 3,
2989
- epicId: "1",
2990
- sprintId: "1",
2991
- assignee: "Sarah Wilson",
2992
- createdAt: /* @__PURE__ */ new Date("2024-01-14")
3025
+ dateLogged: (/* @__PURE__ */ new Date()).toString(),
3026
+ index: 4,
3027
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3028
+ // points: 3,
3029
+ // epicId: '1',
3030
+ // sprintId: '1',
3031
+ assignee: {
3032
+ relationTo: "users",
3033
+ value: "Sarah Wilson"
3034
+ },
3035
+ createdAt: (/* @__PURE__ */ new Date()).toString()
2993
3036
  },
2994
3037
  {
2995
- id: "5",
3038
+ id: 5,
2996
3039
  name: "Research mobile frameworks",
2997
3040
  description: "Investigate best practices for mobile responsive design",
2998
3041
  status: "in-progress",
2999
3042
  priority: "medium",
3000
3043
  type: "spike",
3001
- points: 5,
3002
- epicId: "3",
3003
- assignee: "Alex Brown",
3004
- createdAt: /* @__PURE__ */ new Date("2024-01-18")
3044
+ dateLogged: (/* @__PURE__ */ new Date()).toString(),
3045
+ index: 5,
3046
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3047
+ // points: 5,
3048
+ // epicId: '3',
3049
+ assignee: {
3050
+ relationTo: "users",
3051
+ value: "Alex Brown"
3052
+ },
3053
+ createdAt: (/* @__PURE__ */ new Date()).toString()
3005
3054
  },
3006
3055
  {
3007
- id: "6",
3056
+ id: 6,
3008
3057
  name: "Update user profile page",
3009
3058
  description: "Enhance user profile with new settings and preferences",
3010
3059
  status: "review",
3011
3060
  priority: "medium",
3012
3061
  type: "story",
3013
- points: 8,
3014
- epicId: "2",
3015
- sprintId: "2",
3016
- assignee: "Emma Davis",
3017
- createdAt: /* @__PURE__ */ new Date("2024-01-19")
3062
+ dateLogged: (/* @__PURE__ */ new Date()).toString(),
3063
+ index: 6,
3064
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3065
+ // points: 8,
3066
+ // epicId: '2',
3067
+ // sprintId: '2',
3068
+ assignee: {
3069
+ relationTo: "users",
3070
+ value: "Emma Davis"
3071
+ },
3072
+ createdAt: (/* @__PURE__ */ new Date()).toString()
3018
3073
  },
3019
3074
  {
3020
- id: "7",
3075
+ id: 7,
3021
3076
  name: "Performance optimization",
3022
3077
  description: "Optimize database queries and improve page load times",
3023
3078
  status: "done",
3024
3079
  priority: "high",
3025
3080
  type: "task",
3026
- points: 13,
3027
- epicId: "4",
3028
- sprintId: "1",
3029
- assignee: "Tom Wilson",
3030
- createdAt: /* @__PURE__ */ new Date("2024-01-13")
3081
+ dateLogged: (/* @__PURE__ */ new Date()).toString(),
3082
+ index: 7,
3083
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3084
+ // points: 13,
3085
+ // epicId: '4',
3086
+ // sprintId: '1',
3087
+ assignee: {
3088
+ relationTo: "users",
3089
+ value: "Tom Wilson"
3090
+ },
3091
+ createdAt: (/* @__PURE__ */ new Date()).toString()
3031
3092
  }
3032
3093
  ];
3033
3094
  var highDensityTasks = [
3034
3095
  ...mockTasks,
3035
3096
  {
3036
- id: "8",
3097
+ id: 8,
3037
3098
  name: "Add search functionality",
3038
3099
  description: "Implement search across all dashboard widgets",
3039
3100
  status: "todo",
3040
3101
  priority: "medium",
3041
3102
  type: "story",
3042
- points: 8,
3043
- epicId: "2",
3044
- sprintId: "2",
3045
- assignee: "Chris Lee",
3046
- createdAt: /* @__PURE__ */ new Date("2024-01-20")
3103
+ dateLogged: (/* @__PURE__ */ new Date()).toString(),
3104
+ index: 8,
3105
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3106
+ // points: 8,
3107
+ // epicId: '2',
3108
+ // sprintId: '2',
3109
+ assignee: {
3110
+ relationTo: "users",
3111
+ value: "1"
3112
+ },
3113
+ createdAt: (/* @__PURE__ */ new Date()).toString()
3047
3114
  },
3048
3115
  {
3049
- id: "9",
3116
+ id: 9,
3050
3117
  name: "Fix mobile responsive issues",
3051
3118
  description: "Resolve layout problems on mobile devices",
3052
3119
  status: "in-progress",
3053
3120
  priority: "high",
3054
3121
  type: "bug",
3055
- points: 5,
3056
- epicId: "3",
3057
- sprintId: "2",
3058
- assignee: "Taylor Swift",
3059
- createdAt: /* @__PURE__ */ new Date("2024-01-21")
3122
+ dateLogged: (/* @__PURE__ */ new Date()).toString(),
3123
+ index: 9,
3124
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3125
+ // points: 5,
3126
+ // epicId: '3',
3127
+ // sprintId: '2',
3128
+ assignee: {
3129
+ relationTo: "users",
3130
+ value: "Taylor Swift"
3131
+ },
3132
+ createdAt: (/* @__PURE__ */ new Date()).toString()
3060
3133
  },
3061
3134
  {
3062
- id: "10",
3135
+ id: 10,
3063
3136
  name: "Implement dark mode",
3064
3137
  description: "Add dark theme support across the application",
3065
3138
  status: "review",
3066
3139
  priority: "low",
3067
3140
  type: "story",
3068
- points: 13,
3069
- epicId: "2",
3070
- sprintId: "2",
3071
- assignee: "Jordan Smith",
3072
- createdAt: /* @__PURE__ */ new Date("2024-01-22")
3141
+ dateLogged: (/* @__PURE__ */ new Date()).toString(),
3142
+ index: 10,
3143
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3144
+ // points: 13,
3145
+ // epicId: '2',
3146
+ // sprintId: '2',
3147
+ assignee: {
3148
+ relationTo: "users",
3149
+ value: "Jordan Smith"
3150
+ },
3151
+ createdAt: (/* @__PURE__ */ new Date()).toString()
3073
3152
  },
3074
3153
  {
3075
- id: "11",
3154
+ id: 11,
3076
3155
  name: "API rate limiting",
3077
3156
  description: "Implement rate limiting for API endpoints",
3078
3157
  status: "done",
3079
3158
  priority: "high",
3080
3159
  type: "task",
3081
- points: 8,
3082
- epicId: "4",
3083
- sprintId: "1",
3084
- assignee: "Morgan Davis",
3085
- createdAt: /* @__PURE__ */ new Date("2024-01-12")
3160
+ dateLogged: (/* @__PURE__ */ new Date()).toString(),
3161
+ index: 11,
3162
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3163
+ // points: 8,
3164
+ // epicId: '4',
3165
+ // sprintId: '1',
3166
+ assignee: {
3167
+ relationTo: "users",
3168
+ value: "Morgan Davis"
3169
+ },
3170
+ createdAt: (/* @__PURE__ */ new Date()).toString()
3086
3171
  },
3087
3172
  {
3088
- id: "12",
3173
+ id: 12,
3089
3174
  name: "User onboarding flow",
3090
3175
  description: "Create guided tour for new users",
3091
3176
  status: "todo",
3092
3177
  priority: "medium",
3093
3178
  type: "story",
3094
- points: 21,
3095
- epicId: "1",
3096
- sprintId: "2",
3097
- assignee: "Casey Johnson",
3098
- createdAt: /* @__PURE__ */ new Date("2024-01-23")
3179
+ dateLogged: (/* @__PURE__ */ new Date()).toString(),
3180
+ index: 12,
3181
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3182
+ // points: 21,
3183
+ // epicId: '1',
3184
+ // sprintId: '2',
3185
+ assignee: {
3186
+ relationTo: "users",
3187
+ value: "Casey Johnson"
3188
+ },
3189
+ createdAt: (/* @__PURE__ */ new Date()).toString()
3099
3190
  }
3100
3191
  ];
3101
3192
  var extendedProjects = [
3102
- ...mockProjects,
3193
+ // ...mockProjects,
3103
3194
  {
3104
- id: "4",
3195
+ id: 4,
3105
3196
  name: "Analytics Platform",
3106
3197
  description: "Business intelligence and reporting system",
3107
- isSelected: false
3198
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
3199
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3200
+ team: 1
3201
+ // isSelected: false,
3108
3202
  },
3109
3203
  {
3110
- id: "5",
3204
+ id: 5,
3111
3205
  name: "API Gateway",
3112
3206
  description: "Microservices API management layer",
3113
- isSelected: false
3207
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
3208
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3209
+ // isSelected: false,
3210
+ team: 1
3114
3211
  }
3115
3212
  ];
3116
3213
  var emptyStateData = {
@@ -3151,7 +3248,9 @@ var singleEpicData = {
3151
3248
  isSelected: true
3152
3249
  }
3153
3250
  ],
3154
- tasks: mockTasks.filter((task) => task.epicId === "1")
3251
+ tasks: mockTasks.filter(
3252
+ (task) => typeof task.epic === "object" ? task.epic?.id === 1 : task.epic === 1
3253
+ )
3155
3254
  };
3156
3255
  var testScenarios = {
3157
3256
  empty: {
@@ -3191,243 +3290,322 @@ var mockColleagues = [
3191
3290
  type: "human",
3192
3291
  name: "Sarah Johnson",
3193
3292
  email: "sarah.johnson@company.com",
3194
- role: "Senior Designer",
3195
- department: "Design",
3196
- status: "active",
3197
- joinedDate: /* @__PURE__ */ new Date("2023-01-15"),
3198
- lastActive: /* @__PURE__ */ new Date(),
3199
- phone: "+1 (555) 123-4567",
3200
- location: "San Francisco, CA",
3201
- timezone: "PST",
3202
- skills: ["UI/UX Design", "Figma", "Adobe Creative Suite", "Prototyping", "User Research"],
3203
- bio: "Passionate designer with 8+ years of experience creating user-centered digital experiences."
3293
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
3294
+ updatedAt: (/* @__PURE__ */ new Date()).toString()
3295
+ // role: 'Senior Designer',
3296
+ // department: 'Design',
3297
+ // status: 'active',
3298
+ // joinedDate: new Date('2023-01-15'),
3299
+ // lastActive: new Date(),
3300
+ // phone: '+1 (555) 123-4567',
3301
+ // location: 'San Francisco, CA',
3302
+ // timezone: 'PST',
3303
+ // skills: ['UI/UX Design', 'Figma', 'Adobe Creative Suite', 'Prototyping', 'User Research'],
3304
+ // bio: 'Passionate designer with 8+ years of experience creating user-centered digital experiences.',
3204
3305
  },
3205
3306
  {
3206
- id: "2",
3307
+ id: 2,
3207
3308
  type: "digital",
3208
3309
  name: "CodeAssist Pro",
3209
- status: "active",
3210
- joinedDate: /* @__PURE__ */ new Date("2024-01-01"),
3211
- lastActive: /* @__PURE__ */ new Date(),
3310
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
3311
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3212
3312
  jobDescription: "AI-powered coding assistant that helps with code review, debugging, and documentation generation.",
3213
3313
  workInstructions: "Review pull requests for code quality and best practices. Generate comprehensive documentation for new features. Assist with debugging complex issues. Provide code suggestions and optimizations.",
3214
3314
  capabilities: [
3215
- "Code Review",
3216
- "Documentation Generation",
3217
- "Debugging",
3218
- "Code Optimization",
3219
- "Testing"
3315
+ {
3316
+ relationTo: "mcpTools",
3317
+ value: 1
3318
+ },
3319
+ {
3320
+ relationTo: "mcpTools",
3321
+ value: 2
3322
+ }
3220
3323
  ],
3221
- knowledge: ["JavaScript", "TypeScript", "React", "Node.js", "Python", "Git"].map(
3222
- createKnowledgeDocument
3223
- ),
3224
- coreKnowledge: ["Company coding standards", "Architecture patterns", "Security guidelines"].map(
3225
- createKnowledgeDocument
3226
- ),
3227
- version: "2",
3228
- lastUpdated: /* @__PURE__ */ new Date("2024-01-15"),
3229
- isActive: true
3324
+ knowledge: 1,
3325
+ coreKnowledge: 1,
3326
+ capabilityLevel: 1,
3327
+ // version: '2',
3328
+ // lastUpdated: new Date('2024-01-15').toString(),
3329
+ // isActive: true,
3330
+ identity: {
3331
+ id: 1,
3332
+ keycloakClientId: "123",
3333
+ keycloakUserId: "456",
3334
+ secretManagementMode: "manual",
3335
+ keycloakClientSecret: "new-secret",
3336
+ keycloakSecretArn: "arn:aws:secretsmanager:us-east-1:123456789012:secret:mysecret",
3337
+ keycloakSecretLocation: "us-east-1",
3338
+ keycloakSecretLastUpdated: (/* @__PURE__ */ new Date()).toString(),
3339
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3340
+ createdAt: (/* @__PURE__ */ new Date()).toString()
3341
+ }
3230
3342
  },
3231
3343
  {
3232
3344
  id: "3",
3233
3345
  type: "human",
3234
3346
  name: "Michael Chen",
3235
3347
  email: "michael.chen@company.com",
3236
- role: "Product Manager",
3237
- department: "Product",
3238
- status: "inactive",
3239
- joinedDate: /* @__PURE__ */ new Date("2022-08-20"),
3240
- lastActive: new Date(Date.now() - 2 * 60 * 60 * 1e3),
3241
- // 2 hours ago
3242
- phone: "+1 (555) 987-6543",
3243
- location: "New York, NY",
3244
- timezone: "EST",
3245
- skills: ["Product Strategy", "Agile", "Data Analysis", "User Stories", "Roadmapping"],
3246
- bio: "Strategic product manager focused on driving user engagement and business growth."
3348
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
3349
+ updatedAt: (/* @__PURE__ */ new Date()).toString()
3350
+ // role: 'Product Manager',
3351
+ // department: 'Product',
3352
+ // status: 'inactive',
3353
+ // joinedDate: new Date('2022-08-20'),
3354
+ // lastActive: new Date(Date.now() - 2 * 60 * 60 * 1000), // 2 hours ago
3355
+ // phone: '+1 (555) 987-6543',
3356
+ // location: 'New York, NY',
3357
+ // timezone: 'EST',
3358
+ // skills: ['Product Strategy', 'Agile', 'Data Analysis', 'User Stories', 'Roadmapping'],
3359
+ // bio: 'Strategic product manager focused on driving user engagement and business growth.',
3247
3360
  },
3248
3361
  {
3249
- id: "4",
3362
+ id: 4,
3250
3363
  type: "digital",
3251
3364
  name: "MarketingBot",
3252
- status: "active",
3253
- joinedDate: /* @__PURE__ */ new Date("2024-02-01"),
3254
- lastActive: /* @__PURE__ */ new Date(),
3365
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
3366
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3255
3367
  jobDescription: "Specialized AI assistant for marketing campaigns, content creation, and social media management.",
3256
3368
  workInstructions: "Create engaging social media content. Analyze campaign performance metrics. Generate marketing copy and headlines. Schedule and manage social media posts.",
3257
3369
  capabilities: [
3258
- "Content Creation",
3259
- "Social Media Management",
3260
- "Analytics",
3261
- "SEO Optimization",
3262
- "Campaign Management"
3370
+ {
3371
+ relationTo: "mcpTools",
3372
+ value: 1
3373
+ },
3374
+ {
3375
+ relationTo: "mcpTools",
3376
+ value: 2
3377
+ }
3263
3378
  ],
3264
- knowledge: [
3265
- "Digital Marketing",
3266
- "Social Media Platforms",
3267
- "Content Strategy",
3268
- "Analytics Tools"
3269
- ].map(createKnowledgeDocument),
3270
- coreKnowledge: ["Brand guidelines", "Target audience personas", "Marketing objectives"].map(
3271
- createKnowledgeDocument
3272
- ),
3273
- version: "52",
3274
- lastUpdated: /* @__PURE__ */ new Date("2024-02-10"),
3275
- isActive: true
3379
+ knowledge: 1,
3380
+ coreKnowledge: 1,
3381
+ capabilityLevel: 1,
3382
+ // version: '52',
3383
+ // lastUpdated: new Date('2024-02-10'),
3384
+ // isActive: true,
3385
+ identity: {
3386
+ id: 1,
3387
+ keycloakClientId: "123",
3388
+ keycloakUserId: "456",
3389
+ secretManagementMode: "manual",
3390
+ keycloakClientSecret: "new-secret",
3391
+ keycloakSecretArn: "arn:aws:secretsmanager:us-east-1:123456789012:secret:mysecret",
3392
+ keycloakSecretLocation: "us-east-1",
3393
+ keycloakSecretLastUpdated: (/* @__PURE__ */ new Date()).toString(),
3394
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3395
+ createdAt: (/* @__PURE__ */ new Date()).toString()
3396
+ }
3276
3397
  },
3277
3398
  {
3278
3399
  id: "5",
3279
3400
  type: "human",
3280
3401
  name: "Emily Rodriguez",
3281
3402
  email: "emily.rodriguez@company.com",
3282
- role: "UX Researcher",
3283
- department: "Design",
3284
- status: "inactive",
3285
- joinedDate: /* @__PURE__ */ new Date("2023-06-10"),
3286
- lastActive: new Date(Date.now() - 7 * 24 * 60 * 60 * 1e3),
3287
- // 7 days ago
3288
- phone: "+1 (555) 456-7890",
3289
- location: "Austin, TX",
3290
- timezone: "CST",
3291
- skills: [
3292
- "User Research",
3293
- "Usability Testing",
3294
- "Data Analysis",
3295
- "Survey Design",
3296
- "Interview Techniques"
3297
- ],
3298
- bio: "User researcher dedicated to understanding user needs and improving product experiences."
3403
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
3404
+ updatedAt: (/* @__PURE__ */ new Date()).toString()
3405
+ // role: 'UX Researcher',
3406
+ // department: 'Design',
3407
+ // status: 'inactive',
3408
+ // joinedDate: new Date('2023-06-10'),
3409
+ // lastActive: new Date(Date.now() - 7 * 24 * 60 * 60 * 1000), // 7 days ago
3410
+ // phone: '+1 (555) 456-7890',
3411
+ // location: 'Austin, TX',
3412
+ // timezone: 'CST',
3413
+ // skills: [
3414
+ // 'User Research',
3415
+ // 'Usability Testing',
3416
+ // 'Data Analysis',
3417
+ // 'Survey Design',
3418
+ // 'Interview Techniques',
3419
+ // ],
3420
+ // bio: 'User researcher dedicated to understanding user needs and improving product experiences.',
3299
3421
  },
3300
3422
  {
3301
- id: "6",
3423
+ id: 6,
3302
3424
  type: "digital",
3303
3425
  name: "DataAnalyzer Pro",
3304
- status: "active",
3305
- joinedDate: /* @__PURE__ */ new Date("2024-01-10"),
3306
- lastActive: /* @__PURE__ */ new Date(),
3426
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
3427
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3307
3428
  jobDescription: "Advanced AI assistant specializing in data analysis, reporting, and business intelligence.",
3308
3429
  workInstructions: "Analyze complex datasets, generate insightful reports, create data visualizations, and provide actionable business recommendations.",
3309
3430
  capabilities: [
3310
- "Data Analysis",
3311
- "Report Generation",
3312
- "Data Visualization",
3313
- "Business Intelligence",
3314
- "Statistical Analysis"
3431
+ {
3432
+ relationTo: "mcpTools",
3433
+ value: 1
3434
+ },
3435
+ {
3436
+ relationTo: "mcpTools",
3437
+ value: 2
3438
+ },
3439
+ {
3440
+ relationTo: "mcpTools",
3441
+ value: 3
3442
+ }
3315
3443
  ],
3316
- knowledge: ["Python", "SQL", "Tableau", "Excel", "R", "Statistics"].map(
3317
- createKnowledgeDocument
3318
- ),
3319
- coreKnowledge: ["Company data sources", "KPI definitions", "Reporting standards"].map(
3320
- createKnowledgeDocument
3321
- ),
3322
- version: "3.1",
3323
- lastUpdated: /* @__PURE__ */ new Date("2024-02-20"),
3324
- isActive: true
3444
+ knowledge: 1,
3445
+ coreKnowledge: 1,
3446
+ capabilityLevel: 1,
3447
+ // version: '3.1',
3448
+ // lastUpdated: new Date('2024-02-20'),
3449
+ // isActive: true,
3450
+ identity: {
3451
+ id: 1,
3452
+ keycloakClientId: "123",
3453
+ keycloakUserId: "456",
3454
+ secretManagementMode: "manual",
3455
+ keycloakClientSecret: "new-secret",
3456
+ keycloakSecretArn: "arn:aws:secretsmanager:us-east-1:123456789012:secret:mysecret",
3457
+ keycloakSecretLocation: "us-east-1",
3458
+ keycloakSecretLastUpdated: (/* @__PURE__ */ new Date()).toString(),
3459
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3460
+ createdAt: (/* @__PURE__ */ new Date()).toString()
3461
+ }
3325
3462
  },
3326
3463
  {
3327
- id: "7",
3464
+ id: 7,
3328
3465
  type: "digital",
3329
3466
  name: "ProjectManager AI",
3330
- status: "active",
3331
- joinedDate: /* @__PURE__ */ new Date("2024-01-05"),
3332
- lastActive: /* @__PURE__ */ new Date(),
3467
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
3468
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3333
3469
  jobDescription: "Intelligent project management assistant that helps coordinate tasks, track progress, and manage timelines.",
3334
3470
  workInstructions: "Coordinate project activities, track milestones, manage resource allocation, and provide project status updates.",
3335
3471
  capabilities: [
3336
- "Project Planning",
3337
- "Task Coordination",
3338
- "Timeline Management",
3339
- "Resource Allocation",
3340
- "Progress Tracking"
3472
+ {
3473
+ relationTo: "mcpTools",
3474
+ value: 1
3475
+ },
3476
+ {
3477
+ relationTo: "mcpTools",
3478
+ value: 2
3479
+ },
3480
+ {
3481
+ relationTo: "mcpTools",
3482
+ value: 4
3483
+ },
3484
+ {
3485
+ relationTo: "mcpTools",
3486
+ value: 5
3487
+ }
3341
3488
  ],
3342
- knowledge: ["Agile", "Scrum", "Gantt Charts", "Risk Management", "Stakeholder Management"].map(
3343
- createKnowledgeDocument
3344
- ),
3345
- coreKnowledge: [
3346
- "Company project templates",
3347
- "Resource availability",
3348
- "Project methodologies"
3349
- ].map(createKnowledgeDocument),
3350
- version: "2.5",
3351
- lastUpdated: /* @__PURE__ */ new Date("2024-02-15"),
3352
- isActive: true
3489
+ knowledge: 1,
3490
+ coreKnowledge: 1,
3491
+ capabilityLevel: 1,
3492
+ // version: '2.5',
3493
+ // lastUpdated: new Date('2024-02-15'),
3494
+ // isActive: true,
3495
+ identity: {
3496
+ id: 1,
3497
+ keycloakClientId: "123",
3498
+ keycloakUserId: "456",
3499
+ secretManagementMode: "manual",
3500
+ keycloakClientSecret: "new-secret",
3501
+ keycloakSecretArn: "arn:aws:secretsmanager:us-east-1:123456789012:secret:mysecret",
3502
+ keycloakSecretLocation: "us-east-1",
3503
+ keycloakSecretLastUpdated: (/* @__PURE__ */ new Date()).toString(),
3504
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3505
+ createdAt: (/* @__PURE__ */ new Date()).toString()
3506
+ }
3353
3507
  },
3354
3508
  {
3355
- id: "8",
3509
+ id: 8,
3356
3510
  type: "digital",
3357
3511
  name: "CustomerSupport Bot",
3358
- status: "active",
3359
- joinedDate: /* @__PURE__ */ new Date("2024-02-01"),
3360
- lastActive: /* @__PURE__ */ new Date(),
3512
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
3513
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3361
3514
  jobDescription: "AI-powered customer support assistant that handles inquiries, resolves issues, and escalates complex problems.",
3362
3515
  workInstructions: "Respond to customer inquiries, troubleshoot common issues, provide product information, and escalate complex cases to human agents.",
3363
3516
  capabilities: [
3364
- "Customer Support",
3365
- "Issue Resolution",
3366
- "Product Knowledge",
3367
- "Escalation Management",
3368
- "Chat Support"
3517
+ {
3518
+ relationTo: "mcpTools",
3519
+ value: 1
3520
+ },
3521
+ {
3522
+ relationTo: "mcpTools",
3523
+ value: 2
3524
+ },
3525
+ {
3526
+ relationTo: "mcpTools",
3527
+ value: 5
3528
+ }
3369
3529
  ],
3370
- knowledge: [
3371
- "Product Documentation",
3372
- "FAQ",
3373
- "Troubleshooting Guides",
3374
- "Customer Service Best Practices"
3375
- ].map(createKnowledgeDocument),
3376
- coreKnowledge: ["Product catalog", "Support processes", "Escalation procedures"].map(
3377
- createKnowledgeDocument
3378
- ),
3379
- version: "1.8",
3380
- lastUpdated: /* @__PURE__ */ new Date("2024-02-25"),
3381
- isActive: true
3530
+ knowledge: 1,
3531
+ coreKnowledge: 1,
3532
+ capabilityLevel: 1,
3533
+ // version: '1.8',
3534
+ // lastUpdated: new Date('2024-02-25'),
3535
+ // isActive: true,
3536
+ identity: {
3537
+ id: 1,
3538
+ keycloakClientId: "123",
3539
+ keycloakUserId: "456",
3540
+ secretManagementMode: "manual",
3541
+ keycloakClientSecret: "new-secret",
3542
+ keycloakSecretArn: "arn:aws:secretsmanager:us-east-1:123456789012:secret:mysecret",
3543
+ keycloakSecretLocation: "us-east-1",
3544
+ keycloakSecretLastUpdated: (/* @__PURE__ */ new Date()).toString(),
3545
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3546
+ createdAt: (/* @__PURE__ */ new Date()).toString()
3547
+ }
3382
3548
  }
3383
3549
  ];
3384
3550
  var mockReminders = [
3385
3551
  {
3386
- id: "1",
3552
+ id: 1,
3387
3553
  title: "Review quarterly report",
3388
3554
  description: "Go through Q4 performance metrics and prepare summary for the team meeting",
3389
- dueDate: new Date(2024, 2, 15),
3555
+ dueDate: new Date(2024, 2, 15).toString(),
3390
3556
  dueTime: "14:30",
3391
- colleague: mockColleagues.find((c) => c.id === "2" && c.type === "digital"),
3392
- isCompleted: false,
3557
+ assignedColleague: mockColleagues.find(
3558
+ (c) => c.id === "2" && c.type === "digital"
3559
+ ),
3560
+ // isCompleted: false,
3393
3561
  isRecurring: false,
3394
- priority: "high",
3395
- reminderEnabled: true,
3396
- reminderMinutes: 30,
3397
- createdAt: new Date(2024, 2, 10),
3398
- tags: ["quarterly", "review", "urgent"]
3562
+ // priority: 'high',
3563
+ // reminderEnabled: true,
3564
+ // reminderMinutes: 30,
3565
+ createdAt: new Date(2024, 2, 10).toString(),
3566
+ updatedAt: new Date(2024, 2, 10).toString(),
3567
+ project: mockProjects[0]
3568
+ // tags: ['quarterly', 'review', 'urgent'],
3399
3569
  },
3400
3570
  {
3401
- id: "2",
3571
+ id: 2,
3402
3572
  title: "Weekly team standup",
3403
3573
  description: "Join the weekly team synchronization meeting",
3404
- dueDate: new Date(2024, 2, 18),
3574
+ dueDate: new Date(2024, 2, 18).toString(),
3405
3575
  dueTime: "10:00",
3406
- colleague: mockColleagues.find((c) => c.id === "4" && c.type === "digital"),
3407
- isCompleted: false,
3408
- isRecurring: true,
3409
- recurrencePattern: "weekly",
3410
- recurrenceInterval: 1,
3411
- priority: "medium",
3412
- reminderEnabled: true,
3413
- reminderMinutes: 15,
3414
- createdAt: new Date(2024, 2, 11),
3415
- tags: ["meeting", "standup", "weekly"]
3576
+ assignedColleague: mockColleagues.find(
3577
+ (c) => c.id === "4" && c.type === "digital"
3578
+ ),
3579
+ // isCompleted: false,
3580
+ // isRecurring: true,
3581
+ // recurrencePattern: 'weekly',
3582
+ // recurrenceInterval: 1,
3583
+ // priority: 'medium',
3584
+ // reminderEnabled: true,
3585
+ // reminderMinutes: 15,
3586
+ createdAt: new Date(2024, 2, 11).toString(),
3587
+ updatedAt: new Date(2024, 2, 11).toString(),
3588
+ project: mockProjects[0]
3589
+ // tags: ['meeting', 'standup', 'weekly'],
3416
3590
  },
3417
3591
  {
3418
- id: "3",
3592
+ id: 3,
3419
3593
  title: "Deploy to production",
3420
3594
  description: "Deploy the latest version to production environment",
3421
- dueDate: /* @__PURE__ */ new Date(),
3595
+ dueDate: (/* @__PURE__ */ new Date()).toString(),
3422
3596
  dueTime: "16:00",
3423
- colleague: mockColleagues.find((c) => c.id === "2" && c.type === "digital"),
3424
- isCompleted: false,
3425
- isRecurring: false,
3426
- priority: "high",
3427
- reminderEnabled: true,
3428
- reminderMinutes: 60,
3429
- createdAt: /* @__PURE__ */ new Date(),
3430
- tags: ["deploy", "production", "urgent"]
3597
+ assignedColleague: mockColleagues.find(
3598
+ (c) => c.id === "2" && c.type === "digital"
3599
+ ),
3600
+ // isCompleted: false,
3601
+ // isRecurring: false,
3602
+ // priority: 'high',
3603
+ // reminderEnabled: true,
3604
+ // reminderMinutes: 60,
3605
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
3606
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3607
+ project: mockProjects[0]
3608
+ // tags: ['deploy', 'production', 'urgent'],
3431
3609
  }
3432
3610
  ];
3433
3611
  var mockDigitalColleagues = mockColleagues.filter(
@@ -3446,15 +3624,16 @@ function useLocalStorage(key, initialValue) {
3446
3624
  return initialValue;
3447
3625
  }
3448
3626
  });
3449
- const setValue = (value) => {
3627
+ const setValue = (0, import_react.useCallback)((value) => {
3450
3628
  try {
3451
- setStoredValue(value);
3629
+ const valueToStore = value instanceof Function ? value(storedValue) : value;
3630
+ setStoredValue(valueToStore);
3452
3631
  if (typeof window !== "undefined") {
3453
- window.localStorage.setItem(key, JSON.stringify(value));
3632
+ window.localStorage.setItem(key, JSON.stringify(valueToStore));
3454
3633
  }
3455
3634
  } catch (error) {
3456
3635
  }
3457
- };
3636
+ }, [key, storedValue]);
3458
3637
  (0, import_react.useEffect)(() => {
3459
3638
  setValue(storedValue);
3460
3639
  }, []);
@@ -4326,7 +4505,7 @@ function AppHeader({
4326
4505
  ] });
4327
4506
  }
4328
4507
 
4329
- // src/components/DigitalColleagues/DigitalColleageusLayout.tsx
4508
+ // src/components/Foundry/foundary-layout.tsx
4330
4509
  var import_lucide_react9 = require("lucide-react");
4331
4510
  var import_jsx_runtime17 = require("react/jsx-runtime");
4332
4511
  var businessUnits2 = [
@@ -4339,7 +4518,7 @@ var businessUnits2 = [
4339
4518
  accentColor: "text-orange-600"
4340
4519
  }
4341
4520
  ];
4342
- function DigitalColleageusLayout({
4521
+ function FoundryLayout({
4343
4522
  sidebarItems,
4344
4523
  children,
4345
4524
  title = "Digital Colleagues",
@@ -4358,6 +4537,7 @@ function DigitalColleageusLayout({
4358
4537
  onNotificationRemove,
4359
4538
  onRemoveAll,
4360
4539
  logo = "/headerlogo.png",
4540
+ logoLink = "/teams",
4361
4541
  appName = "Nuvia",
4362
4542
  tagline = "Collaboration Platform",
4363
4543
  sidebarInitiallyClosed = false
@@ -4370,7 +4550,13 @@ function DigitalColleageusLayout({
4370
4550
  onBusinessUnitChange?.(unit);
4371
4551
  };
4372
4552
  return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: "flex h-full flex-col overflow-hidden rounded-xl bg-background w-[]", children: [
4373
- mobileMenuOpen && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "fixed inset-0 z-40 bg-black/50 md:hidden", onClick: () => setMobileMenuOpen(false) }),
4553
+ mobileMenuOpen && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
4554
+ "div",
4555
+ {
4556
+ className: "fixed inset-0 z-40 bg-black/50 md:hidden",
4557
+ onClick: () => setMobileMenuOpen(false)
4558
+ }
4559
+ ),
4374
4560
  /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "md:hidden", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
4375
4561
  AppSidebar,
4376
4562
  {
@@ -4382,6 +4568,7 @@ function DigitalColleageusLayout({
4382
4568
  onBusinessUnitChange: handleBusinessUnitChange,
4383
4569
  onSearch,
4384
4570
  logo,
4571
+ logoLink,
4385
4572
  appName,
4386
4573
  tagline
4387
4574
  }
@@ -4396,34 +4583,44 @@ function DigitalColleageusLayout({
4396
4583
  onBusinessUnitChange: handleBusinessUnitChange,
4397
4584
  onSearch,
4398
4585
  logo,
4586
+ logoLink,
4399
4587
  appName,
4400
4588
  tagline
4401
4589
  }
4402
4590
  ) }),
4403
- /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: cn("min-h-screen fixed w-full transition-all duration-300 ease-in-out", sidebarOpen ? "md:pl-64" : "md:pl-0"), children: [
4404
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
4405
- AppHeader,
4406
- {
4407
- title,
4408
- notifications,
4409
- onToggleSidebar: () => setSidebarOpen(!sidebarOpen),
4410
- onToggleMobileMenu: () => setMobileMenuOpen(true),
4411
- sidebarOpen,
4412
- activeTab,
4413
- onTabChange,
4414
- showTabs,
4415
- onActionClick,
4416
- actionIcon,
4417
- actionText,
4418
- onNotificationRemove,
4419
- onRemoveAll,
4420
- logo,
4421
- appName,
4422
- tagline
4423
- }
4424
- ),
4425
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("main", { className: "flex-1 p-0 flex flex-col h-[calc(100vh-4rem)] overflow-hidden", children })
4426
- ] })
4591
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
4592
+ "div",
4593
+ {
4594
+ className: cn(
4595
+ "min-h-screen fixed w-full transition-all duration-300 ease-in-out",
4596
+ sidebarOpen ? "md:pl-64" : "md:pl-0"
4597
+ ),
4598
+ children: [
4599
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
4600
+ AppHeader,
4601
+ {
4602
+ title,
4603
+ notifications,
4604
+ onToggleSidebar: () => setSidebarOpen(!sidebarOpen),
4605
+ onToggleMobileMenu: () => setMobileMenuOpen(true),
4606
+ sidebarOpen,
4607
+ activeTab,
4608
+ onTabChange,
4609
+ showTabs,
4610
+ onActionClick,
4611
+ actionIcon,
4612
+ actionText,
4613
+ onNotificationRemove,
4614
+ onRemoveAll,
4615
+ logo,
4616
+ appName,
4617
+ tagline
4618
+ }
4619
+ ),
4620
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("main", { className: "flex-1 p-0 flex flex-col h-[calc(100vh-4rem)] overflow-y-scroll", children })
4621
+ ]
4622
+ }
4623
+ )
4427
4624
  ] });
4428
4625
  }
4429
4626
 
@@ -6822,7 +7019,7 @@ function CopilotInterface({
6822
7019
  }
6823
7020
  };
6824
7021
  return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
6825
- DigitalColleageusLayout,
7022
+ FoundryLayout,
6826
7023
  {
6827
7024
  sidebarItems: sidebarItems || [],
6828
7025
  title,