cortex-react-components 3.0.6 → 3.0.8

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 (226) hide show
  1. package/dist/{chunk-FP7MLBPR.mjs → chunk-2S3O5TYH.mjs} +1 -1
  2. package/dist/{chunk-A45K7TLD.mjs → chunk-2ZSH4X75.mjs} +1 -1
  3. package/dist/{chunk-2QYYHKCF.mjs → chunk-354MPNDV.mjs} +1 -1
  4. package/dist/{chunk-GWAHXLXW.mjs → chunk-3YAZKLH3.mjs} +1 -1
  5. package/dist/{chunk-6X55BFTD.mjs → chunk-44F47U5Y.mjs} +1 -1
  6. package/dist/{chunk-TCSJWGPP.mjs → chunk-4BRK5CBG.mjs} +2 -2
  7. package/dist/{chunk-NV67QFQM.mjs → chunk-4HFMA57F.mjs} +7 -4
  8. package/dist/{chunk-7H3IRT7K.mjs → chunk-5CQITTLV.mjs} +1 -1
  9. package/dist/{chunk-MAQCJ7GT.mjs → chunk-5KOAYGTO.mjs} +5 -5
  10. package/dist/{chunk-DAQOEDAR.mjs → chunk-5NGZXIP7.mjs} +1 -1
  11. package/dist/{chunk-GNZFIBT4.mjs → chunk-5Q43DAAS.mjs} +8 -8
  12. package/dist/{chunk-URDEWGQC.mjs → chunk-6I3O6TVG.mjs} +1 -1
  13. package/dist/{chunk-E3ALXLNH.mjs → chunk-6QSVFSOJ.mjs} +1 -1
  14. package/dist/{chunk-ZDRZ4OQ6.mjs → chunk-B3UYSM32.mjs} +4 -4
  15. package/dist/{chunk-EG32GIHZ.mjs → chunk-BPAZFILP.mjs} +1 -1
  16. package/dist/{chunk-DHDEGEML.mjs → chunk-CKBIYWPM.mjs} +3 -3
  17. package/dist/{chunk-SP6YBXB2.mjs → chunk-COHYOWMB.mjs} +1 -1
  18. package/dist/{chunk-IRNGNLSK.mjs → chunk-DWGG6JKH.mjs} +4 -4
  19. package/dist/{chunk-OS5X3ADZ.mjs → chunk-E5LGE3IW.mjs} +1 -1
  20. package/dist/{chunk-PAXCURFR.mjs → chunk-EGZL4DVZ.mjs} +1 -1
  21. package/dist/{chunk-ITLPZK2Y.mjs → chunk-EUAQNPRU.mjs} +1 -1
  22. package/dist/chunk-F4LCVFZK.mjs +19 -0
  23. package/dist/{chunk-352XMFIA.mjs → chunk-F563CDDJ.mjs} +2 -2
  24. package/dist/{chunk-N2T6V3NP.mjs → chunk-G7WAPCKX.mjs} +1 -1
  25. package/dist/{chunk-QOPCGZNQ.mjs → chunk-HGDLIXPQ.mjs} +1 -1
  26. package/dist/{chunk-J67TVZKA.mjs → chunk-HJLIEMLX.mjs} +2 -2
  27. package/dist/{chunk-3R2LCGLI.mjs → chunk-HLEMFDTD.mjs} +1 -1
  28. package/dist/{chunk-R2LCV7J4.mjs → chunk-HXPXJ26M.mjs} +1 -1
  29. package/dist/{chunk-IMWMWTDR.mjs → chunk-IXQESSPI.mjs} +1 -1
  30. package/dist/{chunk-6GO5N6ZP.mjs → chunk-KIZUBPPQ.mjs} +1 -1
  31. package/dist/{chunk-OQ62XQNJ.mjs → chunk-L34WYFSB.mjs} +1 -1
  32. package/dist/{chunk-3IV2X2TP.mjs → chunk-MSAH6P5O.mjs} +1 -1
  33. package/dist/{chunk-NPH4VQCE.mjs → chunk-OFES4YYV.mjs} +6 -6
  34. package/dist/chunk-PE44IHZN.mjs +97 -0
  35. package/dist/{chunk-L3Z7RRWC.mjs → chunk-PE7KJR4A.mjs} +1 -1
  36. package/dist/{chunk-5OGDBGXG.mjs → chunk-PJZ5PWKP.mjs} +1 -1
  37. package/dist/{chunk-MBF6CBFG.mjs → chunk-QPPQNK6O.mjs} +2 -2
  38. package/dist/{chunk-OUPOGRNP.mjs → chunk-QRC3VJEY.mjs} +1 -1
  39. package/dist/{chunk-TPZCEPBQ.mjs → chunk-R242HNC3.mjs} +1 -1
  40. package/dist/{chunk-7RKAC2XY.mjs → chunk-RJRQ3SY5.mjs} +2 -2
  41. package/dist/{chunk-PBJRNOV6.mjs → chunk-SHHLY2QV.mjs} +1 -1
  42. package/dist/{chunk-5L5NXMN2.mjs → chunk-SNNQIUJH.mjs} +5 -5
  43. package/dist/{chunk-SGP3VC6H.mjs → chunk-TMVCGF2B.mjs} +1 -1
  44. package/dist/{chunk-O3CANERK.mjs → chunk-TZDVVQBQ.mjs} +1 -1
  45. package/dist/{chunk-JBFNSEIJ.mjs → chunk-UETTBM3J.mjs} +1 -1
  46. package/dist/{chunk-FLPPUI7L.mjs → chunk-ULYN63F3.mjs} +3 -3
  47. package/dist/{chunk-RYINW7OG.mjs → chunk-USE5WY4U.mjs} +1 -1
  48. package/dist/{chunk-3WWKFK6O.mjs → chunk-X2KTMYOD.mjs} +1 -1
  49. package/dist/{chunk-OU7KRO3L.mjs → chunk-X6PPZZ2E.mjs} +13 -13
  50. package/dist/{chunk-DPVVX4ZT.mjs → chunk-XWYGGWIF.mjs} +4 -4
  51. package/dist/{chunk-PSU7NVB6.mjs → chunk-YI6FLZOK.mjs} +1 -1
  52. package/dist/{chunk-VNLOFYZP.mjs → chunk-YJIB2FYD.mjs} +2 -2
  53. package/dist/{chunk-UGGMHEBS.mjs → chunk-ZMITLXFT.mjs} +1 -1
  54. package/dist/components/AdvancedComponents/index.mjs +11 -11
  55. package/dist/components/AdvancedComponents/org-chart-component/OrgChart.mjs +5 -5
  56. package/dist/components/AdvancedComponents/org-chart-component/OrgNode.mjs +2 -2
  57. package/dist/components/AdvancedComponents/org-chart-component/OrgTree.mjs +4 -4
  58. package/dist/components/AdvancedComponents/org-chart-component/index.mjs +8 -8
  59. package/dist/components/Blocks/Banner.js +17 -1
  60. package/dist/components/Blocks/Banner.mjs +9 -7
  61. package/dist/components/Blocks/CallToAction.js +17 -1
  62. package/dist/components/Blocks/CallToAction.mjs +9 -7
  63. package/dist/components/Blocks/CollapsibleArea.js +17 -1
  64. package/dist/components/Blocks/CollapsibleArea.mjs +10 -8
  65. package/dist/components/Blocks/Content.js +17 -1
  66. package/dist/components/Blocks/Content.mjs +10 -8
  67. package/dist/components/Blocks/FeaturesBlock.js +17 -1
  68. package/dist/components/Blocks/FeaturesBlock.mjs +9 -7
  69. package/dist/components/Blocks/ImageBlock.mjs +3 -3
  70. package/dist/components/Blocks/MediaBlock.mjs +3 -3
  71. package/dist/components/Blocks/RelatedPosts.js +17 -1
  72. package/dist/components/Blocks/RelatedPosts.mjs +11 -9
  73. package/dist/components/Blocks/RenderBlocks.js +17 -1
  74. package/dist/components/Blocks/RenderBlocks.mjs +12 -10
  75. package/dist/components/Blocks/ReusableContentBlock.js +17 -1
  76. package/dist/components/Blocks/ReusableContentBlock.mjs +12 -10
  77. package/dist/components/Blocks/index.js +17 -1
  78. package/dist/components/Blocks/index.mjs +16 -14
  79. package/dist/components/CRM/CogeBoard.js +1 -1
  80. package/dist/components/CRM/CogeBoard.mjs +2 -2
  81. package/dist/components/CRM/DealDetails.js +1 -1
  82. package/dist/components/CRM/DealDetails.mjs +1 -1
  83. package/dist/components/CRM/KanbanBoard.js +1 -1
  84. package/dist/components/CRM/KanbanBoard.mjs +2 -2
  85. package/dist/components/CRM/NewDealForm.js +1 -1
  86. package/dist/components/CRM/NewDealForm.mjs +1 -1
  87. package/dist/components/CRM/index.js +2 -2
  88. package/dist/components/CRM/index.mjs +7 -7
  89. package/dist/components/CRM/mockData.js +6 -6
  90. package/dist/components/CRM/mockData.mjs +6 -6
  91. package/dist/components/Cards/ContentCard.js +17 -1
  92. package/dist/components/Cards/ContentCard.mjs +9 -7
  93. package/dist/components/Cards/FeatureCard.js +17 -1
  94. package/dist/components/Cards/FeatureCard.mjs +9 -7
  95. package/dist/components/Cards/ImageProxy.css +917 -0
  96. package/dist/components/Cards/ImageProxy.d.ts +4 -0
  97. package/dist/components/Cards/ImageProxy.js +2667 -0
  98. package/dist/components/Cards/ImageProxy.mjs +15 -0
  99. package/dist/components/Cards/index.d.ts +1 -0
  100. package/dist/components/Cards/index.js +158 -57
  101. package/dist/components/Cards/index.mjs +14 -9
  102. package/dist/components/Chat/ChatInterface.mjs +7 -7
  103. package/dist/components/Chat/CopilotInterface.mjs +8 -8
  104. package/dist/components/Chat/PartTypes/MessageHandler.mjs +5 -5
  105. package/dist/components/Chat/PartTypes/index.mjs +13 -13
  106. package/dist/components/Chat/demo-long-messages.mjs +8 -8
  107. package/dist/components/Chat/demo-tests.mjs +8 -8
  108. package/dist/components/Chat/demo.mjs +8 -8
  109. package/dist/components/Chat/example-usage.mjs +9 -9
  110. package/dist/components/Chat/example-with-vercel-ai.mjs +8 -8
  111. package/dist/components/Chat/index.mjs +13 -13
  112. package/dist/components/DigitalColleagues/MainPage.mjs +8 -8
  113. package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +9 -9
  114. package/dist/components/DigitalColleagues/Views/ColleaguesView.mjs +2 -2
  115. package/dist/components/DigitalColleagues/Views/index.mjs +22 -22
  116. package/dist/components/DigitalColleagues/index.mjs +42 -42
  117. package/dist/components/Foundary/MainPage.mjs +8 -8
  118. package/dist/components/Foundary/Pages/dashboardpage.mjs +14 -14
  119. package/dist/components/Foundary/RichText/index.mjs +5 -5
  120. package/dist/components/Foundary/RichText/plugins/toolbar-plugin.mjs +4 -4
  121. package/dist/components/Foundary/Views/KnowledgeView.mjs +9 -9
  122. package/dist/components/Foundary/Views/index.mjs +26 -26
  123. package/dist/components/Foundary/document-edit.mjs +6 -6
  124. package/dist/components/Foundary/document-preview-examples.mjs +7 -7
  125. package/dist/components/Foundary/document-preview.mjs +7 -7
  126. package/dist/components/Foundary/file-edit.mjs +6 -6
  127. package/dist/components/Foundary/index.mjs +50 -50
  128. package/dist/components/Foundary/knowledge-browser.mjs +8 -8
  129. package/dist/components/HeaderFooter/Header.mjs +2 -2
  130. package/dist/components/HeaderFooter/SectionHeading.js +17 -1
  131. package/dist/components/HeaderFooter/SectionHeading.mjs +10 -8
  132. package/dist/components/HeaderFooter/index.mjs +14 -14
  133. package/dist/components/Heros/HighImpact/index.js +17 -1
  134. package/dist/components/Heros/HighImpact/index.mjs +10 -8
  135. package/dist/components/Heros/LowImpact/index.js +17 -1
  136. package/dist/components/Heros/LowImpact/index.mjs +10 -8
  137. package/dist/components/Heros/MediumImpact/index.js +17 -1
  138. package/dist/components/Heros/MediumImpact/index.mjs +10 -8
  139. package/dist/components/Heros/RenderHero.js +17 -1
  140. package/dist/components/Heros/RenderHero.mjs +13 -11
  141. package/dist/components/Heros/index.js +17 -1
  142. package/dist/components/Heros/index.mjs +15 -13
  143. package/dist/components/Layouts/OutputHeaderFooter.js +17 -1
  144. package/dist/components/Layouts/OutputHeaderFooter.mjs +12 -10
  145. package/dist/components/Layouts/Print.js +17 -1
  146. package/dist/components/Layouts/Print.mjs +16 -14
  147. package/dist/components/Layouts/SlideShow.js +17 -1
  148. package/dist/components/Layouts/SlideShow.mjs +17 -15
  149. package/dist/components/Layouts/index.js +17 -1
  150. package/dist/components/Layouts/index.mjs +26 -24
  151. package/dist/components/Menus/SidebarLeftMulti.js +1 -1
  152. package/dist/components/Menus/SidebarLeftMulti.mjs +1 -1
  153. package/dist/components/Menus/index.js +1 -1
  154. package/dist/components/Menus/index.mjs +1 -1
  155. package/dist/components/Payload/CollectionArchive/index.mjs +4 -4
  156. package/dist/components/Payload/Media/index.mjs +2 -2
  157. package/dist/components/Payload/PayloadCard/index.mjs +3 -3
  158. package/dist/components/Payload/RichText/index.js +17 -1
  159. package/dist/components/Payload/RichText/index.mjs +9 -7
  160. package/dist/components/Payload/RichText/serialize.js +17 -1
  161. package/dist/components/Payload/RichText/serialize.mjs +9 -7
  162. package/dist/components/Payload/index.js +17 -1
  163. package/dist/components/Payload/index.mjs +13 -11
  164. package/dist/components/Projects/EpicsView.mjs +2 -2
  165. package/dist/components/Projects/FileView.mjs +9 -9
  166. package/dist/components/Projects/KanbanBoardView.mjs +12 -12
  167. package/dist/components/Projects/ProjectPage.mjs +16 -16
  168. package/dist/components/Projects/ProjectView.mjs +16 -16
  169. package/dist/components/Projects/TaskDetailsModal.mjs +10 -10
  170. package/dist/components/Projects/file-list.mjs +7 -7
  171. package/dist/components/Projects/index.mjs +16 -16
  172. package/dist/components/dc-temp/index.mjs +10 -10
  173. package/dist/components/index.js +4188 -4087
  174. package/dist/components/index.mjs +144 -139
  175. package/dist/decorators/Intranet.mjs +83 -81
  176. package/dist/index.js +4429 -4328
  177. package/dist/index.mjs +157 -152
  178. package/dist/metafile-cjs.json +1 -1
  179. package/dist/metafile-esm.json +1 -1
  180. package/dist/pages/Blog.js +17 -1
  181. package/dist/pages/Blog.mjs +18 -16
  182. package/dist/pages/Documentation.mjs +7 -7
  183. package/dist/pages/IndexPage.mjs +21 -19
  184. package/dist/pages/Intranet.js +1 -1
  185. package/dist/pages/Intranet.mjs +1 -1
  186. package/dist/pages/LandingPage.js +17 -1
  187. package/dist/pages/LandingPage.mjs +93 -91
  188. package/dist/pages/Page.js +17 -1
  189. package/dist/pages/Page.mjs +21 -19
  190. package/dist/pages/Publish.js +17 -1
  191. package/dist/pages/Publish.mjs +84 -82
  192. package/dist/pages/Website.js +17 -1
  193. package/dist/pages/Website.mjs +25 -23
  194. package/dist/payload-types.d.ts +1 -1
  195. package/dist/sections/AboutSection.js +17 -1
  196. package/dist/sections/AboutSection.mjs +11 -9
  197. package/dist/sections/BlogDetail.js +17 -1
  198. package/dist/sections/BlogDetail.mjs +10 -8
  199. package/dist/sections/BlogList.js +17 -1
  200. package/dist/sections/BlogList.mjs +11 -9
  201. package/dist/sections/BlogListSection.mjs +2 -2
  202. package/dist/sections/ContactSection.js +17 -1
  203. package/dist/sections/ContactSection.mjs +11 -9
  204. package/dist/sections/PageSections.js +17 -1
  205. package/dist/sections/PageSections.mjs +93 -91
  206. package/dist/sections/PricingSection.js +17 -1
  207. package/dist/sections/PricingSection.mjs +11 -9
  208. package/dist/sections/ServiceDetail.js +17 -1
  209. package/dist/sections/ServiceDetail.mjs +10 -8
  210. package/dist/sections/ServiceDetailSection.js +17 -1
  211. package/dist/sections/ServiceDetailSection.mjs +10 -8
  212. package/dist/sections/ServiceSection.js +17 -1
  213. package/dist/sections/ServiceSection.mjs +84 -82
  214. package/dist/sections/index.js +17 -1
  215. package/dist/sections/index.mjs +95 -93
  216. package/dist/utils/getLinkHref.d.ts +12 -0
  217. package/dist/utils/getLinkHref.js +43 -0
  218. package/dist/utils/getLinkHref.mjs +7 -0
  219. package/package.json +1 -1
  220. package/dist/{chunk-6TVRFATY.mjs → chunk-25OSLP2V.mjs} +3 -3
  221. package/dist/{chunk-NKRBXAPF.mjs → chunk-2YHN7ZCJ.mjs} +3 -3
  222. package/dist/{chunk-EUAUP52U.mjs → chunk-7UMFQPR5.mjs} +3 -3
  223. package/dist/{chunk-PYAVZEWJ.mjs → chunk-FZMTC5ID.mjs} +3 -3
  224. package/dist/{chunk-57INGMKK.mjs → chunk-M5XPU4JK.mjs} +6 -6
  225. package/dist/{chunk-ECWGCKWS.mjs → chunk-PXB2ICFA.mjs} +6 -6
  226. package/dist/{chunk-6OFY4WMY.mjs → chunk-RWZ36G7W.mjs} +3 -3
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  FeatureCard,
6
6
  RichText
