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
@@ -2773,7 +2773,7 @@ var import_react20 = require("react");
2773
2773
  var import_react21 = require("motion/react");
2774
2774
  var import_lucide_react20 = require("lucide-react");
2775
2775
 
2776
- // src/components/DigitalColleagues/DigitalColleageusLayout.tsx
2776
+ // src/components/Foundry/foundary-layout.tsx
2777
2777
  var import_react7 = require("react");
2778
2778
 
2779
2779
  // src/components/AdvancedComponents/AppSidebar.tsx
@@ -2965,15 +2965,9 @@ var Checkbox = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__
2965
2965
  ));
2966
2966
  Checkbox.displayName = CheckboxPrimitive.Root.displayName;
2967
2967
 
2968
- // src/components/DigitalColleagues/test-data.tsx
2968
+ // src/components/Foundry/test-data.tsx
2969
2969
  var import_lucide_react5 = require("lucide-react");
2970
2970
  var import_jsx_runtime10 = require("react/jsx-runtime");
2971
- var createKnowledgeDocument = (title) => ({
2972
- id: Math.random().toString(36).substr(2, 9),
2973
- title,
2974
- format: "markdown",
2975
- createdAt: /* @__PURE__ */ new Date()
2976
- });
2977
2971
  var businessUnits = [
2978
2972
  {
2979
2973
  id: "design",
@@ -3058,289 +3052,392 @@ var businessUnits = [
3058
3052
  ];
3059
3053
  var mockProjects = [
3060
3054
  {
3061
- id: "1",
3055
+ id: 1,
3062
3056
  name: "E-commerce Platform",
3063
3057
  description: "Main customer-facing e-commerce application",
3064
- isSelected: true
3058
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
3059
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3060
+ team: 1
3061
+ // isSelected: true,
3065
3062
  },
3066
3063
  {
3067
- id: "2",
3064
+ id: 2,
3068
3065
  name: "Admin Dashboard",
3069
3066
  description: "Internal administration and analytics dashboard",
3070
- isSelected: false
3067
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
3068
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3069
+ team: 1
3070
+ // isSelected: false,
3071
3071
  },
3072
3072
  {
3073
- id: "3",
3073
+ id: 3,
3074
3074
  name: "Mobile App",
3075
3075
  description: "Native mobile application for iOS and Android",
3076
- isSelected: false
3076
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
3077
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3078
+ team: 1
3079
+ // isSelected: false,
3077
3080
  }
3078
3081
  ];
3079
3082
  var mockEpics = [
3080
3083
  {
3081
- id: "1",
3084
+ id: 1,
3082
3085
  name: "User Authentication",
3083
3086
  color: "bg-blue-500",
3084
3087
  description: "Implement secure user authentication system",
3085
3088
  confidence: "high",
3086
3089
  phase: 2,
3087
3090
  // development
3088
- startDate: /* @__PURE__ */ new Date("2024-01-01"),
3089
- endDate: /* @__PURE__ */ new Date("2024-02-15"),
3090
- progress: 75,
3091
- isSelected: true
3091
+ startDate: (/* @__PURE__ */ new Date()).toString(),
3092
+ endDate: (/* @__PURE__ */ new Date()).toString(),
3093
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
3094
+ updatedAt: (/* @__PURE__ */ new Date()).toString()
3095
+ // progress: 75,
3096
+ // isSelected: true,
3092
3097
  },
3093
3098
  {
3094
- id: "2",
3099
+ id: 2,
3095
3100
  name: "Dashboard Features",
3096
3101
  color: "bg-green-500",
3097
3102
  description: "Build comprehensive dashboard functionality",
3098
3103
  confidence: "medium",
3099
3104
  phase: 1,
3100
3105
  // planning
3101
- startDate: /* @__PURE__ */ new Date("2024-02-01"),
3102
- endDate: /* @__PURE__ */ new Date("2024-03-15"),
3103
- progress: 30,
3104
- isSelected: true
3106
+ startDate: (/* @__PURE__ */ new Date()).toString(),
3107
+ endDate: (/* @__PURE__ */ new Date()).toString(),
3108
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
3109
+ updatedAt: (/* @__PURE__ */ new Date()).toString()
3110
+ // progress: 30,
3111
+ // isSelected: true,
3105
3112
  },
3106
3113
  {
3107
- id: "3",
3114
+ id: 3,
3108
3115
  name: "Mobile Optimization",
3109
3116
  color: "bg-purple-500",
3110
3117
  description: "Optimize application for mobile devices",
3111
3118
  confidence: "low",
3112
3119
  phase: 1,
3113
3120
  // planning
3114
- startDate: /* @__PURE__ */ new Date("2024-03-01"),
3115
- endDate: /* @__PURE__ */ new Date("2024-04-15"),
3116
- progress: 10,
3117
- isSelected: true
3121
+ startDate: (/* @__PURE__ */ new Date()).toString(),
3122
+ endDate: (/* @__PURE__ */ new Date()).toString(),
3123
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
3124
+ updatedAt: (/* @__PURE__ */ new Date()).toString()
3125
+ // progress: 10,
3126
+ // isSelected: true,
3118
3127
  },
3119
3128
  {
3120
- id: "4",
3129
+ id: 4,
3121
3130
  name: "Performance Improvements",
3122
3131
  color: "bg-orange-500",
3123
3132
  description: "Enhance application performance and speed",
3124
3133
  confidence: "high",
3125
3134
  phase: 3,
3126
3135
  // testing
3127
- startDate: /* @__PURE__ */ new Date("2024-01-15"),
3128
- endDate: /* @__PURE__ */ new Date("2024-02-28"),
3129
- progress: 90,
3130
- isSelected: true
3136
+ startDate: (/* @__PURE__ */ new Date()).toString(),
3137
+ endDate: (/* @__PURE__ */ new Date()).toString(),
3138
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
3139
+ updatedAt: (/* @__PURE__ */ new Date()).toString()
3140
+ // progress: 90,
3141
+ // isSelected: true,
3131
3142
  }
3132
3143
  ];
3133
3144
  var mockSprints = [
3134
3145
  {
3135
- id: "backlog",
3146
+ id: 1,
3136
3147
  name: "Backlog",
3137
3148
  description: "Tasks not yet assigned to a sprint",
3138
- startDate: /* @__PURE__ */ new Date("2024-01-01"),
3139
- endDate: /* @__PURE__ */ new Date("2024-12-31"),
3140
- isActive: false,
3141
- isSelected: false
3149
+ startDate: (/* @__PURE__ */ new Date()).toString(),
3150
+ endDate: (/* @__PURE__ */ new Date()).toString(),
3151
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
3152
+ updatedAt: (/* @__PURE__ */ new Date()).toString()
3153
+ // isActive: false,
3154
+ // isSelected: false,
3142
3155
  },
3143
3156
  {
3144
- id: "all-tasks",
3157
+ id: 2,
3145
3158
  name: "All Tasks",
3146
3159
  description: "View all tasks across all sprints",
3147
- startDate: /* @__PURE__ */ new Date("2024-01-01"),
3148
- endDate: /* @__PURE__ */ new Date("2024-12-31"),
3149
- isActive: false,
3150
- isSelected: true
3160
+ startDate: (/* @__PURE__ */ new Date()).toString(),
3161
+ endDate: (/* @__PURE__ */ new Date()).toString(),
3162
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
3163
+ updatedAt: (/* @__PURE__ */ new Date()).toString()
3164
+ // isActive: false,
3165
+ // isSelected: true,
3151
3166
  },
3152
3167
  {
3153
- id: "1",
3168
+ id: 3,
3154
3169
  name: "Sprint 1",
3155
3170
  description: "Initial development phase",
3156
- startDate: /* @__PURE__ */ new Date("2024-01-01"),
3157
- endDate: /* @__PURE__ */ new Date("2024-01-14"),
3158
- isActive: false,
3159
- isSelected: false
3171
+ startDate: (/* @__PURE__ */ new Date()).toString(),
3172
+ endDate: (/* @__PURE__ */ new Date()).toString(),
3173
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
3174
+ updatedAt: (/* @__PURE__ */ new Date()).toString()
3175
+ // isActive: false,
3176
+ // isSelected: false,
3160
3177
  },
3161
3178
  {
3162
- id: "2",
3179
+ id: 4,
3163
3180
  name: "Sprint 2",
3164
3181
  description: "Feature development",
3165
- startDate: /* @__PURE__ */ new Date("2024-01-15"),
3166
- endDate: /* @__PURE__ */ new Date("2024-01-28"),
3167
- isActive: true,
3168
- isSelected: false
3182
+ startDate: (/* @__PURE__ */ new Date()).toString(),
3183
+ endDate: (/* @__PURE__ */ new Date()).toString(),
3184
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
3185
+ updatedAt: (/* @__PURE__ */ new Date()).toString()
3186
+ // isActive: true,
3187
+ // isSelected: false,
3169
3188
  }
3170
3189
  ];
3171
3190
  var mockTasks = [
3172
3191
  {
3173
- id: "1",
3192
+ id: 1,
3174
3193
  name: "Design login page",
3175
3194
  description: "Create wireframes and mockups for the login interface",
3176
3195
  status: "todo",
3177
3196
  priority: "high",
3178
3197
  type: "story",
3179
- points: 5,
3180
- epicId: "1",
3181
- sprintId: "2",
3182
- assignee: "John Doe",
3183
- createdAt: /* @__PURE__ */ new Date("2024-01-15")
3198
+ dateLogged: (/* @__PURE__ */ new Date()).toString(),
3199
+ index: 1,
3200
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3201
+ // points: 5,
3202
+ // epicId: '1',
3203
+ // sprintId: '2',
3204
+ assignee: {
3205
+ relationTo: "users",
3206
+ value: "John Doe"
3207
+ },
3208
+ createdAt: (/* @__PURE__ */ new Date()).toString()
3184
3209
  },
3185
3210
  {
3186
- id: "2",
3211
+ id: 2,
3187
3212
  name: "Implement OAuth integration",
3188
3213
  description: "Add Google and GitHub OAuth authentication",
3189
3214
  status: "review",
3190
3215
  priority: "high",
3191
3216
  type: "task",
3192
- points: 8,
3193
- epicId: "1",
3194
- sprintId: "2",
3195
- assignee: "Jane Smith",
3196
- createdAt: /* @__PURE__ */ new Date("2024-01-16")
3217
+ dateLogged: (/* @__PURE__ */ new Date()).toString(),
3218
+ index: 2,
3219
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3220
+ // points: 8,
3221
+ // epicId: '1',
3222
+ // sprintId: '2',
3223
+ assignee: {
3224
+ relationTo: "users",
3225
+ value: "Jane Smith"
3226
+ },
3227
+ createdAt: (/* @__PURE__ */ new Date()).toString()
3197
3228
  },
3198
3229
  {
3199
- id: "3",
3230
+ id: 3,
3200
3231
  name: "Create dashboard widgets",
3201
3232
  description: "Build analytics and metrics widgets for the main dashboard",
3202
3233
  status: "todo",
3203
3234
  priority: "medium",
3204
3235
  type: "story",
3205
- points: 13,
3206
- epicId: "2",
3207
- sprintId: "2",
3208
- assignee: "Mike Johnson",
3209
- createdAt: /* @__PURE__ */ new Date("2024-01-17")
3236
+ dateLogged: (/* @__PURE__ */ new Date()).toString(),
3237
+ index: 3,
3238
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3239
+ // points: 13,
3240
+ // epicId: '2',
3241
+ // sprintId: '2',
3242
+ assignee: {
3243
+ relationTo: "users",
3244
+ value: "Mike Johnson"
3245
+ },
3246
+ createdAt: (/* @__PURE__ */ new Date()).toString()
3210
3247
  },
3211
3248
  {
3212
- id: "4",
3249
+ id: 4,
3213
3250
  name: "Fix login redirect bug",
3214
3251
  description: "Resolve issue where users are not redirected after login",
3215
3252
  status: "done",
3216
3253
  priority: "high",
3217
3254
  type: "bug",
3218
- points: 3,
3219
- epicId: "1",
3220
- sprintId: "1",
3221
- assignee: "Sarah Wilson",
3222
- createdAt: /* @__PURE__ */ new Date("2024-01-14")
3255
+ dateLogged: (/* @__PURE__ */ new Date()).toString(),
3256
+ index: 4,
3257
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3258
+ // points: 3,
3259
+ // epicId: '1',
3260
+ // sprintId: '1',
3261
+ assignee: {
3262
+ relationTo: "users",
3263
+ value: "Sarah Wilson"
3264
+ },
3265
+ createdAt: (/* @__PURE__ */ new Date()).toString()
3223
3266
  },
3224
3267
  {
3225
- id: "5",
3268
+ id: 5,
3226
3269
  name: "Research mobile frameworks",
3227
3270
  description: "Investigate best practices for mobile responsive design",
3228
3271
  status: "in-progress",
3229
3272
  priority: "medium",
3230
3273
  type: "spike",
3231
- points: 5,
3232
- epicId: "3",
3233
- assignee: "Alex Brown",
3234
- createdAt: /* @__PURE__ */ new Date("2024-01-18")
3274
+ dateLogged: (/* @__PURE__ */ new Date()).toString(),
3275
+ index: 5,
3276
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3277
+ // points: 5,
3278
+ // epicId: '3',
3279
+ assignee: {
3280
+ relationTo: "users",
3281
+ value: "Alex Brown"
3282
+ },
3283
+ createdAt: (/* @__PURE__ */ new Date()).toString()
3235
3284
  },
3236
3285
  {
3237
- id: "6",
3286
+ id: 6,
3238
3287
  name: "Update user profile page",
3239
3288
  description: "Enhance user profile with new settings and preferences",
3240
3289
  status: "review",
3241
3290
  priority: "medium",
3242
3291
  type: "story",
3243
- points: 8,
3244
- epicId: "2",
3245
- sprintId: "2",
3246
- assignee: "Emma Davis",
3247
- createdAt: /* @__PURE__ */ new Date("2024-01-19")
3292
+ dateLogged: (/* @__PURE__ */ new Date()).toString(),
3293
+ index: 6,
3294
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3295
+ // points: 8,
3296
+ // epicId: '2',
3297
+ // sprintId: '2',
3298
+ assignee: {
3299
+ relationTo: "users",
3300
+ value: "Emma Davis"
3301
+ },
3302
+ createdAt: (/* @__PURE__ */ new Date()).toString()
3248
3303
  },
3249
3304
  {
3250
- id: "7",
3305
+ id: 7,
3251
3306
  name: "Performance optimization",
3252
3307
  description: "Optimize database queries and improve page load times",
3253
3308
  status: "done",
3254
3309
  priority: "high",
3255
3310
  type: "task",
3256
- points: 13,
3257
- epicId: "4",
3258
- sprintId: "1",
3259
- assignee: "Tom Wilson",
3260
- createdAt: /* @__PURE__ */ new Date("2024-01-13")
3311
+ dateLogged: (/* @__PURE__ */ new Date()).toString(),
3312
+ index: 7,
3313
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3314
+ // points: 13,
3315
+ // epicId: '4',
3316
+ // sprintId: '1',
3317
+ assignee: {
3318
+ relationTo: "users",
3319
+ value: "Tom Wilson"
3320
+ },
3321
+ createdAt: (/* @__PURE__ */ new Date()).toString()
3261
3322
  }
3262
3323
  ];
3263
3324
  var highDensityTasks = [
3264
3325
  ...mockTasks,
3265
3326
  {
3266
- id: "8",
3327
+ id: 8,
3267
3328
  name: "Add search functionality",
3268
3329
  description: "Implement search across all dashboard widgets",
3269
3330
  status: "todo",
3270
3331
  priority: "medium",
3271
3332
  type: "story",
3272
- points: 8,
3273
- epicId: "2",
3274
- sprintId: "2",
3275
- assignee: "Chris Lee",
3276
- createdAt: /* @__PURE__ */ new Date("2024-01-20")
3333
+ dateLogged: (/* @__PURE__ */ new Date()).toString(),
3334
+ index: 8,
3335
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3336
+ // points: 8,
3337
+ // epicId: '2',
3338
+ // sprintId: '2',
3339
+ assignee: {
3340
+ relationTo: "users",
3341
+ value: "1"
3342
+ },
3343
+ createdAt: (/* @__PURE__ */ new Date()).toString()
3277
3344
  },
3278
3345
  {
3279
- id: "9",
3346
+ id: 9,
3280
3347
  name: "Fix mobile responsive issues",
3281
3348
  description: "Resolve layout problems on mobile devices",
3282
3349
  status: "in-progress",
3283
3350
  priority: "high",
3284
3351
  type: "bug",
3285
- points: 5,
3286
- epicId: "3",
3287
- sprintId: "2",
3288
- assignee: "Taylor Swift",
3289
- createdAt: /* @__PURE__ */ new Date("2024-01-21")
3352
+ dateLogged: (/* @__PURE__ */ new Date()).toString(),
3353
+ index: 9,
3354
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3355
+ // points: 5,
3356
+ // epicId: '3',
3357
+ // sprintId: '2',
3358
+ assignee: {
3359
+ relationTo: "users",
3360
+ value: "Taylor Swift"
3361
+ },
3362
+ createdAt: (/* @__PURE__ */ new Date()).toString()
3290
3363
  },
3291
3364
  {
3292
- id: "10",
3365
+ id: 10,
3293
3366
  name: "Implement dark mode",
3294
3367
  description: "Add dark theme support across the application",
3295
3368
  status: "review",
3296
3369
  priority: "low",
3297
3370
  type: "story",
3298
- points: 13,
3299
- epicId: "2",
3300
- sprintId: "2",
3301
- assignee: "Jordan Smith",
3302
- createdAt: /* @__PURE__ */ new Date("2024-01-22")
3371
+ dateLogged: (/* @__PURE__ */ new Date()).toString(),
3372
+ index: 10,
3373
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3374
+ // points: 13,
3375
+ // epicId: '2',
3376
+ // sprintId: '2',
3377
+ assignee: {
3378
+ relationTo: "users",
3379
+ value: "Jordan Smith"
3380
+ },
3381
+ createdAt: (/* @__PURE__ */ new Date()).toString()
3303
3382
  },
3304
3383
  {
3305
- id: "11",
3384
+ id: 11,
3306
3385
  name: "API rate limiting",
3307
3386
  description: "Implement rate limiting for API endpoints",
3308
3387
  status: "done",
3309
3388
  priority: "high",
3310
3389
  type: "task",
3311
- points: 8,
3312
- epicId: "4",
3313
- sprintId: "1",
3314
- assignee: "Morgan Davis",
3315
- createdAt: /* @__PURE__ */ new Date("2024-01-12")
3390
+ dateLogged: (/* @__PURE__ */ new Date()).toString(),
3391
+ index: 11,
3392
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3393
+ // points: 8,
3394
+ // epicId: '4',
3395
+ // sprintId: '1',
3396
+ assignee: {
3397
+ relationTo: "users",
3398
+ value: "Morgan Davis"
3399
+ },
3400
+ createdAt: (/* @__PURE__ */ new Date()).toString()
3316
3401
  },
3317
3402
  {
3318
- id: "12",
3403
+ id: 12,
3319
3404
  name: "User onboarding flow",
3320
3405
  description: "Create guided tour for new users",
3321
3406
  status: "todo",
3322
3407
  priority: "medium",
3323
3408
  type: "story",
3324
- points: 21,
3325
- epicId: "1",
3326
- sprintId: "2",
3327
- assignee: "Casey Johnson",
3328
- createdAt: /* @__PURE__ */ new Date("2024-01-23")
3409
+ dateLogged: (/* @__PURE__ */ new Date()).toString(),
3410
+ index: 12,
3411
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3412
+ // points: 21,
3413
+ // epicId: '1',
3414
+ // sprintId: '2',
3415
+ assignee: {
3416
+ relationTo: "users",
3417
+ value: "Casey Johnson"
3418
+ },
3419
+ createdAt: (/* @__PURE__ */ new Date()).toString()
3329
3420
  }
3330
3421
  ];
3331
3422
  var extendedProjects = [
3332
- ...mockProjects,
3423
+ // ...mockProjects,
3333
3424
  {
3334
- id: "4",
3425
+ id: 4,
3335
3426
  name: "Analytics Platform",
3336
3427
  description: "Business intelligence and reporting system",
3337
- isSelected: false
3428
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
3429
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3430
+ team: 1
3431
+ // isSelected: false,
3338
3432
  },
3339
3433
  {
3340
- id: "5",
3434
+ id: 5,
3341
3435
  name: "API Gateway",
3342
3436
  description: "Microservices API management layer",
3343
- isSelected: false
3437
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
3438
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3439
+ // isSelected: false,
3440
+ team: 1
3344
3441
  }
3345
3442
  ];
3346
3443
  var emptyStateData = {
@@ -3381,7 +3478,9 @@ var singleEpicData = {
3381
3478
  isSelected: true
3382
3479
  }
3383
3480
  ],
3384
- tasks: mockTasks.filter((task) => task.epicId === "1")
3481
+ tasks: mockTasks.filter(
3482
+ (task) => typeof task.epic === "object" ? task.epic?.id === 1 : task.epic === 1
3483
+ )
3385
3484
  };
3386
3485
  var testScenarios = {
3387
3486
  empty: {
@@ -3421,243 +3520,322 @@ var mockColleagues = [
3421
3520
  type: "human",
3422
3521
  name: "Sarah Johnson",
3423
3522
  email: "sarah.johnson@company.com",
3424
- role: "Senior Designer",
3425
- department: "Design",
3426
- status: "active",
3427
- joinedDate: /* @__PURE__ */ new Date("2023-01-15"),
3428
- lastActive: /* @__PURE__ */ new Date(),
3429
- phone: "+1 (555) 123-4567",
3430
- location: "San Francisco, CA",
3431
- timezone: "PST",
3432
- skills: ["UI/UX Design", "Figma", "Adobe Creative Suite", "Prototyping", "User Research"],
3433
- bio: "Passionate designer with 8+ years of experience creating user-centered digital experiences."
3523
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
3524
+ updatedAt: (/* @__PURE__ */ new Date()).toString()
3525
+ // role: 'Senior Designer',
3526
+ // department: 'Design',
3527
+ // status: 'active',
3528
+ // joinedDate: new Date('2023-01-15'),
3529
+ // lastActive: new Date(),
3530
+ // phone: '+1 (555) 123-4567',
3531
+ // location: 'San Francisco, CA',
3532
+ // timezone: 'PST',
3533
+ // skills: ['UI/UX Design', 'Figma', 'Adobe Creative Suite', 'Prototyping', 'User Research'],
3534
+ // bio: 'Passionate designer with 8+ years of experience creating user-centered digital experiences.',
3434
3535
  },
3435
3536
  {
3436
- id: "2",
3537
+ id: 2,
3437
3538
  type: "digital",
3438
3539
  name: "CodeAssist Pro",
3439
- status: "active",
3440
- joinedDate: /* @__PURE__ */ new Date("2024-01-01"),
3441
- lastActive: /* @__PURE__ */ new Date(),
3540
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
3541
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3442
3542
  jobDescription: "AI-powered coding assistant that helps with code review, debugging, and documentation generation.",
3443
3543
  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.",
3444
3544
  capabilities: [
3445
- "Code Review",
3446
- "Documentation Generation",
3447
- "Debugging",
3448
- "Code Optimization",
3449
- "Testing"
3545
+ {
3546
+ relationTo: "mcpTools",
3547
+ value: 1
3548
+ },
3549
+ {
3550
+ relationTo: "mcpTools",
3551
+ value: 2
3552
+ }
3450
3553
  ],
3451
- knowledge: ["JavaScript", "TypeScript", "React", "Node.js", "Python", "Git"].map(
3452
- createKnowledgeDocument
3453
- ),
3454
- coreKnowledge: ["Company coding standards", "Architecture patterns", "Security guidelines"].map(
3455
- createKnowledgeDocument
3456
- ),
3457
- version: "2",
3458
- lastUpdated: /* @__PURE__ */ new Date("2024-01-15"),
3459
- isActive: true
3554
+ knowledge: 1,
3555
+ coreKnowledge: 1,
3556
+ capabilityLevel: 1,
3557
+ // version: '2',
3558
+ // lastUpdated: new Date('2024-01-15').toString(),
3559
+ // isActive: true,
3560
+ identity: {
3561
+ id: 1,
3562
+ keycloakClientId: "123",
3563
+ keycloakUserId: "456",
3564
+ secretManagementMode: "manual",
3565
+ keycloakClientSecret: "new-secret",
3566
+ keycloakSecretArn: "arn:aws:secretsmanager:us-east-1:123456789012:secret:mysecret",
3567
+ keycloakSecretLocation: "us-east-1",
3568
+ keycloakSecretLastUpdated: (/* @__PURE__ */ new Date()).toString(),
3569
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3570
+ createdAt: (/* @__PURE__ */ new Date()).toString()
3571
+ }
3460
3572
  },
3461
3573
  {
3462
3574
  id: "3",
3463
3575
  type: "human",
3464
3576
  name: "Michael Chen",
3465
3577
  email: "michael.chen@company.com",
3466
- role: "Product Manager",
3467
- department: "Product",
3468
- status: "inactive",
3469
- joinedDate: /* @__PURE__ */ new Date("2022-08-20"),
3470
- lastActive: new Date(Date.now() - 2 * 60 * 60 * 1e3),
3471
- // 2 hours ago
3472
- phone: "+1 (555) 987-6543",
3473
- location: "New York, NY",
3474
- timezone: "EST",
3475
- skills: ["Product Strategy", "Agile", "Data Analysis", "User Stories", "Roadmapping"],
3476
- bio: "Strategic product manager focused on driving user engagement and business growth."
3578
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
3579
+ updatedAt: (/* @__PURE__ */ new Date()).toString()
3580
+ // role: 'Product Manager',
3581
+ // department: 'Product',
3582
+ // status: 'inactive',
3583
+ // joinedDate: new Date('2022-08-20'),
3584
+ // lastActive: new Date(Date.now() - 2 * 60 * 60 * 1000), // 2 hours ago
3585
+ // phone: '+1 (555) 987-6543',
3586
+ // location: 'New York, NY',
3587
+ // timezone: 'EST',
3588
+ // skills: ['Product Strategy', 'Agile', 'Data Analysis', 'User Stories', 'Roadmapping'],
3589
+ // bio: 'Strategic product manager focused on driving user engagement and business growth.',
3477
3590
  },
3478
3591
  {
3479
- id: "4",
3592
+ id: 4,
3480
3593
  type: "digital",
3481
3594
  name: "MarketingBot",
3482
- status: "active",
3483
- joinedDate: /* @__PURE__ */ new Date("2024-02-01"),
3484
- lastActive: /* @__PURE__ */ new Date(),
3595
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
3596
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3485
3597
  jobDescription: "Specialized AI assistant for marketing campaigns, content creation, and social media management.",
3486
3598
  workInstructions: "Create engaging social media content. Analyze campaign performance metrics. Generate marketing copy and headlines. Schedule and manage social media posts.",
3487
3599
  capabilities: [
3488
- "Content Creation",
3489
- "Social Media Management",
3490
- "Analytics",
3491
- "SEO Optimization",
3492
- "Campaign Management"
3600
+ {
3601
+ relationTo: "mcpTools",
3602
+ value: 1
3603
+ },
3604
+ {
3605
+ relationTo: "mcpTools",
3606
+ value: 2
3607
+ }
3493
3608
  ],
3494
- knowledge: [
3495
- "Digital Marketing",
3496
- "Social Media Platforms",
3497
- "Content Strategy",
3498
- "Analytics Tools"
3499
- ].map(createKnowledgeDocument),
3500
- coreKnowledge: ["Brand guidelines", "Target audience personas", "Marketing objectives"].map(
3501
- createKnowledgeDocument
3502
- ),
3503
- version: "52",
3504
- lastUpdated: /* @__PURE__ */ new Date("2024-02-10"),
3505
- isActive: true
3609
+ knowledge: 1,
3610
+ coreKnowledge: 1,
3611
+ capabilityLevel: 1,
3612
+ // version: '52',
3613
+ // lastUpdated: new Date('2024-02-10'),
3614
+ // isActive: true,
3615
+ identity: {
3616
+ id: 1,
3617
+ keycloakClientId: "123",
3618
+ keycloakUserId: "456",
3619
+ secretManagementMode: "manual",
3620
+ keycloakClientSecret: "new-secret",
3621
+ keycloakSecretArn: "arn:aws:secretsmanager:us-east-1:123456789012:secret:mysecret",
3622
+ keycloakSecretLocation: "us-east-1",
3623
+ keycloakSecretLastUpdated: (/* @__PURE__ */ new Date()).toString(),
3624
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3625
+ createdAt: (/* @__PURE__ */ new Date()).toString()
3626
+ }
3506
3627
  },
3507
3628
  {
3508
3629
  id: "5",
3509
3630
  type: "human",
3510
3631
  name: "Emily Rodriguez",
3511
3632
  email: "emily.rodriguez@company.com",
3512
- role: "UX Researcher",
3513
- department: "Design",
3514
- status: "inactive",
3515
- joinedDate: /* @__PURE__ */ new Date("2023-06-10"),
3516
- lastActive: new Date(Date.now() - 7 * 24 * 60 * 60 * 1e3),
3517
- // 7 days ago
3518
- phone: "+1 (555) 456-7890",
3519
- location: "Austin, TX",
3520
- timezone: "CST",
3521
- skills: [
3522
- "User Research",
3523
- "Usability Testing",
3524
- "Data Analysis",
3525
- "Survey Design",
3526
- "Interview Techniques"
3527
- ],
3528
- bio: "User researcher dedicated to understanding user needs and improving product experiences."
3633
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
3634
+ updatedAt: (/* @__PURE__ */ new Date()).toString()
3635
+ // role: 'UX Researcher',
3636
+ // department: 'Design',
3637
+ // status: 'inactive',
3638
+ // joinedDate: new Date('2023-06-10'),
3639
+ // lastActive: new Date(Date.now() - 7 * 24 * 60 * 60 * 1000), // 7 days ago
3640
+ // phone: '+1 (555) 456-7890',
3641
+ // location: 'Austin, TX',
3642
+ // timezone: 'CST',
3643
+ // skills: [
3644
+ // 'User Research',
3645
+ // 'Usability Testing',
3646
+ // 'Data Analysis',
3647
+ // 'Survey Design',
3648
+ // 'Interview Techniques',
3649
+ // ],
3650
+ // bio: 'User researcher dedicated to understanding user needs and improving product experiences.',
3529
3651
  },
3530
3652
  {
3531
- id: "6",
3653
+ id: 6,
3532
3654
  type: "digital",
3533
3655
  name: "DataAnalyzer Pro",
3534
- status: "active",
3535
- joinedDate: /* @__PURE__ */ new Date("2024-01-10"),
3536
- lastActive: /* @__PURE__ */ new Date(),
3656
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
3657
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3537
3658
  jobDescription: "Advanced AI assistant specializing in data analysis, reporting, and business intelligence.",
3538
3659
  workInstructions: "Analyze complex datasets, generate insightful reports, create data visualizations, and provide actionable business recommendations.",
3539
3660
  capabilities: [
3540
- "Data Analysis",
3541
- "Report Generation",
3542
- "Data Visualization",
3543
- "Business Intelligence",
3544
- "Statistical Analysis"
3661
+ {
3662
+ relationTo: "mcpTools",
3663
+ value: 1
3664
+ },
3665
+ {
3666
+ relationTo: "mcpTools",
3667
+ value: 2
3668
+ },
3669
+ {
3670
+ relationTo: "mcpTools",
3671
+ value: 3
3672
+ }
3545
3673
  ],
3546
- knowledge: ["Python", "SQL", "Tableau", "Excel", "R", "Statistics"].map(
3547
- createKnowledgeDocument
3548
- ),
3549
- coreKnowledge: ["Company data sources", "KPI definitions", "Reporting standards"].map(
3550
- createKnowledgeDocument
3551
- ),
3552
- version: "3.1",
3553
- lastUpdated: /* @__PURE__ */ new Date("2024-02-20"),
3554
- isActive: true
3674
+ knowledge: 1,
3675
+ coreKnowledge: 1,
3676
+ capabilityLevel: 1,
3677
+ // version: '3.1',
3678
+ // lastUpdated: new Date('2024-02-20'),
3679
+ // isActive: true,
3680
+ identity: {
3681
+ id: 1,
3682
+ keycloakClientId: "123",
3683
+ keycloakUserId: "456",
3684
+ secretManagementMode: "manual",
3685
+ keycloakClientSecret: "new-secret",
3686
+ keycloakSecretArn: "arn:aws:secretsmanager:us-east-1:123456789012:secret:mysecret",
3687
+ keycloakSecretLocation: "us-east-1",
3688
+ keycloakSecretLastUpdated: (/* @__PURE__ */ new Date()).toString(),
3689
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3690
+ createdAt: (/* @__PURE__ */ new Date()).toString()
3691
+ }
3555
3692
  },
3556
3693
  {
3557
- id: "7",
3694
+ id: 7,
3558
3695
  type: "digital",
3559
3696
  name: "ProjectManager AI",
3560
- status: "active",
3561
- joinedDate: /* @__PURE__ */ new Date("2024-01-05"),
3562
- lastActive: /* @__PURE__ */ new Date(),
3697
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
3698
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3563
3699
  jobDescription: "Intelligent project management assistant that helps coordinate tasks, track progress, and manage timelines.",
3564
3700
  workInstructions: "Coordinate project activities, track milestones, manage resource allocation, and provide project status updates.",
3565
3701
  capabilities: [
3566
- "Project Planning",
3567
- "Task Coordination",
3568
- "Timeline Management",
3569
- "Resource Allocation",
3570
- "Progress Tracking"
3702
+ {
3703
+ relationTo: "mcpTools",
3704
+ value: 1
3705
+ },
3706
+ {
3707
+ relationTo: "mcpTools",
3708
+ value: 2
3709
+ },
3710
+ {
3711
+ relationTo: "mcpTools",
3712
+ value: 4
3713
+ },
3714
+ {
3715
+ relationTo: "mcpTools",
3716
+ value: 5
3717
+ }
3571
3718
  ],
3572
- knowledge: ["Agile", "Scrum", "Gantt Charts", "Risk Management", "Stakeholder Management"].map(
3573
- createKnowledgeDocument
3574
- ),
3575
- coreKnowledge: [
3576
- "Company project templates",
3577
- "Resource availability",
3578
- "Project methodologies"
3579
- ].map(createKnowledgeDocument),
3580
- version: "2.5",
3581
- lastUpdated: /* @__PURE__ */ new Date("2024-02-15"),
3582
- isActive: true
3719
+ knowledge: 1,
3720
+ coreKnowledge: 1,
3721
+ capabilityLevel: 1,
3722
+ // version: '2.5',
3723
+ // lastUpdated: new Date('2024-02-15'),
3724
+ // isActive: true,
3725
+ identity: {
3726
+ id: 1,
3727
+ keycloakClientId: "123",
3728
+ keycloakUserId: "456",
3729
+ secretManagementMode: "manual",
3730
+ keycloakClientSecret: "new-secret",
3731
+ keycloakSecretArn: "arn:aws:secretsmanager:us-east-1:123456789012:secret:mysecret",
3732
+ keycloakSecretLocation: "us-east-1",
3733
+ keycloakSecretLastUpdated: (/* @__PURE__ */ new Date()).toString(),
3734
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3735
+ createdAt: (/* @__PURE__ */ new Date()).toString()
3736
+ }
3583
3737
  },
3584
3738
  {
3585
- id: "8",
3739
+ id: 8,
3586
3740
  type: "digital",
3587
3741
  name: "CustomerSupport Bot",
3588
- status: "active",
3589
- joinedDate: /* @__PURE__ */ new Date("2024-02-01"),
3590
- lastActive: /* @__PURE__ */ new Date(),
3742
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
3743
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3591
3744
  jobDescription: "AI-powered customer support assistant that handles inquiries, resolves issues, and escalates complex problems.",
3592
3745
  workInstructions: "Respond to customer inquiries, troubleshoot common issues, provide product information, and escalate complex cases to human agents.",
3593
3746
  capabilities: [
3594
- "Customer Support",
3595
- "Issue Resolution",
3596
- "Product Knowledge",
3597
- "Escalation Management",
3598
- "Chat Support"
3747
+ {
3748
+ relationTo: "mcpTools",
3749
+ value: 1
3750
+ },
3751
+ {
3752
+ relationTo: "mcpTools",
3753
+ value: 2
3754
+ },
3755
+ {
3756
+ relationTo: "mcpTools",
3757
+ value: 5
3758
+ }
3599
3759
  ],
3600
- knowledge: [
3601
- "Product Documentation",
3602
- "FAQ",
3603
- "Troubleshooting Guides",
3604
- "Customer Service Best Practices"
3605
- ].map(createKnowledgeDocument),
3606
- coreKnowledge: ["Product catalog", "Support processes", "Escalation procedures"].map(
3607
- createKnowledgeDocument
3608
- ),
3609
- version: "1.8",
3610
- lastUpdated: /* @__PURE__ */ new Date("2024-02-25"),
3611
- isActive: true
3760
+ knowledge: 1,
3761
+ coreKnowledge: 1,
3762
+ capabilityLevel: 1,
3763
+ // version: '1.8',
3764
+ // lastUpdated: new Date('2024-02-25'),
3765
+ // isActive: true,
3766
+ identity: {
3767
+ id: 1,
3768
+ keycloakClientId: "123",
3769
+ keycloakUserId: "456",
3770
+ secretManagementMode: "manual",
3771
+ keycloakClientSecret: "new-secret",
3772
+ keycloakSecretArn: "arn:aws:secretsmanager:us-east-1:123456789012:secret:mysecret",
3773
+ keycloakSecretLocation: "us-east-1",
3774
+ keycloakSecretLastUpdated: (/* @__PURE__ */ new Date()).toString(),
3775
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3776
+ createdAt: (/* @__PURE__ */ new Date()).toString()
3777
+ }
3612
3778
  }
3613
3779
  ];
3614
3780
  var mockReminders = [
3615
3781
  {
3616
- id: "1",
3782
+ id: 1,
3617
3783
  title: "Review quarterly report",
3618
3784
  description: "Go through Q4 performance metrics and prepare summary for the team meeting",
3619
- dueDate: new Date(2024, 2, 15),
3785
+ dueDate: new Date(2024, 2, 15).toString(),
3620
3786
  dueTime: "14:30",
3621
- colleague: mockColleagues.find((c) => c.id === "2" && c.type === "digital"),
3622
- isCompleted: false,
3787
+ assignedColleague: mockColleagues.find(
3788
+ (c) => c.id === "2" && c.type === "digital"
3789
+ ),
3790
+ // isCompleted: false,
3623
3791
  isRecurring: false,
3624
- priority: "high",
3625
- reminderEnabled: true,
3626
- reminderMinutes: 30,
3627
- createdAt: new Date(2024, 2, 10),
3628
- tags: ["quarterly", "review", "urgent"]
3792
+ // priority: 'high',
3793
+ // reminderEnabled: true,
3794
+ // reminderMinutes: 30,
3795
+ createdAt: new Date(2024, 2, 10).toString(),
3796
+ updatedAt: new Date(2024, 2, 10).toString(),
3797
+ project: mockProjects[0]
3798
+ // tags: ['quarterly', 'review', 'urgent'],
3629
3799
  },
3630
3800
  {
3631
- id: "2",
3801
+ id: 2,
3632
3802
  title: "Weekly team standup",
3633
3803
  description: "Join the weekly team synchronization meeting",
3634
- dueDate: new Date(2024, 2, 18),
3804
+ dueDate: new Date(2024, 2, 18).toString(),
3635
3805
  dueTime: "10:00",
3636
- colleague: mockColleagues.find((c) => c.id === "4" && c.type === "digital"),
3637
- isCompleted: false,
3638
- isRecurring: true,
3639
- recurrencePattern: "weekly",
3640
- recurrenceInterval: 1,
3641
- priority: "medium",
3642
- reminderEnabled: true,
3643
- reminderMinutes: 15,
3644
- createdAt: new Date(2024, 2, 11),
3645
- tags: ["meeting", "standup", "weekly"]
3806
+ assignedColleague: mockColleagues.find(
3807
+ (c) => c.id === "4" && c.type === "digital"
3808
+ ),
3809
+ // isCompleted: false,
3810
+ // isRecurring: true,
3811
+ // recurrencePattern: 'weekly',
3812
+ // recurrenceInterval: 1,
3813
+ // priority: 'medium',
3814
+ // reminderEnabled: true,
3815
+ // reminderMinutes: 15,
3816
+ createdAt: new Date(2024, 2, 11).toString(),
3817
+ updatedAt: new Date(2024, 2, 11).toString(),
3818
+ project: mockProjects[0]
3819
+ // tags: ['meeting', 'standup', 'weekly'],
3646
3820
  },
3647
3821
  {
3648
- id: "3",
3822
+ id: 3,
3649
3823
  title: "Deploy to production",
3650
3824
  description: "Deploy the latest version to production environment",
3651
- dueDate: /* @__PURE__ */ new Date(),
3825
+ dueDate: (/* @__PURE__ */ new Date()).toString(),
3652
3826
  dueTime: "16:00",
3653
- colleague: mockColleagues.find((c) => c.id === "2" && c.type === "digital"),
3654
- isCompleted: false,
3655
- isRecurring: false,
3656
- priority: "high",
3657
- reminderEnabled: true,
3658
- reminderMinutes: 60,
3659
- createdAt: /* @__PURE__ */ new Date(),
3660
- tags: ["deploy", "production", "urgent"]
3827
+ assignedColleague: mockColleagues.find(
3828
+ (c) => c.id === "2" && c.type === "digital"
3829
+ ),
3830
+ // isCompleted: false,
3831
+ // isRecurring: false,
3832
+ // priority: 'high',
3833
+ // reminderEnabled: true,
3834
+ // reminderMinutes: 60,
3835
+ createdAt: (/* @__PURE__ */ new Date()).toString(),
3836
+ updatedAt: (/* @__PURE__ */ new Date()).toString(),
3837
+ project: mockProjects[0]
3838
+ // tags: ['deploy', 'production', 'urgent'],
3661
3839
  }
3662
3840
  ];
3663
3841
  var mockDigitalColleagues = mockColleagues.filter(
@@ -3676,15 +3854,16 @@ function useLocalStorage(key, initialValue) {
3676
3854
  return initialValue;
3677
3855
  }
3678
3856
  });
3679
- const setValue = (value) => {
3857
+ const setValue = (0, import_react2.useCallback)((value) => {
3680
3858
  try {
3681
- setStoredValue(value);
3859
+ const valueToStore = value instanceof Function ? value(storedValue) : value;
3860
+ setStoredValue(valueToStore);
3682
3861
  if (typeof window !== "undefined") {
3683
- window.localStorage.setItem(key, JSON.stringify(value));
3862
+ window.localStorage.setItem(key, JSON.stringify(valueToStore));
3684
3863
  }
3685
3864
  } catch (error) {
3686
3865
  }
3687
- };
3866
+ }, [key, storedValue]);
3688
3867
  (0, import_react2.useEffect)(() => {
3689
3868
  setValue(storedValue);
3690
3869
  }, []);
@@ -4556,7 +4735,7 @@ function AppHeader({
4556
4735
  ] });
