cortex-react-components 3.0.5 → 3.0.7

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 (196) hide show
  1. package/dist/{chunk-GWAHXLXW.mjs → chunk-2NKCNQ56.mjs} +1 -1
  2. package/dist/{chunk-ZOFHFHXL.mjs → chunk-2PGER2HM.mjs} +2 -2
  3. package/dist/{chunk-AAKDTRG3.mjs → chunk-2TJ5HOCV.mjs} +1 -1
  4. package/dist/{chunk-HLEMFDTD.mjs → chunk-3R2LCGLI.mjs} +1 -1
  5. package/dist/{chunk-PJZ5PWKP.mjs → chunk-5OGDBGXG.mjs} +1 -1
  6. package/dist/{chunk-KVIDH5SD.mjs → chunk-6B6BKJIE.mjs} +1 -1
  7. package/dist/{chunk-KIZUBPPQ.mjs → chunk-6GO5N6ZP.mjs} +1 -1
  8. package/dist/{chunk-7RKAC2XY.mjs → chunk-6Q4KYDHK.mjs} +2 -2
  9. package/dist/{chunk-7VIJAEXG.mjs → chunk-6RAMGDYG.mjs} +1 -1
  10. package/dist/{chunk-6YUBCG37.mjs → chunk-7OGBZ6QQ.mjs} +1 -1
  11. package/dist/{chunk-S4MC47ZA.mjs → chunk-AEFGMCK3.mjs} +4 -4
  12. package/dist/{chunk-CPG7EY4Z.mjs → chunk-AICDXFGU.mjs} +2 -2
  13. package/dist/{chunk-B7C24XQW.mjs → chunk-DAGWV4UL.mjs} +1 -1
  14. package/dist/{chunk-NX7KXPAH.mjs → chunk-DO73CLFG.mjs} +2 -2
  15. package/dist/{chunk-3IV2X2TP.mjs → chunk-DQZO42TD.mjs} +1 -1
  16. package/dist/{chunk-UIWLR6ZC.mjs → chunk-DRCDP3RU.mjs} +1 -1
  17. package/dist/{chunk-IT3HYIBL.mjs → chunk-EC4N6ZH3.mjs} +1 -1
  18. package/dist/{chunk-E3ALXLNH.mjs → chunk-EDJDHF22.mjs} +1 -1
  19. package/dist/{chunk-DHDEGEML.mjs → chunk-ENFQLMV3.mjs} +3 -3
  20. package/dist/{chunk-BLU3UIFA.mjs → chunk-FECAR2TE.mjs} +1 -1
  21. package/dist/{chunk-AIDKOVWV.mjs → chunk-FUNWDVGQ.mjs} +1 -1
  22. package/dist/{chunk-IRNGNLSK.mjs → chunk-G3UZUSQZ.mjs} +4 -4
  23. package/dist/{chunk-YBNK6GSG.mjs → chunk-GZW77OJM.mjs} +1 -1
  24. package/dist/{chunk-UGGMHEBS.mjs → chunk-HQ2AUN2H.mjs} +1 -1
  25. package/dist/{chunk-CFAFJ5KR.mjs → chunk-HZZWKYB5.mjs} +1 -1
  26. package/dist/{chunk-BXUQXISR.mjs → chunk-I647IJUG.mjs} +2 -2
  27. package/dist/{chunk-VLBEXIPH.mjs → chunk-K3TF6OWE.mjs} +5 -5
  28. package/dist/{chunk-UFLN6VHA.mjs → chunk-KV5RVOAP.mjs} +1 -1
  29. package/dist/{chunk-XOABWF35.mjs → chunk-KVULICDA.mjs} +1 -1
  30. package/dist/{chunk-MAQCJ7GT.mjs → chunk-LAJ5FNY4.mjs} +1 -1
  31. package/dist/{chunk-UZYB4PHX.mjs → chunk-LP3K7AVX.mjs} +13 -13
  32. package/dist/{chunk-45O7B4HD.mjs → chunk-LSHBOPCT.mjs} +4 -4
  33. package/dist/{chunk-TPZCEPBQ.mjs → chunk-M5JROT2X.mjs} +1 -1
  34. package/dist/{chunk-QY2VILFH.mjs → chunk-M6ELOAGS.mjs} +1 -1
  35. package/dist/{chunk-UTC3MM5G.mjs → chunk-NAPGIF5D.mjs} +6 -6
  36. package/dist/{chunk-D2X3D3E5.mjs → chunk-NHDPHK6D.mjs} +2 -2
  37. package/dist/{chunk-ANQCYFDZ.mjs → chunk-OXZ5QAXQ.mjs} +1 -1
  38. package/dist/{chunk-AJUSUNMM.mjs → chunk-P4DQRHCA.mjs} +4 -4
  39. package/dist/{chunk-EGZL4DVZ.mjs → chunk-PAXCURFR.mjs} +1 -1
  40. package/dist/chunk-PE44IHZN.mjs +97 -0
  41. package/dist/{chunk-GNZFIBT4.mjs → chunk-R2SJ5TZH.mjs} +8 -8
  42. package/dist/{chunk-FNWH4ITN.mjs → chunk-RC6YHGVV.mjs} +2 -2
  43. package/dist/{chunk-OQ2FYTMU.mjs → chunk-RKQ4CVVG.mjs} +1 -1
  44. package/dist/{chunk-IBMNGXJR.mjs → chunk-TTVOGAI4.mjs} +6 -6
  45. package/dist/{chunk-DPVVX4ZT.mjs → chunk-UDZU3AZC.mjs} +1 -1
  46. package/dist/{chunk-QNKQX4CK.mjs → chunk-UJI3Y73K.mjs} +2 -2
  47. package/dist/{chunk-N2T6V3NP.mjs → chunk-URCY4KWN.mjs} +1 -1
  48. package/dist/{chunk-YWM44RIV.mjs → chunk-VMYEV3FG.mjs} +1 -1
  49. package/dist/{chunk-R2LCV7J4.mjs → chunk-VNSEHNDX.mjs} +1 -1
  50. package/dist/{chunk-KO4VYIIH.mjs → chunk-WMAVH7JO.mjs} +2 -2
  51. package/dist/{chunk-DYHCGFWB.mjs → chunk-YFOEG4PP.mjs} +1 -1
  52. package/dist/{chunk-EG32GIHZ.mjs → chunk-ZPWWTTFF.mjs} +1 -1
  53. package/dist/components/AdvancedComponents/index.mjs +5 -5
  54. package/dist/components/AdvancedComponents/org-chart-component/OrgChart.mjs +3 -3
  55. package/dist/components/AdvancedComponents/org-chart-component/OrgTree.mjs +2 -2
  56. package/dist/components/AdvancedComponents/org-chart-component/index.mjs +5 -5
  57. package/dist/components/Blocks/Banner.mjs +7 -6
  58. package/dist/components/Blocks/CallToAction.mjs +7 -6
  59. package/dist/components/Blocks/CollapsibleArea.mjs +8 -7
  60. package/dist/components/Blocks/Content.mjs +8 -7
  61. package/dist/components/Blocks/FeaturesBlock.mjs +7 -6
  62. package/dist/components/Blocks/ImageBlock.mjs +3 -3
  63. package/dist/components/Blocks/MediaBlock.mjs +3 -3
  64. package/dist/components/Blocks/RelatedPosts.mjs +9 -8
  65. package/dist/components/Blocks/RenderBlocks.mjs +10 -9
  66. package/dist/components/Blocks/ReusableContentBlock.mjs +10 -9
  67. package/dist/components/Blocks/index.mjs +23 -22
  68. package/dist/components/CRM/index.mjs +3 -3
  69. package/dist/components/Cards/ContentCard.mjs +7 -6
  70. package/dist/components/Cards/FeatureCard.mjs +7 -6
  71. package/dist/components/Cards/ImageProxy.css +917 -0
  72. package/dist/components/Cards/ImageProxy.d.ts +4 -0
  73. package/dist/components/Cards/ImageProxy.js +2667 -0
  74. package/dist/components/Cards/ImageProxy.mjs +15 -0
  75. package/dist/components/Cards/index.d.ts +1 -0
  76. package/dist/components/Cards/index.js +141 -56
  77. package/dist/components/Cards/index.mjs +10 -6
  78. package/dist/components/Chat/ChatInterface.mjs +5 -5
  79. package/dist/components/Chat/CopilotInterface.mjs +6 -6
  80. package/dist/components/Chat/PartTypes/MessageHandler.mjs +4 -4
  81. package/dist/components/Chat/PartTypes/index.mjs +17 -17
  82. package/dist/components/Chat/demo-long-messages.mjs +6 -6
  83. package/dist/components/Chat/demo-tests.mjs +6 -6
  84. package/dist/components/Chat/demo.mjs +6 -6
  85. package/dist/components/Chat/example-usage.mjs +7 -7
  86. package/dist/components/Chat/example-with-vercel-ai.mjs +6 -6
  87. package/dist/components/Chat/index.mjs +11 -11
  88. package/dist/components/DeliveryLead/DeliveryLeadSubmissionWithList.mjs +2 -2
  89. package/dist/components/DeliveryLead/index.mjs +4 -4
  90. package/dist/components/DigitalColleagues/AppSidebarLeft.js +1 -1
  91. package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +3 -3
  92. package/dist/components/DigitalColleagues/MainPage.js +1 -1
  93. package/dist/components/DigitalColleagues/MainPage.mjs +9 -9
  94. package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +11 -11
  95. package/dist/components/DigitalColleagues/Views/ColleaguesView.mjs +2 -2
  96. package/dist/components/DigitalColleagues/Views/index.mjs +23 -23
  97. package/dist/components/DigitalColleagues/index.js +1 -1
  98. package/dist/components/DigitalColleagues/index.mjs +42 -42
  99. package/dist/components/Foundary/AppSidebarLeft.js +1 -1
  100. package/dist/components/Foundary/AppSidebarLeft.mjs +3 -3
  101. package/dist/components/Foundary/Knowledge/add-knowledge-modal.mjs +3 -3
  102. package/dist/components/Foundary/Knowledge/add-team-context.mjs +3 -3
  103. package/dist/components/Foundary/MainPage.js +1 -1
  104. package/dist/components/Foundary/MainPage.mjs +9 -9
  105. package/dist/components/Foundary/Pages/dashboardpage.mjs +17 -17
  106. package/dist/components/Foundary/RichText/index.mjs +4 -4
  107. package/dist/components/Foundary/RichText/plugins/toolbar-plugin.mjs +3 -3
  108. package/dist/components/Foundary/Views/KnowledgeView.mjs +12 -12
  109. package/dist/components/Foundary/Views/index.mjs +28 -28
  110. package/dist/components/Foundary/document-edit.mjs +5 -5
  111. package/dist/components/Foundary/document-preview-examples.mjs +6 -6
  112. package/dist/components/Foundary/document-preview.mjs +6 -6
  113. package/dist/components/Foundary/file-edit.mjs +8 -8
  114. package/dist/components/Foundary/index.js +1 -1
  115. package/dist/components/Foundary/index.mjs +42 -42
  116. package/dist/components/Foundary/knowledge-browser.mjs +7 -7
  117. package/dist/components/HeaderFooter/SectionHeading.mjs +8 -7
  118. package/dist/components/HeaderFooter/index.mjs +7 -7
  119. package/dist/components/Heros/HighImpact/index.mjs +8 -7
  120. package/dist/components/Heros/LowImpact/index.mjs +8 -7
  121. package/dist/components/Heros/MediumImpact/index.mjs +8 -7
  122. package/dist/components/Heros/PostHero/index.mjs +3 -3
  123. package/dist/components/Heros/RenderHero.mjs +11 -10
  124. package/dist/components/Heros/index.mjs +16 -15
  125. package/dist/components/Holidays/HolidayTracker.mjs +2 -2
  126. package/dist/components/Holidays/index.mjs +4 -4
  127. package/dist/components/Layouts/OutputHeaderFooter.mjs +11 -10
  128. package/dist/components/Layouts/Print.mjs +15 -14
  129. package/dist/components/Layouts/SlideShow.mjs +19 -18
  130. package/dist/components/Layouts/index.mjs +23 -22
  131. package/dist/components/Menus/SidebarLeft.js +1 -1
  132. package/dist/components/Menus/SidebarLeft.mjs +3 -3
  133. package/dist/components/Menus/SidebarLeftMulti.js +2 -2
  134. package/dist/components/Menus/SidebarLeftMulti.mjs +3 -3
  135. package/dist/components/Menus/SidebarRight.js +1 -1
  136. package/dist/components/Menus/SidebarRight.mjs +3 -3
  137. package/dist/components/Menus/index.js +2 -2
  138. package/dist/components/Menus/index.mjs +8 -8
  139. package/dist/components/Payload/CollectionArchive/index.mjs +4 -4
  140. package/dist/components/Payload/Media/index.mjs +2 -2
  141. package/dist/components/Payload/PayloadCard/index.mjs +3 -3
  142. package/dist/components/Payload/RichText/index.mjs +7 -6
  143. package/dist/components/Payload/RichText/serialize.mjs +7 -6
  144. package/dist/components/Payload/index.mjs +12 -11
  145. package/dist/components/Projects/EpicsView.mjs +2 -2
  146. package/dist/components/Projects/FileView.mjs +11 -11
  147. package/dist/components/Projects/KanbanBoardView.mjs +13 -13
  148. package/dist/components/Projects/ProjectPage.mjs +17 -17
  149. package/dist/components/Projects/ProjectView.mjs +17 -17
  150. package/dist/components/Projects/TaskDetailsModal.mjs +10 -10
  151. package/dist/components/Projects/file-list.mjs +9 -9
  152. package/dist/components/Projects/index.mjs +16 -16
  153. package/dist/components/dc-temp/index.mjs +12 -12
  154. package/dist/components/index.js +4169 -4084
  155. package/dist/components/index.mjs +137 -133
  156. package/dist/components/ui/index.js +1 -1
  157. package/dist/components/ui/index.mjs +9 -9
  158. package/dist/components/ui/sidebar.js +1 -1
  159. package/dist/components/ui/sidebar.mjs +2 -2
  160. package/dist/decorators/Intranet.mjs +81 -80
  161. package/dist/index.js +4410 -4325
  162. package/dist/index.mjs +151 -147
  163. package/dist/metafile-cjs.json +1 -1
  164. package/dist/metafile-esm.json +1 -1
  165. package/dist/pages/Blog.mjs +17 -16
  166. package/dist/pages/Documentation.js +1 -1
  167. package/dist/pages/Documentation.mjs +9 -9
  168. package/dist/pages/IndexPage.js +1 -1
  169. package/dist/pages/IndexPage.mjs +23 -22
  170. package/dist/pages/Intranet.js +2 -2
  171. package/dist/pages/Intranet.mjs +4 -4
  172. package/dist/pages/LandingPage.mjs +90 -89
  173. package/dist/pages/Page.mjs +20 -19
  174. package/dist/pages/Publish.mjs +80 -79
  175. package/dist/pages/Website.mjs +21 -20
  176. package/dist/sections/AboutSection.mjs +9 -8
  177. package/dist/sections/BlogDetail.mjs +8 -7
  178. package/dist/sections/BlogList.mjs +9 -8
  179. package/dist/sections/BlogListSection.mjs +8 -8
  180. package/dist/sections/ContactSection.mjs +9 -8
  181. package/dist/sections/PageSections.mjs +90 -89
  182. package/dist/sections/PricingSection.mjs +9 -8
  183. package/dist/sections/ServiceDetail.mjs +8 -7
  184. package/dist/sections/ServiceDetailSection.mjs +8 -7
  185. package/dist/sections/ServiceSection.mjs +80 -79
  186. package/dist/sections/index.mjs +92 -91
  187. package/package.json +1 -1
  188. package/dist/{chunk-6TVRFATY.mjs → chunk-25OSLP2V.mjs} +3 -3
  189. package/dist/{chunk-MFXCOX3L.mjs → chunk-CT6KAYGR.mjs} +3 -3
  190. package/dist/{chunk-FLPPUI7L.mjs → chunk-DB2F6SID.mjs} +3 -3
  191. package/dist/{chunk-ECWGCKWS.mjs → chunk-DZYAOBGH.mjs} +3 -3
  192. package/dist/{chunk-57INGMKK.mjs → chunk-ECCJ42NJ.mjs} +7 -7
  193. package/dist/{chunk-7UMFQPR5.mjs → chunk-EUAUP52U.mjs} +3 -3
  194. package/dist/{chunk-EUBIQIF4.mjs → chunk-GXTF5CHJ.mjs} +3 -3
  195. package/dist/{chunk-2YHN7ZCJ.mjs → chunk-NKRBXAPF.mjs} +3 -3
  196. package/dist/{chunk-FTVOJKVA.mjs → chunk-SNG6OKEL.mjs} +3 -3
