cortex-react-components 3.0.12 → 3.1.1

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 (211) hide show
  1. package/dist/{chunk-6QSVFSOJ.mjs → chunk-2L6AWG6R.mjs} +2 -2
  2. package/dist/{chunk-25OSLP2V.mjs → chunk-37Y7VNXB.mjs} +3 -3
  3. package/dist/{chunk-3IXZB3VP.mjs → chunk-3DWDGYDG.mjs} +1 -1
  4. package/dist/{chunk-CUUAA2TB.mjs → chunk-3K6EVFOW.mjs} +1 -1
  5. package/dist/{chunk-HLEMFDTD.mjs → chunk-3R2LCGLI.mjs} +1 -1
  6. package/dist/{chunk-Y7B7YO6Q.mjs → chunk-3RYHYKVQ.mjs} +1 -1
  7. package/dist/{chunk-HIJIG7N3.mjs → chunk-5MMSWFVA.mjs} +1 -1
  8. package/dist/{chunk-PJZ5PWKP.mjs → chunk-5OGDBGXG.mjs} +1 -1
  9. package/dist/{chunk-KIZUBPPQ.mjs → chunk-6GO5N6ZP.mjs} +1 -1
  10. package/dist/{chunk-DWGG6JKH.mjs → chunk-6QT7LNDT.mjs} +7 -7
  11. package/dist/{chunk-G7WAPCKX.mjs → chunk-6R3QP53O.mjs} +2 -2
  12. package/dist/{chunk-T2VDQBFT.mjs → chunk-6S7EQDLL.mjs} +1 -1
  13. package/dist/{chunk-ZJ5SRNYD.mjs → chunk-7HHLKQE4.mjs} +2 -2
  14. package/dist/{chunk-JJDC25TG.mjs → chunk-7LM2P6N3.mjs} +2 -2
  15. package/dist/{chunk-3FBWSJJD.mjs → chunk-C3CKYJ2F.mjs} +26 -5
  16. package/dist/{chunk-FBCL4K4A.mjs → chunk-D3AHBPI5.mjs} +2 -2
  17. package/dist/{chunk-BAJ7NCAT.mjs → chunk-DRLNETNN.mjs} +1 -1
  18. package/dist/{chunk-HEP6FJO5.mjs → chunk-EDNSRWWC.mjs} +5 -5
  19. package/dist/{chunk-7IMTNL53.mjs → chunk-EEVXIKNB.mjs} +1 -1
  20. package/dist/{chunk-5OTGP6K7.mjs → chunk-EKQB7NJA.mjs} +1 -1
  21. package/dist/{chunk-NM7RODDO.mjs → chunk-F6SQTC6R.mjs} +4 -4
  22. package/dist/{chunk-CKBIYWPM.mjs → chunk-FIG55FIG.mjs} +8 -8
  23. package/dist/{chunk-725ZPBX4.mjs → chunk-FZMTC5ID.mjs} +1 -1
  24. package/dist/{chunk-MSAH6P5O.mjs → chunk-GYQ32TZL.mjs} +1 -1
  25. package/dist/{chunk-R242HNC3.mjs → chunk-HK2DQNBU.mjs} +1 -1
  26. package/dist/{chunk-WNGLLRYA.mjs → chunk-HNVHGBNE.mjs} +1 -1
  27. package/dist/{chunk-LVLYUHSA.mjs → chunk-IQ67MHAY.mjs} +1 -1
  28. package/dist/{chunk-65NN5XR3.mjs → chunk-IRNI7N2Y.mjs} +15 -15
  29. package/dist/{chunk-R4WRE5VN.mjs → chunk-IWQEM5KO.mjs} +2 -2
  30. package/dist/{chunk-IB4EINFP.mjs → chunk-IWSATDRG.mjs} +1 -1
  31. package/dist/{chunk-KZORKJHD.mjs → chunk-JNFOPTIM.mjs} +1 -1
  32. package/dist/{chunk-6I3O6TVG.mjs → chunk-K6N5K2A7.mjs} +1 -1
  33. package/dist/{chunk-ZD5DKC5T.mjs → chunk-KMGTUNRZ.mjs} +1 -1
  34. package/dist/{chunk-DOIUUDF6.mjs → chunk-KYY7BMXI.mjs} +1 -1
  35. package/dist/{chunk-XWYGGWIF.mjs → chunk-MPFWWJYT.mjs} +16 -15
  36. package/dist/{chunk-S2JSIAMP.mjs → chunk-N5HTSJLI.mjs} +1 -1
  37. package/dist/{chunk-HDLJDXNS.mjs → chunk-NHDPHK6D.mjs} +1 -1
  38. package/dist/{chunk-64IBDKCH.mjs → chunk-NSYYRG6A.mjs} +1 -1
  39. package/dist/{chunk-3YAZKLH3.mjs → chunk-P4P6J2SW.mjs} +1 -1
  40. package/dist/{chunk-EGZL4DVZ.mjs → chunk-PAXCURFR.mjs} +1 -1
  41. package/dist/{chunk-FHXOATYT.mjs → chunk-PRMR24PY.mjs} +1 -1
  42. package/dist/{chunk-OFUTCZ7A.mjs → chunk-PTDP7PZK.mjs} +15 -12
  43. package/dist/{chunk-ZMITLXFT.mjs → chunk-QE3XE3LW.mjs} +1 -1
  44. package/dist/{chunk-MNJ5CMJM.mjs → chunk-QJQ66DYZ.mjs} +1 -1
  45. package/dist/{chunk-OFES4YYV.mjs → chunk-RHKRF3X2.mjs} +8 -8
  46. package/dist/{chunk-3NXXPFU2.mjs → chunk-RNHGLZYP.mjs} +1 -1
  47. package/dist/{chunk-YNWNEY2R.mjs → chunk-S4UFD5H6.mjs} +61 -8
  48. package/dist/{chunk-AQMIW7RS.mjs → chunk-SGXOA4RL.mjs} +1 -1
  49. package/dist/{chunk-T36HNGWV.mjs → chunk-SJI6X5DK.mjs} +2 -2
  50. package/dist/{chunk-VEDUPADV.mjs → chunk-UJI3Y73K.mjs} +1 -1
  51. package/dist/{chunk-7DP7YDKJ.mjs → chunk-V6YEUAIH.mjs} +1 -1
  52. package/dist/{chunk-CZB6WWST.mjs → chunk-X6UI73UN.mjs} +1 -1
  53. package/dist/{chunk-UM7KTWAX.mjs → chunk-XCZCWSOY.mjs} +2 -2
  54. package/dist/{chunk-5Q43DAAS.mjs → chunk-YX3B4LPC.mjs} +11 -11
  55. package/dist/{chunk-3HO4HLPV.mjs → chunk-ZFUPXIGR.mjs} +3 -3
  56. package/dist/{chunk-RJRQ3SY5.mjs → chunk-ZWV2O6CK.mjs} +2 -2
  57. package/dist/components/AdvancedComponents/AppSidebar.js +1 -1
  58. package/dist/components/AdvancedComponents/AppSidebar.mjs +1 -1
  59. package/dist/components/AdvancedComponents/EditableField.js +3 -3
  60. package/dist/components/AdvancedComponents/EditableField.mjs +1 -1
  61. package/dist/components/AdvancedComponents/index.js +4 -4
  62. package/dist/components/AdvancedComponents/index.mjs +2 -2
  63. package/dist/components/Blocks/Banner.mjs +5 -5
  64. package/dist/components/Blocks/CallToAction.mjs +5 -5
  65. package/dist/components/Blocks/CollapsibleArea.mjs +6 -6
  66. package/dist/components/Blocks/Content.mjs +6 -6
  67. package/dist/components/Blocks/FeaturesBlock.mjs +5 -5
  68. package/dist/components/Blocks/ImageBlock.mjs +3 -3
  69. package/dist/components/Blocks/MediaBlock.mjs +3 -3
  70. package/dist/components/Blocks/RelatedPosts.mjs +7 -7
  71. package/dist/components/Blocks/RenderBlocks.mjs +8 -8
  72. package/dist/components/Blocks/ReusableContentBlock.mjs +8 -8
  73. package/dist/components/Blocks/index.mjs +10 -10
  74. package/dist/components/Cards/ContentCard.mjs +5 -5
  75. package/dist/components/Cards/FeatureCard.mjs +5 -5
  76. package/dist/components/Cards/index.mjs +5 -5
  77. package/dist/components/Chat/CopilotInterface.js +1 -1
  78. package/dist/components/Chat/CopilotInterface.mjs +3 -3
  79. package/dist/components/Chat/demo-long-messages.js +1 -1
  80. package/dist/components/Chat/demo-long-messages.mjs +3 -3
  81. package/dist/components/Chat/demo-tests.js +1 -1
  82. package/dist/components/Chat/demo-tests.mjs +3 -3
  83. package/dist/components/Chat/demo.js +1 -1
  84. package/dist/components/Chat/demo.mjs +3 -3
  85. package/dist/components/Chat/example-usage.js +1 -1
  86. package/dist/components/Chat/example-usage.mjs +3 -3
  87. package/dist/components/Chat/example-with-vercel-ai.js +1 -1
  88. package/dist/components/Chat/example-with-vercel-ai.mjs +3 -3
  89. package/dist/components/Chat/index.js +1 -1
  90. package/dist/components/Chat/index.mjs +3 -3
  91. package/dist/components/DigitalColleagues/DigitalColleageusLayout.js +1 -1
  92. package/dist/components/DigitalColleagues/DigitalColleageusLayout.mjs +2 -2
  93. package/dist/components/DigitalColleagues/MainPage.mjs +8 -8
  94. package/dist/components/DigitalColleagues/Pages/dashboardpage.js +4 -4
  95. package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +14 -14
  96. package/dist/components/DigitalColleagues/Views/KnowledgeView.js +3 -3
  97. package/dist/components/DigitalColleagues/Views/KnowledgeView.mjs +5 -5
  98. package/dist/components/DigitalColleagues/Views/index.js +115 -40
  99. package/dist/components/DigitalColleagues/Views/index.mjs +28 -28
  100. package/dist/components/DigitalColleagues/document-edit.js +3 -3
  101. package/dist/components/DigitalColleagues/document-edit.mjs +2 -2
  102. package/dist/components/DigitalColleagues/document-preview-examples.js +3 -3
  103. package/dist/components/DigitalColleagues/document-preview-examples.mjs +3 -3
  104. package/dist/components/DigitalColleagues/document-preview.js +3 -3
  105. package/dist/components/DigitalColleagues/document-preview.mjs +3 -3
  106. package/dist/components/DigitalColleagues/index.js +116 -41
  107. package/dist/components/DigitalColleagues/index.mjs +40 -40
  108. package/dist/components/DigitalColleagues/knowledge-browser.js +3 -3
  109. package/dist/components/DigitalColleagues/knowledge-browser.mjs +4 -4
  110. package/dist/components/Foundary/MainPage.mjs +8 -8
  111. package/dist/components/Foundary/Pages/dashboardpage.js +4 -4
  112. package/dist/components/Foundary/Pages/dashboardpage.mjs +14 -14
  113. package/dist/components/Foundary/RichText/index.mjs +3 -3
  114. package/dist/components/Foundary/RichText/plugins/toolbar-plugin.mjs +2 -2
  115. package/dist/components/Foundary/Views/KnowledgeView.js +3 -3
  116. package/dist/components/Foundary/Views/KnowledgeView.mjs +8 -8
  117. package/dist/components/Foundary/Views/index.js +115 -40
  118. package/dist/components/Foundary/Views/index.mjs +28 -28
  119. package/dist/components/Foundary/document-edit.js +3 -3
  120. package/dist/components/Foundary/document-edit.mjs +5 -5
  121. package/dist/components/Foundary/document-preview-examples.js +3 -3
  122. package/dist/components/Foundary/document-preview-examples.mjs +6 -6
  123. package/dist/components/Foundary/document-preview.js +3 -3
  124. package/dist/components/Foundary/document-preview.mjs +6 -6
  125. package/dist/components/Foundary/file-edit.js +3 -3
  126. package/dist/components/Foundary/file-edit.mjs +5 -5
  127. package/dist/components/Foundary/foundary-layout.js +1 -1
  128. package/dist/components/Foundary/foundary-layout.mjs +2 -2
  129. package/dist/components/Foundary/index.js +116 -41
  130. package/dist/components/Foundary/index.mjs +40 -40
  131. package/dist/components/Foundary/knowledge-browser.js +3 -3
  132. package/dist/components/Foundary/knowledge-browser.mjs +7 -7
  133. package/dist/components/HeaderFooter/Header.mjs +3 -3
  134. package/dist/components/HeaderFooter/HeaderDesktop.mjs +2 -2
  135. package/dist/components/HeaderFooter/SectionHeading.mjs +6 -6
  136. package/dist/components/HeaderFooter/index.mjs +13 -13
  137. package/dist/components/Heros/HighImpact/index.mjs +6 -6
  138. package/dist/components/Heros/LowImpact/index.mjs +6 -6
  139. package/dist/components/Heros/MediumImpact/index.mjs +6 -6
  140. package/dist/components/Heros/RenderHero.mjs +9 -9
  141. package/dist/components/Heros/index.mjs +11 -11
  142. package/dist/components/Holidays/HolidayTracker.mjs +2 -2
  143. package/dist/components/Holidays/index.mjs +4 -4
  144. package/dist/components/Layouts/OutputHeaderFooter.mjs +8 -8
  145. package/dist/components/Layouts/Print.mjs +12 -12
  146. package/dist/components/Layouts/SlideShow.mjs +13 -13
  147. package/dist/components/Layouts/index.mjs +14 -14
  148. package/dist/components/Payload/CollectionArchive/index.mjs +4 -4
  149. package/dist/components/Payload/Media/index.mjs +2 -2
  150. package/dist/components/Payload/PayloadCard/index.mjs +3 -3
  151. package/dist/components/Payload/RichText/index.mjs +5 -5
  152. package/dist/components/Payload/RichText/serialize.mjs +5 -5
  153. package/dist/components/Payload/index.mjs +7 -7
  154. package/dist/components/Projects/AddTaskModal.js +97 -56
  155. package/dist/components/Projects/AddTaskModal.mjs +2 -1
  156. package/dist/components/Projects/EpicsView.js +23 -5
  157. package/dist/components/Projects/EpicsView.mjs +2 -2
  158. package/dist/components/Projects/FileView.js +3 -3
  159. package/dist/components/Projects/FileView.mjs +7 -7
  160. package/dist/components/Projects/KanbanBoardView.js +54 -32
  161. package/dist/components/Projects/KanbanBoardView.mjs +11 -11
  162. package/dist/components/Projects/PlanningView.js +61 -8
  163. package/dist/components/Projects/PlanningView.mjs +1 -1
  164. package/dist/components/Projects/ProjectPage.js +116 -41
  165. package/dist/components/Projects/ProjectPage.mjs +18 -18
  166. package/dist/components/Projects/ProjectView.js +115 -40
  167. package/dist/components/Projects/ProjectView.mjs +16 -16
  168. package/dist/components/Projects/ProjectsIndexView.mjs +2 -2
  169. package/dist/components/Projects/TaskDetailsModal.js +31 -27
  170. package/dist/components/Projects/TaskDetailsModal.mjs +8 -8
  171. package/dist/components/Projects/TaskSidebar.js +15 -12
  172. package/dist/components/Projects/TaskSidebar.mjs +1 -1
  173. package/dist/components/Projects/file-list.js +3 -3
  174. package/dist/components/Projects/file-list.mjs +6 -6
  175. package/dist/components/Projects/index.js +115 -40
  176. package/dist/components/Projects/index.mjs +21 -21
  177. package/dist/components/dc-temp/index.js +3 -3
  178. package/dist/components/dc-temp/index.mjs +14 -14
  179. package/dist/components/index.js +116 -41
  180. package/dist/components/index.mjs +80 -80
  181. package/dist/decorators/Intranet.css +3 -0
  182. package/dist/decorators/Intranet.mjs +62 -62
  183. package/dist/globals.css +3 -0
  184. package/dist/index.js +116 -41
  185. package/dist/index.mjs +93 -93
  186. package/dist/metafile-cjs.json +1 -1
  187. package/dist/metafile-esm.json +1 -1
  188. package/dist/pages/Blog.mjs +14 -14
  189. package/dist/pages/Documentation.mjs +7 -7
  190. package/dist/pages/IndexPage.mjs +19 -19
  191. package/dist/pages/LandingPage.mjs +72 -72
  192. package/dist/pages/Page.mjs +17 -17
  193. package/dist/pages/Publish.mjs +61 -61
  194. package/dist/pages/Website.mjs +21 -21
  195. package/dist/sections/AboutSection.mjs +7 -7
  196. package/dist/sections/BlogDetail.mjs +6 -6
  197. package/dist/sections/BlogList.mjs +7 -7
  198. package/dist/sections/BlogListSection.mjs +1 -1
  199. package/dist/sections/ContactSection.mjs +7 -7
  200. package/dist/sections/PageSections.mjs +70 -70
  201. package/dist/sections/PricingSection.mjs +7 -7
  202. package/dist/sections/ServiceDetail.mjs +6 -6
  203. package/dist/sections/ServiceDetailSection.mjs +6 -6
  204. package/dist/sections/ServiceSection.mjs +61 -61
  205. package/dist/sections/index.mjs +72 -72
  206. package/package.json +1 -1
  207. package/dist/{chunk-4IMURNBM.mjs → chunk-2TIM3NGN.mjs} +3 -3
  208. package/dist/{chunk-AGZGZHXC.mjs → chunk-FHZHQDXV.mjs} +3 -3
  209. package/dist/{chunk-2YHN7ZCJ.mjs → chunk-NKRBXAPF.mjs} +3 -3
  210. package/dist/{chunk-RGWOTOBE.mjs → chunk-ONDAHNWM.mjs} +3 -3
  211. package/dist/{chunk-PXB2ICFA.mjs → chunk-VMDVXNP5.mjs} +3 -3
