@layerswap/widget 1.0.5 → 1.1.0

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 (361) hide show
  1. package/dist/esm/Models/LayerSwapSettings.js +0 -1
  2. package/dist/esm/Models/Theme.js +39 -8
  3. package/dist/esm/components/Buttons/copyButton.js +5 -3
  4. package/dist/esm/components/Buttons/submitButton.js +2 -1
  5. package/dist/esm/components/ColorSchema.js +3 -10
  6. package/dist/esm/components/Common/ConnectWalletButton.js +9 -3
  7. package/dist/esm/components/Common/CountDownTimer.js +0 -15
  8. package/dist/esm/components/Common/WarningMessage.js +4 -2
  9. package/dist/esm/components/Common/guideLink.js +4 -6
  10. package/dist/esm/components/ErrorFallback.js +11 -11
  11. package/dist/esm/components/HeaderWithMenu.js +1 -1
  12. package/dist/esm/components/Icons/Wallets/Xverse.js +3 -0
  13. package/dist/esm/components/Icons/Wallets/index.js +1 -0
  14. package/dist/esm/components/Input/Address/AddressPicker/index.js +15 -12
  15. package/dist/esm/components/Input/Amount/Balance.js +8 -2
  16. package/dist/esm/components/Input/Amount/ExchangeReceiveAmount.js +8 -0
  17. package/dist/esm/components/Input/Amount/MinMax.js +1 -1
  18. package/dist/esm/components/Input/Amount/PriceImpact.js +5 -38
  19. package/dist/esm/components/Input/Amount/ReceiveAmount.js +2 -2
  20. package/dist/esm/components/Input/Amount/index.js +3 -3
  21. package/dist/esm/components/Input/DestinationPicker.js +2 -2
  22. package/dist/esm/components/Input/NumericInput.js +7 -4
  23. package/dist/esm/components/Input/RoutePicker/Content.js +19 -3
  24. package/dist/esm/components/Input/RoutePicker/RouterPickerWalletConnect.js +5 -5
  25. package/dist/esm/components/Input/RoutePicker/Routes.js +18 -18
  26. package/dist/esm/components/Input/RoutePicker/Rows/CollapsableHeader.js +2 -2
  27. package/dist/esm/components/Input/RoutePicker/Rows/CollapsibleRow.js +3 -3
  28. package/dist/esm/components/Input/RoutePicker/Rows/StickyHeader.js +2 -2
  29. package/dist/esm/components/Input/RoutePicker/Rows/SuggestionsHeader.js +55 -0
  30. package/dist/esm/components/Input/RoutePicker/Rows/TitleRow.js +11 -0
  31. package/dist/esm/components/Input/RoutePicker/Rows/index.js +6 -7
  32. package/dist/esm/components/Input/RoutePicker/index.js +2 -2
  33. package/dist/esm/components/Input/SourceWalletPicker.js +7 -5
  34. package/dist/esm/components/Menu/index.js +2 -2
  35. package/dist/esm/components/Modal/vaulModal.js +11 -16
  36. package/dist/esm/components/Pages/Campaigns/Details/Leaderboard.js +2 -2
  37. package/dist/esm/components/Pages/Campaigns/Details/Rewards.js +2 -2
  38. package/dist/esm/components/Pages/Campaigns/Details/index.js +2 -3
  39. package/dist/esm/components/Pages/Campaigns/index.js +3 -4
  40. package/dist/esm/components/Pages/Swap/Form/ExchangeForm.js +21 -19
  41. package/dist/esm/components/Pages/Swap/Form/FeeDetails/Rate.js +5 -4
  42. package/dist/esm/components/Pages/Swap/Form/FeeDetails/Refuel.js +8 -6
  43. package/dist/esm/components/Pages/Swap/Form/FeeDetails/Slippage.js +6 -1
  44. package/dist/esm/components/Pages/Swap/Form/FeeDetails/SwapQuote/DetailedEstimates.js +51 -14
  45. package/dist/esm/components/Pages/Swap/Form/FeeDetails/SwapQuote/SummaryRow.js +2 -2
  46. package/dist/esm/components/Pages/Swap/Form/FeeDetails/SwapQuote/index.js +4 -4
  47. package/dist/esm/components/Pages/Swap/Form/FeeDetails/index.js +8 -9
  48. package/dist/esm/components/Pages/Swap/Form/Form.js +27 -3
  49. package/dist/esm/components/Pages/Swap/Form/FormWrapper.js +8 -14
  50. package/dist/esm/components/Pages/Swap/Form/NetworkForm.js +11 -13
  51. package/dist/esm/components/Pages/Swap/Form/SecondaryComponents/ReserveGasNote.js +8 -6
  52. package/dist/esm/components/Pages/Swap/Form/SecondaryComponents/validationError/ErrorDisplay.js +1 -1
  53. package/dist/esm/components/Pages/Swap/Withdraw/Failed.js +12 -8
  54. package/dist/esm/components/Pages/Swap/Withdraw/ManualWithdraw.js +29 -10
  55. package/dist/esm/components/Pages/Swap/Withdraw/NotFound.js +15 -4
  56. package/dist/esm/components/Pages/Swap/Withdraw/Processing/Processing.js +36 -41
  57. package/dist/esm/components/Pages/Swap/Withdraw/Summary/Summary.js +3 -3
  58. package/dist/esm/components/Pages/Swap/Withdraw/Summary/index.js +3 -3
  59. package/dist/esm/components/Pages/Swap/Withdraw/SwapDetails.js +9 -7
  60. package/dist/esm/components/Pages/Swap/Withdraw/Wallet/Common/actionMessage.js +43 -0
  61. package/dist/esm/components/Pages/Swap/Withdraw/Wallet/Common/buttons.js +118 -71
  62. package/dist/esm/components/Pages/Swap/Withdraw/Wallet/index.js +56 -65
  63. package/dist/esm/components/Pages/Swap/Withdraw/WalletTransferButton.js +2 -2
  64. package/dist/esm/components/Pages/Swap/Withdraw/WalletTransferContent.js +2 -2
  65. package/dist/esm/components/Pages/Swap/Withdraw/Withdraw.js +3 -3
  66. package/dist/esm/components/Pages/Swap/Withdraw/index.js +5 -4
  67. package/dist/esm/components/Pages/Swap/Withdraw/messages/TransactionMessages.js +14 -15
  68. package/dist/esm/components/Pages/SwapHistory/History.js +2 -2
  69. package/dist/esm/components/Pages/SwapHistory/SwapDetailsComponent.js +4 -1
  70. package/dist/esm/components/Pages/SwapHistory/index.js +6 -6
  71. package/dist/esm/components/Wallet/WalletComponents/ConnectedWallets.js +1 -1
  72. package/dist/esm/components/Wallet/WalletComponents/WalletsList.js +4 -3
  73. package/dist/esm/components/Wallet/WalletModal/Connector.js +2 -2
  74. package/dist/esm/components/Wallet/WalletModal/ConnectorsList.js +49 -24
  75. package/dist/esm/components/Wallet/WalletModal/index.js +3 -1
  76. package/dist/esm/components/Wallet/WalletProviders/index.js +4 -2
  77. package/dist/esm/components/Widget/Content.js +2 -2
  78. package/dist/esm/components/Widget/Footer.js +1 -1
  79. package/dist/esm/components/Widget/Index.js +2 -3
  80. package/dist/esm/components/WidgetLoading.js +9 -2
  81. package/dist/esm/components/utils/RoundDecimals.js +4 -2
  82. package/dist/esm/context/ErrorProvider.js +14 -0
  83. package/dist/esm/context/LayerswapProvider.js +6 -5
  84. package/dist/esm/context/asyncModal.js +1 -1
  85. package/dist/esm/context/callbackProvider.js +54 -60
  86. package/dist/esm/context/resolverContext.js +7 -2
  87. package/dist/esm/context/swap.js +13 -18
  88. package/dist/esm/context/{balanceAccounts.js → swapAccounts.js} +17 -17
  89. package/dist/esm/context/validationContext.js +1 -1
  90. package/dist/esm/context/walletProviders.js +7 -1
  91. package/dist/esm/context/withdrawalContext.js +2 -2
  92. package/dist/esm/exports/internal.js +4 -3
  93. package/dist/esm/helpers/filterSourceNetworks.js +23 -0
  94. package/dist/esm/helpers/getSettings/getSettings.js +18 -13
  95. package/dist/esm/helpers/routes.js +4 -1
  96. package/dist/esm/hooks/useAllWithdrawalBalances.js +6 -5
  97. package/dist/esm/hooks/useFormRoutes.js +16 -8
  98. package/dist/esm/hooks/useFormValidation.js +11 -6
  99. package/dist/esm/hooks/useRouteValidation.js +1 -1
  100. package/dist/esm/hooks/useSwrSwaps.js +1 -1
  101. package/dist/esm/hooks/useTransfer.js +9 -0
  102. package/dist/esm/hooks/useWallet.js +7 -7
  103. package/dist/esm/lib/AppSettings.js +28 -17
  104. package/dist/esm/lib/ErrorHandler.js +6 -0
  105. package/dist/esm/lib/NetworkSettings.js +0 -16
  106. package/dist/esm/lib/apiClients/layerSwapApiClient.js +12 -35
  107. package/dist/esm/lib/axiosInterceptor.js +2 -2
  108. package/dist/esm/lib/balances/balanceResolver.js +9 -13
  109. package/dist/esm/lib/fees.js +50 -0
  110. package/dist/esm/lib/resolvers/resolverService.js +10 -1
  111. package/dist/esm/lib/transfers/index.js +1 -0
  112. package/dist/esm/lib/transfers/transferResolver.js +14 -0
  113. package/dist/esm/stores/balanceStore.js +1 -2
  114. package/dist/esm/stores/logStore.js +11 -0
  115. package/dist/esm/types/balance.js +8 -9
  116. package/dist/esm/types/index.js +1 -0
  117. package/dist/esm/types/logEvents.js +1 -0
  118. package/dist/index.css +2 -2
  119. package/dist/tsconfig.tsbuildinfo +1 -1
  120. package/dist/types/Models/Balance.d.ts +1 -1
  121. package/dist/types/Models/LayerSwapSettings.d.ts +7 -0
  122. package/dist/types/Models/LayerSwapSettings.d.ts.map +1 -1
  123. package/dist/types/Models/Theme.d.ts +0 -3
  124. package/dist/types/Models/Theme.d.ts.map +1 -1
  125. package/dist/types/components/Buttons/copyButton.d.ts +3 -1
  126. package/dist/types/components/Buttons/copyButton.d.ts.map +1 -1
  127. package/dist/types/components/Buttons/submitButton.d.ts +1 -1
  128. package/dist/types/components/Buttons/submitButton.d.ts.map +1 -1
  129. package/dist/types/components/ColorSchema.d.ts.map +1 -1
  130. package/dist/types/components/Common/ConnectWalletButton.d.ts +1 -1
  131. package/dist/types/components/Common/ConnectWalletButton.d.ts.map +1 -1
  132. package/dist/types/components/Common/CountDownTimer.d.ts.map +1 -1
  133. package/dist/types/components/Common/WarningMessage.d.ts.map +1 -1
  134. package/dist/types/components/Common/guideLink.d.ts.map +1 -1
  135. package/dist/types/components/ErrorFallback.d.ts.map +1 -1
  136. package/dist/types/components/HeaderWithMenu.d.ts.map +1 -1
  137. package/dist/types/components/Icons/Wallets/Xverse.d.ts +4 -0
  138. package/dist/types/components/Icons/Wallets/Xverse.d.ts.map +1 -0
  139. package/dist/types/components/Icons/Wallets/index.d.ts +1 -0
  140. package/dist/types/components/Icons/Wallets/index.d.ts.map +1 -1
  141. package/dist/types/components/Input/Address/AddressNote.d.ts +2 -2
  142. package/dist/types/components/Input/Address/AddressPicker/AddressBook.d.ts +3 -3
  143. package/dist/types/components/Input/Address/AddressPicker/AddressButton.d.ts +3 -3
  144. package/dist/types/components/Input/Address/AddressPicker/AddressWithIcon.d.ts +2 -2
  145. package/dist/types/components/Input/Address/AddressPicker/ConnectedWallets.d.ts +2 -2
  146. package/dist/types/components/Input/Address/AddressPicker/ManualAddressInput.d.ts +4 -4
  147. package/dist/types/components/Input/Address/AddressPicker/index.d.ts +4 -4
  148. package/dist/types/components/Input/Address/AddressPicker/index.d.ts.map +1 -1
  149. package/dist/types/components/Input/Address/index.d.ts +1 -1
  150. package/dist/types/components/Input/Amount/Balance.d.ts +1 -1
  151. package/dist/types/components/Input/Amount/Balance.d.ts.map +1 -1
  152. package/dist/types/components/Input/Amount/ExchangeReceiveAmount.d.ts +11 -0
  153. package/dist/types/components/Input/Amount/ExchangeReceiveAmount.d.ts.map +1 -0
  154. package/dist/types/components/Input/Amount/MinMax.d.ts +1 -1
  155. package/dist/types/components/Input/Amount/PriceImpact.d.ts +2 -6
  156. package/dist/types/components/Input/Amount/PriceImpact.d.ts.map +1 -1
  157. package/dist/types/components/Input/Amount/ReceiveAmount.d.ts +2 -3
  158. package/dist/types/components/Input/Amount/ReceiveAmount.d.ts.map +1 -1
  159. package/dist/types/components/Input/Amount/helpers.d.ts +2 -2
  160. package/dist/types/components/Input/Amount/index.d.ts +1 -1
  161. package/dist/types/components/Input/CexPicker.d.ts +1 -1
  162. package/dist/types/components/Input/DestinationPicker.d.ts +1 -1
  163. package/dist/types/components/Input/DestinationPicker.d.ts.map +1 -1
  164. package/dist/types/components/Input/NumericInput.d.ts.map +1 -1
  165. package/dist/types/components/Input/RoutePicker/Content.d.ts +5 -5
  166. package/dist/types/components/Input/RoutePicker/Content.d.ts.map +1 -1
  167. package/dist/types/components/Input/RoutePicker/RouterPickerWalletConnect.d.ts +1 -1
  168. package/dist/types/components/Input/RoutePicker/Routes.d.ts +4 -8
  169. package/dist/types/components/Input/RoutePicker/Routes.d.ts.map +1 -1
  170. package/dist/types/components/Input/RoutePicker/Rows/CollapsableHeader.d.ts +3 -4
  171. package/dist/types/components/Input/RoutePicker/Rows/CollapsableHeader.d.ts.map +1 -1
  172. package/dist/types/components/Input/RoutePicker/Rows/CollapsibleRow.d.ts +6 -5
  173. package/dist/types/components/Input/RoutePicker/Rows/CollapsibleRow.d.ts.map +1 -1
  174. package/dist/types/components/Input/RoutePicker/Rows/StickyHeader.d.ts +3 -4
  175. package/dist/types/components/Input/RoutePicker/Rows/StickyHeader.d.ts.map +1 -1
  176. package/dist/types/components/Input/RoutePicker/Rows/SuggestionsHeader.d.ts +7 -0
  177. package/dist/types/components/Input/RoutePicker/Rows/SuggestionsHeader.d.ts.map +1 -0
  178. package/dist/types/components/Input/RoutePicker/Rows/TitleRow.d.ts +7 -0
  179. package/dist/types/components/Input/RoutePicker/Rows/TitleRow.d.ts.map +1 -0
  180. package/dist/types/components/Input/RoutePicker/Rows/index.d.ts +5 -5
  181. package/dist/types/components/Input/RoutePicker/Rows/index.d.ts.map +1 -1
  182. package/dist/types/components/Input/RoutePicker/index.d.ts +1 -1
  183. package/dist/types/components/Input/RoutePicker/index.d.ts.map +1 -1
  184. package/dist/types/components/Input/SourcePicker.d.ts +1 -1
  185. package/dist/types/components/Input/SourceWalletPicker.d.ts.map +1 -1
  186. package/dist/types/components/Modal/vaulModal.d.ts.map +1 -1
  187. package/dist/types/components/Pages/Campaigns/Details/Leaderboard.d.ts +1 -1
  188. package/dist/types/components/Pages/Campaigns/Details/Rewards.d.ts +1 -1
  189. package/dist/types/components/Pages/Campaigns/Details/index.d.ts +1 -2
  190. package/dist/types/components/Pages/Campaigns/Details/index.d.ts.map +1 -1
  191. package/dist/types/components/Pages/Campaigns/index.d.ts +2 -3
  192. package/dist/types/components/Pages/Campaigns/index.d.ts.map +1 -1
  193. package/dist/types/components/Pages/Swap/Form/ExchangeForm.d.ts +3 -1
  194. package/dist/types/components/Pages/Swap/Form/ExchangeForm.d.ts.map +1 -1
  195. package/dist/types/components/Pages/Swap/Form/FeeDetails/Rate.d.ts +7 -6
  196. package/dist/types/components/Pages/Swap/Form/FeeDetails/Rate.d.ts.map +1 -1
  197. package/dist/types/components/Pages/Swap/Form/FeeDetails/ReceiveAmounts.d.ts +2 -2
  198. package/dist/types/components/Pages/Swap/Form/FeeDetails/Refuel.d.ts +1 -1
  199. package/dist/types/components/Pages/Swap/Form/FeeDetails/Refuel.d.ts.map +1 -1
  200. package/dist/types/components/Pages/Swap/Form/FeeDetails/RefuelModal.d.ts +1 -1
  201. package/dist/types/components/Pages/Swap/Form/FeeDetails/Slippage.d.ts +1 -1
  202. package/dist/types/components/Pages/Swap/Form/FeeDetails/SwapQuote/DetailedEstimates.d.ts +3 -2
  203. package/dist/types/components/Pages/Swap/Form/FeeDetails/SwapQuote/DetailedEstimates.d.ts.map +1 -1
  204. package/dist/types/components/Pages/Swap/Form/FeeDetails/SwapQuote/SummaryRow.d.ts +4 -4
  205. package/dist/types/components/Pages/Swap/Form/FeeDetails/SwapQuote/index.d.ts +4 -4
  206. package/dist/types/components/Pages/Swap/Form/FeeDetails/SwapQuote/index.d.ts.map +1 -1
  207. package/dist/types/components/Pages/Swap/Form/FeeDetails/SwapQuote/utils.d.ts +2 -2
  208. package/dist/types/components/Pages/Swap/Form/FeeDetails/index.d.ts +7 -4
  209. package/dist/types/components/Pages/Swap/Form/FeeDetails/index.d.ts.map +1 -1
  210. package/dist/types/components/Pages/Swap/Form/Form.d.ts.map +1 -1
  211. package/dist/types/components/Pages/Swap/Form/FormWrapper.d.ts +1 -1
  212. package/dist/types/components/Pages/Swap/Form/FormWrapper.d.ts.map +1 -1
  213. package/dist/types/components/Pages/Swap/Form/NetworkForm.d.ts +1 -1
  214. package/dist/types/components/Pages/Swap/Form/NetworkForm.d.ts.map +1 -1
  215. package/dist/types/components/Pages/Swap/Form/SecondaryComponents/FormButton.d.ts +1 -1
  216. package/dist/types/components/Pages/Swap/Form/SecondaryComponents/ReserveGasNote.d.ts +2 -2
  217. package/dist/types/components/Pages/Swap/Form/SecondaryComponents/ReserveGasNote.d.ts.map +1 -1
  218. package/dist/types/components/Pages/Swap/Form/SecondaryComponents/validationError/ErrorDisplay.d.ts +1 -1
  219. package/dist/types/components/Pages/Swap/Form/SwapFormValues.d.ts +2 -2
  220. package/dist/types/components/Pages/Swap/Withdraw/Failed.d.ts.map +1 -1
  221. package/dist/types/components/Pages/Swap/Withdraw/ManualWithdraw.d.ts +4 -3
  222. package/dist/types/components/Pages/Swap/Withdraw/ManualWithdraw.d.ts.map +1 -1
  223. package/dist/types/components/Pages/Swap/Withdraw/NotFound.d.ts.map +1 -1
  224. package/dist/types/components/Pages/Swap/Withdraw/Processing/Processing.d.ts +1 -1
  225. package/dist/types/components/Pages/Swap/Withdraw/Processing/Processing.d.ts.map +1 -1
  226. package/dist/types/components/Pages/Swap/Withdraw/QuoteUpdate.d.ts +1 -1
  227. package/dist/types/components/Pages/Swap/Withdraw/Summary/Summary.d.ts +1 -1
  228. package/dist/types/components/Pages/Swap/Withdraw/SwapDetails.d.ts +2 -1
  229. package/dist/types/components/Pages/Swap/Withdraw/SwapDetails.d.ts.map +1 -1
  230. package/dist/types/components/Pages/Swap/Withdraw/SwapQuoteDetails.d.ts +3 -3
  231. package/dist/types/components/Pages/Swap/Withdraw/Wallet/Common/actionMessage.d.ts +6 -0
  232. package/dist/types/components/Pages/Swap/Withdraw/Wallet/Common/actionMessage.d.ts.map +1 -0
  233. package/dist/types/components/Pages/Swap/Withdraw/Wallet/Common/buttons.d.ts +4 -3
  234. package/dist/types/components/Pages/Swap/Withdraw/Wallet/Common/buttons.d.ts.map +1 -1
  235. package/dist/types/components/Pages/Swap/Withdraw/Wallet/Common/sharedTypes.d.ts +2 -1
  236. package/dist/types/components/Pages/Swap/Withdraw/Wallet/Common/sharedTypes.d.ts.map +1 -1
  237. package/dist/types/components/Pages/Swap/Withdraw/Wallet/index.d.ts +2 -1
  238. package/dist/types/components/Pages/Swap/Withdraw/Wallet/index.d.ts.map +1 -1
  239. package/dist/types/components/Pages/Swap/Withdraw/WalletTransferButton.d.ts +2 -1
  240. package/dist/types/components/Pages/Swap/Withdraw/WalletTransferButton.d.ts.map +1 -1
  241. package/dist/types/components/Pages/Swap/Withdraw/WalletTransferContent.d.ts +1 -1
  242. package/dist/types/components/Pages/Swap/Withdraw/Withdraw.d.ts +2 -1
  243. package/dist/types/components/Pages/Swap/Withdraw/Withdraw.d.ts.map +1 -1
  244. package/dist/types/components/Pages/Swap/Withdraw/index.d.ts +1 -2
  245. package/dist/types/components/Pages/Swap/Withdraw/index.d.ts.map +1 -1
  246. package/dist/types/components/Pages/Swap/Withdraw/messages/TransactionMessages.d.ts +3 -4
  247. package/dist/types/components/Pages/Swap/Withdraw/messages/TransactionMessages.d.ts.map +1 -1
  248. package/dist/types/components/Pages/SwapHistory/HistorySummary.d.ts +2 -2
  249. package/dist/types/components/Pages/SwapHistory/StatusIcons.d.ts +1 -1
  250. package/dist/types/components/Pages/SwapHistory/SwapDetailsComponent.d.ts +1 -1
  251. package/dist/types/components/Pages/SwapHistory/SwapDetailsComponent.d.ts.map +1 -1
  252. package/dist/types/components/Pages/SwapHistory/index.d.ts +3 -1
  253. package/dist/types/components/Pages/SwapHistory/index.d.ts.map +1 -1
  254. package/dist/types/components/Wallet/WalletComponents/WalletsList.d.ts +3 -3
  255. package/dist/types/components/Wallet/WalletComponents/WalletsList.d.ts.map +1 -1
  256. package/dist/types/components/Wallet/WalletModal/Connector.d.ts +2 -1
  257. package/dist/types/components/Wallet/WalletModal/Connector.d.ts.map +1 -1
  258. package/dist/types/components/Wallet/WalletModal/ConnectorsList.d.ts +1 -1
  259. package/dist/types/components/Wallet/WalletModal/ConnectorsList.d.ts.map +1 -1
  260. package/dist/types/components/Wallet/WalletModal/index.d.ts +1 -1
  261. package/dist/types/components/Wallet/WalletModal/index.d.ts.map +1 -1
  262. package/dist/types/components/Wallet/WalletProviders/index.d.ts +3 -1
  263. package/dist/types/components/Wallet/WalletProviders/index.d.ts.map +1 -1
  264. package/dist/types/components/Widget/Content.d.ts +2 -1
  265. package/dist/types/components/Widget/Content.d.ts.map +1 -1
  266. package/dist/types/components/Widget/Footer.d.ts +2 -1
  267. package/dist/types/components/Widget/Footer.d.ts.map +1 -1
  268. package/dist/types/components/Widget/Index.d.ts +3 -2
  269. package/dist/types/components/Widget/Index.d.ts.map +1 -1
  270. package/dist/types/components/WidgetLoading.d.ts.map +1 -1
  271. package/dist/types/components/shadcn/command.d.ts +9 -52
  272. package/dist/types/components/shadcn/command.d.ts.map +1 -1
  273. package/dist/types/components/utils/RoundDecimals.d.ts.map +1 -1
  274. package/dist/types/context/ErrorProvider.d.ts +3 -0
  275. package/dist/types/context/ErrorProvider.d.ts.map +1 -0
  276. package/dist/types/context/LayerswapProvider.d.ts +22 -4
  277. package/dist/types/context/LayerswapProvider.d.ts.map +1 -1
  278. package/dist/types/context/callbackProvider.d.ts +6 -12
  279. package/dist/types/context/callbackProvider.d.ts.map +1 -1
  280. package/dist/types/context/resolverContext.d.ts.map +1 -1
  281. package/dist/types/context/swap.d.ts +7 -7
  282. package/dist/types/context/swap.d.ts.map +1 -1
  283. package/dist/types/context/{balanceAccounts.d.ts → swapAccounts.d.ts} +9 -9
  284. package/dist/types/context/swapAccounts.d.ts.map +1 -0
  285. package/dist/types/context/validationContext.d.ts +1 -0
  286. package/dist/types/context/validationContext.d.ts.map +1 -1
  287. package/dist/types/context/walletProviders.d.ts.map +1 -1
  288. package/dist/types/context/withdrawalContext.d.ts +2 -0
  289. package/dist/types/context/withdrawalContext.d.ts.map +1 -1
  290. package/dist/types/exports/internal.d.ts +9 -7
  291. package/dist/types/exports/internal.d.ts.map +1 -1
  292. package/dist/types/helpers/accountSelectHelper.d.ts +1 -1
  293. package/dist/types/helpers/balanceHelper.d.ts +2 -2
  294. package/dist/types/helpers/filterSourceNetworks.d.ts +4 -0
  295. package/dist/types/helpers/filterSourceNetworks.d.ts.map +1 -0
  296. package/dist/types/helpers/getSettings/getSettings.d.ts +1 -1
  297. package/dist/types/helpers/getSettings/getSettings.d.ts.map +1 -1
  298. package/dist/types/helpers/routes.d.ts +1 -1
  299. package/dist/types/helpers/routes.d.ts.map +1 -1
  300. package/dist/types/helpers/tokenHelper.d.ts +2 -2
  301. package/dist/types/hooks/useAllWithdrawalBalances.d.ts +2 -1
  302. package/dist/types/hooks/useAllWithdrawalBalances.d.ts.map +1 -1
  303. package/dist/types/hooks/useFee.d.ts +1 -1
  304. package/dist/types/hooks/useFormRoutes.d.ts +2 -3
  305. package/dist/types/hooks/useFormRoutes.d.ts.map +1 -1
  306. package/dist/types/hooks/useFormValidation.d.ts +10 -1
  307. package/dist/types/hooks/useFormValidation.d.ts.map +1 -1
  308. package/dist/types/hooks/useSwapHistoryData.d.ts +2 -2
  309. package/dist/types/hooks/useTransfer.d.ts +5 -0
  310. package/dist/types/hooks/useTransfer.d.ts.map +1 -0
  311. package/dist/types/hooks/useWallet.d.ts +3 -3
  312. package/dist/types/hooks/useWallet.d.ts.map +1 -1
  313. package/dist/types/lib/AppSettings.d.ts +25 -16
  314. package/dist/types/lib/AppSettings.d.ts.map +1 -1
  315. package/dist/types/lib/ErrorHandler.d.ts +3 -0
  316. package/dist/types/lib/ErrorHandler.d.ts.map +1 -0
  317. package/dist/types/lib/NetworkSettings.d.ts +0 -1
  318. package/dist/types/lib/NetworkSettings.d.ts.map +1 -1
  319. package/dist/types/lib/apiClients/layerSwapApiClient.d.ts +2 -10
  320. package/dist/types/lib/apiClients/layerSwapApiClient.d.ts.map +1 -1
  321. package/dist/types/lib/balances/balanceResolver.d.ts +3 -3
  322. package/dist/types/lib/balances/balanceResolver.d.ts.map +1 -1
  323. package/dist/types/lib/balances/helpers.d.ts +1 -1
  324. package/dist/types/lib/balances/useBalance.d.ts +1 -1
  325. package/dist/types/lib/fees.d.ts +16 -0
  326. package/dist/types/lib/fees.d.ts.map +1 -1
  327. package/dist/types/lib/gases/gasResolver.d.ts +2 -2
  328. package/dist/types/lib/gases/useSWRGas.d.ts +3 -3
  329. package/dist/types/lib/generateSwapInitialValues.d.ts +1 -1
  330. package/dist/types/lib/nft/nftBalanceResolver.d.ts +1 -1
  331. package/dist/types/lib/resolvers/resolverService.d.ts +8 -5
  332. package/dist/types/lib/resolvers/resolverService.d.ts.map +1 -1
  333. package/dist/types/lib/sorting.d.ts +1 -1
  334. package/dist/types/lib/transfers/index.d.ts +2 -0
  335. package/dist/types/lib/transfers/index.d.ts.map +1 -0
  336. package/dist/types/lib/transfers/transferResolver.d.ts +7 -0
  337. package/dist/types/lib/transfers/transferResolver.d.ts.map +1 -0
  338. package/dist/types/stores/balanceStore.d.ts.map +1 -1
  339. package/dist/types/stores/logStore.d.ts +8 -0
  340. package/dist/types/stores/logStore.d.ts.map +1 -0
  341. package/dist/types/stores/walletStore.d.ts +1 -1
  342. package/dist/types/types/balance.d.ts +2 -2
  343. package/dist/types/types/balance.d.ts.map +1 -1
  344. package/dist/types/types/gas.d.ts +2 -2
  345. package/dist/types/types/index.d.ts +1 -0
  346. package/dist/types/types/index.d.ts.map +1 -1
  347. package/dist/types/types/logEvents.d.ts +41 -0
  348. package/dist/types/types/logEvents.d.ts.map +1 -0
  349. package/dist/types/types/nft.d.ts +1 -1
  350. package/dist/types/types/transfer.d.ts +7 -2
  351. package/dist/types/types/transfer.d.ts.map +1 -1
  352. package/dist/types/types/wallet.d.ts +25 -6
  353. package/dist/types/types/wallet.d.ts.map +1 -1
  354. package/package.json +3 -3
  355. package/dist/esm/helpers/querryHelper.js +0 -13
  356. package/dist/esm/lib/logError.js +0 -17
  357. package/dist/types/context/balanceAccounts.d.ts.map +0 -1
  358. package/dist/types/helpers/querryHelper.d.ts +0 -3
  359. package/dist/types/helpers/querryHelper.d.ts.map +0 -1
  360. package/dist/types/lib/logError.d.ts +0 -3
  361. package/dist/types/lib/logError.d.ts.map +0 -1