@@ -3,7 +3,7 @@
3
3
 
4
4
  import {
5
5
  DocumentPreview
6
- } from "./chunk-7RKAC2XY.mjs";
6
+ } from "./chunk-6Q4KYDHK.mjs";
7
7
  import {
8
8
  ScrollArea
9
9
  } from "./chunk-PDHMPRPW.mjs";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  PayloadCard
3
- } from "./chunk-EGZL4DVZ.mjs";
3
+ } from "./chunk-PAXCURFR.mjs";
4
4
  import {
5
5
  RichText
6
- } from "./chunk-45O7B4HD.mjs";
6
+ } from "./chunk-LSHBOPCT.mjs";
7
7
 
8
8
  // src/components/Blocks/RelatedPosts.tsx
9
9
  import clsx from "clsx";
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  FeatureCard,
6
6
  RichText
7
- } from "./chunk-45O7B4HD.mjs";
7
+ } from "./chunk-LSHBOPCT.mjs";
8
8
  import {
9
9
  cn
10
10
  } from "./chunk-KZPGX6CG.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Media
3
- } from "./chunk-2YHN7ZCJ.mjs";
3
+ } from "./chunk-NKRBXAPF.mjs";
4
4
  import {
5
5
  cn
6
6
  } from "./chunk-KZPGX6CG.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  PayloadCard
