cortex-react-components 2.12.0 → 2.12.2

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 (665) hide show
  1. package/dist/{chunk-4CU7D3X2.mjs → chunk-2C3C5SQQ.mjs} +1 -1
  2. package/dist/{chunk-CSBGSBEU.mjs → chunk-2JKLBLDE.mjs} +1 -1
  3. package/dist/{chunk-IC2ABKAM.mjs → chunk-2LLMXGTP.mjs} +1 -1
  4. package/dist/chunk-2WLZ5T2D.mjs +1 -0
  5. package/dist/{chunk-MU5WPW4N.mjs → chunk-3GLK3JM6.mjs} +1 -1
  6. package/dist/{chunk-Q5Q3DJWU.mjs → chunk-3HD7RAT7.mjs} +1 -1
  7. package/dist/{chunk-CO6AQNZ5.mjs → chunk-3JEM6RIR.mjs} +1 -1
  8. package/dist/{chunk-EOXVYLPB.mjs → chunk-3KBY7FKD.mjs} +1 -1
  9. package/dist/{chunk-PK3OBSCB.mjs → chunk-3ZXW3WQU.mjs} +1 -1
  10. package/dist/{chunk-F5N6KQA2.mjs → chunk-44JXFP6W.mjs} +1 -1
  11. package/dist/{chunk-FKU4VQR6.mjs → chunk-4OAROJ4M.mjs} +1 -1
  12. package/dist/{chunk-JYL3XIJX.mjs → chunk-4OK6PUOO.mjs} +1 -1
  13. package/dist/{chunk-PFLESLNT.mjs → chunk-4RQ27GTD.mjs} +1 -1
  14. package/dist/{chunk-RAGDUV7M.mjs → chunk-52UFJIL4.mjs} +1 -1
  15. package/dist/{chunk-Q5XT55O3.mjs → chunk-532HP37G.mjs} +1 -1
  16. package/dist/{chunk-TEB67NCD.mjs → chunk-55OESIAK.mjs} +1 -1
  17. package/dist/{chunk-AQ6RGBGI.mjs → chunk-56AGUZR5.mjs} +1 -1
  18. package/dist/{chunk-IF3425JX.mjs → chunk-5AYDHF5U.mjs} +1 -1
  19. package/dist/{chunk-2RGAV55J.mjs → chunk-5N2D3BGH.mjs} +1 -1
  20. package/dist/{chunk-74U3NYS2.mjs → chunk-5T4OPJ7F.mjs} +1 -1
  21. package/dist/{chunk-LBUC4M6L.mjs → chunk-5WDNNO37.mjs} +1 -1
  22. package/dist/{chunk-QG5P52CK.mjs → chunk-5WH7SFOR.mjs} +1 -1
  23. package/dist/{chunk-V6GC3UGV.mjs → chunk-5YJFMMVM.mjs} +1 -1
  24. package/dist/{chunk-LKGCU7H6.mjs → chunk-67RPQW7V.mjs} +1 -1
  25. package/dist/{chunk-FGEFYI5E.mjs → chunk-6CAO4IKW.mjs} +1 -1
  26. package/dist/{chunk-MXCW6SOT.mjs → chunk-6GDVIZS5.mjs} +1 -1
  27. package/dist/{chunk-EAFH3DTH.mjs → chunk-6PBOA7BL.mjs} +1 -1
  28. package/dist/{chunk-2LINLX4S.mjs → chunk-6PQ67CC6.mjs} +1 -1
  29. package/dist/{chunk-VMAPGGGW.mjs → chunk-6TLGI4P6.mjs} +1 -1
  30. package/dist/{chunk-LJQPLE4S.mjs → chunk-6UVEJCVM.mjs} +1 -1
  31. package/dist/{chunk-XFPTR527.mjs → chunk-6WVIXUXX.mjs} +1 -1
  32. package/dist/{chunk-E4TE4NV6.mjs → chunk-7EEEXU54.mjs} +1 -1
  33. package/dist/{chunk-JFFTEK6Z.mjs → chunk-7QBPKUWN.mjs} +1 -1
  34. package/dist/{chunk-WUA65ZZB.mjs → chunk-7RKPUKFH.mjs} +1 -1
  35. package/dist/{chunk-YO3GQYRJ.mjs → chunk-7WKUKFCT.mjs} +1 -1
  36. package/dist/{chunk-ZUA4KNIR.mjs → chunk-7Z3TOFNL.mjs} +1 -1
  37. package/dist/{chunk-FHMQVAKQ.mjs → chunk-A4XWPIEI.mjs} +1 -1
  38. package/dist/{chunk-LJOWXPWW.mjs → chunk-A5TPL5CB.mjs} +1 -1
  39. package/dist/{chunk-ZSIYEVUV.mjs → chunk-A7S4L4P2.mjs} +1 -1
  40. package/dist/{chunk-UWEU6TLS.mjs → chunk-AARMIMMZ.mjs} +1 -1
  41. package/dist/{chunk-3UMMMQEH.mjs → chunk-AG6IN5S7.mjs} +1 -1
  42. package/dist/{chunk-GHZ6CUY3.mjs → chunk-AQIMDHFI.mjs} +1 -1
  43. package/dist/{chunk-RNMPX2AU.mjs → chunk-AWMXVMUW.mjs} +1 -1
  44. package/dist/{chunk-D4IMQTVU.mjs → chunk-BEPKJ67R.mjs} +1 -1
  45. package/dist/{chunk-KY7WQYN4.mjs → chunk-BIAOADJS.mjs} +1 -1
  46. package/dist/{chunk-Z22NSJMF.mjs → chunk-BM2ZNFM6.mjs} +1 -1
  47. package/dist/{chunk-MZP7RIQZ.mjs → chunk-BOG3XLGP.mjs} +1 -1
  48. package/dist/{chunk-5WVFEIMC.mjs → chunk-BUTUPCGN.mjs} +1 -1
  49. package/dist/{chunk-HKGW6JI2.mjs → chunk-BXVJNWFA.mjs} +1 -1
  50. package/dist/{chunk-M7ZG6HLI.mjs → chunk-C4SUCDRQ.mjs} +1 -1
  51. package/dist/chunk-CDH5ONCJ.mjs +8 -0
  52. package/dist/{chunk-AB43AQKL.mjs → chunk-CXK2IY4V.mjs} +1 -1
  53. package/dist/{chunk-M7NV6EFH.mjs → chunk-CXXPSCV3.mjs} +1 -1
  54. package/dist/{chunk-7YQNB57R.mjs → chunk-D42KIYIO.mjs} +1 -1
  55. package/dist/{chunk-QTILVWJA.mjs → chunk-DA5SDQDL.mjs} +1 -1
  56. package/dist/{chunk-255P6K5W.mjs → chunk-DFWWQRJ2.mjs} +1 -1
  57. package/dist/{chunk-OCPX4QPC.mjs → chunk-DGJHJHFF.mjs} +1 -1
  58. package/dist/{chunk-PWXCBW2H.mjs → chunk-E2MPOOEL.mjs} +1 -1
  59. package/dist/{chunk-CTAQQFEO.mjs → chunk-E3NWG6B4.mjs} +1 -1
  60. package/dist/{chunk-VGWDYD6Z.mjs → chunk-E43QS242.mjs} +1 -1
  61. package/dist/{chunk-52GADV2R.mjs → chunk-E6IIUYQ7.mjs} +1 -1
  62. package/dist/{chunk-JHNVX4UB.mjs → chunk-E6W2YMC3.mjs} +1 -1
  63. package/dist/{chunk-RHR3YOLG.mjs → chunk-E7SIU5SS.mjs} +1 -1
  64. package/dist/{chunk-J4IHIM6A.mjs → chunk-EBO2R46A.mjs} +1 -1
  65. package/dist/{chunk-LXZAOORS.mjs → chunk-EESKUTPD.mjs} +1 -1
  66. package/dist/{chunk-YRMNCHFO.mjs → chunk-EFIJNPMM.mjs} +1 -1
  67. package/dist/{chunk-X3JZSN3W.mjs → chunk-EGERAM4Q.mjs} +1 -1
  68. package/dist/{chunk-JB7IQQ3N.mjs → chunk-ENRNRNPQ.mjs} +1 -1
  69. package/dist/{chunk-5RTGHMF3.mjs → chunk-EPDV35LO.mjs} +1 -1
  70. package/dist/{chunk-7WIO2CIC.mjs → chunk-ESTO675Y.mjs} +1 -1
  71. package/dist/{chunk-RR4QSUV2.mjs → chunk-EUXJZBRI.mjs} +1 -1
  72. package/dist/{chunk-67QPOSVV.mjs → chunk-EYQ4UGAJ.mjs} +1 -1
  73. package/dist/{chunk-JVN7KTZV.mjs → chunk-EYRTGZWR.mjs} +1 -1
  74. package/dist/{chunk-7BXIU4ZM.mjs → chunk-F5JHHMZQ.mjs} +1 -1
  75. package/dist/{chunk-WUOWA2IX.mjs → chunk-F6KHZ4OS.mjs} +1 -1
  76. package/dist/{chunk-MAAKU7PN.mjs → chunk-FDJHY37W.mjs} +1 -1
  77. package/dist/{chunk-ZGQC6O62.mjs → chunk-FHPZSG7W.mjs} +1 -1
  78. package/dist/{chunk-SRUG246N.mjs → chunk-FJUAYJF4.mjs} +1 -1
  79. package/dist/{chunk-OYZDAMCS.mjs → chunk-FPWCCVDI.mjs} +1 -1
  80. package/dist/{chunk-FOEPKY7T.mjs → chunk-FSV7RCTY.mjs} +1 -1
  81. package/dist/{chunk-2RQDJ5XT.mjs → chunk-FT6JQ4AC.mjs} +1 -1
  82. package/dist/{chunk-YKG4FNS4.mjs → chunk-GCIWMQMK.mjs} +1 -1
  83. package/dist/{chunk-R7ILTSZR.mjs → chunk-GFLX67DN.mjs} +1 -1
  84. package/dist/{chunk-AZKOVKSK.mjs → chunk-GIGKJZGA.mjs} +1 -1
  85. package/dist/{chunk-L5JPAKPM.mjs → chunk-GJUA2KUH.mjs} +1 -1
  86. package/dist/{chunk-KGEIN56Y.mjs → chunk-GNIVCF53.mjs} +1 -1
  87. package/dist/{chunk-KX2NCNCS.mjs → chunk-GYTXBVCX.mjs} +1 -1
  88. package/dist/{chunk-AMV3MECK.mjs → chunk-GZQ7JEUL.mjs} +1 -1
  89. package/dist/{chunk-5WV5ZFEP.mjs → chunk-H45UTXIK.mjs} +1 -1
  90. package/dist/{chunk-7GSXNSLD.mjs → chunk-HH4JDBUN.mjs} +1 -1
  91. package/dist/{chunk-TZKQXT7Y.mjs → chunk-HK52LPE3.mjs} +1 -1
  92. package/dist/{chunk-WI2RL3XQ.mjs → chunk-HLWGNTZD.mjs} +1 -1
  93. package/dist/{chunk-LEC6GEWS.mjs → chunk-HPZPRZWG.mjs} +1 -1
  94. package/dist/{chunk-KVD6XDZT.mjs → chunk-HTCM27MI.mjs} +1 -1
  95. package/dist/{chunk-D275F3RT.mjs → chunk-HTQIVWYI.mjs} +1 -1
  96. package/dist/{chunk-U5PBLRRV.mjs → chunk-HYIRE7BK.mjs} +1 -1
  97. package/dist/chunk-I2BNJCJ7.mjs +1 -0
  98. package/dist/{chunk-Q5NHYYRS.mjs → chunk-IG6J62QA.mjs} +1 -1
  99. package/dist/{chunk-B3F6F2S4.mjs → chunk-JKPUXPHP.mjs} +1 -1
  100. package/dist/{chunk-QQVPLMPJ.mjs → chunk-JTFMN7OL.mjs} +1 -1
  101. package/dist/{chunk-2QZUKVBA.mjs → chunk-JULD2KZR.mjs} +1 -1
  102. package/dist/{chunk-FT3AE7L2.mjs → chunk-JVJG2LOA.mjs} +1 -1
  103. package/dist/{chunk-Q6PKGY27.mjs → chunk-K5GFFN67.mjs} +1 -1
  104. package/dist/chunk-KCOLYVJX.mjs +1 -0
  105. package/dist/{chunk-74JNWOJQ.mjs → chunk-KUVPOOSW.mjs} +1 -1
  106. package/dist/{chunk-HHYHENVF.mjs → chunk-KZTONTWM.mjs} +1 -1
  107. package/dist/{chunk-LVFMFRBR.mjs → chunk-LARQXED4.mjs} +1 -1
  108. package/dist/{chunk-Q3EVV5MV.mjs → chunk-LCIKBYDR.mjs} +1 -1
  109. package/dist/{chunk-76M7JE4D.mjs → chunk-LQDJWEHX.mjs} +1 -1
  110. package/dist/{chunk-LJLV5GUS.mjs → chunk-MZKVGPNQ.mjs} +1 -1
  111. package/dist/{chunk-JVG4XS2E.mjs → chunk-N5BLWWDM.mjs} +1 -1
  112. package/dist/{chunk-DFIXTV2M.mjs → chunk-N5GHL7UZ.mjs} +1 -1
  113. package/dist/{chunk-ISBVFNWD.mjs → chunk-NGC3C4FW.mjs} +1 -1
  114. package/dist/{chunk-I2ZLKSWR.mjs → chunk-NM6U4PLY.mjs} +1 -1
  115. package/dist/{chunk-DBY4SXQI.mjs → chunk-NMAMUYGQ.mjs} +1 -1
  116. package/dist/{chunk-NSMXJCXE.mjs → chunk-NN2RHTGW.mjs} +1 -1
  117. package/dist/{chunk-INCYANPB.mjs → chunk-NQPBIFGO.mjs} +1 -1
  118. package/dist/{chunk-TR6RBROH.mjs → chunk-OF63XSJ4.mjs} +1 -1
  119. package/dist/{chunk-6C4WESLL.mjs → chunk-OGN7YDFB.mjs} +1 -1
  120. package/dist/{chunk-I3E2TYYZ.mjs → chunk-OHDNPAPI.mjs} +1 -1
  121. package/dist/{chunk-FTZRG54P.mjs → chunk-OKAETRO6.mjs} +1 -1
  122. package/dist/{chunk-22LHS2J6.mjs → chunk-OU7KVCBI.mjs} +1 -1
  123. package/dist/{chunk-RLVKIMGU.mjs → chunk-P5U27QUJ.mjs} +1 -1
  124. package/dist/{chunk-5NRGSTPV.mjs → chunk-PMOMDGBA.mjs} +1 -1
  125. package/dist/{chunk-PDY7JYY3.mjs → chunk-PUAHE5VJ.mjs} +1 -1
  126. package/dist/{chunk-56X4PU43.mjs → chunk-PXAKUW3U.mjs} +1 -1
  127. package/dist/{chunk-MGYV46AJ.mjs → chunk-Q6FPZ6J3.mjs} +1 -1
  128. package/dist/{chunk-6WQXZ6IE.mjs → chunk-QAIS2C6W.mjs} +1 -1
  129. package/dist/{chunk-7GMAMIHM.mjs → chunk-QB63WPDB.mjs} +1 -1
  130. package/dist/{chunk-6HLXIE4P.mjs → chunk-QEFMYXHA.mjs} +1 -1
  131. package/dist/{chunk-IJQC7T2R.mjs → chunk-QIDPNZOL.mjs} +1 -1
  132. package/dist/{chunk-RVHCTANZ.mjs → chunk-QMTI6672.mjs} +1 -1
  133. package/dist/{chunk-D3B2YO7G.mjs → chunk-QUDKEIE6.mjs} +1 -1
  134. package/dist/{chunk-2BR55L74.mjs → chunk-QXA6C5VE.mjs} +1 -1
  135. package/dist/{chunk-Q6VAKKW3.mjs → chunk-QXNCGSQE.mjs} +1 -1
  136. package/dist/{chunk-TVZOULLL.mjs → chunk-RAAY7PEH.mjs} +1 -1
  137. package/dist/{chunk-AM2SRWFU.mjs → chunk-RARAKOXE.mjs} +1 -1
  138. package/dist/{chunk-Q67RF7VO.mjs → chunk-RD7LJPUV.mjs} +1 -1
  139. package/dist/{chunk-SOLZ4VQH.mjs → chunk-RFNYVF6F.mjs} +1 -1
  140. package/dist/{chunk-SOIRB5TV.mjs → chunk-RHYQ4V7N.mjs} +1 -1
  141. package/dist/{chunk-TUI4S4GI.mjs → chunk-RPUSKO6J.mjs} +1 -1
  142. package/dist/{chunk-OM5ZUHCN.mjs → chunk-RU435LAU.mjs} +1 -1
  143. package/dist/{chunk-LVK4QE5D.mjs → chunk-S7N4CSMJ.mjs} +1 -1
  144. package/dist/{chunk-AZ4VR5JX.mjs → chunk-SIFQNSEM.mjs} +1 -1
  145. package/dist/{chunk-XBCYPOFD.mjs → chunk-T3BIRW2W.mjs} +1 -1
  146. package/dist/{chunk-4UIARERB.mjs → chunk-T3NMKARZ.mjs} +1 -1
  147. package/dist/{chunk-CTAIR3TE.mjs → chunk-TAVSBP7M.mjs} +1 -1
  148. package/dist/{chunk-TKSXXSHY.mjs → chunk-TFPWTJ2V.mjs} +1 -1
  149. package/dist/{chunk-FMJBJ3HN.mjs → chunk-TNCD5YIY.mjs} +1 -1
  150. package/dist/{chunk-N3B3XNV3.mjs → chunk-TR52MKZR.mjs} +1 -1
  151. package/dist/chunk-TSEOL53Y.mjs +1 -0
  152. package/dist/{chunk-6SWKEZN6.mjs → chunk-TUTSJOO4.mjs} +1 -1
  153. package/dist/{chunk-6XUIHSKG.mjs → chunk-TYMRNSJ3.mjs} +1 -1
  154. package/dist/{chunk-XGIYNUGC.mjs → chunk-TZTQENNX.mjs} +1 -1
  155. package/dist/{chunk-BMA4266L.mjs → chunk-U5UV7T63.mjs} +1 -1
  156. package/dist/{chunk-ZXPDSSCF.mjs → chunk-UBCJPXKD.mjs} +1 -1
  157. package/dist/{chunk-CGDLOY7W.mjs → chunk-UJ6M7EV5.mjs} +1 -1
  158. package/dist/{chunk-KFCSVEI6.mjs → chunk-UXCCCQCB.mjs} +1 -1
  159. package/dist/{chunk-WISC5QJV.mjs → chunk-UY4BSKPK.mjs} +1 -1
  160. package/dist/{chunk-H3CJOE6S.mjs → chunk-VB7K44IF.mjs} +1 -1
  161. package/dist/{chunk-5SHZBJ5R.mjs → chunk-VFPS3FYN.mjs} +1 -1
  162. package/dist/{chunk-FMH5CZ7X.mjs → chunk-VRZHKAJK.mjs} +1 -1
  163. package/dist/{chunk-B4H6T2GP.mjs → chunk-VXZPPTQQ.mjs} +1 -1
  164. package/dist/{chunk-TJVEQJW3.mjs → chunk-WH24BWZV.mjs} +1 -1
  165. package/dist/{chunk-75WE6ZXB.mjs → chunk-WJZDHRGO.mjs} +1 -1
  166. package/dist/{chunk-RULSHTXR.mjs → chunk-WKLJU63E.mjs} +1 -1
  167. package/dist/{chunk-YFAZQYK4.mjs → chunk-WLM2ZFHF.mjs} +1 -1
  168. package/dist/{chunk-EHSOO47V.mjs → chunk-WNBJ7C5Y.mjs} +1 -1
  169. package/dist/{chunk-5BV4MHV6.mjs → chunk-WWTVAR4J.mjs} +1 -1
  170. package/dist/chunk-WXTJ6DVT.mjs +4 -0
  171. package/dist/{chunk-FA7PGHVM.mjs → chunk-X5RHYJW3.mjs} +1 -1
  172. package/dist/{chunk-BG7QXNV5.mjs → chunk-XXFUUOSB.mjs} +1 -1
  173. package/dist/{chunk-TK4JC5PG.mjs → chunk-XXWSCTF5.mjs} +1 -1
  174. package/dist/{chunk-ERJXTG6X.mjs → chunk-YHTFEWSZ.mjs} +1 -1
  175. package/dist/{chunk-OPLUKFRN.mjs → chunk-YUW3HHAK.mjs} +1 -1
  176. package/dist/{chunk-AREQGH47.mjs → chunk-YVNVQONM.mjs} +1 -1
  177. package/dist/{chunk-5BT4EWU5.mjs → chunk-Z756RYIZ.mjs} +1 -1
  178. package/dist/{chunk-4QRKVSTE.mjs → chunk-ZJBZTPLD.mjs} +1 -1
  179. package/dist/{chunk-BA3I4XZE.mjs → chunk-ZKLSTUIP.mjs} +1 -1
  180. package/dist/{chunk-5AWZJAK3.mjs → chunk-ZNV6MCYI.mjs} +1 -1
  181. package/dist/components/AdvancedComponents/AppSidebar.js +1 -1
  182. package/dist/components/AdvancedComponents/AppSidebar.mjs +1 -1
  183. package/dist/components/AdvancedComponents/CommentSection.js +1 -1
  184. package/dist/components/AdvancedComponents/CommentSection.mjs +1 -1
  185. package/dist/components/AdvancedComponents/EditableField.js +1 -1
  186. package/dist/components/AdvancedComponents/EditableField.mjs +1 -1
  187. package/dist/components/AdvancedComponents/app-header.d.ts +2 -2
  188. package/dist/components/AdvancedComponents/app-header.js +1 -1
  189. package/dist/components/AdvancedComponents/app-header.mjs +1 -1
  190. package/dist/components/AdvancedComponents/index.js +2 -2
  191. package/dist/components/AdvancedComponents/index.mjs +1 -1
  192. package/dist/components/AdvancedComponents/navigation-tabs.js +2 -2
  193. package/dist/components/AdvancedComponents/navigation-tabs.mjs +1 -1
  194. package/dist/components/AdvancedComponents/notifications-panel.js +1 -1
  195. package/dist/components/AdvancedComponents/notifications-panel.mjs +1 -1
  196. package/dist/components/AdvancedComponents/switch.js +1 -1
  197. package/dist/components/AdvancedComponents/switch.mjs +1 -1
  198. package/dist/components/AdvancedComponents/theme-toggle.js +1 -1
  199. package/dist/components/AdvancedComponents/theme-toggle.mjs +1 -1
  200. package/dist/components/AdvancedComponents/user-selection.js +1 -1
  201. package/dist/components/AdvancedComponents/user-selection.mjs +1 -1
  202. package/dist/components/Blocks/Banner.js +1 -1
  203. package/dist/components/Blocks/Banner.mjs +1 -1
  204. package/dist/components/Blocks/CallToAction.js +1 -1
  205. package/dist/components/Blocks/CallToAction.mjs +1 -1
  206. package/dist/components/Blocks/CaseStudy.js +1 -1
  207. package/dist/components/Blocks/CaseStudy.mjs +1 -1
  208. package/dist/components/Blocks/Code.client.js +1 -1
  209. package/dist/components/Blocks/Code.client.mjs +1 -1
  210. package/dist/components/Blocks/Code.js +1 -1
  211. package/dist/components/Blocks/Code.mjs +1 -1
  212. package/dist/components/Blocks/CollapsibleArea.js +1 -1
  213. package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
  214. package/dist/components/Blocks/ConsultantProfile.js +1 -1
  215. package/dist/components/Blocks/ConsultantProfile.mjs +1 -1
  216. package/dist/components/Blocks/Content.js +1 -1
  217. package/dist/components/Blocks/Content.mjs +1 -1
  218. package/dist/components/Blocks/CopyButton.js +1 -1
  219. package/dist/components/Blocks/CopyButton.mjs +1 -1
  220. package/dist/components/Blocks/FeaturesBlock.js +1 -1
  221. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  222. package/dist/components/Blocks/ImageBlock.js +1 -1
  223. package/dist/components/Blocks/ImageBlock.mjs +1 -1
  224. package/dist/components/Blocks/MediaBlock.js +1 -1
  225. package/dist/components/Blocks/MediaBlock.mjs +1 -1
  226. package/dist/components/Blocks/ProposalSummary.js +1 -1
  227. package/dist/components/Blocks/ProposalSummary.mjs +1 -1
  228. package/dist/components/Blocks/RelatedPosts.js +1 -1
  229. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  230. package/dist/components/Blocks/RenderBlocks.js +1 -1
  231. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  232. package/dist/components/Blocks/ReusableContentBlock.js +1 -1
  233. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  234. package/dist/components/Blocks/index.js +1 -1
  235. package/dist/components/Blocks/index.mjs +1 -1
  236. package/dist/components/CRM/CogeBoard.js +1 -1
  237. package/dist/components/CRM/CogeBoard.mjs +1 -1
  238. package/dist/components/CRM/DealCard.js +1 -1
  239. package/dist/components/CRM/DealCard.mjs +1 -1
  240. package/dist/components/CRM/DealDetails.js +1 -1
  241. package/dist/components/CRM/DealDetails.mjs +1 -1
  242. package/dist/components/CRM/KanbanBoard.js +1 -1
  243. package/dist/components/CRM/KanbanBoard.mjs +1 -1
  244. package/dist/components/CRM/KanbanColumn.js +1 -1
  245. package/dist/components/CRM/KanbanColumn.mjs +1 -1
  246. package/dist/components/CRM/NewCustomerForm.js +1 -1
  247. package/dist/components/CRM/NewCustomerForm.mjs +1 -1
  248. package/dist/components/CRM/NewDealForm.js +1 -1
  249. package/dist/components/CRM/NewDealForm.mjs +1 -1
  250. package/dist/components/CRM/index.js +1 -1
  251. package/dist/components/CRM/index.mjs +1 -1
  252. package/dist/components/Cards/ContentCard.js +1 -1
  253. package/dist/components/Cards/ContentCard.mjs +1 -1
  254. package/dist/components/Cards/CustomerCard.js +1 -1
  255. package/dist/components/Cards/CustomerCard.mjs +1 -1
  256. package/dist/components/Cards/EventCard.js +1 -1
  257. package/dist/components/Cards/EventCard.mjs +1 -1
  258. package/dist/components/Cards/FeatureCard.js +1 -1
  259. package/dist/components/Cards/FeatureCard.mjs +1 -1
  260. package/dist/components/Cards/HeroCard.js +1 -1
  261. package/dist/components/Cards/HeroCard.mjs +1 -1
  262. package/dist/components/Cards/Image.js +1 -1
  263. package/dist/components/Cards/Image.mjs +1 -1
  264. package/dist/components/Cards/PricingCard.js +1 -1
  265. package/dist/components/Cards/PricingCard.mjs +1 -1
  266. package/dist/components/Cards/ProjectCard.js +3 -3
  267. package/dist/components/Cards/ProjectCard.mjs +1 -1
  268. package/dist/components/Cards/ServiceCard.js +1 -1
  269. package/dist/components/Cards/ServiceCard.mjs +1 -1
  270. package/dist/components/Cards/index.js +4 -4
  271. package/dist/components/Cards/index.mjs +1 -1
  272. package/dist/components/Chat/ChatCardArtefact.js +1 -1
  273. package/dist/components/Chat/ChatCardArtefact.mjs +1 -1
  274. package/dist/components/Chat/ChatCardTask.js +1 -1
  275. package/dist/components/Chat/ChatCardTask.mjs +1 -1
  276. package/dist/components/Chat/ChatInterface.js +2 -2
  277. package/dist/components/Chat/ChatInterface.mjs +1 -1
  278. package/dist/components/Chat/ChatInterfaceMessages.js +2 -2
  279. package/dist/components/Chat/ChatInterfaceMessages.mjs +1 -1
  280. package/dist/components/Chat/ChatMessage.js +2 -2
  281. package/dist/components/Chat/ChatMessage.mjs +1 -1
  282. package/dist/components/Chat/CopilotInterface.js +3 -3
  283. package/dist/components/Chat/CopilotInterface.mjs +1 -1
  284. package/dist/components/Chat/capability-menu.js +1 -1
  285. package/dist/components/Chat/capability-menu.mjs +1 -1
  286. package/dist/components/Chat/chat-session-sidebar.js +1 -1
  287. package/dist/components/Chat/chat-session-sidebar.mjs +1 -1
  288. package/dist/components/Chat/demo-long-messages.js +9 -9
  289. package/dist/components/Chat/demo-long-messages.mjs +1 -1
  290. package/dist/components/Chat/demo-tests.js +24 -24
  291. package/dist/components/Chat/demo-tests.mjs +1 -1
  292. package/dist/components/Chat/demo.js +3 -3
  293. package/dist/components/Chat/demo.mjs +1 -1
  294. package/dist/components/Chat/example-usage.js +2 -2
  295. package/dist/components/Chat/example-usage.mjs +1 -1
  296. package/dist/components/Chat/example-with-file-uploads.js +1 -1
  297. package/dist/components/Chat/example-with-file-uploads.mjs +1 -1
  298. package/dist/components/Chat/example-with-vercel-ai.js +3 -3
  299. package/dist/components/Chat/example-with-vercel-ai.mjs +1 -1
  300. package/dist/components/Chat/index.js +3 -3
  301. package/dist/components/Chat/index.mjs +1 -1
  302. package/dist/components/DeliveryLead/DeliveryLeadSubmission.js +2 -2
  303. package/dist/components/DeliveryLead/DeliveryLeadSubmission.mjs +1 -1
  304. package/dist/components/DeliveryLead/DeliveryLeadSubmissionList.js +1 -1
  305. package/dist/components/DeliveryLead/DeliveryLeadSubmissionList.mjs +1 -1
  306. package/dist/components/DeliveryLead/DeliveryLeadSubmissionWithList.js +2 -2
  307. package/dist/components/DeliveryLead/DeliveryLeadSubmissionWithList.mjs +1 -1
  308. package/dist/components/DeliveryLead/index.js +2 -2
  309. package/dist/components/DeliveryLead/index.mjs +1 -1
  310. package/dist/components/DigitalColleagues/AppSidebarLeft.js +1 -1
  311. package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
  312. package/dist/components/DigitalColleagues/DashboardHeader.js +1 -1
  313. package/dist/components/DigitalColleagues/DashboardHeader.mjs +1 -1
  314. package/dist/components/DigitalColleagues/DigitalColleageusLayout.js +1 -1
  315. package/dist/components/DigitalColleagues/DigitalColleageusLayout.mjs +1 -1
  316. package/dist/components/DigitalColleagues/MainPage.js +1 -1
  317. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  318. package/dist/components/DigitalColleagues/ManagementSidebar.js +1 -1
  319. package/dist/components/DigitalColleagues/ManagementSidebar.mjs +1 -1
  320. package/dist/components/DigitalColleagues/Pages/dashboardpage.js +1 -1
  321. package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +1 -1
  322. package/dist/components/DigitalColleagues/SearchableSelect.js +1 -1
  323. package/dist/components/DigitalColleagues/SearchableSelect.mjs +1 -1
  324. package/dist/components/DigitalColleagues/Views/ColleaguesView.js +1 -1
  325. package/dist/components/DigitalColleagues/Views/ColleaguesView.mjs +1 -1
  326. package/dist/components/DigitalColleagues/Views/KnowledgeView.js +1 -1
  327. package/dist/components/DigitalColleagues/Views/KnowledgeView.mjs +1 -1
  328. package/dist/components/DigitalColleagues/Views/TeamsIndexView.js +1 -1
  329. package/dist/components/DigitalColleagues/Views/TeamsIndexView.mjs +1 -1
  330. package/dist/components/DigitalColleagues/Views/index.js +1 -1
  331. package/dist/components/DigitalColleagues/Views/index.mjs +1 -1
  332. package/dist/components/DigitalColleagues/colleague-card.js +1 -1
  333. package/dist/components/DigitalColleagues/colleague-card.mjs +1 -1
  334. package/dist/components/DigitalColleagues/colleague-form.js +1 -1
  335. package/dist/components/DigitalColleagues/colleague-form.mjs +1 -1
  336. package/dist/components/DigitalColleagues/colleague-type-selection.js +1 -1
  337. package/dist/components/DigitalColleagues/colleague-type-selection.mjs +1 -1
  338. package/dist/components/DigitalColleagues/digital-colleague-clone.js +1 -1
  339. package/dist/components/DigitalColleagues/digital-colleague-clone.mjs +1 -1
  340. package/dist/components/DigitalColleagues/digital-colleague-options.js +1 -1
  341. package/dist/components/DigitalColleagues/digital-colleague-options.mjs +1 -1
  342. package/dist/components/DigitalColleagues/document-edit.js +1 -1
  343. package/dist/components/DigitalColleagues/document-edit.mjs +1 -1
  344. package/dist/components/DigitalColleagues/document-preview-examples.js +5 -5
  345. package/dist/components/DigitalColleagues/document-preview-examples.mjs +1 -1
  346. package/dist/components/DigitalColleagues/document-preview.js +1 -1
  347. package/dist/components/DigitalColleagues/document-preview.mjs +1 -1
  348. package/dist/components/DigitalColleagues/index.js +1 -1
  349. package/dist/components/DigitalColleagues/index.mjs +1 -1
  350. package/dist/components/DigitalColleagues/knowledge-browser.js +1 -1
  351. package/dist/components/DigitalColleagues/knowledge-browser.mjs +1 -1
  352. package/dist/components/DigitalColleagues/knowledge-search.js +1 -1
  353. package/dist/components/DigitalColleagues/knowledge-search.mjs +1 -1
  354. package/dist/components/DigitalColleagues/team-form.js +1 -1
  355. package/dist/components/DigitalColleagues/team-form.mjs +1 -1
  356. package/dist/components/DigitalColleagues/test-data.js +1 -1
  357. package/dist/components/DigitalColleagues/test-data.mjs +1 -1
  358. package/dist/components/DigitalColleagues/types.d.ts +1 -0
  359. package/dist/components/HeaderFooter/BrandLogo.js +1 -1
  360. package/dist/components/HeaderFooter/BrandLogo.mjs +1 -1
  361. package/dist/components/HeaderFooter/Footer.js +1 -1
  362. package/dist/components/HeaderFooter/Footer.mjs +1 -1
  363. package/dist/components/HeaderFooter/Header.js +1 -1
  364. package/dist/components/HeaderFooter/Header.mjs +1 -1
  365. package/dist/components/HeaderFooter/HeaderDesktop.js +1 -1
  366. package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
  367. package/dist/components/HeaderFooter/HeaderMenu.js +1 -1
  368. package/dist/components/HeaderFooter/HeaderMenu.mjs +1 -1
  369. package/dist/components/HeaderFooter/HeaderMobile.js +1 -1
  370. package/dist/components/HeaderFooter/HeaderMobile.mjs +1 -1
  371. package/dist/components/HeaderFooter/RelatedPagesMenu.js +1 -1
  372. package/dist/components/HeaderFooter/RelatedPagesMenu.mjs +1 -1
  373. package/dist/components/HeaderFooter/SectionHeading.js +1 -1
  374. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  375. package/dist/components/HeaderFooter/SimpleHeader.js +1 -1
  376. package/dist/components/HeaderFooter/SimpleHeader.mjs +1 -1
  377. package/dist/components/HeaderFooter/VideoHeader.js +1 -1
  378. package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
  379. package/dist/components/HeaderFooter/enhanced-header.js +1 -1
  380. package/dist/components/HeaderFooter/enhanced-header.mjs +1 -1
  381. package/dist/components/HeaderFooter/index.js +1 -1
  382. package/dist/components/HeaderFooter/index.mjs +1 -1
  383. package/dist/components/Heros/DashboardHero/DashboardHero.js +1 -1
  384. package/dist/components/Heros/DashboardHero/DashboardHero.mjs +1 -1
  385. package/dist/components/Heros/DashboardHero/index.js +1 -1
  386. package/dist/components/Heros/DashboardHero/index.mjs +1 -1
  387. package/dist/components/Heros/HighImpact/index.js +1 -1
  388. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  389. package/dist/components/Heros/LowImpact/index.js +1 -1
  390. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  391. package/dist/components/Heros/MediumImpact/index.js +1 -1
  392. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  393. package/dist/components/Heros/PostHero/index.js +1 -1
  394. package/dist/components/Heros/PostHero/index.mjs +1 -1
  395. package/dist/components/Heros/RenderHero.js +1 -1
  396. package/dist/components/Heros/RenderHero.mjs +1 -1
  397. package/dist/components/Heros/SectionHero/index.js +1 -1
  398. package/dist/components/Heros/SectionHero/index.mjs +1 -1
  399. package/dist/components/Heros/index.js +1 -1
  400. package/dist/components/Heros/index.mjs +1 -1
  401. package/dist/components/Holidays/ApproveLeave.js +1 -1
  402. package/dist/components/Holidays/ApproveLeave.mjs +1 -1
  403. package/dist/components/Holidays/CalendarView.js +1 -1
  404. package/dist/components/Holidays/CalendarView.mjs +1 -1
  405. package/dist/components/Holidays/HolidayGrid.js +1 -1
  406. package/dist/components/Holidays/HolidayGrid.mjs +1 -1
  407. package/dist/components/Holidays/HolidayTracker.js +1 -1
  408. package/dist/components/Holidays/HolidayTracker.mjs +1 -1
  409. package/dist/components/Holidays/RequestLeave.js +1 -1
  410. package/dist/components/Holidays/RequestLeave.mjs +1 -1
  411. package/dist/components/Holidays/index.js +1 -1
  412. package/dist/components/Holidays/index.mjs +1 -1
  413. package/dist/components/Layouts/OutputHeaderFooter.js +2 -2
  414. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  415. package/dist/components/Layouts/Print.js +2 -2
  416. package/dist/components/Layouts/Print.mjs +1 -1
  417. package/dist/components/Layouts/SlideShow.js +3 -3
  418. package/dist/components/Layouts/SlideShow.mjs +1 -1
  419. package/dist/components/Layouts/index.js +4 -4
  420. package/dist/components/Layouts/index.mjs +1 -1
  421. package/dist/components/Menus/Categories.js +1 -1
  422. package/dist/components/Menus/Categories.mjs +1 -1
  423. package/dist/components/Menus/Filter.js +1 -1
  424. package/dist/components/Menus/Filter.mjs +1 -1
  425. package/dist/components/Menus/Pagination.js +1 -1
  426. package/dist/components/Menus/Pagination.mjs +1 -1
  427. package/dist/components/Menus/ProjectTeam.js +1 -1
  428. package/dist/components/Menus/ProjectTeam.mjs +1 -1
  429. package/dist/components/Menus/RelatedContent.js +1 -1
  430. package/dist/components/Menus/RelatedContent.mjs +1 -1
  431. package/dist/components/Menus/SidebarLeft.js +1 -1
  432. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  433. package/dist/components/Menus/SidebarRight.js +1 -1
  434. package/dist/components/Menus/SidebarRight.mjs +1 -1
  435. package/dist/components/Menus/index.js +1 -1
  436. package/dist/components/Menus/index.mjs +1 -1
  437. package/dist/components/Other/Container.js +1 -1
  438. package/dist/components/Other/Container.mjs +1 -1
  439. package/dist/components/Other/PageShape.js +1 -1
  440. package/dist/components/Other/PageShape.mjs +1 -1
  441. package/dist/components/Other/index.js +1 -1
  442. package/dist/components/Other/index.mjs +1 -1
  443. package/dist/components/Payload/Card/index.js +1 -1
  444. package/dist/components/Payload/Card/index.mjs +1 -1
  445. package/dist/components/Payload/CollectionArchive/index.js +1 -1
  446. package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
  447. package/dist/components/Payload/Link/index.js +1 -1
  448. package/dist/components/Payload/Link/index.mjs +1 -1
  449. package/dist/components/Payload/Media/ImageMedia/index.js +1 -1
  450. package/dist/components/Payload/Media/ImageMedia/index.mjs +1 -1
  451. package/dist/components/Payload/Media/VideoMedia/index.js +1 -1
  452. package/dist/components/Payload/Media/VideoMedia/index.mjs +1 -1
  453. package/dist/components/Payload/Media/index.js +1 -1
  454. package/dist/components/Payload/Media/index.mjs +1 -1
  455. package/dist/components/Payload/Pagination/index.js +1 -1
  456. package/dist/components/Payload/Pagination/index.mjs +1 -1
  457. package/dist/components/Payload/RichText/index.js +1 -1
  458. package/dist/components/Payload/RichText/index.mjs +1 -1
  459. package/dist/components/Payload/RichText/serialize.js +1 -1
  460. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  461. package/dist/components/Payload/index.js +1 -1
  462. package/dist/components/Payload/index.mjs +1 -1
  463. package/dist/components/Projects/AddEpicModal.js +1 -1
  464. package/dist/components/Projects/AddEpicModal.mjs +1 -1
  465. package/dist/components/Projects/AddSprintModal.js +1 -1
  466. package/dist/components/Projects/AddSprintModal.mjs +1 -1
  467. package/dist/components/Projects/AddTaskModal.js +1 -1
  468. package/dist/components/Projects/AddTaskModal.mjs +1 -1
  469. package/dist/components/Projects/EpicFilter.js +1 -1
  470. package/dist/components/Projects/EpicFilter.mjs +1 -1
  471. package/dist/components/Projects/EpicsView.js +1 -1
  472. package/dist/components/Projects/EpicsView.mjs +1 -1
  473. package/dist/components/Projects/FileView.js +1 -1
  474. package/dist/components/Projects/FileView.mjs +1 -1
  475. package/dist/components/Projects/KanbanBoardView.js +1 -1
  476. package/dist/components/Projects/KanbanBoardView.mjs +1 -1
  477. package/dist/components/Projects/KanbanColumn.js +1 -1
  478. package/dist/components/Projects/KanbanColumn.mjs +1 -1
  479. package/dist/components/Projects/PlanningView.js +1 -1
  480. package/dist/components/Projects/PlanningView.mjs +1 -1
  481. package/dist/components/Projects/ProjectPage.js +1 -1
  482. package/dist/components/Projects/ProjectPage.mjs +1 -1
  483. package/dist/components/Projects/ProjectView.js +1 -1
  484. package/dist/components/Projects/ProjectView.mjs +1 -1
  485. package/dist/components/Projects/ProjectsIndexView.js +1 -1
  486. package/dist/components/Projects/ProjectsIndexView.mjs +1 -1
  487. package/dist/components/Projects/TaskCard.js +1 -1
  488. package/dist/components/Projects/TaskCard.mjs +1 -1
  489. package/dist/components/Projects/TaskDetailsModal.js +1 -1
  490. package/dist/components/Projects/TaskDetailsModal.mjs +1 -1
  491. package/dist/components/Projects/TaskSelect.js +1 -1
  492. package/dist/components/Projects/TaskSelect.mjs +1 -1
  493. package/dist/components/Projects/TaskSidebar.js +1 -1
  494. package/dist/components/Projects/TaskSidebar.mjs +1 -1
  495. package/dist/components/Projects/TasksView.js +1 -1
  496. package/dist/components/Projects/TasksView.mjs +1 -1
  497. package/dist/components/Projects/TeamSwitcher.js +1 -1
  498. package/dist/components/Projects/TeamSwitcher.mjs +1 -1
  499. package/dist/components/Projects/business-unit-switcher.js +1 -1
  500. package/dist/components/Projects/business-unit-switcher.mjs +1 -1
  501. package/dist/components/Projects/file-list.js +1 -1
  502. package/dist/components/Projects/file-list.mjs +1 -1
  503. package/dist/components/Projects/index.css +1 -0
  504. package/dist/components/Projects/index.d.ts +1 -0
  505. package/dist/components/Projects/index.js +4 -0
  506. package/dist/components/Projects/index.mjs +1 -0
  507. package/dist/components/Projects/project-card.js +1 -1
  508. package/dist/components/Projects/project-card.mjs +1 -1
  509. package/dist/components/Projects/project-form.js +1 -1
  510. package/dist/components/Projects/project-form.mjs +1 -1
  511. package/dist/components/Projects/team-card.js +1 -1
  512. package/dist/components/Projects/team-card.mjs +1 -1
  513. package/dist/components/Projects/team-switcher-bar.js +1 -1
  514. package/dist/components/Projects/team-switcher-bar.mjs +1 -1
  515. package/dist/components/Projects/test-data.js +1 -1
  516. package/dist/components/Projects/test-data.mjs +1 -1
  517. package/dist/components/dc-temp/creative.js +1 -1
  518. package/dist/components/dc-temp/creative.mjs +1 -1
  519. package/dist/components/dc-temp/dashboard-integration-example.js +1 -1
  520. package/dist/components/dc-temp/dashboard-integration-example.mjs +1 -1
  521. package/dist/components/dc-temp/index.js +1 -1
  522. package/dist/components/dc-temp/index.mjs +1 -1
  523. package/dist/components/dc-temp/markdown-renderer.js +1 -1
  524. package/dist/components/dc-temp/markdown-renderer.mjs +1 -1
  525. package/dist/components/dc-temp/mock-data.js +1 -1
  526. package/dist/components/dc-temp/mock-data.mjs +1 -1
  527. package/dist/components/dc-temp/utils.js +1 -1
  528. package/dist/components/dc-temp/utils.mjs +1 -1
  529. package/dist/components/index.d.ts +1 -0
  530. package/dist/components/index.js +13 -13
  531. package/dist/components/index.mjs +1 -1
  532. package/dist/components/ui/alert.js +1 -1
  533. package/dist/components/ui/alert.mjs +1 -1
  534. package/dist/components/ui/avatar.js +1 -1
  535. package/dist/components/ui/avatar.mjs +1 -1
  536. package/dist/components/ui/badge.js +1 -1
  537. package/dist/components/ui/badge.mjs +1 -1
  538. package/dist/components/ui/breadcrumb.js +1 -1
  539. package/dist/components/ui/breadcrumb.mjs +1 -1
  540. package/dist/components/ui/button.js +1 -1
  541. package/dist/components/ui/button.mjs +1 -1
  542. package/dist/components/ui/calendar.js +1 -1
  543. package/dist/components/ui/calendar.mjs +1 -1
  544. package/dist/components/ui/card.js +1 -1
  545. package/dist/components/ui/card.mjs +1 -1
  546. package/dist/components/ui/checkbox.js +1 -1
  547. package/dist/components/ui/checkbox.mjs +1 -1
  548. package/dist/components/ui/command.js +1 -1
  549. package/dist/components/ui/command.mjs +1 -1
  550. package/dist/components/ui/dialog.js +1 -1
  551. package/dist/components/ui/dialog.mjs +1 -1
  552. package/dist/components/ui/dropdown-menu.js +1 -1
  553. package/dist/components/ui/dropdown-menu.mjs +1 -1
  554. package/dist/components/ui/hover-card.js +1 -1
  555. package/dist/components/ui/hover-card.mjs +1 -1
  556. package/dist/components/ui/index.js +1 -1
  557. package/dist/components/ui/index.mjs +1 -1
  558. package/dist/components/ui/input.js +1 -1
  559. package/dist/components/ui/input.mjs +1 -1
  560. package/dist/components/ui/inputs/common/styles/index.js +1 -1
  561. package/dist/components/ui/inputs/common/styles/index.mjs +1 -1
  562. package/dist/components/ui/inputs/text-input/index.js +1 -1
  563. package/dist/components/ui/inputs/text-input/index.mjs +1 -1
  564. package/dist/components/ui/inputs/textarea-input/index.js +1 -1
  565. package/dist/components/ui/inputs/textarea-input/index.mjs +1 -1
  566. package/dist/components/ui/label.js +1 -1
  567. package/dist/components/ui/label.mjs +1 -1
  568. package/dist/components/ui/pagination.js +1 -1
  569. package/dist/components/ui/pagination.mjs +1 -1
  570. package/dist/components/ui/popover.js +1 -1
  571. package/dist/components/ui/popover.mjs +1 -1
  572. package/dist/components/ui/progress.js +1 -1
  573. package/dist/components/ui/progress.mjs +1 -1
  574. package/dist/components/ui/scroll-area.js +1 -1
  575. package/dist/components/ui/scroll-area.mjs +1 -1
  576. package/dist/components/ui/select.js +1 -1
  577. package/dist/components/ui/select.mjs +1 -1
  578. package/dist/components/ui/separator.js +1 -1
  579. package/dist/components/ui/separator.mjs +1 -1
  580. package/dist/components/ui/sheet.js +1 -1
  581. package/dist/components/ui/sheet.mjs +1 -1
  582. package/dist/components/ui/sidebar.js +1 -1
  583. package/dist/components/ui/sidebar.mjs +1 -1
  584. package/dist/components/ui/skeleton.js +1 -1
  585. package/dist/components/ui/skeleton.mjs +1 -1
  586. package/dist/components/ui/switch.js +1 -1
  587. package/dist/components/ui/switch.mjs +1 -1
  588. package/dist/components/ui/tabs.js +1 -1
  589. package/dist/components/ui/tabs.mjs +1 -1
  590. package/dist/components/ui/textarea.js +1 -1
  591. package/dist/components/ui/textarea.mjs +1 -1
  592. package/dist/components/ui/toast.js +1 -1
  593. package/dist/components/ui/toast.mjs +1 -1
  594. package/dist/components/ui/toaster.js +1 -1
  595. package/dist/components/ui/toaster.mjs +1 -1
  596. package/dist/components/ui/toggle-group.js +1 -1
  597. package/dist/components/ui/toggle-group.mjs +1 -1
  598. package/dist/components/ui/toggle.js +1 -1
  599. package/dist/components/ui/toggle.mjs +1 -1
  600. package/dist/components/ui/tooltip.js +1 -1
  601. package/dist/components/ui/tooltip.mjs +1 -1
  602. package/dist/globals.css +1 -1
  603. package/dist/index.js +18 -18
  604. package/dist/index.mjs +1 -1
  605. package/dist/metafile-cjs.json +1 -1
  606. package/dist/metafile-esm.json +1 -1
  607. package/dist/pages/Blog.js +1 -1
  608. package/dist/pages/Blog.mjs +1 -1
  609. package/dist/pages/Documentation.js +1 -1
  610. package/dist/pages/Documentation.mjs +1 -1
  611. package/dist/pages/IndexPage.js +1 -1
  612. package/dist/pages/IndexPage.mjs +1 -1
  613. package/dist/pages/Intranet.js +1 -1
  614. package/dist/pages/Intranet.mjs +1 -1
  615. package/dist/pages/LandingPage.js +3 -3
  616. package/dist/pages/LandingPage.mjs +1 -1
  617. package/dist/pages/Page.js +1 -1
  618. package/dist/pages/Page.mjs +1 -1
  619. package/dist/pages/Publish.js +4 -4
  620. package/dist/pages/Publish.mjs +1 -1
  621. package/dist/pages/Website.js +1 -1
  622. package/dist/pages/Website.mjs +1 -1
  623. package/dist/sections/AboutSection.js +1 -1
  624. package/dist/sections/AboutSection.mjs +1 -1
  625. package/dist/sections/BlogDetail.js +1 -1
  626. package/dist/sections/BlogDetail.mjs +1 -1
  627. package/dist/sections/BlogList.js +3 -3
  628. package/dist/sections/BlogList.mjs +1 -1
  629. package/dist/sections/BlogListSection.js +1 -1
  630. package/dist/sections/BlogListSection.mjs +1 -1
  631. package/dist/sections/ContactSection.js +1 -1
  632. package/dist/sections/ContactSection.mjs +1 -1
  633. package/dist/sections/ImageSection.js +1 -1
  634. package/dist/sections/ImageSection.mjs +1 -1
  635. package/dist/sections/MainPageSection.js +1 -1
  636. package/dist/sections/MainPageSection.mjs +1 -1
  637. package/dist/sections/PageSections.js +3 -3
  638. package/dist/sections/PageSections.mjs +1 -1
  639. package/dist/sections/PricingSection.js +1 -1
  640. package/dist/sections/PricingSection.mjs +1 -1
  641. package/dist/sections/ServiceDetail.js +1 -1
  642. package/dist/sections/ServiceDetail.mjs +1 -1
  643. package/dist/sections/ServiceDetailSection.js +1 -1
  644. package/dist/sections/ServiceDetailSection.mjs +1 -1
  645. package/dist/sections/ServiceSection.js +1 -1
  646. package/dist/sections/ServiceSection.mjs +1 -1
  647. package/dist/sections/form/index.js +1 -1
  648. package/dist/sections/form/index.mjs +1 -1
  649. package/dist/sections/index.js +3 -3
  650. package/dist/sections/index.mjs +1 -1
  651. package/dist/styles/Colors.js +1 -1
  652. package/dist/styles/Colors.mjs +1 -1
  653. package/dist/utils/AOSInit.js +2 -2
  654. package/dist/utils/AOSInit.mjs +1 -1
  655. package/dist/utils/cn.js +1 -1
  656. package/dist/utils/cn.mjs +1 -1
  657. package/dist/utils/index.js +2 -2
  658. package/dist/utils/index.mjs +1 -1
  659. package/package.json +1 -1
  660. package/dist/chunk-MDJREBVI.mjs +0 -1
  661. package/dist/chunk-O46BOA4T.mjs +0 -1
  662. package/dist/chunk-PA4ZBJDO.mjs +0 -1
  663. package/dist/chunk-XGRRLABA.mjs +0 -8
  664. package/dist/chunk-ZFUP5NVF.mjs +0 -4
  665. package/dist/chunk-ZWHGOTSF.mjs +0 -1
