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
@@ -2657,7 +2657,7 @@ var DialogContent = React4.forwardRef(({ className, children, ...props }, ref) =
2657
2657
  {
2658
2658
  ref,
2659
2659
  className: cn(
2660
- "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",
2660
+ "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",
2661
2661
  className
2662
2662
  ),
2663
2663
  ...props,
@@ -2720,15 +2720,9 @@ var Checkbox = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__
2720
2720
  ));
2721
2721
  Checkbox.displayName = CheckboxPrimitive.Root.displayName;
2722
2722
 
2723
- // src/components/DigitalColleagues/test-data.tsx
2723
+ // src/components/Foundry/test-data.tsx
2724
2724
  var import_lucide_react3 = require("lucide-react");
2725
2725
  var import_jsx_runtime7 = require("react/jsx-runtime");
2726
- var createKnowledgeDocument = (title) => ({
2727
- id: Math.random().toString(36).substr(2, 9),
2728
- title,
2729
- format: "markdown",
2730
- createdAt: /* @__PURE__ */ new Date()
2731
- });
2732
2726
  var businessUnits = [
2733
2727
  {
2734
2728
  id: "design",
@@ -2813,289 +2807,392 @@ var businessUnits = [
2813
2807
  ];
2814
2808
  var mockProjects = [
2815
2809
  {
2816
- id: "1",
2810
+ id: 1,
2817
2811
  name: "E-commerce Platform",
2818
2812
  description: "Main customer-facing e-commerce application",
2819
- isSelected: true
2813
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
2814
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
2815
+ team: 1
2816
+ // isSelected: true,
2820
2817
  },
2821
2818
  {
2822
- id: "2",
2819
+ id: 2,
2823
2820
  name: "Admin Dashboard",
2824
2821
  description: "Internal administration and analytics dashboard",
2825
- isSelected: false
2822
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
2823
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
2824
+ team: 1
2825
+ // isSelected: false,
2826
2826
  },
2827
2827
  {
2828
- id: "3",
2828
+ id: 3,
2829
2829
  name: "Mobile App",
2830
2830
  description: "Native mobile application for iOS and Android",
2831
- isSelected: false
2831
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
2832
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
2833
+ team: 1
2834
+ // isSelected: false,
2832
2835
  }
2833
2836
  ];
2834
2837
  var mockEpics = [
2835
2838
  {
2836
- id: "1",
2839
+ id: 1,
2837
2840
  name: "User Authentication",
2838
2841
  color: "bg-blue-500",
2839
2842
  description: "Implement secure user authentication system",
2840
2843
  confidence: "high",
2841
2844
  phase: 2,
2842
2845
  // development
2843
- startDate: /* @__PURE__ */ new Date("2024-01-01"),
2844
- endDate: /* @__PURE__ */ new Date("2024-02-15"),
2845
- progress: 75,
2846
- isSelected: true
2846
+ startDate: (/* @__PURE__ */ new Date()).toString(),
2847
+ endDate: (/* @__PURE__ */ new Date()).toString(),
2848
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
2849
+ updatedAt: (/* @__PURE__ */ new Date()).toString()
2850
+ // progress: 75,
2851
+ // isSelected: true,
2847
2852
  },
2848
2853
  {
2849
- id: "2",
2854
+ id: 2,
2850
2855
  name: "Dashboard Features",
2851
2856
  color: "bg-green-500",
2852
2857
  description: "Build comprehensive dashboard functionality",
2853
2858
  confidence: "medium",
2854
2859
  phase: 1,
2855
2860
  // planning
2856
- startDate: /* @__PURE__ */ new Date("2024-02-01"),
2857
- endDate: /* @__PURE__ */ new Date("2024-03-15"),
2858
- progress: 30,
2859
- 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: 30,
2866
+ // isSelected: true,
2860
2867
  },
2861
2868
  {
2862
- id: "3",
2869
+ id: 3,
2863
2870
  name: "Mobile Optimization",
2864
2871
  color: "bg-purple-500",
2865
2872
  description: "Optimize application for mobile devices",
2866
2873
  confidence: "low",
2867
2874
  phase: 1,
2868
2875
  // planning
2869
- startDate: /* @__PURE__ */ new Date("2024-03-01"),
2870
- endDate: /* @__PURE__ */ new Date("2024-04-15"),
2871
- progress: 10,
2872
- 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: 10,
2881
+ // isSelected: true,
2873
2882
  },
2874
2883
  {
2875
- id: "4",
2884
+ id: 4,
2876
2885
  name: "Performance Improvements",
2877
2886
  color: "bg-orange-500",
2878
2887
  description: "Enhance application performance and speed",
2879
2888
  confidence: "high",
2880
2889
  phase: 3,
2881
2890
  // testing
2882
- startDate: /* @__PURE__ */ new Date("2024-01-15"),
2883
- endDate: /* @__PURE__ */ new Date("2024-02-28"),
2884
- progress: 90,
2885
- 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: 90,
2896
+ // isSelected: true,
2886
2897
  }
2887
2898
  ];
2888
2899
  var mockSprints = [
2889
2900
  {
2890
- id: "backlog",
2901
+ id: 1,
2891
2902
  name: "Backlog",
2892
2903
  description: "Tasks not yet assigned to a sprint",
2893
- startDate: /* @__PURE__ */ new Date("2024-01-01"),
2894
- endDate: /* @__PURE__ */ new Date("2024-12-31"),
2895
- isActive: false,
2896
- isSelected: false
2904
+ startDate: (/* @__PURE__ */ new Date()).toString(),
2905
+ endDate: (/* @__PURE__ */ new Date()).toString(),
2906
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
2907
+ updatedAt: (/* @__PURE__ */ new Date()).toString()
2908
+ // isActive: false,
2909
+ // isSelected: false,
2897
2910
  },
2898
2911
  {
2899
- id: "all-tasks",
2912
+ id: 2,
2900
2913
  name: "All Tasks",
2901
2914
  description: "View all tasks across all sprints",
2902
- startDate: /* @__PURE__ */ new Date("2024-01-01"),
2903
- endDate: /* @__PURE__ */ new Date("2024-12-31"),
2904
- isActive: false,
2905
- isSelected: true
2915
+ startDate: (/* @__PURE__ */ new Date()).toString(),
2916
+ endDate: (/* @__PURE__ */ new Date()).toString(),
2917
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
2918
+ updatedAt: (/* @__PURE__ */ new Date()).toString()
2919
+ // isActive: false,
2920
+ // isSelected: true,
2906
2921
  },
2907
2922
  {
2908
- id: "1",
2923
+ id: 3,
2909
2924
  name: "Sprint 1",
2910
2925
  description: "Initial development phase",
2911
- startDate: /* @__PURE__ */ new Date("2024-01-01"),
2912
- endDate: /* @__PURE__ */ new Date("2024-01-14"),
2913
- isActive: false,
2914
- isSelected: false
2926
+ startDate: (/* @__PURE__ */ new Date()).toString(),
2927
+ endDate: (/* @__PURE__ */ new Date()).toString(),
2928
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
2929
+ updatedAt: (/* @__PURE__ */ new Date()).toString()
2930
+ // isActive: false,
2931
+ // isSelected: false,
2915
2932
  },
2916
2933
  {
2917
- id: "2",
2934
+ id: 4,
2918
2935
  name: "Sprint 2",
2919
2936
  description: "Feature development",
2920
- startDate: /* @__PURE__ */ new Date("2024-01-15"),
2921
- endDate: /* @__PURE__ */ new Date("2024-01-28"),
2922
- isActive: true,
2923
- isSelected: false
2937
+ startDate: (/* @__PURE__ */ new Date()).toString(),
2938
+ endDate: (/* @__PURE__ */ new Date()).toString(),
2939
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
2940
+ updatedAt: (/* @__PURE__ */ new Date()).toString()
2941
+ // isActive: true,
2942
+ // isSelected: false,
2924
2943
  }
2925
2944
  ];
2926
2945
  var mockTasks = [
2927
2946
  {
2928
- id: "1",
2947
+ id: 1,
2929
2948
  name: "Design login page",
2930
2949
  description: "Create wireframes and mockups for the login interface",
2931
2950
  status: "todo",
2932
2951
  priority: "high",
2933
2952
  type: "story",
2934
- points: 5,
2935
- epicId: "1",
2936
- sprintId: "2",
2937
- assignee: "John Doe",
2938
- createdAt: /* @__PURE__ */ new Date("2024-01-15")
2953
+ dateLogged: (/* @__PURE__ */ new Date()).toString(),
2954
+ index: 1,
2955
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
2956
+ // points: 5,
2957
+ // epicId: '1',
2958
+ // sprintId: '2',
2959
+ assignee: {
2960
+ relationTo: "users",
2961
+ value: "John Doe"
2962
+ },
2963
+ createdAt: (/* @__PURE__ */ new Date()).toString()
2939
2964
  },
2940
2965
  {
2941
- id: "2",
2966
+ id: 2,
2942
2967
  name: "Implement OAuth integration",
2943
2968
  description: "Add Google and GitHub OAuth authentication",
2944
2969
  status: "review",
2945
2970
  priority: "high",
2946
2971
  type: "task",
2947
- points: 8,
2948
- epicId: "1",
2949
- sprintId: "2",
2950
- assignee: "Jane Smith",
2951
- createdAt: /* @__PURE__ */ new Date("2024-01-16")
2972
+ dateLogged: (/* @__PURE__ */ new Date()).toString(),
2973
+ index: 2,
2974
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
2975
+ // points: 8,
2976
+ // epicId: '1',
2977
+ // sprintId: '2',
2978
+ assignee: {
2979
+ relationTo: "users",
2980
+ value: "Jane Smith"
2981
+ },
2982
+ createdAt: (/* @__PURE__ */ new Date()).toString()
2952
2983
  },
2953
2984
  {
2954
- id: "3",
2985
+ id: 3,
2955
2986
  name: "Create dashboard widgets",
2956
2987
  description: "Build analytics and metrics widgets for the main dashboard",
2957
2988
  status: "todo",
2958
2989
  priority: "medium",
2959
2990
  type: "story",
2960
- points: 13,
2961
- epicId: "2",
2962
- sprintId: "2",
2963
- assignee: "Mike Johnson",
2964
- createdAt: /* @__PURE__ */ new Date("2024-01-17")
2991
+ dateLogged: (/* @__PURE__ */ new Date()).toString(),
2992
+ index: 3,
2993
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
2994
+ // points: 13,
2995
+ // epicId: '2',
2996
+ // sprintId: '2',
2997
+ assignee: {
2998
+ relationTo: "users",
2999
+ value: "Mike Johnson"
3000
+ },
3001
+ createdAt: (/* @__PURE__ */ new Date()).toString()
2965
3002
  },
2966
3003
  {
2967
- id: "4",
3004
+ id: 4,
2968
3005
  name: "Fix login redirect bug",
2969
3006
  description: "Resolve issue where users are not redirected after login",
2970
3007
  status: "done",
2971
3008
  priority: "high",
2972
3009
  type: "bug",
2973
- points: 3,
2974
- epicId: "1",
2975
- sprintId: "1",
2976
- assignee: "Sarah Wilson",
2977
- createdAt: /* @__PURE__ */ new Date("2024-01-14")
3010
+ dateLogged: (/* @__PURE__ */ new Date()).toString(),
3011
+ index: 4,
3012
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3013
+ // points: 3,
3014
+ // epicId: '1',
3015
+ // sprintId: '1',
3016
+ assignee: {
3017
+ relationTo: "users",
3018
+ value: "Sarah Wilson"
3019
+ },
3020
+ createdAt: (/* @__PURE__ */ new Date()).toString()
2978
3021
  },
2979
3022
  {
2980
- id: "5",
3023
+ id: 5,
2981
3024
  name: "Research mobile frameworks",
2982
3025
  description: "Investigate best practices for mobile responsive design",
2983
3026
  status: "in-progress",
2984
3027
  priority: "medium",
2985
3028
  type: "spike",
2986
- points: 5,
2987
- epicId: "3",
2988
- assignee: "Alex Brown",
2989
- createdAt: /* @__PURE__ */ new Date("2024-01-18")
3029
+ dateLogged: (/* @__PURE__ */ new Date()).toString(),
3030
+ index: 5,
3031
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3032
+ // points: 5,
3033
+ // epicId: '3',
3034
+ assignee: {
3035
+ relationTo: "users",
3036
+ value: "Alex Brown"
3037
+ },
3038
+ createdAt: (/* @__PURE__ */ new Date()).toString()
2990
3039
  },
2991
3040
  {
2992
- id: "6",
3041
+ id: 6,
2993
3042
  name: "Update user profile page",
2994
3043
  description: "Enhance user profile with new settings and preferences",
2995
3044
  status: "review",
2996
3045
  priority: "medium",
2997
3046
  type: "story",
2998
- points: 8,
2999
- epicId: "2",
3000
- sprintId: "2",
3001
- assignee: "Emma Davis",
3002
- createdAt: /* @__PURE__ */ new Date("2024-01-19")
3047
+ dateLogged: (/* @__PURE__ */ new Date()).toString(),
3048
+ index: 6,
3049
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3050
+ // points: 8,
3051
+ // epicId: '2',
3052
+ // sprintId: '2',
3053
+ assignee: {
3054
+ relationTo: "users",
3055
+ value: "Emma Davis"
3056
+ },
3057
+ createdAt: (/* @__PURE__ */ new Date()).toString()
3003
3058
  },
3004
3059
  {
3005
- id: "7",
3060
+ id: 7,
3006
3061
  name: "Performance optimization",
3007
3062
  description: "Optimize database queries and improve page load times",
3008
3063
  status: "done",
3009
3064
  priority: "high",
3010
3065
  type: "task",
3011
- points: 13,
3012
- epicId: "4",
3013
- sprintId: "1",
3014
- assignee: "Tom Wilson",
3015
- createdAt: /* @__PURE__ */ new Date("2024-01-13")
3066
+ dateLogged: (/* @__PURE__ */ new Date()).toString(),
3067
+ index: 7,
3068
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3069
+ // points: 13,
3070
+ // epicId: '4',
3071
+ // sprintId: '1',
3072
+ assignee: {
3073
+ relationTo: "users",
3074
+ value: "Tom Wilson"
3075
+ },
3076
+ createdAt: (/* @__PURE__ */ new Date()).toString()
3016
3077
  }
3017
3078
  ];
3018
3079
  var highDensityTasks = [
3019
3080
  ...mockTasks,
3020
3081
  {
3021
- id: "8",
3082
+ id: 8,
3022
3083
  name: "Add search functionality",
3023
3084
  description: "Implement search across all dashboard widgets",
3024
3085
  status: "todo",
3025
3086
  priority: "medium",
3026
3087
  type: "story",
3027
- points: 8,
3028
- epicId: "2",
3029
- sprintId: "2",
3030
- assignee: "Chris Lee",
3031
- createdAt: /* @__PURE__ */ new Date("2024-01-20")
3088
+ dateLogged: (/* @__PURE__ */ new Date()).toString(),
3089
+ index: 8,
3090
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3091
+ // points: 8,
3092
+ // epicId: '2',
3093
+ // sprintId: '2',
3094
+ assignee: {
3095
+ relationTo: "users",
3096
+ value: "1"
3097
+ },
3098
+ createdAt: (/* @__PURE__ */ new Date()).toString()
3032
3099
  },
3033
3100
  {
3034
- id: "9",
3101
+ id: 9,
3035
3102
  name: "Fix mobile responsive issues",
3036
3103
  description: "Resolve layout problems on mobile devices",
3037
3104
  status: "in-progress",
3038
3105
  priority: "high",
3039
3106
  type: "bug",
3040
- points: 5,
3041
- epicId: "3",
3042
- sprintId: "2",
3043
- assignee: "Taylor Swift",
3044
- createdAt: /* @__PURE__ */ new Date("2024-01-21")
3107
+ dateLogged: (/* @__PURE__ */ new Date()).toString(),
3108
+ index: 9,
3109
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3110
+ // points: 5,
3111
+ // epicId: '3',
3112
+ // sprintId: '2',
3113
+ assignee: {
3114
+ relationTo: "users",
3115
+ value: "Taylor Swift"
3116
+ },
3117
+ createdAt: (/* @__PURE__ */ new Date()).toString()
3045
3118
  },
3046
3119
  {
3047
- id: "10",
3120
+ id: 10,
3048
3121
  name: "Implement dark mode",
3049
3122
  description: "Add dark theme support across the application",
3050
3123
  status: "review",
3051
3124
  priority: "low",
3052
3125
  type: "story",
3053
- points: 13,
3054
- epicId: "2",
3055
- sprintId: "2",
3056
- assignee: "Jordan Smith",
3057
- createdAt: /* @__PURE__ */ new Date("2024-01-22")
3126
+ dateLogged: (/* @__PURE__ */ new Date()).toString(),
3127
+ index: 10,
3128
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3129
+ // points: 13,
3130
+ // epicId: '2',
3131
+ // sprintId: '2',
3132
+ assignee: {
3133
+ relationTo: "users",
3134
+ value: "Jordan Smith"
3135
+ },
3136
+ createdAt: (/* @__PURE__ */ new Date()).toString()
3058
3137
  },
3059
3138
  {
3060
- id: "11",
3139
+ id: 11,
3061
3140
  name: "API rate limiting",
3062
3141
  description: "Implement rate limiting for API endpoints",
3063
3142
  status: "done",
3064
3143
  priority: "high",
3065
3144
  type: "task",
3066
- points: 8,
3067
- epicId: "4",
3068
- sprintId: "1",
3069
- assignee: "Morgan Davis",
3070
- createdAt: /* @__PURE__ */ new Date("2024-01-12")
3145
+ dateLogged: (/* @__PURE__ */ new Date()).toString(),
3146
+ index: 11,
3147
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3148
+ // points: 8,
3149
+ // epicId: '4',
3150
+ // sprintId: '1',
3151
+ assignee: {
3152
+ relationTo: "users",
3153
+ value: "Morgan Davis"
3154
+ },
3155
+ createdAt: (/* @__PURE__ */ new Date()).toString()
3071
3156
  },
3072
3157
  {
3073
- id: "12",
3158
+ id: 12,
3074
3159
  name: "User onboarding flow",
3075
3160
  description: "Create guided tour for new users",
3076
3161
  status: "todo",
3077
3162
  priority: "medium",
3078
3163
  type: "story",
3079
- points: 21,
3080
- epicId: "1",
3081
- sprintId: "2",
3082
- assignee: "Casey Johnson",
3083
- createdAt: /* @__PURE__ */ new Date("2024-01-23")
3164
+ dateLogged: (/* @__PURE__ */ new Date()).toString(),
3165
+ index: 12,
3166
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3167
+ // points: 21,
3168
+ // epicId: '1',
3169
+ // sprintId: '2',
3170
+ assignee: {
3171
+ relationTo: "users",
3172
+ value: "Casey Johnson"
3173
+ },
3174
+ createdAt: (/* @__PURE__ */ new Date()).toString()
3084
3175
  }
3085
3176
  ];
3086
3177
  var extendedProjects = [
3087
- ...mockProjects,
3178
+ // ...mockProjects,
3088
3179
  {
3089
- id: "4",
3180
+ id: 4,
3090
3181
  name: "Analytics Platform",
3091
3182
  description: "Business intelligence and reporting system",
3092
- isSelected: false
3183
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
3184
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3185
+ team: 1
3186
+ // isSelected: false,
3093
3187
  },
3094
3188
  {
3095
- id: "5",
3189
+ id: 5,
3096
3190
  name: "API Gateway",
3097
3191
  description: "Microservices API management layer",
3098
- isSelected: false
3192
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
3193
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3194
+ // isSelected: false,
3195
+ team: 1
3099
3196
  }
3100
3197
  ];
3101
3198
  var emptyStateData = {
@@ -3136,7 +3233,9 @@ var singleEpicData = {
3136
3233
  isSelected: true
3137
3234
  }
3138
3235
  ],
3139
- tasks: mockTasks.filter((task) => task.epicId === "1")
3236
+ tasks: mockTasks.filter(
3237
+ (task) => typeof task.epic === "object" ? task.epic?.id === 1 : task.epic === 1
3238
+ )
3140
3239
  };
3141
3240
  var testScenarios = {
3142
3241
  empty: {
@@ -3176,243 +3275,322 @@ var mockColleagues = [
3176
3275
  type: "human",
3177
3276
  name: "Sarah Johnson",
3178
3277
  email: "sarah.johnson@company.com",
3179
- role: "Senior Designer",
3180
- department: "Design",
3181
- status: "active",
3182
- joinedDate: /* @__PURE__ */ new Date("2023-01-15"),
3183
- lastActive: /* @__PURE__ */ new Date(),
3184
- phone: "+1 (555) 123-4567",
3185
- location: "San Francisco, CA",
3186
- timezone: "PST",
3187
- skills: ["UI/UX Design", "Figma", "Adobe Creative Suite", "Prototyping", "User Research"],
3188
- bio: "Passionate designer with 8+ years of experience creating user-centered digital experiences."
3278
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
3279
+ updatedAt: (/* @__PURE__ */ new Date()).toString()
3280
+ // role: 'Senior Designer',
3281
+ // department: 'Design',
3282
+ // status: 'active',
3283
+ // joinedDate: new Date('2023-01-15'),
3284
+ // lastActive: new Date(),
3285
+ // phone: '+1 (555) 123-4567',
3286
+ // location: 'San Francisco, CA',
3287
+ // timezone: 'PST',
3288
+ // skills: ['UI/UX Design', 'Figma', 'Adobe Creative Suite', 'Prototyping', 'User Research'],
3289
+ // bio: 'Passionate designer with 8+ years of experience creating user-centered digital experiences.',
3189
3290
  },
3190
3291
  {
3191
- id: "2",
3292
+ id: 2,
3192
3293
  type: "digital",
3193
3294
  name: "CodeAssist Pro",
3194
- status: "active",
3195
- joinedDate: /* @__PURE__ */ new Date("2024-01-01"),
3196
- lastActive: /* @__PURE__ */ new Date(),
3295
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
3296
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3197
3297
  jobDescription: "AI-powered coding assistant that helps with code review, debugging, and documentation generation.",
3198
3298
  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.",
3199
3299
  capabilities: [
3200
- "Code Review",
3201
- "Documentation Generation",
3202
- "Debugging",
3203
- "Code Optimization",
3204
- "Testing"
3300
+ {
3301
+ relationTo: "mcpTools",
3302
+ value: 1
3303
+ },
3304
+ {
3305
+ relationTo: "mcpTools",
3306
+ value: 2
3307
+ }
3205
3308
  ],
3206
- knowledge: ["JavaScript", "TypeScript", "React", "Node.js", "Python", "Git"].map(
3207
- createKnowledgeDocument
3208
- ),
3209
- coreKnowledge: ["Company coding standards", "Architecture patterns", "Security guidelines"].map(
3210
- createKnowledgeDocument
3211
- ),
3212
- version: "2",
3213
- lastUpdated: /* @__PURE__ */ new Date("2024-01-15"),
3214
- isActive: true
3309
+ knowledge: 1,
3310
+ coreKnowledge: 1,
3311
+ capabilityLevel: 1,
3312
+ // version: '2',
3313
+ // lastUpdated: new Date('2024-01-15').toString(),
3314
+ // isActive: true,
3315
+ identity: {
3316
+ id: 1,
3317
+ keycloakClientId: "123",
3318
+ keycloakUserId: "456",
3319
+ secretManagementMode: "manual",
3320
+ keycloakClientSecret: "new-secret",
3321
+ keycloakSecretArn: "arn:aws:secretsmanager:us-east-1:123456789012:secret:mysecret",
3322
+ keycloakSecretLocation: "us-east-1",
3323
+ keycloakSecretLastUpdated: (/* @__PURE__ */ new Date()).toString(),
3324
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3325
+ createdAt: (/* @__PURE__ */ new Date()).toString()
3326
+ }
3215
3327
  },
3216
3328
  {
3217
3329
  id: "3",
3218
3330
  type: "human",
3219
3331
  name: "Michael Chen",
3220
3332
  email: "michael.chen@company.com",
3221
- role: "Product Manager",
3222
- department: "Product",
3223
- status: "inactive",
3224
- joinedDate: /* @__PURE__ */ new Date("2022-08-20"),
3225
- lastActive: new Date(Date.now() - 2 * 60 * 60 * 1e3),
3226
- // 2 hours ago
3227
- phone: "+1 (555) 987-6543",
3228
- location: "New York, NY",
3229
- timezone: "EST",
3230
- skills: ["Product Strategy", "Agile", "Data Analysis", "User Stories", "Roadmapping"],
3231
- bio: "Strategic product manager focused on driving user engagement and business growth."
3333
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
3334
+ updatedAt: (/* @__PURE__ */ new Date()).toString()
3335
+ // role: 'Product Manager',
3336
+ // department: 'Product',
3337
+ // status: 'inactive',
3338
+ // joinedDate: new Date('2022-08-20'),
3339
+ // lastActive: new Date(Date.now() - 2 * 60 * 60 * 1000), // 2 hours ago
3340
+ // phone: '+1 (555) 987-6543',
3341
+ // location: 'New York, NY',
3342
+ // timezone: 'EST',
3343
+ // skills: ['Product Strategy', 'Agile', 'Data Analysis', 'User Stories', 'Roadmapping'],
3344
+ // bio: 'Strategic product manager focused on driving user engagement and business growth.',
3232
3345
  },
3233
3346
  {
3234
- id: "4",
3347
+ id: 4,
3235
3348
  type: "digital",
3236
3349
  name: "MarketingBot",
3237
- status: "active",
3238
- joinedDate: /* @__PURE__ */ new Date("2024-02-01"),
3239
- lastActive: /* @__PURE__ */ new Date(),
3350
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
3351
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3240
3352
  jobDescription: "Specialized AI assistant for marketing campaigns, content creation, and social media management.",
3241
3353
  workInstructions: "Create engaging social media content. Analyze campaign performance metrics. Generate marketing copy and headlines. Schedule and manage social media posts.",
3242
3354
  capabilities: [
3243
- "Content Creation",
3244
- "Social Media Management",
3245
- "Analytics",
3246
- "SEO Optimization",
3247
- "Campaign Management"
3355
+ {
3356
+ relationTo: "mcpTools",
3357
+ value: 1
3358
+ },
3359
+ {
3360
+ relationTo: "mcpTools",
3361
+ value: 2
3362
+ }
3248
3363
  ],
3249
- knowledge: [
3250
- "Digital Marketing",
3251
- "Social Media Platforms",
3252
- "Content Strategy",
3253
- "Analytics Tools"
3254
- ].map(createKnowledgeDocument),
3255
- coreKnowledge: ["Brand guidelines", "Target audience personas", "Marketing objectives"].map(
3256
- createKnowledgeDocument
3257
- ),
3258
- version: "52",
3259
- lastUpdated: /* @__PURE__ */ new Date("2024-02-10"),
3260
- isActive: true
3364
+ knowledge: 1,
3365
+ coreKnowledge: 1,
3366
+ capabilityLevel: 1,
3367
+ // version: '52',
3368
+ // lastUpdated: new Date('2024-02-10'),
3369
+ // isActive: true,
3370
+ identity: {
3371
+ id: 1,
3372
+ keycloakClientId: "123",
3373
+ keycloakUserId: "456",
3374
+ secretManagementMode: "manual",
3375
+ keycloakClientSecret: "new-secret",
3376
+ keycloakSecretArn: "arn:aws:secretsmanager:us-east-1:123456789012:secret:mysecret",
3377
+ keycloakSecretLocation: "us-east-1",
3378
+ keycloakSecretLastUpdated: (/* @__PURE__ */ new Date()).toString(),
3379
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3380
+ createdAt: (/* @__PURE__ */ new Date()).toString()
3381
+ }
3261
3382
  },
3262
3383
  {
3263
3384
  id: "5",
3264
3385
  type: "human",
3265
3386
  name: "Emily Rodriguez",
3266
3387
  email: "emily.rodriguez@company.com",
3267
- role: "UX Researcher",
3268
- department: "Design",
3269
- status: "inactive",
3270
- joinedDate: /* @__PURE__ */ new Date("2023-06-10"),
3271
- lastActive: new Date(Date.now() - 7 * 24 * 60 * 60 * 1e3),
3272
- // 7 days ago
3273
- phone: "+1 (555) 456-7890",
3274
- location: "Austin, TX",
3275
- timezone: "CST",
3276
- skills: [
3277
- "User Research",
3278
- "Usability Testing",
3279
- "Data Analysis",
3280
- "Survey Design",
3281
- "Interview Techniques"
3282
- ],
3283
- bio: "User researcher dedicated to understanding user needs and improving product experiences."
3388
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
3389
+ updatedAt: (/* @__PURE__ */ new Date()).toString()
3390
+ // role: 'UX Researcher',
3391
+ // department: 'Design',
3392
+ // status: 'inactive',
3393
+ // joinedDate: new Date('2023-06-10'),
3394
+ // lastActive: new Date(Date.now() - 7 * 24 * 60 * 60 * 1000), // 7 days ago
3395
+ // phone: '+1 (555) 456-7890',
3396
+ // location: 'Austin, TX',
3397
+ // timezone: 'CST',
3398
+ // skills: [
3399
+ // 'User Research',
3400
+ // 'Usability Testing',
3401
+ // 'Data Analysis',
3402
+ // 'Survey Design',
3403
+ // 'Interview Techniques',
3404
+ // ],
3405
+ // bio: 'User researcher dedicated to understanding user needs and improving product experiences.',
3284
3406
  },
3285
3407
  {
3286
- id: "6",
3408
+ id: 6,
3287
3409
  type: "digital",
3288
3410
  name: "DataAnalyzer Pro",
3289
- status: "active",
3290
- joinedDate: /* @__PURE__ */ new Date("2024-01-10"),
3291
- lastActive: /* @__PURE__ */ new Date(),
3411
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
3412
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3292
3413
  jobDescription: "Advanced AI assistant specializing in data analysis, reporting, and business intelligence.",
3293
3414
  workInstructions: "Analyze complex datasets, generate insightful reports, create data visualizations, and provide actionable business recommendations.",
3294
3415
  capabilities: [
3295
- "Data Analysis",
3296
- "Report Generation",
3297
- "Data Visualization",
3298
- "Business Intelligence",
3299
- "Statistical Analysis"
3416
+ {
3417
+ relationTo: "mcpTools",
3418
+ value: 1
3419
+ },
3420
+ {
3421
+ relationTo: "mcpTools",
3422
+ value: 2
3423
+ },
3424
+ {
3425
+ relationTo: "mcpTools",
3426
+ value: 3
3427
+ }
3300
3428
  ],
3301
- knowledge: ["Python", "SQL", "Tableau", "Excel", "R", "Statistics"].map(
3302
- createKnowledgeDocument
3303
- ),
3304
- coreKnowledge: ["Company data sources", "KPI definitions", "Reporting standards"].map(
3305
- createKnowledgeDocument
3306
- ),
3307
- version: "3.1",
3308
- lastUpdated: /* @__PURE__ */ new Date("2024-02-20"),
3309
- isActive: true
3429
+ knowledge: 1,
3430
+ coreKnowledge: 1,
3431
+ capabilityLevel: 1,
3432
+ // version: '3.1',
3433
+ // lastUpdated: new Date('2024-02-20'),
3434
+ // isActive: true,
3435
+ identity: {
3436
+ id: 1,
3437
+ keycloakClientId: "123",
3438
+ keycloakUserId: "456",
3439
+ secretManagementMode: "manual",
3440
+ keycloakClientSecret: "new-secret",
3441
+ keycloakSecretArn: "arn:aws:secretsmanager:us-east-1:123456789012:secret:mysecret",
3442
+ keycloakSecretLocation: "us-east-1",
3443
+ keycloakSecretLastUpdated: (/* @__PURE__ */ new Date()).toString(),
3444
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3445
+ createdAt: (/* @__PURE__ */ new Date()).toString()
3446
+ }
3310
3447
  },
3311
3448
  {
3312
- id: "7",
3449
+ id: 7,
3313
3450
  type: "digital",
3314
3451
  name: "ProjectManager AI",
3315
- status: "active",
3316
- joinedDate: /* @__PURE__ */ new Date("2024-01-05"),
3317
- lastActive: /* @__PURE__ */ new Date(),
3452
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
3453
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3318
3454
  jobDescription: "Intelligent project management assistant that helps coordinate tasks, track progress, and manage timelines.",
3319
3455
  workInstructions: "Coordinate project activities, track milestones, manage resource allocation, and provide project status updates.",
3320
3456
  capabilities: [
3321
- "Project Planning",
3322
- "Task Coordination",
3323
- "Timeline Management",
3324
- "Resource Allocation",
3325
- "Progress Tracking"
3457
+ {
3458
+ relationTo: "mcpTools",
3459
+ value: 1
3460
+ },
3461
+ {
3462
+ relationTo: "mcpTools",
3463
+ value: 2
3464
+ },
3465
+ {
3466
+ relationTo: "mcpTools",
3467
+ value: 4
3468
+ },
3469
+ {
3470
+ relationTo: "mcpTools",
3471
+ value: 5
3472
+ }
3326
3473
  ],
3327
- knowledge: ["Agile", "Scrum", "Gantt Charts", "Risk Management", "Stakeholder Management"].map(
3328
- createKnowledgeDocument
3329
- ),
3330
- coreKnowledge: [
3331
- "Company project templates",
3332
- "Resource availability",
3333
- "Project methodologies"
3334
- ].map(createKnowledgeDocument),
3335
- version: "2.5",
3336
- lastUpdated: /* @__PURE__ */ new Date("2024-02-15"),
3337
- isActive: true
3474
+ knowledge: 1,
3475
+ coreKnowledge: 1,
3476
+ capabilityLevel: 1,
3477
+ // version: '2.5',
3478
+ // lastUpdated: new Date('2024-02-15'),
3479
+ // isActive: true,
3480
+ identity: {
3481
+ id: 1,
3482
+ keycloakClientId: "123",
3483
+ keycloakUserId: "456",
3484
+ secretManagementMode: "manual",
3485
+ keycloakClientSecret: "new-secret",
3486
+ keycloakSecretArn: "arn:aws:secretsmanager:us-east-1:123456789012:secret:mysecret",
3487
+ keycloakSecretLocation: "us-east-1",
3488
+ keycloakSecretLastUpdated: (/* @__PURE__ */ new Date()).toString(),
3489
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3490
+ createdAt: (/* @__PURE__ */ new Date()).toString()
3491
+ }
3338
3492
  },
3339
3493
  {
3340
- id: "8",
3494
+ id: 8,
3341
3495
  type: "digital",
3342
3496
  name: "CustomerSupport Bot",
3343
- status: "active",
3344
- joinedDate: /* @__PURE__ */ new Date("2024-02-01"),
3345
- lastActive: /* @__PURE__ */ new Date(),
3497
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
3498
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3346
3499
  jobDescription: "AI-powered customer support assistant that handles inquiries, resolves issues, and escalates complex problems.",
3347
3500
  workInstructions: "Respond to customer inquiries, troubleshoot common issues, provide product information, and escalate complex cases to human agents.",
3348
3501
  capabilities: [
3349
- "Customer Support",
3350
- "Issue Resolution",
3351
- "Product Knowledge",
3352
- "Escalation Management",
3353
- "Chat Support"
3502
+ {
3503
+ relationTo: "mcpTools",
3504
+ value: 1
3505
+ },
3506
+ {
3507
+ relationTo: "mcpTools",
3508
+ value: 2
3509
+ },
3510
+ {
3511
+ relationTo: "mcpTools",
3512
+ value: 5
3513
+ }
3354
3514
  ],
3355
- knowledge: [
3356
- "Product Documentation",
3357
- "FAQ",
3358
- "Troubleshooting Guides",
3359
- "Customer Service Best Practices"
3360
- ].map(createKnowledgeDocument),
3361
- coreKnowledge: ["Product catalog", "Support processes", "Escalation procedures"].map(
3362
- createKnowledgeDocument
3363
- ),
3364
- version: "1.8",
3365
- lastUpdated: /* @__PURE__ */ new Date("2024-02-25"),
3366
- isActive: true
3515
+ knowledge: 1,
3516
+ coreKnowledge: 1,
3517
+ capabilityLevel: 1,
3518
+ // version: '1.8',
3519
+ // lastUpdated: new Date('2024-02-25'),
3520
+ // isActive: true,
3521
+ identity: {
3522
+ id: 1,
3523
+ keycloakClientId: "123",
3524
+ keycloakUserId: "456",
3525
+ secretManagementMode: "manual",
3526
+ keycloakClientSecret: "new-secret",
3527
+ keycloakSecretArn: "arn:aws:secretsmanager:us-east-1:123456789012:secret:mysecret",
3528
+ keycloakSecretLocation: "us-east-1",
3529
+ keycloakSecretLastUpdated: (/* @__PURE__ */ new Date()).toString(),
3530
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3531
+ createdAt: (/* @__PURE__ */ new Date()).toString()
3532
+ }
3367
3533
  }
3368
3534
  ];
3369
3535
  var mockReminders = [
3370
3536
  {
3371
- id: "1",
3537
+ id: 1,
3372
3538
  title: "Review quarterly report",
3373
3539
  description: "Go through Q4 performance metrics and prepare summary for the team meeting",
3374
- dueDate: new Date(2024, 2, 15),
3540
+ dueDate: new Date(2024, 2, 15).toString(),
3375
3541
  dueTime: "14:30",
3376
- colleague: mockColleagues.find((c) => c.id === "2" && c.type === "digital"),
3377
- isCompleted: false,
3542
+ assignedColleague: mockColleagues.find(
3543
+ (c) => c.id === "2" && c.type === "digital"
3544
+ ),
3545
+ // isCompleted: false,
3378
3546
  isRecurring: false,
3379
- priority: "high",
3380
- reminderEnabled: true,
3381
- reminderMinutes: 30,
3382
- createdAt: new Date(2024, 2, 10),
3383
- tags: ["quarterly", "review", "urgent"]
3547
+ // priority: 'high',
3548
+ // reminderEnabled: true,
3549
+ // reminderMinutes: 30,
3550
+ createdAt: new Date(2024, 2, 10).toString(),
3551
+ updatedAt: new Date(2024, 2, 10).toString(),
3552
+ project: mockProjects[0]
3553
+ // tags: ['quarterly', 'review', 'urgent'],
3384
3554
  },
3385
3555
  {
3386
- id: "2",
3556
+ id: 2,
3387
3557
  title: "Weekly team standup",
3388
3558
  description: "Join the weekly team synchronization meeting",
3389
- dueDate: new Date(2024, 2, 18),
3559
+ dueDate: new Date(2024, 2, 18).toString(),
3390
3560
  dueTime: "10:00",
3391
- colleague: mockColleagues.find((c) => c.id === "4" && c.type === "digital"),
3392
- isCompleted: false,
3393
- isRecurring: true,
3394
- recurrencePattern: "weekly",
3395
- recurrenceInterval: 1,
3396
- priority: "medium",
3397
- reminderEnabled: true,
3398
- reminderMinutes: 15,
3399
- createdAt: new Date(2024, 2, 11),
3400
- tags: ["meeting", "standup", "weekly"]
3561
+ assignedColleague: mockColleagues.find(
3562
+ (c) => c.id === "4" && c.type === "digital"
3563
+ ),
3564
+ // isCompleted: false,
3565
+ // isRecurring: true,
3566
+ // recurrencePattern: 'weekly',
3567
+ // recurrenceInterval: 1,
3568
+ // priority: 'medium',
3569
+ // reminderEnabled: true,
3570
+ // reminderMinutes: 15,
3571
+ createdAt: new Date(2024, 2, 11).toString(),
3572
+ updatedAt: new Date(2024, 2, 11).toString(),
3573
+ project: mockProjects[0]
3574
+ // tags: ['meeting', 'standup', 'weekly'],
3401
3575
  },
3402
3576
  {
3403
- id: "3",
3577
+ id: 3,
3404
3578
  title: "Deploy to production",
3405
3579
  description: "Deploy the latest version to production environment",
3406
- dueDate: /* @__PURE__ */ new Date(),
3580
+ dueDate: (/* @__PURE__ */ new Date()).toString(),
3407
3581
  dueTime: "16:00",
3408
- colleague: mockColleagues.find((c) => c.id === "2" && c.type === "digital"),
3409
- isCompleted: false,
3410
- isRecurring: false,
3411
- priority: "high",
3412
- reminderEnabled: true,
3413
- reminderMinutes: 60,
3414
- createdAt: /* @__PURE__ */ new Date(),
3415
- tags: ["deploy", "production", "urgent"]
3582
+ assignedColleague: mockColleagues.find(
3583
+ (c) => c.id === "2" && c.type === "digital"
3584
+ ),
3585
+ // isCompleted: false,
3586
+ // isRecurring: false,
3587
+ // priority: 'high',
3588
+ // reminderEnabled: true,
3589
+ // reminderMinutes: 60,
3590
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
3591
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3592
+ project: mockProjects[0]
3593
+ // tags: ['deploy', 'production', 'urgent'],
3416
3594
  }
3417
3595
  ];
3418
3596
  var mockDigitalColleagues = mockColleagues.filter(
@@ -3431,15 +3609,16 @@ function useLocalStorage(key, initialValue) {
3431
3609
  return initialValue;
3432
3610
  }
3433
3611
  });
3434
- const setValue = (value) => {
3612
+ const setValue = (0, import_react.useCallback)((value) => {
3435
3613
  try {
3436
- setStoredValue(value);
3614
+ const valueToStore = value instanceof Function ? value(storedValue) : value;
3615
+ setStoredValue(valueToStore);
3437
3616
  if (typeof window !== "undefined") {
3438
- window.localStorage.setItem(key, JSON.stringify(value));
3617
+ window.localStorage.setItem(key, JSON.stringify(valueToStore));
3439
3618
  }
3440
3619
  } catch (error) {
3441
3620
  }
3442
- };
3621
+ }, [key, storedValue]);
3443
3622
  (0, import_react.useEffect)(() => {
3444
3623
  setValue(storedValue);
3445
3624
  }, []);