@@ -3,10 +3,10 @@
3
3
 
4
4
  import {
5
5
  RichText_default
6
- } from "./chunk-R242HNC3.mjs";
6
+ } from "./chunk-HK2DQNBU.mjs";
7
7
  import {
8
8
  EditableField
9
- } from "./chunk-3HO4HLPV.mjs";
9
+ } from "./chunk-ZFUPXIGR.mjs";
10
10
  import {
11
11
  Select,
12
12
  SelectContent,
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  TaskCard
3
3
  } from "./chunk-EUOOS2Q3.mjs";
4
- import {
5
- AddTaskModal
6
- } from "./chunk-3FBWSJJD.mjs";
7
4
  import {
8
5
  AddEpicModal
9
6
  } from "./chunk-UDCOG2XL.mjs";
7
+ import {
8
+ AddTaskModal
9
+ } from "./chunk-C3CKYJ2F.mjs";
10
10
  import {
11
11
  DashboardHero
12
12
  } from "./chunk-VESIB4VP.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  RichText
3
- } from "./chunk-JJDC25TG.mjs";
3
+ } from "./chunk-7LM2P6N3.mjs";
4
4
 
5
5
  // src/components/Heros/LowImpact/index.tsx
6
6
  import { jsx } from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  RichText
3
- } from "./chunk-JJDC25TG.mjs";
3
+ } from "./chunk-7LM2P6N3.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,7 +3,7 @@ import {
3
3
  } from "./chunk-X373UDXT.mjs";
