@edgex-web/components 0.1.0-beta.9 → 0.2.0-beta.1

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.
Files changed (168) hide show
  1. package/dist/ccip-CR1DkSTs.mjs +150 -0
  2. package/dist/ccip-CR1DkSTs.mjs.map +1 -0
  3. package/dist/components/Deposit/index.d.ts +1 -8
  4. package/dist/components/Deposit/index.d.ts.map +1 -1
  5. package/dist/components/Deposit/src/DepositManager.d.ts +2 -0
  6. package/dist/components/Deposit/src/DepositManager.d.ts.map +1 -1
  7. package/dist/components/Deposit/src/components/evm/hooks/index.d.ts +3 -0
  8. package/dist/components/Deposit/src/components/evm/hooks/index.d.ts.map +1 -0
  9. package/dist/components/Deposit/src/components/evm/hooks/useApprove.d.ts +4 -0
  10. package/dist/components/Deposit/src/components/evm/hooks/useApprove.d.ts.map +1 -0
  11. package/dist/components/Deposit/src/components/evm/hooks/useDepositButtonState.d.ts +14 -0
  12. package/dist/components/Deposit/src/components/evm/hooks/useDepositButtonState.d.ts.map +1 -0
  13. package/dist/components/Deposit/src/components/evm/index.d.ts +6 -0
  14. package/dist/components/Deposit/src/components/evm/index.d.ts.map +1 -0
  15. package/dist/components/Deposit/src/components/evm/types/approve.d.ts +15 -0
  16. package/dist/components/Deposit/src/components/evm/types/approve.d.ts.map +1 -0
  17. package/dist/components/Deposit/src/components/evm/types/index.d.ts +16 -0
  18. package/dist/components/Deposit/src/components/evm/types/index.d.ts.map +1 -0
  19. package/dist/components/Deposit/src/components/evm/utils/format.d.ts +12 -0
  20. package/dist/components/Deposit/src/components/evm/utils/format.d.ts.map +1 -0
  21. package/dist/components/Deposit/src/components/evm/utils/index.d.ts +8 -0
  22. package/dist/components/Deposit/src/components/evm/utils/index.d.ts.map +1 -0
  23. package/dist/components/Deposit/src/components/mpc/index.d.ts +6 -0
  24. package/dist/components/Deposit/src/components/mpc/index.d.ts.map +1 -0
  25. package/dist/components/Deposit/src/components/mpc/types/index.d.ts +16 -0
  26. package/dist/components/Deposit/src/components/mpc/types/index.d.ts.map +1 -0
  27. package/dist/components/Deposit/src/constants/index.d.ts +4 -0
  28. package/dist/components/Deposit/src/constants/index.d.ts.map +1 -0
  29. package/dist/components/Deposit/src/hooks/useErc20BalanceOfWatcher.d.ts +14 -0
  30. package/dist/components/Deposit/src/hooks/useErc20BalanceOfWatcher.d.ts.map +1 -0
  31. package/dist/components/Deposit/src/hooks/useMulticallBalance.d.ts +3 -4
  32. package/dist/components/Deposit/src/hooks/useMulticallBalance.d.ts.map +1 -1
  33. package/dist/components/Deposit/src/index.d.ts +2 -2
  34. package/dist/components/Deposit/src/index.d.ts.map +1 -1
  35. package/dist/components/Deposit/src/utils.d.ts +7 -41
  36. package/dist/components/Deposit/src/utils.d.ts.map +1 -1
  37. package/dist/components/Deposit/types/index.d.ts +29 -37
  38. package/dist/components/Deposit/types/index.d.ts.map +1 -1
  39. package/dist/components/LoadingSpinner/LoadingSpinner.d.ts +19 -0
  40. package/dist/components/LoadingSpinner/LoadingSpinner.d.ts.map +1 -0
  41. package/dist/components/LoadingSpinner/index.d.ts +4 -0
  42. package/dist/components/LoadingSpinner/index.d.ts.map +1 -0
  43. package/dist/components/Provider/index.d.ts +6 -1
  44. package/dist/components/Provider/index.d.ts.map +1 -1
  45. package/dist/components/Tabs/index.d.ts +6 -0
  46. package/dist/components/Tabs/index.d.ts.map +1 -0
  47. package/dist/components/Tabs/src/Tab.d.ts +5 -0
  48. package/dist/components/Tabs/src/Tab.d.ts.map +1 -0
  49. package/dist/components/Tabs/src/Tabs.d.ts +5 -0
  50. package/dist/components/Tabs/src/Tabs.d.ts.map +1 -0
  51. package/dist/components/Tabs/src/TabsList.d.ts +5 -0
  52. package/dist/components/Tabs/src/TabsList.d.ts.map +1 -0
  53. package/dist/components/Tabs/src/TabsPanel.d.ts +5 -0
  54. package/dist/components/Tabs/src/TabsPanel.d.ts.map +1 -0
  55. package/dist/components/Tabs/src/context.d.ts +16 -0
  56. package/dist/components/Tabs/src/context.d.ts.map +1 -0
  57. package/dist/components/Tabs/src/index.d.ts +6 -0
  58. package/dist/components/Tabs/src/index.d.ts.map +1 -0
  59. package/dist/components/Tabs/types/index.d.ts +28 -0
  60. package/dist/components/Tabs/types/index.d.ts.map +1 -0
  61. package/dist/components/Tooltip/index.d.ts +3 -0
  62. package/dist/components/Tooltip/index.d.ts.map +1 -0
  63. package/dist/components/Tooltip/src/Tooltip.d.ts +5 -0
  64. package/dist/components/Tooltip/src/Tooltip.d.ts.map +1 -0
  65. package/dist/components/Tooltip/src/TooltipArrow.d.ts +5 -0
  66. package/dist/components/Tooltip/src/TooltipArrow.d.ts.map +1 -0
  67. package/dist/components/Tooltip/src/index.d.ts +3 -0
  68. package/dist/components/Tooltip/src/index.d.ts.map +1 -0
  69. package/dist/components/Tooltip/types/index.d.ts +52 -0
  70. package/dist/components/Tooltip/types/index.d.ts.map +1 -0
  71. package/dist/components/Withdraw/constants/index.d.ts +7 -0
  72. package/dist/components/Withdraw/constants/index.d.ts.map +1 -0
  73. package/dist/components/Withdraw/index.d.ts +6 -10
  74. package/dist/components/Withdraw/index.d.ts.map +1 -1
  75. package/dist/components/Withdraw/src/Speed.d.ts +10 -0
  76. package/dist/components/Withdraw/src/Speed.d.ts.map +1 -0
  77. package/dist/components/Withdraw/src/WithdrawManager.d.ts +12 -0
  78. package/dist/components/Withdraw/src/WithdrawManager.d.ts.map +1 -0
  79. package/dist/components/Withdraw/src/constants.d.ts +24 -0
  80. package/dist/components/Withdraw/src/constants.d.ts.map +1 -0
  81. package/dist/components/Withdraw/src/evm/WalletView.d.ts +24 -0
  82. package/dist/components/Withdraw/src/evm/WalletView.d.ts.map +1 -0
  83. package/dist/components/Withdraw/src/evm/index.d.ts +43 -0
  84. package/dist/components/Withdraw/src/evm/index.d.ts.map +1 -0
  85. package/dist/components/Withdraw/src/index.d.ts +5 -0
  86. package/dist/components/Withdraw/src/index.d.ts.map +1 -0
  87. package/dist/components/Withdraw/types/index.d.ts +83 -0
  88. package/dist/components/Withdraw/types/index.d.ts.map +1 -0
  89. package/dist/components/shared/components/SpeedLevel/ActiveSpeed.d.ts +5 -0
  90. package/dist/components/shared/components/SpeedLevel/ActiveSpeed.d.ts.map +1 -0
  91. package/dist/components/shared/components/SpeedLevel/InactiveSpeed.d.ts +5 -0
  92. package/dist/components/shared/components/SpeedLevel/InactiveSpeed.d.ts.map +1 -0
  93. package/dist/components/shared/components/SpeedLevel/index.d.ts +6 -0
  94. package/dist/components/shared/components/SpeedLevel/index.d.ts.map +1 -0
  95. package/dist/components/shared/components/SpeedLevel/types/index.d.ts +6 -0
  96. package/dist/components/shared/components/SpeedLevel/types/index.d.ts.map +1 -0
  97. package/dist/components/shared/components/selector/Account.d.ts +13 -0
  98. package/dist/components/shared/components/selector/Account.d.ts.map +1 -0
  99. package/dist/components/shared/components/selector/Asset.d.ts +5 -0
  100. package/dist/components/shared/components/selector/Asset.d.ts.map +1 -0
  101. package/dist/components/shared/components/selector/Chain.d.ts +5 -0
  102. package/dist/components/shared/components/selector/Chain.d.ts.map +1 -0
  103. package/dist/components/shared/components/selector/index.d.ts +5 -0
  104. package/dist/components/shared/components/selector/index.d.ts.map +1 -0
  105. package/dist/components/shared/components/selector/types/index.d.ts +52 -0
  106. package/dist/components/shared/components/selector/types/index.d.ts.map +1 -0
  107. package/dist/components/shared/constants/index.d.ts +3 -0
  108. package/dist/components/shared/constants/index.d.ts.map +1 -0
  109. package/dist/components/shared/hooks/index.d.ts +1 -0
  110. package/dist/components/shared/hooks/index.d.ts.map +1 -0
  111. package/dist/components/shared/types/index.d.ts +10 -0
  112. package/dist/components/shared/types/index.d.ts.map +1 -0
  113. package/dist/components/shared/utils/index.d.ts +23 -0
  114. package/dist/components/shared/utils/index.d.ts.map +1 -0
  115. package/dist/hooks/index.d.ts +2 -0
  116. package/dist/hooks/index.d.ts.map +1 -1
  117. package/dist/hooks/usePoolBalance.d.ts +20 -0
  118. package/dist/hooks/usePoolBalance.d.ts.map +1 -0
  119. package/dist/hooks/useTranslation.d.ts +157 -0
  120. package/dist/hooks/useTranslation.d.ts.map +1 -0
  121. package/dist/index-DqN36CX7.mjs +20359 -0
  122. package/dist/index-DqN36CX7.mjs.map +1 -0
  123. package/dist/index.d.ts +10 -3
  124. package/dist/index.d.ts.map +1 -1
  125. package/dist/index.esm.js +30 -6751
  126. package/dist/index.esm.js.map +1 -1
  127. package/dist/index.umd.js +100 -32
  128. package/dist/index.umd.js.map +1 -1
  129. package/dist/locales/en-US.d.ts +61 -0
  130. package/dist/locales/en-US.d.ts.map +1 -0
  131. package/dist/locales/index.d.ts +16 -0
  132. package/dist/locales/index.d.ts.map +1 -0
  133. package/dist/locales/ja-JP.d.ts +61 -0
  134. package/dist/locales/ja-JP.d.ts.map +1 -0
  135. package/dist/locales/ru-RU.d.ts +61 -0
  136. package/dist/locales/ru-RU.d.ts.map +1 -0
  137. package/dist/locales/zh-CN.d.ts +62 -0
  138. package/dist/locales/zh-CN.d.ts.map +1 -0
  139. package/dist/locales/zh-TW.d.ts +61 -0
  140. package/dist/locales/zh-TW.d.ts.map +1 -0
  141. package/dist/style.css +1 -0
  142. package/dist/types/index.d.ts +18 -1
  143. package/dist/types/index.d.ts.map +1 -1
  144. package/dist/types/token.d.ts +25 -0
  145. package/dist/types/token.d.ts.map +1 -0
  146. package/dist/utils/index.d.ts +14 -0
  147. package/dist/utils/index.d.ts.map +1 -0
  148. package/package.json +13 -7
  149. package/dist/components/Deposit/src/WalletProvider.d.ts +0 -23
  150. package/dist/components/Deposit/src/WalletProvider.d.ts.map +0 -1
  151. package/dist/components/Deposit/src/evm/WalletView.d.ts +0 -19
  152. package/dist/components/Deposit/src/evm/WalletView.d.ts.map +0 -1
  153. package/dist/components/Deposit/src/evm/index.d.ts +0 -32
  154. package/dist/components/Deposit/src/evm/index.d.ts.map +0 -1
  155. package/dist/components/Deposit/src/mpc/WalletView.d.ts +0 -12
  156. package/dist/components/Deposit/src/mpc/WalletView.d.ts.map +0 -1
  157. package/dist/components/Deposit/src/mpc/index.d.ts +0 -22
  158. package/dist/components/Deposit/src/mpc/index.d.ts.map +0 -1
  159. package/dist/components/Deposit/src/selector/Asset.d.ts +0 -20
  160. package/dist/components/Deposit/src/selector/Asset.d.ts.map +0 -1
  161. package/dist/components/Deposit/src/selector/Chain.d.ts +0 -16
  162. package/dist/components/Deposit/src/selector/Chain.d.ts.map +0 -1
  163. package/dist/components/Deposit/src/selector/index.d.ts +0 -14
  164. package/dist/components/Deposit/src/selector/index.d.ts.map +0 -1
  165. package/dist/components/Deposit/src/walletAdapters.d.ts +0 -67
  166. package/dist/components/Deposit/src/walletAdapters.d.ts.map +0 -1
  167. package/dist/components/Deposit/types/wallet-hooks.d.ts +0 -78
  168. package/dist/components/Deposit/types/wallet-hooks.d.ts.map +0 -1