@@ -0,0 +1,7 @@
1
+ import { TitleElement } from "../../../../Models/Route";
2
+ type Props = {
3
+ item: TitleElement;
4
+ };
5
+ declare const TitleRow: ({ item }: Props) => import("react/jsx-runtime").JSX.Element;
6
+ export default TitleRow;
7
+ //# sourceMappingURL=TitleRow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TitleRow.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Input/RoutePicker/Rows/TitleRow.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAI9C,KAAK,KAAK,GAAG;IACT,IAAI,EAAE,YAAY,CAAA;CACrB,CAAA;AACD,QAAA,MAAM,QAAQ,GAAI,UAAU,KAAK,4CAmBhC,CAAA;AAED,eAAe,QAAQ,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { RefObject } from "react";
2
- import { RowElement } from "@/Models/Route";
3
- import { NetworkRoute, NetworkRouteToken } from "@/Models/Network";
4
- import { SwapDirection } from "@/components/Pages/Swap/Form/SwapFormValues";
2
+ import { RowElement } from "../../../../Models/Route";
3
+ import { NetworkRoute, NetworkRouteToken } from "../../../../Models/Network";
4
+ import { SwapDirection } from "../../../../components/Pages/Swap/Form/SwapFormValues";
5
5
  type Props = {
6
6
  item: RowElement;
7
7
  selectedRoute: string | undefined;
@@ -12,8 +12,8 @@ type Props = {
12
12
  onSelect: (route: NetworkRoute, token: NetworkRouteToken) => void;
13
13
  openValues: string[];
14
14
  scrollContainerRef: RefObject<HTMLDivElement>;
15
- allbalancesLoaded?: boolean;
15
+ index: number;
16
16
  };
17
- export default function Row({ item, direction, selectedRoute, selectedToken, searchQuery, toggleContent, onSelect, openValues, allbalancesLoaded, scrollContainerRef, }: Props): import("react/jsx-runtime").JSX.Element | null;
17
+ export default function Row({ item, direction, selectedRoute, selectedToken, searchQuery, toggleContent, onSelect, openValues, scrollContainerRef, index, }: Props): import("react/jsx-runtime").JSX.Element | null;
18
18
  export {};
19
19
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Input/RoutePicker/Rows/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAG5C,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAInE,OAAO,EAAE,aAAa,EAAE,MAAM,6CAA6C,CAAC;AAE5E,KAAK,KAAK,GAAG;IACT,IAAI,EAAE,UAAU,CAAC;IACjB,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,aAAa,CAAC;IACzB,aAAa,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,QAAQ,EAAE,CAAC,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAClE,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,kBAAkB,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;IAC9C,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC/B,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,GAAG,CAAC,EACxB,IAAI,EACJ,SAAS,EACT,aAAa,EACb,aAAa,EACb,WAAW,EACX,aAAa,EACb,QAAQ,EACR,UAAU,EACV,iBAAiB,EACjB,kBAAkB,GACrB,EAAE,KAAK,kDA6EP"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Input/RoutePicker/Rows/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAG5C,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAGnE,OAAO,EAAE,aAAa,EAAE,MAAM,6CAA6C,CAAC;AAG5E,KAAK,KAAK,GAAG;IACT,IAAI,EAAE,UAAU,CAAC;IACjB,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,aAAa,CAAC;IACzB,aAAa,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,QAAQ,EAAE,CAAC,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAClE,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,kBAAkB,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;IAC9C,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,GAAG,CAAC,EACxB,IAAI,EACJ,SAAS,EACT,aAAa,EACb,aAAa,EACb,WAAW,EACX,aAAa,EACb,QAAQ,EACR,UAAU,EACV,kBAAkB,EAClB,KAAK,GACR,EAAE,KAAK,kDAgEP"}
@@ -1,5 +1,5 @@
1
1
  import { FC } from "react";
