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
@@ -2,16 +2,18 @@
2
2
  "use strict";
3
3
  import {
4
4
  ColleaguesView
5
- } from "../../../chunk-JD7SR5V3.mjs";
5
+ } from "../../../chunk-NUAJQK4H.mjs";
6
6
  import "../../../chunk-PR24SSJK.mjs";
7
- import "../../../chunk-EJJNYV7C.mjs";
8
- import "../../../chunk-ZF2DELZ5.mjs";
9
- import "../../../chunk-HI6QOZHR.mjs";
10
- import "../../../chunk-ZED4UNH7.mjs";
11
- import "../../../chunk-AOSO2JVA.mjs";
12
- import "../../../chunk-4YSV633W.mjs";
13
- import "../../../chunk-QPO45D6F.mjs";
14
- import "../../../chunk-E6M7XAYT.mjs";
7
+ import "../../../chunk-U6ZFUE5O.mjs";
8
+ import "../../../chunk-QXOHY4AT.mjs";
9
+ import "../../../chunk-GXN5ZNBZ.mjs";
10
+ import "../../../chunk-V6VAVPKH.mjs";
11
+ import "../../../chunk-DPTILX6A.mjs";
12
+ import "../../../chunk-YUZYLKBD.mjs";
13
+ import "../../../chunk-GAWBCR4S.mjs";
14
+ import "../../../chunk-BXEALHGJ.mjs";
15
+ import "../../../chunk-I2MVZVXE.mjs";
16
+ import "../../../chunk-Q45EN2QB.mjs";
15
17
  import "../../../chunk-CR4DEGH3.mjs";
16
18
  import "../../../chunk-EMGZSA3M.mjs";
17
19
  import "../../../chunk-5RNAHIY3.mjs";
@@ -29,7 +31,7 @@ import "../../../chunk-JHOP4BOK.mjs";
29
31
  import "../../../chunk-ZSBTDL4H.mjs";
30
32
  import "../../../chunk-KZPGX6CG.mjs";
31
33
  import "../../../chunk-OZ77QF4K.mjs";
32
- import "../../../chunk-I4MTJN23.mjs";
34
+ import "../../../chunk-6A7T3O6T.mjs";
33
35
  import "../../../chunk-6DZX6EAA.mjs";
