@layerswap/widget 1.0.6 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (437) hide show
  1. package/dist/esm/Models/LayerSwapSettings.js +0 -1
  2. package/dist/esm/Models/Theme.js +39 -0
  3. package/dist/esm/components/Buttons/submitButton.js +2 -1
  4. package/dist/esm/components/Common/ConnectWalletButton.js +9 -3
  5. package/dist/esm/components/Common/CountDownTimer.js +0 -1
  6. package/dist/esm/components/Common/WarningMessage.js +4 -2
  7. package/dist/esm/components/Common/guideLink.js +4 -6
  8. package/dist/esm/components/ErrorFallback.js +12 -12
  9. package/dist/esm/components/HeaderWithMenu.js +1 -1
  10. package/dist/esm/components/Icons/CircularLoader.js +5 -0
  11. package/dist/esm/components/Icons/FailIcon.js +2 -2
  12. package/dist/esm/components/Icons/GlobeIcon.js +3 -0
  13. package/dist/esm/components/Icons/MenuIcon.js +5 -0
  14. package/dist/esm/components/Icons/TokenIcon.js +1 -1
  15. package/dist/esm/components/Icons/Wallets/index.js +0 -1
  16. package/dist/esm/components/Input/Address/AddressNote.js +2 -2
  17. package/dist/esm/components/Input/Address/AddressPicker/AddressWithIcon.js +5 -2
  18. package/dist/esm/components/Input/Address/AddressPicker/index.js +15 -12
  19. package/dist/esm/components/Input/Address/ContractAddressNote.js +17 -0
  20. package/dist/esm/components/Input/Address/UrlAddressNote.js +10 -0
  21. package/dist/esm/components/Input/Amount/Balance.js +1 -1
  22. package/dist/esm/components/Input/Amount/ExchangeReceiveAmount.js +8 -0
  23. package/dist/esm/components/Input/Amount/MinMax.js +1 -1
  24. package/dist/esm/components/Input/Amount/PriceImpact.js +5 -40
  25. package/dist/esm/components/Input/Amount/ReceiveAmount.js +2 -2
  26. package/dist/esm/components/Input/Amount/index.js +3 -3
  27. package/dist/esm/components/Input/DestinationPicker.js +2 -2
  28. package/dist/esm/components/Input/RoutePicker/Content.js +19 -3
  29. package/dist/esm/components/Input/RoutePicker/RouteTokenSwitch.js +4 -4
  30. package/dist/esm/components/Input/RoutePicker/RouterPickerWalletConnect.js +5 -5
  31. package/dist/esm/components/Input/RoutePicker/Routes.js +27 -26
  32. package/dist/esm/components/Input/RoutePicker/Rows/CollapsableHeader.js +2 -2
  33. package/dist/esm/components/Input/RoutePicker/Rows/CollapsibleRow.js +3 -3
  34. package/dist/esm/components/Input/RoutePicker/Rows/StickyHeader.js +2 -2
  35. package/dist/esm/components/Input/RoutePicker/Rows/SuggestionsHeader.js +55 -0
  36. package/dist/esm/components/Input/RoutePicker/Rows/TitleRow.js +11 -0
  37. package/dist/esm/components/Input/RoutePicker/Rows/index.js +5 -6
  38. package/dist/esm/components/Input/RoutePicker/TokenTitleDetails.js +10 -0
  39. package/dist/esm/components/Input/RoutePicker/index.js +2 -2
  40. package/dist/esm/components/Input/SourceWalletPicker.js +6 -4
  41. package/dist/esm/components/Menu/MenuList.js +11 -19
  42. package/dist/esm/components/Menu/index.js +16 -7
  43. package/dist/esm/components/Modal/modalWithoutAnimation.js +3 -3
  44. package/dist/esm/components/Pages/Campaigns/Details/Leaderboard.js +2 -2
  45. package/dist/esm/components/Pages/Campaigns/Details/Rewards.js +2 -2
  46. package/dist/esm/components/Pages/Campaigns/Details/index.js +3 -4
  47. package/dist/esm/components/Pages/Campaigns/index.js +3 -4
  48. package/dist/esm/components/Pages/Swap/Form/ExchangeForm.js +21 -19
  49. package/dist/esm/components/Pages/Swap/Form/FeeDetails/Rate.js +6 -4
  50. package/dist/esm/components/Pages/Swap/Form/FeeDetails/Refuel.js +8 -3
  51. package/dist/esm/components/Pages/Swap/Form/FeeDetails/SwapQuote/DetailedEstimates.js +51 -14
  52. package/dist/esm/components/Pages/Swap/Form/FeeDetails/SwapQuote/SummaryRow.js +1 -1
  53. package/dist/esm/components/Pages/Swap/Form/FeeDetails/SwapQuote/index.js +3 -3
  54. package/dist/esm/components/Pages/Swap/Form/FeeDetails/index.js +10 -11
  55. package/dist/esm/components/Pages/Swap/Form/Form.js +27 -3
  56. package/dist/esm/components/Pages/Swap/Form/FormWrapper.js +35 -10
  57. package/dist/esm/components/Pages/Swap/Form/NetworkForm.js +13 -22
  58. package/dist/esm/components/Pages/Swap/Form/SecondaryComponents/FormButton.js +1 -1
  59. package/dist/esm/components/Pages/Swap/Form/SecondaryComponents/ReserveGasNote.js +8 -6
  60. package/dist/esm/components/Pages/Swap/Form/SecondaryComponents/validationError/ContractAddressValidationCache.js +19 -0
  61. package/dist/esm/components/Pages/Swap/Withdraw/Failed.js +12 -8
  62. package/dist/esm/components/Pages/Swap/Withdraw/ManualWithdraw.js +28 -9
  63. package/dist/esm/components/Pages/Swap/Withdraw/NotFound.js +15 -4
  64. package/dist/esm/components/Pages/Swap/Withdraw/Processing/Processing.js +44 -45
  65. package/dist/esm/components/Pages/Swap/Withdraw/Summary/Summary.js +2 -3
  66. package/dist/esm/components/Pages/Swap/Withdraw/Summary/index.js +2 -2
  67. package/dist/esm/components/Pages/Swap/Withdraw/SwapDetails.js +9 -7
  68. package/dist/esm/components/Pages/Swap/Withdraw/Wallet/Common/actionMessage.js +43 -0
  69. package/dist/esm/components/Pages/Swap/Withdraw/Wallet/Common/buttons.js +125 -71
  70. package/dist/esm/components/Pages/Swap/Withdraw/Wallet/index.js +56 -65
  71. package/dist/esm/components/Pages/Swap/Withdraw/WalletTransferButton.js +2 -2
  72. package/dist/esm/components/Pages/Swap/Withdraw/WalletTransferContent.js +2 -2
  73. package/dist/esm/components/Pages/Swap/Withdraw/Withdraw.js +3 -3
  74. package/dist/esm/components/Pages/Swap/Withdraw/index.js +5 -4
  75. package/dist/esm/components/Pages/Swap/Withdraw/messages/Message.js +4 -4
  76. package/dist/esm/components/Pages/Swap/Withdraw/messages/TransactionMessages.js +14 -15
  77. package/dist/esm/components/Pages/SwapHistory/History.js +2 -2
  78. package/dist/esm/components/Pages/SwapHistory/HistorySummary.js +1 -1
  79. package/dist/esm/components/Pages/SwapHistory/index.js +4 -4
  80. package/dist/esm/components/Select/Selector/SelectItem.js +1 -1
  81. package/dist/esm/components/Wallet/WalletComponents/ConnectedWallets.js +4 -4
  82. package/dist/esm/components/Wallet/WalletComponents/WalletsList.js +1 -1
  83. package/dist/esm/components/Wallet/WalletModal/Connector.js +2 -2
  84. package/dist/esm/components/Wallet/WalletModal/ConnectorsList.js +78 -125
  85. package/dist/esm/components/Wallet/WalletModal/InstalledExtensionNotFound.js +16 -0
  86. package/dist/esm/components/Wallet/WalletModal/LoadingConnect.js +27 -0
  87. package/dist/esm/components/Wallet/WalletModal/MultichainConnectorPicker.js +23 -0
  88. package/dist/esm/components/Wallet/WalletModal/ProviderPicker.js +26 -0
  89. package/dist/esm/components/Wallet/WalletModal/WalletQrCode.js +18 -0
  90. package/dist/esm/components/Wallet/WalletModal/index.js +4 -2
  91. package/dist/esm/components/Wallet/WalletProviders/index.js +4 -2
  92. package/dist/esm/components/Widget/Content.js +2 -2
  93. package/dist/esm/components/Widget/Footer.js +21 -21
  94. package/dist/esm/components/Widget/Index.js +2 -2
  95. package/dist/esm/components/WidgetLoading.js +9 -2
  96. package/dist/esm/components/shadcn/checkbox.js +1 -1
  97. package/dist/esm/context/ErrorProvider.js +14 -0
  98. package/dist/esm/context/LayerswapProvider.js +6 -5
  99. package/dist/esm/context/callbackProvider.js +60 -52
  100. package/dist/esm/context/resolverContext.js +11 -2
  101. package/dist/esm/context/swap.js +10 -13
  102. package/dist/esm/context/{balanceAccounts.js → swapAccounts.js} +17 -17
  103. package/dist/esm/context/validationContext.js +1 -1
  104. package/dist/esm/context/walletProviders.js +7 -1
  105. package/dist/esm/context/withdrawalContext.js +2 -2
  106. package/dist/esm/exports/internal.js +4 -3
  107. package/dist/esm/helpers/filterSourceNetworks.js +23 -0
  108. package/dist/esm/helpers/getSettings/getSettings.js +18 -13
  109. package/dist/esm/helpers/routes.js +4 -1
  110. package/dist/esm/hooks/useAllWithdrawalBalances.js +11 -5
  111. package/dist/esm/hooks/useConnectors.js +72 -0
  112. package/dist/esm/hooks/useFormRoutes.js +16 -8
  113. package/dist/esm/hooks/useFormValidation.js +5 -4
  114. package/dist/esm/hooks/useRouteValidation.js +1 -1
  115. package/dist/esm/hooks/useSwrSwaps.js +1 -1
  116. package/dist/esm/hooks/useTransfer.js +9 -0
  117. package/dist/esm/hooks/useWallet.js +7 -7
  118. package/dist/esm/lib/AppSettings.js +27 -16
  119. package/dist/esm/lib/ErrorHandler.js +6 -0
  120. package/dist/esm/lib/address/contractAddressResolver.js +12 -0
  121. package/dist/esm/lib/apiClients/layerSwapApiClient.js +19 -35
  122. package/dist/esm/lib/balances/balanceResolver.js +57 -11
  123. package/dist/esm/lib/balances/errorUtils.js +13 -0
  124. package/dist/esm/lib/balances/nodeErrorClassifier.js +22 -0
  125. package/dist/esm/lib/fees.js +50 -0
  126. package/dist/esm/lib/generateSwapInitialValues.js +2 -2
  127. package/dist/esm/lib/isNewListed.js +8 -0
  128. package/dist/esm/lib/knownIds.js +1 -0
  129. package/dist/esm/lib/resolvers/resolverService.js +19 -1
  130. package/dist/esm/lib/transfers/index.js +1 -0
  131. package/dist/esm/lib/transfers/transferResolver.js +14 -0
  132. package/dist/esm/stores/balanceStore.js +39 -18
  133. package/dist/esm/stores/contractAddressStore.js +178 -0
  134. package/dist/esm/stores/logStore.js +11 -0
  135. package/dist/esm/types/balance.js +23 -11
  136. package/dist/esm/types/contract.js +1 -0
  137. package/dist/esm/types/index.js +2 -0
  138. package/dist/esm/types/logEvents.js +1 -0
  139. package/dist/index.css +1 -1
  140. package/dist/tsconfig.tsbuildinfo +1 -1
  141. package/dist/types/Models/Balance.d.ts +14 -2
  142. package/dist/types/Models/Balance.d.ts.map +1 -1
  143. package/dist/types/Models/LayerSwapSettings.d.ts +7 -0
  144. package/dist/types/Models/LayerSwapSettings.d.ts.map +1 -1
  145. package/dist/types/Models/Theme.d.ts.map +1 -1
  146. package/dist/types/components/Buttons/submitButton.d.ts +1 -1
  147. package/dist/types/components/Buttons/submitButton.d.ts.map +1 -1
  148. package/dist/types/components/Common/ConnectWalletButton.d.ts +1 -1
  149. package/dist/types/components/Common/ConnectWalletButton.d.ts.map +1 -1
  150. package/dist/types/components/Common/CountDownTimer.d.ts.map +1 -1
  151. package/dist/types/components/Common/WarningMessage.d.ts.map +1 -1
  152. package/dist/types/components/Common/guideLink.d.ts.map +1 -1
  153. package/dist/types/components/ErrorFallback.d.ts.map +1 -1
  154. package/dist/types/components/HeaderWithMenu.d.ts.map +1 -1
  155. package/dist/types/components/Icons/CircularLoader.d.ts +4 -0
  156. package/dist/types/components/Icons/CircularLoader.d.ts.map +1 -0
  157. package/dist/types/components/Icons/FailIcon.d.ts.map +1 -1
  158. package/dist/types/components/Icons/GasIcon.d.ts.map +1 -1
  159. package/dist/types/components/Icons/GlobeIcon.d.ts +4 -0
  160. package/dist/types/components/Icons/GlobeIcon.d.ts.map +1 -0
  161. package/dist/types/components/Icons/MenuIcon.d.ts +4 -0
  162. package/dist/types/components/Icons/MenuIcon.d.ts.map +1 -0
  163. package/dist/types/components/Icons/TokenIcon.d.ts.map +1 -1
  164. package/dist/types/components/Icons/Wallets/index.d.ts +0 -1
  165. package/dist/types/components/Icons/Wallets/index.d.ts.map +1 -1
  166. package/dist/types/components/Input/Address/AddressNote.d.ts +5 -5
  167. package/dist/types/components/Input/Address/AddressNote.d.ts.map +1 -1
  168. package/dist/types/components/Input/Address/AddressPicker/AddressBook.d.ts +3 -3
  169. package/dist/types/components/Input/Address/AddressPicker/AddressButton.d.ts +3 -3
  170. package/dist/types/components/Input/Address/AddressPicker/AddressWithIcon.d.ts +3 -2
  171. package/dist/types/components/Input/Address/AddressPicker/AddressWithIcon.d.ts.map +1 -1
  172. package/dist/types/components/Input/Address/AddressPicker/ConnectedWallets.d.ts +2 -2
  173. package/dist/types/components/Input/Address/AddressPicker/ManualAddressInput.d.ts +4 -4
  174. package/dist/types/components/Input/Address/AddressPicker/index.d.ts +4 -4
  175. package/dist/types/components/Input/Address/AddressPicker/index.d.ts.map +1 -1
  176. package/dist/types/components/Input/Address/ContractAddressNote.d.ts +9 -0
  177. package/dist/types/components/Input/Address/ContractAddressNote.d.ts.map +1 -0
  178. package/dist/types/components/Input/Address/UrlAddressNote.d.ts +10 -0
  179. package/dist/types/components/Input/Address/UrlAddressNote.d.ts.map +1 -0
  180. package/dist/types/components/Input/Address/index.d.ts +1 -1
  181. package/dist/types/components/Input/Amount/Balance.d.ts +1 -1
  182. package/dist/types/components/Input/Amount/Balance.d.ts.map +1 -1
  183. package/dist/types/components/Input/Amount/ExchangeReceiveAmount.d.ts +11 -0
  184. package/dist/types/components/Input/Amount/ExchangeReceiveAmount.d.ts.map +1 -0
  185. package/dist/types/components/Input/Amount/MinMax.d.ts +1 -1
  186. package/dist/types/components/Input/Amount/PriceImpact.d.ts +3 -6
  187. package/dist/types/components/Input/Amount/PriceImpact.d.ts.map +1 -1
  188. package/dist/types/components/Input/Amount/ReceiveAmount.d.ts +2 -3
  189. package/dist/types/components/Input/Amount/ReceiveAmount.d.ts.map +1 -1
  190. package/dist/types/components/Input/Amount/helpers.d.ts +2 -2
  191. package/dist/types/components/Input/Amount/index.d.ts +1 -1
  192. package/dist/types/components/Input/CexPicker.d.ts +1 -1
  193. package/dist/types/components/Input/DestinationPicker.d.ts +1 -1
  194. package/dist/types/components/Input/DestinationPicker.d.ts.map +1 -1
  195. package/dist/types/components/Input/RoutePicker/Content.d.ts +5 -5
  196. package/dist/types/components/Input/RoutePicker/Content.d.ts.map +1 -1
  197. package/dist/types/components/Input/RoutePicker/RouterPickerWalletConnect.d.ts +1 -1
  198. package/dist/types/components/Input/RoutePicker/RouterPickerWalletConnect.d.ts.map +1 -1
  199. package/dist/types/components/Input/RoutePicker/Routes.d.ts +4 -8
  200. package/dist/types/components/Input/RoutePicker/Routes.d.ts.map +1 -1
  201. package/dist/types/components/Input/RoutePicker/Rows/CollapsableHeader.d.ts +3 -4
  202. package/dist/types/components/Input/RoutePicker/Rows/CollapsableHeader.d.ts.map +1 -1
  203. package/dist/types/components/Input/RoutePicker/Rows/CollapsibleRow.d.ts +6 -5
  204. package/dist/types/components/Input/RoutePicker/Rows/CollapsibleRow.d.ts.map +1 -1
  205. package/dist/types/components/Input/RoutePicker/Rows/StickyHeader.d.ts +3 -4
  206. package/dist/types/components/Input/RoutePicker/Rows/StickyHeader.d.ts.map +1 -1
  207. package/dist/types/components/Input/RoutePicker/Rows/SuggestionsHeader.d.ts +7 -0
  208. package/dist/types/components/Input/RoutePicker/Rows/SuggestionsHeader.d.ts.map +1 -0
  209. package/dist/types/components/Input/RoutePicker/Rows/TitleRow.d.ts +7 -0
  210. package/dist/types/components/Input/RoutePicker/Rows/TitleRow.d.ts.map +1 -0
  211. package/dist/types/components/Input/RoutePicker/Rows/index.d.ts +5 -5
  212. package/dist/types/components/Input/RoutePicker/Rows/index.d.ts.map +1 -1
  213. package/dist/types/components/Input/RoutePicker/TokenTitleDetails.d.ts +18 -0
  214. package/dist/types/components/Input/RoutePicker/TokenTitleDetails.d.ts.map +1 -0
  215. package/dist/types/components/Input/RoutePicker/index.d.ts +1 -1
  216. package/dist/types/components/Input/RoutePicker/index.d.ts.map +1 -1
  217. package/dist/types/components/Input/SourcePicker.d.ts +1 -1
  218. package/dist/types/components/Input/SourceWalletPicker.d.ts.map +1 -1
  219. package/dist/types/components/Menu/MenuList.d.ts.map +1 -1
  220. package/dist/types/components/Menu/index.d.ts.map +1 -1
  221. package/dist/types/components/Modal/modalWithoutAnimation.d.ts +4 -2
  222. package/dist/types/components/Modal/modalWithoutAnimation.d.ts.map +1 -1
  223. package/dist/types/components/Pages/Campaigns/Details/Leaderboard.d.ts +1 -1
  224. package/dist/types/components/Pages/Campaigns/Details/Rewards.d.ts +1 -1
  225. package/dist/types/components/Pages/Campaigns/Details/index.d.ts +1 -2
  226. package/dist/types/components/Pages/Campaigns/Details/index.d.ts.map +1 -1
  227. package/dist/types/components/Pages/Campaigns/index.d.ts +2 -3
  228. package/dist/types/components/Pages/Campaigns/index.d.ts.map +1 -1
  229. package/dist/types/components/Pages/Swap/Form/ExchangeForm.d.ts +3 -1
  230. package/dist/types/components/Pages/Swap/Form/ExchangeForm.d.ts.map +1 -1
  231. package/dist/types/components/Pages/Swap/Form/FeeDetails/Rate.d.ts +7 -6
  232. package/dist/types/components/Pages/Swap/Form/FeeDetails/Rate.d.ts.map +1 -1
  233. package/dist/types/components/Pages/Swap/Form/FeeDetails/ReceiveAmounts.d.ts +2 -2
  234. package/dist/types/components/Pages/Swap/Form/FeeDetails/Refuel.d.ts +1 -2
  235. package/dist/types/components/Pages/Swap/Form/FeeDetails/Refuel.d.ts.map +1 -1
  236. package/dist/types/components/Pages/Swap/Form/FeeDetails/RefuelModal.d.ts +1 -1
  237. package/dist/types/components/Pages/Swap/Form/FeeDetails/Slippage.d.ts +1 -1
  238. package/dist/types/components/Pages/Swap/Form/FeeDetails/SwapQuote/DetailedEstimates.d.ts +3 -2
  239. package/dist/types/components/Pages/Swap/Form/FeeDetails/SwapQuote/DetailedEstimates.d.ts.map +1 -1
  240. package/dist/types/components/Pages/Swap/Form/FeeDetails/SwapQuote/SummaryRow.d.ts +4 -4
  241. package/dist/types/components/Pages/Swap/Form/FeeDetails/SwapQuote/index.d.ts +4 -4
  242. package/dist/types/components/Pages/Swap/Form/FeeDetails/SwapQuote/index.d.ts.map +1 -1
  243. package/dist/types/components/Pages/Swap/Form/FeeDetails/SwapQuote/utils.d.ts +2 -2
  244. package/dist/types/components/Pages/Swap/Form/FeeDetails/index.d.ts +7 -4
  245. package/dist/types/components/Pages/Swap/Form/FeeDetails/index.d.ts.map +1 -1
  246. package/dist/types/components/Pages/Swap/Form/Form.d.ts.map +1 -1
  247. package/dist/types/components/Pages/Swap/Form/FormWrapper.d.ts +1 -1
  248. package/dist/types/components/Pages/Swap/Form/FormWrapper.d.ts.map +1 -1
  249. package/dist/types/components/Pages/Swap/Form/NetworkForm.d.ts +1 -1
  250. package/dist/types/components/Pages/Swap/Form/NetworkForm.d.ts.map +1 -1
  251. package/dist/types/components/Pages/Swap/Form/SecondaryComponents/FormButton.d.ts +1 -1
  252. package/dist/types/components/Pages/Swap/Form/SecondaryComponents/FormButton.d.ts.map +1 -1
  253. package/dist/types/components/Pages/Swap/Form/SecondaryComponents/ReserveGasNote.d.ts +2 -2
  254. package/dist/types/components/Pages/Swap/Form/SecondaryComponents/ReserveGasNote.d.ts.map +1 -1
  255. package/dist/types/components/Pages/Swap/Form/SecondaryComponents/validationError/ContractAddressValidationCache.d.ts +10 -0
  256. package/dist/types/components/Pages/Swap/Form/SecondaryComponents/validationError/ContractAddressValidationCache.d.ts.map +1 -0
  257. package/dist/types/components/Pages/Swap/Form/SecondaryComponents/validationError/ErrorDisplay.d.ts +1 -1
  258. package/dist/types/components/Pages/Swap/Form/SwapFormValues.d.ts +2 -2
  259. package/dist/types/components/Pages/Swap/Withdraw/Failed.d.ts.map +1 -1
  260. package/dist/types/components/Pages/Swap/Withdraw/ManualWithdraw.d.ts +4 -3
  261. package/dist/types/components/Pages/Swap/Withdraw/ManualWithdraw.d.ts.map +1 -1
  262. package/dist/types/components/Pages/Swap/Withdraw/NotFound.d.ts.map +1 -1
  263. package/dist/types/components/Pages/Swap/Withdraw/Processing/Processing.d.ts +1 -1
  264. package/dist/types/components/Pages/Swap/Withdraw/Processing/Processing.d.ts.map +1 -1
  265. package/dist/types/components/Pages/Swap/Withdraw/QuoteUpdate.d.ts +1 -1
  266. package/dist/types/components/Pages/Swap/Withdraw/Summary/Summary.d.ts +1 -1
  267. package/dist/types/components/Pages/Swap/Withdraw/Summary/Summary.d.ts.map +1 -1
  268. package/dist/types/components/Pages/Swap/Withdraw/SwapDetails.d.ts +2 -1
  269. package/dist/types/components/Pages/Swap/Withdraw/SwapDetails.d.ts.map +1 -1
  270. package/dist/types/components/Pages/Swap/Withdraw/SwapQuoteDetails.d.ts +3 -3
  271. package/dist/types/components/Pages/Swap/Withdraw/Wallet/Common/actionMessage.d.ts +6 -0
  272. package/dist/types/components/Pages/Swap/Withdraw/Wallet/Common/actionMessage.d.ts.map +1 -0
  273. package/dist/types/components/Pages/Swap/Withdraw/Wallet/Common/buttons.d.ts +4 -3
  274. package/dist/types/components/Pages/Swap/Withdraw/Wallet/Common/buttons.d.ts.map +1 -1
  275. package/dist/types/components/Pages/Swap/Withdraw/Wallet/Common/sharedTypes.d.ts +2 -1
  276. package/dist/types/components/Pages/Swap/Withdraw/Wallet/Common/sharedTypes.d.ts.map +1 -1
  277. package/dist/types/components/Pages/Swap/Withdraw/Wallet/index.d.ts +2 -1
  278. package/dist/types/components/Pages/Swap/Withdraw/Wallet/index.d.ts.map +1 -1
  279. package/dist/types/components/Pages/Swap/Withdraw/WalletTransferButton.d.ts +2 -1
  280. package/dist/types/components/Pages/Swap/Withdraw/WalletTransferButton.d.ts.map +1 -1
  281. package/dist/types/components/Pages/Swap/Withdraw/WalletTransferContent.d.ts +1 -1
  282. package/dist/types/components/Pages/Swap/Withdraw/Withdraw.d.ts +2 -1
  283. package/dist/types/components/Pages/Swap/Withdraw/Withdraw.d.ts.map +1 -1
  284. package/dist/types/components/Pages/Swap/Withdraw/index.d.ts +1 -2
  285. package/dist/types/components/Pages/Swap/Withdraw/index.d.ts.map +1 -1
  286. package/dist/types/components/Pages/Swap/Withdraw/messages/Message.d.ts.map +1 -1
  287. package/dist/types/components/Pages/Swap/Withdraw/messages/TransactionMessages.d.ts +3 -4
  288. package/dist/types/components/Pages/Swap/Withdraw/messages/TransactionMessages.d.ts.map +1 -1
  289. package/dist/types/components/Pages/SwapHistory/HistorySummary.d.ts +2 -2
  290. package/dist/types/components/Pages/SwapHistory/HistorySummary.d.ts.map +1 -1
  291. package/dist/types/components/Pages/SwapHistory/StatusIcons.d.ts +1 -1
  292. package/dist/types/components/Pages/SwapHistory/SwapDetailsComponent.d.ts +1 -1
  293. package/dist/types/components/Pages/SwapHistory/index.d.ts +3 -1
  294. package/dist/types/components/Pages/SwapHistory/index.d.ts.map +1 -1
  295. package/dist/types/components/Select/Command/commandSelect.d.ts.map +1 -1
  296. package/dist/types/components/Select/Selector/SelectItem.d.ts.map +1 -1
  297. package/dist/types/components/Wallet/WalletComponents/WalletsList.d.ts +3 -3
  298. package/dist/types/components/Wallet/WalletComponents/WalletsList.d.ts.map +1 -1
  299. package/dist/types/components/Wallet/WalletModal/Connector.d.ts +2 -1
  300. package/dist/types/components/Wallet/WalletModal/Connector.d.ts.map +1 -1
  301. package/dist/types/components/Wallet/WalletModal/ConnectorsList.d.ts +1 -1
  302. package/dist/types/components/Wallet/WalletModal/ConnectorsList.d.ts.map +1 -1
  303. package/dist/types/components/Wallet/WalletModal/InstalledExtensionNotFound.d.ts +7 -0
  304. package/dist/types/components/Wallet/WalletModal/InstalledExtensionNotFound.d.ts.map +1 -0
  305. package/dist/types/components/Wallet/WalletModal/LoadingConnect.d.ts +8 -0
  306. package/dist/types/components/Wallet/WalletModal/LoadingConnect.d.ts.map +1 -0
  307. package/dist/types/components/Wallet/WalletModal/MultichainConnectorPicker.d.ts +12 -0
  308. package/dist/types/components/Wallet/WalletModal/MultichainConnectorPicker.d.ts.map +1 -0
  309. package/dist/types/components/Wallet/WalletModal/ProviderPicker.d.ts +8 -0
  310. package/dist/types/components/Wallet/WalletModal/ProviderPicker.d.ts.map +1 -0
  311. package/dist/types/components/Wallet/WalletModal/WalletQrCode.d.ts +6 -0
  312. package/dist/types/components/Wallet/WalletModal/WalletQrCode.d.ts.map +1 -0
  313. package/dist/types/components/Wallet/WalletModal/index.d.ts +2 -1
  314. package/dist/types/components/Wallet/WalletModal/index.d.ts.map +1 -1
  315. package/dist/types/components/Wallet/WalletProviders/index.d.ts +3 -1
  316. package/dist/types/components/Wallet/WalletProviders/index.d.ts.map +1 -1
  317. package/dist/types/components/Widget/Content.d.ts +2 -1
  318. package/dist/types/components/Widget/Content.d.ts.map +1 -1
  319. package/dist/types/components/Widget/Footer.d.ts +2 -1
  320. package/dist/types/components/Widget/Footer.d.ts.map +1 -1
  321. package/dist/types/components/Widget/Index.d.ts +3 -2
  322. package/dist/types/components/Widget/Index.d.ts.map +1 -1
  323. package/dist/types/components/WidgetLoading.d.ts.map +1 -1
  324. package/dist/types/components/shadcn/command.d.ts +9 -52
  325. package/dist/types/components/shadcn/command.d.ts.map +1 -1
  326. package/dist/types/context/ErrorProvider.d.ts +3 -0
  327. package/dist/types/context/ErrorProvider.d.ts.map +1 -0
  328. package/dist/types/context/LayerswapProvider.d.ts +22 -4
  329. package/dist/types/context/LayerswapProvider.d.ts.map +1 -1
  330. package/dist/types/context/callbackProvider.d.ts +7 -10
  331. package/dist/types/context/callbackProvider.d.ts.map +1 -1
  332. package/dist/types/context/resolverContext.d.ts.map +1 -1
  333. package/dist/types/context/swap.d.ts +7 -7
  334. package/dist/types/context/swap.d.ts.map +1 -1
  335. package/dist/types/context/{balanceAccounts.d.ts → swapAccounts.d.ts} +9 -9
  336. package/dist/types/context/swapAccounts.d.ts.map +1 -0
  337. package/dist/types/context/walletProviders.d.ts.map +1 -1
  338. package/dist/types/context/withdrawalContext.d.ts +2 -0
  339. package/dist/types/context/withdrawalContext.d.ts.map +1 -1
  340. package/dist/types/exports/internal.d.ts +9 -7
  341. package/dist/types/exports/internal.d.ts.map +1 -1
  342. package/dist/types/helpers/accountSelectHelper.d.ts +1 -1
  343. package/dist/types/helpers/balanceHelper.d.ts +2 -2
  344. package/dist/types/helpers/filterSourceNetworks.d.ts +4 -0
  345. package/dist/types/helpers/filterSourceNetworks.d.ts.map +1 -0
  346. package/dist/types/helpers/getSettings/getSettings.d.ts +1 -1
  347. package/dist/types/helpers/getSettings/getSettings.d.ts.map +1 -1
  348. package/dist/types/helpers/routes.d.ts +1 -1
  349. package/dist/types/helpers/routes.d.ts.map +1 -1
  350. package/dist/types/helpers/tokenHelper.d.ts +2 -2
  351. package/dist/types/hooks/useAllWithdrawalBalances.d.ts +2 -1
  352. package/dist/types/hooks/useAllWithdrawalBalances.d.ts.map +1 -1
  353. package/dist/types/hooks/useConnectors.d.ts +28 -0
  354. package/dist/types/hooks/useConnectors.d.ts.map +1 -0
  355. package/dist/types/hooks/useFee.d.ts +1 -1
  356. package/dist/types/hooks/useFormRoutes.d.ts +2 -3
  357. package/dist/types/hooks/useFormRoutes.d.ts.map +1 -1
  358. package/dist/types/hooks/useFormValidation.d.ts +2 -1
  359. package/dist/types/hooks/useFormValidation.d.ts.map +1 -1
  360. package/dist/types/hooks/useSwapHistoryData.d.ts +2 -2
  361. package/dist/types/hooks/useTransfer.d.ts +5 -0
  362. package/dist/types/hooks/useTransfer.d.ts.map +1 -0
  363. package/dist/types/hooks/useWallet.d.ts +3 -3
  364. package/dist/types/hooks/useWallet.d.ts.map +1 -1
  365. package/dist/types/lib/AppSettings.d.ts +25 -16
  366. package/dist/types/lib/AppSettings.d.ts.map +1 -1
  367. package/dist/types/lib/ErrorHandler.d.ts +3 -0
  368. package/dist/types/lib/ErrorHandler.d.ts.map +1 -0
  369. package/dist/types/lib/address/contractAddressResolver.d.ts +7 -0
  370. package/dist/types/lib/address/contractAddressResolver.d.ts.map +1 -0
  371. package/dist/types/lib/apiClients/layerSwapApiClient.d.ts +1 -9
  372. package/dist/types/lib/apiClients/layerSwapApiClient.d.ts.map +1 -1
  373. package/dist/types/lib/balances/balanceResolver.d.ts +3 -3
  374. package/dist/types/lib/balances/balanceResolver.d.ts.map +1 -1
  375. package/dist/types/lib/balances/errorUtils.d.ts +12 -0
  376. package/dist/types/lib/balances/errorUtils.d.ts.map +1 -0
  377. package/dist/types/lib/balances/helpers.d.ts +1 -1
  378. package/dist/types/lib/balances/nodeErrorClassifier.d.ts +4 -0
  379. package/dist/types/lib/balances/nodeErrorClassifier.d.ts.map +1 -0
  380. package/dist/types/lib/balances/useBalance.d.ts +1 -1
  381. package/dist/types/lib/fees.d.ts +16 -0
  382. package/dist/types/lib/fees.d.ts.map +1 -1
  383. package/dist/types/lib/gases/gasResolver.d.ts +2 -2
  384. package/dist/types/lib/gases/useSWRGas.d.ts +3 -3
  385. package/dist/types/lib/generateSwapInitialValues.d.ts +1 -1
  386. package/dist/types/lib/isNewListed.d.ts +4 -0
  387. package/dist/types/lib/isNewListed.d.ts.map +1 -0
  388. package/dist/types/lib/knownIds.d.ts +1 -0
  389. package/dist/types/lib/knownIds.d.ts.map +1 -1
  390. package/dist/types/lib/nft/nftBalanceResolver.d.ts +1 -1
  391. package/dist/types/lib/resolvers/resolverService.d.ts +11 -5
  392. package/dist/types/lib/resolvers/resolverService.d.ts.map +1 -1
  393. package/dist/types/lib/transfers/index.d.ts +2 -0
  394. package/dist/types/lib/transfers/index.d.ts.map +1 -0
  395. package/dist/types/lib/transfers/transferResolver.d.ts +7 -0
  396. package/dist/types/lib/transfers/transferResolver.d.ts.map +1 -0
  397. package/dist/types/stores/balanceStore.d.ts +3 -0
  398. package/dist/types/stores/balanceStore.d.ts.map +1 -1
  399. package/dist/types/stores/contractAddressStore.d.ts +43 -0
  400. package/dist/types/stores/contractAddressStore.d.ts.map +1 -0
  401. package/dist/types/stores/logStore.d.ts +8 -0
  402. package/dist/types/stores/logStore.d.ts.map +1 -0
  403. package/dist/types/stores/walletStore.d.ts +1 -1
  404. package/dist/types/types/balance.d.ts +2 -2
  405. package/dist/types/types/balance.d.ts.map +1 -1
  406. package/dist/types/types/contract.d.ts +6 -0
  407. package/dist/types/types/contract.d.ts.map +1 -0
  408. package/dist/types/types/gas.d.ts +2 -2
  409. package/dist/types/types/index.d.ts +2 -0
  410. package/dist/types/types/index.d.ts.map +1 -1
  411. package/dist/types/types/logEvents.d.ts +59 -0
  412. package/dist/types/types/logEvents.d.ts.map +1 -0
  413. package/dist/types/types/nft.d.ts +1 -1
  414. package/dist/types/types/transfer.d.ts +7 -2
  415. package/dist/types/types/transfer.d.ts.map +1 -1
  416. package/dist/types/types/wallet.d.ts +29 -8
  417. package/dist/types/types/wallet.d.ts.map +1 -1
  418. package/package.json +3 -3
  419. package/dist/esm/components/Icons/Wallets/Keplr.js +0 -3
  420. package/dist/esm/components/Modal/popover.js +0 -15
  421. package/dist/esm/components/Wallet/WalletModal/utils.js +0 -23
  422. package/dist/esm/helpers/querryHelper.js +0 -13
  423. package/dist/esm/lib/logError.js +0 -17
  424. package/dist/esm/lib/sorting.js +0 -63
  425. package/dist/types/components/Icons/Wallets/Keplr.d.ts +0 -4
  426. package/dist/types/components/Icons/Wallets/Keplr.d.ts.map +0 -1
  427. package/dist/types/components/Modal/popover.d.ts +0 -12
  428. package/dist/types/components/Modal/popover.d.ts.map +0 -1
  429. package/dist/types/components/Wallet/WalletModal/utils.d.ts +0 -2
  430. package/dist/types/components/Wallet/WalletModal/utils.d.ts.map +0 -1
  431. package/dist/types/context/balanceAccounts.d.ts.map +0 -1
  432. package/dist/types/helpers/querryHelper.d.ts +0 -3
  433. package/dist/types/helpers/querryHelper.d.ts.map +0 -1
  434. package/dist/types/lib/logError.d.ts +0 -3
  435. package/dist/types/lib/logError.d.ts.map +0 -1
  436. package/dist/types/lib/sorting.d.ts +0 -22
  437. package/dist/types/lib/sorting.d.ts.map +0 -1