@@ -1 +1 @@
1
- import{a as n}from"./chunk-LVK4QE5D.mjs";import{jsx as p,jsxs as r}from"react/jsx-runtime";function o({className:t,...e}){return p("input",{...e,className:n({className:t})})}function a({icon:t,...e}){return r("div",{className:"relative w-full",children:[p(o,{...e}),t&&p("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-y-1/2 text-accent",children:t})]})}export{a};
1
+ import{a as n}from"./chunk-S7N4CSMJ.mjs";import{jsx as p,jsxs as r}from"react/jsx-runtime";function o({className:t,...e}){return p("input",{...e,className:n({className:t})})}function a({icon:t,...e}){return r("div",{className:"relative w-full",children:[p(o,{...e}),t&&p("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-y-1/2 text-accent",children:t})]})}export{a};
@@ -1 +1 @@
1
- import{a as r}from"./chunk-MDJREBVI.mjs";import{cva as a}from"class-variance-authority";import{jsx as s}from"react/jsx-runtime";var n=a("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function c({className:e,variant:t,...o}){return s("div",{className:r(n({variant:t}),e),...o})}export{n as a,c as b};
1
+ import{a as r}from"./chunk-TSEOL53Y.mjs";import{cva as a}from"class-variance-authority";import{jsx as s}from"react/jsx-runtime";var n=a("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function c({className:e,variant:t,...o}){return s("div",{className:r(n({variant:t}),e),...o})}export{n as a,c as b};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as h}from"./chunk-WISC5QJV.mjs";import{useState as m,useEffect as v}from"react";import{Dialog as w,DialogPanel as k,Disclosure as D,DisclosureButton as y,DisclosurePanel as P,PopoverGroup as M}from"@headlessui/react";import{Bars3Icon as I,XMarkIcon as $}from"@heroicons/react/24/outline";import{SunIcon as N,MoonIcon as C}from"@heroicons/react/20/solid";import{jsx as e,jsxs as s}from"react/jsx-runtime";var c=["light","dark","green"];function A({title:l,logo:t,menuItems:d}){let[n,o]=m(!1),[S,T]=m(!1),[u,g]=m("light"),r=t?.split(".")[0],i=t?.split(".")[1],[b,p]=m(`${r}.${i}`),f=a=>{c.includes(a)?p(a==="light"?`${r}.${i}`:`${r}-${a}.${i}`):p(`${r}.${i}`)};v(()=>{let a=localStorage.getItem("theme")||"light";g(a),document.documentElement.setAttribute("class",a),f(a)},[]);let x=()=>{let a=c[(c.indexOf(u)+1)%c.length];g(a),document.documentElement.setAttribute("class",a),localStorage.setItem("theme",a),f(a)};return s("header",{className:"relative isolate z-10 bg-background h-14",children:[s("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between p-3 lg:px-8",children:[e("div",{className:"flex lg:flex-1",children:s("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[e("span",{className:"sr-only",children:l}),e("img",{alt:l,src:b,className:"h-9 w-auto"})]})}),e("div",{className:"flex lg:hidden",children:s("button",{type:"button",onClick:()=>o(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700 outline-none",children:[e("span",{className:"sr-only",children:"Open main menu"}),e(I,{"aria-hidden":"true",className:"h-6 w-6"})]})}),e(M,{className:"hidden lg:flex lg:gap-x-12",children:d.map(a=>e(h,{...a},a.name))}),e("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:e("button",{onClick:x,className:"p-2 text-gray-700 outline-none",children:u==="dark"?e(N,{className:"h-6 w-6"}):u==="green"?e(C,{className:"h-6 w-6"}):e(N,{className:"h-6 w-6"})})})]}),s(w,{open:n,onClose:o,className:"lg:hidden",children:[e("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),s(k,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[s("div",{className:"flex items-center justify-between",children:[s("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[e("span",{className:"sr-only",children:"Your Company"}),e("img",{alt:l,src:t,className:"h-8 w-auto"})]}),s("button",{type:"button",onClick:()=>o(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 outline-none",children:[e("span",{className:"sr-only",children:"Close menu"}),e($,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),e("div",{className:"mt-6 flow-root",children:e("div",{className:"-my-6 divide-y divide-gray-500/10",children:e("div",{className:"space-y-2 py-6",children:d.map(a=>e(H,{...a},a.name))})})})]})]})]})}function H({name:l,items:t,actions:d,href:n}){return!t&&n?e("a",{href:n,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:l}):s(D,{as:"div",className:"-mx-3",children:[e(y,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold text-gray-900 hover:bg-gray-50",children:l}),e(P,{className:"mt-2 space-y-2",children:t&&t.map(o=>e(y,{as:"a",href:o.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:o.name},o.name))})]})}export{A as a};
4
+ import{a as h}from"./chunk-UY4BSKPK.mjs";import{useState as m,useEffect as v}from"react";import{Dialog as w,DialogPanel as k,Disclosure as D,DisclosureButton as y,DisclosurePanel as P,PopoverGroup as M}from"@headlessui/react";import{Bars3Icon as I,XMarkIcon as $}from"@heroicons/react/24/outline";import{SunIcon as N,MoonIcon as C}from"@heroicons/react/20/solid";import{jsx as e,jsxs as s}from"react/jsx-runtime";var c=["light","dark","green"];function A({title:l,logo:t,menuItems:d}){let[n,o]=m(!1),[S,T]=m(!1),[u,g]=m("light"),r=t?.split(".")[0],i=t?.split(".")[1],[b,p]=m(`${r}.${i}`),f=a=>{c.includes(a)?p(a==="light"?`${r}.${i}`:`${r}-${a}.${i}`):p(`${r}.${i}`)};v(()=>{let a=localStorage.getItem("theme")||"light";g(a),document.documentElement.setAttribute("class",a),f(a)},[]);let x=()=>{let a=c[(c.indexOf(u)+1)%c.length];g(a),document.documentElement.setAttribute("class",a),localStorage.setItem("theme",a),f(a)};return s("header",{className:"relative isolate z-10 bg-background h-14",children:[s("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between p-3 lg:px-8",children:[e("div",{className:"flex lg:flex-1",children:s("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[e("span",{className:"sr-only",children:l}),e("img",{alt:l,src:b,className:"h-9 w-auto"})]})}),e("div",{className:"flex lg:hidden",children:s("button",{type:"button",onClick:()=>o(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700 outline-none",children:[e("span",{className:"sr-only",children:"Open main menu"}),e(I,{"aria-hidden":"true",className:"h-6 w-6"})]})}),e(M,{className:"hidden lg:flex lg:gap-x-12",children:d.map(a=>e(h,{...a},a.name))}),e("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:e("button",{onClick:x,className:"p-2 text-gray-700 outline-none",children:u==="dark"?e(N,{className:"h-6 w-6"}):u==="green"?e(C,{className:"h-6 w-6"}):e(N,{className:"h-6 w-6"})})})]}),s(w,{open:n,onClose:o,className:"lg:hidden",children:[e("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),s(k,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[s("div",{className:"flex items-center justify-between",children:[s("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[e("span",{className:"sr-only",children:"Your Company"}),e("img",{alt:l,src:t,className:"h-8 w-auto"})]}),s("button",{type:"button",onClick:()=>o(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 outline-none",children:[e("span",{className:"sr-only",children:"Close menu"}),e($,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),e("div",{className:"mt-6 flow-root",children:e("div",{className:"-my-6 divide-y divide-gray-500/10",children:e("div",{className:"space-y-2 py-6",children:d.map(a=>e(H,{...a},a.name))})})})]})]})]})}function H({name:l,items:t,actions:d,href:n}){return!t&&n?e("a",{href:n,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:l}):s(D,{as:"div",className:"-mx-3",children:[e(y,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold text-gray-900 hover:bg-gray-50",children:l}),e(P,{className:"mt-2 space-y-2",children:t&&t.map(o=>e(y,{as:"a",href:o.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:o.name},o.name))})]})}export{A as a};
@@ -0,0 +1 @@
1
+ import{a as V}from"./chunk-SIL7AP7H.mjs";import{a as _}from"./chunk-6OCLRAHU.mjs";import{a as J}from"./chunk-6PQ67CC6.mjs";import{a as W}from"./chunk-NMAMUYGQ.mjs";import{a as K}from"./chunk-OHDNPAPI.mjs";import{d as D}from"./chunk-Q2DPE66H.mjs";import{a as U}from"./chunk-JVJG2LOA.mjs";import{a as O}from"./chunk-GJUA2KUH.mjs";import{b as d}from"./chunk-7Z3TOFNL.mjs";import{a as N,c as h}from"./chunk-RFNYVF6F.mjs";import{b as $}from"./chunk-2JKLBLDE.mjs";import{a as f,b as x,c as y,e as v}from"./chunk-7WKUKFCT.mjs";import{a as p}from"./chunk-TSEOL53Y.mjs";import{useRef as A,useEffect as q,useState as G}from"react";import*as u from"motion/react-client";import{Send as me,Bot as E,User as ce,Menu as ue,Paperclip as pe,X as fe,FileText as ve,Image as ge,File as Ne,Download as he,ExternalLink as xe}from"lucide-react";import{jsx as e,jsxs as s}from"react/jsx-runtime";function Ue({messages:M,input:B,isTyping:b=!1,currentSessionTitle:ye,capabilities:F,fileUploads:C,isDragOver:Q,enableFileUpload:P,onInputChange:X,addToolResult:j,onSendMessage:Y,onKeyPress:Z,onFileUpload:S,onRemoveFile:ee,onDragOver:w,className:te}){let k=A(null),ae=A(null),R=A(null),[c,g]=G(!1),[L,be]=G({path:[],selectedItems:[],filters:{}});q(()=>{k.current?.scrollIntoView({behavior:"smooth"})},[M]),q(()=>{c&&setTimeout(()=>{k.current?.scrollIntoView({behavior:"smooth"})},100)},[c]);let z=()=>D(L),se=()=>{let t=[];return F.forEach(r=>{r.actions&&r.actions.forEach(l=>{t.push({label:l.label,action:()=>T(l.id,{path:[r],selectedItems:[],filters:{}})})}),r.children&&r.children.forEach(l=>{l.type==="list"&&l.data&&t.push({label:`View ${l.name}`,action:()=>g(!0)})})}),t.slice(0,5)},T=(t,r)=>{console.log("Capability action:",t,r);let l=`Executing ${t} with context: ${JSON.stringify(r.path.map(i=>i.name))}`;g(!1)},Ce=D({path:[],selectedItems:[],filters:{}}),ie=t=>{S(t.target.files),t.target.files&&(t.target.value="")},re=t=>{t.preventDefault(),w(!0)},le=t=>{t.preventDefault(),w(!1)},oe=t=>{t.preventDefault(),w(!1),S(t.dataTransfer.files)},ne=t=>{if(t===0)return"0 Bytes";let r=1024,l=["Bytes","KB","MB","GB"],i=Math.floor(Math.log(t)/Math.log(r));return parseFloat((t/Math.pow(r,i)).toFixed(2))+" "+l[i]},H=t=>t.startsWith("image/")?e(ge,{className:"h-4 w-4"}):t.startsWith("text/")?e(ve,{className:"h-4 w-4"}):e(Ne,{className:"h-4 w-4"}),de=t=>{let r=t.role==="assistant",l=t.role==="user";return s("div",{className:p("flex items-start gap-3",l?"flex-row-reverse":""),children:[e(N,{className:"h-8 w-8 shrink-0",children:e(h,{className:p(l?"bg-primary text-primary-foreground":"bg-gradient-to-br from-purple-600 to-blue-600 text-white"),children:l?e(ce,{className:"h-4 w-4"}):e(E,{className:"h-4 w-4"})})}),e("div",{className:p("max-w-[80%] rounded-2xl px-4 py-3 shadow-sm",l?"bg-primary text-primary-foreground":"bg-muted"),children:t.parts.map((i,o)=>{if(i.type==="text")return e(_,{id:t.id,content:i.text},`${t.id}-text`);if(i.type==="file"){let a=i;return e("div",{className:"mb-2 p-2 bg-background/50 rounded-lg",children:s("div",{className:"flex items-center gap-2",children:[H(a.mediaType||"application/octet-stream"),e("div",{className:"flex-1 min-w-0",children:e("p",{className:"text-sm font-medium truncate",children:a.filename||a.url?.split("/").pop()||"File"})}),a.url&&e(d,{variant:"ghost",size:"sm",onClick:()=>window.open(a.url,"_blank"),className:"h-8 w-8 p-0",children:e(he,{className:"h-4 w-4"})})]})},o)}if(i.type.startsWith("tool-")){let a=i,m=i.type.replace("tool-","");if(m==="task")switch(a.state){case"input-available":return e("div",{className:"text-sm opacity-70",children:"Loading task..."},o);case"output-available":return e("div",{className:"mb-2",children:e(K,{data:{id:a.output?.id||a.input?.id,fetchLatest:!1,taskData:a.output||a.input}})},o);case"output-error":return s("div",{className:"text-sm text-red-500",children:["Error: ",a.errorText]},o);default:return null}if(i.type==="tool-requestEndpointLogin")return e("div",{className:"mb-2",children:e(V,{toolPart:a,index:o,addToolResult:j??(()=>{})})},o);if(m==="artefact")switch(a.state){case"input-available":return e("div",{className:"text-sm opacity-70",children:"Loading artefact..."},o);case"output-available":return e("div",{className:"mb-2",children:e(W,{artefact:a.output?.description||"",taskId:a.output?.id||a.input?.id,taskData:a.output||a.input})},o);case"output-error":return s("div",{className:"text-sm text-red-500",children:["Error: ",a.errorText]},o);default:return null}return e("div",{className:"mb-2",children:s(f,{className:"w-full max-w-md",children:[e(x,{children:e(y,{className:"text-lg",children:m})}),s(v,{children:[a.state==="input-available"&&s("p",{className:"text-sm",children:["Processing ",m,"..."]}),a.state==="output-available"&&e("pre",{className:"text-sm",children:JSON.stringify(a.output,null,2)}),a.state==="output-error"&&s("p",{className:"text-sm text-red-500",children:["Error: ",a.errorText]})]})]})},o)}if(i.type.startsWith("data-")){let a=i,m=i.type.replace("data-","");return m==="reference"?e("div",{className:"mb-2",children:e(f,{className:"w-full",children:e(v,{className:"p-4",children:e("div",{className:"space-y-2",children:a.data?.references?.map((n,I)=>s("div",{className:"flex items-center gap-2 p-2 rounded-md bg-muted/50",children:[e($,{variant:"outline",children:n.type||"link"}),s("div",{className:"flex-1 min-w-0",children:[e("p",{className:"text-sm font-medium truncate",children:n.title}),n.description&&e("p",{className:"text-xs text-muted-foreground truncate",children:n.description})]}),n.url&&e(d,{variant:"ghost",size:"sm",onClick:()=>window.open(n.url,"_blank"),className:"h-8 w-8 p-0",children:e(xe,{className:"h-4 w-4"})})]},I))})})})},o):m==="menu"?e("div",{className:"mb-2",children:s(f,{className:"w-full",children:[e(x,{children:e(y,{className:"text-lg",children:a.data?.title})}),e(v,{children:e("div",{className:"space-y-2",children:a.data?.items?.map((n,I)=>e(d,{variant:"outline",className:"w-full justify-start",onClick:n.action,children:s("div",{className:"text-left",children:[e("p",{className:"font-medium",children:n.label}),n.description&&e("p",{className:"text-xs text-muted-foreground",children:n.description})]})},I))})})]})},o):e("div",{className:"mb-2",children:s(f,{className:"w-full max-w-md",children:[e(x,{children:e(y,{className:"text-lg",children:m})}),e(v,{children:e("pre",{className:"text-sm",children:JSON.stringify(a.data,null,2)})})]})},o)}return null})})]})};return s("div",{className:`h-full flex flex-col shadow-sm max-w-4xl mx-auto ${te||""}`,children:[s(U,{ref:ae,className:"flex-1 p-4 bg-background border-0",onDragOver:re,onDragLeave:le,onDrop:oe,children:[s("div",{className:p("space-y-4",Q&&"ring-2 ring-primary ring-offset-2 bg-primary/5"),children:[e(u.animate,{children:M.map(t=>e(u.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},className:p("flex gap-3",t.role==="user"?"flex-row-reverse":"flex-row"),children:de(t)},t.id))}),c&&s(u.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},className:"flex gap-3",children:[e(N,{className:"h-8 w-8",children:e(h,{className:"bg-gradient-to-br from-purple-600 to-blue-600 text-white",children:e(E,{className:"h-4 w-4"})})}),e("div",{className:"flex-1 bg-muted rounded-2xl px-4 py-3 shadow-sm",children:e(J,{capabilities:F,isOpen:c,onToggle:()=>g(!c),onActionSelect:T,className:"w-full"})})]}),b&&s(u.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},className:"flex gap-3",children:[e(N,{className:"h-8 w-8",children:e(h,{className:"bg-gradient-to-br from-purple-600 to-blue-600 text-white",children:e(E,{className:"h-4 w-4"})})}),e("div",{className:"bg-muted rounded-2xl px-4 py-3 shadow-sm",children:s("div",{className:"flex space-x-1",children:[e("div",{className:"w-2 h-2 bg-muted-foreground/50 rounded-full animate-bounce"}),e("div",{className:"w-2 h-2 bg-muted-foreground/50 rounded-full animate-bounce",style:{animationDelay:"0.1s"}}),e("div",{className:"w-2 h-2 bg-muted-foreground/50 rounded-full animate-bounce",style:{animationDelay:"0.2s"}})]})})]})]}),e("div",{ref:k})]}),C.length>0&&e("div",{className:"p-4 border-t bg-muted/10",children:e("div",{className:"flex flex-wrap gap-2",children:C.map(t=>s("div",{className:"flex items-center gap-2 bg-background rounded-lg p-2 border",children:[H(t.file.type),e("span",{className:"text-sm font-medium",children:t.file.name}),e("span",{className:"text-xs text-muted-foreground",children:ne(t.file.size)}),e(d,{variant:"ghost",size:"sm",onClick:()=>ee(t.id),className:"h-6 w-6 p-0",children:e(fe,{className:"h-4 w-4"})})]},t.id))})}),s("div",{className:"border rounded-2xl p-4 bg-muted/20",children:[s("div",{className:"flex gap-3",children:[e(O,{value:B,onChange:t=>X(t.target.value),onKeyPress:Z,placeholder:"How can I help you today?",className:"flex-1 rounded-2xl bg-background shadow-sm",disabled:b}),P&&e(d,{variant:"outline",size:"icon",onClick:()=>R.current?.click(),className:"rounded-2xl h-10 w-10 shadow-sm",children:e(pe,{className:"h-4 w-4"})}),e(d,{onClick:Y,disabled:!B.trim()&&C.length===0||b,size:"icon",className:"rounded-2xl h-10 w-10 shadow-sm",children:e(me,{className:"h-4 w-4"})})]}),s("div",{className:"flex items-center gap-3 mt-3",children:[s(d,{onClick:()=>g(!c),variant:"outline",size:"sm",className:"rounded-full text-xs flex-shrink-0",children:[e(ue,{className:"h-3 w-3 mr-1"}),c?"Hide":"Show"," Capabilities"]}),s("div",{className:"flex flex-wrap gap-2 overflow-hidden",children:[z().map((t,r)=>e(d,{variant:"default",size:"sm",className:"rounded-full text-xs bg-accent hover:bg-accent/80",onClick:()=>T(t.id,L),children:t.label},`context-${t.id}`)),z().length===0&&se().map((t,r)=>e(d,{variant:"outline",size:"sm",className:"rounded-full text-xs",onClick:t.action,children:t.label},`suggestion-${r}`))]})]}),P&&e("input",{ref:R,type:"file",multiple:!0,onChange:ie,className:"hidden"})]})]})}export{Ue as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as r}from"./chunk-FT3AE7L2.mjs";import{b as a}from"./chunk-ZUA4KNIR.mjs";import{b as c}from"./chunk-CSBGSBEU.mjs";import{a as o}from"./chunk-MDJREBVI.mjs";import{motion as m,AnimatePresence as b}from"motion/react";import{Check as d,Info as w,X as y,AlertTriangle as f,Bell as u,ChevronRight as k}from"lucide-react";import{Fragment as C,jsx as e,jsxs as t}from"react/jsx-runtime";function R({notifications:p,open:N,onClose:l,onNotificationRemove:x,onRemoveAll:v,className:g}){let n=p.filter(s=>!s.read),i=n.length,h=s=>{switch(s){case"info":return e(w,{className:"h-5 w-5 text-blue-500"});case"success":return e(d,{className:"h-5 w-5 text-green-500"});case"warning":return e(f,{className:"h-5 w-5 text-amber-500"});case"error":return e(f,{className:"h-5 w-5 text-red-500"})}};return e(b,{children:N&&t(C,{children:[e(m.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-40 bg-black/20 backdrop-blur-sm md:hidden",onClick:l}),e(m.div,{initial:{x:"100%"},animate:{x:0},exit:{x:"100%"},transition:{type:"spring",damping:20,stiffness:300},className:o("fixed inset-y-0 right-0 z-50 w-full max-w-sm border-l bg-background shadow-lg md:w-96",g),children:t("div",{className:"flex h-full flex-col",children:[t("div",{className:"flex items-center justify-between border-b p-4",children:[t("div",{className:"flex items-center gap-2",children:[e(u,{className:"h-5 w-5"}),e("h2",{className:"text-lg font-semibold",children:"Notifications"}),i>0&&t(c,{variant:"secondary",className:"rounded-full px-2 py-0.5",children:[i," new"]})]}),t(a,{variant:"ghost",size:"icon",onClick:l,className:"rounded-full",children:[e(y,{className:"h-5 w-5"}),e("span",{className:"sr-only",children:"Close"})]})]}),i>0&&t("div",{className:"flex items-center justify-between border-b p-2",children:[t("span",{className:"text-sm text-muted-foreground",children:[i," unread notification",i!==1?"s":""]}),e(a,{variant:"ghost",size:"sm",onClick:v,className:"text-sm",children:"Dismiss all"})]}),n.length>0?e(r,{className:"flex-1",children:e("div",{className:"divide-y",children:n.map(s=>t("div",{className:o("flex gap-3 p-4 transition-colors bg-muted/50"),children:[e("div",{className:"flex h-10 w-10 flex-shrink-0 items-center justify-center rounded-full bg-muted",children:h(s.type)}),t("div",{className:"flex-1 space-y-1",children:[t("div",{className:"flex items-center justify-between",children:[e("p",{className:"font-medium",children:s.title}),t("div",{className:"flex items-center gap-2",children:[e("p",{className:"text-xs text-muted-foreground",children:s.time}),e(a,{variant:"ghost",size:"sm",className:"h-6 w-6 p-0",onClick:()=>x?.(s.id),title:"Dismiss",children:e(d,{className:"h-3 w-3"})})]})]}),e("p",{className:"text-sm text-muted-foreground",children:s.description}),s.actionLabel&&t(a,{variant:"link",size:"sm",className:"h-auto p-0 text-sm",onClick:s.onAction,children:[s.actionLabel,e(k,{className:"ml-1 h-3 w-3"})]})]})]},s.id))})}):t("div",{className:"flex flex-1 flex-col items-center justify-center p-8 text-center",children:[e("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-muted",children:e(u,{className:"h-8 w-8 text-muted-foreground"})}),e("h3",{className:"mt-4 text-lg font-medium",children:"No notifications"}),e("p",{className:"mt-2 text-sm text-muted-foreground",children:"When you receive notifications, they'll appear here."})]})]})})]})})}export{R as a};
4
+ import{a as r}from"./chunk-JVJG2LOA.mjs";import{b as a}from"./chunk-7Z3TOFNL.mjs";import{b as c}from"./chunk-2JKLBLDE.mjs";import{a as o}from"./chunk-TSEOL53Y.mjs";import{motion as m,AnimatePresence as b}from"motion/react";import{Check as d,Info as w,X as y,AlertTriangle as f,Bell as u,ChevronRight as k}from"lucide-react";import{Fragment as C,jsx as e,jsxs as t}from"react/jsx-runtime";function R({notifications:p,open:N,onClose:l,onNotificationRemove:x,onRemoveAll:v,className:g}){let n=p.filter(s=>!s.read),i=n.length,h=s=>{switch(s){case"info":return e(w,{className:"h-5 w-5 text-blue-500"});case"success":return e(d,{className:"h-5 w-5 text-green-500"});case"warning":return e(f,{className:"h-5 w-5 text-amber-500"});case"error":return e(f,{className:"h-5 w-5 text-red-500"})}};return e(b,{children:N&&t(C,{children:[e(m.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-40 bg-black/20 backdrop-blur-sm md:hidden",onClick:l}),e(m.div,{initial:{x:"100%"},animate:{x:0},exit:{x:"100%"},transition:{type:"spring",damping:20,stiffness:300},className:o("fixed inset-y-0 right-0 z-50 w-full max-w-sm border-l bg-background shadow-lg md:w-96",g),children:t("div",{className:"flex h-full flex-col",children:[t("div",{className:"flex items-center justify-between border-b p-4",children:[t("div",{className:"flex items-center gap-2",children:[e(u,{className:"h-5 w-5"}),e("h2",{className:"text-lg font-semibold",children:"Notifications"}),i>0&&t(c,{variant:"secondary",className:"rounded-full px-2 py-0.5",children:[i," new"]})]}),t(a,{variant:"ghost",size:"icon",onClick:l,className:"rounded-full",children:[e(y,{className:"h-5 w-5"}),e("span",{className:"sr-only",children:"Close"})]})]}),i>0&&t("div",{className:"flex items-center justify-between border-b p-2",children:[t("span",{className:"text-sm text-muted-foreground",children:[i," unread notification",i!==1?"s":""]}),e(a,{variant:"ghost",size:"sm",onClick:v,className:"text-sm",children:"Dismiss all"})]}),n.length>0?e(r,{className:"flex-1",children:e("div",{className:"divide-y",children:n.map(s=>t("div",{className:o("flex gap-3 p-4 transition-colors bg-muted/50"),children:[e("div",{className:"flex h-10 w-10 flex-shrink-0 items-center justify-center rounded-full bg-muted",children:h(s.type)}),t("div",{className:"flex-1 space-y-1",children:[t("div",{className:"flex items-center justify-between",children:[e("p",{className:"font-medium",children:s.title}),t("div",{className:"flex items-center gap-2",children:[e("p",{className:"text-xs text-muted-foreground",children:s.time}),e(a,{variant:"ghost",size:"sm",className:"h-6 w-6 p-0",onClick:()=>x?.(s.id),title:"Dismiss",children:e(d,{className:"h-3 w-3"})})]})]}),e("p",{className:"text-sm text-muted-foreground",children:s.description}),s.actionLabel&&t(a,{variant:"link",size:"sm",className:"h-auto p-0 text-sm",onClick:s.onAction,children:[s.actionLabel,e(k,{className:"ml-1 h-3 w-3"})]})]})]},s.id))})}):t("div",{className:"flex flex-1 flex-col items-center justify-center p-8 text-center",children:[e("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-muted",children:e(u,{className:"h-8 w-8 text-muted-foreground"})}),e("h3",{className:"mt-4 text-lg font-medium",children:"No notifications"}),e("p",{className:"mt-2 text-sm text-muted-foreground",children:"When you receive notifications, they'll appear here."})]})]})})]})})}export{R as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as t}from"./chunk-MDJREBVI.mjs";import*as o from"react";import*as e from"@radix-ui/react-hover-card";import{jsx as m}from"react/jsx-runtime";var p=e.Root,v=e.Trigger,s=o.forwardRef(({className:a,align:r="center",sideOffset:i=4,...d},n)=>m(e.Content,{ref:n,align:r,sideOffset:i,className:t("z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...d}));s.displayName=e.Content.displayName;export{p as a,v as b,s as c};
4
+ import{a as t}from"./chunk-TSEOL53Y.mjs";import*as o from"react";import*as e from"@radix-ui/react-hover-card";import{jsx as m}from"react/jsx-runtime";var p=e.Root,v=e.Trigger,s=o.forwardRef(({className:a,align:r="center",sideOffset:i=4,...d},n)=>m(e.Content,{ref:n,align:r,sideOffset:i,className:t("z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...d}));s.displayName=e.Content.displayName;export{p as a,v as b,s as c};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{b as t}from"./chunk-ZUA4KNIR.mjs";import{a as i,b as s,c as l,e as o}from"./chunk-YO3GQYRJ.mjs";import{Bot as u,ChevronLeft as g,Copy as d,Plus as v,Sparkles as m}from"lucide-react";import{motion as r,AnimatePresence as f}from"motion/react";import{jsx as e,jsxs as a}from"react/jsx-runtime";function w({onCloneExisting:n,onCreateNew:c,onCancel:p}){return e("div",{className:"px-2 md:px-4 py-4 space-y-6",children:e(f,{mode:"wait",children:a(r.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:[a("div",{className:"flex items-center gap-4 mb-6",children:[a(t,{variant:"ghost",onClick:p,className:"gap-2",children:[e(g,{className:"h-4 w-4"}),"Back"]}),a("div",{children:[e("h1",{className:"text-3xl font-bold",children:"Add Digital Colleague"}),e("p",{className:"text-muted-foreground",children:"Choose how to create your digital colleague"})]})]}),a("div",{className:"grid gap-6 md:grid-cols-2 max-w-4xl mx-auto",children:[e(r.div,{whileHover:{scale:1.02},whileTap:{scale:.98},transition:{type:"spring",stiffness:300,damping:20},children:a(i,{className:"cursor-pointer transition-all hover:shadow-lg border-2 hover:border-primary/50",onClick:n,children:[a(s,{className:"text-center pb-4",children:[e("div",{className:"mx-auto w-16 h-16 bg-blue-100 rounded-full flex items-center justify-center mb-4",children:e(d,{className:"h-8 w-8 text-blue-600"})}),e(l,{className:"text-xl",children:"Clone Existing"})]}),a(o,{className:"text-center",children:[e("p",{className:"text-muted-foreground mb-4",children:"Start with an existing digital colleague and customize it for your needs."}),a("div",{className:"space-y-2 text-sm",children:[a("div",{className:"flex items-center gap-2 justify-center",children:[e(u,{className:"h-4 w-4 text-blue-600"}),e("span",{children:"Pre-configured capabilities"})]}),a("div",{className:"flex items-center gap-2 justify-center",children:[e(d,{className:"h-4 w-4 text-blue-600"}),e("span",{children:"Inherit knowledge base"})]})]}),e(t,{className:"mt-6 w-full",onClick:n,children:"Browse & Clone"})]})]})}),e(r.div,{whileHover:{scale:1.02},whileTap:{scale:.98},transition:{type:"spring",stiffness:300,damping:20},children:a(i,{className:"cursor-pointer transition-all hover:shadow-lg border-2 hover:border-primary/50",onClick:c,children:[a(s,{className:"text-center pb-4",children:[e("div",{className:"mx-auto w-16 h-16 bg-green-100 rounded-full flex items-center justify-center mb-4",children:e(m,{className:"h-8 w-8 text-green-600"})}),e(l,{className:"text-xl",children:"Create New"})]}),a(o,{className:"text-center",children:[e("p",{className:"text-muted-foreground mb-4",children:"Build a completely new digital colleague from scratch with custom specifications."}),a("div",{className:"space-y-2 text-sm",children:[a("div",{className:"flex items-center gap-2 justify-center",children:[e(v,{className:"h-4 w-4 text-green-600"}),e("span",{children:"Custom job description"})]}),a("div",{className:"flex items-center gap-2 justify-center",children:[e(m,{className:"h-4 w-4 text-green-600"}),e("span",{children:"Define unique capabilities"})]})]}),e(t,{className:"mt-6 w-full",onClick:c,children:"Create from Scratch"})]})]})})]})]},"digital-colleague-options")})})}export{w as a};
4
+ import{b as t}from"./chunk-7Z3TOFNL.mjs";import{a as i,b as s,c as l,e as o}from"./chunk-7WKUKFCT.mjs";import{Bot as u,ChevronLeft as g,Copy as d,Plus as v,Sparkles as m}from"lucide-react";import{motion as r,AnimatePresence as f}from"motion/react";import{jsx as e,jsxs as a}from"react/jsx-runtime";function w({onCloneExisting:n,onCreateNew:c,onCancel:p}){return e("div",{className:"px-2 md:px-4 py-4 space-y-6",children:e(f,{mode:"wait",children:a(r.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:[a("div",{className:"flex items-center gap-4 mb-6",children:[a(t,{variant:"ghost",onClick:p,className:"gap-2",children:[e(g,{className:"h-4 w-4"}),"Back"]}),a("div",{children:[e("h1",{className:"text-3xl font-bold",children:"Add Digital Colleague"}),e("p",{className:"text-muted-foreground",children:"Choose how to create your digital colleague"})]})]}),a("div",{className:"grid gap-6 md:grid-cols-2 max-w-4xl mx-auto",children:[e(r.div,{whileHover:{scale:1.02},whileTap:{scale:.98},transition:{type:"spring",stiffness:300,damping:20},children:a(i,{className:"cursor-pointer transition-all hover:shadow-lg border-2 hover:border-primary/50",onClick:n,children:[a(s,{className:"text-center pb-4",children:[e("div",{className:"mx-auto w-16 h-16 bg-blue-100 rounded-full flex items-center justify-center mb-4",children:e(d,{className:"h-8 w-8 text-blue-600"})}),e(l,{className:"text-xl",children:"Clone Existing"})]}),a(o,{className:"text-center",children:[e("p",{className:"text-muted-foreground mb-4",children:"Start with an existing digital colleague and customize it for your needs."}),a("div",{className:"space-y-2 text-sm",children:[a("div",{className:"flex items-center gap-2 justify-center",children:[e(u,{className:"h-4 w-4 text-blue-600"}),e("span",{children:"Pre-configured capabilities"})]}),a("div",{className:"flex items-center gap-2 justify-center",children:[e(d,{className:"h-4 w-4 text-blue-600"}),e("span",{children:"Inherit knowledge base"})]})]}),e(t,{className:"mt-6 w-full",onClick:n,children:"Browse & Clone"})]})]})}),e(r.div,{whileHover:{scale:1.02},whileTap:{scale:.98},transition:{type:"spring",stiffness:300,damping:20},children:a(i,{className:"cursor-pointer transition-all hover:shadow-lg border-2 hover:border-primary/50",onClick:c,children:[a(s,{className:"text-center pb-4",children:[e("div",{className:"mx-auto w-16 h-16 bg-green-100 rounded-full flex items-center justify-center mb-4",children:e(m,{className:"h-8 w-8 text-green-600"})}),e(l,{className:"text-xl",children:"Create New"})]}),a(o,{className:"text-center",children:[e("p",{className:"text-muted-foreground mb-4",children:"Build a completely new digital colleague from scratch with custom specifications."}),a("div",{className:"space-y-2 text-sm",children:[a("div",{className:"flex items-center gap-2 justify-center",children:[e(v,{className:"h-4 w-4 text-green-600"}),e("span",{children:"Custom job description"})]}),a("div",{className:"flex items-center gap-2 justify-center",children:[e(m,{className:"h-4 w-4 text-green-600"}),e("span",{children:"Define unique capabilities"})]})]}),e(t,{className:"mt-6 w-full",onClick:c,children:"Create from Scratch"})]})]})})]})]},"digital-colleague-options")})})}export{w as a};
@@ -1 +1 @@
1
- import{a as f,d as b,g as v,i as m}from"./chunk-YFAZQYK4.mjs";import{a as g}from"./chunk-TVZOULLL.mjs";import{a as u}from"./chunk-L5JPAKPM.mjs";import{b as h}from"./chunk-CSBGSBEU.mjs";import{useState as C}from"react";import{jsx as a,jsxs as n}from"react/jsx-runtime";var A=({label:O,value:o,onValueChange:d,options:c,placeholder:y="Search...",allowCustomValue:s=!1,disabled:l=!1})=>{let[p,r]=C(!1),[t,i]=C(""),N=c.find(e=>e.value===o),S=c.filter(e=>e.label.toLowerCase().includes(t.toLowerCase())),I=e=>{d(e),r(!1),i("")},L=()=>{s&&t.trim()&&!c.find(e=>e.value===t.trim())&&(d(t.trim()),r(!1),i(""))};return n("div",{className:"space-y-1",children:[a(g,{className:"text-xs text-muted-foreground",children:O}),n(f,{value:o,onValueChange:I,open:p,onOpenChange:e=>{l||r(e)},disabled:l,children:[a(b,{className:"h-auto p-0 border-none bg-transparent hover:bg-muted/50 rounded-md",children:a(h,{variant:"secondary",className:`${l?"cursor-not-allowed opacity-50":"cursor-pointer"} hover:bg-muted transition-colors`,onClick:()=>!l&&r(!p),children:N?.label||o||"Select..."})}),n(v,{children:[a("div",{className:"p-2",children:a(u,{placeholder:y,value:t,onChange:e=>i(e.target.value),onKeyDown:e=>{e.key==="Enter"&&s&&L()},className:"mb-2"})}),S.map(e=>a(m,{value:e.value,children:e.label},e.value)),s&&t.trim()&&!S.find(e=>e.value===t.trim())&&n(m,{value:t.trim(),children:['Add "',t.trim(),'"']})]})]})]})};export{A as a};
1
+ import{a as f,d as b,g as v,i as m}from"./chunk-WLM2ZFHF.mjs";import{a as g}from"./chunk-RAAY7PEH.mjs";import{a as u}from"./chunk-GJUA2KUH.mjs";import{b as h}from"./chunk-2JKLBLDE.mjs";import{useState as C}from"react";import{jsx as a,jsxs as n}from"react/jsx-runtime";var A=({label:O,value:o,onValueChange:d,options:c,placeholder:y="Search...",allowCustomValue:s=!1,disabled:l=!1})=>{let[p,r]=C(!1),[t,i]=C(""),N=c.find(e=>e.value===o),S=c.filter(e=>e.label.toLowerCase().includes(t.toLowerCase())),I=e=>{d(e),r(!1),i("")},L=()=>{s&&t.trim()&&!c.find(e=>e.value===t.trim())&&(d(t.trim()),r(!1),i(""))};return n("div",{className:"space-y-1",children:[a(g,{className:"text-xs text-muted-foreground",children:O}),n(f,{value:o,onValueChange:I,open:p,onOpenChange:e=>{l||r(e)},disabled:l,children:[a(b,{className:"h-auto p-0 border-none bg-transparent hover:bg-muted/50 rounded-md",children:a(h,{variant:"secondary",className:`${l?"cursor-not-allowed opacity-50":"cursor-pointer"} hover:bg-muted transition-colors`,onClick:()=>!l&&r(!p),children:N?.label||o||"Select..."})}),n(v,{children:[a("div",{className:"p-2",children:a(u,{placeholder:y,value:t,onChange:e=>i(e.target.value),onKeyDown:e=>{e.key==="Enter"&&s&&L()},className:"mb-2"})}),S.map(e=>a(m,{value:e.value,children:e.label},e.value)),s&&t.trim()&&!S.find(e=>e.value===t.trim())&&n(m,{value:t.trim(),children:['Add "',t.trim(),'"']})]})]})]})};export{A as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{f as t}from"./chunk-N3B3XNV3.mjs";import{a}from"./chunk-MDJREBVI.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-TR52MKZR.mjs";import{a}from"./chunk-TSEOL53Y.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};
@@ -1 +1 @@
1
- import{a as d}from"./chunk-YNNW2C2U.mjs";import{b as r}from"./chunk-CSBGSBEU.mjs";import f from"react";import c from"next/image";import{jsx as e,jsxs as t}from"react/jsx-runtime";var h=({post:p})=>{let{categories:o,meta:n,populatedAuthors:a,publishedAt:i,title:m}=p;return t("div",{className:"relative grid pt-24",children:[e("div",{className:"relative z-10 flex flex-col justify-end min-h-[50vh] text-foreground dark:text-foreground pt-24 p-6 lg:p-12",children:t("div",{className:"container mx-auto",children:[e("h1",{className:"mb-6 text-[clamp(2rem,1.5rem+1.5vw,3.5rem)] font-bold leading-tight ",children:m}),t("div",{className:"flex flex-col gap-4 md:flex-row md:gap-16 ",children:[a&&a.length>0&&t("div",{className:"flex flex-col gap-1",children:[t("p",{className:"text-sm",children:["Author",a.length>1?"s":""]}),e("p",{children:a.map((l,s)=>t(f.Fragment,{children:[l.name,s<a.length-2&&", ",s===a.length-2&&(a.length>2?", and ":" and ")]},l.id))})]}),i&&t("div",{className:"flex flex-col gap-1",children:[e("p",{className:"text-sm",children:"Date Published"}),e("time",{dateTime:i,children:d(i)})]}),o&&o.length>0&&t("div",{className:"flex flex-col gap-1",children:[e("p",{className:"text-sm font-medium",children:"Categories"}),e("div",{className:"flex flex-wrap gap-2",children:o.map((l,s)=>typeof l=="object"&&l!==null&&e(r,{className:"px-3 py-1 mx-1",children:l.title||"Untitled category"},l.id||s))})]})]})]})}),t("div",{className:"absolute inset-0 w-full h-full",children:[e(c,{className:"object-cover",alt:`Cover image for ${m}`,src:n?.image?.url||"/assets/images/blog/gradient.png",fill:!0,priority:!0,sizes:"100vw"}),e("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full h-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};export{h as a};
1
+ import{a as d}from"./chunk-YNNW2C2U.mjs";import{b as r}from"./chunk-2JKLBLDE.mjs";import f from"react";import c from"next/image";import{jsx as e,jsxs as t}from"react/jsx-runtime";var h=({post:p})=>{let{categories:o,meta:n,populatedAuthors:a,publishedAt:i,title:m}=p;return t("div",{className:"relative grid pt-24",children:[e("div",{className:"relative z-10 flex flex-col justify-end min-h-[50vh] text-foreground dark:text-foreground pt-24 p-6 lg:p-12",children:t("div",{className:"container mx-auto",children:[e("h1",{className:"mb-6 text-[clamp(2rem,1.5rem+1.5vw,3.5rem)] font-bold leading-tight ",children:m}),t("div",{className:"flex flex-col gap-4 md:flex-row md:gap-16 ",children:[a&&a.length>0&&t("div",{className:"flex flex-col gap-1",children:[t("p",{className:"text-sm",children:["Author",a.length>1?"s":""]}),e("p",{children:a.map((l,s)=>t(f.Fragment,{children:[l.name,s<a.length-2&&", ",s===a.length-2&&(a.length>2?", and ":" and ")]},l.id))})]}),i&&t("div",{className:"flex flex-col gap-1",children:[e("p",{className:"text-sm",children:"Date Published"}),e("time",{dateTime:i,children:d(i)})]}),o&&o.length>0&&t("div",{className:"flex flex-col gap-1",children:[e("p",{className:"text-sm font-medium",children:"Categories"}),e("div",{className:"flex flex-wrap gap-2",children:o.map((l,s)=>typeof l=="object"&&l!==null&&e(r,{className:"px-3 py-1 mx-1",children:l.title||"Untitled category"},l.id||s))})]})]})]})}),t("div",{className:"absolute inset-0 w-full h-full",children:[e(c,{className:"object-cover",alt:`Cover image for ${m}`,src:n?.image?.url||"/assets/images/blog/gradient.png",fill:!0,priority:!0,sizes:"100vw"}),e("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full h-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};export{h as a};
@@ -1 +1 @@
1
- import{a as c}from"./chunk-M7NV6EFH.mjs";import{a as l}from"./chunk-FMJBJ3HN.mjs";import{a as m}from"./chunk-MDJREBVI.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-CXXPSCV3.mjs";import{a as l}from"./chunk-TNCD5YIY.mjs";import{a as m}from"./chunk-TSEOL53Y.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{a as o}from"./chunk-LVK4QE5D.mjs";import{a}from"./chunk-MDJREBVI.mjs";import{jsx as r,jsxs as n}from"react/jsx-runtime";function p({className:e,...t}){return r("textarea",{...t,className:a(o({}),"resize-none md:min-h-[130px]",e)})}function m({icon:e,...t}){return n("div",{className:"relative w-full",children:[r(p,{...t}),e&&r("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}export{m as a};
1
+ import{a as o}from"./chunk-S7N4CSMJ.mjs";import{a}from"./chunk-TSEOL53Y.mjs";import{jsx as r,jsxs as n}from"react/jsx-runtime";function p({className:e,...t}){return r("textarea",{...t,className:a(o({}),"resize-none md:min-h-[130px]",e)})}function m({icon:e,...t}){return n("div",{className:"relative w-full",children:[r(p,{...t}),e&&r("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}export{m as a};
@@ -1 +1 @@
1
- import{a as n}from"./chunk-AB43AQKL.mjs";import{a as b}from"./chunk-EOXVYLPB.mjs";import{a as u,b as m}from"./chunk-E4TE4NV6.mjs";import{a as o}from"./chunk-TVZOULLL.mjs";import{b as i}from"./chunk-ZUA4KNIR.mjs";import{Calendar as y,Clock as w,User as C,Trash2 as S,BookOpen as D,Bug as L,Zap as T,AlertCircle as B,Loader2 as k,Check as I,X as A}from"lucide-react";import{jsx as a,jsxs as t}from"react/jsx-runtime";var G=[{value:"story",label:"Story",color:"bg-primary/20 text-primary",icon:D},{value:"task",label:"Task",color:"bg-muted text-muted-foreground",icon:B},{value:"bug",label:"Bug",color:"bg-destructive/20 text-destructive",icon:L},{value:"spike",label:"Spike",color:"bg-accent/20 text-accent",icon:T}],P=[{value:"low",label:"Low",color:"bg-success/20 text-success"},{value:"medium",label:"Medium",color:"bg-warning/20 text-warning"},{value:"high",label:"High",color:"bg-destructive/20 text-destructive"}],V=[{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"}],W=({task:s,epics:g,sprints:x,lastUpdated:v,onUpdateTask:r,onClose:f,onDelete:N,isUpdating:l=!1,isDeleting:p=!1,deleteState:d="idle"})=>{let J=e=>e.split(" ").map(c=>c[0]).join("").toUpperCase(),h=()=>d==="loading"?t(i,{disabled:!0,variant:"destructive",className:"w-full h-8 text-xs gap-1",children:[a(k,{className:"h-3 w-3 animate-spin"}),"Deleting..."]}):d==="success"?t(i,{disabled:!0,variant:"destructive",className:"w-full h-8 text-xs gap-1",children:[a(I,{className:"h-3 w-3"}),"Deleted"]}):d==="error"?t(i,{disabled:!0,variant:"destructive",className:"w-full h-8 text-xs gap-1",children:[a(A,{className:"h-3 w-3"}),"Delete failed"]}):t(i,{onClick:N,variant:"destructive",className:"w-full h-8 text-xs gap-1",disabled:l||p,children:[a(S,{className:"h-3 w-3"}),"Delete Task"]});return t("div",{className:"flex flex-col h-full",children:[t("div",{className:"space-y-4",style:{opacity:l?.6:1},children:[t("div",{className:"space-y-2",children:[a(o,{className:"text-xs text-muted-foreground",children:"Status"}),a(n,{label:"",value:s.status,onValueChange:e=>r("status",e),options:[{value:"todo",label:"To Do"},{value:"in-progress",label:"In Progress"},{value:"done",label:"Done"}],disabled:l})]}),t("div",{className:"space-y-2",children:[a(o,{className:"text-xs text-muted-foreground",children:"Type"}),a(u,{type:"single",value:s.type,onValueChange:e=>e&&r("type",e),className:"grid grid-cols-2 gap-1",disabled:l,children:G.map(e=>{let c=e.icon;return t(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",disabled:l,children:[a(c,{className:"h-3 w-3"}),e.label]},e.value)})})]}),t("div",{className:"space-y-2",children:[a(o,{className:"text-xs text-muted-foreground",children:"Priority"}),a(u,{type:"single",value:s.priority,onValueChange:e=>e&&r("priority",e),className:"grid grid-cols-3 gap-1",disabled:l,children:P.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",disabled:l,children:e.label},e.value))})]}),t("div",{className:"space-y-2",children:[a(o,{className:"text-xs text-muted-foreground",children:"Story Points"}),a("input",{type:"number",min:"1",max:"100",value:s.points||1,onChange:e=>r("points",e.target.value),className:"w-full h-8 px-2 text-xs border border-border rounded-md focus:outline-none focus:ring-2 focus:ring-ring focus:border-transparent bg-background text-foreground disabled:opacity-50 disabled:cursor-not-allowed",disabled:l})]}),t("div",{className:"space-y-2",children:[a(o,{className:"text-xs text-muted-foreground",children:"Epic"}),a(n,{label:"",value:s.epicId,onValueChange:e=>r("epicId",e),options:(g||[]).map(e=>({value:e.id,label:e.name,color:e.color})),showColor:!0,disabled:l})]}),t("div",{className:"space-y-2",children:[a(o,{className:"text-xs text-muted-foreground",children:"Sprint"}),a(n,{label:"",value:s.sprintId||"none",onValueChange:e=>r("sprintId",e==="none"?"":e),options:[{value:"none",label:"No Sprint"},...(x||[]).map(e=>({value:e.id,label:`${e.name}${e.isActive?" (Active)":""}`}))],disabled:l})]}),t("div",{className:"space-y-2",children:[a(o,{className:"text-xs text-muted-foreground",children:"Assignee"}),a(b,{label:"",value:s.assignee,onValueChange:e=>r("assignee",e),options:V,placeholder:"Search team members...",allowCustomValue:!0,disabled:l})]})]}),t("div",{className:"mt-auto pt-4 space-y-4",children:[t("div",{className:"space-y-2",children:[a(i,{onClick:f,variant:"outline",className:"w-full h-8 text-xs",disabled:l||p,children:"Close"}),h()]}),t("div",{className:"pt-4 border-t border-border space-y-2",children:[a("div",{className:"text-xs text-muted-foreground font-medium mb-2",children:"Information"}),t("div",{className:"flex items-center justify-between",children:[a("span",{className:"text-xs text-muted-foreground",children:"Logged By"}),t("div",{className:"flex items-center gap-1 text-xs text-muted-foreground",children:[a(C,{className:"h-3 w-3"}),a("span",{children:"System"})]})]}),t("div",{className:"flex items-center justify-between",children:[a("span",{className:"text-xs text-muted-foreground",children:"Created"}),t("div",{className:"flex items-center gap-1 text-xs text-muted-foreground",children:[a(y,{className:"h-3 w-3"}),a("span",{children:s.createdAt.toLocaleDateString()})]})]}),t("div",{className:"flex items-center justify-between",children:[a("span",{className:"text-xs text-muted-foreground",children:"Last Updated"}),t("div",{className:"flex items-center gap-1 text-xs text-muted-foreground",children:[a(w,{className:"h-3 w-3"}),t("span",{children:[v.toLocaleDateString()," at ",v.toLocaleTimeString()]})]})]})]})]})]})};export{W as a};
1
+ import{a as n}from"./chunk-CXK2IY4V.mjs";import{a as b}from"./chunk-3KBY7FKD.mjs";import{a as u,b as m}from"./chunk-7EEEXU54.mjs";import{a as o}from"./chunk-RAAY7PEH.mjs";import{b as i}from"./chunk-7Z3TOFNL.mjs";import{Calendar as y,Clock as w,User as C,Trash2 as S,BookOpen as D,Bug as L,Zap as T,AlertCircle as B,Loader2 as k,Check as I,X as A}from"lucide-react";import{jsx as a,jsxs as t}from"react/jsx-runtime";var G=[{value:"story",label:"Story",color:"bg-primary/20 text-primary",icon:D},{value:"task",label:"Task",color:"bg-muted text-muted-foreground",icon:B},{value:"bug",label:"Bug",color:"bg-destructive/20 text-destructive",icon:L},{value:"spike",label:"Spike",color:"bg-accent/20 text-accent",icon:T}],P=[{value:"low",label:"Low",color:"bg-success/20 text-success"},{value:"medium",label:"Medium",color:"bg-warning/20 text-warning"},{value:"high",label:"High",color:"bg-destructive/20 text-destructive"}],V=[{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"}],W=({task:s,epics:g,sprints:x,lastUpdated:v,onUpdateTask:r,onClose:f,onDelete:N,isUpdating:l=!1,isDeleting:p=!1,deleteState:d="idle"})=>{let J=e=>e.split(" ").map(c=>c[0]).join("").toUpperCase(),h=()=>d==="loading"?t(i,{disabled:!0,variant:"destructive",className:"w-full h-8 text-xs gap-1",children:[a(k,{className:"h-3 w-3 animate-spin"}),"Deleting..."]}):d==="success"?t(i,{disabled:!0,variant:"destructive",className:"w-full h-8 text-xs gap-1",children:[a(I,{className:"h-3 w-3"}),"Deleted"]}):d==="error"?t(i,{disabled:!0,variant:"destructive",className:"w-full h-8 text-xs gap-1",children:[a(A,{className:"h-3 w-3"}),"Delete failed"]}):t(i,{onClick:N,variant:"destructive",className:"w-full h-8 text-xs gap-1",disabled:l||p,children:[a(S,{className:"h-3 w-3"}),"Delete Task"]});return t("div",{className:"flex flex-col h-full",children:[t("div",{className:"space-y-4",style:{opacity:l?.6:1},children:[t("div",{className:"space-y-2",children:[a(o,{className:"text-xs text-muted-foreground",children:"Status"}),a(n,{label:"",value:s.status,onValueChange:e=>r("status",e),options:[{value:"todo",label:"To Do"},{value:"in-progress",label:"In Progress"},{value:"done",label:"Done"}],disabled:l})]}),t("div",{className:"space-y-2",children:[a(o,{className:"text-xs text-muted-foreground",children:"Type"}),a(u,{type:"single",value:s.type,onValueChange:e=>e&&r("type",e),className:"grid grid-cols-2 gap-1",disabled:l,children:G.map(e=>{let c=e.icon;return t(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",disabled:l,children:[a(c,{className:"h-3 w-3"}),e.label]},e.value)})})]}),t("div",{className:"space-y-2",children:[a(o,{className:"text-xs text-muted-foreground",children:"Priority"}),a(u,{type:"single",value:s.priority,onValueChange:e=>e&&r("priority",e),className:"grid grid-cols-3 gap-1",disabled:l,children:P.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",disabled:l,children:e.label},e.value))})]}),t("div",{className:"space-y-2",children:[a(o,{className:"text-xs text-muted-foreground",children:"Story Points"}),a("input",{type:"number",min:"1",max:"100",value:s.points||1,onChange:e=>r("points",e.target.value),className:"w-full h-8 px-2 text-xs border border-border rounded-md focus:outline-none focus:ring-2 focus:ring-ring focus:border-transparent bg-background text-foreground disabled:opacity-50 disabled:cursor-not-allowed",disabled:l})]}),t("div",{className:"space-y-2",children:[a(o,{className:"text-xs text-muted-foreground",children:"Epic"}),a(n,{label:"",value:s.epicId,onValueChange:e=>r("epicId",e),options:(g||[]).map(e=>({value:e.id,label:e.name,color:e.color})),showColor:!0,disabled:l})]}),t("div",{className:"space-y-2",children:[a(o,{className:"text-xs text-muted-foreground",children:"Sprint"}),a(n,{label:"",value:s.sprintId||"none",onValueChange:e=>r("sprintId",e==="none"?"":e),options:[{value:"none",label:"No Sprint"},...(x||[]).map(e=>({value:e.id,label:`${e.name}${e.isActive?" (Active)":""}`}))],disabled:l})]}),t("div",{className:"space-y-2",children:[a(o,{className:"text-xs text-muted-foreground",children:"Assignee"}),a(b,{label:"",value:s.assignee,onValueChange:e=>r("assignee",e),options:V,placeholder:"Search team members...",allowCustomValue:!0,disabled:l})]})]}),t("div",{className:"mt-auto pt-4 space-y-4",children:[t("div",{className:"space-y-2",children:[a(i,{onClick:f,variant:"outline",className:"w-full h-8 text-xs",disabled:l||p,children:"Close"}),h()]}),t("div",{className:"pt-4 border-t border-border space-y-2",children:[a("div",{className:"text-xs text-muted-foreground font-medium mb-2",children:"Information"}),t("div",{className:"flex items-center justify-between",children:[a("span",{className:"text-xs text-muted-foreground",children:"Logged By"}),t("div",{className:"flex items-center gap-1 text-xs text-muted-foreground",children:[a(C,{className:"h-3 w-3"}),a("span",{children:"System"})]})]}),t("div",{className:"flex items-center justify-between",children:[a("span",{className:"text-xs text-muted-foreground",children:"Created"}),t("div",{className:"flex items-center gap-1 text-xs text-muted-foreground",children:[a(y,{className:"h-3 w-3"}),a("span",{children:s.createdAt.toLocaleDateString()})]})]}),t("div",{className:"flex items-center justify-between",children:[a("span",{className:"text-xs text-muted-foreground",children:"Last Updated"}),t("div",{className:"flex items-center gap-1 text-xs text-muted-foreground",children:[a(w,{className:"h-3 w-3"}),t("span",{children:[v.toLocaleDateString()," at ",v.toLocaleTimeString()]})]})]})]})]})]})};export{W as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
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-ZFUP5NVF.mjs";import{a as n}from"./chunk-7GSXNSLD.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-WXTJ6DVT.mjs";import{a as n}from"./chunk-HH4JDBUN.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 +1 @@
1
- import{a as e}from"./chunk-WISCWNL2.mjs";import{a as i}from"./chunk-MDJREBVI.mjs";import o from"next/image";import{jsx as l,jsxs as h}from"react/jsx-runtime";function m({logoLight:t,logoDark:a,mobile:r=!1}){return h(e,{href:"/",className:i(r?"py-1":"py-2"),children:[l(o,{className:"logo-light dark:hidden",src:t.src,width:t.width,height:t.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:r?35:50}}),l(o,{className:"hidden dark:block",src:a.src,width:a.width,height:a.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:r?35:50}})]})}export{m as a};
1
+ import{a as e}from"./chunk-WISCWNL2.mjs";import{a as i}from"./chunk-TSEOL53Y.mjs";import o from"next/image";import{jsx as l,jsxs as h}from"react/jsx-runtime";function m({logoLight:t,logoDark:a,mobile:r=!1}){return h(e,{href:"/",className:i(r?"py-1":"py-2"),children:[l(o,{className:"logo-light dark:hidden",src:t.src,width:t.width,height:t.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:r?35:50}}),l(o,{className:"hidden dark:block",src:a.src,width:a.width,height:a.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:r?35:50}})]})}export{m as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as m}from"./chunk-MDJREBVI.mjs";import Q from"next/image";import{jsx as B}from"react/jsx-runtime";var u={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},w="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",h=d=>{let{alt:p,fill:t,imgClassName:I,priority:C,resource:g,size:r,src:D,loading:F}=d,i,o,l=p,a=D||"";if(!a&&g&&typeof g=="object"){let{alt:e,filename:y,height:A,url:P,width:s}=g;if(A&&A>500){let c=500/A;i=s*c,o=A*c}else i=s,o=A;l=e||"",a=P||w}let n=F||"lazy",M=r||Object.entries(u).map(([,e])=>`(max-width: ${e}px) ${e*2}w`).join(", ");return B("picture",{children:B(Q,{alt:l||"",className:m(I),fill:t,height:t?void 0:o,placeholder:"blur",blurDataURL:w,priority:n!=="lazy"&&C,quality:100,loading:n,sizes:M,src:a,width:t?void 0:i})})};export{h as a};
4
+ import{a as m}from"./chunk-TSEOL53Y.mjs";import Q from"next/image";import{jsx as B}from"react/jsx-runtime";var u={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},w="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",h=d=>{let{alt:p,fill:t,imgClassName:I,priority:C,resource:g,size:r,src:D,loading:F}=d,i,o,l=p,a=D||"";if(!a&&g&&typeof g=="object"){let{alt:e,filename:y,height:A,url:P,width:s}=g;if(A&&A>500){let c=500/A;i=s*c,o=A*c}else i=s,o=A;l=e||"",a=P||w}let n=F||"lazy",M=r||Object.entries(u).map(([,e])=>`(max-width: ${e}px) ${e*2}w`).join(", ");return B("picture",{children:B(Q,{alt:l||"",className:m(I),fill:t,height:t?void 0:o,placeholder:"blur",blurDataURL:w,priority:n!=="lazy"&&C,quality:100,loading:n,sizes:M,src:a,width:t?void 0:i})})};export{h as a};
@@ -1 +1 @@
1
- import{a as E}from"./chunk-R7ILTSZR.mjs";import{a as I}from"./chunk-Z22NSJMF.mjs";import{b as v}from"./chunk-ZUA4KNIR.mjs";import{b as m}from"./chunk-CSBGSBEU.mjs";import{a as o}from"./chunk-YO3GQYRJ.mjs";import{useEffect as X,useState as n}from"react";import{Calendar as Y,Plus as Z}from"lucide-react";import{jsx as t,jsxs as s}from"react/jsx-runtime";var ce=({tasks:i,epics:A,sprints:l,onUpdateTask:B,onTaskClick:P,onAddSprint:O})=>{let[d,j]=n(["2"]),[g,f]=n(null),[R,c]=n(!1),[b,p]=n(null),[u,$]=n(i.filter(e=>!e.sprintId)),[V,M]=n(i.filter(e=>e.sprintId&&d.includes(e.sprintId))),[h,U]=n(l.filter(e=>e.id!=="backlog"&&e.id!=="all-tasks").sort((e,a)=>e.startDate.getTime()-a.startDate.getTime()));X(()=>{$(i.filter(e=>!e.sprintId)),M(i.filter(e=>e.sprintId&&d.includes(e.sprintId))),U(l.filter(e=>e.id!=="backlog"&&e.id!=="all-tasks").sort((e,a)=>e.startDate.getTime()-a.startDate.getTime()))},[i,l,d]);let z=e=>A.find(a=>a.id===e),F=e=>l.find(a=>a.id===e),L=e=>{switch(e){case"high":return"bg-destructive/20 text-destructive";case"medium":return"bg-warning/20 text-warning";case"low":return"bg-success/20 text-success";default:return"bg-muted text-muted-foreground"}},H=e=>e.split(" ").map(a=>a[0]).join("").toUpperCase(),q=e=>{f(e)},x=e=>{e.preventDefault()},N=e=>{p(e)},y=()=>{p(null)},k=(e,a)=>{e.preventDefault(),p(null),g&&(B(g.id,{sprintId:a==="backlog"?void 0:a}),f(null))},G=e=>{e==="backlog"||e==="all-tasks"||j(a=>a.includes(e)?a.filter(r=>r!==e):[...a,e])},J=e=>{O(e),c(!1)},D=({task:e,showSprint:a=!1})=>{let r=z(e.epicId),S=e.sprintId?F(e.sprintId):null,[T,w]=n(!1),K=C=>{C.defaultPrevented||T||P(e)},Q=C=>{w(!0),q(e)},W=()=>{w(!1)};return t(o,{className:`p-3 cursor-grab transition-all duration-200 hover:shadow-md bg-card border-border hover:border-border/80 active:cursor-grabbing ${T?"opacity-50 shadow-lg scale-105":""} ${g?.id===e.id?"ring-2 ring-primary":""}`,draggable:!0,onDragStart:Q,onDragEnd:W,onClick:K,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-foreground line-clamp-1 select-none pointer-events-none",children:e.title}),t(m,{className:`text-xs select-none pointer-events-none ${L(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:[r&&t("div",{className:`w-2 h-2 rounded-full ${r.color}`}),t("span",{className:"text-muted-foreground truncate select-none",children:r?.name})]}),t("span",{className:"text-muted-foreground select-none",children:H(e.assignee)})]}),a&&S&&s("div",{className:"flex items-center gap-1 text-xs text-muted-foreground pointer-events-none",children:[t(Y,{className:"h-3 w-3"}),t("span",{className:"select-none",children:S.name})]})]})})};return s("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[t(I,{title:"Sprint Planning",description:"Plan and organize tasks across sprints and manage your development timeline.",gradient:"bg-gradient-to-r from-orange-600 via-amber-600 to-yellow-600",primaryAction:{label:"Add sprint",onClick:()=>c(!0)}}),t("div",{className:"flex-1",children:s("div",{className:"w-full",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(o,{className:"p-4 h-full bg-card shadow-sm",onDragOver:x,onDragEnter:()=>N("backlog"),onDragLeave:y,onDrop:e=>k(e,"backlog"),children:[s("div",{className:"flex items-center justify-between mb-4",children:[t("h3",{className:"font-semibold text-foreground select-none",children:"Backlog"}),t(m,{variant:"secondary",className:"bg-muted text-muted-foreground",children:u.length})]}),s("div",{className:`space-y-3 overflow-y-auto max-h-[600px] min-h-[200px] border-2 border-dashed rounded p-3 transition-colors ${b==="backlog"?"border-primary bg-primary/10":"border-border"}`,children:[u.map(e=>t(D,{task:e},e.id)),u.length===0&&t("div",{className:"flex items-center justify-center h-32 text-muted-foreground 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(o,{className:"p-4 bg-card shadow-sm",children:[s("div",{className:"flex items-center justify-between mb-3",children:[t("h3",{className:"font-semibold text-foreground select-none",children:"Select Sprints to View"}),s(v,{onClick:()=>c(!0),className:"bg-primary hover:bg-primary/90 text-primary-foreground gap-2",size:"sm",children:[t(Z,{className:"h-4 w-4"}),"Add Sprint"]})]}),t("div",{className:"grid grid-cols-2 md:grid-cols-3 gap-2",children:h.map(e=>s(v,{variant:d.includes(e.id)?"default":"outline",size:"sm",onClick:()=>G(e.id),className:"text-xs h-8",children:[e.name,e.isActive&&t("span",{className:"ml-1 text-success",children:"\u25CF"})]},e.id))})]}),t("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:d.map(e=>h.find(a=>a.id===e)).filter(Boolean).sort((e,a)=>e.startDate.getTime()-a.startDate.getTime()).map(e=>{let a=V.filter(r=>r.sprintId===e.id);return s(o,{className:"p-4 bg-card shadow-sm",onDragOver:x,onDragEnter:()=>N(e.id),onDragLeave:y,onDrop:r=>k(r,e.id),children:[s("div",{className:"flex items-center justify-between mb-4",children:[s("div",{children:[t("h3",{className:"font-semibold text-foreground select-none",children:e.name}),e.isActive&&t("span",{className:"text-xs text-success font-medium select-none",children:"Active Sprint"})]}),t(m,{variant:"secondary",className:"bg-muted text-muted-foreground",children:a.length})]}),s("div",{className:`space-y-3 overflow-y-auto max-h-[500px] min-h-[200px] border-2 border-dashed rounded p-3 transition-colors ${b===e.id?"border-primary bg-primary/10":"border-border"}`,children:[a.map(r=>t(D,{task:r},r.id)),a.length===0&&t("div",{className:"flex items-center justify-center h-32 text-muted-foreground text-sm select-none",children:"Drop tasks here"})]})]},e.id)})})," "]})})]}),t(E,{isOpen:R,onClose:()=>c(!1),onAddSprint:J})]})})]})};export{ce as a};
1
+ import{a as E}from"./chunk-GFLX67DN.mjs";import{a as I}from"./chunk-BM2ZNFM6.mjs";import{b as v}from"./chunk-7Z3TOFNL.mjs";import{b as m}from"./chunk-2JKLBLDE.mjs";import{a as o}from"./chunk-7WKUKFCT.mjs";import{useEffect as X,useState as n}from"react";import{Calendar as Y,Plus as Z}from"lucide-react";import{jsx as t,jsxs as s}from"react/jsx-runtime";var ce=({tasks:i,epics:A,sprints:l,onUpdateTask:B,onTaskClick:P,onAddSprint:O})=>{let[d,j]=n(["2"]),[g,f]=n(null),[R,c]=n(!1),[b,p]=n(null),[u,$]=n(i.filter(e=>!e.sprintId)),[V,M]=n(i.filter(e=>e.sprintId&&d.includes(e.sprintId))),[h,U]=n(l.filter(e=>e.id!=="backlog"&&e.id!=="all-tasks").sort((e,a)=>e.startDate.getTime()-a.startDate.getTime()));X(()=>{$(i.filter(e=>!e.sprintId)),M(i.filter(e=>e.sprintId&&d.includes(e.sprintId))),U(l.filter(e=>e.id!=="backlog"&&e.id!=="all-tasks").sort((e,a)=>e.startDate.getTime()-a.startDate.getTime()))},[i,l,d]);let z=e=>A.find(a=>a.id===e),F=e=>l.find(a=>a.id===e),L=e=>{switch(e){case"high":return"bg-destructive/20 text-destructive";case"medium":return"bg-warning/20 text-warning";case"low":return"bg-success/20 text-success";default:return"bg-muted text-muted-foreground"}},H=e=>e.split(" ").map(a=>a[0]).join("").toUpperCase(),q=e=>{f(e)},x=e=>{e.preventDefault()},N=e=>{p(e)},y=()=>{p(null)},k=(e,a)=>{e.preventDefault(),p(null),g&&(B(g.id,{sprintId:a==="backlog"?void 0:a}),f(null))},G=e=>{e==="backlog"||e==="all-tasks"||j(a=>a.includes(e)?a.filter(r=>r!==e):[...a,e])},J=e=>{O(e),c(!1)},D=({task:e,showSprint:a=!1})=>{let r=z(e.epicId),S=e.sprintId?F(e.sprintId):null,[T,w]=n(!1),K=C=>{C.defaultPrevented||T||P(e)},Q=C=>{w(!0),q(e)},W=()=>{w(!1)};return t(o,{className:`p-3 cursor-grab transition-all duration-200 hover:shadow-md bg-card border-border hover:border-border/80 active:cursor-grabbing ${T?"opacity-50 shadow-lg scale-105":""} ${g?.id===e.id?"ring-2 ring-primary":""}`,draggable:!0,onDragStart:Q,onDragEnd:W,onClick:K,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-foreground line-clamp-1 select-none pointer-events-none",children:e.title}),t(m,{className:`text-xs select-none pointer-events-none ${L(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:[r&&t("div",{className:`w-2 h-2 rounded-full ${r.color}`}),t("span",{className:"text-muted-foreground truncate select-none",children:r?.name})]}),t("span",{className:"text-muted-foreground select-none",children:H(e.assignee)})]}),a&&S&&s("div",{className:"flex items-center gap-1 text-xs text-muted-foreground pointer-events-none",children:[t(Y,{className:"h-3 w-3"}),t("span",{className:"select-none",children:S.name})]})]})})};return s("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[t(I,{title:"Sprint Planning",description:"Plan and organize tasks across sprints and manage your development timeline.",gradient:"bg-gradient-to-r from-orange-600 via-amber-600 to-yellow-600",primaryAction:{label:"Add sprint",onClick:()=>c(!0)}}),t("div",{className:"flex-1",children:s("div",{className:"w-full",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(o,{className:"p-4 h-full bg-card shadow-sm",onDragOver:x,onDragEnter:()=>N("backlog"),onDragLeave:y,onDrop:e=>k(e,"backlog"),children:[s("div",{className:"flex items-center justify-between mb-4",children:[t("h3",{className:"font-semibold text-foreground select-none",children:"Backlog"}),t(m,{variant:"secondary",className:"bg-muted text-muted-foreground",children:u.length})]}),s("div",{className:`space-y-3 overflow-y-auto max-h-[600px] min-h-[200px] border-2 border-dashed rounded p-3 transition-colors ${b==="backlog"?"border-primary bg-primary/10":"border-border"}`,children:[u.map(e=>t(D,{task:e},e.id)),u.length===0&&t("div",{className:"flex items-center justify-center h-32 text-muted-foreground 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(o,{className:"p-4 bg-card shadow-sm",children:[s("div",{className:"flex items-center justify-between mb-3",children:[t("h3",{className:"font-semibold text-foreground select-none",children:"Select Sprints to View"}),s(v,{onClick:()=>c(!0),className:"bg-primary hover:bg-primary/90 text-primary-foreground gap-2",size:"sm",children:[t(Z,{className:"h-4 w-4"}),"Add Sprint"]})]}),t("div",{className:"grid grid-cols-2 md:grid-cols-3 gap-2",children:h.map(e=>s(v,{variant:d.includes(e.id)?"default":"outline",size:"sm",onClick:()=>G(e.id),className:"text-xs h-8",children:[e.name,e.isActive&&t("span",{className:"ml-1 text-success",children:"\u25CF"})]},e.id))})]}),t("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:d.map(e=>h.find(a=>a.id===e)).filter(Boolean).sort((e,a)=>e.startDate.getTime()-a.startDate.getTime()).map(e=>{let a=V.filter(r=>r.sprintId===e.id);return s(o,{className:"p-4 bg-card shadow-sm",onDragOver:x,onDragEnter:()=>N(e.id),onDragLeave:y,onDrop:r=>k(r,e.id),children:[s("div",{className:"flex items-center justify-between mb-4",children:[s("div",{children:[t("h3",{className:"font-semibold text-foreground select-none",children:e.name}),e.isActive&&t("span",{className:"text-xs text-success font-medium select-none",children:"Active Sprint"})]}),t(m,{variant:"secondary",className:"bg-muted text-muted-foreground",children:a.length})]}),s("div",{className:`space-y-3 overflow-y-auto max-h-[500px] min-h-[200px] border-2 border-dashed rounded p-3 transition-colors ${b===e.id?"border-primary bg-primary/10":"border-border"}`,children:[a.map(r=>t(D,{task:r},r.id)),a.length===0&&t("div",{className:"flex items-center justify-center h-32 text-muted-foreground text-sm select-none",children:"Drop tasks here"})]})]},e.id)})})," "]})})]}),t(E,{isOpen:R,onClose:()=>c(!1),onAddSprint:J})]})})]})};export{ce as a};
@@ -1,5 +1,5 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{b as w,c as C}from"./chunk-7GMAMIHM.mjs";import{b as y}from"./chunk-2RQDJ5XT.mjs";import{a as P}from"./chunk-MDJREBVI.mjs";import{a as b}from"./chunk-Q3G5UAAD.mjs";import{useEffect as d,useRef as s,useState as H,useCallback as x}from"react";import{Previewer as p}from"pagedjs";import{Fragment as N,jsx as n,jsxs as l}from"react/jsx-runtime";function T(r){var e=document.createElement("div");e.style.display="block",e.style.height=r,document.body.appendChild(e);var i=parseFloat(window.getComputedStyle(e,null).height);return e.parentNode&&e.parentNode.removeChild(e),Math.floor(i)}var m=r=>{let e=document.createElement("div");e.style.height="1mm",document.body.appendChild(e);let i=parseFloat(window.getComputedStyle(e).height);return document.body.removeChild(e),Math.floor(r/i)},F=({page:r,layout:e="portrait",logoImage:i})=>e==="flow"?n(E,{page:r,layout:e,logoImage:i}):n(B,{page:r,layout:e,logoImage:i}),E=({page:r,layout:e="portrait",logoImage:i})=>{let{contentWithIds:c}=b(r),u=s(null),a=s(null),h=s(new p),f={id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}};d(()=>{let o=document.getElementById("printable-content");if(o){let t=document.createElement("style");return t.textContent=`@page { size: ${m(o.offsetWidth)}mm ${m(o.offsetHeight)}mm ; margin: 0mm; width: ${m(o.offsetWidth)}mm }; .container : { max-width: ${m(o.offsetWidth)}mm; } .container : { max-width: 100%; }; html body * :not(#prinable-content, #printable-content *) { visibility: hidden !important; }`,document.head.appendChild(t),()=>{document.head.removeChild(t)}}},[e]);let k=x(()=>{if(!a.current)return;a.current&&(a.current.innerHTML="");let o=document.getElementById("printable-content");o&&h.current.preview(document.getElementById("printable-content").innerHTML,[`@page { size: ${m(o.offsetWidth)}mm ${m(o.offsetHeight)}mm ; margin: 0mm; }; .container : { max-width: 100%; }; body { zoom: 100%;}`],a.current).catch(t=>console.error("Paged.js error:",t))},[e]);d(()=>{h.current=new p},[k,e]);let g=[f,...c];return l("div",{children:[n("div",{className:"w-[1123px] print:w-[1123px]",children:l("div",{id:"printable-content",ref:u,children:[g.map((o,t)=>n(N,{children:t===0?n("section",{className:"title-page w-full h-full",children:n(C,{hero:r.hero,title:r.title})},t):l("section",{className:"normal-page overflow-hidden",children:[o.blockName&&n(w,{title:o.blockName}),n(y,{blocks:[o],fill:!0})]},t)})),n("section",{className:"normal-page",children:l("div",{className:`w-full py-2 px-8 flex justify-between items-center
4
+ import{b as w,c as C}from"./chunk-QB63WPDB.mjs";import{b as y}from"./chunk-FT6JQ4AC.mjs";import{a as P}from"./chunk-TSEOL53Y.mjs";import{a as b}from"./chunk-Q3G5UAAD.mjs";import{useEffect as d,useRef as s,useState as H,useCallback as x}from"react";import{Previewer as p}from"pagedjs";import{Fragment as N,jsx as n,jsxs as l}from"react/jsx-runtime";function T(r){var e=document.createElement("div");e.style.display="block",e.style.height=r,document.body.appendChild(e);var i=parseFloat(window.getComputedStyle(e,null).height);return e.parentNode&&e.parentNode.removeChild(e),Math.floor(i)}var m=r=>{let e=document.createElement("div");e.style.height="1mm",document.body.appendChild(e);let i=parseFloat(window.getComputedStyle(e).height);return document.body.removeChild(e),Math.floor(r/i)},F=({page:r,layout:e="portrait",logoImage:i})=>e==="flow"?n(E,{page:r,layout:e,logoImage:i}):n(B,{page:r,layout:e,logoImage:i}),E=({page:r,layout:e="portrait",logoImage:i})=>{let{contentWithIds:c}=b(r),u=s(null),a=s(null),h=s(new p),f={id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}};d(()=>{let o=document.getElementById("printable-content");if(o){let t=document.createElement("style");return t.textContent=`@page { size: ${m(o.offsetWidth)}mm ${m(o.offsetHeight)}mm ; margin: 0mm; width: ${m(o.offsetWidth)}mm }; .container : { max-width: ${m(o.offsetWidth)}mm; } .container : { max-width: 100%; }; html body * :not(#prinable-content, #printable-content *) { visibility: hidden !important; }`,document.head.appendChild(t),()=>{document.head.removeChild(t)}}},[e]);let k=x(()=>{if(!a.current)return;a.current&&(a.current.innerHTML="");let o=document.getElementById("printable-content");o&&h.current.preview(document.getElementById("printable-content").innerHTML,[`@page { size: ${m(o.offsetWidth)}mm ${m(o.offsetHeight)}mm ; margin: 0mm; }; .container : { max-width: 100%; }; body { zoom: 100%;}`],a.current).catch(t=>console.error("Paged.js error:",t))},[e]);d(()=>{h.current=new p},[k,e]);let g=[f,...c];return l("div",{children:[n("div",{className:"w-[1123px] print:w-[1123px]",children:l("div",{id:"printable-content",ref:u,children:[g.map((o,t)=>n(N,{children:t===0?n("section",{className:"title-page w-full h-full",children:n(C,{hero:r.hero,title:r.title})},t):l("section",{className:"normal-page overflow-hidden",children:[o.blockName&&n(w,{title:o.blockName}),n(y,{blocks:[o],fill:!0})]},t)})),n("section",{className:"normal-page",children:l("div",{className:`w-full py-2 px-8 flex justify-between items-center
5
5
  dark bg-background text-primary`,children:[l("div",{className:"flex px-6 items-center space-x-2",children:[i&&n("img",{src:i.src,alt:"Cortex Reply Logo",className:"h-8"}),n("span",{className:"pl-12 text-sm",children:"Power up your people"})]}),n("a",{href:"https://cortexreply.com",className:"text-sm hover:underline",children:"cortexreply.com"})]})})]})}),n("div",{ref:a,className:"preview-container"})]})},B=({page:r,layout:e="portrait"})=>{let{contentWithIds:i}=b(r),c=s(null),u=s(null),a=s(new p),[h,f]=H(0),g=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...i],o=x(()=>{c.current&&(c.current&&(c.current.innerHTML=""),a.current.preview(document.getElementById("printable-content").innerHTML,["./print.css",e==="landscape"?"./landscape.css":"./portrait.css"],c.current).then(t=>f(t.pageCount)).catch(t=>console.error("Paged.js error:",t)))},[e]);return d(()=>{a.current=new p,o()},[o,e]),d(()=>{let t=document.createElement("style");return t.textContent=`@page { size: A4 ${e} ; margin: 0mm; };`,document.head.appendChild(t),()=>{document.head.removeChild(t)}},[]),l("div",{className:"pagedjs-container",children:[n("div",{id:"printable-content",ref:u,style:{display:"none"},className:"pagedjs-content",children:g.map((t,v)=>n(N,{children:v===0?n("section",{className:"pagedjs-section title-page w-full h-full",children:n(C,{hero:r.hero,title:r.title})},v):l("section",{className:P("pagedjs-section normal-page h-[699px]",`h-[${T("185mm")}px]`,t.theme?.settings?.theme==="dark"?"dark":"light"),children:[t.blockName&&n(w,{title:t.blockName}),n(y,{blocks:[t],fill:!0})]},v)}))}),n("div",{ref:c,className:"preview-container"})]})};export{F as a,E as b,B as c};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as c}from"./chunk-5RTGHMF3.mjs";import{b as s}from"./chunk-ZUA4KNIR.mjs";import{b as t}from"./chunk-CSBGSBEU.mjs";import{a as o,b as i,c as m,d,e as n,f as l}from"./chunk-YO3GQYRJ.mjs";import{motion as v}from"motion/react";import{FileText as C,Share2 as N,Users as x}from"lucide-react";import{jsx as r,jsxs as e}from"react/jsx-runtime";function S({project:a,onOpen:u,onShare:f,className:p}){return r(v.div,{whileHover:{scale:1.02,y:-5},whileTap:{scale:.98},className:p,children:e(o,{className:"overflow-hidden rounded-3xl border hover:border-primary/50 transition-all duration-300",children:[e(i,{children:[e("div",{className:"flex items-center justify-between",children:[r(m,{children:a.name}),e(t,{variant:"outline",className:"rounded-xl",children:["Due ",a.dueDate]})]}),r(d,{children:a.description})]}),e(n,{className:"space-y-4",children:[e("div",{className:"space-y-2",children:[e("div",{className:"flex items-center justify-between text-sm",children:[r("span",{children:"Progress"}),e("span",{children:[a.progress,"%"]})]}),r(c,{value:a.progress,className:"h-2 rounded-xl"})]}),e("div",{className:"flex items-center justify-between text-sm text-muted-foreground",children:[e("div",{className:"flex items-center",children:[r(x,{className:"mr-1 h-4 w-4"}),a.members," members"]}),e("div",{className:"flex items-center",children:[r(C,{className:"mr-1 h-4 w-4"}),a.files," files"]})]})]}),e(l,{className:"flex gap-2",children:[r(s,{variant:"secondary",className:"flex-1 rounded-2xl",onClick:()=>u?.(a),children:"Open Project"}),r(s,{variant:"outline",size:"icon",className:"rounded-2xl",onClick:()=>f?.(a),children:r(N,{className:"h-4 w-4"})})]})]})})}export{S as a};
4
+ import{a as c}from"./chunk-EPDV35LO.mjs";import{b as s}from"./chunk-7Z3TOFNL.mjs";import{b as t}from"./chunk-2JKLBLDE.mjs";import{a as o,b as i,c as m,d,e as n,f as l}from"./chunk-7WKUKFCT.mjs";import{motion as v}from"motion/react";import{FileText as C,Share2 as N,Users as x}from"lucide-react";import{jsx as r,jsxs as e}from"react/jsx-runtime";function S({project:a,onOpen:u,onShare:f,className:p}){return r(v.div,{whileHover:{scale:1.02,y:-5},whileTap:{scale:.98},className:p,children:e(o,{className:"overflow-hidden rounded-3xl border hover:border-primary/50 transition-all duration-300",children:[e(i,{children:[e("div",{className:"flex items-center justify-between",children:[r(m,{children:a.name}),e(t,{variant:"outline",className:"rounded-xl",children:["Due ",a.dueDate]})]}),r(d,{children:a.description})]}),e(n,{className:"space-y-4",children:[e("div",{className:"space-y-2",children:[e("div",{className:"flex items-center justify-between text-sm",children:[r("span",{children:"Progress"}),e("span",{children:[a.progress,"%"]})]}),r(c,{value:a.progress,className:"h-2 rounded-xl"})]}),e("div",{className:"flex items-center justify-between text-sm text-muted-foreground",children:[e("div",{className:"flex items-center",children:[r(x,{className:"mr-1 h-4 w-4"}),a.members," members"]}),e("div",{className:"flex items-center",children:[r(C,{className:"mr-1 h-4 w-4"}),a.files," files"]})]})]}),e(l,{className:"flex gap-2",children:[r(s,{variant:"secondary",className:"flex-1 rounded-2xl",onClick:()=>u?.(a),children:"Open Project"}),r(s,{variant:"outline",size:"icon",className:"rounded-2xl",onClick:()=>f?.(a),children:r(N,{className:"h-4 w-4"})})]})]})})}export{S as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as d}from"./chunk-2RGAV55J.mjs";import{a as p}from"./chunk-D3B2YO7G.mjs";import{a as m}from"./chunk-Z22NSJMF.mjs";import{a as i,f as l,g as n,i as s,j as c}from"./chunk-3UMMMQEH.mjs";import{useState as g}from"react";import{motion as D,AnimatePresence as N}from"motion/react";import{jsx as e,jsxs as o}from"react/jsx-runtime";function C({projects:u=[],onAddProject:f,handleProjectOpen:j,handleProjectShare:y}){let[P,t]=g(!1),[b,r]=g(!1),v=async a=>{r(!0);try{await f(a),t(!1)}catch(w){console.error("Error creating project:",w)}finally{r(!1)}},h=()=>{t(!0)};return o("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[e(N,{mode:"wait",children:o(D.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:[e(m,{title:"Project Management",description:"Organise your work into projects to collaborate with your team.",gradient:"bg-gradient-to-r from-purple-600 via-violet-600 to-indigo-600",primaryAction:{label:"New Project",onClick:h}}),o("section",{className:"space-y-4 mt-8",children:[e("h2",{className:"text-2xl font-semibold",children:"Active Projects"}),e("div",{className:"grid grid-cols-1 gap-3 md:grid-cols-2 lg:grid-cols-3",children:u.map(a=>e(d,{project:a,onOpen:j,onShare:y},a.name))})]})]},"projects-index-view")}),e(i,{open:P,onOpenChange:t,children:o(l,{className:"max-w-3xl max-h-[90vh] overflow-y-auto",children:[o(n,{className:"sr-only",children:[e(s,{children:"Create New Project"}),e(c,{children:"Fill out the form below to create a new project."})]}),e(p,{onSubmit:v,onCancel:()=>t(!1),isLoading:b,className:"border-0 shadow-none"})]})})]})}export{C as a};
4
+ import{a as d}from"./chunk-5N2D3BGH.mjs";import{a as p}from"./chunk-QUDKEIE6.mjs";import{a as m}from"./chunk-BM2ZNFM6.mjs";import{a as i,f as l,g as n,i as s,j as c}from"./chunk-AG6IN5S7.mjs";import{useState as g}from"react";import{motion as D,AnimatePresence as N}from"motion/react";import{jsx as e,jsxs as o}from"react/jsx-runtime";function C({projects:u=[],onAddProject:f,handleProjectOpen:j,handleProjectShare:y}){let[P,t]=g(!1),[b,r]=g(!1),v=async a=>{r(!0);try{await f(a),t(!1)}catch(w){console.error("Error creating project:",w)}finally{r(!1)}},h=()=>{t(!0)};return o("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[e(N,{mode:"wait",children:o(D.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:[e(m,{title:"Project Management",description:"Organise your work into projects to collaborate with your team.",gradient:"bg-gradient-to-r from-purple-600 via-violet-600 to-indigo-600",primaryAction:{label:"New Project",onClick:h}}),o("section",{className:"space-y-4 mt-8",children:[e("h2",{className:"text-2xl font-semibold",children:"Active Projects"}),e("div",{className:"grid grid-cols-1 gap-3 md:grid-cols-2 lg:grid-cols-3",children:u.map(a=>e(d,{project:a,onOpen:j,onShare:y},a.name))})]})]},"projects-index-view")}),e(i,{open:P,onOpenChange:t,children:o(l,{className:"max-w-3xl max-h-[90vh] overflow-y-auto",children:[o(n,{className:"sr-only",children:[e(s,{children:"Create New Project"}),e(c,{children:"Fill out the form below to create a new project."})]}),e(p,{onSubmit:v,onCancel:()=>t(!1),isLoading:b,className:"border-0 shadow-none"})]})})]})}export{C as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as F}from"./chunk-IF3425JX.mjs";import{a as T}from"./chunk-5WVFEIMC.mjs";import{a as v}from"./chunk-MDJREBVI.mjs";import{a as R}from"./chunk-Q3G5UAAD.mjs";import{useState as A}from"react";import G from"html2canvas";import{jsPDF as W}from"jspdf";import{Fragment as J,jsx as e,jsxs as g}from"react/jsx-runtime";function ae({type:p="slideshow",orientation:d="landscape",...c}){let h=c.page,[C,n]=A(d),{contentWithIds:a,tableOfContents:i}=R(h);if(p==="slideshow")return e("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:e(T,{blocks:a,hero:c.hero,title:c.page.title,logoImage:c.logoImage})});if(p==="print")return g(J,{children:[e(U,{layout:C,changeLayout:n}),e(F,{page:c.page,layout:C,logoImage:c.logoImage})]})}var U=({changeLayout:p,layout:d="landscape"})=>{let c=async()=>{if(d==="flow"){let a=document.getElementById("printable-content")?.innerHTML;if(a){var n=window.document.body.innerHTML;window.document.body.innerHTML=a,window.print(),window.document.body.innerHTML=n}}else await new Promise(a=>setTimeout(a,300)),window.print()},h=n=>{p&&p(n)},C=async n=>{let a=document.getElementById(n);if(!a)throw new Error(`Element with id ${n} not found`);let i=document.createElement("canvas"),P=window.devicePixelRatio;i.width=Math.max(a.clientWidth||0)*P,i.height=Math.max(a.clientHeight||0)*P+100;let u=i.getContext("2d");if(!u)throw new Error("Failed to get 2D context");let q=u.drawImage,z=Array.from(a.getElementsByTagName("img")).reduce((y,s)=>(y[s.src]=s,y),{});u.drawImage=function(...y){let[s,S,j,l,r,D,B,m,w]=y;if(s instanceof HTMLImageElement){let Y=z[s.src].style.objectFit||"fill",$=z[s.src].style.objectPosition||"center center";r=s.height,l=s.width;let L=l/r,b=m/w,[x,f]=$.split(" ");switch(f||(f=x),Y){case"cover":if(L>b){let t=r*b,o=(l-t)/2;x==="left"&&(o=0),x==="right"&&(o=l-t),S+=o,l=t}else{let t=l/b,o=(r-t)/2;f==="top"&&(o=0),f==="bottom"&&(o=r-t),j+=o,r=t}break;case"contain":if(L>b){let t=m/L,o=(w-t)/2;f==="top"&&(o=0),f==="bottom"&&(o=w-t),B+=o,w=t}else{let t=w*L,o=(m-t)/2;x==="left"&&(o=0),x==="right"&&(o=m-t),D+=o,m=t}break;case"fill":break}}return q.call(u,s,S,j,l,r,D,B,m,w)};let k=document.getElementById(n);if(!k)throw new Error(`Element with id ${n} not found`);var O=i.width,X=i.height;let I=(await G(k,{canvas:i,windowHeight:X,windowWidth:O,scale:window.devicePixelRatio})).toDataURL("image/png"),N=new W({}).getImageProperties(I),M=297,E=M*(N.height/N.width),H=new W({unit:"mm",format:[M,E]});H.addImage(I,"PNG",0,0,M,E),H.save("print.pdf")};return e("div",{className:v("fixed right-2 z-20 top-20 space-y-6 print:hidden"),children:e("div",{className:"flex flex-row-reverse z-20 min-w-70 gap-4",children:g("nav",{className:"z-20 flex grow-0 justify-end gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-h-[auto] min-w-[54px] flex-col rounded-lg border",children:[g("a",{onClick:c,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:e("path",{d:"M96 160l-32 0 0-96C64 28.7 92.7 0 128 0L357.5 0c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 18.7 28.3 18.7 45.3l0 69.5-32 0 0-69.5c0-8.5-3.4-16.6-9.4-22.6L380.1 41.4c-6-6-14.1-9.4-22.6-9.4L128 32c-17.7 0-32 14.3-32 32l0 96zm352 64L64 224c-17.7 0-32 14.3-32 32l0 128 32 0 0-32c0-17.7 14.3-32 32-32l320 0c17.7 0 32 14.3 32 32l0 32 32 0 0-128c0-17.7-14.3-32-32-32zm0 192l0 64c0 17.7-14.3 32-32 32L96 512c-17.7 0-32-14.3-32-32l0-64-32 0c-17.7 0-32-14.3-32-32L0 256c0-35.3 28.7-64 64-64l384 0c35.3 0 64 28.7 64 64l0 128c0 17.7-14.3 32-32 32l-32 0zM96 352l0 128 320 0 0-128L96 352zM432 248a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"})}),e("small",{className:"text-xs font-medium",children:"Print"})]}),e("div",{className:"flex-grow border-t border-gray-200 dark:border-slate-600/60"}),g("a",{onClick:()=>h("portrait"),className:v("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",d==="portrait"?"text-accent":"hover:text-accent"),children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",fill:"currentColor",children:e("path",{d:"M352 448c0 17.7-14.3 32-32 32L64 480c-17.7 0-32-14.3-32-32L32 64c0-17.7 14.3-32 32-32l256 0c17.7 0 32 14.3 32 32l0 384zM384 64c0-35.3-28.7-64-64-64L64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-384z"})}),e("small",{className:"text-xs",children:"Portrait"})]}),g("a",{onClick:()=>h("landscape"),className:v("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",d==="landscape"?"text-accent":"hover:text-accent"),children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512",fill:"currentColor",children:e("path",{d:"M576 96c17.7 0 32 14.3 32 32l0 256c0 17.7-14.3 32-32 32L64 416c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l512 0zM64 64C28.7 64 0 92.7 0 128L0 384c0 35.3 28.7 64 64 64l512 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L64 64z"})}),e("small",{className:"text-xs",children:"Landscape"})]}),g("a",{onClick:()=>h("flow"),className:v("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",d==="flow"?"text-accent":"hover:text-accent"),children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:e("path",{d:"M266.2 4.7C273 1.6 280.5 0 288 0s15 1.6 21.8 4.7l217.4 97.5c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 251.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 153.9C38.6 149.3 32 139.2 32 128s6.6-21.3 16.8-25.9L266.2 4.7zM288 32c-3 0-6 .6-8.8 1.9L69.3 128l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-210-94.1C294 32.6 291 32 288 32zM48.8 358.1l45.9-20.6 39.1 17.5L69.3 384l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 507.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 409.9C38.6 405.3 32 395.2 32 384s6.6-21.3 16.8-25.9zM94.7 209.5l39.1 17.5L69.3 256l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 379.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 281.9C38.6 277.3 32 267.2 32 256s6.6-21.3 16.8-25.9l45.9-20.6z"})}),e("small",{className:"text-xs",children:"Continuous"})]})]})})})};export{ae as a};
4
+ import{a as F}from"./chunk-5AYDHF5U.mjs";import{a as T}from"./chunk-BUTUPCGN.mjs";import{a as v}from"./chunk-TSEOL53Y.mjs";import{a as R}from"./chunk-Q3G5UAAD.mjs";import{useState as A}from"react";import G from"html2canvas";import{jsPDF as W}from"jspdf";import{Fragment as J,jsx as e,jsxs as g}from"react/jsx-runtime";function ae({type:p="slideshow",orientation:d="landscape",...c}){let h=c.page,[C,n]=A(d),{contentWithIds:a,tableOfContents:i}=R(h);if(p==="slideshow")return e("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:e(T,{blocks:a,hero:c.hero,title:c.page.title,logoImage:c.logoImage})});if(p==="print")return g(J,{children:[e(U,{layout:C,changeLayout:n}),e(F,{page:c.page,layout:C,logoImage:c.logoImage})]})}var U=({changeLayout:p,layout:d="landscape"})=>{let c=async()=>{if(d==="flow"){let a=document.getElementById("printable-content")?.innerHTML;if(a){var n=window.document.body.innerHTML;window.document.body.innerHTML=a,window.print(),window.document.body.innerHTML=n}}else await new Promise(a=>setTimeout(a,300)),window.print()},h=n=>{p&&p(n)},C=async n=>{let a=document.getElementById(n);if(!a)throw new Error(`Element with id ${n} not found`);let i=document.createElement("canvas"),P=window.devicePixelRatio;i.width=Math.max(a.clientWidth||0)*P,i.height=Math.max(a.clientHeight||0)*P+100;let u=i.getContext("2d");if(!u)throw new Error("Failed to get 2D context");let q=u.drawImage,z=Array.from(a.getElementsByTagName("img")).reduce((y,s)=>(y[s.src]=s,y),{});u.drawImage=function(...y){let[s,S,j,l,r,D,B,m,w]=y;if(s instanceof HTMLImageElement){let Y=z[s.src].style.objectFit||"fill",$=z[s.src].style.objectPosition||"center center";r=s.height,l=s.width;let L=l/r,b=m/w,[x,f]=$.split(" ");switch(f||(f=x),Y){case"cover":if(L>b){let t=r*b,o=(l-t)/2;x==="left"&&(o=0),x==="right"&&(o=l-t),S+=o,l=t}else{let t=l/b,o=(r-t)/2;f==="top"&&(o=0),f==="bottom"&&(o=r-t),j+=o,r=t}break;case"contain":if(L>b){let t=m/L,o=(w-t)/2;f==="top"&&(o=0),f==="bottom"&&(o=w-t),B+=o,w=t}else{let t=w*L,o=(m-t)/2;x==="left"&&(o=0),x==="right"&&(o=m-t),D+=o,m=t}break;case"fill":break}}return q.call(u,s,S,j,l,r,D,B,m,w)};let k=document.getElementById(n);if(!k)throw new Error(`Element with id ${n} not found`);var O=i.width,X=i.height;let I=(await G(k,{canvas:i,windowHeight:X,windowWidth:O,scale:window.devicePixelRatio})).toDataURL("image/png"),N=new W({}).getImageProperties(I),M=297,E=M*(N.height/N.width),H=new W({unit:"mm",format:[M,E]});H.addImage(I,"PNG",0,0,M,E),H.save("print.pdf")};return e("div",{className:v("fixed right-2 z-20 top-20 space-y-6 print:hidden"),children:e("div",{className:"flex flex-row-reverse z-20 min-w-70 gap-4",children:g("nav",{className:"z-20 flex grow-0 justify-end gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-h-[auto] min-w-[54px] flex-col rounded-lg border",children:[g("a",{onClick:c,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:e("path",{d:"M96 160l-32 0 0-96C64 28.7 92.7 0 128 0L357.5 0c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 18.7 28.3 18.7 45.3l0 69.5-32 0 0-69.5c0-8.5-3.4-16.6-9.4-22.6L380.1 41.4c-6-6-14.1-9.4-22.6-9.4L128 32c-17.7 0-32 14.3-32 32l0 96zm352 64L64 224c-17.7 0-32 14.3-32 32l0 128 32 0 0-32c0-17.7 14.3-32 32-32l320 0c17.7 0 32 14.3 32 32l0 32 32 0 0-128c0-17.7-14.3-32-32-32zm0 192l0 64c0 17.7-14.3 32-32 32L96 512c-17.7 0-32-14.3-32-32l0-64-32 0c-17.7 0-32-14.3-32-32L0 256c0-35.3 28.7-64 64-64l384 0c35.3 0 64 28.7 64 64l0 128c0 17.7-14.3 32-32 32l-32 0zM96 352l0 128 320 0 0-128L96 352zM432 248a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"})}),e("small",{className:"text-xs font-medium",children:"Print"})]}),e("div",{className:"flex-grow border-t border-gray-200 dark:border-slate-600/60"}),g("a",{onClick:()=>h("portrait"),className:v("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",d==="portrait"?"text-accent":"hover:text-accent"),children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",fill:"currentColor",children:e("path",{d:"M352 448c0 17.7-14.3 32-32 32L64 480c-17.7 0-32-14.3-32-32L32 64c0-17.7 14.3-32 32-32l256 0c17.7 0 32 14.3 32 32l0 384zM384 64c0-35.3-28.7-64-64-64L64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-384z"})}),e("small",{className:"text-xs",children:"Portrait"})]}),g("a",{onClick:()=>h("landscape"),className:v("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",d==="landscape"?"text-accent":"hover:text-accent"),children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512",fill:"currentColor",children:e("path",{d:"M576 96c17.7 0 32 14.3 32 32l0 256c0 17.7-14.3 32-32 32L64 416c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l512 0zM64 64C28.7 64 0 92.7 0 128L0 384c0 35.3 28.7 64 64 64l512 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L64 64z"})}),e("small",{className:"text-xs",children:"Landscape"})]}),g("a",{onClick:()=>h("flow"),className:v("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",d==="flow"?"text-accent":"hover:text-accent"),children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:e("path",{d:"M266.2 4.7C273 1.6 280.5 0 288 0s15 1.6 21.8 4.7l217.4 97.5c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 251.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 153.9C38.6 149.3 32 139.2 32 128s6.6-21.3 16.8-25.9L266.2 4.7zM288 32c-3 0-6 .6-8.8 1.9L69.3 128l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-210-94.1C294 32.6 291 32 288 32zM48.8 358.1l45.9-20.6 39.1 17.5L69.3 384l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 507.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 409.9C38.6 405.3 32 395.2 32 384s6.6-21.3 16.8-25.9zM94.7 209.5l39.1 17.5L69.3 256l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 379.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 281.9C38.6 277.3 32 267.2 32 256s6.6-21.3 16.8-25.9l45.9-20.6z"})}),e("small",{className:"text-xs",children:"Continuous"})]})]})})})};export{ae as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as te}from"./chunk-Q3EVV5MV.mjs";import{a as _}from"./chunk-I2ZLKSWR.mjs";import{a as Q}from"./chunk-WI2RL3XQ.mjs";import{a as Z}from"./chunk-LJLV5GUS.mjs";import{a as ee}from"./chunk-AQ6RGBGI.mjs";import{a as Y}from"./chunk-74JNWOJQ.mjs";import{a as X}from"./chunk-BA3I4XZE.mjs";import{a as L}from"./chunk-CTAQQFEO.mjs";import{useEffect as o,useState as s}from"react";import{useRouter as Ye}from"next/navigation";import{jsx as a,jsxs as _e}from"react/jsx-runtime";function Ze({title:et="",initialTasks:h=[],initialEpics:D=[],initialSprints:S=[],initialProjects:E=[],initialReminders:v=[],initialColleagues:A=[],initialUsers:w=[],initialFiles:P=[],initialView:C="kanban",onAddTask:ie,onUpdateTask:ne,onDeleteTask:se,onTaskClick:tt,onAddEpic:ae,onUpdateEpic:oe,onDeleteEpic:de,onAddTaskToEpic:it,onAddSprint:re,onUpdateSprint:le,onDeleteSprint:ce,onAddProject:pe,onUpdateProject:ge,onDeleteProject:me,onFileAdd:ke,onFileEdit:Te,onFileDelete:ue,onFileClick:fe,onAddReminder:he,onUpdateReminder:De,onDeleteReminder:Se,onViewChange:Ee,onToggleMobileMenu:ve,onTeamClick:nt,onTeamChange:st,onCopilotClick:at}){let[p,d]=s(h),[r,g]=s(D),[c,m]=s(S),[F,k]=s(E),[Ae,T]=s(v),[U,we]=s(A),[M,Pe]=s(w),[Ce,O]=s(P),[Ue,R]=s(!1),[be,V]=s(!1),[ye,j]=s(null),[Fe,I]=s(null),[B,N]=s(null),[l,x]=s(C||"kanban"),[Me,Oe]=s(!1),G=Ye();o(()=>{d(h)},[h]),o(()=>{m(S)},[S]),o(()=>{g(D)},[D]),o(()=>{k(E)},[E]),o(()=>{O(P)},[P]),o(()=>{Pe(w)},[w]),o(()=>{we(A)},[A]),o(()=>{T(v)},[v]),o(()=>{x(C)},[C]);let Re=r.filter(e=>e.isSelected).map(e=>e.id),u=c.find(e=>e.isSelected),Ve=p.filter(e=>{let t=Re.includes(e.epicId);return!u||u.id==="all-tasks"?t:u.id==="backlog"?t&&!e.sprintId:t&&e.sprintId===u.id}),ot=e=>Ve.filter(t=>t.status===e),dt=e=>{let t={};return r.forEach(i=>{t[i.id]=e.filter(n=>n.epicId===i.id)}),t},rt=e=>{N(e)},lt=e=>{B&&(d(t=>t.map(i=>i.id===B.id?{...i,status:e}:i)),N(null))},H=e=>{let t={...e,id:Date.now().toString(),createdAt:new Date};d(i=>[...i,t]),ie?.(t)},f=(e,t)=>{d(i=>i.map(n=>n.id===e?{...n,...t}:n)),ne?.(e,t)},ct=async(e,t)=>{f(e,t)},K=e=>{d(t=>t.filter(i=>i.id!==e)),ye?.id===e&&j(null),se?.(e)},pt=async e=>{K(e)},je=e=>{let t={...e,id:Date.now().toString(),isSelected:!1};k(i=>[...i,t]),pe?.(e)},Ie=(e,t)=>{k(i=>i.map(n=>n.id===e?t.isSelected?(G.push(`/project/${e}`),{...n,...t}):{...n,...t}:t.isSelected&&e!==n.id?{...n,isSelected:!1}:n)),ge?.(e,t)},Be=e=>{k(t=>t.filter(i=>i.id!==e)),me?.(e)},W=e=>{let t={...e,id:Date.now().toString(),isSelected:!0};g(i=>[...i,t]),ae?.({...t})},$=()=>{V(!0)},q=(e,t)=>{g(i=>i.map(n=>n.id===e?{...n,...t}:n)),oe?.(e,t)},z=e=>{g(t=>t.filter(i=>i.id!==e)),d(t=>t.filter(i=>i.epicId!==e)),de?.(e)},J=e=>{let t={...e,id:Date.now().toString(),isSelected:!1};m(i=>[...i,t]),re?.(e)},Ne=(e,t)=>{m(i=>i.map(n=>n.id===e?t.isSelected?{...n,...t}:{...n,...t}:t.isSelected&&e!==n.id?{...n,isSelected:!1}:n)),le?.(e,t)},xe=e=>{e==="backlog"||e==="all-tasks"||(m(t=>t.filter(i=>i.id!==e)),d(t=>t.map(i=>i.sprintId===e?{...i,sprintId:void 0}:i)),ce?.(e))},b=e=>{j(e)},Ge=e=>{e==="planning"&&window.innerWidth<768||(x(e),Ee?.(e))},He=()=>{Oe(e=>!e),ve?.()},gt=()=>{G.push("/")},mt=e=>{console.log("Switching to team:",e)},kt=e=>{console.log("Switching to team:",e)},Ke=e=>{I(e),R(!0)},We=()=>{R(!1),I(null)},$e=e=>{let t={...e,id:Date.now().toString(),createdAt:new Date};T(i=>[...i,t]),he?.(e)},qe=(e,t)=>{T(i=>i.map(n=>n.id===e?{...n,...t}:n)),De?.(e,t)},ze=e=>{T(t=>t.filter(i=>i.id!==e)),Se?.(e)},Je=()=>{ke?.()},Le=e=>{Te?.(e)},Qe=e=>{O(t=>t.filter(i=>i.name!==e)),ue?.(e)},Xe=e=>{fe?.(e)},Tt=[{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"}],ut=()=>{switch(l){case"kanban":return"Project Board";case"planning":return"Sprint Planning";case"tasks":return"Task Reminders";case"files":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")}],ft=y.sort((e,t)=>t.lastUsed.getTime()-e.lastUsed.getTime()).slice(0,3),ht=y.length>3,Dt=y.slice(3);return _e(L,{projects:F,epics:r,sprints:c,currentView:l,onUpdateProject:Ie,onDeleteProject:Be,onAddProject:je,onUpdateEpic:q,onDeleteEpic:z,onAddEpic:$,onAddSprint:J,onUpdateSprint:Ne,onDeleteSprint:xe,onViewChange:Ge,mobileMenuOpen:Me,onToggleMobileMenu:He,children:[l==="kanban"&&a("div",{className:"h-full",children:a(Z,{initialProjects:F,initialEpics:r,initialSprints:c,initialTasks:p,initialColleagues:U,initialUsers:M,onAddTask:H,onUpdateTask:f,onDeleteTask:K,onTaskClick:b,onAddEpic:W})}),l==="planning"&&a("div",{className:"hidden md:block h-full",children:a(ee,{tasks:p,epics:r,sprints:c,onUpdateTask:f,onTaskClick:b,onAddSprint:J})}),l==="tasks"&&a("div",{className:"h-full",children:a(te,{initialReminders:Ae,initialColleagues:U,onAddReminder:$e,onUpdateReminder:qe,onDeleteReminder:ze})}),l==="files"&&a("div",{className:"h-full",children:a(Q,{initialFiles:Ce,onFileAdd:Je,onFileEdit:Le,onFileDelete:Qe,onFileClick:Xe,compactView:!1})}),l==="epics"&&a("div",{className:"h-full",children:a(_,{tasks:p,epics:r,sprints:c,onUpdateTask:f,onTaskClick:b,onAddTaskToEpic:Ke,onAddEpic:$,onUpdateEpic:q,onDeleteEpic:z})}),a(X,{isOpen:Ue,onClose:We,onAddTask:H,epics:r,sprints:c,assignees:[...U,...M],defaultEpicId:Fe||void 0}),a(Y,{isOpen:be,onClose:()=>V(!1),onAddEpic:W})]})}export{Ze as a};
4
+ import{a as te}from"./chunk-LCIKBYDR.mjs";import{a as Q}from"./chunk-HLWGNTZD.mjs";import{a as Z}from"./chunk-MZKVGPNQ.mjs";import{a as ee}from"./chunk-56AGUZR5.mjs";import{a as Y}from"./chunk-KUVPOOSW.mjs";import{a as X}from"./chunk-ZKLSTUIP.mjs";import{a as _}from"./chunk-NM6U4PLY.mjs";import{a as L}from"./chunk-E3NWG6B4.mjs";import{useEffect as o,useState as s}from"react";import{useRouter as Ye}from"next/navigation";import{jsx as a,jsxs as _e}from"react/jsx-runtime";function Ze({title:et="",initialTasks:h=[],initialEpics:D=[],initialSprints:S=[],initialProjects:E=[],initialReminders:v=[],initialColleagues:A=[],initialUsers:w=[],initialFiles:P=[],initialView:C="kanban",onAddTask:ie,onUpdateTask:ne,onDeleteTask:se,onTaskClick:tt,onAddEpic:ae,onUpdateEpic:oe,onDeleteEpic:de,onAddTaskToEpic:it,onAddSprint:re,onUpdateSprint:le,onDeleteSprint:ce,onAddProject:pe,onUpdateProject:ge,onDeleteProject:me,onFileAdd:ke,onFileEdit:Te,onFileDelete:ue,onFileClick:fe,onAddReminder:he,onUpdateReminder:De,onDeleteReminder:Se,onViewChange:Ee,onToggleMobileMenu:ve,onTeamClick:nt,onTeamChange:st,onCopilotClick:at}){let[p,d]=s(h),[r,g]=s(D),[c,m]=s(S),[F,k]=s(E),[Ae,T]=s(v),[U,we]=s(A),[M,Pe]=s(w),[Ce,O]=s(P),[Ue,R]=s(!1),[be,V]=s(!1),[ye,j]=s(null),[Fe,I]=s(null),[B,N]=s(null),[l,x]=s(C||"kanban"),[Me,Oe]=s(!1),G=Ye();o(()=>{d(h)},[h]),o(()=>{m(S)},[S]),o(()=>{g(D)},[D]),o(()=>{k(E)},[E]),o(()=>{O(P)},[P]),o(()=>{Pe(w)},[w]),o(()=>{we(A)},[A]),o(()=>{T(v)},[v]),o(()=>{x(C)},[C]);let Re=r.filter(e=>e.isSelected).map(e=>e.id),u=c.find(e=>e.isSelected),Ve=p.filter(e=>{let t=Re.includes(e.epicId);return!u||u.id==="all-tasks"?t:u.id==="backlog"?t&&!e.sprintId:t&&e.sprintId===u.id}),ot=e=>Ve.filter(t=>t.status===e),dt=e=>{let t={};return r.forEach(i=>{t[i.id]=e.filter(n=>n.epicId===i.id)}),t},rt=e=>{N(e)},lt=e=>{B&&(d(t=>t.map(i=>i.id===B.id?{...i,status:e}:i)),N(null))},H=e=>{let t={...e,id:Date.now().toString(),createdAt:new Date};d(i=>[...i,t]),ie?.(t)},f=(e,t)=>{d(i=>i.map(n=>n.id===e?{...n,...t}:n)),ne?.(e,t)},ct=async(e,t)=>{f(e,t)},K=e=>{d(t=>t.filter(i=>i.id!==e)),ye?.id===e&&j(null),se?.(e)},pt=async e=>{K(e)},je=e=>{let t={...e,id:Date.now().toString(),isSelected:!1};k(i=>[...i,t]),pe?.(e)},Ie=(e,t)=>{k(i=>i.map(n=>n.id===e?t.isSelected?(G.push(`/project/${e}`),{...n,...t}):{...n,...t}:t.isSelected&&e!==n.id?{...n,isSelected:!1}:n)),ge?.(e,t)},Be=e=>{k(t=>t.filter(i=>i.id!==e)),me?.(e)},W=e=>{let t={...e,id:Date.now().toString(),isSelected:!0};g(i=>[...i,t]),ae?.({...t})},$=()=>{V(!0)},q=(e,t)=>{g(i=>i.map(n=>n.id===e?{...n,...t}:n)),oe?.(e,t)},z=e=>{g(t=>t.filter(i=>i.id!==e)),d(t=>t.filter(i=>i.epicId!==e)),de?.(e)},J=e=>{let t={...e,id:Date.now().toString(),isSelected:!1};m(i=>[...i,t]),re?.(e)},Ne=(e,t)=>{m(i=>i.map(n=>n.id===e?t.isSelected?{...n,...t}:{...n,...t}:t.isSelected&&e!==n.id?{...n,isSelected:!1}:n)),le?.(e,t)},xe=e=>{e==="backlog"||e==="all-tasks"||(m(t=>t.filter(i=>i.id!==e)),d(t=>t.map(i=>i.sprintId===e?{...i,sprintId:void 0}:i)),ce?.(e))},b=e=>{j(e)},Ge=e=>{e==="planning"&&window.innerWidth<768||(x(e),Ee?.(e))},He=()=>{Oe(e=>!e),ve?.()},gt=()=>{G.push("/")},mt=e=>{console.log("Switching to team:",e)},kt=e=>{console.log("Switching to team:",e)},Ke=e=>{I(e),R(!0)},We=()=>{R(!1),I(null)},$e=e=>{let t={...e,id:Date.now().toString(),createdAt:new Date};T(i=>[...i,t]),he?.(e)},qe=(e,t)=>{T(i=>i.map(n=>n.id===e?{...n,...t}:n)),De?.(e,t)},ze=e=>{T(t=>t.filter(i=>i.id!==e)),Se?.(e)},Je=()=>{ke?.()},Le=e=>{Te?.(e)},Qe=e=>{O(t=>t.filter(i=>i.name!==e)),ue?.(e)},Xe=e=>{fe?.(e)},Tt=[{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"}],ut=()=>{switch(l){case"kanban":return"Project Board";case"planning":return"Sprint Planning";case"tasks":return"Task Reminders";case"files":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")}],ft=y.sort((e,t)=>t.lastUsed.getTime()-e.lastUsed.getTime()).slice(0,3),ht=y.length>3,Dt=y.slice(3);return _e(L,{projects:F,epics:r,sprints:c,currentView:l,onUpdateProject:Ie,onDeleteProject:Be,onAddProject:je,onUpdateEpic:q,onDeleteEpic:z,onAddEpic:$,onAddSprint:J,onUpdateSprint:Ne,onDeleteSprint:xe,onViewChange:Ge,mobileMenuOpen:Me,onToggleMobileMenu:He,children:[l==="kanban"&&a("div",{className:"h-full",children:a(Z,{initialProjects:F,initialEpics:r,initialSprints:c,initialTasks:p,initialColleagues:U,initialUsers:M,onAddTask:H,onUpdateTask:f,onDeleteTask:K,onTaskClick:b,onAddEpic:W})}),l==="planning"&&a("div",{className:"hidden md:block h-full",children:a(ee,{tasks:p,epics:r,sprints:c,onUpdateTask:f,onTaskClick:b,onAddSprint:J})}),l==="tasks"&&a("div",{className:"h-full",children:a(te,{initialReminders:Ae,initialColleagues:U,onAddReminder:$e,onUpdateReminder:qe,onDeleteReminder:ze})}),l==="files"&&a("div",{className:"h-full",children:a(Q,{initialFiles:Ce,onFileAdd:Je,onFileEdit:Le,onFileDelete:Qe,onFileClick:Xe,compactView:!1})}),l==="epics"&&a("div",{className:"h-full",children:a(_,{tasks:p,epics:r,sprints:c,onUpdateTask:f,onTaskClick:b,onAddTaskToEpic:Ke,onAddEpic:$,onUpdateEpic:q,onDeleteEpic:z})}),a(X,{isOpen:Ue,onClose:We,onAddTask:H,epics:r,sprints:c,assignees:[...U,...M],defaultEpicId:Fe||void 0}),a(Y,{isOpen:be,onClose:()=>V(!1),onAddEpic:W})]})}export{Ze as a};
@@ -1 +1 @@
1
- import{a as m}from"./chunk-KVD6XDZT.mjs";import{Droppable as u,Draggable as d}from"@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration";import{jsx as t,jsxs as e}from"react/jsx-runtime";function S({status:o,deals:r,users:b,customers:f,categories:i,onDealClick:n,calculateColumnValue:p,calculateWeightedValue:c,compact:g=!1}){return e("div",{className:"flex flex-col w-80",children:[e("h2",{className:"text-xl font-semibold mb-4",children:[" ",o.charAt(0).toUpperCase()+o.slice(1)]}),t(u,{droppableId:o,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,D)=>t(d,{draggableId:a.id.toString(),index:a.id,children:s=>t("div",{ref:s.innerRef,...s.draggableProps,...s.dragHandleProps,children:t(m,{deal:a,customer:a.customer,categories:i,onClick:()=>n(a),compact:g})})},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",p(r).toLocaleString()]})]}),e("p",{className:"font-semibold",children:["Weighted:"," ",e("span",{className:"text-blue-600",children:["\xA3",c(r,o).toLocaleString()]})]})]})]})}export{S as a};
1
+ import{a as m}from"./chunk-HTCM27MI.mjs";import{Droppable as u,Draggable as d}from"@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration";import{jsx as t,jsxs as e}from"react/jsx-runtime";function S({status:o,deals:r,users:b,customers:f,categories:i,onDealClick:n,calculateColumnValue:p,calculateWeightedValue:c,compact:g=!1}){return e("div",{className:"flex flex-col w-80",children:[e("h2",{className:"text-xl font-semibold mb-4",children:[" ",o.charAt(0).toUpperCase()+o.slice(1)]}),t(u,{droppableId:o,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,D)=>t(d,{draggableId:a.id.toString(),index:a.id,children:s=>t("div",{ref:s.innerRef,...s.draggableProps,...s.dragHandleProps,children:t(m,{deal:a,customer:a.customer,categories:i,onClick:()=>n(a),compact:g})})},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",p(r).toLocaleString()]})]}),e("p",{className:"font-semibold",children:["Weighted:"," ",e("span",{className:"text-blue-600",children:["\xA3",c(r,o).toLocaleString()]})]})]})]})}export{S as a};
@@ -1 +1 @@
1
- import{a}from"./chunk-MDJREBVI.mjs";import{jsx as t,jsxs as l}from"react/jsx-runtime";function m({className:s,badge:e,title:o,subtitle:r}){return l("div",{className:a("relative overflow-hidden rounded-xl bg-gradient-to-br from-[#A42368] to-[#A42368] m-6 px-6 py-16 md:px-12 md:py-24",s),children:[l("div",{className:"relative z-10 mx-auto max-w-4xl text-center",children:[e&&t("div",{className:"mb-4",children:t("span",{className:"inline-block rounded-lg bg-[#A42368]/50 px-4 py-1.5 text-sm font-medium text-white backdrop-blur-sm",children:e})}),t("h1",{className:"mt-6 text-3xl font-bold tracking-tight text-white sm:text-4xl md:text-5xl lg:text-6xl",children:o}),t("p",{className:"mt-6 text-base text-gray-300 sm:text-lg md:text-xl",children:r})]}),t("div",{className:"absolute bottom-0 left-1/2 h-48 w-full -translate-x-1/2",style:{background:"radial-gradient(50% 50% at 50% 100%, rgba(164, 35, 104, 0.1) 0%, rgba(164, 35, 104, 0) 100%)"}}),t("div",{className:"absolute bottom-0 left-1/2 h-32 w-full -translate-x-1/2",children:t("svg",{viewBox:"0 0 1113 170",fill:"none",className:"absolute bottom-0 opacity-10",children:t("path",{d:"M-19 170H1113V0C1113 0 1001.5 101.5 547.5 101.5C93.5 101.5 -19 170 -19 170Z",fill:"currentColor",className:"text-white"})})})]})}export{m as a};
1
+ import{a}from"./chunk-TSEOL53Y.mjs";import{jsx as t,jsxs as l}from"react/jsx-runtime";function m({className:s,badge:e,title:o,subtitle:r}){return l("div",{className:a("relative overflow-hidden rounded-xl bg-gradient-to-br from-[#A42368] to-[#A42368] m-6 px-6 py-16 md:px-12 md:py-24",s),children:[l("div",{className:"relative z-10 mx-auto max-w-4xl text-center",children:[e&&t("div",{className:"mb-4",children:t("span",{className:"inline-block rounded-lg bg-[#A42368]/50 px-4 py-1.5 text-sm font-medium text-white backdrop-blur-sm",children:e})}),t("h1",{className:"mt-6 text-3xl font-bold tracking-tight text-white sm:text-4xl md:text-5xl lg:text-6xl",children:o}),t("p",{className:"mt-6 text-base text-gray-300 sm:text-lg md:text-xl",children:r})]}),t("div",{className:"absolute bottom-0 left-1/2 h-48 w-full -translate-x-1/2",style:{background:"radial-gradient(50% 50% at 50% 100%, rgba(164, 35, 104, 0.1) 0%, rgba(164, 35, 104, 0) 100%)"}}),t("div",{className:"absolute bottom-0 left-1/2 h-32 w-full -translate-x-1/2",children:t("svg",{viewBox:"0 0 1113 170",fill:"none",className:"absolute bottom-0 opacity-10",children:t("path",{d:"M-19 170H1113V0C1113 0 1001.5 101.5 547.5 101.5C93.5 101.5 -19 170 -19 170Z",fill:"currentColor",className:"text-white"})})})]})}export{m as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as u,b as p,c}from"./chunk-RLVKIMGU.mjs";import{a as t,b as l,i as s,j as d}from"./chunk-OCPX4QPC.mjs";import{b as m}from"./chunk-ZUA4KNIR.mjs";import{motion as g}from"motion/react";import{ChevronDown as x}from"lucide-react";import{jsx as a,jsxs as o}from"react/jsx-runtime";function M({activeTab:i,onTabChange:r,tabOptions:n,className:v="",maxWidth:f="700px",gridCols:h=6}){let w=n.find(e=>e.value===i);return o(g.div,{className:`flex-1 flex justify-center ${v}`,initial:{opacity:0,y:-20},animate:{opacity:1,y:0},transition:{duration:.3,ease:"easeOut"},children:[a("div",{className:"hidden lg:block",children:a(u,{value:i,onValueChange:r,children:a(p,{className:"grid w-full rounded-2xl p-0 h-10",style:{maxWidth:f,gridTemplateColumns:`repeat(${Math.min(h,n.length)}, minmax(0, 1fr))`},children:n.map(e=>a(g.div,{whileHover:{scale:1.1},whileTap:{scale:.98},transition:{type:"spring",stiffness:400,damping:17},className:"flex-1 px-2",children:a(c,{value:e.value,className:"w-full h-8 rounded-xl data-[state=active]:rounded-xl transition-all duration-200 hover:border hover:border-accent hover:bg-accent/10 px-4 py-2 text-sm font-medium",children:e.label})},e.value))})})}),a("div",{className:"lg:hidden",children:o(t,{children:[a(l,{asChild:!0,children:o(m,{variant:"outline",className:"rounded-2xl min-w-[140px] justify-between",children:[w?.label||"Select",a(x,{className:"h-4 w-4 ml-2"})]})}),a(s,{align:"center",className:"w-[180px]",children:n.map(e=>a(d,{onClick:()=>r?.(e.value),className:`cursor-pointer ${i===e.value?"bg-accent":""}`,children:e.label},e.value))})]})})]})}export{M as a};
4
+ import{a as u,b as p,c}from"./chunk-P5U27QUJ.mjs";import{a as t,b as l,i as s,j as d}from"./chunk-DGJHJHFF.mjs";import{b as m}from"./chunk-7Z3TOFNL.mjs";import{motion as g}from"motion/react";import{ChevronDown as x}from"lucide-react";import{jsx as a,jsxs as o}from"react/jsx-runtime";function M({activeTab:i,onTabChange:r,tabOptions:n,className:v="",maxWidth:f="700px",gridCols:h=6}){let w=n.find(e=>e.value===i);return o(g.div,{className:`flex-1 flex justify-center ${v}`,initial:{opacity:0,y:-20},animate:{opacity:1,y:0},transition:{duration:.3,ease:"easeOut"},children:[a("div",{className:"hidden lg:block",children:a(u,{value:i,onValueChange:r,children:a(p,{className:"grid w-full rounded-2xl p-0 h-10",style:{maxWidth:f,gridTemplateColumns:`repeat(${Math.min(h,n.length)}, minmax(0, 1fr))`},children:n.map(e=>a(g.div,{whileHover:{scale:1.1},whileTap:{scale:.98},transition:{type:"spring",stiffness:400,damping:17},className:"flex-1 px-2",children:a(c,{value:e.value,className:"w-full h-8 rounded-xl data-[state=active]:rounded-xl transition-all duration-200 hover:border hover:border-accent hover:bg-accent/10 px-4 py-2 text-sm font-medium",children:e.label})},e.value))})})}),a("div",{className:"lg:hidden",children:o(t,{children:[a(l,{asChild:!0,children:o(m,{variant:"outline",className:"rounded-2xl min-w-[140px] justify-between",children:[w?.label||"Select",a(x,{className:"h-4 w-4 ml-2"})]})}),a(s,{align:"center",className:"w-[180px]",children:n.map(e=>a(d,{onClick:()=>r?.(e.value),className:`cursor-pointer ${i===e.value?"bg-accent":""}`,children:e.label},e.value))})]})})]})}export{M as a};
@@ -1 +1 @@
1
- import{a as l}from"./chunk-M7NV6EFH.mjs";import{a as r}from"./chunk-KML6U7IE.mjs";import{a as o}from"./chunk-SRUG246N.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-CXXPSCV3.mjs";import{a as r}from"./chunk-KML6U7IE.mjs";import{a as o}from"./chunk-FJUAYJF4.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,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as w}from"./chunk-QQVPLMPJ.mjs";import{a as g}from"./chunk-B4H6T2GP.mjs";import{a as p}from"./chunk-TVZOULLL.mjs";import{a as C}from"./chunk-L5JPAKPM.mjs";import{b as u}from"./chunk-ZUA4KNIR.mjs";import{b as h}from"./chunk-CSBGSBEU.mjs";import{a as k,b as N,c as S,e as x}from"./chunk-YO3GQYRJ.mjs";import{useState as b,useEffect as J}from"react";import{Bot as O,Plus as W,X,Edit as _}from"lucide-react";import{jsx as a,jsxs as o}from"react/jsx-runtime";function le({colleague:d,onSave:I,onCancel:A,isLoading:i=!1,title:F,submitLabel:K,cancelLabel:B="Cancel",readOnly:E=!1,availableKnowledgeDocuments:D=[]}){let[e,r]=b({type:"digital",name:"",description:"",jobDescription:"",workInstructions:"",capabilities:[],knowledge:[],coreKnowledge:[],version:"1",...d}),[G,Q]=b(""),[j,P]=b(""),[l,T]=b(!E);J(()=>{d&&r(d)},[d]);let R=t=>{t.preventDefault();let s=e.version?parseInt(e.version):0,n=d?(s+1).toString():"1",c={id:e.id||Date.now().toString(),name:e.name,type:"digital",status:"active",joinedDate:e.joinedDate||new Date,lastActive:e.lastActive||new Date,description:e.description,jobDescription:e.jobDescription||"",workInstructions:e.workInstructions||"",capabilities:e.capabilities||[],knowledge:e.knowledge||[],coreKnowledge:e.coreKnowledge||[],version:n,lastUpdated:e.lastUpdated||new Date,isActive:!0};I(c)},f=(t,s,n)=>{if(!s.trim())return;let c=e[t]||[];r({...e,[t]:[...c,s.trim()]}),n("")},U=(t,s)=>{let n=e[t]||[];r({...e,[t]:n.filter((c,v)=>v!==s)})},$=t=>{t.preventDefault(),T(!l)},q=(t,s,n,c,v)=>{let M=e[t]||[];return o("div",{className:"space-y-2",children:[a(p,{children:s}),l&&o("div",{className:"flex gap-2",children:[a(C,{value:n,onChange:m=>c(m.target.value),placeholder:v,onKeyPress:m=>{m.key==="Enter"&&(m.preventDefault(),f(t,n,c))},disabled:i}),a(u,{type:"button",variant:"outline",size:"icon",onClick:()=>f(t,n,c),disabled:i,children:a(W,{className:"h-4 w-4"})})]}),a("div",{className:"flex flex-wrap gap-2",children:M.map((m,y)=>o(h,{className:"gap-1",children:[m,l&&a(u,{type:"button",variant:"ghost",size:"icon",className:"h-4 w-4 p-0 hover:bg-accent hover:text-accent-foreground",onClick:()=>U(t,y),disabled:i,children:a(X,{className:"h-3 w-3"})})]},`${t}-${y}-${m}`))})]})},z=F||(l?d?"Edit Colleague":"Add New Colleague":"View Colleague"),H=K||(d?"Update Colleague":"Add Colleague");return o(k,{className:"m-8 w-full max-w-4xl mx-auto",children:[a(N,{children:o(S,{className:"flex items-center gap-2",children:[a(O,{className:"h-5 w-5"}),z]})}),a(x,{children:o("form",{onSubmit:R,className:"space-y-6",children:[o("div",{className:"space-y-4",children:[o("div",{className:"space-y-2",children:[a(p,{htmlFor:"name",children:"Name *"}),a(C,{id:"name",value:e.name||"",onChange:t=>r({...e,name:t.target.value}),required:!0,disabled:i||!l})]}),o("div",{className:"space-y-2",children:[a(p,{htmlFor:"description",children:"Description"}),a(g,{id:"description",value:e.description||"",onChange:t=>r({...e,description:t.target.value}),rows:3,placeholder:"Brief description of this digital colleague...",disabled:i||!l})]})]}),o("div",{className:"space-y-4",children:[a("h3",{className:"text-lg font-semibold",children:"Digital Colleague Details"}),o("div",{className:"space-y-2",children:[a(p,{htmlFor:"jobDescription",children:"Job Description *"}),a(g,{id:"jobDescription",value:e.jobDescription||"",onChange:t=>r({...e,jobDescription:t.target.value}),rows:4,required:e.type==="digital",disabled:i||!l})]}),o("div",{className:"space-y-2",children:[a(p,{htmlFor:"workInstructions",children:"Work Instructions"}),a(g,{id:"workInstructions",value:e.workInstructions||"",onChange:t=>r({...e,workInstructions:t.target.value}),rows:4,placeholder:"Enter detailed work instructions for this digital colleague...",disabled:i||!l})]}),q("capabilities","Capabilities",j,P,"Add capability"),a(w,{selectedDocuments:e.knowledge||[],onDocumentsChange:t=>r({...e,knowledge:t}),label:"Knowledge",placeholder:"Search for knowledge documents to add...",disabled:i||!l,availableDocuments:D}),a(w,{selectedDocuments:e.coreKnowledge||[],onDocumentsChange:t=>r({...e,coreKnowledge:t}),label:"Core Knowledge",placeholder:"Search for core knowledge documents...",maxSelections:5,disabled:i||!l,availableDocuments:D})]}),o("div",{className:"flex justify-end gap-2 pt-4 border-t",children:[a(u,{type:"button",variant:"outline",onClick:A,disabled:i,children:l?B:"Close"}),l?a(u,{type:"submit",disabled:i,children:i?"Saving...":H}):o(u,{type:"button",onClick:$,disabled:i,className:"gap-2",children:[a(_,{className:"h-4 w-4"}),"Edit"]})]})]})})]})}export{le as a};
4
+ import{a as w}from"./chunk-JTFMN7OL.mjs";import{a as g}from"./chunk-VXZPPTQQ.mjs";import{a as p}from"./chunk-RAAY7PEH.mjs";import{a as C}from"./chunk-GJUA2KUH.mjs";import{b as u}from"./chunk-7Z3TOFNL.mjs";import{b as h}from"./chunk-2JKLBLDE.mjs";import{a as k,b as N,c as S,e as x}from"./chunk-7WKUKFCT.mjs";import{useState as b,useEffect as J}from"react";import{Bot as O,Plus as W,X,Edit as _}from"lucide-react";import{jsx as a,jsxs as o}from"react/jsx-runtime";function le({colleague:d,onSave:I,onCancel:A,isLoading:i=!1,title:F,submitLabel:K,cancelLabel:B="Cancel",readOnly:E=!1,availableKnowledgeDocuments:D=[]}){let[e,r]=b({type:"digital",name:"",description:"",jobDescription:"",workInstructions:"",capabilities:[],knowledge:[],coreKnowledge:[],version:"1",...d}),[G,Q]=b(""),[j,P]=b(""),[l,T]=b(!E);J(()=>{d&&r(d)},[d]);let R=t=>{t.preventDefault();let s=e.version?parseInt(e.version):0,n=d?(s+1).toString():"1",c={id:e.id||Date.now().toString(),name:e.name,type:"digital",status:"active",joinedDate:e.joinedDate||new Date,lastActive:e.lastActive||new Date,description:e.description,jobDescription:e.jobDescription||"",workInstructions:e.workInstructions||"",capabilities:e.capabilities||[],knowledge:e.knowledge||[],coreKnowledge:e.coreKnowledge||[],version:n,lastUpdated:e.lastUpdated||new Date,isActive:!0};I(c)},f=(t,s,n)=>{if(!s.trim())return;let c=e[t]||[];r({...e,[t]:[...c,s.trim()]}),n("")},U=(t,s)=>{let n=e[t]||[];r({...e,[t]:n.filter((c,v)=>v!==s)})},$=t=>{t.preventDefault(),T(!l)},q=(t,s,n,c,v)=>{let M=e[t]||[];return o("div",{className:"space-y-2",children:[a(p,{children:s}),l&&o("div",{className:"flex gap-2",children:[a(C,{value:n,onChange:m=>c(m.target.value),placeholder:v,onKeyPress:m=>{m.key==="Enter"&&(m.preventDefault(),f(t,n,c))},disabled:i}),a(u,{type:"button",variant:"outline",size:"icon",onClick:()=>f(t,n,c),disabled:i,children:a(W,{className:"h-4 w-4"})})]}),a("div",{className:"flex flex-wrap gap-2",children:M.map((m,y)=>o(h,{className:"gap-1",children:[m,l&&a(u,{type:"button",variant:"ghost",size:"icon",className:"h-4 w-4 p-0 hover:bg-accent hover:text-accent-foreground",onClick:()=>U(t,y),disabled:i,children:a(X,{className:"h-3 w-3"})})]},`${t}-${y}-${m}`))})]})},z=F||(l?d?"Edit Colleague":"Add New Colleague":"View Colleague"),H=K||(d?"Update Colleague":"Add Colleague");return o(k,{className:"m-8 w-full max-w-4xl mx-auto",children:[a(N,{children:o(S,{className:"flex items-center gap-2",children:[a(O,{className:"h-5 w-5"}),z]})}),a(x,{children:o("form",{onSubmit:R,className:"space-y-6",children:[o("div",{className:"space-y-4",children:[o("div",{className:"space-y-2",children:[a(p,{htmlFor:"name",children:"Name *"}),a(C,{id:"name",value:e.name||"",onChange:t=>r({...e,name:t.target.value}),required:!0,disabled:i||!l})]}),o("div",{className:"space-y-2",children:[a(p,{htmlFor:"description",children:"Description"}),a(g,{id:"description",value:e.description||"",onChange:t=>r({...e,description:t.target.value}),rows:3,placeholder:"Brief description of this digital colleague...",disabled:i||!l})]})]}),o("div",{className:"space-y-4",children:[a("h3",{className:"text-lg font-semibold",children:"Digital Colleague Details"}),o("div",{className:"space-y-2",children:[a(p,{htmlFor:"jobDescription",children:"Job Description *"}),a(g,{id:"jobDescription",value:e.jobDescription||"",onChange:t=>r({...e,jobDescription:t.target.value}),rows:4,required:e.type==="digital",disabled:i||!l})]}),o("div",{className:"space-y-2",children:[a(p,{htmlFor:"workInstructions",children:"Work Instructions"}),a(g,{id:"workInstructions",value:e.workInstructions||"",onChange:t=>r({...e,workInstructions:t.target.value}),rows:4,placeholder:"Enter detailed work instructions for this digital colleague...",disabled:i||!l})]}),q("capabilities","Capabilities",j,P,"Add capability"),a(w,{selectedDocuments:e.knowledge||[],onDocumentsChange:t=>r({...e,knowledge:t}),label:"Knowledge",placeholder:"Search for knowledge documents to add...",disabled:i||!l,availableDocuments:D}),a(w,{selectedDocuments:e.coreKnowledge||[],onDocumentsChange:t=>r({...e,coreKnowledge:t}),label:"Core Knowledge",placeholder:"Search for core knowledge documents...",maxSelections:5,disabled:i||!l,availableDocuments:D})]}),o("div",{className:"flex justify-end gap-2 pt-4 border-t",children:[a(u,{type:"button",variant:"outline",onClick:A,disabled:i,children:l?B:"Close"}),l?a(u,{type:"submit",disabled:i,children:i?"Saving...":H}):o(u,{type:"button",onClick:$,disabled:i,className:"gap-2",children:[a(_,{className:"h-4 w-4"}),"Edit"]})]})]})})]})}export{le as a};