3
- } from "./chunk-EGZL4DVZ.mjs";
3
+ } from "./chunk-PAXCURFR.mjs";
4
4
  import {
5
5
  cn
6
6
  } from "./chunk-KZPGX6CG.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  RichText
3
- } from "./chunk-45O7B4HD.mjs";
3
+ } from "./chunk-LSHBOPCT.mjs";
4
4
  import {
5
5
  cn
6
6
  } from "./chunk-KZPGX6CG.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Media
3
- } from "./chunk-2YHN7ZCJ.mjs";
3
+ } from "./chunk-NKRBXAPF.mjs";
4
4
  import {
5
5
  cn
6
6
  } from "./chunk-KZPGX6CG.mjs";
@@ -3,10 +3,10 @@
3
3
 
4
4
  import {
5
5
  DocumentEdit
6
- } from "./chunk-E3ALXLNH.mjs";
6
+ } from "./chunk-EDJDHF22.mjs";
7
7
  import {
8
8
  RichText_default
9
- } from "./chunk-TPZCEPBQ.mjs";
9
+ } from "./chunk-M5JROT2X.mjs";
10
10
  import {
11
11
  Dialog,
12
12
  DialogOverlay,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SectionHeading
3
- } from "./chunk-6YUBCG37.mjs";
3
+ } from "./chunk-7OGBZ6QQ.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-45O7B4HD.mjs";
3
+ } from "./chunk-LSHBOPCT.mjs";
4
4
  import {
5
5
  cn
6
6
  } from "./chunk-KZPGX6CG.mjs";
