decocms 4.76.7 → 4.76.9
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-Daeiw45X.js → AlertCircle-CMif8eKx.js} +1 -1
- package/dist/client/assets/{AreaChart-Ddtv9jOO.js → AreaChart-BVuliQI3.js} +1 -1
- package/dist/client/assets/{ArrowUp-C4OwO4ko.js → ArrowUp-C3ER02Jz.js} +1 -1
- package/dist/client/assets/{ArrowUpRight-BXVvg_cT.js → ArrowUpRight-CaWddBD9.js} +1 -1
- package/dist/client/assets/{Check-DiIqUFxu.js → Check-5N2bU_kF.js} +1 -1
- package/dist/client/assets/{CheckCircle-ByOnwy76.js → CheckCircle-Ys0uWr4V.js} +1 -1
- package/dist/client/assets/{ChevronDown-SRZZ4kMH.js → ChevronDown--7_G9vy2.js} +1 -1
- package/dist/client/assets/{ChevronRight-Chu0pD-9.js → ChevronRight-DbBwZrzb.js} +1 -1
- package/dist/client/assets/{ChevronUp-Qv_gKnbe.js → ChevronUp-DkTCURYw.js} +1 -1
- package/dist/client/assets/{Circle-M_ftnS8R.js → Circle-BaaiYcy_.js} +1 -1
- package/dist/client/assets/{Copy01-DpmFLWHG.js → Copy01-BzWjaXbI.js} +1 -1
- package/dist/client/assets/{DotsVertical-z7548wpB.js → DotsVertical-PGqo3fhn.js} +1 -1
- package/dist/client/assets/{Eye-DDP_jE0a.js → Eye-CUbRUfeP.js} +1 -1
- package/dist/client/assets/{FilterLines-BhdeikCB.js → FilterLines-CPWBW0pL.js} +1 -1
- package/dist/client/assets/{Flag01-c49iCsVo.js → Flag01-PCsGE5WG.js} +1 -1
- package/dist/client/assets/{Globe01-WDsBVwau.js → Globe01-CcvvEoPJ.js} +1 -1
- package/dist/client/assets/{Globe04-BKs-H5O0.js → Globe04-CVWcc8rB.js} +1 -1
- package/dist/client/assets/{HardDrive-CuJwfOKh.js → HardDrive-fVyKTdT0.js} +1 -1
- package/dist/client/assets/{Key01-D_1S9fae.js → Key01-C_GqKOk-.js} +1 -1
- package/dist/client/assets/{LayoutLeft-DQDvxfWK.js → LayoutLeft-DQ8QKlvy.js} +1 -1
- package/dist/client/assets/{LinkExternal01-COk0Bv4h.js → LinkExternal01-DfNSJadY.js} +1 -1
- package/dist/client/assets/{List-JGCvnXal.js → List-DnDkNbbh.js} +1 -1
- package/dist/client/assets/{Monitor01-BE4OpNoK.js → Monitor01-BXfdc3HY.js} +1 -1
- package/dist/client/assets/{Package-CVX8XV19.js → Package-B_mIMlD5.js} +1 -1
- package/dist/client/assets/{Palette-Bs3WlNmE.js → Palette-D3AbswTL.js} +1 -1
- package/dist/client/assets/{Play-DGBRvjJS.js → Play-C6p5zqAw.js} +1 -1
- package/dist/client/assets/{Plus-D9mmseDG.js → Plus-DbtrfAj1.js} +1 -1
- package/dist/client/assets/{SearchLg-C-DM8QtQ.js → SearchLg-D9dkBkZZ.js} +1 -1
- package/dist/client/assets/{SearchMd-CQzQbmLc.js → SearchMd-0PDn734t.js} +1 -1
- package/dist/client/assets/{Settings02-Dr_urQ1O.js → Settings02-DsUlYC2s.js} +1 -1
- package/dist/client/assets/{Shield01-DiLOGMOL.js → Shield01-BeFUsvGK.js} +1 -1
- package/dist/client/assets/{Star01-DlYl5sJR.js → Star01-DfXzMZVe.js} +1 -1
- package/dist/client/assets/{Stars01-BqZ5zBBt.js → Stars01-DCaXyzfk.js} +1 -1
- package/dist/client/assets/{Stars02-B4F5M-Q6.js → Stars02-7b1krFSs.js} +1 -1
- package/dist/client/assets/{Sun-4jcvn0BB.js → Sun-DoYS7-r4.js} +1 -1
- package/dist/client/assets/{SwitchHorizontal01-CAGFkXoy.js → SwitchHorizontal01-BsE95Cgz.js} +1 -1
- package/dist/client/assets/{Tool01-xNbtOyfO.js → Tool01-BMa8w32X.js} +1 -1
- package/dist/client/assets/{Tool02-Bwwenryi.js → Tool02-C725qFkp.js} +1 -1
- package/dist/client/assets/{Trash01-BS6FbQZK.js → Trash01-AGsyc2Lz.js} +1 -1
- package/dist/client/assets/{TrendUp01-i8mRNYBS.js → TrendUp01-Cs1lv6DV.js} +1 -1
- package/dist/client/assets/{Upload01-CpqdDldw.js → Upload01-Dfauc7mP.js} +1 -1
- package/dist/client/assets/{User01-Bxtw8UQo.js → User01-DdaqhM8X.js} +1 -1
- package/dist/client/assets/{UserPlus01-GLKxCq_s.js → UserPlus01-4lEVNF4n.js} +1 -1
- package/dist/client/assets/{Users01-BTMjzyym.js → Users01-BhL9efAm.js} +1 -1
- package/dist/client/assets/{Users03-DkYImenY.js → Users03-BYNal7rX.js} +1 -1
- package/dist/client/assets/{X-FKqBaXYm.js → X-CjQyhbxA.js} +1 -1
- package/dist/client/assets/{XCircle-D_o-DJ1r.js → XCircle-CToZDOb2.js} +1 -1
- package/dist/client/assets/{XClose-BGIhhRqk.js → XClose-eftoazYG.js} +1 -1
- package/dist/client/assets/{Zap-BrsfgCHt.js → Zap-BP5HL64n.js} +1 -1
- package/dist/client/assets/{ZapSquare-CoabTdXH.js → ZapSquare-BGORja_0.js} +1 -1
- package/dist/client/assets/{ZoomOut-CnjMjclS.js → ZoomOut-n9MaiuYa.js} +1 -1
- package/dist/client/assets/{access-gate-DTH819R7.js → access-gate-CHazIhlk.js} +1 -1
- package/dist/client/assets/{add-section-modal-D5CueCD4.js → add-section-modal-P48dMkih.js} +1 -1
- package/dist/client/assets/{agent-icon-a2x5fd-o.js → agent-icon-CM1O1k4U.js} +1 -1
- package/dist/client/assets/{agents-list-CuGfBHDD.js → agents-list-BRvwd0Nh.js} +1 -1
- package/dist/client/assets/{ai-providers-D9eVQLzt.js → ai-providers-BB3I703o.js} +1 -1
- package/dist/client/assets/{alert-DeNWsjJz.js → alert-D-_ZZihD.js} +1 -1
- package/dist/client/assets/{alert-dialog-DW8C2Tug.js → alert-dialog-7ar29pHb.js} +1 -1
- package/dist/client/assets/app-editor-Dz33-zA0.js +1 -0
- package/dist/client/assets/{auth-B5a5xVPH.js → auth-DlV9DBBE.js} +1 -1
- package/dist/client/assets/{auth-catchall-CGcXXJfa.js → auth-catchall-CwZTzo4U.js} +1 -1
- package/dist/client/assets/{auth-entry-f3NuYXQY.js → auth-entry-CCP76Fmd.js} +1 -1
- package/dist/client/assets/{auth-split-layout-D06M7e9d.js → auth-split-layout-DQWl-Zq7.js} +1 -1
- package/dist/client/assets/{authenticate-and-persist-oauth-DebNCOvQ.js → authenticate-and-persist-oauth-CW6ccxIE.js} +1 -1
- package/dist/client/assets/{automation-list-row-CIP68UQP.js → automation-list-row-YQYDe6DI.js} +1 -1
- package/dist/client/assets/{automation-runs-D6ubrf-V.js → automation-runs-0oLIdBYY.js} +1 -1
- package/dist/client/assets/automations-CXO_MOvQ.js +1 -0
- package/dist/client/assets/{autosend-CQbqlwXU.js → autosend-O-Hr5pHJ.js} +1 -1
- package/dist/client/assets/{avatar-CH1JM0pD.js → avatar-BfhxX2tl.js} +1 -1
- package/dist/client/assets/{badge-D-KfQMtr.js → badge-Cw4luecf.js} +1 -1
- package/dist/client/assets/{block-document-C2jj0WYs.js → block-document-B9PwgXE5.js} +1 -1
- package/dist/client/assets/{brand-context-JSGljXBh.js → brand-context-MJlqXMCS.js} +1 -1
- package/dist/client/assets/{buckets-DN9QSQQJ.js → buckets-DC5_5QB-.js} +1 -1
- package/dist/client/assets/{bulk-category-panel-Bs-9xXPx.js → bulk-category-panel-dNEYZ40z.js} +1 -1
- package/dist/client/assets/{calendar-CloA7UX-.js → calendar-BqWhfGs9.js} +1 -1
- package/dist/client/assets/{capability-load-error-ZsoVwCfX.js → capability-load-error-ByGI8CJz.js} +1 -1
- package/dist/client/assets/{card-CBIqNwhi.js → card-C4uObVs8.js} +1 -1
- package/dist/client/assets/{category-editor-BEszTtnt.js → category-editor-B2gI0zVw.js} +1 -1
- package/dist/client/assets/{chat-context-BAso6MKn.js → chat-context-BcPGPgy3.js} +1 -1
- package/dist/client/assets/{checkbox-Dc5f4fdg.js → checkbox-DptWJIrf.js} +1 -1
- package/dist/client/assets/{cli-auth-success-D7Cns-HI.js → cli-auth-success-B2W09UNc.js} +1 -1
- package/dist/client/assets/{collection-detail-DxTXvELp.js → collection-detail-DDHkzQWL.js} +1 -1
- package/dist/client/assets/{collection-display-button-494TaTfH.js → collection-display-button-BEek0m4M.js} +1 -1
- package/dist/client/assets/{collection-search-c7Dtgt2D.js → collection-search-Cz0eR5LD.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-BrWMh37T.js → collection-table-wrapper-BpW07u2I.js} +1 -1
- package/dist/client/assets/{collection-tabs-BVpuhk1O.js → collection-tabs-BwBiLz1P.js} +1 -1
- package/dist/client/assets/{command-C6j36Gmh.js → command-BrPlC0h4.js} +1 -1
- package/dist/client/assets/{commerce-onboarding-BnVIqHA3.js → commerce-onboarding-BriDcbxV.js} +1 -1
- package/dist/client/assets/{companions-core-QzDkwGBB.js → companions-core-DtCOYDy1.js} +1 -1
- package/dist/client/assets/{connect-desktop-dialog-yN9Oqs5n.js → connect-desktop-dialog-BrG7Avhs.js} +1 -1
- package/dist/client/assets/{connection-card-BpFdFTif.js → connection-card-CXwOrIFw.js} +1 -1
- package/dist/client/assets/{connection-detail-Da8ZWKsS.js → connection-detail-XFD2I4q8.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-Bz1truIV.js → connection-form-helpers-CvUwhgFx.js} +1 -1
- package/dist/client/assets/{connections-Cbh4RNf3.js → connections-D8SYFQpN.js} +1 -1
- package/dist/client/assets/{decopilot-sse-pool-D6sk9to2.js → decopilot-sse-pool-BZZzw4TH.js} +1 -1
- package/dist/client/assets/{dialog-CglIfHLs.js → dialog-BITptHAG.js} +1 -1
- package/dist/client/assets/{domain-settings-CGAs7E2F.js → domain-settings-Cy-r4kjj.js} +1 -1
- package/dist/client/assets/{drawer-CZVq-zlc.js → drawer-CQIgTyVp.js} +1 -1
- package/dist/client/assets/{dropdown-menu-Dq78ka9w.js → dropdown-menu-zLHx0fDV.js} +1 -1
- package/dist/client/assets/{empty-state-C47K1Di0.js → empty-state-vAdhtwOY.js} +1 -1
- package/dist/client/assets/{extract-connection-data-CrL-e0rV.js → extract-connection-data-BKNOItOj.js} +1 -1
- package/dist/client/assets/{file-explorer-rLzS1j0h.js → file-explorer-L-mTIxL-.js} +1 -1
- package/dist/client/assets/{file-type-icon-5cKse1ni.js → file-type-icon-B6P27_YP.js} +1 -1
- package/dist/client/assets/{files-pM7o7yZm.js → files-BT3eWRqF.js} +1 -1
- package/dist/client/assets/{form-uoJA1zis.js → form-BXJfIPJg.js} +1 -1
- package/dist/client/assets/{general-BLAGuIy2.js → general-DhK1JvGE.js} +1 -1
- package/dist/client/assets/{github-repo-picker-BtSnP1rt.js → github-repo-picker-t3D995oJ.js} +1 -1
- package/dist/client/assets/{hooks-D_3-1ib3.js → hooks-B1fmVRiE.js} +1 -1
- package/dist/client/assets/{index-DxC4_wP8.js → index-3usplygn.js} +1 -1
- package/dist/client/assets/{index-DTnl4B3W.js → index-BUwDQKIu.js} +1 -1
- package/dist/client/assets/{index-W0widx-E.js → index-CN2dWwmA.js} +1 -1
- package/dist/client/assets/index-CeqMFugl.css +1 -0
- package/dist/client/assets/{index-CY9QNLkP.js → index-ClEwczQI.js} +1 -1
- package/dist/client/assets/{index-D0aaXX8z.js → index-CnrFAyvT.js} +8 -8
- package/dist/client/assets/{index-DQ-6hR-X.js → index-CtmDKjho.js} +3 -3
- package/dist/client/assets/{index-YR_rUP5S.js → index-D7eBxhwh.js} +1 -1
- package/dist/client/assets/index-DKm1NHFp.js +2 -0
- package/dist/client/assets/{index-cGm40Sko.js → index-DZMs4aQX.js} +1 -1
- package/dist/client/assets/{index-8qAy2lgG.js → index-Dfdomriz.js} +1 -1
- package/dist/client/assets/{index-33hEPoWP.js → index-Dt1lx-rv.js} +1 -1
- package/dist/client/assets/{index-DnuHdiFw.js → index-Due9WHuS.js} +1 -1
- package/dist/client/assets/{index-FYtNhQHN.js → index-DvtLIZhX.js} +1 -1
- package/dist/client/assets/{index-D13m8QU-.js → index-Q6qykuG6.js} +1 -1
- package/dist/client/assets/{index-redirect-ENO05PIS.js → index-redirect-D3r8h76k.js} +1 -1
- package/dist/client/assets/{input-Bb8IG4Xl.js → input-VtQVSUgA.js} +1 -1
- package/dist/client/assets/{integration-icon-DJwKNUBn.js → integration-icon-CA0yHbZL.js} +1 -1
- package/dist/client/assets/{invite-member-dialog-BN9aVDfJ.js → invite-member-dialog-CbQRCZHR.js} +1 -1
- package/dist/client/assets/{label-B8nmgOSq.js → label-Cut4_H5e.js} +1 -1
- package/dist/client/assets/{layout-Cj43E6Gl.js → layout-B27grd0p.js} +1 -1
- package/dist/client/assets/{login-Chhetc_A.js → login-BEuMHrte.js} +1 -1
- package/dist/client/assets/{mcp-oauth-DA35sTHc.js → mcp-oauth-BDf0X3Zq.js} +1 -1
- package/dist/client/assets/{members-D1bIg_-I.js → members-Sl0btxBQ.js} +1 -1
- package/dist/client/assets/{monaco-editor-Ckc9cDlD.js → monaco-editor-CIYAtCWV.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-BRSjJger.js → monitoring-stats-row-CYybEumA.js} +1 -1
- package/dist/client/assets/{oauth-callback-CHLRmz4O.js → oauth-callback-4igC3UMD.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-iEU0ozb6.js → oauth-callback-ai-provider-lF1eFOAR.js} +1 -1
- package/dist/client/assets/{onboarding-oj7jLr8r.js → onboarding-eOkTq-vz.js} +1 -1
- package/dist/client/assets/{org-install-ZW4URUS_.js → org-install-CVQLhkH7.js} +1 -1
- package/dist/client/assets/{org-layout-C0GShKVo.js → org-layout-DyUwBGS4.js} +1 -1
- package/dist/client/assets/{organization-choice-BW4zcLLt.js → organization-choice-BhM_xTkq.js} +1 -1
- package/dist/client/assets/{orgs-ZsnEiJ-f.js → orgs-Ba53pL0P.js} +1 -1
- package/dist/client/assets/{page-seo-form-D6C1geBP.js → page-seo-form-CNW0F85U.js} +1 -1
- package/dist/client/assets/page-seo-sheet-D5fEePGs.js +1 -0
- package/dist/client/assets/{popover-BHQbf__A.js → popover-ChMJMgl2.js} +1 -1
- package/dist/client/assets/{post-editor-bfv4qrlj.js → post-editor-D8pS_fV2.js} +1 -1
- package/dist/client/assets/{primitives-JXp7xI4o.js → primitives-Bm22wke2.js} +1 -1
- package/dist/client/assets/{profile-Bk0crBl0.js → profile-D1KXktxZ.js} +1 -1
- package/dist/client/assets/project-app-view-Cdy52R8g.js +1 -0
- package/dist/client/assets/record-editor-CoYdCWOa.js +1 -0
- package/dist/client/assets/redirect-editor-D2LXv_TX.js +1 -0
- package/dist/client/assets/registry-CcjAKllH.js +2 -0
- package/dist/client/assets/{registry-layout-DEY3vN_a.js → registry-layout-BbD3T4Or.js} +4 -4
- package/dist/client/assets/{reports-ErBIledW.js → reports-DhT4qpWf.js} +1 -1
- package/dist/client/assets/{require-capability-D4HSsH5Y.js → require-capability-BmZUBJm3.js} +1 -1
- package/dist/client/assets/{required-auth-layout-BS-xHr42.js → required-auth-layout-BMlXQvg1.js} +1 -1
- package/dist/client/assets/{reset-password-CLk0gKZG.js → reset-password-C1VDExLB.js} +1 -1
- package/dist/client/assets/{roles-B3O-PsPs.js → roles-BYTyUTyO.js} +1 -1
- package/dist/client/assets/{search-input-4n7a7skq.js → search-input-CYidtQyA.js} +1 -1
- package/dist/client/assets/{secrets-e1TEFIaW.js → secrets-DlDe8CvX.js} +1 -1
- package/dist/client/assets/{sections-editor-CskoVgh0.js → sections-editor-CPeQrjUj.js} +1 -1
- package/dist/client/assets/{select-Ncv3FOzh.js → select-BmZpvuqB.js} +1 -1
- package/dist/client/assets/{select-model-C5jhuZ-A.js → select-model-CkfTSQw1.js} +1 -1
- package/dist/client/assets/{self-tool-result-VCuU-zHc.js → self-tool-result-CGRB62Ft.js} +1 -1
- package/dist/client/assets/{seo-editor-Csxy8vLO.js → seo-editor-C1RZFso4.js} +1 -1
- package/dist/client/assets/{settings-layout-DU7UfBQJ.js → settings-layout-BcdnHGPb.js} +1 -1
- package/dist/client/assets/{settings-section-CCcO3BIl.js → settings-section-DEjU6Cwj.js} +1 -1
- package/dist/client/assets/{shell-controls-BWnlVAE_.js → shell-controls-DLDt63ir.js} +1 -1
- package/dist/client/assets/{shell-layout-BxUbdSdC.js → shell-layout-DBsbD1zB.js} +1 -1
- package/dist/client/assets/{sidebar-M3NGoFTz.js → sidebar-ChomDgWx.js} +1 -1
- package/dist/client/assets/{skeleton-DVPZ05Hi.js → skeleton-DYP9r7gK.js} +1 -1
- package/dist/client/assets/{sso-BTWhT745.js → sso-BgUjSBUA.js} +1 -1
- package/dist/client/assets/store-registry-Brzow5yX.js +2 -0
- package/dist/client/assets/{store-CwPUkqxC.js → store-zidyn_dV.js} +1 -1
- package/dist/client/assets/{studio-tools-BfTodPve.js → studio-tools-kep5O8QJ.js} +1 -1
- package/dist/client/assets/{switch-CZNaizJE.js → switch-C-1pGPkK.js} +1 -1
- package/dist/client/assets/{table-B1rvuxE0.js → table-zeKDWHHn.js} +1 -1
- package/dist/client/assets/{tabs-W0ZvNuSj.js → tabs-X3z0aCIQ.js} +1 -1
- package/dist/client/assets/{textarea-BMNuR6PG.js → textarea-B5ou6RR5.js} +1 -1
- package/dist/client/assets/{toggle-group-BEUtJI0b.js → toggle-group-Ci_1ni6C.js} +1 -1
- package/dist/client/assets/{toolbar-Cr2LL7Qf.js → toolbar-BPN_WFH9.js} +1 -1
- package/dist/client/assets/{toolbar-icon-button-CdiktDK-.js → toolbar-icon-button-ILgGLe7e.js} +1 -1
- package/dist/client/assets/{tools-list-B3TGc1k0.js → tools-list-DQefgMtc.js} +1 -1
- package/dist/client/assets/{tooltip-CHBWA8gH.js → tooltip-Vjj2FaHc.js} +1 -1
- package/dist/client/assets/{use-ai-providers-DaguuBvl.js → use-ai-providers-jnkXqxpD.js} +1 -1
- package/dist/client/assets/{use-automations-A24H5yoR.js → use-automations-DBoQteZ9.js} +1 -1
- package/dist/client/assets/{use-autosave-C5K8DgBL.js → use-autosave-CmII52tr.js} +1 -1
- package/dist/client/assets/{use-capability-CwlnckEm.js → use-capability-B2dqhG15.js} +1 -1
- package/dist/client/assets/{use-clock-tick-BZpEMweC.js → use-clock-tick-C-6z8GTe.js} +1 -1
- package/dist/client/assets/{use-collections-DN7wKcl2.js → use-collections-CrdXolhz.js} +1 -1
- package/dist/client/assets/{use-connection-Cgc-bwUe.js → use-connection-Bok-D6Qs.js} +1 -1
- package/dist/client/assets/{use-copy-BI_mQCc1.js → use-copy-B0rV9n0S.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-TVBH4bHf.js → use-create-virtual-mcp-BkDp0v-Z.js} +1 -1
- package/dist/client/assets/{use-debounced-autosave-iznLwaY-.js → use-debounced-autosave-fluB_9y3.js} +1 -1
- package/dist/client/assets/{use-debounced-value-Dn221luQ.js → use-debounced-value-Bcsek1yy.js} +1 -1
- package/dist/client/assets/{use-deco-credits-izrGHdpQ.js → use-deco-credits-uqT74NCg.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-DzoJ1cW8.js → use-decopilot-events-CJjqvWi5.js} +1 -1
- package/dist/client/assets/{use-delete-connection-CkNfyjRE.js → use-delete-connection-DWzdC6XS.js} +1 -1
- package/dist/client/assets/{use-deployment-admin-Bg5z15bg.js → use-deployment-admin-CBhWvmX0.js} +1 -1
- package/dist/client/assets/{use-file-configs--cr1rzHF.js → use-file-configs-DLoA3WQQ.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-BnU_spjp.js → use-infinite-scroll-BMcwffhP.js} +1 -1
- package/dist/client/assets/{use-join-requests-BHCazzWm.js → use-join-requests-CtyX5VAV.js} +1 -1
- package/dist/client/assets/{use-mcp-client-fAsbyV7C.js → use-mcp-client-NO6KutWW.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-SjFBm5iK.js → use-mcp-tools-CFNzK9Hh.js} +1 -1
- package/dist/client/assets/{use-members-BW_22zD4.js → use-members-DCnm_dh6.js} +1 -1
- package/dist/client/assets/{use-mobile-DnWb4um7.js → use-mobile-DFnyYGVl.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-BavtfcJj.js → use-navigate-to-agent-DjDOxxPy.js} +1 -1
- package/dist/client/assets/{use-org-auth-client-_VwdWZIg.js → use-org-auth-client-FI-e8pz8.js} +1 -1
- package/dist/client/assets/{use-org-sso-hD7hz9Pa.js → use-org-sso-DJBzgF3L.js} +1 -1
- package/dist/client/assets/{use-organization-roles-B5YTnNe5.js → use-organization-roles-BYhToDWV.js} +1 -1
- package/dist/client/assets/{use-organization-settings-Ctd6W6cK.js → use-organization-settings-BVb9A1_X.js} +1 -1
- package/dist/client/assets/{use-registry-connections-B-EtqUjy.js → use-registry-connections-CfLKpYR2.js} +1 -1
- package/dist/client/assets/{use-secrets-BVlr70WN.js → use-secrets-FxEg_KS7.js} +1 -1
- package/dist/client/assets/{use-status-sounds-BTecNQLA.js → use-status-sounds-ZQN8dcxz.js} +1 -1
- package/dist/client/assets/{use-view-mode-CBeJ1NCA.js → use-view-mode-DJaRVuZg.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-Cp3bSTbV.js → use-virtual-mcp-DA_eW6A-.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-DK_bIKEr.js +1 -0
- package/dist/client/assets/{useRouterState-CaWTaAwc.js → useRouterState-ftKtsje1.js} +1 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-DthsCuSi.js +1 -0
- package/dist/client/assets/{users-D5EH73ul.js → users-CjGYTtzc.js} +1 -1
- package/dist/client/assets/{variant-calendar-CChHB64T.js → variant-calendar-BCsc-qPo.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-DkAyxzj5.js → view-mode-toggle-Bl55Yc_Z.js} +1 -1
- package/dist/client/index.html +2 -2
- package/dist/server/cli.js +402 -400
- package/dist/server/server.js +1 -1
- package/package.json +1 -1
- package/dist/client/assets/app-editor-BLeHYw8Y.js +0 -1
- package/dist/client/assets/automations-C-izbrCX.js +0 -1
- package/dist/client/assets/index-CWl74Y9o.js +0 -2
- package/dist/client/assets/index-DUQAh28_.css +0 -1
- package/dist/client/assets/page-seo-sheet-CDhLcIwk.js +0 -1
- package/dist/client/assets/project-app-view-B3VvewdM.js +0 -1
- package/dist/client/assets/record-editor-CrKbxuS9.js +0 -1
- package/dist/client/assets/redirect-editor-CsoN2NgY.js +0 -1
- package/dist/client/assets/registry-Bhyki9L7.js +0 -2
- package/dist/client/assets/store-registry-C_d2EG2d.js +0 -2
- package/dist/client/assets/useInfiniteQuery-C9s47sOj.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-J7uGzka-.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as m,m as p,v as q,al as T}from"./index-
|
|
1
|
+
import{c as m,m as p,v as q,al as T}from"./index-CtmDKjho.js";function C(n){const e=m.c(12);let t,o;e[0]!==n?({client:t,...o}=n,e[0]=n,e[1]=t,e[2]=o):(t=e[1],o=e[2]);let l;e[3]!==t?(l=T.mcpToolsList(t),e[3]=t,e[4]=l):l=e[4];let s;e[5]!==t?(s=async()=>await t.listTools(),e[5]=t,e[6]=s):s=e[6];const r=o.staleTime??3e4;let i;return e[7]!==o||e[8]!==l||e[9]!==s||e[10]!==r?(i={...o,queryKey:l,queryFn:s,staleTime:r,retry:!1},e[7]=o,e[8]=l,e[9]=s,e[10]=r,e[11]=i):i=e[11],q(i)}function K(n){const e=m.c(12);let t,o;e[0]!==n?({client:t,...o}=n,e[0]=n,e[1]=t,e[2]=o):(t=e[1],o=e[2]);let l;e[3]!==t?(l=T.mcpToolsList(t),e[3]=t,e[4]=l):l=e[4];let s;e[5]!==t?(s=async()=>await t.listTools(),e[5]=t,e[6]=s):s=e[6];const r=o.staleTime??3e4;let i;return e[7]!==o||e[8]!==l||e[9]!==s||e[10]!==r?(i={...o,queryKey:l,queryFn:s,staleTime:r,retry:!1},e[7]=o,e[8]=l,e[9]=s,e[10]=r,e[11]=i):i=e[11],p(i)}function O(n){const e=m.c(21);let t,o,l,s;e[0]!==n?({client:t,toolName:s,toolArguments:l,...o}=n,e[0]=n,e[1]=t,e[2]=o,e[3]=l,e[4]=s):(t=e[1],o=e[2],l=e[3],s=e[4]);let r,i,u;if(e[5]!==t||e[6]!==o||e[7]!==l||e[8]!==s){const f=JSON.stringify(l??{});u=q,r=o,i=T.mcpToolCall(t,s,f),e[5]=t,e[6]=o,e[7]=l,e[8]=s,e[9]=r,e[10]=i,e[11]=u}else r=e[9],i=e[10],u=e[11];let a;e[12]!==t||e[13]!==l||e[14]!==s?(a=async()=>await t.callTool({name:s,arguments:l}),e[12]=t,e[13]=l,e[14]=s,e[15]=a):a=e[15];const y=o.staleTime??3e4;let c;return e[16]!==r||e[17]!==i||e[18]!==a||e[19]!==y?(c={...r,queryKey:i,queryFn:a,staleTime:y,retry:!1},e[16]=r,e[17]=i,e[18]=a,e[19]=y,e[20]=c):c=e[20],u(c)}function w(n){const e=m.c(21);let t,o,l,s;e[0]!==n?({client:t,toolName:s,toolArguments:l,...o}=n,e[0]=n,e[1]=t,e[2]=o,e[3]=l,e[4]=s):(t=e[1],o=e[2],l=e[3],s=e[4]);let r,i,u;if(e[5]!==t||e[6]!==o||e[7]!==l||e[8]!==s){const f=JSON.stringify(l??{});u=p,r=o,i=T.mcpToolCall(t,s,f),e[5]=t,e[6]=o,e[7]=l,e[8]=s,e[9]=r,e[10]=i,e[11]=u}else r=e[9],i=e[10],u=e[11];let a;e[12]!==t||e[13]!==l||e[14]!==s?(a=async()=>await t.callTool({name:s,arguments:l}),e[12]=t,e[13]=l,e[14]=s,e[15]=a):a=e[15];const y=o.staleTime??3e4;let c;return e[16]!==r||e[17]!==i||e[18]!==a||e[19]!==y?(c={...r,queryKey:i,queryFn:a,staleTime:y,retry:!1},e[16]=r,e[17]=i,e[18]=a,e[19]=y,e[20]=c):c=e[20],u(c)}export{K as a,C as b,O as c,w as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as n,C as i,v as l,K as m}from"./index-
|
|
1
|
+
import{c as n,C as i,v as l,K as m}from"./index-CtmDKjho.js";import{u as a}from"./use-org-auth-client-FI-e8pz8.js";function p(){const e=n.c(7),{locator:o}=i(),u=a();let t;e[0]!==o?(t=m.members(o),e[0]=o,e[1]=t):t=e[1];let s;e[2]!==u?(s=()=>u.organization.listMembers(),e[2]=u,e[3]=s):s=e[3];let r;return e[4]!==t||e[5]!==s?(r={queryKey:t,queryFn:s},e[4]=t,e[5]=s,e[6]=r):r=e[6],l(r)}export{p as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as m,r}from"./index-
|
|
1
|
+
import{c as m,r}from"./index-CtmDKjho.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};
|
package/dist/client/assets/{use-navigate-to-agent-BavtfcJj.js → use-navigate-to-agent-DjDOxxPy.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{D as y,r as c,c as b,j as R,b as A,C as E,a as $}from"./index-
|
|
1
|
+
import{D as y,r as c,c as b,j as R,b as A,C as E,a as $}from"./index-CtmDKjho.js";import{u as _}from"./use-virtual-mcp-DA_eW6A-.js";import{c as P}from"./hooks-B1fmVRiE.js";import{f as w}from"./reusable-new-chat-CouMjkYR.js";const h=new Map;function I(e){return`${e.orgId}:${e.userId}`}function G(e){return`sidebar.group-order.${e}`}function O(e){try{const t=localStorage.getItem(e),r=t?JSON.parse(t):[];return Array.isArray(r)?r.filter(s=>typeof s=="string"):[]}catch{return[]}}function N(e,t){try{localStorage.setItem(e,JSON.stringify(t))}catch{}}function U(e){const t=I(e),r=h.get(t);if(r)return r;const s=y.sidebarGroupOrder(e.orgId,e.userId);let a=!1;try{a=localStorage.getItem(s)!==null}catch{}let o=O(s);if(!a&&o.length===0&&e.userId!=="anon"){const i=O(G(e.orgId));i.length>0&&(o=i)}return h.set(t,o),o}function T(e,t){const r=new Set(t);return U(e).filter(s=>!r.has(s))}function j(e,t){h.set(I(e),t),N(y.sidebarGroupOrder(e.orgId,e.userId),t)}function K(e,t,r=[]){if(r.includes(t))return;const s=T(e,r);s.includes(t)||j(e,[t,...s])}const S=c.createContext(null);function Q(e){const t=b.c(7),{children:r}=e,[s,a]=c.useState(!1),[o,i]=c.useState(0);let d;t[0]===Symbol.for("react.memo_cache_sentinel")?(d=()=>i(k),t[0]=d):d=t[0];const l=d;let n;t[1]!==s||t[2]!==o?(n={empty:s,setEmpty:a,orderRevision:o,bumpOrderRevision:l},t[1]=s,t[2]=o,t[3]=n):n=t[3];let u;return t[4]!==r||t[5]!==n?(u=R.jsx(S.Provider,{value:n,children:r}),t[4]=r,t[5]=n,t[6]=u):u=t[6],u}function k(e){return e+1}function W(){return c.useContext(S)?.empty??!1}function D(){return c.useContext(S)?.bumpOrderRevision??J}function J(){}const v=[],L=()=>()=>{};function B(e){return(e??[]).filter(t=>!!t.pinned).map(t=>t.id)}function X(){const e=b.c(15),t=A(),{org:r}=E(),s=_(),{data:a}=$.useSession(),o=a?.user?.id??"anon";let i;e[0]!==s?(i=B(s),e[0]=s,e[1]=i):i=e[1];const d=i,l=D(),n=P();let u;e[2]!==n?.threads.get?(u=n?.threads.get??V,e[2]=n?.threads.get,e[3]=u):u=e[3];let f;e[4]!==n?.threads.get?(f=n?.threads.get??H,e[4]=n?.threads.get,e[5]=f):f=e[5];const m=c.useSyncExternalStore(n?.threads.subscribe??L,u,f);let g;return e[6]!==l||e[7]!==t||e[8]!==r.id||e[9]!==r.slug||e[10]!==d||e[11]!==a?.user?.id||e[12]!==o||e[13]!==m?(g=(p,x)=>{K({orgId:r.id,userId:o},p,d),l();const C=w(m,p,a?.user?.id)?.id??crypto.randomUUID();t({to:"/$org/$taskId",params:{org:r.slug,taskId:C},search:{...x?.search??{},virtualmcpid:p}})},e[6]=l,e[7]=t,e[8]=r.id,e[9]=r.slug,e[10]=d,e[11]=a?.user?.id,e[12]=o,e[13]=m,e[14]=g):g=e[14],g}function H(){return v}function V(){return v}export{Q as S,D as a,K as b,X as c,B as g,W as u};
|
package/dist/client/assets/{use-org-auth-client-_VwdWZIg.js → use-org-auth-client-FI-e8pz8.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as x,C,a as i}from"./index-
|
|
1
|
+
import{c as x,C,a as i}from"./index-CtmDKjho.js";function q(){const e=x.c(32),{org:O}=C(),o=O.id;let z;e[0]!==o?(z=R=>(f=>i.organization[R]({...f??{},organizationId:o})),e[0]=o,e[1]=z):z=e[1];const t=z;let M;e[2]!==o?(M=R=>(f=>{const y={...f??{}},h=y.query??{};return y.query={...h,organizationId:o},i.organization[R](y)}),e[2]=o,e[3]=M):M=e[3];const n=M;let a,r;e[4]!==n?(a=n("listMembers"),r=n("listRoles"),e[4]=n,e[5]=a,e[6]=r):(a=e[5],r=e[6]);let l,s,c,g,u,m,d,v,b;e[7]!==t?(g=t("inviteMember"),u=t("removeMember"),m=t("updateMemberRole"),d=t("addMember"),v=t("createRole"),b=t("updateRole"),l=t("deleteRole"),s=t("cancelInvitation"),c=t("update"),e[7]=t,e[8]=l,e[9]=s,e[10]=c,e[11]=g,e[12]=u,e[13]=m,e[14]=d,e[15]=v,e[16]=b):(l=e[8],s=e[9],c=e[10],g=e[11],u=e[12],m=e[13],d=e[14],v=e[15],b=e[16]);let p;e[17]!==n?(p=n("getActiveMember"),e[17]=n,e[18]=p):p=e[18];let I;return e[19]!==l||e[20]!==s||e[21]!==c||e[22]!==p||e[23]!==a||e[24]!==r||e[25]!==g||e[26]!==u||e[27]!==m||e[28]!==d||e[29]!==v||e[30]!==b?(I={organization:{listMembers:a,listRoles:r,inviteMember:g,removeMember:u,updateMemberRole:m,addMember:d,createRole:v,updateRole:b,deleteRole:l,cancelInvitation:s,update:c,getActiveMember:p,acceptInvitation:i.organization.acceptInvitation,rejectInvitation:i.organization.rejectInvitation,getInvitation:i.organization.getInvitation,list:i.organization.list,create:i.organization.create,getFullOrganization:i.organization.getFullOrganization}},e[19]=l,e[20]=s,e[21]=c,e[22]=p,e[23]=a,e[24]=r,e[25]=g,e[26]=u,e[27]=m,e[28]=d,e[29]=v,e[30]=b,e[31]=I):I=e[31],I}export{q as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as u,m as S,n as r,d as y,K as c}from"./index-
|
|
1
|
+
import{c as u,m as S,n as r,d as y,K as c}from"./index-CtmDKjho.js";async function f(i,a,e){const s=await fetch(i,a);if(!s.ok){const t=await s.json().catch(()=>null);throw new Error(t?.error||e)}return s.json()}function m(i,a){const e=u.c(8);let s;e[0]!==i?(s=c.orgSsoStatus(i??""),e[0]=i,e[1]=s):s=e[1];let t;e[2]!==a?(t=()=>f(`/api/${a}/sso/status`,void 0,"Failed to check SSO status"),e[2]=a,e[3]=t):t=e[3];const n=!!i&&!!a;let o;return e[4]!==s||e[5]!==t||e[6]!==n?(o={queryKey:s,queryFn:t,enabled:n},e[4]=s,e[5]=t,e[6]=n,e[7]=o):o=e[7],S(o)}function q(i,a){const e=u.c(8);let s;e[0]!==i?(s=c.orgSsoConfig(i??""),e[0]=i,e[1]=s):s=e[1];let t;e[2]!==a?(t=()=>f(`/api/${a}/sso/config`,void 0,"Failed to fetch SSO config"),e[2]=a,e[3]=t):t=e[3];const n=!!i&&!!a;let o;return e[4]!==s||e[5]!==t||e[6]!==n?(o={queryKey:s,queryFn:t,enabled:n},e[4]=s,e[5]=t,e[6]=n,e[7]=o):o=e[7],S(o)}function C(i,a){const e=u.c(8),s=r();let t;e[0]!==a?(t=l=>f(`/api/${a}/sso/config`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(l)},"Failed to save SSO config"),e[0]=a,e[1]=t):t=e[1];let n;e[2]!==i||e[3]!==s?(n=()=>{s.invalidateQueries({queryKey:c.orgSsoConfig(i)}),s.invalidateQueries({queryKey:c.orgSsoStatus(i)})},e[2]=i,e[3]=s,e[4]=n):n=e[4];let o;return e[5]!==t||e[6]!==n?(o={mutationFn:t,onSuccess:n},e[5]=t,e[6]=n,e[7]=o):o=e[7],y(o)}function O(i,a){const e=u.c(8),s=r();let t;e[0]!==a?(t=()=>f(`/api/${a}/sso/config`,{method:"DELETE"},"Failed to delete SSO config"),e[0]=a,e[1]=t):t=e[1];let n;e[2]!==i||e[3]!==s?(n=()=>{s.invalidateQueries({queryKey:c.orgSsoConfig(i)}),s.invalidateQueries({queryKey:c.orgSsoStatus(i)})},e[2]=i,e[3]=s,e[4]=n):n=e[4];let o;return e[5]!==t||e[6]!==n?(o={mutationFn:t,onSuccess:n},e[5]=t,e[6]=n,e[7]=o):o=e[7],y(o)}function d(i,a){const e=u.c(8),s=r();let t;e[0]!==a?(t=l=>f(`/api/${a}/sso/config/enforce`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({enforced:l})},"Failed to toggle SSO enforcement"),e[0]=a,e[1]=t):t=e[1];let n;e[2]!==i||e[3]!==s?(n=()=>{s.invalidateQueries({queryKey:c.orgSsoConfig(i)}),s.invalidateQueries({queryKey:c.orgSsoStatus(i)})},e[2]=i,e[3]=s,e[4]=n):n=e[4];let o;return e[5]!==t||e[6]!==n?(o={mutationFn:t,onSuccess:n},e[5]=t,e[6]=n,e[7]=o):o=e[7],y(o)}export{q as a,C as b,O as c,d,m as u};
|
package/dist/client/assets/{use-organization-roles-B5YTnNe5.js → use-organization-roles-BYhToDWV.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{u as R}from"./use-org-auth-client-
|
|
1
|
+
import{u as R}from"./use-org-auth-client-FI-e8pz8.js";import{C as b,m as P,K as y}from"./index-CtmDKjho.js";const w=[{value:"owner",label:"Owner",isBuiltin:!0},{value:"admin",label:"Admin",isBuiltin:!0},{value:"user",label:"User",isBuiltin:!0}];function B(t){return t.replace(/-/g," ").replace(/\b\w/g,n=>n.toUpperCase())}function O(t){if(!t)return{staticPermissions:[],allowsAllStaticPermissions:!1,connectionIds:[],allowsAllConnections:!1,toolNames:[],allowsAllTools:!1,modelCount:0,allowsAllModels:!1};const n=[];let i=!1;const u=[];let c=!1;const a=new Set;let s=!1,f=0,e=!1;for(const[l,o]of Object.entries(t)){if(l==="self"){o.includes("*")?i=!0:n.push(...o);continue}if(l==="models"){o.includes("*:*")?e=!0:f=o.length;continue}if(l==="*"){if(c=!0,o.includes("*"))s=!0;else for(const r of o)a.add(r);continue}if(u.push(l),o.includes("*"))s=!0;else for(const r of o)a.add(r)}return{staticPermissions:n,allowsAllStaticPermissions:i,connectionIds:u,allowsAllConnections:c,toolNames:Array.from(a),allowsAllTools:s,modelCount:f,allowsAllModels:e}}function I(){const{locator:t}=b(),n=R(),{data:i,isLoading:u,error:c,refetch:a}=P({queryKey:y.organizationRoles(t),queryFn:async()=>{try{const e=await n.organization.listRoles();return e?.error?(console.error("[useOrganizationRoles] API error:",e.error),[]):e?.data??[]}catch(e){return console.error("[useOrganizationRoles] Fetch error:",e),[]}},staleTime:3e4}),s=w.map(e=>({role:e.value,label:e.label,isBuiltin:e.isBuiltin}));if(i&&Array.isArray(i))for(const e of i){const l=e.role;if(!l||w.some(h=>h.value===l))continue;const{staticPermissions:o,allowsAllStaticPermissions:r,connectionIds:g,allowsAllConnections:m,toolNames:p,allowsAllTools:d,modelCount:C,allowsAllModels:A}=O(e.permission);s.push({id:e.id,role:l,label:B(l),isBuiltin:!1,permission:e.permission??void 0,staticPermissionCount:r?-1:o.length,allowsAllStaticPermissions:r,connectionCount:m?-1:g.length,allowsAllConnections:m,toolCount:d?-1:p.length,allowsAllTools:d,modelCount:A?-1:C,allowsAllModels:A})}const f=s.filter(e=>!e.isBuiltin);return{roles:s,customRoles:f,builtinRoles:s.filter(e=>e.isBuiltin),isLoading:u,error:c,refetch:a}}export{I as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as l,C as g,m as b,K as _,n as E,d as z,r as R}from"./index-
|
|
1
|
+
import{c as l,C as g,m as b,K as _,n as E,d as z,r as R}from"./index-CtmDKjho.js";import{W as D}from"./constants-D_FQAPnt.js";import{c as C,u as G}from"./studio-tools-kep5O8QJ.js";const I={organizationId:"",sidebar_items:null,enabled_plugins:null,registry_config:null,simple_mode:null,default_home_agents:null,reports_only:null,task_board_enabled:!1},O={tiers:{fast:null,smart:null,thinking:null,image:null,web_search:null,deep_research:null}};function N(t,e){return{queryKey:_.organizationSettings(e),queryFn:async()=>{try{return await C(t,"ORGANIZATION_SETTINGS_GET",{})}catch{return{...I,organizationId:e}}},staleTime:6e4}}function f(t){const e=l.c(6),{org:s}=g();let n;e[0]!==s.id||e[1]!==s.slug?(n=N(s.slug,s.id),e[0]=s.id,e[1]=s.slug,e[2]=n):n=e[2];const a=t;let r;return e[3]!==n||e[4]!==a?(r={...n,select:a},e[3]=n,e[4]=a,e[5]=r):r=e[5],b(r)}function j(t,e){const s=l.c(3);let n;s[0]!==t||s[1]!==e?(n=N(e,t),s[0]=t,s[1]=e,s[2]=n):n=s[2];const{data:a}=b(n);return a??null}function y(){const t=l.c(9),{org:e}=g(),s=G(),n=E();let a;t[0]!==e||t[1]!==s?(a=async o=>{const u=await s.call("ORGANIZATION_SETTINGS_UPDATE",{organizationId:e.id,...o});if(!u)throw new Error("ORGANIZATION_SETTINGS_UPDATE returned no payload");return u},t[0]=e,t[1]=s,t[2]=a):a=t[2];let r;t[3]!==e||t[4]!==n?(r=o=>{n.setQueryData(_.organizationSettings(e.id),u=>({...u??I,...o}))},t[3]=e,t[4]=n,t[5]=r):r=t[5];let i;return t[6]!==a||t[7]!==r?(i={mutationFn:a,onSuccess:r},t[6]=a,t[7]=r,t[8]=i):i=t[8],z(i)}function M(t){return t?.tiers?{tiers:{fast:t.tiers.fast??null,smart:t.tiers.smart??null,thinking:t.tiers.thinking??null,image:t.tiers.image??null,web_search:t.tiers.web_search??null,deep_research:t.tiers.deep_research??null}}:O}function F(){const{data:t}=f(Q);return t??O}function Q(t){return M(t.simple_mode)}function L(){const t=l.c(7),e=y();let s,n;t[0]!==e?(s=(r,i)=>e.mutate({simple_mode:r},i),n=(r,i)=>e.mutateAsync({simple_mode:r},i),t[0]=e,t[1]=s,t[2]=n):(s=t[1],n=t[2]);let a;return t[3]!==e||t[4]!==s||t[5]!==n?(a={...e,mutate:s,mutateAsync:n},t[3]=e,t[4]=s,t[5]=n,t[6]=a):a=t[6],a}function $(){const{data:t}=f(P);return t??!1}function P(t){return t.reports_only??!1}function v(){const t=$(),{data:e}=f(U);return t||(e??!1)}function U(t){return t.task_board_enabled??!1}function J(){const t=l.c(7),e=y();let s,n;t[0]!==e?(s=(r,i)=>e.mutate({task_board_enabled:r},i),n=(r,i)=>e.mutateAsync({task_board_enabled:r},i),t[0]=e,t[1]=s,t[2]=n):(s=t[1],n=t[2]);let a;return t[3]!==e||t[4]!==s||t[5]!==n?(a={...e,mutate:s,mutateAsync:n},t[3]=e,t[4]=s,t[5]=n,t[6]=a):a=t[6],a}function x(){const{data:t}=f(q);return t??null}function q(t){return t.registry_config}function V(){const t=l.c(7),e=y();let s,n;t[0]!==e?(s=(r,i)=>e.mutate({registry_config:r},i),n=(r,i)=>e.mutateAsync({registry_config:r},i),t[0]=e,t[1]=s,t[2]=n):(s=t[1],n=t[2]);let a;return t[3]!==e||t[4]!==s||t[5]!==n?(a={...e,mutate:s,mutateAsync:n},t[3]=e,t[4]=s,t[5]=n,t[6]=a):a=t[6],a}function X(){const{data:t}=f(K);return t??null}function K(t){return t.default_home_agents}function Y(){const t=l.c(7),e=y();let s,n;t[0]!==e?(s=(r,i)=>e.mutate({default_home_agents:r},i),n=(r,i)=>e.mutateAsync({default_home_agents:r},i),t[0]=e,t[1]=s,t[2]=n):(s=t[1],n=t[2]);let a;return t[3]!==e||t[4]!==s||t[5]!==n?(a={...e,mutate:s,mutateAsync:n},t[3]=e,t[4]=s,t[5]=n,t[6]=a):a=t[6],a}function tt(){const t=l.c(14),{org:e}=g(),s=Y(),n=E();let a;t[0]===Symbol.for("react.memo_cache_sentinel")?(a=Promise.resolve(),t[0]=a):a=t[0];const r=R.useRef(a);let i;t[1]!==e.id?(i=_.organizationSettings(e.id),t[1]=e.id,t[2]=i):i=t[2];const o=i;let u;t[3]!==o||t[4]!==n?(u=()=>n.getQueryData(o)?.default_home_agents?.ids??[],t[3]=o,t[4]=n,t[5]=u):u=t[5];const p=u;let m;t[6]!==o||t[7]!==e.slug||t[8]!==n||t[9]!==s?(m=k=>{const T=r.current.then(async()=>{const A=n.getQueryData(o),S=k(A?.default_home_agents?.ids??[]);if(S!==null){n.setQueryData(o,c=>c&&{...c,default_home_agents:{ids:S}});try{await s.mutateAsync({ids:S}),await n.refetchQueries({queryKey:_.homeNextActions(e.slug),type:"active"})}catch(c){const w=c;throw n.setQueryData(o,A),w}}});return r.current=T.catch(B),T},t[6]=o,t[7]=e.slug,t[8]=n,t[9]=s,t[10]=m):m=t[10];const h=m;let d;return t[11]!==h||t[12]!==p?(d={currentIds:p,apply:h},t[11]=h,t[12]=p,t[13]=d):d=t[13],d}function B(){}function et(){const t=l.c(5),{org:e}=g(),s=x();let n;t[0]!==e.id?(n=D.REGISTRY(e.id),t[0]=e.id,t[1]=n):n=t[1];const a=n;let r;return t[2]!==a||t[3]!==s?(r=i=>{if(!s)return i===a;const o=s.registries[i];return o?o.enabled:i===a},t[2]=a,t[3]=s,t[4]=r):r=t[4],r}export{X as a,tt as b,v as c,et as d,j as e,J as f,F as g,L as h,x as i,V as j,$ as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as C,C as R}from"./index-
|
|
1
|
+
import{c as C,C as R}from"./index-CtmDKjho.js";import{u as p}from"./use-connection-Bok-D6Qs.js";import{W as a}from"./constants-D_FQAPnt.js";import{i as y}from"./use-organization-settings-BVb9A1_X.js";function M(){const e=C.c(19),{org:s}=R(),o=y();let l;e[0]!==s.id?(l=a.REGISTRY(s.id),e[0]=s.id,e[1]=l):l=e[1];const d=l;let f;e[2]!==s.id?(f=a.COMMUNITY_REGISTRY(s.id),e[2]=s.id,e[3]=f):f=e[3];const g=f;let r;e[4]!==g||e[5]!==d?(r=[d,g],e[4]=g,e[5]=d,e[6]=r):r=e[6];let t;if(e[7]!==o||e[8]!==r){if(t=new Set(r),o?.registries){let i;e[10]!==o.registries?(i=Object.keys(o.registries),e[10]=o.registries,e[11]=i):i=e[11];for(const u of i)t.add(u)}e[7]=o,e[8]=r,e[9]=t}else t=e[9];const m=p();let n;e[12]!==m?(n=m??[],e[12]=m,e[13]=n):n=e[13];let c;if(e[14]!==t||e[15]!==n){let i;e[17]!==t?(i=u=>t.has(u.id),e[17]=t,e[18]=i):i=e[18],c=n.filter(i),e[14]=t,e[15]=n,e[16]=c}else c=e[16];return c}export{M as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as r,C as a,K as c,v as f,n as y,d as S}from"./index-
|
|
1
|
+
import{c as r,C as a,K as c,v as f,n as y,d as S}from"./index-CtmDKjho.js";import{u as l}from"./studio-tools-kep5O8QJ.js";function E(){const e=r.c(7),{org:o}=a(),n=l();let i;e[0]!==o.id?(i=c.secrets(o.id),e[0]=o.id,e[1]=i):i=e[1];let t;e[2]!==n?(t=async()=>await n.call("SECRET_LIST",{}),e[2]=n,e[3]=t):t=e[3];let s;e[4]!==i||e[5]!==t?(s={queryKey:i,staleTime:6e4,queryFn:t},e[4]=i,e[5]=t,e[6]=s):s=e[6];const{data:u}=f(s);return u.secrets}function p(){const e=r.c(8),{org:o}=a(),n=l(),i=y();let t;e[0]!==n?(t=async d=>await n.call("SECRET_CREATE",{...d}),e[0]=n,e[1]=t):t=e[1];let s;e[2]!==o||e[3]!==i?(s=()=>{i.invalidateQueries({queryKey:c.secrets(o.id)})},e[2]=o,e[3]=i,e[4]=s):s=e[4];let u;return e[5]!==t||e[6]!==s?(u={mutationFn:t,onSuccess:s},e[5]=t,e[6]=s,e[7]=u):u=e[7],S(u)}export{p as a,E as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as r,U as u}from"./index-
|
|
1
|
+
import{c as r,U as u}from"./index-CtmDKjho.js";import{p as i,q as c}from"./question-004-sINsf4GQ.js";import{u as f}from"./use-decopilot-events-CJjqvWi5.js";const p=new Set(["completed","failed","requires_action"]);function U(s){const e=r.c(5),[n]=u();let t;e[0]!==n?(t=o=>{n.enableSounds&&p.has(o.data.status)&&i(c.dataUri).catch(l)},e[0]=n,e[1]=t):t=e[1];let a;e[2]!==s||e[3]!==t?(a={orgSlug:s,onTaskStatus:t},e[2]=s,e[3]=t,e[4]=a):a=e[4],f(a)}function l(s){console.warn("[status-sounds] playback failed:",s)}export{U as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as p,r as f}from"./index-
|
|
1
|
+
import{c as p,r as f}from"./index-CtmDKjho.js";import{u as w}from"./use-mobile-DFnyYGVl.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 as a,C as d,al as P,m as p}from"./index-
|
|
1
|
+
import{c as a,C as d,al as P,m as p}from"./index-CtmDKjho.js";import{b as L,a as S,u as V}from"./use-collections-CrdXolhz.js";import{u as g}from"./use-mcp-client-NO6KutWW.js";import{S as m}from"./constants-D_FQAPnt.js";function b(e){const t=a.c(5);let s;t[0]!==e?(s=e===void 0?{}:e,t[0]=e,t[1]=s):s=t[1];const i=s,{org:n}=d();let o;t[2]!==n.id||t[3]!==n.slug?(o={connectionId:m,orgId:n.id,orgSlug:n.slug},t[2]=n.id,t[3]=n.slug,t[4]=o):o=t[4];const l=g(o);return L(n.id,"VIRTUAL_MCP",l,i)}function R(e){const t=a.c(3),{org:s}=d();let i;t[0]!==s.id||t[1]!==s.slug?(i={connectionId:m,orgId:s.id,orgSlug:s.slug},t[0]=s.id,t[1]=s.slug,t[2]=i):i=t[2];const n=g(i);return V(s.id,"VIRTUAL_MCP",e??void 0,n)}function E(e){const t=a.c(15),{org:s}=d();let i;t[0]!==s.id||t[1]!==s.slug?(i={connectionId:m,orgId:s.id,orgSlug:s.slug},t[0]=s.id,t[1]=s.slug,t[2]=i):i=t[2];const n=g(i);let o,l,c;t[3]!==e||t[4]!==s.id?(o=[...e].sort(),c=p,l=P.virtualMcpLastUsed(s.id,o),t[3]=e,t[4]=s.id,t[5]=o,t[6]=l,t[7]=c):(o=t[5],l=t[6],c=t[7]);const C=o.length>0;let u;t[8]!==n||t[9]!==o?(u=async()=>{const M=(await n.callTool({name:"VIRTUAL_MCP_LAST_USED_LIST",arguments:{ids:o}})).structuredContent??{items:[]},f=new Map;for(const I of M.items)f.set(I.id,I);return f},t[8]=n,t[9]=o,t[10]=u):u=t[10];let r;return t[11]!==l||t[12]!==C||t[13]!==u?(r={queryKey:l,enabled:C,staleTime:3e4,queryFn:u},t[11]=l,t[12]=C,t[13]=u,t[14]=r):r=t[14],c(r)}function $(){const e=a.c(3),{org:t}=d();let s;e[0]!==t.id||e[1]!==t.slug?(s={connectionId:m,orgId:t.id,orgSlug:t.slug},e[0]=t.id,e[1]=t.slug,e[2]=s):s=e[2];const i=g(s);return S(t.id,"VIRTUAL_MCP",i)}export{R as a,$ as b,E as c,b as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{I as u}from"./use-infinite-scroll-BMcwffhP.js";import{dK as i}from"./index-CtmDKjho.js";function t(e,r){return i(e,u,r)}export{t as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{aZ as s,r as a,a_ as c,a$ as i}from"./index-
|
|
1
|
+
import{aZ as s,r as a,a_ as c,a$ as i}from"./index-CtmDKjho.js";function f(r){const n=s({warn:r?.router===void 0}),t=r?.router||n,u=a.useRef(void 0);return c(t.stores.__store,e=>{if(r?.select){if(r.structuralSharing??t.options.defaultStructuralSharing){const o=i(u.current,r.select(e));return u.current=o,o}return r.select(e)}return e})}export{f as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{I as s}from"./use-infinite-scroll-BMcwffhP.js";import{dK as u,ab as n}from"./index-CtmDKjho.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 B,r as F,a as I,m as R,d as V,j as t,K,B as T,t as $}from"./index-
|
|
1
|
+
import{c as B,r as F,a as I,m as R,d as V,j as t,K,B as T,t as $}from"./index-CtmDKjho.js";import{P as b}from"./index-ClEwczQI.js";import{C as q}from"./collection-table-wrapper-BpW07u2I.js";import{E}from"./empty-state-vAdhtwOY.js";import{S as z}from"./search-input-CYidtQyA.js";import{A as D}from"./avatar-BfhxX2tl.js";import{B as U}from"./badge-Cw4luecf.js";import{u as L}from"./use-debounced-value-Bcsek1yy.js";import{a as k}from"./admin-fetch-CCSvjTk1.js";import{f as M}from"./format-time-BnbuEtat.js";import{g as O}from"./get-initials-D-f_fDFw.js";import"./sidebar-ChomDgWx.js";import"./LayoutLeft-DQ8QKlvy.js";import"./use-mobile-DFnyYGVl.js";import"./X-CjQyhbxA.js";import"./tooltip-Vjj2FaHc.js";import"./table-zeKDWHHn.js";import"./ArrowUp-C3ER02Jz.js";import"./SearchMd-0PDn734t.js";import"./User01-DdaqhM8X.js";import"./differenceInSeconds-NQ4PDo0z.js";function Ne(){const e=B.c(31),[r,P]=F.useState("");let c;e[0]!==r?(c=r.trim(),e[0]=r,e[1]=c):c=e[1];const s=L(c,300),{data:A}=I.useSession(),S=A?.user?.id;let a;e[2]!==s?(a=K.deploymentAdminUsers(s),e[2]=s,e[3]=a):a=e[3];let i;e[4]!==s?(i=()=>{const l=new URLSearchParams({limit:"100"});return s&&l.set("searchValue",s),k(`/api/_admin/users?${l}`)},e[4]=s,e[5]=i):i=e[5];let d;e[6]!==a||e[7]!==i?(d={queryKey:a,queryFn:i},e[6]=a,e[7]=i,e[8]=d):d=e[8];const{data:y,isLoading:v,isError:w}=R(d);let u;e[9]===Symbol.for("react.memo_cache_sentinel")?(u={mutationFn:H,onSuccess:G,onError:Y},e[9]=u):u=e[9];const f=V(u);let p;e[10]!==y?.users?(p=y?.users??[],e[10]=y?.users,e[11]=p):p=e[11];const C=p;let h,x,g;e[12]===Symbol.for("react.memo_cache_sentinel")?(h={id:"user",header:"User",render:W,cellClassName:"flex-1 min-w-0"},x={id:"verified",header:"Email",render:Q,cellClassName:"w-28 shrink-0"},g={id:"created",header:"Created",render:J,cellClassName:"w-48 shrink-0"},e[12]=h,e[13]=x,e[14]=g):(h=e[12],x=e[13],g=e[14]);let j;e[15]!==S||e[16]!==f?(j=[h,x,g,{id:"actions",header:"",render:l=>t.jsx(T,{variant:"outline",size:"sm",disabled:l.id===S||f.isPending,onClick:()=>f.mutate(l.id),children:"Impersonate"}),cellClassName:"w-32 shrink-0"}],e[15]=S,e[16]=f,e[17]=j):j=e[17];const _=j;let n;e[18]!==r?(n=t.jsx(z,{value:r,onChange:P,placeholder:"Search users by email or name...",className:"w-full md:w-[375px]"}),e[18]=r,e[19]=n):n=e[19];let o;e[20]!==s||e[21]!==w?(o=w?t.jsx(E,{title:"Failed to load users",description:"Something went wrong. Refresh to try again."}):t.jsx(E,{title:"No users found",description:s?`No users match "${s}"`:"No users yet."}),e[20]=s,e[21]=w,e[22]=o):o=e[22];let m;e[23]!==_||e[24]!==v||e[25]!==o||e[26]!==C?(m=t.jsx(q,{columns:_,data:C,isLoading:v,emptyState:o}),e[23]=_,e[24]=v,e[25]=o,e[26]=C,e[27]=m):m=e[27];let N;return e[28]!==n||e[29]!==m?(N=t.jsx(b,{children:t.jsx(b.Content,{children:t.jsx(b.Body,{children:t.jsxs("div",{className:"flex flex-col gap-6",children:[n,m]})})})}),e[28]=n,e[29]=m,e[30]=N):N=e[30],N}function J(e){return t.jsx("span",{className:"text-sm text-foreground",children:M(e.createdAt)})}function Q(e){return e.emailVerified?t.jsx(U,{variant:"outline",className:"text-green-600 border-green-400",children:"Verified"}):t.jsx(U,{variant:"outline",className:"text-muted-foreground",children:"Unverified"})}function W(e){return t.jsxs("div",{className:"flex items-center gap-3",children:[t.jsx(D,{url:e.image??void 0,fallback:O(e.name),shape:"circle",size:"sm"}),t.jsxs("div",{className:"min-w-0",children:[t.jsx("div",{className:"text-sm font-medium text-foreground truncate",children:e.name||"Unknown"}),t.jsx("div",{className:"text-sm text-muted-foreground truncate",children:e.email})]})]})}function Y(e){$.error(e instanceof Error?e.message:"Failed to impersonate user")}function G(){window.location.href="/"}function H(e){return k("/api/_admin/impersonate",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({userId:e})})}export{Ne as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as V,r as U,j as s,l as J,B as Y}from"./index-DQ-6hR-X.js";import{e as ct}from"./agent-icon-a2x5fd-o.js";import{n as mt,b as et}from"./UserPlus01-GLKxCq_s.js";import{i as pt}from"./ChevronRight-Chu0pD-9.js";import{L as dt}from"./label-B8nmgOSq.js";import{A as rt}from"./automation-runs-D6ubrf-V.js";import{S as ft}from"./switch-CZNaizJE.js";import{T as ut,b as ht,a as gt}from"./tooltip-CHBWA8gH.js";import{V as xt}from"./view-mode-toggle-DkAyxzj5.js";import"./AlertCircle-Daeiw45X.js";import"./Tool01-xNbtOyfO.js";import"./ArrowUp-C4OwO4ko.js";import"./Settings02-Dr_urQ1O.js";import"./Tool02-Bwwenryi.js";import"./XCircle-D_o-DJ1r.js";import"./ArrowUpRight-BXVvg_cT.js";import"./TrendUp01-i8mRNYBS.js";import"./ZapSquare-CoabTdXH.js";import"./Users03-DkYImenY.js";import"./CheckCircle-ByOnwy76.js";import"./Check-DiIqUFxu.js";import"./ChevronDown-SRZZ4kMH.js";import"./ChevronUp-Qv_gKnbe.js";import"./Circle-M_ftnS8R.js";import"./Stars02-B4F5M-Q6.js";import"./Copy01-DpmFLWHG.js";import"./ZoomOut-CnjMjclS.js";import"./DotsVertical-z7548wpB.js";import"./Globe01-WDsBVwau.js";import"./Eye-DDP_jE0a.js";import"./FilterLines-BhdeikCB.js";import"./Flag01-c49iCsVo.js";import"./Star01-DlYl5sJR.js";import"./Globe04-BKs-H5O0.js";import"./SwitchHorizontal01-CAGFkXoy.js";import"./HardDrive-CuJwfOKh.js";import"./Key01-D_1S9fae.js";import"./LayoutLeft-DQDvxfWK.js";import"./LinkExternal01-COk0Bv4h.js";import"./List-JGCvnXal.js";import"./Monitor01-BE4OpNoK.js";import"./Sun-4jcvn0BB.js";import"./Package-CVX8XV19.js";import"./Palette-Bs3WlNmE.js";import"./Play-DGBRvjJS.js";import"./Plus-D9mmseDG.js";import"./SearchLg-C-DM8QtQ.js";import"./SearchMd-CQzQbmLc.js";import"./Shield01-DiLOGMOL.js";import"./Stars01-BqZ5zBBt.js";import"./Trash01-BS6FbQZK.js";import"./Upload01-CpqdDldw.js";import"./User01-Bxtw8UQo.js";import"./Users01-BTMjzyym.js";import"./XClose-BGIhhRqk.js";import"./X-FKqBaXYm.js";import"./Zap-BrsfgCHt.js";import"./select-Ncv3FOzh.js";import"./useInfiniteQuery-C9s47sOj.js";import"./use-infinite-scroll-BnU_spjp.js";import"./use-connection-Cgc-bwUe.js";import"./use-collections-DN7wKcl2.js";import"./use-mcp-client-fAsbyV7C.js";import"./constants-D_FQAPnt.js";import"./auth-B5a5xVPH.js";import"./use-virtual-mcp-Cp3bSTbV.js";import"./card-CBIqNwhi.js";import"./sidebar-M3NGoFTz.js";import"./use-mobile-DnWb4um7.js";import"./table-B1rvuxE0.js";import"./empty-state-C47K1Di0.js";import"./use-members-BW_22zD4.js";import"./use-org-auth-client-_VwdWZIg.js";import"./use-clock-tick-BZpEMweC.js";import"./use-automations-A24H5yoR.js";import"./studio-tools-BfTodPve.js";import"./useSuspenseInfiniteQuery-J7uGzka-.js";import"./badge-D-KfQMtr.js";import"./checkbox-Dc5f4fdg.js";import"./command-C6j36Gmh.js";import"./index-FYtNhQHN.js";import"./dialog-CglIfHLs.js";import"./popover-BHQbf__A.js";import"./avatar-CH1JM0pD.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-BI_mQCc1.js";import"./file-type-icon-5cKse1ni.js";import"./tab-id-BijBBRwE.js";import"./monaco-editor-Ckc9cDlD.js";import"./index-DnuHdiFw.js";import"./chat-context-BAso6MKn.js";import"./autosend-CQbqlwXU.js";import"./hooks-D_3-1ib3.js";import"./decopilot-sse-pool-D6sk9to2.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./use-ai-providers-DaguuBvl.js";import"./use-decopilot-events-DzoJ1cW8.js";import"./use-organization-settings-Ctd6W6cK.js";import"./index-D13m8QU-.js";import"./shell-layout-BxUbdSdC.js";import"./alert-dialog-DW8C2Tug.js";import"./required-auth-layout-BS-xHr42.js";import"./use-org-sso-hD7hz9Pa.js";import"./integration-icon-DJwKNUBn.js";import"./use-navigate-to-agent-BavtfcJj.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-Ddtv9jOO.js";import"./form-uoJA1zis.js";import"./input-Bb8IG4Xl.js";const bt=new Set(["website/matchers/date.ts","$live/matchers/MatchDate.ts"]),yt=new Set(["website/matchers/multi.ts","$live/matchers/MatchMulti.ts"]),Tt=new Date(-864e13),vt=new Date(864e13),jt=/\/flags\/multivariate(?:\/[^/]+)?\.ts$/,Nt=/\/flags\/multivariate\.ts$/;function wt(e){let t=e;t.startsWith("pages-")&&(t=t.slice(6).replace(/-\d+$/,""));try{t=decodeURIComponent(t)}catch{}return t}function kt(e){if(!e||typeof e!="object")return null;const{start:t,end:r}=e,n=typeof t=="string",l=typeof r=="string";if(!n&&!l)return null;const o=n?new Date(t):Tt,m=l?new Date(r):vt;return Number.isNaN(o.getTime())||Number.isNaN(m.getTime())||n&&l&&m.getTime()<=o.getTime()?null:{start:o,end:m,openStart:!n,openEnd:!l}}function nt(e,t){if(!e||typeof e!="object")return;const r=e.__resolveType;if(typeof r=="string"){if(bt.has(r)){const n=kt(e);n&&t.push(n);return}if(yt.has(r)){const n=e.matchers;if(Array.isArray(n))for(const l of n)nt(l,t)}}}function _t(e){if(!e||typeof e!="object")return!1;const t=e.__resolveType;if(typeof t!="string"||!jt.test(t))return!1;const r=e.variants;return Array.isArray(r)}function Mt(e){if(typeof e=="string"){const a=e.trim();if(a.length===0)return null;try{const i=new URL(a).pathname.split("/").filter(Boolean),p=i[i.length-1];if(p)return decodeURIComponent(p)}catch{}return a.length>80?`${a.slice(0,77)}…`:a}if(!e||typeof e!="object")return null;const t=e,r=t.config,l=t.desktop?.media,o=[t.title,t.name,t.label,t.alt,r?.title,r?.name,r?.typeAlert?.message,l?.alt,Array.isArray(t.matcher)?t.matcher[0]:void 0];for(const a of o)if(typeof a=="string"&&a.trim().length>0)return a.trim();const m=t.__resolveType;if(typeof m=="string"){const c=(m.split("/").pop()??m).replace(/\.(tsx?|jsx?)$/i,"");if(c.length>0)return c}return null}function Et(e){const t=[];for(let r=0;r<e.length;r++){const n=e[r];typeof n=="number"?t.length>0?t[t.length-1]+=`[${n}]`:t.push(`[${n}]`):t.push(n)}return t.join(" · ")}function W(e,t,r,n,l){if(_t(e)){const o=e.variants,m=e.__resolveType,a=Nt.test(m)?"":Et(n);o.forEach((c,i)=>{if(!c||typeof c!="object")return;const p=c,d=[];if(nt(p.rule,d),d.length===0)return;const x=Mt(p.value)??(a||r);for(const h of d)l.push({blockKey:t,blockLabel:r,innerPath:a,variantIndex:i,start:h.start,end:h.end,openStart:h.openStart,openEnd:h.openEnd,label:x,flagResolveType:m})});for(let c=0;c<o.length;c++){const i=o[c];i&&typeof i=="object"&&W(i.value,t,r,[...n,"variants",c,"value"],l)}return}if(Array.isArray(e)){for(let o=0;o<e.length;o++)W(e[o],t,r,[...n,o],l);return}if(e&&typeof e=="object")for(const[o,m]of Object.entries(e))o!=="__resolveType"&&W(m,t,r,[...n,o],l)}function St(e){if(!e)return[];const t=[];for(const[r,n]of Object.entries(e))W(n,r,wt(r),[],t);return t.sort((r,n)=>r.start.getTime()-n.start.getTime())}function At(e){const t=[...new Set(e)].sort(),r=new Map;return t.forEach((n,l)=>{const o=l*137.508%360;r.set(n,{bg:`oklch(0.62 0.14 ${o})`,text:"white",border:`oklch(0.50 0.14 ${o})`})}),r}const Dt={bg:"oklch(0.62 0.14 0)",text:"white",border:"oklch(0.50 0.14 0)"};function ot(e,t){return e.get(t)??Dt}const $t=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],st=["January","February","March","April","May","June","July","August","September","October","November","December"],it=1440*60*1e3;function P(e){const t=new Date(e);return t.setHours(0,0,0,0),t}function at(e){return new Date(e.getFullYear(),e.getMonth(),1)}function F(e,t){return new Date(e.getFullYear(),e.getMonth()+t,1)}function z(e,t){const r=new Date(e);return r.setDate(r.getDate()+t),r}function K(e,t){return Math.round((P(e).getTime()-P(t).getTime())/it)}function Ct(e){const t=(e.getTime()-P(e).getTime())/it;return Math.min(Math.max(t,0),1)}function q(e,t){return K(e,t)+Ct(e)}function Rt(e){const t=z(e,-e.getDay()),r=[];for(let n=0;n<6;n++){const l=[];for(let o=0;o<7;o++)l.push(z(t,n*7+o));r.push(l)}for(;r.length>0&&r[r.length-1].every(n=>n.getMonth()!==e.getMonth());)r.pop();return r}function Lt(e,t){const r=P(e[0]),n=z(r,7),l=r.getTime(),o=n.getTime(),m=[];for(const i of t){const p=P(i.start),d=P(i.end);if(d.getTime()<r.getTime()||p.getTime()>=n.getTime())continue;const u=p.getTime()<r.getTime()?r:p,x=d.getTime()>=n.getTime()?z(n,-1):d,h=K(u,r),g=K(x,u)+1;if(g<=0)continue;const b=Math.max(i.start.getTime(),l),y=Math.min(i.end.getTime(),o),T=q(new Date(b),r),f=Math.max(q(new Date(y),r)-T,0);f<=0||m.push({variant:i,startCol:h,span:g,leftUnits:T,widthUnits:f})}m.sort((i,p)=>i.startCol-p.startCol||p.span-i.span||i.variant.blockKey.localeCompare(p.variant.blockKey));const a=[],c=[];for(const i of m){let p=a.findIndex(d=>d<=i.startCol);p===-1&&(p=a.length,a.push(0)),a[p]=i.startCol+i.span,c.push({...i,lane:p})}return c}const Q=new Intl.DateTimeFormat("en",{dateStyle:"medium",timeStyle:"short"});function Ot(e){const t=e.openStart?"Always":Q.format(e.start),r=e.openEnd?"Ongoing":Q.format(e.end);return`${t} → ${r}`}function Pt(e){const t=V.c(17),{variant:r}=e;let n;t[0]!==r.blockLabel?(n=s.jsx("div",{className:"font-semibold",children:r.blockLabel}),t[0]=r.blockLabel,t[1]=n):n=t[1];let l;t[2]!==r.innerPath?(l=r.innerPath&&s.jsx("div",{className:"text-muted-foreground",children:r.innerPath}),t[2]=r.innerPath,t[3]=l):l=t[3];let o;t[4]!==r.blockLabel||t[5]!==r.innerPath||t[6]!==r.label?(o=r.label!==r.blockLabel&&r.label!==r.innerPath&&s.jsx("div",{className:"text-muted-foreground",children:r.label}),t[4]=r.blockLabel,t[5]=r.innerPath,t[6]=r.label,t[7]=o):o=t[7];let m;t[8]!==r?(m=Ot(r),t[8]=r,t[9]=m):m=t[9];let a;t[10]!==m?(a=s.jsx("div",{className:"mt-1",children:m}),t[10]=m,t[11]=a):a=t[11];let c;return t[12]!==n||t[13]!==l||t[14]!==o||t[15]!==a?(c=s.jsx(gt,{children:s.jsxs("div",{className:"text-xs",children:[n,l,o,a]})}),t[12]=n,t[13]=l,t[14]=o,t[15]=a,t[16]=c):c=t[16],c}const X=16;function It(e,t){const r=e?"transparent":"#000 0",n=t?"transparent":"#000 100%";if(!(!e&&!t))return`linear-gradient(to right, ${r}, #000 ${X}px, #000 calc(100% - ${X}px), ${n})`}function lt(e){const t=V.c(26),{variant:r,color:n,style:l,children:o,fadeStart:m,fadeEnd:a}=e,c=m===void 0?!1:m,i=a===void 0?!1:a;let p;t[0]!==i||t[1]!==c?(p=It(c,i),t[0]=i,t[1]=c,t[2]=p):p=t[2];const d=p;let u;t[3]!==c?(u=c&&{borderTopLeftRadius:0,borderBottomLeftRadius:0},t[3]=c,t[4]=u):u=t[4];let x;t[5]!==i?(x=i&&{borderTopRightRadius:0,borderBottomRightRadius:0},t[5]=i,t[6]=x):x=t[6];let h;t[7]!==d?(h=d&&{maskImage:d,WebkitMaskImage:d},t[7]=d,t[8]=h):h=t[8];let g;t[9]!==n.bg||t[10]!==n.text||t[11]!==l||t[12]!==u||t[13]!==x||t[14]!==h?(g={background:n.bg,color:n.text,borderRadius:4,...u,...x,...h,...l},t[9]=n.bg,t[10]=n.text,t[11]=l,t[12]=u,t[13]=x,t[14]=h,t[15]=g):g=t[15];let b;t[16]!==o?(b=s.jsx("span",{className:"truncate",children:o}),t[16]=o,t[17]=b):b=t[17];let y;t[18]!==g||t[19]!==b?(y=s.jsx(ut,{asChild:!0,children:s.jsx("div",{className:"absolute flex items-center px-2 text-[11px] font-medium truncate cursor-default",style:g,children:b})}),t[18]=g,t[19]=b,t[20]=y):y=t[20];let T;t[21]!==r?(T=s.jsx(Pt,{variant:r}),t[21]=r,t[22]=T):T=t[22];let f;return t[23]!==T||t[24]!==y?(f=s.jsxs(ht,{children:[y,T]}),t[23]=T,t[24]=y,t[25]=f):f=t[25],f}function rn(e){const t=V.c(49),{decofile:r}=e,[n,l]=U.useState("calendar"),[o,m]=U.useState(Bt),[a,c]=U.useState(!1);let i,p,d;if(t[0]!==r||t[1]!==a){const S=St(r);i=S.filter(Ht).length,d=a?S:S.filter(Vt),p=At(d.map(Ft)),t[0]=r,t[1]=a,t[2]=i,t[3]=p,t[4]=d}else i=t[2],p=t[3],d=t[4];const u=p;let x;t[5]===Symbol.for("react.memo_cache_sentinel")?(x=()=>m(at(new Date)),t[5]=x):x=t[5];const h=x;let g;t[6]!==n?(g=()=>m(S=>n==="calendar"?F(S,-1):F(S,-3)),t[6]=n,t[7]=g):g=t[7];const b=g;let y;t[8]!==n?(y=()=>m(S=>n==="calendar"?F(S,1):F(S,3)),t[8]=n,t[9]=y):y=t[9];const T=y;let f;t[10]===Symbol.for("react.memo_cache_sentinel")?(f=s.jsx(Y,{variant:"outline",size:"sm",onClick:h,children:"Today"}),t[10]=f):f=t[10];let w;t[11]===Symbol.for("react.memo_cache_sentinel")?(w=s.jsx(mt,{size:16}),t[11]=w):w=t[11];let k;t[12]!==b?(k=s.jsx(Y,{variant:"ghost",size:"icon",className:"size-8",onClick:b,"aria-label":"Previous",children:w}),t[12]=b,t[13]=k):k=t[13];let _;t[14]===Symbol.for("react.memo_cache_sentinel")?(_=s.jsx(pt,{size:16}),t[14]=_):_=t[14];let M;t[15]!==T?(M=s.jsx(Y,{variant:"ghost",size:"icon",className:"size-8",onClick:T,"aria-label":"Next",children:_}),t[15]=T,t[16]=M):M=t[16];const A=st[o.getMonth()];let E;t[17]!==o?(E=o.getFullYear(),t[17]=o,t[18]=E):E=t[18];let v;t[19]!==A||t[20]!==E?(v=s.jsxs("h2",{className:"ml-2 text-base font-semibold",children:[A," ",E]}),t[19]=A,t[20]=E,t[21]=v):v=t[21];let j;t[22]!==v||t[23]!==k||t[24]!==M?(j=s.jsxs("div",{className:"flex items-center gap-2",children:[f,k,M,v]}),t[22]=v,t[23]=k,t[24]=M,t[25]=j):j=t[25];let D;t[26]!==i||t[27]!==a?(D=i>0&&s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(ft,{id:"show-ongoing",checked:a,onCheckedChange:c}),s.jsxs(dt,{htmlFor:"show-ongoing",className:"text-xs text-muted-foreground cursor-pointer",children:["Show ongoing (",i,")"]})]}),t[26]=i,t[27]=a,t[28]=D):D=t[28];let L;t[29]===Symbol.for("react.memo_cache_sentinel")?(L={value:"calendar",icon:s.jsx(et,{}),label:"Calendar"},t[29]=L):L=t[29];let I;t[30]===Symbol.for("react.memo_cache_sentinel")?(I=[L,{value:"timeline",icon:s.jsx(ct,{}),label:"Timeline"}],t[30]=I):I=t[30];let N;t[31]!==n?(N=s.jsx(xt,{value:n,onValueChange:l,options:I}),t[31]=n,t[32]=N):N=t[32];let R;t[33]!==D||t[34]!==N?(R=s.jsxs("div",{className:"flex items-center gap-4",children:[D,N]}),t[33]=D,t[34]=N,t[35]=R):R=t[35];let $;t[36]!==j||t[37]!==R?($=s.jsxs("div",{className:"flex items-center justify-between px-4 h-12 border-b shrink-0",children:[j,R]}),t[36]=j,t[37]=R,t[38]=$):$=t[38];let C;t[39]!==u||t[40]!==o||t[41]!==i||t[42]!==a||t[43]!==d||t[44]!==n?(C=d.length===0?s.jsx(Wt,{hiddenOngoing:a?0:i}):n==="calendar"?s.jsx(Ut,{monthStart:o,variants:d,colorMap:u}):s.jsx(Jt,{monthStart:o,variants:d,colorMap:u}),t[39]=u,t[40]=o,t[41]=i,t[42]=a,t[43]=d,t[44]=n,t[45]=C):C=t[45];let O;return t[46]!==$||t[47]!==C?(O=s.jsxs("div",{className:"flex h-full w-full flex-col",children:[$,C]}),t[46]=$,t[47]=C,t[48]=O):O=t[48],O}function Ft(e){return e.blockKey}function Vt(e){return!e.openEnd}function Ht(e){return e.openEnd}function Bt(){return at(new Date)}function Wt(e){const t=V.c(3),{hiddenOngoing:r}=e,n=r===void 0?0:r;let l;t[0]===Symbol.for("react.memo_cache_sentinel")?(l=s.jsx(et,{size:24,className:"text-muted-foreground/60"}),t[0]=l):l=t[0];let o;return t[1]!==n?(o=s.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center gap-2 text-center text-sm text-muted-foreground p-6",children:[l,n>0?s.jsxs(s.Fragment,{children:[s.jsx("div",{children:"No dated variants in view."}),s.jsxs("div",{className:"text-xs text-muted-foreground/80",children:[n," ongoing"," ",n===1?"variant is":"variants are"," hidden — enable “Show ongoing” to view."]})]}):s.jsxs(s.Fragment,{children:[s.jsx("div",{children:"No scheduled variants."}),s.jsx("div",{className:"text-xs text-muted-foreground/80",children:"Variants gated by a date matcher appear here."})]})]}),t[1]=n,t[2]=o):o=t[2],o}const G=20,Z=2,tt=28,zt=6;function Ut(e){const t=V.c(17),{monthStart:r,variants:n,colorMap:l}=e;let o,m,a,c,i;if(t[0]!==l||t[1]!==r||t[2]!==n){const u=Rt(r),x=P(new Date);o=rt,i="flex-1 min-h-0",m="min-w-[840px]",t[8]===Symbol.for("react.memo_cache_sentinel")?(a=s.jsx("div",{className:"grid grid-cols-7 border-b text-xs text-muted-foreground sticky top-0 bg-background z-10",children:$t.map(Gt)}),t[8]=a):a=t[8],c=u.map((h,g)=>{const b=Lt(h,n),y=b.reduce(Yt,0),T=tt+y*(G+Z)+8;return s.jsxs("div",{className:"grid grid-cols-7 relative border-b",style:{height:T},children:[h.map((f,w)=>{const k=f.getMonth()===r.getMonth(),_=f.getTime()===x.getTime();return s.jsx("div",{className:J("border-r last:border-r-0 px-2 pt-1.5 text-xs",k?"bg-background":"bg-muted/30 text-muted-foreground"),children:s.jsx("span",{className:J("inline-flex h-5 min-w-5 items-center justify-center rounded-full px-1",_&&"bg-primary text-primary-foreground font-semibold"),children:f.getDate()})},w)}),b.map((f,w)=>{const k=ot(l,f.variant.blockKey),_=tt+f.lane*(G+Z),M=f.leftUnits/7*100,A=f.widthUnits/7*100,E=f.variant.openStart&&g===0,v=f.variant.openEnd&&g===u.length-1;return s.jsxs(lt,{variant:f.variant,color:k,fadeStart:E,fadeEnd:v,style:{top:_,left:`calc(${M}% + 2px)`,width:`calc(${A}% - 4px)`,minWidth:zt,height:G},children:[f.variant.blockLabel,f.variant.label!==f.variant.blockLabel&&s.jsxs("span",{className:"opacity-70",children:[" · ",f.variant.label]})]},`${g}-${w}`)})]},g)}),t[0]=l,t[1]=r,t[2]=n,t[3]=o,t[4]=m,t[5]=a,t[6]=c,t[7]=i}else o=t[3],m=t[4],a=t[5],c=t[6],i=t[7];let p;t[9]!==m||t[10]!==a||t[11]!==c?(p=s.jsxs("div",{className:m,children:[a,c]}),t[9]=m,t[10]=a,t[11]=c,t[12]=p):p=t[12];let d;return t[13]!==o||t[14]!==i||t[15]!==p?(d=s.jsx(o,{className:i,children:p}),t[13]=o,t[14]=i,t[15]=p,t[16]=d):d=t[16],d}function Yt(e,t){return Math.max(e,t.lane+1)}function Gt(e){return s.jsx("div",{className:"px-2 py-2 text-center uppercase tracking-wide",children:e},e)}const B=4,Kt=32,H=240;function Jt(e){const t=V.c(27),{monthStart:r,variants:n,colorMap:l}=e,o=r;let m,a,c,i,p,d;if(t[0]!==l||t[1]!==r||t[2]!==o||t[3]!==n){const h=F(r,B),g=new Date,b=new Map;for(const v of n){const j=b.get(v.blockKey)??[];j.push(v),b.set(v.blockKey,j)}const y=Array.from(b.entries()).sort(Xt),T=h.getTime()-o.getTime(),f=v=>(Math.max(o.getTime(),Math.min(h.getTime(),v.getTime()))-o.getTime())/T*100;let w;t[10]!==o?(w=(v,j)=>F(o,j),t[10]=o,t[11]=w):w=t[11];const k=Array.from({length:B},w),_=g.getTime()>=o.getTime()&&g.getTime()<=h.getTime()?f(g):null;m=rt,d="flex-1 min-h-0",a="min-w-[900px] relative";let M;t[12]===Symbol.for("react.memo_cache_sentinel")?(M=s.jsx("div",{className:"shrink-0 px-3 py-2 text-xs font-semibold uppercase tracking-wide text-muted-foreground border-r",style:{width:H},children:"Variant / Block"}),t[12]=M):M=t[12];let A;t[13]===Symbol.for("react.memo_cache_sentinel")?(A={gridTemplateColumns:`repeat(${B}, minmax(0, 1fr))`},t[13]=A):A=t[13];const E=k.map(Qt);t[14]!==E?(c=s.jsxs("div",{className:"flex border-b sticky top-0 bg-background z-10",children:[M,s.jsx("div",{className:"flex-1 grid",style:A,children:E})]}),t[14]=E,t[15]=c):c=t[15],t[16]!==_?(i=_!==null&&s.jsx("div",{className:"pointer-events-none absolute top-0 bottom-0 w-px bg-primary/70 z-[5]",style:{left:`calc(${H}px + (100% - ${H}px) * ${_} / 100)`},children:s.jsx("span",{className:"absolute -top-0.5 -translate-x-1/2 rounded-sm bg-primary px-1.5 py-px text-[10px] font-medium text-primary-foreground",children:"Today"})}),t[16]=_,t[17]=i):i=t[17],p=y.map(v=>{const[j,D]=v,L=ot(l,j),I=D[0]?.blockLabel??j;return s.jsxs("div",{children:[s.jsx("div",{className:"flex items-center bg-muted/40 border-b text-xs font-semibold uppercase tracking-wide text-muted-foreground",style:{height:28},children:s.jsx("div",{className:"px-3 truncate",style:{width:H},children:I})}),D.map((N,R)=>s.jsxs("div",{className:"flex border-b items-center",style:{height:Kt},children:[s.jsxs("div",{className:"flex items-center gap-2 px-3 text-sm border-r shrink-0",style:{width:H},children:[s.jsx("span",{className:"inline-block h-2 w-2 rounded-full shrink-0",style:{background:L.bg}}),s.jsx("span",{className:"truncate text-foreground/80",children:N.label})]}),s.jsxs("div",{className:"relative flex-1 h-full",children:[s.jsx("div",{className:"absolute inset-0 grid",style:{gridTemplateColumns:`repeat(${B}, minmax(0, 1fr))`},children:k.map(qt)}),(()=>{const $=Math.max(N.start.getTime(),o.getTime()),C=Math.min(N.end.getTime(),h.getTime());if(C<=$)return null;const O=f(new Date($)),S=f(new Date(C))-O;return s.jsx(lt,{variant:N,color:L,fadeStart:N.openStart,fadeEnd:N.openEnd,style:{top:"50%",transform:"translateY(-50%)",left:`${O}%`,width:`calc(${S}% - 2px)`,height:22},children:N.label})})()]})]},R))]},j)}),t[0]=l,t[1]=r,t[2]=o,t[3]=n,t[4]=m,t[5]=a,t[6]=c,t[7]=i,t[8]=p,t[9]=d}else m=t[4],a=t[5],c=t[6],i=t[7],p=t[8],d=t[9];let u;t[18]!==a||t[19]!==c||t[20]!==i||t[21]!==p?(u=s.jsxs("div",{className:a,children:[c,i,p]}),t[18]=a,t[19]=c,t[20]=i,t[21]=p,t[22]=u):u=t[22];let x;return t[23]!==m||t[24]!==d||t[25]!==u?(x=s.jsx(m,{className:d,children:u}),t[23]=m,t[24]=d,t[25]=u,t[26]=x):x=t[26],x}function qt(e,t){return s.jsx("div",{className:"border-r last:border-r-0 border-border/40"},t)}function Qt(e,t){return s.jsxs("div",{className:"px-2 py-2 text-xs uppercase tracking-wide text-muted-foreground border-r last:border-r-0",children:[st[e.getMonth()]?.slice(0,3)," ",e.getFullYear()]},t)}function Xt(e,t){return e[0].localeCompare(t[0])}export{rn as VariantCalendar};
|
|
1
|
+
import{c as V,r as U,j as s,l as J,B as Y}from"./index-CtmDKjho.js";import{e as ct}from"./agent-icon-CM1O1k4U.js";import{n as mt,b as et}from"./UserPlus01-4lEVNF4n.js";import{i as pt}from"./ChevronRight-DbBwZrzb.js";import{L as dt}from"./label-Cut4_H5e.js";import{A as rt}from"./automation-runs-0oLIdBYY.js";import{S as ft}from"./switch-C-1pGPkK.js";import{T as ut,b as ht,a as gt}from"./tooltip-Vjj2FaHc.js";import{V as xt}from"./view-mode-toggle-Bl55Yc_Z.js";import"./AlertCircle-CMif8eKx.js";import"./Tool01-BMa8w32X.js";import"./ArrowUp-C3ER02Jz.js";import"./Settings02-DsUlYC2s.js";import"./Tool02-C725qFkp.js";import"./XCircle-CToZDOb2.js";import"./ArrowUpRight-CaWddBD9.js";import"./TrendUp01-Cs1lv6DV.js";import"./ZapSquare-BGORja_0.js";import"./Users03-BYNal7rX.js";import"./CheckCircle-Ys0uWr4V.js";import"./Check-5N2bU_kF.js";import"./ChevronDown--7_G9vy2.js";import"./ChevronUp-DkTCURYw.js";import"./Circle-BaaiYcy_.js";import"./Stars02-7b1krFSs.js";import"./Copy01-BzWjaXbI.js";import"./ZoomOut-n9MaiuYa.js";import"./DotsVertical-PGqo3fhn.js";import"./Globe01-CcvvEoPJ.js";import"./Eye-CUbRUfeP.js";import"./FilterLines-CPWBW0pL.js";import"./Flag01-PCsGE5WG.js";import"./Star01-DfXzMZVe.js";import"./Globe04-CVWcc8rB.js";import"./SwitchHorizontal01-BsE95Cgz.js";import"./HardDrive-fVyKTdT0.js";import"./Key01-C_GqKOk-.js";import"./LayoutLeft-DQ8QKlvy.js";import"./LinkExternal01-DfNSJadY.js";import"./List-DnDkNbbh.js";import"./Monitor01-BXfdc3HY.js";import"./Sun-DoYS7-r4.js";import"./Package-B_mIMlD5.js";import"./Palette-D3AbswTL.js";import"./Play-C6p5zqAw.js";import"./Plus-DbtrfAj1.js";import"./SearchLg-D9dkBkZZ.js";import"./SearchMd-0PDn734t.js";import"./Shield01-BeFUsvGK.js";import"./Stars01-DCaXyzfk.js";import"./Trash01-AGsyc2Lz.js";import"./Upload01-Dfauc7mP.js";import"./User01-DdaqhM8X.js";import"./Users01-BhL9efAm.js";import"./XClose-eftoazYG.js";import"./X-CjQyhbxA.js";import"./Zap-BP5HL64n.js";import"./select-BmZpvuqB.js";import"./useInfiniteQuery-DK_bIKEr.js";import"./use-infinite-scroll-BMcwffhP.js";import"./use-connection-Bok-D6Qs.js";import"./use-collections-CrdXolhz.js";import"./use-mcp-client-NO6KutWW.js";import"./constants-D_FQAPnt.js";import"./auth-DlV9DBBE.js";import"./use-virtual-mcp-DA_eW6A-.js";import"./card-C4uObVs8.js";import"./sidebar-ChomDgWx.js";import"./use-mobile-DFnyYGVl.js";import"./table-zeKDWHHn.js";import"./empty-state-vAdhtwOY.js";import"./use-members-DCnm_dh6.js";import"./use-org-auth-client-FI-e8pz8.js";import"./use-clock-tick-C-6z8GTe.js";import"./use-automations-DBoQteZ9.js";import"./studio-tools-kep5O8QJ.js";import"./useSuspenseInfiniteQuery-DthsCuSi.js";import"./badge-Cw4luecf.js";import"./checkbox-DptWJIrf.js";import"./command-BrPlC0h4.js";import"./index-DvtLIZhX.js";import"./dialog-BITptHAG.js";import"./popover-ChMJMgl2.js";import"./avatar-BfhxX2tl.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-B0rV9n0S.js";import"./file-type-icon-B6P27_YP.js";import"./tab-id-BijBBRwE.js";import"./monaco-editor-CIYAtCWV.js";import"./index-Due9WHuS.js";import"./chat-context-BcPGPgy3.js";import"./autosend-O-Hr5pHJ.js";import"./hooks-B1fmVRiE.js";import"./decopilot-sse-pool-BZZzw4TH.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./use-ai-providers-jnkXqxpD.js";import"./use-decopilot-events-CJjqvWi5.js";import"./use-organization-settings-BVb9A1_X.js";import"./index-Q6qykuG6.js";import"./shell-layout-DBsbD1zB.js";import"./alert-dialog-7ar29pHb.js";import"./required-auth-layout-BMlXQvg1.js";import"./use-org-sso-DJBzgF3L.js";import"./integration-icon-CA0yHbZL.js";import"./use-navigate-to-agent-DjDOxxPy.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-BVuliQI3.js";import"./form-BXJfIPJg.js";import"./input-VtQVSUgA.js";const bt=new Set(["website/matchers/date.ts","$live/matchers/MatchDate.ts"]),yt=new Set(["website/matchers/multi.ts","$live/matchers/MatchMulti.ts"]),Tt=new Date(-864e13),vt=new Date(864e13),jt=/\/flags\/multivariate(?:\/[^/]+)?\.ts$/,Nt=/\/flags\/multivariate\.ts$/;function wt(e){let t=e;t.startsWith("pages-")&&(t=t.slice(6).replace(/-\d+$/,""));try{t=decodeURIComponent(t)}catch{}return t}function kt(e){if(!e||typeof e!="object")return null;const{start:t,end:r}=e,n=typeof t=="string",l=typeof r=="string";if(!n&&!l)return null;const o=n?new Date(t):Tt,m=l?new Date(r):vt;return Number.isNaN(o.getTime())||Number.isNaN(m.getTime())||n&&l&&m.getTime()<=o.getTime()?null:{start:o,end:m,openStart:!n,openEnd:!l}}function nt(e,t){if(!e||typeof e!="object")return;const r=e.__resolveType;if(typeof r=="string"){if(bt.has(r)){const n=kt(e);n&&t.push(n);return}if(yt.has(r)){const n=e.matchers;if(Array.isArray(n))for(const l of n)nt(l,t)}}}function _t(e){if(!e||typeof e!="object")return!1;const t=e.__resolveType;if(typeof t!="string"||!jt.test(t))return!1;const r=e.variants;return Array.isArray(r)}function Mt(e){if(typeof e=="string"){const a=e.trim();if(a.length===0)return null;try{const i=new URL(a).pathname.split("/").filter(Boolean),p=i[i.length-1];if(p)return decodeURIComponent(p)}catch{}return a.length>80?`${a.slice(0,77)}…`:a}if(!e||typeof e!="object")return null;const t=e,r=t.config,l=t.desktop?.media,o=[t.title,t.name,t.label,t.alt,r?.title,r?.name,r?.typeAlert?.message,l?.alt,Array.isArray(t.matcher)?t.matcher[0]:void 0];for(const a of o)if(typeof a=="string"&&a.trim().length>0)return a.trim();const m=t.__resolveType;if(typeof m=="string"){const c=(m.split("/").pop()??m).replace(/\.(tsx?|jsx?)$/i,"");if(c.length>0)return c}return null}function Et(e){const t=[];for(let r=0;r<e.length;r++){const n=e[r];typeof n=="number"?t.length>0?t[t.length-1]+=`[${n}]`:t.push(`[${n}]`):t.push(n)}return t.join(" · ")}function W(e,t,r,n,l){if(_t(e)){const o=e.variants,m=e.__resolveType,a=Nt.test(m)?"":Et(n);o.forEach((c,i)=>{if(!c||typeof c!="object")return;const p=c,d=[];if(nt(p.rule,d),d.length===0)return;const x=Mt(p.value)??(a||r);for(const h of d)l.push({blockKey:t,blockLabel:r,innerPath:a,variantIndex:i,start:h.start,end:h.end,openStart:h.openStart,openEnd:h.openEnd,label:x,flagResolveType:m})});for(let c=0;c<o.length;c++){const i=o[c];i&&typeof i=="object"&&W(i.value,t,r,[...n,"variants",c,"value"],l)}return}if(Array.isArray(e)){for(let o=0;o<e.length;o++)W(e[o],t,r,[...n,o],l);return}if(e&&typeof e=="object")for(const[o,m]of Object.entries(e))o!=="__resolveType"&&W(m,t,r,[...n,o],l)}function St(e){if(!e)return[];const t=[];for(const[r,n]of Object.entries(e))W(n,r,wt(r),[],t);return t.sort((r,n)=>r.start.getTime()-n.start.getTime())}function At(e){const t=[...new Set(e)].sort(),r=new Map;return t.forEach((n,l)=>{const o=l*137.508%360;r.set(n,{bg:`oklch(0.62 0.14 ${o})`,text:"white",border:`oklch(0.50 0.14 ${o})`})}),r}const Dt={bg:"oklch(0.62 0.14 0)",text:"white",border:"oklch(0.50 0.14 0)"};function ot(e,t){return e.get(t)??Dt}const $t=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],st=["January","February","March","April","May","June","July","August","September","October","November","December"],it=1440*60*1e3;function P(e){const t=new Date(e);return t.setHours(0,0,0,0),t}function at(e){return new Date(e.getFullYear(),e.getMonth(),1)}function F(e,t){return new Date(e.getFullYear(),e.getMonth()+t,1)}function z(e,t){const r=new Date(e);return r.setDate(r.getDate()+t),r}function K(e,t){return Math.round((P(e).getTime()-P(t).getTime())/it)}function Ct(e){const t=(e.getTime()-P(e).getTime())/it;return Math.min(Math.max(t,0),1)}function q(e,t){return K(e,t)+Ct(e)}function Rt(e){const t=z(e,-e.getDay()),r=[];for(let n=0;n<6;n++){const l=[];for(let o=0;o<7;o++)l.push(z(t,n*7+o));r.push(l)}for(;r.length>0&&r[r.length-1].every(n=>n.getMonth()!==e.getMonth());)r.pop();return r}function Lt(e,t){const r=P(e[0]),n=z(r,7),l=r.getTime(),o=n.getTime(),m=[];for(const i of t){const p=P(i.start),d=P(i.end);if(d.getTime()<r.getTime()||p.getTime()>=n.getTime())continue;const u=p.getTime()<r.getTime()?r:p,x=d.getTime()>=n.getTime()?z(n,-1):d,h=K(u,r),g=K(x,u)+1;if(g<=0)continue;const b=Math.max(i.start.getTime(),l),y=Math.min(i.end.getTime(),o),T=q(new Date(b),r),f=Math.max(q(new Date(y),r)-T,0);f<=0||m.push({variant:i,startCol:h,span:g,leftUnits:T,widthUnits:f})}m.sort((i,p)=>i.startCol-p.startCol||p.span-i.span||i.variant.blockKey.localeCompare(p.variant.blockKey));const a=[],c=[];for(const i of m){let p=a.findIndex(d=>d<=i.startCol);p===-1&&(p=a.length,a.push(0)),a[p]=i.startCol+i.span,c.push({...i,lane:p})}return c}const Q=new Intl.DateTimeFormat("en",{dateStyle:"medium",timeStyle:"short"});function Ot(e){const t=e.openStart?"Always":Q.format(e.start),r=e.openEnd?"Ongoing":Q.format(e.end);return`${t} → ${r}`}function Pt(e){const t=V.c(17),{variant:r}=e;let n;t[0]!==r.blockLabel?(n=s.jsx("div",{className:"font-semibold",children:r.blockLabel}),t[0]=r.blockLabel,t[1]=n):n=t[1];let l;t[2]!==r.innerPath?(l=r.innerPath&&s.jsx("div",{className:"text-muted-foreground",children:r.innerPath}),t[2]=r.innerPath,t[3]=l):l=t[3];let o;t[4]!==r.blockLabel||t[5]!==r.innerPath||t[6]!==r.label?(o=r.label!==r.blockLabel&&r.label!==r.innerPath&&s.jsx("div",{className:"text-muted-foreground",children:r.label}),t[4]=r.blockLabel,t[5]=r.innerPath,t[6]=r.label,t[7]=o):o=t[7];let m;t[8]!==r?(m=Ot(r),t[8]=r,t[9]=m):m=t[9];let a;t[10]!==m?(a=s.jsx("div",{className:"mt-1",children:m}),t[10]=m,t[11]=a):a=t[11];let c;return t[12]!==n||t[13]!==l||t[14]!==o||t[15]!==a?(c=s.jsx(gt,{children:s.jsxs("div",{className:"text-xs",children:[n,l,o,a]})}),t[12]=n,t[13]=l,t[14]=o,t[15]=a,t[16]=c):c=t[16],c}const X=16;function It(e,t){const r=e?"transparent":"#000 0",n=t?"transparent":"#000 100%";if(!(!e&&!t))return`linear-gradient(to right, ${r}, #000 ${X}px, #000 calc(100% - ${X}px), ${n})`}function lt(e){const t=V.c(26),{variant:r,color:n,style:l,children:o,fadeStart:m,fadeEnd:a}=e,c=m===void 0?!1:m,i=a===void 0?!1:a;let p;t[0]!==i||t[1]!==c?(p=It(c,i),t[0]=i,t[1]=c,t[2]=p):p=t[2];const d=p;let u;t[3]!==c?(u=c&&{borderTopLeftRadius:0,borderBottomLeftRadius:0},t[3]=c,t[4]=u):u=t[4];let x;t[5]!==i?(x=i&&{borderTopRightRadius:0,borderBottomRightRadius:0},t[5]=i,t[6]=x):x=t[6];let h;t[7]!==d?(h=d&&{maskImage:d,WebkitMaskImage:d},t[7]=d,t[8]=h):h=t[8];let g;t[9]!==n.bg||t[10]!==n.text||t[11]!==l||t[12]!==u||t[13]!==x||t[14]!==h?(g={background:n.bg,color:n.text,borderRadius:4,...u,...x,...h,...l},t[9]=n.bg,t[10]=n.text,t[11]=l,t[12]=u,t[13]=x,t[14]=h,t[15]=g):g=t[15];let b;t[16]!==o?(b=s.jsx("span",{className:"truncate",children:o}),t[16]=o,t[17]=b):b=t[17];let y;t[18]!==g||t[19]!==b?(y=s.jsx(ut,{asChild:!0,children:s.jsx("div",{className:"absolute flex items-center px-2 text-[11px] font-medium truncate cursor-default",style:g,children:b})}),t[18]=g,t[19]=b,t[20]=y):y=t[20];let T;t[21]!==r?(T=s.jsx(Pt,{variant:r}),t[21]=r,t[22]=T):T=t[22];let f;return t[23]!==T||t[24]!==y?(f=s.jsxs(ht,{children:[y,T]}),t[23]=T,t[24]=y,t[25]=f):f=t[25],f}function rn(e){const t=V.c(49),{decofile:r}=e,[n,l]=U.useState("calendar"),[o,m]=U.useState(Bt),[a,c]=U.useState(!1);let i,p,d;if(t[0]!==r||t[1]!==a){const S=St(r);i=S.filter(Ht).length,d=a?S:S.filter(Vt),p=At(d.map(Ft)),t[0]=r,t[1]=a,t[2]=i,t[3]=p,t[4]=d}else i=t[2],p=t[3],d=t[4];const u=p;let x;t[5]===Symbol.for("react.memo_cache_sentinel")?(x=()=>m(at(new Date)),t[5]=x):x=t[5];const h=x;let g;t[6]!==n?(g=()=>m(S=>n==="calendar"?F(S,-1):F(S,-3)),t[6]=n,t[7]=g):g=t[7];const b=g;let y;t[8]!==n?(y=()=>m(S=>n==="calendar"?F(S,1):F(S,3)),t[8]=n,t[9]=y):y=t[9];const T=y;let f;t[10]===Symbol.for("react.memo_cache_sentinel")?(f=s.jsx(Y,{variant:"outline",size:"sm",onClick:h,children:"Today"}),t[10]=f):f=t[10];let w;t[11]===Symbol.for("react.memo_cache_sentinel")?(w=s.jsx(mt,{size:16}),t[11]=w):w=t[11];let k;t[12]!==b?(k=s.jsx(Y,{variant:"ghost",size:"icon",className:"size-8",onClick:b,"aria-label":"Previous",children:w}),t[12]=b,t[13]=k):k=t[13];let _;t[14]===Symbol.for("react.memo_cache_sentinel")?(_=s.jsx(pt,{size:16}),t[14]=_):_=t[14];let M;t[15]!==T?(M=s.jsx(Y,{variant:"ghost",size:"icon",className:"size-8",onClick:T,"aria-label":"Next",children:_}),t[15]=T,t[16]=M):M=t[16];const A=st[o.getMonth()];let E;t[17]!==o?(E=o.getFullYear(),t[17]=o,t[18]=E):E=t[18];let v;t[19]!==A||t[20]!==E?(v=s.jsxs("h2",{className:"ml-2 text-base font-semibold",children:[A," ",E]}),t[19]=A,t[20]=E,t[21]=v):v=t[21];let j;t[22]!==v||t[23]!==k||t[24]!==M?(j=s.jsxs("div",{className:"flex items-center gap-2",children:[f,k,M,v]}),t[22]=v,t[23]=k,t[24]=M,t[25]=j):j=t[25];let D;t[26]!==i||t[27]!==a?(D=i>0&&s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(ft,{id:"show-ongoing",checked:a,onCheckedChange:c}),s.jsxs(dt,{htmlFor:"show-ongoing",className:"text-xs text-muted-foreground cursor-pointer",children:["Show ongoing (",i,")"]})]}),t[26]=i,t[27]=a,t[28]=D):D=t[28];let L;t[29]===Symbol.for("react.memo_cache_sentinel")?(L={value:"calendar",icon:s.jsx(et,{}),label:"Calendar"},t[29]=L):L=t[29];let I;t[30]===Symbol.for("react.memo_cache_sentinel")?(I=[L,{value:"timeline",icon:s.jsx(ct,{}),label:"Timeline"}],t[30]=I):I=t[30];let N;t[31]!==n?(N=s.jsx(xt,{value:n,onValueChange:l,options:I}),t[31]=n,t[32]=N):N=t[32];let R;t[33]!==D||t[34]!==N?(R=s.jsxs("div",{className:"flex items-center gap-4",children:[D,N]}),t[33]=D,t[34]=N,t[35]=R):R=t[35];let $;t[36]!==j||t[37]!==R?($=s.jsxs("div",{className:"flex items-center justify-between px-4 h-12 border-b shrink-0",children:[j,R]}),t[36]=j,t[37]=R,t[38]=$):$=t[38];let C;t[39]!==u||t[40]!==o||t[41]!==i||t[42]!==a||t[43]!==d||t[44]!==n?(C=d.length===0?s.jsx(Wt,{hiddenOngoing:a?0:i}):n==="calendar"?s.jsx(Ut,{monthStart:o,variants:d,colorMap:u}):s.jsx(Jt,{monthStart:o,variants:d,colorMap:u}),t[39]=u,t[40]=o,t[41]=i,t[42]=a,t[43]=d,t[44]=n,t[45]=C):C=t[45];let O;return t[46]!==$||t[47]!==C?(O=s.jsxs("div",{className:"flex h-full w-full flex-col",children:[$,C]}),t[46]=$,t[47]=C,t[48]=O):O=t[48],O}function Ft(e){return e.blockKey}function Vt(e){return!e.openEnd}function Ht(e){return e.openEnd}function Bt(){return at(new Date)}function Wt(e){const t=V.c(3),{hiddenOngoing:r}=e,n=r===void 0?0:r;let l;t[0]===Symbol.for("react.memo_cache_sentinel")?(l=s.jsx(et,{size:24,className:"text-muted-foreground/60"}),t[0]=l):l=t[0];let o;return t[1]!==n?(o=s.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center gap-2 text-center text-sm text-muted-foreground p-6",children:[l,n>0?s.jsxs(s.Fragment,{children:[s.jsx("div",{children:"No dated variants in view."}),s.jsxs("div",{className:"text-xs text-muted-foreground/80",children:[n," ongoing"," ",n===1?"variant is":"variants are"," hidden — enable “Show ongoing” to view."]})]}):s.jsxs(s.Fragment,{children:[s.jsx("div",{children:"No scheduled variants."}),s.jsx("div",{className:"text-xs text-muted-foreground/80",children:"Variants gated by a date matcher appear here."})]})]}),t[1]=n,t[2]=o):o=t[2],o}const G=20,Z=2,tt=28,zt=6;function Ut(e){const t=V.c(17),{monthStart:r,variants:n,colorMap:l}=e;let o,m,a,c,i;if(t[0]!==l||t[1]!==r||t[2]!==n){const u=Rt(r),x=P(new Date);o=rt,i="flex-1 min-h-0",m="min-w-[840px]",t[8]===Symbol.for("react.memo_cache_sentinel")?(a=s.jsx("div",{className:"grid grid-cols-7 border-b text-xs text-muted-foreground sticky top-0 bg-background z-10",children:$t.map(Gt)}),t[8]=a):a=t[8],c=u.map((h,g)=>{const b=Lt(h,n),y=b.reduce(Yt,0),T=tt+y*(G+Z)+8;return s.jsxs("div",{className:"grid grid-cols-7 relative border-b",style:{height:T},children:[h.map((f,w)=>{const k=f.getMonth()===r.getMonth(),_=f.getTime()===x.getTime();return s.jsx("div",{className:J("border-r last:border-r-0 px-2 pt-1.5 text-xs",k?"bg-background":"bg-muted/30 text-muted-foreground"),children:s.jsx("span",{className:J("inline-flex h-5 min-w-5 items-center justify-center rounded-full px-1",_&&"bg-primary text-primary-foreground font-semibold"),children:f.getDate()})},w)}),b.map((f,w)=>{const k=ot(l,f.variant.blockKey),_=tt+f.lane*(G+Z),M=f.leftUnits/7*100,A=f.widthUnits/7*100,E=f.variant.openStart&&g===0,v=f.variant.openEnd&&g===u.length-1;return s.jsxs(lt,{variant:f.variant,color:k,fadeStart:E,fadeEnd:v,style:{top:_,left:`calc(${M}% + 2px)`,width:`calc(${A}% - 4px)`,minWidth:zt,height:G},children:[f.variant.blockLabel,f.variant.label!==f.variant.blockLabel&&s.jsxs("span",{className:"opacity-70",children:[" · ",f.variant.label]})]},`${g}-${w}`)})]},g)}),t[0]=l,t[1]=r,t[2]=n,t[3]=o,t[4]=m,t[5]=a,t[6]=c,t[7]=i}else o=t[3],m=t[4],a=t[5],c=t[6],i=t[7];let p;t[9]!==m||t[10]!==a||t[11]!==c?(p=s.jsxs("div",{className:m,children:[a,c]}),t[9]=m,t[10]=a,t[11]=c,t[12]=p):p=t[12];let d;return t[13]!==o||t[14]!==i||t[15]!==p?(d=s.jsx(o,{className:i,children:p}),t[13]=o,t[14]=i,t[15]=p,t[16]=d):d=t[16],d}function Yt(e,t){return Math.max(e,t.lane+1)}function Gt(e){return s.jsx("div",{className:"px-2 py-2 text-center uppercase tracking-wide",children:e},e)}const B=4,Kt=32,H=240;function Jt(e){const t=V.c(27),{monthStart:r,variants:n,colorMap:l}=e,o=r;let m,a,c,i,p,d;if(t[0]!==l||t[1]!==r||t[2]!==o||t[3]!==n){const h=F(r,B),g=new Date,b=new Map;for(const v of n){const j=b.get(v.blockKey)??[];j.push(v),b.set(v.blockKey,j)}const y=Array.from(b.entries()).sort(Xt),T=h.getTime()-o.getTime(),f=v=>(Math.max(o.getTime(),Math.min(h.getTime(),v.getTime()))-o.getTime())/T*100;let w;t[10]!==o?(w=(v,j)=>F(o,j),t[10]=o,t[11]=w):w=t[11];const k=Array.from({length:B},w),_=g.getTime()>=o.getTime()&&g.getTime()<=h.getTime()?f(g):null;m=rt,d="flex-1 min-h-0",a="min-w-[900px] relative";let M;t[12]===Symbol.for("react.memo_cache_sentinel")?(M=s.jsx("div",{className:"shrink-0 px-3 py-2 text-xs font-semibold uppercase tracking-wide text-muted-foreground border-r",style:{width:H},children:"Variant / Block"}),t[12]=M):M=t[12];let A;t[13]===Symbol.for("react.memo_cache_sentinel")?(A={gridTemplateColumns:`repeat(${B}, minmax(0, 1fr))`},t[13]=A):A=t[13];const E=k.map(Qt);t[14]!==E?(c=s.jsxs("div",{className:"flex border-b sticky top-0 bg-background z-10",children:[M,s.jsx("div",{className:"flex-1 grid",style:A,children:E})]}),t[14]=E,t[15]=c):c=t[15],t[16]!==_?(i=_!==null&&s.jsx("div",{className:"pointer-events-none absolute top-0 bottom-0 w-px bg-primary/70 z-[5]",style:{left:`calc(${H}px + (100% - ${H}px) * ${_} / 100)`},children:s.jsx("span",{className:"absolute -top-0.5 -translate-x-1/2 rounded-sm bg-primary px-1.5 py-px text-[10px] font-medium text-primary-foreground",children:"Today"})}),t[16]=_,t[17]=i):i=t[17],p=y.map(v=>{const[j,D]=v,L=ot(l,j),I=D[0]?.blockLabel??j;return s.jsxs("div",{children:[s.jsx("div",{className:"flex items-center bg-muted/40 border-b text-xs font-semibold uppercase tracking-wide text-muted-foreground",style:{height:28},children:s.jsx("div",{className:"px-3 truncate",style:{width:H},children:I})}),D.map((N,R)=>s.jsxs("div",{className:"flex border-b items-center",style:{height:Kt},children:[s.jsxs("div",{className:"flex items-center gap-2 px-3 text-sm border-r shrink-0",style:{width:H},children:[s.jsx("span",{className:"inline-block h-2 w-2 rounded-full shrink-0",style:{background:L.bg}}),s.jsx("span",{className:"truncate text-foreground/80",children:N.label})]}),s.jsxs("div",{className:"relative flex-1 h-full",children:[s.jsx("div",{className:"absolute inset-0 grid",style:{gridTemplateColumns:`repeat(${B}, minmax(0, 1fr))`},children:k.map(qt)}),(()=>{const $=Math.max(N.start.getTime(),o.getTime()),C=Math.min(N.end.getTime(),h.getTime());if(C<=$)return null;const O=f(new Date($)),S=f(new Date(C))-O;return s.jsx(lt,{variant:N,color:L,fadeStart:N.openStart,fadeEnd:N.openEnd,style:{top:"50%",transform:"translateY(-50%)",left:`${O}%`,width:`calc(${S}% - 2px)`,height:22},children:N.label})})()]})]},R))]},j)}),t[0]=l,t[1]=r,t[2]=o,t[3]=n,t[4]=m,t[5]=a,t[6]=c,t[7]=i,t[8]=p,t[9]=d}else m=t[4],a=t[5],c=t[6],i=t[7],p=t[8],d=t[9];let u;t[18]!==a||t[19]!==c||t[20]!==i||t[21]!==p?(u=s.jsxs("div",{className:a,children:[c,i,p]}),t[18]=a,t[19]=c,t[20]=i,t[21]=p,t[22]=u):u=t[22];let x;return t[23]!==m||t[24]!==d||t[25]!==u?(x=s.jsx(m,{className:d,children:u}),t[23]=m,t[24]=d,t[25]=u,t[26]=x):x=t[26],x}function qt(e,t){return s.jsx("div",{className:"border-r last:border-r-0 border-border/40"},t)}function Qt(e,t){return s.jsxs("div",{className:"px-2 py-2 text-xs uppercase tracking-wide text-muted-foreground border-r last:border-r-0",children:[st[e.getMonth()]?.slice(0,3)," ",e.getFullYear()]},t)}function Xt(e,t){return e[0].localeCompare(t[0])}export{rn as VariantCalendar};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as $,r as T,l as f,j as i}from"./index-
|
|
1
|
+
import{c as $,r as T,l as f,j as i}from"./index-CtmDKjho.js";import{b as k,T as I,a as P}from"./tooltip-Vjj2FaHc.js";const M={sm:{button:"size-7",buttonWithLabel:"h-7",icon:"size-4"},md:{button:"size-9",buttonWithLabel:"h-9",icon:"size-5"},lg:{button:"size-12",buttonWithLabel:"h-12",icon:"size-6"}};function B(E){const t=$.c(27),{value:s,onValueChange:y,options:o,size:C,fullWidth:L,className:z}=E,_=C===void 0?"sm":C,b=L===void 0?!1:L;let h;t[0]===Symbol.for("react.memo_cache_sentinel")?(h=[],t[0]=h):h=t[0];const R=T.useRef(h);let x;t[1]===Symbol.for("react.memo_cache_sentinel")?(x={left:0,width:0,opacity:0},t[1]=x):x=t[1];const[d,S]=T.useState(x);let g,p;t[2]!==o||t[3]!==s?(g=()=>{const e=o.findIndex(j=>j.value===s),m=R.current[e];m&&S({left:m.offsetLeft,width:m.offsetWidth,opacity:1})},p=[s,o],t[2]=o,t[3]=s,t[4]=g,t[5]=p):(g=t[4],p=t[5]),T.useEffect(g,p);const n=M[_];let l;t[6]!==z?(l=f("relative flex gap-0 bg-muted rounded-lg",z),t[6]=z,t[7]=l):l=t[7];let a;t[8]!==n||t[9]!==b||t[10]!==y||t[11]!==o||t[12]!==s?(a=o.map((e,m)=>{const j=i.jsxs("button",{ref:V=>{R.current[m]=V},type:"button",onClick:()=>y(e.value),className:f("relative z-10 flex items-center justify-center gap-2 rounded-lg transition-colors [transition-timing-function:var(--ease-out-cubic)] duration-200",b?"flex-1 h-12 px-4":e.label?f(n.buttonWithLabel,"px-3"):n.button),children:[i.jsx("span",{className:f("transition-colors ease-out duration-200 flex items-center justify-center [&>svg]:size-[1em]",n.icon,s===e.value?"text-foreground":"text-muted-foreground"),children:e.icon}),e.label&&i.jsx("span",{className:f("text-xs transition-colors ease-out duration-200 whitespace-nowrap",s===e.value?"text-foreground":"text-muted-foreground"),children:e.label})]},e.value);return e.tooltip?i.jsxs(k,{children:[i.jsx(I,{asChild:!0,children:j}),i.jsx(P,{side:"bottom",children:e.tooltip})]},e.value):j}),t[8]=n,t[9]=b,t[10]=y,t[11]=o,t[12]=s,t[13]=a):a=t[13];const w=b?"h-12":n.button;let r;t[14]!==w?(r=f("absolute z-0 bg-background rounded-lg border-shadow transition-all [transition-timing-function:var(--ease-out-cubic)] duration-200",w),t[14]=w,t[15]=r):r=t[15];const W=`${d.left}px`,N=`${d.width}px`;let c;t[16]!==d.opacity||t[17]!==W||t[18]!==N?(c={left:W,width:N,opacity:d.opacity},t[16]=d.opacity,t[17]=W,t[18]=N,t[19]=c):c=t[19];let u;t[20]!==r||t[21]!==c?(u=i.jsx("div",{className:r,style:c}),t[20]=r,t[21]=c,t[22]=u):u=t[22];let v;return t[23]!==u||t[24]!==l||t[25]!==a?(v=i.jsxs("div",{className:l,children:[a,u]}),t[23]=u,t[24]=l,t[25]=a,t[26]=v):v=t[26],v}export{B as V};
|
package/dist/client/index.html
CHANGED
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
57
57
|
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
|
|
58
58
|
<meta name="apple-mobile-web-app-title" content="deco Studio" />
|
|
59
|
-
<script type="module" crossorigin src="/assets/index-
|
|
60
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
59
|
+
<script type="module" crossorigin src="/assets/index-CtmDKjho.js"></script>
|
|
60
|
+
<link rel="stylesheet" crossorigin href="/assets/index-CeqMFugl.css">
|
|
61
61
|
</head>
|
|
62
62
|
<body>
|
|
63
63
|
<div id="root"></div>
|