4
4
  import {
5
5
  RichText
6
- } from "./chunk-JJDC25TG.mjs";
6
+ } from "./chunk-7LM2P6N3.mjs";
7
7
  import {
8
8
  Card,
9
9
  CardContent,
@@ -3,7 +3,7 @@
3
3
 
4
4
  import {
5
5
  EditableField
6
- } from "./chunk-3HO4HLPV.mjs";
6
+ } from "./chunk-ZFUPXIGR.mjs";
7
7
  import {
8
8
  Select,
9
9
  SelectContent,
@@ -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
  Media
3
- } from "./chunk-2YHN7ZCJ.mjs";
3
+ } from "./chunk-NKRBXAPF.mjs";
4
4
  import {
5
5
  cn
6
6
  } from "./chunk-KZPGX6CG.mjs";
@@ -1,18 +1,18 @@
1
+ import {
2
+ KanbanColumn
3
+ } from "./chunk-P7YLSTDO.mjs";
1
4
  import {
2
5
  TaskDetailsModal
3
- } from "./chunk-XWYGGWIF.mjs";
6
+ } from "./chunk-MPFWWJYT.mjs";
4
7
  import {
5
8
  TaskCard
6
9
  } from "./chunk-EUOOS2Q3.mjs";
7
- import {
8
- AddTaskModal
9
- } from "./chunk-3FBWSJJD.mjs";
10
- import {
11
- KanbanColumn
12
- } from "./chunk-P7YLSTDO.mjs";
13
10
  import {
14
11
  AddEpicModal
15
12
  } from "./chunk-UDCOG2XL.mjs";
