@abtnode/blocklet-services 1.16.43-beta-20250420-132156-d732158a → 1.16.43-beta-20250422-042711-c40bec75
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/api/services/auth/connect/gen-access-key.js +9 -2
- package/api/services/auth/session.js +7 -4
- package/dist/assets/{AdapterDayjs-Bq_2AanQ.js → AdapterDayjs-DcprbhsV.js} +1 -1
- package/dist/assets/{ArrowDropDown-CnO3M65x.js → ArrowDropDown-BHNhtNqo.js} +1 -1
- package/dist/assets/{CheckCircle-vHBx3yBd.js → CheckCircle-C7lAzkFm.js} +1 -1
- package/dist/assets/{ChevronLeft-J2DjxamT.js → ChevronLeft-fcaEvvT2.js} +1 -1
- package/dist/assets/{ChevronRight-CbbryV_W.js → ChevronRight-BWcj-otI.js} +1 -1
- package/dist/assets/{Community-eISlOOkV.js → Community-BXFIKoZW.js} +1 -1
- package/dist/assets/{DeleteOutline-D3rMfe5l.js → DeleteOutline-CMgoFNHT.js} +1 -1
- package/dist/assets/{Done-BKjm-wNl.js → Done-CkkNExgL.js} +1 -1
- package/dist/assets/{Download-dWBmoIIz.js → Download-B1KcU2Zd.js} +1 -1
- package/dist/assets/{Edit-BsIdXKZ9.js → Edit-C-ChSGAK.js} +1 -1
- package/dist/assets/{EditIcon-CQgpOLLT.js → EditIcon-BRKobKzh.js} +1 -1
- package/dist/assets/{Email-BWTg6iJI.js → Email-7cDhevM1.js} +1 -1
- package/dist/assets/{Error-BhDI-TWw.js → Error-Du9QXuYs.js} +1 -1
- package/dist/assets/{ExpandLess-ap4H2881.js → ExpandLess-Cdn0T-U2.js} +1 -1
- package/dist/assets/{Google-yY5m8tgo.js → Google-3Ox3gIL3.js} +1 -1
- package/dist/assets/{Holiday-C3bRTVlx.js → Holiday-BtexoPxk.js} +1 -1
- package/dist/assets/{InfoOutlined-xdatqyfu.js → InfoOutlined-ZIQMeu0p.js} +1 -1
- package/dist/assets/{Launch-C6_9RwNa.js → Launch-qJWNGQwX.js} +1 -1
- package/dist/assets/{LaunchOutlined-CG63jbPx.js → LaunchOutlined-BVUDVgft.js} +1 -1
- package/dist/assets/LoadingButton-D_tuQuaP.js +1 -0
- package/dist/assets/{Location-C_mUMqZP.js → Location-BF9BwrVf.js} +1 -1
- package/dist/assets/{LockIcon-G8zLxYzV.js → LockIcon-L5QI4AoC.js} +1 -1
- package/dist/assets/{Meeting-vvmUKHs1.js → Meeting-gc3Ts6jN.js} +1 -1
- package/dist/assets/{MoreHoriz-ylsvAqcI.js → MoreHoriz-ByNTWUxY.js} +1 -1
- package/dist/assets/{OffSick-BTxtVws3.js → OffSick-_EZgqU01.js} +1 -1
- package/dist/assets/{Phone-Cz_yY8ed.js → Phone-oJLFEdfI.js} +1 -1
- package/dist/assets/{PlayArrow-B-b0Dvp8.js → PlayArrow-rSzT1Thf.js} +1 -1
- package/dist/assets/{QuestionMarkCircle-DeAbZuzW.js → QuestionMarkCircle-Cw7EtCDd.js} +1 -1
- package/dist/assets/{ServerLogo-UZVUmHWK.js → ServerLogo-zdbLsMaw.js} +1 -1
- package/dist/assets/{Timezone-5RxC7sK-.js → Timezone-BtCtoEo9.js} +1 -1
- package/dist/assets/{TuneOutlined-DJ2Nw9gU.js → TuneOutlined-BnxAi8kP.js} +1 -1
- package/dist/assets/{ViewList-DYqpQSjn.js → ViewList-DbzNMeex.js} +1 -1
- package/dist/assets/{WorkingRemotely-_QD8QN72.js → WorkingRemotely-YBya8rZT.js} +1 -1
- package/dist/assets/{access-control-DcIGjdcM.js → access-control-q2DA79L8.js} +1 -1
- package/dist/assets/actions-J8MFA_6y.js +1 -0
- package/dist/assets/{add-component-core-BpT5fbHq.js → add-component-core-IYRc9eac.js} +24 -24
- package/dist/assets/{add-resource-BVgzn5lM.js → add-resource-8w2aCwfA.js} +1 -1
- package/dist/assets/{addon-DXuj5GtV.js → addon-BQEpbqTR.js} +1 -1
- package/dist/assets/{advanced-CIJNFJAE.js → advanced-CX8tZItX.js} +1 -1
- package/dist/assets/api-BrU7j0QA.js +1 -0
- package/dist/assets/{appearance-CCLVRyLq.js → appearance-C5895lZP.js} +1 -1
- package/dist/assets/{audit-logs-brXiMrw_.js → audit-logs-DukS3LSM.js} +3 -3
- package/dist/assets/authorize-CEHLfOxJ.js +1 -0
- package/dist/assets/{base32-Dd6rPCV6.js → base32--dljmFCF.js} +1 -1
- package/dist/assets/{branding-31ZnkyoG.js → branding-Abk6CVlX.js} +1 -1
- package/dist/assets/branding-Cczews7F.js +40 -0
- package/dist/assets/bundle-avatar-DFwyxj9P.js +1 -0
- package/dist/assets/button-CJk6Iiza.js +1 -0
- package/dist/assets/click-to-copy-CbKZyfyr.js +1 -0
- package/dist/assets/cloneDeep-SfcdeqEN.js +1 -0
- package/dist/assets/{complete-Cpcoq6Ge.js → complete-ejUOC1cY.js} +2 -2
- package/dist/assets/{component-Djsamap6.js → component-BOLQzzEI.js} +2 -2
- package/dist/assets/{config-BK2qWQnO.js → config-Bv0DcfgY.js} +2 -2
- package/dist/assets/{config-BQ9p6EgE.js → config-efFznM9P.js} +1 -1
- package/dist/assets/{config-navigation-D2PpiTzz.js → config-navigation-1cuUaRsL.js} +6 -6
- package/dist/assets/{config-space-BFcXXNuJ.js → config-space-DEku2tJv.js} +1 -1
- package/dist/assets/confirm-miQS3Z1c.js +7 -0
- package/dist/assets/connect-0B3z_kZV.js +5 -0
- package/dist/assets/{connect-rWOVXBvz.js → connect-OYujfpaQ.js} +1 -1
- package/dist/assets/connect-to-C-vFK0ym.js +1 -0
- package/dist/assets/{content-layout-Cg5RRv1R.js → content-layout-JixQ7owc.js} +1 -1
- package/dist/assets/dashboard-C9tAGBV0.js +280 -0
- package/dist/assets/{delete-confirm-B2Ye1_SC.js → delete-confirm-kKb8VxbQ.js} +1 -1
- package/dist/assets/{did-address-gmPYOGuy.js → did-address-DNf_-NM-.js} +1 -1
- package/dist/assets/domain-RAN90v9n.js +9 -0
- package/dist/assets/domain-action-card-BNybk5kq.js +25 -0
- package/dist/assets/domains-B51g2OQM.js +1 -0
- package/dist/assets/dot-xwsgXXMo.js +7 -0
- package/dist/assets/{email-BAajjNQV.js → email-CBFKGDtB.js} +3 -3
- package/dist/assets/{empty-spinner-yzHJfTIe.js → empty-spinner-Rr_2DR73.js} +1 -1
- package/dist/assets/{exchange-passport-EldPKAEU.js → exchange-passport-2U7cUaM-.js} +1 -1
- package/dist/assets/{format-error-LAoTjvJe.js → format-error-BrmqJs5a.js} +1 -1
- package/dist/assets/{fuel-g6aTZdFA.js → fuel-Ctl6kh4M.js} +1 -1
- package/dist/assets/{gen-access-key-CXCl8SEM.js → gen-access-key-CIrRotRy.js} +2 -2
- package/dist/assets/{get-safe-url-BpQyWsMx.js → get-safe-url-BXaepgsm.js} +1 -1
- package/dist/assets/{get-safe-url-DGJYpGp-.js → get-safe-url-MZ-ksvtD.js} +1 -1
- package/dist/assets/{home-DBeMBDeM.js → home-C2Bgs4zS.js} +1 -1
- package/dist/assets/{iframe-DTWkOiY8.js → iframe-oHkt22fl.js} +1 -1
- package/dist/assets/{index-Bh63LaOx.js → index-51ncOoae.js} +2 -2
- package/dist/assets/{index-BY0gjHeR.js → index-B1-S-x6B.js} +32 -32
- package/dist/assets/{index-D7Oq5q89.js → index-B1EwWGHW.js} +4 -4
- package/dist/assets/index-B1ljmpu4.css +1 -0
- package/dist/assets/{index-C9TPKuLt.js → index-BRXM9-_y.js} +1 -1
- package/dist/assets/{index-C8lvmI4i.js → index-BT3gX_Gs.js} +1 -1
- package/dist/assets/{index-Cg_v1vT_.js → index-BWx6ivvZ.js} +650 -55
- package/dist/assets/{index-lk2RMFv-.js → index-BaU0U5xc.js} +10 -10
- package/dist/assets/index-BiIKWZTs.js +113 -0
- package/dist/assets/{index-B0Z8409R.js → index-C3XAI9I7.js} +1 -1
- package/dist/assets/{index-C6wFIF6L.js → index-C7UL-KG1.js} +2 -2
- package/dist/assets/{index-BGnWzg98.js → index-CILVFQJH.js} +4 -4
- package/dist/assets/{index-B1r8E4TH.js → index-CNpN35y4.js} +1 -1
- package/dist/assets/{index-pV_0wOyY.js → index-CPE8Apzb.js} +1 -1
- package/dist/assets/{index-haYY8BAk.js → index-CYeIiQ6Q.js} +1 -1
- package/dist/assets/index-CzzLOOSx.js +55 -0
- package/dist/assets/{index-BkHi7e8i.js → index-DGPhY8xp.js} +2 -2
- package/dist/assets/{index-DhAVA9HZ.js → index-DHdYd4nT.js} +3 -3
- package/dist/assets/index-DHjPgdgK.js +1 -0
- package/dist/assets/{index-CEMXycV7.js → index-DQc29-JM.js} +1 -1
- package/dist/assets/{index-tUQxVYYQ.js → index-DVQCgvFb.js} +1 -1
- package/dist/assets/{index-CgtY16Wm.js → index-DhGZEbPZ.js} +1 -1
- package/dist/assets/index-Ds7z-vG7.js +10 -0
- package/dist/assets/{index-BfbxxLBr.js → index-GJgyTjK2.js} +9 -9
- package/dist/assets/{index-Xi3jaVFs.js → index-Hl4sXXdc.js} +1 -1
- package/dist/assets/{index-BjmnM2sd.js → index-ILkKQT7G.js} +1 -1
- package/dist/assets/{index-kqlC8JFQ.js → index-YbJjfDTR.js} +1 -1
- package/dist/assets/{index-KWGv7rf_.js → index-qcSTfn8X.js} +2 -2
- package/dist/assets/{invitation-DnZ_Ex8p.js → invitation-CPSru_8S.js} +5 -5
- package/dist/assets/invite-DquuAqEb.js +1 -0
- package/dist/assets/issue-passport-DW27M9Fi.js +1 -0
- package/dist/assets/{item-VCJ7-Z3r.js → item-CdEFLc19.js} +1 -1
- package/dist/assets/{landing-page-QhzHIr--.js → landing-page-DPD1zNWJ.js} +1 -1
- package/dist/assets/{launch-result-message-Ckk5lRW7.js → launch-result-message-yorrVgpQ.js} +1 -1
- package/dist/assets/{layout-0YBKzIlI.js → layout-DBsOgAhr.js} +1 -1
- package/dist/assets/{list-Dw9DDKoC.js → list-BNd4p4TF.js} +9 -8
- package/dist/assets/{list-header-BYlc5SI1.js → list-header-BTUducS9.js} +1 -1
- package/dist/assets/localization-CS7BsCef.js +1 -0
- package/dist/assets/{log-BLTzXOlE.js → log-R8TIkchf.js} +1 -1
- package/dist/assets/logger-d2Lh_KCF.js +1 -0
- package/dist/assets/{login-tmff27IK.js → login-Dgvm6HMJ.js} +1 -1
- package/dist/assets/{login-oauth-callback-DnYvzeVx.js → login-oauth-callback-rmUYgE44.js} +1 -1
- package/dist/assets/logo-uploader-Bv2ZSxJV.js +133 -0
- package/dist/assets/{lost-passport-DiKkPtUB.js → lost-passport-CiVM9B2L.js} +4 -4
- package/dist/assets/{lottie-react.esm-CPHH620R.js → lottie-react.esm-D2t-u0YU.js} +1 -1
- package/dist/assets/{lottie-web-B6s7dDoL.js → lottie-web-jYmAQWuC.js} +1 -1
- package/dist/assets/omit-bLid3PKQ.js +1 -0
- package/dist/assets/{open-window-DjL5TW3X.js → open-window-D2wkW326.js} +1 -1
- package/dist/assets/{overview-zOWtcWbm.js → overview-C_fDcPQA.js} +2 -2
- package/dist/assets/{page-header-BhpaMk9g.js → page-header-C86YQnHE.js} +1 -1
- package/dist/assets/{passport-item-Cxkhzo-W.js → passport-item-C4X2VZeo.js} +1 -1
- package/dist/assets/{permission-_ttLx53e.js → permission-CbDCh9eS.js} +1 -1
- package/dist/assets/preferences-Cdzon7pe.js +1 -0
- package/dist/assets/profile-embed-Dr2ZxkvM.js +1 -0
- package/dist/assets/publish-resource-DumHfLtC.js +1 -0
- package/dist/assets/{raf-schd.esm-GV-XhwE0.js → raf-schd.esm-B3j6BePR.js} +1 -1
- package/dist/assets/{react-beautiful-dnd.esm-gUY08qHq.js → react-beautiful-dnd.esm-kcYalw4r.js} +1 -1
- package/dist/assets/{relative-time-DYjTOclf.js → relative-time-Dkz5qmEb.js} +1 -1
- package/dist/assets/runtime-HBzWjxDb.js +1 -0
- package/dist/assets/sdk-DuZx5LYY.js +1 -0
- package/dist/assets/{security-BD2-azah.js → security-BFBpBlQy.js} +4 -4
- package/dist/assets/session-CdQbSkeB.js +1 -0
- package/dist/assets/setup-BSfklNq4.js +19 -0
- package/dist/assets/{shorten-label-8jfEkawx.js → shorten-label-Dz7RgJfj.js} +1 -1
- package/dist/assets/{simple-select-CNZc1N7Q.js → simple-select-BlUQXxNL.js} +1 -1
- package/dist/assets/{slicedToArray-gyBkcGHe.js → slicedToArray-lOWXD6Th.js} +1 -1
- package/dist/assets/{spaces-B_YG3iE7.js → spaces-CcTi9vap.js} +1 -1
- package/dist/assets/{start-DIhK4VNY.js → start-BitVK7fH.js} +1 -1
- package/dist/assets/{status-CQCKGmiV.js → status-F7OR8ZWk.js} +1 -1
- package/dist/assets/{step-actions-DGcZdY1e.js → step-actions-Cmh5n2jE.js} +1 -1
- package/dist/assets/{studio-CC8lU96f.js → studio-CW2bLcBh.js} +1 -1
- package/dist/assets/{switch-control-BWuo2NQH.js → switch-control-BjOmRKBW.js} +1 -1
- package/dist/assets/{traffic-BIz-TYy2.js → traffic-CcfffSvS.js} +2 -2
- package/dist/assets/{transfer-OroSS_fF.js → transfer-DHcMO-R4.js} +1 -1
- package/dist/assets/{unsubscribe-cKpP6HeV.js → unsubscribe-DnPmucfC.js} +1 -1
- package/dist/assets/{use-app-logo-C5KrAQp3.js → use-app-logo-DnfizCGM.js} +1 -1
- package/dist/assets/{use-mobile-BbxjRR_q.js → use-mobile-Bgy7gTTP.js} +1 -1
- package/dist/assets/{use-mobile-T-9_nK_m.js → use-mobile-CcdVxg80.js} +1 -1
- package/dist/assets/useAsync-70zHrUMr.js +1 -0
- package/dist/assets/useAsync-BquSRC77.js +1 -0
- package/dist/assets/{useLocalStorage-BTc2ONSy.js → useLocalStorage-BJb7uGDO.js} +1 -1
- package/dist/assets/{useSetState-BL3ktMon.js → useSetState-CWq0AVWn.js} +1 -1
- package/dist/assets/user-center-u43jJYr4.js +77 -0
- package/dist/assets/{util-DA84MxE0.js → util-BYLEVYA_.js} +1 -1
- package/dist/assets/{util-Dvapjz4O.js → util-CJbxj6IE.js} +1 -1
- package/dist/assets/{vendor-arcblock-Dd-d3bxC.js → vendor-arcblock-CWji6U03.js} +300 -300
- package/dist/assets/{vendor-hooks-jg6xPUPF.js → vendor-hooks-DftG_2gV.js} +2 -2
- package/dist/assets/{vendor-mui-core-DiDsSLd-.js → vendor-mui-core-CfA4EdRA.js} +26 -26
- package/dist/assets/{vendor-mui-x-mVhD3N7n.js → vendor-mui-x-DSNWmGVo.js} +1 -1
- package/dist/assets/{vendor-react-DoD83n6N.js → vendor-react-DEoibe3W.js} +1 -1
- package/dist/assets/vendor-utils-BNHJB5U7.js +208 -0
- package/dist/assets/vendor-ux-did-connect-zBIy2ulO.js +2265 -0
- package/dist/assets/{wrap-locale-CyEJqSC4.js → wrap-locale-BSYWBgCo.js} +1 -1
- package/dist/assets/zh-_GYrLCB8.js +1 -0
- package/dist/index.html +9 -8
- package/dist/service-worker.js +1 -1
- package/package.json +30 -29
- package/dist/assets/actions-54wIQrhQ.js +0 -1
- package/dist/assets/api-DwjKcjK8.js +0 -1
- package/dist/assets/authorize-DVVvHvmA.js +0 -1
- package/dist/assets/branding-CY0aknSo.js +0 -40
- package/dist/assets/bundle-avatar-BcZExfqu.js +0 -1
- package/dist/assets/button-Cfb46ee0.js +0 -1
- package/dist/assets/click-to-copy-D4Cmyemb.js +0 -1
- package/dist/assets/cloneDeep-DUYD8ZBI.js +0 -1
- package/dist/assets/confirm-Bi4_XwxH.js +0 -7
- package/dist/assets/connect-Bzett2rh.js +0 -5
- package/dist/assets/connect-to-nP4HS-Z0.js +0 -1
- package/dist/assets/dashboard-27JnEnGY.js +0 -279
- package/dist/assets/domain-5-nsJfDM.js +0 -9
- package/dist/assets/domain-action-card-DrjkSQwC.js +0 -25
- package/dist/assets/domains-CD91MGQk.js +0 -1
- package/dist/assets/dot-BBxUn__M.js +0 -7
- package/dist/assets/index-B-h0rpyF.js +0 -10
- package/dist/assets/index-BeXUaMlG.js +0 -55
- package/dist/assets/index-Ca99ESdg.js +0 -1
- package/dist/assets/index-o53rWfYr.js +0 -113
- package/dist/assets/invite-BC0OYJxG.js +0 -1
- package/dist/assets/issue-passport-CD5ylk7Y.js +0 -1
- package/dist/assets/localization-Bqeaav45.js +0 -1
- package/dist/assets/logger-DzZIANXq.js +0 -1
- package/dist/assets/logo-uploader-BKxncdN2.js +0 -133
- package/dist/assets/omit-B1LDXfkq.js +0 -1
- package/dist/assets/preferences-C0eu3vgg.js +0 -1
- package/dist/assets/profile-embed-DfDaKcjJ.js +0 -1
- package/dist/assets/publish-resource-BEIDgQwd.js +0 -1
- package/dist/assets/runtime-B8E7DTqn.js +0 -1
- package/dist/assets/sdk-K0wUtuBQ.js +0 -1
- package/dist/assets/session-BPop7wxF.js +0 -1
- package/dist/assets/setup-DW_rcwsG.js +0 -19
- package/dist/assets/useAsync-B_98ShEr.js +0 -1
- package/dist/assets/user-center-DGFt0-Nt.js +0 -77
- package/dist/assets/vendor-utils-DMClavLd.js +0 -11
- package/dist/assets/vendor-ux-did-connect-qEfzi7sf.js +0 -1832
- package/dist/assets/zh-yJzqRkfw.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as e,T as w,ao as y,v as k,
|
|
1
|
+
import{j as e,T as w,ao as y,v as k,a9 as t,H as i}from"./vendor-mui-core-CfA4EdRA.js";import{f as z,bd as A,be as C,X as b,bf as E,i as j}from"./vendor-ux-did-connect-zBIy2ulO.js";import{f as L}from"./vendor-hooks-DftG_2gV.js";function R({linkProps:r,showExtra:o,...a}){return e.jsxs(w,{...a,children:["Powered by"," ",e.jsx(y,{href:"https://www.arcblock.io",target:"_blank",...r,children:"ArcBlock"}),"'s"," ",e.jsx(y,{href:"https://www.blocklet.io",target:"_blank",...r,children:"Blocklet Technology"}),o?", the decentralized web engine.":null]})}function v({did:r,children:o,title:a,description:d,actions:u,logo:s,logoSize:x,poweredBy:f,termsOfUse:m,standalone:I}){const n=(globalThis==null?void 0:globalThis.blocklet)||(globalThis==null?void 0:globalThis.env)||{},c=k(l=>l.breakpoints.down("lg")),T=L(()=>{const l=n.appPid,g=z.isEthereumDid(l),P=g?void 0:A(l);return g?C(l):P.color},[n==null?void 0:n.appPid]);if(!r)return o;a===void 0&&(a=n.appName),d===void 0&&(d=n.appDescription),s===void 0&&(s=(n==null?void 0:n.appLogoRect)||(n==null?void 0:n.appLogo)||""),typeof s=="string"&&(s?s=e.jsx(t,{sx:{height:x,maxHeight:x,objectFit:"contain"},component:"img",src:s,alt:`${n.appName}'s logo`}):s=e.jsx(b,{size:x,did:r,src:s,variant:"rounded"})),f===void 0&&(f=e.jsx(R,{linkProps:{color:j.textSubtitle,sx:{"&:hover":{textDecoration:"underline"}}},showExtra:!c,sx:{textAlign:"center",fontSize:"12px",color:j.textSubtitle}}));let p=o;!o&&!c&&(p=e.jsx(t,{sx:{filter:"blur(180px)",display:"flex"},children:e.jsx(b,{size:210,did:r,variant:"rounded"})}));const B=!!o;let h=!I;return c&&(h=!B),e.jsxs(t,{sx:{width:"100vw",height:"100vh",display:"flex",justifyContent:"center",alignItems:"center",px:{xs:2,sm:4,md:8},pt:{xs:2,sm:4,md:6},pb:{xs:4,md:8},background:`radial-gradient(circle at bottom right, ${E(T,.3)} 10%, #ffffff 50%)`,position:"relative"},children:[e.jsxs(t,{sx:{maxWidth:1200,display:"flex",alignItems:"center",justifyContent:[h,p].filter(Boolean).length>1?"space-between":"space-around",width:"100%",margin:"auto"},children:[h?e.jsxs(t,{sx:{display:"flex",flexDirection:"column",gap:1.5},children:[e.jsx(t,{sx:{display:"flex",alignItems:"center"},children:s}),e.jsx(w,{variant:"h2",sx:{fontWeight:"bold",fontSize:{sm:"2.25rem",md:"2.75rem",xl:"3.5rem"}},children:a}),d?e.jsx(t,{variant:"h5",sx:{mb:2,color:"text.secondary"},children:d}):null,u?e.jsx(t,{sx:{mt:8},children:u}):null,m?e.jsx(t,{sx:{mt:-1,color:"grey"},children:m}):null]}):null,p]}),e.jsx(t,{sx:{position:"absolute",zIndex:10,bottom:10,left:10,right:10,textAlign:"center"},children:f})]})}v.propTypes={did:i.string.isRequired,children:i.any.isRequired,title:i.any,description:i.any,logo:i.any,logoSize:i.number,actions:i.any,poweredBy:i.any,termsOfUse:i.any,standalone:i.bool};v.defaultProps={title:void 0,description:void 0,logo:void 0,logoSize:50,standalone:!1};export{v as L};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t,H as i,ag as c,
|
|
1
|
+
import{j as t,H as i,ag as c,af as d,aa as h,c0 as m,c1 as p}from"./vendor-mui-core-CfA4EdRA.js";function l({variant:e,title:o,subTitle:s,footer:a,...n}){let r;switch(e){case"error":r=p;break;case"info":r=m;break;case"loading":r=h;break;default:r=d}return t.jsx(u,{variant:e,...n,children:t.jsxs("div",{className:"result-body",children:[t.jsx("span",{className:`result-icon color-${e}`,children:t.jsx(r,{})}),t.jsx("div",{className:`result-title color-${e} ${o?"":"ele-hide"}`,children:o}),t.jsx("div",{className:`result-sub-title ${s?"":"ele-hide"}`,children:s}),a&&t.jsx("div",{className:"result-footer",children:a})]})})}l.propTypes={variant:i.oneOf(["success","error","info","loading"]),title:i.string,subTitle:i.any,footer:i.any};l.defaultProps={variant:"success",title:"",subTitle:"",footer:null};const u=c.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as r,ag as m}from"./vendor-mui-core-
|
|
1
|
+
import{j as r,ag as m}from"./vendor-mui-core-CfA4EdRA.js";import{C as c}from"./content-layout-JixQ7owc.js";import{u,Y as s}from"./vendor-ux-did-connect-zBIy2ulO.js";import{c as i}from"./vendor-arcblock-CWji6U03.js";import{J as p}from"./index-BWx6ivvZ.js";const d=m(c)`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as p}from"./vendor-react-
|
|
1
|
+
import{r as p}from"./vendor-react-DEoibe3W.js";import{H as i,j as t,bc as K,ao as re,a9 as h,ag as L,T as I,v as q,X as se,bL as ke,ac as Qe,bM as Xe,aq as Ke,ah as Ye,a8 as Ce,e as ne,m as Ze,bZ as Je,y as et,s as tt,I as rt}from"./vendor-mui-core-CfA4EdRA.js";import{f as A,u as ee}from"./vendor-hooks-DftG_2gV.js";import{W as ie,b2 as oe,i as H,u as Re,r as Te,I as Se,j as st,bg as nt}from"./vendor-ux-did-connect-zBIy2ulO.js";import{S as it}from"./index-C3XAI9I7.js";import{B as ot}from"./bundle-avatar-DFwyxj9P.js";import{u as at}from"./use-app-logo-DnfizCGM.js";import{R as Ie}from"./relative-time-Dkz5qmEb.js";import{y as Y,ae as lt,z as D,_ as ct,x as dt}from"./vendor-utils-BNHJB5U7.js";import{c as B,s as V,g as ae,H as ut,u as Me,M as $e,a as G,d as pt,m as ht,i as mt}from"./index-Hl4sXXdc.js";import{u as Pe,p as ft,h as Q,f as ze,v as xt}from"./vendor-arcblock-CWji6U03.js";import{d as gt}from"./InfoOutlined-ZIQMeu0p.js";import{b as yt}from"./sdk-DuZx5LYY.js";import{d as vt}from"./CheckCircle-C7lAzkFm.js";import{U as jt,C as bt,I as wt}from"./index-Ds7z-vG7.js";import{p as kt}from"./util-CJbxj6IE.js";import{z as Ct}from"./index-BWx6ivvZ.js";function le({blocklet:e,style:r,size:s,...n}){const{logoUrl:o}=at({blocklet:e}),{variant:l}=n;return t.jsx(K,{variant:l||"square",style:Object.assign({backgroundColor:"transparent",width:s,height:s,borderRadius:10},r),...n,children:t.jsx("img",{src:o,alt:"",style:{width:s}})})}le.propTypes={blocklet:i.object.isRequired,style:i.object,size:i.oneOfType([i.number,i.string])};le.defaultProps={style:{},size:40};function Ne({attachment:e}){const{data:r}=e;let s="";try{s=new URL(r.url).host}catch{s=r.url}return t.jsxs(re,{target:"_blank",rel:"noopener noreferrer",href:r.url,className:"link",style:{wordBreak:"break-all"},onClick:n=>{n.customPreventRedirect=!0},children:[!!s&&t.jsx("span",{className:"url",children:s}),!!r.title&&t.jsx(h,{className:"title",style:{whiteSpace:"unset"},children:r.title}),!!r.description&&t.jsx(h,{className:"description",style:{whiteSpace:"unset",color:"rgba(75, 85, 99, 1)"},children:r.description}),!!r.image&&t.jsx("img",{src:Pe.getImagePath(r.image),alt:r.title||"",height:128,style:{borderRadius:"8px",maxWidth:"256px",objectFit:"cover"}})]})}Ne.propTypes={attachment:i.object.isRequired};function Ae({attachment:e}){const{data:r}=e;return t.jsx("img",{src:Pe.getImagePath(r.url),alt:r.title||"",height:128,style:{borderRadius:"8px",maxWidth:"256px",objectFit:"cover"}})}Ae.propTypes={attachment:i.object.isRequired};function Le({attachment:e,...r}){var c;const{data:s}=e,n=((c=s.color)==null?void 0:c.toLowerCase())||r.color,o=s.size||r.size,l=s.fontWeight||r.fontWeight||400;let a="14px";return o==="small"?a="12px":o==="normal"?a="14px":o==="big"?a="16px":o==="large"&&(a="18px"),t.jsx(Rt,{className:"title",style:{fontSize:a,color:n,whiteSpace:"unset",fontWeight:l},children:s.text})}Le.propTypes={attachment:i.object.isRequired};const Rt=L.span`
|
|
2
2
|
width: 100%;
|
|
3
3
|
display: -webkit-box;
|
|
4
4
|
-webkit-box-orient: vertical;
|
|
@@ -7,7 +7,7 @@ import{r as p}from"./vendor-react-DoD83n6N.js";import{H as i,j as t,bl as K,ao a
|
|
|
7
7
|
text-overflow: ellipsis;
|
|
8
8
|
white-space: normal;
|
|
9
9
|
word-break: break-word;
|
|
10
|
-
`;ce.propTypes={locale:i.string,data:i.object.isRequired};ce.defaultProps={locale:"en"};function ce({locale:e="en",data:r}){const s={zh:"来自",en:"from"}[e]||"from",n={zh:"接收",en:"Received"}[e]||"Received",l=`https://${B.getUrlHost(r.chainHost)||B.getChainHost(r.chainId)}/explorer/tokens/${r.address}/tx`;let a=r.amount;r.decimal&&(a=r.amount/10**r.decimal);const c=A(()=>({display:"flex",alignItems:"center",rowGap:2,columnGap:4,justifyContent:"space-between",flexWrap:"wrap"}));return t.jsx("a",{href:l,target:"_blank",rel:"noreferrer",onClick:
|
|
10
|
+
`;ce.propTypes={locale:i.string,data:i.object.isRequired};ce.defaultProps={locale:"en"};function ce({locale:e="en",data:r}){const s={zh:"来自",en:"from"}[e]||"from",n={zh:"接收",en:"Received"}[e]||"Received",l=`https://${B.getUrlHost(r.chainHost)||B.getChainHost(r.chainId)}/explorer/tokens/${r.address}/tx`;let a=r.amount;r.decimal&&(a=r.amount/10**r.decimal);const c=A(()=>({display:"flex",alignItems:"center",rowGap:2,columnGap:4,justifyContent:"space-between",flexWrap:"wrap"}));return t.jsx("a",{href:l,target:"_blank",rel:"noreferrer",onClick:m=>{m.customPreventRedirect=!0},children:t.jsxs(h,{display:"flex",flexDirection:"column",children:[t.jsxs(h,{sx:c,children:[t.jsx(I,{component:"div",sx:{fontWeight:700,color:"rgba(3, 7, 18, 1)"},children:n}),t.jsxs(I,{component:"div",align:"right",style:V.summaryStyle,flex:1,children:["+",a," ",r.symbol]})]}),t.jsxs(h,{sx:c,children:[t.jsx(I,{component:"div",style:{...V.remarkStyle,fontSize:14},children:s}),t.jsx(h,{maxWidth:260,fontSize:14,children:t.jsx(ie,{did:r.address,showQrcode:!0,copyable:!0,compact:!0,responsive:!0,locale:e})})]})]})})}de.propTypes={locale:i.string,data:i.object.isRequired};de.defaultProps={locale:"en"};function de({locale:e,data:r}){var m,y;const s={zh:"接收",en:"Received"}[e]||"Received",n={zh:"来自",en:"from"}[e]||"from",o=B.getUrlHost(r.chainHost)||B.getChainHost(r.chainId),l=r.did||((y=(m=r==null?void 0:r.credential)==null?void 0:m.issuer)==null?void 0:y.id)||"",a=`https://${o}/explorer/assets/${l}`,c=A(()=>({display:"flex",alignItems:"center",rowGap:2,columnGap:4,justifyContent:"space-between",flexWrap:"wrap"}));return t.jsx(h,{sx:{pr:1},children:t.jsx("a",{href:a,target:"_blank",style:{textDecoration:"none",color:"initial",display:"block"},onClick:g=>{g.customPreventRedirect=!0},rel:"noreferrer",children:t.jsxs(h,{display:"flex",flexDirection:"column",children:[t.jsxs(h,{sx:c,children:[t.jsx(I,{component:"div",sx:{fontWeight:700,color:"rgba(3, 7, 18, 1)"},children:s}),t.jsx(I,{component:"div",align:"right",style:V.summaryStyle,children:"+1 Asset"})]}),l?t.jsxs(h,{sx:c,children:[t.jsx(I,{component:"div",style:{...V.remarkStyle,fontSize:14},children:n}),t.jsx(h,{maxWidth:260,fontSize:14,children:t.jsx(ie,{did:l,showQrcode:!0,copyable:!0,compact:!0,responsive:!0,locale:e})})]}):null]})})})}_e.propTypes={data:i.object.isRequired,locale:i.string};function _e({data:e,locale:r="en"}){return t.jsxs("a",{href:e.url,target:"_blank",style:{display:"flex",textDecoration:"none",color:"initial"},onClick:s=>{s.customPreventRedirect=!0},rel:"noreferrer",children:[t.jsx("img",{className:"image",src:e.logo,width:50,height:50,alt:""}),t.jsxs("div",{style:{flex:1,marginLeft:"10px"},children:[t.jsx("div",{style:{marginBottom:"6px"},children:e.title}),t.jsx(h,{maxWidth:260,fontSize:10,style:{color:"#a5a5a5"},children:t.jsx(ie,{did:e.appDID,showQrcode:!0,copyable:!0,compact:!0,responsive:!0,locale:r})})]})]})}ue.propTypes={locale:i.string,data:i.object.isRequired};ue.defaultProps={locale:"en"};function ue({locale:e,data:r}){const s=B.getChainHost(r.chainId),n=`https://${s}/explorer/txs/${r.hash}`,o={zh:"交易详情",en:"Transaction Details"}[e]||"Transaction Details",l={zh:"交易哈希",en:"Transaction Hash"}[e]||"Transaction Hash";return t.jsxs("a",{href:n,target:"_blank",style:{textDecoration:"none",color:"initial",display:"block",fontSize:14},onClick:a=>{a.customPreventRedirect=!0},rel:"noreferrer",children:[t.jsx("h6",{style:{color:"#a5a5a5",margin:0},children:s}),t.jsx("p",{style:{color:"#4598fa",margin:0},children:o}),t.jsxs("div",{style:{wordBreak:"break-all"},children:[l,": ",r.hash]})]})}function De({attachment:e,...r}){const{local:s}=p.useContext(oe),n=q(o=>o.breakpoints.down("md"));return t.jsxs(Tt,{...r,isMd:n,children:[e.type==="link"&&t.jsx(Ne,{attachment:e,...r,isMd:n}),e.type==="image"&&t.jsx(Ae,{attachment:e,isMd:n}),e.type==="text"&&t.jsx(Le,{attachment:e,isMd:n}),e.type==="token"&&t.jsx(ce,{data:e.data,local:s,isMd:n}),e.type==="asset"||e.type==="vc"?t.jsx(de,{data:e.data,local:s,isMd:n}):null,e.type==="dapp"&&t.jsx(_e,{data:e.data,local:s,isMd:n}),e.type==="transaction"&&t.jsx(ue,{data:e.data,local:s,...r,isMd:n}),e.type==="divider"&&t.jsx(se,{sx:{mb:1,mt:1},style:{color:H.dividerColor}})]})}const Tt=L.div`
|
|
11
11
|
display: ${({sx:e={}})=>e.display||"flex"};
|
|
12
12
|
flex-direction: ${({sx:e={}})=>e.flexDirection||"column"};
|
|
13
13
|
gap: ${({sx:e={}})=>e.gap||1};
|
|
@@ -41,7 +41,7 @@ import{r as p}from"./vendor-react-DoD83n6N.js";import{H as i,j as t,bl as K,ao a
|
|
|
41
41
|
&:last-child {
|
|
42
42
|
margin-bottom: 0;
|
|
43
43
|
}
|
|
44
|
-
`;pe.propTypes={data:i.object.isRequired,feedType:i.string};pe.defaultProps={feedType:"data-tracker"};const
|
|
44
|
+
`;pe.propTypes={data:i.object.isRequired,feedType:i.string};pe.defaultProps={feedType:"data-tracker"};const Mt=e=>{let r="rgba(0, 0, 0, 0.12)";return e==="warning"?r="#DE9E37":e==="error"?r="#F16E6E":r="rgba(0, 0, 0, 0.12)",r},$t=e=>e.every(r=>r.type==="text"),Pt=e=>e.every(r=>r.type==="image"),zt=e=>lt(e,2).map(r=>({type:"combined",items:r})).filter(r=>(r.items||[]).every(s=>{var n,o,l;return(l=(o=(n=s==null?void 0:s.data)==null?void 0:n.text)==null?void 0:o.trim)==null?void 0:l.call(o)})),Nt=e=>{if(!e.length||e.length<=1)return!1;const r=e[0].type;return e.every(s=>s.type===r)},At=async(e,r)=>{const s=yt.user;if(s)try{return await s.getUserPublicInfo({did:e})?await s.getProfileUrl({did:e,locale:r}):void 0}catch(n){console.error(n);return}},Lt=(e,r)=>{var n;const s=(n=r==null?void 0:r.componentMountPoints)==null?void 0:n.find(o=>o.did===e);return s==null?void 0:s.mountPoint},_t=(e,r)=>{var o,l,a;if(!e)return null;if(((o=e.actions)==null?void 0:o.length)===1)return e.actions[0].link||null;const s=ae(e.activity),n=(s==null?void 0:s.metaLink)||(s==null?void 0:s.targetLink);if(n)return Y(r,n);if(((l=e.attachments)==null?void 0:l.length)===1){const c=e.attachments[0];if(c.type==="link")return((a=c.data)==null?void 0:a.url)||null}return null},Dt=e=>{const{receivers:r=[]}=e;return r.length?r.every(s=>s.read):!0};O.propTypes={data:i.array.isRequired,style:i.object};function O({data:e,style:r={}}){return t.jsx(I,{style:{color:e.color||"initial",margin:0,whiteSpace:"pre-line!important",...r},children:e.text})}function He({data:e}){const r=[];for(let s=0;s<(e==null?void 0:e.length);s+=2){const n=e[s],o=e[s+1];n&&o?r.push(t.jsxs(je,{children:[t.jsx("td",{className:"label-col",children:t.jsx(O,{data:n.data,style:{whiteSpace:"nowrap"}})}),t.jsx("td",{className:"value-col",children:t.jsx(O,{data:o.data,style:{wordBreak:"break-all"}})})]},s)):n&&r.push(t.jsx(je,{children:t.jsx("td",{className:"label-col",children:t.jsx(O,{data:n.data})})},s))}return t.jsx("table",{style:{width:"100%"},children:t.jsx("tbody",{children:r})})}He.propTypes={data:i.array.isRequired};const je=L.tr`
|
|
45
45
|
display: flex;
|
|
46
46
|
flex-direction: row;
|
|
47
47
|
justify-content: flex-start;
|
|
@@ -54,7 +54,7 @@ import{r as p}from"./vendor-react-DoD83n6N.js";import{H as i,j as t,bl as K,ao a
|
|
|
54
54
|
.value-col {
|
|
55
55
|
flex: 1;
|
|
56
56
|
}
|
|
57
|
-
`;function he({notification:e,severity:r,showSke:s=!0}){const{attachments:n,data:o,...l}=e,a=q(g=>g.breakpoints.down("md"));if((!n||!n.length)&&D(o))return null;const c
|
|
57
|
+
`;function he({notification:e,severity:r,showSke:s=!0}){const{attachments:n,data:o,...l}=e,a=q(g=>g.breakpoints.down("md"));if((!n||!n.length)&&D(o))return null;const c=Mt(r),m=(g,C=!1)=>{if(!g&&!Array.isArray(g))return null;let v=g,R={},b="horizontal";C&&$t(g)&&(v=zt(g),b="vertical",R={display:"flex",gap:8,flexDirection:"row",justifyContent:"flex-start",flexWrap:"wrap",height:"100%",width:a||v.length===1?"100%":"28%"});const d=Nt(v);return t.jsx(h,{sx:{width:"100%",display:"flex",gap:1,flexDirection:C?"row":"column",justifyContent:"flex-start",alignItems:C?"center":"unset",flexWrap:"wrap"},children:v.map((u,j)=>u.type==="section"?t.jsx(He,{data:u.fields},j):t.jsxs(p.Fragment,{children:[t.jsx(De,{attachment:u,style:R,...l}),!(a&&b==="vertical")&&d&&v.length>1&&j!==v.length-1?t.jsx(se,{orientation:b,style:{color:H.dividerColor},sx:b==="vertical"?{ml:2,mr:2,height:32}:{}}):null]},j))})},y=Pt(n);return t.jsx(Et,{children:t.jsxs("div",{className:"message-in-list",children:[n.length>0&&t.jsx("div",{className:"message-container",style:a?{width:"100%"}:{},children:y?m(n):t.jsx(ke,{variant:"outlined",sx:{p:2,borderRadius:"8px",minWidth:128,borderColor:c},children:m(n)})}),!D(o)&&t.jsx("div",{className:"message-container",children:t.jsx("div",{className:"data-container",children:t.jsx(pe,{data:o,feedType:e.feedType})})}),n.length===0&&D(o)&&s&&t.jsx(Ye,{className:"attach-ske",style:{marginTop:10},variant:"rectangular",height:150})]})})}const Et=L.div`
|
|
58
58
|
display: flex;
|
|
59
59
|
flex-direction: column;
|
|
60
60
|
.message-in-list {
|
|
@@ -106,7 +106,7 @@ import{r as p}from"./vendor-react-DoD83n6N.js";import{H as i,j as t,bl as K,ao a
|
|
|
106
106
|
margin-right: 8px;
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
|
-
`;he.propTypes={severity:i.string.isRequired,notification:i.object.isRequired,showSke:i.bool};he.defaultProps={showSke:!0};const
|
|
109
|
+
`;he.propTypes={severity:i.string.isRequired,notification:i.object.isRequired,showSke:i.bool};he.defaultProps={showSke:!0};const J=e=>ft.sanitize(e,{ALLOWED_ATTR:["href","target","rel","class","id","style"]}),qt=async(e,r)=>{const{type:s,did:n}=e;return ze.isSameAddr(s,"did")?await At(n,r)||Q.getLink(e):Q.getLink(e)},Ht=async(e,r,s=!0)=>{const n=Q.toTextList(e);return await Promise.all(n.map(async l=>{if(l instanceof Q.Link){if(s){const a=await qt(l,r),{type:c,chainId:m,did:y}=l;return ze.isSameAddr(c,"dapp")?`<em style="font-weight:bold;" data-type="${c}" data-chain-id="${m}" data-did="${y}">${l.text}</em>`:a?`<a target="_blank" rel="noopener noreferrer" style="color:#4598fa;font-weight:bold;" href="${a}">${l.text}</a>`:`<em style="font-weight:bold;" data-type="${c}" data-chain-id="${m}" data-did="${y}">${l.text}</em>`}return l.text}return l})).then(l=>l.join(""))};We.propTypes={notification:i.object,rows:i.number,minimal:i.bool};function We({notification:e,rows:r=2,minimal:s=!1}){const[n,o]=p.useState(!1),[l,a]=p.useState(""),{t:c,locale:m}=Re(),y=p.useMemo(()=>{const{attachments:u}=e||{};if(!u)return!1;try{return u.length>0}catch{return!1}},[e]),g=p.useMemo(()=>{const{blocks:u}=e||{};if(!u)return!1;try{return u.length>0}catch{return!1}},[e]),C=p.useMemo(()=>{const{description:u}=e||{};return!!u},[e]),v=p.useMemo(()=>{const{data:u}=e||{};return!D(u)},[e]),R=p.useMemo(()=>y||g||C||v,[y,g,C,v]);if(p.useEffect(()=>{Ht((e==null?void 0:e.description)??"",m).then(u=>{a(u)})},[e==null?void 0:e.description,m]),!R)return null;const b=()=>r===0?"":n?`<span class='toggle-btn' data-name='toggle-expanded'>${c("common.collapse")}</span>`:`...<span class='toggle-btn' data-name='toggle-expanded'>${c("common.expand")}</span>`,d=u=>{const{target:j}=u;j.getAttribute("data-name")==="toggle-expanded"&&(o(!n),u.customPreventRedirect=!0)};return t.jsxs(Wt,{color:s?"#fff":"",children:[t.jsx(h,{className:"text-container",component:"div",onClick:d,children:l&&(!n&&r>0?t.jsx(ut,{basedOn:"letters",unsafeHTML:J(l),maxLine:r,ellipsisHTML:J(b())}):t.jsx(I,{component:"div",className:`content ${r===0?"ellipsis":""}`,style:{whiteSpace:"pre-line!important"},dangerouslySetInnerHTML:{__html:J(`${l}${b()}`)}}))}),!s&&(y||v)?t.jsx(he,{severity:e.severity,notification:e}):null]})}const Wt=L(h)`
|
|
110
110
|
width: 100%;
|
|
111
111
|
color: ${e=>e.color?e.color:"rgba(75, 85, 99, 1)"};
|
|
112
112
|
.text-container {
|
|
@@ -128,9 +128,10 @@ import{r as p}from"./vendor-react-DoD83n6N.js";import{H as i,j as t,bl as K,ao a
|
|
|
128
128
|
display: -webkit-box;
|
|
129
129
|
-webkit-box-orient: vertical;
|
|
130
130
|
-webkit-line-clamp: 2;
|
|
131
|
+
line-height: 1.25;
|
|
131
132
|
}
|
|
132
133
|
}
|
|
133
|
-
`,Bt=p.memo(We);var
|
|
134
|
+
`,Bt=p.memo(We);var me={},Ut=Ce;Object.defineProperty(me,"__esModule",{value:!0});var Be=me.default=void 0,Ot=Ut(Te()),Ft=t;Be=me.default=(0,Ot.default)((0,Ft.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12z"}),"Cancel");var fe={},Vt=Ce;Object.defineProperty(fe,"__esModule",{value:!0});var Ue=fe.default=void 0,Gt=Vt(Te()),Qt=t;Ue=fe.default=(0,Gt.default)((0,Qt.jsx)("path",{d:"M1 21h22L12 2zm12-3h-2v-2h2zm0-4h-2v-4h2z"}),"Warning");const Xt={error:Be,warning:Ue,info:xt,success:vt};xe.propTypes={severity:i.oneOf(["error","warning","info","success"]).isRequired,size:i.number};xe.defaultProps={size:32};function xe({severity:e="info",size:r=32}){const s=ne(),o=A(()=>({error:s.palette.error.main,warning:s.palette.warning.main,info:s.palette.info.main,success:s.palette.success.main}))[e],l=Xt[e],a=Ze(o,.1);return t.jsx(K,{sx:{width:r,height:r,bgcolor:a,color:o},children:t.jsx(l,{fontSize:"small"})})}const Kt={width:24,height:24,body:'<g fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M0 0h24v24H0z"/><path fill="currentColor" d="M5.821 4.91c3.898-2.765 9.469-2.539 13.073.536c3.667 3.127 4.168 8.238 1.152 11.897c-2.842 3.447-7.965 4.583-12.231 2.805l-.232-.101l-4.375.931l-.075.013l-.11.009l-.113-.004l-.044-.005l-.11-.02l-.105-.034l-.1-.044l-.076-.042l-.108-.077l-.081-.074l-.073-.083l-.053-.075l-.065-.115l-.042-.106l-.031-.113l-.013-.075l-.009-.11l.004-.113l.005-.044l.02-.11l.022-.072l1.15-3.451l-.022-.036C.969 12.45 1.97 7.805 5.59 5.079l.23-.168z"/></g>'},Yt={width:24,height:24,body:'<g fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M0 0h24v24H0z"/><path fill="currentColor" d="M12 2a5 5 0 1 1-5 5l.005-.217A5 5 0 0 1 12 2zm2 12a5 5 0 0 1 5 5v1a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-1a5 5 0 0 1 5-5h4z"/></g>'},Zt={width:24,height:24,body:'<g fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M0 0h24v24H0z"/><path fill="currentColor" d="M17 3.34A10 10 0 1 1 2 12l.005-.324A10 10 0 0 1 17 3.34zM12 6a1 1 0 0 0-1 1a3 3 0 1 0 0 6v2a1.024 1.024 0 0 1-.866-.398l-.068-.101a1 1 0 0 0-1.732.998a3 3 0 0 0 2.505 1.5H11a1 1 0 0 0 .883.994L12 18a1 1 0 0 0 1-1l.176-.005A3 3 0 0 0 13 11V9c.358-.012.671.14.866.398l.068.101a1 1 0 0 0 1.732-.998A3 3 0 0 0 13.161 7H13a1 1 0 0 0-1-1zm1 7a1 1 0 0 1 0 2v-2zm-2-4v2a1 1 0 0 1 0-2z"/></g>'},Jt={width:24,height:24,body:'<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M8 12a4 4 0 1 0 8 0a4 4 0 1 0-8 0"/><path d="M16 12v1.5a2.5 2.5 0 0 0 5 0V12a9 9 0 1 0-5.5 8.28"/></g>'},er={width:24,height:24,body:'<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m15 10l-4 4l6 6l4-16l-18 7l4 2l2 6l3-4"/>'},be={comment:{icon:Kt,bgColor:"rgba(239, 246, 255, 1)",color:"rgba(43, 127, 255, 1)"},like:{icon:"👍",bgColor:"rgba(244, 244, 245, 1)",color:"yellow",renderType:"emoji"},follow:{icon:Yt,bgColor:"rgba(238, 242, 255, 1)",color:"rgba(97, 95, 255, 1)"},tips:{icon:Zt,bgColor:"rgba(254, 252, 232, 1)",color:"rgba(240, 177, 0, 1)"},mention:{icon:Jt,bgColor:"rgba(244, 244, 245, 1)",color:"rgba(43, 127, 255, 1)"},assign:{icon:er,bgColor:"rgba(244, 244, 245, 1)",color:"rgba(43, 127, 255, 1)"}};ge.propTypes={activity:i.oneOf(["comment","like","follow","tips","mention","assign"]).isRequired,size:i.number};ge.defaultProps={size:32};function ge({activity:e,size:r=32}){const s=be[e]||be.comment,n=s.icon;return t.jsx(K,{sx:{bgcolor:s.bgColor,color:s.color,width:r,height:r},children:s.renderType==="emoji"?t.jsx("span",{style:{fontSize:"14px"},children:n}):t.jsx(Se,{icon:n})})}const te={avatar:i.string,fullName:i.string,did:i.string};function X({actor:e,size:r,teamDid:s,inService:n,showName:o}){const l=A(()=>({...e,avatar:e!=null&&e.avatar?kt(e.avatar,s,n):null}),[e,s,n]),a=c=>{e&&(c.stopPropagation(),window.open(dt(Y(st.WELLKNOWN_SERVICE_PATH_PREFIX,"user"),{did:e.did}),"_blank"),c.customPreventRedirect=!0)};return t.jsxs(h,{display:"flex",alignItems:"center",gap:1,onClick:a,role:"button",style:{cursor:"pointer"},title:(e==null?void 0:e.fullName)||"",children:[l.avatar?t.jsx(jt,{user:l,showDid:!0,cardType:bt.AvatarOnly,infoType:wt.Minimal,avatarSize:r,shape:"circle",sx:{width:r,height:r,borderRadius:"100%",overflow:"hidden",transition:"transform 0.2s ease-in-out","&:hover":{transform:"scale(1.1)"}}}):t.jsx(K,{sx:{width:r,height:r}}),o&&t.jsx("span",{children:e==null?void 0:e.fullName})]})}X.propTypes={actor:i.shape(te).isRequired,size:i.number.isRequired,teamDid:i.string,inService:i.bool,showName:i.bool};X.defaultProps={teamDid:"",inService:!1,showName:!1};Z.propTypes={actors:i.oneOfType([i.shape(te),i.arrayOf(i.shape(te))]).isRequired,size:i.number,maxDisplay:i.number,teamDid:i.string,inService:i.bool,showName:i.bool,avatarFallback:i.node};Z.defaultProps={size:32,maxDisplay:9,teamDid:"",inService:!0,showName:!1,avatarFallback:null};function Z({actors:e,size:r=32,maxDisplay:s=9,teamDid:n="",inService:o=!0,showName:l=!1,avatarFallback:a=null}){const c=A(()=>{const m=Array.isArray(e)?e:[e];return ct(m,"did").filter(Boolean)},[e]);return c.length===1||!c.length?t.jsx(X,{actor:c[0],size:r,teamDid:n,inService:o,showName:l}):t.jsx(Je,{total:c.length,renderSurplus:m=>m<100?t.jsxs("span",{children:["+",m]}):t.jsx("span",{children:"99+"}),max:s,sx:{justifyContent:"flex-end",height:`${r}px`,".MuiAvatar-root":{width:`${r}px`,height:`${r}px`,fontSize:`${r/2.5}px`,border:0,zIndex:2}},children:c.map((m,y)=>m!=null&&m.avatar?t.jsx(X,{actor:m,size:r,teamDid:n,inService:o},(m==null?void 0:m.did)||y):a)})}const we=3;Ve.propTypes={notification:i.object.isRequired,isMultiple:i.bool,blocklet:i.object,mountPoint:i.string,avatarFallback:i.node};Oe.propTypes={notification:i.object.isRequired,mountPoint:i.string};Fe.propTypes={items:i.array.isRequired,activity:i.object.isRequired,blocklet:i.object,mountPoint:i.string,viewMoreLink:i.string,avatarFallback:i.node};function Oe({notification:e,mountPoint:r=""}){var a;const{activity:s}=e,{type:n,meta:o={}}=s||{},l=Me({activity:s,users:[e==null?void 0:e.actorInfo],actors:[(a=e==null?void 0:e.activity)==null?void 0:a.actor],mountPoint:r});return D(s)||!s.type||!s.actor||D(s.target)?null:t.jsxs(h,{children:[t.jsx(I,{variant:"body1",color:H.textBase,sx:{mb:.5},children:l}),t.jsx($e,{meta:o,type:n})]})}function Fe({items:e,activity:r,blocklet:s,mountPoint:n="",viewMoreLink:o="",avatarFallback:l=null}){const a=ne(),c=A(()=>{var d;return(s==null?void 0:s.did)||((d=s==null?void 0:s.meta)==null?void 0:d.did)||""},[s]),{locale:m}=p.useContext(oe),y=A(()=>!D(r.meta)&&Object.values(r.meta).some(d=>d!=null),[r]),g=Me({activity:r,users:e.map(d=>d==null?void 0:d.actorInfo),actors:e.map(d=>{var u;return(u=d==null?void 0:d.activity)==null?void 0:u.actor}),mountPoint:n}),C=ee(d=>{if(!d.activity)return null;const u=ae(d.activity);return u!=null&&u.metaLink?Y(n,u.metaLink):null}),v=ee((d,u)=>{if(d.stopPropagation(),!u)return;const j=C(u);j&&(window.open(j,"_blank"),d.customPreventRedirect=!0)}),R=e.length>we,b=e.slice(0,we);return t.jsxs(h,{sx:{width:"100%"},children:[t.jsx(I,{variant:"body1",color:H.textBase,sx:{mb:3},children:g}),y?t.jsxs(h,{className:"sub-content",display:"flex",flexDirection:"column",gap:3,children:[b.map(d=>{var u;return t.jsxs(h,{display:"flex",flexDirection:"column",gap:1,onClick:j=>v(j,d),children:[t.jsxs(h,{display:"flex",alignItems:"center",gap:1,children:[G(d)?t.jsx(Z,{actors:d.actorInfo,size:32,teamDid:c}):l,t.jsx(I,{variant:"subtitle1",color:H.textBase,children:G(d)?(u=d==null?void 0:d.actorInfo)==null?void 0:u.fullName:"System"})," ","·",t.jsx(Ie,{value:d.createdAt,locale:m,shouldUpdate:!0,style:{color:a.palette.text.secondary,fontSize:"0.875rem",minWidth:"50px",whiteSpace:"nowrap"}})]}),t.jsx(h,{pl:5,children:t.jsx($e,{meta:d.activity.meta,type:d.activity.type})})]},d.id)}),R&&o?t.jsx(h,{mt:1,display:"flex",justifyContent:"center",children:t.jsxs(et,{size:"large",variant:"text",component:re,href:o,target:"_blank",rel:"noopener noreferrer",onClick:d=>{d.customPreventRedirect=!0},children:["View More ",t.jsx(Se,{icon:pt,style:{marginLeft:4}})]})}):null]}):null]})}function Ve({notification:e,isMultiple:r=!1,blocklet:s,mountPoint:n="",avatarFallback:o}){const l=A(()=>{if(!e.activity)return null;const a=ae(e.activity);return a!=null&&a.targetLink?Y(n,a.targetLink):null},[e.activity,n]);return r?t.jsx(Fe,{items:e.items,activity:e.activity,blocklet:s,mountPoint:n,viewMoreLink:l,avatarFallback:o}):t.jsx(Oe,{notification:e,mountPoint:n})}const tr=tt(h)`
|
|
134
135
|
display: flex;
|
|
135
136
|
justify-content: center;
|
|
136
137
|
align-items: center;
|
|
@@ -141,7 +142,7 @@ import{r as p}from"./vendor-react-DoD83n6N.js";import{H as i,j as t,bl as K,ao a
|
|
|
141
142
|
.empty-icon {
|
|
142
143
|
margin: 10px 0;
|
|
143
144
|
}
|
|
144
|
-
`;function ye({color:e,children:r,...s}){const n=Ct();return t.jsxs(tr,{...s,children:[t.jsx("img",{src:`${n.imgPrefix}/all-done.png`,alt:"All Done",width:200,height:200,style:{maxHeight:"100%",maxWidth:"100%"},onError:o=>{o.target.style.display="none"}}),t.jsx(h,{className:"empty-content",children:r})]})}ye.propTypes={color:i.string,children:i.any};ye.defaultProps={color:"inherit",children:null};rr.propTypes={data:i.array,blockletMap:i.object,onReadNotification:i.func,onReadBatch:i.func,inDialog:i.bool,highlightId:i.string,highlight:i.bool,type:i.oneOf(["server","service"])};Ge.propTypes={notification:i.object,blocklet:i.object,onReadNotification:i.func,inDialog:i.bool,highlight:i.bool};F.propTypes={blocklet:i.object,size:i.number,showName:i.bool,hideDot:i.bool};function F({blocklet:e,size:r=40,showName:s=!1,hideDot:n=!1}){var a,c;const o=(e==null?void 0:e.did)||((a=e==null?void 0:e.meta)==null?void 0:a.did)||"",l=((e==null?void 0:e.alsoKnownAs)||[]).concat((e==null?void 0:e.appId)||(e==null?void 0:e.appDid)||(e==null?void 0:e.appPid)||"");return t.jsxs(h,{className:"component-avatar",display:"flex",alignItems:"center",sx:{gap:n?"8px":"4px"},children:[!n&&t.jsx("span",{className:"dot"}),e?t.jsx(h,{children:l.includes(o)?t.jsx(le,{blocklet:e,size:r,style:{borderRadius:8}}):t.jsx(ot,{blocklet:e,ancestors:e.ancestors??[],size:r,style:{borderRadius:8}})}):t.jsx(it,{width:r,height:r}),s&&t.jsx("span",{className:"component-name",children:(c=e==null?void 0:e.meta)==null?void 0:c.title})]})}function Ge({notification:e,blocklet:r,onReadNotification:s=()=>{},inDialog:n=!1,highlight:o}){const{locale:l}=p.useContext(oe),a=ne(),c=q(x=>x.breakpoints.down("md")),
|
|
145
|
+
`;function ye({color:e,children:r,...s}){const n=Ct();return t.jsxs(tr,{...s,children:[t.jsx("img",{src:`${n.imgPrefix}/all-done.png`,alt:"All Done",width:200,height:200,style:{maxHeight:"100%",maxWidth:"100%"},onError:o=>{o.target.style.display="none"}}),t.jsx(h,{className:"empty-content",children:r})]})}ye.propTypes={color:i.string,children:i.any};ye.defaultProps={color:"inherit",children:null};rr.propTypes={data:i.array,blockletMap:i.object,onReadNotification:i.func,onReadBatch:i.func,inDialog:i.bool,highlightId:i.string,highlight:i.bool,type:i.oneOf(["server","service"])};Ge.propTypes={notification:i.object,blocklet:i.object,onReadNotification:i.func,inDialog:i.bool,highlight:i.bool};F.propTypes={blocklet:i.object,size:i.number,showName:i.bool,hideDot:i.bool};function F({blocklet:e,size:r=40,showName:s=!1,hideDot:n=!1}){var a,c;const o=(e==null?void 0:e.did)||((a=e==null?void 0:e.meta)==null?void 0:a.did)||"",l=((e==null?void 0:e.alsoKnownAs)||[]).concat((e==null?void 0:e.appId)||(e==null?void 0:e.appDid)||(e==null?void 0:e.appPid)||"");return t.jsxs(h,{className:"component-avatar",display:"flex",alignItems:"center",sx:{gap:n?"8px":"4px"},children:[!n&&t.jsx("span",{className:"dot"}),e?t.jsx(h,{children:l.includes(o)?t.jsx(le,{blocklet:e,size:r,style:{borderRadius:8}}):t.jsx(ot,{blocklet:e,ancestors:e.ancestors??[],size:r,style:{borderRadius:8}})}):t.jsx(it,{width:r,height:r}),s&&t.jsx("span",{className:"component-name",children:(c=e==null?void 0:e.meta)==null?void 0:c.title})]})}function Ge({notification:e,blocklet:r,onReadNotification:s=()=>{},inDialog:n=!1,highlight:o}){const{locale:l}=p.useContext(oe),a=ne(),c=q(x=>x.breakpoints.down("md")),m=p.useRef(null),y=p.useMemo(()=>Dt(e),[e]),g=p.useMemo(()=>mt(e),[e]),C=p.useMemo(()=>G(e),[e]),v=p.useMemo(()=>{const{actions:x,action:k}=e;let T=x??[];return!T.length&&k&&(T=[{name:"Visit",link:k}]),T},[e]),R=p.useMemo(()=>e.items||[],[e]),b=p.useMemo(()=>R.length>0,[R]),d=p.useMemo(()=>g?b?R.map(x=>{var k;return G(x)?x.actorInfo:{did:(k=x.activity)==null?void 0:k.actor}}).filter(Boolean):e.actorInfo??[]:[],[R,e.actorInfo,b,g]),u=p.useMemo(()=>{var x;return(r==null?void 0:r.did)||((x=r==null?void 0:r.meta)==null?void 0:x.did)||""},[r]),j=p.useMemo(()=>Lt(u,window.blocklet),[u]),_=ee((x,k)=>{if(y||s(x),k&&!k.customPreventRedirect){const T=_t(x,j);T&&typeof T=="string"&&window.open(T,"_blank","noopener,noreferrer")}});return t.jsxs(sr,{ref:m,className:"notification-row",id:e.id,isRead:y,inDialog:n,highlight:o,isMd:c,onClick:x=>_(e,x),children:[g?t.jsx(ge,{activity:e.activity.type,size:c?24:32}):t.jsx(xe,{severity:e.severity,size:c?24:32}),t.jsxs(h,{className:"notification",display:"flex",flexDirection:"column",alignItems:"start",children:[t.jsxs(h,{width:"100%",display:"flex",justifyContent:"space-between",alignItems:"center",gap:1,className:"header",mb:1.5,children:[g&&C?t.jsx(Z,{actors:d,teamDid:u,size:c?24:32,avatarFallback:t.jsx(F,{blocklet:r,hideDot:!0,size:c?24:32})}):t.jsx(F,{blocklet:r,hideDot:!0,size:c?24:32}),t.jsx(Ie,{value:e.createdAt,locale:l,shouldUpdate:!0,style:{color:a.palette.text.secondary,fontSize:"0.875rem",minWidth:"50px",whiteSpace:"nowrap"}})]}),g?t.jsx(Ve,{notification:e,isMultiple:b,blocklet:r,mountPoint:j,avatarFallback:t.jsx(F,{blocklet:r,hideDot:!0,size:c?24:32})}):t.jsxs(t.Fragment,{children:[t.jsx(I,{variant:"body1",className:"title",color:"rgba(24, 24, 27, 1)",style:{marginTop:0},sx:{mb:.5},children:e.title}),t.jsx(Bt,{notification:e,rows:n?0:2})]}),v.length>0?t.jsx(h,{display:"flex",justifyContent:"start",alignItems:"center",gap:1,mt:1.5,children:v.map((x,k)=>t.jsxs(p.Fragment,{children:[t.jsx(re,{href:x.link,target:"_blank",className:"link",rel:"noopener noreferrer",sx:{fontSize:"15px"},onClick:T=>{T.customPreventRedirect=!0},children:x.name},x.link),k<v.length-1?t.jsx(se,{orientation:"vertical",sx:{ml:1,mr:1,height:12,borderWidth:"1px"}}):null]},x.link))}):null]}),(e==null?void 0:e.description)&&e.severity==="error"&&t.jsx(h,{className:"copy-button",children:t.jsx(rt,{size:"small",children:t.jsx(nt,{sx:{fontSize:22},content:(e==null?void 0:e.description)||""})})})]})}function rr({data:e,blockletMap:r,onReadNotification:s=()=>{},onReadBatch:n=()=>{},inDialog:o=!1,highlightId:l,highlight:a=!1,type:c="service"}){const{t:m}=Re(),y=p.useRef(null),[g,C]=p.useState(!1),[v,R]=p.useState(!0),[b,d]=p.useState(!1),u=p.useRef(new Set),j=p.useRef(new Set),_=p.useRef(null),x=p.useRef(null),k=p.useRef(!1),T=p.useMemo(()=>o?e==null?void 0:e.slice(0,5):e,[o,e]),$=p.useMemo(()=>ht(T),[T]),W=p.useMemo(()=>{const f=new Map;return $&&$.length&&$.forEach(w=>{f.set(w.id,w)}),f},[$]);p.useEffect(()=>{const f=()=>{R(document.visibilityState==="visible")};return document.addEventListener("visibilitychange",f),()=>{document.removeEventListener("visibilitychange",f)}},[]);const U=p.useCallback(()=>{if(!o&&u.current.size>0){const f=[];u.current.forEach(w=>{if(j.current.has(w))return;const M=W.get(w);if(M){const{receivers:z=[],items:N=[]}=M;if(z.length&&!z[0].read&&(f.push(w),j.current.add(w),N.length>0&&N.forEach(S=>{const P=S.id;P&&!j.current.has(P)&&(f.push(P),j.current.add(P))}),x.current)){const S=document.getElementById(w);S&&x.current.unobserve(S)}}}),f.length>0&&(n(f),setTimeout(()=>{C(!1)},300)),u.current.clear()}},[o,W,n]),E=p.useCallback(()=>{if(o||!y.current||!v)return;x.current&&x.current.disconnect();const f={root:null,rootMargin:"0px",threshold:.5},w=new IntersectionObserver(z=>{g&&z.forEach(N=>{const S=N.target.id;if(j.current.has(S))return;const P=W.get(S);if(P){const{receivers:ve=[]}=P;ve.length&&!ve[0].read&&(N.isIntersecting?(u.current.add(S),b||U()):u.current.delete(S))}})},f);x.current=w,Array.from(y.current.querySelectorAll(".notification-row")).filter(z=>{const N=z.id;if(j.current.has(N))return!1;const S=W.get(N);if(S){const{receivers:P=[]}=S;return P.length&&!P[0].read}return!1}).forEach(z=>{w.observe(z)}),k.current=!1},[g,o,b,v,W,U]);return p.useEffect(()=>{o||(k.current=!0,x.current&&v&&g&&setTimeout(()=>{E()},0))},[T,g,v,E,o]),p.useEffect(()=>{if(o||!y.current||!v)return;let f=window;if(c==="server"&&(f=document.getElementById("arc__dashboard-main")),!f){const M=document.getElementsByClassName("dashboard-main")[0];M&&(f=M)}if(!f)return;const w=M=>{M.isTrusted&&(g||C(!0),d(!0),_.current&&clearTimeout(_.current),_.current=setTimeout(()=>{d(!1),U(),k.current&&E()},300))};return f.addEventListener("scroll",w,{passive:!0}),()=>{f.removeEventListener("scroll",w),_.current&&clearTimeout(_.current)}},[o,g,v,U,E,c]),p.useEffect(()=>(o||E(),()=>{x.current&&x.current.disconnect()}),[E,o]),$!=null&&$.length?t.jsx(h,{ref:y,display:"flex",flexDirection:"column",sx:{...o?{maxHeight:"calc(-200px + 100vh)",overflow:"auto"}:{}},children:$==null?void 0:$.map(f=>{var M;const w=f.source==="system"?r.get(f.entityId||f.sender):r.get(f.componentDid||f.sender);return((M=f==null?void 0:f.type)==null?void 0:M.toLowerCase())==="passthrough"?null:t.jsx(Ge,{highlight:a&&l===f.id,inDialog:o,notification:f,blocklet:w,onReadNotification:()=>s(f)},f.id)})}):t.jsx(ye,{children:m("notification.allDone")})}const sr=L("div")`
|
|
145
146
|
@keyframes flash-bg {
|
|
146
147
|
0% {
|
|
147
148
|
background-color: ${e=>e.theme.palette.warning.light};
|
|
@@ -231,4 +232,4 @@ import{r as p}from"./vendor-react-DoD83n6N.js";import{H as i,j as t,bl as K,ao a
|
|
|
231
232
|
text-decoration: none;
|
|
232
233
|
}
|
|
233
234
|
}
|
|
234
|
-
`;export{
|
|
235
|
+
`;export{Z as A,le as B,rr as N,F as S,Ve as a,Bt as b,Dt as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./vendor-react-
|
|
1
|
+
import"./vendor-react-DEoibe3W.js";import{s as d,w as h,j as e,a9 as a,ak as t,H as o}from"./vendor-mui-core-CfA4EdRA.js";const l=d(h)(({theme:r})=>({"& .header-row":{display:"flex",justifyContent:"space-between",alignItems:"center",gap:r.spacing(1)},"& .right":{display:"flex",alignItems:"center",gap:r.spacing(1.5)},"& .tabs":{marginTop:r.spacing(2),"& .MuiButton-root":{border:"none",color:"#999","&.active":{color:"#222"}}},"@media (max-width: 900px)":{"& .header-row":{flexDirection:"column",alignItems:"flex-start"},"& .right":{flexDirection:"column",width:"100%",".search-always-open, .toolbar-btn-show, a, button, .MuiButtonGroup-root":{width:"100% !important"}}}}));function c({left:r,tabs:s,actions:n,...i}){return!r&&!s?e.jsx(l,{elevation:0,...i,children:e.jsxs(a,{className:"header-row",children:[e.jsx(a,{className:"left"}),e.jsx(t,{direction:"row",className:"right",children:n})]})}):r&&!s||!r&&s?e.jsx(l,{elevation:0,...i,children:e.jsxs(a,{className:"header-row",children:[e.jsx(a,{className:"left",children:r||s}),e.jsx(t,{direction:"row",className:"right",children:n})]})}):e.jsxs(l,{elevation:0,...i,children:[e.jsxs(a,{className:"header-row",children:[e.jsx(a,{className:"left",children:r}),e.jsx(t,{direction:"row",className:"right",children:n})]}),s&&e.jsx(a,{mt:2,children:s})]})}c.propTypes={left:o.node,tabs:o.node,actions:o.node};c.defaultProps={left:null,tabs:null,actions:null};export{c as L};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as o}from"./vendor-mui-core-CfA4EdRA.js";import"./vendor-react-DEoibe3W.js";import{S as t}from"./studio-CW2bLcBh.js";import"./vendor-ux-did-connect-zBIy2ulO.js";import"./vendor-utils-BNHJB5U7.js";import"./vendor-hooks-DftG_2gV.js";import"./lottie-web-jYmAQWuC.js";import"./vendor-arcblock-CWji6U03.js";import"./TuneOutlined-BnxAi8kP.js";function d(){return o.jsx(t,{children:"Coming soon..."})}export{d as default};
|