decocms 4.150.13 → 4.150.15
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-Eoiskkdw.js → AlertCircle-jxf12Gx7.js} +1 -1
- package/dist/client/assets/{AreaChart-D1UwNZ2i.js → AreaChart-Q3cdV2Tp.js} +1 -1
- package/dist/client/assets/{ArrowUp-Cqu5i0aZ.js → ArrowUp-D1xQwfL3.js} +1 -1
- package/dist/client/assets/{ArrowUpRight-CWi3fozt.js → ArrowUpRight-D0FcOFUG.js} +1 -1
- package/dist/client/assets/{Check-BdHuJuPw.js → Check-Dj9-hpbL.js} +1 -1
- package/dist/client/assets/{CheckCircle-myPjsJGU.js → CheckCircle-DFnhT1JZ.js} +1 -1
- package/dist/client/assets/{ChevronDown-DEyjLxYx.js → ChevronDown-BugOEMPh.js} +1 -1
- package/dist/client/assets/{ChevronRight-BBN141em.js → ChevronRight-CssptgVn.js} +1 -1
- package/dist/client/assets/{ChevronUp-DJfqG7zj.js → ChevronUp-CGobtnE2.js} +1 -1
- package/dist/client/assets/{Copy01-gvtGLLcY.js → Copy01-PJMVYFym.js} +1 -1
- package/dist/client/assets/{CpuChip01-kG4BiE9Y.js → CpuChip01-rizq-yL2.js} +1 -1
- package/dist/client/assets/{DotsVertical-5WbYSo6Z.js → DotsVertical-BlOLvWPg.js} +1 -1
- package/dist/client/assets/{Eye-CZFxMqY9.js → Eye-IDPOMsVx.js} +1 -1
- package/dist/client/assets/{FilterLines-ubYrwRwC.js → FilterLines-D2EOYgGm.js} +1 -1
- package/dist/client/assets/{HardDrive-F_HbtdSs.js → HardDrive-CkNTtzK-.js} +1 -1
- package/dist/client/assets/{Key01-D9NzOa5l.js → Key01-C4Gpdav8.js} +1 -1
- package/dist/client/assets/{LayoutLeft-BuxvHUKx.js → LayoutLeft-DRUUk4X1.js} +1 -1
- package/dist/client/assets/{LinkExternal01-DJvk8I2A.js → LinkExternal01-DBXaavG5.js} +1 -1
- package/dist/client/assets/{LogOut01-DN8933ou.js → LogOut01-wkl7tB8f.js} +1 -1
- package/dist/client/assets/{Monitor01-Cd36dx-4.js → Monitor01-VT3PByH9.js} +1 -1
- package/dist/client/assets/{Palette-D0m6ZhK3.js → Palette-BxyJJ5N9.js} +1 -1
- package/dist/client/assets/{Play-D_aQs7dj.js → Play-DDnhHGfn.js} +1 -1
- package/dist/client/assets/{Plus-XPxaBtTZ.js → Plus-DGVntTiI.js} +1 -1
- package/dist/client/assets/{SearchLg-Dlw09bmE.js → SearchLg-D_f2ff-d.js} +1 -1
- package/dist/client/assets/{SearchMd-D-oUO6X0.js → SearchMd-BGqWZB08.js} +1 -1
- package/dist/client/assets/{Settings02-B_QAMj-P.js → Settings02-B0htp6DV.js} +1 -1
- package/dist/client/assets/{Shield01-m7YUf-pl.js → Shield01-BK1RGJOl.js} +1 -1
- package/dist/client/assets/{Star01-4a_Jxita.js → Star01-CgoJE9Jc.js} +1 -1
- package/dist/client/assets/{Stars01-C8PrtncY.js → Stars01-CdNrK-XK.js} +1 -1
- package/dist/client/assets/{Stars02-COchQugv.js → Stars02-1nDmkUZo.js} +1 -1
- package/dist/client/assets/{Sun-Bdj4gRC5.js → Sun-DaHpFPTd.js} +1 -1
- package/dist/client/assets/{SwitchHorizontal01-IoYlCupu.js → SwitchHorizontal01-9a8FI5tb.js} +1 -1
- package/dist/client/assets/{Tool01-B96hoDFN.js → Tool01-BiMA6_0a.js} +1 -1
- package/dist/client/assets/{Tool02-AsfUGp__.js → Tool02-DRf_ATg-.js} +1 -1
- package/dist/client/assets/{Trash01-g9SUeAN0.js → Trash01-B72U_vKw.js} +1 -1
- package/dist/client/assets/{TrendUp01-BAGSq_YF.js → TrendUp01-Cg3uC2iR.js} +1 -1
- package/dist/client/assets/{Upload01-L2syNbDQ.js → Upload01-2rBPOGzf.js} +1 -1
- package/dist/client/assets/{User01-CbL87ZBv.js → User01-DP-0oFrM.js} +1 -1
- package/dist/client/assets/{Users01-BMwIQhmY.js → Users01-haMruUi8.js} +1 -1
- package/dist/client/assets/{Users03-BJNH9N4K.js → Users03-CpBJ-FiW.js} +1 -1
- package/dist/client/assets/{X-th7ARgOR.js → X-DolTvzOi.js} +1 -1
- package/dist/client/assets/{XCircle-CfjuVDux.js → XCircle-fuWGo_9A.js} +1 -1
- package/dist/client/assets/{XClose-BV56nJYO.js → XClose-ivzuJ2Bu.js} +1 -1
- package/dist/client/assets/{Zap-Cu4-I_Ac.js → Zap-Cdzw98Op.js} +1 -1
- package/dist/client/assets/{ZapSquare-k4WUcduv.js → ZapSquare-DEzLXYlw.js} +1 -1
- package/dist/client/assets/{access-gate-B0jUQZZH.js → access-gate-R-FRL3ZI.js} +1 -1
- package/dist/client/assets/{add-section-modal-Dz_K3qJ2.js → add-section-modal-rfOTTCgk.js} +1 -1
- package/dist/client/assets/{agent-icon-DCQPTD-I.js → agent-icon-Cz8NAdKS.js} +1 -1
- package/dist/client/assets/{agents-list-opUfTjSK.js → agents-list-DkjZy3oX.js} +1 -1
- package/dist/client/assets/{ai-providers-C3-viUvZ.js → ai-providers-DVQlqU1r.js} +1 -1
- package/dist/client/assets/{alert-BGIkzGI9.js → alert-CyNdhbOc.js} +1 -1
- package/dist/client/assets/{alert-dialog-P11DPMoL.js → alert-dialog-tWbKtq6L.js} +2 -2
- package/dist/client/assets/{app-editor-ccFWMS20.js → app-editor-EvMzZckb.js} +1 -1
- package/dist/client/assets/{auth-BqANqm0A.js → auth-E6A7QAGn.js} +1 -1
- package/dist/client/assets/{auth-catchall-BOnc_g4-.js → auth-catchall-DujdsQPj.js} +1 -1
- package/dist/client/assets/auth-entry-RXNjbrN0.js +1 -0
- package/dist/client/assets/{auth-split-layout-B07StbUi.js → auth-split-layout-FJQFENrS.js} +1 -1
- package/dist/client/assets/{authenticate-and-persist-oauth-sNdJBe3I.js → authenticate-and-persist-oauth-Bfe0UDTw.js} +1 -1
- package/dist/client/assets/{automation-list-row-BgdzPrn2.js → automation-list-row-CLhImH1n.js} +1 -1
- package/dist/client/assets/{automation-runs-kY0Hd5bJ.js → automation-runs-xOZvBjoS.js} +1 -1
- package/dist/client/assets/{automations-duhQRZ_h.js → automations-6KH76Oks.js} +1 -1
- package/dist/client/assets/{avatar-C7VBTxjb.js → avatar-DoEIDWgj.js} +1 -1
- package/dist/client/assets/{badge-Bu9TYgek.js → badge-Br2z6w5p.js} +1 -1
- package/dist/client/assets/{block-document-Dx-Kq5IV.js → block-document-DUZYYhlN.js} +1 -1
- package/dist/client/assets/{brand-context-CWx4XQkj.js → brand-context-DtpiqLm6.js} +1 -1
- package/dist/client/assets/{buckets-CW6FQIkN.js → buckets-CwAyCICi.js} +1 -1
- package/dist/client/assets/{bulk-category-panel-Dz7CZ_Ps.js → bulk-category-panel-BnEzZZu_.js} +1 -1
- package/dist/client/assets/{calendar-DOxmGM7p.js → calendar-BuUFe0Dj.js} +1 -1
- package/dist/client/assets/{capability-load-error-DTwJskAo.js → capability-load-error-DvyFor-M.js} +1 -1
- package/dist/client/assets/{card-B0f_2u3D.js → card-Bvp_iEmJ.js} +1 -1
- package/dist/client/assets/{category-editor-eF5ieM9X.js → category-editor-BE_jw1ol.js} +1 -1
- package/dist/client/assets/{chat-context-aAijaY3A.js → chat-context-BX-0d0HZ.js} +1 -1
- package/dist/client/assets/{checkbox-d1Rt9GUt.js → checkbox-0PEQuHLW.js} +1 -1
- package/dist/client/assets/{cli-auth-success-BTkf7YGZ.js → cli-auth-success-CC9EtW63.js} +1 -1
- package/dist/client/assets/{collection-detail-XE42oRb-.js → collection-detail-CpmwCvpt.js} +1 -1
- package/dist/client/assets/{collection-display-button-DUa_Df-A.js → collection-display-button-BpEl8sX2.js} +1 -1
- package/dist/client/assets/{collection-search-DVfGAujX.js → collection-search-BdU7y4Eg.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-BsO2CtT4.js → collection-table-wrapper-CwKBjt8Z.js} +1 -1
- package/dist/client/assets/{collection-tabs-u5enzkVl.js → collection-tabs-DmyEOE3p.js} +1 -1
- package/dist/client/assets/{command-uPNVzZmX.js → command-Dr-ssJhm.js} +1 -1
- package/dist/client/assets/{commerce-onboarding-EbYviyIl.js → commerce-onboarding-DK5ol95v.js} +1 -1
- package/dist/client/assets/{companions-core-Dg0TNpYb.js → companions-core-CSaZehWu.js} +1 -1
- package/dist/client/assets/{connect-Da9YwgpD.js → connect-DxdyW0gm.js} +1 -1
- package/dist/client/assets/{connection-Du_RJnpr.js → connection-DWB0UiTE.js} +1 -1
- package/dist/client/assets/{connection-card-CSYIgKfu.js → connection-card-CkF90aP1.js} +1 -1
- package/dist/client/assets/{connection-detail-COQvrxlN.js → connection-detail-B6vPPKd_.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-C1xXkycr.js → connection-form-helpers-BP0mV3mD.js} +1 -1
- package/dist/client/assets/{connections-f5IaRiLS.js → connections-CndHL3OI.js} +1 -1
- package/dist/client/assets/{decopilot-sse-pool-B-6W79yQ.js → decopilot-sse-pool-DgiTUJ7x.js} +1 -1
- package/dist/client/assets/{dialog-CJkJPlAS.js → dialog-DdEtomn-.js} +1 -1
- package/dist/client/assets/{domain-settings-B-OR8tCr.js → domain-settings-Bs1fkzpV.js} +1 -1
- package/dist/client/assets/{drawer-Vmj6vj2H.js → drawer-BLZmvIaA.js} +1 -1
- package/dist/client/assets/{dropdown-menu-DabrgiLz.js → dropdown-menu-CzBq85NZ.js} +1 -1
- package/dist/client/assets/{empty-state-fv8rbuQT.js → empty-state-GO9HhQwr.js} +1 -1
- package/dist/client/assets/{extract-connection-data-C2XmdMG4.js → extract-connection-data-DNkk0HYD.js} +1 -1
- package/dist/client/assets/{file-explorer-DmkInB_B.js → file-explorer-Batkjsw5.js} +1 -1
- package/dist/client/assets/{form-BNZvnkRb.js → form-Bz2-FIPe.js} +1 -1
- package/dist/client/assets/{general-m1pdndCH.js → general-DYeezm62.js} +1 -1
- package/dist/client/assets/{github-repo-picker-BZBSEeFT.js → github-repo-picker-K963LhaA.js} +1 -1
- package/dist/client/assets/{hooks-S0-VfPJM.js → hooks-DcUZN6Cs.js} +5 -5
- package/dist/client/assets/{index-BR5NjjJc.js → index-64ng8clT.js} +1 -1
- package/dist/client/assets/{index-B6ykVoku.js → index-BI9uGTuR.js} +1 -1
- package/dist/client/assets/{index-oCG8H3JL.js → index-BVE3-HTr.js} +6 -6
- package/dist/client/assets/{index-C8ZRu3O2.js → index-Bbm0EzHp.js} +1 -1
- package/dist/client/assets/{index-Bp9fmXVF.js → index-BfGINErw.js} +1 -1
- package/dist/client/assets/{index-Bc4pTCDJ.js → index-C0dm88C6.js} +1 -1
- package/dist/client/assets/{index-CsXIUaax.js → index-CR4nVMnd.js} +41 -41
- package/dist/client/assets/{index-DfcOr-zj.js → index-CV8-bO6u.js} +1 -1
- package/dist/client/assets/{index-BAZmyVC-.css → index-CbTRSuOH.css} +1 -1
- package/dist/client/assets/index-DYnlvgQU.js +1 -0
- package/dist/client/assets/{index-vAlUDtly.js → index-LNQ0BcxX.js} +3 -3
- package/dist/client/assets/{index-redirect-ejiq3ej6.js → index-redirect-Ddw52wKS.js} +1 -1
- package/dist/client/assets/{index-CE-pZQ5n.js → index-y8Lxxsic.js} +1 -1
- package/dist/client/assets/{input-B6QX4Bsc.js → input-DBm5QVdn.js} +1 -1
- package/dist/client/assets/{integration-icon-CAdntIjt.js → integration-icon-33z9qCXL.js} +1 -1
- package/dist/client/assets/{invite-member-dialog-34FD2jh4.js → invite-member-dialog-DS8dlXQY.js} +1 -1
- package/dist/client/assets/{label-CEg7qY-f.js → label-ffvb8tXe.js} +1 -1
- package/dist/client/assets/{layout-BzEtom0U.js → layout-9fpfWKbS.js} +1 -1
- package/dist/client/assets/{login-CFRyKNLt.js → login-BOtFvYwp.js} +1 -1
- package/dist/client/assets/{mcp-oauth-Dl2k8oDk.js → mcp-oauth-Dgt-7Ujy.js} +1 -1
- package/dist/client/assets/{members-DJ1Auc8C.js → members-BsfBSNC6.js} +1 -1
- package/dist/client/assets/{monaco-editor-BVhG6A-M.js → monaco-editor-DqIc4pQe.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-SqogCnFC.js → monitoring-stats-row-BtUTy0L8.js} +1 -1
- package/dist/client/assets/{multi-select-UF9SWQ6e.js → multi-select-AuCc_TgS.js} +1 -1
- package/dist/client/assets/{oauth-callback-DZO2ZJBO.js → oauth-callback-BE5Xfngo.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-9-U3XUKP.js → oauth-callback-ai-provider-kXXTG6Dx.js} +1 -1
- package/dist/client/assets/{onboarding-CyrprJFg.js → onboarding-D2B5HQNL.js} +1 -1
- package/dist/client/assets/{org-layout-B728gB0l.js → org-layout-CLug_Sht.js} +1 -1
- package/dist/client/assets/{organization-choice-Ccuwzodh.js → organization-choice-D9QPGzj6.js} +1 -1
- package/dist/client/assets/{orgs-CPUy2U55.js → orgs-De9sGsPN.js} +1 -1
- package/dist/client/assets/{page-seo-form-DlEVMpaI.js → page-seo-form-f8YmJ_vl.js} +1 -1
- package/dist/client/assets/{popover-DEaCMzZP.js → popover-CxlDGsS1.js} +1 -1
- package/dist/client/assets/{post-editor-Bb5IfTCU.js → post-editor-0D1eHWly.js} +1 -1
- package/dist/client/assets/{primitives-BTgHbvPp.js → primitives-vxrNDA_x.js} +1 -1
- package/dist/client/assets/{profile-CxkMLIYl.js → profile-Biaxg5fQ.js} +1 -1
- package/dist/client/assets/project-app-view-BIUkLTiV.js +1 -0
- package/dist/client/assets/record-editor-BK5q1CEO.js +1 -0
- package/dist/client/assets/{redirect-editor-DD7PcldO.js → redirect-editor-mNfKxmAJ.js} +1 -1
- package/dist/client/assets/registry-CasPmJ3k.js +2 -0
- package/dist/client/assets/{registry-layout-CfaJe34R.js → registry-layout-BDrTGQAn.js} +1 -1
- package/dist/client/assets/{reports-BFgBFsZV.js → reports-CXmXbqF4.js} +2 -2
- package/dist/client/assets/{require-capability-BV5_KDVM.js → require-capability-Cg6lB07k.js} +1 -1
- package/dist/client/assets/{required-auth-layout-CWHGEbNY.js → required-auth-layout-z550ffXm.js} +1 -1
- package/dist/client/assets/{reset-password-cg551v26.js → reset-password-DU0bsLjE.js} +1 -1
- package/dist/client/assets/{roles-DkFyVRXC.js → roles-BzKXJ1yb.js} +1 -1
- package/dist/client/assets/{search-input-BiAm-dHP.js → search-input-CJDyo5ma.js} +1 -1
- package/dist/client/assets/{secrets-CbL3TEVq.js → secrets-BgLm6lYD.js} +1 -1
- package/dist/client/assets/{sections-editor-YtQ-pXxY.js → sections-editor-92lIsypE.js} +1 -1
- package/dist/client/assets/{select-DWrifuH3.js → select-BPnvRJqF.js} +1 -1
- package/dist/client/assets/{select-model-L_zaW5VV.js → select-model-CaExvv-A.js} +1 -1
- package/dist/client/assets/{self-tool-result-ILtZLxoN.js → self-tool-result-BBMpP__C.js} +1 -1
- package/dist/client/assets/{seo-editor-7FbWYb3Z.js → seo-editor-RuDmGs2u.js} +1 -1
- package/dist/client/assets/{settings-layout-CAkmdzMT.js → settings-layout-CFd_n-t1.js} +1 -1
- package/dist/client/assets/{settings-section-CZBB9hU0.js → settings-section-DwhLErf4.js} +1 -1
- package/dist/client/assets/{shell-controls-llKLpxpW.js → shell-controls-BdVzTomc.js} +1 -1
- package/dist/client/assets/{shell-layout-BTLWrDNT.js → shell-layout-Di2raMMr.js} +1 -1
- package/dist/client/assets/sidebar-DHHC6GET.js +1 -0
- package/dist/client/assets/{skeleton-Dr0ihbmb.js → skeleton-D4MmyMAV.js} +1 -1
- package/dist/client/assets/{spinner-ChQk-fuJ.js → spinner-9lP2i2Gy.js} +1 -1
- package/dist/client/assets/{sso-CZy_Z0iZ.js → sso-C8pSAkAI.js} +1 -1
- package/dist/client/assets/{store-yTKa6R4e.js → store-ksshVCDQ.js} +1 -1
- package/dist/client/assets/store-registry-CWbEiY1L.js +2 -0
- package/dist/client/assets/{studio-tools-WL-_7DVR.js → studio-tools-pwwzjD8w.js} +1 -1
- package/dist/client/assets/{switch-lBLWR9-v.js → switch-ChFA3TRj.js} +1 -1
- package/dist/client/assets/{tab-id-BME_CqCy.js → tab-id-DSonld1u.js} +1 -1
- package/dist/client/assets/{table-DX49ZzwB.js → table-BjrT6OLl.js} +1 -1
- package/dist/client/assets/{tabs-EJLJDayr.js → tabs-BAAuPCGv.js} +1 -1
- package/dist/client/assets/{textarea-C_aquDFn.js → textarea-D8__E7Sm.js} +1 -1
- package/dist/client/assets/{toggle-group-Q0IrBn5K.js → toggle-group-DIvIGLwG.js} +1 -1
- package/dist/client/assets/toolbar-Dsdcuiuk.js +1 -0
- package/dist/client/assets/{tooltip-fIVhp5ou.js → tooltip-C8f2l6uq.js} +1 -1
- package/dist/client/assets/{use-ai-providers-DEYBcyVN.js → use-ai-providers-BspAPlJo.js} +1 -1
- package/dist/client/assets/{use-automations-NZO0H-p1.js → use-automations-BByYxYm_.js} +1 -1
- package/dist/client/assets/{use-autosave-CUy33u2t.js → use-autosave-DuA1M-pF.js} +1 -1
- package/dist/client/assets/{use-capability-Dzali0wY.js → use-capability-B3bpEQ7v.js} +1 -1
- package/dist/client/assets/{use-clock-tick-DR9o8Vl7.js → use-clock-tick-DchcrYff.js} +1 -1
- package/dist/client/assets/{use-connection-B06hUHgo.js → use-connection-C_Vz-FXT.js} +1 -1
- package/dist/client/assets/{use-copy-2CfnxQXo.js → use-copy-0xxC3IRq.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-DEF-DvFp.js → use-create-virtual-mcp-B9aiT2Td.js} +1 -1
- package/dist/client/assets/{use-debounced-autosave-ChmgSDUl.js → use-debounced-autosave-CRPfpjNz.js} +1 -1
- package/dist/client/assets/{use-debounced-value-CFLMM6Qe.js → use-debounced-value-DUHZfHxs.js} +1 -1
- package/dist/client/assets/use-deco-credits-B3uD1cAg.js +1 -0
- package/dist/client/assets/{use-decopilot-events-ByGtTT-X.js → use-decopilot-events-DbxcGRYG.js} +1 -1
- package/dist/client/assets/{use-delete-connection-D0aJn94j.js → use-delete-connection-DJJyKqTo.js} +1 -1
- package/dist/client/assets/{use-deployment-admin-CbjYP-TY.js → use-deployment-admin-69KrNKAV.js} +1 -1
- package/dist/client/assets/{use-file-configs-Du58T_Jv.js → use-file-configs-BdO69iPe.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-C3O-KBl8.js → use-infinite-scroll-CNUnC6Q_.js} +1 -1
- package/dist/client/assets/{use-join-requests-Bl54Lsyw.js → use-join-requests-DMf2fy27.js} +1 -1
- package/dist/client/assets/{use-mcp-auth-status-P3A3uVfF.js → use-mcp-auth-status-Bm058Aw8.js} +1 -1
- package/dist/client/assets/{use-mcp-client-DpsAHhsu.js → use-mcp-client-CvEaqzTv.js} +2 -2
- package/dist/client/assets/{use-mcp-tools-D5d64p3C.js → use-mcp-tools-CHqFtrhL.js} +1 -1
- package/dist/client/assets/{use-members-CmlnN6Aw.js → use-members-CajytmeN.js} +1 -1
- package/dist/client/assets/{use-mobile-DGf5vwNF.js → use-mobile-Q1-E-0SR.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-BtA6n79A.js → use-navigate-to-agent-BgikxGan.js} +1 -1
- package/dist/client/assets/{use-org-auth-client-BmTFN65s.js → use-org-auth-client-CgwhYTV_.js} +1 -1
- package/dist/client/assets/{use-org-sso-DWfsG4pV.js → use-org-sso-BbWy0GSW.js} +1 -1
- package/dist/client/assets/{use-organization-roles-DcrcrZqB.js → use-organization-roles-BfcYp0N7.js} +1 -1
- package/dist/client/assets/{use-organization-settings-DOeb2tV3.js → use-organization-settings-DV4BvR-U.js} +1 -1
- package/dist/client/assets/{use-registry-connections-CWaA6tdp.js → use-registry-connections-DZ9mDiGl.js} +1 -1
- package/dist/client/assets/{use-secrets-en8tthJo.js → use-secrets-DpVxQgT0.js} +1 -1
- package/dist/client/assets/{use-status-sounds-CW8S7oZ-.js → use-status-sounds-BhzCEB70.js} +1 -1
- package/dist/client/assets/{use-tags-Q5fBrYNZ.js → use-tags-BKKtlGTF.js} +1 -1
- package/dist/client/assets/{use-view-mode-W11-AL0e.js → use-view-mode-CzDzeGz9.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-CNAeRFsi.js → use-virtual-mcp-BNLx3Yrc.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-CL0Rktao.js +1 -0
- package/dist/client/assets/{useQueries-mGQBH8qb.js → useQueries--Pqafp1d.js} +1 -1
- package/dist/client/assets/{useRouterState-DstVuNgC.js → useRouterState-DJdEDzps.js} +1 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-BnxXjBr_.js +1 -0
- package/dist/client/assets/{users-CcHMTpxs.js → users-Bz6wRsuf.js} +1 -1
- package/dist/client/assets/{variant-calendar-BnAhmw2x.js → variant-calendar-0GkFwEeU.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-BjeJK31L.js → view-mode-toggle-Dag10m74.js} +1 -1
- package/dist/client/index.html +6 -16
- package/dist/server/cli.js +187 -187
- package/dist/server/migrate.js +39 -39
- package/dist/server/server.js +147 -147
- package/package.json +1 -1
- package/dist/client/assets/auth-entry-DMFjUxSN.js +0 -1
- package/dist/client/assets/index-vd6CkgrG.js +0 -1
- package/dist/client/assets/org-install-DGCT_s6M.js +0 -1
- package/dist/client/assets/project-app-view-CbsnI5_S.js +0 -1
- package/dist/client/assets/record-editor-CDJ26ss0.js +0 -1
- package/dist/client/assets/registry-Uwc000L6.js +0 -2
- package/dist/client/assets/sidebar-Dy1VWxxx.js +0 -1
- package/dist/client/assets/store-registry-C4rA423j.js +0 -2
- package/dist/client/assets/toolbar-DtyhtDGB.js +0 -1
- package/dist/client/assets/use-deco-credits-Bf0twN-A.js +0 -1
- package/dist/client/assets/useInfiniteQuery-BsbgCJ-c.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-3ceZ8_NX.js +0 -1
- package/dist/client/icons/apple-touch-icon-180.png +0 -0
- package/dist/client/icons/icon-192.png +0 -0
- package/dist/client/icons/icon-512.png +0 -0
- package/dist/client/manifest.webmanifest +0 -32
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as K,b as tt,r as et,j as s,m as ot,B as nt}from"./index-CsXIUaax.js";import{x as vt,$ as dt,h as yt}from"./agent-icon-DCQPTD-I.js";import{i as Tt}from"./ChevronRight-BBN141em.js";import{L as jt}from"./label-CEg7qY-f.js";import{n as ft}from"./automation-runs-kY0Hd5bJ.js";import{S as Nt}from"./switch-lBLWR9-v.js";import{T as wt,c as kt,a as Mt}from"./tooltip-fIVhp5ou.js";import{V as _t}from"./view-mode-toggle-BjeJK31L.js";import"./AlertCircle-Eoiskkdw.js";import"./Tool01-B96hoDFN.js";import"./ArrowUp-Cqu5i0aZ.js";import"./Settings02-B_QAMj-P.js";import"./Tool02-AsfUGp__.js";import"./XCircle-CfjuVDux.js";import"./ArrowUpRight-CWi3fozt.js";import"./TrendUp01-BAGSq_YF.js";import"./ZapSquare-k4WUcduv.js";import"./Users03-BJNH9N4K.js";import"./CheckCircle-myPjsJGU.js";import"./Check-BdHuJuPw.js";import"./ChevronDown-DEyjLxYx.js";import"./ChevronUp-DJfqG7zj.js";import"./DotsVertical-5WbYSo6Z.js";import"./Stars02-COchQugv.js";import"./Copy01-gvtGLLcY.js";import"./CpuChip01-kG4BiE9Y.js";import"./Eye-CZFxMqY9.js";import"./FilterLines-ubYrwRwC.js";import"./Star01-4a_Jxita.js";import"./Palette-D0m6ZhK3.js";import"./SwitchHorizontal01-IoYlCupu.js";import"./HardDrive-F_HbtdSs.js";import"./Key01-D9NzOa5l.js";import"./LayoutLeft-BuxvHUKx.js";import"./LinkExternal01-DJvk8I2A.js";import"./LogOut01-DN8933ou.js";import"./Monitor01-Cd36dx-4.js";import"./Sun-Bdj4gRC5.js";import"./Play-D_aQs7dj.js";import"./Plus-XPxaBtTZ.js";import"./SearchLg-Dlw09bmE.js";import"./SearchMd-D-oUO6X0.js";import"./Shield01-m7YUf-pl.js";import"./Stars01-C8PrtncY.js";import"./Trash01-g9SUeAN0.js";import"./Upload01-L2syNbDQ.js";import"./User01-CbL87ZBv.js";import"./Users01-BMwIQhmY.js";import"./XClose-BV56nJYO.js";import"./X-th7ARgOR.js";import"./Zap-Cu4-I_Ac.js";import"./select-DWrifuH3.js";import"./useInfiniteQuery-BsbgCJ-c.js";import"./use-infinite-scroll-C3O-KBl8.js";import"./use-connection-B06hUHgo.js";import"./use-mcp-client-DpsAHhsu.js";import"./auth-BqANqm0A.js";import"./use-virtual-mcp-CNAeRFsi.js";import"./card-B0f_2u3D.js";import"./sidebar-Dy1VWxxx.js";import"./use-mobile-DGf5vwNF.js";import"./table-DX49ZzwB.js";import"./empty-state-fv8rbuQT.js";import"./use-members-CmlnN6Aw.js";import"./use-org-auth-client-BmTFN65s.js";import"./use-clock-tick-DR9o8Vl7.js";import"./use-automations-NZO0H-p1.js";import"./studio-tools-WL-_7DVR.js";import"./useSuspenseInfiniteQuery-3ceZ8_NX.js";import"./avatar-C7VBTxjb.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-2CfnxQXo.js";import"./dialog-CJkJPlAS.js";import"./tab-id-BME_CqCy.js";import"./hooks-S0-VfPJM.js";import"./delay-CnY5UFtP.js";import"./backoff-CrEUbyZT.js";import"./decopilot-sse-pool-B-6W79yQ.js";import"./chat-context-aAijaY3A.js";import"./use-ai-providers-DEYBcyVN.js";import"./use-decopilot-events-ByGtTT-X.js";import"./use-organization-settings-DOeb2tV3.js";import"./monaco-editor-BVhG6A-M.js";import"./spinner-ChQk-fuJ.js";import"./index-BR5NjjJc.js";import"./calendar-DOxmGM7p.js";import"./shell-layout-BTLWrDNT.js";import"./required-auth-layout-CWHGEbNY.js";import"./use-org-sso-DWfsG4pV.js";import"./integration-icon-CAdntIjt.js";import"./use-navigate-to-agent-BtA6n79A.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-D1UwNZ2i.js";import"./form-BNZvnkRb.js";import"./input-B6QX4Bsc.js";const Et=new Set(["website/matchers/date.ts","$live/matchers/MatchDate.ts"]),St=new Set(["website/matchers/multi.ts","$live/matchers/MatchMulti.ts"]),Ct=new Date(-864e13),Dt=new Date(864e13),At=/\/flags\/multivariate(?:\/[^/]+)?\.ts$/,$t=/\/flags\/multivariate\.ts$/;function Lt(e){let t=e;t.startsWith("pages-")&&(t=t.slice(6).replace(/-\d+$/,""));try{t=decodeURIComponent(t)}catch{}return t}function Rt(e){if(!e||typeof e!="object")return null;const{start:t,end:n}=e,r=typeof t=="string",i=typeof n=="string";if(!r&&!i)return null;const o=r?new Date(t):Ct,a=i?new Date(n):Dt;return Number.isNaN(o.getTime())||Number.isNaN(a.getTime())||r&&i&&a.getTime()<=o.getTime()?null:{start:o,end:a,openStart:!r,openEnd:!i}}function pt(e,t){if(!e||typeof e!="object")return;const n=e.__resolveType;if(typeof n=="string"){if(Et.has(n)){const r=Rt(e);r&&t.push(r);return}if(St.has(n)){const r=e.matchers;if(Array.isArray(r))for(const i of r)pt(i,t)}}}function Ot(e){if(!e||typeof e!="object")return!1;const t=e.__resolveType;if(typeof t!="string"||!At.test(t))return!1;const n=e.variants;return Array.isArray(n)}function It(e){if(typeof e=="string"){const m=e.trim();if(m.length===0)return null;try{const c=new URL(m).pathname.split("/").filter(Boolean),d=c[c.length-1];if(d)return decodeURIComponent(d)}catch{}return m.length>80?`${m.slice(0,77)}…`:m}if(!e||typeof e!="object")return null;const t=e,n=t.config,i=t.desktop?.media,o=[t.title,t.name,t.label,t.alt,n?.title,n?.name,n?.typeAlert?.message,i?.alt,Array.isArray(t.matcher)?t.matcher[0]:void 0];for(const m of o)if(typeof m=="string"&&m.trim().length>0)return m.trim();const a=t.__resolveType;if(typeof a=="string"){const l=(a.split("/").pop()??a).replace(/\.(tsx?|jsx?)$/i,"");if(l.length>0)return l}return null}function Pt(e){const t=[];for(let n=0;n<e.length;n++){const r=e[n];typeof r=="number"?t.length>0?t[t.length-1]+=`[${r}]`:t.push(`[${r}]`):t.push(r)}return t.join(" · ")}function X(e,t,n,r,i){if(Ot(e)){const o=e.variants,a=e.__resolveType,m=$t.test(a)?"":Pt(r);o.forEach((l,c)=>{if(!l||typeof l!="object")return;const d=l,p=[];if(pt(d.rule,p),p.length===0)return;const x=It(d.value)??(m||n);for(const h of p)i.push({blockKey:t,blockLabel:n,innerPath:m,variantIndex:c,start:h.start,end:h.end,openStart:h.openStart,openEnd:h.openEnd,label:x,flagResolveType:a})});for(let l=0;l<o.length;l++){const c=o[l];c&&typeof c=="object"&&X(c.value,t,n,[...r,"variants",l,"value"],i)}return}if(Array.isArray(e)){for(let o=0;o<e.length;o++)X(e[o],t,n,[...r,o],i);return}if(e&&typeof e=="object")for(const[o,a]of Object.entries(e))o!=="__resolveType"&&X(a,t,n,[...r,o],i)}function Ft(e){if(!e)return[];const t=[];for(const[n,r]of Object.entries(e))X(r,n,Lt(n),[],t);return t.sort((n,r)=>n.start.getTime()-r.start.getTime())}function Vt(e){const t=[...new Set(e)].sort(),n=new Map;return t.forEach((r,i)=>{const o=i*137.508%360;n.set(r,{bg:`oklch(0.62 0.14 ${o})`,text:"white",border:`oklch(0.50 0.14 ${o})`})}),n}const Ht={bg:"oklch(0.62 0.14 0)",text:"white",border:"oklch(0.50 0.14 0)"};function ut(e,t){return e.get(t)??Ht}const Bt=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],ht=["January","February","March","April","May","June","July","August","September","October","November","December"],gt=1440*60*1e3;function B(e){const t=new Date(e);return t.setHours(0,0,0,0),t}function xt(e){return new Date(e.getFullYear(),e.getMonth(),1)}function G(e,t){return new Date(e.getFullYear(),e.getMonth()+t,1)}function Z(e,t){const n=new Date(e);return n.setDate(n.getDate()+t),n}function st(e,t){return Math.round((B(e).getTime()-B(t).getTime())/gt)}function Wt(e){const t=(e.getTime()-B(e).getTime())/gt;return Math.min(Math.max(t,0),1)}function it(e,t){return st(e,t)+Wt(e)}function zt(e){const t=Z(e,-e.getDay()),n=[];for(let r=0;r<6;r++){const i=[];for(let o=0;o<7;o++)i.push(Z(t,r*7+o));n.push(i)}for(;n.length>0&&n[n.length-1].every(r=>r.getMonth()!==e.getMonth());)n.pop();return n}function Ut(e,t){const n=B(e[0]),r=Z(n,7),i=n.getTime(),o=r.getTime(),a=[];for(const c of t){const d=B(c.start),p=B(c.end);if(p.getTime()<n.getTime()||d.getTime()>=r.getTime())continue;const u=d.getTime()<n.getTime()?n:d,x=p.getTime()>=r.getTime()?Z(r,-1):p,h=st(u,n),g=st(x,u)+1;if(g<=0)continue;const b=Math.max(c.start.getTime(),i),j=Math.min(c.end.getTime(),o),v=it(new Date(b),n),f=Math.max(it(new Date(j),n)-v,0);f<=0||a.push({variant:c,startCol:h,span:g,leftUnits:v,widthUnits:f})}a.sort((c,d)=>c.startCol-d.startCol||d.span-c.span||c.variant.blockKey.localeCompare(d.variant.blockKey));const m=[],l=[];for(const c of a){let d=m.findIndex(p=>p<=c.startCol);d===-1&&(d=m.length,m.push(0)),m[d]=c.startCol+c.span,l.push({...c,lane:d})}return l}const at=new Intl.DateTimeFormat("en",{dateStyle:"medium",timeStyle:"short"});function Yt(e,t){const n=e.openStart?t("sandbox.variantCalendar.always"):at.format(e.start),r=e.openEnd?t("sandbox.variantCalendar.ongoing"):at.format(e.end);return`${n} → ${r}`}function Gt(e){const t=K.c(18),{variant:n}=e,r=tt();let i;t[0]!==n.blockLabel?(i=s.jsx("div",{className:"font-semibold",children:n.blockLabel}),t[0]=n.blockLabel,t[1]=i):i=t[1];let o;t[2]!==n.innerPath?(o=n.innerPath&&s.jsx("div",{className:"text-muted-foreground",children:n.innerPath}),t[2]=n.innerPath,t[3]=o):o=t[3];let a;t[4]!==n.blockLabel||t[5]!==n.innerPath||t[6]!==n.label?(a=n.label!==n.blockLabel&&n.label!==n.innerPath&&s.jsx("div",{className:"text-muted-foreground",children:n.label}),t[4]=n.blockLabel,t[5]=n.innerPath,t[6]=n.label,t[7]=a):a=t[7];let m;t[8]!==r||t[9]!==n?(m=Yt(n,r),t[8]=r,t[9]=n,t[10]=m):m=t[10];let l;t[11]!==m?(l=s.jsx("div",{className:"mt-1",children:m}),t[11]=m,t[12]=l):l=t[12];let c;return t[13]!==i||t[14]!==o||t[15]!==a||t[16]!==l?(c=s.jsx(Mt,{children:s.jsxs("div",{className:"text-xs",children:[i,o,a,l]})}),t[13]=i,t[14]=o,t[15]=a,t[16]=l,t[17]=c):c=t[17],c}const lt=16;function Kt(e,t){const n=e?"transparent":"#000 0",r=t?"transparent":"#000 100%";if(!(!e&&!t))return`linear-gradient(to right, ${n}, #000 ${lt}px, #000 calc(100% - ${lt}px), ${r})`}function bt(e){const t=K.c(26),{variant:n,color:r,style:i,children:o,fadeStart:a,fadeEnd:m}=e,l=a===void 0?!1:a,c=m===void 0?!1:m;let d;t[0]!==c||t[1]!==l?(d=Kt(l,c),t[0]=c,t[1]=l,t[2]=d):d=t[2];const p=d;let u;t[3]!==l?(u=l&&{borderTopLeftRadius:0,borderBottomLeftRadius:0},t[3]=l,t[4]=u):u=t[4];let x;t[5]!==c?(x=c&&{borderTopRightRadius:0,borderBottomRightRadius:0},t[5]=c,t[6]=x):x=t[6];let h;t[7]!==p?(h=p&&{maskImage:p,WebkitMaskImage:p},t[7]=p,t[8]=h):h=t[8];let g;t[9]!==r.bg||t[10]!==r.text||t[11]!==i||t[12]!==u||t[13]!==x||t[14]!==h?(g={background:r.bg,color:r.text,borderRadius:4,...u,...x,...h,...i},t[9]=r.bg,t[10]=r.text,t[11]=i,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 j;t[18]!==g||t[19]!==b?(j=s.jsx(wt,{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]=j):j=t[20];let v;t[21]!==n?(v=s.jsx(Gt,{variant:n}),t[21]=n,t[22]=v):v=t[22];let f;return t[23]!==v||t[24]!==j?(f=s.jsxs(kt,{children:[j,v]}),t[23]=v,t[24]=j,t[25]=f):f=t[25],f}function Xn(e){const t=K.c(72),{decofile:n}=e,r=tt(),[i,o]=et.useState("calendar"),[a,m]=et.useState(Xt),[l,c]=et.useState(!1);let d,p,u;if(t[0]!==n||t[1]!==l){const P=Ft(n);d=P.filter(Qt).length,u=l?P:P.filter(qt),p=Vt(u.map(Jt)),t[0]=n,t[1]=l,t[2]=d,t[3]=p,t[4]=u}else d=t[2],p=t[3],u=t[4];const x=p;let h;t[5]===Symbol.for("react.memo_cache_sentinel")?(h=()=>m(xt(new Date)),t[5]=h):h=t[5];const g=h;let b;t[6]!==i?(b=()=>m(P=>i==="calendar"?G(P,-1):G(P,-3)),t[6]=i,t[7]=b):b=t[7];const j=b;let v;t[8]!==i?(v=()=>m(P=>i==="calendar"?G(P,1):G(P,3)),t[8]=i,t[9]=v):v=t[9];const f=v;let y;t[10]!==r?(y=r("sandbox.variantCalendar.today"),t[10]=r,t[11]=y):y=t[11];let T;t[12]!==y?(T=s.jsx(nt,{variant:"outline",size:"sm",onClick:g,children:y}),t[12]=y,t[13]=T):T=t[13];let w;t[14]!==r?(w=r("sandbox.variantCalendar.previous"),t[14]=r,t[15]=w):w=t[15];let D;t[16]===Symbol.for("react.memo_cache_sentinel")?(D=s.jsx(vt,{size:16}),t[16]=D):D=t[16];let k;t[17]!==j||t[18]!==w?(k=s.jsx(nt,{variant:"ghost",size:"icon",className:"size-8",onClick:j,"aria-label":w,children:D}),t[17]=j,t[18]=w,t[19]=k):k=t[19];let M;t[20]!==r?(M=r("sandbox.variantCalendar.next"),t[20]=r,t[21]=M):M=t[21];let S;t[22]===Symbol.for("react.memo_cache_sentinel")?(S=s.jsx(Tt,{size:16}),t[22]=S):S=t[22];let A;t[23]!==f||t[24]!==M?(A=s.jsx(nt,{variant:"ghost",size:"icon",className:"size-8",onClick:f,"aria-label":M,children:S}),t[23]=f,t[24]=M,t[25]=A):A=t[25];const $=ht[a.getMonth()];let C;t[26]!==a?(C=a.getFullYear(),t[26]=a,t[27]=C):C=t[27];let _;t[28]!==$||t[29]!==C?(_=s.jsxs("h2",{className:"ml-2 text-base font-semibold",children:[$," ",C]}),t[28]=$,t[29]=C,t[30]=_):_=t[30];let N;t[31]!==A||t[32]!==_||t[33]!==T||t[34]!==k?(N=s.jsxs("div",{className:"flex items-center gap-2",children:[T,k,A,_]}),t[31]=A,t[32]=_,t[33]=T,t[34]=k,t[35]=N):N=t[35];let L;t[36]!==d||t[37]!==l||t[38]!==r?(L=d>0&&s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(Nt,{id:"show-ongoing",checked:l,onCheckedChange:c}),s.jsx(jt,{htmlFor:"show-ongoing",className:"text-xs text-muted-foreground cursor-pointer",children:r("sandbox.variantCalendar.showOngoing",{count:d})})]}),t[36]=d,t[37]=l,t[38]=r,t[39]=L):L=t[39];let H;t[40]===Symbol.for("react.memo_cache_sentinel")?(H=s.jsx(dt,{}),t[40]=H):H=t[40];let F;t[41]!==r?(F=r("sandbox.variantCalendar.calendarMode"),t[41]=r,t[42]=F):F=t[42];let E;t[43]!==F?(E={value:"calendar",icon:H,label:F},t[43]=F,t[44]=E):E=t[44];let W;t[45]===Symbol.for("react.memo_cache_sentinel")?(W=s.jsx(yt,{}),t[45]=W):W=t[45];let R;t[46]!==r?(R=r("sandbox.variantCalendar.timelineMode"),t[46]=r,t[47]=R):R=t[47];let O;t[48]!==R?(O={value:"timeline",icon:W,label:R},t[48]=R,t[49]=O):O=t[49];let I;t[50]!==E||t[51]!==O?(I=[E,O],t[50]=E,t[51]=O,t[52]=I):I=t[52];let V;t[53]!==I||t[54]!==i?(V=s.jsx(_t,{value:i,onValueChange:o,options:I}),t[53]=I,t[54]=i,t[55]=V):V=t[55];let z;t[56]!==L||t[57]!==V?(z=s.jsxs("div",{className:"flex items-center gap-4",children:[L,V]}),t[56]=L,t[57]=V,t[58]=z):z=t[58];let U;t[59]!==N||t[60]!==z?(U=s.jsxs("div",{className:"flex items-center justify-between px-4 h-12 border-b shrink-0",children:[N,z]}),t[59]=N,t[60]=z,t[61]=U):U=t[61];let Y;t[62]!==x||t[63]!==a||t[64]!==d||t[65]!==l||t[66]!==u||t[67]!==i?(Y=u.length===0?s.jsx(Zt,{hiddenOngoing:l?0:d}):i==="calendar"?s.jsx(ee,{monthStart:a,variants:u,colorMap:x}):s.jsx(oe,{monthStart:a,variants:u,colorMap:x}),t[62]=x,t[63]=a,t[64]=d,t[65]=l,t[66]=u,t[67]=i,t[68]=Y):Y=t[68];let q;return t[69]!==U||t[70]!==Y?(q=s.jsxs("div",{className:"flex h-full w-full flex-col",children:[U,Y]}),t[69]=U,t[70]=Y,t[71]=q):q=t[71],q}function Jt(e){return e.blockKey}function qt(e){return!e.openEnd}function Qt(e){return e.openEnd}function Xt(){return xt(new Date)}function Zt(e){const t=K.c(4),{hiddenOngoing:n}=e,r=n===void 0?0:n,i=tt();let o;t[0]===Symbol.for("react.memo_cache_sentinel")?(o=s.jsx(dt,{size:24,className:"text-muted-foreground/60"}),t[0]=o):o=t[0];let a;return t[1]!==r||t[2]!==i?(a=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:[o,r>0?s.jsxs(s.Fragment,{children:[s.jsx("div",{children:i("sandbox.variantCalendar.noDatedVariants")}),s.jsx("div",{className:"text-xs text-muted-foreground/80",children:i("sandbox.variantCalendar.hiddenOngoingVariants",{count:r})})]}):s.jsxs(s.Fragment,{children:[s.jsx("div",{children:i("sandbox.variantCalendar.noScheduledVariants")}),s.jsx("div",{className:"text-xs text-muted-foreground/80",children:i("sandbox.variantCalendar.dateMatcherInfo")})]})]}),t[1]=r,t[2]=i,t[3]=a):a=t[3],a}const rt=20,ct=2,mt=28,te=6;function ee(e){const t=K.c(17),{monthStart:n,variants:r,colorMap:i}=e;let o,a,m,l,c;if(t[0]!==i||t[1]!==n||t[2]!==r){const u=zt(n),x=B(new Date);o=ft,c="flex-1 min-h-0",a="min-w-[840px]",t[8]===Symbol.for("react.memo_cache_sentinel")?(m=s.jsx("div",{className:"grid grid-cols-7 border-b text-xs text-muted-foreground sticky top-0 bg-background z-10",children:Bt.map(re)}),t[8]=m):m=t[8],l=u.map((h,g)=>{const b=Ut(h,r),j=b.reduce(ne,0),v=mt+j*(rt+ct)+8;return s.jsxs("div",{className:"grid grid-cols-7 relative border-b",style:{height:v},children:[h.map((f,y)=>{const T=f.getMonth()===n.getMonth(),w=f.getTime()===x.getTime();return s.jsx("div",{className:ot("border-r last:border-r-0 px-2 pt-1.5 text-xs",T?"bg-background":"bg-muted/30 text-muted-foreground"),children:s.jsx("span",{className:ot("inline-flex h-5 min-w-5 items-center justify-center rounded-full px-1",w&&"bg-primary text-primary-foreground font-semibold"),children:f.getDate()})},y)}),b.map((f,y)=>{const T=ut(i,f.variant.blockKey),w=mt+f.lane*(rt+ct),D=f.leftUnits/7*100,k=f.widthUnits/7*100,M=f.variant.openStart&&g===0,S=f.variant.openEnd&&g===u.length-1;return s.jsxs(bt,{variant:f.variant,color:T,fadeStart:M,fadeEnd:S,style:{top:w,left:`calc(${D}% + 2px)`,width:`calc(${k}% - 4px)`,minWidth:te,height:rt},children:[f.variant.blockLabel,f.variant.label!==f.variant.blockLabel&&s.jsxs("span",{className:"opacity-70",children:[" · ",f.variant.label]})]},`${g}-${y}`)})]},g)}),t[0]=i,t[1]=n,t[2]=r,t[3]=o,t[4]=a,t[5]=m,t[6]=l,t[7]=c}else o=t[3],a=t[4],m=t[5],l=t[6],c=t[7];let d;t[9]!==a||t[10]!==m||t[11]!==l?(d=s.jsxs("div",{className:a,children:[m,l]}),t[9]=a,t[10]=m,t[11]=l,t[12]=d):d=t[12];let p;return t[13]!==o||t[14]!==c||t[15]!==d?(p=s.jsx(o,{className:c,children:d}),t[13]=o,t[14]=c,t[15]=d,t[16]=p):p=t[16],p}function ne(e,t){return Math.max(e,t.lane+1)}function re(e){return s.jsx("div",{className:"px-2 py-2 text-center uppercase tracking-wide",children:e},e)}const Q=4,se=32,J=240;function oe(e){const t=K.c(23),{monthStart:n,variants:r,colorMap:i}=e,o=n,a=G(n,Q),m=new Date,l=new Map;for(const _ of r){const N=l.get(_.blockKey)??[];N.push(_),l.set(_.blockKey,N)}const c=Array.from(l.entries()).sort(le),d=a.getTime()-o.getTime(),p=_=>(Math.max(o.getTime(),Math.min(a.getTime(),_.getTime()))-o.getTime())/d*100;let u;t[0]!==o?(u=(_,N)=>G(o,N),t[0]=o,t[1]=u):u=t[1];const x=Array.from({length:Q},u),h=m.getTime()>=o.getTime()&&m.getTime()<=a.getTime()?p(m):null,g=tt(),b=ft,j="flex-1 min-h-0",v="min-w-[900px] relative";let f;t[2]===Symbol.for("react.memo_cache_sentinel")?(f={width:J},t[2]=f):f=t[2];let y;t[3]!==g?(y=g("sandbox.variantCalendar.variantBlock"),t[3]=g,t[4]=y):y=t[4];let T;t[5]!==y?(T=s.jsx("div",{className:"shrink-0 px-3 py-2 text-xs font-semibold uppercase tracking-wide text-muted-foreground border-r",style:f,children:y}),t[5]=y,t[6]=T):T=t[6];let w;t[7]===Symbol.for("react.memo_cache_sentinel")?(w={gridTemplateColumns:`repeat(${Q}, minmax(0, 1fr))`},t[7]=w):w=t[7];const D=x.map(ae);let k;t[8]!==D?(k=s.jsx("div",{className:"flex-1 grid",style:w,children:D}),t[8]=D,t[9]=k):k=t[9];let M;t[10]!==T||t[11]!==k?(M=s.jsxs("div",{className:"flex border-b sticky top-0 bg-background z-10",children:[T,k]}),t[10]=T,t[11]=k,t[12]=M):M=t[12];let S;t[13]!==g||t[14]!==h?(S=h!==null&&s.jsx("div",{className:"pointer-events-none absolute top-0 bottom-0 w-px bg-primary/70 z-[5]",style:{left:`calc(${J}px + (100% - ${J}px) * ${h} / 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:g("sandbox.variantCalendar.todayLabel")})}),t[13]=g,t[14]=h,t[15]=S):S=t[15];const A=c.map(_=>{const[N,L]=_,H=ut(i,N),F=L[0]?.blockLabel??N;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:J},children:F})}),L.map((E,W)=>s.jsxs("div",{className:"flex border-b items-center",style:{height:se},children:[s.jsxs("div",{className:"flex items-center gap-2 px-3 text-sm border-r shrink-0",style:{width:J},children:[s.jsx("span",{className:"inline-block h-2 w-2 rounded-full shrink-0",style:{background:H.bg}}),s.jsx("span",{className:"truncate text-foreground/80",children:E.label})]}),s.jsxs("div",{className:"relative flex-1 h-full",children:[s.jsx("div",{className:"absolute inset-0 grid",style:{gridTemplateColumns:`repeat(${Q}, minmax(0, 1fr))`},children:x.map(ie)}),(()=>{const R=Math.max(E.start.getTime(),o.getTime()),O=Math.min(E.end.getTime(),a.getTime());if(O<=R)return null;const I=p(new Date(R)),V=p(new Date(O))-I;return s.jsx(bt,{variant:E,color:H,fadeStart:E.openStart,fadeEnd:E.openEnd,style:{top:"50%",transform:"translateY(-50%)",left:`${I}%`,width:`calc(${V}% - 2px)`,height:22},children:E.label})})()]})]},W))]},N)});let $;t[16]!==M||t[17]!==S||t[18]!==A?($=s.jsxs("div",{className:v,children:[M,S,A]}),t[16]=M,t[17]=S,t[18]=A,t[19]=$):$=t[19];let C;return t[20]!==b||t[21]!==$?(C=s.jsx(b,{className:j,children:$}),t[20]=b,t[21]=$,t[22]=C):C=t[22],C}function ie(e,t){return s.jsx("div",{className:"border-r last:border-r-0 border-border/40"},t)}function ae(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:[ht[e.getMonth()]?.slice(0,3)," ",e.getFullYear()]},t)}function le(e,t){return e[0].localeCompare(t[0])}export{Xn as VariantCalendar};
|
|
1
|
+
import{c as K,b as tt,r as et,j as s,m as ot,B as nt}from"./index-CR4nVMnd.js";import{x as vt,$ as dt,h as yt}from"./agent-icon-Cz8NAdKS.js";import{i as Tt}from"./ChevronRight-CssptgVn.js";import{L as jt}from"./label-ffvb8tXe.js";import{n as ft}from"./automation-runs-xOZvBjoS.js";import{S as Nt}from"./switch-ChFA3TRj.js";import{T as wt,c as kt,a as Mt}from"./tooltip-C8f2l6uq.js";import{V as _t}from"./view-mode-toggle-Dag10m74.js";import"./AlertCircle-jxf12Gx7.js";import"./Tool01-BiMA6_0a.js";import"./ArrowUp-D1xQwfL3.js";import"./Settings02-B0htp6DV.js";import"./Tool02-DRf_ATg-.js";import"./XCircle-fuWGo_9A.js";import"./ArrowUpRight-D0FcOFUG.js";import"./TrendUp01-Cg3uC2iR.js";import"./ZapSquare-DEzLXYlw.js";import"./Users03-CpBJ-FiW.js";import"./CheckCircle-DFnhT1JZ.js";import"./Check-Dj9-hpbL.js";import"./ChevronDown-BugOEMPh.js";import"./ChevronUp-CGobtnE2.js";import"./DotsVertical-BlOLvWPg.js";import"./Stars02-1nDmkUZo.js";import"./Copy01-PJMVYFym.js";import"./CpuChip01-rizq-yL2.js";import"./Eye-IDPOMsVx.js";import"./FilterLines-D2EOYgGm.js";import"./Star01-CgoJE9Jc.js";import"./Palette-BxyJJ5N9.js";import"./SwitchHorizontal01-9a8FI5tb.js";import"./HardDrive-CkNTtzK-.js";import"./Key01-C4Gpdav8.js";import"./LayoutLeft-DRUUk4X1.js";import"./LinkExternal01-DBXaavG5.js";import"./LogOut01-wkl7tB8f.js";import"./Monitor01-VT3PByH9.js";import"./Sun-DaHpFPTd.js";import"./Play-DDnhHGfn.js";import"./Plus-DGVntTiI.js";import"./SearchLg-D_f2ff-d.js";import"./SearchMd-BGqWZB08.js";import"./Shield01-BK1RGJOl.js";import"./Stars01-CdNrK-XK.js";import"./Trash01-B72U_vKw.js";import"./Upload01-2rBPOGzf.js";import"./User01-DP-0oFrM.js";import"./Users01-haMruUi8.js";import"./XClose-ivzuJ2Bu.js";import"./X-DolTvzOi.js";import"./Zap-Cdzw98Op.js";import"./select-BPnvRJqF.js";import"./useInfiniteQuery-CL0Rktao.js";import"./use-infinite-scroll-CNUnC6Q_.js";import"./use-connection-C_Vz-FXT.js";import"./use-mcp-client-CvEaqzTv.js";import"./auth-E6A7QAGn.js";import"./use-virtual-mcp-BNLx3Yrc.js";import"./card-Bvp_iEmJ.js";import"./sidebar-DHHC6GET.js";import"./use-mobile-Q1-E-0SR.js";import"./table-BjrT6OLl.js";import"./empty-state-GO9HhQwr.js";import"./use-members-CajytmeN.js";import"./use-org-auth-client-CgwhYTV_.js";import"./use-clock-tick-DchcrYff.js";import"./use-automations-BByYxYm_.js";import"./studio-tools-pwwzjD8w.js";import"./useSuspenseInfiniteQuery-BnxXjBr_.js";import"./avatar-DoEIDWgj.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-0xxC3IRq.js";import"./dialog-DdEtomn-.js";import"./tab-id-DSonld1u.js";import"./hooks-DcUZN6Cs.js";import"./delay-CnY5UFtP.js";import"./backoff-CrEUbyZT.js";import"./decopilot-sse-pool-DgiTUJ7x.js";import"./chat-context-BX-0d0HZ.js";import"./use-ai-providers-BspAPlJo.js";import"./use-decopilot-events-DbxcGRYG.js";import"./use-organization-settings-DV4BvR-U.js";import"./monaco-editor-DqIc4pQe.js";import"./spinner-9lP2i2Gy.js";import"./index-64ng8clT.js";import"./calendar-BuUFe0Dj.js";import"./shell-layout-Di2raMMr.js";import"./required-auth-layout-z550ffXm.js";import"./use-org-sso-BbWy0GSW.js";import"./integration-icon-33z9qCXL.js";import"./use-navigate-to-agent-BgikxGan.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-Q3cdV2Tp.js";import"./form-Bz2-FIPe.js";import"./input-DBm5QVdn.js";const Et=new Set(["website/matchers/date.ts","$live/matchers/MatchDate.ts"]),St=new Set(["website/matchers/multi.ts","$live/matchers/MatchMulti.ts"]),Ct=new Date(-864e13),Dt=new Date(864e13),At=/\/flags\/multivariate(?:\/[^/]+)?\.ts$/,$t=/\/flags\/multivariate\.ts$/;function Lt(e){let t=e;t.startsWith("pages-")&&(t=t.slice(6).replace(/-\d+$/,""));try{t=decodeURIComponent(t)}catch{}return t}function Rt(e){if(!e||typeof e!="object")return null;const{start:t,end:n}=e,r=typeof t=="string",i=typeof n=="string";if(!r&&!i)return null;const o=r?new Date(t):Ct,a=i?new Date(n):Dt;return Number.isNaN(o.getTime())||Number.isNaN(a.getTime())||r&&i&&a.getTime()<=o.getTime()?null:{start:o,end:a,openStart:!r,openEnd:!i}}function pt(e,t){if(!e||typeof e!="object")return;const n=e.__resolveType;if(typeof n=="string"){if(Et.has(n)){const r=Rt(e);r&&t.push(r);return}if(St.has(n)){const r=e.matchers;if(Array.isArray(r))for(const i of r)pt(i,t)}}}function Ot(e){if(!e||typeof e!="object")return!1;const t=e.__resolveType;if(typeof t!="string"||!At.test(t))return!1;const n=e.variants;return Array.isArray(n)}function It(e){if(typeof e=="string"){const m=e.trim();if(m.length===0)return null;try{const c=new URL(m).pathname.split("/").filter(Boolean),d=c[c.length-1];if(d)return decodeURIComponent(d)}catch{}return m.length>80?`${m.slice(0,77)}…`:m}if(!e||typeof e!="object")return null;const t=e,n=t.config,i=t.desktop?.media,o=[t.title,t.name,t.label,t.alt,n?.title,n?.name,n?.typeAlert?.message,i?.alt,Array.isArray(t.matcher)?t.matcher[0]:void 0];for(const m of o)if(typeof m=="string"&&m.trim().length>0)return m.trim();const a=t.__resolveType;if(typeof a=="string"){const l=(a.split("/").pop()??a).replace(/\.(tsx?|jsx?)$/i,"");if(l.length>0)return l}return null}function Pt(e){const t=[];for(let n=0;n<e.length;n++){const r=e[n];typeof r=="number"?t.length>0?t[t.length-1]+=`[${r}]`:t.push(`[${r}]`):t.push(r)}return t.join(" · ")}function X(e,t,n,r,i){if(Ot(e)){const o=e.variants,a=e.__resolveType,m=$t.test(a)?"":Pt(r);o.forEach((l,c)=>{if(!l||typeof l!="object")return;const d=l,p=[];if(pt(d.rule,p),p.length===0)return;const x=It(d.value)??(m||n);for(const h of p)i.push({blockKey:t,blockLabel:n,innerPath:m,variantIndex:c,start:h.start,end:h.end,openStart:h.openStart,openEnd:h.openEnd,label:x,flagResolveType:a})});for(let l=0;l<o.length;l++){const c=o[l];c&&typeof c=="object"&&X(c.value,t,n,[...r,"variants",l,"value"],i)}return}if(Array.isArray(e)){for(let o=0;o<e.length;o++)X(e[o],t,n,[...r,o],i);return}if(e&&typeof e=="object")for(const[o,a]of Object.entries(e))o!=="__resolveType"&&X(a,t,n,[...r,o],i)}function Ft(e){if(!e)return[];const t=[];for(const[n,r]of Object.entries(e))X(r,n,Lt(n),[],t);return t.sort((n,r)=>n.start.getTime()-r.start.getTime())}function Vt(e){const t=[...new Set(e)].sort(),n=new Map;return t.forEach((r,i)=>{const o=i*137.508%360;n.set(r,{bg:`oklch(0.62 0.14 ${o})`,text:"white",border:`oklch(0.50 0.14 ${o})`})}),n}const Ht={bg:"oklch(0.62 0.14 0)",text:"white",border:"oklch(0.50 0.14 0)"};function ut(e,t){return e.get(t)??Ht}const Bt=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],ht=["January","February","March","April","May","June","July","August","September","October","November","December"],gt=1440*60*1e3;function B(e){const t=new Date(e);return t.setHours(0,0,0,0),t}function xt(e){return new Date(e.getFullYear(),e.getMonth(),1)}function G(e,t){return new Date(e.getFullYear(),e.getMonth()+t,1)}function Z(e,t){const n=new Date(e);return n.setDate(n.getDate()+t),n}function st(e,t){return Math.round((B(e).getTime()-B(t).getTime())/gt)}function Wt(e){const t=(e.getTime()-B(e).getTime())/gt;return Math.min(Math.max(t,0),1)}function it(e,t){return st(e,t)+Wt(e)}function zt(e){const t=Z(e,-e.getDay()),n=[];for(let r=0;r<6;r++){const i=[];for(let o=0;o<7;o++)i.push(Z(t,r*7+o));n.push(i)}for(;n.length>0&&n[n.length-1].every(r=>r.getMonth()!==e.getMonth());)n.pop();return n}function Ut(e,t){const n=B(e[0]),r=Z(n,7),i=n.getTime(),o=r.getTime(),a=[];for(const c of t){const d=B(c.start),p=B(c.end);if(p.getTime()<n.getTime()||d.getTime()>=r.getTime())continue;const u=d.getTime()<n.getTime()?n:d,x=p.getTime()>=r.getTime()?Z(r,-1):p,h=st(u,n),g=st(x,u)+1;if(g<=0)continue;const b=Math.max(c.start.getTime(),i),j=Math.min(c.end.getTime(),o),v=it(new Date(b),n),f=Math.max(it(new Date(j),n)-v,0);f<=0||a.push({variant:c,startCol:h,span:g,leftUnits:v,widthUnits:f})}a.sort((c,d)=>c.startCol-d.startCol||d.span-c.span||c.variant.blockKey.localeCompare(d.variant.blockKey));const m=[],l=[];for(const c of a){let d=m.findIndex(p=>p<=c.startCol);d===-1&&(d=m.length,m.push(0)),m[d]=c.startCol+c.span,l.push({...c,lane:d})}return l}const at=new Intl.DateTimeFormat("en",{dateStyle:"medium",timeStyle:"short"});function Yt(e,t){const n=e.openStart?t("sandbox.variantCalendar.always"):at.format(e.start),r=e.openEnd?t("sandbox.variantCalendar.ongoing"):at.format(e.end);return`${n} → ${r}`}function Gt(e){const t=K.c(18),{variant:n}=e,r=tt();let i;t[0]!==n.blockLabel?(i=s.jsx("div",{className:"font-semibold",children:n.blockLabel}),t[0]=n.blockLabel,t[1]=i):i=t[1];let o;t[2]!==n.innerPath?(o=n.innerPath&&s.jsx("div",{className:"text-muted-foreground",children:n.innerPath}),t[2]=n.innerPath,t[3]=o):o=t[3];let a;t[4]!==n.blockLabel||t[5]!==n.innerPath||t[6]!==n.label?(a=n.label!==n.blockLabel&&n.label!==n.innerPath&&s.jsx("div",{className:"text-muted-foreground",children:n.label}),t[4]=n.blockLabel,t[5]=n.innerPath,t[6]=n.label,t[7]=a):a=t[7];let m;t[8]!==r||t[9]!==n?(m=Yt(n,r),t[8]=r,t[9]=n,t[10]=m):m=t[10];let l;t[11]!==m?(l=s.jsx("div",{className:"mt-1",children:m}),t[11]=m,t[12]=l):l=t[12];let c;return t[13]!==i||t[14]!==o||t[15]!==a||t[16]!==l?(c=s.jsx(Mt,{children:s.jsxs("div",{className:"text-xs",children:[i,o,a,l]})}),t[13]=i,t[14]=o,t[15]=a,t[16]=l,t[17]=c):c=t[17],c}const lt=16;function Kt(e,t){const n=e?"transparent":"#000 0",r=t?"transparent":"#000 100%";if(!(!e&&!t))return`linear-gradient(to right, ${n}, #000 ${lt}px, #000 calc(100% - ${lt}px), ${r})`}function bt(e){const t=K.c(26),{variant:n,color:r,style:i,children:o,fadeStart:a,fadeEnd:m}=e,l=a===void 0?!1:a,c=m===void 0?!1:m;let d;t[0]!==c||t[1]!==l?(d=Kt(l,c),t[0]=c,t[1]=l,t[2]=d):d=t[2];const p=d;let u;t[3]!==l?(u=l&&{borderTopLeftRadius:0,borderBottomLeftRadius:0},t[3]=l,t[4]=u):u=t[4];let x;t[5]!==c?(x=c&&{borderTopRightRadius:0,borderBottomRightRadius:0},t[5]=c,t[6]=x):x=t[6];let h;t[7]!==p?(h=p&&{maskImage:p,WebkitMaskImage:p},t[7]=p,t[8]=h):h=t[8];let g;t[9]!==r.bg||t[10]!==r.text||t[11]!==i||t[12]!==u||t[13]!==x||t[14]!==h?(g={background:r.bg,color:r.text,borderRadius:4,...u,...x,...h,...i},t[9]=r.bg,t[10]=r.text,t[11]=i,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 j;t[18]!==g||t[19]!==b?(j=s.jsx(wt,{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]=j):j=t[20];let v;t[21]!==n?(v=s.jsx(Gt,{variant:n}),t[21]=n,t[22]=v):v=t[22];let f;return t[23]!==v||t[24]!==j?(f=s.jsxs(kt,{children:[j,v]}),t[23]=v,t[24]=j,t[25]=f):f=t[25],f}function Xn(e){const t=K.c(72),{decofile:n}=e,r=tt(),[i,o]=et.useState("calendar"),[a,m]=et.useState(Xt),[l,c]=et.useState(!1);let d,p,u;if(t[0]!==n||t[1]!==l){const P=Ft(n);d=P.filter(Qt).length,u=l?P:P.filter(qt),p=Vt(u.map(Jt)),t[0]=n,t[1]=l,t[2]=d,t[3]=p,t[4]=u}else d=t[2],p=t[3],u=t[4];const x=p;let h;t[5]===Symbol.for("react.memo_cache_sentinel")?(h=()=>m(xt(new Date)),t[5]=h):h=t[5];const g=h;let b;t[6]!==i?(b=()=>m(P=>i==="calendar"?G(P,-1):G(P,-3)),t[6]=i,t[7]=b):b=t[7];const j=b;let v;t[8]!==i?(v=()=>m(P=>i==="calendar"?G(P,1):G(P,3)),t[8]=i,t[9]=v):v=t[9];const f=v;let y;t[10]!==r?(y=r("sandbox.variantCalendar.today"),t[10]=r,t[11]=y):y=t[11];let T;t[12]!==y?(T=s.jsx(nt,{variant:"outline",size:"sm",onClick:g,children:y}),t[12]=y,t[13]=T):T=t[13];let w;t[14]!==r?(w=r("sandbox.variantCalendar.previous"),t[14]=r,t[15]=w):w=t[15];let D;t[16]===Symbol.for("react.memo_cache_sentinel")?(D=s.jsx(vt,{size:16}),t[16]=D):D=t[16];let k;t[17]!==j||t[18]!==w?(k=s.jsx(nt,{variant:"ghost",size:"icon",className:"size-8",onClick:j,"aria-label":w,children:D}),t[17]=j,t[18]=w,t[19]=k):k=t[19];let M;t[20]!==r?(M=r("sandbox.variantCalendar.next"),t[20]=r,t[21]=M):M=t[21];let S;t[22]===Symbol.for("react.memo_cache_sentinel")?(S=s.jsx(Tt,{size:16}),t[22]=S):S=t[22];let A;t[23]!==f||t[24]!==M?(A=s.jsx(nt,{variant:"ghost",size:"icon",className:"size-8",onClick:f,"aria-label":M,children:S}),t[23]=f,t[24]=M,t[25]=A):A=t[25];const $=ht[a.getMonth()];let C;t[26]!==a?(C=a.getFullYear(),t[26]=a,t[27]=C):C=t[27];let _;t[28]!==$||t[29]!==C?(_=s.jsxs("h2",{className:"ml-2 text-base font-semibold",children:[$," ",C]}),t[28]=$,t[29]=C,t[30]=_):_=t[30];let N;t[31]!==A||t[32]!==_||t[33]!==T||t[34]!==k?(N=s.jsxs("div",{className:"flex items-center gap-2",children:[T,k,A,_]}),t[31]=A,t[32]=_,t[33]=T,t[34]=k,t[35]=N):N=t[35];let L;t[36]!==d||t[37]!==l||t[38]!==r?(L=d>0&&s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(Nt,{id:"show-ongoing",checked:l,onCheckedChange:c}),s.jsx(jt,{htmlFor:"show-ongoing",className:"text-xs text-muted-foreground cursor-pointer",children:r("sandbox.variantCalendar.showOngoing",{count:d})})]}),t[36]=d,t[37]=l,t[38]=r,t[39]=L):L=t[39];let H;t[40]===Symbol.for("react.memo_cache_sentinel")?(H=s.jsx(dt,{}),t[40]=H):H=t[40];let F;t[41]!==r?(F=r("sandbox.variantCalendar.calendarMode"),t[41]=r,t[42]=F):F=t[42];let E;t[43]!==F?(E={value:"calendar",icon:H,label:F},t[43]=F,t[44]=E):E=t[44];let W;t[45]===Symbol.for("react.memo_cache_sentinel")?(W=s.jsx(yt,{}),t[45]=W):W=t[45];let R;t[46]!==r?(R=r("sandbox.variantCalendar.timelineMode"),t[46]=r,t[47]=R):R=t[47];let O;t[48]!==R?(O={value:"timeline",icon:W,label:R},t[48]=R,t[49]=O):O=t[49];let I;t[50]!==E||t[51]!==O?(I=[E,O],t[50]=E,t[51]=O,t[52]=I):I=t[52];let V;t[53]!==I||t[54]!==i?(V=s.jsx(_t,{value:i,onValueChange:o,options:I}),t[53]=I,t[54]=i,t[55]=V):V=t[55];let z;t[56]!==L||t[57]!==V?(z=s.jsxs("div",{className:"flex items-center gap-4",children:[L,V]}),t[56]=L,t[57]=V,t[58]=z):z=t[58];let U;t[59]!==N||t[60]!==z?(U=s.jsxs("div",{className:"flex items-center justify-between px-4 h-12 border-b shrink-0",children:[N,z]}),t[59]=N,t[60]=z,t[61]=U):U=t[61];let Y;t[62]!==x||t[63]!==a||t[64]!==d||t[65]!==l||t[66]!==u||t[67]!==i?(Y=u.length===0?s.jsx(Zt,{hiddenOngoing:l?0:d}):i==="calendar"?s.jsx(ee,{monthStart:a,variants:u,colorMap:x}):s.jsx(oe,{monthStart:a,variants:u,colorMap:x}),t[62]=x,t[63]=a,t[64]=d,t[65]=l,t[66]=u,t[67]=i,t[68]=Y):Y=t[68];let q;return t[69]!==U||t[70]!==Y?(q=s.jsxs("div",{className:"flex h-full w-full flex-col",children:[U,Y]}),t[69]=U,t[70]=Y,t[71]=q):q=t[71],q}function Jt(e){return e.blockKey}function qt(e){return!e.openEnd}function Qt(e){return e.openEnd}function Xt(){return xt(new Date)}function Zt(e){const t=K.c(4),{hiddenOngoing:n}=e,r=n===void 0?0:n,i=tt();let o;t[0]===Symbol.for("react.memo_cache_sentinel")?(o=s.jsx(dt,{size:24,className:"text-muted-foreground/60"}),t[0]=o):o=t[0];let a;return t[1]!==r||t[2]!==i?(a=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:[o,r>0?s.jsxs(s.Fragment,{children:[s.jsx("div",{children:i("sandbox.variantCalendar.noDatedVariants")}),s.jsx("div",{className:"text-xs text-muted-foreground/80",children:i("sandbox.variantCalendar.hiddenOngoingVariants",{count:r})})]}):s.jsxs(s.Fragment,{children:[s.jsx("div",{children:i("sandbox.variantCalendar.noScheduledVariants")}),s.jsx("div",{className:"text-xs text-muted-foreground/80",children:i("sandbox.variantCalendar.dateMatcherInfo")})]})]}),t[1]=r,t[2]=i,t[3]=a):a=t[3],a}const rt=20,ct=2,mt=28,te=6;function ee(e){const t=K.c(17),{monthStart:n,variants:r,colorMap:i}=e;let o,a,m,l,c;if(t[0]!==i||t[1]!==n||t[2]!==r){const u=zt(n),x=B(new Date);o=ft,c="flex-1 min-h-0",a="min-w-[840px]",t[8]===Symbol.for("react.memo_cache_sentinel")?(m=s.jsx("div",{className:"grid grid-cols-7 border-b text-xs text-muted-foreground sticky top-0 bg-background z-10",children:Bt.map(re)}),t[8]=m):m=t[8],l=u.map((h,g)=>{const b=Ut(h,r),j=b.reduce(ne,0),v=mt+j*(rt+ct)+8;return s.jsxs("div",{className:"grid grid-cols-7 relative border-b",style:{height:v},children:[h.map((f,y)=>{const T=f.getMonth()===n.getMonth(),w=f.getTime()===x.getTime();return s.jsx("div",{className:ot("border-r last:border-r-0 px-2 pt-1.5 text-xs",T?"bg-background":"bg-muted/30 text-muted-foreground"),children:s.jsx("span",{className:ot("inline-flex h-5 min-w-5 items-center justify-center rounded-full px-1",w&&"bg-primary text-primary-foreground font-semibold"),children:f.getDate()})},y)}),b.map((f,y)=>{const T=ut(i,f.variant.blockKey),w=mt+f.lane*(rt+ct),D=f.leftUnits/7*100,k=f.widthUnits/7*100,M=f.variant.openStart&&g===0,S=f.variant.openEnd&&g===u.length-1;return s.jsxs(bt,{variant:f.variant,color:T,fadeStart:M,fadeEnd:S,style:{top:w,left:`calc(${D}% + 2px)`,width:`calc(${k}% - 4px)`,minWidth:te,height:rt},children:[f.variant.blockLabel,f.variant.label!==f.variant.blockLabel&&s.jsxs("span",{className:"opacity-70",children:[" · ",f.variant.label]})]},`${g}-${y}`)})]},g)}),t[0]=i,t[1]=n,t[2]=r,t[3]=o,t[4]=a,t[5]=m,t[6]=l,t[7]=c}else o=t[3],a=t[4],m=t[5],l=t[6],c=t[7];let d;t[9]!==a||t[10]!==m||t[11]!==l?(d=s.jsxs("div",{className:a,children:[m,l]}),t[9]=a,t[10]=m,t[11]=l,t[12]=d):d=t[12];let p;return t[13]!==o||t[14]!==c||t[15]!==d?(p=s.jsx(o,{className:c,children:d}),t[13]=o,t[14]=c,t[15]=d,t[16]=p):p=t[16],p}function ne(e,t){return Math.max(e,t.lane+1)}function re(e){return s.jsx("div",{className:"px-2 py-2 text-center uppercase tracking-wide",children:e},e)}const Q=4,se=32,J=240;function oe(e){const t=K.c(23),{monthStart:n,variants:r,colorMap:i}=e,o=n,a=G(n,Q),m=new Date,l=new Map;for(const _ of r){const N=l.get(_.blockKey)??[];N.push(_),l.set(_.blockKey,N)}const c=Array.from(l.entries()).sort(le),d=a.getTime()-o.getTime(),p=_=>(Math.max(o.getTime(),Math.min(a.getTime(),_.getTime()))-o.getTime())/d*100;let u;t[0]!==o?(u=(_,N)=>G(o,N),t[0]=o,t[1]=u):u=t[1];const x=Array.from({length:Q},u),h=m.getTime()>=o.getTime()&&m.getTime()<=a.getTime()?p(m):null,g=tt(),b=ft,j="flex-1 min-h-0",v="min-w-[900px] relative";let f;t[2]===Symbol.for("react.memo_cache_sentinel")?(f={width:J},t[2]=f):f=t[2];let y;t[3]!==g?(y=g("sandbox.variantCalendar.variantBlock"),t[3]=g,t[4]=y):y=t[4];let T;t[5]!==y?(T=s.jsx("div",{className:"shrink-0 px-3 py-2 text-xs font-semibold uppercase tracking-wide text-muted-foreground border-r",style:f,children:y}),t[5]=y,t[6]=T):T=t[6];let w;t[7]===Symbol.for("react.memo_cache_sentinel")?(w={gridTemplateColumns:`repeat(${Q}, minmax(0, 1fr))`},t[7]=w):w=t[7];const D=x.map(ae);let k;t[8]!==D?(k=s.jsx("div",{className:"flex-1 grid",style:w,children:D}),t[8]=D,t[9]=k):k=t[9];let M;t[10]!==T||t[11]!==k?(M=s.jsxs("div",{className:"flex border-b sticky top-0 bg-background z-10",children:[T,k]}),t[10]=T,t[11]=k,t[12]=M):M=t[12];let S;t[13]!==g||t[14]!==h?(S=h!==null&&s.jsx("div",{className:"pointer-events-none absolute top-0 bottom-0 w-px bg-primary/70 z-[5]",style:{left:`calc(${J}px + (100% - ${J}px) * ${h} / 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:g("sandbox.variantCalendar.todayLabel")})}),t[13]=g,t[14]=h,t[15]=S):S=t[15];const A=c.map(_=>{const[N,L]=_,H=ut(i,N),F=L[0]?.blockLabel??N;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:J},children:F})}),L.map((E,W)=>s.jsxs("div",{className:"flex border-b items-center",style:{height:se},children:[s.jsxs("div",{className:"flex items-center gap-2 px-3 text-sm border-r shrink-0",style:{width:J},children:[s.jsx("span",{className:"inline-block h-2 w-2 rounded-full shrink-0",style:{background:H.bg}}),s.jsx("span",{className:"truncate text-foreground/80",children:E.label})]}),s.jsxs("div",{className:"relative flex-1 h-full",children:[s.jsx("div",{className:"absolute inset-0 grid",style:{gridTemplateColumns:`repeat(${Q}, minmax(0, 1fr))`},children:x.map(ie)}),(()=>{const R=Math.max(E.start.getTime(),o.getTime()),O=Math.min(E.end.getTime(),a.getTime());if(O<=R)return null;const I=p(new Date(R)),V=p(new Date(O))-I;return s.jsx(bt,{variant:E,color:H,fadeStart:E.openStart,fadeEnd:E.openEnd,style:{top:"50%",transform:"translateY(-50%)",left:`${I}%`,width:`calc(${V}% - 2px)`,height:22},children:E.label})})()]})]},W))]},N)});let $;t[16]!==M||t[17]!==S||t[18]!==A?($=s.jsxs("div",{className:v,children:[M,S,A]}),t[16]=M,t[17]=S,t[18]=A,t[19]=$):$=t[19];let C;return t[20]!==b||t[21]!==$?(C=s.jsx(b,{className:j,children:$}),t[20]=b,t[21]=$,t[22]=C):C=t[22],C}function ie(e,t){return s.jsx("div",{className:"border-r last:border-r-0 border-border/40"},t)}function ae(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:[ht[e.getMonth()]?.slice(0,3)," ",e.getFullYear()]},t)}function le(e,t){return e[0].localeCompare(t[0])}export{Xn as VariantCalendar};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as $,r as T,m as f,j as i}from"./index-
|
|
1
|
+
import{c as $,r as T,m as f,j as i}from"./index-CR4nVMnd.js";import{c as k,T as I,a as P}from"./tooltip-C8f2l6uq.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 l=M[_];let n;t[6]!==z?(n=f("relative flex gap-0 bg-muted rounded-lg",z),t[6]=z,t[7]=n):n=t[7];let a;t[8]!==l||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),"aria-label":e.label,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(l.buttonWithLabel,"px-3"):l.button),children:[i.jsx("span",{className:f("transition-colors ease-out duration-200 flex items-center justify-center [&>svg]:size-[1em]",l.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]=l,t[9]=b,t[10]=y,t[11]=o,t[12]=s,t[13]=a):a=t[13];const w=b?"h-12":l.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]!==n||t[25]!==a?(v=i.jsxs("div",{className:n,children:[a,u]}),t[23]=u,t[24]=n,t[25]=a,t[26]=v):v=t[26],v}export{B as V};
|
package/dist/client/index.html
CHANGED
|
@@ -28,9 +28,10 @@
|
|
|
28
28
|
var isDark = theme === "dark" || (theme === "system" && window.matchMedia("(prefers-color-scheme: dark)").matches);
|
|
29
29
|
if (isDark) {
|
|
30
30
|
document.documentElement.classList.add("dark");
|
|
31
|
-
// Also pre-set <meta name="theme-color"> so the
|
|
32
|
-
// doesn't flash light before the React runtime syncs it
|
|
33
|
-
// Value approximates dark --sidebar:
|
|
31
|
+
// Also pre-set <meta name="theme-color"> so the mobile browser
|
|
32
|
+
// chrome doesn't flash light before the React runtime syncs it
|
|
33
|
+
// from --sidebar. Value approximates dark --sidebar:
|
|
34
|
+
// oklch(0.155 0.005 60).
|
|
34
35
|
var meta = document.querySelector('meta[name="theme-color"]');
|
|
35
36
|
if (meta) meta.setAttribute("content", "#272524");
|
|
36
37
|
}
|
|
@@ -49,19 +50,8 @@
|
|
|
49
50
|
<meta name="twitter:description" content="Hire specialized agents, give them access to your tools, and let them deliver real projects — with planning, verification, and observability built in." />
|
|
50
51
|
<meta name="twitter:image" content="/og-image.png" />
|
|
51
52
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
"Add to Home Screen" installs Studio itself. The per-org install page
|
|
55
|
-
(/:org/install) temporarily swaps these for org-branded values via
|
|
56
|
-
usePwaManifest, so installing from there produces a separate app for
|
|
57
|
-
that org, then restores the defaults on leaving the page. -->
|
|
58
|
-
<link rel="manifest" href="/manifest.webmanifest" />
|
|
59
|
-
<link rel="apple-touch-icon" sizes="180x180" href="/icons/apple-touch-icon-180.png" />
|
|
60
|
-
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
61
|
-
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
|
|
62
|
-
<meta name="apple-mobile-web-app-title" content="deco Studio" />
|
|
63
|
-
<script type="module" crossorigin src="/assets/index-CsXIUaax.js"></script>
|
|
64
|
-
<link rel="stylesheet" crossorigin href="/assets/index-BAZmyVC-.css">
|
|
53
|
+
<script type="module" crossorigin src="/assets/index-CR4nVMnd.js"></script>
|
|
54
|
+
<link rel="stylesheet" crossorigin href="/assets/index-CbTRSuOH.css">
|
|
65
55
|
</head>
|
|
66
56
|
<body>
|
|
67
57
|
<div id="root"></div>
|