7
- } from "./chunk-NV67QFQM.mjs";
7
+ } from "./chunk-4HFMA57F.mjs";
8
8
  import {
9
9
  cn
10
10
  } from "./chunk-KZPGX6CG.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  RichText
3
- } from "./chunk-NV67QFQM.mjs";
3
+ } from "./chunk-4HFMA57F.mjs";
4
4
  import {
5
5
  Button
6
6
  } from "./chunk-I6LSWXZW.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  RichText
3
- } from "./chunk-NV67QFQM.mjs";
3
+ } from "./chunk-4HFMA57F.mjs";
4
4
  import {
5
5
  cn
6
6
  } from "./chunk-KZPGX6CG.mjs";
@@ -3,7 +3,7 @@
3
3
 
4
4
  import {
5
5
  DocumentPreview
6
- } from "./chunk-7RKAC2XY.mjs";
6
+ } from "./chunk-RJRQ3SY5.mjs";
7
7
  import {
8
8
  ScrollArea
9
9
  } from "./chunk-PDHMPRPW.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  RichText
3
- } from "./chunk-NV67QFQM.mjs";
3
+ } from "./chunk-4HFMA57F.mjs";
4
4
  import {
5
5
  cn
6
6
  } from "./chunk-KZPGX6CG.mjs";
