@web3jskit/walletkit 0.1.5 → 0.1.6

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 (170) hide show
  1. package/package.json +2 -2
  2. package/dist/package.json +0 -46
  3. package/dist/src/assets/svg/dataBase.d.ts +0 -4
  4. package/dist/src/assets/svg/dataBase.js +0 -5
  5. package/dist/src/assets/svg/dataBase.js.map +0 -1
  6. package/dist/src/assets/svg/metaMaskWallet.d.ts +0 -1
  7. package/dist/src/assets/svg/metaMaskWallet.js +0 -35
  8. package/dist/src/assets/svg/metaMaskWallet.js.map +0 -1
  9. package/dist/src/components/ConnectButton/ConnectedInfo.d.ts +0 -1
  10. package/dist/src/components/ConnectButton/ConnectedInfo.js +0 -13
  11. package/dist/src/components/ConnectButton/ConnectedInfo.js.map +0 -1
  12. package/dist/src/components/ConnectButton/index.d.ts +0 -8
  13. package/dist/src/components/ConnectButton/index.js +0 -16
  14. package/dist/src/components/ConnectButton/index.js.map +0 -1
  15. package/dist/src/components/Connecting/index.d.ts +0 -6
  16. package/dist/src/components/Connecting/index.js +0 -11
  17. package/dist/src/components/Connecting/index.js.map +0 -1
  18. package/dist/src/components/Connecting/style.d.ts +0 -2
  19. package/dist/src/components/Connecting/style.js +0 -52
  20. package/dist/src/components/Connecting/style.js.map +0 -1
  21. package/dist/src/components/GetWallet/index.d.ts +0 -7
  22. package/dist/src/components/GetWallet/index.js +0 -21
  23. package/dist/src/components/GetWallet/index.js.map +0 -1
  24. package/dist/src/components/GetWallet/style.d.ts +0 -2
  25. package/dist/src/components/GetWallet/style.js +0 -117
  26. package/dist/src/components/GetWallet/style.js.map +0 -1
  27. package/dist/src/components/Header/ModalHeader.d.ts +0 -8
  28. package/dist/src/components/Header/ModalHeader.js +0 -9
  29. package/dist/src/components/Header/ModalHeader.js.map +0 -1
  30. package/dist/src/components/Header/style.d.ts +0 -2
  31. package/dist/src/components/Header/style.js +0 -74
  32. package/dist/src/components/Header/style.js.map +0 -1
  33. package/dist/src/components/Icon/index.d.ts +0 -23
  34. package/dist/src/components/Icon/index.js +0 -48
  35. package/dist/src/components/Icon/index.js.map +0 -1
  36. package/dist/src/components/Introduce/index.d.ts +0 -6
  37. package/dist/src/components/Introduce/index.js +0 -11
  38. package/dist/src/components/Introduce/index.js.map +0 -1
  39. package/dist/src/components/Introduce/style.d.ts +0 -2
  40. package/dist/src/components/Introduce/style.js +0 -97
  41. package/dist/src/components/Introduce/style.js.map +0 -1
  42. package/dist/src/components/Modal/ConnectModal.d.ts +0 -7
  43. package/dist/src/components/Modal/ConnectModal.js +0 -121
  44. package/dist/src/components/Modal/ConnectModal.js.map +0 -1
  45. package/dist/src/components/Modal/WalletInfoModal.d.ts +0 -1
  46. package/dist/src/components/Modal/WalletInfoModal.js +0 -46
  47. package/dist/src/components/Modal/WalletInfoModal.js.map +0 -1
  48. package/dist/src/components/Modal/index.d.ts +0 -13
  49. package/dist/src/components/Modal/index.js +0 -52
  50. package/dist/src/components/Modal/index.js.map +0 -1
  51. package/dist/src/components/Modal/style.d.ts +0 -5
  52. package/dist/src/components/Modal/style.js +0 -187
  53. package/dist/src/components/Modal/style.js.map +0 -1
  54. package/dist/src/components/SVGs/backArrowSvg.d.ts +0 -2
  55. package/dist/src/components/SVGs/backArrowSvg.js +0 -4
  56. package/dist/src/components/SVGs/backArrowSvg.js.map +0 -1
  57. package/dist/src/components/SVGs/closeSvg.d.ts +0 -2
  58. package/dist/src/components/SVGs/closeSvg.js +0 -4
  59. package/dist/src/components/SVGs/closeSvg.js.map +0 -1
  60. package/dist/src/components/SVGs/copiedSvg.d.ts +0 -2
  61. package/dist/src/components/SVGs/copiedSvg.js +0 -4
  62. package/dist/src/components/SVGs/copiedSvg.js.map +0 -1
  63. package/dist/src/components/SVGs/copySvg.d.ts +0 -2
  64. package/dist/src/components/SVGs/copySvg.js +0 -4
  65. package/dist/src/components/SVGs/copySvg.js.map +0 -1
  66. package/dist/src/components/SVGs/exitSvg.d.ts +0 -2
  67. package/dist/src/components/SVGs/exitSvg.js +0 -4
  68. package/dist/src/components/SVGs/exitSvg.js.map +0 -1
  69. package/dist/src/components/SVGs/metamaskQrCode.d.ts +0 -2
  70. package/dist/src/components/SVGs/metamaskQrCode.js +0 -4
  71. package/dist/src/components/SVGs/metamaskQrCode.js.map +0 -1
  72. package/dist/src/components/SVGs/spinSvg.d.ts +0 -4
  73. package/dist/src/components/SVGs/spinSvg.js +0 -4
  74. package/dist/src/components/SVGs/spinSvg.js.map +0 -1
  75. package/dist/src/components/SVGs/vectorSvg.d.ts +0 -2
  76. package/dist/src/components/SVGs/vectorSvg.js +0 -4
  77. package/dist/src/components/SVGs/vectorSvg.js.map +0 -1
  78. package/dist/src/components/Text/index.d.ts +0 -18
  79. package/dist/src/components/Text/index.js +0 -32
  80. package/dist/src/components/Text/index.js.map +0 -1
  81. package/dist/src/components/WalletKitProvider/ChainProvider.d.ts +0 -12
  82. package/dist/src/components/WalletKitProvider/ChainProvider.js +0 -59
  83. package/dist/src/components/WalletKitProvider/ChainProvider.js.map +0 -1
  84. package/dist/src/components/WalletKitProvider/I18nProvider.d.ts +0 -13
  85. package/dist/src/components/WalletKitProvider/I18nProvider.js +0 -42
  86. package/dist/src/components/WalletKitProvider/I18nProvider.js.map +0 -1
  87. package/dist/src/components/WalletKitProvider/ThemeProvider.d.ts +0 -8
  88. package/dist/src/components/WalletKitProvider/ThemeProvider.js +0 -13
  89. package/dist/src/components/WalletKitProvider/ThemeProvider.js.map +0 -1
  90. package/dist/src/components/WalletKitProvider/index.d.ts +0 -16
  91. package/dist/src/components/WalletKitProvider/index.js +0 -14
  92. package/dist/src/components/WalletKitProvider/index.js.map +0 -1
  93. package/dist/src/components/WalletList/index.d.ts +0 -8
  94. package/dist/src/components/WalletList/index.js +0 -15
  95. package/dist/src/components/WalletList/index.js.map +0 -1
  96. package/dist/src/components/WalletList/style.d.ts +0 -2
  97. package/dist/src/components/WalletList/style.js +0 -102
  98. package/dist/src/components/WalletList/style.js.map +0 -1
  99. package/dist/src/components/WalletTriggerButton/index.d.ts +0 -12
  100. package/dist/src/components/WalletTriggerButton/index.js +0 -32
  101. package/dist/src/components/WalletTriggerButton/index.js.map +0 -1
  102. package/dist/src/components/WalletTriggerButton/style.d.ts +0 -2
  103. package/dist/src/components/WalletTriggerButton/style.js +0 -63
  104. package/dist/src/components/WalletTriggerButton/style.js.map +0 -1
  105. package/dist/src/errors/index.d.ts +0 -2
  106. package/dist/src/errors/index.js +0 -6
  107. package/dist/src/errors/index.js.map +0 -1
  108. package/dist/src/hooks/useWalletKit.d.ts +0 -73
  109. package/dist/src/hooks/useWalletKit.js +0 -38
  110. package/dist/src/hooks/useWalletKit.js.map +0 -1
  111. package/dist/src/index.d.ts +0 -8
  112. package/dist/src/index.js +0 -9
  113. package/dist/src/index.js.map +0 -1
  114. package/dist/src/locals/i18n.d.ts +0 -2
  115. package/dist/src/locals/i18n.js +0 -17
  116. package/dist/src/locals/i18n.js.map +0 -1
  117. package/dist/src/locals/languages/en.json +0 -30
  118. package/dist/src/locals/languages/zh.json +0 -30
  119. package/dist/src/locals/resources.d.ts +0 -66
  120. package/dist/src/locals/resources.js +0 -11
  121. package/dist/src/locals/resources.js.map +0 -1
  122. package/dist/src/modals/connectModal/index.d.ts +0 -0
  123. package/dist/src/modals/connectModal/index.js +0 -2
  124. package/dist/src/modals/connectModal/index.js.map +0 -1
  125. package/dist/src/stores/SlotsWalletStore.d.ts +0 -18
  126. package/dist/src/stores/SlotsWalletStore.js +0 -33
  127. package/dist/src/stores/SlotsWalletStore.js.map +0 -1
  128. package/dist/src/stores/index.d.ts +0 -27
  129. package/dist/src/stores/index.js +0 -25
  130. package/dist/src/stores/index.js.map +0 -1
  131. package/dist/src/stores/modalStore.d.ts +0 -17
  132. package/dist/src/stores/modalStore.js +0 -41
  133. package/dist/src/stores/modalStore.js.map +0 -1
  134. package/dist/src/styled/index.d.ts +0 -17
  135. package/dist/src/styled/index.js +0 -76
  136. package/dist/src/styled/index.js.map +0 -1
  137. package/dist/src/test/getwalletprovider.test.d.ts +0 -1
  138. package/dist/src/test/getwalletprovider.test.js +0 -10
  139. package/dist/src/test/getwalletprovider.test.js.map +0 -1
  140. package/dist/src/test/setup.d.ts +0 -1
  141. package/dist/src/test/setup.js +0 -7
  142. package/dist/src/test/setup.js.map +0 -1
  143. package/dist/src/theme/index.d.ts +0 -53
  144. package/dist/src/theme/index.js +0 -133
  145. package/dist/src/theme/index.js.map +0 -1
  146. package/dist/src/types/configType.d.ts +0 -2
  147. package/dist/src/types/configType.js +0 -2
  148. package/dist/src/types/configType.js.map +0 -1
  149. package/dist/src/types/error.d.ts +0 -7
  150. package/dist/src/types/error.js +0 -5
  151. package/dist/src/types/error.js.map +0 -1
  152. package/dist/src/types/slotsType.d.ts +0 -23
  153. package/dist/src/types/slotsType.js +0 -2
  154. package/dist/src/types/slotsType.js.map +0 -1
  155. package/dist/src/types/store.d.ts +0 -2
  156. package/dist/src/types/store.js +0 -2
  157. package/dist/src/types/store.js.map +0 -1
  158. package/dist/src/utils/formatter.d.ts +0 -1
  159. package/dist/src/utils/formatter.js +0 -6
  160. package/dist/src/utils/formatter.js.map +0 -1
  161. package/dist/src/utils/generateAvatar.d.ts +0 -4
  162. package/dist/src/utils/generateAvatar.js +0 -32
  163. package/dist/src/utils/generateAvatar.js.map +0 -1
  164. package/dist/src/wallets/GelWallet/index.d.ts +0 -0
  165. package/dist/src/wallets/GelWallet/index.js +0 -2
  166. package/dist/src/wallets/GelWallet/index.js.map +0 -1
  167. package/dist/src/wallets/SlotsWallets/index.d.ts +0 -3
  168. package/dist/src/wallets/SlotsWallets/index.js +0 -26
  169. package/dist/src/wallets/SlotsWallets/index.js.map +0 -1
  170. package/dist/tsconfig.build.tsbuildinfo +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@web3jskit/walletkit",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "walletkit",
