langflow-base-nightly 0.5.1.dev23__py3-none-any.whl → 0.5.1.dev24__py3-none-any.whl

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 (172) hide show
  1. langflow/api/v1/mcp_projects.py +27 -0
  2. langflow/api/v1/mcp_utils.py +8 -0
  3. langflow/components/knowledge_bases/ingestion.py +1 -1
  4. langflow/frontend/assets/{SlackIcon-v88osOTA.js → SlackIcon-DZYU5DLF.js} +1 -1
  5. langflow/frontend/assets/{Wikipedia-DD_S2k00.js → Wikipedia-CFZRxrw4.js} +1 -1
  6. langflow/frontend/assets/{Wolfram-EO2C5noN.js → Wolfram-CwdeNV9C.js} +1 -1
  7. langflow/frontend/assets/{index-C7ZJ_Z6f.js → index-1ThcPdLk.js} +1 -1
  8. langflow/frontend/assets/{index-BtFl7fER.js → index-6nSjvsD3.js} +1 -1
  9. langflow/frontend/assets/index-8FFrFgJV.js +1 -0
  10. langflow/frontend/assets/{index-Dc6qVuSa.js → index-9epvqQwC.js} +1 -1
  11. langflow/frontend/assets/{index-Dz2GTphU.js → index-AWudUNsn.js} +1 -1
  12. langflow/frontend/assets/{index-DQKOH_9K.js → index-B-AocSNm.js} +1 -1
  13. langflow/frontend/assets/{index-DYKZHhpU.js → index-B-_X6AqA.js} +1 -1
  14. langflow/frontend/assets/{index-BSN73YP8.js → index-B-hNnXsc.js} +1 -1
  15. langflow/frontend/assets/{index-DvCPWs2_.js → index-B5305pSA.js} +1 -1
  16. langflow/frontend/assets/{index-DSCtl3a5.js → index-B6VOd_3Q.js} +1 -1
  17. langflow/frontend/assets/{index-Hm5-4ItD.js → index-B6e1_nj-.js} +1 -1
  18. langflow/frontend/assets/{index-CfTbTHEv.js → index-B73YirCs.js} +1 -1
  19. langflow/frontend/assets/{index-e9MFKUCo.js → index-BF5NsuIQ.js} +1 -1
  20. langflow/frontend/assets/{index-BYIsg-Eh.js → index-BF8x6a5u.js} +1 -1
  21. langflow/frontend/assets/{index-GAQ0Mk2M.js → index-BFqc71lF.js} +1 -1
  22. langflow/frontend/assets/{index-D6MuXC4L.js → index-BGrQoe23.js} +1 -1
  23. langflow/frontend/assets/{index-7v-bzlzf.js → index-BLqPvhaE.js} +1 -1
  24. langflow/frontend/assets/{index-CJmMEa6d.js → index-BQUN5KC9.js} +1 -1
  25. langflow/frontend/assets/{index-DMAkJ_qX.js → index-BTrFqf3c.js} +1 -1
  26. langflow/frontend/assets/{index-lE3oSjJi.js → index-BVGGg6d6.js} +1 -1
  27. langflow/frontend/assets/{index-CnpLg4zX.js → index-B_A1jccc.js} +1 -1
  28. langflow/frontend/assets/{index-CssADaak.js → index-B_L1lw6n.js} +1 -1
  29. langflow/frontend/assets/{index-DBhjpWkf.js → index-Ba3V_Rfe.js} +1 -1
  30. langflow/frontend/assets/{index-C5XUG_gr.js → index-BaFh6ol1.js} +1 -1
  31. langflow/frontend/assets/index-BcFzjfOS.js +1 -0
  32. langflow/frontend/assets/{index-BqX1H6yK.js → index-BelTKOOS.js} +1 -1
  33. langflow/frontend/assets/{index-IT67FzsK.js → index-BiOvj3db.js} +1 -1
  34. langflow/frontend/assets/{index-BU8R8jRn.js → index-BiY5rUo6.js} +1 -1
  35. langflow/frontend/assets/{index-zcGjo9fx.js → index-BiawfAby.js} +1 -1
  36. langflow/frontend/assets/{index-Dlj_2mMs.js → index-BisiVeuZ.js} +1 -1
  37. langflow/frontend/assets/{index-IuR_FEdB.js → index-BjjlH85w.js} +1 -1
  38. langflow/frontend/assets/{index-C3Vwhx0t.js → index-BkWWP-Ml.js} +1 -1
  39. langflow/frontend/assets/{index-DCTRSkEW.js → index-BqGTtzDC.js} +1 -1
  40. langflow/frontend/assets/{index-DT-PspE-.js → index-Bqnegt70.js} +1 -1
  41. langflow/frontend/assets/{index-TVvsp-xh.js → index-Bs0N3c5i.js} +1 -1
  42. langflow/frontend/assets/{index-Ba1UOZ9A.js → index-BtOZ3DZ7.js} +1 -1
  43. langflow/frontend/assets/{index-Ba9tKRQg.js → index-Bt_2nhTJ.js} +1 -1
  44. langflow/frontend/assets/index-BvFxc1do.js +1 -0
  45. langflow/frontend/assets/{index-BbuGqvAx.js → index-BvHtUjgd.js} +1 -1
  46. langflow/frontend/assets/{index-DCCRJzcY.js → index-BxzfihZb.js} +1 -1
  47. langflow/frontend/assets/{index-DGtl2vMw.js → index-BzEpSWN1.js} +1 -1
  48. langflow/frontend/assets/{index-CIGmPP0H.js → index-C1QG5PKr.js} +1 -1
  49. langflow/frontend/assets/{index-DHVdkrni.js → index-C3oNlze1.js} +1 -1
  50. langflow/frontend/assets/{index-Bjzy_HZB.js → index-C988Yv4e.js} +1 -1
  51. langflow/frontend/assets/{index-CcJtOz-Z.js → index-CB7uykaz.js} +1 -1
  52. langflow/frontend/assets/{index-DmGJUrEp.js → index-CB8xPtty.js} +1 -1
  53. langflow/frontend/assets/{index-DNT_TUTa.js → index-CFh_62yL.js} +1 -1
  54. langflow/frontend/assets/{index-LlvshmVz.js → index-CLn4oDa9.js} +1 -1
  55. langflow/frontend/assets/{index-Fvd524_c.js → index-CMCNCQxs.js} +1 -1
  56. langflow/frontend/assets/index-CN0N3N2m.js +1 -0
  57. langflow/frontend/assets/{index-CrHf2Ic1.js → index-CNAwfpC3.js} +1 -1
  58. langflow/frontend/assets/{index-Bbfaw8ca.js → index-CP_zAFZg.js} +1 -1
  59. langflow/frontend/assets/{index-DJBWwjgl.js → index-CQkfZCDJ.js} +1 -1
  60. langflow/frontend/assets/{index-pBO0SZLD.js → index-CRNpOQM-.js} +6 -6
  61. langflow/frontend/assets/{index-DMEvEQI5.js → index-CTQxw4w-.js} +1 -1
  62. langflow/frontend/assets/{index-BV6yx8ey.js → index-CU9XgQEl.js} +1 -1
  63. langflow/frontend/assets/index-CV33ZbiM.js +1 -0
  64. langflow/frontend/assets/index-CWmmsEOM.js +1 -0
  65. langflow/frontend/assets/{index-DxkJactf.js → index-CZdZkSVL.js} +1 -1
  66. langflow/frontend/assets/{index-LwKh3I_W.js → index-C_0G3-yc.js} +1 -1
  67. langflow/frontend/assets/{index-Ca_Pw_Dn.js → index-C_i7NZkC.js} +1 -1
  68. langflow/frontend/assets/{index-sfX3aWyp.js → index-C_j_KuF0.js} +1 -1
  69. langflow/frontend/assets/{index-Bp7Mty2H.js → index-CaM5t6x8.js} +1 -1
  70. langflow/frontend/assets/{index-D8w9zvIF.js → index-Cc9flUt9.js} +1 -1
  71. langflow/frontend/assets/{index-DTpbH-p8.js → index-CcK-JwLO.js} +1 -1
  72. langflow/frontend/assets/{index-BwY98u8n.js → index-CfttLx6n.js} +1 -1
  73. langflow/frontend/assets/index-Ch6gZEE0.js +1 -0
  74. langflow/frontend/assets/{index-BGwqQwlh.js → index-Ch92JRJd.js} +1 -1
  75. langflow/frontend/assets/{index-DkYuicnC.js → index-Cj900szt.js} +1 -1
  76. langflow/frontend/assets/{index-yfcsaHS6.js → index-CjlpkvuB.js} +1 -1
  77. langflow/frontend/assets/{index-DDdz-Xcl.js → index-ClRoY-FX.js} +1 -1
  78. langflow/frontend/assets/{index-krPr8f2F.js → index-ClT_eNbt.js} +1 -1
  79. langflow/frontend/assets/{index-Cpao2omG.js → index-CqoTzjmQ.js} +1 -1
  80. langflow/frontend/assets/{index-BvX993Sv.js → index-CuGL_G3M.js} +1 -1
  81. langflow/frontend/assets/{index-DWeL4US_.js → index-CvDh_MxU.js} +1 -1
  82. langflow/frontend/assets/{index-C6ouLG9o.js → index-Cv_uLHbT.js} +1 -1
  83. langflow/frontend/assets/{index-CL_vu6ut.js → index-CzYpL0rF.js} +1 -1
  84. langflow/frontend/assets/{index-COf3UnBn.js → index-D3h9VCeP.js} +1 -1
  85. langflow/frontend/assets/{index-BqtBAJAN.js → index-D5yAgkMT.js} +1 -1
  86. langflow/frontend/assets/{index-a-YclEbW.js → index-D6aP-HbR.js} +1 -1
  87. langflow/frontend/assets/{index-Dn6hpCAZ.js → index-D7wIj7if.js} +1 -1
  88. langflow/frontend/assets/index-DBURQZcY.js +1 -0
  89. langflow/frontend/assets/{index-C-RIJAOS.js → index-DCc1o5UV.js} +1 -1
  90. langflow/frontend/assets/{index-RwpaHIAH.js → index-DD7wrvCZ.js} +1 -1
  91. langflow/frontend/assets/{index-B8ZHP8g2.js → index-DDefmkcH.js} +1 -1
  92. langflow/frontend/assets/{index-DsWfdCzp.js → index-DEt2Yosx.js} +1 -1
  93. langflow/frontend/assets/{index-9CbMazbV.js → index-DGFygZiG.js} +1 -1
  94. langflow/frontend/assets/{index-N-xxmKKH.js → index-DGXmo5dY.js} +1 -1
  95. langflow/frontend/assets/{index-kveiUWuL.js → index-DGcMdgk-.js} +1 -1
  96. langflow/frontend/assets/index-DH9qsft-.js +1 -0
  97. langflow/frontend/assets/{index-TdE2u9zP.js → index-DIFbNefq.js} +1 -1
  98. langflow/frontend/assets/{index-D1xzD7uc.js → index-DJbTO27Y.js} +1 -1
  99. langflow/frontend/assets/{index-DWV6MsIq.js → index-DJfyKAdF.js} +1 -1
  100. langflow/frontend/assets/{index-Cn4gw8aE.js → index-DL0ociLP.js} +1 -1
  101. langflow/frontend/assets/{index-Jj60FQkv.js → index-DO482yY9.js} +1 -1
  102. langflow/frontend/assets/{index-DrJU8Fgb.js → index-DREfD2t5.js} +1 -1
  103. langflow/frontend/assets/{index-BBRUGsyr.js → index-DRU1HxyK.js} +1 -1
  104. langflow/frontend/assets/index-DTszUps5.js +1 -0
  105. langflow/frontend/assets/{index-ItYiij1i.js → index-DUZCKguN.js} +1 -1
  106. langflow/frontend/assets/{index-lM3UYg7F.js → index-DW9Ijttn.js} +1 -1
  107. langflow/frontend/assets/{index-nsRk3qgA.js → index-DXobKqZV.js} +1 -1
  108. langflow/frontend/assets/{index-DCUfitVj.js → index-DYCFbxqX.js} +1 -1
  109. langflow/frontend/assets/{index-CWIHsC4D.js → index-DYDidL0O.js} +1 -1
  110. langflow/frontend/assets/{index-CJxD7lyU.js → index-DYHxRtvq.js} +1 -1
  111. langflow/frontend/assets/{index-_x-NkYeW.js → index-D_Ymwwww.js} +1 -1
  112. langflow/frontend/assets/{index-B8y2e6vN.js → index-D_dwAYl5.js} +1 -1
  113. langflow/frontend/assets/{index-CFR4yJQB.js → index-DabUj1jA.js} +1 -1
  114. langflow/frontend/assets/{index-DGdMwZjG.js → index-DecWakBh.js} +1 -1
  115. langflow/frontend/assets/{index-pbZHsbuE.js → index-DeqzvhaK.js} +1 -1
  116. langflow/frontend/assets/{index-D98Gn0A6.js → index-DfbOM1ul.js} +1 -1
  117. langflow/frontend/assets/index-Do0FOydd.js +1 -0
  118. langflow/frontend/assets/{index-DSLNlm0Z.js → index-DpwTzqHi.js} +1 -1
  119. langflow/frontend/assets/{index-BfjZmOnH.js → index-DqEmC8BV.js} +1 -1
  120. langflow/frontend/assets/{index-xQz-VJ0-.js → index-DqKGFhEI.js} +1 -1
  121. langflow/frontend/assets/{index-DZyQHiMR.js → index-DsQg__4c.js} +1 -1
  122. langflow/frontend/assets/{index-CrV0uIjp.js → index-DsUqmyjC.js} +1 -1
  123. langflow/frontend/assets/{index-BvgQ2vzM.js → index-DtMt4p72.js} +1 -1
  124. langflow/frontend/assets/{index-BeoXu1YX.js → index-DujGS1OO.js} +1 -1
  125. langflow/frontend/assets/{index-1Gv1mfvk.js → index-DvseFYnA.js} +1 -1
  126. langflow/frontend/assets/{index-CyeWD2dh.js → index-DzM6iZXN.js} +1 -1
  127. langflow/frontend/assets/{index-CtJdNLy9.js → index-DzyU6nkP.js} +1 -1
  128. langflow/frontend/assets/{index-Dw71ufW4.js → index-EAjlelts.js} +1 -1
  129. langflow/frontend/assets/{index-CqoxM01j.js → index-ImRPHwVH.js} +1 -1
  130. langflow/frontend/assets/{index-BofEkpYB.js → index-O_Asm0Qg.js} +1 -1
  131. langflow/frontend/assets/{index-ChoxDAgX.js → index-QKyHt7M3.js} +1 -1
  132. langflow/frontend/assets/{index-CVDzych0.js → index-Qk4Jhzzx.js} +1 -1
  133. langflow/frontend/assets/{index-BIq-k-FG.js → index-Z91qd7e0.js} +1 -1
  134. langflow/frontend/assets/{index-Bsfraj7A.js → index-b5J6zUVe.js} +1 -1
  135. langflow/frontend/assets/{index-DvPVq7OP.js → index-c1d0EApS.js} +1 -1
  136. langflow/frontend/assets/{index-DQhqqtqQ.js → index-dUVNsQ_p.js} +1 -1
  137. langflow/frontend/assets/{index-CV9650h_.js → index-eO6vfHBu.js} +1 -1
  138. langflow/frontend/assets/index-gCzEXCit.js +1 -0
  139. langflow/frontend/assets/{index-B_ksDBSQ.js → index-lQhbbctu.js} +1 -1
  140. langflow/frontend/assets/{index-Cbb3bX9e.js → index-n6FpRfSS.js} +1 -1
  141. langflow/frontend/assets/{index-DNGRoOsp.js → index-uL1cSwQV.js} +1 -1
  142. langflow/frontend/assets/{index-CCcye2rt.js → index-ueLRdQBW.js} +1 -1
  143. langflow/frontend/assets/{index-DRM7KKnG.js → index-v5Q73kmo.js} +1 -1
  144. langflow/frontend/assets/{index-C1K6A38P.js → index-w9oSsyPP.js} +1 -1
  145. langflow/frontend/assets/{index-CCOGIwGY.js → index-xRpB6v7Q.js} +1 -1
  146. langflow/frontend/assets/{index-CXCnFZ0L.js → index-xVVGl0zB.js} +1 -1
  147. langflow/frontend/assets/lazyIconImports-DCOuBCys.js +2 -0
  148. langflow/frontend/assets/{use-post-add-user-w3vpKSOB.js → use-post-add-user-xwrNqlN4.js} +1 -1
  149. langflow/frontend/index.html +1 -1
  150. langflow/initial_setup/starter_projects/Instagram Copywriter.json +2 -2
  151. langflow/initial_setup/starter_projects/Invoice Summarizer.json +2 -2
  152. langflow/initial_setup/starter_projects/Knowledge Ingestion.json +5 -5
  153. langflow/initial_setup/starter_projects/Knowledge Retrieval.json +5 -5
  154. langflow/initial_setup/starter_projects/Market Research.json +2 -2
  155. langflow/initial_setup/starter_projects/News Aggregator.json +2 -2
  156. langflow/initial_setup/starter_projects/Nvidia Remix.json +2 -2
  157. langflow/initial_setup/starter_projects/Pok/303/251dex Agent.json" +2 -2
  158. langflow/initial_setup/starter_projects/Price Deal Finder.json +2 -2
  159. langflow/initial_setup/starter_projects/Research Agent.json +2 -2
  160. langflow/initial_setup/starter_projects/Research Translation Loop.json +20 -2
  161. langflow/initial_setup/starter_projects/SaaS Pricing.json +2 -2
  162. langflow/initial_setup/starter_projects/Search agent.json +2 -2
  163. langflow/initial_setup/starter_projects/Sequential Tasks Agents.json +6 -6
  164. langflow/initial_setup/starter_projects/Simple Agent.json +2 -2
  165. langflow/initial_setup/starter_projects/Social Media Agent.json +2 -2
  166. langflow/initial_setup/starter_projects/Travel Planning Agents.json +6 -6
  167. langflow/initial_setup/starter_projects/Youtube Analysis.json +2 -2
  168. {langflow_base_nightly-0.5.1.dev23.dist-info → langflow_base_nightly-0.5.1.dev24.dist-info}/METADATA +2 -2
  169. {langflow_base_nightly-0.5.1.dev23.dist-info → langflow_base_nightly-0.5.1.dev24.dist-info}/RECORD +171 -159
  170. langflow/frontend/assets/lazyIconImports-BjqDmNYG.js +0 -2
  171. {langflow_base_nightly-0.5.1.dev23.dist-info → langflow_base_nightly-0.5.1.dev24.dist-info}/WHEEL +0 -0
  172. {langflow_base_nightly-0.5.1.dev23.dist-info → langflow_base_nightly-0.5.1.dev24.dist-info}/entry_points.txt +0 -0
