@arcblock/ux 3.0.6 → 3.0.7
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/lib/ActionButton/index.d.ts +1 -1
- package/lib/ActionButton/index.js +9 -9
- package/lib/ActivityIndicator/index.js +6 -7
- package/lib/Address/compact-text.d.ts +1 -1
- package/lib/Address/compact-text.js +6 -7
- package/lib/Address/did-address.js +4 -4
- package/lib/Address/index.js +6 -6
- package/lib/Address/responsive-did-address.js +17 -17
- package/lib/Alert/index.d.ts +1 -1
- package/lib/Alert/index.js +8 -8
- package/lib/AnimationWaiter/index.js +10 -10
- package/lib/Async/index.js +4 -4
- package/lib/Avatar/etherscan-blockies.js +15 -15
- package/lib/Avatar/index.d.ts +1 -1
- package/lib/Avatar/index.js +6 -6
- package/lib/Badge/index.js +5 -5
- package/lib/Blocklet/blocklet.js +10 -10
- package/lib/Blocklet/index.js +6 -5
- package/lib/Blocklet/utils.js +1 -1
- package/lib/BlockletContext/index.d.ts +1 -1
- package/lib/BlockletContext/index.js +1 -1
- package/lib/BlockletNFT/index.js +19 -19
- package/lib/BlockletV2/blocklet.d.ts +1 -1
- package/lib/BlockletV2/blocklet.js +36 -37
- package/lib/BlockletV2/components/icon-text.d.ts +1 -1
- package/lib/BlockletV2/components/icon-text.js +13 -13
- package/lib/BlockletV2/components/tooltip-icon.js +22 -20
- package/lib/BlockletV2/index.js +8 -7
- package/lib/BlockletV2/utils.js +1 -1
- package/lib/Button/index.js +1 -1
- package/lib/Button/wrap.js +3 -3
- package/lib/ButtonGroup/index.js +1 -1
- package/lib/Center/index.js +4 -4
- package/lib/ClickToCopy/copy-button.js +3 -3
- package/lib/ClickToCopy/index.js +5 -5
- package/lib/CloseButton/index.js +2 -2
- package/lib/CodeBlock/index.js +3 -3
- package/lib/Colors/index.js +3 -3
- package/lib/Config/config-provider.js +15 -16
- package/lib/Config/index.js +3 -5
- package/lib/Config/theme-mode-toggle.js +1 -1
- package/lib/ContactForm/index.js +26 -25
- package/lib/CookieConsent/index.js +1 -1
- package/lib/CountDown/index.js +2 -2
- package/lib/DID/index.js +79 -78
- package/lib/DIDConnect/app-icon.js +10 -10
- package/lib/DIDConnect/app-info-item.js +5 -5
- package/lib/DIDConnect/auth-apps/auth-apps-info.js +1 -1
- package/lib/DIDConnect/auth-apps/index.js +56 -56
- package/lib/DIDConnect/did-connect-container.js +35 -36
- package/lib/DIDConnect/did-connect-footer.js +7 -7
- package/lib/DIDConnect/index.js +10 -10
- package/lib/DIDConnect/landing-page.js +45 -46
- package/lib/DIDConnect/powered-by.js +2 -2
- package/lib/DIDConnect/request-storage-access-api-dialog.js +44 -45
- package/lib/DIDConnect/with-container.js +25 -26
- package/lib/DIDConnect/with-ux-theme.js +6 -7
- package/lib/Datatable/CustomToolbar.d.ts +3 -1
- package/lib/Datatable/CustomToolbar.js +13 -13
- package/lib/Datatable/TableSearch.js +2 -2
- package/lib/Datatable/index.js +6 -6
- package/lib/Dialog/confirm.d.ts +1 -1
- package/lib/Dialog/confirm.js +20 -20
- package/lib/Dialog/dialog.js +7 -7
- package/lib/Dialog/index.js +3 -3
- package/lib/Dialog/use-confirm.js +1 -1
- package/lib/DriftBot/index.js +1 -1
- package/lib/Earth/index.js +10 -10
- package/lib/Empty/index.js +1 -1
- package/lib/ErrorBoundary/fallback.js +15 -15
- package/lib/ErrorBoundary/index.js +1 -6
- package/lib/Footer/index.d.ts +1 -1
- package/lib/Footer/index.js +7 -7
- package/lib/Header/addon-button.d.ts +1 -1
- package/lib/Header/addon-button.js +11 -6
- package/lib/Header/auto-hidden.js +1 -1
- package/lib/Header/header.js +4 -4
- package/lib/Header/index.js +3 -3
- package/lib/Header/responsive-header.d.ts +1 -1
- package/lib/Header/responsive-header.js +33 -34
- package/lib/Icon/image.js +2 -2
- package/lib/Icon/index.js +12 -12
- package/lib/Img/index.js +1 -1
- package/lib/InfoRow/index.d.ts +1 -1
- package/lib/InfoRow/index.js +1 -2
- package/lib/Layout/dashboard/external-link.d.ts +1 -1
- package/lib/Layout/dashboard/external-link.js +1 -1
- package/lib/Layout/dashboard/full-page.js +8 -8
- package/lib/Layout/dashboard/index.js +30 -32
- package/lib/Layout/dashboard/sidebar.js +3 -3
- package/lib/Layout/dashboard-legacy/header.js +12 -12
- package/lib/Layout/dashboard-legacy/index.js +20 -20
- package/lib/Layout/dashboard-legacy/sidebar.d.ts +1 -1
- package/lib/Layout/dashboard-legacy/sidebar.js +20 -13
- package/lib/Layout/index.js +7 -7
- package/lib/LoadingMask/index.d.ts +1 -1
- package/lib/LoadingMask/index.js +4 -4
- package/lib/Locale/context.js +27 -27
- package/lib/Locale/selector.d.ts +1 -1
- package/lib/Locale/selector.js +4 -4
- package/lib/Logo/index.js +19 -19
- package/lib/Metric/index.js +2 -2
- package/lib/NFTDisplay/aspect-ratio-container.d.ts +1 -1
- package/lib/NFTDisplay/aspect-ratio-container.js +1 -1
- package/lib/NFTDisplay/broken.js +2 -2
- package/lib/NFTDisplay/index.js +38 -35
- package/lib/NFTDisplay/loading.js +1 -1
- package/lib/NFTDisplay/render-svg.js +4 -4
- package/lib/NFTDisplay/svg-embedder/img.js +3 -3
- package/lib/NFTDisplay/svg-embedder/inline-svg.js +1 -1
- package/lib/NavMenu/index.js +2 -2
- package/lib/NavMenu/nav-menu.js +46 -44
- package/lib/NavMenu/products.js +33 -33
- package/lib/NavMenu/style.js +1 -1
- package/lib/NavMenu/sub-item-group.js +1 -1
- package/lib/PageScroller/index.js +53 -53
- package/lib/PageScroller/story/FullPage.js +27 -27
- package/lib/PageScroller/story/PageContain.js +8 -8
- package/lib/Passport/index.js +3 -2
- package/lib/Passport/passport.js +2 -2
- package/lib/PhoneInput/country-select.js +24 -24
- package/lib/PhoneInput/index.js +13 -13
- package/lib/PoweredByArcBlock/index.js +10 -6
- package/lib/PricingTable/PricingPlan.js +1 -1
- package/lib/PricingTable/index.js +3 -3
- package/lib/QRCode/index.js +5 -5
- package/lib/RelativeTime/index.js +17 -17
- package/lib/Result/common.js +4 -6
- package/lib/Result/index.js +2 -2
- package/lib/Result/result.js +5 -5
- package/lib/Screenshot/BaseScreenshot/index.js +3 -3
- package/lib/Screenshot/index.d.ts +1 -1
- package/lib/Screenshot/index.js +10 -10
- package/lib/SessionBlocklet/index.js +8 -8
- package/lib/SessionManager/index.js +3 -2
- package/lib/SessionUser/components/did-space.d.ts +1 -1
- package/lib/SessionUser/components/did-space.js +14 -14
- package/lib/SessionUser/components/logged-in.js +33 -33
- package/lib/SessionUser/components/quick-login-item.js +29 -29
- package/lib/SessionUser/components/session-user-item.js +27 -27
- package/lib/SessionUser/components/session-user-switch.js +4 -4
- package/lib/SessionUser/components/un-login.js +7 -7
- package/lib/SessionUser/components/user-info.js +16 -16
- package/lib/SessionUser/index.js +2 -2
- package/lib/SharedBridge/index.js +23 -23
- package/lib/Spinner/index.js +2 -2
- package/lib/SplitButton/index.d.ts +1 -1
- package/lib/SplitButton/index.js +2 -2
- package/lib/Success/index.js +1 -1
- package/lib/Switch/index.js +1 -1
- package/lib/Tabs/index.js +16 -9
- package/lib/Tag/index.d.ts +1 -1
- package/lib/Tag/index.js +7 -7
- package/lib/TextCollapse/index.js +3 -3
- package/lib/Theme/index.js +11 -22
- package/lib/Theme/theme-provider.js +60 -55
- package/lib/Theme/theme.js +5 -4
- package/lib/Toast/index.js +11 -11
- package/lib/Typography/index.js +13 -13
- package/lib/UserCard/Cards/avatar-only.js +2 -2
- package/lib/UserCard/Cards/basic-info.d.ts +1 -1
- package/lib/UserCard/Cards/basic-info.js +4 -4
- package/lib/UserCard/Cards/index.d.ts +1 -1
- package/lib/UserCard/Cards/index.js +4 -4
- package/lib/UserCard/Cards/name-only.js +1 -1
- package/lib/UserCard/Container/card.js +8 -8
- package/lib/UserCard/Container/dialog.js +2 -2
- package/lib/UserCard/Content/basic.js +3 -3
- package/lib/UserCard/Content/clock.js +3 -3
- package/lib/UserCard/Content/minimal.d.ts +1 -1
- package/lib/UserCard/Content/minimal.js +8 -8
- package/lib/UserCard/Content/tooltip-avatar.js +18 -18
- package/lib/UserCard/components.js +23 -23
- package/lib/UserCard/index.js +12 -12
- package/lib/Util/index.js +2 -2
- package/lib/VerificationCode/index.js +2 -2
- package/lib/Video/index.js +2 -2
- package/lib/Wallet/Action.js +4 -4
- package/lib/Wallet/Download.js +6 -6
- package/lib/Wallet/Open.js +1 -1
- package/lib/WalletOSIcon/index.d.ts +2 -2
- package/lib/WalletOSIcon/index.js +8 -3
- package/lib/WebWalletSWKeeper/index.d.ts +3 -1
- package/lib/WebWalletSWKeeper/index.js +6 -3
- package/lib/WechatPrompt/index.js +1 -1
- package/lib/hooks/use-blocklet-logo.js +13 -15
- package/lib/hooks/use-clock.js +1 -1
- package/lib/index.js +74 -79
- package/lib/withTheme/index.d.ts +3 -2
- package/lib/withTheme/index.js +13 -14
- package/lib/withTracker/error_boundary.js +1 -1
- package/package.json +7 -7
- package/src/ActionButton/index.jsx +1 -1
- package/src/Address/compact-text.jsx +1 -1
- package/src/Address/did-address.tsx +1 -1
- package/src/Address/index.tsx +1 -1
- package/src/Address/responsive-did-address.tsx +3 -3
- package/src/Alert/index.jsx +1 -1
- package/src/Avatar/index.jsx +1 -1
- package/src/Badge/index.jsx +1 -1
- package/src/BlockletContext/index.tsx +1 -1
- package/src/BlockletNFT/index.jsx +1 -1
- package/src/BlockletV2/blocklet.tsx +1 -1
- package/src/BlockletV2/components/icon-text.tsx +4 -4
- package/src/BlockletV2/components/tooltip-icon.tsx +5 -3
- package/src/Button/wrap.jsx +1 -1
- package/src/Center/index.tsx +1 -1
- package/src/ClickToCopy/copy-button.tsx +1 -1
- package/src/CloseButton/index.tsx +1 -1
- package/src/ContactForm/index.tsx +9 -2
- package/src/DID/index.tsx +5 -4
- package/src/DIDConnect/app-info-item.tsx +1 -1
- package/src/DIDConnect/auth-apps/index.tsx +8 -8
- package/src/DIDConnect/did-connect-container.tsx +2 -2
- package/src/DIDConnect/did-connect-footer.tsx +1 -1
- package/src/DIDConnect/landing-page.tsx +6 -6
- package/src/DIDConnect/request-storage-access-api-dialog.tsx +1 -2
- package/src/Datatable/CustomToolbar.jsx +1 -1
- package/src/Datatable/index.jsx +2 -2
- package/src/Dialog/confirm.jsx +1 -1
- package/src/Earth/index.tsx +1 -1
- package/src/Footer/index.tsx +5 -2
- package/src/Header/addon-button.tsx +7 -2
- package/src/Header/header.tsx +1 -1
- package/src/Header/responsive-header.tsx +1 -2
- package/src/Icon/index.tsx +1 -1
- package/src/InfoRow/index.tsx +1 -2
- package/src/Layout/dashboard/external-link.tsx +1 -1
- package/src/Layout/dashboard/full-page.tsx +1 -1
- package/src/Layout/dashboard/index.tsx +1 -1
- package/src/Layout/dashboard/sidebar.tsx +5 -2
- package/src/Layout/dashboard-legacy/header.tsx +5 -5
- package/src/Layout/dashboard-legacy/index.tsx +3 -3
- package/src/Layout/dashboard-legacy/sidebar.tsx +10 -2
- package/src/Layout/index.tsx +2 -2
- package/src/LoadingMask/index.tsx +5 -5
- package/src/Locale/context.tsx +3 -3
- package/src/Locale/selector.tsx +1 -1
- package/src/Logo/index.tsx +1 -1
- package/src/NFTDisplay/aspect-ratio-container.tsx +1 -1
- package/src/NFTDisplay/index.tsx +2 -1
- package/src/NFTDisplay/render-svg.tsx +1 -1
- package/src/NavMenu/nav-menu.tsx +8 -5
- package/src/NavMenu/products.tsx +3 -1
- package/src/PageScroller/index.tsx +4 -4
- package/src/PhoneInput/country-select.tsx +3 -3
- package/src/PhoneInput/index.tsx +1 -1
- package/src/PoweredByArcBlock/index.tsx +5 -1
- package/src/QRCode/index.tsx +1 -1
- package/src/RelativeTime/index.tsx +3 -3
- package/src/Result/result.tsx +1 -1
- package/src/Screenshot/index.tsx +2 -2
- package/src/SessionUser/components/did-space.tsx +1 -1
- package/src/SessionUser/components/session-user-item.tsx +1 -1
- package/src/SharedBridge/index.tsx +2 -2
- package/src/Spinner/index.tsx +1 -1
- package/src/SplitButton/index.tsx +1 -1
- package/src/Success/index.tsx +1 -1
- package/src/Tabs/index.tsx +10 -3
- package/src/Tag/index.jsx +1 -1
- package/src/TextCollapse/index.tsx +1 -1
- package/src/Theme/theme-provider.tsx +11 -6
- package/src/Theme/theme.ts +5 -0
- package/src/Typography/index.tsx +1 -1
- package/src/UserCard/Cards/basic-info.tsx +1 -1
- package/src/UserCard/Cards/index.tsx +1 -1
- package/src/UserCard/Container/card.tsx +2 -2
- package/src/UserCard/Container/dialog.tsx +1 -1
- package/src/UserCard/Content/basic.tsx +2 -2
- package/src/UserCard/Content/minimal.tsx +1 -1
- package/src/UserCard/Content/tooltip-avatar.tsx +4 -4
- package/src/VerificationCode/index.tsx +1 -1
- package/src/WalletOSIcon/index.tsx +7 -2
- package/src/WebWalletSWKeeper/index.tsx +6 -1
- package/src/withTheme/index.tsx +7 -3
- package/vite.config.mjs +5 -2
- package/lib/ActionButton/ActionButton.stories.d.ts +0 -18
- package/lib/ActivityIndicator/ActivityIndicator.stories.d.ts +0 -8
- package/lib/Address/Address.stories.d.ts +0 -16
- package/lib/Alert/Alert.stories.d.ts +0 -28
- package/lib/AnimationWaiter/AnimationWaiter.stories.d.ts +0 -21
- package/lib/AnimationWaiter/dark-animation.json.js +0 -27
- package/lib/AnimationWaiter/default-animation.json.js +0 -29
- package/lib/Avatar/Avatar.stories.d.ts +0 -11
- package/lib/Badge/Badge.stories.d.ts +0 -13
- package/lib/Blocklet/Blocklet.stories.d.ts +0 -17
- package/lib/BlockletNFT/BlockletNFT.stories.d.ts +0 -17
- package/lib/BlockletV2/Blocklet.stories.d.ts +0 -18
- package/lib/Button/Button.stories.d.ts +0 -19
- package/lib/Center/Center.stories.d.ts +0 -18
- package/lib/ClickToCopy/ClickToCopy.stories.d.ts +0 -16
- package/lib/CodeBlock/CodeBlock.stories.d.ts +0 -20
- package/lib/Colors/Colors.stories.d.ts +0 -34
- package/lib/Config/Config.stories.d.ts +0 -14
- package/lib/ContactForm/ContactForm.stories.d.ts +0 -23
- package/lib/CookieConsent/CookieConsent.stories.d.ts +0 -18
- package/lib/CountDown/CountDown.stories.d.ts +0 -14
- package/lib/DID/DID.stories.d.ts +0 -15
- package/lib/Datatable/Datatable.stories.d.ts +0 -32
- package/lib/Dialog/Dialog.stories.d.ts +0 -20
- package/lib/DidLogo/Logo.stories.d.ts +0 -8
- package/lib/Earth/Earth.stories.d.ts +0 -18
- package/lib/Earth/countries.json.js +0 -13
- package/lib/Empty/Empty.stories.d.ts +0 -17
- package/lib/ErrorBoundary/ErrorBoundary.stories.d.ts +0 -12
- package/lib/Footer/Footer.stories.d.ts +0 -12
- package/lib/Header/Header.stories.d.ts +0 -21
- package/lib/Icon/Icon.stories.d.ts +0 -23
- package/lib/Img/Img.stories.d.ts +0 -13
- package/lib/InfoRow/InfoRow.stories.d.ts +0 -14
- package/lib/Layout/Layout.stories.d.ts +0 -23
- package/lib/Locale/LocaleSelector.stories.d.ts +0 -22
- package/lib/Logo/Logo.stories.d.ts +0 -22
- package/lib/Logo/images/logo-dark-text.svg.js +0 -5
- package/lib/Logo/images/logo-dark-top.svg.js +0 -5
- package/lib/Logo/images/logo-light-text.svg.js +0 -5
- package/lib/Logo/images/logo-light-top.svg.js +0 -5
- package/lib/Metric/Metric.stories.d.ts +0 -14
- package/lib/NFTDisplay/NFTBroken.svg.js +0 -108
- package/lib/NFTDisplay/NFTDisplay.stories.d.ts +0 -15
- package/lib/NavMenu/NavMenu.stories.d.ts +0 -17
- package/lib/NavMenu/images/OCAP.svg.js +0 -5
- package/lib/NavMenu/images/abt-network.svg.js +0 -7
- package/lib/NavMenu/images/ai-kit.svg.js +0 -7
- package/lib/NavMenu/images/aigne.svg.js +0 -7
- package/lib/NavMenu/images/aistro.svg.js +0 -5
- package/lib/NavMenu/images/arcsphere.svg.js +0 -10
- package/lib/NavMenu/images/blocklet-framework.svg.js +0 -7
- package/lib/NavMenu/images/blocklet-launcher.svg.js +0 -5
- package/lib/NavMenu/images/blocklet-server.svg.js +0 -7
- package/lib/NavMenu/images/blocklet-store.svg.js +0 -5
- package/lib/NavMenu/images/creator-studio.svg.js +0 -7
- package/lib/NavMenu/images/did-connect.svg.js +0 -5
- package/lib/NavMenu/images/did-name-service.svg.js +0 -5
- package/lib/NavMenu/images/did-wallet.svg.js +0 -7
- package/lib/NavMenu/images/did.svg.js +0 -5
- package/lib/NavMenu/images/nft-studio.svg.js +0 -5
- package/lib/NavMenu/images/vc.svg.js +0 -5
- package/lib/NavMenu/images/web3-kit.svg.js +0 -7
- package/lib/PageScroller/story/PageScroller.stories.d.ts +0 -13
- package/lib/PhoneInput/PhoneInput.stories.d.ts +0 -12
- package/lib/PricingTable/PricingTable.stories.d.ts +0 -8
- package/lib/QRCode/QRCode.stories.d.ts +0 -13
- package/lib/RelativeTime/RelativeTime.stories.d.ts +0 -20
- package/lib/Result/Result.stories.d.ts +0 -21
- package/lib/Screenshot/Screenshot.stories.d.ts +0 -13
- package/lib/SessionManager/SessionManager.stories.d.ts +0 -9
- package/lib/SessionUser/images/did-spaces.svg.js +0 -5
- package/lib/Sparkline/Sparkline.stories.d.ts +0 -12
- package/lib/Spinner/Spinner.stories.d.ts +0 -18
- package/lib/SplitButton/SplitButton.stories.d.ts +0 -15
- package/lib/Switch/Switch.stories.d.ts +0 -13
- package/lib/Tabs/Tabs.stories.d.ts +0 -14
- package/lib/Tag/Tag.stories.d.ts +0 -13
- package/lib/TextCollapse/TextCollapse.stories.d.ts +0 -28
- package/lib/Theme/Theme.stories.d.ts +0 -10
- package/lib/Toast/Toast.stories.d.ts +0 -15
- package/lib/UserCard/UserCard.stories.d.ts +0 -18
- package/lib/Util/WebWalletOpener.stories.d.ts +0 -5
- package/lib/Video/Video.stories.d.ts +0 -6
- package/lib/Wallet/Action.stories.d.ts +0 -8
- package/lib/Wallet/Download.stories.d.ts +0 -9
- package/lib/Wallet/OpenInWallet.stories.d.ts +0 -5
- package/lib/Wallet/images/android_download.svg.js +0 -5
- package/lib/Wallet/images/app-store.svg.js +0 -5
- package/lib/Wallet/images/google-play.svg.js +0 -5
- package/lib/ux.css +0 -1
@@ -1,16 +1,16 @@
|
|
1
|
-
import { jsx as
|
2
|
-
import { CircularProgress as x, Box as l, Stack as H, Button as
|
1
|
+
import { jsx as i, jsxs as r, Fragment as G } from "react/jsx-runtime";
|
2
|
+
import { CircularProgress as x, Box as l, Stack as H, Button as v, Typography as J, Link as K } from "@mui/material";
|
3
3
|
import { useReactive as O, useMemoizedFn as t } from "ahooks";
|
4
|
-
import
|
5
|
-
import Q from "../did-connect-container
|
6
|
-
import S from "./auth-apps-info
|
7
|
-
import V from "../../Center
|
8
|
-
import X from "../landing-page
|
9
|
-
import { translate as Y } from "../../Locale/util
|
10
|
-
import { useLocaleContext as Z } from "../../Locale/context
|
11
|
-
import _ from "../../UserCard
|
12
|
-
import { InfoType as $, CardType as P } from "../../UserCard/types
|
13
|
-
import { mergeSx as
|
4
|
+
import c from "lodash/noop";
|
5
|
+
import Q from "../did-connect-container";
|
6
|
+
import S from "./auth-apps-info";
|
7
|
+
import V from "../../Center";
|
8
|
+
import X from "../landing-page";
|
9
|
+
import { translate as Y } from "../../Locale/util";
|
10
|
+
import { useLocaleContext as Z } from "../../Locale/context";
|
11
|
+
import _ from "../../UserCard";
|
12
|
+
import { InfoType as $, CardType as P } from "../../UserCard/types";
|
13
|
+
import { mergeSx as b } from "../../Util/style";
|
14
14
|
const ee = {
|
15
15
|
en: {
|
16
16
|
notThis: "Not this?",
|
@@ -29,57 +29,57 @@ const ee = {
|
|
29
29
|
};
|
30
30
|
function ge({
|
31
31
|
session: a,
|
32
|
-
requestAppInfo:
|
33
|
-
currentAppInfo:
|
34
|
-
children: T,
|
35
|
-
userInfo: s,
|
32
|
+
requestAppInfo: z,
|
33
|
+
currentAppInfo: k,
|
34
|
+
children: T = null,
|
35
|
+
userInfo: s = void 0,
|
36
36
|
hideSwitchConnect: A = !1,
|
37
37
|
hideAuthorize: D = !1,
|
38
38
|
hideCancel: I = !1,
|
39
|
-
notThisText: L,
|
40
|
-
authorizeText: W,
|
41
|
-
connectText: j,
|
42
|
-
cancelText: w,
|
43
|
-
useAnotherText: B,
|
44
|
-
slotProps: e,
|
45
|
-
onConnect: u =
|
46
|
-
onAuthorize: h =
|
47
|
-
onSwitchConnect: m =
|
48
|
-
onCancel: f =
|
39
|
+
notThisText: L = void 0,
|
40
|
+
authorizeText: W = void 0,
|
41
|
+
connectText: j = void 0,
|
42
|
+
cancelText: w = void 0,
|
43
|
+
useAnotherText: B = void 0,
|
44
|
+
slotProps: e = void 0,
|
45
|
+
onConnect: u = c,
|
46
|
+
onAuthorize: h = c,
|
47
|
+
onSwitchConnect: m = c,
|
48
|
+
onCancel: f = c
|
49
49
|
}) {
|
50
|
-
var C, y
|
51
|
-
const
|
50
|
+
var p, C, y;
|
51
|
+
const n = O({
|
52
52
|
loading: !1
|
53
53
|
}), { locale: F = "en" } = Z() || {}, d = t((q, E = {}) => Y(ee, q, F, "en", E)), g = t(() => {
|
54
|
-
|
54
|
+
n.loading = !1;
|
55
55
|
}), M = t(() => {
|
56
|
-
|
56
|
+
n.loading = !0, u == null || u(g);
|
57
57
|
}), R = t(() => {
|
58
|
-
|
58
|
+
n.loading = !0, m == null || m(g);
|
59
59
|
}), U = t(() => {
|
60
|
-
|
60
|
+
n.loading = !0, h == null || h(g);
|
61
61
|
}), N = t(() => {
|
62
62
|
f == null || f();
|
63
63
|
});
|
64
64
|
if (a.loading || !a.initialized)
|
65
|
-
return /* @__PURE__ */
|
66
|
-
const
|
67
|
-
return /* @__PURE__ */
|
65
|
+
return /* @__PURE__ */ i(V, { children: /* @__PURE__ */ i(x, {}) });
|
66
|
+
const o = s ?? (a == null ? void 0 : a.user);
|
67
|
+
return /* @__PURE__ */ i(X, { did: (p = window.blocklet) == null ? void 0 : p.appPid, standalone: !0, children: /* @__PURE__ */ i(
|
68
68
|
l,
|
69
69
|
{
|
70
70
|
...e == null ? void 0 : e.root,
|
71
|
-
sx:
|
71
|
+
sx: b(
|
72
72
|
{
|
73
73
|
width: 420,
|
74
74
|
maxWidth: "100%"
|
75
75
|
},
|
76
|
-
(
|
76
|
+
(C = e == null ? void 0 : e.root) == null ? void 0 : C.sx
|
77
77
|
),
|
78
|
-
children: /* @__PURE__ */
|
78
|
+
children: /* @__PURE__ */ i(Q, { hideCloseButton: !0, ...e == null ? void 0 : e.didConnectContainer, children: /* @__PURE__ */ r(
|
79
79
|
l,
|
80
80
|
{
|
81
81
|
...e == null ? void 0 : e.contentContainer,
|
82
|
-
sx:
|
82
|
+
sx: b(
|
83
83
|
{
|
84
84
|
display: "flex",
|
85
85
|
flexDirection: "column",
|
@@ -95,16 +95,16 @@ function ge({
|
|
95
95
|
},
|
96
96
|
bgcolor: "background.paper"
|
97
97
|
},
|
98
|
-
(
|
98
|
+
(y = e == null ? void 0 : e.contentContainer) == null ? void 0 : y.sx
|
99
99
|
),
|
100
100
|
children: [
|
101
|
-
/* @__PURE__ */
|
102
|
-
|
103
|
-
/* @__PURE__ */
|
104
|
-
/* @__PURE__ */
|
101
|
+
/* @__PURE__ */ i(S, { requestAppInfo: z, currentAppInfo: k }),
|
102
|
+
o ? /* @__PURE__ */ r(G, { children: [
|
103
|
+
/* @__PURE__ */ i(_, { user: o, showDid: !0, cardType: P.Detailed, infoType: $.Minimal }),
|
104
|
+
/* @__PURE__ */ i(l, {})
|
105
105
|
] }) : null,
|
106
106
|
T,
|
107
|
-
/* @__PURE__ */
|
107
|
+
/* @__PURE__ */ i(
|
108
108
|
l,
|
109
109
|
{
|
110
110
|
sx: {
|
@@ -117,8 +117,8 @@ function ge({
|
|
117
117
|
}
|
118
118
|
),
|
119
119
|
/* @__PURE__ */ r(H, { direction: "row", spacing: 2, children: [
|
120
|
-
I ? null : /* @__PURE__ */
|
121
|
-
|
120
|
+
I ? null : /* @__PURE__ */ i(
|
121
|
+
v,
|
122
122
|
{
|
123
123
|
color: "inherit",
|
124
124
|
variant: "outlined",
|
@@ -131,35 +131,35 @@ function ge({
|
|
131
131
|
children: w || d("cancel")
|
132
132
|
}
|
133
133
|
),
|
134
|
-
|
135
|
-
|
134
|
+
o && !D ? /* @__PURE__ */ r(
|
135
|
+
v,
|
136
136
|
{
|
137
137
|
variant: "contained",
|
138
138
|
size: "large",
|
139
139
|
fullWidth: !0,
|
140
140
|
onClick: U,
|
141
|
-
disabled:
|
141
|
+
disabled: n.loading,
|
142
142
|
children: [
|
143
|
-
|
143
|
+
n.loading ? /* @__PURE__ */ i(x, { size: 20, sx: { mr: 1 } }) : null,
|
144
144
|
W || d("authorize")
|
145
145
|
]
|
146
146
|
}
|
147
147
|
) : /* @__PURE__ */ r(
|
148
|
-
|
148
|
+
v,
|
149
149
|
{
|
150
150
|
variant: "contained",
|
151
151
|
size: "large",
|
152
152
|
fullWidth: !0,
|
153
|
-
disabled:
|
153
|
+
disabled: n.loading,
|
154
154
|
onClick: M,
|
155
155
|
children: [
|
156
|
-
|
156
|
+
n.loading ? /* @__PURE__ */ i(x, { size: 20, sx: { mr: 1 } }) : null,
|
157
157
|
j || d("connect")
|
158
158
|
]
|
159
159
|
}
|
160
160
|
)
|
161
161
|
] }),
|
162
|
-
A || !
|
162
|
+
A || !o ? null : /* @__PURE__ */ i(l, { sx: { textAlign: "center" }, children: /* @__PURE__ */ r(
|
163
163
|
J,
|
164
164
|
{
|
165
165
|
variant: "body2",
|
@@ -172,7 +172,7 @@ function ge({
|
|
172
172
|
children: [
|
173
173
|
L || d("notThis"),
|
174
174
|
" ",
|
175
|
-
/* @__PURE__ */
|
175
|
+
/* @__PURE__ */ i(
|
176
176
|
K,
|
177
177
|
{
|
178
178
|
underline: "hover",
|
@@ -1,16 +1,15 @@
|
|
1
|
-
import { jsx as
|
1
|
+
import { jsx as t, jsxs as m } from "react/jsx-runtime";
|
2
2
|
import { memo as J, createElement as U, useRef as X } from "react";
|
3
3
|
import { useBrowser as Y } from "@arcblock/react-hooks";
|
4
|
-
import { Backdrop as Z, useMediaQuery as P,
|
5
|
-
import { useCreation as
|
6
|
-
import
|
7
|
-
import { getDIDMotifInfo as
|
8
|
-
import
|
9
|
-
import "../Theme
|
10
|
-
import "../
|
11
|
-
import {
|
12
|
-
import
|
13
|
-
import h from "./did-connect-footer.js";
|
4
|
+
import { Backdrop as Z, useMediaQuery as P, Box as l, Drawer as ee, SwipeableDrawer as oe, Dialog as re, DialogContent as ne } from "@mui/material";
|
5
|
+
import { useCreation as ae, useDebounce as ie } from "ahooks";
|
6
|
+
import te from "color-convert";
|
7
|
+
import { getDIDMotifInfo as de } from "@arcblock/did-motif";
|
8
|
+
import ce from "lodash/noop";
|
9
|
+
import { useTheme as le } from "../Theme";
|
10
|
+
import { mergeSx as c } from "../Util/style";
|
11
|
+
import { isEthereumDid as ue, getDIDColor as se, hexToRgba as u } from "../Util";
|
12
|
+
import h from "./did-connect-footer";
|
14
13
|
const j = J(({ ref: a, ...f }) => /* @__PURE__ */ U(
|
15
14
|
Z,
|
16
15
|
{
|
@@ -25,36 +24,36 @@ const j = J(({ ref: a, ...f }) => /* @__PURE__ */ U(
|
|
25
24
|
key: "background"
|
26
25
|
}
|
27
26
|
));
|
28
|
-
function
|
27
|
+
function Se({
|
29
28
|
open: a = !1,
|
30
29
|
popup: f = !1,
|
31
30
|
hideCloseButton: w = !1,
|
32
31
|
children: g,
|
33
|
-
appPid: E,
|
34
|
-
slotProps: e,
|
35
|
-
onClose: G =
|
32
|
+
appPid: E = void 0,
|
33
|
+
slotProps: e = void 0,
|
34
|
+
onClose: G = ce,
|
36
35
|
keepMounted: k = !1
|
37
36
|
}) {
|
38
37
|
var y, A, L, _, B, I, z, M;
|
39
|
-
const n =
|
40
|
-
const o = E || window.blocklet.appPid, r = ue(o),
|
41
|
-
return r ? se(o) :
|
38
|
+
const n = ae(() => {
|
39
|
+
const o = E || window.blocklet.appPid, r = ue(o), i = r ? void 0 : de(o);
|
40
|
+
return r ? se(o) : i.color;
|
42
41
|
}, []), C = X(null), N = Y(), O = P("(max-width:640px)");
|
43
42
|
let s = "page";
|
44
43
|
f && (s = "dialog", O && N.mobile.any && (s = "drawer"));
|
45
|
-
const b =
|
44
|
+
const b = le(), T = ((A = (y = b == null ? void 0 : b.transitions) == null ? void 0 : y.duration) == null ? void 0 : A.leavingScreen) || 500, W = ie(a, {
|
46
45
|
wait: T
|
47
46
|
}), D = (o, r) => {
|
48
47
|
["backdropClick", "escapeKeyDown"].includes(r) || G();
|
49
|
-
},
|
48
|
+
}, v = W || a || k, F = w ? ee : oe, H = te.hex.hsl(n), [R, $, d] = H, x = [0, 30, 60, 30, 0, 30, 60, 30], K = Math.max(...x), Q = Math.min(...x);
|
50
49
|
let p = !1;
|
51
50
|
(d * (100 + K) / 100 > 100 || d * (100 + Q) / 100 < 0) && (p = !0);
|
52
51
|
const V = `linear-gradient(45deg, ${x.map((o) => {
|
53
|
-
let r = d * (100 + o) / 100,
|
54
|
-
return p ?
|
52
|
+
let r = d * (100 + o) / 100, i = 0.6;
|
53
|
+
return p ? i = 0.5 * (100 + o) / 100 : r = d * (100 + o) / 100, `hsla(${R}, ${$}%, ${r}%, ${i})`;
|
55
54
|
}).join(", ")})`, q = `linear-gradient(45deg, ${x.map((o) => {
|
56
|
-
let r = d * (100 + o) / 100,
|
57
|
-
return p ?
|
55
|
+
let r = d * (100 + o) / 100, i = 0.2;
|
56
|
+
return p ? i = 0.3 * (100 + o) / 100 : r = d * (100 + o) / 100, `hsla(${R}, ${$}%, ${r}%, ${i})`;
|
58
57
|
}).join(", ")})`, S = a ? {
|
59
58
|
overflow: "visible",
|
60
59
|
"&::before, &::after": {
|
@@ -87,7 +86,7 @@ function ye({
|
|
87
86
|
}
|
88
87
|
}
|
89
88
|
} : {};
|
90
|
-
return s === "page" ? /* @__PURE__ */
|
89
|
+
return s === "page" ? /* @__PURE__ */ t(
|
91
90
|
l,
|
92
91
|
{
|
93
92
|
className: "did-connect__container-page",
|
@@ -115,7 +114,7 @@ function ye({
|
|
115
114
|
},
|
116
115
|
children: [
|
117
116
|
g,
|
118
|
-
/* @__PURE__ */
|
117
|
+
/* @__PURE__ */ t(h, { currentAppColor: n, sx: c({ mx: 0 }, (_ = e == null ? void 0 : e.footer) == null ? void 0 : _.sx) })
|
119
118
|
]
|
120
119
|
}
|
121
120
|
)
|
@@ -163,7 +162,7 @@ function ye({
|
|
163
162
|
)
|
164
163
|
},
|
165
164
|
children: [
|
166
|
-
w ? null : /* @__PURE__ */
|
165
|
+
w ? null : /* @__PURE__ */ t(
|
167
166
|
l,
|
168
167
|
{
|
169
168
|
ref: C,
|
@@ -175,7 +174,7 @@ function ye({
|
|
175
174
|
mb: -2,
|
176
175
|
zIndex: 2
|
177
176
|
},
|
178
|
-
children: /* @__PURE__ */
|
177
|
+
children: /* @__PURE__ */ t(
|
179
178
|
l,
|
180
179
|
{
|
181
180
|
sx: {
|
@@ -199,15 +198,15 @@ function ye({
|
|
199
198
|
backgroundColor: "background.default"
|
200
199
|
},
|
201
200
|
children: [
|
202
|
-
|
203
|
-
/* @__PURE__ */
|
201
|
+
v ? g : null,
|
202
|
+
/* @__PURE__ */ t(h, { currentAppColor: n, sx: c({ mx: 0 }, (I = e == null ? void 0 : e.footer) == null ? void 0 : I.sx) })
|
204
203
|
]
|
205
204
|
}
|
206
205
|
)
|
207
206
|
]
|
208
207
|
}
|
209
|
-
) : /* @__PURE__ */
|
210
|
-
|
208
|
+
) : /* @__PURE__ */ t(
|
209
|
+
re,
|
211
210
|
{
|
212
211
|
open: a,
|
213
212
|
slots: {
|
@@ -231,7 +230,7 @@ function ye({
|
|
231
230
|
)
|
232
231
|
},
|
233
232
|
children: /* @__PURE__ */ m(
|
234
|
-
|
233
|
+
ne,
|
235
234
|
{
|
236
235
|
sx: {
|
237
236
|
maxWidth: "calc(100vw - 18px)",
|
@@ -243,8 +242,8 @@ function ye({
|
|
243
242
|
backgroundColor: "background.default"
|
244
243
|
},
|
245
244
|
children: [
|
246
|
-
|
247
|
-
/* @__PURE__ */
|
245
|
+
v ? g : null,
|
246
|
+
/* @__PURE__ */ t(h, { currentAppColor: n, sx: c({ mx: 0 }, (M = e == null ? void 0 : e.footer) == null ? void 0 : M.sx) })
|
248
247
|
]
|
249
248
|
}
|
250
249
|
)
|
@@ -252,5 +251,5 @@ function ye({
|
|
252
251
|
);
|
253
252
|
}
|
254
253
|
export {
|
255
|
-
|
254
|
+
Se as default
|
256
255
|
};
|
@@ -3,16 +3,16 @@ import { Box as a } from "@mui/material";
|
|
3
3
|
import { useSize as c, useCreation as d } from "ahooks";
|
4
4
|
import { useRef as x } from "react";
|
5
5
|
import u from "@arcblock/react-hooks/lib/useBrowser";
|
6
|
-
import b from "./powered-by
|
7
|
-
import h from "./app-info-item
|
8
|
-
import w from "./app-icon
|
9
|
-
import { hexToRgba as g, getDIDColor as I } from "../Util
|
10
|
-
import { mergeSx as C } from "../Util/style
|
11
|
-
import { DID_CONNECT_MEDIUM_WIDTH as D } from "../Util/constant
|
6
|
+
import b from "./powered-by";
|
7
|
+
import h from "./app-info-item";
|
8
|
+
import w from "./app-icon";
|
9
|
+
import { hexToRgba as g, getDIDColor as I } from "../Util";
|
10
|
+
import { mergeSx as C } from "../Util/style";
|
11
|
+
import { DID_CONNECT_MEDIUM_WIDTH as D } from "../Util/constant";
|
12
12
|
function z({
|
13
13
|
currentAppInfo: r = globalThis.blocklet,
|
14
14
|
currentAppColor: n = ((s) => (s = globalThis.blocklet) == null ? void 0 : s.appPid)() ? I(((f) => (f = globalThis.blocklet) == null ? void 0 : f.appPid)()) : "#fff",
|
15
|
-
sx: l
|
15
|
+
sx: l = {}
|
16
16
|
}) {
|
17
17
|
const p = u(), t = x(null), o = c(t), i = d(() => o ? o.width < D - 50 : !0, [o, o == null ? void 0 : o.width]);
|
18
18
|
return /* @__PURE__ */ m(
|
package/lib/DIDConnect/index.js
CHANGED
@@ -1,13 +1,13 @@
|
|
1
|
-
import { default as t } from "./did-connect-footer
|
2
|
-
import { default as a } from "./app-info-item
|
3
|
-
import { default as p } from "./app-icon
|
4
|
-
import { default as m } from "./powered-by
|
5
|
-
import { default as u } from "./with-container
|
6
|
-
import { default as l } from "./with-ux-theme
|
7
|
-
import { default as D } from "./did-connect-logo
|
8
|
-
import { default as i } from "./did-connect-container
|
9
|
-
import { default as I } from "./request-storage-access-api-dialog
|
10
|
-
import { default as h } from "./auth-apps
|
1
|
+
import { default as t } from "./did-connect-footer";
|
2
|
+
import { default as a } from "./app-info-item";
|
3
|
+
import { default as p } from "./app-icon";
|
4
|
+
import { default as m } from "./powered-by";
|
5
|
+
import { default as u } from "./with-container";
|
6
|
+
import { default as l } from "./with-ux-theme";
|
7
|
+
import { default as D } from "./did-connect-logo";
|
8
|
+
import { default as i } from "./did-connect-container";
|
9
|
+
import { default as I } from "./request-storage-access-api-dialog";
|
10
|
+
import { default as h } from "./auth-apps";
|
11
11
|
export {
|
12
12
|
p as AppIcon,
|
13
13
|
a as AppInfoItem,
|
@@ -1,48 +1,47 @@
|
|
1
1
|
import { jsx as t, jsxs as x } from "react/jsx-runtime";
|
2
|
-
import {
|
3
|
-
import { isEthereumDid as
|
2
|
+
import { useMediaQuery as C, Box as e, Typography as j } from "@mui/material";
|
3
|
+
import { isEthereumDid as A } from "@arcblock/did";
|
4
4
|
import { getDIDMotifInfo as P } from "@arcblock/did-motif";
|
5
5
|
import { useCreation as T } from "ahooks";
|
6
|
-
import "../Theme
|
7
|
-
import "../
|
8
|
-
import
|
9
|
-
import
|
10
|
-
import
|
11
|
-
|
12
|
-
|
13
|
-
did: a,
|
6
|
+
import { useTheme as B } from "../Theme";
|
7
|
+
import M from "../PoweredByArcBlock";
|
8
|
+
import b from "../Avatar";
|
9
|
+
import { getDIDColor as z, hexToRgba as E } from "../Util";
|
10
|
+
import L from "../hooks/use-blocklet-logo";
|
11
|
+
function J({
|
12
|
+
did: l,
|
14
13
|
children: n,
|
15
|
-
title:
|
16
|
-
description: s,
|
17
|
-
actions: h,
|
18
|
-
logo:
|
19
|
-
logoSize:
|
20
|
-
poweredBy:
|
21
|
-
termsOfUse: u,
|
22
|
-
standalone:
|
14
|
+
title: a = void 0,
|
15
|
+
description: s = void 0,
|
16
|
+
actions: h = void 0,
|
17
|
+
logo: i = void 0,
|
18
|
+
logoSize: d = 50,
|
19
|
+
poweredBy: m = void 0,
|
20
|
+
termsOfUse: u = void 0,
|
21
|
+
standalone: y = !1
|
23
22
|
}) {
|
24
|
-
const
|
25
|
-
meta:
|
23
|
+
const o = (globalThis == null ? void 0 : globalThis.blocklet) || (globalThis == null ? void 0 : globalThis.env) || {}, { palette: g } = B(), c = C((r) => r.breakpoints.down("lg")), I = L({
|
24
|
+
meta: o
|
26
25
|
}), D = T(() => {
|
27
|
-
const
|
28
|
-
return
|
29
|
-
}, [
|
30
|
-
if (!
|
26
|
+
const r = o.appPid, v = A(r), w = v ? void 0 : P(r);
|
27
|
+
return v ? z(r) : w.color;
|
28
|
+
}, [o == null ? void 0 : o.appPid]);
|
29
|
+
if (!l)
|
31
30
|
return n;
|
32
|
-
|
31
|
+
a === void 0 && (a = o.appName), s === void 0 && (s = o.appDescription), i === void 0 && (i = I || ""), typeof i == "string" && (i ? i = /* @__PURE__ */ t(
|
33
32
|
e,
|
34
33
|
{
|
35
34
|
sx: {
|
36
|
-
height:
|
37
|
-
maxHeight:
|
35
|
+
height: d,
|
36
|
+
maxHeight: d,
|
38
37
|
objectFit: "contain"
|
39
38
|
},
|
40
39
|
component: "img",
|
41
|
-
src:
|
42
|
-
alt: `${
|
40
|
+
src: i,
|
41
|
+
alt: `${o.appName}'s logo`
|
43
42
|
}
|
44
|
-
) :
|
45
|
-
|
43
|
+
) : i = /* @__PURE__ */ t(b, { size: d, did: l, src: i, variant: "rounded" })), m === void 0 && (m = /* @__PURE__ */ t(
|
44
|
+
M,
|
46
45
|
{
|
47
46
|
linkProps: {
|
48
47
|
color: g.text.secondary,
|
@@ -52,7 +51,7 @@ function K({
|
|
52
51
|
}
|
53
52
|
}
|
54
53
|
},
|
55
|
-
showExtra: !
|
54
|
+
showExtra: !c,
|
56
55
|
sx: {
|
57
56
|
textAlign: "center",
|
58
57
|
fontSize: "12px",
|
@@ -60,20 +59,20 @@ function K({
|
|
60
59
|
}
|
61
60
|
}
|
62
61
|
));
|
63
|
-
let
|
64
|
-
!n && !
|
62
|
+
let f = n;
|
63
|
+
!n && !c && (f = /* @__PURE__ */ t(
|
65
64
|
e,
|
66
65
|
{
|
67
66
|
sx: {
|
68
67
|
filter: "blur(180px)",
|
69
68
|
display: "flex"
|
70
69
|
},
|
71
|
-
children: /* @__PURE__ */ t(
|
70
|
+
children: /* @__PURE__ */ t(b, { size: 210, did: l, variant: "rounded" })
|
72
71
|
}
|
73
72
|
));
|
74
73
|
const k = !!n;
|
75
|
-
let
|
76
|
-
return
|
74
|
+
let p = !y;
|
75
|
+
return c && (p = !k), /* @__PURE__ */ x(
|
77
76
|
e,
|
78
77
|
{
|
79
78
|
sx: {
|
@@ -96,7 +95,7 @@ function K({
|
|
96
95
|
xs: 5,
|
97
96
|
md: 8
|
98
97
|
},
|
99
|
-
background: `radial-gradient(circle at bottom right, ${
|
98
|
+
background: `radial-gradient(circle at bottom right, ${E(D, 0.3)} 10%, ${g.background.default} 50%)`,
|
100
99
|
position: "relative"
|
101
100
|
},
|
102
101
|
children: [
|
@@ -107,12 +106,12 @@ function K({
|
|
107
106
|
maxWidth: 1200,
|
108
107
|
display: "flex",
|
109
108
|
alignItems: "center",
|
110
|
-
justifyContent: [
|
109
|
+
justifyContent: [p, f].filter(Boolean).length > 1 ? "space-between" : "center",
|
111
110
|
width: "100%",
|
112
111
|
margin: "auto"
|
113
112
|
},
|
114
113
|
children: [
|
115
|
-
|
114
|
+
p ? /* @__PURE__ */ x(
|
116
115
|
e,
|
117
116
|
{
|
118
117
|
sx: {
|
@@ -121,9 +120,9 @@ function K({
|
|
121
120
|
gap: 1.5
|
122
121
|
},
|
123
122
|
children: [
|
124
|
-
/* @__PURE__ */ t(e, { sx: { display: "flex", alignItems: "center" }, children:
|
123
|
+
/* @__PURE__ */ t(e, { sx: { display: "flex", alignItems: "center" }, children: i }),
|
125
124
|
/* @__PURE__ */ t(
|
126
|
-
|
125
|
+
j,
|
127
126
|
{
|
128
127
|
variant: "h2",
|
129
128
|
sx: {
|
@@ -134,7 +133,7 @@ function K({
|
|
134
133
|
xl: "3.5rem"
|
135
134
|
}
|
136
135
|
},
|
137
|
-
children:
|
136
|
+
children: a
|
138
137
|
}
|
139
138
|
),
|
140
139
|
s ? /* @__PURE__ */ t(
|
@@ -152,7 +151,7 @@ function K({
|
|
152
151
|
]
|
153
152
|
}
|
154
153
|
) : null,
|
155
|
-
|
154
|
+
f
|
156
155
|
]
|
157
156
|
}
|
158
157
|
),
|
@@ -167,7 +166,7 @@ function K({
|
|
167
166
|
right: 10,
|
168
167
|
textAlign: "center"
|
169
168
|
},
|
170
|
-
children:
|
169
|
+
children: m
|
171
170
|
}
|
172
171
|
)
|
173
172
|
]
|
@@ -175,5 +174,5 @@ function K({
|
|
175
174
|
);
|
176
175
|
}
|
177
176
|
export {
|
178
|
-
|
177
|
+
J as default
|
179
178
|
};
|
@@ -2,8 +2,8 @@ import { jsxs as r, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { useTheme as i, Box as n } from "@mui/material";
|
3
3
|
import { Icon as c } from "@iconify/react";
|
4
4
|
import a from "@iconify-icons/mdi/shield-check";
|
5
|
-
import l from "./did-connect-logo
|
6
|
-
import { mergeSx as m } from "../Util/style
|
5
|
+
import l from "./did-connect-logo";
|
6
|
+
import { mergeSx as m } from "../Util/style";
|
7
7
|
function u({ ...e }) {
|
8
8
|
const { palette: t } = i();
|
9
9
|
return /* @__PURE__ */ r(
|