@decocms/mesh 2.124.0 → 2.125.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.
- package/dist/client/assets/{AlertCircle-FqZvtfh1.js → AlertCircle-BzYW4X7z.js} +1 -1
- package/dist/client/assets/{AlertOctagon-raXiOXHj.js → AlertOctagon-CUysWl_m.js} +1 -1
- package/dist/client/assets/{AlertTriangle-Cag6cydu.js → AlertTriangle-DniGvpwb.js} +1 -1
- package/dist/client/assets/{ArrowDown-BzwwIvol.js → ArrowDown-B35oswmj.js} +1 -1
- package/dist/client/assets/{ArrowLeft-CHSuXHTI.js → ArrowLeft-dS1h2Fqu.js} +1 -1
- package/dist/client/assets/{ArrowUp-lkpB-gsw.js → ArrowUp-G8RCE5_O.js} +1 -1
- package/dist/client/assets/{Check-BEIYk4IG.js → Check-Bv0pZ3gl.js} +1 -1
- package/dist/client/assets/{CheckCircle-BwIxyhQy.js → CheckCircle-lzDHXhkH.js} +1 -1
- package/dist/client/assets/{CheckDone01-Duh5ZNi_.js → CheckDone01-BrxNvWbF.js} +1 -1
- package/dist/client/assets/{CheckVerified02-DFKFrqtt.js → CheckVerified02-6wwLRSRQ.js} +1 -1
- package/dist/client/assets/{ChevronDown-DDsgD0_a.js → ChevronDown-CggIFEVQ.js} +1 -1
- package/dist/client/assets/{ChevronRight-dj0VUAfs.js → ChevronRight-DgAfR8pA.js} +1 -1
- package/dist/client/assets/{Clock-Dv-gTw8O.js → Clock-IA7N95Qq.js} +1 -1
- package/dist/client/assets/{Code01-DbWG3kai.js → Code01-DP2jwP0n.js} +1 -1
- package/dist/client/assets/{Container-BY7Dg1ME.js → Container-jfv9L6Hc.js} +1 -1
- package/dist/client/assets/{Copy01-BpXeBtQY.js → Copy01-Dq7Edhtu.js} +1 -1
- package/dist/client/assets/{Dataflow03-Ce5PVi3u.js → Dataflow03-C6KAN8vb.js} +1 -1
- package/dist/client/assets/{DotsHorizontal--qP7BuAi.js → DotsHorizontal-CQ-MbYsC.js} +1 -1
- package/dist/client/assets/{DotsVertical-_M8uWFPN.js → DotsVertical-PhooMqUv.js} +1 -1
- package/dist/client/assets/{Download01-Cvq7FqwC.js → Download01-CA9RmYjX.js} +1 -1
- package/dist/client/assets/{Edit01-BOdZHKPa.js → Edit01-DRruZKzG.js} +1 -1
- package/dist/client/assets/{Eye-D_CQVe6k.js → Eye-B9ZDOUkE.js} +1 -1
- package/dist/client/assets/{File02-BtCmWw9V.js → File02-B2t2I1sM.js} +1 -1
- package/dist/client/assets/{File06-D2nPQ2vd.js → File06-2US99J_V.js} +1 -1
- package/dist/client/assets/{FilterLines-CeQtwyiF.js → FilterLines-BFeSNY4D.js} +1 -1
- package/dist/client/assets/{Globe01-BUNBHHR9.js → Globe01-Dxe6Kj1c.js} +1 -1
- package/dist/client/assets/{Globe02-DXh1wFnz.js → Globe02-BPmEw10H.js} +1 -1
- package/dist/client/assets/{Grid01-DDvgvRE8.js → Grid01-CJW4ZLO5.js} +1 -1
- package/dist/client/assets/{Hash02-CCi87yL-.js → Hash02-CIZbsu7P.js} +1 -1
- package/dist/client/assets/{Home02-WM8fzzhX.js → Home02-Doo3wLuN.js} +1 -1
- package/dist/client/assets/{Image01-ToJS21L5.js → Image01-C9h8llDV.js} +1 -1
- package/dist/client/assets/{Inbox01-Dl3sNTM-.js → Inbox01-BweXezQd.js} +1 -1
- package/dist/client/assets/{InfoCircle-CHNw8w2I.js → InfoCircle-DBbArWGV.js} +1 -1
- package/dist/client/assets/{Key01-CBasGMu5.js → Key01-CfL5jY3W.js} +1 -1
- package/dist/client/assets/{LinkExternal01-BIouwr8D.js → LinkExternal01-DAvzaXYE.js} +1 -1
- package/dist/client/assets/{List-iNTJ6fUY.js → List-sG42OZ_v.js} +1 -1
- package/dist/client/assets/{Loading01-BFMhWWtD.js → Loading01-BHMOj-H5.js} +1 -1
- package/dist/client/assets/{Lock01-C4Sc75k7.js → Lock01-CQ3bhGvR.js} +1 -1
- package/dist/client/assets/{Pin01-BE9Oh0sU.js → Pin01-8MTlfWD2.js} +1 -1
- package/dist/client/assets/{Play-gsrF7xxW.js → Play-APj1Lxit.js} +1 -1
- package/dist/client/assets/{Plus-Ck954sGm.js → Plus-DNqvDLOK.js} +1 -1
- package/dist/client/assets/{RefreshCcw01-zTyzcouM.js → RefreshCcw01-4dzpBOob.js} +1 -1
- package/dist/client/assets/{RefreshCw01-DbiZ19Ml.js → RefreshCw01-DHXbMDcX.js} +1 -1
- package/dist/client/assets/{Rows03-B0JH9Ohl.js → Rows03-Cdgrgsit.js} +1 -1
- package/dist/client/assets/{Save01-CGYgsRh8.js → Save01-D-T2SbCx.js} +1 -1
- package/dist/client/assets/{SearchMd-Dvn1Eo76.js → SearchMd-BLcaRHQs.js} +1 -1
- package/dist/client/assets/{Settings01-CE-2gHzf.js → Settings01-DKXbh8uh.js} +1 -1
- package/dist/client/assets/{Shield01-BB8IGqoD.js → Shield01-B89AcbSX.js} +1 -1
- package/dist/client/assets/{Terminal-DQESGxaj.js → Terminal-BblMM2fp.js} +1 -1
- package/dist/client/assets/{Trash01-BC7PAlKV.js → Trash01-CkTOgej8.js} +1 -1
- package/dist/client/assets/{Upload01-CASznv9t.js → Upload01-gcuuVZ2S.js} +1 -1
- package/dist/client/assets/{Users03-DJ0q7ZN3.js → Users03-C1B58zTV.js} +1 -1
- package/dist/client/assets/{XCircle-JhpX2IQK.js → XCircle-DneNZUk0.js} +1 -1
- package/dist/client/assets/{XClose-Cpw_0BW6.js → XClose-Dgr_gyyv.js} +1 -1
- package/dist/client/assets/{agent-connections-preview-Dhs8DGJ9.js → agent-connections-preview-Dq0jl9Fh.js} +1 -1
- package/dist/client/assets/{agent-detail-C8HmsASY.js → agent-detail-BNn3Uyo0.js} +1 -1
- package/dist/client/assets/{agents-BUO9Of5M.js → agents-BAZxaM_m.js} +1 -1
- package/dist/client/assets/alert-dialog-BvNipqK_.js +7 -0
- package/dist/client/assets/{auth-catchall-Cts5maQI.js → auth-catchall-BoSUXTLZ.js} +1 -1
- package/dist/client/assets/{avatar-BLu12sL5.js → avatar-BNKSN34R.js} +1 -1
- package/dist/client/assets/{badge-D4ZHiXFA.js → badge-Do8iK9u9.js} +1 -1
- package/dist/client/assets/{binder-BeV9Iq0g.js → binder-BBB8LQyx.js} +1 -1
- package/dist/client/assets/{breadcrumb-kQQ-d55s.js → breadcrumb-DeYbtjMk.js} +1 -1
- package/dist/client/assets/{button-BxOn_P7A.js → button-D6YZfFzy.js} +1 -1
- package/dist/client/assets/{card-DMS-g9Fe.js → card-BNyCnFpQ.js} +1 -1
- package/dist/client/assets/{chart-Dm5seKC_.js → chart--8-symKO.js} +1 -1
- package/dist/client/assets/{checkbox-QVK1EYTJ.js → checkbox-BZwARXIv.js} +1 -1
- package/dist/client/assets/{circle-alert-BGE5uKTO.js → circle-alert-YjViK8VE.js} +1 -1
- package/dist/client/assets/{collection-detail-BNuWQnMo.js → collection-detail-LkGK1rw-.js} +1 -1
- package/dist/client/assets/{collection-search-WzmN-NEH.js → collection-search-CBYSITVU.js} +1 -1
- package/dist/client/assets/{collection-tab-CqF7e-el.js → collection-tab-BrrYAQmN.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-DpYYlIci.js → collection-table-wrapper-fNhnYl-G.js} +1 -1
- package/dist/client/assets/{collection-tabs-BzQ9gNkb.js → collection-tabs-D0bfkNrY.js} +1 -1
- package/dist/client/assets/{command-pJXSXf5S.js → command-Dt3t7o57.js} +1 -1
- package/dist/client/assets/{connect-DpHmbRge.js → connect-DPEGql6L.js} +1 -1
- package/dist/client/assets/{connection-card-CRsOF1KU.js → connection-card-Cwh5xUmA.js} +1 -1
- package/dist/client/assets/{connection-detail-B1dOB0AI.js → connection-detail-DgHwxZSJ.js} +1 -1
- package/dist/client/assets/{connections-EWXE105G.js → connections-D2AuzZXu.js} +1 -1
- package/dist/client/assets/{constants-9bKBT988.js → constants-8URKDp4Y.js} +1 -1
- package/dist/client/assets/constants-oXq_cTdm.js +1 -0
- package/dist/client/assets/{context-LmNUO0nU.js → context-DHicyHl4.js} +9 -9
- package/dist/client/assets/{create-organization-dialog-CuKocaBI.js → create-organization-dialog-Cb3EQpzl.js} +1 -1
- package/dist/client/assets/{create-project-dialog-heqHF5Xt.js → create-project-dialog-BjqZAjhY.js} +1 -1
- package/dist/client/assets/{deco-constants-YxoGHwHI.js → deco-constants-CyaJG-D1.js} +1 -1
- package/dist/client/assets/{dialog-8Qx5GCEw.js → dialog-DSPMVHyJ.js} +1 -1
- package/dist/client/assets/{dropdown-menu-BbhseL--.js → dropdown-menu-CRT7qGQ9.js} +1 -1
- package/dist/client/assets/{dynamic-plugin-layout-Ch1QuglW.js → dynamic-plugin-layout-Dj3hkiA6.js} +1 -1
- package/dist/client/assets/{empty-state-CSzTWTZI.js → empty-state-BA6UkF4p.js} +1 -1
- package/dist/client/assets/{empty-state-C7VZap1W.js → empty-state-sMx3NP6e.js} +1 -1
- package/dist/client/assets/{env-vars-editor-C0KF8UB-.js → env-vars-editor-DuW-Il-b.js} +1 -1
- package/dist/client/assets/{error-boundary-BpCU-F5d.js → error-boundary-lFjWy2-n.js} +1 -1
- package/dist/client/assets/{extract-connection-data-CLG2vt6G.js → extract-connection-data-B39uuFqG.js} +1 -1
- package/dist/client/assets/{file-browser-4BKj7MWu.js → file-browser-BIF8ssgw.js} +2 -2
- package/dist/client/assets/{form-Dn5Ilwyi.js → form-BMtUcs2k.js} +1 -1
- package/dist/client/assets/{grid-view-aIHLkNPN.js → grid-view-e1dnT7b5.js} +1 -1
- package/dist/client/assets/{home-md1YObTz.js → home-1A3rDo1n.js} +1 -1
- package/dist/client/assets/index-BMDGI420.css +1 -0
- package/dist/client/assets/{index-DlglR7Dv.js → index-B_nMIrSY.js} +1 -1
- package/dist/client/assets/{index-DdzAhdkZ.js → index-CCjxSJ1y.js} +1 -1
- package/dist/client/assets/{index-Du85XF43.js → index-CjGa0AXv.js} +1 -1
- package/dist/client/assets/{index-CWIKLTkS.js → index-DJ_LDW-E.js} +1 -1
- package/dist/client/assets/{index-BtVQ48XT.js → index-DmoBx0VC.js} +1 -1
- package/dist/client/assets/{index-ow5WSrzH.js → index-DnrfuViL.js} +1 -1
- package/dist/client/assets/{index-DQipirM0.js → index-DwBgLSti.js} +3 -3
- package/dist/client/assets/{index-CIUI9_Ip.js → index-QQ-XmLlG.js} +51 -51
- package/dist/client/assets/{infiniteQueryObserver-45WqMl59.js → infiniteQueryObserver-Yvt0ZTml.js} +1 -1
- package/dist/client/assets/{input-D3a40-af.js → input-B7id4I1j.js} +1 -1
- package/dist/client/assets/{integration-icon-6FQvxTss.js → integration-icon-qV_BsBQR.js} +1 -1
- package/dist/client/assets/{label-_-PuJzKE.js → label-29qY4FPs.js} +1 -1
- package/dist/client/assets/{layout-C5y_iFls.js → layout-Ck3H2-cu.js} +1 -1
- package/dist/client/assets/{localstorage-keys-Xr0m_-Nl.js → localstorage-keys-Ct4C992S.js} +1 -1
- package/dist/client/assets/{login-CGG5vJdW.js → login-DO8QasPa.js} +1 -1
- package/dist/client/assets/{markdown-DumqyZQo.js → markdown-jp5pFlBz.js} +1 -1
- package/dist/client/assets/{mcp-oauth-ZHptqU19.js → mcp-oauth-Bb9gvF4o.js} +1 -1
- package/dist/client/assets/{mcp-server-card-uS3QofMZ.js → mcp-server-card-D_Epc4aH.js} +1 -1
- package/dist/client/assets/{mcp-server-detail-BKF_R4E0.js → mcp-server-detail-Dut9IDFd.js} +2 -2
- package/dist/client/assets/{members-BRSEA55l.js → members-4s3A4PQH.js} +1 -1
- package/dist/client/assets/{monitoring-dashboard-edit-1EYxjqsS.js → monitoring-dashboard-edit-DyFCcJjq.js} +1 -1
- package/dist/client/assets/{monitoring-dashboard-view-B9ky_iuo.js → monitoring-dashboard-view-Bc4tCiDF.js} +1 -1
- package/dist/client/assets/{monitoring-ChGczzDH.js → monitoring-gEkChCwS.js} +1 -1
- package/dist/client/assets/{oauth-callback-DiCjOlTo.js → oauth-callback-tz7MTdrq.js} +1 -1
- package/dist/client/assets/page-YrzfNFn-.js +1 -0
- package/dist/client/assets/{page-Bd4vke_j.js → page-pkTyp5rB.js} +1 -1
- package/dist/client/assets/{plugin-empty-state-3Ic2Cddr.js → plugin-empty-state-YsTdKC2B.js} +1 -1
- package/dist/client/assets/{plugin-empty-state-B0aoDY0o.js → plugin-empty-state-dEbxXjO6.js} +1 -1
- package/dist/client/assets/{plugin-header-lqwqxxa8.js → plugin-header-Di-tZc0h.js} +1 -1
- package/dist/client/assets/{plugin-header-1MpH5dMN.js → plugin-header-Djvd0-eL.js} +1 -1
- package/dist/client/assets/{popover-O7pPZSal.js → popover-pjzQQlLd.js} +1 -1
- package/dist/client/assets/{project-layout-Dk2D-43Q.js → project-layout-Bp5s1iI1.js} +1 -1
- package/dist/client/assets/{projects-list-CApnnFAH.js → projects-list-DcozT0tR.js} +1 -1
- package/dist/client/assets/{ranking-layout-CB_f3cVs.js → ranking-layout-D3PvNfv7.js} +1 -1
- package/dist/client/assets/{readme-viewer-61IpnmPP.js → readme-viewer-BmO5RwRH.js} +1 -1
- package/dist/client/assets/{registry-layout-DGM76yIZ.js → registry-layout-DEN2jHtD.js} +1 -1
- package/dist/client/assets/{registry-utils-DSUIffwE.js → registry-utils-DMdc5PTp.js} +1 -1
- package/dist/client/assets/{reports-layout-BMSW5Pvz.js → reports-layout-DziFQRp_.js} +1 -1
- package/dist/client/assets/{reset-password-R313_uMV.js → reset-password-CrHLBBwi.js} +1 -1
- package/dist/client/assets/{resizable-Dz9Hl0cL.js → resizable-jXkpfiVS.js} +1 -1
- package/dist/client/assets/{save-actions-De5hNsxX.js → save-actions-BPg_8VMI.js} +1 -1
- package/dist/client/assets/{scroll-area-dZhjEr7K.js → scroll-area-CcejXaMp.js} +1 -1
- package/dist/client/assets/{select-BSYdCUMN.js → select-CkeKfTEx.js} +1 -1
- package/dist/client/assets/shell-layout-C4PQ301W.js +3 -0
- package/dist/client/assets/{skeleton-D-Lsp11A.js → skeleton-DNLZ4Kho.js} +1 -1
- package/dist/client/assets/{spinner-BL4ZMZYA.js → spinner-DZtD-MX0.js} +1 -1
- package/dist/client/assets/{store-invite-B0hYE1ZZ.js → store-invite-B_jz8YSY.js} +1 -1
- package/dist/client/assets/{switch-DyckCxcC.js → switch-DFKxfcc5.js} +1 -1
- package/dist/client/assets/{table-D0pFXKN4.js → table-Csfk_VXo.js} +1 -1
- package/dist/client/assets/{tasks-DPZywEmF.js → tasks-Dv2Dq-cV.js} +1 -1
- package/dist/client/assets/{textarea-DX9d61Sr.js → textarea-GWXLFYfv.js} +1 -1
- package/dist/client/assets/{time-range-picker-fngIp4Wo.js → time-range-picker-DnUGZRLa.js} +1 -1
- package/dist/client/assets/{toggle-group-Z0vsy7J4.js → toggle-group-CojJ3wZ4.js} +1 -1
- package/dist/client/assets/{tools-list-B0lut0n1.js → tools-list-BPGP3JUO.js} +1 -1
- package/dist/client/assets/{tooltip-B7RjBzxU.js → tooltip-D71dCz4E.js} +1 -1
- package/dist/client/assets/{topbar-portal-D44GN90b.js → topbar-portal-BKT0Es8i.js} +1 -1
- package/dist/client/assets/typewriter-title-DqLjhGgL.js +16 -0
- package/dist/client/assets/{use-binding-oEpPFbv0.js → use-binding-DbH4Xe03.js} +1 -1
- package/dist/client/assets/{use-connection-DXequUdB.js → use-connection-BEGrPCmR.js} +1 -1
- package/dist/client/assets/{use-copy-h8i-bDIZ.js → use-copy-DsHlaDHD.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-DG-_igKD.js → use-create-virtual-mcp-BzTARjrD.js} +1 -1
- package/dist/client/assets/{use-deco-chat-open-BAG5m-JA.js → use-deco-chat-open-CxG3qwlT.js} +1 -1
- package/dist/client/assets/{use-install-from-registry-BCGIZz8M.js → use-install-from-registry-CSDJ0ZgD.js} +1 -1
- package/dist/client/assets/{use-list-state-DjtYoYEW.js → use-list-state-DvpdPuz-.js} +1 -1
- package/dist/client/assets/{use-llm-DDqwpIPn.js → use-llm-BbYG_RIr.js} +1 -1
- package/dist/client/assets/{use-mcp-prompts-CqOiamVC.js → use-mcp-prompts-qD8uHlkj.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-Dt6WorDi.js → use-mcp-tools-BAsmCzEJ.js} +1 -1
- package/dist/client/assets/{use-mobile-CYG2M3Mj.js → use-mobile-Bs0AkxK7.js} +1 -1
- package/dist/client/assets/{use-organization-settings-Db9DvZjz.js → use-organization-settings-BJ9tNAL9.js} +1 -1
- package/dist/client/assets/{use-project-x4-rNIeb.js → use-project-CXHCn5kp.js} +1 -1
- package/dist/client/assets/{use-settings-modal-D-E-U1i_.js → use-settings-modal-Dx8IF1Gs.js} +1 -1
- package/dist/client/assets/{use-view-mode-C5FzaFBT.js → use-view-mode-DMPiUC22.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-Bq4iD2DN.js → use-virtual-mcp-DBzFAk7J.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-DXQ7BtjQ.js +1 -0
- package/dist/client/assets/{useMutation-8rEyObWg.js → useMutation-DgG1LVg-.js} +1 -1
- package/dist/client/assets/useQuery-CPsXfVfR.js +1 -0
- package/dist/client/assets/useSuspenseInfiniteQuery-CuH1Eku2.js +1 -0
- package/dist/client/assets/{view-mode-toggle-DumSmhPz.js → view-mode-toggle-2-qyK3LU.js} +1 -1
- package/dist/client/assets/{workflow-Nf6onDYr.js → workflow-YppA7Sxi.js} +1 -1
- package/dist/client/index.html +2 -2
- package/package.json +1 -1
- package/dist/client/assets/alert-dialog-K0UnFp_v.js +0 -7
- package/dist/client/assets/constants-CS_UcM7e.js +0 -1
- package/dist/client/assets/index-BpxApmrT.css +0 -1
- package/dist/client/assets/page-BqTRzB6R.js +0 -1
- package/dist/client/assets/shell-layout-CGTPLB_Q.js +0 -3
- package/dist/client/assets/typewriter-title-CkssIeLy.js +0 -16
- package/dist/client/assets/useInfiniteQuery-qwQj5SMK.js +0 -1
- package/dist/client/assets/useQuery-CqT-L2b-.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-BKpm_7Fb.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,c}from"./index-
|
|
1
|
+
import{r,c}from"./index-DwBgLSti.js";const l=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M5 12h14m0 0-7-7m7 7-7 7"}));l.displayName="ArrowRight";const d=({size:e=24,color:t="currentColor",...o})=>r.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...o},r.createElement("path",{d:"M10.5 9.002a2.248 2.248 0 0 1 4.369.75C14.869 11.25 12.62 12 12.62 12m.028 3h.01m-.16 5a8.5 8.5 0 1 0-8.056-5.783c.108.32.162.481.172.604a.899.899 0 0 1-.028.326c-.03.12-.098.245-.232.494l-1.636 3.027c-.233.432-.35.648-.324.815a.5.5 0 0 0 .234.35c.144.087.388.062.876.011l5.121-.529c.155-.016.233-.024.303-.021.07.002.12.009.187.024.069.016.155.05.329.116A8.478 8.478 0 0 0 12.5 20Z"}));d.displayName="MessageQuestionCircle";function h(){const e=c.c(3),[t,o]=r.useState(!1);let i;e[0]===Symbol.for("react.memo_cache_sentinel")?(i=async s=>{await navigator.clipboard.writeText(s),o(!0),setTimeout(()=>o(!1),2e3)},e[0]=i):i=e[0];const n=i;let a;return e[1]!==t?(a={handleCopy:n,copied:t},e[1]=t,e[2]=a):a=e[2],a}export{l as i,d as t,h as u};
|
package/dist/client/assets/{use-create-virtual-mcp-DG-_igKD.js → use-create-virtual-mcp-BzTARjrD.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as p,u as C,b as f,O as m}from"./index-
|
|
1
|
+
import{c as p,u as C,b as f,O as m}from"./index-DwBgLSti.js";import{a as v}from"./use-virtual-mcp-DBzFAk7J.js";function M(s){const e=p.c(10);let a;e[0]!==s?(a=s===void 0?{}:s,e[0]=s,e[1]=a):a=e[1];const d=a,{navigateOnCreate:l}=d,o=l===void 0?!1:l,{org:r}=C(),c=f(),t=v();let n;e[2]!==t.create||e[3]!==c||e[4]!==o||e[5]!==r?(n=async()=>{const g=await t.create.mutateAsync({title:"New Agent",description:"Agents let you securely expose integrated tools to the outside world.",status:"active",connections:[]});return o&&c({to:"/$org/$project/agents/$agentId",params:{org:r.slug,project:m,agentId:g.id}}),{id:g.id,virtualMcp:g}},e[2]=t.create,e[3]=c,e[4]=o,e[5]=r,e[6]=n):n=e[6];const u=n;let i;return e[7]!==t.create.isPending||e[8]!==u?(i={createVirtualMCP:u,isCreating:t.create.isPending},e[7]=t.create.isPending,e[8]=u,e[9]=i):i=e[9],i}export{M as u};
|
package/dist/client/assets/{use-deco-chat-open-BAG5m-JA.js → use-deco-chat-open-CxG3qwlT.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as l,ao as Q,ap as M,j as c,
|
|
1
|
+
import{r as l,ao as Q,ap as M,j as c,ar as g,al as P,aw as S,ax as O,av as D,at as U,au as h,aq as X,c as m,as as ee,bn as te}from"./index-DwBgLSti.js";import{c as C}from"./button-D6YZfFzy.js";import{u as ae,L as ne}from"./localstorage-keys-Ct4C992S.js";const oe=({size:t=24,color:e="currentColor",...a})=>l.createElement("svg",{viewBox:"0 0 24 24",width:t,height:t,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...a},l.createElement("path",{d:"M4 7h11m0 0-4 4m4-4-4-4M4 17h16m0 0-4 4m4-4-4-4"}));oe.displayName="ArrowsRight";const re=({size:t=24,color:e="currentColor",...a})=>l.createElement("svg",{viewBox:"0 0 24 24",width:t,height:t,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...a},l.createElement("path",{d:"M10 17.659V20a2 2 0 1 0 4 0v-2.341M12 2v1m-9 9H2m3.5-6.5-.6-.6m13.6.6.6-.6M22 12h-1m-3 0a6 6 0 1 1-12 0 6 6 0 0 1 12 0Z"}));re.displayName="Lightbulb02";const se=({size:t=24,color:e="currentColor",...a})=>l.createElement("svg",{viewBox:"0 0 24 24",width:t,height:t,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...a},l.createElement("path",{d:"M15.631 7.631c-.396-.396-.594-.594-.668-.822a1 1 0 0 1 0-.618c.074-.228.272-.426.668-.822L18.47 2.53a6 6 0 0 0-8.3 6.895c.12.49.179.734.168.888a.849.849 0 0 1-.11.392c-.07.138-.207.274-.48.547L3.5 17.5a2.121 2.121 0 0 0 3 3l6.248-6.248c.273-.273.41-.41.547-.48a.849.849 0 0 1 .392-.11c.154-.011.399.049.888.168a6 6 0 0 0 6.895-8.3l-2.84 2.84c-.396.396-.594.594-.822.668a1 1 0 0 1-.618 0c-.228-.074-.426-.272-.822-.668l-.738-.738Z"}));se.displayName="Tool01";var T="Tabs",[ie]=O(T,[D]),F=D(),[le,w]=ie(T),V=l.forwardRef((t,e)=>{const{__scopeTabs:a,value:n,onValueChange:o,defaultValue:r,orientation:s="horizontal",dir:i,activationMode:d="automatic",...f}=t,u=Q(i),[p,v]=M({prop:n,onChange:o,defaultProp:r??"",caller:T});return c.jsx(le,{scope:a,baseId:P(),value:p,onValueChange:v,orientation:s,dir:u,activationMode:d,children:c.jsx(g.div,{dir:u,"data-orientation":s,...f,ref:e})})});V.displayName=T;var G="TabsList",B=l.forwardRef((t,e)=>{const{__scopeTabs:a,loop:n=!0,...o}=t,r=w(G,a),s=F(a);return c.jsx(X,{asChild:!0,...s,orientation:r.orientation,dir:r.dir,loop:n,children:c.jsx(g.div,{role:"tablist","aria-orientation":r.orientation,...o,ref:e})})});B.displayName=G;var z="TabsTrigger",K=l.forwardRef((t,e)=>{const{__scopeTabs:a,value:n,disabled:o=!1,...r}=t,s=w(z,a),i=F(a),d=H(s.baseId,n),f=Z(s.baseId,n),u=n===s.value;return c.jsx(U,{asChild:!0,...i,focusable:!o,active:u,children:c.jsx(g.button,{type:"button",role:"tab","aria-selected":u,"aria-controls":f,"data-state":u?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:d,...r,ref:e,onMouseDown:h(t.onMouseDown,p=>{!o&&p.button===0&&p.ctrlKey===!1?s.onValueChange(n):p.preventDefault()}),onKeyDown:h(t.onKeyDown,p=>{[" ","Enter"].includes(p.key)&&s.onValueChange(n)}),onFocus:h(t.onFocus,()=>{const p=s.activationMode!=="manual";!u&&!o&&p&&s.onValueChange(n)})})})});K.displayName=z;var q="TabsContent",W=l.forwardRef((t,e)=>{const{__scopeTabs:a,value:n,forceMount:o,children:r,...s}=t,i=w(q,a),d=H(i.baseId,n),f=Z(i.baseId,n),u=n===i.value,p=l.useRef(u);return l.useEffect(()=>{const v=requestAnimationFrame(()=>p.current=!1);return()=>cancelAnimationFrame(v)},[]),c.jsx(S,{present:o||u,children:({present:v})=>c.jsx(g.div,{"data-state":u?"active":"inactive","data-orientation":i.orientation,role:"tabpanel","aria-labelledby":d,hidden:!v,id:f,tabIndex:0,...s,ref:e,style:{...t.style,animationDuration:p.current?"0s":void 0},children:v&&r})})});W.displayName=q;function H(t,e){return`${t}-trigger-${e}`}function Z(t,e){return`${t}-content-${e}`}var ce=V,de=B,ue=K,pe=W;function Te(t){const e=m.c(10);let a,n,o;e[0]!==t?({className:a,variant:o,...n}=t,e[0]=t,e[1]=a,e[2]=n,e[3]=o):(a=e[1],n=e[2],o=e[3]);const r=o===void 0?"pill":o;let s;e[4]!==a?(s=C("flex flex-col gap-2",a),e[4]=a,e[5]=s):s=e[5];let i;return e[6]!==n||e[7]!==s||e[8]!==r?(i=c.jsx(ce,{"data-slot":"tabs","data-variant":r,className:s,...n}),e[6]=n,e[7]=s,e[8]=r,e[9]=i):i=e[9],i}function ye(t){const e=m.c(11);let a,n,o;e[0]!==t?({className:a,variant:o,...n}=t,e[0]=t,e[1]=a,e[2]=n,e[3]=o):(a=e[1],n=e[2],o=e[3]);const r=o||"pill",s=r==="underline"?"flex h-[52px] items-center border-b border-border":r==="canvas"?"flex h-10 items-center bg-background relative":"bg-muted text-muted-foreground inline-flex h-10 w-fit items-center justify-center rounded-xl p-[3px]";let i;e[4]!==a||e[5]!==s?(i=C(s,a),e[4]=a,e[5]=s,e[6]=i):i=e[6];let d;return e[7]!==r||e[8]!==n||e[9]!==i?(d=c.jsx(de,{"data-slot":"tabs-list","data-variant":r,className:i,...n}),e[7]=r,e[8]=n,e[9]=i,e[10]=d):d=e[10],d}function Re(t){const e=m.c(11);let a,n,o;e[0]!==t?({className:a,variant:o,...n}=t,e[0]=t,e[1]=a,e[2]=n,e[3]=o):(a=e[1],n=e[2],o=e[3]);const r=o||"pill",s=r==="underline"?"cursor-pointer flex items-center h-full px-3 relative text-sm whitespace-nowrap border-b-2 mb-[-1px] transition-all text-muted-foreground border-transparent hover:text-foreground data-[state=active]:text-foreground data-[state=active]:border-primary disabled:pointer-events-none disabled:opacity-50":r==="canvas"?"cursor-pointer flex items-center h-full px-3 gap-2.5 text-sm whitespace-nowrap transition-all border-r border-b border-border [&>*]:opacity-50 data-[state=active]:[&>*]:opacity-100 data-[state=active]:border-b-0 last:border-r-0 disabled:pointer-events-none max-w-2xs":"data-[state=active]:bg-background dark:data-[state=active]:text-foreground cursor-pointer focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-lg border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4";let i;e[4]!==a||e[5]!==s?(i=C(s,a),e[4]=a,e[5]=s,e[6]=i):i=e[6];let d;return e[7]!==r||e[8]!==n||e[9]!==i?(d=c.jsx(ue,{"data-slot":"tabs-trigger","data-variant":r,className:i,...n}),e[7]=r,e[8]=n,e[9]=i,e[10]=d):d=e[10],d}function we(t){const e=m.c(8);let a,n;e[0]!==t?({className:a,...n}=t,e[0]=t,e[1]=a,e[2]=n):(a=e[1],n=e[2]);let o;e[3]!==a?(o=C("flex-1 outline-none h-full",a),e[3]=a,e[4]=o):o=e[4];let r;return e[5]!==n||e[6]!==o?(r=c.jsx(pe,{"data-slot":"tabs-content",className:o,...n}),e[5]=n,e[6]=o,e[7]=r):r=e[7],r}var y="Collapsible",[fe,Ne]=O(y),[be,N]=fe(y),Y=l.forwardRef((t,e)=>{const{__scopeCollapsible:a,open:n,defaultOpen:o,disabled:r,onOpenChange:s,...i}=t,[d,f]=M({prop:n,defaultProp:o??!1,onChange:s,caller:y});return c.jsx(be,{scope:a,disabled:r,contentId:P(),open:d,onOpenToggle:l.useCallback(()=>f(u=>!u),[f]),children:c.jsx(g.div,{"data-state":$(d),"data-disabled":r?"":void 0,...i,ref:e})})});Y.displayName=y;var J="CollapsibleTrigger",_=l.forwardRef((t,e)=>{const{__scopeCollapsible:a,...n}=t,o=N(J,a);return c.jsx(g.button,{type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":$(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...n,ref:e,onClick:h(t.onClick,o.onOpenToggle)})});_.displayName=J;var j="CollapsibleContent",E=l.forwardRef((t,e)=>{const{forceMount:a,...n}=t,o=N(j,t.__scopeCollapsible);return c.jsx(S,{present:a||o.open,children:({present:r})=>c.jsx(ve,{...n,ref:e,present:r})})});E.displayName=j;var ve=l.forwardRef((t,e)=>{const{__scopeCollapsible:a,present:n,children:o,...r}=t,s=N(j,a),[i,d]=l.useState(n),f=l.useRef(null),u=ee(e,f),p=l.useRef(0),v=p.current,k=l.useRef(0),A=k.current,R=s.open||i,I=l.useRef(R),x=l.useRef(void 0);return l.useEffect(()=>{const b=requestAnimationFrame(()=>I.current=!1);return()=>cancelAnimationFrame(b)},[]),te(()=>{const b=f.current;if(b){x.current=x.current||{transitionDuration:b.style.transitionDuration,animationName:b.style.animationName},b.style.transitionDuration="0s",b.style.animationName="none";const L=b.getBoundingClientRect();p.current=L.height,k.current=L.width,I.current||(b.style.transitionDuration=x.current.transitionDuration,b.style.animationName=x.current.animationName),d(n)}},[s.open,n]),c.jsx(g.div,{"data-state":$(s.open),"data-disabled":s.disabled?"":void 0,id:s.contentId,hidden:!R,...r,ref:u,style:{"--radix-collapsible-content-height":v?`${v}px`:void 0,"--radix-collapsible-content-width":A?`${A}px`:void 0,...t.style},children:R&&o})});function $(t){return t?"open":"closed"}var me=Y,_e=_,je=E;function Ee(t){const e=m.c(4);let a;e[0]!==t?({...a}=t,e[0]=t,e[1]=a):a=e[1];let n;return e[2]!==a?(n=c.jsx(me,{"data-slot":"collapsible",...a}),e[2]=a,e[3]=n):n=e[3],n}function $e(t){const e=m.c(4);let a;e[0]!==t?({...a}=t,e[0]=t,e[1]=a):a=e[1];let n;return e[2]!==a?(n=c.jsx(_,{"data-slot":"collapsible-trigger",...a}),e[2]=a,e[3]=n):n=e[3],n}function ke(t){const e=m.c(4);let a;e[0]!==t?({...a}=t,e[0]=t,e[1]=a):a=e[1];let n;return e[2]!==a?(n=c.jsx(E,{"data-slot":"collapsible-content",...a}),e[2]=a,e[3]=n):n=e[3],n}function Ae(){const t=m.c(4);let e;t[0]===Symbol.for("react.memo_cache_sentinel")?(e=ne.decoChatOpen(),t[0]=e):e=t[0];const[a,n]=ae(e,ge);let o;return t[1]!==a||t[2]!==n?(o=[a,n],t[1]=a,t[2]=n,t[3]=o):o=t[3],o}function ge(t){return!!(t??!0)}export{Ee as C,me as R,Re as T,se as a,ye as b,we as c,Te as d,re as e,$e as f,ke as g,_e as h,oe as i,je as j,Ne as k,Ae as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{u as y,d as g,t as e}from"./index-
|
|
1
|
+
import{u as y,d as g,t as e}from"./index-DwBgLSti.js";import{u as C}from"./use-binding-DbH4Xe03.js";import{g as S,h as v}from"./use-connection-BEGrPCmR.js";import{e as B}from"./extract-connection-data-B39uuFqG.js";import{f as I,c as P,e as _}from"./registry-utils-DMdc5PTp.js";function w(t){return t.startsWith("@")?t:`@${t}`}function F(){const{org:t}=y(),{data:s}=g.useSession(),i=S(),l=v(),u=C(l);return{installByBinding:async r=>{if(!t||!s?.user?.id){e.error("Not authenticated");return}const d=w(r),a=(await Promise.all(u.map(async o=>{const c=I(o.tools);if(!c)return null;try{const p=await P(o.id,t.id,c,{where:{appName:d}});return _(p??[])[0]??null}catch{return null}}))).find(o=>o!==null);if(!a){e.error(`MCP Server not found in registry: ${r}`);return}const n=B(a,t.id,s.user.id),m=n.connection_type==="STDIO",f=!!n.connection_url,h=m&&n.connection_headers&&typeof n.connection_headers=="object"&&"command"in n.connection_headers;if(!f&&!h){e.error("This MCP Server cannot be connected: no connection method available");return}return await i.create.mutateAsync(n),{id:n.id,connection:n}},isInstalling:i.create.isPending}}export{F as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as w,u as C,K as D,j as u,r as K}from"./index-
|
|
1
|
+
import{c as w,u as C,K as D,j as u,r as K}from"./index-DwBgLSti.js";import{A as M}from"./avatar-BNKSN34R.js";import{c as B}from"./button-D6YZfFzy.js";import{u as P}from"./useQuery-CPsXfVfR.js";import{a as k,u as A}from"./constants-8URKDp4Y.js";import{u as L}from"./use-view-mode-DMPiUC22.js";function R(c){const e=w.c(11),{org:i}=C();let n;e[0]!==i.id?(n={connectionId:k,orgId:i.id},e[0]=i.id,e[1]=n):n=e[1];const o=A(n);let t;e[2]!==c?(t=D.user(c),e[2]=c,e[3]=t):t=e[3];let l;e[4]!==o||e[5]!==c?(l=async()=>{const y=await o.callTool({name:"USER_GET",arguments:{id:c}});return(y.structuredContent??y).user},e[4]=o,e[5]=c,e[6]=l):l=e[6];const f=!!c;let s;return e[7]!==t||e[8]!==l||e[9]!==f?(s={queryKey:t,queryFn:l,staleTime:3e5,retry:1,enabled:f},e[7]=t,e[8]=l,e[9]=f,e[10]=s):s=e[10],P(s)}function Y(c){const e=w.c(39),{id:i,size:n,showEmail:o,className:t}=c,l=n===void 0?"xs":n,f=o===void 0?!1:o,{data:s,isLoading:y,isError:N}=R(i);if(y){let a;e[0]!==t?(a=B("flex items-center gap-2",t),e[0]=t,e[1]=a):a=e[1];let r;e[2]!==l?(r=u.jsx(M.Skeleton,{shape:"circle",size:l}),e[2]=l,e[3]=r):r=e[3];let d;e[4]===Symbol.for("react.memo_cache_sentinel")?(d=u.jsx("div",{className:"h-3 w-24 bg-muted animate-pulse rounded"}),e[4]=d):d=e[4];let m;e[5]!==f?(m=f&&u.jsx("div",{className:"h-2 w-32 bg-muted animate-pulse rounded"}),e[5]=f,e[6]=m):m=e[6];let p;e[7]!==m?(p=u.jsxs("div",{className:"flex flex-col gap-1",children:[d,m]}),e[7]=m,e[8]=p):p=e[8];let b;return e[9]!==a||e[10]!==r||e[11]!==p?(b=u.jsxs("div",{className:a,children:[r,p]}),e[9]=a,e[10]=r,e[11]=p,e[12]=b):b=e[12],b}if(N||!s){let a;e[13]!==t?(a=B("flex items-center gap-2",t),e[13]=t,e[14]=a):a=e[14];let r;e[15]!==l?(r=u.jsx(M,{shape:"circle",size:l,fallback:"?",muted:!0}),e[15]=l,e[16]=r):r=e[16];let d;e[17]===Symbol.for("react.memo_cache_sentinel")?(d=u.jsx("div",{className:"flex flex-col",children:u.jsx("div",{className:"text-sm text-muted-foreground",children:"Unknown User"})}),e[17]=d):d=e[17];let m;return e[18]!==a||e[19]!==r?(m=u.jsxs("div",{className:a,children:[r,d]}),e[18]=a,e[19]=r,e[20]=m):m=e[20],m}let v;e[21]!==t?(v=B("flex items-center gap-2",t),e[21]=t,e[22]=v):v=e[22];const j=s.image??void 0;let g;e[23]!==l||e[24]!==j||e[25]!==s.name?(g=u.jsx(M,{shape:"circle",size:l,url:j,fallback:s.name}),e[23]=l,e[24]=j,e[25]=s.name,e[26]=g):g=e[26];let x;e[27]!==s.name?(x=u.jsx("div",{className:"text-sm font-medium",children:s.name}),e[27]=s.name,e[28]=x):x=e[28];let S;e[29]!==f||e[30]!==s.email?(S=f&&u.jsx("div",{className:"text-xs text-muted-foreground",children:s.email}),e[29]=f,e[30]=s.email,e[31]=S):S=e[31];let h;e[32]!==x||e[33]!==S?(h=u.jsxs("div",{className:"flex flex-col",children:[x,S]}),e[32]=x,e[33]=S,e[34]=h):h=e[34];let F;return e[35]!==v||e[36]!==g||e[37]!==h?(F=u.jsxs("div",{className:v,children:[g,h]}),e[35]=v,e[36]=g,e[37]=h,e[38]=F):F=e[38],F}function q(c){const e=`deco-filters-${c}`,[i,n]=K.useState(()=>{try{const t=globalThis.localStorage?.getItem(e);if(t)return JSON.parse(t)}catch(t){console.error("Failed to parse stored filters:",t)}return[]});return[i,t=>{n(t);try{globalThis.localStorage?.setItem(e,JSON.stringify(t))}catch(l){console.error("Failed to save filters:",l)}}]}function z(c){const e=w.c(7),[i,n]=K.useState(c),[o,t]=K.useState(c?"desc":null);let l;e[0]!==o||e[1]!==i?(l=y=>{i!==y?(n(y),t("asc")):o==="asc"?t("desc"):o==="desc"&&(n(void 0),t(null))},e[0]=o,e[1]=i,e[2]=l):l=e[2];const f=l;let s;return e[3]!==f||e[4]!==o||e[5]!==i?(s={sortKey:i,sortDirection:o,handleSort:f},e[3]=f,e[4]=o,e[5]=i,e[6]=s):s=e[6],s}function H(c){const e=w.c(20),{namespace:i,resource:n,defaultSortKey:o,defaultViewMode:t}=c,l=o===void 0?"title":o,f=t===void 0?"table":t,[s,y]=K.useState(""),N=K.useDeferredValue(s),v=`${i}-${n}`,[j,g]=q(v),x=`mesh-${n}-filter-visible-${i}`;let S;e[0]!==x?(S=()=>globalThis.localStorage?.getItem(x)==="true",e[0]=x,e[1]=S):S=e[1];const[h,F]=K.useState(S);let a;e[2]!==x?(a=T=>{F(T),globalThis.localStorage?.setItem(x,String(T))},e[2]=x,e[3]=a):a=e[3];const r=a;let d;e[4]!==h||e[5]!==r?(d=()=>{r(!h)},e[4]=h,e[5]=r,e[6]=d):d=e[6];const m=d,[p,b]=L(`mesh-${n}-${i}`,f),{sortKey:U,sortDirection:E,handleSort:V}=z(l),_=U;let $;return e[7]!==h||e[8]!==j||e[9]!==V||e[10]!==s||e[11]!==N||e[12]!==r||e[13]!==g||e[14]!==b||e[15]!==E||e[16]!==_||e[17]!==m||e[18]!==p?($={search:s,searchTerm:N,setSearch:y,filters:j,setFilters:g,filterBarVisible:h,setFilterBarVisible:r,toggleFilterBar:m,viewMode:p,setViewMode:b,sortKey:_,sortDirection:E,handleSort:V},e[7]=h,e[8]=j,e[9]=V,e[10]=s,e[11]=N,e[12]=r,e[13]=g,e[14]=b,e[15]=E,e[16]=_,e[17]=m,e[18]=p,e[19]=$):$=e[19],$}export{Y as U,H as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c,u}from"./index-
|
|
1
|
+
import{c,u}from"./index-DwBgLSti.js";import{h as m,e as a}from"./use-connection-BEGrPCmR.js";import{j as p}from"./constants-8URKDp4Y.js";import{a as C}from"./use-binding-DbH4Xe03.js";function x(n,s){const o=c.c(5);let e;o[0]!==s?(e=s===void 0?{}:s,o[0]=s,o[1]=e):e=o[1];const r=e,{org:i}=u();let t;o[2]!==n||o[3]!==i.id?(t={connectionId:n,orgId:i.id},o[2]=n,o[3]=i.id,o[4]=t):t=o[4];const l=p(t);return a(n??"no-connection","LLM",l,r)}function j(){const n=c.c(2),s=m();let o;return n[0]!==s?(o={connections:s,binding:"LLMS"},n[0]=s,n[1]=o):o=n[1],C(o)}export{x as a,j as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as n,
|
|
1
|
+
import{c as n,b2 as u,b3 as p,n as f}from"./index-DwBgLSti.js";import{u as m}from"./useQuery-CPsXfVfR.js";import{K as c}from"./constants-8URKDp4Y.js";async function y(o){if(!o.getServerCapabilities()?.resources)return{resources:[]};try{return await o.listResources()}catch(t){if(t instanceof u&&t.code===p.MethodNotFound)return{resources:[]};throw t}}async function R(o,e){return await o.readResource({uri:e})}function w(o){const e=n.c(12);let t,s;e[0]!==o?({client:t,...s}=o,e[0]=o,e[1]=t,e[2]=s):(t=e[1],s=e[2]);let r;e[3]!==t?(r=c.mcpResourcesList(t),e[3]=t,e[4]=r):r=e[4];let i;e[5]!==t?(i=()=>y(t),e[5]=t,e[6]=i):i=e[6];const l=s.staleTime??3e4;let a;return e[7]!==s||e[8]!==r||e[9]!==i||e[10]!==l?(a={...s,queryKey:r,queryFn:i,staleTime:l,retry:!1},e[7]=s,e[8]=r,e[9]=i,e[10]=l,e[11]=a):a=e[11],f(a)}function C(o){const e=n.c(12);let t,s;e[0]!==o?({client:t,...s}=o,e[0]=o,e[1]=t,e[2]=s):(t=e[1],s=e[2]);let r;e[3]!==t?(r=c.mcpResourcesList(t),e[3]=t,e[4]=r):r=e[4];let i;e[5]!==t?(i=()=>y(t),e[5]=t,e[6]=i):i=e[6];const l=s.staleTime??3e4;let a;return e[7]!==s||e[8]!==r||e[9]!==i||e[10]!==l?(a={...s,queryKey:r,queryFn:i,staleTime:l,retry:!1},e[7]=s,e[8]=r,e[9]=i,e[10]=l,e[11]=a):a=e[11],m(a)}async function b(o){if(!o.getServerCapabilities()?.prompts)return{prompts:[]};try{return await o.listPrompts()}catch(t){if(t instanceof u&&t.code===p.MethodNotFound)return{prompts:[]};throw t}}async function L(o,e,t){if(!o.getServerCapabilities()?.prompts)throw new Error("Prompts capability not supported");return await o.getPrompt({name:e,arguments:t??{}})}function T(o){const e=n.c(12);let t,s;e[0]!==o?({client:t,...s}=o,e[0]=o,e[1]=t,e[2]=s):(t=e[1],s=e[2]);let r;e[3]!==t?(r=c.mcpPromptsList(t),e[3]=t,e[4]=r):r=e[4];let i;e[5]!==t?(i=()=>b(t),e[5]=t,e[6]=i):i=e[6];const l=s.staleTime??3e4;let a;return e[7]!==s||e[8]!==r||e[9]!==i||e[10]!==l?(a={...s,queryKey:r,queryFn:i,staleTime:l,retry:!1},e[7]=s,e[8]=r,e[9]=i,e[10]=l,e[11]=a):a=e[11],f(a)}function g(o){const e=n.c(12);let t,s;e[0]!==o?({client:t,...s}=o,e[0]=o,e[1]=t,e[2]=s):(t=e[1],s=e[2]);let r;e[3]!==t?(r=c.mcpPromptsList(t),e[3]=t,e[4]=r):r=e[4];let i;e[5]!==t?(i=()=>b(t),e[5]=t,e[6]=i):i=e[6];const l=s.staleTime??3e4;let a;return e[7]!==s||e[8]!==r||e[9]!==i||e[10]!==l?(a={...s,queryKey:r,queryFn:i,staleTime:l,retry:!1},e[7]=s,e[8]=r,e[9]=i,e[10]=l,e[11]=a):a=e[11],m(a)}export{y as a,g as b,w as c,C as d,L as g,b as l,R as r,T as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as m,n as p}from"./index-
|
|
1
|
+
import{c as m,n as p}from"./index-DwBgLSti.js";import{u as q}from"./useQuery-CPsXfVfR.js";import{u as C}from"./useMutation-DgG1LVg-.js";import{K as T}from"./constants-8URKDp4Y.js";function w(r){const e=m.c(12);let t,s;e[0]!==r?({client:t,...s}=r,e[0]=r,e[1]=t,e[2]=s):(t=e[1],s=e[2]);let l;e[3]!==t?(l=T.mcpToolsList(t),e[3]=t,e[4]=l):l=e[4];let o;e[5]!==t?(o=async()=>await t.listTools(),e[5]=t,e[6]=o):o=e[6];const i=s.staleTime??3e4;let n;return e[7]!==s||e[8]!==l||e[9]!==o||e[10]!==i?(n={...s,queryKey:l,queryFn:o,staleTime:i,retry:!1},e[7]=s,e[8]=l,e[9]=o,e[10]=i,e[11]=n):n=e[11],p(n)}function F(r){const e=m.c(12);let t,s;e[0]!==r?({client:t,...s}=r,e[0]=r,e[1]=t,e[2]=s):(t=e[1],s=e[2]);let l;e[3]!==t?(l=T.mcpToolsList(t),e[3]=t,e[4]=l):l=e[4];let o;e[5]!==t?(o=async()=>await t.listTools(),e[5]=t,e[6]=o):o=e[6];const i=s.staleTime??3e4;let n;return e[7]!==s||e[8]!==l||e[9]!==o||e[10]!==i?(n={...s,queryKey:l,queryFn:o,staleTime:i,retry:!1},e[7]=s,e[8]=l,e[9]=o,e[10]=i,e[11]=n):n=e[11],q(n)}function P(r){const e=m.c(21);let t,s,l,o;e[0]!==r?({client:t,toolName:o,toolArguments:l,...s}=r,e[0]=r,e[1]=t,e[2]=s,e[3]=l,e[4]=o):(t=e[1],s=e[2],l=e[3],o=e[4]);let i,n,u;if(e[5]!==t||e[6]!==s||e[7]!==l||e[8]!==o){const y=JSON.stringify(l??{});u=p,i=s,n=T.mcpToolCall(t,o,y),e[5]=t,e[6]=s,e[7]=l,e[8]=o,e[9]=i,e[10]=n,e[11]=u}else i=e[9],n=e[10],u=e[11];let a;e[12]!==t||e[13]!==l||e[14]!==o?(a=async()=>await t.callTool({name:o,arguments:l}),e[12]=t,e[13]=l,e[14]=o,e[15]=a):a=e[15];const f=s.staleTime??3e4;let c;return e[16]!==i||e[17]!==n||e[18]!==a||e[19]!==f?(c={...i,queryKey:n,queryFn:a,staleTime:f,retry:!1},e[16]=i,e[17]=n,e[18]=a,e[19]=f,e[20]=c):c=e[20],u(c)}function $(r){const e=m.c(21);let t,s,l,o;e[0]!==r?({client:t,toolName:o,toolArguments:l,...s}=r,e[0]=r,e[1]=t,e[2]=s,e[3]=l,e[4]=o):(t=e[1],s=e[2],l=e[3],o=e[4]);let i,n,u;if(e[5]!==t||e[6]!==s||e[7]!==l||e[8]!==o){const y=JSON.stringify(l??{});u=q,i=s,n=T.mcpToolCall(t,o,y),e[5]=t,e[6]=s,e[7]=l,e[8]=o,e[9]=i,e[10]=n,e[11]=u}else i=e[9],n=e[10],u=e[11];let a;e[12]!==t||e[13]!==l||e[14]!==o?(a=async()=>await t.callTool({name:o,arguments:l}),e[12]=t,e[13]=l,e[14]=o,e[15]=a):a=e[15];const f=s.staleTime??3e4;let c;return e[16]!==i||e[17]!==n||e[18]!==a||e[19]!==f?(c={...i,queryKey:n,queryFn:a,staleTime:f,retry:!1},e[16]=i,e[17]=n,e[18]=a,e[19]=f,e[20]=c):c=e[20],u(c)}function L(r){const e=m.c(8);let t,s;e[0]!==r?({client:t,...s}=r,e[0]=r,e[1]=t,e[2]=s):(t=e[1],s=e[2]);let l;e[3]!==t?(l=async i=>await t.callTool(i),e[3]=t,e[4]=l):l=e[4];let o;return e[5]!==s||e[6]!==l?(o={...s,mutationFn:l},e[5]=s,e[6]=l,e[7]=o):o=e[7],C(o)}export{L as a,$ as b,w as c,F as d,P as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as m,r}from"./index-
|
|
1
|
+
import{c as m,r}from"./index-DwBgLSti.js";const a=768,o=()=>globalThis.innerWidth<a;function u(){const e=m.c(2),[l,n]=r.useState(o);let t,s;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=()=>{const i=()=>n(o),c=globalThis.matchMedia(`(max-width: ${a-1}px)`);return c.addEventListener("change",i),n(o),()=>c.removeEventListener("change",i)},s=[],e[0]=t,e[1]=s):(t=e[0],s=e[1]),r.useEffect(t,s),l}export{u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as f,u as T,n as d,m as y,K as g}from"./index-
|
|
1
|
+
import{c as f,u as T,n as d,m as y,K as g}from"./index-DwBgLSti.js";import{u as _}from"./useMutation-DgG1LVg-.js";import{a as p,u as A}from"./constants-8URKDp4Y.js";function D(e){const t=f.c(10),{org:i}=T();let l;t[0]!==i.id?(l={connectionId:p,orgId:i.id},t[0]=i.id,t[1]=l):l=t[1];const c=A(l);let u;t[2]!==e?(u=g.organizationSettings(e),t[2]=e,t[3]=u):u=t[3];let s;t[4]!==c||t[5]!==e?(s=async()=>{const a=await c.callTool({name:"ORGANIZATION_SETTINGS_GET",arguments:{}}),r=a.structuredContent??a;return r||{organizationId:e,sidebar_items:null,enabled_plugins:null,createdAt:new Date().toISOString(),updatedAt:new Date().toISOString()}},t[4]=c,t[5]=e,t[6]=s):s=t[6];let n;t[7]!==u||t[8]!==s?(n={queryKey:u,queryFn:s,staleTime:6e4},t[7]=u,t[8]=s,t[9]=n):n=t[9];const{data:o}=d(n);return o}function G(e){const t=f.c(13),i=y(),{org:l}=T();let c;t[0]!==l.id?(c={connectionId:p,orgId:l.id},t[0]=l.id,t[1]=c):c=t[1];const u=A(c);let s;t[2]!==u||t[3]!==e?(s=async S=>{const m=await u.callTool({name:"ORGANIZATION_SETTINGS_UPDATE",arguments:{organizationId:e,...S}});return m.structuredContent??m},t[2]=u,t[3]=e,t[4]=s):s=t[4];let n;t[5]!==e||t[6]!==i?(n=S=>{i.setQueryData(g.organizationSettings(e),S)},t[5]=e,t[6]=i,t[7]=n):n=t[7];let o;t[8]!==s||t[9]!==n?(o={mutationFn:s,onSuccess:n},t[8]=s,t[9]=n,t[10]=o):o=t[10];const a=_(o);let r;return t[11]!==a?(r={update:a},t[11]=a,t[12]=r):r=t[12],r}export{G as a,D as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{K as m,c as C,n as T}from"./index-
|
|
1
|
+
import{K as m,c as C,n as T}from"./index-DwBgLSti.js";import{u as y}from"./useQuery-CPsXfVfR.js";import{u as f,a}from"./constants-8URKDp4Y.js";function S(t,s){const e=C.c(13);let r;e[0]!==t?(r={connectionId:a,orgId:t},e[0]=t,e[1]=r):r=e[1];const l=f(r);let u;e[2]!==t||e[3]!==s?(u=m.project(t,s),e[2]=t,e[3]=s,e[4]=u):u=e[4];let c;e[5]!==l||e[6]!==t||e[7]!==s?(c=async()=>{const p=await l.callTool({name:"PROJECT_GET",arguments:{organizationId:t,slug:s}});return(p.structuredContent??p).project},e[5]=l,e[6]=t,e[7]=s,e[8]=c):c=e[8];const o=!!t&&!!s;let n;return e[9]!==u||e[10]!==c||e[11]!==o?(n={queryKey:u,queryFn:c,enabled:o,staleTime:3e4},e[9]=u,e[10]=c,e[11]=o,e[12]=n):n=e[12],y(n)}function _(t,s){const e=f({connectionId:a,orgId:t}),r={queryKey:m.projects(t),queryFn:async()=>{const l=await e.callTool({name:"PROJECT_LIST",arguments:{organizationId:t}});return(l.structuredContent??l).projects.map(c=>({...c,organizationId:t}))},staleTime:3e4};return s?.suspense?T(r):y({...r,enabled:!!t})}export{S as a,_ as u};
|
package/dist/client/assets/{use-settings-modal-D-E-U1i_.js → use-settings-modal-Dx8IF1Gs.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as S,c as j,b as C,a as v,e as $}from"./index-
|
|
1
|
+
import{r as S,c as j,b as C,a as v,e as $}from"./index-DwBgLSti.js";const b=({size:e=24,color:t="currentColor",...r})=>S.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...r},S.createElement("path",{d:"M15 21v-5.4c0-.56 0-.84-.109-1.054a1 1 0 0 0-.437-.437C14.24 14 13.96 14 13.4 14h-2.8c-.56 0-.84 0-1.054.109a1 1 0 0 0-.437.437C9 14.76 9 15.04 9 15.6V21M3 7a3 3 0 0 0 6 0 3 3 0 1 0 6 0 3 3 0 1 0 6 0M6.2 21h11.6c1.12 0 1.68 0 2.108-.218a2 2 0 0 0 .874-.874C21 19.48 21 18.92 21 17.8V6.2c0-1.12 0-1.68-.218-2.108a2 2 0 0 0-.874-.874C19.48 3 18.92 3 17.8 3H6.2c-1.12 0-1.68 0-2.108.218a2 2 0 0 0-.874.874C3 4.52 3 5.08 3 6.2v11.6c0 1.12 0 1.68.218 2.108a2 2 0 0 0 .874.874C4.52 21 5.08 21 6.2 21Z"}));b.displayName="Building02";function k(e,t){return`project:${e}:${t}`}const x=new Set(["account.profile","account.preferences","account.experimental","org.general","org.plugins","org.billing"]);function E(e){if(!e)return!1;if(x.has(e))return!0;const t=e.split(":");return t.length===3&&t[0]==="project"&&!!t[1]&&(t[2]==="general"||t[2]==="plugins"||t[2]==="danger")}function M(e){if(!e.startsWith("project:"))return null;const[,t,r]=e.split(":");return!t||!r?null:{slug:t,sub:r}}function w(){const e=j.c(17),t=C();let r;e[0]===Symbol.for("react.memo_cache_sentinel")?(r={strict:!1},e[0]=r):r=e[0];const o=v(r);let c;e[1]===Symbol.for("react.memo_cache_sentinel")?(c={strict:!1},e[1]=c):c=e[1];const{org:s,project:n}=$(c);let i;e[2]!==o.settings?(i=E(o.settings)?o.settings:void 0,e[2]=o.settings,e[3]=i):i=e[3];const m=i,p=!!m;let a;e[4]!==t||e[5]!==s||e[6]!==n?(a=d=>{!s||!n||t({to:"/$org/$project",params:{org:s,project:n},search:{settings:d}})},e[4]=t,e[5]=s,e[6]=n,e[7]=a):a=e[7];const f=a;let l;e[8]!==t||e[9]!==s||e[10]!==n?(l=()=>{!s||!n||t({to:"/$org/$project",params:{org:s,project:n},search:{}})},e[8]=t,e[9]=s,e[10]=n,e[11]=l):l=e[11];const g=l,h=m??"account.preferences";let u;return e[12]!==g||e[13]!==p||e[14]!==f||e[15]!==h?(u={isOpen:p,activeSection:h,open:f,close:g},e[12]=g,e[13]=p,e[14]=f,e[15]=h,e[16]=u):u=e[16],u}export{k as a,M as p,b as t,w as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as p,r as f}from"./index-
|
|
1
|
+
import{c as p,r as f}from"./index-DwBgLSti.js";import{u as w}from"./use-mobile-Bs0AkxK7.js";function S(m,M){const e=p.c(12),u=M===void 0?"cards":M,o=w(),b=f.useRef(o),s=m?`deco-view-mode-${m}`:"deco-view-mode";let i;e[0]!==u||e[1]!==s?(i=()=>{const r=globalThis.localStorage?.getItem(s);return r==="cards"||r==="table"?r:u},e[0]=u,e[1]=s,e[2]=i):i=e[2];const[t,g]=f.useState(i);let l;e[3]!==s?(l=r=>{g(r),globalThis.localStorage?.setItem(s,r)},e[3]=s,e[4]=l):l=e[4];const d=l;let c,a;e[5]!==o||e[6]!==t?(c=()=>{!b.current&&o&&t==="table"&&g("cards"),b.current=o},a=[o,t],e[5]=o,e[6]=t,e[7]=c,e[8]=a):(c=e[7],a=e[8]),f.useEffect(c,a);let n;return e[9]!==d||e[10]!==t?(n=[t,d],e[9]=d,e[10]=t,e[11]=n):n=e[11],n}export{S as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c,u as r}from"./index-
|
|
1
|
+
import{c,u as r}from"./index-DwBgLSti.js";import{e as a,u as C,d as I}from"./use-connection-BEGrPCmR.js";import{a as l,u}from"./constants-8URKDp4Y.js";function m(i){const t=c.c(4);let o;t[0]!==i?(o=i===void 0?{}:i,t[0]=i,t[1]=o):o=t[1];const n=o,{org:e}=r();let s;t[2]!==e.id?(s={connectionId:l,orgId:e.id},t[2]=e.id,t[3]=s):s=t[3];const d=u(s);return a(e.id,"VIRTUAL_MCP",d,n)}function V(i){const t=c.c(2),{org:o}=r();let n;t[0]!==o.id?(n={connectionId:l,orgId:o.id},t[0]=o.id,t[1]=n):n=t[1];const e=u(n);return I(o.id,"VIRTUAL_MCP",i??void 0,e)}function p(){const i=c.c(2),{org:t}=r();let o;i[0]!==t.id?(o={connectionId:l,orgId:t.id},i[0]=t.id,i[1]=o):o=i[1];const n=u(o);return C(t.id,"VIRTUAL_MCP",n)}export{p as a,m as b,V as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{I as u}from"./infiniteQueryObserver-Yvt0ZTml.js";import{z as i}from"./index-DwBgLSti.js";function t(e,r){return i(e,u,r)}export{t as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{aV as l,aW as p,aX as n,aY as d,aZ as h,m as b,r as o,a_ as m,a$ as f}from"./index-DwBgLSti.js";var v=class extends l{#s;#i=void 0;#t;#e;constructor(t,s){super(),this.#s=t,this.setOptions(s),this.bindMethods(),this.#r()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){const s=this.options;this.options=this.#s.defaultMutationOptions(t),p(this.options,s)||this.#s.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#t,observer:this}),s?.mutationKey&&this.options.mutationKey&&n(s.mutationKey)!==n(this.options.mutationKey)?this.reset():this.#t?.state.status==="pending"&&this.#t.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#t?.removeObserver(this)}onMutationUpdate(t){this.#r(),this.#o(t)}getCurrentResult(){return this.#i}reset(){this.#t?.removeObserver(this),this.#t=void 0,this.#r(),this.#o()}mutate(t,s){return this.#e=s,this.#t?.removeObserver(this),this.#t=this.#s.getMutationCache().build(this.#s,this.options),this.#t.addObserver(this),this.#t.execute(t)}#r(){const t=this.#t?.state??d();this.#i={...t,isPending:t.status==="pending",isSuccess:t.status==="success",isError:t.status==="error",isIdle:t.status==="idle",mutate:this.mutate,reset:this.reset}}#o(t){h.batch(()=>{if(this.#e&&this.hasListeners()){const s=this.#i.variables,i=this.#i.context,e={client:this.#s,meta:this.options.meta,mutationKey:this.options.mutationKey};t?.type==="success"?(this.#e.onSuccess?.(t.data,s,i,e),this.#e.onSettled?.(t.data,null,s,i,e)):t?.type==="error"&&(this.#e.onError?.(t.error,s,i,e),this.#e.onSettled?.(void 0,t.error,s,i,e))}this.listeners.forEach(s=>{s(this.#i)})})}};function O(t,s){const i=b(s),[e]=o.useState(()=>new v(i,t));o.useEffect(()=>{e.setOptions(t)},[e,t]);const r=o.useSyncExternalStore(o.useCallback(a=>e.subscribe(h.batchCalls(a)),[e]),()=>e.getCurrentResult(),()=>e.getCurrentResult()),u=o.useCallback((a,c)=>{e.mutate(a,c).catch(m)},[e]);if(r.error&&f(e.options.throwOnError,[r.error]))throw r.error;return{...r,mutate:u,mutateAsync:r.mutate}}export{O as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{z as u,a8 as s}from"./index-DwBgLSti.js";function o(e,r){return u(e,s,r)}export{o as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{I as s}from"./infiniteQueryObserver-Yvt0ZTml.js";import{z as u,B as n}from"./index-DwBgLSti.js";function a(r,e){return u({...r,enabled:!0,suspense:!0,throwOnError:n},s,e)}export{a as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as Y,r as V,j as i}from"./index-
|
|
1
|
+
import{c as Y,r as V,j as i}from"./index-DwBgLSti.js";import{c as n}from"./button-D6YZfFzy.js";const Z={sm:{button:"size-7",icon:"size-4"},md:{button:"size-9",icon:"size-5"},lg:{button:"size-12",icon:"size-6"}};function oe(J){const e=Y.c(66),{value:o,onValueChange:l,options:t,size:D,fullWidth:F,className:W}=J,K=D===void 0?"sm":D,w=F===void 0?!1:F,G=V.useRef(null),H=V.useRef(null);let R;e[0]===Symbol.for("react.memo_cache_sentinel")?(R={left:0,width:0,opacity:0},e[0]=R):R=e[0];const[N,O]=V.useState(R);let _;e[1]===Symbol.for("react.memo_cache_sentinel")?(_=S=>{if(!S.current)return;const{offsetLeft:U,offsetWidth:X}=S.current;O({left:U,width:X,opacity:1})},e[1]=_):_=e[1];const Q=_;let C;e[2]!==t[0].value||e[3]!==o?(C=()=>{const S=o===t[0].value?G:H;Q(S)},e[2]=t[0].value,e[3]=o,e[4]=C):C=e[4];let E;e[5]!==t||e[6]!==o?(E=[o,t],e[5]=t,e[6]=o,e[7]=E):E=e[7],V.useEffect(C,E);const s=Z[K];let a;e[8]!==W?(a=n("relative flex gap-0 bg-muted rounded-lg",W),e[8]=W,e[9]=a):a=e[9];let c;e[10]!==l||e[11]!==t[0].value?(c=()=>l(t[0].value),e[10]=l,e[11]=t[0].value,e[12]=c):c=e[12];const $=w?"flex-1 h-12 px-4":s.button,I=!w&&t[0].label?"px-3":"";let r;e[13]!==I||e[14]!==$?(r=n("relative z-10 flex items-center justify-center gap-2 rounded-lg transition-colors [transition-timing-function:var(--ease-out-cubic)] duration-200",$,I),e[13]=I,e[14]=$,e[15]=r):r=e[15];const P=o===t[0].value?"text-foreground":"text-muted-foreground";let u;e[16]!==s.icon||e[17]!==P?(u=n("transition-colors ease-out duration-200 flex items-center justify-center [&>svg]:size-[1em]",s.icon,P),e[16]=s.icon,e[17]=P,e[18]=u):u=e[18];let f;e[19]!==t[0].icon||e[20]!==u?(f=i.jsx("span",{className:u,children:t[0].icon}),e[19]=t[0].icon,e[20]=u,e[21]=f):f=e[21];let d;e[22]!==t[0].label||e[23]!==t[0].value||e[24]!==o?(d=t[0].label&&i.jsx("span",{className:n("text-xs transition-colors ease-out duration-200 whitespace-nowrap",o===t[0].value?"text-foreground":"text-muted-foreground"),children:t[0].label}),e[22]=t[0].label,e[23]=t[0].value,e[24]=o,e[25]=d):d=e[25];let m;e[26]!==r||e[27]!==f||e[28]!==d||e[29]!==c?(m=i.jsxs("button",{ref:G,type:"button",onClick:c,className:r,children:[f,d]}),e[26]=r,e[27]=f,e[28]=d,e[29]=c,e[30]=m):m=e[30];let x;e[31]!==l||e[32]!==t[1].value?(x=()=>l(t[1].value),e[31]=l,e[32]=t[1].value,e[33]=x):x=e[33];const L=w?"flex-1 h-12 px-4":s.button,M=!w&&t[1].label?"px-3":"";let p;e[34]!==L||e[35]!==M?(p=n("relative z-10 flex items-center justify-center gap-2 rounded-lg transition-colors [transition-timing-function:var(--ease-out-cubic)] duration-200",L,M),e[34]=L,e[35]=M,e[36]=p):p=e[36];const T=o===t[1].value?"text-foreground":"text-muted-foreground";let b;e[37]!==s.icon||e[38]!==T?(b=n("transition-colors ease-out duration-200 flex items-center justify-center [&>svg]:size-[1em]",s.icon,T),e[37]=s.icon,e[38]=T,e[39]=b):b=e[39];let v;e[40]!==t[1].icon||e[41]!==b?(v=i.jsx("span",{className:b,children:t[1].icon}),e[40]=t[1].icon,e[41]=b,e[42]=v):v=e[42];let g;e[43]!==t[1].label||e[44]!==t[1].value||e[45]!==o?(g=t[1].label&&i.jsx("span",{className:n("text-xs transition-colors ease-out duration-200 whitespace-nowrap",o===t[1].value?"text-foreground":"text-muted-foreground"),children:t[1].label}),e[43]=t[1].label,e[44]=t[1].value,e[45]=o,e[46]=g):g=e[46];let h;e[47]!==x||e[48]!==p||e[49]!==v||e[50]!==g?(h=i.jsxs("button",{ref:H,type:"button",onClick:x,className:p,children:[v,g]}),e[47]=x,e[48]=p,e[49]=v,e[50]=g,e[51]=h):h=e[51];const q=w?"h-12":s.button;let y;e[52]!==q?(y=n("absolute z-0 bg-background rounded-lg border-shadow transition-all [transition-timing-function:var(--ease-out-cubic)] duration-200",q),e[52]=q,e[53]=y):y=e[53];const A=`${N.left}px`,B=`${N.width}px`;let j;e[54]!==N.opacity||e[55]!==A||e[56]!==B?(j={left:A,width:B,opacity:N.opacity},e[54]=N.opacity,e[55]=A,e[56]=B,e[57]=j):j=e[57];let z;e[58]!==y||e[59]!==j?(z=i.jsx("div",{className:y,style:j}),e[58]=y,e[59]=j,e[60]=z):z=e[60];let k;return e[61]!==m||e[62]!==h||e[63]!==z||e[64]!==a?(k=i.jsxs("div",{className:a,children:[m,h,z]}),e[61]=m,e[62]=h,e[63]=z,e[64]=a,e[65]=k):k=e[65],k}export{oe as V};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as N,u as w,d as q,b as G,j as t,O as B,c as L,
|
|
1
|
+
import{r as N,u as w,d as q,b as G,j as t,O as B,c as L,aE as Q,m as J,K as W,t as A}from"./index-DwBgLSti.js";import{a as Z,u as V,e as Y}from"./constants-8URKDp4Y.js";import{C as X}from"./collection-tab-BrrYAQmN.js";import{g as ee,h as te}from"./use-connection-BEGrPCmR.js";import{B as I}from"./button-D6YZfFzy.js";import{E as R}from"./empty-state-sMx3NP6e.js";import{E as ne}from"./error-boundary-lFjWy2-n.js";import{P as x}from"./index-B_nMIrSY.js";import{B as F,a as M,b as z,c as T}from"./breadcrumb-DeYbtjMk.js";import{a as se,b as ie}from"./use-binding-DbH4Xe03.js";import{i as oe}from"./AlertTriangle-DniGvpwb.js";import{i as le}from"./Loading01-BHMOj-H5.js";import{s as re}from"./RefreshCcw01-4dzpBOob.js";import{u as ae}from"./useMutation-DgG1LVg-.js";import{e as ce}from"./Dataflow03-C6KAN8vb.js";import"./generate-id-Dyweu44Y.js";import"./collection-table-wrapper-fNhnYl-G.js";import"./dropdown-menu-CRT7qGQ9.js";import"./Check-Bv0pZ3gl.js";import"./ChevronRight-DgAfR8pA.js";import"./ArrowDown-B35oswmj.js";import"./ArrowUp-G8RCE5_O.js";import"./Grid01-CJW4ZLO5.js";import"./List-sG42OZ_v.js";import"./tooltip-D71dCz4E.js";import"./view-mode-toggle-2-qyK3LU.js";import"./table-Csfk_VXo.js";import"./collection-search-CBYSITVU.js";import"./SearchMd-BLcaRHQs.js";import"./input-B7id4I1j.js";import"./card-BNyCnFpQ.js";import"./integration-icon-qV_BsBQR.js";import"./Container-jfv9L6Hc.js";import"./Copy01-Dq7Edhtu.js";import"./DotsVertical-PhooMqUv.js";import"./Edit01-DRruZKzG.js";import"./Eye-B9ZDOUkE.js";import"./Trash01-CkTOgej8.js";import"./empty-state-BA6UkF4p.js";import"./Inbox01-BweXezQd.js";import"./use-list-state-DvpdPuz-.js";import"./avatar-BNKSN34R.js";import"./useQuery-CPsXfVfR.js";import"./use-view-mode-DMPiUC22.js";import"./use-mobile-Bs0AkxK7.js";import"./constants-oXq_cTdm.js";import"./alert-dialog-BvNipqK_.js";import"./Plus-DNqvDLOK.js";import"./layout-Ck3H2-cu.js";import"./binder-BBB8LQyx.js";const U=({size:n=24,color:e="currentColor",...i})=>N.createElement("svg",{viewBox:"0 0 24 24",width:n,height:n,stroke:e,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...i},N.createElement("path",{d:"m9.395 19.371.585 1.315a2.212 2.212 0 0 0 4.044 0l.584-1.315a2.426 2.426 0 0 1 2.47-1.423l1.43.152a2.212 2.212 0 0 0 2.023-3.502l-.847-1.164a2.428 2.428 0 0 1-.46-1.434c0-.513.163-1.014.464-1.429l.847-1.163a2.211 2.211 0 0 0-2.022-3.502l-1.43.152a2.433 2.433 0 0 1-1.47-.312 2.426 2.426 0 0 1-1-1.117l-.589-1.315a2.212 2.212 0 0 0-4.044 0L9.395 4.63c-.207.468-.557.86-1 1.117-.445.256-.96.365-1.47.312l-1.434-.152a2.212 2.212 0 0 0-2.023 3.502l.847 1.163a2.43 2.43 0 0 1 0 2.858l-.847 1.163a2.21 2.21 0 0 0 .786 3.273c.382.195.811.274 1.237.23l1.43-.153a2.434 2.434 0 0 1 2.474 1.43Z"}),N.createElement("path",{d:"M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z"}));U.displayName="Settings02";function de({title:n,description:e,wellKnownMcp:i,imageSrc:a,onConnected:o}){const c=ee(),{org:{slug:s}}=w(),{data:r}=q.useSession(),d=G(),[m,p]=N.useState(!1),l=async()=>{if(!(!i||!r?.user?.id)){p(!0);try{const f=await c.create.mutateAsync(i);o?.(f.id),d({to:"/$org/$project/mcps/$connectionId",params:{org:s,project:B,connectionId:f.id}})}finally{p(!1)}}},u=()=>{d({to:"/$org/$project/mcps",params:{org:s,project:B},search:{action:"create"}})};return t.jsx(R,{image:a?t.jsx("img",{src:a,alt:n,width:336,height:320,className:"max-w-full h-auto"}):null,title:n,description:e,actions:t.jsxs(t.Fragment,{children:[t.jsxs(I,{variant:"outline",onClick:l,disabled:m||!i,children:[i?.icon&&t.jsx("img",{src:i.icon,alt:"",className:"size-4"}),m?"Installing...":`Install ${i?.title||"MCP"}`]}),t.jsx(I,{variant:"outline",onClick:u,children:"Custom Connection"})]})})}function me(n){const e=L.c(35),{bindingName:i,collectionName:a,title:o,emptyState:c,wellKnownMcp:s}=n,{org:r}=w(),d=te();let m;e[0]!==d||e[1]!==i?(m={connections:d,binding:i},e[0]=d,e[1]=i,e[2]=m):m=e[2];const l=se(m)[0],u=ie(l);let f;if(e[3]!==a||e[4]!==u){let g;e[6]!==a?(g=$=>$.name.toLowerCase()===a.toLowerCase(),e[6]=a,e[7]=g):g=e[7],f=u.find(g),e[3]=a,e[4]=u,e[5]=f}else f=e[5];const S=f,[D,H]=N.useState(null),_=l&&S&&(l.id||D);let h;e[8]!==o?(h=t.jsx(x.Header,{children:t.jsx(x.Header.Left,{children:t.jsx(F,{children:t.jsx(M,{children:t.jsx(z,{children:t.jsx(T,{children:o})})})})})}),e[8]=o,e[9]=h):h=e[9];let j;e[10]!==l||e[11]!==r||e[12]!==o?(j=g=>{const{error:$,resetError:K}=g;return t.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center h-full p-6 text-center space-y-4",children:[t.jsx("div",{className:"bg-destructive/10 p-3 rounded-full",children:t.jsx(oe,{className:"h-6 w-6 text-destructive"})}),t.jsxs("div",{className:"space-y-2",children:[t.jsxs("h3",{className:"text-lg font-medium",children:["Failed to load ",o.toLowerCase()]}),t.jsx("p",{className:"text-sm text-muted-foreground max-w-xs mx-auto",children:$?.message||"Unable to connect to the server. Please check that it is running and accessible."})]}),t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsxs(I,{variant:"outline",onClick:K,children:[t.jsx(re,{className:"size-4"}),"Try again"]}),l&&t.jsx(I,{variant:"outline",asChild:!0,children:t.jsxs(Q,{to:"/$org/$project/mcps/$connectionId",params:{org:r.slug,project:B,connectionId:l.id},search:{tab:"settings"},children:[t.jsx(U,{className:"size-4"}),"Connection Settings"]})})]})]})},e[10]=l,e[11]=r,e[12]=o,e[13]=j):j=e[13];let k;e[14]===Symbol.for("react.memo_cache_sentinel")?(k=t.jsx(le,{size:32,className:"animate-spin text-muted-foreground mb-4"}),e[14]=k):k=e[14];let b;e[15]!==o?(b=o.toLowerCase(),e[15]=o,e[16]=b):b=e[16];let C;e[17]!==b?(C=t.jsxs("div",{className:"flex flex-col items-center justify-center h-full",children:[k,t.jsxs("p",{className:"text-sm text-muted-foreground",children:["Loading ",b,"..."]})]}),e[17]=b,e[18]=C):C=e[18];let y;e[19]!==S||e[20]!==l||e[21]!==c||e[22]!==r||e[23]!==_||e[24]!==s?(y=_?t.jsx(X,{connectionId:l.id,org:r.slug,activeCollection:S}):t.jsx("div",{className:"flex flex-col items-center justify-center h-full",children:t.jsx(de,{title:c.title,description:c.description,wellKnownMcp:s,imageSrc:c.imageSrc,onConnected:g=>{H(g)}})}),e[19]=S,e[20]=l,e[21]=c,e[22]=r,e[23]=_,e[24]=s,e[25]=y):y=e[25];let P;e[26]!==C||e[27]!==y?(P=t.jsx(N.Suspense,{fallback:C,children:y}),e[26]=C,e[27]=y,e[28]=P):P=e[28];let E;e[29]!==j||e[30]!==P?(E=t.jsx(x.Content,{children:t.jsx(ne,{fallback:j,children:P})}),e[29]=j,e[30]=P,e[31]=E):E=e[31];let v;return e[32]!==E||e[33]!==h?(v=t.jsxs(x,{children:[h,E]}),e[32]=E,e[33]=h,e[34]=v):v=e[34],v}function ue(){const n=L.c(12),{org:e,project:i}=w(),a=J();let o;n[0]!==e.id?(o={connectionId:Z,orgId:e.id},n[0]=e.id,n[1]=o):o=n[1];const c=V(o);let s;n[2]!==c||n[3]!==i?(s=async p=>{const l=i.enabledPlugins??[];if(l.includes(p))return;const u=[...l,p],f=await c.callTool({name:"PROJECT_UPDATE",arguments:{projectId:i.id,enabledPlugins:u}});return f.structuredContent??f},n[2]=c,n[3]=i,n[4]=s):s=n[4];let r;n[5]!==e.id||n[6]!==i||n[7]!==a?(r=()=>{a.invalidateQueries({queryKey:W.project(e.id,i.slug)}),a.invalidateQueries({queryKey:W.projects(e.id)})},n[5]=e.id,n[6]=i,n[7]=a,n[8]=r):r=n[8];let d;return n[9]!==s||n[10]!==r?(d={mutationFn:s,onSuccess:r,onError:pe},n[9]=s,n[10]=r,n[11]=d):d=n[11],ae(d)}function pe(n){A.error("Failed to enable plugin: "+(n instanceof Error?n.message:"Unknown error"))}function fe(n){const e=L.c(12),{pluginId:i,title:a,description:o,icon:c}=n,s=ue();let r;e[0]!==s||e[1]!==i?(r=async()=>{try{await s.mutateAsync(i),A.success("Plugin enabled!")}catch{}},e[0]=s,e[1]=i,e[2]=r):r=e[2];const d=r,m=c??null,p=s.isPending?"Enabling…":"Enable plugin";let l;e[3]!==s.isPending||e[4]!==d||e[5]!==p?(l=t.jsx(I,{onClick:d,disabled:s.isPending,children:p}),e[3]=s.isPending,e[4]=d,e[5]=p,e[6]=l):l=e[6];let u;return e[7]!==o||e[8]!==m||e[9]!==l||e[10]!==a?(u=t.jsx(R,{image:m,title:a,description:o,actions:l}),e[7]=o,e[8]=m,e[9]=l,e[10]=a,e[11]=u):u=e[11],u}const O="workflows";function mt(){const n=L.c(3),{project:e}=w();if(!(e.enabledPlugins??[]).includes(O)){let c;n[0]===Symbol.for("react.memo_cache_sentinel")?(c=t.jsx(x.Header,{children:t.jsx(x.Header.Left,{children:t.jsx(F,{children:t.jsx(M,{children:t.jsx(z,{children:t.jsx(T,{children:"Workflows"})})})})})}),n[0]=c):c=n[0];let s;return n[1]===Symbol.for("react.memo_cache_sentinel")?(s=t.jsxs(x,{children:[c,t.jsx(x.Content,{children:t.jsx("div",{className:"flex flex-col items-center justify-center h-full",children:t.jsx(fe,{pluginId:O,title:"Enable Workflows",description:"Automate multi-step processes by enabling the Workflows plugin. Once enabled you can create, run, and monitor workflows.",icon:t.jsx("div",{className:"bg-muted p-4 rounded-full",children:t.jsx(ce,{className:"size-8 text-muted-foreground"})})})})})]}),n[1]=s):s=n[1],s}let o;return n[2]===Symbol.for("react.memo_cache_sentinel")?(o=t.jsx(me,{bindingName:"WORKFLOW",collectionName:"workflow",title:"Workflows",emptyState:{title:"Create Workflows",description:"Run durable MCP tool calls in background."},wellKnownMcp:Y()}),n[2]=o):o=n[2],o}export{mt as default};
|
package/dist/client/index.html
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<title>MCP Mesh</title>
|
|
5
5
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
6
|
-
<script type="module" crossorigin src="/assets/index-
|
|
7
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
6
|
+
<script type="module" crossorigin src="/assets/index-DwBgLSti.js"></script>
|
|
7
|
+
<link rel="stylesheet" crossorigin href="/assets/index-BMDGI420.css">
|
|
8
8
|
</head>
|
|
9
9
|
<body>
|
|
10
10
|
<div id="root"></div>
|
package/package.json
CHANGED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import{j as s,I as w,r as n,ar as m,aR as O,J as M,at as I,T as z,M as F,W as A,aS as D,Q as L,aT as G,aw as W,X as k,U as H,c as i}from"./index-DQipirM0.js";import{c as p,b as v}from"./button-BxOn_P7A.js";var x="AlertDialog",[V]=W(x,[D]),d=D(),N=l=>{const{__scopeAlertDialog:e,...t}=l,a=d(e);return s.jsx(w,{...a,...t,modal:!0})};N.displayName=x;var Y="AlertDialogTrigger",y=n.forwardRef((l,e)=>{const{__scopeAlertDialog:t,...a}=l,o=d(t);return s.jsx(k,{...o,...a,ref:e})});y.displayName=Y;var q="AlertDialogPortal",j=l=>{const{__scopeAlertDialog:e,...t}=l,a=d(e);return s.jsx(L,{...a,...t})};j.displayName=q;var B="AlertDialogOverlay",_=n.forwardRef((l,e)=>{const{__scopeAlertDialog:t,...a}=l,o=d(t);return s.jsx(H,{...o,...a,ref:e})});_.displayName=B;var g="AlertDialogContent",[J,Q]=V(g),U=G("AlertDialogContent"),h=n.forwardRef((l,e)=>{const{__scopeAlertDialog:t,children:a,...o}=l,r=d(t),c=n.useRef(null),P=m(e,c),u=n.useRef(null);return s.jsx(O,{contentName:g,titleName:b,docsSlug:"alert-dialog",children:s.jsx(J,{scope:t,cancelRef:u,children:s.jsxs(M,{role:"alertdialog",...r,...o,ref:P,onOpenAutoFocus:I(o.onOpenAutoFocus,f=>{f.preventDefault(),u.current?.focus({preventScroll:!0})}),onPointerDownOutside:f=>f.preventDefault(),onInteractOutside:f=>f.preventDefault(),children:[s.jsx(U,{children:a}),s.jsx(K,{contentRef:c})]})})})});h.displayName=g;var b="AlertDialogTitle",R=n.forwardRef((l,e)=>{const{__scopeAlertDialog:t,...a}=l,o=d(t);return s.jsx(z,{...o,...a,ref:e})});R.displayName=b;var $="AlertDialogDescription",E=n.forwardRef((l,e)=>{const{__scopeAlertDialog:t,...a}=l,o=d(t);return s.jsx(F,{...o,...a,ref:e})});E.displayName=$;var X="AlertDialogAction",C=n.forwardRef((l,e)=>{const{__scopeAlertDialog:t,...a}=l,o=d(t);return s.jsx(A,{...o,...a,ref:e})});C.displayName=X;var S="AlertDialogCancel",T=n.forwardRef((l,e)=>{const{__scopeAlertDialog:t,...a}=l,{cancelRef:o}=Q(S,t),r=d(t),c=m(e,o);return s.jsx(A,{...r,...a,ref:c})});T.displayName=S;var K=({contentRef:l})=>{const e=`\`${g}\` requires a description for the component to be accessible for screen reader users.
|
|
2
|
-
|
|
3
|
-
You can add a description to the \`${g}\` by passing a \`${$}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
|
|
4
|
-
|
|
5
|
-
Alternatively, you can use your own component as a description by assigning it an \`id\` and passing the same value to the \`aria-describedby\` prop in \`${g}\`. If the description is confusing or duplicative for sighted users, you can use the \`@radix-ui/react-visually-hidden\` primitive as a wrapper around your description component.
|
|
6
|
-
|
|
7
|
-
For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;return n.useEffect(()=>{document.getElementById(l.current?.getAttribute("aria-describedby"))||console.warn(e)},[e,l]),null},Z=N,ee=y,te=j,ae=_,oe=h,le=C,re=T,se=R,ie=E;function ge(l){const e=i.c(4);let t;e[0]!==l?({...t}=l,e[0]=l,e[1]=t):t=e[1];let a;return e[2]!==t?(a=s.jsx(Z,{"data-slot":"alert-dialog",...t}),e[2]=t,e[3]=a):a=e[3],a}function fe(l){const e=i.c(4);let t;e[0]!==l?({...t}=l,e[0]=l,e[1]=t):t=e[1];let a;return e[2]!==t?(a=s.jsx(ee,{"data-slot":"alert-dialog-trigger",...t}),e[2]=t,e[3]=a):a=e[3],a}function ne(l){const e=i.c(4);let t;e[0]!==l?({...t}=l,e[0]=l,e[1]=t):t=e[1];let a;return e[2]!==t?(a=s.jsx(te,{"data-slot":"alert-dialog-portal",...t}),e[2]=t,e[3]=a):a=e[3],a}function ce(l){const e=i.c(8);let t,a;e[0]!==l?({className:t,...a}=l,e[0]=l,e[1]=t,e[2]=a):(t=e[1],a=e[2]);let o;e[3]!==t?(o=p("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",t),e[3]=t,e[4]=o):o=e[4];let r;return e[5]!==a||e[6]!==o?(r=s.jsx(ae,{"data-slot":"alert-dialog-overlay",className:o,...a}),e[5]=a,e[6]=o,e[7]=r):r=e[7],r}function ue(l){const e=i.c(9);let t,a;e[0]!==l?({className:t,...a}=l,e[0]=l,e[1]=t,e[2]=a):(t=e[1],a=e[2]);let o;e[3]===Symbol.for("react.memo_cache_sentinel")?(o=s.jsx(ce,{}),e[3]=o):o=e[3];let r;e[4]!==t?(r=p("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-xl border p-6 shadow-lg duration-200 sm:max-w-lg",t),e[4]=t,e[5]=r):r=e[5];let c;return e[6]!==a||e[7]!==r?(c=s.jsxs(ne,{children:[o,s.jsx(oe,{"data-slot":"alert-dialog-content",className:r,...a})]}),e[6]=a,e[7]=r,e[8]=c):c=e[8],c}function me(l){const e=i.c(8);let t,a;e[0]!==l?({className:t,...a}=l,e[0]=l,e[1]=t,e[2]=a):(t=e[1],a=e[2]);let o;e[3]!==t?(o=p("flex flex-col gap-2 text-center sm:text-left",t),e[3]=t,e[4]=o):o=e[4];let r;return e[5]!==a||e[6]!==o?(r=s.jsx("div",{"data-slot":"alert-dialog-header",className:o,...a}),e[5]=a,e[6]=o,e[7]=r):r=e[7],r}function Ae(l){const e=i.c(8);let t,a;e[0]!==l?({className:t,...a}=l,e[0]=l,e[1]=t,e[2]=a):(t=e[1],a=e[2]);let o;e[3]!==t?(o=p("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",t),e[3]=t,e[4]=o):o=e[4];let r;return e[5]!==a||e[6]!==o?(r=s.jsx("div",{"data-slot":"alert-dialog-footer",className:o,...a}),e[5]=a,e[6]=o,e[7]=r):r=e[7],r}function De(l){const e=i.c(8);let t,a;e[0]!==l?({className:t,...a}=l,e[0]=l,e[1]=t,e[2]=a):(t=e[1],a=e[2]);let o;e[3]!==t?(o=p("text-lg font-semibold",t),e[3]=t,e[4]=o):o=e[4];let r;return e[5]!==a||e[6]!==o?(r=s.jsx(se,{"data-slot":"alert-dialog-title",className:o,...a}),e[5]=a,e[6]=o,e[7]=r):r=e[7],r}function ve(l){const e=i.c(8);let t,a;e[0]!==l?({className:t,...a}=l,e[0]=l,e[1]=t,e[2]=a):(t=e[1],a=e[2]);let o;e[3]!==t?(o=p("text-muted-foreground text-sm",t),e[3]=t,e[4]=o):o=e[4];let r;return e[5]!==a||e[6]!==o?(r=s.jsx(ie,{"data-slot":"alert-dialog-description",className:o,...a}),e[5]=a,e[6]=o,e[7]=r):r=e[7],r}function xe(l){const e=i.c(8);let t,a;e[0]!==l?({className:t,...a}=l,e[0]=l,e[1]=t,e[2]=a):(t=e[1],a=e[2]);let o;e[3]!==t?(o=p(v(),t),e[3]=t,e[4]=o):o=e[4];let r;return e[5]!==a||e[6]!==o?(r=s.jsx(le,{className:o,...a}),e[5]=a,e[6]=o,e[7]=r):r=e[7],r}function Ne(l){const e=i.c(8);let t,a;e[0]!==l?({className:t,...a}=l,e[0]=l,e[1]=t,e[2]=a):(t=e[1],a=e[2]);let o;e[3]!==t?(o=p(v({variant:"outline"}),t),e[3]=t,e[4]=o):o=e[4];let r;return e[5]!==a||e[6]!==o?(r=s.jsx(re,{className:o,...a}),e[5]=a,e[6]=o,e[7]=r):r=e[7],r}export{Ne as A,ue as a,me as b,De as c,ve as d,Ae as e,ge as f,xe as g,fe as h};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{D as t,E as a}from"./index-DQipirM0.js";const e=t(a,{target:"draft-7"});export{e as B};
|