decocms 4.83.7 → 4.83.8
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-DGs_m1K2.js → AlertCircle-D1bKy2S7.js} +1 -1
- package/dist/client/assets/{AreaChart-1y78xoUf.js → AreaChart-C_NcJizC.js} +1 -1
- package/dist/client/assets/{ArrowUp-DjQsXAQ7.js → ArrowUp-Cc7nmwZR.js} +1 -1
- package/dist/client/assets/{ArrowUpRight-BdL-z5-s.js → ArrowUpRight-kD1crTCL.js} +1 -1
- package/dist/client/assets/{CheckCircle-BIKzR5Yf.js → CheckCircle-BwSRlYzu.js} +1 -1
- package/dist/client/assets/{ChevronDown-C9X1xcMe.js → ChevronDown-Cgucuz_g.js} +1 -1
- package/dist/client/assets/{ChevronRight-Bodo5-vk.js → ChevronRight-CpX16f-S.js} +1 -1
- package/dist/client/assets/{ChevronUp-CkaNbdil.js → ChevronUp-GfeloKit.js} +1 -1
- package/dist/client/assets/{Copy01-CZ6qiLK9.js → Copy01-5uxmItmh.js} +1 -1
- package/dist/client/assets/{DotsVertical-Do5fpqKQ.js → DotsVertical-C212bOoG.js} +1 -1
- package/dist/client/assets/{Eye-nygRXhQ1.js → Eye-DqzmD1kb.js} +1 -1
- package/dist/client/assets/{FilterLines-DRskqdWD.js → FilterLines-Bo4t5M26.js} +1 -1
- package/dist/client/assets/{Globe01-CcPGuCZ4.js → Globe01-CG2tCUFh.js} +1 -1
- package/dist/client/assets/{Globe04-B0LXCn02.js → Globe04-DyQm-JaM.js} +1 -1
- package/dist/client/assets/{HardDrive-aR1wljAm.js → HardDrive-CCTtqP8p.js} +1 -1
- package/dist/client/assets/{Image01-B--Bs-bt.js → Image01-BH0jS70O.js} +1 -1
- package/dist/client/assets/{Key01-C2Ckz_6N.js → Key01-2slfiBye.js} +1 -1
- package/dist/client/assets/{LayoutLeft-DFIfDwqE.js → LayoutLeft-Te-fp_8S.js} +1 -1
- package/dist/client/assets/{LinkExternal01-SxfQzwZJ.js → LinkExternal01-IXwjBiyj.js} +1 -1
- package/dist/client/assets/{Monitor01-Bj2XeCnP.js → Monitor01-BIrySHW4.js} +1 -1
- package/dist/client/assets/{Package-BQU7He6T.js → Package-q8jsblba.js} +1 -1
- package/dist/client/assets/{Palette-B71IMrET.js → Palette-B4N2Lh4I.js} +1 -1
- package/dist/client/assets/{Play-CIc-xA8a.js → Play-BsWqYJrA.js} +1 -1
- package/dist/client/assets/{Plus-Db4TDtEu.js → Plus-CaXcYr2A.js} +1 -1
- package/dist/client/assets/{SearchLg-KcDkRy4I.js → SearchLg-BQraE8Xe.js} +1 -1
- package/dist/client/assets/{SearchMd-D2biJlbF.js → SearchMd-D4P-dsiI.js} +1 -1
- package/dist/client/assets/{Settings02-S757c_rq.js → Settings02-CbZwTwjv.js} +1 -1
- package/dist/client/assets/{Shield01-CR2r0NNN.js → Shield01-5UU6xKtM.js} +1 -1
- package/dist/client/assets/{Star01-CRqwHG5N.js → Star01-BP2UWuD3.js} +1 -1
- package/dist/client/assets/{Stars01-o1cuT-eD.js → Stars01-BUDdEic_.js} +1 -1
- package/dist/client/assets/{Stars02-34GMILxl.js → Stars02-C2BfJbMs.js} +1 -1
- package/dist/client/assets/{Sun-BHbtD7Pt.js → Sun-DhXO7UYs.js} +1 -1
- package/dist/client/assets/{SwitchHorizontal01-CtDzpZs7.js → SwitchHorizontal01-Cykddf1V.js} +1 -1
- package/dist/client/assets/{Tool01-BAajbGsq.js → Tool01-DvZKR3xT.js} +1 -1
- package/dist/client/assets/{Tool02-Bl4e-myb.js → Tool02-C5s2vHQ-.js} +1 -1
- package/dist/client/assets/{Trash01-DYz35By1.js → Trash01-CjXnKfLl.js} +1 -1
- package/dist/client/assets/{TrendUp01-DGEDXi_c.js → TrendUp01-CaupVoX_.js} +1 -1
- package/dist/client/assets/{Upload01-KcxX8X4b.js → Upload01-XX86V2tf.js} +1 -1
- package/dist/client/assets/{User01-k8MwYbqc.js → User01-Dv6ObnLt.js} +1 -1
- package/dist/client/assets/{Users01-yCPS_mW1.js → Users01-CbNJtpnC.js} +1 -1
- package/dist/client/assets/{Users03-CGiA6P4X.js → Users03-BnGYfZVJ.js} +1 -1
- package/dist/client/assets/{X-BUcPJvBZ.js → X-2EPOmOgB.js} +1 -1
- package/dist/client/assets/{XCircle-CcK_mftu.js → XCircle-Cw6Je6uu.js} +1 -1
- package/dist/client/assets/{XClose-Z9vjignP.js → XClose-BToLKBfU.js} +1 -1
- package/dist/client/assets/{Zap-DL5WT3wo.js → Zap-RgPPnqY6.js} +1 -1
- package/dist/client/assets/{ZapSquare-DurslwxJ.js → ZapSquare-B05wsQrT.js} +1 -1
- package/dist/client/assets/{ZoomOut-Q9rbOGY4.js → ZoomOut-D28iYwMh.js} +1 -1
- package/dist/client/assets/{access-gate-aYhqceaP.js → access-gate-C2qU6IVQ.js} +1 -1
- package/dist/client/assets/{add-section-modal-CQW37OP4.js → add-section-modal-CTvnBMIp.js} +1 -1
- package/dist/client/assets/{agent-icon-D6bFYExd.js → agent-icon-aZ0ttVTI.js} +1 -1
- package/dist/client/assets/{agents-list-C-zv5JPv.js → agents-list-Dqc4RZ8Z.js} +1 -1
- package/dist/client/assets/{ai-providers-cjMh64Aj.js → ai-providers-fhgGlgYt.js} +1 -1
- package/dist/client/assets/{alert-C0cBklAP.js → alert-DNm9ImK8.js} +1 -1
- package/dist/client/assets/{alert-dialog-DviIbvsV.js → alert-dialog-_aQlViTO.js} +1 -1
- package/dist/client/assets/{app-editor-D3xjoJZ8.js → app-editor-Cwi9z9F4.js} +1 -1
- package/dist/client/assets/{auth-DdSrBYV1.js → auth-DuSPHHT9.js} +1 -1
- package/dist/client/assets/{auth-catchall-BkV_VkBQ.js → auth-catchall-BN1qG37x.js} +1 -1
- package/dist/client/assets/{auth-entry-hedAvLJa.js → auth-entry-DfhwoI5q.js} +1 -1
- package/dist/client/assets/{auth-split-layout-BaNIBM7U.js → auth-split-layout-Dy6JC7Fa.js} +1 -1
- package/dist/client/assets/{authenticate-and-persist-oauth-D8GehYXk.js → authenticate-and-persist-oauth-DMiwiAXs.js} +1 -1
- package/dist/client/assets/{automation-list-row-Cp53VKrB.js → automation-list-row-C7bq_ceX.js} +1 -1
- package/dist/client/assets/{automation-runs-By_XCtIA.js → automation-runs-pBvdymFZ.js} +1 -1
- package/dist/client/assets/{automations-BPfx1VBE.js → automations-Dt3HLWPT.js} +1 -1
- package/dist/client/assets/{autosend-B-IUS5Oi.js → autosend-CzDnxYJb.js} +1 -1
- package/dist/client/assets/{avatar-Ddt9mofI.js → avatar-0OBNOMUZ.js} +1 -1
- package/dist/client/assets/{badge-CeuUZWg3.js → badge-Soyz5pn1.js} +1 -1
- package/dist/client/assets/{block-document-CoxkZcfR.js → block-document-CZlJEnSb.js} +1 -1
- package/dist/client/assets/{brand-context-DJBlSAcn.js → brand-context-CjaGEXDm.js} +1 -1
- package/dist/client/assets/{buckets-C24Z-lQ-.js → buckets-CdO9H5yi.js} +1 -1
- package/dist/client/assets/{bulk-category-panel-DLb1FghJ.js → bulk-category-panel-CwO2rUyD.js} +1 -1
- package/dist/client/assets/{calendar-C9rxFDcn.js → calendar-DX9K-vzu.js} +1 -1
- package/dist/client/assets/{capability-load-error-BQc5UI4C.js → capability-load-error-D3oFP-fy.js} +1 -1
- package/dist/client/assets/{card-BpXucvvq.js → card-btDFv8vd.js} +1 -1
- package/dist/client/assets/{category-editor-S-V7IVw4.js → category-editor-Cz3alA36.js} +1 -1
- package/dist/client/assets/{chat-context-7Vz0eeRT.js → chat-context-BD1LcxTJ.js} +1 -1
- package/dist/client/assets/{checkbox-DYZIopR0.js → checkbox-BKPu0Hbd.js} +1 -1
- package/dist/client/assets/{cli-auth-success-MwcX8xCq.js → cli-auth-success-D4RuWBVk.js} +1 -1
- package/dist/client/assets/{collection-detail-DBAMlZF0.js → collection-detail-EHU2DLLS.js} +1 -1
- package/dist/client/assets/{collection-display-button-BEWKMgZd.js → collection-display-button-Bs8vuk9W.js} +1 -1
- package/dist/client/assets/{collection-search-B0m4dMsA.js → collection-search-p4lrVXL4.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-5l1uioI6.js → collection-table-wrapper-DJJ2HlQC.js} +1 -1
- package/dist/client/assets/{collection-tabs-gyZe9q6r.js → collection-tabs-CkltesYs.js} +1 -1
- package/dist/client/assets/{command-ntaClDyK.js → command-DNWolGKQ.js} +1 -1
- package/dist/client/assets/{commerce-onboarding-DdGK6x8i.js → commerce-onboarding-KgEmZrgV.js} +1 -1
- package/dist/client/assets/{companions-core-x1qhcXNY.js → companions-core-CJJcnK7t.js} +1 -1
- package/dist/client/assets/{connect-desktop-dialog-DWpTruEh.js → connect-desktop-dialog-CX6teMLo.js} +1 -1
- package/dist/client/assets/{connection-card-B8R3Y3rV.js → connection-card-B1Vo1G9p.js} +1 -1
- package/dist/client/assets/{connection-detail-BJRXt1QR.js → connection-detail-yDFXUklt.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-CY1WdZI5.js → connection-form-helpers-mkg9UagP.js} +1 -1
- package/dist/client/assets/{connections-Ztd1v2wf.js → connections-CqThGYBQ.js} +1 -1
- package/dist/client/assets/{decopilot-sse-pool-lypgbHTv.js → decopilot-sse-pool-DLEHEP4h.js} +1 -1
- package/dist/client/assets/{dialog-NIa8K-0v.js → dialog-BTEMEut8.js} +1 -1
- package/dist/client/assets/{domain-settings-BnDR53gi.js → domain-settings-CvfHRmwm.js} +1 -1
- package/dist/client/assets/{drawer-CZoC5WNf.js → drawer-B3qgH5S8.js} +1 -1
- package/dist/client/assets/{dropdown-menu-CcAN77KU.js → dropdown-menu-D6I60eM1.js} +1 -1
- package/dist/client/assets/{empty-state-BftdJRVE.js → empty-state-CIzKhbZ-.js} +1 -1
- package/dist/client/assets/{extract-connection-data-D3Bt4n8c.js → extract-connection-data-nZ_Xsysx.js} +1 -1
- package/dist/client/assets/{file-explorer-DTjYrsSh.js → file-explorer-D1I3-mOX.js} +1 -1
- package/dist/client/assets/{file-type-icon-wtlaPX75.js → file-type-icon-5z9EMjnv.js} +1 -1
- package/dist/client/assets/{files-D9jIlTXL.js → files-DhsG6Zza.js} +1 -1
- package/dist/client/assets/{form-suqmNCtN.js → form-D92rhaf-.js} +1 -1
- package/dist/client/assets/{general-B0e-2EkM.js → general-rAmjhRRh.js} +1 -1
- package/dist/client/assets/{github-repo-picker-PkGj5sqJ.js → github-repo-picker-lNnkzc73.js} +1 -1
- package/dist/client/assets/{hooks-CXULjrPq.js → hooks-jQmls4EP.js} +1 -1
- package/dist/client/assets/{index-BKlJ04ZN.js → index--x7uJGgo.js} +1 -1
- package/dist/client/assets/{index-D5jTurzu.js → index-BkLBznCc.js} +1 -1
- package/dist/client/assets/{index-CyMdzKcz.js → index-C74yvGnz.js} +1 -1
- package/dist/client/assets/{index-DEh6TH97.js → index-CB6j2P5o.js} +1 -1
- package/dist/client/assets/{index-ActiKZwA.js → index-CSay5-iH.js} +5 -5
- package/dist/client/assets/{index-DXF97Bcs.js → index-D3ilR3fB.js} +2 -2
- package/dist/client/assets/{index-jJz5HcCV.js → index-D8_v966N.js} +1 -1
- package/dist/client/assets/{index-BKWieQjR.js → index-DA2ZFpRE.js} +1 -1
- package/dist/client/assets/{index-fc2Mgv46.js → index-DP7q2sf-.js} +3 -3
- package/dist/client/assets/{index-DM3m-2H_.js → index-DSznidAj.js} +1 -1
- package/dist/client/assets/{index-gyKONVpM.js → index-ja_VrDWS.js} +1 -1
- package/dist/client/assets/{index-DiXvQrcR.js → index-kzi2Dhg5.js} +1 -1
- package/dist/client/assets/{index-redirect-DTRNzZWN.js → index-redirect-aCz_Cayi.js} +1 -1
- package/dist/client/assets/{index-BvNWfyKT.js → index-tx5gRe0k.js} +1 -1
- package/dist/client/assets/{index-6UJH06Od.js → index-zmU4_7eG.js} +1 -1
- package/dist/client/assets/{input-CGsbLb67.js → input-Bl-0izCS.js} +1 -1
- package/dist/client/assets/{integration-icon-DAz5v2HZ.js → integration-icon-_NNS3fdQ.js} +1 -1
- package/dist/client/assets/{invite-member-dialog-CjElo7CE.js → invite-member-dialog-C1h7TCyn.js} +1 -1
- package/dist/client/assets/{label-CbkfSF8H.js → label-r_5xsko-.js} +1 -1
- package/dist/client/assets/{layout-DL-Ryrya.js → layout-CHQkueXk.js} +1 -1
- package/dist/client/assets/{login-DFeqvPv-.js → login-WylRZMZD.js} +1 -1
- package/dist/client/assets/{mcp-oauth-BCtN2G3Y.js → mcp-oauth-CC-HSrt3.js} +1 -1
- package/dist/client/assets/{members-B_qZyxj9.js → members-D4O0HE-B.js} +1 -1
- package/dist/client/assets/{monaco-editor-ZZ2nyTLy.js → monaco-editor-B77vOluw.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-Bq5Vtjur.js → monitoring-stats-row-CA0DyVuv.js} +1 -1
- package/dist/client/assets/{multi-select-B2KpCoHM.js → multi-select-BOFumCOd.js} +1 -1
- package/dist/client/assets/{oauth-callback-D6M9S4t5.js → oauth-callback-BzzncyJD.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-BNegnSWy.js → oauth-callback-ai-provider-DIelYVRP.js} +1 -1
- package/dist/client/assets/{onboarding-f6TRT41c.js → onboarding-DMl9vd9C.js} +1 -1
- package/dist/client/assets/{org-install-QfgAap_o.js → org-install-Cn_IGlna.js} +1 -1
- package/dist/client/assets/{org-layout-v9Eip3ry.js → org-layout-CRMldrmA.js} +1 -1
- package/dist/client/assets/{organization-choice-CIT7gF-K.js → organization-choice-CwsRF74K.js} +1 -1
- package/dist/client/assets/{orgs-D43rLqDo.js → orgs-ClTfouo9.js} +1 -1
- package/dist/client/assets/{page-seo-form-DRmZPuzu.js → page-seo-form-C7dxTzQ9.js} +1 -1
- package/dist/client/assets/page-seo-sheet-CIH9UvM_.js +1 -0
- package/dist/client/assets/{popover-BAL5MF8B.js → popover-DKp6WlS2.js} +1 -1
- package/dist/client/assets/{post-editor-B7tDT17T.js → post-editor-D0U5-rmZ.js} +1 -1
- package/dist/client/assets/{primitives-D6XkSWwv.js → primitives-BvsooIoQ.js} +1 -1
- package/dist/client/assets/{profile-CzNruqpx.js → profile-DObC2DvA.js} +1 -1
- package/dist/client/assets/project-app-view-CQOfr-EK.js +1 -0
- package/dist/client/assets/record-editor-LUdXHOc2.js +1 -0
- package/dist/client/assets/redirect-editor-Df4kkuAe.js +1 -0
- package/dist/client/assets/registry-CkIL_JLS.js +2 -0
- package/dist/client/assets/{registry-layout-Cf0aScQn.js → registry-layout-BRaj4EiT.js} +2 -2
- package/dist/client/assets/{reports-C_VHXDUI.js → reports-Bl5sOoJK.js} +1 -1
- package/dist/client/assets/{require-capability-BCbVLeu9.js → require-capability-FRJ4xa5j.js} +1 -1
- package/dist/client/assets/{required-auth-layout-BynURjVT.js → required-auth-layout-BHDvLgvF.js} +1 -1
- package/dist/client/assets/{reset-password-BL9KBGTl.js → reset-password-CDKuxxZp.js} +1 -1
- package/dist/client/assets/{roles-CCFQ8b3P.js → roles-DHTMAbjq.js} +1 -1
- package/dist/client/assets/{search-input-92CBSJB6.js → search-input-f3nZqtaH.js} +1 -1
- package/dist/client/assets/{secrets-Bph52iC0.js → secrets-DMF6d6gg.js} +1 -1
- package/dist/client/assets/{sections-editor-BqyheNLT.js → sections-editor-DKyPXoLi.js} +1 -1
- package/dist/client/assets/{select-DzJ7QJPl.js → select-CA_iWPfT.js} +1 -1
- package/dist/client/assets/{select-model-CsJgdHAW.js → select-model-Bi5B-oXJ.js} +1 -1
- package/dist/client/assets/{self-tool-result-DUtwqXxN.js → self-tool-result-DDgS8phO.js} +1 -1
- package/dist/client/assets/{seo-editor-Cs6efmln.js → seo-editor-Aor-MGn0.js} +1 -1
- package/dist/client/assets/{settings-layout-OsgU_EIh.js → settings-layout-Drt37pLB.js} +1 -1
- package/dist/client/assets/{settings-section-B7I1BIg5.js → settings-section-Dj5WmVSj.js} +1 -1
- package/dist/client/assets/{shell-controls-CEKTgYKj.js → shell-controls-Bep9d3Cn.js} +1 -1
- package/dist/client/assets/{shell-layout-C83wLq6T.js → shell-layout-Di2sZvyw.js} +1 -1
- package/dist/client/assets/{sidebar-0o-8tc1G.js → sidebar-eIXjd9Yw.js} +1 -1
- package/dist/client/assets/{skeleton-CBBngt6o.js → skeleton-BWYrLQQT.js} +1 -1
- package/dist/client/assets/{sso-DqHqgCZ5.js → sso-COrgXmO0.js} +1 -1
- package/dist/client/assets/{store-AuZTr9EX.js → store-CRj3twJY.js} +1 -1
- package/dist/client/assets/store-registry-BXgv6s1-.js +2 -0
- package/dist/client/assets/{studio-tools-D59f1llU.js → studio-tools-zNP7cFLT.js} +1 -1
- package/dist/client/assets/{switch-C37860F-.js → switch-4_oZw7lF.js} +1 -1
- package/dist/client/assets/{table-pmRrWbpg.js → table-DkLz1K8N.js} +1 -1
- package/dist/client/assets/{tabs-ChoE1nkM.js → tabs-hRCf5QB1.js} +1 -1
- package/dist/client/assets/{textarea-vgN-7H3G.js → textarea-DnZMoeow.js} +1 -1
- package/dist/client/assets/{toggle-group-CQ3N0lMt.js → toggle-group-BRG3DviV.js} +1 -1
- package/dist/client/assets/{toolbar-DfbYWhSe.js → toolbar-Z6lpCKht.js} +1 -1
- package/dist/client/assets/{toolbar-icon-button-qXHHQv1r.js → toolbar-icon-button-CFIHOtWM.js} +1 -1
- package/dist/client/assets/{tooltip-BEcKi49p.js → tooltip-wMxYpE3E.js} +1 -1
- package/dist/client/assets/{use-ai-providers-BGT3cEfa.js → use-ai-providers-f7vD-by7.js} +1 -1
- package/dist/client/assets/{use-automations-I9Z-BYTa.js → use-automations-5uMYusfJ.js} +1 -1
- package/dist/client/assets/{use-autosave-D-UobmuF.js → use-autosave-bLWKJq_x.js} +1 -1
- package/dist/client/assets/{use-capability-Dc2acsy1.js → use-capability-BL8GknWI.js} +1 -1
- package/dist/client/assets/{use-clock-tick-Bjb9tqI6.js → use-clock-tick-BVnAAq3x.js} +1 -1
- package/dist/client/assets/{use-collections-DJFCtruj.js → use-collections-CsnsxjZz.js} +1 -1
- package/dist/client/assets/{use-connection-DMmpadQh.js → use-connection-DCYnbXZ5.js} +1 -1
- package/dist/client/assets/{use-copy-y771hf3-.js → use-copy-DEMoxj7m.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-C5Pt_BXn.js → use-create-virtual-mcp-AmrhrB-J.js} +1 -1
- package/dist/client/assets/{use-debounced-autosave-BiEfj5xg.js → use-debounced-autosave-CjRKpnT1.js} +1 -1
- package/dist/client/assets/{use-debounced-value-BQjTje93.js → use-debounced-value-DkIFgDw4.js} +1 -1
- package/dist/client/assets/{use-deco-credits-D83Pg4Gl.js → use-deco-credits-dHjN8M_Y.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-DOpN7KuS.js → use-decopilot-events-CceHvPOW.js} +1 -1
- package/dist/client/assets/{use-delete-connection--8fW_4Cf.js → use-delete-connection-C3DZBU2c.js} +1 -1
- package/dist/client/assets/{use-deployment-admin-BDU2W6ow.js → use-deployment-admin-BD-dGZP5.js} +1 -1
- package/dist/client/assets/{use-file-configs-Cw0076eR.js → use-file-configs-C5UYjMYo.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-BgYip7tJ.js → use-infinite-scroll-hq7jzeCt.js} +1 -1
- package/dist/client/assets/{use-join-requests-Du1-dx2e.js → use-join-requests-BpOefh6v.js} +1 -1
- package/dist/client/assets/{use-mcp-auth-status-BAZrA19h.js → use-mcp-auth-status-CSx5OOcY.js} +1 -1
- package/dist/client/assets/{use-mcp-client-Dy9cozyi.js → use-mcp-client-CP7vVNI8.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-DKYgvRr_.js → use-mcp-tools-BOL45SnA.js} +1 -1
- package/dist/client/assets/{use-members-CdMTsdyt.js → use-members-CXFKNsqF.js} +1 -1
- package/dist/client/assets/{use-mobile-yXxIhEef.js → use-mobile-UfyzXMuE.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-Bt-pHjqk.js → use-navigate-to-agent-CxF1WPIb.js} +1 -1
- package/dist/client/assets/{use-org-auth-client-CBzof9EW.js → use-org-auth-client-CX6wMigR.js} +1 -1
- package/dist/client/assets/{use-org-sso-D_YmdziQ.js → use-org-sso-B4vK5HKn.js} +1 -1
- package/dist/client/assets/{use-organization-roles-C0jMDVT9.js → use-organization-roles-mbBqmzsZ.js} +1 -1
- package/dist/client/assets/{use-organization-settings-DZ-z928I.js → use-organization-settings-CJs5nMrg.js} +1 -1
- package/dist/client/assets/{use-registry-app-SXYcBARA.js → use-registry-app-CKPn88US.js} +1 -1
- package/dist/client/assets/{use-registry-connections-BXc4cFFQ.js → use-registry-connections-CHNF8ouS.js} +1 -1
- package/dist/client/assets/{use-secrets-Do5xt8K7.js → use-secrets-CUfDdHCD.js} +1 -1
- package/dist/client/assets/{use-status-sounds-Dbwipb1I.js → use-status-sounds-DGg2Vl_c.js} +1 -1
- package/dist/client/assets/{use-view-mode-BhnR5Bsi.js → use-view-mode-EwNuqNL7.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-CnS3sPru.js → use-virtual-mcp-CPlibyUl.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-C8m4JJfS.js +1 -0
- package/dist/client/assets/{useRouterState-BT9LrLSk.js → useRouterState-C7uQ8-Sn.js} +1 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-LInN5z0q.js +1 -0
- package/dist/client/assets/{users-CjJXVyA2.js → users-BQokyds1.js} +1 -1
- package/dist/client/assets/{variant-calendar-C6xQ6W2N.js → variant-calendar-C0R1i83E.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-CGkOEjI_.js → view-mode-toggle-Ch7KmZg4.js} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/server/cli.js +2 -2
- package/dist/server/server.js +2 -2
- package/package.json +1 -1
- package/dist/client/assets/page-seo-sheet-BNc4UpPx.js +0 -1
- package/dist/client/assets/project-app-view-_20sVm9p.js +0 -1
- package/dist/client/assets/record-editor-DPpWBns6.js +0 -1
- package/dist/client/assets/redirect-editor-C8kI-ue6.js +0 -1
- package/dist/client/assets/registry-CPlGceMj.js +0 -2
- package/dist/client/assets/store-registry-CkwBUA4G.js +0 -2
- package/dist/client/assets/useInfiniteQuery-sIeMlQx-.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-Cx8KkBpH.js +0 -1
package/dist/client/assets/{use-org-auth-client-CBzof9EW.js → use-org-auth-client-CX6wMigR.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as x,C,a as i}from"./index-
|
|
1
|
+
import{c as x,C,a as i}from"./index-DP7q2sf-.js";function q(){const e=x.c(32),{org:O}=C(),o=O.id;let z;e[0]!==o?(z=R=>(f=>i.organization[R]({...f??{},organizationId:o})),e[0]=o,e[1]=z):z=e[1];const t=z;let M;e[2]!==o?(M=R=>(f=>{const y={...f??{}},h=y.query??{};return y.query={...h,organizationId:o},i.organization[R](y)}),e[2]=o,e[3]=M):M=e[3];const n=M;let a,r;e[4]!==n?(a=n("listMembers"),r=n("listRoles"),e[4]=n,e[5]=a,e[6]=r):(a=e[5],r=e[6]);let l,s,c,g,u,m,d,v,b;e[7]!==t?(g=t("inviteMember"),u=t("removeMember"),m=t("updateMemberRole"),d=t("addMember"),v=t("createRole"),b=t("updateRole"),l=t("deleteRole"),s=t("cancelInvitation"),c=t("update"),e[7]=t,e[8]=l,e[9]=s,e[10]=c,e[11]=g,e[12]=u,e[13]=m,e[14]=d,e[15]=v,e[16]=b):(l=e[8],s=e[9],c=e[10],g=e[11],u=e[12],m=e[13],d=e[14],v=e[15],b=e[16]);let p;e[17]!==n?(p=n("getActiveMember"),e[17]=n,e[18]=p):p=e[18];let I;return e[19]!==l||e[20]!==s||e[21]!==c||e[22]!==p||e[23]!==a||e[24]!==r||e[25]!==g||e[26]!==u||e[27]!==m||e[28]!==d||e[29]!==v||e[30]!==b?(I={organization:{listMembers:a,listRoles:r,inviteMember:g,removeMember:u,updateMemberRole:m,addMember:d,createRole:v,updateRole:b,deleteRole:l,cancelInvitation:s,update:c,getActiveMember:p,acceptInvitation:i.organization.acceptInvitation,rejectInvitation:i.organization.rejectInvitation,getInvitation:i.organization.getInvitation,list:i.organization.list,create:i.organization.create,getFullOrganization:i.organization.getFullOrganization}},e[19]=l,e[20]=s,e[21]=c,e[22]=p,e[23]=a,e[24]=r,e[25]=g,e[26]=u,e[27]=m,e[28]=d,e[29]=v,e[30]=b,e[31]=I):I=e[31],I}export{q as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as u,m as S,n as r,d as y,K as c}from"./index-
|
|
1
|
+
import{c as u,m as S,n as r,d as y,K as c}from"./index-DP7q2sf-.js";async function f(i,a,e){const s=await fetch(i,a);if(!s.ok){const t=await s.json().catch(()=>null);throw new Error(t?.error||e)}return s.json()}function m(i,a){const e=u.c(8);let s;e[0]!==i?(s=c.orgSsoStatus(i??""),e[0]=i,e[1]=s):s=e[1];let t;e[2]!==a?(t=()=>f(`/api/${a}/sso/status`,void 0,"Failed to check SSO status"),e[2]=a,e[3]=t):t=e[3];const n=!!i&&!!a;let o;return e[4]!==s||e[5]!==t||e[6]!==n?(o={queryKey:s,queryFn:t,enabled:n},e[4]=s,e[5]=t,e[6]=n,e[7]=o):o=e[7],S(o)}function q(i,a){const e=u.c(8);let s;e[0]!==i?(s=c.orgSsoConfig(i??""),e[0]=i,e[1]=s):s=e[1];let t;e[2]!==a?(t=()=>f(`/api/${a}/sso/config`,void 0,"Failed to fetch SSO config"),e[2]=a,e[3]=t):t=e[3];const n=!!i&&!!a;let o;return e[4]!==s||e[5]!==t||e[6]!==n?(o={queryKey:s,queryFn:t,enabled:n},e[4]=s,e[5]=t,e[6]=n,e[7]=o):o=e[7],S(o)}function C(i,a){const e=u.c(8),s=r();let t;e[0]!==a?(t=l=>f(`/api/${a}/sso/config`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(l)},"Failed to save SSO config"),e[0]=a,e[1]=t):t=e[1];let n;e[2]!==i||e[3]!==s?(n=()=>{s.invalidateQueries({queryKey:c.orgSsoConfig(i)}),s.invalidateQueries({queryKey:c.orgSsoStatus(i)})},e[2]=i,e[3]=s,e[4]=n):n=e[4];let o;return e[5]!==t||e[6]!==n?(o={mutationFn:t,onSuccess:n},e[5]=t,e[6]=n,e[7]=o):o=e[7],y(o)}function O(i,a){const e=u.c(8),s=r();let t;e[0]!==a?(t=()=>f(`/api/${a}/sso/config`,{method:"DELETE"},"Failed to delete SSO config"),e[0]=a,e[1]=t):t=e[1];let n;e[2]!==i||e[3]!==s?(n=()=>{s.invalidateQueries({queryKey:c.orgSsoConfig(i)}),s.invalidateQueries({queryKey:c.orgSsoStatus(i)})},e[2]=i,e[3]=s,e[4]=n):n=e[4];let o;return e[5]!==t||e[6]!==n?(o={mutationFn:t,onSuccess:n},e[5]=t,e[6]=n,e[7]=o):o=e[7],y(o)}function d(i,a){const e=u.c(8),s=r();let t;e[0]!==a?(t=l=>f(`/api/${a}/sso/config/enforce`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({enforced:l})},"Failed to toggle SSO enforcement"),e[0]=a,e[1]=t):t=e[1];let n;e[2]!==i||e[3]!==s?(n=()=>{s.invalidateQueries({queryKey:c.orgSsoConfig(i)}),s.invalidateQueries({queryKey:c.orgSsoStatus(i)})},e[2]=i,e[3]=s,e[4]=n):n=e[4];let o;return e[5]!==t||e[6]!==n?(o={mutationFn:t,onSuccess:n},e[5]=t,e[6]=n,e[7]=o):o=e[7],y(o)}export{q as a,C as b,O as c,d,m as u};
|
package/dist/client/assets/{use-organization-roles-C0jMDVT9.js → use-organization-roles-mbBqmzsZ.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{u as R}from"./use-org-auth-client-
|
|
1
|
+
import{u as R}from"./use-org-auth-client-CX6wMigR.js";import{C as b,m as P,K as y}from"./index-DP7q2sf-.js";const w=[{value:"owner",label:"Owner",isBuiltin:!0},{value:"admin",label:"Admin",isBuiltin:!0},{value:"user",label:"User",isBuiltin:!0}];function B(t){return t.replace(/-/g," ").replace(/\b\w/g,n=>n.toUpperCase())}function O(t){if(!t)return{staticPermissions:[],allowsAllStaticPermissions:!1,connectionIds:[],allowsAllConnections:!1,toolNames:[],allowsAllTools:!1,modelCount:0,allowsAllModels:!1};const n=[];let i=!1;const u=[];let c=!1;const a=new Set;let s=!1,f=0,e=!1;for(const[l,o]of Object.entries(t)){if(l==="self"){o.includes("*")?i=!0:n.push(...o);continue}if(l==="models"){o.includes("*:*")?e=!0:f=o.length;continue}if(l==="*"){if(c=!0,o.includes("*"))s=!0;else for(const r of o)a.add(r);continue}if(u.push(l),o.includes("*"))s=!0;else for(const r of o)a.add(r)}return{staticPermissions:n,allowsAllStaticPermissions:i,connectionIds:u,allowsAllConnections:c,toolNames:Array.from(a),allowsAllTools:s,modelCount:f,allowsAllModels:e}}function I(){const{locator:t}=b(),n=R(),{data:i,isLoading:u,error:c,refetch:a}=P({queryKey:y.organizationRoles(t),queryFn:async()=>{try{const e=await n.organization.listRoles();return e?.error?(console.error("[useOrganizationRoles] API error:",e.error),[]):e?.data??[]}catch(e){return console.error("[useOrganizationRoles] Fetch error:",e),[]}},staleTime:3e4}),s=w.map(e=>({role:e.value,label:e.label,isBuiltin:e.isBuiltin}));if(i&&Array.isArray(i))for(const e of i){const l=e.role;if(!l||w.some(h=>h.value===l))continue;const{staticPermissions:o,allowsAllStaticPermissions:r,connectionIds:g,allowsAllConnections:m,toolNames:p,allowsAllTools:d,modelCount:C,allowsAllModels:A}=O(e.permission);s.push({id:e.id,role:l,label:B(l),isBuiltin:!1,permission:e.permission??void 0,staticPermissionCount:r?-1:o.length,allowsAllStaticPermissions:r,connectionCount:m?-1:g.length,allowsAllConnections:m,toolCount:d?-1:p.length,allowsAllTools:d,modelCount:A?-1:C,allowsAllModels:A})}const f=s.filter(e=>!e.isBuiltin);return{roles:s,customRoles:f,builtinRoles:s.filter(e=>e.isBuiltin),isLoading:u,error:c,refetch:a}}export{I as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as l,C as g,m as E,K as d,n as I,d as D,r as b}from"./index-
|
|
1
|
+
import{c as l,C as g,m as E,K as d,n as I,d as D,r as b}from"./index-DP7q2sf-.js";import{W as C}from"./use-mcp-client-CP7vVNI8.js";import{c as G,u as M}from"./studio-tools-zNP7cFLT.js";const O={organizationId:"",sidebar_items:null,enabled_plugins:null,registry_config:null,simple_mode:null,default_home_agents:null,reports_only:null},N={tiers:{fast:null,smart:null,thinking:null,image:null,web_search:null,deep_research:null}};function w(t,e){return{queryKey:d.organizationSettings(e),queryFn:async()=>{try{return await G(t,"ORGANIZATION_SETTINGS_GET",{})}catch{return{...O,organizationId:e}}},staleTime:6e4}}function _(t){const e=l.c(6),{org:s}=g();let n;e[0]!==s.id||e[1]!==s.slug?(n=w(s.slug,s.id),e[0]=s.id,e[1]=s.slug,e[2]=n):n=e[2];const i=t;let r;return e[3]!==n||e[4]!==i?(r={...n,select:i},e[3]=n,e[4]=i,e[5]=r):r=e[5],E(r)}function Z(t,e){const s=l.c(3);let n;s[0]!==t||s[1]!==e?(n=w(e,t),s[0]=t,s[1]=e,s[2]=n):n=s[2];const{data:i}=E(n);return i??null}function S(){const t=l.c(9),{org:e}=g(),s=M(),n=I();let i;t[0]!==e||t[1]!==s?(i=async o=>{const u=await s.call("ORGANIZATION_SETTINGS_UPDATE",{organizationId:e.id,...o});if(!u)throw new Error("ORGANIZATION_SETTINGS_UPDATE returned no payload");return u},t[0]=e,t[1]=s,t[2]=i):i=t[2];let r;t[3]!==e||t[4]!==n?(r=o=>{n.setQueryData(d.organizationSettings(e.id),u=>({...u??O,...o}))},t[3]=e,t[4]=n,t[5]=r):r=t[5];let a;return t[6]!==i||t[7]!==r?(a={mutationFn:i,onSuccess:r},t[6]=i,t[7]=r,t[8]=a):a=t[8],D(a)}function Q(t){return t?.tiers?{tiers:{fast:t.tiers.fast??null,smart:t.tiers.smart??null,thinking:t.tiers.thinking??null,image:t.tiers.image??null,web_search:t.tiers.web_search??null,deep_research:t.tiers.deep_research??null}}:N}function F(){const{data:t}=_(P);return t??N}function P(t){return Q(t.simple_mode)}function j(){const t=l.c(7),e=S();let s,n;t[0]!==e?(s=(r,a)=>e.mutate({simple_mode:r},a),n=(r,a)=>e.mutateAsync({simple_mode:r},a),t[0]=e,t[1]=s,t[2]=n):(s=t[1],n=t[2]);let i;return t[3]!==e||t[4]!==s||t[5]!==n?(i={...e,mutate:s,mutateAsync:n},t[3]=e,t[4]=s,t[5]=n,t[6]=i):i=t[6],i}function B(){const{data:t}=_($);return t??!1}function $(t){return t.reports_only??!1}function x(){const{data:t}=_(U);return t??null}function U(t){return t.registry_config}function L(){const t=l.c(7),e=S();let s,n;t[0]!==e?(s=(r,a)=>e.mutate({registry_config:r},a),n=(r,a)=>e.mutateAsync({registry_config:r},a),t[0]=e,t[1]=s,t[2]=n):(s=t[1],n=t[2]);let i;return t[3]!==e||t[4]!==s||t[5]!==n?(i={...e,mutate:s,mutateAsync:n},t[3]=e,t[4]=s,t[5]=n,t[6]=i):i=t[6],i}function v(){const{data:t}=_(k);return t??null}function k(t){return t.default_home_agents}function q(){const t=l.c(7),e=S();let s,n;t[0]!==e?(s=(r,a)=>e.mutate({default_home_agents:r},a),n=(r,a)=>e.mutateAsync({default_home_agents:r},a),t[0]=e,t[1]=s,t[2]=n):(s=t[1],n=t[2]);let i;return t[3]!==e||t[4]!==s||t[5]!==n?(i={...e,mutate:s,mutateAsync:n},t[3]=e,t[4]=s,t[5]=n,t[6]=i):i=t[6],i}function J(){const t=l.c(14),{org:e}=g(),s=q(),n=I();let i;t[0]===Symbol.for("react.memo_cache_sentinel")?(i=Promise.resolve(),t[0]=i):i=t[0];const r=b.useRef(i);let a;t[1]!==e.id?(a=d.organizationSettings(e.id),t[1]=e.id,t[2]=a):a=t[2];const o=a;let u;t[3]!==o||t[4]!==n?(u=()=>n.getQueryData(o)?.default_home_agents?.ids??[],t[3]=o,t[4]=n,t[5]=u):u=t[5];const y=u;let m;t[6]!==o||t[7]!==e.slug||t[8]!==n||t[9]!==s?(m=z=>{const T=r.current.then(async()=>{const A=n.getQueryData(o),h=z(A?.default_home_agents?.ids??[]);if(h!==null){n.setQueryData(o,c=>c&&{...c,default_home_agents:{ids:h}});try{await s.mutateAsync({ids:h}),await n.refetchQueries({queryKey:d.homeNextActions(e.slug),type:"active"})}catch(c){const R=c;throw n.setQueryData(o,A),R}}});return r.current=T.catch(K),T},t[6]=o,t[7]=e.slug,t[8]=n,t[9]=s,t[10]=m):m=t[10];const p=m;let f;return t[11]!==p||t[12]!==y?(f={currentIds:y,apply:p},t[11]=p,t[12]=y,t[13]=f):f=t[13],f}function K(){}function V(){const t=l.c(5),{org:e}=g(),s=x();let n;t[0]!==e.id?(n=C.REGISTRY(e.id),t[0]=e.id,t[1]=n):n=t[1];const i=n;let r;return t[2]!==i||t[3]!==s?(r=a=>{if(!s)return a===i;const o=s.registries[a];return o?o.enabled:a===i},t[2]=i,t[3]=s,t[4]=r):r=t[4],r}export{v as a,J as b,V as c,Z as d,F as e,j as f,x as g,L as h,B as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as d,j as m,C as f}from"./index-
|
|
1
|
+
import{c as d,j as m,C as f}from"./index-DP7q2sf-.js";import{W as g,u as C}from"./use-mcp-client-CP7vVNI8.js";import{u as x}from"./use-mcp-tools-BOL45SnA.js";function I(n){const s=d.c(4),{size:e,className:t}=n;let o;s[0]===Symbol.for("react.memo_cache_sentinel")?(o=m.jsx("path",{d:"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27s1.36.09 2 .27c1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0016 8c0-4.42-3.58-8-8-8z"}),s[0]=o):o=s[0];let r;return s[1]!==t||s[2]!==e?(r=m.jsx("svg",{width:e,height:e,viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true",className:t,children:o}),s[1]=t,s[2]=e,s[3]=r):r=s[3],r}function P(n,s){const e=d.c(12),{org:t}=f();let o;e[0]!==t.id?(o=g.REGISTRY(t.id),e[0]=t.id,e[1]=o):o=e[1];const r=o;let i;e[2]!==t.id||e[3]!==t.slug||e[4]!==r?(i={connectionId:r,orgId:t.id,orgSlug:t.slug},e[2]=t.id,e[3]=t.slug,e[4]=r,e[5]=i):i=e[5];const u=C(i);let l;e[6]!==n?(l={name:n},e[6]=n,e[7]=l):l=e[7];const a=s?.enabled??!0;let c;return e[8]!==u||e[9]!==l||e[10]!==a?(c={client:u,toolName:"COLLECTION_REGISTRY_APP_GET",toolArguments:l,enabled:a,staleTime:3e5,select:h},e[8]=u,e[9]=l,e[10]=a,e[11]=c):c=e[11],x(c)}function h(n){return n.structuredContent?.item??null}export{I as G,P as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as C,C as R}from"./index-
|
|
1
|
+
import{c as C,C as R}from"./index-DP7q2sf-.js";import{u as p}from"./use-connection-DCYnbXZ5.js";import{W as a}from"./use-mcp-client-CP7vVNI8.js";import{g as y}from"./use-organization-settings-CJs5nMrg.js";function M(){const e=C.c(19),{org:i}=R(),o=y();let l;e[0]!==i.id?(l=a.REGISTRY(i.id),e[0]=i.id,e[1]=l):l=e[1];const d=l;let f;e[2]!==i.id?(f=a.COMMUNITY_REGISTRY(i.id),e[2]=i.id,e[3]=f):f=e[3];const g=f;let r;e[4]!==g||e[5]!==d?(r=[d,g],e[4]=g,e[5]=d,e[6]=r):r=e[6];let t;if(e[7]!==o||e[8]!==r){if(t=new Set(r),o?.registries){let s;e[10]!==o.registries?(s=Object.keys(o.registries),e[10]=o.registries,e[11]=s):s=e[11];for(const u of s)t.add(u)}e[7]=o,e[8]=r,e[9]=t}else t=e[9];const m=p();let n;e[12]!==m?(n=m??[],e[12]=m,e[13]=n):n=e[13];let c;if(e[14]!==t||e[15]!==n){let s;e[17]!==t?(s=u=>t.has(u.id),e[17]=t,e[18]=s):s=e[18],c=n.filter(s),e[14]=t,e[15]=n,e[16]=c}else c=e[16];return c}export{M as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as r,C as a,K as c,v as f,n as y,d as S}from"./index-
|
|
1
|
+
import{c as r,C as a,K as c,v as f,n as y,d as S}from"./index-DP7q2sf-.js";import{u as l}from"./studio-tools-zNP7cFLT.js";function E(){const e=r.c(7),{org:o}=a(),n=l();let i;e[0]!==o.id?(i=c.secrets(o.id),e[0]=o.id,e[1]=i):i=e[1];let t;e[2]!==n?(t=async()=>await n.call("SECRET_LIST",{}),e[2]=n,e[3]=t):t=e[3];let s;e[4]!==i||e[5]!==t?(s={queryKey:i,staleTime:6e4,queryFn:t},e[4]=i,e[5]=t,e[6]=s):s=e[6];const{data:u}=f(s);return u.secrets}function p(){const e=r.c(8),{org:o}=a(),n=l(),i=y();let t;e[0]!==n?(t=async d=>await n.call("SECRET_CREATE",{...d}),e[0]=n,e[1]=t):t=e[1];let s;e[2]!==o||e[3]!==i?(s=()=>{i.invalidateQueries({queryKey:c.secrets(o.id)})},e[2]=o,e[3]=i,e[4]=s):s=e[4];let u;return e[5]!==t||e[6]!==s?(u={mutationFn:t,onSuccess:s},e[5]=t,e[6]=s,e[7]=u):u=e[7],S(u)}export{p as a,E as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as r,U as u}from"./index-
|
|
1
|
+
import{c as r,U as u}from"./index-DP7q2sf-.js";import{p as i,q as c}from"./question-004-sINsf4GQ.js";import{u as f}from"./use-decopilot-events-CceHvPOW.js";const p=new Set(["completed","failed","requires_action"]);function U(s){const e=r.c(5),[n]=u();let t;e[0]!==n?(t=o=>{n.enableSounds&&p.has(o.data.status)&&i(c.dataUri).catch(l)},e[0]=n,e[1]=t):t=e[1];let a;e[2]!==s||e[3]!==t?(a={orgSlug:s,onTaskStatus:t},e[2]=s,e[3]=t,e[4]=a):a=e[4],f(a)}function l(s){console.warn("[status-sounds] playback failed:",s)}export{U as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as p,r as f}from"./index-
|
|
1
|
+
import{c as p,r as f}from"./index-DP7q2sf-.js";import{u as w}from"./use-mobile-UfyzXMuE.js";function S(m,M){const e=p.c(12),u=M===void 0?"cards":M,o=w(),b=f.useRef(o),s=m?`deco-view-mode-${m}`:"deco-view-mode";let i;e[0]!==u||e[1]!==s?(i=()=>{const r=globalThis.localStorage?.getItem(s);return r==="cards"||r==="table"?r:u},e[0]=u,e[1]=s,e[2]=i):i=e[2];const[t,g]=f.useState(i);let l;e[3]!==s?(l=r=>{g(r),globalThis.localStorage?.setItem(s,r)},e[3]=s,e[4]=l):l=e[4];const d=l;let c,a;e[5]!==o||e[6]!==t?(c=()=>{!b.current&&o&&t==="table"&&g("cards"),b.current=o},a=[o,t],e[5]=o,e[6]=t,e[7]=c,e[8]=a):(c=e[7],a=e[8]),f.useEffect(c,a);let n;return e[9]!==d||e[10]!==t?(n=[t,d],e[9]=d,e[10]=t,e[11]=n):n=e[11],n}export{S as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as a,C as d,al as P,m as p}from"./index-
|
|
1
|
+
import{c as a,C as d,al as P,m as p}from"./index-DP7q2sf-.js";import{b as L,a as S,u as V}from"./use-collections-CsnsxjZz.js";import{S as g,u as C}from"./use-mcp-client-CP7vVNI8.js";function y(e){const t=a.c(5);let s;t[0]!==e?(s=e===void 0?{}:e,t[0]=e,t[1]=s):s=t[1];const n=s,{org:i}=d();let o;t[2]!==i.id||t[3]!==i.slug?(o={connectionId:g,orgId:i.id,orgSlug:i.slug},t[2]=i.id,t[3]=i.slug,t[4]=o):o=t[4];const l=C(o);return L(i.id,"VIRTUAL_MCP",l,n)}function b(e){const t=a.c(3),{org:s}=d();let n;t[0]!==s.id||t[1]!==s.slug?(n={connectionId:g,orgId:s.id,orgSlug:s.slug},t[0]=s.id,t[1]=s.slug,t[2]=n):n=t[2];const i=C(n);return V(s.id,"VIRTUAL_MCP",e??void 0,i)}function R(e){const t=a.c(15),{org:s}=d();let n;t[0]!==s.id||t[1]!==s.slug?(n={connectionId:g,orgId:s.id,orgSlug:s.slug},t[0]=s.id,t[1]=s.slug,t[2]=n):n=t[2];const i=C(n);let o,l,c;t[3]!==e||t[4]!==s.id?(o=[...e].sort(),c=p,l=P.virtualMcpLastUsed(s.id,o),t[3]=e,t[4]=s.id,t[5]=o,t[6]=l,t[7]=c):(o=t[5],l=t[6],c=t[7]);const f=o.length>0;let u;t[8]!==i||t[9]!==o?(u=async()=>{const M=(await i.callTool({name:"VIRTUAL_MCP_LAST_USED_LIST",arguments:{ids:o}})).structuredContent??{items:[]},m=new Map;for(const I of M.items)m.set(I.id,I);return m},t[8]=i,t[9]=o,t[10]=u):u=t[10];let r;return t[11]!==l||t[12]!==f||t[13]!==u?(r={queryKey:l,enabled:f,staleTime:3e4,queryFn:u},t[11]=l,t[12]=f,t[13]=u,t[14]=r):r=t[14],c(r)}function E(){const e=a.c(3),{org:t}=d();let s;e[0]!==t.id||e[1]!==t.slug?(s={connectionId:g,orgId:t.id,orgSlug:t.slug},e[0]=t.id,e[1]=t.slug,e[2]=s):s=e[2];const n=C(s);return S(t.id,"VIRTUAL_MCP",n)}export{b as a,E as b,R as c,y as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{I as u}from"./use-infinite-scroll-hq7jzeCt.js";import{dK as i}from"./index-DP7q2sf-.js";function t(e,r){return i(e,u,r)}export{t as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{aZ as s,r as a,a_ as c,a$ as i}from"./index-
|
|
1
|
+
import{aZ as s,r as a,a_ as c,a$ as i}from"./index-DP7q2sf-.js";function f(r){const n=s({warn:r?.router===void 0}),t=r?.router||n,u=a.useRef(void 0);return c(t.stores.__store,e=>{if(r?.select){if(r.structuralSharing??t.options.defaultStructuralSharing){const o=i(u.current,r.select(e));return u.current=o,o}return r.select(e)}return e})}export{f as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{I as s}from"./use-infinite-scroll-hq7jzeCt.js";import{dK as u,ab as n}from"./index-DP7q2sf-.js";function a(r,e){return u({...r,enabled:!0,suspense:!0,throwOnError:n},s,e)}export{a as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as B,r as F,a as I,m as R,d as V,j as t,K,B as T,t as $}from"./index-
|
|
1
|
+
import{c as B,r as F,a as I,m as R,d as V,j as t,K,B as T,t as $}from"./index-DP7q2sf-.js";import{P as b}from"./index-DSznidAj.js";import{C as q}from"./collection-table-wrapper-DJJ2HlQC.js";import{E}from"./empty-state-CIzKhbZ-.js";import{S as z}from"./search-input-f3nZqtaH.js";import{A as D}from"./avatar-0OBNOMUZ.js";import{B as U}from"./badge-Soyz5pn1.js";import{u as L}from"./use-debounced-value-DkIFgDw4.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-eIXjd9Yw.js";import"./LayoutLeft-Te-fp_8S.js";import"./use-mobile-UfyzXMuE.js";import"./X-2EPOmOgB.js";import"./tooltip-wMxYpE3E.js";import"./table-DkLz1K8N.js";import"./ArrowUp-Cc7nmwZR.js";import"./SearchMd-D4P-dsiI.js";import"./User01-Dv6ObnLt.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-fc2Mgv46.js";import{w as ct,T as et,f as mt}from"./agent-icon-D6bFYExd.js";import{i as dt}from"./ChevronRight-Bodo5-vk.js";import{L as pt}from"./label-CbkfSF8H.js";import{m as nt}from"./automation-runs-By_XCtIA.js";import{S as ft}from"./switch-C37860F-.js";import{T as ut,b as ht,a as gt}from"./tooltip-BEcKi49p.js";import{V as xt}from"./view-mode-toggle-CGkOEjI_.js";import"./AlertCircle-DGs_m1K2.js";import"./Tool01-BAajbGsq.js";import"./ArrowUp-DjQsXAQ7.js";import"./Settings02-S757c_rq.js";import"./Tool02-Bl4e-myb.js";import"./XCircle-CcK_mftu.js";import"./ArrowUpRight-BdL-z5-s.js";import"./TrendUp01-DGEDXi_c.js";import"./ZapSquare-DurslwxJ.js";import"./ZoomOut-Q9rbOGY4.js";import"./Users03-CGiA6P4X.js";import"./CheckCircle-BIKzR5Yf.js";import"./ChevronUp-CkaNbdil.js";import"./ChevronDown-C9X1xcMe.js";import"./DotsVertical-Do5fpqKQ.js";import"./Stars02-34GMILxl.js";import"./Copy01-CZ6qiLK9.js";import"./Globe01-CcPGuCZ4.js";import"./Eye-nygRXhQ1.js";import"./FilterLines-DRskqdWD.js";import"./Star01-CRqwHG5N.js";import"./Globe04-B0LXCn02.js";import"./SwitchHorizontal01-CtDzpZs7.js";import"./HardDrive-aR1wljAm.js";import"./Image01-B--Bs-bt.js";import"./Key01-C2Ckz_6N.js";import"./LayoutLeft-DFIfDwqE.js";import"./LinkExternal01-SxfQzwZJ.js";import"./Monitor01-Bj2XeCnP.js";import"./Sun-BHbtD7Pt.js";import"./Package-BQU7He6T.js";import"./Palette-B71IMrET.js";import"./Play-CIc-xA8a.js";import"./Plus-Db4TDtEu.js";import"./SearchLg-KcDkRy4I.js";import"./SearchMd-D2biJlbF.js";import"./Shield01-CR2r0NNN.js";import"./Stars01-o1cuT-eD.js";import"./Trash01-DYz35By1.js";import"./Upload01-KcxX8X4b.js";import"./User01-k8MwYbqc.js";import"./Users01-yCPS_mW1.js";import"./XClose-Z9vjignP.js";import"./X-BUcPJvBZ.js";import"./Zap-DL5WT3wo.js";import"./select-DzJ7QJPl.js";import"./useInfiniteQuery-sIeMlQx-.js";import"./use-infinite-scroll-BgYip7tJ.js";import"./use-connection-DMmpadQh.js";import"./use-collections-DJFCtruj.js";import"./use-mcp-client-Dy9cozyi.js";import"./auth-DdSrBYV1.js";import"./use-virtual-mcp-CnS3sPru.js";import"./card-BpXucvvq.js";import"./sidebar-0o-8tc1G.js";import"./use-mobile-yXxIhEef.js";import"./table-pmRrWbpg.js";import"./empty-state-BftdJRVE.js";import"./use-members-CdMTsdyt.js";import"./use-org-auth-client-CBzof9EW.js";import"./use-clock-tick-Bjb9tqI6.js";import"./use-automations-I9Z-BYTa.js";import"./studio-tools-D59f1llU.js";import"./useSuspenseInfiniteQuery-Cx8KkBpH.js";import"./avatar-Ddt9mofI.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-y771hf3-.js";import"./file-type-icon-wtlaPX75.js";import"./dialog-NIa8K-0v.js";import"./tab-id-BijBBRwE.js";import"./hooks-CXULjrPq.js";import"./decopilot-sse-pool-lypgbHTv.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./chat-context-7Vz0eeRT.js";import"./autosend-B-IUS5Oi.js";import"./use-ai-providers-BGT3cEfa.js";import"./location-BpLtHjTZ.js";import"./use-decopilot-events-DOpN7KuS.js";import"./use-organization-settings-DZ-z928I.js";import"./monaco-editor-ZZ2nyTLy.js";import"./index-gyKONVpM.js";import"./index-DiXvQrcR.js";import"./calendar-C9rxFDcn.js";import"./shell-layout-C83wLq6T.js";import"./required-auth-layout-BynURjVT.js";import"./use-org-sso-D_YmdziQ.js";import"./integration-icon-DAz5v2HZ.js";import"./use-navigate-to-agent-Bt-pHjqk.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-1y78xoUf.js";import"./form-suqmNCtN.js";import"./input-CGsbLb67.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),d=i[i.length-1];if(d)return decodeURIComponent(d)}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 d=c,p=[];if(rt(d.rule,p),p.length===0)return;const x=Mt(d.value)??(a||n);for(const h of p)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 d=P(i.start),p=P(i.end);if(p.getTime()<n.getTime()||d.getTime()>=r.getTime())continue;const u=d.getTime()<n.getTime()?n:d,x=p.getTime()>=r.getTime()?z(r,-1):p,h=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,d)=>i.startCol-d.startCol||d.span-i.span||i.variant.blockKey.localeCompare(d.variant.blockKey));const a=[],c=[];for(const i of m){let d=a.findIndex(p=>p<=i.startCol);d===-1&&(d=a.length,a.push(0)),a[d]=i.startCol+i.span,c.push({...i,lane:d})}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 d;t[0]!==i||t[1]!==c?(d=It(c,i),t[0]=i,t[1]=c,t[2]=d):d=t[2];const p=d;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]!==p?(h=p&&{maskImage:p,WebkitMaskImage:p},t[7]=p,t[8]=h):h=t[8];let g;t[9]!==r.bg||t[10]!==r.text||t[11]!==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 Kn(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,d,p;if(t[0]!==n||t[1]!==a){const S=St(n);i=S.filter(Ht).length,p=a?S:S.filter(Vt),d=At(p.map(Ft)),t[0]=n,t[1]=a,t[2]=i,t[3]=d,t[4]=p}else i=t[2],d=t[3],p=t[4];const u=d;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(dt,{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(pt,{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]!==p||t[44]!==r?(C=p.length===0?o.jsx(Wt,{hiddenOngoing:a?0:i}):r==="calendar"?o.jsx(Ut,{monthStart:s,variants:p,colorMap:u}):o.jsx(Jt,{monthStart:s,variants:p,colorMap:u}),t[39]=u,t[40]=s,t[41]=i,t[42]=a,t[43]=p,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 d;t[9]!==m||t[10]!==a||t[11]!==c?(d=o.jsxs("div",{className:m,children:[a,c]}),t[9]=m,t[10]=a,t[11]=c,t[12]=d):d=t[12];let p;return t[13]!==s||t[14]!==i||t[15]!==d?(p=o.jsx(s,{className:i,children:d}),t[13]=s,t[14]=i,t[15]=d,t[16]=p):p=t[16],p}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,d,p;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,p="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],d=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]=d,t[9]=p}else m=t[4],a=t[5],c=t[6],i=t[7],d=t[8],p=t[9];let u;t[18]!==a||t[19]!==c||t[20]!==i||t[21]!==d?(u=o.jsxs("div",{className:a,children:[c,i,d]}),t[18]=a,t[19]=c,t[20]=i,t[21]=d,t[22]=u):u=t[22];let x;return t[23]!==m||t[24]!==p||t[25]!==u?(x=o.jsx(m,{className:p,children:u}),t[23]=m,t[24]=p,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{Kn as VariantCalendar};
|
|
1
|
+
import{c as V,r as U,j as o,l as J,B as Y}from"./index-DP7q2sf-.js";import{w as ct,T as et,f as mt}from"./agent-icon-aZ0ttVTI.js";import{i as dt}from"./ChevronRight-CpX16f-S.js";import{L as pt}from"./label-r_5xsko-.js";import{m as nt}from"./automation-runs-pBvdymFZ.js";import{S as ft}from"./switch-4_oZw7lF.js";import{T as ut,b as ht,a as gt}from"./tooltip-wMxYpE3E.js";import{V as xt}from"./view-mode-toggle-Ch7KmZg4.js";import"./AlertCircle-D1bKy2S7.js";import"./Tool01-DvZKR3xT.js";import"./ArrowUp-Cc7nmwZR.js";import"./Settings02-CbZwTwjv.js";import"./Tool02-C5s2vHQ-.js";import"./XCircle-Cw6Je6uu.js";import"./ArrowUpRight-kD1crTCL.js";import"./TrendUp01-CaupVoX_.js";import"./ZapSquare-B05wsQrT.js";import"./ZoomOut-D28iYwMh.js";import"./Users03-BnGYfZVJ.js";import"./CheckCircle-BwSRlYzu.js";import"./ChevronUp-GfeloKit.js";import"./ChevronDown-Cgucuz_g.js";import"./DotsVertical-C212bOoG.js";import"./Stars02-C2BfJbMs.js";import"./Copy01-5uxmItmh.js";import"./Globe01-CG2tCUFh.js";import"./Eye-DqzmD1kb.js";import"./FilterLines-Bo4t5M26.js";import"./Star01-BP2UWuD3.js";import"./Globe04-DyQm-JaM.js";import"./SwitchHorizontal01-Cykddf1V.js";import"./HardDrive-CCTtqP8p.js";import"./Image01-BH0jS70O.js";import"./Key01-2slfiBye.js";import"./LayoutLeft-Te-fp_8S.js";import"./LinkExternal01-IXwjBiyj.js";import"./Monitor01-BIrySHW4.js";import"./Sun-DhXO7UYs.js";import"./Package-q8jsblba.js";import"./Palette-B4N2Lh4I.js";import"./Play-BsWqYJrA.js";import"./Plus-CaXcYr2A.js";import"./SearchLg-BQraE8Xe.js";import"./SearchMd-D4P-dsiI.js";import"./Shield01-5UU6xKtM.js";import"./Stars01-BUDdEic_.js";import"./Trash01-CjXnKfLl.js";import"./Upload01-XX86V2tf.js";import"./User01-Dv6ObnLt.js";import"./Users01-CbNJtpnC.js";import"./XClose-BToLKBfU.js";import"./X-2EPOmOgB.js";import"./Zap-RgPPnqY6.js";import"./select-CA_iWPfT.js";import"./useInfiniteQuery-C8m4JJfS.js";import"./use-infinite-scroll-hq7jzeCt.js";import"./use-connection-DCYnbXZ5.js";import"./use-collections-CsnsxjZz.js";import"./use-mcp-client-CP7vVNI8.js";import"./auth-DuSPHHT9.js";import"./use-virtual-mcp-CPlibyUl.js";import"./card-btDFv8vd.js";import"./sidebar-eIXjd9Yw.js";import"./use-mobile-UfyzXMuE.js";import"./table-DkLz1K8N.js";import"./empty-state-CIzKhbZ-.js";import"./use-members-CXFKNsqF.js";import"./use-org-auth-client-CX6wMigR.js";import"./use-clock-tick-BVnAAq3x.js";import"./use-automations-5uMYusfJ.js";import"./studio-tools-zNP7cFLT.js";import"./useSuspenseInfiniteQuery-LInN5z0q.js";import"./avatar-0OBNOMUZ.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-DEMoxj7m.js";import"./file-type-icon-5z9EMjnv.js";import"./dialog-BTEMEut8.js";import"./tab-id-BijBBRwE.js";import"./hooks-jQmls4EP.js";import"./decopilot-sse-pool-DLEHEP4h.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./chat-context-BD1LcxTJ.js";import"./autosend-CzDnxYJb.js";import"./use-ai-providers-f7vD-by7.js";import"./location-BpLtHjTZ.js";import"./use-decopilot-events-CceHvPOW.js";import"./use-organization-settings-CJs5nMrg.js";import"./monaco-editor-B77vOluw.js";import"./index-ja_VrDWS.js";import"./index-kzi2Dhg5.js";import"./calendar-DX9K-vzu.js";import"./shell-layout-Di2sZvyw.js";import"./required-auth-layout-BHDvLgvF.js";import"./use-org-sso-B4vK5HKn.js";import"./integration-icon-_NNS3fdQ.js";import"./use-navigate-to-agent-CxF1WPIb.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-C_NcJizC.js";import"./form-D92rhaf-.js";import"./input-Bl-0izCS.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),d=i[i.length-1];if(d)return decodeURIComponent(d)}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 d=c,p=[];if(rt(d.rule,p),p.length===0)return;const x=Mt(d.value)??(a||n);for(const h of p)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 d=P(i.start),p=P(i.end);if(p.getTime()<n.getTime()||d.getTime()>=r.getTime())continue;const u=d.getTime()<n.getTime()?n:d,x=p.getTime()>=r.getTime()?z(r,-1):p,h=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,d)=>i.startCol-d.startCol||d.span-i.span||i.variant.blockKey.localeCompare(d.variant.blockKey));const a=[],c=[];for(const i of m){let d=a.findIndex(p=>p<=i.startCol);d===-1&&(d=a.length,a.push(0)),a[d]=i.startCol+i.span,c.push({...i,lane:d})}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 d;t[0]!==i||t[1]!==c?(d=It(c,i),t[0]=i,t[1]=c,t[2]=d):d=t[2];const p=d;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]!==p?(h=p&&{maskImage:p,WebkitMaskImage:p},t[7]=p,t[8]=h):h=t[8];let g;t[9]!==r.bg||t[10]!==r.text||t[11]!==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 Kn(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,d,p;if(t[0]!==n||t[1]!==a){const S=St(n);i=S.filter(Ht).length,p=a?S:S.filter(Vt),d=At(p.map(Ft)),t[0]=n,t[1]=a,t[2]=i,t[3]=d,t[4]=p}else i=t[2],d=t[3],p=t[4];const u=d;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(dt,{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(pt,{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]!==p||t[44]!==r?(C=p.length===0?o.jsx(Wt,{hiddenOngoing:a?0:i}):r==="calendar"?o.jsx(Ut,{monthStart:s,variants:p,colorMap:u}):o.jsx(Jt,{monthStart:s,variants:p,colorMap:u}),t[39]=u,t[40]=s,t[41]=i,t[42]=a,t[43]=p,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 d;t[9]!==m||t[10]!==a||t[11]!==c?(d=o.jsxs("div",{className:m,children:[a,c]}),t[9]=m,t[10]=a,t[11]=c,t[12]=d):d=t[12];let p;return t[13]!==s||t[14]!==i||t[15]!==d?(p=o.jsx(s,{className:i,children:d}),t[13]=s,t[14]=i,t[15]=d,t[16]=p):p=t[16],p}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,d,p;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,p="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],d=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]=d,t[9]=p}else m=t[4],a=t[5],c=t[6],i=t[7],d=t[8],p=t[9];let u;t[18]!==a||t[19]!==c||t[20]!==i||t[21]!==d?(u=o.jsxs("div",{className:a,children:[c,i,d]}),t[18]=a,t[19]=c,t[20]=i,t[21]=d,t[22]=u):u=t[22];let x;return t[23]!==m||t[24]!==p||t[25]!==u?(x=o.jsx(m,{className:p,children:u}),t[23]=m,t[24]=p,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{Kn 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-DP7q2sf-.js";import{b as k,T as I,a as P}from"./tooltip-wMxYpE3E.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-DP7q2sf-.js"></script>
|
|
60
60
|
<link rel="stylesheet" crossorigin href="/assets/index-ZCgbryrZ.css">
|
|
61
61
|
</head>
|
|
62
62
|
<body>
|