@matchain/matchid-sdk-react 0.1.53-alpha.6 → 0.1.53-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/icon/index.d.mts +1 -1
- package/dist/assets/icon/index.d.ts +1 -1
- package/dist/{chunk-V2S54LGG.mjs → chunk-AYMVU44P.mjs} +44 -2
- package/dist/chunk-AYMVU44P.mjs.map +1 -0
- package/dist/{chunk-Z7DMYFH5.mjs → chunk-W7CCPGOT.mjs} +5553 -5375
- package/dist/chunk-W7CCPGOT.mjs.map +1 -0
- package/dist/components/index.d.mts +3 -3
- package/dist/components/index.d.ts +3 -3
- package/dist/components/index.js +421 -274
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +6 -4
- package/dist/hooks/api/index.d.mts +2 -2
- package/dist/hooks/api/index.d.ts +2 -2
- package/dist/hooks/api/index.js +103 -33
- package/dist/hooks/api/index.js.map +1 -1
- package/dist/hooks/api/index.mjs +7 -7
- package/dist/hooks/index.d.mts +2 -2
- package/dist/hooks/index.d.ts +2 -2
- package/dist/hooks/index.js +180 -159
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +4 -4
- package/dist/{index-Dt92N6yZ.d.ts → index-BIvPr81B.d.ts} +18 -3
- package/dist/{index-D_UNctDI.d.mts → index-BXNFULAw.d.mts} +10 -4
- package/dist/{index-CFqk8eNo.d.ts → index-BkWS_v10.d.mts} +1 -1
- package/dist/{index-wqqEUufi.d.mts → index-C2-EMz0t.d.ts} +25 -5
- package/dist/{index-DaXXoRxr.d.ts → index-CZHjwqDb.d.ts} +1 -1
- package/dist/{index-C5StsjWY.d.ts → index-DDCyj-Fl.d.ts} +10 -4
- package/dist/{index-BhU3hF7y.d.ts → index-DKFnMFMm.d.mts} +25 -5
- package/dist/{index-Bpd2gBNh.d.mts → index-DYkN9eDY.d.mts} +1 -1
- package/dist/{index-W6yjuOKT.d.mts → index-TVbqpk9T.d.mts} +18 -3
- package/dist/{index-D1QeVZyN.d.ts → index-TsJwrYwh.d.mts} +3 -2
- package/dist/{index-mxbJ8CFx.d.mts → index-tFT-63LO.d.ts} +1 -1
- package/dist/{index-BaYTgL99.d.mts → index-uhLehOUk.d.ts} +3 -2
- package/dist/index.css +115 -15
- package/dist/index.d.mts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +560 -412
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -7
- package/dist/types/index.d.mts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/{types-Bx_FJ11s.d.mts → types-i_ugbm5B.d.mts} +7 -1
- package/dist/{types-Bx_FJ11s.d.ts → types-i_ugbm5B.d.ts} +7 -1
- package/dist/ui/index.d.mts +3 -3
- package/dist/ui/index.d.ts +3 -3
- package/dist/ui/index.js +44 -2
- package/dist/ui/index.js.map +1 -1
- package/dist/ui/index.mjs +7 -3
- package/example/src/App.tsx +30 -7
- package/example/src/pages/Contact/index.tsx +4 -0
- package/example/src/pages/UI/components/Tabs.tsx +18 -0
- package/example/src/pages/UI/index.tsx +2 -0
- package/package.json +4 -1
- package/dist/chunk-UDXKFDXO.mjs +0 -97
- package/dist/chunk-UDXKFDXO.mjs.map +0 -1
- package/dist/chunk-V2S54LGG.mjs.map +0 -1
- package/dist/chunk-Z7DMYFH5.mjs.map +0 -1
package/dist/hooks/index.mjs
CHANGED
|
@@ -12,14 +12,14 @@ import {
|
|
|
12
12
|
useTransaction,
|
|
13
13
|
useUserInfo,
|
|
14
14
|
useWallet
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-W7CCPGOT.mjs";
|
|
16
16
|
import "../chunk-UA6XHZHX.mjs";
|
|
17
|
-
import "../chunk-OCQ2AIM3.mjs";
|
|
18
17
|
import {
|
|
19
18
|
useLayout_exports
|
|
20
|
-
} from "../chunk-
|
|
21
|
-
import "../chunk-
|
|
19
|
+
} from "../chunk-AYMVU44P.mjs";
|
|
20
|
+
import "../chunk-OCQ2AIM3.mjs";
|
|
22
21
|
import "../chunk-JX73EY6V.mjs";
|
|
22
|
+
import "../chunk-3USZ4ZZY.mjs";
|
|
23
23
|
import "../chunk-J5LGTIGS.mjs";
|
|
24
24
|
export {
|
|
25
25
|
useCopyClipboard,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
2
|
import { UseQueryOptions } from '@tanstack/react-query/src/types';
|
|
3
|
-
import {
|
|
3
|
+
import { S as PohZkpassParams, m as UserTransactionType, _ as UserTransactionNextPageParams, a0 as WalletAssetType, K as MetaPageType, s as BindItemType, r as BindInfoType, Q as PohItemType, U as UserChainType, o as UserAssetToken, n as UserImportTokenType, a1 as WalletChainType, a2 as WalletNFTType, v as ContactType } from './types-i_ugbm5B.js';
|
|
4
4
|
|
|
5
5
|
declare const isSuccess: (res: {
|
|
6
6
|
code: number;
|
|
@@ -133,13 +133,28 @@ declare namespace wallet {
|
|
|
133
133
|
export { wallet_USER_IMPORT_TOKEN_LIST_KEY as USER_IMPORT_TOKEN_LIST_KEY, wallet_getUserWalletTransactionsApi as getUserWalletTransactionsApi, wallet_getWalletAssetListApi as getWalletAssetListApi, wallet_getWalletListApi as getWalletListApi, wallet_useAssetListQuery as useAssetListQuery, wallet_useChainListQuery as useChainListQuery, wallet_useImportTokenListQuery as useImportTokenListQuery, wallet_useWalletAssetListQuery as useWalletAssetListQuery, wallet_useWalletChainListQuery as useWalletChainListQuery, wallet_useWalletNftListQuery as useWalletNftListQuery, wallet_userImportTokenApi as userImportTokenApi };
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
+
declare function useContactList(page_size?: number, type?: "Friend" | "Requests"): {
|
|
137
|
+
data: ContactType[];
|
|
138
|
+
totalCount: number;
|
|
139
|
+
loading: boolean;
|
|
140
|
+
loadingNextPage: boolean;
|
|
141
|
+
hasNextPage: boolean;
|
|
142
|
+
onLoadMore: (options?: _tanstack_react_query.FetchNextPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<MetaPageType<ContactType>, unknown>, Error>>;
|
|
143
|
+
};
|
|
144
|
+
|
|
145
|
+
declare const contact_useContactList: typeof useContactList;
|
|
146
|
+
declare namespace contact {
|
|
147
|
+
export { contact_useContactList as useContactList };
|
|
148
|
+
}
|
|
149
|
+
|
|
136
150
|
declare const index_bind: typeof bind;
|
|
151
|
+
declare const index_contact: typeof contact;
|
|
137
152
|
declare const index_isSuccess: typeof isSuccess;
|
|
138
153
|
declare const index_poh: typeof poh;
|
|
139
154
|
declare const index_user: typeof user;
|
|
140
155
|
declare const index_wallet: typeof wallet;
|
|
141
156
|
declare namespace index {
|
|
142
|
-
export { index_bind as bind, index_isSuccess as isSuccess, index_poh as poh, index_user as user, index_wallet as wallet };
|
|
157
|
+
export { index_bind as bind, index_contact as contact, index_isSuccess as isSuccess, index_poh as poh, index_user as user, index_wallet as wallet };
|
|
143
158
|
}
|
|
144
159
|
|
|
145
|
-
export { isSuccess as a, bind as b, index as i, poh as p, user as u, wallet as w };
|
|
160
|
+
export { isSuccess as a, bind as b, contact as c, index as i, poh as p, user as u, wallet as w };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { E as EmailModalProps, b as LoginBoxProps, B as ButtonProps, O as OtherLoginMethodType, R as RecommendLoginMethodType, c as WalletType, P as PopoverPositionType, d as PopoverTypeType, e as LoginPanelProps, f as LoginModalProps, M as ModalWithHeaderProps, g as WalletAssetMergeType, u as useMatchWalletAssetsProps } from './types-
|
|
3
|
-
import { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-
|
|
2
|
+
import { E as EmailModalProps, b as LoginBoxProps, B as ButtonProps, O as OtherLoginMethodType, R as RecommendLoginMethodType, c as WalletType, P as PopoverPositionType, d as PopoverTypeType, e as LoginPanelProps, f as LoginModalProps, M as ModalWithHeaderProps, g as WalletAssetMergeType, u as useMatchWalletAssetsProps } from './types-i_ugbm5B.mjs';
|
|
3
|
+
import { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-DYkN9eDY.mjs';
|
|
4
4
|
import { ReactNode } from 'react';
|
|
5
5
|
|
|
6
6
|
declare function EmailModal({ isOpen, width, onClose, onBack, onLogin }: EmailModalProps): react_jsx_runtime.JSX.Element;
|
|
@@ -81,8 +81,14 @@ declare function TransactionList({ scrollableTarget }: {
|
|
|
81
81
|
scrollableTarget?: ReactNode;
|
|
82
82
|
}): react_jsx_runtime.JSX.Element;
|
|
83
83
|
|
|
84
|
+
declare function ContactList({ height, type }: {
|
|
85
|
+
height?: number;
|
|
86
|
+
type?: "Friend" | "Requests";
|
|
87
|
+
}): react_jsx_runtime.JSX.Element;
|
|
88
|
+
|
|
84
89
|
declare const index_BTCModal: typeof BTCModal;
|
|
85
90
|
declare const index_Button: typeof Button;
|
|
91
|
+
declare const index_ContactList: typeof ContactList;
|
|
86
92
|
declare const index_EVMModal: typeof EVMModal;
|
|
87
93
|
declare const index_EmailModal: typeof EmailModal;
|
|
88
94
|
declare const index_Field: typeof Field;
|
|
@@ -105,7 +111,7 @@ declare const index_UsernameModal: typeof UsernameModal;
|
|
|
105
111
|
declare const index_WalletAsset: typeof WalletAsset;
|
|
106
112
|
declare const index_WalletModal: typeof WalletModal;
|
|
107
113
|
declare namespace index {
|
|
108
|
-
export { index_BTCModal as BTCModal, index_Button as Button, index_EVMModal as EVMModal, index_EmailModal as EmailModal, index_Field as Field, index_Input as Input, index_LoginBox as LoginBox, index_LoginButton as LoginButton, index_LoginModal as LoginModal, index_LoginPanel as LoginPanel, index_Modal as Modal, index_ModalWithHeader as ModalWithHeader, index_Overlay as Overlay, index_Popover as Popover, index_TONModal as TONModal, index_TRONModal as TRONModal, index_TokenDetail as TokenDetail, index_TokenSend as TokenSend, index_TokenSendList as TokenSendList, index_TransactionList as TransactionList, index_UsernameModal as UsernameModal, index_WalletAsset as WalletAsset, index_WalletModal as WalletModal };
|
|
114
|
+
export { index_BTCModal as BTCModal, index_Button as Button, index_ContactList as ContactList, index_EVMModal as EVMModal, index_EmailModal as EmailModal, index_Field as Field, index_Input as Input, index_LoginBox as LoginBox, index_LoginButton as LoginButton, index_LoginModal as LoginModal, index_LoginPanel as LoginPanel, index_Modal as Modal, index_ModalWithHeader as ModalWithHeader, index_Overlay as Overlay, index_Popover as Popover, index_TONModal as TONModal, index_TRONModal as TRONModal, index_TokenDetail as TokenDetail, index_TokenSend as TokenSend, index_TokenSendList as TokenSendList, index_TransactionList as TransactionList, index_UsernameModal as UsernameModal, index_WalletAsset as WalletAsset, index_WalletModal as WalletModal };
|
|
109
115
|
}
|
|
110
116
|
|
|
111
|
-
export { BTCModal as B, EmailModal as E, LoginBox as L, TRONModal as T, UsernameModal as U, WalletModal as W, LoginButton as a, LoginPanel as b, LoginModal as c, EVMModal as d, TONModal as e, WalletAsset as f, TokenDetail as g, TokenSend as h, index as i, TokenSendList as j, TransactionList as k };
|
|
117
|
+
export { BTCModal as B, ContactList as C, EmailModal as E, LoginBox as L, TRONModal as T, UsernameModal as U, WalletModal as W, LoginButton as a, LoginPanel as b, LoginModal as c, EVMModal as d, TONModal as e, WalletAsset as f, TokenDetail as g, TokenSend as h, index as i, TokenSendList as j, TransactionList as k };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as ISocialLoginMethod, i as OverviewInfo, C as CEXType, j as LoginMethodType, I as IMatchEvents, k as ChainType, U as UserChainType, A as Address, H as Hash$1, l as AnyObject, m as UserTransactionType, u as useMatchWalletAssetsProps, n as UserImportTokenType, o as UserAssetToken, g as WalletAssetMergeType } from './types-
|
|
1
|
+
import { h as ISocialLoginMethod, i as OverviewInfo, C as CEXType, j as LoginMethodType, I as IMatchEvents, k as ChainType, U as UserChainType, A as Address, H as Hash$1, l as AnyObject, m as UserTransactionType, u as useMatchWalletAssetsProps, n as UserImportTokenType, o as UserAssetToken, g as WalletAssetMergeType } from './types-i_ugbm5B.mjs';
|
|
2
2
|
import * as viem from 'viem';
|
|
3
3
|
import { Account, WalletClientConfig, createWalletClient, SignableMessage, Hex, TransactionSerializable, DeployContractParameters, SendTransactionParameters, WriteContractParameters, Chain } from 'viem';
|
|
4
4
|
import { Hash } from 'viem/types/misc';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-
|
|
1
|
+
import { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-CZHjwqDb.js';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
-
import {
|
|
3
|
+
import { w as DrawerProps, a3 as WalletPanelProps, Y as UIProps } from './types-i_ugbm5B.js';
|
|
4
4
|
import { Hash, Chain } from 'viem';
|
|
5
|
-
import { CSSProperties } from 'react';
|
|
5
|
+
import React, { CSSProperties } from 'react';
|
|
6
6
|
|
|
7
7
|
declare function Drawer({ children, showClose, onClose, isOpen, title, zIndex, onBack }: DrawerProps): react_jsx_runtime.JSX.Element;
|
|
8
8
|
|
|
@@ -39,6 +39,24 @@ declare function Radio({ checked, onChange, size, color, className, style }: {
|
|
|
39
39
|
style?: CSSProperties;
|
|
40
40
|
}): react_jsx_runtime.JSX.Element;
|
|
41
41
|
|
|
42
|
+
interface SkeletonProps {
|
|
43
|
+
style?: React.CSSProperties;
|
|
44
|
+
className?: string;
|
|
45
|
+
width?: string | number;
|
|
46
|
+
height?: string | number;
|
|
47
|
+
radius?: string | number;
|
|
48
|
+
loading?: boolean;
|
|
49
|
+
children?: React.ReactNode;
|
|
50
|
+
}
|
|
51
|
+
declare const Skeleton: React.FC<SkeletonProps>;
|
|
52
|
+
|
|
53
|
+
type TabsProps = {
|
|
54
|
+
tabs: string[];
|
|
55
|
+
activeTab: number;
|
|
56
|
+
setActiveTab: (tab: number) => void;
|
|
57
|
+
};
|
|
58
|
+
declare function Tabs(props: TabsProps): react_jsx_runtime.JSX.Element;
|
|
59
|
+
|
|
42
60
|
declare const index_AlphaAvatar: typeof AlphaAvatar;
|
|
43
61
|
declare const index_Button: typeof Button;
|
|
44
62
|
declare const index_Drawer: typeof Drawer;
|
|
@@ -50,9 +68,11 @@ declare const index_ModalWithHeader: typeof ModalWithHeader;
|
|
|
50
68
|
declare const index_Overlay: typeof Overlay;
|
|
51
69
|
declare const index_Popover: typeof Popover;
|
|
52
70
|
declare const index_Radio: typeof Radio;
|
|
71
|
+
declare const index_Skeleton: typeof Skeleton;
|
|
53
72
|
declare const index_Switch: typeof Switch;
|
|
73
|
+
declare const index_Tabs: typeof Tabs;
|
|
54
74
|
declare namespace index {
|
|
55
|
-
export { index_AlphaAvatar as AlphaAvatar, index_Button as Button, index_Drawer as Drawer, index_Field as Field, export_default as HashPanel, index_Input as Input, index_Modal as Modal, index_ModalDrawer as ModalDrawer, index_ModalWithHeader as ModalWithHeader, index_Overlay as Overlay, index_Popover as Popover, index_Radio as Radio, index_Switch as Switch };
|
|
75
|
+
export { index_AlphaAvatar as AlphaAvatar, index_Button as Button, index_Drawer as Drawer, index_Field as Field, export_default as HashPanel, index_Input as Input, index_Modal as Modal, index_ModalDrawer as ModalDrawer, index_ModalWithHeader as ModalWithHeader, index_Overlay as Overlay, index_Popover as Popover, index_Radio as Radio, index_Skeleton as Skeleton, index_Switch as Switch, index_Tabs as Tabs };
|
|
56
76
|
}
|
|
57
77
|
|
|
58
|
-
export { AlphaAvatar as A, Drawer as D, ModalDrawer as M, Radio as R, Switch as S, export_default as e, index as i };
|
|
78
|
+
export { AlphaAvatar as A, Drawer as D, ModalDrawer as M, Radio as R, Switch as S, Tabs as T, Skeleton as a, export_default as e, index as i };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { ReactNode, PropsWithChildren } from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { G as InputProps, B as ButtonProps, N as ModalProps, M as ModalWithHeaderProps, T as PopoverProps } from './types-i_ugbm5B.js';
|
|
4
4
|
|
|
5
5
|
declare function Field({ label, children, error, required, className }: {
|
|
6
6
|
label: ReactNode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { E as EmailModalProps, b as LoginBoxProps, B as ButtonProps, O as OtherLoginMethodType, R as RecommendLoginMethodType, c as WalletType, P as PopoverPositionType, d as PopoverTypeType, e as LoginPanelProps, f as LoginModalProps, M as ModalWithHeaderProps, g as WalletAssetMergeType, u as useMatchWalletAssetsProps } from './types-
|
|
3
|
-
import { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-
|
|
2
|
+
import { E as EmailModalProps, b as LoginBoxProps, B as ButtonProps, O as OtherLoginMethodType, R as RecommendLoginMethodType, c as WalletType, P as PopoverPositionType, d as PopoverTypeType, e as LoginPanelProps, f as LoginModalProps, M as ModalWithHeaderProps, g as WalletAssetMergeType, u as useMatchWalletAssetsProps } from './types-i_ugbm5B.js';
|
|
3
|
+
import { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-CZHjwqDb.js';
|
|
4
4
|
import { ReactNode } from 'react';
|
|
5
5
|
|
|
6
6
|
declare function EmailModal({ isOpen, width, onClose, onBack, onLogin }: EmailModalProps): react_jsx_runtime.JSX.Element;
|
|
@@ -81,8 +81,14 @@ declare function TransactionList({ scrollableTarget }: {
|
|
|
81
81
|
scrollableTarget?: ReactNode;
|
|
82
82
|
}): react_jsx_runtime.JSX.Element;
|
|
83
83
|
|
|
84
|
+
declare function ContactList({ height, type }: {
|
|
85
|
+
height?: number;
|
|
86
|
+
type?: "Friend" | "Requests";
|
|
87
|
+
}): react_jsx_runtime.JSX.Element;
|
|
88
|
+
|
|
84
89
|
declare const index_BTCModal: typeof BTCModal;
|
|
85
90
|
declare const index_Button: typeof Button;
|
|
91
|
+
declare const index_ContactList: typeof ContactList;
|
|
86
92
|
declare const index_EVMModal: typeof EVMModal;
|
|
87
93
|
declare const index_EmailModal: typeof EmailModal;
|
|
88
94
|
declare const index_Field: typeof Field;
|
|
@@ -105,7 +111,7 @@ declare const index_UsernameModal: typeof UsernameModal;
|
|
|
105
111
|
declare const index_WalletAsset: typeof WalletAsset;
|
|
106
112
|
declare const index_WalletModal: typeof WalletModal;
|
|
107
113
|
declare namespace index {
|
|
108
|
-
export { index_BTCModal as BTCModal, index_Button as Button, index_EVMModal as EVMModal, index_EmailModal as EmailModal, index_Field as Field, index_Input as Input, index_LoginBox as LoginBox, index_LoginButton as LoginButton, index_LoginModal as LoginModal, index_LoginPanel as LoginPanel, index_Modal as Modal, index_ModalWithHeader as ModalWithHeader, index_Overlay as Overlay, index_Popover as Popover, index_TONModal as TONModal, index_TRONModal as TRONModal, index_TokenDetail as TokenDetail, index_TokenSend as TokenSend, index_TokenSendList as TokenSendList, index_TransactionList as TransactionList, index_UsernameModal as UsernameModal, index_WalletAsset as WalletAsset, index_WalletModal as WalletModal };
|
|
114
|
+
export { index_BTCModal as BTCModal, index_Button as Button, index_ContactList as ContactList, index_EVMModal as EVMModal, index_EmailModal as EmailModal, index_Field as Field, index_Input as Input, index_LoginBox as LoginBox, index_LoginButton as LoginButton, index_LoginModal as LoginModal, index_LoginPanel as LoginPanel, index_Modal as Modal, index_ModalWithHeader as ModalWithHeader, index_Overlay as Overlay, index_Popover as Popover, index_TONModal as TONModal, index_TRONModal as TRONModal, index_TokenDetail as TokenDetail, index_TokenSend as TokenSend, index_TokenSendList as TokenSendList, index_TransactionList as TransactionList, index_UsernameModal as UsernameModal, index_WalletAsset as WalletAsset, index_WalletModal as WalletModal };
|
|
109
115
|
}
|
|
110
116
|
|
|
111
|
-
export { BTCModal as B, EmailModal as E, LoginBox as L, TRONModal as T, UsernameModal as U, WalletModal as W, LoginButton as a, LoginPanel as b, LoginModal as c, EVMModal as d, TONModal as e, WalletAsset as f, TokenDetail as g, TokenSend as h, index as i, TokenSendList as j, TransactionList as k };
|
|
117
|
+
export { BTCModal as B, ContactList as C, EmailModal as E, LoginBox as L, TRONModal as T, UsernameModal as U, WalletModal as W, LoginButton as a, LoginPanel as b, LoginModal as c, EVMModal as d, TONModal as e, WalletAsset as f, TokenDetail as g, TokenSend as h, index as i, TokenSendList as j, TransactionList as k };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-
|
|
1
|
+
import { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-DYkN9eDY.mjs';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
-
import {
|
|
3
|
+
import { w as DrawerProps, a3 as WalletPanelProps, Y as UIProps } from './types-i_ugbm5B.mjs';
|
|
4
4
|
import { Hash, Chain } from 'viem';
|
|
5
|
-
import { CSSProperties } from 'react';
|
|
5
|
+
import React, { CSSProperties } from 'react';
|
|
6
6
|
|
|
7
7
|
declare function Drawer({ children, showClose, onClose, isOpen, title, zIndex, onBack }: DrawerProps): react_jsx_runtime.JSX.Element;
|
|
8
8
|
|
|
@@ -39,6 +39,24 @@ declare function Radio({ checked, onChange, size, color, className, style }: {
|
|
|
39
39
|
style?: CSSProperties;
|
|
40
40
|
}): react_jsx_runtime.JSX.Element;
|
|
41
41
|
|
|
42
|
+
interface SkeletonProps {
|
|
43
|
+
style?: React.CSSProperties;
|
|
44
|
+
className?: string;
|
|
45
|
+
width?: string | number;
|
|
46
|
+
height?: string | number;
|
|
47
|
+
radius?: string | number;
|
|
48
|
+
loading?: boolean;
|
|
49
|
+
children?: React.ReactNode;
|
|
50
|
+
}
|
|
51
|
+
declare const Skeleton: React.FC<SkeletonProps>;
|
|
52
|
+
|
|
53
|
+
type TabsProps = {
|
|
54
|
+
tabs: string[];
|
|
55
|
+
activeTab: number;
|
|
56
|
+
setActiveTab: (tab: number) => void;
|
|
57
|
+
};
|
|
58
|
+
declare function Tabs(props: TabsProps): react_jsx_runtime.JSX.Element;
|
|
59
|
+
|
|
42
60
|
declare const index_AlphaAvatar: typeof AlphaAvatar;
|
|
43
61
|
declare const index_Button: typeof Button;
|
|
44
62
|
declare const index_Drawer: typeof Drawer;
|
|
@@ -50,9 +68,11 @@ declare const index_ModalWithHeader: typeof ModalWithHeader;
|
|
|
50
68
|
declare const index_Overlay: typeof Overlay;
|
|
51
69
|
declare const index_Popover: typeof Popover;
|
|
52
70
|
declare const index_Radio: typeof Radio;
|
|
71
|
+
declare const index_Skeleton: typeof Skeleton;
|
|
53
72
|
declare const index_Switch: typeof Switch;
|
|
73
|
+
declare const index_Tabs: typeof Tabs;
|
|
54
74
|
declare namespace index {
|
|
55
|
-
export { index_AlphaAvatar as AlphaAvatar, index_Button as Button, index_Drawer as Drawer, index_Field as Field, export_default as HashPanel, index_Input as Input, index_Modal as Modal, index_ModalDrawer as ModalDrawer, index_ModalWithHeader as ModalWithHeader, index_Overlay as Overlay, index_Popover as Popover, index_Radio as Radio, index_Switch as Switch };
|
|
75
|
+
export { index_AlphaAvatar as AlphaAvatar, index_Button as Button, index_Drawer as Drawer, index_Field as Field, export_default as HashPanel, index_Input as Input, index_Modal as Modal, index_ModalDrawer as ModalDrawer, index_ModalWithHeader as ModalWithHeader, index_Overlay as Overlay, index_Popover as Popover, index_Radio as Radio, index_Skeleton as Skeleton, index_Switch as Switch, index_Tabs as Tabs };
|
|
56
76
|
}
|
|
57
77
|
|
|
58
|
-
export { AlphaAvatar as A, Drawer as D, ModalDrawer as M, Radio as R, Switch as S, export_default as e, index as i };
|
|
78
|
+
export { AlphaAvatar as A, Drawer as D, ModalDrawer as M, Radio as R, Switch as S, Tabs as T, Skeleton as a, export_default as e, index as i };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { ReactNode, PropsWithChildren } from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { G as InputProps, B as ButtonProps, N as ModalProps, M as ModalWithHeaderProps, T as PopoverProps } from './types-i_ugbm5B.mjs';
|
|
4
4
|
|
|
5
5
|
declare function Field({ label, children, error, required, className }: {
|
|
6
6
|
label: ReactNode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
2
|
import { UseQueryOptions } from '@tanstack/react-query/src/types';
|
|
3
|
-
import {
|
|
3
|
+
import { S as PohZkpassParams, m as UserTransactionType, _ as UserTransactionNextPageParams, a0 as WalletAssetType, K as MetaPageType, s as BindItemType, r as BindInfoType, Q as PohItemType, U as UserChainType, o as UserAssetToken, n as UserImportTokenType, a1 as WalletChainType, a2 as WalletNFTType, v as ContactType } from './types-i_ugbm5B.mjs';
|
|
4
4
|
|
|
5
5
|
declare const isSuccess: (res: {
|
|
6
6
|
code: number;
|
|
@@ -133,13 +133,28 @@ declare namespace wallet {
|
|
|
133
133
|
export { wallet_USER_IMPORT_TOKEN_LIST_KEY as USER_IMPORT_TOKEN_LIST_KEY, wallet_getUserWalletTransactionsApi as getUserWalletTransactionsApi, wallet_getWalletAssetListApi as getWalletAssetListApi, wallet_getWalletListApi as getWalletListApi, wallet_useAssetListQuery as useAssetListQuery, wallet_useChainListQuery as useChainListQuery, wallet_useImportTokenListQuery as useImportTokenListQuery, wallet_useWalletAssetListQuery as useWalletAssetListQuery, wallet_useWalletChainListQuery as useWalletChainListQuery, wallet_useWalletNftListQuery as useWalletNftListQuery, wallet_userImportTokenApi as userImportTokenApi };
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
+
declare function useContactList(page_size?: number, type?: "Friend" | "Requests"): {
|
|
137
|
+
data: ContactType[];
|
|
138
|
+
totalCount: number;
|
|
139
|
+
loading: boolean;
|
|
140
|
+
loadingNextPage: boolean;
|
|
141
|
+
hasNextPage: boolean;
|
|
142
|
+
onLoadMore: (options?: _tanstack_react_query.FetchNextPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<MetaPageType<ContactType>, unknown>, Error>>;
|
|
143
|
+
};
|
|
144
|
+
|
|
145
|
+
declare const contact_useContactList: typeof useContactList;
|
|
146
|
+
declare namespace contact {
|
|
147
|
+
export { contact_useContactList as useContactList };
|
|
148
|
+
}
|
|
149
|
+
|
|
136
150
|
declare const index_bind: typeof bind;
|
|
151
|
+
declare const index_contact: typeof contact;
|
|
137
152
|
declare const index_isSuccess: typeof isSuccess;
|
|
138
153
|
declare const index_poh: typeof poh;
|
|
139
154
|
declare const index_user: typeof user;
|
|
140
155
|
declare const index_wallet: typeof wallet;
|
|
141
156
|
declare namespace index {
|
|
142
|
-
export { index_bind as bind, index_isSuccess as isSuccess, index_poh as poh, index_user as user, index_wallet as wallet };
|
|
157
|
+
export { index_bind as bind, index_contact as contact, index_isSuccess as isSuccess, index_poh as poh, index_user as user, index_wallet as wallet };
|
|
143
158
|
}
|
|
144
159
|
|
|
145
|
-
export { isSuccess as a, bind as b, index as i, poh as p, user as u, wallet as w };
|
|
160
|
+
export { isSuccess as a, bind as b, contact as c, index as i, poh as p, user as u, wallet as w };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Address, l as AnyObject, p as AppConfigType, q as AuthParams, r as BindInfoType, s as BindItemType, t as BindWalletParam, B as ButtonProps, C as CEXType, k as ChainType, D as DeepPartial,
|
|
1
|
+
import { A as Address, l as AnyObject, p as AppConfigType, q as AuthParams, r as BindInfoType, s as BindItemType, t as BindWalletParam, B as ButtonProps, C as CEXType, k as ChainType, v as ContactType, D as DeepPartial, w as DrawerProps, E as EmailModalProps, x as EmbeddedWalletsParams, H as Hash, a as IEnvConfigType, y as IEnvName, z as ILoginWalletReq, I as IMatchEvents, h as ISocialLoginMethod, F as IconProps, G as InputProps, L as LocaleType, b as LoginBoxProps, j as LoginMethodType, f as LoginModalProps, e as LoginPanelProps, J as MessageType, K as MetaPageType, N as ModalProps, M as ModalWithHeaderProps, O as OtherLoginMethodType, i as OverviewInfo, Q as PohItemType, S as PohZkpassParams, P as PopoverPositionType, T as PopoverProps, d as PopoverTypeType, R as RecommendLoginMethodType, V as RecoveryType, X as ThemeType, Y as UIProps, o as UserAssetToken, U as UserChainType, n as UserImportTokenType, Z as UserPopoverProps, _ as UserTransactionNextPageParams, $ as UserTransactionRecordType, m as UserTransactionType, g as WalletAssetMergeType, a0 as WalletAssetType, a1 as WalletChainType, W as WalletConfigType, a2 as WalletNFTType, a3 as WalletPanelProps, a4 as WalletReceiveMessageType, a5 as WalletStatusType, c as WalletType, u as useMatchWalletAssetsProps } from './types-i_ugbm5B.mjs';
|
|
2
2
|
|
|
3
3
|
declare const index_Address: typeof Address;
|
|
4
4
|
declare const index_AnyObject: typeof AnyObject;
|
|
@@ -10,6 +10,7 @@ declare const index_BindWalletParam: typeof BindWalletParam;
|
|
|
10
10
|
declare const index_ButtonProps: typeof ButtonProps;
|
|
11
11
|
declare const index_CEXType: typeof CEXType;
|
|
12
12
|
declare const index_ChainType: typeof ChainType;
|
|
13
|
+
declare const index_ContactType: typeof ContactType;
|
|
13
14
|
declare const index_DeepPartial: typeof DeepPartial;
|
|
14
15
|
declare const index_DrawerProps: typeof DrawerProps;
|
|
15
16
|
declare const index_EmailModalProps: typeof EmailModalProps;
|
|
@@ -60,7 +61,7 @@ declare const index_WalletStatusType: typeof WalletStatusType;
|
|
|
60
61
|
declare const index_WalletType: typeof WalletType;
|
|
61
62
|
declare const index_useMatchWalletAssetsProps: typeof useMatchWalletAssetsProps;
|
|
62
63
|
declare namespace index {
|
|
63
|
-
export { index_Address as Address, index_AnyObject as AnyObject, index_AppConfigType as AppConfigType, index_AuthParams as AuthParams, index_BindInfoType as BindInfoType, index_BindItemType as BindItemType, index_BindWalletParam as BindWalletParam, index_ButtonProps as ButtonProps, index_CEXType as CEXType, index_ChainType as ChainType, index_DeepPartial as DeepPartial, index_DrawerProps as DrawerProps, index_EmailModalProps as EmailModalProps, index_EmbeddedWalletsParams as EmbeddedWalletsParams, index_Hash as Hash, index_IEnvConfigType as IEnvConfigType, index_IEnvName as IEnvName, index_ILoginWalletReq as ILoginWalletReq, index_IMatchEvents as IMatchEvents, index_ISocialLoginMethod as ISocialLoginMethod, index_IconProps as IconProps, index_InputProps as InputProps, index_LocaleType as LocaleType, index_LoginBoxProps as LoginBoxProps, index_LoginMethodType as LoginMethodType, index_LoginModalProps as LoginModalProps, index_LoginPanelProps as LoginPanelProps, index_MessageType as MessageType, index_MetaPageType as MetaPageType, index_ModalProps as ModalProps, index_ModalWithHeaderProps as ModalWithHeaderProps, index_OtherLoginMethodType as OtherLoginMethodType, index_OverviewInfo as OverviewInfo, index_PohItemType as PohItemType, index_PohZkpassParams as PohZkpassParams, index_PopoverPositionType as PopoverPositionType, index_PopoverProps as PopoverProps, index_PopoverTypeType as PopoverTypeType, index_RecommendLoginMethodType as RecommendLoginMethodType, index_RecoveryType as RecoveryType, index_ThemeType as ThemeType, index_UIProps as UIProps, index_UserAssetToken as UserAssetToken, index_UserChainType as UserChainType, index_UserImportTokenType as UserImportTokenType, index_UserPopoverProps as UserPopoverProps, index_UserTransactionNextPageParams as UserTransactionNextPageParams, index_UserTransactionRecordType as UserTransactionRecordType, index_UserTransactionType as UserTransactionType, index_WalletAssetMergeType as WalletAssetMergeType, index_WalletAssetType as WalletAssetType, index_WalletChainType as WalletChainType, index_WalletConfigType as WalletConfigType, index_WalletNFTType as WalletNFTType, index_WalletPanelProps as WalletPanelProps, index_WalletReceiveMessageType as WalletReceiveMessageType, index_WalletStatusType as WalletStatusType, index_WalletType as WalletType, index_useMatchWalletAssetsProps as useMatchWalletAssetsProps };
|
|
64
|
+
export { index_Address as Address, index_AnyObject as AnyObject, index_AppConfigType as AppConfigType, index_AuthParams as AuthParams, index_BindInfoType as BindInfoType, index_BindItemType as BindItemType, index_BindWalletParam as BindWalletParam, index_ButtonProps as ButtonProps, index_CEXType as CEXType, index_ChainType as ChainType, index_ContactType as ContactType, index_DeepPartial as DeepPartial, index_DrawerProps as DrawerProps, index_EmailModalProps as EmailModalProps, index_EmbeddedWalletsParams as EmbeddedWalletsParams, index_Hash as Hash, index_IEnvConfigType as IEnvConfigType, index_IEnvName as IEnvName, index_ILoginWalletReq as ILoginWalletReq, index_IMatchEvents as IMatchEvents, index_ISocialLoginMethod as ISocialLoginMethod, index_IconProps as IconProps, index_InputProps as InputProps, index_LocaleType as LocaleType, index_LoginBoxProps as LoginBoxProps, index_LoginMethodType as LoginMethodType, index_LoginModalProps as LoginModalProps, index_LoginPanelProps as LoginPanelProps, index_MessageType as MessageType, index_MetaPageType as MetaPageType, index_ModalProps as ModalProps, index_ModalWithHeaderProps as ModalWithHeaderProps, index_OtherLoginMethodType as OtherLoginMethodType, index_OverviewInfo as OverviewInfo, index_PohItemType as PohItemType, index_PohZkpassParams as PohZkpassParams, index_PopoverPositionType as PopoverPositionType, index_PopoverProps as PopoverProps, index_PopoverTypeType as PopoverTypeType, index_RecommendLoginMethodType as RecommendLoginMethodType, index_RecoveryType as RecoveryType, index_ThemeType as ThemeType, index_UIProps as UIProps, index_UserAssetToken as UserAssetToken, index_UserChainType as UserChainType, index_UserImportTokenType as UserImportTokenType, index_UserPopoverProps as UserPopoverProps, index_UserTransactionNextPageParams as UserTransactionNextPageParams, index_UserTransactionRecordType as UserTransactionRecordType, index_UserTransactionType as UserTransactionType, index_WalletAssetMergeType as WalletAssetMergeType, index_WalletAssetType as WalletAssetType, index_WalletChainType as WalletChainType, index_WalletConfigType as WalletConfigType, index_WalletNFTType as WalletNFTType, index_WalletPanelProps as WalletPanelProps, index_WalletReceiveMessageType as WalletReceiveMessageType, index_WalletStatusType as WalletStatusType, index_WalletType as WalletType, index_useMatchWalletAssetsProps as useMatchWalletAssetsProps };
|
|
64
65
|
}
|
|
65
66
|
|
|
66
67
|
export { index as i };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as ISocialLoginMethod, i as OverviewInfo, C as CEXType, j as LoginMethodType, I as IMatchEvents, k as ChainType, U as UserChainType, A as Address, H as Hash$1, l as AnyObject, m as UserTransactionType, u as useMatchWalletAssetsProps, n as UserImportTokenType, o as UserAssetToken, g as WalletAssetMergeType } from './types-
|
|
1
|
+
import { h as ISocialLoginMethod, i as OverviewInfo, C as CEXType, j as LoginMethodType, I as IMatchEvents, k as ChainType, U as UserChainType, A as Address, H as Hash$1, l as AnyObject, m as UserTransactionType, u as useMatchWalletAssetsProps, n as UserImportTokenType, o as UserAssetToken, g as WalletAssetMergeType } from './types-i_ugbm5B.js';
|
|
2
2
|
import * as viem from 'viem';
|
|
3
3
|
import { Account, WalletClientConfig, createWalletClient, SignableMessage, Hex, TransactionSerializable, DeployContractParameters, SendTransactionParameters, WriteContractParameters, Chain } from 'viem';
|
|
4
4
|
import { Hash } from 'viem/types/misc';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Address, l as AnyObject, p as AppConfigType, q as AuthParams, r as BindInfoType, s as BindItemType, t as BindWalletParam, B as ButtonProps, C as CEXType, k as ChainType, D as DeepPartial,
|
|
1
|
+
import { A as Address, l as AnyObject, p as AppConfigType, q as AuthParams, r as BindInfoType, s as BindItemType, t as BindWalletParam, B as ButtonProps, C as CEXType, k as ChainType, v as ContactType, D as DeepPartial, w as DrawerProps, E as EmailModalProps, x as EmbeddedWalletsParams, H as Hash, a as IEnvConfigType, y as IEnvName, z as ILoginWalletReq, I as IMatchEvents, h as ISocialLoginMethod, F as IconProps, G as InputProps, L as LocaleType, b as LoginBoxProps, j as LoginMethodType, f as LoginModalProps, e as LoginPanelProps, J as MessageType, K as MetaPageType, N as ModalProps, M as ModalWithHeaderProps, O as OtherLoginMethodType, i as OverviewInfo, Q as PohItemType, S as PohZkpassParams, P as PopoverPositionType, T as PopoverProps, d as PopoverTypeType, R as RecommendLoginMethodType, V as RecoveryType, X as ThemeType, Y as UIProps, o as UserAssetToken, U as UserChainType, n as UserImportTokenType, Z as UserPopoverProps, _ as UserTransactionNextPageParams, $ as UserTransactionRecordType, m as UserTransactionType, g as WalletAssetMergeType, a0 as WalletAssetType, a1 as WalletChainType, W as WalletConfigType, a2 as WalletNFTType, a3 as WalletPanelProps, a4 as WalletReceiveMessageType, a5 as WalletStatusType, c as WalletType, u as useMatchWalletAssetsProps } from './types-i_ugbm5B.js';
|
|
2
2
|
|
|
3
3
|
declare const index_Address: typeof Address;
|
|
4
4
|
declare const index_AnyObject: typeof AnyObject;
|
|
@@ -10,6 +10,7 @@ declare const index_BindWalletParam: typeof BindWalletParam;
|
|
|
10
10
|
declare const index_ButtonProps: typeof ButtonProps;
|
|
11
11
|
declare const index_CEXType: typeof CEXType;
|
|
12
12
|
declare const index_ChainType: typeof ChainType;
|
|
13
|
+
declare const index_ContactType: typeof ContactType;
|
|
13
14
|
declare const index_DeepPartial: typeof DeepPartial;
|
|
14
15
|
declare const index_DrawerProps: typeof DrawerProps;
|
|
15
16
|
declare const index_EmailModalProps: typeof EmailModalProps;
|
|
@@ -60,7 +61,7 @@ declare const index_WalletStatusType: typeof WalletStatusType;
|
|
|
60
61
|
declare const index_WalletType: typeof WalletType;
|
|
61
62
|
declare const index_useMatchWalletAssetsProps: typeof useMatchWalletAssetsProps;
|
|
62
63
|
declare namespace index {
|
|
63
|
-
export { index_Address as Address, index_AnyObject as AnyObject, index_AppConfigType as AppConfigType, index_AuthParams as AuthParams, index_BindInfoType as BindInfoType, index_BindItemType as BindItemType, index_BindWalletParam as BindWalletParam, index_ButtonProps as ButtonProps, index_CEXType as CEXType, index_ChainType as ChainType, index_DeepPartial as DeepPartial, index_DrawerProps as DrawerProps, index_EmailModalProps as EmailModalProps, index_EmbeddedWalletsParams as EmbeddedWalletsParams, index_Hash as Hash, index_IEnvConfigType as IEnvConfigType, index_IEnvName as IEnvName, index_ILoginWalletReq as ILoginWalletReq, index_IMatchEvents as IMatchEvents, index_ISocialLoginMethod as ISocialLoginMethod, index_IconProps as IconProps, index_InputProps as InputProps, index_LocaleType as LocaleType, index_LoginBoxProps as LoginBoxProps, index_LoginMethodType as LoginMethodType, index_LoginModalProps as LoginModalProps, index_LoginPanelProps as LoginPanelProps, index_MessageType as MessageType, index_MetaPageType as MetaPageType, index_ModalProps as ModalProps, index_ModalWithHeaderProps as ModalWithHeaderProps, index_OtherLoginMethodType as OtherLoginMethodType, index_OverviewInfo as OverviewInfo, index_PohItemType as PohItemType, index_PohZkpassParams as PohZkpassParams, index_PopoverPositionType as PopoverPositionType, index_PopoverProps as PopoverProps, index_PopoverTypeType as PopoverTypeType, index_RecommendLoginMethodType as RecommendLoginMethodType, index_RecoveryType as RecoveryType, index_ThemeType as ThemeType, index_UIProps as UIProps, index_UserAssetToken as UserAssetToken, index_UserChainType as UserChainType, index_UserImportTokenType as UserImportTokenType, index_UserPopoverProps as UserPopoverProps, index_UserTransactionNextPageParams as UserTransactionNextPageParams, index_UserTransactionRecordType as UserTransactionRecordType, index_UserTransactionType as UserTransactionType, index_WalletAssetMergeType as WalletAssetMergeType, index_WalletAssetType as WalletAssetType, index_WalletChainType as WalletChainType, index_WalletConfigType as WalletConfigType, index_WalletNFTType as WalletNFTType, index_WalletPanelProps as WalletPanelProps, index_WalletReceiveMessageType as WalletReceiveMessageType, index_WalletStatusType as WalletStatusType, index_WalletType as WalletType, index_useMatchWalletAssetsProps as useMatchWalletAssetsProps };
|
|
64
|
+
export { index_Address as Address, index_AnyObject as AnyObject, index_AppConfigType as AppConfigType, index_AuthParams as AuthParams, index_BindInfoType as BindInfoType, index_BindItemType as BindItemType, index_BindWalletParam as BindWalletParam, index_ButtonProps as ButtonProps, index_CEXType as CEXType, index_ChainType as ChainType, index_ContactType as ContactType, index_DeepPartial as DeepPartial, index_DrawerProps as DrawerProps, index_EmailModalProps as EmailModalProps, index_EmbeddedWalletsParams as EmbeddedWalletsParams, index_Hash as Hash, index_IEnvConfigType as IEnvConfigType, index_IEnvName as IEnvName, index_ILoginWalletReq as ILoginWalletReq, index_IMatchEvents as IMatchEvents, index_ISocialLoginMethod as ISocialLoginMethod, index_IconProps as IconProps, index_InputProps as InputProps, index_LocaleType as LocaleType, index_LoginBoxProps as LoginBoxProps, index_LoginMethodType as LoginMethodType, index_LoginModalProps as LoginModalProps, index_LoginPanelProps as LoginPanelProps, index_MessageType as MessageType, index_MetaPageType as MetaPageType, index_ModalProps as ModalProps, index_ModalWithHeaderProps as ModalWithHeaderProps, index_OtherLoginMethodType as OtherLoginMethodType, index_OverviewInfo as OverviewInfo, index_PohItemType as PohItemType, index_PohZkpassParams as PohZkpassParams, index_PopoverPositionType as PopoverPositionType, index_PopoverProps as PopoverProps, index_PopoverTypeType as PopoverTypeType, index_RecommendLoginMethodType as RecommendLoginMethodType, index_RecoveryType as RecoveryType, index_ThemeType as ThemeType, index_UIProps as UIProps, index_UserAssetToken as UserAssetToken, index_UserChainType as UserChainType, index_UserImportTokenType as UserImportTokenType, index_UserPopoverProps as UserPopoverProps, index_UserTransactionNextPageParams as UserTransactionNextPageParams, index_UserTransactionRecordType as UserTransactionRecordType, index_UserTransactionType as UserTransactionType, index_WalletAssetMergeType as WalletAssetMergeType, index_WalletAssetType as WalletAssetType, index_WalletChainType as WalletChainType, index_WalletConfigType as WalletConfigType, index_WalletNFTType as WalletNFTType, index_WalletPanelProps as WalletPanelProps, index_WalletReceiveMessageType as WalletReceiveMessageType, index_WalletStatusType as WalletStatusType, index_WalletType as WalletType, index_useMatchWalletAssetsProps as useMatchWalletAssetsProps };
|
|
64
65
|
}
|
|
65
66
|
|
|
66
67
|
export { index as i };
|
package/dist/index.css
CHANGED
|
@@ -140,6 +140,9 @@ body {
|
|
|
140
140
|
/**matchid-transaction-list**/
|
|
141
141
|
--matchid-wallet-transaction-bg: var(--matchid-white);
|
|
142
142
|
--matchid-wallet-transaction-color: var(--matchid-black);
|
|
143
|
+
/**tab**/
|
|
144
|
+
--matchid-tab-color:var(--matchid-secondary-grey);
|
|
145
|
+
--matchid-tab-active-color: var(--matchid-highlight-orange);
|
|
143
146
|
|
|
144
147
|
|
|
145
148
|
}
|
|
@@ -400,7 +403,7 @@ body {
|
|
|
400
403
|
overflow: hidden;
|
|
401
404
|
backdrop-filter: blur(2px);
|
|
402
405
|
background: rgba(0, 0, 0, .3);
|
|
403
|
-
color:var(--matchid-overlay-color);
|
|
406
|
+
color: var(--matchid-overlay-color);
|
|
404
407
|
@media screen and (max-width: 768px) {
|
|
405
408
|
align-items: center;
|
|
406
409
|
}
|
|
@@ -1183,7 +1186,7 @@ body {
|
|
|
1183
1186
|
flex-direction: column;
|
|
1184
1187
|
gap: 48px;
|
|
1185
1188
|
@media screen and (max-width: 768px) {
|
|
1186
|
-
gap:36px;
|
|
1189
|
+
gap: 36px;
|
|
1187
1190
|
}
|
|
1188
1191
|
|
|
1189
1192
|
.matchid-change-network-list {
|
|
@@ -1218,7 +1221,7 @@ body {
|
|
|
1218
1221
|
align-items: center;
|
|
1219
1222
|
gap: 16px;
|
|
1220
1223
|
@media screen and (max-width: 768px) {
|
|
1221
|
-
gap:8px;
|
|
1224
|
+
gap: 8px;
|
|
1222
1225
|
}
|
|
1223
1226
|
|
|
1224
1227
|
.matchid-change-network-item-icon {
|
|
@@ -1288,6 +1291,7 @@ body {
|
|
|
1288
1291
|
@media screen and (max-width: 768px) {
|
|
1289
1292
|
gap: 24px;
|
|
1290
1293
|
}
|
|
1294
|
+
|
|
1291
1295
|
.matchid-receive-text {
|
|
1292
1296
|
font-size: 14px;
|
|
1293
1297
|
font-weight: 500;
|
|
@@ -1304,6 +1308,7 @@ body {
|
|
|
1304
1308
|
@media screen and (max-width: 768px) {
|
|
1305
1309
|
padding: 10px;
|
|
1306
1310
|
}
|
|
1311
|
+
|
|
1307
1312
|
.matchid-qr-code {
|
|
1308
1313
|
width: 148px;
|
|
1309
1314
|
height: 148px;
|
|
@@ -1352,7 +1357,7 @@ body {
|
|
|
1352
1357
|
|
|
1353
1358
|
.matchid-wallet-asset-item {
|
|
1354
1359
|
|
|
1355
|
-
background:var(--matchid-wallet-asset-bg);
|
|
1360
|
+
background: var(--matchid-wallet-asset-bg);
|
|
1356
1361
|
color: var(--matchid-wallet-asset-color);
|
|
1357
1362
|
display: flex;
|
|
1358
1363
|
cursor: pointer;
|
|
@@ -1379,6 +1384,7 @@ body {
|
|
|
1379
1384
|
width: 36px;
|
|
1380
1385
|
height: 36px;
|
|
1381
1386
|
}
|
|
1387
|
+
|
|
1382
1388
|
.matchid-wallet-asset-icon {
|
|
1383
1389
|
width: 40px;
|
|
1384
1390
|
height: 40px;
|
|
@@ -1397,8 +1403,8 @@ body {
|
|
|
1397
1403
|
right: 0px;
|
|
1398
1404
|
bottom: 1px;
|
|
1399
1405
|
@media screen and (max-width: 768px) {
|
|
1400
|
-
wdth:10px;
|
|
1401
|
-
height:10px;
|
|
1406
|
+
wdth: 10px;
|
|
1407
|
+
height: 10px;
|
|
1402
1408
|
}
|
|
1403
1409
|
}
|
|
1404
1410
|
}
|
|
@@ -1414,6 +1420,7 @@ body {
|
|
|
1414
1420
|
@media screen and (max-width: 768px) {
|
|
1415
1421
|
height: 44px;
|
|
1416
1422
|
}
|
|
1423
|
+
|
|
1417
1424
|
.matchid-wallet-asset-name {
|
|
1418
1425
|
font-size: 16px;
|
|
1419
1426
|
font-weight: 500;
|
|
@@ -1495,7 +1502,7 @@ body {
|
|
|
1495
1502
|
|
|
1496
1503
|
@media (max-width: 768px) {
|
|
1497
1504
|
padding-bottom: 0px;
|
|
1498
|
-
gap:36px;
|
|
1505
|
+
gap: 36px;
|
|
1499
1506
|
}
|
|
1500
1507
|
|
|
1501
1508
|
.matchid-token-main {
|
|
@@ -1549,7 +1556,7 @@ body {
|
|
|
1549
1556
|
background: var(--matchid-gray-100);
|
|
1550
1557
|
border-radius: 12px;
|
|
1551
1558
|
@media (max-width: 768px) {
|
|
1552
|
-
|
|
1559
|
+
gap: 8px;
|
|
1553
1560
|
}
|
|
1554
1561
|
|
|
1555
1562
|
.matchid-token-contract-title {
|
|
@@ -1583,7 +1590,7 @@ body {
|
|
|
1583
1590
|
gap: 40px;
|
|
1584
1591
|
@media (max-width: 768px) {
|
|
1585
1592
|
padding-bottom: 0px;
|
|
1586
|
-
gap:68px;
|
|
1593
|
+
gap: 68px;
|
|
1587
1594
|
}
|
|
1588
1595
|
|
|
1589
1596
|
.matchid-token-send-content {
|
|
@@ -1743,7 +1750,7 @@ body {
|
|
|
1743
1750
|
|
|
1744
1751
|
@media (max-width: 768px) {
|
|
1745
1752
|
padding-bottom: 0px;
|
|
1746
|
-
gap:36px;
|
|
1753
|
+
gap: 36px;
|
|
1747
1754
|
}
|
|
1748
1755
|
|
|
1749
1756
|
.matchid-token-send-list {
|
|
@@ -1840,7 +1847,7 @@ body {
|
|
|
1840
1847
|
border: 1px solid var(--matchid-line);
|
|
1841
1848
|
border-radius: 16px;
|
|
1842
1849
|
height: 78px;
|
|
1843
|
-
background:var(--matchid-wallet-transaction-bg);
|
|
1850
|
+
background: var(--matchid-wallet-transaction-bg);
|
|
1844
1851
|
color: var(--matchid-wallet-transaction-color);
|
|
1845
1852
|
@media screen and (max-width: 768px) {
|
|
1846
1853
|
height: 64px;
|
|
@@ -1907,7 +1914,8 @@ body {
|
|
|
1907
1914
|
gap: 8px;
|
|
1908
1915
|
font-size: 16px;
|
|
1909
1916
|
font-weight: 500;
|
|
1910
|
-
|
|
1917
|
+
|
|
1918
|
+
span {
|
|
1911
1919
|
text-align: right;
|
|
1912
1920
|
}
|
|
1913
1921
|
|
|
@@ -1966,7 +1974,7 @@ body {
|
|
|
1966
1974
|
justify-content: space-between;
|
|
1967
1975
|
@media screen and (max-width: 768px) {
|
|
1968
1976
|
padding-bottom: 0;
|
|
1969
|
-
gap:115px;
|
|
1977
|
+
gap: 115px;
|
|
1970
1978
|
}
|
|
1971
1979
|
|
|
1972
1980
|
.matchid-import-token-result-box {
|
|
@@ -1998,6 +2006,98 @@ body {
|
|
|
1998
2006
|
}
|
|
1999
2007
|
|
|
2000
2008
|
}
|
|
2001
|
-
|
|
2002
|
-
|
|
2009
|
+
|
|
2010
|
+
.matchid-error {
|
|
2011
|
+
color: var(--matchid-red-600);
|
|
2012
|
+
}
|
|
2013
|
+
|
|
2014
|
+
.matchid-skeleton {
|
|
2015
|
+
background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
|
|
2016
|
+
background-size: 200% 100%;
|
|
2017
|
+
animation: matchid-loading 1.5s infinite;
|
|
2018
|
+
}
|
|
2019
|
+
|
|
2020
|
+
@keyframes matchid-loading {
|
|
2021
|
+
0% {
|
|
2022
|
+
background-position: 200% 0;
|
|
2023
|
+
}
|
|
2024
|
+
100% {
|
|
2025
|
+
background-position: -200% 0;
|
|
2026
|
+
}
|
|
2027
|
+
}
|
|
2028
|
+
|
|
2029
|
+
.matchid-contact-item{
|
|
2030
|
+
justify-content: space-between;
|
|
2031
|
+
align-items: center;
|
|
2032
|
+
padding:8px 16px;
|
|
2033
|
+
.matchid-contact-item-content{
|
|
2034
|
+
height:48px;
|
|
2035
|
+
display: flex;
|
|
2036
|
+
gap:16px;
|
|
2037
|
+
align-items: center;
|
|
2038
|
+
.matchid-contact-item-avatar{
|
|
2039
|
+
width:48px;
|
|
2040
|
+
height:48px;
|
|
2041
|
+
border-radius: 50%;
|
|
2042
|
+
}
|
|
2043
|
+
.matchid-contact-item-info{
|
|
2044
|
+
display: flex;
|
|
2045
|
+
flex-direction: column;
|
|
2046
|
+
justify-content: space-between;
|
|
2047
|
+
height:100%;
|
|
2048
|
+
.matchid-contact-item-name{
|
|
2049
|
+
font-size: 18px;
|
|
2050
|
+
font-weight: 500;
|
|
2051
|
+
color: var(--matchid-black);
|
|
2052
|
+
}
|
|
2053
|
+
.matchid-contact-item-address{
|
|
2054
|
+
font-size: 14px;
|
|
2055
|
+
color: var(--matchid-secondary-grey);
|
|
2056
|
+
}
|
|
2057
|
+
@media screen and (max-width: 768px) {
|
|
2058
|
+
.matchid-contact-item-name{
|
|
2059
|
+
font-size: 16px;
|
|
2060
|
+
}
|
|
2061
|
+
.matchid-contact-item-address{
|
|
2062
|
+
font-size: 12px;
|
|
2063
|
+
}
|
|
2064
|
+
}
|
|
2065
|
+
}
|
|
2066
|
+
}
|
|
2067
|
+
|
|
2068
|
+
}
|
|
2069
|
+
|
|
2070
|
+
.matchid-nomore{
|
|
2071
|
+
display: flex;
|
|
2072
|
+
justify-content: center;
|
|
2073
|
+
align-items: center;
|
|
2074
|
+
font-weight: 500;
|
|
2075
|
+
font-size: 16px;
|
|
2076
|
+
color: var(--matchid-secondary-grey);
|
|
2077
|
+
padding:10px 0;
|
|
2078
|
+
@media screen and (max-width: 768px) {
|
|
2079
|
+
font-size: 14px;
|
|
2080
|
+
}
|
|
2081
|
+
}
|
|
2082
|
+
|
|
2083
|
+
.matchid-tabs{
|
|
2084
|
+
gap:36px;
|
|
2085
|
+
align-items: start;
|
|
2086
|
+
display: flex;
|
|
2087
|
+
}
|
|
2088
|
+
|
|
2089
|
+
.matchid-tab{
|
|
2090
|
+
color:var(--matchid-tab-color);
|
|
2091
|
+
font-weight:500;
|
|
2092
|
+
font-size: 20px;
|
|
2093
|
+
cursor: pointer;
|
|
2094
|
+
|
|
2095
|
+
@media screen and (max-width: 768px) {
|
|
2096
|
+
font-size: 14px;
|
|
2097
|
+
padding:10px 0;
|
|
2098
|
+
}
|
|
2099
|
+
&.matchid-tab-active{
|
|
2100
|
+
color:var(--matchid-tab-active-color);
|
|
2101
|
+
border-bottom: 2px solid var(--matchid-tab-active-color);
|
|
2102
|
+
}
|
|
2003
2103
|
}
|