@arcblock/ux 2.9.90 → 2.10.0
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/ActionButton/index.js +36 -48
- package/lib/ActivityIndicator/index.js +122 -75
- package/lib/Address/compact-text.js +48 -66
- package/lib/Address/did-address.js +114 -87
- package/lib/Address/index.js +15 -27
- package/lib/Address/responsive-did-address.js +48 -50
- package/lib/Alert/index.js +58 -52
- package/lib/AnimationWaiter/index.js +123 -69
- package/lib/Async/index.js +8 -22
- package/lib/Avatar/did-motif.js +38 -52
- package/lib/Avatar/etherscan-blockies.js +4 -10
- package/lib/Avatar/index.js +71 -77
- package/lib/Badge/index.js +49 -56
- package/lib/Blocklet/blocklet.js +181 -97
- package/lib/Blocklet/index.js +4 -24
- package/lib/Blocklet/utils.js +50 -13
- package/lib/BlockletContext/index.js +21 -31
- package/lib/BlockletNFT/index.js +255 -115
- package/lib/Button/index.js +5 -11
- package/lib/Button/wrap.js +45 -56
- package/lib/ButtonGroup/index.js +3 -9
- package/lib/CardSelector/index.js +67 -43
- package/lib/Center/index.js +19 -20
- package/lib/ClickToCopy/copy-button.js +37 -50
- package/lib/ClickToCopy/hook.js +10 -18
- package/lib/ClickToCopy/index.js +54 -66
- package/lib/CodeBlock/LightBox.js +84 -11
- package/lib/CodeBlock/index.js +175 -101
- package/lib/Colors/index.js +3 -20
- package/lib/Colors/themes/default.js +1 -7
- package/lib/Colors/themes/temp.js +1 -7
- package/lib/ContactForm/index.js +95 -60
- package/lib/CookieConsent/index.js +58 -52
- package/lib/CountDown/index.js +90 -59
- package/lib/DID/index.js +80 -96
- package/lib/Datatable/CustomToolbar.js +188 -137
- package/lib/Datatable/DatatableContext.js +14 -21
- package/lib/Datatable/TableSearch.js +99 -58
- package/lib/Datatable/index.js +312 -139
- package/lib/Datatable/utils.js +9 -17
- package/lib/Dialog/confirm.js +46 -58
- package/lib/Dialog/dialog.js +110 -66
- package/lib/Dialog/index.js +4 -27
- package/lib/Dialog/use-confirm.js +40 -65
- package/lib/DidLogo/index.js +14 -22
- package/lib/DriftBot/index.js +34 -19
- package/lib/Earth/index.js +214 -110
- package/lib/Earth/util.js +6 -19
- package/lib/Empty/index.js +33 -38
- package/lib/ErrorBoundary/fallback.js +45 -43
- package/lib/ErrorBoundary/index.js +1 -16
- package/lib/Footer/index.js +96 -48
- package/lib/Header/auto-hidden.js +28 -31
- package/lib/Header/header.js +151 -69
- package/lib/Header/index.js +2 -20
- package/lib/Header/responsive-header.js +67 -60
- package/lib/Icon/image.js +41 -45
- package/lib/Icon/index.js +51 -53
- package/lib/Img/index.js +77 -88
- package/lib/InfoRow/index.js +66 -48
- package/lib/Layout/dashboard/external-link.js +38 -53
- package/lib/Layout/dashboard/full-page.js +27 -41
- package/lib/Layout/dashboard/index.js +177 -132
- package/lib/Layout/dashboard/sidebar.js +164 -61
- package/lib/Layout/dashboard-legacy/header.js +119 -66
- package/lib/Layout/dashboard-legacy/index.js +90 -79
- package/lib/Layout/dashboard-legacy/sidebar.js +95 -62
- package/lib/Layout/index.js +200 -106
- package/lib/LoadingMask/index.js +31 -38
- package/lib/Locale/browser-lang.js +2 -8
- package/lib/Locale/context.js +46 -69
- package/lib/Locale/languages.js +6 -15
- package/lib/Locale/selector.js +116 -92
- package/lib/Locale/util.js +7 -16
- package/lib/Logo/index.js +54 -57
- package/lib/Metric/index.js +103 -40
- package/lib/NFTDisplay/aspect-ratio-container.js +33 -40
- package/lib/NFTDisplay/broken.js +68 -52
- package/lib/NFTDisplay/index.js +140 -129
- package/lib/NFTDisplay/loading.js +14 -13
- package/lib/NFTDisplay/svg-embedder/img.js +18 -33
- package/lib/NFTDisplay/svg-embedder/inline-svg.js +28 -32
- package/lib/NavMenu/index.js +2 -13
- package/lib/NavMenu/nav-menu.js +133 -148
- package/lib/NavMenu/style.js +179 -12
- package/lib/PageScroller/index.js +82 -93
- package/lib/PageScroller/story/FifthComponent.js +4 -10
- package/lib/PageScroller/story/FirstComponent.js +4 -10
- package/lib/PageScroller/story/FourthComponent.js +4 -10
- package/lib/PageScroller/story/FullPage.js +21 -28
- package/lib/PageScroller/story/PageContain.js +23 -30
- package/lib/PageScroller/story/SecondComponent.js +4 -10
- package/lib/PageScroller/story/ThirdComponent.js +4 -10
- package/lib/PageScroller/usePrevValue.js +4 -11
- package/lib/Passport/index.js +2 -9
- package/lib/Passport/passport.js +38 -51
- package/lib/PoweredByArcBlock/index.js +19 -33
- package/lib/PricingTable/PricingPlan.js +90 -34
- package/lib/PricingTable/index.js +28 -26
- package/lib/QRCode/index.js +38 -50
- package/lib/RelativeTime/index.js +44 -59
- package/lib/Result/common.js +85 -107
- package/lib/Result/index.js +22 -34
- package/lib/Result/result.js +35 -41
- package/lib/Result/translations.js +1 -7
- package/lib/Screenshot/BaseScreenshot/index.js +65 -43
- package/lib/Screenshot/BaseScreenshot/shells/Macbook.js +17 -27
- package/lib/Screenshot/BaseScreenshot/shells/Phone.js +14 -25
- package/lib/Screenshot/index.js +103 -92
- package/lib/SessionBlocklet/index.js +125 -143
- package/lib/SessionManager/index.js +2 -9
- package/lib/SessionPermission/index.js +13 -23
- package/lib/SessionUser/components/logged-in.js +139 -158
- package/lib/SessionUser/components/session-user-item.js +44 -58
- package/lib/SessionUser/components/session-user-switch.js +133 -152
- package/lib/SessionUser/components/un-login.js +27 -35
- package/lib/SessionUser/components/user-info.js +62 -74
- package/lib/SessionUser/index.js +26 -34
- package/lib/SessionUser/libs/translation.js +1 -7
- package/lib/SessionUser/libs/utils.js +13 -34
- package/lib/Sparkline/index.js +4 -10
- package/lib/Spinner/index.js +11 -17
- package/lib/SplitButton/index.js +72 -68
- package/lib/Success/index.js +28 -34
- package/lib/Switch/index.js +64 -75
- package/lib/Tabs/index.js +84 -103
- package/lib/Tag/index.js +52 -56
- package/lib/TextCollapse/index.js +57 -50
- package/lib/Theme/index.js +8 -47
- package/lib/Theme/theme-provider.js +19 -26
- package/lib/Theme/theme.js +49 -62
- package/lib/Toast/index.js +41 -73
- package/lib/Typography/index.js +44 -55
- package/lib/Util/constant.js +16 -22
- package/lib/Util/deprecate.js +14 -26
- package/lib/Util/federated.js +16 -38
- package/lib/Util/index.js +63 -113
- package/lib/Util/passport.js +23 -33
- package/lib/Util/wallet.js +5 -14
- package/lib/Video/index.js +34 -34
- package/lib/Wallet/Action.js +72 -49
- package/lib/Wallet/Download.js +132 -115
- package/lib/Wallet/Open.js +26 -25
- package/lib/WalletOSIcon/index.js +33 -42
- package/lib/WebWalletSWKeeper/index.js +42 -55
- package/lib/WechatPrompt/index.js +53 -33
- package/lib/index.js +38 -265
- package/lib/withTheme/index.js +53 -33
- package/lib/withTracker/error_boundary.js +7 -18
- package/lib/withTracker/index.js +25 -34
- package/package.json +9 -316
- package/src/WalletOSIcon/index.jsx +1 -1
- package/es/ActionButton/index.js +0 -99
- package/es/ActivityIndicator/index.js +0 -180
- package/es/Address/compact-text.js +0 -105
- package/es/Address/did-address.js +0 -222
- package/es/Address/index.js +0 -23
- package/es/Address/responsive-did-address.js +0 -87
- package/es/Alert/index.js +0 -134
- package/es/AnimationWaiter/default-animation.json +0 -1
- package/es/AnimationWaiter/index.js +0 -240
- package/es/Async/index.js +0 -38
- package/es/Avatar/did-motif.js +0 -68
- package/es/Avatar/etherscan-blockies.js +0 -83
- package/es/Avatar/index.js +0 -179
- package/es/Badge/index.js +0 -98
- package/es/Blocklet/blocklet.js +0 -298
- package/es/Blocklet/index.js +0 -4
- package/es/Blocklet/utils.js +0 -52
- package/es/BlockletContext/index.js +0 -65
- package/es/BlockletNFT/index.js +0 -412
- package/es/Button/index.js +0 -8
- package/es/Button/wrap.js +0 -140
- package/es/ButtonGroup/index.js +0 -6
- package/es/CardSelector/index.js +0 -149
- package/es/Center/index.js +0 -41
- package/es/ClickToCopy/copy-button.js +0 -72
- package/es/ClickToCopy/hook.js +0 -39
- package/es/ClickToCopy/index.js +0 -92
- package/es/CodeBlock/LightBox.js +0 -85
- package/es/CodeBlock/index.js +0 -222
- package/es/Colors/index.js +0 -3
- package/es/Colors/themes/default.js +0 -77
- package/es/Colors/themes/temp.js +0 -41
- package/es/ContactForm/index.js +0 -230
- package/es/CookieConsent/index.js +0 -113
- package/es/CountDown/index.js +0 -178
- package/es/DID/index.js +0 -249
- package/es/Datatable/CustomToolbar.js +0 -396
- package/es/Datatable/DatatableContext.js +0 -34
- package/es/Datatable/TableSearch.js +0 -166
- package/es/Datatable/index.js +0 -629
- package/es/Datatable/utils.js +0 -132
- package/es/Dialog/confirm.js +0 -123
- package/es/Dialog/dialog.js +0 -201
- package/es/Dialog/index.js +0 -4
- package/es/Dialog/types.d.ts +0 -17
- package/es/Dialog/use-confirm.js +0 -133
- package/es/DidLogo/index.js +0 -31
- package/es/DriftBot/index.js +0 -70
- package/es/Earth/countries.json +0 -8057
- package/es/Earth/index.js +0 -521
- package/es/Earth/util.js +0 -51
- package/es/Empty/index.js +0 -65
- package/es/ErrorBoundary/fallback.js +0 -73
- package/es/ErrorBoundary/index.js +0 -1
- package/es/Footer/index.js +0 -172
- package/es/Header/auto-hidden.js +0 -35
- package/es/Header/header.js +0 -223
- package/es/Header/index.js +0 -2
- package/es/Header/responsive-header.js +0 -146
- package/es/Icon/image.js +0 -65
- package/es/Icon/index.js +0 -84
- package/es/Img/index.js +0 -218
- package/es/InfoRow/index.js +0 -87
- package/es/Layout/dashboard/external-link.js +0 -58
- package/es/Layout/dashboard/full-page.js +0 -53
- package/es/Layout/dashboard/index.js +0 -282
- package/es/Layout/dashboard/sidebar.js +0 -209
- package/es/Layout/dashboard-legacy/header.js +0 -174
- package/es/Layout/dashboard-legacy/index.js +0 -148
- package/es/Layout/dashboard-legacy/sidebar.js +0 -129
- package/es/Layout/index.js +0 -335
- package/es/LoadingMask/index.js +0 -102
- package/es/Locale/browser-lang.js +0 -52
- package/es/Locale/context.js +0 -139
- package/es/Locale/languages.js +0 -60
- package/es/Locale/selector.js +0 -186
- package/es/Locale/util.js +0 -21
- package/es/Logo/images/logo-dark-text.svg +0 -3
- package/es/Logo/images/logo-dark-top.svg +0 -6
- package/es/Logo/images/logo-light-text.svg +0 -3
- package/es/Logo/images/logo-light-top.svg +0 -6
- package/es/Logo/index.js +0 -136
- package/es/Metric/index.js +0 -132
- package/es/NFTDisplay/NFTBroken.svg +0 -34
- package/es/NFTDisplay/README.md +0 -59
- package/es/NFTDisplay/aspect-ratio-container.js +0 -39
- package/es/NFTDisplay/broken.js +0 -132
- package/es/NFTDisplay/demo/data/asset-state-display-url.json +0 -7
- package/es/NFTDisplay/demo/data/asset-state-gzipped-svg-1-1.json +0 -10
- package/es/NFTDisplay/demo/data/asset-state-gzipped-svg-374-130.json +0 -10
- package/es/NFTDisplay/demo/data/asset-state-gzipped-svg-with-foreign-object.json +0 -20
- package/es/NFTDisplay/demo/data/asset-state-svg.json +0 -29
- package/es/NFTDisplay/demo/data/asset-state-url.json +0 -10
- package/es/NFTDisplay/index.js +0 -328
- package/es/NFTDisplay/loading.js +0 -18
- package/es/NFTDisplay/svg-embedder/img.js +0 -45
- package/es/NFTDisplay/svg-embedder/inline-svg.js +0 -39
- package/es/NavMenu/index.js +0 -2
- package/es/NavMenu/nav-menu.js +0 -358
- package/es/NavMenu/style.js +0 -181
- package/es/PageScroller/index.js +0 -286
- package/es/PageScroller/story/FifthComponent.js +0 -9
- package/es/PageScroller/story/FirstComponent.js +0 -9
- package/es/PageScroller/story/FourthComponent.js +0 -12
- package/es/PageScroller/story/FullPage.js +0 -47
- package/es/PageScroller/story/PageContain.js +0 -59
- package/es/PageScroller/story/SecondComponent.js +0 -9
- package/es/PageScroller/story/ThirdComponent.js +0 -9
- package/es/PageScroller/story/index.css +0 -115
- package/es/PageScroller/usePrevValue.js +0 -9
- package/es/Passport/index.js +0 -2
- package/es/Passport/passport.js +0 -103
- package/es/PoweredByArcBlock/index.js +0 -31
- package/es/PricingTable/PricingPlan.js +0 -124
- package/es/PricingTable/index.js +0 -53
- package/es/QRCode/index.js +0 -73
- package/es/RelativeTime/index.js +0 -107
- package/es/Result/common.js +0 -140
- package/es/Result/demo/fixtures/result-image-404.svg +0 -1
- package/es/Result/index.js +0 -33
- package/es/Result/result.js +0 -59
- package/es/Result/translations.js +0 -54
- package/es/Screenshot/BaseScreenshot/index.js +0 -91
- package/es/Screenshot/BaseScreenshot/shells/Macbook.js +0 -51
- package/es/Screenshot/BaseScreenshot/shells/Phone.js +0 -36
- package/es/Screenshot/demo/images/bg-00.jpg +0 -0
- package/es/Screenshot/demo/images/bg-01.jpg +0 -0
- package/es/Screenshot/demo/images/bg-02.jpg +0 -0
- package/es/Screenshot/demo/images/bg-03.jpg +0 -0
- package/es/Screenshot/demo/images/bg-04.jpg +0 -0
- package/es/Screenshot/demo/images/bg-05.jpg +0 -0
- package/es/Screenshot/demo/images/bg-06.jpg +0 -0
- package/es/Screenshot/demo/images/bg-07.jpg +0 -0
- package/es/Screenshot/demo/images/bg-08.jpg +0 -0
- package/es/Screenshot/demo/images/bg-09.jpg +0 -0
- package/es/Screenshot/devices.css +0 -1366
- package/es/Screenshot/index.js +0 -299
- package/es/SessionBlocklet/index.js +0 -173
- package/es/SessionManager/index.js +0 -2
- package/es/SessionPermission/index.js +0 -28
- package/es/SessionUser/components/logged-in.js +0 -229
- package/es/SessionUser/components/session-user-item.js +0 -102
- package/es/SessionUser/components/session-user-switch.js +0 -223
- package/es/SessionUser/components/un-login.js +0 -64
- package/es/SessionUser/components/user-info.js +0 -167
- package/es/SessionUser/index.js +0 -49
- package/es/SessionUser/libs/translation.js +0 -19
- package/es/SessionUser/libs/utils.js +0 -29
- package/es/Sparkline/index.js +0 -193
- package/es/Spinner/index.js +0 -28
- package/es/SplitButton/index.js +0 -145
- package/es/Success/index.js +0 -175
- package/es/Switch/index.js +0 -96
- package/es/Tabs/index.js +0 -214
- package/es/Tag/index.js +0 -108
- package/es/TextCollapse/index.js +0 -92
- package/es/Theme/index.js +0 -16
- package/es/Theme/theme-provider.js +0 -39
- package/es/Theme/theme.js +0 -145
- package/es/Toast/index.js +0 -97
- package/es/Typography/index.js +0 -95
- package/es/Util/constant.js +0 -42
- package/es/Util/deprecate.js +0 -28
- package/es/Util/federated.js +0 -91
- package/es/Util/index.js +0 -363
- package/es/Util/passport.js +0 -62
- package/es/Util/wallet.js +0 -32
- package/es/Video/index.js +0 -89
- package/es/Wallet/Action.js +0 -119
- package/es/Wallet/Download.js +0 -331
- package/es/Wallet/Open.js +0 -45
- package/es/Wallet/images/abtwallet.png +0 -0
- package/es/Wallet/images/android_download.svg +0 -23
- package/es/Wallet/images/app-store.svg +0 -20
- package/es/Wallet/images/google-play.svg +0 -70
- package/es/WalletOSIcon/index.js +0 -82
- package/es/WebWalletSWKeeper/index.js +0 -117
- package/es/WechatPrompt/images/android.png +0 -0
- package/es/WechatPrompt/images/ios.png +0 -0
- package/es/WechatPrompt/index.js +0 -88
- package/es/index.js +0 -38
- package/es/withTheme/index.js +0 -69
- package/es/withTracker/README.md +0 -34
- package/es/withTracker/error_boundary.js +0 -34
- package/es/withTracker/index.js +0 -55
package/es/Wallet/Download.js
DELETED
@@ -1,331 +0,0 @@
|
|
1
|
-
import React from "react";
|
2
|
-
import PropTypes from 'prop-types';
|
3
|
-
import Typography from '@mui/material/Typography';
|
4
|
-
import useBrowser from '@arcblock/react-hooks/lib/useBrowser';
|
5
|
-
var AppStoreIcon = function AppStoreIcon(props) {
|
6
|
-
return /*#__PURE__*/_jsxs("svg", {
|
7
|
-
...props,
|
8
|
-
children: [/*#__PURE__*/_jsx("title", {
|
9
|
-
children: "Appstore"
|
10
|
-
}), /*#__PURE__*/_jsxs("g", {
|
11
|
-
fill: "none",
|
12
|
-
fillRule: "evenodd",
|
13
|
-
children: [/*#__PURE__*/_jsx("path", {
|
14
|
-
d: "M.198 3.792v42.064a3.594 3.594 0 0 0 3.595 3.594h164.414a3.594 3.594 0 0 0 3.595-3.594V3.792a3.594 3.594 0 0 0-3.595-3.594H3.793A3.594 3.594 0 0 0 .198 3.792z",
|
15
|
-
fill: "#000",
|
16
|
-
fillRule: "nonzero"
|
17
|
-
}), /*#__PURE__*/_jsx("path", {
|
18
|
-
d: "M65.788 38.665h2.924l-6.402-17.73H59.35l-6.402 17.73h2.826l1.634-4.706h6.759l1.622 4.706zm-5.1-14.512h.21l2.567 7.496h-5.357l2.58-7.496zm15.778.91c-1.818 0-3.391.91-4.202 2.433h-.197v-2.212h-2.543v17.719h2.642v-6.365h.209c.7 1.413 2.211 2.248 4.116 2.248 3.38 0 5.53-2.666 5.53-6.918 0-4.251-2.15-6.905-5.555-6.905zm-.75 11.452c-2.21 0-3.6-1.745-3.6-4.534 0-2.802 1.39-4.547 3.613-4.547 2.237 0 3.576 1.708 3.576 4.534 0 2.839-1.34 4.547-3.588 4.547zm14.452-11.452c-1.819 0-3.391.91-4.202 2.433h-.197v-2.212h-2.544v17.719h2.642v-6.365h.21c.7 1.413 2.211 2.248 4.116 2.248 3.379 0 5.529-2.666 5.529-6.918 0-4.251-2.15-6.905-5.554-6.905zm-.75 11.452c-2.211 0-3.6-1.745-3.6-4.534 0-2.802 1.389-4.547 3.613-4.547 2.236 0 3.575 1.708 3.575 4.534 0 2.839-1.339 4.547-3.588 4.547zm11.896-2.617c.197 3.17 2.839 5.197 6.771 5.197 4.202 0 6.832-2.125 6.832-5.517 0-2.666-1.5-4.14-5.136-4.989l-1.954-.479c-2.31-.54-3.244-1.266-3.244-2.531 0-1.598 1.45-2.642 3.625-2.642 2.064 0 3.49 1.02 3.748 2.654h2.678c-.16-2.986-2.789-5.087-6.39-5.087-3.87 0-6.45 2.101-6.45 5.26 0 2.604 1.462 4.152 4.669 4.902l2.286.553c2.346.553 3.379 1.364 3.379 2.716 0 1.572-1.622 2.715-3.834 2.715-2.372 0-4.018-1.069-4.252-2.752h-2.728zm15.877-11.858v3.305h-2.2v2.224h2.2v7.557c0 2.58 1.167 3.613 4.104 3.613.516 0 .995-.061 1.413-.135v-2.2c-.368.037-.577.062-.983.062-1.315 0-1.892-.615-1.892-2.015v-6.882h2.998v-2.224h-2.998V22.04h-2.642zm12.19 14.536c-2.298 0-3.588-1.683-3.588-4.608 0-2.9 1.29-4.595 3.588-4.595 2.286 0 3.588 1.696 3.588 4.595 0 2.913-1.302 4.608-3.588 4.608zm0 2.347c3.908 0 6.304-2.617 6.304-6.955 0-4.313-2.409-6.942-6.304-6.942-3.907 0-6.316 2.63-6.316 6.942 0 4.338 2.396 6.955 6.316 6.955zm7.509-.258h2.642v-7.9c0-1.88 1.413-3.146 3.403-3.146.443 0 1.254.086 1.463.16v-2.606c-.283-.073-.787-.11-1.168-.11-1.745 0-3.22.958-3.6 2.273h-.197v-2.052h-2.543v13.381zm13.456-11.39c1.953 0 3.231 1.363 3.293 3.465h-6.759c.148-2.09 1.512-3.465 3.466-3.465zm3.28 7.778c-.491 1.044-1.585 1.622-3.182 1.622-2.114 0-3.478-1.487-3.564-3.834v-.148h9.45v-.921c0-4.203-2.249-6.746-5.972-6.746-3.773 0-6.169 2.715-6.169 6.992 0 4.276 2.347 6.905 6.181 6.905 3.06 0 5.198-1.474 5.8-3.87h-2.544zM55.423 7.094v8.443h3.048c2.516 0 3.973-1.55 3.973-4.248 0-2.656-1.468-4.195-3.973-4.195h-3.048zm1.31 1.193h1.592c1.75 0 2.785 1.112 2.785 3.02 0 1.936-1.018 3.037-2.785 3.037h-1.592V8.287zm10.323 6.255c-1.094 0-1.708-.801-1.708-2.194 0-1.38.614-2.188 1.708-2.188 1.089 0 1.709.807 1.709 2.188 0 1.387-.62 2.194-1.709 2.194zm0 1.118c1.861 0 3.002-1.246 3.002-3.312 0-2.054-1.147-3.306-3.002-3.306-1.86 0-3.007 1.252-3.007 3.306 0 2.066 1.14 3.312 3.007 3.312zM79.92 9.165H78.66l-1.136 4.863h-.099l-1.31-4.863H74.91l-1.31 4.863h-.094l-1.141-4.863h-1.276l1.755 6.372h1.294l1.31-4.693h.1l1.316 4.693h1.305l1.75-6.372zm1.598 6.372h1.258V11.81c0-.995.62-1.615 1.633-1.615.936 0 1.392.509 1.392 1.533v3.81h1.258v-4.126c0-1.515-.801-2.37-2.223-2.37-.96 0-1.703.427-2.013 1.135h-.094V9.165h-1.21v6.372zm7.667 0h1.258V6.678h-1.258v8.86zm6.133-.995c-1.094 0-1.709-.801-1.709-2.194 0-1.38.615-2.188 1.709-2.188 1.088 0 1.708.807 1.708 2.188 0 1.387-.62 2.194-1.708 2.194zm0 1.118c1.86 0 3.002-1.246 3.002-3.312 0-2.054-1.147-3.306-3.002-3.306-1.86 0-3.008 1.252-3.008 3.306 0 2.066 1.141 3.312 3.008 3.312zm6.894-1.077c-.685 0-1.182-.333-1.182-.907 0-.561.398-.86 1.276-.918l1.556-.1v.533c0 .79-.702 1.392-1.65 1.392zm-.322 1.06c.837 0 1.533-.363 1.913-1.001h.1v.895h1.211v-4.353c0-1.346-.9-2.142-2.498-2.142-1.446 0-2.475.702-2.604 1.797h1.217c.14-.451.626-.708 1.328-.708.86 0 1.305.38 1.305 1.053v.55l-1.726.1c-1.516.093-2.37.754-2.37 1.901 0 1.164.895 1.908 2.124 1.908zm7.643 0c.878 0 1.62-.416 2.001-1.112h.1v1.006h1.205V6.678h-1.258v3.5h-.094c-.345-.703-1.082-1.118-1.954-1.118-1.609 0-2.645 1.275-2.645 3.288 0 2.019 1.024 3.295 2.645 3.295zm.357-5.454c1.053 0 1.714.837 1.714 2.165 0 1.334-.655 2.16-1.714 2.16-1.065 0-1.703-.814-1.703-2.166 0-1.34.644-2.159 1.703-2.159zm11.4 4.353c-1.094 0-1.708-.801-1.708-2.194 0-1.38.614-2.188 1.709-2.188 1.088 0 1.708.807 1.708 2.188 0 1.387-.62 2.194-1.708 2.194zm0 1.118c1.861 0 3.002-1.246 3.002-3.312 0-2.054-1.146-3.306-3.001-3.306-1.861 0-3.008 1.252-3.008 3.306 0 2.066 1.141 3.312 3.008 3.312zm4.812-.123h1.258V11.81c0-.995.62-1.615 1.632-1.615.936 0 1.393.509 1.393 1.533v3.81h1.258v-4.126c0-1.515-.802-2.37-2.224-2.37-.96 0-1.702.427-2.013 1.135h-.093V9.165H126.1v6.372zM137.73 7.62v1.574h-1.048v1.06h1.048v3.598c0 1.229.555 1.72 1.954 1.72.246 0 .474-.029.673-.064V14.46c-.176.017-.275.029-.468.029-.626 0-.901-.293-.901-.96v-3.277h1.427V9.194h-1.427V7.62h-1.258zm4.477 7.917h1.258v-3.721c0-.966.638-1.615 1.668-1.615.947 0 1.421.515 1.421 1.533v3.803h1.258v-4.113c0-1.516-.819-2.376-2.252-2.376-.96 0-1.697.427-2.007 1.141h-.1V6.68h-1.246v8.858zm10.294-5.424c.93 0 1.538.65 1.568 1.65h-3.219c.07-.995.72-1.65 1.65-1.65zm1.562 3.704c-.234.497-.755.772-1.516.772-1.006 0-1.656-.708-1.697-1.825v-.07h4.5v-.44c0-2-1.07-3.212-2.844-3.212-1.796 0-2.937 1.293-2.937 3.33 0 2.036 1.118 3.288 2.943 3.288 1.457 0 2.475-.702 2.762-1.843h-1.211z",
|
19
|
-
fill: "#FFF"
|
20
|
-
}), /*#__PURE__*/_jsx("g", {
|
21
|
-
fill: "#FFF",
|
22
|
-
children: /*#__PURE__*/_jsx("path", {
|
23
|
-
d: "M37.747 25.07c-.038-4.285 3.51-6.37 3.672-6.468-2.01-2.93-5.124-3.33-6.218-3.361-2.616-.276-5.153 1.565-6.486 1.565-1.359 0-3.41-1.539-5.622-1.493-2.846.043-5.508 1.691-6.968 4.25-3.013 5.216-.766 12.883 2.121 17.1 1.444 2.066 3.132 4.37 5.34 4.29 2.161-.088 2.969-1.378 5.576-1.378 2.584 0 3.342 1.377 5.595 1.324 2.319-.034 3.779-2.073 5.173-4.158 1.669-2.365 2.339-4.698 2.365-4.818-.053-.017-4.502-1.715-4.548-6.852M33.492 12.467c1.162-1.454 1.958-3.431 1.737-5.438-1.682.075-3.786 1.164-4.998 2.585-1.071 1.253-2.029 3.306-1.781 5.237 1.89.141 3.83-.953 5.042-2.384"
|
24
|
-
})
|
25
|
-
})]
|
26
|
-
})]
|
27
|
-
});
|
28
|
-
};
|
29
|
-
AppStoreIcon.defaultProps = {
|
30
|
-
width: "172",
|
31
|
-
height: "50",
|
32
|
-
viewBox: "0 0 172 50",
|
33
|
-
xmlns: "http://www.w3.org/2000/svg"
|
34
|
-
};
|
35
|
-
var GooglePlayIcon = function GooglePlayIcon(props) {
|
36
|
-
return /*#__PURE__*/_jsxs("svg", {
|
37
|
-
...props,
|
38
|
-
children: [/*#__PURE__*/_jsx("title", {
|
39
|
-
children: "Playstore"
|
40
|
-
}), /*#__PURE__*/_jsxs("defs", {
|
41
|
-
children: [/*#__PURE__*/_jsxs("linearGradient", {
|
42
|
-
x1: "50%",
|
43
|
-
y1: "0%",
|
44
|
-
x2: "50%",
|
45
|
-
y2: "38.913%",
|
46
|
-
id: "b",
|
47
|
-
children: [/*#__PURE__*/_jsx("stop", {
|
48
|
-
stopColor: "#FBDA09",
|
49
|
-
offset: "0%"
|
50
|
-
}), /*#__PURE__*/_jsx("stop", {
|
51
|
-
stopColor: "#FFBC00",
|
52
|
-
offset: "100%"
|
53
|
-
})]
|
54
|
-
}), /*#__PURE__*/_jsx("path", {
|
55
|
-
d: "M28.354 14.689c1.77 1.006 1.77 2.638 0 3.645L3.228 32.625C1.458 33.632.023 32.8.023 30.763V2.26C.023.225 1.458-.609 3.228.398l25.126 14.29z",
|
56
|
-
id: "a"
|
57
|
-
}), /*#__PURE__*/_jsxs("linearGradient", {
|
58
|
-
x1: "0%",
|
59
|
-
y1: "58.476%",
|
60
|
-
x2: "69.306%",
|
61
|
-
y2: "39.083%",
|
62
|
-
id: "c",
|
63
|
-
children: [/*#__PURE__*/_jsx("stop", {
|
64
|
-
stopColor: "#01E2FF",
|
65
|
-
offset: "0%"
|
66
|
-
}), /*#__PURE__*/_jsx("stop", {
|
67
|
-
stopColor: "#01C4FF",
|
68
|
-
offset: "100%"
|
69
|
-
})]
|
70
|
-
}), /*#__PURE__*/_jsxs("linearGradient", {
|
71
|
-
x1: "20.281%",
|
72
|
-
y1: "20.102%",
|
73
|
-
x2: "83.82%",
|
74
|
-
y2: "83.621%",
|
75
|
-
id: "e",
|
76
|
-
children: [/*#__PURE__*/_jsx("stop", {
|
77
|
-
stopColor: "#28D781",
|
78
|
-
offset: "0%"
|
79
|
-
}), /*#__PURE__*/_jsx("stop", {
|
80
|
-
stopColor: "#02F076",
|
81
|
-
offset: "100%"
|
82
|
-
})]
|
83
|
-
}), /*#__PURE__*/_jsxs("linearGradient", {
|
84
|
-
x1: "74.488%",
|
85
|
-
y1: "17.43%",
|
86
|
-
x2: "10.108%",
|
87
|
-
y2: "91.184%",
|
88
|
-
id: "f",
|
89
|
-
children: [/*#__PURE__*/_jsx("stop", {
|
90
|
-
stopColor: "#F2414E",
|
91
|
-
offset: "0%"
|
92
|
-
}), /*#__PURE__*/_jsx("stop", {
|
93
|
-
stopColor: "#E02554",
|
94
|
-
offset: "100%"
|
95
|
-
})]
|
96
|
-
})]
|
97
|
-
}), /*#__PURE__*/_jsxs("g", {
|
98
|
-
fill: "none",
|
99
|
-
fillRule: "evenodd",
|
100
|
-
children: [/*#__PURE__*/_jsx("path", {
|
101
|
-
d: "M.17 4.852V44.54a4.681 4.681 0 0 0 4.682 4.681h162.296a4.682 4.682 0 0 0 4.682-4.681V4.85a4.681 4.681 0 0 0-4.682-4.68H4.852A4.682 4.682 0 0 0 .17 4.85z",
|
102
|
-
fill: "#000",
|
103
|
-
fillRule: "nonzero"
|
104
|
-
}), /*#__PURE__*/_jsx("g", {
|
105
|
-
fill: "#FFF",
|
106
|
-
children: /*#__PURE__*/_jsx("path", {
|
107
|
-
d: "M91.207 16.084a4.213 4.213 0 1 1 0-8.425 4.213 4.213 0 0 1 0 8.425zm0-1.287a2.925 2.925 0 1 0 0-5.85 2.925 2.925 0 0 0 0 5.85zM62.656 12.34v2.574h3.393v.936h-4.68V8.01h4.68v.936h-3.393v2.457h3.042v.937h-3.042zM70.613 8.946v6.904h-1.288V8.946h-1.989V8.01h5.266v.936h-1.99zM82.08 8.946v6.904h-1.287V8.946h-1.99V8.01h5.266v.936H82.08zM76.346 8.01h1.287v7.84h-1.287zM97.233 8.01h-.76v7.84h1.287V9.731l3.744 6.119h1.288V8.01h-1.288v5.737l-3.51-5.737h-.76zM59.376 8.916c-.686-.723-1.69-1.14-2.883-1.14a4.133 4.133 0 0 0-4.135 4.13 4.135 4.135 0 0 0 4.135 4.13c2.322.022 4.258-1.614 3.871-4.454v-.042h-1.03c.009.119.012.241.01.366.002 2.029-1.168 2.98-2.816 2.98a2.982 2.982 0 0 1-2.983-2.98 2.982 2.982 0 0 1 2.983-2.98c.824 0 1.539.282 2.042.796l.806-.806z"
|
108
|
-
})
|
109
|
-
}), /*#__PURE__*/_jsxs("g", {
|
110
|
-
fill: "#FFF",
|
111
|
-
children: [/*#__PURE__*/_jsx("path", {
|
112
|
-
d: "M125.375 22.052h6.634s3.82.65 3.82 5.035-3.82 5.035-3.82 5.035h-6.634v-10.07zm1.287 2.436v5.404h4.504s2.05 0 2.05-2.702-2.05-2.702-2.05-2.702h-4.504z"
|
113
|
-
}), /*#__PURE__*/_jsx("path", {
|
114
|
-
d: "M124.79 22.052h2.34v16.382h-2.34zM137.193 22.052h2.34v16.382h-2.34zM148.208 37.262c-.645.532-1.675 1.033-3.303 1.135-3.729.232-3.73-3.17-3.73-3.4 0-.23-.185-3.004 2.782-3.445 2.1-.313 3.571.208 4.251.538v-.481c-.167-.637-.684-1.809-2.235-1.809-2.131 0-2.602 1.152-2.602 1.152l-1.949-1.152s1.09-2.249 4.364-2.249c4.07 0 4.763 2.808 4.763 3.753V38.428h-2.341v-1.166zm-.167-3.508s-4.509-1.216-4.666 1.317c-.156 2.533 4.326 1.317 4.726-.479 0-.57-.06-.838-.06-.838zM154.94 37.812l-2.183 5.185h2.34l6.331-15.038h-2.34l-2.978 7.074-3.002-7.13h-2.34l4.172 9.91zM119.55 31.732l-7.4 3.059s.477 1.692 2.703 1.703c1.742.009 2.726-1.545 2.726-1.545l1.878 1.272s-1.516 2.451-4.62 2.451c-3.813 0-5.493-3.335-5.493-5.5 0-2.087 1.334-5.62 5.257-5.62 3.924 0 4.95 4.18 4.95 4.18zm-2.815-.867s-.931-1.417-2.36-1.155c-3.02.552-2.64 3.196-2.64 3.196l5-2.04zM105.834 22.052h2.476V38.4h-2.476zM101.872 27.907l2.288.02V38.24c0 2.636-1.569 5.418-5.262 5.418-3.694 0-4.887-3.273-4.887-3.273l2.102-.884s.64 2.017 2.894 2.017c2.566 0 2.865-2.334 2.865-3.133v-1.12s-.888 1.39-3.093 1.39c-2.39 0-5.232-2.049-5.232-5.54 0-3.493 2.676-5.49 5.26-5.563 2.07-.058 3.065 1.374 3.065 1.374v-1.02zm-2.897 8.653c1.669 0 3.022-1.53 3.022-3.415 0-1.886-1.353-3.415-3.022-3.415-1.67 0-3.022 1.529-3.022 3.415 0 1.886 1.353 3.415 3.022 3.415zM86.949 38.668a5.564 5.564 0 0 1-5.571-5.558 5.564 5.564 0 0 1 5.57-5.559 5.564 5.564 0 0 1 5.571 5.559 5.564 5.564 0 0 1-5.57 5.558zm-.037-2.18c1.73 0 3.132-1.512 3.132-3.378s-1.402-3.379-3.132-3.379c-1.73 0-3.131 1.513-3.131 3.379s1.402 3.378 3.131 3.378zM74.896 38.668a5.564 5.564 0 0 1-5.57-5.558 5.564 5.564 0 0 1 5.57-5.559 5.564 5.564 0 0 1 5.57 5.559 5.564 5.564 0 0 1-5.57 5.558zm-.036-2.18c1.73 0 3.131-1.512 3.131-3.378S76.59 29.73 74.86 29.73c-1.73 0-3.131 1.513-3.131 3.379s1.401 3.378 3.13 3.378z"
|
115
|
-
}), /*#__PURE__*/_jsxs("g", {
|
116
|
-
children: [/*#__PURE__*/_jsx("path", {
|
117
|
-
d: "M60.512 29.314h7.355l-.073 2.325h-7.282z"
|
118
|
-
}), /*#__PURE__*/_jsx("path", {
|
119
|
-
d: "M66.42 23.843c-1.432-1.508-3.526-2.376-6.017-2.376-4.766 0-8.63 3.854-8.63 8.61 0 4.754 3.864 8.602 8.63 8.61 4.845.043 8.886-3.366 8.078-9.287v-.086h-2.149c.018.247.024.501.018.762.005 4.23-2.436 6.212-5.875 6.212-3.438 0-6.226-2.78-6.226-6.212 0-3.43 2.788-6.212 6.226-6.212 1.72 0 3.212.587 4.261 1.658l1.683-1.679z"
|
120
|
-
})]
|
121
|
-
})]
|
122
|
-
}), /*#__PURE__*/_jsxs("g", {
|
123
|
-
transform: "translate(11.755 8.127)",
|
124
|
-
children: [/*#__PURE__*/_jsx("mask", {
|
125
|
-
id: "d",
|
126
|
-
fill: "#fff",
|
127
|
-
children: /*#__PURE__*/_jsx("use", {
|
128
|
-
xlinkHref: "#a"
|
129
|
-
})
|
130
|
-
}), /*#__PURE__*/_jsx("use", {
|
131
|
-
fill: "url(#b)",
|
132
|
-
xlinkHref: "#a"
|
133
|
-
}), /*#__PURE__*/_jsx("path", {
|
134
|
-
fill: "url(#c)",
|
135
|
-
mask: "url(#d)",
|
136
|
-
d: "M0-.012l16.357 16.258-16.568 16.9z"
|
137
|
-
}), /*#__PURE__*/_jsx("path", {
|
138
|
-
fill: "url(#e)",
|
139
|
-
mask: "url(#d)",
|
140
|
-
d: "M-3.364-3.358l19.72 19.609 5.862-5.593z"
|
141
|
-
}), /*#__PURE__*/_jsx("path", {
|
142
|
-
fill: "url(#f)",
|
143
|
-
mask: "url(#d)",
|
144
|
-
d: "M16.358 16.247l8.975 9.046L-1.48 34.34z"
|
145
|
-
})]
|
146
|
-
})]
|
147
|
-
})]
|
148
|
-
});
|
149
|
-
};
|
150
|
-
GooglePlayIcon.defaultProps = {
|
151
|
-
width: "172",
|
152
|
-
height: "50",
|
153
|
-
viewBox: "0 0 172 50",
|
154
|
-
xmlns: "http://www.w3.org/2000/svg",
|
155
|
-
xmlnsXlink: "http://www.w3.org/1999/xlink"
|
156
|
-
};
|
157
|
-
var AndroidDownloadIcon = function AndroidDownloadIcon(props) {
|
158
|
-
return /*#__PURE__*/_jsxs("svg", {
|
159
|
-
...props,
|
160
|
-
children: [/*#__PURE__*/_jsx("title", {
|
161
|
-
children: "android"
|
162
|
-
}), /*#__PURE__*/_jsxs("g", {
|
163
|
-
fill: "none",
|
164
|
-
fillRule: "evenodd",
|
165
|
-
children: [/*#__PURE__*/_jsx("path", {
|
166
|
-
d: "M172 44.328c0 3.133-2.794 5.672-6.24 5.672H6.24c-1.654 0-3.242-.598-4.412-1.661C.658 47.275 0 45.832 0 44.329V5.671C0 2.539 2.794 0 6.24 0h159.52c3.446 0 6.24 2.54 6.24 5.672v38.656",
|
167
|
-
fill: "#100F0D",
|
168
|
-
fillRule: "nonzero"
|
169
|
-
}), /*#__PURE__*/_jsx("text", {
|
170
|
-
fill: "#FFF",
|
171
|
-
fontFamily: "Arial-BoldMT, Arial",
|
172
|
-
fontSize: "23.441",
|
173
|
-
fontWeight: "bold",
|
174
|
-
children: /*#__PURE__*/_jsx("tspan", {
|
175
|
-
x: "63.624",
|
176
|
-
y: "42.135",
|
177
|
-
children: "Android"
|
178
|
-
})
|
179
|
-
}), /*#__PURE__*/_jsx("text", {
|
180
|
-
fill: "#FFF",
|
181
|
-
fillRule: "nonzero",
|
182
|
-
fontFamily: "ArialMT, Arial",
|
183
|
-
fontSize: "11.721",
|
184
|
-
children: /*#__PURE__*/_jsx("tspan", {
|
185
|
-
x: "64",
|
186
|
-
y: "19",
|
187
|
-
children: "Download for"
|
188
|
-
})
|
189
|
-
}), /*#__PURE__*/_jsx("g", {
|
190
|
-
fill: "#9FC732",
|
191
|
-
fillRule: "nonzero",
|
192
|
-
children: /*#__PURE__*/_jsx("path", {
|
193
|
-
d: "M40.48 18.031H20.153a.818.818 0 0 0-.818.817v17.01c0 .45.366.816.818.816h3.625v5.732c0 1.33 1.08 2.409 2.413 2.409a2.411 2.411 0 0 0 2.414-2.409v-5.732h3.376v5.732c0 1.33 1.08 2.409 2.413 2.409a2.41 2.41 0 0 0 2.414-2.409v-5.732h3.674a.82.82 0 0 0 .819-.817V18.848a.818.818 0 0 0-.82-.817m-24.588-.004a2.411 2.411 0 0 0-2.413 2.408v9.782a2.41 2.41 0 0 0 2.413 2.408 2.41 2.41 0 0 0 2.414-2.408v-9.782a2.41 2.41 0 0 0-2.414-2.408M44.877 17.66c-1.33 0-2.41 1.091-2.41 2.436v9.895c0 1.345 1.08 2.436 2.41 2.436s2.41-1.09 2.41-2.436v-9.895c0-1.345-1.08-2.436-2.41-2.436m-19.441-6.768a.924.924 0 0 1 .813.464.945.945 0 0 1 0 .945.924.924 0 0 1-.813.464.932.932 0 0 1-.913-.936c0-.512.406-.93.913-.937zm10.96.937a.939.939 0 0 1-.454.836.918.918 0 0 1-.944 0 .939.939 0 0 1-.454-.836.931.931 0 0 1 .926-.906c.5 0 .91.4.926.906zm-15.902 4.628h19.918c.52 0 .907-.483.8-.998a11.12 11.12 0 0 0-5.37-7.395l1.702-3.106a.44.44 0 0 0-.168-.592.426.426 0 0 0-.585.17l-1.716 3.129a10.856 10.856 0 0 0-4.622-1.027 10.854 10.854 0 0 0-4.622 1.027l-1.716-3.13a.428.428 0 0 0-.58-.16.438.438 0 0 0-.173.582l1.702 3.107a11.123 11.123 0 0 0-5.37 7.395.825.825 0 0 0 .8.998"
|
194
|
-
})
|
195
|
-
})]
|
196
|
-
})]
|
197
|
-
});
|
198
|
-
};
|
199
|
-
AndroidDownloadIcon.defaultProps = {
|
200
|
-
width: "172",
|
201
|
-
height: "50",
|
202
|
-
viewBox: "0 0 172 50",
|
203
|
-
xmlns: "http://www.w3.org/2000/svg"
|
204
|
-
};
|
205
|
-
import Button from '../Button';
|
206
|
-
import { mergeProps } from '../Util';
|
207
|
-
import { styled } from '../Theme';
|
208
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
209
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
210
|
-
export default function WalletDownload(props) {
|
211
|
-
const browser = useBrowser();
|
212
|
-
const newProps = mergeProps(props, WalletDownload, ['style']);
|
213
|
-
const {
|
214
|
-
title,
|
215
|
-
children,
|
216
|
-
iosLink,
|
217
|
-
androidLink,
|
218
|
-
androidDownLoadUrl,
|
219
|
-
locale,
|
220
|
-
...rest
|
221
|
-
} = newProps;
|
222
|
-
const isAndroid = browser.mobile.android.phone || browser.mobile.android.tablet;
|
223
|
-
const isIOS = browser.mobile.apple.phone || browser.mobile.apple.tablet;
|
224
|
-
return /*#__PURE__*/_jsxs(Container, {
|
225
|
-
...rest,
|
226
|
-
children: [/*#__PURE__*/_jsxs("div", {
|
227
|
-
className: "download-text",
|
228
|
-
children: [!!title && /*#__PURE__*/_jsx(Typography, {
|
229
|
-
className: "download-title",
|
230
|
-
component: "div",
|
231
|
-
children: title
|
232
|
-
}), children && /*#__PURE__*/_jsx(Typography, {
|
233
|
-
className: "download-extra",
|
234
|
-
component: "div",
|
235
|
-
children: children
|
236
|
-
})]
|
237
|
-
}), !browser.mobile.any && /*#__PURE__*/_jsxs("div", {
|
238
|
-
className: "download-store-list",
|
239
|
-
children: [/*#__PURE__*/_jsx(Button, {
|
240
|
-
className: "download-link",
|
241
|
-
component: "a",
|
242
|
-
href: iosLink,
|
243
|
-
children: /*#__PURE__*/_jsx(AppStoreIcon, {})
|
244
|
-
}), locale === 'zh' && /*#__PURE__*/_jsx(Button, {
|
245
|
-
component: "a",
|
246
|
-
className: "download-link",
|
247
|
-
href: androidDownLoadUrl,
|
248
|
-
children: /*#__PURE__*/_jsx(AndroidDownloadIcon, {})
|
249
|
-
}), locale === 'en' && /*#__PURE__*/_jsx(Button, {
|
250
|
-
component: "a",
|
251
|
-
className: "download-link",
|
252
|
-
href: androidLink,
|
253
|
-
children: /*#__PURE__*/_jsx(GooglePlayIcon, {})
|
254
|
-
})]
|
255
|
-
}), isAndroid && /*#__PURE__*/_jsxs("div", {
|
256
|
-
className: "download-store-list",
|
257
|
-
children: [locale === 'zh' && /*#__PURE__*/_jsx(Button, {
|
258
|
-
component: "a",
|
259
|
-
href: androidDownLoadUrl,
|
260
|
-
variant: "outlined",
|
261
|
-
color: "primary",
|
262
|
-
children: "\u672C\u5730\u4E0B\u8F7D"
|
263
|
-
}), locale === 'en' && /*#__PURE__*/_jsx(Button, {
|
264
|
-
component: "a",
|
265
|
-
href: androidLink,
|
266
|
-
variant: "outlined",
|
267
|
-
color: "primary",
|
268
|
-
children: "Download"
|
269
|
-
})]
|
270
|
-
}), isIOS && /*#__PURE__*/_jsx("div", {
|
271
|
-
className: "download-store-list",
|
272
|
-
children: /*#__PURE__*/_jsx(Button, {
|
273
|
-
component: "a",
|
274
|
-
href: iosLink,
|
275
|
-
variant: "outlined",
|
276
|
-
color: "primary",
|
277
|
-
children: "Download"
|
278
|
-
})
|
279
|
-
})]
|
280
|
-
});
|
281
|
-
}
|
282
|
-
WalletDownload.propTypes = {
|
283
|
-
title: PropTypes.string,
|
284
|
-
layout: PropTypes.oneOf(['vertical', 'horizontal']),
|
285
|
-
storeLayout: PropTypes.oneOf(['vertical', 'horizontal']),
|
286
|
-
style: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
|
287
|
-
iosLink: PropTypes.string,
|
288
|
-
androidLink: PropTypes.string,
|
289
|
-
androidDownLoadUrl: PropTypes.string,
|
290
|
-
locale: PropTypes.oneOf(['en', 'zh'])
|
291
|
-
};
|
292
|
-
WalletDownload.defaultProps = {
|
293
|
-
title: 'Download DID Wallet',
|
294
|
-
layout: 'vertical',
|
295
|
-
storeLayout: 'horizontal',
|
296
|
-
iosLink: 'https://itunes.apple.com/app/id1460083542',
|
297
|
-
androidLink: 'https://play.google.com/store/apps/details?id=com.arcblock.wallet.app.product',
|
298
|
-
androidDownLoadUrl: 'https://releases.arcblockio.cn/arcwallet_android/latest/abtwallet.apk',
|
299
|
-
style: {},
|
300
|
-
locale: 'zh'
|
301
|
-
};
|
302
|
-
const Container = styled('div')`
|
303
|
-
display: flex;
|
304
|
-
flex-direction: ${props => props.layout === 'vertical' ? 'column' : 'row'};
|
305
|
-
align-items: center;
|
306
|
-
|
307
|
-
.download-title {
|
308
|
-
margin-right: ${props => props.layout === 'vertical' ? '0' : '16px'};
|
309
|
-
margin-bottom: ${props => props.layout === 'vertical' ? '16px' : '0'};
|
310
|
-
}
|
311
|
-
|
312
|
-
.download-store-list {
|
313
|
-
display: flex;
|
314
|
-
flex-direction: ${props => props.storeLayout === 'vertical' ? 'column' : 'row'};
|
315
|
-
justify-content: space-between;
|
316
|
-
align-items: center;
|
317
|
-
|
318
|
-
.download-link {
|
319
|
-
padding: 0;
|
320
|
-
margin: 0;
|
321
|
-
|
322
|
-
margin-right: ${props => props.storeLayout === 'vertical' ? '0' : '16px'};
|
323
|
-
margin-bottom: ${props => props.storeLayout === 'vertical' ? '16px' : '0'};
|
324
|
-
|
325
|
-
&:last-of-type {
|
326
|
-
margin-right: 0;
|
327
|
-
margin-bottom: 0;
|
328
|
-
}
|
329
|
-
}
|
330
|
-
}
|
331
|
-
`;
|
package/es/Wallet/Open.js
DELETED
@@ -1,45 +0,0 @@
|
|
1
|
-
import PropTypes from 'prop-types';
|
2
|
-
import useBrowser from '@arcblock/react-hooks/lib/useBrowser';
|
3
|
-
import Fab from '@mui/material/Fab';
|
4
|
-
import { styled } from '../Theme';
|
5
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
6
|
-
export default function OpenInWallet({
|
7
|
-
locale,
|
8
|
-
link
|
9
|
-
}) {
|
10
|
-
const buttonText = locale === 'zh' ? '在 DID 钱包打开' : 'Open in DID Wallet';
|
11
|
-
const browser = useBrowser();
|
12
|
-
if (browser.mobile.any && !browser.wallet && !browser.wechat) {
|
13
|
-
const deepLink = `abt://abtwallet.io/i?action=requestOpenUrl&url=${encodeURIComponent(link)}`;
|
14
|
-
return /*#__PURE__*/_jsx(Button, {
|
15
|
-
size: "small",
|
16
|
-
href: deepLink,
|
17
|
-
variant: "extended",
|
18
|
-
color: "primary",
|
19
|
-
rounded: true,
|
20
|
-
target: "_blank",
|
21
|
-
className: "open-in-wallet-button",
|
22
|
-
children: buttonText
|
23
|
-
});
|
24
|
-
}
|
25
|
-
return null;
|
26
|
-
}
|
27
|
-
OpenInWallet.propTypes = {
|
28
|
-
locale: PropTypes.oneOf(['en', 'zh']),
|
29
|
-
link: PropTypes.string.isRequired
|
30
|
-
};
|
31
|
-
OpenInWallet.defaultProps = {
|
32
|
-
locale: 'zh'
|
33
|
-
};
|
34
|
-
const Button = styled(Fab)`
|
35
|
-
&& {
|
36
|
-
font-size: 12px;
|
37
|
-
position: fixed;
|
38
|
-
bottom: 24px;
|
39
|
-
left: 50%;
|
40
|
-
transform-origin: 50% 50%;
|
41
|
-
transform: translateX(-50%);
|
42
|
-
min-width: 120px;
|
43
|
-
z-index: ${props => props.theme.zIndex.tooltip};
|
44
|
-
}
|
45
|
-
`;
|
Binary file
|
@@ -1,23 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<svg width="172px" height="50px" viewBox="0 0 172 50" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
3
|
-
<!-- Generator: Sketch 62 (91390) - https://sketch.com -->
|
4
|
-
<title>android</title>
|
5
|
-
<desc>Created with Sketch.</desc>
|
6
|
-
<g id="android" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
7
|
-
<path d="M172,44.3280578 C172,47.460585 169.20589,50 165.759181,50 L6.24081931,50 C4.58565112,50 2.99827431,49.4024221 1.82789366,48.3387266 C0.657513004,47.2750311 0,45.8323504 0,44.3280578 L0,5.67194218 C0,2.53941501 2.79410998,0 6.24081931,0 L165.759181,0 C169.20589,0 172,2.53941501 172,5.67194218 L172,44.3280578" id="bg" fill="#100F0D" fill-rule="nonzero"></path>
|
8
|
-
<text id="Android" fill="#FFFFFF" font-family="Arial-BoldMT, Arial" font-size="23.4412266" font-weight="bold">
|
9
|
-
<tspan x="63.6237138" y="42.1351959">Android</tspan>
|
10
|
-
</text>
|
11
|
-
<text id="Download-for" fill="#FFFFFF" fill-rule="nonzero" font-family="ArialMT, Arial" font-size="11.7206133" font-weight="normal">
|
12
|
-
<tspan x="64" y="19">Download for</tspan>
|
13
|
-
</text>
|
14
|
-
<g id="Android" transform="translate(13.478705, 3.102215)" fill="#9FC732" fill-rule="nonzero">
|
15
|
-
<g id="shapeB" transform="translate(14.000000, 28.229131) scale(-1, 1) rotate(-180.000000) translate(-14.000000, -28.229131) translate(0.000000, 14.729131)">
|
16
|
-
<path d="M27.0021559,26.7999654 L6.67361202,26.7999654 C6.22172319,26.7999654 5.85537086,26.4342314 5.85537086,25.9833492 L5.85537086,8.97407348 C5.85537086,8.52300474 6.22153629,8.15719149 6.67361202,8.15686385 L10.2979028,8.15686385 L10.2979028,2.42512051 C10.2979028,1.09475625 11.3786473,0.0164193655 12.711387,0.0164193655 C14.0445233,0.0164193655 15.1250695,1.09475625 15.1250695,2.42512051 L15.1250695,8.15686385 L18.5009338,8.15686385 L18.5009338,2.42512051 C18.5009338,1.09475625 19.5816783,0.0164193655 20.914418,0.0164193655 C22.2475543,0.0164193655 23.3279023,1.09475625 23.3279023,2.42512051 L23.3279023,8.15686385 L27.0021559,8.15686385 C27.2193934,8.15681136 27.4277485,8.24289313 27.5813587,8.39616104 C27.7349688,8.54942896 27.8211902,8.75731992 27.8211902,8.97407348 L27.8211902,25.9833492 C27.8211902,26.4344951 27.4543091,26.7999654 27.0021559,26.7999654 M2.41368249,26.8043175 C1.08094274,26.8043175 0,25.7257828 0,24.396012 L0,14.6142245 C0,13.2846515 1.08054621,12.2065124 2.41368249,12.2065124 C3.74622398,12.2065124 4.82696846,13.2846515 4.82696846,14.6142245 L4.82696846,24.396012 C4.82696846,25.7259806 3.74642224,26.8043175 2.41368249,26.8043175" id="形状"></path>
|
17
|
-
</g>
|
18
|
-
<g id="shapeA" transform="translate(20.153322, 14.922487) scale(-1, 1) rotate(-180.000000) translate(-20.153322, -14.922487) translate(6.153322, 0.422487)">
|
19
|
-
<path d="M25.2453809,14.8645837 C23.9142872,14.8645837 22.835755,13.7735501 22.835755,12.428369 L22.835755,2.53322312 C22.835755,1.18824212 23.9142872,0.0976088161 25.2453809,0.0976088161 C26.5758807,0.0976088161 27.6548088,1.18824212 27.6548088,2.53322312 L27.6548088,12.428369 C27.6548088,13.7737503 26.5758807,14.8645837 25.2453809,14.8645837 M5.80349633,21.6325137 C6.13763097,21.6374522 6.44849574,21.460055 6.61698905,21.1682882 C6.78548236,20.8765215 6.78548236,20.5156183 6.61698905,20.2238515 C6.44849574,19.9320848 6.13763097,19.7546876 5.80349633,19.7596261 C5.29723671,19.7671087 4.89071419,20.1841693 4.89071419,20.6960699 C4.89071419,21.2079705 5.29723671,21.6250311 5.80349633,21.6325137 L5.80349633,21.6325137 Z M16.7639886,20.6959698 C16.7750405,20.3542555 16.6010357,20.033606 16.3100354,19.8594415 C16.0190351,19.6852771 15.657287,19.6852771 15.3662867,19.8594415 C15.0752864,20.033606 14.9012817,20.3542555 14.9123335,20.6959698 C14.928668,21.2010236 15.3383524,21.6019059 15.8381611,21.6019059 C16.3379697,21.6019059 16.7476541,21.2010236 16.7639886,20.6959698 Z M0.862120431,16.0672821 L20.7800318,16.0672821 C21.2992078,16.0672821 21.6869569,16.5509629 21.5798756,17.0654617 C20.9213553,20.239905 18.9224386,22.9154586 16.2093828,24.4611562 L17.9119951,27.5667596 C17.9674152,27.6677193 17.9808653,27.7868122 17.9493827,27.8978044 C17.9179001,28.0087966 17.8440674,28.1025826 17.7441486,28.1585032 C17.6443377,28.2146597 17.5265257,28.2283484 17.4167169,28.1965478 C17.306908,28.1647472 17.2141307,28.0900719 17.1588633,27.9890047 L15.4433854,24.8597877 C13.9950906,25.5385247 12.4175937,25.8891002 10.821274,25.8869841 C9.22481328,25.8892295 7.6471602,25.5386493 6.19876682,24.8597877 L4.48289309,27.989405 C4.36428298,28.1925314 4.10726669,28.2632426 3.9032069,28.1488902 C3.69914712,28.0345378 3.62224629,27.7767039 3.72976129,27.5673599 L5.43237357,24.4611562 C2.71991151,22.9154586 0.720203086,20.239905 0.0616828527,17.0654617 C-0.0452005035,16.551163 0.342548561,16.0672821 0.862120431,16.0672821" id="形状"></path>
|
20
|
-
</g>
|
21
|
-
</g>
|
22
|
-
</g>
|
23
|
-
</svg>
|
@@ -1,20 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<svg width="172px" height="50px" viewBox="0 0 172 50" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
3
|
-
<!-- Generator: Sketch 42 (36781) - http://www.bohemiancoding.com/sketch -->
|
4
|
-
<title>Appstore</title>
|
5
|
-
<desc>Created with Sketch.</desc>
|
6
|
-
<defs></defs>
|
7
|
-
<g id="Download" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
8
|
-
<g id="Download---Lightest" transform="translate(-391.000000, -754.000000)">
|
9
|
-
<g id="Appstore" transform="translate(390.000000, 753.000000)">
|
10
|
-
<path d="M1.19834711,4.79237646 L1.19834711,46.8563839 C1.19834711,48.841454 2.80743484,50.4504132 4.79258619,50.4504132 L169.207414,50.4504132 C171.192892,50.4504132 172.801653,48.8415635 172.801653,46.8563839 L172.801653,4.79237646 C172.801653,2.80730635 171.192565,1.19834711 169.207414,1.19834711 L4.79258619,1.19834711 C2.80710804,1.19834711 1.19834711,2.80719687 1.19834711,4.79237646 Z" id="backfround-copy" fill="#000000" fill-rule="nonzero"></path>
|
11
|
-
<path d="M66.7876057,39.6652893 L69.7120876,39.6652893 L63.3101756,21.934082 L60.3488305,21.934082 L53.9469186,39.6652893 L56.7730985,39.6652893 L58.4073678,34.9590853 L65.1656242,34.9590853 L66.7876057,39.6652893 Z M61.6881941,25.1534696 L61.8970856,25.1534696 L64.4652231,32.6489903 L59.1077689,32.6489903 L61.6881941,25.1534696 Z M77.4663998,26.0627623 C75.6478145,26.0627623 74.0749839,26.972055 73.2639931,28.4957346 L73.0673893,28.4957346 L73.0673893,26.2839416 L70.5238274,26.2839416 L70.5238274,44.0028611 L73.1656912,44.0028611 L73.1656912,37.6378123 L73.3745828,37.6378123 C74.0749839,39.0509023 75.5863758,39.8864686 77.4909753,39.8864686 C80.8701035,39.8864686 83.0204578,37.2200292 83.0204578,32.9684716 C83.0204578,28.7169139 80.8701035,26.0627623 77.4663998,26.0627623 L77.4663998,26.0627623 Z M76.7168478,37.5149349 C74.5050548,37.5149349 73.1165403,35.770076 73.1165403,32.9807593 C73.1165403,30.1791548 74.5050548,28.4342959 76.7291355,28.4342959 C78.965504,28.4342959 80.3048675,30.1422916 80.3048675,32.9684716 C80.3048675,35.8069392 78.965504,37.5149349 76.7168478,37.5149349 L76.7168478,37.5149349 Z M91.1679777,26.0627623 C89.3493924,26.0627623 87.7765618,26.972055 86.965571,28.4957346 L86.7689672,28.4957346 L86.7689672,26.2839416 L84.2254052,26.2839416 L84.2254052,44.0028611 L86.8672691,44.0028611 L86.8672691,37.6378123 L87.0761607,37.6378123 C87.7765618,39.0509023 89.2879537,39.8864686 91.1925532,39.8864686 C94.5716814,39.8864686 96.7220357,37.2200292 96.7220357,32.9684716 C96.7220357,28.7169139 94.5716814,26.0627623 91.1679777,26.0627623 L91.1679777,26.0627623 Z M90.4184256,37.5149349 C88.2066326,37.5149349 86.8181182,35.770076 86.8181182,32.9807593 C86.8181182,30.1791548 88.2066326,28.4342959 90.4307134,28.4342959 C92.6670819,28.4342959 94.0064454,30.1422916 94.0064454,32.9684716 C94.0064454,35.8069392 92.6670819,37.5149349 90.4184256,37.5149349 L90.4184256,37.5149349 Z M102.314455,34.8976466 C102.511059,38.0678832 105.152923,40.0953601 109.084999,40.0953601 C113.287406,40.0953601 115.916982,37.9695813 115.916982,34.5781654 C115.916982,31.911726 114.417878,30.4371973 110.780707,29.5893434 L108.826957,29.1101215 C106.516862,28.569461 105.582993,27.8444844 105.582993,26.5788473 C105.582993,24.9814413 107.032947,23.9369835 109.207876,23.9369835 C111.272217,23.9369835 112.697594,24.9568658 112.955637,26.5911351 L115.634364,26.5911351 C115.474623,23.6052145 112.845047,21.5040112 109.24474,21.5040112 C105.374102,21.5040112 102.793677,23.6052145 102.793677,26.7631634 C102.793677,29.3681641 104.255918,30.9164192 107.463018,31.6659712 L109.748537,32.2189195 C112.095495,32.7718677 113.127665,33.5828585 113.127665,34.9345098 C113.127665,36.5073404 111.505684,37.6501001 109.293891,37.6501001 C106.922357,37.6501001 105.2758,36.5810668 105.042333,34.8976466 L102.314455,34.8976466 Z M118.190963,23.0399785 L118.190963,26.3453803 L115.991457,26.3453803 L115.991457,28.569461 L118.190963,28.569461 L118.190963,36.1264205 C118.190963,38.7068456 119.358298,39.7390157 122.295067,39.7390157 C122.811152,39.7390157 123.290374,39.677577 123.708157,39.6038506 L123.708157,37.4043453 C123.339525,37.4412085 123.130634,37.465784 122.725138,37.465784 C121.41035,37.465784 120.832826,36.851397 120.832826,35.4505948 L120.832826,28.569461 L123.831035,28.569461 L123.831035,26.3453803 L120.832826,26.3453803 L120.832826,23.0399785 L118.190963,23.0399785 Z M130.381149,37.5763736 C128.083341,37.5763736 126.793129,35.8929534 126.793129,32.9684716 C126.793129,30.0685652 128.083341,28.3728572 130.381149,28.3728572 C132.666668,28.3728572 133.969168,30.0685652 133.969168,32.9684716 C133.969168,35.8806657 132.666668,37.5763736 130.381149,37.5763736 L130.381149,37.5763736 Z M130.381149,39.9233318 C134.28865,39.9233318 136.684759,37.3060434 136.684759,32.9684716 C136.684759,28.6554752 134.276362,26.0258991 130.381149,26.0258991 C126.473648,26.0258991 124.065251,28.6554752 124.065251,32.9684716 C124.065251,37.3060434 126.46136,39.9233318 130.381149,39.9233318 L130.381149,39.9233318 Z M137.889706,39.6652893 L140.53157,39.6652893 L140.53157,31.7642731 C140.53157,29.8842491 141.94466,28.618612 143.935274,28.618612 C144.377632,28.618612 145.188623,28.7046262 145.397515,28.7783526 L145.397515,26.1733519 C145.114897,26.0996255 144.611099,26.0627623 144.230179,26.0627623 C142.48532,26.0627623 141.010792,27.0212059 140.629872,28.335994 L140.433268,28.335994 L140.433268,26.2839416 L137.889706,26.2839416 L137.889706,39.6652893 Z M151.345529,28.2745553 C153.29928,28.2745553 154.577204,29.6384943 154.638643,31.7396977 L147.880387,31.7396977 C148.02784,29.6507821 149.391779,28.2745553 151.345529,28.2745553 L151.345529,28.2745553 Z M154.626355,36.052694 C154.134846,37.0971518 153.041237,37.6746756 151.443831,37.6746756 C149.33034,37.6746756 147.966401,36.1878591 147.880387,33.840901 L147.880387,33.6934482 L157.329658,33.6934482 L157.329658,32.7718677 C157.329658,28.569461 155.081002,26.0258991 151.357817,26.0258991 C147.585481,26.0258991 145.189372,28.7414894 145.189372,33.0176225 C145.189372,37.2937556 147.53633,39.9233318 151.370105,39.9233318 C154.429752,39.9233318 156.567818,38.4488031 157.169917,36.052694 L154.626355,36.052694 Z" id="App-Store" fill="#FFFFFF"></path>
|
12
|
-
<path d="M56.4227224,8.09375807 L56.4227224,16.5371901 L59.4712519,16.5371901 C61.9873128,16.5371901 63.4442875,14.9865945 63.4442875,12.2891432 C63.4442875,9.63265108 61.9756101,8.09375807 59.4712519,8.09375807 L56.4227224,8.09375807 Z M57.7334146,9.28742413 L59.3249693,9.28742413 C61.0745093,9.28742413 62.1101901,10.3991719 62.1101901,12.3066971 C62.1101901,14.2434788 61.0920632,15.343524 59.3249693,15.343524 L57.7334146,15.343524 L57.7334146,9.28742413 Z M68.0562855,15.5424684 C66.9620916,15.5424684 66.3477047,14.7408397 66.3477047,13.3482293 C66.3477047,11.9673215 66.9620916,11.1598415 68.0562855,11.1598415 C69.1446281,11.1598415 69.7648663,11.9673215 69.7648663,13.3482293 C69.7648663,14.7349884 69.1446281,15.5424684 68.0562855,15.5424684 L68.0562855,15.5424684 Z M68.0562855,16.6600675 C69.9170003,16.6600675 71.0580046,15.4137397 71.0580046,13.3482293 C71.0580046,11.2944215 69.911149,10.0422424 68.0562855,10.0422424 C66.1955708,10.0422424 65.0487151,11.2944215 65.0487151,13.3482293 C65.0487151,15.4137397 66.1897195,16.6600675 68.0562855,16.6600675 L68.0562855,16.6600675 Z M80.9186225,10.1651198 L79.6605921,10.1651198 L78.525439,15.0275536 L78.4259669,15.0275536 L77.1152747,10.1651198 L75.9099061,10.1651198 L74.5992139,15.0275536 L74.505593,15.0275536 L73.3645887,10.1651198 L72.0890044,10.1651198 L73.8443957,16.5371901 L75.1375339,16.5371901 L76.448226,11.8444441 L76.5476982,11.8444441 L77.8642417,16.5371901 L79.1690825,16.5371901 L80.9186225,10.1651198 Z M82.5171988,16.5371901 L83.7752292,16.5371901 L83.7752292,12.8099093 C83.7752292,11.8151876 84.3954675,11.1949493 85.4077431,11.1949493 C86.3439518,11.1949493 86.8003535,11.7040128 86.8003535,12.727991 L86.8003535,16.5371901 L88.0583839,16.5371901 L88.0583839,12.4120206 C88.0583839,10.8965328 87.2567552,10.0422424 85.8348883,10.0422424 C84.8752744,10.0422424 84.1321588,10.4693876 83.8220396,11.1773954 L83.7284188,11.1773954 L83.7284188,10.1651198 L82.5171988,10.1651198 L82.5171988,16.5371901 Z M90.1835776,16.5371901 L91.441608,16.5371901 L91.441608,7.67831547 L90.1835776,7.67831547 L90.1835776,16.5371901 Z M96.3169147,15.5424684 C95.2227208,15.5424684 94.6083339,14.7408397 94.6083339,13.3482293 C94.6083339,11.9673215 95.2227208,11.1598415 96.3169147,11.1598415 C97.4052573,11.1598415 98.0254955,11.9673215 98.0254955,13.3482293 C98.0254955,14.7349884 97.4052573,15.5424684 96.3169147,15.5424684 L96.3169147,15.5424684 Z M96.3169147,16.6600675 C98.1776295,16.6600675 99.3186338,15.4137397 99.3186338,13.3482293 C99.3186338,11.2944215 98.1717782,10.0422424 96.3169147,10.0422424 C94.4562,10.0422424 93.3093443,11.2944215 93.3093443,13.3482293 C93.3093443,15.4137397 94.4503487,16.6600675 96.3169147,16.6600675 L96.3169147,16.6600675 Z M103.210921,15.5834275 C102.526319,15.5834275 102.028958,15.2499032 102.028958,14.6764753 C102.028958,14.1147501 102.426847,13.8163336 103.304542,13.7578206 L104.860989,13.6583484 L104.860989,14.1908171 C104.860989,14.9807432 104.158833,15.5834275 103.210921,15.5834275 L103.210921,15.5834275 Z M102.8891,16.6425136 C103.725836,16.6425136 104.422141,16.2797327 104.802476,15.6419405 L104.901948,15.6419405 L104.901948,16.5371901 L106.113168,16.5371901 L106.113168,12.1838197 C106.113168,10.8380198 105.212067,10.0422424 103.614661,10.0422424 C102.169389,10.0422424 101.13956,10.7443989 101.010831,11.8385928 L102.227902,11.8385928 C102.368334,11.3880424 102.853992,11.130585 103.556148,11.130585 C104.41629,11.130585 104.860989,11.5109197 104.860989,12.1838197 L104.860989,12.7338423 L103.134854,12.8333145 C101.619367,12.9269354 100.765076,13.5881327 100.765076,14.7349884 C100.765076,15.8993979 101.660326,16.6425136 102.8891,16.6425136 L102.8891,16.6425136 Z M110.532073,16.6425136 C111.409769,16.6425136 112.152884,16.227071 112.533219,15.5307658 L112.632691,15.5307658 L112.632691,16.5371901 L113.83806,16.5371901 L113.83806,7.67831547 L112.58003,7.67831547 L112.58003,11.1773954 L112.486409,11.1773954 C112.141182,10.4752389 111.403918,10.0597963 110.532073,10.0597963 C108.922965,10.0597963 107.887284,11.3353806 107.887284,13.3482293 C107.887284,15.3669292 108.911262,16.6425136 110.532073,16.6425136 L110.532073,16.6425136 Z M110.889003,11.189098 C111.942238,11.189098 112.603435,12.0258345 112.603435,13.3540806 C112.603435,14.6881779 111.948089,15.5132118 110.889003,15.5132118 C109.824065,15.5132118 109.186273,14.6998806 109.186273,13.3482293 C109.186273,12.0082806 109.829917,11.189098 110.889003,11.189098 L110.889003,11.189098 Z M122.289684,15.5424684 C121.19549,15.5424684 120.581103,14.7408397 120.581103,13.3482293 C120.581103,11.9673215 121.19549,11.1598415 122.289684,11.1598415 C123.378027,11.1598415 123.998265,11.9673215 123.998265,13.3482293 C123.998265,14.7349884 123.378027,15.5424684 122.289684,15.5424684 L122.289684,15.5424684 Z M122.289684,16.6600675 C124.150399,16.6600675 125.291403,15.4137397 125.291403,13.3482293 C125.291403,11.2944215 124.144547,10.0422424 122.289684,10.0422424 C120.428969,10.0422424 119.282114,11.2944215 119.282114,13.3482293 C119.282114,15.4137397 120.423118,16.6600675 122.289684,16.6600675 L122.289684,16.6600675 Z M127.100626,16.5371901 L128.358657,16.5371901 L128.358657,12.8099093 C128.358657,11.8151876 128.978895,11.1949493 129.991171,11.1949493 C130.927379,11.1949493 131.383781,11.7040128 131.383781,12.727991 L131.383781,16.5371901 L132.641811,16.5371901 L132.641811,12.4120206 C132.641811,10.8965328 131.840183,10.0422424 130.418316,10.0422424 C129.458702,10.0422424 128.715586,10.4693876 128.405467,11.1773954 L128.311846,11.1773954 L128.311846,10.1651198 L127.100626,10.1651198 L127.100626,16.5371901 Z M138.729508,8.62037545 L138.729508,10.1943763 L137.682125,10.1943763 L137.682125,11.2534624 L138.729508,11.2534624 L138.729508,14.8520145 C138.729508,16.0807884 139.285382,16.5722979 140.683844,16.5722979 C140.929599,16.5722979 141.1578,16.5430414 141.356744,16.5079336 L141.356744,15.4605501 C141.181205,15.478104 141.081733,15.4898066 140.88864,15.4898066 C140.26255,15.4898066 139.987539,15.1972414 139.987539,14.5301927 L139.987539,11.2534624 L141.415257,11.2534624 L141.415257,10.1943763 L139.987539,10.1943763 L139.987539,8.62037545 L138.729508,8.62037545 Z M143.206926,16.5371901 L144.464957,16.5371901 L144.464957,12.8157606 C144.464957,11.8502954 145.102749,11.2008006 146.132578,11.2008006 C147.08049,11.2008006 147.554445,11.7157154 147.554445,12.7338423 L147.554445,16.5371901 L148.812476,16.5371901 L148.812476,12.4237232 C148.812476,10.9082354 147.993293,10.0480937 146.559724,10.0480937 C145.60011,10.0480937 144.862845,10.4752389 144.552726,11.189098 L144.453254,11.189098 L144.453254,7.67831547 L143.206926,7.67831547 L143.206926,16.5371901 Z M153.500541,11.1130311 C154.430898,11.1130311 155.039434,11.7625258 155.06869,12.7630989 L151.850473,12.7630989 C151.920689,11.7683771 152.570183,11.1130311 153.500541,11.1130311 L153.500541,11.1130311 Z M155.062839,14.8169066 C154.828787,15.3142675 154.308021,15.5892788 153.547351,15.5892788 C152.540927,15.5892788 151.891432,14.881271 151.850473,13.7636719 L151.850473,13.6934562 L156.350126,13.6934562 L156.350126,13.2546084 C156.350126,11.2534624 155.279337,10.0422424 153.506392,10.0422424 C151.710042,10.0422424 150.569037,11.3353806 150.569037,13.3716345 C150.569037,15.4078884 151.686636,16.6600675 153.512243,16.6600675 C154.969218,16.6600675 155.987345,15.957911 156.274059,14.8169066 L155.062839,14.8169066 Z" id="Download-on-the" fill="#FFFFFF"></path>
|
13
|
-
<g id="logo_apple" transform="translate(15.578512, 8.028926)" fill="#FFFFFF">
|
14
|
-
<path d="M23.1689348,18.0416226 C23.1303707,13.7556896 26.6782669,11.6705692 26.840502,11.5734941 C24.83118,8.64395319 21.7167974,8.24368455 20.6223752,8.21176944 C18.0066661,7.93650164 15.4694151,9.77693951 14.1369593,9.77693951 C12.7779077,9.77693951 10.7260322,8.23836536 8.51458122,8.28357843 C5.66881746,8.3274617 3.00656556,9.97507914 1.54644939,12.5336069 C-1.46686869,17.7503972 0.780486802,25.416672 3.66747425,29.6334556 C5.11163287,31.6999589 6.79914418,34.0044956 9.00793559,33.923378 C11.1688543,33.8356115 11.9760406,32.5457092 14.5837709,32.5457092 C17.1675648,32.5457092 17.9255486,33.923378 20.1782233,33.8701862 C22.4973878,33.8356115 23.9575039,31.797034 25.3511303,29.7119136 C27.0200245,27.3475361 27.6902417,25.0137438 27.7168376,24.8940622 C27.6636458,24.8767748 23.2141479,23.1786251 23.1689348,18.0416226" id="Fill-2"></path>
|
15
|
-
<path d="M18.9135871,5.43781467 C20.075829,3.98434747 20.8710471,2.0069406 20.6503009,0.000278203799 C18.9681088,0.0747467883 16.8643713,1.16384984 15.652927,2.58540192 C14.5811113,3.8380699 13.623658,5.89127516 13.8710001,7.82213917 C15.7606404,7.96309756 17.700813,6.86867533 18.9135871,5.43781467" id="Fill-3"></path>
|
16
|
-
</g>
|
17
|
-
</g>
|
18
|
-
</g>
|
19
|
-
</g>
|
20
|
-
</svg>
|
@@ -1,70 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<svg width="172px" height="50px" viewBox="0 0 172 50" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
3
|
-
<!-- Generator: Sketch 42 (36781) - http://www.bohemiancoding.com/sketch -->
|
4
|
-
<title>Playstore</title>
|
5
|
-
<desc>Created with Sketch.</desc>
|
6
|
-
<defs>
|
7
|
-
<linearGradient x1="50%" y1="0%" x2="50%" y2="38.9125982%" id="linearGradient-1">
|
8
|
-
<stop stop-color="#FBDA09" offset="0%"></stop>
|
9
|
-
<stop stop-color="#FFBC00" offset="100%"></stop>
|
10
|
-
</linearGradient>
|
11
|
-
<path d="M28.3535611,14.6888375 C30.123413,15.6954755 30.1238182,17.3273514 28.3535611,18.3342491 L3.2278037,32.6254319 C1.45795179,33.6320992 0.0232033375,32.7987884 0.0232033375,30.7631031 L0.0232033375,2.26045142 C0.0232033375,0.225248364 1.45754661,-0.608798797 3.2278037,0.398069674 L28.3535611,14.6888375 Z" id="path-2"></path>
|
12
|
-
<linearGradient x1="0%" y1="58.4755255%" x2="69.3064856%" y2="39.0830098%" id="linearGradient-4">
|
13
|
-
<stop stop-color="#01E2FF" offset="0%"></stop>
|
14
|
-
<stop stop-color="#01C4FF" offset="100%"></stop>
|
15
|
-
</linearGradient>
|
16
|
-
<linearGradient x1="20.2810876%" y1="20.1019903%" x2="83.820166%" y2="83.6214476%" id="linearGradient-5">
|
17
|
-
<stop stop-color="#28D781" offset="0%"></stop>
|
18
|
-
<stop stop-color="#02F076" offset="100%"></stop>
|
19
|
-
</linearGradient>
|
20
|
-
<linearGradient x1="74.4881466%" y1="17.4301299%" x2="10.1079427%" y2="91.1838038%" id="linearGradient-6">
|
21
|
-
<stop stop-color="#F2414E" offset="0%"></stop>
|
22
|
-
<stop stop-color="#E02554" offset="100%"></stop>
|
23
|
-
</linearGradient>
|
24
|
-
</defs>
|
25
|
-
<g id="Download" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
26
|
-
<g id="Download---Lightest" transform="translate(-391.000000, -677.000000)">
|
27
|
-
<g id="Playstore" transform="translate(390.000000, 676.000000)">
|
28
|
-
<path d="M1.17014122,5.85154227 L1.17014122,45.5406014 C1.17014122,48.1264599 3.26582904,50.2220025 5.85151491,50.2220025 L168.148485,50.2220025 C170.733562,50.2220025 172.829859,48.1258441 172.829859,45.5406014 L172.829859,5.85154227 C172.829859,3.26568383 170.734171,1.17014122 168.148485,1.17014122 L5.85151491,1.17014122 C3.2664377,1.17014122 1.17014122,3.26629958 1.17014122,5.85154227 Z" id="background" fill="#000000" fill-rule="nonzero"></path>
|
29
|
-
<g id="get-it-on" transform="translate(53.358440, 8.659045)" fill="#FFFFFF">
|
30
|
-
<path d="M38.8486886,8.42501681 C36.5221845,8.42501681 34.6361802,6.53901256 34.6361802,4.21250841 C34.6361802,1.88600426 36.5221845,0 38.8486886,0 C41.1751928,0 43.061197,1.88600426 43.061197,4.21250841 C43.061197,6.53901256 41.1751928,8.42501681 38.8486886,8.42501681 Z M38.8486886,7.13786147 C40.4643165,7.13786147 41.7740417,5.82813629 41.7740417,4.21250841 C41.7740417,2.59688052 40.4643165,1.28715535 38.8486886,1.28715535 C37.2330608,1.28715535 35.9233356,2.59688052 35.9233356,4.21250841 C35.9233356,5.82813629 37.2330608,7.13786147 38.8486886,7.13786147 Z" id="o"></path>
|
31
|
-
<path d="M10.2972428,4.6805649 L10.2972428,7.25487559 L13.6906523,7.25487559 L13.6906523,8.19098857 L9.01008742,8.19098857 L9.01008742,7.72293208 L9.01008742,0.877605918 L9.01008742,0.351042367 L13.6906523,0.351042367 L13.6906523,1.28715535 L10.2972428,1.28715535 L10.2972428,3.74445192 L13.33961,3.74445192 L13.33961,4.6805649 L10.2972428,4.6805649 Z" id="e"></path>
|
32
|
-
<path d="M18.2542031,1.28715535 L18.2542031,8.19098857 L16.9670477,8.19098857 L16.9670477,1.28715535 L14.9778077,1.28715535 L14.9778077,0.351042367 L20.2434432,0.351042367 L20.2434432,1.28715535 L18.2542031,1.28715535 Z" id="t"></path>
|
33
|
-
<path d="M29.7215871,1.28715535 L29.7215871,8.19098857 L28.4344317,8.19098857 L28.4344317,1.28715535 L26.4451917,1.28715535 L26.4451917,0.351042367 L31.7108272,0.351042367 L31.7108272,1.28715535 L29.7215871,1.28715535 Z" id="t"></path>
|
34
|
-
<rect id="i" x="23.9878951" y="0.351042367" width="1.28715535" height="7.8399462"></rect>
|
35
|
-
<path d="M44.8749159,0.351042367 L44.1143241,0.351042367 L44.1143241,8.19098857 L45.4014795,8.19098857 L45.4014795,2.07200617 L49.1459314,8.19098857 L49.7895091,8.19098857 L50.4330868,8.19098857 L50.4330868,0.351042367 L49.1459314,0.351042367 L49.1459314,6.08758837 L45.6355077,0.351042367 L44.8749159,0.351042367 Z" id="n"></path>
|
36
|
-
<g id="g" transform="translate(0.000000, 0.117014)">
|
37
|
-
<path d="M7.01782639,1.14001345 C6.33188431,0.416577437 5.32845181,0 4.13480764,0 C1.85121644,0 0,1.84921465 0,4.13033653 C0,6.4114584 1.85121864,8.25740221 4.13480764,8.26067305 C6.45654793,8.28157253 8.39303525,6.64610305 8.00580594,3.80581592 C8.00580594,3.79196846 8.00574744,3.77814888 8.00563065,3.76435734 L6.97619439,3.76435734 C6.98457593,3.88293591 6.9874985,4.00496968 6.98471181,4.13033653 C6.98716522,6.15894772 5.81735494,7.11045275 4.16970053,7.11045275 C2.52204612,7.11045275 1.18635831,5.77620927 1.18635831,4.13033653 C1.18635831,2.48446378 2.52204612,1.1502203 4.16970053,1.1502203 C4.99399561,1.1502203 5.7083993,1.43184897 6.21139486,1.94557296 L7.01782639,1.14001345 Z" id="Oval-1"></path>
|
38
|
-
</g>
|
39
|
-
</g>
|
40
|
-
<g id="googleplay" transform="translate(52.773369, 22.466711)" fill="#FFFFFF">
|
41
|
-
<g id="big-P" transform="translate(73.016812, 0.585071)">
|
42
|
-
<path d="M0.585070612,4.11262723e-07 L7.2189398,0 C7.2189398,0 11.0378754,0.64974834 11.0378751,5.03509413 C11.0378748,9.42043991 7.2189398,10.0701883 7.2189398,10.0701883 L0.585070612,10.0701887 L0.585070612,4.11262723e-07 Z M1.87222596,2.43587278 L1.87222596,7.8399462 L6.37562048,7.8399462 C6.37562048,7.8399462 8.42501681,7.8399462 8.42501681,5.13790949 C8.42501681,2.43587278 6.37562048,2.43587278 6.37562048,2.43587278 L1.87222596,2.43587278 Z" id="Combined-Shape"></path>
|
43
|
-
<rect id="Rectangle-6" x="0" y="0" width="2.34028245" height="16.3819771"></rect>
|
44
|
-
</g>
|
45
|
-
<rect id="y" x="85.4203093" y="0.585070612" width="2.34028245" height="16.3819771"></rect>
|
46
|
-
<path d="M96.4346169,15.795752 C95.7900206,16.3275913 94.7594728,16.8281404 93.1318247,16.9297952 C89.4029711,17.162681 89.4010283,13.760015 89.4010283,13.5305578 C89.4010283,13.3011006 89.2171081,10.5261859 92.1833133,10.0850975 C94.2836784,9.77276355 95.7547597,10.293172 96.4346169,10.623601 L96.4346169,10.1422698 C96.2678972,9.50479698 95.7505249,8.33348526 94.1994643,8.33348526 C92.0685377,8.33348526 91.597957,9.48557157 91.597957,9.48557157 L89.6485977,8.33348526 C89.6485977,8.33348526 90.7394239,6.08473436 94.012516,6.08473436 C98.0822884,6.08473437 98.7751422,8.8918306 98.7751422,9.83725671 C98.7751422,9.8418586 98.7750609,9.84643073 98.7748993,9.85097328 L98.7748993,16.9617913 L96.4346169,16.9617913 L96.4346169,15.795752 Z M96.2674375,12.2868257 C96.2674375,12.2868257 91.7588514,11.0716044 91.6021279,13.6044344 C91.4454044,16.1372644 95.9274796,14.9210718 96.3279443,13.1255792 C96.3279443,12.5546212 96.2674375,12.2868257 96.2674375,12.2868257 Z" id="a"></path>
|
47
|
-
<path d="M103.16628,16.3455179 L100.983188,21.5305985 L103.32347,21.5305985 L109.655031,6.49245545 L107.314749,6.49245545 L104.336421,13.5663058 L101.33423,6.43577673 L98.9939475,6.43577673 L103.16628,16.3455179 Z" id="y"></path>
|
48
|
-
<path d="M67.7775457,10.2651407 L60.3759385,13.3240645 C60.3759385,13.3240645 60.8539615,15.0159505 63.0793079,15.0272903 C64.821837,15.0361697 65.8055047,13.4827863 65.8055047,13.4827863 L67.6833917,14.7545471 C67.6833917,14.7545471 66.1680398,17.2053332 63.0645163,17.2053332 C59.2507139,17.2053332 57.5709482,13.8704733 57.5709482,11.7047052 C57.5709482,9.61804358 58.9042502,6.08473436 62.8278515,6.08473436 C66.7514529,6.08473436 67.7775457,10.2651407 67.7775457,10.2651407 Z M64.9613906,9.39859221 C64.9613906,9.39859221 64.0301657,7.98175655 62.6019959,8.24305235 C59.5809638,8.79577589 59.961135,11.4394831 59.961135,11.4394831 L64.9613906,9.39859221 Z" id="e"></path>
|
49
|
-
<rect id="i" x="54.0605245" y="0.585070612" width="2.47587821" height="16.3475612"></rect>
|
50
|
-
<path d="M50.0984142,6.44001999 L52.3871224,6.45979196 L52.3871224,16.7746019 C52.3871224,19.4100076 50.81808,22.1919311 47.1241744,22.1919311 C43.4302688,22.1919311 42.2372733,18.9190841 42.2372733,18.9190841 L44.3392381,18.0350812 C44.3392381,18.0350812 44.9803239,20.0521346 47.2334044,20.0521319 C49.7991697,20.0521288 50.0986986,17.7178506 50.0986986,16.9188203 L50.0986986,15.7994245 C50.0986986,15.7994245 49.2109211,17.1888932 47.005842,17.1888963 C44.6150863,17.1888996 41.7740417,15.1405554 41.7740417,11.6485346 C41.7740417,8.15651392 44.4492503,6.15911724 47.0335051,6.08646141 C49.1034693,6.02826476 50.0984142,7.46020141 50.0984142,7.46020141 L50.0984142,6.44001999 Z M47.2012612,15.092804 C48.8702811,15.092804 50.223289,13.5639353 50.223289,11.6779801 C50.223289,9.79202495 48.8702811,8.26315621 47.2012612,8.26315621 C45.5322413,8.26315621 44.1792334,9.79202495 44.1792334,11.6779801 C44.1792334,13.5639353 45.5322413,15.092804 47.2012612,15.092804 Z" id="g"></path>
|
51
|
-
<path d="M35.1752989,17.201076 C32.0986719,17.201076 29.604573,14.7125982 29.604573,11.6429052 C29.604573,8.5732122 32.0986719,6.08473436 35.1752989,6.08473436 C38.2519259,6.08473436 40.7460249,8.5732122 40.7460249,11.6429052 C40.7460249,14.7125982 38.2519259,17.201076 35.1752989,17.201076 Z M35.138889,15.0214012 C36.8682349,15.0214012 38.2701467,13.508797 38.2701467,11.6429052 C38.2701467,9.77701337 36.8682349,8.26440919 35.138889,8.26440919 C33.4095431,8.26440919 32.0076312,9.77701337 32.0076312,11.6429052 C32.0076312,13.508797 33.4095431,15.0214012 35.138889,15.0214012 Z" id="o"></path>
|
52
|
-
<path d="M23.1228443,17.201076 C20.0462173,17.201076 17.5521184,14.7125982 17.5521184,11.6429052 C17.5521184,8.5732122 20.0462173,6.08473436 23.1228443,6.08473436 C26.1994713,6.08473436 28.6935703,8.5732122 28.6935703,11.6429052 C28.6935703,14.7125982 26.1994713,17.201076 23.1228443,17.201076 Z M23.0864344,15.0214012 C24.8157803,15.0214012 26.2176921,13.508797 26.2176921,11.6429052 C26.2176921,9.77701337 24.8157803,8.26440919 23.0864344,8.26440919 C21.3570885,8.26440919 19.9551766,9.77701337 19.9551766,11.6429052 C19.9551766,13.508797 21.3570885,15.0214012 23.0864344,15.0214012 Z" id="o"></path>
|
53
|
-
<g id="big-g">
|
54
|
-
<polygon id="Rectangle-1" points="8.73839369 7.84682938 16.0932084 7.84682938 16.0203884 10.1718159 8.73839369 10.1718159"></polygon>
|
55
|
-
<path d="M14.6458986,2.37636606 C13.2143673,0.868358601 11.1202473,0 8.62916377,0 C3.86340822,0 0,3.85470096 0,8.60971557 C0,13.3647302 3.86341281,17.2126131 8.62916377,17.2194311 C13.4745348,17.2629963 17.5158997,13.8538486 16.7077689,7.93325009 C16.7077689,7.90438496 16.7076468,7.87557794 16.7074031,7.84682938 L14.5590144,7.84682938 C14.5765063,8.09400724 14.5826056,8.3483875 14.5767899,8.60971557 C14.58191,12.8383699 12.1405668,14.8217888 8.70198372,14.8217888 C5.2634006,14.8217888 2.47587821,12.0405489 2.47587821,8.60971557 C2.47587821,5.17888225 5.2634006,2.39764231 8.70198372,2.39764231 C10.4222517,2.39764231 11.9131812,2.98469926 12.962911,4.05556054 L14.6458986,2.37636606 Z" id="Oval-1"></path>
|
56
|
-
</g>
|
57
|
-
</g>
|
58
|
-
<g id="logo_play" transform="translate(12.754539, 9.127102)">
|
59
|
-
<mask id="mask-3" fill="white">
|
60
|
-
<use xlink:href="#path-2"></use>
|
61
|
-
</mask>
|
62
|
-
<use id="yellow" fill="url(#linearGradient-1)" xlink:href="#path-2"></use>
|
63
|
-
<polygon id="blue" fill="url(#linearGradient-4)" mask="url(#mask-3)" points="2.77555756e-17 -0.0115388931 16.3570349 16.2458593 -0.211275499 33.1458297"></polygon>
|
64
|
-
<polygon id="green" fill="url(#linearGradient-5)" mask="url(#mask-3)" points="-3.36361429 -3.35835864 16.3550937 16.2506146 22.2176953 10.65779"></polygon>
|
65
|
-
<polygon id="red" fill="url(#linearGradient-6)" mask="url(#mask-3)" points="16.3577798 16.2468735 25.3328352 25.293309 -1.47928965 34.3397445"></polygon>
|
66
|
-
</g>
|
67
|
-
</g>
|
68
|
-
</g>
|
69
|
-
</g>
|
70
|
-
</svg>
|
package/es/WalletOSIcon/index.js
DELETED
@@ -1,82 +0,0 @@
|
|
1
|
-
import PropTypes from 'prop-types';
|
2
|
-
import { Icon } from '@iconify/react';
|
3
|
-
import ApiIcon from '@iconify-icons/mdi/api';
|
4
|
-
import IOSRoundedIcon from '@iconify-icons/material-symbols/ios-rounded';
|
5
|
-
import LanguageIcon from '@iconify-icons/material-symbols/language';
|
6
|
-
import AndroidIcon from '@iconify-icons/material-symbols/android';
|
7
|
-
import QuestionMarkRoundedIcon from '@iconify-icons/material-symbols/question-mark-rounded';
|
8
|
-
// import Auth0Icon from '@iconify-icons/logos/auth0-icon';
|
9
|
-
import MailOutlineRoundedIcon from '@iconify-icons/material-symbols/mail-outline-rounded';
|
10
|
-
import { LOGIN_PROVIDER } from '../../es/Util/constant';
|
11
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
12
|
-
export default function WalletOSIcon({
|
13
|
-
loading,
|
14
|
-
walletOS,
|
15
|
-
provider,
|
16
|
-
color
|
17
|
-
}) {
|
18
|
-
if (loading) {
|
19
|
-
return /*#__PURE__*/_jsx(Icon, {
|
20
|
-
icon: QuestionMarkRoundedIcon,
|
21
|
-
style: {
|
22
|
-
color: 'transparent'
|
23
|
-
}
|
24
|
-
});
|
25
|
-
}
|
26
|
-
if (provider === LOGIN_PROVIDER.AUTH0) {
|
27
|
-
return /*#__PURE__*/_jsx(Icon, {
|
28
|
-
icon: MailOutlineRoundedIcon,
|
29
|
-
style: {
|
30
|
-
color,
|
31
|
-
transform: 'scale(0.85)'
|
32
|
-
}
|
33
|
-
});
|
34
|
-
}
|
35
|
-
if (walletOS === 'ios') {
|
36
|
-
return /*#__PURE__*/_jsx(Icon, {
|
37
|
-
icon: IOSRoundedIcon,
|
38
|
-
style: {
|
39
|
-
color,
|
40
|
-
transform: 'scale(1.1)'
|
41
|
-
}
|
42
|
-
});
|
43
|
-
}
|
44
|
-
if (walletOS === 'android') {
|
45
|
-
return /*#__PURE__*/_jsx(Icon, {
|
46
|
-
icon: AndroidIcon,
|
47
|
-
style: {
|
48
|
-
color
|
49
|
-
}
|
50
|
-
});
|
51
|
-
}
|
52
|
-
if (walletOS === 'web') {
|
53
|
-
return /*#__PURE__*/_jsx(Icon, {
|
54
|
-
icon: LanguageIcon,
|
55
|
-
style: {
|
56
|
-
color
|
57
|
-
}
|
58
|
-
});
|
59
|
-
}
|
60
|
-
if (walletOS === 'api') {
|
61
|
-
return /*#__PURE__*/_jsx(Icon, {
|
62
|
-
icon: ApiIcon,
|
63
|
-
style: {
|
64
|
-
color,
|
65
|
-
transform: 'scale(1.05)'
|
66
|
-
}
|
67
|
-
});
|
68
|
-
}
|
69
|
-
return null;
|
70
|
-
}
|
71
|
-
WalletOSIcon.propTypes = {
|
72
|
-
loading: PropTypes.bool,
|
73
|
-
walletOS: PropTypes.string,
|
74
|
-
provider: PropTypes.string,
|
75
|
-
color: PropTypes.string
|
76
|
-
};
|
77
|
-
WalletOSIcon.defaultProps = {
|
78
|
-
loading: false,
|
79
|
-
walletOS: null,
|
80
|
-
provider: null,
|
81
|
-
color: 'black'
|
82
|
-
};
|