@@ -0,0 +1,83 @@
1
+ import { WithdrawConfig, ChainInfo, Token } from '../../../types';
2
+ import { Account } from '../../shared/types';
3
+
4
+ export interface WithdrawResult {
5
+ chainId: number;
6
+ tokenAddress: string;
7
+ amount: string;
8
+ txHash?: string;
9
+ }
10
+ export interface WithdrawProps {
11
+ isOpen: boolean;
12
+ isLoading?: boolean;
13
+ onClose: () => void;
14
+ config: WithdrawConfig;
15
+ children?: React.ReactNode;
16
+ currentActiveAccount: Account;
17
+ chains: ChainInfo[];
18
+ spotChains?: ChainInfo[];
19
+ defaultChainId?: number;
20
+ defaultTokenAddress?: string;
21
+ defaultAmount?: string;
22
+ defaultAccountType?: 'perpetual' | 'spot';
23
+ balances?: {
24
+ spot?: Record<string, string>;
25
+ perpetual?: Record<string, string>;
26
+ };
27
+ currentEquity?: number;
28
+ platformBalance?: string;
29
+ fee?: string;
30
+ wagmiHooks?: {
31
+ useBalance: any;
32
+ useReadContract: any;
33
+ useAccount: any;
34
+ };
35
+ onWithdraw?: (withdrawInfo: {
36
+ amount: string;
37
+ chainId: number;
38
+ coinId?: string;
39
+ accountType: 'spot' | 'perpetual';
40
+ tokenAddress: string;
41
+ tokenSymbol: string;
42
+ receiverAddress?: string;
43
+ selectedToken?: Token;
44
+ }) => void;
45
+ onChainChange?: (chainId: number) => void;
46
+ onTokenChange?: (tokenSymbol: string) => void;
47
+ onAmountChanged?: (amount: string) => void;
48
+ }
49
+ export interface OpenWithdrawOptions {
50
+ config?: WithdrawConfig;
51
+ currentActiveAccount: WithdrawProps['currentActiveAccount'];
52
+ chains: ChainInfo[];
53
+ spotChains?: ChainInfo[];
54
+ defaultChainId?: number;
55
+ defaultTokenAddress?: string;
56
+ defaultAmount?: string;
57
+ defaultAccountType?: 'perpetual' | 'spot';
58
+ balances?: {
59
+ spot?: Record<string, string>;
60
+ perpetual?: Record<string, string>;
61
+ };
62
+ currentEquity?: number;
63
+ platformBalance?: string;
64
+ fee?: string;
65
+ wagmiHooks?: WithdrawProps['wagmiHooks'];
66
+ curSelectToken?: string;
67
+ currentActiveChain?: any;
68
+ withdrawAmount?: string;
69
+ onWithdraw?: WithdrawProps['onWithdraw'];
70
+ onChainChange?: (chainId: number) => void;
71
+ onTokenChange?: (tokenSymbol: string) => void;
72
+ onAmountChanged?: (amount: string) => void;
73
+ onClose?: () => void;
74
+ }
75
+ export interface WithdrawAPI {
76
+ openWithdraw: (options?: OpenWithdrawOptions) => void;
77
+ closeWithdraw: () => void;
78
+ updateWithdrawOptions: (options: Partial<OpenWithdrawOptions>) => void;
79
+ setWithdrawLoading: (loading: boolean) => void;
80
+ isOpen: () => boolean;
81
+ isLoading: () => boolean;
82
+ }
83
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Withdraw/types/index.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+
3
+ declare const ActiveSpeedIcon: FC;
4
+ export default ActiveSpeedIcon;
5
+ //# sourceMappingURL=ActiveSpeed.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActiveSpeed.d.ts","sourceRoot":"","sources":["../../../../../src/components/shared/components/SpeedLevel/ActiveSpeed.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAE1B,QAAA,MAAM,eAAe,EAAE,EA2BtB,CAAA;AAED,eAAe,eAAe,CAAA"}
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+
3
+ declare const InactiveSpeedIcon: FC;
4
+ export default InactiveSpeedIcon;
5
+ //# sourceMappingURL=InactiveSpeed.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InactiveSpeed.d.ts","sourceRoot":"","sources":["../../../../../src/components/shared/components/SpeedLevel/InactiveSpeed.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAE1B,QAAA,MAAM,iBAAiB,EAAE,EA2BxB,CAAA;AAED,eAAe,iBAAiB,CAAA"}
@@ -0,0 +1,6 @@
1
+ import { FC } from 'react';
2
+ import { WithdrawSpeedProps } from './types';
3
+
4
+ declare const SpeedLevel: FC<WithdrawSpeedProps>;
5
+ export default SpeedLevel;
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/shared/components/SpeedLevel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAK1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAE5C,QAAA,MAAM,UAAU,EAAE,EAAE,CAAC,kBAAkB,CAoBtC,CAAA;AAED,eAAe,UAAU,CAAA"}
@@ -0,0 +1,6 @@
1
+ export interface WithdrawSpeedProps {
2
+ selectedLevel: number;
3
+ maxLevel: number;
4
+ className?: string;
5
+ }
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/shared/components/SpeedLevel/types/index.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IACjC,aAAa,EAAE,MAAM,CAAA;IACrB,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
@@ -0,0 +1,13 @@
1
+ import { FC } from 'react';
2
+ import { AccountSelectorProps } from './types';
3
+
4
+ type AccountOption = {
5
+ value: string;
6
+ label: string;
7
+ };
8
+ export declare const AccountList: FC<{
9
+ options: AccountOption[];
10
+ }>;
11
+ export declare const AccountSelector: FC<AccountSelectorProps>;
12
+ export {};
13
+ //# sourceMappingURL=Account.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Account.d.ts","sourceRoot":"","sources":["../../../../../src/components/shared/components/selector/Account.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,EAAE,EAAqB,MAAM,OAAO,CAAA;AAMvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAE9C,KAAK,aAAa,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAA;AAErD,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC;IAAE,OAAO,EAAE,aAAa,EAAE,CAAA;CAAE,CAqCxD,CAAA;AAGD,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CA4GpD,CAAA"}
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ import { AssetSelectorProps } from './types';
3
+
4
+ export declare const AssetSelector: FC<AssetSelectorProps>;
5
+ //# sourceMappingURL=Asset.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Asset.d.ts","sourceRoot":"","sources":["../../../../../src/components/shared/components/selector/Asset.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,EAAE,EAAE,MAAM,OAAO,CAAA;AAMpC,OAAO,EAAE,kBAAkB,EAAS,MAAM,SAAS,CAAA;AAEnD,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CA6IhD,CAAA"}
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ import { ChainSelectorProps } from './types';
3
+
4
+ export declare const ChainSelector: FC<ChainSelectorProps>;
5
+ //# sourceMappingURL=Chain.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Chain.d.ts","sourceRoot":"","sources":["../../../../../src/components/shared/components/selector/Chain.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,EAAE,EAAE,MAAM,OAAO,CAAA;AAUpC,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAE5C,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAgLhD,CAAA"}
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ import { SelectorProps } from './types';
3
+
4
+ export declare const Selector: FC<SelectorProps>;
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/shared/components/selector/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAmC,MAAM,OAAO,CAAA;AAI3D,OAAO,EACL,aAAa,EAEd,MAAM,+CAA+C,CAAA;AAOtD,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CA4MtC,CAAA"}
@@ -0,0 +1,52 @@
1
+ import { ChainInfo } from '../../../../../types';
2
+ import { WalletType } from '../../../types';
3
+
4
+ /******************** Asset *********************/
5
+ export interface Asset {
6
+ token: string;
7
+ iconUrl: string;
8
+ decimals: number;
9
+ tokenAddress: string;
10
+ symbol?: string;
11
+ }
12
+ export interface AssetTabsProps {
13
+ tokens: Asset[];
14
+ selectedToken: Asset;
15
+ onTokenChange: (token: Asset) => void;
16
+ }
17
+ export interface AssetSelectorProps {
18
+ tokens: Asset[];
19
+ selectedToken: Asset;
20
+ onTokenChange: (token: Asset) => void;
21
+ disabled?: boolean;
22
+ className?: string;
23
+ }
24
+ /******************** Account *********************/
25
+ export interface AccountSelectorProps {
26
+ selectedAccount?: string;
27
+ onAccountChange?: (account: string) => void;
28
+ disabled?: boolean;
29
+ className?: string;
30
+ }
31
+ /******************** Chain *********************/
32
+ export interface ChainSelectorProps {
33
+ chains: ChainInfo[];
34
+ selectedChain: ChainInfo;
35
+ onChainChange: (chain: ChainInfo) => void;
36
+ disabled?: boolean;
37
+ className?: string;
38
+ walletType?: WalletType;
39
+ chainPoolBalances?: Record<number, string>;
40
+ }
41
+ /******************** SelectorProps *********************/
42
+ export interface SelectorProps {
43
+ currentActiveChain: ChainInfo;
44
+ chainList: ChainInfo[];
45
+ onChainChange: (chainId: number) => void;
46
+ curSelectToken: string;
47
+ onTokenChange: (token: string) => void;
48
+ walletType?: WalletType;
49
+ chainPoolBalances?: Record<number, string>;
50
+ txType?: string;
51
+ }
52
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/shared/components/selector/types/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAA;AAEtD,kDAAkD;AAClD,MAAM,WAAW,KAAK;IACpB,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,MAAM,CAAA;IAChB,YAAY,EAAE,MAAM,CAAA;IACpB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,KAAK,EAAE,CAAA;IACf,aAAa,EAAE,KAAK,CAAA;IACpB,aAAa,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAA;CACtC;AAED,MAAM,WAAW,kBAAkB;IACjC,MAAM,EAAE,KAAK,EAAE,CAAA;IACf,aAAa,EAAE,KAAK,CAAA;IACpB,aAAa,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAA;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,oDAAoD;AACpD,MAAM,WAAW,oBAAoB;IACnC,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;IAC3C,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,kDAAkD;AAClD,MAAM,WAAW,kBAAkB;IACjC,MAAM,EAAE,SAAS,EAAE,CAAA;IACnB,aAAa,EAAE,SAAS,CAAA;IACxB,aAAa,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI,CAAA;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,UAAU,CAAA;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAC3C;AAED,0DAA0D;AAC1D,MAAM,WAAW,aAAa;IAC5B,kBAAkB,EAAE,SAAS,CAAA;IAC7B,SAAS,EAAE,SAAS,EAAE,CAAA;IACtB,aAAa,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;IAExC,cAAc,EAAE,MAAM,CAAA;IACtB,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAEtC,UAAU,CAAC,EAAE,UAAU,CAAA;IAEvB,iBAAiB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAE1C,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB"}
@@ -0,0 +1,3 @@
1
+ export declare const MPC: "MPC";
2
+ export declare const EVM: "EVM";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/shared/constants/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,GAAG,EAAG,KAAc,CAAA;AAEjC,eAAO,MAAM,GAAG,EAAG,KAAc,CAAA"}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/shared/hooks/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ import { MPC, EVM } from '../constants';
2
+
3
+ export type WalletType = typeof MPC | typeof EVM;
4
+ export interface Account {
5
+ wallet: WalletType;
6
+ ethAddress: string;
7
+ accountId: string;
8
+ smartWalletAddress: string;
9
+ }
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/shared/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,+BAA+B,CAAA;AAExD,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,GAAG,OAAO,GAAG,CAAA;AAEhD,MAAM,WAAW,OAAO;IACtB,MAAM,EAAE,UAAU,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,MAAM,CAAA;IACjB,kBAAkB,EAAE,MAAM,CAAA;CAC3B"}
@@ -0,0 +1,23 @@
1
+ import { WalletType, Account } from '../types';
2
+
3
+ /**
4
+ * Normalize an incoming wallet type to the canonical constant (MPC or EVM).
5
+ * Case-insensitive by design: adjust the normalization to match constants' casing.
6
+ * If constants MPC/EVM are lowercase, prefer `wallet.toLowerCase()` here.
7
+ * @param wallet WalletType value to normalize
8
+ * @returns WalletType - canonical constant (MPC or EVM)
9
+ */
10
+ export declare const getWalletType: (wallet: WalletType) => WalletType;
11
+ /**
12
+ * Convenience predicate: whether the given account is an MPC wallet
13
+ * @param account Account
14
+ * @returns boolean
15
+ */
16
+ export declare const isMpcWalletType: (account: Account) => boolean;
17
+ /**
18
+ * Convenience predicate: whether the given account is an EVM wallet
19
+ * @param account Account
20
+ * @returns boolean
21
+ */
22
+ export declare const isEvmWalletType: (account: Account) => boolean;
23
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/shared/utils/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAA;AAI/D;;;;;;GAMG;AACH,eAAO,MAAM,aAAa,GAAI,QAAQ,UAAU,KAAG,UAElD,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,eAAe,GAAI,SAAS,OAAO,YAE/C,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,eAAe,GAAI,SAAS,OAAO,YAE/C,CAAA"}
@@ -1,9 +1,11 @@
1
1
  import { DepositConfig, WithdrawConfig } from '../types';