@@ -1,11 +1,10 @@
1
- import { GroupedTokenElement, NetworkElement } from "@/Models/Route";
2
- import { SwapDirection } from "@/components/Pages/Swap/Form/SwapFormValues";
1
+ import { GroupedTokenElement, NetworkElement } from "../../../../Models/Route";
2
+ import { SwapDirection } from "../../../../components/Pages/Swap/Form/SwapFormValues";
3
3
  type Props = {
4
4
  item: GroupedTokenElement | NetworkElement;
5
5
  direction: SwapDirection;
6
- allbalancesLoaded?: boolean;
7
6
  hideTokenImages?: boolean;
8
7
  };
9
- export declare const CollapsableHeader: ({ item, direction, allbalancesLoaded, hideTokenImages, }: Props) => import("react/jsx-runtime").JSX.Element;
8
+ export declare const CollapsableHeader: ({ item, direction, hideTokenImages, }: Props) => import("react/jsx-runtime").JSX.Element;
10
9
  export {};
11
10
  //# sourceMappingURL=CollapsableHeader.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CollapsableHeader.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Input/RoutePicker/Rows/CollapsableHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAErE,OAAO,EAAE,aAAa,EAAE,MAAM,6CAA6C,CAAC;AAE5E,KAAK,KAAK,GAAG;IACT,IAAI,EAAE,mBAAmB,GAAG,cAAc,CAAA;IAC1C,SAAS,EAAE,aAAa,CAAC;IACzB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,eAAe,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,0DAK/B,KAAK,4CAmBP,CAAC"}