@@ -1,9 +1,6 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import {
5
- Skeleton
6
- } from "./chunk-EPR27OQG.mjs";
7
4
  import {
8
5
  Separator
9
6
  } from "./chunk-7GPVQAMX.mjs";
@@ -11,6 +8,9 @@ import {
11
8
  Sheet,
12
9
  SheetContent
13
10
  } from "./chunk-HJCCUR2K.mjs";
11
+ import {
12
+ Skeleton
13
+ } from "./chunk-EPR27OQG.mjs";
14
14
  import {
15
15
  Input
16
16
  } from "./chunk-YMZ2OUK6.mjs";
@@ -60,7 +60,7 @@ var SidebarProvider = React.forwardRef(
60
60
  children,
61
61
  ...props
62
62
  }, ref) => {
63
- const isMobile = useIsMobile();
63
+ const isMobile = useIsMobile(1300);
64
64
  const [openMobile, setOpenMobile] = React.useState(false);
65
65
  const [_open, _setOpen] = React.useState(defaultOpen);
66
66
  const open = openProp ?? _open;
@@ -3,10 +3,10 @@
3
3
 
4
4
  import {
5
5
  Printable
6
- } from "./chunk-KO4VYIIH.mjs";
6
+ } from "./chunk-WMAVH7JO.mjs";
7
7
  import {
8
8
  SlideShow
9
- } from "./chunk-BXUQXISR.mjs";
9
+ } from "./chunk-I647IJUG.mjs";
10
10
  import {
11
11
  getTableOfContents
12
12
  } from "./chunk-BXLYIIII.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  RichText
