@arcblock/ux 2.9.91 → 2.10.1
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/lib/Wallet/Download.js
CHANGED
@@ -1,50 +1,30 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
});
|
6
|
-
exports.default = WalletDownload;
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
8
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
9
|
-
var _Typography = _interopRequireDefault(require("@mui/material/Typography"));
|
10
|
-
var _useBrowser = _interopRequireDefault(require("@arcblock/react-hooks/lib/useBrowser"));
|
11
|
-
var _Button = _interopRequireDefault(require("../Button"));
|
12
|
-
var _Util = require("../Util");
|
13
|
-
var _Theme = require("../Theme");
|
14
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
15
|
-
var _templateObject;
|
16
|
-
const _excluded = ["title", "children", "iosLink", "androidLink", "androidDownLoadUrl", "locale"];
|
17
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
18
|
-
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
19
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
20
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
21
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
22
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
23
|
-
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
24
|
-
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
25
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
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';
|
26
5
|
var AppStoreIcon = function AppStoreIcon(props) {
|
27
|
-
return /*#__PURE__*/(
|
28
|
-
|
6
|
+
return /*#__PURE__*/_jsxs("svg", {
|
7
|
+
...props,
|
8
|
+
children: [/*#__PURE__*/_jsx("title", {
|
29
9
|
children: "Appstore"
|
30
|
-
}), /*#__PURE__*/(
|
10
|
+
}), /*#__PURE__*/_jsxs("g", {
|
31
11
|
fill: "none",
|
32
12
|
fillRule: "evenodd",
|
33
|
-
children: [/*#__PURE__*/(
|
13
|
+
children: [/*#__PURE__*/_jsx("path", {
|
34
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",
|
35
15
|
fill: "#000",
|
36
16
|
fillRule: "nonzero"
|
37
|
-
}), /*#__PURE__*/(
|
17
|
+
}), /*#__PURE__*/_jsx("path", {
|
38
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",
|
39
19
|
fill: "#FFF"
|
40
|
-
}), /*#__PURE__*/(
|
20
|
+
}), /*#__PURE__*/_jsx("g", {
|
41
21
|
fill: "#FFF",
|
42
|
-
children: /*#__PURE__*/(
|
22
|
+
children: /*#__PURE__*/_jsx("path", {
|
43
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"
|
44
24
|
})
|
45
25
|
})]
|
46
26
|
})]
|
47
|
-
})
|
27
|
+
});
|
48
28
|
};
|
49
29
|
AppStoreIcon.defaultProps = {
|
50
30
|
width: "172",
|
@@ -53,118 +33,119 @@ AppStoreIcon.defaultProps = {
|
|
53
33
|
xmlns: "http://www.w3.org/2000/svg"
|
54
34
|
};
|
55
35
|
var GooglePlayIcon = function GooglePlayIcon(props) {
|
56
|
-
return /*#__PURE__*/(
|
57
|
-
|
36
|
+
return /*#__PURE__*/_jsxs("svg", {
|
37
|
+
...props,
|
38
|
+
children: [/*#__PURE__*/_jsx("title", {
|
58
39
|
children: "Playstore"
|
59
|
-
}), /*#__PURE__*/(
|
60
|
-
children: [/*#__PURE__*/(
|
40
|
+
}), /*#__PURE__*/_jsxs("defs", {
|
41
|
+
children: [/*#__PURE__*/_jsxs("linearGradient", {
|
61
42
|
x1: "50%",
|
62
43
|
y1: "0%",
|
63
44
|
x2: "50%",
|
64
45
|
y2: "38.913%",
|
65
46
|
id: "b",
|
66
|
-
children: [/*#__PURE__*/(
|
47
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
67
48
|
stopColor: "#FBDA09",
|
68
49
|
offset: "0%"
|
69
|
-
}), /*#__PURE__*/(
|
50
|
+
}), /*#__PURE__*/_jsx("stop", {
|
70
51
|
stopColor: "#FFBC00",
|
71
52
|
offset: "100%"
|
72
53
|
})]
|
73
|
-
}), /*#__PURE__*/(
|
54
|
+
}), /*#__PURE__*/_jsx("path", {
|
74
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",
|
75
56
|
id: "a"
|
76
|
-
}), /*#__PURE__*/(
|
57
|
+
}), /*#__PURE__*/_jsxs("linearGradient", {
|
77
58
|
x1: "0%",
|
78
59
|
y1: "58.476%",
|
79
60
|
x2: "69.306%",
|
80
61
|
y2: "39.083%",
|
81
62
|
id: "c",
|
82
|
-
children: [/*#__PURE__*/(
|
63
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
83
64
|
stopColor: "#01E2FF",
|
84
65
|
offset: "0%"
|
85
|
-
}), /*#__PURE__*/(
|
66
|
+
}), /*#__PURE__*/_jsx("stop", {
|
86
67
|
stopColor: "#01C4FF",
|
87
68
|
offset: "100%"
|
88
69
|
})]
|
89
|
-
}), /*#__PURE__*/(
|
70
|
+
}), /*#__PURE__*/_jsxs("linearGradient", {
|
90
71
|
x1: "20.281%",
|
91
72
|
y1: "20.102%",
|
92
73
|
x2: "83.82%",
|
93
74
|
y2: "83.621%",
|
94
75
|
id: "e",
|
95
|
-
children: [/*#__PURE__*/(
|
76
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
96
77
|
stopColor: "#28D781",
|
97
78
|
offset: "0%"
|
98
|
-
}), /*#__PURE__*/(
|
79
|
+
}), /*#__PURE__*/_jsx("stop", {
|
99
80
|
stopColor: "#02F076",
|
100
81
|
offset: "100%"
|
101
82
|
})]
|
102
|
-
}), /*#__PURE__*/(
|
83
|
+
}), /*#__PURE__*/_jsxs("linearGradient", {
|
103
84
|
x1: "74.488%",
|
104
85
|
y1: "17.43%",
|
105
86
|
x2: "10.108%",
|
106
87
|
y2: "91.184%",
|
107
88
|
id: "f",
|
108
|
-
children: [/*#__PURE__*/(
|
89
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
109
90
|
stopColor: "#F2414E",
|
110
91
|
offset: "0%"
|
111
|
-
}), /*#__PURE__*/(
|
92
|
+
}), /*#__PURE__*/_jsx("stop", {
|
112
93
|
stopColor: "#E02554",
|
113
94
|
offset: "100%"
|
114
95
|
})]
|
115
96
|
})]
|
116
|
-
}), /*#__PURE__*/(
|
97
|
+
}), /*#__PURE__*/_jsxs("g", {
|
117
98
|
fill: "none",
|
118
99
|
fillRule: "evenodd",
|
119
|
-
children: [/*#__PURE__*/(
|
100
|
+
children: [/*#__PURE__*/_jsx("path", {
|
120
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",
|
121
102
|
fill: "#000",
|
122
103
|
fillRule: "nonzero"
|
123
|
-
}), /*#__PURE__*/(
|
104
|
+
}), /*#__PURE__*/_jsx("g", {
|
124
105
|
fill: "#FFF",
|
125
|
-
children: /*#__PURE__*/(
|
106
|
+
children: /*#__PURE__*/_jsx("path", {
|
126
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"
|
127
108
|
})
|
128
|
-
}), /*#__PURE__*/(
|
109
|
+
}), /*#__PURE__*/_jsxs("g", {
|
129
110
|
fill: "#FFF",
|
130
|
-
children: [/*#__PURE__*/(
|
111
|
+
children: [/*#__PURE__*/_jsx("path", {
|
131
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"
|
132
|
-
}), /*#__PURE__*/(
|
113
|
+
}), /*#__PURE__*/_jsx("path", {
|
133
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"
|
134
|
-
}), /*#__PURE__*/(
|
135
|
-
children: [/*#__PURE__*/(
|
115
|
+
}), /*#__PURE__*/_jsxs("g", {
|
116
|
+
children: [/*#__PURE__*/_jsx("path", {
|
136
117
|
d: "M60.512 29.314h7.355l-.073 2.325h-7.282z"
|
137
|
-
}), /*#__PURE__*/(
|
118
|
+
}), /*#__PURE__*/_jsx("path", {
|
138
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"
|
139
120
|
})]
|
140
121
|
})]
|
141
|
-
}), /*#__PURE__*/(
|
122
|
+
}), /*#__PURE__*/_jsxs("g", {
|
142
123
|
transform: "translate(11.755 8.127)",
|
143
|
-
children: [/*#__PURE__*/(
|
124
|
+
children: [/*#__PURE__*/_jsx("mask", {
|
144
125
|
id: "d",
|
145
126
|
fill: "#fff",
|
146
|
-
children: /*#__PURE__*/(
|
127
|
+
children: /*#__PURE__*/_jsx("use", {
|
147
128
|
xlinkHref: "#a"
|
148
129
|
})
|
149
|
-
}), /*#__PURE__*/(
|
130
|
+
}), /*#__PURE__*/_jsx("use", {
|
150
131
|
fill: "url(#b)",
|
151
132
|
xlinkHref: "#a"
|
152
|
-
}), /*#__PURE__*/(
|
133
|
+
}), /*#__PURE__*/_jsx("path", {
|
153
134
|
fill: "url(#c)",
|
154
135
|
mask: "url(#d)",
|
155
136
|
d: "M0-.012l16.357 16.258-16.568 16.9z"
|
156
|
-
}), /*#__PURE__*/(
|
137
|
+
}), /*#__PURE__*/_jsx("path", {
|
157
138
|
fill: "url(#e)",
|
158
139
|
mask: "url(#d)",
|
159
140
|
d: "M-3.364-3.358l19.72 19.609 5.862-5.593z"
|
160
|
-
}), /*#__PURE__*/(
|
141
|
+
}), /*#__PURE__*/_jsx("path", {
|
161
142
|
fill: "url(#f)",
|
162
143
|
mask: "url(#d)",
|
163
144
|
d: "M16.358 16.247l8.975 9.046L-1.48 34.34z"
|
164
145
|
})]
|
165
146
|
})]
|
166
147
|
})]
|
167
|
-
})
|
148
|
+
});
|
168
149
|
};
|
169
150
|
GooglePlayIcon.defaultProps = {
|
170
151
|
width: "172",
|
@@ -174,45 +155,46 @@ GooglePlayIcon.defaultProps = {
|
|
174
155
|
xmlnsXlink: "http://www.w3.org/1999/xlink"
|
175
156
|
};
|
176
157
|
var AndroidDownloadIcon = function AndroidDownloadIcon(props) {
|
177
|
-
return /*#__PURE__*/(
|
178
|
-
|
158
|
+
return /*#__PURE__*/_jsxs("svg", {
|
159
|
+
...props,
|
160
|
+
children: [/*#__PURE__*/_jsx("title", {
|
179
161
|
children: "android"
|
180
|
-
}), /*#__PURE__*/(
|
162
|
+
}), /*#__PURE__*/_jsxs("g", {
|
181
163
|
fill: "none",
|
182
164
|
fillRule: "evenodd",
|
183
|
-
children: [/*#__PURE__*/(
|
165
|
+
children: [/*#__PURE__*/_jsx("path", {
|
184
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",
|
185
167
|
fill: "#100F0D",
|
186
168
|
fillRule: "nonzero"
|
187
|
-
}), /*#__PURE__*/(
|
169
|
+
}), /*#__PURE__*/_jsx("text", {
|
188
170
|
fill: "#FFF",
|
189
171
|
fontFamily: "Arial-BoldMT, Arial",
|
190
172
|
fontSize: "23.441",
|
191
173
|
fontWeight: "bold",
|
192
|
-
children: /*#__PURE__*/(
|
174
|
+
children: /*#__PURE__*/_jsx("tspan", {
|
193
175
|
x: "63.624",
|
194
176
|
y: "42.135",
|
195
177
|
children: "Android"
|
196
178
|
})
|
197
|
-
}), /*#__PURE__*/(
|
179
|
+
}), /*#__PURE__*/_jsx("text", {
|
198
180
|
fill: "#FFF",
|
199
181
|
fillRule: "nonzero",
|
200
182
|
fontFamily: "ArialMT, Arial",
|
201
183
|
fontSize: "11.721",
|
202
|
-
children: /*#__PURE__*/(
|
184
|
+
children: /*#__PURE__*/_jsx("tspan", {
|
203
185
|
x: "64",
|
204
186
|
y: "19",
|
205
187
|
children: "Download for"
|
206
188
|
})
|
207
|
-
}), /*#__PURE__*/(
|
189
|
+
}), /*#__PURE__*/_jsx("g", {
|
208
190
|
fill: "#9FC732",
|
209
191
|
fillRule: "nonzero",
|
210
|
-
children: /*#__PURE__*/(
|
192
|
+
children: /*#__PURE__*/_jsx("path", {
|
211
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"
|
212
194
|
})
|
213
195
|
})]
|
214
196
|
})]
|
215
|
-
})
|
197
|
+
});
|
216
198
|
};
|
217
199
|
AndroidDownloadIcon.defaultProps = {
|
218
200
|
width: "172",
|
@@ -220,68 +202,74 @@ AndroidDownloadIcon.defaultProps = {
|
|
220
202
|
viewBox: "0 0 172 50",
|
221
203
|
xmlns: "http://www.w3.org/2000/svg"
|
222
204
|
};
|
223
|
-
|
224
|
-
|
225
|
-
|
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']);
|
226
213
|
const {
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
214
|
+
title,
|
215
|
+
children,
|
216
|
+
iosLink,
|
217
|
+
androidLink,
|
218
|
+
androidDownLoadUrl,
|
219
|
+
locale,
|
220
|
+
...rest
|
221
|
+
} = newProps;
|
235
222
|
const isAndroid = browser.mobile.android.phone || browser.mobile.android.tablet;
|
236
223
|
const isIOS = browser.mobile.apple.phone || browser.mobile.apple.tablet;
|
237
|
-
return /*#__PURE__*/(
|
238
|
-
|
224
|
+
return /*#__PURE__*/_jsxs(Container, {
|
225
|
+
...rest,
|
226
|
+
children: [/*#__PURE__*/_jsxs("div", {
|
239
227
|
className: "download-text",
|
240
|
-
children: [!!title && /*#__PURE__*/(
|
228
|
+
children: [!!title && /*#__PURE__*/_jsx(Typography, {
|
241
229
|
className: "download-title",
|
242
230
|
component: "div",
|
243
231
|
children: title
|
244
|
-
}), children && /*#__PURE__*/(
|
232
|
+
}), children && /*#__PURE__*/_jsx(Typography, {
|
245
233
|
className: "download-extra",
|
246
234
|
component: "div",
|
247
235
|
children: children
|
248
236
|
})]
|
249
|
-
}), !browser.mobile.any && /*#__PURE__*/(
|
237
|
+
}), !browser.mobile.any && /*#__PURE__*/_jsxs("div", {
|
250
238
|
className: "download-store-list",
|
251
|
-
children: [/*#__PURE__*/(
|
239
|
+
children: [/*#__PURE__*/_jsx(Button, {
|
252
240
|
className: "download-link",
|
253
241
|
component: "a",
|
254
242
|
href: iosLink,
|
255
|
-
children: /*#__PURE__*/(
|
256
|
-
}), locale === 'zh' && /*#__PURE__*/(
|
243
|
+
children: /*#__PURE__*/_jsx(AppStoreIcon, {})
|
244
|
+
}), locale === 'zh' && /*#__PURE__*/_jsx(Button, {
|
257
245
|
component: "a",
|
258
246
|
className: "download-link",
|
259
247
|
href: androidDownLoadUrl,
|
260
|
-
children: /*#__PURE__*/(
|
261
|
-
}), locale === 'en' && /*#__PURE__*/(
|
248
|
+
children: /*#__PURE__*/_jsx(AndroidDownloadIcon, {})
|
249
|
+
}), locale === 'en' && /*#__PURE__*/_jsx(Button, {
|
262
250
|
component: "a",
|
263
251
|
className: "download-link",
|
264
252
|
href: androidLink,
|
265
|
-
children: /*#__PURE__*/(
|
253
|
+
children: /*#__PURE__*/_jsx(GooglePlayIcon, {})
|
266
254
|
})]
|
267
|
-
}), isAndroid && /*#__PURE__*/(
|
255
|
+
}), isAndroid && /*#__PURE__*/_jsxs("div", {
|
268
256
|
className: "download-store-list",
|
269
|
-
children: [locale === 'zh' && /*#__PURE__*/(
|
257
|
+
children: [locale === 'zh' && /*#__PURE__*/_jsx(Button, {
|
270
258
|
component: "a",
|
271
259
|
href: androidDownLoadUrl,
|
272
260
|
variant: "outlined",
|
273
261
|
color: "primary",
|
274
262
|
children: "\u672C\u5730\u4E0B\u8F7D"
|
275
|
-
}), locale === 'en' && /*#__PURE__*/(
|
263
|
+
}), locale === 'en' && /*#__PURE__*/_jsx(Button, {
|
276
264
|
component: "a",
|
277
265
|
href: androidLink,
|
278
266
|
variant: "outlined",
|
279
267
|
color: "primary",
|
280
268
|
children: "Download"
|
281
269
|
})]
|
282
|
-
}), isIOS && /*#__PURE__*/(
|
270
|
+
}), isIOS && /*#__PURE__*/_jsx("div", {
|
283
271
|
className: "download-store-list",
|
284
|
-
children: /*#__PURE__*/(
|
272
|
+
children: /*#__PURE__*/_jsx(Button, {
|
285
273
|
component: "a",
|
286
274
|
href: iosLink,
|
287
275
|
variant: "outlined",
|
@@ -289,17 +277,17 @@ function WalletDownload(props) {
|
|
289
277
|
children: "Download"
|
290
278
|
})
|
291
279
|
})]
|
292
|
-
})
|
280
|
+
});
|
293
281
|
}
|
294
282
|
WalletDownload.propTypes = {
|
295
|
-
title:
|
296
|
-
layout:
|
297
|
-
storeLayout:
|
298
|
-
style:
|
299
|
-
iosLink:
|
300
|
-
androidLink:
|
301
|
-
androidDownLoadUrl:
|
302
|
-
locale:
|
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'])
|
303
291
|
};
|
304
292
|
WalletDownload.defaultProps = {
|
305
293
|
title: 'Download DID Wallet',
|
@@ -311,4 +299,33 @@ WalletDownload.defaultProps = {
|
|
311
299
|
style: {},
|
312
300
|
locale: 'zh'
|
313
301
|
};
|
314
|
-
const Container =
|
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/lib/Wallet/Open.js
CHANGED
@@ -1,27 +1,17 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
}
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
var _Theme = require("../Theme");
|
11
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
12
|
-
var _templateObject;
|
13
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
14
|
-
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
15
|
-
function OpenInWallet(_ref) {
|
16
|
-
let {
|
17
|
-
locale,
|
18
|
-
link
|
19
|
-
} = _ref;
|
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
|
+
}) {
|
20
10
|
const buttonText = locale === 'zh' ? '在 DID 钱包打开' : 'Open in DID Wallet';
|
21
|
-
const browser = (
|
11
|
+
const browser = useBrowser();
|
22
12
|
if (browser.mobile.any && !browser.wallet && !browser.wechat) {
|
23
|
-
const deepLink =
|
24
|
-
return /*#__PURE__*/(
|
13
|
+
const deepLink = `abt://abtwallet.io/i?action=requestOpenUrl&url=${encodeURIComponent(link)}`;
|
14
|
+
return /*#__PURE__*/_jsx(Button, {
|
25
15
|
size: "small",
|
26
16
|
href: deepLink,
|
27
17
|
variant: "extended",
|
@@ -35,10 +25,21 @@ function OpenInWallet(_ref) {
|
|
35
25
|
return null;
|
36
26
|
}
|
37
27
|
OpenInWallet.propTypes = {
|
38
|
-
locale:
|
39
|
-
link:
|
28
|
+
locale: PropTypes.oneOf(['en', 'zh']),
|
29
|
+
link: PropTypes.string.isRequired
|
40
30
|
};
|
41
31
|
OpenInWallet.defaultProps = {
|
42
32
|
locale: 'zh'
|
43
33
|
};
|
44
|
-
const Button =
|
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
|
+
`;
|
@@ -1,40 +1,31 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
var _react = require("@iconify/react");
|
9
|
-
var _api = _interopRequireDefault(require("@iconify-icons/mdi/api"));
|
10
|
-
var _iosRounded = _interopRequireDefault(require("@iconify-icons/material-symbols/ios-rounded"));
|
11
|
-
var _language = _interopRequireDefault(require("@iconify-icons/material-symbols/language"));
|
12
|
-
var _android = _interopRequireDefault(require("@iconify-icons/material-symbols/android"));
|
13
|
-
var _questionMarkRounded = _interopRequireDefault(require("@iconify-icons/material-symbols/question-mark-rounded"));
|
14
|
-
var _mailOutlineRounded = _interopRequireDefault(require("@iconify-icons/material-symbols/mail-outline-rounded"));
|
15
|
-
var _constant = require("../../es/Util/constant");
|
16
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
17
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
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';
|
18
8
|
// import Auth0Icon from '@iconify-icons/logos/auth0-icon';
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
9
|
+
import MailOutlineRoundedIcon from '@iconify-icons/material-symbols/mail-outline-rounded';
|
10
|
+
import { LOGIN_PROVIDER } from '../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
|
+
}) {
|
27
18
|
if (loading) {
|
28
|
-
return /*#__PURE__*/(
|
29
|
-
icon:
|
19
|
+
return /*#__PURE__*/_jsx(Icon, {
|
20
|
+
icon: QuestionMarkRoundedIcon,
|
30
21
|
style: {
|
31
22
|
color: 'transparent'
|
32
23
|
}
|
33
24
|
});
|
34
25
|
}
|
35
|
-
if (provider ===
|
36
|
-
return /*#__PURE__*/(
|
37
|
-
icon:
|
26
|
+
if (provider === LOGIN_PROVIDER.AUTH0) {
|
27
|
+
return /*#__PURE__*/_jsx(Icon, {
|
28
|
+
icon: MailOutlineRoundedIcon,
|
38
29
|
style: {
|
39
30
|
color,
|
40
31
|
transform: 'scale(0.85)'
|
@@ -42,8 +33,8 @@ function WalletOSIcon(_ref) {
|
|
42
33
|
});
|
43
34
|
}
|
44
35
|
if (walletOS === 'ios') {
|
45
|
-
return /*#__PURE__*/(
|
46
|
-
icon:
|
36
|
+
return /*#__PURE__*/_jsx(Icon, {
|
37
|
+
icon: IOSRoundedIcon,
|
47
38
|
style: {
|
48
39
|
color,
|
49
40
|
transform: 'scale(1.1)'
|
@@ -51,24 +42,24 @@ function WalletOSIcon(_ref) {
|
|
51
42
|
});
|
52
43
|
}
|
53
44
|
if (walletOS === 'android') {
|
54
|
-
return /*#__PURE__*/(
|
55
|
-
icon:
|
45
|
+
return /*#__PURE__*/_jsx(Icon, {
|
46
|
+
icon: AndroidIcon,
|
56
47
|
style: {
|
57
48
|
color
|
58
49
|
}
|
59
50
|
});
|
60
51
|
}
|
61
52
|
if (walletOS === 'web') {
|
62
|
-
return /*#__PURE__*/(
|
63
|
-
icon:
|
53
|
+
return /*#__PURE__*/_jsx(Icon, {
|
54
|
+
icon: LanguageIcon,
|
64
55
|
style: {
|
65
56
|
color
|
66
57
|
}
|
67
58
|
});
|
68
59
|
}
|
69
60
|
if (walletOS === 'api') {
|
70
|
-
return /*#__PURE__*/(
|
71
|
-
icon:
|
61
|
+
return /*#__PURE__*/_jsx(Icon, {
|
62
|
+
icon: ApiIcon,
|
72
63
|
style: {
|
73
64
|
color,
|
74
65
|
transform: 'scale(1.05)'
|
@@ -78,10 +69,10 @@ function WalletOSIcon(_ref) {
|
|
78
69
|
return null;
|
79
70
|
}
|
80
71
|
WalletOSIcon.propTypes = {
|
81
|
-
loading:
|
82
|
-
walletOS:
|
83
|
-
provider:
|
84
|
-
color:
|
72
|
+
loading: PropTypes.bool,
|
73
|
+
walletOS: PropTypes.string,
|
74
|
+
provider: PropTypes.string,
|
75
|
+
color: PropTypes.string
|
85
76
|
};
|
86
77
|
WalletOSIcon.defaultProps = {
|
87
78
|
loading: false,
|