cortex-react-components 3.2.2 → 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 (543) hide show
  1. package/dist/{chunk-5GFRQ4NR.mjs → chunk-2BKXIIFJ.mjs} +183 -36
  2. package/dist/{chunk-LQPN7L4Z.mjs → chunk-3DWDGYDG.mjs} +1 -1
  3. package/dist/{chunk-PTDP7PZK.mjs → chunk-3G7VLQG5.mjs} +1 -1
  4. package/dist/{chunk-56NFUKPK.mjs → chunk-3K6EVFOW.mjs} +1 -1
  5. package/dist/{chunk-PFA2P52R.mjs → chunk-3RYHYKVQ.mjs} +1 -1
  6. package/dist/{chunk-XDV7AVPQ.mjs → chunk-4JSM5VYZ.mjs} +2 -2
  7. package/dist/{chunk-VMYEV3FG.mjs → chunk-4YRR74Y4.mjs} +1 -1
  8. package/dist/{chunk-I4MTJN23.mjs → chunk-6A7T3O6T.mjs} +6 -5
  9. package/dist/{chunk-G46GZ57S.mjs → chunk-6LF4K7ER.mjs} +5 -5
  10. package/dist/{chunk-2363JAWB.mjs → chunk-6S7EQDLL.mjs} +1 -1
  11. package/dist/{chunk-ZBCZGWDU.mjs → chunk-7HHLKQE4.mjs} +1 -1
  12. package/dist/{chunk-YUBPY7L4.mjs → chunk-7LM2P6N3.mjs} +1 -1
  13. package/dist/{chunk-VMDVXNP5.mjs → chunk-AKMJBGUU.mjs} +16 -16
  14. package/dist/{chunk-V4I6U2SE.mjs → chunk-AVNBD2X5.mjs} +1 -1
  15. package/dist/{chunk-2L6AWG6R.mjs → chunk-AZ5MV7NO.mjs} +2 -2
  16. package/dist/{chunk-YOKF4FEM.mjs → chunk-BMZG77IE.mjs} +1 -1
  17. package/dist/chunk-BXEALHGJ.mjs +142 -0
  18. package/dist/{chunk-V6YEUAIH.mjs → chunk-CV7GOXGO.mjs} +2 -2
  19. package/dist/{chunk-YKX5AGFQ.mjs → chunk-D3AHBPI5.mjs} +1 -1
  20. package/dist/{chunk-2VF2D4DL.mjs → chunk-DGDELNS3.mjs} +1 -1
  21. package/dist/{chunk-RJZMTP7J.mjs → chunk-DHB2L7O2.mjs} +1 -1
  22. package/dist/{chunk-ZED4UNH7.mjs → chunk-DPTILX6A.mjs} +2 -2
  23. package/dist/{chunk-RQGM66Q4.mjs → chunk-DRLNETNN.mjs} +1 -1
  24. package/dist/{chunk-673GELPP.mjs → chunk-DVWMM7AI.mjs} +3 -3
  25. package/dist/{chunk-O633TXQG.mjs → chunk-EEVXIKNB.mjs} +1 -1
  26. package/dist/{chunk-EQYJUXKZ.mjs → chunk-EGCBZZGV.mjs} +1 -1
  27. package/dist/{chunk-HK2DQNBU.mjs → chunk-ETV6EEYB.mjs} +4 -4
  28. package/dist/{chunk-ORWAJNJO.mjs → chunk-F6SQTC6R.mjs} +3 -3
  29. package/dist/{chunk-25EF7VEC.mjs → chunk-F7JPOQIC.mjs} +1 -1
  30. package/dist/{chunk-JQNNFILH.mjs → chunk-FWRVXOCU.mjs} +1 -1
  31. package/dist/{chunk-4YSV633W.mjs → chunk-GAWBCR4S.mjs} +1 -1
  32. package/dist/{chunk-ZWV2O6CK.mjs → chunk-GR45UN4U.mjs} +3 -3
  33. package/dist/chunk-GXN5ZNBZ.mjs +135 -0
  34. package/dist/{chunk-CIFGBEFV.mjs → chunk-HNBHBFLY.mjs} +1 -1
  35. package/dist/{chunk-USEHRJFR.mjs → chunk-HNVHGBNE.mjs} +1 -1
  36. package/dist/{chunk-QPO45D6F.mjs → chunk-I2MVZVXE.mjs} +1 -1
  37. package/dist/chunk-IC4N2KYF.mjs +401 -0
  38. package/dist/{chunk-QOYK2HBL.mjs → chunk-IM5B557Z.mjs} +19 -19
  39. package/dist/{chunk-J5ZETWHG.mjs → chunk-IQ67MHAY.mjs} +2 -2
  40. package/dist/{chunk-UFBLZW2N.mjs → chunk-IWQEM5KO.mjs} +2 -2
  41. package/dist/{chunk-UJI3Y73K.mjs → chunk-J5GM5CJK.mjs} +3 -3
  42. package/dist/chunk-JCSRFM37.mjs +595 -0
  43. package/dist/{chunk-QMFGV3M5.mjs → chunk-JOGVCBYP.mjs} +1 -1
  44. package/dist/{chunk-K6N5K2A7.mjs → chunk-JWMQOARK.mjs} +4 -4
  45. package/dist/{chunk-DSVXGGGV.mjs → chunk-K5ZNBHQO.mjs} +1 -1
  46. package/dist/{chunk-UYUP2DAL.mjs → chunk-KHFPDDTO.mjs} +1 -1
  47. package/dist/{chunk-CVH5TDS6.mjs → chunk-KJVAS4I7.mjs} +27 -12
  48. package/dist/{chunk-4PC77ZEN.mjs → chunk-KMGTUNRZ.mjs} +1 -1
  49. package/dist/{chunk-LVLEZS7Q.mjs → chunk-KYY7BMXI.mjs} +1 -1
  50. package/dist/{chunk-GDMWNNYC.mjs → chunk-LRMDRQRJ.mjs} +2 -2
  51. package/dist/{chunk-CIXAM7LW.mjs → chunk-LRTEGIZ7.mjs} +12 -12
  52. package/dist/{chunk-XGHUG2WQ.mjs → chunk-MDG2I4PB.mjs} +1 -1
  53. package/dist/{chunk-S27KJUKF.mjs → chunk-N5HTSJLI.mjs} +1 -1
  54. package/dist/{chunk-MPFWWJYT.mjs → chunk-N5Q2DYUR.mjs} +2 -2
  55. package/dist/{chunk-3W5H36HK.mjs → chunk-NNH7EC5Z.mjs} +1 -1
  56. package/dist/{chunk-5Z7JRCOM.mjs → chunk-NSYYRG6A.mjs} +1 -1
  57. package/dist/{chunk-JD7SR5V3.mjs → chunk-NUAJQK4H.mjs} +64 -8
  58. package/dist/{chunk-SSF2CAW7.mjs → chunk-OR3XMMEK.mjs} +9 -9
  59. package/dist/{chunk-RC6YHGVV.mjs → chunk-PE7KJR4A.mjs} +1 -1
  60. package/dist/{chunk-V2BZ7RE7.mjs → chunk-PLFX66EX.mjs} +1 -1
  61. package/dist/{chunk-E6M7XAYT.mjs → chunk-Q45EN2QB.mjs} +1 -1
  62. package/dist/{chunk-22E2TZBE.mjs → chunk-QDO6BAAN.mjs} +13 -5
  63. package/dist/{chunk-P4P6J2SW.mjs → chunk-QJGBUBSB.mjs} +2 -2
  64. package/dist/{chunk-TIGSOXUA.mjs → chunk-QJQ66DYZ.mjs} +1 -1
  65. package/dist/{chunk-ZF2DELZ5.mjs → chunk-QXOHY4AT.mjs} +39 -3
  66. package/dist/{chunk-NF4JWFAZ.mjs → chunk-RFMER577.mjs} +1 -1
  67. package/dist/{chunk-PIGOOCU6.mjs → chunk-RNHGLZYP.mjs} +1 -1
  68. package/dist/{chunk-QUGB53Z3.mjs → chunk-RV4VRLGN.mjs} +1 -1
  69. package/dist/{chunk-KCPLIAIF.mjs → chunk-SJI6X5DK.mjs} +2 -2
  70. package/dist/{chunk-B63AROCU.mjs → chunk-SMX6BH2N.mjs} +1 -1
  71. package/dist/{chunk-L3SZS7PC.mjs → chunk-SNUES6JA.mjs} +1 -1
  72. package/dist/{chunk-6R3QP53O.mjs → chunk-TZH6L2OH.mjs} +2 -2
  73. package/dist/{chunk-EJJNYV7C.mjs → chunk-U6ZFUE5O.mjs} +2 -2
  74. package/dist/{chunk-OPJMXB4K.mjs → chunk-UCK4TW63.mjs} +4 -4
  75. package/dist/{chunk-HI6QOZHR.mjs → chunk-V6VAVPKH.mjs} +1 -1
  76. package/dist/{chunk-PRMR24PY.mjs → chunk-WAR2OXXK.mjs} +4 -4
  77. package/dist/{chunk-4PFDNMLD.mjs → chunk-WEIPDZOJ.mjs} +1 -1
  78. package/dist/{chunk-TLCSKAWQ.mjs → chunk-WZBXR7J3.mjs} +5 -5
  79. package/dist/{chunk-FECAR2TE.mjs → chunk-X4GP2O3Y.mjs} +2 -2
  80. package/dist/{chunk-UNEYYMLL.mjs → chunk-XCZCWSOY.mjs} +2 -2
  81. package/dist/{chunk-QE3XE3LW.mjs → chunk-Y4KJTMKO.mjs} +1 -1
  82. package/dist/{chunk-AOSO2JVA.mjs → chunk-YUZYLKBD.mjs} +1 -1
  83. package/dist/{chunk-YFOEG4PP.mjs → chunk-Z6MYLHDW.mjs} +1 -1
  84. package/dist/{chunk-TP5AUT7W.mjs → chunk-ZJB7AFL5.mjs} +2 -2
  85. package/dist/components/AdvancedComponents/AppSidebar.d.ts +1 -1
  86. package/dist/components/AdvancedComponents/AppSidebar.js +480 -301
  87. package/dist/components/AdvancedComponents/AppSidebar.mjs +3 -3
  88. package/dist/components/AdvancedComponents/index.js +480 -301
  89. package/dist/components/AdvancedComponents/index.mjs +3 -3
  90. package/dist/components/AdvancedComponents/user-selection.d.ts +1 -1
  91. package/dist/components/AdvancedComponents/user-selection.js +1 -1
  92. package/dist/components/AdvancedComponents/user-selection.mjs +1 -1
  93. package/dist/components/Blocks/Banner.mjs +3 -3
  94. package/dist/components/Blocks/CallToAction.mjs +3 -3
  95. package/dist/components/Blocks/CollapsibleArea.mjs +4 -4
  96. package/dist/components/Blocks/Content.mjs +4 -4
  97. package/dist/components/Blocks/FeaturesBlock.mjs +3 -3
  98. package/dist/components/Blocks/RelatedPosts.mjs +4 -4
  99. package/dist/components/Blocks/RenderBlocks.mjs +6 -6
  100. package/dist/components/Blocks/ReusableContentBlock.mjs +6 -6
  101. package/dist/components/Blocks/index.mjs +7 -7
  102. package/dist/components/Cards/ContentCard.mjs +3 -3
  103. package/dist/components/Cards/FeatureCard.mjs +3 -3
  104. package/dist/components/Cards/index.mjs +3 -3
  105. package/dist/components/Chat/CopilotInterface.d.ts +1 -1
  106. package/dist/components/Chat/CopilotInterface.js +527 -330
  107. package/dist/components/Chat/CopilotInterface.mjs +5 -5
  108. package/dist/components/Chat/chat-session-sidebar.d.ts +1 -1
  109. package/dist/components/Chat/demo-long-messages.js +527 -330
  110. package/dist/components/Chat/demo-long-messages.mjs +5 -5
  111. package/dist/components/Chat/demo-tests.js +527 -330
  112. package/dist/components/Chat/demo-tests.mjs +5 -5
  113. package/dist/components/Chat/demo.js +527 -330
  114. package/dist/components/Chat/demo.mjs +5 -5
  115. package/dist/components/Chat/example-usage.js +527 -330
  116. package/dist/components/Chat/example-usage.mjs +6 -6
  117. package/dist/components/Chat/example-with-vercel-ai.js +527 -330
  118. package/dist/components/Chat/example-with-vercel-ai.mjs +5 -5
  119. package/dist/components/Chat/index.js +527 -330
  120. package/dist/components/Chat/index.mjs +8 -8
  121. package/dist/components/DeliveryLead/DeliveryLeadSubmissionWithList.mjs +2 -2
  122. package/dist/components/DeliveryLead/index.mjs +4 -4
  123. package/dist/components/DigitalColleagues/Views/TeamsIndexView.d.ts +1 -9
  124. package/dist/components/DigitalColleagues/Views/TeamsIndexView.js +22 -27
  125. package/dist/components/DigitalColleagues/Views/TeamsIndexView.mjs +4 -6
  126. package/dist/components/DigitalColleagues/index.d.ts +0 -18
  127. package/dist/components/DigitalColleagues/index.js +0 -16754
  128. package/dist/components/DigitalColleagues/test-data.d.ts +1 -112
  129. package/dist/components/DigitalColleagues/test-data.js +482 -308
  130. package/dist/components/DigitalColleagues/test-data.mjs +1 -5
  131. package/dist/components/{Foundary → Foundry}/AppSidebarLeft.js +3 -3
  132. package/dist/components/{DigitalColleagues → Foundry}/AppSidebarLeft.mjs +3 -3
  133. package/dist/components/{Foundary → Foundry}/DashboardHeader.js +2 -2
  134. package/dist/components/{Foundary → Foundry}/DashboardHeader.mjs +1 -1
  135. package/dist/components/{Foundary → Foundry}/Knowledge/add-knowledge-modal.js +2 -2
  136. package/dist/components/{Foundary → Foundry}/Knowledge/add-knowledge-modal.mjs +4 -4
  137. package/dist/components/{Foundary → Foundry}/Knowledge/add-team-context.js +3 -3
  138. package/dist/components/{Foundary → Foundry}/Knowledge/add-team-context.mjs +4 -4
  139. package/dist/components/{Foundary → Foundry}/Knowledge/manage-team-context.js +2 -2
  140. package/dist/components/{Foundary → Foundry}/Knowledge/manage-team-context.mjs +1 -1
  141. package/dist/components/{Foundary → Foundry}/LandingMenu.js +2 -2
  142. package/dist/components/{Foundary → Foundry}/LandingMenu.mjs +1 -1
  143. package/dist/components/{Foundary → Foundry}/Login.js +2 -2
  144. package/dist/components/{Foundary → Foundry}/Login.mjs +1 -1
  145. package/dist/components/{Foundary → Foundry}/MainPage.js +4 -4
  146. package/dist/components/{DigitalColleagues → Foundry}/MainPage.mjs +9 -9
  147. package/dist/components/{DigitalColleagues → Foundry}/ManagementSidebar.d.ts +2 -2
  148. package/dist/components/{Foundary → Foundry}/ManagementSidebar.js +12 -4
  149. package/dist/components/{DigitalColleagues → Foundry}/ManagementSidebar.mjs +1 -1
  150. package/dist/components/{Foundary → Foundry}/Pages/dashboardpage.js +1860 -2162
  151. package/dist/components/{Foundary → Foundry}/Pages/dashboardpage.mjs +42 -41
  152. package/dist/components/{Foundary → Foundry}/README-document-edit.js +1 -1
  153. package/dist/components/{Foundary → Foundry}/README-document-edit.mjs +1 -1
  154. package/dist/components/{Foundary → Foundry}/README-document-preview.js +1 -1
  155. package/dist/components/{Foundary → Foundry}/README-document-preview.mjs +1 -1
  156. package/dist/components/{Foundary → Foundry}/RichText/Icons/Bold.js +1 -1
  157. package/dist/components/{Foundary → Foundry}/RichText/Icons/Bold.mjs +1 -1
  158. package/dist/components/{Foundary → Foundry}/RichText/Icons/Headings.js +1 -1
  159. package/dist/components/{Foundary → Foundry}/RichText/Icons/Headings.mjs +1 -1
  160. package/dist/components/{Foundary → Foundry}/RichText/Icons/Italic.js +1 -1
  161. package/dist/components/{Foundary → Foundry}/RichText/Icons/Italic.mjs +1 -1
  162. package/dist/components/{Foundary → Foundry}/RichText/Icons/StrikeThrough.js +1 -1
  163. package/dist/components/{Foundary → Foundry}/RichText/Icons/StrikeThrough.mjs +1 -1
  164. package/dist/components/{Foundary → Foundry}/RichText/Icons/Subscript.js +1 -1
  165. package/dist/components/{Foundary → Foundry}/RichText/Icons/Subscript.mjs +1 -1
  166. package/dist/components/{Foundary → Foundry}/RichText/Icons/Superscript.js +1 -1
  167. package/dist/components/{Foundary → Foundry}/RichText/Icons/Superscript.mjs +1 -1
  168. package/dist/components/{Foundary → Foundry}/RichText/Icons/Underline.js +1 -1
  169. package/dist/components/{Foundary → Foundry}/RichText/Icons/Underline.mjs +1 -1
  170. package/dist/components/{Foundary → Foundry}/RichText/components/RawUploadComponent/index.js +2 -2
  171. package/dist/components/{Foundary → Foundry}/RichText/components/RawUploadComponent/index.mjs +1 -1
  172. package/dist/components/{Foundary → Foundry}/RichText/index.js +18 -18
  173. package/dist/components/{Foundary → Foundry}/RichText/index.mjs +12 -12
  174. package/dist/components/{Foundary → Foundry}/RichText/nodes/image-node.js +4 -4
  175. package/dist/components/{Foundary → Foundry}/RichText/nodes/image-node.mjs +2 -2
  176. package/dist/components/{Foundary → Foundry}/RichText/plugins/image-plugin.js +7 -7
  177. package/dist/components/{Foundary → Foundry}/RichText/plugins/image-plugin.mjs +3 -3
  178. package/dist/components/{Foundary → Foundry}/RichText/plugins/toolbar-plugin.js +16 -16
  179. package/dist/components/{Foundary → Foundry}/RichText/plugins/toolbar-plugin.mjs +11 -11
  180. package/dist/components/{Foundary → Foundry}/SearchableSelect.js +2 -2
  181. package/dist/components/{DigitalColleagues → Foundry}/SearchableSelect.mjs +1 -1
  182. package/dist/components/{Foundary → Foundry}/Views/ColleaguesView.d.ts +4 -2
  183. package/dist/components/{Foundary → Foundry}/Views/ColleaguesView.js +526 -211
  184. package/dist/components/{Foundary → Foundry}/Views/ColleaguesView.mjs +12 -10
  185. package/dist/components/Foundry/Views/KnowledgeView.docs.js +2 -0
  186. package/dist/components/Foundry/Views/KnowledgeView.docs.mjs +7 -0
  187. package/dist/components/{Foundary → Foundry}/Views/KnowledgeView.js +29 -29
  188. package/dist/components/{Foundary → Foundry}/Views/KnowledgeView.mjs +21 -21
  189. package/dist/components/{Foundary → Foundry}/Views/TeamsIndexView.js +9 -8
  190. package/dist/components/{Foundary → Foundry}/Views/TeamsIndexView.mjs +4 -4
  191. package/dist/components/{Foundary → Foundry}/Views/index.js +2929 -2050
  192. package/dist/components/{Foundary → Foundry}/Views/index.mjs +64 -61
  193. package/dist/components/Foundry/add-colleague-to-team-form.d.ts +10 -0
  194. package/dist/components/{DigitalColleagues/colleague-type-selection.js → Foundry/add-colleague-to-team-form.js} +156 -91
  195. package/dist/components/{DigitalColleagues/colleague-card.mjs → Foundry/add-colleague-to-team-form.mjs} +3 -4
  196. package/dist/components/{.archive → Foundry}/app-card.d.ts +1 -1
  197. package/dist/components/Foundry/app-card.js +2669 -0
  198. package/dist/components/{DigitalColleagues/digital-colleague-options.mjs → Foundry/app-card.mjs} +5 -3
  199. package/dist/components/{Foundary → Foundry}/colleague-card.js +2 -2
  200. package/dist/components/{Foundary → Foundry}/colleague-card.mjs +1 -1
  201. package/dist/components/{Foundary → Foundry}/colleague-form.js +4 -4
  202. package/dist/components/{Foundary → Foundry}/colleague-form.mjs +2 -2
  203. package/dist/components/{Foundary → Foundry}/colleague-type-selection.js +2 -2
  204. package/dist/components/{DigitalColleagues → Foundry}/colleague-type-selection.mjs +1 -1
  205. package/dist/components/Foundry/digital-colleague-selection.d.ts +9 -0
  206. package/dist/components/{DigitalColleagues/digital-colleague-clone.js → Foundry/digital-colleague-selection.js} +59 -100
  207. package/dist/components/{DigitalColleagues/digital-colleague-clone.mjs → Foundry/digital-colleague-selection.mjs} +3 -3
  208. package/dist/components/{Foundary → Foundry}/document-edit.js +20 -20
  209. package/dist/components/{Foundary → Foundry}/document-edit.mjs +13 -13
  210. package/dist/components/{Foundary → Foundry}/document-preview-examples.js +24 -24
  211. package/dist/components/{Foundary → Foundry}/document-preview-examples.mjs +15 -15
  212. package/dist/components/{Foundary → Foundry}/document-preview.js +22 -22
  213. package/dist/components/{Foundary → Foundry}/document-preview.mjs +14 -14
  214. package/dist/components/{Foundary → Foundry}/file-edit.js +20 -20
  215. package/dist/components/{Foundary → Foundry}/file-edit.mjs +16 -16
  216. package/dist/components/{Foundary → Foundry}/foundary-clone.js +3 -3
  217. package/dist/components/{Foundary → Foundry}/foundary-clone.mjs +1 -1
  218. package/dist/components/{Foundary → Foundry}/foundary-layout.d.ts +3 -3
  219. package/dist/components/{Foundary → Foundry}/foundary-layout.js +485 -306
  220. package/dist/components/{Foundary → Foundry}/foundary-layout.mjs +6 -6
  221. package/dist/components/{Foundary → Foundry}/foundary-options.d.ts +2 -1
  222. package/dist/components/{Foundary → Foundry}/foundary-options.js +39 -3
  223. package/dist/components/{Foundary → Foundry}/foundary-options.mjs +1 -1
  224. package/dist/components/{Foundary → Foundry}/index.d.ts +3 -1
  225. package/dist/components/{Foundary → Foundry}/index.js +3465 -3267
  226. package/dist/components/{Foundary → Foundry}/index.mjs +102 -95
  227. package/dist/components/{Foundary → Foundry}/knowledge-browser.js +24 -24
  228. package/dist/components/{Foundary → Foundry}/knowledge-browser.mjs +15 -15
  229. package/dist/components/{Foundary → Foundry}/knowledge-search.js +2 -2
  230. package/dist/components/{DigitalColleagues → Foundry}/knowledge-search.mjs +1 -1
  231. package/dist/components/{Foundary → Foundry}/team-form.js +2 -2
  232. package/dist/components/{Foundary → Foundry}/team-form.mjs +1 -1
  233. package/dist/components/{Foundary → Foundry}/test-data.js +1 -1
  234. package/dist/components/{Foundary → Foundry}/test-data.mjs +1 -1
  235. package/dist/components/{Foundary → Foundry}/types.d.ts +26 -0
  236. package/dist/components/{Foundary → Foundry}/types.js +1 -1
  237. package/dist/components/HeaderFooter/Header.mjs +1 -1
  238. package/dist/components/HeaderFooter/SectionHeading.mjs +4 -4
  239. package/dist/components/HeaderFooter/index.mjs +11 -11
  240. package/dist/components/Heros/DashboardHero/DashboardHero.js +5 -4
  241. package/dist/components/Heros/DashboardHero/DashboardHero.mjs +2 -2
  242. package/dist/components/Heros/DashboardHero/index.js +5 -4
  243. package/dist/components/Heros/DashboardHero/index.mjs +2 -2
  244. package/dist/components/Heros/HighImpact/index.mjs +4 -4
  245. package/dist/components/Heros/LowImpact/index.mjs +4 -4
  246. package/dist/components/Heros/MediumImpact/index.mjs +4 -4
  247. package/dist/components/Heros/PostHero/index.mjs +3 -3
  248. package/dist/components/Heros/RenderHero.mjs +7 -7
  249. package/dist/components/Heros/index.js +5 -4
  250. package/dist/components/Heros/index.mjs +14 -14
  251. package/dist/components/Layouts/OutputHeaderFooter.mjs +4 -4
  252. package/dist/components/Layouts/Print.mjs +8 -8
  253. package/dist/components/Layouts/SlideShow.mjs +9 -9
  254. package/dist/components/Layouts/index.mjs +13 -13
  255. package/dist/components/Menus/SidebarLeft.mjs +3 -3
  256. package/dist/components/Menus/SidebarLeftMulti.mjs +3 -3
  257. package/dist/components/Menus/SidebarRight.mjs +3 -3
  258. package/dist/components/Menus/index.mjs +5 -5
  259. package/dist/components/Payload/RichText/index.mjs +3 -3
  260. package/dist/components/Payload/RichText/serialize.mjs +3 -3
  261. package/dist/components/Payload/index.mjs +3 -3
  262. package/dist/components/Projects/AddEpicModal.d.ts +1 -1
  263. package/dist/components/Projects/AddSprintModal.d.ts +1 -1
  264. package/dist/components/Projects/AddTaskModal.d.ts +1 -1
  265. package/dist/components/Projects/EpicFilter.d.ts +6 -2
  266. package/dist/components/Projects/EpicFilter.js +6 -6
  267. package/dist/components/Projects/EpicFilter.mjs +6 -6
  268. package/dist/components/Projects/EpicsView.d.ts +12 -2
  269. package/dist/components/Projects/EpicsView.js +3980 -736
  270. package/dist/components/Projects/EpicsView.mjs +46 -4
  271. package/dist/components/Projects/FileView.d.ts +1 -1
  272. package/dist/components/Projects/FileView.js +24 -23
  273. package/dist/components/Projects/FileView.mjs +20 -20
  274. package/dist/components/Projects/GanttView.d.ts +13 -0
  275. package/dist/components/{DigitalColleagues/colleague-card.js → Projects/GanttView.js} +559 -260
  276. package/dist/components/Projects/GanttView.mjs +20 -0
  277. package/dist/components/Projects/KanbanBoardView.d.ts +1 -1
  278. package/dist/components/Projects/KanbanBoardView.js +25 -24
  279. package/dist/components/Projects/KanbanBoardView.mjs +26 -26
  280. package/dist/components/Projects/KanbanColumn.d.ts +1 -1
  281. package/dist/components/Projects/PlanningView.d.ts +1 -1
  282. package/dist/components/Projects/PlanningView.js +5 -4
  283. package/dist/components/Projects/PlanningView.mjs +3 -3
  284. package/dist/components/Projects/ProjectPage.d.ts +3 -3
  285. package/dist/components/Projects/ProjectPage.js +1744 -983
  286. package/dist/components/Projects/ProjectPage.mjs +39 -38
  287. package/dist/components/Projects/ProjectView.d.ts +2 -2
  288. package/dist/components/Projects/ProjectView.js +1227 -662
  289. package/dist/components/Projects/ProjectView.mjs +34 -33
  290. package/dist/components/Projects/ProjectsIndexView.d.ts +1 -1
  291. package/dist/components/Projects/ProjectsIndexView.js +5 -4
  292. package/dist/components/Projects/ProjectsIndexView.mjs +4 -4
  293. package/dist/components/Projects/SprintBoardView.d.ts +4 -1
  294. package/dist/components/Projects/SprintBoardView.js +271 -129
  295. package/dist/components/Projects/SprintBoardView.mjs +26 -26
  296. package/dist/components/Projects/TaskCard.d.ts +1 -1
  297. package/dist/components/Projects/TaskDetailsModal.d.ts +1 -1
  298. package/dist/components/Projects/TaskDetailsModal.js +20 -20
  299. package/dist/components/Projects/TaskDetailsModal.mjs +20 -20
  300. package/dist/components/Projects/TaskSidebar.d.ts +1 -1
  301. package/dist/components/Projects/TaskSidebar.js +2 -2
  302. package/dist/components/Projects/TaskSidebar.mjs +2 -2
  303. package/dist/components/Projects/TasksView.d.ts +1 -1
  304. package/dist/components/Projects/TasksView.js +5 -4
  305. package/dist/components/Projects/TasksView.mjs +3 -3
  306. package/dist/components/Projects/business-unit-switcher.d.ts +1 -1
  307. package/dist/components/Projects/business-units.d.ts +1 -1
  308. package/dist/components/Projects/file-list.d.ts +1 -1
  309. package/dist/components/Projects/file-list.js +19 -19
  310. package/dist/components/Projects/file-list.mjs +17 -17
  311. package/dist/components/Projects/index.js +557 -250
  312. package/dist/components/Projects/index.mjs +35 -35
  313. package/dist/components/Projects/project-card.d.ts +1 -1
  314. package/dist/components/Projects/project-form.d.ts +1 -1
  315. package/dist/components/Projects/team-card.d.ts +1 -1
  316. package/dist/components/Projects/team-switcher-bar.d.ts +1 -1
  317. package/dist/components/Projects/test-data.d.ts +448 -29
  318. package/dist/components/dc-temp/dashboard-integration-example.js +497 -325
  319. package/dist/components/dc-temp/dashboard-integration-example.mjs +6 -6
  320. package/dist/components/dc-temp/index.d.ts +3 -3
  321. package/dist/components/dc-temp/index.js +3773 -3007
  322. package/dist/components/dc-temp/index.mjs +35 -33
  323. package/dist/components/dc-temp/mock-data.d.ts +2 -2
  324. package/dist/components/index.d.ts +1 -1
  325. package/dist/components/index.js +3337 -3100
  326. package/dist/components/index.mjs +163 -157
  327. package/dist/components/ui/index.mjs +9 -9
  328. package/dist/components/ui/sidebar.mjs +2 -2
  329. package/dist/decorators/Intranet.css +54 -14
  330. package/dist/decorators/Intranet.mjs +99 -99
  331. package/dist/globals.css +54 -14
  332. package/dist/hooks/use-local-storage.d.ts +2 -1
  333. package/dist/hooks/use-local-storage.js +5 -4
  334. package/dist/hooks/use-local-storage.mjs +1 -1
  335. package/dist/index.js +3345 -3108
  336. package/dist/index.mjs +174 -168
  337. package/dist/metafile-cjs.json +1 -1
  338. package/dist/metafile-esm.json +1 -1
  339. package/dist/pages/Blog.mjs +12 -12
  340. package/dist/pages/Documentation.mjs +9 -9
  341. package/dist/pages/IndexPage.mjs +17 -17
  342. package/dist/pages/Intranet.mjs +3 -3
  343. package/dist/pages/LandingPage.mjs +111 -111
  344. package/dist/pages/Page.mjs +16 -16
  345. package/dist/pages/Publish.mjs +100 -100
  346. package/dist/pages/Website.mjs +19 -19
  347. package/dist/sections/AboutSection.mjs +5 -5
  348. package/dist/sections/BlogDetail.mjs +4 -4
  349. package/dist/sections/BlogList.mjs +5 -5
  350. package/dist/sections/BlogListSection.mjs +5 -5
  351. package/dist/sections/ContactSection.mjs +5 -5
  352. package/dist/sections/PageSections.mjs +109 -109
  353. package/dist/sections/PricingSection.mjs +5 -5
  354. package/dist/sections/ServiceDetail.mjs +4 -4
  355. package/dist/sections/ServiceDetailSection.mjs +4 -4
  356. package/dist/sections/ServiceSection.mjs +100 -100
  357. package/dist/sections/form/index.mjs +2 -2
  358. package/dist/sections/index.mjs +109 -109
  359. package/package.json +5 -2
  360. package/dist/chunk-5MMSWFVA.mjs +0 -364
  361. package/dist/chunk-7TDXZ32Q.mjs +0 -197
  362. package/dist/chunk-APXXTGT4.mjs +0 -424
  363. package/dist/chunk-BZENEU5C.mjs +0 -160
  364. package/dist/chunk-CNQTT5P3.mjs +0 -276
  365. package/dist/chunk-CQKCEXF2.mjs +0 -82
  366. package/dist/chunk-EKQB7NJA.mjs +0 -194
  367. package/dist/chunk-G4WW3ZTX.mjs +0 -1063
  368. package/dist/chunk-G7SFQSC7.mjs +0 -306
  369. package/dist/chunk-IWG2URAU.mjs +0 -74
  370. package/dist/chunk-IWSATDRG.mjs +0 -118
  371. package/dist/chunk-JRNDRMIC.mjs +0 -73
  372. package/dist/chunk-K2C4VMGF.mjs +0 -121
  373. package/dist/chunk-M6ELOAGS.mjs +0 -136
  374. package/dist/chunk-NAUBZM7P.mjs +0 -183
  375. package/dist/chunk-NHDPHK6D.mjs +0 -72
  376. package/dist/chunk-R5MJWISX.mjs +0 -194
  377. package/dist/chunk-RKYMAFRJ.mjs +0 -92
  378. package/dist/chunk-SZBUXY6L.mjs +0 -121
  379. package/dist/chunk-UHOCECJY.mjs +0 -365
  380. package/dist/chunk-VY6L37RQ.mjs +0 -103
  381. package/dist/chunk-X6UI73UN.mjs +0 -262
  382. package/dist/components/DigitalColleagues/AppSidebarLeft.js +0 -3407
  383. package/dist/components/DigitalColleagues/DashboardHeader.js +0 -2756
  384. package/dist/components/DigitalColleagues/DashboardHeader.mjs +0 -15
  385. package/dist/components/DigitalColleagues/DigitalColleageusLayout.d.ts +0 -28
  386. package/dist/components/DigitalColleagues/DigitalColleageusLayout.js +0 -4417
  387. package/dist/components/DigitalColleagues/DigitalColleageusLayout.mjs +0 -31
  388. package/dist/components/DigitalColleagues/MainPage.js +0 -4080
  389. package/dist/components/DigitalColleagues/ManagementSidebar.js +0 -99
  390. package/dist/components/DigitalColleagues/Pages/dashboardpage.d.ts +0 -18
  391. package/dist/components/DigitalColleagues/Pages/dashboardpage.js +0 -8514
  392. package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +0 -78
  393. package/dist/components/DigitalColleagues/README-document-edit.js +0 -2
  394. package/dist/components/DigitalColleagues/README-document-edit.mjs +0 -7
  395. package/dist/components/DigitalColleagues/README-document-preview.js +0 -2
  396. package/dist/components/DigitalColleagues/README-document-preview.mjs +0 -7
  397. package/dist/components/DigitalColleagues/SearchableSelect.js +0 -2745
  398. package/dist/components/DigitalColleagues/Views/ColleaguesView.d.ts +0 -14
  399. package/dist/components/DigitalColleagues/Views/ColleaguesView.js +0 -3795
  400. package/dist/components/DigitalColleagues/Views/ColleaguesView.mjs +0 -28
  401. package/dist/components/DigitalColleagues/Views/KnowledgeView.d.ts +0 -11
  402. package/dist/components/DigitalColleagues/Views/KnowledgeView.docs.js +0 -2
  403. package/dist/components/DigitalColleagues/Views/KnowledgeView.docs.mjs +0 -7
  404. package/dist/components/DigitalColleagues/Views/KnowledgeView.js +0 -3935
  405. package/dist/components/DigitalColleagues/Views/KnowledgeView.mjs +0 -26
  406. package/dist/components/DigitalColleagues/Views/index.js +0 -12284
  407. package/dist/components/DigitalColleagues/Views/index.mjs +0 -114
  408. package/dist/components/DigitalColleagues/colleague-form.d.ts +0 -14
  409. package/dist/components/DigitalColleagues/colleague-form.js +0 -3086
  410. package/dist/components/DigitalColleagues/colleague-form.mjs +0 -22
  411. package/dist/components/DigitalColleagues/digital-colleague-clone.d.ts +0 -9
  412. package/dist/components/DigitalColleagues/digital-colleague-options.d.ts +0 -7
  413. package/dist/components/DigitalColleagues/digital-colleague-options.js +0 -2697
  414. package/dist/components/DigitalColleagues/document-edit.d.ts +0 -10
  415. package/dist/components/DigitalColleagues/document-edit.js +0 -3112
  416. package/dist/components/DigitalColleagues/document-edit.mjs +0 -20
  417. package/dist/components/DigitalColleagues/document-preview-examples.js +0 -3433
  418. package/dist/components/DigitalColleagues/document-preview-examples.mjs +0 -151
  419. package/dist/components/DigitalColleagues/document-preview.d.ts +0 -18
  420. package/dist/components/DigitalColleagues/document-preview.js +0 -3296
  421. package/dist/components/DigitalColleagues/document-preview.mjs +0 -21
  422. package/dist/components/DigitalColleagues/index.mjs +0 -200
  423. package/dist/components/DigitalColleagues/knowledge-browser.d.ts +0 -13
  424. package/dist/components/DigitalColleagues/knowledge-browser.js +0 -3581
  425. package/dist/components/DigitalColleagues/knowledge-browser.mjs +0 -23
  426. package/dist/components/DigitalColleagues/knowledge-search.d.ts +0 -12
  427. package/dist/components/DigitalColleagues/knowledge-search.js +0 -2819
  428. package/dist/components/DigitalColleagues/team-form.d.ts +0 -24
  429. package/dist/components/DigitalColleagues/team-form.js +0 -2836
  430. package/dist/components/DigitalColleagues/team-form.mjs +0 -20
  431. package/dist/components/DigitalColleagues/types.d.ts +0 -289
  432. package/dist/components/DigitalColleagues/types.js +0 -18
  433. package/dist/components/Foundary/AppSidebarLeft.css +0 -917
  434. package/dist/components/Foundary/AppSidebarLeft.d.ts +0 -47
  435. package/dist/components/Foundary/AppSidebarLeft.mjs +0 -23
  436. package/dist/components/Foundary/DashboardHeader.css +0 -917
  437. package/dist/components/Foundary/DashboardHeader.d.ts +0 -8
  438. package/dist/components/Foundary/MainPage.css +0 -917
  439. package/dist/components/Foundary/MainPage.d.ts +0 -3
  440. package/dist/components/Foundary/MainPage.mjs +0 -46
  441. package/dist/components/Foundary/ManagementSidebar.d.ts +0 -8
  442. package/dist/components/Foundary/ManagementSidebar.mjs +0 -9
  443. package/dist/components/Foundary/Pages/dashboardpage.css +0 -917
  444. package/dist/components/Foundary/SearchableSelect.css +0 -917
  445. package/dist/components/Foundary/SearchableSelect.d.ts +0 -16
  446. package/dist/components/Foundary/SearchableSelect.mjs +0 -16
  447. package/dist/components/Foundary/Views/ColleaguesView.css +0 -917
  448. package/dist/components/Foundary/Views/KnowledgeView.css +0 -917
  449. package/dist/components/Foundary/Views/KnowledgeView.docs.js +0 -2
  450. package/dist/components/Foundary/Views/KnowledgeView.docs.mjs +0 -7
  451. package/dist/components/Foundary/Views/index.css +0 -917
  452. package/dist/components/Foundary/Views/index.d.ts +0 -7
  453. package/dist/components/Foundary/colleague-card.d.ts +0 -12
  454. package/dist/components/Foundary/colleague-form.css +0 -917
  455. package/dist/components/Foundary/colleague-type-selection.css +0 -917
  456. package/dist/components/Foundary/colleague-type-selection.d.ts +0 -7
  457. package/dist/components/Foundary/colleague-type-selection.mjs +0 -16
  458. package/dist/components/Foundary/document-edit.css +0 -917
  459. package/dist/components/Foundary/document-preview-examples.css +0 -917
  460. package/dist/components/Foundary/document-preview-examples.d.ts +0 -12
  461. package/dist/components/Foundary/document-preview.css +0 -917
  462. package/dist/components/Foundary/index.css +0 -917
  463. package/dist/components/Foundary/knowledge-browser.css +0 -917
  464. package/dist/components/Foundary/knowledge-search.css +0 -917
  465. package/dist/components/Foundary/knowledge-search.mjs +0 -20
  466. package/dist/components/Foundary/team-form.css +0 -917
  467. package/dist/{chunk-AEFGMCK3.mjs → chunk-D5KV6INF.mjs} +3 -3
  468. package/dist/{chunk-SNG6OKEL.mjs → chunk-FTVOJKVA.mjs} +3 -3
  469. package/dist/{chunk-OT2SSFKS.mjs → chunk-GSG52WU5.mjs} +3 -3
  470. /package/dist/components/{DigitalColleagues → Foundry}/AppSidebarLeft.css +0 -0
  471. /package/dist/components/{DigitalColleagues → Foundry}/AppSidebarLeft.d.ts +0 -0
  472. /package/dist/components/{DigitalColleagues → Foundry}/DashboardHeader.css +0 -0
  473. /package/dist/components/{DigitalColleagues → Foundry}/DashboardHeader.d.ts +0 -0
  474. /package/dist/components/{Foundary → Foundry}/Knowledge/add-knowledge-modal.css +0 -0
  475. /package/dist/components/{Foundary → Foundry}/Knowledge/add-knowledge-modal.d.ts +0 -0
  476. /package/dist/components/{Foundary → Foundry}/Knowledge/add-team-context.css +0 -0
  477. /package/dist/components/{Foundary → Foundry}/Knowledge/add-team-context.d.ts +0 -0
  478. /package/dist/components/{Foundary → Foundry}/Knowledge/manage-team-context.css +0 -0
  479. /package/dist/components/{Foundary → Foundry}/Knowledge/manage-team-context.d.ts +0 -0
  480. /package/dist/components/{Foundary → Foundry}/LandingMenu.css +0 -0
  481. /package/dist/components/{Foundary → Foundry}/LandingMenu.d.ts +0 -0
  482. /package/dist/components/{Foundary → Foundry}/Login.css +0 -0
  483. /package/dist/components/{Foundary → Foundry}/Login.d.ts +0 -0
  484. /package/dist/components/{DigitalColleagues → Foundry}/MainPage.css +0 -0
  485. /package/dist/components/{DigitalColleagues → Foundry}/MainPage.d.ts +0 -0
  486. /package/dist/components/{DigitalColleagues → Foundry}/Pages/dashboardpage.css +0 -0
  487. /package/dist/components/{Foundary → Foundry}/Pages/dashboardpage.d.ts +0 -0
  488. /package/dist/components/{Foundary → Foundry}/RichText/Icons/Bold.d.ts +0 -0
  489. /package/dist/components/{Foundary → Foundry}/RichText/Icons/Headings.d.ts +0 -0
  490. /package/dist/components/{Foundary → Foundry}/RichText/Icons/Italic.d.ts +0 -0
  491. /package/dist/components/{Foundary → Foundry}/RichText/Icons/StrikeThrough.d.ts +0 -0
  492. /package/dist/components/{Foundary → Foundry}/RichText/Icons/Subscript.d.ts +0 -0
  493. /package/dist/components/{Foundary → Foundry}/RichText/Icons/Superscript.d.ts +0 -0
  494. /package/dist/components/{Foundary → Foundry}/RichText/Icons/Underline.d.ts +0 -0
  495. /package/dist/components/{DigitalColleagues/Views → Foundry/RichText/components/RawUploadComponent}/index.css +0 -0
  496. /package/dist/components/{Foundary → Foundry}/RichText/components/RawUploadComponent/index.d.ts +0 -0
  497. /package/dist/components/{DigitalColleagues → Foundry/RichText}/index.css +0 -0
  498. /package/dist/components/{Foundary → Foundry}/RichText/index.d.ts +0 -0
  499. /package/dist/components/{Foundary → Foundry}/RichText/nodes/image-node.css +0 -0
  500. /package/dist/components/{Foundary → Foundry}/RichText/nodes/image-node.d.ts +0 -0
  501. /package/dist/components/{Foundary → Foundry}/RichText/plugins/image-plugin.css +0 -0
  502. /package/dist/components/{Foundary → Foundry}/RichText/plugins/image-plugin.d.ts +0 -0
  503. /package/dist/components/{Foundary → Foundry}/RichText/plugins/toolbar-plugin.css +0 -0
  504. /package/dist/components/{Foundary → Foundry}/RichText/plugins/toolbar-plugin.d.ts +0 -0
  505. /package/dist/components/{DigitalColleagues → Foundry}/SearchableSelect.css +0 -0
  506. /package/dist/components/{DigitalColleagues → Foundry}/SearchableSelect.d.ts +0 -0
  507. /package/dist/components/{DigitalColleagues → Foundry}/Views/ColleaguesView.css +0 -0
  508. /package/dist/components/{DigitalColleagues → Foundry}/Views/KnowledgeView.css +0 -0
  509. /package/dist/components/{Foundary → Foundry}/Views/KnowledgeView.d.ts +0 -0
  510. /package/dist/components/{Foundary → Foundry}/Views/TeamsIndexView.css +0 -0
  511. /package/dist/components/{Foundary → Foundry}/Views/TeamsIndexView.d.ts +0 -0
  512. /package/dist/components/{Foundary/RichText/components/RawUploadComponent → Foundry/Views}/index.css +0 -0
  513. /package/dist/components/{DigitalColleagues → Foundry}/Views/index.d.ts +0 -0
  514. /package/dist/components/{DigitalColleagues/DigitalColleageusLayout.css → Foundry/add-colleague-to-team-form.css} +0 -0
  515. /package/dist/components/{DigitalColleagues/colleague-card.css → Foundry/app-card.css} +0 -0
  516. /package/dist/components/{Foundary → Foundry}/colleague-card.css +0 -0
  517. /package/dist/components/{DigitalColleagues → Foundry}/colleague-card.d.ts +0 -0
  518. /package/dist/components/{DigitalColleagues → Foundry}/colleague-form.css +0 -0
  519. /package/dist/components/{Foundary → Foundry}/colleague-form.d.ts +0 -0
  520. /package/dist/components/{DigitalColleagues → Foundry}/colleague-type-selection.css +0 -0
  521. /package/dist/components/{DigitalColleagues → Foundry}/colleague-type-selection.d.ts +0 -0
  522. /package/dist/components/{DigitalColleagues/digital-colleague-clone.css → Foundry/digital-colleague-selection.css} +0 -0
  523. /package/dist/components/{DigitalColleagues → Foundry}/document-edit.css +0 -0
  524. /package/dist/components/{Foundary → Foundry}/document-edit.d.ts +0 -0
  525. /package/dist/components/{DigitalColleagues → Foundry}/document-preview-examples.css +0 -0
  526. /package/dist/components/{DigitalColleagues → Foundry}/document-preview-examples.d.ts +0 -0
  527. /package/dist/components/{DigitalColleagues → Foundry}/document-preview.css +0 -0
  528. /package/dist/components/{Foundary → Foundry}/document-preview.d.ts +0 -0
  529. /package/dist/components/{Foundary → Foundry}/file-edit.css +0 -0
  530. /package/dist/components/{Foundary → Foundry}/file-edit.d.ts +0 -0
  531. /package/dist/components/{Foundary → Foundry}/foundary-clone.css +0 -0
  532. /package/dist/components/{Foundary → Foundry}/foundary-clone.d.ts +0 -0
  533. /package/dist/components/{Foundary → Foundry}/foundary-layout.css +0 -0
  534. /package/dist/components/{Foundary → Foundry}/foundary-options.css +0 -0
  535. /package/dist/components/{Foundary/RichText → Foundry}/index.css +0 -0
  536. /package/dist/components/{DigitalColleagues → Foundry}/knowledge-browser.css +0 -0
  537. /package/dist/components/{Foundary → Foundry}/knowledge-browser.d.ts +0 -0
  538. /package/dist/components/{DigitalColleagues → Foundry}/knowledge-search.css +0 -0
  539. /package/dist/components/{Foundary → Foundry}/knowledge-search.d.ts +0 -0
  540. /package/dist/components/{DigitalColleagues → Foundry}/team-form.css +0 -0
  541. /package/dist/components/{Foundary → Foundry}/team-form.d.ts +0 -0
  542. /package/dist/components/{Foundary → Foundry}/test-data.d.ts +0 -0
  543. /package/dist/components/{DigitalColleagues/digital-colleague-options.css → Projects/GanttView.css} +0 -0
