@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,375 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _reactI18next = require("react-i18next");
|
|
9
|
+
var _APVerticalScroller = _interopRequireDefault(require("../common/APVerticalScroller/APVerticalScroller"));
|
|
10
|
+
var _BulkCancelButtonsComponent = _interopRequireDefault(require("./BulkCancelButtonsComponent/BulkCancelButtonsComponent"));
|
|
11
|
+
var _cssClassesHelper = require("../../helpers/cssClassesHelper");
|
|
12
|
+
var _browserHelper = require("../../helpers/browserHelper");
|
|
13
|
+
var _Level2DataTableComponent = _interopRequireDefault(require("./Level2DataTableComponent"));
|
|
14
|
+
var _PriceGroupingSelector = _interopRequireDefault(require("./PriceGroupingSelector/PriceGroupingSelector"));
|
|
15
|
+
var _priceGroupingHelper = require("../../helpers/orderBook/priceGroupingHelper");
|
|
16
|
+
var _decimalPlacesHelper = require("../../helpers/decimalPlaces/decimalPlacesHelper");
|
|
17
|
+
require("../../styles/components/TradeComponent.css");
|
|
18
|
+
require("./OrderBookComponent.css");
|
|
19
|
+
var _APIcon = _interopRequireDefault(require("../../components/common/APIcon"));
|
|
20
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
21
|
+
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); }
|
|
22
|
+
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; }
|
|
23
|
+
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; }
|
|
24
|
+
function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
|
|
25
|
+
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
26
|
+
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; } }
|
|
27
|
+
function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
28
|
+
function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
|
|
29
|
+
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; }
|
|
30
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
31
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
32
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
33
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
34
|
+
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
35
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
36
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
37
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
38
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
39
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
40
|
+
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; }
|
|
41
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
42
|
+
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); }
|
|
43
|
+
var tradeComponentClasses = (0, _cssClassesHelper.getBEMClasses)('trade-component');
|
|
44
|
+
var orderBookClasses = (0, _cssClassesHelper.getBEMClasses)('orderbook');
|
|
45
|
+
var flexTable = (0, _cssClassesHelper.getBEMClasses)('flex-table');
|
|
46
|
+
var OrderBookComponent = /*#__PURE__*/function (_React$Component) {
|
|
47
|
+
function OrderBookComponent(props) {
|
|
48
|
+
var _this;
|
|
49
|
+
_classCallCheck(this, OrderBookComponent);
|
|
50
|
+
_this = _callSuper(this, OrderBookComponent, [props]);
|
|
51
|
+
// default state
|
|
52
|
+
_defineProperty(_this, "resizeEventListener", function () {
|
|
53
|
+
return _this.onClickCenter(true);
|
|
54
|
+
});
|
|
55
|
+
// When returning to a backgrounded tab, force a clean recenter. While the tab
|
|
56
|
+
// was hidden, scroll measurements are unreliable and a stray re-pin could have
|
|
57
|
+
// latched the scrollers off their rest position (see APVerticalScroller.scrollToRest).
|
|
58
|
+
_defineProperty(_this, "visibilityChangeListener", function () {
|
|
59
|
+
if (!document.hidden) _this.onClickCenter(true);
|
|
60
|
+
});
|
|
61
|
+
_this.state = {
|
|
62
|
+
showCenterButton: false,
|
|
63
|
+
// will change to true when user scrolls away from rest position
|
|
64
|
+
viewMode: localStorage.getItem('orderBookViewMode') || 'both',
|
|
65
|
+
grouping: _this.resolveGrouping(props.selectedInstrumentId)
|
|
66
|
+
};
|
|
67
|
+
// event handler bindings
|
|
68
|
+
_this.onClickCenter = _this.onClickCenter.bind(_this);
|
|
69
|
+
_this.resizeEventListener = _this.resizeEventListener.bind(_this);
|
|
70
|
+
_this.onScrollRestChange = _this.onScrollRestChange.bind(_this);
|
|
71
|
+
_this.handleScrollRestChange = _this.handleScrollRestChange.bind(_this);
|
|
72
|
+
_this.onGroupingChange = _this.onGroupingChange.bind(_this);
|
|
73
|
+
_this.buyScroller = /*#__PURE__*/_react["default"].createRef();
|
|
74
|
+
_this.sellScroller = /*#__PURE__*/_react["default"].createRef();
|
|
75
|
+
_this.groupDataCache = {};
|
|
76
|
+
return _this;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
// No instrument-derived default: forcing e.g. 0.01 grouping on a sub-cent instrument
|
|
80
|
+
// would collapse its whole book into a single Price: 0 row, so grouping starts unset
|
|
81
|
+
// (dropdown shows its placeholder) unless the user already picked something for this
|
|
82
|
+
// instrument.
|
|
83
|
+
_inherits(OrderBookComponent, _React$Component);
|
|
84
|
+
return _createClass(OrderBookComponent, [{
|
|
85
|
+
key: "resolveGrouping",
|
|
86
|
+
value: function resolveGrouping(selectedInstrumentId) {
|
|
87
|
+
return (0, _priceGroupingHelper.getStoredGrouping)(selectedInstrumentId, this.getGroupingOptions());
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
// getPriceGroupingOptions returns a fresh options array/objects on every call. render()
|
|
91
|
+
// calls this every websocket tick, and PriceGroupingSelector's options prop feeds into
|
|
92
|
+
// its React.memo comparison - a new array reference each render defeats that memo (the
|
|
93
|
+
// menu flashes closed mid-interaction), so the result is cached per translation function.
|
|
94
|
+
}, {
|
|
95
|
+
key: "getGroupingOptions",
|
|
96
|
+
value: function getGroupingOptions() {
|
|
97
|
+
var t = this.props.t;
|
|
98
|
+
if (!this.groupingOptionsCache || this.groupingOptionsCache.t !== t) {
|
|
99
|
+
this.groupingOptionsCache = {
|
|
100
|
+
t: t,
|
|
101
|
+
options: (0, _priceGroupingHelper.getPriceGroupingOptions)(t)
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
return this.groupingOptionsCache.options;
|
|
105
|
+
}
|
|
106
|
+
}, {
|
|
107
|
+
key: "memoizedGroupLevel2Data",
|
|
108
|
+
value: function memoizedGroupLevel2Data(side, data, grouping) {
|
|
109
|
+
var cached = this.groupDataCache[side];
|
|
110
|
+
if (cached && cached.data === data && cached.grouping === grouping) {
|
|
111
|
+
return cached.result;
|
|
112
|
+
}
|
|
113
|
+
var result = (0, _priceGroupingHelper.groupLevel2Data)(data, grouping, side);
|
|
114
|
+
this.groupDataCache[side] = {
|
|
115
|
+
data: data,
|
|
116
|
+
grouping: grouping,
|
|
117
|
+
result: result
|
|
118
|
+
};
|
|
119
|
+
return result;
|
|
120
|
+
}
|
|
121
|
+
}, {
|
|
122
|
+
key: "onClickCenter",
|
|
123
|
+
value: function onClickCenter() {
|
|
124
|
+
var _this2 = this;
|
|
125
|
+
var overrideUserScrolled = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
126
|
+
if (this.sellScroller.current && this.buyScroller.current) {
|
|
127
|
+
var scrollToRest = function scrollToRest() {
|
|
128
|
+
_this2.sellScroller.current.scrollToRest();
|
|
129
|
+
_this2.buyScroller.current.scrollToRest();
|
|
130
|
+
};
|
|
131
|
+
if (overrideUserScrolled) return this.sellScroller.current.resetUserScrolled(function () {
|
|
132
|
+
return _this2.buyScroller.current.resetUserScrolled(scrollToRest);
|
|
133
|
+
});
|
|
134
|
+
scrollToRest();
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}, {
|
|
138
|
+
key: "componentDidUpdate",
|
|
139
|
+
value: function componentDidUpdate(prevProps) {
|
|
140
|
+
var instrumentChanged = this.props.selectedInstrumentId !== prevProps.selectedInstrumentId;
|
|
141
|
+
|
|
142
|
+
// Switching instruments resets the selector to unset rather than restoring the grouping
|
|
143
|
+
// stored for the newly selected instrument - carrying a selection over silently
|
|
144
|
+
// (e.g. BTCUSD's "10" appearing on ETHUSD) read as a bug in QA.
|
|
145
|
+
//
|
|
146
|
+
// The first undefined -> id transition is not a user switch, so it restores instead:
|
|
147
|
+
// TradingLayout renders the order book unconditionally, so on a cold load this component
|
|
148
|
+
// mounts before an instrument is selected and the constructor's resolveGrouping can only
|
|
149
|
+
// read the useless `orderBookGrouping:undefined` key. That transition is what actually
|
|
150
|
+
// performs the restore of the per-instrument value written by onGroupingChange, e.g.
|
|
151
|
+
// after a page reload on that instrument.
|
|
152
|
+
if (instrumentChanged) {
|
|
153
|
+
this.setState({
|
|
154
|
+
grouping: prevProps.selectedInstrumentId === undefined ? this.resolveGrouping(this.props.selectedInstrumentId) : undefined
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
this.onClickCenter(instrumentChanged);
|
|
158
|
+
}
|
|
159
|
+
}, {
|
|
160
|
+
key: "componentDidMount",
|
|
161
|
+
value: function componentDidMount() {
|
|
162
|
+
window.addEventListener('resize', this.resizeEventListener);
|
|
163
|
+
document.addEventListener('visibilitychange', this.visibilityChangeListener);
|
|
164
|
+
this.onClickCenter();
|
|
165
|
+
}
|
|
166
|
+
}, {
|
|
167
|
+
key: "componentWillUnmount",
|
|
168
|
+
value: function componentWillUnmount() {
|
|
169
|
+
window.removeEventListener('resize', this.resizeEventListener);
|
|
170
|
+
document.removeEventListener('visibilitychange', this.visibilityChangeListener);
|
|
171
|
+
}
|
|
172
|
+
}, {
|
|
173
|
+
key: "onScrollRestChange",
|
|
174
|
+
value: function onScrollRestChange() {
|
|
175
|
+
// show "center" button when user scrolls away from rest position
|
|
176
|
+
setTimeout(this.handleScrollRestChange, 230);
|
|
177
|
+
}
|
|
178
|
+
}, {
|
|
179
|
+
key: "handleScrollRestChange",
|
|
180
|
+
value: function handleScrollRestChange() {
|
|
181
|
+
if (this.sellScroller.current) {
|
|
182
|
+
var sellIsAtRest = this.sellScroller.current.getIsAtRest();
|
|
183
|
+
var buyIsAtRest = this.buyScroller.current.getIsAtRest();
|
|
184
|
+
var showCenterButton = !sellIsAtRest || !buyIsAtRest;
|
|
185
|
+
this.setState({
|
|
186
|
+
showCenterButton: showCenterButton
|
|
187
|
+
});
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
}, {
|
|
191
|
+
key: "onGroupingChange",
|
|
192
|
+
value: function onGroupingChange(grouping) {
|
|
193
|
+
(0, _priceGroupingHelper.storeGrouping)(this.props.selectedInstrumentId, grouping);
|
|
194
|
+
this.setState({
|
|
195
|
+
grouping: grouping
|
|
196
|
+
});
|
|
197
|
+
}
|
|
198
|
+
}, {
|
|
199
|
+
key: "setViewMode",
|
|
200
|
+
value: function setViewMode(mode) {
|
|
201
|
+
localStorage.setItem('orderBookViewMode', mode);
|
|
202
|
+
if (mode === 'buy') {
|
|
203
|
+
this.sellScroller.current = null;
|
|
204
|
+
} else if (mode === 'sell') {
|
|
205
|
+
this.buyScroller.current = null;
|
|
206
|
+
}
|
|
207
|
+
this.setState({
|
|
208
|
+
viewMode: mode
|
|
209
|
+
});
|
|
210
|
+
}
|
|
211
|
+
}, {
|
|
212
|
+
key: "calculateAccumulatedSum",
|
|
213
|
+
value: function calculateAccumulatedSum(data) {
|
|
214
|
+
var reverseOrder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
215
|
+
if (!data || data.length === 0) return data;
|
|
216
|
+
|
|
217
|
+
// For sell orders, we want to accumulate from best ask (lowest price) outward
|
|
218
|
+
// If data is in reverse order (highest to lowest), we need to reverse it first
|
|
219
|
+
var processData = reverseOrder ? _toConsumableArray(data).reverse() : data;
|
|
220
|
+
var accumulatedSum = 0;
|
|
221
|
+
var result = processData.map(function (item) {
|
|
222
|
+
accumulatedSum += parseFloat(item.Quantity || 0);
|
|
223
|
+
return _objectSpread(_objectSpread({}, item), {}, {
|
|
224
|
+
AccumulatedSum: accumulatedSum
|
|
225
|
+
});
|
|
226
|
+
});
|
|
227
|
+
|
|
228
|
+
// If we reversed for processing, reverse back to maintain original order
|
|
229
|
+
return reverseOrder ? result.reverse() : result;
|
|
230
|
+
}
|
|
231
|
+
}, {
|
|
232
|
+
key: "render",
|
|
233
|
+
value: function render() {
|
|
234
|
+
var _this3 = this;
|
|
235
|
+
var _this$props = this.props,
|
|
236
|
+
t = _this$props.t,
|
|
237
|
+
cancelAllOrders = _this$props.cancelAllOrders,
|
|
238
|
+
cancelBuyOrders = _this$props.cancelBuyOrders,
|
|
239
|
+
cancelSellOrders = _this$props.cancelSellOrders,
|
|
240
|
+
openOrders = _this$props.openOrders,
|
|
241
|
+
buyOpenOrders = _this$props.buyOpenOrders,
|
|
242
|
+
sellOpenOrders = _this$props.sellOpenOrders,
|
|
243
|
+
selectedInstrument = _this$props.selectedInstrument,
|
|
244
|
+
cancelOrders = _this$props.cancelOrders,
|
|
245
|
+
_this$props$level = _this$props.level2,
|
|
246
|
+
_this$props$level2 = _this$props$level === void 0 ? {
|
|
247
|
+
buy: [],
|
|
248
|
+
sell: []
|
|
249
|
+
} : _this$props$level,
|
|
250
|
+
buy = _this$props$level2.buy,
|
|
251
|
+
sell = _this$props$level2.sell,
|
|
252
|
+
buyPriceClicked = _this$props.buyPriceClicked,
|
|
253
|
+
buyQuantityClicked = _this$props.buyQuantityClicked,
|
|
254
|
+
sellPriceClicked = _this$props.sellPriceClicked,
|
|
255
|
+
sellQuantityClicked = _this$props.sellQuantityClicked,
|
|
256
|
+
fetching = _this$props.fetching,
|
|
257
|
+
_this$props$hideBulkC = _this$props.hideBulkCancelButtons,
|
|
258
|
+
hideBulkCancelButtons = _this$props$hideBulkC === void 0 ? false : _this$props$hideBulkC,
|
|
259
|
+
_this$props$showAccum = _this$props.showAccumulatedSum,
|
|
260
|
+
showAccumulatedSum = _this$props$showAccum === void 0 ? false : _this$props$showAccum,
|
|
261
|
+
SpreadComponent = _this$props.SpreadComponent;
|
|
262
|
+
var _this$state = this.state,
|
|
263
|
+
viewMode = _this$state.viewMode,
|
|
264
|
+
grouping = _this$state.grouping;
|
|
265
|
+
var groupingOptions = this.getGroupingOptions();
|
|
266
|
+
var groupedBuy = this.memoizedGroupLevel2Data('buy', buy, grouping);
|
|
267
|
+
var groupedSell = this.memoizedGroupLevel2Data('sell', sell, grouping);
|
|
268
|
+
var isGrouped = grouping && grouping !== _priceGroupingHelper.NONE_GROUPING_VALUE;
|
|
269
|
+
var priceDecimalPlaces = (0, _decimalPlacesHelper.convertIncrementToIntDecimalPlaces)(Number(isGrouped ? grouping : selectedInstrument === null || selectedInstrument === void 0 ? void 0 : selectedInstrument.PriceIncrement));
|
|
270
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
271
|
+
className: tradeComponentClasses()
|
|
272
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
273
|
+
className: orderBookClasses('view-toggles')
|
|
274
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
275
|
+
className: orderBookClasses('toggle-buttons')
|
|
276
|
+
}, /*#__PURE__*/_react["default"].createElement("button", {
|
|
277
|
+
title: t('Both Orders'),
|
|
278
|
+
className: "".concat(orderBookClasses('toggle-button'), " ").concat(viewMode === 'both' ? 'active' : ''),
|
|
279
|
+
onClick: function onClick() {
|
|
280
|
+
return _this3.setViewMode('both');
|
|
281
|
+
}
|
|
282
|
+
}, /*#__PURE__*/_react["default"].createElement(_APIcon["default"], {
|
|
283
|
+
name: "orderbook-both"
|
|
284
|
+
})), /*#__PURE__*/_react["default"].createElement("button", {
|
|
285
|
+
title: t('Buy Orders'),
|
|
286
|
+
className: "".concat(orderBookClasses('toggle-button'), " ").concat(viewMode === 'buy' ? 'active' : ''),
|
|
287
|
+
onClick: function onClick() {
|
|
288
|
+
return _this3.setViewMode('buy');
|
|
289
|
+
}
|
|
290
|
+
}, /*#__PURE__*/_react["default"].createElement(_APIcon["default"], {
|
|
291
|
+
name: "orderbook-buy"
|
|
292
|
+
})), /*#__PURE__*/_react["default"].createElement("button", {
|
|
293
|
+
title: t('Sell Orders'),
|
|
294
|
+
className: "".concat(orderBookClasses('toggle-button'), " ").concat(viewMode === 'sell' ? 'active' : ''),
|
|
295
|
+
onClick: function onClick() {
|
|
296
|
+
return _this3.setViewMode('sell');
|
|
297
|
+
}
|
|
298
|
+
}, /*#__PURE__*/_react["default"].createElement(_APIcon["default"], {
|
|
299
|
+
name: "orderbook-sell"
|
|
300
|
+
}))), /*#__PURE__*/_react["default"].createElement(_PriceGroupingSelector["default"], {
|
|
301
|
+
value: grouping,
|
|
302
|
+
onChange: this.onGroupingChange,
|
|
303
|
+
options: groupingOptions
|
|
304
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
305
|
+
className: "".concat(flexTable(), " ").concat(orderBookClasses(), " view-mode--").concat(viewMode)
|
|
306
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
307
|
+
className: "".concat(flexTable('body'), " ").concat(orderBookClasses('body'))
|
|
308
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
309
|
+
className: "".concat(flexTable('header', 'background'), " ").concat(orderBookClasses('header'))
|
|
310
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
311
|
+
className: flexTable('column')
|
|
312
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
313
|
+
className: "".concat(flexTable('fixed'), " ").concat(orderBookClasses('table-header', 'price'))
|
|
314
|
+
}, t('Price'))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
315
|
+
className: flexTable('column')
|
|
316
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
317
|
+
className: "".concat(flexTable('fixed'), " ").concat(orderBookClasses('table-header', 'qty'))
|
|
318
|
+
}, t('Qty'))), showAccumulatedSum && /*#__PURE__*/_react["default"].createElement("div", {
|
|
319
|
+
className: flexTable('column')
|
|
320
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
321
|
+
className: "".concat(flexTable('fixed'), " ").concat(orderBookClasses('table-header', 'sum'))
|
|
322
|
+
}, t('Sum')))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
323
|
+
className: orderBookClasses('order-book-body')
|
|
324
|
+
}, viewMode !== 'buy' && /*#__PURE__*/_react["default"].createElement(_APVerticalScroller["default"], {
|
|
325
|
+
ref: this.sellScroller,
|
|
326
|
+
restPosition: "bottom",
|
|
327
|
+
onScrollRestChange: this.onScrollRestChange,
|
|
328
|
+
customClass: orderBookClasses('vertical-scroller-body', (0, _browserHelper.isFirefox)() ? 'firefox' : '')
|
|
329
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
330
|
+
className: "orderbook__table-filler"
|
|
331
|
+
}, /*#__PURE__*/_react["default"].createElement(_Level2DataTableComponent["default"], {
|
|
332
|
+
quantityDecimalPlaces: this.props.convertedQuantityIncrement,
|
|
333
|
+
priceDecimalPlaces: priceDecimalPlaces,
|
|
334
|
+
selectedInstrument: selectedInstrument,
|
|
335
|
+
cancelOrders: cancelOrders,
|
|
336
|
+
onPriceClick: sellPriceClicked,
|
|
337
|
+
onQuantityClick: sellQuantityClicked,
|
|
338
|
+
level2Data: showAccumulatedSum ? this.calculateAccumulatedSum(groupedSell, true) : groupedSell,
|
|
339
|
+
classModifier: 'sell',
|
|
340
|
+
fetching: fetching,
|
|
341
|
+
showAccumulatedSum: showAccumulatedSum
|
|
342
|
+
}))), viewMode === 'both' && !!SpreadComponent && /*#__PURE__*/_react["default"].createElement(SpreadComponent, {
|
|
343
|
+
spread: this.props.spread,
|
|
344
|
+
onCenterClick: function onCenterClick() {
|
|
345
|
+
return _this3.onClickCenter(true);
|
|
346
|
+
},
|
|
347
|
+
showCenterButton: this.state.showCenterButton
|
|
348
|
+
}), viewMode !== 'sell' && /*#__PURE__*/_react["default"].createElement(_APVerticalScroller["default"], {
|
|
349
|
+
ref: this.buyScroller,
|
|
350
|
+
restPosition: "top",
|
|
351
|
+
onScrollRestChange: this.onScrollRestChange,
|
|
352
|
+
customClass: orderBookClasses('vertical-scroller-body', (0, _browserHelper.isFirefox)() ? 'firefox' : '')
|
|
353
|
+
}, /*#__PURE__*/_react["default"].createElement(_Level2DataTableComponent["default"], {
|
|
354
|
+
quantityDecimalPlaces: this.props.convertedQuantityIncrement,
|
|
355
|
+
priceDecimalPlaces: priceDecimalPlaces,
|
|
356
|
+
selectedInstrument: selectedInstrument,
|
|
357
|
+
cancelOrders: cancelOrders,
|
|
358
|
+
onPriceClick: buyPriceClicked,
|
|
359
|
+
onQuantityClick: buyQuantityClicked,
|
|
360
|
+
level2Data: showAccumulatedSum ? this.calculateAccumulatedSum(groupedBuy) : groupedBuy,
|
|
361
|
+
classModifier: 'buy',
|
|
362
|
+
fetching: fetching,
|
|
363
|
+
showAccumulatedSum: showAccumulatedSum
|
|
364
|
+
})), !hideBulkCancelButtons && /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_BulkCancelButtonsComponent["default"], {
|
|
365
|
+
openOrders: openOrders,
|
|
366
|
+
buyOpenOrders: buyOpenOrders,
|
|
367
|
+
sellOpenOrders: sellOpenOrders,
|
|
368
|
+
cancelAllOrders: cancelAllOrders,
|
|
369
|
+
cancelBuyOrders: cancelBuyOrders,
|
|
370
|
+
cancelSellOrders: cancelSellOrders
|
|
371
|
+
}))))));
|
|
372
|
+
}
|
|
373
|
+
}]);
|
|
374
|
+
}(_react["default"].Component);
|
|
375
|
+
var _default = exports["default"] = (0, _reactI18next.withTranslation)('order')(OrderBookComponent);
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _react = _interopRequireDefault(require("react"));
|
|
4
|
+
var _enzyme = require("enzyme");
|
|
5
|
+
var _OrderBookComponent = _interopRequireDefault(require("./OrderBookComponent"));
|
|
6
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
7
|
+
describe('OrderBookComponent', function () {
|
|
8
|
+
var subject;
|
|
9
|
+
var buildSubject = function buildSubject() {
|
|
10
|
+
var props = {
|
|
11
|
+
cancelAllOrders: function cancelAllOrders() {},
|
|
12
|
+
cancelSellOrders: function cancelSellOrders() {},
|
|
13
|
+
cancelBuyOrders: function cancelBuyOrders() {},
|
|
14
|
+
openOrders: [],
|
|
15
|
+
buyOpenOrders: [],
|
|
16
|
+
sellOpenOrders: []
|
|
17
|
+
};
|
|
18
|
+
return (0, _enzyme.mount)(/*#__PURE__*/_react["default"].createElement(_OrderBookComponent["default"], props), {
|
|
19
|
+
context: {
|
|
20
|
+
t: function t(v) {
|
|
21
|
+
return v;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
};
|
|
26
|
+
beforeEach(function () {
|
|
27
|
+
subject = buildSubject();
|
|
28
|
+
});
|
|
29
|
+
it('should not initially display center button', function () {
|
|
30
|
+
expect(subject.find('.orderbook__center-button__btn').length).toBe(0);
|
|
31
|
+
});
|
|
32
|
+
it('should show button when state tells it to', function () {
|
|
33
|
+
subject.setState({
|
|
34
|
+
showCenterButton: true
|
|
35
|
+
});
|
|
36
|
+
expect(subject.find('.orderbook__center-button__btn').length).toBeGreaterThan(0);
|
|
37
|
+
});
|
|
38
|
+
});
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _reactRedux = require("react-redux");
|
|
8
|
+
var _OrderBookComponent = _interopRequireDefault(require("./OrderBookComponent"));
|
|
9
|
+
var _orderHistoryActions = require("../../redux/actions/orderHistoryActions");
|
|
10
|
+
var _numberFormatter = require("../../helpers/numberFormatter");
|
|
11
|
+
var _orderEntryActions = require("../../redux/actions/orderEntryActions");
|
|
12
|
+
var _level2Selectors = require("../../redux/selectors/level2Selectors");
|
|
13
|
+
var _instrumentPositionSelectors = require("../../redux/selectors/instrumentPositionSelectors");
|
|
14
|
+
var _orderHistorySelectors = require("../../redux/selectors/orderHistorySelectors");
|
|
15
|
+
var _decimalPlacesHelper = require("../../helpers/decimalPlaces/decimalPlacesHelper");
|
|
16
|
+
var _SpreadRowComponent = _interopRequireDefault(require("./SpreadRowComponent"));
|
|
17
|
+
var _config = _interopRequireDefault(require("../../config"));
|
|
18
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
19
|
+
var makeMapStateToProps = function makeMapStateToProps() {
|
|
20
|
+
var openOrdersSelector = (0, _orderHistorySelectors.openOrdersSelectorFactory)();
|
|
21
|
+
return function (state) {
|
|
22
|
+
var _config$TradingLayout, _config$TradingLayout2;
|
|
23
|
+
var selectedInstrument = (0, _instrumentPositionSelectors.selectedInstrumentSelector)(state);
|
|
24
|
+
var selectedInstrumentId = selectedInstrument.InstrumentId;
|
|
25
|
+
var fetching = state.apexCore.level2.fetching;
|
|
26
|
+
var decimalPlaces = state.apexCore.product.decimalPlaces;
|
|
27
|
+
var filter = {
|
|
28
|
+
filterMode: 'selectedInstrument'
|
|
29
|
+
};
|
|
30
|
+
var level2 = (0, _level2Selectors.level2Selector)(state, filter);
|
|
31
|
+
var openOrders = openOrdersSelector(state, filter);
|
|
32
|
+
var buyOpenOrders = (0, _orderHistorySelectors.buyOpenOrdersSelector)(state, filter);
|
|
33
|
+
var sellOpenOrders = (0, _orderHistorySelectors.sellOpenOrdersSelector)(state, filter);
|
|
34
|
+
var spread = (0, _level2Selectors.spreadSelector)(state, filter);
|
|
35
|
+
var convertedQuantityIncrement = (0, _decimalPlacesHelper.convertIncrementToIntDecimalPlaces)(selectedInstrument.QuantityIncrement);
|
|
36
|
+
var convertedPriceIncrement = (0, _decimalPlacesHelper.convertIncrementToIntDecimalPlaces)(selectedInstrument.PriceIncrement);
|
|
37
|
+
return {
|
|
38
|
+
level2: level2,
|
|
39
|
+
spread: (0, _numberFormatter.formatNumberToLocale)(spread, (0, _decimalPlacesHelper.convertIncrementToIntDecimalPlaces)(selectedInstrument.PriceIncrement)),
|
|
40
|
+
decimalPlaces: decimalPlaces,
|
|
41
|
+
fetching: fetching,
|
|
42
|
+
selectedInstrumentId: selectedInstrumentId,
|
|
43
|
+
openOrders: openOrders,
|
|
44
|
+
buyOpenOrders: buyOpenOrders,
|
|
45
|
+
sellOpenOrders: sellOpenOrders,
|
|
46
|
+
selectedInstrument: selectedInstrument,
|
|
47
|
+
convertedQuantityIncrement: convertedQuantityIncrement,
|
|
48
|
+
convertedPriceIncrement: convertedPriceIncrement,
|
|
49
|
+
SpreadComponent: _SpreadRowComponent["default"],
|
|
50
|
+
showAccumulatedSum: (_config$TradingLayout = (_config$TradingLayout2 = _config["default"].TradingLayout) === null || _config$TradingLayout2 === void 0 ? void 0 : _config$TradingLayout2.showAccumulatedSum) !== null && _config$TradingLayout !== void 0 ? _config$TradingLayout : false
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
var mapDispatchToProps = {
|
|
55
|
+
cancelAllOrders: _orderHistoryActions.cancelAllOrders,
|
|
56
|
+
cancelBuyOrders: _orderHistoryActions.cancelBuyOrders,
|
|
57
|
+
cancelSellOrders: _orderHistoryActions.cancelSellOrders,
|
|
58
|
+
cancelOrders: _orderHistoryActions.cancelOrders,
|
|
59
|
+
buyQuantityClicked: _orderEntryActions.buyQuantityClicked,
|
|
60
|
+
buyPriceClicked: function buyPriceClicked(e) {
|
|
61
|
+
return (0, _orderEntryActions.buyPriceClicked)(e.currentTarget.dataset.price);
|
|
62
|
+
},
|
|
63
|
+
sellQuantityClicked: _orderEntryActions.sellQuantityClicked,
|
|
64
|
+
sellPriceClicked: function sellPriceClicked(e) {
|
|
65
|
+
return (0, _orderEntryActions.sellPriceClicked)(e.currentTarget.dataset.price);
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
var _default = exports["default"] = (0, _reactRedux.connect)(makeMapStateToProps, mapDispatchToProps)(_OrderBookComponent["default"]);
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _react = _interopRequireDefault(require("react"));
|
|
4
|
+
var _enzyme = require("enzyme");
|
|
5
|
+
var _reduxMockStore = _interopRequireDefault(require("redux-mock-store"));
|
|
6
|
+
var _OrderBookContainer = _interopRequireDefault(require("./OrderBookContainer"));
|
|
7
|
+
var _bignumber = require("bignumber.js");
|
|
8
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
9
|
+
jest.mock('../../redux/selectors/level2Selectors', function () {
|
|
10
|
+
return {
|
|
11
|
+
level2Selector: function level2Selector(state) {
|
|
12
|
+
return state.apexCore.level2;
|
|
13
|
+
},
|
|
14
|
+
spreadSelector: jest.fn(function () {
|
|
15
|
+
return 5;
|
|
16
|
+
})
|
|
17
|
+
};
|
|
18
|
+
});
|
|
19
|
+
jest.mock('../../redux/selectors/instrumentPositionSelectors', function () {
|
|
20
|
+
return {
|
|
21
|
+
selectedInstrumentSelector: function selectedInstrumentSelector() {
|
|
22
|
+
return {
|
|
23
|
+
Product2Symbol: 'USD',
|
|
24
|
+
InstrumentId: 0,
|
|
25
|
+
Symbol: 'BTCUSD',
|
|
26
|
+
Product2: 0,
|
|
27
|
+
Product1: 1,
|
|
28
|
+
Product1Symbol: 'BTC'
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
});
|
|
33
|
+
jest.mock('./OrderBookComponent', function () {
|
|
34
|
+
var MockOrderBookComponent = function MockOrderBookComponent() {
|
|
35
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
36
|
+
className: "component"
|
|
37
|
+
}, "Content");
|
|
38
|
+
};
|
|
39
|
+
return MockOrderBookComponent;
|
|
40
|
+
});
|
|
41
|
+
describe('OrderBookContainer', function () {
|
|
42
|
+
var initialState = {
|
|
43
|
+
apexCore: {
|
|
44
|
+
instrument: {
|
|
45
|
+
selectedInstrumentId: 1,
|
|
46
|
+
instruments: [{
|
|
47
|
+
InstrumentId: 1,
|
|
48
|
+
Product1: 1,
|
|
49
|
+
Product1Symbol: 'BTC',
|
|
50
|
+
Product2: 2,
|
|
51
|
+
Product2Symbol: 'USD'
|
|
52
|
+
}]
|
|
53
|
+
},
|
|
54
|
+
level1: [{
|
|
55
|
+
BestOffer: 10,
|
|
56
|
+
BestBid: 5
|
|
57
|
+
}, {
|
|
58
|
+
BestOffer: 10,
|
|
59
|
+
BestBid: 5
|
|
60
|
+
}],
|
|
61
|
+
level2: {
|
|
62
|
+
buy: [5, 3, 2],
|
|
63
|
+
sell: [10, 11, 12]
|
|
64
|
+
},
|
|
65
|
+
position: {
|
|
66
|
+
positions: {
|
|
67
|
+
0: {
|
|
68
|
+
ProductId: 0,
|
|
69
|
+
ProductSymbol: 'USD'
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
selectedProductId: 0
|
|
73
|
+
},
|
|
74
|
+
product: {
|
|
75
|
+
decimalPlaces: {
|
|
76
|
+
BTC: 8,
|
|
77
|
+
USD: 2
|
|
78
|
+
},
|
|
79
|
+
products: [{
|
|
80
|
+
OMSId: 1,
|
|
81
|
+
ProductId: 1,
|
|
82
|
+
Product: 'BTC',
|
|
83
|
+
ProductFullName: 'Bitcoin',
|
|
84
|
+
ProductType: 'NationalCurrency',
|
|
85
|
+
DecimalPlaces: 8,
|
|
86
|
+
TickSize: 1e-8,
|
|
87
|
+
NoFees: false
|
|
88
|
+
}, {
|
|
89
|
+
OMSId: 1,
|
|
90
|
+
ProductId: 2,
|
|
91
|
+
Product: 'USD',
|
|
92
|
+
ProductFullName: 'US Dollar',
|
|
93
|
+
ProductType: 'CryptoCurrency',
|
|
94
|
+
DecimalPlaces: 2,
|
|
95
|
+
TickSize: 0.01,
|
|
96
|
+
NoFees: false
|
|
97
|
+
}]
|
|
98
|
+
},
|
|
99
|
+
orderHistory: {
|
|
100
|
+
openOrders: []
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
var mockStore = (0, _reduxMockStore["default"])();
|
|
105
|
+
var store, container;
|
|
106
|
+
beforeEach(function () {
|
|
107
|
+
store = mockStore(initialState);
|
|
108
|
+
container = (0, _enzyme.mount)(/*#__PURE__*/_react["default"].createElement(_OrderBookContainer["default"], {
|
|
109
|
+
store: store
|
|
110
|
+
}));
|
|
111
|
+
});
|
|
112
|
+
it('should render OrderBookComponent', function () {
|
|
113
|
+
expect(container.find('.component').length).toEqual(1);
|
|
114
|
+
});
|
|
115
|
+
it('should match level2 props with initialState', function () {
|
|
116
|
+
expect(container.childAt(0).prop('level2')).toEqual(initialState.apexCore.level2);
|
|
117
|
+
});
|
|
118
|
+
it('should have spread equal to 5', function () {
|
|
119
|
+
expect(container.childAt(0).prop('spread')).toEqual(new _bignumber.BigNumber(5).toFormat(2));
|
|
120
|
+
});
|
|
121
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
.price-grouping-selector {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.price-grouping-selector .price-grouping-selector__select__select-control {
|
|
7
|
+
height: 20px;
|
|
8
|
+
min-width: 7rem;
|
|
9
|
+
padding: 0 2rem 0 0.8rem;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.price-grouping-selector .price-grouping-selector__select__select-single-value,
|
|
13
|
+
.price-grouping-selector .price-grouping-selector__select__select-placeholder {
|
|
14
|
+
font-size: 1.1rem;
|
|
15
|
+
}
|