decocms 4.112.0 → 4.113.0
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-CWc3BvFb.js → AlertCircle-BgL3YyuU.js} +1 -1
- package/dist/client/assets/{AreaChart-8TuFtZwM.js → AreaChart-CJz2G6k1.js} +1 -1
- package/dist/client/assets/{ArrowRight-DnZw9chb.js → ArrowRight-KW3xq1r6.js} +1 -1
- package/dist/client/assets/{ArrowUp-Dqm6yb7b.js → ArrowUp-R6RJmaXD.js} +1 -1
- package/dist/client/assets/{ArrowUpRight-a-xAV1yD.js → ArrowUpRight-WNzzQ_3i.js} +1 -1
- package/dist/client/assets/{Check-BXZBH--f.js → Check-rFuMW35j.js} +1 -1
- package/dist/client/assets/{CheckCircle-Dx2byA8l.js → CheckCircle-DRPVedxI.js} +1 -1
- package/dist/client/assets/{ChevronDown-C82kSPQJ.js → ChevronDown-D48jTswz.js} +1 -1
- package/dist/client/assets/{ChevronRight-pKqWhPFO.js → ChevronRight-LyFia1m2.js} +1 -1
- package/dist/client/assets/{ChevronUp-Ur5tOU4r.js → ChevronUp-Bf993jF8.js} +1 -1
- package/dist/client/assets/{Copy01-CjvNe041.js → Copy01-6Lk3T5kb.js} +1 -1
- package/dist/client/assets/{DotsVertical-CsPrfBHu.js → DotsVertical-IM9-cL94.js} +1 -1
- package/dist/client/assets/{Eye-D6UmvuQl.js → Eye-DQ8_2da9.js} +1 -1
- package/dist/client/assets/{FilterLines-I4EBUx4y.js → FilterLines-DI_Qm1qr.js} +1 -1
- package/dist/client/assets/{Globe01-bBcCao8m.js → Globe01-B3eOB-bI.js} +1 -1
- package/dist/client/assets/{Globe04-BvAgykOe.js → Globe04-4yBmV3D1.js} +1 -1
- package/dist/client/assets/{HardDrive-B1MltyIG.js → HardDrive-4DIbsS2x.js} +1 -1
- package/dist/client/assets/{Image01-CwV9iuxz.js → Image01-CCt0OnVG.js} +1 -1
- package/dist/client/assets/{Key01-C-044wq-.js → Key01-CE5ANePO.js} +1 -1
- package/dist/client/assets/{LayoutLeft-B7XnXJCX.js → LayoutLeft-CbYbxxcX.js} +1 -1
- package/dist/client/assets/{LinkExternal01-Beo7SFkQ.js → LinkExternal01-CORYkI7c.js} +1 -1
- package/dist/client/assets/{LogOut01-BbBoHzGS.js → LogOut01-wWv0KF8i.js} +1 -1
- package/dist/client/assets/{Monitor01-CNCx-B51.js → Monitor01-C3jWkuS8.js} +1 -1
- package/dist/client/assets/{Package-CidzBhtk.js → Package-aTPkrhbY.js} +1 -1
- package/dist/client/assets/{Palette-DyqhX3Li.js → Palette-75tVOLKn.js} +1 -1
- package/dist/client/assets/{Play-Bs1D_H9C.js → Play-CyFg0Xnr.js} +1 -1
- package/dist/client/assets/{Plus-CxvuE4Es.js → Plus-DITXLV6z.js} +1 -1
- package/dist/client/assets/{SearchLg-D6bYV_e6.js → SearchLg-D7Ui27Oz.js} +1 -1
- package/dist/client/assets/{SearchMd-CVAS4bHb.js → SearchMd-b92Qgt9y.js} +1 -1
- package/dist/client/assets/{Settings02-C48BmakR.js → Settings02-B5bpoiG8.js} +1 -1
- package/dist/client/assets/{Shield01-CpLEfQVx.js → Shield01-DdEEjcd8.js} +1 -1
- package/dist/client/assets/{Star01-DbfqTNT0.js → Star01-DAVevbnE.js} +1 -1
- package/dist/client/assets/{Stars01-DdKwQ9te.js → Stars01-C03S5tVj.js} +1 -1
- package/dist/client/assets/{Stars02-B1CYtkwJ.js → Stars02-C4BXaIW2.js} +1 -1
- package/dist/client/assets/{Sun-CiZGxTK4.js → Sun-DL5_VVPF.js} +1 -1
- package/dist/client/assets/{SwitchHorizontal01-DjC0A58U.js → SwitchHorizontal01-BS092iWr.js} +1 -1
- package/dist/client/assets/{Tool01-ttrYDD-F.js → Tool01-KoLvuxqs.js} +1 -1
- package/dist/client/assets/{Tool02-1ZIphfq5.js → Tool02-D3ImSqnS.js} +1 -1
- package/dist/client/assets/{Trash01-CbEfRhj4.js → Trash01-LLStDuc3.js} +1 -1
- package/dist/client/assets/{TrendUp01-DAMS2ptH.js → TrendUp01-BZX0N7yA.js} +1 -1
- package/dist/client/assets/{Upload01-CtTjeXyd.js → Upload01-DSslfT87.js} +1 -1
- package/dist/client/assets/{User01-DvoPZa3L.js → User01-CD3D25HA.js} +1 -1
- package/dist/client/assets/{Users01-HKR3d_K9.js → Users01-Cer51we5.js} +1 -1
- package/dist/client/assets/{Users03-Dxbbv3M0.js → Users03-WL_LA7La.js} +1 -1
- package/dist/client/assets/{X-Dc8jzuGp.js → X-BOD96Sav.js} +1 -1
- package/dist/client/assets/{XCircle-Bb4jhNm5.js → XCircle-CyI4fk4M.js} +1 -1
- package/dist/client/assets/{XClose-BLwV1Ngp.js → XClose-Bafb0lXd.js} +1 -1
- package/dist/client/assets/{Zap-KiDFkWg-.js → Zap-CbGxXZqE.js} +1 -1
- package/dist/client/assets/{ZapSquare-Bqk2MRuL.js → ZapSquare-DmF34u5V.js} +1 -1
- package/dist/client/assets/{ZoomOut-Ce4wv8I3.js → ZoomOut-B4I1BQI_.js} +1 -1
- package/dist/client/assets/{access-gate-BQpTDI1E.js → access-gate-CvbhtVik.js} +1 -1
- package/dist/client/assets/{add-section-modal-BL2N_SLv.js → add-section-modal-BoP6xaUQ.js} +1 -1
- package/dist/client/assets/{agent-icon-CCxdHfHq.js → agent-icon-CVTpL47E.js} +1 -1
- package/dist/client/assets/{agents-list-D_QSFEpR.js → agents-list-Bq8i44eF.js} +1 -1
- package/dist/client/assets/{ai-providers-CeCbz9WJ.js → ai-providers-DazhEEZ3.js} +1 -1
- package/dist/client/assets/{alert-B6DPJVFC.js → alert-BOtjHBZH.js} +1 -1
- package/dist/client/assets/{alert-dialog-3eCoJM_J.js → alert-dialog-vzxsz7Ne.js} +1 -1
- package/dist/client/assets/{app-editor-CWFz698e.js → app-editor-CZElX6py.js} +1 -1
- package/dist/client/assets/{auth-C488ati9.js → auth-DSO-QxMv.js} +1 -1
- package/dist/client/assets/{auth-catchall-7cPesftU.js → auth-catchall-DV1NjViH.js} +1 -1
- package/dist/client/assets/{auth-entry-BeFx04UO.js → auth-entry-Ct44cI9d.js} +1 -1
- package/dist/client/assets/{auth-split-layout-Kv3PLrjS.js → auth-split-layout-io_AhQF5.js} +1 -1
- package/dist/client/assets/{authenticate-and-persist-oauth-CsBw_Hbi.js → authenticate-and-persist-oauth-Dd_EJZaU.js} +1 -1
- package/dist/client/assets/{automation-list-row-D7W2Rtfd.js → automation-list-row-BnFm2E0z.js} +1 -1
- package/dist/client/assets/{automation-runs-CjOXuQZP.js → automation-runs-BBa6tRzS.js} +1 -1
- package/dist/client/assets/{automations-BkUN9YOh.js → automations-BnmLoAGI.js} +1 -1
- package/dist/client/assets/{autosend-iAh1cE6e.js → autosend-DRl8LNUl.js} +1 -1
- package/dist/client/assets/{avatar-Cc14VL9E.js → avatar-CAlKFgYv.js} +1 -1
- package/dist/client/assets/{badge-D9Myt67H.js → badge-BtX_u9Ik.js} +1 -1
- package/dist/client/assets/{block-document-BhHqcQ9v.js → block-document-CBKnd6Ik.js} +1 -1
- package/dist/client/assets/{brand-context-CiVdo2I7.js → brand-context-Co4VvlV1.js} +1 -1
- package/dist/client/assets/{buckets-CwzgTqTA.js → buckets-HAaiIZ0C.js} +1 -1
- package/dist/client/assets/{bulk-category-panel-yqxFIFkD.js → bulk-category-panel-pAeQUi9o.js} +1 -1
- package/dist/client/assets/{calendar-C5NP6DS-.js → calendar-DJl7BUkw.js} +1 -1
- package/dist/client/assets/{capability-load-error-CDt4ZVsU.js → capability-load-error-Cw0YiON3.js} +1 -1
- package/dist/client/assets/{card-Bqgf0tZo.js → card-DN0OMeD8.js} +1 -1
- package/dist/client/assets/{category-editor-Cb81bY1E.js → category-editor-DhLjpX1P.js} +1 -1
- package/dist/client/assets/{chat-context-Dtvr7cnX.js → chat-context-CkIYHDAo.js} +6 -6
- package/dist/client/assets/{checkbox-CLeT6Gju.js → checkbox-Dz4CydV1.js} +1 -1
- package/dist/client/assets/{cli-auth-success-DCWFaEeO.js → cli-auth-success-eXe7rwCU.js} +1 -1
- package/dist/client/assets/{collection-detail-Cv7U6u2s.js → collection-detail--wzT7xnN.js} +1 -1
- package/dist/client/assets/{collection-display-button-BuoLe9v_.js → collection-display-button-Bz8HOr0b.js} +1 -1
- package/dist/client/assets/{collection-search-BM5saw5W.js → collection-search-Ctfh-qXp.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-DK6IXxRn.js → collection-table-wrapper-Bzx7o70R.js} +1 -1
- package/dist/client/assets/{collection-tabs-Daxt5rsE.js → collection-tabs-CXALICVQ.js} +1 -1
- package/dist/client/assets/{command-DY8SVt2y.js → command-BeyKUDBs.js} +1 -1
- package/dist/client/assets/{commerce-onboarding-GPK4Zth8.js → commerce-onboarding-DElqvPNA.js} +1 -1
- package/dist/client/assets/{companions-core-CE6Q99bc.js → companions-core-CCXnzcJC.js} +1 -1
- package/dist/client/assets/{connect-BxOdx2Dd.js → connect-D9FNXrfQ.js} +1 -1
- package/dist/client/assets/{connect-desktop-dialog-CNKcnYr9.js → connect-desktop-dialog-43RgE8kU.js} +1 -1
- package/dist/client/assets/{connection-card-CVkAOr7Y.js → connection-card-CctJljKT.js} +1 -1
- package/dist/client/assets/{connection-detail-DeYwGyZI.js → connection-detail-bsoH7wvV.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-B3OfCtqO.js → connection-form-helpers-BisAHqq1.js} +1 -1
- package/dist/client/assets/{connections-JhayEu-8.js → connections-BsxZpP3_.js} +1 -1
- package/dist/client/assets/{decopilot-sse-pool-XB4qOGfZ.js → decopilot-sse-pool-BBLfaSrg.js} +1 -1
- package/dist/client/assets/{dialog-DXHGb8ov.js → dialog-DgPEwnKb.js} +1 -1
- package/dist/client/assets/{domain-settings-CFdyAL0q.js → domain-settings-B__P-BKw.js} +1 -1
- package/dist/client/assets/{drawer-B33BKDxG.js → drawer-CVvfaKnS.js} +1 -1
- package/dist/client/assets/{dropdown-menu-C7j_C2Iz.js → dropdown-menu-Bh2yPg-X.js} +1 -1
- package/dist/client/assets/{empty-state-C86_b7IP.js → empty-state-DZyW1mhx.js} +1 -1
- package/dist/client/assets/{extract-connection-data-DpPAxW37.js → extract-connection-data-C3b1P4MK.js} +1 -1
- package/dist/client/assets/{file-explorer-CX8OyLAP.js → file-explorer-BE9AtMWC.js} +1 -1
- package/dist/client/assets/{file-type-icon-D3SBaNGX.js → file-type-icon-5sVl9s18.js} +1 -1
- package/dist/client/assets/{files-KeQYXxyT.js → files-BJM5JsIX.js} +1 -1
- package/dist/client/assets/{form-XFZrliJE.js → form-DkQE4eVe.js} +1 -1
- package/dist/client/assets/{general-DBEEnNet.js → general-BIiFUzbm.js} +1 -1
- package/dist/client/assets/{github-repo-picker-RzuGCDsI.js → github-repo-picker-D7UG54M6.js} +1 -1
- package/dist/client/assets/{hooks-2lJrOuZm.js → hooks-Bk5QuAXL.js} +6 -6
- package/dist/client/assets/{index-DSZnahxG.js → index-8Q0HpbuT.js} +3 -3
- package/dist/client/assets/{index-DMSyZ1PC.js → index-B5pAcdCj.js} +3 -3
- package/dist/client/assets/{index-CTu_OuGZ.js → index-BHiuDSJx.js} +1 -1
- package/dist/client/assets/{index-CTGvOy90.js → index-BeF0PLGE.js} +1 -1
- package/dist/client/assets/{index-DMmps4z3.js → index-CaeZqPo0.js} +26 -26
- package/dist/client/assets/{index-CfHpa9w5.js → index-Cw6hQWKq.js} +1 -1
- package/dist/client/assets/{index-BKasOmzh.js → index-D4CJsBh0.js} +1 -1
- package/dist/client/assets/{index-CfhyBu5A.js → index-DFySzIf4.js} +1 -1
- package/dist/client/assets/{index-Cat2Ur2a.js → index-DLem6Pzd.js} +1 -1
- package/dist/client/assets/{index-6kZv92JJ.js → index-DNYodYcq.js} +1 -1
- package/dist/client/assets/{index-C0xyoib4.js → index-DtfjCN6O.js} +1 -1
- package/dist/client/assets/{index-C85KaHKW.js → index-Hn2CQpT_.js} +1 -1
- package/dist/client/assets/{index-dG1PkEhl.js → index-fznbry_P.js} +1 -1
- package/dist/client/assets/{index-redirect-DmjZ1B8p.js → index-redirect-djiLL8Gv.js} +1 -1
- package/dist/client/assets/{input-1RtsmTkF.js → input-BdNp94xl.js} +1 -1
- package/dist/client/assets/{integration-icon-DxLbb9qy.js → integration-icon-DoUJ97wM.js} +1 -1
- package/dist/client/assets/{invite-member-dialog-j2avaEuH.js → invite-member-dialog-BUKGJx85.js} +1 -1
- package/dist/client/assets/{label-CuycpzyK.js → label-3zDA4sob.js} +1 -1
- package/dist/client/assets/{layout-cuby18T_.js → layout-Ah_so8m5.js} +1 -1
- package/dist/client/assets/{login-dgVubRRa.js → login-Bfk9mSR9.js} +1 -1
- package/dist/client/assets/{mcp-oauth-zippK-pA.js → mcp-oauth-BSqmznxk.js} +1 -1
- package/dist/client/assets/{members-DDqeH639.js → members-Q94CZbRC.js} +1 -1
- package/dist/client/assets/{monaco-editor-BTlS3Jcm.js → monaco-editor-Br0-yvqe.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-BtnXyvA-.js → monitoring-stats-row-BSJi7XEI.js} +1 -1
- package/dist/client/assets/{multi-select-DDWHXTOC.js → multi-select-TtXKekQw.js} +1 -1
- package/dist/client/assets/{oauth-callback-C3gXSJ-f.js → oauth-callback-BlLiyizg.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-DuWDDtiB.js → oauth-callback-ai-provider-_QN--zPD.js} +1 -1
- package/dist/client/assets/{onboarding-B7taP69e.js → onboarding-BNxGBQcz.js} +1 -1
- package/dist/client/assets/{org-install-BMshT6Kz.js → org-install-BBGpYAIG.js} +1 -1
- package/dist/client/assets/{org-layout-B4Kd_h2Z.js → org-layout-CLI7TgVY.js} +1 -1
- package/dist/client/assets/{organization-choice-2omIAvR5.js → organization-choice-DZgNOnWh.js} +1 -1
- package/dist/client/assets/{orgs-D1RgFQJ7.js → orgs-p-mTWOqj.js} +1 -1
- package/dist/client/assets/{page-seo-form-BN228Xkk.js → page-seo-form-BVe2Dc2G.js} +1 -1
- package/dist/client/assets/page-seo-sheet-BPkImI0M.js +1 -0
- package/dist/client/assets/{popover-pMjGUykd.js → popover-BsG-Ut0C.js} +1 -1
- package/dist/client/assets/{post-editor-B-yA3z0f.js → post-editor-BQ2rP-Lo.js} +1 -1
- package/dist/client/assets/{primitives-hTNWqwra.js → primitives-C6e3re9T.js} +1 -1
- package/dist/client/assets/{profile-BskU3ogX.js → profile-BGWRg9rU.js} +1 -1
- package/dist/client/assets/project-app-view-CIj73Usx.js +1 -0
- package/dist/client/assets/record-editor-BZinXtog.js +1 -0
- package/dist/client/assets/redirect-editor-BWMV8TlH.js +1 -0
- package/dist/client/assets/registry-R6uwuSEm.js +2 -0
- package/dist/client/assets/{registry-layout-5RGlZ5Z_.js → registry-layout-hiBuwR6F.js} +1 -1
- package/dist/client/assets/{reports-BEeeQEGX.js → reports-BgtUkLwF.js} +1 -1
- package/dist/client/assets/{require-capability-u_hyb0xb.js → require-capability-bUvkt_Jq.js} +1 -1
- package/dist/client/assets/{required-auth-layout-B0hyPLrN.js → required-auth-layout-D9l0Xiy5.js} +1 -1
- package/dist/client/assets/{reset-password-B-1ZDoiX.js → reset-password-CamgKbDk.js} +1 -1
- package/dist/client/assets/{roles-CiE8K-D4.js → roles-C-UllILg.js} +1 -1
- package/dist/client/assets/{search-input-0trCFAtj.js → search-input-CrV3M9Tk.js} +1 -1
- package/dist/client/assets/{secrets-BkJhY_zI.js → secrets-CxFN3xxF.js} +1 -1
- package/dist/client/assets/{sections-editor-CRr_vuW5.js → sections-editor-RsOvoHIS.js} +1 -1
- package/dist/client/assets/{select-BZ2uyFha.js → select-CWeHkbd3.js} +1 -1
- package/dist/client/assets/{select-model-CQuepAKj.js → select-model-D_wCzl3W.js} +1 -1
- package/dist/client/assets/{self-tool-result-6sETFR7k.js → self-tool-result-BYAMrGkc.js} +1 -1
- package/dist/client/assets/{seo-editor-Ct73nPgG.js → seo-editor-CG2yF8SD.js} +1 -1
- package/dist/client/assets/{settings-layout-D4zIQbSh.js → settings-layout-BArEidDL.js} +1 -1
- package/dist/client/assets/{settings-section-hwdjPfIH.js → settings-section-CFNIFUGZ.js} +1 -1
- package/dist/client/assets/{shell-controls-CjKmQDHH.js → shell-controls-DX4t6dyA.js} +1 -1
- package/dist/client/assets/shell-layout-CIdA6eed.js +1 -0
- package/dist/client/assets/{sidebar-VwrbgopG.js → sidebar-Cv557HRI.js} +1 -1
- package/dist/client/assets/{skeleton-5or6c6a4.js → skeleton-DvYV-OU_.js} +1 -1
- package/dist/client/assets/{sso-DThbYWSx.js → sso-BIem4TkP.js} +1 -1
- package/dist/client/assets/{store-HyMkBZBo.js → store-CWBGfDtI.js} +1 -1
- package/dist/client/assets/store-registry-RRjwmJaV.js +2 -0
- package/dist/client/assets/{studio-tools-D3Jh1aS_.js → studio-tools-BuOVhTAA.js} +1 -1
- package/dist/client/assets/{switch-BvId1h7x.js → switch-BAJU0bt_.js} +1 -1
- package/dist/client/assets/{table-CbyMEuIw.js → table-D2y5PNds.js} +1 -1
- package/dist/client/assets/{tabs-bdhX5rhL.js → tabs-C8DKGrnl.js} +1 -1
- package/dist/client/assets/{textarea-jptDrRLe.js → textarea-BiTWgoYg.js} +1 -1
- package/dist/client/assets/{toggle-group-DH-q2f-c.js → toggle-group-DWZBcpKM.js} +1 -1
- package/dist/client/assets/{toolbar-CgmtGgtt.js → toolbar-DBqlqzIw.js} +1 -1
- package/dist/client/assets/{toolbar-icon-button-CPygwZKi.js → toolbar-icon-button-D1K93Ut2.js} +1 -1
- package/dist/client/assets/{tooltip-CJ5Y5366.js → tooltip-sTtjDvoo.js} +1 -1
- package/dist/client/assets/{use-ai-providers-Lg-k4_mA.js → use-ai-providers-C8qA53zS.js} +1 -1
- package/dist/client/assets/{use-api-keys-Bd5cc4tv.js → use-api-keys-D8dgJYvw.js} +1 -1
- package/dist/client/assets/{use-automations-CwOEXsLX.js → use-automations-DTVDL9Ac.js} +1 -1
- package/dist/client/assets/{use-autosave-BLO-Hrcs.js → use-autosave-u4Le0ZFS.js} +1 -1
- package/dist/client/assets/{use-capability-DEHiMOjo.js → use-capability-CXuApCjP.js} +1 -1
- package/dist/client/assets/{use-clock-tick-DXtOQtpb.js → use-clock-tick-pfKuMtst.js} +1 -1
- package/dist/client/assets/{use-connection-Ck7fU3Z4.js → use-connection-n1ELT1mr.js} +1 -1
- package/dist/client/assets/{use-copy-DLOqStvb.js → use-copy-CODIBpYX.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-K5ESAvbN.js → use-create-virtual-mcp-D0W7ZbCQ.js} +1 -1
- package/dist/client/assets/{use-debounced-autosave-BJsvh0K3.js → use-debounced-autosave-DTt7IuhI.js} +1 -1
- package/dist/client/assets/{use-debounced-value-DeWb2Xe3.js → use-debounced-value-zMBLHFuc.js} +1 -1
- package/dist/client/assets/use-deco-credits-BLfvb2mQ.js +1 -0
- package/dist/client/assets/{use-decopilot-events-Bt-vNCWP.js → use-decopilot-events-BcQN2EhC.js} +1 -1
- package/dist/client/assets/{use-delete-connection-B9tkmQ5M.js → use-delete-connection-DA40gOL9.js} +1 -1
- package/dist/client/assets/{use-deployment-admin-xe5VFZgM.js → use-deployment-admin-DxQGqHiC.js} +1 -1
- package/dist/client/assets/{use-file-configs-nbkcXtzD.js → use-file-configs-4YZ-jvQA.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-DSfn4Dq8.js → use-infinite-scroll-B3Us0FOa.js} +1 -1
- package/dist/client/assets/{use-join-requests-BdTpATGr.js → use-join-requests-Q3O8zdOv.js} +1 -1
- package/dist/client/assets/{use-mcp-auth-status-CxzQOxft.js → use-mcp-auth-status-D70o-4EZ.js} +1 -1
- package/dist/client/assets/{use-mcp-client-Bi1l5K5b.js → use-mcp-client-CFH86W63.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-A2pVmeDY.js → use-mcp-tools-Dgke_qxb.js} +1 -1
- package/dist/client/assets/{use-members-B-802VrQ.js → use-members-DQ4Ax4Dt.js} +1 -1
- package/dist/client/assets/{use-mobile-fV0eYRhU.js → use-mobile-BWrDGidp.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-D3lktxgi.js → use-navigate-to-agent-CeEInzVl.js} +1 -1
- package/dist/client/assets/{use-org-auth-client-Byy_ag-z.js → use-org-auth-client-wPL3_F1w.js} +1 -1
- package/dist/client/assets/{use-org-sso-CqNJvI6A.js → use-org-sso-CLEffSXU.js} +1 -1
- package/dist/client/assets/{use-organization-roles-B_rb7vF1.js → use-organization-roles-DkPj52in.js} +1 -1
- package/dist/client/assets/{use-organization-settings-BtpD3U3D.js → use-organization-settings-BZVys_CJ.js} +1 -1
- package/dist/client/assets/{use-registry-app-DftwoaLr.js → use-registry-app-mTYX03DA.js} +1 -1
- package/dist/client/assets/{use-registry-connections-CFzxn-fx.js → use-registry-connections-B9Mr8mO2.js} +1 -1
- package/dist/client/assets/{use-secrets-DtHqq7gg.js → use-secrets-D6Ldx3Ng.js} +1 -1
- package/dist/client/assets/{use-status-sounds-BiF66TnR.js → use-status-sounds-28St6c5M.js} +1 -1
- package/dist/client/assets/{use-view-mode-CYxmOFxU.js → use-view-mode-yI99KW7l.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-B1_JZqx4.js → use-virtual-mcp-Tg-eDvSu.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-DkWmKdoR.js +1 -0
- package/dist/client/assets/{useQueries-DK7Tbwua.js → useQueries-ezDKal5n.js} +1 -1
- package/dist/client/assets/{useRouterState-DNEZopRB.js → useRouterState-6frlZCcO.js} +1 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-CoNmOb3b.js +1 -0
- package/dist/client/assets/{users-C0lqtWR2.js → users-CrCHLsmE.js} +1 -1
- package/dist/client/assets/{variant-calendar-BnWkzjAV.js → variant-calendar-ky0ibTOg.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-DD3UaPAO.js → view-mode-toggle-B-B7GuI8.js} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/server/cli.js +610 -624
- package/dist/server/migrate.js +36 -36
- package/dist/server/server.js +314 -314
- package/package.json +1 -1
- package/dist/client/assets/page-seo-sheet-BqvEObfo.js +0 -1
- package/dist/client/assets/project-app-view-Ck_oFYlZ.js +0 -1
- package/dist/client/assets/record-editor-BKFwUXbn.js +0 -1
- package/dist/client/assets/redirect-editor-Buh94JvK.js +0 -1
- package/dist/client/assets/registry-Duu54PRM.js +0 -2
- package/dist/client/assets/shell-layout-CQmTObw4.js +0 -1
- package/dist/client/assets/store-registry-DwWE7t_E.js +0 -2
- package/dist/client/assets/use-deco-credits-_ZnPIq3e.js +0 -1
- package/dist/client/assets/useInfiniteQuery-DWm0T-LL.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-DwMra6Dq.js +0 -1
package/dist/client/assets/{use-organization-roles-B_rb7vF1.js → use-organization-roles-DkPj52in.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{u as R}from"./use-org-auth-client-
|
|
1
|
+
import{u as R}from"./use-org-auth-client-wPL3_F1w.js";import{F as b,n as P,K as y}from"./index-B5pAcdCj.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,F as g,n as E,K as d,o as I,e as D,r as b}from"./index-
|
|
1
|
+
import{c as l,F as g,n as E,K as d,o as I,e as D,r as b}from"./index-B5pAcdCj.js";import{W as G}from"./use-mcp-client-CFH86W63.js";import{c as M,u as Q}from"./studio-tools-BuOVhTAA.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 M(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 W(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=Q(),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 C(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 Z(){const{data:t}=_(P);return t??N}function P(t){return C(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 f;t[6]!==o||t[7]!==e.slug||t[8]!==n||t[9]!==s?(f=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]=f):f=t[10];const p=f;let m;return t[11]!==p||t[12]!==y?(m={currentIds:y,apply:p},t[11]=p,t[12]=y,t[13]=m):m=t[13],m}function K(){}function V(){const t=l.c(5),{org:e}=g(),s=x();let n;t[0]!==e.id?(n=G.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,W as d,Z as e,j as f,x as g,L as h,B as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as d,j as m,F as f}from"./index-
|
|
1
|
+
import{c as d,j as m,F as f}from"./index-B5pAcdCj.js";import{W as g,u as C}from"./use-mcp-client-CFH86W63.js";import{u as x}from"./use-mcp-tools-Dgke_qxb.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,F as R}from"./index-
|
|
1
|
+
import{c as C,F as R}from"./index-B5pAcdCj.js";import{u as p}from"./use-connection-n1ELT1mr.js";import{W as a}from"./use-mcp-client-CFH86W63.js";import{g as y}from"./use-organization-settings-BZVys_CJ.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,F as a,K as c,x as y,o as d,e as S}from"./index-
|
|
1
|
+
import{c as r,F as a,K as c,x as y,o as d,e as S}from"./index-B5pAcdCj.js";import{u as l}from"./studio-tools-BuOVhTAA.js";function C(){const e=r.c(7),{org:i}=a(),u=l();let o;e[0]!==i.id?(o=c.secrets(i.id),e[0]=i.id,e[1]=o):o=e[1];let t;e[2]!==u?(t=async()=>await u.call("SECRET_LIST",{}),e[2]=u,e[3]=t):t=e[3];let s;e[4]!==o||e[5]!==t?(s={queryKey:o,staleTime:6e4,queryFn:t},e[4]=o,e[5]=t,e[6]=s):s=e[6];const{data:n}=y(s);return n.secrets}function p(){const e=r.c(8),{org:i}=a(),u=l(),o=d();let t;e[0]!==u?(t=async f=>await u.call("SECRET_CREATE",{...f}),e[0]=u,e[1]=t):t=e[1];let s;e[2]!==i||e[3]!==o?(s=()=>{o.invalidateQueries({queryKey:c.secrets(i.id)})},e[2]=i,e[3]=o,e[4]=s):s=e[4];let n;return e[5]!==t||e[6]!==s?(n={mutationFn:t,onSuccess:s},e[5]=t,e[6]=s,e[7]=n):n=e[7],S(n)}export{p as a,C as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as r,v as u}from"./index-
|
|
1
|
+
import{c as r,v as u}from"./index-B5pAcdCj.js";import{p as i,q as c}from"./question-004-sINsf4GQ.js";import{u as f}from"./use-decopilot-events-BcQN2EhC.js";const p=new Set(["completed","failed","requires_action"]);function q(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{q as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as p,r as f}from"./index-
|
|
1
|
+
import{c as p,r as f}from"./index-B5pAcdCj.js";import{u as w}from"./use-mobile-BWrDGidp.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 d,F as a,dY as P,bc as L,aM as S,bb as p,n as V}from"./index-
|
|
1
|
+
import{c as d,F as a,dY as P,bc as L,aM as S,bb as p,n as V}from"./index-B5pAcdCj.js";import{S as g,u as C}from"./use-mcp-client-CFH86W63.js";function b(e){const t=d.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}=a();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 P(i.id,"VIRTUAL_MCP",l,n)}function U(e){const t=d.c(3),{org:s}=a();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 p(s.id,"VIRTUAL_MCP",e??void 0,i)}function y(e){const t=d.c(15),{org:s}=a();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,u;t[3]!==e||t[4]!==s.id?(o=[...e].sort(),u=V,l=S.virtualMcpLastUsed(s.id,o),t[3]=e,t[4]=s.id,t[5]=o,t[6]=l,t[7]=u):(o=t[5],l=t[6],u=t[7]);const I=o.length>0;let c;t[8]!==i||t[9]!==o?(c=async()=>{const m=(await i.callTool({name:"VIRTUAL_MCP_LAST_USED_LIST",arguments:{ids:o}})).structuredContent??{items:[]},f=new Map;for(const M of m.items)f.set(M.id,M);return f},t[8]=i,t[9]=o,t[10]=c):c=t[10];let r;return t[11]!==l||t[12]!==I||t[13]!==c?(r={queryKey:l,enabled:I,staleTime:3e4,queryFn:c},t[11]=l,t[12]=I,t[13]=c,t[14]=r):r=t[14],u(r)}function R(){const e=d.c(3),{org:t}=a();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 L(t.id,"VIRTUAL_MCP",n)}export{b as a,R as b,y as c,U as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{I as u}from"./use-infinite-scroll-B3Us0FOa.js";import{e2 as i}from"./index-B5pAcdCj.js";function t(e,r){return i(e,u,r)}export{t as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{aO as E,a0 as y,aP as S,$ as w,aQ as Q,o as k,aR as x,aS as M,r as p,aT as q,aU as H,aV as P,aW as L,aX as R,aY as B,aZ as T}from"./index-
|
|
1
|
+
import{aO as E,a0 as y,aP as S,$ as w,aQ as Q,o as k,aR as x,aS as M,r as p,aT as q,aU as H,aV as P,aW as L,aX as R,aY as B,aZ as T}from"./index-B5pAcdCj.js";function v(r,s){const e=new Set(s);return r.filter(t=>!e.has(t))}function A(r,s,e){const t=r.slice(0);return t[s]=e,t}var U=class extends E{#i;#s;#n;#r;#e;#t;#o;#u;#a;#h=[];constructor(r,s,e){super(),this.#i=r,this.#r=e,this.#n=[],this.#e=[],this.#s=[],this.setQueries(s)}onSubscribe(){this.listeners.size===1&&this.#e.forEach(r=>{r.subscribe(s=>{this.#d(r,s)})})}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,this.#e.forEach(r=>{r.destroy()})}setQueries(r,s){this.#n=r,this.#r=s,y.batch(()=>{const e=this.#e,t=this.#f(this.#n);t.forEach(o=>o.observer.setOptions(o.defaultedQueryOptions));const i=t.map(o=>o.observer),n=i.map(o=>o.getCurrentResult()),u=e.length!==i.length,c=i.some((o,d)=>o!==e[d]),f=u||c,b=f?!0:n.some((o,d)=>{const g=this.#s[d];return!g||!S(o,g)});!f&&!b||(f&&(this.#h=t,this.#e=i),this.#s=n,this.hasListeners()&&(f&&(v(e,i).forEach(o=>{o.destroy()}),v(i,e).forEach(o=>{o.subscribe(d=>{this.#d(o,d)})})),this.#p()))})}getCurrentResult(){return this.#s}getQueries(){return this.#e.map(r=>r.getCurrentQuery())}getObservers(){return this.#e}getOptimisticResult(r,s){const e=this.#f(r),t=e.map(n=>n.observer.getOptimisticResult(n.defaultedQueryOptions)),i=e.map(n=>n.defaultedQueryOptions.queryHash);return[t,n=>this.#l(n??t,s,i),()=>this.#c(t,e)]}#c(r,s){return s.map((e,t)=>{const i=r[t];return e.defaultedQueryOptions.notifyOnChangeProps?i:e.observer.trackResult(i,n=>{s.forEach(u=>{u.observer.trackProp(n)})})})}#l(r,s,e){if(s){const t=this.#a,i=e!==void 0&&t!==void 0&&(t.length!==e.length||e.some((n,u)=>n!==t[u]));return(!this.#t||this.#s!==this.#u||i||s!==this.#o)&&(this.#o=s,this.#u=this.#s,e!==void 0&&(this.#a=e),this.#t=w(this.#t,s(r))),this.#t}return r}#b(){return this.#r?.combine!==void 0&&this.#e.some((r,s)=>r.options.suspense&&this.#s[s]?.data===void 0)}#f(r){const s=new Map;this.#e.forEach(t=>{const i=t.options.queryHash;if(!i)return;const n=s.get(i);n?n.push(t):s.set(i,[t])});const e=[];return r.forEach(t=>{const i=this.#i.defaultQueryOptions(t),u=s.get(i.queryHash)?.shift()??new Q(this.#i,i);e.push({defaultedQueryOptions:i,observer:u})}),e}#d(r,s){const e=this.#e.indexOf(r);e!==-1&&(this.#s=A(this.#s,e,s),this.#p())}#p(){if(this.hasListeners()){const r=this.#c(this.#s,this.#h),s=this.#b(),e=this.#t,t=s?e:this.#l(r,this.#r?.combine);(s||e!==t)&&y.batch(()=>{this.listeners.forEach(i=>{i(this.#s)})})}}};function I({queries:r,...s},e){const t=k(e),i=x(),n=M(),u=p.useMemo(()=>r.map(a=>{const h=t.defaultQueryOptions(a);return h._optimisticResults=i?"isRestoring":"optimistic",h}),[r,t,i]);u.forEach(a=>{q(a);const h=t.getQueryCache().get(a.queryHash);H(a,n,h)}),P(n);const[c]=p.useState(()=>new U(t,u,s)),[f,b,o]=c.getOptimisticResult(u,s.combine),d=!i&&s.subscribed!==!1;p.useSyncExternalStore(p.useCallback(a=>d?c.subscribe(y.batchCalls(a)):L,[c,d]),()=>c.getCurrentResult(),()=>c.getCurrentResult()),p.useEffect(()=>{c.setQueries(u,s)},[u,s,c]);const m=f.some((a,h)=>R(u[h],a))?f.flatMap((a,h)=>{const l=u[h];if(l&&R(l,a)){const C=new Q(t,l);return B(l,C,n)}return[]}):[];if(m.length>0)throw Promise.all(m);const O=f.find((a,h)=>{const l=u[h];return l&&T({result:a,errorResetBoundary:n,throwOnError:l.throwOnError,query:t.getQueryCache().get(l.queryHash),suspense:l.suspense})});if(O?.error)throw O.error;return b(o())}export{I as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a$ as s,r as c,b0 as a,b1 as i}from"./index-
|
|
1
|
+
import{a$ as s,r as c,b0 as a,b1 as i}from"./index-B5pAcdCj.js";function f(r){const n=s({warn:r?.router===void 0}),t=r?.router||n,u=c.useRef(void 0);return a(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-B3Us0FOa.js";import{e2 as u,V as n}from"./index-B5pAcdCj.js";function a(e,r){return u({...e,enabled:!0,suspense:!0,throwOnError:n},s,r)}export{a as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as V,b as q,r as z,a as O,n as Y,e as $,j as t,K as J,t as Q,B as W}from"./index-
|
|
1
|
+
import{c as V,b as q,r as z,a as O,n as Y,e as $,j as t,K as J,t as Q,B as W}from"./index-B5pAcdCj.js";import{P as I}from"./index-BHiuDSJx.js";import{C as G}from"./collection-table-wrapper-Bzx7o70R.js";import{E as L}from"./empty-state-DZyW1mhx.js";import{S as H}from"./search-input-CrV3M9Tk.js";import{A as X}from"./avatar-CAlKFgYv.js";import{B as D}from"./badge-BtX_u9Ik.js";import{u as Z}from"./use-debounced-value-zMBLHFuc.js";import{a as K}from"./admin-fetch-CCSvjTk1.js";import{f as ee}from"./format-time-BnbuEtat.js";import{g as se}from"./get-initials-D-f_fDFw.js";import"./sidebar-Cv557HRI.js";import"./LayoutLeft-CbYbxxcX.js";import"./use-mobile-BWrDGidp.js";import"./X-BOD96Sav.js";import"./tooltip-sTtjDvoo.js";import"./table-D2y5PNds.js";import"./ArrowUp-R6RJmaXD.js";import"./SearchMd-b92Qgt9y.js";import"./User01-CD3D25HA.js";import"./differenceInSeconds-NQ4PDo0z.js";function be(){const e=V.c(58),s=q(),[a,M]=z.useState("");let N;e[0]!==a?(N=a.trim(),e[0]=a,e[1]=N):N=e[1];const r=Z(N,300),{data:R}=O.useSession(),P=R?.user?.id;let n;e[2]!==r?(n=J.deploymentAdminUsers(r),e[2]=r,e[3]=n):n=e[3];let l;e[4]!==r?(l=()=>{const i=new URLSearchParams({limit:"100"});return r&&i.set("searchValue",r),K(`/api/_admin/users?${i}`)},e[4]=r,e[5]=l):l=e[5];let y;e[6]!==n||e[7]!==l?(y={queryKey:n,queryFn:l},e[6]=n,e[7]=l,e[8]=y):y=e[8];const{data:k,isLoading:_,isError:A}=Y(y);let C;e[9]===Symbol.for("react.memo_cache_sentinel")?(C=ie,e[9]=C):C=e[9];let w;e[10]!==s?(w={mutationFn:re,onSuccess:C,onError:i=>{Q.error(i instanceof Error?i.message:s("admin.users.failedToImpersonate"))}},e[10]=s,e[11]=w):w=e[11];const E=$(w);let b;e[12]!==k?.users?(b=k?.users??[],e[12]=k?.users,e[13]=b):b=e[13];const B=b;let o;e[14]!==s?(o=s("admin.users.columnUser"),e[14]=s,e[15]=o):o=e[15];let m;e[16]!==s?(m=i=>t.jsxs("div",{className:"flex items-center gap-3",children:[t.jsx(X,{url:i.image??void 0,fallback:se(i.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:i.name||s("admin.users.unknown")}),t.jsx("div",{className:"text-sm text-muted-foreground truncate",children:i.email})]})]}),e[16]=s,e[17]=m):m=e[17];let d;e[18]!==o||e[19]!==m?(d={id:"user",header:o,render:m,cellClassName:"flex-1 min-w-0"},e[18]=o,e[19]=m,e[20]=d):d=e[20];let c;e[21]!==s?(c=s("admin.users.columnEmail"),e[21]=s,e[22]=c):c=e[22];let u;e[23]!==s?(u=i=>i.emailVerified?t.jsx(D,{variant:"outline",className:"text-success border-success/20",children:s("admin.users.verified")}):t.jsx(D,{variant:"outline",className:"text-muted-foreground",children:s("admin.users.unverified")}),e[23]=s,e[24]=u):u=e[24];let f;e[25]!==c||e[26]!==u?(f={id:"verified",header:c,render:u,cellClassName:"w-28 shrink-0"},e[25]=c,e[26]=u,e[27]=f):f=e[27];let p;e[28]!==s?(p=s("admin.users.columnCreated"),e[28]=s,e[29]=p):p=e[29];let h;e[30]!==p?(h={id:"created",header:p,render:te,cellClassName:"w-48 shrink-0"},e[30]=p,e[31]=h):h=e[31];let x;e[32]!==P||e[33]!==E||e[34]!==s?(x={id:"actions",header:"",render:i=>t.jsx(W,{variant:"outline",size:"sm",disabled:i.id===P||E.isPending,onClick:()=>E.mutate(i.id),children:s("admin.users.impersonate")}),cellClassName:"w-32 shrink-0"},e[32]=P,e[33]=E,e[34]=s,e[35]=x):x=e[35];let T;e[36]!==f||e[37]!==h||e[38]!==x||e[39]!==d?(T=[d,f,h,x],e[36]=f,e[37]=h,e[38]=x,e[39]=d,e[40]=T):T=e[40];const F=T;let j;e[41]!==s?(j=s("admin.users.searchPlaceholder"),e[41]=s,e[42]=j):j=e[42];let g;e[43]!==a||e[44]!==j?(g=t.jsx(H,{value:a,onChange:M,placeholder:j,className:"w-full md:w-[375px]"}),e[43]=a,e[44]=j,e[45]=g):g=e[45];let S;e[46]!==r||e[47]!==A||e[48]!==s?(S=A?t.jsx(L,{title:s("admin.users.failedToLoadTitle"),description:s("admin.users.failedToLoadDescription")}):t.jsx(L,{title:s("admin.users.noUsersFoundTitle"),description:r?s("admin.users.noUsersMatchSearch",{search:r}):s("admin.users.noUsersYet")}),e[46]=r,e[47]=A,e[48]=s,e[49]=S):S=e[49];let v;e[50]!==F||e[51]!==_||e[52]!==S||e[53]!==B?(v=t.jsx(G,{columns:F,data:B,isLoading:_,emptyState:S}),e[50]=F,e[51]=_,e[52]=S,e[53]=B,e[54]=v):v=e[54];let U;return e[55]!==g||e[56]!==v?(U=t.jsx(I,{children:t.jsx(I.Content,{children:t.jsx(I.Body,{children:t.jsxs("div",{className:"flex flex-col gap-6",children:[g,v]})})})}),e[55]=g,e[56]=v,e[57]=U):U=e[57],U}function te(e){return t.jsx("span",{className:"text-sm text-foreground",children:ee(e.createdAt)})}function ie(){window.location.href="/"}function re(e){return K("/api/_admin/impersonate",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({userId:e})})}export{be as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as K,b as tt,r as et,j as s,m as ot,B as nt}from"./index-DMSyZ1PC.js";import{x as vt,X as dt,f as yt}from"./agent-icon-CCxdHfHq.js";import{i as Tt}from"./ChevronRight-pKqWhPFO.js";import{L as jt}from"./label-CuycpzyK.js";import{m as pt}from"./automation-runs-CjOXuQZP.js";import{S as Nt}from"./switch-BvId1h7x.js";import{T as wt,c as kt,a as Mt}from"./tooltip-CJ5Y5366.js";import{V as _t}from"./view-mode-toggle-DD3UaPAO.js";import"./AlertCircle-CWc3BvFb.js";import"./Tool01-ttrYDD-F.js";import"./ArrowUp-Dqm6yb7b.js";import"./Settings02-C48BmakR.js";import"./Tool02-1ZIphfq5.js";import"./ArrowRight-DnZw9chb.js";import"./ArrowUpRight-a-xAV1yD.js";import"./TrendUp01-DAMS2ptH.js";import"./ZapSquare-Bqk2MRuL.js";import"./ZoomOut-Ce4wv8I3.js";import"./Users03-Dxbbv3M0.js";import"./CheckCircle-Dx2byA8l.js";import"./Check-BXZBH--f.js";import"./ChevronDown-C82kSPQJ.js";import"./ChevronUp-Ur5tOU4r.js";import"./DotsVertical-CsPrfBHu.js";import"./Stars02-B1CYtkwJ.js";import"./Copy01-CjvNe041.js";import"./Globe01-bBcCao8m.js";import"./Eye-D6UmvuQl.js";import"./FilterLines-I4EBUx4y.js";import"./Star01-DbfqTNT0.js";import"./Globe04-BvAgykOe.js";import"./SwitchHorizontal01-DjC0A58U.js";import"./HardDrive-B1MltyIG.js";import"./Image01-CwV9iuxz.js";import"./Key01-C-044wq-.js";import"./LayoutLeft-B7XnXJCX.js";import"./XCircle-Bb4jhNm5.js";import"./LinkExternal01-Beo7SFkQ.js";import"./LogOut01-BbBoHzGS.js";import"./Monitor01-CNCx-B51.js";import"./Sun-CiZGxTK4.js";import"./Package-CidzBhtk.js";import"./Palette-DyqhX3Li.js";import"./Play-Bs1D_H9C.js";import"./Plus-CxvuE4Es.js";import"./SearchLg-D6bYV_e6.js";import"./SearchMd-CVAS4bHb.js";import"./Shield01-CpLEfQVx.js";import"./Stars01-DdKwQ9te.js";import"./Trash01-CbEfRhj4.js";import"./Upload01-CtTjeXyd.js";import"./User01-DvoPZa3L.js";import"./Users01-HKR3d_K9.js";import"./XClose-BLwV1Ngp.js";import"./X-Dc8jzuGp.js";import"./Zap-KiDFkWg-.js";import"./select-BZ2uyFha.js";import"./useInfiniteQuery-DWm0T-LL.js";import"./use-infinite-scroll-DSfn4Dq8.js";import"./use-connection-Ck7fU3Z4.js";import"./use-mcp-client-Bi1l5K5b.js";import"./auth-C488ati9.js";import"./use-virtual-mcp-B1_JZqx4.js";import"./card-Bqgf0tZo.js";import"./sidebar-VwrbgopG.js";import"./use-mobile-fV0eYRhU.js";import"./table-CbyMEuIw.js";import"./empty-state-C86_b7IP.js";import"./use-members-B-802VrQ.js";import"./use-org-auth-client-Byy_ag-z.js";import"./use-clock-tick-DXtOQtpb.js";import"./use-automations-CwOEXsLX.js";import"./studio-tools-D3Jh1aS_.js";import"./useSuspenseInfiniteQuery-DwMra6Dq.js";import"./avatar-Cc14VL9E.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-DLOqStvb.js";import"./file-type-icon-D3SBaNGX.js";import"./dialog-DXHGb8ov.js";import"./tab-id-BijBBRwE.js";import"./hooks-2lJrOuZm.js";import"./decopilot-sse-pool-XB4qOGfZ.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./chat-context-Dtvr7cnX.js";import"./autosend-iAh1cE6e.js";import"./use-ai-providers-Lg-k4_mA.js";import"./location-BpLtHjTZ.js";import"./use-decopilot-events-Bt-vNCWP.js";import"./use-organization-settings-BtpD3U3D.js";import"./monaco-editor-BTlS3Jcm.js";import"./index-C0xyoib4.js";import"./index-CfhyBu5A.js";import"./calendar-C5NP6DS-.js";import"./shell-layout-CQmTObw4.js";import"./required-auth-layout-B0hyPLrN.js";import"./use-org-sso-CqNJvI6A.js";import"./integration-icon-DxLbb9qy.js";import"./use-navigate-to-agent-D3lktxgi.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-8TuFtZwM.js";import"./form-XFZrliJE.js";import"./input-1RtsmTkF.js";const Et=new Set(["website/matchers/date.ts","$live/matchers/MatchDate.ts"]),St=new Set(["website/matchers/multi.ts","$live/matchers/MatchMulti.ts"]),Ct=new Date(-864e13),Dt=new Date(864e13),At=/\/flags\/multivariate(?:\/[^/]+)?\.ts$/,$t=/\/flags\/multivariate\.ts$/;function Lt(e){let t=e;t.startsWith("pages-")&&(t=t.slice(6).replace(/-\d+$/,""));try{t=decodeURIComponent(t)}catch{}return t}function Rt(e){if(!e||typeof e!="object")return null;const{start:t,end:n}=e,r=typeof t=="string",i=typeof n=="string";if(!r&&!i)return null;const o=r?new Date(t):Ct,a=i?new Date(n):Dt;return Number.isNaN(o.getTime())||Number.isNaN(a.getTime())||r&&i&&a.getTime()<=o.getTime()?null:{start:o,end:a,openStart:!r,openEnd:!i}}function ft(e,t){if(!e||typeof e!="object")return;const n=e.__resolveType;if(typeof n=="string"){if(Et.has(n)){const r=Rt(e);r&&t.push(r);return}if(St.has(n)){const r=e.matchers;if(Array.isArray(r))for(const i of r)ft(i,t)}}}function Ot(e){if(!e||typeof e!="object")return!1;const t=e.__resolveType;if(typeof t!="string"||!At.test(t))return!1;const n=e.variants;return Array.isArray(n)}function It(e){if(typeof e=="string"){const m=e.trim();if(m.length===0)return null;try{const c=new URL(m).pathname.split("/").filter(Boolean),d=c[c.length-1];if(d)return decodeURIComponent(d)}catch{}return m.length>80?`${m.slice(0,77)}…`:m}if(!e||typeof e!="object")return null;const t=e,n=t.config,i=t.desktop?.media,o=[t.title,t.name,t.label,t.alt,n?.title,n?.name,n?.typeAlert?.message,i?.alt,Array.isArray(t.matcher)?t.matcher[0]:void 0];for(const m of o)if(typeof m=="string"&&m.trim().length>0)return m.trim();const a=t.__resolveType;if(typeof a=="string"){const l=(a.split("/").pop()??a).replace(/\.(tsx?|jsx?)$/i,"");if(l.length>0)return l}return null}function Pt(e){const t=[];for(let n=0;n<e.length;n++){const r=e[n];typeof r=="number"?t.length>0?t[t.length-1]+=`[${r}]`:t.push(`[${r}]`):t.push(r)}return t.join(" · ")}function Q(e,t,n,r,i){if(Ot(e)){const o=e.variants,a=e.__resolveType,m=$t.test(a)?"":Pt(r);o.forEach((l,c)=>{if(!l||typeof l!="object")return;const d=l,f=[];if(ft(d.rule,f),f.length===0)return;const x=It(d.value)??(m||n);for(const h of f)i.push({blockKey:t,blockLabel:n,innerPath:m,variantIndex:c,start:h.start,end:h.end,openStart:h.openStart,openEnd:h.openEnd,label:x,flagResolveType:a})});for(let l=0;l<o.length;l++){const c=o[l];c&&typeof c=="object"&&Q(c.value,t,n,[...r,"variants",l,"value"],i)}return}if(Array.isArray(e)){for(let o=0;o<e.length;o++)Q(e[o],t,n,[...r,o],i);return}if(e&&typeof e=="object")for(const[o,a]of Object.entries(e))o!=="__resolveType"&&Q(a,t,n,[...r,o],i)}function Ft(e){if(!e)return[];const t=[];for(const[n,r]of Object.entries(e))Q(r,n,Lt(n),[],t);return t.sort((n,r)=>n.start.getTime()-r.start.getTime())}function Vt(e){const t=[...new Set(e)].sort(),n=new Map;return t.forEach((r,i)=>{const o=i*137.508%360;n.set(r,{bg:`oklch(0.62 0.14 ${o})`,text:"white",border:`oklch(0.50 0.14 ${o})`})}),n}const Ht={bg:"oklch(0.62 0.14 0)",text:"white",border:"oklch(0.50 0.14 0)"};function ut(e,t){return e.get(t)??Ht}const Bt=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],ht=["January","February","March","April","May","June","July","August","September","October","November","December"],gt=1440*60*1e3;function B(e){const t=new Date(e);return t.setHours(0,0,0,0),t}function xt(e){return new Date(e.getFullYear(),e.getMonth(),1)}function G(e,t){return new Date(e.getFullYear(),e.getMonth()+t,1)}function Z(e,t){const n=new Date(e);return n.setDate(n.getDate()+t),n}function st(e,t){return Math.round((B(e).getTime()-B(t).getTime())/gt)}function Wt(e){const t=(e.getTime()-B(e).getTime())/gt;return Math.min(Math.max(t,0),1)}function it(e,t){return st(e,t)+Wt(e)}function zt(e){const t=Z(e,-e.getDay()),n=[];for(let r=0;r<6;r++){const i=[];for(let o=0;o<7;o++)i.push(Z(t,r*7+o));n.push(i)}for(;n.length>0&&n[n.length-1].every(r=>r.getMonth()!==e.getMonth());)n.pop();return n}function Ut(e,t){const n=B(e[0]),r=Z(n,7),i=n.getTime(),o=r.getTime(),a=[];for(const c of t){const d=B(c.start),f=B(c.end);if(f.getTime()<n.getTime()||d.getTime()>=r.getTime())continue;const u=d.getTime()<n.getTime()?n:d,x=f.getTime()>=r.getTime()?Z(r,-1):f,h=st(u,n),g=st(x,u)+1;if(g<=0)continue;const b=Math.max(c.start.getTime(),i),j=Math.min(c.end.getTime(),o),v=it(new Date(b),n),p=Math.max(it(new Date(j),n)-v,0);p<=0||a.push({variant:c,startCol:h,span:g,leftUnits:v,widthUnits:p})}a.sort((c,d)=>c.startCol-d.startCol||d.span-c.span||c.variant.blockKey.localeCompare(d.variant.blockKey));const m=[],l=[];for(const c of a){let d=m.findIndex(f=>f<=c.startCol);d===-1&&(d=m.length,m.push(0)),m[d]=c.startCol+c.span,l.push({...c,lane:d})}return l}const at=new Intl.DateTimeFormat("en",{dateStyle:"medium",timeStyle:"short"});function Yt(e,t){const n=e.openStart?t("sandbox.variantCalendar.always"):at.format(e.start),r=e.openEnd?t("sandbox.variantCalendar.ongoing"):at.format(e.end);return`${n} → ${r}`}function Gt(e){const t=K.c(18),{variant:n}=e,r=tt();let i;t[0]!==n.blockLabel?(i=s.jsx("div",{className:"font-semibold",children:n.blockLabel}),t[0]=n.blockLabel,t[1]=i):i=t[1];let o;t[2]!==n.innerPath?(o=n.innerPath&&s.jsx("div",{className:"text-muted-foreground",children:n.innerPath}),t[2]=n.innerPath,t[3]=o):o=t[3];let a;t[4]!==n.blockLabel||t[5]!==n.innerPath||t[6]!==n.label?(a=n.label!==n.blockLabel&&n.label!==n.innerPath&&s.jsx("div",{className:"text-muted-foreground",children:n.label}),t[4]=n.blockLabel,t[5]=n.innerPath,t[6]=n.label,t[7]=a):a=t[7];let m;t[8]!==r||t[9]!==n?(m=Yt(n,r),t[8]=r,t[9]=n,t[10]=m):m=t[10];let l;t[11]!==m?(l=s.jsx("div",{className:"mt-1",children:m}),t[11]=m,t[12]=l):l=t[12];let c;return t[13]!==i||t[14]!==o||t[15]!==a||t[16]!==l?(c=s.jsx(Mt,{children:s.jsxs("div",{className:"text-xs",children:[i,o,a,l]})}),t[13]=i,t[14]=o,t[15]=a,t[16]=l,t[17]=c):c=t[17],c}const lt=16;function Kt(e,t){const n=e?"transparent":"#000 0",r=t?"transparent":"#000 100%";if(!(!e&&!t))return`linear-gradient(to right, ${n}, #000 ${lt}px, #000 calc(100% - ${lt}px), ${r})`}function bt(e){const t=K.c(26),{variant:n,color:r,style:i,children:o,fadeStart:a,fadeEnd:m}=e,l=a===void 0?!1:a,c=m===void 0?!1:m;let d;t[0]!==c||t[1]!==l?(d=Kt(l,c),t[0]=c,t[1]=l,t[2]=d):d=t[2];const f=d;let u;t[3]!==l?(u=l&&{borderTopLeftRadius:0,borderBottomLeftRadius:0},t[3]=l,t[4]=u):u=t[4];let x;t[5]!==c?(x=c&&{borderTopRightRadius:0,borderBottomRightRadius:0},t[5]=c,t[6]=x):x=t[6];let h;t[7]!==f?(h=f&&{maskImage:f,WebkitMaskImage:f},t[7]=f,t[8]=h):h=t[8];let g;t[9]!==r.bg||t[10]!==r.text||t[11]!==i||t[12]!==u||t[13]!==x||t[14]!==h?(g={background:r.bg,color:r.text,borderRadius:4,...u,...x,...h,...i},t[9]=r.bg,t[10]=r.text,t[11]=i,t[12]=u,t[13]=x,t[14]=h,t[15]=g):g=t[15];let b;t[16]!==o?(b=s.jsx("span",{className:"truncate",children:o}),t[16]=o,t[17]=b):b=t[17];let j;t[18]!==g||t[19]!==b?(j=s.jsx(wt,{asChild:!0,children:s.jsx("div",{className:"absolute flex items-center px-2 text-[11px] font-medium truncate cursor-default",style:g,children:b})}),t[18]=g,t[19]=b,t[20]=j):j=t[20];let v;t[21]!==n?(v=s.jsx(Gt,{variant:n}),t[21]=n,t[22]=v):v=t[22];let p;return t[23]!==v||t[24]!==j?(p=s.jsxs(kt,{children:[j,v]}),t[23]=v,t[24]=j,t[25]=p):p=t[25],p}function ir(e){const t=K.c(72),{decofile:n}=e,r=tt(),[i,o]=et.useState("calendar"),[a,m]=et.useState(Qt),[l,c]=et.useState(!1);let d,f,u;if(t[0]!==n||t[1]!==l){const P=Ft(n);d=P.filter(qt).length,u=l?P:P.filter(Xt),f=Vt(u.map(Jt)),t[0]=n,t[1]=l,t[2]=d,t[3]=f,t[4]=u}else d=t[2],f=t[3],u=t[4];const x=f;let h;t[5]===Symbol.for("react.memo_cache_sentinel")?(h=()=>m(xt(new Date)),t[5]=h):h=t[5];const g=h;let b;t[6]!==i?(b=()=>m(P=>i==="calendar"?G(P,-1):G(P,-3)),t[6]=i,t[7]=b):b=t[7];const j=b;let v;t[8]!==i?(v=()=>m(P=>i==="calendar"?G(P,1):G(P,3)),t[8]=i,t[9]=v):v=t[9];const p=v;let y;t[10]!==r?(y=r("sandbox.variantCalendar.today"),t[10]=r,t[11]=y):y=t[11];let T;t[12]!==y?(T=s.jsx(nt,{variant:"outline",size:"sm",onClick:g,children:y}),t[12]=y,t[13]=T):T=t[13];let w;t[14]!==r?(w=r("sandbox.variantCalendar.previous"),t[14]=r,t[15]=w):w=t[15];let D;t[16]===Symbol.for("react.memo_cache_sentinel")?(D=s.jsx(vt,{size:16}),t[16]=D):D=t[16];let k;t[17]!==j||t[18]!==w?(k=s.jsx(nt,{variant:"ghost",size:"icon",className:"size-8",onClick:j,"aria-label":w,children:D}),t[17]=j,t[18]=w,t[19]=k):k=t[19];let M;t[20]!==r?(M=r("sandbox.variantCalendar.next"),t[20]=r,t[21]=M):M=t[21];let S;t[22]===Symbol.for("react.memo_cache_sentinel")?(S=s.jsx(Tt,{size:16}),t[22]=S):S=t[22];let A;t[23]!==p||t[24]!==M?(A=s.jsx(nt,{variant:"ghost",size:"icon",className:"size-8",onClick:p,"aria-label":M,children:S}),t[23]=p,t[24]=M,t[25]=A):A=t[25];const $=ht[a.getMonth()];let C;t[26]!==a?(C=a.getFullYear(),t[26]=a,t[27]=C):C=t[27];let _;t[28]!==$||t[29]!==C?(_=s.jsxs("h2",{className:"ml-2 text-base font-semibold",children:[$," ",C]}),t[28]=$,t[29]=C,t[30]=_):_=t[30];let N;t[31]!==A||t[32]!==_||t[33]!==T||t[34]!==k?(N=s.jsxs("div",{className:"flex items-center gap-2",children:[T,k,A,_]}),t[31]=A,t[32]=_,t[33]=T,t[34]=k,t[35]=N):N=t[35];let L;t[36]!==d||t[37]!==l||t[38]!==r?(L=d>0&&s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(Nt,{id:"show-ongoing",checked:l,onCheckedChange:c}),s.jsx(jt,{htmlFor:"show-ongoing",className:"text-xs text-muted-foreground cursor-pointer",children:r("sandbox.variantCalendar.showOngoing",{count:d})})]}),t[36]=d,t[37]=l,t[38]=r,t[39]=L):L=t[39];let H;t[40]===Symbol.for("react.memo_cache_sentinel")?(H=s.jsx(dt,{}),t[40]=H):H=t[40];let F;t[41]!==r?(F=r("sandbox.variantCalendar.calendarMode"),t[41]=r,t[42]=F):F=t[42];let E;t[43]!==F?(E={value:"calendar",icon:H,label:F},t[43]=F,t[44]=E):E=t[44];let W;t[45]===Symbol.for("react.memo_cache_sentinel")?(W=s.jsx(yt,{}),t[45]=W):W=t[45];let R;t[46]!==r?(R=r("sandbox.variantCalendar.timelineMode"),t[46]=r,t[47]=R):R=t[47];let O;t[48]!==R?(O={value:"timeline",icon:W,label:R},t[48]=R,t[49]=O):O=t[49];let I;t[50]!==E||t[51]!==O?(I=[E,O],t[50]=E,t[51]=O,t[52]=I):I=t[52];let V;t[53]!==I||t[54]!==i?(V=s.jsx(_t,{value:i,onValueChange:o,options:I}),t[53]=I,t[54]=i,t[55]=V):V=t[55];let z;t[56]!==L||t[57]!==V?(z=s.jsxs("div",{className:"flex items-center gap-4",children:[L,V]}),t[56]=L,t[57]=V,t[58]=z):z=t[58];let U;t[59]!==N||t[60]!==z?(U=s.jsxs("div",{className:"flex items-center justify-between px-4 h-12 border-b shrink-0",children:[N,z]}),t[59]=N,t[60]=z,t[61]=U):U=t[61];let Y;t[62]!==x||t[63]!==a||t[64]!==d||t[65]!==l||t[66]!==u||t[67]!==i?(Y=u.length===0?s.jsx(Zt,{hiddenOngoing:l?0:d}):i==="calendar"?s.jsx(ee,{monthStart:a,variants:u,colorMap:x}):s.jsx(oe,{monthStart:a,variants:u,colorMap:x}),t[62]=x,t[63]=a,t[64]=d,t[65]=l,t[66]=u,t[67]=i,t[68]=Y):Y=t[68];let X;return t[69]!==U||t[70]!==Y?(X=s.jsxs("div",{className:"flex h-full w-full flex-col",children:[U,Y]}),t[69]=U,t[70]=Y,t[71]=X):X=t[71],X}function Jt(e){return e.blockKey}function Xt(e){return!e.openEnd}function qt(e){return e.openEnd}function Qt(){return xt(new Date)}function Zt(e){const t=K.c(4),{hiddenOngoing:n}=e,r=n===void 0?0:n,i=tt();let o;t[0]===Symbol.for("react.memo_cache_sentinel")?(o=s.jsx(dt,{size:24,className:"text-muted-foreground/60"}),t[0]=o):o=t[0];let a;return t[1]!==r||t[2]!==i?(a=s.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center gap-2 text-center text-sm text-muted-foreground p-6",children:[o,r>0?s.jsxs(s.Fragment,{children:[s.jsx("div",{children:i("sandbox.variantCalendar.noDatedVariants")}),s.jsx("div",{className:"text-xs text-muted-foreground/80",children:i("sandbox.variantCalendar.hiddenOngoingVariants",{count:r})})]}):s.jsxs(s.Fragment,{children:[s.jsx("div",{children:i("sandbox.variantCalendar.noScheduledVariants")}),s.jsx("div",{className:"text-xs text-muted-foreground/80",children:i("sandbox.variantCalendar.dateMatcherInfo")})]})]}),t[1]=r,t[2]=i,t[3]=a):a=t[3],a}const rt=20,ct=2,mt=28,te=6;function ee(e){const t=K.c(17),{monthStart:n,variants:r,colorMap:i}=e;let o,a,m,l,c;if(t[0]!==i||t[1]!==n||t[2]!==r){const u=zt(n),x=B(new Date);o=pt,c="flex-1 min-h-0",a="min-w-[840px]",t[8]===Symbol.for("react.memo_cache_sentinel")?(m=s.jsx("div",{className:"grid grid-cols-7 border-b text-xs text-muted-foreground sticky top-0 bg-background z-10",children:Bt.map(re)}),t[8]=m):m=t[8],l=u.map((h,g)=>{const b=Ut(h,r),j=b.reduce(ne,0),v=mt+j*(rt+ct)+8;return s.jsxs("div",{className:"grid grid-cols-7 relative border-b",style:{height:v},children:[h.map((p,y)=>{const T=p.getMonth()===n.getMonth(),w=p.getTime()===x.getTime();return s.jsx("div",{className:ot("border-r last:border-r-0 px-2 pt-1.5 text-xs",T?"bg-background":"bg-muted/30 text-muted-foreground"),children:s.jsx("span",{className:ot("inline-flex h-5 min-w-5 items-center justify-center rounded-full px-1",w&&"bg-primary text-primary-foreground font-semibold"),children:p.getDate()})},y)}),b.map((p,y)=>{const T=ut(i,p.variant.blockKey),w=mt+p.lane*(rt+ct),D=p.leftUnits/7*100,k=p.widthUnits/7*100,M=p.variant.openStart&&g===0,S=p.variant.openEnd&&g===u.length-1;return s.jsxs(bt,{variant:p.variant,color:T,fadeStart:M,fadeEnd:S,style:{top:w,left:`calc(${D}% + 2px)`,width:`calc(${k}% - 4px)`,minWidth:te,height:rt},children:[p.variant.blockLabel,p.variant.label!==p.variant.blockLabel&&s.jsxs("span",{className:"opacity-70",children:[" · ",p.variant.label]})]},`${g}-${y}`)})]},g)}),t[0]=i,t[1]=n,t[2]=r,t[3]=o,t[4]=a,t[5]=m,t[6]=l,t[7]=c}else o=t[3],a=t[4],m=t[5],l=t[6],c=t[7];let d;t[9]!==a||t[10]!==m||t[11]!==l?(d=s.jsxs("div",{className:a,children:[m,l]}),t[9]=a,t[10]=m,t[11]=l,t[12]=d):d=t[12];let f;return t[13]!==o||t[14]!==c||t[15]!==d?(f=s.jsx(o,{className:c,children:d}),t[13]=o,t[14]=c,t[15]=d,t[16]=f):f=t[16],f}function ne(e,t){return Math.max(e,t.lane+1)}function re(e){return s.jsx("div",{className:"px-2 py-2 text-center uppercase tracking-wide",children:e},e)}const q=4,se=32,J=240;function oe(e){const t=K.c(23),{monthStart:n,variants:r,colorMap:i}=e,o=n,a=G(n,q),m=new Date,l=new Map;for(const _ of r){const N=l.get(_.blockKey)??[];N.push(_),l.set(_.blockKey,N)}const c=Array.from(l.entries()).sort(le),d=a.getTime()-o.getTime(),f=_=>(Math.max(o.getTime(),Math.min(a.getTime(),_.getTime()))-o.getTime())/d*100;let u;t[0]!==o?(u=(_,N)=>G(o,N),t[0]=o,t[1]=u):u=t[1];const x=Array.from({length:q},u),h=m.getTime()>=o.getTime()&&m.getTime()<=a.getTime()?f(m):null,g=tt(),b=pt,j="flex-1 min-h-0",v="min-w-[900px] relative";let p;t[2]===Symbol.for("react.memo_cache_sentinel")?(p={width:J},t[2]=p):p=t[2];let y;t[3]!==g?(y=g("sandbox.variantCalendar.variantBlock"),t[3]=g,t[4]=y):y=t[4];let T;t[5]!==y?(T=s.jsx("div",{className:"shrink-0 px-3 py-2 text-xs font-semibold uppercase tracking-wide text-muted-foreground border-r",style:p,children:y}),t[5]=y,t[6]=T):T=t[6];let w;t[7]===Symbol.for("react.memo_cache_sentinel")?(w={gridTemplateColumns:`repeat(${q}, minmax(0, 1fr))`},t[7]=w):w=t[7];const D=x.map(ae);let k;t[8]!==D?(k=s.jsx("div",{className:"flex-1 grid",style:w,children:D}),t[8]=D,t[9]=k):k=t[9];let M;t[10]!==T||t[11]!==k?(M=s.jsxs("div",{className:"flex border-b sticky top-0 bg-background z-10",children:[T,k]}),t[10]=T,t[11]=k,t[12]=M):M=t[12];let S;t[13]!==g||t[14]!==h?(S=h!==null&&s.jsx("div",{className:"pointer-events-none absolute top-0 bottom-0 w-px bg-primary/70 z-[5]",style:{left:`calc(${J}px + (100% - ${J}px) * ${h} / 100)`},children:s.jsx("span",{className:"absolute -top-0.5 -translate-x-1/2 rounded-sm bg-primary px-1.5 py-px text-[10px] font-medium text-primary-foreground",children:g("sandbox.variantCalendar.todayLabel")})}),t[13]=g,t[14]=h,t[15]=S):S=t[15];const A=c.map(_=>{const[N,L]=_,H=ut(i,N),F=L[0]?.blockLabel??N;return s.jsxs("div",{children:[s.jsx("div",{className:"flex items-center bg-muted/40 border-b text-xs font-semibold uppercase tracking-wide text-muted-foreground",style:{height:28},children:s.jsx("div",{className:"px-3 truncate",style:{width:J},children:F})}),L.map((E,W)=>s.jsxs("div",{className:"flex border-b items-center",style:{height:se},children:[s.jsxs("div",{className:"flex items-center gap-2 px-3 text-sm border-r shrink-0",style:{width:J},children:[s.jsx("span",{className:"inline-block h-2 w-2 rounded-full shrink-0",style:{background:H.bg}}),s.jsx("span",{className:"truncate text-foreground/80",children:E.label})]}),s.jsxs("div",{className:"relative flex-1 h-full",children:[s.jsx("div",{className:"absolute inset-0 grid",style:{gridTemplateColumns:`repeat(${q}, minmax(0, 1fr))`},children:x.map(ie)}),(()=>{const R=Math.max(E.start.getTime(),o.getTime()),O=Math.min(E.end.getTime(),a.getTime());if(O<=R)return null;const I=f(new Date(R)),V=f(new Date(O))-I;return s.jsx(bt,{variant:E,color:H,fadeStart:E.openStart,fadeEnd:E.openEnd,style:{top:"50%",transform:"translateY(-50%)",left:`${I}%`,width:`calc(${V}% - 2px)`,height:22},children:E.label})})()]})]},W))]},N)});let $;t[16]!==M||t[17]!==S||t[18]!==A?($=s.jsxs("div",{className:v,children:[M,S,A]}),t[16]=M,t[17]=S,t[18]=A,t[19]=$):$=t[19];let C;return t[20]!==b||t[21]!==$?(C=s.jsx(b,{className:j,children:$}),t[20]=b,t[21]=$,t[22]=C):C=t[22],C}function ie(e,t){return s.jsx("div",{className:"border-r last:border-r-0 border-border/40"},t)}function ae(e,t){return s.jsxs("div",{className:"px-2 py-2 text-xs uppercase tracking-wide text-muted-foreground border-r last:border-r-0",children:[ht[e.getMonth()]?.slice(0,3)," ",e.getFullYear()]},t)}function le(e,t){return e[0].localeCompare(t[0])}export{ir as VariantCalendar};
|
|
1
|
+
import{c as K,b as tt,r as et,j as s,m as ot,B as nt}from"./index-B5pAcdCj.js";import{x as vt,X as dt,f as yt}from"./agent-icon-CVTpL47E.js";import{i as Tt}from"./ChevronRight-LyFia1m2.js";import{L as jt}from"./label-3zDA4sob.js";import{m as pt}from"./automation-runs-BBa6tRzS.js";import{S as Nt}from"./switch-BAJU0bt_.js";import{T as wt,c as kt,a as Mt}from"./tooltip-sTtjDvoo.js";import{V as _t}from"./view-mode-toggle-B-B7GuI8.js";import"./AlertCircle-BgL3YyuU.js";import"./Tool01-KoLvuxqs.js";import"./ArrowUp-R6RJmaXD.js";import"./Settings02-B5bpoiG8.js";import"./Tool02-D3ImSqnS.js";import"./ArrowRight-KW3xq1r6.js";import"./ArrowUpRight-WNzzQ_3i.js";import"./TrendUp01-BZX0N7yA.js";import"./ZapSquare-DmF34u5V.js";import"./ZoomOut-B4I1BQI_.js";import"./Users03-WL_LA7La.js";import"./CheckCircle-DRPVedxI.js";import"./Check-rFuMW35j.js";import"./ChevronDown-D48jTswz.js";import"./ChevronUp-Bf993jF8.js";import"./DotsVertical-IM9-cL94.js";import"./Stars02-C4BXaIW2.js";import"./Copy01-6Lk3T5kb.js";import"./Globe01-B3eOB-bI.js";import"./Eye-DQ8_2da9.js";import"./FilterLines-DI_Qm1qr.js";import"./Star01-DAVevbnE.js";import"./Globe04-4yBmV3D1.js";import"./SwitchHorizontal01-BS092iWr.js";import"./HardDrive-4DIbsS2x.js";import"./Image01-CCt0OnVG.js";import"./Key01-CE5ANePO.js";import"./LayoutLeft-CbYbxxcX.js";import"./XCircle-CyI4fk4M.js";import"./LinkExternal01-CORYkI7c.js";import"./LogOut01-wWv0KF8i.js";import"./Monitor01-C3jWkuS8.js";import"./Sun-DL5_VVPF.js";import"./Package-aTPkrhbY.js";import"./Palette-75tVOLKn.js";import"./Play-CyFg0Xnr.js";import"./Plus-DITXLV6z.js";import"./SearchLg-D7Ui27Oz.js";import"./SearchMd-b92Qgt9y.js";import"./Shield01-DdEEjcd8.js";import"./Stars01-C03S5tVj.js";import"./Trash01-LLStDuc3.js";import"./Upload01-DSslfT87.js";import"./User01-CD3D25HA.js";import"./Users01-Cer51we5.js";import"./XClose-Bafb0lXd.js";import"./X-BOD96Sav.js";import"./Zap-CbGxXZqE.js";import"./select-CWeHkbd3.js";import"./useInfiniteQuery-DkWmKdoR.js";import"./use-infinite-scroll-B3Us0FOa.js";import"./use-connection-n1ELT1mr.js";import"./use-mcp-client-CFH86W63.js";import"./auth-DSO-QxMv.js";import"./use-virtual-mcp-Tg-eDvSu.js";import"./card-DN0OMeD8.js";import"./sidebar-Cv557HRI.js";import"./use-mobile-BWrDGidp.js";import"./table-D2y5PNds.js";import"./empty-state-DZyW1mhx.js";import"./use-members-DQ4Ax4Dt.js";import"./use-org-auth-client-wPL3_F1w.js";import"./use-clock-tick-pfKuMtst.js";import"./use-automations-DTVDL9Ac.js";import"./studio-tools-BuOVhTAA.js";import"./useSuspenseInfiniteQuery-CoNmOb3b.js";import"./avatar-CAlKFgYv.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-CODIBpYX.js";import"./file-type-icon-5sVl9s18.js";import"./dialog-DgPEwnKb.js";import"./tab-id-BijBBRwE.js";import"./hooks-Bk5QuAXL.js";import"./decopilot-sse-pool-BBLfaSrg.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./chat-context-CkIYHDAo.js";import"./autosend-DRl8LNUl.js";import"./use-ai-providers-C8qA53zS.js";import"./location-BpLtHjTZ.js";import"./use-decopilot-events-BcQN2EhC.js";import"./use-organization-settings-BZVys_CJ.js";import"./monaco-editor-Br0-yvqe.js";import"./index-DtfjCN6O.js";import"./index-DFySzIf4.js";import"./calendar-DJl7BUkw.js";import"./shell-layout-CIdA6eed.js";import"./required-auth-layout-D9l0Xiy5.js";import"./use-org-sso-CLEffSXU.js";import"./integration-icon-DoUJ97wM.js";import"./use-navigate-to-agent-CeEInzVl.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-CJz2G6k1.js";import"./form-DkQE4eVe.js";import"./input-BdNp94xl.js";const Et=new Set(["website/matchers/date.ts","$live/matchers/MatchDate.ts"]),St=new Set(["website/matchers/multi.ts","$live/matchers/MatchMulti.ts"]),Ct=new Date(-864e13),Dt=new Date(864e13),At=/\/flags\/multivariate(?:\/[^/]+)?\.ts$/,$t=/\/flags\/multivariate\.ts$/;function Lt(e){let t=e;t.startsWith("pages-")&&(t=t.slice(6).replace(/-\d+$/,""));try{t=decodeURIComponent(t)}catch{}return t}function Rt(e){if(!e||typeof e!="object")return null;const{start:t,end:n}=e,r=typeof t=="string",i=typeof n=="string";if(!r&&!i)return null;const o=r?new Date(t):Ct,a=i?new Date(n):Dt;return Number.isNaN(o.getTime())||Number.isNaN(a.getTime())||r&&i&&a.getTime()<=o.getTime()?null:{start:o,end:a,openStart:!r,openEnd:!i}}function ft(e,t){if(!e||typeof e!="object")return;const n=e.__resolveType;if(typeof n=="string"){if(Et.has(n)){const r=Rt(e);r&&t.push(r);return}if(St.has(n)){const r=e.matchers;if(Array.isArray(r))for(const i of r)ft(i,t)}}}function Ot(e){if(!e||typeof e!="object")return!1;const t=e.__resolveType;if(typeof t!="string"||!At.test(t))return!1;const n=e.variants;return Array.isArray(n)}function It(e){if(typeof e=="string"){const m=e.trim();if(m.length===0)return null;try{const c=new URL(m).pathname.split("/").filter(Boolean),d=c[c.length-1];if(d)return decodeURIComponent(d)}catch{}return m.length>80?`${m.slice(0,77)}…`:m}if(!e||typeof e!="object")return null;const t=e,n=t.config,i=t.desktop?.media,o=[t.title,t.name,t.label,t.alt,n?.title,n?.name,n?.typeAlert?.message,i?.alt,Array.isArray(t.matcher)?t.matcher[0]:void 0];for(const m of o)if(typeof m=="string"&&m.trim().length>0)return m.trim();const a=t.__resolveType;if(typeof a=="string"){const l=(a.split("/").pop()??a).replace(/\.(tsx?|jsx?)$/i,"");if(l.length>0)return l}return null}function Pt(e){const t=[];for(let n=0;n<e.length;n++){const r=e[n];typeof r=="number"?t.length>0?t[t.length-1]+=`[${r}]`:t.push(`[${r}]`):t.push(r)}return t.join(" · ")}function Q(e,t,n,r,i){if(Ot(e)){const o=e.variants,a=e.__resolveType,m=$t.test(a)?"":Pt(r);o.forEach((l,c)=>{if(!l||typeof l!="object")return;const d=l,f=[];if(ft(d.rule,f),f.length===0)return;const x=It(d.value)??(m||n);for(const h of f)i.push({blockKey:t,blockLabel:n,innerPath:m,variantIndex:c,start:h.start,end:h.end,openStart:h.openStart,openEnd:h.openEnd,label:x,flagResolveType:a})});for(let l=0;l<o.length;l++){const c=o[l];c&&typeof c=="object"&&Q(c.value,t,n,[...r,"variants",l,"value"],i)}return}if(Array.isArray(e)){for(let o=0;o<e.length;o++)Q(e[o],t,n,[...r,o],i);return}if(e&&typeof e=="object")for(const[o,a]of Object.entries(e))o!=="__resolveType"&&Q(a,t,n,[...r,o],i)}function Ft(e){if(!e)return[];const t=[];for(const[n,r]of Object.entries(e))Q(r,n,Lt(n),[],t);return t.sort((n,r)=>n.start.getTime()-r.start.getTime())}function Vt(e){const t=[...new Set(e)].sort(),n=new Map;return t.forEach((r,i)=>{const o=i*137.508%360;n.set(r,{bg:`oklch(0.62 0.14 ${o})`,text:"white",border:`oklch(0.50 0.14 ${o})`})}),n}const Ht={bg:"oklch(0.62 0.14 0)",text:"white",border:"oklch(0.50 0.14 0)"};function ut(e,t){return e.get(t)??Ht}const Bt=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],ht=["January","February","March","April","May","June","July","August","September","October","November","December"],gt=1440*60*1e3;function B(e){const t=new Date(e);return t.setHours(0,0,0,0),t}function xt(e){return new Date(e.getFullYear(),e.getMonth(),1)}function G(e,t){return new Date(e.getFullYear(),e.getMonth()+t,1)}function Z(e,t){const n=new Date(e);return n.setDate(n.getDate()+t),n}function st(e,t){return Math.round((B(e).getTime()-B(t).getTime())/gt)}function Wt(e){const t=(e.getTime()-B(e).getTime())/gt;return Math.min(Math.max(t,0),1)}function it(e,t){return st(e,t)+Wt(e)}function zt(e){const t=Z(e,-e.getDay()),n=[];for(let r=0;r<6;r++){const i=[];for(let o=0;o<7;o++)i.push(Z(t,r*7+o));n.push(i)}for(;n.length>0&&n[n.length-1].every(r=>r.getMonth()!==e.getMonth());)n.pop();return n}function Ut(e,t){const n=B(e[0]),r=Z(n,7),i=n.getTime(),o=r.getTime(),a=[];for(const c of t){const d=B(c.start),f=B(c.end);if(f.getTime()<n.getTime()||d.getTime()>=r.getTime())continue;const u=d.getTime()<n.getTime()?n:d,x=f.getTime()>=r.getTime()?Z(r,-1):f,h=st(u,n),g=st(x,u)+1;if(g<=0)continue;const b=Math.max(c.start.getTime(),i),j=Math.min(c.end.getTime(),o),v=it(new Date(b),n),p=Math.max(it(new Date(j),n)-v,0);p<=0||a.push({variant:c,startCol:h,span:g,leftUnits:v,widthUnits:p})}a.sort((c,d)=>c.startCol-d.startCol||d.span-c.span||c.variant.blockKey.localeCompare(d.variant.blockKey));const m=[],l=[];for(const c of a){let d=m.findIndex(f=>f<=c.startCol);d===-1&&(d=m.length,m.push(0)),m[d]=c.startCol+c.span,l.push({...c,lane:d})}return l}const at=new Intl.DateTimeFormat("en",{dateStyle:"medium",timeStyle:"short"});function Yt(e,t){const n=e.openStart?t("sandbox.variantCalendar.always"):at.format(e.start),r=e.openEnd?t("sandbox.variantCalendar.ongoing"):at.format(e.end);return`${n} → ${r}`}function Gt(e){const t=K.c(18),{variant:n}=e,r=tt();let i;t[0]!==n.blockLabel?(i=s.jsx("div",{className:"font-semibold",children:n.blockLabel}),t[0]=n.blockLabel,t[1]=i):i=t[1];let o;t[2]!==n.innerPath?(o=n.innerPath&&s.jsx("div",{className:"text-muted-foreground",children:n.innerPath}),t[2]=n.innerPath,t[3]=o):o=t[3];let a;t[4]!==n.blockLabel||t[5]!==n.innerPath||t[6]!==n.label?(a=n.label!==n.blockLabel&&n.label!==n.innerPath&&s.jsx("div",{className:"text-muted-foreground",children:n.label}),t[4]=n.blockLabel,t[5]=n.innerPath,t[6]=n.label,t[7]=a):a=t[7];let m;t[8]!==r||t[9]!==n?(m=Yt(n,r),t[8]=r,t[9]=n,t[10]=m):m=t[10];let l;t[11]!==m?(l=s.jsx("div",{className:"mt-1",children:m}),t[11]=m,t[12]=l):l=t[12];let c;return t[13]!==i||t[14]!==o||t[15]!==a||t[16]!==l?(c=s.jsx(Mt,{children:s.jsxs("div",{className:"text-xs",children:[i,o,a,l]})}),t[13]=i,t[14]=o,t[15]=a,t[16]=l,t[17]=c):c=t[17],c}const lt=16;function Kt(e,t){const n=e?"transparent":"#000 0",r=t?"transparent":"#000 100%";if(!(!e&&!t))return`linear-gradient(to right, ${n}, #000 ${lt}px, #000 calc(100% - ${lt}px), ${r})`}function bt(e){const t=K.c(26),{variant:n,color:r,style:i,children:o,fadeStart:a,fadeEnd:m}=e,l=a===void 0?!1:a,c=m===void 0?!1:m;let d;t[0]!==c||t[1]!==l?(d=Kt(l,c),t[0]=c,t[1]=l,t[2]=d):d=t[2];const f=d;let u;t[3]!==l?(u=l&&{borderTopLeftRadius:0,borderBottomLeftRadius:0},t[3]=l,t[4]=u):u=t[4];let x;t[5]!==c?(x=c&&{borderTopRightRadius:0,borderBottomRightRadius:0},t[5]=c,t[6]=x):x=t[6];let h;t[7]!==f?(h=f&&{maskImage:f,WebkitMaskImage:f},t[7]=f,t[8]=h):h=t[8];let g;t[9]!==r.bg||t[10]!==r.text||t[11]!==i||t[12]!==u||t[13]!==x||t[14]!==h?(g={background:r.bg,color:r.text,borderRadius:4,...u,...x,...h,...i},t[9]=r.bg,t[10]=r.text,t[11]=i,t[12]=u,t[13]=x,t[14]=h,t[15]=g):g=t[15];let b;t[16]!==o?(b=s.jsx("span",{className:"truncate",children:o}),t[16]=o,t[17]=b):b=t[17];let j;t[18]!==g||t[19]!==b?(j=s.jsx(wt,{asChild:!0,children:s.jsx("div",{className:"absolute flex items-center px-2 text-[11px] font-medium truncate cursor-default",style:g,children:b})}),t[18]=g,t[19]=b,t[20]=j):j=t[20];let v;t[21]!==n?(v=s.jsx(Gt,{variant:n}),t[21]=n,t[22]=v):v=t[22];let p;return t[23]!==v||t[24]!==j?(p=s.jsxs(kt,{children:[j,v]}),t[23]=v,t[24]=j,t[25]=p):p=t[25],p}function ir(e){const t=K.c(72),{decofile:n}=e,r=tt(),[i,o]=et.useState("calendar"),[a,m]=et.useState(Qt),[l,c]=et.useState(!1);let d,f,u;if(t[0]!==n||t[1]!==l){const P=Ft(n);d=P.filter(qt).length,u=l?P:P.filter(Xt),f=Vt(u.map(Jt)),t[0]=n,t[1]=l,t[2]=d,t[3]=f,t[4]=u}else d=t[2],f=t[3],u=t[4];const x=f;let h;t[5]===Symbol.for("react.memo_cache_sentinel")?(h=()=>m(xt(new Date)),t[5]=h):h=t[5];const g=h;let b;t[6]!==i?(b=()=>m(P=>i==="calendar"?G(P,-1):G(P,-3)),t[6]=i,t[7]=b):b=t[7];const j=b;let v;t[8]!==i?(v=()=>m(P=>i==="calendar"?G(P,1):G(P,3)),t[8]=i,t[9]=v):v=t[9];const p=v;let y;t[10]!==r?(y=r("sandbox.variantCalendar.today"),t[10]=r,t[11]=y):y=t[11];let T;t[12]!==y?(T=s.jsx(nt,{variant:"outline",size:"sm",onClick:g,children:y}),t[12]=y,t[13]=T):T=t[13];let w;t[14]!==r?(w=r("sandbox.variantCalendar.previous"),t[14]=r,t[15]=w):w=t[15];let D;t[16]===Symbol.for("react.memo_cache_sentinel")?(D=s.jsx(vt,{size:16}),t[16]=D):D=t[16];let k;t[17]!==j||t[18]!==w?(k=s.jsx(nt,{variant:"ghost",size:"icon",className:"size-8",onClick:j,"aria-label":w,children:D}),t[17]=j,t[18]=w,t[19]=k):k=t[19];let M;t[20]!==r?(M=r("sandbox.variantCalendar.next"),t[20]=r,t[21]=M):M=t[21];let S;t[22]===Symbol.for("react.memo_cache_sentinel")?(S=s.jsx(Tt,{size:16}),t[22]=S):S=t[22];let A;t[23]!==p||t[24]!==M?(A=s.jsx(nt,{variant:"ghost",size:"icon",className:"size-8",onClick:p,"aria-label":M,children:S}),t[23]=p,t[24]=M,t[25]=A):A=t[25];const $=ht[a.getMonth()];let C;t[26]!==a?(C=a.getFullYear(),t[26]=a,t[27]=C):C=t[27];let _;t[28]!==$||t[29]!==C?(_=s.jsxs("h2",{className:"ml-2 text-base font-semibold",children:[$," ",C]}),t[28]=$,t[29]=C,t[30]=_):_=t[30];let N;t[31]!==A||t[32]!==_||t[33]!==T||t[34]!==k?(N=s.jsxs("div",{className:"flex items-center gap-2",children:[T,k,A,_]}),t[31]=A,t[32]=_,t[33]=T,t[34]=k,t[35]=N):N=t[35];let L;t[36]!==d||t[37]!==l||t[38]!==r?(L=d>0&&s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(Nt,{id:"show-ongoing",checked:l,onCheckedChange:c}),s.jsx(jt,{htmlFor:"show-ongoing",className:"text-xs text-muted-foreground cursor-pointer",children:r("sandbox.variantCalendar.showOngoing",{count:d})})]}),t[36]=d,t[37]=l,t[38]=r,t[39]=L):L=t[39];let H;t[40]===Symbol.for("react.memo_cache_sentinel")?(H=s.jsx(dt,{}),t[40]=H):H=t[40];let F;t[41]!==r?(F=r("sandbox.variantCalendar.calendarMode"),t[41]=r,t[42]=F):F=t[42];let E;t[43]!==F?(E={value:"calendar",icon:H,label:F},t[43]=F,t[44]=E):E=t[44];let W;t[45]===Symbol.for("react.memo_cache_sentinel")?(W=s.jsx(yt,{}),t[45]=W):W=t[45];let R;t[46]!==r?(R=r("sandbox.variantCalendar.timelineMode"),t[46]=r,t[47]=R):R=t[47];let O;t[48]!==R?(O={value:"timeline",icon:W,label:R},t[48]=R,t[49]=O):O=t[49];let I;t[50]!==E||t[51]!==O?(I=[E,O],t[50]=E,t[51]=O,t[52]=I):I=t[52];let V;t[53]!==I||t[54]!==i?(V=s.jsx(_t,{value:i,onValueChange:o,options:I}),t[53]=I,t[54]=i,t[55]=V):V=t[55];let z;t[56]!==L||t[57]!==V?(z=s.jsxs("div",{className:"flex items-center gap-4",children:[L,V]}),t[56]=L,t[57]=V,t[58]=z):z=t[58];let U;t[59]!==N||t[60]!==z?(U=s.jsxs("div",{className:"flex items-center justify-between px-4 h-12 border-b shrink-0",children:[N,z]}),t[59]=N,t[60]=z,t[61]=U):U=t[61];let Y;t[62]!==x||t[63]!==a||t[64]!==d||t[65]!==l||t[66]!==u||t[67]!==i?(Y=u.length===0?s.jsx(Zt,{hiddenOngoing:l?0:d}):i==="calendar"?s.jsx(ee,{monthStart:a,variants:u,colorMap:x}):s.jsx(oe,{monthStart:a,variants:u,colorMap:x}),t[62]=x,t[63]=a,t[64]=d,t[65]=l,t[66]=u,t[67]=i,t[68]=Y):Y=t[68];let X;return t[69]!==U||t[70]!==Y?(X=s.jsxs("div",{className:"flex h-full w-full flex-col",children:[U,Y]}),t[69]=U,t[70]=Y,t[71]=X):X=t[71],X}function Jt(e){return e.blockKey}function Xt(e){return!e.openEnd}function qt(e){return e.openEnd}function Qt(){return xt(new Date)}function Zt(e){const t=K.c(4),{hiddenOngoing:n}=e,r=n===void 0?0:n,i=tt();let o;t[0]===Symbol.for("react.memo_cache_sentinel")?(o=s.jsx(dt,{size:24,className:"text-muted-foreground/60"}),t[0]=o):o=t[0];let a;return t[1]!==r||t[2]!==i?(a=s.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center gap-2 text-center text-sm text-muted-foreground p-6",children:[o,r>0?s.jsxs(s.Fragment,{children:[s.jsx("div",{children:i("sandbox.variantCalendar.noDatedVariants")}),s.jsx("div",{className:"text-xs text-muted-foreground/80",children:i("sandbox.variantCalendar.hiddenOngoingVariants",{count:r})})]}):s.jsxs(s.Fragment,{children:[s.jsx("div",{children:i("sandbox.variantCalendar.noScheduledVariants")}),s.jsx("div",{className:"text-xs text-muted-foreground/80",children:i("sandbox.variantCalendar.dateMatcherInfo")})]})]}),t[1]=r,t[2]=i,t[3]=a):a=t[3],a}const rt=20,ct=2,mt=28,te=6;function ee(e){const t=K.c(17),{monthStart:n,variants:r,colorMap:i}=e;let o,a,m,l,c;if(t[0]!==i||t[1]!==n||t[2]!==r){const u=zt(n),x=B(new Date);o=pt,c="flex-1 min-h-0",a="min-w-[840px]",t[8]===Symbol.for("react.memo_cache_sentinel")?(m=s.jsx("div",{className:"grid grid-cols-7 border-b text-xs text-muted-foreground sticky top-0 bg-background z-10",children:Bt.map(re)}),t[8]=m):m=t[8],l=u.map((h,g)=>{const b=Ut(h,r),j=b.reduce(ne,0),v=mt+j*(rt+ct)+8;return s.jsxs("div",{className:"grid grid-cols-7 relative border-b",style:{height:v},children:[h.map((p,y)=>{const T=p.getMonth()===n.getMonth(),w=p.getTime()===x.getTime();return s.jsx("div",{className:ot("border-r last:border-r-0 px-2 pt-1.5 text-xs",T?"bg-background":"bg-muted/30 text-muted-foreground"),children:s.jsx("span",{className:ot("inline-flex h-5 min-w-5 items-center justify-center rounded-full px-1",w&&"bg-primary text-primary-foreground font-semibold"),children:p.getDate()})},y)}),b.map((p,y)=>{const T=ut(i,p.variant.blockKey),w=mt+p.lane*(rt+ct),D=p.leftUnits/7*100,k=p.widthUnits/7*100,M=p.variant.openStart&&g===0,S=p.variant.openEnd&&g===u.length-1;return s.jsxs(bt,{variant:p.variant,color:T,fadeStart:M,fadeEnd:S,style:{top:w,left:`calc(${D}% + 2px)`,width:`calc(${k}% - 4px)`,minWidth:te,height:rt},children:[p.variant.blockLabel,p.variant.label!==p.variant.blockLabel&&s.jsxs("span",{className:"opacity-70",children:[" · ",p.variant.label]})]},`${g}-${y}`)})]},g)}),t[0]=i,t[1]=n,t[2]=r,t[3]=o,t[4]=a,t[5]=m,t[6]=l,t[7]=c}else o=t[3],a=t[4],m=t[5],l=t[6],c=t[7];let d;t[9]!==a||t[10]!==m||t[11]!==l?(d=s.jsxs("div",{className:a,children:[m,l]}),t[9]=a,t[10]=m,t[11]=l,t[12]=d):d=t[12];let f;return t[13]!==o||t[14]!==c||t[15]!==d?(f=s.jsx(o,{className:c,children:d}),t[13]=o,t[14]=c,t[15]=d,t[16]=f):f=t[16],f}function ne(e,t){return Math.max(e,t.lane+1)}function re(e){return s.jsx("div",{className:"px-2 py-2 text-center uppercase tracking-wide",children:e},e)}const q=4,se=32,J=240;function oe(e){const t=K.c(23),{monthStart:n,variants:r,colorMap:i}=e,o=n,a=G(n,q),m=new Date,l=new Map;for(const _ of r){const N=l.get(_.blockKey)??[];N.push(_),l.set(_.blockKey,N)}const c=Array.from(l.entries()).sort(le),d=a.getTime()-o.getTime(),f=_=>(Math.max(o.getTime(),Math.min(a.getTime(),_.getTime()))-o.getTime())/d*100;let u;t[0]!==o?(u=(_,N)=>G(o,N),t[0]=o,t[1]=u):u=t[1];const x=Array.from({length:q},u),h=m.getTime()>=o.getTime()&&m.getTime()<=a.getTime()?f(m):null,g=tt(),b=pt,j="flex-1 min-h-0",v="min-w-[900px] relative";let p;t[2]===Symbol.for("react.memo_cache_sentinel")?(p={width:J},t[2]=p):p=t[2];let y;t[3]!==g?(y=g("sandbox.variantCalendar.variantBlock"),t[3]=g,t[4]=y):y=t[4];let T;t[5]!==y?(T=s.jsx("div",{className:"shrink-0 px-3 py-2 text-xs font-semibold uppercase tracking-wide text-muted-foreground border-r",style:p,children:y}),t[5]=y,t[6]=T):T=t[6];let w;t[7]===Symbol.for("react.memo_cache_sentinel")?(w={gridTemplateColumns:`repeat(${q}, minmax(0, 1fr))`},t[7]=w):w=t[7];const D=x.map(ae);let k;t[8]!==D?(k=s.jsx("div",{className:"flex-1 grid",style:w,children:D}),t[8]=D,t[9]=k):k=t[9];let M;t[10]!==T||t[11]!==k?(M=s.jsxs("div",{className:"flex border-b sticky top-0 bg-background z-10",children:[T,k]}),t[10]=T,t[11]=k,t[12]=M):M=t[12];let S;t[13]!==g||t[14]!==h?(S=h!==null&&s.jsx("div",{className:"pointer-events-none absolute top-0 bottom-0 w-px bg-primary/70 z-[5]",style:{left:`calc(${J}px + (100% - ${J}px) * ${h} / 100)`},children:s.jsx("span",{className:"absolute -top-0.5 -translate-x-1/2 rounded-sm bg-primary px-1.5 py-px text-[10px] font-medium text-primary-foreground",children:g("sandbox.variantCalendar.todayLabel")})}),t[13]=g,t[14]=h,t[15]=S):S=t[15];const A=c.map(_=>{const[N,L]=_,H=ut(i,N),F=L[0]?.blockLabel??N;return s.jsxs("div",{children:[s.jsx("div",{className:"flex items-center bg-muted/40 border-b text-xs font-semibold uppercase tracking-wide text-muted-foreground",style:{height:28},children:s.jsx("div",{className:"px-3 truncate",style:{width:J},children:F})}),L.map((E,W)=>s.jsxs("div",{className:"flex border-b items-center",style:{height:se},children:[s.jsxs("div",{className:"flex items-center gap-2 px-3 text-sm border-r shrink-0",style:{width:J},children:[s.jsx("span",{className:"inline-block h-2 w-2 rounded-full shrink-0",style:{background:H.bg}}),s.jsx("span",{className:"truncate text-foreground/80",children:E.label})]}),s.jsxs("div",{className:"relative flex-1 h-full",children:[s.jsx("div",{className:"absolute inset-0 grid",style:{gridTemplateColumns:`repeat(${q}, minmax(0, 1fr))`},children:x.map(ie)}),(()=>{const R=Math.max(E.start.getTime(),o.getTime()),O=Math.min(E.end.getTime(),a.getTime());if(O<=R)return null;const I=f(new Date(R)),V=f(new Date(O))-I;return s.jsx(bt,{variant:E,color:H,fadeStart:E.openStart,fadeEnd:E.openEnd,style:{top:"50%",transform:"translateY(-50%)",left:`${I}%`,width:`calc(${V}% - 2px)`,height:22},children:E.label})})()]})]},W))]},N)});let $;t[16]!==M||t[17]!==S||t[18]!==A?($=s.jsxs("div",{className:v,children:[M,S,A]}),t[16]=M,t[17]=S,t[18]=A,t[19]=$):$=t[19];let C;return t[20]!==b||t[21]!==$?(C=s.jsx(b,{className:j,children:$}),t[20]=b,t[21]=$,t[22]=C):C=t[22],C}function ie(e,t){return s.jsx("div",{className:"border-r last:border-r-0 border-border/40"},t)}function ae(e,t){return s.jsxs("div",{className:"px-2 py-2 text-xs uppercase tracking-wide text-muted-foreground border-r last:border-r-0",children:[ht[e.getMonth()]?.slice(0,3)," ",e.getFullYear()]},t)}function le(e,t){return e[0].localeCompare(t[0])}export{ir as VariantCalendar};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as $,r as T,m as f,j as i}from"./index-
|
|
1
|
+
import{c as $,r as T,m as f,j as i}from"./index-B5pAcdCj.js";import{c as k,T as I,a as P}from"./tooltip-sTtjDvoo.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-B5pAcdCj.js"></script>
|
|
60
60
|
<link rel="stylesheet" crossorigin href="/assets/index-CY_ng_RT.css">
|
|
61
61
|
</head>
|
|
62
62
|
<body>
|