cortex-react-components 2.12.2 → 2.12.3

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 (669) hide show
  1. package/dist/{chunk-OU7KVCBI.mjs → chunk-22LHS2J6.mjs} +1 -1
  2. package/dist/{chunk-DFWWQRJ2.mjs → chunk-255P6K5W.mjs} +1 -1
  3. package/dist/{chunk-QXA6C5VE.mjs → chunk-2BR55L74.mjs} +1 -1
  4. package/dist/{chunk-6PQ67CC6.mjs → chunk-2LINLX4S.mjs} +1 -1
  5. package/dist/{chunk-JULD2KZR.mjs → chunk-2QZUKVBA.mjs} +1 -1
  6. package/dist/{chunk-5N2D3BGH.mjs → chunk-2RGAV55J.mjs} +1 -1
  7. package/dist/{chunk-FT6JQ4AC.mjs → chunk-2RQDJ5XT.mjs} +1 -1
  8. package/dist/chunk-3QZKRKMP.mjs +1 -0
  9. package/dist/{chunk-AG6IN5S7.mjs → chunk-3UMMMQEH.mjs} +1 -1
  10. package/dist/{chunk-HTQIVWYI.mjs → chunk-444KBVNL.mjs} +1 -1
  11. package/dist/chunk-4A3MGS6I.mjs +1 -0
  12. package/dist/{chunk-2C3C5SQQ.mjs → chunk-4CU7D3X2.mjs} +1 -1
  13. package/dist/{chunk-ZJBZTPLD.mjs → chunk-4QRKVSTE.mjs} +1 -1
  14. package/dist/{chunk-T3NMKARZ.mjs → chunk-4UIARERB.mjs} +1 -1
  15. package/dist/{chunk-D42KIYIO.mjs → chunk-4WA47ZQA.mjs} +1 -1
  16. package/dist/{chunk-PXAKUW3U.mjs → chunk-56X4PU43.mjs} +1 -1
  17. package/dist/{chunk-ZNV6MCYI.mjs → chunk-5AWZJAK3.mjs} +1 -1
  18. package/dist/{chunk-Z756RYIZ.mjs → chunk-5BT4EWU5.mjs} +1 -1
  19. package/dist/{chunk-WWTVAR4J.mjs → chunk-5BV4MHV6.mjs} +1 -1
  20. package/dist/{chunk-PMOMDGBA.mjs → chunk-5NRGSTPV.mjs} +1 -1
  21. package/dist/{chunk-EPDV35LO.mjs → chunk-5RTGHMF3.mjs} +1 -1
  22. package/dist/{chunk-VFPS3FYN.mjs → chunk-5SHZBJ5R.mjs} +1 -1
  23. package/dist/{chunk-H45UTXIK.mjs → chunk-5WV5ZFEP.mjs} +1 -1
  24. package/dist/{chunk-BUTUPCGN.mjs → chunk-5WVFEIMC.mjs} +1 -1
  25. package/dist/{chunk-EYQ4UGAJ.mjs → chunk-67QPOSVV.mjs} +1 -1
  26. package/dist/{chunk-OGN7YDFB.mjs → chunk-6C4WESLL.mjs} +1 -1
  27. package/dist/{chunk-GFLX67DN.mjs → chunk-6DEY5ZDD.mjs} +1 -1
  28. package/dist/{chunk-QEFMYXHA.mjs → chunk-6HLXIE4P.mjs} +1 -1
  29. package/dist/{chunk-TUTSJOO4.mjs → chunk-6SWKEZN6.mjs} +1 -1
  30. package/dist/{chunk-QAIS2C6W.mjs → chunk-6WQXZ6IE.mjs} +1 -1
  31. package/dist/{chunk-TYMRNSJ3.mjs → chunk-6XUIHSKG.mjs} +1 -1
  32. package/dist/{chunk-LQDJWEHX.mjs → chunk-76M7JE4D.mjs} +1 -1
  33. package/dist/{chunk-F5JHHMZQ.mjs → chunk-7BXIU4ZM.mjs} +1 -1
  34. package/dist/{chunk-QB63WPDB.mjs → chunk-7GMAMIHM.mjs} +1 -1
  35. package/dist/{chunk-HH4JDBUN.mjs → chunk-7GSXNSLD.mjs} +1 -1
  36. package/dist/{chunk-52UFJIL4.mjs → chunk-7VDNUJZC.mjs} +1 -1
  37. package/dist/{chunk-ESTO675Y.mjs → chunk-7WIO2CIC.mjs} +1 -1
  38. package/dist/{chunk-CXK2IY4V.mjs → chunk-AB43AQKL.mjs} +1 -1
  39. package/dist/{chunk-GZQ7JEUL.mjs → chunk-AMV3MECK.mjs} +1 -1
  40. package/dist/{chunk-TFPWTJ2V.mjs → chunk-AMVJPDM3.mjs} +1 -1
  41. package/dist/{chunk-YVNVQONM.mjs → chunk-AREQGH47.mjs} +1 -1
  42. package/dist/{chunk-SIFQNSEM.mjs → chunk-AZ4VR5JX.mjs} +1 -1
  43. package/dist/{chunk-GIGKJZGA.mjs → chunk-AZKOVKSK.mjs} +1 -1
  44. package/dist/{chunk-DA5SDQDL.mjs → chunk-B2EJGXDG.mjs} +1 -1
  45. package/dist/{chunk-JKPUXPHP.mjs → chunk-B3F6F2S4.mjs} +1 -1
  46. package/dist/{chunk-VXZPPTQQ.mjs → chunk-B4H6T2GP.mjs} +1 -1
  47. package/dist/{chunk-XXFUUOSB.mjs → chunk-BG7QXNV5.mjs} +1 -1
  48. package/dist/{chunk-U5UV7T63.mjs → chunk-BMA4266L.mjs} +1 -1
  49. package/dist/{chunk-UJ6M7EV5.mjs → chunk-CGDLOY7W.mjs} +1 -1
  50. package/dist/{chunk-3JEM6RIR.mjs → chunk-CO6AQNZ5.mjs} +1 -1
  51. package/dist/{chunk-2JKLBLDE.mjs → chunk-CSBGSBEU.mjs} +1 -1
  52. package/dist/{chunk-TAVSBP7M.mjs → chunk-CTAIR3TE.mjs} +1 -1
  53. package/dist/{chunk-QUDKEIE6.mjs → chunk-D3B2YO7G.mjs} +1 -1
  54. package/dist/{chunk-BEPKJ67R.mjs → chunk-D4IMQTVU.mjs} +1 -1
  55. package/dist/{chunk-NMAMUYGQ.mjs → chunk-DBY4SXQI.mjs} +1 -1
  56. package/dist/{chunk-N5GHL7UZ.mjs → chunk-DFIXTV2M.mjs} +1 -1
  57. package/dist/{chunk-X5RHYJW3.mjs → chunk-DKT6U7AO.mjs} +1 -1
  58. package/dist/{chunk-AQIMDHFI.mjs → chunk-DSSHQ6K7.mjs} +1 -1
  59. package/dist/{chunk-7EEEXU54.mjs → chunk-E4TE4NV6.mjs} +1 -1
  60. package/dist/{chunk-6PBOA7BL.mjs → chunk-EAFH3DTH.mjs} +1 -1
  61. package/dist/{chunk-WNBJ7C5Y.mjs → chunk-EHSOO47V.mjs} +1 -1
  62. package/dist/{chunk-3KBY7FKD.mjs → chunk-EOXVYLPB.mjs} +1 -1
  63. package/dist/{chunk-YHTFEWSZ.mjs → chunk-ERJXTG6X.mjs} +1 -1
  64. package/dist/{chunk-44JXFP6W.mjs → chunk-F5N6KQA2.mjs} +1 -1
  65. package/dist/{chunk-F6KHZ4OS.mjs → chunk-FEI5NFYO.mjs} +1 -1
  66. package/dist/{chunk-6CAO4IKW.mjs → chunk-FGEFYI5E.mjs} +1 -1
  67. package/dist/{chunk-A4XWPIEI.mjs → chunk-FHMQVAKQ.mjs} +1 -1
  68. package/dist/{chunk-4OAROJ4M.mjs → chunk-FKU4VQR6.mjs} +1 -1
  69. package/dist/{chunk-VRZHKAJK.mjs → chunk-FMH5CZ7X.mjs} +1 -1
  70. package/dist/{chunk-TNCD5YIY.mjs → chunk-FMJBJ3HN.mjs} +1 -1
  71. package/dist/{chunk-JVJG2LOA.mjs → chunk-FT3AE7L2.mjs} +1 -1
  72. package/dist/{chunk-OKAETRO6.mjs → chunk-FTZRG54P.mjs} +1 -1
  73. package/dist/{chunk-C4SUCDRQ.mjs → chunk-GSOFCLPO.mjs} +1 -1
  74. package/dist/{chunk-VB7K44IF.mjs → chunk-H3CJOE6S.mjs} +1 -1
  75. package/dist/{chunk-BXVJNWFA.mjs → chunk-HKGW6JI2.mjs} +1 -1
  76. package/dist/{chunk-A5TPL5CB.mjs → chunk-I2GNNRFH.mjs} +1 -1
  77. package/dist/{chunk-OHDNPAPI.mjs → chunk-I3E2TYYZ.mjs} +1 -1
  78. package/dist/{chunk-2LLMXGTP.mjs → chunk-IC2ABKAM.mjs} +1 -1
  79. package/dist/{chunk-5AYDHF5U.mjs → chunk-IF3425JX.mjs} +1 -1
  80. package/dist/{chunk-QIDPNZOL.mjs → chunk-IJQC7T2R.mjs} +1 -1
  81. package/dist/{chunk-E6IIUYQ7.mjs → chunk-IK3GOCAU.mjs} +1 -1
  82. package/dist/{chunk-NQPBIFGO.mjs → chunk-INCYANPB.mjs} +1 -1
  83. package/dist/{chunk-XXWSCTF5.mjs → chunk-INPV5MBU.mjs} +1 -1
  84. package/dist/{chunk-N5BLWWDM.mjs → chunk-IQQ7ZWCP.mjs} +1 -1
  85. package/dist/{chunk-NGC3C4FW.mjs → chunk-ISBVFNWD.mjs} +1 -1
  86. package/dist/{chunk-EBO2R46A.mjs → chunk-J4IHIM6A.mjs} +1 -1
  87. package/dist/{chunk-7QBPKUWN.mjs → chunk-JFFTEK6Z.mjs} +1 -1
  88. package/dist/{chunk-E6W2YMC3.mjs → chunk-JHNVX4UB.mjs} +1 -1
  89. package/dist/{chunk-4OK6PUOO.mjs → chunk-JYL3XIJX.mjs} +1 -1
  90. package/dist/{chunk-UXCCCQCB.mjs → chunk-KFCSVEI6.mjs} +1 -1
  91. package/dist/{chunk-GNIVCF53.mjs → chunk-KGEIN56Y.mjs} +1 -1
  92. package/dist/{chunk-HTCM27MI.mjs → chunk-KVD6XDZT.mjs} +1 -1
  93. package/dist/{chunk-GYTXBVCX.mjs → chunk-KX2NCNCS.mjs} +1 -1
  94. package/dist/{chunk-BIAOADJS.mjs → chunk-KY7WQYN4.mjs} +1 -1
  95. package/dist/{chunk-7RKPUKFH.mjs → chunk-L3BLBPSR.mjs} +1 -1
  96. package/dist/{chunk-GJUA2KUH.mjs → chunk-L5JPAKPM.mjs} +1 -1
  97. package/dist/{chunk-WJZDHRGO.mjs → chunk-LAQ3QAUW.mjs} +1 -1
  98. package/dist/{chunk-5WDNNO37.mjs → chunk-LBUC4M6L.mjs} +1 -1
  99. package/dist/{chunk-HPZPRZWG.mjs → chunk-LEC6GEWS.mjs} +1 -1
  100. package/dist/{chunk-6UVEJCVM.mjs → chunk-LJQPLE4S.mjs} +1 -1
  101. package/dist/{chunk-67RPQW7V.mjs → chunk-LKGCU7H6.mjs} +1 -1
  102. package/dist/{chunk-6WVIXUXX.mjs → chunk-LLED3RQS.mjs} +1 -1
  103. package/dist/chunk-LSRLBDA7.mjs +1 -0
  104. package/dist/{chunk-LARQXED4.mjs → chunk-LVFMFRBR.mjs} +1 -1
  105. package/dist/{chunk-S7N4CSMJ.mjs → chunk-LVK4QE5D.mjs} +1 -1
  106. package/dist/{chunk-EESKUTPD.mjs → chunk-LXZAOORS.mjs} +1 -1
  107. package/dist/{chunk-CXXPSCV3.mjs → chunk-M7NV6EFH.mjs} +1 -1
  108. package/dist/{chunk-FDJHY37W.mjs → chunk-MAAKU7PN.mjs} +1 -1
  109. package/dist/chunk-MDJREBVI.mjs +1 -0
  110. package/dist/chunk-MDPXCQ7P.mjs +4 -0
  111. package/dist/{chunk-NM6U4PLY.mjs → chunk-MEMUW7BY.mjs} +1 -1
  112. package/dist/{chunk-EYRTGZWR.mjs → chunk-MFCVMJBO.mjs} +1 -1
  113. package/dist/{chunk-Q6FPZ6J3.mjs → chunk-MGYV46AJ.mjs} +1 -1
  114. package/dist/chunk-MTNQADIW.mjs +1 -0
  115. package/dist/{chunk-3GLK3JM6.mjs → chunk-MU5WPW4N.mjs} +1 -1
  116. package/dist/chunk-MW25VRWC.mjs +1 -0
  117. package/dist/{chunk-6GDVIZS5.mjs → chunk-MXCW6SOT.mjs} +1 -1
  118. package/dist/{chunk-BOG3XLGP.mjs → chunk-MZP7RIQZ.mjs} +1 -1
  119. package/dist/{chunk-TR52MKZR.mjs → chunk-N3B3XNV3.mjs} +1 -1
  120. package/dist/chunk-NPVUICIF.mjs +1 -0
  121. package/dist/{chunk-NN2RHTGW.mjs → chunk-NSMXJCXE.mjs} +1 -1
  122. package/dist/{chunk-2WLZ5T2D.mjs → chunk-NUHGPB5U.mjs} +1 -1
  123. package/dist/chunk-O5P35LEY.mjs +4 -0
  124. package/dist/{chunk-DGJHJHFF.mjs → chunk-OCPX4QPC.mjs} +1 -1
  125. package/dist/{chunk-RU435LAU.mjs → chunk-OM5ZUHCN.mjs} +1 -1
  126. package/dist/{chunk-YUW3HHAK.mjs → chunk-OPLUKFRN.mjs} +1 -1
  127. package/dist/{chunk-KUVPOOSW.mjs → chunk-ORNGKQM7.mjs} +1 -1
  128. package/dist/{chunk-FPWCCVDI.mjs → chunk-OYZDAMCS.mjs} +1 -1
  129. package/dist/{chunk-PUAHE5VJ.mjs → chunk-PDY7JYY3.mjs} +1 -1
  130. package/dist/{chunk-3ZXW3WQU.mjs → chunk-PK3OBSCB.mjs} +1 -1
  131. package/dist/{chunk-E2MPOOEL.mjs → chunk-PWXCBW2H.mjs} +1 -1
  132. package/dist/{chunk-E3NWG6B4.mjs → chunk-Q2JJZ5FY.mjs} +1 -1
  133. package/dist/{chunk-IG6J62QA.mjs → chunk-Q5NHYYRS.mjs} +1 -1
  134. package/dist/{chunk-3HD7RAT7.mjs → chunk-Q5Q3DJWU.mjs} +1 -1
  135. package/dist/{chunk-532HP37G.mjs → chunk-Q5XT55O3.mjs} +1 -1
  136. package/dist/{chunk-RD7LJPUV.mjs → chunk-Q67RF7VO.mjs} +1 -1
  137. package/dist/{chunk-K5GFFN67.mjs → chunk-Q6PKGY27.mjs} +1 -1
  138. package/dist/{chunk-QXNCGSQE.mjs → chunk-Q6VAKKW3.mjs} +1 -1
  139. package/dist/{chunk-HLWGNTZD.mjs → chunk-QBUU2AQL.mjs} +1 -1
  140. package/dist/{chunk-JTFMN7OL.mjs → chunk-QQVPLMPJ.mjs} +1 -1
  141. package/dist/{chunk-E7SIU5SS.mjs → chunk-RHR3YOLG.mjs} +1 -1
  142. package/dist/{chunk-P5U27QUJ.mjs → chunk-RLVKIMGU.mjs} +1 -1
  143. package/dist/{chunk-EUXJZBRI.mjs → chunk-RR4QSUV2.mjs} +1 -1
  144. package/dist/{chunk-WKLJU63E.mjs → chunk-RULSHTXR.mjs} +1 -1
  145. package/dist/{chunk-QMTI6672.mjs → chunk-RVHCTANZ.mjs} +1 -1
  146. package/dist/{chunk-RHYQ4V7N.mjs → chunk-SOIRB5TV.mjs} +1 -1
  147. package/dist/{chunk-RFNYVF6F.mjs → chunk-SOLZ4VQH.mjs} +1 -1
  148. package/dist/{chunk-FJUAYJF4.mjs → chunk-SRUG246N.mjs} +1 -1
  149. package/dist/{chunk-55OESIAK.mjs → chunk-TEB67NCD.mjs} +1 -1
  150. package/dist/{chunk-WH24BWZV.mjs → chunk-TJVEQJW3.mjs} +1 -1
  151. package/dist/{chunk-OF63XSJ4.mjs → chunk-TR6RBROH.mjs} +1 -1
  152. package/dist/{chunk-RPUSKO6J.mjs → chunk-TUI4S4GI.mjs} +1 -1
  153. package/dist/{chunk-RAAY7PEH.mjs → chunk-TVZOULLL.mjs} +1 -1
  154. package/dist/{chunk-HK52LPE3.mjs → chunk-TZKQXT7Y.mjs} +1 -1
  155. package/dist/{chunk-HYIRE7BK.mjs → chunk-U5PBLRRV.mjs} +1 -1
  156. package/dist/{chunk-5T4OPJ7F.mjs → chunk-U67OTPTT.mjs} +1 -1
  157. package/dist/{chunk-AARMIMMZ.mjs → chunk-UWEU6TLS.mjs} +1 -1
  158. package/dist/{chunk-5YJFMMVM.mjs → chunk-V6GC3UGV.mjs} +1 -1
  159. package/dist/{chunk-E43QS242.mjs → chunk-VGWDYD6Z.mjs} +1 -1
  160. package/dist/{chunk-6TLGI4P6.mjs → chunk-VMAPGGGW.mjs} +1 -1
  161. package/dist/{chunk-FSV7RCTY.mjs → chunk-VWLPVN4M.mjs} +1 -1
  162. package/dist/{chunk-UY4BSKPK.mjs → chunk-WISC5QJV.mjs} +1 -1
  163. package/dist/{chunk-EGERAM4Q.mjs → chunk-X3JZSN3W.mjs} +1 -1
  164. package/dist/{chunk-T3BIRW2W.mjs → chunk-XBCYPOFD.mjs} +1 -1
  165. package/dist/{chunk-TZTQENNX.mjs → chunk-XGIYNUGC.mjs} +1 -1
  166. package/dist/chunk-XGRRLABA.mjs +8 -0
  167. package/dist/{chunk-WLM2ZFHF.mjs → chunk-YFAZQYK4.mjs} +1 -1
  168. package/dist/{chunk-GCIWMQMK.mjs → chunk-YKG4FNS4.mjs} +1 -1
  169. package/dist/{chunk-7WKUKFCT.mjs → chunk-YO3GQYRJ.mjs} +1 -1
  170. package/dist/{chunk-AWMXVMUW.mjs → chunk-YOETYY5S.mjs} +1 -1
  171. package/dist/{chunk-EFIJNPMM.mjs → chunk-YRMNCHFO.mjs} +1 -1
  172. package/dist/{chunk-BM2ZNFM6.mjs → chunk-Z22NSJMF.mjs} +1 -1
  173. package/dist/chunk-Z422YAPB.mjs +1 -0
  174. package/dist/{chunk-FHPZSG7W.mjs → chunk-ZGQC6O62.mjs} +1 -1
  175. package/dist/{chunk-LCIKBYDR.mjs → chunk-ZMB6R6JX.mjs} +1 -1
  176. package/dist/{chunk-A7S4L4P2.mjs → chunk-ZSIYEVUV.mjs} +1 -1
  177. package/dist/{chunk-7Z3TOFNL.mjs → chunk-ZUA4KNIR.mjs} +1 -1
  178. package/dist/chunk-ZWHGOTSF.mjs +1 -0
  179. package/dist/{chunk-UBCJPXKD.mjs → chunk-ZXPDSSCF.mjs} +1 -1
  180. package/dist/components/AdvancedComponents/AppSidebar.js +1 -1
  181. package/dist/components/AdvancedComponents/AppSidebar.mjs +1 -1
  182. package/dist/components/AdvancedComponents/CommentSection.js +1 -1
  183. package/dist/components/AdvancedComponents/CommentSection.mjs +1 -1
  184. package/dist/components/AdvancedComponents/EditableField.js +1 -1
  185. package/dist/components/AdvancedComponents/EditableField.mjs +1 -1
  186. package/dist/components/AdvancedComponents/app-header.js +1 -1
  187. package/dist/components/AdvancedComponents/app-header.mjs +1 -1
  188. package/dist/components/AdvancedComponents/index.js +1 -1
  189. package/dist/components/AdvancedComponents/index.mjs +1 -1
  190. package/dist/components/AdvancedComponents/navigation-tabs.js +1 -1
  191. package/dist/components/AdvancedComponents/navigation-tabs.mjs +1 -1
  192. package/dist/components/AdvancedComponents/notifications-panel.js +1 -1
  193. package/dist/components/AdvancedComponents/notifications-panel.mjs +1 -1
  194. package/dist/components/AdvancedComponents/switch.js +1 -1
  195. package/dist/components/AdvancedComponents/switch.mjs +1 -1
  196. package/dist/components/AdvancedComponents/theme-toggle.js +1 -1
  197. package/dist/components/AdvancedComponents/theme-toggle.mjs +1 -1
  198. package/dist/components/AdvancedComponents/user-selection.js +1 -1
  199. package/dist/components/AdvancedComponents/user-selection.mjs +1 -1
  200. package/dist/components/Blocks/Banner.js +1 -1
  201. package/dist/components/Blocks/Banner.mjs +1 -1
  202. package/dist/components/Blocks/CallToAction.js +1 -1
  203. package/dist/components/Blocks/CallToAction.mjs +1 -1
  204. package/dist/components/Blocks/CaseStudy.js +1 -1
  205. package/dist/components/Blocks/CaseStudy.mjs +1 -1
  206. package/dist/components/Blocks/Code.client.js +1 -1
  207. package/dist/components/Blocks/Code.client.mjs +1 -1
  208. package/dist/components/Blocks/Code.js +1 -1
  209. package/dist/components/Blocks/Code.mjs +1 -1
  210. package/dist/components/Blocks/CollapsibleArea.js +1 -1
  211. package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
  212. package/dist/components/Blocks/ConsultantProfile.js +1 -1
  213. package/dist/components/Blocks/ConsultantProfile.mjs +1 -1
  214. package/dist/components/Blocks/Content.js +1 -1
  215. package/dist/components/Blocks/Content.mjs +1 -1
  216. package/dist/components/Blocks/CopyButton.js +1 -1
  217. package/dist/components/Blocks/CopyButton.mjs +1 -1
  218. package/dist/components/Blocks/FeaturesBlock.js +1 -1
  219. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  220. package/dist/components/Blocks/ImageBlock.js +1 -1
  221. package/dist/components/Blocks/ImageBlock.mjs +1 -1
  222. package/dist/components/Blocks/MediaBlock.js +1 -1
  223. package/dist/components/Blocks/MediaBlock.mjs +1 -1
  224. package/dist/components/Blocks/ProposalSummary.js +1 -1
  225. package/dist/components/Blocks/ProposalSummary.mjs +1 -1
  226. package/dist/components/Blocks/RelatedPosts.js +1 -1
  227. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  228. package/dist/components/Blocks/RenderBlocks.js +1 -1
  229. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  230. package/dist/components/Blocks/ReusableContentBlock.js +1 -1
  231. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  232. package/dist/components/Blocks/index.js +1 -1
  233. package/dist/components/Blocks/index.mjs +1 -1
  234. package/dist/components/CRM/CogeBoard.js +1 -1
  235. package/dist/components/CRM/CogeBoard.mjs +1 -1
  236. package/dist/components/CRM/DealCard.js +1 -1
  237. package/dist/components/CRM/DealCard.mjs +1 -1
  238. package/dist/components/CRM/DealDetails.js +1 -1
  239. package/dist/components/CRM/DealDetails.mjs +1 -1
  240. package/dist/components/CRM/KanbanBoard.js +1 -1
  241. package/dist/components/CRM/KanbanBoard.mjs +1 -1
  242. package/dist/components/CRM/KanbanColumn.js +1 -1
  243. package/dist/components/CRM/KanbanColumn.mjs +1 -1
  244. package/dist/components/CRM/NewCustomerForm.js +1 -1
  245. package/dist/components/CRM/NewCustomerForm.mjs +1 -1
  246. package/dist/components/CRM/NewDealForm.js +1 -1
  247. package/dist/components/CRM/NewDealForm.mjs +1 -1
  248. package/dist/components/CRM/index.js +1 -1
  249. package/dist/components/CRM/index.mjs +1 -1
  250. package/dist/components/Cards/ContentCard.js +1 -1
  251. package/dist/components/Cards/ContentCard.mjs +1 -1
  252. package/dist/components/Cards/CustomerCard.js +1 -1
  253. package/dist/components/Cards/CustomerCard.mjs +1 -1
  254. package/dist/components/Cards/EventCard.js +1 -1
  255. package/dist/components/Cards/EventCard.mjs +1 -1
  256. package/dist/components/Cards/FeatureCard.js +1 -1
  257. package/dist/components/Cards/FeatureCard.mjs +1 -1
  258. package/dist/components/Cards/HeroCard.js +1 -1
  259. package/dist/components/Cards/HeroCard.mjs +1 -1
  260. package/dist/components/Cards/Image.js +1 -1
  261. package/dist/components/Cards/Image.mjs +1 -1
  262. package/dist/components/Cards/PricingCard.js +1 -1
  263. package/dist/components/Cards/PricingCard.mjs +1 -1
  264. package/dist/components/Cards/ProjectCard.js +3 -3
  265. package/dist/components/Cards/ProjectCard.mjs +1 -1
  266. package/dist/components/Cards/ServiceCard.js +1 -1
  267. package/dist/components/Cards/ServiceCard.mjs +1 -1
  268. package/dist/components/Cards/index.js +4 -4
  269. package/dist/components/Cards/index.mjs +1 -1
  270. package/dist/components/Chat/ChatCardArtefact.js +1 -1
  271. package/dist/components/Chat/ChatCardArtefact.mjs +1 -1
  272. package/dist/components/Chat/ChatCardTask.js +1 -1
  273. package/dist/components/Chat/ChatCardTask.mjs +1 -1
  274. package/dist/components/Chat/ChatInterface.js +2 -2
  275. package/dist/components/Chat/ChatInterface.mjs +1 -1
  276. package/dist/components/Chat/ChatInterfaceMessages.js +2 -2
  277. package/dist/components/Chat/ChatInterfaceMessages.mjs +1 -1
  278. package/dist/components/Chat/ChatMessage.js +2 -2
  279. package/dist/components/Chat/ChatMessage.mjs +1 -1
  280. package/dist/components/Chat/CopilotInterface.js +3 -3
  281. package/dist/components/Chat/CopilotInterface.mjs +1 -1
  282. package/dist/components/Chat/capability-menu.js +1 -1
  283. package/dist/components/Chat/capability-menu.mjs +1 -1
  284. package/dist/components/Chat/chat-session-sidebar.js +1 -1
  285. package/dist/components/Chat/chat-session-sidebar.mjs +1 -1
  286. package/dist/components/Chat/demo-long-messages.js +9 -9
  287. package/dist/components/Chat/demo-long-messages.mjs +1 -1
  288. package/dist/components/Chat/demo-tests.js +22 -22
  289. package/dist/components/Chat/demo-tests.mjs +1 -1
  290. package/dist/components/Chat/demo.js +3 -3
  291. package/dist/components/Chat/demo.mjs +1 -1
  292. package/dist/components/Chat/example-usage.js +3 -3
  293. package/dist/components/Chat/example-usage.mjs +1 -1
  294. package/dist/components/Chat/example-with-file-uploads.js +1 -1
  295. package/dist/components/Chat/example-with-file-uploads.mjs +1 -1
  296. package/dist/components/Chat/example-with-vercel-ai.js +3 -3
  297. package/dist/components/Chat/example-with-vercel-ai.mjs +1 -1
  298. package/dist/components/Chat/index.js +3 -3
  299. package/dist/components/Chat/index.mjs +1 -1
  300. package/dist/components/DeliveryLead/DeliveryLeadSubmission.js +2 -2
  301. package/dist/components/DeliveryLead/DeliveryLeadSubmission.mjs +1 -1
  302. package/dist/components/DeliveryLead/DeliveryLeadSubmissionList.js +1 -1
  303. package/dist/components/DeliveryLead/DeliveryLeadSubmissionList.mjs +1 -1
  304. package/dist/components/DeliveryLead/DeliveryLeadSubmissionWithList.js +2 -2
  305. package/dist/components/DeliveryLead/DeliveryLeadSubmissionWithList.mjs +1 -1
  306. package/dist/components/DeliveryLead/index.js +2 -2
  307. package/dist/components/DeliveryLead/index.mjs +1 -1
  308. package/dist/components/DigitalColleagues/AppSidebarLeft.js +1 -1
  309. package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
  310. package/dist/components/DigitalColleagues/DashboardHeader.js +1 -1
  311. package/dist/components/DigitalColleagues/DashboardHeader.mjs +1 -1
  312. package/dist/components/DigitalColleagues/DigitalColleageusLayout.js +1 -1
  313. package/dist/components/DigitalColleagues/DigitalColleageusLayout.mjs +1 -1
  314. package/dist/components/DigitalColleagues/MainPage.js +1 -1
  315. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  316. package/dist/components/DigitalColleagues/ManagementSidebar.js +1 -1
  317. package/dist/components/DigitalColleagues/ManagementSidebar.mjs +1 -1
  318. package/dist/components/DigitalColleagues/Pages/dashboardpage.js +1 -1
  319. package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +1 -1
  320. package/dist/components/DigitalColleagues/SearchableSelect.js +1 -1
  321. package/dist/components/DigitalColleagues/SearchableSelect.mjs +1 -1
  322. package/dist/components/DigitalColleagues/Views/ColleaguesView.js +1 -1
  323. package/dist/components/DigitalColleagues/Views/ColleaguesView.mjs +1 -1
  324. package/dist/components/DigitalColleagues/Views/KnowledgeView.js +1 -1
  325. package/dist/components/DigitalColleagues/Views/KnowledgeView.mjs +1 -1
  326. package/dist/components/DigitalColleagues/Views/TeamsIndexView.js +1 -1
  327. package/dist/components/DigitalColleagues/Views/TeamsIndexView.mjs +1 -1
  328. package/dist/components/DigitalColleagues/Views/index.js +1 -1
  329. package/dist/components/DigitalColleagues/Views/index.mjs +1 -1
  330. package/dist/components/DigitalColleagues/colleague-card.js +1 -1
  331. package/dist/components/DigitalColleagues/colleague-card.mjs +1 -1
  332. package/dist/components/DigitalColleagues/colleague-form.js +1 -1
  333. package/dist/components/DigitalColleagues/colleague-form.mjs +1 -1
  334. package/dist/components/DigitalColleagues/colleague-type-selection.js +1 -1
  335. package/dist/components/DigitalColleagues/colleague-type-selection.mjs +1 -1
  336. package/dist/components/DigitalColleagues/digital-colleague-clone.js +1 -1
  337. package/dist/components/DigitalColleagues/digital-colleague-clone.mjs +1 -1
  338. package/dist/components/DigitalColleagues/digital-colleague-options.js +1 -1
  339. package/dist/components/DigitalColleagues/digital-colleague-options.mjs +1 -1
  340. package/dist/components/DigitalColleagues/document-edit.js +1 -1
  341. package/dist/components/DigitalColleagues/document-edit.mjs +1 -1
  342. package/dist/components/DigitalColleagues/document-preview-examples.js +5 -5
  343. package/dist/components/DigitalColleagues/document-preview-examples.mjs +1 -1
  344. package/dist/components/DigitalColleagues/document-preview.js +1 -1
  345. package/dist/components/DigitalColleagues/document-preview.mjs +1 -1
  346. package/dist/components/DigitalColleagues/index.js +1 -1
  347. package/dist/components/DigitalColleagues/index.mjs +1 -1
  348. package/dist/components/DigitalColleagues/knowledge-browser.js +1 -1
  349. package/dist/components/DigitalColleagues/knowledge-browser.mjs +1 -1
  350. package/dist/components/DigitalColleagues/knowledge-search.js +1 -1
  351. package/dist/components/DigitalColleagues/knowledge-search.mjs +1 -1
  352. package/dist/components/DigitalColleagues/team-form.js +1 -1
  353. package/dist/components/DigitalColleagues/team-form.mjs +1 -1
  354. package/dist/components/DigitalColleagues/test-data.js +1 -1
  355. package/dist/components/DigitalColleagues/test-data.mjs +1 -1
  356. package/dist/components/DigitalColleagues/types.d.ts +10 -1
  357. package/dist/components/HeaderFooter/BrandLogo.js +1 -1
  358. package/dist/components/HeaderFooter/BrandLogo.mjs +1 -1
  359. package/dist/components/HeaderFooter/Footer.js +1 -1
  360. package/dist/components/HeaderFooter/Footer.mjs +1 -1
  361. package/dist/components/HeaderFooter/Header.js +1 -1
  362. package/dist/components/HeaderFooter/Header.mjs +1 -1
  363. package/dist/components/HeaderFooter/HeaderDesktop.js +1 -1
  364. package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
  365. package/dist/components/HeaderFooter/HeaderMenu.js +1 -1
  366. package/dist/components/HeaderFooter/HeaderMenu.mjs +1 -1
  367. package/dist/components/HeaderFooter/HeaderMobile.js +1 -1
  368. package/dist/components/HeaderFooter/HeaderMobile.mjs +1 -1
  369. package/dist/components/HeaderFooter/RelatedPagesMenu.js +1 -1
  370. package/dist/components/HeaderFooter/RelatedPagesMenu.mjs +1 -1
  371. package/dist/components/HeaderFooter/SectionHeading.js +1 -1
  372. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  373. package/dist/components/HeaderFooter/SimpleHeader.js +1 -1
  374. package/dist/components/HeaderFooter/SimpleHeader.mjs +1 -1
  375. package/dist/components/HeaderFooter/VideoHeader.js +1 -1
  376. package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
  377. package/dist/components/HeaderFooter/enhanced-header.js +1 -1
  378. package/dist/components/HeaderFooter/enhanced-header.mjs +1 -1
  379. package/dist/components/HeaderFooter/index.js +1 -1
  380. package/dist/components/HeaderFooter/index.mjs +1 -1
  381. package/dist/components/Heros/DashboardHero/DashboardHero.js +1 -1
  382. package/dist/components/Heros/DashboardHero/DashboardHero.mjs +1 -1
  383. package/dist/components/Heros/DashboardHero/index.js +1 -1
  384. package/dist/components/Heros/DashboardHero/index.mjs +1 -1
  385. package/dist/components/Heros/HighImpact/index.js +1 -1
  386. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  387. package/dist/components/Heros/LowImpact/index.js +1 -1
  388. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  389. package/dist/components/Heros/MediumImpact/index.js +1 -1
  390. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  391. package/dist/components/Heros/PostHero/index.js +1 -1
  392. package/dist/components/Heros/PostHero/index.mjs +1 -1
  393. package/dist/components/Heros/RenderHero.js +1 -1
  394. package/dist/components/Heros/RenderHero.mjs +1 -1
  395. package/dist/components/Heros/SectionHero/index.js +1 -1
  396. package/dist/components/Heros/SectionHero/index.mjs +1 -1
  397. package/dist/components/Heros/index.js +1 -1
  398. package/dist/components/Heros/index.mjs +1 -1
  399. package/dist/components/Holidays/ApproveLeave.js +1 -1
  400. package/dist/components/Holidays/ApproveLeave.mjs +1 -1
  401. package/dist/components/Holidays/CalendarView.js +1 -1
  402. package/dist/components/Holidays/CalendarView.mjs +1 -1
  403. package/dist/components/Holidays/HolidayGrid.js +1 -1
  404. package/dist/components/Holidays/HolidayGrid.mjs +1 -1
  405. package/dist/components/Holidays/HolidayTracker.js +1 -1
  406. package/dist/components/Holidays/HolidayTracker.mjs +1 -1
  407. package/dist/components/Holidays/RequestLeave.js +1 -1
  408. package/dist/components/Holidays/RequestLeave.mjs +1 -1
  409. package/dist/components/Holidays/index.js +1 -1
  410. package/dist/components/Holidays/index.mjs +1 -1
  411. package/dist/components/Layouts/OutputHeaderFooter.js +2 -2
  412. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  413. package/dist/components/Layouts/Print.js +2 -2
  414. package/dist/components/Layouts/Print.mjs +1 -1
  415. package/dist/components/Layouts/SlideShow.js +3 -3
  416. package/dist/components/Layouts/SlideShow.mjs +1 -1
  417. package/dist/components/Layouts/index.js +4 -4
  418. package/dist/components/Layouts/index.mjs +1 -1
  419. package/dist/components/Menus/Categories.js +1 -1
  420. package/dist/components/Menus/Categories.mjs +1 -1
  421. package/dist/components/Menus/Filter.js +1 -1
  422. package/dist/components/Menus/Filter.mjs +1 -1
  423. package/dist/components/Menus/Pagination.js +1 -1
  424. package/dist/components/Menus/Pagination.mjs +1 -1
  425. package/dist/components/Menus/ProjectTeam.js +1 -1
  426. package/dist/components/Menus/ProjectTeam.mjs +1 -1
  427. package/dist/components/Menus/RelatedContent.js +1 -1
  428. package/dist/components/Menus/RelatedContent.mjs +1 -1
  429. package/dist/components/Menus/SidebarLeft.js +1 -1
  430. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  431. package/dist/components/Menus/SidebarRight.js +1 -1
  432. package/dist/components/Menus/SidebarRight.mjs +1 -1
  433. package/dist/components/Menus/index.js +1 -1
  434. package/dist/components/Menus/index.mjs +1 -1
  435. package/dist/components/Other/Container.js +1 -1
  436. package/dist/components/Other/Container.mjs +1 -1
  437. package/dist/components/Other/PageShape.js +1 -1
  438. package/dist/components/Other/PageShape.mjs +1 -1
  439. package/dist/components/Other/index.js +1 -1
  440. package/dist/components/Other/index.mjs +1 -1
  441. package/dist/components/Payload/Card/index.js +1 -1
  442. package/dist/components/Payload/Card/index.mjs +1 -1
  443. package/dist/components/Payload/CollectionArchive/index.js +1 -1
  444. package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
  445. package/dist/components/Payload/Link/index.js +1 -1
  446. package/dist/components/Payload/Link/index.mjs +1 -1
  447. package/dist/components/Payload/Media/ImageMedia/index.js +1 -1
  448. package/dist/components/Payload/Media/ImageMedia/index.mjs +1 -1
  449. package/dist/components/Payload/Media/VideoMedia/index.js +1 -1
  450. package/dist/components/Payload/Media/VideoMedia/index.mjs +1 -1
  451. package/dist/components/Payload/Media/index.js +1 -1
  452. package/dist/components/Payload/Media/index.mjs +1 -1
  453. package/dist/components/Payload/Pagination/index.js +1 -1
  454. package/dist/components/Payload/Pagination/index.mjs +1 -1
  455. package/dist/components/Payload/RichText/index.js +1 -1
  456. package/dist/components/Payload/RichText/index.mjs +1 -1
  457. package/dist/components/Payload/RichText/serialize.js +1 -1
  458. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  459. package/dist/components/Payload/index.js +1 -1
  460. package/dist/components/Payload/index.mjs +1 -1
  461. package/dist/components/Projects/AddEpicModal.js +1 -1
  462. package/dist/components/Projects/AddEpicModal.mjs +1 -1
  463. package/dist/components/Projects/AddSprintModal.js +1 -1
  464. package/dist/components/Projects/AddSprintModal.mjs +1 -1
  465. package/dist/components/Projects/AddTaskModal.js +1 -1
  466. package/dist/components/Projects/AddTaskModal.mjs +1 -1
  467. package/dist/components/Projects/EpicFilter.js +1 -1
  468. package/dist/components/Projects/EpicFilter.mjs +1 -1
  469. package/dist/components/Projects/EpicsView.js +1 -1
  470. package/dist/components/Projects/EpicsView.mjs +1 -1
  471. package/dist/components/Projects/FileView.js +1 -1
  472. package/dist/components/Projects/FileView.mjs +1 -1
  473. package/dist/components/Projects/KanbanBoardView.d.ts +5 -1
  474. package/dist/components/Projects/KanbanBoardView.js +1 -1
  475. package/dist/components/Projects/KanbanBoardView.mjs +1 -1
  476. package/dist/components/Projects/KanbanColumn.js +1 -1
  477. package/dist/components/Projects/KanbanColumn.mjs +1 -1
  478. package/dist/components/Projects/PlanningView.js +1 -1
  479. package/dist/components/Projects/PlanningView.mjs +1 -1
  480. package/dist/components/Projects/ProjectPage.d.ts +3 -3
  481. package/dist/components/Projects/ProjectPage.js +2 -2
  482. package/dist/components/Projects/ProjectPage.mjs +1 -1
  483. package/dist/components/Projects/ProjectView.d.ts +9 -4
  484. package/dist/components/Projects/ProjectView.js +1 -1
  485. package/dist/components/Projects/ProjectView.mjs +1 -1
  486. package/dist/components/Projects/ProjectsIndexView.js +1 -1
  487. package/dist/components/Projects/ProjectsIndexView.mjs +1 -1
  488. package/dist/components/Projects/TaskCard.js +1 -1
  489. package/dist/components/Projects/TaskCard.mjs +1 -1
  490. package/dist/components/Projects/TaskDetailsModal.d.ts +8 -3
  491. package/dist/components/Projects/TaskDetailsModal.js +1 -1
  492. package/dist/components/Projects/TaskDetailsModal.mjs +1 -1
  493. package/dist/components/Projects/TaskSelect.js +1 -1
  494. package/dist/components/Projects/TaskSelect.mjs +1 -1
  495. package/dist/components/Projects/TaskSidebar.d.ts +2 -1
  496. package/dist/components/Projects/TaskSidebar.js +1 -1
  497. package/dist/components/Projects/TaskSidebar.mjs +1 -1
  498. package/dist/components/Projects/TasksView.js +1 -1
  499. package/dist/components/Projects/TasksView.mjs +1 -1
  500. package/dist/components/Projects/TeamSwitcher.js +1 -1
  501. package/dist/components/Projects/TeamSwitcher.mjs +1 -1
  502. package/dist/components/Projects/business-unit-switcher.js +1 -1
  503. package/dist/components/Projects/business-unit-switcher.mjs +1 -1
  504. package/dist/components/Projects/file-list.js +1 -1
  505. package/dist/components/Projects/file-list.mjs +1 -1
  506. package/dist/components/Projects/index.js +1 -1
  507. package/dist/components/Projects/index.mjs +1 -1
  508. package/dist/components/Projects/project-card.js +1 -1
  509. package/dist/components/Projects/project-card.mjs +1 -1
  510. package/dist/components/Projects/project-form.js +1 -1
  511. package/dist/components/Projects/project-form.mjs +1 -1
  512. package/dist/components/Projects/team-card.js +1 -1
  513. package/dist/components/Projects/team-card.mjs +1 -1
  514. package/dist/components/Projects/team-switcher-bar.js +1 -1
  515. package/dist/components/Projects/team-switcher-bar.mjs +1 -1
  516. package/dist/components/Projects/test-data.js +1 -1
  517. package/dist/components/Projects/test-data.mjs +1 -1
  518. package/dist/components/dc-temp/creative.js +1 -1
  519. package/dist/components/dc-temp/creative.mjs +1 -1
  520. package/dist/components/dc-temp/dashboard-integration-example.js +1 -1
  521. package/dist/components/dc-temp/dashboard-integration-example.mjs +1 -1
  522. package/dist/components/dc-temp/index.js +1 -1
  523. package/dist/components/dc-temp/index.mjs +1 -1
  524. package/dist/components/dc-temp/markdown-renderer.js +1 -1
  525. package/dist/components/dc-temp/markdown-renderer.mjs +1 -1
  526. package/dist/components/dc-temp/utils.js +1 -1
  527. package/dist/components/dc-temp/utils.mjs +1 -1
  528. package/dist/components/index.js +14 -14
  529. package/dist/components/index.mjs +1 -1
  530. package/dist/components/ui/alert.js +1 -1
  531. package/dist/components/ui/alert.mjs +1 -1
  532. package/dist/components/ui/avatar.js +1 -1
  533. package/dist/components/ui/avatar.mjs +1 -1
  534. package/dist/components/ui/badge.js +1 -1
  535. package/dist/components/ui/badge.mjs +1 -1
  536. package/dist/components/ui/breadcrumb.js +1 -1
  537. package/dist/components/ui/breadcrumb.mjs +1 -1
  538. package/dist/components/ui/button.js +1 -1
  539. package/dist/components/ui/button.mjs +1 -1
  540. package/dist/components/ui/calendar.js +1 -1
  541. package/dist/components/ui/calendar.mjs +1 -1
  542. package/dist/components/ui/card.js +1 -1
  543. package/dist/components/ui/card.mjs +1 -1
  544. package/dist/components/ui/checkbox.js +1 -1
  545. package/dist/components/ui/checkbox.mjs +1 -1
  546. package/dist/components/ui/command.js +1 -1
  547. package/dist/components/ui/command.mjs +1 -1
  548. package/dist/components/ui/dialog.js +1 -1
  549. package/dist/components/ui/dialog.mjs +1 -1
  550. package/dist/components/ui/dropdown-menu.js +1 -1
  551. package/dist/components/ui/dropdown-menu.mjs +1 -1
  552. package/dist/components/ui/hover-card.js +1 -1
  553. package/dist/components/ui/hover-card.mjs +1 -1
  554. package/dist/components/ui/index.js +1 -1
  555. package/dist/components/ui/index.mjs +1 -1
  556. package/dist/components/ui/input.js +1 -1
  557. package/dist/components/ui/input.mjs +1 -1
  558. package/dist/components/ui/inputs/common/styles/index.js +1 -1
  559. package/dist/components/ui/inputs/common/styles/index.mjs +1 -1
  560. package/dist/components/ui/inputs/text-input/index.js +1 -1
  561. package/dist/components/ui/inputs/text-input/index.mjs +1 -1
  562. package/dist/components/ui/inputs/textarea-input/index.js +1 -1
  563. package/dist/components/ui/inputs/textarea-input/index.mjs +1 -1
  564. package/dist/components/ui/label.js +1 -1
  565. package/dist/components/ui/label.mjs +1 -1
  566. package/dist/components/ui/pagination.js +1 -1
  567. package/dist/components/ui/pagination.mjs +1 -1
  568. package/dist/components/ui/popover.js +1 -1
  569. package/dist/components/ui/popover.mjs +1 -1
  570. package/dist/components/ui/progress.js +1 -1
  571. package/dist/components/ui/progress.mjs +1 -1
  572. package/dist/components/ui/scroll-area.js +1 -1
  573. package/dist/components/ui/scroll-area.mjs +1 -1
  574. package/dist/components/ui/select.js +1 -1
  575. package/dist/components/ui/select.mjs +1 -1
  576. package/dist/components/ui/separator.js +1 -1
  577. package/dist/components/ui/separator.mjs +1 -1
  578. package/dist/components/ui/sheet.js +1 -1
  579. package/dist/components/ui/sheet.mjs +1 -1
  580. package/dist/components/ui/sidebar.js +1 -1
  581. package/dist/components/ui/sidebar.mjs +1 -1
  582. package/dist/components/ui/skeleton.js +1 -1
  583. package/dist/components/ui/skeleton.mjs +1 -1
  584. package/dist/components/ui/switch.js +1 -1
  585. package/dist/components/ui/switch.mjs +1 -1
  586. package/dist/components/ui/tabs.js +1 -1
  587. package/dist/components/ui/tabs.mjs +1 -1
  588. package/dist/components/ui/textarea.js +1 -1
  589. package/dist/components/ui/textarea.mjs +1 -1
  590. package/dist/components/ui/toast.js +1 -1
  591. package/dist/components/ui/toast.mjs +1 -1
  592. package/dist/components/ui/toaster.js +1 -1
  593. package/dist/components/ui/toaster.mjs +1 -1
  594. package/dist/components/ui/toggle-group.js +1 -1
  595. package/dist/components/ui/toggle-group.mjs +1 -1
  596. package/dist/components/ui/toggle.js +1 -1
  597. package/dist/components/ui/toggle.mjs +1 -1
  598. package/dist/components/ui/tooltip.js +1 -1
  599. package/dist/components/ui/tooltip.mjs +1 -1
  600. package/dist/globals.css +1 -1
  601. package/dist/index.js +18 -18
  602. package/dist/index.mjs +1 -1
  603. package/dist/metafile-cjs.json +1 -1
  604. package/dist/metafile-esm.json +1 -1
  605. package/dist/pages/Blog.js +1 -1
  606. package/dist/pages/Blog.mjs +1 -1
  607. package/dist/pages/Documentation.js +1 -1
  608. package/dist/pages/Documentation.mjs +1 -1
  609. package/dist/pages/IndexPage.js +1 -1
  610. package/dist/pages/IndexPage.mjs +1 -1
  611. package/dist/pages/Intranet.js +1 -1
  612. package/dist/pages/Intranet.mjs +1 -1
  613. package/dist/pages/LandingPage.js +3 -3
  614. package/dist/pages/LandingPage.mjs +1 -1
  615. package/dist/pages/Page.js +1 -1
  616. package/dist/pages/Page.mjs +1 -1
  617. package/dist/pages/Publish.js +4 -4
  618. package/dist/pages/Publish.mjs +1 -1
  619. package/dist/pages/Website.js +1 -1
  620. package/dist/pages/Website.mjs +1 -1
  621. package/dist/sections/AboutSection.js +1 -1
  622. package/dist/sections/AboutSection.mjs +1 -1
  623. package/dist/sections/BlogDetail.js +1 -1
  624. package/dist/sections/BlogDetail.mjs +1 -1
  625. package/dist/sections/BlogList.js +3 -3
  626. package/dist/sections/BlogList.mjs +1 -1
  627. package/dist/sections/BlogListSection.js +1 -1
  628. package/dist/sections/BlogListSection.mjs +1 -1
  629. package/dist/sections/ContactSection.js +1 -1
  630. package/dist/sections/ContactSection.mjs +1 -1
  631. package/dist/sections/ImageSection.js +1 -1
  632. package/dist/sections/ImageSection.mjs +1 -1
  633. package/dist/sections/MainPageSection.js +1 -1
  634. package/dist/sections/MainPageSection.mjs +1 -1
  635. package/dist/sections/PageSections.js +3 -3
  636. package/dist/sections/PageSections.mjs +1 -1
  637. package/dist/sections/PricingSection.js +1 -1
  638. package/dist/sections/PricingSection.mjs +1 -1
  639. package/dist/sections/ServiceDetail.js +1 -1
  640. package/dist/sections/ServiceDetail.mjs +1 -1
  641. package/dist/sections/ServiceDetailSection.js +1 -1
  642. package/dist/sections/ServiceDetailSection.mjs +1 -1
  643. package/dist/sections/ServiceSection.js +1 -1
  644. package/dist/sections/ServiceSection.mjs +1 -1
  645. package/dist/sections/form/index.js +1 -1
  646. package/dist/sections/form/index.mjs +1 -1
  647. package/dist/sections/index.js +3 -3
  648. package/dist/sections/index.mjs +1 -1
  649. package/dist/styles/Colors.js +1 -1
  650. package/dist/styles/Colors.mjs +1 -1
  651. package/dist/utils/AOSInit.js +2 -2
  652. package/dist/utils/AOSInit.mjs +1 -1
  653. package/dist/utils/cn.js +1 -1
  654. package/dist/utils/cn.mjs +1 -1
  655. package/dist/utils/index.js +2 -2
  656. package/dist/utils/index.mjs +1 -1
  657. package/package.json +1 -1
  658. package/dist/chunk-4RQ27GTD.mjs +0 -1
  659. package/dist/chunk-56AGUZR5.mjs +0 -1
  660. package/dist/chunk-5WH7SFOR.mjs +0 -4
  661. package/dist/chunk-CDH5ONCJ.mjs +0 -8
  662. package/dist/chunk-I2BNJCJ7.mjs +0 -1
  663. package/dist/chunk-KCOLYVJX.mjs +0 -1
  664. package/dist/chunk-KZTONTWM.mjs +0 -1
  665. package/dist/chunk-MZKVGPNQ.mjs +0 -1
  666. package/dist/chunk-RARAKOXE.mjs +0 -1
  667. package/dist/chunk-TSEOL53Y.mjs +0 -1
  668. package/dist/chunk-WXTJ6DVT.mjs +0 -4
  669. package/dist/chunk-ZKLSTUIP.mjs +0 -1
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{b as t}from"./chunk-7Z3TOFNL.mjs";import{a as s,b as i,c as l,e as o}from"./chunk-7WKUKFCT.mjs";import{User as m,Bot as c,ChevronLeft as v,Users as p}from"lucide-react";import{motion as r,AnimatePresence as g}from"motion/react";import{jsx as e,jsxs as a}from"react/jsx-runtime";function y({onSelectHuman:n,onSelectDigital:d,onCancel:u}){return e("div",{className:"px-2 md:px-4 py-4 space-y-6",children:e(g,{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:u,className:"gap-2",children:[e(v,{className:"h-4 w-4"}),"Back"]}),a("div",{children:[e("h1",{className:"text-3xl font-bold",children:"Add Colleague"}),e("p",{className:"text-muted-foreground",children:"Choose the type of colleague to add"})]})]}),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(s,{className:"cursor-pointer transition-all hover:shadow-lg border-2 hover:border-primary/50",onClick:n,children:[a(i,{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(m,{className:"h-8 w-8 text-blue-600"})}),e(l,{className:"text-xl",children:"Add Human Colleague"})]}),a(o,{className:"text-center",children:[e("p",{className:"text-muted-foreground mb-4",children:"Select from existing users in your organization to add as team members."}),a("div",{className:"space-y-2 text-sm",children:[a("div",{className:"flex items-center gap-2 justify-center",children:[e(p,{className:"h-4 w-4 text-blue-600"}),e("span",{children:"Browse existing users"})]}),a("div",{className:"flex items-center gap-2 justify-center",children:[e(m,{className:"h-4 w-4 text-blue-600"}),e("span",{children:"Import user details automatically"})]})]}),e(t,{className:"mt-6 w-full",onClick:n,children:"Select User"})]})]})}),e(r.div,{whileHover:{scale:1.02},whileTap:{scale:.98},transition:{type:"spring",stiffness:300,damping:20},children:a(s,{className:"cursor-pointer transition-all hover:shadow-lg border-2 hover:border-primary/50",onClick:d,children:[a(i,{className:"text-center pb-4",children:[e("div",{className:"mx-auto w-16 h-16 bg-purple-100 rounded-full flex items-center justify-center mb-4",children:e(c,{className:"h-8 w-8 text-purple-600"})}),e(l,{className:"text-xl",children:"Add Digital Colleague"})]}),a(o,{className:"text-center",children:[e("p",{className:"text-muted-foreground mb-4",children:"Clone an existing digital colleague or create a new AI assistant for your team."}),a("div",{className:"space-y-2 text-sm",children:[a("div",{className:"flex items-center gap-2 justify-center",children:[e(c,{className:"h-4 w-4 text-purple-600"}),e("span",{children:"Clone existing colleagues"})]}),a("div",{className:"flex items-center gap-2 justify-center",children:[e(p,{className:"h-4 w-4 text-purple-600"}),e("span",{children:"Create from templates"})]})]}),e(t,{className:"mt-6 w-full",onClick:d,children:"Add Digital Colleague"})]})]})})]})]},"colleague-type-selection")})})}export{y as a};
4
+ import{b as t}from"./chunk-ZUA4KNIR.mjs";import{a as s,b as i,c as l,e as o}from"./chunk-YO3GQYRJ.mjs";import{User as m,Bot as c,ChevronLeft as v,Users as p}from"lucide-react";import{motion as r,AnimatePresence as g}from"motion/react";import{jsx as e,jsxs as a}from"react/jsx-runtime";function y({onSelectHuman:n,onSelectDigital:d,onCancel:u}){return e("div",{className:"px-2 md:px-4 py-4 space-y-6",children:e(g,{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:u,className:"gap-2",children:[e(v,{className:"h-4 w-4"}),"Back"]}),a("div",{children:[e("h1",{className:"text-3xl font-bold",children:"Add Colleague"}),e("p",{className:"text-muted-foreground",children:"Choose the type of colleague to add"})]})]}),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(s,{className:"cursor-pointer transition-all hover:shadow-lg border-2 hover:border-primary/50",onClick:n,children:[a(i,{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(m,{className:"h-8 w-8 text-blue-600"})}),e(l,{className:"text-xl",children:"Add Human Colleague"})]}),a(o,{className:"text-center",children:[e("p",{className:"text-muted-foreground mb-4",children:"Select from existing users in your organization to add as team members."}),a("div",{className:"space-y-2 text-sm",children:[a("div",{className:"flex items-center gap-2 justify-center",children:[e(p,{className:"h-4 w-4 text-blue-600"}),e("span",{children:"Browse existing users"})]}),a("div",{className:"flex items-center gap-2 justify-center",children:[e(m,{className:"h-4 w-4 text-blue-600"}),e("span",{children:"Import user details automatically"})]})]}),e(t,{className:"mt-6 w-full",onClick:n,children:"Select User"})]})]})}),e(r.div,{whileHover:{scale:1.02},whileTap:{scale:.98},transition:{type:"spring",stiffness:300,damping:20},children:a(s,{className:"cursor-pointer transition-all hover:shadow-lg border-2 hover:border-primary/50",onClick:d,children:[a(i,{className:"text-center pb-4",children:[e("div",{className:"mx-auto w-16 h-16 bg-purple-100 rounded-full flex items-center justify-center mb-4",children:e(c,{className:"h-8 w-8 text-purple-600"})}),e(l,{className:"text-xl",children:"Add Digital Colleague"})]}),a(o,{className:"text-center",children:[e("p",{className:"text-muted-foreground mb-4",children:"Clone an existing digital colleague or create a new AI assistant for your team."}),a("div",{className:"space-y-2 text-sm",children:[a("div",{className:"flex items-center gap-2 justify-center",children:[e(c,{className:"h-4 w-4 text-purple-600"}),e("span",{children:"Clone existing colleagues"})]}),a("div",{className:"flex items-center gap-2 justify-center",children:[e(p,{className:"h-4 w-4 text-purple-600"}),e("span",{children:"Create from templates"})]})]}),e(t,{className:"mt-6 w-full",onClick:d,children:"Add Digital Colleague"})]})]})})]})]},"colleague-type-selection")})})}export{y as a};
@@ -1 +1 @@
1
- import{a as o}from"./chunk-TSEOL53Y.mjs";import*as s from"react";import{ChevronRightIcon as m,DotsHorizontalIcon as c}from"@radix-ui/react-icons";import{Slot as i}from"@radix-ui/react-slot";import{jsx as t,jsxs as N}from"react/jsx-runtime";var l=s.forwardRef(({...e},a)=>t("nav",{ref:a,"aria-label":"breadcrumb",...e}));l.displayName="Breadcrumb";var p=s.forwardRef(({className:e,...a},r)=>t("ol",{ref:r,className:o("flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",e),...a}));p.displayName="BreadcrumbList";var d=s.forwardRef(({className:e,...a},r)=>t("li",{ref:r,className:o("inline-flex items-center gap-1.5",e),...a}));d.displayName="BreadcrumbItem";var f=s.forwardRef(({asChild:e,className:a,...r},n)=>t(e?i:"a",{ref:n,className:o("transition-colors hover:text-foreground",a),...r}));f.displayName="BreadcrumbLink";var u=s.forwardRef(({className:e,...a},r)=>t("span",{ref:r,role:"link","aria-disabled":"true","aria-current":"page",className:o("font-normal text-foreground",e),...a}));u.displayName="BreadcrumbPage";var R=({children:e,className:a,...r})=>t("li",{role:"presentation","aria-hidden":"true",className:o("[&>svg]:w-3.5 [&>svg]:h-3.5",a),...r,children:e??t(m,{})});R.displayName="BreadcrumbSeparator";var b=({className:e,...a})=>N("span",{role:"presentation","aria-hidden":"true",className:o("flex h-9 w-9 items-center justify-center",e),...a,children:[t(c,{className:"h-4 w-4"}),t("span",{className:"sr-only",children:"More"})]});b.displayName="BreadcrumbElipssis";export{l as a,p as b,d as c,f as d,u as e,R as f,b as g};
1
+ import{a as o}from"./chunk-MDJREBVI.mjs";import*as s from"react";import{ChevronRightIcon as m,DotsHorizontalIcon as c}from"@radix-ui/react-icons";import{Slot as i}from"@radix-ui/react-slot";import{jsx as t,jsxs as N}from"react/jsx-runtime";var l=s.forwardRef(({...e},a)=>t("nav",{ref:a,"aria-label":"breadcrumb",...e}));l.displayName="Breadcrumb";var p=s.forwardRef(({className:e,...a},r)=>t("ol",{ref:r,className:o("flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",e),...a}));p.displayName="BreadcrumbList";var d=s.forwardRef(({className:e,...a},r)=>t("li",{ref:r,className:o("inline-flex items-center gap-1.5",e),...a}));d.displayName="BreadcrumbItem";var f=s.forwardRef(({asChild:e,className:a,...r},n)=>t(e?i:"a",{ref:n,className:o("transition-colors hover:text-foreground",a),...r}));f.displayName="BreadcrumbLink";var u=s.forwardRef(({className:e,...a},r)=>t("span",{ref:r,role:"link","aria-disabled":"true","aria-current":"page",className:o("font-normal text-foreground",e),...a}));u.displayName="BreadcrumbPage";var R=({children:e,className:a,...r})=>t("li",{role:"presentation","aria-hidden":"true",className:o("[&>svg]:w-3.5 [&>svg]:h-3.5",a),...r,children:e??t(m,{})});R.displayName="BreadcrumbSeparator";var b=({className:e,...a})=>N("span",{role:"presentation","aria-hidden":"true",className:o("flex h-9 w-9 items-center justify-center",e),...a,children:[t(c,{className:"h-4 w-4"}),t("span",{className:"sr-only",children:"More"})]});b.displayName="BreadcrumbElipssis";export{l as a,p as b,d as c,f as d,u as e,R as f,b as g};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a}from"./chunk-7Z3TOFNL.mjs";import{a as e}from"./chunk-TSEOL53Y.mjs";import{DayPicker as s}from"react-day-picker";import{jsx as c}from"react/jsx-runtime";function d({className:r,classNames:o,showOutsideDays:n=!0,...t}){return c(s,{showOutsideDays:n,weekStartsOn:1,className:e("p-3",r),classNames:{months:"flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",month:"space-y-4",caption:"flex justify-center pt-1 relative items-center",caption_label:"text-sm font-medium",nav:"space-x-1 flex items-center",nav_button:e(a({variant:"outline"}),"h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100"),nav_button_previous:"absolute left-1",nav_button_next:"absolute right-1",table:"w-full border-collapse space-y-1",head_row:"flex",head_cell:"text-muted-foreground rounded-md w-8 font-normal text-[0.8rem]",row:"flex w-full mt-2",cell:e("relative p-0 text-center text-sm focus-within:relative focus-within:z-20 [&:has([aria-selected])]:bg-accent [&:has([aria-selected].day-outside)]:bg-accent/50 [&:has([aria-selected].day-range-end)]:rounded-r-md",t.mode==="range"?"[&:has(>.day-range-end)]:rounded-r-md [&:has(>.day-range-start)]:rounded-l-md first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md":"[&:has([aria-selected])]:rounded-md"),day:e(a({variant:"ghost"}),"h-8 w-8 p-0 font-normal aria-selected:opacity-100"),day_range_start:"day-range-start",day_range_end:"day-range-end",day_selected:"bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",day_today:"bg-accent text-accent-foreground",day_outside:"day-outside text-muted-foreground aria-selected:bg-accent/50 aria-selected:text-muted-foreground",day_disabled:"text-muted-foreground opacity-50",day_range_middle:"aria-selected:bg-accent aria-selected:text-accent-foreground",day_hidden:"invisible",...o},...t})}d.displayName="Calendar";export{d as a};
4
+ import{a}from"./chunk-ZUA4KNIR.mjs";import{a as e}from"./chunk-MDJREBVI.mjs";import{DayPicker as s}from"react-day-picker";import{jsx as c}from"react/jsx-runtime";function d({className:r,classNames:o,showOutsideDays:n=!0,...t}){return c(s,{showOutsideDays:n,weekStartsOn:1,className:e("p-3",r),classNames:{months:"flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",month:"space-y-4",caption:"flex justify-center pt-1 relative items-center",caption_label:"text-sm font-medium",nav:"space-x-1 flex items-center",nav_button:e(a({variant:"outline"}),"h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100"),nav_button_previous:"absolute left-1",nav_button_next:"absolute right-1",table:"w-full border-collapse space-y-1",head_row:"flex",head_cell:"text-muted-foreground rounded-md w-8 font-normal text-[0.8rem]",row:"flex w-full mt-2",cell:e("relative p-0 text-center text-sm focus-within:relative focus-within:z-20 [&:has([aria-selected])]:bg-accent [&:has([aria-selected].day-outside)]:bg-accent/50 [&:has([aria-selected].day-range-end)]:rounded-r-md",t.mode==="range"?"[&:has(>.day-range-end)]:rounded-r-md [&:has(>.day-range-start)]:rounded-l-md first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md":"[&:has([aria-selected])]:rounded-md"),day:e(a({variant:"ghost"}),"h-8 w-8 p-0 font-normal aria-selected:opacity-100"),day_range_start:"day-range-start",day_range_end:"day-range-end",day_selected:"bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",day_today:"bg-accent text-accent-foreground",day_outside:"day-outside text-muted-foreground aria-selected:bg-accent/50 aria-selected:text-muted-foreground",day_disabled:"text-muted-foreground opacity-50",day_range_middle:"aria-selected:bg-accent aria-selected:text-accent-foreground",day_hidden:"invisible",...o},...t})}d.displayName="Calendar";export{d as a};
@@ -1,2 +1,2 @@
1
- import{f as o}from"./chunk-TR52MKZR.mjs";import l from"next/image";import{jsx as e,jsxs as i}from"react/jsx-runtime";var n=({logoImage:a})=>i("footer",{className:`absolute bottom-0 left-0 w-full py-2 px-8 flex justify-between items-center transition-colors duration-300
1
+ import{f as o}from"./chunk-N3B3XNV3.mjs";import l from"next/image";import{jsx as e,jsxs as i}from"react/jsx-runtime";var n=({logoImage:a})=>i("footer",{className:`absolute bottom-0 left-0 w-full py-2 px-8 flex justify-between items-center transition-colors duration-300
2
2
  dark bg-background text-primary`,children:[i("div",{className:"flex px-6 items-center space-x-2",children:[a&&e("img",{src:a.src,alt:"Cortex Reply Logo",className:"h-8"}),e("span",{className:"pl-12 text-sm",children:"Power up your people"})]}),e("a",{href:"https://cortexreply.com",className:"text-sm hover:underline",children:"cortexreply.com"})]}),p=({title:a})=>e("header",{className:"absolute top-0 left-0 w-full py-4 px-8 flex justify-between items-center transition-colors duration-300 dark bg-background text-foreground",children:e("div",{className:"container",children:e("span",{className:"container text-4xl px-6",children:a})})}),h=a=>{let{title:r,hero:t,logoImage:s}=a;return i("div",{className:"relative w-full h-full flex flex-col justify-center min-h-[500px] p-10",children:[e("div",{className:"absolute inset-0",children:e(l,{src:t.media&&t.media.url?t.media.url:"/hero.png",alt:"Background",width:t.media&&t.media.width?t.media.width??1920:1920,height:t.media&&t.media.height?t.media.height??1080:1080,style:{objectFit:"cover"},className:"opacity-80 h-full dark:opacity-60"})}),e("div",{className:"absolute left-16 z-50 top-4 flex flex-col items-start gap-4",children:s&&e("div",{className:"h-24",children:e(l,{src:s.src,alt:"Company logo",className:"h-full w-full object-contain",width:192,height:96})})}),e("div",{className:"absolute inset-0 bg-black/30 dark:bg-black/50"}),i("div",{className:"relative pl-24 z-10 max-w-3xl",children:[e("p",{className:"text-lg font-medium pt-48 text-accent mb-2",children:r}),t.richText&&e(o,{content:t.richText,enableGutter:!1,className:"prose-headings:text-white prose-p:text-white"})]})]})};export{n as a,p as b,h as c};
@@ -1 +1 @@
1
- import{a as e}from"./chunk-TSEOL53Y.mjs";import{jsx as m}from"react/jsx-runtime";function a({className:t,...r}){return m("div",{className:e("animate-pulse rounded-md bg-primary/10",t),...r})}export{a};
1
+ import{a as e}from"./chunk-MDJREBVI.mjs";import{jsx as m}from"react/jsx-runtime";function a({className:t,...r}){return m("div",{className:e("animate-pulse rounded-md bg-primary/10",t),...r})}export{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-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};
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-O5P35LEY.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};
@@ -1 +1 @@
1
- import{a as s}from"./chunk-TSEOL53Y.mjs";import{jsx as t,jsxs as o}from"react/jsx-runtime";var n=({position:e,className:l=""})=>{let a=["","scale(-1, 1)","scale(1, -1)","scale(-1, -1)"],i=a[Math.floor(Math.random()*a.length)];if(e==="header")return t("div",{className:"w-full h-[1240px] z-20",children:o("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 337",preserveAspectRatio:"xMidYMax meet",style:{fontSize:0,float:"left"},className:s(l,"absolute -bottom-[2px] flex"),children:[t("defs",{children:o("mask",{id:"mask",children:[t("rect",{width:"1920",height:"332",fill:"white"}),t("polygon",{points:"0 0 0 135 1255 330 1920 0 1920 0 1920 0 0 0"})]})}),t("rect",{width:"1920",height:"332",fill:"white",mask:"url(#mask)"}),t("rect",{y:"331",width:"1920",height:"7",fill:"white"})," "]})});if(e==="top")return o("div",{className:"w-full z-20 aspect-[1920/332] overflow-hidden ",children:[o("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",className:s(l,"absolute "),style:{fontSize:0,float:"left",alignContent:"flex-end",transform:"scale(-1, 1)"},children:[t("defs",{children:o("mask",{id:"mask",children:[t("rect",{width:"100%",height:"100%",fill:"white"}),t("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),t("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]}),t("div",{className:"absolute -bottom-[5px] border-none left-0 w-full h-[6px] z-10 bg-white"})]});if(e==="dark-top")return t("div",{className:"w-full aspect-[1920/332] z-20 content-end block overflow-hidden",children:o("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"xMidYMax meet",className:s(l,"relative "),style:{fontSize:0,float:"left"},transform:a[3],children:[t("defs",{children:o("mask",{id:"mask",children:[t("rect",{width:"100%",height:"100%",fill:"white"}),t("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),t("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]})});if(e==="dark-bottom")return t("div",{className:"w-full aspect-[1920/332] z-20 content-start block overflow-hidden bg-white",children:t("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain",transform:"scale(1, -1)"},className:s(l,"w-full block overflow-hidden"),children:t("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})});if(e==="light-bottom")return t("div",{className:"w-full aspect-[1920/332] z-20 content-end block overflow-hidden",children:t("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain"},className:s(l,"w-full block overflow-hidden"),transform:a[3],children:t("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})});if(e==="bottom-left"||e==="bottom-right")return t("div",{className:"w-full aspect-[1920/332] z-20 relative -bottom-[1px]",children:t("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain",transform:"rotateX(180deg)"},className:s(l,"w-full block overflow-hidden"),children:t("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})})},d=({className:e})=>o("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 1245",className:s(e,"absolute w-full h-full"),children:[t("defs",{children:o("mask",{id:"mask",children:[t("rect",{width:"100%",height:"100%",fill:"black"}),t("polygon",{fill:"white",points:"0 0 0 201.561092 0 1036.200679 0 1087.625789 1255.099121 1240.909908 1920 908.450984 1920 201.561092 1920 0 0 0"})]})}),t("rect",{width:"100%",height:"100%",fill:"black",mask:"url(#mask)"})]});export{n as a,d as b};
1
+ import{a as s}from"./chunk-MDJREBVI.mjs";import{jsx as t,jsxs as o}from"react/jsx-runtime";var n=({position:e,className:l=""})=>{let a=["","scale(-1, 1)","scale(1, -1)","scale(-1, -1)"],i=a[Math.floor(Math.random()*a.length)];if(e==="header")return t("div",{className:"w-full h-[1240px] z-20",children:o("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 337",preserveAspectRatio:"xMidYMax meet",style:{fontSize:0,float:"left"},className:s(l,"absolute -bottom-[2px] flex"),children:[t("defs",{children:o("mask",{id:"mask",children:[t("rect",{width:"1920",height:"332",fill:"white"}),t("polygon",{points:"0 0 0 135 1255 330 1920 0 1920 0 1920 0 0 0"})]})}),t("rect",{width:"1920",height:"332",fill:"white",mask:"url(#mask)"}),t("rect",{y:"331",width:"1920",height:"7",fill:"white"})," "]})});if(e==="top")return o("div",{className:"w-full z-20 aspect-[1920/332] overflow-hidden ",children:[o("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",className:s(l,"absolute "),style:{fontSize:0,float:"left",alignContent:"flex-end",transform:"scale(-1, 1)"},children:[t("defs",{children:o("mask",{id:"mask",children:[t("rect",{width:"100%",height:"100%",fill:"white"}),t("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),t("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]}),t("div",{className:"absolute -bottom-[5px] border-none left-0 w-full h-[6px] z-10 bg-white"})]});if(e==="dark-top")return t("div",{className:"w-full aspect-[1920/332] z-20 content-end block overflow-hidden",children:o("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"xMidYMax meet",className:s(l,"relative "),style:{fontSize:0,float:"left"},transform:a[3],children:[t("defs",{children:o("mask",{id:"mask",children:[t("rect",{width:"100%",height:"100%",fill:"white"}),t("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),t("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]})});if(e==="dark-bottom")return t("div",{className:"w-full aspect-[1920/332] z-20 content-start block overflow-hidden bg-white",children:t("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain",transform:"scale(1, -1)"},className:s(l,"w-full block overflow-hidden"),children:t("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})});if(e==="light-bottom")return t("div",{className:"w-full aspect-[1920/332] z-20 content-end block overflow-hidden",children:t("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain"},className:s(l,"w-full block overflow-hidden"),transform:a[3],children:t("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})});if(e==="bottom-left"||e==="bottom-right")return t("div",{className:"w-full aspect-[1920/332] z-20 relative -bottom-[1px]",children:t("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain",transform:"rotateX(180deg)"},className:s(l,"w-full block overflow-hidden"),children:t("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})})},d=({className:e})=>o("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 1245",className:s(e,"absolute w-full h-full"),children:[t("defs",{children:o("mask",{id:"mask",children:[t("rect",{width:"100%",height:"100%",fill:"black"}),t("polygon",{fill:"white",points:"0 0 0 201.561092 0 1036.200679 0 1087.625789 1255.099121 1240.909908 1920 908.450984 1920 201.561092 1920 0 0 0"})]})}),t("rect",{width:"100%",height:"100%",fill:"black",mask:"url(#mask)"})]});export{n as a,d as b};
@@ -1 +1 @@
1
- import{a as u,d as g,g as v,i as p}from"./chunk-WLM2ZFHF.mjs";import{a as d}from"./chunk-RAAY7PEH.mjs";import{b as m}from"./chunk-2JKLBLDE.mjs";import{useState as b}from"react";import{jsx as a,jsxs as t}from"react/jsx-runtime";var y=({label:S,value:n,onValueChange:f,options:r,showColor:s=!1,disabled:l=!1})=>{let[c,i]=b(!1),o=r.find(e=>e.value===n);return t("div",{className:"space-y-1",children:[a(d,{className:"text-xs text-muted-foreground",children:S}),t(u,{value:n,onValueChange:f,open:c,onOpenChange:e=>{l||i(e)},disabled:l,children:[a(g,{className:"h-auto p-0 border-none bg-transparent hover:bg-muted/50 rounded-md",children:t(m,{variant:"secondary",className:`${l?"cursor-not-allowed opacity-50":"cursor-pointer"} hover:bg-muted transition-colors`,onClick:()=>!l&&i(!c),children:[s&&o?.color&&a("div",{className:`w-2 h-2 rounded-full ${o.color} mr-1`}),o?.label||"Select..."]})}),a(v,{children:r.map(e=>a(p,{value:e.value,children:s&&e.color?t("div",{className:"flex items-center gap-2",children:[a("div",{className:`w-3 h-3 rounded-full ${e.color}`}),e.label]}):e.label},e.value))})]})]})};export{y as a};
1
+ import{a as u,d as g,g as v,i as p}from"./chunk-YFAZQYK4.mjs";import{a as d}from"./chunk-TVZOULLL.mjs";import{b as m}from"./chunk-CSBGSBEU.mjs";import{useState as b}from"react";import{jsx as a,jsxs as t}from"react/jsx-runtime";var y=({label:S,value:n,onValueChange:f,options:r,showColor:s=!1,disabled:l=!1})=>{let[c,i]=b(!1),o=r.find(e=>e.value===n);return t("div",{className:"space-y-1",children:[a(d,{className:"text-xs text-muted-foreground",children:S}),t(u,{value:n,onValueChange:f,open:c,onOpenChange:e=>{l||i(e)},disabled:l,children:[a(g,{className:"h-auto p-0 border-none bg-transparent hover:bg-muted/50 rounded-md",children:t(m,{variant:"secondary",className:`${l?"cursor-not-allowed opacity-50":"cursor-pointer"} hover:bg-muted transition-colors`,onClick:()=>!l&&i(!c),children:[s&&o?.color&&a("div",{className:`w-2 h-2 rounded-full ${o.color} mr-1`}),o?.label||"Select..."]})}),a(v,{children:r.map(e=>a(p,{value:e.value,children:s&&e.color?t("div",{className:"flex items-center gap-2",children:[a("div",{className:`w-3 h-3 rounded-full ${e.color}`}),e.label]}):e.label},e.value))})]})]})};export{y as a};
@@ -1 +1 @@
1
- import{b as o}from"./chunk-2JKLBLDE.mjs";import{a as n}from"./chunk-7WKUKFCT.mjs";import{jsx as r,jsxs as s}from"react/jsx-runtime";var f=({title:d,status:a,taskCount:l,children:m,onDrop:c,isCompact:t=!1})=>{let u=e=>{e.preventDefault()},i=e=>{e.preventDefault(),c(a)};return s(n,{className:`p-4 bg-card border-l-4 ${(()=>{switch(a){case"todo":return"border-l-gray-400";case"in-progress":return"border-l-blue-500";case"review":return"border-l-orange-500";case"done":return"border-l-green-500";default:return"border-l-gray-400"}})()} shadow-sm hover:shadow-md transition-shadow duration-200 ${t?"lg:max-w-xs":""}`,onDragOver:u,onDrop:i,children:[s("div",{className:"flex items-center justify-between mb-4",children:[r("h3",{className:`font-semibold text-foreground select-none-important ${t?"text-base":"text-lg"}`,children:d}),r(o,{variant:"secondary",className:"bg-muted text-muted-foreground",children:l})]}),r("div",{className:"space-y-4 min-h-[200px]",children:m})]})};export{f as a};
1
+ import{b as o}from"./chunk-CSBGSBEU.mjs";import{a as n}from"./chunk-YO3GQYRJ.mjs";import{jsx as r,jsxs as s}from"react/jsx-runtime";var f=({title:d,status:a,taskCount:l,children:m,onDrop:c,isCompact:t=!1})=>{let u=e=>{e.preventDefault()},i=e=>{e.preventDefault(),c(a)};return s(n,{className:`p-4 bg-card border-l-4 ${(()=>{switch(a){case"todo":return"border-l-gray-400";case"in-progress":return"border-l-blue-500";case"review":return"border-l-orange-500";case"done":return"border-l-green-500";default:return"border-l-gray-400"}})()} shadow-sm hover:shadow-md transition-shadow duration-200 ${t?"lg:max-w-xs":""}`,onDragOver:u,onDrop:i,children:[s("div",{className:"flex items-center justify-between mb-4",children:[r("h3",{className:`font-semibold text-foreground select-none-important ${t?"text-base":"text-lg"}`,children:d}),r(o,{variant:"secondary",className:"bg-muted text-muted-foreground",children:l})]}),r("div",{className:"space-y-4 min-h-[200px]",children:m})]})};export{f as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as i}from"./chunk-5YJFMMVM.mjs";import{a as m}from"./chunk-6WVIXUXX.mjs";import{useState as b,useCallback as R}from"react";import{DragDropContext as v}from"@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration";import{jsx as l,jsxs as M}from"react/jsx-runtime";var P=["firm","forecast","other"];function I({initialData:o,updateDeal:u,addComment:p}){let[a,d]=b(null),g=t=>(o.deals??[]).filter(e=>e.gecoStatus===t).filter(e=>e.status!=="Lost").filter(e=>e.status!=="Cold"),C=t=>t.reduce((e,s)=>e+(s.value||0),0),S=(t,e)=>{let s={Cold:0,Qualified:.1,"Proposal Made":.25,"SoW Submitted":.8,Won:1,Lost:0,Dormant:0};return t.reduce((n,r)=>n+(r.value||0)*(s[r.status]??0),0)},D=R(t=>{let{source:e,destination:s}=t;if(!s||e.droppableId===s.droppableId&&e.index===s.index)return;let n=e.droppableId,r=s.droppableId,c=o.deals?.filter(f=>f.id===e.index)[0],x=[...o.deals??[]];c&&(c.gecoStatus=r,u(c))},[u]);return l(v,{onDragEnd:D,children:M("div",{className:"p-4 h-full overflow-auto",children:[l("div",{className:"flex space-x-4 pb-4",children:P.map(t=>{let e=g(t);return l(i,{status:t,deals:e,customers:o.customers??[],users:o.users,categories:o.categories??[],onDealClick:d,calculateColumnValue:C,calculateWeightedValue:S,compact:!0},t)})}),a&&l(m,{deal:a,users:o.users,customer:a.customer,categories:o.categories??[],onClose:()=>d(null),onSave:u,onAddComment:t=>p(a.id.toString(),t)})]})})}export{I as a};
4
+ import{a as i}from"./chunk-V6GC3UGV.mjs";import{a as m}from"./chunk-LLED3RQS.mjs";import{useState as b,useCallback as R}from"react";import{DragDropContext as v}from"@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration";import{jsx as l,jsxs as M}from"react/jsx-runtime";var P=["firm","forecast","other"];function I({initialData:o,updateDeal:u,addComment:p}){let[a,d]=b(null),g=t=>(o.deals??[]).filter(e=>e.gecoStatus===t).filter(e=>e.status!=="Lost").filter(e=>e.status!=="Cold"),C=t=>t.reduce((e,s)=>e+(s.value||0),0),S=(t,e)=>{let s={Cold:0,Qualified:.1,"Proposal Made":.25,"SoW Submitted":.8,Won:1,Lost:0,Dormant:0};return t.reduce((n,r)=>n+(r.value||0)*(s[r.status]??0),0)},D=R(t=>{let{source:e,destination:s}=t;if(!s||e.droppableId===s.droppableId&&e.index===s.index)return;let n=e.droppableId,r=s.droppableId,c=o.deals?.filter(f=>f.id===e.index)[0],x=[...o.deals??[]];c&&(c.gecoStatus=r,u(c))},[u]);return l(v,{onDragEnd:D,children:M("div",{className:"p-4 h-full overflow-auto",children:[l("div",{className:"flex space-x-4 pb-4",children:P.map(t=>{let e=g(t);return l(i,{status:t,deals:e,customers:o.customers??[],users:o.users,categories:o.categories??[],onDealClick:d,calculateColumnValue:C,calculateWeightedValue:S,compact:!0},t)})}),a&&l(m,{deal:a,users:o.users,customer:a.customer,categories:o.categories??[],onClose:()=>d(null),onSave:u,onAddComment:t=>p(a.id.toString(),t)})]})})}export{I as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as N,c as b,d as y,g as w,i as g}from"./chunk-WLM2ZFHF.mjs";import{a as f}from"./chunk-VXZPPTQQ.mjs";import{a as c}from"./chunk-GJUA2KUH.mjs";import{b as r}from"./chunk-7Z3TOFNL.mjs";import{b as h}from"./chunk-2JKLBLDE.mjs";import{motion as z}from"motion/react";import{Edit3 as F,Save as I,X as S,Plus as T}from"lucide-react";import{useState as $}from"react";import{jsx as t,jsxs as o}from"react/jsx-runtime";function J({document:C,onSave:K,onCancel:D,availableDocuments:p=[],knowledgeContexts:E=[]}){let[l,d]=$({...C,updatedAt:new Date}),k=()=>{let e=new Set,a=new Set;return E.forEach(s=>{s.menuConfig.groupBy.forEach(n=>e.add(n))}),p.forEach(s=>{s.metadata&&Object.keys(s.metadata).forEach(n=>a.add(n))}),{contextKeys:Array.from(e).sort(),documentKeys:Array.from(a).sort(),allKeys:Array.from(new Set([...e,...a])).sort()}},_=e=>{let a=new Set;return p.forEach(s=>{s.metadata?.[e]&&a.add(String(s.metadata[e]))}),Array.from(a).sort()},m=k(),A=()=>{K(l)},i=(e,a)=>{d(s=>({...s,metadata:{...s.metadata,[e]:a}}))},B=(e,a)=>{a==="__custom__"?i(e,""):i(e,a)},M=()=>{let e=`field_${Date.now()}`;i(e,"")},V=e=>{d(a=>{let s={...a.metadata};return delete s[e],{...a,metadata:s}})};return o(z.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.3},className:"h-full flex flex-col",children:[o("div",{className:"border-b border-border bg-card p-8",children:[o("div",{className:"flex items-start justify-between gap-4 mb-6",children:[o("div",{className:"flex items-center gap-3",children:[t("div",{className:"flex-shrink-0 p-3 rounded-xl bg-primary/10 border border-primary/20",children:t(F,{className:"h-6 w-6 text-primary"})}),t("h1",{className:"text-2xl font-bold text-foreground",children:"Edit Document"})]}),o("div",{className:"flex gap-2",children:[o(r,{variant:"outline",size:"sm",onClick:D,className:"gap-2",children:[t(S,{className:"h-4 w-4"}),"Cancel"]}),o(r,{size:"sm",onClick:A,className:"gap-2",children:[t(I,{className:"h-4 w-4"}),"Save Changes"]})]})]}),o("div",{className:"space-y-4",children:[o("div",{children:[t("label",{className:"block text-sm font-medium text-foreground mb-2",children:"Title"}),t(c,{value:l.title,onChange:e=>d(a=>({...a,title:e.target.value})),className:"text-lg font-semibold",placeholder:"Document title..."})]}),o("div",{children:[t("label",{className:"block text-sm font-medium text-foreground mb-2",children:"Description"}),t(f,{value:l.description||"",onChange:e=>d(a=>({...a,description:e.target.value})),placeholder:"Document description...",rows:2})]}),o("div",{children:[o("div",{className:"flex items-center justify-between mb-3",children:[o("div",{children:[t("label",{className:"block text-sm font-medium text-foreground",children:"Metadata"}),m.contextKeys.length>0&&o("p",{className:"text-xs text-muted-foreground",children:["Suggested: ",m.contextKeys.slice(0,4).join(", "),m.contextKeys.length>4&&` +${m.contextKeys.length-4}`]})]}),o(r,{type:"button",variant:"outline",size:"sm",onClick:M,className:"gap-1 h-8",children:[t(T,{className:"h-3 w-3"}),"Add"]})]}),l.metadata&&Object.keys(l.metadata).length>0?t("div",{className:"space-y-2",children:Object.entries(l.metadata).map(([e,a])=>{let s=_(e);return o("div",{className:"flex gap-2 items-center",children:[t(c,{value:e,onChange:n=>{let v=n.target.value,j=l.metadata?.[e];d(x=>{let u={...x.metadata};return delete u[e],v&&(u[v]=j||""),{...x,metadata:u}})},placeholder:"Key",className:"w-32 h-8 text-sm",list:`metadata-keys-${e}`}),t("datalist",{id:`metadata-keys-${e}`,children:m.allKeys.map(n=>t("option",{value:n},n))}),t("span",{className:"text-muted-foreground text-sm",children:"="}),s.length>0?o(N,{value:String(a||""),onValueChange:n=>B(e,n),children:[t(y,{className:"flex-1 h-8 text-sm",children:t(b,{placeholder:"Value"})}),o(w,{children:[s.map(n=>t(g,{value:n,children:n},n)),t(g,{value:"__custom__",children:t("span",{className:"text-muted-foreground text-xs",children:"Custom..."})})]})]}):t(c,{value:String(a||""),onChange:n=>i(e,n.target.value),placeholder:"Value",className:"flex-1 h-8 text-sm"}),t(r,{type:"button",variant:"ghost",size:"sm",onClick:()=>V(e),className:"h-8 w-8 p-0 text-muted-foreground hover:text-destructive",children:t(S,{className:"h-3 w-3"})})]},e)})}):t("div",{className:"text-center py-3 border border-dashed border-border rounded-lg bg-muted/20",children:t("p",{className:"text-xs text-muted-foreground",children:'No metadata \u2022 Click "Add" to create fields'})})]}),o("div",{className:"flex items-center gap-2",children:[t("span",{className:"text-sm font-medium text-foreground",children:"Format:"}),t(h,{variant:"secondary",className:"font-mono",children:l.format.toUpperCase()})]})]})]}),t("div",{className:"flex-1 overflow-auto",children:o("div",{className:"p-8",children:[t("label",{className:"block text-sm font-medium text-foreground mb-4",children:"Content"}),t(f,{value:l.content||"",onChange:e=>d(a=>({...a,content:e.target.value})),placeholder:"Document content...",className:"min-h-[400px] font-mono text-sm",style:{resize:"vertical"}})]})})]})}export{J as a};
4
+ import{a as N,c as b,d as y,g as w,i as g}from"./chunk-YFAZQYK4.mjs";import{a as f}from"./chunk-B4H6T2GP.mjs";import{a as c}from"./chunk-L5JPAKPM.mjs";import{b as r}from"./chunk-ZUA4KNIR.mjs";import{b as h}from"./chunk-CSBGSBEU.mjs";import{motion as z}from"motion/react";import{Edit3 as F,Save as I,X as S,Plus as T}from"lucide-react";import{useState as $}from"react";import{jsx as t,jsxs as o}from"react/jsx-runtime";function J({document:C,onSave:K,onCancel:D,availableDocuments:p=[],knowledgeContexts:E=[]}){let[l,d]=$({...C,updatedAt:new Date}),k=()=>{let e=new Set,a=new Set;return E.forEach(s=>{s.menuConfig.groupBy.forEach(n=>e.add(n))}),p.forEach(s=>{s.metadata&&Object.keys(s.metadata).forEach(n=>a.add(n))}),{contextKeys:Array.from(e).sort(),documentKeys:Array.from(a).sort(),allKeys:Array.from(new Set([...e,...a])).sort()}},_=e=>{let a=new Set;return p.forEach(s=>{s.metadata?.[e]&&a.add(String(s.metadata[e]))}),Array.from(a).sort()},m=k(),A=()=>{K(l)},i=(e,a)=>{d(s=>({...s,metadata:{...s.metadata,[e]:a}}))},B=(e,a)=>{a==="__custom__"?i(e,""):i(e,a)},M=()=>{let e=`field_${Date.now()}`;i(e,"")},V=e=>{d(a=>{let s={...a.metadata};return delete s[e],{...a,metadata:s}})};return o(z.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.3},className:"h-full flex flex-col",children:[o("div",{className:"border-b border-border bg-card p-8",children:[o("div",{className:"flex items-start justify-between gap-4 mb-6",children:[o("div",{className:"flex items-center gap-3",children:[t("div",{className:"flex-shrink-0 p-3 rounded-xl bg-primary/10 border border-primary/20",children:t(F,{className:"h-6 w-6 text-primary"})}),t("h1",{className:"text-2xl font-bold text-foreground",children:"Edit Document"})]}),o("div",{className:"flex gap-2",children:[o(r,{variant:"outline",size:"sm",onClick:D,className:"gap-2",children:[t(S,{className:"h-4 w-4"}),"Cancel"]}),o(r,{size:"sm",onClick:A,className:"gap-2",children:[t(I,{className:"h-4 w-4"}),"Save Changes"]})]})]}),o("div",{className:"space-y-4",children:[o("div",{children:[t("label",{className:"block text-sm font-medium text-foreground mb-2",children:"Title"}),t(c,{value:l.title,onChange:e=>d(a=>({...a,title:e.target.value})),className:"text-lg font-semibold",placeholder:"Document title..."})]}),o("div",{children:[t("label",{className:"block text-sm font-medium text-foreground mb-2",children:"Description"}),t(f,{value:l.description||"",onChange:e=>d(a=>({...a,description:e.target.value})),placeholder:"Document description...",rows:2})]}),o("div",{children:[o("div",{className:"flex items-center justify-between mb-3",children:[o("div",{children:[t("label",{className:"block text-sm font-medium text-foreground",children:"Metadata"}),m.contextKeys.length>0&&o("p",{className:"text-xs text-muted-foreground",children:["Suggested: ",m.contextKeys.slice(0,4).join(", "),m.contextKeys.length>4&&` +${m.contextKeys.length-4}`]})]}),o(r,{type:"button",variant:"outline",size:"sm",onClick:M,className:"gap-1 h-8",children:[t(T,{className:"h-3 w-3"}),"Add"]})]}),l.metadata&&Object.keys(l.metadata).length>0?t("div",{className:"space-y-2",children:Object.entries(l.metadata).map(([e,a])=>{let s=_(e);return o("div",{className:"flex gap-2 items-center",children:[t(c,{value:e,onChange:n=>{let v=n.target.value,j=l.metadata?.[e];d(x=>{let u={...x.metadata};return delete u[e],v&&(u[v]=j||""),{...x,metadata:u}})},placeholder:"Key",className:"w-32 h-8 text-sm",list:`metadata-keys-${e}`}),t("datalist",{id:`metadata-keys-${e}`,children:m.allKeys.map(n=>t("option",{value:n},n))}),t("span",{className:"text-muted-foreground text-sm",children:"="}),s.length>0?o(N,{value:String(a||""),onValueChange:n=>B(e,n),children:[t(y,{className:"flex-1 h-8 text-sm",children:t(b,{placeholder:"Value"})}),o(w,{children:[s.map(n=>t(g,{value:n,children:n},n)),t(g,{value:"__custom__",children:t("span",{className:"text-muted-foreground text-xs",children:"Custom..."})})]})]}):t(c,{value:String(a||""),onChange:n=>i(e,n.target.value),placeholder:"Value",className:"flex-1 h-8 text-sm"}),t(r,{type:"button",variant:"ghost",size:"sm",onClick:()=>V(e),className:"h-8 w-8 p-0 text-muted-foreground hover:text-destructive",children:t(S,{className:"h-3 w-3"})})]},e)})}):t("div",{className:"text-center py-3 border border-dashed border-border rounded-lg bg-muted/20",children:t("p",{className:"text-xs text-muted-foreground",children:'No metadata \u2022 Click "Add" to create fields'})})]}),o("div",{className:"flex items-center gap-2",children:[t("span",{className:"text-sm font-medium text-foreground",children:"Format:"}),t(h,{variant:"secondary",className:"font-mono",children:l.format.toUpperCase()})]})]})]}),t("div",{className:"flex-1 overflow-auto",children:o("div",{className:"p-8",children:[t("label",{className:"block text-sm font-medium text-foreground mb-4",children:"Content"}),t(f,{value:l.content||"",onChange:e=>d(a=>({...a,content:e.target.value})),placeholder:"Document content...",className:"min-h-[400px] font-mono text-sm",style:{resize:"vertical"}})]})})]})}export{J as a};
@@ -1,3 +1,3 @@
1
1
  'use strict'
2
2
 
3
- import{a as i,b as m,c as d}from"./chunk-RFNYVF6F.mjs";import{b as p}from"./chunk-2JKLBLDE.mjs";import{a as v,b as g,c as h,e as w}from"./chunk-7WKUKFCT.mjs";import{CalendarDays as b,Cake as C,Award as f,PartyPopper as N}from"lucide-react";import{jsx as a,jsxs as e}from"react/jsx-runtime";function k({eventType:r="birthday",date:n="",title:s="",description:o="",avatarSrc:c}){let y=t=>{switch(t){case"birthday":return a(C,{className:"h-4 w-4"});case"workAnniversary":return a(f,{className:"h-4 w-4"});case"companyEvent":return a(N,{className:"h-4 w-4"});default:return a(b,{className:"h-4 w-4"})}},l=t=>{switch(t){case"birthday":return"bg-brand-one";case"workAnniversary":return"bg-brand-two";case"companyEvent":return"bg-brand-three";default:return"from-gray-500 to-slate-500"}};return e(v,{className:`w-full max-w-md overflow-hidden bg-gradient-to-br ${l(r)}`,children:[e(g,{className:"flex flex-row items-center gap-3 text-white",children:[c&&e(i,{className:"h-14 w-14 border-2 border-white",children:[a(m,{src:c,alt:s||"Event"}),a(d,{className:"bg-white text-gray-900",children:s?s.charAt(0).toUpperCase():"?"})]}),e("div",{className:"flex flex-col",children:[a(h,{className:"text-xl",children:s||"Untitled Event"}),e("p",{className:"text-sm text-white/80",children:[a(b,{className:"mr-1 inline-block h-4 w-4"}),n?new Date(n).toLocaleDateString("en-GB"):"Date not specified"]})]})]}),e(w,{className:"bg-white bg-opacity-80 p-4",children:[o&&a("p",{className:"mb-2 text-sm text-gray-700",children:o}),e(p,{variant:"secondary",className:`${l(r)} text-white/80`,children:[y(r),a("span",{className:"ml-1",children:r?r.replace(/([a-z])([A-Z])/g,"$1 $2").split(" ").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" "):"Event"})]})]})]})}export{k as a};
3
+ import{a as i,b as m,c as d}from"./chunk-SOLZ4VQH.mjs";import{b as p}from"./chunk-CSBGSBEU.mjs";import{a as v,b as g,c as h,e as w}from"./chunk-YO3GQYRJ.mjs";import{CalendarDays as b,Cake as C,Award as f,PartyPopper as N}from"lucide-react";import{jsx as a,jsxs as e}from"react/jsx-runtime";function k({eventType:r="birthday",date:n="",title:s="",description:o="",avatarSrc:c}){let y=t=>{switch(t){case"birthday":return a(C,{className:"h-4 w-4"});case"workAnniversary":return a(f,{className:"h-4 w-4"});case"companyEvent":return a(N,{className:"h-4 w-4"});default:return a(b,{className:"h-4 w-4"})}},l=t=>{switch(t){case"birthday":return"bg-brand-one";case"workAnniversary":return"bg-brand-two";case"companyEvent":return"bg-brand-three";default:return"from-gray-500 to-slate-500"}};return e(v,{className:`w-full max-w-md overflow-hidden bg-gradient-to-br ${l(r)}`,children:[e(g,{className:"flex flex-row items-center gap-3 text-white",children:[c&&e(i,{className:"h-14 w-14 border-2 border-white",children:[a(m,{src:c,alt:s||"Event"}),a(d,{className:"bg-white text-gray-900",children:s?s.charAt(0).toUpperCase():"?"})]}),e("div",{className:"flex flex-col",children:[a(h,{className:"text-xl",children:s||"Untitled Event"}),e("p",{className:"text-sm text-white/80",children:[a(b,{className:"mr-1 inline-block h-4 w-4"}),n?new Date(n).toLocaleDateString("en-GB"):"Date not specified"]})]})]}),e(w,{className:"bg-white bg-opacity-80 p-4",children:[o&&a("p",{className:"mb-2 text-sm text-gray-700",children:o}),e(p,{variant:"secondary",className:`${l(r)} text-white/80`,children:[y(r),a("span",{className:"ml-1",children:r?r.replace(/([a-z])([A-Z])/g,"$1 $2").split(" ").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" "):"Event"})]})]})]})}export{k as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as e,b as l,c as r,d as a}from"./chunk-BIAOADJS.mjs";import{b as t}from"./chunk-7Z3TOFNL.mjs";import{Moon as m,Sun as T}from"lucide-react";import{useTheme as p}from"next-themes";import{jsx as o,jsxs as i}from"react/jsx-runtime";function u(){let{setTheme:s,theme:n}=p();return o(e,{children:i(l,{children:[o(r,{asChild:!0,children:i(t,{variant:"ghost",size:"icon",className:"rounded-2xl",onClick:()=>s(n==="light"?"dark":"light"),children:[o(T,{className:"h-5 w-5 rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0"}),o(m,{className:"absolute h-5 w-5 rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100"}),o("span",{className:"sr-only",children:"Toggle theme"})]})}),o(a,{children:"Toggle theme"})]})})}export{u as a};
4
+ import{a as e,b as l,c as r,d as a}from"./chunk-KY7WQYN4.mjs";import{b as t}from"./chunk-ZUA4KNIR.mjs";import{Moon as m,Sun as T}from"lucide-react";import{useTheme as p}from"next-themes";import{jsx as o,jsxs as i}from"react/jsx-runtime";function u(){let{setTheme:s,theme:n}=p();return o(e,{children:i(l,{children:[o(r,{asChild:!0,children:i(t,{variant:"ghost",size:"icon",className:"rounded-2xl",onClick:()=>s(n==="light"?"dark":"light"),children:[o(T,{className:"h-5 w-5 rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0"}),o(m,{className:"absolute h-5 w-5 rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100"}),o("span",{className:"sr-only",children:"Toggle theme"})]})}),o(a,{children:"Toggle theme"})]})})}export{u as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as p,b as d,c}from"./chunk-YNCJATT7.mjs";import{c as R,h as v,i as w,j as B,k as P,l,m as s,o as b,p as o,q as n,r as u,v as C,w as g,x as y}from"./chunk-WXTJ6DVT.mjs";import{a as f}from"./chunk-HH4JDBUN.mjs";import{a as M}from"./chunk-FVM5SQT2.mjs";import{PencilLine as z,ChevronDown as h,FilePlus as E,Edit as H,Printer as _}from"lucide-react";import $ from"clsx";import{Fragment as T,jsx as e,jsxs as a}from"react/jsx-runtime";var q=()=>e(M,{iconName:"github",size:"10x"});function Z({relatedContent:i,tableOfContents:x,editorComponent:N,loading:m=!1,editMode:k=!1,onAddDocument:A,onEditDocument:L,onPrintDocument:O,onGithubClick:G,onNavClick:S,LinkComponent:I,...D}){let F=I?t=>e(I,{...t}):S?({item:t,children:r,...j})=>e("button",{onClick:()=>S&&S(t),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...j,children:r}):t=>e("a",{href:t.href,...t});return a(R,{side:"right",variant:"inset",...D,children:[a(v,{className:"border-b border-sidebar-border",children:[a(o,{className:"flex-row space-x-1",children:[e(n,{children:a(u,{onClick:A,children:[e(E,{})," ",e("span",{children:"Add Document"})]})}),G&&e(n,{children:e(u,{onClick:G,tooltip:"Open in GitHub",children:e(q,{})})})]}),a(o,{className:"flex-row space-x-1",children:[e(n,{className:"w-5/12",children:a(u,{onClick:()=>L(),variant:k?"outline":"default",className:$(k&&"text-accent"),children:[e(H,{})," ",e("span",{children:"Edit"})]})}),e(n,{className:"w-5/12",children:a(u,{onClick:O,children:[e(_,{})," ",e("span",{children:"Print"})]})})]})]}),N&&a(T,{children:[e(p,{defaultOpen:!0,className:"group/collapsible",children:a(l,{children:[e(s,{asChild:!0,children:a(d,{children:["Editor Controls",e(h,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),e(b,{children:e(c,{children:N})})]})}),e(B,{className:"mx-0"})]}),a(P,{className:"overflow-auto",children:[m&&a(T,{children:[a(l,{children:[e(s,{children:"Related Content"}),e(b,{children:e(o,{children:Array.from({length:3}).map((t,r)=>e(n,{children:e(f,{className:"bg-gray-200 w-full h-10"})},r))})})]}),a(l,{children:[e(s,{children:"Table of Contents"}),e(b,{children:e(o,{children:Array.from({length:3}).map((t,r)=>e(n,{children:e(f,{className:"bg-gray-200 w-full h-10"})},r))})})]})]}),i&&!m&&Object.keys(i).length>0&&e(p,{defaultOpen:!0,className:"group/collapsible",children:a(l,{children:[e(s,{asChild:!0,children:a(d,{children:["Related Content",e(h,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),e(b,{children:e(c,{children:e(o,{children:i&&Object.keys(i).map(t=>a(n,{children:[a("span",{className:"p-2 text-xs text-sidebar-foreground",children:[" ",t.charAt(0).toUpperCase()+t.slice(1)]}),t&&i[t]&&e(C,{children:i[t].map(r=>e(g,{children:e(y,{asChild:!0,isActive:!1,size:"sm",children:a(F,{href:r.url,item:r,className:"flex justify-between items-center w-full text-xs",children:[e("span",{children:r.label}),r.type==="note"&&e(z,{className:"ml-2 text-gray-400 !important",size:16}),r.type==="draft"&&e(M,{iconName:"code-pull-request-draft",className:"ml-2 text-gray-400 !important"})]})})},r.label))})]},t))})})})]})}),x&&!m&&e(p,{defaultOpen:!0,className:"group/collapsible",children:a(l,{children:[e(s,{asChild:!0,children:a(d,{children:["Table of Contents",e(h,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),e(b,{children:e(c,{children:e(o,{children:x.map(t=>a(n,{children:[e(u,{asChild:!0,children:e("a",{href:`#${t.url}`,className:"text-xs",children:t.title})}),t.items?.length?e(C,{children:t.items.map(r=>e(g,{children:e(y,{asChild:!0,isActive:r.isActive,size:"sm",children:e("a",{href:`#${r.url}`,className:"flex justify-between items-center w-full text-xs",children:e("span",{children:r.title})})})},r.title))}):null]},t.title))})})})]})})]}),e(w,{})]})}export{Z as a};
4
+ import{a as p,b as d,c}from"./chunk-YNCJATT7.mjs";import{c as R,h as v,i as w,j as B,k as P,l,m as s,o as b,p as o,q as n,r as u,v as C,w as g,x as y}from"./chunk-O5P35LEY.mjs";import{a as f}from"./chunk-7GSXNSLD.mjs";import{a as M}from"./chunk-FVM5SQT2.mjs";import{PencilLine as z,ChevronDown as h,FilePlus as E,Edit as H,Printer as _}from"lucide-react";import $ from"clsx";import{Fragment as T,jsx as e,jsxs as a}from"react/jsx-runtime";var q=()=>e(M,{iconName:"github",size:"10x"});function Z({relatedContent:i,tableOfContents:x,editorComponent:N,loading:m=!1,editMode:k=!1,onAddDocument:A,onEditDocument:L,onPrintDocument:O,onGithubClick:G,onNavClick:S,LinkComponent:I,...D}){let F=I?t=>e(I,{...t}):S?({item:t,children:r,...j})=>e("button",{onClick:()=>S&&S(t),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...j,children:r}):t=>e("a",{href:t.href,...t});return a(R,{side:"right",variant:"inset",...D,children:[a(v,{className:"border-b border-sidebar-border",children:[a(o,{className:"flex-row space-x-1",children:[e(n,{children:a(u,{onClick:A,children:[e(E,{})," ",e("span",{children:"Add Document"})]})}),G&&e(n,{children:e(u,{onClick:G,tooltip:"Open in GitHub",children:e(q,{})})})]}),a(o,{className:"flex-row space-x-1",children:[e(n,{className:"w-5/12",children:a(u,{onClick:()=>L(),variant:k?"outline":"default",className:$(k&&"text-accent"),children:[e(H,{})," ",e("span",{children:"Edit"})]})}),e(n,{className:"w-5/12",children:a(u,{onClick:O,children:[e(_,{})," ",e("span",{children:"Print"})]})})]})]}),N&&a(T,{children:[e(p,{defaultOpen:!0,className:"group/collapsible",children:a(l,{children:[e(s,{asChild:!0,children:a(d,{children:["Editor Controls",e(h,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),e(b,{children:e(c,{children:N})})]})}),e(B,{className:"mx-0"})]}),a(P,{className:"overflow-auto",children:[m&&a(T,{children:[a(l,{children:[e(s,{children:"Related Content"}),e(b,{children:e(o,{children:Array.from({length:3}).map((t,r)=>e(n,{children:e(f,{className:"bg-gray-200 w-full h-10"})},r))})})]}),a(l,{children:[e(s,{children:"Table of Contents"}),e(b,{children:e(o,{children:Array.from({length:3}).map((t,r)=>e(n,{children:e(f,{className:"bg-gray-200 w-full h-10"})},r))})})]})]}),i&&!m&&Object.keys(i).length>0&&e(p,{defaultOpen:!0,className:"group/collapsible",children:a(l,{children:[e(s,{asChild:!0,children:a(d,{children:["Related Content",e(h,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),e(b,{children:e(c,{children:e(o,{children:i&&Object.keys(i).map(t=>a(n,{children:[a("span",{className:"p-2 text-xs text-sidebar-foreground",children:[" ",t.charAt(0).toUpperCase()+t.slice(1)]}),t&&i[t]&&e(C,{children:i[t].map(r=>e(g,{children:e(y,{asChild:!0,isActive:!1,size:"sm",children:a(F,{href:r.url,item:r,className:"flex justify-between items-center w-full text-xs",children:[e("span",{children:r.label}),r.type==="note"&&e(z,{className:"ml-2 text-gray-400 !important",size:16}),r.type==="draft"&&e(M,{iconName:"code-pull-request-draft",className:"ml-2 text-gray-400 !important"})]})})},r.label))})]},t))})})})]})}),x&&!m&&e(p,{defaultOpen:!0,className:"group/collapsible",children:a(l,{children:[e(s,{asChild:!0,children:a(d,{children:["Table of Contents",e(h,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),e(b,{children:e(c,{children:e(o,{children:x.map(t=>a(n,{children:[e(u,{asChild:!0,children:e("a",{href:`#${t.url}`,className:"text-xs",children:t.title})}),t.items?.length?e(C,{children:t.items.map(r=>e(g,{children:e(y,{asChild:!0,isActive:r.isActive,size:"sm",children:e("a",{href:`#${r.url}`,className:"flex justify-between items-center w-full text-xs",children:e("span",{children:r.title})})})},r.title))}):null]},t.title))})})})]})})]}),e(w,{})]})}export{Z as a};
@@ -1 +1 @@
1
- import{a as g}from"./chunk-PC6TVU7J.mjs";import{b as d}from"./chunk-7Z3TOFNL.mjs";import{a as v,b as p,c as f}from"./chunk-RFNYVF6F.mjs";import{ChevronLeft as $,ChevronRight as A}from"lucide-react";import{jsx as t,jsxs as a}from"react/jsx-runtime";function y(...e){return e.filter(Boolean).join(" ")}function B({currentDate:e,setCurrentDate:i,holidays:u,employees:n}){let b=new Date(e.getFullYear(),e.getMonth()+1,0).getDate(),x=()=>{i(new Date(e.getFullYear(),e.getMonth()-1,1))},N=()=>{i(new Date(e.getFullYear(),e.getMonth()+1,1))},w=()=>{i(new Date)},k=r=>r.toLocaleString("default",{weekday:"short"}).charAt(0);return a("div",{className:"px-4 sm:px-6 lg:px-8",children:[a("div",{className:"sm:flex sm:items-center",children:[a("div",{className:"sm:flex-auto",children:[t("h1",{className:"text-2xl font-semibold text-accent",children:e.toLocaleString("default",{month:"long",year:"numeric"})}),t("p",{className:"mt-2 text-sm text-foreground",children:"All staff with holidays for the current month."})]}),a("div",{className:"relative flex items-center rounded-md gap-1 md:items-stretch",children:[a(d,{onClick:x,variant:"outline",size:"icon",className:"rounded-l-md border-accent hover:text-accent",children:[t("span",{className:"sr-only",children:"Previous month"}),t($,{className:"h-5 w-5","aria-hidden":"true"})]}),t(d,{variant:"outline",onClick:w,className:"hidden border-l border-r border-accent px-3.5 text-sm font-semibold text-accent hover:bg-gray-50 focus:relative md:block",children:"Today"}),a(d,{onClick:N,variant:"outline",size:"icon",className:"rounded-r-md border-accent hover:text-accent",children:[t("span",{className:"sr-only",children:"Next month"}),t(A,{className:"h-5 w-5","aria-hidden":"true"})]})]})]}),t("div",{className:"mt-8 flow-root",children:t("div",{className:"-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8",children:t("div",{className:"max-h-[60vh] overflow-y-auto",children:a("table",{className:"min-w-full border-separate border-spacing-0",children:[t("thead",{className:"sticky top-0 z-20 bg-white",children:a("tr",{children:[t("th",{scope:"col",className:"sticky left-0 top-0 z-30 border-b border-r border-gray-300 bg-white bg-opacity-75 py-3.5 pl-4 pr-3 text-left text-sm font-semibold text-gray-900 backdrop-blur backdrop-filter sm:pl-6 lg:pl-8",children:"Employee"}),[...Array(b)].map((r,s)=>{let l=new Date(e.getFullYear(),e.getMonth(),s+1);return a("th",{scope:"col",className:`sticky top-0 z-10 border-b border-r border-gray-300 bg-white bg-opacity-75 px-0 py-3.5 text-center text-sm font-semibold text-gray-900 backdrop-blur backdrop-filter ${g(l)?"bg-gray-200":""}`,children:[t("div",{children:k(l)}),t("div",{children:s+1})]},s)})]})}),t("tbody",{children:n.map((r,s)=>a("tr",{children:[t("td",{className:y(s!==n.length-1?"border-gray-200":"","sticky left-0 z-10 bg-white border-r pl-4 pr-3 text-sm font-medium text-gray-900 sm:pl-6 lg:pl-8"),children:a("div",{className:"flex items-center",children:[a(v,{className:"h-11 w-11",children:[t(p,{src:r.image,alt:r.name}),t(f,{children:r.name.split(" ").map(l=>l[0]).join("")})]}),t("div",{className:"ml-4",children:t("div",{className:"font-medium text-accent",children:r.name})})]})}),[...Array(b)].map((l,h)=>{let m=new Date(e.getFullYear(),e.getMonth(),h+1),o=u.find(c=>c.userId===r.id&&new Date(c.startDate)<=m&&new Date(c.endDate)>=m);return t("td",{className:y(s!==n.length-1?"border-r border-gray-200":"","whitespace-nowrap border-r border-gray-200",g(m)?"bg-gray-200":"bg-white"),children:t("div",{className:`h-6 w-6 mx-auto rounded-full overflow-hidden ${o?o.status==="approved"?"bg-green-500":o.status==="rejected"?"bg-red-500":"bg-gray-600":"bg-gray-100"}`,title:o?`${r.name}: ${o.status} (${o.startDate} - ${o.endDate}) - ${o.leaveType}`:"",children:o&&o.leaveType!=="Full Day"&&t("div",{className:`h-3 w-6 ${o.leaveType==="Morning","bg-white rounded-t-full"}`})})},`${r.id}-${h}`)})]},r.id))})]})})})})]})}export{B as a};
1
+ import{a as g}from"./chunk-PC6TVU7J.mjs";import{b as d}from"./chunk-ZUA4KNIR.mjs";import{a as v,b as p,c as f}from"./chunk-SOLZ4VQH.mjs";import{ChevronLeft as $,ChevronRight as A}from"lucide-react";import{jsx as t,jsxs as a}from"react/jsx-runtime";function y(...e){return e.filter(Boolean).join(" ")}function B({currentDate:e,setCurrentDate:i,holidays:u,employees:n}){let b=new Date(e.getFullYear(),e.getMonth()+1,0).getDate(),x=()=>{i(new Date(e.getFullYear(),e.getMonth()-1,1))},N=()=>{i(new Date(e.getFullYear(),e.getMonth()+1,1))},w=()=>{i(new Date)},k=r=>r.toLocaleString("default",{weekday:"short"}).charAt(0);return a("div",{className:"px-4 sm:px-6 lg:px-8",children:[a("div",{className:"sm:flex sm:items-center",children:[a("div",{className:"sm:flex-auto",children:[t("h1",{className:"text-2xl font-semibold text-accent",children:e.toLocaleString("default",{month:"long",year:"numeric"})}),t("p",{className:"mt-2 text-sm text-foreground",children:"All staff with holidays for the current month."})]}),a("div",{className:"relative flex items-center rounded-md gap-1 md:items-stretch",children:[a(d,{onClick:x,variant:"outline",size:"icon",className:"rounded-l-md border-accent hover:text-accent",children:[t("span",{className:"sr-only",children:"Previous month"}),t($,{className:"h-5 w-5","aria-hidden":"true"})]}),t(d,{variant:"outline",onClick:w,className:"hidden border-l border-r border-accent px-3.5 text-sm font-semibold text-accent hover:bg-gray-50 focus:relative md:block",children:"Today"}),a(d,{onClick:N,variant:"outline",size:"icon",className:"rounded-r-md border-accent hover:text-accent",children:[t("span",{className:"sr-only",children:"Next month"}),t(A,{className:"h-5 w-5","aria-hidden":"true"})]})]})]}),t("div",{className:"mt-8 flow-root",children:t("div",{className:"-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8",children:t("div",{className:"max-h-[60vh] overflow-y-auto",children:a("table",{className:"min-w-full border-separate border-spacing-0",children:[t("thead",{className:"sticky top-0 z-20 bg-white",children:a("tr",{children:[t("th",{scope:"col",className:"sticky left-0 top-0 z-30 border-b border-r border-gray-300 bg-white bg-opacity-75 py-3.5 pl-4 pr-3 text-left text-sm font-semibold text-gray-900 backdrop-blur backdrop-filter sm:pl-6 lg:pl-8",children:"Employee"}),[...Array(b)].map((r,s)=>{let l=new Date(e.getFullYear(),e.getMonth(),s+1);return a("th",{scope:"col",className:`sticky top-0 z-10 border-b border-r border-gray-300 bg-white bg-opacity-75 px-0 py-3.5 text-center text-sm font-semibold text-gray-900 backdrop-blur backdrop-filter ${g(l)?"bg-gray-200":""}`,children:[t("div",{children:k(l)}),t("div",{children:s+1})]},s)})]})}),t("tbody",{children:n.map((r,s)=>a("tr",{children:[t("td",{className:y(s!==n.length-1?"border-gray-200":"","sticky left-0 z-10 bg-white border-r pl-4 pr-3 text-sm font-medium text-gray-900 sm:pl-6 lg:pl-8"),children:a("div",{className:"flex items-center",children:[a(v,{className:"h-11 w-11",children:[t(p,{src:r.image,alt:r.name}),t(f,{children:r.name.split(" ").map(l=>l[0]).join("")})]}),t("div",{className:"ml-4",children:t("div",{className:"font-medium text-accent",children:r.name})})]})}),[...Array(b)].map((l,h)=>{let m=new Date(e.getFullYear(),e.getMonth(),h+1),o=u.find(c=>c.userId===r.id&&new Date(c.startDate)<=m&&new Date(c.endDate)>=m);return t("td",{className:y(s!==n.length-1?"border-r border-gray-200":"","whitespace-nowrap border-r border-gray-200",g(m)?"bg-gray-200":"bg-white"),children:t("div",{className:`h-6 w-6 mx-auto rounded-full overflow-hidden ${o?o.status==="approved"?"bg-green-500":o.status==="rejected"?"bg-red-500":"bg-gray-600":"bg-gray-100"}`,title:o?`${r.name}: ${o.status} (${o.startDate} - ${o.endDate}) - ${o.leaveType}`:"",children:o&&o.leaveType!=="Full Day"&&t("div",{className:`h-3 w-6 ${o.leaveType==="Morning","bg-white rounded-t-full"}`})})},`${r.id}-${h}`)})]},r.id))})]})})})})]})}export{B as a};
@@ -1 +1 @@
1
- import{a as e}from"./chunk-TSEOL53Y.mjs";import*as r from"react";import{jsx as s}from"react/jsx-runtime";var i=r.forwardRef(({className:t,...o},a)=>s("textarea",{className:e("flex min-h-[80px] w-full rounded border border-border bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),ref:a,...o}));i.displayName="Textarea";export{i as a};
1
+ import{a as e}from"./chunk-MDJREBVI.mjs";import*as r from"react";import{jsx as s}from"react/jsx-runtime";var i=r.forwardRef(({className:t,...o},a)=>s("textarea",{className:e("flex min-h-[80px] w-full rounded border border-border bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),ref:a,...o}));i.displayName="Textarea";export{i as a};
@@ -1 +1 @@
1
- import{a as o,e as a}from"./chunk-7WKUKFCT.mjs";import n from"next/image";import s from"next/link";import{jsx as r,jsxs as l}from"react/jsx-runtime";function c({name:t,logo:e,href:i}){return r(o,{className:"w-full max-w-sm overflow-hidden transition-all duration-300 ring-0 hover:shadow-lg group",children:l(s,{href:i,className:"block",children:[r("div",{className:"bg-white p-2 flex items-center justify-center h-24",children:r("div",{className:"relative w-full h-full",children:e&&r(n,{src:e,alt:`${t} logo`,layout:"fill",objectFit:"contain"})})}),r(a,{className:"p-3 flex items-center justify-center h-18 bg-gradient-to-br from-gray-900 via-brand-one to-gray-900",children:r("p",{className:"font-medium text-lg text-white text-center group-hover:scale-105 transition-transform duration-200 ease-in-out",children:t})})]})})}export{c as a};
1
+ import{a as o,e as a}from"./chunk-YO3GQYRJ.mjs";import n from"next/image";import s from"next/link";import{jsx as r,jsxs as l}from"react/jsx-runtime";function c({name:t,logo:e,href:i}){return r(o,{className:"w-full max-w-sm overflow-hidden transition-all duration-300 ring-0 hover:shadow-lg group",children:l(s,{href:i,className:"block",children:[r("div",{className:"bg-white p-2 flex items-center justify-center h-24",children:r("div",{className:"relative w-full h-full",children:e&&r(n,{src:e,alt:`${t} logo`,layout:"fill",objectFit:"contain"})})}),r(a,{className:"p-3 flex items-center justify-center h-18 bg-gradient-to-br from-gray-900 via-brand-one to-gray-900",children:r("p",{className:"font-medium text-lg text-white text-center group-hover:scale-105 transition-transform duration-200 ease-in-out",children:t})})]})})}export{c as a};
@@ -1 +1 @@
1
- import{a as r,b as a,c as n,e as o}from"./chunk-7WKUKFCT.mjs";import d from"next/link";import{ExternalLink as C}from"lucide-react";import{jsx as e,jsxs as m}from"react/jsx-runtime";var x=({links:s,title:i="Related Content"})=>m(r,{children:[e(a,{children:e(n,{className:"text-accent",children:i})}),e(o,{children:e("nav",{className:"flex flex-col space-y-2",children:s.map((t,l)=>m(d,{href:t.href,className:"inline-flex items-center text-sm text-primary dark:text-foreground hover:text-accent",children:[t.name,t.href.startsWith("http")&&e(C,{className:"ml-1 h-3 w-3"})]},l))})})]});export{x as a};
1
+ import{a as r,b as a,c as n,e as o}from"./chunk-YO3GQYRJ.mjs";import d from"next/link";import{ExternalLink as C}from"lucide-react";import{jsx as e,jsxs as m}from"react/jsx-runtime";var x=({links:s,title:i="Related Content"})=>m(r,{children:[e(a,{children:e(n,{className:"text-accent",children:i})}),e(o,{children:e("nav",{className:"flex flex-col space-y-2",children:s.map((t,l)=>m(d,{href:t.href,className:"inline-flex items-center text-sm text-primary dark:text-foreground hover:text-accent",children:[t.name,t.href.startsWith("http")&&e(C,{className:"ml-1 h-3 w-3"})]},l))})})]});export{x as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{b as e}from"./chunk-7Z3TOFNL.mjs";import{ClipboardCopy as p}from"lucide-react";import{useState as s}from"react";import{jsx as t,jsxs as r}from"react/jsx-runtime";function u({code:a}){let[o,i]=s("Copy");function n(){o==="Copy"&&(i(()=>"Copied!"),setTimeout(()=>{i(()=>"Copy")},1e3))}return t("div",{className:"flex justify-end align-middle",children:r(e,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(a),n()},children:[t("p",{children:o}),t("div",{className:"w-6 h-6",children:t(p,{})})]})})}export{u as a};
4
+ import{b as e}from"./chunk-ZUA4KNIR.mjs";import{ClipboardCopy as p}from"lucide-react";import{useState as s}from"react";import{jsx as t,jsxs as r}from"react/jsx-runtime";function u({code:a}){let[o,i]=s("Copy");function n(){o==="Copy"&&(i(()=>"Copied!"),setTimeout(()=>{i(()=>"Copy")},1e3))}return t("div",{className:"flex justify-end align-middle",children:r(e,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(a),n()},children:[t("p",{children:o}),t("div",{className:"w-6 h-6",children:t(p,{})})]})})}export{u as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
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};
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};
@@ -1 +1 @@
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
+ 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,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as d}from"./chunk-EFIJNPMM.mjs";import{a as c}from"./chunk-VXZPPTQQ.mjs";import{a as r}from"./chunk-RAAY7PEH.mjs";import{a as u}from"./chunk-GJUA2KUH.mjs";import{b as m}from"./chunk-7Z3TOFNL.mjs";import{a as p,b as f,c as h,e as g}from"./chunk-7WKUKFCT.mjs";import{useState as b,useEffect as M}from"react";import{Users as S,Edit as j}from"lucide-react";import{jsx as a,jsxs as t}from"react/jsx-runtime";function L({team:n,onSave:C,onCancel:v,isLoading:l=!1,title:y,submitLabel:w,cancelLabel:T="Cancel",readOnly:F=!1}){let[e,i]=b({name:"",description:"",systemMsg:"",useProjects:!1,useKnowledge:!1,useFiles:!1,useChat:!1,...n}),[o,N]=b(!F);M(()=>{n&&i(n)},[n]);let x=s=>{s.preventDefault();let D={id:e.id||Date.now(),name:e.name,description:e.description||null,systemMsg:e.systemMsg||null,useProjects:e.useProjects||!1,useKnowledge:e.useKnowledge||!1,useFiles:e.useFiles||!1,useChat:e.useChat||!1,updatedAt:new Date().toISOString(),createdAt:e.createdAt||new Date().toISOString()};C(D)},E=s=>{s.preventDefault(),N(!o)},k=y||(o?n?"Edit Team":"Create New Team":"View Team"),P=w||(n?"Update Team":"Create Team");return t(p,{className:"m-8 w-full max-w-4xl mx-auto",children:[a(f,{children:t(h,{className:"flex items-center gap-2",children:[a(S,{className:"h-5 w-5"}),k]})}),a(g,{children:t("form",{onSubmit:x,className:"space-y-6",children:[t("div",{className:"space-y-4",children:[t("div",{className:"space-y-2",children:[a(r,{htmlFor:"name",children:"Team Name *"}),a(u,{id:"name",value:e.name||"",onChange:s=>i({...e,name:s.target.value}),required:!0,disabled:l||!o,placeholder:"Enter team name..."})]}),t("div",{className:"space-y-2",children:[a(r,{htmlFor:"description",children:"Description"}),a(c,{id:"description",value:e.description||"",onChange:s=>i({...e,description:s.target.value}),rows:3,placeholder:"Brief description of this team...",disabled:l||!o})]}),t("div",{className:"space-y-2",children:[a(r,{htmlFor:"systemMsg",children:"Ways of working"}),a(c,{id:"systemMsg",value:e.systemMsg||"",onChange:s=>i({...e,systemMsg:s.target.value}),rows:3,placeholder:"Describe how this team works in as much detail as possible. Include processes, tools, systems, styles...",disabled:l||!o})]})]}),t("div",{className:"space-y-4",children:[a("h3",{className:"text-lg font-semibold",children:"Team Configuration"}),t("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[t("div",{className:"flex items-center space-x-2",children:[a(d,{id:"useProjects",checked:e.useProjects||!1,onCheckedChange:s=>i({...e,useProjects:s}),disabled:l||!o}),a(r,{htmlFor:"useProjects",children:"Enable Projects"})]}),t("div",{className:"flex items-center space-x-2",children:[a(d,{id:"useKnowledge",checked:e.useKnowledge||!1,onCheckedChange:s=>i({...e,useKnowledge:s}),disabled:l||!o}),a(r,{htmlFor:"useKnowledge",children:"Enable Knowledge Base"})]}),t("div",{className:"flex items-center space-x-2",children:[a(d,{id:"useFiles",checked:e.useFiles||!1,onCheckedChange:s=>i({...e,useFiles:s}),disabled:l||!o}),a(r,{htmlFor:"useFiles",children:"Enable File Management"})]}),t("div",{className:"flex items-center space-x-2",children:[a(d,{id:"useChat",checked:e.useChat||!1,onCheckedChange:s=>i({...e,useChat:s}),disabled:l||!o}),a(r,{htmlFor:"useChat",children:"Enable Team Chat"})]})]})]}),t("div",{className:"flex justify-end gap-2 pt-4 border-t",children:[a(m,{type:"button",variant:"outline",onClick:v,disabled:l,children:o?T:"Close"}),o?a(m,{type:"submit",disabled:l||!e.name?.trim(),children:l?"Saving...":P}):t(m,{type:"button",onClick:E,disabled:l,className:"gap-2",children:[a(j,{className:"h-4 w-4"}),"Edit"]})]})]})})]})}export{L as a};
4
+ import{a as d}from"./chunk-YRMNCHFO.mjs";import{a as c}from"./chunk-B4H6T2GP.mjs";import{a as r}from"./chunk-TVZOULLL.mjs";import{a as u}from"./chunk-L5JPAKPM.mjs";import{b as m}from"./chunk-ZUA4KNIR.mjs";import{a as p,b as f,c as h,e as g}from"./chunk-YO3GQYRJ.mjs";import{useState as b,useEffect as M}from"react";import{Users as S,Edit as j}from"lucide-react";import{jsx as a,jsxs as t}from"react/jsx-runtime";function L({team:n,onSave:C,onCancel:v,isLoading:l=!1,title:y,submitLabel:w,cancelLabel:T="Cancel",readOnly:F=!1}){let[e,i]=b({name:"",description:"",systemMsg:"",useProjects:!1,useKnowledge:!1,useFiles:!1,useChat:!1,...n}),[o,N]=b(!F);M(()=>{n&&i(n)},[n]);let x=s=>{s.preventDefault();let D={id:e.id||Date.now(),name:e.name,description:e.description||null,systemMsg:e.systemMsg||null,useProjects:e.useProjects||!1,useKnowledge:e.useKnowledge||!1,useFiles:e.useFiles||!1,useChat:e.useChat||!1,updatedAt:new Date().toISOString(),createdAt:e.createdAt||new Date().toISOString()};C(D)},E=s=>{s.preventDefault(),N(!o)},k=y||(o?n?"Edit Team":"Create New Team":"View Team"),P=w||(n?"Update Team":"Create Team");return t(p,{className:"m-8 w-full max-w-4xl mx-auto",children:[a(f,{children:t(h,{className:"flex items-center gap-2",children:[a(S,{className:"h-5 w-5"}),k]})}),a(g,{children:t("form",{onSubmit:x,className:"space-y-6",children:[t("div",{className:"space-y-4",children:[t("div",{className:"space-y-2",children:[a(r,{htmlFor:"name",children:"Team Name *"}),a(u,{id:"name",value:e.name||"",onChange:s=>i({...e,name:s.target.value}),required:!0,disabled:l||!o,placeholder:"Enter team name..."})]}),t("div",{className:"space-y-2",children:[a(r,{htmlFor:"description",children:"Description"}),a(c,{id:"description",value:e.description||"",onChange:s=>i({...e,description:s.target.value}),rows:3,placeholder:"Brief description of this team...",disabled:l||!o})]}),t("div",{className:"space-y-2",children:[a(r,{htmlFor:"systemMsg",children:"Ways of working"}),a(c,{id:"systemMsg",value:e.systemMsg||"",onChange:s=>i({...e,systemMsg:s.target.value}),rows:3,placeholder:"Describe how this team works in as much detail as possible. Include processes, tools, systems, styles...",disabled:l||!o})]})]}),t("div",{className:"space-y-4",children:[a("h3",{className:"text-lg font-semibold",children:"Team Configuration"}),t("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[t("div",{className:"flex items-center space-x-2",children:[a(d,{id:"useProjects",checked:e.useProjects||!1,onCheckedChange:s=>i({...e,useProjects:s}),disabled:l||!o}),a(r,{htmlFor:"useProjects",children:"Enable Projects"})]}),t("div",{className:"flex items-center space-x-2",children:[a(d,{id:"useKnowledge",checked:e.useKnowledge||!1,onCheckedChange:s=>i({...e,useKnowledge:s}),disabled:l||!o}),a(r,{htmlFor:"useKnowledge",children:"Enable Knowledge Base"})]}),t("div",{className:"flex items-center space-x-2",children:[a(d,{id:"useFiles",checked:e.useFiles||!1,onCheckedChange:s=>i({...e,useFiles:s}),disabled:l||!o}),a(r,{htmlFor:"useFiles",children:"Enable File Management"})]}),t("div",{className:"flex items-center space-x-2",children:[a(d,{id:"useChat",checked:e.useChat||!1,onCheckedChange:s=>i({...e,useChat:s}),disabled:l||!o}),a(r,{htmlFor:"useChat",children:"Enable Team Chat"})]})]})]}),t("div",{className:"flex justify-end gap-2 pt-4 border-t",children:[a(m,{type:"button",variant:"outline",onClick:v,disabled:l,children:o?T:"Close"}),o?a(m,{type:"submit",disabled:l||!e.name?.trim(),children:l?"Saving...":P}):t(m,{type:"button",onClick:E,disabled:l,className:"gap-2",children:[a(j,{className:"h-4 w-4"}),"Edit"]})]})]})})]})}export{L as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as v}from"./chunk-NQPBIFGO.mjs";import{a as p}from"./chunk-VXZPPTQQ.mjs";import{a as n}from"./chunk-RAAY7PEH.mjs";import{a as f}from"./chunk-GJUA2KUH.mjs";import{b as d}from"./chunk-7Z3TOFNL.mjs";import{a as j,b as h,c as x,d as g,e as w,f as N}from"./chunk-7WKUKFCT.mjs";import{useState as k}from"react";import{Loader2 as L,Plus as P,X as R}from"lucide-react";import{Fragment as C,jsx as t,jsxs as a}from"react/jsx-runtime";var S=({onSubmit:y,onCancel:u,isLoading:o=!1,initialData:c,className:F=""})=>{let[r,I]=k({name:c?.name||"",objectives:c?.objectives||"",workInstructions:c?.workInstructions||"",plan:c?.plan||!1}),[s,b]=k({}),D=()=>{let e={};return r.name.trim()?r.name.trim().length<3&&(e.name="Project name must be at least 3 characters"):e.name="Project name is required",r.objectives.trim()?r.objectives.trim().length<10&&(e.objectives="Please provide more detailed objectives (at least 10 characters)"):e.objectives="Project objectives are required",r.workInstructions.trim()?r.workInstructions.trim().length<20&&(e.workInstructions="Please provide more detailed work instructions (at least 20 characters)"):e.workInstructions="Work instructions are required",b(e),Object.keys(e).length===0},E=async e=>{if(e.preventDefault(),!!D())try{await y(r)}catch(m){console.error("Error submitting project form:",m)}},i=(e,m)=>{I(l=>({...l,[e]:m})),s[e]&&b(l=>({...l,[e]:void 0}))};return a(j,{className:`w-full max-w-2xl ${F}`,children:[a(h,{children:[a(x,{className:"flex items-center gap-2",children:[t(P,{className:"h-5 w-5"}),"Create New Project"]}),t(g,{children:"Set up a new project with clear objectives and work instructions to help your team collaborate effectively."})]}),a("form",{onSubmit:E,children:[a(w,{className:"space-y-6",children:[a("div",{className:"space-y-2",children:[t(n,{htmlFor:"name",className:"text-sm font-medium",children:"Project Name *"}),t(f,{id:"name",type:"text",placeholder:"Enter project name",value:r.name,onChange:e=>i("name",e.target.value),className:s.name?"border-red-500 focus:border-red-500":"",disabled:o,maxLength:100}),s.name&&t("p",{className:"text-sm text-red-600",children:s.name})]}),a("div",{className:"space-y-2",children:[t(n,{htmlFor:"objectives",className:"text-sm font-medium",children:"Project Objectives *"}),t(p,{id:"objectives",placeholder:"Describe the main goals and objectives of this project...",value:r.objectives,onChange:e=>i("objectives",e.target.value),className:`min-h-[100px] resize-y ${s.objectives?"border-red-500 focus:border-red-500":""}`,disabled:o,maxLength:1e3}),a("div",{className:"flex justify-between text-xs text-gray-500",children:[t("span",{children:s.objectives&&t("span",{className:"text-red-600",children:s.objectives})}),a("span",{children:[r.objectives.length,"/1000"]})]})]}),a("div",{className:"space-y-2",children:[t(n,{htmlFor:"workInstructions",className:"text-sm font-medium",children:"Work Instructions *"}),t(p,{id:"workInstructions",placeholder:"Provide detailed instructions on how the work should be carried out, including processes, standards, and expectations...",value:r.workInstructions,onChange:e=>i("workInstructions",e.target.value),className:`min-h-[120px] resize-y ${s.workInstructions?"border-red-500 focus:border-red-500":""}`,disabled:o,maxLength:2e3}),a("div",{className:"flex justify-between text-xs text-gray-500",children:[t("span",{children:s.workInstructions&&t("span",{className:"text-red-600",children:s.workInstructions})}),a("span",{children:[r.workInstructions.length,"/2000"]})]})]}),a("div",{className:"space-y-3",children:[t(n,{className:"text-sm font-medium",children:"Project Management"}),a("div",{className:"flex items-center space-x-2",children:[t(v,{id:"plan",checked:r.plan,onCheckedChange:e=>i("plan",e===!0),disabled:o}),t(n,{htmlFor:"plan",className:"text-sm text-gray-700 cursor-pointer",children:"Enable project planning and management features"})]}),t("p",{className:"text-xs text-gray-500 ml-6",children:"This will allow project managers to create sprints, assign tasks, and track progress."})]})]}),a(N,{className:"flex justify-end gap-3",children:[u&&a(d,{type:"button",variant:"outline",onClick:u,disabled:o,className:"flex items-center gap-2",children:[t(R,{className:"h-4 w-4"}),"Cancel"]}),t(d,{type:"submit",disabled:o,className:"flex items-center gap-2",children:o?a(C,{children:[t(L,{className:"h-4 w-4 animate-spin"}),"Creating..."]}):a(C,{children:[t(P,{className:"h-4 w-4"}),"Create Project"]})})]})]})]})},X=S;export{S as a,X as b};
4
+ import{a as v}from"./chunk-INCYANPB.mjs";import{a as p}from"./chunk-B4H6T2GP.mjs";import{a as n}from"./chunk-TVZOULLL.mjs";import{a as f}from"./chunk-L5JPAKPM.mjs";import{b as d}from"./chunk-ZUA4KNIR.mjs";import{a as j,b as h,c as x,d as g,e as w,f as N}from"./chunk-YO3GQYRJ.mjs";import{useState as k}from"react";import{Loader2 as L,Plus as P,X as R}from"lucide-react";import{Fragment as C,jsx as t,jsxs as a}from"react/jsx-runtime";var S=({onSubmit:y,onCancel:u,isLoading:o=!1,initialData:c,className:F=""})=>{let[r,I]=k({name:c?.name||"",objectives:c?.objectives||"",workInstructions:c?.workInstructions||"",plan:c?.plan||!1}),[s,b]=k({}),D=()=>{let e={};return r.name.trim()?r.name.trim().length<3&&(e.name="Project name must be at least 3 characters"):e.name="Project name is required",r.objectives.trim()?r.objectives.trim().length<10&&(e.objectives="Please provide more detailed objectives (at least 10 characters)"):e.objectives="Project objectives are required",r.workInstructions.trim()?r.workInstructions.trim().length<20&&(e.workInstructions="Please provide more detailed work instructions (at least 20 characters)"):e.workInstructions="Work instructions are required",b(e),Object.keys(e).length===0},E=async e=>{if(e.preventDefault(),!!D())try{await y(r)}catch(m){console.error("Error submitting project form:",m)}},i=(e,m)=>{I(l=>({...l,[e]:m})),s[e]&&b(l=>({...l,[e]:void 0}))};return a(j,{className:`w-full max-w-2xl ${F}`,children:[a(h,{children:[a(x,{className:"flex items-center gap-2",children:[t(P,{className:"h-5 w-5"}),"Create New Project"]}),t(g,{children:"Set up a new project with clear objectives and work instructions to help your team collaborate effectively."})]}),a("form",{onSubmit:E,children:[a(w,{className:"space-y-6",children:[a("div",{className:"space-y-2",children:[t(n,{htmlFor:"name",className:"text-sm font-medium",children:"Project Name *"}),t(f,{id:"name",type:"text",placeholder:"Enter project name",value:r.name,onChange:e=>i("name",e.target.value),className:s.name?"border-red-500 focus:border-red-500":"",disabled:o,maxLength:100}),s.name&&t("p",{className:"text-sm text-red-600",children:s.name})]}),a("div",{className:"space-y-2",children:[t(n,{htmlFor:"objectives",className:"text-sm font-medium",children:"Project Objectives *"}),t(p,{id:"objectives",placeholder:"Describe the main goals and objectives of this project...",value:r.objectives,onChange:e=>i("objectives",e.target.value),className:`min-h-[100px] resize-y ${s.objectives?"border-red-500 focus:border-red-500":""}`,disabled:o,maxLength:1e3}),a("div",{className:"flex justify-between text-xs text-gray-500",children:[t("span",{children:s.objectives&&t("span",{className:"text-red-600",children:s.objectives})}),a("span",{children:[r.objectives.length,"/1000"]})]})]}),a("div",{className:"space-y-2",children:[t(n,{htmlFor:"workInstructions",className:"text-sm font-medium",children:"Work Instructions *"}),t(p,{id:"workInstructions",placeholder:"Provide detailed instructions on how the work should be carried out, including processes, standards, and expectations...",value:r.workInstructions,onChange:e=>i("workInstructions",e.target.value),className:`min-h-[120px] resize-y ${s.workInstructions?"border-red-500 focus:border-red-500":""}`,disabled:o,maxLength:2e3}),a("div",{className:"flex justify-between text-xs text-gray-500",children:[t("span",{children:s.workInstructions&&t("span",{className:"text-red-600",children:s.workInstructions})}),a("span",{children:[r.workInstructions.length,"/2000"]})]})]}),a("div",{className:"space-y-3",children:[t(n,{className:"text-sm font-medium",children:"Project Management"}),a("div",{className:"flex items-center space-x-2",children:[t(v,{id:"plan",checked:r.plan,onCheckedChange:e=>i("plan",e===!0),disabled:o}),t(n,{htmlFor:"plan",className:"text-sm text-gray-700 cursor-pointer",children:"Enable project planning and management features"})]}),t("p",{className:"text-xs text-gray-500 ml-6",children:"This will allow project managers to create sprints, assign tasks, and track progress."})]})]}),a(N,{className:"flex justify-end gap-3",children:[u&&a(d,{type:"button",variant:"outline",onClick:u,disabled:o,className:"flex items-center gap-2",children:[t(R,{className:"h-4 w-4"}),"Cancel"]}),t(d,{type:"submit",disabled:o,className:"flex items-center gap-2",children:o?a(C,{children:[t(L,{className:"h-4 w-4 animate-spin"}),"Creating..."]}):a(C,{children:[t(P,{className:"h-4 w-4"}),"Create Project"]})})]})]})]})},X=S;export{S as a,X as b};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as s}from"./chunk-TSEOL53Y.mjs";import*as r from"react";import*as e from"@radix-ui/react-dialog";import{Cross2Icon as c}from"@radix-ui/react-icons";import{cva as f}from"class-variance-authority";import{jsx as o,jsxs as n}from"react/jsx-runtime";var x=e.Root,N=e.Trigger,C=e.Close,p=e.Portal,m=r.forwardRef(({className:t,...i},a)=>o(e.Overlay,{className:s("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...i,ref:a}));m.displayName=e.Overlay.displayName;var h=f("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),S=r.forwardRef(({side:t="right",className:i,children:a,...l},d)=>n(p,{children:[o(m,{}),n(e.Content,{ref:d,className:s(h({side:t}),i),...l,children:[n(e.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[o(c,{className:"h-4 w-4"}),o("span",{className:"sr-only",children:"Close"})]}),a]})]}));S.displayName=e.Content.displayName;var v=({className:t,...i})=>o("div",{className:s("flex flex-col space-y-2 text-center sm:text-left",t),...i});v.displayName="SheetHeader";var P=({className:t,...i})=>o("div",{className:s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...i});P.displayName="SheetFooter";var y=r.forwardRef(({className:t,...i},a)=>o(e.Title,{ref:a,className:s("text-lg font-semibold text-foreground",t),...i}));y.displayName=e.Title.displayName;var u=r.forwardRef(({className:t,...i},a)=>o(e.Description,{ref:a,className:s("text-sm text-muted-foreground",t),...i}));u.displayName=e.Description.displayName;export{x as a,N as b,C as c,p as d,m as e,S as f,v as g,P as h,y as i,u as j};
4
+ import{a as s}from"./chunk-MDJREBVI.mjs";import*as r from"react";import*as e from"@radix-ui/react-dialog";import{Cross2Icon as c}from"@radix-ui/react-icons";import{cva as f}from"class-variance-authority";import{jsx as o,jsxs as n}from"react/jsx-runtime";var x=e.Root,N=e.Trigger,C=e.Close,p=e.Portal,m=r.forwardRef(({className:t,...i},a)=>o(e.Overlay,{className:s("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...i,ref:a}));m.displayName=e.Overlay.displayName;var h=f("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),S=r.forwardRef(({side:t="right",className:i,children:a,...l},d)=>n(p,{children:[o(m,{}),n(e.Content,{ref:d,className:s(h({side:t}),i),...l,children:[n(e.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[o(c,{className:"h-4 w-4"}),o("span",{className:"sr-only",children:"Close"})]}),a]})]}));S.displayName=e.Content.displayName;var v=({className:t,...i})=>o("div",{className:s("flex flex-col space-y-2 text-center sm:text-left",t),...i});v.displayName="SheetHeader";var P=({className:t,...i})=>o("div",{className:s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...i});P.displayName="SheetFooter";var y=r.forwardRef(({className:t,...i},a)=>o(e.Title,{ref:a,className:s("text-lg font-semibold text-foreground",t),...i}));y.displayName=e.Title.displayName;var u=r.forwardRef(({className:t,...i},a)=>o(e.Description,{ref:a,className:s("text-sm text-muted-foreground",t),...i}));u.displayName=e.Description.displayName;export{x as a,N as b,C as c,p as d,m as e,S as f,v as g,P as h,y as i,u as j};
@@ -1 +1 @@
1
- import{a as d,b as m,c as n,e as i,f as c}from"./chunk-7WKUKFCT.mjs";import{Clock as g}from"lucide-react";import{formatDistanceToNow as N}from"date-fns";import{jsx as a,jsxs as e}from"react/jsx-runtime";function T({artefact:l,taskId:f,taskData:p,loading:s=!1,error:C=null}){let t=p||{id:f,name:"Loading...",description:"",status:"done",dateLogged:new Date().toISOString(),project:{id:-1,name:""}},o=t.dateLogged;try{let r=new Date(t.dateLogged);isNaN(r.getTime())||(o=N(r,{addSuffix:!0}))}catch{}return e(d,{className:"w-full max-w-md shadow-md",children:[a(m,{className:"pb-2",children:a("div",{className:"flex justify-between items-start",children:a(n,{className:"text-lg font-semibold",children:s?"Loading...":t.name})})}),a(i,{className:"pb-2",children:s?a("div",{className:"animate-pulse h-4 bg-gray-200 rounded w-3/4 mb-2"}):C?a("p",{className:"text-sm text-red-500",children:"Error loading task details"}):a("p",{className:"text-sm text-foreground",children:l})}),a(c,{className:"pt-2 flex items-center justify-between",children:e("div",{className:"flex items-center text-xs text-gray-500",children:[a(g,{className:"h-3 w-3 mr-1"}),e("span",{children:["Created ",o]}),a("span",{className:"mx-2",children:"\u2022"}),e("span",{children:["Task #",t.id]})]})})]})}export{T as a};
1
+ import{a as d,b as m,c as n,e as i,f as c}from"./chunk-YO3GQYRJ.mjs";import{Clock as g}from"lucide-react";import{formatDistanceToNow as N}from"date-fns";import{jsx as a,jsxs as e}from"react/jsx-runtime";function T({artefact:l,taskId:f,taskData:p,loading:s=!1,error:C=null}){let t=p||{id:f,name:"Loading...",description:"",status:"done",dateLogged:new Date().toISOString(),project:{id:-1,name:""}},o=t.dateLogged;try{let r=new Date(t.dateLogged);isNaN(r.getTime())||(o=N(r,{addSuffix:!0}))}catch{}return e(d,{className:"w-full max-w-md shadow-md",children:[a(m,{className:"pb-2",children:a("div",{className:"flex justify-between items-start",children:a(n,{className:"text-lg font-semibold",children:s?"Loading...":t.name})})}),a(i,{className:"pb-2",children:s?a("div",{className:"animate-pulse h-4 bg-gray-200 rounded w-3/4 mb-2"}):C?a("p",{className:"text-sm text-red-500",children:"Error loading task details"}):a("p",{className:"text-sm text-foreground",children:l})}),a(c,{className:"pt-2 flex items-center justify-between",children:e("div",{className:"flex items-center text-xs text-gray-500",children:[a(g,{className:"h-3 w-3 mr-1"}),e("span",{children:["Created ",o]}),a("span",{className:"mx-2",children:"\u2022"}),e("span",{children:["Task #",t.id]})]})})]})}export{T as a};
@@ -1 +1 @@
1
- import{a as p}from"./chunk-VXZPPTQQ.mjs";import{a as m}from"./chunk-RAAY7PEH.mjs";import{a as c}from"./chunk-GJUA2KUH.mjs";import{useState as u}from"react";import{Edit as E}from"lucide-react";import{jsx as o,jsxs as f}from"react/jsx-runtime";var P=({fieldName:g,value:n,label:v,multiline:t=!1,onSave:y,className:b="",disabled:i=!1})=>{let[h,l]=u(!1),[a,r]=u(""),x=()=>{i||(l(!0),r(n))},s=async()=>{a!==n&&await y(g,a),l(!1)},d=e=>{e.key==="Enter"&&!t||e.key==="Enter"&&e.ctrlKey&&t?s():e.key==="Escape"&&(l(!1),r(""))};return f("div",{className:`space-y-2 ${b}`,children:[o(m,{children:v}),h?t?o(p,{value:a,onChange:e=>r(e.target.value),onBlur:s,onKeyDown:d,autoFocus:!0,rows:4,className:"resize-none"}):o(c,{value:a,onChange:e=>r(e.target.value),onBlur:s,onKeyPress:d,autoFocus:!0,className:"text-lg font-medium"}):f("div",{onClick:x,className:`${i?"cursor-not-allowed opacity-50":"cursor-pointer"} hover:bg-muted/50 p-2 rounded border border-transparent hover:border-border transition-colors group ${t?"min-h-[100px]":"min-h-[40px]"} flex items-start gap-2`,children:[o("span",{className:t?"text-sm text-muted-foreground":"text-lg font-medium text-foreground",children:n||"Click to edit..."}),!i&&o(E,{className:"h-4 w-4 text-muted-foreground opacity-0 group-hover:opacity-100 transition-opacity"})]})]})};export{P as a};
1
+ import{a as p}from"./chunk-B4H6T2GP.mjs";import{a as m}from"./chunk-TVZOULLL.mjs";import{a as c}from"./chunk-L5JPAKPM.mjs";import{useState as u}from"react";import{Edit as E}from"lucide-react";import{jsx as o,jsxs as f}from"react/jsx-runtime";var P=({fieldName:g,value:n,label:v,multiline:t=!1,onSave:y,className:b="",disabled:i=!1})=>{let[h,l]=u(!1),[a,r]=u(""),x=()=>{i||(l(!0),r(n))},s=async()=>{a!==n&&await y(g,a),l(!1)},d=e=>{e.key==="Enter"&&!t||e.key==="Enter"&&e.ctrlKey&&t?s():e.key==="Escape"&&(l(!1),r(""))};return f("div",{className:`space-y-2 ${b}`,children:[o(m,{children:v}),h?t?o(p,{value:a,onChange:e=>r(e.target.value),onBlur:s,onKeyDown:d,autoFocus:!0,rows:4,className:"resize-none"}):o(c,{value:a,onChange:e=>r(e.target.value),onBlur:s,onKeyPress:d,autoFocus:!0,className:"text-lg font-medium"}):f("div",{onClick:x,className:`${i?"cursor-not-allowed opacity-50":"cursor-pointer"} hover:bg-muted/50 p-2 rounded border border-transparent hover:border-border transition-colors group ${t?"min-h-[100px]":"min-h-[40px]"} flex items-start gap-2`,children:[o("span",{className:t?"text-sm text-muted-foreground":"text-lg font-medium text-foreground",children:n||"Click to edit..."}),!i&&o(E,{className:"h-4 w-4 text-muted-foreground opacity-0 group-hover:opacity-100 transition-opacity"})]})]})};export{P as a};
@@ -2,4 +2,4 @@
2
2
  "use strict";
3
3
  "use client"
4
4
 
5
- import{a as O}from"./chunk-QXNCGSQE.mjs";import{a as v,b as U,d as B}from"./chunk-ENRNRNPQ.mjs";import{a as D}from"./chunk-WWTVAR4J.mjs";import{a as I}from"./chunk-AQIMDHFI.mjs";import{a as S}from"./chunk-5N2D3BGH.mjs";import{a as T}from"./chunk-EPDV35LO.mjs";import{a as i}from"./chunk-BM2ZNFM6.mjs";import{a as F}from"./chunk-E6IIUYQ7.mjs";import{a as P,b as j}from"./chunk-KCOLYVJX.mjs";import{b as u}from"./chunk-7Z3TOFNL.mjs";import{b as N}from"./chunk-2JKLBLDE.mjs";import{a as C,b as x,c as y,d as w,e as A,f as k}from"./chunk-7WKUKFCT.mjs";import{useState as H}from"react";import{motion as oe,AnimatePresence as te}from"motion/react";import{Bot as ae}from"lucide-react";import{motion as Z}from"motion/react";import{Star as ee}from"lucide-react";import{jsx as s,jsxs as l}from"react/jsx-runtime";function f({app:a,onOpen:r,onFavorite:n,showProgress:c=!1,className:d}){return s(Z.div,{whileHover:{scale:1.02,y:-5},whileTap:{scale:.98},className:d,children:l(C,{className:"overflow-hidden rounded-3xl border-2 hover:border-primary/50 transition-all duration-300",children:[s(x,{className:"pb-2",children:l("div",{className:"flex items-center justify-between",children:[s("div",{className:"flex h-12 w-12 items-center justify-center rounded-2xl bg-muted",children:a.icon}),a.new?s(N,{className:"rounded-xl bg-amber-500",children:"New"}):s(u,{variant:"ghost",size:"icon",className:"h-8 w-8 rounded-2xl",onClick:()=>n?.(a),children:s(ee,{className:"h-4 w-4"})})]})}),l(A,{className:"pb-2",children:[s(y,{className:"text-lg",children:a.name}),s(w,{children:a.description}),c&&a.progress<100&&l("div",{className:"mt-2",children:[l("div",{className:"flex items-center justify-between text-sm",children:[s("span",{children:"Installation"}),l("span",{children:[a.progress,"%"]})]}),s(T,{value:a.progress,className:"h-2 mt-1 rounded-xl"})]})]}),s(k,{children:s(u,{variant:"secondary",className:"w-full rounded-2xl",onClick:()=>r?.(a),children:a.progress<100?"Continue Install":"Open"})})]})})}import{jsx as e,jsxs as t}from"react/jsx-runtime";function se({title:a="Digital Colleagues",businessUnits:r,projects:n,fileCount:c,teamMemberCount:d,onCreateProject:R,onOpenProject:L,sidebarItems:ie,initialColleagues:E,users:M,onColleagueAdd:V,onColleagueEdit:z,onColleagueDelete:G}){let[m,p]=H("home"),[g,Y]=H(r[0]),b=o=>{console.log("Opening app:",o.name)},h=o=>{console.log("Favoriting app:",o.name)},K=o=>{console.log("Opening file:",o.name)},le=o=>{console.log("Sharing file:",o.name)},W=o=>{console.log("Opening project:",o.name),L(o)},_=o=>{console.log("Sharing project:",o.name)},$=o=>{Y(o),console.log("Business unit changed to:",o.name)},q=()=>{console.log("Copilot clicked - navigating to chat"),p("chat")},J=o=>{console.log("Notification removed:",o)},Q=()=>{console.log("All notifications removed")},X=()=>{switch(m){case"home":return t("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[t("section",{className:"text-center py-12",children:[t("h1",{className:"text-4xl font-bold mb-4",children:["Welcome to the ",g.name," team"]}),e("p",{className:"text-xl text-muted-foreground mb-8",children:"This is your collaborative workspace for productivity and knowledge sharing."})]}),t("section",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[t("div",{className:"bg-card p-6 rounded-lg border",children:[e("h3",{className:"text-lg font-semibold mb-2",children:"Projects"}),e("p",{className:"text-3xl font-bold text-primary",children:n.length}),e("p",{className:"text-sm text-muted-foreground",children:"Active projects"})]}),t("div",{className:"bg-card p-6 rounded-lg border",children:[e("h3",{className:"text-lg font-semibold mb-2",children:"Team Members"}),e("p",{className:"text-3xl font-bold text-primary",children:d}),e("p",{className:"text-sm text-muted-foreground",children:"Collaborators"})]}),t("div",{className:"bg-card p-6 rounded-lg border",children:[e("h3",{className:"text-lg font-semibold mb-2",children:"Files"}),e("p",{className:"text-3xl font-bold text-primary",children:c}),e("p",{className:"text-sm text-muted-foreground",children:"Project files"})]})]}),e(i,{title:"Chat with your team",gradient:"bg-gradient-to-r from-pink-600 via-red-600 to-orange-600",primaryAction:{label:"Go",onClick:()=>p("chat")}})]});case"colleagues":return e(O,{initialColleagues:E,availableUsers:M,onColleagueAdd:V,onColleagueEdit:z,onColleagueDelete:G});case"chat":return t("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[t("section",{className:"text-center py-12",children:[e("h1",{className:"text-4xl font-bold mb-4",children:"Team Chat"}),t("p",{className:"text-xl text-muted-foreground mb-8",children:["Connect with your ",g.name," team members and collaborate in real-time."]})]}),e(i,{title:"Launch Full Chat Interface",description:"Access the complete chat experience with AI assistance.",gradient:"bg-gradient-to-r from-blue-600 via-purple-600 to-pink-600",primaryAction:{label:"Open Chat",onClick:()=>console.log("Open full chat interface")}})]});case"apps":return t("div",{className:"space-y-8",children:[e(i,{title:"Creative Apps Collection",description:"Discover our full suite of professional design and creative applications.",gradient:"bg-gradient-to-r from-pink-600 via-red-600 to-orange-600",primaryAction:{label:"Install Desktop App",onClick:()=>console.log("Install desktop app clicked")}}),t("section",{className:"space-y-4",children:[e("h2",{className:"text-2xl font-semibold",children:"New Releases"}),e("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4",children:v.filter(o=>o.new).map(o=>e(f,{app:o,showProgress:!0,onOpen:b,onFavorite:h},o.name))})]}),t("section",{className:"space-y-4",children:[e("h2",{className:"text-2xl font-semibold",children:"All Apps"}),e("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4",children:v.map(o=>e(f,{app:o,onOpen:b,onFavorite:h},o.name))})]})]});case"knowledge":return e(D,{});case"files":return t("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[e(i,{title:"Your Creative Files",description:"Access, manage, and share all your design files in one place.",gradient:"bg-gradient-to-r from-teal-600 via-cyan-600 to-blue-600",primaryAction:{label:"Upload Files",onClick:()=>console.log("Upload files clicked")}}),t("section",{className:"space-y-4",children:[e("div",{className:"flex items-center justify-between",children:e("h2",{className:"text-2xl font-semibold",children:"All Files"})}),e(I,{files:U,onFileClick:K})]})]});case"projects":return t("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[e(i,{title:"Project Management",description:"Organize your creative work into projects and collaborate with your team.",gradient:"bg-gradient-to-r from-purple-600 via-violet-600 to-indigo-600",primaryAction:{label:"New Project",onClick:R}}),t("section",{className:"space-y-4",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:n.map(o=>e(S,{project:o,onOpen:W,onShare:_},o.name))})]})]});case"learn":return t("div",{className:"space-y-8",children:[e(i,{title:"Learn & Grow",description:"Expand your creative skills with tutorials, courses, and resources.",gradient:"bg-gradient-to-r from-green-600 via-emerald-600 to-teal-600",primaryAction:{label:"Upgrade to Pro",onClick:()=>console.log("Upgrade to pro clicked")}}),t("section",{className:"space-y-4",children:[e("h2",{className:"text-2xl font-semibold",children:"Featured Tutorials"}),e("div",{className:"grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3",children:B.slice(0,3).map(o=>t("div",{className:"rounded-3xl border p-6",children:[e("h3",{className:"font-semibold mb-2",children:o.title}),e("p",{className:"text-sm text-muted-foreground mb-4",children:o.description}),t("div",{className:"flex items-center justify-between text-sm",children:[e("span",{children:o.duration}),e("span",{children:o.level})]})]},o.title))})]})]});default:return null}};return e(F,{sidebarItems:P,title:a,notifications:j,businessUnits:r,currentBusinessUnit:g,onBusinessUnitChange:$,activeTab:m,onTabChange:p,showTabs:!0,onActionClick:q,actionIcon:e(ae,{className:"mr-2 h-4 w-4"}),actionText:"Start Chat",onNotificationRemove:J,onRemoveAll:Q,children:e(te,{mode:"wait",children:e(oe.div,{className:"flex-1 h-full",initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:X()},m)})})}export{se as a};
5
+ import{a as O}from"./chunk-Q6VAKKW3.mjs";import{a as S}from"./chunk-2RGAV55J.mjs";import{a as T}from"./chunk-5RTGHMF3.mjs";import{a as D}from"./chunk-5BV4MHV6.mjs";import{a as I}from"./chunk-DSSHQ6K7.mjs";import{a as v,b as U,d as B}from"./chunk-ENRNRNPQ.mjs";import{a as i}from"./chunk-Z22NSJMF.mjs";import{a as F}from"./chunk-IK3GOCAU.mjs";import{a as P,b as j}from"./chunk-NPVUICIF.mjs";import{b as u}from"./chunk-ZUA4KNIR.mjs";import{b as N}from"./chunk-CSBGSBEU.mjs";import{a as C,b as x,c as y,d as w,e as A,f as k}from"./chunk-YO3GQYRJ.mjs";import{useState as H}from"react";import{motion as oe,AnimatePresence as te}from"motion/react";import{Bot as ae}from"lucide-react";import{motion as Z}from"motion/react";import{Star as ee}from"lucide-react";import{jsx as s,jsxs as l}from"react/jsx-runtime";function f({app:a,onOpen:r,onFavorite:n,showProgress:c=!1,className:d}){return s(Z.div,{whileHover:{scale:1.02,y:-5},whileTap:{scale:.98},className:d,children:l(C,{className:"overflow-hidden rounded-3xl border-2 hover:border-primary/50 transition-all duration-300",children:[s(x,{className:"pb-2",children:l("div",{className:"flex items-center justify-between",children:[s("div",{className:"flex h-12 w-12 items-center justify-center rounded-2xl bg-muted",children:a.icon}),a.new?s(N,{className:"rounded-xl bg-amber-500",children:"New"}):s(u,{variant:"ghost",size:"icon",className:"h-8 w-8 rounded-2xl",onClick:()=>n?.(a),children:s(ee,{className:"h-4 w-4"})})]})}),l(A,{className:"pb-2",children:[s(y,{className:"text-lg",children:a.name}),s(w,{children:a.description}),c&&a.progress<100&&l("div",{className:"mt-2",children:[l("div",{className:"flex items-center justify-between text-sm",children:[s("span",{children:"Installation"}),l("span",{children:[a.progress,"%"]})]}),s(T,{value:a.progress,className:"h-2 mt-1 rounded-xl"})]})]}),s(k,{children:s(u,{variant:"secondary",className:"w-full rounded-2xl",onClick:()=>r?.(a),children:a.progress<100?"Continue Install":"Open"})})]})})}import{jsx as e,jsxs as t}from"react/jsx-runtime";function se({title:a="Digital Colleagues",businessUnits:r,projects:n,fileCount:c,teamMemberCount:d,onCreateProject:R,onOpenProject:L,sidebarItems:ie,initialColleagues:E,users:M,onColleagueAdd:V,onColleagueEdit:z,onColleagueDelete:G}){let[m,p]=H("home"),[g,Y]=H(r[0]),b=o=>{console.log("Opening app:",o.name)},h=o=>{console.log("Favoriting app:",o.name)},K=o=>{console.log("Opening file:",o.name)},le=o=>{console.log("Sharing file:",o.name)},W=o=>{console.log("Opening project:",o.name),L(o)},_=o=>{console.log("Sharing project:",o.name)},$=o=>{Y(o),console.log("Business unit changed to:",o.name)},q=()=>{console.log("Copilot clicked - navigating to chat"),p("chat")},J=o=>{console.log("Notification removed:",o)},Q=()=>{console.log("All notifications removed")},X=()=>{switch(m){case"home":return t("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[t("section",{className:"text-center py-12",children:[t("h1",{className:"text-4xl font-bold mb-4",children:["Welcome to the ",g.name," team"]}),e("p",{className:"text-xl text-muted-foreground mb-8",children:"This is your collaborative workspace for productivity and knowledge sharing."})]}),t("section",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[t("div",{className:"bg-card p-6 rounded-lg border",children:[e("h3",{className:"text-lg font-semibold mb-2",children:"Projects"}),e("p",{className:"text-3xl font-bold text-primary",children:n.length}),e("p",{className:"text-sm text-muted-foreground",children:"Active projects"})]}),t("div",{className:"bg-card p-6 rounded-lg border",children:[e("h3",{className:"text-lg font-semibold mb-2",children:"Team Members"}),e("p",{className:"text-3xl font-bold text-primary",children:d}),e("p",{className:"text-sm text-muted-foreground",children:"Collaborators"})]}),t("div",{className:"bg-card p-6 rounded-lg border",children:[e("h3",{className:"text-lg font-semibold mb-2",children:"Files"}),e("p",{className:"text-3xl font-bold text-primary",children:c}),e("p",{className:"text-sm text-muted-foreground",children:"Project files"})]})]}),e(i,{title:"Chat with your team",gradient:"bg-gradient-to-r from-pink-600 via-red-600 to-orange-600",primaryAction:{label:"Go",onClick:()=>p("chat")}})]});case"colleagues":return e(O,{initialColleagues:E,availableUsers:M,onColleagueAdd:V,onColleagueEdit:z,onColleagueDelete:G});case"chat":return t("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[t("section",{className:"text-center py-12",children:[e("h1",{className:"text-4xl font-bold mb-4",children:"Team Chat"}),t("p",{className:"text-xl text-muted-foreground mb-8",children:["Connect with your ",g.name," team members and collaborate in real-time."]})]}),e(i,{title:"Launch Full Chat Interface",description:"Access the complete chat experience with AI assistance.",gradient:"bg-gradient-to-r from-blue-600 via-purple-600 to-pink-600",primaryAction:{label:"Open Chat",onClick:()=>console.log("Open full chat interface")}})]});case"apps":return t("div",{className:"space-y-8",children:[e(i,{title:"Creative Apps Collection",description:"Discover our full suite of professional design and creative applications.",gradient:"bg-gradient-to-r from-pink-600 via-red-600 to-orange-600",primaryAction:{label:"Install Desktop App",onClick:()=>console.log("Install desktop app clicked")}}),t("section",{className:"space-y-4",children:[e("h2",{className:"text-2xl font-semibold",children:"New Releases"}),e("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4",children:v.filter(o=>o.new).map(o=>e(f,{app:o,showProgress:!0,onOpen:b,onFavorite:h},o.name))})]}),t("section",{className:"space-y-4",children:[e("h2",{className:"text-2xl font-semibold",children:"All Apps"}),e("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4",children:v.map(o=>e(f,{app:o,onOpen:b,onFavorite:h},o.name))})]})]});case"knowledge":return e(D,{});case"files":return t("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[e(i,{title:"Your Creative Files",description:"Access, manage, and share all your design files in one place.",gradient:"bg-gradient-to-r from-teal-600 via-cyan-600 to-blue-600",primaryAction:{label:"Upload Files",onClick:()=>console.log("Upload files clicked")}}),t("section",{className:"space-y-4",children:[e("div",{className:"flex items-center justify-between",children:e("h2",{className:"text-2xl font-semibold",children:"All Files"})}),e(I,{files:U,onFileClick:K})]})]});case"projects":return t("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[e(i,{title:"Project Management",description:"Organize your creative work into projects and collaborate with your team.",gradient:"bg-gradient-to-r from-purple-600 via-violet-600 to-indigo-600",primaryAction:{label:"New Project",onClick:R}}),t("section",{className:"space-y-4",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:n.map(o=>e(S,{project:o,onOpen:W,onShare:_},o.name))})]})]});case"learn":return t("div",{className:"space-y-8",children:[e(i,{title:"Learn & Grow",description:"Expand your creative skills with tutorials, courses, and resources.",gradient:"bg-gradient-to-r from-green-600 via-emerald-600 to-teal-600",primaryAction:{label:"Upgrade to Pro",onClick:()=>console.log("Upgrade to pro clicked")}}),t("section",{className:"space-y-4",children:[e("h2",{className:"text-2xl font-semibold",children:"Featured Tutorials"}),e("div",{className:"grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3",children:B.slice(0,3).map(o=>t("div",{className:"rounded-3xl border p-6",children:[e("h3",{className:"font-semibold mb-2",children:o.title}),e("p",{className:"text-sm text-muted-foreground mb-4",children:o.description}),t("div",{className:"flex items-center justify-between text-sm",children:[e("span",{children:o.duration}),e("span",{children:o.level})]})]},o.title))})]})]});default:return null}};return e(F,{sidebarItems:P,title:a,notifications:j,businessUnits:r,currentBusinessUnit:g,onBusinessUnitChange:$,activeTab:m,onTabChange:p,showTabs:!0,onActionClick:q,actionIcon:e(ae,{className:"mr-2 h-4 w-4"}),actionText:"Start Chat",onNotificationRemove:J,onRemoveAll:Q,children:e(te,{mode:"wait",children:e(oe.div,{className:"flex-1 h-full",initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:X()},m)})})}export{se as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{b as t}from"./chunk-7Z3TOFNL.mjs";import{motion as n}from"motion/react";import{Trash2 as c}from"lucide-react";import{jsx as e,jsxs as d}from"react/jsx-runtime";function x({files:s,onFileClick:a,onFileEdit:v,onFileDelete:o,showHeader:l=!0,className:m}){return d("div",{className:`rounded-3xl border overflow-hidden ${m||""}`,children:[l&&d("div",{className:"bg-muted/50 p-3 hidden md:grid md:grid-cols-10 text-sm font-medium",children:[e("div",{className:"col-span-6",children:"Name"}),e("div",{className:"col-span-2",children:"Size"}),e("div",{className:"col-span-2",children:"Modified"})]}),e("div",{className:"divide-y",children:s.map(i=>d(n.div,{whileHover:{backgroundColor:"rgba(0,0,0,0.02)"},className:"p-3 md:grid md:grid-cols-10 items-center flex flex-col md:flex-row gap-3 md:gap-0 cursor-pointer",onClick:()=>a?.(i),children:[d("div",{className:"col-span-6 flex items-center gap-3 w-full md:w-auto",children:[e("div",{className:"flex h-10 w-10 items-center justify-center rounded-2xl bg-muted"}),e("div",{children:e("p",{className:"font-medium",children:i.name})})]}),e("div",{className:"col-span-2 text-sm md:text-base",children:i.filesize}),d("div",{className:"col-span-2 flex items-center justify-between w-full md:w-auto",children:[e("span",{className:"text-sm md:text-base",children:typeof i.createdAt=="string"?i.createdAt:i.createdAt.toLocaleDateString()}),e("div",{className:"flex gap-1",children:e(t,{variant:"ghost",size:"icon",className:"h-8 w-8 rounded-xl text-red-500 hover:text-red-600",onClick:r=>{r.stopPropagation(),o?.(i)},children:e(c,{className:"h-4 w-4"})})})]})]},i.name))})]})}export{x as a};
4
+ import{b as t}from"./chunk-ZUA4KNIR.mjs";import{motion as n}from"motion/react";import{Trash2 as c}from"lucide-react";import{jsx as e,jsxs as d}from"react/jsx-runtime";function x({files:a,onFileClick:s,onFileEdit:v,onFileDelete:o,showHeader:l=!0,className:m}){return d("div",{className:`rounded-3xl border overflow-hidden ${m||""}`,children:[l&&d("div",{className:"bg-muted/50 p-3 hidden md:grid md:grid-cols-10 text-sm font-medium",children:[e("div",{className:"col-span-6",children:"Name"}),e("div",{className:"col-span-2",children:"Size"}),e("div",{className:"col-span-2",children:"Modified"})]}),e("div",{className:"divide-y",children:a.map(i=>d(n.div,{whileHover:{backgroundColor:"rgba(0,0,0,0.02)"},className:"p-3 md:grid md:grid-cols-10 items-center flex flex-col md:flex-row gap-3 md:gap-0 cursor-pointer",onClick:()=>s?.(i),children:[d("div",{className:"col-span-6 flex items-center gap-3 w-full md:w-auto",children:[e("div",{className:"flex h-10 w-10 items-center justify-center rounded-2xl bg-muted"}),e("div",{children:e("p",{className:"font-medium",children:i.name})})]}),e("div",{className:"col-span-2 text-sm md:text-base",children:i.filesize}),d("div",{className:"col-span-2 flex items-center justify-between w-full md:w-auto",children:[e("span",{className:"text-sm md:text-base",children:typeof i.createdAt=="string"?i.createdAt:new Date(i.createdAt).toLocaleDateString()}),e("div",{className:"flex gap-1",children:e(t,{variant:"ghost",size:"icon",className:"h-8 w-8 rounded-xl text-red-500 hover:text-red-600",onClick:r=>{r.stopPropagation(),o?.(i)},children:e(c,{className:"h-4 w-4"})})})]})]},i.name))})]})}export{x as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as s}from"./chunk-7QBPKUWN.mjs";import{a as m}from"./chunk-TSEOL53Y.mjs";import*as e from"react";import*as t from"@radix-ui/react-toggle-group";import{jsx as l}from"react/jsx-runtime";var f=e.createContext({size:"default",variant:"default"}),u=e.forwardRef(({className:o,variant:r,size:i,children:a,...p},g)=>l(t.Root,{ref:g,className:m("flex items-center justify-center gap-1",o),...p,children:l(f.Provider,{value:{variant:r,size:i},children:a})}));u.displayName=t.Root.displayName;var c=e.forwardRef(({className:o,children:r,variant:i,size:a,...p},g)=>{let n=e.useContext(f);return l(t.Item,{ref:g,className:m(s({variant:n.variant||i,size:n.size||a}),o),...p,children:r})});c.displayName=t.Item.displayName;export{u as a,c as b};
4
+ import{a as s}from"./chunk-JFFTEK6Z.mjs";import{a as m}from"./chunk-MDJREBVI.mjs";import*as e from"react";import*as t from"@radix-ui/react-toggle-group";import{jsx as l}from"react/jsx-runtime";var f=e.createContext({size:"default",variant:"default"}),u=e.forwardRef(({className:o,variant:r,size:i,children:a,...p},g)=>l(t.Root,{ref:g,className:m("flex items-center justify-center gap-1",o),...p,children:l(f.Provider,{value:{variant:r,size:i},children:a})}));u.displayName=t.Root.displayName;var c=e.forwardRef(({className:o,children:r,variant:i,size:a,...p},g)=>{let n=e.useContext(f);return l(t.Item,{ref:g,className:m(s({variant:n.variant||i,size:n.size||a}),o),...p,children:r})});c.displayName=t.Item.displayName;export{u as a,c as b};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
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};
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};
@@ -1 +1 @@
1
- import{a as s}from"./chunk-AEBUMA72.mjs";import{a as e}from"./chunk-RU435LAU.mjs";import{a as r}from"./chunk-VRZHKAJK.mjs";import{a as o}from"./chunk-TNCD5YIY.mjs";import{jsx as t,jsxs as m}from"react/jsx-runtime";function c({blogs:n,pages:g,categories:p,types:i,base:a}){return t("section",{children:t(o,{children:t("div",{className:"grid",children:m("div",{children:[i&&t(e,{types:i}),t(s,{blogs:n,base:a}),t(r,{pages:g})]})})})})}export{c as a};
1
+ import{a as s}from"./chunk-AEBUMA72.mjs";import{a as e}from"./chunk-OM5ZUHCN.mjs";import{a as r}from"./chunk-FMH5CZ7X.mjs";import{a as o}from"./chunk-FMJBJ3HN.mjs";import{jsx as t,jsxs as m}from"react/jsx-runtime";function c({blogs:n,pages:g,categories:p,types:i,base:a}){return t("section",{children:t(o,{children:t("div",{className:"grid",children:m("div",{children:[i&&t(e,{types:i}),t(s,{blogs:n,base:a}),t(r,{pages:g})]})})})})}export{c as a};
@@ -1 +1 @@
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
+ 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};