13
+ import {
14
+ AddTaskModal
15
+ } from "./chunk-C3CKYJ2F.mjs";
16
16
  import {
17
17
  DashboardHero
18
18
  } from "./chunk-VESIB4VP.mjs";
@@ -3,10 +3,10 @@
3
3
 
4
4
  import {
5
5
  RichText_default
6
- } from "./chunk-R242HNC3.mjs";
6
+ } from "./chunk-HK2DQNBU.mjs";
7
7
  import {
8
8
  EditableField
9
- } from "./chunk-3HO4HLPV.mjs";
9
+ } from "./chunk-ZFUPXIGR.mjs";
10
10
  import {
11
11
  Textarea
12
12
  } from "./chunk-4UJUWE3A.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  RichText
3
- } from "./chunk-JJDC25TG.mjs";
3
+ } from "./chunk-7LM2P6N3.mjs";
4
4
  import {
5
5
  CMSLink
6
6
  } from "./chunk-2NXKZY7U.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-JJDC25TG.mjs";
6
+ } from "./chunk-7LM2P6N3.mjs";
7
7
 
8
8
  // src/components/Blocks/RelatedPosts.tsx
9
9
  import clsx from "clsx";
@@ -18,10 +18,10 @@ import {
18
18
  } from "./chunk-GSG52WU5.mjs";
