@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,619 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _reduxMockStore = _interopRequireDefault(require("redux-mock-store"));
|
|
4
|
+
var _reduxThunk = _interopRequireDefault(require("redux-thunk"));
|
|
5
|
+
var _reduxForm = require("redux-form");
|
|
6
|
+
var actions = _interopRequireWildcard(require("./orderEntryActions"));
|
|
7
|
+
var _apex = _interopRequireDefault(require("../../apex"));
|
|
8
|
+
var placeOrderHelper = _interopRequireWildcard(require("../../helpers/placeOrderHelper"));
|
|
9
|
+
var _orderEntryFormConstants = require("../../constants/sendOrder/orderEntryFormConstants");
|
|
10
|
+
var _orderFormTypes = require("../../constants/sendOrder/orderFormTypes");
|
|
11
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
12
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
13
|
+
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); }
|
|
14
|
+
function _regenerator() { /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ var e, t, r = "function" == typeof Symbol ? Symbol : {}, n = r.iterator || "@@iterator", o = r.toStringTag || "@@toStringTag"; function i(r, n, o, i) { var c = n && n.prototype instanceof Generator ? n : Generator, u = Object.create(c.prototype); return _regeneratorDefine2(u, "_invoke", function (r, n, o) { var i, c, u, f = 0, p = o || [], y = !1, G = { p: 0, n: 0, v: e, a: d, f: d.bind(e, 4), d: function d(t, r) { return i = t, c = 0, u = e, G.n = r, a; } }; function d(r, n) { for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) { var o, i = p[t], d = G.p, l = i[2]; r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0)); } if (o || r > 1) return a; throw y = !0, n; } return function (o, p, l) { if (f > 1) throw TypeError("Generator is already running"); for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) { i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u); try { if (f = 2, i) { if (c || (o = "next"), t = i[o]) { if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object"); if (!t.done) return t; u = t.value, c < 2 && (c = 0); } else 1 === c && (t = i["return"]) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1); i = e; } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break; } catch (t) { i = e, c = 1, u = t; } finally { f = 1; } } return { value: t, done: y }; }; }(r, o, i), !0), u; } var a = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} t = Object.getPrototypeOf; var c = [][n] ? t(t([][n]())) : (_regeneratorDefine2(t = {}, n, function () { return this; }), t), u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c); function f(e) { return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine2(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine2(u, "constructor", GeneratorFunctionPrototype), _regeneratorDefine2(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", _regeneratorDefine2(GeneratorFunctionPrototype, o, "GeneratorFunction"), _regeneratorDefine2(u), _regeneratorDefine2(u, o, "Generator"), _regeneratorDefine2(u, n, function () { return this; }), _regeneratorDefine2(u, "toString", function () { return "[object Generator]"; }), (_regenerator = function _regenerator() { return { w: i, m: f }; })(); }
|
|
15
|
+
function _regeneratorDefine2(e, r, n, t) { var i = Object.defineProperty; try { i({}, "", {}); } catch (e) { i = 0; } _regeneratorDefine2 = function _regeneratorDefine(e, r, n, t) { function o(r, n) { _regeneratorDefine2(e, r, function (e) { return this._invoke(r, n, e); }); } r ? i ? i(e, r, { value: n, enumerable: !t, configurable: !t, writable: !t }) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2)); }, _regeneratorDefine2(e, r, n, t); }
|
|
16
|
+
function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
|
|
17
|
+
function _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
|
|
18
|
+
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; }
|
|
19
|
+
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; }
|
|
20
|
+
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; }
|
|
21
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
22
|
+
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); }
|
|
23
|
+
jest.mock('../../apex', function () {
|
|
24
|
+
var sendOrderResponse = {
|
|
25
|
+
status: 'Accepted'
|
|
26
|
+
};
|
|
27
|
+
return {
|
|
28
|
+
connection: {
|
|
29
|
+
SendOrder: jest.fn(function () {
|
|
30
|
+
return Promise.resolve(sendOrderResponse);
|
|
31
|
+
}),
|
|
32
|
+
SubmitBlockTrade: jest.fn(function () {
|
|
33
|
+
return Promise.resolve(sendOrderResponse);
|
|
34
|
+
}),
|
|
35
|
+
setSendOrderResponse: function setSendOrderResponse(response) {
|
|
36
|
+
sendOrderResponse = response;
|
|
37
|
+
},
|
|
38
|
+
setSubmitBlockTrade: function setSubmitBlockTrade(response) {
|
|
39
|
+
sendOrderResponse = response;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
});
|
|
44
|
+
jest.mock('../../redux/actions/modalActions', function () {
|
|
45
|
+
return {
|
|
46
|
+
openModal: jest.fn(function () {
|
|
47
|
+
return {
|
|
48
|
+
type: 'OPEN_MODAL'
|
|
49
|
+
};
|
|
50
|
+
}),
|
|
51
|
+
MODAL_TYPES: {
|
|
52
|
+
SUBMIT_LIMIT_ORDER: 'SUBMIT_LIMIT_ORDER'
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
});
|
|
56
|
+
jest.mock('../../helpers/placeOrderHelper', function () {
|
|
57
|
+
var sendOrderReturnValue = {
|
|
58
|
+
OrderType: 1
|
|
59
|
+
};
|
|
60
|
+
return {
|
|
61
|
+
getFormValuesForSubmittingOrder: jest.fn(function () {
|
|
62
|
+
return sendOrderReturnValue;
|
|
63
|
+
}),
|
|
64
|
+
setSendOrderReturnValue: function setSendOrderReturnValue(returnValue) {
|
|
65
|
+
sendOrderReturnValue = returnValue;
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
});
|
|
69
|
+
jest.mock('../../helpers/orderHelper', function () {
|
|
70
|
+
return {
|
|
71
|
+
syncPriceWithQuantity: jest.fn(function () {
|
|
72
|
+
return 200;
|
|
73
|
+
}),
|
|
74
|
+
syncQuantityWithPrice: jest.fn(function () {
|
|
75
|
+
return 5;
|
|
76
|
+
})
|
|
77
|
+
};
|
|
78
|
+
});
|
|
79
|
+
jest.mock('redux-form', function () {
|
|
80
|
+
return {
|
|
81
|
+
change: jest.fn(function () {
|
|
82
|
+
return {
|
|
83
|
+
type: 'REDUX_CHANGE'
|
|
84
|
+
};
|
|
85
|
+
}),
|
|
86
|
+
untouch: jest.fn(function () {
|
|
87
|
+
return {
|
|
88
|
+
type: 'REDUX_UNTOUCH'
|
|
89
|
+
};
|
|
90
|
+
}),
|
|
91
|
+
reset: jest.fn(function () {
|
|
92
|
+
return {
|
|
93
|
+
type: 'REDUX_RESET'
|
|
94
|
+
};
|
|
95
|
+
})
|
|
96
|
+
};
|
|
97
|
+
});
|
|
98
|
+
jest.mock('../margin/selectors', function () {
|
|
99
|
+
return {
|
|
100
|
+
accountIdSelector: jest.fn(function () {
|
|
101
|
+
return 1;
|
|
102
|
+
})
|
|
103
|
+
};
|
|
104
|
+
});
|
|
105
|
+
jest.mock('../selectors/instrumentPositionSelectors', function () {
|
|
106
|
+
return {
|
|
107
|
+
selectedInstrumentSelector: jest.fn(function () {
|
|
108
|
+
return {
|
|
109
|
+
InstrumentId: 1,
|
|
110
|
+
Product2Symbol: 'USD',
|
|
111
|
+
Product2: 2,
|
|
112
|
+
Symbol: 'BTCUSD',
|
|
113
|
+
Product1: 1,
|
|
114
|
+
Product1Symbol: 'BTC'
|
|
115
|
+
};
|
|
116
|
+
})
|
|
117
|
+
};
|
|
118
|
+
});
|
|
119
|
+
var middlewares = [_reduxThunk["default"]];
|
|
120
|
+
var mockStore = (0, _reduxMockStore["default"])(middlewares);
|
|
121
|
+
describe('orderEntryActions', function () {
|
|
122
|
+
var user = {
|
|
123
|
+
userInfo: {
|
|
124
|
+
AccountId: 1,
|
|
125
|
+
OMSId: 1
|
|
126
|
+
}
|
|
127
|
+
};
|
|
128
|
+
var instrument = {
|
|
129
|
+
selectedInstrumentId: 1,
|
|
130
|
+
instruments: [{
|
|
131
|
+
InstrumentId: 1,
|
|
132
|
+
Product2Symbol: 'USD',
|
|
133
|
+
Product2: 2,
|
|
134
|
+
Symbol: 'BTCUSD',
|
|
135
|
+
Product1: 1,
|
|
136
|
+
Product1Symbol: 'BTC'
|
|
137
|
+
}]
|
|
138
|
+
};
|
|
139
|
+
var product = {
|
|
140
|
+
products: [{
|
|
141
|
+
ProductId: 1,
|
|
142
|
+
Product: 'BTC',
|
|
143
|
+
ProductFullName: 'Bitcoin',
|
|
144
|
+
ProductType: 'CryptoCurrency',
|
|
145
|
+
DecimalPlaces: 8
|
|
146
|
+
}, {
|
|
147
|
+
ProductId: 2,
|
|
148
|
+
Product: 'USD',
|
|
149
|
+
ProductFullName: 'USDollar',
|
|
150
|
+
ProductType: 'Currency',
|
|
151
|
+
DecimalPlaces: 2
|
|
152
|
+
}],
|
|
153
|
+
decimalPlaces: {
|
|
154
|
+
USD: 2,
|
|
155
|
+
BTC: 8
|
|
156
|
+
}
|
|
157
|
+
};
|
|
158
|
+
var level2 = {
|
|
159
|
+
sell: [{
|
|
160
|
+
Price: 20,
|
|
161
|
+
Quantity: 5
|
|
162
|
+
}],
|
|
163
|
+
buy: [{
|
|
164
|
+
Price: 100,
|
|
165
|
+
Quantity: 1
|
|
166
|
+
}]
|
|
167
|
+
};
|
|
168
|
+
var level1 = {
|
|
169
|
+
1: {
|
|
170
|
+
InstrumentId: 1,
|
|
171
|
+
BestOffer: 20
|
|
172
|
+
}
|
|
173
|
+
};
|
|
174
|
+
var mockStoreWithData = function mockStoreWithData(orderEntryForm) {
|
|
175
|
+
return mockStore({
|
|
176
|
+
user: user,
|
|
177
|
+
apexCore: {
|
|
178
|
+
product: product,
|
|
179
|
+
instrument: instrument,
|
|
180
|
+
level1: level1,
|
|
181
|
+
level2: level2
|
|
182
|
+
},
|
|
183
|
+
form: {
|
|
184
|
+
orderEntry: {
|
|
185
|
+
values: _objectSpread({
|
|
186
|
+
limitPrice: 0,
|
|
187
|
+
stopPrice: 0,
|
|
188
|
+
quantity: 0,
|
|
189
|
+
orderType: _orderEntryFormConstants.orderTypes.market.displayName,
|
|
190
|
+
side: _orderEntryFormConstants.buyValue
|
|
191
|
+
}, orderEntryForm)
|
|
192
|
+
},
|
|
193
|
+
tradingStyle: {
|
|
194
|
+
values: {
|
|
195
|
+
tradingStyle: 'Standard'
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
margin: {
|
|
200
|
+
instrument: {
|
|
201
|
+
fetching: true
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
});
|
|
205
|
+
};
|
|
206
|
+
beforeEach(function () {
|
|
207
|
+
jest.clearAllMocks();
|
|
208
|
+
console.error = jest.fn();
|
|
209
|
+
});
|
|
210
|
+
describe('action placeOrderWithChecks', function () {
|
|
211
|
+
var store;
|
|
212
|
+
beforeEach(function () {
|
|
213
|
+
store = mockStoreWithData({});
|
|
214
|
+
});
|
|
215
|
+
it('should open modal if limit price is below market price for sell order', /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
|
|
216
|
+
return _regenerator().w(function (_context) {
|
|
217
|
+
while (1) switch (_context.n) {
|
|
218
|
+
case 0:
|
|
219
|
+
_context.n = 1;
|
|
220
|
+
return store.dispatch(actions.placeOrderWithChecks(_orderFormTypes.orderFormTypes["default"], {
|
|
221
|
+
limitPrice: 10,
|
|
222
|
+
stopPrice: 0,
|
|
223
|
+
quantity: 0,
|
|
224
|
+
orderType: _orderEntryFormConstants.orderTypes.limit.displayName,
|
|
225
|
+
side: _orderEntryFormConstants.sellValue
|
|
226
|
+
}));
|
|
227
|
+
case 1:
|
|
228
|
+
expect(store.getActions()).toEqual([{
|
|
229
|
+
type: 'OPEN_MODAL'
|
|
230
|
+
}]);
|
|
231
|
+
case 2:
|
|
232
|
+
return _context.a(2);
|
|
233
|
+
}
|
|
234
|
+
}, _callee);
|
|
235
|
+
})));
|
|
236
|
+
it('should not open modal if limit price is more then market price for sell order', /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2() {
|
|
237
|
+
return _regenerator().w(function (_context2) {
|
|
238
|
+
while (1) switch (_context2.n) {
|
|
239
|
+
case 0:
|
|
240
|
+
_context2.n = 1;
|
|
241
|
+
return store.dispatch(actions.placeOrderWithChecks(_orderFormTypes.orderFormTypes["default"], {
|
|
242
|
+
limitPrice: 30,
|
|
243
|
+
stopPrice: 0,
|
|
244
|
+
quantity: 0,
|
|
245
|
+
orderType: _orderEntryFormConstants.orderTypes.limit.displayName,
|
|
246
|
+
side: _orderEntryFormConstants.sellValue
|
|
247
|
+
}));
|
|
248
|
+
case 1:
|
|
249
|
+
expect(store.getActions()).toEqual([]);
|
|
250
|
+
case 2:
|
|
251
|
+
return _context2.a(2);
|
|
252
|
+
}
|
|
253
|
+
}, _callee2);
|
|
254
|
+
})));
|
|
255
|
+
it('should not open modal if order is not limit', /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3() {
|
|
256
|
+
return _regenerator().w(function (_context3) {
|
|
257
|
+
while (1) switch (_context3.n) {
|
|
258
|
+
case 0:
|
|
259
|
+
_context3.n = 1;
|
|
260
|
+
return store.dispatch(actions.placeOrderWithChecks(_orderFormTypes.orderFormTypes["default"], {
|
|
261
|
+
limitPrice: 10,
|
|
262
|
+
stopPrice: 0,
|
|
263
|
+
quantity: 0,
|
|
264
|
+
orderType: _orderEntryFormConstants.orderTypes.market.displayName,
|
|
265
|
+
side: _orderEntryFormConstants.sellValue
|
|
266
|
+
}));
|
|
267
|
+
case 1:
|
|
268
|
+
expect(store.getActions()).toEqual([]);
|
|
269
|
+
case 2:
|
|
270
|
+
return _context3.a(2);
|
|
271
|
+
}
|
|
272
|
+
}, _callee3);
|
|
273
|
+
})));
|
|
274
|
+
it('should not open modal if order is not sell', /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee4() {
|
|
275
|
+
return _regenerator().w(function (_context4) {
|
|
276
|
+
while (1) switch (_context4.n) {
|
|
277
|
+
case 0:
|
|
278
|
+
_context4.n = 1;
|
|
279
|
+
return store.dispatch(actions.placeOrderWithChecks(_orderFormTypes.orderFormTypes["default"], {
|
|
280
|
+
limitPrice: 10,
|
|
281
|
+
stopPrice: 0,
|
|
282
|
+
quantity: 0,
|
|
283
|
+
orderType: _orderEntryFormConstants.orderTypes.limit.displayName,
|
|
284
|
+
side: _orderEntryFormConstants.buyValue
|
|
285
|
+
}));
|
|
286
|
+
case 1:
|
|
287
|
+
expect(store.getActions()).toEqual([]);
|
|
288
|
+
case 2:
|
|
289
|
+
return _context4.a(2);
|
|
290
|
+
}
|
|
291
|
+
}, _callee4);
|
|
292
|
+
})));
|
|
293
|
+
});
|
|
294
|
+
describe('action placeOrder', function () {
|
|
295
|
+
var store;
|
|
296
|
+
beforeEach(function () {
|
|
297
|
+
store = mockStoreWithData({});
|
|
298
|
+
});
|
|
299
|
+
it('should send order with correct args', /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee5() {
|
|
300
|
+
var state, _state$apexCore, product, level2, form;
|
|
301
|
+
return _regenerator().w(function (_context5) {
|
|
302
|
+
while (1) switch (_context5.n) {
|
|
303
|
+
case 0:
|
|
304
|
+
_context5.n = 1;
|
|
305
|
+
return store.dispatch(actions.placeOrder(_orderFormTypes.orderFormTypes["default"], {
|
|
306
|
+
orderEntry: {
|
|
307
|
+
values: {
|
|
308
|
+
limitPrice: 0,
|
|
309
|
+
stopPrice: 0,
|
|
310
|
+
quantity: 0,
|
|
311
|
+
orderType: _orderEntryFormConstants.orderTypes.market.displayName,
|
|
312
|
+
side: _orderEntryFormConstants.buyValue
|
|
313
|
+
}
|
|
314
|
+
},
|
|
315
|
+
tradingStyle: {
|
|
316
|
+
values: {
|
|
317
|
+
tradingStyle: 'Standard'
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
}));
|
|
321
|
+
case 1:
|
|
322
|
+
state = store.getState();
|
|
323
|
+
_state$apexCore = state.apexCore, product = _state$apexCore.product, level2 = _state$apexCore.level2, form = state.form;
|
|
324
|
+
expect(placeOrderHelper.getFormValuesForSubmittingOrder).toHaveBeenCalledWith(_orderFormTypes.orderFormTypes["default"], {
|
|
325
|
+
state: state,
|
|
326
|
+
decimalPlaces: product.decimalPlaces,
|
|
327
|
+
instrument: {
|
|
328
|
+
selectedInstrumentId: 1
|
|
329
|
+
},
|
|
330
|
+
form: form,
|
|
331
|
+
userInfo: {
|
|
332
|
+
AccountId: 1,
|
|
333
|
+
OMSId: 1
|
|
334
|
+
},
|
|
335
|
+
priceDecimalPlaces: 2,
|
|
336
|
+
level1: level1,
|
|
337
|
+
level2: level2,
|
|
338
|
+
selectedAccountId: 1
|
|
339
|
+
});
|
|
340
|
+
case 2:
|
|
341
|
+
return _context5.a(2);
|
|
342
|
+
}
|
|
343
|
+
}, _callee5);
|
|
344
|
+
})));
|
|
345
|
+
it('should send order', /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee6() {
|
|
346
|
+
var sendOrderReturnValue;
|
|
347
|
+
return _regenerator().w(function (_context6) {
|
|
348
|
+
while (1) switch (_context6.n) {
|
|
349
|
+
case 0:
|
|
350
|
+
sendOrderReturnValue = {
|
|
351
|
+
OrderType: _orderEntryFormConstants.orderTypes.stopMarket
|
|
352
|
+
}; // eslint-disable-next-line import/namespace
|
|
353
|
+
placeOrderHelper.setSendOrderReturnValue(sendOrderReturnValue);
|
|
354
|
+
_context6.n = 1;
|
|
355
|
+
return store.dispatch(actions.placeOrder(_orderFormTypes.orderFormTypes["default"]));
|
|
356
|
+
case 1:
|
|
357
|
+
expect(_apex["default"].connection.SendOrder).toHaveBeenCalledWith(sendOrderReturnValue);
|
|
358
|
+
case 2:
|
|
359
|
+
return _context6.a(2);
|
|
360
|
+
}
|
|
361
|
+
}, _callee6);
|
|
362
|
+
})));
|
|
363
|
+
it('should start SubmitBlockTrade event if order type `block`', /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee7() {
|
|
364
|
+
return _regenerator().w(function (_context7) {
|
|
365
|
+
while (1) switch (_context7.n) {
|
|
366
|
+
case 0:
|
|
367
|
+
_context7.n = 1;
|
|
368
|
+
return store.dispatch(actions.placeOrder(_orderFormTypes.orderFormTypes.block));
|
|
369
|
+
case 1:
|
|
370
|
+
expect(_apex["default"].connection.SubmitBlockTrade).toHaveBeenCalled();
|
|
371
|
+
case 2:
|
|
372
|
+
return _context7.a(2);
|
|
373
|
+
}
|
|
374
|
+
}, _callee7);
|
|
375
|
+
})));
|
|
376
|
+
describe('response status is not `Accepted`', function () {
|
|
377
|
+
it('should not clear default order entry form', /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee8() {
|
|
378
|
+
var sendOrderResponse;
|
|
379
|
+
return _regenerator().w(function (_context8) {
|
|
380
|
+
while (1) switch (_context8.n) {
|
|
381
|
+
case 0:
|
|
382
|
+
sendOrderResponse = {
|
|
383
|
+
status: 'Rejected'
|
|
384
|
+
};
|
|
385
|
+
_apex["default"].connection.setSendOrderResponse(sendOrderResponse);
|
|
386
|
+
_context8.n = 1;
|
|
387
|
+
return store.dispatch(actions.placeOrder(_orderFormTypes.orderFormTypes["default"]), {});
|
|
388
|
+
case 1:
|
|
389
|
+
expect(_reduxForm.change).not.toHaveBeenCalled();
|
|
390
|
+
case 2:
|
|
391
|
+
return _context8.a(2);
|
|
392
|
+
}
|
|
393
|
+
}, _callee8);
|
|
394
|
+
})));
|
|
395
|
+
it('should not clear advanced order entry form if placing order failed', /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee9() {
|
|
396
|
+
var sendOrderResponse;
|
|
397
|
+
return _regenerator().w(function (_context9) {
|
|
398
|
+
while (1) switch (_context9.n) {
|
|
399
|
+
case 0:
|
|
400
|
+
sendOrderResponse = {
|
|
401
|
+
status: 'Rejected'
|
|
402
|
+
};
|
|
403
|
+
_apex["default"].connection.setSendOrderResponse(sendOrderResponse);
|
|
404
|
+
_context9.n = 1;
|
|
405
|
+
return store.dispatch(actions.placeOrder(_orderFormTypes.orderFormTypes.advanced, {}));
|
|
406
|
+
case 1:
|
|
407
|
+
expect(_reduxForm.change).not.toHaveBeenCalled();
|
|
408
|
+
case 2:
|
|
409
|
+
return _context9.a(2);
|
|
410
|
+
}
|
|
411
|
+
}, _callee9);
|
|
412
|
+
})));
|
|
413
|
+
});
|
|
414
|
+
});
|
|
415
|
+
describe('action buyPriceClicked', function () {
|
|
416
|
+
testSwitchToLimitOrderType('buyPriceClicked');
|
|
417
|
+
it('should change limitPrice', function () {
|
|
418
|
+
var store = mockStoreWithData();
|
|
419
|
+
store.dispatch(actions.buyPriceClicked(1000));
|
|
420
|
+
testLimitPriceIsChanged(1000, 'orderEntry');
|
|
421
|
+
});
|
|
422
|
+
it('should not change side', function () {
|
|
423
|
+
var store = mockStoreWithData();
|
|
424
|
+
store.dispatch(actions.buyPriceClicked(1000));
|
|
425
|
+
testSideIsNotChanged();
|
|
426
|
+
});
|
|
427
|
+
});
|
|
428
|
+
describe('action buyQuantityClicked', function () {
|
|
429
|
+
var quantity = 1;
|
|
430
|
+
var index = 0;
|
|
431
|
+
var orders = [{
|
|
432
|
+
Quantity: 1
|
|
433
|
+
}, {
|
|
434
|
+
Quantity: 1
|
|
435
|
+
}, {
|
|
436
|
+
Quantity: 1
|
|
437
|
+
}];
|
|
438
|
+
testCalculatingQuantity('buyQuantityClicked', orders);
|
|
439
|
+
it('should change quantity', function () {
|
|
440
|
+
var store = mockStoreWithData();
|
|
441
|
+
store.dispatch(actions.buyQuantityClicked(quantity, index, orders));
|
|
442
|
+
testQuantityIsChanged(String(quantity), 'orderEntry');
|
|
443
|
+
});
|
|
444
|
+
it('should change side to `sell`', function () {
|
|
445
|
+
var store = mockStoreWithData();
|
|
446
|
+
store.dispatch(actions.buyQuantityClicked(quantity, index, orders));
|
|
447
|
+
testSideIsChanged(_orderEntryFormConstants.sellValue, 'orderEntry');
|
|
448
|
+
});
|
|
449
|
+
it('should change order type to `market` value', function () {
|
|
450
|
+
var store = mockStoreWithData();
|
|
451
|
+
store.dispatch(actions.buyQuantityClicked(quantity, index, orders));
|
|
452
|
+
testOrderTypeIsChanged(_orderEntryFormConstants.orderTypes.market.displayName, 'orderEntry');
|
|
453
|
+
});
|
|
454
|
+
});
|
|
455
|
+
describe('action sellPriceClicked', function () {
|
|
456
|
+
testSwitchToLimitOrderType('sellPriceClicked');
|
|
457
|
+
it('should change limit price', function () {
|
|
458
|
+
var store = mockStoreWithData();
|
|
459
|
+
store.dispatch(actions.sellPriceClicked(1000));
|
|
460
|
+
testLimitPriceIsChanged(1000, 'orderEntry');
|
|
461
|
+
});
|
|
462
|
+
it('should not change side', function () {
|
|
463
|
+
var store = mockStoreWithData();
|
|
464
|
+
store.dispatch(actions.sellPriceClicked(1000));
|
|
465
|
+
testSideIsNotChanged();
|
|
466
|
+
});
|
|
467
|
+
});
|
|
468
|
+
describe('action sellQuantityClicked', function () {
|
|
469
|
+
var quantity = 1;
|
|
470
|
+
var index = 2;
|
|
471
|
+
var orders = [{
|
|
472
|
+
Quantity: 1
|
|
473
|
+
}, {
|
|
474
|
+
Quantity: 1
|
|
475
|
+
}, {
|
|
476
|
+
Quantity: 1
|
|
477
|
+
}];
|
|
478
|
+
testCalculatingQuantity('sellQuantityClicked', orders);
|
|
479
|
+
it('should change quantity', function () {
|
|
480
|
+
var store = mockStoreWithData();
|
|
481
|
+
store.dispatch(actions.sellQuantityClicked(quantity, index, orders));
|
|
482
|
+
testQuantityIsChanged(String(quantity), 'orderEntry');
|
|
483
|
+
});
|
|
484
|
+
it('should change side to `buy`', function () {
|
|
485
|
+
var store = mockStoreWithData();
|
|
486
|
+
store.dispatch(actions.sellQuantityClicked(quantity, index, orders));
|
|
487
|
+
testSideIsChanged(_orderEntryFormConstants.buyValue, 'orderEntry');
|
|
488
|
+
});
|
|
489
|
+
it('should change order type to `market` value', function () {
|
|
490
|
+
var store = mockStoreWithData();
|
|
491
|
+
store.dispatch(actions.sellQuantityClicked(quantity, index, orders));
|
|
492
|
+
testOrderTypeIsChanged(_orderEntryFormConstants.orderTypes.market.displayName, 'orderEntry');
|
|
493
|
+
});
|
|
494
|
+
});
|
|
495
|
+
describe('action synchronizeQuantityWithPrice', function () {
|
|
496
|
+
it('should return quantity', function () {
|
|
497
|
+
var store = mockStoreWithData();
|
|
498
|
+
var form = 'orderEntry';
|
|
499
|
+
var formObj = {
|
|
500
|
+
values: {
|
|
501
|
+
side: _orderEntryFormConstants.buyValue
|
|
502
|
+
}
|
|
503
|
+
};
|
|
504
|
+
store.dispatch(actions.synchronizeQuantityWithPrice(5, form, 'Order Size', formObj));
|
|
505
|
+
expect(_reduxForm.change).toHaveBeenCalledWith(form, 'Order Size', 5);
|
|
506
|
+
});
|
|
507
|
+
});
|
|
508
|
+
describe('action synchronizePriceWithQuantity', function () {
|
|
509
|
+
it('should return price', function () {
|
|
510
|
+
var store = mockStoreWithData();
|
|
511
|
+
var form = 'orderEntry';
|
|
512
|
+
var formObj = {
|
|
513
|
+
values: {
|
|
514
|
+
side: _orderEntryFormConstants.buyValue
|
|
515
|
+
}
|
|
516
|
+
};
|
|
517
|
+
store.dispatch(actions.synchronizePriceWithQuantity(10, form, 'Price', formObj));
|
|
518
|
+
expect(_reduxForm.change).toHaveBeenCalledWith(form, 'Price', 200);
|
|
519
|
+
});
|
|
520
|
+
});
|
|
521
|
+
describe('action showBuySellSuccessMessage', function () {
|
|
522
|
+
it('should return success message', function () {
|
|
523
|
+
var store = mockStoreWithData();
|
|
524
|
+
store.dispatch(actions.showBuySellSuccessMessage());
|
|
525
|
+
expect(_reduxForm.change).toHaveBeenCalledWith('buySell', 'responseMessage', 'Your order was filled successfully!');
|
|
526
|
+
});
|
|
527
|
+
});
|
|
528
|
+
describe('action showBuySellFailMessage', function () {
|
|
529
|
+
it('should return error message', function () {
|
|
530
|
+
var store = mockStoreWithData();
|
|
531
|
+
store.dispatch(actions.showBuySellFailMessage());
|
|
532
|
+
expect(_reduxForm.change).toHaveBeenCalledWith('buySell', 'responseMessage', 'Your order failed, please try again');
|
|
533
|
+
});
|
|
534
|
+
});
|
|
535
|
+
var testOrderTypeIsChanged = function testOrderTypeIsChanged(value, form) {
|
|
536
|
+
expect(_reduxForm.change).toHaveBeenCalledWith(form, 'orderType', value);
|
|
537
|
+
};
|
|
538
|
+
var testOrderTypeIsNotChanged = function testOrderTypeIsNotChanged() {
|
|
539
|
+
var orderTypeIsNotChanged = _reduxForm.change.mock.calls.some(function (call) {
|
|
540
|
+
return call[1] === 'orderType';
|
|
541
|
+
});
|
|
542
|
+
expect(orderTypeIsNotChanged).toBe(false);
|
|
543
|
+
};
|
|
544
|
+
var testLimitPriceIsChanged = function testLimitPriceIsChanged(value, form) {
|
|
545
|
+
expect(_reduxForm.change).toHaveBeenCalledWith(form, 'limitPrice', value);
|
|
546
|
+
};
|
|
547
|
+
var testSideIsChanged = function testSideIsChanged(value, form) {
|
|
548
|
+
expect(_reduxForm.change).toHaveBeenCalledWith(form, 'side', value);
|
|
549
|
+
};
|
|
550
|
+
var testSideIsNotChanged = function testSideIsNotChanged() {
|
|
551
|
+
var sideIsChanged = _reduxForm.change.mock.calls.some(function (call) {
|
|
552
|
+
return call[1] === 'side';
|
|
553
|
+
});
|
|
554
|
+
expect(sideIsChanged).toBe(false);
|
|
555
|
+
};
|
|
556
|
+
var testQuantityIsChanged = function testQuantityIsChanged(value, form) {
|
|
557
|
+
expect(_reduxForm.change).toHaveBeenCalledWith(form, 'quantity', value);
|
|
558
|
+
};
|
|
559
|
+
|
|
560
|
+
/**
|
|
561
|
+
* List of tests that order type changes when price is clicked
|
|
562
|
+
*/
|
|
563
|
+
function testSwitchToLimitOrderType(methodName) {
|
|
564
|
+
// eslint-disable-next-line import/namespace
|
|
565
|
+
var method = actions[methodName];
|
|
566
|
+
describe('switch order type to `limit` if `market` has been selected before', function () {
|
|
567
|
+
it("should switch order type to 'limit' if 'market' has been selected before", function () {
|
|
568
|
+
var store = mockStoreWithData({
|
|
569
|
+
orderType: _orderEntryFormConstants.orderTypes.market.displayName
|
|
570
|
+
});
|
|
571
|
+
store.dispatch(method(2000));
|
|
572
|
+
testOrderTypeIsChanged(_orderEntryFormConstants.orderTypes.limit.displayName, 'orderEntry');
|
|
573
|
+
});
|
|
574
|
+
it("should not switch order type if 'limit' has been selected before", function () {
|
|
575
|
+
var store = mockStoreWithData({
|
|
576
|
+
orderType: _orderEntryFormConstants.orderTypes.limit
|
|
577
|
+
});
|
|
578
|
+
store.dispatch(method(2000));
|
|
579
|
+
testOrderTypeIsNotChanged();
|
|
580
|
+
});
|
|
581
|
+
it("should not switch order type if 'stopMarket' has been selected before", function () {
|
|
582
|
+
var store = mockStoreWithData({
|
|
583
|
+
orderType: _orderEntryFormConstants.orderTypes.stopMarket
|
|
584
|
+
});
|
|
585
|
+
store.dispatch(method(2000));
|
|
586
|
+
testOrderTypeIsNotChanged();
|
|
587
|
+
});
|
|
588
|
+
});
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
/**
|
|
592
|
+
* List of tests how to calculate quantity if user click on quantity in `order book` section
|
|
593
|
+
*/
|
|
594
|
+
function testCalculatingQuantity(methodName, orders) {
|
|
595
|
+
// eslint-disable-next-line import/namespace
|
|
596
|
+
var method = actions[methodName];
|
|
597
|
+
var buy = methodName.indexOf('buy') === 0;
|
|
598
|
+
var lastIndex = orders.length - 1;
|
|
599
|
+
describe('calculating quantity', function () {
|
|
600
|
+
it('should change quantity to quantity of clicked value if user clicked on first order', function () {
|
|
601
|
+
var clickedQuantity = 1;
|
|
602
|
+
var clickedIndex = buy ? 0 : lastIndex;
|
|
603
|
+
var store = mockStoreWithData();
|
|
604
|
+
store.dispatch(method(clickedQuantity, clickedIndex, orders));
|
|
605
|
+
testQuantityIsChanged(String(clickedQuantity), 'orderEntry');
|
|
606
|
+
});
|
|
607
|
+
it('should change quantity to sum of all orders if user clicked on last order', function () {
|
|
608
|
+
var clickedQuantity = 1;
|
|
609
|
+
var clickedIndex = buy ? lastIndex : 0;
|
|
610
|
+
var sumQuantityOfAllOrders = orders.reduce(function (prev, current) {
|
|
611
|
+
return prev + current.Quantity;
|
|
612
|
+
}, 0);
|
|
613
|
+
var store = mockStoreWithData();
|
|
614
|
+
store.dispatch(method(clickedQuantity, clickedIndex, orders));
|
|
615
|
+
testQuantityIsChanged(String(sumQuantityOfAllOrders), 'orderEntry');
|
|
616
|
+
});
|
|
617
|
+
});
|
|
618
|
+
}
|
|
619
|
+
});
|