decocms 4.91.15 → 4.91.17
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-BAVOz-2x.js → AlertCircle-BGlKGdTb.js} +1 -1
- package/dist/client/assets/{AreaChart-BBlsfTvH.js → AreaChart-Ca9eqFHp.js} +1 -1
- package/dist/client/assets/{ArrowUp-CdomKn6E.js → ArrowUp-CMXY31BF.js} +1 -1
- package/dist/client/assets/{ArrowUpRight-DzplOzc9.js → ArrowUpRight-DIxJSiLE.js} +1 -1
- package/dist/client/assets/{CheckCircle-BUmTwNEw.js → CheckCircle-DCJoWMaC.js} +1 -1
- package/dist/client/assets/{ChevronDown-BwIAM8yJ.js → ChevronDown-BoCmiJCp.js} +1 -1
- package/dist/client/assets/{ChevronRight-CR81Jb7f.js → ChevronRight-DwbK2Hga.js} +1 -1
- package/dist/client/assets/{ChevronUp-CHwBY_gQ.js → ChevronUp-BgzDzHmQ.js} +1 -1
- package/dist/client/assets/{Copy01-fXkAnRle.js → Copy01-BcIXU-wD.js} +1 -1
- package/dist/client/assets/{DotsVertical-CTvul5Hx.js → DotsVertical-CdtQ_Thp.js} +1 -1
- package/dist/client/assets/{Eye-C56Rqkt8.js → Eye-BJ4RRqCl.js} +1 -1
- package/dist/client/assets/{FilterLines-lTq6Ij1i.js → FilterLines-2yjT84UP.js} +1 -1
- package/dist/client/assets/{Globe01-CBAdJxff.js → Globe01-CMBl4ZOu.js} +1 -1
- package/dist/client/assets/{Globe04-Cf9zDTCT.js → Globe04-U9ZZMQCU.js} +1 -1
- package/dist/client/assets/{HardDrive-DvuSdXbu.js → HardDrive-DoFxbnXU.js} +1 -1
- package/dist/client/assets/{Image01-ffA98M16.js → Image01-DhNwRQ1M.js} +1 -1
- package/dist/client/assets/{Key01-BoS606T3.js → Key01-IX0cBsuj.js} +1 -1
- package/dist/client/assets/{LayoutLeft-CaPhxBpK.js → LayoutLeft-CW6CPCxO.js} +1 -1
- package/dist/client/assets/{LinkExternal01-4NcYsJN5.js → LinkExternal01-3h_vAp73.js} +1 -1
- package/dist/client/assets/{Monitor01-Bf_ipmVo.js → Monitor01-D9JUTJQO.js} +1 -1
- package/dist/client/assets/{Package-C6m5hlJG.js → Package-C3eTlHYf.js} +1 -1
- package/dist/client/assets/{Palette-Bog-hkDH.js → Palette-DovQVcDh.js} +1 -1
- package/dist/client/assets/{Play-CAJLxQxl.js → Play-DvOtTJ84.js} +1 -1
- package/dist/client/assets/{Plus-B5eO3bTy.js → Plus-C6VfyuFu.js} +1 -1
- package/dist/client/assets/{SearchLg-C9KqXDtT.js → SearchLg-CBv_QbyB.js} +1 -1
- package/dist/client/assets/{SearchMd-Byn-coVH.js → SearchMd-BtzDduGS.js} +1 -1
- package/dist/client/assets/{Settings02-CuWmowxn.js → Settings02-DagXlYm3.js} +1 -1
- package/dist/client/assets/{Shield01-Bca-So8r.js → Shield01-zlG_VEEt.js} +1 -1
- package/dist/client/assets/{Star01-BeXsAFXb.js → Star01-Cjcef6Yt.js} +1 -1
- package/dist/client/assets/{Stars01-hjCPYLmR.js → Stars01-dohkZwrA.js} +1 -1
- package/dist/client/assets/{Stars02-Bvdy1G8F.js → Stars02-nP0CzATq.js} +1 -1
- package/dist/client/assets/{Sun-DaMMLO5r.js → Sun-WSxfEWpu.js} +1 -1
- package/dist/client/assets/{SwitchHorizontal01-D3Ov4m9E.js → SwitchHorizontal01-DKfyR3gt.js} +1 -1
- package/dist/client/assets/{Tool01-BsvXLKqb.js → Tool01-7n-BdBmS.js} +1 -1
- package/dist/client/assets/{Tool02-CSuiCYgo.js → Tool02-gmkySZHP.js} +1 -1
- package/dist/client/assets/{Trash01-BNstTg_1.js → Trash01-CTghcy8Q.js} +1 -1
- package/dist/client/assets/{TrendUp01--z14cIxf.js → TrendUp01-Cb_ibXVk.js} +1 -1
- package/dist/client/assets/{Upload01-8kBCAzuF.js → Upload01-B7UxZ0r_.js} +1 -1
- package/dist/client/assets/{User01-B6A0_PQ7.js → User01-CwOiu7PU.js} +1 -1
- package/dist/client/assets/{Users01-ovBEB8pw.js → Users01-WDC0eAAl.js} +1 -1
- package/dist/client/assets/{Users03-DNyqpf8B.js → Users03-DLM_6PfM.js} +1 -1
- package/dist/client/assets/{X-BLBVAPOy.js → X-CB6lUIV4.js} +1 -1
- package/dist/client/assets/{XCircle-ZFeyu-0s.js → XCircle-Cu0j5VmU.js} +1 -1
- package/dist/client/assets/{XClose-BOxmZ42j.js → XClose-YCEfP3T2.js} +1 -1
- package/dist/client/assets/{Zap-C_1cs5r0.js → Zap-C8xvkAed.js} +1 -1
- package/dist/client/assets/{ZapSquare-Cv314uE4.js → ZapSquare-7bIxUiRU.js} +1 -1
- package/dist/client/assets/{ZoomOut-CQAHgoiD.js → ZoomOut-BGImL78w.js} +1 -1
- package/dist/client/assets/{access-gate-ChNZThLC.js → access-gate-b3aU5Lr1.js} +1 -1
- package/dist/client/assets/{add-section-modal-qIs8pZh0.js → add-section-modal-BZafv01m.js} +1 -1
- package/dist/client/assets/{agent-icon-CtX3hx5F.js → agent-icon-C0GEIDHb.js} +1 -1
- package/dist/client/assets/{agents-list-CDvubk7n.js → agents-list-MaXFf5cw.js} +1 -1
- package/dist/client/assets/{ai-providers-Dw4Ws7aR.js → ai-providers-Bjrf7ii2.js} +1 -1
- package/dist/client/assets/{alert-C9VZr1JG.js → alert-Hl2aIamJ.js} +1 -1
- package/dist/client/assets/{alert-dialog-Q_BwIUfu.js → alert-dialog-D7nRnanq.js} +1 -1
- package/dist/client/assets/{app-editor-Bm6bgVYS.js → app-editor-mQqhLNNu.js} +1 -1
- package/dist/client/assets/{auth-DWmoiFT3.js → auth-BRXrXkt6.js} +1 -1
- package/dist/client/assets/{auth-catchall-DAPsIyhK.js → auth-catchall-CB4lw_G8.js} +1 -1
- package/dist/client/assets/{auth-entry-SHYS_Z04.js → auth-entry-fn89Oy82.js} +1 -1
- package/dist/client/assets/{auth-split-layout-BbYX_D2I.js → auth-split-layout-CSAqSFTU.js} +1 -1
- package/dist/client/assets/{authenticate-and-persist-oauth-mIivMus1.js → authenticate-and-persist-oauth-Ba9c_9Oy.js} +1 -1
- package/dist/client/assets/{automation-list-row-BL6OIn6v.js → automation-list-row-texQSPB4.js} +1 -1
- package/dist/client/assets/{automation-runs-D4MCi19D.js → automation-runs-BbQ-eGF5.js} +1 -1
- package/dist/client/assets/{automations-DCkMyKx3.js → automations-DGhmDmyO.js} +1 -1
- package/dist/client/assets/{autosend-nTHzHKVV.js → autosend-D-pbX287.js} +1 -1
- package/dist/client/assets/{avatar-B7H5YfAv.js → avatar-B-ZipgUP.js} +1 -1
- package/dist/client/assets/{badge-RF6m1wb5.js → badge-DUjJsrjX.js} +1 -1
- package/dist/client/assets/{block-document-CLwYPOrS.js → block-document-DGwm9euu.js} +1 -1
- package/dist/client/assets/{brand-context-BiFVu3Nt.js → brand-context-CLJ1TWJ_.js} +1 -1
- package/dist/client/assets/{buckets-Cu-mDC9K.js → buckets-8obv3WCy.js} +1 -1
- package/dist/client/assets/{bulk-category-panel-CIroraGq.js → bulk-category-panel-Bd8sIrgE.js} +1 -1
- package/dist/client/assets/{calendar-EgEumd4K.js → calendar-DWrglk9C.js} +1 -1
- package/dist/client/assets/{capability-load-error-DpDC2nXy.js → capability-load-error-CR7eoNkA.js} +1 -1
- package/dist/client/assets/{card-nbi0jwXg.js → card-DIOEIMHs.js} +1 -1
- package/dist/client/assets/{category-editor-C7BOhWVs.js → category-editor-DL56Sj4K.js} +1 -1
- package/dist/client/assets/{chat-context-CxcCOIx-.js → chat-context-CVhwt8M3.js} +1 -1
- package/dist/client/assets/{checkbox-0S0p1Qa5.js → checkbox-C7sGnAeh.js} +1 -1
- package/dist/client/assets/{cli-auth-success-Dl9_nPdl.js → cli-auth-success-CPp3ga8P.js} +1 -1
- package/dist/client/assets/{collection-detail-CnA6DONP.js → collection-detail-B-2OM4RI.js} +1 -1
- package/dist/client/assets/{collection-display-button-B2ZdPE0w.js → collection-display-button--DYGAed0.js} +1 -1
- package/dist/client/assets/{collection-search-BuhzlZH8.js → collection-search-CzHXnsTl.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-p2pYSSH6.js → collection-table-wrapper-cffrlFBQ.js} +1 -1
- package/dist/client/assets/{collection-tabs-D-3Qpy7-.js → collection-tabs-o2jgx2wl.js} +1 -1
- package/dist/client/assets/{command-CepxnYO9.js → command-BiQABKPp.js} +1 -1
- package/dist/client/assets/{commerce-onboarding-Djots0jm.js → commerce-onboarding-Bx5hD-TQ.js} +1 -1
- package/dist/client/assets/{companions-core-Dg3HSBf0.js → companions-core-BitFqsEy.js} +1 -1
- package/dist/client/assets/{connect-desktop-dialog-CthnsqOM.js → connect-desktop-dialog-BlMEoJ-G.js} +1 -1
- package/dist/client/assets/{connection-card-rdd2ujA7.js → connection-card-BUI4rDj5.js} +1 -1
- package/dist/client/assets/{connection-detail-DEag1MpP.js → connection-detail-CkzciaCV.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-Y52B043-.js → connection-form-helpers-CYs9YQVP.js} +1 -1
- package/dist/client/assets/{connections-ClpkSDn9.js → connections-DqWGKotm.js} +1 -1
- package/dist/client/assets/{decopilot-sse-pool-DPMHbwbb.js → decopilot-sse-pool-D2LjU1_x.js} +1 -1
- package/dist/client/assets/{dialog-Ccu5eFvd.js → dialog-DGfvVgIw.js} +1 -1
- package/dist/client/assets/{domain-settings-vAp84nto.js → domain-settings-CLjfeAzC.js} +1 -1
- package/dist/client/assets/{drawer-CTLHO_Po.js → drawer-cxHkaghU.js} +1 -1
- package/dist/client/assets/{dropdown-menu-Dq9H83GM.js → dropdown-menu-BqyVnnAB.js} +1 -1
- package/dist/client/assets/{empty-state-Bh6MA1Jh.js → empty-state-CqZpB3-j.js} +1 -1
- package/dist/client/assets/{extract-connection-data-CKuJH2zH.js → extract-connection-data-OhPsFQeQ.js} +1 -1
- package/dist/client/assets/{file-explorer-CKhmYdvk.js → file-explorer-BWnIvmMh.js} +1 -1
- package/dist/client/assets/{file-type-icon-Bd0oHMYV.js → file-type-icon-CrTKPLnU.js} +1 -1
- package/dist/client/assets/{files-TZe07ele.js → files-DMW1HvT5.js} +1 -1
- package/dist/client/assets/{form-B-B5R1Pb.js → form-BZS0L9R9.js} +1 -1
- package/dist/client/assets/{general-Bg-yEnP2.js → general-s45LddiF.js} +1 -1
- package/dist/client/assets/{github-repo-picker-DCuRF_Em.js → github-repo-picker-CwEdgiOT.js} +1 -1
- package/dist/client/assets/{hooks-DJCvo0yZ.js → hooks-u2yNBHrs.js} +1 -1
- package/dist/client/assets/{index-DmzZXnCd.js → index-B41xwgpB.js} +1 -1
- package/dist/client/assets/{index-BeK7AkFE.js → index-BOdp8UnZ.js} +1 -1
- package/dist/client/assets/{index-Dipox1KZ.js → index-BqlYWc0z.js} +1 -1
- package/dist/client/assets/{index-K9nNk4ZL.js → index-CHKDG_wX.js} +3 -3
- package/dist/client/assets/{index-ZdLpvqVL.js → index-Cd86SxfV.js} +1 -1
- package/dist/client/assets/{index-Bebyksc0.js → index-Co0Oyj5Y.js} +1 -1
- package/dist/client/assets/{index-CoFMILd0.js → index-D0pDF13W.js} +1 -1
- package/dist/client/assets/{index-CDjUOYZq.js → index-D6OEeL_N.js} +1 -1
- package/dist/client/assets/{index-ow4G_Vs4.js → index-DNQDYQT6.js} +1 -1
- package/dist/client/assets/{index-wvAyIVBW.js → index-DVvRcWLL.js} +26 -26
- package/dist/client/assets/{index-DPFEIozt.js → index-DZxs09Y9.js} +1 -1
- package/dist/client/assets/{index-ChdRNOZ8.js → index-I4Tl_htu.js} +5 -5
- package/dist/client/assets/{index-i_Hm96VD.js → index-Mgn3Sy-d.js} +1 -1
- package/dist/client/assets/{index-DfdgvH7q.js → index-k0Va3I9C.js} +2 -2
- package/dist/client/assets/{index-redirect-De5ze_dU.js → index-redirect-C3-YngiE.js} +1 -1
- package/dist/client/assets/{input-BTvFP-rc.js → input-CQ8s5BL6.js} +1 -1
- package/dist/client/assets/{integration-icon-Dzl5JPvz.js → integration-icon-MrREgDfU.js} +1 -1
- package/dist/client/assets/{invite-member-dialog-CbVVcyGO.js → invite-member-dialog-CivTRkTm.js} +1 -1
- package/dist/client/assets/{label-BDx_uIBr.js → label-Cq5mZtvR.js} +1 -1
- package/dist/client/assets/{layout-CWn7ui_e.js → layout-Bxnu6C9a.js} +1 -1
- package/dist/client/assets/{login-C6gf611D.js → login-CDjjh6dU.js} +1 -1
- package/dist/client/assets/{mcp-oauth-CrR55Ybi.js → mcp-oauth-DrFxmP0R.js} +1 -1
- package/dist/client/assets/{members-BJw8-N8M.js → members-NnHRGXHE.js} +1 -1
- package/dist/client/assets/{monaco-editor-B7VLGKpm.js → monaco-editor-DwfVu7-5.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-DcAwFFou.js → monitoring-stats-row-DXHogdp7.js} +1 -1
- package/dist/client/assets/{multi-select-CEexxbo5.js → multi-select-C0h3-J6q.js} +1 -1
- package/dist/client/assets/{oauth-callback-Dtqc-rQz.js → oauth-callback-D9jm5K0F.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-Sc0GBjWy.js → oauth-callback-ai-provider-DRcosQmV.js} +1 -1
- package/dist/client/assets/{onboarding-DbU17zoX.js → onboarding-CxvmdWND.js} +1 -1
- package/dist/client/assets/{org-install-C2XcXxC-.js → org-install-W3xlX7tH.js} +1 -1
- package/dist/client/assets/{org-layout-BFL_5bbc.js → org-layout-CLGpXetT.js} +1 -1
- package/dist/client/assets/{organization-choice-BhekRQjj.js → organization-choice-CvXl4s_m.js} +1 -1
- package/dist/client/assets/{orgs-BmpGutsn.js → orgs-CgOJyz4z.js} +1 -1
- package/dist/client/assets/{page-seo-form-CPW4OXzd.js → page-seo-form-DjwOiRL8.js} +1 -1
- package/dist/client/assets/page-seo-sheet-l5px7mUn.js +1 -0
- package/dist/client/assets/{popover-BUeC8H1A.js → popover-Be4AZuUp.js} +1 -1
- package/dist/client/assets/{post-editor-BJK7yBbp.js → post-editor-D_Kyp92B.js} +1 -1
- package/dist/client/assets/{primitives-9MFmR8mW.js → primitives-B-I_pJLh.js} +1 -1
- package/dist/client/assets/{profile-3ljBANnT.js → profile-C-6rIGba.js} +1 -1
- package/dist/client/assets/project-app-view-DFJZ8M8E.js +1 -0
- package/dist/client/assets/record-editor-CVGwEzE4.js +1 -0
- package/dist/client/assets/redirect-editor-BIdT-5Qs.js +1 -0
- package/dist/client/assets/registry-RMmQN12C.js +2 -0
- package/dist/client/assets/{registry-layout-PsD4tT-R.js → registry-layout-DRFbn6k1.js} +1 -1
- package/dist/client/assets/{reports-BigCFVBW.js → reports-DIxHLkuA.js} +1 -1
- package/dist/client/assets/{require-capability-B9yFZhPk.js → require-capability-CMaZEfvl.js} +1 -1
- package/dist/client/assets/{required-auth-layout-Ct_86Yn8.js → required-auth-layout-_YLxaBVr.js} +1 -1
- package/dist/client/assets/{reset-password-BzoVTsWC.js → reset-password-Fkv-CBE9.js} +1 -1
- package/dist/client/assets/{roles-KQJNUpsW.js → roles-CHblQwd4.js} +1 -1
- package/dist/client/assets/{search-input-D8Brj2tl.js → search-input-iCkqj0Bk.js} +1 -1
- package/dist/client/assets/{secrets-DkNysD5B.js → secrets-BsNZhLP6.js} +1 -1
- package/dist/client/assets/{sections-editor-9QqW6QOK.js → sections-editor-B1zQPNT6.js} +1 -1
- package/dist/client/assets/{select-DkFTH4pS.js → select-BAFLWSZU.js} +1 -1
- package/dist/client/assets/{select-model-BklSsqwO.js → select-model-d89CCCVf.js} +1 -1
- package/dist/client/assets/{self-tool-result-CGrwaOqB.js → self-tool-result-DYS-ub7a.js} +1 -1
- package/dist/client/assets/{seo-editor-Bidhz1dJ.js → seo-editor-CYsppP4O.js} +1 -1
- package/dist/client/assets/{settings-layout-BvnNqnL2.js → settings-layout-DYSLvHpo.js} +1 -1
- package/dist/client/assets/{settings-section-BPiTjvGZ.js → settings-section-D5BorVqs.js} +1 -1
- package/dist/client/assets/{shell-controls-Bk0h78Di.js → shell-controls-DvTTJnBD.js} +1 -1
- package/dist/client/assets/{shell-layout-C_fz-LWa.js → shell-layout-K81BzYiK.js} +1 -1
- package/dist/client/assets/{sidebar-DmkMTXRm.js → sidebar-zlV1PqV0.js} +1 -1
- package/dist/client/assets/{skeleton-C31Wi2HR.js → skeleton-Cfbbze9Z.js} +1 -1
- package/dist/client/assets/{sso-CwKUs7w6.js → sso-BhCdpcs5.js} +1 -1
- package/dist/client/assets/{store-BtSOklMo.js → store-B4IRN8-4.js} +1 -1
- package/dist/client/assets/store-registry-NvEVLAqw.js +2 -0
- package/dist/client/assets/{studio-tools-DEV89u5s.js → studio-tools-CfhxoHsO.js} +1 -1
- package/dist/client/assets/{switch-Dqu0JsB4.js → switch-CUQMsKbP.js} +1 -1
- package/dist/client/assets/{table-mM2UZh4-.js → table-6QClw-KO.js} +1 -1
- package/dist/client/assets/{tabs-BmtGU6P3.js → tabs-DrwzKUlV.js} +1 -1
- package/dist/client/assets/{textarea-gE88LOd4.js → textarea-DbExQpmV.js} +1 -1
- package/dist/client/assets/{toggle-group-DZ-PwSy9.js → toggle-group-CEQWGFpt.js} +1 -1
- package/dist/client/assets/{toolbar-BnQrua_4.js → toolbar-4waFONGo.js} +1 -1
- package/dist/client/assets/{toolbar-icon-button-C3nLPKdQ.js → toolbar-icon-button-CJURe--c.js} +1 -1
- package/dist/client/assets/{tooltip-QIj4MYXF.js → tooltip-DS7kkEOo.js} +1 -1
- package/dist/client/assets/{use-ai-providers-CvkcDt8z.js → use-ai-providers-XLGF-3Xu.js} +1 -1
- package/dist/client/assets/{use-automations-DA_A7ea0.js → use-automations-qnSmMmWO.js} +1 -1
- package/dist/client/assets/{use-autosave-TB5vrAcP.js → use-autosave-gkmOz6h2.js} +1 -1
- package/dist/client/assets/{use-capability-B5gueICr.js → use-capability-rcKyRmAR.js} +1 -1
- package/dist/client/assets/{use-clock-tick-2Z9dljx4.js → use-clock-tick-CjzuaiES.js} +1 -1
- package/dist/client/assets/{use-collections-BXT57saO.js → use-collections-DTB93N0v.js} +1 -1
- package/dist/client/assets/{use-connection-B1oTCIml.js → use-connection-eq05qOeg.js} +1 -1
- package/dist/client/assets/{use-copy-XS6PbPfg.js → use-copy-N2iLHDcK.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-C5vASeGE.js → use-create-virtual-mcp-TuqaoAAA.js} +1 -1
- package/dist/client/assets/{use-debounced-autosave-CeSRLFvn.js → use-debounced-autosave-Cj-bfXAX.js} +1 -1
- package/dist/client/assets/{use-debounced-value-OYErywlB.js → use-debounced-value-DKUOLm-L.js} +1 -1
- package/dist/client/assets/{use-deco-credits-DLdCNMTW.js → use-deco-credits-7OgXxoN9.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-CW6CBoVI.js → use-decopilot-events-B7E0BnEf.js} +1 -1
- package/dist/client/assets/{use-delete-connection-CyRF8DCa.js → use-delete-connection-DClwN4rt.js} +1 -1
- package/dist/client/assets/{use-deployment-admin-DBuKyz73.js → use-deployment-admin-DgHTGgo1.js} +1 -1
- package/dist/client/assets/{use-file-configs-DySKbq7G.js → use-file-configs-CMyxdVuF.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-COEiXKgN.js → use-infinite-scroll-C4dty53S.js} +1 -1
- package/dist/client/assets/{use-join-requests-DJFK9mdy.js → use-join-requests-CVluEF3R.js} +1 -1
- package/dist/client/assets/{use-mcp-auth-status-CeS-sSG9.js → use-mcp-auth-status-DUKXOgyb.js} +1 -1
- package/dist/client/assets/{use-mcp-client-E4o51i36.js → use-mcp-client-CEjEWqOU.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-BmVUrIvT.js → use-mcp-tools-En5NX7wA.js} +1 -1
- package/dist/client/assets/{use-members-C_PqWVC0.js → use-members-7dPA5y34.js} +1 -1
- package/dist/client/assets/{use-mobile-CDLFoW5F.js → use-mobile-C40s4lkY.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-DO3W8rHR.js → use-navigate-to-agent-Bpwwivgk.js} +1 -1
- package/dist/client/assets/{use-org-auth-client-D55gdzx_.js → use-org-auth-client-Du3AXtbx.js} +1 -1
- package/dist/client/assets/{use-org-sso-B-C09oWZ.js → use-org-sso-DT69rHYd.js} +1 -1
- package/dist/client/assets/{use-organization-roles-DI1I-ujJ.js → use-organization-roles-uvpsJGyR.js} +1 -1
- package/dist/client/assets/{use-organization-settings-CwwJujO2.js → use-organization-settings-DHAOYhXC.js} +1 -1
- package/dist/client/assets/{use-registry-app-Bg-hKxMQ.js → use-registry-app-BVqG4lGy.js} +1 -1
- package/dist/client/assets/{use-registry-connections-riJqDo6-.js → use-registry-connections-DGdNe-g0.js} +1 -1
- package/dist/client/assets/{use-secrets-DA17vJTD.js → use-secrets-_Iukb4OO.js} +1 -1
- package/dist/client/assets/{use-status-sounds-CQm_T5_1.js → use-status-sounds-DQj-E9o-.js} +1 -1
- package/dist/client/assets/use-t-D6lTrJik.js +1 -0
- package/dist/client/assets/{use-view-mode-BYYmEzlE.js → use-view-mode-MscMnQE4.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-DWXqRlLT.js → use-virtual-mcp-BxYefsKl.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-DAaCh9F3.js +1 -0
- package/dist/client/assets/{useRouterState-BPuzDu75.js → useRouterState-D5z-A0cD.js} +1 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-BFbgFlmY.js +1 -0
- package/dist/client/assets/{users-BR8qEd2z.js → users-BUDR2su_.js} +1 -1
- package/dist/client/assets/{variant-calendar-D08Ns1Fj.js → variant-calendar-yz-iGj9_.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-DGwLr-Wi.js → view-mode-toggle-DOjX7Bew.js} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/server/cli.js +362 -362
- package/dist/server/server.js +248 -248
- package/package.json +1 -1
- package/dist/client/assets/page-seo-sheet-Cylnmhwd.js +0 -1
- package/dist/client/assets/project-app-view-De_35RVp.js +0 -1
- package/dist/client/assets/record-editor-XEUZVot7.js +0 -1
- package/dist/client/assets/redirect-editor-DnC56ZKk.js +0 -1
- package/dist/client/assets/registry-BlWHx3OB.js +0 -2
- package/dist/client/assets/store-registry-CTDSTGMA.js +0 -2
- package/dist/client/assets/use-t-BYEA0NnF.js +0 -1
- package/dist/client/assets/useInfiniteQuery-Bz26qvcU.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-Vqts_kWq.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as V,r as U,j as o,l as J,B as Y}from"./index-K9nNk4ZL.js";import{w as ct,U as et,f as mt}from"./agent-icon-CtX3hx5F.js";import{i as pt}from"./ChevronRight-CR81Jb7f.js";import{L as dt}from"./label-BDx_uIBr.js";import{m as nt}from"./automation-runs-D4MCi19D.js";import{S as ft}from"./switch-Dqu0JsB4.js";import{T as ut,b as ht,a as gt}from"./tooltip-QIj4MYXF.js";import{V as xt}from"./view-mode-toggle-DGwLr-Wi.js";import"./AlertCircle-BAVOz-2x.js";import"./Tool01-BsvXLKqb.js";import"./ArrowUp-CdomKn6E.js";import"./Settings02-CuWmowxn.js";import"./Tool02-CSuiCYgo.js";import"./XCircle-ZFeyu-0s.js";import"./ArrowUpRight-DzplOzc9.js";import"./TrendUp01--z14cIxf.js";import"./ZapSquare-Cv314uE4.js";import"./ZoomOut-CQAHgoiD.js";import"./Users03-DNyqpf8B.js";import"./CheckCircle-BUmTwNEw.js";import"./ChevronUp-CHwBY_gQ.js";import"./ChevronDown-BwIAM8yJ.js";import"./DotsVertical-CTvul5Hx.js";import"./Stars02-Bvdy1G8F.js";import"./Copy01-fXkAnRle.js";import"./Globe01-CBAdJxff.js";import"./Eye-C56Rqkt8.js";import"./FilterLines-lTq6Ij1i.js";import"./Star01-BeXsAFXb.js";import"./Globe04-Cf9zDTCT.js";import"./SwitchHorizontal01-D3Ov4m9E.js";import"./HardDrive-DvuSdXbu.js";import"./Image01-ffA98M16.js";import"./Key01-BoS606T3.js";import"./LayoutLeft-CaPhxBpK.js";import"./LinkExternal01-4NcYsJN5.js";import"./Monitor01-Bf_ipmVo.js";import"./Sun-DaMMLO5r.js";import"./Package-C6m5hlJG.js";import"./Palette-Bog-hkDH.js";import"./Play-CAJLxQxl.js";import"./Plus-B5eO3bTy.js";import"./SearchLg-C9KqXDtT.js";import"./SearchMd-Byn-coVH.js";import"./Shield01-Bca-So8r.js";import"./Stars01-hjCPYLmR.js";import"./Trash01-BNstTg_1.js";import"./Upload01-8kBCAzuF.js";import"./User01-B6A0_PQ7.js";import"./Users01-ovBEB8pw.js";import"./XClose-BOxmZ42j.js";import"./X-BLBVAPOy.js";import"./Zap-C_1cs5r0.js";import"./select-DkFTH4pS.js";import"./useInfiniteQuery-Bz26qvcU.js";import"./use-infinite-scroll-COEiXKgN.js";import"./use-connection-B1oTCIml.js";import"./use-collections-BXT57saO.js";import"./use-mcp-client-E4o51i36.js";import"./auth-DWmoiFT3.js";import"./use-virtual-mcp-DWXqRlLT.js";import"./card-nbi0jwXg.js";import"./sidebar-DmkMTXRm.js";import"./use-mobile-CDLFoW5F.js";import"./table-mM2UZh4-.js";import"./empty-state-Bh6MA1Jh.js";import"./use-members-C_PqWVC0.js";import"./use-org-auth-client-D55gdzx_.js";import"./use-clock-tick-2Z9dljx4.js";import"./use-automations-DA_A7ea0.js";import"./studio-tools-DEV89u5s.js";import"./useSuspenseInfiniteQuery-Vqts_kWq.js";import"./avatar-B7H5YfAv.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-XS6PbPfg.js";import"./file-type-icon-Bd0oHMYV.js";import"./dialog-Ccu5eFvd.js";import"./tab-id-BijBBRwE.js";import"./hooks-DJCvo0yZ.js";import"./decopilot-sse-pool-DPMHbwbb.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./chat-context-CxcCOIx-.js";import"./autosend-nTHzHKVV.js";import"./use-ai-providers-CvkcDt8z.js";import"./location-BpLtHjTZ.js";import"./use-decopilot-events-CW6CBoVI.js";import"./use-organization-settings-CwwJujO2.js";import"./monaco-editor-B7VLGKpm.js";import"./index-Bebyksc0.js";import"./index-BeK7AkFE.js";import"./calendar-EgEumd4K.js";import"./shell-layout-C_fz-LWa.js";import"./use-t-BYEA0NnF.js";import"./required-auth-layout-Ct_86Yn8.js";import"./use-org-sso-B-C09oWZ.js";import"./integration-icon-Dzl5JPvz.js";import"./use-navigate-to-agent-DO3W8rHR.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-BBlsfTvH.js";import"./form-B-B5R1Pb.js";import"./input-BTvFP-rc.js";const bt=new Set(["website/matchers/date.ts","$live/matchers/MatchDate.ts"]),yt=new Set(["website/matchers/multi.ts","$live/matchers/MatchMulti.ts"]),Tt=new Date(-864e13),vt=new Date(864e13),jt=/\/flags\/multivariate(?:\/[^/]+)?\.ts$/,wt=/\/flags\/multivariate\.ts$/;function Nt(e){let t=e;t.startsWith("pages-")&&(t=t.slice(6).replace(/-\d+$/,""));try{t=decodeURIComponent(t)}catch{}return t}function kt(e){if(!e||typeof e!="object")return null;const{start:t,end:n}=e,r=typeof t=="string",l=typeof n=="string";if(!r&&!l)return null;const s=r?new Date(t):Tt,m=l?new Date(n):vt;return Number.isNaN(s.getTime())||Number.isNaN(m.getTime())||r&&l&&m.getTime()<=s.getTime()?null:{start:s,end:m,openStart:!r,openEnd:!l}}function rt(e,t){if(!e||typeof e!="object")return;const n=e.__resolveType;if(typeof n=="string"){if(bt.has(n)){const r=kt(e);r&&t.push(r);return}if(yt.has(n)){const r=e.matchers;if(Array.isArray(r))for(const l of r)rt(l,t)}}}function _t(e){if(!e||typeof e!="object")return!1;const t=e.__resolveType;if(typeof t!="string"||!jt.test(t))return!1;const n=e.variants;return Array.isArray(n)}function Mt(e){if(typeof e=="string"){const a=e.trim();if(a.length===0)return null;try{const i=new URL(a).pathname.split("/").filter(Boolean),p=i[i.length-1];if(p)return decodeURIComponent(p)}catch{}return a.length>80?`${a.slice(0,77)}…`:a}if(!e||typeof e!="object")return null;const t=e,n=t.config,l=t.desktop?.media,s=[t.title,t.name,t.label,t.alt,n?.title,n?.name,n?.typeAlert?.message,l?.alt,Array.isArray(t.matcher)?t.matcher[0]:void 0];for(const a of s)if(typeof a=="string"&&a.trim().length>0)return a.trim();const m=t.__resolveType;if(typeof m=="string"){const c=(m.split("/").pop()??m).replace(/\.(tsx?|jsx?)$/i,"");if(c.length>0)return c}return null}function Et(e){const t=[];for(let 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 W(e,t,n,r,l){if(_t(e)){const s=e.variants,m=e.__resolveType,a=wt.test(m)?"":Et(r);s.forEach((c,i)=>{if(!c||typeof c!="object")return;const p=c,d=[];if(rt(p.rule,d),d.length===0)return;const x=Mt(p.value)??(a||n);for(const h of d)l.push({blockKey:t,blockLabel:n,innerPath:a,variantIndex:i,start:h.start,end:h.end,openStart:h.openStart,openEnd:h.openEnd,label:x,flagResolveType:m})});for(let c=0;c<s.length;c++){const i=s[c];i&&typeof i=="object"&&W(i.value,t,n,[...r,"variants",c,"value"],l)}return}if(Array.isArray(e)){for(let s=0;s<e.length;s++)W(e[s],t,n,[...r,s],l);return}if(e&&typeof e=="object")for(const[s,m]of Object.entries(e))s!=="__resolveType"&&W(m,t,n,[...r,s],l)}function St(e){if(!e)return[];const t=[];for(const[n,r]of Object.entries(e))W(r,n,Nt(n),[],t);return t.sort((n,r)=>n.start.getTime()-r.start.getTime())}function At(e){const t=[...new Set(e)].sort(),n=new Map;return t.forEach((r,l)=>{const s=l*137.508%360;n.set(r,{bg:`oklch(0.62 0.14 ${s})`,text:"white",border:`oklch(0.50 0.14 ${s})`})}),n}const Dt={bg:"oklch(0.62 0.14 0)",text:"white",border:"oklch(0.50 0.14 0)"};function st(e,t){return e.get(t)??Dt}const $t=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],ot=["January","February","March","April","May","June","July","August","September","October","November","December"],it=1440*60*1e3;function P(e){const t=new Date(e);return t.setHours(0,0,0,0),t}function at(e){return new Date(e.getFullYear(),e.getMonth(),1)}function F(e,t){return new Date(e.getFullYear(),e.getMonth()+t,1)}function z(e,t){const n=new Date(e);return n.setDate(n.getDate()+t),n}function K(e,t){return Math.round((P(e).getTime()-P(t).getTime())/it)}function Ct(e){const t=(e.getTime()-P(e).getTime())/it;return Math.min(Math.max(t,0),1)}function q(e,t){return K(e,t)+Ct(e)}function Rt(e){const t=z(e,-e.getDay()),n=[];for(let r=0;r<6;r++){const l=[];for(let s=0;s<7;s++)l.push(z(t,r*7+s));n.push(l)}for(;n.length>0&&n[n.length-1].every(r=>r.getMonth()!==e.getMonth());)n.pop();return n}function Lt(e,t){const n=P(e[0]),r=z(n,7),l=n.getTime(),s=r.getTime(),m=[];for(const i of t){const p=P(i.start),d=P(i.end);if(d.getTime()<n.getTime()||p.getTime()>=r.getTime())continue;const u=p.getTime()<n.getTime()?n:p,x=d.getTime()>=r.getTime()?z(r,-1):d,h=K(u,n),g=K(x,u)+1;if(g<=0)continue;const b=Math.max(i.start.getTime(),l),y=Math.min(i.end.getTime(),s),T=q(new Date(b),n),f=Math.max(q(new Date(y),n)-T,0);f<=0||m.push({variant:i,startCol:h,span:g,leftUnits:T,widthUnits:f})}m.sort((i,p)=>i.startCol-p.startCol||p.span-i.span||i.variant.blockKey.localeCompare(p.variant.blockKey));const a=[],c=[];for(const i of m){let p=a.findIndex(d=>d<=i.startCol);p===-1&&(p=a.length,a.push(0)),a[p]=i.startCol+i.span,c.push({...i,lane:p})}return c}const Q=new Intl.DateTimeFormat("en",{dateStyle:"medium",timeStyle:"short"});function Ot(e){const t=e.openStart?"Always":Q.format(e.start),n=e.openEnd?"Ongoing":Q.format(e.end);return`${t} → ${n}`}function Pt(e){const t=V.c(17),{variant:n}=e;let r;t[0]!==n.blockLabel?(r=o.jsx("div",{className:"font-semibold",children:n.blockLabel}),t[0]=n.blockLabel,t[1]=r):r=t[1];let l;t[2]!==n.innerPath?(l=n.innerPath&&o.jsx("div",{className:"text-muted-foreground",children:n.innerPath}),t[2]=n.innerPath,t[3]=l):l=t[3];let s;t[4]!==n.blockLabel||t[5]!==n.innerPath||t[6]!==n.label?(s=n.label!==n.blockLabel&&n.label!==n.innerPath&&o.jsx("div",{className:"text-muted-foreground",children:n.label}),t[4]=n.blockLabel,t[5]=n.innerPath,t[6]=n.label,t[7]=s):s=t[7];let m;t[8]!==n?(m=Ot(n),t[8]=n,t[9]=m):m=t[9];let a;t[10]!==m?(a=o.jsx("div",{className:"mt-1",children:m}),t[10]=m,t[11]=a):a=t[11];let c;return t[12]!==r||t[13]!==l||t[14]!==s||t[15]!==a?(c=o.jsx(gt,{children:o.jsxs("div",{className:"text-xs",children:[r,l,s,a]})}),t[12]=r,t[13]=l,t[14]=s,t[15]=a,t[16]=c):c=t[16],c}const X=16;function It(e,t){const n=e?"transparent":"#000 0",r=t?"transparent":"#000 100%";if(!(!e&&!t))return`linear-gradient(to right, ${n}, #000 ${X}px, #000 calc(100% - ${X}px), ${r})`}function lt(e){const t=V.c(26),{variant:n,color:r,style:l,children:s,fadeStart:m,fadeEnd:a}=e,c=m===void 0?!1:m,i=a===void 0?!1:a;let p;t[0]!==i||t[1]!==c?(p=It(c,i),t[0]=i,t[1]=c,t[2]=p):p=t[2];const d=p;let u;t[3]!==c?(u=c&&{borderTopLeftRadius:0,borderBottomLeftRadius:0},t[3]=c,t[4]=u):u=t[4];let x;t[5]!==i?(x=i&&{borderTopRightRadius:0,borderBottomRightRadius:0},t[5]=i,t[6]=x):x=t[6];let h;t[7]!==d?(h=d&&{maskImage:d,WebkitMaskImage:d},t[7]=d,t[8]=h):h=t[8];let g;t[9]!==r.bg||t[10]!==r.text||t[11]!==l||t[12]!==u||t[13]!==x||t[14]!==h?(g={background:r.bg,color:r.text,borderRadius:4,...u,...x,...h,...l},t[9]=r.bg,t[10]=r.text,t[11]=l,t[12]=u,t[13]=x,t[14]=h,t[15]=g):g=t[15];let b;t[16]!==s?(b=o.jsx("span",{className:"truncate",children:s}),t[16]=s,t[17]=b):b=t[17];let y;t[18]!==g||t[19]!==b?(y=o.jsx(ut,{asChild:!0,children:o.jsx("div",{className:"absolute flex items-center px-2 text-[11px] font-medium truncate cursor-default",style:g,children:b})}),t[18]=g,t[19]=b,t[20]=y):y=t[20];let T;t[21]!==n?(T=o.jsx(Pt,{variant:n}),t[21]=n,t[22]=T):T=t[22];let f;return t[23]!==T||t[24]!==y?(f=o.jsxs(ht,{children:[y,T]}),t[23]=T,t[24]=y,t[25]=f):f=t[25],f}function Jn(e){const t=V.c(49),{decofile:n}=e,[r,l]=U.useState("calendar"),[s,m]=U.useState(Bt),[a,c]=U.useState(!1);let i,p,d;if(t[0]!==n||t[1]!==a){const S=St(n);i=S.filter(Ht).length,d=a?S:S.filter(Vt),p=At(d.map(Ft)),t[0]=n,t[1]=a,t[2]=i,t[3]=p,t[4]=d}else i=t[2],p=t[3],d=t[4];const u=p;let x;t[5]===Symbol.for("react.memo_cache_sentinel")?(x=()=>m(at(new Date)),t[5]=x):x=t[5];const h=x;let g;t[6]!==r?(g=()=>m(S=>r==="calendar"?F(S,-1):F(S,-3)),t[6]=r,t[7]=g):g=t[7];const b=g;let y;t[8]!==r?(y=()=>m(S=>r==="calendar"?F(S,1):F(S,3)),t[8]=r,t[9]=y):y=t[9];const T=y;let f;t[10]===Symbol.for("react.memo_cache_sentinel")?(f=o.jsx(Y,{variant:"outline",size:"sm",onClick:h,children:"Today"}),t[10]=f):f=t[10];let N;t[11]===Symbol.for("react.memo_cache_sentinel")?(N=o.jsx(ct,{size:16}),t[11]=N):N=t[11];let k;t[12]!==b?(k=o.jsx(Y,{variant:"ghost",size:"icon",className:"size-8",onClick:b,"aria-label":"Previous",children:N}),t[12]=b,t[13]=k):k=t[13];let _;t[14]===Symbol.for("react.memo_cache_sentinel")?(_=o.jsx(pt,{size:16}),t[14]=_):_=t[14];let M;t[15]!==T?(M=o.jsx(Y,{variant:"ghost",size:"icon",className:"size-8",onClick:T,"aria-label":"Next",children:_}),t[15]=T,t[16]=M):M=t[16];const A=ot[s.getMonth()];let E;t[17]!==s?(E=s.getFullYear(),t[17]=s,t[18]=E):E=t[18];let v;t[19]!==A||t[20]!==E?(v=o.jsxs("h2",{className:"ml-2 text-base font-semibold",children:[A," ",E]}),t[19]=A,t[20]=E,t[21]=v):v=t[21];let j;t[22]!==v||t[23]!==k||t[24]!==M?(j=o.jsxs("div",{className:"flex items-center gap-2",children:[f,k,M,v]}),t[22]=v,t[23]=k,t[24]=M,t[25]=j):j=t[25];let D;t[26]!==i||t[27]!==a?(D=i>0&&o.jsxs("div",{className:"flex items-center gap-2",children:[o.jsx(ft,{id:"show-ongoing",checked:a,onCheckedChange:c}),o.jsxs(dt,{htmlFor:"show-ongoing",className:"text-xs text-muted-foreground cursor-pointer",children:["Show ongoing (",i,")"]})]}),t[26]=i,t[27]=a,t[28]=D):D=t[28];let L;t[29]===Symbol.for("react.memo_cache_sentinel")?(L={value:"calendar",icon:o.jsx(et,{}),label:"Calendar"},t[29]=L):L=t[29];let I;t[30]===Symbol.for("react.memo_cache_sentinel")?(I=[L,{value:"timeline",icon:o.jsx(mt,{}),label:"Timeline"}],t[30]=I):I=t[30];let w;t[31]!==r?(w=o.jsx(xt,{value:r,onValueChange:l,options:I}),t[31]=r,t[32]=w):w=t[32];let R;t[33]!==D||t[34]!==w?(R=o.jsxs("div",{className:"flex items-center gap-4",children:[D,w]}),t[33]=D,t[34]=w,t[35]=R):R=t[35];let $;t[36]!==j||t[37]!==R?($=o.jsxs("div",{className:"flex items-center justify-between px-4 h-12 border-b shrink-0",children:[j,R]}),t[36]=j,t[37]=R,t[38]=$):$=t[38];let C;t[39]!==u||t[40]!==s||t[41]!==i||t[42]!==a||t[43]!==d||t[44]!==r?(C=d.length===0?o.jsx(Wt,{hiddenOngoing:a?0:i}):r==="calendar"?o.jsx(Ut,{monthStart:s,variants:d,colorMap:u}):o.jsx(Jt,{monthStart:s,variants:d,colorMap:u}),t[39]=u,t[40]=s,t[41]=i,t[42]=a,t[43]=d,t[44]=r,t[45]=C):C=t[45];let O;return t[46]!==$||t[47]!==C?(O=o.jsxs("div",{className:"flex h-full w-full flex-col",children:[$,C]}),t[46]=$,t[47]=C,t[48]=O):O=t[48],O}function Ft(e){return e.blockKey}function Vt(e){return!e.openEnd}function Ht(e){return e.openEnd}function Bt(){return at(new Date)}function Wt(e){const t=V.c(3),{hiddenOngoing:n}=e,r=n===void 0?0:n;let l;t[0]===Symbol.for("react.memo_cache_sentinel")?(l=o.jsx(et,{size:24,className:"text-muted-foreground/60"}),t[0]=l):l=t[0];let s;return t[1]!==r?(s=o.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center gap-2 text-center text-sm text-muted-foreground p-6",children:[l,r>0?o.jsxs(o.Fragment,{children:[o.jsx("div",{children:"No dated variants in view."}),o.jsxs("div",{className:"text-xs text-muted-foreground/80",children:[r," ongoing"," ",r===1?"variant is":"variants are"," hidden — enable “Show ongoing” to view."]})]}):o.jsxs(o.Fragment,{children:[o.jsx("div",{children:"No scheduled variants."}),o.jsx("div",{className:"text-xs text-muted-foreground/80",children:"Variants gated by a date matcher appear here."})]})]}),t[1]=r,t[2]=s):s=t[2],s}const G=20,Z=2,tt=28,zt=6;function Ut(e){const t=V.c(17),{monthStart:n,variants:r,colorMap:l}=e;let s,m,a,c,i;if(t[0]!==l||t[1]!==n||t[2]!==r){const u=Rt(n),x=P(new Date);s=nt,i="flex-1 min-h-0",m="min-w-[840px]",t[8]===Symbol.for("react.memo_cache_sentinel")?(a=o.jsx("div",{className:"grid grid-cols-7 border-b text-xs text-muted-foreground sticky top-0 bg-background z-10",children:$t.map(Gt)}),t[8]=a):a=t[8],c=u.map((h,g)=>{const b=Lt(h,r),y=b.reduce(Yt,0),T=tt+y*(G+Z)+8;return o.jsxs("div",{className:"grid grid-cols-7 relative border-b",style:{height:T},children:[h.map((f,N)=>{const k=f.getMonth()===n.getMonth(),_=f.getTime()===x.getTime();return o.jsx("div",{className:J("border-r last:border-r-0 px-2 pt-1.5 text-xs",k?"bg-background":"bg-muted/30 text-muted-foreground"),children:o.jsx("span",{className:J("inline-flex h-5 min-w-5 items-center justify-center rounded-full px-1",_&&"bg-primary text-primary-foreground font-semibold"),children:f.getDate()})},N)}),b.map((f,N)=>{const k=st(l,f.variant.blockKey),_=tt+f.lane*(G+Z),M=f.leftUnits/7*100,A=f.widthUnits/7*100,E=f.variant.openStart&&g===0,v=f.variant.openEnd&&g===u.length-1;return o.jsxs(lt,{variant:f.variant,color:k,fadeStart:E,fadeEnd:v,style:{top:_,left:`calc(${M}% + 2px)`,width:`calc(${A}% - 4px)`,minWidth:zt,height:G},children:[f.variant.blockLabel,f.variant.label!==f.variant.blockLabel&&o.jsxs("span",{className:"opacity-70",children:[" · ",f.variant.label]})]},`${g}-${N}`)})]},g)}),t[0]=l,t[1]=n,t[2]=r,t[3]=s,t[4]=m,t[5]=a,t[6]=c,t[7]=i}else s=t[3],m=t[4],a=t[5],c=t[6],i=t[7];let p;t[9]!==m||t[10]!==a||t[11]!==c?(p=o.jsxs("div",{className:m,children:[a,c]}),t[9]=m,t[10]=a,t[11]=c,t[12]=p):p=t[12];let d;return t[13]!==s||t[14]!==i||t[15]!==p?(d=o.jsx(s,{className:i,children:p}),t[13]=s,t[14]=i,t[15]=p,t[16]=d):d=t[16],d}function Yt(e,t){return Math.max(e,t.lane+1)}function Gt(e){return o.jsx("div",{className:"px-2 py-2 text-center uppercase tracking-wide",children:e},e)}const B=4,Kt=32,H=240;function Jt(e){const t=V.c(27),{monthStart:n,variants:r,colorMap:l}=e,s=n;let m,a,c,i,p,d;if(t[0]!==l||t[1]!==n||t[2]!==s||t[3]!==r){const h=F(n,B),g=new Date,b=new Map;for(const v of r){const j=b.get(v.blockKey)??[];j.push(v),b.set(v.blockKey,j)}const y=Array.from(b.entries()).sort(Xt),T=h.getTime()-s.getTime(),f=v=>(Math.max(s.getTime(),Math.min(h.getTime(),v.getTime()))-s.getTime())/T*100;let N;t[10]!==s?(N=(v,j)=>F(s,j),t[10]=s,t[11]=N):N=t[11];const k=Array.from({length:B},N),_=g.getTime()>=s.getTime()&&g.getTime()<=h.getTime()?f(g):null;m=nt,d="flex-1 min-h-0",a="min-w-[900px] relative";let M;t[12]===Symbol.for("react.memo_cache_sentinel")?(M=o.jsx("div",{className:"shrink-0 px-3 py-2 text-xs font-semibold uppercase tracking-wide text-muted-foreground border-r",style:{width:H},children:"Variant / Block"}),t[12]=M):M=t[12];let A;t[13]===Symbol.for("react.memo_cache_sentinel")?(A={gridTemplateColumns:`repeat(${B}, minmax(0, 1fr))`},t[13]=A):A=t[13];const E=k.map(Qt);t[14]!==E?(c=o.jsxs("div",{className:"flex border-b sticky top-0 bg-background z-10",children:[M,o.jsx("div",{className:"flex-1 grid",style:A,children:E})]}),t[14]=E,t[15]=c):c=t[15],t[16]!==_?(i=_!==null&&o.jsx("div",{className:"pointer-events-none absolute top-0 bottom-0 w-px bg-primary/70 z-[5]",style:{left:`calc(${H}px + (100% - ${H}px) * ${_} / 100)`},children:o.jsx("span",{className:"absolute -top-0.5 -translate-x-1/2 rounded-sm bg-primary px-1.5 py-px text-[10px] font-medium text-primary-foreground",children:"Today"})}),t[16]=_,t[17]=i):i=t[17],p=y.map(v=>{const[j,D]=v,L=st(l,j),I=D[0]?.blockLabel??j;return o.jsxs("div",{children:[o.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:o.jsx("div",{className:"px-3 truncate",style:{width:H},children:I})}),D.map((w,R)=>o.jsxs("div",{className:"flex border-b items-center",style:{height:Kt},children:[o.jsxs("div",{className:"flex items-center gap-2 px-3 text-sm border-r shrink-0",style:{width:H},children:[o.jsx("span",{className:"inline-block h-2 w-2 rounded-full shrink-0",style:{background:L.bg}}),o.jsx("span",{className:"truncate text-foreground/80",children:w.label})]}),o.jsxs("div",{className:"relative flex-1 h-full",children:[o.jsx("div",{className:"absolute inset-0 grid",style:{gridTemplateColumns:`repeat(${B}, minmax(0, 1fr))`},children:k.map(qt)}),(()=>{const $=Math.max(w.start.getTime(),s.getTime()),C=Math.min(w.end.getTime(),h.getTime());if(C<=$)return null;const O=f(new Date($)),S=f(new Date(C))-O;return o.jsx(lt,{variant:w,color:L,fadeStart:w.openStart,fadeEnd:w.openEnd,style:{top:"50%",transform:"translateY(-50%)",left:`${O}%`,width:`calc(${S}% - 2px)`,height:22},children:w.label})})()]})]},R))]},j)}),t[0]=l,t[1]=n,t[2]=s,t[3]=r,t[4]=m,t[5]=a,t[6]=c,t[7]=i,t[8]=p,t[9]=d}else m=t[4],a=t[5],c=t[6],i=t[7],p=t[8],d=t[9];let u;t[18]!==a||t[19]!==c||t[20]!==i||t[21]!==p?(u=o.jsxs("div",{className:a,children:[c,i,p]}),t[18]=a,t[19]=c,t[20]=i,t[21]=p,t[22]=u):u=t[22];let x;return t[23]!==m||t[24]!==d||t[25]!==u?(x=o.jsx(m,{className:d,children:u}),t[23]=m,t[24]=d,t[25]=u,t[26]=x):x=t[26],x}function qt(e,t){return o.jsx("div",{className:"border-r last:border-r-0 border-border/40"},t)}function Qt(e,t){return o.jsxs("div",{className:"px-2 py-2 text-xs uppercase tracking-wide text-muted-foreground border-r last:border-r-0",children:[ot[e.getMonth()]?.slice(0,3)," ",e.getFullYear()]},t)}function Xt(e,t){return e[0].localeCompare(t[0])}export{Jn as VariantCalendar};
|
|
1
|
+
import{c as V,r as U,j as o,l as J,B as Y}from"./index-CHKDG_wX.js";import{w as ct,U as et,f as mt}from"./agent-icon-C0GEIDHb.js";import{i as pt}from"./ChevronRight-DwbK2Hga.js";import{L as dt}from"./label-Cq5mZtvR.js";import{m as nt}from"./automation-runs-BbQ-eGF5.js";import{S as ft}from"./switch-CUQMsKbP.js";import{T as ut,b as ht,a as gt}from"./tooltip-DS7kkEOo.js";import{V as xt}from"./view-mode-toggle-DOjX7Bew.js";import"./AlertCircle-BGlKGdTb.js";import"./Tool01-7n-BdBmS.js";import"./ArrowUp-CMXY31BF.js";import"./Settings02-DagXlYm3.js";import"./Tool02-gmkySZHP.js";import"./XCircle-Cu0j5VmU.js";import"./ArrowUpRight-DIxJSiLE.js";import"./TrendUp01-Cb_ibXVk.js";import"./ZapSquare-7bIxUiRU.js";import"./ZoomOut-BGImL78w.js";import"./Users03-DLM_6PfM.js";import"./CheckCircle-DCJoWMaC.js";import"./ChevronUp-BgzDzHmQ.js";import"./ChevronDown-BoCmiJCp.js";import"./DotsVertical-CdtQ_Thp.js";import"./Stars02-nP0CzATq.js";import"./Copy01-BcIXU-wD.js";import"./Globe01-CMBl4ZOu.js";import"./Eye-BJ4RRqCl.js";import"./FilterLines-2yjT84UP.js";import"./Star01-Cjcef6Yt.js";import"./Globe04-U9ZZMQCU.js";import"./SwitchHorizontal01-DKfyR3gt.js";import"./HardDrive-DoFxbnXU.js";import"./Image01-DhNwRQ1M.js";import"./Key01-IX0cBsuj.js";import"./LayoutLeft-CW6CPCxO.js";import"./LinkExternal01-3h_vAp73.js";import"./Monitor01-D9JUTJQO.js";import"./Sun-WSxfEWpu.js";import"./Package-C3eTlHYf.js";import"./Palette-DovQVcDh.js";import"./Play-DvOtTJ84.js";import"./Plus-C6VfyuFu.js";import"./SearchLg-CBv_QbyB.js";import"./SearchMd-BtzDduGS.js";import"./Shield01-zlG_VEEt.js";import"./Stars01-dohkZwrA.js";import"./Trash01-CTghcy8Q.js";import"./Upload01-B7UxZ0r_.js";import"./User01-CwOiu7PU.js";import"./Users01-WDC0eAAl.js";import"./XClose-YCEfP3T2.js";import"./X-CB6lUIV4.js";import"./Zap-C8xvkAed.js";import"./select-BAFLWSZU.js";import"./useInfiniteQuery-DAaCh9F3.js";import"./use-infinite-scroll-C4dty53S.js";import"./use-connection-eq05qOeg.js";import"./use-collections-DTB93N0v.js";import"./use-mcp-client-CEjEWqOU.js";import"./auth-BRXrXkt6.js";import"./use-virtual-mcp-BxYefsKl.js";import"./card-DIOEIMHs.js";import"./sidebar-zlV1PqV0.js";import"./use-mobile-C40s4lkY.js";import"./table-6QClw-KO.js";import"./empty-state-CqZpB3-j.js";import"./use-members-7dPA5y34.js";import"./use-org-auth-client-Du3AXtbx.js";import"./use-clock-tick-CjzuaiES.js";import"./use-automations-qnSmMmWO.js";import"./studio-tools-CfhxoHsO.js";import"./useSuspenseInfiniteQuery-BFbgFlmY.js";import"./avatar-B-ZipgUP.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-N2iLHDcK.js";import"./file-type-icon-CrTKPLnU.js";import"./dialog-DGfvVgIw.js";import"./tab-id-BijBBRwE.js";import"./hooks-u2yNBHrs.js";import"./decopilot-sse-pool-D2LjU1_x.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./chat-context-CVhwt8M3.js";import"./autosend-D-pbX287.js";import"./use-ai-providers-XLGF-3Xu.js";import"./location-BpLtHjTZ.js";import"./use-decopilot-events-B7E0BnEf.js";import"./use-organization-settings-DHAOYhXC.js";import"./monaco-editor-DwfVu7-5.js";import"./index-Co0Oyj5Y.js";import"./index-BOdp8UnZ.js";import"./calendar-DWrglk9C.js";import"./shell-layout-K81BzYiK.js";import"./use-t-D6lTrJik.js";import"./required-auth-layout-_YLxaBVr.js";import"./use-org-sso-DT69rHYd.js";import"./integration-icon-MrREgDfU.js";import"./use-navigate-to-agent-Bpwwivgk.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-Ca9eqFHp.js";import"./form-BZS0L9R9.js";import"./input-CQ8s5BL6.js";const bt=new Set(["website/matchers/date.ts","$live/matchers/MatchDate.ts"]),yt=new Set(["website/matchers/multi.ts","$live/matchers/MatchMulti.ts"]),Tt=new Date(-864e13),vt=new Date(864e13),jt=/\/flags\/multivariate(?:\/[^/]+)?\.ts$/,wt=/\/flags\/multivariate\.ts$/;function Nt(e){let t=e;t.startsWith("pages-")&&(t=t.slice(6).replace(/-\d+$/,""));try{t=decodeURIComponent(t)}catch{}return t}function kt(e){if(!e||typeof e!="object")return null;const{start:t,end:n}=e,r=typeof t=="string",l=typeof n=="string";if(!r&&!l)return null;const s=r?new Date(t):Tt,m=l?new Date(n):vt;return Number.isNaN(s.getTime())||Number.isNaN(m.getTime())||r&&l&&m.getTime()<=s.getTime()?null:{start:s,end:m,openStart:!r,openEnd:!l}}function rt(e,t){if(!e||typeof e!="object")return;const n=e.__resolveType;if(typeof n=="string"){if(bt.has(n)){const r=kt(e);r&&t.push(r);return}if(yt.has(n)){const r=e.matchers;if(Array.isArray(r))for(const l of r)rt(l,t)}}}function _t(e){if(!e||typeof e!="object")return!1;const t=e.__resolveType;if(typeof t!="string"||!jt.test(t))return!1;const n=e.variants;return Array.isArray(n)}function Mt(e){if(typeof e=="string"){const a=e.trim();if(a.length===0)return null;try{const i=new URL(a).pathname.split("/").filter(Boolean),p=i[i.length-1];if(p)return decodeURIComponent(p)}catch{}return a.length>80?`${a.slice(0,77)}…`:a}if(!e||typeof e!="object")return null;const t=e,n=t.config,l=t.desktop?.media,s=[t.title,t.name,t.label,t.alt,n?.title,n?.name,n?.typeAlert?.message,l?.alt,Array.isArray(t.matcher)?t.matcher[0]:void 0];for(const a of s)if(typeof a=="string"&&a.trim().length>0)return a.trim();const m=t.__resolveType;if(typeof m=="string"){const c=(m.split("/").pop()??m).replace(/\.(tsx?|jsx?)$/i,"");if(c.length>0)return c}return null}function Et(e){const t=[];for(let 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 W(e,t,n,r,l){if(_t(e)){const s=e.variants,m=e.__resolveType,a=wt.test(m)?"":Et(r);s.forEach((c,i)=>{if(!c||typeof c!="object")return;const p=c,d=[];if(rt(p.rule,d),d.length===0)return;const x=Mt(p.value)??(a||n);for(const h of d)l.push({blockKey:t,blockLabel:n,innerPath:a,variantIndex:i,start:h.start,end:h.end,openStart:h.openStart,openEnd:h.openEnd,label:x,flagResolveType:m})});for(let c=0;c<s.length;c++){const i=s[c];i&&typeof i=="object"&&W(i.value,t,n,[...r,"variants",c,"value"],l)}return}if(Array.isArray(e)){for(let s=0;s<e.length;s++)W(e[s],t,n,[...r,s],l);return}if(e&&typeof e=="object")for(const[s,m]of Object.entries(e))s!=="__resolveType"&&W(m,t,n,[...r,s],l)}function St(e){if(!e)return[];const t=[];for(const[n,r]of Object.entries(e))W(r,n,Nt(n),[],t);return t.sort((n,r)=>n.start.getTime()-r.start.getTime())}function At(e){const t=[...new Set(e)].sort(),n=new Map;return t.forEach((r,l)=>{const s=l*137.508%360;n.set(r,{bg:`oklch(0.62 0.14 ${s})`,text:"white",border:`oklch(0.50 0.14 ${s})`})}),n}const Dt={bg:"oklch(0.62 0.14 0)",text:"white",border:"oklch(0.50 0.14 0)"};function st(e,t){return e.get(t)??Dt}const $t=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],ot=["January","February","March","April","May","June","July","August","September","October","November","December"],it=1440*60*1e3;function P(e){const t=new Date(e);return t.setHours(0,0,0,0),t}function at(e){return new Date(e.getFullYear(),e.getMonth(),1)}function F(e,t){return new Date(e.getFullYear(),e.getMonth()+t,1)}function z(e,t){const n=new Date(e);return n.setDate(n.getDate()+t),n}function K(e,t){return Math.round((P(e).getTime()-P(t).getTime())/it)}function Ct(e){const t=(e.getTime()-P(e).getTime())/it;return Math.min(Math.max(t,0),1)}function q(e,t){return K(e,t)+Ct(e)}function Rt(e){const t=z(e,-e.getDay()),n=[];for(let r=0;r<6;r++){const l=[];for(let s=0;s<7;s++)l.push(z(t,r*7+s));n.push(l)}for(;n.length>0&&n[n.length-1].every(r=>r.getMonth()!==e.getMonth());)n.pop();return n}function Lt(e,t){const n=P(e[0]),r=z(n,7),l=n.getTime(),s=r.getTime(),m=[];for(const i of t){const p=P(i.start),d=P(i.end);if(d.getTime()<n.getTime()||p.getTime()>=r.getTime())continue;const u=p.getTime()<n.getTime()?n:p,x=d.getTime()>=r.getTime()?z(r,-1):d,h=K(u,n),g=K(x,u)+1;if(g<=0)continue;const b=Math.max(i.start.getTime(),l),y=Math.min(i.end.getTime(),s),T=q(new Date(b),n),f=Math.max(q(new Date(y),n)-T,0);f<=0||m.push({variant:i,startCol:h,span:g,leftUnits:T,widthUnits:f})}m.sort((i,p)=>i.startCol-p.startCol||p.span-i.span||i.variant.blockKey.localeCompare(p.variant.blockKey));const a=[],c=[];for(const i of m){let p=a.findIndex(d=>d<=i.startCol);p===-1&&(p=a.length,a.push(0)),a[p]=i.startCol+i.span,c.push({...i,lane:p})}return c}const Q=new Intl.DateTimeFormat("en",{dateStyle:"medium",timeStyle:"short"});function Ot(e){const t=e.openStart?"Always":Q.format(e.start),n=e.openEnd?"Ongoing":Q.format(e.end);return`${t} → ${n}`}function Pt(e){const t=V.c(17),{variant:n}=e;let r;t[0]!==n.blockLabel?(r=o.jsx("div",{className:"font-semibold",children:n.blockLabel}),t[0]=n.blockLabel,t[1]=r):r=t[1];let l;t[2]!==n.innerPath?(l=n.innerPath&&o.jsx("div",{className:"text-muted-foreground",children:n.innerPath}),t[2]=n.innerPath,t[3]=l):l=t[3];let s;t[4]!==n.blockLabel||t[5]!==n.innerPath||t[6]!==n.label?(s=n.label!==n.blockLabel&&n.label!==n.innerPath&&o.jsx("div",{className:"text-muted-foreground",children:n.label}),t[4]=n.blockLabel,t[5]=n.innerPath,t[6]=n.label,t[7]=s):s=t[7];let m;t[8]!==n?(m=Ot(n),t[8]=n,t[9]=m):m=t[9];let a;t[10]!==m?(a=o.jsx("div",{className:"mt-1",children:m}),t[10]=m,t[11]=a):a=t[11];let c;return t[12]!==r||t[13]!==l||t[14]!==s||t[15]!==a?(c=o.jsx(gt,{children:o.jsxs("div",{className:"text-xs",children:[r,l,s,a]})}),t[12]=r,t[13]=l,t[14]=s,t[15]=a,t[16]=c):c=t[16],c}const X=16;function It(e,t){const n=e?"transparent":"#000 0",r=t?"transparent":"#000 100%";if(!(!e&&!t))return`linear-gradient(to right, ${n}, #000 ${X}px, #000 calc(100% - ${X}px), ${r})`}function lt(e){const t=V.c(26),{variant:n,color:r,style:l,children:s,fadeStart:m,fadeEnd:a}=e,c=m===void 0?!1:m,i=a===void 0?!1:a;let p;t[0]!==i||t[1]!==c?(p=It(c,i),t[0]=i,t[1]=c,t[2]=p):p=t[2];const d=p;let u;t[3]!==c?(u=c&&{borderTopLeftRadius:0,borderBottomLeftRadius:0},t[3]=c,t[4]=u):u=t[4];let x;t[5]!==i?(x=i&&{borderTopRightRadius:0,borderBottomRightRadius:0},t[5]=i,t[6]=x):x=t[6];let h;t[7]!==d?(h=d&&{maskImage:d,WebkitMaskImage:d},t[7]=d,t[8]=h):h=t[8];let g;t[9]!==r.bg||t[10]!==r.text||t[11]!==l||t[12]!==u||t[13]!==x||t[14]!==h?(g={background:r.bg,color:r.text,borderRadius:4,...u,...x,...h,...l},t[9]=r.bg,t[10]=r.text,t[11]=l,t[12]=u,t[13]=x,t[14]=h,t[15]=g):g=t[15];let b;t[16]!==s?(b=o.jsx("span",{className:"truncate",children:s}),t[16]=s,t[17]=b):b=t[17];let y;t[18]!==g||t[19]!==b?(y=o.jsx(ut,{asChild:!0,children:o.jsx("div",{className:"absolute flex items-center px-2 text-[11px] font-medium truncate cursor-default",style:g,children:b})}),t[18]=g,t[19]=b,t[20]=y):y=t[20];let T;t[21]!==n?(T=o.jsx(Pt,{variant:n}),t[21]=n,t[22]=T):T=t[22];let f;return t[23]!==T||t[24]!==y?(f=o.jsxs(ht,{children:[y,T]}),t[23]=T,t[24]=y,t[25]=f):f=t[25],f}function Jn(e){const t=V.c(49),{decofile:n}=e,[r,l]=U.useState("calendar"),[s,m]=U.useState(Bt),[a,c]=U.useState(!1);let i,p,d;if(t[0]!==n||t[1]!==a){const S=St(n);i=S.filter(Ht).length,d=a?S:S.filter(Vt),p=At(d.map(Ft)),t[0]=n,t[1]=a,t[2]=i,t[3]=p,t[4]=d}else i=t[2],p=t[3],d=t[4];const u=p;let x;t[5]===Symbol.for("react.memo_cache_sentinel")?(x=()=>m(at(new Date)),t[5]=x):x=t[5];const h=x;let g;t[6]!==r?(g=()=>m(S=>r==="calendar"?F(S,-1):F(S,-3)),t[6]=r,t[7]=g):g=t[7];const b=g;let y;t[8]!==r?(y=()=>m(S=>r==="calendar"?F(S,1):F(S,3)),t[8]=r,t[9]=y):y=t[9];const T=y;let f;t[10]===Symbol.for("react.memo_cache_sentinel")?(f=o.jsx(Y,{variant:"outline",size:"sm",onClick:h,children:"Today"}),t[10]=f):f=t[10];let N;t[11]===Symbol.for("react.memo_cache_sentinel")?(N=o.jsx(ct,{size:16}),t[11]=N):N=t[11];let k;t[12]!==b?(k=o.jsx(Y,{variant:"ghost",size:"icon",className:"size-8",onClick:b,"aria-label":"Previous",children:N}),t[12]=b,t[13]=k):k=t[13];let _;t[14]===Symbol.for("react.memo_cache_sentinel")?(_=o.jsx(pt,{size:16}),t[14]=_):_=t[14];let M;t[15]!==T?(M=o.jsx(Y,{variant:"ghost",size:"icon",className:"size-8",onClick:T,"aria-label":"Next",children:_}),t[15]=T,t[16]=M):M=t[16];const A=ot[s.getMonth()];let E;t[17]!==s?(E=s.getFullYear(),t[17]=s,t[18]=E):E=t[18];let v;t[19]!==A||t[20]!==E?(v=o.jsxs("h2",{className:"ml-2 text-base font-semibold",children:[A," ",E]}),t[19]=A,t[20]=E,t[21]=v):v=t[21];let j;t[22]!==v||t[23]!==k||t[24]!==M?(j=o.jsxs("div",{className:"flex items-center gap-2",children:[f,k,M,v]}),t[22]=v,t[23]=k,t[24]=M,t[25]=j):j=t[25];let D;t[26]!==i||t[27]!==a?(D=i>0&&o.jsxs("div",{className:"flex items-center gap-2",children:[o.jsx(ft,{id:"show-ongoing",checked:a,onCheckedChange:c}),o.jsxs(dt,{htmlFor:"show-ongoing",className:"text-xs text-muted-foreground cursor-pointer",children:["Show ongoing (",i,")"]})]}),t[26]=i,t[27]=a,t[28]=D):D=t[28];let L;t[29]===Symbol.for("react.memo_cache_sentinel")?(L={value:"calendar",icon:o.jsx(et,{}),label:"Calendar"},t[29]=L):L=t[29];let I;t[30]===Symbol.for("react.memo_cache_sentinel")?(I=[L,{value:"timeline",icon:o.jsx(mt,{}),label:"Timeline"}],t[30]=I):I=t[30];let w;t[31]!==r?(w=o.jsx(xt,{value:r,onValueChange:l,options:I}),t[31]=r,t[32]=w):w=t[32];let R;t[33]!==D||t[34]!==w?(R=o.jsxs("div",{className:"flex items-center gap-4",children:[D,w]}),t[33]=D,t[34]=w,t[35]=R):R=t[35];let $;t[36]!==j||t[37]!==R?($=o.jsxs("div",{className:"flex items-center justify-between px-4 h-12 border-b shrink-0",children:[j,R]}),t[36]=j,t[37]=R,t[38]=$):$=t[38];let C;t[39]!==u||t[40]!==s||t[41]!==i||t[42]!==a||t[43]!==d||t[44]!==r?(C=d.length===0?o.jsx(Wt,{hiddenOngoing:a?0:i}):r==="calendar"?o.jsx(Ut,{monthStart:s,variants:d,colorMap:u}):o.jsx(Jt,{monthStart:s,variants:d,colorMap:u}),t[39]=u,t[40]=s,t[41]=i,t[42]=a,t[43]=d,t[44]=r,t[45]=C):C=t[45];let O;return t[46]!==$||t[47]!==C?(O=o.jsxs("div",{className:"flex h-full w-full flex-col",children:[$,C]}),t[46]=$,t[47]=C,t[48]=O):O=t[48],O}function Ft(e){return e.blockKey}function Vt(e){return!e.openEnd}function Ht(e){return e.openEnd}function Bt(){return at(new Date)}function Wt(e){const t=V.c(3),{hiddenOngoing:n}=e,r=n===void 0?0:n;let l;t[0]===Symbol.for("react.memo_cache_sentinel")?(l=o.jsx(et,{size:24,className:"text-muted-foreground/60"}),t[0]=l):l=t[0];let s;return t[1]!==r?(s=o.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center gap-2 text-center text-sm text-muted-foreground p-6",children:[l,r>0?o.jsxs(o.Fragment,{children:[o.jsx("div",{children:"No dated variants in view."}),o.jsxs("div",{className:"text-xs text-muted-foreground/80",children:[r," ongoing"," ",r===1?"variant is":"variants are"," hidden — enable “Show ongoing” to view."]})]}):o.jsxs(o.Fragment,{children:[o.jsx("div",{children:"No scheduled variants."}),o.jsx("div",{className:"text-xs text-muted-foreground/80",children:"Variants gated by a date matcher appear here."})]})]}),t[1]=r,t[2]=s):s=t[2],s}const G=20,Z=2,tt=28,zt=6;function Ut(e){const t=V.c(17),{monthStart:n,variants:r,colorMap:l}=e;let s,m,a,c,i;if(t[0]!==l||t[1]!==n||t[2]!==r){const u=Rt(n),x=P(new Date);s=nt,i="flex-1 min-h-0",m="min-w-[840px]",t[8]===Symbol.for("react.memo_cache_sentinel")?(a=o.jsx("div",{className:"grid grid-cols-7 border-b text-xs text-muted-foreground sticky top-0 bg-background z-10",children:$t.map(Gt)}),t[8]=a):a=t[8],c=u.map((h,g)=>{const b=Lt(h,r),y=b.reduce(Yt,0),T=tt+y*(G+Z)+8;return o.jsxs("div",{className:"grid grid-cols-7 relative border-b",style:{height:T},children:[h.map((f,N)=>{const k=f.getMonth()===n.getMonth(),_=f.getTime()===x.getTime();return o.jsx("div",{className:J("border-r last:border-r-0 px-2 pt-1.5 text-xs",k?"bg-background":"bg-muted/30 text-muted-foreground"),children:o.jsx("span",{className:J("inline-flex h-5 min-w-5 items-center justify-center rounded-full px-1",_&&"bg-primary text-primary-foreground font-semibold"),children:f.getDate()})},N)}),b.map((f,N)=>{const k=st(l,f.variant.blockKey),_=tt+f.lane*(G+Z),M=f.leftUnits/7*100,A=f.widthUnits/7*100,E=f.variant.openStart&&g===0,v=f.variant.openEnd&&g===u.length-1;return o.jsxs(lt,{variant:f.variant,color:k,fadeStart:E,fadeEnd:v,style:{top:_,left:`calc(${M}% + 2px)`,width:`calc(${A}% - 4px)`,minWidth:zt,height:G},children:[f.variant.blockLabel,f.variant.label!==f.variant.blockLabel&&o.jsxs("span",{className:"opacity-70",children:[" · ",f.variant.label]})]},`${g}-${N}`)})]},g)}),t[0]=l,t[1]=n,t[2]=r,t[3]=s,t[4]=m,t[5]=a,t[6]=c,t[7]=i}else s=t[3],m=t[4],a=t[5],c=t[6],i=t[7];let p;t[9]!==m||t[10]!==a||t[11]!==c?(p=o.jsxs("div",{className:m,children:[a,c]}),t[9]=m,t[10]=a,t[11]=c,t[12]=p):p=t[12];let d;return t[13]!==s||t[14]!==i||t[15]!==p?(d=o.jsx(s,{className:i,children:p}),t[13]=s,t[14]=i,t[15]=p,t[16]=d):d=t[16],d}function Yt(e,t){return Math.max(e,t.lane+1)}function Gt(e){return o.jsx("div",{className:"px-2 py-2 text-center uppercase tracking-wide",children:e},e)}const B=4,Kt=32,H=240;function Jt(e){const t=V.c(27),{monthStart:n,variants:r,colorMap:l}=e,s=n;let m,a,c,i,p,d;if(t[0]!==l||t[1]!==n||t[2]!==s||t[3]!==r){const h=F(n,B),g=new Date,b=new Map;for(const v of r){const j=b.get(v.blockKey)??[];j.push(v),b.set(v.blockKey,j)}const y=Array.from(b.entries()).sort(Xt),T=h.getTime()-s.getTime(),f=v=>(Math.max(s.getTime(),Math.min(h.getTime(),v.getTime()))-s.getTime())/T*100;let N;t[10]!==s?(N=(v,j)=>F(s,j),t[10]=s,t[11]=N):N=t[11];const k=Array.from({length:B},N),_=g.getTime()>=s.getTime()&&g.getTime()<=h.getTime()?f(g):null;m=nt,d="flex-1 min-h-0",a="min-w-[900px] relative";let M;t[12]===Symbol.for("react.memo_cache_sentinel")?(M=o.jsx("div",{className:"shrink-0 px-3 py-2 text-xs font-semibold uppercase tracking-wide text-muted-foreground border-r",style:{width:H},children:"Variant / Block"}),t[12]=M):M=t[12];let A;t[13]===Symbol.for("react.memo_cache_sentinel")?(A={gridTemplateColumns:`repeat(${B}, minmax(0, 1fr))`},t[13]=A):A=t[13];const E=k.map(Qt);t[14]!==E?(c=o.jsxs("div",{className:"flex border-b sticky top-0 bg-background z-10",children:[M,o.jsx("div",{className:"flex-1 grid",style:A,children:E})]}),t[14]=E,t[15]=c):c=t[15],t[16]!==_?(i=_!==null&&o.jsx("div",{className:"pointer-events-none absolute top-0 bottom-0 w-px bg-primary/70 z-[5]",style:{left:`calc(${H}px + (100% - ${H}px) * ${_} / 100)`},children:o.jsx("span",{className:"absolute -top-0.5 -translate-x-1/2 rounded-sm bg-primary px-1.5 py-px text-[10px] font-medium text-primary-foreground",children:"Today"})}),t[16]=_,t[17]=i):i=t[17],p=y.map(v=>{const[j,D]=v,L=st(l,j),I=D[0]?.blockLabel??j;return o.jsxs("div",{children:[o.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:o.jsx("div",{className:"px-3 truncate",style:{width:H},children:I})}),D.map((w,R)=>o.jsxs("div",{className:"flex border-b items-center",style:{height:Kt},children:[o.jsxs("div",{className:"flex items-center gap-2 px-3 text-sm border-r shrink-0",style:{width:H},children:[o.jsx("span",{className:"inline-block h-2 w-2 rounded-full shrink-0",style:{background:L.bg}}),o.jsx("span",{className:"truncate text-foreground/80",children:w.label})]}),o.jsxs("div",{className:"relative flex-1 h-full",children:[o.jsx("div",{className:"absolute inset-0 grid",style:{gridTemplateColumns:`repeat(${B}, minmax(0, 1fr))`},children:k.map(qt)}),(()=>{const $=Math.max(w.start.getTime(),s.getTime()),C=Math.min(w.end.getTime(),h.getTime());if(C<=$)return null;const O=f(new Date($)),S=f(new Date(C))-O;return o.jsx(lt,{variant:w,color:L,fadeStart:w.openStart,fadeEnd:w.openEnd,style:{top:"50%",transform:"translateY(-50%)",left:`${O}%`,width:`calc(${S}% - 2px)`,height:22},children:w.label})})()]})]},R))]},j)}),t[0]=l,t[1]=n,t[2]=s,t[3]=r,t[4]=m,t[5]=a,t[6]=c,t[7]=i,t[8]=p,t[9]=d}else m=t[4],a=t[5],c=t[6],i=t[7],p=t[8],d=t[9];let u;t[18]!==a||t[19]!==c||t[20]!==i||t[21]!==p?(u=o.jsxs("div",{className:a,children:[c,i,p]}),t[18]=a,t[19]=c,t[20]=i,t[21]=p,t[22]=u):u=t[22];let x;return t[23]!==m||t[24]!==d||t[25]!==u?(x=o.jsx(m,{className:d,children:u}),t[23]=m,t[24]=d,t[25]=u,t[26]=x):x=t[26],x}function qt(e,t){return o.jsx("div",{className:"border-r last:border-r-0 border-border/40"},t)}function Qt(e,t){return o.jsxs("div",{className:"px-2 py-2 text-xs uppercase tracking-wide text-muted-foreground border-r last:border-r-0",children:[ot[e.getMonth()]?.slice(0,3)," ",e.getFullYear()]},t)}function Xt(e,t){return e[0].localeCompare(t[0])}export{Jn as VariantCalendar};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as $,r as T,l as f,j as i}from"./index-
|
|
1
|
+
import{c as $,r as T,l as f,j as i}from"./index-CHKDG_wX.js";import{b as k,T as I,a as P}from"./tooltip-DS7kkEOo.js";const M={sm:{button:"size-7",buttonWithLabel:"h-7",icon:"size-4"},md:{button:"size-9",buttonWithLabel:"h-9",icon:"size-5"},lg:{button:"size-12",buttonWithLabel:"h-12",icon:"size-6"}};function B(E){const t=$.c(27),{value:s,onValueChange:y,options:o,size:C,fullWidth:L,className:z}=E,_=C===void 0?"sm":C,b=L===void 0?!1:L;let h;t[0]===Symbol.for("react.memo_cache_sentinel")?(h=[],t[0]=h):h=t[0];const R=T.useRef(h);let x;t[1]===Symbol.for("react.memo_cache_sentinel")?(x={left:0,width:0,opacity:0},t[1]=x):x=t[1];const[d,S]=T.useState(x);let g,p;t[2]!==o||t[3]!==s?(g=()=>{const e=o.findIndex(j=>j.value===s),m=R.current[e];m&&S({left:m.offsetLeft,width:m.offsetWidth,opacity:1})},p=[s,o],t[2]=o,t[3]=s,t[4]=g,t[5]=p):(g=t[4],p=t[5]),T.useEffect(g,p);const n=M[_];let l;t[6]!==z?(l=f("relative flex gap-0 bg-muted rounded-lg",z),t[6]=z,t[7]=l):l=t[7];let a;t[8]!==n||t[9]!==b||t[10]!==y||t[11]!==o||t[12]!==s?(a=o.map((e,m)=>{const j=i.jsxs("button",{ref:V=>{R.current[m]=V},type:"button",onClick:()=>y(e.value),className:f("relative z-10 flex items-center justify-center gap-2 rounded-lg transition-colors [transition-timing-function:var(--ease-out-cubic)] duration-200",b?"flex-1 h-12 px-4":e.label?f(n.buttonWithLabel,"px-3"):n.button),children:[i.jsx("span",{className:f("transition-colors ease-out duration-200 flex items-center justify-center [&>svg]:size-[1em]",n.icon,s===e.value?"text-foreground":"text-muted-foreground"),children:e.icon}),e.label&&i.jsx("span",{className:f("text-xs transition-colors ease-out duration-200 whitespace-nowrap",s===e.value?"text-foreground":"text-muted-foreground"),children:e.label})]},e.value);return e.tooltip?i.jsxs(k,{children:[i.jsx(I,{asChild:!0,children:j}),i.jsx(P,{side:"bottom",children:e.tooltip})]},e.value):j}),t[8]=n,t[9]=b,t[10]=y,t[11]=o,t[12]=s,t[13]=a):a=t[13];const w=b?"h-12":n.button;let r;t[14]!==w?(r=f("absolute z-0 bg-background rounded-lg border-shadow transition-all [transition-timing-function:var(--ease-out-cubic)] duration-200",w),t[14]=w,t[15]=r):r=t[15];const W=`${d.left}px`,N=`${d.width}px`;let c;t[16]!==d.opacity||t[17]!==W||t[18]!==N?(c={left:W,width:N,opacity:d.opacity},t[16]=d.opacity,t[17]=W,t[18]=N,t[19]=c):c=t[19];let u;t[20]!==r||t[21]!==c?(u=i.jsx("div",{className:r,style:c}),t[20]=r,t[21]=c,t[22]=u):u=t[22];let v;return t[23]!==u||t[24]!==l||t[25]!==a?(v=i.jsxs("div",{className:l,children:[a,u]}),t[23]=u,t[24]=l,t[25]=a,t[26]=v):v=t[26],v}export{B as V};
|
package/dist/client/index.html
CHANGED
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
57
57
|
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
|
|
58
58
|
<meta name="apple-mobile-web-app-title" content="deco Studio" />
|
|
59
|
-
<script type="module" crossorigin src="/assets/index-
|
|
59
|
+
<script type="module" crossorigin src="/assets/index-CHKDG_wX.js"></script>
|
|
60
60
|
<link rel="stylesheet" crossorigin href="/assets/index-DxTnZ0Oo.css">
|
|
61
61
|
</head>
|
|
62
62
|
<body>
|