cortex-react-components 3.0.7 → 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 (228) hide show
  1. package/dist/{chunk-2TJ5HOCV.mjs → chunk-2S3O5TYH.mjs} +1 -1
  2. package/dist/{chunk-FUNWDVGQ.mjs → chunk-2ZSH4X75.mjs} +1 -1
  3. package/dist/{chunk-7OGBZ6QQ.mjs → chunk-354MPNDV.mjs} +1 -1
  4. package/dist/{chunk-2NKCNQ56.mjs → chunk-3YAZKLH3.mjs} +1 -1
  5. package/dist/{chunk-6B6BKJIE.mjs → chunk-44F47U5Y.mjs} +1 -1
  6. package/dist/{chunk-AICDXFGU.mjs → chunk-4BRK5CBG.mjs} +2 -2
  7. package/dist/{chunk-LSHBOPCT.mjs → chunk-4HFMA57F.mjs} +7 -4
  8. package/dist/{chunk-VMYEV3FG.mjs → chunk-4YRR74Y4.mjs} +1 -1
  9. package/dist/{chunk-7H3IRT7K.mjs → chunk-5CQITTLV.mjs} +1 -1
  10. package/dist/{chunk-LAJ5FNY4.mjs → chunk-5KOAYGTO.mjs} +5 -5
  11. package/dist/{chunk-DAQOEDAR.mjs → chunk-5NGZXIP7.mjs} +1 -1
  12. package/dist/{chunk-R2SJ5TZH.mjs → chunk-5Q43DAAS.mjs} +2 -2
  13. package/dist/{chunk-P4DQRHCA.mjs → chunk-6I3O6TVG.mjs} +1 -1
  14. package/dist/{chunk-EDJDHF22.mjs → chunk-6QSVFSOJ.mjs} +1 -1
  15. package/dist/{chunk-NAPGIF5D.mjs → chunk-B3UYSM32.mjs} +4 -4
  16. package/dist/{chunk-ZPWWTTFF.mjs → chunk-BPAZFILP.mjs} +1 -1
  17. package/dist/{chunk-ENFQLMV3.mjs → chunk-CKBIYWPM.mjs} +1 -1
  18. package/dist/{chunk-KVULICDA.mjs → chunk-COHYOWMB.mjs} +1 -1
  19. package/dist/{chunk-G3UZUSQZ.mjs → chunk-DWGG6JKH.mjs} +1 -1
  20. package/dist/{chunk-OS5X3ADZ.mjs → chunk-E5LGE3IW.mjs} +1 -1
  21. package/dist/{chunk-PAXCURFR.mjs → chunk-EGZL4DVZ.mjs} +1 -1
  22. package/dist/{chunk-NHDPHK6D.mjs → chunk-EUAQNPRU.mjs} +2 -2
  23. package/dist/chunk-F4LCVFZK.mjs +19 -0
  24. package/dist/{chunk-DO73CLFG.mjs → chunk-F563CDDJ.mjs} +2 -2
  25. package/dist/{chunk-URCY4KWN.mjs → chunk-G7WAPCKX.mjs} +1 -1
  26. package/dist/{chunk-FECAR2TE.mjs → chunk-GV3CMMKT.mjs} +1 -1
  27. package/dist/{chunk-KV5RVOAP.mjs → chunk-HGDLIXPQ.mjs} +1 -1
  28. package/dist/{chunk-I647IJUG.mjs → chunk-HJLIEMLX.mjs} +2 -2
  29. package/dist/{chunk-3R2LCGLI.mjs → chunk-HLEMFDTD.mjs} +1 -1
  30. package/dist/{chunk-VNSEHNDX.mjs → chunk-HXPXJ26M.mjs} +1 -1
  31. package/dist/{chunk-EC4N6ZH3.mjs → chunk-IXQESSPI.mjs} +1 -1
  32. package/dist/{chunk-6GO5N6ZP.mjs → chunk-KIZUBPPQ.mjs} +1 -1
  33. package/dist/{chunk-GZW77OJM.mjs → chunk-L34WYFSB.mjs} +1 -1
  34. package/dist/{chunk-DQZO42TD.mjs → chunk-MSAH6P5O.mjs} +1 -1
  35. package/dist/{chunk-TTVOGAI4.mjs → chunk-OFES4YYV.mjs} +2 -2
  36. package/dist/{chunk-RC6YHGVV.mjs → chunk-PE7KJR4A.mjs} +1 -1
  37. package/dist/{chunk-5OGDBGXG.mjs → chunk-PJZ5PWKP.mjs} +1 -1
  38. package/dist/{chunk-WMAVH7JO.mjs → chunk-QPPQNK6O.mjs} +2 -2
  39. package/dist/{chunk-DRCDP3RU.mjs → chunk-QRC3VJEY.mjs} +1 -1
  40. package/dist/{chunk-M5JROT2X.mjs → chunk-R242HNC3.mjs} +1 -1
  41. package/dist/{chunk-6Q4KYDHK.mjs → chunk-RJRQ3SY5.mjs} +2 -2
  42. package/dist/{chunk-HZZWKYB5.mjs → chunk-SHHLY2QV.mjs} +1 -1
  43. package/dist/{chunk-K3TF6OWE.mjs → chunk-SNNQIUJH.mjs} +5 -5
  44. package/dist/{chunk-6RAMGDYG.mjs → chunk-TMVCGF2B.mjs} +1 -1
  45. package/dist/{chunk-DAGWV4UL.mjs → chunk-TZDVVQBQ.mjs} +1 -1
  46. package/dist/{chunk-JBFNSEIJ.mjs → chunk-UETTBM3J.mjs} +1 -1
  47. package/dist/{chunk-DB2F6SID.mjs → chunk-ULYN63F3.mjs} +1 -1
  48. package/dist/{chunk-OXZ5QAXQ.mjs → chunk-USE5WY4U.mjs} +1 -1
  49. package/dist/{chunk-M6ELOAGS.mjs → chunk-VEIZROGM.mjs} +1 -1
  50. package/dist/{chunk-UJI3Y73K.mjs → chunk-X2KTMYOD.mjs} +2 -2
  51. package/dist/{chunk-LP3K7AVX.mjs → chunk-X6PPZZ2E.mjs} +14 -14
  52. package/dist/{chunk-UDZU3AZC.mjs → chunk-XWYGGWIF.mjs} +4 -4
  53. package/dist/{chunk-RKQ4CVVG.mjs → chunk-YI6FLZOK.mjs} +1 -1
  54. package/dist/{chunk-2PGER2HM.mjs → chunk-YJIB2FYD.mjs} +2 -2
  55. package/dist/{chunk-YFOEG4PP.mjs → chunk-Z6MYLHDW.mjs} +1 -1
  56. package/dist/{chunk-HQ2AUN2H.mjs → chunk-ZMITLXFT.mjs} +1 -1
  57. package/dist/components/AdvancedComponents/index.mjs +9 -9
  58. package/dist/components/AdvancedComponents/org-chart-component/OrgChart.mjs +4 -4
  59. package/dist/components/AdvancedComponents/org-chart-component/OrgNode.mjs +2 -2
  60. package/dist/components/AdvancedComponents/org-chart-component/OrgTree.mjs +3 -3
  61. package/dist/components/AdvancedComponents/org-chart-component/index.mjs +6 -6
  62. package/dist/components/Blocks/Banner.js +17 -1
  63. package/dist/components/Blocks/Banner.mjs +8 -7
  64. package/dist/components/Blocks/CallToAction.js +17 -1
  65. package/dist/components/Blocks/CallToAction.mjs +8 -7
  66. package/dist/components/Blocks/CollapsibleArea.js +17 -1
  67. package/dist/components/Blocks/CollapsibleArea.mjs +9 -8
  68. package/dist/components/Blocks/Content.js +17 -1
  69. package/dist/components/Blocks/Content.mjs +9 -8
  70. package/dist/components/Blocks/FeaturesBlock.js +17 -1
  71. package/dist/components/Blocks/FeaturesBlock.mjs +8 -7
  72. package/dist/components/Blocks/ImageBlock.mjs +3 -3
  73. package/dist/components/Blocks/MediaBlock.mjs +3 -3
  74. package/dist/components/Blocks/RelatedPosts.js +17 -1
  75. package/dist/components/Blocks/RelatedPosts.mjs +10 -9
  76. package/dist/components/Blocks/RenderBlocks.js +17 -1
  77. package/dist/components/Blocks/RenderBlocks.mjs +11 -10
  78. package/dist/components/Blocks/ReusableContentBlock.js +17 -1
  79. package/dist/components/Blocks/ReusableContentBlock.mjs +11 -10
  80. package/dist/components/Blocks/index.js +17 -1
  81. package/dist/components/Blocks/index.mjs +15 -14
  82. package/dist/components/CRM/CogeBoard.js +1 -1
  83. package/dist/components/CRM/CogeBoard.mjs +2 -2
  84. package/dist/components/CRM/DealDetails.js +1 -1
  85. package/dist/components/CRM/DealDetails.mjs +1 -1
  86. package/dist/components/CRM/KanbanBoard.js +1 -1
  87. package/dist/components/CRM/KanbanBoard.mjs +2 -2
  88. package/dist/components/CRM/NewDealForm.js +1 -1
  89. package/dist/components/CRM/NewDealForm.mjs +1 -1
  90. package/dist/components/CRM/index.js +2 -2
  91. package/dist/components/CRM/index.mjs +7 -7
  92. package/dist/components/CRM/mockData.js +6 -6
  93. package/dist/components/CRM/mockData.mjs +6 -6
  94. package/dist/components/Cards/ContentCard.js +17 -1
  95. package/dist/components/Cards/ContentCard.mjs +8 -7
  96. package/dist/components/Cards/FeatureCard.js +17 -1
  97. package/dist/components/Cards/FeatureCard.mjs +8 -7
  98. package/dist/components/Cards/index.js +17 -1
  99. package/dist/components/Cards/index.mjs +10 -9
  100. package/dist/components/Chat/ChatInterface.mjs +10 -10
  101. package/dist/components/Chat/CopilotInterface.mjs +11 -11
  102. package/dist/components/Chat/PartTypes/MessageHandler.mjs +8 -8
  103. package/dist/components/Chat/PartTypes/index.mjs +23 -23
  104. package/dist/components/Chat/demo-long-messages.mjs +11 -11
  105. package/dist/components/Chat/demo-tests.mjs +11 -11
  106. package/dist/components/Chat/demo.mjs +11 -11
  107. package/dist/components/Chat/example-usage.mjs +12 -12
  108. package/dist/components/Chat/example-with-vercel-ai.mjs +11 -11
  109. package/dist/components/Chat/index.mjs +18 -18
  110. package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +3 -3
  111. package/dist/components/DigitalColleagues/MainPage.mjs +8 -8
  112. package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +10 -10
  113. package/dist/components/DigitalColleagues/Views/ColleaguesView.mjs +2 -2
  114. package/dist/components/DigitalColleagues/Views/index.mjs +19 -19
  115. package/dist/components/DigitalColleagues/index.mjs +28 -28
  116. package/dist/components/Foundary/AppSidebarLeft.mjs +3 -3
  117. package/dist/components/Foundary/Knowledge/add-knowledge-modal.mjs +3 -3
  118. package/dist/components/Foundary/Knowledge/add-team-context.mjs +3 -3
  119. package/dist/components/Foundary/MainPage.mjs +8 -8
  120. package/dist/components/Foundary/Pages/dashboardpage.mjs +14 -14
  121. package/dist/components/Foundary/RichText/index.mjs +3 -3
  122. package/dist/components/Foundary/RichText/plugins/toolbar-plugin.mjs +2 -2
  123. package/dist/components/Foundary/Views/KnowledgeView.mjs +10 -10
  124. package/dist/components/Foundary/Views/index.mjs +21 -21
  125. package/dist/components/Foundary/document-edit.mjs +4 -4
  126. package/dist/components/Foundary/document-preview-examples.mjs +5 -5
  127. package/dist/components/Foundary/document-preview.mjs +5 -5
  128. package/dist/components/Foundary/file-edit.mjs +7 -7
  129. package/dist/components/Foundary/index.mjs +38 -38
  130. package/dist/components/Foundary/knowledge-browser.mjs +6 -6
  131. package/dist/components/HeaderFooter/SectionHeading.js +17 -1
  132. package/dist/components/HeaderFooter/SectionHeading.mjs +9 -8
  133. package/dist/components/HeaderFooter/index.mjs +8 -8
  134. package/dist/components/Heros/HighImpact/index.js +17 -1
  135. package/dist/components/Heros/HighImpact/index.mjs +9 -8
  136. package/dist/components/Heros/LowImpact/index.js +17 -1
  137. package/dist/components/Heros/LowImpact/index.mjs +9 -8
  138. package/dist/components/Heros/MediumImpact/index.js +17 -1
  139. package/dist/components/Heros/MediumImpact/index.mjs +9 -8
  140. package/dist/components/Heros/PostHero/index.mjs +3 -3
  141. package/dist/components/Heros/RenderHero.js +17 -1
  142. package/dist/components/Heros/RenderHero.mjs +12 -11
  143. package/dist/components/Heros/index.js +17 -1
  144. package/dist/components/Heros/index.mjs +17 -16
  145. package/dist/components/Layouts/OutputHeaderFooter.js +17 -1
  146. package/dist/components/Layouts/OutputHeaderFooter.mjs +12 -11
  147. package/dist/components/Layouts/Print.js +17 -1
  148. package/dist/components/Layouts/Print.mjs +16 -15
  149. package/dist/components/Layouts/SlideShow.js +17 -1
  150. package/dist/components/Layouts/SlideShow.mjs +17 -16
  151. package/dist/components/Layouts/index.js +17 -1
  152. package/dist/components/Layouts/index.mjs +21 -20
  153. package/dist/components/Menus/SidebarLeft.mjs +3 -3
  154. package/dist/components/Menus/SidebarLeftMulti.mjs +3 -3
  155. package/dist/components/Menus/SidebarRight.mjs +3 -3
  156. package/dist/components/Menus/index.mjs +8 -8
  157. package/dist/components/Payload/CollectionArchive/index.mjs +4 -4
  158. package/dist/components/Payload/Media/index.mjs +2 -2
  159. package/dist/components/Payload/PayloadCard/index.mjs +3 -3
  160. package/dist/components/Payload/RichText/index.js +17 -1
  161. package/dist/components/Payload/RichText/index.mjs +8 -7
  162. package/dist/components/Payload/RichText/serialize.js +17 -1
  163. package/dist/components/Payload/RichText/serialize.mjs +8 -7
  164. package/dist/components/Payload/index.js +17 -1
  165. package/dist/components/Payload/index.mjs +13 -12
  166. package/dist/components/Projects/FileView.mjs +10 -10
  167. package/dist/components/Projects/KanbanBoardView.mjs +12 -12
  168. package/dist/components/Projects/ProjectPage.mjs +15 -15
  169. package/dist/components/Projects/ProjectView.mjs +15 -15
  170. package/dist/components/Projects/TaskDetailsModal.mjs +11 -11
  171. package/dist/components/Projects/file-list.mjs +8 -8
  172. package/dist/components/Projects/index.mjs +14 -14
  173. package/dist/components/dc-temp/index.mjs +10 -10
  174. package/dist/components/index.js +19 -3
  175. package/dist/components/index.mjs +128 -127
  176. package/dist/components/ui/index.mjs +9 -9
  177. package/dist/components/ui/sidebar.mjs +2 -2
  178. package/dist/decorators/Intranet.mjs +77 -76
  179. package/dist/index.js +19 -3
  180. package/dist/index.mjs +142 -141
  181. package/dist/metafile-cjs.json +1 -1
  182. package/dist/metafile-esm.json +1 -1
  183. package/dist/pages/Blog.js +17 -1
  184. package/dist/pages/Blog.mjs +17 -16
  185. package/dist/pages/Documentation.mjs +8 -8
  186. package/dist/pages/IndexPage.mjs +22 -21
  187. package/dist/pages/Intranet.mjs +3 -3
  188. package/dist/pages/LandingPage.js +17 -1
  189. package/dist/pages/LandingPage.mjs +88 -87
  190. package/dist/pages/Page.js +17 -1
  191. package/dist/pages/Page.mjs +20 -19
  192. package/dist/pages/Publish.js +17 -1
  193. package/dist/pages/Publish.mjs +76 -75
  194. package/dist/pages/Website.js +17 -1
  195. package/dist/pages/Website.mjs +21 -20
  196. package/dist/payload-types.d.ts +1 -1
  197. package/dist/sections/AboutSection.js +17 -1
  198. package/dist/sections/AboutSection.mjs +10 -9
  199. package/dist/sections/BlogDetail.js +17 -1
  200. package/dist/sections/BlogDetail.mjs +9 -8
  201. package/dist/sections/BlogList.js +17 -1
  202. package/dist/sections/BlogList.mjs +10 -9
  203. package/dist/sections/BlogListSection.mjs +8 -8
  204. package/dist/sections/ContactSection.js +17 -1
  205. package/dist/sections/ContactSection.mjs +10 -9
  206. package/dist/sections/PageSections.js +17 -1
  207. package/dist/sections/PageSections.mjs +86 -85
  208. package/dist/sections/PricingSection.js +17 -1
  209. package/dist/sections/PricingSection.mjs +10 -9
  210. package/dist/sections/ServiceDetail.js +17 -1
  211. package/dist/sections/ServiceDetail.mjs +9 -8
  212. package/dist/sections/ServiceDetailSection.js +17 -1
  213. package/dist/sections/ServiceDetailSection.mjs +9 -8
  214. package/dist/sections/ServiceSection.js +17 -1
  215. package/dist/sections/ServiceSection.mjs +76 -75
  216. package/dist/sections/index.js +17 -1
  217. package/dist/sections/index.mjs +88 -87
  218. package/dist/utils/getLinkHref.d.ts +12 -0
  219. package/dist/utils/getLinkHref.js +43 -0
  220. package/dist/utils/getLinkHref.mjs +7 -0
  221. package/package.json +1 -1
  222. package/dist/{chunk-NKRBXAPF.mjs → chunk-2YHN7ZCJ.mjs} +3 -3
  223. package/dist/{chunk-EUAUP52U.mjs → chunk-7UMFQPR5.mjs} +3 -3
  224. package/dist/{chunk-AEFGMCK3.mjs → chunk-D5KV6INF.mjs} +3 -3
  225. package/dist/{chunk-ECCJ42NJ.mjs → chunk-M5XPU4JK.mjs} +11 -11
  226. package/dist/{chunk-CT6KAYGR.mjs → chunk-MFXCOX3L.mjs} +3 -3
  227. package/dist/{chunk-DZYAOBGH.mjs → chunk-PXB2ICFA.mjs} +3 -3
  228. 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-LSHBOPCT.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-LSHBOPCT.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-LSHBOPCT.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-6Q4KYDHK.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-LSHBOPCT.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-WMAVH7JO.mjs";