19
19
  import {
20
20
  MediaBlock
21
- } from "./chunk-KIZUBPPQ.mjs";
21
+ } from "./chunk-6GO5N6ZP.mjs";
22
22
  import {
23
23
  ImageBlock
24
- } from "./chunk-HLEMFDTD.mjs";
24
+ } from "./chunk-3R2LCGLI.mjs";
25
25
  import {
26
26
  CodeBlock
27
27
  } from "./chunk-WPX6MOFB.mjs";
@@ -22,6 +22,9 @@ import {
22
22
  DialogHeader,
23
23
  DialogTitle
24
24
  } from "./chunk-3BYULUMU.mjs";
25
+ import {
26
+ Badge
27
+ } from "./chunk-BG5JSVXF.mjs";
25
28
  import {
26
29
  Input
27
30
  } from "./chunk-YMZ2OUK6.mjs";
@@ -92,6 +95,18 @@ var AddTaskModal = ({
92
95
  const handleSubmit = (e) => {
93
96
  e.preventDefault();
94
97
  if (formData.name.trim()) {
98
+ const sprintValue = formData.sprint === "none" ? null : Number(formData.sprint);
99
+ let assigneeValue = null;
100
+ if (formData.assignee !== "none" && formData.assignee.trim()) {
101
+ const selectedAssignee = assignees.find((a) => a.id.toString() === formData.assignee);
102
+ if (selectedAssignee) {
103
+ if ("collection" in selectedAssignee) {
104
+ assigneeValue = { relationTo: "users", value: selectedAssignee.id };
105
+ } else {
106
+ assigneeValue = { relationTo: "digital-colleagues", value: Number(selectedAssignee.id) };
107
+ }
108
+ }
109
+ }
95
110
  onAddTask({
96
111
  name: formData.name.trim(),
97
112
  description: formData.description.trim(),
@@ -100,8 +115,8 @@ var AddTaskModal = ({
100
115
  type: formData.type,
101
116
  storyPoints: formData.storyPoints,
102
117
  epic: Number(formData.epic),
103
- sprint: Number(formData.sprint),
104
- assignee: formData.assignee.trim() ? { relationTo: "digital-colleagues", value: Number(formData.assignee) } : null,
118
+ sprint: sprintValue,
119
+ assignee: assigneeValue,
105
120
  dateLogged: (/* @__PURE__ */ new Date()).toISOString(),
106
121
  index: 0
107
122
  });
@@ -113,7 +128,7 @@ var AddTaskModal = ({
113
128
  type: "story",
114
129
  storyPoints: 1,
115
130
  epic: defaultEpicId || "",
116
- sprint: "",
131
+ sprint: "none",
117
132
  assignee: ""
118
133
  });
119
134
  onClose();
@@ -241,7 +256,7 @@ var AddTaskModal = ({
241
256
  )
242
257
  ] }),
243
258
  /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
244
- /* @__PURE__ */ jsx(Label, { htmlFor: "sprint", children: "Assignee" }),
259
+ /* @__PURE__ */ jsx(Label, { htmlFor: "assignee", children: "Assignee" }),
245
260
  /* @__PURE__ */ jsxs(
246
261
  Select,
247
262
  {
@@ -251,7 +266,13 @@ var AddTaskModal = ({
251
266
  /* @__PURE__ */ jsx(SelectTrigger, { children: /* @__PURE__ */ jsx(SelectValue, { placeholder: "Select an Assignee" }) }),
252
267
  /* @__PURE__ */ jsxs(SelectContent, { children: [
253
268
  /* @__PURE__ */ jsx(SelectItem, { value: "none", children: "No Assignee" }),
254
- assignees.map((user) => /* @__PURE__ */ jsx(SelectItem, { value: user.id.toString(), children: /* @__PURE__ */ jsx("div", { className: "flex items-center gap-2", children: user.name }) }, user.id))
269
+ assignees.map((assignee) => {
270
+ const isUser = "collection" in assignee;
271
+ return /* @__PURE__ */ jsx(SelectItem, { value: assignee.id.toString(), children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
272
+ assignee.name,
273
+ isUser ? /* @__PURE__ */ jsx(Badge, { variant: "secondary", className: "text-xs", children: "User" }) : /* @__PURE__ */ jsx(Badge, { variant: "outline", className: "text-xs", children: "Digital Colleague" })
274
+ ] }) }, assignee.id);
275
+ })
255
276
  ] })
256
277
  ]
257
278
  }
@@ -3,13 +3,13 @@
3
3
 
4
4
  import {
5
5
  RichText
6
- } from "./chunk-JJDC25TG.mjs";
6
+ } from "./chunk-7LM2P6N3.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 @@ import {
3
3
  } from "./chunk-A4SKUZ2E.mjs";
4
4
  import {
5
5
  SectionHeading
6
- } from "./chunk-CUUAA2TB.mjs";
6
+ } from "./chunk-3K6EVFOW.mjs";
7
7
  import {
8
8
  formatDateTimeStringShort
9
9
  } from "./chunk-RFP2KGUZ.mjs";