3
- } from "./chunk-45O7B4HD.mjs";
3
+ } from "./chunk-LSHBOPCT.mjs";
4
4
 
5
5
  // src/components/Heros/MediumImpact/index.tsx
6
6
  import Image from "next/image";
@@ -3,13 +3,13 @@
3
3
 
4
4
  import {
5
5
  RichText
6
- } from "./chunk-45O7B4HD.mjs";
6
+ } from "./chunk-LSHBOPCT.mjs";
7
7
  import {
8
8
  CMSLink
9
9
  } from "./chunk-2NXKZY7U.mjs";
10
10
  import {
11
11
  Media
12
- } from "./chunk-2YHN7ZCJ.mjs";
12
+ } from "./chunk-NKRBXAPF.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
  FileList
6
- } from "./chunk-UGGMHEBS.mjs";
6
+ } from "./chunk-HQ2AUN2H.mjs";
7
7
  import {
8
8
  AddFileModal
9
9
  } from "./chunk-HQW5M4ND.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SectionHeading
3
- } from "./chunk-6YUBCG37.mjs";
3
+ } from "./chunk-7OGBZ6QQ.mjs";
4
4
  import {
5
5
  Form
6
6
  } from "./chunk-GSG52WU5.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  RichText
3
- } from "./chunk-45O7B4HD.mjs";
3
+ } from "./chunk-LSHBOPCT.mjs";
4
4
  import {
5
5
  CMSLink
6
6
  } from "./chunk-2NXKZY7U.mjs";