6
+ } from "./chunk-QPPQNK6O.mjs";
7
7
  import {
8
8
  SlideShow
9
- } from "./chunk-I647IJUG.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",
@@ -15,7 +15,7 @@ import {
15
15
  SidebarMenuSub,
16
16
  SidebarMenuSubButton,
17
17
  SidebarMenuSubItem
18
- } from "./chunk-AEFGMCK3.mjs";
18
+ } from "./chunk-D5KV6INF.mjs";
19
19
  import {
20
20
  Skeleton
21
21
  } from "./chunk-EPR27OQG.mjs";
@@ -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-ECCJ42NJ.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));
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-25OSLP2V.mjs";
10
10
  import {
11
11
  KanbanBoardView
12
- } from "./chunk-G3UZUSQZ.mjs";
12
+ } from "./chunk-DWGG6JKH.mjs";
13
13
  import {
14
14
  AddTaskModal
15
15
  } from "./chunk-3FBWSJJD.mjs";
@@ -18,7 +18,7 @@ import {
18
18
  } from "./chunk-YNWNEY2R.mjs";
19
19
  import {
20
20
  FileView
21
- } from "./chunk-DQZO42TD.mjs";
21
+ } from "./chunk-MSAH6P5O.mjs";
22
22
  import {
23
23
  AddEpicModal
24
24
  } from "./chunk-UDCOG2XL.mjs";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-25EF7VEC.mjs";