34
36
  export {
35
37
  ColleaguesView as default
@@ -0,0 +1,2 @@
1
+ // src/components/Foundry/Views/KnowledgeView.docs.mdx
2
+ var KnowledgeView_docs_default = 'import { Meta } from \'@storybook/blocks\'\n\n<Meta title="Foundry/Views/KnowledgeView/Documentation" />\n\n# KnowledgeView Component Documentation\n\nThe **KnowledgeView** component is a comprehensive knowledge management interface that provides organized access to documentation and knowledge resources.\n\n## Overview\n\nThis component serves as the primary interface for browsing, searching, and managing organizational knowledge. It supports multiple organizational contexts, document filtering, and various interaction patterns.\n\n## Key Features\n\n### \u{1F504} Context-based Navigation\n\nSwitch between different organizational views:\n\n- **All Documentation**: Browse all documents by category and type\n- **Services**: Organize by service and team\n- **Architecture**: View by component and layer\n- **Teams**: Group by team and project\n- **Security**: Filter security documentation\n\n### \u{1F4DA} Document Browser\n\n- **Hierarchical organization** with expandable categories\n- **Search functionality** across all document content\n- **Document metadata** display (author, date, tags)\n- **Quick preview** capabilities\n\n### \u{1F3AF} Interactive Features\n\n- **Document selection** with visual feedback\n- **Sharing capabilities** for collaboration\n- **Cross-context document selection** for comparison\n- **Preview panels** for quick content review\n\n### \u26A1 Performance Optimizations\n\n- **Lazy content loading** for large document sets\n- **Virtual scrolling** for massive lists\n- **Optimistic updates** for better UX\n- **Caching strategies** for repeated access\n\n## Architecture\n\n### Component Structure\n\n```\nKnowledgeView\n\u251C\u2500\u2500 Context Selector (dropdown)\n\u251C\u2500\u2500 Search Bar\n\u251C\u2500\u2500 Document Tree\n\u2502 \u251C\u2500\u2500 Category Nodes\n\u2502 \u251C\u2500\u2500 Document Items\n\u2502 \u2514\u2500\u2500 Loading States\n\u2514\u2500\u2500 Action Buttons\n \u251C\u2500\u2500 Share\n \u251C\u2500\u2500 Preview\n \u2514\u2500\u2500 Custom Actions\n```\n\n### Props Interface\n\n```typescript\ninterface KnowledgeViewProps {\n contexts: KnowledgeContext[]\n selectedDocuments?: KnowledgeDocument[]\n onDocumentSelect?: (documents: KnowledgeDocument[]) => void\n onShare?: (documents: KnowledgeDocument[]) => void\n onLoadDocumentContent?: (document: KnowledgeDocument) => Promise<string>\n className?: string\n}\n```\n\n### Context System\n\nThe component uses a context-based organization system where each context represents a different way to organize and view the same underlying documents:\n\n```typescript\ninterface KnowledgeContext {\n id: string\n name: string\n description: string\n icon: React.ReactNode\n categories: KnowledgeCategory[]\n}\n```\n\n## Usage Patterns\n\n### Basic Usage\n\n```tsx\nimport { KnowledgeView } from \'@/components/DigitalColleagues/Views\'\nimport { defaultContexts } from \'./KnowledgeView.stories\'\n\nconst MyComponent = () => {\n return (\n <KnowledgeView\n contexts={defaultContexts}\n onDocumentSelect={(docs) => console.log(\'Selected:\', docs)}\n />\n )\n}\n```\n\n### With Custom Content Loading\n\n```tsx\nconst MyComponent = () => {\n const handleLoadContent = async (document: KnowledgeDocument) => {\n // Fetch content lazily for performance\n const response = await fetch(`/api/documents/${document.id}/content`)\n return response.text()\n }\n\n return <KnowledgeView contexts={contexts} onLoadDocumentContent={handleLoadContent} />\n}\n```\n\n### With Sharing Integration\n\n```tsx\nconst MyComponent = () => {\n const handleShare = (documents: KnowledgeDocument[]) => {\n const urls = documents.map((doc) => doc.url).join(\'\\n\')\n navigator.clipboard.writeText(urls)\n toast.success(\'Document links copied to clipboard!\')\n }\n\n return <KnowledgeView contexts={contexts} onShare={handleShare} />\n}\n```\n\n## Context Design Guidelines\n\n### Creating Effective Contexts\n\n1. **Purpose-driven**: Each context should serve a specific user need\n2. **Comprehensive**: Include all relevant documents for that context\n3. **Intuitive organization**: Use familiar categorization schemes\n4. **Balanced depth**: Avoid overly deep or flat hierarchies\n\n### Best Practices\n\n- **Limit context count**: 3-7 contexts work best for cognitive load\n- **Clear naming**: Use descriptive, action-oriented names\n- **Consistent structure**: Maintain similar organization patterns\n- **Regular review**: Update contexts as organizational needs evolve\n\n## Performance Considerations\n\n### Large Document Sets\n\n- Use `onLoadDocumentContent` for lazy loading\n- Implement virtual scrolling for 1000+ documents\n- Consider pagination for very large sets\n- Cache frequently accessed content\n\n### Memory Management\n\n- Unload content when switching contexts\n- Implement cleanup in useEffect hooks\n- Monitor memory usage in production\n- Use React.memo for expensive renders\n\n### Network Optimization\n\n- Batch API requests when possible\n- Implement request debouncing for search\n- Use service workers for offline support\n- Compress document metadata\n\n## Accessibility Features\n\n### Keyboard Navigation\n\n- **Tab**: Navigate through interactive elements\n- **Arrow keys**: Navigate tree structure\n- **Space/Enter**: Select/expand items\n- **Escape**: Close modals/dropdowns\n\n### Screen Reader Support\n\n- Semantic HTML structure\n- ARIA labels and descriptions\n- Focus management\n- Status announcements\n\n### Visual Accessibility\n\n- High contrast mode support\n- Respects `prefers-reduced-motion`\n- Scalable text and icons\n- Clear focus indicators\n\n## Testing Strategies\n\n### Unit Tests\n\n- Test document selection logic\n- Verify context switching\n- Mock API interactions\n- Test keyboard navigation\n\n### Integration Tests\n\n- Test with real data sets\n- Verify performance thresholds\n- Test error boundary behavior\n- Cross-browser compatibility\n\n### User Experience Tests\n\n- Usability testing with real users\n- Performance testing with large datasets\n- Accessibility audit compliance\n- Mobile responsiveness testing\n\n## Troubleshooting\n\n### Common Issues\n\n**Documents not loading**\n\n- Check context data structure\n- Verify document URLs are accessible\n- Check network connectivity\n- Review console for errors\n\n**Performance issues**\n\n- Implement lazy loading\n- Reduce initial data load\n- Check for memory leaks\n- Profile React components\n\n**Accessibility problems**\n\n- Run automated accessibility tests\n- Test with screen readers\n- Verify keyboard navigation\n- Check color contrast ratios\n\n### Debug Mode\n\nEnable debug logging by setting:\n\n```typescript\nwindow.__KNOWLEDGE_VIEW_DEBUG__ = true\n```\n\nThis will log:\n\n- Context switching events\n- Document selection changes\n- API request timing\n- Performance metrics\n\n## API Integration\n\n### Expected Data Format\n\n```typescript\n// Sample API response structure\n{\n "contexts": [\n {\n "id": "all-docs",\n "name": "All Documentation",\n "categories": [\n {\n "id": "guides",\n "name": "User Guides",\n "documents": [\n {\n "id": "user-onboarding",\n "title": "User Onboarding Guide",\n "url": "/docs/onboarding",\n "author": "John Doe",\n "lastModified": "2025-01-15T10:30:00Z",\n "tags": ["onboarding", "users"]\n }\n ]\n }\n ]\n }\n ]\n}\n```\n\n### Error Handling\n\nThe component handles various error states:\n\n- Network failures\n- Invalid data structures\n- Missing documents\n- Permission errors\n\nImplement proper error boundaries and user feedback for production use.\n\n## Future Enhancements\n\n### Planned Features\n\n- **Advanced search**: Full-text search with filters\n- **Document versioning**: Track and compare versions\n- **Collaborative features**: Comments and annotations\n- **Analytics integration**: Usage tracking and insights\n\n### Extension Points\n\n- **Custom renderers**: For different document types\n- **Plugin system**: For third-party integrations\n- **Theme customization**: Beyond basic styling\n- **Workflow integration**: Connect to approval processes\n\n---\n\n## Related Components\n\n- **DocumentPreview**: For detailed document viewing\n- **SearchInterface**: Advanced search capabilities\n- **DocumentEditor**: For content creation/editing\n- **AnalyticsDashboard**: Usage insights and metrics\n\nFor interactive examples and component variations, see the **Stories** tab.\n';
@@ -0,0 +1,7 @@
1
+ import "../../../chunk-6DZX6EAA.mjs";
2
+
3
+ // src/components/Foundry/Views/KnowledgeView.docs.mdx
4
+ var KnowledgeView_docs_default = 'import { Meta } from \'@storybook/blocks\'\n\n<Meta title="Foundry/Views/KnowledgeView/Documentation" />\n\n# KnowledgeView Component Documentation\n\nThe **KnowledgeView** component is a comprehensive knowledge management interface that provides organized access to documentation and knowledge resources.\n\n## Overview\n\nThis component serves as the primary interface for browsing, searching, and managing organizational knowledge. It supports multiple organizational contexts, document filtering, and various interaction patterns.\n\n## Key Features\n\n### \u{1F504} Context-based Navigation\n\nSwitch between different organizational views:\n\n- **All Documentation**: Browse all documents by category and type\n- **Services**: Organize by service and team\n- **Architecture**: View by component and layer\n- **Teams**: Group by team and project\n- **Security**: Filter security documentation\n\n### \u{1F4DA} Document Browser\n\n- **Hierarchical organization** with expandable categories\n- **Search functionality** across all document content\n- **Document metadata** display (author, date, tags)\n- **Quick preview** capabilities\n\n### \u{1F3AF} Interactive Features\n\n- **Document selection** with visual feedback\n- **Sharing capabilities** for collaboration\n- **Cross-context document selection** for comparison\n- **Preview panels** for quick content review\n\n### \u26A1 Performance Optimizations\n\n- **Lazy content loading** for large document sets\n- **Virtual scrolling** for massive lists\n- **Optimistic updates** for better UX\n- **Caching strategies** for repeated access\n\n## Architecture\n\n### Component Structure\n\n```\nKnowledgeView\n\u251C\u2500\u2500 Context Selector (dropdown)\n\u251C\u2500\u2500 Search Bar\n\u251C\u2500\u2500 Document Tree\n\u2502 \u251C\u2500\u2500 Category Nodes\n\u2502 \u251C\u2500\u2500 Document Items\n\u2502 \u2514\u2500\u2500 Loading States\n\u2514\u2500\u2500 Action Buttons\n \u251C\u2500\u2500 Share\n \u251C\u2500\u2500 Preview\n \u2514\u2500\u2500 Custom Actions\n```\n\n### Props Interface\n\n```typescript\ninterface KnowledgeViewProps {\n contexts: KnowledgeContext[]\n selectedDocuments?: KnowledgeDocument[]\n onDocumentSelect?: (documents: KnowledgeDocument[]) => void\n onShare?: (documents: KnowledgeDocument[]) => void\n onLoadDocumentContent?: (document: KnowledgeDocument) => Promise<string>\n className?: string\n}\n```\n\n### Context System\n\nThe component uses a context-based organization system where each context represents a different way to organize and view the same underlying documents:\n\n```typescript\ninterface KnowledgeContext {\n id: string\n name: string\n description: string\n icon: React.ReactNode\n categories: KnowledgeCategory[]\n}\n```\n\n## Usage Patterns\n\n### Basic Usage\n\n```tsx\nimport { KnowledgeView } from \'@/components/DigitalColleagues/Views\'\nimport { defaultContexts } from \'./KnowledgeView.stories\'\n\nconst MyComponent = () => {\n return (\n <KnowledgeView\n contexts={defaultContexts}\n onDocumentSelect={(docs) => console.log(\'Selected:\', docs)}\n />\n )\n}\n```\n\n### With Custom Content Loading\n\n```tsx\nconst MyComponent = () => {\n const handleLoadContent = async (document: KnowledgeDocument) => {\n // Fetch content lazily for performance\n const response = await fetch(`/api/documents/${document.id}/content`)\n return response.text()\n }\n\n return <KnowledgeView contexts={contexts} onLoadDocumentContent={handleLoadContent} />\n}\n```\n\n### With Sharing Integration\n\n```tsx\nconst MyComponent = () => {\n const handleShare = (documents: KnowledgeDocument[]) => {\n const urls = documents.map((doc) => doc.url).join(\'\\n\')\n navigator.clipboard.writeText(urls)\n toast.success(\'Document links copied to clipboard!\')\n }\n\n return <KnowledgeView contexts={contexts} onShare={handleShare} />\n}\n```\n\n## Context Design Guidelines\n\n### Creating Effective Contexts\n\n1. **Purpose-driven**: Each context should serve a specific user need\n2. **Comprehensive**: Include all relevant documents for that context\n3. **Intuitive organization**: Use familiar categorization schemes\n4. **Balanced depth**: Avoid overly deep or flat hierarchies\n\n### Best Practices\n\n- **Limit context count**: 3-7 contexts work best for cognitive load\n- **Clear naming**: Use descriptive, action-oriented names\n- **Consistent structure**: Maintain similar organization patterns\n- **Regular review**: Update contexts as organizational needs evolve\n\n## Performance Considerations\n\n### Large Document Sets\n\n- Use `onLoadDocumentContent` for lazy loading\n- Implement virtual scrolling for 1000+ documents\n- Consider pagination for very large sets\n- Cache frequently accessed content\n\n### Memory Management\n\n- Unload content when switching contexts\n- Implement cleanup in useEffect hooks\n- Monitor memory usage in production\n- Use React.memo for expensive renders\n\n### Network Optimization\n\n- Batch API requests when possible\n- Implement request debouncing for search\n- Use service workers for offline support\n- Compress document metadata\n\n## Accessibility Features\n\n### Keyboard Navigation\n\n- **Tab**: Navigate through interactive elements\n- **Arrow keys**: Navigate tree structure\n- **Space/Enter**: Select/expand items\n- **Escape**: Close modals/dropdowns\n\n### Screen Reader Support\n\n- Semantic HTML structure\n- ARIA labels and descriptions\n- Focus management\n- Status announcements\n\n### Visual Accessibility\n\n- High contrast mode support\n- Respects `prefers-reduced-motion`\n- Scalable text and icons\n- Clear focus indicators\n\n## Testing Strategies\n\n### Unit Tests\n\n- Test document selection logic\n- Verify context switching\n- Mock API interactions\n- Test keyboard navigation\n\n### Integration Tests\n\n- Test with real data sets\n- Verify performance thresholds\n- Test error boundary behavior\n- Cross-browser compatibility\n\n### User Experience Tests\n\n- Usability testing with real users\n- Performance testing with large datasets\n- Accessibility audit compliance\n- Mobile responsiveness testing\n\n## Troubleshooting\n\n### Common Issues\n\n**Documents not loading**\n\n- Check context data structure\n- Verify document URLs are accessible\n- Check network connectivity\n- Review console for errors\n\n**Performance issues**\n\n- Implement lazy loading\n- Reduce initial data load\n- Check for memory leaks\n- Profile React components\n\n**Accessibility problems**\n\n- Run automated accessibility tests\n- Test with screen readers\n- Verify keyboard navigation\n- Check color contrast ratios\n\n### Debug Mode\n\nEnable debug logging by setting:\n\n```typescript\nwindow.__KNOWLEDGE_VIEW_DEBUG__ = true\n```\n\nThis will log:\n\n- Context switching events\n- Document selection changes\n- API request timing\n- Performance metrics\n\n## API Integration\n\n### Expected Data Format\n\n```typescript\n// Sample API response structure\n{\n "contexts": [\n {\n "id": "all-docs",\n "name": "All Documentation",\n "categories": [\n {\n "id": "guides",\n "name": "User Guides",\n "documents": [\n {\n "id": "user-onboarding",\n "title": "User Onboarding Guide",\n "url": "/docs/onboarding",\n "author": "John Doe",\n "lastModified": "2025-01-15T10:30:00Z",\n "tags": ["onboarding", "users"]\n }\n ]\n }\n ]\n }\n ]\n}\n```\n\n### Error Handling\n\nThe component handles various error states:\n\n- Network failures\n- Invalid data structures\n- Missing documents\n- Permission errors\n\nImplement proper error boundaries and user feedback for production use.\n\n## Future Enhancements\n\n### Planned Features\n\n- **Advanced search**: Full-text search with filters\n- **Document versioning**: Track and compare versions\n- **Collaborative features**: Comments and annotations\n- **Analytics integration**: Usage tracking and insights\n\n### Extension Points\n\n- **Custom renderers**: For different document types\n- **Plugin system**: For third-party integrations\n- **Theme customization**: Beyond basic styling\n- **Workflow integration**: Connect to approval processes\n\n---\n\n## Related Components\n\n- **DocumentPreview**: For detailed document viewing\n- **SearchInterface**: Advanced search capabilities\n- **DocumentEditor**: For content creation/editing\n- **AnalyticsDashboard**: Usage insights and metrics\n\nFor interactive examples and component variations, see the **Stories** tab.\n';
5
+ export {
6
+ KnowledgeView_docs_default as default
7
+ };
@@ -31,7 +31,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
31
31
  ));
