decocms 4.34.2 → 4.35.0

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 (237) hide show
  1. package/dist/client/assets/{AlertCircle-CWo2w3Rs.js → AlertCircle-f6lhwhwQ.js} +1 -1
  2. package/dist/client/assets/{ArrowUpRight-Bmg39pV9.js → ArrowUpRight-CSFwuCf5.js} +1 -1
  3. package/dist/client/assets/{Check-DRzA-dpx.js → Check-Aukmu8Un.js} +1 -1
  4. package/dist/client/assets/{CheckCircle-M6H5ZlJ0.js → CheckCircle-CApzzqD8.js} +1 -1
  5. package/dist/client/assets/{ChevronDown-CLHpWdSG.js → ChevronDown-B0UKR4Q8.js} +1 -1
  6. package/dist/client/assets/{ChevronRight-0-moit0s.js → ChevronRight-DBqOeCeL.js} +1 -1
  7. package/dist/client/assets/{ChevronUp-BfATOATf.js → ChevronUp-GMJj8UiZ.js} +1 -1
  8. package/dist/client/assets/{Circle-BbviKruX.js → Circle-YviPro1s.js} +1 -1
  9. package/dist/client/assets/{Copy01-0cR9vc8q.js → Copy01-DE6jIX1d.js} +1 -1
  10. package/dist/client/assets/{DotsVertical-BYgPyTRF.js → DotsVertical-CRXCtL95.js} +1 -1
  11. package/dist/client/assets/{Eye-C3PjUbDk.js → Eye-DkKR2sGU.js} +1 -1
  12. package/dist/client/assets/{FilterLines-AcRSKyYZ.js → FilterLines-zo9nIazW.js} +1 -1
  13. package/dist/client/assets/{Globe01-UNsFBAF6.js → Globe01-9ubWRIn8.js} +1 -1
  14. package/dist/client/assets/{Globe04-Cvug-N8n.js → Globe04-BQ8V1DCS.js} +1 -1
  15. package/dist/client/assets/{HardDrive-hN1jZwmH.js → HardDrive-inNtB34T.js} +1 -1
  16. package/dist/client/assets/{Key01-_uA23D4r.js → Key01-Ce61Bgp4.js} +1 -1
  17. package/dist/client/assets/{LayoutLeft-P3T11G8U.js → LayoutLeft-C4Pounbz.js} +1 -1
  18. package/dist/client/assets/{LinkExternal01-yVpYk0TA.js → LinkExternal01-C2NXvx3_.js} +1 -1
  19. package/dist/client/assets/{List-BDtpMLbg.js → List-CoWwn-yg.js} +1 -1
  20. package/dist/client/assets/{Loading02-BtqTcbc-.js → Loading02-DuE9feUL.js} +1 -1
  21. package/dist/client/assets/{Monitor01-Ca-mpyh5.js → Monitor01-DzUUK9ht.js} +1 -1
  22. package/dist/client/assets/{Palette-DoccA0gP.js → Palette-Do-v2l7i.js} +1 -1
  23. package/dist/client/assets/{Play-DamNmHjz.js → Play-Ca8SpLNV.js} +1 -1
  24. package/dist/client/assets/{Plus-DOMy9gvN.js → Plus-D321yWS2.js} +1 -1
  25. package/dist/client/assets/{SearchLg-CgRpLS5P.js → SearchLg-BcZgwDj6.js} +1 -1
  26. package/dist/client/assets/{SearchMd-aI0z5N9j.js → SearchMd-DJS38wH4.js} +1 -1
  27. package/dist/client/assets/{Settings02-BJM4-roS.js → Settings02-CkTsdbF0.js} +1 -1
  28. package/dist/client/assets/{Shield01-DUr3YuOr.js → Shield01-Bn8V09Ru.js} +1 -1
  29. package/dist/client/assets/{Star01-CezMYimm.js → Star01-DuQha8zt.js} +1 -1
  30. package/dist/client/assets/{Stars01-c5pA30a9.js → Stars01-B6X8tGbZ.js} +1 -1
  31. package/dist/client/assets/{Stars02-mQKhQQrM.js → Stars02-DeVTmo8z.js} +1 -1
  32. package/dist/client/assets/{Sun-4EkFOfwd.js → Sun-huCAsUzO.js} +1 -1
  33. package/dist/client/assets/{SwitchHorizontal01-BMtwwLBl.js → SwitchHorizontal01-1_z_hHyc.js} +1 -1
  34. package/dist/client/assets/{Tool01-CbCiOrgD.js → Tool01-D1RRR1kw.js} +1 -1
  35. package/dist/client/assets/{Trash01-BPtww6NG.js → Trash01-BhSSOFCl.js} +1 -1
  36. package/dist/client/assets/{Upload01-Bv5V53rT.js → Upload01-pw6m16iV.js} +1 -1
  37. package/dist/client/assets/{User01-BYDmkbvV.js → User01-D3gcuea5.js} +1 -1
  38. package/dist/client/assets/{Users01-CbN3qRM8.js → Users01-hYhuhjvL.js} +1 -1
  39. package/dist/client/assets/{Users03-BflqY5Bb.js → Users03-BW7WVd7l.js} +1 -1
  40. package/dist/client/assets/{X-Cb1IaFkf.js → X-B4-7qG-5.js} +1 -1
  41. package/dist/client/assets/{XCircle-DYs03cv5.js → XCircle-DNMYfZsu.js} +1 -1
  42. package/dist/client/assets/{XClose-D5jBGhZu.js → XClose-LQHYvxls.js} +1 -1
  43. package/dist/client/assets/{Zap-_LBawPer.js → Zap-D3B4NAio.js} +1 -1
  44. package/dist/client/assets/{ZapSquare-D3nXDwPD.js → ZapSquare-CDjZJq8r.js} +1 -1
  45. package/dist/client/assets/{ZoomOut-CoQZkFi6.js → ZoomOut-CdYifXao.js} +1 -1
  46. package/dist/client/assets/{access-gate-CWzEQUbt.js → access-gate-76tQHldY.js} +1 -1
  47. package/dist/client/assets/add-section-modal-BqLvsQKS.js +1 -0
  48. package/dist/client/assets/{agent-capabilities-Beg1Tahi.js → agent-capabilities-CncqCO43.js} +1 -1
  49. package/dist/client/assets/{agent-icon-Jbiz_GlE.js → agent-icon-Clq9aKDI.js} +1 -1
  50. package/dist/client/assets/{agents-list-DRLCMy9G.js → agents-list-BoRmbdnw.js} +1 -1
  51. package/dist/client/assets/{ai-providers-DYQcR6sR.js → ai-providers-CS4_9q5y.js} +1 -1
  52. package/dist/client/assets/{alert-DRQSEKDE.js → alert-CfLzySTP.js} +1 -1
  53. package/dist/client/assets/{alert-dialog-A1BqEuAN.js → alert-dialog-OcKuMvkx.js} +3 -3
  54. package/dist/client/assets/app-editor-SJHuM8DT.js +1 -0
  55. package/dist/client/assets/{auth-sGPw4pzN.js → auth-BSVfrU7T.js} +1 -1
  56. package/dist/client/assets/{auth-catchall-D6AiaVai.js → auth-catchall-Bq1TEeYt.js} +1 -1
  57. package/dist/client/assets/{auth-entry-BZp32rjz.js → auth-entry-Bbfzs0A9.js} +1 -1
  58. package/dist/client/assets/{auth-split-layout-BOSD21G1.js → auth-split-layout-VhDB5Kjd.js} +1 -1
  59. package/dist/client/assets/{authenticate-and-persist-oauth-C9K-Bn9S.js → authenticate-and-persist-oauth-pSYfuzK6.js} +1 -1
  60. package/dist/client/assets/{automation-list-row-DX0hA2e6.js → automation-list-row-Cv1Lpo76.js} +1 -1
  61. package/dist/client/assets/{automation-runs-2FK11Uq8.js → automation-runs-DEj3paI_.js} +2 -2
  62. package/dist/client/assets/{automations-OF6KHsxv.js → automations-BUrB7Xnv.js} +1 -1
  63. package/dist/client/assets/{autosend-DRXerSlp.js → autosend-gxaMEvDD.js} +1 -1
  64. package/dist/client/assets/{avatar-DCYC0Ovl.js → avatar-Dv4V-x92.js} +1 -1
  65. package/dist/client/assets/{badge-zW2D6RON.js → badge-C262yjLA.js} +1 -1
  66. package/dist/client/assets/{block-document-CPKTmWKi.js → block-document-mTd4QaWg.js} +3 -3
  67. package/dist/client/assets/{brand-context-CS8dzOEw.js → brand-context-C6Mk4Tdt.js} +1 -1
  68. package/dist/client/assets/{breadcrumb-Cn_dCiaB.js → breadcrumb-CvS5tec8.js} +1 -1
  69. package/dist/client/assets/{buckets-DJAm9tU3.js → buckets-BicnOVQW.js} +1 -1
  70. package/dist/client/assets/bulk-category-panel-5446BaH7.js +1 -0
  71. package/dist/client/assets/{calendar-BUXe1qGD.js → calendar-D4t7kX9Q.js} +1 -1
  72. package/dist/client/assets/{capability-load-error-CBZKpTsj.js → capability-load-error-C6l-t9OR.js} +1 -1
  73. package/dist/client/assets/{card-w-ZXXB57.js → card-D8Vz3jG6.js} +1 -1
  74. package/dist/client/assets/category-editor--ln76tIo.js +1 -0
  75. package/dist/client/assets/{chat-context-BE6mo9bu.js → chat-context-CBVCBl_J.js} +1 -1
  76. package/dist/client/assets/{checkbox-DtrpBIFz.js → checkbox-CchykYiZ.js} +1 -1
  77. package/dist/client/assets/{cli-auth-success-C3LANAtT.js → cli-auth-success-BnByk5x5.js} +1 -1
  78. package/dist/client/assets/collection-detail-ND7d2Eyq.js +1 -0
  79. package/dist/client/assets/{collection-display-button-DQpkHuY5.js → collection-display-button-DxqFoVRY.js} +1 -1
  80. package/dist/client/assets/{collection-search-BwSp_Aw4.js → collection-search-CltfDlpo.js} +1 -1
  81. package/dist/client/assets/{collection-table-wrapper-Cn8zRCRJ.js → collection-table-wrapper-DLnmSfmE.js} +1 -1
  82. package/dist/client/assets/{collection-tabs-Bm-3WSlA.js → collection-tabs-CTi5oTnQ.js} +1 -1
  83. package/dist/client/assets/{command-BO3Cnpvg.js → command-BAIXwHHL.js} +1 -1
  84. package/dist/client/assets/{commerce-onboarding-prtwFO2s.js → commerce-onboarding-CMjqlg8E.js} +1 -1
  85. package/dist/client/assets/connect-desktop-dialog-CAF33mXR.js +1 -0
  86. package/dist/client/assets/{connection-card-4bm-y1Gd.js → connection-card-CO1XcaEL.js} +1 -1
  87. package/dist/client/assets/connection-detail-BlmkUd9p.js +1 -0
  88. package/dist/client/assets/{connection-form-helpers-Dvg-sl5J.js → connection-form-helpers-XaWP2G3x.js} +1 -1
  89. package/dist/client/assets/connections-DnCGVu9g.js +1 -0
  90. package/dist/client/assets/{decopilot-sse-pool-H5PWohfg.js → decopilot-sse-pool-CDHTEmuK.js} +1 -1
  91. package/dist/client/assets/{dialog-D4tuLdKg.js → dialog-WEGZiwPy.js} +1 -1
  92. package/dist/client/assets/{domain-settings-Q64LowCi.js → domain-settings-CRCy8oFu.js} +1 -1
  93. package/dist/client/assets/{drawer-Cl42OMuR.js → drawer-UuuCah9g.js} +1 -1
  94. package/dist/client/assets/{dropdown-menu-DnltYtFq.js → dropdown-menu-CksFCj44.js} +1 -1
  95. package/dist/client/assets/{empty-state-CSfhHKVd.js → empty-state-F_lK3gf_.js} +1 -1
  96. package/dist/client/assets/{extract-connection-data-DbUbdg9c.js → extract-connection-data-BCgnLdIa.js} +1 -1
  97. package/dist/client/assets/file-explorer-DA4UKKI7.js +2 -0
  98. package/dist/client/assets/{file-type-icon-CzWNCoZC.js → file-type-icon-DEYVlVHX.js} +1 -1
  99. package/dist/client/assets/{files-uyt938FW.js → files-D4agV2id.js} +1 -1
  100. package/dist/client/assets/{form-V_XI11Kc.js → form-vGQs6GSc.js} +1 -1
  101. package/dist/client/assets/{general-BB8ctEPw.js → general-SnqMJ_uN.js} +1 -1
  102. package/dist/client/assets/github-repo-picker-WVoiNLVS.js +1 -0
  103. package/dist/client/assets/{hooks-CV3ote7A.js → hooks-HnvPO2Fr.js} +1 -1
  104. package/dist/client/assets/{index-3wANCPRO.js → index-7EDQs4g5.js} +11 -11
  105. package/dist/client/assets/{index-IJbt2d9X.js → index-B19Gd9cQ.js} +2 -2
  106. package/dist/client/assets/index-BcHmTSFg.css +1 -0
  107. package/dist/client/assets/{index-5kHbzeXa.js → index-BvY5YnRL.js} +1 -1
  108. package/dist/client/assets/{index-BmCtcH0K.js → index-CH3GGxYs.js} +1 -1
  109. package/dist/client/assets/{index-CnZPkn7R.js → index-CmN7TjST.js} +1 -1
  110. package/dist/client/assets/{index-D1Il2d7T.js → index-D1g40hAu.js} +3 -3
  111. package/dist/client/assets/{index-DXiY8k-2.js → index-D4E3XJr2.js} +1 -1
  112. package/dist/client/assets/{index-DHvUf48S.js → index-Du4ARIfO.js} +1 -1
  113. package/dist/client/assets/{index-CwathWr_.js → index-NGT6SGng.js} +1 -1
  114. package/dist/client/assets/{index-nxyUqjSg.js → index-aIln4hKS.js} +1 -1
  115. package/dist/client/assets/{index-0_QD3N3p.js → index-bSsLqTR8.js} +1 -1
  116. package/dist/client/assets/{index-CzWF3J4h.js → index-kAuhGsQR.js} +1 -1
  117. package/dist/client/assets/{index-redirect-Dc2nTn4h.js → index-redirect-BOtvKj4V.js} +1 -1
  118. package/dist/client/assets/{index-BOw4wVWR.js → index-y_ZN3Csi.js} +1 -1
  119. package/dist/client/assets/index-zNNbsSbv.js +217 -0
  120. package/dist/client/assets/{input-NG03AkXE.js → input-AH-zc1xJ.js} +1 -1
  121. package/dist/client/assets/{integration-icon-CZWFT3DW.js → integration-icon-A9c_bebh.js} +1 -1
  122. package/dist/client/assets/{invite-member-dialog-BKa9UA0S.js → invite-member-dialog-2QbPsKy5.js} +1 -1
  123. package/dist/client/assets/{label-CoVhr6uF.js → label-CREwZHVz.js} +1 -1
  124. package/dist/client/assets/{login-BxoaPHkQ.js → login-DK11wo9B.js} +1 -1
  125. package/dist/client/assets/{mcp-oauth-BnINg_mr.js → mcp-oauth-CUTN_jP_.js} +1 -1
  126. package/dist/client/assets/{members-DZDoS8_y.js → members-SQ5xbIj_.js} +1 -1
  127. package/dist/client/assets/{monaco-editor-PvgfmQvG.js → monaco-editor-DcSz2nK4.js} +2 -2
  128. package/dist/client/assets/{monitoring-stats-row-BjJW0hk3.js → monitoring-stats-row-dq67E9g4.js} +1 -1
  129. package/dist/client/assets/{oauth-callback-BTtzlplc.js → oauth-callback-CyjY2LuB.js} +1 -1
  130. package/dist/client/assets/{oauth-callback-ai-provider-4go1C5IS.js → oauth-callback-ai-provider-D-_MRvoT.js} +1 -1
  131. package/dist/client/assets/{onboarding-1FMcSqda.js → onboarding-BcNffG2l.js} +1 -1
  132. package/dist/client/assets/{org-install-6kg2QE41.js → org-install-CZD3yOvZ.js} +1 -1
  133. package/dist/client/assets/{org-layout-BcGgOe1A.js → org-layout-ChzYwis1.js} +1 -1
  134. package/dist/client/assets/{organization-choice-BF8evIsb.js → organization-choice-DO3TpN5Q.js} +1 -1
  135. package/dist/client/assets/page-seo-form-C3ja-AdY.js +1 -0
  136. package/dist/client/assets/page-seo-sheet-DST-XLP6.js +1 -0
  137. package/dist/client/assets/{popover-LegBHHPI.js → popover-BXSfQ3ty.js} +1 -1
  138. package/dist/client/assets/post-editor-B_LetdV2.js +1 -0
  139. package/dist/client/assets/{primitives-5Bes0H8Y.js → primitives-Dh6y5Vqf.js} +1 -1
  140. package/dist/client/assets/{profile-e9z16c_H.js → profile-DeWb4RIY.js} +1 -1
  141. package/dist/client/assets/project-app-view-BifDSljQ.js +1 -0
  142. package/dist/client/assets/record-editor-DI5MypGG.js +1 -0
  143. package/dist/client/assets/registry-B1LHfxlX.js +2 -0
  144. package/dist/client/assets/{registry-layout-BwXFLswk.js → registry-layout-DAKJr0Bp.js} +1 -1
  145. package/dist/client/assets/{require-capability-BZ-zzVLb.js → require-capability-Cb7N2Oxk.js} +1 -1
  146. package/dist/client/assets/{required-auth-layout-DjSRL58t.js → required-auth-layout-DRSJiqlk.js} +1 -1
  147. package/dist/client/assets/{reset-password-DDn1uwC9.js → reset-password-BRHQg6QO.js} +1 -1
  148. package/dist/client/assets/{roles-BRoTsMVD.js → roles-SdLIIKmd.js} +1 -1
  149. package/dist/client/assets/{search-input-Ci8tEHW9.js → search-input-BzykC6SX.js} +1 -1
  150. package/dist/client/assets/{secrets-CN1xu6sV.js → secrets-lP0WJIRf.js} +1 -1
  151. package/dist/client/assets/sections-editor-CsFcLCt9.js +2 -0
  152. package/dist/client/assets/{select-DVZc4E4V.js → select-C5NXkaeS.js} +1 -1
  153. package/dist/client/assets/{select-model-CLhsRP_l.js → select-model-MLc2Y3Qy.js} +1 -1
  154. package/dist/client/assets/{seo-editor-Cb9iUbPW.js → seo-editor-r_gWolyN.js} +1 -1
  155. package/dist/client/assets/{settings-layout-DnXr7ygU.js → settings-layout-BRYOw2xs.js} +1 -1
  156. package/dist/client/assets/{settings-section-CHWS1FIf.js → settings-section-DcnbXr5u.js} +1 -1
  157. package/dist/client/assets/{shell-controls-B4nD11vf.js → shell-controls-hRJb8y7E.js} +1 -1
  158. package/dist/client/assets/{shell-layout-Dm40raSF.js → shell-layout-BQHSPqMr.js} +1 -1
  159. package/dist/client/assets/{sidebar-BbmkzDwj.js → sidebar-DgN5oOpi.js} +1 -1
  160. package/dist/client/assets/{skeleton-_zr7HJMo.js → skeleton-BNyVbUwG.js} +1 -1
  161. package/dist/client/assets/{sso-DWDuVYa_.js → sso-wV6U6i7v.js} +1 -1
  162. package/dist/client/assets/{store-p_qhKfKM.js → store-CoUYwDd1.js} +1 -1
  163. package/dist/client/assets/store-registry-mRHIDibK.js +2 -0
  164. package/dist/client/assets/{studio-tools-CTbP1rvS.js → studio-tools-DbeWVKwZ.js} +1 -1
  165. package/dist/client/assets/{switch-OeBXOHbU.js → switch-D35infLY.js} +1 -1
  166. package/dist/client/assets/tab-id-DAJ8K7VA.js +1 -0
  167. package/dist/client/assets/{table-B2Fi-xgN.js → table-CRfKA7NS.js} +1 -1
  168. package/dist/client/assets/{tabs-D3BMQa5m.js → tabs-D3wed5Bx.js} +1 -1
  169. package/dist/client/assets/{textarea-5Pf25_as.js → textarea-CEc_7A6V.js} +1 -1
  170. package/dist/client/assets/{toggle-group-Bp7LVOg4.js → toggle-group-CFbcmDsi.js} +1 -1
  171. package/dist/client/assets/toolbar-CgIGs2xP.js +1 -0
  172. package/dist/client/assets/{toolbar-icon-button-K5Db26Ta.js → toolbar-icon-button-CYEe3N0j.js} +1 -1
  173. package/dist/client/assets/{tools-list-Cj6pWwiB.js → tools-list-DI21LYyh.js} +1 -1
  174. package/dist/client/assets/{tooltip-CZrkvlI-.js → tooltip-Cjk9PMKc.js} +1 -1
  175. package/dist/client/assets/{types-CN46hG-C.js → types-DOtTCrPL.js} +3 -3
  176. package/dist/client/assets/{use-ai-providers-CqbJz7ty.js → use-ai-providers-qucsliq3.js} +1 -1
  177. package/dist/client/assets/{use-automations-Btrbiz8v.js → use-automations-SOkWBo6W.js} +1 -1
  178. package/dist/client/assets/{use-capability-56pwQuBl.js → use-capability-DQv1lExQ.js} +1 -1
  179. package/dist/client/assets/{use-clock-tick-D0StcXXM.js → use-clock-tick-eW5js56x.js} +1 -1
  180. package/dist/client/assets/{use-collections-C3a6O1Kf.js → use-collections-DXG9rjJ2.js} +1 -1
  181. package/dist/client/assets/{use-connection-DlA7SbYu.js → use-connection-Cod3M0Uh.js} +1 -1
  182. package/dist/client/assets/{use-copy-DUBRfsw_.js → use-copy-CGlHMDea.js} +1 -1
  183. package/dist/client/assets/{use-create-virtual-mcp-DuiP1sA2.js → use-create-virtual-mcp-BX6sBt4t.js} +1 -1
  184. package/dist/client/assets/{use-debounced-autosave-BcTFLZWq.js → use-debounced-autosave-DiGqeVKG.js} +1 -1
  185. package/dist/client/assets/{use-debounced-value-DZMfEQVf.js → use-debounced-value-CzaaMzl3.js} +1 -1
  186. package/dist/client/assets/{use-decopilot-events-BRR71e9n.js → use-decopilot-events-uGcsF--z.js} +1 -1
  187. package/dist/client/assets/{use-delete-connection-DsBRsN5J.js → use-delete-connection-QI_R7sTm.js} +1 -1
  188. package/dist/client/assets/{use-file-configs-B09v-Tdk.js → use-file-configs-CtmXiAad.js} +1 -1
  189. package/dist/client/assets/{use-infinite-scroll-CXObKcMM.js → use-infinite-scroll-Ds-wB394.js} +1 -1
  190. package/dist/client/assets/{use-join-requests-BVvEnhaf.js → use-join-requests-C53tVE87.js} +1 -1
  191. package/dist/client/assets/{use-mcp-client-CqQQWnQv.js → use-mcp-client-D-IcrlM1.js} +1 -1
  192. package/dist/client/assets/{use-mcp-prompts-5VgIENjN.js → use-mcp-prompts-CjXlqFii.js} +1 -1
  193. package/dist/client/assets/{use-mcp-tools-BBo1CVh9.js → use-mcp-tools-Dafx8Nf_.js} +1 -1
  194. package/dist/client/assets/{use-members-DQRLt-ZP.js → use-members-BkrjfZtd.js} +1 -1
  195. package/dist/client/assets/{use-mobile-DVBpVOpv.js → use-mobile-Cs5uj2B4.js} +1 -1
  196. package/dist/client/assets/{use-navigate-to-agent-DHQynKWI.js → use-navigate-to-agent-CdzFundu.js} +1 -1
  197. package/dist/client/assets/{use-org-auth-client-D8i1yzzN.js → use-org-auth-client-CYHJ8zhf.js} +1 -1
  198. package/dist/client/assets/{use-org-sso-4OxOQasz.js → use-org-sso-ZllsKAXm.js} +1 -1
  199. package/dist/client/assets/{use-organization-roles-DjenBlf3.js → use-organization-roles-UQbPZOTn.js} +1 -1
  200. package/dist/client/assets/{use-organization-settings-DXQvxmVp.js → use-organization-settings-BM7m28RI.js} +1 -1
  201. package/dist/client/assets/{use-registry-connections-CB4pSGdn.js → use-registry-connections-Obrdx90O.js} +1 -1
  202. package/dist/client/assets/{use-secrets-7z_yVxAY.js → use-secrets-DZyYucb6.js} +1 -1
  203. package/dist/client/assets/{use-status-sounds-DKcljOhr.js → use-status-sounds-COBLP9-r.js} +1 -1
  204. package/dist/client/assets/{use-view-mode-2osL2HHr.js → use-view-mode-fgGIj_ax.js} +1 -1
  205. package/dist/client/assets/{use-virtual-mcp-DTthhqWL.js → use-virtual-mcp-C70XD2v5.js} +1 -1
  206. package/dist/client/assets/useInfiniteQuery-Dul-gPAw.js +1 -0
  207. package/dist/client/assets/useSuspenseInfiniteQuery-0L4EzzOg.js +1 -0
  208. package/dist/client/assets/{variant-calendar-CrtWA8_Z.js → variant-calendar-BqxsTCCA.js} +1 -1
  209. package/dist/client/assets/{view-mode-toggle-BtNX-3na.js → view-mode-toggle-BEPKlxI2.js} +1 -1
  210. package/dist/client/index.html +2 -2
  211. package/dist/server/cli.js +424 -404
  212. package/dist/server/server.js +1 -1
  213. package/package.json +1 -1
  214. package/dist/client/assets/add-section-modal-arZ7Xm3y.js +0 -1
  215. package/dist/client/assets/app-editor-Bx9ZRBZV.js +0 -1
  216. package/dist/client/assets/bulk-category-panel-Dv40K6eC.js +0 -1
  217. package/dist/client/assets/category-editor-Dji6lf8V.js +0 -1
  218. package/dist/client/assets/collection-detail-D_0lSHjB.js +0 -1
  219. package/dist/client/assets/connect-desktop-dialog-eXpxo9qL.js +0 -1
  220. package/dist/client/assets/connection-detail-BoOE1DBL.js +0 -1
  221. package/dist/client/assets/connections-77MmnIp3.js +0 -1
  222. package/dist/client/assets/file-explorer-DHXMnboZ.js +0 -2
  223. package/dist/client/assets/github-repo-picker-D2aJRbrv.js +0 -1
  224. package/dist/client/assets/index-BNFGcJv4.js +0 -519
  225. package/dist/client/assets/index-dPmP2Tp4.css +0 -1
  226. package/dist/client/assets/page-seo-form-3mR99KHZ.js +0 -1
  227. package/dist/client/assets/page-seo-sheet-BwLPWNV9.js +0 -1
  228. package/dist/client/assets/post-editor-D1ab7ktC.js +0 -1
  229. package/dist/client/assets/project-app-view-Jl05SKrY.js +0 -1
  230. package/dist/client/assets/record-editor-C6jfNsK6.js +0 -1
  231. package/dist/client/assets/registry-DKZgk7Wa.js +0 -2
  232. package/dist/client/assets/sections-editor-DAnoJnEa.js +0 -2
  233. package/dist/client/assets/store-registry-DL8uX3MS.js +0 -2
  234. package/dist/client/assets/tab-id-DznSzCvK.js +0 -1
  235. package/dist/client/assets/toolbar-ABPXS5Vo.js +0 -1
  236. package/dist/client/assets/useInfiniteQuery-WADEvwcp.js +0 -1
  237. package/dist/client/assets/useSuspenseInfiniteQuery-fFFo_5V2.js +0 -1