10
10
  import {
11
11
  KnowledgeBrowser
12
- } from "./chunk-2NKCNQ56.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-M5JROT2X.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-KV5RVOAP.mjs";
3
+ } from "./chunk-HGDLIXPQ.mjs";
4
4
  import {
5
5
  ContentBlock
6
- } from "./chunk-EC4N6ZH3.mjs";
6
+ } from "./chunk-IXQESSPI.mjs";
7
7
  import {
8
8
  CallToActionBlock,
9
9
  FeaturesBlock
10
- } from "./chunk-LSHBOPCT.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-DB2F6SID.mjs";
3
+ } from "./chunk-ULYN63F3.mjs";
4
4
  import {
5
5
  buildOrgTree
6
6
  } from "./chunk-RPFE6ORC.mjs";
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-WHCZTD2K.mjs";
13
13
  import {
14
14
  FileList
15
- } from "./chunk-HQ2AUN2H.mjs";
15
+ } from "./chunk-ZMITLXFT.mjs";
16
16
  import {
17
17
  mockApps,
18
18
  mockRecentFiles,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  RichText
3
- } from "./chunk-LSHBOPCT.mjs";
3
+ } from "./chunk-4HFMA57F.mjs";
4
4
 
5
5
  // src/components/Layouts/OutputHeaderFooter.tsx