32
32
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
33
33
 
34
- // src/components/Foundary/Views/KnowledgeView.tsx
34
+ // src/components/Foundry/Views/KnowledgeView.tsx
35
35
  var KnowledgeView_exports = {};
36
36
  __export(KnowledgeView_exports, {
37
37
  default: () => KnowledgeView
@@ -39,7 +39,7 @@ __export(KnowledgeView_exports, {
39
39
  module.exports = __toCommonJS(KnowledgeView_exports);
40
40
  var import_react14 = require("react");
41
41
 
42
- // src/components/Foundary/knowledge-browser.tsx
42
+ // src/components/Foundry/knowledge-browser.tsx
43
43
  var import_react10 = require("motion/react");
44
44
  var import_lucide_react8 = require("lucide-react");
45
45
  var import_react11 = require("react");
@@ -2570,7 +2570,7 @@ var ScrollBar = React2.forwardRef(({ className, orientation = "vertical", ...pro
2570
2570
  ));
2571
2571
  ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
2572
2572
 
2573
- // src/components/Foundary/document-preview.tsx
2573
+ // src/components/Foundry/document-preview.tsx
2574
2574
  var import_react8 = require("motion/react");
2575
2575
  var import_lucide_react7 = require("lucide-react");
2576
2576
  var import_react9 = require("react");
@@ -2684,10 +2684,10 @@ var DialogDescription = React4.forwardRef(({ className, ...props }, ref) => /* @
2684
2684
  ));
2685
2685
  DialogDescription.displayName = DialogPrimitive.Description.displayName;
2686
2686
 
2687
- // src/components/Foundary/document-preview.tsx
2687
+ // src/components/Foundry/document-preview.tsx
2688
2688
  var DialogPrimitive2 = __toESM(require("@radix-ui/react-dialog"));
2689
2689
 
2690
- // src/components/Foundary/document-edit.tsx
2690
+ // src/components/Foundry/document-edit.tsx
2691
2691
  var import_react6 = require("motion/react");
2692
2692
  var import_lucide_react6 = require("lucide-react");
2693
2693
  var import_react7 = require("react");
@@ -2905,7 +2905,7 @@ var EditableField = ({
2905
2905
  ] });
2906
2906
  };
2907
2907
 
2908
- // src/components/Foundary/RichText/index.tsx
2908
+ // src/components/Foundry/RichText/index.tsx
2909
2909
  var import_LexicalAutoFocusPlugin = require("@payloadcms/richtext-lexical/lexical/react/LexicalAutoFocusPlugin");
2910
2910
  var import_LexicalComposer = require("@payloadcms/richtext-lexical/lexical/react/LexicalComposer");
2911
2911
  var import_LexicalContentEditable = require("@payloadcms/richtext-lexical/lexical/react/LexicalContentEditable");
@@ -2918,7 +2918,7 @@ var import_rich_text2 = require("@payloadcms/richtext-lexical/lexical/rich-text"
2918
2918
  var import_LexicalOnChangePlugin = require("@payloadcms/richtext-lexical/lexical/react/LexicalOnChangePlugin");
2919
2919
  var import_react5 = require("react");
2920
2920
 
2921
- // src/components/Foundary/RichText/plugins/toolbar-plugin.tsx
2921
+ // src/components/Foundry/RichText/plugins/toolbar-plugin.tsx
2922
2922
  var import_LexicalComposerContext3 = require("@payloadcms/richtext-lexical/lexical/react/LexicalComposerContext");
2923
2923
  var import_utils11 = require("@payloadcms/richtext-lexical/lexical/utils");
2924
2924
  var import_lexical3 = require("@payloadcms/richtext-lexical/lexical");
@@ -2928,7 +2928,7 @@ var import_lucide_react5 = require("lucide-react");
2928
2928
  var import_react4 = require("react");
2929
2929
  var import_rich_text = require("@payloadcms/richtext-lexical/lexical/rich-text");
2930
2930
 
2931
- // src/components/Foundary/RichText/plugins/image-plugin.tsx
2931
+ // src/components/Foundry/RichText/plugins/image-plugin.tsx
2932
2932
  var import_LexicalComposerContext2 = require("@payloadcms/richtext-lexical/lexical/react/LexicalComposerContext");
2933
2933
  var import_utils9 = require("@payloadcms/richtext-lexical/lexical/utils");
2934
2934
  var import_lexical2 = require("@payloadcms/richtext-lexical/lexical");
@@ -2936,11 +2936,11 @@ var import_react3 = require("react");
2936
2936
  var import_react_dialog = require("@radix-ui/react-dialog");
2937
2937
  var import_client2 = require("@payloadcms/richtext-lexical/client");
2938
2938
 
2939
- // src/components/Foundary/RichText/nodes/image-node.tsx
2939
+ // src/components/Foundry/RichText/nodes/image-node.tsx
2940
2940
  var import_client = require("@payloadcms/richtext-lexical/client");
2941
2941
  var import_bson_objectid = __toESM(require("bson-objectid"));
2942
2942
 
2943
- // src/components/Foundary/RichText/components/RawUploadComponent/index.tsx
2943
+ // src/components/Foundry/RichText/components/RawUploadComponent/index.tsx
2944
2944
  var import_ui = require("@payloadcms/ui");
2945
2945
  var import_react2 = require("react");
2946
2946
  var import_LexicalComposerContext = require("@payloadcms/richtext-lexical/lexical/react/LexicalComposerContext");
@@ -2968,7 +2968,7 @@ var TooltipContent = React9.forwardRef(({ className, sideOffset = 4, ...props },
2968
2968
  ) }));
2969
2969
  TooltipContent.displayName = TooltipPrimitive.Content.displayName;
2970
2970
 
2971
- // src/components/Foundary/RichText/components/RawUploadComponent/index.tsx
2971
+ // src/components/Foundry/RichText/components/RawUploadComponent/index.tsx
2972
2972
  var import_jsx_runtime10 = require("react/jsx-runtime");
2973
2973
  var Component = (props) => {
2974
2974
  const {
@@ -3064,7 +3064,7 @@ var Component = (props) => {
3064
3064
  };
3065
3065
  var RawUploadComponent_default = Component;
3066
3066
 
3067
- // src/components/Foundary/RichText/nodes/image-node.tsx
3067
+ // src/components/Foundry/RichText/nodes/image-node.tsx
3068
3068
  var import_jsx_runtime11 = require("react/jsx-runtime");
3069
3069
  function $convertUploadElement(domNode) {
3070
3070
  if (domNode.hasAttribute("data-lexical-upload-relation-to") && domNode.hasAttribute("data-lexical-upload-id")) {
@@ -3112,7 +3112,7 @@ function $createMyUploadNode(data) {
3112
3112
  return new UploadNode({ data });
3113
3113
  }
3114
3114
 
3115
- // src/components/Foundary/RichText/plugins/image-plugin.tsx
3115
+ // src/components/Foundry/RichText/plugins/image-plugin.tsx
3116
3116
  var import_jsx_runtime12 = require("react/jsx-runtime");
3117
3117
  var CAN_USE_DOM = typeof window !== "undefined" && typeof window.document !== "undefined" && typeof window.document.createElement !== "undefined";
3118
3118
  var getDOMSelection = (targetWindow) => CAN_USE_DOM ? (targetWindow || window).getSelection() : null;
@@ -3345,7 +3345,7 @@ function getDragSelection(event) {
3345
3345
  return range;
3346
3346
  }
3347
3347
 
3348
- // src/components/Foundary/RichText/Icons/Bold.tsx
3348
+ // src/components/Foundry/RichText/Icons/Bold.tsx
3349
3349
  var import_jsx_runtime13 = require("react/jsx-runtime");
3350
3350
  var Bold = () => {
3351
3351
  return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
@@ -3371,7 +3371,7 @@ var Bold = () => {
3371
3371
  };
3372
3372
  var Bold_default = Bold;
3373
3373
 
3374
- // src/components/Foundary/RichText/Icons/Italic.tsx
3374
+ // src/components/Foundry/RichText/Icons/Italic.tsx
3375
3375
  var import_jsx_runtime14 = require("react/jsx-runtime");
3376
3376
  var Italic = () => {
3377
3377
  return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
@@ -3397,7 +3397,7 @@ var Italic = () => {
3397
3397
  };
3398
3398
  var Italic_default = Italic;
3399
3399
 
3400
- // src/components/Foundary/RichText/Icons/Underline.tsx
3400
+ // src/components/Foundry/RichText/Icons/Underline.tsx
3401
3401
  var import_jsx_runtime15 = require("react/jsx-runtime");
3402
3402
  var Underline = () => {
3403
3403
  return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
@@ -3426,7 +3426,7 @@ var Underline = () => {
3426
3426
  };
3427
3427
  var Underline_default = Underline;
3428
3428
 
3429
- // src/components/Foundary/RichText/Icons/StrikeThrough.tsx
3429
+ // src/components/Foundry/RichText/Icons/StrikeThrough.tsx
3430
3430
  var import_jsx_runtime16 = require("react/jsx-runtime");
3431
3431
  var Strikethrough = () => {
3432
3432
  return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
@@ -3455,7 +3455,7 @@ var Strikethrough = () => {
3455
3455
  };
3456
3456
  var StrikeThrough_default = Strikethrough;
3457
3457
 
3458
- // src/components/Foundary/RichText/Icons/Subscript.tsx
3458
+ // src/components/Foundry/RichText/Icons/Subscript.tsx
3459
3459
  var import_jsx_runtime17 = require("react/jsx-runtime");
3460
3460
  var Subscript = () => {
3461
3461
  return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
@@ -3481,7 +3481,7 @@ var Subscript = () => {
3481
3481
  };
3482
3482
  var Subscript_default = Subscript;
3483
3483
 
3484
- // src/components/Foundary/RichText/Icons/Superscript.tsx
3484
+ // src/components/Foundry/RichText/Icons/Superscript.tsx
3485
3485
  var import_jsx_runtime18 = require("react/jsx-runtime");
3486
3486
  var Superscript = () => {
3487
3487
  return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
@@ -3507,7 +3507,7 @@ var Superscript = () => {
3507
3507
  };
3508
3508
  var Superscript_default = Superscript;
3509
3509
 
3510
- // src/components/Foundary/RichText/Icons/Headings.tsx
3510
+ // src/components/Foundry/RichText/Icons/Headings.tsx
3511
3511
  var import_jsx_runtime19 = require("react/jsx-runtime");
3512
3512
  var TextIcon = () => {
3513
3513
  return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
@@ -3739,7 +3739,7 @@ var DropdownMenuShortcut = ({ className, ...props }) => {
3739
3739
  };
3740
3740
  DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
3741
3741
 
3742
- // src/components/Foundary/RichText/plugins/toolbar-plugin.tsx
3742
+ // src/components/Foundry/RichText/plugins/toolbar-plugin.tsx
3743
3743
  var import_jsx_runtime21 = require("react/jsx-runtime");
3744
3744
  var LowPriority = 1;
3745
3745
  function Divider() {
@@ -4129,7 +4129,7 @@ function ToolbarPlugin() {
4129
4129
  ] }) });
4130
4130
  }
4131
4131
 
4132
- // src/components/Foundary/RichText/index.tsx
4132
+ // src/components/Foundry/RichText/index.tsx
4133
4133
  var import_LexicalComposerContext4 = require("@payloadcms/richtext-lexical/lexical/react/LexicalComposerContext");
4134
4134
  var import_jsx_runtime22 = require("react/jsx-runtime");
4135
4135
  var RichTextContent = ({ setValue, value, name, editable = true }) => {
@@ -4245,7 +4245,7 @@ var RichText = ({ setValue, value, name, editable = true }) => {
4245
4245
  };
4246
4246
  var RichText_default = RichText;
4247
4247
 
4248
- // src/components/Foundary/document-edit.tsx
4248
+ // src/components/Foundry/document-edit.tsx
4249
4249
  var import_jsx_runtime23 = require("react/jsx-runtime");
4250
4250
  function DocumentEdit({
4251
4251
  document: document2,
@@ -4661,7 +4661,7 @@ function DocumentEdit({
4661
4661
  );
4662
4662
  }
4663
4663
 
4664
- // src/components/Foundary/document-preview.tsx
4664
+ // src/components/Foundry/document-preview.tsx
4665
4665
  var import_react_markdown = __toESM(require("react-markdown"));
4666
4666
  var import_remark_gfm = __toESM(require("remark-gfm"));
4667
4667
  var import_jsx_runtime24 = require("react/jsx-runtime");
@@ -4913,7 +4913,7 @@ function DocumentPreview({
4913
4913
  ] });
4914
4914
  }
4915
4915
 
4916
- // src/components/Foundary/knowledge-browser.tsx
4916
+ // src/components/Foundry/knowledge-browser.tsx
4917
4917
  var import_jsx_runtime25 = require("react/jsx-runtime");
4918
4918
  function MenuItem({
4919
4919
  label,
@@ -5191,7 +5191,7 @@ var Checkbox = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__
5191
5191
  ));
5192
5192
  Checkbox.displayName = CheckboxPrimitive.Root.displayName;
5193
5193
 
5194
- // src/components/Foundary/Knowledge/add-knowledge-modal.tsx
5194
+ // src/components/Foundry/Knowledge/add-knowledge-modal.tsx
5195
5195
  var import_lucide_react10 = require("lucide-react");
5196
5196
  var import_react12 = require("react");
5197
5197
  var import_jsx_runtime27 = require("react/jsx-runtime");
@@ -5436,10 +5436,10 @@ var AddKnowledgeModal = ({
5436
5436
  ] }) });
5437
5437
  };
5438
5438
 
5439
- // src/components/Foundary/Views/KnowledgeView.tsx
5439
+ // src/components/Foundry/Views/KnowledgeView.tsx
5440
5440
  var import_lucide_react12 = require("lucide-react");
5441
5441
 
5442
- // src/components/Foundary/Knowledge/manage-team-context.tsx
5442
+ // src/components/Foundry/Knowledge/manage-team-context.tsx
5443
5443
  var import_react13 = require("react");
5444
5444
  var import_lucide_react11 = require("lucide-react");
5445
5445
  var import_sonner = require("sonner");
@@ -5726,7 +5726,7 @@ var ManageTeamContextModal = ({
5726
5726
  ] }) });
5727
5727
  };
5728
5728
 
5729
- // src/components/Foundary/Views/KnowledgeView.tsx
5729
+ // src/components/Foundry/Views/KnowledgeView.tsx
5730
5730
  var import_jsx_runtime29 = require("react/jsx-runtime");
5731
5731
  function KnowledgeView({
5732
5732
  documents = [],
@@ -2,27 +2,27 @@
2
2
  "use strict";
3
3
  import {
4
4
  KnowledgeView
5
- } from "../../../chunk-K6N5K2A7.mjs";
6
- import "../../../chunk-CIFGBEFV.mjs";
7
- import "../../../chunk-25EF7VEC.mjs";
8
- import "../../../chunk-P4P6J2SW.mjs";
9
- import "../../../chunk-ZWV2O6CK.mjs";
10
- import "../../../chunk-2L6AWG6R.mjs";
11
- import "../../../chunk-HK2DQNBU.mjs";
12
- import "../../../chunk-VMDVXNP5.mjs";
13
- import "../../../chunk-RJZMTP7J.mjs";
14
- import "../../../chunk-YOKF4FEM.mjs";
15
- import "../../../chunk-XDV7AVPQ.mjs";
16
- import "../../../chunk-TP5AUT7W.mjs";
17
- import "../../../chunk-UYUP2DAL.mjs";
18
- import "../../../chunk-V4I6U2SE.mjs";
19
- import "../../../chunk-L3SZS7PC.mjs";
20
- import "../../../chunk-V2BZ7RE7.mjs";
21
- import "../../../chunk-EQYJUXKZ.mjs";
22
- import "../../../chunk-QUGB53Z3.mjs";
5
+ } from "../../../chunk-JWMQOARK.mjs";
6
+ import "../../../chunk-HNBHBFLY.mjs";
7
+ import "../../../chunk-F7JPOQIC.mjs";
8
+ import "../../../chunk-QJGBUBSB.mjs";
9
+ import "../../../chunk-GR45UN4U.mjs";
10
+ import "../../../chunk-AZ5MV7NO.mjs";
11
+ import "../../../chunk-ETV6EEYB.mjs";
12
+ import "../../../chunk-AKMJBGUU.mjs";
13
+ import "../../../chunk-PLFX66EX.mjs";
14
+ import "../../../chunk-EGCBZZGV.mjs";
15
+ import "../../../chunk-RV4VRLGN.mjs";
16
+ import "../../../chunk-DHB2L7O2.mjs";
17
+ import "../../../chunk-BMZG77IE.mjs";
18
+ import "../../../chunk-4JSM5VYZ.mjs";
19
+ import "../../../chunk-ZJB7AFL5.mjs";
20
+ import "../../../chunk-KHFPDDTO.mjs";
21
+ import "../../../chunk-AVNBD2X5.mjs";
22
+ import "../../../chunk-SNUES6JA.mjs";
23
23
  import "../../../chunk-ZFUPXIGR.mjs";
24
- import "../../../chunk-JCFLPLDK.mjs";
25
24
  import "../../../chunk-IBQBZNEA.mjs";
25
+ import "../../../chunk-JCFLPLDK.mjs";
26
26
  import "../../../chunk-3VKPPG4Z.mjs";
27
27
  import "../../../chunk-T2CLUB2R.mjs";
28
28
  import "../../../chunk-6V75REDA.mjs";
@@ -43,10 +43,10 @@ import "../../../chunk-EQHAE4MP.mjs";
43
43
  import "../../../chunk-SG5TVUD2.mjs";
44
44
  import "../../../chunk-23N4BX45.mjs";
45
45
  import "../../../chunk-6MKCSIL2.mjs";
46
- import "../../../chunk-AEFGMCK3.mjs";
46
+ import "../../../chunk-D5KV6INF.mjs";
47
+ import "../../../chunk-EPR27OQG.mjs";
47
48
  import "../../../chunk-7GPVQAMX.mjs";
48
49
  import "../../../chunk-HJCCUR2K.mjs";
49
- import "../../../chunk-EPR27OQG.mjs";
50
50
  import "../../../chunk-R7D7RJIE.mjs";
51
51
  import "../../../chunk-YMZ2OUK6.mjs";
52
52
  import "../../../chunk-EN2UUKLU.mjs";
@@ -32,7 +32,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
32
32
  ));
33
33
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
34
34
 
35
- // src/components/Foundary/Views/TeamsIndexView.tsx
35
+ // src/components/Foundry/Views/TeamsIndexView.tsx
36
36
  var TeamsIndexView_exports = {};
37
37
  __export(TeamsIndexView_exports, {
38
38
  default: () => TeamsIndexView
@@ -2589,15 +2589,16 @@ function useLocalStorage(key, initialValue) {
2589
2589
  return initialValue;
2590
2590
  }
2591
2591
  });
2592
- const setValue = (value) => {
2592
+ const setValue = (0, import_react.useCallback)((value) => {
2593
2593
  try {
2594
- setStoredValue(value);
2594
+ const valueToStore = value instanceof Function ? value(storedValue) : value;
2595
+ setStoredValue(valueToStore);
2595
2596
  if (typeof window !== "undefined") {
2596
- window.localStorage.setItem(key, JSON.stringify(value));
2597
+ window.localStorage.setItem(key, JSON.stringify(valueToStore));
2597
2598
  }
2598
2599
  } catch (error) {
2599
2600
  }
2600
- };
2601
+ }, [key, storedValue]);
2601
2602
  (0, import_react.useEffect)(() => {
2602
2603
  setValue(storedValue);
2603
2604
  }, []);
@@ -2926,7 +2927,7 @@ function TeamCard({ team, onOpen, className }) {
2926
2927
  ] }) });
2927
2928
  }
2928
2929
 
2929
- // src/components/Foundary/team-form.tsx
2930
+ // src/components/Foundry/team-form.tsx
2930
2931
  var import_react5 = require("react");
2931
2932
  var import_lucide_react3 = require("lucide-react");
2932
2933
 
@@ -3007,7 +3008,7 @@ var Switch = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
3007
3008
  ));
3008
3009
  Switch.displayName = SwitchPrimitives.Root.displayName;
3009
3010
 
3010
- // src/components/Foundary/team-form.tsx
3011
+ // src/components/Foundry/team-form.tsx
3011
3012
  var import_jsx_runtime11 = require("react/jsx-runtime");
3012
3013
  function TeamForm({
3013
3014
  team,
@@ -3241,7 +3242,7 @@ var DialogDescription = React8.forwardRef(({ className, ...props }, ref) => /* @
3241
3242
  ));
3242
3243
  DialogDescription.displayName = DialogPrimitive.Description.displayName;
3243
3244
 
3244
- // src/components/Foundary/Views/TeamsIndexView.tsx
3245
+ // src/components/Foundry/Views/TeamsIndexView.tsx
3245
3246
  var import_jsx_runtime13 = require("react/jsx-runtime");
3246
3247
  function TeamsIndexView({
3247
3248
  teams = [],
@@ -2,11 +2,11 @@
2
2
  "use strict";
3
3
  import {
4
4
  TeamsIndexView
5
- } from "../../../chunk-G46GZ57S.mjs";
6
- import "../../../chunk-4PFDNMLD.mjs";
5
+ } from "../../../chunk-6LF4K7ER.mjs";
7
6
  import "../../../chunk-R5LKUQ37.mjs";
8
- import "../../../chunk-QPO45D6F.mjs";
7
+ import "../../../chunk-WEIPDZOJ.mjs";
9
8
  import "../../../chunk-RQVP4AS3.mjs";
9
+ import "../../../chunk-I2MVZVXE.mjs";
10
10
  import "../../../chunk-C3RENDHG.mjs";
11
11
  import "../../../chunk-4UJUWE3A.mjs";
12
12
  import "../../../chunk-7CVOGGH6.mjs";
@@ -20,7 +20,7 @@ import "../../../chunk-JHOP4BOK.mjs";
20
20
  import "../../../chunk-ZSBTDL4H.mjs";
21
21
  import "../../../chunk-KZPGX6CG.mjs";
22
22
  import "../../../chunk-OZ77QF4K.mjs";
23
- import "../../../chunk-I4MTJN23.mjs";
23
+ import "../../../chunk-6A7T3O6T.mjs";
24
24
  import "../../../chunk-6DZX6EAA.mjs";
25
25
  export {
26
26
  TeamsIndexView as default