decocms 4.150.12 → 4.150.13
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-DkUSF8S9.js → AlertCircle-Eoiskkdw.js} +1 -1
- package/dist/client/assets/{AreaChart-B7P5iILx.js → AreaChart-D1UwNZ2i.js} +1 -1
- package/dist/client/assets/{ArrowUp-CwxMxJ_X.js → ArrowUp-Cqu5i0aZ.js} +1 -1
- package/dist/client/assets/{ArrowUpRight-Fn4hisEQ.js → ArrowUpRight-CWi3fozt.js} +1 -1
- package/dist/client/assets/{Check-CaWO08Ol.js → Check-BdHuJuPw.js} +1 -1
- package/dist/client/assets/{CheckCircle-Ce06Dt0r.js → CheckCircle-myPjsJGU.js} +1 -1
- package/dist/client/assets/{ChevronDown-dQW8AtGI.js → ChevronDown-DEyjLxYx.js} +1 -1
- package/dist/client/assets/{ChevronRight-BK_QoWDW.js → ChevronRight-BBN141em.js} +1 -1
- package/dist/client/assets/{ChevronUp-ClNBV1ML.js → ChevronUp-DJfqG7zj.js} +1 -1
- package/dist/client/assets/{Copy01-D0rsTdyc.js → Copy01-gvtGLLcY.js} +1 -1
- package/dist/client/assets/{CpuChip01-EpnURADx.js → CpuChip01-kG4BiE9Y.js} +1 -1
- package/dist/client/assets/{DotsVertical-BISxlJ7z.js → DotsVertical-5WbYSo6Z.js} +1 -1
- package/dist/client/assets/{Eye-CHWgme6t.js → Eye-CZFxMqY9.js} +1 -1
- package/dist/client/assets/{FilterLines-2nONIGaK.js → FilterLines-ubYrwRwC.js} +1 -1
- package/dist/client/assets/{HardDrive--H6xeB9a.js → HardDrive-F_HbtdSs.js} +1 -1
- package/dist/client/assets/{Key01-DGgsccNk.js → Key01-D9NzOa5l.js} +1 -1
- package/dist/client/assets/{LayoutLeft-Cl0i-UMj.js → LayoutLeft-BuxvHUKx.js} +1 -1
- package/dist/client/assets/{LinkExternal01-DLruoFNK.js → LinkExternal01-DJvk8I2A.js} +1 -1
- package/dist/client/assets/{LogOut01-Cu8U0s7_.js → LogOut01-DN8933ou.js} +1 -1
- package/dist/client/assets/{Monitor01-CDpPX-EA.js → Monitor01-Cd36dx-4.js} +1 -1
- package/dist/client/assets/{Palette-C9-u1HL2.js → Palette-D0m6ZhK3.js} +1 -1
- package/dist/client/assets/{Play-3ZXTDwaq.js → Play-D_aQs7dj.js} +1 -1
- package/dist/client/assets/{Plus-BJivuRWZ.js → Plus-XPxaBtTZ.js} +1 -1
- package/dist/client/assets/{SearchLg-DehWCYuP.js → SearchLg-Dlw09bmE.js} +1 -1
- package/dist/client/assets/{SearchMd-Dxz9PRr9.js → SearchMd-D-oUO6X0.js} +1 -1
- package/dist/client/assets/{Settings02-jyt4Cg5Z.js → Settings02-B_QAMj-P.js} +1 -1
- package/dist/client/assets/{Shield01-D8NQC667.js → Shield01-m7YUf-pl.js} +1 -1
- package/dist/client/assets/{Star01-Dwm5Prxz.js → Star01-4a_Jxita.js} +1 -1
- package/dist/client/assets/{Stars01-Cr6jH6bn.js → Stars01-C8PrtncY.js} +1 -1
- package/dist/client/assets/{Stars02-BvkKgu1r.js → Stars02-COchQugv.js} +1 -1
- package/dist/client/assets/{Sun-BmSr6mcR.js → Sun-Bdj4gRC5.js} +1 -1
- package/dist/client/assets/{SwitchHorizontal01-Cocp1NCJ.js → SwitchHorizontal01-IoYlCupu.js} +1 -1
- package/dist/client/assets/{Tool01-B43_tnd4.js → Tool01-B96hoDFN.js} +1 -1
- package/dist/client/assets/{Tool02-B1k57A59.js → Tool02-AsfUGp__.js} +1 -1
- package/dist/client/assets/{Trash01-Bij2sBQa.js → Trash01-g9SUeAN0.js} +1 -1
- package/dist/client/assets/{TrendUp01-DNUroovp.js → TrendUp01-BAGSq_YF.js} +1 -1
- package/dist/client/assets/{Upload01-DjH022N7.js → Upload01-L2syNbDQ.js} +1 -1
- package/dist/client/assets/{User01-ZmPLIjFd.js → User01-CbL87ZBv.js} +1 -1
- package/dist/client/assets/{Users01-BVLWlI1e.js → Users01-BMwIQhmY.js} +1 -1
- package/dist/client/assets/{Users03-BJvAVnZb.js → Users03-BJNH9N4K.js} +1 -1
- package/dist/client/assets/{X-BRRsujeq.js → X-th7ARgOR.js} +1 -1
- package/dist/client/assets/{XCircle-CCKIXuSl.js → XCircle-CfjuVDux.js} +1 -1
- package/dist/client/assets/{XClose-x59ADxdn.js → XClose-BV56nJYO.js} +1 -1
- package/dist/client/assets/{Zap-5T12Qisd.js → Zap-Cu4-I_Ac.js} +1 -1
- package/dist/client/assets/{ZapSquare-BnJ2CyTX.js → ZapSquare-k4WUcduv.js} +1 -1
- package/dist/client/assets/{access-gate-DtqxGB-6.js → access-gate-B0jUQZZH.js} +1 -1
- package/dist/client/assets/{add-section-modal-Bpcf-n0v.js → add-section-modal-Dz_K3qJ2.js} +1 -1
- package/dist/client/assets/{agent-icon-CX57MHZN.js → agent-icon-DCQPTD-I.js} +1 -1
- package/dist/client/assets/agents-list-opUfTjSK.js +1 -0
- package/dist/client/assets/{ai-providers-D4M2XSvx.js → ai-providers-C3-viUvZ.js} +1 -1
- package/dist/client/assets/{alert-Coj2IknE.js → alert-BGIkzGI9.js} +1 -1
- package/dist/client/assets/{alert-dialog-DMgETmzD.js → alert-dialog-P11DPMoL.js} +1 -1
- package/dist/client/assets/{app-editor-BLK6ix0D.js → app-editor-ccFWMS20.js} +1 -1
- package/dist/client/assets/{auth-Bxvu_2Ac.js → auth-BqANqm0A.js} +1 -1
- package/dist/client/assets/{auth-catchall-BLVM76qH.js → auth-catchall-BOnc_g4-.js} +1 -1
- package/dist/client/assets/{auth-entry-hR1VkCsv.js → auth-entry-DMFjUxSN.js} +1 -1
- package/dist/client/assets/{auth-split-layout-Bq7vmRP1.js → auth-split-layout-B07StbUi.js} +1 -1
- package/dist/client/assets/{authenticate-and-persist-oauth-iGLSyEy7.js → authenticate-and-persist-oauth-sNdJBe3I.js} +1 -1
- package/dist/client/assets/{automation-list-row-KsI-CvB5.js → automation-list-row-BgdzPrn2.js} +1 -1
- package/dist/client/assets/{automation-runs-B7jzZApT.js → automation-runs-kY0Hd5bJ.js} +1 -1
- package/dist/client/assets/{automations-BGn1AtyZ.js → automations-duhQRZ_h.js} +1 -1
- package/dist/client/assets/{avatar-JWYe9tuD.js → avatar-C7VBTxjb.js} +1 -1
- package/dist/client/assets/{badge-D7PXFjPU.js → badge-Bu9TYgek.js} +1 -1
- package/dist/client/assets/{block-document-ClcxUvCd.js → block-document-Dx-Kq5IV.js} +1 -1
- package/dist/client/assets/{brand-context-DA0HdnVu.js → brand-context-CWx4XQkj.js} +1 -1
- package/dist/client/assets/{buckets-1I5fO_OM.js → buckets-CW6FQIkN.js} +1 -1
- package/dist/client/assets/{bulk-category-panel-FNvOtMsi.js → bulk-category-panel-Dz7CZ_Ps.js} +1 -1
- package/dist/client/assets/{calendar-CyE49Lc6.js → calendar-DOxmGM7p.js} +1 -1
- package/dist/client/assets/{capability-load-error-_6TFDt_Z.js → capability-load-error-DTwJskAo.js} +1 -1
- package/dist/client/assets/{card-soYQdPhw.js → card-B0f_2u3D.js} +1 -1
- package/dist/client/assets/{category-editor-Dl0UGGun.js → category-editor-eF5ieM9X.js} +1 -1
- package/dist/client/assets/{chat-context-DOruUose.js → chat-context-aAijaY3A.js} +1 -1
- package/dist/client/assets/{checkbox-0q9FnTIX.js → checkbox-d1Rt9GUt.js} +1 -1
- package/dist/client/assets/{cli-auth-success-CR_KdW_E.js → cli-auth-success-BTkf7YGZ.js} +1 -1
- package/dist/client/assets/{collection-detail-CwGX6_bW.js → collection-detail-XE42oRb-.js} +1 -1
- package/dist/client/assets/{collection-display-button-CNua0OQw.js → collection-display-button-DUa_Df-A.js} +1 -1
- package/dist/client/assets/{collection-search-Dpng8LoC.js → collection-search-DVfGAujX.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-BEablUll.js → collection-table-wrapper-BsO2CtT4.js} +1 -1
- package/dist/client/assets/{collection-tabs-BIyQDwrD.js → collection-tabs-u5enzkVl.js} +1 -1
- package/dist/client/assets/{command-lV9P9VCb.js → command-uPNVzZmX.js} +1 -1
- package/dist/client/assets/{commerce-onboarding-d5Ckriwp.js → commerce-onboarding-EbYviyIl.js} +1 -1
- package/dist/client/assets/{companions-core-T8xKIDs8.js → companions-core-Dg0TNpYb.js} +1 -1
- package/dist/client/assets/{connect-CBvQSyjS.js → connect-Da9YwgpD.js} +1 -1
- package/dist/client/assets/{connection-Cn5mPZjc.js → connection-Du_RJnpr.js} +1 -1
- package/dist/client/assets/{connection-card-M--ClGzW.js → connection-card-CSYIgKfu.js} +1 -1
- package/dist/client/assets/{connection-detail-CKiwpwQw.js → connection-detail-COQvrxlN.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-SRVklhqj.js → connection-form-helpers-C1xXkycr.js} +1 -1
- package/dist/client/assets/{connections-Bn8tLKRu.js → connections-f5IaRiLS.js} +1 -1
- package/dist/client/assets/{decopilot-sse-pool-DfiSaS6Z.js → decopilot-sse-pool-B-6W79yQ.js} +1 -1
- package/dist/client/assets/{dialog-B9oegZDu.js → dialog-CJkJPlAS.js} +1 -1
- package/dist/client/assets/{domain-settings-BamKNkfv.js → domain-settings-B-OR8tCr.js} +1 -1
- package/dist/client/assets/{drawer-gCdKlKyC.js → drawer-Vmj6vj2H.js} +1 -1
- package/dist/client/assets/{dropdown-menu-BYWILVSv.js → dropdown-menu-DabrgiLz.js} +1 -1
- package/dist/client/assets/{empty-state-DI5SVsDm.js → empty-state-fv8rbuQT.js} +1 -1
- package/dist/client/assets/{extract-connection-data-BiZHVUW1.js → extract-connection-data-C2XmdMG4.js} +1 -1
- package/dist/client/assets/{file-explorer-MajU3dSY.js → file-explorer-DmkInB_B.js} +1 -1
- package/dist/client/assets/{form-DbQjm3RG.js → form-BNZvnkRb.js} +1 -1
- package/dist/client/assets/{general-BL1n62uN.js → general-m1pdndCH.js} +1 -1
- package/dist/client/assets/github-repo-picker-BZBSEeFT.js +1 -0
- package/dist/client/assets/{hooks-Cdi0T6NA.js → hooks-S0-VfPJM.js} +1 -1
- package/dist/client/assets/{index-Dsg3QMPc.js → index-B6ykVoku.js} +1 -1
- package/dist/client/assets/{index-4jt5IRNL.js → index-BR5NjjJc.js} +1 -1
- package/dist/client/assets/{index-CB06aXrK.js → index-Bc4pTCDJ.js} +1 -1
- package/dist/client/assets/{index-BtOilzE5.js → index-Bp9fmXVF.js} +1 -1
- package/dist/client/assets/{index-Bn5LDRj0.js → index-C8ZRu3O2.js} +1 -1
- package/dist/client/assets/{index-yzqlSPEW.js → index-CE-pZQ5n.js} +1 -1
- package/dist/client/assets/{index-CLgyj0Ph.js → index-CsXIUaax.js} +3 -3
- package/dist/client/assets/{index-BBJRaxX8.js → index-DfcOr-zj.js} +1 -1
- package/dist/client/assets/{index-DD0t6510.js → index-oCG8H3JL.js} +5 -5
- package/dist/client/assets/{index-redirect-BiiMfl6M.js → index-redirect-ejiq3ej6.js} +1 -1
- package/dist/client/assets/{index-BcxH3g_P.js → index-vAlUDtly.js} +3 -3
- package/dist/client/assets/{index-DYdINzCW.js → index-vd6CkgrG.js} +1 -1
- package/dist/client/assets/{input-BwMPytZi.js → input-B6QX4Bsc.js} +1 -1
- package/dist/client/assets/{integration-icon-BSizUwtM.js → integration-icon-CAdntIjt.js} +1 -1
- package/dist/client/assets/{invite-member-dialog-C0XaeElw.js → invite-member-dialog-34FD2jh4.js} +1 -1
- package/dist/client/assets/{label-DFGmypV5.js → label-CEg7qY-f.js} +1 -1
- package/dist/client/assets/{layout-DxXYx71Y.js → layout-BzEtom0U.js} +1 -1
- package/dist/client/assets/{login-Bz-2wgDI.js → login-CFRyKNLt.js} +1 -1
- package/dist/client/assets/{mcp-oauth-DNSOSAwY.js → mcp-oauth-Dl2k8oDk.js} +1 -1
- package/dist/client/assets/{members-f5WGmg4S.js → members-DJ1Auc8C.js} +1 -1
- package/dist/client/assets/{monaco-editor-nBV34MRL.js → monaco-editor-BVhG6A-M.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-B42ZD2Pr.js → monitoring-stats-row-SqogCnFC.js} +1 -1
- package/dist/client/assets/{multi-select-BXdAwEJ3.js → multi-select-UF9SWQ6e.js} +1 -1
- package/dist/client/assets/{oauth-callback-ChT-RlHe.js → oauth-callback-DZO2ZJBO.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-Dj3lFY5c.js → oauth-callback-ai-provider-9-U3XUKP.js} +1 -1
- package/dist/client/assets/{onboarding-wXglYyah.js → onboarding-CyrprJFg.js} +1 -1
- package/dist/client/assets/{org-install-BGhxaoAp.js → org-install-DGCT_s6M.js} +1 -1
- package/dist/client/assets/{org-layout-CWltwFJ8.js → org-layout-B728gB0l.js} +1 -1
- package/dist/client/assets/{organization-choice-t5wYtE_x.js → organization-choice-Ccuwzodh.js} +1 -1
- package/dist/client/assets/{orgs-BIX-r_Bs.js → orgs-CPUy2U55.js} +1 -1
- package/dist/client/assets/{page-seo-form-Hdn6H-EE.js → page-seo-form-DlEVMpaI.js} +1 -1
- package/dist/client/assets/{popover-DmPP_Wum.js → popover-DEaCMzZP.js} +1 -1
- package/dist/client/assets/{post-editor-OyGhf2Ka.js → post-editor-Bb5IfTCU.js} +1 -1
- package/dist/client/assets/{primitives-CaH5RBnr.js → primitives-BTgHbvPp.js} +1 -1
- package/dist/client/assets/{profile-B2VY0ZS8.js → profile-CxkMLIYl.js} +1 -1
- package/dist/client/assets/project-app-view-CbsnI5_S.js +1 -0
- package/dist/client/assets/provision-repo-scoped-github-connection-C2RHf8fG.js +1 -0
- package/dist/client/assets/record-editor-CDJ26ss0.js +1 -0
- package/dist/client/assets/{redirect-editor-C96uMcWu.js → redirect-editor-DD7PcldO.js} +1 -1
- package/dist/client/assets/registry-Uwc000L6.js +2 -0
- package/dist/client/assets/{registry-layout-JmQNDspa.js → registry-layout-CfaJe34R.js} +1 -1
- package/dist/client/assets/{reports-Bl0iJBbV.js → reports-BFgBFsZV.js} +1 -1
- package/dist/client/assets/{require-capability-APhfyAbM.js → require-capability-BV5_KDVM.js} +1 -1
- package/dist/client/assets/{required-auth-layout-D68OOUEY.js → required-auth-layout-CWHGEbNY.js} +1 -1
- package/dist/client/assets/{reset-password-DL8RfFE6.js → reset-password-cg551v26.js} +1 -1
- package/dist/client/assets/{roles-Cm81NQ5G.js → roles-DkFyVRXC.js} +1 -1
- package/dist/client/assets/{search-input-CVQs7RpL.js → search-input-BiAm-dHP.js} +1 -1
- package/dist/client/assets/{secrets-CCvK4loO.js → secrets-CbL3TEVq.js} +1 -1
- package/dist/client/assets/{sections-editor-DkBwWst3.js → sections-editor-YtQ-pXxY.js} +1 -1
- package/dist/client/assets/{select-DiBMx0I6.js → select-DWrifuH3.js} +1 -1
- package/dist/client/assets/{select-model-U0NH-03Z.js → select-model-L_zaW5VV.js} +1 -1
- package/dist/client/assets/{self-tool-result-Dmty8b-9.js → self-tool-result-ILtZLxoN.js} +1 -1
- package/dist/client/assets/{seo-editor-Cv5a7w20.js → seo-editor-7FbWYb3Z.js} +1 -1
- package/dist/client/assets/{settings-layout-DTUqWdZq.js → settings-layout-CAkmdzMT.js} +1 -1
- package/dist/client/assets/{settings-section-CJi2U3py.js → settings-section-CZBB9hU0.js} +1 -1
- package/dist/client/assets/{shell-controls-BtDc9Y-D.js → shell-controls-llKLpxpW.js} +1 -1
- package/dist/client/assets/{shell-layout-CZMSsz_J.js → shell-layout-BTLWrDNT.js} +1 -1
- package/dist/client/assets/{sidebar-DeKVeH2K.js → sidebar-Dy1VWxxx.js} +1 -1
- package/dist/client/assets/{skeleton-YNL4Gfyh.js → skeleton-Dr0ihbmb.js} +1 -1
- package/dist/client/assets/{spinner-cWHEuKxp.js → spinner-ChQk-fuJ.js} +1 -1
- package/dist/client/assets/{sso-BIp8LA3w.js → sso-CZy_Z0iZ.js} +1 -1
- package/dist/client/assets/store-registry-C4rA423j.js +2 -0
- package/dist/client/assets/{store-R2rNmTrf.js → store-yTKa6R4e.js} +1 -1
- package/dist/client/assets/{studio-tools-DIB17zFH.js → studio-tools-WL-_7DVR.js} +1 -1
- package/dist/client/assets/{switch-CbcK-jGL.js → switch-lBLWR9-v.js} +1 -1
- package/dist/client/assets/{tab-id-7b3wA9i7.js → tab-id-BME_CqCy.js} +1 -1
- package/dist/client/assets/{table-DBYSBeR3.js → table-DX49ZzwB.js} +1 -1
- package/dist/client/assets/{tabs-BrFyu0Ld.js → tabs-EJLJDayr.js} +1 -1
- package/dist/client/assets/{textarea-BGf8-22U.js → textarea-C_aquDFn.js} +1 -1
- package/dist/client/assets/{toggle-group-CjS_UJ7P.js → toggle-group-Q0IrBn5K.js} +1 -1
- package/dist/client/assets/{toolbar-BZigRKxC.js → toolbar-DtyhtDGB.js} +1 -1
- package/dist/client/assets/{tooltip-Boyng34D.js → tooltip-fIVhp5ou.js} +1 -1
- package/dist/client/assets/{use-ai-providers-BrI62wxb.js → use-ai-providers-DEYBcyVN.js} +1 -1
- package/dist/client/assets/{use-automations-CwH1KDVN.js → use-automations-NZO0H-p1.js} +1 -1
- package/dist/client/assets/{use-autosave-D4pq6CN0.js → use-autosave-CUy33u2t.js} +1 -1
- package/dist/client/assets/{use-capability-BWY6g3Hm.js → use-capability-Dzali0wY.js} +1 -1
- package/dist/client/assets/{use-clock-tick-CGEs0Tg3.js → use-clock-tick-DR9o8Vl7.js} +1 -1
- package/dist/client/assets/{use-connection-DpTbs6D3.js → use-connection-B06hUHgo.js} +1 -1
- package/dist/client/assets/{use-copy-BjAla8BE.js → use-copy-2CfnxQXo.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-SW1VWhqm.js → use-create-virtual-mcp-DEF-DvFp.js} +1 -1
- package/dist/client/assets/{use-debounced-autosave-pWgqt4Hv.js → use-debounced-autosave-ChmgSDUl.js} +1 -1
- package/dist/client/assets/{use-debounced-value-MHaS7My_.js → use-debounced-value-CFLMM6Qe.js} +1 -1
- package/dist/client/assets/{use-deco-credits-D_UnpHIS.js → use-deco-credits-Bf0twN-A.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-DIQe_rcp.js → use-decopilot-events-ByGtTT-X.js} +1 -1
- package/dist/client/assets/{use-delete-connection-XG9nVuEY.js → use-delete-connection-D0aJn94j.js} +1 -1
- package/dist/client/assets/{use-deployment-admin-QHseVn26.js → use-deployment-admin-CbjYP-TY.js} +1 -1
- package/dist/client/assets/{use-file-configs-C3YngRho.js → use-file-configs-Du58T_Jv.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-CfKncOiK.js → use-infinite-scroll-C3O-KBl8.js} +1 -1
- package/dist/client/assets/{use-join-requests-BG4xsWYG.js → use-join-requests-Bl54Lsyw.js} +1 -1
- package/dist/client/assets/{use-mcp-auth-status-qaat6Jvn.js → use-mcp-auth-status-P3A3uVfF.js} +1 -1
- package/dist/client/assets/{use-mcp-client-BEwkzQUP.js → use-mcp-client-DpsAHhsu.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-gn9osu_Q.js → use-mcp-tools-D5d64p3C.js} +1 -1
- package/dist/client/assets/{use-members-DTeBeYXQ.js → use-members-CmlnN6Aw.js} +1 -1
- package/dist/client/assets/{use-mobile-ClQdbPYE.js → use-mobile-DGf5vwNF.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-DvK4hzMp.js → use-navigate-to-agent-BtA6n79A.js} +1 -1
- package/dist/client/assets/{use-org-auth-client-DHBscDoc.js → use-org-auth-client-BmTFN65s.js} +1 -1
- package/dist/client/assets/{use-org-sso-R6aJskDC.js → use-org-sso-DWfsG4pV.js} +1 -1
- package/dist/client/assets/{use-organization-roles-CSIbmHE0.js → use-organization-roles-DcrcrZqB.js} +1 -1
- package/dist/client/assets/{use-organization-settings-3l3-PWZ-.js → use-organization-settings-DOeb2tV3.js} +1 -1
- package/dist/client/assets/{use-registry-connections-m_NzqSHw.js → use-registry-connections-CWaA6tdp.js} +1 -1
- package/dist/client/assets/{use-secrets-CmAxrjv8.js → use-secrets-en8tthJo.js} +1 -1
- package/dist/client/assets/{use-status-sounds-D4JT9F25.js → use-status-sounds-CW8S7oZ-.js} +1 -1
- package/dist/client/assets/{use-tags-BauEp0vd.js → use-tags-Q5fBrYNZ.js} +1 -1
- package/dist/client/assets/{use-view-mode-9NHwOyEs.js → use-view-mode-W11-AL0e.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-BnHBU3_3.js → use-virtual-mcp-CNAeRFsi.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-BsbgCJ-c.js +1 -0
- package/dist/client/assets/{useQueries-DF7muCkz.js → useQueries-mGQBH8qb.js} +1 -1
- package/dist/client/assets/{useRouterState-CO6LbiMl.js → useRouterState-DstVuNgC.js} +1 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-3ceZ8_NX.js +1 -0
- package/dist/client/assets/{users-CcQPcfAb.js → users-CcHMTpxs.js} +1 -1
- package/dist/client/assets/{variant-calendar-BOnCE7y-.js → variant-calendar-BnAhmw2x.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-CNPz7BwP.js → view-mode-toggle-BjeJK31L.js} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/server/cli.js +259 -259
- package/dist/server/server.js +108 -108
- package/package.json +1 -1
- package/dist/client/assets/agents-list-gFzIi7tp.js +0 -1
- package/dist/client/assets/github-repo-picker-Bu5y6cUR.js +0 -1
- package/dist/client/assets/project-app-view-C18r3lmY.js +0 -1
- package/dist/client/assets/provision-repo-scoped-github-connection-DWINBxtd.js +0 -1
- package/dist/client/assets/record-editor-DJRW6Y3d.js +0 -1
- package/dist/client/assets/registry-BQ5mVg5k.js +0 -2
- package/dist/client/assets/store-registry-DbqduPMQ.js +0 -2
- package/dist/client/assets/useInfiniteQuery-P1Iqwjod.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-dT7ERMWt.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as K,b as tt,r as et,j as s,m as ot,B as nt}from"./index-CLgyj0Ph.js";import{x as vt,$ as dt,h as yt}from"./agent-icon-CX57MHZN.js";import{i as Tt}from"./ChevronRight-BK_QoWDW.js";import{L as jt}from"./label-DFGmypV5.js";import{n as ft}from"./automation-runs-B7jzZApT.js";import{S as Nt}from"./switch-CbcK-jGL.js";import{T as wt,c as kt,a as Mt}from"./tooltip-Boyng34D.js";import{V as _t}from"./view-mode-toggle-CNPz7BwP.js";import"./AlertCircle-DkUSF8S9.js";import"./Tool01-B43_tnd4.js";import"./ArrowUp-CwxMxJ_X.js";import"./Settings02-jyt4Cg5Z.js";import"./Tool02-B1k57A59.js";import"./XCircle-CCKIXuSl.js";import"./ArrowUpRight-Fn4hisEQ.js";import"./TrendUp01-DNUroovp.js";import"./ZapSquare-BnJ2CyTX.js";import"./Users03-BJvAVnZb.js";import"./CheckCircle-Ce06Dt0r.js";import"./Check-CaWO08Ol.js";import"./ChevronDown-dQW8AtGI.js";import"./ChevronUp-ClNBV1ML.js";import"./DotsVertical-BISxlJ7z.js";import"./Stars02-BvkKgu1r.js";import"./Copy01-D0rsTdyc.js";import"./CpuChip01-EpnURADx.js";import"./Eye-CHWgme6t.js";import"./FilterLines-2nONIGaK.js";import"./Star01-Dwm5Prxz.js";import"./Palette-C9-u1HL2.js";import"./SwitchHorizontal01-Cocp1NCJ.js";import"./HardDrive--H6xeB9a.js";import"./Key01-DGgsccNk.js";import"./LayoutLeft-Cl0i-UMj.js";import"./LinkExternal01-DLruoFNK.js";import"./LogOut01-Cu8U0s7_.js";import"./Monitor01-CDpPX-EA.js";import"./Sun-BmSr6mcR.js";import"./Play-3ZXTDwaq.js";import"./Plus-BJivuRWZ.js";import"./SearchLg-DehWCYuP.js";import"./SearchMd-Dxz9PRr9.js";import"./Shield01-D8NQC667.js";import"./Stars01-Cr6jH6bn.js";import"./Trash01-Bij2sBQa.js";import"./Upload01-DjH022N7.js";import"./User01-ZmPLIjFd.js";import"./Users01-BVLWlI1e.js";import"./XClose-x59ADxdn.js";import"./X-BRRsujeq.js";import"./Zap-5T12Qisd.js";import"./select-DiBMx0I6.js";import"./useInfiniteQuery-P1Iqwjod.js";import"./use-infinite-scroll-CfKncOiK.js";import"./use-connection-DpTbs6D3.js";import"./use-mcp-client-BEwkzQUP.js";import"./auth-Bxvu_2Ac.js";import"./use-virtual-mcp-BnHBU3_3.js";import"./card-soYQdPhw.js";import"./sidebar-DeKVeH2K.js";import"./use-mobile-ClQdbPYE.js";import"./table-DBYSBeR3.js";import"./empty-state-DI5SVsDm.js";import"./use-members-DTeBeYXQ.js";import"./use-org-auth-client-DHBscDoc.js";import"./use-clock-tick-CGEs0Tg3.js";import"./use-automations-CwH1KDVN.js";import"./studio-tools-DIB17zFH.js";import"./useSuspenseInfiniteQuery-dT7ERMWt.js";import"./avatar-JWYe9tuD.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-BjAla8BE.js";import"./dialog-B9oegZDu.js";import"./tab-id-7b3wA9i7.js";import"./hooks-Cdi0T6NA.js";import"./delay-CnY5UFtP.js";import"./backoff-CrEUbyZT.js";import"./decopilot-sse-pool-DfiSaS6Z.js";import"./chat-context-DOruUose.js";import"./use-ai-providers-BrI62wxb.js";import"./use-decopilot-events-DIQe_rcp.js";import"./use-organization-settings-3l3-PWZ-.js";import"./monaco-editor-nBV34MRL.js";import"./spinner-cWHEuKxp.js";import"./index-4jt5IRNL.js";import"./calendar-CyE49Lc6.js";import"./shell-layout-CZMSsz_J.js";import"./required-auth-layout-D68OOUEY.js";import"./use-org-sso-R6aJskDC.js";import"./integration-icon-BSizUwtM.js";import"./use-navigate-to-agent-DvK4hzMp.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-B7P5iILx.js";import"./form-DbQjm3RG.js";import"./input-BwMPytZi.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-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 +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-CsXIUaax.js";import{c as k,T as I,a as P}from"./tooltip-fIVhp5ou.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
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
61
61
|
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
|
|
62
62
|
<meta name="apple-mobile-web-app-title" content="deco Studio" />
|
|
63
|
-
<script type="module" crossorigin src="/assets/index-
|
|
63
|
+
<script type="module" crossorigin src="/assets/index-CsXIUaax.js"></script>
|
|
64
64
|
<link rel="stylesheet" crossorigin href="/assets/index-BAZmyVC-.css">
|
|
65
65
|
</head>
|
|
66
66
|
<body>
|