@@ -3,7 +3,7 @@
3
3
 
4
4
  import {
5
5
  RichText_default
6
- } from "./chunk-TPZCEPBQ.mjs";
6
+ } from "./chunk-M5JROT2X.mjs";
7
7
  import {
8
8
  EditableField
9
9
  } from "./chunk-3HO4HLPV.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-HQ2AUN2H.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";
@@ -15,7 +15,7 @@ import {
15
15
  SidebarMenuSub,
16
16
  SidebarMenuSubButton,
17
17
  SidebarMenuSubItem
18
- } from "./chunk-S4MC47ZA.mjs";
18
+ } from "./chunk-AEFGMCK3.mjs";
19
19
  import {
20
20
  Skeleton
21
21
  } from "./chunk-EPR27OQG.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  RichText
3
- } from "./chunk-45O7B4HD.mjs";
3
+ } from "./chunk-LSHBOPCT.mjs";
4
4
  import {
5
5
  Button
6
6
  } from "./chunk-I6LSWXZW.mjs";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  TaskDetailsModal
3
- } from "./chunk-DPVVX4ZT.mjs";
3
+ } from "./chunk-UDZU3AZC.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";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-A4SKUZ2E.mjs";
4
4
  import {
5
5
  SectionHeading
6
- } from "./chunk-6YUBCG37.mjs";
6
+ } from "./chunk-7OGBZ6QQ.mjs";
7
7
  import {
8
8
  PricingCard
9
9
  } from "./chunk-4GLXI5J3.mjs";
@@ -3,7 +3,7 @@
3
3
 
4
4
  import {
5
5
  FileEdit
6
- } from "./chunk-N2T6V3NP.mjs";
6
+ } from "./chunk-URCY4KWN.mjs";
7
7
  import {
8
8
  Dialog,
9
9
  DialogOverlay,
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-A4SKUZ2E.mjs";
4
4
  import {
5
5
  SectionHeading
6
- } from "./chunk-6YUBCG37.mjs";
6
+ } from "./chunk-7OGBZ6QQ.mjs";
7
7
  import {
8
8
  formatDateTimeStringShort
9
9
  } from "./chunk-RFP2KGUZ.mjs";