@@ -1,424 +0,0 @@
1
- import {
2
- TaskCard
3
- } from "./chunk-WSU6ULOG.mjs";
4
- import {
5
- AddEpicModal
6
- } from "./chunk-UDCOG2XL.mjs";
7
- import {
8
- AddTaskModal
9
- } from "./chunk-C3CKYJ2F.mjs";
10
- import {
11
- DashboardHero
12
- } from "./chunk-QPO45D6F.mjs";
13
- import {
14
- extractId
15
- } from "./chunk-Y6HQV3VB.mjs";
16
- import {
17
- Textarea
18
- } from "./chunk-4UJUWE3A.mjs";
19
- import {
20
- Badge
21
- } from "./chunk-BG5JSVXF.mjs";
22
- import {
23
- Card
24
- } from "./chunk-EQHAE4MP.mjs";
25
- import {
26
- Input
27
- } from "./chunk-YMZ2OUK6.mjs";
28
- import {
29
- Button
30
- } from "./chunk-I6LSWXZW.mjs";
31
-
32
- // src/components/Projects/EpicsView.tsx
33
- import { useState, useRef, useEffect } from "react";
34
- import { Plus, Move, Edit2, Trash2, Check, X } from "lucide-react";
35
- import { Fragment, jsx, jsxs } from "react/jsx-runtime";
36
- var EpicsView = ({
37
- tasks,
38
- epics,
39
- sprints,
40
- onUpdateTask,
41
- onTaskClick,
42
- onAddTaskToEpic,
43
- onAddEpic,
44
- onUpdateEpic,
45
- onDeleteEpic
46
- }) => {
47
- const [availableEpics, setAvailableEpics] = useState(epics);
48
- const [draggedTask, setDraggedTask] = useState(null);
49
- const [editingEpic, setEditingEpic] = useState(null);
50
- const [editForm, setEditForm] = useState({});
51
- const [heroHeight, setHeroHeight] = useState(0);
52
- const [isAddEpicModalOpen, setIsAddEpicModalOpen] = useState(false);
53
- const [isAddTaskModalOpen, setIsAddTaskModalOpen] = useState(false);
54
- const [addTaskEpic, setAddTaskEpic] = useState(null);
55
- const heroRef = useRef(null);
56
- const containerRef = useRef(null);
57
- useEffect(() => {
58
- setAvailableEpics(epics);
59
- }, [epics]);
60
- useEffect(() => {
61
- const measureHeroHeight = () => {
62
- if (heroRef.current) {
63
- const height = heroRef.current.offsetHeight;
64
- setHeroHeight(height);
65
- }
66
- };
67
- measureHeroHeight();
68
- const resizeObserver = new ResizeObserver(measureHeroHeight);
69
- if (heroRef.current) {
70
- resizeObserver.observe(heroRef.current);
71
- }
72
- const handleStorageChange = () => {
73
- setTimeout(measureHeroHeight, 100);
74
- };
75
- window.addEventListener("storage", handleStorageChange);
76
- return () => {
77
- resizeObserver.disconnect();
78
- window.removeEventListener("storage", handleStorageChange);
79
- };
80
- }, []);
81
- useEffect(() => {
82
- const timer = setTimeout(() => {
83
- if (heroRef.current) {
84
- setHeroHeight(heroRef.current.offsetHeight);
85
- }
86
- }, 300);
87
- return () => clearTimeout(timer);
88
- }, [editingEpic]);
89
- const handleDragStart = (task) => {
90
- setDraggedTask(task);
91
- };
92
- const handleDragOver = (e) => {
93
- e.preventDefault();
94
- };
95
- const handleDrop = (e, epicId) => {
96
- e.preventDefault();
97
- if (draggedTask && extractId(draggedTask.epic).toString() !== epicId) {
98
- onUpdateTask(draggedTask.id.toString(), {
99
- epic: Number(epicId)
100
- });
101
- setDraggedTask(null);
102
- }
103
- };
104
- const getTasksByEpic = (epicId) => {
105
- return tasks.filter((task) => extractId(task.epic).toString() === epicId);
106
- };
107
- const handleEditEpic = (epic) => {
108
- setEditingEpic(epic.id.toString());
109
- setEditForm({
110
- name: epic.name,
111
- description: epic.description,
112
- confidence: epic.confidence,
113
- phase: epic.phase
114
- // progress: epic.progress || 0, // This is a number, not a string
115
- });
116
- };
117
- const handleSaveEdit = async () => {
118
- if (editingEpic && editForm.name) {
119
- await onUpdateEpic(editingEpic.toString(), editForm);
120
- setAvailableEpics(
121
- (prev) => prev.map((epic) => {
122
- if (epic.id.toString() === editingEpic) {
123
- return { ...epic, ...editForm };
124
- }
125
- return epic;
126
- })
127
- );
128
- setEditingEpic(null);
129
- setEditForm({});
130
- }
131
- };
132
- const handleCancelEdit = () => {
133
- setEditingEpic(null);
134
- setEditForm({});
135
- };
136
- const handleDeleteEpic = async (epicId) => {
137
- if (window.confirm(
138
- "Are you sure you want to delete this epic? This will also delete all associated tasks."
139
- )) {
140
- await onDeleteEpic(epicId);
141
- setAvailableEpics((prev) => prev.filter((epic) => epic.id.toString() !== epicId));
142
- }
143
- };
144
- const getPhaseLabel = (phase) => {
145
- const phases = {
146
- 1: "Planning",
147
- 2: "Development",
148
- 3: "Testing",
149
- 4: "Review",
150
- 5: "Deployment",
151
- 6: "Monitoring",
152
- 7: "Optimization",
153
- 8: "Maintenance",
154
- 9: "Complete"
155
- };
156
- return phases[phase] || `Phase ${phase}`;
157
- };
158
- const getConfidenceColor = (confidence) => {
159
- switch (confidence) {
160
- case "high":
161
- return "bg-success/10 text-success";
162
- case "medium":
163
- return "bg-warning/10 text-warning";
164
- case "low":
165
- return "bg-destructive/10 text-destructive";
166
- default:
167
- return "bg-muted text-muted-foreground";
168
- }
169
- };
170
- return /* @__PURE__ */ jsxs(Fragment, { children: [
171
- /* @__PURE__ */ jsxs("div", { ref: containerRef, className: "h-full flex flex-col px-2 md:px-4 py-4", children: [
172
- /* @__PURE__ */ jsx("div", { ref: heroRef, className: "flex-shrink-0", children: /* @__PURE__ */ jsx(
173
- DashboardHero,
174
- {
175
- title: "Epic Planning",
176
- description: "Organize and manage your project epics, track progress, and assign tasks.",
177
- gradient: "bg-gradient-to-r from-rose-600 via-pink-600 to-fuchsia-600",
178
- primaryAction: {
179
- label: "Add epic",
180
- onClick: () => setIsAddEpicModalOpen(true)
181
- }
182
- }
183
- ) }),
184
- /* @__PURE__ */ jsx("div", { className: "flex-1 min-h-0 mt-8", children: /* @__PURE__ */ jsx(
185
- "div",
186
- {
187
- className: "h-full overflow-y-auto",
188
- style: {
189
- height: heroHeight > 0 ? `calc(100vh - ${heroHeight + 120}px)` : "calc(100vh - 12rem)"
190
- },
191
- children: /* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6 auto-rows-max", children: availableEpics.map((epic) => {
192
- const epicTasks = getTasksByEpic(epic.id.toString());
193
- const totalPoints = epicTasks.reduce(
194
- (sum, task) => sum + (task.storyPoints || 0),
195
- 0
196
- );
197
- const availableHeight = heroHeight > 0 ? `calc(100vh - ${heroHeight + 200}px)` : "calc(100vh - 14rem)";
198
- return /* @__PURE__ */ jsxs(
199
- Card,
200
- {
201
- className: `flex flex-col ${editingEpic === epic.id.toString() ? "h-auto" : ""} bg-card shadow-sm`,
202
- style: {
203
- height: editingEpic === epic.id.toString() ? "auto" : availableHeight,
204
- minHeight: "400px"
205
- },
206
- onDragOver: handleDragOver,
207
- onDrop: (e) => handleDrop(e, epic.id.toString()),
208
- children: [
209
- /* @__PURE__ */ jsx("div", { className: "p-4 border-b border-border", children: editingEpic === epic.id.toString() ? (
210
- /* Edit Mode */
211
- /* @__PURE__ */ jsxs("div", { className: "space-y-4", children: [
212
- /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
213
- /* @__PURE__ */ jsx(
214
- Input,
215
- {
216
- value: editForm.name || "",
217
- onChange: (e) => setEditForm({ ...editForm, name: e.target.value }),
218
- placeholder: "Epic name",
219
- className: "font-semibold"
220
- }
221
- ),
222
- /* @__PURE__ */ jsxs("div", { className: "flex gap-2 ml-2", children: [
223
- /* @__PURE__ */ jsx(
224
- Button,
225
- {
226
- size: "sm",
227
- variant: "ghost",
228
- onClick: handleSaveEdit,
229
- className: "p-1 h-8 w-8",
230
- children: /* @__PURE__ */ jsx(Check, { className: "h-4 w-4" })
231
- }
232
- ),
233
- /* @__PURE__ */ jsx(
234
- Button,
235
- {
236
- size: "sm",
237
- variant: "ghost",
238
- onClick: handleCancelEdit,
239
- className: "p-1 h-8 w-8",
240
- children: /* @__PURE__ */ jsx(X, { className: "h-4 w-4" })
241
- }
242
- )
243
- ] })
244
- ] }),
245
- /* @__PURE__ */ jsx(
246
- Textarea,
247
- {
248
- value: editForm.description || "",
249
- onChange: (e) => setEditForm({ ...editForm, description: e.target.value }),
250
- placeholder: "Epic description",
251
- className: "text-sm min-h-[60px]"
252
- }
253
- ),
254
- /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-2 gap-2", children: [
255
- /* @__PURE__ */ jsxs("div", { children: [
256
- /* @__PURE__ */ jsx("label", { className: "text-xs text-muted-foreground", children: "Confidence" }),
257
- /* @__PURE__ */ jsxs(
258
- "select",
259
- {
260
- value: editForm.confidence || epic.confidence,
261
- onChange: (e) => setEditForm({
262
- ...editForm,
263
- confidence: e.target.value
264
- }),
265
- className: "flex h-8 w-full rounded-md border border-input bg-background px-3 py-2 text-xs ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
266
- children: [
267
- /* @__PURE__ */ jsx("option", { value: "low", children: "Low" }),
268
- /* @__PURE__ */ jsx("option", { value: "medium", children: "Medium" }),
269
- /* @__PURE__ */ jsx("option", { value: "high", children: "High" })
270
- ]
271
- }
272
- )
273
- ] }),
274
- /* @__PURE__ */ jsxs("div", { children: [
275
- /* @__PURE__ */ jsx("label", { className: "text-xs text-muted-foreground", children: "Phase" }),
276
- /* @__PURE__ */ jsx(
277
- "select",
278
- {
279
- value: editForm.phase?.toString() || epic.phase.toString(),
280
- onChange: (e) => setEditForm({ ...editForm, phase: parseInt(e.target.value) }),
281
- className: "flex h-8 w-full rounded-md border border-input bg-background px-3 py-2 text-xs ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
282
- children: [1, 2, 3, 4, 5, 6, 7, 8, 9].map((phase) => /* @__PURE__ */ jsxs("option", { value: phase.toString(), children: [
283
- "Phase ",
284
- phase
285
- ] }, phase))
286
- }
287
- )
288
- ] })
289
- ] })
290
- ] })
291
- ) : (
292
- /* Display Mode */
293
- /* @__PURE__ */ jsxs(Fragment, { children: [
294
- /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 mb-2", children: [
295
- /* @__PURE__ */ jsx("div", { className: `w-4 h-4 rounded-full ${epic.color}` }),
296
- /* @__PURE__ */ jsx("h3", { className: "font-semibold text-foreground select-none flex-1", children: epic.name }),
297
- /* @__PURE__ */ jsxs("div", { className: "flex gap-1", children: [
298
- /* @__PURE__ */ jsx(
299
- Button,
300
- {
301
- size: "sm",
302
- variant: "ghost",
303
- onClick: () => handleEditEpic(epic),
304
- className: "p-1 h-8 w-8",
305
- children: /* @__PURE__ */ jsx(Edit2, { className: "h-3 w-3" })
306
- }
307
- ),
308
- /* @__PURE__ */ jsx(
309
- Button,
310
- {
311
- size: "sm",
312
- variant: "ghost",
313
- onClick: () => handleDeleteEpic(epic.id.toString()),
314
- className: "p-1 h-8 w-8 hover:bg-destructive/10 hover:text-destructive",
315
- children: /* @__PURE__ */ jsx(Trash2, { className: "h-3 w-3" })
316
- }
317
- )
318
- ] })
319
- ] }),
320
- /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap gap-2 mb-3", children: [
321
- /* @__PURE__ */ jsxs(Badge, { className: `text-xs ${getConfidenceColor(epic.confidence)}`, children: [
322
- epic.confidence,
323
- " confidence"
324
- ] }),
325
- /* @__PURE__ */ jsxs(Badge, { variant: "outline", className: "text-xs", children: [
326
- "Phase ",
327
- epic.phase
328
- ] }),
329
- /* @__PURE__ */ jsxs(
330
- Badge,
331
- {
332
- variant: "secondary",
333
- className: "text-xs bg-muted text-muted-foreground",
334
- children: [
335
- epicTasks.length,
336
- " tasks"
337
- ]
338
- }
339
- ),
340
- /* @__PURE__ */ jsxs(
341
- Badge,
342
- {
343
- variant: "secondary",
344
- className: "text-xs bg-muted text-muted-foreground",
345
- children: [
346
- totalPoints,
347
- " pts"
348
- ]
349
- }
350
- )
351
- ] }),
352
- epic.description && /* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground mb-3 select-none", children: epic.description }),
353
- /* @__PURE__ */ jsxs(
354
- Button,
355
- {
356
- onClick: () => {
357
- setIsAddTaskModalOpen(true);
358
- setAddTaskEpic(epic);
359
- },
360
- variant: "outline",
361
- size: "sm",
362
- className: "w-full gap-2",
363
- children: [
364
- /* @__PURE__ */ jsx(Plus, { className: "h-4 w-4" }),
365
- "Add Task"
366
- ]
367
- }
368
- )
369
- ] })
370
- ) }),
371
- /* @__PURE__ */ jsx("div", { className: "flex-1 p-4 overflow-y-auto", children: /* @__PURE__ */ jsx(
372
- "div",
373
- {
374
- className: `space-y-3 min-h-[200px] border-2 border-dashed rounded p-3 transition-colors ${draggedTask ? "border-primary bg-primary/10" : "border-border"}`,
375
- children: epicTasks.length === 0 ? /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center justify-center h-32 text-muted-foreground border-2 border-dashed border-border rounded-lg", children: [
376
- /* @__PURE__ */ jsx(Move, { className: "h-8 w-8 mb-2" }),
377
- /* @__PURE__ */ jsx("span", { className: "text-sm select-none", children: "Drop tasks here" })
378
- ] }) : epicTasks.map((task) => /* @__PURE__ */ jsx(
379
- TaskCard,
380
- {
381
- task,
382
- epic,
383
- onDragStart: handleDragStart,
384
- onTaskClick,
385
- isCompact: true
386
- },
387
- task.id
388
- ))
389
- }
390
- ) })
391
- ]
392
- },
393
- epic.id
394
- );
395
- }) })
396
- }
397
- ) })
398
- ] }),
399
- /* @__PURE__ */ jsx(
400
- AddEpicModal,
401
- {
402
- isOpen: isAddEpicModalOpen,
403
- onClose: () => setIsAddEpicModalOpen(false),
404
- onAddEpic
405
- }
406
- ),
407
- /* @__PURE__ */ jsx(
408
- AddTaskModal,
409
- {
410
- isOpen: isAddTaskModalOpen,
411
- onClose: () => setIsAddTaskModalOpen(false),
412
- onAddTask: onAddTaskToEpic,
413
- assignees: [],
414
- epics: [],
415
- defaultEpicId: addTaskEpic?.id.toString() || "",
416
- sprints
417
- }
418
- )
419
- ] });
420
- };
421
-
422
- export {
423
- EpicsView
424
- };
@@ -1,160 +0,0 @@
1
- "use client";
2
- "use strict";
3
-
4
- import {
5
- ScrollArea
6
- } from "./chunk-PDHMPRPW.mjs";
7
- import {
8
- Label
9
- } from "./chunk-7CVOGGH6.mjs";
10
- import {
11
- Badge
12
- } from "./chunk-BG5JSVXF.mjs";
13
- import {
14
- Card,
15
- CardContent
16
- } from "./chunk-EQHAE4MP.mjs";
17
- import {
18
- Input
19
- } from "./chunk-YMZ2OUK6.mjs";
20
- import {
21
- Button
22
- } from "./chunk-I6LSWXZW.mjs";
23
-
24
- // src/components/DigitalColleagues/knowledge-search.tsx
25
- import { useState, useEffect } from "react";
26
- import { Search, X, FileText, Tag } from "lucide-react";
27
- import { jsx, jsxs } from "react/jsx-runtime";
28
- function KnowledgeSearch({
29
- selectedDocuments,
30
- onDocumentsChange,
31
- availableDocuments,
32
- label,
33
- placeholder = "Search knowledge documents...",
34
- maxSelections,
35
- disabled = false
36
- }) {
37
- const [searchTerm, setSearchTerm] = useState("");
38
- const [filteredDocuments, setFilteredDocuments] = useState([]);
39
- const [showResults, setShowResults] = useState(false);
40
- useEffect(() => {
41
- if (!searchTerm.trim()) {
42
- setFilteredDocuments([]);
43
- setShowResults(false);
44
- return;
45
- }
46
- const filtered = availableDocuments.filter((doc) => {
47
- const selectedIds = selectedDocuments.map((d) => d.id);
48
- if (selectedIds.includes(doc.id)) return false;
49
- const searchLower = searchTerm.toLowerCase();
50
- return doc.title.toLowerCase().includes(searchLower) || doc.description?.toLowerCase().includes(searchLower) || doc.tags?.some((tag) => tag.toLowerCase().includes(searchLower)) || Object.values(doc.metadata || {}).some(
51
- (value) => String(value).toLowerCase().includes(searchLower)
52
- );
53
- });
54
- setFilteredDocuments(filtered);
55
- setShowResults(true);
56
- }, [searchTerm, selectedDocuments, availableDocuments]);
57
- const handleSelectDocument = (document) => {
58
- if (maxSelections && selectedDocuments.length >= maxSelections) {
59
- return;
60
- }
61
- onDocumentsChange([...selectedDocuments, document]);
62
- setSearchTerm("");
63
- setShowResults(false);
64
- };
65
- const handleRemoveDocument = (documentId) => {
66
- onDocumentsChange(selectedDocuments.filter((doc) => doc.id !== documentId));
67
- };
68
- const canAddMore = !maxSelections || selectedDocuments.length < maxSelections;
69
- return /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
70
- /* @__PURE__ */ jsx(Label, { children: label }),
71
- /* @__PURE__ */ jsxs("div", { className: "relative", children: [
72
- /* @__PURE__ */ jsxs("div", { className: "relative", children: [
73
- /* @__PURE__ */ jsx(Search, { className: "absolute left-3 top-3 h-4 w-4 text-muted-foreground" }),
74
- /* @__PURE__ */ jsx(
75
- Input,
76
- {
77
- value: searchTerm,
78
- onChange: (e) => setSearchTerm(e.target.value),
79
- placeholder: canAddMore ? placeholder : `Maximum ${maxSelections} documents selected`,
80
- className: "pl-9",
81
- disabled: disabled || !canAddMore,
82
- onFocus: () => searchTerm && setShowResults(true)
83
- }
84
- )
85
- ] }),
86
- showResults && filteredDocuments.length > 0 && /* @__PURE__ */ jsx(Card, { className: "absolute top-full left-0 right-0 z-10 mt-1 max-h-60", children: /* @__PURE__ */ jsx(ScrollArea, { className: "h-full", children: /* @__PURE__ */ jsx(CardContent, { className: "p-2", children: filteredDocuments.map((doc) => /* @__PURE__ */ jsx(
87
- Button,
88
- {
89
- variant: "ghost",
90
- className: "w-full justify-start h-auto p-3 mb-1",
91
- onClick: () => handleSelectDocument(doc),
92
- disabled,
93
- children: /* @__PURE__ */ jsxs("div", { className: "flex items-start gap-3 w-full", children: [
94
- /* @__PURE__ */ jsx(FileText, { className: "h-4 w-4 mt-0.5 text-muted-foreground flex-shrink-0" }),
95
- /* @__PURE__ */ jsxs("div", { className: "text-left flex-1 min-w-0", children: [
96
- /* @__PURE__ */ jsx("div", { className: "font-medium text-sm truncate", children: doc.title }),
97
- doc.description && /* @__PURE__ */ jsx("div", { className: "text-xs text-muted-foreground mt-1 line-clamp-2", children: doc.description }),
98
- doc.tags && doc.tags.length > 0 && /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap gap-1 mt-2", children: [
99
- doc.tags.slice(0, 3).map((tag) => /* @__PURE__ */ jsx(Badge, { variant: "outline", className: "text-xs", children: tag }, tag)),
100
- doc.tags.length > 3 && /* @__PURE__ */ jsxs(Badge, { variant: "outline", className: "text-xs", children: [
101
- "+",
102
- doc.tags.length - 3,
103
- " more"
104
- ] })
105
- ] })
106
- ] })
107
- ] })
108
- },
109
- doc.id
110
- )) }) }) }),
111
- showResults && searchTerm && filteredDocuments.length === 0 && /* @__PURE__ */ jsx(Card, { className: "absolute top-full left-0 right-0 z-10 mt-1", children: /* @__PURE__ */ jsxs(CardContent, { className: "p-4 text-center text-sm text-muted-foreground", children: [
112
- 'No knowledge documents found for "',
113
- searchTerm,
114
- '"'
115
- ] }) })
116
- ] }),
117
- selectedDocuments.length > 0 && /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
118
- /* @__PURE__ */ jsxs("div", { className: "text-sm text-muted-foreground", children: [
119
- "Selected (",
120
- selectedDocuments.length,
121
- maxSelections && `/${maxSelections}`,
122
- ")"
123
- ] }),
124
- /* @__PURE__ */ jsx("div", { className: "space-y-2", children: selectedDocuments.map((doc) => /* @__PURE__ */ jsx(Card, { className: "p-3", children: /* @__PURE__ */ jsxs("div", { className: "flex items-start gap-3", children: [
125
- /* @__PURE__ */ jsx(FileText, { className: "h-4 w-4 mt-0.5 text-muted-foreground flex-shrink-0" }),
126
- /* @__PURE__ */ jsxs("div", { className: "flex-1 min-w-0", children: [
127
- /* @__PURE__ */ jsx("div", { className: "font-medium text-sm", children: doc.title }),
128
- doc.description && /* @__PURE__ */ jsx("div", { className: "text-xs text-muted-foreground mt-1", children: doc.description }),
129
- doc.tags && doc.tags.length > 0 && /* @__PURE__ */ jsx("div", { className: "flex flex-wrap gap-1 mt-2", children: doc.tags.map((tag) => /* @__PURE__ */ jsxs(Badge, { variant: "outline", className: "text-xs", children: [
130
- /* @__PURE__ */ jsx(Tag, { className: "h-3 w-3 mr-1" }),
131
- tag
132
- ] }, tag)) })
133
- ] }),
134
- /* @__PURE__ */ jsx(
135
- Button,
136
- {
137
- type: "button",
138
- variant: "ghost",
139
- size: "icon",
140
- className: "h-6 w-6 flex-shrink-0",
141
- onClick: () => handleRemoveDocument(doc.id),
142
- disabled,
143
- children: /* @__PURE__ */ jsx(X, { className: "h-3 w-3" })
144
- }
145
- )
146
- ] }) }, doc.id)) })
147
- ] }),
148
- showResults && /* @__PURE__ */ jsx(
149
- "div",
150
- {
151
- className: "fixed inset-0 z-0",
152
- onClick: () => setShowResults(false)
153
- }
154
- )
155
- ] });
156
- }
157
-
158
- export {
159
- KnowledgeSearch
160
- };