@@ -3,10 +3,10 @@
3
3
 
4
4
  import {
5
5
  Printable
6
- } from "./chunk-MBF6CBFG.mjs";
6
+ } from "./chunk-QPPQNK6O.mjs";
7
7
  import {
8
8
  SlideShow
9
- } from "./chunk-J67TVZKA.mjs";
9
+ } from "./chunk-HJLIEMLX.mjs";
10
10
  import {
11
11
  getTableOfContents
12
12
  } from "./chunk-BXLYIIII.mjs";
@@ -16,15 +16,18 @@ import {
16
16
  import {
17
17
  Form
18
18
  } from "./chunk-GSG52WU5.mjs";
19
+ import {
20
+ ImageBlock
21
+ } from "./chunk-HLEMFDTD.mjs";
19
22
  import {
20
23
  MediaBlock
21
- } from "./chunk-6GO5N6ZP.mjs";
24
+ } from "./chunk-KIZUBPPQ.mjs";
22
25
  import {
23
26
  CodeBlock
24
27
  } from "./chunk-WPX6MOFB.mjs";
25
28
  import {
26
- ImageBlock
27
- } from "./chunk-3R2LCGLI.mjs";
29
+ getLinkHref
30
+ } from "./chunk-F4LCVFZK.mjs";
28
31
  import {
29
32
  DynamicIcon
30
33
  } from "./chunk-75ALYLZU.mjs";
