decocms 4.28.1 → 4.29.1
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-Ix48cuhr.js → AlertCircle-D90xu5-8.js} +1 -1
- package/dist/client/assets/{ArrowUpRight-CXbhOFnS.js → ArrowUpRight-B1XPsNPZ.js} +1 -1
- package/dist/client/assets/{Check-KOuUgZpl.js → Check-BqH5cjqe.js} +1 -1
- package/dist/client/assets/{CheckCircle-D-y1jrnz.js → CheckCircle-CebfgxLq.js} +1 -1
- package/dist/client/assets/{ChevronDown-C-LFsTot.js → ChevronDown-DhzhS3K5.js} +1 -1
- package/dist/client/assets/{ChevronRight-CMRG2Mrw.js → ChevronRight-DntNgeBz.js} +1 -1
- package/dist/client/assets/{ChevronUp-Do62lvyJ.js → ChevronUp-DPJfOoQR.js} +1 -1
- package/dist/client/assets/{Circle-DvpNcVfO.js → Circle-umqkxNwx.js} +1 -1
- package/dist/client/assets/{Copy01-BUiSHYCq.js → Copy01-YBIj7O7M.js} +1 -1
- package/dist/client/assets/{DotsVertical-Dt_Mft5K.js → DotsVertical-DoxN78H8.js} +1 -1
- package/dist/client/assets/{Eye-jR9Zg5z5.js → Eye-o8ajkfvt.js} +1 -1
- package/dist/client/assets/{FilterLines-BwYarGOr.js → FilterLines-CEBhmChB.js} +1 -1
- package/dist/client/assets/{Globe01-CLEqh0jN.js → Globe01-D3NrpjPq.js} +1 -1
- package/dist/client/assets/{Globe04-BbxCUGSa.js → Globe04-6xG6GU2e.js} +1 -1
- package/dist/client/assets/{HardDrive-C2xD3Bmj.js → HardDrive-CDBenwE2.js} +1 -1
- package/dist/client/assets/{Key01-D4W6oMPT.js → Key01-CwgjH_um.js} +1 -1
- package/dist/client/assets/{LayoutLeft-DHIL03--.js → LayoutLeft-CKcHwaHf.js} +1 -1
- package/dist/client/assets/{LinkExternal01-92HTSmz9.js → LinkExternal01-DBFEHO3t.js} +1 -1
- package/dist/client/assets/{List-Dl4LEOwl.js → List-s8AZWxpk.js} +1 -1
- package/dist/client/assets/Loading02-DaLVACu2.js +1 -0
- package/dist/client/assets/{Monitor01-BWtutl7x.js → Monitor01-lxPxQ2fk.js} +1 -1
- package/dist/client/assets/{Palette-BGy6oXoM.js → Palette-DHyTdFqR.js} +1 -1
- package/dist/client/assets/{Play-BblOVQrg.js → Play-TOCBGzP9.js} +1 -1
- package/dist/client/assets/{Plus-DfCkUDAU.js → Plus-DkGwhdIW.js} +1 -1
- package/dist/client/assets/{SearchLg-DNeOVX02.js → SearchLg-C9MBYrXH.js} +1 -1
- package/dist/client/assets/{SearchMd-DcUy3tZG.js → SearchMd-Dhz0UROc.js} +1 -1
- package/dist/client/assets/{Settings02-Do4Jg01P.js → Settings02-COfrOHpp.js} +1 -1
- package/dist/client/assets/{Shield01-C6KAwjuJ.js → Shield01-BrK-9cDf.js} +1 -1
- package/dist/client/assets/{Star01-vopgIfvF.js → Star01-twQgP5oO.js} +1 -1
- package/dist/client/assets/{Stars01-5YrKBfZE.js → Stars01-C27kMlCK.js} +1 -1
- package/dist/client/assets/{Stars02-XQxaeqbQ.js → Stars02-sR281nUk.js} +1 -1
- package/dist/client/assets/{Sun-B7ftuIIX.js → Sun-DTFx5jn8.js} +1 -1
- package/dist/client/assets/{SwitchHorizontal01-cutLTNbW.js → SwitchHorizontal01-Bu9ipsE_.js} +1 -1
- package/dist/client/assets/{Tool01-BvpZAFbv.js → Tool01-DJgxsN47.js} +1 -1
- package/dist/client/assets/{Trash01-CMKdBCcn.js → Trash01-myAGgKHr.js} +1 -1
- package/dist/client/assets/{Upload01-qruYHtRZ.js → Upload01-m0ny4YmQ.js} +1 -1
- package/dist/client/assets/{User01-BQzTGoKV.js → User01-DuGAbO5F.js} +1 -1
- package/dist/client/assets/{Users01-BGJnrzuD.js → Users01-e9Wb8IJU.js} +1 -1
- package/dist/client/assets/{Users03-DdN_R_96.js → Users03-JTfAuK6m.js} +1 -1
- package/dist/client/assets/{X-5_6S4cTa.js → X-DRR7RtBP.js} +1 -1
- package/dist/client/assets/{XCircle-B0LLGt09.js → XCircle-Cz7czjsw.js} +1 -1
- package/dist/client/assets/{XClose-Kd3JhRs6.js → XClose-eEYHZsPT.js} +1 -1
- package/dist/client/assets/{Zap-WWmt76Cj.js → Zap-CMZ9cCJz.js} +1 -1
- package/dist/client/assets/{ZapSquare-B8w8Kigu.js → ZapSquare-Ch518nCD.js} +1 -1
- package/dist/client/assets/{ZoomOut-BN8enLeN.js → ZoomOut-Chl8lvun.js} +1 -1
- package/dist/client/assets/{access-gate-DZCZwHRE.js → access-gate-Cf-kJrg7.js} +1 -1
- package/dist/client/assets/{add-section-modal-D_44tUGm.js → add-section-modal-COVSQJFG.js} +1 -1
- package/dist/client/assets/{agent-capabilities-CbZdf8yp.js → agent-capabilities-Cpju5Yfe.js} +1 -1
- package/dist/client/assets/agent-icon-BvZm1osM.js +1 -0
- package/dist/client/assets/{agents-list-CU3r02dc.js → agents-list-BzkaDxFg.js} +1 -1
- package/dist/client/assets/{ai-providers-DoEqBz5H.js → ai-providers-DadR3aQt.js} +1 -1
- package/dist/client/assets/{alert-Dih2SIkz.js → alert-C-n1SZ0O.js} +1 -1
- package/dist/client/assets/{alert-dialog-B0Bw-oIS.js → alert-dialog-wgrcUQ0O.js} +1 -1
- package/dist/client/assets/app-editor-CAH73t0u.js +1 -0
- package/dist/client/assets/{auth-DN4c5q1R.js → auth-B8jeHTDK.js} +1 -1
- package/dist/client/assets/{auth-catchall-D_9FbiWb.js → auth-catchall-f5qF8zoS.js} +1 -1
- package/dist/client/assets/{auth-entry-B-ZF-ciz.js → auth-entry-BwlcwCMz.js} +1 -1
- package/dist/client/assets/{auth-split-layout-Cr6444lH.js → auth-split-layout-DiG8voFB.js} +1 -1
- package/dist/client/assets/{authenticate-and-persist-oauth-DdKvrQEr.js → authenticate-and-persist-oauth-ezeRyKPp.js} +1 -1
- package/dist/client/assets/{automation-list-row-BOIXVMIT.js → automation-list-row-CeLhtWjA.js} +1 -1
- package/dist/client/assets/automation-runs-CmgFzJTt.js +1 -0
- package/dist/client/assets/{automations-CGElgBM7.js → automations-D21tUX_h.js} +1 -1
- package/dist/client/assets/{avatar-HaXLmirn.js → avatar-BrhzNA4d.js} +1 -1
- package/dist/client/assets/{badge-CqRObYKH.js → badge-B5li3mFX.js} +1 -1
- package/dist/client/assets/{block-document-DyjzyU2F.js → block-document-BKVlkRQG.js} +2 -2
- package/dist/client/assets/{brand-context-8UKMAI4i.js → brand-context-DHuctVxS.js} +1 -1
- package/dist/client/assets/{breadcrumb-B5OQr9WC.js → breadcrumb-BPYlrjmj.js} +1 -1
- package/dist/client/assets/{buckets-CcKs25bx.js → buckets-CZdkIll2.js} +1 -1
- package/dist/client/assets/bulk-category-panel-DBxbY94B.js +1 -0
- package/dist/client/assets/calendar-C0u4vRHU.js +1 -0
- package/dist/client/assets/{capability-load-error-DwMuZztu.js → capability-load-error-D7uMbvO0.js} +1 -1
- package/dist/client/assets/{card-5aKPBj7H.js → card-CCFrbS6S.js} +1 -1
- package/dist/client/assets/category-editor-DJYxfrMo.js +1 -0
- package/dist/client/assets/{chat-context-D7GP06Zt.js → chat-context-XoGdeFE9.js} +1 -1
- package/dist/client/assets/{checkbox-DEYwFl8k.js → checkbox-D2NBps_s.js} +1 -1
- package/dist/client/assets/{cli-auth-success-CLScdiWU.js → cli-auth-success-DG3-YXKw.js} +1 -1
- package/dist/client/assets/{collection-detail-CxIElSHV.js → collection-detail-uY6XXgWz.js} +1 -1
- package/dist/client/assets/{collection-display-button-DyPvL1w_.js → collection-display-button-Bvtt9j_H.js} +1 -1
- package/dist/client/assets/{collection-search-CzAS7CiD.js → collection-search-BHb176G9.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-D-ssgOn8.js → collection-table-wrapper-BBBMMDK4.js} +1 -1
- package/dist/client/assets/{collection-tabs-bZbxe_7m.js → collection-tabs-CCdUJRcj.js} +1 -1
- package/dist/client/assets/{command-Dkfm4s2k.js → command-CGbsZOaN.js} +1 -1
- package/dist/client/assets/commerce-onboarding-DtUMhwdU.js +1 -0
- package/dist/client/assets/{connect-desktop-dialog-DKL_vE45.js → connect-desktop-dialog-CRhRTOUc.js} +1 -1
- package/dist/client/assets/{connection-card-BmXpylIP.js → connection-card-DGNqtPoP.js} +1 -1
- package/dist/client/assets/{connection-detail-DNd1ZQGj.js → connection-detail-DlI7-vLh.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-i8kc8g_h.js → connection-form-helpers-Bs8LNNlp.js} +1 -1
- package/dist/client/assets/{connections-DwE0OmTn.js → connections-Ci34jtNe.js} +1 -1
- package/dist/client/assets/{decopilot-DVVdoab1.js → decopilot--vqccpDb.js} +1 -1
- package/dist/client/assets/{decopilot-sse-pool-C9B6d0V3.js → decopilot-sse-pool-B7Qe588m.js} +1 -1
- package/dist/client/assets/{dialog-BK7FdLgQ.js → dialog-C2MVTIBt.js} +1 -1
- package/dist/client/assets/{domain-settings-KIfFg8Uv.js → domain-settings-Dk68eaoE.js} +1 -1
- package/dist/client/assets/{drawer-BOKmZjhb.js → drawer-BGO4iAk0.js} +1 -1
- package/dist/client/assets/{dropdown-menu-BXvp7Poa.js → dropdown-menu-BPps0Iqr.js} +1 -1
- package/dist/client/assets/{empty-state-BWk4kN3I.js → empty-state-BUKBmmAV.js} +1 -1
- package/dist/client/assets/{extract-connection-data-BTJ9Fhn2.js → extract-connection-data-Dq7vx8cX.js} +1 -1
- package/dist/client/assets/file-explorer-BGhwIot0.js +2 -0
- package/dist/client/assets/{file-type-icon-DIDUV08q.js → file-type-icon-DIgcp2MN.js} +1 -1
- package/dist/client/assets/{files-l2i7bDIR.js → files-CIXCBIkO.js} +1 -1
- package/dist/client/assets/{form-BOG3rRkz.js → form-TSiFK-dI.js} +1 -1
- package/dist/client/assets/{general-Be0ufkZZ.js → general-D5as9e6z.js} +1 -1
- package/dist/client/assets/get-initials-D-f_fDFw.js +1 -0
- package/dist/client/assets/{github-repo-picker-H6UyRgqq.js → github-repo-picker-B3tomRAJ.js} +1 -1
- package/dist/client/assets/{hooks-DqvpUbqo.js → hooks-BKW8thdS.js} +1 -1
- package/dist/client/assets/index-5uzKO7q6.css +1 -0
- package/dist/client/assets/{index-DhnegOZA.js → index-9kwnfSCp.js} +1 -1
- package/dist/client/assets/index-B09DUV7c.js +1 -0
- package/dist/client/assets/{index-mmZ00Fht.js → index-BZQALusN.js} +1 -1
- package/dist/client/assets/{index-t4CdgAvZ.js → index-BibhmEoM.js} +1 -1
- package/dist/client/assets/{index-BHw_x3xk.js → index-BlJ4j0DM.js} +1 -1
- package/dist/client/assets/{index-B_-q_4P-.js → index-Bsex2T4n.js} +3 -3
- package/dist/client/assets/{index-l6GBFngc.js → index-Btxmdruq.js} +1 -1
- package/dist/client/assets/{index-wSalJ4yv.js → index-C7DWYqRh.js} +1 -1
- package/dist/client/assets/{index-4pivgrAI.js → index-CEE6U8OI.js} +1 -1
- package/dist/client/assets/{index-DjZqnBm_.js → index-CIZOVv5V.js} +1 -1
- package/dist/client/assets/{index-BBkrDtkj.js → index-CKKQLGcV.js} +1 -1
- package/dist/client/assets/{index-xVNEye3o.js → index-DNvozpHG.js} +1 -1
- package/dist/client/assets/{index-YdFZmyaZ.js → index-ELtqDe0g.js} +14 -14
- package/dist/client/assets/{index-CRsyoh0P.js → index-d52A49fX.js} +3 -3
- package/dist/client/assets/{index-redirect-fs7Qf7zZ.js → index-redirect-BsNOVzi9.js} +1 -1
- package/dist/client/assets/{input-CnXP5aMo.js → input-B_5YyJ8y.js} +1 -1
- package/dist/client/assets/{integration-icon-CUX4W9Hv.js → integration-icon-DXGEOTjP.js} +1 -1
- package/dist/client/assets/{invite-member-dialog-cpX923sH.js → invite-member-dialog-YIBgjb89.js} +1 -1
- package/dist/client/assets/{label-DhJnRZgA.js → label-CWqrShVu.js} +1 -1
- package/dist/client/assets/{library-tab-CvVa-OqV.js → library-tab-BBr_dx-g.js} +1 -1
- package/dist/client/assets/{login-Bs3s6Rkf.js → login-Da99hiOC.js} +1 -1
- package/dist/client/assets/{mcp-oauth-nWdzDozN.js → mcp-oauth-CSUfdVCn.js} +1 -1
- package/dist/client/assets/members-BboKmC5r.js +1 -0
- package/dist/client/assets/{monaco-editor-BpQyL38Q.js → monaco-editor-xlUuBDU4.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-Ccix4lOH.js → monitoring-stats-row-DixOHH_R.js} +1 -1
- package/dist/client/assets/{oauth-callback-CO68L6oV.js → oauth-callback-BaDQ-n27.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-B0TtqeXM.js → oauth-callback-ai-provider-I3h8vdSk.js} +1 -1
- package/dist/client/assets/{onboarding-QhVNhFdk.js → onboarding-B1EOLElh.js} +1 -1
- package/dist/client/assets/{org-install-ErmVLHvW.js → org-install-CDUCFQCm.js} +1 -1
- package/dist/client/assets/{org-layout-D38ef99_.js → org-layout-NnaVwU9k.js} +1 -1
- package/dist/client/assets/{organization-choice-Tf5NJHeh.js → organization-choice-C-TyyEjY.js} +1 -1
- package/dist/client/assets/{page-seo-form-CTcVALHG.js → page-seo-form-Cfv9ng9q.js} +1 -1
- package/dist/client/assets/page-seo-sheet-CIF4tqJJ.js +1 -0
- package/dist/client/assets/{popover-CfzedSO-.js → popover-DlszYF1R.js} +1 -1
- package/dist/client/assets/post-editor-BiHws1oe.js +1 -0
- package/dist/client/assets/{primitives-CXb4fn8s.js → primitives-0HgpGbC7.js} +1 -1
- package/dist/client/assets/{profile-BaF8zbuW.js → profile-ZMZrPNFW.js} +1 -1
- package/dist/client/assets/project-app-view-O-o90Cxo.js +1 -0
- package/dist/client/assets/record-editor-BZ3V6i3V.js +1 -0
- package/dist/client/assets/registry-DzfT-ESq.js +2 -0
- package/dist/client/assets/{registry-layout-CSGY5xYu.js → registry-layout-zFAhrTof.js} +1 -1
- package/dist/client/assets/{require-capability-eWa58zjU.js → require-capability-C135EIMf.js} +1 -1
- package/dist/client/assets/{required-auth-layout-D9x1NXiE.js → required-auth-layout-CEAeU4UY.js} +1 -1
- package/dist/client/assets/{reset-password-GNJpFe_P.js → reset-password-D_zECCKz.js} +1 -1
- package/dist/client/assets/roles-DYzEztRG.js +1 -0
- package/dist/client/assets/{scroll-area-CYqq0nPW.js → scroll-area-Bsik7Uif.js} +1 -1
- package/dist/client/assets/{search-input-r5iP5iuB.js → search-input-DccF25qw.js} +1 -1
- package/dist/client/assets/{secrets-Bu6Z8OBg.js → secrets-DJrAzRmE.js} +1 -1
- package/dist/client/assets/{sections-editor-B2SxZ1cU.js → sections-editor-i5xgzCTq.js} +2 -2
- package/dist/client/assets/{select-izZ6sucn.js → select-DdHVdWXn.js} +1 -1
- package/dist/client/assets/{select-model-DX9C2tgo.js → select-model-C49KT9p5.js} +1 -1
- package/dist/client/assets/seo-editor-C38OT2eM.js +1 -0
- package/dist/client/assets/{settings-layout-g3sRccmN.js → settings-layout-DePsodvD.js} +1 -1
- package/dist/client/assets/{settings-section-BMwcZuRK.js → settings-section-eWkjB3kv.js} +1 -1
- package/dist/client/assets/{sheet-DiKbGOCj.js → sheet-DSSfro03.js} +1 -1
- package/dist/client/assets/{shell-controls-C9tCTQdE.js → shell-controls-DMbQmeKU.js} +1 -1
- package/dist/client/assets/{shell-layout-CEHTO6uu.js → shell-layout-DdmjIlR4.js} +1 -1
- package/dist/client/assets/{sidebar-CV5tOntB.js → sidebar-BJwboMe2.js} +1 -1
- package/dist/client/assets/{skeleton-Iq-zR2Ew.js → skeleton-Bl9k4gft.js} +1 -1
- package/dist/client/assets/{sso-h3VWd7Vh.js → sso-xj4rMylh.js} +1 -1
- package/dist/client/assets/{store-C6fQuWSN.js → store-DlhSxr4k.js} +1 -1
- package/dist/client/assets/store-registry-BayPiGW-.js +2 -0
- package/dist/client/assets/{studio-tools-0oP05Vmo.js → studio-tools-nA7ZTnFV.js} +1 -1
- package/dist/client/assets/{switch-CHXTZ9dZ.js → switch-CuT_exNr.js} +1 -1
- package/dist/client/assets/{table-Ded64YC3.js → table-CWyE2zgw.js} +1 -1
- package/dist/client/assets/{tabs-CXI9rQJI.js → tabs-DRqPX6Mz.js} +1 -1
- package/dist/client/assets/{task-row-CCSwtZau.js → task-row-DzSs63v5.js} +1 -1
- package/dist/client/assets/{task-status-BcVBGHoc.js → task-status-CNEAWeje.js} +1 -1
- package/dist/client/assets/{textarea-CjEBrlku.js → textarea-B3Rf9sP3.js} +1 -1
- package/dist/client/assets/{toggle-group-ChDolbV_.js → toggle-group-BuLxG5r3.js} +1 -1
- package/dist/client/assets/{toolbar-COQJG38H.js → toolbar-CVjg3TEd.js} +1 -1
- package/dist/client/assets/{toolbar-icon-button-BoklVZLA.js → toolbar-icon-button-CwCDO4L5.js} +1 -1
- package/dist/client/assets/{tools-list-CRIV7Qot.js → tools-list-Dzc5vr-A.js} +1 -1
- package/dist/client/assets/{tooltip-UK4TH3io.js → tooltip-Bzas0fb8.js} +1 -1
- package/dist/client/assets/{types-DKCRVv18.js → types-B2Xs3OM7.js} +1 -1
- package/dist/client/assets/{use-ai-providers-CaRQPTIl.js → use-ai-providers-CW0jtnuO.js} +1 -1
- package/dist/client/assets/{use-automations-CSpNEw7t.js → use-automations-CuWiOTtv.js} +1 -1
- package/dist/client/assets/{use-capability-DhsEVexh.js → use-capability-C9whYnsG.js} +1 -1
- package/dist/client/assets/{use-clock-tick-CVEnk_fR.js → use-clock-tick-B6ygxook.js} +1 -1
- package/dist/client/assets/{use-collections-DK_l6F0N.js → use-collections-BP4R8sI-.js} +1 -1
- package/dist/client/assets/{use-connection-B7bWiRqI.js → use-connection-BLVjIktc.js} +1 -1
- package/dist/client/assets/{use-copy-v85ZDhBk.js → use-copy-_bA4U2MU.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-B9P7c8fS.js → use-create-virtual-mcp-DAOEgAsA.js} +1 -1
- package/dist/client/assets/{use-debounced-autosave-BRe10INx.js → use-debounced-autosave-D34fr9f_.js} +1 -1
- package/dist/client/assets/{use-debounced-value--LReIEFy.js → use-debounced-value-DxBLMeqg.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-OQXlP2AG.js → use-decopilot-events-Dk3_PQZu.js} +1 -1
- package/dist/client/assets/{use-delete-connection-D4TpwuJR.js → use-delete-connection-CkaRxWAn.js} +1 -1
- package/dist/client/assets/{use-file-configs-EVrNclQN.js → use-file-configs-Td4k8wTj.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-CGcVMh5N.js → use-infinite-scroll-1VhU5Q3H.js} +1 -1
- package/dist/client/assets/{use-join-requests-DLjSpEvk.js → use-join-requests-DoInaUWb.js} +1 -1
- package/dist/client/assets/{use-mcp-client-Cw-KQdjY.js → use-mcp-client-QTh-uqf4.js} +1 -1
- package/dist/client/assets/{use-mcp-prompts-DEcLTxCu.js → use-mcp-prompts-5W77PpYc.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-BWeF-o2W.js → use-mcp-tools-BTYjbm6L.js} +1 -1
- package/dist/client/assets/{use-members-B8OfJnCF.js → use-members-Cc48Xacn.js} +1 -1
- package/dist/client/assets/{use-mobile-4NErBPoD.js → use-mobile-Cqur1PpI.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-k1osJofZ.js → use-navigate-to-agent-CaUSC1CF.js} +1 -1
- package/dist/client/assets/{use-org-auth-client-CKi9OpAo.js → use-org-auth-client-C5lRdd5o.js} +1 -1
- package/dist/client/assets/{use-org-sso-2304w9oC.js → use-org-sso-DGL7haeQ.js} +1 -1
- package/dist/client/assets/{use-organization-roles-CARycmhE.js → use-organization-roles-UeKRVQhu.js} +1 -1
- package/dist/client/assets/{use-organization-settings-5ui-nRxh.js → use-organization-settings-CnPdR5CP.js} +1 -1
- package/dist/client/assets/{use-registry-connections-Bxjl5Lj_.js → use-registry-connections-HQM1hA3o.js} +1 -1
- package/dist/client/assets/{use-secrets-8J07E3fR.js → use-secrets-D-GN3cJh.js} +1 -1
- package/dist/client/assets/{use-status-sounds-iNOj7q7H.js → use-status-sounds-DEhedUWx.js} +1 -1
- package/dist/client/assets/{use-view-mode-B4Vk6db7.js → use-view-mode-BMlb6QOX.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-B-AR1TD8.js → use-virtual-mcp-n0IfHFn6.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-DEG0qlSd.js +1 -0
- package/dist/client/assets/useSuspenseInfiniteQuery-DzP8_asj.js +1 -0
- package/dist/client/assets/{useSuspenseQueries-uvbGhRAk.js → useSuspenseQueries-CI8oYgcQ.js} +1 -1
- package/dist/client/assets/variant-calendar-CIBbpgAR.js +1 -0
- package/dist/client/assets/{view-mode-toggle-BNwnnQw6.js → view-mode-toggle-D0e_xb-Q.js} +1 -1
- package/dist/client/index.html +2 -2
- package/dist/server/cli.js +456 -442
- package/dist/server/migrate.js +90 -90
- package/dist/server/server.js +170 -170
- package/package.json +1 -1
- package/dist/client/assets/Loading02-a6STvmGU.js +0 -1
- package/dist/client/assets/agent-icon-BcBxeMvp.js +0 -1
- package/dist/client/assets/app-editor-Dh7i3tDU.js +0 -1
- package/dist/client/assets/automation-runs-BodMFbin.js +0 -1
- package/dist/client/assets/bulk-category-panel-D7iwURo4.js +0 -1
- package/dist/client/assets/category-editor-Bj0CTMYS.js +0 -1
- package/dist/client/assets/commerce-onboarding-Cao_L-Ng.js +0 -1
- package/dist/client/assets/file-explorer-DSO0lPQW.js +0 -2
- package/dist/client/assets/index-CQjAk6qZ.js +0 -1
- package/dist/client/assets/index-DHIsTpg5.css +0 -1
- package/dist/client/assets/members-DD1QFtZt.js +0 -1
- package/dist/client/assets/page-seo-sheet-CwjWwa1t.js +0 -1
- package/dist/client/assets/post-editor-JbLYx6RR.js +0 -1
- package/dist/client/assets/project-app-view-Bj0jS6e7.js +0 -1
- package/dist/client/assets/record-editor-pQn6L-Pz.js +0 -1
- package/dist/client/assets/registry-WN0IM34L.js +0 -2
- package/dist/client/assets/roles-CqFcCBV9.js +0 -1
- package/dist/client/assets/seo-editor-xIQkOSof.js +0 -1
- package/dist/client/assets/store-registry-BS3Rr6_C.js +0 -2
- package/dist/client/assets/useInfiniteQuery-Bt6QE1yD.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-Dds483du.js +0 -1
- package/dist/client/assets/variant-calendar-B0s-BmZ7.js +0 -1
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{c as Z,r as u,j as r,i as se,B as he,dZ as Mt,a4 as Dt,aa as ie,d_ as Rt,d$ as Pt,e0 as Et,e1 as kt,bL as Tt,e2 as Ot,e3 as qe,a6 as At,e4 as Lt,e5 as Ft,e6 as It,e7 as $t,e8 as _t,e9 as zt,ea as Wt,eb as Gt,ec as Kt,l as ae,m as Bt,t as W,K as $e}from"./index-CRsyoh0P.js";import{F as Vt,l as Ut}from"./index-DhnegOZA.js";import{i as qt,aD as Qt,aE as Ht,aF as ue,aG as Xt,a0 as _e}from"./agent-icon-BcBxeMvp.js";import{b as Jt}from"./Tool01-BvpZAFbv.js";import{s as Yt}from"./XClose-Kd3JhRs6.js";import{S as Zt}from"./scroll-area-CYqq0nPW.js";import{T as ze,a as We,b as Ge}from"./tooltip-UK4TH3io.js";import{f as en,a as tn,b as nn,c as rn,d as on,e as sn,A as an,g as ln}from"./alert-dialog-B0Bw-oIS.js";import{u as cn}from"./chat-context-D7GP06Zt.js";import{b as dn}from"./shell-layout-CEHTO6uu.js";import{s as fe,a as Ke,f as un}from"./index-YdFZmyaZ.js";import{a as fn,b as mn,c as pn,D as xn,d as hn,e as gn}from"./dialog-BK7FdLgQ.js";import{I as Be}from"./input-CnXP5aMo.js";import{t as vn}from"./ChevronDown-C-LFsTot.js";import{i as yn}from"./ChevronRight-CMRG2Mrw.js";import{a as Cn}from"./ZoomOut-BN8enLeN.js";import{E as wn,v as Ve,w as Ce,x as bn,y as jn,z as Nn,A as V,C as me,g as we,D as be,G as Sn,I as Mn,J as je,K as pe,M as Ne,N as Dn,O as Rn}from"./index-l6GBFngc.js";import"./AlertCircle-Ix48cuhr.js";import"./SwitchHorizontal01-cutLTNbW.js";import"./Settings02-Do4Jg01P.js";import"./XCircle-B0LLGt09.js";import"./ArrowUpRight-CXbhOFnS.js";import"./ZapSquare-B8w8Kigu.js";import"./Users03-DdN_R_96.js";import"./CheckCircle-D-y1jrnz.js";import"./Check-KOuUgZpl.js";import"./ChevronUp-Do62lvyJ.js";import"./Circle-DvpNcVfO.js";import"./Stars02-XQxaeqbQ.js";import"./Loading02-a6STvmGU.js";import"./Copy01-BUiSHYCq.js";import"./DotsVertical-Dt_Mft5K.js";import"./Globe01-CLEqh0jN.js";import"./Eye-jR9Zg5z5.js";import"./FilterLines-BwYarGOr.js";import"./Star01-vopgIfvF.js";import"./Globe04-BbxCUGSa.js";import"./HardDrive-C2xD3Bmj.js";import"./Key01-D4W6oMPT.js";import"./LayoutLeft-DHIL03--.js";import"./LinkExternal01-92HTSmz9.js";import"./List-Dl4LEOwl.js";import"./Monitor01-BWtutl7x.js";import"./Sun-B7ftuIIX.js";import"./Palette-BGy6oXoM.js";import"./Play-BblOVQrg.js";import"./Plus-DfCkUDAU.js";import"./SearchLg-DNeOVX02.js";import"./SearchMd-DcUy3tZG.js";import"./Shield01-C6KAwjuJ.js";import"./Stars01-5YrKBfZE.js";import"./Trash01-CMKdBCcn.js";import"./Upload01-qruYHtRZ.js";import"./User01-BQzTGoKV.js";import"./Users01-BGJnrzuD.js";import"./X-5_6S4cTa.js";import"./Zap-WWmt76Cj.js";import"./format-time-Cy7tTmZp.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-v85ZDhBk.js";import"./file-type-icon-DIDUV08q.js";import"./use-mobile-4NErBPoD.js";import"./tab-id-Bgchl1bv.js";import"./content-blocks-o63cs2vh.js";import"./types-DKCRVv18.js";import"./use-mcp-client-Cw-KQdjY.js";import"./constants-nH3qQ_1f.js";import"./auth-DN4c5q1R.js";import"./hooks-DqvpUbqo.js";import"./decopilot-sse-pool-C9B6d0V3.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./studio-tools-0oP05Vmo.js";import"./use-clock-tick-CVEnk_fR.js";import"./sheet-DiKbGOCj.js";import"./integration-icon-CUX4W9Hv.js";import"./use-virtual-mcp-B-AR1TD8.js";import"./use-collections-DK_l6F0N.js";import"./use-navigate-to-agent-k1osJofZ.js";import"./use-connection-B7bWiRqI.js";import"./use-mcp-prompts-DEcLTxCu.js";import"./form-BOG3rRkz.js";import"./label-DhJnRZgA.js";import"./select-izZ6sucn.js";import"./use-ai-providers-CaRQPTIl.js";import"./use-decopilot-events-OQXlP2AG.js";import"./use-organization-settings-5ui-nRxh.js";import"./avatar-HaXLmirn.js";import"./required-auth-layout-D9x1NXiE.js";import"./use-org-sso-2304w9oC.js";import"./library-tab-CvVa-OqV.js";import"./drawer-BOKmZjhb.js";import"./collection-search-CzAS7CiD.js";import"./tabs-CXI9rQJI.js";import"./toggle-group-ChDolbV_.js";import"./agent-capabilities-CbZdf8yp.js";import"./connection-slug-eyAPH6o3.js";import"./connection-card-BmXpylIP.js";import"./use-registry-connections-Bxjl5Lj_.js";import"./useInfiniteQuery-Bt6QE1yD.js";import"./use-infinite-scroll-CGcVMh5N.js";import"./extract-connection-data-BTJ9Fhn2.js";import"./card-5aKPBj7H.js";import"./collection-tabs-bZbxe_7m.js";import"./badge-CqRObYKH.js";import"./textarea-CjEBrlku.js";import"./connection-form-helpers-i8kc8g_h.js";import"./authenticate-and-persist-oauth-DdKvrQEr.js";import"./mcp-oauth-nWdzDozN.js";import"./useSuspenseInfiniteQuery-Dds483du.js";import"./connect-desktop-dialog-DKL_vE45.js";import"./decopilot-DVVdoab1.js";import"./checkbox-DEYwFl8k.js";import"./skeleton-Iq-zR2Ew.js";import"./ai-providers-logos-DD3qZ33J.js";import"./settings-section-BMwcZuRK.js";import"./popover-CfzedSO-.js";import"./command-Dkfm4s2k.js";import"./index-BHw_x3xk.js";import"./dropdown-menu-BXvp7Poa.js";import"./question-004-sINsf4GQ.js";import"./task-row-CCSwtZau.js";import"./task-status-BcVBGHoc.js";import"./use-status-sounds-iNOj7q7H.js";import"./empty-state-BWk4kN3I.js";import"./toolbar-COQJG38H.js";import"./use-mcp-tools-BWeF-o2W.js";import"./use-capability-DhsEVexh.js";import"./tools-list-CRIV7Qot.js";import"./switch-CHXTZ9dZ.js";import"./use-debounced-autosave-BRe10INx.js";import"./index-mmZ00Fht.js";import"./sidebar-CV5tOntB.js";import"./search-input-r5iP5iuB.js";import"./github-repo-picker-H6UyRgqq.js";import"./use-debounced-value--LReIEFy.js";import"./github-installations-DzN1UQ4x.js";import"./use-secrets-8J07E3fR.js";import"./formatDistanceToNow-Cb2QZZJn.js";import"./toolbar-icon-button-BoklVZLA.js";import"./automation-runs-BodMFbin.js";import"./table-Ded64YC3.js";import"./use-members-B8OfJnCF.js";import"./use-org-auth-client-CKi9OpAo.js";import"./use-automations-CSpNEw7t.js";import"./use-file-configs-EVrNclQN.js";import"./monaco-editor-BpQyL38Q.js";import"./select-model-DX9C2tgo.js";import"./automation-list-row-BOIXVMIT.js";const Pn={"new-file":{title:"New File",description:"Enter a name for the new file.",submit:"Create",placeholder:"filename.ts"},"new-folder":{title:"New Folder",description:"Enter a name for the new folder.",submit:"Create",placeholder:"folder-name"},rename:{title:"Rename",description:"Enter a new name for this item.",submit:"Rename",placeholder:"new-name"}};function En(s){const e=Z.c(51),{open:i,mode:a,initialName:c,parentLabel:m,isPending:x,onSubmit:p,onOpenChange:g}=s,M=c===void 0?"":c,d=x===void 0?!1:x,[h,y]=u.useState(M),[B,U]=u.useState(i),C=Pn[a];i!==B&&(U(i),i&&y(M));let I;e[0]!==d||e[1]!==g?(I=_=>{!_&&!d&&g(!1)},e[0]=d,e[1]=g,e[2]=I):I=e[2];const H=I;let q;e[3]!==d||e[4]!==h||e[5]!==p?(q=async _=>{_.preventDefault();const K=h.trim();!K||d||await p(K)},e[3]=d,e[4]=h,e[5]=p,e[6]=q):q=e[6];const Q=q;let $;e[7]!==C.title?($=r.jsx(fn,{children:C.title}),e[7]=C.title,e[8]=$):$=e[8];let T;e[9]!==C.description?(T=r.jsx(mn,{children:C.description}),e[9]=C.description,e[10]=T):T=e[10];let G;e[11]!==$||e[12]!==T?(G=r.jsxs(pn,{children:[$,T]}),e[11]=$,e[12]=T,e[13]=G):G=e[13];let O;e[14]!==m?(O=m&&r.jsxs("div",{className:"space-y-1.5",children:[r.jsx("span",{className:"text-xs font-medium text-muted-foreground",children:"Location"}),r.jsx(Be,{value:m,readOnly:!0,disabled:!0,className:"font-mono text-xs"})]}),e[14]=m,e[15]=O):O=e[15];let A;e[16]===Symbol.for("react.memo_cache_sentinel")?(A=r.jsx("label",{htmlFor:"file-explorer-name",className:"text-xs font-medium text-muted-foreground",children:"Name"}),e[16]=A):A=e[16];let R;e[17]===Symbol.for("react.memo_cache_sentinel")?(R=_=>y(_.target.value),e[17]=R):R=e[17];let P;e[18]!==C.placeholder||e[19]!==d||e[20]!==h?(P=r.jsxs("div",{className:"space-y-1.5",children:[A,r.jsx(Be,{id:"file-explorer-name",value:h,onChange:R,placeholder:C.placeholder,autoFocus:!0,disabled:d})]}),e[18]=C.placeholder,e[19]=d,e[20]=h,e[21]=P):P=e[21];let j;e[22]!==P||e[23]!==O?(j=r.jsxs("div",{className:"space-y-4 py-4",children:[O,P]}),e[22]=P,e[23]=O,e[24]=j):j=e[24];let N;e[25]!==g?(N=()=>g(!1),e[25]=g,e[26]=N):N=e[26];let E;e[27]!==d||e[28]!==N?(E=r.jsx(he,{type:"button",variant:"outline",onClick:N,disabled:d,children:"Cancel"}),e[27]=d,e[28]=N,e[29]=E):E=e[29];let k;e[30]!==d||e[31]!==h?(k=!h.trim()||d,e[30]=d,e[31]=h,e[32]=k):k=e[32];let w;e[33]!==C.submit||e[34]!==d?(w=d?r.jsxs(r.Fragment,{children:[r.jsx(se,{size:14,className:"animate-spin"}),"Saving…"]}):C.submit,e[33]=C.submit,e[34]=d,e[35]=w):w=e[35];let L;e[36]!==k||e[37]!==w?(L=r.jsx(he,{type:"submit",disabled:k,children:w}),e[36]=k,e[37]=w,e[38]=L):L=e[38];let b;e[39]!==E||e[40]!==L?(b=r.jsxs(xn,{children:[E,L]}),e[39]=E,e[40]=L,e[41]=b):b=e[41];let S;e[42]!==Q||e[43]!==j||e[44]!==b||e[45]!==G?(S=r.jsx(hn,{className:"sm:max-w-md",children:r.jsxs("form",{onSubmit:Q,children:[G,j,b]})}),e[42]=Q,e[43]=j,e[44]=b,e[45]=G,e[46]=S):S=e[46];let z;return e[47]!==H||e[48]!==i||e[49]!==S?(z=r.jsx(gn,{open:i,onOpenChange:H,children:S}),e[47]=H,e[48]=i,e[49]=S,e[50]=z):z=e[50],z}var Me="ContextMenu",[kn]=At(Me,[qe]),F=qe(),[Tn,Qe]=kn(Me),He=s=>{const{__scopeContextMenu:e,children:i,onOpenChange:a,dir:c,modal:m=!0}=s,[x,p]=u.useState(!1),g=F(e),M=Tt(a),d=u.useCallback(h=>{p(h),M(h)},[M]);return r.jsx(Tn,{scope:e,open:x,onOpenChange:d,modal:m,children:r.jsx(Ot,{...g,dir:c,open:x,onOpenChange:d,modal:m,children:i})})};He.displayName=Me;var Xe="ContextMenuTrigger",Je=u.forwardRef((s,e)=>{const{__scopeContextMenu:i,disabled:a=!1,...c}=s,m=Qe(Xe,i),x=F(i),p=u.useRef({x:0,y:0}),g=u.useRef({getBoundingClientRect:()=>DOMRect.fromRect({width:0,height:0,...p.current})}),M=u.useRef(0),d=u.useCallback(()=>window.clearTimeout(M.current),[]),h=y=>{p.current={x:y.clientX,y:y.clientY},m.onOpenChange(!0)};return u.useEffect(()=>d,[d]),u.useEffect(()=>{a&&d()},[a,d]),r.jsxs(r.Fragment,{children:[r.jsx(Mt,{...x,virtualRef:g}),r.jsx(Dt.span,{"data-state":m.open?"open":"closed","data-disabled":a?"":void 0,...c,ref:e,style:{WebkitTouchCallout:"none",...s.style},onContextMenu:a?s.onContextMenu:ie(s.onContextMenu,y=>{d(),h(y),y.preventDefault()}),onPointerDown:a?s.onPointerDown:ie(s.onPointerDown,xe(y=>{d(),M.current=window.setTimeout(()=>h(y),700)})),onPointerMove:a?s.onPointerMove:ie(s.onPointerMove,xe(d)),onPointerCancel:a?s.onPointerCancel:ie(s.onPointerCancel,xe(d)),onPointerUp:a?s.onPointerUp:ie(s.onPointerUp,xe(d))})]})});Je.displayName=Xe;var On="ContextMenuPortal",Ye=s=>{const{__scopeContextMenu:e,...i}=s,a=F(e);return r.jsx(Et,{...a,...i})};Ye.displayName=On;var Ze="ContextMenuContent",et=u.forwardRef((s,e)=>{const{__scopeContextMenu:i,...a}=s,c=Qe(Ze,i),m=F(i),x=u.useRef(!1);return r.jsx(kt,{...m,...a,ref:e,side:"right",sideOffset:2,align:"start",onCloseAutoFocus:p=>{s.onCloseAutoFocus?.(p),!p.defaultPrevented&&x.current&&p.preventDefault(),x.current=!1},onInteractOutside:p=>{s.onInteractOutside?.(p),!p.defaultPrevented&&!c.modal&&(x.current=!0)},style:{...s.style,"--radix-context-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-context-menu-content-available-width":"var(--radix-popper-available-width)","--radix-context-menu-content-available-height":"var(--radix-popper-available-height)","--radix-context-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-context-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});et.displayName=Ze;var An="ContextMenuGroup",Ln=u.forwardRef((s,e)=>{const{__scopeContextMenu:i,...a}=s,c=F(i);return r.jsx(Lt,{...c,...a,ref:e})});Ln.displayName=An;var Fn="ContextMenuLabel",In=u.forwardRef((s,e)=>{const{__scopeContextMenu:i,...a}=s,c=F(i);return r.jsx(Ft,{...c,...a,ref:e})});In.displayName=Fn;var $n="ContextMenuItem",tt=u.forwardRef((s,e)=>{const{__scopeContextMenu:i,...a}=s,c=F(i);return r.jsx(Rt,{...c,...a,ref:e})});tt.displayName=$n;var _n="ContextMenuCheckboxItem",zn=u.forwardRef((s,e)=>{const{__scopeContextMenu:i,...a}=s,c=F(i);return r.jsx(It,{...c,...a,ref:e})});zn.displayName=_n;var Wn="ContextMenuRadioGroup",Gn=u.forwardRef((s,e)=>{const{__scopeContextMenu:i,...a}=s,c=F(i);return r.jsx($t,{...c,...a,ref:e})});Gn.displayName=Wn;var Kn="ContextMenuRadioItem",Bn=u.forwardRef((s,e)=>{const{__scopeContextMenu:i,...a}=s,c=F(i);return r.jsx(_t,{...c,...a,ref:e})});Bn.displayName=Kn;var Vn="ContextMenuItemIndicator",Un=u.forwardRef((s,e)=>{const{__scopeContextMenu:i,...a}=s,c=F(i);return r.jsx(zt,{...c,...a,ref:e})});Un.displayName=Vn;var qn="ContextMenuSeparator",nt=u.forwardRef((s,e)=>{const{__scopeContextMenu:i,...a}=s,c=F(i);return r.jsx(Pt,{...c,...a,ref:e})});nt.displayName=qn;var Qn="ContextMenuArrow",Hn=u.forwardRef((s,e)=>{const{__scopeContextMenu:i,...a}=s,c=F(i);return r.jsx(Wt,{...c,...a,ref:e})});Hn.displayName=Qn;var Xn="ContextMenuSubTrigger",Jn=u.forwardRef((s,e)=>{const{__scopeContextMenu:i,...a}=s,c=F(i);return r.jsx(Gt,{...c,...a,ref:e})});Jn.displayName=Xn;var Yn="ContextMenuSubContent",Zn=u.forwardRef((s,e)=>{const{__scopeContextMenu:i,...a}=s,c=F(i);return r.jsx(Kt,{...c,...a,ref:e,style:{...s.style,"--radix-context-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-context-menu-content-available-width":"var(--radix-popper-available-width)","--radix-context-menu-content-available-height":"var(--radix-popper-available-height)","--radix-context-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-context-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});Zn.displayName=Yn;function xe(s){return e=>e.pointerType!=="mouse"?s(e):void 0}var er=He,tr=Je,nr=Ye,rr=et,or=tt,ir=nt;function sr(s){const e=Z.c(4);let i;e[0]!==s?({...i}=s,e[0]=s,e[1]=i):i=e[1];let a;return e[2]!==i?(a=r.jsx(er,{"data-slot":"context-menu",...i}),e[2]=i,e[3]=a):a=e[3],a}function ar(s){const e=Z.c(4);let i;e[0]!==s?({...i}=s,e[0]=s,e[1]=i):i=e[1];let a;return e[2]!==i?(a=r.jsx(tr,{"data-slot":"context-menu-trigger",...i}),e[2]=i,e[3]=a):a=e[3],a}function lr(s){const e=Z.c(8);let i,a;e[0]!==s?({className:i,...a}=s,e[0]=s,e[1]=i,e[2]=a):(i=e[1],a=e[2]);let c;e[3]!==i?(c=ae("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-context-menu-content-available-height) min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",i),e[3]=i,e[4]=c):c=e[4];let m;return e[5]!==a||e[6]!==c?(m=r.jsx(nr,{children:r.jsx(rr,{"data-slot":"context-menu-content",className:c,...a})}),e[5]=a,e[6]=c,e[7]=m):m=e[7],m}function te(s){const e=Z.c(12);let i,a,c,m;e[0]!==s?({className:i,inset:a,variant:m,...c}=s,e[0]=s,e[1]=i,e[2]=a,e[3]=c,e[4]=m):(i=e[1],a=e[2],c=e[3],m=e[4]);const x=m===void 0?"default":m;let p;e[5]!==i?(p=ae("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_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]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",i),e[5]=i,e[6]=p):p=e[6];let g;return e[7]!==a||e[8]!==c||e[9]!==p||e[10]!==x?(g=r.jsx(or,{"data-slot":"context-menu-item","data-inset":a,"data-variant":x,className:p,...c}),e[7]=a,e[8]=c,e[9]=p,e[10]=x,e[11]=g):g=e[11],g}function Ue(s){const e=Z.c(8);let i,a;e[0]!==s?({className:i,...a}=s,e[0]=s,e[1]=i,e[2]=a):(i=e[1],a=e[2]);let c;e[3]!==i?(c=ae("bg-border -mx-1 my-1 h-px",i),e[3]=i,e[4]=c):c=e[4];let m;return e[5]!==a||e[6]!==c?(m=r.jsx(ir,{"data-slot":"context-menu-separator",className:c,...a}),e[5]=a,e[6]=c,e[7]=m):m=e[7],m}const cr="#d9a441";function dr(s){const e=Z.c(45),{node:i,depth:a,isExpanded:c,isSelected:m,isLoading:x,fileVisual:p,onOpen:g,onSelect:M,onNewFile:d,onNewFolder:h,onCopyPath:y,onCopyRelativePath:B,onRename:U,onDelete:C}=s,I=x===void 0?!1:x,H=i.kind==="directory",{Icon:q,color:Q}=p,$=m&&"bg-accent";let T;e[0]!==$?(T=ae("flex w-full items-center gap-1.5 px-2 py-1.5 text-left text-[13px] hover:bg-accent transition-colors",$),e[0]=$,e[1]=T):T=e[1];const G=`${a*14+8}px`;let O;e[2]!==G?(O={paddingLeft:G},e[2]=G,e[3]=O):O=e[3];let A;e[4]!==g||e[5]!==M?(A=()=>{M(),g()},e[4]=g,e[5]=M,e[6]=A):A=e[6];let R;e[7]!==q||e[8]!==Q||e[9]!==H||e[10]!==c||e[11]!==I?(R=H?r.jsxs(r.Fragment,{children:[I?r.jsx(se,{size:14,className:"shrink-0 animate-spin text-muted-foreground"}):c?r.jsx(vn,{size:14,className:"shrink-0 text-muted-foreground"}):r.jsx(yn,{size:14,className:"shrink-0 text-muted-foreground"}),r.jsx(Cn,{size:16,className:"shrink-0",style:{color:cr}})]}):r.jsxs(r.Fragment,{children:[r.jsx("span",{className:"w-3.5 shrink-0"}),r.jsx(q,{size:16,className:"shrink-0",style:{color:Q}})]}),e[7]=q,e[8]=Q,e[9]=H,e[10]=c,e[11]=I,e[12]=R):R=e[12];let P;e[13]!==i.name?(P=r.jsx("span",{className:"truncate",children:i.name}),e[13]=i.name,e[14]=P):P=e[14];let j;e[15]!==T||e[16]!==O||e[17]!==A||e[18]!==R||e[19]!==P?(j=r.jsx(ar,{asChild:!0,children:r.jsxs("button",{type:"button",className:T,style:O,onClick:A,children:[R,P]})}),e[15]=T,e[16]=O,e[17]=A,e[18]=R,e[19]=P,e[20]=j):j=e[20];let N;e[21]!==d?(N=r.jsx(te,{onSelect:d,children:"New File"}),e[21]=d,e[22]=N):N=e[22];let E;e[23]!==h?(E=r.jsx(te,{onSelect:h,children:"New Folder"}),e[23]=h,e[24]=E):E=e[24];let k;e[25]===Symbol.for("react.memo_cache_sentinel")?(k=r.jsx(Ue,{}),e[25]=k):k=e[25];let w;e[26]!==y?(w=r.jsx(te,{onSelect:y,children:"Copy Path"}),e[26]=y,e[27]=w):w=e[27];let L;e[28]!==B?(L=r.jsx(te,{onSelect:B,children:"Copy Relative Path"}),e[28]=B,e[29]=L):L=e[29];let b;e[30]===Symbol.for("react.memo_cache_sentinel")?(b=r.jsx(Ue,{}),e[30]=b):b=e[30];let S;e[31]!==U?(S=r.jsx(te,{onSelect:U,children:"Rename"}),e[31]=U,e[32]=S):S=e[32];let z;e[33]!==C?(z=r.jsx(te,{variant:"destructive",onSelect:C,children:"Delete"}),e[33]=C,e[34]=z):z=e[34];let _;e[35]!==N||e[36]!==E||e[37]!==w||e[38]!==L||e[39]!==S||e[40]!==z?(_=r.jsxs(lr,{className:"w-52",children:[N,E,k,w,L,b,S,z]}),e[35]=N,e[36]=E,e[37]=w,e[38]=L,e[39]=S,e[40]=z,e[41]=_):_=e[41];let K;return e[42]!==_||e[43]!==j?(K=r.jsxs(sr,{children:[j,_]}),e[42]=_,e[43]=j,e[44]=K):K=e[44],K}Ut.config({paths:{vs:"https://cdn.jsdelivr.net/npm/monaco-editor@0.52.0/min/vs"}});function Se(s,e,i,a){return`/api/${s}/sandbox/${encodeURIComponent(e)}/${encodeURIComponent(i)}/${a}`}function ur(s){const e=V(s);return!e||e.includes("..")||e.includes("\\")?!1:e.startsWith(".deco/blocks/")||!e.startsWith("/")&&!e.includes("://")}const fr="#94a3b8";function mr(s){const e=s.toLowerCase();return e.endsWith(".tsx")||e.endsWith(".ts")?{Icon:ue,color:"#3b82f6"}:e.endsWith(".jsx")||e.endsWith(".js")||e.endsWith(".mjs")||e.endsWith(".cjs")?{Icon:ue,color:"#d9a441"}:e.endsWith(".json")?{Icon:Xt,color:"#cb9b3f"}:e.endsWith(".css")||e.endsWith(".scss")?{Icon:ue,color:"#06b6d4"}:e.endsWith(".html")||e.endsWith(".xml")?{Icon:ue,color:"#f97316"}:/\.(png|jpe?g|gif|webp|avif|ico|svg)$/.test(e)?{Icon:Jt,color:"#a855f7"}:e.endsWith(".md")||e.endsWith(".mdx")?{Icon:_e,color:"#64748b"}:{Icon:_e,color:fr}}function ns({orgSlug:s,virtualMcpId:e,branch:i,openPath:a}){const[c,m]=u.useState({files:[],directories:[],truncated:!1}),{files:x,directories:p}=c,[g,M]=u.useState(new Set),[d,h]=u.useState(null),[y,B]=u.useState(null),[U,C]=u.useState([]),[I,H]=u.useState(""),[q,Q]=u.useState(!1),[$,T]=u.useState(!1),[,G]=u.useState(new Set),[O,A]=u.useState(new Set),R=u.useRef(0),P=u.useRef(null),j=u.useRef(new Set),N=u.useRef(new Map);function E(t){G(n=>{const o=typeof t=="function"?t(n):t;return j.current=o,o})}const[k,w]=u.useState(new Map),L=u.useRef(null),[b,S]=u.useState(null),{sendMessage:z}=cn(),{setChatOpen:_}=dn(),K=Bt(),[D,X]=u.useState(null),[J,ge]=u.useState(null),[ne,le]=u.useState(!1);async function re(t,n){const o=await fetch(Se(s,e,i,t),{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(n)});if(!o.ok){const l=await o.json().catch(()=>({}));throw new Error(l.error??`Request failed (${o.status})`)}return o.json()}async function ce(){K.invalidateQueries({queryKey:Ke(s,e,i)})}function De(t,n){navigator.clipboard.writeText(n).then(()=>W.success(`${t} copied`),()=>W.error(`Failed to copy ${t.toLowerCase()}`))}function rt(t){const n=Dn(t);if(!n)return;const o=`${s}/${e}/${i}`;K.setQueryData($e.decofile(o),l=>{if(!l)return l;const{[n]:f,...v}=l;return v}),K.invalidateQueries({queryKey:$e.liveMeta(o)})}function ot(t){const n=t.kind==="file"?[t.path]:x.filter(o=>o.startsWith(".deco/blocks/")).map(o=>me(o)).filter(o=>o===t.path||o.startsWith(`${t.path}/`));for(const o of n)rt(o)}function it(t){const n=me(t);return U.filter(o=>{if(o!==n&&!o.startsWith(`${n}/`))return!1;const l=k.get(o);return!!(l?.loaded&&l.editorValue!==l.savedContent)})}function Re(t){C(n=>n.map(o=>t(o)).filter(o=>o!==null)),h(n=>n&&t(n)),w(n=>{const o=new Map;for(const[l,f]of n){const v=t(l);v&&o.set(v,f)}return o}),B(n=>{if(!n)return n;const o=t(n.path);return o?o===n.path?n:{...n,path:o,name:o.split("/").pop()??o}:null})}function st(t){const n=me(t);B(o=>o&&(o.path===n||o.path.startsWith(`${n}/`)?null:o)),Re(o=>o===n||o.startsWith(`${n}/`)?null:o)}async function at(t){if(!D)return;const n=pe(D.parentDir,t);if(Ne(n,x,p))throw new Error(`"${t}" already exists`);await re("write",{path:V(n),content:""}),await oe(),await ce(),X(null),ve(n)}async function lt(t){if(!D)return;const n=pe(D.parentDir,t);if(Ne(n,x,p))throw new Error(`"${t}" already exists`);const o=V(n);await re("mkdir",{path:o}),m(l=>({...l,directories:l.directories.includes(o)?l.directories:[...l.directories,o]})),await oe(),await ce(),X(null),M(l=>{const f=new Set(l);for(const v of Ce(n))f.add(v);return f.add(n),f}),B({name:t,path:n,kind:"directory",children:[]})}async function ct(t){if(!D)return;const n=D.node.path,o=je(n),l=pe(o,t);if(l===n){X(null);return}if(Ne(l,x,p))throw new Error(`"${t}" already exists`);await re("rename",{from:V(n),to:V(l)}),Re(f=>f===n?l:f.startsWith(`${n}/`)?pe(l,f.slice(n.length+1)):f),await oe(),await ce(),X(null)}async function dt(t){le(!0);try{await re("unlink",{path:V(t.path),recursive:t.kind==="directory"}),ot(t),st(t.path),await oe(),await ce(),ge(null),W.success(`Deleted "${t.name}"`)}catch(n){W.error(n instanceof Error?n.message:"Delete failed")}finally{le(!1)}}async function ut(t){const n=Mn(t);if(n){W.error(n);return}le(!0);try{D?.mode==="new-file"?(await at(t),W.success(`Created "${t}"`)):D?.mode==="new-folder"?(await lt(t),W.success(`Created folder "${t}"`)):D?.mode==="rename"&&(await ct(t),W.success(`Renamed to "${t}"`))}catch(o){W.error(o instanceof Error?o.message:"Operation failed")}finally{le(!1)}}const Pe=u.useRef(!1);Pe.current||(Pe.current=!0,P.current=oe());const[ft,mt]=u.useState(null);if(a&&a!==ft){mt(a);const t=a;queueMicrotask(()=>{ur(t)&&ve(t).catch(n=>{W.error(n instanceof Error?n.message:"Failed to open file")})})}async function Ee(t){const n=await re("glob",t);return{files:n.files??[],directories:n.directories??[],truncated:n.truncated}}function ke(t,n,o){if(o!==R.current)return!1;let l=!1;return m(f=>{const v=n?Rn(f.files,f.directories,t,f.truncated):{files:t.files,directories:t.directories??[],truncated:!!t.truncated};return l=!!v.truncated,{files:v.files,directories:v.directories,truncated:l}}),l&&W.warning("File list truncated — some files may be hidden"),l}async function pt(t){const n=N.current.get(t);if(n)return n;const o=R.current,l=(async()=>{const f=await Ee({pattern:"**/*",path:V(t),limit:Ve}),v=ke(f,!0,o);return!v&&o===R.current&&E(Y=>{const de=new Set(Y);return de.add(t),de}),v})();N.current.set(t,l);try{return await l}finally{N.current.delete(t)}}async function Te(t){if(!be(t,j.current))return!1;A(n=>new Set(n).add(t));try{return await pt(t)}finally{A(n=>{const o=new Set(n);return o.delete(t),o})}}async function xt(t){const n=new Set(j.current);for(const o of Ce(t)){if(!be(o,n))continue;if(await Te(o))throw new Error("Folder listing truncated — expand again to load more");n.add(o)}}async function oe(){const t=++R.current;N.current.clear(),Q(!0),E(new Set),M(new Set),A(new Set);try{const n=await Ee({pattern:"**/*",limit:Ve,maxDepth:wn});ke(n,!1,t),T(!0)}catch{$&&W.error("Failed to refresh file tree")}finally{Q(!1)}}async function Oe(t){if(!k.get(t)?.loaded){w(o=>{const l=new Map(o);return l.set(t,{savedContent:"",editorValue:"",loaded:!1}),l});try{const o=await fetch(Se(s,e,i,"read"),{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({path:V(t),full:!0})});if(!o.ok)return;const l=await o.json(),f=Sn(l.content??"");w(v=>{const Y=new Map(v);return Y.set(t,{savedContent:f,editorValue:f,loaded:!0}),Y})}catch{}}}async function ht(t,n){try{const o=await fetch(Se(s,e,i,"write"),{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({path:V(t),content:n})});if(!o.ok){fe("file save failed",{path:t,status:o.status});return}fe("file saved via sandbox /write",{path:t}),K.invalidateQueries({queryKey:Ke(s,e,i)});try{const l=await un(s,e,i);fe("git status after save",l)}catch(l){fe("git status after save failed",{path:t,error:l instanceof Error?l.message:String(l)})}w(l=>{const f=new Map(l),v=f.get(t);return v&&f.set(t,{...v,savedContent:n}),f})}catch{}}function gt(t){h(t),B({name:t.split("/").pop()??t,path:t,kind:"file",children:[]}),S(null),U.includes(t)||C(n=>[...n,t]),Oe(t)}function vt(t){C(n=>{const o=n.filter(l=>l!==t);return d===t&&h(o[o.length-1]??null),o}),w(n=>{const o=new Map(n);return o.delete(t),o})}function Ae(t){M(n=>{const o=new Set(n);return o.has(t)?o.delete(t):o.add(t),o})}async function yt(t){if(be(t,j.current))try{if(await Te(t))return}catch(n){W.error(n instanceof Error?n.message:"Failed to load folder");return}Ae(t)}async function Ct(t,n){if(n){Ae(t);return}await yt(t)}async function ve(t){await P.current,await xt(t);const n=Ce(t);M(o=>{const l=new Set(o);for(const f of n)l.add(f);return l}),gt(t)}function wt(){return y?.kind==="directory"?y.path:y?.kind==="file"?je(y.path):d?je(d):"/"}function Le(t){const n=wt();X({mode:t,parentDir:n,node:{name:"",path:n,kind:"directory",children:[]}})}const bt=bn(x,p),Fe=jn(bt,g),Ie=I?Fe.filter(t=>t.node.name.toLowerCase().includes(I.toLowerCase())):Fe,ee=d?k.get(d):null,jt=ee?.loaded&&ee.editorValue!==ee.savedContent,ye=J?it(J.path):[],Nt=(t,n)=>{L.current=t,t.addCommand(n.KeyMod.CtrlCmd|n.KeyCode.KeyS,async()=>{if(!d)return;const o=t.getValue();await ht(d,o)}),t.addCommand(n.KeyMod.CtrlCmd|n.KeyCode.KeyK,()=>{const o=t.getSelection(),l=t.getModel();if(!o||!l||!d)return;const f=l.getValueInRange(o);S({filePath:d,lineStart:o.startLineNumber,lineEnd:o.endLineNumber,selectedCode:f})})};function St(t){if(!b)return;const n=[`The user selected code in the file explorer and asked: **"${t.trim()}"**`,"",`**File:** \`${b.filePath}\``,`**Lines:** ${b.lineStart}–${b.lineEnd}`];if(b.selectedCode){const o=we(b.filePath),l=b.selectedCode.replace(/```/g,"`` `");n.push("","**Selected code:**","```"+o,l,"```")}n.push("","Please read the source file, locate the code, and apply the requested change."),_(!0),z({parts:[{type:"text",text:n.join(`
|
|
2
|
-
`)}]}),S(null)}return q&&!$?r.jsx("div",{className:"flex items-center justify-center h-full w-full",children:r.jsx(se,{size:20,className:"animate-spin text-muted-foreground"})}):r.jsxs("div",{className:"flex h-full w-full overflow-hidden",children:[r.jsxs("div",{className:"w-64 shrink-0 border-r flex flex-col overflow-hidden",children:[r.jsxs("div",{className:"flex items-center gap-1 p-2 border-b",children:[r.jsxs("div",{className:"relative min-w-0 flex-1",children:[r.jsx(qt,{size:14,className:"absolute left-2 top-1/2 -translate-y-1/2 text-muted-foreground"}),r.jsx("input",{type:"text",value:I,onChange:t=>H(t.target.value),placeholder:"Search files...","aria-label":"Search files",className:"w-full rounded-md border border-input bg-transparent pl-7 pr-2 py-1.5 text-xs outline-none placeholder:text-muted-foreground focus:ring-1 focus:ring-ring"})]}),r.jsxs(ze,{children:[r.jsx(We,{asChild:!0,children:r.jsx(he,{type:"button",variant:"ghost",size:"icon",className:"size-7 shrink-0","aria-label":"New file",onClick:()=>Le("new-file"),children:r.jsx(Qt,{size:14})})}),r.jsx(Ge,{side:"bottom",children:"New file"})]}),r.jsxs(ze,{children:[r.jsx(We,{asChild:!0,children:r.jsx(he,{type:"button",variant:"ghost",size:"icon",className:"size-7 shrink-0","aria-label":"New folder",onClick:()=>Le("new-folder"),children:r.jsx(Ht,{size:14})})}),r.jsx(Ge,{side:"bottom",children:"New folder"})]})]}),r.jsx(Zt,{className:"flex-1",children:r.jsxs("div",{className:"py-1",children:[Ie.map(t=>{const{node:n,depth:o}=t,l=n.kind==="directory",f=g.has(n.path),v=y?.path===n.path,Y=Nn(n.path,n.kind),de=l&&O.has(n.path);return r.jsx(dr,{node:n,depth:o,isExpanded:f,isSelected:v,isLoading:de,fileVisual:mr(n.name),onSelect:()=>B(n),onOpen:()=>{l?Ct(n.path,f):ve(n.path)},onNewFile:()=>X({mode:"new-file",node:n,parentDir:Y}),onNewFolder:()=>X({mode:"new-folder",node:n,parentDir:Y}),onCopyPath:()=>De("Path",me(n.path)),onCopyRelativePath:()=>De("Relative path",V(n.path)),onRename:()=>X({mode:"rename",node:n,parentDir:Y}),onDelete:()=>ge(n)},n.path)}),$&&Ie.length===0&&r.jsx("div",{className:"px-3 py-4 text-center text-xs text-muted-foreground",children:I?`No files match "${I}"`:"No files found"})]})})]}),r.jsxs("div",{className:"relative flex-1 flex flex-col overflow-hidden",children:[U.length>0&&r.jsx("div",{className:"flex items-center border-b overflow-x-auto shrink-0",children:U.map(t=>{const n=k.get(t),o=n?.loaded&&n.editorValue!==n.savedContent,l=d===t,f=t.split("/").pop()??t;return r.jsxs("div",{className:ae("flex items-center gap-1 px-3 py-1.5 text-xs border-r cursor-pointer transition-colors",l?"bg-background text-foreground":"bg-muted/50 text-muted-foreground hover:bg-accent"),onClick:()=>{h(t),Oe(t)},onKeyDown:()=>{},role:"tab",tabIndex:0,"aria-selected":l,children:[r.jsx("span",{className:"truncate max-w-32",children:f}),o&&r.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-foreground/60 shrink-0"}),r.jsx("button",{type:"button",className:"ml-1 rounded p-0.5 hover:bg-accent-foreground/10",onClick:v=>{v.stopPropagation(),vt(t)},children:r.jsx(Yt,{size:12})})]},t)})}),b&&r.jsx("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 z-20 mt-2",style:{width:"360px"},children:r.jsxs("form",{className:"flex w-full items-center gap-1.5 rounded-xl border border-border bg-background/95 px-3 py-1.5 shadow-lg backdrop-blur",onSubmit:t=>{t.preventDefault();const o=t.currentTarget.elements.namedItem("askAiInput");o.value.trim()&&St(o.value)},children:[r.jsx("input",{name:"askAiInput",autoFocus:!0,type:"text",placeholder:"Ask the AI...",className:"min-w-0 flex-1 bg-transparent text-sm outline-none placeholder:text-muted-foreground",onKeyDown:t=>{t.stopPropagation(),t.key==="Escape"&&S(null)}}),r.jsx("button",{type:"submit",className:"flex h-6 w-6 shrink-0 items-center justify-center rounded-full bg-foreground text-background transition-opacity",title:"Send",children:r.jsxs("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"none","aria-hidden":"true",children:[r.jsx("title",{children:"Send"}),r.jsx("path",{d:"M5 9V1M1 5l4-4 4 4",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})})]})}),r.jsx("div",{className:"flex-1 overflow-hidden",children:d&&ee?.loaded?r.jsx(Vt,{language:we(d),theme:document.documentElement.classList.contains("dark")?"vs-dark":"light",value:ee.editorValue,path:d,onChange:t=>{const n=d;n&&w(o=>{const l=new Map(o),f=l.get(n);return f&&l.set(n,{...f,editorValue:t??""}),l})},onMount:Nt,loading:r.jsx("div",{className:"flex items-center justify-center h-full w-full",children:r.jsx(se,{size:20,className:"animate-spin text-muted-foreground"})}),options:{fontSize:13,scrollBeyondLastLine:!1,automaticLayout:!0,lineNumbersMinChars:2,wordWrap:"on",minimap:{enabled:!1},padding:{top:12,bottom:12},scrollbar:{vertical:"auto",horizontal:"auto",verticalScrollbarSize:8,horizontalScrollbarSize:8}}},d):d&&!ee?.loaded?r.jsx("div",{className:"flex items-center justify-center h-full w-full",children:r.jsx(se,{size:20,className:"animate-spin text-muted-foreground"})}):r.jsx("div",{className:"flex items-center justify-center h-full w-full text-sm text-muted-foreground",children:"Select a file to edit"})}),d&&r.jsxs("div",{className:"flex items-center justify-between px-3 py-1 border-t text-[11px] text-muted-foreground shrink-0",children:[r.jsx("span",{className:"truncate",children:d}),r.jsxs("span",{children:[jt?"Modified":"Saved"," ·"," ",we(d)]})]})]}),r.jsx(En,{open:D!==null,mode:D?.mode??"new-file",initialName:D?.mode==="rename"?D.node.name:"",parentLabel:D&&D.mode!=="rename"?D.parentDir==="/"?"/":V(D.parentDir):void 0,isPending:ne,onSubmit:ut,onOpenChange:t=>{!t&&!ne&&X(null)}}),r.jsx(en,{open:J!==null,onOpenChange:t=>{!t&&!ne&&ge(null)},children:r.jsxs(tn,{children:[r.jsxs(nn,{children:[r.jsxs(rn,{children:["Delete ",J?.kind==="directory"?"folder":"file","?"]}),r.jsxs(on,{children:["This will permanently delete"," ",r.jsx("span",{className:"font-mono",children:J?.name}),J?.kind==="directory"?" and everything inside it.":".",ye.length>0&&r.jsxs(r.Fragment,{children:[" ",ye.length===1?"One open file has unsaved changes that will be lost.":`${ye.length} open files have unsaved changes that will be lost.`]})]})]}),r.jsxs(sn,{children:[r.jsx(an,{disabled:ne,children:"Cancel"}),r.jsx(ln,{disabled:ne||!J,onClick:t=>{t.preventDefault(),J&&dt(J)},children:"Delete"})]})]})})]})}export{ns as FileExplorer};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as z,D as ke,k as Re,m as Ue,d as Ne,K as De,r as P,l as K,j as s,B as ve,i as Pe}from"./index-CRsyoh0P.js";import{A as ue}from"./avatar-HaXLmirn.js";import{B as _e}from"./badge-CqRObYKH.js";import{i as Ke,n as Fe}from"./Loading02-a6STvmGU.js";import{i as Qe}from"./List-Dl4LEOwl.js";import{s as qe}from"./Plus-DfCkUDAU.js";import{u as Ae}from"./use-members-B8OfJnCF.js";import{u as Be}from"./studio-tools-0oP05Vmo.js";import{f as Ee}from"./format-time-Cy7tTmZp.js";import{i as Ge}from"./AlertCircle-Ix48cuhr.js";import{i as Ye}from"./CheckCircle-D-y1jrnz.js";import{i as He}from"./Circle-DvpNcVfO.js";import{s as Je}from"./Eye-jR9Zg5z5.js";import{d as Ve,e as We,a as Xe}from"./dialog-BK7FdLgQ.js";import{b as ye,D as Ce,c as je,a as Se}from"./dropdown-menu-BXvp7Poa.js";import{t as Ie}from"./ChevronDown-C-LFsTot.js";import{s as Ze}from"./Trash01-CMKdBCcn.js";import{s as et}from"./User01-BQzTGoKV.js";import"./use-org-auth-client-CKi9OpAo.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./X-5_6S4cTa.js";import"./Check-KOuUgZpl.js";import"./ChevronRight-CMRG2Mrw.js";function tt(){const t=z.c(13),{locator:e}=ke(),o=Be();let l;t[0]!==e?(l=De.taskBoardItems(e),t[0]=e,t[1]=l):l=t[1];let a;t[2]!==o?(a=async()=>(await o.call("TASK_BOARD_ITEM_LIST",{})).items,t[2]=o,t[3]=a):a=t[3];let n;t[4]!==l||t[5]!==a?(n={queryKey:l,queryFn:a},t[4]=l,t[5]=a,t[6]=n):n=t[6];const c=Re(n);let i;t[7]!==c.data?(i=c.data??[],t[7]=c.data,t[8]=i):i=t[8];let r;return t[9]!==c.error||t[10]!==c.isLoading||t[11]!==i?(r={items:i,isLoading:c.isLoading,error:c.error},t[9]=c.error,t[10]=c.isLoading,t[11]=i,t[12]=r):r=t[12],r}function st(){const t=z.c(30),{locator:e}=ke(),o=Be(),l=Ue();let a;t[0]!==e?(a=De.taskBoardItems(e),t[0]=e,t[1]=a):a=t[1];const n=a;let c;t[2]!==l||t[3]!==n?(c=()=>l.invalidateQueries({queryKey:n}),t[2]=l,t[3]=n,t[4]=c):c=t[4];const i=c;let r;t[5]!==o?(r=j=>o.call("TASK_BOARD_ITEM_CREATE",j),t[5]=o,t[6]=r):r=t[6];let u;t[7]!==i||t[8]!==r?(u={mutationFn:r,onSuccess:i},t[7]=i,t[8]=r,t[9]=u):u=t[9];const d=Ne(u);let f;t[10]!==o?(f=j=>o.call("TASK_BOARD_ITEM_UPDATE",j),t[10]=o,t[11]=f):f=t[11];let x,g;t[12]!==l||t[13]!==n?(x=async j=>{await l.cancelQueries({queryKey:n});const A=l.getQueryData(n);return l.setQueryData(n,C=>C?.map(S=>S.id===j.id?{...S,...j}:S)),{previous:A}},g=(j,A,C)=>{C?.previous&&l.setQueryData(n,C.previous)},t[12]=l,t[13]=n,t[14]=x,t[15]=g):(x=t[14],g=t[15]);let m;t[16]!==i||t[17]!==f||t[18]!==x||t[19]!==g?(m={mutationFn:f,onMutate:x,onError:g,onSettled:i},t[16]=i,t[17]=f,t[18]=x,t[19]=g,t[20]=m):m=t[20];const p=Ne(m);let b;t[21]!==o?(b=j=>o.call("TASK_BOARD_ITEM_DELETE",{id:j}),t[21]=o,t[22]=b):b=t[22];let h;t[23]!==i||t[24]!==b?(h={mutationFn:b,onSuccess:i},t[23]=i,t[24]=b,t[25]=h):h=t[25];const y=Ne(h);let I;return t[26]!==d||t[27]!==y||t[28]!==p?(I={create:d,update:p,remove:y},t[26]=d,t[27]=y,t[28]=p,t[29]=I):I=t[29],I}const lt=["triage","todo","in_progress","in_review","done"],Oe={triage:{label:"Triage",icon:Ge,iconClassName:"text-muted-foreground"},todo:{label:"To Do",icon:He,iconClassName:"text-muted-foreground"},in_progress:{label:"In Progress",icon:Ke,iconClassName:"text-blue-500"},in_review:{label:"In Review",icon:Je,iconClassName:"text-amber-500"},done:{label:"Done",icon:Ye,iconClassName:"text-green-600"}},at=["low","medium","high","urgent"],F={low:{label:"Low",badgeClassName:"bg-muted text-muted-foreground"},medium:{label:"Medium",badgeClassName:"bg-blue-500/10 text-blue-600"},high:{label:"High",badgeClassName:"bg-orange-500/10 text-orange-600"},urgent:{label:"Urgent",badgeClassName:"bg-red-500/10 text-red-600"}};function Te(t){return t?t.split(" ").map(e=>e[0]).join("").toUpperCase().slice(0,2):"?"}function ot(t){const e=z.c(87),{open:o,onClose:l,item:a,onSubmit:n,onDelete:c,isSaving:i}=t,{data:r}=Ae(),u=r?.data?.members??[],[d,f]=P.useState(a?.title??""),[x,g]=P.useState(a?.description??""),[m,p]=P.useState(a?.priority??"medium"),[b,h]=P.useState(a?.assigneeId??null);let y;e[0]!==a?.assigneeId||e[1]!==a?.description||e[2]!==a?.priority||e[3]!==a?.title||e[4]!==h?(y=()=>{f(a?.title??""),g(a?.description??""),p(a?.priority??"medium"),h(a?.assigneeId??null)},e[0]=a?.assigneeId,e[1]=a?.description,e[2]=a?.priority,e[3]=a?.title,e[4]=h,e[5]=y):y=e[5];const I=y;let j;e[6]!==l||e[7]!==I?(j=()=>{l(),I()},e[6]=l,e[7]=I,e[8]=j):j=e[8];const A=j;let C;e[9]!==b||e[10]!==x||e[11]!==n||e[12]!==m||e[13]!==d?(C=()=>{const v=d.trim();v&&n({title:v,description:x.trim()||null,priority:m,assigneeId:b})},e[9]=b,e[10]=x,e[11]=n,e[12]=m,e[13]=d,e[14]=C):C=e[14];const S=C;let L;e[15]!==b?(L=v=>v.userId===b,e[15]=b,e[16]=L):L=e[16];const $=u.find(L),B=We;let T;e[17]!==A?(T=v=>!v&&A(),e[17]=A,e[18]=T):T=e[18];const E=Ve,M="gap-0 overflow-hidden p-0 sm:max-w-[560px]",ie="hidden",R=a?"Edit task":"New task";let O;e[19]!==R?(O=s.jsx(Xe,{className:"sr-only",children:R}),e[19]=R,e[20]=O):O=e[20];let U;e[21]===Symbol.for("react.memo_cache_sentinel")?(U=v=>f(v.target.value),e[21]=U):U=e[21];let w;e[22]!==d?(w=s.jsx("input",{value:d,onChange:U,placeholder:"Task title",autoFocus:!0,className:"w-full border-0 bg-transparent text-base font-medium text-foreground outline-none placeholder:text-muted-foreground/70"}),e[22]=d,e[23]=w):w=e[23];let D;e[24]===Symbol.for("react.memo_cache_sentinel")?(D=v=>g(v.target.value),e[24]=D):D=e[24];let k;e[25]!==x?(k=s.jsx("textarea",{value:x,onChange:D,placeholder:"Add a description…",className:"min-h-[96px] w-full resize-none border-0 bg-transparent text-sm leading-relaxed text-foreground outline-none placeholder:text-muted-foreground/70"}),e[25]=x,e[26]=k):k=e[26];let _;e[27]!==w||e[28]!==k?(_=s.jsxs("div",{className:"flex flex-col gap-3 px-4 pt-4",children:[w,k]}),e[27]=w,e[28]=k,e[29]=_):_=e[29];const N="flex items-center gap-2 border-t border-border px-4 py-3",ne=F[m];let Q;e[30]!==ne.badgeClassName?(Q=K("size-2 rounded-full",ne.badgeClassName),e[30]=ne.badgeClassName,e[31]=Q):Q=e[31];let q;e[32]!==Q?(q=s.jsx("span",{className:Q}),e[32]=Q,e[33]=q):q=e[33];const fe=F[m];let re;e[34]===Symbol.for("react.memo_cache_sentinel")?(re=s.jsx(Ie,{size:12,className:"text-muted-foreground"}),e[34]=re):re=e[34];let G;e[35]!==q||e[36]!==fe.label?(G=s.jsx(ye,{asChild:!0,children:s.jsxs("button",{type:"button",className:"inline-flex items-center gap-1.5 rounded-lg border border-border bg-background px-2.5 py-1.5 text-xs text-foreground transition-colors hover:bg-muted",children:[q,fe.label,re]})}),e[35]=q,e[36]=fe.label,e[37]=G):G=e[37];let ce;e[38]===Symbol.for("react.memo_cache_sentinel")?(ce=s.jsx(Ce,{align:"start",className:"w-40",children:at.map(v=>s.jsx(je,{onSelect:()=>p(v),children:F[v].label},v))}),e[38]=ce):ce=e[38];let Y;e[39]!==G?(Y=s.jsxs(Se,{children:[G,ce]}),e[39]=G,e[40]=Y):Y=e[40];const xe=Se,ge=ye,ze=!0,Le="button",Me="inline-flex items-center gap-1.5 rounded-lg border border-border bg-background px-2.5 py-1.5 text-xs text-foreground transition-colors hover:bg-muted",pe=$?s.jsx(ue,{url:$.user?.image??void 0,fallback:Te($.user?.name),shape:"circle",size:"2xs"}):s.jsx(et,{size:13,className:"text-muted-foreground"}),be=$?.user?.name??"Unassigned";let de;e[41]===Symbol.for("react.memo_cache_sentinel")?(de=s.jsx(Ie,{size:12,className:"text-muted-foreground"}),e[41]=de):de=e[41];let H;e[42]!==pe||e[43]!==be?(H=s.jsxs("button",{type:Le,className:Me,children:[pe,be,de]}),e[42]=pe,e[43]=be,e[44]=H):H=e[44];let J;e[45]!==ge||e[46]!==H?(J=s.jsx(ge,{asChild:ze,children:H}),e[45]=ge,e[46]=H,e[47]=J):J=e[47];let V;e[48]!==h?(V=s.jsx(je,{onSelect:()=>h(null),children:"Unassigned"}),e[48]=h,e[49]=V):V=e[49];let W;if(e[50]!==u||e[51]!==h){let v;e[53]!==h?(v=oe=>s.jsxs(je,{onSelect:()=>h(oe.userId),className:"gap-2",children:[s.jsx(ue,{url:oe.user?.image??void 0,fallback:Te(oe.user?.name),shape:"circle",size:"2xs"}),s.jsx("span",{className:"truncate",children:oe.user?.name??oe.userId})]},oe.userId),e[53]=h,e[54]=v):v=e[54],W=u.map(v),e[50]=u,e[51]=h,e[52]=W}else W=e[52];let X;e[55]!==V||e[56]!==W?(X=s.jsxs(Ce,{align:"start",className:"w-56",children:[V,W]}),e[55]=V,e[56]=W,e[57]=X):X=e[57];let Z;e[58]!==xe||e[59]!==J||e[60]!==X?(Z=s.jsxs(xe,{children:[J,X]}),e[58]=xe,e[59]=J,e[60]=X,e[61]=Z):Z=e[61];let ee;e[62]!==a||e[63]!==c?(ee=a&&c&&s.jsx(ve,{variant:"ghost",size:"icon","aria-label":"Delete task",className:"ml-0 text-muted-foreground hover:text-destructive",onClick:c,children:s.jsx(Ze,{size:14})}),e[62]=a,e[63]=c,e[64]=ee):ee=e[64];let te;e[65]!==i||e[66]!==d?(te=!d.trim()||i,e[65]=i,e[66]=d,e[67]=te):te=e[67];const he=a?"Save":"Create task";let se;e[68]!==S||e[69]!==te||e[70]!==he?(se=s.jsx(ve,{size:"sm",className:"ml-auto",disabled:te,onClick:S,children:he}),e[68]=S,e[69]=te,e[70]=he,e[71]=se):se=e[71];let le;e[72]!==Y||e[73]!==Z||e[74]!==ee||e[75]!==se?(le=s.jsxs("div",{className:N,children:[Y,Z,ee,se]}),e[72]=Y,e[73]=Z,e[74]=ee,e[75]=se,e[76]=le):le=e[76];let ae;e[77]!==E||e[78]!==_||e[79]!==le||e[80]!==O?(ae=s.jsxs(E,{className:M,closeButtonClassName:ie,children:[O,_,le]}),e[77]=E,e[78]=_,e[79]=le,e[80]=O,e[81]=ae):ae=e[81];let me;return e[82]!==B||e[83]!==o||e[84]!==ae||e[85]!==T?(me=s.jsx(B,{open:o,onOpenChange:T,children:ae}),e[82]=B,e[83]=o,e[84]=ae,e[85]=T,e[86]=me):me=e[86],me}function Ot(){const t=z.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=s.jsx("div",{className:"min-h-0 flex-1 pt-0 pr-1 pb-1 pl-0",children:s.jsx("div",{className:"h-full p-0.5 pt-0.25",children:s.jsx("div",{className:"card-shadow flex h-full flex-col overflow-hidden rounded-[0.75rem] bg-background",children:s.jsx(it,{})})})}),t[0]=e):e=t[0],e}function $e(t){return t?t.split(" ").map(e=>e[0]).join("").toUpperCase().slice(0,2):"?"}function it(){const t=z.c(45),{items:e,isLoading:o}=tt(),l=st(),{data:a}=Ae();let n;if(t[0]!==a?.data?.members){const N=a?.data?.members??[];n=new Map(N.map(nt)),t[0]=a?.data?.members,t[1]=n}else n=t[1];const c=n,[i,r]=P.useState("board"),[u,d]=P.useState(!1),[f,x]=P.useState(null);let g;t[2]===Symbol.for("react.memo_cache_sentinel")?(g=()=>{x(null),d(!0)},t[2]=g):g=t[2];const m=g;let p;t[3]===Symbol.for("react.memo_cache_sentinel")?(p=N=>{x(N),d(!0)},t[3]=p):p=t[3];const b=p;if(o&&e.length===0){let N;return t[4]===Symbol.for("react.memo_cache_sentinel")?(N=s.jsx("div",{className:"flex flex-1 items-center justify-center",children:s.jsx(Pe,{size:20,className:"animate-spin text-muted-foreground"})}),t[4]=N):N=t[4],N}const h=i==="board"?"max-w-[1400px]":"max-w-[900px]";let y;t[5]!==h?(y=K("mx-auto flex w-full flex-col gap-6 px-10 pt-10 pb-16",h),t[5]=h,t[6]=y):y=t[6];let I;t[7]===Symbol.for("react.memo_cache_sentinel")?(I=s.jsx("h1",{className:"text-xl font-medium text-foreground",children:"Board"}),t[7]=I):I=t[7];let j;t[8]===Symbol.for("react.memo_cache_sentinel")?(j=s.jsxs(ve,{size:"sm",onClick:m,children:[s.jsx(qe,{size:16}),"New task"]}),t[8]=j):j=t[8];const A=i==="list";let C;t[9]===Symbol.for("react.memo_cache_sentinel")?(C=()=>r("list"),t[9]=C):C=t[9];let S;t[10]!==A?(S=s.jsx(we,{active:A,onClick:C,icon:Qe,label:"List"}),t[10]=A,t[11]=S):S=t[11];const L=i==="board";let $;t[12]===Symbol.for("react.memo_cache_sentinel")?($=()=>r("board"),t[12]=$):$=t[12];let B;t[13]!==L?(B=s.jsx(we,{active:L,onClick:$,icon:Fe,label:"Board"}),t[13]=L,t[14]=B):B=t[14];let T;t[15]!==B||t[16]!==S?(T=s.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[j,s.jsxs("div",{className:"ml-auto inline-flex rounded-lg bg-muted p-0.5",children:[S,B]})]}),t[15]=B,t[16]=S,t[17]=T):T=t[17];let E;t[18]!==l.update||t[19]!==e||t[20]!==i||t[21]!==c?(E=e.length===0?s.jsx("div",{className:"rounded-xl border border-border bg-card px-4 py-12 text-center text-sm text-muted-foreground",children:"No tasks yet. Start one with New task."}):i==="board"?s.jsx(rt,{items:e,memberByUserId:c,onOpen:b,onMove:(N,ne)=>l.update.mutate({id:N,status:ne})}):s.jsx("div",{className:"flex flex-col gap-2",children:e.map(N=>s.jsx(dt,{item:N,assignee:N.assigneeId?c.get(N.assigneeId):void 0,onOpen:()=>b(N)},N.id))}),t[18]=l.update,t[19]=e,t[20]=i,t[21]=c,t[22]=E):E=t[22];let M;t[23]!==T||t[24]!==E||t[25]!==y?(M=s.jsxs("div",{className:y,children:[I,T,E]}),t[23]=T,t[24]=E,t[25]=y,t[26]=M):M=t[26];const ie=u?f?.id??"new":"closed";let R;t[27]===Symbol.for("react.memo_cache_sentinel")?(R=()=>d(!1),t[27]=R):R=t[27];const O=f??void 0,U=l.create.isPending||l.update.isPending;let w;t[28]!==l.create||t[29]!==l.update||t[30]!==f?(w=N=>{f?l.update.mutate({id:f.id,...N}):l.create.mutate(N),d(!1)},t[28]=l.create,t[29]=l.update,t[30]=f,t[31]=w):w=t[31];let D;t[32]!==l.remove||t[33]!==f?(D=f?()=>{l.remove.mutate(f.id),d(!1)}:void 0,t[32]=l.remove,t[33]=f,t[34]=D):D=t[34];let k;t[35]!==u||t[36]!==ie||t[37]!==O||t[38]!==U||t[39]!==w||t[40]!==D?(k=s.jsx(ot,{open:u,onClose:R,item:O,isSaving:U,onSubmit:w,onDelete:D},ie),t[35]=u,t[36]=ie,t[37]=O,t[38]=U,t[39]=w,t[40]=D,t[41]=k):k=t[41];let _;return t[42]!==M||t[43]!==k?(_=s.jsxs("div",{className:"min-h-0 flex-1 overflow-y-auto",children:[M,k]}),t[42]=M,t[43]=k,t[44]=_):_=t[44],_}function nt(t){return[t.userId,t]}function we(t){const e=z.c(11),{active:o,onClick:l,icon:a,label:n}=t,c=`${n} view`,i=o?"bg-background text-foreground shadow-sm":"text-muted-foreground hover:text-foreground";let r;e[0]!==i?(r=K("flex items-center gap-1.5 rounded-md px-2.5 py-1.5 text-xs font-medium transition-colors",i),e[0]=i,e[1]=r):r=e[1];let u;e[2]!==a?(u=s.jsx(a,{size:14}),e[2]=a,e[3]=u):u=e[3];let d;return e[4]!==o||e[5]!==n||e[6]!==l||e[7]!==c||e[8]!==r||e[9]!==u?(d=s.jsxs("button",{type:"button",onClick:l,"aria-label":c,"aria-pressed":o,className:r,children:[u,n]}),e[4]=o,e[5]=n,e[6]=l,e[7]=c,e[8]=r,e[9]=u,e[10]=d):d=e[10],d}function rt(t){const e=z.c(8),{items:o,memberByUserId:l,onOpen:a,onMove:n}=t,[c,i]=P.useState(null);let r;e[0]!==o||e[1]!==l||e[2]!==n||e[3]!==a||e[4]!==c?(r=lt.map(d=>{const f=o.filter(m=>m.status===d),x=Oe[d],g=x.icon;return s.jsxs("div",{onDragOver:m=>{m.preventDefault(),i(d)},onDragLeave:m=>{m.currentTarget.contains(m.relatedTarget)||i(null)},onDrop:m=>{m.preventDefault();const p=m.dataTransfer.getData("text/plain");p&&n(p,d),i(null)},className:K("flex flex-col rounded-xl p-1 transition-colors",c===d&&"bg-muted/50"),children:[s.jsxs("div",{className:"flex items-center gap-2 p-2",children:[s.jsx(g,{size:14,className:K("shrink-0",x.iconClassName)}),s.jsx("span",{className:"text-xs text-foreground",children:x.label}),s.jsx("span",{className:"text-[11px] text-muted-foreground",children:f.length})]}),s.jsx("div",{className:"flex min-h-12 flex-col gap-2",children:f.map(m=>s.jsx(ct,{item:m,assignee:m.assigneeId?l.get(m.assigneeId):void 0,onOpen:()=>a(m)},m.id))})]},d)}),e[0]=o,e[1]=l,e[2]=n,e[3]=a,e[4]=c,e[5]=r):r=e[5];let u;return e[6]!==r?(u=s.jsx("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-5",children:r}),e[6]=r,e[7]=u):u=e[7],u}function ct(t){const e=z.c(26),{item:o,assignee:l,onOpen:a}=t;let n;e[0]!==o.id?(n=h=>{h.dataTransfer.setData("text/plain",o.id),h.dataTransfer.effectAllowed="move"},e[0]=o.id,e[1]=n):n=e[1];let c;e[2]!==o.title?(c=s.jsx("span",{className:"min-w-0 flex-1 truncate text-[13px] font-medium leading-snug text-foreground",children:o.title}),e[2]=o.title,e[3]=c):c=e[3];let i;e[4]!==l?(i=l&&s.jsx(ue,{url:l.user?.image??void 0,fallback:$e(l.user?.name),shape:"circle",size:"2xs"}),e[4]=l,e[5]=i):i=e[5];let r;e[6]!==c||e[7]!==i?(r=s.jsxs("div",{className:"flex items-start gap-2",children:[c,i]}),e[6]=c,e[7]=i,e[8]=r):r=e[8];const u=F[o.priority];let d;e[9]!==u.badgeClassName?(d=K("text-[10px]",u.badgeClassName),e[9]=u.badgeClassName,e[10]=d):d=e[10];const f=F[o.priority];let x;e[11]!==d||e[12]!==f.label?(x=s.jsx(_e,{className:d,children:f.label}),e[11]=d,e[12]=f.label,e[13]=x):x=e[13];let g;e[14]!==o.createdAt?(g=Ee(new Date(o.createdAt)),e[14]=o.createdAt,e[15]=g):g=e[15];let m;e[16]!==g?(m=s.jsx("span",{className:"text-[11px] text-muted-foreground/70",children:g}),e[16]=g,e[17]=m):m=e[17];let p;e[18]!==m||e[19]!==x?(p=s.jsxs("div",{className:"flex items-center gap-2",children:[x,m]}),e[18]=m,e[19]=x,e[20]=p):p=e[20];let b;return e[21]!==a||e[22]!==n||e[23]!==p||e[24]!==r?(b=s.jsxs("button",{type:"button",draggable:!0,onDragStart:n,onClick:a,className:"flex cursor-grab flex-col gap-3 rounded-[10px] border border-border bg-card px-3.5 py-3 text-left transition-colors hover:border-ring/40 active:cursor-grabbing",children:[r,p]}),e[21]=a,e[22]=n,e[23]=p,e[24]=r,e[25]=b):b=e[25],b}function dt(t){const e=z.c(25),{item:o,assignee:l,onOpen:a}=t,n=Oe[o.status],c=n.icon;let i;e[0]!==n.iconClassName?(i=K("shrink-0",n.iconClassName),e[0]=n.iconClassName,e[1]=i):i=e[1];let r;e[2]!==c||e[3]!==i?(r=s.jsx(c,{size:15,className:i}),e[2]=c,e[3]=i,e[4]=r):r=e[4];let u;e[5]!==o.title?(u=s.jsx("span",{className:"min-w-0 flex-1 truncate text-sm font-medium text-foreground",children:o.title}),e[5]=o.title,e[6]=u):u=e[6];const d=F[o.priority];let f;e[7]!==d.badgeClassName?(f=K("shrink-0 text-[10px]",d.badgeClassName),e[7]=d.badgeClassName,e[8]=f):f=e[8];const x=F[o.priority];let g;e[9]!==f||e[10]!==x.label?(g=s.jsx(_e,{className:f,children:x.label}),e[9]=f,e[10]=x.label,e[11]=g):g=e[11];let m;e[12]!==l?(m=l&&s.jsx(ue,{url:l.user?.image??void 0,fallback:$e(l.user?.name),shape:"circle",size:"2xs"}),e[12]=l,e[13]=m):m=e[13];let p;e[14]!==o.createdAt?(p=Ee(new Date(o.createdAt)),e[14]=o.createdAt,e[15]=p):p=e[15];let b;e[16]!==p?(b=s.jsx("span",{className:"shrink-0 text-[11px] text-muted-foreground/70",children:p}),e[16]=p,e[17]=b):b=e[17];let h;return e[18]!==a||e[19]!==b||e[20]!==r||e[21]!==u||e[22]!==g||e[23]!==m?(h=s.jsxs("button",{type:"button",onClick:a,className:"flex items-center gap-3 rounded-xl border border-border bg-card px-4 py-3 text-left transition-colors hover:border-ring/40",children:[r,u,g,m,b]}),e[18]=a,e[19]=b,e[20]=r,e[21]=u,e[22]=g,e[23]=m,e[24]=h):h=e[24],h}export{Ot as default};
|