5
5
  "license": "MIT",
6
6
  "files": [
@@ -16,7 +16,7 @@
16
16
  "@react-spring/web": "^9.7.1",
17
17
  "@tanstack/react-query": "^5.0.0",
18
18
  "@web3jskit/type": "^1.1.6",
19
- "@web3jskit/wallethelper": "0.1.5",
19
+ "@web3jskit/wallethelper": "0.1.6",
20
20
  "copy-to-clipboard": "^3.3.3",
21
21
  "i18next": "^22.4.13",
22
22
  "i18next-browser-languagedetector": "^7.0.1",
package/dist/package.json DELETED
@@ -1,46 +0,0 @@
1
- {
2
- "name": "@web3jskit/walletkit",
3
- "version": "0.1.5",
4
- "description": "walletkit",
5
- "license": "MIT",
6
- "files": [
7
- "dist"
8
- ],
9
- "scripts": {
10
- "build": "tsc --build tsconfig.build.json",
11
- "watch": "tsc --watch"
12
- },
13
- "main": "./dist/src/index.js",
14
- "dependencies": {
15
- "@reach/dialog": "^0.18.0",
16
- "@react-spring/web": "^9.7.1",
17
- "@tanstack/react-query": "^5.0.0",
18
- "@web3jskit/type": "^1.1.6",
19
- "@web3jskit/wallethelper": "0.1.5",
20
- "copy-to-clipboard": "^3.3.3",
21
- "i18next": "^22.4.13",
22
- "i18next-browser-languagedetector": "^7.0.1",
23
- "i18next-xhr-backend": "^3.2.2",
24
- "lit": "^3.2.1",
25
- "react": "^18.3.1",
26
- "react-dom": "^18.3.1",
27
- "react-i18next": "^12.2.0",
28
- "react-qr-code": "^2.0.15",
29
- "styled-components": "^6.1.13",
30
- "zustand": "^4.3.9"
31
- },
32
- "devDependencies": {
33
- "@testing-library/jest-dom": "^6.2.0",
34
- "@testing-library/react": "^16.0.1",
35
- "@testing-library/user-event": "^14.5.2",
36
- "@types/react": "^18.3.1",
37
- "@types/react-dom": "^18.3.1",
38
- "@types/styled-components": "^5.1.34",
39
- "jsdom": "^25.0.0",
40
- "vitest": "2.0.5"
41
- },
42
- "peerDependencies": {
43
- "react": ">=18",
44
- "react-dom": ">=18"
45
- }
46
- }
@@ -1,4 +0,0 @@
1
- export declare const closeIcon = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgZmlsbD0iIzAwMDAwMCIgdmlld0JveD0iMCAwIDI1NiAyNTYiPgo8cGF0aCBkPSJNMjA1LjY2LDE5NC4zNGE4LDgsMCwwLDEtMTEuMzIsMTEuMzJMMTI4LDEzOS4zMSw2MS42NiwyMDUuNjZhOCw4LDAsMCwxLTExLjMyLTExLjMyTDExNi42OSwxMjgsNTAuMzQsNjEuNjZBOCw4LDAsMCwxLDYxLjY2LDUwLjM0TDEyOCwxMTYuNjlsNjYuMzQtNjYuMzVhOCw4LDAsMCwxLDExLjMyLDExLjMyTDEzOS4zMSwxMjhaIj48L3BhdGg+Cjwvc3ZnPg==";
2
- export declare const b = "data:image/svg+xml;base64,PHN2ZyB4bLjM0TDEyOCwxMTYuNjlsNjYuMzQtNjYuMzVhOCw4LDAsMCwxLDExLjMyLDExLjMyTDEzOS4zMSwxMjhaIj48L3BhdGg+Cjwvc3ZnPg==";
3
- export declare const chromeIcon = "data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 78 78\"><path fill=\"url(%23a)\" d=\"M71.034 20.5a37.001 37.001 0 0 0-64.084 0l2.22 39.96L71.034 20.5Z\"/><path fill=\"url(%23b)\" d=\"M22.979 48.25 6.958 20.5A37 37 0 0 0 39 76l36.26-37-52.281 9.25Z\"/><path fill=\"url(%23c)\" d=\"M55.021 48.25 39 76a37.001 37.001 0 0 0 32.035-55.5H39l16.021 27.75Z\"/><path fill=\"%23fff\" d=\"M39 57.5a18.5 18.5 0 1 0 0-37 18.5 18.5 0 0 0 0 37Z\"/><path fill=\"%231A73E8\" d=\"M39 53.652a14.65 14.65 0 0 0 13.536-20.26A14.653 14.653 0 1 0 39 53.653Z\"/><defs><linearGradient id=\"a\" x1=\"6.958\" x2=\"71.034\" y1=\"25.125\" y2=\"25.125\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"%23D93025\"/><stop offset=\"1\" stop-color=\"%23EA4335\"/></linearGradient><linearGradient id=\"b\" x1=\"43.003\" x2=\"10.961\" y1=\"73.684\" y2=\"18.184\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"%231E8E3E\"/><stop offset=\"1\" stop-color=\"%2334A853\"/></linearGradient><linearGradient id=\"c\" x1=\"33.598\" x2=\"65.64\" y1=\"76\" y2=\"20.596\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"%23FCC934\"/><stop offset=\"1\" stop-color=\"%23FBBC04\"/></linearGradient></defs></svg>";
4
- export declare const gel = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAALDSURBVHgB1Zg/aBNRHMe/1kIrRHJDwbSDSQbTrSkKupmDglOhzSDoolMGBzV0cRPpKFJI1w6tVbGLhEC7uIS4KbYmHSNyyVLtYhMSIRVB3++Sd17i3buX1z85P/C7u7z3cu97v/d7v3f3AGd0ZqvMDGa/j9k+de49DwkizPInIMLNjE6fjkwzOzhFMdwOOn3/45lBiLGLitgFGQMUwy3Pxcz7QAw3/Sw7PILDGA6KYSiKGY9omL0zhfPaKALBUau8WW9hY/kD9io1KKCfQdtVffNqO4VL8QuOdduFKu7NvIAKQ1AkoI241k2ENahCMfREpiENzVgoYJ5vPbiKxNyksG2j1sL3/R/mNfGz9QsySA0ZxcvLjyl28xGoQOJoCMulfc+2w5CgHbzdYlYW35nBS531srB0w/Qih7wUmw5JCVKOoa31XUcxxGsmtJdAUM67Qg/F4iFcToQxezfeVd6oHbqKIZqsjtrYvXr74TXTU/QgopQgjKHcl/sYDwctEVvrJXazOnbYtC6XvkEExd2VxEXmmXNIPb5uiaMHmRl75vo/oYe4GGJlsWDGDEfTNOi6jmKxiEql4li22fHERCRoxRSfdUqC7DTrh12/s9ms2Tl1HI1GXcsI0fD2ohzU5A2Zsn5RFpRMJpHJZMyzqKxfpIesFxqWdDrtWdYv0h6SzSNHReihzee7LAdNmdeURz6zTPu1WrfqG2a+6Q7YGHsDsM8kuuZ5jKcOEZ5rmc4W0advbrrWLy28tdIB5RsyN2g9o1cTEZ5D5jVlJ1k251BWPyrKs+yk+P8Eeb0y7FX/LpQ7gviggLZPCDcoqA0IPmcJWvUTczHHTjaW33eV0Yyyr4GcQq7suSAzinRYg3++y1aHOoL8Qo5f5DF47xh2ZRH4bLOB8NV2jN1TximKycNjhnNoR2QN7e234xZhoL2lpzt1/AfLekgsXhgSgQAAAABJRU5ErkJggg==";
@@ -1,5 +0,0 @@
1
- export const closeIcon = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgZmlsbD0iIzAwMDAwMCIgdmlld0JveD0iMCAwIDI1NiAyNTYiPgo8cGF0aCBkPSJNMjA1LjY2LDE5NC4zNGE4LDgsMCwwLDEtMTEuMzIsMTEuMzJMMTI4LDEzOS4zMSw2MS42NiwyMDUuNjZhOCw4LDAsMCwxLTExLjMyLTExLjMyTDExNi42OSwxMjgsNTAuMzQsNjEuNjZBOCw4LDAsMCwxLDYxLjY2LDUwLjM0TDEyOCwxMTYuNjlsNjYuMzQtNjYuMzVhOCw4LDAsMCwxLDExLjMyLDExLjMyTDEzOS4zMSwxMjhaIj48L3BhdGg+Cjwvc3ZnPg==';
2
- export const b = 'data:image/svg+xml;base64,PHN2ZyB4bLjM0TDEyOCwxMTYuNjlsNjYuMzQtNjYuMzVhOCw4LDAsMCwxLDExLjMyLDExLjMyTDEzOS4zMSwxMjhaIj48L3BhdGg+Cjwvc3ZnPg==';
3
- export const chromeIcon = 'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 78 78"><path fill="url(%23a)" d="M71.034 20.5a37.001 37.001 0 0 0-64.084 0l2.22 39.96L71.034 20.5Z"/><path fill="url(%23b)" d="M22.979 48.25 6.958 20.5A37 37 0 0 0 39 76l36.26-37-52.281 9.25Z"/><path fill="url(%23c)" d="M55.021 48.25 39 76a37.001 37.001 0 0 0 32.035-55.5H39l16.021 27.75Z"/><path fill="%23fff" d="M39 57.5a18.5 18.5 0 1 0 0-37 18.5 18.5 0 0 0 0 37Z"/><path fill="%231A73E8" d="M39 53.652a14.65 14.65 0 0 0 13.536-20.26A14.653 14.653 0 1 0 39 53.653Z"/><defs><linearGradient id="a" x1="6.958" x2="71.034" y1="25.125" y2="25.125" gradientUnits="userSpaceOnUse"><stop stop-color="%23D93025"/><stop offset="1" stop-color="%23EA4335"/></linearGradient><linearGradient id="b" x1="43.003" x2="10.961" y1="73.684" y2="18.184" gradientUnits="userSpaceOnUse"><stop stop-color="%231E8E3E"/><stop offset="1" stop-color="%2334A853"/></linearGradient><linearGradient id="c" x1="33.598" x2="65.64" y1="76" y2="20.596" gradientUnits="userSpaceOnUse"><stop stop-color="%23FCC934"/><stop offset="1" stop-color="%23FBBC04"/></linearGradient></defs></svg>';
4
- export const gel = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAALDSURBVHgB1Zg/aBNRHMe/1kIrRHJDwbSDSQbTrSkKupmDglOhzSDoolMGBzV0cRPpKFJI1w6tVbGLhEC7uIS4KbYmHSNyyVLtYhMSIRVB3++Sd17i3buX1z85P/C7u7z3cu97v/d7v3f3AGd0ZqvMDGa/j9k+de49DwkizPInIMLNjE6fjkwzOzhFMdwOOn3/45lBiLGLitgFGQMUwy3Pxcz7QAw3/Sw7PILDGA6KYSiKGY9omL0zhfPaKALBUau8WW9hY/kD9io1KKCfQdtVffNqO4VL8QuOdduFKu7NvIAKQ1AkoI241k2ENahCMfREpiENzVgoYJ5vPbiKxNyksG2j1sL3/R/mNfGz9QsySA0ZxcvLjyl28xGoQOJoCMulfc+2w5CgHbzdYlYW35nBS531srB0w/Qih7wUmw5JCVKOoa31XUcxxGsmtJdAUM67Qg/F4iFcToQxezfeVd6oHbqKIZqsjtrYvXr74TXTU/QgopQgjKHcl/sYDwctEVvrJXazOnbYtC6XvkEExd2VxEXmmXNIPb5uiaMHmRl75vo/oYe4GGJlsWDGDEfTNOi6jmKxiEql4li22fHERCRoxRSfdUqC7DTrh12/s9ms2Tl1HI1GXcsI0fD2ohzU5A2Zsn5RFpRMJpHJZMyzqKxfpIesFxqWdDrtWdYv0h6SzSNHReihzee7LAdNmdeURz6zTPu1WrfqG2a+6Q7YGHsDsM8kuuZ5jKcOEZ5rmc4W0advbrrWLy28tdIB5RsyN2g9o1cTEZ5D5jVlJ1k251BWPyrKs+yk+P8Eeb0y7FX/LpQ7gviggLZPCDcoqA0IPmcJWvUTczHHTjaW33eV0Yyyr4GcQq7suSAzinRYg3++y1aHOoL8Qo5f5DF47xh2ZRH4bLOB8NV2jN1TximKycNjhnNoR2QN7e234xZhoL2lpzt1/AfLekgsXhgSgQAAAABJRU5ErkJggg==';
5
- //# sourceMappingURL=dataBase.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dataBase.js","sourceRoot":"","sources":["../../../../src/assets/svg/dataBase.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,SAAS,GACrB,4bAA4b,CAAC;AAE9b,MAAM,CAAC,MAAM,CAAC,GACb,6IAA6I,CAAC;AAE/I,MAAM,CAAC,MAAM,UAAU,GACtB,knCAAknC,CAAC;AAEpnC,MAAM,CAAC,MAAM,GAAG,GACf,wlCAAwlC,CAAC"}
@@ -1 +0,0 @@
1
- export declare const x: import("lit").TemplateResult<2>;
@@ -1,35 +0,0 @@
1
- import { svg } from 'lit';
2
- export const x = svg `<svg width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg">
3
- <rect width="28" height="28" fill="white"/>
4
- <path d="M24.0891 3.1199L15.3446 9.61456L16.9617 5.7828L24.0891 3.1199Z" fill="#E2761B" stroke="#E2761B" stroke-width="0.0878845" stroke-linecap="round" stroke-linejoin="round"/>
5
- <path d="M3.90207 3.1199L12.5763 9.67608L11.0383 5.7828L3.90207 3.1199Z" fill="#E4761B" stroke="#E4761B" stroke-width="0.0878845" stroke-linecap="round" stroke-linejoin="round"/>
6
- <path d="M20.9429 18.1745L18.6139 21.7426L23.597 23.1136L25.0295 18.2536L20.9429 18.1745Z" fill="#E4761B" stroke="#E4761B" stroke-width="0.0878845" stroke-linecap="round" stroke-linejoin="round"/>
7
- <path d="M2.97929 18.2536L4.40301 23.1136L9.38607 21.7426L7.05713 18.1745L2.97929 18.2536Z" fill="#E4761B" stroke="#E4761B" stroke-width="0.0878845" stroke-linecap="round" stroke-linejoin="round"/>
8
- <path d="M9.10483 12.1456L7.71626 14.2461L12.6642 14.4658L12.4884 9.14877L9.10483 12.1456Z" fill="#E4761B" stroke="#E4761B" stroke-width="0.0878845" stroke-linecap="round" stroke-linejoin="round"/>
9
- <path d="M18.8864 12.1456L15.4589 9.08725L15.3446 14.4658L20.2837 14.2461L18.8864 12.1456Z" fill="#E4761B" stroke="#E4761B" stroke-width="0.0878845" stroke-linecap="round" stroke-linejoin="round"/>
10
- <path d="M9.38606 21.7426L12.3566 20.2925L9.79033 18.2888L9.38606 21.7426Z" fill="#E4761B" stroke="#E4761B" stroke-width="0.0878845" stroke-linecap="round" stroke-linejoin="round"/>
11
- <path d="M15.6347 20.2925L18.6139 21.7426L18.2009 18.2888L15.6347 20.2925Z" fill="#E4761B" stroke="#E4761B" stroke-width="0.0878845" stroke-linecap="round" stroke-linejoin="round"/>
12
- <path d="M18.6139 21.7426L15.6347 20.2925L15.8719 22.2348L15.8456 23.0521L18.6139 21.7426Z" fill="#D7C1B3" stroke="#D7C1B3" stroke-width="0.0878845" stroke-linecap="round" stroke-linejoin="round"/>
13
- <path d="M9.38606 21.7426L12.1544 23.0521L12.1368 22.2348L12.3566 20.2925L9.38606 21.7426Z" fill="#D7C1B3" stroke="#D7C1B3" stroke-width="0.0878845" stroke-linecap="round" stroke-linejoin="round"/>
14
- <path d="M12.1984 17.0056L9.72002 16.2762L11.4689 15.4765L12.1984 17.0056Z" fill="#233447" stroke="#233447" stroke-width="0.0878845" stroke-linecap="round" stroke-linejoin="round"/>
15
- <path d="M15.7928 17.0056L16.5223 15.4765L18.28 16.2762L15.7928 17.0056Z" fill="#233447" stroke="#233447" stroke-width="0.0878845" stroke-linecap="round" stroke-linejoin="round"/>
16
- <path d="M9.38606 21.7426L9.80791 18.1745L7.05712 18.2536L9.38606 21.7426Z" fill="#CD6116" stroke="#CD6116" stroke-width="0.0878845" stroke-linecap="round" stroke-linejoin="round"/>
17
- <path d="M18.1921 18.1745L18.6139 21.7426L20.9429 18.2536L18.1921 18.1745Z" fill="#CD6116" stroke="#CD6116" stroke-width="0.0878845" stroke-linecap="round" stroke-linejoin="round"/>
18
- <path d="M20.2837 14.2461L15.3446 14.4658L15.8016 17.0057L16.5311 15.4765L18.2888 16.2762L20.2837 14.2461Z" fill="#CD6116" stroke="#CD6116" stroke-width="0.0878845" stroke-linecap="round" stroke-linejoin="round"/>
19
- <path d="M9.72002 16.2762L11.4777 15.4765L12.1984 17.0057L12.6642 14.4658L7.71626 14.2461L9.72002 16.2762Z" fill="#CD6116" stroke="#CD6116" stroke-width="0.0878845" stroke-linecap="round" stroke-linejoin="round"/>
20
- <path d="M7.71626 14.2461L9.79033 18.2888L9.72002 16.2762L7.71626 14.2461Z" fill="#E4751F" stroke="#E4751F" stroke-width="0.0878845" stroke-linecap="round" stroke-linejoin="round"/>
21
- <path d="M18.2888 16.2762L18.2009 18.2888L20.2837 14.2461L18.2888 16.2762Z" fill="#E4751F" stroke="#E4751F" stroke-width="0.0878845" stroke-linecap="round" stroke-linejoin="round"/>
22
- <path d="M12.6642 14.4658L12.1984 17.0057L12.7784 20.0025L12.9102 16.0565L12.6642 14.4658Z" fill="#E4751F" stroke="#E4751F" stroke-width="0.0878845" stroke-linecap="round" stroke-linejoin="round"/>
23
- <path d="M15.3446 14.4658L15.1073 16.0477L15.2128 20.0025L15.8016 17.0057L15.3446 14.4658Z" fill="#E4751F" stroke="#E4751F" stroke-width="0.0878845" stroke-linecap="round" stroke-linejoin="round"/>
24
- <path d="M15.8016 17.0056L15.2128 20.0025L15.6347 20.2925L18.2009 18.2888L18.2888 16.2762L15.8016 17.0056Z" fill="#F6851B" stroke="#F6851B" stroke-width="0.0878845" stroke-linecap="round" stroke-linejoin="round"/>
25
- <path d="M9.72002 16.2762L9.79033 18.2888L12.3566 20.2925L12.7784 20.0025L12.1984 17.0056L9.72002 16.2762Z" fill="#F6851B" stroke="#F6851B" stroke-width="0.0878845" stroke-linecap="round" stroke-linejoin="round"/>
26
- <path d="M15.8456 23.0521L15.8719 22.2348L15.6522 22.0414H12.339L12.1368 22.2348L12.1544 23.0521L9.38606 21.7426L10.3528 22.5336L12.3126 23.8958H15.6786L17.6472 22.5336L18.6139 21.7426L15.8456 23.0521Z" fill="#C0AD9E" stroke="#C0AD9E" stroke-width="0.0878845" stroke-linecap="round" stroke-linejoin="round"/>
27
- <path d="M15.6347 20.2925L15.2128 20.0025H12.7784L12.3566 20.2925L12.1368 22.2348L12.339 22.0414H15.6522L15.8719 22.2348L15.6347 20.2925Z" fill="#161616" stroke="#161616" stroke-width="0.0878845" stroke-linecap="round" stroke-linejoin="round"/>
28
- <path d="M24.4583 10.0364L25.2053 6.45072L24.0891 3.1199L15.6347 9.39485L18.8864 12.1456L23.4827 13.4903L24.5022 12.3038L24.0628 11.9874L24.7658 11.3459L24.221 10.924L24.924 10.3879L24.4583 10.0364Z" fill="#763D16" stroke="#763D16" stroke-width="0.0878845" stroke-linecap="round" stroke-linejoin="round"/>
29
- <path d="M2.79472 6.45072L3.54174 10.0364L3.06717 10.3879L3.77024 10.924L3.23415 11.3459L3.93722 11.9874L3.4978 12.3038L4.50847 13.4903L9.10483 12.1456L12.3566 9.39485L3.90207 3.1199L2.79472 6.45072Z" fill="#763D16" stroke="#763D16" stroke-width="0.0878845" stroke-linecap="round" stroke-linejoin="round"/>
30
- <path d="M23.4827 13.4903L18.8864 12.1456L20.2837 14.2461L18.2009 18.2888L20.9429 18.2536H25.0295L23.4827 13.4903Z" fill="#F6851B" stroke="#F6851B" stroke-width="0.0878845" stroke-linecap="round" stroke-linejoin="round"/>
31
- <path d="M9.10484 12.1456L4.50848 13.4903L2.97929 18.2536H7.05713L9.79033 18.2888L7.71626 14.2461L9.10484 12.1456Z" fill="#F6851B" stroke="#F6851B" stroke-width="0.0878845" stroke-linecap="round" stroke-linejoin="round"/>
32
- <path d="M15.3446 14.4658L15.6347 9.39485L16.9705 5.7828H11.0383L12.3566 9.39485L12.6642 14.4658L12.7696 16.0653L12.7784 20.0025H15.2128L15.2304 16.0653L15.3446 14.4658Z" fill="#F6851B" stroke="#F6851B" stroke-width="0.0878845" stroke-linecap="round" stroke-linejoin="round"/>
33
- </svg>
34
- `;
35
- //# sourceMappingURL=metaMaskWallet.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"metaMaskWallet.js","sourceRoot":"","sources":["../../../../src/assets/svg/metaMaskWallet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCnB,CAAC"}
@@ -1 +0,0 @@
1
- export declare function ConnectedInfo({ avatar, walletAddress, onClick, className }: any): import("react/jsx-runtime").JSX.Element;
@@ -1,13 +0,0 @@
1
- 'use client';
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { styled } from 'styled-components';
4
- import { formatAddress } from '../../utils/formatter';
5
- const WalletInfoButton = styled.button `
6
- display: flex;
7
- align-items: center;
8
- gap: 10px;
9
- `;
10
- export function ConnectedInfo({ avatar, walletAddress, onClick, className }) {
11
- return (_jsxs(WalletInfoButton, { className: className, onClick: () => onClick(), children: [avatar?.text, _jsx("span", { children: formatAddress(walletAddress) })] }));
12
- }
13
- //# sourceMappingURL=ConnectedInfo.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ConnectedInfo.js","sourceRoot":"","sources":["../../../../src/components/ConnectButton/ConnectedInfo.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,CAAA;;;;CAIrC,CAAC;AAEF,MAAM,UAAU,aAAa,CAAC,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,EAAE,SAAS,EAAO;IAC/E,OAAO,CACN,MAAC,gBAAgB,IAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,EAAE,aAC9D,MAAM,EAAE,IAAI,EACb,yBAAO,aAAa,CAAC,aAAa,CAAC,GAAQ,IACzB,CACnB,CAAC;AACH,CAAC"}
@@ -1,8 +0,0 @@
1
- interface ConnectButtonProps {
2
- text?: string;
3
- showAvatar?: boolean;
4
- className?: string;
5
- infoClass?: string;
6
- }
7
- export declare function ConnectButton(props: ConnectButtonProps): import("react/jsx-runtime").JSX.Element;
8
- export {};
@@ -1,16 +0,0 @@
1
- 'use client';
2
- import { jsx as _jsx } from "react/jsx-runtime";
3
- import { useTranslation } from 'react-i18next';
4
- import { useWalletKit } from '../../hooks/useWalletKit';
5
- import { ConnectedInfo } from './ConnectedInfo';
6
- export function ConnectButton(props) {
7
- const { t } = useTranslation();
8
- const { text = t('connectWallet'), showAvatar = true, className, infoClass } = props;
9
- const { avatar, connectStatus, walletAddress, connect, showWalletInfo } = useWalletKit();
10
- return (_jsx("div", { children: connectStatus === 'connected' ? (_jsx(ConnectedInfo, { className: infoClass, avatar: showAvatar ? avatar : undefined, walletAddress: walletAddress, onClick: () => {
11
- showWalletInfo();
12
- } })) : (_jsx("button", { className: className, onClick: () => {
13
- connect();
14
- }, children: text })) }));
15
- }
16
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/ConnectButton/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAShD,MAAM,UAAU,aAAa,CAAC,KAAyB;IACtD,MAAM,EAAE,CAAC,EAAE,GAAG,cAAc,EAAE,CAAC;IAE/B,MAAM,EAAE,IAAI,GAAG,CAAC,CAAC,eAAe,CAAC,EAAE,UAAU,GAAG,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IACrF,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,aAAa,EAAE,OAAO,EAAE,cAAc,EAAE,GAAG,YAAY,EAAE,CAAC;IAEzF,OAAO,CACN,wBACE,aAAa,KAAK,WAAW,CAAC,CAAC,CAAC,CAChC,KAAC,aAAa,IACb,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,EACvC,aAAa,EAAE,aAAa,EAC5B,OAAO,EAAE,GAAG,EAAE;gBACb,cAAc,EAAE,CAAC;YAClB,CAAC,GACA,CACF,CAAC,CAAC,CAAC,CACH,iBACC,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,GAAG,EAAE;gBACb,OAAO,EAAE,CAAC;YACX,CAAC,YAEA,IAAI,GACG,CACT,GACI,CACN,CAAC;AACH,CAAC"}
@@ -1,6 +0,0 @@
1
- interface ConnectingProps {
2
- wallet: any;
3
- onClose: () => void;
4
- }
5
- export declare function Connecting({ wallet, onClose }: ConnectingProps): import("react/jsx-runtime").JSX.Element;
6
- export {};
@@ -1,11 +0,0 @@
1
- 'use client';
2
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
3
- import { useTranslation } from 'react-i18next';
4
- import ModalHeader from '../Header/ModalHeader';
5
- import SpinSvg from '../SVGs/spinSvg';
6
- import ConnectingContainer from './style';
7
- export function Connecting({ wallet, onClose }) {
8
- const { t } = useTranslation();
9
- return (_jsxs(_Fragment, { children: [_jsx(ModalHeader, { className: "mainTitle", onClose: onClose }), _jsxs(ConnectingContainer, { children: [_jsx("div", { className: "logo", children: _jsx("img", { src: wallet?.icon, alt: wallet?.name }) }), _jsx("div", { className: "introduce", children: `${t('opening')} ${wallet?.name} ${t('title')}...` }), _jsx("div", { className: "detail", children: t('confirmConnection') }), _jsx(SpinSvg, { className: "loading" })] })] }));
10
- }
11
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Connecting/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,WAAW,MAAM,uBAAuB,CAAC;AAChD,OAAO,OAAO,MAAM,iBAAiB,CAAC;AACtC,OAAO,mBAAmB,MAAM,SAAS,CAAC;AAO1C,MAAM,UAAU,UAAU,CAAC,EAAE,MAAM,EAAE,OAAO,EAAmB;IAC9D,MAAM,EAAE,CAAC,EAAE,GAAG,cAAc,EAAE,CAAC;IAE/B,OAAO,CACN,8BACC,KAAC,WAAW,IAAC,SAAS,EAAC,WAAW,EAAC,OAAO,EAAE,OAAO,GAAI,EACvD,MAAC,mBAAmB,eACnB,cAAK,SAAS,EAAC,MAAM,YACpB,cAAK,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,GAAI,GACxC,EACN,cAAK,SAAS,EAAC,WAAW,YAAE,GAAG,CAAC,CAAC,SAAS,CAAC,IAAI,MAAM,EAAE,IAAI,IAAI,CAAC,CAAC,OAAO,CAAC,KAAK,GAAO,EACrF,cAAK,SAAS,EAAC,QAAQ,YAAE,CAAC,CAAC,mBAAmB,CAAC,GAAO,EACtD,KAAC,OAAO,IAAC,SAAS,EAAC,SAAS,GAAG,IACV,IACpB,CACH,CAAC;AACH,CAAC"}
@@ -1,2 +0,0 @@
1
- declare const ConnectingContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
2
- export default ConnectingContainer;
@@ -1,52 +0,0 @@
1
- import { styled } from 'styled-components';
2
- const ConnectingContainer = styled.div `
3
- display: flex;
4
- flex-direction: column;
5
- align-items: center;
6
- margin-top: 72px;
7
- font-family: Manrope;
8
-
9
- .logo {
10
- img {
11
- width: 66px;
12
- height: 66px;
13
- }
14
- }
15
-
16
- .introduce {
17
- margin-top: 44px;
18
- font-size: 14px;
19
- font-weight: 700;
20
- line-height: 14px;
21
- color: ${({ theme }) => theme.textColor};
22
- }
23
-
24
- .detail {
25
- margin-top: 30px;
26
- font-size: 14px;
27
- font-weight: 700;
28
- line-height: 14px;
29
- color: ${({ theme }) => theme.textColor5};
30
- }
31
-
32
- .loading {
33
- margin-top: 24px;
34
- animation: spin 1s linear infinite;
35
-
36
- path {
37
- fill: ${({ theme }) => theme.spinColor};
38
- }
39
- }
40
-
41
- @keyframes spin {
42
- 100% {
43
- transform: rotate(360deg);
44
- }
45
- }
46
-
47
- @media (max-width: 768px) {
48
- margin-top: 36px;
49
- }
50
- `;
51
- export default ConnectingContainer;
52
- //# sourceMappingURL=style.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"style.js","sourceRoot":"","sources":["../../../../src/components/Connecting/style.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAE3C,MAAM,mBAAmB,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;;;;;;;;;;;;;WAmB3B,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,SAAS;;;;;;;;WAQ9B,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,UAAU;;;;;;;;WAQ/B,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,SAAS;;;;;;;;;;;;;CAaxC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -1,7 +0,0 @@
1
- interface GetWalletProps {
2
- wallet: any;
3
- onBack?: () => void;
4
- onClose: () => void;
5
- }
6
- export declare function GetWallet({ wallet, onBack, onClose }: GetWalletProps): import("react/jsx-runtime").JSX.Element;
7
- export {};
@@ -1,21 +0,0 @@
1
- 'use client';
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { useTranslation } from 'react-i18next';
4
- import { useState } from 'react';
5
- import ModalHeader from '../Header/ModalHeader';
6
- import GetWalletContainer from './style';
7
- import { chromeIcon } from '../../assets/svg/dataBase';
8
- import QRCode from 'react-qr-code';
9
- export function GetWallet({ wallet, onBack, onClose }) {
10
- const { t } = useTranslation();
11
- const [showQRCode, setShowQRCode] = useState(false);
12
- return (_jsxs(GetWalletContainer, { children: [_jsx(ModalHeader, { onClose: onClose, title: `${t('get')} ${wallet.name}`, onBack: () => {
13
- if (showQRCode) {
14
- return setShowQRCode(false);
15
- }
16
- onBack && onBack();
17
- } }), showQRCode ? (_jsxs("div", { className: "qrCodeBox", children: [_jsx("div", { className: "downloadTip", children: t('getAppTip') }), _jsx("div", { className: "qrCode", children: _jsx(QRCode, { value: wallet.downloadUrl }) }), _jsx("div", { className: "button", onClick: () => setShowQRCode(false), children: t('continue') })] })) : (_jsxs("div", { className: "cardBox", children: [_jsxs("div", { className: "card", children: [_jsx("img", { src: chromeIcon, alt: "Chrome" }), _jsxs("div", { children: [_jsx("div", { className: "title", children: `${wallet.name} ${t('forChrome')}` }), _jsx("div", { className: "description", children: t('chromeDescription') }), _jsx("div", { className: "button", onClick: () => {
18
- window.open(wallet.extension, '_blank');
19
- }, children: t('addToChrome') })] })] }), _jsxs("div", { className: "card", children: [_jsx("img", { src: wallet.icon, alt: wallet.name }), _jsxs("div", { children: [_jsx("div", { className: "title", children: `${wallet.name} ${t('forMobile')}` }), _jsx("div", { className: "description", children: t('mobileDescription') }), _jsx("div", { className: "button", onClick: () => setShowQRCode(true), children: t('getMobileApp') })] })] })] }))] }));
20
- }
21
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/GetWallet/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,WAAW,MAAM,uBAAuB,CAAC;AAChD,OAAO,kBAAkB,MAAM,SAAS,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,MAAM,MAAM,eAAe,CAAC;AAQnC,MAAM,UAAU,SAAS,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAkB;IACpE,MAAM,EAAE,CAAC,EAAE,GAAG,cAAc,EAAE,CAAC;IAE/B,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAEpD,OAAO,CACN,MAAC,kBAAkB,eAClB,KAAC,WAAW,IACX,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,GAAG,CAAC,CAAC,KAAK,CAAC,IAAI,MAAM,CAAC,IAAI,EAAE,EACnC,MAAM,EAAE,GAAG,EAAE;oBACZ,IAAI,UAAU,EAAE,CAAC;wBAChB,OAAO,aAAa,CAAC,KAAK,CAAC,CAAC;oBAC7B,CAAC;oBACD,MAAM,IAAI,MAAM,EAAE,CAAC;gBACpB,CAAC,GACA,EACD,UAAU,CAAC,CAAC,CAAC,CACb,eAAK,SAAS,EAAC,WAAW,aACzB,cAAK,SAAS,EAAC,aAAa,YAAE,CAAC,CAAC,WAAW,CAAC,GAAO,EACnD,cAAK,SAAS,EAAC,QAAQ,YACtB,KAAC,MAAM,IAAC,KAAK,EAAE,MAAM,CAAC,WAAW,GAAI,GAChC,EACN,cAAK,SAAS,EAAC,QAAQ,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,aAAa,CAAC,KAAK,CAAC,YACzD,CAAC,CAAC,UAAU,CAAC,GACT,IACD,CACN,CAAC,CAAC,CAAC,CACH,eAAK,SAAS,EAAC,SAAS,aACvB,eAAK,SAAS,EAAC,MAAM,aACpB,cAAK,GAAG,EAAE,UAAU,EAAE,GAAG,EAAC,QAAQ,GAAG,EACrC,0BACC,cAAK,SAAS,EAAC,OAAO,YAAE,GAAG,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,WAAW,CAAC,EAAE,GAAO,EACjE,cAAK,SAAS,EAAC,aAAa,YAAE,CAAC,CAAC,mBAAmB,CAAC,GAAO,EAC3D,cACC,SAAS,EAAC,QAAQ,EAClB,OAAO,EAAE,GAAG,EAAE;4CACb,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;wCACzC,CAAC,YAEA,CAAC,CAAC,aAAa,CAAC,GACZ,IACD,IACD,EACN,eAAK,SAAS,EAAC,MAAM,aACpB,cAAK,GAAG,EAAE,MAAM,CAAC,IAAI,EAAE,GAAG,EAAE,MAAM,CAAC,IAAI,GAAI,EAC3C,0BACC,cAAK,SAAS,EAAC,OAAO,YAAE,GAAG,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,WAAW,CAAC,EAAE,GAAO,EACjE,cAAK,SAAS,EAAC,aAAa,YAAE,CAAC,CAAC,mBAAmB,CAAC,GAAO,EAC3D,cAAK,SAAS,EAAC,QAAQ,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,YACxD,CAAC,CAAC,cAAc,CAAC,GACb,IACD,IACD,IACD,CACN,IACmB,CACrB,CAAC;AACH,CAAC"}
@@ -1,2 +0,0 @@
1
- declare const GetWalletContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
2
- export default GetWalletContainer;
@@ -1,117 +0,0 @@
1
- import { styled } from 'styled-components';
2
- const GetWalletContainer = styled.div `
3
- display: flex;
4
- flex-direction: column;
5
- font-family: Manrope;
6
- color: ${({ theme }) => theme.textColor1};
7
- height: 100%;
8
-
9
- .cardBox {
10
- display: flex;
11
- flex-direction: column;
12
- margin: 0 64px 24px;
13
- gap: 24px;
14
- flex: 1;
15
- }
16
-
17
- .card {
18
- display: flex;
19
- gap: 24px;
20
- padding: 40px 60px 0;
21
- border: 1px solid ${({ theme }) => theme.borderColor};
22
- border-radius: 12px;
23
- flex: 1;
24
- background: ${({ theme }) => theme.cardBg};
25
-
26
- img {
27
- width: 60px;
28
- height: 60px;
29
- border-radius: 12px;
30
- }
31
-
32
- .title {
33
- font-size: 14px;
34
- font-weight: 700;
35
- line-height: 14px;
36
- color: ${({ theme }) => theme.textColor};
37
- }
38
-
39
- .description {
40
- margin-top: 10px;
41
- font-size: 12px;
42
- font-weight: 500;
43
- line-height: 14px;
44
- color: ${({ theme }) => theme.textColor3};
45
- }
46
-
47
- .button {
48
- margin-top: 18px;
49
- }
50
- }
51
-
52
- .button {
53
- display: inline-block;
54
- padding: 11px 16px;
55
- color: ${({ theme }) => theme.buttonColor};
56
- background: ${({ theme }) => theme.buttonBg};
57
- font-size: 14px;
58
- font-weight: 700;
59
- line-height: 14px;
60
- text-align: center;
61
- border-radius: 8px;
62
- box-sizing: border-box;
63
- cursor: pointer;
64
- height: 36px;
65
- }
66
-
67
- .qrCodeBox {
68
- display: flex;
69
- flex-direction: column;
70
- align-items: center;
71
- justify-content: space-between;
72
- flex: 1;
73
-
74
- .downloadTip {
75
- text-align: center;
76
- font-size: 14px;
77
- font-weight: 600;
78
- line-height: 18px;
79
- }
80
-
81
- .qrCode {
82
- margin-top: 24px;
83
- display: flex;
84
- justify-content: center;
85
- align-items: center;
86
- width: 270px;
87
- height: 270px;
88
- border-radius: 12px;
89
- border: 1px solid ${({ theme }) => theme.borderColor};
90
- font-size: 0;
91
- overflow: hidden;
92
- }
93
-
94
- .button {
95
- margin-top: auto;
96
- margin-bottom: 24px;
97
- }
98
- }
99
-
100
- @media (max-width: 768px) {
101
- .cardBox {
102
- margin: 0 24px 24px;
103
-
104
- .card {
105
- padding: 35px 24px;
106
- }
107
- }
108
-
109
- .qrCodeBox {
110
- .button {
111
- margin-top: 16px;
112
- }
113
- }
114
- }
115
- `;
116
- export default GetWalletContainer;
117
- //# sourceMappingURL=style.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"style.js","sourceRoot":"","sources":["../../../../src/components/GetWallet/style.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAE3C,MAAM,kBAAkB,GAAG,MAAM,CAAC,GAAG,CAAA;;;;UAI3B,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,UAAU;;;;;;;;;;;;;;;sBAenB,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,WAAW;;;gBAGtC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,MAAM;;;;;;;;;;;;YAY/B,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,SAAS;;;;;;;;YAQ9B,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,UAAU;;;;;;;;;;;WAWhC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,WAAW;gBAC3B,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAiCtB,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BtD,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -1,8 +0,0 @@
1
- interface ModalHeaderProps {
2
- title?: string | null;
3
- onBack?: () => void;
4
- className?: string;
5
- onClose: () => void;
6
- }
7
- export default function ModalHeader({ title, onBack, className, onClose }: ModalHeaderProps): import("react/jsx-runtime").JSX.Element;
8
- export {};
@@ -1,9 +0,0 @@
1
- 'use client';
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import ModalHeaderBox from './style';
4
- import BackArrowSvg from '../SVGs/backArrowSvg';
5
- import CloseSvg from '../SVGs/closeSvg';
6
- export default function ModalHeader({ title = '', onBack, className, onClose }) {
7
- return (_jsxs(ModalHeaderBox, { className: className, children: [onBack ? _jsx(BackArrowSvg, { className: "backBtn", onClick: onBack }) : _jsx("div", { className: "backBtn" }), title ? _jsx("div", { className: "title", children: title }) : _jsx("div", {}), _jsx("div", { className: "closeBtn", onClick: onClose, children: _jsx(CloseSvg, {}) })] }));
8
- }
9
- //# sourceMappingURL=ModalHeader.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ModalHeader.js","sourceRoot":"","sources":["../../../../src/components/Header/ModalHeader.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,cAAc,MAAM,SAAS,CAAC;AACrC,OAAO,YAAY,MAAM,sBAAsB,CAAC;AAChD,OAAO,QAAQ,MAAM,kBAAkB,CAAC;AASxC,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAAE,KAAK,GAAG,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAoB;IAC/F,OAAO,CACN,MAAC,cAAc,IAAC,SAAS,EAAE,SAAS,aAClC,MAAM,CAAC,CAAC,CAAC,KAAC,YAAY,IAAC,SAAS,EAAC,SAAS,EAAC,OAAO,EAAE,MAAM,GAAI,CAAC,CAAC,CAAC,cAAK,SAAS,EAAC,SAAS,GAAO,EAChG,KAAK,CAAC,CAAC,CAAC,cAAK,SAAS,EAAC,OAAO,YAAE,KAAK,GAAO,CAAC,CAAC,CAAC,eAAW,EAC3D,cAAK,SAAS,EAAC,UAAU,EAAC,OAAO,EAAE,OAAO,YACzC,KAAC,QAAQ,KAAG,GACP,IACU,CACjB,CAAC;AACH,CAAC"}
@@ -1,2 +0,0 @@
1
- declare const ModalHeaderBox: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
2
- export default ModalHeaderBox;
@@ -1,74 +0,0 @@
1
- import { styled } from 'styled-components';
2
- const ModalHeaderBox = styled.div `
3
- width: 100%;
4
- height: 56px;
5
- position: relative;
6
- display: flex;
7
- align-items: center;
8
- justify-content: space-between;
9
- flex-shrink: 0;
10
-
11
- .backBtn {
12
- cursor: pointer;
13
- margin-left: 20px;
14
-
15
- path {
16
- fill: ${({ theme }) => theme.backArrowColor};
17
- }
18
- }
19
-
20
- .title {
21
- color: ${({ theme }) => theme.textColor};
22
- font-size: 16px;
23
- font-weight: 700;
24
- line-height: 170%;
25
- letter-spacing: 0.3px;
26
- }
27
-
28
- .closeBtn {
29
- margin-right: 20px;
30
- cursor: pointer;
31
- display: flex;
32
- align-items: center;
33
- justify-content: center;
34
- width: 24px;
35
- height: 24px;
36
- border-radius: 12px;
37
- transition: all 0.2s;
38
- color: ${({ theme }) => theme.closeBtnColor};
39
- transform-origin: 50% 50%;
40
- background-color: ${({ theme }) => theme.closeBtnBg};
41
- z-index: 1;
42
-
43
- &:hover {
44
- background-color: ${({ theme }) => theme.closeBtnHoverBg};
45
- transform: rotate(180deg);
46
- transition: all 0.2s;
47
- }
48
- }
49
-
50
- &.asideTitle {
51
- justify-content: flex-start;
52
- height: auto;
53
-
54
- .closeBtn {
55
- display: none;
56
- }
57
- }
58
-
59
- @media (max-width: 768px) {
60
- &.mainTitle {
61
- display: none;
62
- }
63
-
64
- &.asideTitle {
65
- justify-content: space-between;
66
- height: 56px;
67
- .closeBtn {
68
- display: flex;
69
- }
70
- }
71
- }
72
- `;
73
- export default ModalHeaderBox;
74
- //# sourceMappingURL=style.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"style.js","sourceRoot":"","sources":["../../../../src/components/Header/style.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAE3C,MAAM,cAAc,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;;;;;;;;WActB,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,cAAc;;;;;WAKnC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,SAAS;;;;;;;;;;;;;;;;;WAiB9B,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,aAAa;;sBAEvB,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,UAAU;;;;uBAI9B,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4B1D,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -1,23 +0,0 @@
1
- import React from 'react';
2
- interface IconImageArg {
3
- src: any;
4
- width?: number | string;
5
- height?: number | string;
6
- borderRadius?: string;
7
- isRadius?: boolean;
8
- className?: string;
9
- }
10
- interface FoldIconImageArg {
11
- src: Array<string>;
12
- width?: number | string;
13
- height?: number | string;
14
- offset?: number;
15
- proportion?: number;
16
- className?: string;
17
- isRadius?: boolean;
18
- }
19
- export declare const Icon: React.FC<IconImageArg>;
20
- export declare const Image: React.FC<IconImageArg>;
21
- export declare const FoldIconBox: React.FC<FoldIconImageArg>;
22
- export declare const FoldIconBoxBig: React.FC<FoldIconImageArg>;
23
- export default Icon;
@@ -1,48 +0,0 @@
1
- 'use client';
2
- import { jsx as _jsx } from "react/jsx-runtime";
3
- import React from 'react';
4
- import { styled } from 'styled-components';
5
- const IconImage = styled.img `
6
- display: block;
7
- transition: all 0.2s;
8
- `;
9
- const IconImageBox = styled.div `
10
- cursor: pointer;
11
- display: flex;
12
- position: relative;
13
- `;
14
- const IconItem = styled.div `
15
- cursor: pointer;
16
- float: left;
17
- display: flex;
18
- justify-items: center;
19
- `;
20
- export const Icon = ({ src, width, height, className }) => {
21
- return (_jsx(IconImage, { className: className, src: src, width: width ? width + 'px' : '24px', height: height ? height + 'px' : '24px' }));
22
- };
23
- export const Image = ({ src, width, height, isRadius = true, className, borderRadius }) => {
24
- return (_jsx(IconImage, { className: className, src: src, width: width ? width : 'auto', height: height ? height : 'auto', style: { borderRadius: borderRadius ? borderRadius : isRadius ? '50%' : '0' } }));
25
- };
26
- export const FoldIconBox = ({ src, width, height, offset = 0, isRadius = true }) => {
27
- return (_jsx(IconImageBox, { children: src.map((item, index) => {
28
- return (_jsx(IconItem, { style: {
29
- zIndex: index + 1,
30
- marginLeft: index == 0 ? '0px' : offset + 'px',
31
- width: width ? width + 'px' : '24px',
32
- height: height ? height + 'px' : '24px'
33
- }, children: _jsx(IconImage, { src: item, width: width ? width : 24, height: height ? height : 24, style: { borderRadius: isRadius ? '50%' : '0' } }) }, index));
34
- }) }));
35
- };
36
- export const FoldIconBoxBig = ({ src, width, height, offset = 0, proportion = 1 }) => {
37
- return (_jsx(IconImageBox, { children: src.map((item, index) => {
38
- return (_jsx(IconItem, { style: {
39
- zIndex: index + 1,
40
- marginLeft: index == 0 ? '0px' : offset + 'px',
41
- marginTop: index == 0 ? '0px' : -(offset / 2) + 'px',
42
- width: width ? width + 'px' : '24px',
43
- height: height ? height + 'px' : '24px'
44
- }, children: index === src.length - 1 ? (_jsx(IconImage, { src: item, width: width ? Number(width) * proportion : 24 * proportion, height: height ? Number(height) * proportion : 24 * proportion })) : (_jsx(IconImage, { src: item, width: width ? width : 24, height: height ? height : 24 })) }, index));
45
- }) }));
46
- };
47
- export default Icon;
48
- //# sourceMappingURL=index.js.map