@@ -146,7 +149,7 @@ function FeatureCard({
146
149
  return /* @__PURE__ */ jsxs2(
147
150
  "a",
148
151
  {
149
- href: link?.url || "#",
152
+ href: getLinkHref(link),
150
153
  className: cn(
151
154
  "min-w-56 max-w-xl h-full flex flex-col group bg-background",
152
155
  image ? "p-0" : "p-6 md:p-8",
@@ -3,7 +3,7 @@
3
3
 
4
4
  import {
5
5
  DealDetails
6
- } from "./chunk-OS5X3ADZ.mjs";
6
+ } from "./chunk-E5LGE3IW.mjs";
7
7
  import {
8
8
  KanbanColumn
9
9
  } from "./chunk-FAA3AKK5.mjs";
@@ -1,16 +1,16 @@
1
+ import {
2
+ Message,
3
+ MessageContent
4
+ } from "./chunk-FAKMLOOM.mjs";
1
5
  import {
2
6
  messageHandler
3
- } from "./chunk-57INGMKK.mjs";
7
+ } from "./chunk-M5XPU4JK.mjs";
4
8
  import {
5
9
  Conversation,
6
10
  ConversationContent,
7
11
  ConversationEmptyState,
8
12
  ConversationScrollButton
9
13
  } from "./chunk-LY77BPMB.mjs";
10
- import {
11
- Message,
12
- MessageContent
13
- } from "./chunk-FAKMLOOM.mjs";
14
14
  import {
15
15
  getContextualActions
16
16
  } from "./chunk-AXWYY2I5.mjs";
@@ -120,7 +120,7 @@ function NewDealForm({
120
120
  }
121
121
  };
122
122
  const getUserById = (userId) => {
123
- return users?.find((user) => user.id === Number(userId));
123
+ return users?.find((user) => user.id === userId);
124
124
  };
125
125
  const getCustomerById = (customerID) => {
126
126
  return customers?.find((customer) => customer.id === Number(customerID));
@@ -6,22 +6,22 @@ import {
6
6
  } from "./chunk-OIXHYJGP.mjs";
7
7
  import {
8
8
  EpicsView
9
- } from "./chunk-6TVRFATY.mjs";
9
+ } from "./chunk-25OSLP2V.mjs";
10
10
  import {
11
11
  KanbanBoardView
12
- } from "./chunk-IRNGNLSK.mjs";
12
+ } from "./chunk-DWGG6JKH.mjs";
13
+ import {
14
+ AddTaskModal
15
+ } from "./chunk-3FBWSJJD.mjs";
13
16
  import {
14
17
  PlanningView
15
18
  } from "./chunk-YNWNEY2R.mjs";
19
+ import {
20
+ FileView
21
+ } from "./chunk-MSAH6P5O.mjs";
16
22
  import {
17
23
  AddEpicModal
18
24
  } from "./chunk-UDCOG2XL.mjs";
19
- import {
20
- AddTaskModal
21
- } from "./chunk-3FBWSJJD.mjs";
22
- import {
23
- FileView
24
- } from "./chunk-3IV2X2TP.mjs";
25
25
  import {
26
26
  ManagementSidebar
27
27
  } from "./chunk-IWG2URAU.mjs";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-25EF7VEC.mjs";
10
10
  import {
11
11
  KnowledgeBrowser
12
- } from "./chunk-GWAHXLXW.mjs";
12
+ } from "./chunk-3YAZKLH3.mjs";
13
13
  import {
14
14
  DropdownMenu,
15
15
  DropdownMenuContent,
@@ -3,7 +3,7 @@
3
3
 
4
4
  import {
5
5
  RichText_default
6
- } from "./chunk-TPZCEPBQ.mjs";
6
+ } from "./chunk-R242HNC3.mjs";
7
7
  import {
8
8
  EditableField
9
9
  } from "./chunk-3HO4HLPV.mjs";
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  CollapsibleBlock
3
- } from "./chunk-QOPCGZNQ.mjs";
3
+ } from "./chunk-HGDLIXPQ.mjs";
4
4
  import {
5
5
  ContentBlock
6
- } from "./chunk-IMWMWTDR.mjs";
6
+ } from "./chunk-IXQESSPI.mjs";
7
7
  import {
8
8
  CallToActionBlock,
9
9
  FeaturesBlock
10
- } from "./chunk-NV67QFQM.mjs";
10
+ } from "./chunk-4HFMA57F.mjs";
11
11
  import {
12
12
  MediaBlock
13
- } from "./chunk-6GO5N6ZP.mjs";
13
+ } from "./chunk-KIZUBPPQ.mjs";
14
14
  import {
15
15
  cn
16
16
  } from "./chunk-KZPGX6CG.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  OrgTree