1
+ {"version":3,"file":"CollapsableHeader.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Input/RoutePicker/Rows/CollapsableHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAErE,OAAO,EAAE,aAAa,EAAE,MAAM,6CAA6C,CAAC;AAE5E,KAAK,KAAK,GAAG;IACT,IAAI,EAAE,mBAAmB,GAAG,cAAc,CAAA;IAC1C,SAAS,EAAE,aAAa,CAAC;IACzB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,uCAI/B,KAAK,4CAiBP,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { RefObject } from "react";
2
- import { NetworkElement, GroupedTokenElement } from "@/Models/Route";
3
- import { NetworkRoute, NetworkRouteToken } from "@/Models/Network";
4
- import { SwapDirection } from "@/components/Pages/Swap/Form/SwapFormValues";
2
+ import { NetworkElement, GroupedTokenElement } from "../../../../Models/Route";
3
+ import { NetworkRoute, NetworkRouteToken } from "../../../../Models/Network";
4
+ import { SwapDirection } from "../../../../components/Pages/Swap/Form/SwapFormValues";
5
5
  type GenericAccordionRowProps = {
6
6
  item: NetworkElement | GroupedTokenElement;
7
7
  direction: SwapDirection;
@@ -12,8 +12,9 @@ type GenericAccordionRowProps = {
12
12
  toggleContent: (itemName: string) => void;
13
13
  openValues?: string[];
14
14
  scrollContainerRef: RefObject<HTMLDivElement>;
15
- allbalancesLoaded?: boolean;
16
15
  };
17
- export declare const CollapsibleRow: ({ item, toggleContent, direction, onSelect, selectedRoute, selectedToken, searchQuery, openValues, scrollContainerRef, allbalancesLoaded, }: GenericAccordionRowProps) => import("react/jsx-runtime").JSX.Element;
16
+ export declare const CollapsibleRow: ({ item, index, toggleContent, direction, onSelect, selectedRoute, selectedToken, searchQuery, openValues, scrollContainerRef }: GenericAccordionRowProps & {
17
+ index: number;
18
+ }) => import("react/jsx-runtime").JSX.Element;
18
19
  export {};
19
20
  //# sourceMappingURL=CollapsibleRow.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CollapsibleRow.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Input/RoutePicker/Rows/CollapsibleRow.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EAIV,MAAM,OAAO,CAAC;AAGf,OAAO,EACL,cAAc,EACd,mBAAmB,EACpB,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAGnE,OAAO,EAAE,aAAa,EAAE,MAAM,6CAA6C,CAAC;AAE5E,KAAK,wBAAwB,GAAG;IAC9B,IAAI,EAAE,cAAc,GAAG,mBAAmB,CAAC;IAC3C,SAAS,EAAE,aAAa,CAAC;IACzB,QAAQ,EAAE,CAAC,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAClE,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,WAAW,EAAE,MAAM,CAAA;IACnB,aAAa,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,kBAAkB,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;IAC9C,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAC;AAOF,eAAO,MAAM,cAAc,GAAI,6IAW5B,wBAAwB,4CAgG1B,CAAC"}
1
+ {"version":3,"file":"CollapsibleRow.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Input/RoutePicker/Rows/CollapsibleRow.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EAIV,MAAM,OAAO,CAAC;AAGf,OAAO,EACL,cAAc,EACd,mBAAmB,EACpB,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAGnE,OAAO,EAAE,aAAa,EAAE,MAAM,6CAA6C,CAAC;AAE5E,KAAK,wBAAwB,GAAG;IAC9B,IAAI,EAAE,cAAc,GAAG,mBAAmB,CAAC;IAC3C,SAAS,EAAE,aAAa,CAAC;IACzB,QAAQ,EAAE,CAAC,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAClE,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,WAAW,EAAE,MAAM,CAAA;IACnB,aAAa,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,kBAAkB,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;CAC/C,CAAC;AAOF,eAAO,MAAM,cAAc,GAAI,gIAW5B,wBAAwB,GAAG;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,4CA6F9C,CAAC"}
@@ -1,5 +1,5 @@
1
- import { GroupedTokenElement, NetworkElement } from "@/Models/Route";
2
- import { SwapDirection } from "@/components/Pages/Swap/Form/SwapFormValues";
1
+ import { GroupedTokenElement, NetworkElement } from "../../../../Models/Route";
2
+ import { SwapDirection } from "../../../../components/Pages/Swap/Form/SwapFormValues";
3
3
  type StickyHeaderProps = {
4
4
  item: NetworkElement | GroupedTokenElement;
5
5
  direction: SwapDirection;
@@ -7,12 +7,11 @@ type StickyHeaderProps = {
7
7
  open: boolean | undefined;
8
8
  headerRef: React.RefObject<HTMLDivElement>;
9
9
  contentRef: React.RefObject<HTMLDivElement>;
10
- allbalancesLoaded?: boolean;
11
10
  childrenCount?: number;
12
11
  onClick: () => void;
13
12
  isSticky: boolean;
14
13
  setSticky: React.Dispatch<React.SetStateAction<boolean>>;
15
14
  };
16
- export declare function StickyHeader({ item, direction, scrollContainer, open, headerRef, contentRef, allbalancesLoaded, childrenCount, onClick, isSticky, setSticky, }: StickyHeaderProps): import("react/jsx-runtime").JSX.Element | null;
15
+ export declare function StickyHeader({ item, direction, scrollContainer, open, headerRef, contentRef, childrenCount, onClick, isSticky, setSticky, }: StickyHeaderProps): import("react/jsx-runtime").JSX.Element | null;
17
16
  export {};
18
17
  //# sourceMappingURL=StickyHeader.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"StickyHeader.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Input/RoutePicker/Rows/StickyHeader.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,6CAA6C,CAAC;AAE5E,KAAK,iBAAiB,GAAG;IACrB,IAAI,EAAE,cAAc,GAAG,mBAAmB,CAAC;IAC3C,SAAS,EAAE,aAAa,CAAC;IACzB,eAAe,EAAE,cAAc,GAAG,IAAI,CAAC;IACvC,IAAI,EAAE,OAAO,GAAG,SAAS,CAAC;IAC1B,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;IAC3C,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;IAC5C,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;CAC5D,CAAC;AAEF,wBAAgB,YAAY,CAAC,EACzB,IAAI,EACJ,SAAS,EACT,eAAe,EACf,IAAI,EACJ,SAAS,EACT,UAAU,EACV,iBAAiB,EACjB,aAAa,EACb,OAAO,EACP,QAAQ,EACR,SAAS,GACZ,EAAE,iBAAiB,kDA4CnB"}
1
+ {"version":3,"file":"StickyHeader.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Input/RoutePicker/Rows/StickyHeader.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,6CAA6C,CAAC;AAE5E,KAAK,iBAAiB,GAAG;IACrB,IAAI,EAAE,cAAc,GAAG,mBAAmB,CAAC;IAC3C,SAAS,EAAE,aAAa,CAAC;IACzB,eAAe,EAAE,cAAc,GAAG,IAAI,CAAC;IACvC,IAAI,EAAE,OAAO,GAAG,SAAS,CAAC;IAC1B,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;IAC3C,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;IAC5C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;CAC5D,CAAC;AAEF,wBAAgB,YAAY,CAAC,EACzB,IAAI,EACJ,SAAS,EACT,eAAe,EACf,IAAI,EACJ,SAAS,EACT,UAAU,EACV,aAAa,EACb,OAAO,EACP,QAAQ,EACR,SAAS,GACZ,EAAE,iBAAiB,kDA2CnB"}
@@ -0,0 +1,7 @@
1
+ declare const SuggestionsHeader: () => import("react/jsx-runtime").JSX.Element;
2
+ export declare function TypingEffect({ text, onComplete }: {
3
+ text: string;
4
+ onComplete?: () => void;
5
+ }): import("react/jsx-runtime").JSX.Element;
6
+ export default SuggestionsHeader;
7
+ //# sourceMappingURL=SuggestionsHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SuggestionsHeader.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Input/RoutePicker/Rows/SuggestionsHeader.tsx"],"names":[],"mappings":"AAwBA,QAAA,MAAM,iBAAiB,+CAqBtB,CAAA;AAED,wBAAgB,YAAY,CAAC,EAAE,IAAsB,EAAE,UAAU,EAAE,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,UAAU,CAAC,EAAE,MAAM,IAAI,CAAA;CAAE,2CAkC7G;AAED,eAAe,iBAAiB,CAAC"}
@@ -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"}
@@ -0,0 +1,18 @@
1
+ import { NetworkRoute, NetworkRouteToken } from "../../../Models/Network";
2
+ import { TokenBalance } from "../../../Models/Balance";
3
+ type TokenTitleWithBalanceProps = {
4
+ item: NetworkRouteToken;
5
+ route: NetworkRoute;
6
+ tokenbalance?: TokenBalance;
7
+ usdAmount?: number;
8
+ isNewlyListed: boolean;
9
+ };
10
+ export declare const TokenInfoIcon: ({ item, route, className, iconOnly }: {
11
+ item: NetworkRouteToken;
12
+ route: NetworkRoute;
13
+ className?: string;
14
+ iconOnly?: boolean;
15
+ }) => import("react/jsx-runtime").JSX.Element;
16
+ export declare const TokenTitleWithBalance: ({ item, route, tokenbalance, usdAmount, isNewlyListed }: TokenTitleWithBalanceProps) => import("react/jsx-runtime").JSX.Element;
17
+ export {};
18
+ //# sourceMappingURL=TokenTitleDetails.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TokenTitleDetails.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/RoutePicker/TokenTitleDetails.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAKnE,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,KAAK,0BAA0B,GAAG;IAC9B,IAAI,EAAE,iBAAiB,CAAC;IACxB,KAAK,EAAE,YAAY,CAAC;IACpB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,OAAO,CAAC;CAC1B,CAAA;AAED,eAAO,MAAM,aAAa,GAAI,sCAA8C;IAAE,IAAI,EAAE,iBAAiB,CAAC;IAAC,KAAK,EAAE,YAAY,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,4CAsBnK,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,yDAAyD,0BAA0B,4CAuBxH,CAAC"}
@@ -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,EAyIzB,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":"MenuList.d.ts","sourceRoot":"","sources":["../../../../src/components/Menu/MenuList.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAY,MAAM,OAAO,CAAC;AAWrC,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAG/C,QAAA,MAAM,QAAQ,EAAE,EAAE,CAAC;IAAE,QAAQ,EAAE,CAAC,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;CAAE,CAgGtE,CAAA;AA2CD,eAAe,QAAQ,CAAA"}
1
+ {"version":3,"file":"MenuList.d.ts","sourceRoot":"","sources":["../../../../src/components/Menu/MenuList.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAY,MAAM,OAAO,CAAC;AAUrC,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAI/C,QAAA,MAAM,QAAQ,EAAE,EAAE,CAAC;IAAE,QAAQ,EAAE,CAAC,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;CAAE,CAiFtE,CAAA;AAqCD,eAAe,QAAQ,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Menu/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAY,MAAM,OAAO,CAAC;AA6ErC,QAAA,MAAM,aAAa,EAAE,EAMpB,CAAA;AAED,eAAe,aAAa,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Menu/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAY,MAAM,OAAO,CAAC;AA0FrC,QAAA,MAAM,aAAa,EAAE,EAMpB,CAAA;AAED,eAAe,aAAa,CAAA"}
@@ -5,8 +5,10 @@ type ModalProps = {
5
5
  shouldFocus: boolean;
6
6
  setShouldFocus: (value: SetStateAction<boolean>) => void;
7
7
  };
8
- export declare const Modal: ({ children }: {
9
- children: any;
8
+ export declare const Modal: ({ children, isOpen: _isOpen, setIsOpen: _setIsOpen }: {
9
+ children: ReactNode;
10
+ isOpen?: ModalProps["isOpen"];
11
+ setIsOpen?: ModalProps["setIsOpen"];
10
12
  }) => import("react/jsx-runtime").JSX.Element;
11
13
  export declare const useModalState: () => ModalProps;
12
14
  type ContentChildProps = {
@@ -1 +1 @@
1
- {"version":3,"file":"modalWithoutAnimation.d.ts","sourceRoot":"","sources":["../../../../src/components/Modal/modalWithoutAnimation.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,SAAS,EAAE,cAAc,EAAmC,MAAM,OAAO,CAAC;AAOlG,KAAK,UAAU,GAAG;IACd,SAAS,EAAE,CAAC,KAAK,EAAE,cAAc,CAAC,OAAO,CAAC,KAAK,IAAI,CAAC;IACpD,MAAM,EAAE,OAAO,CAAA;IACf,WAAW,EAAE,OAAO,CAAC;IACrB,cAAc,EAAE,CAAC,KAAK,EAAE,cAAc,CAAC,OAAO,CAAC,KAAK,IAAI,CAAC;CAC5D,CAAA;AAID,eAAO,MAAM,KAAK,GAAI;;CAAY,4CASjC,CAAC;AAEF,eAAO,MAAM,aAAa,kBAMzB,CAAA;AAED,KAAK,iBAAiB,GAAG;IACrB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,WAAW,EAAE,OAAO,CAAC;CACxB,CAAA;AAED,KAAK,iBAAiB,GAAG;IACrB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,QAAQ,EAAE,CAAC,CAAC,KAAK,EAAE,iBAAiB,KAAK,GAAG,CAAC,OAAO,CAAC,GAAG,GAAG,CAAC,OAAO,CAAC;IACpE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAA;AAED,eAAO,MAAM,YAAY,GAAI,OAAO,iBAAiB,QAqDpD,CAAA;AAED,KAAK,iBAAiB,GAAG;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,SAAS,EAAE,CAAC;IAC9C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB,CAAA;AAED,eAAO,MAAM,YAAY,GAAI,OAAO,iBAAiB,4CAuBpD,CAAA"}
1
+ {"version":3,"file":"modalWithoutAnimation.d.ts","sourceRoot":"","sources":["../../../../src/components/Modal/modalWithoutAnimation.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,SAAS,EAAE,cAAc,EAAmC,MAAM,OAAO,CAAC;AAOlG,KAAK,UAAU,GAAG;IACd,SAAS,EAAE,CAAC,KAAK,EAAE,cAAc,CAAC,OAAO,CAAC,KAAK,IAAI,CAAC;IACpD,MAAM,EAAE,OAAO,CAAA;IACf,WAAW,EAAE,OAAO,CAAC;IACrB,cAAc,EAAE,CAAC,KAAK,EAAE,cAAc,CAAC,OAAO,CAAC,KAAK,IAAI,CAAC;CAC5D,CAAA;AAID,eAAO,MAAM,KAAK,GAAI,sDAAsD;IAAE,QAAQ,EAAE,SAAS,CAAC;IAAC,MAAM,CAAC,EAAE,UAAU,CAAC,QAAQ,CAAC,CAAC;IAAC,SAAS,CAAC,EAAE,UAAU,CAAC,WAAW,CAAC,CAAA;CAAE,4CAStK,CAAC;AAEF,eAAO,MAAM,aAAa,kBAMzB,CAAA;AAED,KAAK,iBAAiB,GAAG;IACrB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,WAAW,EAAE,OAAO,CAAC;CACxB,CAAA;AAED,KAAK,iBAAiB,GAAG;IACrB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,QAAQ,EAAE,CAAC,CAAC,KAAK,EAAE,iBAAiB,KAAK,GAAG,CAAC,OAAO,CAAC,GAAG,GAAG,CAAC,OAAO,CAAC;IACpE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAA;AAED,eAAO,MAAM,YAAY,GAAI,OAAO,iBAAiB,QAqDpD,CAAA;AAED,KAAK,iBAAiB,GAAG;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,SAAS,EAAE,CAAC;IAC9C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB,CAAA;AAED,eAAO,MAAM,YAAY,GAAI,OAAO,iBAAiB,4CAuBpD,CAAA"}
@@ -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,mDAoCA,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,9 +1,8 @@
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'];
6
- minAllowedAmount: ReturnType<typeof useQuoteData>['minAllowedAmount'];
7
6
  };
8
7
  declare const RefuelToggle: FC<RefuelProps>;
9
8
  export default RefuelToggle;
@@ -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;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
+ {"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;CAClD,CAAA;AAED,QAAA,MAAM,YAAY,EAAE,EAAE,CAAC,WAAW,CAqEjC,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,CAgEjD,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;AAsB3C,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,2CA8JnJ"}
@@ -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,CAqI1B,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;AA8B3C,KAAK,KAAK,GAAG;IACT,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,QAAA,MAAM,WAAW,EAAE,EAAE,CAAC,KAAK,CAmI1B,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 +1 @@
1
- {"version":3,"file":"FormButton.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Pages/Swap/Form/SecondaryComponents/FormButton.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAE3C,KAAK,KAAK,GAAG;IACT,mBAAmB,EAAE,OAAO,CAAC;IAC7B,MAAM,EAAE,cAAc,CAAC;IACvB,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,OAAO,CAAC;IACtB,OAAO,EAAE,OAAO,GAAG,SAAS,CAAC;CAChC,CAAA;AAED,QAAA,MAAM,UAAU,GAAI,0EAOjB,KAAK,4CA6BP,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"FormButton.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Pages/Swap/Form/SecondaryComponents/FormButton.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAE3C,KAAK,KAAK,GAAG;IACT,mBAAmB,EAAE,OAAO,CAAC;IAC7B,MAAM,EAAE,cAAc,CAAC;IACvB,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,OAAO,CAAC;IACtB,OAAO,EAAE,OAAO,GAAG,SAAS,CAAC;CAChC,CAAA;AAED,QAAA,MAAM,UAAU,GAAI,0EAOjB,KAAK,4CA4BP,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -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"}
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import { Network } from '../../../../../../Models/Network';
3
+ interface Props {
4
+ source_network?: Network;
5
+ destination_network?: Network;
6
+ destination_address?: string;
7
+ }
8
+ declare const ContractAddressValidationCache: React.FC<Props>;
9
+ export default ContractAddressValidationCache;
10
+ //# sourceMappingURL=ContractAddressValidationCache.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ContractAddressValidationCache.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Pages/Swap/Form/SecondaryComponents/validationError/ContractAddressValidationCache.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAI3C,UAAU,KAAK;IACX,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,QAAA,MAAM,8BAA8B,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAoBnD,CAAC;AAEF,eAAe,8BAA8B,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"}