@abtnode/webapp 1.16.43-beta-20250507-131727-e3e5be46 → 1.16.43-beta-20250509-094134-34c76f98
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/blocklet.js +1 -1
- package/blocklet.yml +1 -1
- package/dist/assets/{AdapterDayjs-DN3WVSzh.js → AdapterDayjs-Dd7kIQDg.js} +6 -6
- package/dist/assets/{Add-B5o3lKZ4.js → Add-DyqE7ma4.js} +1 -1
- package/dist/assets/{ArrowDropDown-RVN4Mn-W.js → ArrowDropDown-srvJwv_s.js} +1 -1
- package/dist/assets/{Autocomplete-DHpI8PP1.js → Autocomplete-DgD7oXbC.js} +1 -1
- package/dist/assets/{Breadcrumbs-BO8goWHs.js → Breadcrumbs-BjBCOm__.js} +1 -1
- package/dist/assets/{ButtonGroup-DP9Um2zw.js → ButtonGroup-CETfqQqG.js} +1 -1
- package/dist/assets/{CSSTransition-Ce16mrqT.js → CSSTransition-8GXDrEVI.js} +1 -1
- package/dist/assets/{CallMerge-D9pdEpQ4.js → CallMerge-D1kGN-Yl.js} +1 -1
- package/dist/assets/{CardContent-CV6vnW6h.js → CardContent-BsBNKLwR.js} +1 -1
- package/dist/assets/{ChevronLeft-CVA4N8rQ.js → ChevronLeft-CQJA5jUj.js} +1 -1
- package/dist/assets/{ChevronRight-sZUpX7tH.js → ChevronRight-B3ioYqvf.js} +1 -1
- package/dist/assets/{Clear-C7odY-6_.js → Clear-C23RMA8O.js} +1 -1
- package/dist/assets/{Close-w8eKEJW7.js → Close-CMKp87zW.js} +1 -1
- package/dist/assets/{Community-CIu-cG23.js → Community-B9PcA7bL.js} +1 -1
- package/dist/assets/{Delete-DSB9GjVg.js → Delete-DemQysCs.js} +1 -1
- package/dist/assets/{Delete-DpNbJCJA.js → Delete-X-iZLu8W.js} +1 -1
- package/dist/assets/{DeleteOutline-B4zcgGCZ.js → DeleteOutline-CBtSJ3uj.js} +1 -1
- package/dist/assets/{Done-CasEZEMQ.js → Done-LO8W9lyO.js} +1 -1
- package/dist/assets/{Edit-D9oke1qz.js → Edit-qCwSqHzK.js} +1 -1
- package/dist/assets/{ErrorOutline-cX4XY61i.js → ErrorOutline-CpLJ4ot-.js} +1 -1
- package/dist/assets/{HelpOutline-B-3RVeU3.js → HelpOutline-B7KAkB_W.js} +1 -1
- package/dist/assets/{Holiday-CWWiyhee.js → Holiday-DLF993Gr.js} +1 -1
- package/dist/assets/{Launch-9QmeNFGh.js → Launch-CbHu_JiN.js} +1 -1
- package/dist/assets/{Link-V0zXa94b.js → Link-BJsvTgLA.js} +1 -1
- package/dist/assets/{ListItemButton-Drq6UK1v.js → ListItemButton-DU8Ok_s-.js} +1 -1
- package/dist/assets/{ListSubheader-r9QVg4z3.js → ListSubheader-C2HVg1lq.js} +1 -1
- package/dist/assets/{LoadingButton-CwgQEhJX.js → LoadingButton-JtnEy6x-.js} +1 -1
- package/dist/assets/{LockIcon-AR8ebEzv.js → LockIcon-BeIxsnPz.js} +1 -1
- package/dist/assets/{Meeting-CF-WhmPM.js → Meeting-BL7WF2AJ.js} +1 -1
- package/dist/assets/{MoreHoriz-DuOMe2bn.js → MoreHoriz-_l-lUoyq.js} +1 -1
- package/dist/assets/{MoreVert-UFPlWjze.js → MoreVert-T7jlVzCd.js} +1 -1
- package/dist/assets/{OffSick-CSP2kO-5.js → OffSick-D6JEPSYU.js} +1 -1
- package/dist/assets/{OpenInNew-6pTIeS0r.js → OpenInNew-Bh0ZyNdY.js} +1 -1
- package/dist/assets/{Public-Cm3uAF1d.js → Public-BieGltlg.js} +1 -1
- package/dist/assets/{Refresh-DsQW01Ya.js → Refresh-CtWiwbL8.js} +1 -1
- package/dist/assets/{SchemaReference.es-BPpguI5D.js → SchemaReference.es-CN84fzHD.js} +1 -1
- package/dist/assets/{Search-DnEqCvoa.js → Search-CzTpAOa9.js} +1 -1
- package/dist/assets/{Slider-DRcvOlgL.js → Slider-DNt5jJD4.js} +1 -1
- package/dist/assets/{Stepper-DfLckKIy.js → Stepper-EVvxFm-l.js} +1 -1
- package/dist/assets/{TableRow-BMSWmGPk.js → TableRow-Cr41eTmp.js} +1 -1
- package/dist/assets/{TableSearch-Dobasaj8.js → TableSearch-DBDA-JAl.js} +1 -1
- package/dist/assets/{ToggleButtonGroup-CfjCj__G.js → ToggleButtonGroup-CmondxKP.js} +1 -1
- package/dist/assets/{Verified-oP4ZelZh.js → Verified-BrGKKjLS.js} +1 -1
- package/dist/assets/{VerifiedUser-CzEMJOGM.js → VerifiedUser-T9tFwB9U.js} +1 -1
- package/dist/assets/{ViewColumn-BIPD356c.js → ViewColumn-CQJvMaMH.js} +1 -1
- package/dist/assets/{ViewList-BYQ2Wo2N.js → ViewList-BSeqocMD.js} +1 -1
- package/dist/assets/{WorkingRemotely-B8U5I0AD.js → WorkingRemotely-DSoKGD6u.js} +1 -1
- package/dist/assets/{_createAggregator-BzC5cfxy.js → _createAggregator-CJSDSMg6.js} +1 -1
- package/dist/assets/{actions-C1blhdkh.js → actions-Bv3_VVES.js} +1 -1
- package/dist/assets/{actions-CIvfyQ4N.js → actions-R0k2zQ3B.js} +1 -1
- package/dist/assets/{agreement-BKAba3Bu.js → agreement--xEd5J2_.js} +1 -1
- package/dist/assets/api-DG7in6iX.js +1 -0
- package/dist/assets/{appearance-BT6nflvn.js → appearance-By8P7pS8.js} +1 -1
- package/dist/assets/{audit-logs-CxO1RKPM.js → audit-logs-axk4FVuN.js} +2 -2
- package/dist/assets/{blocklet-DgGtZNCB.js → blocklet-n2QLVVft.js} +1 -1
- package/dist/assets/{brace-fold.es-D7zHyRiF.js → brace-fold.es-CpmacDXy.js} +1 -1
- package/dist/assets/{chain-CMNZiwbz.js → chain-B3UsKW7l.js} +1 -1
- package/dist/assets/click-to-copy-BBx903lR.js +1 -0
- package/dist/assets/cloneDeep-DdAFYsMv.js +1 -0
- package/dist/assets/{closebrackets.es-BY2R-PDl.js → closebrackets.es-BPM7qcyy.js} +1 -1
- package/dist/assets/{codemirror.es-Bj7wxben.js → codemirror.es-rKm7-8so.js} +1 -1
- package/dist/assets/{comment.es-9NAetJeX.js → comment.es-cEEILSJL.js} +1 -1
- package/dist/assets/{config-navigation-BeyhoAYd.js → config-navigation-RVGkWDYS.js} +3 -3
- package/dist/assets/{connect-to-B2UoY2JL.js → connect-to-Cu2hr8Uh.js} +1 -1
- package/dist/assets/{delete-confirm-B0FL8Sx7.js → delete-confirm-C6MdS5sY.js} +1 -1
- package/dist/assets/{detail-Lgl7Opc1.js → detail-C1bo_0g-.js} +3 -3
- package/dist/assets/{dialog.es-CV929pYp.js → dialog.es-B1IFC9u6.js} +1 -1
- package/dist/assets/domains-2uhvPnPP.js +24 -0
- package/dist/assets/{download-IW0OxyHF.js → download-CNUneSlg.js} +1 -1
- package/dist/assets/emotion-react.browser.esm-Dyrm_eeQ.js +1 -0
- package/dist/assets/{foldgutter.es-D3SAnwjU.js → foldgutter.es-C2vuNFxa.js} +1 -1
- package/dist/assets/{get-safe-url-BQ9e1d8R.js → get-safe-url-Bs5i5FpE.js} +1 -1
- package/dist/assets/{get-safe-url-fVLOWjDv.js → get-safe-url-DfM7C7Hf.js} +1 -1
- package/dist/assets/getValidReactChildren-q1n8NmWG.js +1 -0
- package/dist/assets/{hint.es-xqBNEZOH.js → hint.es-DNy1bW-g.js} +1 -1
- package/dist/assets/{hint.es2-jX0Ikd_H.js → hint.es2-i7xguvxM.js} +1 -1
- package/dist/assets/{iframe-B52MZmUp.js → iframe-DWi9MO_j.js} +1 -1
- package/dist/assets/{index-yrfr0MWP.js → index-2OI_OVBD.js} +1 -1
- package/dist/assets/{index-DHqdVKlk.js → index-2rbYz989.js} +1 -1
- package/dist/assets/{index-CUdgGjYV.js → index-64gxJuGR.js} +1 -1
- package/dist/assets/{index-BFMlUu0x.js → index-9yi2bmN6.js} +1 -1
- package/dist/assets/{index-KdOmwCM0.js → index-AJgIDgSg.js} +51 -51
- package/dist/assets/index-B2GgL3-R.js +1 -0
- package/dist/assets/index-B2n80jby.js +1 -0
- package/dist/assets/{index-Bahrm-G8.js → index-BCr5STuV.js} +18 -18
- package/dist/assets/{index-B930dkB6.js → index-BFERjMXy.js} +1 -1
- package/dist/assets/{index-BEgDyH2G.js → index-BHiZELzY.js} +1 -1
- package/dist/assets/{index-Da_gY2p2.js → index-BLYEw0YZ.js} +1 -1
- package/dist/assets/{index-Btu7Neya.js → index-BLslsStt.js} +1 -1
- package/dist/assets/{index-BsoiXoFC.js → index-BMxCOuow.js} +1 -1
- package/dist/assets/{index-B8d6BDWi.js → index-BZL4w7FF.js} +1 -1
- package/dist/assets/{index-iW0yPyzE.js → index-BZOISQEj.js} +2 -2
- package/dist/assets/{index-n3NnSt8H.js → index-BdSP5x7V.js} +4 -4
- package/dist/assets/{index-Bpzwsd3f.js → index-BdlWUpNp.js} +6 -6
- package/dist/assets/{index-BcWvyuw8.js → index-BgnDgaOb.js} +1 -1
- package/dist/assets/{index-C8FhJ0rj.js → index-Bl_QpGg2.js} +1 -1
- package/dist/assets/{index-CiH2SOFi.js → index-BtW4iaLk.js} +3 -3
- package/dist/assets/{index-DPJjuq8y.js → index-C94nEH1q.js} +1 -1
- package/dist/assets/{index-CNElardu.js → index-CAL8SdA5.js} +1 -1
- package/dist/assets/{index-trVfBCte.js → index-CB14HOGE.js} +2 -2
- package/dist/assets/{index-BfvhxdN7.js → index-CEIvGGC0.js} +11 -11
- package/dist/assets/{index-Dzpr3qS7.js → index-CEvL1Y2e.js} +1 -1
- package/dist/assets/{index-BK_iEF6w.js → index-CUwFRYPb.js} +3 -3
- package/dist/assets/{index-DX8DEJlQ.js → index-CXdXz1YC.js} +1 -1
- package/dist/assets/{index-hmtP3oKe.js → index-CZQq2WZl.js} +1 -1
- package/dist/assets/{index-D6sUi9RT.js → index-CeEXyjqX.js} +1 -1
- package/dist/assets/{index-BerfqWKB.js → index-CotXQiFR.js} +1 -1
- package/dist/assets/{index-qxurOC9U.js → index-Cwlwz42P.js} +2 -2
- package/dist/assets/{index-DLm8Ub_j.js → index-Cy-HGAg5.js} +1 -1
- package/dist/assets/{index-BhA9P09u.js → index-D1Twij0A.js} +1 -1
- package/dist/assets/{index-DA7j-cev.js → index-D1Uv4Kgs.js} +1 -1
- package/dist/assets/{index-R7x7W7GB.js → index-D2LXsBcO.js} +5 -5
- package/dist/assets/{index-D6UMpm4p.js → index-D2TTRLM_.js} +1 -1
- package/dist/assets/{index-CZGd5QCZ.js → index-D69xZWqq.js} +8 -8
- package/dist/assets/{index-CFslc24J.js → index-DARRrmly.js} +2 -2
- package/dist/assets/{index-DydT7-LV.js → index-D_gKXPug.js} +1 -1
- package/dist/assets/{index-D_1_RyLT.js → index-DgyX9Ig4.js} +1 -1
- package/dist/assets/{index-D-wNDvqE.js → index-DiB0uZqA.js} +3 -3
- package/dist/assets/{index-DdLMocGE.js → index-DkSWwzPL.js} +1 -1
- package/dist/assets/{index-BNMAXWQI.js → index-Dtjsi5-M.js} +1 -1
- package/dist/assets/{index-DRmGM_hP.js → index-IJaA2JHH.js} +1 -1
- package/dist/assets/{index-CCAZAiY9.js → index-O5b_bdsU.js} +1 -1
- package/dist/assets/{index-Ce_kCGci.js → index-_Gn7XUOL.js} +1 -1
- package/dist/assets/{index-DATTQ5am.js → index-knEewVFB.js} +1 -1
- package/dist/assets/index-kof4JnLV.js +11 -0
- package/dist/assets/{index.esm-BZeAlIeN.js → index.esm-Bx7839pK.js} +1 -1
- package/dist/assets/{info-addon.es-C0ND8uqw.js → info-addon.es-B4Pyoy0-.js} +1 -1
- package/dist/assets/{info.es-B-kYc798.js → info.es-CtjlX5Wt.js} +1 -1
- package/dist/assets/{install-from-url-CV2FomzA.js → install-from-url-C2-00KT9.js} +1 -1
- package/dist/assets/{invitation-DH_bKwmI.js → invitation-D6T6DvBj.js} +6 -6
- package/dist/assets/is-path-prefix-equal-DPt6K58Y.js +1 -0
- package/dist/assets/{item-D5qxr3Lk.js → item-CeGXgGDh.js} +6 -6
- package/dist/assets/{javascript.es-CInOpinR.js → javascript.es-CBOLLNJA.js} +1 -1
- package/dist/assets/{jump-to-line.es-GaOpyMuN.js → jump-to-line.es-o70pn1AS.js} +1 -1
- package/dist/assets/{jump.es-4QMqZ0U2.js → jump.es-uAkOc1x-.js} +1 -1
- package/dist/assets/{lint.es-d-xQpru4.js → lint.es-Bq_aFvHE.js} +1 -1
- package/dist/assets/{lint.es2-r0w3QthM.js → lint.es2-QDUQ_yvH.js} +1 -1
- package/dist/assets/{lint.es3-Duz7LKWy.js → lint.es3-C8hQyDQ6.js} +1 -1
- package/dist/assets/{list-header-Dq6Hm5vy.js → list-header-CahJudHO.js} +1 -1
- package/dist/assets/{log-CTDXV8ap.js → log-B63Vehap.js} +1 -1
- package/dist/assets/{lottie-react.esm-Gf3LaMG1.js → lottie-react.esm-Dyp1pX0s.js} +1 -1
- package/dist/assets/{matchbrackets.es-ub9hnhHy.js → matchbrackets.es-DvsHeRkL.js} +1 -1
- package/dist/assets/{memory-Co7ZVOfU.js → memory-CB6HwuFd.js} +1 -1
- package/dist/assets/{mode.es-CK82ywlP.js → mode.es-BlitFOAg.js} +1 -1
- package/dist/assets/{mode.es2-gzITWIBC.js → mode.es2-D9kTW4A1.js} +1 -1
- package/dist/assets/{mode.es3-CrkiMbzK.js → mode.es3-C7GVv5Sh.js} +1 -1
- package/dist/assets/omit-lJaiB6eZ.js +1 -0
- package/dist/assets/{onlineParser.es-C1qjwyf6.js → onlineParser.es-B9GLO6bL.js} +1 -1
- package/dist/assets/{overview-WpAQD63O.js → overview-DMesSg9s.js} +2 -2
- package/dist/assets/payment-kit-DYSjmihw.png +0 -0
- package/dist/assets/{permission-DR4c0ARF.js → permission-bQJb4Wfm.js} +1 -1
- package/dist/assets/{preference-BJr6poQJ.js → preference-CQ9_K03t.js} +3 -3
- package/dist/assets/{raf-schd.esm-CKlBxZ4m.js → raf-schd.esm-xwaPYuT8.js} +1 -1
- package/dist/assets/refType-Dp49VYzY.js +1 -0
- package/dist/assets/{resource-dialog-CnEGcfR6.js → resource-dialog-CrF5TTZz.js} +30 -30
- package/dist/assets/{runtime-DiZdSvdg.js → runtime-ccgDKRXv.js} +1 -1
- package/dist/assets/{schema-CV3xzp1r.js → schema-BAt_zCax.js} +6 -6
- package/dist/assets/sdk-BmRwENgz.js +1 -0
- package/dist/assets/{search.es-DKqLEqET.js → search.es-BewIGLjB.js} +1 -1
- package/dist/assets/{searchcursor.es-BWMpJtYl.js → searchcursor.es-BWP24T39.js} +1 -1
- package/dist/assets/{service-B4aFqW1U.js → service-C6dR44t5.js} +1 -1
- package/dist/assets/{shorten-label-B1taCLSu.js → shorten-label-C5x3QBkr.js} +1 -1
- package/dist/assets/{show-hint.es-C1eZks_O.js → show-hint.es-DR7gTDpy.js} +1 -1
- package/dist/assets/{simple-select-BwOhhEqT.js → simple-select-Dk5PYcqy.js} +1 -1
- package/dist/assets/{spaces-BHOuJMC0.js → spaces-Qg7EXTlR.js} +1 -1
- package/dist/assets/{status-BVDByjVR.js → status-C6NwHG6t.js} +1 -1
- package/dist/assets/{status-CLTF7DgB.js → status-Dk-wVme-.js} +1 -1
- package/dist/assets/{sublime.es-J7__ylqM.js → sublime.es-Bpk1OuZ2.js} +1 -1
- package/dist/assets/{switch-control-k82I7Ndl.js → switch-control-BzAUWBUn.js} +1 -1
- package/dist/assets/{table-icons-C8h2igEk.js → table-icons-D5Z-kbr9.js} +36 -36
- package/dist/assets/{team-DTa9igye.js → team-CKxs_BXU.js} +1 -1
- package/dist/assets/{toLower-CV1JKc77.js → toLower-DoLsoIUi.js} +1 -1
- package/dist/assets/toUpper-Bsu2hQC1.js +1 -0
- package/dist/assets/{traffic-BZMRS6o_.js → traffic-CmwKqX64.js} +2 -2
- package/dist/assets/{url-evaluation-BMmqZ9Xm.js → url-evaluation-CyY2eIYi.js} +1 -1
- package/dist/assets/{url-join-3G2iekWy.js → url-join-D3UI4kOJ.js} +1 -1
- package/dist/assets/{use-mobile-C-Ki3d1-.js → use-mobile-BO6wzlhh.js} +1 -1
- package/dist/assets/{use-mobile-4pPVTaiA.js → use-mobile-DzTdFIlX.js} +1 -1
- package/dist/assets/{useAsync-W0rAsXlK.js → useAsync-Ch7FfDvD.js} +1 -1
- package/dist/assets/{useLocalStorage-DqX-zdwD.js → useLocalStorage-DErQTCC8.js} +1 -1
- package/dist/assets/{useThemeProps-BT_RONtx.js → useThemeProps-DI7JqlIy.js} +1 -1
- package/dist/assets/{util-CR3vtO32.js → util-CiEXZkzA.js} +1 -1
- package/dist/assets/{wait-container-D3DtxHI5.js → wait-container-DFgs_ycx.js} +1 -1
- package/dist/assets/{withStyles-DQtqSL4M.js → withStyles-D9pc_Gr2.js} +1 -1
- package/dist/assets/wrap-locale-Cw7rRT3-.js +1 -0
- package/dist/index.html +1 -1
- package/dist/service-worker.js +1 -1
- package/package.json +1 -1
- package/dist/assets/api-BhAwS4V8.js +0 -1
- package/dist/assets/click-to-copy-mgHOJgOu.js +0 -1
- package/dist/assets/cloneDeep-C8Xz4lYT.js +0 -1
- package/dist/assets/domains-BnwU8REn.js +0 -24
- package/dist/assets/emotion-react.browser.esm-DwA9twTe.js +0 -1
- package/dist/assets/getValidReactChildren-BybUhg_p.js +0 -1
- package/dist/assets/index-B3-cD9IV.js +0 -1
- package/dist/assets/index-DNHgOX2L.js +0 -1
- package/dist/assets/index-DjPLbVUc.js +0 -11
- package/dist/assets/is-path-prefix-equal-Cl2q8kGU.js +0 -1
- package/dist/assets/omit-BE_Bff1I.js +0 -1
- package/dist/assets/refType-BFp6Mdcn.js +0 -1
- package/dist/assets/toUpper-CIse071F.js +0 -1
- package/dist/assets/wrap-locale-DB1j-LK3.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as y,bq as oe,br as ae,m as D,j as e,R as M,ay as P,P as C,Q as O,S as V,U as Q,V as G,N as b,E as re,bs as _,bt as ge,a_ as H,v as F,B as L,C as Z,ag as me,f as ye,D as de,aZ as he,X as be,n as $,l as je,bu as Ce,bv as ve,W as ie,bw as ke,bx as Te,by as Ae,bz as Ke,bA as Se,J as we,k as B,bB as De,aC as ce,Y as Re,Z as Ie,y as Be,u as Pe,bp as _e,e as $e,bC as Ne}from"./index-
|
|
1
|
+
import{r as y,bq as oe,br as ae,m as D,j as e,R as M,ay as P,P as C,Q as O,S as V,U as Q,V as G,N as b,E as re,bs as _,bt as ge,a_ as H,v as F,B as L,C as Z,ag as me,f as ye,D as de,aZ as he,X as be,n as $,l as je,bu as Ce,bv as ve,W as ie,bw as ke,bx as Te,by as Ae,bz as Ke,bA as Se,J as we,k as B,bB as De,aC as ce,Y as Re,Z as Ie,y as Be,u as Pe,bp as _e,e as $e,bC as Ne}from"./index-AJgIDgSg.js";import{T as Le}from"./index-C94nEH1q.js";import ze from"./audit-logs-axk4FVuN.js";import{T as pe,M as We}from"./index-D69xZWqq.js";import{r as ue,P as Ue}from"./index-BdlWUpNp.js";import{u as N,T as qe}from"./team-CKxs_BXU.js";import{g as Me,D as Fe}from"./index-D1Twij0A.js";import{d as Ee}from"./Add-DyqE7ma4.js";import{C as le}from"./index-BMxCOuow.js";import{C as E}from"./click-to-copy-BBx903lR.js";import{f as Oe}from"./index-BojVbZw0.js";import{d as Ve}from"./Delete-X-iZLu8W.js";import{D as Qe}from"./delete-confirm-C6MdS5sY.js";import{d as Ge}from"./Edit-qCwSqHzK.js";import{P as He}from"./permission-bQJb4Wfm.js";import{u as Ze}from"./blocklet-n2QLVVft.js";import{u as Je}from"./useAsync-Ch7FfDvD.js";import"./index-D2TTRLM_.js";import"./TableSearch-DBDA-JAl.js";import"./Search-CzTpAOa9.js";import"./Clear-C23RMA8O.js";import"./useLocalStorage-DErQTCC8.js";import"./index-Dtjsi5-M.js";import"./shorten-label-C5x3QBkr.js";import"./ViewList-BSeqocMD.js";import"./resource-dialog-CrF5TTZz.js";import"./index-D_gKXPug.js";import"./use-mobile-BO6wzlhh.js";import"./ListItemButton-DU8Ok_s-.js";import"./index-O5b_bdsU.js";import"./emotion-react.browser.esm-Dyrm_eeQ.js";import"./index-D1Uv4Kgs.js";import"./url-evaluation-CyY2eIYi.js";import"./index-DARRrmly.js";import"./OpenInNew-Bh0ZyNdY.js";import"./index-BJHGOv7L.js";import"./HelpOutline-B7KAkB_W.js";import"./index-CeEXyjqX.js";import"./ButtonGroup-CETfqQqG.js";import"./getValidReactChildren-q1n8NmWG.js";import"./AdapterDayjs-Dd7kIQDg.js";import"./useThemeProps-DI7JqlIy.js";import"./CSSTransition-8GXDrEVI.js";import"./refType-Dp49VYzY.js";import"./index-2OI_OVBD.js";import"./Verified-BrGKKjLS.js";import"./DeleteOutline-CBtSJ3uj.js";import"./ErrorOutline-CpLJ4ot-.js";import"./sdk-BmRwENgz.js";import"./actions-Bv3_VVES.js";import"./MoreHoriz-_l-lUoyq.js";import"./LockIcon-BeIxsnPz.js";import"./cloneDeep-DdAFYsMv.js";import"./chain-B3UsKW7l.js";import"./list-header-CahJudHO.js";import"./ToggleButtonGroup-CmondxKP.js";import"./TableRow-Cr41eTmp.js";import"./ViewColumn-CQJvMaMH.js";import"./MoreVert-T7jlVzCd.js";var Xe=function(s,t){t===void 0&&(t=[]);var d=y.useState(0),c=d[0],l=d[1],n=Je(s,oe(t,[c])),v=n.loading,x=y.useCallback(function(){v||l(function(a){return a+1})},oe(t,[v]));return ae(ae({},n),{retry:x})};function J({value:s}){const{t,locale:d}=D(),c=new Date;return new Date(s)<c?e.jsxs("span",{style:{color:"red"},children:[e.jsx(M,{value:s,locale:d}),`${t("setting.accessKey.expired",{time:""})}`]}):P(s,d)}J.propTypes={value:C.string.isRequired};function X({value:s,onChange:t,...d}){const{t:c}=D(),l=y.useMemo(()=>[{value:"signature",title:c("setting.accessKey.signature"),description:c("setting.accessKey.signatureDesc")},{value:"simple",title:c("setting.accessKey.simple"),description:c("setting.accessKey.simpleDesc")}],[c]);return e.jsxs(O,{style:{width:"100%"},variant:"outlined",...d,children:[e.jsx(V,{children:c("setting.accessKey.authType")}),e.jsx(Q,{value:s,onChange:t,fullWidth:!0,label:c("setting.accessKey.authType"),children:l.map(n=>e.jsx(G,{value:n.value,children:e.jsxs(b,{children:[e.jsx("span",{children:n.title}),e.jsx(b,{maxWidth:510,fontSize:12,color:"#999",whiteSpace:"normal",children:n.description})]})},n.value))})]})}X.propTypes={value:C.string.isRequired,onChange:C.func.isRequired};const W=()=>{const s=re.RBAC_CONFIG.roles.filter(l=>l.passport),{inService:t}=_(),{roles:d}=N(),c=[...s,...t?d:[]];return ge(c,"name").filter(l=>l.name!==re.ROLES.OWNER)};function Y(s){const{remark:t,onCreate:d}=s,{api:c}=_(),{teamDid:l}=N(),{t:n}=D(),[v,x]=y.useState(!1),[a,m]=y.useState(null),T=W(),k=()=>{x(!1),m(null)},h=async r=>{const{remark:u,passport:p,authType:o}=r;x(!0);const g=await c.createAccessKey({input:{teamDid:l,remark:u.trim(),passport:p,expireAt:r.expireAt?new Date(r.expireAt).getTime():null,authType:o}}),{data:w}=g;d(w),m(null),x(!1)},f={title:`${n("common.create")} ${n("accessKey")}`,description:(r,u,p)=>e.jsxs(H,{gap:3,children:[e.jsx(F,{label:n("setting.accessKey.tip"),autoComplete:"off",variant:"outlined",name:"remark",inputProps:{"data-cy":"remark-input"},fullWidth:!0,autoFocus:!0,margin:"dense",value:r.remark,onChange:o=>{u({...r,remark:o.target.value,__disableConfirm:!r.passport||!o.target.value.trim()}),o.target.value.trim()?p(""):p(n("setting.accessKey.remarkInvalid"))}}),e.jsxs(O,{style:{width:"100%"},variant:"outlined",children:[e.jsx(V,{children:n("setting.accessKey.passport")}),e.jsx(Q,{"data-cy":"create-access-key-select-passport",value:r.passport,onChange:o=>{const g=o.target.value;p(null),u({...r,passport:g,__disableConfirm:!r.remark||!g})},fullWidth:!0,label:n("setting.accessKey.passport"),disabled:v,children:T.map(o=>e.jsx(G,{value:o.name,"data-cy":`create-access-key-passport-option-${o.name}`,children:e.jsxs(b,{children:[e.jsx("span",{children:o.title||o.name}),e.jsx(b,{maxWidth:440,fontSize:12,color:"#999",whiteSpace:"normal",textAlign:"justify",children:o.description})]})},o.name))})]}),e.jsx(X,{value:r.authType,onChange:o=>{u({...r,authType:o.target.value})}}),e.jsx(pe,{placeholder:n("setting.accessKey.expireTime"),value:r.expireAt,onChange:o=>{u({...r,expireAt:o,__disableConfirm:!r.passport||!r.remark||!o})}})]}),confirm:n("common.confirm"),cancel:n("common.cancel"),color:"primary",params:{remark:t,authType:"signature",__disableConfirm:!t.trim()},onConfirm:h,onCancel:k};return e.jsxs(e.Fragment,{children:[e.jsxs(L,{sx:{color:"common.white"},edge:"end",variant:"contained",color:"primary","data-cy":"add-access-key-btn",onClick:()=>m(f),className:"rule-action",children:[v?e.jsx(Z,{size:16}):e.jsx(Ee,{style:{fontSize:16}}),n("common.create")]}),a&&e.jsx(me,{title:a.title,description:a.description,confirm:a.confirm,color:a.color,cancel:a.cancel,params:a.params,onConfirm:a.onConfirm,onCancel:a.onCancel})]})}Y.propTypes={remark:C.string,onCreate:C.func};Y.defaultProps={onCreate:()=>{},remark:""};function ee(s){const{onConfirm:t,accessKeyId:d,accessKeySecret:c,hideSecret:l}=s,{t:n}=y.useContext(ye),[v,x]=y.useState(!1),[a,m]=y.useState(()=>l),T=()=>{m(!a)},k=r=>{x(r.target.checked)},h=y.useMemo(()=>{var r;return l?`const Client = require('@abtnode/client');
|
|
2
2
|
|
|
3
3
|
const client = new Client(fullEndpoint);
|
|
4
4
|
client.setAuthAccessKey({
|
|
@@ -96,7 +96,7 @@ client.setAuthAccessKey({
|
|
|
96
96
|
margin: 0;
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
|
-
`;function st(){var R,z;const{t:s,locale:t}=D(),{api:d,inService:c}=_(),{teamDid:l}=N(),[n,v]=y.useState({}),[x,a]=y.useState(null),m=W(),T=y.useRef(null),k=`access-keys-${l}`,h=Me(k),[f,r]=y.useState({searchText:h.searchText||"",pageSize:h.rowsPerPage||10,page:1}),u=Xe(async()=>await d.getAccessKeys({input:{teamDid:l,paging:{page:f.page,pageSize:f.pageSize}}}),[f.page,f.pageSize]),{loading:p,error:o}=u,g=y.useMemo(()=>{var i;return((i=u.value)==null?void 0:i.list)||[]},[(R=u.value)==null?void 0:R.list]),w=y.useMemo(()=>[{label:s("common.name"),name:"remark",options:{customBodyRender:(i,{rowIndex:K})=>{const A=g[K];return e.jsx(b,{display:"flex",alignItems:"center",gap:2,children:e.jsx(B,{children:A.remark||"N/A"})})}}},{label:"Access Key ID",name:"accessKeyId",options:{customBodyRender:i=>e.jsx(De,{showDidLogo:!1,children:i})}},{label:s("common.role"),name:"passport",options:{customBodyRender:i=>{const K=m.find(S=>S.name===i),A=K?K.title:i;return e.jsx(b,{children:ue(A,i)})}}},{label:s("common.createdVia"),name:"createdVia",options:{customBodyRender:i=>e.jsx(B,{children:i})}},{label:s("setting.accessKey.authType"),name:"authType",options:{customBodyRender:i=>e.jsx(B,{children:s(`setting.accessKey.${i}`)})}},{label:s("common.createdAt"),name:"createdAt",options:{customBodyRender:i=>e.jsx(ce,{title:P(i,t),children:i?e.jsx(M,{value:i,locale:t}):"-"})}},{label:s("common.lastUsedAt"),name:"lastUsedAt",options:{customBodyRender:i=>e.jsx(ce,{title:P(i,t),children:i?e.jsx(M,{value:i,locale:t}):"-"})}},{label:s("common.expiredAt"),name:"expireAt",options:{customBodyRender:i=>i?e.jsx(J,{value:i}):s("common.neverExpired")}},{label:s("common.actions"),name:"actions",width:100,options:{customBodyRender:(i,{rowIndex:K})=>{const A=g[K];return e.jsxs(b,{display:"flex",gap:1,children:[e.jsx(se,{...A,onUpdate:u.retry}),e.jsx(te,{accessKeyId:A.accessKeyId,time:A.lastUsedAt,remark:A.remark||"N/A",onDelete:u.retry})]})}}}],[g,t,s,u.retry,m]),I=({page:i,rowsPerPage:K,searchText:A})=>{f.pageSize!==K?r(S=>({...S,searchText:"",pageSize:K,page:1})):f.page!==i+1?r(S=>({...S,searchText:"",page:i+1})):f.searchText!==A&&r(S=>({...S,searchText:A,page:1}))},j=f.searchText?g.filter(i=>i.accessKeyId.toLowerCase().includes(f.searchText.toLowerCase())||(i.remark||"").toLowerCase().includes(f.searchText.toLowerCase())):g;return o?e.jsx(Re,{severity:"error",children:Ie(o)}):e.jsxs(b,{ref:T,sx:{".custom-toobar-btns":{gap:"8px"}},children:[e.jsx(Fe,{durable:k,durableKeys:["page","rowsPerPage"],data:j,columns:w,options:{sort:!1,download:!1,filter:!1,print:!1,viewColumns:!1,page:f.page-1,rowsPerPage:f.pageSize,count:((z=u.value)==null?void 0:z.count)||0,searchDebounceTime:600,onRowClick(i,{dataIndex:K},A){var S;if((S=T.current)!=null&&S.contains(A.target)){const fe=j[K];a(fe)}}},loading:p,onChange:I,customButtons:[e.jsx(He,{permission:c?"":"mutate_accessKey",children:e.jsx(Y,{onCreate:i=>{const{accessKeyId:K,accessKeySecret:A,authType:S}=i;v({show:!0,accessKeyId:K,accessKeySecret:A,authType:S})}})})]}),n.show&&e.jsx(ee,{hideSecret:n.authType==="signature",onConfirm:()=>{u.retry(),v({show:!1})},...n}),x&&e.jsx(ne,{onCancel:()=>a(null),accessKey:x})]})}function nt(){return e.jsx(st,{})}function
|
|
99
|
+
`;function st(){var R,z;const{t:s,locale:t}=D(),{api:d,inService:c}=_(),{teamDid:l}=N(),[n,v]=y.useState({}),[x,a]=y.useState(null),m=W(),T=y.useRef(null),k=`access-keys-${l}`,h=Me(k),[f,r]=y.useState({searchText:h.searchText||"",pageSize:h.rowsPerPage||10,page:1}),u=Xe(async()=>await d.getAccessKeys({input:{teamDid:l,paging:{page:f.page,pageSize:f.pageSize}}}),[f.page,f.pageSize]),{loading:p,error:o}=u,g=y.useMemo(()=>{var i;return((i=u.value)==null?void 0:i.list)||[]},[(R=u.value)==null?void 0:R.list]),w=y.useMemo(()=>[{label:s("common.name"),name:"remark",options:{customBodyRender:(i,{rowIndex:K})=>{const A=g[K];return e.jsx(b,{display:"flex",alignItems:"center",gap:2,children:e.jsx(B,{children:A.remark||"N/A"})})}}},{label:"Access Key ID",name:"accessKeyId",options:{customBodyRender:i=>e.jsx(De,{showDidLogo:!1,children:i})}},{label:s("common.role"),name:"passport",options:{customBodyRender:i=>{const K=m.find(S=>S.name===i),A=K?K.title:i;return e.jsx(b,{children:ue(A,i)})}}},{label:s("common.createdVia"),name:"createdVia",options:{customBodyRender:i=>e.jsx(B,{children:i})}},{label:s("setting.accessKey.authType"),name:"authType",options:{customBodyRender:i=>e.jsx(B,{children:s(`setting.accessKey.${i}`)})}},{label:s("common.createdAt"),name:"createdAt",options:{customBodyRender:i=>e.jsx(ce,{title:P(i,t),children:i?e.jsx(M,{value:i,locale:t}):"-"})}},{label:s("common.lastUsedAt"),name:"lastUsedAt",options:{customBodyRender:i=>e.jsx(ce,{title:P(i,t),children:i?e.jsx(M,{value:i,locale:t}):"-"})}},{label:s("common.expiredAt"),name:"expireAt",options:{customBodyRender:i=>i?e.jsx(J,{value:i}):s("common.neverExpired")}},{label:s("common.actions"),name:"actions",width:100,options:{customBodyRender:(i,{rowIndex:K})=>{const A=g[K];return e.jsxs(b,{display:"flex",gap:1,children:[e.jsx(se,{...A,onUpdate:u.retry}),e.jsx(te,{accessKeyId:A.accessKeyId,time:A.lastUsedAt,remark:A.remark||"N/A",onDelete:u.retry})]})}}}],[g,t,s,u.retry,m]),I=({page:i,rowsPerPage:K,searchText:A})=>{f.pageSize!==K?r(S=>({...S,searchText:"",pageSize:K,page:1})):f.page!==i+1?r(S=>({...S,searchText:"",page:i+1})):f.searchText!==A&&r(S=>({...S,searchText:A,page:1}))},j=f.searchText?g.filter(i=>i.accessKeyId.toLowerCase().includes(f.searchText.toLowerCase())||(i.remark||"").toLowerCase().includes(f.searchText.toLowerCase())):g;return o?e.jsx(Re,{severity:"error",children:Ie(o)}):e.jsxs(b,{ref:T,sx:{".custom-toobar-btns":{gap:"8px"}},children:[e.jsx(Fe,{durable:k,durableKeys:["page","rowsPerPage"],data:j,columns:w,options:{sort:!1,download:!1,filter:!1,print:!1,viewColumns:!1,page:f.page-1,rowsPerPage:f.pageSize,count:((z=u.value)==null?void 0:z.count)||0,searchDebounceTime:600,onRowClick(i,{dataIndex:K},A){var S;if((S=T.current)!=null&&S.contains(A.target)){const fe=j[K];a(fe)}}},loading:p,onChange:I,customButtons:[e.jsx(He,{permission:c?"":"mutate_accessKey",children:e.jsx(Y,{onCreate:i=>{const{accessKeyId:K,accessKeySecret:A,authType:S}=i;v({show:!0,accessKeyId:K,accessKeySecret:A,authType:S})}})})]}),n.show&&e.jsx(ee,{hideSecret:n.authType==="signature",onConfirm:()=>{u.retry(),v({show:!1})},...n}),x&&e.jsx(ne,{onCancel:()=>a(null),accessKey:x})]})}function nt(){return e.jsx(st,{})}function ms(){const s=Be(),{t}=D(),{info:d}=Pe(),{tab:c="members"}=_e(),l=u=>Ne(u,d),{data:n}=$e(),v=y.useCallback(u=>{const p=n.find(o=>[o.meta.did,o.appDid,o.appPid].includes(u));return p?p.meta.title:"Server"},[n]),x=y.useRef(null);x.current=v;const a=y.useCallback(()=>e.jsx(ze,{showScope:!0,scopeFormatter:x.current}),[]),m=y.useCallback(()=>e.jsx(We,{type:"server",createPassportSvg:l}),[]),T=d.did,k=u=>{s(`/team/${u}`)},h={members:{label:t("common.members"),value:"members",component:m},passports:{label:t("team.member.passports"),value:"passports",component:Ue},"access-keys":{label:t("common.accessKey"),value:"access-keys",component:nt},"audit-logs":{label:t("common.auditLogs"),value:"audit-logs",component:a}},f=Object.values(h).map(({label:u,value:p})=>({label:u,value:p})),r=h[c]||h.member;return e.jsx(qe,{teamDid:T,children:e.jsxs(ot,{children:[e.jsx(B,{component:"h2",variant:"h4",className:"page-header",color:"textPrimary",children:t("common.team")}),e.jsx(Le,{tabs:f,current:c,onChange:k,scrollButtons:"auto"}),e.jsx("div",{className:"page-content",children:e.jsx(r.component,{createPassportSvg:l})})]})})}const ot=$.main`
|
|
100
100
|
.page-header {
|
|
101
101
|
display: flex;
|
|
102
102
|
justify-content: space-between;
|
|
@@ -106,4 +106,4 @@ client.setAuthAccessKey({
|
|
|
106
106
|
.page-content {
|
|
107
107
|
margin-top: 24px;
|
|
108
108
|
}
|
|
109
|
-
`;export{
|
|
109
|
+
`;export{ms as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{fi as b}from"./index-AJgIDgSg.js";function c(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function A(o,e){for(var r="",i=0,l=-1,t=0,n,f=0;f<=o.length;++f){if(f<o.length)n=o.charCodeAt(f);else{if(n===47)break;n=47}if(n===47){if(!(l===f-1||t===1))if(l!==f-1&&t===2){if(r.length<2||i!==2||r.charCodeAt(r.length-1)!==46||r.charCodeAt(r.length-2)!==46){if(r.length>2){var s=r.lastIndexOf("/");if(s!==r.length-1){s===-1?(r="",i=0):(r=r.slice(0,s),i=r.length-1-r.lastIndexOf("/")),l=f,t=0;continue}}else if(r.length===2||r.length===1){r="",i=0,l=f,t=0;continue}}e&&(r.length>0?r+="/..":r="..",i=2)}else r.length>0?r+="/"+o.slice(l+1,f):r=o.slice(l+1,f),i=f-l-1;l=f,t=0}else n===46&&t!==-1?++t:t=-1}return r}function h(o,e){var r=e.dir||e.root,i=e.base||(e.name||"")+(e.ext||"");return r?r===e.root?r+i:r+o+i:i}var g={resolve:function(){for(var e="",r=!1,i,l=arguments.length-1;l>=-1&&!r;l--){var t;l>=0?t=arguments[l]:(i===void 0&&(i=b.cwd()),t=i),c(t),t.length!==0&&(e=t+"/"+e,r=t.charCodeAt(0)===47)}return e=A(e,!r),r?e.length>0?"/"+e:"/":e.length>0?e:"."},normalize:function(e){if(c(e),e.length===0)return".";var r=e.charCodeAt(0)===47,i=e.charCodeAt(e.length-1)===47;return e=A(e,!r),e.length===0&&!r&&(e="."),e.length>0&&i&&(e+="/"),r?"/"+e:e},isAbsolute:function(e){return c(e),e.length>0&&e.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var e,r=0;r<arguments.length;++r){var i=arguments[r];c(i),i.length>0&&(e===void 0?e=i:e+="/"+i)}return e===void 0?".":g.normalize(e)},relative:function(e,r){if(c(e),c(r),e===r||(e=g.resolve(e),r=g.resolve(r),e===r))return"";for(var i=1;i<e.length&&e.charCodeAt(i)===47;++i);for(var l=e.length,t=l-i,n=1;n<r.length&&r.charCodeAt(n)===47;++n);for(var f=r.length,s=f-n,v=t<s?t:s,u=-1,a=0;a<=v;++a){if(a===v){if(s>v){if(r.charCodeAt(n+a)===47)return r.slice(n+a+1);if(a===0)return r.slice(n+a)}else t>v&&(e.charCodeAt(i+a)===47?u=a:a===0&&(u=0));break}var m=e.charCodeAt(i+a),C=r.charCodeAt(n+a);if(m!==C)break;m===47&&(u=a)}var d="";for(a=i+u+1;a<=l;++a)(a===l||e.charCodeAt(a)===47)&&(d.length===0?d+="..":d+="/..");return d.length>0?d+r.slice(n+u):(n+=u,r.charCodeAt(n)===47&&++n,r.slice(n))},_makeLong:function(e){return e},dirname:function(e){if(c(e),e.length===0)return".";for(var r=e.charCodeAt(0),i=r===47,l=-1,t=!0,n=e.length-1;n>=1;--n)if(r=e.charCodeAt(n),r===47){if(!t){l=n;break}}else t=!1;return l===-1?i?"/":".":i&&l===1?"//":e.slice(0,l)},basename:function(e,r){if(r!==void 0&&typeof r!="string")throw new TypeError('"ext" argument must be a string');c(e);var i=0,l=-1,t=!0,n;if(r!==void 0&&r.length>0&&r.length<=e.length){if(r.length===e.length&&r===e)return"";var f=r.length-1,s=-1;for(n=e.length-1;n>=0;--n){var v=e.charCodeAt(n);if(v===47){if(!t){i=n+1;break}}else s===-1&&(t=!1,s=n+1),f>=0&&(v===r.charCodeAt(f)?--f===-1&&(l=n):(f=-1,l=s))}return i===l?l=s:l===-1&&(l=e.length),e.slice(i,l)}else{for(n=e.length-1;n>=0;--n)if(e.charCodeAt(n)===47){if(!t){i=n+1;break}}else l===-1&&(t=!1,l=n+1);return l===-1?"":e.slice(i,l)}},extname:function(e){c(e);for(var r=-1,i=0,l=-1,t=!0,n=0,f=e.length-1;f>=0;--f){var s=e.charCodeAt(f);if(s===47){if(!t){i=f+1;break}continue}l===-1&&(t=!1,l=f+1),s===46?r===-1?r=f:n!==1&&(n=1):r!==-1&&(n=-1)}return r===-1||l===-1||n===0||n===1&&r===l-1&&r===i+1?"":e.slice(r,l)},format:function(e){if(e===null||typeof e!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return h("/",e)},parse:function(e){c(e);var r={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return r;var i=e.charCodeAt(0),l=i===47,t;l?(r.root="/",t=1):t=0;for(var n=-1,f=0,s=-1,v=!0,u=e.length-1,a=0;u>=t;--u){if(i=e.charCodeAt(u),i===47){if(!v){f=u+1;break}continue}s===-1&&(v=!1,s=u+1),i===46?n===-1?n=u:a!==1&&(a=1):n!==-1&&(a=-1)}return n===-1||s===-1||a===0||a===1&&n===s-1&&n===f+1?s!==-1&&(f===0&&l?r.base=r.name=e.slice(1,s):r.base=r.name=e.slice(f,s)):(f===0&&l?(r.name=e.slice(1,n),r.base=e.slice(1,s)):(r.name=e.slice(f,n),r.base=e.slice(f,s)),r.ext=e.slice(n,s)),f>0?r.dir=e.slice(0,f-1):l&&(r.dir="/"),r},sep:"/",delimiter:":",win32:null,posix:null};g.posix=g;var y=g;export{y as p};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c as Q,s as Y,j as e,L as V,I as F,r as u,u as W,a as $,b as I,P as j,d as X,e as J,_ as K,f as Z,g as ee,W as P,T as y,h as ne,i as b,k as h,G as g,n as q,p as te,C as ae,l as A}from"./index-
|
|
1
|
+
import{c as Q,s as Y,j as e,L as V,I as F,r as u,u as W,a as $,b as I,P as j,d as X,e as J,_ as K,f as Z,g as ee,W as P,T as y,h as ne,i as b,k as h,G as g,n as q,p as te,C as ae,l as A}from"./index-AJgIDgSg.js";import{f as se}from"./index-BojVbZw0.js";import{I as E}from"./index-2OI_OVBD.js";import{C as T}from"./click-to-copy-BBx903lR.js";import{w as re}from"./withStyles-D9pc_Gr2.js";var oe=Q(function(n,c,r){return n+(r?" ":"")+c.toLowerCase()});function L({icon:n,value:c,name:r,url:p="",animated:i=!1,LinkComponent:o=V,prefix:m="/images"}){const s=e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"metric__image",children:e.jsx(F,{name:n,alt:typeof r=="string"?r:"",size:30,prefix:m,color:"#222222"})}),e.jsxs("div",{children:[e.jsx("div",{className:`metric__number ${i?"metric__number--animated":""}`,dangerouslySetInnerHTML:{__html:c}}),e.jsx("div",{className:"metric__name",children:r})]})]});return e.jsx(ie,{children:p?e.jsx(o,{to:p,children:s}):s})}const ie=Y("div")`
|
|
2
2
|
border-left: 1px solid ${n=>n.theme.typography.color.main};
|
|
3
3
|
padding: 10px 0 10px 16px;
|
|
4
4
|
@media (max-width: ${n=>n.theme.breakpoints.values.sm}px) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as o,V as d,j as e,
|
|
1
|
+
import{r as o,V as d,j as e,ej as c,ba as I,e5 as M,fe as b,ff as E,fd as P,s as p,fg as S}from"./index-AJgIDgSg.js";import{B as z}from"./ButtonGroup-CETfqQqG.js";function A(s){const{size:u="medium",color:r="primary",menu:a=[],children:i=null,variant:m="contained",onClick:f=P,menuButtonProps:x={},...h}=s,[g,l]=o.useState(!1),n=o.useRef(null),j=Array.isArray(a)?a.map((t,C)=>o.isValidElement(t)?t:o.createElement(d,{...t,key:C})):a,y=()=>{l(t=>!t)},k=t=>{n.current&&n.current.contains(t.target)||l(!1)},B=t=>{t.target.closest(".MuiMenuItem-root")&&l(!1)};return e.jsxs(e.Fragment,{children:[e.jsxs(L,{variant:m,size:u,color:r,ref:n,...h,children:[typeof i=="function"?i():e.jsx(c,{onClick:f,color:r,children:i}),e.jsx(c,{onClick:y,color:r,...x,"aria-label":"more functions",children:e.jsx(I,{})})]}),e.jsx(w,{open:g,anchorEl:n.current,placement:"bottom-end",disablePortal:!1,children:e.jsx(M,{children:e.jsx(b,{onClickAway:k,children:e.jsx(E,{onClick:B,children:j})})})})]})}A.Item=d;const L=p(z)`
|
|
2
2
|
> .MuiButtonBase-root:last-of-type {
|
|
3
3
|
min-width: 2em;
|
|
4
4
|
padding-left: 0;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as P,N as b,a0 as Z,j as e,a1 as be,r as f,P as E,m as O,a2 as Ge,a3 as ve,a4 as j,a5 as He,a6 as re,a7 as qe,z as M,Z as J,a8 as Ve,k as L,T as Ye,a9 as Ke,B as U,D as Qe,C as Se,t as Ze,v as Je,Y as je,aa as Xe,ab as et,ac as tt,u as I,f as st,ad as W,o as oe,A as ot,ae as ne,y as Ce,q as ae,af as rt,W as ie,L as X,w as Pe,x as ee,ag as nt,ah as at,ai as Re,aj as it,b as B,ak as xe,al as lt,K as ct,am as dt,O as pt,F as Te,an as ht,ao as mt,ap as Ee,aq as De,ar as Be,as as Ue,at as Oe,au as N,av as _e,aw as Ae,ax as Fe,ay as ut}from"./index-
|
|
1
|
+
import{n as P,N as b,a0 as Z,j as e,a1 as be,r as f,P as E,m as O,a2 as Ge,a3 as ve,a4 as j,a5 as He,a6 as re,a7 as qe,z as M,Z as J,a8 as Ve,k as L,T as Ye,a9 as Ke,B as U,D as Qe,C as Se,t as Ze,v as Je,Y as je,aa as Xe,ab as et,ac as tt,u as I,f as st,ad as W,o as oe,A as ot,ae as ne,y as Ce,q as ae,af as rt,W as ie,L as X,w as Pe,x as ee,ag as nt,ah as at,ai as Re,aj as it,b as B,ak as xe,al as lt,K as ct,am as dt,O as pt,F as Te,an as ht,ao as mt,ap as Ee,aq as De,ar as Be,as as Ue,at as Oe,au as N,av as _e,aw as Ae,ax as Fe,ay as ut}from"./index-AJgIDgSg.js";import{t as ft}from"./toLower-DoLsoIUi.js";import{P as H,L as xt,A as gt,S as Le,a as $e}from"./index-IJaA2JHH.js";import{A as yt,D as le,u as wt,W as kt,P as bt,L as Ne,S as Me,a as Ie}from"./wait-container-DFgs_ycx.js";import{g as te}from"./get-safe-url-Bs5i5FpE.js";import{_ as ge}from"./useLocalStorage-DErQTCC8.js";import{d as vt}from"./Launch-CbHu_JiN.js";import{d as St}from"./DeleteOutline-CBtSJ3uj.js";import{g as jt,i as Ct}from"./spaces-Qg7EXTlR.js";import{d as Pt}from"./MoreVert-T7jlVzCd.js";import{E as Rt}from"./index-D2TTRLM_.js";import"./url-join-D3UI4kOJ.js";import"./Close-CMKp87zW.js";import"./api-DG7in6iX.js";function ce({children:s,selected:i}){return e.jsxs(Tt,{children:[s,e.jsx(b,{className:`selected-container ${i?"selected":""}`,children:e.jsx(be,{className:"selected-icon"})})]})}const Tt=P(b)`
|
|
2
2
|
position: relative;
|
|
3
3
|
|
|
4
4
|
.selected-container {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import{ao as ee,y as q,r as p,a as te,b as se,P as b,m as
|
|
1
|
+
import{ao as ee,y as q,r as p,a as te,b as se,P as b,m as w,u as j,x as oe,az as _,J as O,j as t,w as z,aA as re,a4 as y,k as R,D as W,aB as ne,aC as ae,B as M,C as V,aD as le,z as K,Z as G,aE as ie,aF as ce,N as E,aG as ue,E as de,aH as D,L as pe,aI as he,n as H,ad as fe,a8 as me,aa as ge,ab as xe,aJ as be,ac as ke}from"./index-AJgIDgSg.js";import{_ as L}from"./useLocalStorage-DErQTCC8.js";import{c as ye,C as Se,A as we,z as je,a as Pe,d as ve,B as Re,S as J,b as Ce,e as Le}from"./item-CeGXgGDh.js";import{g as T}from"./get-safe-url-Bs5i5FpE.js";import{P as Q}from"./permission-bQJb4Wfm.js";import{d as Be}from"./ArrowDropDown-srvJwv_s.js";import{B as De}from"./Breadcrumbs-BjBCOm__.js";import"./index-Bl_QpGg2.js";import"./ChevronLeft-CQJA5jUj.js";import"./ChevronRight-B3ioYqvf.js";import"./Search-CzTpAOa9.js";import"./index-D2TTRLM_.js";import"./blocklet-n2QLVVft.js";import"./Autocomplete-DgD7oXbC.js";import"./ListSubheader-C2HVg1lq.js";import"./Verified-BrGKKjLS.js";import"./VerifiedUser-T9tFwB9U.js";import"./Add-DyqE7ma4.js";import"./Launch-CbHu_JiN.js";import"./Done-LO8W9lyO.js";import"./DeleteOutline-CBtSJ3uj.js";import"./delete-confirm-C6MdS5sY.js";import"./click-to-copy-BBx903lR.js";import"./MoreVert-T7jlVzCd.js";import"./get-safe-url-DfM7C7Hf.js";import"./ButtonGroup-CETfqQqG.js";import"./getValidReactChildren-q1n8NmWG.js";function Ee(e){const r=ee(),c=q(),[s,o]=L(`sid:blocklet:purchase:${e}`),[a,u]=p.useState(!1),[h,l]=p.useState(null),f=()=>{const{pathname:n,searchParams:d}=new URL(window.location.href),i=window.env&&window.env.apiPrefix?window.env.apiPrefix:"/";d.get("sid")&&(o(""),c(n.replace(i,"/"),{replace:!0}))},m=!!(r.get("assetDid")&&s&&r.get("sid")===s);return te(se.BlockletEvents.purchaseChange,n=>{n.did===e&&(l(n.session),["declined","confirmed","error"].includes(n.session.status)&&(u(!0),setTimeout(f,2e3)))}),p.useEffect(()=>{h&&h.id!==s&&o(h.id)},[h]),{hasCompleted:a,hasPurchased:m,session:h,setSession:l,doRedirect:f}}function U({meta:e,onCancel:r,handlePaySuccess:c,storeUrl:s}){const{t:o}=w(),{info:a}=j(),[u,h]=p.useState("both"),[l,f]=p.useState(1),m=oe(a),n=_(e,a,s),d=v=>{v!==u&&h(v)},i=()=>{u&&(f(2),u==="verify"&&(window.location.href=T(n)))},k=(v,B)=>{B!=="backdropClick"&&r()},P=()=>{c(n)},g=O.getDisplayName({meta:e});if(u==="purchase"&&l===2)return t.jsx(z,{open:!0,popup:!0,baseUrl:s,action:"acquire-asset",checkFn:re.create({baseURL:y(s,"/store")}).get,onSuccess:P,onClose:r,checkTimeout:60*5e3,extraParams:{factory:e.nftFactory},webWalletUrl:m,disableClose:!0,saveConnect:!1,showDownload:!1,messages:{title:o("store.purchase.auth.title",{name:g}),scan:o("store.purchase.auth.scan"),confirm:o("store.purchase.auth.confirm"),success:t.jsxs(t.Fragment,{children:[t.jsx(R,{gutterBottom:!0,children:o("store.purchase.auth.success")}),t.jsxs(R,{variant:"subtitle2",children:[" ",o("store.purchase.autoLaunch",{name:g})]})]})}});const x=W;return t.jsx(x,{title:o("store.purchase.title",{name:g}),disableEscapeKeyDown:!0,open:!0,fullWidth:!0,onClose:k,children:t.jsx("div",{style:{marginBottom:16},children:t.jsx(Se,{action:u,onNext:i,onSelect:d})})})}U.propTypes={...ye,storeUrl:b.string.isRequired,handlePaySuccess:b.func};U.defaultProps={handlePaySuccess:e=>{setTimeout(()=>{window.location.href=T(e,{allowDomains:null})},1e3)}};function I({meta:e,buttonText:r,storeUrl:c,isResource:s}){const{t:o}=w(),a=q(),{info:u}=j(),{api:h}=ne(),l=O.isFreeBlocklet(e)===!1,[f,m]=p.useState(!1),{hasPurchased:n}=Ee(e.did),[d,i]=p.useState(!1),[k]=L("instant-blocklet-install",!1),[P,g]=p.useState(!1),x=p.useMemo(()=>f?o(l?"blocklet.status.purchasing":"blocklet.status.waiting"):"",[f,o,l]),v=p.useMemo(()=>s?o("blocklet.status.resource"):l?r.purchase:r.launch,[l,r,s]),B=S=>{S.preventDefault(),S.stopPropagation();try{if(m(!0),l){i(!0);return}if(k){g(!0);return}if(!l){const C=_(e,u,c);window.location.href=T(C)}}catch(C){K.error(G(C),{autoHideDuration:5e3}),console.error("Blocklet installed failed",C)}finally{m(!1)}},Y=()=>{m(!1),i(!1)},Z=S=>{m(!1),g(!1),a(`/blocklets/${S.appDid}/components`)},X=()=>{m(!1),g(!1)};return t.jsxs(t.Fragment,{children:[t.jsx(we,{children:t.jsx(Q,{permission:"mutate_blocklets",children:S=>t.jsx(ae,{title:s?o("launchBlocklet.error.resourceBlocklet"):"",children:t.jsx(M,{onClick:B,size:"small",sx:{cursor:s?"not-allowed":"pointer",overflow:"hidden"},disabled:!!(x||!S),variant:"outlined",color:"primary","data-cy":"install-blocklet",children:x?t.jsxs(t.Fragment,{children:[t.jsx(V,{size:16,style:{marginRight:3}}),x]}):v},e.did)})})}),(n||d)&&t.jsx(U,{method:"launch",meta:e,mode:"both",onCancel:Y,storeUrl:c}),P&&t.jsx(z,{popup:!0,open:!0,forceConnected:!1,className:"launch-from-url-auth",action:"launch-free-blocklet-by-session",checkFn:h.get,checkTimeout:5*60*1e3,onSuccess:Z,extraParams:{title:e.title,blockletMetaUrl:decodeURIComponent(le(c,e.did).trim())},messages:{title:o("setup.keyPair.title"),scan:o("setup.keyPair.scan"),confirm:o("setup.keyPair.confirm"),success:o("setup.keyPair.success")},onClose:X})]})}I.propTypes={isResource:b.bool,meta:b.object.isRequired,buttonText:b.shape({purchase:b.string.isRequired,launch:b.string.isRequired}).isRequired,storeUrl:b.string.isRequired};I.defaultProps={isResource:!1};const Te=(e,r,c)=>{const s=fe(r);return y(c,`/blocklets/${e.did}/?server-url=${s}`)},$=({meta:e,attribute:r,value:c})=>e._formatted?e._formatted[r]:c,Ue=(e,r)=>{if(!e||!r)return"";try{return y(r,e)}catch(c){return console.warn("Failed to construct avatar URL:",c),""}};function F({blocklet:e,endpoint:r,serverVersion:c}){var n,d;const{t:s}=w(),o=j();let a=y(o.imgPrefix,"blocklet.png");const u=r;if(u.startsWith("http")&&e.logo)a=y(u,ue(e.did,e.logo,e.version));else{let k=(window.env.apiPrefix||"/").replace(/^\/+/,"").replace(/\/+$/,"");k&&(k=`/${k}`),a=y(k,`/blocklet/logo/${e.did}`)}try{const i=new URL(a);i.searchParams.set("v",e.version||+new Date),a=i.href}catch{}const h=(o==null?void 0:o.info.mode)!==de.NODE_MODES.SERVERLESS,l=i=>i.currentTarget.contains(i.target)?!0:(i.preventDefault(),!1),f={meta:e,buttonText:{purchase:s("common.purchase"),launch:s("common.launch")},storeUrl:u};let m=null;return h&&(m=t.jsx("div",{style:{display:"flex",alignItems:"center"},children:t.jsx(Pe,{serverVersion:c,requirementVersion:(n=e.requirements)==null?void 0:n.server,size:"small",children:t.jsx(I,{isResource:!(D.hasStartEngine(e)||D.isGatewayBlocklet(e)||D.isPackBlocklet(e)),...f})})})),t.jsx(pe,{href:Te(e,o.info,r),style:{color:"initial",textDecoration:"none"},onClick:l,target:"_blank",children:t.jsx(Ie,{title:$({meta:e,attribute:"title",value:e.title||e.name}),did:e.did,description:$({meta:e,attribute:"description",value:e.description}),cover:e.logo?a:"",version:e.version,onButtonClick:null,icons:(d=e.docker)!=null&&d.image?[{key:"docker",icon:t.jsx(E,{display:"flex",color:"primary.main",children:t.jsx(he,{icon:ve})}),title:s("blocklet.dockerImage")}]:[],official:e.isOfficial?{tooltip:s("blocklet.component.isOfficial")}:void 0,author:e.owner.fullName,avatar:Ue(e.owner.avatar,r),download:e.stats.downloads,button:m})})}F.propTypes={blocklet:b.object.isRequired,serverVersion:b.string,endpoint:b.string};F.defaultProps={endpoint:"",serverVersion:""};function A({storeUrl:e,handleSearchSelect:r,extraFilter:c,...s}){var n;const{locale:o}=w(),a=j(),[u,h]=p.useState({}),l=d=>{h(d)},f=e,m=(n=a==null?void 0:a.info)==null?void 0:n.version;return p.useEffect(()=>{h({})},[f]),t.jsx(ie,{FallbackComponent:ce,resetKeys:[f],children:t.jsx(E,{...s,sx:{"& .title-bar":{pt:0},".blocklet-list":{mt:0},"& h2":{display:"none"}},children:t.jsx(je,{layout:{showExplore:!1,showTitle:!0},blockletRender:d=>{const i={...d,endpoint:f};return t.jsx(F,{...i})},baseSearch:!0,endpoint:f,locale:o,onFilterChange:l,onSearchSelect:r,filters:u,extraFilter:c,serverVersion:m})})})}A.propTypes={storeUrl:b.string.isRequired,handleSearchSelect:b.func,extraFilter:b.func};A.defaultProps={handleSearchSelect:null,extraFilter:void 0};const Ie=H(Re)`
|
|
2
2
|
.ms-highlight {
|
|
3
3
|
color: ${e=>e.theme.palette.primary.main};
|
|
4
4
|
}
|
|
5
|
-
`,Fe=me(()=>({buttonText:{textTransform:"none !important"},iconRoot:{minWidth:24},menuName:{display:"flex",flexDirection:"column",marginRight:"100px","& span":{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}})),N=p.forwardRef(({onChange:e,onDelete:r},c)=>{const{info:s}=
|
|
5
|
+
`,Fe=me(()=>({buttonText:{textTransform:"none !important"},iconRoot:{minWidth:24},menuName:{display:"flex",flexDirection:"column",marginRight:"100px","& span":{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}})),N=p.forwardRef(({onChange:e,onDelete:r},c)=>{const{info:s}=j(),{t:o}=w(),[a,u]=p.useState(!1),[h,l]=p.useState(!1),[f,m]=p.useState(-1),n=Fe(),[d,i]=L(J),k=Math.max(s.blockletRegistryList.findIndex(g=>g.url===d),0),P=g=>{try{u(!0),m(g);const x=s.blockletRegistryList[g];i(x.url),e(x.url),l(!1)}catch(x){console.error(x),K.error(`${o("store.blockletRegistry.changeFailed")} ${G(x)}`)}finally{u(!1)}};return p.useImperativeHandle(c,()=>({setOpen:l})),t.jsxs(t.Fragment,{children:[t.jsx(M,{classes:{text:n.buttonText},color:"secondary","data-cy":"store-toggle",onClick:()=>{l(!0)},endIcon:t.jsx(Be,{}),children:t.jsx(R,{color:"secondary",children:s.blockletRegistryList[k].name})}),t.jsx(W,{title:o("store.blockletRegistry.switchRegistry"),disableEscapeKeyDown:!0,disablePortal:!1,fullWidth:!0,open:h,onClose:()=>l(!1),children:t.jsxs(ge,{className:n.tabPanel,children:[s.blockletRegistryList.map((g,x)=>t.jsxs(xe,{button:!0,disabled:a,selected:k===x,"data-cy":"store-switch",onClick:()=>{if(!a){if(x===k){l(!1);return}P(x)}},children:[f===x&&a&&t.jsx(be,{className:n.iconRoot,children:t.jsx(V,{size:16})}),t.jsx(ke,{children:t.jsx(Ce,{teamDid:s.did,store:g,onDelete:()=>r(g.url)})})]},g.url)),t.jsx(Q,{permission:"mutate_node",children:g=>t.jsx(Le,{disabled:a||!g,onAdd:e,teamDid:s.did,blockletRegistryList:s.blockletRegistryList})})]})})]})});N.propTypes={onChange:b.func,onDelete:b.func};N.defaultProps={onChange:()=>{},onDelete:()=>{}};const Ae=N;function dt(){const{t:e}=w(),{info:r}=j(),[c]=L(J),{blockletRegistryList:s}=r,o=s.find(n=>c===n.url)||s[0],[a,u]=p.useState(o.url),h=r.routing.adminPath,l=y(window.location.origin,h),f=({detailUrl:n})=>{const d=new URL(n);d.searchParams.set("server-url",l);const i=document.createElement("a");i.setAttribute("target","_blank"),i.setAttribute("href",d.href),i.click()},m=p.useRef(null);return t.jsxs(Ne,{children:[t.jsxs(De,{separator:"›","aria-label":"breadcrumb",className:"page-breadcrumb",children:[t.jsx(R,{color:"textPrimary",children:e("common.store")}),t.jsx(Ae,{ref:m,onChange:n=>u(n),onDelete:n=>{var d;a===n&&u((d=r.blockletRegistryList[0])==null?void 0:d.url)}})]}),t.jsx(E,{className:"store-header",display:"flex",justifyContent:"space-between",p:0,m:0,children:t.jsx(R,{component:"h2",variant:"h4",color:"textPrimary",children:e("store.headerDescription")})}),t.jsx(A,{className:"blocklet-list",handleSearchSelect:f,storeUrl:a})]})}const Ne=H.main`
|
|
6
6
|
.blocklet-list {
|
|
7
7
|
aside:hover {
|
|
8
8
|
height: calc(100vh - 235px);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{bl as j,
|
|
1
|
+
import{bl as j,d3 as O}from"./index-AJgIDgSg.js";function J(i,t){for(var r=0;r<t.length;r++){const a=t[r];if(typeof a!="string"&&!Array.isArray(a)){for(const e in a)if(e!=="default"&&!(e in i)){const s=Object.getOwnPropertyDescriptor(a,e);s&&Object.defineProperty(i,e,s.get?s:{enumerable:!0,get:()=>a[e]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}var d={default:O,call:function(i,t,r){var a="";typeof t=="function"&&(r=t,t={});var e={data:t===void 0?null:t};if(typeof r=="function"){var s="dscb"+window.dscb++;window[s]=r,e._dscbstub=s}return e=JSON.stringify(e),window._dsbridge?a=_dsbridge.call(i,e):(window._dswk||navigator.userAgent.indexOf("_dsbridge")!=-1)&&(a=prompt("_dsbridge="+i,e)),JSON.parse(a||"{}").data},register:function(i,t,r){var a=r?window._dsaf:window._dsf;window._dsInit||(window._dsInit=!0,setTimeout(function(){d.call("_dsb.dsinit")},0)),typeof t=="object"?a._obs[i]=t:a[i]=t},registerAsyn:function(i,t){this.register(i,t,!0)},hasNativeMethod:function(i,t){return this.call("_dsb.hasNativeMethod",{name:i,type:t||"all"})},disableJavascriptDialogBlock:function(i){this.call("_dsb.disableJavascriptDialogBlock",{disable:i!==!1})}};(function(){if(!window._dsf){var i={_dsf:{_obs:{}},_dsaf:{_obs:{}},dscb:0,dsBridge:d,close:function(){d.call("_dsb.closePage")},_handleMessageFromNative:function(r){var a=JSON.parse(r.data),e={id:r.callbackId,complete:!0},s=this._dsf[r.method],o=this._dsaf[r.method],p=function(u,_){e.data=u.apply(_,a),d.call("_dsb.returnValue",e)},v=function(u,_){a.push(function(w,y){e.data=w,e.complete=y!==!1,d.call("_dsb.returnValue",e)}),u.apply(_,a)};if(s)p(s,this._dsf);else if(o)v(o,this._dsaf);else{var l=r.method.split(".");if(l.length<2)return;var b=l.pop(),g=l.join("."),c=this._dsf._obs,f=c[g]||{},n=f[b];if(n&&typeof n=="function"){p(n,f);return}if(c=this._dsaf._obs,f=c[g]||{},n=f[b],n&&typeof n=="function"){v(n,f);return}}}};for(var t in i)window[t]=i[t];d.register("_hasJavascriptMethod",function(r,a){var e=r.split(".");if(e.length<2)return!!(_dsf[e]||_dsaf[e]);var r=e.pop(),s=e.join("."),o=_dsf._obs[s]||_dsaf._obs[s];return o&&!!o[r]})}})();var h=d;const N=j(h),k=J({__proto__:null,default:N},[h]);export{k as i};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as be,r as he,c0 as xt,
|
|
1
|
+
import{j as be,r as he,c0 as xt,ds as gi,dt as Ew,c2 as Da,du as $o,dv as nu,dw as Dw,dx as Aw,dy as jw,dz as kw,dA as ks,dB as Ut,dC as Wt,dD as ts,dE as rs,dF as ti,dG as Mw,dH as fg,dI as dg,dJ as Lw,dK as pg,dL as vg,dM as Fw,dN as Nw,dO as Bw,dP as Hw,aw as sf,dQ as Uw,dR as Ww,dS as zw,dT as Gw,dU as qw,b_ as di,dV as Kw,dW as Vw,dX as Yw,dY as Xw,dZ as Jw,d_ as Qw,d$ as Zw,e0 as e_,e1 as t_,e2 as r_,e3 as n_,e4 as a_,an as hg,e5 as o_,e6 as i_,e7 as s_,a6 as ws,e8 as l_,e9 as u_,k as c_,ea as f_,eb as d_,ec as p_,ed as v_,ee as h_,ef as g_,eg as y_,eh as m_,ei as b_,ej as S_,ek as w_,el as __,X as T_,em as $_,Q as C_,en as O_,eo as x_,ep as I_,aZ as P_,eq as R_,er as E_,bn as D_,es as A_,et as j_,G as k_,eu as M_,ev as L_,ew as F_,ex as N_,ey as B_,ez as H_,S as U_,eA as W_,eB as z_,ac as xc,eC as G_,eD as q_,eE as K_,eF as V_,b6 as gg,eG as Y_,eH as X_,eI as J_,eJ as Q_,V as Ic,eK as Z_,eL as eT,U as tT,eM as rT,eN as nT,aC as Pc,eO as aT,eP as oT,eQ as iT,eR as sT,eS as lT,c4 as yg,c3 as mg,c5 as bg,eT as uT,c7 as Co,c8 as Sg,eU as cT,eV as fT,eW as dT,eX as pT,eY as vT,eZ as hT,bZ as gT,b$ as yT,ch as wg,v as mT,e_ as bT,e$ as ST,f0 as wT,f1 as _g,f2 as _T,f3 as TT,f4 as $T,d3 as Xe,c_ as ct,f5 as CT,f6 as OT,bl as lf,aQ as yi,aR as mi,d1 as Ms,db as Tg,f7 as xT,a0 as IT,f8 as PT,P as rt,s as bi,aJ as Sd,b4 as RT,d as ET,F as DT,f9 as wd,a2 as AT,h as jT,C as kT}from"./index-AJgIDgSg.js";import{T as MT,g as LT,t as FT,a as NT,b as BT,c as HT,d as UT,e as WT,f as zT,h as GT,i as qT,j as KT}from"./TableRow-Cr41eTmp.js";import{u as VT}from"./useThemeProps-DI7JqlIy.js";import{r as YT,a as $g}from"./emotion-react.browser.esm-Dyrm_eeQ.js";import{c as XT,R as JT,V as QT,d as ZT}from"./ViewColumn-CQJvMaMH.js";import{S as e$}from"./Search-CzTpAOa9.js";import{C as t$}from"./Clear-C23RMA8O.js";import{D as r$}from"./Delete-X-iZLu8W.js";import{E as _d}from"./index-D2TTRLM_.js";import{d as n$}from"./MoreVert-T7jlVzCd.js";import{u as el,T as a$,D as o$}from"./TableSearch-DBDA-JAl.js";const uf="mode",cf="color-scheme",Cg="data-color-scheme";function i$(e){const{defaultMode:t="light",defaultLightColorScheme:r="light",defaultDarkColorScheme:n="dark",modeStorageKey:a=uf,colorSchemeStorageKey:o=cf,attribute:l=Cg,colorSchemeNode:f="document.documentElement",nonce:d}=e||{};return be.jsx("script",{suppressHydrationWarning:!0,nonce:typeof window>"u"?d:"",dangerouslySetInnerHTML:{__html:`(function() {
|
|
2
2
|
try {
|
|
3
3
|
var mode = localStorage.getItem('${a}') || '${t}';
|
|
4
4
|
var colorScheme = '';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c3 as f,c4 as $,b_ as d,ch as r,cg as x,ci as v,
|
|
1
|
+
import{c3 as f,c4 as $,b_ as d,ch as r,cg as x,ci as v,g6 as m,g7 as C,r as M,c5 as z,c2 as j,c0 as l,j as s,c7 as R,c8 as B,s as T,P,aZ as _}from"./index-AJgIDgSg.js";function N(t){return $("MuiSwitch",t)}const i=f("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),O=["className","color","edge","size","sx"],D=t=>{const{classes:a,edge:o,size:e,color:p,checked:u,disabled:h}=t,g={root:["root",o&&`edge${r(o)}`,`size${r(e)}`],switchBase:["switchBase",`color${r(p)}`,u&&"checked",h&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},b=B(g,N,a);return l({},a,b)},I=d("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(t,a)=>{const{ownerState:o}=t;return[a.root,o.edge&&a[`edge${r(o.edge)}`],a[`size${r(o.size)}`]]}})({display:"inline-flex",width:34+12*2,height:14+12*2,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${i.thumb}`]:{width:16,height:16},[`& .${i.switchBase}`]:{padding:4,[`&.${i.checked}`]:{transform:"translateX(16px)"}}}}]}),U=d(x,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(t,a)=>{const{ownerState:o}=t;return[a.switchBase,{[`& .${i.input}`]:a.input},o.color!=="default"&&a[`color${r(o.color)}`]]}})(({theme:t})=>({position:"absolute",top:0,left:0,zIndex:1,color:t.vars?t.vars.palette.Switch.defaultColor:`${t.palette.mode==="light"?t.palette.common.white:t.palette.grey[300]}`,transition:t.transitions.create(["left","transform"],{duration:t.transitions.duration.shortest}),[`&.${i.checked}`]:{transform:"translateX(20px)"},[`&.${i.disabled}`]:{color:t.vars?t.vars.palette.Switch.defaultDisabledColor:`${t.palette.mode==="light"?t.palette.grey[100]:t.palette.grey[600]}`},[`&.${i.checked} + .${i.track}`]:{opacity:.5},[`&.${i.disabled} + .${i.track}`]:{opacity:t.vars?t.vars.opacity.switchTrackDisabled:`${t.palette.mode==="light"?.12:.2}`},[`& .${i.input}`]:{left:"-100%",width:"300%"}}),({theme:t})=>({"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.activeChannel} / ${t.vars.palette.action.hoverOpacity})`:v(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(t.palette).filter(([,a])=>a.main&&a.light).map(([a])=>({props:{color:a},style:{[`&.${i.checked}`]:{color:(t.vars||t).palette[a].main,"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette[a].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:v(t.palette[a].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${i.disabled}`]:{color:t.vars?t.vars.palette.Switch[`${a}DisabledColor`]:`${t.palette.mode==="light"?m(t.palette[a].main,.62):C(t.palette[a].main,.55)}`}},[`&.${i.checked} + .${i.track}`]:{backgroundColor:(t.vars||t).palette[a].main}}}))]})),E=d("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(t,a)=>a.track})(({theme:t})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:t.transitions.create(["opacity","background-color"],{duration:t.transitions.duration.shortest}),backgroundColor:t.vars?t.vars.palette.common.onBackground:`${t.palette.mode==="light"?t.palette.common.black:t.palette.common.white}`,opacity:t.vars?t.vars.opacity.switchTrack:`${t.palette.mode==="light"?.38:.3}`})),L=d("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(t,a)=>a.thumb})(({theme:t})=>({boxShadow:(t.vars||t).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"})),V=M.forwardRef(function(a,o){const e=z({props:a,name:"MuiSwitch"}),{className:p,color:u="primary",edge:h=!1,size:g="medium",sx:b}=e,y=j(e,O),c=l({},e,{color:u,edge:h,size:g}),n=D(c),w=s.jsx(L,{className:n.thumb,ownerState:c});return s.jsxs(I,{className:R(n.root,p),sx:b,ownerState:c,children:[s.jsx(U,l({type:"checkbox",icon:w,checkedIcon:w,ref:o,ownerState:c},y,{classes:l({},n,{root:n.switchBase})})),s.jsx(E,{className:n.track,ownerState:c})]})}),k=T(t=>s.jsx(V,{focusVisibleClassName:".Mui-focusVisible",disableRipple:!0,...t}))(({theme:t})=>({width:42,height:26,padding:0,"& .MuiSwitch-switchBase":{padding:0,margin:2,transitionDuration:"300ms","&.Mui-checked":{transform:"translateX(16px)",color:"#fff","& + .MuiSwitch-track":{backgroundColor:t.palette.primary.main,opacity:1,border:0},"&.Mui-disabled + .MuiSwitch-track":{opacity:.5}},"&.Mui-focusVisible .MuiSwitch-thumb":{color:t.palette.primary.main,border:"6px solid #fff"},"&.Mui-disabled .MuiSwitch-thumb":{color:t.palette.mode==="light"?t.palette.grey[100]:t.palette.grey[600]},"&.Mui-disabled + .MuiSwitch-track":{opacity:t.palette.mode==="light"?.7:.3}},"& .MuiSwitch-thumb":{boxSizing:"border-box",width:22,height:22},"& .MuiSwitch-track":{borderRadius:26/2,backgroundColor:t.palette.grey[200],opacity:1,transition:t.transitions.create(["background-color"],{duration:500})}}));function S({labelProps:t,...a}){return t?s.jsx(_,{control:s.jsx(k,{...a}),...t}):s.jsx(k,{...a})}S.propTypes={labelProps:P.object};S.defaultProps={labelProps:null};export{S,V as a};
|