@@ -5,10 +5,10 @@ import {
5
5
  Footer,
6
6
  HeaderTop,
7
7
  TitleSlide
8
- } from "./chunk-XOABWF35.mjs";
8
+ } from "./chunk-KVULICDA.mjs";
9
9
  import {
10
10
  RenderBlocks
11
- } from "./chunk-UTC3MM5G.mjs";
11
+ } from "./chunk-NAPGIF5D.mjs";
12
12
  import {
13
13
  cn
14
14
  } from "./chunk-KZPGX6CG.mjs";
@@ -3,13 +3,13 @@ import {
3
3
  } from "./chunk-N77BYZ6A.mjs";
4
4
  import {
5
5
  HighImpactHero
6
- } from "./chunk-NX7KXPAH.mjs";
7
- import {
8
- LowImpactHero
9
- } from "./chunk-ANQCYFDZ.mjs";
6
+ } from "./chunk-DO73CLFG.mjs";
10
7
  import {
11
8
  MediumImpactHero
12
- } from "./chunk-B7C24XQW.mjs";
9
+ } from "./chunk-DAGWV4UL.mjs";
10
+ import {
11
+ LowImpactHero
12
+ } from "./chunk-OXZ5QAXQ.mjs";
13
13
 
14
14
  // src/components/Heros/RenderHero.tsx
15
15
  import { ChevronRightIcon, HomeIcon } from "@heroicons/react/20/solid";
@@ -3,7 +3,7 @@
3
3
 
4
4
  import {
5
5
  RichText
6
- } from "./chunk-45O7B4HD.mjs";
6
+ } from "./chunk-LSHBOPCT.mjs";
7
7
  import {
8
8
  cn
9
9
  } from "./chunk-KZPGX6CG.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  RichText
3
- } from "./chunk-45O7B4HD.mjs";
3
+ } from "./chunk-LSHBOPCT.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
  messageHandler
3
- } from "./chunk-57INGMKK.mjs";
3
+ } from "./chunk-ECCJ42NJ.mjs";
4
4
  import {
5
5
  Conversation,
6
6
  ConversationContent,
@@ -3,42 +3,42 @@
3
3
 
4
4
  import {
5
5
  ServiceSection
6
- } from "./chunk-AAKDTRG3.mjs";
6
+ } from "./chunk-2TJ5HOCV.mjs";
7
7
  import {
8
8
  BlogList
9
- } from "./chunk-CFAFJ5KR.mjs";
9
+ } from "./chunk-HZZWKYB5.mjs";
10
10
  import {
11
11
  ContactSection,
12
12
  LocationsSection
13
- } from "./chunk-UIWLR6ZC.mjs";
13
+ } from "./chunk-DRCDP3RU.mjs";
14
14
  import {
15
15
  SectionHero
16
16
  } from "./chunk-N77BYZ6A.mjs";
17
17
  import {
18
18
  HighImpactHero
19
- } from "./chunk-NX7KXPAH.mjs";
20
- import {
21
- LowImpactHero
22
- } from "./chunk-ANQCYFDZ.mjs";
19
+ } from "./chunk-DO73CLFG.mjs";
23
20
  import {
24
21
  MediumImpactHero
25
- } from "./chunk-B7C24XQW.mjs";
22
+ } from "./chunk-DAGWV4UL.mjs";
23
+ import {
24
+ LowImpactHero
25
+ } from "./chunk-OXZ5QAXQ.mjs";
26
26
  import {
27
27
  CallToActionBlock,
28
28
  RichText
29
- } from "./chunk-45O7B4HD.mjs";
29
+ } from "./chunk-LSHBOPCT.mjs";
30
30
  import {
31
31
  Media
32
- } from "./chunk-2YHN7ZCJ.mjs";
33
- import {
34
- PageShape
35
- } from "./chunk-QX5S5NN2.mjs";
32
+ } from "./chunk-NKRBXAPF.mjs";
36
33
  import {
37
34
  Footer
38
35
  } from "./chunk-APQYZUMH.mjs";
39
36
  import {
40
37
  Header
41
38
  } from "./chunk-FZMTC5ID.mjs";
39
+ import {
40
+ PageShape
41
+ } from "./chunk-QX5S5NN2.mjs";
42
42
  import {
43
43
  Container
44
44
  } from "./chunk-KL3DQ7AU.mjs";