6
6
  import Image from "next/image";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TaskDetailsModal
3
- } from "./chunk-UDZU3AZC.mjs";
3
+ } from "./chunk-XWYGGWIF.mjs";
4
4
  import {
5
5
  TaskCard
6
6
  } from "./chunk-EUOOS2Q3.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";
@@ -3,7 +3,7 @@
3
3
 
4
4
  import {
5
5
  AppSidebarLeft
6
- } from "./chunk-M6ELOAGS.mjs";
6
+ } from "./chunk-VEIZROGM.mjs";
7
7
  import {
8
8
  Breadcrumb,
9
9
  BreadcrumbItem,
@@ -19,7 +19,7 @@ import {
19
19
  SidebarInset,
20
20
  SidebarProvider,
21
21
  SidebarTrigger
22
- } from "./chunk-AEFGMCK3.mjs";
22
+ } from "./chunk-D5KV6INF.mjs";
23
23
  import {
24
24
  Separator
25
25
  } from "./chunk-7GPVQAMX.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-LSHBOPCT.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-M5JROT2X.mjs";
6
+ } from "./chunk-R242HNC3.mjs";
7
7
  import {
8
8
  EditableField
9
9
  } from "./chunk-3HO4HLPV.mjs";
@@ -15,7 +15,7 @@ import {
15
15
  SidebarMenuSub,
16
16
  SidebarMenuSubButton,
17
17
  SidebarMenuSubItem
18
- } from "./chunk-AEFGMCK3.mjs";
18
+ } from "./chunk-D5KV6INF.mjs";
19
19
  import {
20
20
  Skeleton
21
21
  } from "./chunk-EPR27OQG.mjs";
