cortex-react-components 1.62.2 → 1.64.0

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 (347) hide show
  1. package/dist/{chunk-2IJK3AE7.mjs → chunk-22SIVBWN.mjs} +1 -1
  2. package/dist/{chunk-65BHP4TM.mjs → chunk-2ELCHEGN.mjs} +1 -1
  3. package/dist/chunk-2WXIUKCO.mjs +1 -0
  4. package/dist/chunk-33ZXPMQU.mjs +1 -0
  5. package/dist/{chunk-64DD3N4S.mjs → chunk-37NBXA5G.mjs} +1 -1
  6. package/dist/{chunk-JU7C3V5N.mjs → chunk-4HUH5XA2.mjs} +1 -1
  7. package/dist/{chunk-UDQTFQR7.mjs → chunk-4ZRLE77J.mjs} +1 -1
  8. package/dist/chunk-6L2BDKJU.mjs +6 -0
  9. package/dist/chunk-6NZJ2VXQ.mjs +1 -0
  10. package/dist/chunk-6U663VXT.mjs +1 -0
  11. package/dist/chunk-7SPGDJJI.mjs +1 -0
  12. package/dist/{chunk-R7IAPAL5.mjs → chunk-ANTK5LAD.mjs} +1 -1
  13. package/dist/{chunk-X4Q7WZZS.mjs → chunk-AVBIHINB.mjs} +1 -1
  14. package/dist/{chunk-U7Q6ZRR3.mjs → chunk-C7TTHOHB.mjs} +1 -1
  15. package/dist/{chunk-B7STYVDB.mjs → chunk-CGBMXBIY.mjs} +1 -1
  16. package/dist/{chunk-RG5W7B5K.mjs → chunk-CLYDQSRN.mjs} +1 -1
  17. package/dist/{chunk-X4EKDFOJ.mjs → chunk-CVJOGMQM.mjs} +1 -1
  18. package/dist/{chunk-PBRC3UOA.mjs → chunk-DAJNZDN6.mjs} +1 -1
  19. package/dist/{chunk-RZUYAUCR.mjs → chunk-DINASYAM.mjs} +1 -1
  20. package/dist/chunk-E6ZAA4QH.mjs +1 -0
  21. package/dist/{chunk-ZJCHVWSF.mjs → chunk-EDY4LLVN.mjs} +1 -1
  22. package/dist/{chunk-VGQTRTPZ.mjs → chunk-ERUB6LU6.mjs} +1 -1
  23. package/dist/chunk-F2D7YJEV.mjs +1 -0
  24. package/dist/chunk-FFESN4FM.mjs +1 -0
  25. package/dist/{chunk-NP2M5K7O.mjs → chunk-FLGGV2UV.mjs} +1 -1
  26. package/dist/chunk-FWBG46K2.mjs +1 -0
  27. package/dist/chunk-G72SIYN7.mjs +4 -0
  28. package/dist/chunk-HZXNJWP5.mjs +1 -0
  29. package/dist/chunk-I3FBQX6H.mjs +11 -0
  30. package/dist/{chunk-EVVDCPEA.mjs → chunk-I4GEIHT2.mjs} +1 -1
  31. package/dist/{chunk-CJF6GVGP.mjs → chunk-IE5CASFG.mjs} +1 -1
  32. package/dist/chunk-K44ECXTN.mjs +1 -0
  33. package/dist/{chunk-SX5U74MW.mjs → chunk-KETV2XVN.mjs} +1 -1
  34. package/dist/chunk-L45A6K4C.mjs +1 -0
  35. package/dist/chunk-MEWCJ4MA.mjs +1 -0
  36. package/dist/{chunk-FN5C27GW.mjs → chunk-MFDZCI2F.mjs} +1 -1
  37. package/dist/{chunk-3BATRS4C.mjs → chunk-MRJQKF4Z.mjs} +1 -1
  38. package/dist/{chunk-L5MDFQGH.mjs → chunk-NAGM6QT5.mjs} +1 -1
  39. package/dist/{chunk-YPK6OLRS.mjs → chunk-NWEA3O2Q.mjs} +1 -1
  40. package/dist/chunk-OIQ6GXBY.mjs +4 -0
  41. package/dist/chunk-P3PIMDIR.mjs +1 -0
  42. package/dist/chunk-PFWODHNV.mjs +1 -0
  43. package/dist/chunk-PPUE5IPA.mjs +1 -0
  44. package/dist/{chunk-FSYU3D5O.mjs → chunk-PY7TFY5K.mjs} +1 -1
  45. package/dist/{chunk-FGHN2OHF.mjs → chunk-Q2MJWHFZ.mjs} +1 -1
  46. package/dist/chunk-Q5LSCSF7.mjs +1 -0
  47. package/dist/{chunk-5ALQQYYE.mjs → chunk-QNIE2MLB.mjs} +1 -1
  48. package/dist/{chunk-GYDVBUKO.mjs → chunk-QUOLG5NC.mjs} +1 -1
  49. package/dist/{chunk-JLCWVIEP.mjs → chunk-RHB4QMWH.mjs} +1 -1
  50. package/dist/chunk-ROEJPYRW.mjs +1 -0
  51. package/dist/{chunk-DIAK5C43.mjs → chunk-STHWCR5K.mjs} +1 -1
  52. package/dist/{chunk-XIVKVQK2.mjs → chunk-STQACD6R.mjs} +1 -1
  53. package/dist/chunk-T2ZS5P67.mjs +4 -0
  54. package/dist/{chunk-COI2LCY2.mjs → chunk-TASJS6US.mjs} +1 -1
  55. package/dist/{chunk-OMVXDUX7.mjs → chunk-TFIAEOF6.mjs} +1 -1
  56. package/dist/chunk-TWPRI2XQ.mjs +1 -0
  57. package/dist/{chunk-IH37BDR2.mjs → chunk-UQASICDL.mjs} +1 -1
  58. package/dist/{chunk-FYEE5UWZ.mjs → chunk-UVPODMUO.mjs} +1 -1
  59. package/dist/{chunk-GHXEOXV4.mjs → chunk-VCZPEEMH.mjs} +1 -1
  60. package/dist/chunk-VFTAB4PN.mjs +1 -0
  61. package/dist/{chunk-IC57R2EU.mjs → chunk-VXGRJCCM.mjs} +1 -1
  62. package/dist/{chunk-MUBDAI2K.mjs → chunk-VZVXDVOI.mjs} +1 -1
  63. package/dist/{chunk-DVGPU4EL.mjs → chunk-WLU4QF2Z.mjs} +1 -1
  64. package/dist/{chunk-WPL2QWNG.mjs → chunk-XFEBBW2G.mjs} +1 -1
  65. package/dist/{chunk-XZ4GLJWK.mjs → chunk-YVADLIYB.mjs} +1 -1
  66. package/dist/{chunk-ZY2PDUUB.mjs → chunk-Z6NED523.mjs} +1 -1
  67. package/dist/chunk-ZEOV7BEN.mjs +1 -0
  68. package/dist/components/Blocks/Banner.mjs +1 -1
  69. package/dist/components/Blocks/CallToAction.mjs +1 -1
  70. package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
  71. package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
  72. package/dist/components/Blocks/CollapsibleArea.stories.mjs +1 -1
  73. package/dist/components/Blocks/Content.mjs +1 -1
  74. package/dist/components/Blocks/Content.stories.mjs +1 -1
  75. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  76. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  77. package/dist/components/Blocks/ImageBlock.mjs +1 -1
  78. package/dist/components/Blocks/MediaBlock.mjs +1 -1
  79. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  80. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  81. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  82. package/dist/components/Blocks/index.mjs +1 -1
  83. package/dist/components/CRM/CogeBoard.css +1 -0
  84. package/dist/components/CRM/CogeBoard.d.ts +14 -0
  85. package/dist/components/CRM/CogeBoard.js +4 -0
  86. package/dist/components/CRM/CogeBoard.mjs +2 -0
  87. package/dist/components/CRM/CogeBoard.stories.css +1 -0
  88. package/dist/components/CRM/CogeBoard.stories.js +4 -0
  89. package/dist/components/CRM/CogeBoard.stories.mjs +1 -0
  90. package/dist/components/CRM/DealCard.d.ts +2 -1
  91. package/dist/components/CRM/DealCard.js +1 -1
  92. package/dist/components/CRM/DealCard.mjs +1 -1
  93. package/dist/components/CRM/DealCard.stories.js +1 -1
  94. package/dist/components/CRM/DealCard.stories.mjs +1 -1
  95. package/dist/components/CRM/DealDetails.js +1 -1
  96. package/dist/components/CRM/DealDetails.mjs +1 -1
  97. package/dist/components/CRM/DealDetails.stories.js +1 -1
  98. package/dist/components/CRM/DealDetails.stories.mjs +1 -1
  99. package/dist/components/CRM/KanbanBoard.js +1 -1
  100. package/dist/components/CRM/KanbanBoard.mjs +1 -1
  101. package/dist/components/CRM/KanbanBoard.stories.js +1 -1
  102. package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
  103. package/dist/components/CRM/KanbanColumn.d.ts +6 -5
  104. package/dist/components/CRM/KanbanColumn.js +1 -1
  105. package/dist/components/CRM/KanbanColumn.mjs +1 -1
  106. package/dist/components/CRM/KanbanColumn.stories.js +1 -1
  107. package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
  108. package/dist/components/CRM/NewCustomerForm.mjs +1 -1
  109. package/dist/components/CRM/NewCustomerForm.stories.mjs +1 -1
  110. package/dist/components/CRM/NewDealForm.mjs +1 -1
  111. package/dist/components/CRM/NewDealForm.stories.mjs +1 -1
  112. package/dist/components/CRM/index.js +1 -1
  113. package/dist/components/CRM/index.mjs +1 -1
  114. package/dist/components/CRM/types.d.ts +1 -0
  115. package/dist/components/CRM/types.js +1 -1
  116. package/dist/components/Cards/ContentCard.mjs +1 -1
  117. package/dist/components/Cards/ContentCard.stories.mjs +1 -1
  118. package/dist/components/Cards/FeatureCard.mjs +1 -1
  119. package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
  120. package/dist/components/Cards/index.mjs +1 -1
  121. package/dist/components/DigitalColleagues/AddEpicModal.css +1 -0
  122. package/dist/components/DigitalColleagues/AddEpicModal.d.ts +9 -0
  123. package/dist/components/DigitalColleagues/AddEpicModal.js +4 -0
  124. package/dist/components/DigitalColleagues/AddEpicModal.mjs +1 -0
  125. package/dist/components/DigitalColleagues/AddEpicModal.stories.css +1 -0
  126. package/dist/components/DigitalColleagues/AddEpicModal.stories.js +221 -0
  127. package/dist/components/DigitalColleagues/AddEpicModal.stories.mjs +1 -0
  128. package/dist/components/DigitalColleagues/AddSprintModal.css +1 -0
  129. package/dist/components/DigitalColleagues/AddSprintModal.d.ts +9 -0
  130. package/dist/components/DigitalColleagues/AddSprintModal.js +4 -0
  131. package/dist/components/DigitalColleagues/AddSprintModal.mjs +1 -0
  132. package/dist/components/DigitalColleagues/AddTaskModal.css +1 -0
  133. package/dist/components/DigitalColleagues/AddTaskModal.d.ts +11 -0
  134. package/dist/components/DigitalColleagues/AddTaskModal.js +4 -0
  135. package/dist/components/DigitalColleagues/AddTaskModal.mjs +1 -0
  136. package/dist/components/DigitalColleagues/AddTaskModal.stories.css +1 -0
  137. package/dist/components/DigitalColleagues/AddTaskModal.stories.js +221 -0
  138. package/dist/components/DigitalColleagues/AddTaskModal.stories.mjs +1 -0
  139. package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
  140. package/dist/components/DigitalColleagues/ChatInterface.css +1 -0
  141. package/dist/components/DigitalColleagues/ChatInterface.d.ts +6 -0
  142. package/dist/components/DigitalColleagues/ChatInterface.js +9 -0
  143. package/dist/components/DigitalColleagues/ChatInterface.mjs +1 -0
  144. package/dist/components/DigitalColleagues/ChatInterface.stories.css +1 -0
  145. package/dist/components/DigitalColleagues/ChatInterface.stories.js +226 -0
  146. package/dist/components/DigitalColleagues/ChatInterface.stories.mjs +1 -0
  147. package/dist/components/DigitalColleagues/CommentSection.css +1 -0
  148. package/dist/components/DigitalColleagues/CommentSection.d.ts +13 -0
  149. package/dist/components/DigitalColleagues/CommentSection.js +4 -0
  150. package/dist/components/DigitalColleagues/CommentSection.mjs +1 -0
  151. package/dist/components/DigitalColleagues/CommentSection.stories.css +1 -0
  152. package/dist/components/DigitalColleagues/CommentSection.stories.js +221 -0
  153. package/dist/components/DigitalColleagues/CommentSection.stories.mjs +1 -0
  154. package/dist/components/DigitalColleagues/DashboardHeader.css +1 -0
  155. package/dist/components/DigitalColleagues/DashboardHeader.d.ts +8 -0
  156. package/dist/components/DigitalColleagues/DashboardHeader.js +4 -0
  157. package/dist/components/DigitalColleagues/DashboardHeader.mjs +1 -0
  158. package/dist/components/DigitalColleagues/DashboardHeader.stories.css +1 -0
  159. package/dist/components/DigitalColleagues/DashboardHeader.stories.js +221 -0
  160. package/dist/components/DigitalColleagues/DashboardHeader.stories.mjs +1 -0
  161. package/dist/components/DigitalColleagues/DocumentationView.css +1 -0
  162. package/dist/components/DigitalColleagues/DocumentationView.d.ts +2 -0
  163. package/dist/components/DigitalColleagues/DocumentationView.js +11 -0
  164. package/dist/components/DigitalColleagues/DocumentationView.mjs +1 -0
  165. package/dist/components/DigitalColleagues/DocumentationView.stories.css +1 -0
  166. package/dist/components/DigitalColleagues/DocumentationView.stories.js +11 -0
  167. package/dist/components/DigitalColleagues/DocumentationView.stories.mjs +1 -0
  168. package/dist/components/DigitalColleagues/EditableField.css +1 -0
  169. package/dist/components/DigitalColleagues/EditableField.d.ts +11 -0
  170. package/dist/components/DigitalColleagues/EditableField.js +4 -0
  171. package/dist/components/DigitalColleagues/EditableField.mjs +1 -0
  172. package/dist/components/DigitalColleagues/EditableField.stories.css +1 -0
  173. package/dist/components/DigitalColleagues/EditableField.stories.js +221 -0
  174. package/dist/components/DigitalColleagues/EditableField.stories.mjs +1 -0
  175. package/dist/components/DigitalColleagues/EpicFilter.css +1 -0
  176. package/dist/components/DigitalColleagues/EpicFilter.d.ts +9 -0
  177. package/dist/components/DigitalColleagues/EpicFilter.js +4 -0
  178. package/dist/components/DigitalColleagues/EpicFilter.mjs +1 -0
  179. package/dist/components/DigitalColleagues/EpicFilter.stories.css +1 -0
  180. package/dist/components/DigitalColleagues/EpicFilter.stories.js +221 -0
  181. package/dist/components/DigitalColleagues/EpicFilter.stories.mjs +1 -0
  182. package/dist/components/DigitalColleagues/EpicsView.css +1 -0
  183. package/dist/components/DigitalColleagues/EpicsView.d.ts +13 -0
  184. package/dist/components/DigitalColleagues/EpicsView.js +1 -0
  185. package/dist/components/DigitalColleagues/EpicsView.mjs +1 -0
  186. package/dist/components/DigitalColleagues/EpicsView.stories.css +1 -0
  187. package/dist/components/DigitalColleagues/EpicsView.stories.js +218 -0
  188. package/dist/components/DigitalColleagues/EpicsView.stories.mjs +1 -0
  189. package/dist/components/DigitalColleagues/KanbanBoard.css +1 -0
  190. package/dist/components/DigitalColleagues/KanbanBoard.d.ts +42 -0
  191. package/dist/components/DigitalColleagues/KanbanBoard.js +14 -0
  192. package/dist/components/DigitalColleagues/KanbanBoard.mjs +1 -0
  193. package/dist/components/DigitalColleagues/KanbanBoard.stories.css +1 -0
  194. package/dist/components/DigitalColleagues/KanbanBoard.stories.js +14 -0
  195. package/dist/components/DigitalColleagues/KanbanBoard.stories.mjs +1 -0
  196. package/dist/components/DigitalColleagues/KanbanColumn.css +1 -0
  197. package/dist/components/DigitalColleagues/KanbanColumn.d.ts +12 -0
  198. package/dist/components/DigitalColleagues/KanbanColumn.js +1 -0
  199. package/dist/components/DigitalColleagues/KanbanColumn.mjs +1 -0
  200. package/dist/components/DigitalColleagues/KanbanColumn.stories.css +1 -0
  201. package/dist/components/DigitalColleagues/KanbanColumn.stories.js +1 -0
  202. package/dist/components/DigitalColleagues/KanbanColumn.stories.mjs +1 -0
  203. package/dist/components/DigitalColleagues/MainPage.js +1 -1
  204. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  205. package/dist/components/DigitalColleagues/MainPage.stories.js +1 -1
  206. package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
  207. package/dist/components/DigitalColleagues/ManagementSidebar.css +1 -0
  208. package/dist/components/DigitalColleagues/ManagementSidebar.d.ts +24 -0
  209. package/dist/components/DigitalColleagues/ManagementSidebar.js +4 -0
  210. package/dist/components/DigitalColleagues/ManagementSidebar.mjs +1 -0
  211. package/dist/components/DigitalColleagues/ManagementSidebar.stories.css +1 -0
  212. package/dist/components/DigitalColleagues/ManagementSidebar.stories.js +221 -0
  213. package/dist/components/DigitalColleagues/ManagementSidebar.stories.mjs +1 -0
  214. package/dist/components/DigitalColleagues/PlanningView.css +1 -0
  215. package/dist/components/DigitalColleagues/PlanningView.d.ts +12 -0
  216. package/dist/components/DigitalColleagues/PlanningView.js +4 -0
  217. package/dist/components/DigitalColleagues/PlanningView.mjs +1 -0
  218. package/dist/components/DigitalColleagues/PlanningView.stories.css +1 -0
  219. package/dist/components/DigitalColleagues/PlanningView.stories.js +4 -0
  220. package/dist/components/DigitalColleagues/PlanningView.stories.mjs +1 -0
  221. package/dist/components/DigitalColleagues/SearchableSelect.css +1 -0
  222. package/dist/components/DigitalColleagues/SearchableSelect.d.ts +15 -0
  223. package/dist/components/DigitalColleagues/SearchableSelect.js +4 -0
  224. package/dist/components/DigitalColleagues/SearchableSelect.mjs +1 -0
  225. package/dist/components/DigitalColleagues/TaskCard.css +1 -0
  226. package/dist/components/DigitalColleagues/TaskCard.d.ts +11 -0
  227. package/dist/components/DigitalColleagues/TaskCard.js +1 -0
  228. package/dist/components/DigitalColleagues/TaskCard.mjs +1 -0
  229. package/dist/components/DigitalColleagues/TaskCard.stories.css +1 -0
  230. package/dist/components/DigitalColleagues/TaskCard.stories.js +218 -0
  231. package/dist/components/DigitalColleagues/TaskCard.stories.mjs +1 -0
  232. package/dist/components/DigitalColleagues/TaskDetailsModal.css +1 -0
  233. package/dist/components/DigitalColleagues/TaskDetailsModal.d.ts +13 -0
  234. package/dist/components/DigitalColleagues/TaskDetailsModal.js +4 -0
  235. package/dist/components/DigitalColleagues/TaskDetailsModal.mjs +1 -0
  236. package/dist/components/DigitalColleagues/TaskDetailsModal.stories.css +1 -0
  237. package/dist/components/DigitalColleagues/TaskDetailsModal.stories.js +4 -0
  238. package/dist/components/DigitalColleagues/TaskDetailsModal.stories.mjs +1 -0
  239. package/dist/components/DigitalColleagues/TaskSelect.css +1 -0
  240. package/dist/components/DigitalColleagues/TaskSelect.d.ts +15 -0
  241. package/dist/components/DigitalColleagues/TaskSelect.js +4 -0
  242. package/dist/components/DigitalColleagues/TaskSelect.mjs +1 -0
  243. package/dist/components/DigitalColleagues/TaskSelect.stories.css +1 -0
  244. package/dist/components/DigitalColleagues/TaskSelect.stories.js +221 -0
  245. package/dist/components/DigitalColleagues/TaskSelect.stories.mjs +1 -0
  246. package/dist/components/DigitalColleagues/TaskSidebar.css +1 -0
  247. package/dist/components/DigitalColleagues/TaskSidebar.d.ts +13 -0
  248. package/dist/components/DigitalColleagues/TaskSidebar.js +4 -0
  249. package/dist/components/DigitalColleagues/TaskSidebar.mjs +1 -0
  250. package/dist/components/DigitalColleagues/TaskSidebar.stories.css +1 -0
  251. package/dist/components/DigitalColleagues/TaskSidebar.stories.js +4 -0
  252. package/dist/components/DigitalColleagues/TaskSidebar.stories.mjs +1 -0
  253. package/dist/components/DigitalColleagues/TeamSwitcher.css +1 -0
  254. package/dist/components/DigitalColleagues/TeamSwitcher.d.ts +13 -0
  255. package/dist/components/DigitalColleagues/TeamSwitcher.js +4 -0
  256. package/dist/components/DigitalColleagues/TeamSwitcher.mjs +1 -0
  257. package/dist/components/DigitalColleagues/TeamSwitcher.stories.css +1 -0
  258. package/dist/components/DigitalColleagues/TeamSwitcher.stories.js +4 -0
  259. package/dist/components/DigitalColleagues/TeamSwitcher.stories.mjs +1 -0
  260. package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
  261. package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
  262. package/dist/components/HeaderFooter/HeaderMobile.stories.mjs +1 -1
  263. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  264. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  265. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  266. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  267. package/dist/components/Heros/PostHero/index.mjs +1 -1
  268. package/dist/components/Heros/RenderHero.mjs +1 -1
  269. package/dist/components/Heros/index.mjs +1 -1
  270. package/dist/components/Holidays/HolidayTracker.mjs +1 -1
  271. package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
  272. package/dist/components/Holidays/index.mjs +1 -1
  273. package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
  274. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  275. package/dist/components/Layouts/Print.mjs +1 -1
  276. package/dist/components/Layouts/Print.stories.mjs +1 -1
  277. package/dist/components/Layouts/SlideShow.mjs +1 -1
  278. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  279. package/dist/components/Layouts/index.mjs +1 -1
  280. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  281. package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
  282. package/dist/components/Menus/SidebarRight.mjs +1 -1
  283. package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
  284. package/dist/components/Menus/index.mjs +1 -1
  285. package/dist/components/Payload/Card/index.mjs +1 -1
  286. package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
  287. package/dist/components/Payload/Media/index.mjs +1 -1
  288. package/dist/components/Payload/RichText/index.mjs +1 -1
  289. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  290. package/dist/components/Payload/RichText.stories.mjs +1 -1
  291. package/dist/components/Payload/index.mjs +1 -1
  292. package/dist/components/index.js +7 -7
  293. package/dist/components/index.mjs +1 -1
  294. package/dist/components/ui/index.mjs +1 -1
  295. package/dist/globals.css +1 -1
  296. package/dist/hooks/index.mjs +1 -1
  297. package/dist/index.js +10 -10
  298. package/dist/index.mjs +1 -1
  299. package/dist/metafile-cjs.json +1 -1
  300. package/dist/metafile-esm.json +1 -1
  301. package/dist/pages/Blog.mjs +1 -1
  302. package/dist/pages/Blog.stories.mjs +1 -1
  303. package/dist/pages/Documentation.mjs +1 -1
  304. package/dist/pages/Documentation.stories.mjs +1 -1
  305. package/dist/pages/IndexPage.mjs +1 -1
  306. package/dist/pages/IndexPage.stories.mjs +1 -1
  307. package/dist/pages/Intranet.mjs +1 -1
  308. package/dist/pages/Intranet.stories.mjs +1 -1
  309. package/dist/pages/LandingPage.mjs +1 -1
  310. package/dist/pages/LandingPage.stories.mjs +1 -1
  311. package/dist/pages/Page.mjs +1 -1
  312. package/dist/pages/Page.stories.mjs +1 -1
  313. package/dist/pages/Printable.stories.mjs +1 -1
  314. package/dist/pages/Publish.mjs +1 -1
  315. package/dist/pages/Publish.stories.mjs +1 -1
  316. package/dist/pages/Website.mjs +1 -1
  317. package/dist/pages/Website.stories.mjs +1 -1
  318. package/dist/payload-types.d.ts +118 -110
  319. package/dist/payload-types.js +1 -1
  320. package/dist/sections/AboutSection.mjs +1 -1
  321. package/dist/sections/AboutSection.stories.mjs +1 -1
  322. package/dist/sections/BlogDetail.mjs +1 -1
  323. package/dist/sections/BlogDetail.stories.mjs +1 -1
  324. package/dist/sections/BlogList.mjs +1 -1
  325. package/dist/sections/BlogList.stories.mjs +1 -1
  326. package/dist/sections/BlogListSection.mjs +1 -1
  327. package/dist/sections/BlogListSection.stories.mjs +1 -1
  328. package/dist/sections/ContactSection.mjs +1 -1
  329. package/dist/sections/ContactSection.stories.mjs +1 -1
  330. package/dist/sections/ImageSection.stories.mjs +1 -1
  331. package/dist/sections/PageSections.mjs +1 -1
  332. package/dist/sections/PageSections.stories.mjs +1 -1
  333. package/dist/sections/PricingSection.mjs +1 -1
  334. package/dist/sections/PricingSection.stories.mjs +1 -1
  335. package/dist/sections/ServiceDetail.mjs +1 -1
  336. package/dist/sections/ServiceDetailSection.mjs +1 -1
  337. package/dist/sections/ServiceDetailSection.stories.mjs +1 -1
  338. package/dist/sections/ServiceSection.mjs +1 -1
  339. package/dist/sections/ServiceSection.stories.mjs +1 -1
  340. package/dist/sections/form/index.mjs +1 -1
  341. package/dist/sections/index.mjs +1 -1
  342. package/package.json +1 -1
  343. package/dist/chunk-A544CNOK.mjs +0 -1
  344. package/dist/chunk-JPGNI5UZ.mjs +0 -4
  345. package/dist/chunk-LF7I56HN.mjs +0 -1
  346. package/dist/chunk-QVIJOCZ5.mjs +0 -1
  347. package/dist/chunk-VEWTPB7K.mjs +0 -4
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{c as k,h as v,i as R,k as f,l as y,o as x,p as c,q as d,r as h,s as w,v as L,w as P,x as B}from"./chunk-SUO6GOJS.mjs";import{a as n}from"./chunk-RHFLBRXF.mjs";import{a as S,b as C,c as M}from"./chunk-YNCJATT7.mjs";import{ChevronRight as G}from"lucide-react";import T from"clsx";import{Fragment as H,jsx as e,jsxs as r}from"react/jsx-runtime";function J({mainNav:u,secondaryNav:s,ongoingWork:l,title:t,subTitle:o,pathName:i,menuHeading:O,onNavClick:m,loading:b=!1,LinkComponent:N,...A}){let g=N?a=>e(N,{...a}):m?({href:a,children:p,...I})=>e("button",{onClick:()=>m&&m(a),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...I,children:p}):a=>e("a",{...a});return r(k,{...A,variant:"inset",children:[e(v,{children:e(c,{children:e(d,{children:b?r("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[e(n,{className:"bg-gray-200 my-2 w-full h-7"}),e(n,{className:"bg-gray-200 w-3/4 my-2 h-5"})]}):r("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[e("span",{className:"truncate font-semibold",children:t}),o&&e("span",{className:"truncate text-sm",children:o})]})})})}),b&&r(f,{children:[e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"})]}),r(f,{children:[e("div",{className:"px-4 text-sm",children:"Recent Work"}),l&&!b&&l.map((a,p)=>e(F,{subNav:a,pathName:i,Link:g},p)),e("div",{className:"border-t border-gray-200 my-4"}),u&&!b&&u.map((a,p)=>e(F,{subNav:a,pathName:i,Link:g},p)),e(y,{className:"mt-auto",children:e(x,{children:e(c,{children:s&&!b&&s.map(a=>e(d,{children:e(h,{asChild:!0,size:"sm",children:r(g,{href:a.url||"",children:[a.icon&&e(a.icon,{}),e("span",{children:a.label})]})})},a.label))})})})]}),e(R,{})]})}function F({subNav:u,pathName:s,Link:l}){let t=u,o=!1;return t.links&&t.links.map(i=>{i.url===s&&(o=!0)}),e(S,{defaultOpen:!0,className:"group/collapsible",children:e(y,{className:"py-0",children:e(c,{children:e(S,{asChild:!0,defaultOpen:t.isActive,children:r(d,{children:[e(h,{asChild:!0,tooltip:t.label,className:T(o&&"font-bold text-accent"),children:r(l,{href:t.url,children:[t.icon&&e(t.icon,{}),e("span",{children:t.label})]})}),t.links?.length?r(H,{children:[e(C,{asChild:!0,children:r(w,{className:"data-[state=open]:rotate-90",children:[e(G,{}),e("span",{className:"sr-only",children:"Toggle"})]})}),e(M,{children:e(L,{children:t.links?.map(i=>e(P,{children:e(B,{asChild:!0,className:T(i.url===s&&"font-bold text-accent"),children:e(l,{href:i.url,children:e("span",{children:i.label})})})},i.label))})})]}):null]})},t.label)})})})}export{J as a};
4
+ import{a as S,b as C,c as M}from"./chunk-YNCJATT7.mjs";import{c as k,h as v,i as R,k as f,l as y,o as x,p as c,q as d,r as h,s as w,v as L,w as P,x as B}from"./chunk-SUO6GOJS.mjs";import{a as n}from"./chunk-RHFLBRXF.mjs";import{ChevronRight as G}from"lucide-react";import T from"clsx";import{Fragment as H,jsx as e,jsxs as r}from"react/jsx-runtime";function J({mainNav:u,secondaryNav:s,ongoingWork:l,title:t,subTitle:o,pathName:i,menuHeading:O,onNavClick:m,loading:b=!1,LinkComponent:N,...A}){let g=N?a=>e(N,{...a}):m?({href:a,children:p,...I})=>e("button",{onClick:()=>m&&m(a),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...I,children:p}):a=>e("a",{...a});return r(k,{...A,variant:"inset",children:[e(v,{children:e(c,{children:e(d,{children:b?r("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[e(n,{className:"bg-gray-200 my-2 w-full h-7"}),e(n,{className:"bg-gray-200 w-3/4 my-2 h-5"})]}):r("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[e("span",{className:"truncate font-semibold",children:t}),o&&e("span",{className:"truncate text-sm",children:o})]})})})}),b&&r(f,{children:[e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"})]}),r(f,{children:[e("div",{className:"px-4 text-sm",children:"Recent Work"}),l&&!b&&l.map((a,p)=>e(F,{subNav:a,pathName:i,Link:g},p)),e("div",{className:"border-t border-gray-200 my-4"}),u&&!b&&u.map((a,p)=>e(F,{subNav:a,pathName:i,Link:g},p)),e(y,{className:"mt-auto",children:e(x,{children:e(c,{children:s&&!b&&s.map(a=>e(d,{children:e(h,{asChild:!0,size:"sm",children:r(g,{href:a.url||"",children:[a.icon&&e(a.icon,{}),e("span",{children:a.label})]})})},a.label))})})})]}),e(R,{})]})}function F({subNav:u,pathName:s,Link:l}){let t=u,o=!1;return t.links&&t.links.map(i=>{i.url===s&&(o=!0)}),e(S,{defaultOpen:!0,className:"group/collapsible",children:e(y,{className:"py-0",children:e(c,{children:e(S,{asChild:!0,defaultOpen:t.isActive,children:r(d,{children:[e(h,{asChild:!0,tooltip:t.label,className:T(o&&"font-bold text-accent"),children:r(l,{href:t.url,children:[t.icon&&e(t.icon,{}),e("span",{children:t.label})]})}),t.links?.length?r(H,{children:[e(C,{asChild:!0,children:r(w,{className:"data-[state=open]:rotate-90",children:[e(G,{}),e("span",{className:"sr-only",children:"Toggle"})]})}),e(M,{children:e(L,{children:t.links?.map(i=>e(P,{children:e(B,{asChild:!0,className:T(i.url===s&&"font-bold text-accent"),children:e(l,{href:i.url,children:e("span",{children:i.label})})})},i.label))})})]}):null]})},t.label)})})})}export{J as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as f}from"./chunk-WU3JMLSC.mjs";import{a as h}from"./chunk-BZAYEKYC.mjs";import{a as l}from"./chunk-YPK6OLRS.mjs";import{a as u}from"./chunk-MUBDAI2K.mjs";import{a as p}from"./chunk-NP2M5K7O.mjs";import{a as c}from"./chunk-JHTGGDU5.mjs";import{b as n}from"./chunk-BPSLUO5I.mjs";import{a as o,b as a,c as i,e as m}from"./chunk-4YFMDLHL.mjs";import{a as s}from"./chunk-WKFNZUIR.mjs";import{ExternalLink as d}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function b({...r}){return t("div",{children:[e(s,{isMenuOpen:!0,logoLight:h,logoDark:f,...r.header}),r.hero&&r.hero.type==="lowImpact"&&e(u,{...r.hero}),r.hero&&r.hero.type==="mediumImpact"&&e(p,{...r.hero}),r.hero&&r.hero.type==="highImpact"&&e(l,{...r.hero}),r.hero&&r.hero.type==="postHero"&&e(c,{...r.hero}),e("div",{className:"container py-8",children:t("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[e("div",{className:"lg:col-span-2",children:r.children}),t("div",{className:"space-y-6",children:[t(o,{children:[e(a,{children:e(i,{children:"Quick Actions"})}),t(m,{children:[e("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),e(n,{className:"w-full",children:"Create New"})]})]}),t(o,{children:[e(a,{children:e(i,{children:"Resources"})}),e(m,{children:t("nav",{className:"flex flex-col space-y-2",children:[t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",e(d,{className:"ml-1 h-3 w-3"})]}),t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",e(d,{className:"ml-1 h-3 w-3"})]}),t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",e(d,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})}export{b as a};
4
+ import{a as h}from"./chunk-BZAYEKYC.mjs";import{a as f}from"./chunk-WU3JMLSC.mjs";import{a as l}from"./chunk-NWEA3O2Q.mjs";import{a as u}from"./chunk-VZVXDVOI.mjs";import{a as p}from"./chunk-FLGGV2UV.mjs";import{a as c}from"./chunk-JHTGGDU5.mjs";import{b as n}from"./chunk-BPSLUO5I.mjs";import{a as o,b as a,c as i,e as m}from"./chunk-4YFMDLHL.mjs";import{a as s}from"./chunk-WKFNZUIR.mjs";import{ExternalLink as d}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function b({...r}){return t("div",{children:[e(s,{isMenuOpen:!0,logoLight:h,logoDark:f,...r.header}),r.hero&&r.hero.type==="lowImpact"&&e(u,{...r.hero}),r.hero&&r.hero.type==="mediumImpact"&&e(p,{...r.hero}),r.hero&&r.hero.type==="highImpact"&&e(l,{...r.hero}),r.hero&&r.hero.type==="postHero"&&e(c,{...r.hero}),e("div",{className:"container py-8",children:t("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[e("div",{className:"lg:col-span-2",children:r.children}),t("div",{className:"space-y-6",children:[t(o,{children:[e(a,{children:e(i,{children:"Quick Actions"})}),t(m,{children:[e("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),e(n,{className:"w-full",children:"Create New"})]})]}),t(o,{children:[e(a,{children:e(i,{children:"Resources"})}),e(m,{children:t("nav",{className:"flex flex-col space-y-2",children:[t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",e(d,{className:"ml-1 h-3 w-3"})]}),t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",e(d,{className:"ml-1 h-3 w-3"})]}),t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",e(d,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})}export{b as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{f as l}from"./chunk-5ALQQYYE.mjs";import{a as r}from"./chunk-C4DU747D.mjs";import{a as s}from"./chunk-SX5U74MW.mjs";import h from"next/image";import{jsx as e,jsxs as t}from"react/jsx-runtime";var x=({links:o,media:i,children:m,richText:a})=>e("div",{children:t("div",{className:"sticky top-0 h-[70vh] min-h-[600px]",children:[t("div",{className:"fixed inset-0 container mt-24 mb-8 z-10 flex items-start justify-center",children:[m||a&&e(l,{className:"max-w-none p-0 mb-6 ml-0 prose prose-headings:text-foreground prose-p:text-foreground",content:a,enableGutter:!0}),Array.isArray(o)&&o.length>0&&e("ul",{className:"flex justify-center gap-4",children:o.map(({link:n},d)=>e("li",{children:e(r,{...n})},d))})]}),t("div",{className:"fixed inset-0 h-[70vh] min-h-[600px] select-none",children:[i&&typeof i=="object"&&e(s,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:i}),i&&typeof i=="string"&&e("div",{children:e(h,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:i})}),e("span",{className:"absolute inset-0 bg-gradient-to-b from-white dark:from-black"})]}),e(p,{})]})}),p=()=>e("div",{className:"w-full h-[1240px] z-10",children:t("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 337",style:{fontSize:0,float:"left",zIndex:20},className:"absolute -bottom-[2px] flex",children:[e("defs",{children:t("mask",{id:"mask",children:[e("rect",{width:"1920",height:"332",fill:"white"}),e("polygon",{points:"0 0 0 135 1255 330 1920 0 1920 0 1920 0 0 0"})]})}),e("rect",{width:"1920",height:"332",fill:"white",mask:"url(#mask)"}),e("rect",{y:"330",width:"1920",height:"7",fill:"white"})," "]})});export{x as a};
4
+ import{f as l}from"./chunk-QNIE2MLB.mjs";import{a as r}from"./chunk-C4DU747D.mjs";import{a as s}from"./chunk-KETV2XVN.mjs";import h from"next/image";import{jsx as e,jsxs as t}from"react/jsx-runtime";var x=({links:o,media:i,children:m,richText:a})=>e("div",{children:t("div",{className:"sticky top-0 h-[70vh] min-h-[600px]",children:[t("div",{className:"fixed inset-0 container mt-24 mb-8 z-10 flex items-start justify-center",children:[m||a&&e(l,{className:"max-w-none p-0 mb-6 ml-0 prose prose-headings:text-foreground prose-p:text-foreground",content:a,enableGutter:!0}),Array.isArray(o)&&o.length>0&&e("ul",{className:"flex justify-center gap-4",children:o.map(({link:n},d)=>e("li",{children:e(r,{...n})},d))})]}),t("div",{className:"fixed inset-0 h-[70vh] min-h-[600px] select-none",children:[i&&typeof i=="object"&&e(s,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:i}),i&&typeof i=="string"&&e("div",{children:e(h,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:i})}),e("span",{className:"absolute inset-0 bg-gradient-to-b from-white dark:from-black"})]}),e(p,{})]})}),p=()=>e("div",{className:"w-full h-[1240px] z-10",children:t("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 337",style:{fontSize:0,float:"left",zIndex:20},className:"absolute -bottom-[2px] flex",children:[e("defs",{children:t("mask",{id:"mask",children:[e("rect",{width:"1920",height:"332",fill:"white"}),e("polygon",{points:"0 0 0 135 1255 330 1920 0 1920 0 1920 0 0 0"})]})}),e("rect",{width:"1920",height:"332",fill:"white",mask:"url(#mask)"}),e("rect",{y:"330",width:"1920",height:"7",fill:"white"})," "]})});export{x as a};
@@ -0,0 +1,4 @@
1
+ "use client";
2
+ "use strict";
3
+
4
+ import{a as i}from"./chunk-PFWODHNV.mjs";import{a as m}from"./chunk-MEWCJ4MA.mjs";import{useState as b,useCallback as R}from"react";import{DragDropContext as v}from"@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration";import{jsx as l,jsxs as M}from"react/jsx-runtime";var P=["firm","forecast","other"];function I({initialData:o,updateDeal:u,addComment:p}){let[a,d]=b(null),g=t=>(o.deals??[]).filter(e=>e.gecoStatus===t).filter(e=>e.status!=="Lost"&&e.status!=="Cold"),C=t=>t.reduce((e,s)=>e+(s.value||0),0),S=(t,e)=>{let s={Cold:0,Qualified:.2,"Proposal Made":.5,"SoW Submitted":.8,Won:1,Lost:0};return t.reduce((n,r)=>n+(r.value||0)*(s[r.status]??0),0)},f=R(t=>{let{source:e,destination:s}=t;if(!s||e.droppableId===s.droppableId&&e.index===s.index)return;let n=e.droppableId,r=s.droppableId,c=o.deals?.filter(D=>D.id===e.index)[0],x=[...o.deals??[]];c&&(c.gecoStatus=r,u(c))},[u]);return l(v,{onDragEnd:f,children:M("div",{className:"p-4 h-full overflow-auto",children:[l("div",{className:"flex space-x-4 pb-4",children:P.map(t=>{let e=g(t);return l(i,{status:t,deals:e,customers:o.customers??[],users:o.users,categories:o.categories??[],onDealClick:d,calculateColumnValue:C,calculateWeightedValue:S,compact:!0},t)})}),a&&l(m,{deal:a,users:o.users,customer:a.customer,categories:o.categories??[],onClose:()=>d(null),onSave:u,onAddComment:t=>p(a.id.toString(),t)})]})})}export{I as a};
@@ -0,0 +1 @@
1
+ import{a as r,b as s,i,j as t,m as l,n as d}from"./chunk-K4RVBOIC.mjs";import{b as o}from"./chunk-BPSLUO5I.mjs";import{a as m,b as p,c}from"./chunk-4BHOIXJM.mjs";import{Bell as g,Settings as h,User as b,Menu as v}from"lucide-react";import{jsx as e,jsxs as a}from"react/jsx-runtime";var k=({isRightSidebarOpen:f,onToggleRightSidebar:w,onToggleLeftSidebar:n,onToggleNotifications:u})=>e("header",{className:"border-b bg-white/80 backdrop-blur-md dark:bg-slate-900/80 sticky top-0 z-50",children:e("div",{className:"container mx-auto px-6 py-4",children:a("div",{className:"flex items-center justify-between",children:[a("div",{className:"flex items-center space-x-4",children:[n&&e(o,{variant:"ghost",size:"icon",className:"md:hidden",onClick:n,children:e(v,{className:"h-5 w-5"})}),e("h1",{className:"text-2xl font-bold bg-gradient-to-r from-blue-600 to-purple-600 bg-clip-text text-transparent",children:"Cortex Copilot"})]}),a("div",{className:"flex items-center space-x-4",children:[a(o,{variant:"ghost",size:"icon",className:"relative",onClick:u,children:[e(g,{className:"h-5 w-5"}),e("span",{className:"absolute -top-1 -right-1 h-3 w-3 bg-red-500 rounded-full text-xs text-white flex items-center justify-center",children:"3"})]}),a(r,{children:[e(s,{asChild:!0,children:e(o,{variant:"ghost",className:"relative h-10 w-10 rounded-full",children:a(m,{className:"h-10 w-10",children:[e(p,{src:"/avatars/01.png",alt:"@user"}),e(c,{children:"JD"})]})})}),a(i,{className:"w-56",align:"end",forceMount:!0,children:[e(l,{className:"font-normal",children:a("div",{className:"flex flex-col space-y-1",children:[e("p",{className:"text-sm font-medium leading-none",children:"John Doe"}),e("p",{className:"text-xs leading-none text-muted-foreground",children:"john.doe@company.com"})]})}),e(d,{}),a(t,{children:[e(b,{className:"mr-2 h-4 w-4"}),e("span",{children:"Profile"})]}),a(t,{children:[e(h,{className:"mr-2 h-4 w-4"}),e("span",{children:"Settings"})]})]})]})]})]})})});export{k as a};
@@ -0,0 +1 @@
1
+ import{a as C}from"./chunk-TASJS6US.mjs";import{a as b}from"./chunk-FFESN4FM.mjs";import{a as g,b as p,f as u,g as d,i as D}from"./chunk-BUCI7BPM.mjs";import{b as c}from"./chunk-BPSLUO5I.mjs";import{useState as y}from"react";import{PlusCircle as v}from"lucide-react";import{Droppable as A,Draggable as T}from"@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration";import{jsx as o,jsxs as e}from"react/jsx-runtime";function L({status:s,deals:r,users:f,customers:N,categories:n,onDealClick:h,calculateColumnValue:S,calculateWeightedValue:x,addNewDeal:i,onAddCustomer:P,compact:w=!1}){let[R,m]=y(!1);return e("div",{className:"flex flex-col w-80",children:[e("h2",{className:"text-xl font-semibold mb-4",children:[" ",s.charAt(0).toUpperCase()+s.slice(1)]}),i&&e(g,{open:R,onOpenChange:m,children:[o(p,{asChild:!0,children:e(c,{className:"mb-4 w-full",children:[o(v,{className:"mr-2 h-4 w-4"}),"Add New Deal"]})}),e(u,{children:[o(d,{children:o(D,{children:"Add New Deal"})}),o(C,{customers:N,users:f,categories:n,onSubmit:i,onAddCustomer:P??(async()=>Promise.resolve({success:!1})),onClose:()=>m(!1)})]})]}),o(A,{droppableId:s,isDropDisabled:!1,children:l=>e("div",{ref:l.innerRef,...l.droppableProps,className:"bg-background/90 p-4 rounded-lg flex-grow min-h-[200px] shadow-inner",children:[r.map((a,k)=>o(T,{draggableId:a.id.toString(),index:a.id,children:t=>o("div",{ref:t.innerRef,...t.draggableProps,...t.dragHandleProps,children:o(b,{deal:a,customer:a.customer,categories:n,onClick:()=>h(a),compact:w})})},a.id.toString())),l.placeholder]})}),e("div",{className:"mt-4 text-sm p-3 rounded-lg shadow",children:[e("p",{className:"font-semibold",children:["Total:"," ",e("span",{className:"text-green-600",children:["\xA3",S(r).toLocaleString()]})]}),e("p",{className:"font-semibold",children:["Weighted:"," ",e("span",{className:"text-blue-600",children:["\xA3",x(r,s).toLocaleString()]})]})]})]})}export{L as a};
@@ -0,0 +1 @@
1
+ import{a as c,c as d,d as p,g as m,i as g}from"./chunk-OGZERPA4.mjs";import{a as f}from"./chunk-CX4XB5W2.mjs";import{a as i}from"./chunk-EECIYMTX.mjs";import{a as v,f as b,g as D,h,i as S}from"./chunk-BUCI7BPM.mjs";import{a as o}from"./chunk-JPZJET3B.mjs";import{b as s}from"./chunk-BPSLUO5I.mjs";import{useState as O}from"react";import{jsx as a,jsxs as l}from"react/jsx-runtime";var R=({isOpen:y,onClose:r,onAddEpic:C})=>{let[t,u]=O({name:"",description:"",color:"bg-blue-500",confidence:"medium",phase:1,startDate:new Date().toISOString().split("T")[0],endDate:new Date().toISOString().split("T")[0],progress:0}),N=["bg-blue-500","bg-green-500","bg-purple-500","bg-orange-500","bg-red-500","bg-yellow-500","bg-pink-500","bg-indigo-500"],w=[{value:"low",label:"Low"},{value:"medium",label:"Medium"},{value:"high",label:"High"}],E=[{value:1,label:"Planning"},{value:2,label:"Development"},{value:3,label:"Testing"},{value:4,label:"Done"}],T=e=>{e.preventDefault(),t.name.trim()&&(C({name:t.name.trim(),description:t.description.trim(),color:t.color,confidence:t.confidence,phase:t.phase,startDate:new Date(t.startDate),endDate:new Date(t.endDate),progress:t.progress,isSelected:!0}),u({name:"",description:"",color:"bg-blue-500",confidence:"medium",phase:1,startDate:new Date().toISOString().split("T")[0],endDate:new Date().toISOString().split("T")[0],progress:0}),r())},n=(e,I)=>{u(L=>({...L,[e]:I}))};return a(v,{open:y,onOpenChange:r,children:l(b,{className:"sm:max-w-md",children:[a(D,{children:a(S,{children:"Add New Epic"})}),l("form",{onSubmit:T,className:"space-y-4",children:[l("div",{className:"space-y-2",children:[a(i,{htmlFor:"name",children:"Epic Name"}),a(o,{id:"name",value:t.name,onChange:e=>n("name",e.target.value),placeholder:"Enter epic name",required:!0})]}),l("div",{className:"space-y-2",children:[a(i,{htmlFor:"description",children:"Description"}),a(f,{id:"description",value:t.description,onChange:e=>n("description",e.target.value),placeholder:"Enter epic description (optional)",rows:3})]}),l("div",{className:"space-y-2",children:[a(i,{children:"Color"}),a("div",{className:"flex gap-2 flex-wrap",children:N.map(e=>a("button",{type:"button",onClick:()=>n("color",e),className:`w-8 h-8 rounded-full ${e} ${t.color===e?"ring-2 ring-gray-400":""}`},e))})]}),l("div",{className:"grid grid-cols-2 gap-4",children:[l("div",{className:"space-y-2",children:[a(i,{children:"Confidence"}),l(c,{value:t.confidence,onValueChange:e=>n("confidence",e),children:[a(p,{children:a(d,{})}),a(m,{children:w.map(e=>a(g,{value:e.value,children:e.label},e.value))})]})]}),l("div",{className:"space-y-2",children:[a(i,{children:"Phase"}),l(c,{value:t.phase.toString(),onValueChange:e=>n("phase",parseInt(e)),children:[a(p,{children:a(d,{})}),a(m,{children:E.map(e=>a(g,{value:e.value.toString(),children:e.label},e.value))})]})]})]}),l("div",{className:"grid grid-cols-2 gap-4",children:[l("div",{className:"space-y-2",children:[a(i,{children:"Start Date"}),a(o,{type:"date",value:t.startDate,onChange:e=>n("startDate",e.target.value)})]}),l("div",{className:"space-y-2",children:[a(i,{children:"End Date"}),a(o,{type:"date",value:t.endDate,onChange:e=>n("endDate",e.target.value)})]})]}),l("div",{className:"space-y-2",children:[a(i,{children:"Progress (%)"}),a(o,{type:"number",min:"0",max:"100",value:t.progress,onChange:e=>n("progress",parseInt(e.target.value)||0)})]}),l(h,{children:[a(s,{type:"button",variant:"outline",onClick:r,children:"Cancel"}),a(s,{type:"submit",className:"bg-blue-600 hover:bg-blue-700",children:"Add Epic"})]})]})]})})};export{R as a};
@@ -1 +1 @@
1
- import{f as u}from"./chunk-5ALQQYYE.mjs";import{a as m}from"./chunk-C4DU747D.mjs";import{a as d}from"./chunk-HTVHCBXQ.mjs";import{jsx as r,jsxs as h}from"react/jsx-runtime";var B=g=>{let{columns:a,theme:i}=g,y={full:"12",half:"6",oneThird:"4",twoThirds:"8"},b={none:"",line:"border border-primary p-4 rounded-lg"},c=e=>{if(e.type&&e.type==="block"&&e.fields&&(e.fields.blockType==="imageBlock"||e.fields.blockType==="mediaBlock"))return!0;if(e.root&&e.root.children){for(let o of e.root.children)if(c(o))return!0}if(e.children){for(let o of e.children)if(c(o))return!0}return!1},k=(e,o,n)=>{if(o==="none"||n==="full")return{processedRichText:e,heading:null};let l=e,t=null;return e&&e.root&&e.root.children&&e.root.children[0].tag==="h2"&&(l={...e,root:{...e.root,children:e.root.children.slice(1)}},t=e.root.children[0]),{processedRichText:l,heading:t}};return r("div",{className:"my-6",children:r("div",{className:d("grid grid-cols-4 lg:grid-cols-12 gap-y-8",i?.settings?.box?"gap-x-8":"gap-x-16"),children:a&&a.length>0&&a.map((e,o)=>{let{enableLink:n,link:l,richText:t,size:s}=e,{processedRichText:p,heading:f}=k(t,i?.settings?.box||"none",s||"full");return h("div",{className:d(`col-span-4 lg:col-span-${y[s]}`,{"md:col-span-2":s!=="full"},b[s!=="full"&&!c(t)&&i?.settings?.box||"none"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${o+1}00`),children:[f&&r("div",{className:"bg-primary text-primary-foreground mb-4 -mt-4 -mx-4 px-4 py-2 text-xl",children:f.children[0].text}),p&&r(u,{content:p,enableGutter:!1,className:"rich-text"}),n&&r(m,{...l})]},o)})})})};export{B as a};
1
+ import{f as u}from"./chunk-QNIE2MLB.mjs";import{a as m}from"./chunk-C4DU747D.mjs";import{a as d}from"./chunk-HTVHCBXQ.mjs";import{jsx as r,jsxs as h}from"react/jsx-runtime";var B=g=>{let{columns:a,theme:i}=g,y={full:"12",half:"6",oneThird:"4",twoThirds:"8"},b={none:"",line:"border border-primary p-4 rounded-lg"},c=e=>{if(e.type&&e.type==="block"&&e.fields&&(e.fields.blockType==="imageBlock"||e.fields.blockType==="mediaBlock"))return!0;if(e.root&&e.root.children){for(let o of e.root.children)if(c(o))return!0}if(e.children){for(let o of e.children)if(c(o))return!0}return!1},k=(e,o,n)=>{if(o==="none"||n==="full")return{processedRichText:e,heading:null};let l=e,t=null;return e&&e.root&&e.root.children&&e.root.children[0].tag==="h2"&&(l={...e,root:{...e.root,children:e.root.children.slice(1)}},t=e.root.children[0]),{processedRichText:l,heading:t}};return r("div",{className:"my-6",children:r("div",{className:d("grid grid-cols-4 lg:grid-cols-12 gap-y-8",i?.settings?.box?"gap-x-8":"gap-x-16"),children:a&&a.length>0&&a.map((e,o)=>{let{enableLink:n,link:l,richText:t,size:s}=e,{processedRichText:p,heading:f}=k(t,i?.settings?.box||"none",s||"full");return h("div",{className:d(`col-span-4 lg:col-span-${y[s]}`,{"md:col-span-2":s!=="full"},b[s!=="full"&&!c(t)&&i?.settings?.box||"none"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${o+1}00`),children:[f&&r("div",{className:"bg-primary text-primary-foreground mb-4 -mt-4 -mx-4 px-4 py-2 text-xl",children:f.children[0].text}),p&&r(u,{content:p,enableGutter:!1,className:"rich-text"}),n&&r(m,{...l})]},o)})})})};export{B as a};
@@ -1 +1 @@
1
- import{a as p}from"./chunk-WU3JMLSC.mjs";import{a as s}from"./chunk-BZAYEKYC.mjs";import{a as n}from"./chunk-CJF6GVGP.mjs";import{d as r}from"./chunk-RZUYAUCR.mjs";import{a as m}from"./chunk-2ZB6Z7XN.mjs";import{a as i}from"./chunk-BONRVXMX.mjs";import{a}from"./chunk-WKFNZUIR.mjs";import{a as t}from"./chunk-Q3G5UAAD.mjs";import{Observer as c}from"tailwindcss-intersect";import{useEffect as d}from"react";import{jsx as o,jsxs as h}from"react/jsx-runtime";function g({...e}){let f=e.page,{contentWithIds:l,tableOfContents:b}=t(f);return d(()=>{c.start()},[]),h("div",{className:"relative overflow-none scroll-smooth snap-y snap-mandatory overscroll-contain",children:[o(a,{isMenuOpen:!0,logoLight:s,logoDark:p,wide:!0}),o("div",{children:o(n,{...e.hero})}),e.hero&&e.related&&o(m,{menuItems:e.related,dark:e.hero.type!=="highImpact",wide:!0}),o(r,{blocks:l}),o(i,{...e.footer})]})}export{g as a};
1
+ import{a as s}from"./chunk-BZAYEKYC.mjs";import{a as p}from"./chunk-WU3JMLSC.mjs";import{a as n}from"./chunk-IE5CASFG.mjs";import{d as r}from"./chunk-DINASYAM.mjs";import{a as m}from"./chunk-2ZB6Z7XN.mjs";import{a as i}from"./chunk-BONRVXMX.mjs";import{a}from"./chunk-WKFNZUIR.mjs";import{a as t}from"./chunk-Q3G5UAAD.mjs";import{Observer as c}from"tailwindcss-intersect";import{useEffect as d}from"react";import{jsx as o,jsxs as h}from"react/jsx-runtime";function g({...e}){let f=e.page,{contentWithIds:l,tableOfContents:b}=t(f);return d(()=>{c.start()},[]),h("div",{className:"relative overflow-none scroll-smooth snap-y snap-mandatory overscroll-contain",children:[o(a,{isMenuOpen:!0,logoLight:s,logoDark:p,wide:!0}),o("div",{children:o(n,{...e.hero})}),e.hero&&e.related&&o(m,{menuItems:e.related,dark:e.hero.type!=="highImpact",wide:!0}),o(r,{blocks:l}),o(i,{...e.footer})]})}export{g as a};
@@ -0,0 +1 @@
1
+ import{a as c}from"./chunk-CX4XB5W2.mjs";import{a as i}from"./chunk-EECIYMTX.mjs";import{b as o}from"./chunk-BPSLUO5I.mjs";import{a as n,c as l}from"./chunk-4BHOIXJM.mjs";import{b as d}from"./chunk-J2IHT57D.mjs";import{useState as f}from"react";import{MessageSquare as N,Send as u}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";var B=({comments:m,onAddComment:p})=>{let[s,r]=f(""),g=a=>a.split(" ").map(x=>x[0]).join("").toUpperCase(),v=()=>{s.trim()&&(p(s),r(""))};return t("div",{className:"space-y-4",children:[t("div",{className:"flex items-center gap-2",children:[e(N,{className:"h-5 w-5"}),e(i,{className:"text-lg font-medium",children:"Comments"}),e(d,{variant:"secondary",children:m.length})]}),e("div",{className:"space-y-4 max-h-60 overflow-y-auto",children:m.map(a=>t("div",{className:"flex gap-3 p-3 bg-gray-50 rounded-lg",children:[e(n,{className:"h-8 w-8 mt-1",children:e(l,{className:"text-xs bg-gray-200 text-gray-700",children:g(a.author)})}),t("div",{className:"flex-1",children:[t("div",{className:"flex items-center gap-2 mb-1",children:[e("span",{className:"font-medium text-sm",children:a.author}),t("span",{className:"text-xs text-gray-500",children:[a.createdAt.toLocaleDateString()," at ",a.createdAt.toLocaleTimeString()]})]}),e("p",{className:"text-sm text-gray-700",children:a.text})]})]},a.id))}),t("div",{className:"flex gap-2",children:[e(c,{value:s,onChange:a=>r(a.target.value),placeholder:"Add a comment...",rows:2,className:"flex-1 resize-none"}),e(o,{onClick:v,disabled:!s.trim(),size:"sm",className:"self-end",children:e(u,{className:"h-4 w-4"})})]})]})};export{B as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{i as G,j as _,k as O,l as $,m as J,n as U,o as X}from"./chunk-O5BAW5XQ.mjs";import{a as y}from"./chunk-C4DU747D.mjs";import{a as T}from"./chunk-DIAK5C43.mjs";import{a as S}from"./chunk-IC57R2EU.mjs";import{a as R}from"./chunk-PBRC3UOA.mjs";import{a as I}from"./chunk-7PBTM4J4.mjs";import{b as P}from"./chunk-BPSLUO5I.mjs";import{a as b}from"./chunk-FVM5SQT2.mjs";import{a as l}from"./chunk-HTVHCBXQ.mjs";import{useState as q}from"react";import{jsx as p,jsxs as v}from"react/jsx-runtime";var se=({links:r,richText:t})=>p("div",{className:"container",children:v("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[p("div",{className:"max-w-[48rem] flex items-center",children:t&&p(f,{className:"mb-0",content:t,enableGutter:!1})}),p("div",{className:"flex flex-col gap-8",children:(r||[]).map(({link:e},n)=>p(y,{size:"lg",...e},n))})]})}),F=({links:r,richText:t})=>{let[e,n]=q(!1),i="accent",a=()=>n(!0),o=()=>n(!1),u=m=>{m.target===m.currentTarget&&o()};return v("div",{className:l("relative isolate overflow-hidden",i==="accent"?"bg-accent":"bg-black"),children:[p("div",{className:"px-6 py-24 sm:px-6 sm:py-32 lg:px-8",children:v("div",{className:"mx-auto max-w-2xl text-center prose",children:[t&&p(f,{className:"mb-0 prose-headings:text-white prose-h2:text-white prose-p:text-white text-white",content:t,enableGutter:!1}),p("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:p("div",{className:"flex flex-col gap-8 text-white",children:(r||[]).map(({link:m},g)=>m?.url==="/contact"?p("div",{onClick:a,className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",i==="accent"?"border-white bg-accent":"border-accent bg-black"),children:m.label},g):p(y,{size:"lg",className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",i==="accent"?"border-white bg-accent":"border-accent bg-black"),...m},g))})})]})}),e&&p("div",{className:"absolute inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50",onClick:u,children:v("div",{className:"bg-white p-6 pt-10 rounded-lg shadow-lg w-full max-w-lg light relative",children:[p("button",{className:"absolute top-4 right-4 text-gray-500 hover:text-gray-700",onClick:o,children:"\u2715"}),p(T,{})," "]})})]})};import K from"next/image";import{jsx as d,jsxs as k}from"react/jsx-runtime";function D(r){return r&&typeof r=="object"&&"type"in r&&"iconName"in r}function w({image:r,icon:t,title:e,subtitle:n,content:i,statistic:a,settings:o,link:u,className:m}){let g={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},N={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return k("a",{href:u?.url||"#",className:l("min-w-56 max-w-xl h-full flex flex-col group bg-background",r?"p-0":"p-6 md:p-8",o&&!r&&g[o?.card==="default"?"solid":o?.card],r&&"bg-foreground",o&&o?.card==="outline"?"text-gray-900":"text-white",N[o?.width??"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",o&&`intersect:animate-delay-${o.order||1}00`,m),children:[r&&d("div",{className:"relative aspect-[16/9] w-full",children:d(K,{src:r.url||"/placeholder.svg",alt:r.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),k("div",{className:l(r?"p-6 md:p-8":"p-0","flex flex-col flex-grow"),children:[k("div",{className:"flex flex-col flex-grow",children:[n&&d("div",{className:"text-primary uppercase text-sm font-light mb-4",children:n}),d("div",{className:"flex items-start gap-4 mb-4",children:d(Q,{icon:{type:t?.type||"fa-light",iconName:t?.icon||"no-icon-error"},heading:e??"",variant:o?.card==="default"?"solid":o?.card??"solid",iconSize:o?.iconSize||"large"})}),i&&typeof i=="object"&&d(f,{enableGutter:!1,content:i,enableProse:!1,className:l("prose-sm prose-p:text-lg prose-headings:text-xl","space-y-3",o?.card==="outline"||o?.card==="light"?"prose-headings:text-foreground prose-p:text-foreground prose-a:text-foreground":"prose-headings:text-white prose-p:text-gray-100 prose-a:text-gray-100",r&&"prose-headings:text-background prose-p:text-background")}),i&&typeof i=="string"&&d("div",{className:l("prose-sm prose-p:text-lg prose-headings:text-xl","space-y-3",o?.card==="outline"||o?.card==="light"?"prose text-foreground":"prose text-gray-100",r&&"prose text-background"),children:i})]}),u&&u.url&&d("div",{className:"mt-6",children:d("span",{className:"text-accent font-semibold uppercase text-sm block hover:text-accent/80 transition-colors",children:u?.label||"Find out more"})})]})]})}var Q=({icon:r,heading:t,variant:e,iconSize:n,subtitle:i})=>r&&n==="small"&&r.iconName!="no-icon-error"?k("div",{className:"flex items-start justify-between w-full mb-2",children:[d("div",{className:l(e==="outline"||e==="light"?"text-primary":"text-white",n==="small"?"text-2xl":"text-3xl"),children:t}),D(r)&&d("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",e==="outline"||e==="light"?"text-primary":"text-white",n==="small"?"-mr-2 ml-1 mt-1":""),children:d(b,{type:r.type,iconName:r.iconName,size:"2x"})})]}):r&&r.iconName!="no-icon-error"?k("div",{className:"flex flex-col gap-4",children:[D(r)&&d("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",e==="outline"||e==="light"?"text-accent":""),children:d(b,{type:r.type,iconName:r.iconName,size:"4x"})}),d("h3",{className:l("font-normal",e==="outline"||e==="light"?"text-2xl text-primary":"text-3xl text-white"),children:t})]}):d("div",{className:"flex items-center gap-4 mb-2",children:d("div",{className:l("font-regular",e==="outline"||e==="light"?"text-2xl text-primary":"text-3xl"),children:t})});import{jsx as c,jsxs as B}from"react/jsx-runtime";function z(r){return r&&typeof r=="object"&&"type"in r&&"iconName"in r}function ke({variant:r="outline",className:t,icon:e,iconSize:n="large",width:i="auto",order:a=0,heading:o,subheading:u,content:m,statistic:g,buttonText:N,buttonHref:E}){let H={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:""},j={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return B("div",{className:l("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",H[r],r==="outline"?"text-gray-900":"text-white",t,j[i],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${a+1}00`),children:[c("div",{className:"flex items-center gap-4 mb-2",children:c(V,{icon:e,heading:o,variant:r,iconSize:n})}),g&&c("div",{className:"mb-6",children:c("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",r==="outline"||r==="light"?"text-primary":"text-white"),children:g})}),u&&c("div",{className:"mb-4 text-xl md:text-2xl font-light",children:u}),m&&typeof m=="object"&&c("div",{className:l("space-y-6"),children:c(f,{enableGutter:!1,content:m,enableProse:!1,className:l(r==="outline"||r==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),m&&typeof m=="string"&&c("div",{className:l("space-y-6",r==="outline"||r==="light"?"text-gray-900":"text-gray-100"),children:m}),N&&c("div",{className:"mt-auto pt-6 flex items-center justify-center",children:c(P,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:c("a",{href:E,children:N})})}),r==="radial"&&c("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var V=({icon:r,heading:t,variant:e,iconSize:n})=>r&&n==="small"?B("div",{className:"flex items-start gap-4 mb-2",children:[z(r)&&c("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",e==="outline"||e==="light"?"text-primary":"text-white",n==="small"?"mt-2":""),children:c(b,{type:r.type,iconName:r.iconName,size:"2x"})}),c("div",{className:l("font-semibold",e==="outline"||e==="light"?"text-primary":"text-white",n==="small"?"text-2xl":"text-3xl"),children:t})]}):r?B("div",{className:"flex flex-col gap-4",children:[z(r)&&c("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",e==="outline"||e==="light"?"text-accent":""),children:c(b,{type:r.type,iconName:r.iconName,size:"4x"})}),c("h3",{className:l("font-semibold",e==="outline"||e==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):c("div",{className:"flex items-center gap-4 mb-2",children:c("div",{className:l("font-semibold",e==="outline"||e==="light"?"text-2xl text-primary":"text-3xl"),children:t})});import{jsx as x,jsxs as A}from"react/jsx-runtime";var M=({title:r,description:t,features:e,id:n,nested:i=!1})=>A("section",{className:l(i?"w-full":"",""),children:[A("div",{className:"prose prose:max-w-none",children:[r&&x("h2",{className:"mb-6 mt-0 text-primary",id:n||"",children:r}),t&&typeof t=="string"&&x("p",{className:"mb-5 text-foreground",children:t}),t&&typeof t=="object"&&x("div",{className:"mb-5 text-foreground",children:x(f,{content:t,enableGutter:!1})})]}),x("div",{className:`grid gap-6 mt-6 md:grid-cols-${e?e.length>2?2:e.length:1} lg:grid-cols-${e?e.length>3?3:e.length:1}`,children:e&&e.map((a,o)=>{let u=()=>{if(a.icon&&"type"in a.icon&&a.icon.type!=="none")return{type:a.icon.type,icon:a.icon.icon}};return x(w,{title:a.title||"",content:a.content||void 0,statistic:a.statistic||void 0,settings:{...a.settings,width:"auto",order:o},link:a.link?{...a.link,label:"Learn more"}:void 0,icon:u()??{type:"none",icon:null}},o)})})]});import W,{Fragment as Y}from"react";import{jsx as s}from"react/jsx-runtime";function h({nodes:r}){return s(Y,{children:r?.map((t,e)=>{if(t==null)return null;if(t.type==="text"&&t.text){let a=s(W.Fragment,{children:t.text},e);return t.format&1&&(a=s("strong",{children:a},e)),t.format&2&&(a=s("em",{children:a},e)),t.format&4&&(a=s("span",{style:{textDecoration:"line-through"},children:a},e)),t.format&8&&(a=s("span",{style:{textDecoration:"underline"},children:a},e)),t.format&16&&(a=s("code",{children:t.text},e)),t.format&32&&(a=s("sub",{children:a},e)),t.format&64&&(a=s("sup",{children:a},e)),a}if(t.type==="table")return s("table",{children:s("tbody",{children:t.children.map((a,o)=>s("tr",{children:a.children.map((u,m)=>s("td",{children:h({nodes:u.children})},m))},o))})},e);let n=a=>{if(a.children==null)return null;if(a?.type==="list"&&a?.listType==="check")for(let o of a.children)"checked"in o&&(o?.checked||(o.checked=!1));return h({nodes:a.children})},i="children"in t?n(t):"";if(t.type==="block"){let a=t.fields,o=a?.blockType;if(!a||!o)return null;switch(o){case"cta":return s(F,{...a},e);case"mediaBlock":return s(S,{className:"col-start-1 col-span-3",imgClassName:"m-0",...a,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},e);case"imageBlock":return s(R,{className:"col-start-1 col-span-3",imgClassName:"m-0",...a,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},e);case"banner":return s(L,{className:"col-start-2 mb-4",...a},e);case"code":return s(I,{className:"col-start-2",...a},e);case"features":return s(M,{...a,nested:!0},e);case"reusableContentBlock":h({nodes:a.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return s("br",{className:"col-start-2"},e);case"paragraph":return s("p",{className:"col-start-2",children:i},e);case"heading":{let a=t?.tag;return s(a,{className:"col-start-2",id:t?.id||"",children:i},e)}case"list":{let a=t?.tag;return s(a,{className:"list col-start-2",children:i},e)}case"listitem":return t?.checked!=null?s("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t?.value,children:i},e):s("li",{value:t?.value,children:i},e);case"quote":return s("blockquote",{className:"col-start-2",children:i},e);case"link":{let a=t.fields;return s(y,{newTab:!!a?.newTab,reference:a.doc,type:a.linkType==="internal"?"reference":"custom",url:a.url,children:i},e)}case"autolink":{let a=t.fields;return s(y,{newTab:!!a?.newTab,reference:a.doc,type:a.linkType==="internal"?"reference":"custom",url:a.url,children:i},e)}default:return null}})})}import{jsx as Z}from"react/jsx-runtime";var f=({className:r,content:t,enableGutter:e=!0,enableProse:n=!0})=>t?Z("div",{className:l({"container ":e,"max-w-none":!e,"mx-auto prose":n},r),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&h({nodes:t?.root?.children})}):null;import{jsx as C}from"react/jsx-runtime";var L=({className:r,content:t,style:e})=>C("div",{className:l("mx-auto my-8 w-full",r),children:C("div",{className:l("border py-3 px-6 flex items-center rounded",{"border-border bg-card":e==="info","border-error bg-error/30":e==="error","border-success bg-success/30":e==="success","border-warning bg-warning/30":e==="warning"}),children:C(f,{content:t,enableGutter:!1,enableProse:!1})})});export{L as a,se as b,F as c,M as d,h as e,f,w as g,ke as h};
4
+ import{i as G,j as _,k as O,l as $,m as J,n as U,o as X}from"./chunk-O5BAW5XQ.mjs";import{a as y}from"./chunk-C4DU747D.mjs";import{a as T}from"./chunk-STHWCR5K.mjs";import{a as S}from"./chunk-VXGRJCCM.mjs";import{a as R}from"./chunk-DAJNZDN6.mjs";import{a as I}from"./chunk-7PBTM4J4.mjs";import{b as P}from"./chunk-BPSLUO5I.mjs";import{a as b}from"./chunk-FVM5SQT2.mjs";import{a as l}from"./chunk-HTVHCBXQ.mjs";import{useState as q}from"react";import{jsx as p,jsxs as v}from"react/jsx-runtime";var se=({links:r,richText:t})=>p("div",{className:"container",children:v("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[p("div",{className:"max-w-[48rem] flex items-center",children:t&&p(f,{className:"mb-0",content:t,enableGutter:!1})}),p("div",{className:"flex flex-col gap-8",children:(r||[]).map(({link:e},n)=>p(y,{size:"lg",...e},n))})]})}),F=({links:r,richText:t})=>{let[e,n]=q(!1),i="accent",a=()=>n(!0),o=()=>n(!1),u=m=>{m.target===m.currentTarget&&o()};return v("div",{className:l("relative isolate overflow-hidden",i==="accent"?"bg-accent":"bg-black"),children:[p("div",{className:"px-6 py-24 sm:px-6 sm:py-32 lg:px-8",children:v("div",{className:"mx-auto max-w-2xl text-center prose",children:[t&&p(f,{className:"mb-0 prose-headings:text-white prose-h2:text-white prose-p:text-white text-white",content:t,enableGutter:!1}),p("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:p("div",{className:"flex flex-col gap-8 text-white",children:(r||[]).map(({link:m},g)=>m?.url==="/contact"?p("div",{onClick:a,className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",i==="accent"?"border-white bg-accent":"border-accent bg-black"),children:m.label},g):p(y,{size:"lg",className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",i==="accent"?"border-white bg-accent":"border-accent bg-black"),...m},g))})})]})}),e&&p("div",{className:"absolute inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50",onClick:u,children:v("div",{className:"bg-white p-6 pt-10 rounded-lg shadow-lg w-full max-w-lg light relative",children:[p("button",{className:"absolute top-4 right-4 text-gray-500 hover:text-gray-700",onClick:o,children:"\u2715"}),p(T,{})," "]})})]})};import K from"next/image";import{jsx as d,jsxs as k}from"react/jsx-runtime";function D(r){return r&&typeof r=="object"&&"type"in r&&"iconName"in r}function w({image:r,icon:t,title:e,subtitle:n,content:i,statistic:a,settings:o,link:u,className:m}){let g={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},N={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return k("a",{href:u?.url||"#",className:l("min-w-56 max-w-xl h-full flex flex-col group bg-background",r?"p-0":"p-6 md:p-8",o&&!r&&g[o?.card==="default"?"solid":o?.card],r&&"bg-foreground",o&&o?.card==="outline"?"text-gray-900":"text-white",N[o?.width??"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",o&&`intersect:animate-delay-${o.order||1}00`,m),children:[r&&d("div",{className:"relative aspect-[16/9] w-full",children:d(K,{src:r.url||"/placeholder.svg",alt:r.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),k("div",{className:l(r?"p-6 md:p-8":"p-0","flex flex-col flex-grow"),children:[k("div",{className:"flex flex-col flex-grow",children:[n&&d("div",{className:"text-primary uppercase text-sm font-light mb-4",children:n}),d("div",{className:"flex items-start gap-4 mb-4",children:d(Q,{icon:{type:t?.type||"fa-light",iconName:t?.icon||"no-icon-error"},heading:e??"",variant:o?.card==="default"?"solid":o?.card??"solid",iconSize:o?.iconSize||"large"})}),i&&typeof i=="object"&&d(f,{enableGutter:!1,content:i,enableProse:!1,className:l("prose-sm prose-p:text-lg prose-headings:text-xl","space-y-3",o?.card==="outline"||o?.card==="light"?"prose-headings:text-foreground prose-p:text-foreground prose-a:text-foreground":"prose-headings:text-white prose-p:text-gray-100 prose-a:text-gray-100",r&&"prose-headings:text-background prose-p:text-background")}),i&&typeof i=="string"&&d("div",{className:l("prose-sm prose-p:text-lg prose-headings:text-xl","space-y-3",o?.card==="outline"||o?.card==="light"?"prose text-foreground":"prose text-gray-100",r&&"prose text-background"),children:i})]}),u&&u.url&&d("div",{className:"mt-6",children:d("span",{className:"text-accent font-semibold uppercase text-sm block hover:text-accent/80 transition-colors",children:u?.label||"Find out more"})})]})]})}var Q=({icon:r,heading:t,variant:e,iconSize:n,subtitle:i})=>r&&n==="small"&&r.iconName!="no-icon-error"?k("div",{className:"flex items-start justify-between w-full mb-2",children:[d("div",{className:l(e==="outline"||e==="light"?"text-primary":"text-white",n==="small"?"text-2xl":"text-3xl"),children:t}),D(r)&&d("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",e==="outline"||e==="light"?"text-primary":"text-white",n==="small"?"-mr-2 ml-1 mt-1":""),children:d(b,{type:r.type,iconName:r.iconName,size:"2x"})})]}):r&&r.iconName!="no-icon-error"?k("div",{className:"flex flex-col gap-4",children:[D(r)&&d("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",e==="outline"||e==="light"?"text-accent":""),children:d(b,{type:r.type,iconName:r.iconName,size:"4x"})}),d("h3",{className:l("font-normal",e==="outline"||e==="light"?"text-2xl text-primary":"text-3xl text-white"),children:t})]}):d("div",{className:"flex items-center gap-4 mb-2",children:d("div",{className:l("font-regular",e==="outline"||e==="light"?"text-2xl text-primary":"text-3xl"),children:t})});import{jsx as c,jsxs as B}from"react/jsx-runtime";function z(r){return r&&typeof r=="object"&&"type"in r&&"iconName"in r}function ke({variant:r="outline",className:t,icon:e,iconSize:n="large",width:i="auto",order:a=0,heading:o,subheading:u,content:m,statistic:g,buttonText:N,buttonHref:E}){let H={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:""},j={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return B("div",{className:l("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",H[r],r==="outline"?"text-gray-900":"text-white",t,j[i],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${a+1}00`),children:[c("div",{className:"flex items-center gap-4 mb-2",children:c(V,{icon:e,heading:o,variant:r,iconSize:n})}),g&&c("div",{className:"mb-6",children:c("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",r==="outline"||r==="light"?"text-primary":"text-white"),children:g})}),u&&c("div",{className:"mb-4 text-xl md:text-2xl font-light",children:u}),m&&typeof m=="object"&&c("div",{className:l("space-y-6"),children:c(f,{enableGutter:!1,content:m,enableProse:!1,className:l(r==="outline"||r==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),m&&typeof m=="string"&&c("div",{className:l("space-y-6",r==="outline"||r==="light"?"text-gray-900":"text-gray-100"),children:m}),N&&c("div",{className:"mt-auto pt-6 flex items-center justify-center",children:c(P,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:c("a",{href:E,children:N})})}),r==="radial"&&c("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var V=({icon:r,heading:t,variant:e,iconSize:n})=>r&&n==="small"?B("div",{className:"flex items-start gap-4 mb-2",children:[z(r)&&c("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",e==="outline"||e==="light"?"text-primary":"text-white",n==="small"?"mt-2":""),children:c(b,{type:r.type,iconName:r.iconName,size:"2x"})}),c("div",{className:l("font-semibold",e==="outline"||e==="light"?"text-primary":"text-white",n==="small"?"text-2xl":"text-3xl"),children:t})]}):r?B("div",{className:"flex flex-col gap-4",children:[z(r)&&c("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",e==="outline"||e==="light"?"text-accent":""),children:c(b,{type:r.type,iconName:r.iconName,size:"4x"})}),c("h3",{className:l("font-semibold",e==="outline"||e==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):c("div",{className:"flex items-center gap-4 mb-2",children:c("div",{className:l("font-semibold",e==="outline"||e==="light"?"text-2xl text-primary":"text-3xl"),children:t})});import{jsx as x,jsxs as A}from"react/jsx-runtime";var M=({title:r,description:t,features:e,id:n,nested:i=!1})=>A("section",{className:l(i?"w-full":"",""),children:[A("div",{className:"prose prose:max-w-none",children:[r&&x("h2",{className:"mb-6 mt-0 text-primary",id:n||"",children:r}),t&&typeof t=="string"&&x("p",{className:"mb-5 text-foreground",children:t}),t&&typeof t=="object"&&x("div",{className:"mb-5 text-foreground",children:x(f,{content:t,enableGutter:!1})})]}),x("div",{className:`grid gap-6 mt-6 md:grid-cols-${e?e.length>2?2:e.length:1} lg:grid-cols-${e?e.length>3?3:e.length:1}`,children:e&&e.map((a,o)=>{let u=()=>{if(a.icon&&"type"in a.icon&&a.icon.type!=="none")return{type:a.icon.type,icon:a.icon.icon}};return x(w,{title:a.title||"",content:a.content||void 0,statistic:a.statistic||void 0,settings:{...a.settings,width:"auto",order:o},link:a.link?{...a.link,label:"Learn more"}:void 0,icon:u()??{type:"none",icon:null}},o)})})]});import W,{Fragment as Y}from"react";import{jsx as s}from"react/jsx-runtime";function h({nodes:r}){return s(Y,{children:r?.map((t,e)=>{if(t==null)return null;if(t.type==="text"&&t.text){let a=s(W.Fragment,{children:t.text},e);return t.format&1&&(a=s("strong",{children:a},e)),t.format&2&&(a=s("em",{children:a},e)),t.format&4&&(a=s("span",{style:{textDecoration:"line-through"},children:a},e)),t.format&8&&(a=s("span",{style:{textDecoration:"underline"},children:a},e)),t.format&16&&(a=s("code",{children:t.text},e)),t.format&32&&(a=s("sub",{children:a},e)),t.format&64&&(a=s("sup",{children:a},e)),a}if(t.type==="table")return s("table",{children:s("tbody",{children:t.children.map((a,o)=>s("tr",{children:a.children.map((u,m)=>s("td",{children:h({nodes:u.children})},m))},o))})},e);let n=a=>{if(a.children==null)return null;if(a?.type==="list"&&a?.listType==="check")for(let o of a.children)"checked"in o&&(o?.checked||(o.checked=!1));return h({nodes:a.children})},i="children"in t?n(t):"";if(t.type==="block"){let a=t.fields,o=a?.blockType;if(!a||!o)return null;switch(o){case"cta":return s(F,{...a},e);case"mediaBlock":return s(S,{className:"col-start-1 col-span-3",imgClassName:"m-0",...a,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},e);case"imageBlock":return s(R,{className:"col-start-1 col-span-3",imgClassName:"m-0",...a,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},e);case"banner":return s(L,{className:"col-start-2 mb-4",...a},e);case"code":return s(I,{className:"col-start-2",...a},e);case"features":return s(M,{...a,nested:!0},e);case"reusableContentBlock":h({nodes:a.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return s("br",{className:"col-start-2"},e);case"paragraph":return s("p",{className:"col-start-2",children:i},e);case"heading":{let a=t?.tag;return s(a,{className:"col-start-2",id:t?.id||"",children:i},e)}case"list":{let a=t?.tag;return s(a,{className:"list col-start-2",children:i},e)}case"listitem":return t?.checked!=null?s("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t?.value,children:i},e):s("li",{value:t?.value,children:i},e);case"quote":return s("blockquote",{className:"col-start-2",children:i},e);case"link":{let a=t.fields;return s(y,{newTab:!!a?.newTab,reference:a.doc,type:a.linkType==="internal"?"reference":"custom",url:a.url,children:i},e)}case"autolink":{let a=t.fields;return s(y,{newTab:!!a?.newTab,reference:a.doc,type:a.linkType==="internal"?"reference":"custom",url:a.url,children:i},e)}default:return null}})})}import{jsx as Z}from"react/jsx-runtime";var f=({className:r,content:t,enableGutter:e=!0,enableProse:n=!0})=>t?Z("div",{className:l({"container ":e,"max-w-none":!e,"mx-auto prose":n},r),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&h({nodes:t?.root?.children})}):null;import{jsx as C}from"react/jsx-runtime";var L=({className:r,content:t,style:e})=>C("div",{className:l("mx-auto my-8 w-full",r),children:C("div",{className:l("border py-3 px-6 flex items-center rounded",{"border-border bg-card":e==="info","border-error bg-error/30":e==="error","border-success bg-success/30":e==="success","border-warning bg-warning/30":e==="warning"}),children:C(f,{content:t,enableGutter:!1,enableProse:!1})})});export{L as a,se as b,F as c,M as d,h as e,f,w as g,ke as h};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{c as R,h as v,i as w,j as B,k as P,l,m as s,o as b,p as o,q as n,r as u,v as C,w as g,x as y}from"./chunk-SUO6GOJS.mjs";import{a as f}from"./chunk-RHFLBRXF.mjs";import{a as p,b as d,c}from"./chunk-YNCJATT7.mjs";import{a as M}from"./chunk-FVM5SQT2.mjs";import{PencilLine as z,ChevronDown as h,FilePlus as E,Edit as H,Printer as _}from"lucide-react";import $ from"clsx";import{Fragment as T,jsx as e,jsxs as a}from"react/jsx-runtime";var q=()=>e(M,{iconName:"github",size:"10x"});function Z({relatedContent:i,tableOfContents:x,editorComponent:N,loading:m=!1,editMode:k=!1,onAddDocument:A,onEditDocument:L,onPrintDocument:O,onGithubClick:G,onNavClick:S,LinkComponent:I,...D}){let F=I?t=>e(I,{...t}):S?({item:t,children:r,...j})=>e("button",{onClick:()=>S&&S(t),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...j,children:r}):t=>e("a",{href:t.href,...t});return a(R,{side:"right",variant:"inset",...D,children:[a(v,{className:"border-b border-sidebar-border",children:[a(o,{className:"flex-row space-x-1",children:[e(n,{children:a(u,{onClick:A,children:[e(E,{})," ",e("span",{children:"Add Document"})]})}),G&&e(n,{children:e(u,{onClick:G,tooltip:"Open in GitHub",children:e(q,{})})})]}),a(o,{className:"flex-row space-x-1",children:[e(n,{className:"w-5/12",children:a(u,{onClick:()=>L(),variant:k?"outline":"default",className:$(k&&"text-accent"),children:[e(H,{})," ",e("span",{children:"Edit"})]})}),e(n,{className:"w-5/12",children:a(u,{onClick:O,children:[e(_,{})," ",e("span",{children:"Print"})]})})]})]}),N&&a(T,{children:[e(p,{defaultOpen:!0,className:"group/collapsible",children:a(l,{children:[e(s,{asChild:!0,children:a(d,{children:["Editor Controls",e(h,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),e(b,{children:e(c,{children:N})})]})}),e(B,{className:"mx-0"})]}),a(P,{className:"overflow-auto",children:[m&&a(T,{children:[a(l,{children:[e(s,{children:"Related Content"}),e(b,{children:e(o,{children:Array.from({length:3}).map((t,r)=>e(n,{children:e(f,{className:"bg-gray-200 w-full h-10"})},r))})})]}),a(l,{children:[e(s,{children:"Table of Contents"}),e(b,{children:e(o,{children:Array.from({length:3}).map((t,r)=>e(n,{children:e(f,{className:"bg-gray-200 w-full h-10"})},r))})})]})]}),i&&!m&&Object.keys(i).length>0&&e(p,{defaultOpen:!0,className:"group/collapsible",children:a(l,{children:[e(s,{asChild:!0,children:a(d,{children:["Related Content",e(h,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),e(b,{children:e(c,{children:e(o,{children:i&&Object.keys(i).map(t=>a(n,{children:[a("span",{className:"p-2 text-xs text-sidebar-foreground",children:[" ",t.charAt(0).toUpperCase()+t.slice(1)]}),t&&i[t]&&e(C,{children:i[t].map(r=>e(g,{children:e(y,{asChild:!0,isActive:!1,size:"sm",children:a(F,{href:r.url,item:r,className:"flex justify-between items-center w-full text-xs",children:[e("span",{children:r.label}),r.type==="note"&&e(z,{className:"ml-2 text-gray-400 !important",size:16}),r.type==="draft"&&e(M,{iconName:"code-pull-request-draft",className:"ml-2 text-gray-400 !important"})]})})},r.label))})]},t))})})})]})}),x&&!m&&e(p,{defaultOpen:!0,className:"group/collapsible",children:a(l,{children:[e(s,{asChild:!0,children:a(d,{children:["Table of Contents",e(h,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),e(b,{children:e(c,{children:e(o,{children:x.map(t=>a(n,{children:[e(u,{asChild:!0,children:e("a",{href:`#${t.url}`,className:"text-xs",children:t.title})}),t.items?.length?e(C,{children:t.items.map(r=>e(g,{children:e(y,{asChild:!0,isActive:r.isActive,size:"sm",children:e("a",{href:`#${r.url}`,className:"flex justify-between items-center w-full text-xs",children:e("span",{children:r.title})})})},r.title))}):null]},t.title))})})})]})})]}),e(w,{})]})}export{Z as a};
4
+ import{a as p,b as d,c}from"./chunk-YNCJATT7.mjs";import{c as R,h as v,i as w,j as B,k as P,l,m as s,o as b,p as o,q as n,r as u,v as C,w as g,x as y}from"./chunk-SUO6GOJS.mjs";import{a as f}from"./chunk-RHFLBRXF.mjs";import{a as M}from"./chunk-FVM5SQT2.mjs";import{PencilLine as z,ChevronDown as h,FilePlus as E,Edit as H,Printer as _}from"lucide-react";import $ from"clsx";import{Fragment as T,jsx as e,jsxs as a}from"react/jsx-runtime";var q=()=>e(M,{iconName:"github",size:"10x"});function Z({relatedContent:i,tableOfContents:x,editorComponent:N,loading:m=!1,editMode:k=!1,onAddDocument:A,onEditDocument:L,onPrintDocument:O,onGithubClick:G,onNavClick:S,LinkComponent:I,...D}){let F=I?t=>e(I,{...t}):S?({item:t,children:r,...j})=>e("button",{onClick:()=>S&&S(t),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...j,children:r}):t=>e("a",{href:t.href,...t});return a(R,{side:"right",variant:"inset",...D,children:[a(v,{className:"border-b border-sidebar-border",children:[a(o,{className:"flex-row space-x-1",children:[e(n,{children:a(u,{onClick:A,children:[e(E,{})," ",e("span",{children:"Add Document"})]})}),G&&e(n,{children:e(u,{onClick:G,tooltip:"Open in GitHub",children:e(q,{})})})]}),a(o,{className:"flex-row space-x-1",children:[e(n,{className:"w-5/12",children:a(u,{onClick:()=>L(),variant:k?"outline":"default",className:$(k&&"text-accent"),children:[e(H,{})," ",e("span",{children:"Edit"})]})}),e(n,{className:"w-5/12",children:a(u,{onClick:O,children:[e(_,{})," ",e("span",{children:"Print"})]})})]})]}),N&&a(T,{children:[e(p,{defaultOpen:!0,className:"group/collapsible",children:a(l,{children:[e(s,{asChild:!0,children:a(d,{children:["Editor Controls",e(h,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),e(b,{children:e(c,{children:N})})]})}),e(B,{className:"mx-0"})]}),a(P,{className:"overflow-auto",children:[m&&a(T,{children:[a(l,{children:[e(s,{children:"Related Content"}),e(b,{children:e(o,{children:Array.from({length:3}).map((t,r)=>e(n,{children:e(f,{className:"bg-gray-200 w-full h-10"})},r))})})]}),a(l,{children:[e(s,{children:"Table of Contents"}),e(b,{children:e(o,{children:Array.from({length:3}).map((t,r)=>e(n,{children:e(f,{className:"bg-gray-200 w-full h-10"})},r))})})]})]}),i&&!m&&Object.keys(i).length>0&&e(p,{defaultOpen:!0,className:"group/collapsible",children:a(l,{children:[e(s,{asChild:!0,children:a(d,{children:["Related Content",e(h,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),e(b,{children:e(c,{children:e(o,{children:i&&Object.keys(i).map(t=>a(n,{children:[a("span",{className:"p-2 text-xs text-sidebar-foreground",children:[" ",t.charAt(0).toUpperCase()+t.slice(1)]}),t&&i[t]&&e(C,{children:i[t].map(r=>e(g,{children:e(y,{asChild:!0,isActive:!1,size:"sm",children:a(F,{href:r.url,item:r,className:"flex justify-between items-center w-full text-xs",children:[e("span",{children:r.label}),r.type==="note"&&e(z,{className:"ml-2 text-gray-400 !important",size:16}),r.type==="draft"&&e(M,{iconName:"code-pull-request-draft",className:"ml-2 text-gray-400 !important"})]})})},r.label))})]},t))})})})]})}),x&&!m&&e(p,{defaultOpen:!0,className:"group/collapsible",children:a(l,{children:[e(s,{asChild:!0,children:a(d,{children:["Table of Contents",e(h,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),e(b,{children:e(c,{children:e(o,{children:x.map(t=>a(n,{children:[e(u,{asChild:!0,children:e("a",{href:`#${t.url}`,className:"text-xs",children:t.title})}),t.items?.length?e(C,{children:t.items.map(r=>e(g,{children:e(y,{asChild:!0,isActive:r.isActive,size:"sm",children:e("a",{href:`#${r.url}`,className:"flex justify-between items-center w-full text-xs",children:e("span",{children:r.title})})})},r.title))}):null]},t.title))})})})]})})]}),e(w,{})]})}export{Z as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{f as t}from"./chunk-5ALQQYYE.mjs";import{a}from"./chunk-HTVHCBXQ.mjs";import n from"react";import*as l from"@radix-ui/react-collapsible";import{ChevronDownIcon as c,ChevronUpIcon as m}from"@radix-ui/react-icons";import{jsx as e,jsxs as s}from"react/jsx-runtime";var h=({title:p,richText:r})=>{let[o,i]=n.useState(!1);return e("div",{className:"border rounded-lg overflow-hidden",children:s(l.Root,{className:a("w-full"),open:o,onOpenChange:i,children:[s(l.Trigger,{className:"flex w-full items-center justify-between bg-white px-4 py-3 text-left hover:bg-gray-50",children:[e("h2",{className:"text-lg font-medium",children:p}),o?e(m,{className:"h-6 w-6"}):e(c,{className:"h-6 w-6"})]}),e(l.Content,{className:"overflow-hidden data-[state=closed]:animate-collapse data-[state=open]:animate-expand border-t",children:e("div",{className:"px-4 py-3 bg-white",children:e(t,{content:r||{},enableGutter:!1})})})]})})};export{h as a};
4
+ import{f as t}from"./chunk-QNIE2MLB.mjs";import{a}from"./chunk-HTVHCBXQ.mjs";import n from"react";import*as l from"@radix-ui/react-collapsible";import{ChevronDownIcon as c,ChevronUpIcon as m}from"@radix-ui/react-icons";import{jsx as e,jsxs as s}from"react/jsx-runtime";var h=({title:p,richText:r})=>{let[o,i]=n.useState(!1);return e("div",{className:"border rounded-lg overflow-hidden",children:s(l.Root,{className:a("w-full"),open:o,onOpenChange:i,children:[s(l.Trigger,{className:"flex w-full items-center justify-between bg-white px-4 py-3 text-left hover:bg-gray-50",children:[e("h2",{className:"text-lg font-medium",children:p}),o?e(m,{className:"h-6 w-6"}):e(c,{className:"h-6 w-6"})]}),e(l.Content,{className:"overflow-hidden data-[state=closed]:animate-collapse data-[state=open]:animate-expand border-t",children:e("div",{className:"px-4 py-3 bg-white",children:e(t,{content:r||{},enableGutter:!1})})})]})})};export{h as a};
@@ -0,0 +1 @@
1
+ import{a as r}from"./chunk-FWBG46K2.mjs";import{a as u}from"./chunk-E6ZAA4QH.mjs";import{a as c,b as m}from"./chunk-63W64WWD.mjs";import{a as s}from"./chunk-EECIYMTX.mjs";import{b as n}from"./chunk-BPSLUO5I.mjs";import{Calendar as b,Clock as y,User as N,Trash2 as f,BookOpen as h,Bug as C,Zap as S,AlertCircle as w}from"lucide-react";import{jsx as a,jsxs as l}from"react/jsx-runtime";var L=[{value:"story",label:"Story",color:"bg-blue-100 text-blue-800",icon:h},{value:"task",label:"Task",color:"bg-gray-100 text-gray-800",icon:w},{value:"bug",label:"Bug",color:"bg-red-100 text-red-800",icon:C},{value:"spike",label:"Spike",color:"bg-purple-100 text-purple-800",icon:S}],T=[{value:"low",label:"Low",color:"bg-green-100 text-green-800"},{value:"medium",label:"Medium",color:"bg-yellow-100 text-yellow-800"},{value:"high",label:"High",color:"bg-red-100 text-red-800"}],D=[{value:"John Doe",label:"John Doe"},{value:"Jane Smith",label:"Jane Smith"},{value:"Bob Wilson",label:"Bob Wilson"},{value:"Alice Johnson",label:"Alice Johnson"},{value:"Carol Brown",label:"Carol Brown"},{value:"David Lee",label:"David Lee"},{value:"Emma Davis",label:"Emma Davis"},{value:"Frank Miller",label:"Frank Miller"},{value:"Grace Taylor",label:"Grace Taylor"},{value:"Unassigned",label:"Unassigned"}],E=({task:t,epics:g,sprints:v,lastUpdated:p,onUpdateTask:o,onClose:d,onDelete:x})=>{let B=e=>e.split(" ").map(i=>i[0]).join("").toUpperCase();return l("div",{className:"flex flex-col h-full",children:[l("div",{className:"space-y-4",children:[l("div",{className:"space-y-2",children:[a(s,{className:"text-xs text-gray-600",children:"Status"}),a(r,{label:"",value:t.status,onValueChange:e=>o("status",e),options:[{value:"todo",label:"To Do"},{value:"in-progress",label:"In Progress"},{value:"done",label:"Done"}]})]}),l("div",{className:"space-y-2",children:[a(s,{className:"text-xs text-gray-600",children:"Type"}),a(c,{type:"single",value:t.type,onValueChange:e=>e&&o("type",e),className:"grid grid-cols-2 gap-1",children:L.map(e=>{let i=e.icon;return l(m,{value:e.value,className:"flex items-center gap-1 text-xs h-8 data-[state=on]:bg-primary data-[state=on]:text-primary-foreground",size:"sm",children:[a(i,{className:"h-3 w-3"}),e.label]},e.value)})})]}),l("div",{className:"space-y-2",children:[a(s,{className:"text-xs text-gray-600",children:"Priority"}),a(c,{type:"single",value:t.priority,onValueChange:e=>e&&o("priority",e),className:"grid grid-cols-3 gap-1",children:T.map(e=>a(m,{value:e.value,className:"text-xs h-8 data-[state=on]:bg-primary data-[state=on]:text-primary-foreground",size:"sm",children:e.label},e.value))})]}),l("div",{className:"space-y-2",children:[a(s,{className:"text-xs text-gray-600",children:"Story Points"}),a("input",{type:"number",min:"1",max:"100",value:t.points||1,onChange:e=>o("points",e.target.value),className:"w-full h-8 px-2 text-xs border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent"})]}),l("div",{className:"space-y-2",children:[a(s,{className:"text-xs text-gray-600",children:"Epic"}),a(r,{label:"",value:t.epicId,onValueChange:e=>o("epicId",e),options:g.map(e=>({value:e.id,label:e.name,color:e.color})),showColor:!0})]}),l("div",{className:"space-y-2",children:[a(s,{className:"text-xs text-gray-600",children:"Sprint"}),a(r,{label:"",value:t.sprintId||"none",onValueChange:e=>o("sprintId",e==="none"?"":e),options:[{value:"none",label:"No Sprint"},...v.map(e=>({value:e.id,label:`${e.name}${e.isActive?" (Active)":""}`}))]})]}),l("div",{className:"space-y-2",children:[a(s,{className:"text-xs text-gray-600",children:"Assignee"}),a(u,{label:"",value:t.assignee,onValueChange:e=>o("assignee",e),options:D,placeholder:"Search team members...",allowCustomValue:!0})]})]}),l("div",{className:"mt-auto pt-4 space-y-4",children:[l("div",{className:"space-y-2",children:[a(n,{onClick:d,variant:"outline",className:"w-full h-8 text-xs",children:"Close"}),l(n,{onClick:x,variant:"destructive",className:"w-full h-8 text-xs gap-1",children:[a(f,{className:"h-3 w-3"}),"Delete Task"]})]}),l("div",{className:"pt-4 border-t border-gray-200 space-y-2",children:[a("div",{className:"text-xs text-gray-400 font-medium mb-2",children:"Information"}),l("div",{className:"flex items-center justify-between",children:[a("span",{className:"text-xs text-gray-500",children:"Logged By"}),l("div",{className:"flex items-center gap-1 text-xs text-gray-400",children:[a(N,{className:"h-3 w-3"}),a("span",{children:"System"})]})]}),l("div",{className:"flex items-center justify-between",children:[a("span",{className:"text-xs text-gray-500",children:"Created"}),l("div",{className:"flex items-center gap-1 text-xs text-gray-400",children:[a(b,{className:"h-3 w-3"}),a("span",{children:t.createdAt.toLocaleDateString()})]})]}),l("div",{className:"flex items-center justify-between",children:[a("span",{className:"text-xs text-gray-500",children:"Last Updated"}),l("div",{className:"flex items-center gap-1 text-xs text-gray-400",children:[a(y,{className:"h-3 w-3"}),l("span",{children:[p.toLocaleDateString()," at ",p.toLocaleTimeString()]})]})]})]})]})]})};export{E as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as f}from"./chunk-CTKUF2I6.mjs";import{a as p}from"./chunk-56RXRTGZ.mjs";import{a as C}from"./chunk-L3PFZ7PW.mjs";import{b as v}from"./chunk-BPSLUO5I.mjs";import{a as i}from"./chunk-HTVHCBXQ.mjs";import{Formik as h}from"formik";import{FaUser as N}from"react-icons/fa6";import*as m from"yup";import{toast as b}from"sonner";import{jsx as a,jsxs as r}from"react/jsx-runtime";var t={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},L=m.object().shape({name:m.string().min(2,t.tooShort).max(50,t.tooLong).required(t.required),email:m.string().email(t.email).required(t.required),subject:m.string().min(2,t.tooShort).max(50,t.tooLong).required(t.required),message:m.string().min(2,t.tooShort).max(300,t.tooLong).required(t.required)}),u=i("!pr-[44px] text-foreground"),g=i("!border-red-600 border"),d=i("sr-only");function T(){return a(h,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:L,onSubmit:async(e,{resetForm:s})=>{let o=await f(e);o.data===null?b.error(o.message):(b.success(o.message),s())},children:({errors:e,touched:s,values:o,handleChange:n,handleBlur:c,isSubmitting:l,handleSubmit:x})=>r("form",{onSubmit:x,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[r("div",{children:[a(p,{placeholder:"Your Name",type:"text",name:"name",value:o.name,onChange:n,onBlur:c,disabled:l,icon:a(N,{className:"text-primary"}),className:i(u,e.name&&s.name&&g)}),e.name&&s.name&&a("p",{title:e.name,"aria-live":"polite",role:"error message",className:d,children:e.name})]}),r("div",{children:[a(p,{placeholder:"Your Email",type:"email",name:"email",value:o.email,onChange:n,onBlur:c,disabled:l,icon:a(y,{}),className:i(u,e.email&&s.email&&g)}),e.email&&s.email&&a("p",{title:e.email,"aria-live":"polite",role:"error message",className:d,children:e.email})]}),r("div",{className:"lg:col-span-2",children:[a(p,{placeholder:"Subject",type:"text",name:"subject",value:o.subject,onChange:n,onBlur:c,disabled:l,className:i(u,e.subject&&s.subject&&g)}),e.subject&&s.subject&&a("p",{title:e.subject,"aria-live":"polite",role:"error message",className:d,children:e.subject})]}),r("div",{className:"lg:col-span-2",children:[a(C,{placeholder:"Message...",name:"message",value:o.message,onChange:n,onBlur:c,disabled:l,icon:a(w,{}),className:i(u,e.message&&s.message&&g)}),e.message&&s.message&&a("p",{title:e.message,"aria-live":"polite",role:"error message",className:d,children:e.message})]}),a("div",{className:"lg:col-span-2 light grid justify-items-center",children:a(v,{type:"submit",className:"outline px-6 rounded-full outline-accent bg-background text-foreground hover:bg-accent hover:text-accent-foreground",disabled:l,children:"Send"})})]})})}function y(){return a("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:a("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function w(){return a("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:a("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}export{T as a};
4
+ import{a as f}from"./chunk-CTKUF2I6.mjs";import{a as C}from"./chunk-L3PFZ7PW.mjs";import{a as p}from"./chunk-56RXRTGZ.mjs";import{b as v}from"./chunk-BPSLUO5I.mjs";import{a as i}from"./chunk-HTVHCBXQ.mjs";import{Formik as h}from"formik";import{FaUser as N}from"react-icons/fa6";import*as m from"yup";import{toast as b}from"sonner";import{jsx as a,jsxs as r}from"react/jsx-runtime";var t={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},L=m.object().shape({name:m.string().min(2,t.tooShort).max(50,t.tooLong).required(t.required),email:m.string().email(t.email).required(t.required),subject:m.string().min(2,t.tooShort).max(50,t.tooLong).required(t.required),message:m.string().min(2,t.tooShort).max(300,t.tooLong).required(t.required)}),u=i("!pr-[44px] text-foreground"),g=i("!border-red-600 border"),d=i("sr-only");function T(){return a(h,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:L,onSubmit:async(e,{resetForm:s})=>{let o=await f(e);o.data===null?b.error(o.message):(b.success(o.message),s())},children:({errors:e,touched:s,values:o,handleChange:n,handleBlur:c,isSubmitting:l,handleSubmit:x})=>r("form",{onSubmit:x,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[r("div",{children:[a(p,{placeholder:"Your Name",type:"text",name:"name",value:o.name,onChange:n,onBlur:c,disabled:l,icon:a(N,{className:"text-primary"}),className:i(u,e.name&&s.name&&g)}),e.name&&s.name&&a("p",{title:e.name,"aria-live":"polite",role:"error message",className:d,children:e.name})]}),r("div",{children:[a(p,{placeholder:"Your Email",type:"email",name:"email",value:o.email,onChange:n,onBlur:c,disabled:l,icon:a(y,{}),className:i(u,e.email&&s.email&&g)}),e.email&&s.email&&a("p",{title:e.email,"aria-live":"polite",role:"error message",className:d,children:e.email})]}),r("div",{className:"lg:col-span-2",children:[a(p,{placeholder:"Subject",type:"text",name:"subject",value:o.subject,onChange:n,onBlur:c,disabled:l,className:i(u,e.subject&&s.subject&&g)}),e.subject&&s.subject&&a("p",{title:e.subject,"aria-live":"polite",role:"error message",className:d,children:e.subject})]}),r("div",{className:"lg:col-span-2",children:[a(C,{placeholder:"Message...",name:"message",value:o.message,onChange:n,onBlur:c,disabled:l,icon:a(w,{}),className:i(u,e.message&&s.message&&g)}),e.message&&s.message&&a("p",{title:e.message,"aria-live":"polite",role:"error message",className:d,children:e.message})]}),a("div",{className:"lg:col-span-2 light grid justify-items-center",children:a(v,{type:"submit",className:"outline px-6 rounded-full outline-accent bg-background text-foreground hover:bg-accent hover:text-accent-foreground",disabled:l,children:"Send"})})]})})}function y(){return a("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:a("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function w(){return a("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:a("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}export{T as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as y}from"./chunk-X4Q7WZZS.mjs";import{a as b,b as k}from"./chunk-GHXEOXV4.mjs";import{a as S}from"./chunk-IH37BDR2.mjs";import{a as C}from"./chunk-WU3JMLSC.mjs";import{a as w}from"./chunk-BZAYEKYC.mjs";import{a as g}from"./chunk-LHL2AONM.mjs";import{a as u}from"./chunk-YPK6OLRS.mjs";import{a as v}from"./chunk-MUBDAI2K.mjs";import{a as f}from"./chunk-NP2M5K7O.mjs";import{c as m,f as p}from"./chunk-5ALQQYYE.mjs";import{a as d}from"./chunk-SX5U74MW.mjs";import{a as s}from"./chunk-INOUDNCK.mjs";import{a as x}from"./chunk-BONRVXMX.mjs";import{a as N}from"./chunk-WKFNZUIR.mjs";import{a as h}from"./chunk-KTXQBXXJ.mjs";import{a as n}from"./chunk-HTVHCBXQ.mjs";import z from"next/image";import{jsx as e,jsxs as o}from"react/jsx-runtime";var H=t=>({root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:t,type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}}),T=({children:t})=>e("div",{children:o("div",{className:"sticky top-0 h-screen",children:[t,e(s,{className:"text-black z-10",position:"header"})]})}),R=()=>o(T,{children:[o("video",{className:"fixed inset-0 object-cover w-full h-full z-0",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[e("source",{src:"assets/videos/background2.mp4",type:"video/mp4"}),"Your browser does not support the video tag."]}),e("div",{className:"fixed inset-0 h-full z-10 flex flex-col items-start justify-center text-white px-4",children:e(h,{children:o("div",{className:"flex flex-col items-start md:w-1/2 mb-10 z-0 md:mb-0",children:[e("h1",{className:"text-5xl md:text-7xl mb-6",children:"Lorum ipsum."}),e("div",{className:"text-lg md:text-2xl text-gray-300 mb-8 max-w-lg",children:"Lorum ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec dui ac odio."})]})})})]}),L={highImpact:u,lowImpact:v,mediumImpact:f,sectionHero:g,dummy:R};function P({...t}){let i=t.style;return o("div",{className:"relative overflow-y-none scroll-smooth snap-y snap-mandatory",children:[e(N,{isMenuOpen:!0,logoLight:w,logoDark:C,...t.header}),e(I,{...t.hero}),e(c,{theme:"light",style:i,children:e(y,{...t.service})}),e(c,{theme:"dark",style:i,image:t.service.services[0].image,children:e(j,{})}),e(c,{theme:"light",style:i,children:e(j,{})}),e(c,{theme:"dark",style:i,children:e(b,{...t.contact})}),e(c,{theme:"light",style:i,children:e(k,{...t.contact})}),e(c,{theme:"last",style:i,children:e(S,{...t.blog})}),e(m,{...t.cta}),e(x,{...t.footer})]})}var I=t=>{let{type:i}=t||{};if(!i||i==="none")return null;let l=L[i];return l?e(l,{...t}):null},j=()=>{let t={blurDataURL:"/assets/props/Cortex-Handshake-BG.jpg",height:1315,url:"/assets/props/Cortex-Handshake-BG.jpg",width:1920};return e("div",{className:"container",children:o("div",{className:"w-full grid grid-cols-1 md:grid-cols-2 gap-1 items-center justify-center",children:[o("div",{className:n("w-full text-left"),children:[e("h2",{className:"text-3xl md:text-5xl text-primary",children:"Lorum ipsum..."}),e("p",{className:"mt-4 text-gray-700 text-lg",children:e(p,{enableGutter:!1,content:H("Lorum ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec dui ac odio. Nulla facilisi. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies. Lorum ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec dui ac odio. Nulla facilisi. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies."),enableProse:!1,className:n("prose prose-headings:text-foreground prose-p:text-foreground")})}),e("button",{className:"mt-6 px-6 py-3 border border-1 border-accent text-foreground rounded-full text-base hover:bg-accent hover:text-accent-foreground transition",children:"Click here"})]}),e("div",{className:"w-full h-full min-h-96 p-6 md:p-6 flex justify-center",children:e(z,{src:t.url,alt:"image",width:t.width,height:t.height,className:"max-w-full"})})]})})},c=({children:t,theme:i,style:l,neighbours:M,shape:D,image:B,id:r,continueTheme:F})=>{let G=a=>o("div",{className:"select-none",children:[a&&typeof a=="object"&&e(d,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:a}),a&&typeof a=="string"&&e("div",{children:e(z,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:a})})]});if(i==="dark"&&l==="slide")return e("section",{id:r||"next-section",className:"sticky md:top-0 h-screen",children:o("div",{className:"dark pt-0 min-h-[80vh]",children:[e(s,{className:"z-10",position:"dark-top"}),o("div",{className:"relative",children:[e("div",{className:"flex items-center bg-black justify-center pt-12",children:e("div",{className:"container",children:t})}),e(s,{className:"z-10",position:"dark-bottom"})]})]})});if(i==="light"&&l==="slide")return e("section",{id:r||"next-section",className:"sticky top-0 light pt-0 h-screen",children:o("div",{className:"sticky top-0 light pt-0 h-screen",children:[e(s,{className:"z-10",position:"light-top"}),o("div",{className:"relative bg-white",children:[e("div",{className:"flex items-center bg-white justify-center pt-12",children:e("div",{className:"container",children:t})}),e("div",{className:"h-[200px] bg-white"})]})]})});if(i==="first")return e("section",{id:r||"next-section",className:"",children:e("div",{className:"sticky top-0 light bg-background pt-6 min-h-[80vh]",children:o("div",{className:"relative",children:[e("div",{className:"flex items-center justify-center pt-12",children:e("div",{className:"container",children:t})}),e(s,{className:"text-black z-10",position:"bottom-right"})]})})});if(i==="light")return e("section",{id:r||"next-section",className:"",children:e("div",{className:n("sticky top-0 light bg-background min-h-[50vh]","pb-10"),children:e("div",{className:"flex items-center pt-8 justify-center",children:e("div",{className:"container",children:t})})})});if(i==="dark")return e("section",{id:r||"next-section",className:"",children:o("div",{className:"sticky -top-[1px] dark min-h-[80vh] bg-white",children:[e(s,{className:"text-black z-10",position:"bottom-right"}),e("div",{className:"flex items-center justify-center pt-12 bg-black",children:e("div",{className:"container",children:t})}),e(s,{className:"text-accent z-10",position:"top"})]})});if(i==="last")return e("section",{id:r||"next-section",className:"",children:o("div",{className:"sticky -top-[1px] dark min-h-[80vh] bg-white",children:[e(s,{className:"text-black z-10",position:"bottom-right"}),e("div",{className:"flex items-center justify-center pb-12 bg-black min-h-[80vh]",children:e("div",{className:"container",children:t})})]})})};export{P as a,c as b};
4
+ import{a as y}from"./chunk-AVBIHINB.mjs";import{a as S}from"./chunk-UQASICDL.mjs";import{a as b,b as k}from"./chunk-VCZPEEMH.mjs";import{a as w}from"./chunk-BZAYEKYC.mjs";import{a as C}from"./chunk-WU3JMLSC.mjs";import{a as g}from"./chunk-LHL2AONM.mjs";import{a as u}from"./chunk-NWEA3O2Q.mjs";import{a as v}from"./chunk-VZVXDVOI.mjs";import{a as f}from"./chunk-FLGGV2UV.mjs";import{c as m,f as p}from"./chunk-QNIE2MLB.mjs";import{a as d}from"./chunk-KETV2XVN.mjs";import{a as s}from"./chunk-INOUDNCK.mjs";import{a as x}from"./chunk-BONRVXMX.mjs";import{a as N}from"./chunk-WKFNZUIR.mjs";import{a as h}from"./chunk-KTXQBXXJ.mjs";import{a as n}from"./chunk-HTVHCBXQ.mjs";import z from"next/image";import{jsx as e,jsxs as o}from"react/jsx-runtime";var H=t=>({root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:t,type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}}),T=({children:t})=>e("div",{children:o("div",{className:"sticky top-0 h-screen",children:[t,e(s,{className:"text-black z-10",position:"header"})]})}),R=()=>o(T,{children:[o("video",{className:"fixed inset-0 object-cover w-full h-full z-0",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[e("source",{src:"assets/videos/background2.mp4",type:"video/mp4"}),"Your browser does not support the video tag."]}),e("div",{className:"fixed inset-0 h-full z-10 flex flex-col items-start justify-center text-white px-4",children:e(h,{children:o("div",{className:"flex flex-col items-start md:w-1/2 mb-10 z-0 md:mb-0",children:[e("h1",{className:"text-5xl md:text-7xl mb-6",children:"Lorum ipsum."}),e("div",{className:"text-lg md:text-2xl text-gray-300 mb-8 max-w-lg",children:"Lorum ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec dui ac odio."})]})})})]}),L={highImpact:u,lowImpact:v,mediumImpact:f,sectionHero:g,dummy:R};function P({...t}){let i=t.style;return o("div",{className:"relative overflow-y-none scroll-smooth snap-y snap-mandatory",children:[e(N,{isMenuOpen:!0,logoLight:w,logoDark:C,...t.header}),e(I,{...t.hero}),e(c,{theme:"light",style:i,children:e(y,{...t.service})}),e(c,{theme:"dark",style:i,image:t.service.services[0].image,children:e(j,{})}),e(c,{theme:"light",style:i,children:e(j,{})}),e(c,{theme:"dark",style:i,children:e(b,{...t.contact})}),e(c,{theme:"light",style:i,children:e(k,{...t.contact})}),e(c,{theme:"last",style:i,children:e(S,{...t.blog})}),e(m,{...t.cta}),e(x,{...t.footer})]})}var I=t=>{let{type:i}=t||{};if(!i||i==="none")return null;let l=L[i];return l?e(l,{...t}):null},j=()=>{let t={blurDataURL:"/assets/props/Cortex-Handshake-BG.jpg",height:1315,url:"/assets/props/Cortex-Handshake-BG.jpg",width:1920};return e("div",{className:"container",children:o("div",{className:"w-full grid grid-cols-1 md:grid-cols-2 gap-1 items-center justify-center",children:[o("div",{className:n("w-full text-left"),children:[e("h2",{className:"text-3xl md:text-5xl text-primary",children:"Lorum ipsum..."}),e("p",{className:"mt-4 text-gray-700 text-lg",children:e(p,{enableGutter:!1,content:H("Lorum ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec dui ac odio. Nulla facilisi. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies. Lorum ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec dui ac odio. Nulla facilisi. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies."),enableProse:!1,className:n("prose prose-headings:text-foreground prose-p:text-foreground")})}),e("button",{className:"mt-6 px-6 py-3 border border-1 border-accent text-foreground rounded-full text-base hover:bg-accent hover:text-accent-foreground transition",children:"Click here"})]}),e("div",{className:"w-full h-full min-h-96 p-6 md:p-6 flex justify-center",children:e(z,{src:t.url,alt:"image",width:t.width,height:t.height,className:"max-w-full"})})]})})},c=({children:t,theme:i,style:l,neighbours:M,shape:D,image:B,id:r,continueTheme:F})=>{let G=a=>o("div",{className:"select-none",children:[a&&typeof a=="object"&&e(d,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:a}),a&&typeof a=="string"&&e("div",{children:e(z,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:a})})]});if(i==="dark"&&l==="slide")return e("section",{id:r||"next-section",className:"sticky md:top-0 h-screen",children:o("div",{className:"dark pt-0 min-h-[80vh]",children:[e(s,{className:"z-10",position:"dark-top"}),o("div",{className:"relative",children:[e("div",{className:"flex items-center bg-black justify-center pt-12",children:e("div",{className:"container",children:t})}),e(s,{className:"z-10",position:"dark-bottom"})]})]})});if(i==="light"&&l==="slide")return e("section",{id:r||"next-section",className:"sticky top-0 light pt-0 h-screen",children:o("div",{className:"sticky top-0 light pt-0 h-screen",children:[e(s,{className:"z-10",position:"light-top"}),o("div",{className:"relative bg-white",children:[e("div",{className:"flex items-center bg-white justify-center pt-12",children:e("div",{className:"container",children:t})}),e("div",{className:"h-[200px] bg-white"})]})]})});if(i==="first")return e("section",{id:r||"next-section",className:"",children:e("div",{className:"sticky top-0 light bg-background pt-6 min-h-[80vh]",children:o("div",{className:"relative",children:[e("div",{className:"flex items-center justify-center pt-12",children:e("div",{className:"container",children:t})}),e(s,{className:"text-black z-10",position:"bottom-right"})]})})});if(i==="light")return e("section",{id:r||"next-section",className:"",children:e("div",{className:n("sticky top-0 light bg-background min-h-[50vh]","pb-10"),children:e("div",{className:"flex items-center pt-8 justify-center",children:e("div",{className:"container",children:t})})})});if(i==="dark")return e("section",{id:r||"next-section",className:"",children:o("div",{className:"sticky -top-[1px] dark min-h-[80vh] bg-white",children:[e(s,{className:"text-black z-10",position:"bottom-right"}),e("div",{className:"flex items-center justify-center pt-12 bg-black",children:e("div",{className:"container",children:t})}),e(s,{className:"text-accent z-10",position:"top"})]})});if(i==="last")return e("section",{id:r||"next-section",className:"",children:o("div",{className:"sticky -top-[1px] dark min-h-[80vh] bg-white",children:[e(s,{className:"text-black z-10",position:"bottom-right"}),e("div",{className:"flex items-center justify-center pb-12 bg-black min-h-[80vh]",children:e("div",{className:"container",children:t})})]})})};export{P as a,c as b};
@@ -0,0 +1,4 @@
1
+ "use client";
2
+ "use strict";
3
+
4
+ import{a as g}from"./chunk-MRJQKF4Z.mjs";import{a as S}from"./chunk-BZAYEKYC.mjs";import{a as f}from"./chunk-WU3JMLSC.mjs";import{a as d,b as o,c as a,d as m,e as t,f as l}from"./chunk-ZJ56IQPQ.mjs";import{a as u}from"./chunk-WGEMXPWB.mjs";import{b as n,d as b,f as c}from"./chunk-SUO6GOJS.mjs";import{a as s}from"./chunk-GRCMMAFX.mjs";import{a as p}from"./chunk-WKFNZUIR.mjs";import{jsx as e,jsxs as r}from"react/jsx-runtime";function h({...i}){return r("div",{className:"bg-sidebar",children:[e(p,{isMenuOpen:!0,logoLight:S,logoDark:f,...i.header,className:"bg-sidebar",wide:!0}),r(n,{className:"top-24 mb-4 h-full max-h-[calc(100vh-3.5rem)] flex-1 flex-row overflow-y-clip",children:[e(g,{...i.sidebarLeft,className:"flex-none top-24"}),r(c,{className:"grow overflow-hidden",children:[e("header",{className:"flex h-16 shrink-0 items-center gap-2",children:r("div",{className:"flex items-center gap-2 px-4",children:[e(b,{className:"-ml-1"}),e(s,{orientation:"vertical",className:"mr-2 h-4"}),e(d,{children:r(o,{children:[e(a,{className:"hidden md:block",children:e(m,{href:"#",children:"Building Your Application"})}),e(l,{className:"hidden md:block"}),e(a,{children:e(t,{children:"Data Fetching"})})]})})]})}),r("div",{className:"flex flex-1 flex-col gap-4 p-4 pt-0",children:[r("div",{className:"grid auto-rows-min gap-4 md:grid-cols-3",children:[e("div",{className:"aspect-video rounded-xl bg-muted/50"}),e("div",{className:"aspect-video rounded-xl bg-muted/50"}),e("div",{className:"aspect-video rounded-xl bg-muted/50"})]}),e("div",{className:"flex-1 rounded-xl bg-muted/50 md:min-h-min"})]})]})]}),e(u,{})]})}export{h as a};
@@ -1 +1 @@
1
- import{a as A}from"./chunk-VGQTRTPZ.mjs";import{a as g,c as v,d as f,g as C,i as h}from"./chunk-OGZERPA4.mjs";import{a as N}from"./chunk-6T322YHB.mjs";import{a as k}from"./chunk-CX4XB5W2.mjs";import{a as l}from"./chunk-EECIYMTX.mjs";import{a as F}from"./chunk-KJIBE57R.mjs";import{a as S,f as y,g as x,i as w}from"./chunk-BUCI7BPM.mjs";import{a as u}from"./chunk-JPZJET3B.mjs";import{b as p}from"./chunk-BPSLUO5I.mjs";import{useState as D,useEffect as M}from"react";import{PlusIcon as z}from"lucide-react";import{Fragment as j,jsx as t,jsxs as r}from"react/jsx-runtime";function se({customers:b,users:d,categories:I,onSubmit:E,initialDeal:n,onAddCustomer:P,onClose:L}){let[a,o]=D(n||{customer:void 0,value:0,assignee:void 0,status:"Cold",categories:[],dateLogged:new Date().toISOString().split("T")[0],closureDate:"",comments:[],description:""}),[T,m]=D(!1),[i,c]=D({});M(()=>{n&&o(n)},[n]);let U=()=>{let e={};return a.customer||(e.customer="Customer is required"),a.value||(e.value="Value is required"),a.assignee||(e.assignee="Assignee is required"),a.closureDate||(e.closureDate="Closure Date is required"),c(e),Object.keys(e).length===0},B=async e=>{e.preventDefault(),c({});try{if(U()){let s=await E({...a});s.success?(o({customer:void 0,value:0,assignee:void 0,description:"",status:"Cold",closureDate:""}),L?.()):c(s.errors||{})}}catch{c({submit:"An error occurred while submitting the form."})}},O=e=>{o(s=>({...s,categories:(s.categories||[]).includes(e.id)?(s.categories||[]).filter(H=>H!==e.id):[...s.categories||[],e.id]}))},V=async e=>{o({...a,customer:e});try{let s=await P(e);s.success?m(!1):c(s.errors||{})}catch{c({submit:"An error occurred while submitting the form."})}},q=e=>d?.find(s=>s.id===Number(e)),R=e=>b?.find(s=>s.id===Number(e));return r(j,{children:[r("form",{onSubmit:B,className:"space-y-6",children:[t(N,{className:"h-[60vh] pr-4",children:r("div",{className:"space-y-6 px-4",children:[r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"customer",children:"Customer"}),r("div",{className:"flex items-center space-x-2",children:[r(g,{value:a.customer?.id?.toString(),onValueChange:e=>o({...a,customer:R(e)}),children:[t(f,{children:t(v,{placeholder:"Select customer"})}),t(C,{children:b.map(e=>t(h,{value:e.id?.toString()||"",children:e.name},e.id))})]}),t(p,{variant:"outline",size:"icon",onClick:()=>m(!0),children:t(z,{className:"w-5 h-5"})})]}),i.customerId&&t("p",{className:"text-red-500 text-sm",children:i.customerId})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"value",children:"Value"}),t(u,{id:"value",type:"number",value:a.value||"",onChange:e=>o({...a,value:Number.parseFloat(e.target.value)}),placeholder:"Enter deal value"}),i.value&&t("p",{className:"text-red-500 text-sm",children:i.value})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"assignee",children:"Assignee"}),r(g,{value:a.assignee?.id?.toString(),onValueChange:e=>o({...a,assignee:q(e)}),children:[t(f,{children:t(v,{placeholder:"Select assignee"})}),t(C,{children:d&&d.map(e=>t(h,{value:e.id?.toString()||"",children:e.name},e.id))})]}),i.assignee&&t("p",{className:"text-red-500 text-sm",children:i.assignee})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"description",children:"Description"}),t(k,{id:"description",value:a.description||"",onChange:e=>o({...a,description:e.target.value}),placeholder:"Enter deal description"})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{children:"Categories"}),t("div",{className:"space-y-4",children:["proposition","source","sector"].map(e=>r("div",{className:"space-y-2",children:[t("h4",{className:"text-sm font-medium",children:e.charAt(0).toUpperCase()+e.slice(1)}),t("div",{className:"grid grid-cols-2 gap-2",children:I.filter(s=>s.type===e).map(s=>r("div",{className:"flex items-center space-x-2",children:[t(F,{id:s.id.toString(),checked:a.categories?.includes(s.id),onCheckedChange:()=>O(s)}),t("label",{htmlFor:s.id.toString(),className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:s.name})]},s.id))})]},e))})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"closureDate",children:"Closure Date"}),t(u,{id:"closureDate",type:"date",value:a.closureDate||"",onChange:e=>o({...a,closureDate:e.target.value})}),i.closureDate&&t("p",{className:"text-red-500 text-sm",children:i.closureDate})]})]})}),t(p,{type:"submit",className:"w-full",children:n?"Update Deal":"Add Deal"})]}),t(S,{open:T,onOpenChange:m,children:r(y,{children:[t(x,{children:t(w,{children:"Add New Customer"})}),t(A,{onSubmit:V})]})})]})}export{se as a};
1
+ import{a as A}from"./chunk-ERUB6LU6.mjs";import{a as g,c as v,d as f,g as C,i as h}from"./chunk-OGZERPA4.mjs";import{a as N}from"./chunk-6T322YHB.mjs";import{a as F}from"./chunk-KJIBE57R.mjs";import{a as k}from"./chunk-CX4XB5W2.mjs";import{a as l}from"./chunk-EECIYMTX.mjs";import{a as S,f as y,g as x,i as w}from"./chunk-BUCI7BPM.mjs";import{a as u}from"./chunk-JPZJET3B.mjs";import{b as p}from"./chunk-BPSLUO5I.mjs";import{useState as D,useEffect as M}from"react";import{PlusIcon as z}from"lucide-react";import{Fragment as j,jsx as t,jsxs as r}from"react/jsx-runtime";function se({customers:b,users:d,categories:I,onSubmit:E,initialDeal:n,onAddCustomer:P,onClose:L}){let[a,o]=D(n||{customer:void 0,value:0,assignee:void 0,status:"Cold",categories:[],dateLogged:new Date().toISOString().split("T")[0],closureDate:"",comments:[],description:""}),[T,m]=D(!1),[i,c]=D({});M(()=>{n&&o(n)},[n]);let U=()=>{let e={};return a.customer||(e.customer="Customer is required"),a.value||(e.value="Value is required"),a.assignee||(e.assignee="Assignee is required"),a.closureDate||(e.closureDate="Closure Date is required"),c(e),Object.keys(e).length===0},B=async e=>{e.preventDefault(),c({});try{if(U()){let s=await E({...a});s.success?(o({customer:void 0,value:0,assignee:void 0,description:"",status:"Cold",closureDate:""}),L?.()):c(s.errors||{})}}catch{c({submit:"An error occurred while submitting the form."})}},O=e=>{o(s=>({...s,categories:(s.categories||[]).includes(e.id)?(s.categories||[]).filter(H=>H!==e.id):[...s.categories||[],e.id]}))},V=async e=>{o({...a,customer:e});try{let s=await P(e);s.success?m(!1):c(s.errors||{})}catch{c({submit:"An error occurred while submitting the form."})}},q=e=>d?.find(s=>s.id===Number(e)),R=e=>b?.find(s=>s.id===Number(e));return r(j,{children:[r("form",{onSubmit:B,className:"space-y-6",children:[t(N,{className:"h-[60vh] pr-4",children:r("div",{className:"space-y-6 px-4",children:[r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"customer",children:"Customer"}),r("div",{className:"flex items-center space-x-2",children:[r(g,{value:a.customer?.id?.toString(),onValueChange:e=>o({...a,customer:R(e)}),children:[t(f,{children:t(v,{placeholder:"Select customer"})}),t(C,{children:b.map(e=>t(h,{value:e.id?.toString()||"",children:e.name},e.id))})]}),t(p,{variant:"outline",size:"icon",onClick:()=>m(!0),children:t(z,{className:"w-5 h-5"})})]}),i.customerId&&t("p",{className:"text-red-500 text-sm",children:i.customerId})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"value",children:"Value"}),t(u,{id:"value",type:"number",value:a.value||"",onChange:e=>o({...a,value:Number.parseFloat(e.target.value)}),placeholder:"Enter deal value"}),i.value&&t("p",{className:"text-red-500 text-sm",children:i.value})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"assignee",children:"Assignee"}),r(g,{value:a.assignee?.id?.toString(),onValueChange:e=>o({...a,assignee:q(e)}),children:[t(f,{children:t(v,{placeholder:"Select assignee"})}),t(C,{children:d&&d.map(e=>t(h,{value:e.id?.toString()||"",children:e.name},e.id))})]}),i.assignee&&t("p",{className:"text-red-500 text-sm",children:i.assignee})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"description",children:"Description"}),t(k,{id:"description",value:a.description||"",onChange:e=>o({...a,description:e.target.value}),placeholder:"Enter deal description"})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{children:"Categories"}),t("div",{className:"space-y-4",children:["proposition","source","sector"].map(e=>r("div",{className:"space-y-2",children:[t("h4",{className:"text-sm font-medium",children:e.charAt(0).toUpperCase()+e.slice(1)}),t("div",{className:"grid grid-cols-2 gap-2",children:I.filter(s=>s.type===e).map(s=>r("div",{className:"flex items-center space-x-2",children:[t(F,{id:s.id.toString(),checked:a.categories?.includes(s.id),onCheckedChange:()=>O(s)}),t("label",{htmlFor:s.id.toString(),className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:s.name})]},s.id))})]},e))})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"closureDate",children:"Closure Date"}),t(u,{id:"closureDate",type:"date",value:a.closureDate||"",onChange:e=>o({...a,closureDate:e.target.value})}),i.closureDate&&t("p",{className:"text-red-500 text-sm",children:i.closureDate})]})]})}),t(p,{type:"submit",className:"w-full",children:n?"Update Deal":"Add Deal"})]}),t(S,{open:T,onOpenChange:m,children:r(y,{children:[t(x,{children:t(w,{children:"Add New Customer"})}),t(A,{onSubmit:V})]})})]})}export{se as a};
@@ -1 +1 @@
1
- import{a as r}from"./chunk-ZY2PDUUB.mjs";import{f as s}from"./chunk-5ALQQYYE.mjs";import m from"clsx";import{jsx as t,jsxs as c}from"react/jsx-runtime";var g=a=>{let{className:i,docs:n,introContent:o}=a;return c("div",{className:m("container",i),children:[o&&t(s,{content:o,enableGutter:!1}),t("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-8 items-stretch",children:n?.map((e,p)=>typeof e=="string"?null:t(r,{doc:e,relationTo:"posts",showCategories:!0},p))})]})};export{g as a};
1
+ import{a as r}from"./chunk-Z6NED523.mjs";import{f as s}from"./chunk-QNIE2MLB.mjs";import m from"clsx";import{jsx as t,jsxs as c}from"react/jsx-runtime";var g=a=>{let{className:i,docs:n,introContent:o}=a;return c("div",{className:m("container",i),children:[o&&t(s,{content:o,enableGutter:!1}),t("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-8 items-stretch",children:n?.map((e,p)=>typeof e=="string"?null:t(r,{doc:e,relationTo:"posts",showCategories:!0},p))})]})};export{g as a};
@@ -0,0 +1 @@
1
+ import{a as c}from"./chunk-6NZJ2VXQ.mjs";import{b as o}from"./chunk-BPSLUO5I.mjs";import{b as r}from"./chunk-J2IHT57D.mjs";import{a as d}from"./chunk-4YFMDLHL.mjs";import{useState as E}from"react";import{Plus as m,Move as C}from"lucide-react";import{jsx as a,jsxs as s}from"react/jsx-runtime";var z=({tasks:g,epics:p,sprints:P,onUpdateTask:v,onTaskClick:u,onAddTaskToEpic:f,onAddEpic:x})=>{let[i,l]=E(null),N=e=>{l(e)},h=e=>{e.preventDefault()},b=(e,t)=>{e.preventDefault(),i&&i.epicId!==t&&(v(i.id,{epicId:t}),l(null))},k=e=>g.filter(t=>t.epicId===e),y=e=>({1:"Planning",2:"Development",3:"Testing",4:"Review",5:"Deployment",6:"Monitoring",7:"Optimization",8:"Maintenance",9:"Complete"})[e]||`Phase ${e}`,w=e=>{switch(e){case"high":return"bg-green-100 text-green-800";case"medium":return"bg-yellow-100 text-yellow-800";case"low":return"bg-red-100 text-red-800";default:return"bg-gray-100 text-gray-800"}};return a("div",{className:"p-6 py-0",children:s("div",{className:"max-w-7xl mx-auto",children:[s("div",{className:"mb-8 flex items-center justify-between",children:[s("div",{children:[a("h2",{className:"text-2xl font-bold text-gray-900 mb-2",children:"Epic Planning"}),a("p",{className:"text-gray-600",children:"Manage and organize your project epics"})]}),s(o,{onClick:x,className:"bg-blue-600 hover:bg-blue-700 text-white gap-2",children:[a(m,{className:"h-4 w-4"}),"Add Epic"]})]}),a("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6",children:p.map(e=>{let t=k(e.id),T=t.reduce((n,D)=>n+D.points,0);return s(d,{className:"flex flex-col h-[600px]",onDragOver:h,onDrop:n=>b(n,e.id),children:[s("div",{className:"p-4 border-b",children:[s("div",{className:"flex items-center gap-2 mb-2",children:[a("div",{className:`w-4 h-4 rounded-full ${e.color}`}),a("h3",{className:"font-semibold text-gray-900 select-none",children:e.name})]}),s("div",{className:"flex flex-wrap gap-2 mb-3",children:[s(r,{className:`text-xs ${w(e.confidence)}`,children:[e.confidence," confidence"]}),a(r,{variant:"outline",className:"text-xs",children:y(e.phase)}),s(r,{variant:"secondary",className:"text-xs",children:[t.length," tasks"]}),s(r,{variant:"secondary",className:"text-xs",children:[T," pts"]})]}),e.description&&a("p",{className:"text-sm text-gray-600 mb-3 select-none",children:e.description}),s("div",{className:"mb-3",children:[s("div",{className:"flex justify-between text-xs text-gray-600 mb-1",children:[a("span",{className:"select-none",children:"Progress"}),s("span",{className:"select-none",children:[e.progress,"%"]})]}),a("div",{className:"w-full bg-gray-200 rounded-full h-2",children:a("div",{className:"bg-blue-600 h-2 rounded-full transition-all duration-300",style:{width:`${e.progress}%`}})})]}),s(o,{onClick:()=>f(e.id),variant:"outline",size:"sm",className:"w-full gap-2",children:[a(m,{className:"h-4 w-4"}),"Add Task"]})]}),a("div",{className:"flex-1 p-4 overflow-y-auto",children:a("div",{className:"space-y-3 min-h-[200px]",children:t.length===0?s("div",{className:"flex flex-col items-center justify-center h-32 text-gray-400 border-2 border-dashed border-gray-200 rounded-lg",children:[a(C,{className:"h-8 w-8 mb-2"}),a("span",{className:"text-sm select-none",children:"Drop tasks here"})]}):t.map(n=>a(c,{task:n,epic:e,onDragStart:N,onTaskClick:u,isCompact:!0},n.id))})})]},e.id)})})]})})};export{z as a};
@@ -1,4 +1,4 @@
1
- import{a as c}from"./chunk-SV7NMNDI.mjs";import{a as d}from"./chunk-UDQTFQR7.mjs";import{c as g}from"./chunk-YNNW2C2U.mjs";import{a as p}from"./chunk-KTXQBXXJ.mjs";import{a as l}from"./chunk-WISCWNL2.mjs";import{a as i}from"./chunk-HTVHCBXQ.mjs";import f from"next/image";import{FaArrowRight as x}from"react-icons/fa6";import{jsx as e,jsxs as r}from"react/jsx-runtime";function z({blogs:a,sectionHeading:t,base:n="insights"}){return r(p,{children:[e("div",{className:"",children:t&&e("div",{"data-aos":"fade-up","data-aos-delay":"100",children:e(d,{...t,alignment:"start",hasBottomSpacing:!0})})}),a&&a.length>0&&e("div",{className:"-mx-4 flex flex-wrap justify-start gap-y-4",children:a.map((s,o)=>e("div",{"data-aos":"fade-up","data-aos-delay":c([200,400,600],o),className:"w-full h-full md:w-1/2 md:px-4 lg:w-1/3",children:e(v,{...s,base:n})},o))})]})}var u=i("inline-flex items-center gap-2 text-white"),L=i("text-sm text-white");function v({slug:a,meta:t,authors:n,title:s,publishedAt:o,categories:h,base:m}){return r("article",{className:"group/blog relative z-1 flex h-full min-h-[452px] flex-col overflow-hidden rounded-5 p-0",children:[e("span",{className:"absolute inset-0 z-[2] "}),e(f,{src:t?.image?.url||"/assets/images/brand/cortex-reply-gradient.png",alt:t?.image?.alt||"Blog image",fill:!0,sizes:`
1
+ import{a as c}from"./chunk-SV7NMNDI.mjs";import{a as d}from"./chunk-4ZRLE77J.mjs";import{c as g}from"./chunk-YNNW2C2U.mjs";import{a as p}from"./chunk-KTXQBXXJ.mjs";import{a as l}from"./chunk-WISCWNL2.mjs";import{a as i}from"./chunk-HTVHCBXQ.mjs";import f from"next/image";import{FaArrowRight as x}from"react-icons/fa6";import{jsx as e,jsxs as r}from"react/jsx-runtime";function z({blogs:a,sectionHeading:t,base:n="insights"}){return r(p,{children:[e("div",{className:"",children:t&&e("div",{"data-aos":"fade-up","data-aos-delay":"100",children:e(d,{...t,alignment:"start",hasBottomSpacing:!0})})}),a&&a.length>0&&e("div",{className:"-mx-4 flex flex-wrap justify-start gap-y-4",children:a.map((s,o)=>e("div",{"data-aos":"fade-up","data-aos-delay":c([200,400,600],o),className:"w-full h-full md:w-1/2 md:px-4 lg:w-1/3",children:e(v,{...s,base:n})},o))})]})}var u=i("inline-flex items-center gap-2 text-white"),L=i("text-sm text-white");function v({slug:a,meta:t,authors:n,title:s,publishedAt:o,categories:h,base:m}){return r("article",{className:"group/blog relative z-1 flex h-full min-h-[452px] flex-col overflow-hidden rounded-5 p-0",children:[e("span",{className:"absolute inset-0 z-[2] "}),e(f,{src:t?.image?.url||"/assets/images/brand/cortex-reply-gradient.png",alt:t?.image?.alt||"Blog image",fill:!0,sizes:`
2
2
  (min-width:768px) 50vw,
3
3
  (min-width:1024px) 33vw,
4
4
  100vw
@@ -1 +1 @@
1
- import{a as r}from"./chunk-ZY2PDUUB.mjs";import{a as p}from"./chunk-HTVHCBXQ.mjs";import{jsx as o}from"react/jsx-runtime";var c=t=>{let{posts:a}=t;return o("div",{className:p("container"),children:o("div",{children:o("div",{className:"grid grid-cols-4 sm:grid-cols-8 lg:grid-cols-12 gap-y-4 gap-x-4 lg:gap-y-8 lg:gap-x-8 xl:gap-x-8",children:a?.map((s,i)=>typeof s=="object"&&s!==null?o("div",{className:"col-span-4",children:o(r,{className:"h-full",doc:s,relationTo:"posts",showCategories:!0})},i):null)})})})};export{c as a};
1
+ import{a as r}from"./chunk-Z6NED523.mjs";import{a as p}from"./chunk-HTVHCBXQ.mjs";import{jsx as o}from"react/jsx-runtime";var c=t=>{let{posts:a}=t;return o("div",{className:p("container"),children:o("div",{children:o("div",{className:"grid grid-cols-4 sm:grid-cols-8 lg:grid-cols-12 gap-y-4 gap-x-4 lg:gap-y-8 lg:gap-x-8 xl:gap-x-8",children:a?.map((s,i)=>typeof s=="object"&&s!==null?o("div",{className:"col-span-4",children:o(r,{className:"h-full",doc:s,relationTo:"posts",showCategories:!0})},i):null)})})})};export{c as a};
@@ -1 +1 @@
1
- import{a as l}from"./chunk-UDQTFQR7.mjs";import{a as r}from"./chunk-KML6U7IE.mjs";import{a as o}from"./chunk-DIAK5C43.mjs";import p from"next/image";import{FaEnvelope as c,FaPhoneFlip as d}from"react-icons/fa6";import{jsx as e,jsxs as t}from"react/jsx-runtime";function f(s){let{sectionHeading:i,image:a}=s;return e("div",{className:"relative w-full light py-[60px]",children:t("div",{className:"w-full grid grid-cols-1 md:grid-cols-2 gap-1 items-center justify-center",children:[e("div",{className:"relative h-full w-full",children:e(p,{src:a.src,alt:a.alt,fill:!0,objectFit:"contain",sizes:"(min-width: 768px) 30vw, 50vw",placeholder:"blur",blurDataURL:r})}),e("div",{className:"w-full h-full",children:t("div",{className:"bg-white p-10",children:[e("div",{className:"mb-30px",children:e(l,{...i,invert:!0})}),e(o,{})]})})]})})}function y(s){return e("div",{className:"",children:e("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:e("div",{className:"mx-auto max-w-2xl space-y-16 divide-y divide-gray-100 lg:mx-0 lg:max-w-none",children:t("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[t("div",{children:[e("h2",{className:"text-pretty text-4xl text-primary",children:"Locations"}),e("p",{className:"mt-4 text-base/7 text-foreground",children:"We have multiple locations across the UK."})]}),e("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:col-span-2 lg:gap-8",children:s.locations&&s.locations.map((i,a)=>t("div",{className:"rounded-2xl p-10 border",children:[e("h3",{className:"text-base/7 text-primary",children:i.title}),t("address",{className:"mt-3 space-y-1 text-sm/6 not-italic text-foreground",children:[i.location.split(",")?.map((m,n)=>e("p",{children:m},n))," ",i.mails&&t("p",{className:"flex items-center space-x-2",children:[e(c,{className:"pr-2 text-primary size-auto"}),e("span",{children:i.mails[0]})]}),i.phoneNumbers&&i.phoneNumbers.length>0&&t("p",{className:"flex items-center space-x-2",children:[e(d,{className:"pr-2 text-primary size-auto"}),i.phoneNumbers[0]]})]})]},a))})]})})})})}export{f as a,y as b};
1
+ import{a as l}from"./chunk-4ZRLE77J.mjs";import{a as r}from"./chunk-KML6U7IE.mjs";import{a as o}from"./chunk-STHWCR5K.mjs";import p from"next/image";import{FaEnvelope as c,FaPhoneFlip as d}from"react-icons/fa6";import{jsx as e,jsxs as t}from"react/jsx-runtime";function f(s){let{sectionHeading:i,image:a}=s;return e("div",{className:"relative w-full light py-[60px]",children:t("div",{className:"w-full grid grid-cols-1 md:grid-cols-2 gap-1 items-center justify-center",children:[e("div",{className:"relative h-full w-full",children:e(p,{src:a.src,alt:a.alt,fill:!0,objectFit:"contain",sizes:"(min-width: 768px) 30vw, 50vw",placeholder:"blur",blurDataURL:r})}),e("div",{className:"w-full h-full",children:t("div",{className:"bg-white p-10",children:[e("div",{className:"mb-30px",children:e(l,{...i,invert:!0})}),e(o,{})]})})]})})}function y(s){return e("div",{className:"",children:e("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:e("div",{className:"mx-auto max-w-2xl space-y-16 divide-y divide-gray-100 lg:mx-0 lg:max-w-none",children:t("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[t("div",{children:[e("h2",{className:"text-pretty text-4xl text-primary",children:"Locations"}),e("p",{className:"mt-4 text-base/7 text-foreground",children:"We have multiple locations across the UK."})]}),e("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:col-span-2 lg:gap-8",children:s.locations&&s.locations.map((i,a)=>t("div",{className:"rounded-2xl p-10 border",children:[e("h3",{className:"text-base/7 text-primary",children:i.title}),t("address",{className:"mt-3 space-y-1 text-sm/6 not-italic text-foreground",children:[i.location.split(",")?.map((m,n)=>e("p",{children:m},n))," ",i.mails&&t("p",{className:"flex items-center space-x-2",children:[e(c,{className:"pr-2 text-primary size-auto"}),e("span",{children:i.mails[0]})]}),i.phoneNumbers&&i.phoneNumbers.length>0&&t("p",{className:"flex items-center space-x-2",children:[e(d,{className:"pr-2 text-primary size-auto"}),i.phoneNumbers[0]]})]})]},a))})]})})})})}export{f as a,y as b};
@@ -0,0 +1 @@
1
+ import{a as q}from"./chunk-33ZXPMQU.mjs";import{a as $}from"./chunk-L45A6K4C.mjs";import{a as L}from"./chunk-ZEOV7BEN.mjs";import{a as J}from"./chunk-TWPRI2XQ.mjs";import{a as H}from"./chunk-6NZJ2VXQ.mjs";import{a as W}from"./chunk-2WXIUKCO.mjs";import{a as K}from"./chunk-P3PIMDIR.mjs";import{a as G}from"./chunk-I3FBQX6H.mjs";import{a as z}from"./chunk-PPUE5IPA.mjs";import{a as F}from"./chunk-6U663VXT.mjs";import{a as U,b as B,i as j,j as V}from"./chunk-K4RVBOIC.mjs";import{b as p}from"./chunk-BPSLUO5I.mjs";import{b as R}from"./chunk-J2IHT57D.mjs";import{useState as r}from"react";import{Kanban as ye,Plus as Ae,MessageSquare as xe,MoreHorizontal as Ee}from"lucide-react";import{useRouter as Me}from"next/navigation";import{Fragment as Oe,jsx as n,jsxs as a}from"react/jsx-runtime";var Ce=[{id:"1",name:"E-commerce Platform",description:"Main customer-facing e-commerce application",isSelected:!0},{id:"2",name:"Admin Dashboard",description:"Internal administration and analytics dashboard",isSelected:!1},{id:"3",name:"Mobile App",description:"Native mobile application for iOS and Android",isSelected:!1}],Ne=[{id:"1",name:"User Authentication",color:"bg-blue-500",description:"Implement secure user authentication system",confidence:"high",phase:2,startDate:new Date("2024-01-01"),endDate:new Date("2024-02-15"),progress:75,isSelected:!0},{id:"2",name:"Dashboard Features",color:"bg-green-500",description:"Build comprehensive dashboard functionality",confidence:"medium",phase:1,startDate:new Date("2024-02-01"),endDate:new Date("2024-03-15"),progress:30,isSelected:!0},{id:"3",name:"Mobile Optimization",color:"bg-purple-500",description:"Optimize application for mobile devices",confidence:"low",phase:1,startDate:new Date("2024-03-01"),endDate:new Date("2024-04-15"),progress:10,isSelected:!0},{id:"4",name:"Performance Improvements",color:"bg-orange-500",description:"Enhance application performance and speed",confidence:"high",phase:3,startDate:new Date("2024-01-15"),endDate:new Date("2024-02-28"),progress:90,isSelected:!0}],Pe=[{id:"backlog",name:"Backlog",description:"Tasks not yet assigned to a sprint",startDate:new Date("2024-01-01"),endDate:new Date("2024-12-31"),isActive:!1,isSelected:!1},{id:"all-tasks",name:"All Tasks",description:"View all tasks across all sprints",startDate:new Date("2024-01-01"),endDate:new Date("2024-12-31"),isActive:!1,isSelected:!0},{id:"1",name:"Sprint 1",description:"Initial development phase",startDate:new Date("2024-01-01"),endDate:new Date("2024-01-14"),isActive:!1,isSelected:!1},{id:"2",name:"Sprint 2",description:"Feature development",startDate:new Date("2024-01-15"),endDate:new Date("2024-01-28"),isActive:!0,isSelected:!1}],Ie=[{id:"1",title:"Design login page",description:"Create wireframes and mockups for the login interface",status:"todo",priority:"high",type:"story",points:5,epicId:"1",sprintId:"2",assignee:"John Doe",createdAt:new Date("2024-01-15")},{id:"2",title:"Implement OAuth integration",description:"Add Google and GitHub OAuth authentication",status:"review",priority:"high",type:"task",points:8,epicId:"1",sprintId:"2",assignee:"Jane Smith",createdAt:new Date("2024-01-16")},{id:"3",title:"Create dashboard widgets",description:"Build analytics and metrics widgets for the main dashboard",status:"todo",priority:"medium",type:"story",points:13,epicId:"2",sprintId:"2",assignee:"Mike Johnson",createdAt:new Date("2024-01-17")},{id:"4",title:"Fix login redirect bug",description:"Resolve issue where users are not redirected after login",status:"done",priority:"high",type:"bug",points:3,epicId:"1",sprintId:"1",assignee:"Sarah Wilson",createdAt:new Date("2024-01-14")},{id:"5",title:"Research mobile frameworks",description:"Investigate best practices for mobile responsive design",status:"in-progress",priority:"medium",type:"spike",points:5,epicId:"3",assignee:"Alex Brown",createdAt:new Date("2024-01-18")},{id:"6",title:"Update user profile page",description:"Enhance user profile with new settings and preferences",status:"review",priority:"medium",type:"story",points:8,epicId:"2",sprintId:"2",assignee:"Emma Davis",createdAt:new Date("2024-01-19")},{id:"7",title:"Performance optimization",description:"Optimize database queries and improve page load times",status:"done",priority:"high",type:"task",points:13,epicId:"4",sprintId:"1",assignee:"Tom Wilson",createdAt:new Date("2024-01-13")}],_e=()=>{let[f,d]=r(Ie),[o,h]=r(Ne),[c,D]=r(Pe),[Q,w]=r(Ce),[X,k]=r(!1),[Y,b]=r(!1),[m,S]=r(null),[E,M]=r(null),[l,Z]=r("kanban"),[_,ee]=r(!1),C=Me(),N=o.filter(e=>e.isSelected).map(e=>e.id),g=c.find(e=>e.isSelected),te=f.filter(e=>{let t=N.includes(e.epicId);return!g||g.id==="all-tasks"?t:g.id==="backlog"?t&&!e.sprintId:t&&e.sprintId===g.id}),ie=e=>te.filter(t=>t.status===e),ne=e=>{let t={};return o.forEach(i=>{t[i.id]=e.filter(s=>s.epicId===i.id)}),t},se=e=>{M(e)},ae=e=>{E&&(d(t=>t.map(i=>i.id===E.id?{...i,status:e}:i)),M(null))},re=e=>{let t={...e,id:Date.now().toString(),createdAt:new Date};d(i=>[...i,t])},T=(e,t)=>{d(i=>i.map(s=>s.id===e?{...s,...t}:s))},oe=e=>{d(t=>t.filter(i=>i.id!==e)),m?.id===e&&S(null)},de=e=>{let t={...e,id:Date.now().toString(),isSelected:!1};w(i=>[...i,t])},ce=(e,t)=>{w(i=>i.map(s=>s.id===e?t.isSelected?(C.push(`/kanban/${e}`),{...s,...t}):{...s,...t}:t.isSelected&&e!==s.id?{...s,isSelected:!1}:s))},le=e=>{w(t=>t.filter(i=>i.id!==e))},pe=e=>{let t={...e,id:Date.now().toString(),isSelected:!0};h(i=>[...i,t])},me=(e,t)=>{h(i=>i.map(s=>s.id===e?{...s,...t}:s))},ge=e=>{h(t=>t.filter(i=>i.id!==e)),d(t=>t.filter(i=>i.epicId!==e))},P=e=>{let t={...e,id:Date.now().toString(),isSelected:!1};D(i=>[...i,t])},ue=(e,t)=>{D(i=>i.map(s=>s.id===e?t.isSelected?{...s,...t}:{...s,...t}:t.isSelected&&e!==s.id?{...s,isSelected:!1}:s))},fe=e=>{e==="backlog"||e==="all-tasks"||(D(t=>t.filter(i=>i.id!==e)),d(t=>t.map(i=>i.sprintId===e?{...i,sprintId:void 0}:i)))},v=e=>{S(e)},he=e=>{e==="planning"&&window.innerWidth<768||Z(e)},I=()=>{ee(e=>!e)},De=()=>{C.push("/")},O=e=>{console.log("Switching to team:",e)},Ue=e=>{console.log("Switching to team:",e)},we=e=>{k(!0)},ke=[{id:"todo",title:"To Do",status:"todo"},{id:"in-progress",title:"In Progress",status:"in-progress"},{id:"review",title:"Review",status:"review"},{id:"done",title:"Done",status:"done"}],be=()=>{switch(l){case"kanban":return"Project Board";case"planning":return"Sprint Planning";case"documentation":return"Documentation";case"epics":return"Epic Planning";default:return"Project Board"}},y=[{id:"1",name:"Product Development",avatar:"PD",lastUsed:new Date("2024-01-20")},{id:"2",name:"Engineering",avatar:"ENG",lastUsed:new Date("2024-01-19")},{id:"3",name:"Marketing Team",avatar:"MT",lastUsed:new Date("2024-01-18")},{id:"4",name:"Design System",avatar:"DS",lastUsed:new Date("2024-01-17")},{id:"5",name:"Sales Operations",avatar:"SO",lastUsed:new Date("2024-01-16")},{id:"6",name:"Customer Success",avatar:"CS",lastUsed:new Date("2024-01-15")}],Se=y.sort((e,t)=>t.lastUsed.getTime()-e.lastUsed.getTime()).slice(0,3),Te=y.length>3,ve=y.slice(3);return a("div",{className:"min-h-screen bg-gradient-to-br from-slate-50 to-slate-100 flex flex-col",children:[n(K,{isRightSidebarOpen:!1,onToggleRightSidebar:()=>{},onToggleLeftSidebar:I,onToggleNotifications:()=>{}}),n("div",{className:"border-b bg-white px-6 py-3",children:n("div",{className:"max-w-7xl mx-auto",children:a("div",{className:"flex items-center justify-between",children:[a("div",{className:"flex items-center gap-4",children:[a(p,{variant:"outline",onClick:De,className:"gap-2 h-9",children:[n(xe,{className:"h-4 w-4"}),"Copilot"]}),Se.map(e=>a(p,{variant:"default",onClick:()=>O(e.id),className:"gap-2 h-9 bg-blue-600 hover:bg-blue-700",children:[n("div",{className:"w-5 h-5 rounded bg-gradient-to-r from-blue-500 to-purple-500 flex items-center justify-center text-white text-xs font-medium",children:e.avatar}),e.name]},e.id)),Te&&a(U,{children:[n(B,{asChild:!0,children:n(p,{variant:"outline",className:"h-9 w-9 p-0",children:n(Ee,{className:"h-4 w-4"})})}),n(j,{align:"start",children:ve.map(e=>a(V,{onClick:()=>O(e.id),className:"flex items-center gap-2 cursor-pointer",children:[n("div",{className:"w-5 h-5 rounded bg-gradient-to-r from-blue-500 to-purple-500 flex items-center justify-center text-white text-xs font-medium",children:e.avatar}),e.name]},e.id))})]})]}),l==="kanban"&&a(p,{onClick:()=>k(!0),className:"bg-blue-600 hover:bg-blue-700 text-white gap-2",children:[n(Ae,{className:"h-4 w-4"}),"Add Task"]})]})})}),n($,{projects:Q,epics:o,sprints:c,currentView:l,onUpdateProject:ce,onDeleteProject:le,onAddProject:de,onUpdateEpic:me,onDeleteEpic:ge,onAddEpic:()=>b(!0),onAddSprint:P,onUpdateSprint:ue,onDeleteSprint:fe,onViewChange:he,mobileMenuOpen:_,onToggleMobileMenu:I,children:n("div",{className:"flex-1 p-6",children:a("div",{className:"max-w-7xl mx-auto",children:[n("div",{className:"mb-8",children:a("div",{className:"flex items-center gap-3 mb-4",children:[n(ye,{className:"h-8 w-8 text-blue-600"}),n("h1",{className:"text-3xl font-bold text-gray-900 select-none-important",children:be()})]})}),l==="kanban"?n("div",{className:"grid grid-cols-1 lg:grid-cols-4 gap-6",children:ke.map(e=>{let t=ie(e.status),i=ne(t);return n(W,{title:e.title,status:e.status,taskCount:t.length,onDrop:ae,isCompact:e.status==="done",children:N.map(s=>{let A=o.find(u=>u.id===s),x=i[s]||[];return x.length===0?null:a("div",{className:"mb-6",children:[a("div",{className:"flex items-center gap-2 mb-3",children:[n("div",{className:`w-3 h-3 rounded-full ${A?.color}`}),n("span",{className:"text-sm font-medium text-gray-600 select-none-important",children:A?.name}),n(R,{variant:"secondary",className:"text-xs",children:x.length})]}),n("div",{className:"space-y-3",children:x.map(u=>n(H,{task:u,epic:A,onDragStart:se,onTaskClick:v,isCompact:e.status==="done"},u.id))})]},s)})},e.id)})}):l==="planning"?n("div",{className:"hidden md:block",children:n(L,{tasks:f,epics:o,sprints:c,onUpdateTask:T,onTaskClick:v,onAddSprint:P})}):l==="epics"?n(J,{tasks:f,epics:o,sprints:c,onUpdateTask:T,onTaskClick:v,onAddTaskToEpic:we,onAddEpic:()=>b(!0)}):n(G,{}),a(Oe,{children:[n(F,{isOpen:X,onClose:()=>k(!1),onAddTask:re,epics:o,sprints:c}),n(z,{isOpen:Y,onClose:()=>b(!1),onAddEpic:pe}),m&&n(q,{isOpen:!!m,onClose:()=>S(null),task:m,epics:o,sprints:c,onUpdateTask:T,onDeleteTask:oe})]})]})})})]})};export{_e as a};
@@ -1 +1 @@
1
- import{a}from"./chunk-SX5U74MW.mjs";import{a as e}from"./chunk-HTVHCBXQ.mjs";import{jsx as r}from"react/jsx-runtime";var d=o=>{let{className:t,enableGutter:s=!0,imgClassName:m,media:i,staticImage:l}=o;return r("div",{className:e("h-full ",{container:s},t),children:r(a,{imgClassName:e("rounded-[0.8rem]",m),className:"flex justify-center",resource:i,src:l})})};export{d as a};
1
+ import{a}from"./chunk-KETV2XVN.mjs";import{a as e}from"./chunk-HTVHCBXQ.mjs";import{jsx as r}from"react/jsx-runtime";var d=o=>{let{className:t,enableGutter:s=!0,imgClassName:m,media:i,staticImage:l}=o;return r("div",{className:e("h-full ",{container:s},t),children:r(a,{imgClassName:e("rounded-[0.8rem]",m),className:"flex justify-center",resource:i,src:l})})};export{d as a};
@@ -1 +1 @@
1
- import{f as r}from"./chunk-5ALQQYYE.mjs";import{jsx as e}from"react/jsx-runtime";var c=({children:o,richText:t})=>e("div",{className:"min-w-full py-10 bg-muted mt-24",children:e("div",{className:"container",children:o||t&&e(r,{content:t,enableGutter:!1})})});export{c as a};
1
+ import{f as r}from"./chunk-QNIE2MLB.mjs";import{jsx as e}from"react/jsx-runtime";var c=({children:o,richText:t})=>e("div",{className:"min-w-full py-10 bg-muted mt-24",children:e("div",{className:"container",children:o||t&&e(r,{content:t,enableGutter:!1})})});export{c as a};
@@ -1 +1 @@
1
- import{a as c}from"./chunk-UDQTFQR7.mjs";import{a as l}from"./chunk-KTXQBXXJ.mjs";import{a as m}from"./chunk-HTVHCBXQ.mjs";import t from"next/image";import{Fragment as p,jsx as e,jsxs as i}from"react/jsx-runtime";function u(d){let{images:a,sectionHeading:n,keyPoints:s,description:o}=d;return e(p,{children:e("section",{id:"about-section",className:m(" clip-custom-top-l sticky md:top-0 md:h-screen z-2 flex flex-col items-center justify-center section-padding-primary dark bg-background",d.className||""),children:e(l,{children:i("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[i("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[e(c,{...n}),s&&s.length>0&&e("div",{className:"mt-7 grid gap-5 text-accent sm:grid-cols-2 md:mt-10 md:gap-[1.875rem]",children:s.map((r,g)=>i("div",{className:"group flex min-h-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 md:min-h-[85px] md:px-[1.875rem] md:py-3",children:[e("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:r.icon}),e("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:r.title})]},g))}),o&&e("p",{className:"mt-5 text-primary md:mt-[1.875rem]",children:o})]}),a&&e("div",{className:"mx-auto text-center",children:i("div",{className:"relative mx-auto grid max-w-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[e("div",{className:"relative flex justify-end overflow-hidden",children:e("div",{className:"relative z-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:e("div",{className:"relative z-[4] overflow-hidden",children:e(t,{src:a.image1.src,alt:a.image1.alt,width:a.image1.width,height:a.image1.height,className:"rounded-tl-[60px] object-cover object-top"})})})}),e("div",{className:"flex overflow-hidden",children:e(t,{src:a.image2.src,alt:a.image2.alt,width:a.image2.width,height:a.image2.height,className:"rounded-[80px_10px] object-cover","data-aos":"fade-right","data-aos-delay":"300"})}),e("div",{className:"ml-auto flex max-w-[250px] justify-end overflow-hidden",children:e(t,{src:a.image3.src,alt:a.image4.alt,width:a.image3.width,height:a.image3.height,className:"rounded-[50px_10px] object-cover","data-aos":"fade-left","data-aos-delay":"350"})}),e("div",{className:"overflow-hidden",children:e(t,{src:a.image4.src,alt:a.image4.alt,width:a.image4.width,height:a.image4.height,className:"rounded-10 rounded-br-[80px] object-cover","data-aos":"fade-right","data-aos-delay":"400"})}),e("div",{className:"absolute left-1/2 top-1/2 z-[4] -translate-x-1/2 -translate-y-1/2 overflow-hidden",children:e("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:e("span",{className:"grid h-[100px] w-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:e("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M26.8125 13.8672C26.8125 14.9922 25.875 15.9297 24.8125 15.9297H15.8125V24.9297C15.8125 25.9922 14.875 26.8672 13.8125 26.8672C12.6875 26.8672 11.8125 25.9922 11.8125 24.9297V15.9297H2.8125C1.6875 15.9297 0.8125 14.9922 0.8125 13.8672C0.8125 12.8047 1.6875 11.9297 2.8125 11.9297H11.8125V2.92969C11.8125 1.80469 12.6875 0.867188 13.8125 0.867188C14.875 0.867188 15.8125 1.80469 15.8125 2.92969V11.9297H24.8125C25.875 11.8672 26.8125 12.8047 26.8125 13.8672Z"})})})})})]})})]})})})})}export{u as a};
1
+ import{a as c}from"./chunk-4ZRLE77J.mjs";import{a as l}from"./chunk-KTXQBXXJ.mjs";import{a as m}from"./chunk-HTVHCBXQ.mjs";import t from"next/image";import{Fragment as p,jsx as e,jsxs as i}from"react/jsx-runtime";function u(d){let{images:a,sectionHeading:n,keyPoints:s,description:o}=d;return e(p,{children:e("section",{id:"about-section",className:m(" clip-custom-top-l sticky md:top-0 md:h-screen z-2 flex flex-col items-center justify-center section-padding-primary dark bg-background",d.className||""),children:e(l,{children:i("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[i("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[e(c,{...n}),s&&s.length>0&&e("div",{className:"mt-7 grid gap-5 text-accent sm:grid-cols-2 md:mt-10 md:gap-[1.875rem]",children:s.map((r,g)=>i("div",{className:"group flex min-h-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 md:min-h-[85px] md:px-[1.875rem] md:py-3",children:[e("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:r.icon}),e("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:r.title})]},g))}),o&&e("p",{className:"mt-5 text-primary md:mt-[1.875rem]",children:o})]}),a&&e("div",{className:"mx-auto text-center",children:i("div",{className:"relative mx-auto grid max-w-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[e("div",{className:"relative flex justify-end overflow-hidden",children:e("div",{className:"relative z-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:e("div",{className:"relative z-[4] overflow-hidden",children:e(t,{src:a.image1.src,alt:a.image1.alt,width:a.image1.width,height:a.image1.height,className:"rounded-tl-[60px] object-cover object-top"})})})}),e("div",{className:"flex overflow-hidden",children:e(t,{src:a.image2.src,alt:a.image2.alt,width:a.image2.width,height:a.image2.height,className:"rounded-[80px_10px] object-cover","data-aos":"fade-right","data-aos-delay":"300"})}),e("div",{className:"ml-auto flex max-w-[250px] justify-end overflow-hidden",children:e(t,{src:a.image3.src,alt:a.image4.alt,width:a.image3.width,height:a.image3.height,className:"rounded-[50px_10px] object-cover","data-aos":"fade-left","data-aos-delay":"350"})}),e("div",{className:"overflow-hidden",children:e(t,{src:a.image4.src,alt:a.image4.alt,width:a.image4.width,height:a.image4.height,className:"rounded-10 rounded-br-[80px] object-cover","data-aos":"fade-right","data-aos-delay":"400"})}),e("div",{className:"absolute left-1/2 top-1/2 z-[4] -translate-x-1/2 -translate-y-1/2 overflow-hidden",children:e("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:e("span",{className:"grid h-[100px] w-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:e("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M26.8125 13.8672C26.8125 14.9922 25.875 15.9297 24.8125 15.9297H15.8125V24.9297C15.8125 25.9922 14.875 26.8672 13.8125 26.8672C12.6875 26.8672 11.8125 25.9922 11.8125 24.9297V15.9297H2.8125C1.6875 15.9297 0.8125 14.9922 0.8125 13.8672C0.8125 12.8047 1.6875 11.9297 2.8125 11.9297H11.8125V2.92969C11.8125 1.80469 12.6875 0.867188 13.8125 0.867188C14.875 0.867188 15.8125 1.80469 15.8125 2.92969V11.9297H24.8125C25.875 11.8672 26.8125 12.8047 26.8125 13.8672Z"})})})})})]})})]})})})})}export{u as a};
@@ -1 +1 @@
1
- import{f as t}from"./chunk-5ALQQYYE.mjs";import{b as o}from"./chunk-BPSLUO5I.mjs";import{a as r}from"./chunk-HTVHCBXQ.mjs";import s from"next/link";import{jsx as i,jsxs as n}from"react/jsx-runtime";var p=({dynamicServiceDetail:c,style:a})=>{let e=c;return i("div",{className:"container",children:n("div",{className:"w-full grid grid-cols-1 md:grid-cols-2 gap-1 items-center justify-center",children:[n("div",{className:r("w-full text-left prose"),children:[i("h2",{className:"text-primary",children:e.title}),i("div",{className:"",children:i(t,{enableGutter:!1,content:e.description,enableProse:!1,className:r("prose prose-headings:text-foreground prose-p:text-foreground")})}),i(o,{asChild:!0,className:"mt-6 px-6 py-3 border border-accent text-foreground bg-background rounded-full hover:bg-accent hover:text-accent-foreground transition no-underline",children:i(s,{href:`/${e.slug}`,children:"Learn more"})})]}),e.icon&&typeof e.icon=="object"&&"type"in e.icon&&"iconName"in e.icon&&i("div",{className:r("w-full h-full min-h-96 py-6 p-0 md:p-16 flex justify-center"),children:i("i",{className:`${e.icon.type} fa-${e.icon.iconName} fa-10x w-3/4 h-full text-foreground fill-gradient-linear`,style:{width:"90%"}})})]})})};export{p as a};
1
+ import{f as t}from"./chunk-QNIE2MLB.mjs";import{b as o}from"./chunk-BPSLUO5I.mjs";import{a as r}from"./chunk-HTVHCBXQ.mjs";import s from"next/link";import{jsx as i,jsxs as n}from"react/jsx-runtime";var p=({dynamicServiceDetail:c,style:a})=>{let e=c;return i("div",{className:"container",children:n("div",{className:"w-full grid grid-cols-1 md:grid-cols-2 gap-1 items-center justify-center",children:[n("div",{className:r("w-full text-left prose"),children:[i("h2",{className:"text-primary",children:e.title}),i("div",{className:"",children:i(t,{enableGutter:!1,content:e.description,enableProse:!1,className:r("prose prose-headings:text-foreground prose-p:text-foreground")})}),i(o,{asChild:!0,className:"mt-6 px-6 py-3 border border-accent text-foreground bg-background rounded-full hover:bg-accent hover:text-accent-foreground transition no-underline",children:i(s,{href:`/${e.slug}`,children:"Learn more"})})]}),e.icon&&typeof e.icon=="object"&&"type"in e.icon&&"iconName"in e.icon&&i("div",{className:r("w-full h-full min-h-96 py-6 p-0 md:p-16 flex justify-center"),children:i("i",{className:`${e.icon.type} fa-${e.icon.iconName} fa-10x w-3/4 h-full text-foreground fill-gradient-linear`,style:{width:"90%"}})})]})})};export{p as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as h}from"./chunk-WU3JMLSC.mjs";import{a as g}from"./chunk-BZAYEKYC.mjs";import{a as S}from"./chunk-GYDVBUKO.mjs";import{a as o,b as d,c as i,d as t,e as m,f as l}from"./chunk-ZJ56IQPQ.mjs";import{a as p}from"./chunk-R7IAPAL5.mjs";import{a as c}from"./chunk-WGEMXPWB.mjs";import{b as s,d as b,f as u}from"./chunk-SUO6GOJS.mjs";import{a as n}from"./chunk-GRCMMAFX.mjs";import{a as f}from"./chunk-WKFNZUIR.mjs";import{jsx as e,jsxs as r}from"react/jsx-runtime";function v({...a}){return r("div",{className:"bg-sidebar",children:[e(f,{isMenuOpen:!0,logoLight:g,logoDark:h,...a.header,wide:!0,className:"bg-sidebar"}),r(s,{className:"top-24 mb-4 h-full max-h-[calc(100vh-3.5rem)] flex-1 flex-row overflow-y-clip",children:[e(p,{...a.sidebarLeft,className:"flex-none top-24"}),r(u,{className:"grow overflow-hidden",children:[e("header",{className:"flex h-16 shrink-0 items-center gap-2",children:r("div",{className:"flex items-center gap-2 px-4",children:[e(b,{className:"-ml-1"}),e(n,{orientation:"vertical",className:"mr-2 h-4"}),e(o,{children:r(d,{children:[e(i,{className:"hidden md:block",children:e(t,{href:"#",children:"Building Your Application"})}),e(l,{className:"hidden md:block"}),e(i,{children:e(m,{children:"Data Fetching"})})]})})]})}),r("div",{className:"flex flex-1 flex-col gap-4 p-4 pt-0",children:[r("div",{className:"grid auto-rows-min gap-4 md:grid-cols-3",children:[e("div",{className:"aspect-video rounded-xl bg-muted/50"}),e("div",{className:"aspect-video rounded-xl bg-muted/50"}),e("div",{className:"aspect-video rounded-xl bg-muted/50"})]}),e("div",{className:"flex-1 rounded-xl bg-muted/50 md:min-h-min"})]})]}),e(S,{...a.sidebarRight,className:"flex-none top-24"})]}),e(c,{})]})}export{v as a};
4
+ import{a as g}from"./chunk-BZAYEKYC.mjs";import{a as h}from"./chunk-WU3JMLSC.mjs";import{a as S}from"./chunk-QUOLG5NC.mjs";import{a as o,b as d,c as i,d as t,e as m,f as l}from"./chunk-ZJ56IQPQ.mjs";import{a as p}from"./chunk-ANTK5LAD.mjs";import{a as c}from"./chunk-WGEMXPWB.mjs";import{b as s,d as b,f as u}from"./chunk-SUO6GOJS.mjs";import{a as n}from"./chunk-GRCMMAFX.mjs";import{a as f}from"./chunk-WKFNZUIR.mjs";import{jsx as e,jsxs as r}from"react/jsx-runtime";function v({...a}){return r("div",{className:"bg-sidebar",children:[e(f,{isMenuOpen:!0,logoLight:g,logoDark:h,...a.header,wide:!0,className:"bg-sidebar"}),r(s,{className:"top-24 mb-4 h-full max-h-[calc(100vh-3.5rem)] flex-1 flex-row overflow-y-clip",children:[e(p,{...a.sidebarLeft,className:"flex-none top-24"}),r(u,{className:"grow overflow-hidden",children:[e("header",{className:"flex h-16 shrink-0 items-center gap-2",children:r("div",{className:"flex items-center gap-2 px-4",children:[e(b,{className:"-ml-1"}),e(n,{orientation:"vertical",className:"mr-2 h-4"}),e(o,{children:r(d,{children:[e(i,{className:"hidden md:block",children:e(t,{href:"#",children:"Building Your Application"})}),e(l,{className:"hidden md:block"}),e(i,{children:e(m,{children:"Data Fetching"})})]})})]})}),r("div",{className:"flex flex-1 flex-col gap-4 p-4 pt-0",children:[r("div",{className:"grid auto-rows-min gap-4 md:grid-cols-3",children:[e("div",{className:"aspect-video rounded-xl bg-muted/50"}),e("div",{className:"aspect-video rounded-xl bg-muted/50"}),e("div",{className:"aspect-video rounded-xl bg-muted/50"})]}),e("div",{className:"flex-1 rounded-xl bg-muted/50 md:min-h-min"})]})]}),e(S,{...a.sidebarRight,className:"flex-none top-24"})]}),e(c,{})]})}export{v as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as p}from"./chunk-RYZTCMVC.mjs";import{a as d}from"./chunk-SX5U74MW.mjs";import{a as m}from"./chunk-HTVHCBXQ.mjs";import A from"next/link";import{Fragment as g}from"react";import{jsx as e,jsxs as o}from"react/jsx-runtime";var j=v=>{let{card:f,link:h}=p({}),{className:u,doc:N,relationTo:y,showCategories:i,title:b}=v,{slug:C,categories:t,meta:F,title:k}=N||{},{description:s,image:r}=F||{},a=t&&Array.isArray(t)&&t.length>0,c=b||k,w=s?.replace(/\s/g," "),T=`/${y}/${C}`;return o("article",{className:m("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",u),ref:f.ref,children:[o("div",{className:"relative w-full ",children:[!r&&e("div",{className:"",children:"No image"}),r&&typeof r!="string"&&e(d,{resource:r,size:"33vw"})]}),o("div",{className:"p-4",children:[i&&a&&e("div",{className:"uppercase text-sm mb-4",children:i&&a&&e("div",{children:t?.map((l,n)=>{if(typeof l=="object"){let{title:L}=l,P=L||"Untitled category",z=n===t.length-1;return o(g,{children:[P,!z&&e(g,{children:", \xA0"})]},n)}return null})})}),c&&e("div",{className:"prose",children:e("h3",{children:e(A,{className:"not-prose",href:T,ref:h.ref,children:c})})}),s&&e("div",{className:"mt-2",children:s&&e("p",{children:w})})]})]})};export{j as a};
4
+ import{a as p}from"./chunk-RYZTCMVC.mjs";import{a as d}from"./chunk-KETV2XVN.mjs";import{a as m}from"./chunk-HTVHCBXQ.mjs";import A from"next/link";import{Fragment as g}from"react";import{jsx as e,jsxs as o}from"react/jsx-runtime";var j=v=>{let{card:f,link:h}=p({}),{className:u,doc:N,relationTo:y,showCategories:i,title:b}=v,{slug:C,categories:t,meta:F,title:k}=N||{},{description:s,image:r}=F||{},a=t&&Array.isArray(t)&&t.length>0,c=b||k,w=s?.replace(/\s/g," "),T=`/${y}/${C}`;return o("article",{className:m("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",u),ref:f.ref,children:[o("div",{className:"relative w-full ",children:[!r&&e("div",{className:"",children:"No image"}),r&&typeof r!="string"&&e(d,{resource:r,size:"33vw"})]}),o("div",{className:"p-4",children:[i&&a&&e("div",{className:"uppercase text-sm mb-4",children:i&&a&&e("div",{children:t?.map((l,n)=>{if(typeof l=="object"){let{title:L}=l,P=L||"Untitled category",z=n===t.length-1;return o(g,{children:[P,!z&&e(g,{children:", \xA0"})]},n)}return null})})}),c&&e("div",{className:"prose",children:e("h3",{children:e(A,{className:"not-prose",href:T,ref:h.ref,children:c})})}),s&&e("div",{className:"mt-2",children:s&&e("p",{children:w})})]})]})};export{j as a};
@@ -0,0 +1 @@
1
+ import{a as k}from"./chunk-K44ECXTN.mjs";import{b as c}from"./chunk-BPSLUO5I.mjs";import{b as r}from"./chunk-J2IHT57D.mjs";import{a as i}from"./chunk-4YFMDLHL.mjs";import{useState as m}from"react";import{Calendar as M,Plus as U}from"lucide-react";import{Fragment as F,jsx as t,jsxs as s}from"react/jsx-runtime";var X=({tasks:g,epics:S,sprints:p,onUpdateTask:w,onTaskClick:C,onAddSprint:D})=>{let[l,T]=m(["2"]),[v,f]=m(null),[B,d]=m(!1),o=g.filter(e=>!e.sprintId),A=g.filter(e=>e.sprintId&&l.includes(e.sprintId)),u=[...p].filter(e=>e.id!=="backlog"&&e.id!=="all-tasks").sort((e,a)=>e.startDate.getTime()-a.startDate.getTime()),I=e=>S.find(a=>a.id===e),P=e=>p.find(a=>a.id===e),O=e=>{switch(e){case"high":return"bg-red-100 text-red-800";case"medium":return"bg-yellow-100 text-yellow-800";case"low":return"bg-green-100 text-green-800";default:return"bg-gray-100 text-gray-800"}},j=e=>e.split(" ").map(a=>a[0]).join("").toUpperCase(),E=e=>{f(e)},h=e=>{e.preventDefault()},x=(e,a)=>{e.preventDefault(),v&&(w(v.id,{sprintId:a==="backlog"?void 0:a}),f(null))},R=e=>{e==="backlog"||e==="all-tasks"||T(a=>a.includes(e)?a.filter(n=>n!==e):[...a,e])},V=e=>{D(e),d(!1)},y=({task:e,showSprint:a=!1})=>{let n=I(e.epicId),b=e.sprintId?P(e.sprintId):null;return t(i,{className:"p-2 cursor-grab transition-all duration-200 hover:shadow-md bg-white active:cursor-grabbing",draggable:!0,onDragStart:N=>{E(e)},onClick:N=>{N.defaultPrevented||C(e)},children:s("div",{className:"space-y-2",children:[s("div",{className:"flex items-start justify-between",children:[t("h4",{className:"font-medium text-sm text-gray-900 line-clamp-1 select-none pointer-events-none",children:e.title}),t(r,{className:`text-xs select-none pointer-events-none ${O(e.priority)}`,children:e.priority[0].toUpperCase()})]}),s("div",{className:"flex items-center justify-between text-xs pointer-events-none",children:[s("div",{className:"flex items-center gap-1",children:[n&&t("div",{className:`w-2 h-2 rounded-full ${n.color}`}),t("span",{className:"text-gray-600 truncate select-none",children:n?.name})]}),t("span",{className:"text-gray-500 select-none",children:j(e.assignee)})]}),a&&b&&s("div",{className:"flex items-center gap-1 text-xs text-gray-500 pointer-events-none",children:[t(M,{className:"h-3 w-3"}),t("span",{className:"select-none",children:b.name})]})]})})};return s(F,{children:[s("div",{className:"grid grid-cols-1 lg:grid-cols-4 gap-6 h-full",children:[t("div",{className:"lg:col-span-1",children:s(i,{className:"p-4 h-full",onDragOver:h,onDrop:e=>x(e,"backlog"),children:[s("div",{className:"flex items-center justify-between mb-4",children:[t("h3",{className:"font-semibold text-gray-900 select-none",children:"Backlog"}),t(r,{variant:"secondary",children:o.length})]}),s("div",{className:"space-y-2 overflow-y-auto max-h-[600px] min-h-[200px] border-2 border-dashed border-gray-200 rounded p-2",children:[o.map(e=>t(y,{task:e},e.id)),o.length===0&&t("div",{className:"flex items-center justify-center h-32 text-gray-400 text-sm select-none",children:"Drop tasks here to move to backlog"})]})]})}),t("div",{className:"lg:col-span-3",children:s("div",{className:"space-y-4",children:[s(i,{className:"p-4",children:[s("div",{className:"flex items-center justify-between mb-3",children:[t("h3",{className:"font-semibold text-gray-900 select-none",children:"Select Sprints to View"}),s(c,{onClick:()=>d(!0),className:"bg-blue-600 hover:bg-blue-700 text-white gap-2",size:"sm",children:[t(U,{className:"h-4 w-4"}),"Add Sprint"]})]}),t("div",{className:"grid grid-cols-2 md:grid-cols-3 gap-2",children:u.map(e=>s(c,{variant:l.includes(e.id)?"default":"outline",size:"sm",onClick:()=>R(e.id),className:"text-xs h-8",children:[e.name,e.isActive&&t("span",{className:"ml-1 text-green-400",children:"\u25CF"})]},e.id))})]}),t("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:l.map(e=>u.find(a=>a.id===e)).filter(Boolean).sort((e,a)=>e.startDate.getTime()-a.startDate.getTime()).map(e=>{let a=A.filter(n=>n.sprintId===e.id);return s(i,{className:"p-4",onDragOver:h,onDrop:n=>x(n,e.id),children:[s("div",{className:"flex items-center justify-between mb-4",children:[s("div",{children:[t("h3",{className:"font-semibold text-gray-900 select-none",children:e.name}),e.isActive&&t("span",{className:"text-xs text-green-600 font-medium select-none",children:"Active Sprint"})]}),t(r,{variant:"secondary",children:a.length})]}),s("div",{className:"space-y-2 overflow-y-auto max-h-[500px] min-h-[200px] border-2 border-dashed border-gray-200 rounded p-2",children:[a.map(n=>t(y,{task:n},n.id)),a.length===0&&t("div",{className:"flex items-center justify-center h-32 text-gray-400 text-sm select-none",children:"Drop tasks here"})]})]},e.id)})})]})})]}),t(k,{isOpen:B,onClose:()=>d(!1),onAddSprint:V})]})};export{X as a};