3
- } from "./chunk-FLPPUI7L.mjs";
3
+ } from "./chunk-ULYN63F3.mjs";
4
4
  import {
5
5
  buildOrgTree
6
6
  } from "./chunk-RPFE6ORC.mjs";
@@ -10,14 +10,14 @@ import {
10
10
  import {
11
11
  ProjectCard
12
12
  } from "./chunk-WHCZTD2K.mjs";
13
+ import {
14
+ FileList
15
+ } from "./chunk-ZMITLXFT.mjs";
13
16
  import {
14
17
  mockApps,
15
18
  mockRecentFiles,
16
19
  mockTutorials
17
20
  } from "./chunk-EMDTCDYI.mjs";
18
- import {
19
- FileList
20
- } from "./chunk-UGGMHEBS.mjs";
21
21
  import {
22
22
  DashboardHero
23
23
  } from "./chunk-VESIB4VP.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  RichText
3
- } from "./chunk-NV67QFQM.mjs";
3
+ } from "./chunk-4HFMA57F.mjs";
4
4
 
5
5
  // src/components/Layouts/OutputHeaderFooter.tsx
6
6
  import Image from "next/image";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  TaskDetailsModal
3
- } from "./chunk-DPVVX4ZT.mjs";
3
+ } from "./chunk-XWYGGWIF.mjs";
4
4
  import {
5
5
  TaskCard
6
6
  } from "./chunk-EUOOS2Q3.mjs";
