cortex-react-components 3.3.0 → 4.0.2

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