4557
4736
  }
4558
4737
 
4559
- // src/components/DigitalColleagues/DigitalColleageusLayout.tsx
4738
+ // src/components/Foundry/foundary-layout.tsx
4560
4739
  var import_lucide_react11 = require("lucide-react");
4561
4740
  var import_jsx_runtime20 = require("react/jsx-runtime");
4562
4741
  var businessUnits2 = [
@@ -4569,7 +4748,7 @@ var businessUnits2 = [
4569
4748
  accentColor: "text-orange-600"
4570
4749
  }
4571
4750
  ];
4572
- function DigitalColleageusLayout({
4751
+ function FoundryLayout({
4573
4752
  sidebarItems,
4574
4753
  children,
4575
4754
  title = "Digital Colleagues",
@@ -4588,6 +4767,7 @@ function DigitalColleageusLayout({
4588
4767
  onNotificationRemove,
4589
4768
  onRemoveAll,
4590
4769
  logo = "/headerlogo.png",
4770
+ logoLink = "/teams",
4591
4771
  appName = "Nuvia",
4592
4772
  tagline = "Collaboration Platform",
4593
4773
  sidebarInitiallyClosed = false
@@ -4600,7 +4780,13 @@ function DigitalColleageusLayout({
4600
4780
  onBusinessUnitChange?.(unit);
4601
4781
  };
4602
4782
  return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "flex h-full flex-col overflow-hidden rounded-xl bg-background w-[]", children: [
4603
- mobileMenuOpen && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "fixed inset-0 z-40 bg-black/50 md:hidden", onClick: () => setMobileMenuOpen(false) }),
4783
+ mobileMenuOpen && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
4784
+ "div",
4785
+ {
4786
+ className: "fixed inset-0 z-40 bg-black/50 md:hidden",
4787
+ onClick: () => setMobileMenuOpen(false)
4788
+ }
4789
+ ),
4604
4790
  /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "md:hidden", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
4605
4791
  AppSidebar,
4606
4792
  {
@@ -4612,6 +4798,7 @@ function DigitalColleageusLayout({
4612
4798
  onBusinessUnitChange: handleBusinessUnitChange,
4613
4799
  onSearch,
4614
4800
  logo,
4801
+ logoLink,
4615
4802
  appName,
4616
4803
  tagline
4617
4804
  }
@@ -4626,34 +4813,44 @@ function DigitalColleageusLayout({
4626
4813
  onBusinessUnitChange: handleBusinessUnitChange,
4627
4814
  onSearch,
4628
4815
  logo,
4816
+ logoLink,
4629
4817
  appName,
4630
4818
  tagline
4631
4819
  }
4632
4820
  ) }),
4633
- /* @__PURE__ */ (0, import_jsx_runtime20.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: [
4634
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
4635
- AppHeader,
4636
- {
4637
- title,
4638
- notifications,
4639
- onToggleSidebar: () => setSidebarOpen(!sidebarOpen),
4640
- onToggleMobileMenu: () => setMobileMenuOpen(true),
4641
- sidebarOpen,
4642
- activeTab,
4643
- onTabChange,
4644
- showTabs,
4645
- onActionClick,
4646
- actionIcon,
4647
- actionText,
4648
- onNotificationRemove,
4649
- onRemoveAll,
4650
- logo,
4651
- appName,
4652
- tagline
4653
- }
4654
- ),
4655
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("main", { className: "flex-1 p-0 flex flex-col h-[calc(100vh-4rem)] overflow-hidden", children })
4656
- ] })
4821
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
4822
+ "div",
4823
+ {
4824
+ className: cn(
4825
+ "min-h-screen fixed w-full transition-all duration-300 ease-in-out",
4826
+ sidebarOpen ? "md:pl-64" : "md:pl-0"
4827
+ ),
4828
+ children: [
4829
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
4830
+ AppHeader,
4831
+ {
4832
+ title,
4833
+ notifications,
4834
+ onToggleSidebar: () => setSidebarOpen(!sidebarOpen),
4835
+ onToggleMobileMenu: () => setMobileMenuOpen(true),
4836
+ sidebarOpen,
4837
+ activeTab,
4838
+ onTabChange,
4839
+ showTabs,
4840
+ onActionClick,
4841
+ actionIcon,
4842
+ actionText,
4843
+ onNotificationRemove,
4844
+ onRemoveAll,
4845
+ logo,
4846
+ appName,
4847
+ tagline
4848
+ }
4849
+ ),
4850
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("main", { className: "flex-1 p-0 flex flex-col h-[calc(100vh-4rem)] overflow-y-scroll", children })
4851
+ ]
4852
+ }
4853
+ )
4657
4854
  ] });
4658
4855
  }
4659
4856
 
@@ -6401,7 +6598,7 @@ function CopilotInterface({
6401
6598
  }
6402
6599
  };
6403
6600
  return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
6404
- DigitalColleageusLayout,
6601
+ FoundryLayout,
6405
6602
  {
6406
6603
  sidebarItems: sidebarItems || [],
6407
6604
  title,