7
+ import {
8
+ AddTaskModal
9
+ } from "./chunk-3FBWSJJD.mjs";
7
10
  import {
8
11
  KanbanColumn
9
12
  } from "./chunk-P7YLSTDO.mjs";
10
13
  import {
11
14
  AddEpicModal
12
15
  } from "./chunk-UDCOG2XL.mjs";
13
- import {
14
- AddTaskModal
15
- } from "./chunk-3FBWSJJD.mjs";
16
16
  import {
17
17
  DashboardHero
18
18
  } from "./chunk-VESIB4VP.mjs";
@@ -118,7 +118,7 @@ function DealDetails({
118
118
  }
119
119
  };
120
120
  const getUserById = (userId) => {
121
- return users?.find((user) => user.id === Number(userId));
121
+ return users?.find((user) => user.id === userId);
122
122
  };
123
123
  return /* @__PURE__ */ jsx(Dialog, { open: true, children: /* @__PURE__ */ jsxs(DialogContent, { className: "max-w-3xl max-h-[90vh] overflow-hidden flex flex-col [&>button:last-child]:hidden", children: [
124
124
  /* @__PURE__ */ jsxs(DialogHeader, { className: "flex flex-row items-center justify-between", children: [
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-4Z4X2GG7.mjs";
7
7
  import {
8
8
  Media
9
- } from "./chunk-NKRBXAPF.mjs";
9
+ } from "./chunk-2YHN7ZCJ.mjs";
10
10
  import {
11
11
  cn
12
12
  } from "./chunk-KZPGX6CG.mjs";
@@ -25,7 +25,7 @@ import {
25
25
  } from "./chunk-7GPVQAMX.mjs";
26
26
  import {
27
27
  Header
28
- } from "./chunk-PYAVZEWJ.mjs";
28
+ } from "./chunk-FZMTC5ID.mjs";
29
29
  import {
30
30
  cortex_reply_light_default
31
31
  } from "./chunk-7YNU7PA4.mjs";
@@ -0,0 +1,19 @@
1
+ // src/utils/getLinkHref.ts
2
+ function getLinkHref(link) {
3
+ if (!link) return "#";
4
+ if (link.url) return link.url;
5
+ if (link.reference?.value) {
6
+ const { relationTo, value } = link.reference;
7
+ const slug = value?.slug;
8
+ if (!slug) return "#";
9
+ if (relationTo === "pages") {
10
+ return `/${slug}`;
11
+ }
12
+ return `/${relationTo}/${slug}`;
13
+ }
14
+ return "#";
15
+ }
16
+
17
+ export {
18
+ getLinkHref
19
+ };
@@ -3,13 +3,13 @@
3
3
 
4
4
  import {
5
5
  RichText
6
- } from "./chunk-NV67QFQM.mjs";
6
+ } from "./chunk-4HFMA57F.mjs";
7
7
  import {
8
8
  CMSLink
9
9
  } from "./chunk-2NXKZY7U.mjs";
10
10
  import {
11
11
  Media
12
- } from "./chunk-NKRBXAPF.mjs";
12
+ } from "./chunk-2YHN7ZCJ.mjs";
13
13
 
14
14
  // src/components/Heros/HighImpact/index.tsx
15
15
  import Image from "next/image";
@@ -3,7 +3,7 @@
3
3
 
4
4
  import {
5
5
  RichText_default
6
- } from "./chunk-TPZCEPBQ.mjs";
6
+ } from "./chunk-R242HNC3.mjs";
7
7
  import {
8
8
  EditableField
9
9
  } from "./chunk-3HO4HLPV.mjs";
@@ -3,7 +3,7 @@
3
3
 
4
4
  import {
5
5
  RichText
6
- } from "./chunk-NV67QFQM.mjs";
6
+ } from "./chunk-4HFMA57F.mjs";
7
7
  import {
8
8
  cn
9
9
  } from "./chunk-KZPGX6CG.mjs";
@@ -5,10 +5,10 @@ import {
5
5
  Footer,
6
6
  HeaderTop,
7
7
  TitleSlide
8
- } from "./chunk-SP6YBXB2.mjs";
8
+ } from "./chunk-COHYOWMB.mjs";
9
9
  import {
10
10
  RenderBlocks
11
- } from "./chunk-ZDRZ4OQ6.mjs";
11
+ } from "./chunk-B3UYSM32.mjs";
12
12
  import {
13
13
  cn
14
14
  } from "./chunk-KZPGX6CG.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Media