@@ -3,13 +3,13 @@ import {
3
3
  } from "./chunk-N77BYZ6A.mjs";
4
4
  import {
5
5
  MediumImpactHero
6
- } from "./chunk-64IBDKCH.mjs";
7
- import {
8
- HighImpactHero
9
- } from "./chunk-FBCL4K4A.mjs";
6
+ } from "./chunk-NSYYRG6A.mjs";
10
7
  import {
11
8
  LowImpactHero
12
- } from "./chunk-3IXZB3VP.mjs";
9
+ } from "./chunk-3DWDGYDG.mjs";
10
+ import {
11
+ HighImpactHero
12
+ } from "./chunk-D3AHBPI5.mjs";
13
13
 
14
14
  // src/components/Heros/RenderHero.tsx
15
15
  import { ChevronRightIcon, HomeIcon } from "@heroicons/react/20/solid";
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  FeatureCard,
6
6
  RichText
7
- } from "./chunk-JJDC25TG.mjs";
7
+ } from "./chunk-7LM2P6N3.mjs";
8
8
  import {
9
9
  cn
10
10
  } from "./chunk-KZPGX6CG.mjs";
@@ -3,7 +3,7 @@
3
3
 
4
4
  import {
5
5
  DocumentEdit
6
- } from "./chunk-HIJIG7N3.mjs";
6
+ } from "./chunk-5MMSWFVA.mjs";
7
7
  import {
8
8
  Button
9
9
  } from "./chunk-I6LSWXZW.mjs";
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  CollapsibleBlock
3
- } from "./chunk-MNJ5CMJM.mjs";
3
+ } from "./chunk-QJQ66DYZ.mjs";
4
4
  import {
5
5
  ContentBlock
6
- } from "./chunk-T2VDQBFT.mjs";
6
+ } from "./chunk-6S7EQDLL.mjs";
7
7
  import {
8
8
  CallToActionBlock,
9
9
  FeaturesBlock
10
- } from "./chunk-JJDC25TG.mjs";
10
+ } from "./chunk-7LM2P6N3.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,27 +3,27 @@
3
3
 
4
4
  import {
5
5
  KnowledgeView
6
- } from "./chunk-KZORKJHD.mjs";
6
+ } from "./chunk-JNFOPTIM.mjs";
7
7
  import {
8
8
  AppCard
9
9
  } from "./chunk-XGHUG2WQ.mjs";
10
- import {
11
- ProjectCard
12
- } from "./chunk-WHCZTD2K.mjs";
13
- import {
14
- FileList
15
- } from "./chunk-ZMITLXFT.mjs";
16
10
  import {
17
11
  mockApps,
18
12
  mockRecentFiles,
19
13
  mockTutorials
20
14
  } from "./chunk-EMDTCDYI.mjs";
15
+ import {
16
+ ProjectCard
17
+ } from "./chunk-WHCZTD2K.mjs";
18
+ import {
19
+ FileList
20
+ } from "./chunk-QE3XE3LW.mjs";
21
21
  import {
22
22
  DashboardHero
23
23
  } from "./chunk-VESIB4VP.mjs";
24
24
  import {
25
25
  DigitalColleageusLayout
26
- } from "./chunk-IB4EINFP.mjs";
26
+ } from "./chunk-IWSATDRG.mjs";
27
27
  import {
28
28
  mockNotifications,
29
29
  mockSidebarItems
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  HeaderDesktop
3
- } from "./chunk-AGZGZHXC.mjs";
3
+ } from "./chunk-FHZHQDXV.mjs";
4
4
  import {
5
5
  HeaderMobile
6
6
  } from "./chunk-OXZJ5MRS.mjs";
@@ -3,7 +3,7 @@
3
3
 