@@ -3,7 +3,7 @@
3
3
 
4
4
  import {
5
5
  RichText
6
- } from "./chunk-LSHBOPCT.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-KVULICDA.mjs";
8
+ } from "./chunk-COHYOWMB.mjs";
9
9
  import {
10
10
  RenderBlocks
11
- } from "./chunk-NAPGIF5D.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-LAJ5FNY4.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-LSHBOPCT.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-7OGBZ6QQ.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-HQ2AUN2H.mjs";
6
+ } from "./chunk-ZMITLXFT.mjs";
7
7
  import {
8
8
  AddFileModal
9
9
  } from "./chunk-HQW5M4ND.mjs";
@@ -3,7 +3,7 @@
3
3
 
4
4
  import {
5
5
  KnowledgeView
6
- } from "./chunk-P4DQRHCA.mjs";
6
+ } from "./chunk-6I3O6TVG.mjs";
7
7
  import {
8
8
  ColleaguesView
9
9
  } from "./chunk-XWCG4YG3.mjs";
@@ -22,7 +22,7 @@ import {
22
22
  } from "./chunk-WHCZTD2K.mjs";
23
23
  import {
24
24
  FileList
25
- } from "./chunk-HQ2AUN2H.mjs";
25
+ } from "./chunk-ZMITLXFT.mjs";
26
26
  import {
27
27
  mockApps,
28
28
  mockRecentFiles,
@@ -16,7 +16,7 @@ import {
16
16
  SidebarMenuSub,
17
17
  SidebarMenuSubButton,
18
18
  SidebarMenuSubItem
19
- } from "./chunk-AEFGMCK3.mjs";
19
+ } from "./chunk-D5KV6INF.mjs";
20
20
  import {
21
21
  Skeleton
22
22
  } from "./chunk-EPR27OQG.mjs";
