@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,200 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
|
+
var _reduxMockStore = _interopRequireDefault(require("redux-mock-store"));
|
|
5
|
+
var _reduxThunk = _interopRequireDefault(require("redux-thunk"));
|
|
6
|
+
var _authMiddleware = _interopRequireDefault(require("./authMiddleware"));
|
|
7
|
+
var _userActions = require("../actions/userActions");
|
|
8
|
+
var _reportActions = require("../actions/reportActions");
|
|
9
|
+
var _apiKeyActions = require("../actions/apiKeyActions");
|
|
10
|
+
var auth = _interopRequireWildcard(require("../actions/authActions"));
|
|
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 _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 }; })(); }
|
|
14
|
+
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); }
|
|
15
|
+
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); }
|
|
16
|
+
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); }); }; }
|
|
17
|
+
jest.mock('../actions/userActions', function () {
|
|
18
|
+
return {
|
|
19
|
+
getUserInfo: jest.fn(function () {
|
|
20
|
+
return {
|
|
21
|
+
type: 'GET_USER_INFO'
|
|
22
|
+
};
|
|
23
|
+
})
|
|
24
|
+
};
|
|
25
|
+
});
|
|
26
|
+
jest.mock('../actions/apiKeyActions', function () {
|
|
27
|
+
return {
|
|
28
|
+
getUserApiKeys: jest.fn(function () {
|
|
29
|
+
return {
|
|
30
|
+
type: 'GET_USER_API_KEYS'
|
|
31
|
+
};
|
|
32
|
+
})
|
|
33
|
+
};
|
|
34
|
+
});
|
|
35
|
+
jest.mock('../actions/reportActions', function () {
|
|
36
|
+
return {
|
|
37
|
+
getUserReports: jest.fn(function () {
|
|
38
|
+
return {
|
|
39
|
+
type: 'GET_USER_REPORTS'
|
|
40
|
+
};
|
|
41
|
+
}),
|
|
42
|
+
getUserReportWriterResults: jest.fn(function () {
|
|
43
|
+
return {
|
|
44
|
+
type: 'GET_USER_REPORT_WRITER_RESULT'
|
|
45
|
+
};
|
|
46
|
+
})
|
|
47
|
+
};
|
|
48
|
+
});
|
|
49
|
+
jest.mock('../actions/instrumentActions', function () {
|
|
50
|
+
return {
|
|
51
|
+
fetchInstruments: jest.fn(function () {
|
|
52
|
+
return {
|
|
53
|
+
type: 'FETCH_INSTRUMENTS'
|
|
54
|
+
};
|
|
55
|
+
})
|
|
56
|
+
};
|
|
57
|
+
});
|
|
58
|
+
jest.mock('../actions/productActions', function () {
|
|
59
|
+
return {
|
|
60
|
+
getProducts: jest.fn(function () {
|
|
61
|
+
return {
|
|
62
|
+
type: 'GET_PRODUCTS'
|
|
63
|
+
};
|
|
64
|
+
})
|
|
65
|
+
};
|
|
66
|
+
});
|
|
67
|
+
jest.mock('../actions/productManifestActions', function () {
|
|
68
|
+
return {
|
|
69
|
+
getProductManifest: jest.fn(function () {
|
|
70
|
+
return {
|
|
71
|
+
type: 'REQUEST_PRODUCT_MANIFEST'
|
|
72
|
+
};
|
|
73
|
+
})
|
|
74
|
+
};
|
|
75
|
+
});
|
|
76
|
+
jest.mock('../actions/affiliateActions', function () {
|
|
77
|
+
return {
|
|
78
|
+
getAffiliate: jest.fn(function () {
|
|
79
|
+
return {
|
|
80
|
+
type: 'GET_AFFILIATE_SUCCESS'
|
|
81
|
+
};
|
|
82
|
+
}),
|
|
83
|
+
getAffiliateCount: jest.fn(function () {
|
|
84
|
+
return {
|
|
85
|
+
type: 'GET_AFFILIATE_COUNT_SUCCESS'
|
|
86
|
+
};
|
|
87
|
+
})
|
|
88
|
+
};
|
|
89
|
+
});
|
|
90
|
+
describe('authMiddleware', function () {
|
|
91
|
+
var userId = 50;
|
|
92
|
+
var token = 123;
|
|
93
|
+
var mockStore = (0, _reduxMockStore["default"])([_reduxThunk["default"], _authMiddleware["default"]]);
|
|
94
|
+
var store = mockStore({
|
|
95
|
+
auth: {},
|
|
96
|
+
user: {
|
|
97
|
+
OMSId: 1
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
var next = jest.fn();
|
|
101
|
+
beforeEach(function () {
|
|
102
|
+
jest.clearAllMocks();
|
|
103
|
+
global.localStorage = {
|
|
104
|
+
setItem: jest.fn(),
|
|
105
|
+
getItem: jest.fn(),
|
|
106
|
+
removeItem: jest.fn()
|
|
107
|
+
};
|
|
108
|
+
});
|
|
109
|
+
describe('success auth', function () {
|
|
110
|
+
var successAuthAction = {
|
|
111
|
+
type: auth.AUTH_SUCCESS,
|
|
112
|
+
payload: {
|
|
113
|
+
token: token,
|
|
114
|
+
userId: userId
|
|
115
|
+
}
|
|
116
|
+
};
|
|
117
|
+
it('should call getUserInfo', /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
|
|
118
|
+
return _regenerator().w(function (_context) {
|
|
119
|
+
while (1) switch (_context.n) {
|
|
120
|
+
case 0:
|
|
121
|
+
_context.n = 1;
|
|
122
|
+
return (0, _authMiddleware["default"])(store)(next)(successAuthAction);
|
|
123
|
+
case 1:
|
|
124
|
+
expect(_userActions.getUserInfo).toHaveBeenCalledWith(userId);
|
|
125
|
+
case 2:
|
|
126
|
+
return _context.a(2);
|
|
127
|
+
}
|
|
128
|
+
}, _callee);
|
|
129
|
+
})));
|
|
130
|
+
it('should call getUserApiKeys', /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2() {
|
|
131
|
+
return _regenerator().w(function (_context2) {
|
|
132
|
+
while (1) switch (_context2.n) {
|
|
133
|
+
case 0:
|
|
134
|
+
_context2.n = 1;
|
|
135
|
+
return (0, _authMiddleware["default"])(store)(next)(successAuthAction);
|
|
136
|
+
case 1:
|
|
137
|
+
expect(_apiKeyActions.getUserApiKeys).toHaveBeenCalledWith(userId);
|
|
138
|
+
case 2:
|
|
139
|
+
return _context2.a(2);
|
|
140
|
+
}
|
|
141
|
+
}, _callee2);
|
|
142
|
+
})));
|
|
143
|
+
it('should call getUserReports', /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3() {
|
|
144
|
+
return _regenerator().w(function (_context3) {
|
|
145
|
+
while (1) switch (_context3.n) {
|
|
146
|
+
case 0:
|
|
147
|
+
_context3.n = 1;
|
|
148
|
+
return (0, _authMiddleware["default"])(store)(next)(successAuthAction);
|
|
149
|
+
case 1:
|
|
150
|
+
expect(_reportActions.getUserReports).toHaveBeenCalled();
|
|
151
|
+
case 2:
|
|
152
|
+
return _context3.a(2);
|
|
153
|
+
}
|
|
154
|
+
}, _callee3);
|
|
155
|
+
})));
|
|
156
|
+
});
|
|
157
|
+
describe('fail auth', function () {
|
|
158
|
+
var failAuthAction = null;
|
|
159
|
+
beforeEach(function () {
|
|
160
|
+
failAuthAction = {
|
|
161
|
+
type: auth.AUTH_NONE,
|
|
162
|
+
payload: {
|
|
163
|
+
wasAuthenticatedBefore: false
|
|
164
|
+
}
|
|
165
|
+
};
|
|
166
|
+
});
|
|
167
|
+
it('should remove token from local storage', /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee4() {
|
|
168
|
+
return _regenerator().w(function (_context4) {
|
|
169
|
+
while (1) switch (_context4.n) {
|
|
170
|
+
case 0:
|
|
171
|
+
_context4.n = 1;
|
|
172
|
+
return (0, _authMiddleware["default"])(store)(next)(failAuthAction);
|
|
173
|
+
case 1:
|
|
174
|
+
expect(localStorage.removeItem).toHaveBeenCalledWith('token');
|
|
175
|
+
case 2:
|
|
176
|
+
return _context4.a(2);
|
|
177
|
+
}
|
|
178
|
+
}, _callee4);
|
|
179
|
+
})));
|
|
180
|
+
describe('user was authenticated before', function () {
|
|
181
|
+
beforeEach(function () {
|
|
182
|
+
failAuthAction.payload.wasAuthenticatedBefore = true;
|
|
183
|
+
});
|
|
184
|
+
it('should reload page', /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee5() {
|
|
185
|
+
return _regenerator().w(function (_context5) {
|
|
186
|
+
while (1) switch (_context5.n) {
|
|
187
|
+
case 0:
|
|
188
|
+
window.location.reload = jest.fn();
|
|
189
|
+
_context5.n = 1;
|
|
190
|
+
return (0, _authMiddleware["default"])(store)(next)(failAuthAction);
|
|
191
|
+
case 1:
|
|
192
|
+
expect(window.location.reload).toHaveBeenCalled();
|
|
193
|
+
case 2:
|
|
194
|
+
return _context5.a(2);
|
|
195
|
+
}
|
|
196
|
+
}, _callee5);
|
|
197
|
+
})));
|
|
198
|
+
});
|
|
199
|
+
});
|
|
200
|
+
});
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _userActions = require("../actions/userActions");
|
|
8
|
+
var _eotcActions = require("../actions/eotcActions");
|
|
9
|
+
var _eotcSettlementActions = require("../actions/eotcSettlementActions");
|
|
10
|
+
var _PriceUpdateSubscriptionService = _interopRequireDefault(require("../../services/subscriptions/PriceUpdateSubscriptionService"));
|
|
11
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
12
|
+
var eotcMiddleware = function eotcMiddleware(store) {
|
|
13
|
+
return function (next) {
|
|
14
|
+
return function (action) {
|
|
15
|
+
var dispatch = store.dispatch;
|
|
16
|
+
var addPriceCallback = function addPriceCallback(updates) {
|
|
17
|
+
return dispatch((0, _eotcActions.addPrice)(updates));
|
|
18
|
+
};
|
|
19
|
+
if (action.type === _userActions.SET_ACCOUNT) {
|
|
20
|
+
dispatch((0, _eotcActions.initSubscribePrices)(addPriceCallback));
|
|
21
|
+
_PriceUpdateSubscriptionService["default"].subscribe(addPriceCallback);
|
|
22
|
+
}
|
|
23
|
+
if (action.type === 'SET_INSTRUMENT') {
|
|
24
|
+
_PriceUpdateSubscriptionService["default"].stopOne(store.getState().apexCore.instrument.selectedInstrumentId);
|
|
25
|
+
dispatch((0, _eotcActions.initSubscribePrices)(addPriceCallback, action.payload));
|
|
26
|
+
_PriceUpdateSubscriptionService["default"].subscribe(addPriceCallback);
|
|
27
|
+
}
|
|
28
|
+
if (action.type === _userActions.SET_ACCOUNT) {
|
|
29
|
+
dispatch((0, _eotcSettlementActions.getAccountSettlementPositions)(action.payload));
|
|
30
|
+
}
|
|
31
|
+
if (action.type === _userActions.RECEIVE_ACCOUNT || action.type === _userActions.SET_ACCOUNT) {
|
|
32
|
+
var selectedAccountId, Level;
|
|
33
|
+
if (action.type === _userActions.RECEIVE_ACCOUNT) {
|
|
34
|
+
selectedAccountId = store.getState().user.selectedAccountId;
|
|
35
|
+
Level = action.payload.find(function (i) {
|
|
36
|
+
return i.AccountId === selectedAccountId;
|
|
37
|
+
}).CreditTier;
|
|
38
|
+
} else {
|
|
39
|
+
selectedAccountId = action.payload;
|
|
40
|
+
Level = (store.getState().user.accounts.find(function (i) {
|
|
41
|
+
return i.AccountId === action.payload;
|
|
42
|
+
}) || {}).CreditTier;
|
|
43
|
+
}
|
|
44
|
+
dispatch((0, _eotcActions.getCreditTiers)(selectedAccountId, Level));
|
|
45
|
+
}
|
|
46
|
+
return next(action);
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
var _default = exports["default"] = eotcMiddleware;
|
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _get = _interopRequireDefault(require("lodash/get"));
|
|
8
|
+
var _alphapointApexApi = require("alphapoint-apex-api");
|
|
9
|
+
var _level2Selectors = require("../selectors/level2Selectors");
|
|
10
|
+
var _level2Actions = require("../actions/level2Actions");
|
|
11
|
+
var _config = _interopRequireDefault(require("../../config"));
|
|
12
|
+
var _level2SubscriptionService = _interopRequireDefault(require("../../services/subscriptions/level2SubscriptionService"));
|
|
13
|
+
var _apex = _interopRequireDefault(require("../../apex"));
|
|
14
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
15
|
+
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 }; })(); }
|
|
16
|
+
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); }
|
|
17
|
+
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); }
|
|
18
|
+
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); }); }; }
|
|
19
|
+
var level2MonitorInterval = _config["default"].Middleware.level2MonitorInterval;
|
|
20
|
+
var RPC_TIMEOUT_MS = 10000;
|
|
21
|
+
var SUBSCRIBE_TIMEOUT_MS = 30000;
|
|
22
|
+
function withTimeout(promise, ms) {
|
|
23
|
+
var label = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'Operation';
|
|
24
|
+
var timeoutId;
|
|
25
|
+
var timeoutPromise = new Promise(function (_, reject) {
|
|
26
|
+
timeoutId = setTimeout(function () {
|
|
27
|
+
return reject(new Error("".concat(label, " timed out after ").concat(ms, "ms")));
|
|
28
|
+
}, ms);
|
|
29
|
+
});
|
|
30
|
+
return Promise.race([promise, timeoutPromise])["finally"](function () {
|
|
31
|
+
return clearTimeout(timeoutId);
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
var intervalSingleton;
|
|
35
|
+
var subscriptionInProgress = false;
|
|
36
|
+
var pendingSubscriptionInstrumentId = null;
|
|
37
|
+
var orderBookSanityCheck = function orderBookSanityCheck(state) {
|
|
38
|
+
var buy = (0, _level2Selectors.level2BuySelector)(state, {});
|
|
39
|
+
var sell = (0, _level2Selectors.level2SellSelector)(state, {});
|
|
40
|
+
var InsideBid = (0, _get["default"])(buy, [buy.length - 1, 'Price'], 0);
|
|
41
|
+
var InsideAsk = (0, _get["default"])(sell, [0, 'Price'], Number.MAX_VALUE);
|
|
42
|
+
return InsideBid > InsideAsk;
|
|
43
|
+
};
|
|
44
|
+
var level2monitor = function level2monitor(store) {
|
|
45
|
+
return function (next) {
|
|
46
|
+
var handler = function handler() {
|
|
47
|
+
var instrumentId = store.getState().apexCore.instrument.selectedInstrumentId;
|
|
48
|
+
if (!instrumentId) {
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
51
|
+
var isInitialized = _level2SubscriptionService["default"].isInitialized(instrumentId);
|
|
52
|
+
if (document.hidden && isInitialized) {
|
|
53
|
+
store.dispatch((0, _level2Actions.unsubscribeLevel2)(instrumentId));
|
|
54
|
+
} else {
|
|
55
|
+
store.dispatch((0, _level2Actions.subscribeToLevel2)(instrumentId));
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
document.addEventListener('visibilitychange', handler);
|
|
59
|
+
function subscribe() {
|
|
60
|
+
return _subscribe.apply(this, arguments);
|
|
61
|
+
}
|
|
62
|
+
function _subscribe() {
|
|
63
|
+
_subscribe = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3() {
|
|
64
|
+
var instrumentId, pending, currentInstrumentId;
|
|
65
|
+
return _regenerator().w(function (_context3) {
|
|
66
|
+
while (1) switch (_context3.p = _context3.n) {
|
|
67
|
+
case 0:
|
|
68
|
+
instrumentId = store.getState().apexCore.instrument.selectedInstrumentId;
|
|
69
|
+
if (instrumentId) {
|
|
70
|
+
_context3.n = 1;
|
|
71
|
+
break;
|
|
72
|
+
}
|
|
73
|
+
console.warn('No instrument selected for Level2 subscription');
|
|
74
|
+
return _context3.a(2);
|
|
75
|
+
case 1:
|
|
76
|
+
if (!subscriptionInProgress) {
|
|
77
|
+
_context3.n = 2;
|
|
78
|
+
break;
|
|
79
|
+
}
|
|
80
|
+
// Silently queue the request - this is normal behavior
|
|
81
|
+
pendingSubscriptionInstrumentId = instrumentId;
|
|
82
|
+
return _context3.a(2);
|
|
83
|
+
case 2:
|
|
84
|
+
subscriptionInProgress = true;
|
|
85
|
+
_context3.p = 3;
|
|
86
|
+
_context3.n = 4;
|
|
87
|
+
return withTimeout(_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2() {
|
|
88
|
+
var updates, dataRetrieved, snapshot, data, currentId, mappedData, resubscribeRes, _data, _currentId, _mappedData, _t, _t2, _t3;
|
|
89
|
+
return _regenerator().w(function (_context2) {
|
|
90
|
+
while (1) switch (_context2.p = _context2.n) {
|
|
91
|
+
case 0:
|
|
92
|
+
if (!_level2SubscriptionService["default"].isInitialized()) {
|
|
93
|
+
_context2.n = 2;
|
|
94
|
+
break;
|
|
95
|
+
}
|
|
96
|
+
_context2.n = 1;
|
|
97
|
+
return _level2SubscriptionService["default"].stop();
|
|
98
|
+
case 1:
|
|
99
|
+
store.dispatch((0, _level2Actions.unsubscribeLevel2)(instrumentId));
|
|
100
|
+
case 2:
|
|
101
|
+
_context2.n = 3;
|
|
102
|
+
return store.dispatch((0, _level2Actions.requestLevel2Data)(instrumentId));
|
|
103
|
+
case 3:
|
|
104
|
+
_context2.p = 3;
|
|
105
|
+
_context2.n = 4;
|
|
106
|
+
return _level2SubscriptionService["default"].initSubscription(instrumentId);
|
|
107
|
+
case 4:
|
|
108
|
+
updates = _context2.v;
|
|
109
|
+
if (updates.result !== false) {
|
|
110
|
+
store.dispatch((0, _level2Actions.getAllLevel2)(updates));
|
|
111
|
+
_level2SubscriptionService["default"].subscribe(function (updates) {
|
|
112
|
+
var _updates$;
|
|
113
|
+
if ((updates === null || updates === void 0 || (_updates$ = updates[0]) === null || _updates$ === void 0 ? void 0 : _updates$.ProductPairCode) === instrumentId) {
|
|
114
|
+
store.dispatch((0, _level2Actions.level2Updates)(updates));
|
|
115
|
+
}
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
_context2.n = 17;
|
|
119
|
+
break;
|
|
120
|
+
case 5:
|
|
121
|
+
_context2.p = 5;
|
|
122
|
+
_t = _context2.v;
|
|
123
|
+
if (!((_t === null || _t === void 0 ? void 0 : _t.errorcode) === 909)) {
|
|
124
|
+
_context2.n = 16;
|
|
125
|
+
break;
|
|
126
|
+
}
|
|
127
|
+
// Since we're already subscribed, we need to:
|
|
128
|
+
// 1. Mark the service as initialized for this instrument
|
|
129
|
+
_level2SubscriptionService["default"].markAsInitialized(instrumentId);
|
|
130
|
+
|
|
131
|
+
// 2. Set up the event listener for updates
|
|
132
|
+
_level2SubscriptionService["default"].subscribe(function (updates) {
|
|
133
|
+
var _updates$2;
|
|
134
|
+
if ((updates === null || updates === void 0 || (_updates$2 = updates[0]) === null || _updates$2 === void 0 ? void 0 : _updates$2.ProductPairCode) === instrumentId) {
|
|
135
|
+
store.dispatch((0, _level2Actions.level2Updates)(updates));
|
|
136
|
+
}
|
|
137
|
+
});
|
|
138
|
+
|
|
139
|
+
// 3. Try multiple methods to get the initial order book data
|
|
140
|
+
dataRetrieved = false; // Method 1: Try GetL2Snapshot
|
|
141
|
+
_context2.p = 6;
|
|
142
|
+
_context2.n = 7;
|
|
143
|
+
return withTimeout(_apex["default"].connection.RPCPromise('GetL2Snapshot', {
|
|
144
|
+
OMSId: 1,
|
|
145
|
+
InstrumentId: instrumentId,
|
|
146
|
+
Depth: 250
|
|
147
|
+
}), RPC_TIMEOUT_MS, 'GetL2Snapshot');
|
|
148
|
+
case 7:
|
|
149
|
+
snapshot = _context2.v;
|
|
150
|
+
if (snapshot && snapshot.o) {
|
|
151
|
+
data = JSON.parse(snapshot.o);
|
|
152
|
+
if (Array.isArray(data) && data.length > 0) {
|
|
153
|
+
currentId = store.getState().apexCore.instrument.selectedInstrumentId;
|
|
154
|
+
if (currentId !== instrumentId) {
|
|
155
|
+
dataRetrieved = true; // prevent Method 2 from running
|
|
156
|
+
} else {
|
|
157
|
+
mappedData = data.map(function (x) {
|
|
158
|
+
return new _alphapointApexApi.Level2(x);
|
|
159
|
+
});
|
|
160
|
+
store.dispatch((0, _level2Actions.getAllLevel2)(mappedData));
|
|
161
|
+
dataRetrieved = true;
|
|
162
|
+
}
|
|
163
|
+
} else if (data) {
|
|
164
|
+
console.error('GetL2Snapshot returned unexpected data:', data);
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
_context2.n = 9;
|
|
168
|
+
break;
|
|
169
|
+
case 8:
|
|
170
|
+
_context2.p = 8;
|
|
171
|
+
_t2 = _context2.v;
|
|
172
|
+
console.error('Failed to get Level2 snapshot after 909:', _t2);
|
|
173
|
+
case 9:
|
|
174
|
+
if (dataRetrieved) {
|
|
175
|
+
_context2.n = 15;
|
|
176
|
+
break;
|
|
177
|
+
}
|
|
178
|
+
_context2.p = 10;
|
|
179
|
+
_context2.n = 11;
|
|
180
|
+
return withTimeout(_apex["default"].connection.RPCPromise('UnsubscribeLevel2', {
|
|
181
|
+
OMSId: 1,
|
|
182
|
+
InstrumentId: instrumentId
|
|
183
|
+
}), RPC_TIMEOUT_MS, 'UnsubscribeLevel2');
|
|
184
|
+
case 11:
|
|
185
|
+
_context2.n = 12;
|
|
186
|
+
return new Promise(function (resolve) {
|
|
187
|
+
return setTimeout(resolve, 200);
|
|
188
|
+
});
|
|
189
|
+
case 12:
|
|
190
|
+
_context2.n = 13;
|
|
191
|
+
return withTimeout(_apex["default"].connection.RPCPromise('SubscribeLevel2', {
|
|
192
|
+
OMSId: 1,
|
|
193
|
+
InstrumentId: instrumentId,
|
|
194
|
+
Depth: 250
|
|
195
|
+
}), RPC_TIMEOUT_MS, 'SubscribeLevel2');
|
|
196
|
+
case 13:
|
|
197
|
+
resubscribeRes = _context2.v;
|
|
198
|
+
if (resubscribeRes && resubscribeRes.o) {
|
|
199
|
+
_data = JSON.parse(resubscribeRes.o);
|
|
200
|
+
if (_data && Array.isArray(_data) && _data.length > 0) {
|
|
201
|
+
_currentId = store.getState().apexCore.instrument.selectedInstrumentId;
|
|
202
|
+
if (_currentId === instrumentId) {
|
|
203
|
+
_mappedData = _data.map(function (x) {
|
|
204
|
+
return new _alphapointApexApi.Level2(x);
|
|
205
|
+
});
|
|
206
|
+
store.dispatch((0, _level2Actions.getAllLevel2)(_mappedData));
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
_context2.n = 15;
|
|
211
|
+
break;
|
|
212
|
+
case 14:
|
|
213
|
+
_context2.p = 14;
|
|
214
|
+
_t3 = _context2.v;
|
|
215
|
+
console.error('Failed to recover via resubscribe:', _t3);
|
|
216
|
+
case 15:
|
|
217
|
+
_context2.n = 17;
|
|
218
|
+
break;
|
|
219
|
+
case 16:
|
|
220
|
+
console.error('Level2 subscription failed:', _t);
|
|
221
|
+
throw _t;
|
|
222
|
+
case 17:
|
|
223
|
+
return _context2.a(2);
|
|
224
|
+
}
|
|
225
|
+
}, _callee2, null, [[10, 14], [6, 8], [3, 5]]);
|
|
226
|
+
}))(), SUBSCRIBE_TIMEOUT_MS, 'subscribe()');
|
|
227
|
+
case 4:
|
|
228
|
+
_context3.p = 4;
|
|
229
|
+
subscriptionInProgress = false;
|
|
230
|
+
|
|
231
|
+
// If there's a pending subscription, process it now
|
|
232
|
+
if (pendingSubscriptionInstrumentId) {
|
|
233
|
+
pending = pendingSubscriptionInstrumentId;
|
|
234
|
+
pendingSubscriptionInstrumentId = null;
|
|
235
|
+
|
|
236
|
+
// Only process if it's still the selected instrument
|
|
237
|
+
currentInstrumentId = store.getState().apexCore.instrument.selectedInstrumentId;
|
|
238
|
+
if (pending === currentInstrumentId) {
|
|
239
|
+
subscribe()["catch"](function (err) {
|
|
240
|
+
console.error('Level2 pending subscription failed:', err);
|
|
241
|
+
});
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
return _context3.f(4);
|
|
245
|
+
case 5:
|
|
246
|
+
return _context3.a(2);
|
|
247
|
+
}
|
|
248
|
+
}, _callee3, null, [[3,, 4, 5]]);
|
|
249
|
+
}));
|
|
250
|
+
return _subscribe.apply(this, arguments);
|
|
251
|
+
}
|
|
252
|
+
return /*#__PURE__*/function () {
|
|
253
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(action) {
|
|
254
|
+
return _regenerator().w(function (_context) {
|
|
255
|
+
while (1) switch (_context.n) {
|
|
256
|
+
case 0:
|
|
257
|
+
if (!(action.type === _level2Actions.SUBSCRIBE_LEVEL2)) {
|
|
258
|
+
_context.n = 2;
|
|
259
|
+
break;
|
|
260
|
+
}
|
|
261
|
+
if (!(action.payload.instrumentId === _level2SubscriptionService["default"].initializedInstrumentId)) {
|
|
262
|
+
_context.n = 1;
|
|
263
|
+
break;
|
|
264
|
+
}
|
|
265
|
+
console.log('Already subscribed for level 2 for this instrument. Skipping');
|
|
266
|
+
return _context.a(2);
|
|
267
|
+
case 1:
|
|
268
|
+
subscribe()["catch"](function (err) {
|
|
269
|
+
console.error('Level2 subscription failed:', err);
|
|
270
|
+
});
|
|
271
|
+
if (intervalSingleton) {
|
|
272
|
+
clearInterval(intervalSingleton);
|
|
273
|
+
intervalSingleton = null;
|
|
274
|
+
}
|
|
275
|
+
intervalSingleton = setInterval(function () {
|
|
276
|
+
var state = store.getState();
|
|
277
|
+
if (orderBookSanityCheck(state)) {
|
|
278
|
+
subscribe()["catch"](function (err) {
|
|
279
|
+
console.error('Level2 sanity-check resubscription failed:', err);
|
|
280
|
+
});
|
|
281
|
+
}
|
|
282
|
+
}, level2MonitorInterval);
|
|
283
|
+
_context.n = 3;
|
|
284
|
+
break;
|
|
285
|
+
case 2:
|
|
286
|
+
if (action.type === _level2Actions.UNSUBSCRIBE_LEVEL2) {
|
|
287
|
+
if (_level2SubscriptionService["default"].isInitialized()) {
|
|
288
|
+
_level2SubscriptionService["default"].stop();
|
|
289
|
+
}
|
|
290
|
+
clearInterval(intervalSingleton);
|
|
291
|
+
intervalSingleton = null;
|
|
292
|
+
}
|
|
293
|
+
case 3:
|
|
294
|
+
return _context.a(2, next(action));
|
|
295
|
+
}
|
|
296
|
+
}, _callee);
|
|
297
|
+
}));
|
|
298
|
+
return function (_x) {
|
|
299
|
+
return _ref.apply(this, arguments);
|
|
300
|
+
};
|
|
301
|
+
}();
|
|
302
|
+
};
|
|
303
|
+
};
|
|
304
|
+
var _default = exports["default"] = level2monitor;
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.getPriceAndQuantityForRequest = exports["default"] = void 0;
|
|
7
|
+
var _recalculateOrderHelper = require("../../helpers/recalculateOrderHelper");
|
|
8
|
+
var _orderHelper = require("../../helpers/orderHelper");
|
|
9
|
+
var _reduxForm = require("redux-form");
|
|
10
|
+
var _buySellSelectors = require("../../redux/selectors/buySellSelectors");
|
|
11
|
+
var _BuySellLayoutTypes = require("../../components/Retail/RetailBuySell/BuySell/BuySellLayoutTypes");
|
|
12
|
+
var _config = _interopRequireDefault(require("../../config"));
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
14
|
+
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); }
|
|
15
|
+
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; }
|
|
16
|
+
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; }
|
|
17
|
+
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; }
|
|
18
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
19
|
+
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); }
|
|
20
|
+
/**
|
|
21
|
+
* Middleware for calculating order fee for 'RetailOrderOverviewComponent.js'
|
|
22
|
+
*/
|
|
23
|
+
var orderFeeMiddleware = function orderFeeMiddleware(store) {
|
|
24
|
+
return function (next) {
|
|
25
|
+
return function (action) {
|
|
26
|
+
var _store$getState = store.getState(),
|
|
27
|
+
form = _store$getState.form,
|
|
28
|
+
level2 = _store$getState.apexCore.level2;
|
|
29
|
+
if (isFeeShouldBeRecalculated(action)) {
|
|
30
|
+
var buySellFormIsInitialized = !!form.buySell;
|
|
31
|
+
var entryForm = {};
|
|
32
|
+
if (buySellFormIsInitialized) {
|
|
33
|
+
entryForm = form.buySell;
|
|
34
|
+
var selectedValue = getPriceAndQuantityForRequest(entryForm, store.getState(), action);
|
|
35
|
+
|
|
36
|
+
// This calculation is duplicated in RetailOrderOverviewContainer
|
|
37
|
+
var _config$OrderCalcBuff = _config["default"].OrderCalcBuffer,
|
|
38
|
+
_config$OrderCalcBuff2 = _config$OrderCalcBuff === void 0 ? {} : _config$OrderCalcBuff,
|
|
39
|
+
quantityBuffer = _config$OrderCalcBuff2.quantityBuffer;
|
|
40
|
+
var side = entryForm.values.side;
|
|
41
|
+
var orders = (0, _orderHelper.getOrdersBySide)(side, level2);
|
|
42
|
+
var limitPrice = (0, _orderHelper.getQuantityForPrice)(0, quantityBuffer, orders, false, side).LimitPrice;
|
|
43
|
+
var updatedForm = _objectSpread(_objectSpread({}, entryForm.values), {}, _defineProperty({
|
|
44
|
+
limitPrice: limitPrice
|
|
45
|
+
}, action.meta.field, action.payload));
|
|
46
|
+
updatedForm.quantity = selectedValue.quantity;
|
|
47
|
+
(0, _recalculateOrderHelper.recalculateOrderFormValues)(store, {
|
|
48
|
+
form: updatedForm,
|
|
49
|
+
formName: 'buySell',
|
|
50
|
+
orders: orders
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
return next(action);
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
var getPriceAndQuantityForRequest = exports.getPriceAndQuantityForRequest = function getPriceAndQuantityForRequest(form, state) {
|
|
59
|
+
var action = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {
|
|
60
|
+
meta: {}
|
|
61
|
+
};
|
|
62
|
+
var isPricePerUnitForm = form.values.layoutType === _BuySellLayoutTypes.BUY_SELL_LAYOUTS.PRICE_PER_UNIT;
|
|
63
|
+
var dealValues = isPricePerUnitForm ? (0, _buySellSelectors.getQuantityDataForPresetAndCustomValuesSelector)(state, form.values.side) : (0, _buySellSelectors.getPriceDataForPresetAndCustomValuesSelector)(state, form.values.side);
|
|
64
|
+
var selectedValue = {
|
|
65
|
+
price: '0',
|
|
66
|
+
quantity: '0'
|
|
67
|
+
};
|
|
68
|
+
if (action.meta.field === 'instrument') {
|
|
69
|
+
selectedValue = getValuesFromCustomChange(form, action);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
// switch to `deal values` radio position
|
|
73
|
+
else if (action.meta.field === 'amountRadio' && action.payload !== 'custom') {
|
|
74
|
+
var fieldToSearch = isPricePerUnitForm ? 'quantity' : 'price';
|
|
75
|
+
selectedValue = (0, _orderHelper.getValuesFromDealValues)(dealValues, action.payload, fieldToSearch);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
// switch to `custom` radio position
|
|
79
|
+
else if (action.meta.field === 'amountRadio' && action.payload === 'custom') {
|
|
80
|
+
selectedValue = getValuesFromCustomChange(form, action);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
// sync `price` and `quantity` if `price` or `quantity` is changed
|
|
84
|
+
else if (action.meta.field === 'price' || action.meta.field === 'quantity') {
|
|
85
|
+
selectedValue = getValuesFromCustomChange(form, action);
|
|
86
|
+
}
|
|
87
|
+
return selectedValue;
|
|
88
|
+
};
|
|
89
|
+
var getValuesFromCustomChange = function getValuesFromCustomChange(_ref, action) {
|
|
90
|
+
var values = _ref.values;
|
|
91
|
+
var field = action.meta.field;
|
|
92
|
+
return {
|
|
93
|
+
price: field === 'price' ? action.payload : values.price,
|
|
94
|
+
quantity: field === 'quantity' ? action.payload : values.quantity
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
var isFeeShouldBeRecalculated = function isFeeShouldBeRecalculated(action) {
|
|
98
|
+
return action.type === _reduxForm.actionTypes.CHANGE && action.meta.field !== 'fee' && action.meta.field !== 'responseMessage' && action.meta.form === 'buySell';
|
|
99
|
+
};
|
|
100
|
+
var _default = exports["default"] = orderFeeMiddleware;
|