@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.
- package/dist/esm/Models/LayerSwapSettings.js +0 -1
- package/dist/esm/Models/Theme.js +39 -8
- package/dist/esm/components/Buttons/copyButton.js +5 -3
- package/dist/esm/components/Buttons/submitButton.js +2 -1
- package/dist/esm/components/ColorSchema.js +3 -10
- package/dist/esm/components/Common/ConnectWalletButton.js +9 -3
- package/dist/esm/components/Common/CountDownTimer.js +0 -15
- package/dist/esm/components/Common/WarningMessage.js +4 -2
- package/dist/esm/components/Common/guideLink.js +4 -6
- package/dist/esm/components/ErrorFallback.js +11 -11
- package/dist/esm/components/HeaderWithMenu.js +1 -1
- package/dist/esm/components/Icons/Wallets/Xverse.js +3 -0
- package/dist/esm/components/Icons/Wallets/index.js +1 -0
- package/dist/esm/components/Input/Address/AddressPicker/index.js +15 -12
- package/dist/esm/components/Input/Amount/Balance.js +8 -2
- package/dist/esm/components/Input/Amount/ExchangeReceiveAmount.js +8 -0
- package/dist/esm/components/Input/Amount/MinMax.js +1 -1
- package/dist/esm/components/Input/Amount/PriceImpact.js +5 -38
- package/dist/esm/components/Input/Amount/ReceiveAmount.js +2 -2
- package/dist/esm/components/Input/Amount/index.js +3 -3
- package/dist/esm/components/Input/DestinationPicker.js +2 -2
- package/dist/esm/components/Input/NumericInput.js +7 -4
- package/dist/esm/components/Input/RoutePicker/Content.js +19 -3
- package/dist/esm/components/Input/RoutePicker/RouterPickerWalletConnect.js +5 -5
- package/dist/esm/components/Input/RoutePicker/Routes.js +18 -18
- package/dist/esm/components/Input/RoutePicker/Rows/CollapsableHeader.js +2 -2
- package/dist/esm/components/Input/RoutePicker/Rows/CollapsibleRow.js +3 -3
- package/dist/esm/components/Input/RoutePicker/Rows/StickyHeader.js +2 -2
- package/dist/esm/components/Input/RoutePicker/Rows/SuggestionsHeader.js +55 -0
- package/dist/esm/components/Input/RoutePicker/Rows/TitleRow.js +11 -0
- package/dist/esm/components/Input/RoutePicker/Rows/index.js +6 -7
- package/dist/esm/components/Input/RoutePicker/index.js +2 -2
- package/dist/esm/components/Input/SourceWalletPicker.js +7 -5
- package/dist/esm/components/Menu/index.js +2 -2
- package/dist/esm/components/Modal/vaulModal.js +11 -16
- package/dist/esm/components/Pages/Campaigns/Details/Leaderboard.js +2 -2
- package/dist/esm/components/Pages/Campaigns/Details/Rewards.js +2 -2
- package/dist/esm/components/Pages/Campaigns/Details/index.js +2 -3
- package/dist/esm/components/Pages/Campaigns/index.js +3 -4
- package/dist/esm/components/Pages/Swap/Form/ExchangeForm.js +21 -19
- package/dist/esm/components/Pages/Swap/Form/FeeDetails/Rate.js +5 -4
- package/dist/esm/components/Pages/Swap/Form/FeeDetails/Refuel.js +8 -6
- package/dist/esm/components/Pages/Swap/Form/FeeDetails/Slippage.js +6 -1
- package/dist/esm/components/Pages/Swap/Form/FeeDetails/SwapQuote/DetailedEstimates.js +51 -14
- package/dist/esm/components/Pages/Swap/Form/FeeDetails/SwapQuote/SummaryRow.js +2 -2
- package/dist/esm/components/Pages/Swap/Form/FeeDetails/SwapQuote/index.js +4 -4
- package/dist/esm/components/Pages/Swap/Form/FeeDetails/index.js +8 -9
- package/dist/esm/components/Pages/Swap/Form/Form.js +27 -3
- package/dist/esm/components/Pages/Swap/Form/FormWrapper.js +8 -14
- package/dist/esm/components/Pages/Swap/Form/NetworkForm.js +11 -13
- package/dist/esm/components/Pages/Swap/Form/SecondaryComponents/ReserveGasNote.js +8 -6
- package/dist/esm/components/Pages/Swap/Form/SecondaryComponents/validationError/ErrorDisplay.js +1 -1
- package/dist/esm/components/Pages/Swap/Withdraw/Failed.js +12 -8
- package/dist/esm/components/Pages/Swap/Withdraw/ManualWithdraw.js +29 -10
- package/dist/esm/components/Pages/Swap/Withdraw/NotFound.js +15 -4
- package/dist/esm/components/Pages/Swap/Withdraw/Processing/Processing.js +36 -41
- package/dist/esm/components/Pages/Swap/Withdraw/Summary/Summary.js +3 -3
- package/dist/esm/components/Pages/Swap/Withdraw/Summary/index.js +3 -3
- package/dist/esm/components/Pages/Swap/Withdraw/SwapDetails.js +9 -7
- package/dist/esm/components/Pages/Swap/Withdraw/Wallet/Common/actionMessage.js +43 -0
- package/dist/esm/components/Pages/Swap/Withdraw/Wallet/Common/buttons.js +118 -71
- package/dist/esm/components/Pages/Swap/Withdraw/Wallet/index.js +56 -65
- package/dist/esm/components/Pages/Swap/Withdraw/WalletTransferButton.js +2 -2
- package/dist/esm/components/Pages/Swap/Withdraw/WalletTransferContent.js +2 -2
- package/dist/esm/components/Pages/Swap/Withdraw/Withdraw.js +3 -3
- package/dist/esm/components/Pages/Swap/Withdraw/index.js +5 -4
- package/dist/esm/components/Pages/Swap/Withdraw/messages/TransactionMessages.js +14 -15
- package/dist/esm/components/Pages/SwapHistory/History.js +2 -2
- package/dist/esm/components/Pages/SwapHistory/SwapDetailsComponent.js +4 -1
- package/dist/esm/components/Pages/SwapHistory/index.js +6 -6
- package/dist/esm/components/Wallet/WalletComponents/ConnectedWallets.js +1 -1
- package/dist/esm/components/Wallet/WalletComponents/WalletsList.js +4 -3
- package/dist/esm/components/Wallet/WalletModal/Connector.js +2 -2
- package/dist/esm/components/Wallet/WalletModal/ConnectorsList.js +49 -24
- package/dist/esm/components/Wallet/WalletModal/index.js +3 -1
- package/dist/esm/components/Wallet/WalletProviders/index.js +4 -2
- package/dist/esm/components/Widget/Content.js +2 -2
- package/dist/esm/components/Widget/Footer.js +1 -1
- package/dist/esm/components/Widget/Index.js +2 -3
- package/dist/esm/components/WidgetLoading.js +9 -2
- package/dist/esm/components/utils/RoundDecimals.js +4 -2
- package/dist/esm/context/ErrorProvider.js +14 -0
- package/dist/esm/context/LayerswapProvider.js +6 -5
- package/dist/esm/context/asyncModal.js +1 -1
- package/dist/esm/context/callbackProvider.js +54 -60
- package/dist/esm/context/resolverContext.js +7 -2
- package/dist/esm/context/swap.js +13 -18
- package/dist/esm/context/{balanceAccounts.js → swapAccounts.js} +17 -17
- package/dist/esm/context/validationContext.js +1 -1
- package/dist/esm/context/walletProviders.js +7 -1
- package/dist/esm/context/withdrawalContext.js +2 -2
- package/dist/esm/exports/internal.js +4 -3
- package/dist/esm/helpers/filterSourceNetworks.js +23 -0
- package/dist/esm/helpers/getSettings/getSettings.js +18 -13
- package/dist/esm/helpers/routes.js +4 -1
- package/dist/esm/hooks/useAllWithdrawalBalances.js +6 -5
- package/dist/esm/hooks/useFormRoutes.js +16 -8
- package/dist/esm/hooks/useFormValidation.js +11 -6
- package/dist/esm/hooks/useRouteValidation.js +1 -1
- package/dist/esm/hooks/useSwrSwaps.js +1 -1
- package/dist/esm/hooks/useTransfer.js +9 -0
- package/dist/esm/hooks/useWallet.js +7 -7
- package/dist/esm/lib/AppSettings.js +28 -17
- package/dist/esm/lib/ErrorHandler.js +6 -0
- package/dist/esm/lib/NetworkSettings.js +0 -16
- package/dist/esm/lib/apiClients/layerSwapApiClient.js +12 -35
- package/dist/esm/lib/axiosInterceptor.js +2 -2
- package/dist/esm/lib/balances/balanceResolver.js +9 -13
- package/dist/esm/lib/fees.js +50 -0
- package/dist/esm/lib/resolvers/resolverService.js +10 -1
- package/dist/esm/lib/transfers/index.js +1 -0
- package/dist/esm/lib/transfers/transferResolver.js +14 -0
- package/dist/esm/stores/balanceStore.js +1 -2
- package/dist/esm/stores/logStore.js +11 -0
- package/dist/esm/types/balance.js +8 -9
- package/dist/esm/types/index.js +1 -0
- package/dist/esm/types/logEvents.js +1 -0
- package/dist/index.css +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/Models/Balance.d.ts +1 -1
- package/dist/types/Models/LayerSwapSettings.d.ts +7 -0
- package/dist/types/Models/LayerSwapSettings.d.ts.map +1 -1
- package/dist/types/Models/Theme.d.ts +0 -3
- package/dist/types/Models/Theme.d.ts.map +1 -1
- package/dist/types/components/Buttons/copyButton.d.ts +3 -1
- package/dist/types/components/Buttons/copyButton.d.ts.map +1 -1
- package/dist/types/components/Buttons/submitButton.d.ts +1 -1
- package/dist/types/components/Buttons/submitButton.d.ts.map +1 -1
- package/dist/types/components/ColorSchema.d.ts.map +1 -1
- package/dist/types/components/Common/ConnectWalletButton.d.ts +1 -1
- package/dist/types/components/Common/ConnectWalletButton.d.ts.map +1 -1
- package/dist/types/components/Common/CountDownTimer.d.ts.map +1 -1
- package/dist/types/components/Common/WarningMessage.d.ts.map +1 -1
- package/dist/types/components/Common/guideLink.d.ts.map +1 -1
- package/dist/types/components/ErrorFallback.d.ts.map +1 -1
- package/dist/types/components/HeaderWithMenu.d.ts.map +1 -1
- package/dist/types/components/Icons/Wallets/Xverse.d.ts +4 -0
- package/dist/types/components/Icons/Wallets/Xverse.d.ts.map +1 -0
- package/dist/types/components/Icons/Wallets/index.d.ts +1 -0
- package/dist/types/components/Icons/Wallets/index.d.ts.map +1 -1
- package/dist/types/components/Input/Address/AddressNote.d.ts +2 -2
- package/dist/types/components/Input/Address/AddressPicker/AddressBook.d.ts +3 -3
- package/dist/types/components/Input/Address/AddressPicker/AddressButton.d.ts +3 -3
- package/dist/types/components/Input/Address/AddressPicker/AddressWithIcon.d.ts +2 -2
- package/dist/types/components/Input/Address/AddressPicker/ConnectedWallets.d.ts +2 -2
- package/dist/types/components/Input/Address/AddressPicker/ManualAddressInput.d.ts +4 -4
- package/dist/types/components/Input/Address/AddressPicker/index.d.ts +4 -4
- package/dist/types/components/Input/Address/AddressPicker/index.d.ts.map +1 -1
- package/dist/types/components/Input/Address/index.d.ts +1 -1
- package/dist/types/components/Input/Amount/Balance.d.ts +1 -1
- package/dist/types/components/Input/Amount/Balance.d.ts.map +1 -1
- package/dist/types/components/Input/Amount/ExchangeReceiveAmount.d.ts +11 -0
- package/dist/types/components/Input/Amount/ExchangeReceiveAmount.d.ts.map +1 -0
- package/dist/types/components/Input/Amount/MinMax.d.ts +1 -1
- package/dist/types/components/Input/Amount/PriceImpact.d.ts +2 -6
- package/dist/types/components/Input/Amount/PriceImpact.d.ts.map +1 -1
- package/dist/types/components/Input/Amount/ReceiveAmount.d.ts +2 -3
- package/dist/types/components/Input/Amount/ReceiveAmount.d.ts.map +1 -1
- package/dist/types/components/Input/Amount/helpers.d.ts +2 -2
- package/dist/types/components/Input/Amount/index.d.ts +1 -1
- package/dist/types/components/Input/CexPicker.d.ts +1 -1
- package/dist/types/components/Input/DestinationPicker.d.ts +1 -1
- package/dist/types/components/Input/DestinationPicker.d.ts.map +1 -1
- package/dist/types/components/Input/NumericInput.d.ts.map +1 -1
- package/dist/types/components/Input/RoutePicker/Content.d.ts +5 -5
- package/dist/types/components/Input/RoutePicker/Content.d.ts.map +1 -1
- package/dist/types/components/Input/RoutePicker/RouterPickerWalletConnect.d.ts +1 -1
- package/dist/types/components/Input/RoutePicker/Routes.d.ts +4 -8
- package/dist/types/components/Input/RoutePicker/Routes.d.ts.map +1 -1
- package/dist/types/components/Input/RoutePicker/Rows/CollapsableHeader.d.ts +3 -4
- package/dist/types/components/Input/RoutePicker/Rows/CollapsableHeader.d.ts.map +1 -1
- package/dist/types/components/Input/RoutePicker/Rows/CollapsibleRow.d.ts +6 -5
- package/dist/types/components/Input/RoutePicker/Rows/CollapsibleRow.d.ts.map +1 -1
- package/dist/types/components/Input/RoutePicker/Rows/StickyHeader.d.ts +3 -4
- package/dist/types/components/Input/RoutePicker/Rows/StickyHeader.d.ts.map +1 -1
- package/dist/types/components/Input/RoutePicker/Rows/SuggestionsHeader.d.ts +7 -0
- package/dist/types/components/Input/RoutePicker/Rows/SuggestionsHeader.d.ts.map +1 -0
- package/dist/types/components/Input/RoutePicker/Rows/TitleRow.d.ts +7 -0
- package/dist/types/components/Input/RoutePicker/Rows/TitleRow.d.ts.map +1 -0
- package/dist/types/components/Input/RoutePicker/Rows/index.d.ts +5 -5
- package/dist/types/components/Input/RoutePicker/Rows/index.d.ts.map +1 -1
- package/dist/types/components/Input/RoutePicker/index.d.ts +1 -1
- package/dist/types/components/Input/RoutePicker/index.d.ts.map +1 -1
- package/dist/types/components/Input/SourcePicker.d.ts +1 -1
- package/dist/types/components/Input/SourceWalletPicker.d.ts.map +1 -1
- package/dist/types/components/Modal/vaulModal.d.ts.map +1 -1
- package/dist/types/components/Pages/Campaigns/Details/Leaderboard.d.ts +1 -1
- package/dist/types/components/Pages/Campaigns/Details/Rewards.d.ts +1 -1
- package/dist/types/components/Pages/Campaigns/Details/index.d.ts +1 -2
- package/dist/types/components/Pages/Campaigns/Details/index.d.ts.map +1 -1
- package/dist/types/components/Pages/Campaigns/index.d.ts +2 -3
- package/dist/types/components/Pages/Campaigns/index.d.ts.map +1 -1
- package/dist/types/components/Pages/Swap/Form/ExchangeForm.d.ts +3 -1
- package/dist/types/components/Pages/Swap/Form/ExchangeForm.d.ts.map +1 -1
- package/dist/types/components/Pages/Swap/Form/FeeDetails/Rate.d.ts +7 -6
- package/dist/types/components/Pages/Swap/Form/FeeDetails/Rate.d.ts.map +1 -1
- package/dist/types/components/Pages/Swap/Form/FeeDetails/ReceiveAmounts.d.ts +2 -2
- package/dist/types/components/Pages/Swap/Form/FeeDetails/Refuel.d.ts +1 -1
- package/dist/types/components/Pages/Swap/Form/FeeDetails/Refuel.d.ts.map +1 -1
- package/dist/types/components/Pages/Swap/Form/FeeDetails/RefuelModal.d.ts +1 -1
- package/dist/types/components/Pages/Swap/Form/FeeDetails/Slippage.d.ts +1 -1
- package/dist/types/components/Pages/Swap/Form/FeeDetails/SwapQuote/DetailedEstimates.d.ts +3 -2
- package/dist/types/components/Pages/Swap/Form/FeeDetails/SwapQuote/DetailedEstimates.d.ts.map +1 -1
- package/dist/types/components/Pages/Swap/Form/FeeDetails/SwapQuote/SummaryRow.d.ts +4 -4
- package/dist/types/components/Pages/Swap/Form/FeeDetails/SwapQuote/index.d.ts +4 -4
- package/dist/types/components/Pages/Swap/Form/FeeDetails/SwapQuote/index.d.ts.map +1 -1
- package/dist/types/components/Pages/Swap/Form/FeeDetails/SwapQuote/utils.d.ts +2 -2
- package/dist/types/components/Pages/Swap/Form/FeeDetails/index.d.ts +7 -4
- package/dist/types/components/Pages/Swap/Form/FeeDetails/index.d.ts.map +1 -1
- package/dist/types/components/Pages/Swap/Form/Form.d.ts.map +1 -1
- package/dist/types/components/Pages/Swap/Form/FormWrapper.d.ts +1 -1
- package/dist/types/components/Pages/Swap/Form/FormWrapper.d.ts.map +1 -1
- package/dist/types/components/Pages/Swap/Form/NetworkForm.d.ts +1 -1
- package/dist/types/components/Pages/Swap/Form/NetworkForm.d.ts.map +1 -1
- package/dist/types/components/Pages/Swap/Form/SecondaryComponents/FormButton.d.ts +1 -1
- package/dist/types/components/Pages/Swap/Form/SecondaryComponents/ReserveGasNote.d.ts +2 -2
- package/dist/types/components/Pages/Swap/Form/SecondaryComponents/ReserveGasNote.d.ts.map +1 -1
- package/dist/types/components/Pages/Swap/Form/SecondaryComponents/validationError/ErrorDisplay.d.ts +1 -1
- package/dist/types/components/Pages/Swap/Form/SwapFormValues.d.ts +2 -2
- package/dist/types/components/Pages/Swap/Withdraw/Failed.d.ts.map +1 -1
- package/dist/types/components/Pages/Swap/Withdraw/ManualWithdraw.d.ts +4 -3
- package/dist/types/components/Pages/Swap/Withdraw/ManualWithdraw.d.ts.map +1 -1
- package/dist/types/components/Pages/Swap/Withdraw/NotFound.d.ts.map +1 -1
- package/dist/types/components/Pages/Swap/Withdraw/Processing/Processing.d.ts +1 -1
- package/dist/types/components/Pages/Swap/Withdraw/Processing/Processing.d.ts.map +1 -1
- package/dist/types/components/Pages/Swap/Withdraw/QuoteUpdate.d.ts +1 -1
- package/dist/types/components/Pages/Swap/Withdraw/Summary/Summary.d.ts +1 -1
- package/dist/types/components/Pages/Swap/Withdraw/SwapDetails.d.ts +2 -1
- package/dist/types/components/Pages/Swap/Withdraw/SwapDetails.d.ts.map +1 -1
- package/dist/types/components/Pages/Swap/Withdraw/SwapQuoteDetails.d.ts +3 -3
- package/dist/types/components/Pages/Swap/Withdraw/Wallet/Common/actionMessage.d.ts +6 -0
- package/dist/types/components/Pages/Swap/Withdraw/Wallet/Common/actionMessage.d.ts.map +1 -0
- package/dist/types/components/Pages/Swap/Withdraw/Wallet/Common/buttons.d.ts +4 -3
- package/dist/types/components/Pages/Swap/Withdraw/Wallet/Common/buttons.d.ts.map +1 -1
- package/dist/types/components/Pages/Swap/Withdraw/Wallet/Common/sharedTypes.d.ts +2 -1
- package/dist/types/components/Pages/Swap/Withdraw/Wallet/Common/sharedTypes.d.ts.map +1 -1
- package/dist/types/components/Pages/Swap/Withdraw/Wallet/index.d.ts +2 -1
- package/dist/types/components/Pages/Swap/Withdraw/Wallet/index.d.ts.map +1 -1
- package/dist/types/components/Pages/Swap/Withdraw/WalletTransferButton.d.ts +2 -1
- package/dist/types/components/Pages/Swap/Withdraw/WalletTransferButton.d.ts.map +1 -1
- package/dist/types/components/Pages/Swap/Withdraw/WalletTransferContent.d.ts +1 -1
- package/dist/types/components/Pages/Swap/Withdraw/Withdraw.d.ts +2 -1
- package/dist/types/components/Pages/Swap/Withdraw/Withdraw.d.ts.map +1 -1
- package/dist/types/components/Pages/Swap/Withdraw/index.d.ts +1 -2
- package/dist/types/components/Pages/Swap/Withdraw/index.d.ts.map +1 -1
- package/dist/types/components/Pages/Swap/Withdraw/messages/TransactionMessages.d.ts +3 -4
- package/dist/types/components/Pages/Swap/Withdraw/messages/TransactionMessages.d.ts.map +1 -1
- package/dist/types/components/Pages/SwapHistory/HistorySummary.d.ts +2 -2
- package/dist/types/components/Pages/SwapHistory/StatusIcons.d.ts +1 -1
- package/dist/types/components/Pages/SwapHistory/SwapDetailsComponent.d.ts +1 -1
- package/dist/types/components/Pages/SwapHistory/SwapDetailsComponent.d.ts.map +1 -1
- package/dist/types/components/Pages/SwapHistory/index.d.ts +3 -1
- package/dist/types/components/Pages/SwapHistory/index.d.ts.map +1 -1
- package/dist/types/components/Wallet/WalletComponents/WalletsList.d.ts +3 -3
- package/dist/types/components/Wallet/WalletComponents/WalletsList.d.ts.map +1 -1
- package/dist/types/components/Wallet/WalletModal/Connector.d.ts +2 -1
- package/dist/types/components/Wallet/WalletModal/Connector.d.ts.map +1 -1
- package/dist/types/components/Wallet/WalletModal/ConnectorsList.d.ts +1 -1
- package/dist/types/components/Wallet/WalletModal/ConnectorsList.d.ts.map +1 -1
- package/dist/types/components/Wallet/WalletModal/index.d.ts +1 -1
- package/dist/types/components/Wallet/WalletModal/index.d.ts.map +1 -1
- package/dist/types/components/Wallet/WalletProviders/index.d.ts +3 -1
- package/dist/types/components/Wallet/WalletProviders/index.d.ts.map +1 -1
- package/dist/types/components/Widget/Content.d.ts +2 -1
- package/dist/types/components/Widget/Content.d.ts.map +1 -1
- package/dist/types/components/Widget/Footer.d.ts +2 -1
- package/dist/types/components/Widget/Footer.d.ts.map +1 -1
- package/dist/types/components/Widget/Index.d.ts +3 -2
- package/dist/types/components/Widget/Index.d.ts.map +1 -1
- package/dist/types/components/WidgetLoading.d.ts.map +1 -1
- package/dist/types/components/shadcn/command.d.ts +9 -52
- package/dist/types/components/shadcn/command.d.ts.map +1 -1
- package/dist/types/components/utils/RoundDecimals.d.ts.map +1 -1
- package/dist/types/context/ErrorProvider.d.ts +3 -0
- package/dist/types/context/ErrorProvider.d.ts.map +1 -0
- package/dist/types/context/LayerswapProvider.d.ts +22 -4
- package/dist/types/context/LayerswapProvider.d.ts.map +1 -1
- package/dist/types/context/callbackProvider.d.ts +6 -12
- package/dist/types/context/callbackProvider.d.ts.map +1 -1
- package/dist/types/context/resolverContext.d.ts.map +1 -1
- package/dist/types/context/swap.d.ts +7 -7
- package/dist/types/context/swap.d.ts.map +1 -1
- package/dist/types/context/{balanceAccounts.d.ts → swapAccounts.d.ts} +9 -9
- package/dist/types/context/swapAccounts.d.ts.map +1 -0
- package/dist/types/context/validationContext.d.ts +1 -0
- package/dist/types/context/validationContext.d.ts.map +1 -1
- package/dist/types/context/walletProviders.d.ts.map +1 -1
- package/dist/types/context/withdrawalContext.d.ts +2 -0
- package/dist/types/context/withdrawalContext.d.ts.map +1 -1
- package/dist/types/exports/internal.d.ts +9 -7
- package/dist/types/exports/internal.d.ts.map +1 -1
- package/dist/types/helpers/accountSelectHelper.d.ts +1 -1
- package/dist/types/helpers/balanceHelper.d.ts +2 -2
- package/dist/types/helpers/filterSourceNetworks.d.ts +4 -0
- package/dist/types/helpers/filterSourceNetworks.d.ts.map +1 -0
- package/dist/types/helpers/getSettings/getSettings.d.ts +1 -1
- package/dist/types/helpers/getSettings/getSettings.d.ts.map +1 -1
- package/dist/types/helpers/routes.d.ts +1 -1
- package/dist/types/helpers/routes.d.ts.map +1 -1
- package/dist/types/helpers/tokenHelper.d.ts +2 -2
- package/dist/types/hooks/useAllWithdrawalBalances.d.ts +2 -1
- package/dist/types/hooks/useAllWithdrawalBalances.d.ts.map +1 -1
- package/dist/types/hooks/useFee.d.ts +1 -1
- package/dist/types/hooks/useFormRoutes.d.ts +2 -3
- package/dist/types/hooks/useFormRoutes.d.ts.map +1 -1
- package/dist/types/hooks/useFormValidation.d.ts +10 -1
- package/dist/types/hooks/useFormValidation.d.ts.map +1 -1
- package/dist/types/hooks/useSwapHistoryData.d.ts +2 -2
- package/dist/types/hooks/useTransfer.d.ts +5 -0
- package/dist/types/hooks/useTransfer.d.ts.map +1 -0
- package/dist/types/hooks/useWallet.d.ts +3 -3
- package/dist/types/hooks/useWallet.d.ts.map +1 -1
- package/dist/types/lib/AppSettings.d.ts +25 -16
- package/dist/types/lib/AppSettings.d.ts.map +1 -1
- package/dist/types/lib/ErrorHandler.d.ts +3 -0
- package/dist/types/lib/ErrorHandler.d.ts.map +1 -0
- package/dist/types/lib/NetworkSettings.d.ts +0 -1
- package/dist/types/lib/NetworkSettings.d.ts.map +1 -1
- package/dist/types/lib/apiClients/layerSwapApiClient.d.ts +2 -10
- package/dist/types/lib/apiClients/layerSwapApiClient.d.ts.map +1 -1
- package/dist/types/lib/balances/balanceResolver.d.ts +3 -3
- package/dist/types/lib/balances/balanceResolver.d.ts.map +1 -1
- package/dist/types/lib/balances/helpers.d.ts +1 -1
- package/dist/types/lib/balances/useBalance.d.ts +1 -1
- package/dist/types/lib/fees.d.ts +16 -0
- package/dist/types/lib/fees.d.ts.map +1 -1
- package/dist/types/lib/gases/gasResolver.d.ts +2 -2
- package/dist/types/lib/gases/useSWRGas.d.ts +3 -3
- package/dist/types/lib/generateSwapInitialValues.d.ts +1 -1
- package/dist/types/lib/nft/nftBalanceResolver.d.ts +1 -1
- package/dist/types/lib/resolvers/resolverService.d.ts +8 -5
- package/dist/types/lib/resolvers/resolverService.d.ts.map +1 -1
- package/dist/types/lib/sorting.d.ts +1 -1
- package/dist/types/lib/transfers/index.d.ts +2 -0
- package/dist/types/lib/transfers/index.d.ts.map +1 -0
- package/dist/types/lib/transfers/transferResolver.d.ts +7 -0
- package/dist/types/lib/transfers/transferResolver.d.ts.map +1 -0
- package/dist/types/stores/balanceStore.d.ts.map +1 -1
- package/dist/types/stores/logStore.d.ts +8 -0
- package/dist/types/stores/logStore.d.ts.map +1 -0
- package/dist/types/stores/walletStore.d.ts +1 -1
- package/dist/types/types/balance.d.ts +2 -2
- package/dist/types/types/balance.d.ts.map +1 -1
- package/dist/types/types/gas.d.ts +2 -2
- package/dist/types/types/index.d.ts +1 -0
- package/dist/types/types/index.d.ts.map +1 -1
- package/dist/types/types/logEvents.d.ts +41 -0
- package/dist/types/types/logEvents.d.ts.map +1 -0
- package/dist/types/types/nft.d.ts +1 -1
- package/dist/types/types/transfer.d.ts +7 -2
- package/dist/types/types/transfer.d.ts.map +1 -1
- package/dist/types/types/wallet.d.ts +25 -6
- package/dist/types/types/wallet.d.ts.map +1 -1
- package/package.json +3 -3
- package/dist/esm/helpers/querryHelper.js +0 -13
- package/dist/esm/lib/logError.js +0 -17
- package/dist/types/context/balanceAccounts.d.ts.map +0 -1
- package/dist/types/helpers/querryHelper.d.ts +0 -3
- package/dist/types/helpers/querryHelper.d.ts.map +0 -1
- package/dist/types/lib/logError.d.ts +0 -3
- package/dist/types/lib/logError.d.ts.map +0 -1
|
@@ -6,4 +6,11 @@ export declare class LayerSwapSettings {
|
|
|
6
6
|
sourceRoutes?: NetworkRoute[];
|
|
7
7
|
destinationRoutes?: NetworkRoute[];
|
|
8
8
|
}
|
|
9
|
+
export type AvailableSourceNetworkTypes = {
|
|
10
|
+
all: true;
|
|
11
|
+
networks?: never;
|
|
12
|
+
} | {
|
|
13
|
+
all: false;
|
|
14
|
+
networks: string[];
|
|
15
|
+
};
|
|
9
16
|
//# sourceMappingURL=LayerSwapSettings.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LayerSwapSettings.d.ts","sourceRoot":"","sources":["../../../src/Models/LayerSwapSettings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,qBAAa,iBAAiB;IAC1B,eAAe,CAAC,EAAE,QAAQ,EAAE,CAAC;IAC7B,QAAQ,EAAE,iBAAiB,EAAE,CAAC;IAC9B,YAAY,CAAC,EAAE,YAAY,EAAE,CAAC;IAC9B,iBAAiB,CAAC,EAAE,YAAY,EAAE,CAAC;CACtC"}
|
|
1
|
+
{"version":3,"file":"LayerSwapSettings.d.ts","sourceRoot":"","sources":["../../../src/Models/LayerSwapSettings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,qBAAa,iBAAiB;IAC1B,eAAe,CAAC,EAAE,QAAQ,EAAE,CAAC;IAC7B,QAAQ,EAAE,iBAAiB,EAAE,CAAC;IAC9B,YAAY,CAAC,EAAE,YAAY,EAAE,CAAC;IAC9B,iBAAiB,CAAC,EAAE,YAAY,EAAE,CAAC;CACtC;AAED,MAAM,MAAM,2BAA2B,GAAG;IACtC,GAAG,EAAE,IAAI,CAAA;IACT,QAAQ,CAAC,EAAE,KAAK,CAAA;CACnB,GAAG;IACA,GAAG,EAAE,KAAK,CAAA;IACV,QAAQ,EAAE,MAAM,EAAE,CAAA;CACrB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Theme.d.ts","sourceRoot":"","sources":["../../../src/Models/Theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,SAAS,GAAG;IACpB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,UAAU,CAAC;IACrB,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,
|
|
1
|
+
{"version":3,"file":"Theme.d.ts","sourceRoot":"","sources":["../../../src/Models/Theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,SAAS,GAAG;IACpB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,UAAU,CAAC;IACrB,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,YAAY,GAAG,SAAS,CAAC;IAChF,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,MAAM,CAAC,EAAE;QACL,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,WAAW,CAAC,EAAE,OAAO,CAAC;KACzB,CAAA;IACD,mBAAmB,CAAC,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC,OAAO,CAAC,CAAA;IAC7D,aAAa,CAAC,EAAE,OAAO,CAAA;CAC1B,CAAA;AAED,MAAM,MAAM,UAAU,GAAG;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;CAChB,CAAA;AAED,MAAM,MAAM,WAAW,GAAG;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACtB,CAAA;AAED,eAAO,MAAM,YAAY,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAA;CA2PpD,CAAA"}
|
|
@@ -6,6 +6,8 @@ interface CopyButtonProps {
|
|
|
6
6
|
iconSize?: number;
|
|
7
7
|
iconClassName?: string;
|
|
8
8
|
}
|
|
9
|
-
declare const CopyButton: FC<CopyButtonProps
|
|
9
|
+
declare const CopyButton: FC<CopyButtonProps & {
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
}>;
|
|
10
12
|
export default CopyButton;
|
|
11
13
|
//# sourceMappingURL=copyButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"copyButton.d.ts","sourceRoot":"","sources":["../../../../src/components/Buttons/copyButton.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,EAAE,EAAY,MAAM,OAAO,CAAA;AAI3C,UAAU,eAAe;IACvB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,MAAM,GAAG,MAAM,CAAA;IACvB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB;AAED,QAAA,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,
|
|
1
|
+
{"version":3,"file":"copyButton.d.ts","sourceRoot":"","sources":["../../../../src/components/Buttons/copyButton.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,EAAE,EAAY,MAAM,OAAO,CAAA;AAI3C,UAAU,eAAe;IACvB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,MAAM,GAAG,MAAM,CAAA;IACvB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB;AAED,QAAA,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,GAAG;IAAE,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,CAyD5D,CAAA;AAED,eAAe,UAAU,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CSSProperties, FC, MouseEventHandler } from "react";
|
|
2
|
-
type buttonStyle = 'outline' | 'filled';
|
|
2
|
+
type buttonStyle = 'outline' | 'filled' | 'secondary';
|
|
3
3
|
type buttonSize = 'small' | 'medium' | 'large';
|
|
4
4
|
type text_align = 'center' | 'left';
|
|
5
5
|
type button_align = 'left' | 'right';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"submitButton.d.ts","sourceRoot":"","sources":["../../../../src/components/Buttons/submitButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAI7D,KAAK,WAAW,GAAG,SAAS,GAAG,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"submitButton.d.ts","sourceRoot":"","sources":["../../../../src/components/Buttons/submitButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAI7D,KAAK,WAAW,GAAG,SAAS,GAAG,QAAQ,GAAG,WAAW,CAAC;AACtD,KAAK,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAC/C,KAAK,UAAU,GAAG,QAAQ,GAAG,MAAM,CAAA;AACnC,KAAK,YAAY,GAAG,MAAM,GAAG,OAAO,CAAA;AAEpC,qBAAa,iBAAiB;IAC1B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,CAAC;IACjD,OAAO,CAAC,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC;IAC3D,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,WAAW,CAAC,EAAE,WAAW,CAAY;IACrC,IAAI,CAAC,EAAE,UAAU,CAAY;IAC7B,UAAU,CAAC,EAAE,UAAU,CAAW;IAClC,YAAY,CAAC,EAAE,YAAY,CAAU;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,KAAK,CAAC,EAAE,aAAa,CAAC;CACzB;AAED,QAAA,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CA0BvC,CAAA;AAGD,KAAK,mBAAmB,GAAG;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,kBAAkB,GAAG,iBAAiB,CAAC;IACnD,QAAQ,CAAC,EAAE,OAAO,CAAA;CACrB,CAAA;AAaD,eAAO,MAAM,cAAc,GAAI,sDAAsD,mBAAmB,4CAKvG,CAAA;AAED,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ColorSchema.d.ts","sourceRoot":"","sources":["../../../src/components/ColorSchema.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAgB,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE1D,KAAK,KAAK,GAAG;IACT,SAAS,CAAC,EAAE,SAAS,GAAG,IAAI,CAAA;CAC/B,CAAA;AAgCD,eAAO,MAAM,kBAAkB,GAAI,KAAK,MAAM,EAAE,kBAAkB,MAAM,GAAG,SAAS,WAgBnF,CAAC;AAGF,QAAA,MAAM,WAAW,EAAE,EAAE,CAAC,KAAK,
|
|
1
|
+
{"version":3,"file":"ColorSchema.d.ts","sourceRoot":"","sources":["../../../src/components/ColorSchema.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAgB,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE1D,KAAK,KAAK,GAAG;IACT,SAAS,CAAC,EAAE,SAAS,GAAG,IAAI,CAAA;CAC/B,CAAA;AAgCD,eAAO,MAAM,kBAAkB,GAAI,KAAK,MAAM,EAAE,kBAAkB,MAAM,GAAG,SAAS,WAgBnF,CAAC;AAGF,QAAA,MAAM,WAAW,EAAE,EAAE,CAAC,KAAK,CAyD1B,CAAA;AACD,eAAe,WAAW,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
|
-
import { Wallet, WalletConnectionProvider } from "
|
|
2
|
+
import { Wallet, WalletConnectionProvider } from "../../types/wallet";
|
|
3
3
|
interface Props extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
4
4
|
provider?: WalletConnectionProvider;
|
|
5
5
|
onConnect?: (wallet: Wallet) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConnectWalletButton.d.ts","sourceRoot":"","sources":["../../../../src/components/Common/ConnectWalletButton.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAY,MAAM,OAAO,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAIlE,UAAU,KAAM,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;IACjE,QAAQ,CAAC,EAAE,wBAAwB,CAAC;IACpC,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,eAAe,CAAC,EAAE,MAAM,CAAA;CAC3B;AAED,QAAA,MAAM,mBAAmB,EAAE,EAAE,CAAC,KAAK,
|
|
1
|
+
{"version":3,"file":"ConnectWalletButton.d.ts","sourceRoot":"","sources":["../../../../src/components/Common/ConnectWalletButton.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAY,MAAM,OAAO,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAIlE,UAAU,KAAM,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;IACjE,QAAQ,CAAC,EAAE,wBAAwB,CAAC;IACpC,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,eAAe,CAAC,EAAE,MAAM,CAAA;CAC3B;AAED,QAAA,MAAM,mBAAmB,EAAE,EAAE,CAAC,KAAK,CAiDlC,CAAA;AAED,eAAe,mBAAmB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CountDownTimer.d.ts","sourceRoot":"","sources":["../../../../src/components/Common/CountDownTimer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAuB,MAAM,OAAO,CAAC;AAEhD,OAAO,EAAE,WAAW,EAAmB,MAAM,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"CountDownTimer.d.ts","sourceRoot":"","sources":["../../../../src/components/Common/CountDownTimer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAuB,MAAM,OAAO,CAAC;AAEhD,OAAO,EAAE,WAAW,EAAmB,MAAM,yCAAyC,CAAC;AAEvF,QAAA,MAAM,cAAc,EAAE,EAAE,CAAC;IAAE,WAAW,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,WAAW,CAAC;IAAC,iBAAiB,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAA;CAAE,CAsD3H,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WarningMessage.d.ts","sourceRoot":"","sources":["../../../../src/components/Common/WarningMessage.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"WarningMessage.d.ts","sourceRoot":"","sources":["../../../../src/components/Common/WarningMessage.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAK3B,KAAK,WAAW,GAAG,SAAS,GAAG,WAAW,CAAA;AAE1C,KAAK,KAAK,GAAG;IACT,QAAQ,EAAE,GAAG,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,EAAE,GAAG,MAAM,CAAC;IAC/C,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAA;CACrB,CAAA;AAiBD,QAAA,MAAM,cAAc,EAAE,EAAE,CAAC,KAAK,CAgB5B,CAAA;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"guideLink.d.ts","sourceRoot":"","sources":["../../../../src/components/Common/guideLink.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAY,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"guideLink.d.ts","sourceRoot":"","sources":["../../../../src/components/Common/guideLink.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAY,MAAM,OAAO,CAAC;AAG5C,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,gBAAgB,EAAE,EAAE;IAAE,YAAY,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,SAAS,CAAC;IAAC,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAAE,2CAyBzK"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorFallback.d.ts","sourceRoot":"","sources":["../../../src/components/ErrorFallback.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ErrorFallback.d.ts","sourceRoot":"","sources":["../../../src/components/ErrorFallback.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAGrD,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EAAE,KAAK,EAAE,kBAAkB,EAAE,EAAE,aAAa,2CAwEjF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderWithMenu.d.ts","sourceRoot":"","sources":["../../../src/components/HeaderWithMenu.tsx"],"names":[],"mappings":"AASA,KAAK,KAAK,GAAG;IACV,MAAM,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,GAAG,IAAI,CAAA;IACvC,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAClC,CAAA;AAED,iBAAS,cAAc,CAAC,EAAE,MAAM,EAAE,cAAc,EAAE,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"HeaderWithMenu.d.ts","sourceRoot":"","sources":["../../../src/components/HeaderWithMenu.tsx"],"names":[],"mappings":"AASA,KAAK,KAAK,GAAG;IACV,MAAM,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,GAAG,IAAI,CAAA;IACvC,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAClC,CAAA;AAED,iBAAS,cAAc,CAAC,EAAE,MAAM,EAAE,cAAc,EAAE,EAAE,KAAK,2CAoCxD;AAED,eAAe,cAAc,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Xverse.d.ts","sourceRoot":"","sources":["../../../../../src/components/Icons/Wallets/Xverse.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,QAAA,MAAM,MAAM,GAAI,OAAO,QAAQ,CAAC,aAAa,CAAC,4CAIxC,CAAA;AAEN,eAAe,MAAM,CAAA"}
|
|
@@ -22,4 +22,5 @@ export { default as BraavosIcon } from "./Braavos";
|
|
|
22
22
|
export { default as ArgentXIcon } from "./ArgentX";
|
|
23
23
|
export { default as FueletIcon } from "./Fuelet";
|
|
24
24
|
export { default as KeplrIcon } from "./Keplr";
|
|
25
|
+
export { default as XverseIcon } from "./Xverse";
|
|
25
26
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Icons/Wallets/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,YAAY,CAAA;AACpD,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAC9D,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,WAAW,CAAA;AAClD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,WAAW,CAAA;AAClD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,YAAY,CAAA;AACpD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,WAAW,CAAA;AAClD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,UAAU,CAAA;AAChD,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAC9D,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,UAAU,CAAA;AAChD,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAC9D,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,OAAO,CAAA;AAC1C,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,aAAa,CAAA;AACtD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,YAAY,CAAA;AACpD,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,eAAe,CAAA;AAC1D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,QAAQ,CAAA;AAC5C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,QAAQ,CAAA;AAC5C,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,YAAY,CAAA;AACpD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,YAAY,CAAA;AACpD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,UAAU,CAAA;AAChD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,YAAY,CAAA;AACpD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,WAAW,CAAA;AAClD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,WAAW,CAAA;AAClD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,UAAU,CAAA;AAChD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,SAAS,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Icons/Wallets/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,YAAY,CAAA;AACpD,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAC9D,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,WAAW,CAAA;AAClD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,WAAW,CAAA;AAClD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,YAAY,CAAA;AACpD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,WAAW,CAAA;AAClD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,UAAU,CAAA;AAChD,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAC9D,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,UAAU,CAAA;AAChD,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAC9D,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,OAAO,CAAA;AAC1C,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,aAAa,CAAA;AACtD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,YAAY,CAAA;AACpD,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,eAAe,CAAA;AAC1D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,QAAQ,CAAA;AAC5C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,QAAQ,CAAA;AAC5C,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,YAAY,CAAA;AACpD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,YAAY,CAAA;AACpD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,UAAU,CAAA;AAChD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,YAAY,CAAA;AACpD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,WAAW,CAAA;AAClD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,WAAW,CAAA;AAClD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,UAAU,CAAA;AAChD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,SAAS,CAAA;AAC9C,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,UAAU,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
|
-
import { Partner } from "
|
|
3
|
-
import { SwapFormValues } from "
|
|
2
|
+
import { Partner } from "../../../components/../Models/Partner";
|
|
3
|
+
import { SwapFormValues } from "../../../components/Pages/Swap/Form/SwapFormValues";
|
|
4
4
|
type AddressNoteModalProps = {
|
|
5
5
|
partner: Partner | undefined;
|
|
6
6
|
values: SwapFormValues;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AddressItem } from ".";
|
|
2
|
-
import { NetworkRoute } from "
|
|
2
|
+
import { NetworkRoute } from "../../../../Models/Network";
|
|
3
3
|
import { FC } from "react";
|
|
4
|
-
import { Partner } from "
|
|
5
|
-
import { Wallet } from "
|
|
4
|
+
import { Partner } from "../../../../Models/Partner";
|
|
5
|
+
import { Wallet } from "../../../../types/wallet";
|
|
6
6
|
type AddressBookProps = {
|
|
7
7
|
addressBook: AddressItem[];
|
|
8
8
|
onSelectAddress: (address: string, wallet: Wallet | undefined) => void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
2
|
import { AddressItem } from ".";
|
|
3
|
-
import { Partner } from "
|
|
4
|
-
import { Network } from "
|
|
5
|
-
import { Wallet } from "
|
|
3
|
+
import { Partner } from "../../../../Models/Partner";
|
|
4
|
+
import { Network } from "../../../../Models/Network";
|
|
5
|
+
import { Wallet } from "../../../../types/wallet";
|
|
6
6
|
type AddressButtonProps = {
|
|
7
7
|
openAddressModal: () => void;
|
|
8
8
|
destination_address?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FC, ReactNode, SVGProps } from "react";
|
|
2
2
|
import { AddressItem } from ".";
|
|
3
|
-
import { Partner } from "
|
|
4
|
-
import { Network } from "
|
|
3
|
+
import { Partner } from "../../../../Models/Partner";
|
|
4
|
+
import { Network } from "../../../../Models/Network";
|
|
5
5
|
type Props = {
|
|
6
6
|
addressItem: AddressItem;
|
|
7
7
|
partner?: Partner;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Network } from "
|
|
1
|
+
import { Network } from "../../../../Models/Network";
|
|
2
2
|
import { FC } from "react";
|
|
3
|
-
import { SelectAccountProps, Wallet, WalletConnectionProvider } from "
|
|
3
|
+
import { SelectAccountProps, Wallet, WalletConnectionProvider } from "../../../../types/wallet";
|
|
4
4
|
type Props = {
|
|
5
5
|
provider: WalletConnectionProvider;
|
|
6
6
|
notCompatibleWallets: Wallet[];
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
|
-
import { Partner } from "
|
|
3
|
-
import { NetworkType } from "
|
|
2
|
+
import { Partner } from "../../../../Models/Partner";
|
|
3
|
+
import { NetworkType } from "../../../../Models/Network";
|
|
4
4
|
import { AddressItem } from ".";
|
|
5
|
-
import { Wallet } from "
|
|
5
|
+
import { Wallet } from "../../../../types/wallet";
|
|
6
6
|
import { FormikHelpers } from "formik";
|
|
7
|
-
import { SwapFormValues } from "
|
|
7
|
+
import { SwapFormValues } from "../../../../components/Pages/Swap/Form/SwapFormValues";
|
|
8
8
|
type AddressInput = {
|
|
9
9
|
manualAddress: string;
|
|
10
10
|
setManualAddress: (address: string) => void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
|
-
import { AddressBookItem } from "
|
|
3
|
-
import { Partner } from "
|
|
4
|
-
import { Network } from "
|
|
5
|
-
import { Wallet } from "
|
|
2
|
+
import { AddressBookItem } from "../../../../lib/apiClients/layerSwapApiClient";
|
|
3
|
+
import { Partner } from "../../../../Models/Partner";
|
|
4
|
+
import { Network } from "../../../../Models/Network";
|
|
5
|
+
import { Wallet } from "../../../../types/wallet";
|
|
6
6
|
export declare enum AddressGroup {
|
|
7
7
|
ConnectedWallet = "Connected wallet",
|
|
8
8
|
ManualAdded = "Added Manually",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Input/Address/AddressPicker/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAiE,MAAM,OAAO,CAAC;AAC1F,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAEtE,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAK3C,OAAO,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Input/Address/AddressPicker/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAiE,MAAM,OAAO,CAAC;AAC1F,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAEtE,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAK3C,OAAO,EAAE,OAAO,EAAgB,MAAM,kBAAkB,CAAC;AAKzD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAKxC,oBAAY,YAAY;IACpB,eAAe,qBAAqB;IACpC,WAAW,mBAAmB;IAC9B,YAAY,kBAAkB;IAC9B,SAAS,YAAY;CACxB;AAED,MAAM,MAAM,WAAW,GAAG;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,YAAY,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG;IAC9B,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,EAAE,OAAO,GAAG,SAAS,CAAC;CACpC,CAAA;AAED,UAAU,KAAK;IACX,QAAQ,EAAE,CAAC,KAAK,EAAE,mBAAmB,KAAK,GAAG,CAAC,OAAO,CAAC;IACtD,gBAAgB,EAAE,OAAO,CAAC;IAC1B,mBAAmB,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,eAAe,EAAE,CAAC;CACpC;AAED,QAAA,MAAM,aAAa,EAAE,EAAE,CAAC,KAAK,CA+K3B,CAAC;AA+CH,eAAe,aAAa,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Balance.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/Amount/Balance.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Balance.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/Amount/Balance.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,cAAc,EAAE,MAAM,6CAA6C,CAAC;AAE7E,QAAA,MAAM,OAAO,GAAI,uBAAuB;IAAE,MAAM,EAAE,cAAc,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,mDA+BpF,CAAA;AAiDD,eAAe,OAAO,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
import { Token } from "../../../Models/Network";
|
|
3
|
+
import { Quote } from "../../../lib/apiClients/layerSwapApiClient";
|
|
4
|
+
type ReceiveAmountProps = {
|
|
5
|
+
destination_token: Token | undefined;
|
|
6
|
+
fee: Quote | undefined;
|
|
7
|
+
isFeeLoading: boolean;
|
|
8
|
+
};
|
|
9
|
+
export declare const ExchangeReceiveAmount: FC<ReceiveAmountProps>;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=ExchangeReceiveAmount.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExchangeReceiveAmount.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/Amount/ExchangeReceiveAmount.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACzC,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAI5D,KAAK,kBAAkB,GAAG;IACtB,iBAAiB,EAAE,KAAK,GAAG,SAAS,CAAC;IACrC,GAAG,EAAE,KAAK,GAAG,SAAS,CAAC;IACvB,YAAY,EAAE,OAAO,CAAC;CACzB,CAAA;AACD,eAAO,MAAM,qBAAqB,EAAE,EAAE,CAAC,kBAAkB,CAuBxD,CAAA"}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
|
+
import { SwapQuote } from "../../../lib/apiClients/layerSwapApiClient";
|
|
2
3
|
type PriceImpactProps = {
|
|
3
|
-
|
|
4
|
-
requestedAmount?: number;
|
|
5
|
-
sourceTokenPriceUsd?: number;
|
|
6
|
-
destinationTokenPriceUsd?: number;
|
|
7
|
-
serviceFee?: number;
|
|
8
|
-
bridgeFee?: number;
|
|
4
|
+
quote: SwapQuote | undefined;
|
|
9
5
|
className?: string;
|
|
10
6
|
};
|
|
11
7
|
export declare const PriceImpact: FC<PriceImpactProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PriceImpact.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/Amount/PriceImpact.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAW,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"PriceImpact.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/Amount/PriceImpact.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAW,MAAM,OAAO,CAAC;AAGpC,OAAO,EAAE,SAAS,EAAE,MAAM,qCAAqC,CAAC;AAIhE,KAAK,gBAAgB,GAAG;IACpB,KAAK,EAAE,SAAS,GAAG,SAAS,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAGF,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CA+D5C,CAAA"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
|
-
import { Token } from "
|
|
3
|
-
import { Quote } from "
|
|
2
|
+
import { Token } from "../../../Models/Network";
|
|
3
|
+
import { Quote } from "../../../lib/apiClients/layerSwapApiClient";
|
|
4
4
|
type ReceiveAmountProps = {
|
|
5
5
|
destination_token: Token | undefined;
|
|
6
|
-
source_token: Token | undefined;
|
|
7
6
|
fee: Quote | undefined;
|
|
8
7
|
isFeeLoading: boolean;
|
|
9
8
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReceiveAmount.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/Amount/ReceiveAmount.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACzC,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAK5D,KAAK,kBAAkB,GAAG;IACtB,iBAAiB,EAAE,KAAK,GAAG,SAAS,CAAC;IACrC,
|
|
1
|
+
{"version":3,"file":"ReceiveAmount.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/Amount/ReceiveAmount.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACzC,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAK5D,KAAK,kBAAkB,GAAG;IACtB,iBAAiB,EAAE,KAAK,GAAG,SAAS,CAAC;IACrC,GAAG,EAAE,KAAK,GAAG,SAAS,CAAC;IACvB,YAAY,EAAE,OAAO,CAAC;CACzB,CAAA;AACD,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAwBhD,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TokenBalance } from "
|
|
2
|
-
import { Token } from "
|
|
1
|
+
import { TokenBalance } from "../../../Models/Balance";
|
|
2
|
+
import { Token } from "../../../Models/Network";
|
|
3
3
|
type ResoleMaxAllowedAmountProps = {
|
|
4
4
|
limitsMaxAmount: number | undefined;
|
|
5
5
|
walletBalance: TokenBalance | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DestinationPicker.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/DestinationPicker.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAE/C,OAAO,EAAkC,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAK9E,KAAK,KAAK,GAAG;IACT,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,GAAG,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,OAAO,CAAC,CAAC;IAC9C,YAAY,EAAE,OAAO,CAAA;CACxB,CAAA;AAED,QAAA,MAAM,iBAAiB,GAAI,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"DestinationPicker.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/DestinationPicker.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAE/C,OAAO,EAAkC,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAK9E,KAAK,KAAK,GAAG;IACT,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,GAAG,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,OAAO,CAAC,CAAC;IAC9C,YAAY,EAAE,OAAO,CAAA;CACxB,CAAA;AAED,QAAA,MAAM,iBAAiB,GAAI,OAAO,KAAK,4CAoCtC,CAAC;AAEF,eAAO,MAAM,6BAA6B,+CAIzC,CAAA;AAED,eAAe,iBAAiB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NumericInput.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/NumericInput.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,EAAE,EAAc,MAAM,OAAO,CAAC;AAKpD,KAAK,KAAK,GAAG;IACT,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,GAAG,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,EAAE,CAAA;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,GAAG,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,EAAE,GAAG,IAAI,CAAC;IAC9C,GAAG,CAAC,EAAE,GAAG,CAAC;IACV,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IACtD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB,CAAA;AAGD,QAAA,MAAM,YAAY,EAAE,EAAE,CAAC,KAAK,
|
|
1
|
+
{"version":3,"file":"NumericInput.d.ts","sourceRoot":"","sources":["../../../../src/components/Input/NumericInput.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,EAAE,EAAc,MAAM,OAAO,CAAC;AAKpD,KAAK,KAAK,GAAG;IACT,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,GAAG,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,EAAE,CAAA;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,GAAG,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,EAAE,GAAG,IAAI,CAAC;IAC9C,GAAG,CAAC,EAAE,GAAG,CAAC;IACV,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IACtD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB,CAAA;AAGD,QAAA,MAAM,YAAY,EAAE,EAAE,CAAC,KAAK,CA4DtB,CAAC;AAuBP,eAAe,YAAY,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { RowElement } from "
|
|
2
|
-
import { NetworkRoute, NetworkRouteToken } from "
|
|
3
|
-
import { SwapDirection } from "
|
|
1
|
+
import { RowElement } from "../../../Models/Route";
|
|
2
|
+
import { NetworkRoute, NetworkRouteToken } from "../../../Models/Network";
|
|
3
|
+
import { SwapDirection } from "../../../components/Pages/Swap/Form/SwapFormValues";
|
|
4
4
|
type ContentProps = {
|
|
5
5
|
onSelect: (route: NetworkRoute, token: NetworkRouteToken) => Promise<void> | void;
|
|
6
6
|
searchQuery: string;
|
|
@@ -9,8 +9,8 @@ type ContentProps = {
|
|
|
9
9
|
selectedRoute: string | undefined;
|
|
10
10
|
selectedToken: string | undefined;
|
|
11
11
|
direction: SwapDirection;
|
|
12
|
-
|
|
12
|
+
partialPublished?: boolean;
|
|
13
13
|
};
|
|
14
|
-
export declare const Content: ({ searchQuery, setSearchQuery, rowElements, selectedToken, selectedRoute, direction, onSelect,
|
|
14
|
+
export declare const Content: ({ searchQuery, setSearchQuery, rowElements, selectedToken, selectedRoute, direction, onSelect, partialPublished }: ContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
export {};
|
|
16
16
|
//# sourceMappingURL=Content.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Content.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/RoutePicker/Content.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAK5C,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAKnE,OAAO,EAAE,aAAa,EAAE,MAAM,6CAA6C,CAAC;AAE5E,KAAK,YAAY,GAAG;IAChB,QAAQ,EAAE,CAAC,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,iBAAiB,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IAClF,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,SAAS,EAAE,aAAa,CAAC;IACzB,
|
|
1
|
+
{"version":3,"file":"Content.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/RoutePicker/Content.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAK5C,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAKnE,OAAO,EAAE,aAAa,EAAE,MAAM,6CAA6C,CAAC;AAE5E,KAAK,YAAY,GAAG;IAChB,QAAQ,EAAE,CAAC,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,iBAAiB,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IAClF,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,SAAS,EAAE,aAAa,CAAC;IACzB,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC9B,CAAA;AACD,eAAO,MAAM,OAAO,GAAI,mHAAmH,YAAY,4CAoGtJ,CAAA"}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { NetworkRoute, NetworkRouteToken } from "
|
|
2
|
-
import { GroupedTokenElement, RowElement } from "
|
|
3
|
-
import { SwapDirection } from "
|
|
1
|
+
import { NetworkRoute, NetworkRouteToken } from "../../../Models/Network";
|
|
2
|
+
import { GroupedTokenElement, RowElement } from "../../../Models/Route";
|
|
3
|
+
import { SwapDirection } from "../../../components/Pages/Swap/Form/SwapFormValues";
|
|
4
4
|
type TokenItemProps = {
|
|
5
5
|
route: NetworkRoute;
|
|
6
6
|
item: NetworkRouteToken;
|
|
7
7
|
type?: RowElement['type'];
|
|
8
8
|
selected: boolean;
|
|
9
9
|
direction: SwapDirection;
|
|
10
|
-
allbalancesLoaded?: boolean;
|
|
11
10
|
};
|
|
12
11
|
export declare const CurrencySelectItemDisplay: (props: TokenItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
12
|
type NetworkTokenItemProps = {
|
|
@@ -15,14 +14,12 @@ type NetworkTokenItemProps = {
|
|
|
15
14
|
item: NetworkRouteToken;
|
|
16
15
|
direction: SwapDirection;
|
|
17
16
|
type?: RowElement['type'];
|
|
18
|
-
allbalancesLoaded?: boolean;
|
|
19
17
|
};
|
|
20
18
|
export declare const NetworkTokenTitle: (props: NetworkTokenItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
19
|
type NetworkRouteItemProps = {
|
|
22
20
|
item: NetworkRoute;
|
|
23
21
|
selected: boolean;
|
|
24
22
|
direction: SwapDirection;
|
|
25
|
-
allbalancesLoaded?: boolean;
|
|
26
23
|
hideTokenImages?: boolean;
|
|
27
24
|
};
|
|
28
25
|
export declare const NetworkRouteSelectItemDisplay: (props: NetworkRouteItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -33,10 +30,9 @@ type SelectedCurrencyDisplayProps = {
|
|
|
33
30
|
} | undefined;
|
|
34
31
|
placeholder: string;
|
|
35
32
|
};
|
|
36
|
-
export declare const GroupedTokenHeader: ({ item, direction,
|
|
33
|
+
export declare const GroupedTokenHeader: ({ item, direction, hideTokenImages }: {
|
|
37
34
|
item: GroupedTokenElement;
|
|
38
35
|
direction: SwapDirection;
|
|
39
|
-
allbalancesLoaded?: boolean;
|
|
40
36
|
hideTokenImages?: boolean;
|
|
41
37
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
42
38
|
export declare const SelectedCurrencyDisplay: (props: SelectedCurrencyDisplayProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Routes.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/RoutePicker/Routes.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAOnE,OAAO,EAAE,mBAAmB,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAMjE,OAAO,EAAE,aAAa,EAAE,MAAM,6CAA6C,CAAC;AAI5E,KAAK,cAAc,GAAG;IAClB,KAAK,EAAE,YAAY,CAAC;IACpB,IAAI,EAAE,iBAAiB,CAAC;IACxB,IAAI,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC;IAC1B,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"Routes.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/RoutePicker/Routes.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAOnE,OAAO,EAAE,mBAAmB,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAMjE,OAAO,EAAE,aAAa,EAAE,MAAM,6CAA6C,CAAC;AAI5E,KAAK,cAAc,GAAG;IAClB,KAAK,EAAE,YAAY,CAAC;IACpB,IAAI,EAAE,iBAAiB,CAAC;IACxB,IAAI,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC;IAC1B,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,aAAa,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,yBAAyB,GAAI,OAAO,cAAc,4CAW9D,CAAA;AAED,KAAK,qBAAqB,GAAG;IACzB,KAAK,EAAE,YAAY,CAAC;IACpB,IAAI,EAAE,iBAAiB,CAAC;IACxB,SAAS,EAAE,aAAa,CAAC;IACzB,IAAI,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC;CAC7B,CAAA;AACD,eAAO,MAAM,iBAAiB,GAAI,OAAO,qBAAqB,4CAuD7D,CAAA;AAED,KAAK,qBAAqB,GAAG;IACzB,IAAI,EAAE,YAAY,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,aAAa,CAAC;IACzB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAA;AAED,eAAO,MAAM,6BAA6B,GAAI,OAAO,qBAAqB,4CA6DzE,CAAC;AAEF,KAAK,4BAA4B,GAAG;IAChC,KAAK,EAAE;QACH,IAAI,EAAE,MAAM,CAAA;QACZ,MAAM,EAAE,MAAM,CAAA;KACjB,GAAG,SAAS,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;CACvB,CAAA;AAED,eAAO,MAAM,kBAAkB,GAAI,sCAIhC;IACC,IAAI,EAAE,mBAAmB,CAAC;IAC1B,SAAS,EAAE,aAAa,CAAC;IACzB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC7B,4CAiGA,CAAC;AAGF,eAAO,MAAM,uBAAuB,GAAI,OAAO,4BAA4B,4CA4B1E,CAAA;AAED,KAAK,yBAAyB,GAAG;IAC7B,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB,KAAK,CAAC,EAAE,iBAAiB,CAAC;IAC1B,WAAW,EAAE,MAAM,CAAC;CACvB,CAAA;AAED,eAAO,MAAM,oBAAoB,GAAI,+BAA+B,yBAAyB,4CA0C5F,CAAA;AAED,eAAO,MAAM,wBAAwB,GAAI,iBAAiB;IAAE,WAAW,EAAE,MAAM,CAAA;CAAE,4CAShF,CAAA"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { GroupedTokenElement, NetworkElement } from "
|
|
2
|
-
import { SwapDirection } from "
|
|
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,
|
|
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,
|
|
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 "
|
|
3
|
-
import { NetworkRoute, NetworkRouteToken } from "
|
|
4
|
-
import { SwapDirection } from "
|
|
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
|
|
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;
|
|
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 "
|
|
2
|
-
import { SwapDirection } from "
|
|
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,
|
|
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,
|
|
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"}
|