3
- } from "./chunk-NKRBXAPF.mjs";
3
+ } from "./chunk-2YHN7ZCJ.mjs";
4
4
  import {
5
5
  cn
6
6
  } from "./chunk-KZPGX6CG.mjs";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-3SFZTG3H.mjs";
10
10
  import {
11
11
  ChatInterface
12
- } from "./chunk-MAQCJ7GT.mjs";
12
+ } from "./chunk-5KOAYGTO.mjs";
13
13
 
14
14
  // src/components/Chat/CopilotInterface.tsx
15
15
  import { useChat } from "@ai-sdk/react";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  RichText
3
- } from "./chunk-NV67QFQM.mjs";
3
+ } from "./chunk-4HFMA57F.mjs";
4
4
  import {
5
5
  CMSLink
6
6
  } from "./chunk-2NXKZY7U.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Media
3
- } from "./chunk-NKRBXAPF.mjs";
3
+ } from "./chunk-2YHN7ZCJ.mjs";
4
4
  import {
5
5
  cn
6
6
  } from "./chunk-KZPGX6CG.mjs";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-A4SKUZ2E.mjs";
4
4
  import {
5
5
  SectionHeading
6
- } from "./chunk-2QYYHKCF.mjs";
6
+ } from "./chunk-354MPNDV.mjs";
7
7
  import {
8
8
  PricingCard
9
9
  } from "./chunk-4GLXI5J3.mjs";
@@ -3,7 +3,7 @@
3
3
 
4
4
  import {
5
5
  FileList
6
- } from "./chunk-UGGMHEBS.mjs";
6
+ } from "./chunk-ZMITLXFT.mjs";
7
7
  import {
8
8
  AddFileModal
9
9
  } from "./chunk-HQW5M4ND.mjs";
@@ -1,12 +1,12 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
+ import {
5
+ KnowledgeView
6
+ } from "./chunk-6I3O6TVG.mjs";
4
7
  import {
5
8
  ColleaguesView
6
9
  } from "./chunk-XWCG4YG3.mjs";