@@ -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-KVULICDA.mjs";
7
+ } from "./chunk-COHYOWMB.mjs";
8
8
  import {
9
9
  RenderBlocks
10
- } from "./chunk-NAPGIF5D.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-7OGBZ6QQ.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-DZYAOBGH.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-EDJDHF22.mjs";
6
+ } from "./chunk-6QSVFSOJ.mjs";
7
7
  import {
8
8
  RichText_default
9
- } from "./chunk-M5JROT2X.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-7OGBZ6QQ.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
- HighImpactHero
6
- } from "./chunk-DO73CLFG.mjs";
7
4
  import {
8
5
  MediumImpactHero
9
- } from "./chunk-DAGWV4UL.mjs";
6
+ } from "./chunk-TZDVVQBQ.mjs";
7
+ import {
8
+ HighImpactHero
9
+ } from "./chunk-F563CDDJ.mjs";
10
10
  import {
11
11
  LowImpactHero
12
- } from "./chunk-OXZ5QAXQ.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";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SectionHeading
3
- } from "./chunk-7OGBZ6QQ.mjs";
3
+ } from "./chunk-354MPNDV.mjs";
4
4
  import {
5
5
  Container
6
6
  } from "./chunk-KL3DQ7AU.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  RichText
3
- } from "./chunk-LSHBOPCT.mjs";
3
+ } from "./chunk-4HFMA57F.mjs";
4
4
 