4
4
  import {
5
5
  FileList
6
- } from "./chunk-ZMITLXFT.mjs";
6
+ } from "./chunk-QE3XE3LW.mjs";
7
7
  import {
8
8
  AddFileModal
9
9
  } from "./chunk-HQW5M4ND.mjs";
@@ -3,7 +3,7 @@
3
3
 
4
4
  import {
5
5
  ToolbarPlugin
6
- } from "./chunk-PXB2ICFA.mjs";
6
+ } from "./chunk-VMDVXNP5.mjs";
7
7
  import {
8
8
  InlineImagePlugin
9
9
  } from "./chunk-XDV7AVPQ.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  RichText
3
- } from "./chunk-JJDC25TG.mjs";
3
+ } from "./chunk-7LM2P6N3.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
  SectionHeading
3
- } from "./chunk-CUUAA2TB.mjs";
3
+ } from "./chunk-3K6EVFOW.mjs";
4
4
  import {
5
5
  Form
6
6
  } from "./chunk-GSG52WU5.mjs";
@@ -3,42 +3,42 @@
3
3
 
4
4
  import {
5
5
  ServiceSection
6
- } from "./chunk-7IMTNL53.mjs";
6
+ } from "./chunk-EEVXIKNB.mjs";
7
7
  import {
8
8
  BlogList
9
- } from "./chunk-BAJ7NCAT.mjs";
9
+ } from "./chunk-DRLNETNN.mjs";
10
10
  import {
11
11
  ContactSection,
12
12
  LocationsSection
13
- } from "./chunk-LVLYUHSA.mjs";
13
+ } from "./chunk-IQ67MHAY.mjs";
14
14
  import {
15
15
  SectionHero
16
16
  } from "./chunk-N77BYZ6A.mjs";
17
17
  import {
18
18
  MediumImpactHero
19
- } from "./chunk-64IBDKCH.mjs";
20
- import {
21
- HighImpactHero
22
- } from "./chunk-FBCL4K4A.mjs";
19
+ } from "./chunk-NSYYRG6A.mjs";
23
20
  import {
24
21
  LowImpactHero
25
- } from "./chunk-3IXZB3VP.mjs";
22
+ } from "./chunk-3DWDGYDG.mjs";
23
+ import {
24
+ HighImpactHero
25
+ } from "./chunk-D3AHBPI5.mjs";
26
26
  import {
27
27
  CallToActionBlock,
28
28
  RichText
29
- } from "./chunk-JJDC25TG.mjs";
29
+ } from "./chunk-7LM2P6N3.mjs";
30
30
  import {
31
31
  Media
32
- } from "./chunk-2YHN7ZCJ.mjs";
32
+ } from "./chunk-NKRBXAPF.mjs";
33
33
  import {
34
- Footer
35
- } from "./chunk-APQYZUMH.mjs";
34
+ PageShape
35
+ } from "./chunk-QX5S5NN2.mjs";
36
36
  import {
37
37
  Header
38
- } from "./chunk-725ZPBX4.mjs";
38
+ } from "./chunk-FZMTC5ID.mjs";
39
39
  import {
40
- PageShape
41
- } from "./chunk-QX5S5NN2.mjs";
40
+ Footer
41
+ } from "./chunk-APQYZUMH.mjs";
42
42
  import {
43
43
  Container
44
44
  } from "./chunk-KL3DQ7AU.mjs";
@@ -5,10 +5,10 @@ import {
5
5
  Footer,
6
6
  HeaderTop,
7
7
  TitleSlide
8
- } from "./chunk-WNGLLRYA.mjs";
8
+ } from "./chunk-HNVHGBNE.mjs";
9
9
  import {
10
10
  RenderBlocks
11
- } from "./chunk-NM7RODDO.mjs";
11
+ } from "./chunk-F6SQTC6R.mjs";
12
12
  import {
13
13
  cn
14
14
  } from "./chunk-KZPGX6CG.mjs";
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-2O772NVT.mjs";
7
7
  import {
8
8
  AppSidebar
9
- } from "./chunk-7DP7YDKJ.mjs";
9
+ } from "./chunk-V6YEUAIH.mjs";
10
10
  import {
11
11
  cn
12
12
  } from "./chunk-KZPGX6CG.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  KnowledgeBrowser
3
- } from "./chunk-CZB6WWST.mjs";
3
+ } from "./chunk-X6UI73UN.mjs";
4
4
  import {
5
5
  DashboardHero
6
6
  } from "./chunk-VESIB4VP.mjs";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-25EF7VEC.mjs";
10
10
  import {
11
11
  KnowledgeBrowser
12
- } from "./chunk-3YAZKLH3.mjs";
12
+ } from "./chunk-P4P6J2SW.mjs";
13
13
  import {
14
14
  DropdownMenu,
15
15
  DropdownMenuContent,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  RichText
3
- } from "./chunk-JJDC25TG.mjs";
3
+ } from "./chunk-7LM2P6N3.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-CUUAA2TB.mjs";
6
+ } from "./chunk-3K6EVFOW.mjs";
7
7
  import {
8
8
  PricingCard
9
9
  } from "./chunk-4GLXI5J3.mjs";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  TaskSidebar