7
- import {
8
- KnowledgeView
9
- } from "./chunk-URDEWGQC.mjs";
10
10
  import {
11
11
  mockNotifications,
12
12
  mockSidebarItems
@@ -20,14 +20,14 @@ import {
20
20
  import {
21
21
  ProjectCard
22
22
  } from "./chunk-WHCZTD2K.mjs";
23
+ import {
24
+ FileList
25
+ } from "./chunk-ZMITLXFT.mjs";
23
26
  import {
24
27
  mockApps,
25
28
  mockRecentFiles,
26
29
  mockTutorials
27
30
  } from "./chunk-EMDTCDYI.mjs";
28
- import {
29
- FileList
30
- } from "./chunk-UGGMHEBS.mjs";
31
31
  import {
32
32
  DashboardHero
33
33
  } from "./chunk-VESIB4VP.mjs";
@@ -0,0 +1,97 @@
1
+ "use client";
2
+ "use strict";
3
+
4
+ import {
5
+ Dialog,
6
+ DialogClose,
7
+ DialogContent,
8
+ DialogHeader,
9
+ DialogTitle
10
+ } from "./chunk-3BYULUMU.mjs";
11
+
12
+ // src/components/Cards/ImageProxy.tsx
13
+ import NextImage from "next/image";
14
+ import { useState } from "react";
15
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
16
+ function isExternalUrl(url) {
17
+ return url.startsWith("http");
18
+ }
19
+ function getAPIUrl(src, baseContext) {
20
+ let url = src;
21
+ if (isExternalUrl(src)) {
22
+ url = src;
23
+ } else {
24
+ let newSrc = src.replace("./", "");
25
+ if (newSrc.startsWith("/")) {
26
+ newSrc = newSrc.slice(1);
27
+ }
28
+ url = baseContext + "/" + newSrc;
29
+ }
30
+ return url;
31
+ }
32
+ function ImageComponent({ src, alt }) {
33
+ const [open, setOpen] = useState(false);
34
+ const [zoomable, setZoomable] = useState(false);
35
+ const [imageSize, setImageSize] = useState({ width: 0, height: 0 });
36
+ const handleClickOpen = () => {
37
+ if (zoomable) {
38
+ setOpen(true);
39
+ }
40
+ };
41
+ const handleClose = () => {
42
+ setOpen(false);
43
+ };
44
+ const handleImageLoaded = (event) => {
45
+ const { naturalWidth, naturalHeight } = event.target;
46
+ setImageSize({ width: naturalWidth, height: naturalHeight });
47
+ setZoomable(naturalWidth > 300 || naturalHeight > 300);
48
+ };
49
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
50
+ /* @__PURE__ */ jsx(
51
+ "div",
52
+ {
53
+ className: `relative mx-auto my-4 flex justify-center items-center cursor-pointer ${imageSize.height > 300 ? "h-[300px]" : `h-[${imageSize.height}px]`}`,
54
+ onClick: handleClickOpen,
55
+ children: /* @__PURE__ */ jsx(
56
+ NextImage,
57
+ {
58
+ sizes: "100vw",
59
+ height: imageSize.height,
60
+ width: imageSize.width,
61
+ src,
62
+ alt: alt || "",
63
+ onLoad: handleImageLoaded,
64
+ unoptimized: true,
65
+ className: "object-contain max-w-full max-h-full"
66
+ }
67
+ )
68
+ }
69
+ ),
70
+ /* @__PURE__ */ jsx(Dialog, { open, onOpenChange: setOpen, children: /* @__PURE__ */ jsxs(DialogContent, { className: "flex flex-col items-center justify-center", children: [
71
+ /* @__PURE__ */ jsxs(DialogHeader, { className: "flex w-full justify-end", children: [
72
+ /* @__PURE__ */ jsx(DialogTitle, { className: "hidden", children: alt }),
73
+ /* @__PURE__ */ jsx(DialogClose, {})
74
+ ] }),
75
+ /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ jsx(
76
+ NextImage,
77
+ {
78
+ height: imageSize.height,
79
+ width: imageSize.width,
80
+ src,
81
+ alt: alt || "",
82
+ unoptimized: true,
83
+ className: "object-contain"
84
+ }
85
+ ) })
86
+ ] }) })
87
+ ] });
88
+ }
89
+ function ImageProxy({ props, baseContext }) {
90
+ let { src } = props;
91
+ src = getAPIUrl(src, baseContext);
92
+ return /* @__PURE__ */ jsx(ImageComponent, { src, alt: props.alt });
93
+ }
94
+
95
+ export {
96
+ ImageProxy
97
+ };
@@ -78,7 +78,7 @@ function SidebarLeftMulti({
78
78
  mainNav && !loading && mainNav.map((item, index) => /* @__PURE__ */ jsxs(SidebarGroup, { children: [
79
79
  /* @__PURE__ */ jsx(SidebarGroupLabel, { children: item.name }),
80
80
  item && !loading && item.nav.map((item2, index2) => /* @__PURE__ */ jsx(Menu, { subNav: item2, pathName, Link }, index2))
81
- ] })),
81
+ ] }, index)),
82
82
  /* @__PURE__ */ jsx(SidebarGroup, { className: "mt-auto", children: /* @__PURE__ */ jsx(SidebarGroupContent, { children: /* @__PURE__ */ jsx(SidebarMenu, { children: secondaryNav && !loading && secondaryNav.map((item) => /* @__PURE__ */ jsx(SidebarMenuItem, { children: /* @__PURE__ */ jsx(SidebarMenuButton, { asChild: true, size: "sm", children: /* @__PURE__ */ jsxs(Link, { href: item.url || "", children: [
83
83
  item.icon && /* @__PURE__ */ jsx(item.icon, {}),
84
84
  /* @__PURE__ */ jsx("span", { children: item.label })
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  PayloadCard
3
- } from "./chunk-PAXCURFR.mjs";
3
+ } from "./chunk-EGZL4DVZ.mjs";
4
4
  import {
5
5
  cn
6
6
  } from "./chunk-KZPGX6CG.mjs";
@@ -4,10 +4,10 @@
4
4
  import {
5
5
  HeaderTop,
6
6
  TitleSlide
7
- } from "./chunk-SP6YBXB2.mjs";
7
+ } from "./chunk-COHYOWMB.mjs";
8
8
  import {
9
9
  RenderBlocks
10
- } from "./chunk-ZDRZ4OQ6.mjs";
10
+ } from "./chunk-B3UYSM32.mjs";
11
11
  import {
12
12
  getTableOfContents
13
13
  } from "./chunk-BXLYIIII.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SectionHeading
3
- } from "./chunk-2QYYHKCF.mjs";
3
+ } from "./chunk-354MPNDV.mjs";
4
4
  import {
5
5
  Form
6
6
  } from "./chunk-GSG52WU5.mjs";
@@ -3,7 +3,7 @@
3
3
 
4
4
  import {
5
5
  ToolbarPlugin
6
- } from "./chunk-ECWGCKWS.mjs";
6
+ } from "./chunk-PXB2ICFA.mjs";
7
7
  import {
8
8
  InlineImagePlugin
9
9
  } from "./chunk-XDV7AVPQ.mjs";
@@ -3,10 +3,10 @@
3
3
 
4
4
  import {
5
5
  DocumentEdit
6
- } from "./chunk-E3ALXLNH.mjs";
6
+ } from "./chunk-6QSVFSOJ.mjs";
7
7
  import {
8
8
  RichText_default
9
- } from "./chunk-TPZCEPBQ.mjs";
9
+ } from "./chunk-R242HNC3.mjs";
10
10
  import {
11
11
  Dialog,
12
12
  DialogOverlay,
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-A4SKUZ2E.mjs";
4
4
  import {
5
5
  SectionHeading
6
- } from "./chunk-2QYYHKCF.mjs";
6
+ } from "./chunk-354MPNDV.mjs";
7
7
  import {
8
8
  formatDateTimeStringShort
9
9
  } from "./chunk-RFP2KGUZ.mjs";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  SectionHero
3
3
  } from "./chunk-N77BYZ6A.mjs";
4
+ import {
5
+ MediumImpactHero
6
+ } from "./chunk-TZDVVQBQ.mjs";
4
7
  import {
5
8
  HighImpactHero
6
- } from "./chunk-352XMFIA.mjs";
9
+ } from "./chunk-F563CDDJ.mjs";
7
10
  import {
8
11
  LowImpactHero
9
- } from "./chunk-RYINW7OG.mjs";
10
- import {
11
- MediumImpactHero
12
- } from "./chunk-O3CANERK.mjs";
12
+ } from "./chunk-USE5WY4U.mjs";
13
13
 
14
14
  // src/components/Heros/RenderHero.tsx
15
15
  import { ChevronRightIcon, HomeIcon } from "@heroicons/react/20/solid";