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 s}from"./chunk-7Z3TOFNL.mjs";import{b as c}from"./chunk-2JKLBLDE.mjs";import{a as h}from"./chunk-FLHDNCNY.mjs";import{motion as x}from"motion/react";import{FaChevronDown as w,FaChevronUp as f}from"react-icons/fa";import{jsx as e,jsxs as t}from"react/jsx-runtime";function z({title:n,description:a,badge:r,primaryAction:i,secondaryAction:o,gradient:g,children:d,className:v}){let[l,b]=h(`hero-section-minimized-${n.replace(/\s+/g,"-").toLowerCase()}`,!o&&!a),m=!o&&!a||l;return t(x.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},className:`overflow-hidden rounded-3xl ${g} p-8 text-white ${v||""}`,children:[t("div",{className:"flex items-center justify-between mb-2",children:[t("div",{className:"flex items-center gap-3",children:[r&&e(c,{className:"bg-white/20 text-white hover:bg-white/30 rounded-xl",children:r}),e("h2",{className:"text-3xl font-bold m-0",children:n})]}),t("div",{className:"flex items-center gap-3",children:[m&&i&&e(s,{className:"rounded-2xl bg-white text-indigo-700 hover:bg-white/90",onClick:i.onClick,children:i.label}),(o||a)&&e("button",{"aria-label":l?"Expand hero section":"Minimize hero section",className:"rounded-full bg-white/20 hover:bg-white/30 p-1 text-white transition-colors",onClick:()=>b(!l),style:{lineHeight:0},children:l?e(w,{size:22}):e(f,{size:22})})]})]}),!m&&t("div",{className:"flex flex-col gap-6 md:flex-row md:items-center md:justify-between",children:[t("div",{className:"space-y-4",children:[e("p",{className:"max-w-[600px] text-white/80",children:a}),t("div",{className:"flex flex-wrap gap-3",children:[i&&e(s,{className:"rounded-2xl bg-white text-indigo-700 hover:bg-white/90",onClick:i.onClick,children:i.label}),o&&e(s,{variant:"outline",className:"rounded-2xl bg-transparent border-white text-white hover:bg-white/10",onClick:o.onClick,children:o.label})]})]}),d&&e("div",{className:"hidden lg:block",children:d})]})]})}export{z as a};
4
+ import{b as s}from"./chunk-ZUA4KNIR.mjs";import{b as c}from"./chunk-CSBGSBEU.mjs";import{a as h}from"./chunk-FLHDNCNY.mjs";import{motion as x}from"motion/react";import{FaChevronDown as w,FaChevronUp as f}from"react-icons/fa";import{jsx as e,jsxs as t}from"react/jsx-runtime";function z({title:n,description:a,badge:r,primaryAction:i,secondaryAction:o,gradient:g,children:d,className:v}){let[l,b]=h(`hero-section-minimized-${n.replace(/\s+/g,"-").toLowerCase()}`,!o&&!a),m=!o&&!a||l;return t(x.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},className:`overflow-hidden rounded-3xl ${g} p-8 text-white ${v||""}`,children:[t("div",{className:"flex items-center justify-between mb-2",children:[t("div",{className:"flex items-center gap-3",children:[r&&e(c,{className:"bg-white/20 text-white hover:bg-white/30 rounded-xl",children:r}),e("h2",{className:"text-3xl font-bold m-0",children:n})]}),t("div",{className:"flex items-center gap-3",children:[m&&i&&e(s,{className:"rounded-2xl bg-white text-indigo-700 hover:bg-white/90",onClick:i.onClick,children:i.label}),(o||a)&&e("button",{"aria-label":l?"Expand hero section":"Minimize hero section",className:"rounded-full bg-white/20 hover:bg-white/30 p-1 text-white transition-colors",onClick:()=>b(!l),style:{lineHeight:0},children:l?e(w,{size:22}):e(f,{size:22})})]})]}),!m&&t("div",{className:"flex flex-col gap-6 md:flex-row md:items-center md:justify-between",children:[t("div",{className:"space-y-4",children:[e("p",{className:"max-w-[600px] text-white/80",children:a}),t("div",{className:"flex flex-wrap gap-3",children:[i&&e(s,{className:"rounded-2xl bg-white text-indigo-700 hover:bg-white/90",onClick:i.onClick,children:i.label}),o&&e(s,{variant:"outline",className:"rounded-2xl bg-transparent border-white text-white hover:bg-white/10",onClick:o.onClick,children:o.label})]})]}),d&&e("div",{className:"hidden lg:block",children:d})]})]})}export{z as a};
@@ -0,0 +1 @@
1
+ import{a as E}from"./chunk-6DEY5ZDD.mjs";import{a as I}from"./chunk-Z22NSJMF.mjs";import{b as v}from"./chunk-ZUA4KNIR.mjs";import{b as m}from"./chunk-CSBGSBEU.mjs";import{a as o}from"./chunk-YO3GQYRJ.mjs";import{useEffect as X,useState as n}from"react";import{Calendar as Y,Plus as Z}from"lucide-react";import{jsx as t,jsxs as s}from"react/jsx-runtime";var ce=({tasks:i,epics:A,sprints:l,onUpdateTask:B,onTaskClick:P,onAddSprint:O})=>{let[d,j]=n(["2"]),[g,f]=n(null),[R,c]=n(!1),[b,p]=n(null),[u,$]=n(i.filter(e=>!e.sprintId)),[V,M]=n(i.filter(e=>e.sprintId&&d.includes(e.sprintId))),[h,U]=n(l.filter(e=>e.id!=="backlog"&&e.id!=="all-tasks").sort((e,a)=>e.startDate.getTime()-a.startDate.getTime()));X(()=>{$(i.filter(e=>!e.sprintId)),M(i.filter(e=>e.sprintId&&d.includes(e.sprintId))),U(l.filter(e=>e.id!=="backlog"&&e.id!=="all-tasks").sort((e,a)=>e.startDate.getTime()-a.startDate.getTime()))},[i,l,d]);let z=e=>A.find(a=>a.id===e),F=e=>l.find(a=>a.id===e),L=e=>{switch(e){case"high":return"bg-destructive/20 text-destructive";case"medium":return"bg-warning/20 text-warning";case"low":return"bg-success/20 text-success";default:return"bg-muted text-muted-foreground"}},H=e=>e.split(" ").map(a=>a[0]).join("").toUpperCase(),q=e=>{f(e)},x=e=>{e.preventDefault()},N=e=>{p(e)},y=()=>{p(null)},k=(e,a)=>{e.preventDefault(),p(null),g&&(B(g.id,{sprintId:a==="backlog"?void 0:a}),f(null))},G=e=>{e==="backlog"||e==="all-tasks"||j(a=>a.includes(e)?a.filter(r=>r!==e):[...a,e])},J=e=>{O(e),c(!1)},D=({task:e,showSprint:a=!1})=>{let r=z(e.epicId),S=e.sprintId?F(e.sprintId):null,[T,w]=n(!1),K=C=>{C.defaultPrevented||T||P(e)},Q=C=>{w(!0),q(e)},W=()=>{w(!1)};return t(o,{className:`p-3 cursor-grab transition-all duration-200 hover:shadow-md bg-card border-border hover:border-border/80 active:cursor-grabbing ${T?"opacity-50 shadow-lg scale-105":""} ${g?.id===e.id?"ring-2 ring-primary":""}`,draggable:!0,onDragStart:Q,onDragEnd:W,onClick:K,children:s("div",{className:"space-y-2",children:[s("div",{className:"flex items-start justify-between",children:[t("h4",{className:"font-medium text-sm text-foreground line-clamp-1 select-none pointer-events-none",children:e.name}),t(m,{className:`text-xs select-none pointer-events-none ${L(e.priority)}`,children:e.priority[0].toUpperCase()})]}),s("div",{className:"flex items-center justify-between text-xs pointer-events-none",children:[s("div",{className:"flex items-center gap-1",children:[r&&t("div",{className:`w-2 h-2 rounded-full ${r.color}`}),t("span",{className:"text-muted-foreground truncate select-none",children:r?.name})]}),t("span",{className:"text-muted-foreground select-none",children:H(e.assignee)})]}),a&&S&&s("div",{className:"flex items-center gap-1 text-xs text-muted-foreground pointer-events-none",children:[t(Y,{className:"h-3 w-3"}),t("span",{className:"select-none",children:S.name})]})]})})};return s("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[t(I,{title:"Sprint Planning",description:"Plan and organize tasks across sprints and manage your development timeline.",gradient:"bg-gradient-to-r from-orange-600 via-amber-600 to-yellow-600",primaryAction:{label:"Add sprint",onClick:()=>c(!0)}}),t("div",{className:"flex-1",children:s("div",{className:"w-full",children:[s("div",{className:"grid grid-cols-1 lg:grid-cols-4 gap-6 h-full",children:[t("div",{className:"lg:col-span-1",children:s(o,{className:"p-4 h-full bg-card shadow-sm",onDragOver:x,onDragEnter:()=>N("backlog"),onDragLeave:y,onDrop:e=>k(e,"backlog"),children:[s("div",{className:"flex items-center justify-between mb-4",children:[t("h3",{className:"font-semibold text-foreground select-none",children:"Backlog"}),t(m,{variant:"secondary",className:"bg-muted text-muted-foreground",children:u.length})]}),s("div",{className:`space-y-3 overflow-y-auto max-h-[600px] min-h-[200px] border-2 border-dashed rounded p-3 transition-colors ${b==="backlog"?"border-primary bg-primary/10":"border-border"}`,children:[u.map(e=>t(D,{task:e},e.id)),u.length===0&&t("div",{className:"flex items-center justify-center h-32 text-muted-foreground text-sm select-none",children:"Drop tasks here to move to backlog"})]})]})}),t("div",{className:"lg:col-span-3",children:s("div",{className:"space-y-4",children:[s(o,{className:"p-4 bg-card shadow-sm",children:[s("div",{className:"flex items-center justify-between mb-3",children:[t("h3",{className:"font-semibold text-foreground select-none",children:"Select Sprints to View"}),s(v,{onClick:()=>c(!0),className:"bg-primary hover:bg-primary/90 text-primary-foreground gap-2",size:"sm",children:[t(Z,{className:"h-4 w-4"}),"Add Sprint"]})]}),t("div",{className:"grid grid-cols-2 md:grid-cols-3 gap-2",children:h.map(e=>s(v,{variant:d.includes(e.id)?"default":"outline",size:"sm",onClick:()=>G(e.id),className:"text-xs h-8",children:[e.name,e.isActive&&t("span",{className:"ml-1 text-success",children:"\u25CF"})]},e.id))})]}),t("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:d.map(e=>h.find(a=>a.id===e)).filter(Boolean).sort((e,a)=>e.startDate.getTime()-a.startDate.getTime()).map(e=>{let a=V.filter(r=>r.sprintId===e.id);return s(o,{className:"p-4 bg-card shadow-sm",onDragOver:x,onDragEnter:()=>N(e.id),onDragLeave:y,onDrop:r=>k(r,e.id),children:[s("div",{className:"flex items-center justify-between mb-4",children:[s("div",{children:[t("h3",{className:"font-semibold text-foreground select-none",children:e.name}),e.isActive&&t("span",{className:"text-xs text-success font-medium select-none",children:"Active Sprint"})]}),t(m,{variant:"secondary",className:"bg-muted text-muted-foreground",children:a.length})]}),s("div",{className:`space-y-3 overflow-y-auto max-h-[500px] min-h-[200px] border-2 border-dashed rounded p-3 transition-colors ${b===e.id?"border-primary bg-primary/10":"border-border"}`,children:[a.map(r=>t(D,{task:r},r.id)),a.length===0&&t("div",{className:"flex items-center justify-center h-32 text-muted-foreground text-sm select-none",children:"Drop tasks here"})]})]},e.id)})})," "]})})]}),t(E,{isOpen:R,onClose:()=>c(!1),onAddSprint:J})]})})]})};export{ce as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as r}from"./chunk-AARMIMMZ.mjs";import{a}from"./chunk-IG6J62QA.mjs";import{useState as l}from"react";import{ChevronDown as c,ChevronUp as v,List as b}from"lucide-react";import{jsx as e,jsxs as i}from"react/jsx-runtime";function f({submissions:t,onSubmit:o,isLoading:n=!1,customerProjectPairs:m}){let[s,d]=l(!1);return e("div",{className:"min-h-screen ",children:i("div",{className:"container mx-auto p-4 max-w-6xl",children:[i("div",{className:"mb-8",children:[e("h1",{className:"text-3xl font-bold text-gray-900 dark:text-zinc-100 mb-2",children:"Delivery Report Management"}),e("p",{className:"text-gray-600 dark:text-zinc-400",children:"Submit new delivery reports and view your previous submissions"})]}),e("div",{className:"mb-8",children:e(r,{onSubmit:o,customerProjectPairs:m})}),i("div",{className:"rounded-xl shadow-lg bg-white dark:bg-zinc-900/80 border border-zinc-200 dark:border-zinc-800",children:[i("button",{onClick:()=>d(!s),className:"w-full px-6 py-4 flex items-center justify-between hover:bg-gray-50 dark:hover:bg-zinc-800/50 transition-colors",children:[i("div",{className:"flex items-center gap-3",children:[e(b,{className:"h-5 w-5 text-gray-500 dark:text-zinc-400"}),e("h2",{className:"text-lg font-semibold text-gray-900 dark:text-zinc-100",children:"Previous Submissions"}),i("span",{className:"text-sm text-gray-500 dark:text-zinc-400",children:["(",t.length,")"]})]}),e("div",{className:"flex items-center gap-2",children:s?e(v,{className:"h-5 w-5 text-gray-500 dark:text-zinc-400"}):e(c,{className:"h-5 w-5 text-gray-500 dark:text-zinc-400"})})]}),s&&e("div",{className:"border-t border-gray-200 dark:border-zinc-700",children:e(a,{submissions:t,isLoading:n})})]})]})})}export{f as a};
4
+ import{a as r}from"./chunk-UWEU6TLS.mjs";import{a}from"./chunk-Q5NHYYRS.mjs";import{useState as l}from"react";import{ChevronDown as c,ChevronUp as v,List as b}from"lucide-react";import{jsx as e,jsxs as i}from"react/jsx-runtime";function f({submissions:t,onSubmit:o,isLoading:n=!1,customerProjectPairs:m}){let[s,d]=l(!1);return e("div",{className:"min-h-screen ",children:i("div",{className:"container mx-auto p-4 max-w-6xl",children:[i("div",{className:"mb-8",children:[e("h1",{className:"text-3xl font-bold text-gray-900 dark:text-zinc-100 mb-2",children:"Delivery Report Management"}),e("p",{className:"text-gray-600 dark:text-zinc-400",children:"Submit new delivery reports and view your previous submissions"})]}),e("div",{className:"mb-8",children:e(r,{onSubmit:o,customerProjectPairs:m})}),i("div",{className:"rounded-xl shadow-lg bg-white dark:bg-zinc-900/80 border border-zinc-200 dark:border-zinc-800",children:[i("button",{onClick:()=>d(!s),className:"w-full px-6 py-4 flex items-center justify-between hover:bg-gray-50 dark:hover:bg-zinc-800/50 transition-colors",children:[i("div",{className:"flex items-center gap-3",children:[e(b,{className:"h-5 w-5 text-gray-500 dark:text-zinc-400"}),e("h2",{className:"text-lg font-semibold text-gray-900 dark:text-zinc-100",children:"Previous Submissions"}),i("span",{className:"text-sm text-gray-500 dark:text-zinc-400",children:["(",t.length,")"]})]}),e("div",{className:"flex items-center gap-2",children:s?e(v,{className:"h-5 w-5 text-gray-500 dark:text-zinc-400"}):e(c,{className:"h-5 w-5 text-gray-500 dark:text-zinc-400"})})]}),s&&e("div",{className:"border-t border-gray-200 dark:border-zinc-700",children:e(a,{submissions:t,isLoading:n})})]})]})})}export{f as a};
@@ -1 +1 @@
1
- import{a as q}from"./chunk-BM2ZNFM6.mjs";import{a as S,c as w,d as R,g as I,i as o}from"./chunk-WLM2ZFHF.mjs";import{a as M}from"./chunk-VXZPPTQQ.mjs";import{a as c}from"./chunk-RAAY7PEH.mjs";import{a as F,f as L,g as P,i as A}from"./chunk-AG6IN5S7.mjs";import{a as f}from"./chunk-GJUA2KUH.mjs";import{b as N}from"./chunk-7Z3TOFNL.mjs";import{b as U}from"./chunk-2JKLBLDE.mjs";import{a as T,e as H}from"./chunk-7WKUKFCT.mjs";import{useEffect as W,useState as D}from"react";import{Plus as Y,Clock as K,Calendar as G,User as J,Repeat as Q,Edit2 as X,Trash2 as Z,CheckCircle as _,Circle as ee,Bell as te}from"lucide-react";import{Fragment as ce,jsx as e,jsxs as t}from"react/jsx-runtime";var ae=i=>{switch(i){case"high":return"\u{1F534}";case"medium":return"\u{1F7E1}";case"low":return"\u{1F7E2}";default:return"\u26AA"}},ie=i=>i.toLocaleDateString("en-US",{weekday:"short",year:"numeric",month:"short",day:"numeric"}),re=i=>{let[u,v]=i.split(":"),g=new Date;return g.setHours(parseInt(u),parseInt(v)),g.toLocaleTimeString("en-US",{hour:"numeric",minute:"2-digit",hour12:!0})},B=(i,u)=>{let v=new Date,g=new Date(i);if(u){let[l,a]=u.split(":");g.setHours(parseInt(l),parseInt(a))}return g<v},O=i=>{let u=new Date;return i.toDateString()===u.toDateString()},le=i=>{let u=new Date;return u.setDate(u.getDate()+1),i.toDateString()===u.toDateString()},ne=({colleagues:i,onAddReminder:u,open:v,setOpen:g})=>{let[l,a]=D({title:"",description:"",dueDate:"",dueTime:"",colleagueId:"",priority:"medium",isRecurring:!1,recurrencePattern:"weekly",recurrenceInterval:1,reminderEnabled:!0,reminderMinutes:15,tags:""}),[s,p]=D(!1),h=d=>{d.preventDefault();let y=i.find(k=>k?.id.toString()===l.colleagueId.toString());if(!y){console.error("No valid colleague selected"),p(!0);return}p(!1);let E={title:l.title,description:l.description,dueDate:new Date(l.dueDate),dueTime:l.dueTime||void 0,colleague:y,isCompleted:!1,isRecurring:l.isRecurring,recurrencePattern:l.isRecurring?l.recurrencePattern:void 0,recurrenceInterval:l.isRecurring?l.recurrenceInterval:void 0,priority:l.priority,reminderEnabled:l.reminderEnabled,reminderMinutes:l.reminderEnabled?l.reminderMinutes:void 0,tags:l.tags?l.tags.split(",").map(k=>k.trim()):void 0};u(E),g(!1),a({title:"",description:"",dueDate:"",dueTime:"",colleagueId:"",priority:"medium",isRecurring:!1,recurrencePattern:"weekly",recurrenceInterval:1,reminderEnabled:!0,reminderMinutes:15,tags:""})};W(()=>{l.colleagueId&&p(!1)},[l.colleagueId]);let n=i.filter(Boolean);return e(F,{open:v,onOpenChange:g,children:t(L,{className:"max-w-2xl",children:[e(P,{children:e(A,{children:"Add New Reminder"})}),t("form",{onSubmit:h,className:"space-y-4",children:[e("div",{className:"grid grid-cols-2 gap-4",children:t("div",{children:[e(c,{htmlFor:"title",children:"Title"}),e(f,{id:"title",value:l.title,onChange:d=>a({...l,title:d.target.value}),placeholder:"Enter reminder title",required:!0})]})}),t("div",{children:[e(c,{htmlFor:"description",children:"Description"}),e(M,{id:"description",value:l.description,onChange:d=>a({...l,description:d.target.value}),placeholder:"Enter reminder description",rows:3})]}),t("div",{className:"grid grid-cols-2 gap-4",children:[t("div",{children:[e(c,{htmlFor:"dueDate",children:"Due Date"}),e(f,{id:"dueDate",type:"date",value:l.dueDate,onChange:d=>a({...l,dueDate:d.target.value}),required:!0})]}),t("div",{children:[e(c,{htmlFor:"dueTime",children:"Due Time (optional)"}),e(f,{id:"dueTime",type:"time",value:l.dueTime,onChange:d=>a({...l,dueTime:d.target.value})})]})]}),t("div",{children:[e(c,{className:`${s?"text-destructive":""}`,htmlFor:"colleague",children:"Assigned Colleague"}),t(S,{value:l.colleagueId,onValueChange:d=>{a({...l,colleagueId:d})},required:!0,children:[e(R,{className:`${s?"text-destructive border-red-500":""}`,children:e(w,{className:`${s?"text-destructive border-red-500":""}`,placeholder:"Select a digital colleague",children:i.find(d=>d?.id.toString()===l.colleagueId.toString())?.name||"Select a digital colleague"})}),e(I,{children:n.map(d=>e(o,{value:d.id,children:d.name},d.id))})]}),s&&e("p",{className:"text-destructive text-sm",children:"Please select a digital colleague"})]}),t("div",{className:"space-y-2",children:[t("div",{className:"flex items-center space-x-2",children:[e("input",{type:"checkbox",id:"isRecurring",checked:l.isRecurring,onChange:d=>a({...l,isRecurring:d.target.checked}),className:"rounded border-border"}),e(c,{htmlFor:"isRecurring",children:"Make this a recurring reminder"})]}),l.isRecurring&&t("div",{className:"grid grid-cols-2 gap-4 pl-6",children:[t("div",{children:[e(c,{htmlFor:"recurrencePattern",children:"Frequency"}),t(S,{value:l.recurrencePattern,onValueChange:d=>a({...l,recurrencePattern:d}),children:[e(R,{children:e(w,{})}),t(I,{children:[e(o,{value:"daily",children:"Daily"}),e(o,{value:"weekly",children:"Weekly"}),e(o,{value:"monthly",children:"Monthly"}),e(o,{value:"yearly",children:"Yearly"})]})]})]}),t("div",{children:[e(c,{htmlFor:"recurrenceInterval",children:"Every"}),e(f,{id:"recurrenceInterval",type:"number",min:"1",value:l.recurrenceInterval,onChange:d=>a({...l,recurrenceInterval:parseInt(d.target.value)})})]})]})]}),t("div",{className:"flex justify-end space-x-2",children:[e(N,{type:"button",variant:"outline",onClick:()=>g(!1),children:"Cancel"}),e(N,{type:"submit",children:"Add Reminder"})]})]})]})})},de=({reminder:i,colleagues:u,onUpdateReminder:v,open:g,onClose:l})=>{let[a,s]=D({title:i.title,description:i.description,dueDate:i.dueDate.toISOString().split("T")[0],dueTime:i.dueTime||"",colleagueId:i.colleague?.id||"",priority:i.priority,isRecurring:i.isRecurring,recurrencePattern:i.recurrencePattern||"weekly",recurrenceInterval:i.recurrenceInterval||1,reminderEnabled:i.reminderEnabled,reminderMinutes:i.reminderMinutes||15,tags:i.tags?.join(", ")||""}),p=n=>{n.preventDefault();let d=u.find(y=>y?.id===a.colleagueId);if(!d){console.error("No valid colleague selected");return}v(i.id,{title:a.title,description:a.description,dueDate:new Date(a.dueDate),dueTime:a.dueTime||void 0,colleague:d,priority:a.priority,isRecurring:a.isRecurring,recurrencePattern:a.isRecurring?a.recurrencePattern:void 0,recurrenceInterval:a.isRecurring?a.recurrenceInterval:void 0,reminderEnabled:a.reminderEnabled,reminderMinutes:a.reminderEnabled?a.reminderMinutes:void 0,tags:a.tags?a.tags.split(",").map(y=>y.trim()):void 0}),l()},h=u.filter(Boolean);return e(F,{open:g,onOpenChange:l,children:t(L,{className:"max-w-2xl",children:[e(P,{children:e(A,{children:"Edit Reminder"})}),t("form",{onSubmit:p,className:"space-y-4",children:[t("div",{className:"grid grid-cols-2 gap-4",children:[t("div",{children:[e(c,{htmlFor:"edit-title",children:"Title"}),e(f,{id:"edit-title",value:a.title,onChange:n=>s({...a,title:n.target.value}),placeholder:"Enter reminder title",required:!0})]}),t("div",{children:[e(c,{htmlFor:"edit-priority",children:"Priority"}),t(S,{value:a.priority,onValueChange:n=>s({...a,priority:n}),children:[e(R,{children:e(w,{})}),t(I,{children:[e(o,{value:"low",children:"\u{1F7E2} Low"}),e(o,{value:"medium",children:"\u{1F7E1} Medium"}),e(o,{value:"high",children:"\u{1F534} High"})]})]})]})]}),t("div",{children:[e(c,{htmlFor:"edit-description",children:"Description"}),e(M,{id:"edit-description",value:a.description,onChange:n=>s({...a,description:n.target.value}),placeholder:"Enter reminder description",rows:3})]}),t("div",{className:"grid grid-cols-2 gap-4",children:[t("div",{children:[e(c,{htmlFor:"edit-dueDate",children:"Due Date"}),e(f,{id:"edit-dueDate",type:"date",value:a.dueDate,onChange:n=>s({...a,dueDate:n.target.value}),required:!0})]}),t("div",{children:[e(c,{htmlFor:"edit-dueTime",children:"Due Time (optional)"}),e(f,{id:"edit-dueTime",type:"time",value:a.dueTime,onChange:n=>s({...a,dueTime:n.target.value})})]})]}),t("div",{children:[e(c,{htmlFor:"edit-colleague",children:"Assigned Colleague"}),t(S,{value:a.colleagueId,onValueChange:n=>s({...a,colleagueId:n}),required:!0,children:[e(R,{children:e(w,{placeholder:"Select a digital colleague"})}),e(I,{children:h.map(n=>e(o,{value:n.id,children:n.name},n.id))})]})]}),t("div",{className:"space-y-2",children:[t("div",{className:"flex items-center space-x-2",children:[e("input",{type:"checkbox",id:"edit-isRecurring",checked:a.isRecurring,onChange:n=>s({...a,isRecurring:n.target.checked}),className:"rounded border-border"}),e(c,{htmlFor:"edit-isRecurring",children:"Make this a recurring reminder"})]}),a.isRecurring&&t("div",{className:"grid grid-cols-2 gap-4 pl-6",children:[t("div",{children:[e(c,{htmlFor:"edit-recurrencePattern",children:"Frequency"}),t(S,{value:a.recurrencePattern,onValueChange:n=>s({...a,recurrencePattern:n}),children:[e(R,{children:e(w,{})}),t(I,{children:[e(o,{value:"daily",children:"Daily"}),e(o,{value:"weekly",children:"Weekly"}),e(o,{value:"monthly",children:"Monthly"}),e(o,{value:"yearly",children:"Yearly"})]})]})]}),t("div",{children:[e(c,{htmlFor:"edit-recurrenceInterval",children:"Every"}),e(f,{id:"edit-recurrenceInterval",type:"number",min:"1",value:a.recurrenceInterval,onChange:n=>s({...a,recurrenceInterval:parseInt(n.target.value)})})]})]})]}),t("div",{className:"space-y-2",children:[t("div",{className:"flex items-center space-x-2",children:[e("input",{type:"checkbox",id:"edit-reminderEnabled",checked:a.reminderEnabled,onChange:n=>s({...a,reminderEnabled:n.target.checked}),className:"rounded border-border"}),e(c,{htmlFor:"edit-reminderEnabled",children:"Enable reminder notifications"})]}),a.reminderEnabled&&t("div",{className:"pl-6",children:[e(c,{htmlFor:"edit-reminderMinutes",children:"Remind me"}),t(S,{value:a.reminderMinutes.toString(),onValueChange:n=>s({...a,reminderMinutes:parseInt(n)}),children:[e(R,{children:e(w,{})}),t(I,{children:[e(o,{value:"5",children:"5 minutes before"}),e(o,{value:"15",children:"15 minutes before"}),e(o,{value:"30",children:"30 minutes before"}),e(o,{value:"60",children:"1 hour before"}),e(o,{value:"1440",children:"1 day before"})]})]})]})]}),t("div",{children:[e(c,{htmlFor:"edit-tags",children:"Tags (comma-separated)"}),e(f,{id:"edit-tags",value:a.tags,onChange:n=>s({...a,tags:n.target.value}),placeholder:"e.g., urgent, meeting, follow-up"})]}),t("div",{className:"flex justify-end space-x-2",children:[e(N,{type:"button",variant:"outline",onClick:l,children:"Cancel"}),e(N,{type:"submit",children:"Save Changes"})]})]})]})})},se=({reminder:i,colleagues:u,onUpdateReminder:v,onDeleteReminder:g})=>{let[l,a]=D(!1);if(!i||!i.id)return null;let s=B(i.dueDate,i.dueTime),p=O(i.dueDate),h=le(i.dueDate),n=()=>{v(i.id,{isCompleted:!i.isCompleted,completedAt:i.isCompleted?void 0:new Date})},d=()=>p?"Today":h?"Tomorrow":s&&!i.isCompleted?"Overdue":ie(i.dueDate);return t(ce,{children:[e(de,{reminder:i,colleagues:u,onUpdateReminder:v,open:l,onClose:()=>a(!1)}),e(T,{className:`transition-all duration-200 ${i.isCompleted?"opacity-60":""} ${s&&!i.isCompleted?"border-destructive/50 bg-destructive/5":""}`,children:e(H,{className:"p-4",children:t("div",{className:"flex items-start justify-between",children:[t("div",{className:"flex items-start space-x-3 flex-1",children:[e("button",{onClick:n,className:"mt-1 text-primary hover:text-primary/80",children:i.isCompleted?e(_,{className:"h-5 w-5"}):e(ee,{className:"h-5 w-5"})}),t("div",{className:"flex-1",children:[t("div",{className:"flex items-center space-x-2 mb-1",children:[e("h3",{className:`font-semibold ${i.isCompleted?"line-through text-muted-foreground":""}`,children:i.title}),e("span",{className:"text-sm",children:ae(i.priority)}),i.isRecurring&&e(Q,{className:"h-4 w-4 text-primary"}),i.reminderEnabled&&e(te,{className:"h-4 w-4 text-success"})]}),e("p",{className:"text-sm text-muted-foreground mb-2",children:i.description}),t("div",{className:"flex items-center space-x-4 text-sm text-muted-foreground",children:[t("div",{className:"flex items-center space-x-1",children:[e(G,{className:"h-4 w-4"}),e("span",{className:s&&!i.isCompleted?"text-destructive font-medium":"",children:d()})]}),i.dueTime&&t("div",{className:"flex items-center space-x-1",children:[e(K,{className:"h-4 w-4"}),e("span",{children:re(i.dueTime)})]}),t("div",{className:"flex items-center space-x-1",children:[e(J,{className:"h-4 w-4"}),e("span",{children:i.colleague?.name||"Unknown Colleague"})]})]}),i.tags&&i.tags.length>0&&e("div",{className:"flex flex-wrap gap-1 mt-2",children:i.tags.map((y,E)=>e(U,{variant:"secondary",className:"text-xs",children:y},E))})]})]}),t("div",{className:"flex items-center space-x-1",children:[e(N,{variant:"ghost",size:"sm",onClick:()=>a(!0),className:"h-8 w-8 p-0",children:e(X,{className:"h-4 w-4"})}),e(N,{variant:"ghost",size:"sm",onClick:()=>g(i.id),className:"h-8 w-8 p-0 text-destructive hover:text-destructive/80",children:e(Z,{className:"h-4 w-4"})})]})]})})})]})},oe=({initialReminders:i=[],initialColleagues:u=[],onAddReminder:v,onUpdateReminder:g,onDeleteReminder:l})=>{let[a,s]=D(i.filter(Boolean)),[p]=D(u.filter(Boolean)),[h,n]=D("all"),[d,y]=D(""),[E,k]=D(!1),j=r=>{if(!r.title||!r.colleague?.id){console.error("Invalid reminder data:",r);return}let m={...r,id:Date.now().toString(),createdAt:new Date};s(x=>[...x,m]),v?.(r)},$=(r,m)=>{if(!r){console.error("No reminder ID provided for update");return}s(x=>x.map(b=>b?.id===r?{...b,...m}:b)),g?.(r,m)},z=r=>{if(!r){console.error("No reminder ID provided for deletion");return}s(m=>m.filter(x=>x?.id!==r)),l?.(r)},V=a.filter(r=>{if(!r)return!1;if(d){let m=d.toLowerCase();if(!(r.title.toLowerCase().includes(m)||r.description.toLowerCase().includes(m)||r.colleague?.name?.toLowerCase().includes(m)||r.tags?.some(b=>b.toLowerCase().includes(m))))return!1}switch(h){case"pending":return!r.isCompleted;case"completed":return r.isCompleted;case"overdue":return!r.isCompleted&&B(r.dueDate,r.dueTime);case"today":return O(new Date(r.dueDate));default:return!0}}).sort((r,m)=>{if(!r||!m)return 0;if(r.isCompleted&&!m.isCompleted)return 1;if(!r.isCompleted&&m.isCompleted)return-1;let x={high:3,medium:2,low:1},b=x[m.priority]-x[r.priority];return b!==0?b:r.dueDate.getTime()-m.dueDate.getTime()}),C={total:a.filter(Boolean).length,pending:a.filter(r=>r&&!r.isCompleted).length,completed:a.filter(r=>r&&r.isCompleted).length,overdue:a.filter(r=>r&&!r.isCompleted&&B(r.dueDate,r.dueTime)).length,today:a.filter(r=>r&&O(new Date(r.dueDate))).length},me=p.find(Boolean)||{id:"1",name:"Default Colleague",status:"active",joinedDate:new Date,lastActive:new Date,type:"digital",description:"Default digital colleague for task management",jobDescription:"Default team member for task management",workInstructions:"Handle basic task assignments and reminders",capabilities:["task-management","reminder-creation"],knowledge:[],coreKnowledge:[],version:"1.0.0",lastUpdated:new Date,isActive:!0};return t("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[e(q,{title:"Task Reminders",description:"Manage reminders and stay on top of important tasks and deadlines.",gradient:"bg-gradient-to-r from-emerald-600 via-teal-600 to-cyan-600",primaryAction:{label:"Add reminder",onClick:()=>{k(!0)}}}),t("div",{className:"h-full bg-background",children:[e(ne,{colleagues:p,onAddReminder:j,open:E,setOpen:k}),t("div",{className:"p-6",children:[t("div",{className:"flex items-center justify-between mb-6",children:[t("div",{children:[e("h1",{className:"text-2xl font-bold text-foreground",children:"Task Reminders"}),e("p",{className:"text-muted-foreground",children:"Manage your digital colleague task reminders"})]}),t(N,{className:"flex items-center space-x-2",onClick:()=>k(!0),children:[e(Y,{className:"h-4 w-4"}),e("span",{children:"Add Reminder"})]})]}),t("div",{className:"grid grid-cols-5 gap-4 mb-6",children:[t(T,{className:"p-4",children:[e("div",{className:"text-2xl font-bold text-foreground",children:C.total}),e("div",{className:"text-sm text-muted-foreground",children:"Total"})]}),t(T,{className:"p-4",children:[e("div",{className:"text-2xl font-bold text-primary",children:C.pending}),e("div",{className:"text-sm text-muted-foreground",children:"Pending"})]}),t(T,{className:"p-4",children:[e("div",{className:"text-2xl font-bold text-success",children:C.completed}),e("div",{className:"text-sm text-muted-foreground",children:"Completed"})]}),t(T,{className:"p-4",children:[e("div",{className:"text-2xl font-bold text-destructive",children:C.overdue}),e("div",{className:"text-sm text-muted-foreground",children:"Overdue"})]}),t(T,{className:"p-4",children:[e("div",{className:"text-2xl font-bold text-warning",children:C.today}),e("div",{className:"text-sm text-muted-foreground",children:"Today"})]})]}),t("div",{className:"flex items-center space-x-4 mb-6",children:[e("div",{className:"flex-1",children:e(f,{placeholder:"Search reminders...",value:d,onChange:r=>y(r.target.value),className:"max-w-md"})}),t(S,{value:h,onValueChange:r=>n(r),children:[e(R,{className:"w-40",children:e(w,{})}),t(I,{children:[t(o,{value:"all",children:["All (",C.total,")"]}),t(o,{value:"pending",children:["Pending (",C.pending,")"]}),t(o,{value:"completed",children:["Completed (",C.completed,")"]}),t(o,{value:"overdue",children:["Overdue (",C.overdue,")"]}),t(o,{value:"today",children:["Today (",C.today,")"]})]})]})]}),e("div",{className:"space-y-4",children:V.length===0?t(T,{className:"p-8 text-center",children:[e("div",{className:"text-muted-foreground",children:d||h!=="all"?"No reminders match your filters":"No reminders yet"}),!d&&h==="all"&&e("p",{className:"text-sm text-muted-foreground/60 mt-2",children:"Create your first reminder to get started"})]}):V.map(r=>r&&e(se,{reminder:r,colleagues:p,onUpdateReminder:$,onDeleteReminder:z},r.id))})]})]})]})},ke=oe;export{oe as a,ke as b};
1
+ import{a as q}from"./chunk-Z22NSJMF.mjs";import{a as S,c as w,d as R,g as I,i as o}from"./chunk-YFAZQYK4.mjs";import{a as M}from"./chunk-B4H6T2GP.mjs";import{a as c}from"./chunk-TVZOULLL.mjs";import{a as F,f as L,g as P,i as A}from"./chunk-3UMMMQEH.mjs";import{a as f}from"./chunk-L5JPAKPM.mjs";import{b as N}from"./chunk-ZUA4KNIR.mjs";import{b as U}from"./chunk-CSBGSBEU.mjs";import{a as T,e as H}from"./chunk-YO3GQYRJ.mjs";import{useEffect as W,useState as D}from"react";import{Plus as Y,Clock as K,Calendar as G,User as J,Repeat as Q,Edit2 as X,Trash2 as Z,CheckCircle as _,Circle as ee,Bell as te}from"lucide-react";import{Fragment as ce,jsx as e,jsxs as t}from"react/jsx-runtime";var ae=i=>{switch(i){case"high":return"\u{1F534}";case"medium":return"\u{1F7E1}";case"low":return"\u{1F7E2}";default:return"\u26AA"}},ie=i=>i.toLocaleDateString("en-US",{weekday:"short",year:"numeric",month:"short",day:"numeric"}),re=i=>{let[u,v]=i.split(":"),g=new Date;return g.setHours(parseInt(u),parseInt(v)),g.toLocaleTimeString("en-US",{hour:"numeric",minute:"2-digit",hour12:!0})},B=(i,u)=>{let v=new Date,g=new Date(i);if(u){let[l,a]=u.split(":");g.setHours(parseInt(l),parseInt(a))}return g<v},O=i=>{let u=new Date;return i.toDateString()===u.toDateString()},le=i=>{let u=new Date;return u.setDate(u.getDate()+1),i.toDateString()===u.toDateString()},ne=({colleagues:i,onAddReminder:u,open:v,setOpen:g})=>{let[l,a]=D({title:"",description:"",dueDate:"",dueTime:"",colleagueId:"",priority:"medium",isRecurring:!1,recurrencePattern:"weekly",recurrenceInterval:1,reminderEnabled:!0,reminderMinutes:15,tags:""}),[s,p]=D(!1),h=d=>{d.preventDefault();let y=i.find(k=>k?.id.toString()===l.colleagueId.toString());if(!y){console.error("No valid colleague selected"),p(!0);return}p(!1);let E={title:l.title,description:l.description,dueDate:new Date(l.dueDate),dueTime:l.dueTime||void 0,colleague:y,isCompleted:!1,isRecurring:l.isRecurring,recurrencePattern:l.isRecurring?l.recurrencePattern:void 0,recurrenceInterval:l.isRecurring?l.recurrenceInterval:void 0,priority:l.priority,reminderEnabled:l.reminderEnabled,reminderMinutes:l.reminderEnabled?l.reminderMinutes:void 0,tags:l.tags?l.tags.split(",").map(k=>k.trim()):void 0};u(E),g(!1),a({title:"",description:"",dueDate:"",dueTime:"",colleagueId:"",priority:"medium",isRecurring:!1,recurrencePattern:"weekly",recurrenceInterval:1,reminderEnabled:!0,reminderMinutes:15,tags:""})};W(()=>{l.colleagueId&&p(!1)},[l.colleagueId]);let n=i.filter(Boolean);return e(F,{open:v,onOpenChange:g,children:t(L,{className:"max-w-2xl",children:[e(P,{children:e(A,{children:"Add New Reminder"})}),t("form",{onSubmit:h,className:"space-y-4",children:[e("div",{className:"grid grid-cols-2 gap-4",children:t("div",{children:[e(c,{htmlFor:"title",children:"Title"}),e(f,{id:"title",value:l.title,onChange:d=>a({...l,title:d.target.value}),placeholder:"Enter reminder title",required:!0})]})}),t("div",{children:[e(c,{htmlFor:"description",children:"Description"}),e(M,{id:"description",value:l.description,onChange:d=>a({...l,description:d.target.value}),placeholder:"Enter reminder description",rows:3})]}),t("div",{className:"grid grid-cols-2 gap-4",children:[t("div",{children:[e(c,{htmlFor:"dueDate",children:"Due Date"}),e(f,{id:"dueDate",type:"date",value:l.dueDate,onChange:d=>a({...l,dueDate:d.target.value}),required:!0})]}),t("div",{children:[e(c,{htmlFor:"dueTime",children:"Due Time (optional)"}),e(f,{id:"dueTime",type:"time",value:l.dueTime,onChange:d=>a({...l,dueTime:d.target.value})})]})]}),t("div",{children:[e(c,{className:`${s?"text-destructive":""}`,htmlFor:"colleague",children:"Assigned Colleague"}),t(S,{value:l.colleagueId,onValueChange:d=>{a({...l,colleagueId:d})},required:!0,children:[e(R,{className:`${s?"text-destructive border-red-500":""}`,children:e(w,{className:`${s?"text-destructive border-red-500":""}`,placeholder:"Select a digital colleague",children:i.find(d=>d?.id.toString()===l.colleagueId.toString())?.name||"Select a digital colleague"})}),e(I,{children:n.map(d=>e(o,{value:d.id,children:d.name},d.id))})]}),s&&e("p",{className:"text-destructive text-sm",children:"Please select a digital colleague"})]}),t("div",{className:"space-y-2",children:[t("div",{className:"flex items-center space-x-2",children:[e("input",{type:"checkbox",id:"isRecurring",checked:l.isRecurring,onChange:d=>a({...l,isRecurring:d.target.checked}),className:"rounded border-border"}),e(c,{htmlFor:"isRecurring",children:"Make this a recurring reminder"})]}),l.isRecurring&&t("div",{className:"grid grid-cols-2 gap-4 pl-6",children:[t("div",{children:[e(c,{htmlFor:"recurrencePattern",children:"Frequency"}),t(S,{value:l.recurrencePattern,onValueChange:d=>a({...l,recurrencePattern:d}),children:[e(R,{children:e(w,{})}),t(I,{children:[e(o,{value:"daily",children:"Daily"}),e(o,{value:"weekly",children:"Weekly"}),e(o,{value:"monthly",children:"Monthly"}),e(o,{value:"yearly",children:"Yearly"})]})]})]}),t("div",{children:[e(c,{htmlFor:"recurrenceInterval",children:"Every"}),e(f,{id:"recurrenceInterval",type:"number",min:"1",value:l.recurrenceInterval,onChange:d=>a({...l,recurrenceInterval:parseInt(d.target.value)})})]})]})]}),t("div",{className:"flex justify-end space-x-2",children:[e(N,{type:"button",variant:"outline",onClick:()=>g(!1),children:"Cancel"}),e(N,{type:"submit",children:"Add Reminder"})]})]})]})})},de=({reminder:i,colleagues:u,onUpdateReminder:v,open:g,onClose:l})=>{let[a,s]=D({title:i.title,description:i.description,dueDate:i.dueDate.toISOString().split("T")[0],dueTime:i.dueTime||"",colleagueId:i.colleague?.id||"",priority:i.priority,isRecurring:i.isRecurring,recurrencePattern:i.recurrencePattern||"weekly",recurrenceInterval:i.recurrenceInterval||1,reminderEnabled:i.reminderEnabled,reminderMinutes:i.reminderMinutes||15,tags:i.tags?.join(", ")||""}),p=n=>{n.preventDefault();let d=u.find(y=>y?.id===a.colleagueId);if(!d){console.error("No valid colleague selected");return}v(i.id,{title:a.title,description:a.description,dueDate:new Date(a.dueDate),dueTime:a.dueTime||void 0,colleague:d,priority:a.priority,isRecurring:a.isRecurring,recurrencePattern:a.isRecurring?a.recurrencePattern:void 0,recurrenceInterval:a.isRecurring?a.recurrenceInterval:void 0,reminderEnabled:a.reminderEnabled,reminderMinutes:a.reminderEnabled?a.reminderMinutes:void 0,tags:a.tags?a.tags.split(",").map(y=>y.trim()):void 0}),l()},h=u.filter(Boolean);return e(F,{open:g,onOpenChange:l,children:t(L,{className:"max-w-2xl",children:[e(P,{children:e(A,{children:"Edit Reminder"})}),t("form",{onSubmit:p,className:"space-y-4",children:[t("div",{className:"grid grid-cols-2 gap-4",children:[t("div",{children:[e(c,{htmlFor:"edit-title",children:"Title"}),e(f,{id:"edit-title",value:a.title,onChange:n=>s({...a,title:n.target.value}),placeholder:"Enter reminder title",required:!0})]}),t("div",{children:[e(c,{htmlFor:"edit-priority",children:"Priority"}),t(S,{value:a.priority,onValueChange:n=>s({...a,priority:n}),children:[e(R,{children:e(w,{})}),t(I,{children:[e(o,{value:"low",children:"\u{1F7E2} Low"}),e(o,{value:"medium",children:"\u{1F7E1} Medium"}),e(o,{value:"high",children:"\u{1F534} High"})]})]})]})]}),t("div",{children:[e(c,{htmlFor:"edit-description",children:"Description"}),e(M,{id:"edit-description",value:a.description,onChange:n=>s({...a,description:n.target.value}),placeholder:"Enter reminder description",rows:3})]}),t("div",{className:"grid grid-cols-2 gap-4",children:[t("div",{children:[e(c,{htmlFor:"edit-dueDate",children:"Due Date"}),e(f,{id:"edit-dueDate",type:"date",value:a.dueDate,onChange:n=>s({...a,dueDate:n.target.value}),required:!0})]}),t("div",{children:[e(c,{htmlFor:"edit-dueTime",children:"Due Time (optional)"}),e(f,{id:"edit-dueTime",type:"time",value:a.dueTime,onChange:n=>s({...a,dueTime:n.target.value})})]})]}),t("div",{children:[e(c,{htmlFor:"edit-colleague",children:"Assigned Colleague"}),t(S,{value:a.colleagueId,onValueChange:n=>s({...a,colleagueId:n}),required:!0,children:[e(R,{children:e(w,{placeholder:"Select a digital colleague"})}),e(I,{children:h.map(n=>e(o,{value:n.id,children:n.name},n.id))})]})]}),t("div",{className:"space-y-2",children:[t("div",{className:"flex items-center space-x-2",children:[e("input",{type:"checkbox",id:"edit-isRecurring",checked:a.isRecurring,onChange:n=>s({...a,isRecurring:n.target.checked}),className:"rounded border-border"}),e(c,{htmlFor:"edit-isRecurring",children:"Make this a recurring reminder"})]}),a.isRecurring&&t("div",{className:"grid grid-cols-2 gap-4 pl-6",children:[t("div",{children:[e(c,{htmlFor:"edit-recurrencePattern",children:"Frequency"}),t(S,{value:a.recurrencePattern,onValueChange:n=>s({...a,recurrencePattern:n}),children:[e(R,{children:e(w,{})}),t(I,{children:[e(o,{value:"daily",children:"Daily"}),e(o,{value:"weekly",children:"Weekly"}),e(o,{value:"monthly",children:"Monthly"}),e(o,{value:"yearly",children:"Yearly"})]})]})]}),t("div",{children:[e(c,{htmlFor:"edit-recurrenceInterval",children:"Every"}),e(f,{id:"edit-recurrenceInterval",type:"number",min:"1",value:a.recurrenceInterval,onChange:n=>s({...a,recurrenceInterval:parseInt(n.target.value)})})]})]})]}),t("div",{className:"space-y-2",children:[t("div",{className:"flex items-center space-x-2",children:[e("input",{type:"checkbox",id:"edit-reminderEnabled",checked:a.reminderEnabled,onChange:n=>s({...a,reminderEnabled:n.target.checked}),className:"rounded border-border"}),e(c,{htmlFor:"edit-reminderEnabled",children:"Enable reminder notifications"})]}),a.reminderEnabled&&t("div",{className:"pl-6",children:[e(c,{htmlFor:"edit-reminderMinutes",children:"Remind me"}),t(S,{value:a.reminderMinutes.toString(),onValueChange:n=>s({...a,reminderMinutes:parseInt(n)}),children:[e(R,{children:e(w,{})}),t(I,{children:[e(o,{value:"5",children:"5 minutes before"}),e(o,{value:"15",children:"15 minutes before"}),e(o,{value:"30",children:"30 minutes before"}),e(o,{value:"60",children:"1 hour before"}),e(o,{value:"1440",children:"1 day before"})]})]})]})]}),t("div",{children:[e(c,{htmlFor:"edit-tags",children:"Tags (comma-separated)"}),e(f,{id:"edit-tags",value:a.tags,onChange:n=>s({...a,tags:n.target.value}),placeholder:"e.g., urgent, meeting, follow-up"})]}),t("div",{className:"flex justify-end space-x-2",children:[e(N,{type:"button",variant:"outline",onClick:l,children:"Cancel"}),e(N,{type:"submit",children:"Save Changes"})]})]})]})})},se=({reminder:i,colleagues:u,onUpdateReminder:v,onDeleteReminder:g})=>{let[l,a]=D(!1);if(!i||!i.id)return null;let s=B(i.dueDate,i.dueTime),p=O(i.dueDate),h=le(i.dueDate),n=()=>{v(i.id,{isCompleted:!i.isCompleted,completedAt:i.isCompleted?void 0:new Date})},d=()=>p?"Today":h?"Tomorrow":s&&!i.isCompleted?"Overdue":ie(i.dueDate);return t(ce,{children:[e(de,{reminder:i,colleagues:u,onUpdateReminder:v,open:l,onClose:()=>a(!1)}),e(T,{className:`transition-all duration-200 ${i.isCompleted?"opacity-60":""} ${s&&!i.isCompleted?"border-destructive/50 bg-destructive/5":""}`,children:e(H,{className:"p-4",children:t("div",{className:"flex items-start justify-between",children:[t("div",{className:"flex items-start space-x-3 flex-1",children:[e("button",{onClick:n,className:"mt-1 text-primary hover:text-primary/80",children:i.isCompleted?e(_,{className:"h-5 w-5"}):e(ee,{className:"h-5 w-5"})}),t("div",{className:"flex-1",children:[t("div",{className:"flex items-center space-x-2 mb-1",children:[e("h3",{className:`font-semibold ${i.isCompleted?"line-through text-muted-foreground":""}`,children:i.title}),e("span",{className:"text-sm",children:ae(i.priority)}),i.isRecurring&&e(Q,{className:"h-4 w-4 text-primary"}),i.reminderEnabled&&e(te,{className:"h-4 w-4 text-success"})]}),e("p",{className:"text-sm text-muted-foreground mb-2",children:i.description}),t("div",{className:"flex items-center space-x-4 text-sm text-muted-foreground",children:[t("div",{className:"flex items-center space-x-1",children:[e(G,{className:"h-4 w-4"}),e("span",{className:s&&!i.isCompleted?"text-destructive font-medium":"",children:d()})]}),i.dueTime&&t("div",{className:"flex items-center space-x-1",children:[e(K,{className:"h-4 w-4"}),e("span",{children:re(i.dueTime)})]}),t("div",{className:"flex items-center space-x-1",children:[e(J,{className:"h-4 w-4"}),e("span",{children:i.colleague?.name||"Unknown Colleague"})]})]}),i.tags&&i.tags.length>0&&e("div",{className:"flex flex-wrap gap-1 mt-2",children:i.tags.map((y,E)=>e(U,{variant:"secondary",className:"text-xs",children:y},E))})]})]}),t("div",{className:"flex items-center space-x-1",children:[e(N,{variant:"ghost",size:"sm",onClick:()=>a(!0),className:"h-8 w-8 p-0",children:e(X,{className:"h-4 w-4"})}),e(N,{variant:"ghost",size:"sm",onClick:()=>g(i.id),className:"h-8 w-8 p-0 text-destructive hover:text-destructive/80",children:e(Z,{className:"h-4 w-4"})})]})]})})})]})},oe=({initialReminders:i=[],initialColleagues:u=[],onAddReminder:v,onUpdateReminder:g,onDeleteReminder:l})=>{let[a,s]=D(i.filter(Boolean)),[p]=D(u.filter(Boolean)),[h,n]=D("all"),[d,y]=D(""),[E,k]=D(!1),j=r=>{if(!r.title||!r.colleague?.id){console.error("Invalid reminder data:",r);return}let m={...r,id:Date.now().toString(),createdAt:new Date};s(x=>[...x,m]),v?.(r)},$=(r,m)=>{if(!r){console.error("No reminder ID provided for update");return}s(x=>x.map(b=>b?.id===r?{...b,...m}:b)),g?.(r,m)},z=r=>{if(!r){console.error("No reminder ID provided for deletion");return}s(m=>m.filter(x=>x?.id!==r)),l?.(r)},V=a.filter(r=>{if(!r)return!1;if(d){let m=d.toLowerCase();if(!(r.title.toLowerCase().includes(m)||r.description.toLowerCase().includes(m)||r.colleague?.name?.toLowerCase().includes(m)||r.tags?.some(b=>b.toLowerCase().includes(m))))return!1}switch(h){case"pending":return!r.isCompleted;case"completed":return r.isCompleted;case"overdue":return!r.isCompleted&&B(r.dueDate,r.dueTime);case"today":return O(new Date(r.dueDate));default:return!0}}).sort((r,m)=>{if(!r||!m)return 0;if(r.isCompleted&&!m.isCompleted)return 1;if(!r.isCompleted&&m.isCompleted)return-1;let x={high:3,medium:2,low:1},b=x[m.priority]-x[r.priority];return b!==0?b:r.dueDate.getTime()-m.dueDate.getTime()}),C={total:a.filter(Boolean).length,pending:a.filter(r=>r&&!r.isCompleted).length,completed:a.filter(r=>r&&r.isCompleted).length,overdue:a.filter(r=>r&&!r.isCompleted&&B(r.dueDate,r.dueTime)).length,today:a.filter(r=>r&&O(new Date(r.dueDate))).length},me=p.find(Boolean)||{id:"1",name:"Default Colleague",status:"active",joinedDate:new Date,lastActive:new Date,type:"digital",description:"Default digital colleague for task management",jobDescription:"Default team member for task management",workInstructions:"Handle basic task assignments and reminders",capabilities:["task-management","reminder-creation"],knowledge:[],coreKnowledge:[],version:"1.0.0",lastUpdated:new Date,isActive:!0};return t("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[e(q,{title:"Task Reminders",description:"Manage reminders and stay on top of important tasks and deadlines.",gradient:"bg-gradient-to-r from-emerald-600 via-teal-600 to-cyan-600",primaryAction:{label:"Add reminder",onClick:()=>{k(!0)}}}),t("div",{className:"h-full bg-background",children:[e(ne,{colleagues:p,onAddReminder:j,open:E,setOpen:k}),t("div",{className:"p-6",children:[t("div",{className:"flex items-center justify-between mb-6",children:[t("div",{children:[e("h1",{className:"text-2xl font-bold text-foreground",children:"Task Reminders"}),e("p",{className:"text-muted-foreground",children:"Manage your digital colleague task reminders"})]}),t(N,{className:"flex items-center space-x-2",onClick:()=>k(!0),children:[e(Y,{className:"h-4 w-4"}),e("span",{children:"Add Reminder"})]})]}),t("div",{className:"grid grid-cols-5 gap-4 mb-6",children:[t(T,{className:"p-4",children:[e("div",{className:"text-2xl font-bold text-foreground",children:C.total}),e("div",{className:"text-sm text-muted-foreground",children:"Total"})]}),t(T,{className:"p-4",children:[e("div",{className:"text-2xl font-bold text-primary",children:C.pending}),e("div",{className:"text-sm text-muted-foreground",children:"Pending"})]}),t(T,{className:"p-4",children:[e("div",{className:"text-2xl font-bold text-success",children:C.completed}),e("div",{className:"text-sm text-muted-foreground",children:"Completed"})]}),t(T,{className:"p-4",children:[e("div",{className:"text-2xl font-bold text-destructive",children:C.overdue}),e("div",{className:"text-sm text-muted-foreground",children:"Overdue"})]}),t(T,{className:"p-4",children:[e("div",{className:"text-2xl font-bold text-warning",children:C.today}),e("div",{className:"text-sm text-muted-foreground",children:"Today"})]})]}),t("div",{className:"flex items-center space-x-4 mb-6",children:[e("div",{className:"flex-1",children:e(f,{placeholder:"Search reminders...",value:d,onChange:r=>y(r.target.value),className:"max-w-md"})}),t(S,{value:h,onValueChange:r=>n(r),children:[e(R,{className:"w-40",children:e(w,{})}),t(I,{children:[t(o,{value:"all",children:["All (",C.total,")"]}),t(o,{value:"pending",children:["Pending (",C.pending,")"]}),t(o,{value:"completed",children:["Completed (",C.completed,")"]}),t(o,{value:"overdue",children:["Overdue (",C.overdue,")"]}),t(o,{value:"today",children:["Today (",C.today,")"]})]})]})]}),e("div",{className:"space-y-4",children:V.length===0?t(T,{className:"p-8 text-center",children:[e("div",{className:"text-muted-foreground",children:d||h!=="all"?"No reminders match your filters":"No reminders yet"}),!d&&h==="all"&&e("p",{className:"text-sm text-muted-foreground/60 mt-2",children:"Create your first reminder to get started"})]}):V.map(r=>r&&e(se,{reminder:r,colleagues:p,onUpdateReminder:$,onDeleteReminder:z},r.id))})]})]})]})},ke=oe;export{oe as a,ke as b};
@@ -1,4 +1,4 @@
1
- import{a as g}from"./chunk-OHDNPAPI.mjs";import{a as n,b as l,c}from"./chunk-RFNYVF6F.mjs";import f from"react";import{jsx as a,jsxs as s}from"react/jsx-runtime";var h={task:g},u=`
1
+ import{a as g}from"./chunk-I3E2TYYZ.mjs";import{a as n,b as l,c}from"./chunk-SOLZ4VQH.mjs";import f from"react";import{jsx as a,jsxs as s}from"react/jsx-runtime";var h={task:g},u=`
2
2
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="white" width="20" height="20">
3
3
  <path d="M327.5 85.2c-4.5 1.7-7.5 6-7.5 10.8s3 9.1 7.5 10.8L384 128l21.2 56.5c1.7 4.5 6 7.5 10.8 7.5s9.1-3 10.8-7.5L448 128l56.5-21.2c4.5-1.7 7.5-6 7.5-10.8s-3-9.1-7.5-10.8L448 64 426.8 7.5C425.1 3 420.8 0 416 0s-9.1 3-10.8 7.5L384 64 327.5 85.2zM205.1 73.3c-2.6-5.7-8.3-9.3-14.5-9.3s-11.9 3.6-14.5 9.3L123.3 187.3 9.3 240C3.6 242.6 0 248.3 0 254.6s3.6 11.9 9.3 14.5l114.1 52.7L176 435.8c2.6 5.7 8.3 9.3 14.5 9.3s11.9-3.6 14.5-9.3l52.7-114.1 114.1-52.7c5.7-2.6 9.3-8.3 9.3-14.5s-3.6-11.9-9.3-14.5L257.8 187.4 205.1 73.3zM384 384l-56.5 21.2c-4.5 1.7-7.5 6-7.5 10.8s3 9.1 7.5 10.8L384 448l21.2 56.5c1.7 4.5 6 7.5 10.8 7.5s9.1-3 10.8-7.5L448 448l56.5-21.2c4.5-1.7 7.5-6 7.5-10.8s-3-9.1-7.5-10.8L448 384l-21.2-56.5c-1.7-4.5-6-7.5-10.8-7.5s-9.1 3-10.8 7.5L384 384z"/>
4
4
  </svg>`,x=`data:image/svg+xml;utf8,${encodeURIComponent(u)}`,A=f.memo(function(v){let{id:i,message:e,currentUser:o,role:p}=v,t=p==="user",r=t?o?.name||"You":o?.name||"AI Assistant",d=t?o?.avatar||"/placeholder-user.jpg":"/placeholder.svg?height=40&width=40";switch(e.type){case"forwarding":return s("div",{className:`flex items-start gap-3 text-primary text-xs ${t?"flex-row-reverse":""}`,children:["Forwarding to ",e?.data?.content]},i);case"text":return s("div",{className:`flex items-start gap-3 ${t?"flex-row-reverse":""}`,children:[t?s(n,{children:[a(l,{src:d,alt:r}),a(c,{children:r.substring(0,2).toUpperCase()})]}):a("img",{src:x,alt:"AI Assistant",className:"w-10 h-10"}),s("div",{className:`grid gap-1.5 ${t?"text-right":""}`,children:[a("div",{className:"flex items-center gap-2",children:a("span",{className:"font-medium",children:r})}),a("div",{className:`rounded-lg p-3 text-sm ${t?"bg-primary text-primary-foreground":"bg-muted"}`,style:{whiteSpace:"pre-line"},children:e?.data?.content})]})]},i);case"image":return s("div",{className:`flex items-start gap-3 ${t?"flex-row-reverse":""}`,children:[s(n,{className:t?"":"ai-border",children:[a(l,{src:d,alt:r}),a(c,{children:r.substring(0,2).toUpperCase()})]}),s("div",{className:`grid gap-1.5 ${t?"text-right":""}`,children:[a("div",{className:"flex items-center gap-2",children:a("span",{className:"font-medium",children:r})}),a("img",{src:e?.data?.image,alt:"User uploaded content",className:`rounded-lg p-3 text-sm ${t?"bg-primary text-primary-foreground":"bg-muted"}`,style:{maxWidth:"100%",height:"auto"}})]})]},i);case"tool-invocation":if(e.data&&e.data.tool){let m=h[e.data.tool];return m?a("div",{className:"mt-2",children:a(m,{data:e.data})}):(console.warn(`Tool ${e.data.tool} is not defined.`),a("div",{className:"mt-2",children:"......"}))}}});export{A as a};
@@ -1 +1 @@
1
- import{a as e}from"./chunk-TSEOL53Y.mjs";import{Slot as c}from"@radix-ui/react-slot";import{cva as d}from"class-variance-authority";import*as t from"react";import{jsx as l}from"react/jsx-runtime";var u=d("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),f=t.forwardRef(({asChild:r=!1,className:o,size:n,variant:a,...i},s)=>l(r?c:"button",{className:e(u({className:o,size:n,variant:a})),ref:s,...i}));f.displayName="Button";export{u as a,f as b};
1
+ import{a as e}from"./chunk-MDJREBVI.mjs";import{Slot as c}from"@radix-ui/react-slot";import{cva as d}from"class-variance-authority";import*as t from"react";import{jsx as l}from"react/jsx-runtime";var u=d("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),f=t.forwardRef(({asChild:r=!1,className:o,size:n,variant:a,...i},s)=>l(r?c:"button",{className:e(u({className:o,size:n,variant:a})),ref:s,...i}));f.displayName="Button";export{u as a,f as b};
@@ -0,0 +1 @@
1
+ var U="-",oe=e=>{let r=se(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:a=>{let s=a.split(U);return s[0]===""&&s.length!==1&&s.shift(),Y(s,r)||ne(a)},getConflictingClassGroupIds:(a,s)=>{let u=t[a]||[];return s&&o[a]?[...u,...o[a]]:u}}},Y=(e,r)=>{if(e.length===0)return r.classGroupId;let t=e[0],o=r.nextPart.get(t),i=o?Y(e.slice(1),o):void 0;if(i)return i;if(r.validators.length===0)return;let n=e.join(U);return r.validators.find(({validator:a})=>a(n))?.classGroupId},H=/^\[(.+)\]$/,ne=e=>{if(H.test(e)){let r=H.exec(e)[1],t=r?.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}},se=e=>{let{theme:r,prefix:t}=e,o={nextPart:new Map,validators:[]};return ie(Object.entries(e.classGroups),t).forEach(([n,a])=>{B(a,o,n,r)}),o},B=(e,r,t,o)=>{e.forEach(i=>{if(typeof i=="string"){let n=i===""?r:Q(r,i);n.classGroupId=t;return}if(typeof i=="function"){if(le(i)){B(i(o),r,t,o);return}r.validators.push({validator:i,classGroupId:t});return}Object.entries(i).forEach(([n,a])=>{B(a,Q(r,n),t,o)})})},Q=(e,r)=>{let t=e;return r.split(U).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o)}),t},le=e=>e.isThemeGetter,ie=(e,r)=>r?e.map(([t,o])=>{let i=o.map(n=>typeof n=="string"?r+n:typeof n=="object"?Object.fromEntries(Object.entries(n).map(([a,s])=>[r+a,s])):n);return[t,i]}):e,ae=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,o=new Map,i=(n,a)=>{t.set(n,a),r++,r>e&&(r=0,o=t,t=new Map)};return{get(n){let a=t.get(n);if(a!==void 0)return a;if((a=o.get(n))!==void 0)return i(n,a),a},set(n,a){t.has(n)?t.set(n,a):i(n,a)}}},D="!",ce=e=>{let{separator:r,experimentalParseClassName:t}=e,o=r.length===1,i=r[0],n=r.length,a=s=>{let u=[],g=0,m=0,y;for(let p=0;p<s.length;p++){let f=s[p];if(g===0){if(f===i&&(o||s.slice(p,p+n)===r)){u.push(s.slice(m,p)),m=p+n;continue}if(f==="/"){y=p;continue}}f==="["?g++:f==="]"&&g--}let x=u.length===0?s:s.substring(m),v=x.startsWith(D),w=v?x.substring(1):x,b=y&&y>m?y-m:void 0;return{modifiers:u,hasImportantModifier:v,baseClassName:w,maybePostfixModifierPosition:b}};return t?s=>t({className:s,parseClassName:a}):a},de=e=>{if(e.length<=1)return e;let r=[],t=[];return e.forEach(o=>{o[0]==="["?(r.push(...t.sort(),o),t=[]):t.push(o)}),r.push(...t.sort()),r},pe=e=>({cache:ae(e.cacheSize),parseClassName:ce(e),...oe(e)}),ue=/\s+/,be=(e,r)=>{let{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:i}=r,n=[],a=e.trim().split(ue),s="";for(let u=a.length-1;u>=0;u-=1){let g=a[u],{modifiers:m,hasImportantModifier:y,baseClassName:x,maybePostfixModifierPosition:v}=t(g),w=!!v,b=o(w?x.substring(0,v):x);if(!b){if(!w){s=g+(s.length>0?" "+s:s);continue}if(b=o(x),!b){s=g+(s.length>0?" "+s:s);continue}w=!1}let p=de(m).join(":"),f=y?p+D:p,h=f+b;if(n.includes(h))continue;n.push(h);let G=i(b,w);for(let A=0;A<G.length;++A){let T=G[A];n.push(f+T)}s=g+(s.length>0?" "+s:s)}return s};function ge(){let e=0,r,t,o="";for(;e<arguments.length;)(r=arguments[e++])&&(t=ee(r))&&(o&&(o+=" "),o+=t);return o}var ee=e=>{if(typeof e=="string")return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=ee(e[o]))&&(t&&(t+=" "),t+=r);return t};function fe(e,...r){let t,o,i,n=a;function a(u){let g=r.reduce((m,y)=>y(m),e());return t=pe(g),o=t.cache.get,i=t.cache.set,n=s,s(u)}function s(u){let g=o(u);if(g)return g;let m=be(u,t);return i(u,m),m}return function(){return n(ge.apply(null,arguments))}}var c=e=>{let r=t=>t[e]||[];return r.isThemeGetter=!0,r},re=/^\[(?:([a-z-]+):)?(.+)\]$/i,me=/^\d+\/\d+$/,he=new Set(["px","full","screen"]),ye=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,xe=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,we=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,ve=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ke=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,C=e=>M(e)||he.has(e)||me.test(e),z=e=>P(e,"length",Re),M=e=>!!e&&!Number.isNaN(Number(e)),$=e=>P(e,"number",M),I=e=>!!e&&Number.isInteger(Number(e)),Ce=e=>e.endsWith("%")&&M(e.slice(0,-1)),l=e=>re.test(e),S=e=>ye.test(e),ze=new Set(["length","size","percentage"]),Se=e=>P(e,ze,te),Ae=e=>P(e,"position",te),Me=new Set(["image","url"]),Pe=e=>P(e,Me,Ne),Ge=e=>P(e,"",Ie),N=()=>!0,P=(e,r,t)=>{let o=re.exec(e);return o?o[1]?typeof r=="string"?o[1]===r:r.has(o[1]):t(o[2]):!1},Re=e=>xe.test(e)&&!we.test(e),te=()=>!1,Ie=e=>ve.test(e),Ne=e=>ke.test(e);var Te=()=>{let e=c("colors"),r=c("spacing"),t=c("blur"),o=c("brightness"),i=c("borderColor"),n=c("borderRadius"),a=c("borderSpacing"),s=c("borderWidth"),u=c("contrast"),g=c("grayscale"),m=c("hueRotate"),y=c("invert"),x=c("gap"),v=c("gradientColorStops"),w=c("gradientColorStopPositions"),b=c("inset"),p=c("margin"),f=c("opacity"),h=c("padding"),G=c("saturate"),A=c("scale"),T=c("sepia"),F=c("skew"),O=c("space"),q=c("translate"),L=()=>["auto","contain","none"],_=()=>["auto","hidden","clip","visible","scroll"],W=()=>["auto",l,r],d=()=>[l,r],J=()=>["",C,z],E=()=>["auto",M,l],K=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],j=()=>["solid","dashed","dotted","double","none"],X=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],V=()=>["start","end","center","between","around","evenly","stretch"],R=()=>["","0",l],Z=()=>["auto","avoid","all","avoid-page","page","left","right","column"],k=()=>[M,l];return{cacheSize:500,separator:":",theme:{colors:[N],spacing:[C,z],blur:["none","",S,l],brightness:k(),borderColor:[e],borderRadius:["none","","full",S,l],borderSpacing:d(),borderWidth:J(),contrast:k(),grayscale:R(),hueRotate:k(),invert:R(),gap:d(),gradientColorStops:[e],gradientColorStopPositions:[Ce,z],inset:W(),margin:W(),opacity:k(),padding:d(),saturate:k(),scale:k(),sepia:R(),skew:k(),space:d(),translate:d()},classGroups:{aspect:[{aspect:["auto","square","video",l]}],container:["container"],columns:[{columns:[S]}],"break-after":[{"break-after":Z()}],"break-before":[{"break-before":Z()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...K(),l]}],overflow:[{overflow:_()}],"overflow-x":[{"overflow-x":_()}],"overflow-y":[{"overflow-y":_()}],overscroll:[{overscroll:L()}],"overscroll-x":[{"overscroll-x":L()}],"overscroll-y":[{"overscroll-y":L()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-x":[{"inset-x":[b]}],"inset-y":[{"inset-y":[b]}],start:[{start:[b]}],end:[{end:[b]}],top:[{top:[b]}],right:[{right:[b]}],bottom:[{bottom:[b]}],left:[{left:[b]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",I,l]}],basis:[{basis:W()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",l]}],grow:[{grow:R()}],shrink:[{shrink:R()}],order:[{order:["first","last","none",I,l]}],"grid-cols":[{"grid-cols":[N]}],"col-start-end":[{col:["auto",{span:["full",I,l]},l]}],"col-start":[{"col-start":E()}],"col-end":[{"col-end":E()}],"grid-rows":[{"grid-rows":[N]}],"row-start-end":[{row:["auto",{span:[I,l]},l]}],"row-start":[{"row-start":E()}],"row-end":[{"row-end":E()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",l]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",l]}],gap:[{gap:[x]}],"gap-x":[{"gap-x":[x]}],"gap-y":[{"gap-y":[x]}],"justify-content":[{justify:["normal",...V()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...V(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...V(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[h]}],px:[{px:[h]}],py:[{py:[h]}],ps:[{ps:[h]}],pe:[{pe:[h]}],pt:[{pt:[h]}],pr:[{pr:[h]}],pb:[{pb:[h]}],pl:[{pl:[h]}],m:[{m:[p]}],mx:[{mx:[p]}],my:[{my:[p]}],ms:[{ms:[p]}],me:[{me:[p]}],mt:[{mt:[p]}],mr:[{mr:[p]}],mb:[{mb:[p]}],ml:[{ml:[p]}],"space-x":[{"space-x":[O]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[O]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",l,r]}],"min-w":[{"min-w":[l,r,"min","max","fit"]}],"max-w":[{"max-w":[l,r,"none","full","min","max","fit","prose",{screen:[S]},S]}],h:[{h:[l,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[l,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[l,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[l,r,"auto","min","max","fit"]}],"font-size":[{text:["base",S,z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",$]}],"font-family":[{font:[N]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",l]}],"line-clamp":[{"line-clamp":["none",M,$]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",C,l]}],"list-image":[{"list-image":["none",l]}],"list-style-type":[{list:["none","disc","decimal",l]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[f]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[f]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...j(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",C,z]}],"underline-offset":[{"underline-offset":["auto",C,l]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:d()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[f]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...K(),Ae]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Se]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Pe]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],rounded:[{rounded:[n]}],"rounded-s":[{"rounded-s":[n]}],"rounded-e":[{"rounded-e":[n]}],"rounded-t":[{"rounded-t":[n]}],"rounded-r":[{"rounded-r":[n]}],"rounded-b":[{"rounded-b":[n]}],"rounded-l":[{"rounded-l":[n]}],"rounded-ss":[{"rounded-ss":[n]}],"rounded-se":[{"rounded-se":[n]}],"rounded-ee":[{"rounded-ee":[n]}],"rounded-es":[{"rounded-es":[n]}],"rounded-tl":[{"rounded-tl":[n]}],"rounded-tr":[{"rounded-tr":[n]}],"rounded-br":[{"rounded-br":[n]}],"rounded-bl":[{"rounded-bl":[n]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[f]}],"border-style":[{border:[...j(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[f]}],"divide-style":[{divide:j()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...j()]}],"outline-offset":[{"outline-offset":[C,l]}],"outline-w":[{outline:[C,z]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:J()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[f]}],"ring-offset-w":[{"ring-offset":[C,z]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",S,Ge]}],"shadow-color":[{shadow:[N]}],opacity:[{opacity:[f]}],"mix-blend":[{"mix-blend":[...X(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":X()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",S,l]}],grayscale:[{grayscale:[g]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[y]}],saturate:[{saturate:[G]}],sepia:[{sepia:[T]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[g]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[y]}],"backdrop-opacity":[{"backdrop-opacity":[f]}],"backdrop-saturate":[{"backdrop-saturate":[G]}],"backdrop-sepia":[{"backdrop-sepia":[T]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",l]}],duration:[{duration:k()}],ease:[{ease:["linear","in","out","in-out",l]}],delay:[{delay:k()}],animate:[{animate:["none","spin","ping","pulse","bounce",l]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[A]}],"scale-x":[{"scale-x":[A]}],"scale-y":[{"scale-y":[A]}],rotate:[{rotate:[I,l]}],"translate-x":[{"translate-x":[q]}],"translate-y":[{"translate-y":[q]}],"skew-x":[{"skew-x":[F]}],"skew-y":[{"skew-y":[F]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",l]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":d()}],"scroll-mx":[{"scroll-mx":d()}],"scroll-my":[{"scroll-my":d()}],"scroll-ms":[{"scroll-ms":d()}],"scroll-me":[{"scroll-me":d()}],"scroll-mt":[{"scroll-mt":d()}],"scroll-mr":[{"scroll-mr":d()}],"scroll-mb":[{"scroll-mb":d()}],"scroll-ml":[{"scroll-ml":d()}],"scroll-p":[{"scroll-p":d()}],"scroll-px":[{"scroll-px":d()}],"scroll-py":[{"scroll-py":d()}],"scroll-ps":[{"scroll-ps":d()}],"scroll-pe":[{"scroll-pe":d()}],"scroll-pt":[{"scroll-pt":d()}],"scroll-pr":[{"scroll-pr":d()}],"scroll-pb":[{"scroll-pb":d()}],"scroll-pl":[{"scroll-pl":d()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[C,z,$]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ee=fe(Te);export{Ee as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as H}from"./chunk-E7SIU5SS.mjs";import{a as L}from"./chunk-JVJG2LOA.mjs";import{a as I}from"./chunk-GJUA2KUH.mjs";import{motion as p}from"motion/react";import{ChevronRight as T,File as O,FileText as k,Search as F}from"lucide-react";import{useState as K,useMemo as B}from"react";import{jsx as e,jsxs as n}from"react/jsx-runtime";function $({label:f,documents:m,children:i,level:u,onDocumentClick:x,selectedDocumentId:h,showDocumentCount:w=!0}){let[c,s]=K(u===0),b=i&&Object.keys(i).length>0,v=m.length+(i?Object.values(i).reduce((t,r)=>t+r.documents.length,0):0),N=t=>{switch(t){case"markdown":case"mdx":return e(k,{className:"h-3.5 w-3.5 text-muted-foreground"});case"richtext":return e(O,{className:"h-3.5 w-3.5 text-muted-foreground"});default:return e(O,{className:"h-3.5 w-3.5 text-muted-foreground"})}},y=t=>{let r=["bg-primary","bg-secondary","bg-accent","bg-chart-1"];return r[t%r.length]};return n("div",{className:"space-y-1",children:[(b||m.length>0)&&n(p.div,{className:`group flex items-center gap-3 p-3 rounded-xl cursor-pointer transition-all duration-200 ${c?"bg-card shadow-sm border border-border":"hover:bg-muted/50 hover:shadow-sm"}`,style:{marginLeft:`${u*20}px`},onClick:()=>s(!c),whileHover:{scale:1.01},whileTap:{scale:.99},children:[e("div",{className:`w-1 h-6 rounded-full ${y(u)}`}),e(p.div,{animate:{rotate:c?90:0},transition:{duration:.2},className:"flex-shrink-0",children:e(T,{className:"h-4 w-4 text-muted-foreground"})}),n("div",{className:"flex-1 flex items-center justify-between min-w-0",children:[e("div",{className:"flex items-center gap-2 min-w-0",children:e("span",{className:"font-medium text-foreground truncate",children:f})}),w&&v>0&&e("div",{className:"flex-shrink-0 ml-2",children:e("span",{className:"inline-flex items-center justify-center w-6 h-6 text-xs font-medium bg-muted text-muted-foreground rounded-full",children:v})})]})]}),e(p.div,{initial:!1,animate:{height:c?"auto":0,opacity:c?1:0},transition:{duration:.2,ease:"easeInOut"},className:"overflow-hidden",children:n("div",{className:"pt-2 space-y-1",children:[m.map((t,r)=>n(p.div,{initial:{opacity:0,x:-10},animate:{opacity:1,x:0},transition:{delay:r*.05,duration:.2},className:`group flex items-center gap-3 p-2.5 mx-2 rounded-lg cursor-pointer transition-all duration-150 ${h===t.id?"bg-primary/10 border-l-2 border-primary shadow-sm":"hover:bg-muted/50 hover:translate-x-1"}`,style:{marginLeft:`${u*20+20}px`},onClick:()=>x?.(t),whileHover:{scale:1.01},whileTap:{scale:.99},children:[e("div",{className:"flex-shrink-0",children:N(t.format)}),n("div",{className:"flex-1 min-w-0",children:[e("p",{className:`text-sm truncate transition-colors ${h===t.id?"text-primary font-medium":"text-foreground group-hover:text-foreground"}`,children:t.title}),t.description&&e("p",{className:"text-xs text-muted-foreground truncate mt-0.5",children:t.description})]}),t.tags&&t.tags.length>0&&e("div",{className:"flex-shrink-0",children:e("span",{className:"inline-flex items-center px-2 py-1 rounded-md text-xs font-medium bg-muted text-muted-foreground group-hover:bg-muted/80 transition-colors",children:t.tags[0]})})]},t.id)),i&&Object.entries(i).map(([t,r])=>e($,{label:t,documents:r.documents,children:r.children,level:u+1,onDocumentClick:x,selectedDocumentId:h,showDocumentCount:w},t))]})})]})}function V({documents:f,menuConfig:m,onDocumentClick:i,onDocumentShare:u,onDocumentUpdate:x,selectedDocumentId:h,className:w,editable:c=!0}){let[s,b]=K(""),[v,N]=K(null),y=B(()=>s?f.filter(o=>o.title.toLowerCase().includes(s.toLowerCase())||o.description?.toLowerCase().includes(s.toLowerCase())||o.tags?.some(d=>d.toLowerCase().includes(s.toLowerCase()))||Object.values(o.metadata||{}).some(d=>String(d).toLowerCase().includes(s.toLowerCase()))):f,[f,s]),t=B(()=>{let o=(d,j)=>{if(j.length===0)return{};let[M,...S]=j;return d.reduce((a,D)=>{let P=D.metadata?.[M]||"Uncategorized",l=String(P);if(a[l]||(a[l]={documents:[],children:{}}),S.length===0)a[l].documents.push(D);else{let C=o([D],S),g=Object.keys(C)[0];g&&(a[l].children||(a[l].children={}),a[l].children[g]?a[l].children[g].documents.push(...C[g].documents):a[l].children[g]=C[g])}return a},{})};return o(y,m.groupBy)},[y,m.groupBy]),r=o=>{N(o),i?.(o)};return n("div",{className:`flex h-full ${w||""}`,children:[n("div",{className:"w-1/3 border-r border-border bg-muted/20",children:[e("div",{className:"p-6 border-b border-border",children:n("div",{className:"relative",children:[e("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:e(F,{className:"h-4 w-4 text-muted-foreground"})}),e(I,{placeholder:"Search knowledge base...",value:s,onChange:o=>b(o.target.value),className:"pl-10 bg-background/80 border-border focus:border-primary/50 focus:ring-primary/20 rounded-xl h-11 text-sm placeholder:text-muted-foreground"})]})}),e(L,{className:"h-[calc(100%-100px)]",children:n("div",{className:"p-4 space-y-3",children:[Object.entries(t).map(([o,d])=>e($,{label:o,documents:d.documents,children:d.children,level:0,onDocumentClick:r,selectedDocumentId:h,showDocumentCount:m.showDocumentCount},o)),Object.keys(t).length===0&&n(p.div,{initial:{opacity:0},animate:{opacity:1},className:"text-center text-muted-foreground py-12",children:[e("div",{className:"w-16 h-16 mx-auto mb-4 rounded-full bg-muted flex items-center justify-center",children:e(k,{className:"h-8 w-8 text-muted-foreground"})}),e("p",{className:"text-sm font-medium",children:"No documents found"}),e("p",{className:"text-xs mt-1",children:"Try adjusting your search terms"})]})]})})]}),e("div",{className:"flex-1 bg-background",children:v?e(H,{document:v,onDocumentUpdate:x,editable:c}):e("div",{className:"h-full flex items-center justify-center text-center",children:n(p.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.4},className:"max-w-sm",children:[e("div",{className:"w-20 h-20 mx-auto mb-6 rounded-full bg-primary/10 flex items-center justify-center",children:e(k,{className:"h-10 w-10 text-primary"})}),e("h3",{className:"text-xl font-semibold text-foreground mb-2",children:"Select a document"}),e("p",{className:"text-muted-foreground leading-relaxed",children:"Choose any document from the knowledge base to view its content and details"})]})})})]})}export{V as a};
4
+ import{a as H}from"./chunk-RHR3YOLG.mjs";import{a as L}from"./chunk-FT3AE7L2.mjs";import{a as I}from"./chunk-L5JPAKPM.mjs";import{motion as p}from"motion/react";import{ChevronRight as T,File as O,FileText as k,Search as F}from"lucide-react";import{useState as K,useMemo as B}from"react";import{jsx as e,jsxs as n}from"react/jsx-runtime";function $({label:f,documents:m,children:i,level:u,onDocumentClick:x,selectedDocumentId:h,showDocumentCount:w=!0}){let[c,s]=K(u===0),b=i&&Object.keys(i).length>0,v=m.length+(i?Object.values(i).reduce((t,r)=>t+r.documents.length,0):0),N=t=>{switch(t){case"markdown":case"mdx":return e(k,{className:"h-3.5 w-3.5 text-muted-foreground"});case"richtext":return e(O,{className:"h-3.5 w-3.5 text-muted-foreground"});default:return e(O,{className:"h-3.5 w-3.5 text-muted-foreground"})}},y=t=>{let r=["bg-primary","bg-secondary","bg-accent","bg-chart-1"];return r[t%r.length]};return n("div",{className:"space-y-1",children:[(b||m.length>0)&&n(p.div,{className:`group flex items-center gap-3 p-3 rounded-xl cursor-pointer transition-all duration-200 ${c?"bg-card shadow-sm border border-border":"hover:bg-muted/50 hover:shadow-sm"}`,style:{marginLeft:`${u*20}px`},onClick:()=>s(!c),whileHover:{scale:1.01},whileTap:{scale:.99},children:[e("div",{className:`w-1 h-6 rounded-full ${y(u)}`}),e(p.div,{animate:{rotate:c?90:0},transition:{duration:.2},className:"flex-shrink-0",children:e(T,{className:"h-4 w-4 text-muted-foreground"})}),n("div",{className:"flex-1 flex items-center justify-between min-w-0",children:[e("div",{className:"flex items-center gap-2 min-w-0",children:e("span",{className:"font-medium text-foreground truncate",children:f})}),w&&v>0&&e("div",{className:"flex-shrink-0 ml-2",children:e("span",{className:"inline-flex items-center justify-center w-6 h-6 text-xs font-medium bg-muted text-muted-foreground rounded-full",children:v})})]})]}),e(p.div,{initial:!1,animate:{height:c?"auto":0,opacity:c?1:0},transition:{duration:.2,ease:"easeInOut"},className:"overflow-hidden",children:n("div",{className:"pt-2 space-y-1",children:[m.map((t,r)=>n(p.div,{initial:{opacity:0,x:-10},animate:{opacity:1,x:0},transition:{delay:r*.05,duration:.2},className:`group flex items-center gap-3 p-2.5 mx-2 rounded-lg cursor-pointer transition-all duration-150 ${h===t.id?"bg-primary/10 border-l-2 border-primary shadow-sm":"hover:bg-muted/50 hover:translate-x-1"}`,style:{marginLeft:`${u*20+20}px`},onClick:()=>x?.(t),whileHover:{scale:1.01},whileTap:{scale:.99},children:[e("div",{className:"flex-shrink-0",children:N(t.format)}),n("div",{className:"flex-1 min-w-0",children:[e("p",{className:`text-sm truncate transition-colors ${h===t.id?"text-primary font-medium":"text-foreground group-hover:text-foreground"}`,children:t.title}),t.description&&e("p",{className:"text-xs text-muted-foreground truncate mt-0.5",children:t.description})]}),t.tags&&t.tags.length>0&&e("div",{className:"flex-shrink-0",children:e("span",{className:"inline-flex items-center px-2 py-1 rounded-md text-xs font-medium bg-muted text-muted-foreground group-hover:bg-muted/80 transition-colors",children:t.tags[0]})})]},t.id)),i&&Object.entries(i).map(([t,r])=>e($,{label:t,documents:r.documents,children:r.children,level:u+1,onDocumentClick:x,selectedDocumentId:h,showDocumentCount:w},t))]})})]})}function V({documents:f,menuConfig:m,onDocumentClick:i,onDocumentShare:u,onDocumentUpdate:x,selectedDocumentId:h,className:w,editable:c=!0}){let[s,b]=K(""),[v,N]=K(null),y=B(()=>s?f.filter(o=>o.title.toLowerCase().includes(s.toLowerCase())||o.description?.toLowerCase().includes(s.toLowerCase())||o.tags?.some(d=>d.toLowerCase().includes(s.toLowerCase()))||Object.values(o.metadata||{}).some(d=>String(d).toLowerCase().includes(s.toLowerCase()))):f,[f,s]),t=B(()=>{let o=(d,j)=>{if(j.length===0)return{};let[M,...S]=j;return d.reduce((a,D)=>{let P=D.metadata?.[M]||"Uncategorized",l=String(P);if(a[l]||(a[l]={documents:[],children:{}}),S.length===0)a[l].documents.push(D);else{let C=o([D],S),g=Object.keys(C)[0];g&&(a[l].children||(a[l].children={}),a[l].children[g]?a[l].children[g].documents.push(...C[g].documents):a[l].children[g]=C[g])}return a},{})};return o(y,m.groupBy)},[y,m.groupBy]),r=o=>{N(o),i?.(o)};return n("div",{className:`flex h-full ${w||""}`,children:[n("div",{className:"w-1/3 border-r border-border bg-muted/20",children:[e("div",{className:"p-6 border-b border-border",children:n("div",{className:"relative",children:[e("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:e(F,{className:"h-4 w-4 text-muted-foreground"})}),e(I,{placeholder:"Search knowledge base...",value:s,onChange:o=>b(o.target.value),className:"pl-10 bg-background/80 border-border focus:border-primary/50 focus:ring-primary/20 rounded-xl h-11 text-sm placeholder:text-muted-foreground"})]})}),e(L,{className:"h-[calc(100%-100px)]",children:n("div",{className:"p-4 space-y-3",children:[Object.entries(t).map(([o,d])=>e($,{label:o,documents:d.documents,children:d.children,level:0,onDocumentClick:r,selectedDocumentId:h,showDocumentCount:m.showDocumentCount},o)),Object.keys(t).length===0&&n(p.div,{initial:{opacity:0},animate:{opacity:1},className:"text-center text-muted-foreground py-12",children:[e("div",{className:"w-16 h-16 mx-auto mb-4 rounded-full bg-muted flex items-center justify-center",children:e(k,{className:"h-8 w-8 text-muted-foreground"})}),e("p",{className:"text-sm font-medium",children:"No documents found"}),e("p",{className:"text-xs mt-1",children:"Try adjusting your search terms"})]})]})})]}),e("div",{className:"flex-1 bg-background",children:v?e(H,{document:v,onDocumentUpdate:x,editable:c}):e("div",{className:"h-full flex items-center justify-center text-center",children:n(p.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.4},className:"max-w-sm",children:[e("div",{className:"w-20 h-20 mx-auto mb-6 rounded-full bg-primary/10 flex items-center justify-center",children:e(k,{className:"h-10 w-10 text-primary"})}),e("h3",{className:"text-xl font-semibold text-foreground mb-2",children:"Select a document"}),e("p",{className:"text-muted-foreground leading-relaxed",children:"Choose any document from the knowledge base to view its content and details"})]})})})]})}export{V as a};