2
2
 
3
+ export { useTranslation, useTranslationWithLocale } from './useTranslation';
3
4
  export declare const useDeposit: () => {
4
5
  openDeposit: (config: DepositConfig) => void;
5
6
  };
6
7
  export declare const useWithdraw: () => {
7
8
  openWithdraw: (config: WithdrawConfig) => void;
8
9
  };
10
+ export * from './usePoolBalance';
9
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AASvD,eAAO,MAAM,UAAU;0BACoB,aAAa;CAKvD,CAAA;AAED,eAAO,MAAM,WAAW;2BACoB,cAAc;CAKzD,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAGvD,OAAO,EAAE,cAAc,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAA;AAS3E,eAAO,MAAM,UAAU;0BACoB,aAAa;CAKvD,CAAA;AAED,eAAO,MAAM,WAAW;2BACoB,cAAc;CAKzD,CAAA;AAED,cAAc,kBAAkB,CAAA"}
@@ -0,0 +1,20 @@
1
+ export interface UsePoolBalanceParams {
2
+ bscRpcUrl?: string;
3
+ arbitrumRpcUrl?: string;
4
+ pollingInterval?: number;
5
+ }
6
+ /**
7
+ * usePoolBalance
8
+ * Reads pool balances for:
9
+ * - BNB_USDT (USDT on BSC, holder = BSC_POOL)
10
+ * - ARB_USDT (USDT on Arbitrum, holder = ARB_POOL_USDT)
11
+ * - ARB_USDC (USDC on Arbitrum, holder = ARB_POOL_USDC)
12
+ * Returns formatted strings; defaults to '0' if not available yet.
13
+ * In testnet environment, returns '99999' instead of real balances.
14
+ */
15
+ export declare function usePoolBalance(params?: UsePoolBalanceParams): {
16
+ BNB_USDT_BALANCE: string;
17
+ ARB_USDT_BALANCE: string;
18
+ ARB_USDC_BALANCE: string;
19
+ };
20
+ //# sourceMappingURL=usePoolBalance.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usePoolBalance.d.ts","sourceRoot":"","sources":["../../src/hooks/usePoolBalance.ts"],"names":[],"mappings":"AAeA,MAAM,WAAW,oBAAoB;IACnC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB;AAaD;;;;;;;;GAQG;AACH,wBAAgB,cAAc,CAAC,MAAM,GAAE,oBAAyB;;;;EAyF/D"}
@@ -0,0 +1,157 @@
1
+ /**
2
+ * 多语言翻译 Hook
3
+ *
4
+ * @example
5
+ * ```tsx
6
+ * const { t, locale } = useTranslation()
7
+ *
8
+ * // 基础用法
9
+ * const title = t('deposit.title') // "充值" 或 "Deposit"
10
+ *
11
+ * // 参数化翻译(字符串参数)
12
+ * const enableText = t('deposit.enableSystemProWithToken', {
13
+ * token: 'USDT',
14
+ * network: 'Ethereum'
15
+ * }) // "Enable USDT on Ethereum" 或 "在Ethereum上启用USDT"
16
+ *
17
+ * // 参数化翻译(数字参数)
18
+ * const arrivalText = t('deposit.arrivaltimeTooltip1', {
19
+ * v: 10, // 数字会自动转换为字符串
20
+ * v1: 12
21
+ * }) // "您可以在约 10 分钟 (达到 12 个区块确认后) 提走已到账的资金"
22
+ * ```
23
+ */
24
+ export declare const useTranslation: () => {
25
+ t: (key: string, params?: Record<string, string | number>) => string;
26
+ translations: {
27
+ deposit: {
28
+ title: string;
29
+ chain: string;
30
+ asset: string;
31
+ amount: string;
32
+ available: string;
33
+ equity: string;
34
+ confirmDeposit: string;
35
+ switchNetwork: string;
36
+ max: string;
37
+ arrivalTime: string;
38
+ minDeposit: string;
39
+ minDepositParsed: string;
40
+ maxDeposit: string;
41
+ depositTipFor25w: string;
42
+ depositAllTip: string;
43
+ enableSystemProWithToken: string;
44
+ enableTokenDesc: string;
45
+ enableWithToken: string;
46
+ arrivaltimeTooltip1: string;
47
+ arrivaltimeTooltip2: string;
48
+ arrivalEstimated: string;
49
+ availableDesc: string;
50
+ noPrivateKeyWalletWarning: string;
51
+ layerZeroDepositTip: string;
52
+ layerZeroDepositTipExceedPool: string;
53
+ layerZeroDepositTipGte200k: string;
54
+ layerZeroDepositButton: string;
55
+ };
56
+ withdraw: {
57
+ noticeDesc: string;
58
+ crossChainTips: string;
59
+ commonWithdraw: string;
60
+ withdraw: string;
61
+ speed: string;
62
+ confirmWithdraw: string;
63
+ speedNote: string;
64
+ speedNoteSpeed1: string;
65
+ speedNoteSpeed2: string;
66
+ speedNoteSpeed3: string;
67
+ receiverAddress: string;
68
+ fee: string;
69
+ feeRate: string;
70
+ withdrawlAmount: string;
71
+ amountToReceive: string;
72
+ invalidReceiverAddress: string;
73
+ availableDesc: string;
74
+ feeCalculationTip: string;
75
+ crossChainPoolBalance: string;
76
+ poolBalance: string;
77
+ poolBalanceInsufficientTip: string;
78
+ };
79
+ account: {
80
+ title: string;
81
+ perpetual: string;
82
+ spot: string;
83
+ };
84
+ };
85
+ locale: "en-US" | "ja-JP" | "ru-RU" | "zh-CN" | "zh-TW";
86
+ getTranslationObject: (key: string) => Record<string, any>;
87
+ hasTranslation: (key: string) => boolean;
88
+ };
89
+ /**
90
+ * 用于局部覆盖语言的 Hook
91
+ * @param localLocale - 局部语言设置
92
+ */
93
+ export declare const useTranslationWithLocale: (localLocale?: string) => {
94
+ t: (key: string, params?: Record<string, string | number>) => string;
95
+ translations: {
96
+ deposit: {
97
+ title: string;
98
+ chain: string;
99
+ asset: string;
100
+ amount: string;
101
+ available: string;
102
+ equity: string;
103
+ confirmDeposit: string;
104
+ switchNetwork: string;
105
+ max: string;
106
+ arrivalTime: string;
107
+ minDeposit: string;
108
+ minDepositParsed: string;
109
+ maxDeposit: string;
110
+ depositTipFor25w: string;
111
+ depositAllTip: string;
112
+ enableSystemProWithToken: string;
113
+ enableTokenDesc: string;
114
+ enableWithToken: string;
115
+ arrivaltimeTooltip1: string;
116
+ arrivaltimeTooltip2: string;
117
+ arrivalEstimated: string;
118
+ availableDesc: string;
119
+ noPrivateKeyWalletWarning: string;
120
+ layerZeroDepositTip: string;
121
+ layerZeroDepositTipExceedPool: string;
122
+ layerZeroDepositTipGte200k: string;
123
+ layerZeroDepositButton: string;
124
+ };
125
+ withdraw: {
126
+ noticeDesc: string;
127
+ crossChainTips: string;
128
+ commonWithdraw: string;
129
+ withdraw: string;
130
+ speed: string;
131
+ confirmWithdraw: string;
132
+ speedNote: string;
133
+ speedNoteSpeed1: string;
134
+ speedNoteSpeed2: string;
135
+ speedNoteSpeed3: string;
136
+ receiverAddress: string;
137
+ fee: string;
138
+ feeRate: string;
139
+ withdrawlAmount: string;
140
+ amountToReceive: string;
141
+ invalidReceiverAddress: string;
142
+ availableDesc: string;
143
+ feeCalculationTip: string;
144
+ crossChainPoolBalance: string;
145
+ poolBalance: string;
146
+ poolBalanceInsufficientTip: string;
147
+ };
148
+ account: {
149
+ title: string;
150
+ perpetual: string;
151
+ spot: string;
152
+ };
153
+ };
154
+ locale: string;
155
+ };
156
+ export default useTranslation;
157
+ //# sourceMappingURL=useTranslation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTranslation.d.ts","sourceRoot":"","sources":["../../src/hooks/useTranslation.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,cAAc;aAST,MAAM,WAAW,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,KAAG,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAyCtC,MAAM,KAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;0BAyBlC,MAAM,KAAG,OAAO;CA0B9C,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,wBAAwB,GAAI,cAAc,MAAM;aAW3C,MAAM,WAAW,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,KAAG,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuC1E,CAAA;AAED,eAAe,cAAc,CAAA"}