cortex-react-components 2.12.1 → 2.12.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (657) hide show
  1. package/dist/{chunk-4CU7D3X2.mjs → chunk-2C3C5SQQ.mjs} +1 -1
  2. package/dist/{chunk-CSBGSBEU.mjs → chunk-2JKLBLDE.mjs} +1 -1
  3. package/dist/{chunk-IC2ABKAM.mjs → chunk-2LLMXGTP.mjs} +1 -1
  4. package/dist/chunk-2WLZ5T2D.mjs +1 -0
  5. package/dist/{chunk-MU5WPW4N.mjs → chunk-3GLK3JM6.mjs} +1 -1
  6. package/dist/{chunk-Q5Q3DJWU.mjs → chunk-3HD7RAT7.mjs} +1 -1
  7. package/dist/{chunk-CO6AQNZ5.mjs → chunk-3JEM6RIR.mjs} +1 -1
  8. package/dist/{chunk-EOXVYLPB.mjs → chunk-3KBY7FKD.mjs} +1 -1
  9. package/dist/{chunk-PK3OBSCB.mjs → chunk-3ZXW3WQU.mjs} +1 -1
  10. package/dist/{chunk-F5N6KQA2.mjs → chunk-44JXFP6W.mjs} +1 -1
  11. package/dist/{chunk-FKU4VQR6.mjs → chunk-4OAROJ4M.mjs} +1 -1
  12. package/dist/{chunk-JYL3XIJX.mjs → chunk-4OK6PUOO.mjs} +1 -1
  13. package/dist/{chunk-PFLESLNT.mjs → chunk-4RQ27GTD.mjs} +1 -1
  14. package/dist/{chunk-RAGDUV7M.mjs → chunk-52UFJIL4.mjs} +1 -1
  15. package/dist/{chunk-Q5XT55O3.mjs → chunk-532HP37G.mjs} +1 -1
  16. package/dist/{chunk-TEB67NCD.mjs → chunk-55OESIAK.mjs} +1 -1
  17. package/dist/{chunk-LUM6KEWN.mjs → chunk-56AGUZR5.mjs} +1 -1
  18. package/dist/{chunk-IF3425JX.mjs → chunk-5AYDHF5U.mjs} +1 -1
  19. package/dist/{chunk-2RGAV55J.mjs → chunk-5N2D3BGH.mjs} +1 -1
  20. package/dist/{chunk-74U3NYS2.mjs → chunk-5T4OPJ7F.mjs} +1 -1
  21. package/dist/{chunk-LBUC4M6L.mjs → chunk-5WDNNO37.mjs} +1 -1
  22. package/dist/{chunk-CRAZSEFO.mjs → chunk-5WH7SFOR.mjs} +1 -1
  23. package/dist/{chunk-V6GC3UGV.mjs → chunk-5YJFMMVM.mjs} +1 -1
  24. package/dist/{chunk-LKGCU7H6.mjs → chunk-67RPQW7V.mjs} +1 -1
  25. package/dist/{chunk-FGEFYI5E.mjs → chunk-6CAO4IKW.mjs} +1 -1
  26. package/dist/{chunk-MXCW6SOT.mjs → chunk-6GDVIZS5.mjs} +1 -1
  27. package/dist/{chunk-EAFH3DTH.mjs → chunk-6PBOA7BL.mjs} +1 -1
  28. package/dist/{chunk-2LINLX4S.mjs → chunk-6PQ67CC6.mjs} +1 -1
  29. package/dist/{chunk-VMAPGGGW.mjs → chunk-6TLGI4P6.mjs} +1 -1
  30. package/dist/{chunk-LJQPLE4S.mjs → chunk-6UVEJCVM.mjs} +1 -1
  31. package/dist/{chunk-LLED3RQS.mjs → chunk-6WVIXUXX.mjs} +1 -1
  32. package/dist/{chunk-E4TE4NV6.mjs → chunk-7EEEXU54.mjs} +1 -1
  33. package/dist/{chunk-JFFTEK6Z.mjs → chunk-7QBPKUWN.mjs} +1 -1
  34. package/dist/{chunk-L3BLBPSR.mjs → chunk-7RKPUKFH.mjs} +1 -1
  35. package/dist/{chunk-YO3GQYRJ.mjs → chunk-7WKUKFCT.mjs} +1 -1
  36. package/dist/{chunk-ZUA4KNIR.mjs → chunk-7Z3TOFNL.mjs} +1 -1
  37. package/dist/{chunk-FHMQVAKQ.mjs → chunk-A4XWPIEI.mjs} +1 -1
  38. package/dist/{chunk-I2GNNRFH.mjs → chunk-A5TPL5CB.mjs} +1 -1
  39. package/dist/{chunk-ZSIYEVUV.mjs → chunk-A7S4L4P2.mjs} +1 -1
  40. package/dist/{chunk-UWEU6TLS.mjs → chunk-AARMIMMZ.mjs} +1 -1
  41. package/dist/{chunk-3UMMMQEH.mjs → chunk-AG6IN5S7.mjs} +1 -1
  42. package/dist/{chunk-GHZ6CUY3.mjs → chunk-AQIMDHFI.mjs} +1 -1
  43. package/dist/{chunk-YOETYY5S.mjs → chunk-AWMXVMUW.mjs} +1 -1
  44. package/dist/{chunk-D4IMQTVU.mjs → chunk-BEPKJ67R.mjs} +1 -1
  45. package/dist/{chunk-KY7WQYN4.mjs → chunk-BIAOADJS.mjs} +1 -1
  46. package/dist/{chunk-Z22NSJMF.mjs → chunk-BM2ZNFM6.mjs} +1 -1
  47. package/dist/{chunk-MZP7RIQZ.mjs → chunk-BOG3XLGP.mjs} +1 -1
  48. package/dist/{chunk-5WVFEIMC.mjs → chunk-BUTUPCGN.mjs} +1 -1
  49. package/dist/{chunk-HKGW6JI2.mjs → chunk-BXVJNWFA.mjs} +1 -1
  50. package/dist/{chunk-GSOFCLPO.mjs → chunk-C4SUCDRQ.mjs} +1 -1
  51. package/dist/chunk-CDH5ONCJ.mjs +8 -0
  52. package/dist/{chunk-AB43AQKL.mjs → chunk-CXK2IY4V.mjs} +1 -1
  53. package/dist/{chunk-M7NV6EFH.mjs → chunk-CXXPSCV3.mjs} +1 -1
  54. package/dist/{chunk-SS6TXSY6.mjs → chunk-D42KIYIO.mjs} +1 -1
  55. package/dist/{chunk-QTILVWJA.mjs → chunk-DA5SDQDL.mjs} +1 -1
  56. package/dist/{chunk-255P6K5W.mjs → chunk-DFWWQRJ2.mjs} +1 -1
  57. package/dist/{chunk-OCPX4QPC.mjs → chunk-DGJHJHFF.mjs} +1 -1
  58. package/dist/{chunk-PWXCBW2H.mjs → chunk-E2MPOOEL.mjs} +1 -1
  59. package/dist/{chunk-CTAQQFEO.mjs → chunk-E3NWG6B4.mjs} +1 -1
  60. package/dist/{chunk-VGWDYD6Z.mjs → chunk-E43QS242.mjs} +1 -1
  61. package/dist/{chunk-BQAK2HDY.mjs → chunk-E6IIUYQ7.mjs} +1 -1
  62. package/dist/{chunk-JHNVX4UB.mjs → chunk-E6W2YMC3.mjs} +1 -1
  63. package/dist/{chunk-RHR3YOLG.mjs → chunk-E7SIU5SS.mjs} +1 -1
  64. package/dist/{chunk-J4IHIM6A.mjs → chunk-EBO2R46A.mjs} +1 -1
  65. package/dist/{chunk-LXZAOORS.mjs → chunk-EESKUTPD.mjs} +1 -1
  66. package/dist/{chunk-YRMNCHFO.mjs → chunk-EFIJNPMM.mjs} +1 -1
  67. package/dist/{chunk-X3JZSN3W.mjs → chunk-EGERAM4Q.mjs} +1 -1
  68. package/dist/{chunk-5RTGHMF3.mjs → chunk-EPDV35LO.mjs} +1 -1
  69. package/dist/{chunk-7WIO2CIC.mjs → chunk-ESTO675Y.mjs} +1 -1
  70. package/dist/{chunk-RR4QSUV2.mjs → chunk-EUXJZBRI.mjs} +1 -1
  71. package/dist/{chunk-67QPOSVV.mjs → chunk-EYQ4UGAJ.mjs} +1 -1
  72. package/dist/{chunk-MFCVMJBO.mjs → chunk-EYRTGZWR.mjs} +1 -1
  73. package/dist/{chunk-7BXIU4ZM.mjs → chunk-F5JHHMZQ.mjs} +1 -1
  74. package/dist/{chunk-FEI5NFYO.mjs → chunk-F6KHZ4OS.mjs} +1 -1
  75. package/dist/{chunk-MAAKU7PN.mjs → chunk-FDJHY37W.mjs} +1 -1
  76. package/dist/{chunk-ZGQC6O62.mjs → chunk-FHPZSG7W.mjs} +1 -1
  77. package/dist/{chunk-SRUG246N.mjs → chunk-FJUAYJF4.mjs} +1 -1
  78. package/dist/{chunk-OYZDAMCS.mjs → chunk-FPWCCVDI.mjs} +1 -1
  79. package/dist/{chunk-GRNYF3HM.mjs → chunk-FSV7RCTY.mjs} +1 -1
  80. package/dist/{chunk-2RQDJ5XT.mjs → chunk-FT6JQ4AC.mjs} +1 -1
  81. package/dist/{chunk-YKG4FNS4.mjs → chunk-GCIWMQMK.mjs} +1 -1
  82. package/dist/{chunk-6DEY5ZDD.mjs → chunk-GFLX67DN.mjs} +1 -1
  83. package/dist/{chunk-AZKOVKSK.mjs → chunk-GIGKJZGA.mjs} +1 -1
  84. package/dist/{chunk-L5JPAKPM.mjs → chunk-GJUA2KUH.mjs} +1 -1
  85. package/dist/{chunk-KGEIN56Y.mjs → chunk-GNIVCF53.mjs} +1 -1
  86. package/dist/{chunk-KX2NCNCS.mjs → chunk-GYTXBVCX.mjs} +1 -1
  87. package/dist/{chunk-AMV3MECK.mjs → chunk-GZQ7JEUL.mjs} +1 -1
  88. package/dist/{chunk-5WV5ZFEP.mjs → chunk-H45UTXIK.mjs} +1 -1
  89. package/dist/{chunk-7GSXNSLD.mjs → chunk-HH4JDBUN.mjs} +1 -1
  90. package/dist/{chunk-TZKQXT7Y.mjs → chunk-HK52LPE3.mjs} +1 -1
  91. package/dist/{chunk-WI2RL3XQ.mjs → chunk-HLWGNTZD.mjs} +1 -1
  92. package/dist/{chunk-LEC6GEWS.mjs → chunk-HPZPRZWG.mjs} +1 -1
  93. package/dist/{chunk-KVD6XDZT.mjs → chunk-HTCM27MI.mjs} +1 -1
  94. package/dist/{chunk-CNOX2DT2.mjs → chunk-HTQIVWYI.mjs} +1 -1
  95. package/dist/{chunk-U5PBLRRV.mjs → chunk-HYIRE7BK.mjs} +1 -1
  96. package/dist/chunk-I2BNJCJ7.mjs +1 -0
  97. package/dist/{chunk-Q5NHYYRS.mjs → chunk-IG6J62QA.mjs} +1 -1
  98. package/dist/{chunk-B3F6F2S4.mjs → chunk-JKPUXPHP.mjs} +1 -1
  99. package/dist/{chunk-QQVPLMPJ.mjs → chunk-JTFMN7OL.mjs} +1 -1
  100. package/dist/{chunk-2QZUKVBA.mjs → chunk-JULD2KZR.mjs} +1 -1
  101. package/dist/{chunk-FT3AE7L2.mjs → chunk-JVJG2LOA.mjs} +1 -1
  102. package/dist/{chunk-Q6PKGY27.mjs → chunk-K5GFFN67.mjs} +1 -1
  103. package/dist/{chunk-M25ZFLSL.mjs → chunk-KCOLYVJX.mjs} +1 -1
  104. package/dist/{chunk-ORNGKQM7.mjs → chunk-KUVPOOSW.mjs} +1 -1
  105. package/dist/{chunk-HHYHENVF.mjs → chunk-KZTONTWM.mjs} +1 -1
  106. package/dist/{chunk-LVFMFRBR.mjs → chunk-LARQXED4.mjs} +1 -1
  107. package/dist/{chunk-ZMB6R6JX.mjs → chunk-LCIKBYDR.mjs} +1 -1
  108. package/dist/{chunk-76M7JE4D.mjs → chunk-LQDJWEHX.mjs} +1 -1
  109. package/dist/{chunk-DGNL64K3.mjs → chunk-MZKVGPNQ.mjs} +1 -1
  110. package/dist/{chunk-IQQ7ZWCP.mjs → chunk-N5BLWWDM.mjs} +1 -1
  111. package/dist/{chunk-DFIXTV2M.mjs → chunk-N5GHL7UZ.mjs} +1 -1
  112. package/dist/{chunk-ISBVFNWD.mjs → chunk-NGC3C4FW.mjs} +1 -1
  113. package/dist/{chunk-I2ZLKSWR.mjs → chunk-NM6U4PLY.mjs} +1 -1
  114. package/dist/{chunk-DBY4SXQI.mjs → chunk-NMAMUYGQ.mjs} +1 -1
  115. package/dist/{chunk-NSMXJCXE.mjs → chunk-NN2RHTGW.mjs} +1 -1
  116. package/dist/{chunk-INCYANPB.mjs → chunk-NQPBIFGO.mjs} +1 -1
  117. package/dist/{chunk-TR6RBROH.mjs → chunk-OF63XSJ4.mjs} +1 -1
  118. package/dist/{chunk-6C4WESLL.mjs → chunk-OGN7YDFB.mjs} +1 -1
  119. package/dist/{chunk-I3E2TYYZ.mjs → chunk-OHDNPAPI.mjs} +1 -1
  120. package/dist/{chunk-FTZRG54P.mjs → chunk-OKAETRO6.mjs} +1 -1
  121. package/dist/{chunk-22LHS2J6.mjs → chunk-OU7KVCBI.mjs} +1 -1
  122. package/dist/{chunk-RLVKIMGU.mjs → chunk-P5U27QUJ.mjs} +1 -1
  123. package/dist/{chunk-5NRGSTPV.mjs → chunk-PMOMDGBA.mjs} +1 -1
  124. package/dist/{chunk-PDY7JYY3.mjs → chunk-PUAHE5VJ.mjs} +1 -1
  125. package/dist/{chunk-56X4PU43.mjs → chunk-PXAKUW3U.mjs} +1 -1
  126. package/dist/{chunk-MGYV46AJ.mjs → chunk-Q6FPZ6J3.mjs} +1 -1
  127. package/dist/{chunk-6WQXZ6IE.mjs → chunk-QAIS2C6W.mjs} +1 -1
  128. package/dist/{chunk-7GMAMIHM.mjs → chunk-QB63WPDB.mjs} +1 -1
  129. package/dist/{chunk-6HLXIE4P.mjs → chunk-QEFMYXHA.mjs} +1 -1
  130. package/dist/{chunk-IJQC7T2R.mjs → chunk-QIDPNZOL.mjs} +1 -1
  131. package/dist/{chunk-RVHCTANZ.mjs → chunk-QMTI6672.mjs} +1 -1
  132. package/dist/{chunk-D3B2YO7G.mjs → chunk-QUDKEIE6.mjs} +1 -1
  133. package/dist/{chunk-2BR55L74.mjs → chunk-QXA6C5VE.mjs} +1 -1
  134. package/dist/{chunk-Q6VAKKW3.mjs → chunk-QXNCGSQE.mjs} +1 -1
  135. package/dist/{chunk-TVZOULLL.mjs → chunk-RAAY7PEH.mjs} +1 -1
  136. package/dist/{chunk-AM2SRWFU.mjs → chunk-RARAKOXE.mjs} +1 -1
  137. package/dist/{chunk-Q67RF7VO.mjs → chunk-RD7LJPUV.mjs} +1 -1
  138. package/dist/{chunk-SOLZ4VQH.mjs → chunk-RFNYVF6F.mjs} +1 -1
  139. package/dist/{chunk-SOIRB5TV.mjs → chunk-RHYQ4V7N.mjs} +1 -1
  140. package/dist/{chunk-TUI4S4GI.mjs → chunk-RPUSKO6J.mjs} +1 -1
  141. package/dist/{chunk-OM5ZUHCN.mjs → chunk-RU435LAU.mjs} +1 -1
  142. package/dist/{chunk-LVK4QE5D.mjs → chunk-S7N4CSMJ.mjs} +1 -1
  143. package/dist/{chunk-AZ4VR5JX.mjs → chunk-SIFQNSEM.mjs} +1 -1
  144. package/dist/{chunk-XBCYPOFD.mjs → chunk-T3BIRW2W.mjs} +1 -1
  145. package/dist/{chunk-4UIARERB.mjs → chunk-T3NMKARZ.mjs} +1 -1
  146. package/dist/{chunk-CTAIR3TE.mjs → chunk-TAVSBP7M.mjs} +1 -1
  147. package/dist/{chunk-AMVJPDM3.mjs → chunk-TFPWTJ2V.mjs} +1 -1
  148. package/dist/{chunk-FMJBJ3HN.mjs → chunk-TNCD5YIY.mjs} +1 -1
  149. package/dist/{chunk-N3B3XNV3.mjs → chunk-TR52MKZR.mjs} +1 -1
  150. package/dist/chunk-TSEOL53Y.mjs +1 -0
  151. package/dist/{chunk-6SWKEZN6.mjs → chunk-TUTSJOO4.mjs} +1 -1
  152. package/dist/{chunk-6XUIHSKG.mjs → chunk-TYMRNSJ3.mjs} +1 -1
  153. package/dist/{chunk-XGIYNUGC.mjs → chunk-TZTQENNX.mjs} +1 -1
  154. package/dist/{chunk-BMA4266L.mjs → chunk-U5UV7T63.mjs} +1 -1
  155. package/dist/{chunk-ZXPDSSCF.mjs → chunk-UBCJPXKD.mjs} +1 -1
  156. package/dist/{chunk-CGDLOY7W.mjs → chunk-UJ6M7EV5.mjs} +1 -1
  157. package/dist/{chunk-KFCSVEI6.mjs → chunk-UXCCCQCB.mjs} +1 -1
  158. package/dist/{chunk-WISC5QJV.mjs → chunk-UY4BSKPK.mjs} +1 -1
  159. package/dist/{chunk-H3CJOE6S.mjs → chunk-VB7K44IF.mjs} +1 -1
  160. package/dist/{chunk-5SHZBJ5R.mjs → chunk-VFPS3FYN.mjs} +1 -1
  161. package/dist/{chunk-FMH5CZ7X.mjs → chunk-VRZHKAJK.mjs} +1 -1
  162. package/dist/{chunk-B4H6T2GP.mjs → chunk-VXZPPTQQ.mjs} +1 -1
  163. package/dist/{chunk-TJVEQJW3.mjs → chunk-WH24BWZV.mjs} +1 -1
  164. package/dist/{chunk-LAQ3QAUW.mjs → chunk-WJZDHRGO.mjs} +1 -1
  165. package/dist/{chunk-RULSHTXR.mjs → chunk-WKLJU63E.mjs} +1 -1
  166. package/dist/{chunk-YFAZQYK4.mjs → chunk-WLM2ZFHF.mjs} +1 -1
  167. package/dist/{chunk-EHSOO47V.mjs → chunk-WNBJ7C5Y.mjs} +1 -1
  168. package/dist/{chunk-5BV4MHV6.mjs → chunk-WWTVAR4J.mjs} +1 -1
  169. package/dist/chunk-WXTJ6DVT.mjs +4 -0
  170. package/dist/{chunk-WROUZ25H.mjs → chunk-X5RHYJW3.mjs} +1 -1
  171. package/dist/{chunk-BG7QXNV5.mjs → chunk-XXFUUOSB.mjs} +1 -1
  172. package/dist/{chunk-TK4JC5PG.mjs → chunk-XXWSCTF5.mjs} +1 -1
  173. package/dist/{chunk-ERJXTG6X.mjs → chunk-YHTFEWSZ.mjs} +1 -1
  174. package/dist/{chunk-OPLUKFRN.mjs → chunk-YUW3HHAK.mjs} +1 -1
  175. package/dist/{chunk-AREQGH47.mjs → chunk-YVNVQONM.mjs} +1 -1
  176. package/dist/{chunk-5BT4EWU5.mjs → chunk-Z756RYIZ.mjs} +1 -1
  177. package/dist/{chunk-4QRKVSTE.mjs → chunk-ZJBZTPLD.mjs} +1 -1
  178. package/dist/{chunk-PFDPO3UX.mjs → chunk-ZKLSTUIP.mjs} +1 -1
  179. package/dist/{chunk-5AWZJAK3.mjs → chunk-ZNV6MCYI.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.d.ts +2 -2
  187. package/dist/components/AdvancedComponents/app-header.js +1 -1
  188. package/dist/components/AdvancedComponents/app-header.mjs +1 -1
  189. package/dist/components/AdvancedComponents/index.js +2 -2
  190. package/dist/components/AdvancedComponents/index.mjs +1 -1
  191. package/dist/components/AdvancedComponents/navigation-tabs.js +2 -2
  192. package/dist/components/AdvancedComponents/navigation-tabs.mjs +1 -1
  193. package/dist/components/AdvancedComponents/notifications-panel.js +1 -1
  194. package/dist/components/AdvancedComponents/notifications-panel.mjs +1 -1
  195. package/dist/components/AdvancedComponents/switch.js +1 -1
  196. package/dist/components/AdvancedComponents/switch.mjs +1 -1
  197. package/dist/components/AdvancedComponents/theme-toggle.js +1 -1
  198. package/dist/components/AdvancedComponents/theme-toggle.mjs +1 -1
  199. package/dist/components/AdvancedComponents/user-selection.js +1 -1
  200. package/dist/components/AdvancedComponents/user-selection.mjs +1 -1
  201. package/dist/components/Blocks/Banner.js +1 -1
  202. package/dist/components/Blocks/Banner.mjs +1 -1
  203. package/dist/components/Blocks/CallToAction.js +1 -1
  204. package/dist/components/Blocks/CallToAction.mjs +1 -1
  205. package/dist/components/Blocks/CaseStudy.js +1 -1
  206. package/dist/components/Blocks/CaseStudy.mjs +1 -1
  207. package/dist/components/Blocks/Code.client.js +1 -1
  208. package/dist/components/Blocks/Code.client.mjs +1 -1
  209. package/dist/components/Blocks/Code.js +1 -1
  210. package/dist/components/Blocks/Code.mjs +1 -1
  211. package/dist/components/Blocks/CollapsibleArea.js +1 -1
  212. package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
  213. package/dist/components/Blocks/ConsultantProfile.js +1 -1
  214. package/dist/components/Blocks/ConsultantProfile.mjs +1 -1
  215. package/dist/components/Blocks/Content.js +1 -1
  216. package/dist/components/Blocks/Content.mjs +1 -1
  217. package/dist/components/Blocks/CopyButton.js +1 -1
  218. package/dist/components/Blocks/CopyButton.mjs +1 -1
  219. package/dist/components/Blocks/FeaturesBlock.js +1 -1
  220. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  221. package/dist/components/Blocks/ImageBlock.js +1 -1
  222. package/dist/components/Blocks/ImageBlock.mjs +1 -1
  223. package/dist/components/Blocks/MediaBlock.js +1 -1
  224. package/dist/components/Blocks/MediaBlock.mjs +1 -1
  225. package/dist/components/Blocks/ProposalSummary.js +1 -1
  226. package/dist/components/Blocks/ProposalSummary.mjs +1 -1
  227. package/dist/components/Blocks/RelatedPosts.js +1 -1
  228. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  229. package/dist/components/Blocks/RenderBlocks.js +1 -1
  230. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  231. package/dist/components/Blocks/ReusableContentBlock.js +1 -1
  232. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  233. package/dist/components/Blocks/index.js +1 -1
  234. package/dist/components/Blocks/index.mjs +1 -1
  235. package/dist/components/CRM/CogeBoard.js +1 -1
  236. package/dist/components/CRM/CogeBoard.mjs +1 -1
  237. package/dist/components/CRM/DealCard.js +1 -1
  238. package/dist/components/CRM/DealCard.mjs +1 -1
  239. package/dist/components/CRM/DealDetails.js +1 -1
  240. package/dist/components/CRM/DealDetails.mjs +1 -1
  241. package/dist/components/CRM/KanbanBoard.js +1 -1
  242. package/dist/components/CRM/KanbanBoard.mjs +1 -1
  243. package/dist/components/CRM/KanbanColumn.js +1 -1
  244. package/dist/components/CRM/KanbanColumn.mjs +1 -1
  245. package/dist/components/CRM/NewCustomerForm.js +1 -1
  246. package/dist/components/CRM/NewCustomerForm.mjs +1 -1
  247. package/dist/components/CRM/NewDealForm.js +1 -1
  248. package/dist/components/CRM/NewDealForm.mjs +1 -1
  249. package/dist/components/CRM/index.js +1 -1
  250. package/dist/components/CRM/index.mjs +1 -1
  251. package/dist/components/Cards/ContentCard.js +1 -1
  252. package/dist/components/Cards/ContentCard.mjs +1 -1
  253. package/dist/components/Cards/CustomerCard.js +1 -1
  254. package/dist/components/Cards/CustomerCard.mjs +1 -1
  255. package/dist/components/Cards/EventCard.js +1 -1
  256. package/dist/components/Cards/EventCard.mjs +1 -1
  257. package/dist/components/Cards/FeatureCard.js +1 -1
  258. package/dist/components/Cards/FeatureCard.mjs +1 -1
  259. package/dist/components/Cards/HeroCard.js +1 -1
  260. package/dist/components/Cards/HeroCard.mjs +1 -1
  261. package/dist/components/Cards/Image.js +1 -1
  262. package/dist/components/Cards/Image.mjs +1 -1
  263. package/dist/components/Cards/PricingCard.js +1 -1
  264. package/dist/components/Cards/PricingCard.mjs +1 -1
  265. package/dist/components/Cards/ProjectCard.js +3 -3
  266. package/dist/components/Cards/ProjectCard.mjs +1 -1
  267. package/dist/components/Cards/ServiceCard.js +1 -1
  268. package/dist/components/Cards/ServiceCard.mjs +1 -1
  269. package/dist/components/Cards/index.js +4 -4
  270. package/dist/components/Cards/index.mjs +1 -1
  271. package/dist/components/Chat/ChatCardArtefact.js +1 -1
  272. package/dist/components/Chat/ChatCardArtefact.mjs +1 -1
  273. package/dist/components/Chat/ChatCardTask.js +1 -1
  274. package/dist/components/Chat/ChatCardTask.mjs +1 -1
  275. package/dist/components/Chat/ChatInterface.js +2 -2
  276. package/dist/components/Chat/ChatInterface.mjs +1 -1
  277. package/dist/components/Chat/ChatInterfaceMessages.js +2 -2
  278. package/dist/components/Chat/ChatInterfaceMessages.mjs +1 -1
  279. package/dist/components/Chat/ChatMessage.js +2 -2
  280. package/dist/components/Chat/ChatMessage.mjs +1 -1
  281. package/dist/components/Chat/CopilotInterface.js +3 -3
  282. package/dist/components/Chat/CopilotInterface.mjs +1 -1
  283. package/dist/components/Chat/capability-menu.js +1 -1
  284. package/dist/components/Chat/capability-menu.mjs +1 -1
  285. package/dist/components/Chat/chat-session-sidebar.js +1 -1
  286. package/dist/components/Chat/chat-session-sidebar.mjs +1 -1
  287. package/dist/components/Chat/demo-long-messages.js +9 -9
  288. package/dist/components/Chat/demo-long-messages.mjs +1 -1
  289. package/dist/components/Chat/demo-tests.js +24 -24
  290. package/dist/components/Chat/demo-tests.mjs +1 -1
  291. package/dist/components/Chat/demo.js +3 -3
  292. package/dist/components/Chat/demo.mjs +1 -1
  293. package/dist/components/Chat/example-usage.js +2 -2
  294. package/dist/components/Chat/example-usage.mjs +1 -1
  295. package/dist/components/Chat/example-with-file-uploads.js +1 -1
  296. package/dist/components/Chat/example-with-file-uploads.mjs +1 -1
  297. package/dist/components/Chat/example-with-vercel-ai.js +3 -3
  298. package/dist/components/Chat/example-with-vercel-ai.mjs +1 -1
  299. package/dist/components/Chat/index.js +3 -3
  300. package/dist/components/Chat/index.mjs +1 -1
  301. package/dist/components/DeliveryLead/DeliveryLeadSubmission.js +2 -2
  302. package/dist/components/DeliveryLead/DeliveryLeadSubmission.mjs +1 -1
  303. package/dist/components/DeliveryLead/DeliveryLeadSubmissionList.js +1 -1
  304. package/dist/components/DeliveryLead/DeliveryLeadSubmissionList.mjs +1 -1
  305. package/dist/components/DeliveryLead/DeliveryLeadSubmissionWithList.js +2 -2
  306. package/dist/components/DeliveryLead/DeliveryLeadSubmissionWithList.mjs +1 -1
  307. package/dist/components/DeliveryLead/index.js +2 -2
  308. package/dist/components/DeliveryLead/index.mjs +1 -1
  309. package/dist/components/DigitalColleagues/AppSidebarLeft.js +1 -1
  310. package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
  311. package/dist/components/DigitalColleagues/DashboardHeader.js +1 -1
  312. package/dist/components/DigitalColleagues/DashboardHeader.mjs +1 -1
  313. package/dist/components/DigitalColleagues/DigitalColleageusLayout.js +1 -1
  314. package/dist/components/DigitalColleagues/DigitalColleageusLayout.mjs +1 -1
  315. package/dist/components/DigitalColleagues/MainPage.js +1 -1
  316. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  317. package/dist/components/DigitalColleagues/ManagementSidebar.js +1 -1
  318. package/dist/components/DigitalColleagues/ManagementSidebar.mjs +1 -1
  319. package/dist/components/DigitalColleagues/Pages/dashboardpage.js +1 -1
  320. package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +1 -1
  321. package/dist/components/DigitalColleagues/SearchableSelect.js +1 -1
  322. package/dist/components/DigitalColleagues/SearchableSelect.mjs +1 -1
  323. package/dist/components/DigitalColleagues/Views/ColleaguesView.js +1 -1
  324. package/dist/components/DigitalColleagues/Views/ColleaguesView.mjs +1 -1
  325. package/dist/components/DigitalColleagues/Views/KnowledgeView.js +1 -1
  326. package/dist/components/DigitalColleagues/Views/KnowledgeView.mjs +1 -1
  327. package/dist/components/DigitalColleagues/Views/TeamsIndexView.js +1 -1
  328. package/dist/components/DigitalColleagues/Views/TeamsIndexView.mjs +1 -1
  329. package/dist/components/DigitalColleagues/Views/index.js +1 -1
  330. package/dist/components/DigitalColleagues/Views/index.mjs +1 -1
  331. package/dist/components/DigitalColleagues/colleague-card.js +1 -1
  332. package/dist/components/DigitalColleagues/colleague-card.mjs +1 -1
  333. package/dist/components/DigitalColleagues/colleague-form.js +1 -1
  334. package/dist/components/DigitalColleagues/colleague-form.mjs +1 -1
  335. package/dist/components/DigitalColleagues/colleague-type-selection.js +1 -1
  336. package/dist/components/DigitalColleagues/colleague-type-selection.mjs +1 -1
  337. package/dist/components/DigitalColleagues/digital-colleague-clone.js +1 -1
  338. package/dist/components/DigitalColleagues/digital-colleague-clone.mjs +1 -1
  339. package/dist/components/DigitalColleagues/digital-colleague-options.js +1 -1
  340. package/dist/components/DigitalColleagues/digital-colleague-options.mjs +1 -1
  341. package/dist/components/DigitalColleagues/document-edit.js +1 -1
  342. package/dist/components/DigitalColleagues/document-edit.mjs +1 -1
  343. package/dist/components/DigitalColleagues/document-preview-examples.js +5 -5
  344. package/dist/components/DigitalColleagues/document-preview-examples.mjs +1 -1
  345. package/dist/components/DigitalColleagues/document-preview.js +1 -1
  346. package/dist/components/DigitalColleagues/document-preview.mjs +1 -1
  347. package/dist/components/DigitalColleagues/index.js +1 -1
  348. package/dist/components/DigitalColleagues/index.mjs +1 -1
  349. package/dist/components/DigitalColleagues/knowledge-browser.js +1 -1
  350. package/dist/components/DigitalColleagues/knowledge-browser.mjs +1 -1
  351. package/dist/components/DigitalColleagues/knowledge-search.js +1 -1
  352. package/dist/components/DigitalColleagues/knowledge-search.mjs +1 -1
  353. package/dist/components/DigitalColleagues/team-form.js +1 -1
  354. package/dist/components/DigitalColleagues/team-form.mjs +1 -1
  355. package/dist/components/DigitalColleagues/test-data.js +1 -1
  356. package/dist/components/DigitalColleagues/test-data.mjs +1 -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.js +1 -1
  474. package/dist/components/Projects/KanbanBoardView.mjs +1 -1
  475. package/dist/components/Projects/KanbanColumn.js +1 -1
  476. package/dist/components/Projects/KanbanColumn.mjs +1 -1
  477. package/dist/components/Projects/PlanningView.js +1 -1
  478. package/dist/components/Projects/PlanningView.mjs +1 -1
  479. package/dist/components/Projects/ProjectPage.js +1 -1
  480. package/dist/components/Projects/ProjectPage.mjs +1 -1
  481. package/dist/components/Projects/ProjectView.js +1 -1
  482. package/dist/components/Projects/ProjectView.mjs +1 -1
  483. package/dist/components/Projects/ProjectsIndexView.js +1 -1
  484. package/dist/components/Projects/ProjectsIndexView.mjs +1 -1
  485. package/dist/components/Projects/TaskCard.js +1 -1
  486. package/dist/components/Projects/TaskCard.mjs +1 -1
  487. package/dist/components/Projects/TaskDetailsModal.js +1 -1
  488. package/dist/components/Projects/TaskDetailsModal.mjs +1 -1
  489. package/dist/components/Projects/TaskSelect.js +1 -1
  490. package/dist/components/Projects/TaskSelect.mjs +1 -1
  491. package/dist/components/Projects/TaskSidebar.js +1 -1
  492. package/dist/components/Projects/TaskSidebar.mjs +1 -1
  493. package/dist/components/Projects/TasksView.js +1 -1
  494. package/dist/components/Projects/TasksView.mjs +1 -1
  495. package/dist/components/Projects/TeamSwitcher.js +1 -1
  496. package/dist/components/Projects/TeamSwitcher.mjs +1 -1
  497. package/dist/components/Projects/business-unit-switcher.js +1 -1
  498. package/dist/components/Projects/business-unit-switcher.mjs +1 -1
  499. package/dist/components/Projects/file-list.js +1 -1
  500. package/dist/components/Projects/file-list.mjs +1 -1
  501. package/dist/components/Projects/index.js +1 -1
  502. package/dist/components/Projects/index.mjs +1 -1
  503. package/dist/components/Projects/project-card.js +1 -1
  504. package/dist/components/Projects/project-card.mjs +1 -1
  505. package/dist/components/Projects/project-form.js +1 -1
  506. package/dist/components/Projects/project-form.mjs +1 -1
  507. package/dist/components/Projects/team-card.js +1 -1
  508. package/dist/components/Projects/team-card.mjs +1 -1
  509. package/dist/components/Projects/team-switcher-bar.js +1 -1
  510. package/dist/components/Projects/team-switcher-bar.mjs +1 -1
  511. package/dist/components/Projects/test-data.js +1 -1
  512. package/dist/components/Projects/test-data.mjs +1 -1
  513. package/dist/components/dc-temp/creative.js +1 -1
  514. package/dist/components/dc-temp/creative.mjs +1 -1
  515. package/dist/components/dc-temp/dashboard-integration-example.js +1 -1
  516. package/dist/components/dc-temp/dashboard-integration-example.mjs +1 -1
  517. package/dist/components/dc-temp/index.js +1 -1
  518. package/dist/components/dc-temp/index.mjs +1 -1
  519. package/dist/components/dc-temp/markdown-renderer.js +1 -1
  520. package/dist/components/dc-temp/markdown-renderer.mjs +1 -1
  521. package/dist/components/dc-temp/utils.js +1 -1
  522. package/dist/components/dc-temp/utils.mjs +1 -1
  523. package/dist/components/index.js +13 -13
  524. package/dist/components/index.mjs +1 -1
  525. package/dist/components/ui/alert.js +1 -1
  526. package/dist/components/ui/alert.mjs +1 -1
  527. package/dist/components/ui/avatar.js +1 -1
  528. package/dist/components/ui/avatar.mjs +1 -1
  529. package/dist/components/ui/badge.js +1 -1
  530. package/dist/components/ui/badge.mjs +1 -1
  531. package/dist/components/ui/breadcrumb.js +1 -1
  532. package/dist/components/ui/breadcrumb.mjs +1 -1
  533. package/dist/components/ui/button.js +1 -1
  534. package/dist/components/ui/button.mjs +1 -1
  535. package/dist/components/ui/calendar.js +1 -1
  536. package/dist/components/ui/calendar.mjs +1 -1
  537. package/dist/components/ui/card.js +1 -1
  538. package/dist/components/ui/card.mjs +1 -1
  539. package/dist/components/ui/checkbox.js +1 -1
  540. package/dist/components/ui/checkbox.mjs +1 -1
  541. package/dist/components/ui/command.js +1 -1
  542. package/dist/components/ui/command.mjs +1 -1
  543. package/dist/components/ui/dialog.js +1 -1
  544. package/dist/components/ui/dialog.mjs +1 -1
  545. package/dist/components/ui/dropdown-menu.js +1 -1
  546. package/dist/components/ui/dropdown-menu.mjs +1 -1
  547. package/dist/components/ui/hover-card.js +1 -1
  548. package/dist/components/ui/hover-card.mjs +1 -1
  549. package/dist/components/ui/index.js +1 -1
  550. package/dist/components/ui/index.mjs +1 -1
  551. package/dist/components/ui/input.js +1 -1
  552. package/dist/components/ui/input.mjs +1 -1
  553. package/dist/components/ui/inputs/common/styles/index.js +1 -1
  554. package/dist/components/ui/inputs/common/styles/index.mjs +1 -1
  555. package/dist/components/ui/inputs/text-input/index.js +1 -1
  556. package/dist/components/ui/inputs/text-input/index.mjs +1 -1
  557. package/dist/components/ui/inputs/textarea-input/index.js +1 -1
  558. package/dist/components/ui/inputs/textarea-input/index.mjs +1 -1
  559. package/dist/components/ui/label.js +1 -1
  560. package/dist/components/ui/label.mjs +1 -1
  561. package/dist/components/ui/pagination.js +1 -1
  562. package/dist/components/ui/pagination.mjs +1 -1
  563. package/dist/components/ui/popover.js +1 -1
  564. package/dist/components/ui/popover.mjs +1 -1
  565. package/dist/components/ui/progress.js +1 -1
  566. package/dist/components/ui/progress.mjs +1 -1
  567. package/dist/components/ui/scroll-area.js +1 -1
  568. package/dist/components/ui/scroll-area.mjs +1 -1
  569. package/dist/components/ui/select.js +1 -1
  570. package/dist/components/ui/select.mjs +1 -1
  571. package/dist/components/ui/separator.js +1 -1
  572. package/dist/components/ui/separator.mjs +1 -1
  573. package/dist/components/ui/sheet.js +1 -1
  574. package/dist/components/ui/sheet.mjs +1 -1
  575. package/dist/components/ui/sidebar.js +1 -1
  576. package/dist/components/ui/sidebar.mjs +1 -1
  577. package/dist/components/ui/skeleton.js +1 -1
  578. package/dist/components/ui/skeleton.mjs +1 -1
  579. package/dist/components/ui/switch.js +1 -1
  580. package/dist/components/ui/switch.mjs +1 -1
  581. package/dist/components/ui/tabs.js +1 -1
  582. package/dist/components/ui/tabs.mjs +1 -1
  583. package/dist/components/ui/textarea.js +1 -1
  584. package/dist/components/ui/textarea.mjs +1 -1
  585. package/dist/components/ui/toast.js +1 -1
  586. package/dist/components/ui/toast.mjs +1 -1
  587. package/dist/components/ui/toaster.js +1 -1
  588. package/dist/components/ui/toaster.mjs +1 -1
  589. package/dist/components/ui/toggle-group.js +1 -1
  590. package/dist/components/ui/toggle-group.mjs +1 -1
  591. package/dist/components/ui/toggle.js +1 -1
  592. package/dist/components/ui/toggle.mjs +1 -1
  593. package/dist/components/ui/tooltip.js +1 -1
  594. package/dist/components/ui/tooltip.mjs +1 -1
  595. package/dist/globals.css +1 -1
  596. package/dist/index.js +18 -18
  597. package/dist/index.mjs +1 -1
  598. package/dist/metafile-cjs.json +1 -1
  599. package/dist/metafile-esm.json +1 -1
  600. package/dist/pages/Blog.js +1 -1
  601. package/dist/pages/Blog.mjs +1 -1
  602. package/dist/pages/Documentation.js +1 -1
  603. package/dist/pages/Documentation.mjs +1 -1
  604. package/dist/pages/IndexPage.js +1 -1
  605. package/dist/pages/IndexPage.mjs +1 -1
  606. package/dist/pages/Intranet.js +1 -1
  607. package/dist/pages/Intranet.mjs +1 -1
  608. package/dist/pages/LandingPage.js +3 -3
  609. package/dist/pages/LandingPage.mjs +1 -1
  610. package/dist/pages/Page.js +1 -1
  611. package/dist/pages/Page.mjs +1 -1
  612. package/dist/pages/Publish.js +4 -4
  613. package/dist/pages/Publish.mjs +1 -1
  614. package/dist/pages/Website.js +1 -1
  615. package/dist/pages/Website.mjs +1 -1
  616. package/dist/sections/AboutSection.js +1 -1
  617. package/dist/sections/AboutSection.mjs +1 -1
  618. package/dist/sections/BlogDetail.js +1 -1
  619. package/dist/sections/BlogDetail.mjs +1 -1
  620. package/dist/sections/BlogList.js +3 -3
  621. package/dist/sections/BlogList.mjs +1 -1
  622. package/dist/sections/BlogListSection.js +1 -1
  623. package/dist/sections/BlogListSection.mjs +1 -1
  624. package/dist/sections/ContactSection.js +1 -1
  625. package/dist/sections/ContactSection.mjs +1 -1
  626. package/dist/sections/ImageSection.js +1 -1
  627. package/dist/sections/ImageSection.mjs +1 -1
  628. package/dist/sections/MainPageSection.js +1 -1
  629. package/dist/sections/MainPageSection.mjs +1 -1
  630. package/dist/sections/PageSections.js +3 -3
  631. package/dist/sections/PageSections.mjs +1 -1
  632. package/dist/sections/PricingSection.js +1 -1
  633. package/dist/sections/PricingSection.mjs +1 -1
  634. package/dist/sections/ServiceDetail.js +1 -1
  635. package/dist/sections/ServiceDetail.mjs +1 -1
  636. package/dist/sections/ServiceDetailSection.js +1 -1
  637. package/dist/sections/ServiceDetailSection.mjs +1 -1
  638. package/dist/sections/ServiceSection.js +1 -1
  639. package/dist/sections/ServiceSection.mjs +1 -1
  640. package/dist/sections/form/index.js +1 -1
  641. package/dist/sections/form/index.mjs +1 -1
  642. package/dist/sections/index.js +3 -3
  643. package/dist/sections/index.mjs +1 -1
  644. package/dist/styles/Colors.js +1 -1
  645. package/dist/styles/Colors.mjs +1 -1
  646. package/dist/utils/AOSInit.js +2 -2
  647. package/dist/utils/AOSInit.mjs +1 -1
  648. package/dist/utils/cn.js +1 -1
  649. package/dist/utils/cn.mjs +1 -1
  650. package/dist/utils/index.js +2 -2
  651. package/dist/utils/index.mjs +1 -1
  652. package/package.json +1 -1
  653. package/dist/chunk-MDJREBVI.mjs +0 -1
  654. package/dist/chunk-O46BOA4T.mjs +0 -1
  655. package/dist/chunk-XGRRLABA.mjs +0 -8
  656. package/dist/chunk-ZFUP5NVF.mjs +0 -4
  657. package/dist/chunk-ZWHGOTSF.mjs +0 -1
@@ -1 +1 @@
1
- import{a as e}from"./chunk-MDJREBVI.mjs";import*as r from"react";import{jsx as s}from"react/jsx-runtime";var i=r.forwardRef(({className:t,...o},a)=>s("textarea",{className:e("flex min-h-[80px] w-full rounded border border-border bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),ref:a,...o}));i.displayName="Textarea";export{i as a};
1
+ import{a as e}from"./chunk-TSEOL53Y.mjs";import*as r from"react";import{jsx as s}from"react/jsx-runtime";var i=r.forwardRef(({className:t,...o},a)=>s("textarea",{className:e("flex min-h-[80px] w-full rounded border border-border bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),ref:a,...o}));i.displayName="Textarea";export{i as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as e}from"./chunk-MDJREBVI.mjs";import*as i from"react";import*as o from"@radix-ui/react-switch";import{jsx as s,jsxs as x}from"react/jsx-runtime";function S({className:t,onCheckedChange:a,checked:n,defaultChecked:d,...h}){let[r,l]=i.useState(!1),[m,c]=i.useState(!1),[f,p]=i.useState(d||!1),g=n!==void 0?n:f;return s(o.Root,{"data-slot":"switch","data-pressed":r,checked:n,defaultChecked:d,onMouseDown:()=>{l(!0),c(!1)},onMouseUp:()=>{l(!1),c(!1)},onMouseLeave:()=>{r&&(l(!1),c(!0))},onCheckedChange:u=>{m||(n===void 0&&p(u),a?.(u))},className:e("relative shadow-inner ring ring-black/5 inline-flex shrink-0 items-center rounded-full outline-none cursor-pointer","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[0.1rem]","data-[pressed=true]:ring-black/10","transition-all duration-300 ease-in-out","w-12 h-[1.65rem]","data-[state=checked]:bg-accent","data-[state=unchecked]:bg-neutral-500/100","data-[state=checked]:data-[pressed=true]:bg-accent/80","data-[state=unchecked]:data-[pressed=true]:bg-neutral-500/50",t),...h,children:s(o.Thumb,{"data-slot":"switch-thumb","data-pressed":r,className:e("absolute flex items-center justify-center bg-background pointer-events-none left-0 rounded-full","transition-all duration-200 ease-in-out","w-[1.3rem] h-[1.3rem]","data-[pressed=true]:w-[1.7rem]","data-[pressed=true]:h-[1.1rem]","translate-x-[0.2rem]","data-[state=checked]:translate-x-[1.5rem]","data-[state=checked]:data-[pressed=true]:translate-x-[1.1rem]","data-[state=checked]:data-[pressed=true]:left-[-0.15rem]","data-[state=unchecked]:data-[pressed=true]:left-[0.15rem]"),children:s(w,{isChecked:g,isPressed:r})})})}var w=({isChecked:t,isPressed:a})=>x("svg",{viewBox:"0 0 20 20",className:e("inline-flex w-fit items-center justify-center","transition-all duration-100 ease-in-out",a?"fill-neutral-500/50":t?"fill-accent-foreground":"fill-neutral-500"),children:[s("rect",{x:"4",y:"8.5",height:"3",className:e("origin-center transition-all duration-100 ease-in-out",a?"rotate-0 translate-x-[0.2rem] translate-y-[0.05rem] w-1.5 h-0.5":t?"rotate-45 w-[6px] -translate-x-[1px] translate-y-1":"rotate-45 w-[12px] translate-x-0 translate-y-0")}),s("rect",{x:"4",y:"8.5",height:"3",className:e("origin-center transition-all duration-100 ease-in-out",a?"rotate-0 translate-x-[0.2rem] translate-y-[0.05rem] w-1.5 h-0.5":t?"-rotate-45 w-[11px] translate-x-[1.5px] translate-y-0":"-rotate-45 w-[12px] translate-x-0 translate-y-0")})]});export{S as a};
4
+ import{a as e}from"./chunk-TSEOL53Y.mjs";import*as i from"react";import*as o from"@radix-ui/react-switch";import{jsx as s,jsxs as x}from"react/jsx-runtime";function S({className:t,onCheckedChange:a,checked:n,defaultChecked:d,...h}){let[r,l]=i.useState(!1),[m,c]=i.useState(!1),[f,p]=i.useState(d||!1),g=n!==void 0?n:f;return s(o.Root,{"data-slot":"switch","data-pressed":r,checked:n,defaultChecked:d,onMouseDown:()=>{l(!0),c(!1)},onMouseUp:()=>{l(!1),c(!1)},onMouseLeave:()=>{r&&(l(!1),c(!0))},onCheckedChange:u=>{m||(n===void 0&&p(u),a?.(u))},className:e("relative shadow-inner ring ring-black/5 inline-flex shrink-0 items-center rounded-full outline-none cursor-pointer","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[0.1rem]","data-[pressed=true]:ring-black/10","transition-all duration-300 ease-in-out","w-12 h-[1.65rem]","data-[state=checked]:bg-accent","data-[state=unchecked]:bg-neutral-500/100","data-[state=checked]:data-[pressed=true]:bg-accent/80","data-[state=unchecked]:data-[pressed=true]:bg-neutral-500/50",t),...h,children:s(o.Thumb,{"data-slot":"switch-thumb","data-pressed":r,className:e("absolute flex items-center justify-center bg-background pointer-events-none left-0 rounded-full","transition-all duration-200 ease-in-out","w-[1.3rem] h-[1.3rem]","data-[pressed=true]:w-[1.7rem]","data-[pressed=true]:h-[1.1rem]","translate-x-[0.2rem]","data-[state=checked]:translate-x-[1.5rem]","data-[state=checked]:data-[pressed=true]:translate-x-[1.1rem]","data-[state=checked]:data-[pressed=true]:left-[-0.15rem]","data-[state=unchecked]:data-[pressed=true]:left-[0.15rem]"),children:s(w,{isChecked:g,isPressed:r})})})}var w=({isChecked:t,isPressed:a})=>x("svg",{viewBox:"0 0 20 20",className:e("inline-flex w-fit items-center justify-center","transition-all duration-100 ease-in-out",a?"fill-neutral-500/50":t?"fill-accent-foreground":"fill-neutral-500"),children:[s("rect",{x:"4",y:"8.5",height:"3",className:e("origin-center transition-all duration-100 ease-in-out",a?"rotate-0 translate-x-[0.2rem] translate-y-[0.05rem] w-1.5 h-0.5":t?"rotate-45 w-[6px] -translate-x-[1px] translate-y-1":"rotate-45 w-[12px] translate-x-0 translate-y-0")}),s("rect",{x:"4",y:"8.5",height:"3",className:e("origin-center transition-all duration-100 ease-in-out",a?"rotate-0 translate-x-[0.2rem] translate-y-[0.05rem] w-1.5 h-0.5":t?"-rotate-45 w-[11px] translate-x-[1.5px] translate-y-0":"-rotate-45 w-[12px] translate-x-0 translate-y-0")})]});export{S as a};
@@ -1 +1 @@
1
- import{a as m}from"./chunk-PDY7JYY3.mjs";import{a as i}from"./chunk-L3BLBPSR.mjs";import{a as r}from"./chunk-MDJREBVI.mjs";import{jsx as n,jsxs as d}from"react/jsx-runtime";function u({isMenuOpen:e,logoLight:o,logoDark:t,menuItems:a,className:p,wide:l,themeControl:s=!1}){return d("div",{className:r("fixed top-0 left-0 right-0 z-50",p),children:[n(i,{isMenuOpen:e,logoLight:o,logoDark:t,menuItems:a,themeControl:s,wide:l}),n(m,{isMenuOpen:e,logoLight:o,logoDark:t,menuItems:a})]})}export{u as a};
1
+ import{a as m}from"./chunk-PUAHE5VJ.mjs";import{a as i}from"./chunk-7RKPUKFH.mjs";import{a as r}from"./chunk-TSEOL53Y.mjs";import{jsx as n,jsxs as d}from"react/jsx-runtime";function u({isMenuOpen:e,logoLight:o,logoDark:t,menuItems:a,className:p,wide:l,themeControl:s=!1}){return d("div",{className:r("fixed top-0 left-0 right-0 z-50",p),children:[n(i,{isMenuOpen:e,logoLight:o,logoDark:t,menuItems:a,themeControl:s,wide:l}),n(m,{isMenuOpen:e,logoLight:o,logoDark:t,menuItems:a})]})}export{u as a};
@@ -1 +1 @@
1
- import{a as i,b as r,c as n,e as o}from"./chunk-YO3GQYRJ.mjs";import{Users as g,FileText as u,Lightbulb as f,PoundSterling as h,User as d,Users2 as v}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function y({teamMembers:l={leadership:[{role:"CTO oversight"},{role:"Senior Delivery Lead",isFTE:!0}],core:[{role:"Lead Cloud Architect",isFTE:!0},{role:"Senior Business Analyst",isFTE:!0}],sme:["Security Architecture","Engineering","Data Architecture"]},outputs:m=[{title:"Discovery Report",description:"A detailed report summarising the findings from the initial assessment, including insights from stakeholder interviews and document reviews."},{title:"Cloud and Data Estate Assessment Report",description:"A comprehensive analysis of the current cloud and data infrastructure, highlighting strengths, weaknesses, and opportunities for improvement."},{title:"Gap Analysis Report",description:"Identification of gaps between current capabilities and the requirements for adopting GenAI, along with a detailed analysis of these gaps."},{title:"Recommendations Report",description:"A set of actionable recommendations for enhancing the cloud infrastructure, data management practices, and operating model."},{title:"Implementation Roadmap",description:"A phased roadmap outlining the steps to implement the recommended changes, including timelines, milestones, and prioritisation of initiatives."},{title:"Risk Management Plan",description:"A detailed plan outlining potential risks and mitigation strategies to ensure a smooth transition."}],benefits:c=["Strategic Alignment: Ensures that the adoption of GenAI aligns with the overall business strategy and objectives.","Enhanced Efficiency: Optimises cloud and data operations, leading to improved performance and cost savings.","Risk Mitigation: Identifies potential risks early and provides strategies to mitigate them, ensuring a smooth transition.","Scalability: Prepares the organisation for future growth and scalability by enhancing the underlying technology infrastructure.","Competitive Advantage: Positions the organisation to leverage Generative AI effectively, providing a competitive edge in the market."],fee:p="\xA3150,000 for delivery of listed outputs"}){return t("div",{className:"grid gap-6 lg:grid-cols-3",children:[t("div",{className:"lg:col-span-1 space-y-6 flex flex-col",children:[t(i,{className:"flex-grow",children:[e(r,{className:"bg-primary text-primary-foreground",children:t(n,{className:"flex items-center gap-2",children:[e(g,{className:"h-5 w-5"}),"Team"]})}),t(o,{className:"p-6",children:[e("p",{className:"mb-6 text-sm text-muted-foreground",children:"A small team of highly-skilled consultants with significant Cloud, Data and AI experience will execute this phase:"}),t("div",{className:"space-y-6",children:[e("div",{className:"space-y-2",children:l.leadership.map((a,s)=>t("div",{className:"flex items-center justify-between",children:[t("div",{className:"flex items-center gap-2",children:[e(d,{className:"h-4 w-4 text-muted-foreground"}),e("span",{children:a.role})]}),a.isFTE&&e("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},s))}),e("div",{className:"space-y-2",children:l.core.map((a,s)=>t("div",{className:"flex items-center justify-between",children:[t("div",{className:"flex items-center gap-2",children:[e(d,{className:"h-4 w-4 text-muted-foreground"}),e("span",{children:a.role}),a.count&&t("span",{children:["(",a.count,"x)"]})]}),a.isFTE&&e("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},s))}),t("div",{children:[t("div",{className:"flex items-center gap-2 mb-2",children:[e(v,{className:"h-4 w-4 text-muted-foreground"}),e("span",{children:"SME input:"})]}),e("div",{className:"ml-6 text-sm text-muted-foreground",children:l.sme.join(", ")})]})]})]})]}),t(i,{children:[e(r,{className:"bg-primary text-primary-foreground",children:t(n,{className:"flex items-center gap-2",children:[e(h,{className:"h-5 w-5"}),"Fee"]})}),e(o,{className:"p-6",children:e("p",{className:"text-lg font-semibold",children:p})})]})]}),t(i,{className:"lg:col-span-1 flex flex-col",children:[e(r,{className:"bg-primary text-primary-foreground",children:t(n,{className:"flex items-center gap-2",children:[e(u,{className:"h-5 w-5"}),"Outputs"]})}),t(o,{className:"p-6 flex-grow overflow-auto",children:[e("ol",{className:"list-decimal list-inside space-y-4",children:m.map((a,s)=>t("li",{className:"text-sm",children:[t("span",{className:"font-medium",children:[a.title,":"]})," ",e("span",{className:"text-muted-foreground",children:a.description})]},s))}),e("p",{className:"mt-6 text-sm italic text-muted-foreground",children:"Delivered within 8 weeks from start date of engagement."})]})]}),t(i,{className:"lg:col-span-1 flex flex-col",children:[e(r,{className:"bg-primary text-primary-foreground",children:t(n,{className:"flex items-center gap-2",children:[e(f,{className:"h-5 w-5"}),"Benefits"]})}),e(o,{className:"p-6 flex-grow overflow-auto",children:e("ul",{className:"space-y-4",children:c.map((a,s)=>t("li",{className:"flex gap-2 text-sm",children:[e("span",{className:"text-primary",children:"\u2713"}),e("span",{children:a})]},s))})})]})]})}export{y as a};
1
+ import{a as i,b as r,c as n,e as o}from"./chunk-7WKUKFCT.mjs";import{Users as g,FileText as u,Lightbulb as f,PoundSterling as h,User as d,Users2 as v}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function y({teamMembers:l={leadership:[{role:"CTO oversight"},{role:"Senior Delivery Lead",isFTE:!0}],core:[{role:"Lead Cloud Architect",isFTE:!0},{role:"Senior Business Analyst",isFTE:!0}],sme:["Security Architecture","Engineering","Data Architecture"]},outputs:m=[{title:"Discovery Report",description:"A detailed report summarising the findings from the initial assessment, including insights from stakeholder interviews and document reviews."},{title:"Cloud and Data Estate Assessment Report",description:"A comprehensive analysis of the current cloud and data infrastructure, highlighting strengths, weaknesses, and opportunities for improvement."},{title:"Gap Analysis Report",description:"Identification of gaps between current capabilities and the requirements for adopting GenAI, along with a detailed analysis of these gaps."},{title:"Recommendations Report",description:"A set of actionable recommendations for enhancing the cloud infrastructure, data management practices, and operating model."},{title:"Implementation Roadmap",description:"A phased roadmap outlining the steps to implement the recommended changes, including timelines, milestones, and prioritisation of initiatives."},{title:"Risk Management Plan",description:"A detailed plan outlining potential risks and mitigation strategies to ensure a smooth transition."}],benefits:c=["Strategic Alignment: Ensures that the adoption of GenAI aligns with the overall business strategy and objectives.","Enhanced Efficiency: Optimises cloud and data operations, leading to improved performance and cost savings.","Risk Mitigation: Identifies potential risks early and provides strategies to mitigate them, ensuring a smooth transition.","Scalability: Prepares the organisation for future growth and scalability by enhancing the underlying technology infrastructure.","Competitive Advantage: Positions the organisation to leverage Generative AI effectively, providing a competitive edge in the market."],fee:p="\xA3150,000 for delivery of listed outputs"}){return t("div",{className:"grid gap-6 lg:grid-cols-3",children:[t("div",{className:"lg:col-span-1 space-y-6 flex flex-col",children:[t(i,{className:"flex-grow",children:[e(r,{className:"bg-primary text-primary-foreground",children:t(n,{className:"flex items-center gap-2",children:[e(g,{className:"h-5 w-5"}),"Team"]})}),t(o,{className:"p-6",children:[e("p",{className:"mb-6 text-sm text-muted-foreground",children:"A small team of highly-skilled consultants with significant Cloud, Data and AI experience will execute this phase:"}),t("div",{className:"space-y-6",children:[e("div",{className:"space-y-2",children:l.leadership.map((a,s)=>t("div",{className:"flex items-center justify-between",children:[t("div",{className:"flex items-center gap-2",children:[e(d,{className:"h-4 w-4 text-muted-foreground"}),e("span",{children:a.role})]}),a.isFTE&&e("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},s))}),e("div",{className:"space-y-2",children:l.core.map((a,s)=>t("div",{className:"flex items-center justify-between",children:[t("div",{className:"flex items-center gap-2",children:[e(d,{className:"h-4 w-4 text-muted-foreground"}),e("span",{children:a.role}),a.count&&t("span",{children:["(",a.count,"x)"]})]}),a.isFTE&&e("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},s))}),t("div",{children:[t("div",{className:"flex items-center gap-2 mb-2",children:[e(v,{className:"h-4 w-4 text-muted-foreground"}),e("span",{children:"SME input:"})]}),e("div",{className:"ml-6 text-sm text-muted-foreground",children:l.sme.join(", ")})]})]})]})]}),t(i,{children:[e(r,{className:"bg-primary text-primary-foreground",children:t(n,{className:"flex items-center gap-2",children:[e(h,{className:"h-5 w-5"}),"Fee"]})}),e(o,{className:"p-6",children:e("p",{className:"text-lg font-semibold",children:p})})]})]}),t(i,{className:"lg:col-span-1 flex flex-col",children:[e(r,{className:"bg-primary text-primary-foreground",children:t(n,{className:"flex items-center gap-2",children:[e(u,{className:"h-5 w-5"}),"Outputs"]})}),t(o,{className:"p-6 flex-grow overflow-auto",children:[e("ol",{className:"list-decimal list-inside space-y-4",children:m.map((a,s)=>t("li",{className:"text-sm",children:[t("span",{className:"font-medium",children:[a.title,":"]})," ",e("span",{className:"text-muted-foreground",children:a.description})]},s))}),e("p",{className:"mt-6 text-sm italic text-muted-foreground",children:"Delivered within 8 weeks from start date of engagement."})]})]}),t(i,{className:"lg:col-span-1 flex flex-col",children:[e(r,{className:"bg-primary text-primary-foreground",children:t(n,{className:"flex items-center gap-2",children:[e(f,{className:"h-5 w-5"}),"Benefits"]})}),e(o,{className:"p-6 flex-grow overflow-auto",children:e("ul",{className:"space-y-4",children:c.map((a,s)=>t("li",{className:"flex gap-2 text-sm",children:[e("span",{className:"text-primary",children:"\u2713"}),e("span",{children:a})]},s))})})]})]})}export{y as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a}from"./chunk-MDJREBVI.mjs";import*as e from"@radix-ui/react-select";import{Check as f,ChevronDown as n,ChevronUp as S}from"lucide-react";import*as l from"react";import{jsx as t,jsxs as m}from"react/jsx-runtime";var h=e.Root,N=e.Group,b=e.Value,u=l.forwardRef(({children:o,className:r,...i},c)=>m(e.Trigger,{className:a("flex h-10 w-full items-center justify-between rounded border border-input bg-background px-3 py-2 text-inherit ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",r),ref:c,...i,children:[o,t(e.Icon,{asChild:!0,children:t(n,{className:"h-4 w-4 opacity-50"})})]}));u.displayName=e.Trigger.displayName;var s=l.forwardRef(({className:o,...r},i)=>t(e.ScrollUpButton,{className:a("flex cursor-default items-center justify-center py-1",o),ref:i,...r,children:t(S,{className:"h-4 w-4"})}));s.displayName=e.ScrollUpButton.displayName;var p=l.forwardRef(({className:o,...r},i)=>t(e.ScrollDownButton,{className:a("flex cursor-default items-center justify-center py-1",o),ref:i,...r,children:t(n,{className:"h-4 w-4"})}));p.displayName=e.ScrollDownButton.displayName;var v=l.forwardRef(({children:o,className:r,position:i="popper",...c},d)=>t(e.Portal,{children:m(e.Content,{className:a("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded border bg-card text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",i==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",r),position:i,ref:d,...c,children:[t(s,{}),t(e.Viewport,{className:a("p-1",i==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:o}),t(p,{})]})}));v.displayName=e.Content.displayName;var P=l.forwardRef(({className:o,...r},i)=>t(e.Label,{className:a("py-1.5 pl-8 pr-2 text-sm font-semibold",o),ref:i,...r}));P.displayName=e.Label.displayName;var R=l.forwardRef(({children:o,className:r,...i},c)=>m(e.Item,{className:a("relative flex w-full cursor-default select-none items-center rounded py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r),ref:c,...i,children:[t("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:t(e.ItemIndicator,{children:t(f,{className:"h-4 w-4"})})}),t(e.ItemText,{children:o})]}));R.displayName=e.Item.displayName;var y=l.forwardRef(({className:o,...r},i)=>t(e.Separator,{className:a("-mx-1 my-1 h-px bg-muted",o),ref:i,...r}));y.displayName=e.Separator.displayName;export{h as a,N as b,b as c,u as d,s as e,p as f,v as g,P as h,R as i,y as j};
4
+ import{a}from"./chunk-TSEOL53Y.mjs";import*as e from"@radix-ui/react-select";import{Check as f,ChevronDown as n,ChevronUp as S}from"lucide-react";import*as l from"react";import{jsx as t,jsxs as m}from"react/jsx-runtime";var h=e.Root,N=e.Group,b=e.Value,u=l.forwardRef(({children:o,className:r,...i},c)=>m(e.Trigger,{className:a("flex h-10 w-full items-center justify-between rounded border border-input bg-background px-3 py-2 text-inherit ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",r),ref:c,...i,children:[o,t(e.Icon,{asChild:!0,children:t(n,{className:"h-4 w-4 opacity-50"})})]}));u.displayName=e.Trigger.displayName;var s=l.forwardRef(({className:o,...r},i)=>t(e.ScrollUpButton,{className:a("flex cursor-default items-center justify-center py-1",o),ref:i,...r,children:t(S,{className:"h-4 w-4"})}));s.displayName=e.ScrollUpButton.displayName;var p=l.forwardRef(({className:o,...r},i)=>t(e.ScrollDownButton,{className:a("flex cursor-default items-center justify-center py-1",o),ref:i,...r,children:t(n,{className:"h-4 w-4"})}));p.displayName=e.ScrollDownButton.displayName;var v=l.forwardRef(({children:o,className:r,position:i="popper",...c},d)=>t(e.Portal,{children:m(e.Content,{className:a("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded border bg-card text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",i==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",r),position:i,ref:d,...c,children:[t(s,{}),t(e.Viewport,{className:a("p-1",i==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:o}),t(p,{})]})}));v.displayName=e.Content.displayName;var P=l.forwardRef(({className:o,...r},i)=>t(e.Label,{className:a("py-1.5 pl-8 pr-2 text-sm font-semibold",o),ref:i,...r}));P.displayName=e.Label.displayName;var R=l.forwardRef(({children:o,className:r,...i},c)=>m(e.Item,{className:a("relative flex w-full cursor-default select-none items-center rounded py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r),ref:c,...i,children:[t("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:t(e.ItemIndicator,{children:t(f,{className:"h-4 w-4"})})}),t(e.ItemText,{children:o})]}));R.displayName=e.Item.displayName;var y=l.forwardRef(({className:o,...r},i)=>t(e.Separator,{className:a("-mx-1 my-1 h-px bg-muted",o),ref:i,...r}));y.displayName=e.Separator.displayName;export{h as a,N as b,b as c,u as d,s as e,p as f,v as g,P as h,R as i,y as j};
@@ -1 +1 @@
1
- import{a as s}from"./chunk-AEBUMA72.mjs";import{a as e}from"./chunk-OM5ZUHCN.mjs";import{a as r}from"./chunk-FMH5CZ7X.mjs";import{a as o}from"./chunk-FMJBJ3HN.mjs";import{jsx as t,jsxs as m}from"react/jsx-runtime";function c({blogs:n,pages:g,categories:p,types:i,base:a}){return t("section",{children:t(o,{children:t("div",{className:"grid",children:m("div",{children:[i&&t(e,{types:i}),t(s,{blogs:n,base:a}),t(r,{pages:g})]})})})})}export{c as a};
1
+ import{a as s}from"./chunk-AEBUMA72.mjs";import{a as e}from"./chunk-RU435LAU.mjs";import{a as r}from"./chunk-VRZHKAJK.mjs";import{a as o}from"./chunk-TNCD5YIY.mjs";import{jsx as t,jsxs as m}from"react/jsx-runtime";function c({blogs:n,pages:g,categories:p,types:i,base:a}){return t("section",{children:t(o,{children:t("div",{className:"grid",children:m("div",{children:[i&&t(e,{types:i}),t(s,{blogs:n,base:a}),t(r,{pages:g})]})})})})}export{c as a};
@@ -1 +1 @@
1
- import{a as r}from"./chunk-Z22NSJMF.mjs";import{a as l}from"./chunk-ZXPDSSCF.mjs";import{useState as u}from"react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function p({documents:a=[],contexts:d=[],onDocumentClick:i=o=>console.log("Document clicked:",o),onDocumentShare:m=o=>console.log("Share document:",o),onLoadDocumentContent:g,selectedDocumentId:c}){let[o,s]=u(d[0]);return!d||d.length===0?t("div",{className:"flex flex-col h-full max-h-[calc(100vh-8rem)]",children:[e("div",{className:"px-2 md:px-4 py-4 flex-shrink-0",children:e(r,{title:"Knowledge",description:"Access, manage, and share all your team knowledge in one place.",gradient:"bg-gradient-to-r from-teal-600 via-cyan-600 to-blue-600",primaryAction:{label:"Create",onClick:()=>console.log("Create document clicked")}})}),e("div",{className:"flex-1 min-h-0 px-2 md:px-4 pb-4 flex items-center justify-center",children:e("p",{className:"text-muted-foreground",children:"No contexts available"})})]}):t("div",{className:"flex flex-col h-full max-h-[calc(100vh-8rem)]",children:[t("div",{className:"px-2 md:px-4 py-4 flex-shrink-0",children:[e(r,{title:"Knowledge",description:"Access, manage, and share all your team knowledge in one place.",gradient:"bg-gradient-to-r from-teal-600 via-cyan-600 to-blue-600",primaryAction:{label:"Create",onClick:()=>console.log("Create document clicked")}}),t("div",{className:"mt-6",children:[e("div",{className:"border-b border-border",children:e("nav",{className:"-mb-px flex space-x-8 overflow-x-auto",children:d.map(n=>t("button",{onClick:()=>s(n),className:`group inline-flex items-center gap-2 py-3 px-1 border-b-2 font-medium text-sm whitespace-nowrap transition-colors ${o.id===n.id?"border-primary text-primary":"border-transparent text-muted-foreground hover:text-foreground hover:border-muted-foreground"}`,children:[n.icon,n.label]},n.id))})}),o.description&&e("div",{className:"mt-3 px-1",children:e("p",{className:"text-sm text-muted-foreground",children:o.description})})]})]}),e("div",{className:"flex-1 min-h-0 px-2 md:px-4 pb-4",children:e("div",{className:"h-full rounded-3xl border overflow-hidden",children:e(l,{documents:a,menuConfig:o.menuConfig,onDocumentClick:i,onDocumentShare:m,selectedDocumentId:c})})})]})}export{p as a};
1
+ import{a as r}from"./chunk-BM2ZNFM6.mjs";import{a as l}from"./chunk-UBCJPXKD.mjs";import{useState as u}from"react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function p({documents:a=[],contexts:d=[],onDocumentClick:i=o=>console.log("Document clicked:",o),onDocumentShare:m=o=>console.log("Share document:",o),onLoadDocumentContent:g,selectedDocumentId:c}){let[o,s]=u(d[0]);return!d||d.length===0?t("div",{className:"flex flex-col h-full max-h-[calc(100vh-8rem)]",children:[e("div",{className:"px-2 md:px-4 py-4 flex-shrink-0",children:e(r,{title:"Knowledge",description:"Access, manage, and share all your team knowledge in one place.",gradient:"bg-gradient-to-r from-teal-600 via-cyan-600 to-blue-600",primaryAction:{label:"Create",onClick:()=>console.log("Create document clicked")}})}),e("div",{className:"flex-1 min-h-0 px-2 md:px-4 pb-4 flex items-center justify-center",children:e("p",{className:"text-muted-foreground",children:"No contexts available"})})]}):t("div",{className:"flex flex-col h-full max-h-[calc(100vh-8rem)]",children:[t("div",{className:"px-2 md:px-4 py-4 flex-shrink-0",children:[e(r,{title:"Knowledge",description:"Access, manage, and share all your team knowledge in one place.",gradient:"bg-gradient-to-r from-teal-600 via-cyan-600 to-blue-600",primaryAction:{label:"Create",onClick:()=>console.log("Create document clicked")}}),t("div",{className:"mt-6",children:[e("div",{className:"border-b border-border",children:e("nav",{className:"-mb-px flex space-x-8 overflow-x-auto",children:d.map(n=>t("button",{onClick:()=>s(n),className:`group inline-flex items-center gap-2 py-3 px-1 border-b-2 font-medium text-sm whitespace-nowrap transition-colors ${o.id===n.id?"border-primary text-primary":"border-transparent text-muted-foreground hover:text-foreground hover:border-muted-foreground"}`,children:[n.icon,n.label]},n.id))})}),o.description&&e("div",{className:"mt-3 px-1",children:e("p",{className:"text-sm text-muted-foreground",children:o.description})})]})]}),e("div",{className:"flex-1 min-h-0 px-2 md:px-4 pb-4",children:e("div",{className:"h-full rounded-3xl border overflow-hidden",children:e(l,{documents:a,menuConfig:o.menuConfig,onDocumentClick:i,onDocumentShare:m,selectedDocumentId:c})})})]})}export{p as a};
@@ -0,0 +1,4 @@
1
+ "use client";
2
+ "use strict";
3
+
4
+ import{a as N}from"./chunk-T3NMKARZ.mjs";import{a as E,f as T}from"./chunk-BEPKJ67R.mjs";import{a as C}from"./chunk-HH4JDBUN.mjs";import{a as M}from"./chunk-GJUA2KUH.mjs";import{a as L,b as I,c as H,d as k}from"./chunk-BIAOADJS.mjs";import{b as _}from"./chunk-7Z3TOFNL.mjs";import{a as n}from"./chunk-TSEOL53Y.mjs";import{a as P}from"./chunk-FRWX5YES.mjs";import*as o from"react";import{Slot as g}from"@radix-ui/react-slot";import{cva as A}from"class-variance-authority";import{PanelLeft as O}from"lucide-react";import{jsx as r,jsxs as S}from"react/jsx-runtime";var G="sidebar:state",K=3600*24*7,V="16rem",$="18rem",U="3rem",W="b",B=o.createContext(null);function w(){let a=o.useContext(B);if(!a)throw new Error("useSidebar must be used within a SidebarProvider.");return a}var j=o.forwardRef(({defaultOpen:a=!0,open:e,onOpenChange:t,className:i,style:d,children:s,...p},m)=>{let c=P(),[u,b]=o.useState(!1),[v,D]=o.useState(a),f=e??v,h=o.useCallback(l=>{if(t)return t?.(typeof l=="function"?l(f):l);D(l),document.cookie=`${G}=${f}; path=/; max-age=${K}`},[t,f]),x=o.useCallback(()=>c?b(l=>!l):h(l=>!l),[c,h,b]);o.useEffect(()=>{let l=R=>{R.key===W&&(R.metaKey||R.ctrlKey)&&(R.preventDefault(),x())};return window.addEventListener("keydown",l),()=>window.removeEventListener("keydown",l)},[x]);let y=f?"expanded":"collapsed",z=o.useMemo(()=>({state:y,open:f,setOpen:h,isMobile:c,openMobile:u,setOpenMobile:b,toggleSidebar:x}),[y,f,h,c,u,b,x]);return r(B.Provider,{value:z,children:r(L,{delayDuration:0,children:r("div",{style:{"--sidebar-width":V,"--sidebar-width-icon":U,...d},className:n("group/sidebar-wrapper flex w-full has-[[data-variant=inset]]:bg-sidebar",i),ref:m,...p,children:s})})})});j.displayName="SidebarProvider";var q=o.forwardRef(({side:a="left",variant:e="sidebar",collapsible:t="offcanvas",className:i,children:d,...s},p)=>{let{isMobile:m,state:c,openMobile:u,setOpenMobile:b}=w();return t==="none"?r("div",{className:n("flex h-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",i),ref:p,...s,children:d}):m?r(E,{open:u,onOpenChange:b,...s,children:r(T,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":$},side:a,children:r("div",{className:"flex h-full w-full flex-col",children:d})})}):S("div",{ref:p,className:"group peer hidden md:block text-sidebar-foreground","data-state":c,"data-collapsible":c==="collapsed"?t:"","data-variant":e,"data-side":a,children:[r("div",{className:n("duration-200 relative h-svh w-[--sidebar-width] bg-transparent transition-[width] ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",e==="floating"||e==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon]")}),r("div",{className:n("duration-200 fixed top-14 bottom-0 z-10 hidden w-[--sidebar-width] transition-[left,right,width] ease-linear md:flex",a==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",e==="floating"||e==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+2px)]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",i),...s,children:r("div",{"data-sidebar":"sidebar",className:"flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow",children:d})})]})});q.displayName="Sidebar";var F=o.forwardRef(({className:a,onClick:e,...t},i)=>{let{toggleSidebar:d}=w();return S(_,{ref:i,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:n("h-7 w-7",a),onClick:s=>{e?.(s),d()},...t,children:[r(O,{}),r("span",{className:"sr-only",children:"Toggle Sidebar"})]})});F.displayName="SidebarTrigger";var X=o.forwardRef(({className:a,...e},t)=>{let{toggleSidebar:i}=w();return r("button",{ref:t,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:i,title:"Toggle Sidebar",className:n("absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","[[data-side=left]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",a),...e})});X.displayName="SidebarRail";var Y=o.forwardRef(({className:a,...e},t)=>r("main",{ref:t,className:n("flex flex-1 flex-col bg-background overflow-y-auto relative max-h-full","md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",a),...e}));Y.displayName="SidebarInset";var J=o.forwardRef(({className:a,...e},t)=>r(M,{ref:t,"data-sidebar":"input",className:n("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",a),...e}));J.displayName="SidebarInput";var Q=o.forwardRef(({className:a,...e},t)=>r("div",{ref:t,"data-sidebar":"header",className:n("flex flex-col gap-2 p-2",a),...e}));Q.displayName="SidebarHeader";var Z=o.forwardRef(({className:a,...e},t)=>r("div",{ref:t,"data-sidebar":"footer",className:n("flex flex-col gap-2 p-2",a),...e}));Z.displayName="SidebarFooter";var ee=o.forwardRef(({className:a,...e},t)=>r(N,{ref:t,"data-sidebar":"separator",className:n("mx-2 w-auto bg-sidebar-border",a),...e}));ee.displayName="SidebarSeparator";var ae=o.forwardRef(({className:a,...e},t)=>r("div",{ref:t,"data-sidebar":"content",className:n("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",a),...e}));ae.displayName="SidebarContent";var te=o.forwardRef(({className:a,...e},t)=>r("div",{ref:t,"data-sidebar":"group",className:n("relative flex w-full min-w-0 flex-col p-2",a),...e}));te.displayName="SidebarGroup";var oe=o.forwardRef(({className:a,asChild:e=!1,...t},i)=>r(e?g:"div",{ref:i,"data-sidebar":"group-label",className:n("duration-200 flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opa] ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",a),...t}));oe.displayName="SidebarGroupLabel";var re=o.forwardRef(({className:a,asChild:e=!1,...t},i)=>r(e?g:"button",{ref:i,"data-sidebar":"group-action",className:n("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","group-data-[collapsible=icon]:hidden",a),...t}));re.displayName="SidebarGroupAction";var ne=o.forwardRef(({className:a,...e},t)=>r("div",{ref:t,"data-sidebar":"group-content",className:n("w-full text-sm",a),...e}));ne.displayName="SidebarGroupContent";var ie=o.forwardRef(({className:a,...e},t)=>r("ul",{ref:t,"data-sidebar":"menu",className:n("flex w-full min-w-0 flex-col gap-1",a),...e}));ie.displayName="SidebarMenu";var de=o.forwardRef(({className:a,...e},t)=>r("li",{ref:t,"data-sidebar":"menu-item",className:n("group/menu-item relative",a),...e}));de.displayName="SidebarMenuItem";var se=A("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"default",size:"default"}}),le=o.forwardRef(({asChild:a=!1,isActive:e=!1,variant:t="default",size:i="default",tooltip:d,className:s,...p},m)=>{let c=a?g:"button",{isMobile:u,state:b}=w(),v=r(c,{ref:m,"data-sidebar":"menu-button","data-size":i,"data-active":e,className:n(se({variant:t,size:i}),s),...p});return d?(typeof d=="string"&&(d={children:d}),S(I,{children:[r(H,{asChild:!0,children:v}),r(k,{side:"right",align:"center",hidden:b!=="collapsed"||u,...d})]})):v});le.displayName="SidebarMenuButton";var ce=o.forwardRef(({className:a,asChild:e=!1,showOnHover:t=!1,...i},d)=>r(e?g:"button",{ref:d,"data-sidebar":"menu-action",className:n("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",t&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground md:opacity-0",a),...i}));ce.displayName="SidebarMenuAction";var be=o.forwardRef(({className:a,...e},t)=>r("div",{ref:t,"data-sidebar":"menu-badge",className:n("absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground select-none pointer-events-none","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",a),...e}));be.displayName="SidebarMenuBadge";var pe=o.forwardRef(({className:a,showIcon:e=!1,...t},i)=>{let d=o.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return S("div",{ref:i,"data-sidebar":"menu-skeleton",className:n("rounded-md h-8 flex gap-2 px-2 items-center",a),...t,children:[e&&r(C,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),r(C,{className:"h-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":d}})]})});pe.displayName="SidebarMenuSkeleton";var ue=o.forwardRef(({className:a,...e},t)=>r("ul",{ref:t,"data-sidebar":"menu-sub",className:n("mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",a),...e}));ue.displayName="SidebarMenuSub";var fe=o.forwardRef(({...a},e)=>r("li",{ref:e,...a}));fe.displayName="SidebarMenuSubItem";var me=o.forwardRef(({asChild:a=!1,size:e="md",isActive:t,className:i,...d},s)=>r(a?g:"a",{ref:s,"data-sidebar":"menu-sub-button","data-size":e,"data-active":t,className:n("flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-none ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",e==="sm"&&"text-xs",e==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",i),...d}));me.displayName="SidebarMenuSubButton";export{w as a,j as b,q as c,F as d,X as e,Y as f,J as g,Q as h,Z as i,ee as j,ae as k,te as l,oe as m,re as n,ne as o,ie as p,de as q,le as r,ce as s,be as t,pe as u,ue as v,fe as w,me as x};
@@ -2,4 +2,4 @@
2
2
  "use strict";
3
3
  "use client"
4
4
 
5
- import{a as O}from"./chunk-Q6VAKKW3.mjs";import{a as v,b as U,d as B}from"./chunk-ENRNRNPQ.mjs";import{a as D}from"./chunk-5BV4MHV6.mjs";import{a as I}from"./chunk-GHZ6CUY3.mjs";import{a as S}from"./chunk-2RGAV55J.mjs";import{a as T}from"./chunk-5RTGHMF3.mjs";import{a as i}from"./chunk-Z22NSJMF.mjs";import{a as F}from"./chunk-BQAK2HDY.mjs";import{a as P,b as j}from"./chunk-M25ZFLSL.mjs";import{b as u}from"./chunk-ZUA4KNIR.mjs";import{b as N}from"./chunk-CSBGSBEU.mjs";import{a as C,b as x,c as y,d as w,e as A,f as k}from"./chunk-YO3GQYRJ.mjs";import{useState as H}from"react";import{motion as oe,AnimatePresence as te}from"motion/react";import{Bot as ae}from"lucide-react";import{motion as Z}from"motion/react";import{Star as ee}from"lucide-react";import{jsx as s,jsxs as l}from"react/jsx-runtime";function f({app:a,onOpen:r,onFavorite:n,showProgress:c=!1,className:d}){return s(Z.div,{whileHover:{scale:1.02,y:-5},whileTap:{scale:.98},className:d,children:l(C,{className:"overflow-hidden rounded-3xl border-2 hover:border-primary/50 transition-all duration-300",children:[s(x,{className:"pb-2",children:l("div",{className:"flex items-center justify-between",children:[s("div",{className:"flex h-12 w-12 items-center justify-center rounded-2xl bg-muted",children:a.icon}),a.new?s(N,{className:"rounded-xl bg-amber-500",children:"New"}):s(u,{variant:"ghost",size:"icon",className:"h-8 w-8 rounded-2xl",onClick:()=>n?.(a),children:s(ee,{className:"h-4 w-4"})})]})}),l(A,{className:"pb-2",children:[s(y,{className:"text-lg",children:a.name}),s(w,{children:a.description}),c&&a.progress<100&&l("div",{className:"mt-2",children:[l("div",{className:"flex items-center justify-between text-sm",children:[s("span",{children:"Installation"}),l("span",{children:[a.progress,"%"]})]}),s(T,{value:a.progress,className:"h-2 mt-1 rounded-xl"})]})]}),s(k,{children:s(u,{variant:"secondary",className:"w-full rounded-2xl",onClick:()=>r?.(a),children:a.progress<100?"Continue Install":"Open"})})]})})}import{jsx as e,jsxs as t}from"react/jsx-runtime";function se({title:a="Digital Colleagues",businessUnits:r,projects:n,fileCount:c,teamMemberCount:d,onCreateProject:R,onOpenProject:L,sidebarItems:ie,initialColleagues:E,users:M,onColleagueAdd:V,onColleagueEdit:z,onColleagueDelete:G}){let[m,p]=H("home"),[g,Y]=H(r[0]),b=o=>{console.log("Opening app:",o.name)},h=o=>{console.log("Favoriting app:",o.name)},K=o=>{console.log("Opening file:",o.name)},le=o=>{console.log("Sharing file:",o.name)},W=o=>{console.log("Opening project:",o.name),L(o)},_=o=>{console.log("Sharing project:",o.name)},$=o=>{Y(o),console.log("Business unit changed to:",o.name)},q=()=>{console.log("Copilot clicked - navigating to chat"),p("chat")},J=o=>{console.log("Notification removed:",o)},Q=()=>{console.log("All notifications removed")},X=()=>{switch(m){case"home":return t("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[t("section",{className:"text-center py-12",children:[t("h1",{className:"text-4xl font-bold mb-4",children:["Welcome to the ",g.name," team"]}),e("p",{className:"text-xl text-muted-foreground mb-8",children:"This is your collaborative workspace for productivity and knowledge sharing."})]}),t("section",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[t("div",{className:"bg-card p-6 rounded-lg border",children:[e("h3",{className:"text-lg font-semibold mb-2",children:"Projects"}),e("p",{className:"text-3xl font-bold text-primary",children:n.length}),e("p",{className:"text-sm text-muted-foreground",children:"Active projects"})]}),t("div",{className:"bg-card p-6 rounded-lg border",children:[e("h3",{className:"text-lg font-semibold mb-2",children:"Team Members"}),e("p",{className:"text-3xl font-bold text-primary",children:d}),e("p",{className:"text-sm text-muted-foreground",children:"Collaborators"})]}),t("div",{className:"bg-card p-6 rounded-lg border",children:[e("h3",{className:"text-lg font-semibold mb-2",children:"Files"}),e("p",{className:"text-3xl font-bold text-primary",children:c}),e("p",{className:"text-sm text-muted-foreground",children:"Project files"})]})]}),e(i,{title:"Chat with your team",gradient:"bg-gradient-to-r from-pink-600 via-red-600 to-orange-600",primaryAction:{label:"Go",onClick:()=>p("chat")}})]});case"colleagues":return e(O,{initialColleagues:E,availableUsers:M,onColleagueAdd:V,onColleagueEdit:z,onColleagueDelete:G});case"chat":return t("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[t("section",{className:"text-center py-12",children:[e("h1",{className:"text-4xl font-bold mb-4",children:"Team Chat"}),t("p",{className:"text-xl text-muted-foreground mb-8",children:["Connect with your ",g.name," team members and collaborate in real-time."]})]}),e(i,{title:"Launch Full Chat Interface",description:"Access the complete chat experience with AI assistance.",gradient:"bg-gradient-to-r from-blue-600 via-purple-600 to-pink-600",primaryAction:{label:"Open Chat",onClick:()=>console.log("Open full chat interface")}})]});case"apps":return t("div",{className:"space-y-8",children:[e(i,{title:"Creative Apps Collection",description:"Discover our full suite of professional design and creative applications.",gradient:"bg-gradient-to-r from-pink-600 via-red-600 to-orange-600",primaryAction:{label:"Install Desktop App",onClick:()=>console.log("Install desktop app clicked")}}),t("section",{className:"space-y-4",children:[e("h2",{className:"text-2xl font-semibold",children:"New Releases"}),e("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4",children:v.filter(o=>o.new).map(o=>e(f,{app:o,showProgress:!0,onOpen:b,onFavorite:h},o.name))})]}),t("section",{className:"space-y-4",children:[e("h2",{className:"text-2xl font-semibold",children:"All Apps"}),e("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4",children:v.map(o=>e(f,{app:o,onOpen:b,onFavorite:h},o.name))})]})]});case"knowledge":return e(D,{});case"files":return t("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[e(i,{title:"Your Creative Files",description:"Access, manage, and share all your design files in one place.",gradient:"bg-gradient-to-r from-teal-600 via-cyan-600 to-blue-600",primaryAction:{label:"Upload Files",onClick:()=>console.log("Upload files clicked")}}),t("section",{className:"space-y-4",children:[e("div",{className:"flex items-center justify-between",children:e("h2",{className:"text-2xl font-semibold",children:"All Files"})}),e(I,{files:U,onFileClick:K})]})]});case"projects":return t("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[e(i,{title:"Project Management",description:"Organize your creative work into projects and collaborate with your team.",gradient:"bg-gradient-to-r from-purple-600 via-violet-600 to-indigo-600",primaryAction:{label:"New Project",onClick:R}}),t("section",{className:"space-y-4",children:[e("h2",{className:"text-2xl font-semibold",children:"Active Projects"}),e("div",{className:"grid grid-cols-1 gap-3 md:grid-cols-2 lg:grid-cols-3",children:n.map(o=>e(S,{project:o,onOpen:W,onShare:_},o.name))})]})]});case"learn":return t("div",{className:"space-y-8",children:[e(i,{title:"Learn & Grow",description:"Expand your creative skills with tutorials, courses, and resources.",gradient:"bg-gradient-to-r from-green-600 via-emerald-600 to-teal-600",primaryAction:{label:"Upgrade to Pro",onClick:()=>console.log("Upgrade to pro clicked")}}),t("section",{className:"space-y-4",children:[e("h2",{className:"text-2xl font-semibold",children:"Featured Tutorials"}),e("div",{className:"grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3",children:B.slice(0,3).map(o=>t("div",{className:"rounded-3xl border p-6",children:[e("h3",{className:"font-semibold mb-2",children:o.title}),e("p",{className:"text-sm text-muted-foreground mb-4",children:o.description}),t("div",{className:"flex items-center justify-between text-sm",children:[e("span",{children:o.duration}),e("span",{children:o.level})]})]},o.title))})]})]});default:return null}};return e(F,{sidebarItems:P,title:a,notifications:j,businessUnits:r,currentBusinessUnit:g,onBusinessUnitChange:$,activeTab:m,onTabChange:p,showTabs:!0,onActionClick:q,actionIcon:e(ae,{className:"mr-2 h-4 w-4"}),actionText:"Start Chat",onNotificationRemove:J,onRemoveAll:Q,children:e(te,{mode:"wait",children:e(oe.div,{className:"flex-1 h-full",initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:X()},m)})})}export{se as a};
5
+ import{a as O}from"./chunk-QXNCGSQE.mjs";import{a as v,b as U,d as B}from"./chunk-ENRNRNPQ.mjs";import{a as D}from"./chunk-WWTVAR4J.mjs";import{a as I}from"./chunk-AQIMDHFI.mjs";import{a as S}from"./chunk-5N2D3BGH.mjs";import{a as T}from"./chunk-EPDV35LO.mjs";import{a as i}from"./chunk-BM2ZNFM6.mjs";import{a as F}from"./chunk-E6IIUYQ7.mjs";import{a as P,b as j}from"./chunk-KCOLYVJX.mjs";import{b as u}from"./chunk-7Z3TOFNL.mjs";import{b as N}from"./chunk-2JKLBLDE.mjs";import{a as C,b as x,c as y,d as w,e as A,f as k}from"./chunk-7WKUKFCT.mjs";import{useState as H}from"react";import{motion as oe,AnimatePresence as te}from"motion/react";import{Bot as ae}from"lucide-react";import{motion as Z}from"motion/react";import{Star as ee}from"lucide-react";import{jsx as s,jsxs as l}from"react/jsx-runtime";function f({app:a,onOpen:r,onFavorite:n,showProgress:c=!1,className:d}){return s(Z.div,{whileHover:{scale:1.02,y:-5},whileTap:{scale:.98},className:d,children:l(C,{className:"overflow-hidden rounded-3xl border-2 hover:border-primary/50 transition-all duration-300",children:[s(x,{className:"pb-2",children:l("div",{className:"flex items-center justify-between",children:[s("div",{className:"flex h-12 w-12 items-center justify-center rounded-2xl bg-muted",children:a.icon}),a.new?s(N,{className:"rounded-xl bg-amber-500",children:"New"}):s(u,{variant:"ghost",size:"icon",className:"h-8 w-8 rounded-2xl",onClick:()=>n?.(a),children:s(ee,{className:"h-4 w-4"})})]})}),l(A,{className:"pb-2",children:[s(y,{className:"text-lg",children:a.name}),s(w,{children:a.description}),c&&a.progress<100&&l("div",{className:"mt-2",children:[l("div",{className:"flex items-center justify-between text-sm",children:[s("span",{children:"Installation"}),l("span",{children:[a.progress,"%"]})]}),s(T,{value:a.progress,className:"h-2 mt-1 rounded-xl"})]})]}),s(k,{children:s(u,{variant:"secondary",className:"w-full rounded-2xl",onClick:()=>r?.(a),children:a.progress<100?"Continue Install":"Open"})})]})})}import{jsx as e,jsxs as t}from"react/jsx-runtime";function se({title:a="Digital Colleagues",businessUnits:r,projects:n,fileCount:c,teamMemberCount:d,onCreateProject:R,onOpenProject:L,sidebarItems:ie,initialColleagues:E,users:M,onColleagueAdd:V,onColleagueEdit:z,onColleagueDelete:G}){let[m,p]=H("home"),[g,Y]=H(r[0]),b=o=>{console.log("Opening app:",o.name)},h=o=>{console.log("Favoriting app:",o.name)},K=o=>{console.log("Opening file:",o.name)},le=o=>{console.log("Sharing file:",o.name)},W=o=>{console.log("Opening project:",o.name),L(o)},_=o=>{console.log("Sharing project:",o.name)},$=o=>{Y(o),console.log("Business unit changed to:",o.name)},q=()=>{console.log("Copilot clicked - navigating to chat"),p("chat")},J=o=>{console.log("Notification removed:",o)},Q=()=>{console.log("All notifications removed")},X=()=>{switch(m){case"home":return t("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[t("section",{className:"text-center py-12",children:[t("h1",{className:"text-4xl font-bold mb-4",children:["Welcome to the ",g.name," team"]}),e("p",{className:"text-xl text-muted-foreground mb-8",children:"This is your collaborative workspace for productivity and knowledge sharing."})]}),t("section",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[t("div",{className:"bg-card p-6 rounded-lg border",children:[e("h3",{className:"text-lg font-semibold mb-2",children:"Projects"}),e("p",{className:"text-3xl font-bold text-primary",children:n.length}),e("p",{className:"text-sm text-muted-foreground",children:"Active projects"})]}),t("div",{className:"bg-card p-6 rounded-lg border",children:[e("h3",{className:"text-lg font-semibold mb-2",children:"Team Members"}),e("p",{className:"text-3xl font-bold text-primary",children:d}),e("p",{className:"text-sm text-muted-foreground",children:"Collaborators"})]}),t("div",{className:"bg-card p-6 rounded-lg border",children:[e("h3",{className:"text-lg font-semibold mb-2",children:"Files"}),e("p",{className:"text-3xl font-bold text-primary",children:c}),e("p",{className:"text-sm text-muted-foreground",children:"Project files"})]})]}),e(i,{title:"Chat with your team",gradient:"bg-gradient-to-r from-pink-600 via-red-600 to-orange-600",primaryAction:{label:"Go",onClick:()=>p("chat")}})]});case"colleagues":return e(O,{initialColleagues:E,availableUsers:M,onColleagueAdd:V,onColleagueEdit:z,onColleagueDelete:G});case"chat":return t("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[t("section",{className:"text-center py-12",children:[e("h1",{className:"text-4xl font-bold mb-4",children:"Team Chat"}),t("p",{className:"text-xl text-muted-foreground mb-8",children:["Connect with your ",g.name," team members and collaborate in real-time."]})]}),e(i,{title:"Launch Full Chat Interface",description:"Access the complete chat experience with AI assistance.",gradient:"bg-gradient-to-r from-blue-600 via-purple-600 to-pink-600",primaryAction:{label:"Open Chat",onClick:()=>console.log("Open full chat interface")}})]});case"apps":return t("div",{className:"space-y-8",children:[e(i,{title:"Creative Apps Collection",description:"Discover our full suite of professional design and creative applications.",gradient:"bg-gradient-to-r from-pink-600 via-red-600 to-orange-600",primaryAction:{label:"Install Desktop App",onClick:()=>console.log("Install desktop app clicked")}}),t("section",{className:"space-y-4",children:[e("h2",{className:"text-2xl font-semibold",children:"New Releases"}),e("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4",children:v.filter(o=>o.new).map(o=>e(f,{app:o,showProgress:!0,onOpen:b,onFavorite:h},o.name))})]}),t("section",{className:"space-y-4",children:[e("h2",{className:"text-2xl font-semibold",children:"All Apps"}),e("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4",children:v.map(o=>e(f,{app:o,onOpen:b,onFavorite:h},o.name))})]})]});case"knowledge":return e(D,{});case"files":return t("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[e(i,{title:"Your Creative Files",description:"Access, manage, and share all your design files in one place.",gradient:"bg-gradient-to-r from-teal-600 via-cyan-600 to-blue-600",primaryAction:{label:"Upload Files",onClick:()=>console.log("Upload files clicked")}}),t("section",{className:"space-y-4",children:[e("div",{className:"flex items-center justify-between",children:e("h2",{className:"text-2xl font-semibold",children:"All Files"})}),e(I,{files:U,onFileClick:K})]})]});case"projects":return t("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[e(i,{title:"Project Management",description:"Organize your creative work into projects and collaborate with your team.",gradient:"bg-gradient-to-r from-purple-600 via-violet-600 to-indigo-600",primaryAction:{label:"New Project",onClick:R}}),t("section",{className:"space-y-4",children:[e("h2",{className:"text-2xl font-semibold",children:"Active Projects"}),e("div",{className:"grid grid-cols-1 gap-3 md:grid-cols-2 lg:grid-cols-3",children:n.map(o=>e(S,{project:o,onOpen:W,onShare:_},o.name))})]})]});case"learn":return t("div",{className:"space-y-8",children:[e(i,{title:"Learn & Grow",description:"Expand your creative skills with tutorials, courses, and resources.",gradient:"bg-gradient-to-r from-green-600 via-emerald-600 to-teal-600",primaryAction:{label:"Upgrade to Pro",onClick:()=>console.log("Upgrade to pro clicked")}}),t("section",{className:"space-y-4",children:[e("h2",{className:"text-2xl font-semibold",children:"Featured Tutorials"}),e("div",{className:"grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3",children:B.slice(0,3).map(o=>t("div",{className:"rounded-3xl border p-6",children:[e("h3",{className:"font-semibold mb-2",children:o.title}),e("p",{className:"text-sm text-muted-foreground mb-4",children:o.description}),t("div",{className:"flex items-center justify-between text-sm",children:[e("span",{children:o.duration}),e("span",{children:o.level})]})]},o.title))})]})]});default:return null}};return e(F,{sidebarItems:P,title:a,notifications:j,businessUnits:r,currentBusinessUnit:g,onBusinessUnitChange:$,activeTab:m,onTabChange:p,showTabs:!0,onActionClick:q,actionIcon:e(ae,{className:"mr-2 h-4 w-4"}),actionText:"Start Chat",onNotificationRemove:J,onRemoveAll:Q,children:e(te,{mode:"wait",children:e(oe.div,{className:"flex-1 h-full",initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:X()},m)})})}export{se as a};
@@ -1 +1 @@
1
- import{a as o,e as a}from"./chunk-YO3GQYRJ.mjs";import n from"next/image";import s from"next/link";import{jsx as r,jsxs as l}from"react/jsx-runtime";function c({name:t,logo:e,href:i}){return r(o,{className:"w-full max-w-sm overflow-hidden transition-all duration-300 ring-0 hover:shadow-lg group",children:l(s,{href:i,className:"block",children:[r("div",{className:"bg-white p-2 flex items-center justify-center h-24",children:r("div",{className:"relative w-full h-full",children:e&&r(n,{src:e,alt:`${t} logo`,layout:"fill",objectFit:"contain"})})}),r(a,{className:"p-3 flex items-center justify-center h-18 bg-gradient-to-br from-gray-900 via-brand-one to-gray-900",children:r("p",{className:"font-medium text-lg text-white text-center group-hover:scale-105 transition-transform duration-200 ease-in-out",children:t})})]})})}export{c as a};
1
+ import{a as o,e as a}from"./chunk-7WKUKFCT.mjs";import n from"next/image";import s from"next/link";import{jsx as r,jsxs as l}from"react/jsx-runtime";function c({name:t,logo:e,href:i}){return r(o,{className:"w-full max-w-sm overflow-hidden transition-all duration-300 ring-0 hover:shadow-lg group",children:l(s,{href:i,className:"block",children:[r("div",{className:"bg-white p-2 flex items-center justify-center h-24",children:r("div",{className:"relative w-full h-full",children:e&&r(n,{src:e,alt:`${t} logo`,layout:"fill",objectFit:"contain"})})}),r(a,{className:"p-3 flex items-center justify-center h-18 bg-gradient-to-br from-gray-900 via-brand-one to-gray-900",children:r("p",{className:"font-medium text-lg text-white text-center group-hover:scale-105 transition-transform duration-200 ease-in-out",children:t})})]})})}export{c as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as g,b as N,c as M}from"./chunk-YNCJATT7.mjs";import{c as k,h as R,i as v,k as S,l as f,o as x,p as u,q as c,r as y,s as w,v as P,w as B,x as L}from"./chunk-ZFUP5NVF.mjs";import{a as n}from"./chunk-7GSXNSLD.mjs";import{ChevronRight as A}from"lucide-react";import T from"clsx";import{Fragment as H,jsx as e,jsxs as r}from"react/jsx-runtime";function J({mainNav:l,secondaryNav:s,title:o,subTitle:a,pathName:b,menuHeading:i,onNavClick:d,loading:p=!1,LinkComponent:h,...F}){let C=h?t=>e(h,{...t}):d?({href:t,children:m,...I})=>e("button",{onClick:()=>d&&d(t),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...I,children:m}):t=>e("a",{...t});return r(k,{...F,variant:"inset",children:[e(R,{children:e(u,{children:e(c,{children:p?r("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[e(n,{className:"bg-gray-200 my-2 w-full h-7"}),e(n,{className:"bg-gray-200 w-3/4 my-2 h-5"})]}):r("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[e("span",{className:"truncate font-semibold",children:o}),a&&e("span",{className:"truncate text-sm",children:a})]})})})}),p&&r(S,{children:[e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"})]}),r(S,{children:[l&&!p&&l.map((t,m)=>e(G,{subNav:t,pathName:b,Link:C},m)),e(f,{className:"mt-auto",children:e(x,{children:e(u,{children:s&&!p&&s.map(t=>e(c,{children:e(y,{asChild:!0,size:"sm",children:r(C,{href:t.url||"",children:[t.icon&&e(t.icon,{}),e("span",{children:t.label})]})})},t.label))})})})]}),e(v,{})]})}function G({subNav:l,pathName:s,Link:o}){let a=l,b=!1;return a.links&&a.links.map(i=>{i.url===s&&(b=!0)}),e(g,{defaultOpen:!0,className:"group/collapsible",children:e(f,{className:"py-0",children:e(u,{children:e(g,{asChild:!0,defaultOpen:a.isActive,children:r(c,{children:[e(y,{asChild:!0,tooltip:a.label,className:T(b&&"font-bold text-accent"),children:r(o,{href:a.url,children:[a.icon&&e(a.icon,{}),e("span",{children:a.label})]})}),a.links?.length?r(H,{children:[e(N,{asChild:!0,children:r(w,{className:"data-[state=open]:rotate-90",children:[e(A,{}),e("span",{className:"sr-only",children:"Toggle"})]})}),e(M,{children:e(P,{children:a.links?.map(i=>e(B,{children:e(L,{asChild:!0,className:T(i.url===s&&"font-bold text-accent"),children:e(o,{href:i.url,children:e("span",{children:i.label})})})},i.label))})})]}):null]})},a.label)})})})}export{J as a};
4
+ import{a as g,b as N,c as M}from"./chunk-YNCJATT7.mjs";import{c as k,h as R,i as v,k as S,l as f,o as x,p as u,q as c,r as y,s as w,v as P,w as B,x as L}from"./chunk-WXTJ6DVT.mjs";import{a as n}from"./chunk-HH4JDBUN.mjs";import{ChevronRight as A}from"lucide-react";import T from"clsx";import{Fragment as H,jsx as e,jsxs as r}from"react/jsx-runtime";function J({mainNav:l,secondaryNav:s,title:o,subTitle:a,pathName:b,menuHeading:i,onNavClick:d,loading:p=!1,LinkComponent:h,...F}){let C=h?t=>e(h,{...t}):d?({href:t,children:m,...I})=>e("button",{onClick:()=>d&&d(t),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...I,children:m}):t=>e("a",{...t});return r(k,{...F,variant:"inset",children:[e(R,{children:e(u,{children:e(c,{children:p?r("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[e(n,{className:"bg-gray-200 my-2 w-full h-7"}),e(n,{className:"bg-gray-200 w-3/4 my-2 h-5"})]}):r("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[e("span",{className:"truncate font-semibold",children:o}),a&&e("span",{className:"truncate text-sm",children:a})]})})})}),p&&r(S,{children:[e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"})]}),r(S,{children:[l&&!p&&l.map((t,m)=>e(G,{subNav:t,pathName:b,Link:C},m)),e(f,{className:"mt-auto",children:e(x,{children:e(u,{children:s&&!p&&s.map(t=>e(c,{children:e(y,{asChild:!0,size:"sm",children:r(C,{href:t.url||"",children:[t.icon&&e(t.icon,{}),e("span",{children:t.label})]})})},t.label))})})})]}),e(v,{})]})}function G({subNav:l,pathName:s,Link:o}){let a=l,b=!1;return a.links&&a.links.map(i=>{i.url===s&&(b=!0)}),e(g,{defaultOpen:!0,className:"group/collapsible",children:e(f,{className:"py-0",children:e(u,{children:e(g,{asChild:!0,defaultOpen:a.isActive,children:r(c,{children:[e(y,{asChild:!0,tooltip:a.label,className:T(b&&"font-bold text-accent"),children:r(o,{href:a.url,children:[a.icon&&e(a.icon,{}),e("span",{children:a.label})]})}),a.links?.length?r(H,{children:[e(N,{asChild:!0,children:r(w,{className:"data-[state=open]:rotate-90",children:[e(A,{}),e("span",{className:"sr-only",children:"Toggle"})]})}),e(M,{children:e(P,{children:a.links?.map(i=>e(B,{children:e(L,{asChild:!0,className:T(i.url===s&&"font-bold text-accent"),children:e(o,{href:i.url,children:e("span",{children:i.label})})})},i.label))})})]}):null]})},a.label)})})})}export{J as a};
@@ -1 +1 @@
1
- import{f as c}from"./chunk-N3B3XNV3.mjs";import{a as t}from"./chunk-MDJREBVI.mjs";import n from"next/image";import{jsx as e,jsxs as l}from"react/jsx-runtime";function g({image:a,title:i,content:s,link:o,theme:r}){return l("section",{className:"container relative",children:[e("div",{className:t("absolute mt-[50%] w-full h-full",r==="dark"?"bg-white":"bg-black")}),e("div",{className:t("flex flex-col md:flex-row items-center justify-between gap-12 px-6 md:px-16 py-16 bg-background",r,r==="dark"&&"bg-black clip-custom-top-r"),children:l("div",{className:"w-full flex flex-row items-center justify-center",children:[l("div",{className:t("w-full md:w-1/2 max-w-lg text-left",r==="dark"&&"mt-48"),children:[e("h2",{className:"text-3xl md:text-5xl text-primary",children:i}),e("p",{className:"mt-4 text-gray-700 text-lg",children:s&&e(c,{enableGutter:!1,content:s,enableProse:!1,className:t("prose prose-headings:text-gray-700 prose-p:text-gray-700")})}),e("button",{className:"mt-6 px-6 py-3 border border-1 border-accent text-foreground bg-background rounded-full text-base hover:bg-accent hover:text-white transition",children:e("a",{href:o.url||"#",children:o.label||"Learn more"})})]}),e("div",{className:"w-full md:w-1/2 flex justify-center",children:a&&a.url&&e(n,{src:a.url,alt:a.alt||`Image of ${i}`,width:400,height:400,className:"max-w-full"})})]})})]})}export{g as a};
1
+ import{f as c}from"./chunk-TR52MKZR.mjs";import{a as t}from"./chunk-TSEOL53Y.mjs";import n from"next/image";import{jsx as e,jsxs as l}from"react/jsx-runtime";function g({image:a,title:i,content:s,link:o,theme:r}){return l("section",{className:"container relative",children:[e("div",{className:t("absolute mt-[50%] w-full h-full",r==="dark"?"bg-white":"bg-black")}),e("div",{className:t("flex flex-col md:flex-row items-center justify-between gap-12 px-6 md:px-16 py-16 bg-background",r,r==="dark"&&"bg-black clip-custom-top-r"),children:l("div",{className:"w-full flex flex-row items-center justify-center",children:[l("div",{className:t("w-full md:w-1/2 max-w-lg text-left",r==="dark"&&"mt-48"),children:[e("h2",{className:"text-3xl md:text-5xl text-primary",children:i}),e("p",{className:"mt-4 text-gray-700 text-lg",children:s&&e(c,{enableGutter:!1,content:s,enableProse:!1,className:t("prose prose-headings:text-gray-700 prose-p:text-gray-700")})}),e("button",{className:"mt-6 px-6 py-3 border border-1 border-accent text-foreground bg-background rounded-full text-base hover:bg-accent hover:text-white transition",children:e("a",{href:o.url||"#",children:o.label||"Learn more"})})]}),e("div",{className:"w-full md:w-1/2 flex justify-center",children:a&&a.url&&e(n,{src:a.url,alt:a.alt||`Image of ${i}`,width:400,height:400,className:"max-w-full"})})]})})]})}export{g as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as p}from"./chunk-VGWDYD6Z.mjs";import{a as d}from"./chunk-Z22NSJMF.mjs";import{a as c}from"./chunk-CTAIR3TE.mjs";import{a as m,f as n,g as r,i as s,j as l}from"./chunk-3UMMMQEH.mjs";import{useState as w}from"react";import{motion as C,AnimatePresence as D}from"motion/react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function h({teams:i=[],onCreateTeam:g,onTeamOpen:T}){let[y,o]=w(!1),u=()=>{o(!0)},f=a=>{g?.(a),o(!1)},v=()=>{o(!1)},x=a=>{T?.(a)};return t("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[e(D,{mode:"wait",children:t(C.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:[e(d,{title:"My Teams",description:"Collaborate with your human and digital colleagues across different teams and projects.",gradient:"bg-gradient-to-r from-blue-600 via-cyan-600 to-teal-600",primaryAction:{label:"Create Team",onClick:u}}),t("section",{className:"space-y-4 mt-8",children:[e("h2",{className:"text-2xl font-semibold",children:"Active Teams"}),i.length===0?t("div",{className:"text-center py-12",children:[e("p",{className:"text-muted-foreground text-lg",children:"You're not part of any teams yet."}),e("p",{className:"text-muted-foreground text-sm mt-2",children:"Create a new team or ask to be added to an existing one."})]}):e("div",{className:"grid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3",children:i.map(a=>e(p,{team:a,onOpen:x},a.id))})]})]},"teams-index-view")}),e(m,{open:y,onOpenChange:o,children:t(n,{className:"max-w-4xl max-h-[90vh] overflow-y-auto p-0",children:[e("div",{className:"sr-only",children:t(r,{children:[e(s,{children:"Create New Team"}),e(l,{children:"Set up a new team to collaborate with colleagues on projects."})]})}),e(c,{title:"Create New Team",submitLabel:"Create Team",onSave:f,onCancel:v})]})})]})}export{h as a};
4
+ import{a as p}from"./chunk-E43QS242.mjs";import{a as d}from"./chunk-BM2ZNFM6.mjs";import{a as c}from"./chunk-TAVSBP7M.mjs";import{a as m,f as n,g as r,i as s,j as l}from"./chunk-AG6IN5S7.mjs";import{useState as w}from"react";import{motion as C,AnimatePresence as D}from"motion/react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function h({teams:i=[],onCreateTeam:g,onTeamOpen:T}){let[y,o]=w(!1),u=()=>{o(!0)},f=a=>{g?.(a),o(!1)},v=()=>{o(!1)},x=a=>{T?.(a)};return t("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[e(D,{mode:"wait",children:t(C.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:[e(d,{title:"My Teams",description:"Collaborate with your human and digital colleagues across different teams and projects.",gradient:"bg-gradient-to-r from-blue-600 via-cyan-600 to-teal-600",primaryAction:{label:"Create Team",onClick:u}}),t("section",{className:"space-y-4 mt-8",children:[e("h2",{className:"text-2xl font-semibold",children:"Active Teams"}),i.length===0?t("div",{className:"text-center py-12",children:[e("p",{className:"text-muted-foreground text-lg",children:"You're not part of any teams yet."}),e("p",{className:"text-muted-foreground text-sm mt-2",children:"Create a new team or ask to be added to an existing one."})]}):e("div",{className:"grid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3",children:i.map(a=>e(p,{team:a,onOpen:x},a.id))})]})]},"teams-index-view")}),e(m,{open:y,onOpenChange:o,children:t(n,{className:"max-w-4xl max-h-[90vh] overflow-y-auto p-0",children:[e("div",{className:"sr-only",children:t(r,{children:[e(s,{children:"Create New Team"}),e(l,{children:"Set up a new team to collaborate with colleagues on projects."})]})}),e(c,{title:"Create New Team",submitLabel:"Create Team",onSave:f,onCancel:v})]})})]})}export{h as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as N,c as b,d as y,g as w,i as g}from"./chunk-YFAZQYK4.mjs";import{a as f}from"./chunk-B4H6T2GP.mjs";import{a as c}from"./chunk-L5JPAKPM.mjs";import{b as r}from"./chunk-ZUA4KNIR.mjs";import{b as h}from"./chunk-CSBGSBEU.mjs";import{motion as z}from"motion/react";import{Edit3 as F,Save as I,X as S,Plus as T}from"lucide-react";import{useState as $}from"react";import{jsx as t,jsxs as o}from"react/jsx-runtime";function J({document:C,onSave:K,onCancel:D,availableDocuments:p=[],knowledgeContexts:E=[]}){let[l,d]=$({...C,updatedAt:new Date}),k=()=>{let e=new Set,a=new Set;return E.forEach(s=>{s.menuConfig.groupBy.forEach(n=>e.add(n))}),p.forEach(s=>{s.metadata&&Object.keys(s.metadata).forEach(n=>a.add(n))}),{contextKeys:Array.from(e).sort(),documentKeys:Array.from(a).sort(),allKeys:Array.from(new Set([...e,...a])).sort()}},_=e=>{let a=new Set;return p.forEach(s=>{s.metadata?.[e]&&a.add(String(s.metadata[e]))}),Array.from(a).sort()},m=k(),A=()=>{K(l)},i=(e,a)=>{d(s=>({...s,metadata:{...s.metadata,[e]:a}}))},B=(e,a)=>{a==="__custom__"?i(e,""):i(e,a)},M=()=>{let e=`field_${Date.now()}`;i(e,"")},V=e=>{d(a=>{let s={...a.metadata};return delete s[e],{...a,metadata:s}})};return o(z.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.3},className:"h-full flex flex-col",children:[o("div",{className:"border-b border-border bg-card p-8",children:[o("div",{className:"flex items-start justify-between gap-4 mb-6",children:[o("div",{className:"flex items-center gap-3",children:[t("div",{className:"flex-shrink-0 p-3 rounded-xl bg-primary/10 border border-primary/20",children:t(F,{className:"h-6 w-6 text-primary"})}),t("h1",{className:"text-2xl font-bold text-foreground",children:"Edit Document"})]}),o("div",{className:"flex gap-2",children:[o(r,{variant:"outline",size:"sm",onClick:D,className:"gap-2",children:[t(S,{className:"h-4 w-4"}),"Cancel"]}),o(r,{size:"sm",onClick:A,className:"gap-2",children:[t(I,{className:"h-4 w-4"}),"Save Changes"]})]})]}),o("div",{className:"space-y-4",children:[o("div",{children:[t("label",{className:"block text-sm font-medium text-foreground mb-2",children:"Title"}),t(c,{value:l.title,onChange:e=>d(a=>({...a,title:e.target.value})),className:"text-lg font-semibold",placeholder:"Document title..."})]}),o("div",{children:[t("label",{className:"block text-sm font-medium text-foreground mb-2",children:"Description"}),t(f,{value:l.description||"",onChange:e=>d(a=>({...a,description:e.target.value})),placeholder:"Document description...",rows:2})]}),o("div",{children:[o("div",{className:"flex items-center justify-between mb-3",children:[o("div",{children:[t("label",{className:"block text-sm font-medium text-foreground",children:"Metadata"}),m.contextKeys.length>0&&o("p",{className:"text-xs text-muted-foreground",children:["Suggested: ",m.contextKeys.slice(0,4).join(", "),m.contextKeys.length>4&&` +${m.contextKeys.length-4}`]})]}),o(r,{type:"button",variant:"outline",size:"sm",onClick:M,className:"gap-1 h-8",children:[t(T,{className:"h-3 w-3"}),"Add"]})]}),l.metadata&&Object.keys(l.metadata).length>0?t("div",{className:"space-y-2",children:Object.entries(l.metadata).map(([e,a])=>{let s=_(e);return o("div",{className:"flex gap-2 items-center",children:[t(c,{value:e,onChange:n=>{let v=n.target.value,j=l.metadata?.[e];d(x=>{let u={...x.metadata};return delete u[e],v&&(u[v]=j||""),{...x,metadata:u}})},placeholder:"Key",className:"w-32 h-8 text-sm",list:`metadata-keys-${e}`}),t("datalist",{id:`metadata-keys-${e}`,children:m.allKeys.map(n=>t("option",{value:n},n))}),t("span",{className:"text-muted-foreground text-sm",children:"="}),s.length>0?o(N,{value:String(a||""),onValueChange:n=>B(e,n),children:[t(y,{className:"flex-1 h-8 text-sm",children:t(b,{placeholder:"Value"})}),o(w,{children:[s.map(n=>t(g,{value:n,children:n},n)),t(g,{value:"__custom__",children:t("span",{className:"text-muted-foreground text-xs",children:"Custom..."})})]})]}):t(c,{value:String(a||""),onChange:n=>i(e,n.target.value),placeholder:"Value",className:"flex-1 h-8 text-sm"}),t(r,{type:"button",variant:"ghost",size:"sm",onClick:()=>V(e),className:"h-8 w-8 p-0 text-muted-foreground hover:text-destructive",children:t(S,{className:"h-3 w-3"})})]},e)})}):t("div",{className:"text-center py-3 border border-dashed border-border rounded-lg bg-muted/20",children:t("p",{className:"text-xs text-muted-foreground",children:'No metadata \u2022 Click "Add" to create fields'})})]}),o("div",{className:"flex items-center gap-2",children:[t("span",{className:"text-sm font-medium text-foreground",children:"Format:"}),t(h,{variant:"secondary",className:"font-mono",children:l.format.toUpperCase()})]})]})]}),t("div",{className:"flex-1 overflow-auto",children:o("div",{className:"p-8",children:[t("label",{className:"block text-sm font-medium text-foreground mb-4",children:"Content"}),t(f,{value:l.content||"",onChange:e=>d(a=>({...a,content:e.target.value})),placeholder:"Document content...",className:"min-h-[400px] font-mono text-sm",style:{resize:"vertical"}})]})})]})}export{J as a};
4
+ import{a as N,c as b,d as y,g as w,i as g}from"./chunk-WLM2ZFHF.mjs";import{a as f}from"./chunk-VXZPPTQQ.mjs";import{a as c}from"./chunk-GJUA2KUH.mjs";import{b as r}from"./chunk-7Z3TOFNL.mjs";import{b as h}from"./chunk-2JKLBLDE.mjs";import{motion as z}from"motion/react";import{Edit3 as F,Save as I,X as S,Plus as T}from"lucide-react";import{useState as $}from"react";import{jsx as t,jsxs as o}from"react/jsx-runtime";function J({document:C,onSave:K,onCancel:D,availableDocuments:p=[],knowledgeContexts:E=[]}){let[l,d]=$({...C,updatedAt:new Date}),k=()=>{let e=new Set,a=new Set;return E.forEach(s=>{s.menuConfig.groupBy.forEach(n=>e.add(n))}),p.forEach(s=>{s.metadata&&Object.keys(s.metadata).forEach(n=>a.add(n))}),{contextKeys:Array.from(e).sort(),documentKeys:Array.from(a).sort(),allKeys:Array.from(new Set([...e,...a])).sort()}},_=e=>{let a=new Set;return p.forEach(s=>{s.metadata?.[e]&&a.add(String(s.metadata[e]))}),Array.from(a).sort()},m=k(),A=()=>{K(l)},i=(e,a)=>{d(s=>({...s,metadata:{...s.metadata,[e]:a}}))},B=(e,a)=>{a==="__custom__"?i(e,""):i(e,a)},M=()=>{let e=`field_${Date.now()}`;i(e,"")},V=e=>{d(a=>{let s={...a.metadata};return delete s[e],{...a,metadata:s}})};return o(z.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.3},className:"h-full flex flex-col",children:[o("div",{className:"border-b border-border bg-card p-8",children:[o("div",{className:"flex items-start justify-between gap-4 mb-6",children:[o("div",{className:"flex items-center gap-3",children:[t("div",{className:"flex-shrink-0 p-3 rounded-xl bg-primary/10 border border-primary/20",children:t(F,{className:"h-6 w-6 text-primary"})}),t("h1",{className:"text-2xl font-bold text-foreground",children:"Edit Document"})]}),o("div",{className:"flex gap-2",children:[o(r,{variant:"outline",size:"sm",onClick:D,className:"gap-2",children:[t(S,{className:"h-4 w-4"}),"Cancel"]}),o(r,{size:"sm",onClick:A,className:"gap-2",children:[t(I,{className:"h-4 w-4"}),"Save Changes"]})]})]}),o("div",{className:"space-y-4",children:[o("div",{children:[t("label",{className:"block text-sm font-medium text-foreground mb-2",children:"Title"}),t(c,{value:l.title,onChange:e=>d(a=>({...a,title:e.target.value})),className:"text-lg font-semibold",placeholder:"Document title..."})]}),o("div",{children:[t("label",{className:"block text-sm font-medium text-foreground mb-2",children:"Description"}),t(f,{value:l.description||"",onChange:e=>d(a=>({...a,description:e.target.value})),placeholder:"Document description...",rows:2})]}),o("div",{children:[o("div",{className:"flex items-center justify-between mb-3",children:[o("div",{children:[t("label",{className:"block text-sm font-medium text-foreground",children:"Metadata"}),m.contextKeys.length>0&&o("p",{className:"text-xs text-muted-foreground",children:["Suggested: ",m.contextKeys.slice(0,4).join(", "),m.contextKeys.length>4&&` +${m.contextKeys.length-4}`]})]}),o(r,{type:"button",variant:"outline",size:"sm",onClick:M,className:"gap-1 h-8",children:[t(T,{className:"h-3 w-3"}),"Add"]})]}),l.metadata&&Object.keys(l.metadata).length>0?t("div",{className:"space-y-2",children:Object.entries(l.metadata).map(([e,a])=>{let s=_(e);return o("div",{className:"flex gap-2 items-center",children:[t(c,{value:e,onChange:n=>{let v=n.target.value,j=l.metadata?.[e];d(x=>{let u={...x.metadata};return delete u[e],v&&(u[v]=j||""),{...x,metadata:u}})},placeholder:"Key",className:"w-32 h-8 text-sm",list:`metadata-keys-${e}`}),t("datalist",{id:`metadata-keys-${e}`,children:m.allKeys.map(n=>t("option",{value:n},n))}),t("span",{className:"text-muted-foreground text-sm",children:"="}),s.length>0?o(N,{value:String(a||""),onValueChange:n=>B(e,n),children:[t(y,{className:"flex-1 h-8 text-sm",children:t(b,{placeholder:"Value"})}),o(w,{children:[s.map(n=>t(g,{value:n,children:n},n)),t(g,{value:"__custom__",children:t("span",{className:"text-muted-foreground text-xs",children:"Custom..."})})]})]}):t(c,{value:String(a||""),onChange:n=>i(e,n.target.value),placeholder:"Value",className:"flex-1 h-8 text-sm"}),t(r,{type:"button",variant:"ghost",size:"sm",onClick:()=>V(e),className:"h-8 w-8 p-0 text-muted-foreground hover:text-destructive",children:t(S,{className:"h-3 w-3"})})]},e)})}):t("div",{className:"text-center py-3 border border-dashed border-border rounded-lg bg-muted/20",children:t("p",{className:"text-xs text-muted-foreground",children:'No metadata \u2022 Click "Add" to create fields'})})]}),o("div",{className:"flex items-center gap-2",children:[t("span",{className:"text-sm font-medium text-foreground",children:"Format:"}),t(h,{variant:"secondary",className:"font-mono",children:l.format.toUpperCase()})]})]})]}),t("div",{className:"flex-1 overflow-auto",children:o("div",{className:"p-8",children:[t("label",{className:"block text-sm font-medium text-foreground mb-4",children:"Content"}),t(f,{value:l.content||"",onChange:e=>d(a=>({...a,content:e.target.value})),placeholder:"Document content...",className:"min-h-[400px] font-mono text-sm",style:{resize:"vertical"}})]})})]})}export{J as a};
@@ -1 +1 @@
1
- import{a as r}from"./chunk-ZUA4KNIR.mjs";import{a as t}from"./chunk-MDJREBVI.mjs";import{ChevronLeft as m,ChevronRight as c,MoreHorizontal as P}from"lucide-react";import*as i from"react";import{jsx as o,jsxs as p}from"react/jsx-runtime";var g=({className:n,...a})=>o("nav",{"aria-label":"pagination",className:t("mx-auto flex w-full justify-center",n),role:"navigation",...a});g.displayName="Pagination";var f=i.forwardRef(({className:n,...a},e)=>o("ul",{className:t("flex flex-row items-center gap-1",n),ref:e,...a}));f.displayName="PaginationContent";var u=i.forwardRef(({className:n,...a},e)=>o("li",{className:t("",n),ref:e,...a}));u.displayName="PaginationItem";var s=({className:n,isActive:a,size:e="icon",...l})=>o("button",{"aria-current":a?"page":void 0,className:t(r({size:e,variant:a?"outline":"ghost"}),n),...l});s.displayName="PaginationLink";var N=({className:n,...a})=>p(s,{"aria-label":"Go to previous page",className:t("gap-1 pl-2.5",n),size:"default",...a,children:[o(m,{className:"h-4 w-4"}),o("span",{children:"Previous"})]});N.displayName="PaginationPrevious";var d=({className:n,...a})=>p(s,{"aria-label":"Go to next page",className:t("gap-1 pr-2.5",n),size:"default",...a,children:[o("span",{children:"Next"}),o(c,{className:"h-4 w-4"})]});d.displayName="PaginationNext";var y=({className:n,...a})=>p("span",{"aria-hidden":!0,className:t("flex h-9 w-9 items-center justify-center",n),...a,children:[o(P,{className:"h-4 w-4"}),o("span",{className:"sr-only",children:"More pages"})]});y.displayName="PaginationEllipsis";export{g as a,f as b,u as c,s as d,N as e,d as f,y as g};
1
+ import{a as r}from"./chunk-7Z3TOFNL.mjs";import{a as t}from"./chunk-TSEOL53Y.mjs";import{ChevronLeft as m,ChevronRight as c,MoreHorizontal as P}from"lucide-react";import*as i from"react";import{jsx as o,jsxs as p}from"react/jsx-runtime";var g=({className:n,...a})=>o("nav",{"aria-label":"pagination",className:t("mx-auto flex w-full justify-center",n),role:"navigation",...a});g.displayName="Pagination";var f=i.forwardRef(({className:n,...a},e)=>o("ul",{className:t("flex flex-row items-center gap-1",n),ref:e,...a}));f.displayName="PaginationContent";var u=i.forwardRef(({className:n,...a},e)=>o("li",{className:t("",n),ref:e,...a}));u.displayName="PaginationItem";var s=({className:n,isActive:a,size:e="icon",...l})=>o("button",{"aria-current":a?"page":void 0,className:t(r({size:e,variant:a?"outline":"ghost"}),n),...l});s.displayName="PaginationLink";var N=({className:n,...a})=>p(s,{"aria-label":"Go to previous page",className:t("gap-1 pl-2.5",n),size:"default",...a,children:[o(m,{className:"h-4 w-4"}),o("span",{children:"Previous"})]});N.displayName="PaginationPrevious";var d=({className:n,...a})=>p(s,{"aria-label":"Go to next page",className:t("gap-1 pr-2.5",n),size:"default",...a,children:[o("span",{children:"Next"}),o(c,{className:"h-4 w-4"})]});d.displayName="PaginationNext";var y=({className:n,...a})=>p("span",{"aria-hidden":!0,className:t("flex h-9 w-9 items-center justify-center",n),...a,children:[o(P,{className:"h-4 w-4"}),o("span",{className:"sr-only",children:"More pages"})]});y.displayName="PaginationEllipsis";export{g as a,f as b,u as c,s as d,N as e,d as f,y as g};
@@ -1 +1 @@
1
- import{a}from"./chunk-MDJREBVI.mjs";import*as s from"react";import{cva as o}from"class-variance-authority";import{jsx as i}from"react/jsx-runtime";var n=o("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),d=s.forwardRef(({className:e,variant:t,...r},l)=>i("div",{ref:l,role:"alert",className:a(n({variant:t}),e),...r}));d.displayName="Alert";var c=s.forwardRef(({className:e,...t},r)=>i("h5",{ref:r,className:a("mb-1 font-medium leading-none tracking-tight",e),...t}));c.displayName="AlertTitle";var m=s.forwardRef(({className:e,...t},r)=>i("div",{ref:r,className:a("text-sm [&_p]:leading-relaxed",e),...t}));m.displayName="AlertDescription";export{d as a,c as b,m as c};
1
+ import{a}from"./chunk-TSEOL53Y.mjs";import*as s from"react";import{cva as o}from"class-variance-authority";import{jsx as i}from"react/jsx-runtime";var n=o("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),d=s.forwardRef(({className:e,variant:t,...r},l)=>i("div",{ref:l,role:"alert",className:a(n({variant:t}),e),...r}));d.displayName="Alert";var c=s.forwardRef(({className:e,...t},r)=>i("h5",{ref:r,className:a("mb-1 font-medium leading-none tracking-tight",e),...t}));c.displayName="AlertTitle";var m=s.forwardRef(({className:e,...t},r)=>i("div",{ref:r,className:a("text-sm [&_p]:leading-relaxed",e),...t}));m.displayName="AlertDescription";export{d as a,c as b,m as c};
@@ -1 +1 @@
1
- import{a as S,b as T}from"./chunk-E4TE4NV6.mjs";import{a as p,c as d,d as m,g,i as r}from"./chunk-YFAZQYK4.mjs";import{a as N}from"./chunk-B4H6T2GP.mjs";import{a as o}from"./chunk-TVZOULLL.mjs";import{a as h,f as k,g as f,h as I,i as C}from"./chunk-3UMMMQEH.mjs";import{a as y}from"./chunk-L5JPAKPM.mjs";import{b}from"./chunk-ZUA4KNIR.mjs";import{useState as G,useEffect as x}from"react";import{BookOpen as V,Bug as E,Zap as M,AlertCircle as P}from"lucide-react";import{jsx as t,jsxs as a}from"react/jsx-runtime";var H=[{value:"story",label:"Story",color:"bg-primary/20 text-primary",icon:V},{value:"task",label:"Task",color:"bg-secondary/20 text-secondary-foreground",icon:P},{value:"bug",label:"Bug",color:"bg-destructive/20 text-destructive",icon:E},{value:"spike",label:"Spike",color:"bg-accent/20 text-accent",icon:M}],R=[{value:"low",label:"Low",color:"bg-success/20 text-success"},{value:"medium",label:"Medium",color:"bg-warning/20 text-warning"},{value:"high",label:"High",color:"bg-destructive/20 text-destructive"}],X=({isOpen:n,onClose:u,onAddTask:D,epics:A,sprints:F,assignees:L,defaultEpicId:l})=>{let[i,c]=G({title:"",description:"",status:"todo",priority:"medium",type:"story",points:1,epicId:"",sprintId:"none",assignee:""});x(()=>{n&&l&&c(e=>({...e,epicId:l}))},[n,l]),x(()=>{n&&c({title:"",description:"",status:"todo",priority:"medium",type:"story",points:1,epicId:l||"",sprintId:"none",assignee:""})},[n]);let w=e=>{e.preventDefault(),i.title.trim()&&(D({title:i.title.trim(),description:i.description.trim(),status:"todo",priority:i.priority,type:i.type,points:i.points,epicId:i.epicId,sprintId:i.sprintId==="none"?void 0:i.sprintId,assignee:i.assignee.trim()||"Unassigned"}),c({title:"",description:"",status:"todo",priority:"medium",type:"story",points:1,epicId:l||"",sprintId:"none",assignee:""}),u())},s=(e,v)=>{c(B=>({...B,[e]:v}))};return t(h,{open:n,onOpenChange:u,children:a(k,{className:"sm:max-w-md",children:[t(f,{children:t(C,{children:"Add New Task"})}),a("form",{onSubmit:w,className:"space-y-4",children:[a("div",{className:"space-y-2",children:[t(o,{htmlFor:"title",children:"Task Title"}),t(y,{id:"title",value:i.title,onChange:e=>s("title",e.target.value),placeholder:"Enter task title",required:!0})]}),a("div",{className:"space-y-2",children:[t(o,{htmlFor:"description",children:"Description"}),t(N,{id:"description",value:i.description,onChange:e=>s("description",e.target.value),placeholder:"Enter task description",rows:3})]}),a("div",{className:"space-y-2",children:[t(o,{children:"Type"}),t(S,{type:"single",value:i.type,onValueChange:e=>e&&s("type",e),children:H.map(e=>{let v=e.icon;return a(T,{value:e.value,className:"flex items-center gap-2 data-[state=on]:bg-primary data-[state=on]:text-primary-foreground",children:[t(v,{className:"h-4 w-4"}),e.label]},e.value)})})]}),a("div",{className:"space-y-2",children:[t(o,{children:"Priority"}),t(S,{type:"single",value:i.priority,onValueChange:e=>e&&s("priority",e),children:R.map(e=>t(T,{value:e.value,className:"data-[state=on]:bg-primary data-[state=on]:text-primary-foreground",children:e.label},e.value))})]}),a("div",{className:"space-y-2",children:[t(o,{htmlFor:"points",children:"Story Points"}),t(y,{id:"points",type:"number",min:"1",max:"100",value:i.points,onChange:e=>s("points",parseInt(e.target.value)||1),placeholder:"Enter story points",required:!0})]}),!l&&a("div",{className:"space-y-2",children:[t(o,{htmlFor:"epic",children:"Epic"}),a(p,{value:i.epicId,onValueChange:e=>s("epicId",e),children:[t(m,{children:t(d,{placeholder:"Select an epic"})}),t(g,{children:A.map(e=>t(r,{value:e.id,children:a("div",{className:"flex items-center gap-2",children:[t("div",{className:`w-3 h-3 rounded-full ${e.color}`}),e.name]})},e.id))})]})]}),a("div",{className:"space-y-2",children:[t(o,{htmlFor:"sprint",children:"Sprint (Optional)"}),a(p,{value:i.sprintId,onValueChange:e=>s("sprintId",e),children:[t(m,{children:t(d,{placeholder:"Select a sprint"})}),a(g,{children:[t(r,{value:"none",children:"No Sprint"}),F.map(e=>t(r,{value:e.id,children:a("div",{className:"flex items-center gap-2",children:[e.name,e.isActive&&t("span",{className:"text-xs bg-green-100 text-green-800 px-1 rounded",children:"Active"})]})},e.id))]})]})]}),a("div",{className:"space-y-2",children:[t(o,{htmlFor:"sprint",children:"Assignee"}),a(p,{value:i.assignee,onValueChange:e=>s("assignee",e),children:[t(m,{children:t(d,{placeholder:"Select an Assignee"})}),a(g,{children:[t(r,{value:"none",children:"No Assignee"}),L.map(e=>t(r,{value:e.id,children:t("div",{className:"flex items-center gap-2",children:e.name})},e.id))]})]})]}),a(I,{children:[t(b,{type:"button",variant:"outline",onClick:u,children:"Cancel"}),t(b,{type:"submit",className:"bg-blue-600 hover:bg-blue-700",children:"Add Task"})]})]})]})})};export{X as a};
1
+ import{a as S,b as T}from"./chunk-7EEEXU54.mjs";import{a as p,c as d,d as m,g,i as r}from"./chunk-WLM2ZFHF.mjs";import{a as N}from"./chunk-VXZPPTQQ.mjs";import{a as o}from"./chunk-RAAY7PEH.mjs";import{a as h,f as k,g as f,h as I,i as C}from"./chunk-AG6IN5S7.mjs";import{a as y}from"./chunk-GJUA2KUH.mjs";import{b}from"./chunk-7Z3TOFNL.mjs";import{useState as G,useEffect as x}from"react";import{BookOpen as V,Bug as E,Zap as M,AlertCircle as P}from"lucide-react";import{jsx as t,jsxs as a}from"react/jsx-runtime";var H=[{value:"story",label:"Story",color:"bg-primary/20 text-primary",icon:V},{value:"task",label:"Task",color:"bg-secondary/20 text-secondary-foreground",icon:P},{value:"bug",label:"Bug",color:"bg-destructive/20 text-destructive",icon:E},{value:"spike",label:"Spike",color:"bg-accent/20 text-accent",icon:M}],R=[{value:"low",label:"Low",color:"bg-success/20 text-success"},{value:"medium",label:"Medium",color:"bg-warning/20 text-warning"},{value:"high",label:"High",color:"bg-destructive/20 text-destructive"}],X=({isOpen:n,onClose:u,onAddTask:D,epics:A,sprints:F,assignees:L,defaultEpicId:l})=>{let[i,c]=G({title:"",description:"",status:"todo",priority:"medium",type:"story",points:1,epicId:"",sprintId:"none",assignee:""});x(()=>{n&&l&&c(e=>({...e,epicId:l}))},[n,l]),x(()=>{n&&c({title:"",description:"",status:"todo",priority:"medium",type:"story",points:1,epicId:l||"",sprintId:"none",assignee:""})},[n]);let w=e=>{e.preventDefault(),i.title.trim()&&(D({title:i.title.trim(),description:i.description.trim(),status:"todo",priority:i.priority,type:i.type,points:i.points,epicId:i.epicId,sprintId:i.sprintId==="none"?void 0:i.sprintId,assignee:i.assignee.trim()||"Unassigned"}),c({title:"",description:"",status:"todo",priority:"medium",type:"story",points:1,epicId:l||"",sprintId:"none",assignee:""}),u())},s=(e,v)=>{c(B=>({...B,[e]:v}))};return t(h,{open:n,onOpenChange:u,children:a(k,{className:"sm:max-w-md",children:[t(f,{children:t(C,{children:"Add New Task"})}),a("form",{onSubmit:w,className:"space-y-4",children:[a("div",{className:"space-y-2",children:[t(o,{htmlFor:"title",children:"Task Title"}),t(y,{id:"title",value:i.title,onChange:e=>s("title",e.target.value),placeholder:"Enter task title",required:!0})]}),a("div",{className:"space-y-2",children:[t(o,{htmlFor:"description",children:"Description"}),t(N,{id:"description",value:i.description,onChange:e=>s("description",e.target.value),placeholder:"Enter task description",rows:3})]}),a("div",{className:"space-y-2",children:[t(o,{children:"Type"}),t(S,{type:"single",value:i.type,onValueChange:e=>e&&s("type",e),children:H.map(e=>{let v=e.icon;return a(T,{value:e.value,className:"flex items-center gap-2 data-[state=on]:bg-primary data-[state=on]:text-primary-foreground",children:[t(v,{className:"h-4 w-4"}),e.label]},e.value)})})]}),a("div",{className:"space-y-2",children:[t(o,{children:"Priority"}),t(S,{type:"single",value:i.priority,onValueChange:e=>e&&s("priority",e),children:R.map(e=>t(T,{value:e.value,className:"data-[state=on]:bg-primary data-[state=on]:text-primary-foreground",children:e.label},e.value))})]}),a("div",{className:"space-y-2",children:[t(o,{htmlFor:"points",children:"Story Points"}),t(y,{id:"points",type:"number",min:"1",max:"100",value:i.points,onChange:e=>s("points",parseInt(e.target.value)||1),placeholder:"Enter story points",required:!0})]}),!l&&a("div",{className:"space-y-2",children:[t(o,{htmlFor:"epic",children:"Epic"}),a(p,{value:i.epicId,onValueChange:e=>s("epicId",e),children:[t(m,{children:t(d,{placeholder:"Select an epic"})}),t(g,{children:A.map(e=>t(r,{value:e.id,children:a("div",{className:"flex items-center gap-2",children:[t("div",{className:`w-3 h-3 rounded-full ${e.color}`}),e.name]})},e.id))})]})]}),a("div",{className:"space-y-2",children:[t(o,{htmlFor:"sprint",children:"Sprint (Optional)"}),a(p,{value:i.sprintId,onValueChange:e=>s("sprintId",e),children:[t(m,{children:t(d,{placeholder:"Select a sprint"})}),a(g,{children:[t(r,{value:"none",children:"No Sprint"}),F.map(e=>t(r,{value:e.id,children:a("div",{className:"flex items-center gap-2",children:[e.name,e.isActive&&t("span",{className:"text-xs bg-green-100 text-green-800 px-1 rounded",children:"Active"})]})},e.id))]})]})]}),a("div",{className:"space-y-2",children:[t(o,{htmlFor:"sprint",children:"Assignee"}),a(p,{value:i.assignee,onValueChange:e=>s("assignee",e),children:[t(m,{children:t(d,{placeholder:"Select an Assignee"})}),a(g,{children:[t(r,{value:"none",children:"No Assignee"}),L.map(e=>t(r,{value:e.id,children:t("div",{className:"flex items-center gap-2",children:e.name})},e.id))]})]})]}),a(I,{children:[t(b,{type:"button",variant:"outline",onClick:u,children:"Cancel"}),t(b,{type:"submit",className:"bg-blue-600 hover:bg-blue-700",children:"Add Task"})]})]})]})})};export{X as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{b as r}from"./chunk-ZUA4KNIR.mjs";import{a as i}from"./chunk-MDJREBVI.mjs";import{useState as u}from"react";import{ChevronLeft as y,ChevronRight as b}from"lucide-react";import{jsx as t,jsxs as s}from"react/jsx-runtime";function k({currentDate:a,setCurrentDate:d,holidays:c}){let[n,x]=u(null),p=(new Date(a.getFullYear(),a.getMonth(),1).getDay()+6)%7,g=Array.from({length:42},(e,o)=>{let l=new Date(a.getFullYear(),a.getMonth(),o-p+1);return{date:l,isCurrentMonth:l.getMonth()===a.getMonth(),isToday:l.toDateString()===new Date().toDateString(),holidays:c.filter(m=>new Date(m.startDate)<=l&&new Date(m.endDate)>=l)}}),v=()=>{d(new Date(a.getFullYear(),a.getMonth()-1,1))},h=()=>{d(new Date(a.getFullYear(),a.getMonth()+1,1))},f=()=>{d(new Date)};return s("div",{className:"lg:flex lg:h-full lg:flex-col",children:[s("header",{className:"flex items-center justify-between border-b border-gray-200 px-6 py-4 lg:flex-none",children:[t("h1",{className:"text-base font-semibold text-foreground",children:t("time",{dateTime:a.toISOString(),children:a.toLocaleString("default",{month:"long",year:"numeric"})})}),t("div",{className:"flex items-center",children:s("div",{className:"relative flex items-center rounded-md gap-1 md:items-stretch",children:[s(r,{onClick:v,variant:"outline",size:"icon",className:"rounded-l-md border-accent hover:text-accent",children:[t("span",{className:"sr-only",children:"Previous month"}),t(y,{className:"h-5 w-5","aria-hidden":"true"})]}),t(r,{variant:"outline",onClick:f,className:"hidden border-l border-r border-accent px-3.5 text-sm font-semibold text-accent hover:bg-gray-50 focus:relative md:block",children:"Today"}),s(r,{onClick:h,variant:"outline",size:"icon",className:"rounded-r-md border-accent hover:text-accent",children:[t("span",{className:"sr-only",children:"Next month"}),t(b,{className:"h-5 w-5","aria-hidden":"true"})]})]})})]}),s("div",{className:"shadow ring-1 ring-black ring-opacity-5 lg:flex lg:flex-auto lg:flex-col",children:[s("div",{className:"grid grid-cols-7 gap-px border-b border-gray-300 bg-gray-200 text-center text-xs font-semibold leading-6 text-gray-700 lg:flex-none",children:[s("div",{className:"bg-white py-2",children:["M",t("span",{className:"sr-only sm:not-sr-only",children:"on"})]}),s("div",{className:"bg-white py-2",children:["T",t("span",{className:"sr-only sm:not-sr-only",children:"ue"})]}),s("div",{className:"bg-white py-2",children:["W",t("span",{className:"sr-only sm:not-sr-only",children:"ed"})]}),s("div",{className:"bg-white py-2",children:["T",t("span",{className:"sr-only sm:not-sr-only",children:"hu"})]}),s("div",{className:"bg-white py-2",children:["F",t("span",{className:"sr-only sm:not-sr-only",children:"ri"})]}),s("div",{className:"bg-white py-2",children:["S",t("span",{className:"sr-only sm:not-sr-only",children:"at"})]}),s("div",{className:"bg-white py-2",children:["S",t("span",{className:"sr-only sm:not-sr-only",children:"un"})]})]}),s("div",{className:"flex bg-gray-200 text-xs leading-6 text-gray-700 lg:flex-auto overflow-visible",children:[t("div",{className:"hidden w-full lg:grid lg:grid-cols-7 lg:grid-rows-6 lg:gap-px overflow-visible",children:g.map(e=>s("div",{className:i(e.isCurrentMonth?"bg-white":"bg-gray-50 text-gray-500","relative px-3 py-2 overflow-visible"),children:[t("time",{dateTime:e.date.toISOString(),className:i("flex h-6 w-6 items-center justify-center rounded-full",e.isToday&&"bg-indigo-600 font-semibold text-white"),children:e.date.getDate()}),e.holidays.length>0&&t("ol",{className:"mt-2 space-y-1 overflow-visible",children:e.holidays.map(o=>t("li",{className:"overflow-visible",children:t("div",{className:`text-xs px-1 py-0.5 rounded ${o.status==="approved"?"border-green-500":"border-gray-500"} border overflow-visible`,children:o.userName})},o.id))})]},e.date.toISOString()))}),t("div",{className:"isolate grid w-full grid-cols-7 grid-rows-6 gap-px lg:hidden",children:g.map(e=>s("button",{type:"button",className:i(e.isCurrentMonth?"bg-white":"bg-gray-50",(e.date===n||e.isToday)&&"font-semibold",e.date===n&&"text-white",!e.date&&e.isToday&&"text-indigo-600",e.date!==n&&e.isCurrentMonth&&!e.isToday&&"text-gray-900",e.date!==n&&!e.isCurrentMonth&&!e.isToday&&"text-gray-500","flex h-14 flex-col px-3 py-2 hover:bg-gray-100 focus:z-10"),children:[t("time",{dateTime:e.date.toISOString(),className:i("ml-auto",e.date===n&&e.isToday&&"flex h-6 w-6 items-center justify-center rounded-full bg-indigo-600",e.date===n&&!e.isToday&&"flex h-6 w-6 items-center justify-center rounded-full bg-gray-900"),children:e.date.getDate()}),s("span",{className:"sr-only",children:[e.holidays.length," holidays"]}),e.holidays.length>0&&t("span",{className:"-mx-0.5 mt-auto flex flex-wrap-reverse",children:e.holidays.map(o=>t("span",{className:`mx-0.5 mb-1 h-1.5 w-1.5 rounded-full ${o.status==="approved"?"bg-green-500":"bg-gray-500"}`},o.id))})]},e.date.toISOString()))})]})]})]})}export{k as a};
4
+ import{b as r}from"./chunk-7Z3TOFNL.mjs";import{a as i}from"./chunk-TSEOL53Y.mjs";import{useState as u}from"react";import{ChevronLeft as y,ChevronRight as b}from"lucide-react";import{jsx as t,jsxs as s}from"react/jsx-runtime";function k({currentDate:a,setCurrentDate:d,holidays:c}){let[n,x]=u(null),p=(new Date(a.getFullYear(),a.getMonth(),1).getDay()+6)%7,g=Array.from({length:42},(e,o)=>{let l=new Date(a.getFullYear(),a.getMonth(),o-p+1);return{date:l,isCurrentMonth:l.getMonth()===a.getMonth(),isToday:l.toDateString()===new Date().toDateString(),holidays:c.filter(m=>new Date(m.startDate)<=l&&new Date(m.endDate)>=l)}}),v=()=>{d(new Date(a.getFullYear(),a.getMonth()-1,1))},h=()=>{d(new Date(a.getFullYear(),a.getMonth()+1,1))},f=()=>{d(new Date)};return s("div",{className:"lg:flex lg:h-full lg:flex-col",children:[s("header",{className:"flex items-center justify-between border-b border-gray-200 px-6 py-4 lg:flex-none",children:[t("h1",{className:"text-base font-semibold text-foreground",children:t("time",{dateTime:a.toISOString(),children:a.toLocaleString("default",{month:"long",year:"numeric"})})}),t("div",{className:"flex items-center",children:s("div",{className:"relative flex items-center rounded-md gap-1 md:items-stretch",children:[s(r,{onClick:v,variant:"outline",size:"icon",className:"rounded-l-md border-accent hover:text-accent",children:[t("span",{className:"sr-only",children:"Previous month"}),t(y,{className:"h-5 w-5","aria-hidden":"true"})]}),t(r,{variant:"outline",onClick:f,className:"hidden border-l border-r border-accent px-3.5 text-sm font-semibold text-accent hover:bg-gray-50 focus:relative md:block",children:"Today"}),s(r,{onClick:h,variant:"outline",size:"icon",className:"rounded-r-md border-accent hover:text-accent",children:[t("span",{className:"sr-only",children:"Next month"}),t(b,{className:"h-5 w-5","aria-hidden":"true"})]})]})})]}),s("div",{className:"shadow ring-1 ring-black ring-opacity-5 lg:flex lg:flex-auto lg:flex-col",children:[s("div",{className:"grid grid-cols-7 gap-px border-b border-gray-300 bg-gray-200 text-center text-xs font-semibold leading-6 text-gray-700 lg:flex-none",children:[s("div",{className:"bg-white py-2",children:["M",t("span",{className:"sr-only sm:not-sr-only",children:"on"})]}),s("div",{className:"bg-white py-2",children:["T",t("span",{className:"sr-only sm:not-sr-only",children:"ue"})]}),s("div",{className:"bg-white py-2",children:["W",t("span",{className:"sr-only sm:not-sr-only",children:"ed"})]}),s("div",{className:"bg-white py-2",children:["T",t("span",{className:"sr-only sm:not-sr-only",children:"hu"})]}),s("div",{className:"bg-white py-2",children:["F",t("span",{className:"sr-only sm:not-sr-only",children:"ri"})]}),s("div",{className:"bg-white py-2",children:["S",t("span",{className:"sr-only sm:not-sr-only",children:"at"})]}),s("div",{className:"bg-white py-2",children:["S",t("span",{className:"sr-only sm:not-sr-only",children:"un"})]})]}),s("div",{className:"flex bg-gray-200 text-xs leading-6 text-gray-700 lg:flex-auto overflow-visible",children:[t("div",{className:"hidden w-full lg:grid lg:grid-cols-7 lg:grid-rows-6 lg:gap-px overflow-visible",children:g.map(e=>s("div",{className:i(e.isCurrentMonth?"bg-white":"bg-gray-50 text-gray-500","relative px-3 py-2 overflow-visible"),children:[t("time",{dateTime:e.date.toISOString(),className:i("flex h-6 w-6 items-center justify-center rounded-full",e.isToday&&"bg-indigo-600 font-semibold text-white"),children:e.date.getDate()}),e.holidays.length>0&&t("ol",{className:"mt-2 space-y-1 overflow-visible",children:e.holidays.map(o=>t("li",{className:"overflow-visible",children:t("div",{className:`text-xs px-1 py-0.5 rounded ${o.status==="approved"?"border-green-500":"border-gray-500"} border overflow-visible`,children:o.userName})},o.id))})]},e.date.toISOString()))}),t("div",{className:"isolate grid w-full grid-cols-7 grid-rows-6 gap-px lg:hidden",children:g.map(e=>s("button",{type:"button",className:i(e.isCurrentMonth?"bg-white":"bg-gray-50",(e.date===n||e.isToday)&&"font-semibold",e.date===n&&"text-white",!e.date&&e.isToday&&"text-indigo-600",e.date!==n&&e.isCurrentMonth&&!e.isToday&&"text-gray-900",e.date!==n&&!e.isCurrentMonth&&!e.isToday&&"text-gray-500","flex h-14 flex-col px-3 py-2 hover:bg-gray-100 focus:z-10"),children:[t("time",{dateTime:e.date.toISOString(),className:i("ml-auto",e.date===n&&e.isToday&&"flex h-6 w-6 items-center justify-center rounded-full bg-indigo-600",e.date===n&&!e.isToday&&"flex h-6 w-6 items-center justify-center rounded-full bg-gray-900"),children:e.date.getDate()}),s("span",{className:"sr-only",children:[e.holidays.length," holidays"]}),e.holidays.length>0&&t("span",{className:"-mx-0.5 mt-auto flex flex-wrap-reverse",children:e.holidays.map(o=>t("span",{className:`mx-0.5 mb-1 h-1.5 w-1.5 rounded-full ${o.status==="approved"?"bg-green-500":"bg-gray-500"}`},o.id))})]},e.date.toISOString()))})]})]})]})}export{k as a};