@@ -0,0 +1 @@
1
+ import{c as O,j as t,B as F,i as Y,G as Ge,H as te,P as Pe,r as $,$ as re,J as Qe,u as Ye,a6 as K,t as Xe,l as je,e as le,aW as ke}from"./index-7EDQs4g5.js";import{E as Ae}from"./empty-state-F_lK3gf_.js";import{u as Ze,a as Ee}from"./use-collections-DXG9rjJ2.js";import{u as ae}from"./use-mcp-client-D-IcrlM1.js";import{F as se,a as et,b as ce,d as de}from"./form-vGQs6GSc.js";import{I as me}from"./input-AH-zc1xJ.js";import{T as ie}from"./textarea-CEc_7A6V.js";import{a as tt,b as st,V as ue,O as nt,M as ot}from"./index-aIln4hKS.js";import{aq as it,K as rt,al as lt,W as at,P as ct,ar as dt,L as be}from"./agent-icon-Clq9aKDI.js";import{g as mt,M as ut,a as Ne}from"./types-DOtTCrPL.js";import{A as xt,a as pt,b as ft}from"./alert-CfLzySTP.js";import{a as ve,c as Se,d as ye,S as we,b as ne}from"./select-C5NXkaeS.js";import{c as ht,T as Ce,a as Ie,b as $e}from"./tooltip-Cjk9PMKc.js";import{i as gt}from"./AlertCircle-f6lhwhwQ.js";import{s as jt}from"./Stars02-DeVTmo8z.js";import{a as bt}from"./Copy01-DE6jIX1d.js";import{i as Nt}from"./Play-Ca8SpLNV.js";import{a as Oe,b as Re,B as V,c as G,d as Q,e as _e}from"./breadcrumb-CvS5tec8.js";import{g as vt}from"./connection-slug-eyAPH6o3.js";import{u as St,T as yt}from"./tools-list-DI21LYyh.js";import{a as De,u as Me}from"./use-connection-Cod3M0Uh.js";import{a as wt}from"./use-mcp-tools-Dafx8Nf_.js";import{M as Ct,c as It}from"./monaco-editor-DcSz2nK4.js";import{I as Te}from"./integration-icon-A9c_bebh.js";import{g as $t,l as Tt}from"./chat-context-CBVCBl_J.js";import{u as Pt}from"./shell-layout-BQHSPqMr.js";import{n as kt}from"./XCircle-DNMYfZsu.js";import"./constants-B72Xmt_K.js";import"./auth-BSVfrU7T.js";import"./label-CREwZHVz.js";import"./index-NGT6SGng.js";import"./sidebar-DgN5oOpi.js";import"./LayoutLeft-C4Pounbz.js";import"./use-mobile-Cs5uj2B4.js";import"./X-B4-7qG-5.js";import"./ZoomOut-CdYifXao.js";import"./Key01-Ce61Bgp4.js";import"./extract-connection-data-BCgnLdIa.js";import"./use-registry-connections-Obrdx90O.js";import"./use-organization-settings-BM7m28RI.js";import"./studio-tools-DbeWVKwZ.js";import"./Plus-D321yWS2.js";import"./index-kAuhGsQR.js";import"./index-Du4ARIfO.js";import"./index-bSsLqTR8.js";import"./popover-BXSfQ3ty.js";import"./use-virtual-mcp-C70XD2v5.js";import"./Check-Aukmu8Un.js";import"./SearchMd-DJS38wH4.js";import"./Users03-BW7WVd7l.js";import"./use-create-virtual-mcp-BX6sBt4t.js";import"./use-navigate-to-agent-CdzFundu.js";import"./hooks-HnvPO2Fr.js";import"./decopilot-sse-pool-CDHTEmuK.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./reusable-new-chat-qqWu133U.js";import"./Tool01-D1RRR1kw.js";import"./SwitchHorizontal01-1_z_hHyc.js";import"./Settings02-CkTsdbF0.js";import"./ArrowUpRight-CSFwuCf5.js";import"./ZapSquare-CDjZJq8r.js";import"./Loading02-DuE9feUL.js";import"./CheckCircle-CApzzqD8.js";import"./ChevronDown-B0UKR4Q8.js";import"./ChevronRight-DBqOeCeL.js";import"./ChevronUp-GMJj8UiZ.js";import"./Circle-YviPro1s.js";import"./DotsVertical-CRXCtL95.js";import"./Globe01-9ubWRIn8.js";import"./Eye-DkKR2sGU.js";import"./FilterLines-zo9nIazW.js";import"./Star01-DuQha8zt.js";import"./Globe04-BQ8V1DCS.js";import"./HardDrive-inNtB34T.js";import"./LinkExternal01-C2NXvx3_.js";import"./List-CoWwn-yg.js";import"./Monitor01-DzUUK9ht.js";import"./Sun-huCAsUzO.js";import"./Palette-Do-v2l7i.js";import"./SearchLg-BcZgwDj6.js";import"./Shield01-Bn8V09Ru.js";import"./Stars01-B6X8tGbZ.js";import"./Trash01-BhSSOFCl.js";import"./Upload01-pw6m16iV.js";import"./User01-D3gcuea5.js";import"./Users01-hYhuhjvL.js";import"./XClose-LQHYvxls.js";import"./Zap-D3B4NAio.js";import"./mcp-oauth-CUTN_jP_.js";import"./badge-C262yjLA.js";import"./index-D1g40hAu.js";import"./autosend-gxaMEvDD.js";import"./use-ai-providers-qucsliq3.js";import"./use-decopilot-events-uGcsF--z.js";import"./tab-id-DAJ8K7VA.js";import"./avatar-Dv4V-x92.js";import"./dialog-WEGZiwPy.js";import"./alert-dialog-OcKuMvkx.js";import"./required-auth-layout-DRSJiqlk.js";import"./use-org-sso-ZllsKAXm.js";function At(s){const e=O.c(15),{onSave:r,onUndo:o,isDirty:l,isSaving:i,saveLabel:c,undoLabel:d}=s,n=c===void 0?"Save":c,u=d===void 0?"Undo":d;if(!l)return null;let x;e[0]===Symbol.for("react.memo_cache_sentinel")?(x=t.jsx(it,{size:14}),e[0]=x):x=e[0];let m;e[1]!==i||e[2]!==o||e[3]!==u?(m=t.jsxs(F,{variant:"outline",size:"sm",onClick:o,disabled:i,"aria-label":u,children:[x,u]}),e[1]=i,e[2]=o,e[3]=u,e[4]=m):m=e[4];let p;e[5]!==i?(p=i?t.jsx(Y,{size:14,className:"animate-spin"}):t.jsx(rt,{size:14}),e[5]=i,e[6]=p):p=e[6];let f;e[7]!==i||e[8]!==r||e[9]!==n||e[10]!==p?(f=t.jsxs(F,{variant:"default",size:"sm",onClick:r,disabled:i,"aria-label":n,children:[p,n]}),e[7]=i,e[8]=r,e[9]=n,e[10]=p,e[11]=f):f=e[11];let g;return e[12]!==m||e[13]!==f?(g=t.jsxs(t.Fragment,{children:[m,f]}),e[12]=m,e[13]=f,e[14]=g):g=e[14],g}Ge({title:te().min(1),description:te().nullable(),body:te()});function oe(s){for(const e of s.messages??[])if(e.role==="user"&&e.content?.type==="text")return e.content.text??"";return""}function Et(){const s=window.location.pathname.split("/").filter(Boolean),e=s.findIndex(o=>o==="mcps"),r=e>=0?s[e+1]:void 0;return r?decodeURIComponent(r):void 0}function Ot(s){const e=O.c(13),{form:r}=s;let o;e[0]===Symbol.for("react.memo_cache_sentinel")?(o=t.jsx("div",{className:"text-sm font-medium text-foreground",children:"Details"}),e[0]=o):o=e[0];let l;e[1]!==r.control?(l=t.jsxs("div",{className:"flex flex-col gap-4",children:[o,t.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[t.jsx(se,{control:r.control,name:"title",render:Dt}),t.jsx(se,{control:r.control,name:"description",render:_t})]})]}),e[1]=r.control,e[2]=l):l=e[2];let i,c;e[3]===Symbol.for("react.memo_cache_sentinel")?(i=t.jsx("div",{className:"text-sm font-medium text-foreground",children:"Message"}),c=t.jsx("div",{className:"text-xs text-muted-foreground",children:"This becomes the user message in the prompt."}),e[3]=i,e[4]=c):(i=e[3],c=e[4]);let d;e[5]!==r.control?(d=t.jsxs("div",{className:"flex flex-col gap-2",children:[i,c,t.jsx(se,{control:r.control,name:"body",render:Rt})]}),e[5]=r.control,e[6]=d):d=e[6];let n;e[7]!==l||e[8]!==d?(n=t.jsxs("div",{className:"h-full py-6 flex flex-col max-w-3xl mx-auto w-full min-w-0 gap-8 overflow-y-auto px-4",children:[l,d]}),e[7]=l,e[8]=d,e[9]=n):n=e[9];let u;return e[10]!==r||e[11]!==n?(u=t.jsx(et,{...r,children:n}),e[10]=r,e[11]=n,e[12]=u):u=e[12],u}function Rt(s){const{field:e}=s;return t.jsx(ce,{children:t.jsx(de,{children:t.jsx(ie,{...e,value:e.value??"",placeholder:"Write the prompt message…",className:"min-h-[240px] resize-none text-base leading-relaxed font-normal rounded-xl border border-border bg-muted/20 px-4 py-3 shadow-none focus-visible:ring-0"})})})}function _t(s){const{field:e}=s;return t.jsxs(ce,{children:[t.jsx("div",{className:"text-xs text-muted-foreground",children:"Description"}),t.jsx(de,{children:t.jsx(me,{...e,value:e.value??"",placeholder:"Add a description…",className:"h-9 rounded-lg border border-border bg-muted/20 shadow-none focus-visible:ring-0"})})]})}function Dt(s){const{field:e}=s;return t.jsxs(ce,{children:[t.jsx("div",{className:"text-xs text-muted-foreground",children:"Title"}),t.jsx(de,{children:t.jsx(me,{...e,placeholder:"Untitled prompt",className:"h-9 rounded-lg border border-border bg-muted/20 shadow-none focus-visible:ring-0"})})]})}function Mt(s){const e=O.c(36),{providerId:r,promptId:o}=s,{org:l}=re(),i=r||null;let c;e[0]!==l.id||e[1]!==l.slug||e[2]!==i?(c={connectionId:i,orgId:l.id,orgSlug:l.slug},e[0]=l.id,e[1]=l.slug,e[2]=i,e[3]=c):c=e[3];const d=ae(c),n=Ze(r,"PROMPT",o,d),u=Ee(r,"PROMPT",d),x=u.update.isPending;let m;e[4]!==n?(m=n?{title:n.title,description:n.description??null,body:oe(n)}:void 0,e[4]=n,e[5]=m):m=e[5];let p;e[6]!==m?(p={values:m},e[6]=m,e[7]=p):p=e[7];const f=Qe(p);let g;e[8]!==f||e[9]!==n?(g=()=>{n&&f.reset({title:n.title,description:n.description??null,body:oe(n)})},e[8]=f,e[9]=n,e[10]=g):g=e[10];const S=g;let C;e[11]!==u.update||e[12]!==f||e[13]!==o?(C=f.handleSubmit(async N=>{const A=await u.update.mutateAsync({id:o,data:{title:N.title,description:N.description,arguments:[],icons:[],messages:[{role:"user",content:{type:"text",text:N.body}}]}});f.reset({title:A.title,description:A.description??null,body:oe(A)})}),e[11]=u.update,e[12]=f,e[13]=o,e[14]=C):C=e[14];const R=C;if(!n){let N;return e[15]===Symbol.for("react.memo_cache_sentinel")?(N=t.jsx("div",{className:"flex h-full w-full bg-background",children:t.jsx(Ae,{title:"Prompt not found",description:"This prompt may have been deleted or you may not have access to it."})}),e[15]=N):N=e[15],N}let I;e[16]!==n.title?(I=t.jsx("span",{className:"text-sm font-medium text-foreground truncate",children:n.title}),e[16]=n.title,e[17]=I):I=e[17];let k;e[18]!==n.description?(k=n.description?t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"text-xs text-muted-foreground font-normal",children:"•"}),t.jsx("span",{className:"text-xs text-muted-foreground font-normal truncate min-w-0 max-w-[20ch]",children:n.description})]}):null,e[18]=n.description,e[19]=k):k=e[19];let T;e[20]!==I||e[21]!==k?(T=t.jsx(st,{children:t.jsxs("div",{className:"flex items-center gap-2 min-w-0",children:[I,k]})}),e[20]=I,e[21]=k,e[22]=T):T=e[22];let b;e[23]!==R?(b=()=>{R()},e[23]=R,e[24]=b):b=e[24];let y;e[25]!==f.formState.isDirty||e[26]!==x||e[27]!==S||e[28]!==b?(y=t.jsx(tt,{children:t.jsx(At,{onSave:b,onUndo:S,isDirty:f.formState.isDirty,isSaving:x})}),e[25]=f.formState.isDirty,e[26]=x,e[27]=S,e[28]=b,e[29]=y):y=e[29];let w;e[30]!==f?(w=t.jsx("div",{className:"h-full",children:t.jsx(Ot,{form:f})}),e[30]=f,e[31]=w):w=e[31];let P;return e[32]!==y||e[33]!==w||e[34]!==T?(P=t.jsxs(ue,{children:[T,y,w]}),e[32]=y,e[33]=w,e[34]=T,e[35]=P):P=e[35],P}function zt(s){const e=O.c(4),{itemId:r}=s;let o;e[0]===Symbol.for("react.memo_cache_sentinel")?(o=Et(),e[0]=o):o=e[0];const l=o;if(!l){let c;return e[1]===Symbol.for("react.memo_cache_sentinel")?(c=t.jsx("div",{className:"flex h-full w-full bg-background",children:t.jsx(Ae,{title:"Prompt not found",description:"Missing connection information in the current route."})}),e[1]=c):c=e[1],c}let i;return e[2]!==r?(i=t.jsx(Pe,{children:t.jsx($.Suspense,{fallback:null,children:t.jsx(Mt,{providerId:l,promptId:r})})}),e[2]=r,e[3]=i):i=e[3],i}const Lt=s=>s.replace(/_/g," ").replace(/\b\w/g,e=>e.toLocaleLowerCase());function Ut(s){const e=O.c(11),{toolName:r,connectionId:o,siblings:l,onSelectInstance:i,onBack:c}=s;let d;e[0]!==o?(d={connectionId:o},e[0]=o,e[1]=d):d=e[1];const n=St(d);if(!n.isAuthenticated){let m;return e[2]!==n.supportsOAuth||e[3]!==c?(m=t.jsx("div",{className:"flex h-full items-center justify-center",children:n.supportsOAuth?t.jsx(nt,{onAuthenticate:()=>c(),buttonText:"Go back to authenticate"}):t.jsx(ot,{hasReadme:!1})}),e[2]=n.supportsOAuth,e[3]=c,e[4]=m):m=e[4],m}const u=`${o}:${r}`;let x;return e[5]!==o||e[6]!==i||e[7]!==l||e[8]!==u||e[9]!==r?(x=t.jsx(Bt,{toolName:r,connectionId:o,siblings:l,onSelectInstance:i},u),e[5]=o,e[6]=i,e[7]=l,e[8]=u,e[9]=r,e[10]=x):x=e[10],x}function Bt({toolName:s,connectionId:e,siblings:r,onSelectInstance:o}){const{replayId:l}=Ye({strict:!1}),i=(()=>{if(!l)return null;const a=`replay-${l}`,h=sessionStorage.getItem(a);if(!h)return null;sessionStorage.removeItem(a);try{return JSON.parse(h)}catch{return null}})(),c=(()=>{if(!i)return null;const a={};for(const[h,v]of Object.entries(i))v!==null&&typeof v=="object"?a[h]=JSON.stringify(v,null,2):a[h]=v;return a})(),[d,n]=$.useState(c??{}),[u,x]=$.useState(i?JSON.stringify(i,null,2):"{}"),[m,p]=$.useState(null),[f,g]=$.useState(null),[S,C]=$.useState(null),[R,I]=$.useState(null),[k,T]=$.useState(!1),[b,y]=$.useState(null),{org:w}=re(),P=De(e),N=$t(),A=Tt(),{setChatOpen:U}=Pt(),z=`${e}:${s}`,_=ae({connectionId:e,orgId:w.id,orgSlug:w.slug}),L=wt({client:_}),j=L.data?.tools?.find(a=>a.name===s),E=mt(j?._meta),J=a=>{if(!N)return;const h=It(a.content);h.content.length>0&&(U(!0),N.sendMessage({tiptapDoc:h}))},[D,X]=$.useState("json"),[ze,Le]=$.useState(!1);E&&!ze&&(X("ui"),Le(!0));const xe=j?.inputSchema?.properties,pe=xe?Object.keys(xe):[],q=pe.length>0,H={};if(q&&j?.inputSchema?.properties)for(const a of pe)H[a]=j.inputSchema.required?.includes(a)?"":void 0;const Z=a=>Object.prototype.hasOwnProperty.call(d,a),Ue=async()=>{T(!0),I(null),p(null),g(null),C(null),y(null);const a=performance.now();try{if(!_)throw new Error("MCP client is not available");const h=q?{...H,...d}:(()=>{const M=u.trim();if(!M)return{};const B=JSON.parse(M);if(B&&typeof B=="object")return B;throw new Error("Raw JSON input must be an object.")})();q&&j?.inputSchema?.properties&&Object.entries(j.inputSchema.properties).forEach(([M,B])=>{if((B.type==="object"||B.type==="array")&&typeof h[M]=="string")try{h[M]=JSON.parse(h[M])}catch{}else if((B.type==="number"||B.type==="integer")&&typeof h[M]=="string"&&h[M]!==""){const ge=Number(h[M]);Number.isNaN(ge)||(h[M]=ge)}});const v=await _.callTool({name:s,arguments:h}),W=v.structuredContent??v,He=performance.now(),We=Math.round(He-a);p(W),g(v),C(h);const Ke=JSON.stringify(W),he=new TextEncoder().encode(Ke).length;y({duration:`${We}ms`,bytes:`${he} bytes`,tokens:`~${Math.ceil(he/4)} tokens`,cost:"$0.0000"})}catch(h){const v=h instanceof Error?h.message:String(h);I(v||"Unknown error occurred");const W=performance.now();y({duration:`${Math.round(W-a)}ms`})}finally{T(!1)}},ee=(a,h)=>{n(v=>({...v,[a]:h}))},Be=()=>{p(null),g(null),C(null),I(null),y(null)},Fe=j?.name??Lt(s),Je=t.jsx(Oe,{children:t.jsxs(Re,{children:[t.jsx(V,{children:t.jsx(G,{asChild:!0,children:t.jsx(K,{to:"/$org/settings/connections",params:{org:w.slug},children:"Connections"})})}),t.jsx(Q,{}),P&&t.jsxs(t.Fragment,{children:[t.jsx(V,{children:t.jsx(G,{asChild:!0,children:t.jsx(K,{to:"/$org/settings/connections/$appSlug",params:{org:w.slug,appSlug:vt(P)},search:{tab:"tools"},children:P.title})})}),t.jsx(Q,{})]}),t.jsx(V,{children:t.jsx(_e,{children:Fe})})]})}),fe=r.length>1&&t.jsxs(ve,{value:e,onValueChange:o,children:[t.jsx(Se,{className:"h-8 w-auto min-w-[200px]",children:t.jsx(ye,{})}),t.jsx(we,{children:r.map(a=>t.jsx(ne,{value:a.id,children:t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsx(Te,{icon:a.icon,name:a.title,size:"xs",className:"shrink-0"}),a.title]})},a.id))})]}),Ve=t.jsxs("div",{className:"flex flex-col p-6 gap-4 overflow-auto",children:[t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsx("h2",{className:"text-sm font-semibold text-foreground uppercase tracking-wide",children:"Parameters"}),j?.inputSchema?.required&&j.inputSchema.required.length>0&&t.jsxs("span",{className:"text-xs text-muted-foreground",children:[t.jsx("span",{className:"text-red-500",children:"*"})," Required"]})]}),t.jsx("div",{className:"space-y-4",children:q&&j?.inputSchema?.properties?Object.entries(j.inputSchema.properties).map(([a,h])=>t.jsxs("div",{className:"space-y-2",children:[t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("label",{className:"text-sm font-medium leading-none flex items-center gap-1.5",children:[a,j.inputSchema?.required?.includes(a)&&t.jsx("span",{className:"text-red-500 text-xs",children:"*"})]}),t.jsx("span",{className:"text-xs text-muted-foreground font-mono",children:h.type})]}),h.description&&t.jsx("p",{className:"text-xs text-muted-foreground leading-relaxed",children:h.description}),h.type==="object"||h.type==="array"?t.jsx(ie,{className:"font-mono text-xs",value:Z(a)?d[a]??"":H[a]??"",onChange:v=>ee(a,v.target.value),placeholder:`Enter ${a} as JSON...`,rows:3}):h.type==="boolean"?t.jsxs(ve,{value:Z(a)?String(d[a]??""):"",onValueChange:v=>ee(a,v==="true"),children:[t.jsx(Se,{children:t.jsx(ye,{placeholder:"Select true or false..."})}),t.jsxs(we,{children:[t.jsx(ne,{value:"true",children:"true"}),t.jsx(ne,{value:"false",children:"false"})]})]}):t.jsx(me,{value:Z(a)?d[a]??"":H[a]??"",onChange:v=>ee(a,v.target.value),placeholder:`Enter ${a}...`})]},a)):j?.inputSchema&&!q?t.jsxs("div",{className:"space-y-2",children:[t.jsx("label",{className:"text-sm font-medium",children:"Raw JSON Input"}),t.jsx(ie,{className:"font-mono text-xs min-h-[120px]",value:u,onChange:a=>x(a.target.value),placeholder:'e.g. { "foo": "bar" }'})]}):t.jsx("div",{className:"flex items-center justify-center p-8 bg-muted/30 rounded-lg border border-dashed border-border",children:t.jsx("p",{className:"text-sm text-muted-foreground",children:"No parameters required"})})}),t.jsx("div",{className:"flex items-center gap-2 pt-2",children:k?t.jsxs(F,{size:"sm",variant:"destructive",className:"h-8 gap-2",onClick:Be,children:[t.jsx(lt,{className:"h-3.5 w-3.5"}),"Cancel"]}):t.jsxs(F,{size:"sm",variant:"default",className:"h-8 gap-2",onClick:Ue,children:[t.jsx(Nt,{className:"h-3.5 w-3.5 fill-current"}),"Execute Tool"]})})]}),qe=t.jsxs("div",{className:"flex flex-col @3xl:h-full @3xl:overflow-hidden",children:[t.jsxs("div",{className:"flex items-center justify-between px-4 h-14 border-b border-border bg-background",children:[t.jsx("h2",{className:"text-sm font-medium text-foreground uppercase tracking-wide",children:"Result"}),t.jsxs("div",{className:"flex items-center gap-3",children:[b&&t.jsxs("div",{className:"flex items-center gap-3 text-xs",children:[t.jsxs("div",{className:"flex items-center gap-1.5",children:[t.jsx(jt,{className:"h-3 w-3 text-muted-foreground"}),t.jsx("span",{className:"font-mono text-foreground",children:b.duration})]}),b.tokens&&t.jsxs("div",{className:"flex items-center gap-1.5",children:[t.jsx(at,{className:"h-3 w-3 text-muted-foreground"}),t.jsx("span",{className:"font-mono text-foreground",children:b.tokens})]}),b.bytes&&t.jsxs("div",{className:"flex items-center gap-1.5",children:[t.jsx(ct,{className:"h-3 w-3 text-muted-foreground"}),t.jsx("span",{className:"font-mono text-foreground",children:b.bytes})]}),b.cost&&t.jsx("div",{className:"flex items-center gap-1.5",children:t.jsx("span",{className:"font-mono text-foreground",children:b.cost})})]}),E&&t.jsx(ht,{children:t.jsxs("div",{className:"flex items-center gap-1",children:[t.jsxs(Ce,{children:[t.jsx(Ie,{asChild:!0,children:t.jsx(F,{size:"icon",variant:D==="ui"?"secondary":"ghost",className:"h-8 w-8",onClick:()=>X("ui"),children:t.jsx(dt,{size:14})})}),t.jsx($e,{children:"Interactive view"})]}),t.jsxs(Ce,{children:[t.jsx(Ie,{asChild:!0,children:t.jsx(F,{size:"icon",variant:D==="json"?"secondary":"ghost",className:"h-8 w-8",onClick:()=>X("json"),children:t.jsx(be,{size:14})})}),t.jsx($e,{children:"JSON view"})]})]})})]})]}),R&&t.jsx("div",{className:"px-6 py-4 bg-background",children:t.jsx(xt,{variant:"destructive",children:t.jsxs("div",{className:"flex flex-col gap-2",children:[t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsx(gt,{className:"h-4 w-4"}),t.jsx(pt,{className:"mb-0",children:"Execution Failed"})]}),t.jsx(ft,{className:"text-xs text-destructive",children:R})]})})}),t.jsx("div",{className:"relative flex-1 min-h-[400px] @3xl:min-h-0 @3xl:overflow-auto bg-muted/50",children:E&&D==="ui"&&_?t.jsx($.Suspense,{fallback:t.jsx("div",{className:"flex items-center justify-center h-48",children:t.jsxs("div",{className:"flex items-center gap-2 text-muted-foreground",children:[t.jsx("div",{className:"size-4 border-2 border-current border-t-transparent rounded-full animate-spin"}),t.jsx("span",{className:"text-sm",children:"Loading app..."})]})}),children:t.jsx(ut,{resourceURI:E,toolInfo:j?{tool:j}:void 0,toolInput:S??void 0,toolResult:f??void 0,displayMode:"fullscreen",minHeight:Ne.view.minHeight,maxHeight:Ne.view.maxHeight,client:_,onMessage:J,onUpdateModelContext:a=>A?.setAppContext(z,a),onTeardown:()=>A?.clearAppContext(z),className:"h-full"})}):m?t.jsxs(t.Fragment,{children:[t.jsx(Ct,{code:JSON.stringify(m,null,2),language:"json",height:"100%",readOnly:!0}),t.jsx(F,{size:"icon",variant:"ghost",className:"absolute top-4 right-4 h-8 w-8 bg-background/80 hover:bg-background border border-border shadow-sm",onClick:()=>{navigator.clipboard.writeText(JSON.stringify(m,null,2)),Xe.success("Copied to clipboard")},children:t.jsx(bt,{className:"h-3.5 w-3.5"})})]}):t.jsxs("div",{className:"absolute inset-0 flex flex-col items-center justify-center text-muted-foreground",children:[t.jsx(be,{className:"h-12 w-12 mb-3 opacity-40"}),t.jsx("p",{className:"text-sm",children:"Run the tool to see results"})]})})]});return t.jsx(ue,{breadcrumb:Je,children:t.jsxs("div",{className:"flex flex-col h-full overflow-hidden @container",children:[t.jsxs("div",{className:"flex flex-col gap-3 py-7 px-8 bg-background border-b border-border shrink-0",children:[t.jsxs("div",{className:"flex items-center gap-4",children:[t.jsx(Te,{icon:P?.icon||null,name:P?.title||s,size:"xl",className:"shrink-0"}),t.jsx("h1",{className:"text-xl font-semibold tracking-tight text-foreground leading-none truncate",children:s}),t.jsxs("div",{className:"flex items-center gap-2 px-2.5 py-1 bg-muted/50 rounded-md h-fit shrink-0",children:[L.isSuccess?t.jsx("div",{className:"h-1.5 w-1.5 rounded-full bg-green-500 animate-pulse shrink-0"}):L.isLoading?t.jsx(Y,{size:10,className:"animate-spin text-yellow-500 shrink-0"}):t.jsx("div",{className:"h-1.5 w-1.5 rounded-full bg-red-500 shrink-0"}),t.jsx("span",{className:"font-mono text-xs capitalize text-muted-foreground leading-none",children:L.isSuccess?"ready":L.isLoading?"connecting":"error"})]}),t.jsx(yt,{annotations:j?.annotations,_meta:j?._meta}),t.jsx("div",{className:"hidden @3xl:flex items-center ml-auto shrink-0",children:fe})]}),t.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:j?.description||"No description available"})]}),r.length>1&&t.jsxs("div",{className:"flex @3xl:hidden items-center gap-3 px-8 py-3 border-b border-border",children:[t.jsx("span",{className:"text-xs font-medium text-muted-foreground shrink-0",children:"Instance"}),fe]}),t.jsx("div",{className:"flex-1 overflow-auto @3xl:overflow-hidden",children:t.jsxs("div",{className:"grid grid-cols-1 @3xl:grid-cols-[minmax(0,2fr)_minmax(0,5fr)] @3xl:h-full @3xl:grid-rows-1",children:[t.jsx("div",{className:"@3xl:border-r border-border @3xl:overflow-auto",children:Ve}),qe]})})]})})}function Ft(s){const e=O.c(10),{itemId:r,siblings:o,onBack:l}=s,[i,c]=$.useState(o[0]?.id??"");let d;e[0]!==i||e[1]!==o?(d=o.find(p=>p.id===i)?.id??o[0]?.id??"",e[0]=i,e[1]=o,e[2]=d):d=e[2];const n=d;if(!De(n||void 0)||!n){let p;return e[3]===Symbol.for("react.memo_cache_sentinel")?(p=t.jsx("div",{className:"flex h-full items-center justify-center",children:t.jsxs("div",{className:"flex flex-col items-center gap-2 text-center",children:[t.jsx("h3",{className:"text-lg font-semibold",children:"Connection not found"}),t.jsx("p",{className:"text-sm text-muted-foreground",children:"This connection may have been deleted or you may not have access."})]})}),e[3]=p):p=e[3],p}let x;e[4]===Symbol.for("react.memo_cache_sentinel")?(x=t.jsx("div",{className:"flex h-full items-center justify-center",children:t.jsx(Y,{size:32,className:"animate-spin text-muted-foreground"})}),e[4]=x):x=e[4];let m;return e[5]!==n||e[6]!==l||e[7]!==o||e[8]!==r?(m=t.jsx($.Suspense,{fallback:x,children:t.jsx(Ut,{toolName:r,connectionId:n,siblings:o,onSelectInstance:c,onBack:l})}),e[5]=n,e[6]=l,e[7]=o,e[8]=r,e[9]=m):m=e[9],m}function Jt(s){const e=O.c(21),{icon:r,illustration:o,title:l,description:i,buttonProps:c,buttonComponent:d,className:n,children:u}=s;let x;e[0]!==n?(x=je("flex flex-col items-center justify-center py-16 text-center",n),e[0]=n,e[1]=x):x=e[1];let m;e[2]!==r||e[3]!==o?(m=o?t.jsx("div",{className:"mb-4 text-muted-foreground/50",children:o}):r?t.jsx("div",{className:"mb-4 flex h-12 w-12 items-center justify-center rounded-xl bg-muted/50 text-muted-foreground",children:r}):null,e[2]=r,e[3]=o,e[4]=m):m=e[4];let p;e[5]!==l?(p=t.jsx("h3",{className:"text-sm font-semibold text-foreground",children:l}),e[5]=l,e[6]=p):p=e[6];let f;e[7]!==i?(f=i&&t.jsx("div",{className:"text-sm text-muted-foreground",children:i}),e[7]=i,e[8]=f):f=e[8];let g;e[9]!==p||e[10]!==f?(g=t.jsxs("div",{className:"flex flex-col items-center gap-1 max-w-sm",children:[p,f]}),e[9]=p,e[10]=f,e[11]=g):g=e[11];let S;e[12]!==d||e[13]!==c?(S=(d??c)&&t.jsx("div",{className:"mt-4",children:d??(c&&t.jsx(F,{size:"sm",className:je(c?.className),...c}))}),e[12]=d,e[13]=c,e[14]=S):S=e[14];let C;return e[15]!==u||e[16]!==x||e[17]!==m||e[18]!==g||e[19]!==S?(C=t.jsxs("div",{className:x,children:[m,g,S,u]}),e[15]=u,e[16]=x,e[17]=m,e[18]=g,e[19]=S,e[20]=C):C=e[20],C}const Vt={prompt:zt};function qt(){const s=O.c(9),e=ke();let r;s[0]===Symbol.for("react.memo_cache_sentinel")?(r={from:"/shell/$org/settings/connections/$appSlug/$collectionName/$itemId"},s[0]=r):r=s[0];const o=le(r),l=decodeURIComponent(o.itemId);let i;s[1]!==o.appSlug?(i={slug:o.appSlug},s[1]=o.appSlug,s[2]=i):i=s[2];const c=Me(i);let d;s[3]!==e.history?(d=()=>{e.history.back()},s[3]=e.history,s[4]=d):d=s[4];const n=d,u=Ht;let x;return s[5]!==n||s[6]!==l||s[7]!==c?(x=t.jsx(Ft,{itemId:l,siblings:c,onBack:n,onUpdate:u}),s[5]=n,s[6]=l,s[7]=c,s[8]=x):x=s[8],x}async function Ht(s){return Promise.resolve()}function Wt(s){return s.toLowerCase().split("_").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" ")}function Kt(){const s=O.c(41),e=ke();let r;s[0]===Symbol.for("react.memo_cache_sentinel")?(r={from:"/shell/$org/settings/connections/$appSlug/$collectionName/$itemId"},s[0]=r):r=s[0];const o=le(r),l=decodeURIComponent(o.collectionName),i=decodeURIComponent(o.itemId);let c;s[1]!==e.history?(c=()=>{e.history.back()},s[1]=e.history,s[2]=c):c=s[2];const d=c,{org:n}=re();let u;s[3]!==o.appSlug?(u={slug:o.appSlug},s[3]=o.appSlug,s[4]=u):u=s[4];const m=Me(u)[0]??null,p=m?.id??"",f=p||"no-connection",g=p??null;let S;s[5]!==n.id||s[6]!==n.slug||s[7]!==g?(S={connectionId:g,orgId:n.id,orgSlug:n.slug},s[5]=n.id,s[6]=n.slug,s[7]=g,s[8]=S):S=s[8];const C=ae(S),R=Ee(f,l,C);let I;s[9]!==R||s[10]!==i?(I=async D=>{i&&await R.update.mutateAsync({id:i,data:D})},s[9]=R,s[10]=i,s[11]=I):I=s[11];const k=I;let T;s[12]!==l?(T=l?.toLowerCase(),s[12]=l,s[13]=T):T=s[13];const b=T,y=b&&Vt[b];let w;s[14]!==l?(w=Wt(l),s[14]=l,s[15]=w):w=s[15];const P=w;let N;s[16]!==n.slug?(N=t.jsx(V,{children:t.jsx(G,{asChild:!0,children:t.jsx(K,{to:"/$org/settings/connections",params:{org:n.slug},children:"Connections"})})}),s[16]=n.slug,s[17]=N):N=s[17];let A;s[18]===Symbol.for("react.memo_cache_sentinel")?(A=t.jsx(Q,{}),s[18]=A):A=s[18];let U;s[19]!==l||s[20]!==m||s[21]!==n.slug||s[22]!==o.appSlug?(U=m&&t.jsxs(t.Fragment,{children:[t.jsx(V,{children:t.jsx(G,{asChild:!0,children:t.jsx(K,{to:"/$org/settings/connections/$appSlug",params:{org:n.slug,appSlug:o.appSlug},search:{tab:l},children:m.title})})}),t.jsx(Q,{})]}),s[19]=l,s[20]=m,s[21]=n.slug,s[22]=o.appSlug,s[23]=U):U=s[23];let z;s[24]!==P?(z=t.jsx(V,{children:t.jsx(_e,{children:P})}),s[24]=P,s[25]=z):z=s[25];let _;s[26]!==U||s[27]!==z||s[28]!==N?(_=t.jsx(Oe,{children:t.jsxs(Re,{children:[N,A,U,z]})}),s[26]=U,s[27]=z,s[28]=N,s[29]=_):_=s[29];const L=_;if(y){let D;return s[30]!==y||s[31]!==d||s[32]!==k||s[33]!==i?(D=t.jsx(y,{itemId:i,onBack:d,onUpdate:k}),s[30]=y,s[31]=d,s[32]=k,s[33]=i,s[34]=D):D=s[34],D}let j;s[35]===Symbol.for("react.memo_cache_sentinel")?(j=t.jsx(kt,{size:36,className:"text-muted-foreground"}),s[35]=j):j=s[35];let E;s[36]!==d?(E=t.jsx(Jt,{icon:j,title:"No component defined",description:"No component for this collection was defined",buttonProps:{onClick:d,children:"Go back"}}),s[36]=d,s[37]=E):E=s[37];let J;return s[38]!==L||s[39]!==E?(J=t.jsx(ue,{breadcrumb:L,children:E}),s[38]=L,s[39]=E,s[40]=J):J=s[40],J}function Gt(){const s=O.c(3);let e;s[0]===Symbol.for("react.memo_cache_sentinel")?(e={from:"/shell/$org/settings/connections/$appSlug/$collectionName/$itemId"},s[0]=e):e=s[0];const r=le(e);if(decodeURIComponent(r.collectionName)==="tools"){let c;return s[1]===Symbol.for("react.memo_cache_sentinel")?(c=t.jsx(qt,{}),s[1]=c):c=s[1],c}let i;return s[2]===Symbol.for("react.memo_cache_sentinel")?(i=t.jsx(Kt,{}),s[2]=i):i=s[2],i}function Vn(){const s=O.c(1);let e;return s[0]===Symbol.for("react.memo_cache_sentinel")?(e=t.jsx(Pe,{children:t.jsx($.Suspense,{fallback:t.jsx("div",{className:"flex h-full items-center justify-center",children:t.jsx(Y,{size:32,className:"animate-spin text-muted-foreground"})}),children:t.jsx(Gt,{})})}),s[0]=e):e=s[0],e}export{Vn as default};
@@ -1 +1 @@
1
- import{c as B,j as s,l as M,B as V}from"./index-3wANCPRO.js";import{d as z,a as _,c as $,D as E}from"./dropdown-menu-DnltYtFq.js";import{i as L,n as O,b as R,c as A}from"./SwitchHorizontal01-BMtwwLBl.js";import{i as S}from"./Check-DRzA-dpx.js";import{i as F}from"./List-BDtpMLbg.js";import{a as I,b as K,c as P,T as W}from"./tooltip-CZrkvlI-.js";import{V as q}from"./view-mode-toggle-BtNX-3na.js";import{B as G}from"./badge-zW2D6RON.js";function re(t){const e=B.c(31),{viewMode:r,onViewModeChange:m,sortKey:T,sortDirection:p,onSort:f,sortOptions:u,filters:h}=t;let g;e[0]!==u?(g=u===void 0?[]:u,e[0]=u,e[1]=g):g=e[1];const j=g;let b;e[2]!==h?(b=h===void 0?[]:h,e[2]=h,e[3]=b):b=e[3];const l=b;let v;e[4]!==l?(v=l.filter(J),e[4]=l,e[5]=v):v=e[5];const N=v.length;let w;e[6]===Symbol.for("react.memo_cache_sentinel")?(w=s.jsx(R,{size:16}),e[6]=w):w=e[6];let i;e[7]!==N?(i=N>0&&s.jsx(G,{variant:"default",className:"absolute -top-1.5 -right-1.5 h-4 min-w-4 px-1 text-[10px] leading-none",children:N}),e[7]=N,e[8]=i):i=e[8];let o;e[9]!==i?(o=s.jsx(I,{asChild:!0,children:s.jsx(_,{asChild:!0,children:s.jsxs(V,{variant:"outline",size:"icon",className:"relative",children:[w,i]})})}),e[9]=i,e[10]=o):o=e[10];let C;e[11]===Symbol.for("react.memo_cache_sentinel")?(C=s.jsx(K,{children:"Display & filters"}),e[11]=C):C=e[11];let n;e[12]!==o?(n=s.jsx(P,{children:s.jsxs(W,{children:[o,C]})}),e[12]=o,e[13]=n):n=e[13];let a;e[14]!==m||e[15]!==r?(a=m&&r&&s.jsx("div",{className:"p-2 border-b border-border",children:s.jsx(q,{value:r,onValueChange:m,fullWidth:!0,options:[{value:"table",icon:s.jsx(F,{})},{value:"cards",icon:s.jsx(A,{})}]})}),e[14]=m,e[15]=r,e[16]=a):a=e[16];let c;e[17]!==f||e[18]!==p||e[19]!==T||e[20]!==j?(c=j.length>0&&f&&s.jsxs("div",{className:"p-1 flex flex-col gap-0.5 border-b border-border",children:[s.jsx("div",{className:"px-2 py-1.5 text-xs font-mono font-normal text-muted-foreground uppercase tracking-wide",children:"Sort by"}),j.map(y=>{const D=T===y.id;return s.jsx(z,{onClick:()=>f(y.id),className:M("h-8 px-2 py-0 cursor-pointer",D&&"bg-accent"),children:s.jsxs("div",{className:"flex items-center gap-2 w-full",children:[D&&s.jsx(S,{size:16,className:"text-foreground shrink-0"}),!D&&s.jsx("div",{className:"w-4 shrink-0"}),s.jsx("span",{className:"text-sm text-foreground flex-1",children:y.label}),D&&p&&(p==="asc"?s.jsx(L,{size:16,className:"text-foreground shrink-0"}):s.jsx(O,{size:16,className:"text-foreground shrink-0"}))]})},y.id)})]}),e[17]=f,e[18]=p,e[19]=T,e[20]=j,e[21]=c):c=e[21];let d;e[22]!==l?(d=l.map(H),e[22]=l,e[23]=d):d=e[23];let x;e[24]!==a||e[25]!==c||e[26]!==d?(x=s.jsxs($,{align:"end",className:"w-[200px] p-0 gap-0",children:[a,c,d]}),e[24]=a,e[25]=c,e[26]=d,e[27]=x):x=e[27];let k;return e[28]!==n||e[29]!==x?(k=s.jsxs(E,{children:[n,x]}),e[28]=n,e[29]=x,e[30]=k):k=e[30],k}function H(t){return s.jsxs("div",{className:"p-1 flex flex-col gap-0.5 border-b border-border last:border-b-0",children:[s.jsx("div",{className:"px-2 py-1.5 text-xs font-mono font-normal text-muted-foreground uppercase tracking-wide",children:t.label}),t.options.map(e=>{const r=t.value===e.id;return s.jsx(z,{onClick:()=>t.onChange(e.id),className:M("h-8 px-2 py-0 cursor-pointer",r&&"bg-accent"),children:s.jsxs("div",{className:"flex items-center gap-2 w-full",children:[r&&s.jsx(S,{size:16,className:"text-foreground shrink-0"}),!r&&s.jsx("div",{className:"w-4 shrink-0"}),s.jsx("span",{className:"text-sm text-foreground flex-1",children:e.label})]})},e.id)})]},t.label)}function J(t){return t.value!=="ALL"}export{re as C};
1
+ import{c as B,j as s,l as M,B as V}from"./index-7EDQs4g5.js";import{d as z,a as _,c as $,D as E}from"./dropdown-menu-CksFCj44.js";import{i as L,n as O,b as R,c as A}from"./SwitchHorizontal01-1_z_hHyc.js";import{i as S}from"./Check-Aukmu8Un.js";import{i as F}from"./List-CoWwn-yg.js";import{a as I,b as K,c as P,T as W}from"./tooltip-Cjk9PMKc.js";import{V as q}from"./view-mode-toggle-BEPKlxI2.js";import{B as G}from"./badge-C262yjLA.js";function re(t){const e=B.c(31),{viewMode:r,onViewModeChange:m,sortKey:T,sortDirection:p,onSort:f,sortOptions:u,filters:h}=t;let g;e[0]!==u?(g=u===void 0?[]:u,e[0]=u,e[1]=g):g=e[1];const j=g;let b;e[2]!==h?(b=h===void 0?[]:h,e[2]=h,e[3]=b):b=e[3];const l=b;let v;e[4]!==l?(v=l.filter(J),e[4]=l,e[5]=v):v=e[5];const N=v.length;let w;e[6]===Symbol.for("react.memo_cache_sentinel")?(w=s.jsx(R,{size:16}),e[6]=w):w=e[6];let i;e[7]!==N?(i=N>0&&s.jsx(G,{variant:"default",className:"absolute -top-1.5 -right-1.5 h-4 min-w-4 px-1 text-[10px] leading-none",children:N}),e[7]=N,e[8]=i):i=e[8];let o;e[9]!==i?(o=s.jsx(I,{asChild:!0,children:s.jsx(_,{asChild:!0,children:s.jsxs(V,{variant:"outline",size:"icon",className:"relative",children:[w,i]})})}),e[9]=i,e[10]=o):o=e[10];let C;e[11]===Symbol.for("react.memo_cache_sentinel")?(C=s.jsx(K,{children:"Display & filters"}),e[11]=C):C=e[11];let n;e[12]!==o?(n=s.jsx(P,{children:s.jsxs(W,{children:[o,C]})}),e[12]=o,e[13]=n):n=e[13];let a;e[14]!==m||e[15]!==r?(a=m&&r&&s.jsx("div",{className:"p-2 border-b border-border",children:s.jsx(q,{value:r,onValueChange:m,fullWidth:!0,options:[{value:"table",icon:s.jsx(F,{})},{value:"cards",icon:s.jsx(A,{})}]})}),e[14]=m,e[15]=r,e[16]=a):a=e[16];let c;e[17]!==f||e[18]!==p||e[19]!==T||e[20]!==j?(c=j.length>0&&f&&s.jsxs("div",{className:"p-1 flex flex-col gap-0.5 border-b border-border",children:[s.jsx("div",{className:"px-2 py-1.5 text-xs font-mono font-normal text-muted-foreground uppercase tracking-wide",children:"Sort by"}),j.map(y=>{const D=T===y.id;return s.jsx(z,{onClick:()=>f(y.id),className:M("h-8 px-2 py-0 cursor-pointer",D&&"bg-accent"),children:s.jsxs("div",{className:"flex items-center gap-2 w-full",children:[D&&s.jsx(S,{size:16,className:"text-foreground shrink-0"}),!D&&s.jsx("div",{className:"w-4 shrink-0"}),s.jsx("span",{className:"text-sm text-foreground flex-1",children:y.label}),D&&p&&(p==="asc"?s.jsx(L,{size:16,className:"text-foreground shrink-0"}):s.jsx(O,{size:16,className:"text-foreground shrink-0"}))]})},y.id)})]}),e[17]=f,e[18]=p,e[19]=T,e[20]=j,e[21]=c):c=e[21];let d;e[22]!==l?(d=l.map(H),e[22]=l,e[23]=d):d=e[23];let x;e[24]!==a||e[25]!==c||e[26]!==d?(x=s.jsxs($,{align:"end",className:"w-[200px] p-0 gap-0",children:[a,c,d]}),e[24]=a,e[25]=c,e[26]=d,e[27]=x):x=e[27];let k;return e[28]!==n||e[29]!==x?(k=s.jsxs(E,{children:[n,x]}),e[28]=n,e[29]=x,e[30]=k):k=e[30],k}function H(t){return s.jsxs("div",{className:"p-1 flex flex-col gap-0.5 border-b border-border last:border-b-0",children:[s.jsx("div",{className:"px-2 py-1.5 text-xs font-mono font-normal text-muted-foreground uppercase tracking-wide",children:t.label}),t.options.map(e=>{const r=t.value===e.id;return s.jsx(z,{onClick:()=>t.onChange(e.id),className:M("h-8 px-2 py-0 cursor-pointer",r&&"bg-accent"),children:s.jsxs("div",{className:"flex items-center gap-2 w-full",children:[r&&s.jsx(S,{size:16,className:"text-foreground shrink-0"}),!r&&s.jsx("div",{className:"w-4 shrink-0"}),s.jsx("span",{className:"text-sm text-foreground flex-1",children:e.label})]})},e.id)})]},t.label)}function J(t){return t.value!=="ALL"}export{re as C};
@@ -1 +1 @@
1
- import{c as v,l as b,j as a,i as w}from"./index-3wANCPRO.js";import{i as C}from"./SearchMd-aI0z5N9j.js";function S(j){const e=v.c(21),{value:d,onChange:m,placeholder:g,onKeyDown:x,className:u,isSearching:f,disabled:i}=j,p=g===void 0?"Search...":g;let t;e[0]!==u?(t=b("shrink-0 w-full border-b border-border h-12",u),e[0]=u,e[1]=t):t=e[1];const h=i?"cursor-not-allowed opacity-50":"cursor-text";let s;e[2]!==h?(s=b("flex items-center gap-2.5 h-12 px-4",h),e[2]=h,e[3]=s):s=e[3];let l;e[4]!==f?(l=f?a.jsx(w,{size:16,className:"animate-spin text-muted-foreground shrink-0"}):a.jsx(C,{size:16,className:"text-muted-foreground shrink-0"}),e[4]=f,e[5]=l):l=e[5];let r;e[6]!==m?(r=N=>m(N.target.value),e[6]=m,e[7]=r):r=e[7];let o;e[8]!==i||e[9]!==x||e[10]!==p||e[11]!==r||e[12]!==d?(o=a.jsx("input",{type:"text",value:d,onChange:r,onKeyDown:x,placeholder:p,disabled:i,className:"flex-1 min-w-0 bg-transparent text-sm text-foreground placeholder:text-muted-foreground/50 outline-none"}),e[8]=i,e[9]=x,e[10]=p,e[11]=r,e[12]=d,e[13]=o):o=e[13];let n;e[14]!==s||e[15]!==l||e[16]!==o?(n=a.jsxs("label",{className:s,children:[l,o]}),e[14]=s,e[15]=l,e[16]=o,e[17]=n):n=e[17];let c;return e[18]!==t||e[19]!==n?(c=a.jsx("div",{className:t,children:n}),e[18]=t,e[19]=n,e[20]=c):c=e[20],c}export{S as C};
1
+ import{c as v,l as b,j as a,i as w}from"./index-7EDQs4g5.js";import{i as C}from"./SearchMd-DJS38wH4.js";function S(j){const e=v.c(21),{value:d,onChange:m,placeholder:g,onKeyDown:x,className:u,isSearching:f,disabled:i}=j,p=g===void 0?"Search...":g;let t;e[0]!==u?(t=b("shrink-0 w-full border-b border-border h-12",u),e[0]=u,e[1]=t):t=e[1];const h=i?"cursor-not-allowed opacity-50":"cursor-text";let s;e[2]!==h?(s=b("flex items-center gap-2.5 h-12 px-4",h),e[2]=h,e[3]=s):s=e[3];let l;e[4]!==f?(l=f?a.jsx(w,{size:16,className:"animate-spin text-muted-foreground shrink-0"}):a.jsx(C,{size:16,className:"text-muted-foreground shrink-0"}),e[4]=f,e[5]=l):l=e[5];let r;e[6]!==m?(r=N=>m(N.target.value),e[6]=m,e[7]=r):r=e[7];let o;e[8]!==i||e[9]!==x||e[10]!==p||e[11]!==r||e[12]!==d?(o=a.jsx("input",{type:"text",value:d,onChange:r,onKeyDown:x,placeholder:p,disabled:i,className:"flex-1 min-w-0 bg-transparent text-sm text-foreground placeholder:text-muted-foreground/50 outline-none"}),e[8]=i,e[9]=x,e[10]=p,e[11]=r,e[12]=d,e[13]=o):o=e[13];let n;e[14]!==s||e[15]!==l||e[16]!==o?(n=a.jsxs("label",{className:s,children:[l,o]}),e[14]=s,e[15]=l,e[16]=o,e[17]=n):n=e[17];let c;return e[18]!==t||e[19]!==n?(c=a.jsx("div",{className:t,children:n}),e[18]=t,e[19]=n,e[20]=c):c=e[20],c}export{S as C};
@@ -1 +1 @@
1
- import{c as k,j as s,l as C}from"./index-3wANCPRO.js";import{e as S,d as R,a as T,T as H,b as L,c as z}from"./table-B2Fi-xgN.js";import{i as D,n as E}from"./SwitchHorizontal01-BMtwwLBl.js";function I(y){const e=k.c(29),{columns:r,data:f,sortKey:x,sortDirection:u,onSort:i,onRowClick:n,rowClassName:c}=y;let p;e[0]!==u?(p=function(t,h){return s.jsx("div",{className:"w-4 flex items-center justify-center",children:h&&u&&(u==="asc"?s.jsx(D,{size:16,className:"text-muted-foreground transition-colors"}):s.jsx(E,{size:16,className:"text-muted-foreground transition-colors"}))})},e[0]=u,e[1]=p):p=e[1];const b=p;let d;e[2]===Symbol.for("react.memo_cache_sentinel")?(d=function(t,h){let N="px-4 py-2 text-left font-mono font-normal text-muted-foreground text-[11px] h-9 uppercase tracking-wider";return t===h-1&&(N="px-4 py-2 text-left font-mono font-normal text-muted-foreground text-[11px] h-9 uppercase tracking-wider w-8"),N},e[2]=d):d=e[2];const a=d;let l;if(e[3]!==r||e[4]!==i||e[5]!==b||e[6]!==x){let o;e[8]!==r.length||e[9]!==i||e[10]!==b||e[11]!==x?(o=(t,h)=>{const N=x===t.id;return s.jsx(S,{className:C(a(h,r.length),"group transition-colors select-none",t.sortable&&"hover:bg-accent cursor-pointer",t.rowClassName,t.cellClassName),onClick:t.sortable&&i?()=>i(t.id):void 0,children:s.jsxs("span",{className:"flex items-center gap-1",children:[t.header,t.sortable&&b(t.id,N)]})},t.id)},e[8]=r.length,e[9]=i,e[10]=b,e[11]=x,e[12]=o):o=e[12],l=r.map(o),e[3]=r,e[4]=i,e[5]=b,e[6]=x,e[7]=l}else l=e[7];let g;e[13]!==l?(g=s.jsx(R,{className:"border-b-0",children:s.jsx(T,{className:"h-9 hover:bg-transparent border-b border-border",children:l})}),e[13]=l,e[14]=g):g=e[14];let j;if(e[15]!==r||e[16]!==f||e[17]!==n||e[18]!==c){let o;e[20]!==r||e[21]!==n||e[22]!==c?(o=(t,h)=>{const N=c?.(t);return s.jsx(T,{"data-row-index":h,className:C("group/data-row transition-colors border-b-0 hover:bg-accent/50",n?"cursor-pointer":"",N),onClick:n?()=>n(t):void 0,children:r.map(m=>s.jsx(H,{className:C("px-5 py-4 h-16 align-middle text-sm text-foreground",m.cellClassName,m.wrap?"whitespace-normal wrap-break-word":""),children:s.jsx("div",{className:C(m.wrap?"w-full":"min-w-0 w-full",!m.wrap&&"truncate overflow-hidden whitespace-nowrap"),children:m.render?m.render(t):m.accessor?m.accessor(t):null})},m.id))},h)},e[20]=r,e[21]=n,e[22]=c,e[23]=o):o=e[23],j=f.map(o),e[15]=r,e[16]=f,e[17]=n,e[18]=c,e[19]=j}else j=e[19];let w;e[24]!==j?(w=s.jsx(L,{children:j}),e[24]=j,e[25]=w):w=e[25];let v;return e[26]!==g||e[27]!==w?(v=s.jsxs(z,{className:"w-full border-collapse",children:[g,w]}),e[26]=g,e[27]=w,e[28]=v):v=e[28],v}function B(y){const e=k.c(12),{columns:r,data:f,isLoading:x,sortKey:u,sortDirection:i,onSort:n,onRowClick:c,emptyState:p}=y;if(x===void 0?!1:x){let a;return e[0]===Symbol.for("react.memo_cache_sentinel")?(a=s.jsx("div",{className:"flex items-center justify-center h-full",children:s.jsx("div",{className:"text-muted-foreground",children:"Loading..."})}),e[0]=a):a=e[0],a}if(f.length===0){let a;e[1]!==p?(a=p||s.jsx("div",{className:"text-center py-12 text-muted-foreground",children:"No items found"}),e[1]=p,e[2]=a):a=e[2];let l;return e[3]!==a?(l=s.jsx("div",{className:"flex items-center justify-center h-full",children:a}),e[3]=a,e[4]=l):l=e[4],l}let d;return e[5]!==r||e[6]!==f||e[7]!==c||e[8]!==n||e[9]!==i||e[10]!==u?(d=s.jsx("div",{className:"flex-1",children:s.jsx(I,{columns:r,data:f,sortKey:u,sortDirection:i,onSort:n,onRowClick:c})}),e[5]=r,e[6]=f,e[7]=c,e[8]=n,e[9]=i,e[10]=u,e[11]=d):d=e[11],d}export{B as C};
1
+ import{c as k,j as s,l as C}from"./index-7EDQs4g5.js";import{e as S,d as R,a as T,T as H,b as L,c as z}from"./table-CRfKA7NS.js";import{i as D,n as E}from"./SwitchHorizontal01-1_z_hHyc.js";function I(y){const e=k.c(29),{columns:r,data:f,sortKey:x,sortDirection:u,onSort:i,onRowClick:n,rowClassName:c}=y;let p;e[0]!==u?(p=function(t,h){return s.jsx("div",{className:"w-4 flex items-center justify-center",children:h&&u&&(u==="asc"?s.jsx(D,{size:16,className:"text-muted-foreground transition-colors"}):s.jsx(E,{size:16,className:"text-muted-foreground transition-colors"}))})},e[0]=u,e[1]=p):p=e[1];const b=p;let d;e[2]===Symbol.for("react.memo_cache_sentinel")?(d=function(t,h){let N="px-4 py-2 text-left font-mono font-normal text-muted-foreground text-[11px] h-9 uppercase tracking-wider";return t===h-1&&(N="px-4 py-2 text-left font-mono font-normal text-muted-foreground text-[11px] h-9 uppercase tracking-wider w-8"),N},e[2]=d):d=e[2];const a=d;let l;if(e[3]!==r||e[4]!==i||e[5]!==b||e[6]!==x){let o;e[8]!==r.length||e[9]!==i||e[10]!==b||e[11]!==x?(o=(t,h)=>{const N=x===t.id;return s.jsx(S,{className:C(a(h,r.length),"group transition-colors select-none",t.sortable&&"hover:bg-accent cursor-pointer",t.rowClassName,t.cellClassName),onClick:t.sortable&&i?()=>i(t.id):void 0,children:s.jsxs("span",{className:"flex items-center gap-1",children:[t.header,t.sortable&&b(t.id,N)]})},t.id)},e[8]=r.length,e[9]=i,e[10]=b,e[11]=x,e[12]=o):o=e[12],l=r.map(o),e[3]=r,e[4]=i,e[5]=b,e[6]=x,e[7]=l}else l=e[7];let g;e[13]!==l?(g=s.jsx(R,{className:"border-b-0",children:s.jsx(T,{className:"h-9 hover:bg-transparent border-b border-border",children:l})}),e[13]=l,e[14]=g):g=e[14];let j;if(e[15]!==r||e[16]!==f||e[17]!==n||e[18]!==c){let o;e[20]!==r||e[21]!==n||e[22]!==c?(o=(t,h)=>{const N=c?.(t);return s.jsx(T,{"data-row-index":h,className:C("group/data-row transition-colors border-b-0 hover:bg-accent/50",n?"cursor-pointer":"",N),onClick:n?()=>n(t):void 0,children:r.map(m=>s.jsx(H,{className:C("px-5 py-4 h-16 align-middle text-sm text-foreground",m.cellClassName,m.wrap?"whitespace-normal wrap-break-word":""),children:s.jsx("div",{className:C(m.wrap?"w-full":"min-w-0 w-full",!m.wrap&&"truncate overflow-hidden whitespace-nowrap"),children:m.render?m.render(t):m.accessor?m.accessor(t):null})},m.id))},h)},e[20]=r,e[21]=n,e[22]=c,e[23]=o):o=e[23],j=f.map(o),e[15]=r,e[16]=f,e[17]=n,e[18]=c,e[19]=j}else j=e[19];let w;e[24]!==j?(w=s.jsx(L,{children:j}),e[24]=j,e[25]=w):w=e[25];let v;return e[26]!==g||e[27]!==w?(v=s.jsxs(z,{className:"w-full border-collapse",children:[g,w]}),e[26]=g,e[27]=w,e[28]=v):v=e[28],v}function B(y){const e=k.c(12),{columns:r,data:f,isLoading:x,sortKey:u,sortDirection:i,onSort:n,onRowClick:c,emptyState:p}=y;if(x===void 0?!1:x){let a;return e[0]===Symbol.for("react.memo_cache_sentinel")?(a=s.jsx("div",{className:"flex items-center justify-center h-full",children:s.jsx("div",{className:"text-muted-foreground",children:"Loading..."})}),e[0]=a):a=e[0],a}if(f.length===0){let a;e[1]!==p?(a=p||s.jsx("div",{className:"text-center py-12 text-muted-foreground",children:"No items found"}),e[1]=p,e[2]=a):a=e[2];let l;return e[3]!==a?(l=s.jsx("div",{className:"flex items-center justify-center h-full",children:a}),e[3]=a,e[4]=l):l=e[4],l}let d;return e[5]!==r||e[6]!==f||e[7]!==c||e[8]!==n||e[9]!==i||e[10]!==u?(d=s.jsx("div",{className:"flex-1",children:s.jsx(I,{columns:r,data:f,sortKey:u,sortDirection:i,onSort:n,onRowClick:c})}),e[5]=r,e[6]=f,e[7]=c,e[8]=n,e[9]=i,e[10]=u,e[11]=d):d=e[11],d}export{B as C};
@@ -1 +1 @@
1
- import{c as f,l as u,j as m}from"./index-3wANCPRO.js";import{B as g}from"./badge-zW2D6RON.js";function h(x){const e=f.c(12),{tabs:c,activeTab:n,onTabChange:s,className:a}=x;let t;e[0]!==a?(t=u("flex items-center gap-2 overflow-x-auto no-scrollbar",a),e[0]=a,e[1]=t):t=e[1];let r;if(e[2]!==n||e[3]!==s||e[4]!==c){let l;e[6]!==n||e[7]!==s?(l=o=>{const d=n===o.id;return m.jsxs("button",{type:"button",onClick:()=>s(o.id),className:u("h-7 px-2 text-sm rounded-lg border border-input transition-colors inline-flex gap-1.5 items-center",d&&"bg-accent border-border text-foreground",!d&&"bg-transparent text-muted-foreground hover:border-border hover:bg-accent/50 hover:text-foreground"),children:[o.label,o.count!==void 0&&m.jsx(g,{variant:"secondary",className:u("h-5 min-w-5 px-1 rounded-full text-[10px] font-mono inline-flex items-center justify-center",d?"bg-background text-foreground":"bg-muted-foreground/10 text-muted-foreground"),children:o.count})]},o.id)},e[6]=n,e[7]=s,e[8]=l):l=e[8],r=c.map(l),e[2]=n,e[3]=s,e[4]=c,e[5]=r}else r=e[5];let i;return e[9]!==t||e[10]!==r?(i=m.jsx("div",{className:t,children:r}),e[9]=t,e[10]=r,e[11]=i):i=e[11],i}export{h as C};
1
+ import{c as f,l as u,j as m}from"./index-7EDQs4g5.js";import{B as g}from"./badge-C262yjLA.js";function h(x){const e=f.c(12),{tabs:c,activeTab:n,onTabChange:s,className:a}=x;let t;e[0]!==a?(t=u("flex items-center gap-2 overflow-x-auto no-scrollbar",a),e[0]=a,e[1]=t):t=e[1];let r;if(e[2]!==n||e[3]!==s||e[4]!==c){let l;e[6]!==n||e[7]!==s?(l=o=>{const d=n===o.id;return m.jsxs("button",{type:"button",onClick:()=>s(o.id),className:u("h-7 px-2 text-sm rounded-lg border border-input transition-colors inline-flex gap-1.5 items-center",d&&"bg-accent border-border text-foreground",!d&&"bg-transparent text-muted-foreground hover:border-border hover:bg-accent/50 hover:text-foreground"),children:[o.label,o.count!==void 0&&m.jsx(g,{variant:"secondary",className:u("h-5 min-w-5 px-1 rounded-full text-[10px] font-mono inline-flex items-center justify-center",d?"bg-background text-foreground":"bg-muted-foreground/10 text-muted-foreground"),children:o.count})]},o.id)},e[6]=n,e[7]=s,e[8]=l):l=e[8],r=c.map(l),e[2]=n,e[3]=s,e[4]=c,e[5]=r}else r=e[5];let i;return e[9]!==t||e[10]!==r?(i=m.jsx("div",{className:t,children:r}),e[9]=t,e[10]=r,e[11]=i):i=e[11],i}export{h as C};
@@ -1 +1 @@
1
- import{c as d,l as i,j as n}from"./index-3wANCPRO.js";import{_ as m}from"./index-0_QD3N3p.js";import{e as k,a as N,b as j,c as b,d as w}from"./dialog-D4tuLdKg.js";import{i as y}from"./SearchMd-aI0z5N9j.js";function C(a){const e=d.c(8);let t,s;e[0]!==a?({className:t,...s}=a,e[0]=a,e[1]=t,e[2]=s):(t=e[1],s=e[2]);let o;e[3]!==t?(o=i("bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md",t),e[3]=t,e[4]=o):o=e[4];let l;return e[5]!==s||e[6]!==o?(l=n.jsx(m,{"data-slot":"command",className:o,...s}),e[5]=s,e[6]=o,e[7]=l):l=e[7],l}function S(a){const e=d.c(24);let t,s,o,l,r;e[0]!==a?({title:l,description:r,children:t,className:s,...o}=a,e[0]=a,e[1]=t,e[2]=s,e[3]=o,e[4]=l,e[5]=r):(t=e[1],s=e[2],o=e[3],l=e[4],r=e[5]);const _=l===void 0?"Command Palette":l,v=r===void 0?"Search for a command to run...":r;let c;e[6]!==_?(c=n.jsx(N,{children:_}),e[6]=_,e[7]=c):c=e[7];let p;e[8]!==v?(p=n.jsx(j,{children:v}),e[8]=v,e[9]=p):p=e[9];let u;e[10]!==c||e[11]!==p?(u=n.jsxs(b,{className:"sr-only",children:[c,p]}),e[10]=c,e[11]=p,e[12]=u):u=e[12];let f;e[13]!==s?(f=i("overflow-hidden p-0",s),e[13]=s,e[14]=f):f=e[14];let x;e[15]!==t?(x=n.jsx(C,{className:"[&_[cmdk-group-heading]]:text-muted-foreground **:data-[slot=command-input-wrapper]:h-12 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]]:px-2 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5",children:t}),e[15]=t,e[16]=x):x=e[16];let g;e[17]!==f||e[18]!==x?(g=n.jsx(w,{className:f,closeButtonClassName:"hidden",children:x}),e[17]=f,e[18]=x,e[19]=g):g=e[19];let h;return e[20]!==o||e[21]!==u||e[22]!==g?(h=n.jsxs(k,{...o,children:[u,g]}),e[20]=o,e[21]=u,e[22]=g,e[23]=h):h=e[23],h}function z(a){const e=d.c(9);let t,s;e[0]!==a?({className:t,...s}=a,e[0]=a,e[1]=t,e[2]=s):(t=e[1],s=e[2]);let o;e[3]===Symbol.for("react.memo_cache_sentinel")?(o=n.jsx(y,{className:"size-5 shrink-0 text-foreground"}),e[3]=o):o=e[3];let l;e[4]!==t?(l=i("placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50",t),e[4]=t,e[5]=l):l=e[5];let r;return e[6]!==s||e[7]!==l?(r=n.jsxs("div",{"data-slot":"command-input-wrapper",className:"flex h-10 items-center gap-2 border-b px-3",children:[o,n.jsx(m.Input,{"data-slot":"command-input",className:l,...s})]}),e[6]=s,e[7]=l,e[8]=r):r=e[8],r}function G(a){const e=d.c(8);let t,s;e[0]!==a?({className:t,...s}=a,e[0]=a,e[1]=t,e[2]=s):(t=e[1],s=e[2]);let o;e[3]!==t?(o=i("max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto",t),e[3]=t,e[4]=o):o=e[4];let l;return e[5]!==s||e[6]!==o?(l=n.jsx(m.List,{"data-slot":"command-list",className:o,...s}),e[5]=s,e[6]=o,e[7]=l):l=e[7],l}function L(a){const e=d.c(4);let t;e[0]!==a?({...t}=a,e[0]=a,e[1]=t):t=e[1];let s;return e[2]!==t?(s=n.jsx(m.Empty,{"data-slot":"command-empty",className:"py-6 text-center text-sm",...t}),e[2]=t,e[3]=s):s=e[3],s}function R(a){const e=d.c(8);let t,s;e[0]!==a?({className:t,...s}=a,e[0]=a,e[1]=t,e[2]=s):(t=e[1],s=e[2]);let o;e[3]!==t?(o=i("text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium",t),e[3]=t,e[4]=o):o=e[4];let l;return e[5]!==s||e[6]!==o?(l=n.jsx(m.Group,{"data-slot":"command-group",className:o,...s}),e[5]=s,e[6]=o,e[7]=l):l=e[7],l}function B(a){const e=d.c(8);let t,s;e[0]!==a?({className:t,...s}=a,e[0]=a,e[1]=t,e[2]=s):(t=e[1],s=e[2]);let o;e[3]!==t?(o=i("bg-border -mx-1 h-px",t),e[3]=t,e[4]=o):o=e[4];let l;return e[5]!==s||e[6]!==o?(l=n.jsx(m.Separator,{"data-slot":"command-separator",className:o,...s}),e[5]=s,e[6]=o,e[7]=l):l=e[7],l}function H(a){const e=d.c(8);let t,s;e[0]!==a?({className:t,...s}=a,e[0]=a,e[1]=t,e[2]=s):(t=e[1],s=e[2]);let o;e[3]!==t?(o=i("data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),e[3]=t,e[4]=o):o=e[4];let l;return e[5]!==s||e[6]!==o?(l=n.jsx(m.Item,{"data-slot":"command-item",className:o,...s}),e[5]=s,e[6]=o,e[7]=l):l=e[7],l}export{L as C,H as a,z as b,G as c,C as d,R as e,B as f,S as g};
1
+ import{c as d,l as i,j as n}from"./index-7EDQs4g5.js";import{_ as m}from"./index-bSsLqTR8.js";import{e as k,a as N,b as j,c as b,d as w}from"./dialog-WEGZiwPy.js";import{i as y}from"./SearchMd-DJS38wH4.js";function C(a){const e=d.c(8);let t,s;e[0]!==a?({className:t,...s}=a,e[0]=a,e[1]=t,e[2]=s):(t=e[1],s=e[2]);let o;e[3]!==t?(o=i("bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md",t),e[3]=t,e[4]=o):o=e[4];let l;return e[5]!==s||e[6]!==o?(l=n.jsx(m,{"data-slot":"command",className:o,...s}),e[5]=s,e[6]=o,e[7]=l):l=e[7],l}function S(a){const e=d.c(24);let t,s,o,l,r;e[0]!==a?({title:l,description:r,children:t,className:s,...o}=a,e[0]=a,e[1]=t,e[2]=s,e[3]=o,e[4]=l,e[5]=r):(t=e[1],s=e[2],o=e[3],l=e[4],r=e[5]);const _=l===void 0?"Command Palette":l,v=r===void 0?"Search for a command to run...":r;let c;e[6]!==_?(c=n.jsx(N,{children:_}),e[6]=_,e[7]=c):c=e[7];let p;e[8]!==v?(p=n.jsx(j,{children:v}),e[8]=v,e[9]=p):p=e[9];let u;e[10]!==c||e[11]!==p?(u=n.jsxs(b,{className:"sr-only",children:[c,p]}),e[10]=c,e[11]=p,e[12]=u):u=e[12];let f;e[13]!==s?(f=i("overflow-hidden p-0",s),e[13]=s,e[14]=f):f=e[14];let x;e[15]!==t?(x=n.jsx(C,{className:"[&_[cmdk-group-heading]]:text-muted-foreground **:data-[slot=command-input-wrapper]:h-12 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]]:px-2 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5",children:t}),e[15]=t,e[16]=x):x=e[16];let g;e[17]!==f||e[18]!==x?(g=n.jsx(w,{className:f,closeButtonClassName:"hidden",children:x}),e[17]=f,e[18]=x,e[19]=g):g=e[19];let h;return e[20]!==o||e[21]!==u||e[22]!==g?(h=n.jsxs(k,{...o,children:[u,g]}),e[20]=o,e[21]=u,e[22]=g,e[23]=h):h=e[23],h}function z(a){const e=d.c(9);let t,s;e[0]!==a?({className:t,...s}=a,e[0]=a,e[1]=t,e[2]=s):(t=e[1],s=e[2]);let o;e[3]===Symbol.for("react.memo_cache_sentinel")?(o=n.jsx(y,{className:"size-5 shrink-0 text-foreground"}),e[3]=o):o=e[3];let l;e[4]!==t?(l=i("placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50",t),e[4]=t,e[5]=l):l=e[5];let r;return e[6]!==s||e[7]!==l?(r=n.jsxs("div",{"data-slot":"command-input-wrapper",className:"flex h-10 items-center gap-2 border-b px-3",children:[o,n.jsx(m.Input,{"data-slot":"command-input",className:l,...s})]}),e[6]=s,e[7]=l,e[8]=r):r=e[8],r}function G(a){const e=d.c(8);let t,s;e[0]!==a?({className:t,...s}=a,e[0]=a,e[1]=t,e[2]=s):(t=e[1],s=e[2]);let o;e[3]!==t?(o=i("max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto",t),e[3]=t,e[4]=o):o=e[4];let l;return e[5]!==s||e[6]!==o?(l=n.jsx(m.List,{"data-slot":"command-list",className:o,...s}),e[5]=s,e[6]=o,e[7]=l):l=e[7],l}function L(a){const e=d.c(4);let t;e[0]!==a?({...t}=a,e[0]=a,e[1]=t):t=e[1];let s;return e[2]!==t?(s=n.jsx(m.Empty,{"data-slot":"command-empty",className:"py-6 text-center text-sm",...t}),e[2]=t,e[3]=s):s=e[3],s}function R(a){const e=d.c(8);let t,s;e[0]!==a?({className:t,...s}=a,e[0]=a,e[1]=t,e[2]=s):(t=e[1],s=e[2]);let o;e[3]!==t?(o=i("text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium",t),e[3]=t,e[4]=o):o=e[4];let l;return e[5]!==s||e[6]!==o?(l=n.jsx(m.Group,{"data-slot":"command-group",className:o,...s}),e[5]=s,e[6]=o,e[7]=l):l=e[7],l}function B(a){const e=d.c(8);let t,s;e[0]!==a?({className:t,...s}=a,e[0]=a,e[1]=t,e[2]=s):(t=e[1],s=e[2]);let o;e[3]!==t?(o=i("bg-border -mx-1 h-px",t),e[3]=t,e[4]=o):o=e[4];let l;return e[5]!==s||e[6]!==o?(l=n.jsx(m.Separator,{"data-slot":"command-separator",className:o,...s}),e[5]=s,e[6]=o,e[7]=l):l=e[7],l}function H(a){const e=d.c(8);let t,s;e[0]!==a?({className:t,...s}=a,e[0]=a,e[1]=t,e[2]=s):(t=e[1],s=e[2]);let o;e[3]!==t?(o=i("data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),e[3]=t,e[4]=o):o=e[4];let l;return e[5]!==s||e[6]!==o?(l=n.jsx(m.Item,{"data-slot":"command-item",className:o,...s}),e[5]=s,e[6]=o,e[7]=l):l=e[7],l}export{L as C,H as a,z as b,G as c,C as d,R as e,B as f,S as g};