5
5
  // src/components/Heros/MediumImpact/index.tsx
6
6
  import Image from "next/image";
@@ -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";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-QVW2ETTT.mjs";
4
4
  import {
5
5
  OrgNode
6
- } from "./chunk-6OFY4WMY.mjs";
6
+ } from "./chunk-RWZ36G7W.mjs";
7
7
 
8
8
  // src/components/AdvancedComponents/org-chart-component/OrgTree.tsx
9
9
  import { useState, useRef, useEffect } from "react";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  RichText
3
- } from "./chunk-LSHBOPCT.mjs";
3
+ } from "./chunk-4HFMA57F.mjs";
4
4
 
5
5
  // src/components/Heros/LowImpact/index.tsx
6
6
  import { jsx } from "react/jsx-runtime";
@@ -15,7 +15,7 @@ import {
15
15
  SidebarMenuSub,
16
16
  SidebarMenuSubButton,
17
17
  SidebarMenuSubItem
18
- } from "./chunk-AEFGMCK3.mjs";
18
+ } from "./chunk-D5KV6INF.mjs";
19
19
  import {
20
20
  Skeleton
21
21
  } from "./chunk-EPR27OQG.mjs";
@@ -3,7 +3,7 @@
3
3
 
4
4
  import {
5
5
  AppSidebarLeft
6
- } from "./chunk-FECAR2TE.mjs";
6
+ } from "./chunk-GV3CMMKT.mjs";
7
7
  import {
8
8
  Breadcrumb,
9
9
  BreadcrumbItem,
@@ -19,7 +19,7 @@ import {
19
19
  SidebarInset,
20
20
  SidebarProvider,
21
21
  SidebarTrigger
22
- } from "./chunk-AEFGMCK3.mjs";
22
+ } from "./chunk-D5KV6INF.mjs";
23
23
  import {
24
24
  Separator
25
25
  } from "./chunk-7GPVQAMX.mjs";