@@ -18,13 +18,13 @@ import {
18
18
  } from "./chunk-GSG52WU5.mjs";
19
19
  import {
20
20
  MediaBlock
21
- } from "./chunk-KIZUBPPQ.mjs";
22
- import {
23
- ImageBlock
24
- } from "./chunk-HLEMFDTD.mjs";
21
+ } from "./chunk-6GO5N6ZP.mjs";
25
22
  import {
26
23
  CodeBlock
27
24
  } from "./chunk-WPX6MOFB.mjs";
25
+ import {
26
+ ImageBlock
27
+ } from "./chunk-3R2LCGLI.mjs";
28
28
  import {
29
29
  DynamicIcon
30
30
  } from "./chunk-75ALYLZU.mjs";
@@ -3,7 +3,7 @@
3
3
 
4
4
  import {
5
5
  ToolbarPlugin
6
- } from "./chunk-ECWGCKWS.mjs";
6
+ } from "./chunk-DZYAOBGH.mjs";
7
7
  import {
8
8
  InlineImagePlugin
9
9
  } from "./chunk-XDV7AVPQ.mjs";
@@ -15,7 +15,7 @@ import {
15
15
  SidebarMenuSub,
16
16
  SidebarMenuSubButton,
17
17
  SidebarMenuSubItem
18
- } from "./chunk-S4MC47ZA.mjs";
18
+ } from "./chunk-AEFGMCK3.mjs";
19
19
  import {
20
20
  Skeleton
21
21
  } from "./chunk-EPR27OQG.mjs";
@@ -1,16 +1,16 @@
1
- import {
2
- ContentBlock
3
- } from "./chunk-IT3HYIBL.mjs";
4
1
  import {
5
2
  CollapsibleBlock
6
- } from "./chunk-UFLN6VHA.mjs";
3
+ } from "./chunk-KV5RVOAP.mjs";
4
+ import {
5
+ ContentBlock
6
+ } from "./chunk-EC4N6ZH3.mjs";
7
7
  import {
8
8
  CallToActionBlock,
9
9
  FeaturesBlock
10
- } from "./chunk-45O7B4HD.mjs";
10
+ } from "./chunk-LSHBOPCT.mjs";
11
11
  import {
12
12
  MediaBlock
13
- } from "./chunk-KIZUBPPQ.mjs";
13
+ } from "./chunk-6GO5N6ZP.mjs";
14
14
  import {
15
15
  cn
16
16
  } from "./chunk-KZPGX6CG.mjs";
@@ -3,7 +3,7 @@
3
3
 
4
4
  import {
5
5
  AppSidebarLeft
6
- } from "./chunk-QY2VILFH.mjs";
6
+ } from "./chunk-M6ELOAGS.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-S4MC47ZA.mjs";
22
+ } from "./chunk-AEFGMCK3.mjs";
23
23
  import {
24
24
  Separator
25
25
  } from "./chunk-7GPVQAMX.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  RichText
3
- } from "./chunk-45O7B4HD.mjs";
3
+ } from "./chunk-LSHBOPCT.mjs";
4
4
 
5
5
  // src/components/Heros/LowImpact/index.tsx
6
6
  import { jsx } from "react/jsx-runtime";
@@ -1,15 +1,15 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import {
5
- ManageTeamContextModal
6
- } from "./chunk-25EF7VEC.mjs";
7
4
  import {
8
5
  AddKnowledgeModal
9
6
  } from "./chunk-CIFGBEFV.mjs";
7
+ import {
8
+ ManageTeamContextModal
9
+ } from "./chunk-25EF7VEC.mjs";
10
10
  import {
11
11
  KnowledgeBrowser
12
- } from "./chunk-GWAHXLXW.mjs";
12
+ } from "./chunk-2NKCNQ56.mjs";
13
13
  import {
14
14
  DropdownMenu,
15
15
  DropdownMenuContent,
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-4Z4X2GG7.mjs";
7
7
  import {
8
8
  Media
9
- } from "./chunk-2YHN7ZCJ.mjs";
9
+ } from "./chunk-NKRBXAPF.mjs";
10
10
  import {
11
11
  cn
12
12
  } from "./chunk-KZPGX6CG.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
+ };