2
- import { SwapDirection } from "@/components/Pages/Swap/Form/SwapFormValues";
2
+ import { SwapDirection } from "../../../components/Pages/Swap/Form/SwapFormValues";
3
3
  declare const RoutePicker: FC<{
4
4
  direction: SwapDirection;
5
5
  isExchange?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/RoutePicker/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAoC,MAAM,OAAO,CAAC;AAW7D,OAAO,EAAE,aAAa,EAAkB,MAAM,6CAA6C,CAAC;AAE5F,QAAA,MAAM,WAAW,EAAE,EAAE,CAAC;IAAE,SAAS,EAAE,aAAa,CAAC;IAAC,UAAU,CAAC,EAAE,OAAO,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,CA2E3F,CAAC;AAEF,eAAe,WAAW,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/RoutePicker/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAoC,MAAM,OAAO,CAAC;AAW7D,OAAO,EAAE,aAAa,EAAkB,MAAM,6CAA6C,CAAC;AAE5F,QAAA,MAAM,WAAW,EAAE,EAAE,CAAC;IAAE,SAAS,EAAE,aAAa,CAAC;IAAC,UAAU,CAAC,EAAE,OAAO,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,CA4E3F,CAAC;AAEF,eAAe,WAAW,CAAA"}
@@ -1,4 +1,4 @@
1
- import { useQuoteData } from "@/hooks/useFee";
1
+ import { useQuoteData } from "../../hooks/useFee";
2
2
  type Props = {
3
3
  minAllowedAmount: ReturnType<typeof useQuoteData>['minAllowedAmount'];
4
4
  maxAllowedAmount: ReturnType<typeof useQuoteData>['maxAllowedAmount'];
@@ -1 +1 @@
1
- {"version":3,"file":"SourceWalletPicker.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/SourceWalletPicker.tsx"],"names":[],"mappings":"AACA,OAAO,EAAY,EAAE,EAAyC,MAAM,OAAO,CAAC;AAgB5E,QAAA,MAAM,kBAAkB,EAAE,EA0IzB,CAAA;AAED,eAAO,MAAM,sBAAsB,EAAE,EAsGpC,CAAA;AAqCD,eAAe,kBAAkB,CAAA"}
1
+ {"version":3,"file":"SourceWalletPicker.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/SourceWalletPicker.tsx"],"names":[],"mappings":"AACA,OAAO,EAAY,EAAE,EAAyC,MAAM,OAAO,CAAC;AAgB5E,QAAA,MAAM,kBAAkB,EAAE,EAyIzB,CAAA;AAED,eAAO,MAAM,sBAAsB,EAAE,EAsGpC,CAAA;AA6CD,eAAe,kBAAkB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"vaulModal.d.ts","sourceRoot":"","sources":["../../../../src/components/Modal/vaulModal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,SAAS,EAAE,cAAc,EAA+B,MAAM,OAAO,CAAC;AAY7F,MAAM,MAAM,eAAe,GAAG;IAC1B,QAAQ,EAAE,SAAS,CAAC;IACpB,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IAC3C,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB,CAAA;AAED,QAAA,MAAM,IAAI,EAAE,EAAE,CAAC,eAAe,CAuL7B,CAAA;AAuBD,QAAA,MAAM,cAAc,EAAE,EAAE,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG;IAAE,EAAE,EAAE,QAAQ,MAAM,EAAE,CAAC;IAAC,cAAc,CAAC,EAAE,OAAO,CAAA;CAAE,CAqBjH,CAAA;AAED,QAAA,MAAM,UAAU,EAAE,OAAO,IAAI,GAAG;IAAE,IAAI,EAAE,OAAO,cAAc,CAAA;CAW5D,CAAA;AAKD,KAAK,KAAK,GAAG;IACT,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,iBAAiB,CAAC,EAAE,OAAO,CAAA;CAC9B,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,KAAK,CAevC,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"vaulModal.d.ts","sourceRoot":"","sources":["../../../../src/components/Modal/vaulModal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,SAAS,EAAE,cAAc,EAA+B,MAAM,OAAO,CAAC;AAY7F,MAAM,MAAM,eAAe,GAAG;IAC1B,QAAQ,EAAE,SAAS,CAAC;IACpB,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IAC3C,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB,CAAA;AAED,QAAA,MAAM,IAAI,EAAE,EAAE,CAAC,eAAe,CAwL7B,CAAA;AAqBD,QAAA,MAAM,cAAc,EAAE,EAAE,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG;IAAE,EAAE,EAAE,QAAQ,MAAM,EAAE,CAAC;IAAC,cAAc,CAAC,EAAE,OAAO,CAAA;CAAE,CAqBjH,CAAA;AAED,QAAA,MAAM,UAAU,EAAE,OAAO,IAAI,GAAG;IAAE,IAAI,EAAE,OAAO,cAAc,CAAA;CAW5D,CAAA;AAKD,KAAK,KAAK,GAAG;IACT,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,iBAAiB,CAAC,EAAE,OAAO,CAAA;CAC9B,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,KAAK,CAevC,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { FC } from "react";
2
- import { Campaign } from "@/lib/apiClients/layerSwapApiClient";
2
+ import { Campaign } from "../../../../lib/apiClients/layerSwapApiClient";
3
3
  type Props = {
4
4
  campaign: Campaign;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import { FC } from "react";
2
- import { Campaign } from "@/lib/apiClients/layerSwapApiClient";
2
+ import { Campaign } from "../../../../lib/apiClients/layerSwapApiClient";
3
3
  type Props = {
4
4
  campaign: Campaign;
5
5
  };
@@ -1,9 +1,8 @@
1
1
  import { FC } from "react";
2
- import { LayerswapContextProps } from "@/context/LayerswapProvider";
3
2
  export declare const CampaignDetailsComponent: FC<{
4
3
  campaignName: string | undefined;
5
4
  }>;
6
- export declare const CampaignDetails: FC<LayerswapContextProps & {
5
+ export declare const CampaignDetails: FC<{
7
6
  campaignName: string;
8
7
  goBack: () => void;
9
8
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Pages/Campaigns/Details/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAe,MAAM,OAAO,CAAA;AAevC,OAAO,EAAE,qBAAqB,EAAqB,MAAM,6BAA6B,CAAA;AAEtF,eAAO,MAAM,wBAAwB,EAAE,EAAE,CAAC;IAAE,YAAY,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,CAgE7E,CAAA;AAwCD,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,qBAAqB,GAAG;IAAE,YAAY,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,IAAI,CAAA;CAAE,CAQpG,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Pages/Campaigns/Details/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAe,MAAM,OAAO,CAAA;AAgBvC,eAAO,MAAM,wBAAwB,EAAE,EAAE,CAAC;IAAE,YAAY,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,CAgE7E,CAAA;AAwCD,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC;IAAE,YAAY,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,IAAI,CAAA;CAAE,CAM5E,CAAA"}
@@ -1,10 +1,9 @@
1
1
  import { FC } from "react";
2
- import { Campaign } from "@/lib/apiClients/layerSwapApiClient";
3
- import { LayerswapContextProps } from "@/context/LayerswapProvider";
2
+ import { Campaign } from "../../../lib/apiClients/layerSwapApiClient";
4
3
  export declare const CampaignsComponent: ({ onCampaignSelect }: {
5
4
  onCampaignSelect: (campaign: Campaign) => void;
6
5
  }) => import("react/jsx-runtime").JSX.Element;
7
- export declare const Campaigns: FC<LayerswapContextProps & {
6
+ export declare const Campaigns: FC<{
8
7
  hideMenu?: boolean;
9
8
  goBack: () => void;
10
9
  onCampaignSelect: (campaign: Campaign) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Pages/Campaigns/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAE3B,OAA2B,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAKnF,OAAO,EAAE,qBAAqB,EAAqB,MAAM,6BAA6B,CAAC;AAEvF,eAAO,MAAM,kBAAkB,GAAI,sBAAsB;IAAE,gBAAgB,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,IAAI,CAAA;CAAE,4CAkE1G,CAAA;AAuCD,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,qBAAqB,GAAG;IAAE,QAAQ,CAAC,EAAE,OAAO,CAAC;IAAC,MAAM,EAAE,MAAM,IAAI,CAAC;IAAC,gBAAgB,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,IAAI,CAAA;CAAE,CAQ5I,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Pages/Campaigns/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAE3B,OAA2B,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAMnF,eAAO,MAAM,kBAAkB,GAAI,sBAAsB;IAAE,gBAAgB,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,IAAI,CAAA;CAAE,4CAoE1G,CAAA;AAuCD,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC;IAAE,QAAQ,CAAC,EAAE,OAAO,CAAC;IAAC,MAAM,EAAE,MAAM,IAAI,CAAC;IAAC,gBAAgB,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,IAAI,CAAA;CAAE,CAMpH,CAAA"}
@@ -1,7 +1,9 @@
1
1
  import { FC } from "react";
2
- import { Partner } from "@/Models/Partner";
2
+ import { Partner } from "../../../../Models/Partner";
3
3
  type Props = {
4
4
  partner?: Partner;
5
+ showBanner: boolean;
6
+ dismissBanner: () => void;
5
7
  };
6
8
  declare const ExchangeForm: FC<Props>;
7
9
  export default ExchangeForm;
@@ -1 +1 @@
1
- {"version":3,"file":"ExchangeForm.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Pages/Swap/Form/ExchangeForm.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAgC,MAAM,OAAO,CAAC;AAMzD,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAuB3C,KAAK,KAAK,GAAG;IACT,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,QAAA,MAAM,YAAY,EAAE,EAAE,CAAC,KAAK,CA2H3B,CAAA;AAED,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"ExchangeForm.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Pages/Swap/Form/ExchangeForm.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAgC,MAAM,OAAO,CAAC;AAMzD,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAwB3C,KAAK,KAAK,GAAG;IACT,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,OAAO,CAAC;IACpB,aAAa,EAAE,MAAM,IAAI,CAAC;CAC7B,CAAC;AAEF,QAAA,MAAM,YAAY,EAAE,EAAE,CAAC,KAAK,CA4J3B,CAAA;AAED,eAAe,YAAY,CAAC"}
@@ -1,8 +1,9 @@
1
- import { NetworkRouteToken } from "@/Models/Network";
2
- export declare const RateElement: ({ fromAsset, toAsset, requestAmount, receiveAmount, }: {
3
- fromAsset: NetworkRouteToken | undefined;
4
- toAsset: NetworkRouteToken | undefined;
5
- requestAmount: number | undefined;
6
- receiveAmount: number | undefined;
1
+ import { NetworkRouteToken } from "../../../../../Models/Network";
2
+ export declare const RateElement: ({ fromAsset, toAsset, requestAmount, receiveAmount, totalFeeInUsd }: {
3
+ fromAsset: NetworkRouteToken;
4
+ toAsset: NetworkRouteToken;
5
+ requestAmount: number;
6
+ receiveAmount: number;
7
+ totalFeeInUsd: number;
7
8
  }) => import("react/jsx-runtime").JSX.Element | null;
8
9
  //# sourceMappingURL=Rate.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Rate.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Pages/Swap/Form/FeeDetails/Rate.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AAGpD,eAAO,MAAM,WAAW,GAAI,uDAKzB;IACC,SAAS,EAAE,iBAAiB,GAAG,SAAS,CAAA;IACxC,OAAO,EAAE,iBAAiB,GAAG,SAAS,CAAA;IACtC,aAAa,EAAE,MAAM,GAAG,SAAS,CAAA;IACjC,aAAa,EAAE,MAAM,GAAG,SAAS,CAAA;CACpC,mDAiCA,CAAA"}
1
+ {"version":3,"file":"Rate.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Pages/Swap/Form/FeeDetails/Rate.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AAEpD,eAAO,MAAM,WAAW,GAAI,qEAMzB;IACC,SAAS,EAAE,iBAAiB,CAAA;IAC5B,OAAO,EAAE,iBAAiB,CAAA;IAC1B,aAAa,EAAE,MAAM,CAAA;IACrB,aAAa,EAAE,MAAM,CAAA;IACrB,aAAa,EAAE,MAAM,CAAA;CACxB,mDAmCA,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import { FC } from "react";
2
- import { Token } from "@/Models/Network";
3
- import { Quote } from "@/lib/apiClients/layerSwapApiClient";
2
+ import { Token } from "../../../../../Models/Network";
3
+ import { Quote } from "../../../../../lib/apiClients/layerSwapApiClient";
4
4
  type WillReceiveProps = {
5
5
  destination_token: Token | undefined;
6
6
  source_token: Token | undefined;
@@ -1,5 +1,5 @@
1
1
  import { FC } from "react";
2
- import { useQuoteData } from "@/hooks/useFee";
2
+ import { useQuoteData } from "../../../../../hooks/useFee";
3
3
  type RefuelProps = {
4
4
  onButtonClick: () => void;
5
5
  quote: ReturnType<typeof useQuoteData>['quote'];
@@ -1 +1 @@
1
- {"version":3,"file":"Refuel.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Pages/Swap/Form/FeeDetails/Refuel.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAqB,MAAM,OAAO,CAAC;AAE9C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAM9C,KAAK,WAAW,GAAG;IACf,aAAa,EAAE,MAAM,IAAI,CAAA;IACzB,KAAK,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,OAAO,CAAC,CAAA;IAC/C,gBAAgB,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,kBAAkB,CAAC,CAAA;CACxE,CAAA;AAED,QAAA,MAAM,YAAY,EAAE,EAAE,CAAC,WAAW,CA8DjC,CAAA;AAED,eAAe,YAAY,CAAA"}
1
+ {"version":3,"file":"Refuel.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Pages/Swap/Form/FeeDetails/Refuel.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAqB,MAAM,OAAO,CAAC;AAE9C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAS9C,KAAK,WAAW,GAAG;IACf,aAAa,EAAE,MAAM,IAAI,CAAA;IACzB,KAAK,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,OAAO,CAAC,CAAA;IAC/C,gBAAgB,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,kBAAkB,CAAC,CAAA;CACxE,CAAA;AAED,QAAA,MAAM,YAAY,EAAE,EAAE,CAAC,WAAW,CA+DjC,CAAA;AAED,eAAe,YAAY,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import { Dispatch, FC, SetStateAction } from 'react';
2
- import { useQuoteData } from '@/hooks/useFee';
2
+ import { useQuoteData } from '../../../../../hooks/useFee';
3
3
  type RefuelModalProps = {
4
4
  openModal: boolean;
5
5
  setOpenModal: Dispatch<SetStateAction<boolean>>;
@@ -1,4 +1,4 @@
1
- import { SwapQuote } from "@/lib/apiClients/layerSwapApiClient";
1
+ import { SwapQuote } from "../../../../../lib/apiClients/layerSwapApiClient";
2
2
  import { SwapValues } from ".";
3
3
  type SlippageProps = {
4
4
  quoteData: SwapQuote | undefined;
@@ -1,8 +1,9 @@
1
1
  import { FC } from "react";
2
- import { Quote, SwapQuote } from '@/lib/apiClients/layerSwapApiClient';
2
+ import { QuoteReward, SwapQuote } from '../../../../../../lib/apiClients/layerSwapApiClient';
3
3
  import { SwapValues } from "..";
4
4
  type DetailedEstimatesProps = {
5
- quote: Quote | undefined;
5
+ quote: SwapQuote | undefined;
6
+ reward?: QuoteReward;
6
7
  swapValues: SwapValues;
7
8
  variant?: "base" | "extended";
8
9
  };
@@ -1 +1 @@
1
- {"version":3,"file":"DetailedEstimates.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Pages/Swap/Form/FeeDetails/SwapQuote/DetailedEstimates.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAW,MAAM,OAAO,CAAC;AAKpC,OAAO,EAAE,KAAK,EAAe,SAAS,EAAE,MAAM,qCAAqC,CAAC;AAIpF,OAAO,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AAKhC,KAAK,sBAAsB,GAAG;IAC1B,KAAK,EAAE,KAAK,GAAG,SAAS,CAAA;IACxB,UAAU,EAAE,UAAU,CAAA;IACtB,OAAO,CAAC,EAAE,MAAM,GAAG,UAAU,CAAA;CAChC,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CAyBxD,CAAA;AAoBD,eAAO,MAAM,MAAM,GAAI,mBAAmB;IAAE,MAAM,EAAE,UAAU,CAAC;IAAC,KAAK,EAAE,SAAS,GAAG,SAAS,CAAA;CAAE,mDAmC7F,CAAA"}
1
+ {"version":3,"file":"DetailedEstimates.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Pages/Swap/Form/FeeDetails/SwapQuote/DetailedEstimates.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAW,MAAM,OAAO,CAAC;AAKpC,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,qCAAqC,CAAC;AAI7E,OAAO,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AAUhC,KAAK,sBAAsB,GAAG;IAC1B,KAAK,EAAE,SAAS,GAAG,SAAS,CAAC;IAC7B,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,UAAU,EAAE,UAAU,CAAA;IACtB,OAAO,CAAC,EAAE,MAAM,GAAG,UAAU,CAAA;CAChC,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CAuBxD,CAAA;AAoBD,eAAO,MAAM,MAAM,GAAI,mBAAmB;IAAE,MAAM,EAAE,UAAU,CAAC;IAAC,KAAK,EAAE,SAAS,GAAG,SAAS,CAAA;CAAE,mDAmC7F,CAAA"}
@@ -1,9 +1,9 @@
1
1
  import { FC } from 'react';
2
- import { Wallet } from '@/types/wallet';
2
+ import { Wallet } from '../../../../../../types/wallet';
3
3
  import { SwapValues } from '..';
4
- import { Quote } from '@/lib/apiClients/layerSwapApiClient';
5
- import { Network } from '@/Models/Network';
6
- import { Partner } from '@/Models/Partner';
4
+ import { Quote } from '../../../../../../lib/apiClients/layerSwapApiClient';
5
+ import { Network } from '../../../../../../Models/Network';
6
+ import { Partner } from '../../../../../../Models/Partner';
7
7
  export declare const SummaryRow: FC<{
8
8
  destination?: Network;
9
9
  destinationAddress?: string;
@@ -1,8 +1,8 @@
1
1
  import { FC } from 'react';
2
- import { Quote } from '@/lib/apiClients/layerSwapApiClient';
3
- import { SwapFormValues } from '@/components/Pages/Swap/Form/SwapFormValues';
4
- import { Network } from '@/Models/Network';
5
- import { Partner } from '@/Models/Partner';
2
+ import { Quote } from '../../../../../../lib/apiClients/layerSwapApiClient';
3
+ import { SwapFormValues } from '../../../../../../components/Pages/Swap/Form/SwapFormValues';
4
+ import { Network } from '../../../../../../Models/Network';
5
+ import { Partner } from '../../../../../../Models/Partner';
6
6
  interface SwapValues extends Omit<SwapFormValues, 'from' | 'to'> {
7
7
  from?: Network;
8
8
  to?: Network;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Pages/Swap/Form/FeeDetails/SwapQuote/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAY,MAAM,OAAO,CAAA;AAIpC,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAA;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,6CAA6C,CAAA;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAK1C,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAE1C,UAAU,UAAW,SAAQ,IAAI,CAAC,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5D,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,EAAE,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,UAAU,mBAAmB;IACzB,KAAK,EAAE,KAAK,CAAC;IACb,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,UAAU,EAAE,UAAU,CAAC;IACvB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,QAAA,MAAM,aAAa,EAAE,EAAE,CAAC,mBAAmB,CAwD1C,CAAA;AAED,eAAe,aAAa,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Pages/Swap/Form/FeeDetails/SwapQuote/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAY,MAAM,OAAO,CAAA;AAIpC,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAA;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,6CAA6C,CAAA;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAK1C,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAE1C,UAAU,UAAW,SAAQ,IAAI,CAAC,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5D,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,EAAE,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,UAAU,mBAAmB;IACzB,KAAK,EAAE,KAAK,CAAC;IACb,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,UAAU,EAAE,UAAU,CAAC;IACvB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,QAAA,MAAM,aAAa,EAAE,EAAE,CAAC,mBAAmB,CAyD1C,CAAA;AAED,eAAe,aAAa,CAAA"}
@@ -1,4 +1,4 @@
1
- import { Quote } from '@/lib/apiClients/layerSwapApiClient';
1
+ import { Quote } from '../../../../../../lib/apiClients/layerSwapApiClient';
2
2
  import { SwapValues } from '..';
3
3
  export declare function deriveQuoteComputed({ values, quote, reward, gasData, gasTokenPriceInUsd, }: {
4
4
  values: SwapValues;
@@ -20,6 +20,6 @@ export declare function deriveQuoteComputed({ values, quote, reward, gasData, ga
20
20
  currencyName: string;
21
21
  receiveAtLeast: number | undefined;
22
22
  avgCompletionTime: string | undefined;
23
- reward: import("@/lib/apiClients/layerSwapApiClient").QuoteReward | undefined;
23
+ reward: import("../../../../../../lib/apiClients/layerSwapApiClient").QuoteReward | undefined;
24
24
  };
25
25
  //# sourceMappingURL=utils.d.ts.map
@@ -1,18 +1,21 @@
1
1
  import { FC } from 'react';
2
- import { Quote } from '@/lib/apiClients/layerSwapApiClient';
3
- import { Network } from '@/Models/Network';
2
+ import { QuoteReward, SwapQuote } from '../../../../../lib/apiClients/layerSwapApiClient';
3
+ import { Network } from '../../../../../Models/Network';
4
4
  import { SwapFormValues } from '../SwapFormValues';
5
5
  export interface SwapValues extends Omit<SwapFormValues, 'from' | 'to'> {
6
6
  from?: Network;
7
7
  to?: Network;
8
8
  }
9
9
  export interface QuoteComponentProps {
10
- quote: Quote | undefined;
10
+ quote: SwapQuote | undefined;
11
11
  isQuoteLoading?: boolean;
12
12
  swapValues: SwapValues;
13
13
  destination?: Network;
14
14
  destinationAddress?: string;
15
+ reward?: QuoteReward | undefined;
16
+ variant?: 'extended' | 'base';
17
+ triggerClassnames?: string;
15
18
  }
16
- export default function QuoteDetails({ swapValues: values, quote: quoteData, isQuoteLoading }: QuoteComponentProps): import("react/jsx-runtime").JSX.Element;
19
+ export default function QuoteDetails({ swapValues: values, quote, isQuoteLoading, reward, variant, triggerClassnames }: QuoteComponentProps): import("react/jsx-runtime").JSX.Element;
17
20
  export declare const DetailsButton: FC<QuoteComponentProps>;
18
21
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Pages/Swap/Form/FeeDetails/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAY,MAAM,OAAO,CAAC;AAIrC,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAM5D,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAM3C,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAInD,MAAM,WAAW,UAAW,SAAQ,IAAI,CAAC,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IACnE,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,EAAE,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,MAAM,WAAW,mBAAmB;IAChC,KAAK,EAAE,KAAK,GAAG,SAAS,CAAC;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,UAAU,EAAE,UAAU,CAAC;IACvB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,EAAE,mBAAmB,2CA4CjH;AAGD,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,mBAAmB,CAkEjD,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Pages/Swap/Form/FeeDetails/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAY,MAAM,OAAO,CAAC;AAIrC,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,qCAAqC,CAAC;AAM7E,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAM3C,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAInD,MAAM,WAAW,UAAW,SAAQ,IAAI,CAAC,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IACnE,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,EAAE,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,MAAM,WAAW,mBAAmB;IAChC,KAAK,EAAE,SAAS,GAAG,SAAS,CAAC;IAC7B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,UAAU,EAAE,UAAU,CAAC;IACvB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,MAAM,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;IACjC,OAAO,CAAC,EAAE,UAAU,GAAG,MAAM,CAAC;IAC9B,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC7B;AAED,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,cAAc,EAAE,MAAM,EAAE,OAAoB,EAAE,iBAAiB,EAAE,EAAE,mBAAmB,2CA+CvJ;AAGD,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,mBAAmB,CAiEjD,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Pages/Swap/Form/Form.tsx"],"names":[],"mappings":"AAkBA,MAAM,CAAC,OAAO,UAAU,IAAI,4CAiD3B"}
1
+ {"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Pages/Swap/Form/Form.tsx"],"names":[],"mappings":"AAkBA,MAAM,CAAC,OAAO,UAAU,IAAI,4CA8E3B"}
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { Partner } from "@/Models/Partner";
2
+ import { Partner } from "../../../../Models/Partner";
3
3
  export default function FormWrapper({ children, type, partner }: {
4
4
  children?: React.ReactNode;
5
5
  type: 'cross-chain' | 'exchange';
@@ -1 +1 @@
1
- {"version":3,"file":"FormWrapper.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Pages/Swap/Form/FormWrapper.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAoB3C,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;IAAE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAAC,IAAI,EAAE,aAAa,GAAG,UAAU,CAAC;IAAC,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,2CAgInJ"}
1
+ {"version":3,"file":"FormWrapper.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Pages/Swap/Form/FormWrapper.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAoB3C,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE;IAAE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAAC,IAAI,EAAE,aAAa,GAAG,UAAU,CAAC;IAAC,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,2CA8HnJ"}
@@ -1,5 +1,5 @@
1
1
  import { FC } from "react";
2
- import { Partner } from "@/Models/Partner";
2
+ import { Partner } from "../../../../Models/Partner";
3
3
  type Props = {
4
4
  partner?: Partner;
5
5
  };
@@ -1 +1 @@
1
- {"version":3,"file":"NetworkForm.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Pages/Swap/Form/NetworkForm.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAA6C,MAAM,OAAO,CAAC;AAEtE,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AA6B3C,KAAK,KAAK,GAAG;IACT,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,QAAA,MAAM,WAAW,EAAE,EAAE,CAAC,KAAK,CA6H1B,CAAC;AAiGF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"NetworkForm.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Pages/Swap/Form/NetworkForm.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAA6C,MAAM,OAAO,CAAC;AAEtE,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AA6B3C,KAAK,KAAK,GAAG;IACT,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,QAAA,MAAM,WAAW,EAAE,EAAE,CAAC,KAAK,CA+H1B,CAAC;AAiGF,eAAe,WAAW,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { SwapFormValues } from "../SwapFormValues";
2
- import { Partner } from "@/Models/Partner";
2
+ import { Partner } from "../../../../../Models/Partner";
3
3
  type Props = {
4
4
  shouldConnectWallet: boolean;
5
5
  values: SwapFormValues;
@@ -1,5 +1,5 @@
1
- import { TokenBalance } from "@/Models/Balance";
2
- import { useQuoteData } from "@/hooks/useFee";
1
+ import { TokenBalance } from "../../../../../Models/Balance";
2
+ import { useQuoteData } from "../../../../../hooks/useFee";
3
3
  type Props = {
4
4
  onSubmit: (nativeTokenBalance: TokenBalance, networkGas: number) => void;
5
5
  minAllowedAmount: ReturnType<typeof useQuoteData>['minAllowedAmount'];
@@ -1 +1 @@
1
- {"version":3,"file":"ReserveGasNote.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Pages/Swap/Form/SecondaryComponents/ReserveGasNote.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAG/C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAI7C,KAAK,KAAK,GAAG;IACT,QAAQ,EAAE,CAAC,kBAAkB,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,KAAK,IAAI,CAAA;IACxE,gBAAgB,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,kBAAkB,CAAC,CAAA;IACrE,gBAAgB,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,kBAAkB,CAAC,CAAA;CACxE,CAAA;AAED,QAAA,MAAM,cAAc,GAAI,kDAAkD,KAAK,4CA6C9E,CAAA;AAED,eAAe,cAAc,CAAA"}
1
+ {"version":3,"file":"ReserveGasNote.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Pages/Swap/Form/SecondaryComponents/ReserveGasNote.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAG/C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAI7C,KAAK,KAAK,GAAG;IACT,QAAQ,EAAE,CAAC,kBAAkB,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,KAAK,IAAI,CAAA;IACxE,gBAAgB,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,kBAAkB,CAAC,CAAA;IACrE,gBAAgB,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,kBAAkB,CAAC,CAAA;CACxE,CAAA;AAED,QAAA,MAAM,cAAc,GAAI,kDAAkD,KAAK,4CAmD9E,CAAA;AAED,eAAe,cAAc,CAAA"}
@@ -1,4 +1,4 @@
1
- import { ValidationDetails } from '@/context/validationContext';
1
+ import { ValidationDetails } from '../../../../../../context/validationContext';
2
2
  import React from 'react';
3
3
  interface ErrorDisplayProps {
4
4
  message?: string;
@@ -1,5 +1,5 @@
1
- import { NetworkRoute, NetworkRouteToken } from "@/Models/Network";
2
- import { Exchange } from "@/Models/Exchange";
1
+ import { NetworkRoute, NetworkRouteToken } from "../../../../Models/Network";
2
+ import { Exchange } from "../../../../Models/Exchange";
3
3
  export type SwapFormValues = {
4
4
  amount?: string;
5
5
  destination_address?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Failed.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Pages/Swap/Withdraw/Failed.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAA0B,MAAM,OAAO,CAAA;AAOlD,QAAA,MAAM,MAAM,EAAE,EA6Cb,CAAA;AAqCD,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"Failed.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Pages/Swap/Withdraw/Failed.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAA0B,MAAM,OAAO,CAAA;AAOlD,QAAA,MAAM,MAAM,EAAE,EAiDb,CAAA;AAqCD,eAAe,MAAM,CAAC"}
@@ -1,13 +1,14 @@
1
- import { DepositAction, Refuel, SwapBasicData, SwapQuote } from '@/lib/apiClients/layerSwapApiClient';
1
+ import { DepositAction, Refuel, SwapBasicData, SwapQuote } from '../../../../lib/apiClients/layerSwapApiClient';
2
2
  import { FC } from 'react';
3
- import { Partner } from '@/Models/Partner';
3
+ import { Partner } from '../../../../Models/Partner';
4
4
  interface Props {
5
5
  swapBasicData: SwapBasicData;
6
- quote: SwapQuote | undefined;
7
6
  depositActions: DepositAction[] | undefined;
8
7
  refuel?: Refuel | undefined;
9
8
  partner?: Partner;
10
9
  type: 'widget' | 'contained';
10
+ quote?: SwapQuote;
11
+ isQuoteLoading?: boolean;
11
12
  }
12
13
  declare const ManualWithdraw: FC<Props>;
13
14
  export default ManualWithdraw;
@@ -1 +1 @@
1
- {"version":3,"file":"ManualWithdraw.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Pages/Swap/Withdraw/ManualWithdraw.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,aAAa,EAAE,MAAM,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,qCAAqC,CAAA;AAGrG,OAAO,EAAE,EAAE,EAAuB,MAAM,OAAO,CAAA;AAc/C,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAK1C,UAAU,KAAK;IACX,aAAa,EAAE,aAAa,CAAC;IAC7B,KAAK,EAAE,SAAS,GAAG,SAAS,CAAC;IAC7B,cAAc,EAAE,aAAa,EAAE,GAAG,SAAS,CAAC;IAC5C,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC3B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,QAAQ,GAAG,WAAW,CAAA;CAE/B;AAED,QAAA,MAAM,cAAc,EAAE,EAAE,CAAC,KAAK,CA4R7B,CAAA;AA0BD,eAAe,cAAc,CAAA"}
1
+ {"version":3,"file":"ManualWithdraw.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Pages/Swap/Withdraw/ManualWithdraw.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,aAAa,EAAE,MAAM,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,qCAAqC,CAAA;AAGrG,OAAO,EAAE,EAAE,EAAuB,MAAM,OAAO,CAAA;AAc/C,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAM1C,UAAU,KAAK;IACX,aAAa,EAAE,aAAa,CAAC;IAC7B,cAAc,EAAE,aAAa,EAAE,GAAG,SAAS,CAAC;IAC5C,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC3B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,QAAQ,GAAG,WAAW,CAAC;IAC7B,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,QAAA,MAAM,cAAc,EAAE,EAAE,CAAC,KAAK,CAoT7B,CAAA;AA0BD,eAAe,cAAc,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"NotFound.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Pages/Swap/Withdraw/NotFound.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAe,MAAM,OAAO,CAAC;AAOxC,QAAA,MAAM,QAAQ,EAAE,EAAE,CAAC;IAAE,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,CAiDjD,CAAA;AAED,eAAe,QAAQ,CAAA"}
1
+ {"version":3,"file":"NotFound.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Pages/Swap/Withdraw/NotFound.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAA0B,MAAM,OAAO,CAAC;AAQnD,QAAA,MAAM,QAAQ,EAAE,EAAE,CAAC;IAAE,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,CA4DjD,CAAA;AAED,eAAe,QAAQ,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { SwapBasicData, SwapDetails, SwapQuote, Refuel } from '@/lib/apiClients/layerSwapApiClient';
2
+ import { SwapBasicData, SwapDetails, SwapQuote, Refuel } from '../../../../../lib/apiClients/layerSwapApiClient';
3
3
  type Props = {
4
4
  swapBasicData: SwapBasicData;
5
5
  swapDetails: SwapDetails;
@@ -1 +1 @@
1
- {"version":3,"file":"Processing.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Pages/Swap/Withdraw/Processing/Processing.tsx"],"names":[],"mappings":"AAEA,OAAc,EAAE,EAAE,EAAkC,MAAM,OAAO,CAAA;AAGjE,OAA2B,EAA6E,aAAa,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,qCAAqC,CAAC;AAkBnM,KAAK,KAAK,GAAG;IACT,aAAa,EAAE,aAAa,CAAC;IAC7B,WAAW,EAAE,WAAW,CAAC;IACzB,KAAK,EAAE,SAAS,GAAG,SAAS,CAAC;IAC7B,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B,CAAA;AAED,QAAA,MAAM,UAAU,EAAE,EAAE,CAAC,KAAK,CA4XzB,CAAA;AA8GD,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"Processing.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Pages/Swap/Withdraw/Processing/Processing.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAkC,MAAM,OAAO,CAAA;AAG1D,OAA2B,EAA6E,aAAa,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,qCAAqC,CAAC;AAiBnM,KAAK,KAAK,GAAG;IACT,aAAa,EAAE,aAAa,CAAC;IAC7B,WAAW,EAAE,WAAW,CAAC;IACzB,KAAK,EAAE,SAAS,GAAG,SAAS,CAAC;IAC7B,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B,CAAA;AAED,QAAA,MAAM,UAAU,EAAE,EAAE,CAAC,KAAK,CAsXzB,CAAA;AA8GD,eAAe,UAAU,CAAC"}
@@ -1,4 +1,4 @@
1
- import { useAsyncModal } from "@/context/asyncModal";
1
+ import { useAsyncModal } from "../../../../context/asyncModal";
2
2
  import { FC } from "react";
3
3
  import { SwapFormValues } from "../Form/SwapFormValues";
4
4
  interface QuoteUpdatedProps {
@@ -1,5 +1,5 @@
1
1
  import { FC } from "react";
2
- import { Quote, SwapBasicData, SwapResponse } from "@/lib/apiClients/layerSwapApiClient";
2
+ import { Quote, SwapBasicData, SwapResponse } from "../../../../../lib/apiClients/layerSwapApiClient";
3
3
  type SwapInfoProps = Omit<SwapResponse, 'quote' | 'swap'> & {
4
4
  swap: SwapBasicData;
5
5
  quote: Quote;
@@ -1,8 +1,9 @@
1
1
  import { FC } from 'react';
2
- import { Partner } from '@/Models';
2
+ import { Partner } from '../../../../Models';
3
3
  type Props = {
4
4
  type: "widget" | "contained";
5
5
  onWalletWithdrawalSuccess?: () => void;
6
+ onCancelWithdrawal?: () => void;
6
7
  partner?: Partner;
7
8
  };
8
9
  declare const SwapDetails: FC<Props>;
@@ -1 +1 @@
1
- {"version":3,"file":"SwapDetails.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Pages/Swap/Withdraw/SwapDetails.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAe,MAAM,OAAO,CAAA;AAUvC,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAEnC,KAAK,KAAK,GAAG;IACT,IAAI,EAAE,QAAQ,GAAG,WAAW,CAAC;IAC7B,yBAAyB,CAAC,EAAE,MAAM,IAAI,CAAC;IACvC,OAAO,CAAC,EAAE,OAAO,CAAA;CACpB,CAAA;AAED,QAAA,MAAM,WAAW,EAAE,EAAE,CAAC,KAAK,CAgD1B,CAAA;AAaD,eAAe,WAAW,CAAA"}
1
+ {"version":3,"file":"SwapDetails.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Pages/Swap/Withdraw/SwapDetails.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAe,MAAM,OAAO,CAAA;AAUvC,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAGnC,KAAK,KAAK,GAAG;IACT,IAAI,EAAE,QAAQ,GAAG,WAAW,CAAC;IAC7B,yBAAyB,CAAC,EAAE,MAAM,IAAI,CAAC;IACvC,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;IAChC,OAAO,CAAC,EAAE,OAAO,CAAA;CACpB,CAAA;AAED,QAAA,MAAM,WAAW,EAAE,EAAE,CAAC,KAAK,CAgD1B,CAAA;AAcD,eAAe,WAAW,CAAA"}
@@ -1,7 +1,7 @@
1
1
  import { FC } from 'react';
2
- import { Refuel, SwapBasicData, SwapQuote } from '@/lib/apiClients/layerSwapApiClient';
3
- import { QuoteError } from '@/hooks/useFee';
4
- import { Partner } from '@/Models';
2
+ import { Refuel, SwapBasicData, SwapQuote } from '../../../../lib/apiClients/layerSwapApiClient';
3
+ import { QuoteError } from '../../../../hooks/useFee';
4
+ import { Partner } from '../../../../Models';
5
5
  type Props = {
6
6
  swapBasicData: SwapBasicData | undefined;
7
7
  quote: SwapQuote | undefined;
@@ -0,0 +1,6 @@
1
+ import { FC } from "react";
2
+ export declare const ActionMessage: FC<{
3
+ error: Error | undefined;
4
+ isLoading: boolean;
5
+ }>;
6
+ //# sourceMappingURL=actionMessage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"actionMessage.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Pages/Swap/Withdraw/Wallet/Common/actionMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAa,MAAM,OAAO,CAAA;AAIrC,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC;IAAE,KAAK,EAAE,KAAK,GAAG,SAAS,CAAC;IAAC,SAAS,EAAE,OAAO,CAAA;CAAE,CAuC9E,CAAA"}
@@ -1,8 +1,8 @@
1
1
  import { ComponentProps, FC } from "react";
2
2
  import { ActionData } from "./sharedTypes";
3
- import { SubmitButtonProps } from "@/components/Buttons/submitButton";
4
- import { Network } from "@/Models/Network";
5
- import { SwapBasicData } from "@/lib/apiClients/layerSwapApiClient";
3
+ import { SubmitButtonProps } from "../../../../../../components/Buttons/submitButton";
4
+ import { Network } from "../../../../../../Models/Network";
5
+ import { SwapBasicData } from "../../../../../../lib/apiClients/layerSwapApiClient";
6
6
  import { TransferProps } from "../../../../../../../types";
7
7
  export declare const ConnectWalletButton: FC<SubmitButtonProps>;
8
8
  export declare const ChangeNetworkMessage: FC<{
@@ -18,6 +18,7 @@ export declare const ButtonWrapper: FC<SubmitButtonProps>;
18
18
  type ButtonWrapperProps = ComponentProps<typeof ButtonWrapper>;
19
19
  type SendFromWalletButtonProps = Omit<ButtonWrapperProps, 'onClick'> & {
20
20
  error?: boolean;
21
+ clearError?: () => void;
21
22
  onClick: (props: TransferProps) => Promise<string | undefined>;
22
23
  swapData: SwapBasicData;
23
24
  refuel: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"buttons.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Pages/Swap/Withdraw/Wallet/Common/buttons.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,EAAE,EAAyB,MAAM,OAAO,CAAC;AAElE,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAqB,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAOpF,OAAO,EAAE,OAAO,EAAgB,MAAM,kBAAkB,CAAC;AAGzD,OAAO,EAA4B,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAQ9F,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAExC,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAAC,iBAAiB,CAiCrD,CAAA;AAED,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC;IAAE,IAAI,EAAE,UAAU,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAe1E,CAAA;AAED,KAAK,kBAAkB,GAAG;IACtB,OAAO,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,OAAO,EAAE,OAAO,CAAC;CACpB,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAAC,kBAAkB,CA+CtD,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,iBAAiB,CAa/C,CAAA;AAED,KAAK,kBAAkB,GAAG,cAAc,CAAC,OAAO,aAAa,CAAC,CAAC;AAC/D,KAAK,yBAAyB,GAAG,IAAI,CAAC,kBAAkB,EAAE,SAAS,CAAC,GAAG;IACnE,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAC9D,QAAQ,EAAE,aAAa,CAAC;IACxB,MAAM,EAAE,OAAO,CAAA;CAClB,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,EAAE,CAAC,yBAAyB,CAiI/D,CAAA"}
1
+ {"version":3,"file":"buttons.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Pages/Swap/Withdraw/Wallet/Common/buttons.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,EAAE,EAAkC,MAAM,OAAO,CAAC;AAE3E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAqB,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAOpF,OAAO,EAAE,OAAO,EAAgB,MAAM,kBAAkB,CAAC;AAGzD,OAA2B,EAA2C,aAAa,EAAe,MAAM,qCAAqC,CAAC;AAO9I,OAAO,EAAgB,aAAa,EAAU,MAAM,SAAS,CAAC;AAO9D,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAAC,iBAAiB,CAgCrD,CAAA;AAED,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC;IAAE,IAAI,EAAE,UAAU,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAe1E,CAAA;AAED,KAAK,kBAAkB,GAAG;IACtB,OAAO,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,OAAO,EAAE,OAAO,CAAC;CACpB,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAAC,kBAAkB,CA+CtD,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,iBAAiB,CAa/C,CAAA;AAED,KAAK,kBAAkB,GAAG,cAAc,CAAC,OAAO,aAAa,CAAC,CAAC;AAC/D,KAAK,yBAAyB,GAAG,IAAI,CAAC,kBAAkB,EAAE,SAAS,CAAC,GAAG;IACnE,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAA;IACvB,OAAO,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAC9D,QAAQ,EAAE,aAAa,CAAC;IACxB,MAAM,EAAE,OAAO,CAAA;CAClB,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,EAAE,CAAC,yBAAyB,CAmM/D,CAAA"}
@@ -1,4 +1,4 @@
1
- import { SwapBasicData } from "@/lib/apiClients/layerSwapApiClient";
1
+ import { SwapBasicData } from "../../../../../../lib/apiClients/layerSwapApiClient";
2
2
  export type ActionData = {
3
3
  error: Error | null;
4
4
  isError: boolean;
@@ -9,5 +9,6 @@ export type WithdrawPageProps = {
9
9
  swapBasicData: SwapBasicData;
10
10
  refuel: boolean;
11
11
  savedTransactionHash?: string;
12
+ onCancelWithdrawal?: () => void;
12
13
  };
13
14
  //# sourceMappingURL=sharedTypes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sharedTypes.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Pages/Swap/Withdraw/Wallet/Common/sharedTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEpE,MAAM,MAAM,UAAU,GAAG;IACrB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;CACtB,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC5B,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,aAAa,EAAE,aAAa,CAAA;IAC5B,MAAM,EAAE,OAAO,CAAA;IACf,oBAAoB,CAAC,EAAE,MAAM,CAAA;CAChC,CAAA"}
1
+ {"version":3,"file":"sharedTypes.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Pages/Swap/Withdraw/Wallet/Common/sharedTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEpE,MAAM,MAAM,UAAU,GAAG;IACrB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;CACtB,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC5B,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,aAAa,EAAE,aAAa,CAAA;IAC5B,MAAM,EAAE,OAAO,CAAA;IACf,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAA;CAClC,CAAA"}
@@ -1,11 +1,12 @@
1
1
  import { FC } from "react";
2
- import { SwapBasicData } from "@/lib/apiClients/layerSwapApiClient";
2
+ import { SwapBasicData } from "../../../../../lib/apiClients/layerSwapApiClient";
3
3
  import { WithdrawPageProps } from "./Common/sharedTypes";
4
4
  type Props = {
5
5
  swapData: SwapBasicData;
6
6
  swapId: string | undefined;
7
7
  refuel: boolean;
8
8
  onWalletWithdrawalSuccess?: () => void;
9
+ onCancelWithdrawal?: () => void;
9
10
  };
10
11
  export declare const WalletTransferAction: FC<Props>;
11
12
  export declare const WalletWithdrawal: FC<WithdrawPageProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Pages/Swap/Withdraw/Wallet/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAoC,MAAM,OAAO,CAAC;AAC7D,OAAO,EAA6B,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAI/F,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AASzD,KAAK,KAAK,GAAG;IACT,QAAQ,EAAE,aAAa,CAAA;IACvB,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,MAAM,EAAE,OAAO,CAAA;IACf,yBAAyB,CAAC,EAAE,MAAM,IAAI,CAAA;CACzC,CAAC;AACF,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,KAAK,CAyB1C,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,iBAAiB,CAkElD,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Pages/Swap/Withdraw/Wallet/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAoC,MAAM,OAAO,CAAC;AAC7D,OAAO,EAA6B,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAI/F,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAWzD,KAAK,KAAK,GAAG;IACT,QAAQ,EAAE,aAAa,CAAA;IACvB,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,MAAM,EAAE,OAAO,CAAA;IACf,yBAAyB,CAAC,EAAE,MAAM,IAAI,CAAA;IACtC,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAA;CAClC,CAAC;AACF,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,KAAK,CAyB1C,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,iBAAiB,CAkElD,CAAA"}