@@ -1 +1 @@
1
- import{j as s}from"./index-pBO0SZLD.js";const t=c=>s.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...c,children:[s.jsx("path",{fill:"#D71000",d:"M15.769 10.7c-.534-1.53.141-4 .141-4S13.613 8.01 11.93 8C10.246 7.99 8.1 6.7 8.1 6.7s.564 2.46.07 4.04c-.484 1.58-2.489 3.34-2.489 3.34s2.6.23 3.88 1.1c1.28.87 2.439 3.46 2.439 3.46s.786-2.35 2.338-3.41c1.552-1.07 3.991-1.15 3.991-1.15s-2.016-1.84-2.56-3.37v-.01zm.645 2.7s-1.572.17-2.661.99c-1.099.81-1.764 2.19-1.764 2.19s-.766-1.43-1.814-2.22c-1.058-.79-2.59-.97-2.59-.97a5.068 5.068 0 0 0 1.533-2.334l.009-.036c.464-1.54.181-2.73.181-2.73s.927.7 2.641.7 2.812-.7 2.812-.7-.383 1.58.07 2.7c.444 1.14 1.583 2.41 1.583 2.41z"}),s.jsx("path",{fill:"#D71000",d:"m18.612 7.23.504-4.94-4.596 2L12 0 9.48 4.29l-4.586-2 .494 4.95L.5 8.29 3.826 12 .51 15.7l4.888 1.07-.504 4.94 4.586-2L12 24l2.52-4.29 4.596 2-.504-4.94 4.888-1.06L20.174 12h-.01L23.5 8.3l-4.888-1.07zm1.814 7.5s-4.737.62-5.584 1.22h.01c-.836.61-2.852 4.86-2.852 4.86s-1.512-3.86-3.024-4.86c-1.492-1-5.422-1.22-5.422-1.22s3.014-2.37 3.598-4.47c.595-2.1-.373-5.37-.373-5.37s2.923 2.1 5.12 2.1c2.187 0 5.301-2.1 5.301-2.1s-.827 4.5-.534 5.46c.303.96 3.76 4.38 3.76 4.38z"}),s.jsx("path",{fill:"#D71000",d:"M13.744 9.6s-.958.38-1.784.37c-.826 0-1.713-.37-1.713-.37.05.58 0 1.15-.171 1.7-.272.86-.917 1.64-.917 1.64a4.28 4.28 0 0 1 2.831 1.99l.01.02s.454-.85 1.189-1.33a5.975 5.975 0 0 1 1.643-.7s-.746-.78-1.028-1.57c-.282-.78-.06-1.75-.06-1.75z"})]});export{t as default};
1
+ import{j as s}from"./index-CRNpOQM-.js";const t=c=>s.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em",...c,children:[s.jsx("path",{fill:"#D71000",d:"M15.769 10.7c-.534-1.53.141-4 .141-4S13.613 8.01 11.93 8C10.246 7.99 8.1 6.7 8.1 6.7s.564 2.46.07 4.04c-.484 1.58-2.489 3.34-2.489 3.34s2.6.23 3.88 1.1c1.28.87 2.439 3.46 2.439 3.46s.786-2.35 2.338-3.41c1.552-1.07 3.991-1.15 3.991-1.15s-2.016-1.84-2.56-3.37v-.01zm.645 2.7s-1.572.17-2.661.99c-1.099.81-1.764 2.19-1.764 2.19s-.766-1.43-1.814-2.22c-1.058-.79-2.59-.97-2.59-.97a5.068 5.068 0 0 0 1.533-2.334l.009-.036c.464-1.54.181-2.73.181-2.73s.927.7 2.641.7 2.812-.7 2.812-.7-.383 1.58.07 2.7c.444 1.14 1.583 2.41 1.583 2.41z"}),s.jsx("path",{fill:"#D71000",d:"m18.612 7.23.504-4.94-4.596 2L12 0 9.48 4.29l-4.586-2 .494 4.95L.5 8.29 3.826 12 .51 15.7l4.888 1.07-.504 4.94 4.586-2L12 24l2.52-4.29 4.596 2-.504-4.94 4.888-1.06L20.174 12h-.01L23.5 8.3l-4.888-1.07zm1.814 7.5s-4.737.62-5.584 1.22h.01c-.836.61-2.852 4.86-2.852 4.86s-1.512-3.86-3.024-4.86c-1.492-1-5.422-1.22-5.422-1.22s3.014-2.37 3.598-4.47c.595-2.1-.373-5.37-.373-5.37s2.923 2.1 5.12 2.1c2.187 0 5.301-2.1 5.301-2.1s-.827 4.5-.534 5.46c.303.96 3.76 4.38 3.76 4.38z"}),s.jsx("path",{fill:"#D71000",d:"M13.744 9.6s-.958.38-1.784.37c-.826 0-1.713-.37-1.713-.37.05.58 0 1.15-.171 1.7-.272.86-.917 1.64-.917 1.64a4.28 4.28 0 0 1 2.831 1.99l.01.02s.454-.85 1.189-1.33a5.975 5.975 0 0 1 1.643-.7s-.746-.78-1.028-1.57c-.282-.78-.06-1.75-.06-1.75z"})]});export{t as default};
@@ -1 +1 @@
1
- import{j as o,r}from"./index-pBO0SZLD.js";const l=e=>o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",fillRule:"evenodd",style:{flex:"none",lineHeight:"1"},viewBox:"0 0 24 24",...e,children:o.jsx("path",{d:"M9.167 4.17v5.665L0 19.003h9.167v-5.666l5.666 5.666H24z",clipRule:"evenodd"})}),n=r.forwardRef((e,t)=>o.jsx(l,{ref:t,...e}));export{n as NovitaIcon};
1
+ import{j as o,r}from"./index-CRNpOQM-.js";const l=e=>o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",fillRule:"evenodd",style:{flex:"none",lineHeight:"1"},viewBox:"0 0 24 24",...e,children:o.jsx("path",{d:"M9.167 4.17v5.665L0 19.003h9.167v-5.666l5.666 5.666H24z",clipRule:"evenodd"})}),n=r.forwardRef((e,t)=>o.jsx(l,{ref:t,...e}));export{n as NovitaIcon};
@@ -1 +1 @@
1
- import{U as le,a as ce,g as oe,r as i,j as e,c as v,C as he,A as de,B as M,F as E,$ as pe,b as k,d as P,e as $,f as F,E as K,h as Q,i as Y,k as X,l as fe,P as ee,m as se,u as te,n as je,o as Ne,p as ge,I as ve,q as Ce,S as W,s as h,t as ae,v as be,w as we,x as Se,y as _e,z as q,D as J,G as ne,H as ie,J as Ee}from"./index-pBO0SZLD.js";import{u as Te}from"./use-post-add-user-w3vpKSOB.js";const Ue=r=>{const{mutate:l}=le();return l(["useDeleteUsers"],async({user_id:p})=>(await ce.delete(`${oe("USERS")}/${p}`)).data,r)},ye=r=>{const{mutate:l}=le();async function c({skip:p,limit:C}){const a=await ce.get(`${oe("USERS")}/?skip=${p}&limit=${C}`);return a.status===200?a.data:[]}return l(["useGetUsers"],c,r)},me=i.forwardRef(({className:r,...l},c)=>e.jsx("div",{className:"",children:e.jsx("table",{ref:c,className:v("w-full caption-bottom text-sm",r),...l})}));me.displayName="Table";const ue=i.forwardRef(({className:r,...l},c)=>e.jsx("thead",{ref:c,className:v("[&_tr]:border-b",r),...l}));ue.displayName="TableHeader";const xe=i.forwardRef(({className:r,...l},c)=>e.jsx("tbody",{ref:c,className:v("[&_tr:last-child]:border-0",r),...l}));xe.displayName="TableBody";const Re=i.forwardRef(({className:r,...l},c)=>e.jsx("tfoot",{ref:c,className:v("bg-primary font-medium text-primary-foreground",r),...l}));Re.displayName="TableFooter";const Z=i.forwardRef(({className:r,...l},c)=>e.jsx("tr",{ref:c,className:v("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",r),...l}));Z.displayName="TableRow";const N=i.forwardRef(({className:r,...l},c)=>e.jsx("th",{ref:c,className:v("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",r),...l}));N.displayName="TableHead";const g=i.forwardRef(({className:r,...l},c)=>e.jsx("td",{ref:c,className:v("p-4 align-middle [&:has([role=checkbox])]:pr-0",r),...l}));g.displayName="TableCell";const Ae=i.forwardRef(({className:r,...l},c)=>e.jsx("caption",{ref:c,className:v("mt-4 text-sm text-muted-foreground",r),...l}));Ae.displayName="TableCaption";function re({title:r,titleHeader:l,cancelText:c,confirmationText:S,children:p,icon:C,data:a,index:b,onConfirm:G,asChild:z}){const[f,L]=i.useState(!1),[u,O]=i.useState(!1),[d,T]=i.useState(!1),[m,U]=i.useState((a==null?void 0:a.password)??""),[w,_]=i.useState((a==null?void 0:a.username)??""),[j,H]=i.useState((a==null?void 0:a.password)??""),[x,y]=i.useState((a==null?void 0:a.is_active)??!1),[R,A]=i.useState((a==null?void 0:a.is_superuser)??!1),[B,V]=i.useState(he),{userData:D}=i.useContext(de);function s({target:{name:t,value:o}}){V(I=>({...I,[t]:o}))}i.useEffect(()=>{d&&(a?(_(a.username),y(a.is_active),A(a.is_superuser),s({target:{name:"username",value:w}}),s({target:{name:"is_active",value:x}}),s({target:{name:"is_superuser",value:R}})):n())},[d]);function n(){U(""),_(""),H(""),y(!1),A(!1)}return e.jsxs(M,{size:"medium-h-full",open:d,setOpen:T,children:[e.jsx(M.Trigger,{asChild:z,children:p}),e.jsxs(M.Header,{description:l,children:[e.jsx("span",{className:"pr-2",children:r}),e.jsx(E,{name:C,className:"h-6 w-6 pl-1 text-foreground","aria-hidden":"true"})]}),e.jsx(M.Content,{children:e.jsxs(pe,{onSubmit:t=>{if(m!==j){t.preventDefault();return}n(),G(1,B),T(!1),t.preventDefault()},children:[e.jsxs("div",{className:"grid gap-5",children:[e.jsxs(k,{name:"username",children:[e.jsx("div",{style:{display:"flex",alignItems:"baseline",justifyContent:"space-between"},children:e.jsxs(P,{className:"data-[invalid]:label-invalid",children:["Username"," ",e.jsx("span",{className:"font-medium text-destructive",children:"*"})]})}),e.jsx($,{asChild:!0,children:e.jsx("input",{onChange:({target:{value:t}})=>{s({target:{name:"username",value:t}}),_(t)},value:w,className:"primary-input",required:!0,placeholder:"Username"})}),e.jsx(F,{match:"valueMissing",className:"field-invalid",children:"Please enter your username"})]}),e.jsxs("div",{className:"flex flex-row",children:[e.jsx("div",{className:"mr-3 basis-1/2",children:e.jsxs(k,{name:"password",serverInvalid:m!=j,children:[e.jsx("div",{style:{display:"flex",alignItems:"baseline",justifyContent:"space-between"},children:e.jsxs(P,{className:"data-[invalid]:label-invalid flex",children:["Password"," ",e.jsx("span",{className:"ml-1 mr-1 font-medium text-destructive",children:"*"}),f&&e.jsx(K,{onClick:()=>L(!f),className:"h-5 cursor-pointer",strokeWidth:1.5}),!f&&e.jsx(Q,{onClick:()=>L(!f),className:"h-5 cursor-pointer",strokeWidth:1.5})]})}),e.jsx($,{asChild:!0,children:e.jsx("input",{onChange:({target:{value:t}})=>{s({target:{name:"password",value:t}}),U(t)},value:m,className:"primary-input",required:!a,type:f?"text":"password"})}),e.jsx(F,{className:"field-invalid",match:"valueMissing",children:"Please enter a password"}),m!=j&&e.jsx(F,{className:"field-invalid",children:"Passwords do not match"})]})}),e.jsx("div",{className:"basis-1/2",children:e.jsxs(k,{name:"confirmpassword",serverInvalid:m!=j,children:[e.jsx("div",{style:{display:"flex",alignItems:"baseline",justifyContent:"space-between"},children:e.jsxs(P,{className:"data-[invalid]:label-invalid flex",children:["Confirm password"," ",e.jsx("span",{className:"ml-1 mr-1 font-medium text-destructive",children:"*"}),u&&e.jsx(K,{onClick:()=>O(!u),className:"h-5 cursor-pointer",strokeWidth:1.5}),!u&&e.jsx(Q,{onClick:()=>O(!u),className:"h-5 cursor-pointer",strokeWidth:1.5})]})}),e.jsx($,{asChild:!0,children:e.jsx("input",{onChange:t=>{H(t.target.value)},value:j,className:"primary-input",required:!a,type:u?"text":"password"})}),e.jsx(F,{className:"field-invalid",match:"valueMissing",children:"Please confirm your password"})]})})]}),e.jsxs("div",{className:"flex gap-8",children:[e.jsx(k,{name:"is_active",children:e.jsxs("div",{children:[e.jsx(P,{className:"data-[invalid]:label-invalid mr-3",children:"Active"}),e.jsx($,{asChild:!0,children:e.jsx(Y,{value:x,checked:x,id:"is_active",className:"relative top-0.5",onCheckedChange:t=>{s({target:{name:"is_active",value:t}}),y(t)}})})]})}),(D==null?void 0:D.is_superuser)&&e.jsx(k,{name:"is_superuser",children:e.jsxs("div",{children:[e.jsx(P,{className:"data-[invalid]:label-invalid mr-3",children:"Superuser"}),e.jsx($,{asChild:!0,children:e.jsx(Y,{checked:R,value:R,id:"is_superuser",className:"relative top-0.5",onCheckedChange:t=>{s({target:{name:"is_superuser",value:t}}),A(t)}})})]})})]})]}),e.jsxs("div",{className:"float-right",children:[e.jsx(X,{variant:"outline",onClick:()=>{T(!1)},className:"mr-3",children:c}),e.jsx(fe,{asChild:!0,children:e.jsx(X,{className:"mt-8",children:S})})]})]})})]})}function ke(){const[r,l]=i.useState(""),[c,S]=i.useState(ee),[p,C]=i.useState(se),a=te(s=>s.setSuccessData),b=te(s=>s.setErrorData),{userData:G}=i.useContext(de),[z,f]=i.useState(0),{mutate:L}=Ue(),{mutate:u}=je(),{mutate:O}=Te(),d=i.useRef([]);i.useEffect(()=>{setTimeout(()=>{j()},500)},[]);const[T,m]=i.useState(d.current),{mutate:U,isPending:w,isIdle:_}=ye({});function j(){U({skip:c*(p-1),limit:c},{onSuccess:s=>{f(s.total_count),d.current=s.users,m(s.users)},onError:()=>{}})}function H(s,n){S(n),C(s),U({skip:n*(s-1),limit:n},{onSuccess:t=>{f(t.total_count),d.current=t.users,m(t.users)}})}function x(){C(se),S(ee),j()}function y(s){if(l(s),s==="")m(d.current);else{const n=d.current.filter(t=>t.username.toLowerCase().includes(s.toLowerCase()));m(n)}}function R(s){L({user_id:s.id},{onSuccess:()=>{x(),a({title:_e})},onError:n=>{b({title:Se,list:[n.response.data.detail]})}})}function A(s,n){u({user_id:s,user:n},{onSuccess:()=>{x(),a({title:J})},onError:t=>{b({title:q,list:[t.response.data.detail]})}})}function B(s,n,t){const o=ne.cloneDeep(t);o.is_active=!s,u({user_id:n,user:o},{onSuccess:()=>{x(),a({title:J})},onError:I=>{b({title:q,list:[I.response.data.detail]})}})}function V(s,n,t){const o=ne.cloneDeep(t);o.is_superuser=!s,u({user_id:n,user:o},{onSuccess:()=>{x(),a({title:J})},onError:I=>{b({title:q,list:[I.response.data.detail]})}})}function D(s){O(s,{onSuccess:n=>{u({user_id:n.id,user:{is_active:s.is_active,is_superuser:s.is_superuser}},{onSuccess:()=>{x(),a({title:Ee})},onError:t=>{b({title:ie,list:[t.response.data.detail]})}})},onError:n=>{b({title:ie,list:[n.response.data.detail]})}})}return e.jsx(e.Fragment,{children:G&&e.jsxs("div",{className:"admin-page-panel flex h-full flex-col pb-8",children:[e.jsx("div",{className:"main-page-nav-arrangement",children:e.jsxs("span",{className:"main-page-nav-title",children:[e.jsx(E,{name:"Shield",className:"w-6"}),Ne]})}),e.jsx("span",{className:"admin-page-description-text",children:ge}),e.jsxs("div",{className:"flex w-full justify-between px-4",children:[e.jsxs("div",{className:"flex w-96 items-center gap-4",children:[e.jsx(ve,{placeholder:"Search Username",value:r,onChange:s=>y(s.target.value)}),r.length>0?e.jsx("div",{className:"cursor-pointer",onClick:()=>{l(""),m(d.current)},children:e.jsx(E,{name:"X",className:"w-6 text-foreground"})}):e.jsx("div",{children:e.jsx(E,{name:"Search",className:"w-6 text-foreground"})})]}),e.jsx("div",{children:e.jsx(re,{title:"New User",titleHeader:"Add a new user",cancelText:"Cancel",confirmationText:"Save",icon:"UserPlus2",onConfirm:(s,n)=>{D(n)},asChild:!0,children:e.jsx(X,{variant:"primary",children:"New User"})})})]}),w||_?e.jsx("div",{className:"flex h-full w-full items-center justify-center",children:e.jsx(Ce,{remSize:12})}):d.current.length===0&&!_?e.jsx(e.Fragment,{children:e.jsx("div",{className:"m-4 flex items-center justify-between text-sm",children:"No users registered."})}):e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"m-4 h-fit overflow-x-hidden overflow-y-scroll rounded-md border-2 bg-background custom-scroll"+(w?" border-0":""),children:e.jsxs(me,{className:"table-fixed outline-1",children:[e.jsx(ue,{className:w?"hidden":"table-fixed bg-muted outline-1",children:e.jsxs(Z,{children:[e.jsx(N,{className:"h-10",children:"Id"}),e.jsx(N,{className:"h-10",children:"Username"}),e.jsx(N,{className:"h-10",children:"Active"}),e.jsx(N,{className:"h-10",children:"Superuser"}),e.jsx(N,{className:"h-10",children:"Created At"}),e.jsx(N,{className:"h-10",children:"Updated At"}),e.jsx(N,{className:"h-10 w-[100px] text-right"})]})}),!w&&e.jsx(xe,{children:T.map((s,n)=>e.jsxs(Z,{children:[e.jsx(g,{className:"truncate py-2 font-medium",children:e.jsx(W,{content:s.id,children:e.jsx("span",{className:"cursor-default",children:s.id})})}),e.jsx(g,{className:"truncate py-2",children:e.jsx(W,{content:s.username,children:e.jsx("span",{className:"cursor-default",children:s.username})})}),e.jsx(g,{className:"relative left-1 truncate py-2 text-align-last-left",children:e.jsxs(h,{size:"x-small",title:"Edit",titleHeader:`${s.username}`,modalContentTitle:"Attention!",cancelText:"Cancel",confirmationText:"Confirm",icon:"UserCog2",data:s,index:n,onConfirm:(t,o)=>{B(o.is_active,o.id,o)},children:[e.jsx(h.Content,{children:e.jsx("span",{children:"Are you completely confident about the changes you are making to this user?"})}),e.jsx(h.Trigger,{children:e.jsx("div",{className:"flex w-fit",children:e.jsx(ae,{checked:s.is_active})})})]})}),e.jsx(g,{className:"relative left-1 truncate py-2 text-align-last-left",children:e.jsxs(h,{size:"x-small",title:"Edit",titleHeader:`${s.username}`,modalContentTitle:"Attention!",cancelText:"Cancel",confirmationText:"Confirm",icon:"UserCog2",data:s,index:n,onConfirm:(t,o)=>{V(o.is_superuser,o.id,o)},children:[e.jsx(h.Content,{children:e.jsx("span",{children:"Are you completely confident about the changes you are making to this user?"})}),e.jsx(h.Trigger,{children:e.jsx("div",{className:"flex w-fit",children:e.jsx(ae,{checked:s.is_superuser})})})]})}),e.jsx(g,{className:"truncate py-2",children:new Date(s.create_at).toISOString().split("T")[0]}),e.jsx(g,{className:"truncate py-2",children:new Date(s.updated_at).toISOString().split("T")[0]}),e.jsx(g,{className:"flex w-[100px] py-2 text-right",children:e.jsxs("div",{className:"flex",children:[e.jsx(re,{title:"Edit",titleHeader:`${s.id}`,cancelText:"Cancel",confirmationText:"Save",icon:"UserPlus2",data:s,index:n,onConfirm:(t,o)=>{A(s.id,o)},children:e.jsx(W,{content:"Edit",side:"top",children:e.jsx(E,{name:"Pencil",className:"h-4 w-4 cursor-pointer"})})}),e.jsxs(h,{size:"x-small",title:"Delete",titleHeader:"Delete User",modalContentTitle:"Attention!",cancelText:"Cancel",confirmationText:"Delete",icon:"UserMinus2",data:s,index:n,onConfirm:(t,o)=>{R(o)},children:[e.jsx(h.Content,{children:e.jsx("span",{children:"Are you sure you want to delete this user? This action cannot be undone."})}),e.jsx(h.Trigger,{children:e.jsx(E,{name:"Trash2",className:"ml-2 h-4 w-4 cursor-pointer"})})]})]})})]},n))})]})}),e.jsx(be,{pageIndex:p,pageSize:c,totalRowsCount:z,paginate:H,rowsCount:we})]})]})})}export{ke as default};
1
+ import{U as le,a as ce,g as oe,r as i,j as e,c as v,C as he,A as de,B as M,F as E,$ as pe,b as k,d as P,e as $,f as F,E as K,h as Q,i as Y,k as X,l as fe,P as ee,m as se,u as te,n as je,o as Ne,p as ge,I as ve,q as Ce,S as W,s as h,t as ae,v as be,w as we,x as Se,y as _e,z as q,D as J,G as ne,H as ie,J as Ee}from"./index-CRNpOQM-.js";import{u as Te}from"./use-post-add-user-xwrNqlN4.js";const Ue=r=>{const{mutate:l}=le();return l(["useDeleteUsers"],async({user_id:p})=>(await ce.delete(`${oe("USERS")}/${p}`)).data,r)},ye=r=>{const{mutate:l}=le();async function c({skip:p,limit:C}){const a=await ce.get(`${oe("USERS")}/?skip=${p}&limit=${C}`);return a.status===200?a.data:[]}return l(["useGetUsers"],c,r)},me=i.forwardRef(({className:r,...l},c)=>e.jsx("div",{className:"",children:e.jsx("table",{ref:c,className:v("w-full caption-bottom text-sm",r),...l})}));me.displayName="Table";const ue=i.forwardRef(({className:r,...l},c)=>e.jsx("thead",{ref:c,className:v("[&_tr]:border-b",r),...l}));ue.displayName="TableHeader";const xe=i.forwardRef(({className:r,...l},c)=>e.jsx("tbody",{ref:c,className:v("[&_tr:last-child]:border-0",r),...l}));xe.displayName="TableBody";const Re=i.forwardRef(({className:r,...l},c)=>e.jsx("tfoot",{ref:c,className:v("bg-primary font-medium text-primary-foreground",r),...l}));Re.displayName="TableFooter";const Z=i.forwardRef(({className:r,...l},c)=>e.jsx("tr",{ref:c,className:v("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",r),...l}));Z.displayName="TableRow";const N=i.forwardRef(({className:r,...l},c)=>e.jsx("th",{ref:c,className:v("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",r),...l}));N.displayName="TableHead";const g=i.forwardRef(({className:r,...l},c)=>e.jsx("td",{ref:c,className:v("p-4 align-middle [&:has([role=checkbox])]:pr-0",r),...l}));g.displayName="TableCell";const Ae=i.forwardRef(({className:r,...l},c)=>e.jsx("caption",{ref:c,className:v("mt-4 text-sm text-muted-foreground",r),...l}));Ae.displayName="TableCaption";function re({title:r,titleHeader:l,cancelText:c,confirmationText:S,children:p,icon:C,data:a,index:b,onConfirm:G,asChild:z}){const[f,L]=i.useState(!1),[u,O]=i.useState(!1),[d,T]=i.useState(!1),[m,U]=i.useState((a==null?void 0:a.password)??""),[w,_]=i.useState((a==null?void 0:a.username)??""),[j,H]=i.useState((a==null?void 0:a.password)??""),[x,y]=i.useState((a==null?void 0:a.is_active)??!1),[R,A]=i.useState((a==null?void 0:a.is_superuser)??!1),[B,V]=i.useState(he),{userData:D}=i.useContext(de);function s({target:{name:t,value:o}}){V(I=>({...I,[t]:o}))}i.useEffect(()=>{d&&(a?(_(a.username),y(a.is_active),A(a.is_superuser),s({target:{name:"username",value:w}}),s({target:{name:"is_active",value:x}}),s({target:{name:"is_superuser",value:R}})):n())},[d]);function n(){U(""),_(""),H(""),y(!1),A(!1)}return e.jsxs(M,{size:"medium-h-full",open:d,setOpen:T,children:[e.jsx(M.Trigger,{asChild:z,children:p}),e.jsxs(M.Header,{description:l,children:[e.jsx("span",{className:"pr-2",children:r}),e.jsx(E,{name:C,className:"h-6 w-6 pl-1 text-foreground","aria-hidden":"true"})]}),e.jsx(M.Content,{children:e.jsxs(pe,{onSubmit:t=>{if(m!==j){t.preventDefault();return}n(),G(1,B),T(!1),t.preventDefault()},children:[e.jsxs("div",{className:"grid gap-5",children:[e.jsxs(k,{name:"username",children:[e.jsx("div",{style:{display:"flex",alignItems:"baseline",justifyContent:"space-between"},children:e.jsxs(P,{className:"data-[invalid]:label-invalid",children:["Username"," ",e.jsx("span",{className:"font-medium text-destructive",children:"*"})]})}),e.jsx($,{asChild:!0,children:e.jsx("input",{onChange:({target:{value:t}})=>{s({target:{name:"username",value:t}}),_(t)},value:w,className:"primary-input",required:!0,placeholder:"Username"})}),e.jsx(F,{match:"valueMissing",className:"field-invalid",children:"Please enter your username"})]}),e.jsxs("div",{className:"flex flex-row",children:[e.jsx("div",{className:"mr-3 basis-1/2",children:e.jsxs(k,{name:"password",serverInvalid:m!=j,children:[e.jsx("div",{style:{display:"flex",alignItems:"baseline",justifyContent:"space-between"},children:e.jsxs(P,{className:"data-[invalid]:label-invalid flex",children:["Password"," ",e.jsx("span",{className:"ml-1 mr-1 font-medium text-destructive",children:"*"}),f&&e.jsx(K,{onClick:()=>L(!f),className:"h-5 cursor-pointer",strokeWidth:1.5}),!f&&e.jsx(Q,{onClick:()=>L(!f),className:"h-5 cursor-pointer",strokeWidth:1.5})]})}),e.jsx($,{asChild:!0,children:e.jsx("input",{onChange:({target:{value:t}})=>{s({target:{name:"password",value:t}}),U(t)},value:m,className:"primary-input",required:!a,type:f?"text":"password"})}),e.jsx(F,{className:"field-invalid",match:"valueMissing",children:"Please enter a password"}),m!=j&&e.jsx(F,{className:"field-invalid",children:"Passwords do not match"})]})}),e.jsx("div",{className:"basis-1/2",children:e.jsxs(k,{name:"confirmpassword",serverInvalid:m!=j,children:[e.jsx("div",{style:{display:"flex",alignItems:"baseline",justifyContent:"space-between"},children:e.jsxs(P,{className:"data-[invalid]:label-invalid flex",children:["Confirm password"," ",e.jsx("span",{className:"ml-1 mr-1 font-medium text-destructive",children:"*"}),u&&e.jsx(K,{onClick:()=>O(!u),className:"h-5 cursor-pointer",strokeWidth:1.5}),!u&&e.jsx(Q,{onClick:()=>O(!u),className:"h-5 cursor-pointer",strokeWidth:1.5})]})}),e.jsx($,{asChild:!0,children:e.jsx("input",{onChange:t=>{H(t.target.value)},value:j,className:"primary-input",required:!a,type:u?"text":"password"})}),e.jsx(F,{className:"field-invalid",match:"valueMissing",children:"Please confirm your password"})]})})]}),e.jsxs("div",{className:"flex gap-8",children:[e.jsx(k,{name:"is_active",children:e.jsxs("div",{children:[e.jsx(P,{className:"data-[invalid]:label-invalid mr-3",children:"Active"}),e.jsx($,{asChild:!0,children:e.jsx(Y,{value:x,checked:x,id:"is_active",className:"relative top-0.5",onCheckedChange:t=>{s({target:{name:"is_active",value:t}}),y(t)}})})]})}),(D==null?void 0:D.is_superuser)&&e.jsx(k,{name:"is_superuser",children:e.jsxs("div",{children:[e.jsx(P,{className:"data-[invalid]:label-invalid mr-3",children:"Superuser"}),e.jsx($,{asChild:!0,children:e.jsx(Y,{checked:R,value:R,id:"is_superuser",className:"relative top-0.5",onCheckedChange:t=>{s({target:{name:"is_superuser",value:t}}),A(t)}})})]})})]})]}),e.jsxs("div",{className:"float-right",children:[e.jsx(X,{variant:"outline",onClick:()=>{T(!1)},className:"mr-3",children:c}),e.jsx(fe,{asChild:!0,children:e.jsx(X,{className:"mt-8",children:S})})]})]})})]})}function ke(){const[r,l]=i.useState(""),[c,S]=i.useState(ee),[p,C]=i.useState(se),a=te(s=>s.setSuccessData),b=te(s=>s.setErrorData),{userData:G}=i.useContext(de),[z,f]=i.useState(0),{mutate:L}=Ue(),{mutate:u}=je(),{mutate:O}=Te(),d=i.useRef([]);i.useEffect(()=>{setTimeout(()=>{j()},500)},[]);const[T,m]=i.useState(d.current),{mutate:U,isPending:w,isIdle:_}=ye({});function j(){U({skip:c*(p-1),limit:c},{onSuccess:s=>{f(s.total_count),d.current=s.users,m(s.users)},onError:()=>{}})}function H(s,n){S(n),C(s),U({skip:n*(s-1),limit:n},{onSuccess:t=>{f(t.total_count),d.current=t.users,m(t.users)}})}function x(){C(se),S(ee),j()}function y(s){if(l(s),s==="")m(d.current);else{const n=d.current.filter(t=>t.username.toLowerCase().includes(s.toLowerCase()));m(n)}}function R(s){L({user_id:s.id},{onSuccess:()=>{x(),a({title:_e})},onError:n=>{b({title:Se,list:[n.response.data.detail]})}})}function A(s,n){u({user_id:s,user:n},{onSuccess:()=>{x(),a({title:J})},onError:t=>{b({title:q,list:[t.response.data.detail]})}})}function B(s,n,t){const o=ne.cloneDeep(t);o.is_active=!s,u({user_id:n,user:o},{onSuccess:()=>{x(),a({title:J})},onError:I=>{b({title:q,list:[I.response.data.detail]})}})}function V(s,n,t){const o=ne.cloneDeep(t);o.is_superuser=!s,u({user_id:n,user:o},{onSuccess:()=>{x(),a({title:J})},onError:I=>{b({title:q,list:[I.response.data.detail]})}})}function D(s){O(s,{onSuccess:n=>{u({user_id:n.id,user:{is_active:s.is_active,is_superuser:s.is_superuser}},{onSuccess:()=>{x(),a({title:Ee})},onError:t=>{b({title:ie,list:[t.response.data.detail]})}})},onError:n=>{b({title:ie,list:[n.response.data.detail]})}})}return e.jsx(e.Fragment,{children:G&&e.jsxs("div",{className:"admin-page-panel flex h-full flex-col pb-8",children:[e.jsx("div",{className:"main-page-nav-arrangement",children:e.jsxs("span",{className:"main-page-nav-title",children:[e.jsx(E,{name:"Shield",className:"w-6"}),Ne]})}),e.jsx("span",{className:"admin-page-description-text",children:ge}),e.jsxs("div",{className:"flex w-full justify-between px-4",children:[e.jsxs("div",{className:"flex w-96 items-center gap-4",children:[e.jsx(ve,{placeholder:"Search Username",value:r,onChange:s=>y(s.target.value)}),r.length>0?e.jsx("div",{className:"cursor-pointer",onClick:()=>{l(""),m(d.current)},children:e.jsx(E,{name:"X",className:"w-6 text-foreground"})}):e.jsx("div",{children:e.jsx(E,{name:"Search",className:"w-6 text-foreground"})})]}),e.jsx("div",{children:e.jsx(re,{title:"New User",titleHeader:"Add a new user",cancelText:"Cancel",confirmationText:"Save",icon:"UserPlus2",onConfirm:(s,n)=>{D(n)},asChild:!0,children:e.jsx(X,{variant:"primary",children:"New User"})})})]}),w||_?e.jsx("div",{className:"flex h-full w-full items-center justify-center",children:e.jsx(Ce,{remSize:12})}):d.current.length===0&&!_?e.jsx(e.Fragment,{children:e.jsx("div",{className:"m-4 flex items-center justify-between text-sm",children:"No users registered."})}):e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"m-4 h-fit overflow-x-hidden overflow-y-scroll rounded-md border-2 bg-background custom-scroll"+(w?" border-0":""),children:e.jsxs(me,{className:"table-fixed outline-1",children:[e.jsx(ue,{className:w?"hidden":"table-fixed bg-muted outline-1",children:e.jsxs(Z,{children:[e.jsx(N,{className:"h-10",children:"Id"}),e.jsx(N,{className:"h-10",children:"Username"}),e.jsx(N,{className:"h-10",children:"Active"}),e.jsx(N,{className:"h-10",children:"Superuser"}),e.jsx(N,{className:"h-10",children:"Created At"}),e.jsx(N,{className:"h-10",children:"Updated At"}),e.jsx(N,{className:"h-10 w-[100px] text-right"})]})}),!w&&e.jsx(xe,{children:T.map((s,n)=>e.jsxs(Z,{children:[e.jsx(g,{className:"truncate py-2 font-medium",children:e.jsx(W,{content:s.id,children:e.jsx("span",{className:"cursor-default",children:s.id})})}),e.jsx(g,{className:"truncate py-2",children:e.jsx(W,{content:s.username,children:e.jsx("span",{className:"cursor-default",children:s.username})})}),e.jsx(g,{className:"relative left-1 truncate py-2 text-align-last-left",children:e.jsxs(h,{size:"x-small",title:"Edit",titleHeader:`${s.username}`,modalContentTitle:"Attention!",cancelText:"Cancel",confirmationText:"Confirm",icon:"UserCog2",data:s,index:n,onConfirm:(t,o)=>{B(o.is_active,o.id,o)},children:[e.jsx(h.Content,{children:e.jsx("span",{children:"Are you completely confident about the changes you are making to this user?"})}),e.jsx(h.Trigger,{children:e.jsx("div",{className:"flex w-fit",children:e.jsx(ae,{checked:s.is_active})})})]})}),e.jsx(g,{className:"relative left-1 truncate py-2 text-align-last-left",children:e.jsxs(h,{size:"x-small",title:"Edit",titleHeader:`${s.username}`,modalContentTitle:"Attention!",cancelText:"Cancel",confirmationText:"Confirm",icon:"UserCog2",data:s,index:n,onConfirm:(t,o)=>{V(o.is_superuser,o.id,o)},children:[e.jsx(h.Content,{children:e.jsx("span",{children:"Are you completely confident about the changes you are making to this user?"})}),e.jsx(h.Trigger,{children:e.jsx("div",{className:"flex w-fit",children:e.jsx(ae,{checked:s.is_superuser})})})]})}),e.jsx(g,{className:"truncate py-2",children:new Date(s.create_at).toISOString().split("T")[0]}),e.jsx(g,{className:"truncate py-2",children:new Date(s.updated_at).toISOString().split("T")[0]}),e.jsx(g,{className:"flex w-[100px] py-2 text-right",children:e.jsxs("div",{className:"flex",children:[e.jsx(re,{title:"Edit",titleHeader:`${s.id}`,cancelText:"Cancel",confirmationText:"Save",icon:"UserPlus2",data:s,index:n,onConfirm:(t,o)=>{A(s.id,o)},children:e.jsx(W,{content:"Edit",side:"top",children:e.jsx(E,{name:"Pencil",className:"h-4 w-4 cursor-pointer"})})}),e.jsxs(h,{size:"x-small",title:"Delete",titleHeader:"Delete User",modalContentTitle:"Attention!",cancelText:"Cancel",confirmationText:"Delete",icon:"UserMinus2",data:s,index:n,onConfirm:(t,o)=>{R(o)},children:[e.jsx(h.Content,{children:e.jsx("span",{children:"Are you sure you want to delete this user? This action cannot be undone."})}),e.jsx(h.Trigger,{children:e.jsx(E,{name:"Trash2",className:"ml-2 h-4 w-4 cursor-pointer"})})]})]})})]},n))})]})}),e.jsx(be,{pageIndex:p,pageSize:c,totalRowsCount:z,paginate:H,rowsCount:we})]})]})})}export{ke as default};
@@ -0,0 +1 @@
1
+ import{j as t,r as o}from"./index-CRNpOQM-.js";const r=s=>t.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",id:"Contentful--Streamline-Svg-Logos",height:"24",width:"24",children:[t.jsx("desc",{children:"Contentful Streamline Icon: https://streamlinehq.com"}),t.jsx("path",{fill:"#fae501",d:"M8.71365 16.6266c-1.248425 -1.175 -1.9828 -2.790625 -1.9828 -4.626575s0.734375 -3.451575 1.909375 -4.626575c1.028125 -1.028125 1.028125 -2.64375 0 -3.671875 -1.028125 -1.028125 -2.64375 -1.028125 -3.671875 0 -2.056275 2.1297 -3.37814 5.0672 -3.37814 8.29845 0 3.23125 1.321865 6.16875 3.451565 8.29845 1.028125 1.028125 2.64375 1.028125 3.671875 0 0.9547 -1.028125 0.9547 -2.64375 0 -3.671875Z","stroke-width":"0.25"}),t.jsx("path",{fill:"#4fb5e1",d:"M8.713475 7.37345c1.175 -1.24845 2.790625 -1.982825 4.626575 -1.982825S16.791625 6.125 17.966625 7.3c1.028125 1.028125 2.64375 1.028125 3.671875 0 1.028125 -1.028125 1.028125 -2.64375 0 -3.671875C19.508825 1.5718775 16.5713 0.25 13.34005 0.25c-3.23125 0 -6.16875 1.3218775 -8.29845 3.451575 -1.028125 1.028125 -1.028125 2.64375 0 3.671875 1.028125 0.954675 2.64375 0.954675 3.671875 0Z","stroke-width":"0.25"}),t.jsx("path",{fill:"#f05751",d:"M17.966625 16.62655c-1.175 1.248425 -2.790625 1.9828 -4.626575 1.9828s-3.451575 -0.734375 -4.626575 -1.909375c-1.028125 -1.028125 -2.64375 -1.028125 -3.671875 0 -1.028125 1.028125 -1.028125 2.64375 0 3.671875 2.1297 2.05625 5.0672 3.378125 8.29845 3.378125 3.23125 0 6.168775 -1.321875 8.29845 -3.45155 1.028125 -1.028125 1.028125 -2.64375 0 -3.671875 -1.028125 -0.9547 -2.64375 -0.9547 -3.671875 0Z","stroke-width":"0.25"}),t.jsx("path",{fill:"#0681b6",d:"M6.8777 8.107725c1.419525 0 2.5703 -1.15075 2.5703 -2.5703s-1.150775 -2.570325 -2.5703 -2.570325c-1.41955 0 -2.570325 1.150775 -2.570325 2.570325 0 1.41955 1.150775 2.5703 2.570325 2.5703Z","stroke-width":"0.25"}),t.jsx("path",{fill:"#cd4739",d:"M6.8777 21.03285c1.419525 0 2.5703 -1.150775 2.5703 -2.570325 0 -1.41955 -1.150775 -2.570325 -2.5703 -2.570325 -1.41955 0 -2.570325 1.150775 -2.570325 2.570325 0 1.41955 1.150775 2.570325 2.570325 2.570325Z","stroke-width":"0.25"})]}),c=o.forwardRef((s,e)=>t.jsx(r,{ref:e,...s}));export{c as ContentfulIcon};
@@ -1,4 +1,4 @@
1
- import{j as n,r as i}from"./index-pBO0SZLD.js";const l=C=>n.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1080 1080",...C,children:[n.jsx("g",{fill:"None",fillOpacity:"0.0",stroke:"#000000",strokeOpacity:"0.00",strokeWidth:"0.3",children:n.jsx("path",{d:`
1
+ import{j as n,r as i}from"./index-CRNpOQM-.js";const l=C=>n.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1080 1080",...C,children:[n.jsx("g",{fill:"None",fillOpacity:"0.0",stroke:"#000000",strokeOpacity:"0.00",strokeWidth:"0.3",children:n.jsx("path",{d:`
2
2
  M 0.00 1080.00