3
- } from "./chunk-OFUTCZ7A.mjs";
3
+ } from "./chunk-PTDP7PZK.mjs";
4
4
  import {
5
5
  FileList
6
- } from "./chunk-ZMITLXFT.mjs";
6
+ } from "./chunk-QE3XE3LW.mjs";
7
7
  import {
8
8
  AddFileModal
9
9
  } from "./chunk-HQW5M4ND.mjs";
10
10
  import {
11
11
  EditableField
12
- } from "./chunk-3HO4HLPV.mjs";
12
+ } from "./chunk-ZFUPXIGR.mjs";
13
13
  import {
14
14
  CommentSection
15
15
  } from "./chunk-XTI4RMGG.mjs";
@@ -65,10 +65,10 @@ var TaskDetailsModal = ({
65
65
  setTask(initialTask);
66
66
  }, [initialTask]);
67
67
  const handleFieldUpdate = async (fieldName, value) => {
68
- if (value !== task[fieldName]) {
68
+ if (!task || value !== task[fieldName]) {
69
69
  setUpdateState("loading");
70
70
  try {
71
- await onUpdateTask(task.id.toString(), { [fieldName]: value });
71
+ await onUpdateTask(task?.id.toString() || "", { [fieldName]: value });
72
72
  setLastUpdated(/* @__PURE__ */ new Date());
73
73
  setUpdateState("success");
74
74
  setTimeout(() => setUpdateState("idle"), 1500);
@@ -80,10 +80,10 @@ var TaskDetailsModal = ({
80
80
  }
81
81
  };
82
82
  const handleSidebarUpdate = async (fieldName, value) => {
83
- if (value !== task[fieldName]) {
83
+ if (!task || value !== task[fieldName]) {
84
84
  setUpdateState("loading");
85
85
  try {
86
- await onUpdateTask(task.id.toString(), { [fieldName]: value });
86
+ await onUpdateTask(task?.id.toString() || "", { [fieldName]: value });
87
87
  setLastUpdated(/* @__PURE__ */ new Date());
88
88
  setUpdateState("success");
89
89
  setTimeout(() => setUpdateState("idle"), 1500);
@@ -95,7 +95,7 @@ var TaskDetailsModal = ({
95
95
  }
96
96
  };
97
97
  const handleAddComment = async (text) => {
98
- if (!onAddComment) return;
98
+ if (!onAddComment || !task) return;
99
99
  setUpdateState("loading");
100
100
  try {
101
101
  await onAddComment?.({ content: text, taskId: task.id.toString() });
@@ -108,6 +108,7 @@ var TaskDetailsModal = ({
108
108
  }
109
109
  };
110
110
  const handleDelete = async () => {
111
+ if (!task) return;
111
112
  setDeleteState("loading");
112
113
  try {
113
114
  await onDeleteTask(task.id.toString());
@@ -122,7 +123,7 @@ var TaskDetailsModal = ({
122
123
  }
123
124
  };
124
125
  const handleUploadFile = async (formData) => {
125
- if (!onUploadFile) return;
126
+ if (!onUploadFile || !task) return;
126
127
  setUpdateState("loading");
127
128
  try {
128
129
  await onUploadFile(task.id.toString(), formData);
@@ -137,7 +138,7 @@ var TaskDetailsModal = ({
137
138
  }
138
139
  };
139
140
  const handleDeleteFile = async (file) => {
140
- if (!onDeleteFile) return;
141
+ if (!onDeleteFile || !task) return;
141
142
  setUpdateState("loading");
142
143
  try {
143
144
  await onDeleteFile(task.id.toString(), file.id.toString());
@@ -150,7 +151,7 @@ var TaskDetailsModal = ({
150
151
  setTimeout(() => setUpdateState("idle"), 3e3);
151
152
  }
152
153
  };
153
- const taskFiles = (task.files || []).map((file) => {
154
+ const taskFiles = (task?.files || []).map((file) => {
154
155
  if (typeof file === "number") {
155
156
  return null;
156
157
  }
@@ -198,7 +199,7 @@ var TaskDetailsModal = ({
198
199
  EditableField,
199
200
  {
200
201
  fieldName: "name",
201
- value: task.name || "",
202
+ value: task?.name || "",
202
203
  label: "",
203
204
  onSave: handleFieldUpdate,
204
205
  className: "border-b border-border pb-3",
@@ -209,7 +210,7 @@ var TaskDetailsModal = ({
209
210
  EditableField,
210
211
  {
211
212
  fieldName: "description",
212
- value: task.description || "",
213
+ value: task?.description || "",
213
214
  label: "Description",
214
215
  multiline: true,
215
216
  onSave: handleFieldUpdate,
@@ -253,8 +254,8 @@ var TaskDetailsModal = ({
253
254
  CommentSection,
254
255
  {
255
256
  comments: (task?.comments || []).map((el) => ({
256
- author: el.author?.value.name || "",
257
- createdAt: new Date(el.timestamp),
257
+ author: el.author?.value?.name || "",
258
+ createdAt: new Date(el?.timestamp || /* @__PURE__ */ new Date()),
258
259
  text: el.text,
259
260
  id: el.id || ""
260
261
  })),
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SectionHeading
3
- } from "./chunk-CUUAA2TB.mjs";
3
+ } from "./chunk-3K6EVFOW.mjs";
4
4
  import {
5
5
  Container
6
6
  } from "./chunk-KL3DQ7AU.mjs";