decocms 4.92.2 → 4.92.3
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-Cvc_10Uv.js → AlertCircle-B9GlbKHh.js} +1 -1
- package/dist/client/assets/{AreaChart-D4PMIsMV.js → AreaChart-DHN9bK0l.js} +1 -1
- package/dist/client/assets/{ArrowUp-Dq6JgHsq.js → ArrowUp-DNZsq7Zt.js} +1 -1
- package/dist/client/assets/{ArrowUpRight-DgI9ki5h.js → ArrowUpRight-DZZygrAi.js} +1 -1
- package/dist/client/assets/{CheckCircle-B5oIKeSF.js → CheckCircle-BEcdXH7-.js} +1 -1
- package/dist/client/assets/{ChevronDown-D_W2bIqv.js → ChevronDown-BSRiDjXd.js} +1 -1
- package/dist/client/assets/{ChevronRight-BnIvJcIZ.js → ChevronRight-YmTewr_B.js} +1 -1
- package/dist/client/assets/{ChevronUp-Ci-XiWb6.js → ChevronUp-D5F6V6Tm.js} +1 -1
- package/dist/client/assets/{Copy01-Q4xZmPKp.js → Copy01-BkGYkmm-.js} +1 -1
- package/dist/client/assets/{DotsVertical-Bcfqjiks.js → DotsVertical-BmTi7wpl.js} +1 -1
- package/dist/client/assets/{Eye-BuukW7MV.js → Eye-B-ZfWIGj.js} +1 -1
- package/dist/client/assets/{FilterLines-Do4UgzmV.js → FilterLines-BwWG7tAk.js} +1 -1
- package/dist/client/assets/{Globe01-qjaQZUfN.js → Globe01-D3vBqhI7.js} +1 -1
- package/dist/client/assets/{Globe04-CqIGMVDi.js → Globe04-pvxBukgJ.js} +1 -1
- package/dist/client/assets/{HardDrive-DrLvUMYg.js → HardDrive-DutZPQFL.js} +1 -1
- package/dist/client/assets/{Image01-BWotytID.js → Image01-PIeYnf-K.js} +1 -1
- package/dist/client/assets/{Key01-BPZUhUcV.js → Key01-DhLD806C.js} +1 -1
- package/dist/client/assets/{LayoutLeft-COV7zlIC.js → LayoutLeft-BI-sXAac.js} +1 -1
- package/dist/client/assets/{LinkExternal01-CyMOdGfe.js → LinkExternal01-DO3QnLus.js} +1 -1
- package/dist/client/assets/{Monitor01-dLHbd0CB.js → Monitor01-BOILvS2u.js} +1 -1
- package/dist/client/assets/{Package-B7Qii2Tl.js → Package-DbEcG94t.js} +1 -1
- package/dist/client/assets/{Palette-tVNOj7Ym.js → Palette-CyZvWKmI.js} +1 -1
- package/dist/client/assets/{Play-BE8nTtBp.js → Play-B8fWmOst.js} +1 -1
- package/dist/client/assets/{Plus-5VWQJEkS.js → Plus-2c1jULco.js} +1 -1
- package/dist/client/assets/{SearchLg-BiyFAMx0.js → SearchLg-XmvudKlH.js} +1 -1
- package/dist/client/assets/{SearchMd-LbMkvaPD.js → SearchMd-lwIiBODG.js} +1 -1
- package/dist/client/assets/{Settings02-CU2rilKq.js → Settings02-DMpqOK24.js} +1 -1
- package/dist/client/assets/{Shield01-7KT2UKvg.js → Shield01-gTFc9c17.js} +1 -1
- package/dist/client/assets/{Star01-D4LxiizA.js → Star01-DoUbKevt.js} +1 -1
- package/dist/client/assets/{Stars01-HAbkffzq.js → Stars01-CJsm_THn.js} +1 -1
- package/dist/client/assets/{Stars02-CdgckoDr.js → Stars02-B08FvcHQ.js} +1 -1
- package/dist/client/assets/{Sun-Ca3eslhz.js → Sun-nDXz4jeM.js} +1 -1
- package/dist/client/assets/{SwitchHorizontal01-DNcPUv7P.js → SwitchHorizontal01-Rgis0XWf.js} +1 -1
- package/dist/client/assets/{Tool01-DBXzU6aR.js → Tool01-BR3IBeV9.js} +1 -1
- package/dist/client/assets/{Tool02-rl8XhSPG.js → Tool02-B0-a0UMl.js} +1 -1
- package/dist/client/assets/{Trash01-DxXosbkh.js → Trash01-Ba6bCbNY.js} +1 -1
- package/dist/client/assets/{TrendUp01-BmzCTIbp.js → TrendUp01-CeRF_789.js} +1 -1
- package/dist/client/assets/{Upload01-CXsTipbe.js → Upload01-B14IruoN.js} +1 -1
- package/dist/client/assets/{User01-CZgThaZQ.js → User01-ByIE6k8L.js} +1 -1
- package/dist/client/assets/{Users01-IdyAszrF.js → Users01-BdldAr7H.js} +1 -1
- package/dist/client/assets/{Users03-3HXi1aia.js → Users03-Bx4g7VTC.js} +1 -1
- package/dist/client/assets/{X-CLG08ht8.js → X-Dif5I5BD.js} +1 -1
- package/dist/client/assets/{XCircle-pZ6nD22L.js → XCircle-C0OdV3N_.js} +1 -1
- package/dist/client/assets/{XClose-BYq2BBpT.js → XClose-DomD4542.js} +1 -1
- package/dist/client/assets/{Zap-C6tkfs5m.js → Zap-CEUVQQOc.js} +1 -1
- package/dist/client/assets/{ZapSquare-DdKvM81Z.js → ZapSquare-EvC2T9CP.js} +1 -1
- package/dist/client/assets/{ZoomOut-DAAhtu2Z.js → ZoomOut-BprgOfkE.js} +1 -1
- package/dist/client/assets/{access-gate-B8spscer.js → access-gate-NCJKEJqO.js} +1 -1
- package/dist/client/assets/{add-section-modal-De0GxBTc.js → add-section-modal-DBjaDtzc.js} +1 -1
- package/dist/client/assets/{agent-icon-BIj6WxKp.js → agent-icon-DicjSkHu.js} +1 -1
- package/dist/client/assets/{agents-list-Cc-986WT.js → agents-list-Bt1R4ueI.js} +1 -1
- package/dist/client/assets/{ai-providers-Ck_-NP1I.js → ai-providers-TK1CCOpK.js} +1 -1
- package/dist/client/assets/{alert-CI7flGPF.js → alert-C_4AvGUo.js} +1 -1
- package/dist/client/assets/{alert-dialog-D2oa47X8.js → alert-dialog-DDtUbhoS.js} +1 -1
- package/dist/client/assets/{app-editor-Cn-tT-ug.js → app-editor-ptKJtHHM.js} +1 -1
- package/dist/client/assets/{auth-Kymy4xkz.js → auth-CsHQFHV_.js} +1 -1
- package/dist/client/assets/{auth-catchall-B0gQyYvu.js → auth-catchall-_TQy6GDd.js} +1 -1
- package/dist/client/assets/{auth-entry-Crrd0hkP.js → auth-entry-_ePf9_J1.js} +1 -1
- package/dist/client/assets/{auth-split-layout-BO4l9cCp.js → auth-split-layout-D9UYTbxy.js} +1 -1
- package/dist/client/assets/{authenticate-and-persist-oauth-DAAmwSgR.js → authenticate-and-persist-oauth-CEv4KtcH.js} +1 -1
- package/dist/client/assets/{automation-list-row-D-cT9rxb.js → automation-list-row-CyDHI_uf.js} +1 -1
- package/dist/client/assets/{automation-runs-_XAGR1m2.js → automation-runs-D8v8nlly.js} +2 -2
- package/dist/client/assets/{automations-Bh1OF4xf.js → automations-BoSNNWPc.js} +1 -1
- package/dist/client/assets/{autosend-D-JHJKNK.js → autosend-BgYoPuWD.js} +1 -1
- package/dist/client/assets/{avatar-1o2VQKTj.js → avatar-BVdHZbMN.js} +1 -1
- package/dist/client/assets/{badge-dHBIjKyY.js → badge-C_9mnuBd.js} +1 -1
- package/dist/client/assets/{block-document-nemKITlN.js → block-document-CcMdXbqY.js} +1 -1
- package/dist/client/assets/{brand-context-DSZ7O9_c.js → brand-context-B-nZCoNx.js} +1 -1
- package/dist/client/assets/{buckets-BDkQllTH.js → buckets-DcRE1RUQ.js} +1 -1
- package/dist/client/assets/{bulk-category-panel-Cn58Io0u.js → bulk-category-panel-BkJQrEio.js} +1 -1
- package/dist/client/assets/calendar-Bxkf6gvE.js +102 -0
- package/dist/client/assets/{capability-load-error-DI4Ww9LY.js → capability-load-error-i6NCyxxk.js} +1 -1
- package/dist/client/assets/{card-CoG27DVs.js → card-C3gg1LtP.js} +1 -1
- package/dist/client/assets/{category-editor-BmpcIx1s.js → category-editor-CaGAyBNX.js} +1 -1
- package/dist/client/assets/{chat-context-glCfFIWX.js → chat-context-DSveBxCg.js} +1 -1
- package/dist/client/assets/{checkbox-BOAToSlJ.js → checkbox-Ba2-hx8r.js} +1 -1
- package/dist/client/assets/{cli-auth-success-CqzQrYb8.js → cli-auth-success-Cc2B25iW.js} +1 -1
- package/dist/client/assets/{collection-detail-I0O1ME9a.js → collection-detail-D9ZCPDhA.js} +1 -1
- package/dist/client/assets/{collection-display-button-Bw2bFMNm.js → collection-display-button-D_kIgil2.js} +1 -1
- package/dist/client/assets/{collection-search-DuPY-s4R.js → collection-search-TcSAZpqK.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-BOKHq7cp.js → collection-table-wrapper-H4bzUKoO.js} +1 -1
- package/dist/client/assets/{collection-tabs-CcN3J070.js → collection-tabs-CIRa_M2W.js} +1 -1
- package/dist/client/assets/{command-BB6Oir8o.js → command-3z1R7bvy.js} +1 -1
- package/dist/client/assets/{commerce-onboarding-DejhsIyX.js → commerce-onboarding-DbQ0hYyA.js} +1 -1
- package/dist/client/assets/{companions-core-C-kZqiTC.js → companions-core-C68sN4Wc.js} +1 -1
- package/dist/client/assets/{connect-desktop-dialog-CUGIAU17.js → connect-desktop-dialog-DEEL81vf.js} +1 -1
- package/dist/client/assets/{connection-card-7gBTmFox.js → connection-card-D_K36Swx.js} +1 -1
- package/dist/client/assets/{connection-detail-BB0rtYjx.js → connection-detail-CKGrDl_p.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-CJKig9hy.js → connection-form-helpers-DyOAEqE9.js} +1 -1
- package/dist/client/assets/{connections-E7mextbc.js → connections-BJO0R_-8.js} +1 -1
- package/dist/client/assets/{decopilot-sse-pool-DEJZ4gJu.js → decopilot-sse-pool-CEQrv8Fn.js} +1 -1
- package/dist/client/assets/{dialog-ChJw5xnr.js → dialog-DUqhzGiD.js} +1 -1
- package/dist/client/assets/{domain-settings-B6Co6UtW.js → domain-settings-CRIqu0Bs.js} +1 -1
- package/dist/client/assets/{drawer-_WfOhyRU.js → drawer-DvhdIHph.js} +1 -1
- package/dist/client/assets/{dropdown-menu-B7HOgSu8.js → dropdown-menu-D5BTIZvH.js} +1 -1
- package/dist/client/assets/{empty-state-kSEyPCAz.js → empty-state-BHuw6cM9.js} +1 -1
- package/dist/client/assets/{extract-connection-data-oUFnwuwD.js → extract-connection-data-_NDoBHMa.js} +1 -1
- package/dist/client/assets/{file-explorer-CnTvRnvj.js → file-explorer-CUr9mfMv.js} +1 -1
- package/dist/client/assets/{file-type-icon-CeQVzqDu.js → file-type-icon-BOCZKON3.js} +1 -1
- package/dist/client/assets/{files-CCxNqj9u.js → files-CelFf8dg.js} +1 -1
- package/dist/client/assets/{form-BUM27CLj.js → form-C9InGmo4.js} +1 -1
- package/dist/client/assets/{general-BjF2DfAd.js → general-DlHL1tW3.js} +1 -1
- package/dist/client/assets/{github-repo-picker-4TIPzYjR.js → github-repo-picker-Biy9UFu8.js} +1 -1
- package/dist/client/assets/{hooks-CJqrF4BQ.js → hooks-DU-2h9eZ.js} +1 -1
- package/dist/client/assets/{index-DVotD2Sm.js → index-629FAmzK.js} +1 -1
- package/dist/client/assets/{index-BHqz24vm.js → index-BOgwoJjn.js} +1 -1
- package/dist/client/assets/{index-CWlzI7M3.js → index-BQK4XWOD.js} +2 -2
- package/dist/client/assets/{index-CR0rMz7E.js → index-CO3868Cu.js} +1 -1
- package/dist/client/assets/{index-BderZvBT.js → index-Cb_X1LK0.js} +1 -1
- package/dist/client/assets/{index-WDnleR3r.js → index-CbhDnqOu.js} +1 -1
- package/dist/client/assets/{index-D6ixbRYa.js → index-Cs6hIS7C.js} +4 -4
- package/dist/client/assets/{index-Bj_MaVUP.js → index-DBhNC4I_.js} +1 -1
- package/dist/client/assets/{index-CQwS9Ezr.js → index-DivFugQC.js} +1 -1
- package/dist/client/assets/{index-C8rlFaFO.js → index-DmhdwAgP.js} +3 -3
- package/dist/client/assets/{index-DyXd0E61.js → index-DnrPO2j2.js} +1 -1
- package/dist/client/assets/{index-CWGwstEz.js → index-Du80fsxC.js} +1 -1
- package/dist/client/assets/{index-CHWLrEqX.js → index-f6gbzJ8b.js} +1 -1
- package/dist/client/assets/{index-B_qFi_-_.js → index-nNhZx5bw.js} +27 -27
- package/dist/client/assets/index-oE__K1ye.css +1 -0
- package/dist/client/assets/{index-redirect-CZuVtK8Y.js → index-redirect-hJFu02mm.js} +1 -1
- package/dist/client/assets/{input-CWExGH7j.js → input-TkvVVsQL.js} +1 -1
- package/dist/client/assets/{integration-icon-BXEpLE2r.js → integration-icon-CWb3OXTV.js} +1 -1
- package/dist/client/assets/{invite-member-dialog-Cj35CA_W.js → invite-member-dialog-BA1mFY2X.js} +1 -1
- package/dist/client/assets/{label-BbLr7wPS.js → label-CB2o7dZ2.js} +1 -1
- package/dist/client/assets/{layout-yKsHfaYu.js → layout-CqMMMVMm.js} +1 -1
- package/dist/client/assets/{login-g6Yf2A86.js → login-B0EX352Z.js} +1 -1
- package/dist/client/assets/{mcp-oauth-B2KaqQoI.js → mcp-oauth-B5rKpHdd.js} +1 -1
- package/dist/client/assets/{members-yX31omZQ.js → members-Ds_Onv02.js} +1 -1
- package/dist/client/assets/{monaco-editor-CJKnQM68.js → monaco-editor-DfuNvLfy.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-DTqvYy56.js → monitoring-stats-row-B43TP1bq.js} +1 -1
- package/dist/client/assets/{multi-select-C9lH7lr4.js → multi-select-DhXl88EK.js} +1 -1
- package/dist/client/assets/{oauth-callback-DPu8Jv31.js → oauth-callback-CZ8I3e9V.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-DXhgROtl.js → oauth-callback-ai-provider-BiKjtCpj.js} +1 -1
- package/dist/client/assets/{onboarding-b8UESLyK.js → onboarding-U4YqP9I9.js} +1 -1
- package/dist/client/assets/{org-install-DFTAzRMO.js → org-install-BYDat95r.js} +1 -1
- package/dist/client/assets/{org-layout-BbjFIQ-M.js → org-layout-CVqWtNQa.js} +1 -1
- package/dist/client/assets/{organization-choice-DjVV9MCZ.js → organization-choice-CkG6QFWH.js} +1 -1
- package/dist/client/assets/{orgs-B1jGApXW.js → orgs-B4DrO8iC.js} +1 -1
- package/dist/client/assets/{page-seo-form-DeD_2a8R.js → page-seo-form-8ToiuKnD.js} +1 -1
- package/dist/client/assets/page-seo-sheet-BTyypxho.js +1 -0
- package/dist/client/assets/{popover-kOy_asOa.js → popover-DwV6WXHS.js} +1 -1
- package/dist/client/assets/{post-editor-BZQdhdwo.js → post-editor-j9JAXwQN.js} +1 -1
- package/dist/client/assets/{primitives-Cyz_TV23.js → primitives-RdkZFzQM.js} +1 -1
- package/dist/client/assets/{profile-D5HUGTyF.js → profile-DwVJzm_R.js} +1 -1
- package/dist/client/assets/project-app-view-e40sJb24.js +1 -0
- package/dist/client/assets/record-editor-BBPLTix7.js +1 -0
- package/dist/client/assets/redirect-editor-C8EDxpmx.js +1 -0
- package/dist/client/assets/registry-CFSvMZwJ.js +2 -0
- package/dist/client/assets/{registry-layout-JPmaR-tb.js → registry-layout-C2NoRJs0.js} +2 -2
- package/dist/client/assets/{reports-Btc-1oN-.js → reports-J4B5GOoc.js} +1 -1
- package/dist/client/assets/{require-capability-BBszzyH9.js → require-capability-DnfzULDW.js} +1 -1
- package/dist/client/assets/{required-auth-layout-CR5_YK6W.js → required-auth-layout-ABsqitxw.js} +1 -1
- package/dist/client/assets/{reset-password-u9Nbv0bS.js → reset-password-CbrThkFS.js} +1 -1
- package/dist/client/assets/{roles-B7bUsR2h.js → roles-BqueMkJJ.js} +1 -1
- package/dist/client/assets/{search-input-B6akQV4Y.js → search-input-B-RkAjzQ.js} +1 -1
- package/dist/client/assets/{secrets-Dsj3iy5H.js → secrets-CEZOniOS.js} +1 -1
- package/dist/client/assets/{sections-editor-CvIj0bPs.js → sections-editor-BW9cZUKJ.js} +1 -1
- package/dist/client/assets/{select-4-vdHbLT.js → select-AzuoAc3H.js} +1 -1
- package/dist/client/assets/{select-model-CVcEVUsi.js → select-model-BAk08l-M.js} +1 -1
- package/dist/client/assets/{self-tool-result-Cwdk21K_.js → self-tool-result-C94YNykg.js} +1 -1
- package/dist/client/assets/{seo-editor-B0_qMHl0.js → seo-editor-CR8P7sfk.js} +1 -1
- package/dist/client/assets/{settings-layout-BURikhtl.js → settings-layout-9yQD_m0n.js} +1 -1
- package/dist/client/assets/{settings-section-DxqR9iml.js → settings-section-CNVe03BK.js} +1 -1
- package/dist/client/assets/{shell-controls-DYq3DSuV.js → shell-controls-5d4ZCRmi.js} +1 -1
- package/dist/client/assets/{shell-layout-DvMdeukx.js → shell-layout-6KUu0MA6.js} +1 -1
- package/dist/client/assets/{sidebar-AfeWMY1r.js → sidebar-DnKMI8jz.js} +1 -1
- package/dist/client/assets/{skeleton-DraYvTQP.js → skeleton-xDZ5Iwb8.js} +1 -1
- package/dist/client/assets/{sso-DWBNvY6X.js → sso-DNsZ7Hie.js} +1 -1
- package/dist/client/assets/{store-BFhYLhoT.js → store-BoCHTDSB.js} +1 -1
- package/dist/client/assets/store-registry-WZUtBjlh.js +2 -0
- package/dist/client/assets/{studio-tools-B3FHZXsQ.js → studio-tools-DIWsVaKg.js} +1 -1
- package/dist/client/assets/{switch-CyZjNvfZ.js → switch-DS9vYGS-.js} +1 -1
- package/dist/client/assets/{table-iG6kCmeS.js → table-DnoPpUup.js} +1 -1
- package/dist/client/assets/{tabs-C1LpzuaJ.js → tabs-2srR2H7A.js} +1 -1
- package/dist/client/assets/{textarea-B8dhUfp9.js → textarea-DjtAtA2l.js} +1 -1
- package/dist/client/assets/{toggle-group-c5TjS6xS.js → toggle-group-DGvoaiio.js} +1 -1
- package/dist/client/assets/{toolbar-Daz4jqLs.js → toolbar-CvkbyWaX.js} +1 -1
- package/dist/client/assets/{toolbar-icon-button-Bbbo7hyv.js → toolbar-icon-button-Cr-N30KB.js} +1 -1
- package/dist/client/assets/{tooltip-DE_gqCm3.js → tooltip-cvFTpZ9W.js} +1 -1
- package/dist/client/assets/{use-ai-providers-CGzSWtp7.js → use-ai-providers-ZLuBEaKb.js} +1 -1
- package/dist/client/assets/{use-automations-Btiu7Z09.js → use-automations-COcieFX-.js} +1 -1
- package/dist/client/assets/{use-autosave-DphOvxb9.js → use-autosave-C46oRXRb.js} +1 -1
- package/dist/client/assets/{use-capability-BNcFOggs.js → use-capability-3dRU8tE2.js} +1 -1
- package/dist/client/assets/{use-clock-tick-Dw7sAB29.js → use-clock-tick-BzcS25hV.js} +1 -1
- package/dist/client/assets/{use-collections-u5tkBX1a.js → use-collections-DaXoNaLL.js} +1 -1
- package/dist/client/assets/{use-connection-CcmTBTY-.js → use-connection-DM1ROgj3.js} +1 -1
- package/dist/client/assets/{use-copy-CveeH2p4.js → use-copy-DC217syR.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-jvSmQNTU.js → use-create-virtual-mcp-Clu62lnk.js} +1 -1
- package/dist/client/assets/{use-debounced-autosave-DFle-8Sb.js → use-debounced-autosave-DYog9M6N.js} +1 -1
- package/dist/client/assets/{use-debounced-value-D1xFGN32.js → use-debounced-value-CSp0_yRg.js} +1 -1
- package/dist/client/assets/{use-deco-credits-CV7sw9Em.js → use-deco-credits-Bm6Hzrca.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-VInARyiN.js → use-decopilot-events-CX_EuT5c.js} +1 -1
- package/dist/client/assets/{use-delete-connection-DDV7XY4a.js → use-delete-connection-CxGr7t4A.js} +1 -1
- package/dist/client/assets/{use-deployment-admin-h9tth1Ey.js → use-deployment-admin-C6-1CBki.js} +1 -1
- package/dist/client/assets/{use-file-configs-BEHJ-b8Q.js → use-file-configs-DASxzk9O.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-BI8YTyTt.js → use-infinite-scroll-XidGSyic.js} +1 -1
- package/dist/client/assets/{use-join-requests-V5rMqfIc.js → use-join-requests-CjypbTMc.js} +1 -1
- package/dist/client/assets/{use-mcp-auth-status-DINFEYgi.js → use-mcp-auth-status-BpAt0IbR.js} +1 -1
- package/dist/client/assets/{use-mcp-client-PcphUWIj.js → use-mcp-client-DseZ3Mea.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-CakNulXp.js → use-mcp-tools-DJGNLf9H.js} +1 -1
- package/dist/client/assets/{use-members-JooO5O_z.js → use-members-CncY3QG2.js} +1 -1
- package/dist/client/assets/{use-mobile-C57pT7o9.js → use-mobile-D8w2xyip.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-DVHUkqpb.js → use-navigate-to-agent-YScxPu5L.js} +1 -1
- package/dist/client/assets/{use-org-auth-client-C0qPMRhc.js → use-org-auth-client-DjREcL_I.js} +1 -1
- package/dist/client/assets/{use-org-sso-BaYh30WC.js → use-org-sso-diAgeADE.js} +1 -1
- package/dist/client/assets/{use-organization-roles-BG6jMK7e.js → use-organization-roles-BuFi-QNO.js} +1 -1
- package/dist/client/assets/{use-organization-settings-DBhnNnJm.js → use-organization-settings-bBY4klS6.js} +1 -1
- package/dist/client/assets/{use-registry-app-Dyfesgrg.js → use-registry-app-Cy7ipz7c.js} +1 -1
- package/dist/client/assets/{use-registry-connections-CTtHQqlB.js → use-registry-connections-BZ0Z0jCg.js} +1 -1
- package/dist/client/assets/{use-secrets-BYzFSfMf.js → use-secrets-q_kPvC5B.js} +1 -1
- package/dist/client/assets/{use-status-sounds-DJxvpKl9.js → use-status-sounds-DG0Zyz9B.js} +1 -1
- package/dist/client/assets/use-t-BjZG1zRp.js +1 -0
- package/dist/client/assets/{use-view-mode-C0yNdLzJ.js → use-view-mode-B02hzmMj.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-BtFe5DoR.js → use-virtual-mcp-urYy02xb.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-nK_JPgM8.js +1 -0
- package/dist/client/assets/{useRouterState-C6jzqArr.js → useRouterState-C7tRHRC7.js} +1 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-_ObcRUnC.js +1 -0
- package/dist/client/assets/{users-C0dY9LVq.js → users-CZVOiXsq.js} +1 -1
- package/dist/client/assets/{variant-calendar-FpbApEV2.js → variant-calendar-DibyF3zD.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-DwdmtuKb.js → view-mode-toggle-DziN7a9n.js} +1 -1
- package/dist/client/index.html +2 -2
- package/dist/server/cli.js +418 -418
- package/dist/server/server.js +288 -288
- package/package.json +1 -1
- package/dist/client/assets/calendar-C9b1I5Xh.js +0 -102
- package/dist/client/assets/index-DxTnZ0Oo.css +0 -1
- package/dist/client/assets/page-seo-sheet-BWnl0tVz.js +0 -1
- package/dist/client/assets/project-app-view-Bsaa-6LK.js +0 -1
- package/dist/client/assets/record-editor-Bjgurgfp.js +0 -1
- package/dist/client/assets/redirect-editor-DnT7ef0C.js +0 -1
- package/dist/client/assets/registry-DHjmo34d.js +0 -2
- package/dist/client/assets/store-registry-C50_5LUp.js +0 -2
- package/dist/client/assets/use-t-BeHordU2.js +0 -1
- package/dist/client/assets/useInfiniteQuery-mNPfD3Pk.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-DIVSilzv.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as B,r as F,a as I,m as R,d as V,j as t,K,B as T,t as $}from"./index-
|
|
1
|
+
import{c as B,r as F,a as I,m as R,d as V,j as t,K,B as T,t as $}from"./index-DmhdwAgP.js";import{P as b}from"./index-DBhNC4I_.js";import{C as q}from"./collection-table-wrapper-H4bzUKoO.js";import{E}from"./empty-state-BHuw6cM9.js";import{S as z}from"./search-input-B-RkAjzQ.js";import{A as D}from"./avatar-BVdHZbMN.js";import{B as U}from"./badge-C_9mnuBd.js";import{u as L}from"./use-debounced-value-CSp0_yRg.js";import{a as k}from"./admin-fetch-CCSvjTk1.js";import{f as M}from"./format-time-BnbuEtat.js";import{g as O}from"./get-initials-D-f_fDFw.js";import"./sidebar-DnKMI8jz.js";import"./LayoutLeft-BI-sXAac.js";import"./use-mobile-D8w2xyip.js";import"./X-Dif5I5BD.js";import"./tooltip-cvFTpZ9W.js";import"./table-DnoPpUup.js";import"./ArrowUp-DNZsq7Zt.js";import"./SearchMd-lwIiBODG.js";import"./User01-ByIE6k8L.js";import"./differenceInSeconds-NQ4PDo0z.js";function Ne(){const e=B.c(31),[r,P]=F.useState("");let c;e[0]!==r?(c=r.trim(),e[0]=r,e[1]=c):c=e[1];const s=L(c,300),{data:A}=I.useSession(),S=A?.user?.id;let a;e[2]!==s?(a=K.deploymentAdminUsers(s),e[2]=s,e[3]=a):a=e[3];let i;e[4]!==s?(i=()=>{const l=new URLSearchParams({limit:"100"});return s&&l.set("searchValue",s),k(`/api/_admin/users?${l}`)},e[4]=s,e[5]=i):i=e[5];let d;e[6]!==a||e[7]!==i?(d={queryKey:a,queryFn:i},e[6]=a,e[7]=i,e[8]=d):d=e[8];const{data:y,isLoading:v,isError:w}=R(d);let u;e[9]===Symbol.for("react.memo_cache_sentinel")?(u={mutationFn:H,onSuccess:G,onError:Y},e[9]=u):u=e[9];const f=V(u);let p;e[10]!==y?.users?(p=y?.users??[],e[10]=y?.users,e[11]=p):p=e[11];const C=p;let h,x,g;e[12]===Symbol.for("react.memo_cache_sentinel")?(h={id:"user",header:"User",render:W,cellClassName:"flex-1 min-w-0"},x={id:"verified",header:"Email",render:Q,cellClassName:"w-28 shrink-0"},g={id:"created",header:"Created",render:J,cellClassName:"w-48 shrink-0"},e[12]=h,e[13]=x,e[14]=g):(h=e[12],x=e[13],g=e[14]);let j;e[15]!==S||e[16]!==f?(j=[h,x,g,{id:"actions",header:"",render:l=>t.jsx(T,{variant:"outline",size:"sm",disabled:l.id===S||f.isPending,onClick:()=>f.mutate(l.id),children:"Impersonate"}),cellClassName:"w-32 shrink-0"}],e[15]=S,e[16]=f,e[17]=j):j=e[17];const _=j;let n;e[18]!==r?(n=t.jsx(z,{value:r,onChange:P,placeholder:"Search users by email or name...",className:"w-full md:w-[375px]"}),e[18]=r,e[19]=n):n=e[19];let o;e[20]!==s||e[21]!==w?(o=w?t.jsx(E,{title:"Failed to load users",description:"Something went wrong. Refresh to try again."}):t.jsx(E,{title:"No users found",description:s?`No users match "${s}"`:"No users yet."}),e[20]=s,e[21]=w,e[22]=o):o=e[22];let m;e[23]!==_||e[24]!==v||e[25]!==o||e[26]!==C?(m=t.jsx(q,{columns:_,data:C,isLoading:v,emptyState:o}),e[23]=_,e[24]=v,e[25]=o,e[26]=C,e[27]=m):m=e[27];let N;return e[28]!==n||e[29]!==m?(N=t.jsx(b,{children:t.jsx(b.Content,{children:t.jsx(b.Body,{children:t.jsxs("div",{className:"flex flex-col gap-6",children:[n,m]})})})}),e[28]=n,e[29]=m,e[30]=N):N=e[30],N}function J(e){return t.jsx("span",{className:"text-sm text-foreground",children:M(e.createdAt)})}function Q(e){return e.emailVerified?t.jsx(U,{variant:"outline",className:"text-success border-success/20",children:"Verified"}):t.jsx(U,{variant:"outline",className:"text-muted-foreground",children:"Unverified"})}function W(e){return t.jsxs("div",{className:"flex items-center gap-3",children:[t.jsx(D,{url:e.image??void 0,fallback:O(e.name),shape:"circle",size:"sm"}),t.jsxs("div",{className:"min-w-0",children:[t.jsx("div",{className:"text-sm font-medium text-foreground truncate",children:e.name||"Unknown"}),t.jsx("div",{className:"text-sm text-muted-foreground truncate",children:e.email})]})]})}function Y(e){$.error(e instanceof Error?e.message:"Failed to impersonate user")}function G(){window.location.href="/"}function H(e){return k("/api/_admin/impersonate",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({userId:e})})}export{Ne as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as V,r as U,j as o,l as J,B as Y}from"./index-C8rlFaFO.js";import{x as ct,W as et,f as mt}from"./agent-icon-BIj6WxKp.js";import{i as pt}from"./ChevronRight-BnIvJcIZ.js";import{L as dt}from"./label-BbLr7wPS.js";import{m as nt}from"./automation-runs-_XAGR1m2.js";import{S as ft}from"./switch-CyZjNvfZ.js";import{T as ut,b as ht,a as gt}from"./tooltip-DE_gqCm3.js";import{V as xt}from"./view-mode-toggle-DwdmtuKb.js";import"./AlertCircle-Cvc_10Uv.js";import"./Tool01-DBXzU6aR.js";import"./ArrowUp-Dq6JgHsq.js";import"./Settings02-CU2rilKq.js";import"./Tool02-rl8XhSPG.js";import"./XCircle-pZ6nD22L.js";import"./ArrowUpRight-DgI9ki5h.js";import"./TrendUp01-BmzCTIbp.js";import"./ZapSquare-DdKvM81Z.js";import"./ZoomOut-DAAhtu2Z.js";import"./Users03-3HXi1aia.js";import"./CheckCircle-B5oIKeSF.js";import"./ChevronUp-Ci-XiWb6.js";import"./ChevronDown-D_W2bIqv.js";import"./DotsVertical-Bcfqjiks.js";import"./Stars02-CdgckoDr.js";import"./Copy01-Q4xZmPKp.js";import"./Globe01-qjaQZUfN.js";import"./Eye-BuukW7MV.js";import"./FilterLines-Do4UgzmV.js";import"./Star01-D4LxiizA.js";import"./Globe04-CqIGMVDi.js";import"./SwitchHorizontal01-DNcPUv7P.js";import"./HardDrive-DrLvUMYg.js";import"./Image01-BWotytID.js";import"./Key01-BPZUhUcV.js";import"./LayoutLeft-COV7zlIC.js";import"./LinkExternal01-CyMOdGfe.js";import"./Monitor01-dLHbd0CB.js";import"./Sun-Ca3eslhz.js";import"./Package-B7Qii2Tl.js";import"./Palette-tVNOj7Ym.js";import"./Play-BE8nTtBp.js";import"./Plus-5VWQJEkS.js";import"./SearchLg-BiyFAMx0.js";import"./SearchMd-LbMkvaPD.js";import"./Shield01-7KT2UKvg.js";import"./Stars01-HAbkffzq.js";import"./Trash01-DxXosbkh.js";import"./Upload01-CXsTipbe.js";import"./User01-CZgThaZQ.js";import"./Users01-IdyAszrF.js";import"./XClose-BYq2BBpT.js";import"./X-CLG08ht8.js";import"./Zap-C6tkfs5m.js";import"./select-4-vdHbLT.js";import"./useInfiniteQuery-mNPfD3Pk.js";import"./use-infinite-scroll-BI8YTyTt.js";import"./use-connection-CcmTBTY-.js";import"./use-collections-u5tkBX1a.js";import"./use-mcp-client-PcphUWIj.js";import"./auth-Kymy4xkz.js";import"./use-virtual-mcp-BtFe5DoR.js";import"./card-CoG27DVs.js";import"./sidebar-AfeWMY1r.js";import"./use-mobile-C57pT7o9.js";import"./table-iG6kCmeS.js";import"./empty-state-kSEyPCAz.js";import"./use-members-JooO5O_z.js";import"./use-org-auth-client-C0qPMRhc.js";import"./use-clock-tick-Dw7sAB29.js";import"./use-automations-Btiu7Z09.js";import"./studio-tools-B3FHZXsQ.js";import"./useSuspenseInfiniteQuery-DIVSilzv.js";import"./avatar-1o2VQKTj.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-CveeH2p4.js";import"./file-type-icon-CeQVzqDu.js";import"./dialog-ChJw5xnr.js";import"./tab-id-BijBBRwE.js";import"./hooks-CJqrF4BQ.js";import"./decopilot-sse-pool-DEJZ4gJu.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./chat-context-glCfFIWX.js";import"./autosend-D-JHJKNK.js";import"./use-ai-providers-CGzSWtp7.js";import"./location-BpLtHjTZ.js";import"./use-decopilot-events-VInARyiN.js";import"./use-organization-settings-DBhnNnJm.js";import"./monaco-editor-CJKnQM68.js";import"./index-DyXd0E61.js";import"./index-CHWLrEqX.js";import"./calendar-C9b1I5Xh.js";import"./shell-layout-DvMdeukx.js";import"./use-t-BeHordU2.js";import"./required-auth-layout-CR5_YK6W.js";import"./use-org-sso-BaYh30WC.js";import"./integration-icon-BXEpLE2r.js";import"./use-navigate-to-agent-DVHUkqpb.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-D4PMIsMV.js";import"./form-BUM27CLj.js";import"./input-CWExGH7j.js";const bt=new Set(["website/matchers/date.ts","$live/matchers/MatchDate.ts"]),yt=new Set(["website/matchers/multi.ts","$live/matchers/MatchMulti.ts"]),Tt=new Date(-864e13),vt=new Date(864e13),jt=/\/flags\/multivariate(?:\/[^/]+)?\.ts$/,Nt=/\/flags\/multivariate\.ts$/;function wt(e){let t=e;t.startsWith("pages-")&&(t=t.slice(6).replace(/-\d+$/,""));try{t=decodeURIComponent(t)}catch{}return t}function kt(e){if(!e||typeof e!="object")return null;const{start:t,end: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=Nt.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,wt(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 w;t[11]===Symbol.for("react.memo_cache_sentinel")?(w=o.jsx(ct,{size:16}),t[11]=w):w=t[11];let k;t[12]!==b?(k=o.jsx(Y,{variant:"ghost",size:"icon",className:"size-8",onClick:b,"aria-label":"Previous",children:w}),t[12]=b,t[13]=k):k=t[13];let _;t[14]===Symbol.for("react.memo_cache_sentinel")?(_=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 N;t[31]!==r?(N=o.jsx(xt,{value:r,onValueChange:l,options:I}),t[31]=r,t[32]=N):N=t[32];let R;t[33]!==D||t[34]!==N?(R=o.jsxs("div",{className:"flex items-center gap-4",children:[D,N]}),t[33]=D,t[34]=N,t[35]=R):R=t[35];let $;t[36]!==j||t[37]!==R?($=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,w)=>{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()})},w)}),b.map((f,w)=>{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}-${w}`)})]},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 w;t[10]!==s?(w=(v,j)=>F(s,j),t[10]=s,t[11]=w):w=t[11];const k=Array.from({length:B},w),_=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((N,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:N.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(N.start.getTime(),s.getTime()),C=Math.min(N.end.getTime(),h.getTime());if(C<=$)return null;const O=f(new Date($)),S=f(new Date(C))-O;return o.jsx(lt,{variant:N,color:L,fadeStart:N.openStart,fadeEnd:N.openEnd,style:{top:"50%",transform:"translateY(-50%)",left:`${O}%`,width:`calc(${S}% - 2px)`,height:22},children:N.label})})()]})]},R))]},j)}),t[0]=l,t[1]=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-DmhdwAgP.js";import{x as ct,W as et,f as mt}from"./agent-icon-DicjSkHu.js";import{i as pt}from"./ChevronRight-YmTewr_B.js";import{L as dt}from"./label-CB2o7dZ2.js";import{m as nt}from"./automation-runs-D8v8nlly.js";import{S as ft}from"./switch-DS9vYGS-.js";import{T as ut,b as ht,a as gt}from"./tooltip-cvFTpZ9W.js";import{V as xt}from"./view-mode-toggle-DziN7a9n.js";import"./AlertCircle-B9GlbKHh.js";import"./Tool01-BR3IBeV9.js";import"./ArrowUp-DNZsq7Zt.js";import"./Settings02-DMpqOK24.js";import"./Tool02-B0-a0UMl.js";import"./XCircle-C0OdV3N_.js";import"./ArrowUpRight-DZZygrAi.js";import"./TrendUp01-CeRF_789.js";import"./ZapSquare-EvC2T9CP.js";import"./ZoomOut-BprgOfkE.js";import"./Users03-Bx4g7VTC.js";import"./CheckCircle-BEcdXH7-.js";import"./ChevronUp-D5F6V6Tm.js";import"./ChevronDown-BSRiDjXd.js";import"./DotsVertical-BmTi7wpl.js";import"./Stars02-B08FvcHQ.js";import"./Copy01-BkGYkmm-.js";import"./Globe01-D3vBqhI7.js";import"./Eye-B-ZfWIGj.js";import"./FilterLines-BwWG7tAk.js";import"./Star01-DoUbKevt.js";import"./Globe04-pvxBukgJ.js";import"./SwitchHorizontal01-Rgis0XWf.js";import"./HardDrive-DutZPQFL.js";import"./Image01-PIeYnf-K.js";import"./Key01-DhLD806C.js";import"./LayoutLeft-BI-sXAac.js";import"./LinkExternal01-DO3QnLus.js";import"./Monitor01-BOILvS2u.js";import"./Sun-nDXz4jeM.js";import"./Package-DbEcG94t.js";import"./Palette-CyZvWKmI.js";import"./Play-B8fWmOst.js";import"./Plus-2c1jULco.js";import"./SearchLg-XmvudKlH.js";import"./SearchMd-lwIiBODG.js";import"./Shield01-gTFc9c17.js";import"./Stars01-CJsm_THn.js";import"./Trash01-Ba6bCbNY.js";import"./Upload01-B14IruoN.js";import"./User01-ByIE6k8L.js";import"./Users01-BdldAr7H.js";import"./XClose-DomD4542.js";import"./X-Dif5I5BD.js";import"./Zap-CEUVQQOc.js";import"./select-AzuoAc3H.js";import"./useInfiniteQuery-nK_JPgM8.js";import"./use-infinite-scroll-XidGSyic.js";import"./use-connection-DM1ROgj3.js";import"./use-collections-DaXoNaLL.js";import"./use-mcp-client-DseZ3Mea.js";import"./auth-CsHQFHV_.js";import"./use-virtual-mcp-urYy02xb.js";import"./card-C3gg1LtP.js";import"./sidebar-DnKMI8jz.js";import"./use-mobile-D8w2xyip.js";import"./table-DnoPpUup.js";import"./empty-state-BHuw6cM9.js";import"./use-members-CncY3QG2.js";import"./use-org-auth-client-DjREcL_I.js";import"./use-clock-tick-BzcS25hV.js";import"./use-automations-COcieFX-.js";import"./studio-tools-DIWsVaKg.js";import"./useSuspenseInfiniteQuery-_ObcRUnC.js";import"./avatar-BVdHZbMN.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-DC217syR.js";import"./file-type-icon-BOCZKON3.js";import"./dialog-DUqhzGiD.js";import"./tab-id-BijBBRwE.js";import"./hooks-DU-2h9eZ.js";import"./decopilot-sse-pool-CEQrv8Fn.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./chat-context-DSveBxCg.js";import"./autosend-BgYoPuWD.js";import"./use-ai-providers-ZLuBEaKb.js";import"./location-BpLtHjTZ.js";import"./use-decopilot-events-CX_EuT5c.js";import"./use-organization-settings-bBY4klS6.js";import"./monaco-editor-DfuNvLfy.js";import"./index-DnrPO2j2.js";import"./index-f6gbzJ8b.js";import"./calendar-Bxkf6gvE.js";import"./use-t-BjZG1zRp.js";import"./shell-layout-6KUu0MA6.js";import"./required-auth-layout-ABsqitxw.js";import"./use-org-sso-diAgeADE.js";import"./integration-icon-CWb3OXTV.js";import"./use-navigate-to-agent-YScxPu5L.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-DHN9bK0l.js";import"./form-C9InGmo4.js";import"./input-TkvVVsQL.js";const bt=new Set(["website/matchers/date.ts","$live/matchers/MatchDate.ts"]),yt=new Set(["website/matchers/multi.ts","$live/matchers/MatchMulti.ts"]),Tt=new Date(-864e13),vt=new Date(864e13),jt=/\/flags\/multivariate(?:\/[^/]+)?\.ts$/,Nt=/\/flags\/multivariate\.ts$/;function wt(e){let t=e;t.startsWith("pages-")&&(t=t.slice(6).replace(/-\d+$/,""));try{t=decodeURIComponent(t)}catch{}return t}function kt(e){if(!e||typeof e!="object")return null;const{start:t,end: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=Nt.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,wt(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 w;t[11]===Symbol.for("react.memo_cache_sentinel")?(w=o.jsx(ct,{size:16}),t[11]=w):w=t[11];let k;t[12]!==b?(k=o.jsx(Y,{variant:"ghost",size:"icon",className:"size-8",onClick:b,"aria-label":"Previous",children:w}),t[12]=b,t[13]=k):k=t[13];let _;t[14]===Symbol.for("react.memo_cache_sentinel")?(_=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 N;t[31]!==r?(N=o.jsx(xt,{value:r,onValueChange:l,options:I}),t[31]=r,t[32]=N):N=t[32];let R;t[33]!==D||t[34]!==N?(R=o.jsxs("div",{className:"flex items-center gap-4",children:[D,N]}),t[33]=D,t[34]=N,t[35]=R):R=t[35];let $;t[36]!==j||t[37]!==R?($=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,w)=>{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()})},w)}),b.map((f,w)=>{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}-${w}`)})]},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 w;t[10]!==s?(w=(v,j)=>F(s,j),t[10]=s,t[11]=w):w=t[11];const k=Array.from({length:B},w),_=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((N,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:N.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(N.start.getTime(),s.getTime()),C=Math.min(N.end.getTime(),h.getTime());if(C<=$)return null;const O=f(new Date($)),S=f(new Date(C))-O;return o.jsx(lt,{variant:N,color:L,fadeStart:N.openStart,fadeEnd:N.openEnd,style:{top:"50%",transform:"translateY(-50%)",left:`${O}%`,width:`calc(${S}% - 2px)`,height:22},children:N.label})})()]})]},R))]},j)}),t[0]=l,t[1]=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-DmhdwAgP.js";import{b as k,T as I,a as P}from"./tooltip-cvFTpZ9W.js";const M={sm:{button:"size-7",buttonWithLabel:"h-7",icon:"size-4"},md:{button:"size-9",buttonWithLabel:"h-9",icon:"size-5"},lg:{button:"size-12",buttonWithLabel:"h-12",icon:"size-6"}};function B(E){const t=$.c(27),{value:s,onValueChange:y,options:o,size:C,fullWidth:L,className:z}=E,_=C===void 0?"sm":C,b=L===void 0?!1:L;let h;t[0]===Symbol.for("react.memo_cache_sentinel")?(h=[],t[0]=h):h=t[0];const R=T.useRef(h);let x;t[1]===Symbol.for("react.memo_cache_sentinel")?(x={left:0,width:0,opacity:0},t[1]=x):x=t[1];const[d,S]=T.useState(x);let g,p;t[2]!==o||t[3]!==s?(g=()=>{const e=o.findIndex(j=>j.value===s),m=R.current[e];m&&S({left:m.offsetLeft,width:m.offsetWidth,opacity:1})},p=[s,o],t[2]=o,t[3]=s,t[4]=g,t[5]=p):(g=t[4],p=t[5]),T.useEffect(g,p);const n=M[_];let l;t[6]!==z?(l=f("relative flex gap-0 bg-muted rounded-lg",z),t[6]=z,t[7]=l):l=t[7];let a;t[8]!==n||t[9]!==b||t[10]!==y||t[11]!==o||t[12]!==s?(a=o.map((e,m)=>{const j=i.jsxs("button",{ref:V=>{R.current[m]=V},type:"button",onClick:()=>y(e.value),className:f("relative z-10 flex items-center justify-center gap-2 rounded-lg transition-colors [transition-timing-function:var(--ease-out-cubic)] duration-200",b?"flex-1 h-12 px-4":e.label?f(n.buttonWithLabel,"px-3"):n.button),children:[i.jsx("span",{className:f("transition-colors ease-out duration-200 flex items-center justify-center [&>svg]:size-[1em]",n.icon,s===e.value?"text-foreground":"text-muted-foreground"),children:e.icon}),e.label&&i.jsx("span",{className:f("text-xs transition-colors ease-out duration-200 whitespace-nowrap",s===e.value?"text-foreground":"text-muted-foreground"),children:e.label})]},e.value);return e.tooltip?i.jsxs(k,{children:[i.jsx(I,{asChild:!0,children:j}),i.jsx(P,{side:"bottom",children:e.tooltip})]},e.value):j}),t[8]=n,t[9]=b,t[10]=y,t[11]=o,t[12]=s,t[13]=a):a=t[13];const w=b?"h-12":n.button;let r;t[14]!==w?(r=f("absolute z-0 bg-background rounded-lg border-shadow transition-all [transition-timing-function:var(--ease-out-cubic)] duration-200",w),t[14]=w,t[15]=r):r=t[15];const W=`${d.left}px`,N=`${d.width}px`;let c;t[16]!==d.opacity||t[17]!==W||t[18]!==N?(c={left:W,width:N,opacity:d.opacity},t[16]=d.opacity,t[17]=W,t[18]=N,t[19]=c):c=t[19];let u;t[20]!==r||t[21]!==c?(u=i.jsx("div",{className:r,style:c}),t[20]=r,t[21]=c,t[22]=u):u=t[22];let v;return t[23]!==u||t[24]!==l||t[25]!==a?(v=i.jsxs("div",{className:l,children:[a,u]}),t[23]=u,t[24]=l,t[25]=a,t[26]=v):v=t[26],v}export{B as V};
|
package/dist/client/index.html
CHANGED
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
57
57
|
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
|
|
58
58
|
<meta name="apple-mobile-web-app-title" content="deco Studio" />
|
|
59
|
-
<script type="module" crossorigin src="/assets/index-
|
|
60
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
59
|
+
<script type="module" crossorigin src="/assets/index-DmhdwAgP.js"></script>
|
|
60
|
+
<link rel="stylesheet" crossorigin href="/assets/index-oE__K1ye.css">
|
|
61
61
|
</head>
|
|
62
62
|
<body>
|
|
63
63
|
<div id="root"></div>
|