@alphapoint/apex-web 5.5.4
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/LICENSE +5 -0
- package/README.md +5 -0
- package/lib/App.js +205 -0
- package/lib/apex.js +41 -0
- package/lib/components/2FA/TwoFactorAuthComponent.css +3 -0
- package/lib/components/2FA/TwoFactorAuthComponent.js +104 -0
- package/lib/components/2FA/TwoFactorAuthContainer.js +57 -0
- package/lib/components/APNavMenuVertical/APNavMenuVertical.css +81 -0
- package/lib/components/APNavMenuVertical/APNavMenuVertical.js +46 -0
- package/lib/components/APSnackbar/APSnackbarContainer.js +23 -0
- package/lib/components/APSnackbar/APSnackbarContainer.notest.js +58 -0
- package/lib/components/AccountsDropdown/AccountsDropdownComponent.css +381 -0
- package/lib/components/AccountsDropdown/AccountsDropdownComponent.js +170 -0
- package/lib/components/AccountsDropdown/AccountsDropdownComponent.test.js +555 -0
- package/lib/components/AccountsDropdown/AccountsDropdownContainer.js +30 -0
- package/lib/components/ActivityPage/ActivityPage.css +21 -0
- package/lib/components/ActivityPage/ActivityPageComponent.css +234 -0
- package/lib/components/ActivityPage/ActivityPageComponent.js +180 -0
- package/lib/components/ActivityPage/ActivityPageContainer.js +54 -0
- package/lib/components/ActivityReportingComponents/ActivityReportingButtons/ActivityReportingButtonsComponent.css +18 -0
- package/lib/components/ActivityReportingComponents/ActivityReportingButtons/ActivityReportingButtonsComponent.js +40 -0
- package/lib/components/ActivityReportingComponents/ActivityReportingButtons/ActivityReportingButtonsComponent.notest.js +27 -0
- package/lib/components/ActivityReportingComponents/ActivityReportingButtons/ActivityReportingButtonsContainer.js +14 -0
- package/lib/components/ActivityReportingComponents/ActivityReportingButtons/ActivityReportingButtonsContainer.notest.js +42 -0
- package/lib/components/ActivityReportingComponents/ActivityReportingButtons/index.js +9 -0
- package/lib/components/ActivityReportingComponents/index.js +9 -0
- package/lib/components/AffiliateComponents/AffiliateActiveTagComponent.js +56 -0
- package/lib/components/AffiliateComponents/AffiliateActiveTagComponent.notest.js +36 -0
- package/lib/components/AffiliateComponents/AffiliateActiveTagContainer.js +33 -0
- package/lib/components/AffiliateComponents/AffiliateActiveTagContainer.notest.js +81 -0
- package/lib/components/AffiliateComponents/AffiliateComponent.css +102 -0
- package/lib/components/AffiliateComponents/AffiliateCountComponent.js +27 -0
- package/lib/components/AffiliateComponents/AffiliateCountContainer.js +15 -0
- package/lib/components/AffiliateComponents/AffiliateCountContainer.notest.js +37 -0
- package/lib/components/AffiliateComponents/AffiliateModal.js +49 -0
- package/lib/components/AffiliateComponents/AffiliateModal.notest.js +41 -0
- package/lib/components/AffiliateComponents/AffiliateModalContainer.js +34 -0
- package/lib/components/AffiliateComponents/AffiliateModalContainer.notest.js +79 -0
- package/lib/components/ApexIframe/ApexIframeComponent.js +62 -0
- package/lib/components/ApiKeysSidePaneComponents/ApiKeyItemComponent.css +32 -0
- package/lib/components/ApiKeysSidePaneComponents/ApiKeyList/ApiKeyListComponent.css +157 -0
- package/lib/components/ApiKeysSidePaneComponents/ApiKeyList/ApiKeyListComponent.js +102 -0
- package/lib/components/ApiKeysSidePaneComponents/ApiKeyList/ApiKeyListContainer.js +31 -0
- package/lib/components/ApiKeysSidePaneComponents/ApiKeyList/ApiKeyListContainer.notest.js +40 -0
- package/lib/components/ApiKeysSidePaneComponents/ApiKeysComponent/ApiKeysComponent.css +7 -0
- package/lib/components/ApiKeysSidePaneComponents/ApiKeysComponent/ApiKeysComponent.js +42 -0
- package/lib/components/ApiKeysSidePaneComponents/ApiKeysComponent/ApiKeysComponent.notest.js +32 -0
- package/lib/components/ApiKeysSidePaneComponents/ApiKeysForm/ApiKeysFormComponent.css +48 -0
- package/lib/components/ApiKeysSidePaneComponents/ApiKeysForm/ApiKeysFormComponent.js +76 -0
- package/lib/components/ApiKeysSidePaneComponents/ApiKeysForm/ApiKeysFormComponent.notest.js +32 -0
- package/lib/components/ApiKeysSidePaneComponents/ApiKeysForm/ApiKeysFormContainer.js +14 -0
- package/lib/components/ApiKeysSidePaneComponents/ApiKeysForm/ApiKeysFormContainer.notest.js +29 -0
- package/lib/components/ApiKeysSidePaneComponents/ApiKeysSidePane/ApiKeySidePaneComponent.notest.js +46 -0
- package/lib/components/ApiKeysSidePaneComponents/ApiKeysSidePane/ApiKeysSidePaneComponent.js +49 -0
- package/lib/components/ApiKeysSidePaneComponents/ConfirmApiKeyModal/ConfirmAPIKeyModal.css +134 -0
- package/lib/components/ApiKeysSidePaneComponents/ConfirmApiKeyModal/ConfirmAPIKeyModal.js +94 -0
- package/lib/components/ApiKeysSidePaneComponents/CreateApiKey/CreateApiKeyComponent.css +126 -0
- package/lib/components/ApiKeysSidePaneComponents/CreateApiKey/CreateApiKeyComponent.js +197 -0
- package/lib/components/ApiKeysSidePaneComponents/CreateApiKey/CreateApiKeyComponent.notest.js +50 -0
- package/lib/components/ApiKeysSidePaneComponents/CreateApiKey/CreateApiKeyContainer.js +42 -0
- package/lib/components/ApiKeysSidePaneComponents/CreateApiKey/CreateApiKeyContainer.notest.js +70 -0
- package/lib/components/ApiKeysSidePaneComponents/EditApiKeyWhitelistIpAddresses/EditApiKeyWhitelistIpAddresses.css +155 -0
- package/lib/components/ApiKeysSidePaneComponents/EditApiKeyWhitelistIpAddresses/EditApiKeyWhitelistIpAddresses.js +153 -0
- package/lib/components/ApiKeysSidePaneComponents/EditApiKeyWhitelistIpAddresses/EditApiKeyWhitelistIpAddressesContainer.js +35 -0
- package/lib/components/ApiKeysSidePaneComponents/NewApiKey/NewApiKeyModal.js +48 -0
- package/lib/components/ApiKeysSidePaneComponents/NewApiKey/NewApiKeyModalContainer.js +38 -0
- package/lib/components/ApiKeysSidePaneComponents/NewApiKey/NewApiKeyModalContainer.notest.js +102 -0
- package/lib/components/ApiKeysSidePaneComponents/RemoveApiKeyModal/RemoveApiKeyModal.css +5 -0
- package/lib/components/ApiKeysSidePaneComponents/RemoveApiKeyModal/RemoveApiKeyModal.js +40 -0
- package/lib/components/ApiKeysSidePaneComponents/RemoveApiKeyModal/RemoveApiKeyModalContainer.js +19 -0
- package/lib/components/ApiKeysSidePaneComponents/RemoveApiKeyModal/RemoveApiKeyModalContainer.notest.js +53 -0
- package/lib/components/AssetActivityDetails/AssetActivityDetailsComponent.css +9 -0
- package/lib/components/AssetActivityDetails/AssetActivityDetailsComponent.js +52 -0
- package/lib/components/AssetActivityDetails/AssetActivityDetailsContainer.js +16 -0
- package/lib/components/AssetActivityDetails/AssetActivityDetailsHeader/AssetActivityDetailsHeaderComponent.css +179 -0
- package/lib/components/AssetActivityDetails/AssetActivityDetailsHeader/AssetActivityDetailsHeaderComponent.js +126 -0
- package/lib/components/AssetActivityDetails/AssetActivityDetailsHeader/AssetActivityDetailsHeaderContainer.js +58 -0
- package/lib/components/AssetActivityDetails/AssetActivityDetailsHeader/index.js +9 -0
- package/lib/components/AssetActivityDetails/index.js +9 -0
- package/lib/components/BalancesButtons/BalancesButtonsComponent.css +22 -0
- package/lib/components/BalancesButtons/BalancesButtonsComponent.js +87 -0
- package/lib/components/BalancesList/BalanceItem.css +38 -0
- package/lib/components/BalancesList/BalanceItemComponent.js +31 -0
- package/lib/components/BalancesList/BalancesListComponent.css +22 -0
- package/lib/components/BalancesList/BalancesListComponent.js +27 -0
- package/lib/components/BalancesList/BalancesListContainer.js +17 -0
- package/lib/components/BalancesList/BalancesListContainer.notest.js +91 -0
- package/lib/components/BalancesList/index.js +9 -0
- package/lib/components/BalancesMenu/BalanceMenuContainer.js +24 -0
- package/lib/components/BalancesMenu/BalanceMenuContainer.notest.js +49 -0
- package/lib/components/BalancesMenu/BalancesMenuComponent.css +72 -0
- package/lib/components/BalancesMenu/BalancesMenuComponent.js +32 -0
- package/lib/components/BalancesMenu/BalancesMenuComponent.notest.js +68 -0
- package/lib/components/BalancesMenu/BalancesMenuItemComponent.js +70 -0
- package/lib/components/BalancesMenu/BalancesMenuItemComponent.notest.js +28 -0
- package/lib/components/ConfirmBlockTradeModal/ConfirmBlockTradeModalComponent.css +30 -0
- package/lib/components/ConfirmBlockTradeModal/ConfirmBlockTradeModalComponent.js +92 -0
- package/lib/components/ConfirmBlockTradeModal/ConfirmBlockTradeModalContainer.js +61 -0
- package/lib/components/ConfirmBlockTradeModal/ConfirmBlockTradeModalContainer.notest.js +171 -0
- package/lib/components/ConfirmLimitOrderModal/ConfirmLimitOrderModalComponent.css +11 -0
- package/lib/components/ConfirmLimitOrderModal/ConfirmLimitOrderModalComponent.js +62 -0
- package/lib/components/ConfirmLimitOrderModal/ConfirmLimitOrderModalContainer.js +52 -0
- package/lib/components/ConfirmLimitOrderModal/ConfirmLimitOrderModalContainer.notest.js +179 -0
- package/lib/components/ConfirmOrderModal/ConfirmOrderModalComponent.css +60 -0
- package/lib/components/ConfirmOrderModal/ConfirmOrderModalComponent.js +190 -0
- package/lib/components/ConfirmOrderModal/ConfirmOrderModalContainer.js +118 -0
- package/lib/components/ConfirmOrderModal/OrderWarningModalComponent.css +24 -0
- package/lib/components/ConfirmOrderModal/OrderWarningModalComponent.js +64 -0
- package/lib/components/ConfirmOrderModal/index.js +9 -0
- package/lib/components/ConfirmWithdraw/ConfirmWithdrawComponent.js +84 -0
- package/lib/components/ConfirmWithdraw/ConfirmWithdrawContainer.js +37 -0
- package/lib/components/ConfirmWithdraw/ConfirmWithdrawContainer.notest.js +58 -0
- package/lib/components/ConvertNew/ConvertComponent.js +85 -0
- package/lib/components/ConvertNew/ConvertComponents.css +399 -0
- package/lib/components/ConvertNew/ConvertContainer.js +182 -0
- package/lib/components/ConvertNew/components/ConfirmationModal/ConfirmationModalComponent.css +61 -0
- package/lib/components/ConvertNew/components/ConfirmationModal/ConfirmationModalComponent.js +82 -0
- package/lib/components/ConvertNew/components/ConvertExchange/index.js +26 -0
- package/lib/components/ConvertNew/components/ConvertFormBody.js +172 -0
- package/lib/components/ConvertNew/components/ConvertInput.js +35 -0
- package/lib/components/ConvertNew/components/ConvertMainContainer/ConvertMainContainer.js +9 -0
- package/lib/components/ConvertNew/components/ConvertMainContainer/ConvertMainContainerComponent.css +50 -0
- package/lib/components/ConvertNew/components/ConvertMainContainer/ConvertMainContainerComponent.js +30 -0
- package/lib/components/ConvertNew/components/ConvertMainContainer/index.js +13 -0
- package/lib/components/ConvertNew/components/ConvertSelect.js +189 -0
- package/lib/components/ConvertNew/components/index.js +13 -0
- package/lib/components/ConvertNew/hooks/useConvertFormBody.js +114 -0
- package/lib/components/ConvertNew/hooks/useConvertOrderValues.js +29 -0
- package/lib/components/ConvertNew/hooks/useDebounce.js +28 -0
- package/lib/components/ConvertNew/hooks/useOrderConfirmValues.js +34 -0
- package/lib/components/ConvertNew/hooks/useOrderSummary.js +192 -0
- package/lib/components/ConvertNew/index.js +4 -0
- package/lib/components/DepositConfirmation/DepositConfirmationComponent.js +37 -0
- package/lib/components/DepositConfirmation/DepositConfirmationModalComponent.js +107 -0
- package/lib/components/DepositConfirmation/DepositConfirmationModalContainer.js +22 -0
- package/lib/components/DepositConfirmation/DepositConfirmationModalContainer.notest.js +59 -0
- package/lib/components/DepositSidePaneComponents/DepositFormComponent.css +85 -0
- package/lib/components/DepositSidePaneComponents/DepositFormComponent.js +145 -0
- package/lib/components/DepositSidePaneComponents/DepositFormComponent.notest.js +123 -0
- package/lib/components/DepositSidePaneComponents/DepositFormContainer.js +57 -0
- package/lib/components/DepositSidePaneComponents/DepositFormContainer.notest.js +174 -0
- package/lib/components/DepositSidePaneComponents/DepositSidePaneComponent.js +49 -0
- package/lib/components/DepositSidePaneComponents/DepositTemplateFormComponent.js +59 -0
- package/lib/components/DepositSidePaneComponents/DepositTemplateFormComponent.notest.js +79 -0
- package/lib/components/DepositSidePaneComponents/DepositTemplateFormContainer.js +21 -0
- package/lib/components/DepositSidePaneComponents/DepositTemplateFormContainer.notest.js +66 -0
- package/lib/components/DepositSidePaneComponents/DepositWorkflows/CryptoWalletDepositWorkflow/CryptoWalletDepositWorkflowComponent.css +99 -0
- package/lib/components/DepositSidePaneComponents/DepositWorkflows/CryptoWalletDepositWorkflow/CryptoWalletDepositWorkflowComponent.js +227 -0
- package/lib/components/DepositSidePaneComponents/DepositWorkflows/CryptoWalletDepositWorkflow/CryptoWalletDepositWorkflowComponent.notest.js +42 -0
- package/lib/components/DepositSidePaneComponents/DepositWorkflows/CryptoWalletDepositWorkflow/CryptoWalletDepositWorkflowContainer.js +36 -0
- package/lib/components/DepositSidePaneComponents/DepositWorkflows/CryptoWalletDepositWorkflow/CryptoWalletDepositWorkflowContainer.notest.js +52 -0
- package/lib/components/DepositSidePaneComponents/DepositWorkflows/DepositWorkflowsComponent.js +83 -0
- package/lib/components/DepositSidePaneComponents/DepositWorkflows/DepositWorkflowsComponent.notest.js +52 -0
- package/lib/components/DepositSidePaneComponents/DepositWorkflows/DepositWorkflowsContainer.js +20 -0
- package/lib/components/DepositSidePaneComponents/DepositWorkflows/DepositWorkflowsContainer.notest.js +49 -0
- package/lib/components/DepositSidePaneComponents/DepositWorkflows/GenericPaymentWorkflow/GenericPaymentWorkflowComponent.js +81 -0
- package/lib/components/DepositSidePaneComponents/DepositWorkflows/GenericPaymentWorkflow/GenericPaymentWorkflowComponent.notest.js +96 -0
- package/lib/components/DepositSidePaneComponents/DepositWorkflows/GenericPaymentWorkflow/GenericPaymentWorkflowContainer.js +16 -0
- package/lib/components/DepositSidePaneComponents/DepositWorkflows/GenericPaymentWorkflow/GenericPaymentWorkflowContainer.notest.js +49 -0
- package/lib/components/DepositSidePaneComponents/DepositWorkflows/ManualDepositWorkflow/ManualDepositWorkflowComponent.css +218 -0
- package/lib/components/DepositSidePaneComponents/DepositWorkflows/ManualDepositWorkflow/ManualDepositWorkflowComponent.js +98 -0
- package/lib/components/DepositSidePaneComponents/DepositWorkflows/ManualDepositWorkflow/ManualDepositWorkflowComponent.notest.js +68 -0
- package/lib/components/DepositSidePaneComponents/DepositWorkflows/ManualDepositWorkflow/ManualDepositWorkflowContainer.js +20 -0
- package/lib/components/DepositSidePaneComponents/DepositWorkflows/ManualDepositWorkflow/ManualDepositWorkflowContainer.notest.js +60 -0
- package/lib/components/DepositSidePaneComponents/DepositWorkflows/PaymentProcessors/FennasDepositWorkflowComponent.js +163 -0
- package/lib/components/DepositSidePaneComponents/DepositWorkflows/PaymentProcessors/Hyphen/HyphenDepositWorkflowComponent.js +34 -0
- package/lib/components/DepositSidePaneComponents/DepositWorkflows/PaymentProcessors/Hyphen/HyphenDepositWorkflowContainer.js +19 -0
- package/lib/components/DepositSidePaneComponents/DepositWorkflows/PaymentProcessors/Hyphen/HyphenDepositWorkflowContainer.notest.js +66 -0
- package/lib/components/DepositSidePaneComponents/DepositWorkflows/PaymentProcessors/InterswitchDepositWorkflowComponent.js +111 -0
- package/lib/components/DepositSidePaneComponents/DepositWorkflows/PaymentProcessors/PsigateDepositWorkflowComponent.js +115 -0
- package/lib/components/DepositSidePaneComponents/DepositWorkflows/PaymentProcessors/RazorPayDepositWorkflowComponent.js +57 -0
- package/lib/components/DepositSidePaneComponents/DepositWorkflows/PaymentProcessors/TrustpayDepositWorkflowComponent.js +35 -0
- package/lib/components/DepthChart/DepthChart.css +74 -0
- package/lib/components/DepthChart/DepthChartComponent.js +577 -0
- package/lib/components/DepthChart/DepthChartContainer.js +29 -0
- package/lib/components/DepthChart/DepthChartContainer.notest.js +82 -0
- package/lib/components/DepthChart/FuturesDepthChartContainer.js +48 -0
- package/lib/components/DigitalAssets/DigitalAssetsOfferingProfilePage.css +74 -0
- package/lib/components/DigitalAssets/DigitalAssetsOfferingProfilePage.js +92 -0
- package/lib/components/DigitalAssets/DigitalAssetsOfferingProfilePageContainer.js +61 -0
- package/lib/components/DigitalAssets/DigitalAssetsPage.css +170 -0
- package/lib/components/DigitalAssets/DigitalAssetsPage.js +98 -0
- package/lib/components/DigitalAssets/DigitalAssetsPageContainer.js +38 -0
- package/lib/components/DigitalAssets/TotalTokensCount.js +74 -0
- package/lib/components/EnableTwoFactorAuth/Disable2FAForm.js +74 -0
- package/lib/components/EnableTwoFactorAuth/Disable2FAModal.css +21 -0
- package/lib/components/EnableTwoFactorAuth/Disable2FAModal.js +42 -0
- package/lib/components/EnableTwoFactorAuth/Disable2FAModalContainer.js +40 -0
- package/lib/components/EnableTwoFactorAuth/Disable2FAModalContainer.notest.js +73 -0
- package/lib/components/EnableTwoFactorAuth/Enable2FAForm.js +99 -0
- package/lib/components/EnableTwoFactorAuth/Enable2FAModal.css +69 -0
- package/lib/components/EnableTwoFactorAuth/Enable2FAModal.js +47 -0
- package/lib/components/EnableTwoFactorAuth/Enable2FAModalContainer.js +46 -0
- package/lib/components/EnableTwoFactorAuth/Enable2FAModalContainer.notest.js +82 -0
- package/lib/components/EnableTwoFactorAuth/EnableTwoFactorAuthComponent.css +6 -0
- package/lib/components/EnableTwoFactorAuth/EnableTwoFactorAuthComponent.js +50 -0
- package/lib/components/EnableTwoFactorAuth/EnableTwoFactorAuthContainerFactory.js +73 -0
- package/lib/components/EnableTwoFactorAuth/EnableTwoFactorAuthContainerFactory.notest.js +50 -0
- package/lib/components/EnableTwoFactorAuth/GetGoogle2FARecoveryKeyModal.css +44 -0
- package/lib/components/EnableTwoFactorAuth/GetGoogle2FARecoveryKeyModal.js +77 -0
- package/lib/components/EnableTwoFactorAuth/GetGoogle2FARecoveryKeyModalContainer.js +52 -0
- package/lib/components/EnableTwoFactorAuth/StandaloneEnable2FAModalContainer.js +120 -0
- package/lib/components/EotcBalancesList/BalancesListComponent.css +47 -0
- package/lib/components/EotcBalancesList/EotcBalanceListComponent.css +29 -0
- package/lib/components/EotcBalancesList/EotcBalancesListComponent.js +69 -0
- package/lib/components/EotcBalancesList/EotcBalancesListContainer.js +17 -0
- package/lib/components/EotcBalancesList/EotcBalancesListContainer.notest.js +53 -0
- package/lib/components/EotcPriceChart/EotcPriceChart.css +63 -0
- package/lib/components/EotcPriceChart/EotcPriceChartComponent.js +316 -0
- package/lib/components/EotcPriceChart/EotcPriceChartContainer.js +35 -0
- package/lib/components/EotcPriceChart/index.js +9 -0
- package/lib/components/EotcProductCard/EotcProductCard.css +53 -0
- package/lib/components/EotcProductCard/EotcProductCardComponent.js +50 -0
- package/lib/components/EotcProductCard/EotcProductCardContainer.js +41 -0
- package/lib/components/EotcProductCard/EotcProductCardContainer.notest.js +87 -0
- package/lib/components/EotcProductCard/EotcProductCardList.css +11 -0
- package/lib/components/EotcProductCard/EotcProductCardListComponent.js +37 -0
- package/lib/components/EotcProductCard/EotcProductCardListContainer.js +20 -0
- package/lib/components/EotcProductCard/EotcProductCardListContainer.notest.js +55 -0
- package/lib/components/EotcProductCard/index.js +9 -0
- package/lib/components/EotcProductCardSimple/EotcProductCardSimple.css +41 -0
- package/lib/components/EotcProductCardSimple/EotcProductCardSimpleComponent.js +36 -0
- package/lib/components/EotcProductCardSimple/EotcProductCardSimpleContainer.js +43 -0
- package/lib/components/EotcProductCardSimple/EotcProductCardSimpleContainer.notest.js +136 -0
- package/lib/components/EotcProductCardSimple/EotcProductCardSimpleList.css +21 -0
- package/lib/components/EotcProductCardSimple/EotcProductCardSimpleListComponent.js +30 -0
- package/lib/components/EotcProductCardSimple/EotcProductCardSimpleListContainer.js +19 -0
- package/lib/components/EotcProductCardSimple/EotcProductCardSimpleListContainer.notest.js +66 -0
- package/lib/components/EotcWalletCard/EotcWalletCard.css +18 -0
- package/lib/components/EotcWalletCard/EotcWalletCardComponent.js +91 -0
- package/lib/components/EotcWalletCard/EotcWalletCardContainer.js +51 -0
- package/lib/components/EotcWalletCard/EotcWalletCardContainer.notest.js +148 -0
- package/lib/components/EotcWalletCard/EotcWalletCardGrid.css +13 -0
- package/lib/components/EotcWalletCard/EotcWalletCardGridComponent.js +31 -0
- package/lib/components/EotcWalletCard/EotcWalletCardGridContainer.js +21 -0
- package/lib/components/EotcWalletCard/EotcWalletCardGridContainer.notest.js +57 -0
- package/lib/components/ExchangeNavModal/ExchangeNavModalComponent.css +33 -0
- package/lib/components/ExchangeNavModal/ExchangeNavModalComponent.js +64 -0
- package/lib/components/ExchangeNavModal/ExchangeNavModalContainer.js +29 -0
- package/lib/components/FMSGateway/FMSGatewayComponent.css +13 -0
- package/lib/components/FMSGateway/FMSGatewayComponent.js +55 -0
- package/lib/components/FMSGateway/FMSGatewayComponent.test.js +309 -0
- package/lib/components/FMSGateway/index.js +9 -0
- package/lib/components/FuturesAccountOverview/FuturesAccountOverviewComponent.js +68 -0
- package/lib/components/FuturesAccountOverview/index.js +9 -0
- package/lib/components/FuturesAddEditTPSL/FuturesAddEditTPSLModal.css +54 -0
- package/lib/components/FuturesAddEditTPSL/FuturesAddEditTPSLModal.js +276 -0
- package/lib/components/FuturesAddEditTPSL/FuturesAddEditTPSLModal.test.js +333 -0
- package/lib/components/FuturesAddEditTPSL/index.js +9 -0
- package/lib/components/FuturesAddEditTPSL/useEstimatedTPSLValues.js +31 -0
- package/lib/components/FuturesClosePositionModals/FuturesClosePositionModal.css +86 -0
- package/lib/components/FuturesClosePositionModals/FuturesClosePositionModal.js +239 -0
- package/lib/components/FuturesClosePositionModals/FuturesClosePositionModal.test.js +351 -0
- package/lib/components/FuturesClosePositionModals/index.js +9 -0
- package/lib/components/FuturesClosePositionModals/useEstimatedPnLValues.js +41 -0
- package/lib/components/FuturesContractDetails/FuturesContractDetailsComponent.js +78 -0
- package/lib/components/FuturesContractDetails/index.js +9 -0
- package/lib/components/FuturesInstrumentSelector/FuturesInstrumentSelectorContainer.js +37 -0
- package/lib/components/FuturesInstrumentTable/FuturesInstrumentTableComponent.css +44 -0
- package/lib/components/FuturesInstrumentTable/FuturesInstrumentTableComponent.js +143 -0
- package/lib/components/FuturesInstrumentTable/FuturesInstrumentTableContainer.js +23 -0
- package/lib/components/FuturesInstrumentTable/InstrumentTableItem/FuturesInstrumentTableItem.js +59 -0
- package/lib/components/FuturesInstrumentTable/InstrumentTableItem/index.js +9 -0
- package/lib/components/FuturesInstrumentTable/helpers.js +16 -0
- package/lib/components/FuturesInstrumentTable/useFundingCountDown.js +49 -0
- package/lib/components/FuturesInstrumentTable/useUTCDateTime.js +32 -0
- package/lib/components/FuturesOrderBook/FuturesOrderBookContainer.js +68 -0
- package/lib/components/FuturesOrderBook/FuturesSpreadRow.js +35 -0
- package/lib/components/FuturesRecentTrades/FuturesRecentTradesContainer.js +19 -0
- package/lib/components/HightRiskChart/HightRiskChartComponent.js +70 -0
- package/lib/components/HightRiskChart/HightRiskChartContainer.js +21 -0
- package/lib/components/HightRiskChart/HightRiskChartWithLabelComponent.css +49 -0
- package/lib/components/HightRiskChart/HightRiskChartWithLabelComponent.js +44 -0
- package/lib/components/IBA/IbaLayout.css +116 -0
- package/lib/components/IBA/IbaLayout.js +99 -0
- package/lib/components/IBA/RatesGrid.js +40 -0
- package/lib/components/IBA/RatesHeading.js +47 -0
- package/lib/components/InstrumentPositions/InstrumentPositionsComponent.css +80 -0
- package/lib/components/InstrumentPositions/InstrumentPositionsComponent.js +74 -0
- package/lib/components/InstrumentPositions/InstrumentPositionsContainer.js +19 -0
- package/lib/components/InstrumentPositions/InstrumentPositionsContainer.notest.js +54 -0
- package/lib/components/InstrumentPositions/index.js +9 -0
- package/lib/components/InstrumentPositionsTabs/InstrumentPositionsTabsComponent.css +79 -0
- package/lib/components/InstrumentPositionsTabs/InstrumentPositionsTabsComponent.js +70 -0
- package/lib/components/InstrumentPositionsTabs/index.js +9 -0
- package/lib/components/InstrumentPositionsWrapper/InstrumentPositionsWrapperContainer.js +18 -0
- package/lib/components/InstrumentPositionsWrapper/InstrumentPositionsWrapperContainer.notest.js +46 -0
- package/lib/components/InstrumentPositionsWrapper/index.js +9 -0
- package/lib/components/InstrumentRow/InstrumentRowComponent.css +13 -0
- package/lib/components/InstrumentRow/InstrumentRowComponent.js +18 -0
- package/lib/components/InstrumentRow/index.js +9 -0
- package/lib/components/InstrumentSelector/InstrumentSelectorComponent.css +115 -0
- package/lib/components/InstrumentSelector/InstrumentSelectorComponent.js +155 -0
- package/lib/components/InstrumentSelector/InstrumentSelectorContainer.js +39 -0
- package/lib/components/InstrumentSelector/InstrumentSelectorContainer.notest.js +112 -0
- package/lib/components/InstrumentSelector/InstrumentSelectorHelper.js +9 -0
- package/lib/components/InstrumentSelector/InstrumentSelectorPopupComponent.css +238 -0
- package/lib/components/InstrumentSelector/InstrumentSelectorPopupComponent.js +306 -0
- package/lib/components/InstrumentSelector/InstrumentSelectorPopupComponent.test.js +120 -0
- package/lib/components/InstrumentSelector/hooks/useInstrumentUrlSync.js +81 -0
- package/lib/components/InstrumentTable/InstrumentTableComponent.css +130 -0
- package/lib/components/InstrumentTable/InstrumentTableComponent.js +147 -0
- package/lib/components/InstrumentTable/InstrumentTableContainer.js +28 -0
- package/lib/components/InstrumentTable/InstrumentTableContainer.notest.js +51 -0
- package/lib/components/InstrumentTable/InstrumentTableItem/InstrumentTableItem.js +37 -0
- package/lib/components/InstrumentTable/InstrumentTableItem/index.js +9 -0
- package/lib/components/InstrumentTable/InstrumentTableItems.js +16 -0
- package/lib/components/InterestBalances/ActivityCellComponents.js +97 -0
- package/lib/components/InterestBalances/InterestBalancesComponent.js +31 -0
- package/lib/components/InterestBalances/InterestBalancesTable/InterestBalances.css +31 -0
- package/lib/components/InterestBalances/InterestBalancesTable/InterestBalancesTableComponent.js +150 -0
- package/lib/components/InterestBalances/InterestBalancesTable/InterestBalancesTableContainer.js +42 -0
- package/lib/components/InterestBalances/InterestBalancesTable/index.js +9 -0
- package/lib/components/InterestBalances/index.js +9 -0
- package/lib/components/InterestPayments/InterestPayments/ActivityCellComponents.js +72 -0
- package/lib/components/InterestPayments/InterestPayments/ActivityComponents.css +3 -0
- package/lib/components/InterestPayments/InterestPayments/InterestPaymentsComponent.js +24 -0
- package/lib/components/InterestPayments/InterestPayments/InterestPaymentsContainer.js +21 -0
- package/lib/components/InterestPayments/InterestPayments/InterestPaymentsHeader/index.js +26 -0
- package/lib/components/InterestPayments/InterestPayments/InterestPaymentsTable/InterestPaymentsTableComponent.js +68 -0
- package/lib/components/InterestPayments/InterestPayments/InterestPaymentsTable/InterestPaymentsTableContainer.js +15 -0
- package/lib/components/InterestPayments/InterestPayments/InterestPaymentsTable/index.js +9 -0
- package/lib/components/InterestPayments/InterestPayments/index.js +9 -0
- package/lib/components/InterestPayments/InterestPaymentsHeaderWithFilter/InterestPaymentsHeaderFormComponent.js +76 -0
- package/lib/components/InterestPayments/InterestPaymentsHeaderWithFilter/InterestPaymentsHeaderFormContainer.js +43 -0
- package/lib/components/InterestPayments/InterestPaymentsHeaderWithFilter/InterestPaymentsHeaderWithFilterComponent.js +22 -0
- package/lib/components/InterestPayments/InterestPaymentsTableWithFilter/InterestPaymentsTableWithFilterContainer.js +16 -0
- package/lib/components/InterestPayments/InterestPaymentsTableWithFilter/index.js +9 -0
- package/lib/components/InterestPayments/InterestPaymentsWithFilterComponent.js +26 -0
- package/lib/components/InterestPayments/InterestPaymentsWithFilterContainer.js +21 -0
- package/lib/components/InterestPayments/index.js +9 -0
- package/lib/components/KYC/KYCBaseComponent.js +99 -0
- package/lib/components/KYC/KYCBaseContainer.js +35 -0
- package/lib/components/KYC/KYCBaseContainer.notest.js +103 -0
- package/lib/components/KYC/KYCConfirmLevelModal/KYCConfirmLevelModalComponent.css +121 -0
- package/lib/components/KYC/KYCConfirmLevelModal/KYCConfirmLevelModalComponent.js +133 -0
- package/lib/components/KYC/KYCConfirmLevelModal/index.js +9 -0
- package/lib/components/KYC/KYCLevel/KYCLevelComponent.css +143 -0
- package/lib/components/KYC/KYCLevel/KYCLevelComponent.js +124 -0
- package/lib/components/KYC/KYCLevel/KYCLevelComponent.notest.js +94 -0
- package/lib/components/KYC/KYCLevel/index.js +9 -0
- package/lib/components/KYC/index.js +9 -0
- package/lib/components/KYC/kycLevelsVerificationPropsHelper.js +87 -0
- package/lib/components/KYC/kycLevelsVerificationPropsHelper.test.js +222 -0
- package/lib/components/KYCSettings/KYCFormSidePaneComponent.css +120 -0
- package/lib/components/KYCSettings/KYCSettingsComponent.css +84 -0
- package/lib/components/KYCSettings/KYCSettingsComponent.js +15 -0
- package/lib/components/KYCSettings/KYCSettingsContainer.js +21 -0
- package/lib/components/KYCSettings/KYCSettingsContainer.notest.js +49 -0
- package/lib/components/KYCSettings/KYCTypeSwitchHelper.js +30 -0
- package/lib/components/KYCSettings/index.js +9 -0
- package/lib/components/KYCStatus/KYCStatusComponent.css +37 -0
- package/lib/components/KYCStatus/KYCStatusComponent.js +49 -0
- package/lib/components/KYCStatus/KYCStatusContainer.js +18 -0
- package/lib/components/KYCStatus/KYCStatusContainer.notest.js +66 -0
- package/lib/components/KYC_AcuantGo/KYC_AGForm/KYC_AGFormContainer.js +46 -0
- package/lib/components/KYC_AcuantGo/KYC_AGForm/index.js +9 -0
- package/lib/components/KYC_AcuantGo/KYC_AcuantGoComponent.js +16 -0
- package/lib/components/KYC_AcuantGo/KYC_AcuantGoLevelsComponent.js +45 -0
- package/lib/components/KYC_AcuantGo/KYC_AcuantGoLevelsContainer.js +19 -0
- package/lib/components/KYC_AcuantGo/index.js +9 -0
- package/lib/components/KYC_IM/KYC_IMComponent.js +16 -0
- package/lib/components/KYC_IM/KYC_IMForm/KYC_IMFormComponent.js +231 -0
- package/lib/components/KYC_IM/KYC_IMForm/KYC_IMFormContainer.js +54 -0
- package/lib/components/KYC_IM/KYC_IMForm/KYC_IMFormContainer.notest.js +89 -0
- package/lib/components/KYC_IM/KYC_IMForm/KYC_IMFormHelpers.js +210 -0
- package/lib/components/KYC_IM/KYC_IMForm/KYC_IMFormHelpers.test.js +73 -0
- package/lib/components/KYC_IM/KYC_IMForm/KYC_IMFormStepComponent.js +83 -0
- package/lib/components/KYC_IM/KYC_IMForm/KYC_IMFormStepContainer.js +21 -0
- package/lib/components/KYC_IM/KYC_IMForm/KYC_IMFormStepContainer.notest.js +37 -0
- package/lib/components/KYC_IM/KYC_IMForm/index.js +9 -0
- package/lib/components/KYC_IM/KYC_IMLevelsComponent.js +39 -0
- package/lib/components/KYC_IM/KYC_IMLevelsContainer.js +19 -0
- package/lib/components/KYC_IM/KYC_IMLevelsContainer.notest.js +47 -0
- package/lib/components/KYC_IM/index.js +9 -0
- package/lib/components/KYC_IMLegacy/KYCMitek/KYCConfirmMitekModalComponent.css +59 -0
- package/lib/components/KYC_IMLegacy/KYCMitek/KYCConfirmMitekModalComponent.js +39 -0
- package/lib/components/KYC_IMLegacy/KYCMitek/KYCMitekComponent.js +141 -0
- package/lib/components/KYC_IMLegacy/KYCMitek/index.js +9 -0
- package/lib/components/KYC_IMLegacy/KYC_IMLegacyComponent.js +16 -0
- package/lib/components/KYC_IMLegacy/KYC_IMLegacyForm/KYC_IMLegacyFormComponent.js +124 -0
- package/lib/components/KYC_IMLegacy/KYC_IMLegacyForm/KYC_IMLegacyFormContainer.js +69 -0
- package/lib/components/KYC_IMLegacy/KYC_IMLegacyForm/KYC_IMLegacyFormContainer.notest.js +152 -0
- package/lib/components/KYC_IMLegacy/KYC_IMLegacyForm/index.js +9 -0
- package/lib/components/KYC_IMLegacy/KYC_IMLegacyHelpers.js +80 -0
- package/lib/components/KYC_IMLegacy/KYC_IMLegacyHelpers.test.js +31 -0
- package/lib/components/KYC_IMLegacy/KYC_IMLegacyLevelsComponent.js +40 -0
- package/lib/components/KYC_IMLegacy/KYC_IMLegacyLevelsContainer.js +19 -0
- package/lib/components/KYC_IMLegacy/KYC_IMLegacyLevelsContainer.notest.js +47 -0
- package/lib/components/KYC_IMLegacy/index.js +9 -0
- package/lib/components/KYC_Jumio/KYC_JumioComponent.js +16 -0
- package/lib/components/KYC_Jumio/KYC_JumioIframe/KYCJumioIframeComponent.css +4 -0
- package/lib/components/KYC_Jumio/KYC_JumioIframe/KYC_JumioIframeComponent.js +135 -0
- package/lib/components/KYC_Jumio/KYC_JumioIframe/KYC_JumioIframeComponent.notest.js +63 -0
- package/lib/components/KYC_Jumio/KYC_JumioIframe/KYC_JumioIframeContainer.js +42 -0
- package/lib/components/KYC_Jumio/KYC_JumioIframe/KYC_JumioIframeContainer.notest.js +70 -0
- package/lib/components/KYC_Jumio/KYC_JumioIframe/index.js +9 -0
- package/lib/components/KYC_Jumio/KYC_JumioLevelsComponent.js +35 -0
- package/lib/components/KYC_Jumio/KYC_JumioLevelsContainer.js +19 -0
- package/lib/components/KYC_Jumio/KYC_JumioLevelsContainer.notest.js +47 -0
- package/lib/components/KYC_Jumio/index.js +9 -0
- package/lib/components/KYC_Manual/KYC_ManualComponent.js +16 -0
- package/lib/components/KYC_Manual/KYC_ManualForm/KYC_ManualDirectionsComponent.js +28 -0
- package/lib/components/KYC_Manual/KYC_ManualForm/KYC_ManualFormComponent.js +121 -0
- package/lib/components/KYC_Manual/KYC_ManualForm/KYC_ManualFormContainer.js +53 -0
- package/lib/components/KYC_Manual/KYC_ManualForm/KYC_ManualFormContainer.notest.js +102 -0
- package/lib/components/KYC_Manual/KYC_ManualForm/index.js +9 -0
- package/lib/components/KYC_Manual/KYC_ManualHelpers.js +39 -0
- package/lib/components/KYC_Manual/KYC_ManualIframe/KYC_ManualIframeComponent.js +86 -0
- package/lib/components/KYC_Manual/KYC_ManualIframe/KYC_ManualIframeContainer.js +51 -0
- package/lib/components/KYC_Manual/KYC_ManualIframe/KYC_ManualIframeContainer.notest.js +150 -0
- package/lib/components/KYC_Manual/KYC_ManualIframe/index.js +9 -0
- package/lib/components/KYC_Manual/KYC_ManualLevelsComponent.js +51 -0
- package/lib/components/KYC_Manual/KYC_ManualLevelsContainer.js +19 -0
- package/lib/components/KYC_Manual/KYC_ManualLevelsContainer.notest.js +47 -0
- package/lib/components/KYC_Manual/index.js +9 -0
- package/lib/components/Language/LanguageSelectorComponent.css +92 -0
- package/lib/components/Language/LanguageSelectorComponent.js +99 -0
- package/lib/components/Language/LanguageSelectorContainer.js +18 -0
- package/lib/components/LightWeightCharts/IntervalButtons.css +46 -0
- package/lib/components/LightWeightCharts/IntervalButtons.js +53 -0
- package/lib/components/LightWeightCharts/LightWeightChartContainer.js +343 -0
- package/lib/components/Login/LoginFormComponent.css +52 -0
- package/lib/components/Login/LoginFormComponent.js +126 -0
- package/lib/components/Login/LoginFormComponent.notest.js +84 -0
- package/lib/components/Login/LoginFormComponent.test.js +300 -0
- package/lib/components/Login/LoginFormContainer.js +79 -0
- package/lib/components/Login/LoginFormContainer.notest.js +111 -0
- package/lib/components/Login/StandaloneLoginFormContainer.js +14 -0
- package/lib/components/LoyaltyToken/LoyaltyToken.css +36 -0
- package/lib/components/LoyaltyToken/LoyaltyTokenComponent.js +111 -0
- package/lib/components/LoyaltyToken/LoyaltyTokenContainer.js +33 -0
- package/lib/components/LoyaltyToken/LoyaltyTokenContainer.notest.js +57 -0
- package/lib/components/MarginAssetOptionsDnd/MarginAssetOptionsDnd.css +71 -0
- package/lib/components/MarginAssetOptionsDnd/MarginAssetOptionsDnd.js +123 -0
- package/lib/components/MarginBalances/AccountSummary/AccountSummaryBox.js +34 -0
- package/lib/components/MarginBalances/AccountSummary/AccountSummaryComponent.css +226 -0
- package/lib/components/MarginBalances/AccountSummary/FuturesAccountSummaryComponent.js +91 -0
- package/lib/components/MarginBalances/AccountSummary/FuturesAccountSummaryContainer.js +21 -0
- package/lib/components/MarginBalances/AccountSummary/MarginAccountSummaryComponent.js +85 -0
- package/lib/components/MarginBalances/AccountSummary/MarginAccountSummaryContainer.js +28 -0
- package/lib/components/MarginBalances/AccountSummary/SpotAccountSummaryComponent.js +60 -0
- package/lib/components/MarginBalances/AccountSummary/SpotAccountSummaryContainer.js +29 -0
- package/lib/components/MarginBalances/AccountSummary/index.js +38 -0
- package/lib/components/MarginBalances/BalancesTables/BalancesTable.css +126 -0
- package/lib/components/MarginBalances/BalancesTables/FuturesBalancesAssetsTable.js +155 -0
- package/lib/components/MarginBalances/BalancesTables/FuturesBalancesAssetsTableContainer.js +32 -0
- package/lib/components/MarginBalances/BalancesTables/FuturesBalancesPositionHistoryTable.js +160 -0
- package/lib/components/MarginBalances/BalancesTables/FuturesBalancesPositionHistoryTableContainer.js +37 -0
- package/lib/components/MarginBalances/BalancesTables/FuturesBalancesPositionsTable.js +262 -0
- package/lib/components/MarginBalances/BalancesTables/FuturesBalancesPositionsTableContainer.js +37 -0
- package/lib/components/MarginBalances/BalancesTables/FuturesBalancesTablesWrapper.js +52 -0
- package/lib/components/MarginBalances/BalancesTables/MarginBalancesTable.js +155 -0
- package/lib/components/MarginBalances/BalancesTables/MarginBalancesTableContainer.js +32 -0
- package/lib/components/MarginBalances/BalancesTables/SpotBalancesTable.js +143 -0
- package/lib/components/MarginBalances/BalancesTables/SpotBalancesTableContainer.js +33 -0
- package/lib/components/MarginBalances/BalancesTables/index.js +60 -0
- package/lib/components/MarginBalances/FuturesBalancesTableHeader/FuturesBalancesTableHeader.css +86 -0
- package/lib/components/MarginBalances/FuturesBalancesTableHeader/FuturesBalancesTableHeader.js +156 -0
- package/lib/components/MarginBalances/FuturesBalancesTableHeader/FuturesBalancesTableHeaderContainer.js +28 -0
- package/lib/components/MarginBalances/FuturesBalancesTableHeader/index.js +16 -0
- package/lib/components/MarginBalances/MarginBalancesTableHeader/MarginBalancesTableHeader.css +46 -0
- package/lib/components/MarginBalances/MarginBalancesTableHeader/MarginBalancesTableHeader.js +43 -0
- package/lib/components/MarginBalances/MarginBalancesTableHeader/index.js +16 -0
- package/lib/components/MarginBalances/MarginDepositWithdraw/MarginDepositModal/MarginCryptoDepositForm/MarginCryptoDepositFormComponent.css +43 -0
- package/lib/components/MarginBalances/MarginDepositWithdraw/MarginDepositModal/MarginCryptoDepositForm/MarginCryptoDepositFormComponent.js +81 -0
- package/lib/components/MarginBalances/MarginDepositWithdraw/MarginDepositModal/MarginCryptoDepositForm/MarginCryptoDepositFormContainer.js +28 -0
- package/lib/components/MarginBalances/MarginDepositWithdraw/MarginDepositModal/MarginCryptoDepositForm/index.js +9 -0
- package/lib/components/MarginBalances/MarginDepositWithdraw/MarginDepositModal/MarginDepositForm.js +112 -0
- package/lib/components/MarginBalances/MarginDepositWithdraw/MarginDepositModal/MarginDepositFormContainer.js +38 -0
- package/lib/components/MarginBalances/MarginDepositWithdraw/MarginDepositModal/MarginDepositFormContainer.notest.js +87 -0
- package/lib/components/MarginBalances/MarginDepositWithdraw/MarginDepositModal/MarginDepositModalComponent.css +45 -0
- package/lib/components/MarginBalances/MarginDepositWithdraw/MarginDepositModal/MarginDepositModalComponent.js +26 -0
- package/lib/components/MarginBalances/MarginDepositWithdraw/MarginDepositModal/MarginDepositModalContainer.js +13 -0
- package/lib/components/MarginBalances/MarginDepositWithdraw/MarginDepositWithdrawComponent.css +20 -0
- package/lib/components/MarginBalances/MarginDepositWithdraw/MarginDepositWithdrawComponent.js +36 -0
- package/lib/components/MarginBalances/MarginDepositWithdraw/MarginDepositWithdrawContainer.js +21 -0
- package/lib/components/MarginBalances/MarginDepositWithdraw/MarginDepositWithdrawContainer.notest.js +83 -0
- package/lib/components/MarginBalances/MarginDepositWithdraw/index.js +9 -0
- package/lib/components/MarginBalances/MarginOverview/MarginOverviewComponent.css +34 -0
- package/lib/components/MarginBalances/MarginOverview/MarginOverviewComponent.js +108 -0
- package/lib/components/MarginBalances/MarginOverview/MarginOverviewContainer.js +31 -0
- package/lib/components/MarginBalances/MarginOverview/MarginOverviewContainer.notest.js +45 -0
- package/lib/components/MarginBalances/MarginOverview/index.js +9 -0
- package/lib/components/MarginBalances/index.js +72 -0
- package/lib/components/MarginClosePosition/MarginClosePositionModal.css +51 -0
- package/lib/components/MarginClosePosition/MarginClosePositionModal.js +278 -0
- package/lib/components/MarginRepayLoan/MarginRepayLoanComponent.css +70 -0
- package/lib/components/MarginRepayLoan/MarginRepayLoanFormComponent.js +210 -0
- package/lib/components/MarginRepayLoan/MarginRepayLoanFormContainer.js +59 -0
- package/lib/components/MarginRepayLoan/MarginRepayLoanModal.js +98 -0
- package/lib/components/MarginTransferAssetModal/FuturesTransferButton.css +8 -0
- package/lib/components/MarginTransferAssetModal/FuturesTransferButton.js +41 -0
- package/lib/components/MarginTransferAssetModal/MarginTransferAssetsFormComponent.js +308 -0
- package/lib/components/MarginTransferAssetModal/MarginTransferAssetsFormComponent.test.js +242 -0
- package/lib/components/MarginTransferAssetModal/MarginTransferAssetsFormContainer.js +162 -0
- package/lib/components/MarginTransferAssetModal/MarginTransferAssetsFormContainer.notest.js +194 -0
- package/lib/components/MarginTransferAssetModal/MarginTransferAssetsModal.js +37 -0
- package/lib/components/MarginTransferAssetModal/MarginTransferAssetsModalComponent.css +164 -0
- package/lib/components/MarginTransferAssetModal/MarginTransferButton.css +17 -0
- package/lib/components/MarginTransferAssetModal/MarginTransferButton.js +48 -0
- package/lib/components/MarketDataCardsComponent/MarketDataCardComponent.css +95 -0
- package/lib/components/MarketDataCardsComponent/MarketDataCardComponent.js +122 -0
- package/lib/components/MarketDataCardsComponent/MarketDataCardsComponent.css +14 -0
- package/lib/components/MarketDataCardsComponent/MarketDataCardsComponent.js +45 -0
- package/lib/components/MarketDataCardsComponent/MarketDataCardsContainer.js +22 -0
- package/lib/components/MarketDataCardsComponent/MarketDataCardsContainer.notest.js +63 -0
- package/lib/components/MarketOverview/MarketOverviewComponent.css +216 -0
- package/lib/components/MarketOverview/MarketOverviewComponent.js +45 -0
- package/lib/components/MarketOverview/index.js +9 -0
- package/lib/components/Menu/MenuComponent.css +31 -0
- package/lib/components/Menu/MenuComponent.js +35 -0
- package/lib/components/MenuItem/MenuItemComponent.js +57 -0
- package/lib/components/MenuItem/MenuItemComponent.notest.js +39 -0
- package/lib/components/Notifications/MarginAlert/MarginAlert.css +6 -0
- package/lib/components/Notifications/MarginAlert/MarginAlert.js +64 -0
- package/lib/components/Notifications/MarginAlert/index.js +16 -0
- package/lib/components/Notifications/MarginAlert/useMarginAlertActions.js +40 -0
- package/lib/components/Notifications/NotificationItem.js +26 -0
- package/lib/components/Notifications/Notifications.css +60 -0
- package/lib/components/Notifications/Notifications.js +41 -0
- package/lib/components/Notifications/TransferRequests/TransferRequest.css +6 -0
- package/lib/components/Notifications/TransferRequests/TransferRequest.js +80 -0
- package/lib/components/Notifications/TransferRequests/index.js +16 -0
- package/lib/components/Notifications/index.js +16 -0
- package/lib/components/OrderBookComponents/BulkCancelButtonsComponent/BulkCancelButtonsComponent.css +33 -0
- package/lib/components/OrderBookComponents/BulkCancelButtonsComponent/BulkCancelButtonsComponent.js +50 -0
- package/lib/components/OrderBookComponents/BulkCancelButtonsComponent/BulkCancelButtonsComponent.notest.js +54 -0
- package/lib/components/OrderBookComponents/Level2DataTableComponent.js +87 -0
- package/lib/components/OrderBookComponents/Level2DataTableComponent.notest.js +38 -0
- package/lib/components/OrderBookComponents/OrderBookComponent.css +228 -0
- package/lib/components/OrderBookComponents/OrderBookComponent.js +375 -0
- package/lib/components/OrderBookComponents/OrderBookComponent.notest.js +38 -0
- package/lib/components/OrderBookComponents/OrderBookContainer.js +68 -0
- package/lib/components/OrderBookComponents/OrderBookContainer.notest.js +121 -0
- package/lib/components/OrderBookComponents/PriceGroupingSelector/PriceGroupingSelector.css +15 -0
- package/lib/components/OrderBookComponents/PriceGroupingSelector/PriceGroupingSelector.js +70 -0
- package/lib/components/OrderBookComponents/PriceGroupingSelector/PriceGroupingSelector.test.js +117 -0
- package/lib/components/OrderBookComponents/SpreadRowComponent.js +29 -0
- package/lib/components/OrderEntryComponents/advancedForm/AdvancedOrderForm.css +242 -0
- package/lib/components/OrderEntryComponents/advancedForm/AdvancedOrderFormComponent.js +152 -0
- package/lib/components/OrderEntryComponents/advancedForm/AdvancedOrderFormContainer.js +88 -0
- package/lib/components/OrderEntryComponents/advancedForm/AdvancedOrderMarketPrice.js +48 -0
- package/lib/components/OrderEntryComponents/common/CommonOrderEstimates.js +66 -0
- package/lib/components/OrderEntryComponents/common/FormAmountFields.js +181 -0
- package/lib/components/OrderEntryComponents/common/OrderEntryEstimates.js +28 -0
- package/lib/components/OrderEntryComponents/common/StrategiesSelection/StrategiesSelection.css +30 -0
- package/lib/components/OrderEntryComponents/common/StrategiesSelection/StrategiesSelection.js +81 -0
- package/lib/components/OrderEntryComponents/common/useOrderProducts.js +25 -0
- package/lib/components/OrderEntryComponents/defaultForm/BuySellTabs.js +45 -0
- package/lib/components/OrderEntryComponents/defaultForm/OrderEntry.css +222 -0
- package/lib/components/OrderEntryComponents/defaultForm/OrderEntryAnchoring.js +145 -0
- package/lib/components/OrderEntryComponents/defaultForm/OrderEntryContainer.js +68 -0
- package/lib/components/OrderEntryComponents/futures/FuturesFormAmountFields.js +244 -0
- package/lib/components/OrderEntryComponents/futures/FuturesFormAmountFields.test.js +339 -0
- package/lib/components/OrderEntryComponents/futures/FuturesLeverageValue/FuturesLeverageModal.js +66 -0
- package/lib/components/OrderEntryComponents/futures/FuturesLeverageValue/FuturesMaxLeverageButton.css +21 -0
- package/lib/components/OrderEntryComponents/futures/FuturesLeverageValue/FuturesMaxLeverageButton.js +40 -0
- package/lib/components/OrderEntryComponents/futures/FuturesLeverageValue/useLeverageButton.js +43 -0
- package/lib/components/OrderEntryComponents/futures/FuturesLeverageValue/useLeverageDialog.js +57 -0
- package/lib/components/OrderEntryComponents/futures/FuturesOrderEntryEstimates/FuturesOrderEntryEstimates.js +23 -0
- package/lib/components/OrderEntryComponents/futures/FuturesOrderEntryEstimates/FuturesOrderEstimates.js +49 -0
- package/lib/components/OrderEntryComponents/futures/FuturesOrderEntryEstimates/useFetchFuturesOrderCost.js +37 -0
- package/lib/components/OrderEntryComponents/futures/FuturesOrderEntryForm/FuturesOrderEntry.css +83 -0
- package/lib/components/OrderEntryComponents/futures/FuturesOrderEntryForm/FuturesOrderEntryAnchoring.js +135 -0
- package/lib/components/OrderEntryComponents/futures/FuturesOrderEntryForm/FuturesOrderEntryFormContainer.js +80 -0
- package/lib/components/OrderEntryComponents/futures/FuturesPnLCalculator/FuturesPnLCalculatorModal.css +57 -0
- package/lib/components/OrderEntryComponents/futures/FuturesPnLCalculator/FuturesPnLCalculatorModal.js +156 -0
- package/lib/components/OrderEntryComponents/futures/FuturesPnLCalculator/useCalculatorPnLValue.js +124 -0
- package/lib/components/OrderEntryComponents/hooks/index.js +27 -0
- package/lib/components/OrderEntryComponents/hooks/useFormValues.js +19 -0
- package/lib/components/OrderEntryComponents/hooks/useFuturesMoneyFields.js +130 -0
- package/lib/components/OrderEntryComponents/hooks/useFuturesMoneyFields.test.js +198 -0
- package/lib/components/OrderEntryComponents/hooks/useMoneyFields.js +85 -0
- package/lib/components/OrderEntryComponents/hooks/useOrderPrice.js +19 -0
- package/lib/components/OrderEntryComponents/margin/LeverageValue/LeverageButton.css +7 -0
- package/lib/components/OrderEntryComponents/margin/LeverageValue/LeverageButton.js +39 -0
- package/lib/components/OrderEntryComponents/margin/LeverageValue/UpdateLeverageModal.css +76 -0
- package/lib/components/OrderEntryComponents/margin/LeverageValue/UpdateLeverageModal.js +73 -0
- package/lib/components/OrderEntryComponents/margin/LeverageValue/index.js +27 -0
- package/lib/components/OrderEntryComponents/margin/LeverageValue/useLeverageButton.js +57 -0
- package/lib/components/OrderEntryComponents/margin/LeverageValue/useLeverageDialog.js +78 -0
- package/lib/components/OrderEntryComponents/margin/MarginOrderEstimates.js +49 -0
- package/lib/components/OrderEntryComponents/margin/useBorrowingAmount.js +41 -0
- package/lib/components/OrderEntryComponents/margin/useHourlyInterest.js +34 -0
- package/lib/components/OrderEntryComponents/margin/useMaxAmount.js +29 -0
- package/lib/components/OrderHistoryComponents/ClosedPositions/ClosedPositionsContainer.js +26 -0
- package/lib/components/OrderHistoryComponents/DepositsStatus/DepositsStatusComponent.js +174 -0
- package/lib/components/OrderHistoryComponents/DepositsStatus/DepositsStatusComponent.notest.js +68 -0
- package/lib/components/OrderHistoryComponents/DepositsStatus/DepositsStatusContainer.js +49 -0
- package/lib/components/OrderHistoryComponents/DepositsStatus/index.js +9 -0
- package/lib/components/OrderHistoryComponents/FilledOrders/FilledOrdersComponent.js +187 -0
- package/lib/components/OrderHistoryComponents/FilledOrders/FilledOrdersComponent.notest.js +156 -0
- package/lib/components/OrderHistoryComponents/FilledOrders/FilledOrdersContainer.js +39 -0
- package/lib/components/OrderHistoryComponents/FilledOrders/FuturesFilledOrdersContainer.js +30 -0
- package/lib/components/OrderHistoryComponents/FilledOrders/index.js +9 -0
- package/lib/components/OrderHistoryComponents/FuturesOpenPositions/FuturesOpenPositions.css +114 -0
- package/lib/components/OrderHistoryComponents/FuturesOpenPositions/FuturesOpenPositionsComponent.js +290 -0
- package/lib/components/OrderHistoryComponents/FuturesOpenPositions/FuturesOpenPositionsContainer.js +43 -0
- package/lib/components/OrderHistoryComponents/FuturesOpenPositions/index.js +9 -0
- package/lib/components/OrderHistoryComponents/FuturesOrderHistory/FuturesOrderHistoryComponent.js +111 -0
- package/lib/components/OrderHistoryComponents/FuturesOrderHistory/index.js +9 -0
- package/lib/components/OrderHistoryComponents/HeaderWithFilter/HeaderWithFilterComponent.js +91 -0
- package/lib/components/OrderHistoryComponents/HeaderWithFilter/HeaderWithFilterContainer.js +32 -0
- package/lib/components/OrderHistoryComponents/HeaderWithFilter/HeaderWithFilterContainer.notest.js +58 -0
- package/lib/components/OrderHistoryComponents/HeaderWithFilter/index.js +9 -0
- package/lib/components/OrderHistoryComponents/InactiveOrders/FuturesInactiveOrdersContainer.js +33 -0
- package/lib/components/OrderHistoryComponents/InactiveOrders/InactiveOrdersComponent.js +183 -0
- package/lib/components/OrderHistoryComponents/InactiveOrders/InactiveOrdersComponent.notest.js +97 -0
- package/lib/components/OrderHistoryComponents/InactiveOrders/InactiveOrdersComponent.test.js +154 -0
- package/lib/components/OrderHistoryComponents/InactiveOrders/InactiveOrdersContainer.js +39 -0
- package/lib/components/OrderHistoryComponents/InactiveOrders/index.js +9 -0
- package/lib/components/OrderHistoryComponents/MarginOpenPositions/MarginOpenPositions.css +57 -0
- package/lib/components/OrderHistoryComponents/MarginOpenPositions/MarginOpenPositionsComponent.js +221 -0
- package/lib/components/OrderHistoryComponents/MarginOpenPositions/MarginOpenPositionsComponent.notest.js +93 -0
- package/lib/components/OrderHistoryComponents/MarginOpenPositions/MarginOpenPositionsContainer.js +43 -0
- package/lib/components/OrderHistoryComponents/MarginOpenPositions/index.js +9 -0
- package/lib/components/OrderHistoryComponents/MarginOrderHistory/MarginOrderHistoryComponent.js +120 -0
- package/lib/components/OrderHistoryComponents/MarginOrderHistory/MarginOrderHistoryComponent.notest.js +107 -0
- package/lib/components/OrderHistoryComponents/MarginOrderHistory/index.js +9 -0
- package/lib/components/OrderHistoryComponents/MarginOrderHistoryExtended/MarginOrderHistoryExtendedComponent.js +108 -0
- package/lib/components/OrderHistoryComponents/MarginOrderHistoryExtended/MarginOrderHistoryExtendedComponent.notest.js +118 -0
- package/lib/components/OrderHistoryComponents/MarginOrderHistoryExtended/index.js +9 -0
- package/lib/components/OrderHistoryComponents/OpenOrders/FuturesOpenOrdersContainer.js +32 -0
- package/lib/components/OrderHistoryComponents/OpenOrders/OpenOrdersComponent.js +207 -0
- package/lib/components/OrderHistoryComponents/OpenOrders/OpenOrdersComponent.notest.js +123 -0
- package/lib/components/OrderHistoryComponents/OpenOrders/OpenOrdersComponent.test.js +410 -0
- package/lib/components/OrderHistoryComponents/OpenOrders/OpenOrdersContainer.js +50 -0
- package/lib/components/OrderHistoryComponents/OpenOrders/index.js +9 -0
- package/lib/components/OrderHistoryComponents/OrderHistoryComponent.css +116 -0
- package/lib/components/OrderHistoryComponents/OrderHistoryComponent.js +105 -0
- package/lib/components/OrderHistoryComponents/OrderHistoryComponent.notest.js +107 -0
- package/lib/components/OrderHistoryComponents/OrderHistoryTables.css +166 -0
- package/lib/components/OrderHistoryComponents/PositionHistory/PositionHistoryComponent.js +156 -0
- package/lib/components/OrderHistoryComponents/PositionHistory/PositionHistoryContainer.js +26 -0
- package/lib/components/OrderHistoryComponents/PositionHistory/PositionsHistory.css +27 -0
- package/lib/components/OrderHistoryComponents/PositionHistory/index.js +9 -0
- package/lib/components/OrderHistoryComponents/PositionPayments/PositionPaymentsComponent.js +115 -0
- package/lib/components/OrderHistoryComponents/PositionPayments/PositionPaymentsComponent.notest.js +82 -0
- package/lib/components/OrderHistoryComponents/PositionPayments/PositionPaymentsContainer.js +21 -0
- package/lib/components/OrderHistoryComponents/PositionPayments/index.js +9 -0
- package/lib/components/OrderHistoryComponents/TradeReports/TradeReportsComponent.js +157 -0
- package/lib/components/OrderHistoryComponents/TradeReports/TradeReportsComponent.notest.js +124 -0
- package/lib/components/OrderHistoryComponents/TradeReports/TradeReportsContainer.js +38 -0
- package/lib/components/OrderHistoryComponents/TradeReports/index.js +9 -0
- package/lib/components/OrderHistoryComponents/WithdrawStatus/WithdrawStatusComponent.js +164 -0
- package/lib/components/OrderHistoryComponents/WithdrawStatus/WithdrawStatusComponent.notest.js +69 -0
- package/lib/components/OrderHistoryComponents/WithdrawStatus/WithdrawStatusContainer.js +38 -0
- package/lib/components/OrderHistoryComponents/WithdrawStatus/index.js +9 -0
- package/lib/components/OrderHistoryComponents/index.js +9 -0
- package/lib/components/OrdersListTable/OrderListMobileExpandedComponent.css +100 -0
- package/lib/components/OrdersListTable/OrderListMobileExpandedComponent.js +97 -0
- package/lib/components/OrdersListTable/OrdersListComponent.css +127 -0
- package/lib/components/OrdersListTable/OrdersListComponent.js +268 -0
- package/lib/components/OrdersListTable/OrdersListContainer.js +90 -0
- package/lib/components/OrdersListTable/OrdersListLayout.css +19 -0
- package/lib/components/OrdersListTable/OrdersListLayout.js +37 -0
- package/lib/components/PageFooter/PageFooterComponent.css +68 -0
- package/lib/components/PageFooter/PageFooterComponent.js +50 -0
- package/lib/components/PageHeader/PageHeaderComponent.css +98 -0
- package/lib/components/PageHeader/PageHeaderComponent.js +48 -0
- package/lib/components/PageHeader/PageHeaderNavComponent.css +234 -0
- package/lib/components/PageHeader/PageHeaderNavComponent.js +86 -0
- package/lib/components/PageHeader/PageHeaderNavMenuComponent.js +61 -0
- package/lib/components/PriceChart/ApexChartComponent.js +196 -0
- package/lib/components/PriceChart/ApexChartComponent.notest.js +48 -0
- package/lib/components/PriceChart/ApexChartContainer.js +36 -0
- package/lib/components/PriceChart/ApexChartContainer.notest.js +75 -0
- package/lib/components/PriceChart/PriceChart.css +141 -0
- package/lib/components/PriceChart/PriceChartContainer.js +23 -0
- package/lib/components/PriceChart/PriceChartContainer.notest.js +37 -0
- package/lib/components/PriceChart/TVChartComponent.css +48 -0
- package/lib/components/PriceChart/TVChartComponent.js +290 -0
- package/lib/components/PriceChart/TVChartContainer.js +41 -0
- package/lib/components/PriceChart/TVChartContainer.notest.js +106 -0
- package/lib/components/ProblemLoggingIn/ProblemLoggingInFormComponent.css +103 -0
- package/lib/components/ProblemLoggingIn/ProblemLoggingInFormComponent.js +153 -0
- package/lib/components/ProblemLoggingIn/ProblemLoggingInFormContainer.js +31 -0
- package/lib/components/ProblemLoggingIn/ProblemLoggingInFormContainer.notest.js +81 -0
- package/lib/components/ProductPositionDetails/ProductPositionDetailsComponent.css +83 -0
- package/lib/components/ProductPositionDetails/ProductPositionDetailsComponent.js +102 -0
- package/lib/components/ProductPositionDetails/ProductPositionDetailsComponent.notest.js +37 -0
- package/lib/components/ProductPositionDetails/ProductPositionDetailsContainer.js +34 -0
- package/lib/components/ProductPositionDetails/ProductPositionDetailsContainer.notest.js +47 -0
- package/lib/components/ProfileForm/ProfileFormComponent.css +18 -0
- package/lib/components/ProfileForm/ProfileFormComponent.js +68 -0
- package/lib/components/ProfileForm/ProfileFormComponent.notest.js +51 -0
- package/lib/components/ProfileForm/ProfileFormContainer.js +28 -0
- package/lib/components/ProfileForm/ProfileFormContainer.notest.js +68 -0
- package/lib/components/RecentActivity/ActivityCellComponents.js +197 -0
- package/lib/components/RecentActivity/ActivityComponents.css +763 -0
- package/lib/components/RecentActivity/RecentActivityComponent.js +24 -0
- package/lib/components/RecentActivity/RecentActivityContainer.js +21 -0
- package/lib/components/RecentActivity/RecentActivityContainer.notest.js +41 -0
- package/lib/components/RecentActivity/RecentActivityHeader/RecentActivityHeaderComponent.js +26 -0
- package/lib/components/RecentActivity/RecentActivityHeader/index.js +9 -0
- package/lib/components/RecentActivity/RecentActivityTable/RecentActivityTableComponent.js +95 -0
- package/lib/components/RecentActivity/RecentActivityTable/RecentActivityTableContainer.js +28 -0
- package/lib/components/RecentActivity/RecentActivityTable/RecentActivityTableContainer.notest.js +43 -0
- package/lib/components/RecentActivity/RecentActivityTable/index.js +9 -0
- package/lib/components/RecentActivity/index.js +9 -0
- package/lib/components/RecentActivityWithFilter/RecentActivityHeaderWithFilter/RecentActivityHeaderForm/RecentActivityHeaderFormComponent.js +77 -0
- package/lib/components/RecentActivityWithFilter/RecentActivityHeaderWithFilter/RecentActivityHeaderForm/RecentActivityHeaderFormContainer.js +36 -0
- package/lib/components/RecentActivityWithFilter/RecentActivityHeaderWithFilter/RecentActivityHeaderForm/RecentActivityHeaderFormContainer.notest.js +128 -0
- package/lib/components/RecentActivityWithFilter/RecentActivityHeaderWithFilter/RecentActivityHeaderForm/index.js +9 -0
- package/lib/components/RecentActivityWithFilter/RecentActivityHeaderWithFilter/RecentActivityHeaderWithFilterComponent.js +14 -0
- package/lib/components/RecentActivityWithFilter/RecentActivityHeaderWithFilter/index.js +9 -0
- package/lib/components/RecentActivityWithFilter/RecentActivityTableWithFilter/RecentActivityTableWithFilterContainer.js +38 -0
- package/lib/components/RecentActivityWithFilter/RecentActivityTableWithFilter/RecentActivityTableWithFilterContainer.notest.js +64 -0
- package/lib/components/RecentActivityWithFilter/RecentActivityTableWithFilter/index.js +9 -0
- package/lib/components/RecentActivityWithFilter/RecentActivityWithFilterComponent.js +30 -0
- package/lib/components/RecentActivityWithFilter/RecentActivityWithFilterContainer.js +21 -0
- package/lib/components/RecentActivityWithFilter/RecentActivityWithFilterContainer.notest.js +41 -0
- package/lib/components/RecentActivityWithFilter/index.js +9 -0
- package/lib/components/RecentTrades/RecentTradesComponent.css +66 -0
- package/lib/components/RecentTrades/RecentTradesComponent.js +76 -0
- package/lib/components/RecentTrades/RecentTradesComponent.notest.js +78 -0
- package/lib/components/RecentTrades/RecentTradesComponent.test.js +303 -0
- package/lib/components/RecentTrades/RecentTradesContainer.js +16 -0
- package/lib/components/RecentTrades/RecentTradesContainer.notest.js +59 -0
- package/lib/components/ReportBlockTradeSidePaneComponents/ReportBlockTradeComponent.js +155 -0
- package/lib/components/ReportBlockTradeSidePaneComponents/ReportBlockTradeContainer.js +93 -0
- package/lib/components/ReportBlockTradeSidePaneComponents/ReportBlockTradeContainer.notest.js +169 -0
- package/lib/components/ReportBlockTradeSidePaneComponents/ReportBlockTradeForm.css +218 -0
- package/lib/components/ReportBlockTradeSidePaneComponents/ReportBlockTradeSidePaneComponent.css +28 -0
- package/lib/components/ReportBlockTradeSidePaneComponents/ReportBlockTradeSidePaneComponent.js +88 -0
- package/lib/components/ReportBlockTradeSidePaneComponents/ReportBlockTradeSidePaneContainer.js +30 -0
- package/lib/components/ReportBlockTradeSidePaneComponents/ReportBlockTradeSidePaneContainer.notest.js +107 -0
- package/lib/components/ReportSidePaneComponents/ConfirmCyclicalReport/ConfirmCyclicalReportForm.js +47 -0
- package/lib/components/ReportSidePaneComponents/ConfirmCyclicalReport/ConfirmCyclicalReportModal.js +43 -0
- package/lib/components/ReportSidePaneComponents/ConfirmCyclicalReport/ConfirmCyclicalReportModalContainer.js +19 -0
- package/lib/components/ReportSidePaneComponents/ConfirmCyclicalReport/ConfirmCyclicalReportModalContainer.notest.js +39 -0
- package/lib/components/ReportSidePaneComponents/ConfirmSingleReport/ConfirmSingleReportForm.js +47 -0
- package/lib/components/ReportSidePaneComponents/ConfirmSingleReport/ConfirmSingleReportModal.css +64 -0
- package/lib/components/ReportSidePaneComponents/ConfirmSingleReport/ConfirmSingleReportModal.js +43 -0
- package/lib/components/ReportSidePaneComponents/ConfirmSingleReport/ConfirmSingleReportModalContainer.js +19 -0
- package/lib/components/ReportSidePaneComponents/ConfirmSingleReport/ConfirmSingleReportModalContainer.notest.js +39 -0
- package/lib/components/ReportSidePaneComponents/CreateReportForm/CreateReportFormComponent.js +88 -0
- package/lib/components/ReportSidePaneComponents/CreateReportForm/CreateReportFormComponent.notest.js +42 -0
- package/lib/components/ReportSidePaneComponents/CreateReportForm/CreateReportFormContainer.js +45 -0
- package/lib/components/ReportSidePaneComponents/CreateReportForm/CreateReportFormContainer.notest.js +85 -0
- package/lib/components/ReportSidePaneComponents/DownloadReportForm/DownloadReportComponent.css +207 -0
- package/lib/components/ReportSidePaneComponents/DownloadReportForm/DownloadReportComponent.js +138 -0
- package/lib/components/ReportSidePaneComponents/DownloadReportForm/DownloadReportContainer.js +27 -0
- package/lib/components/ReportSidePaneComponents/DownloadReportForm/DownloadReportContainer.notest.js +37 -0
- package/lib/components/ReportSidePaneComponents/DownloadReportForm/index.js +9 -0
- package/lib/components/ReportSidePaneComponents/ReportAccountsComponent.js +66 -0
- package/lib/components/ReportSidePaneComponents/ReportFormComponent.css +132 -0
- package/lib/components/ReportSidePaneComponents/ReportSidePaneComponent.css +35 -0
- package/lib/components/ReportSidePaneComponents/ReportSidePaneComponent.js +93 -0
- package/lib/components/ReportSidePaneComponents/ReportSidePaneComponent.notest.js +72 -0
- package/lib/components/ReportSidePaneComponents/ScheduleReportComponent.js +17 -0
- package/lib/components/ReportSidePaneComponents/ScheduleReportForm/ScheduleReportFormComponent.js +100 -0
- package/lib/components/ReportSidePaneComponents/ScheduleReportForm/ScheduleReportFormComponent.notest.js +43 -0
- package/lib/components/ReportSidePaneComponents/ScheduleReportForm/ScheduleReportFormContainer.js +43 -0
- package/lib/components/ReportSidePaneComponents/ScheduleReportForm/ScheduleReportFormContainer.notest.js +80 -0
- package/lib/components/ReportSidePaneComponents/ScheduledReportsTable/ScheduledReportsTableComponent.css +147 -0
- package/lib/components/ReportSidePaneComponents/ScheduledReportsTable/ScheduledReportsTableComponent.js +70 -0
- package/lib/components/ReportSidePaneComponents/ScheduledReportsTable/ScheduledReportsTableComponent.notest.js +34 -0
- package/lib/components/ReportSidePaneComponents/ScheduledReportsTable/ScheduledReportsTableContainer.js +23 -0
- package/lib/components/ReportSidePaneComponents/ScheduledReportsTable/ScheduledReportsTableContainer.notest.js +48 -0
- package/lib/components/ReportSidePaneComponents/ScheduledReportsTable/index.js +9 -0
- package/lib/components/RequestFiatTransfer/RequestFiatTransfer.js +116 -0
- package/lib/components/ResetPasswordForm/ResetPasswordFormComponent.css +36 -0
- package/lib/components/ResetPasswordForm/ResetPasswordFormComponent.js +150 -0
- package/lib/components/ResetPasswordForm/ResetPasswordFormContainer.js +92 -0
- package/lib/components/ResetPasswordForm/ResetPasswordFormContainer.notest.js +105 -0
- package/lib/components/ResetPasswordRequestForm/ResetPasswordRequestFormComponent.css +19 -0
- package/lib/components/ResetPasswordRequestForm/ResetPasswordRequestFormComponent.js +51 -0
- package/lib/components/ResetPasswordRequestForm/ResetPasswordRequestFormComponent.notest.js +39 -0
- package/lib/components/ResetPasswordRequestForm/ResetPasswordRequestFormContainerFactory.js +29 -0
- package/lib/components/ResetPasswordRequestForm/ResetPasswordRequestFormContainerFactory.notest.js +47 -0
- package/lib/components/Retail/RetailBuySell/BuySell/BuySellComponent.css +299 -0
- package/lib/components/Retail/RetailBuySell/BuySell/BuySellComponent.js +98 -0
- package/lib/components/Retail/RetailBuySell/BuySell/BuySellContainer.js +33 -0
- package/lib/components/Retail/RetailBuySell/BuySell/BuySellContainer.notest.js +105 -0
- package/lib/components/Retail/RetailBuySell/BuySell/BuySellCustomRow/BuySellCustomRow.css +5 -0
- package/lib/components/Retail/RetailBuySell/BuySell/BuySellCustomRow/BuySellCustomRowComponent.js +92 -0
- package/lib/components/Retail/RetailBuySell/BuySell/BuySellCustomRow/BuySellCustomRowContainer.js +32 -0
- package/lib/components/Retail/RetailBuySell/BuySell/BuySellCustomRow/BuySellCustomRowContainer.notest.js +145 -0
- package/lib/components/Retail/RetailBuySell/BuySell/BuySellCustomRow/index.js +9 -0
- package/lib/components/Retail/RetailBuySell/BuySell/BuySellInstrumentSelector/BuySellInstrumentSelector.js +55 -0
- package/lib/components/Retail/RetailBuySell/BuySell/BuySellInstrumentSelector/BuySellInstrumentSelectorContainer.js +38 -0
- package/lib/components/Retail/RetailBuySell/BuySell/BuySellInstrumentSelector/BuySellInstrumentSelectorContainer.notest.js +113 -0
- package/lib/components/Retail/RetailBuySell/BuySell/BuySellInstrumentSelector/index.js +9 -0
- package/lib/components/Retail/RetailBuySell/BuySell/BuySellLayoutTypes.js +10 -0
- package/lib/components/Retail/RetailBuySell/BuySell/BuySellOrderButton/BuySellOrderButtonComponent.js +55 -0
- package/lib/components/Retail/RetailBuySell/BuySell/BuySellOrderButton/BuySellOrderButtonContainer.js +34 -0
- package/lib/components/Retail/RetailBuySell/BuySell/BuySellOrderButton/BuySellOrderButtonContainer.notest.js +66 -0
- package/lib/components/Retail/RetailBuySell/BuySell/BuySellOrderButton/index.js +9 -0
- package/lib/components/Retail/RetailBuySell/BuySell/BuySellPresetValuesRows/BuySellAmountRow.js +48 -0
- package/lib/components/Retail/RetailBuySell/BuySell/BuySellPresetValuesRows/BuySellPresetValuesRowsComponent.js +40 -0
- package/lib/components/Retail/RetailBuySell/BuySell/BuySellPresetValuesRows/BuySellPresetValuesRowsContainer.js +39 -0
- package/lib/components/Retail/RetailBuySell/BuySell/BuySellPresetValuesRows/BuySellPresetValuesRowsContainer.notest.js +125 -0
- package/lib/components/Retail/RetailBuySell/BuySell/BuySellPresetValuesRows/index.js +9 -0
- package/lib/components/Retail/RetailBuySell/BuySell/BuySellTabs/BuySellTabsComponent.js +59 -0
- package/lib/components/Retail/RetailBuySell/BuySell/BuySellTabs/BuySellTabsContainer.js +28 -0
- package/lib/components/Retail/RetailBuySell/BuySell/BuySellTabs/BuySellTabsContainer.notest.js +115 -0
- package/lib/components/Retail/RetailBuySell/BuySell/BuySellTabs/index.js +9 -0
- package/lib/components/Retail/RetailBuySell/BuySell/index.js +9 -0
- package/lib/components/Retail/RetailBuySell/BuySellBalances/BuySellBalancesComponent.css +56 -0
- package/lib/components/Retail/RetailBuySell/BuySellBalances/BuySellBalancesComponent.js +42 -0
- package/lib/components/Retail/RetailBuySell/BuySellBalances/BuySellBalancesContainer.js +22 -0
- package/lib/components/Retail/RetailBuySell/BuySellBalances/BuySellBalancesContainer.notest.js +126 -0
- package/lib/components/Retail/RetailBuySell/BuySellBalances/index.js +9 -0
- package/lib/components/Retail/RetailBuySell/BuySellChartIntervalSelector/BuySellChartIntervalSelectorComponent.css +22 -0
- package/lib/components/Retail/RetailBuySell/BuySellChartIntervalSelector/BuySellChartIntervalSelectorComponent.js +53 -0
- package/lib/components/Retail/RetailBuySell/BuySellChartIntervalSelector/BuySellChartIntervalSelectorContainer.js +19 -0
- package/lib/components/Retail/RetailBuySell/BuySellChartIntervalSelector/BuySellChartIntervalSelectorContainer.notest.js +36 -0
- package/lib/components/Retail/RetailBuySell/BuySellChartIntervalSelector/index.js +9 -0
- package/lib/components/Retail/RetailBuySell/BuySellChartOverview/BuySellChartOverviewComponent.css +82 -0
- package/lib/components/Retail/RetailBuySell/BuySellChartOverview/BuySellChartOverviewComponent.js +36 -0
- package/lib/components/Retail/RetailBuySell/BuySellChartOverview/BuySellChartOverviewContainer.js +20 -0
- package/lib/components/Retail/RetailBuySell/BuySellChartOverview/BuySellChartOverviewContainer.notest.js +43 -0
- package/lib/components/Retail/RetailBuySell/BuySellChartOverview/index.js +9 -0
- package/lib/components/Retail/RetailBuySell/BuySellChartOverviewAlt/BuySellChartOverviewComponent.css +37 -0
- package/lib/components/Retail/RetailBuySell/BuySellChartOverviewAlt/BuySellChartOverviewComponent.js +53 -0
- package/lib/components/Retail/RetailBuySell/BuySellChartOverviewAlt/BuySellChartOverviewContainer.js +9 -0
- package/lib/components/Retail/RetailBuySell/BuySellChartOverviewAlt/index.js +9 -0
- package/lib/components/Retail/RetailBuySell/BuySellInstrumentSelect/BuySellInstrumentSelectComponent.css +98 -0
- package/lib/components/Retail/RetailBuySell/BuySellInstrumentSelect/BuySellInstrumentSelectComponent.js +81 -0
- package/lib/components/Retail/RetailBuySell/BuySellInstrumentSelect/BuySellInstrumentSelectContainer.js +49 -0
- package/lib/components/Retail/RetailBuySell/BuySellInstrumentSelect/BuySellInstrumentSelectContainer.notest.js +153 -0
- package/lib/components/Retail/RetailBuySell/BuySellInstrumentSelect/BuySellInstrumentSelector.js +57 -0
- package/lib/components/Retail/RetailBuySell/BuySellInstrumentSelect/index.js +9 -0
- package/lib/components/Retail/RetailBuySell/BuySellMakeTransaction/BuySellMakeTransactionComponent.css +43 -0
- package/lib/components/Retail/RetailBuySell/BuySellMakeTransaction/BuySellMakeTransactionComponent.js +30 -0
- package/lib/components/Retail/RetailBuySell/BuySellMakeTransaction/BuySellMakeTransactionContainer.js +9 -0
- package/lib/components/Retail/RetailBuySell/BuySellMakeTransaction/index.js +9 -0
- package/lib/components/Retail/RetailBuySell/BuySellOrderConfirmationModal/BuySellConfirmationModalComponent.css +62 -0
- package/lib/components/Retail/RetailBuySell/BuySellOrderConfirmationModal/BuySellConfirmationModalComponent.js +179 -0
- package/lib/components/Retail/RetailBuySell/BuySellOrderConfirmationModal/BuySellConfirmationModalContainer.js +79 -0
- package/lib/components/Retail/RetailBuySell/BuySellOrderConfirmationModal/BuySellConfirmationModalContainer.notest.js +262 -0
- package/lib/components/Retail/RetailBuySell/BuySellOrderConfirmationModal/index.js +9 -0
- package/lib/components/Retail/RetailBuySell/BuySellOrderOverview/BuySellOrderOverviewComponent.css +68 -0
- package/lib/components/Retail/RetailBuySell/BuySellOrderOverview/BuySellOrderOverviewComponent.js +87 -0
- package/lib/components/Retail/RetailBuySell/BuySellOrderOverview/BuySellOrderOverviewContainer.js +49 -0
- package/lib/components/Retail/RetailBuySell/BuySellOrderOverview/BuySellOrderOverviewContainer.notest.js +124 -0
- package/lib/components/Retail/RetailBuySell/BuySellOrderOverview/index.js +9 -0
- package/lib/components/Retail/RetailBuySell/EotcBuySell/EotcBuySellComponent.js +97 -0
- package/lib/components/Retail/RetailBuySell/EotcBuySell/EotcBuySellContainer.js +42 -0
- package/lib/components/Retail/RetailBuySell/EotcBuySell/EotcBuySellContainer.notest.js +125 -0
- package/lib/components/Retail/RetailBuySell/EotcBuySell/EotcBuySellCustomRow/EotcBuySellCustomRowComponent.js +82 -0
- package/lib/components/Retail/RetailBuySell/EotcBuySell/EotcBuySellCustomRow/EotcBuySellCustomRowContainer.js +47 -0
- package/lib/components/Retail/RetailBuySell/EotcBuySell/EotcBuySellCustomRow/EotcBuySellCustomRowContainer.notest.js +143 -0
- package/lib/components/Retail/RetailBuySell/EotcBuySell/EotcBuySellCustomRow/index.js +9 -0
- package/lib/components/Retail/RetailBuySell/EotcBuySell/EotcBuySellPresetValuesRows/EotcBuySellPresetValuesRowsContainer.js +40 -0
- package/lib/components/Retail/RetailBuySell/EotcBuySell/EotcBuySellPresetValuesRows/EotcBuySellPresetValuesRowsContainer.notest.js +125 -0
- package/lib/components/Retail/RetailBuySell/EotcBuySell/EotcBuySellPresetValuesRows/index.js +9 -0
- package/lib/components/Retail/RetailBuySell/EotcBuySell/index.js +9 -0
- package/lib/components/Retail/RetailBuySell/EotcBuySellChartOverviewContainer/BuySellChartOverviewComponent.css +82 -0
- package/lib/components/Retail/RetailBuySell/EotcBuySellChartOverviewContainer/BuySellChartOverviewContainer.notest.js +43 -0
- package/lib/components/Retail/RetailBuySell/EotcBuySellChartOverviewContainer/EotcBuySellChartOverviewComponent.js +36 -0
- package/lib/components/Retail/RetailBuySell/EotcBuySellChartOverviewContainer/EotcBuySellChartOverviewContainer.js +20 -0
- package/lib/components/Retail/RetailBuySell/EotcBuySellChartOverviewContainer/index.js +9 -0
- package/lib/components/Retail/RetailBuySell/EotcBuySellOrderConfirmationModal/EotcBuySellConfirmationModalComponent.css +69 -0
- package/lib/components/Retail/RetailBuySell/EotcBuySellOrderConfirmationModal/EotcBuySellConfirmationModalComponent.js +172 -0
- package/lib/components/Retail/RetailBuySell/EotcBuySellOrderConfirmationModal/EotcBuySellConfirmationModalContainer.js +79 -0
- package/lib/components/Retail/RetailBuySell/EotcBuySellOrderConfirmationModal/EotcBuySellConfirmationModalContainer.notest.js +262 -0
- package/lib/components/Retail/RetailBuySell/EotcBuySellOrderConfirmationModal/index.js +9 -0
- package/lib/components/Retail/RetailBuySell/EotcBuySellOrderOverview/EotcBuySellOrderOverviewComponent.js +77 -0
- package/lib/components/Retail/RetailBuySell/EotcBuySellOrderOverview/EotcBuySellOrderOverviewContainer.js +46 -0
- package/lib/components/Retail/RetailBuySell/EotcBuySellOrderOverview/index.js +9 -0
- package/lib/components/Retail/RetailBuySell/RetailMakeTransactionComponent.css +43 -0
- package/lib/components/Retail/RetailBuySell/index.js +83 -0
- package/lib/components/Retail/RetailSidePanes/FiatDeposit/DepositReferenceIdModal.css +83 -0
- package/lib/components/Retail/RetailSidePanes/FiatDeposit/DepositReferenceIdModal.js +55 -0
- package/lib/components/Retail/RetailSidePanes/FiatDeposit/DepositReferenceIdModalContainer.js +25 -0
- package/lib/components/Retail/RetailSidePanes/FiatDeposit/DepositReferenceIdModalContainer.notest.js +45 -0
- package/lib/components/Retail/RetailSidePanes/FiatDeposit/FiatDepositDetailsComponent.js +52 -0
- package/lib/components/Retail/RetailSidePanes/FiatDeposit/FiatDepositFormComponent.css +237 -0
- package/lib/components/Retail/RetailSidePanes/FiatDeposit/FiatDepositFormComponent.js +188 -0
- package/lib/components/Retail/RetailSidePanes/FiatDeposit/FiatDepositFormContainer.js +59 -0
- package/lib/components/Retail/RetailSidePanes/FiatDeposit/FiatDepositFormContainer.notest.js +137 -0
- package/lib/components/Retail/RetailSidePanes/FiatDeposit/FiatDepositModalComponent.css +119 -0
- package/lib/components/Retail/RetailSidePanes/FiatDeposit/FiatDepositModalComponent.js +122 -0
- package/lib/components/Retail/RetailSidePanes/FiatDeposit/FiatDepositModalContainer.js +44 -0
- package/lib/components/Retail/RetailSidePanes/FiatDeposit/FiatDepositModalContainer.notest.js +82 -0
- package/lib/components/Retail/RetailSidePanes/FiatDeposit/index.js +34 -0
- package/lib/components/Retail/RetailSidePanes/FiatFormTabsComponent.css +47 -0
- package/lib/components/Retail/RetailSidePanes/FiatFormTabsComponent.js +95 -0
- package/lib/components/Retail/RetailSidePanes/FiatFormTabsComponent.notest.js +49 -0
- package/lib/components/Retail/RetailSidePanes/FiatSidePaneComponent.css +85 -0
- package/lib/components/Retail/RetailSidePanes/FiatSidePaneComponent.js +176 -0
- package/lib/components/Retail/RetailSidePanes/FiatSidePaneContainer.js +49 -0
- package/lib/components/Retail/RetailSidePanes/FiatSidePaneContainer.notest.js +62 -0
- package/lib/components/Retail/RetailSidePanes/FiatSidePaneHeaderComponent.css +15 -0
- package/lib/components/Retail/RetailSidePanes/FiatSidePaneHeaderComponent.js +54 -0
- package/lib/components/Retail/RetailSidePanes/FiatWithdraw/BankSelect/BankSelectComponent.js +71 -0
- package/lib/components/Retail/RetailSidePanes/FiatWithdraw/BankSelect/BankSelectContainer.js +46 -0
- package/lib/components/Retail/RetailSidePanes/FiatWithdraw/BankSelect/BankSelectContainer.notest.js +80 -0
- package/lib/components/Retail/RetailSidePanes/FiatWithdraw/FiatWithdrawDetailsComponent.js +89 -0
- package/lib/components/Retail/RetailSidePanes/FiatWithdraw/FiatWithdrawFormComponent.css +232 -0
- package/lib/components/Retail/RetailSidePanes/FiatWithdraw/FiatWithdrawFormComponent.js +236 -0
- package/lib/components/Retail/RetailSidePanes/FiatWithdraw/FiatWithdrawFormComponent.test.js +146 -0
- package/lib/components/Retail/RetailSidePanes/FiatWithdraw/FiatWithdrawFormContainer.js +62 -0
- package/lib/components/Retail/RetailSidePanes/FiatWithdraw/FiatWithdrawFormContainer.notest.js +124 -0
- package/lib/components/Retail/RetailSidePanes/FiatWithdraw/FiatWithdrawModalComponent.css +100 -0
- package/lib/components/Retail/RetailSidePanes/FiatWithdraw/FiatWithdrawModalComponent.js +86 -0
- package/lib/components/Retail/RetailSidePanes/FiatWithdraw/FiatWithdrawModalContainer.js +24 -0
- package/lib/components/Retail/RetailSidePanes/FiatWithdraw/FiatWithdrawModalContainer.notest.js +46 -0
- package/lib/components/Retail/RetailSidePanes/FiatWithdraw/index.js +27 -0
- package/lib/components/RetailPriceChart/RetailPriceChartContainer.js +30 -0
- package/lib/components/RssFeed/RssFeed.js +101 -0
- package/lib/components/RssFeed/RssFeedItem.css +55 -0
- package/lib/components/RssFeed/RssFeedItem.js +25 -0
- package/lib/components/SendFiatTransfer/SendFiatTransfer.js +125 -0
- package/lib/components/SendReceiveSidePane/Receive/Receive.css +62 -0
- package/lib/components/SendReceiveSidePane/Receive/ReceiveComponent.js +99 -0
- package/lib/components/SendReceiveSidePane/Receive/ReceiveContainer.js +54 -0
- package/lib/components/SendReceiveSidePane/Receive/ReceiveContainer.notest.js +69 -0
- package/lib/components/SendReceiveSidePane/ReceiveAddress/ReceiveAddress.css +175 -0
- package/lib/components/SendReceiveSidePane/ReceiveAddress/ReceiveAddressComponent.js +299 -0
- package/lib/components/SendReceiveSidePane/ReceiveAddress/ReceiveAddressContainer.js +41 -0
- package/lib/components/SendReceiveSidePane/ReceiveAddress/ReceiveAddressContainer.notest.js +73 -0
- package/lib/components/SendReceiveSidePane/ReceiveForm/ReceiveForm.css +57 -0
- package/lib/components/SendReceiveSidePane/ReceiveForm/ReceiveFormComponent.js +110 -0
- package/lib/components/SendReceiveSidePane/ReceiveForm/ReceiveFormContainer.js +21 -0
- package/lib/components/SendReceiveSidePane/ReceiveForm/ReceiveFormContainer.notest.js +54 -0
- package/lib/components/SendReceiveSidePane/SendAddress/SendAddress.css +51 -0
- package/lib/components/SendReceiveSidePane/SendAddress/SendAddressComponent.js +136 -0
- package/lib/components/SendReceiveSidePane/SendAddress/SendAddressContainer.js +28 -0
- package/lib/components/SendReceiveSidePane/SendAddress/SendAddressContainer.notest.js +71 -0
- package/lib/components/SendReceiveSidePane/SendForm/SendForm.css +109 -0
- package/lib/components/SendReceiveSidePane/SendForm/SendFormComponent.js +185 -0
- package/lib/components/SendReceiveSidePane/SendForm/SendFormContainer.js +37 -0
- package/lib/components/SendReceiveSidePane/SendForm/SendFormContainer.notest.js +72 -0
- package/lib/components/SendReceiveSidePane/SendReceiveConfirmModal/SendReceiveConfirmHeader.css +19 -0
- package/lib/components/SendReceiveSidePane/SendReceiveConfirmModal/SendReceiveConfirmHeaderComponent.js +37 -0
- package/lib/components/SendReceiveSidePane/SendReceiveConfirmModal/SendReceiveConfirmModal.css +90 -0
- package/lib/components/SendReceiveSidePane/SendReceiveConfirmModal/SendReceiveConfirmModalComponent.js +118 -0
- package/lib/components/SendReceiveSidePane/SendReceiveConfirmModal/SendReceiveConfirmModalComponent.test.js +228 -0
- package/lib/components/SendReceiveSidePane/SendReceiveDetails/SendReceiveDetails.css +45 -0
- package/lib/components/SendReceiveSidePane/SendReceiveDetails/SendReceiveDetailsComponent.js +89 -0
- package/lib/components/SendReceiveSidePane/SendReceiveFormTabs/SendReceiveFormTabs.css +40 -0
- package/lib/components/SendReceiveSidePane/SendReceiveFormTabs/SendReceiveFormTabsComponent.js +75 -0
- package/lib/components/SendReceiveSidePane/SendReceiveHeader/SendReceiveHeader.css +20 -0
- package/lib/components/SendReceiveSidePane/SendReceiveHeader/SendReceiveHeaderComponent.js +54 -0
- package/lib/components/SendReceiveSidePane/SendReceiveSidePane.css +157 -0
- package/lib/components/SendReceiveSidePane/SendReceiveSidePaneComponent.js +289 -0
- package/lib/components/SendReceiveSidePane/SendReceiveSidePaneContainer.js +91 -0
- package/lib/components/SendReceiveSidePane/SendReceiveSidePaneContainer.notest.js +139 -0
- package/lib/components/SendReceiveSidePane/SendReceiveTwoFactorAuth/SendReceiveTwoFactorAuthContainer.js +45 -0
- package/lib/components/SendReceiveSidePane/SendReceiveTwoFactorAuth/SendReceiveTwoFactorAuthContainer.notest.js +102 -0
- package/lib/components/SendReceiveSidePane/SendReceiveTwoFactorAuth/SendReceiveTwoFactorAuthForm.js +87 -0
- package/lib/components/SendReceiveSidePane/SendReceiveTwoFactorAuth/SendReceiveTwoFactorAuthModal.css +106 -0
- package/lib/components/SendReceiveSidePane/SendReceiveTwoFactorAuth/SendReceiveTwoFactorAuthModal.js +43 -0
- package/lib/components/Settings/ApiKeys/ApiKeysSidePaneButton/ApiKeysSidePaneButtonComponent.css +10 -0
- package/lib/components/Settings/ApiKeys/ApiKeysSidePaneButton/ApiKeysSidePaneButtonComponent.js +28 -0
- package/lib/components/Settings/ApiKeys/ApiKeysSidePaneButton/ApiKeysSidePaneButtonContainer.js +14 -0
- package/lib/components/Settings/ApiKeys/ApiKeysSidePaneButton/ApiKeysSidePaneButtonContainer.notest.js +31 -0
- package/lib/components/Settings/ApiKeys/ApiKeysSidePaneButton/index.js +9 -0
- package/lib/components/Settings/ApiKeys/index.js +9 -0
- package/lib/components/Settings/DemoSettings/DemoSettingsComponent.css +156 -0
- package/lib/components/Settings/DemoSettings/DemoSettingsComponent.js +57 -0
- package/lib/components/Settings/DemoSettings/DemoSettingsContainer.js +39 -0
- package/lib/components/Settings/DemoSettings/DemoSettingsContainer.notest.js +46 -0
- package/lib/components/Settings/DemoSettings/DemoSettingsEditableComponent.css +52 -0
- package/lib/components/Settings/DemoSettings/DemoSettingsEditableComponent.js +175 -0
- package/lib/components/Settings/DemoSettings/DemoSettingsStaticComponent.css +41 -0
- package/lib/components/Settings/DemoSettings/DemoSettingsStaticComponent.js +64 -0
- package/lib/components/Settings/InterestBearingAccounts/InterestAccountsSettingContainer/ConfirmationModal/ConfirmationModal.css +15 -0
- package/lib/components/Settings/InterestBearingAccounts/InterestAccountsSettingContainer/ConfirmationModal/ConfirmationModal.js +39 -0
- package/lib/components/Settings/InterestBearingAccounts/InterestAccountsSettingContainer/ConfirmationModal/index.js +9 -0
- package/lib/components/Settings/InterestBearingAccounts/InterestAccountsSettingContainer/DisableModal/DisableMarginConfirmationModal.css +15 -0
- package/lib/components/Settings/InterestBearingAccounts/InterestAccountsSettingContainer/DisableModal/DisableModalComponent.js +38 -0
- package/lib/components/Settings/InterestBearingAccounts/InterestAccountsSettingContainer/DisableModal/DisableModalContainer.js +23 -0
- package/lib/components/Settings/InterestBearingAccounts/InterestAccountsSettingContainer/DisableModal/index.js +9 -0
- package/lib/components/Settings/InterestBearingAccounts/InterestAccountsSettingContainer/EnableModal/EnableIntererstLendingModalContainer.js +45 -0
- package/lib/components/Settings/InterestBearingAccounts/InterestAccountsSettingContainer/EnableModal/EnableInterestLending.css +46 -0
- package/lib/components/Settings/InterestBearingAccounts/InterestAccountsSettingContainer/EnableModal/EnableInterestLendingModalComponent.js +48 -0
- package/lib/components/Settings/InterestBearingAccounts/InterestAccountsSettingContainer/EnableModal/index.js +9 -0
- package/lib/components/Settings/InterestBearingAccounts/InterestAccountsSettingContainer/InterestAccountSettingsComponent.js +48 -0
- package/lib/components/Settings/InterestBearingAccounts/InterestAccountsSettingContainer/InterestAccountsSettingContainer.js +36 -0
- package/lib/components/Settings/InterestBearingAccounts/InterestAccountsSettingContainer/index.js +9 -0
- package/lib/components/Settings/InterestBearingAccounts/InterestSettingsComponent.js +41 -0
- package/lib/components/Settings/InterestBearingAccounts/InterestSettingsContainer.js +21 -0
- package/lib/components/Settings/InterestBearingAccounts/TradeSettings.css +103 -0
- package/lib/components/Settings/InterestBearingAccounts/index.js +9 -0
- package/lib/components/Settings/ProfileAndSecurity/EmailSettingsCard/EmailSettingsCard.js +28 -0
- package/lib/components/Settings/ProfileAndSecurity/EmailSettingsCard/EmailSettingsForm/EmailSettingsComponent.js +92 -0
- package/lib/components/Settings/ProfileAndSecurity/EmailSettingsCard/EmailSettingsForm/EmailSettingsFormComponent.js +106 -0
- package/lib/components/Settings/ProfileAndSecurity/PasswordSettingsCard/PasswordSettingsCardComponent.js +32 -0
- package/lib/components/Settings/ProfileAndSecurity/PasswordSettingsCard/ResetPasswordForm/ResetPasswordConfirmComponent.js +33 -0
- package/lib/components/Settings/ProfileAndSecurity/PasswordSettingsCard/ResetPasswordForm/ResetPasswordFormComponent.css +19 -0
- package/lib/components/Settings/ProfileAndSecurity/PasswordSettingsCard/ResetPasswordForm/ResetPasswordFormComponent.js +73 -0
- package/lib/components/Settings/ProfileAndSecurity/PasswordSettingsCard/index.js +9 -0
- package/lib/components/Settings/ProfileAndSecurity/ProfileSettingsCard/ProfileForm/ProfileFormComponent.css +11 -0
- package/lib/components/Settings/ProfileAndSecurity/ProfileSettingsCard/ProfileForm/ProfileFormComponent.js +27 -0
- package/lib/components/Settings/ProfileAndSecurity/ProfileSettingsCard/ProfileForm/ProfileFormContainer.js +40 -0
- package/lib/components/Settings/ProfileAndSecurity/ProfileSettingsCard/ProfileForm/ProfileFormContainer.notest.js +69 -0
- package/lib/components/Settings/ProfileAndSecurity/ProfileSettingsCard/ProfileForm/UserProfileStaticComponent.css +35 -0
- package/lib/components/Settings/ProfileAndSecurity/ProfileSettingsCard/ProfileForm/UserProfileStaticComponent.js +40 -0
- package/lib/components/Settings/ProfileAndSecurity/ProfileSettingsCard/ProfileSettingsCardComponent.js +29 -0
- package/lib/components/Settings/ProfileAndSecurity/ProfileSettingsCard/index.js +9 -0
- package/lib/components/Settings/ProfileAndSecurity/RegionSettingsCard/RegionSettings/RegionFormComponent.css +39 -0
- package/lib/components/Settings/ProfileAndSecurity/RegionSettingsCard/RegionSettings/RegionFormComponent.js +71 -0
- package/lib/components/Settings/ProfileAndSecurity/RegionSettingsCard/RegionSettings/RegionSettingsComponent.css +48 -0
- package/lib/components/Settings/ProfileAndSecurity/RegionSettingsCard/RegionSettings/RegionSettingsComponent.js +80 -0
- package/lib/components/Settings/ProfileAndSecurity/RegionSettingsCard/RegionSettings/RegionSettingsContainer.js +14 -0
- package/lib/components/Settings/ProfileAndSecurity/RegionSettingsCard/RegionSettings/RegionSettingsContainer.notest.js +86 -0
- package/lib/components/Settings/ProfileAndSecurity/RegionSettingsCard/RegionSettings/useTranslationsConfig.js +31 -0
- package/lib/components/Settings/ProfileAndSecurity/RegionSettingsCard/RegionSettingsCardComponent.js +29 -0
- package/lib/components/Settings/ProfileAndSecurity/RegionSettingsCard/index.js +9 -0
- package/lib/components/Settings/ProfileAndSecurity/ThemeSettingsCard/ThemeForm/ChartEnums.js +11 -0
- package/lib/components/Settings/ProfileAndSecurity/ThemeSettingsCard/ThemeForm/ThemeFormComponent.css +39 -0
- package/lib/components/Settings/ProfileAndSecurity/ThemeSettingsCard/ThemeForm/ThemeFormComponent.js +105 -0
- package/lib/components/Settings/ProfileAndSecurity/ThemeSettingsCard/ThemeForm/ThemeSettingsComponent.css +46 -0
- package/lib/components/Settings/ProfileAndSecurity/ThemeSettingsCard/ThemeForm/ThemeSettingsComponent.js +95 -0
- package/lib/components/Settings/ProfileAndSecurity/ThemeSettingsCard/ThemeForm/ThemeSettingsContainer.js +34 -0
- package/lib/components/Settings/ProfileAndSecurity/ThemeSettingsCard/ThemeForm/ThemeSettingsContainer.notest.js +45 -0
- package/lib/components/Settings/ProfileAndSecurity/ThemeSettingsCard/ThemeSettingsCardComponent.js +32 -0
- package/lib/components/Settings/ProfileAndSecurity/ThemeSettingsCard/index.js +9 -0
- package/lib/components/Settings/ProfileAndSecurity/TwoFactorAuthSettingsCard/EnableTwoFactorAuth/EnableTwoFactorAuthComponent.css +54 -0
- package/lib/components/Settings/ProfileAndSecurity/TwoFactorAuthSettingsCard/EnableTwoFactorAuth/EnableTwoFactorAuthComponent.js +54 -0
- package/lib/components/Settings/ProfileAndSecurity/TwoFactorAuthSettingsCard/TwoFactorAuthSettingsCardComponent.js +23 -0
- package/lib/components/Settings/ProfileAndSecurity/TwoFactorAuthSettingsCard/index.js +9 -0
- package/lib/components/Settings/TradeSettings/FuturesTrading/ConfirmationModal/FuturesTradingConfirmationModal.css +20 -0
- package/lib/components/Settings/TradeSettings/FuturesTrading/ConfirmationModal/FuturesTradingConfirmationModal.js +41 -0
- package/lib/components/Settings/TradeSettings/FuturesTrading/ConfirmationModal/index.js +9 -0
- package/lib/components/Settings/TradeSettings/FuturesTrading/DeclineModal/FuturesTradingDeclineModal.css +23 -0
- package/lib/components/Settings/TradeSettings/FuturesTrading/DeclineModal/FuturesTradingDeclineModal.js +43 -0
- package/lib/components/Settings/TradeSettings/FuturesTrading/DeclineModal/index.js +9 -0
- package/lib/components/Settings/TradeSettings/FuturesTrading/EnableFuturesModal/EnableFuturesConfirmationModal.css +73 -0
- package/lib/components/Settings/TradeSettings/FuturesTrading/EnableFuturesModal/EnableFuturesConfirmationModalComponent.js +60 -0
- package/lib/components/Settings/TradeSettings/FuturesTrading/EnableFuturesModal/EnableFuturesConfirmationModalContainer.js +77 -0
- package/lib/components/Settings/TradeSettings/FuturesTrading/EnableFuturesModal/index.js +9 -0
- package/lib/components/Settings/TradeSettings/FuturesTrading/FuturesTradingComponent.js +86 -0
- package/lib/components/Settings/TradeSettings/FuturesTrading/FuturesTradingContainer.js +46 -0
- package/lib/components/Settings/TradeSettings/FuturesTrading/index.js +9 -0
- package/lib/components/Settings/TradeSettings/MarginTrading/ConfirmationModal/MarginTradingConfirmationModal.css +20 -0
- package/lib/components/Settings/TradeSettings/MarginTrading/ConfirmationModal/MarginTradingConfirmationModal.js +41 -0
- package/lib/components/Settings/TradeSettings/MarginTrading/ConfirmationModal/index.js +9 -0
- package/lib/components/Settings/TradeSettings/MarginTrading/DeclineModal/MarginTradingDeclineModal.css +23 -0
- package/lib/components/Settings/TradeSettings/MarginTrading/DeclineModal/MarginTradingDeclineModal.js +43 -0
- package/lib/components/Settings/TradeSettings/MarginTrading/DeclineModal/index.js +9 -0
- package/lib/components/Settings/TradeSettings/MarginTrading/EnableMarginModal/EnableMarginConfirmationModal.css +73 -0
- package/lib/components/Settings/TradeSettings/MarginTrading/EnableMarginModal/EnableMarginConfirmationModalComponent.js +60 -0
- package/lib/components/Settings/TradeSettings/MarginTrading/EnableMarginModal/EnableMarginConfirmationModalComponent.notest.js +47 -0
- package/lib/components/Settings/TradeSettings/MarginTrading/EnableMarginModal/EnableMarginConfirmationModalContainer.js +77 -0
- package/lib/components/Settings/TradeSettings/MarginTrading/EnableMarginModal/EnableMarginConfirmationModalContainer.notest.js +112 -0
- package/lib/components/Settings/TradeSettings/MarginTrading/EnableMarginModal/index.js +9 -0
- package/lib/components/Settings/TradeSettings/MarginTrading/MarginTradingComponent.js +86 -0
- package/lib/components/Settings/TradeSettings/MarginTrading/MarginTradingComponent.notest.js +33 -0
- package/lib/components/Settings/TradeSettings/MarginTrading/MarginTradingContainer.js +47 -0
- package/lib/components/Settings/TradeSettings/MarginTrading/MarginTradingContainer.notest.js +54 -0
- package/lib/components/Settings/TradeSettings/MarginTrading/index.js +9 -0
- package/lib/components/Settings/TradeSettings/TradeSettings.css +233 -0
- package/lib/components/Settings/TradeSettings/TradeSettingsComponent.js +36 -0
- package/lib/components/Settings/TradeSettings/TradeSettingsContainer.js +9 -0
- package/lib/components/Settings/TradeSettings/index.js +9 -0
- package/lib/components/Settings/TransferHistory/TransferHistoryComponent.css +23 -0
- package/lib/components/Settings/TransferHistory/TransferHistoryComponent.js +42 -0
- package/lib/components/Settings/TransferHistory/TransferHistoryContainer.js +19 -0
- package/lib/components/Settings/TransferHistory/TransferHistoryContainer.notest.js +42 -0
- package/lib/components/Settings/TransferHistory/index.js +9 -0
- package/lib/components/SettingsMenu/SettingsMenuComponent.css +77 -0
- package/lib/components/SettingsMenu/SettingsMenuComponent.js +95 -0
- package/lib/components/Signup/SignupFormComponent.css +155 -0
- package/lib/components/Signup/SignupFormComponent.js +189 -0
- package/lib/components/Signup/SignupFormComponent.notest.js +92 -0
- package/lib/components/Signup/SignupFormContainer.js +61 -0
- package/lib/components/Signup/SignupFormContainer.notest.js +124 -0
- package/lib/components/SimpleLoginForm/SimpleLoginFormComponent.css +52 -0
- package/lib/components/SimpleLoginForm/SimpleLoginFormComponent.js +67 -0
- package/lib/components/SimpleLoginForm/SimpleLoginFormContainer.js +46 -0
- package/lib/components/SimpleProblemLoggingIn/SimpleProblemLoggingInForm.css +103 -0
- package/lib/components/SimpleProblemLoggingIn/SimpleProblemLoggingInFormComponent.js +128 -0
- package/lib/components/SimpleProblemLoggingIn/SimpleProblemLoggingInFormContainer.js +31 -0
- package/lib/components/SimpleSignupForm/SimpleSignupFormComponent.css +150 -0
- package/lib/components/SimpleSignupForm/SimpleSignupFormComponent.js +149 -0
- package/lib/components/SimpleSignupForm/SimpleSignupFormContainer.js +46 -0
- package/lib/components/SimpleSignupForm/index.js +9 -0
- package/lib/components/StandaloneKYC/KYCSidePaneTypeSwitch.js +29 -0
- package/lib/components/StandaloneKYC/StandaloneKYCComponent.css +84 -0
- package/lib/components/StandaloneKYC/StandaloneKYCComponent.js +26 -0
- package/lib/components/StandaloneKYC/StandaloneKYCContainer.js +33 -0
- package/lib/components/StandaloneKYC/StandaloneKYCContainer.notest.js +75 -0
- package/lib/components/StandaloneModal/StandaloneModalComponent.js +41 -0
- package/lib/components/StandaloneModal/StandaloneModalComponent.notest.js +69 -0
- package/lib/components/Streaming/ConfirmOrderModal/ConfirmOrderModalComponent.js +84 -0
- package/lib/components/Streaming/ConfirmOrderModal/ConfirmOrderModalContainer.js +48 -0
- package/lib/components/Streaming/ConfirmOrderModal/index.js +9 -0
- package/lib/components/Streaming/StreamingCard.css +613 -0
- package/lib/components/Streaming/StreamingCardComponent.js +453 -0
- package/lib/components/Streaming/StreamingCardGrid.css +31 -0
- package/lib/components/Streaming/StreamingCardGridComponent.js +209 -0
- package/lib/components/Streaming/StreamingGridContainer.js +79 -0
- package/lib/components/SubNavRow/SubNavRowComponent.css +35 -0
- package/lib/components/SubNavRow/SubNavRowComponent.js +31 -0
- package/lib/components/Theme/ThemeContext.js +54 -0
- package/lib/components/Theme/ThemeToggler/ThemeToggler.css +103 -0
- package/lib/components/Theme/ThemeToggler/ThemeToggler.js +81 -0
- package/lib/components/Theme/constants.js +9 -0
- package/lib/components/Theme/useThemeCssVars.js +36 -0
- package/lib/components/Theme/withCssVars.js +23 -0
- package/lib/components/ThemeEditor/ThemeEditorComponent.css +75 -0
- package/lib/components/ThemeEditor/ThemeEditorComponent.js +97 -0
- package/lib/components/Ticker/TickerComponent.css +141 -0
- package/lib/components/Ticker/TickerComponent.js +88 -0
- package/lib/components/Ticker/TickerContainer.js +24 -0
- package/lib/components/Ticker/TickerContainer.notest.js +57 -0
- package/lib/components/Ticker/components/TickerBase.css +44 -0
- package/lib/components/Ticker/components/TickerBase.js +158 -0
- package/lib/components/TradingServer/TradingServerComponent.css +45 -0
- package/lib/components/TradingServer/TradingServerComponent.js +52 -0
- package/lib/components/Transfers/TransferComponents.css +347 -0
- package/lib/components/Transfers/TransfersComponent.js +172 -0
- package/lib/components/Transfers/TransfersContainer.js +52 -0
- package/lib/components/Transfers/TransfersContainer.notest.js +99 -0
- package/lib/components/Transfers/TransfersFilters/TransfersFiltersComponent.css +123 -0
- package/lib/components/Transfers/TransfersFilters/TransfersFiltersComponent.js +61 -0
- package/lib/components/Transfers/TransfersFilters/TransfersFiltersContainer.js +44 -0
- package/lib/components/Transfers/TransfersFilters/TransfersFiltersContainer.notest.js +81 -0
- package/lib/components/Transfers/TransfersFilters/index.js +9 -0
- package/lib/components/Transfers/index.js +9 -0
- package/lib/components/TravelRuleDepositModal/TravelRuleDepositModal.css +127 -0
- package/lib/components/TravelRuleDepositModal/TravelRuleDepositModalComponent.js +319 -0
- package/lib/components/TravelRuleDepositModal/TravelRuleDepositModalContainer.js +28 -0
- package/lib/components/TravelRuleDepositModal/index.js +13 -0
- package/lib/components/TwoFactorAuthForm/TwoFactorAuthFormComponent.css +70 -0
- package/lib/components/TwoFactorAuthForm/TwoFactorAuthFormComponent.js +103 -0
- package/lib/components/TwoFactorAuthForm/TwoFactorAuthFormContainer.js +53 -0
- package/lib/components/TwoFactorAuthForm/TwoFactorAuthFormContainer.notest.js +60 -0
- package/lib/components/UserBalance/UserBalanceComponent.css +13 -0
- package/lib/components/UserBalance/UserBalanceComponent.js +29 -0
- package/lib/components/UserBalance/UserBalanceContainer.js +14 -0
- package/lib/components/UserBalance/UserBalanceContainer.notest.js +47 -0
- package/lib/components/UserSettings/UserSettingsComponent.css +25 -0
- package/lib/components/UserSettings/UserSettingsComponent.js +55 -0
- package/lib/components/UserSettings/UserSettingsComponent.notest.js +55 -0
- package/lib/components/UserSummary/UserSummaryComponent.css +121 -0
- package/lib/components/UserSummary/UserSummaryComponent.js +152 -0
- package/lib/components/UserSummary/UserSummaryContainer.js +33 -0
- package/lib/components/UserSummary/UserSummaryContainer.notest.js +65 -0
- package/lib/components/VerificationRequired/VerificationRequiredComponent.css +46 -0
- package/lib/components/VerificationRequired/VerificationRequiredComponent.js +80 -0
- package/lib/components/VerificationRequired/VerificationRequiredContainer.js +31 -0
- package/lib/components/VerificationRequired/VerificationRequiredContainer.notest.js +47 -0
- package/lib/components/VerifyAddress/VerifyAddressComponent.js +84 -0
- package/lib/components/VerifyAddress/VerifyAddressContainer.js +37 -0
- package/lib/components/VerifyDevice/VerifyDeviceComponent.js +84 -0
- package/lib/components/VerifyDevice/VerifyDeviceContainer.js +39 -0
- package/lib/components/VerifyEmail/VerifyEmailComponent.js +89 -0
- package/lib/components/VerifyEmail/VerifyEmailContainer.js +37 -0
- package/lib/components/VerifyEmail/VerifyEmailContainer.notest.js +46 -0
- package/lib/components/WalletCards/WalletCard.css +184 -0
- package/lib/components/WalletCards/WalletCardComponent.js +111 -0
- package/lib/components/WalletCards/WalletCardContainer.js +57 -0
- package/lib/components/WalletCards/WalletCardContainer.notest.js +77 -0
- package/lib/components/WalletCards/WalletCardGrid.css +25 -0
- package/lib/components/WalletCards/WalletCardGridComponent.js +26 -0
- package/lib/components/WalletCards/WalletCardGridContainer.js +18 -0
- package/lib/components/WalletCards/WalletCardGridContainer.notest.js +42 -0
- package/lib/components/WalletDetails/WalletDetails.css +202 -0
- package/lib/components/WalletDetails/WalletDetailsBackButton.css +16 -0
- package/lib/components/WalletDetails/WalletDetailsBackButtonComponent.js +45 -0
- package/lib/components/WalletDetails/WalletDetailsComponent.js +119 -0
- package/lib/components/WalletDetails/WalletDetailsContainer.js +53 -0
- package/lib/components/WalletDetails/WalletDetailsContainer.notest.js +61 -0
- package/lib/components/WalletNavItems/CryptoNavItemsComponent.js +101 -0
- package/lib/components/WalletNavItems/CryptoNavItemsContainer.js +18 -0
- package/lib/components/WalletNavItems/CryptoNavItemsContainer.notest.js +46 -0
- package/lib/components/WalletNavItems/EotcCryptoNavItemsComponent.js +93 -0
- package/lib/components/WalletNavItems/EotcCryptoNavItemsContainer.js +30 -0
- package/lib/components/WalletNavItems/EotcCryptoNavItemsContainer.notest.js +64 -0
- package/lib/components/WalletNavItems/EotcFiatNavItemsContainer.js +34 -0
- package/lib/components/WalletNavItems/FiatNavItemsComponent.js +103 -0
- package/lib/components/WalletNavItems/FiatNavItemsComponent.notest.js +59 -0
- package/lib/components/WalletNavItems/FiatNavItemsContainer.js +14 -0
- package/lib/components/WalletNavItems/FiatNavItemsContainer.notest.js +66 -0
- package/lib/components/WalletNavItems/WalletNavItems.css +16 -0
- package/lib/components/WalletRows/WalletRow.css +120 -0
- package/lib/components/WalletRows/WalletRowComponent.js +82 -0
- package/lib/components/WalletRows/WalletRowContainer.js +41 -0
- package/lib/components/WalletRows/WalletRowContainer.notest.js +76 -0
- package/lib/components/WalletRows/WalletRowList.css +19 -0
- package/lib/components/WalletRows/WalletRowListComponent.js +32 -0
- package/lib/components/WalletRows/WalletRowListContainer.js +18 -0
- package/lib/components/WalletRows/WalletRowListContainer.notest.js +43 -0
- package/lib/components/WhiteListAddressForm/WhiteListAddressForm.css +52 -0
- package/lib/components/WhiteListAddressForm/WhiteListAddressFormComponent.js +92 -0
- package/lib/components/WhiteListAddressForm/WhiteListAddressFormContainer.js +46 -0
- package/lib/components/WhiteListAddressSidepane/WhiteListAddressSidePaneComponent.js +85 -0
- package/lib/components/WhiteListAddressSidepane/WhiteListAddressSidePaneContainer.js +45 -0
- package/lib/components/WhiteListedAddressesList/WhiteListedAddressesListComponent.js +44 -0
- package/lib/components/WhiteListedAddressesList/WhiteListedAddressesListContainer.js +28 -0
- package/lib/components/WhiteListedWithdrawAddressSelect/WhiteListedWithdrawAddressSelect.css +13 -0
- package/lib/components/WhiteListedWithdrawAddressSelect/WhiteListedWithdrawAddressSelectComponent.js +94 -0
- package/lib/components/WhiteListedWithdrawAddressSelect/WhiteListedWithdrawAddressSelectContainer.js +68 -0
- package/lib/components/WithdrawSidePaneComponents/PaymentProcessors/HyphenWithdrawWorkflowComponent.js +33 -0
- package/lib/components/WithdrawSidePaneComponents/PaymentProcessors/HyphenWithdrawWorkflowContainer.js +27 -0
- package/lib/components/WithdrawSidePaneComponents/PaymentProcessors/HyphenWithdrawWorkflowContainer.notest.js +51 -0
- package/lib/components/WithdrawSidePaneComponents/PaymentProcessors/TrustpayWithdrawWorkflowComponent.js +36 -0
- package/lib/components/WithdrawSidePaneComponents/PaymentProcessors/TrustpayWithdrawWorkflowContainer.js +15 -0
- package/lib/components/WithdrawSidePaneComponents/PaymentProcessors/TrustpayWithdrawWorkflowContainer.notest.js +36 -0
- package/lib/components/WithdrawSidePaneComponents/WithdrawForm/WithdrawFormComponent.css +134 -0
- package/lib/components/WithdrawSidePaneComponents/WithdrawForm/WithdrawFormComponent.js +256 -0
- package/lib/components/WithdrawSidePaneComponents/WithdrawForm/WithdrawFormComponent.notest.js +131 -0
- package/lib/components/WithdrawSidePaneComponents/WithdrawForm/WithdrawFormContainer.js +65 -0
- package/lib/components/WithdrawSidePaneComponents/WithdrawForm/WithdrawFormContainer.notest.js +140 -0
- package/lib/components/WithdrawSidePaneComponents/WithdrawSidePaneComponent.js +47 -0
- package/lib/components/WithdrawSidePaneComponents/WithdrawTemplateForm/WithdrawTemplateFormComponent.js +136 -0
- package/lib/components/WithdrawSidePaneComponents/WithdrawTemplateForm/WithdrawTemplateFormComponent.notest.js +38 -0
- package/lib/components/WithdrawSidePaneComponents/WithdrawTemplateForm/WithdrawTemplateFormContainer.js +32 -0
- package/lib/components/WithdrawSidePaneComponents/WithdrawTemplateForm/WithdrawTemplateFormContainer.notest.js +95 -0
- package/lib/components/WithdrawSidePaneComponents/WithdrawWorkflows/WithdrawWorkflowsComponent.js +69 -0
- package/lib/components/WithdrawSidePaneComponents/WithdrawWorkflows/WithdrawWorkflowsContainer.js +17 -0
- package/lib/components/WithdrawSidePaneComponents/WithdrawWorkflows/WithdrawWorkflowsContainer.notest.js +42 -0
- package/lib/components/common/APAutoTabInput/APAutoTabInput.css +27 -0
- package/lib/components/common/APAutoTabInput/APAutoTabInput.js +161 -0
- package/lib/components/common/APButton.js +52 -0
- package/lib/components/common/APCheckbox/APCheckbox.css +82 -0
- package/lib/components/common/APCheckbox/APCheckbox.js +75 -0
- package/lib/components/common/APCheckbox/index.js +16 -0
- package/lib/components/common/APChip/APChip.css +31 -0
- package/lib/components/common/APChip/APChip.js +37 -0
- package/lib/components/common/APChip/index.js +9 -0
- package/lib/components/common/APCryptoAddressInput/APCryptoAddressInputComponent.js +78 -0
- package/lib/components/common/APCryptoAddressInput/APCryptoAddressInputContainer.js +19 -0
- package/lib/components/common/APDatePicker/APDatePicker.css +124 -0
- package/lib/components/common/APDatePicker/APDatePicker.js +286 -0
- package/lib/components/common/APDatePicker/APDatePicker.notest.js +194 -0
- package/lib/components/common/APDatePickerDropdown/APDatePickerDropdown.css +21 -0
- package/lib/components/common/APDatePickerDropdown/APDatePickerDropdown.js +257 -0
- package/lib/components/common/APDocumentUpload/APDocumentUpload.js +110 -0
- package/lib/components/common/APDropDown/APDropDown.css +121 -0
- package/lib/components/common/APDropDown/APDropDown.js +122 -0
- package/lib/components/common/APDropDown/DropDownItem.js +35 -0
- package/lib/components/common/APDropDown/index.js +16 -0
- package/lib/components/common/APIFrame/APIFrame.css +10 -0
- package/lib/components/common/APIFrame/APIFrame.js +43 -0
- package/lib/components/common/APIcon/APIcon.css +57 -0
- package/lib/components/common/APIcon/APIcon.js +232 -0
- package/lib/components/common/APIcon/index.js +9 -0
- package/lib/components/common/APIconButton/APIconButton.css +121 -0
- package/lib/components/common/APIconButton/APIconButton.js +52 -0
- package/lib/components/common/APIconButton/APIconNavButton.js +33 -0
- package/lib/components/common/APImageUpload/APImageUpload.css +3 -0
- package/lib/components/common/APImageUpload/APImageUpload.js +123 -0
- package/lib/components/common/APInlineButton/APInlineButton.css +70 -0
- package/lib/components/common/APInlineButton/APInlineButton.js +46 -0
- package/lib/components/common/APInlineButton/index.js +9 -0
- package/lib/components/common/APInput/APInput.css +225 -0
- package/lib/components/common/APInput/APInput.js +140 -0
- package/lib/components/common/APInput/index.js +16 -0
- package/lib/components/common/APInputWithMax/APInput.css +5 -0
- package/lib/components/common/APInputWithMax/APInputWithMax.js +74 -0
- package/lib/components/common/APInputWithMax/index.js +14 -0
- package/lib/components/common/APLabelWithText/APLabelWithText.css +16 -0
- package/lib/components/common/APLabelWithText/APLabelWithText.js +52 -0
- package/lib/components/common/APLabelWithText/APLabelWithText.notest.js +25 -0
- package/lib/components/common/APLabelWithText/index.js +9 -0
- package/lib/components/common/APLogo/APLogo.css +32 -0
- package/lib/components/common/APLogo/APLogo.js +51 -0
- package/lib/components/common/APNumberInput.js +32 -0
- package/lib/components/common/APNumberInput.notest.js +173 -0
- package/lib/components/common/APNumberInputWithMax.js +32 -0
- package/lib/components/common/APPasswordInput/APPasswordInput.css +13 -0
- package/lib/components/common/APPasswordInput/APPasswordInput.js +89 -0
- package/lib/components/common/APPhoneInput/APPhoneInput.css +37 -0
- package/lib/components/common/APPhoneInput/APPhoneInput.js +195 -0
- package/lib/components/common/APPhoneInput/APPhoneInputFlags.js +27 -0
- package/lib/components/common/APPhoneInput/index.js +9 -0
- package/lib/components/common/APQRCode/APQRCode.css +5 -0
- package/lib/components/common/APQRCode/APQRCode.js +34 -0
- package/lib/components/common/APRadio/APRadio.css +80 -0
- package/lib/components/common/APRadio/APRadio.js +77 -0
- package/lib/components/common/APRadioTab/APRadioTab.css +38 -0
- package/lib/components/common/APRadioTab/APRadioTab.js +94 -0
- package/lib/components/common/APRadioTab/APRadioTab.notest.js +69 -0
- package/lib/components/common/APReactSelect/APReactSelect.css +162 -0
- package/lib/components/common/APReactSelect/APReactSelect.js +332 -0
- package/lib/components/common/APReactSelect/index.js +16 -0
- package/lib/components/common/APSearchInput/APSearchInput.css +51 -0
- package/lib/components/common/APSearchInput/APSearchInput.js +58 -0
- package/lib/components/common/APSegmentedButton/APSegmentedButton.css +48 -0
- package/lib/components/common/APSegmentedButton/APSegmentedButton.js +32 -0
- package/lib/components/common/APSegmentedButton/APSegmentedButton.notest.js +55 -0
- package/lib/components/common/APSegmentedButton/index.js +9 -0
- package/lib/components/common/APSelect/APSelect.css +26 -0
- package/lib/components/common/APSelect/APSelect.js +92 -0
- package/lib/components/common/APSelect/index.js +16 -0
- package/lib/components/common/APSnackbar/APSnackbar.css +33 -0
- package/lib/components/common/APSnackbar/APSnackbar.js +101 -0
- package/lib/components/common/APSnackbar/APSnackbar.notest.js +107 -0
- package/lib/components/common/APStepsComponent.js +77 -0
- package/lib/components/common/APSwitch/APSwitch.css +38 -0
- package/lib/components/common/APSwitch/APSwitch.js +51 -0
- package/lib/components/common/APTable.js +193 -0
- package/lib/components/common/APTimePickerDropdown/APTimePickerDropdown.css +21 -0
- package/lib/components/common/APTimePickerDropdown/APTimePickerDropdown.js +220 -0
- package/lib/components/common/APUpload/APUpload.css +89 -0
- package/lib/components/common/APUpload/APUpload.js +222 -0
- package/lib/components/common/APVerticalScroller/APVerticalScroller.css +5 -0
- package/lib/components/common/APVerticalScroller/APVerticalScroller.js +219 -0
- package/lib/components/common/APVerticalScroller/APVerticalScroller.notest.js +172 -0
- package/lib/components/common/BaseNumberInput/BaseNumberInput.js +200 -0
- package/lib/components/common/CancelAPButton.js +27 -0
- package/lib/components/common/DownloadAPButton.js +25 -0
- package/lib/components/common/ExecuteAPButton.js +26 -0
- package/lib/components/common/FullPageSpinner/FullPageSpinner.css +60 -0
- package/lib/components/common/FullPageSpinner/FullPageSpinner.js +40 -0
- package/lib/components/common/LayoutTemplates/ContentWithFooterLayoutTemplate/ContentWithFooterLayoutTemplate.css +13 -0
- package/lib/components/common/LayoutTemplates/ContentWithFooterLayoutTemplate/ContentWithFooterLayoutTemplate.js +47 -0
- package/lib/components/common/LayoutTemplates/ContentWithHeaderLayoutTemplate/ContentWithHeaderLayoutTemplate.css +23 -0
- package/lib/components/common/LayoutTemplates/ContentWithHeaderLayoutTemplate/ContentWithHeaderLayoutTemplate.js +45 -0
- package/lib/components/common/Modal/Modal.css +108 -0
- package/lib/components/common/Modal/Modal.js +118 -0
- package/lib/components/common/Modal/Modal.notest.js +55 -0
- package/lib/components/common/PaddedDecimal/PaddedDecimal.css +55 -0
- package/lib/components/common/PaddedDecimal/PaddedDecimal.js +37 -0
- package/lib/components/common/Pagination/Pagination.css +97 -0
- package/lib/components/common/Pagination/PaginationComponent.js +166 -0
- package/lib/components/common/Pagination/PaginationComponent.notest.js +137 -0
- package/lib/components/common/Pagination/PaginationContainer.js +28 -0
- package/lib/components/common/Pagination/PaginationContainer.notest.js +47 -0
- package/lib/components/common/Pagination/SimplePaginationComponent.js +139 -0
- package/lib/components/common/Pagination/SimplePaginationContainer.js +28 -0
- package/lib/components/common/Popover/Popover.css +50 -0
- package/lib/components/common/Popover/Popover.js +143 -0
- package/lib/components/common/Popover/Popover.notest.js +137 -0
- package/lib/components/common/PopoverMenu/PopoverMenu.css +27 -0
- package/lib/components/common/PopoverMenu/PopoverMenu.js +120 -0
- package/lib/components/common/ProductIcon/ProductIcon.css +4 -0
- package/lib/components/common/ProductIcon/ProductIcon.js +60 -0
- package/lib/components/common/ProductIcon/ProductIcon.notest.js +76 -0
- package/lib/components/common/ProductIcon/ProductIconContainer.js +20 -0
- package/lib/components/common/ProductIcon/ProductIconContainer.notest.js +38 -0
- package/lib/components/common/ProgressBar/ProgressBar.css +33 -0
- package/lib/components/common/ProgressBar/ProgressBar.js +33 -0
- package/lib/components/common/SidePane/SidePane.css +170 -0
- package/lib/components/common/SidePane/SidePaneChildren.js +37 -0
- package/lib/components/common/SidePane/SidePaneComponent.js +191 -0
- package/lib/components/common/SidePane/SidePaneComponent.notest.js +48 -0
- package/lib/components/common/SidePane/SidePaneContainer.js +29 -0
- package/lib/components/common/SidePane/SidePaneContainer.notest.js +54 -0
- package/lib/components/common/SidePaneBalanceComponent/SidePaneBalance.css +36 -0
- package/lib/components/common/SidePaneBalanceComponent/SidePaneBalanceComponent.js +61 -0
- package/lib/components/common/SidePaneDetailsComponent/SidePaneDetails.css +110 -0
- package/lib/components/common/SidePaneDetailsComponent/SidePaneDetailsComponent.js +76 -0
- package/lib/components/common/Slider/Slider.css +116 -0
- package/lib/components/common/Slider/Slider.js +141 -0
- package/lib/components/common/Slider/index.js +14 -0
- package/lib/components/common/Snackbar/Snackbar.css +32 -0
- package/lib/components/common/Snackbar/Snackbar.js +87 -0
- package/lib/components/common/Snackbar/Snackbar.notest.js +51 -0
- package/lib/components/common/Spinner/Spinner.css +64 -0
- package/lib/components/common/Spinner/Spinner.js +39 -0
- package/lib/components/common/Tab/Tab.css +92 -0
- package/lib/components/common/Tab/Tab.js +119 -0
- package/lib/components/common/Tab/Tab.notest.js +68 -0
- package/lib/components/common/Tooltip/Tooltip.css +78 -0
- package/lib/components/common/Tooltip/Tooltip.js +30 -0
- package/lib/components/data/table/Table.css +167 -0
- package/lib/components/data/table/Table.js +310 -0
- package/lib/components/data/table/index.js +16 -0
- package/lib/components/form/Button/Button.css +276 -0
- package/lib/components/form/Button/Button.js +41 -0
- package/lib/components/form/Button/ButtonToggle.css +58 -0
- package/lib/components/form/Button/ButtonToggle.js +51 -0
- package/lib/components/form/Button/index.js +16 -0
- package/lib/components/form/Checkbox/Checkbox.css +29 -0
- package/lib/components/form/Checkbox/Checkbox.js +28 -0
- package/lib/components/form/Checkbox/index.js +16 -0
- package/lib/components/form/FormItem/FormItem.css +123 -0
- package/lib/components/form/FormItem/FormItem.js +118 -0
- package/lib/components/form/FormItem/index.js +16 -0
- package/lib/components/form/Input/Input.js +13 -0
- package/lib/components/form/Input/SearchInput.css +14 -0
- package/lib/components/form/Input/SearchInput.js +67 -0
- package/lib/components/form/Input/index.js +27 -0
- package/lib/components/form/NumberInput/BaseNumberInput.js +260 -0
- package/lib/components/form/NumberInput/BaseNumberInput.test.js +323 -0
- package/lib/components/form/NumberInput/NumberInput.css +9 -0
- package/lib/components/form/NumberInput/decorators/AproxInput.css +9 -0
- package/lib/components/form/NumberInput/decorators/InputWithSlots.css +50 -0
- package/lib/components/form/NumberInput/decorators/MaxButtonInput.css +4 -0
- package/lib/components/form/NumberInput/decorators/StepperInput.css +45 -0
- package/lib/components/form/NumberInput/decorators/withAproxValue.js +24 -0
- package/lib/components/form/NumberInput/decorators/withMax.js +59 -0
- package/lib/components/form/NumberInput/decorators/withSlots.js +29 -0
- package/lib/components/form/NumberInput/decorators/withSpinButtons.js +114 -0
- package/lib/components/form/NumberInput/hooks/useCursor.js +74 -0
- package/lib/components/form/NumberInput/index.js +61 -0
- package/lib/components/form/decorators/FormInputLabel.css +26 -0
- package/lib/components/form/decorators/withPrefixLabel.js +25 -0
- package/lib/config/CONFIG.md +102 -0
- package/lib/config/configDefault.json +627 -0
- package/lib/config/configDefaultIM3.2.json +421 -0
- package/lib/config/index.js +38 -0
- package/lib/constants/emailLinksLayoutsConstants.js +23 -0
- package/lib/constants/homePageLayoutConstants.js +23 -0
- package/lib/constants/marginConstants.js +15 -0
- package/lib/constants/sendOrder/makerTakerConstants.js +8 -0
- package/lib/constants/sendOrder/orderEntryFormConstants.js +118 -0
- package/lib/constants/sendOrder/orderFormTypes.js +13 -0
- package/lib/constants/sendOrder/pegPriceTypeConstants.js +23 -0
- package/lib/constants/sendOrder/timeInForceConstants.js +12 -0
- package/lib/constants/sidePanesConstants.js +23 -0
- package/lib/constants/tradingStyleConstants.js +8 -0
- package/lib/constants/useValidators.js +247 -0
- package/lib/constants/userConfigConstants.js +13 -0
- package/lib/constants/userPermissionsContants.js +15 -0
- package/lib/constants/userSettingsFormConstants.js +1 -0
- package/lib/helpers/activityFilters.js +75 -0
- package/lib/helpers/activityFilters.test.js +109 -0
- package/lib/helpers/apexWebActions.js +46 -0
- package/lib/helpers/arrayHelper.js +76 -0
- package/lib/helpers/arrayHelper.test.js +128 -0
- package/lib/helpers/browserHelper.js +15 -0
- package/lib/helpers/clipboardHelper.js +15 -0
- package/lib/helpers/createFiatDepositHelper.js +17 -0
- package/lib/helpers/createFiatDepositHelper.test.js +39 -0
- package/lib/helpers/cryptoAddressValidationHelper/cryptoAddressValidationHelper.js +48 -0
- package/lib/helpers/cryptoAddressValidationHelper/cryptoAddressValidationHelper.test.js +384 -0
- package/lib/helpers/cssClassesHelper.js +54 -0
- package/lib/helpers/cssClassesHelper.test.js +34 -0
- package/lib/helpers/dataTestAttributeHelper.js +10 -0
- package/lib/helpers/dataTestAttributeHelper.test.js +33 -0
- package/lib/helpers/dateHelper.js +123 -0
- package/lib/helpers/dateHelper.test.js +79 -0
- package/lib/helpers/decimalPlaces/decimalPlacesHelper.js +30 -0
- package/lib/helpers/decimalPlaces/decimalPlacesHelper.test.js +35 -0
- package/lib/helpers/depositWithdrawalHelper.js +9 -0
- package/lib/helpers/destinationTagHelper.js +43 -0
- package/lib/helpers/destinationTagHelper.test.js +15 -0
- package/lib/helpers/downloadHelper.js +188 -0
- package/lib/helpers/emailLinksHelper.js +57 -0
- package/lib/helpers/errorTextFormatter.js +34 -0
- package/lib/helpers/errorTextFormatter.test.js +14 -0
- package/lib/helpers/fileHelpers.js +13 -0
- package/lib/helpers/filterSortSupportedInstruments.js +26 -0
- package/lib/helpers/filterSortSupportedInstruments.test.js +48 -0
- package/lib/helpers/filterSortSupportedProducts.js +26 -0
- package/lib/helpers/filterSortSupportedProducts.test.js +48 -0
- package/lib/helpers/formGeneratorHelper.js +257 -0
- package/lib/helpers/formGeneratorHelper.notest.js +203 -0
- package/lib/helpers/formTemplateHelper.js +169 -0
- package/lib/helpers/formTemplateHelper.notest.js +170 -0
- package/lib/helpers/formTemplateHelper.test.js +339 -0
- package/lib/helpers/formValidations.js +169 -0
- package/lib/helpers/formValidations.test.js +269 -0
- package/lib/helpers/format.js +10 -0
- package/lib/helpers/futuresHelper.js +31 -0
- package/lib/helpers/getLevelHelper.js +12 -0
- package/lib/helpers/getLevelHelper.test.js +18 -0
- package/lib/helpers/history.js +8 -0
- package/lib/helpers/homePageLayoutHelper.js +61 -0
- package/lib/helpers/homePageLayoutHelper.test.js +53 -0
- package/lib/helpers/indexHelper.js +109 -0
- package/lib/helpers/instrumentHelper.js +12 -0
- package/lib/helpers/kycFormHelper.js +27 -0
- package/lib/helpers/kycFormHelper.test.js +59 -0
- package/lib/helpers/level1Helper.js +14 -0
- package/lib/helpers/level1Helper.test.js +21 -0
- package/lib/helpers/marginHelper.js +102 -0
- package/lib/helpers/numberFormatter/index.js +27 -0
- package/lib/helpers/numberFormatter/numberFormatter.js +220 -0
- package/lib/helpers/numberFormatter/numberFormatter.test.js +199 -0
- package/lib/helpers/numberFormatter/parseNumber.js +97 -0
- package/lib/helpers/orderBook/priceGroupingHelper.js +139 -0
- package/lib/helpers/orderBook/priceGroupingHelper.test.js +165 -0
- package/lib/helpers/orderHelper.js +400 -0
- package/lib/helpers/orderHelper.test.js +663 -0
- package/lib/helpers/orderHistoryFilters.js +37 -0
- package/lib/helpers/orderHistoryFilters.test.js +48 -0
- package/lib/helpers/orderHistoryHelper.js +13 -0
- package/lib/helpers/orderHistoryHelper.test.js +113 -0
- package/lib/helpers/paginationHelper.js +25 -0
- package/lib/helpers/paginationHelper.test.js +26 -0
- package/lib/helpers/passwordScore.js +32 -0
- package/lib/helpers/passwordScore.test.js +26 -0
- package/lib/helpers/path.js +9 -0
- package/lib/helpers/placeOrderHelper.expiredOrders.test.js +48 -0
- package/lib/helpers/placeOrderHelper.js +270 -0
- package/lib/helpers/placeOrderHelper.test.js +495 -0
- package/lib/helpers/positionFormatter.js +48 -0
- package/lib/helpers/positionFormatter.test.js +41 -0
- package/lib/helpers/productHelper.js +35 -0
- package/lib/helpers/productHelper.test.js +66 -0
- package/lib/helpers/queryParamsHelper.js +14 -0
- package/lib/helpers/recalculateOrderFeeHelper.js +86 -0
- package/lib/helpers/recalculateOrderHelper.js +210 -0
- package/lib/helpers/recalculateOrderHelper.test.js +362 -0
- package/lib/helpers/recentActivityHelper.js +40 -0
- package/lib/helpers/redirectIfAuthorizedHelper.js +11 -0
- package/lib/helpers/reportsPayloadHelper.js +23 -0
- package/lib/helpers/reportsPayloadHelper.test.js +31 -0
- package/lib/helpers/scriptLoader.js +62 -0
- package/lib/helpers/snackbarHelper.js +12 -0
- package/lib/helpers/stringHelper.js +9 -0
- package/lib/helpers/themeHelper.js +71 -0
- package/lib/helpers/tickerHelper.js +305 -0
- package/lib/helpers/verificationRequiredHelper.js +20 -0
- package/lib/helpers/verificationRequiredHelper.test.js +62 -0
- package/lib/helpers/withdrawHelper.js +32 -0
- package/lib/helpers/withdrawHelper.test.js +101 -0
- package/lib/helpers/wsHelper.js +32 -0
- package/lib/helpers/wsHelper.test.js +63 -0
- package/lib/hocs/forVerified.js +36 -0
- package/lib/hocs/load.js +22 -0
- package/lib/hocs/modalDecorator.js +41 -0
- package/lib/hocs/modalDecorator.notest.js +74 -0
- package/lib/hocs/redirectIfAuthorized.js +47 -0
- package/lib/hocs/redirectIfAuthorized.notest.js +80 -0
- package/lib/hocs/resize.js +70 -0
- package/lib/hocs/resize.notest.js +37 -0
- package/lib/hocs/withAuthentication.js +51 -0
- package/lib/images/icons/Icon-search.svg +4 -0
- package/lib/images/icons/icon-account.svg +4 -0
- package/lib/images/icons/icon-activity.svg +17 -0
- package/lib/images/icons/icon-alert.svg +3 -0
- package/lib/images/icons/icon-arrow-down.svg +1 -0
- package/lib/images/icons/icon-arrow-next-thin.svg +3 -0
- package/lib/images/icons/icon-arrow-next.svg +3 -0
- package/lib/images/icons/icon-arrow-prev.svg +3 -0
- package/lib/images/icons/icon-arrow-up.svg +1 -0
- package/lib/images/icons/icon-balance.svg +4 -0
- package/lib/images/icons/icon-barcode.svg +8 -0
- package/lib/images/icons/icon-buy-big.svg +6 -0
- package/lib/images/icons/icon-buy.svg +6 -0
- package/lib/images/icons/icon-calculator.svg +3 -0
- package/lib/images/icons/icon-calendar.svg +3 -0
- package/lib/images/icons/icon-cancel.svg +3 -0
- package/lib/images/icons/icon-caret-next.svg +6 -0
- package/lib/images/icons/icon-caret-prev.svg +6 -0
- package/lib/images/icons/icon-center.svg +6 -0
- package/lib/images/icons/icon-check.svg +3 -0
- package/lib/images/icons/icon-checkbox.svg +4 -0
- package/lib/images/icons/icon-clear.svg +3 -0
- package/lib/images/icons/icon-close.svg +6 -0
- package/lib/images/icons/icon-contacts.svg +6 -0
- package/lib/images/icons/icon-copy.svg +12 -0
- package/lib/images/icons/icon-danger.svg +30 -0
- package/lib/images/icons/icon-deposit-with-border.svg +6 -0
- package/lib/images/icons/icon-deposit.svg +6 -0
- package/lib/images/icons/icon-double-caret-next.svg +6 -0
- package/lib/images/icons/icon-double-caret-prev.svg +6 -0
- package/lib/images/icons/icon-download.svg +3 -0
- package/lib/images/icons/icon-drag.svg +8 -0
- package/lib/images/icons/icon-dropdown.svg +3 -0
- package/lib/images/icons/icon-exchange.svg +3 -0
- package/lib/images/icons/icon-eye.svg +6 -0
- package/lib/images/icons/icon-friends.svg +3 -0
- package/lib/images/icons/icon-globe.svg +4 -0
- package/lib/images/icons/icon-heart.svg +6 -0
- package/lib/images/icons/icon-info.svg +3 -0
- package/lib/images/icons/icon-key-big.svg +10 -0
- package/lib/images/icons/icon-key.svg +6 -0
- package/lib/images/icons/icon-margin-nav-notification.svg +3 -0
- package/lib/images/icons/icon-menu-toggle.svg +3 -0
- package/lib/images/icons/icon-menu.svg +3 -0
- package/lib/images/icons/icon-nav-activity.svg +10 -0
- package/lib/images/icons/icon-nav-assets.svg +6 -0
- package/lib/images/icons/icon-nav-buy-sell.svg +3 -0
- package/lib/images/icons/icon-nav-dashboard-on.svg +6 -0
- package/lib/images/icons/icon-nav-fixed-term.svg +3 -0
- package/lib/images/icons/icon-nav-futures.svg +9 -0
- package/lib/images/icons/icon-nav-margin.svg +13 -0
- package/lib/images/icons/icon-nav-notification.svg +7 -0
- package/lib/images/icons/icon-nav-open-term.svg +7 -0
- package/lib/images/icons/icon-nav-settings.svg +7 -0
- package/lib/images/icons/icon-nav-spot.svg +14 -0
- package/lib/images/icons/icon-nav-streaming.svg +11 -0
- package/lib/images/icons/icon-nav-trading.svg +11 -0
- package/lib/images/icons/icon-nav-user.svg +6 -0
- package/lib/images/icons/icon-nav-wallet.svg +5 -0
- package/lib/images/icons/icon-open-buy-big.svg +6 -0
- package/lib/images/icons/icon-open-sell-big.svg +6 -0
- package/lib/images/icons/icon-orderbook-both.svg +5 -0
- package/lib/images/icons/icon-orderbook-buy.svg +6 -0
- package/lib/images/icons/icon-orderbook-sell.svg +6 -0
- package/lib/images/icons/icon-paint.svg +3 -0
- package/lib/images/icons/icon-pending.svg +6 -0
- package/lib/images/icons/icon-plus-minus.svg +13 -0
- package/lib/images/icons/icon-profile.svg +5 -0
- package/lib/images/icons/icon-receive-with-border.svg +6 -0
- package/lib/images/icons/icon-receive.svg +6 -0
- package/lib/images/icons/icon-refresh.svg +3 -0
- package/lib/images/icons/icon-reports.svg +6 -0
- package/lib/images/icons/icon-security.svg +8 -0
- package/lib/images/icons/icon-sell-big.svg +6 -0
- package/lib/images/icons/icon-sell.svg +6 -0
- package/lib/images/icons/icon-send-with-border.svg +6 -0
- package/lib/images/icons/icon-send.svg +6 -0
- package/lib/images/icons/icon-settings.svg +6 -0
- package/lib/images/icons/icon-simple-check.svg +6 -0
- package/lib/images/icons/icon-star.svg +3 -0
- package/lib/images/icons/icon-stop.svg +4 -0
- package/lib/images/icons/icon-tasks.svg +6 -0
- package/lib/images/icons/icon-transfer.svg +4 -0
- package/lib/images/icons/icon-wallet.svg +6 -0
- package/lib/images/icons/icon-withdraw-with-border.svg +6 -0
- package/lib/images/icons/icon-withdraw.svg +6 -0
- package/lib/images/icons/logo-powered.svg +7 -0
- package/lib/images/icons/logo.svg +5 -0
- package/lib/images/login-background-light.svg +6 -0
- package/lib/images/login-background.svg +15 -0
- package/lib/index.js +52 -0
- package/lib/layouts/ActivityPage/ActivityPage.js +19 -0
- package/lib/layouts/AffiliateLayout/AffiliateLayout.css +117 -0
- package/lib/layouts/AffiliateLayout/AffiliateLayout.js +53 -0
- package/lib/layouts/AffiliateLayout/AffiliateLayoutContainer.js +18 -0
- package/lib/layouts/ApikeysLayout/ApiKeysLayout.css +118 -0
- package/lib/layouts/ApikeysLayout/ApiKeysLayout.js +44 -0
- package/lib/layouts/AssetActivityDetailsLayout/AssetActivityDetailsLayout.js +39 -0
- package/lib/layouts/BalancesListLayout/BalancesListLayout.css +47 -0
- package/lib/layouts/BalancesListLayout/BalancesListLayout.js +23 -0
- package/lib/layouts/BuySellAltLayout/BuySellAltLayout.js +65 -0
- package/lib/layouts/BuySellLayout/BuySellLayout.js +63 -0
- package/lib/layouts/ComponentRow/ComponentRow.js +24 -0
- package/lib/layouts/ComponentRow/ComponentRowDual7030.css +13 -0
- package/lib/layouts/ComponentRow/ComponentRowDual7030.js +23 -0
- package/lib/layouts/ComponentRow/ComponentRowDual8020.css +13 -0
- package/lib/layouts/ComponentRow/ComponentRowDual8020.js +23 -0
- package/lib/layouts/ComponentRow/ComponentRowSingle.css +21 -0
- package/lib/layouts/ComponentRow/ComponentRowSingle.js +30 -0
- package/lib/layouts/ConvertLayout/ConvertLayout.js +65 -0
- package/lib/layouts/DualFluidHeaderFixContent/DualFluidHeaderFixedContentLayout.css +31 -0
- package/lib/layouts/DualFluidHeaderFixContent/DualFluidHeaderFixedContentLayout.js +23 -0
- package/lib/layouts/DualHeaderLayouts/DualHeaderDashboardLayout.css +79 -0
- package/lib/layouts/DualHeaderLayouts/DualHeaderDashboardLayout.js +32 -0
- package/lib/layouts/EmailLinksLayout.js +68 -0
- package/lib/layouts/EotcBuySellLayout/EotcBuySellLayout.js +64 -0
- package/lib/layouts/FixedLeftFluidLayout/FixedLeftFluidLayout.css +53 -0
- package/lib/layouts/FixedLeftFluidLayout/FixedLeftFluidLayout.js +25 -0
- package/lib/layouts/HeaderLayout/HeaderLayout.js +15 -0
- package/lib/layouts/HomePageLayout.js +74 -0
- package/lib/layouts/HomePageLayout.notest.js +65 -0
- package/lib/layouts/MarketOverviewLayout/MarketOverviewLayout.css +35 -0
- package/lib/layouts/MarketOverviewLayout/MarketOverviewLayout.js +23 -0
- package/lib/layouts/ProfileAndSecurityLayout/ProfileAndSecurityLayout.css +162 -0
- package/lib/layouts/ProfileAndSecurityLayout/ProfileAndSecurityLayout.js +42 -0
- package/lib/layouts/Responsive/BuySellAltLayout/BuySellDesktopLayout.css +59 -0
- package/lib/layouts/Responsive/BuySellAltLayout/BuySellDesktopLayout.js +56 -0
- package/lib/layouts/Responsive/BuySellAltLayout/BuySellMobileLayout.css +13 -0
- package/lib/layouts/Responsive/BuySellAltLayout/BuySellMobileLayout.js +39 -0
- package/lib/layouts/Responsive/BuySellAltLayout/index.js +20 -0
- package/lib/layouts/Responsive/BuySellLayout/BuySellDesktopLayout.css +152 -0
- package/lib/layouts/Responsive/BuySellLayout/BuySellDesktopLayout.js +43 -0
- package/lib/layouts/Responsive/BuySellLayout/BuySellMobileLayout.css +19 -0
- package/lib/layouts/Responsive/BuySellLayout/BuySellMobileLayout.js +33 -0
- package/lib/layouts/Responsive/BuySellLayout/BuySellTabletsLayout.css +36 -0
- package/lib/layouts/Responsive/BuySellLayout/BuySellTabletsLayout.js +35 -0
- package/lib/layouts/Responsive/BuySellLayout/index.js +27 -0
- package/lib/layouts/Responsive/ConvertLayout/ConvertDesktopLayout.css +154 -0
- package/lib/layouts/Responsive/ConvertLayout/ConvertDesktopLayout.js +29 -0
- package/lib/layouts/Responsive/ConvertLayout/ConvertMobileLayout.css +19 -0
- package/lib/layouts/Responsive/ConvertLayout/ConvertMobileLayout.js +24 -0
- package/lib/layouts/Responsive/ConvertLayout/ConvertTabletsLayout.css +36 -0
- package/lib/layouts/Responsive/ConvertLayout/ConvertTabletsLayout.js +24 -0
- package/lib/layouts/Responsive/ConvertLayout/index.js +27 -0
- package/lib/layouts/Responsive/EotcBuySellLayout/EotcBuySellDesktopLayout.css +145 -0
- package/lib/layouts/Responsive/EotcBuySellLayout/EotcBuySellDesktopLayout.js +45 -0
- package/lib/layouts/Responsive/EotcBuySellLayout/EotcBuySellMobileLayout.css +13 -0
- package/lib/layouts/Responsive/EotcBuySellLayout/EotcBuySellMobileLayout.js +35 -0
- package/lib/layouts/Responsive/EotcBuySellLayout/EotcBuySellTabletsLayout.css +30 -0
- package/lib/layouts/Responsive/EotcBuySellLayout/EotcBuySellTabletsLayout.js +37 -0
- package/lib/layouts/Responsive/EotcBuySellLayout/index.js +27 -0
- package/lib/layouts/Responsive/RetailBuySellAltLayout/RetailBuySellDesktopLayout.css +53 -0
- package/lib/layouts/Responsive/RetailBuySellAltLayout/RetailBuySellDesktopLayout.js +1 -0
- package/lib/layouts/Responsive/RetailBuySellAltLayout/RetailBuySellMobileLayout.js +1 -0
- package/lib/layouts/Responsive/TrandingLayout/TradingLayoutCharts1280Px.js +68 -0
- package/lib/layouts/Responsive/TrandingLayout/TradingLayoutContent1280Px.js +138 -0
- package/lib/layouts/Responsive/TrandingLayout/TradingLayoutContent1440Px.js +110 -0
- package/lib/layouts/Responsive/TrandingLayout/TradingLayoutContent480Px.js +63 -0
- package/lib/layouts/SettingsLayout/ChildrenLayouts/LoyaltyTokenLayout.css +29 -0
- package/lib/layouts/SettingsLayout/ChildrenLayouts/LoyaltyTokenLayout.js +25 -0
- package/lib/layouts/SettingsLayout/SettingsLayout.css +38 -0
- package/lib/layouts/SettingsLayout/SettingsLayout.js +26 -0
- package/lib/layouts/SimpleTradingLayout/SimpleTradingLayout.css +60 -0
- package/lib/layouts/SimpleTradingLayout/SimpleTradingLayout.js +43 -0
- package/lib/layouts/SingleFluidFixedContent/SingleFluidFixedContentLayout.css +16 -0
- package/lib/layouts/SingleFluidFixedContent/SingleFluidFixedContentLayout.js +20 -0
- package/lib/layouts/SingleFluidHeaderFixedContent/SingleFluidHeaderFixedContent.js +21 -0
- package/lib/layouts/SingleFluidHeaderFixedContent/SingleFluidHeaderFixedContentLayout.css +26 -0
- package/lib/layouts/StandAloneKyc.js +18 -0
- package/lib/layouts/StandAloneLayout/StandAloneLayout.css +34 -0
- package/lib/layouts/StandAloneLayout/StandAloneLayout.js +21 -0
- package/lib/layouts/StreamingLayouts/StreamingLayout.css +107 -0
- package/lib/layouts/StreamingLayouts/StreamingLayout.js +29 -0
- package/lib/layouts/StyleGuide.js +377 -0
- package/lib/layouts/TradeReportLayout/TradeReportLayout.css +103 -0
- package/lib/layouts/TradeReportLayout/TradeReportLayout.js +41 -0
- package/lib/layouts/TradingLayout/TradingLayout.css +137 -0
- package/lib/layouts/TradingLayout/TradingLayout.js +88 -0
- package/lib/layouts/TradingLayout/TradingLayoutContainer.js +21 -0
- package/lib/layouts/UserContactsLayout/UserContactsLayout.css +96 -0
- package/lib/layouts/UserContactsLayout/UserContactsLayout.js +33 -0
- package/lib/layouts/WalletDetailsLayout/WalletDetailsLayout.css +47 -0
- package/lib/layouts/WalletDetailsLayout/WalletDetailsLayout.js +35 -0
- package/lib/layouts/WalletsLayout/LabelWithSearch.css +22 -0
- package/lib/layouts/WalletsLayout/LabelWithSearch.js +44 -0
- package/lib/layouts/WalletsLayout/WalletsLayout.css +262 -0
- package/lib/layouts/WalletsLayout/WalletsLayout.js +125 -0
- package/lib/layouts/WalletsLayout/WalletsLayoutContainer.js +52 -0
- package/lib/logo.svg +7 -0
- package/lib/propTypes/commonComponent.js +14 -0
- package/lib/propTypes/instrumentPropTypes.js +26 -0
- package/lib/propTypes/kycConfigShapePropTypes.js +26 -0
- package/lib/propTypes/level1Data.js +26 -0
- package/lib/propTypes/sendReceiveComponent.js +14 -0
- package/lib/redux/actions/affiliateActions.js +132 -0
- package/lib/redux/actions/affiliateActions.test.js +231 -0
- package/lib/redux/actions/apiActions.js +126 -0
- package/lib/redux/actions/apiKeyActions.js +174 -0
- package/lib/redux/actions/apiKeyActions.test.js +271 -0
- package/lib/redux/actions/appActions.js +18 -0
- package/lib/redux/actions/authActions.js +351 -0
- package/lib/redux/actions/authActions.test.js +472 -0
- package/lib/redux/actions/buySellActions.js +14 -0
- package/lib/redux/actions/confirmWithdrawActions.js +141 -0
- package/lib/redux/actions/confirmWithdrawActions.test.js +90 -0
- package/lib/redux/actions/depositActions.js +503 -0
- package/lib/redux/actions/depositActions.test.js +789 -0
- package/lib/redux/actions/eotcActions.js +94 -0
- package/lib/redux/actions/eotcActions.test.js +174 -0
- package/lib/redux/actions/eotcSettlementActions.js +70 -0
- package/lib/redux/actions/eotcSettlementActions.test.js +167 -0
- package/lib/redux/actions/eotcWithdrawActions.js +183 -0
- package/lib/redux/actions/eotcWithdrawActions.test.js +218 -0
- package/lib/redux/actions/instrumentActions.js +267 -0
- package/lib/redux/actions/instrumentActions.test.js +318 -0
- package/lib/redux/actions/interestAccountActions.js +194 -0
- package/lib/redux/actions/kycActions.js +75 -0
- package/lib/redux/actions/kycActions.test.js +211 -0
- package/lib/redux/actions/kycIdentityMindActions.js +173 -0
- package/lib/redux/actions/kycIdentityMindActions.test.js +572 -0
- package/lib/redux/actions/kycJumioActions.js +40 -0
- package/lib/redux/actions/kycJumioActions.test.js +138 -0
- package/lib/redux/actions/kycManualActions.js +68 -0
- package/lib/redux/actions/kycManualActions.test.js +171 -0
- package/lib/redux/actions/languageActions.test.js +105 -0
- package/lib/redux/actions/level1Actions.js +91 -0
- package/lib/redux/actions/level1Actions.test.js +132 -0
- package/lib/redux/actions/level2Actions.js +56 -0
- package/lib/redux/actions/level2Actions.test.js +142 -0
- package/lib/redux/actions/lifeCycleActions.js +12 -0
- package/lib/redux/actions/loyaltyFeeActions.js +68 -0
- package/lib/redux/actions/loyaltyFeeActions.test.js +123 -0
- package/lib/redux/actions/marketStateUpdateActions.js +56 -0
- package/lib/redux/actions/marketStateUpdateActions.test.js +87 -0
- package/lib/redux/actions/modalActions.js +71 -0
- package/lib/redux/actions/modalActions.test.js +19 -0
- package/lib/redux/actions/orderEntryActions.js +518 -0
- package/lib/redux/actions/orderEntryActions.test.js +619 -0
- package/lib/redux/actions/orderHistoryActions.expiredOrders.test.js +110 -0
- package/lib/redux/actions/orderHistoryActions.js +675 -0
- package/lib/redux/actions/orderHistoryActions.test.js +643 -0
- package/lib/redux/actions/orderHistoryActions.v2.test.js +159 -0
- package/lib/redux/actions/paginationActions.js +13 -0
- package/lib/redux/actions/paginationActions.test.js +18 -0
- package/lib/redux/actions/positionActions.js +105 -0
- package/lib/redux/actions/positionActions.test.js +173 -0
- package/lib/redux/actions/productActions.js +81 -0
- package/lib/redux/actions/productActions.test.js +77 -0
- package/lib/redux/actions/productManifestActions.js +55 -0
- package/lib/redux/actions/productManifestActions.test.js +66 -0
- package/lib/redux/actions/recentTradesActions.js +94 -0
- package/lib/redux/actions/recentTradesActions.test.js +148 -0
- package/lib/redux/actions/regionFormActions.js +20 -0
- package/lib/redux/actions/regionFormActions.test.js +65 -0
- package/lib/redux/actions/reportActions.js +298 -0
- package/lib/redux/actions/reportActions.test.js +376 -0
- package/lib/redux/actions/resetPasswordActions.js +89 -0
- package/lib/redux/actions/resetPasswordActions.test.js +116 -0
- package/lib/redux/actions/sendOrder.test.js +228 -0
- package/lib/redux/actions/sidePaneActions.js +105 -0
- package/lib/redux/actions/sidePaneActions.test.js +76 -0
- package/lib/redux/actions/signupActions.js +124 -0
- package/lib/redux/actions/signupActions.test.js +176 -0
- package/lib/redux/actions/snackbarActions.js +53 -0
- package/lib/redux/actions/snackbarActions.test.js +76 -0
- package/lib/redux/actions/spotAccountInfo.js +82 -0
- package/lib/redux/actions/tickersActions.js +96 -0
- package/lib/redux/actions/tickersActions.test.js +170 -0
- package/lib/redux/actions/transferActions.js +305 -0
- package/lib/redux/actions/transferActions.test.js +329 -0
- package/lib/redux/actions/transferActions.v2.test.js +526 -0
- package/lib/redux/actions/transferRequestActions.js +209 -0
- package/lib/redux/actions/transferRequestActions.test.js +240 -0
- package/lib/redux/actions/userActions.js +870 -0
- package/lib/redux/actions/userActions.test.js +1423 -0
- package/lib/redux/actions/userProfileFormActions.js +73 -0
- package/lib/redux/actions/userProfileFormActions.test.js +115 -0
- package/lib/redux/actions/verifyEmailActions.js +53 -0
- package/lib/redux/actions/verifyEmailActions.test.js +90 -0
- package/lib/redux/actions/viewSelectorActions.js +18 -0
- package/lib/redux/actions/viewSelectorActions.test.js +19 -0
- package/lib/redux/actions/withdrawActions.js +489 -0
- package/lib/redux/actions/withdrawActions.test.js +630 -0
- package/lib/redux/actions/withdrawActions.travelRule.test.js +382 -0
- package/lib/redux/actions/wsConnectionActions.js +61 -0
- package/lib/redux/actions/wsConnectionActions.test.js +81 -0
- package/lib/redux/apexCore.js +25 -0
- package/lib/redux/futures/actions/futuresActions.js +576 -0
- package/lib/redux/futures/actions/futuresInstrumentsActions.js +105 -0
- package/lib/redux/futures/actions/futuresLevel1Actions.js +103 -0
- package/lib/redux/futures/actions/futuresLevel2Actions.js +130 -0
- package/lib/redux/futures/actions/futuresLeverageActions.js +78 -0
- package/lib/redux/futures/actions/futuresOrderFormActions.js +116 -0
- package/lib/redux/futures/actions/futuresOrdersActions.js +338 -0
- package/lib/redux/futures/actions/futuresPositionsActions.js +350 -0
- package/lib/redux/futures/actions/futuresRecentTradesActions.js +91 -0
- package/lib/redux/futures/actions/futuresTickersActions.js +105 -0
- package/lib/redux/futures/actions/index.js +71 -0
- package/lib/redux/futures/reducers/futuresAccountInfoReducer.js +46 -0
- package/lib/redux/futures/reducers/futuresAccountMaxQuantityReducer.js +40 -0
- package/lib/redux/futures/reducers/futuresBalancesReducer.js +51 -0
- package/lib/redux/futures/reducers/futuresContractDetailsReducer.js +54 -0
- package/lib/redux/futures/reducers/futuresInstrumentsReducer.js +49 -0
- package/lib/redux/futures/reducers/futuresKVPInfoReducer.js +31 -0
- package/lib/redux/futures/reducers/futuresLevel1Reducer.js +62 -0
- package/lib/redux/futures/reducers/futuresLevel2Reducer.js +140 -0
- package/lib/redux/futures/reducers/futuresLeveragesReducer.js +62 -0
- package/lib/redux/futures/reducers/futuresOrderCostReducer.js +27 -0
- package/lib/redux/futures/reducers/futuresOrdersReducer.js +83 -0
- package/lib/redux/futures/reducers/futuresPositionsReducer.js +65 -0
- package/lib/redux/futures/reducers/futuresProductsReducer.js +22 -0
- package/lib/redux/futures/reducers/futuresRecentTradesReducer.js +67 -0
- package/lib/redux/futures/reducers/futuresReducer.js +41 -0
- package/lib/redux/futures/reducers/futuresTickersReducer.js +55 -0
- package/lib/redux/futures/reducers/systemFuturesEnabledReducer.js +18 -0
- package/lib/redux/futures/selectors/futuresInstrumentsSelector.js +53 -0
- package/lib/redux/futures/selectors/futuresInstrumentsSelector.test.js +69 -0
- package/lib/redux/futures/selectors/futuresLeverageSelectors.js +28 -0
- package/lib/redux/futures/selectors/futuresOrdersSelectors.js +343 -0
- package/lib/redux/futures/selectors/futuresPositionsSelectors.js +68 -0
- package/lib/redux/futures/selectors/futuresProductSelectors.js +51 -0
- package/lib/redux/futures/selectors/futuresSelectors.js +103 -0
- package/lib/redux/futures/selectors/futuresTickersSelectors.js +44 -0
- package/lib/redux/futures/selectors/index.js +60 -0
- package/lib/redux/futures/services/BaseFuturesSubscriptionService.js +43 -0
- package/lib/redux/futures/services/FuturesAccountSummarySubscriptionService.js +45 -0
- package/lib/redux/futures/services/FuturesBalancesSubsciptionService.js +45 -0
- package/lib/redux/futures/services/FuturesLevel1SubscriptionService.js +82 -0
- package/lib/redux/futures/services/FuturesLevel2SubscriptionService.js +148 -0
- package/lib/redux/futures/services/FuturesOrderStateSubscriptionService.js +65 -0
- package/lib/redux/futures/services/FuturesPositionSubscriptionService.js +45 -0
- package/lib/redux/futures/services/FuturesRecentTradesSubscriptionService.js +134 -0
- package/lib/redux/futures/services/FuturesTickersSubscriptionService.js +120 -0
- package/lib/redux/margin/actionTypes.js +64 -0
- package/lib/redux/margin/actions/index.js +38 -0
- package/lib/redux/margin/actions/marginActions.js +560 -0
- package/lib/redux/margin/actions/marginActions.test.js +118 -0
- package/lib/redux/margin/actions/marginHistoryActions.js +368 -0
- package/lib/redux/margin/actions/marginHistoryActions.test.js +327 -0
- package/lib/redux/margin/actions/marginNavNotificationActions.js +21 -0
- package/lib/redux/margin/actions/marginOrderActions.js +153 -0
- package/lib/redux/margin/middlewares/marginNotificationsMiddleware.js +25 -0
- package/lib/redux/margin/reducers/marginAccountEquityReducer.js +22 -0
- package/lib/redux/margin/reducers/marginAccountInfoReducer.js +28 -0
- package/lib/redux/margin/reducers/marginBalancesReducer.js +49 -0
- package/lib/redux/margin/reducers/marginHistoryReducer.js +78 -0
- package/lib/redux/margin/reducers/marginHistoryReducer.test.js +166 -0
- package/lib/redux/margin/reducers/marginInstrumentReducer.js +36 -0
- package/lib/redux/margin/reducers/marginInstrumentVerificationLevelConfigsReducer.js +36 -0
- package/lib/redux/margin/reducers/marginKVPInfoReducer.js +31 -0
- package/lib/redux/margin/reducers/marginLeveragesReducer.js +54 -0
- package/lib/redux/margin/reducers/marginNavNotificationReducer.js +21 -0
- package/lib/redux/margin/reducers/marginNotificationsReducer.js +98 -0
- package/lib/redux/margin/reducers/marginProductsReducer.js +23 -0
- package/lib/redux/margin/reducers/marginReducer.js +35 -0
- package/lib/redux/margin/reducers/marginTransferAmountsReducer.js +37 -0
- package/lib/redux/margin/reducers/systemMarginEnabledReducer.js +17 -0
- package/lib/redux/margin/selectors/index.js +49 -0
- package/lib/redux/margin/selectors/marginHistorySelectors.js +62 -0
- package/lib/redux/margin/selectors/marginHistorySelectors.test.js +125 -0
- package/lib/redux/margin/selectors/marginInstrumentSelectors.js +19 -0
- package/lib/redux/margin/selectors/marginOrderSelectors.js +43 -0
- package/lib/redux/margin/selectors/marginOrderSelectors.test.js +340 -0
- package/lib/redux/margin/selectors/marginProductSelectors.js +50 -0
- package/lib/redux/margin/selectors/marginSelectors.js +121 -0
- package/lib/redux/margin/services/MarginAccountBalanceStateSubscriptionService.js +45 -0
- package/lib/redux/margin/services/MarginAccountBalanceSummaryStateSubscriptionService.js +45 -0
- package/lib/redux/margin/services/MarginAccountLiquidationSubscriptionService.js +54 -0
- package/lib/redux/margin/services/MarginCallSubscriptionService.js +45 -0
- package/lib/redux/margin/services/MarginPositionSubscriptionService.js +45 -0
- package/lib/redux/middlewares/authMiddleware.js +140 -0
- package/lib/redux/middlewares/authMiddleware.test.js +200 -0
- package/lib/redux/middlewares/eotcMiddleware.js +50 -0
- package/lib/redux/middlewares/level2monitorMiddleware.js +304 -0
- package/lib/redux/middlewares/orderFeeMiddleware.js +100 -0
- package/lib/redux/middlewares/orderFeeMiddleware.test.js +194 -0
- package/lib/redux/middlewares/placeOrderMiddleware.js +64 -0
- package/lib/redux/middlewares/placeOrderMiddleware.test.js +142 -0
- package/lib/redux/middlewares/priceQuantityIncrementMiddleware.js +55 -0
- package/lib/redux/middlewares/snackOverrideMiddleware.js +31 -0
- package/lib/redux/middlewares/startupMiddleware.js +28 -0
- package/lib/redux/middlewares/startupMiddleware.test.js +102 -0
- package/lib/redux/middlewares/wsConnectionMiddleware.js +64 -0
- package/lib/redux/middlewares/wsConnectionMiddleware.test.js +140 -0
- package/lib/redux/reducers/VerifyEmailReducer.test.js +33 -0
- package/lib/redux/reducers/affiliateReducer.js +39 -0
- package/lib/redux/reducers/affiliateReducer.test.js +36 -0
- package/lib/redux/reducers/apiKeyReducer.js +65 -0
- package/lib/redux/reducers/apiKeyReducer.test.js +49 -0
- package/lib/redux/reducers/apiProcessingReducer.js +91 -0
- package/lib/redux/reducers/apiProcessingReducer.test.js +98 -0
- package/lib/redux/reducers/apiReducer.js +31 -0
- package/lib/redux/reducers/authReducer.js +48 -0
- package/lib/redux/reducers/authReducer.test.js +137 -0
- package/lib/redux/reducers/baseNotionalProductReducer.js +32 -0
- package/lib/redux/reducers/confirmWithdrawReducer.js +34 -0
- package/lib/redux/reducers/confirmWithdrawReducer.test.js +33 -0
- package/lib/redux/reducers/depositReducer.js +134 -0
- package/lib/redux/reducers/depositReducer.test.js +116 -0
- package/lib/redux/reducers/eotcPriceReducer.js +68 -0
- package/lib/redux/reducers/eotcReducer.js +44 -0
- package/lib/redux/reducers/eotcSettlementReducer.js +44 -0
- package/lib/redux/reducers/eotcWithdrawReducer.js +49 -0
- package/lib/redux/reducers/eotcWithdrawReducer.test.js +50 -0
- package/lib/redux/reducers/instrumentReducer.js +48 -0
- package/lib/redux/reducers/instrumentReducer.test.js +38 -0
- package/lib/redux/reducers/interestBearingAccountsReducer.js +50 -0
- package/lib/redux/reducers/level1Reducer.js +39 -0
- package/lib/redux/reducers/level1Reducer.test.js +29 -0
- package/lib/redux/reducers/level2Reducer.js +133 -0
- package/lib/redux/reducers/level2Reducer.test.js +589 -0
- package/lib/redux/reducers/loyaltyFeeReducer.js +40 -0
- package/lib/redux/reducers/modalReducer.js +33 -0
- package/lib/redux/reducers/modalReducer.test.js +32 -0
- package/lib/redux/reducers/orderHistoryReducer.expiredOrders.test.js +77 -0
- package/lib/redux/reducers/orderHistoryReducer.js +175 -0
- package/lib/redux/reducers/orderHistoryReducer.test.js +219 -0
- package/lib/redux/reducers/orderHistoryReducer.v2.test.js +81 -0
- package/lib/redux/reducers/paginationReducer.js +31 -0
- package/lib/redux/reducers/paginationReducer.test.js +26 -0
- package/lib/redux/reducers/positionReducer.js +53 -0
- package/lib/redux/reducers/positionReducer.test.js +128 -0
- package/lib/redux/reducers/productAttributesReducer.js +34 -0
- package/lib/redux/reducers/productManifestReducer.js +42 -0
- package/lib/redux/reducers/productManifestReducer.test.js +65 -0
- package/lib/redux/reducers/productReducer.js +39 -0
- package/lib/redux/reducers/recentTradesReducer.js +67 -0
- package/lib/redux/reducers/recentTradesReducer.test.js +93 -0
- package/lib/redux/reducers/reportReducer.js +60 -0
- package/lib/redux/reducers/reportReducer.test.js +38 -0
- package/lib/redux/reducers/resetPasswordReducer.js +45 -0
- package/lib/redux/reducers/resetPasswordReducer.test.js +34 -0
- package/lib/redux/reducers/sidePaneReducer.js +34 -0
- package/lib/redux/reducers/sidePaneReducer.test.js +33 -0
- package/lib/redux/reducers/signupReducer.js +36 -0
- package/lib/redux/reducers/signupReducer.test.js +68 -0
- package/lib/redux/reducers/snackbarReducer.js +37 -0
- package/lib/redux/reducers/snackbarReducer.test.js +101 -0
- package/lib/redux/reducers/spotAccountInfo.js +38 -0
- package/lib/redux/reducers/tickersReducer.js +58 -0
- package/lib/redux/reducers/tickersReducer.test.js +38 -0
- package/lib/redux/reducers/transferReducer.js +44 -0
- package/lib/redux/reducers/transferReduser.test.js +54 -0
- package/lib/redux/reducers/transferRequestReducer.js +49 -0
- package/lib/redux/reducers/transferRequestReducer.test.js +93 -0
- package/lib/redux/reducers/transferRequestRequestedReducer.js +36 -0
- package/lib/redux/reducers/transferRequestRequestedReducer.test.js +34 -0
- package/lib/redux/reducers/userReducer.js +106 -0
- package/lib/redux/reducers/userReducer.test.js +128 -0
- package/lib/redux/reducers/verifyAddressReducer.js +34 -0
- package/lib/redux/reducers/verifyDeviceReducer.js +34 -0
- package/lib/redux/reducers/verifyEmailReducer.js +34 -0
- package/lib/redux/reducers/withdrawReducer.js +123 -0
- package/lib/redux/reducers/withdrawReducer.test.js +167 -0
- package/lib/redux/reducers/wsConnectionReducer.js +34 -0
- package/lib/redux/reducers/wsConnectionReducer.test.js +26 -0
- package/lib/redux/selectors/allOpenOrdersSelector.test.js +186 -0
- package/lib/redux/selectors/baseCurrenciesSelectors.js +135 -0
- package/lib/redux/selectors/baseCurrenciesSelectors.test.js +200 -0
- package/lib/redux/selectors/buySellSelectors.js +231 -0
- package/lib/redux/selectors/buySellSelectors.test.js +738 -0
- package/lib/redux/selectors/depositWithdrawalSelectors.js +148 -0
- package/lib/redux/selectors/depositWithdrawalSelectors.test.js +222 -0
- package/lib/redux/selectors/digitalAssetsSelectors.js +54 -0
- package/lib/redux/selectors/eotcBalancesListSelector.js +104 -0
- package/lib/redux/selectors/eotcBalancesListSelector.test.js +368 -0
- package/lib/redux/selectors/instrumentPositionSelectors.js +140 -0
- package/lib/redux/selectors/instrumentPositionSelectors.test.js +288 -0
- package/lib/redux/selectors/interestBearingAccountsSelectors.js +64 -0
- package/lib/redux/selectors/kycLevelsSelectors.js +87 -0
- package/lib/redux/selectors/kycLevelsSelectors.test.js +184 -0
- package/lib/redux/selectors/level2Selectors.js +90 -0
- package/lib/redux/selectors/level2Selectors.test.js +424 -0
- package/lib/redux/selectors/loyaltyTokenSelectors.js +44 -0
- package/lib/redux/selectors/loyaltyTokenSelectors.test.js +78 -0
- package/lib/redux/selectors/marginHistorySelectors.js +90 -0
- package/lib/redux/selectors/marginHistorySelectors.test.js +127 -0
- package/lib/redux/selectors/openOrdersActivitySelector.js +62 -0
- package/lib/redux/selectors/openOrdersActivitySelector.test.js +104 -0
- package/lib/redux/selectors/orderEntrySelector.js +188 -0
- package/lib/redux/selectors/orderHistorySelectors.js +308 -0
- package/lib/redux/selectors/orderHistorySelectors.test.js +823 -0
- package/lib/redux/selectors/orderTotalSelector.test.js +139 -0
- package/lib/redux/selectors/positionSelectors.js +39 -0
- package/lib/redux/selectors/positionSelectors.test.js +88 -0
- package/lib/redux/selectors/productPositionSelectors.js +71 -0
- package/lib/redux/selectors/productPositionSelectors.test.js +304 -0
- package/lib/redux/selectors/productsSelectors.js +49 -0
- package/lib/redux/selectors/productsSelectors.test.js +26 -0
- package/lib/redux/selectors/recentActivitySelector.js +86 -0
- package/lib/redux/selectors/recentActivitySelector.test.js +725 -0
- package/lib/redux/selectors/recentActivitySelector.v2.test.js +167 -0
- package/lib/redux/selectors/recentTradesSelectors.js +61 -0
- package/lib/redux/selectors/recentTradesSelectors.test.js +113 -0
- package/lib/redux/selectors/reportSelectors.js +19 -0
- package/lib/redux/selectors/reportSelectors.test.js +43 -0
- package/lib/redux/selectors/transferSelectors.js +15 -0
- package/lib/redux/selectors/transferSelectors.test.js +23 -0
- package/lib/redux/selectors/transfersTableSelectors.js +94 -0
- package/lib/redux/selectors/transfersTableSelectors.test.js +179 -0
- package/lib/redux/selectors/userSelectors.js +50 -0
- package/lib/redux/selectors/userSelectors.test.js +56 -0
- package/lib/redux/store.js +106 -0
- package/lib/registerServiceWorker.js +95 -0
- package/lib/routeTemplates/EotcTemplate.js +274 -0
- package/lib/routeTemplates/advancedTemplate.js +80 -0
- package/lib/routeTemplates/basicTradingTemplate.js +240 -0
- package/lib/routeTemplates/index.js +95 -0
- package/lib/routeTemplates/londonTemplate.js +122 -0
- package/lib/routeTemplates/milanAltTemplate.js +233 -0
- package/lib/routeTemplates/retailTemplate.js +257 -0
- package/lib/routeTemplates/routeTemplates.test.js +67 -0
- package/lib/routeTemplates/settingsRoutes.js +196 -0
- package/lib/routeTemplates/v3standardTemplate.js +279 -0
- package/lib/services/fms/fms.js +85 -0
- package/lib/services/fms/fms.test.js +60 -0
- package/lib/services/subscriptions/AccountEventsSubscriptionService.js +65 -0
- package/lib/services/subscriptions/AccountPositionSummaryEventSubscriptionService.js +62 -0
- package/lib/services/subscriptions/BaseSubscriptionService.js +76 -0
- package/lib/services/subscriptions/LogoutEventSubscriptionService.js +42 -0
- package/lib/services/subscriptions/PriceUpdateSubscriptionService.js +66 -0
- package/lib/services/subscriptions/accountPositionSubscriptionService.js +48 -0
- package/lib/services/subscriptions/accountPositionSubscriptionService.test.js +71 -0
- package/lib/services/subscriptions/depositSubscriptionService.js +45 -0
- package/lib/services/subscriptions/level1SubscriptionService.js +76 -0
- package/lib/services/subscriptions/level2SubscriptionService.js +154 -0
- package/lib/services/subscriptions/loyaltyFeeConfigsSubscriptionService.js +72 -0
- package/lib/services/subscriptions/marginAccountPositionEventSubscriptionService.js +45 -0
- package/lib/services/subscriptions/marginAccountProductStateSubscriptionService.js +45 -0
- package/lib/services/subscriptions/marginAccountStateSubscriptionService.js +45 -0
- package/lib/services/subscriptions/marginCancelOrderLiquidationEventSubscriptionService.js +45 -0
- package/lib/services/subscriptions/marginPositionStatesSubscriptionService.js +45 -0
- package/lib/services/subscriptions/marketTradeSubscriptionService.js +48 -0
- package/lib/services/subscriptions/marketTradeSubscriptionService.test.js +42 -0
- package/lib/services/subscriptions/orderStateSubscriptionService.js +65 -0
- package/lib/services/subscriptions/orderStateSubscriptionService.test.js +71 -0
- package/lib/services/subscriptions/orderTradesSuscriptionService.js +65 -0
- package/lib/services/subscriptions/orderTradesSuscriptionService.test.js +71 -0
- package/lib/services/subscriptions/settlementSubscriptionService.js +45 -0
- package/lib/services/subscriptions/tickersSubscriptionService.js +63 -0
- package/lib/services/subscriptions/tradesSubscriptionService.js +112 -0
- package/lib/services/subscriptions/tradesSubscriptionService.test.js +334 -0
- package/lib/services/subscriptions/verificationLevelUpdateService.js +45 -0
- package/lib/services/subscriptions/withdrawSubscriptionService.js +45 -0
- package/lib/services/tradingView/ChartAPI.js +384 -0
- package/lib/services/tradingView/EotcChartAPI.js +325 -0
- package/lib/services/tradingView/udf/datafeed.js +692 -0
- package/lib/setupTests.js +47 -0
- package/lib/styles/base/Base.css +479 -0
- package/lib/styles/base/Fonts.css +1 -0
- package/lib/styles/base/index.css +6 -0
- package/lib/styles/base/inter-ui.css +147 -0
- package/lib/styles/components/OpenOrdersToolTip.css +45 -0
- package/lib/styles/components/RetailDashboardLayout.css +16 -0
- package/lib/styles/components/RetailDashboardMainLayout.css +55 -0
- package/lib/styles/components/SettingLayout.css +17 -0
- package/lib/styles/components/TradeComponent.css +22 -0
- package/lib/styles/components/common/Buttons.css +90 -0
- package/lib/styles/components/common/Divider.css +29 -0
- package/lib/styles/components/common/Forms.css +195 -0
- package/lib/styles/components/common/Settings.css +70 -0
- package/lib/styles/components/common/StandaloneForm.css +204 -0
- package/lib/styles/components/common/StandaloneModal.css +196 -0
- package/lib/styles/components/common/index.css +11 -0
- package/lib/styles/fonts/Inter-UI-3.1.zip +0 -0
- package/lib/styles/fonts/Inter-UI-Black.woff +0 -0
- package/lib/styles/fonts/Inter-UI-Black.woff2 +0 -0
- package/lib/styles/fonts/Inter-UI-BlackItalic.woff +0 -0
- package/lib/styles/fonts/Inter-UI-BlackItalic.woff2 +0 -0
- package/lib/styles/fonts/Inter-UI-Bold.woff +0 -0
- package/lib/styles/fonts/Inter-UI-Bold.woff2 +0 -0
- package/lib/styles/fonts/Inter-UI-BoldItalic.woff +0 -0
- package/lib/styles/fonts/Inter-UI-BoldItalic.woff2 +0 -0
- package/lib/styles/fonts/Inter-UI-ExtraBold.woff +0 -0
- package/lib/styles/fonts/Inter-UI-ExtraBold.woff2 +0 -0
- package/lib/styles/fonts/Inter-UI-ExtraBoldItalic.woff +0 -0
- package/lib/styles/fonts/Inter-UI-ExtraBoldItalic.woff2 +0 -0
- package/lib/styles/fonts/Inter-UI-Italic.woff +0 -0
- package/lib/styles/fonts/Inter-UI-Italic.woff2 +0 -0
- package/lib/styles/fonts/Inter-UI-Medium.woff +0 -0
- package/lib/styles/fonts/Inter-UI-Medium.woff2 +0 -0
- package/lib/styles/fonts/Inter-UI-MediumItalic.woff +0 -0
- package/lib/styles/fonts/Inter-UI-MediumItalic.woff2 +0 -0
- package/lib/styles/fonts/Inter-UI-Regular.woff +0 -0
- package/lib/styles/fonts/Inter-UI-Regular.woff2 +0 -0
- package/lib/styles/fonts/Inter-UI-SemiBold.woff +0 -0
- package/lib/styles/fonts/Inter-UI-SemiBold.woff2 +0 -0
- package/lib/styles/fonts/Inter-UI-SemiBoldItalic.woff +0 -0
- package/lib/styles/fonts/Inter-UI-SemiBoldItalic.woff2 +0 -0
- package/lib/styles/fonts/Inter-UI-italic.var.woff2 +0 -0
- package/lib/styles/fonts/Inter-UI-upright.var.woff2 +0 -0
- package/lib/styles/fonts/Inter-UI.var.woff2 +0 -0
- package/lib/styles/layout/Styleguide.css +99 -0
- package/lib/styles/layout/Table.css +129 -0
- package/lib/styles/layout/app.css +10 -0
- package/lib/styles/layout/walletsLayout.css +30 -0
- package/lib/styles/theme/dark.css +117 -0
- package/lib/styles/theme/light.css +130 -0
- package/lib/styles/theme/variables.css +754 -0
- package/package.json +121 -0
|
@@ -0,0 +1,339 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
7
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
8
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
9
|
+
// Mock dependencies
|
|
10
|
+
jest.mock('react-i18next', function () {
|
|
11
|
+
var mockReact = require('react');
|
|
12
|
+
return {
|
|
13
|
+
useTranslation: function useTranslation() {
|
|
14
|
+
return {
|
|
15
|
+
t: function t(key) {
|
|
16
|
+
return key;
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
},
|
|
20
|
+
withTranslation: function withTranslation() {
|
|
21
|
+
return function (Component) {
|
|
22
|
+
var WithTranslation = function WithTranslation(props) {
|
|
23
|
+
var t = function t(key) {
|
|
24
|
+
return key;
|
|
25
|
+
};
|
|
26
|
+
return mockReact.createElement(Component, _objectSpread(_objectSpread({}, props), {}, {
|
|
27
|
+
t: t
|
|
28
|
+
}));
|
|
29
|
+
};
|
|
30
|
+
WithTranslation.displayName = "withTranslation(".concat(Component.displayName || Component.name, ")");
|
|
31
|
+
return WithTranslation;
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
});
|
|
36
|
+
jest.mock('react-redux', function () {
|
|
37
|
+
return {
|
|
38
|
+
useSelector: jest.fn()
|
|
39
|
+
};
|
|
40
|
+
});
|
|
41
|
+
jest.mock('../hooks/useFuturesMoneyFields', function () {
|
|
42
|
+
return {
|
|
43
|
+
useFuturesMoneyFields: jest.fn()
|
|
44
|
+
};
|
|
45
|
+
});
|
|
46
|
+
jest.mock('../../../constants/useValidators', function () {
|
|
47
|
+
return {
|
|
48
|
+
useValidators: jest.fn(function () {
|
|
49
|
+
return {
|
|
50
|
+
greaterThanZero: jest.fn(),
|
|
51
|
+
optionalGreaterThanZero: jest.fn(),
|
|
52
|
+
futuresGreaterThanOrEqualToValue: jest.fn(function (min) {
|
|
53
|
+
return function (value) {
|
|
54
|
+
var numValue = Number(value);
|
|
55
|
+
if (value === undefined || value === '' || numValue < min) return 'Amount below minimum';
|
|
56
|
+
return undefined;
|
|
57
|
+
};
|
|
58
|
+
}),
|
|
59
|
+
valueGreaterThanOrEqualTo: jest.fn(function (min) {
|
|
60
|
+
return function (_value, allValues) {
|
|
61
|
+
var value = allValues.value;
|
|
62
|
+
var numValue = Number(value);
|
|
63
|
+
if (value === undefined || value === '' || numValue < Number(min)) return 'Amount below minimum';
|
|
64
|
+
return undefined;
|
|
65
|
+
};
|
|
66
|
+
}),
|
|
67
|
+
required: jest.fn(function (value) {
|
|
68
|
+
return value ? undefined : 'Required';
|
|
69
|
+
})
|
|
70
|
+
};
|
|
71
|
+
})
|
|
72
|
+
};
|
|
73
|
+
});
|
|
74
|
+
jest.mock('../../../redux/futures/selectors', function () {
|
|
75
|
+
return {
|
|
76
|
+
futuresLastPriceSelector: jest.fn()
|
|
77
|
+
};
|
|
78
|
+
});
|
|
79
|
+
describe('FuturesFormAmountFields - Estimated Profit/Loss Display', function () {
|
|
80
|
+
beforeEach(function () {
|
|
81
|
+
jest.clearAllMocks();
|
|
82
|
+
});
|
|
83
|
+
describe('Validator logic', function () {
|
|
84
|
+
it('should return "Amount below minimum" if value is less than minimumQuantity', function () {
|
|
85
|
+
var _require$useValidator = require('../../../constants/useValidators').useValidators(),
|
|
86
|
+
valueGreaterThanOrEqualTo = _require$useValidator.valueGreaterThanOrEqualTo;
|
|
87
|
+
var min = 100;
|
|
88
|
+
var validator = valueGreaterThanOrEqualTo(min);
|
|
89
|
+
expect(validator('50', {
|
|
90
|
+
value: '50'
|
|
91
|
+
})).toBe('Amount below minimum');
|
|
92
|
+
expect(validator('150', {
|
|
93
|
+
value: '150'
|
|
94
|
+
})).toBeUndefined();
|
|
95
|
+
expect(validator('', {
|
|
96
|
+
value: ''
|
|
97
|
+
})).toBe('Amount below minimum');
|
|
98
|
+
expect(validator('0', {
|
|
99
|
+
value: '0'
|
|
100
|
+
})).toBe('Amount below minimum');
|
|
101
|
+
});
|
|
102
|
+
it('should use allValues for up-to-date validation', function () {
|
|
103
|
+
var _require$useValidator2 = require('../../../constants/useValidators').useValidators(),
|
|
104
|
+
valueGreaterThanOrEqualTo = _require$useValidator2.valueGreaterThanOrEqualTo;
|
|
105
|
+
var min = 100;
|
|
106
|
+
var validator = valueGreaterThanOrEqualTo(min);
|
|
107
|
+
expect(validator('99', {
|
|
108
|
+
value: '99'
|
|
109
|
+
})).toBe('Amount below minimum');
|
|
110
|
+
expect(validator('100', {
|
|
111
|
+
value: '100'
|
|
112
|
+
})).toBeUndefined();
|
|
113
|
+
expect(validator('101', {
|
|
114
|
+
value: '101'
|
|
115
|
+
})).toBeUndefined();
|
|
116
|
+
expect(validator(undefined, {
|
|
117
|
+
value: undefined
|
|
118
|
+
})).toBe('Amount below minimum');
|
|
119
|
+
expect(validator('', {
|
|
120
|
+
value: ''
|
|
121
|
+
})).toBe('Amount below minimum');
|
|
122
|
+
});
|
|
123
|
+
it('should require a value', function () {
|
|
124
|
+
var _require$useValidator3 = require('../../../constants/useValidators').useValidators(),
|
|
125
|
+
required = _require$useValidator3.required;
|
|
126
|
+
expect(required('')).toBe('Required');
|
|
127
|
+
expect(required(null)).toBe('Required');
|
|
128
|
+
expect(required('something')).toBeUndefined();
|
|
129
|
+
});
|
|
130
|
+
it('should validate futuresGreaterThanOrEqualToValue', function () {
|
|
131
|
+
var _require$useValidator4 = require('../../../constants/useValidators').useValidators(),
|
|
132
|
+
futuresGreaterThanOrEqualToValue = _require$useValidator4.futuresGreaterThanOrEqualToValue;
|
|
133
|
+
var min = 10;
|
|
134
|
+
var validator = futuresGreaterThanOrEqualToValue(min);
|
|
135
|
+
expect(validator(5)).toBe('Amount below minimum');
|
|
136
|
+
expect(validator(10)).toBeUndefined();
|
|
137
|
+
expect(validator(15)).toBeUndefined();
|
|
138
|
+
expect(validator('')).toBe('Amount below minimum');
|
|
139
|
+
expect(validator(undefined)).toBe('Amount below minimum');
|
|
140
|
+
expect(validator(0)).toBe('Amount below minimum');
|
|
141
|
+
});
|
|
142
|
+
});
|
|
143
|
+
describe('Estimated Values Display Logic', function () {
|
|
144
|
+
var mockHookReturn = {
|
|
145
|
+
formValues: {
|
|
146
|
+
value: '1000',
|
|
147
|
+
orderByProduct: 'BTC',
|
|
148
|
+
orderType: 'Market',
|
|
149
|
+
TPSL: true,
|
|
150
|
+
side: 0
|
|
151
|
+
},
|
|
152
|
+
sliderValue: 50,
|
|
153
|
+
maxAmount: 2000,
|
|
154
|
+
onSliderChange: jest.fn(),
|
|
155
|
+
onOrderByProductChange: jest.fn(),
|
|
156
|
+
valueDP: 2,
|
|
157
|
+
quantityDP: 2,
|
|
158
|
+
instrument: {
|
|
159
|
+
Product1Symbol: 'BTC',
|
|
160
|
+
Product2Symbol: 'USDT'
|
|
161
|
+
},
|
|
162
|
+
onChange: jest.fn(),
|
|
163
|
+
isDisabled: false,
|
|
164
|
+
isConditionalPricefieldDisabled: false,
|
|
165
|
+
estimatedProfitValue: '150.50',
|
|
166
|
+
estimatedLossValue: '75.25'
|
|
167
|
+
};
|
|
168
|
+
it('should display single estimatedProfitValue for Take Profit field', function () {
|
|
169
|
+
var _require = require('../hooks/useFuturesMoneyFields'),
|
|
170
|
+
useFuturesMoneyFields = _require.useFuturesMoneyFields;
|
|
171
|
+
useFuturesMoneyFields.mockReturnValue(mockHookReturn);
|
|
172
|
+
var estimatedProfitValue = mockHookReturn.estimatedProfitValue;
|
|
173
|
+
|
|
174
|
+
// Verify single value is returned (not buy/sell pair)
|
|
175
|
+
expect(estimatedProfitValue).toBe('150.50');
|
|
176
|
+
expect(_typeof(estimatedProfitValue)).toBe('string');
|
|
177
|
+
});
|
|
178
|
+
it('should display single estimatedLossValue for Stop Loss field', function () {
|
|
179
|
+
var _require2 = require('../hooks/useFuturesMoneyFields'),
|
|
180
|
+
useFuturesMoneyFields = _require2.useFuturesMoneyFields;
|
|
181
|
+
useFuturesMoneyFields.mockReturnValue(mockHookReturn);
|
|
182
|
+
var estimatedLossValue = mockHookReturn.estimatedLossValue;
|
|
183
|
+
|
|
184
|
+
// Verify single value is returned (not buy/sell pair)
|
|
185
|
+
expect(estimatedLossValue).toBe('75.25');
|
|
186
|
+
expect(_typeof(estimatedLossValue)).toBe('string');
|
|
187
|
+
});
|
|
188
|
+
it('should not return separate buy/sell estimated values', function () {
|
|
189
|
+
var _require3 = require('../hooks/useFuturesMoneyFields'),
|
|
190
|
+
useFuturesMoneyFields = _require3.useFuturesMoneyFields;
|
|
191
|
+
useFuturesMoneyFields.mockReturnValue(mockHookReturn);
|
|
192
|
+
var hookReturn = mockHookReturn;
|
|
193
|
+
|
|
194
|
+
// Old implementation had these properties, new one should not
|
|
195
|
+
expect(hookReturn).not.toHaveProperty('estimatedProfitBuyValue');
|
|
196
|
+
expect(hookReturn).not.toHaveProperty('estimatedProfitSellValue');
|
|
197
|
+
expect(hookReturn).not.toHaveProperty('estimatedLossBuyValue');
|
|
198
|
+
expect(hookReturn).not.toHaveProperty('estimatedLossSellValue');
|
|
199
|
+
});
|
|
200
|
+
it('should use estimated-amount class for styling (white color)', function () {
|
|
201
|
+
var _require4 = require('../hooks/useFuturesMoneyFields'),
|
|
202
|
+
useFuturesMoneyFields = _require4.useFuturesMoneyFields;
|
|
203
|
+
useFuturesMoneyFields.mockReturnValue(mockHookReturn);
|
|
204
|
+
var estimatedProfitValue = mockHookReturn.estimatedProfitValue,
|
|
205
|
+
estimatedLossValue = mockHookReturn.estimatedLossValue;
|
|
206
|
+
|
|
207
|
+
// Values should exist and be displayed with estimated-amount class
|
|
208
|
+
expect(estimatedProfitValue).toBeDefined();
|
|
209
|
+
expect(estimatedLossValue).toBeDefined();
|
|
210
|
+
|
|
211
|
+
// Component should render with className="estimated-amount" (not colored classes)
|
|
212
|
+
// This test verifies the class name usage conceptually
|
|
213
|
+
var expectedClassName = 'estimated-amount';
|
|
214
|
+
expect(expectedClassName).toBe('estimated-amount');
|
|
215
|
+
});
|
|
216
|
+
it('should handle zero estimated values', function () {
|
|
217
|
+
var _require5 = require('../hooks/useFuturesMoneyFields'),
|
|
218
|
+
useFuturesMoneyFields = _require5.useFuturesMoneyFields;
|
|
219
|
+
var mockWithZero = _objectSpread(_objectSpread({}, mockHookReturn), {}, {
|
|
220
|
+
estimatedProfitValue: '0',
|
|
221
|
+
estimatedLossValue: '0'
|
|
222
|
+
});
|
|
223
|
+
useFuturesMoneyFields.mockReturnValue(mockWithZero);
|
|
224
|
+
var estimatedProfitValue = mockWithZero.estimatedProfitValue,
|
|
225
|
+
estimatedLossValue = mockWithZero.estimatedLossValue;
|
|
226
|
+
expect(estimatedProfitValue).toBe('0');
|
|
227
|
+
expect(estimatedLossValue).toBe('0');
|
|
228
|
+
});
|
|
229
|
+
it('should handle negative estimated values', function () {
|
|
230
|
+
var _require6 = require('../hooks/useFuturesMoneyFields'),
|
|
231
|
+
useFuturesMoneyFields = _require6.useFuturesMoneyFields;
|
|
232
|
+
var mockWithNegative = _objectSpread(_objectSpread({}, mockHookReturn), {}, {
|
|
233
|
+
estimatedProfitValue: '-50.00',
|
|
234
|
+
estimatedLossValue: '-25.00'
|
|
235
|
+
});
|
|
236
|
+
useFuturesMoneyFields.mockReturnValue(mockWithNegative);
|
|
237
|
+
var estimatedProfitValue = mockWithNegative.estimatedProfitValue,
|
|
238
|
+
estimatedLossValue = mockWithNegative.estimatedLossValue;
|
|
239
|
+
expect(estimatedProfitValue).toBe('-50.00');
|
|
240
|
+
expect(estimatedLossValue).toBe('-25.00');
|
|
241
|
+
});
|
|
242
|
+
it('should format estimated values with Product2Symbol', function () {
|
|
243
|
+
var _require7 = require('../hooks/useFuturesMoneyFields'),
|
|
244
|
+
useFuturesMoneyFields = _require7.useFuturesMoneyFields;
|
|
245
|
+
useFuturesMoneyFields.mockReturnValue(mockHookReturn);
|
|
246
|
+
var estimatedProfitValue = mockHookReturn.estimatedProfitValue,
|
|
247
|
+
instrument = mockHookReturn.instrument;
|
|
248
|
+
|
|
249
|
+
// Component should display: "150.50 USDT" with non-breaking space
|
|
250
|
+
var expectedDisplay = "".concat(estimatedProfitValue, "\xA0").concat(instrument.Product2Symbol);
|
|
251
|
+
expect(expectedDisplay).toBe("150.50\xA0USDT");
|
|
252
|
+
});
|
|
253
|
+
it('should not display estimated values for conditional order type', function () {
|
|
254
|
+
var _require8 = require('../hooks/useFuturesMoneyFields'),
|
|
255
|
+
useFuturesMoneyFields = _require8.useFuturesMoneyFields;
|
|
256
|
+
var mockConditional = _objectSpread(_objectSpread({}, mockHookReturn), {}, {
|
|
257
|
+
formValues: _objectSpread(_objectSpread({}, mockHookReturn.formValues), {}, {
|
|
258
|
+
orderType: 'Conditional'
|
|
259
|
+
})
|
|
260
|
+
});
|
|
261
|
+
useFuturesMoneyFields.mockReturnValue(mockConditional);
|
|
262
|
+
|
|
263
|
+
// When orderType is 'Conditional', infoText should not be rendered
|
|
264
|
+
// This is controlled by: orderType !== futuresOrderTypes.conditional.displayName
|
|
265
|
+
var isConditional = mockConditional.formValues.orderType === 'Conditional';
|
|
266
|
+
expect(isConditional).toBe(true);
|
|
267
|
+
});
|
|
268
|
+
it('should display estimated values when TPSL is enabled and orderType is not conditional', function () {
|
|
269
|
+
var _require9 = require('../hooks/useFuturesMoneyFields'),
|
|
270
|
+
useFuturesMoneyFields = _require9.useFuturesMoneyFields;
|
|
271
|
+
var mockNonConditional = _objectSpread(_objectSpread({}, mockHookReturn), {}, {
|
|
272
|
+
formValues: _objectSpread(_objectSpread({}, mockHookReturn.formValues), {}, {
|
|
273
|
+
orderType: 'Market',
|
|
274
|
+
TPSL: true
|
|
275
|
+
})
|
|
276
|
+
});
|
|
277
|
+
useFuturesMoneyFields.mockReturnValue(mockNonConditional);
|
|
278
|
+
var formValues = mockNonConditional.formValues,
|
|
279
|
+
estimatedProfitValue = mockNonConditional.estimatedProfitValue,
|
|
280
|
+
estimatedLossValue = mockNonConditional.estimatedLossValue;
|
|
281
|
+
expect(formValues.TPSL).toBe(true);
|
|
282
|
+
expect(formValues.orderType).toBe('Market');
|
|
283
|
+
expect(estimatedProfitValue).toBeDefined();
|
|
284
|
+
expect(estimatedLossValue).toBeDefined();
|
|
285
|
+
});
|
|
286
|
+
});
|
|
287
|
+
describe('Hook Integration', function () {
|
|
288
|
+
it('should call useFuturesMoneyFields with maxQuantity parameter', function () {
|
|
289
|
+
var _require0 = require('../hooks/useFuturesMoneyFields'),
|
|
290
|
+
useFuturesMoneyFields = _require0.useFuturesMoneyFields;
|
|
291
|
+
var maxQuantity = 10;
|
|
292
|
+
useFuturesMoneyFields.mockReturnValue({
|
|
293
|
+
formValues: {
|
|
294
|
+
TPSL: false
|
|
295
|
+
},
|
|
296
|
+
instrument: {
|
|
297
|
+
Product1Symbol: 'BTC',
|
|
298
|
+
Product2Symbol: 'USDT'
|
|
299
|
+
},
|
|
300
|
+
estimatedProfitValue: '0',
|
|
301
|
+
estimatedLossValue: '0'
|
|
302
|
+
});
|
|
303
|
+
|
|
304
|
+
// Simulate component calling the hook
|
|
305
|
+
var result = useFuturesMoneyFields(maxQuantity);
|
|
306
|
+
expect(useFuturesMoneyFields).toHaveBeenCalledWith(maxQuantity);
|
|
307
|
+
expect(result).toHaveProperty('estimatedProfitValue');
|
|
308
|
+
expect(result).toHaveProperty('estimatedLossValue');
|
|
309
|
+
});
|
|
310
|
+
it('should destructure only single estimated values from hook return', function () {
|
|
311
|
+
var _require1 = require('../hooks/useFuturesMoneyFields'),
|
|
312
|
+
useFuturesMoneyFields = _require1.useFuturesMoneyFields;
|
|
313
|
+
var mockReturn = {
|
|
314
|
+
formValues: {},
|
|
315
|
+
instrument: {
|
|
316
|
+
Product1Symbol: 'BTC',
|
|
317
|
+
Product2Symbol: 'USDT'
|
|
318
|
+
},
|
|
319
|
+
estimatedProfitValue: '100',
|
|
320
|
+
estimatedLossValue: '50',
|
|
321
|
+
// Should NOT have these:
|
|
322
|
+
estimatedProfitBuyValue: undefined,
|
|
323
|
+
estimatedProfitSellValue: undefined,
|
|
324
|
+
estimatedLossBuyValue: undefined,
|
|
325
|
+
estimatedLossSellValue: undefined
|
|
326
|
+
};
|
|
327
|
+
useFuturesMoneyFields.mockReturnValue(mockReturn);
|
|
328
|
+
var _useFuturesMoneyField = useFuturesMoneyFields(),
|
|
329
|
+
estimatedProfitValue = _useFuturesMoneyField.estimatedProfitValue,
|
|
330
|
+
estimatedLossValue = _useFuturesMoneyField.estimatedLossValue,
|
|
331
|
+
estimatedProfitBuyValue = _useFuturesMoneyField.estimatedProfitBuyValue,
|
|
332
|
+
estimatedProfitSellValue = _useFuturesMoneyField.estimatedProfitSellValue;
|
|
333
|
+
expect(estimatedProfitValue).toBeDefined();
|
|
334
|
+
expect(estimatedLossValue).toBeDefined();
|
|
335
|
+
expect(estimatedProfitBuyValue).toBeUndefined();
|
|
336
|
+
expect(estimatedProfitSellValue).toBeUndefined();
|
|
337
|
+
});
|
|
338
|
+
});
|
|
339
|
+
});
|
package/lib/components/OrderEntryComponents/futures/FuturesLeverageValue/FuturesLeverageModal.js
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.FuturesLeverageModalComponent = exports.FuturesLeverageModal = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _reactI18next = require("react-i18next");
|
|
9
|
+
var _Modal = _interopRequireDefault(require("../../../common/Modal/Modal"));
|
|
10
|
+
var _Slider = require("../../../common/Slider/Slider");
|
|
11
|
+
var _Spinner = _interopRequireDefault(require("../../../common/Spinner/Spinner"));
|
|
12
|
+
var _cssClassesHelper = require("../../../../helpers/cssClassesHelper");
|
|
13
|
+
var _modalActions = require("../../../../redux/actions/modalActions");
|
|
14
|
+
var _modalDecorator = _interopRequireDefault(require("../../../../hocs/modalDecorator"));
|
|
15
|
+
var _useLeverageDialog2 = require("./useLeverageDialog");
|
|
16
|
+
require("../../margin/LeverageValue/UpdateLeverageModal.css");
|
|
17
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
18
|
+
var bemClasses = (0, _cssClassesHelper.getBEMClasses)('setup-leverage-modal');
|
|
19
|
+
var FuturesLeverageModalComponent = exports.FuturesLeverageModalComponent = function FuturesLeverageModalComponent(props) {
|
|
20
|
+
var _useTranslation = (0, _reactI18next.useTranslation)('futures'),
|
|
21
|
+
t = _useTranslation.t;
|
|
22
|
+
var isOpen = props.isOpen,
|
|
23
|
+
close = props.close;
|
|
24
|
+
var _useLeverageDialog = (0, _useLeverageDialog2.useLeverageDialog)(),
|
|
25
|
+
onConfirm = _useLeverageDialog.onConfirm,
|
|
26
|
+
onCancel = _useLeverageDialog.onCancel,
|
|
27
|
+
max = _useLeverageDialog.max,
|
|
28
|
+
sliderValue = _useLeverageDialog.sliderValue,
|
|
29
|
+
setSliderValue = _useLeverageDialog.setSliderValue,
|
|
30
|
+
breakpoints = _useLeverageDialog.breakpoints;
|
|
31
|
+
var showBreakPoints = max <= 10;
|
|
32
|
+
var handleCancel = function handleCancel() {
|
|
33
|
+
onCancel();
|
|
34
|
+
close();
|
|
35
|
+
};
|
|
36
|
+
return /*#__PURE__*/_react["default"].createElement(_Modal["default"], {
|
|
37
|
+
isOpen: isOpen,
|
|
38
|
+
title: t('Adjust Leverage'),
|
|
39
|
+
close: close,
|
|
40
|
+
onCancel: handleCancel,
|
|
41
|
+
footer: {
|
|
42
|
+
buttonText: t('Confirm', {
|
|
43
|
+
ns: 'core'
|
|
44
|
+
}),
|
|
45
|
+
buttonStyle: 'buy__btn',
|
|
46
|
+
onClick: onConfirm
|
|
47
|
+
},
|
|
48
|
+
customClass: bemClasses('buy')
|
|
49
|
+
}, max ? /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_Slider.Slider, {
|
|
50
|
+
disabled: false,
|
|
51
|
+
onChange: setSliderValue,
|
|
52
|
+
value: sliderValue,
|
|
53
|
+
step: 1,
|
|
54
|
+
breakpoints: breakpoints,
|
|
55
|
+
formatOutput: function formatOutput(value) {
|
|
56
|
+
return "".concat(value, "x");
|
|
57
|
+
},
|
|
58
|
+
showBreakPoints: showBreakPoints,
|
|
59
|
+
hideLabels: false
|
|
60
|
+
})) : /*#__PURE__*/_react["default"].createElement("div", {
|
|
61
|
+
className: "slider-loading"
|
|
62
|
+
}, /*#__PURE__*/_react["default"].createElement(_Spinner["default"], null)));
|
|
63
|
+
};
|
|
64
|
+
var FuturesLeverageModal = exports.FuturesLeverageModal = (0, _modalDecorator["default"])({
|
|
65
|
+
name: _modalActions.MODAL_TYPES.FUTURES_LEVERAGE
|
|
66
|
+
})(FuturesLeverageModalComponent);
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
.futures-max-leverage-button__lwt-container {
|
|
2
|
+
align-items: center;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.futures-max-leverage-button__lwt-label {
|
|
6
|
+
margin-bottom: 0;
|
|
7
|
+
text-decoration: underline dotted;
|
|
8
|
+
cursor: help;
|
|
9
|
+
text-underline-offset: 2px;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.futures-max-leverage-button__lwt-text .ap-button {
|
|
13
|
+
color: var(--font__color-secondary);
|
|
14
|
+
height: 18px;
|
|
15
|
+
min-width: 60px;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.futures-max-leverage-button__lwt-text .ap-button:hover {
|
|
19
|
+
border-color: var(--input__border-color);
|
|
20
|
+
background-color: var(--input__bg-color--disabled);
|
|
21
|
+
}
|
package/lib/components/OrderEntryComponents/futures/FuturesLeverageValue/FuturesMaxLeverageButton.js
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.FuturesMaxLeverageButton = void 0;
|
|
8
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
9
|
+
var _reactI18next = require("react-i18next");
|
|
10
|
+
var _cssClassesHelper = require("../../../../helpers/cssClassesHelper");
|
|
11
|
+
var _APLabelWithText = _interopRequireDefault(require("../../../common/APLabelWithText"));
|
|
12
|
+
var _Button = require("../../../form/Button/Button");
|
|
13
|
+
require("./FuturesMaxLeverageButton.css");
|
|
14
|
+
var _useLeverageButton2 = require("./useLeverageButton");
|
|
15
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
16
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
17
|
+
var baseClasses = (0, _cssClassesHelper.getBEMClasses)('futures-max-leverage-button');
|
|
18
|
+
var FuturesMaxLeverageButton = exports.FuturesMaxLeverageButton = /*#__PURE__*/(0, _react.memo)(function (_ref) {
|
|
19
|
+
var formName = _ref.formName;
|
|
20
|
+
var _useTranslation = (0, _reactI18next.useTranslation)('margin'),
|
|
21
|
+
t = _useTranslation.t;
|
|
22
|
+
var _useLeverageButton = (0, _useLeverageButton2.useLeverageButton)(formName),
|
|
23
|
+
leverage = _useLeverageButton.leverage,
|
|
24
|
+
disabled = _useLeverageButton.disabled,
|
|
25
|
+
noLeverage = _useLeverageButton.noLeverage,
|
|
26
|
+
onClick = _useLeverageButton.onClick;
|
|
27
|
+
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_APLabelWithText["default"], {
|
|
28
|
+
label: t('Leverage'),
|
|
29
|
+
text: /*#__PURE__*/_react["default"].createElement(_Button.Button, {
|
|
30
|
+
disabled: disabled,
|
|
31
|
+
onClick: onClick,
|
|
32
|
+
variant: "secondary",
|
|
33
|
+
size: "sm",
|
|
34
|
+
type: "button"
|
|
35
|
+
}, noLeverage ? '--' : "".concat(leverage, "x")),
|
|
36
|
+
customClass: baseClasses(),
|
|
37
|
+
tooltip: "Leverage tooltip Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."
|
|
38
|
+
}));
|
|
39
|
+
});
|
|
40
|
+
FuturesMaxLeverageButton.displayName = 'FuturesLeverageButton';
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.useLeverageButton = useLeverageButton;
|
|
7
|
+
var _react = require("react");
|
|
8
|
+
var _reactRedux = require("react-redux");
|
|
9
|
+
var _modalActions = require("../../../../redux/actions/modalActions");
|
|
10
|
+
var _futuresLeverageSelectors = require("../../../../redux/futures/selectors/futuresLeverageSelectors");
|
|
11
|
+
var _selectors = require("../../../../redux/futures/selectors");
|
|
12
|
+
var _actions = require("../../../../redux/futures/actions");
|
|
13
|
+
// https://www.bybit.com/en/help-center/article/How-to-Open-a-Position
|
|
14
|
+
// "The default order will use Cross Margin with 10x leverage in One-Way Mode."
|
|
15
|
+
var DEFAULT_FUTURES_LEVERAGE_VALUE = 10;
|
|
16
|
+
function useLeverageButton(formName) {
|
|
17
|
+
var leverage = (0, _reactRedux.useSelector)(_futuresLeverageSelectors.currentFuturesLeverageSelector);
|
|
18
|
+
var max = (0, _reactRedux.useSelector)(_futuresLeverageSelectors.futuresMaxLeverageSelector);
|
|
19
|
+
var submitting = (0, _reactRedux.useSelector)(_futuresLeverageSelectors.futuresLeverageSubmittingSelector);
|
|
20
|
+
var isLoadingPositions = (0, _reactRedux.useSelector)(_selectors.isLoadingOpenPositionsSelector);
|
|
21
|
+
var positionLeverage = (0, _reactRedux.useSelector)(_futuresLeverageSelectors.currentPositionLeverageSelector);
|
|
22
|
+
var noLeverage = !leverage;
|
|
23
|
+
var disabled = max <= 2 || leverage <= 1 || noLeverage || submitting;
|
|
24
|
+
var dispatch = (0, _reactRedux.useDispatch)();
|
|
25
|
+
|
|
26
|
+
// Reset the leverage value to default when no position is loaded
|
|
27
|
+
(0, _react.useEffect)(function () {
|
|
28
|
+
if (!isLoadingPositions && !positionLeverage && !leverage) {
|
|
29
|
+
dispatch((0, _actions.setFuturesLeverage)(DEFAULT_FUTURES_LEVERAGE_VALUE));
|
|
30
|
+
}
|
|
31
|
+
}, [isLoadingPositions, positionLeverage, leverage, dispatch]);
|
|
32
|
+
var onClick = (0, _react.useCallback)(function () {
|
|
33
|
+
dispatch((0, _modalActions.openModal)(_modalActions.MODAL_TYPES.FUTURES_LEVERAGE, {
|
|
34
|
+
formName: formName
|
|
35
|
+
}));
|
|
36
|
+
}, [dispatch, formName]);
|
|
37
|
+
return {
|
|
38
|
+
leverage: leverage !== null && leverage !== void 0 ? leverage : DEFAULT_FUTURES_LEVERAGE_VALUE,
|
|
39
|
+
noLeverage: noLeverage,
|
|
40
|
+
disabled: disabled,
|
|
41
|
+
onClick: onClick
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.useLeverageDialog = useLeverageDialog;
|
|
7
|
+
var _react = require("react");
|
|
8
|
+
var _reactRedux = require("react-redux");
|
|
9
|
+
var _actions = require("../../../../redux/futures/actions");
|
|
10
|
+
var _futuresLeverageSelectors = require("../../../../redux/futures/selectors/futuresLeverageSelectors");
|
|
11
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
12
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
13
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
14
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
15
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
16
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
17
|
+
function useLeverageDialog() {
|
|
18
|
+
var dispatch = (0, _reactRedux.useDispatch)();
|
|
19
|
+
var leverageValue = (0, _reactRedux.useSelector)(_futuresLeverageSelectors.currentFuturesLeverageSelector);
|
|
20
|
+
var max = (0, _reactRedux.useSelector)(_futuresLeverageSelectors.futuresMaxLeverageSelector);
|
|
21
|
+
var _useState = (0, _react.useState)(leverageValue !== null && leverageValue !== void 0 ? leverageValue : max),
|
|
22
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
23
|
+
sliderValue = _useState2[0],
|
|
24
|
+
setSliderValue = _useState2[1];
|
|
25
|
+
var breakpoints = (0, _react.useMemo)(function () {
|
|
26
|
+
return max && max <= 10 ? Array.from({
|
|
27
|
+
length: max - 1
|
|
28
|
+
}, function (_, i) {
|
|
29
|
+
return i + 2;
|
|
30
|
+
}) : [2, max];
|
|
31
|
+
}, [max]);
|
|
32
|
+
(0, _react.useEffect)(function () {
|
|
33
|
+
if (leverageValue !== max) {
|
|
34
|
+
setSliderValue(leverageValue !== null && leverageValue !== void 0 ? leverageValue : max);
|
|
35
|
+
}
|
|
36
|
+
}, [max, setSliderValue, leverageValue]);
|
|
37
|
+
|
|
38
|
+
// This needs to update slider value when open Update Leverage modal after Leverage was changed via Advanced Order form
|
|
39
|
+
(0, _react.useEffect)(function () {
|
|
40
|
+
setSliderValue(leverageValue && leverageValue <= max ? leverageValue : max);
|
|
41
|
+
}, [leverageValue, max]);
|
|
42
|
+
var onConfirm = (0, _react.useCallback)(function () {
|
|
43
|
+
dispatch((0, _actions.setFuturesLeverage)(sliderValue));
|
|
44
|
+
}, [dispatch, sliderValue]);
|
|
45
|
+
var onCancel = (0, _react.useCallback)(function () {
|
|
46
|
+
setSliderValue(leverageValue !== null && leverageValue !== void 0 ? leverageValue : max);
|
|
47
|
+
}, [leverageValue, max]);
|
|
48
|
+
return {
|
|
49
|
+
max: max,
|
|
50
|
+
sliderValue: sliderValue,
|
|
51
|
+
leverageValue: leverageValue,
|
|
52
|
+
setSliderValue: setSliderValue,
|
|
53
|
+
onConfirm: onConfirm,
|
|
54
|
+
onCancel: onCancel,
|
|
55
|
+
breakpoints: breakpoints
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.FuturesOrderEntryEstimates = void 0;
|
|
8
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
9
|
+
var _FuturesOrderEstimates = require("./FuturesOrderEstimates");
|
|
10
|
+
var _FuturesMaxLeverageButton = require("../FuturesLeverageValue/FuturesMaxLeverageButton");
|
|
11
|
+
var _FuturesLeverageModal = require("../FuturesLeverageValue/FuturesLeverageModal");
|
|
12
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
13
|
+
var FuturesOrderEntryEstimates = exports.FuturesOrderEntryEstimates = /*#__PURE__*/(0, _react.memo)(function (_ref) {
|
|
14
|
+
var baseClass = _ref.baseClass,
|
|
15
|
+
formName = _ref.formName;
|
|
16
|
+
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_FuturesMaxLeverageButton.FuturesMaxLeverageButton, {
|
|
17
|
+
formName: formName
|
|
18
|
+
}), /*#__PURE__*/_react["default"].createElement(_FuturesLeverageModal.FuturesLeverageModal, null), /*#__PURE__*/_react["default"].createElement(_FuturesOrderEstimates.FuturesOrderEstimates, {
|
|
19
|
+
baseClass: baseClass,
|
|
20
|
+
formName: formName
|
|
21
|
+
}));
|
|
22
|
+
});
|
|
23
|
+
FuturesOrderEntryEstimates.displayName = 'FuturesOrderEntryEstimates';
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.FuturesOrderEstimates = void 0;
|
|
8
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
9
|
+
var _reactI18next = require("react-i18next");
|
|
10
|
+
var _APLabelWithText = _interopRequireDefault(require("../../../common/APLabelWithText"));
|
|
11
|
+
var _config = _interopRequireDefault(require("../../../../config"));
|
|
12
|
+
var _reactRedux = require("react-redux");
|
|
13
|
+
var _instrumentPositionSelectors = require("../../../../redux/selectors/instrumentPositionSelectors");
|
|
14
|
+
var _futuresOrdersSelectors = require("../../../../redux/futures/selectors/futuresOrdersSelectors");
|
|
15
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
|
16
|
+
var _numberFormatter = require("../../../../helpers/numberFormatter");
|
|
17
|
+
var _useFetchFuturesOrderCost = require("./useFetchFuturesOrderCost");
|
|
18
|
+
var _decimalPlacesHelper = require("../../../../helpers/decimalPlaces/decimalPlacesHelper");
|
|
19
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
20
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
21
|
+
var hideFees = !!_config["default"].global.hideFees;
|
|
22
|
+
var renderEstimatesValue = function renderEstimatesValue(baseClass, buyValue, sellValue, productSymbol) {
|
|
23
|
+
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("span", {
|
|
24
|
+
className: (0, _classnames["default"])(baseClass, 'estimates-buy-value')
|
|
25
|
+
}, buyValue), "/", /*#__PURE__*/_react["default"].createElement("span", {
|
|
26
|
+
className: (0, _classnames["default"])(baseClass, 'estimates-sell-value')
|
|
27
|
+
}, sellValue), "\xA0", productSymbol);
|
|
28
|
+
};
|
|
29
|
+
var OrderCostItem = /*#__PURE__*/(0, _react.memo)(function (_ref) {
|
|
30
|
+
var baseClass = _ref.baseClass;
|
|
31
|
+
var _useTranslation = (0, _reactI18next.useTranslation)('order'),
|
|
32
|
+
t = _useTranslation.t;
|
|
33
|
+
var instrument = (0, _reactRedux.useSelector)(_instrumentPositionSelectors.selectedInstrumentSelector);
|
|
34
|
+
var futuresBuyOrderCost = (0, _reactRedux.useSelector)(_futuresOrdersSelectors.futuresBuyOrderCostSelector);
|
|
35
|
+
var futuresSellOrderCost = (0, _reactRedux.useSelector)(_futuresOrdersSelectors.futuresSellOrderCostSelector);
|
|
36
|
+
var decimalPlaces = instrument ? (0, _decimalPlacesHelper.convertIncrementToIntDecimalPlaces)(instrument === null || instrument === void 0 ? void 0 : instrument.PriceIncrement) : 8;
|
|
37
|
+
return /*#__PURE__*/_react["default"].createElement(_APLabelWithText["default"], {
|
|
38
|
+
label: t('Cost'),
|
|
39
|
+
customClass: baseClass,
|
|
40
|
+
text: renderEstimatesValue(baseClass, futuresBuyOrderCost !== undefined ? (0, _numberFormatter.formatNumberToLocale)(futuresBuyOrderCost, decimalPlaces) : '--', futuresSellOrderCost !== undefined ? (0, _numberFormatter.formatNumberToLocale)(futuresSellOrderCost, decimalPlaces) : '--', instrument.SettlementProductSymbol),
|
|
41
|
+
tooltip: 'Cost toltip'
|
|
42
|
+
});
|
|
43
|
+
});
|
|
44
|
+
OrderCostItem.displayName = 'OrderCostItem';
|
|
45
|
+
var FuturesOrderEstimates = exports.FuturesOrderEstimates = /*#__PURE__*/(0, _react.memo)(function (props) {
|
|
46
|
+
(0, _useFetchFuturesOrderCost.useFetchFuturesOrderCost)();
|
|
47
|
+
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, !hideFees && /*#__PURE__*/_react["default"].createElement(OrderCostItem, props));
|
|
48
|
+
});
|
|
49
|
+
FuturesOrderEstimates.displayName = 'FuturesOrderEstimates';
|