3
3
  L 1080.00 1080.00
4
4
  L 1080.00 0.00
@@ -1 +1 @@
1
- import{j as r,r as l}from"./index-pBO0SZLD.js";const x=t=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 204 146.6",fill:"none",...t,children:[r.jsx("rect",{fill:"currentColor",x:"43.9",y:"50.3",width:"64.3",height:"8.7",rx:"2.6",ry:"2.6"}),r.jsx("rect",{fill:"currentColor",y:"50.3",width:"35.3",height:"8.7",rx:"2.6",ry:"2.6"}),r.jsx("rect",{fill:"currentColor",x:"124.1",y:"50.3",width:"40.3",height:"8.7",rx:"2.6",ry:"2.6"}),r.jsx("rect",{fill:"currentColor",x:"129.9",y:"37.8",width:"34.5",height:"8.7",rx:"2.6",ry:"2.6"}),r.jsx("rect",{fill:"currentColor",x:"168.9",y:"37.8",width:"27.3",height:"8.7",rx:"2.6",ry:"2.6"}),r.jsx("rect",{fill:"currentColor",x:"157.3",y:"25",width:"31.1",height:"8.7",rx:"2.6",ry:"2.6"}),r.jsx("rect",{fill:"currentColor",x:"167.1",y:"12.5",width:"9.2",height:"8.7",rx:"2.6",ry:"2.6"}),r.jsx("rect",{fill:"currentColor",x:"74.3",y:"112.6",width:"15.9",height:"9",rx:"2.6",ry:"2.6"}),r.jsx("rect",{fill:"currentColor",x:"101.8",y:"112.6",width:"10.4",height:"9",rx:"2.6",ry:"2.6"}),r.jsx("rect",{fill:"currentColor",x:"117",y:"112.6",width:"28",height:"9",rx:"2.6",ry:"2.6"}),r.jsx("rect",{fill:"currentColor",x:"131",y:"100.1",width:"11.6",height:"9",rx:"2.6",ry:"2.6"}),r.jsx("rect",{fill:"currentColor",x:"52.4",y:"112.6",width:"9.2",height:"9",rx:"2.6",ry:"2.6"}),r.jsx("path",{fill:"currentColor",d:"M94.7,127.7c0-1.4,1.1-2.6,2.6-2.6h4c1.4,0,2.6,1.1,2.6,2.6v3.9c0,1.4-1.1,2.6-2.6,2.6h-4c-1.4,0-2.6-1.1-2.6-2.6v-3.9Z"}),r.jsx("rect",{fill:"currentColor",x:"85.8",y:"137.6",width:"8.7",height:"9",rx:"2.6",ry:"2.6"}),r.jsx("rect",{fill:"currentColor",x:"120.4",width:"11.4",height:"8.7",rx:"2.6",ry:"2.6"}),r.jsx("rect",{fill:"currentColor",x:"55.8",y:"37.8",width:"29",height:"8.7",rx:"2.6",ry:"2.6"}),r.jsx("rect",{fill:"currentColor",x:"109.7",y:"12.5",width:"17.6",height:"8.7",rx:"2.6",ry:"2.6"}),r.jsx("rect",{fill:"currentColor",x:"98.8",y:"25",width:"28.5",height:"8.7",rx:"2.6",ry:"2.6"}),r.jsx("rect",{fill:"currentColor",x:"187.4",y:"50.3",width:"16.6",height:"8.7",rx:"2.6",ry:"2.6"}),r.jsx("rect",{fill:"currentColor",x:"30.6",y:"62.8",width:"82.1",height:"8.7",rx:"2.6",ry:"2.6"}),r.jsx("rect",{fill:"currentColor",x:"105.1",y:"87.8",width:"32.1",height:"8.7",rx:"2.6",ry:"2.6"}),r.jsx("rect",{fill:"currentColor",x:"43.9",y:"75.3",width:"104.3",height:"8.7",rx:"2.6",ry:"2.6"}),r.jsx("rect",{fill:"currentColor",x:"27.9",y:"87.8",width:"38.8",height:"8.7",rx:"2.6",ry:"2.6"}),r.jsx("rect",{fill:"currentColor",x:"63.3",y:"100.1",width:"12.7",height:"9",rx:"2.6",ry:"2.6"}),r.jsx("rect",{fill:"currentColor",x:"108.1",y:"100.1",width:"13.7",height:"9",rx:"2.6",ry:"2.6"}),r.jsx("rect",{fill:"currentColor",x:"39.8",y:"100.1",width:"12.9",height:"9",rx:"2.6",ry:"2.6"}),r.jsx("rect",{fill:"currentColor",x:"124.1",y:"62.8",width:"33.1",height:"8.7",rx:"2.6",ry:"2.6"})]}),h=l.forwardRef((t,e)=>r.jsx(x,{ref:e,...t}));export{h as TwelveLabsIcon};
1
+ import{j as r,r as l}from"./index-CRNpOQM-.js";const x=t=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 204 146.6",fill:"none",...t,children:[r.jsx("rect",{fill:"currentColor",x:"43.9",y:"50.3",width:"64.3",height:"8.7",rx:"2.6",ry:"2.6"}),r.jsx("rect",{fill:"currentColor",y:"50.3",width:"35.3",height:"8.7",rx:"2.6",ry:"2.6"}),r.jsx("rect",{fill:"currentColor",x:"124.1",y:"50.3",width:"40.3",height:"8.7",rx:"2.6",ry:"2.6"}),r.jsx("rect",{fill:"currentColor",x:"129.9",y:"37.8",width:"34.5",height:"8.7",rx:"2.6",ry:"2.6"}),r.jsx("rect",{fill:"currentColor",x:"168.9",y:"37.8",width:"27.3",height:"8.7",rx:"2.6",ry:"2.6"}),r.jsx("rect",{fill:"currentColor",x:"157.3",y:"25",width:"31.1",height:"8.7",rx:"2.6",ry:"2.6"}),r.jsx("rect",{fill:"currentColor",x:"167.1",y:"12.5",width:"9.2",height:"8.7",rx:"2.6",ry:"2.6"}),r.jsx("rect",{fill:"currentColor",x:"74.3",y:"112.6",width:"15.9",height:"9",rx:"2.6",ry:"2.6"}),r.jsx("rect",{fill:"currentColor",x:"101.8",y:"112.6",width:"10.4",height:"9",rx:"2.6",ry:"2.6"}),r.jsx("rect",{fill:"currentColor",x:"117",y:"112.6",width:"28",height:"9",rx:"2.6",ry:"2.6"}),r.jsx("rect",{fill:"currentColor",x:"131",y:"100.1",width:"11.6",height:"9",rx:"2.6",ry:"2.6"}),r.jsx("rect",{fill:"currentColor",x:"52.4",y:"112.6",width:"9.2",height:"9",rx:"2.6",ry:"2.6"}),r.jsx("path",{fill:"currentColor",d:"M94.7,127.7c0-1.4,1.1-2.6,2.6-2.6h4c1.4,0,2.6,1.1,2.6,2.6v3.9c0,1.4-1.1,2.6-2.6,2.6h-4c-1.4,0-2.6-1.1-2.6-2.6v-3.9Z"}),r.jsx("rect",{fill:"currentColor",x:"85.8",y:"137.6",width:"8.7",height:"9",rx:"2.6",ry:"2.6"}),r.jsx("rect",{fill:"currentColor",x:"120.4",width:"11.4",height:"8.7",rx:"2.6",ry:"2.6"}),r.jsx("rect",{fill:"currentColor",x:"55.8",y:"37.8",width:"29",height:"8.7",rx:"2.6",ry:"2.6"}),r.jsx("rect",{fill:"currentColor",x:"109.7",y:"12.5",width:"17.6",height:"8.7",rx:"2.6",ry:"2.6"}),r.jsx("rect",{fill:"currentColor",x:"98.8",y:"25",width:"28.5",height:"8.7",rx:"2.6",ry:"2.6"}),r.jsx("rect",{fill:"currentColor",x:"187.4",y:"50.3",width:"16.6",height:"8.7",rx:"2.6",ry:"2.6"}),r.jsx("rect",{fill:"currentColor",x:"30.6",y:"62.8",width:"82.1",height:"8.7",rx:"2.6",ry:"2.6"}),r.jsx("rect",{fill:"currentColor",x:"105.1",y:"87.8",width:"32.1",height:"8.7",rx:"2.6",ry:"2.6"}),r.jsx("rect",{fill:"currentColor",x:"43.9",y:"75.3",width:"104.3",height:"8.7",rx:"2.6",ry:"2.6"}),r.jsx("rect",{fill:"currentColor",x:"27.9",y:"87.8",width:"38.8",height:"8.7",rx:"2.6",ry:"2.6"}),r.jsx("rect",{fill:"currentColor",x:"63.3",y:"100.1",width:"12.7",height:"9",rx:"2.6",ry:"2.6"}),r.jsx("rect",{fill:"currentColor",x:"108.1",y:"100.1",width:"13.7",height:"9",rx:"2.6",ry:"2.6"}),r.jsx("rect",{fill:"currentColor",x:"39.8",y:"100.1",width:"12.9",height:"9",rx:"2.6",ry:"2.6"}),r.jsx("rect",{fill:"currentColor",x:"124.1",y:"62.8",width:"33.1",height:"8.7",rx:"2.6",ry:"2.6"})]}),h=l.forwardRef((t,e)=>r.jsx(x,{ref:e,...t}));export{h as TwelveLabsIcon};
@@ -1 +1 @@
1
- import{j as e,r}from"./index-pBO0SZLD.js";const s=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 375 375",...t,children:[e.jsxs("defs",{children:[e.jsx("clipPath",{id:"a",children:e.jsx("path",{d:"M109.379 231.133h37.105v37.105H109.38Zm0 0"})}),e.jsx("clipPath",{id:"b",children:e.jsx("path",{d:"M127.934 231.133c-10.246 0-18.555 8.304-18.555 18.554 0 10.247 8.308 18.551 18.555 18.551 10.246 0 18.55-8.304 18.55-18.55 0-10.25-8.304-18.555-18.55-18.555Zm0 0"})})]}),e.jsx("path",{fill:"none",stroke:"#f25022",strokeLinecap:"round",strokeWidth:28.360419999999998,d:"M127.926 239.96V50.165"}),e.jsx("path",{fill:"none",stroke:"#f25022",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:28.360419999999998,d:"m85.387 99.793 42.539-56.719 42.539 56.719"}),e.jsx("path",{fill:"none",stroke:"#ffb901",strokeLinecap:"round",strokeWidth:28.360419999999998,d:"m141.012 254.168 172.476-.02"}),e.jsx("path",{fill:"none",stroke:"#ffb901",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:28.360419999999998,d:"m263.855 211.613 56.723 42.535-56.715 42.547"}),e.jsx("path",{fill:"none",stroke:"#04a3ec",strokeLinecap:"round",strokeWidth:23.20398,d:"m117.852 259.344-57.446 66.015"}),e.jsx("path",{fill:"none",stroke:"#04a3ec",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:23.20398,d:"m113.32 317.574-56.718 12.16 4.207-57.859"}),e.jsx("g",{clipPath:"url(#a)",children:e.jsx("g",{clipPath:"url(#b)",children:e.jsx("path",{fill:"#32b37f",d:"M109.379 231.133h37.105v37.105H109.38Zm0 0"})})})]}),i=r.forwardRef((t,o)=>e.jsx(s,{ref:o,...t}));export{i as TavilyIcon};
1
+ import{j as e,r}from"./index-CRNpOQM-.js";const s=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 375 375",...t,children:[e.jsxs("defs",{children:[e.jsx("clipPath",{id:"a",children:e.jsx("path",{d:"M109.379 231.133h37.105v37.105H109.38Zm0 0"})}),e.jsx("clipPath",{id:"b",children:e.jsx("path",{d:"M127.934 231.133c-10.246 0-18.555 8.304-18.555 18.554 0 10.247 8.308 18.551 18.555 18.551 10.246 0 18.55-8.304 18.55-18.55 0-10.25-8.304-18.555-18.55-18.555Zm0 0"})})]}),e.jsx("path",{fill:"none",stroke:"#f25022",strokeLinecap:"round",strokeWidth:28.360419999999998,d:"M127.926 239.96V50.165"}),e.jsx("path",{fill:"none",stroke:"#f25022",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:28.360419999999998,d:"m85.387 99.793 42.539-56.719 42.539 56.719"}),e.jsx("path",{fill:"none",stroke:"#ffb901",strokeLinecap:"round",strokeWidth:28.360419999999998,d:"m141.012 254.168 172.476-.02"}),e.jsx("path",{fill:"none",stroke:"#ffb901",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:28.360419999999998,d:"m263.855 211.613 56.723 42.535-56.715 42.547"}),e.jsx("path",{fill:"none",stroke:"#04a3ec",strokeLinecap:"round",strokeWidth:23.20398,d:"m117.852 259.344-57.446 66.015"}),e.jsx("path",{fill:"none",stroke:"#04a3ec",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:23.20398,d:"m113.32 317.574-56.718 12.16 4.207-57.859"}),e.jsx("g",{clipPath:"url(#a)",children:e.jsx("g",{clipPath:"url(#b)",children:e.jsx("path",{fill:"#32b37f",d:"M109.379 231.133h37.105v37.105H109.38Zm0 0"})})})]}),i=r.forwardRef((t,o)=>e.jsx(s,{ref:o,...t}));export{i as TavilyIcon};
@@ -1 +1 @@
1
- import{j as s,r as i}from"./index-pBO0SZLD.js";const l=C=>s.jsxs("svg",{viewBox:"0 0 256 341",version:"1.1",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid",...C,children:[s.jsx("title",{children:"upstash"}),s.jsxs("g",{children:[s.jsx("path",{d:"M0,298.416784 C56.5542815,354.970323 148.246768,354.970323 204.801032,298.416784 C261.354571,241.86252 261.354571,150.170106 204.801032,93.6158424 L179.200462,119.215688 C221.61634,161.631567 221.61634,230.401059 179.200462,272.816213 C136.785307,315.232092 68.0157428,315.232092 25.5998642,272.816213 L0,298.416784 Z",fill:"#00C98D"}),s.jsx("path",{d:"M51.200362,247.216367 C79.4772765,275.493137 125.323122,275.493137 153.600615,247.216367 C181.877385,218.939598 181.877385,173.093028 153.600615,144.816259 L128.000769,170.416105 C142.139154,184.55449 142.139154,207.477412 128.000769,221.616521 C113.86166,235.754906 90.9387378,235.754906 76.800353,221.616521 L51.200362,247.216367 Z",fill:"#00C98D"}),s.jsx("path",{d:"M256,42.415426 C199.445737,-14.1384753 107.753322,-14.1384753 51.1994207,42.415426 C-5.35485714,98.9696894 -5.35485714,190.662104 51.1994207,247.216367 L76.7989048,221.616521 C34.3841124,179.200643 34.3841124,110.431151 76.7989048,68.0159962 C119.214783,25.6001177 187.984275,25.6001177 230.39943,68.0159962 L256,42.415426 Z",fill:"#00C98D"}),s.jsx("path",{d:"M204.800308,93.6158424 C176.523538,65.3390727 130.676245,65.3390727 102.399475,93.6158424 C74.1219813,121.893336 74.1219813,167.739181 102.399475,196.015951 L127.999321,170.416105 C113.860936,156.27772 113.860936,133.354797 127.999321,119.215688 C142.137706,105.077304 165.060629,105.077304 179.199738,119.215688 L204.800308,93.6158424 Z",fill:"#00C98D"}),s.jsx("path",{d:"M256,42.415426 C199.445737,-14.1384753 107.753322,-14.1384753 51.1994207,42.415426 C-5.35485714,98.9696894 -5.35485714,190.662104 51.1994207,247.216367 L76.7989048,221.616521 C34.3841124,179.200643 34.3841124,110.431151 76.7989048,68.0159962 C119.214783,25.6001177 187.984275,25.6001177 230.39943,68.0159962 L256,42.415426 Z",fillOpacity:"0.4",fill:"#FFFFFF"}),s.jsx("path",{d:"M204.800308,93.6158424 C176.523538,65.3390727 130.676245,65.3390727 102.399475,93.6158424 C74.1219813,121.893336 74.1219813,167.739181 102.399475,196.015951 L127.999321,170.416105 C113.860936,156.27772 113.860936,133.354797 127.999321,119.215688 C142.137706,105.077304 165.060629,105.077304 179.199738,119.215688 L204.800308,93.6158424 Z",fillOpacity:"0.4",fill:"#FFFFFF"})]})]}),r=i.forwardRef((C,t)=>s.jsx(l,{ref:t,...C}));export{r as UpstashSvgIcon};
1
+ import{j as s,r as i}from"./index-CRNpOQM-.js";const l=C=>s.jsxs("svg",{viewBox:"0 0 256 341",version:"1.1",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid",...C,children:[s.jsx("title",{children:"upstash"}),s.jsxs("g",{children:[s.jsx("path",{d:"M0,298.416784 C56.5542815,354.970323 148.246768,354.970323 204.801032,298.416784 C261.354571,241.86252 261.354571,150.170106 204.801032,93.6158424 L179.200462,119.215688 C221.61634,161.631567 221.61634,230.401059 179.200462,272.816213 C136.785307,315.232092 68.0157428,315.232092 25.5998642,272.816213 L0,298.416784 Z",fill:"#00C98D"}),s.jsx("path",{d:"M51.200362,247.216367 C79.4772765,275.493137 125.323122,275.493137 153.600615,247.216367 C181.877385,218.939598 181.877385,173.093028 153.600615,144.816259 L128.000769,170.416105 C142.139154,184.55449 142.139154,207.477412 128.000769,221.616521 C113.86166,235.754906 90.9387378,235.754906 76.800353,221.616521 L51.200362,247.216367 Z",fill:"#00C98D"}),s.jsx("path",{d:"M256,42.415426 C199.445737,-14.1384753 107.753322,-14.1384753 51.1994207,42.415426 C-5.35485714,98.9696894 -5.35485714,190.662104 51.1994207,247.216367 L76.7989048,221.616521 C34.3841124,179.200643 34.3841124,110.431151 76.7989048,68.0159962 C119.214783,25.6001177 187.984275,25.6001177 230.39943,68.0159962 L256,42.415426 Z",fill:"#00C98D"}),s.jsx("path",{d:"M204.800308,93.6158424 C176.523538,65.3390727 130.676245,65.3390727 102.399475,93.6158424 C74.1219813,121.893336 74.1219813,167.739181 102.399475,196.015951 L127.999321,170.416105 C113.860936,156.27772 113.860936,133.354797 127.999321,119.215688 C142.137706,105.077304 165.060629,105.077304 179.199738,119.215688 L204.800308,93.6158424 Z",fill:"#00C98D"}),s.jsx("path",{d:"M256,42.415426 C199.445737,-14.1384753 107.753322,-14.1384753 51.1994207,42.415426 C-5.35485714,98.9696894 -5.35485714,190.662104 51.1994207,247.216367 L76.7989048,221.616521 C34.3841124,179.200643 34.3841124,110.431151 76.7989048,68.0159962 C119.214783,25.6001177 187.984275,25.6001177 230.39943,68.0159962 L256,42.415426 Z",fillOpacity:"0.4",fill:"#FFFFFF"}),s.jsx("path",{d:"M204.800308,93.6158424 C176.523538,65.3390727 130.676245,65.3390727 102.399475,93.6158424 C74.1219813,121.893336 74.1219813,167.739181 102.399475,196.015951 L127.999321,170.416105 C113.860936,156.27772 113.860936,133.354797 127.999321,119.215688 C142.137706,105.077304 165.060629,105.077304 179.199738,119.215688 L204.800308,93.6158424 Z",fillOpacity:"0.4",fill:"#FFFFFF"})]})]}),r=i.forwardRef((C,t)=>s.jsx(l,{ref:t,...C}));export{r as UpstashSvgIcon};
@@ -1 +1 @@
1
- import{j as c,r}from"./index-pBO0SZLD.js";const s=q=>c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"823",height:"807",viewBox:"0 0 823 807",...q,children:[c.jsx("path",{fill:"#EE2C8B",d:"m451 30 2.227 1.594C461.463 38.183 467.08 47.396 473 56l1.594 2.312c2.669 3.876 5.322 7.762 7.969 11.653 3.713 5.453 7.478 10.871 11.25 16.285a37210.514 37210.514 0 0 0 6.14 8.81q5.026 7.218 10.047 14.44l4 5.75 40 57.5 2.001 2.877q1.995 2.866 3.988 5.733 5.091 7.32 10.187 14.636c5.837 8.383 11.674 16.766 17.449 25.191 4.57 6.666 9.198 13.29 13.837 19.906 6.52 9.3 13.001 18.627 19.484 27.953q3.117 4.482 6.238 8.962c5.834 8.379 11.668 16.758 17.441 25.18 4.57 6.665 9.198 13.288 13.837 19.905 6.52 9.3 13.001 18.627 19.484 27.953q3.117 4.482 6.238 8.962c5.834 8.379 11.668 16.758 17.441 25.18 4.57 6.665 9.198 13.288 13.837 19.905 6.52 9.3 13.001 18.627 19.484 27.953q3.117 4.482 6.238 8.962c5.834 8.379 11.668 16.758 17.441 25.18a2035 2035 0 0 0 12.063 17.375c14.872 21.225 14.872 21.225 21.42 30.702q1.839 2.658 3.685 5.31C809.298 540 817 558.968 812.813 583.062c-1.319 6.836-3.477 12.834-6.813 18.938l-1.375 2.578c-8.507 15.073-22.217 26.158-38.77 31.422-5.58 1.46-11.108 2.529-16.855 3l-1.926.16c-18.082.783-36.106-6.549-49.886-17.91-7.241-6.766-12.611-15.118-18.188-23.25l-1.622-2.355a2641 2641 0 0 1-8.073-11.81c-3.332-4.89-6.718-9.741-10.117-14.585-9.663-13.772-19.3-27.561-28.813-41.437-4.57-6.666-9.198-13.29-13.837-19.906-6.52-9.3-13.001-18.627-19.484-27.953q-3.117-4.482-6.238-8.962c-5.834-8.379-11.668-16.758-17.441-25.18-4.57-6.665-9.198-13.288-13.837-19.905-6.52-9.3-13.001-18.627-19.484-27.953q-3.117-4.482-6.238-8.962c-5.834-8.379-11.668-16.758-17.441-25.18-4.57-6.665-9.198-13.288-13.837-19.905-6.52-9.3-13.001-18.627-19.484-27.953q-3.117-4.482-6.238-8.962c-11.473-16.476-11.473-16.476-16.231-23.42-1.741-2.54-3.49-5.075-5.239-7.611a863 863 0 0 1-2.813-4.125C444.018 259.285 435.899 248.007 422 241l-1.879-1.027c-7.75-3.633-18.27-3.348-26.246-.598C381.837 245.114 373.447 254.18 366 265l-1.467 2.114c-2.73 3.943-5.433 7.904-8.123 11.874-3.36 4.954-6.782 9.863-10.223 14.762-9.662 13.772-19.3 27.561-28.812 41.438-4.57 6.665-9.198 13.288-13.837 19.905-6.52 9.3-13.001 18.627-19.484 27.953q-3.117 4.482-6.238 8.962c-5.834 8.379-11.668 16.758-17.441 25.18-4.57 6.665-9.198 13.288-13.837 19.905-6.52 9.3-13.001 18.627-19.484 27.953q-3.117 4.482-6.238 8.962c-5.834 8.379-11.668 16.758-17.441 25.18-4.57 6.665-9.198 13.288-13.837 19.905-6.52 9.3-13.001 18.627-19.484 27.953q-3.117 4.482-6.238 8.962c-5.834 8.379-11.667 16.758-17.441 25.18Q143.69 585.096 141 589l-1.68 2.442C123.518 614.38 108.918 633 79.855 638.398c-17.483 2.552-35.658-1.514-50.261-11.457-16.17-12.103-25.2-27.585-29.281-47.254-2.315-27.315 8.336-45.857 23.585-67.304a856 856 0 0 0 8.477-12.196 1951 1951 0 0 1 12.313-17.75 9072 9072 0 0 0 21.258-30.483q3.117-4.482 6.238-8.962c5.834-8.379 11.668-16.758 17.441-25.18 4.57-6.665 9.198-13.288 13.837-19.905 6.52-9.3 13.001-18.627 19.484-27.953q3.117-4.482 6.238-8.962c5.834-8.379 11.668-16.758 17.441-25.18 4.57-6.665 9.198-13.288 13.837-19.905 6.52-9.3 13.001-18.627 19.484-27.953q3.117-4.482 6.238-8.962c5.834-8.379 11.668-16.758 17.441-25.18 4.57-6.665 9.198-13.288 13.837-19.905 6.527-9.31 13.016-18.647 19.506-27.984a38524 38524 0 0 1 12.02-17.282q5.092-7.32 10.188-14.637c5.837-8.383 11.674-16.766 17.449-25.191 4.57-6.666 9.198-13.29 13.837-19.906 6.52-9.3 13.001-18.627 19.484-27.953q3.117-4.482 6.238-8.962c5.877-8.44 11.751-16.883 17.566-25.367q1.948-2.834 3.9-5.664 1.419-2.062 2.833-4.125c15.224-22.165 29.843-36.059 57.115-41.332C416.54 12.698 435.684 18.879 451 30"}),c.jsx("path",{fill:"#EE2C8A",d:"M460.543 655.941C476.174 669.038 488.656 688.385 491 709c1.912 26.065-2.94 48.653-20 69-14.01 16.165-34.113 26.37-55.375 28.75q-2.31.156-4.625.25l-2.117.121c-20.961.653-42.347-7.16-57.883-21.121l-2.785-2.5c-16.102-15.238-25.322-36.43-26.246-58.55.178-22.55 6.822-42.883 22.031-59.95.665-.76 1.33-1.519 2.016-2.3 9.578-10.271 21.872-16.981 34.984-21.7l2.855-1.031c26.5-7.725 55.232-.53 76.688 15.972"})]}),a=r.forwardRef((q,l)=>c.jsx(s,{ref:l,...q}));export{a as ArizeIcon};
1
+ import{j as c,r}from"./index-CRNpOQM-.js";const s=q=>c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"823",height:"807",viewBox:"0 0 823 807",...q,children:[c.jsx("path",{fill:"#EE2C8B",d:"m451 30 2.227 1.594C461.463 38.183 467.08 47.396 473 56l1.594 2.312c2.669 3.876 5.322 7.762 7.969 11.653 3.713 5.453 7.478 10.871 11.25 16.285a37210.514 37210.514 0 0 0 6.14 8.81q5.026 7.218 10.047 14.44l4 5.75 40 57.5 2.001 2.877q1.995 2.866 3.988 5.733 5.091 7.32 10.187 14.636c5.837 8.383 11.674 16.766 17.449 25.191 4.57 6.666 9.198 13.29 13.837 19.906 6.52 9.3 13.001 18.627 19.484 27.953q3.117 4.482 6.238 8.962c5.834 8.379 11.668 16.758 17.441 25.18 4.57 6.665 9.198 13.288 13.837 19.905 6.52 9.3 13.001 18.627 19.484 27.953q3.117 4.482 6.238 8.962c5.834 8.379 11.668 16.758 17.441 25.18 4.57 6.665 9.198 13.288 13.837 19.905 6.52 9.3 13.001 18.627 19.484 27.953q3.117 4.482 6.238 8.962c5.834 8.379 11.668 16.758 17.441 25.18a2035 2035 0 0 0 12.063 17.375c14.872 21.225 14.872 21.225 21.42 30.702q1.839 2.658 3.685 5.31C809.298 540 817 558.968 812.813 583.062c-1.319 6.836-3.477 12.834-6.813 18.938l-1.375 2.578c-8.507 15.073-22.217 26.158-38.77 31.422-5.58 1.46-11.108 2.529-16.855 3l-1.926.16c-18.082.783-36.106-6.549-49.886-17.91-7.241-6.766-12.611-15.118-18.188-23.25l-1.622-2.355a2641 2641 0 0 1-8.073-11.81c-3.332-4.89-6.718-9.741-10.117-14.585-9.663-13.772-19.3-27.561-28.813-41.437-4.57-6.666-9.198-13.29-13.837-19.906-6.52-9.3-13.001-18.627-19.484-27.953q-3.117-4.482-6.238-8.962c-5.834-8.379-11.668-16.758-17.441-25.18-4.57-6.665-9.198-13.288-13.837-19.905-6.52-9.3-13.001-18.627-19.484-27.953q-3.117-4.482-6.238-8.962c-5.834-8.379-11.668-16.758-17.441-25.18-4.57-6.665-9.198-13.288-13.837-19.905-6.52-9.3-13.001-18.627-19.484-27.953q-3.117-4.482-6.238-8.962c-11.473-16.476-11.473-16.476-16.231-23.42-1.741-2.54-3.49-5.075-5.239-7.611a863 863 0 0 1-2.813-4.125C444.018 259.285 435.899 248.007 422 241l-1.879-1.027c-7.75-3.633-18.27-3.348-26.246-.598C381.837 245.114 373.447 254.18 366 265l-1.467 2.114c-2.73 3.943-5.433 7.904-8.123 11.874-3.36 4.954-6.782 9.863-10.223 14.762-9.662 13.772-19.3 27.561-28.812 41.438-4.57 6.665-9.198 13.288-13.837 19.905-6.52 9.3-13.001 18.627-19.484 27.953q-3.117 4.482-6.238 8.962c-5.834 8.379-11.668 16.758-17.441 25.18-4.57 6.665-9.198 13.288-13.837 19.905-6.52 9.3-13.001 18.627-19.484 27.953q-3.117 4.482-6.238 8.962c-5.834 8.379-11.668 16.758-17.441 25.18-4.57 6.665-9.198 13.288-13.837 19.905-6.52 9.3-13.001 18.627-19.484 27.953q-3.117 4.482-6.238 8.962c-5.834 8.379-11.667 16.758-17.441 25.18Q143.69 585.096 141 589l-1.68 2.442C123.518 614.38 108.918 633 79.855 638.398c-17.483 2.552-35.658-1.514-50.261-11.457-16.17-12.103-25.2-27.585-29.281-47.254-2.315-27.315 8.336-45.857 23.585-67.304a856 856 0 0 0 8.477-12.196 1951 1951 0 0 1 12.313-17.75 9072 9072 0 0 0 21.258-30.483q3.117-4.482 6.238-8.962c5.834-8.379 11.668-16.758 17.441-25.18 4.57-6.665 9.198-13.288 13.837-19.905 6.52-9.3 13.001-18.627 19.484-27.953q3.117-4.482 6.238-8.962c5.834-8.379 11.668-16.758 17.441-25.18 4.57-6.665 9.198-13.288 13.837-19.905 6.52-9.3 13.001-18.627 19.484-27.953q3.117-4.482 6.238-8.962c5.834-8.379 11.668-16.758 17.441-25.18 4.57-6.665 9.198-13.288 13.837-19.905 6.527-9.31 13.016-18.647 19.506-27.984a38524 38524 0 0 1 12.02-17.282q5.092-7.32 10.188-14.637c5.837-8.383 11.674-16.766 17.449-25.191 4.57-6.666 9.198-13.29 13.837-19.906 6.52-9.3 13.001-18.627 19.484-27.953q3.117-4.482 6.238-8.962c5.877-8.44 11.751-16.883 17.566-25.367q1.948-2.834 3.9-5.664 1.419-2.062 2.833-4.125c15.224-22.165 29.843-36.059 57.115-41.332C416.54 12.698 435.684 18.879 451 30"}),c.jsx("path",{fill:"#EE2C8A",d:"M460.543 655.941C476.174 669.038 488.656 688.385 491 709c1.912 26.065-2.94 48.653-20 69-14.01 16.165-34.113 26.37-55.375 28.75q-2.31.156-4.625.25l-2.117.121c-20.961.653-42.347-7.16-57.883-21.121l-2.785-2.5c-16.102-15.238-25.322-36.43-26.246-58.55.178-22.55 6.822-42.883 22.031-59.95.665-.76 1.33-1.519 2.016-2.3 9.578-10.271 21.872-16.981 34.984-21.7l2.855-1.031c26.5-7.725 55.232-.53 76.688 15.972"})]}),a=r.forwardRef((q,l)=>c.jsx(s,{ref:l,...q}));export{a as ArizeIcon};