@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,870 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.userInfoFetched = exports.userConfigFetched = exports.updateUserConfig = exports.updateAccount = exports.submitResetPasswordForm = exports.setUserInfo = exports.setUserConfig = exports.setGoogleQrCode = exports.setAccount = exports.sendResetPasswordEmail = exports.selectAccount = exports.resendVerificationEmail = exports.receiveUserPermissions = exports.receiveBaseNotionalProductInfo = exports.receiveAccount = exports.isFuturesAccount = exports.goToResetPasswordFormStep = exports.goToBaseCurrencyFormStep = exports.getUserPermissions = exports.getUserInfo = exports.getUserConfig = exports.getUserAccounts = exports.getGoogleQrCode = exports.getGoogle2FARecoveryCode = exports.enableYubikey2FA = exports.enable2FA = exports.disable2FA = exports.clearGoogleQrCode = exports.USER_INFO_FETCHED = exports.USER_CONFIG_FETCHED = exports.UPDATE_ACCOUNT = exports.SET_GOOGLE_QRCODE = exports.SET_ACCOUNT = exports.RECEIVE_USER_PERMISSIONS = exports.RECEIVE_KYC = exports.RECEIVE_BASE_NOTIONAL_PRODUCT_INFO = exports.RECEIVE_ACCOUNT = exports.CLEAR_GOOGLE_QRCODE = void 0;
|
|
8
|
+
var _apiActions = require("./apiActions");
|
|
9
|
+
var _apex = _interopRequireWildcard(require("../../apex"));
|
|
10
|
+
var _orderHistoryActions = require("./orderHistoryActions");
|
|
11
|
+
var _withdrawActions = require("./withdrawActions");
|
|
12
|
+
var _snackbarActions = require("./snackbarActions");
|
|
13
|
+
var _modalActions = require("./modalActions");
|
|
14
|
+
var _errorTextFormatter = require("../../helpers/errorTextFormatter");
|
|
15
|
+
var _kycActions = require("./kycActions");
|
|
16
|
+
var _transferActions = require("./transferActions");
|
|
17
|
+
var _transferRequestActions = require("./transferRequestActions");
|
|
18
|
+
var _affiliateActions = require("../actions/affiliateActions");
|
|
19
|
+
var _positionActions = require("./positionActions");
|
|
20
|
+
var _depositActions = require("./depositActions");
|
|
21
|
+
var _marketStateUpdateActions = require("./marketStateUpdateActions");
|
|
22
|
+
var _eotcSettlementActions = require("./eotcSettlementActions");
|
|
23
|
+
var _authActions = require("./authActions");
|
|
24
|
+
var _loyaltyFeeActions = require("./loyaltyFeeActions");
|
|
25
|
+
var _reduxForm = require("redux-form");
|
|
26
|
+
var _AccountEventsSubscriptionService = _interopRequireDefault(require("../../services/subscriptions/AccountEventsSubscriptionService"));
|
|
27
|
+
var _config = _interopRequireDefault(require("../../config"));
|
|
28
|
+
var _userPermissionsContants = require("../../constants/userPermissionsContants");
|
|
29
|
+
var _actions = require("../margin/actions");
|
|
30
|
+
var _selectors = require("../margin/selectors");
|
|
31
|
+
var _actions2 = require("../futures/actions");
|
|
32
|
+
var _futuresInstrumentsActions = require("../futures/actions/futuresInstrumentsActions");
|
|
33
|
+
var _instrumentActions = require("./instrumentActions");
|
|
34
|
+
var _instrumentPositionSelectors = require("../selectors/instrumentPositionSelectors");
|
|
35
|
+
var _selectors2 = require("../futures/selectors");
|
|
36
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
37
|
+
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 _t4 in e) "default" !== _t4 && {}.hasOwnProperty.call(e, _t4) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t4)) && (i.get || i.set) ? o(f, _t4, i) : f[_t4] = e[_t4]); return f; })(e, t); }
|
|
38
|
+
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; }
|
|
39
|
+
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; }
|
|
40
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
41
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
42
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
43
|
+
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
44
|
+
function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
|
|
45
|
+
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
46
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
47
|
+
function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
48
|
+
function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
|
|
49
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
50
|
+
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 }; })(); }
|
|
51
|
+
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); }
|
|
52
|
+
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); }
|
|
53
|
+
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); }); }; }
|
|
54
|
+
var USER_INFO_FETCHED = exports.USER_INFO_FETCHED = 'USER_INFO_FETCHED';
|
|
55
|
+
var USER_CONFIG_FETCHED = exports.USER_CONFIG_FETCHED = 'USER_CONFIG_FETCHED';
|
|
56
|
+
var RECEIVE_USER_PERMISSIONS = exports.RECEIVE_USER_PERMISSIONS = 'RECEIVE_USER_PERMISSIONS';
|
|
57
|
+
var RECEIVE_ACCOUNT = exports.RECEIVE_ACCOUNT = 'RECEIVE_ACCOUNT';
|
|
58
|
+
var SET_ACCOUNT = exports.SET_ACCOUNT = 'SET_ACCOUNT';
|
|
59
|
+
var RECEIVE_KYC = exports.RECEIVE_KYC = 'RECEIVE_KYC';
|
|
60
|
+
var UPDATE_ACCOUNT = exports.UPDATE_ACCOUNT = 'UPDATE_ACCOUNT';
|
|
61
|
+
var SET_GOOGLE_QRCODE = exports.SET_GOOGLE_QRCODE = 'SET_GOOGLE_QRCODE';
|
|
62
|
+
var CLEAR_GOOGLE_QRCODE = exports.CLEAR_GOOGLE_QRCODE = 'CLEAR_GOOGLE_QRCODE';
|
|
63
|
+
var RECEIVE_BASE_NOTIONAL_PRODUCT_INFO = exports.RECEIVE_BASE_NOTIONAL_PRODUCT_INFO = 'RECEIVE_BASE_NOTIONAL_PRODUCT_INFO';
|
|
64
|
+
var userInfoFetched = exports.userInfoFetched = function userInfoFetched(payload) {
|
|
65
|
+
return {
|
|
66
|
+
type: USER_INFO_FETCHED,
|
|
67
|
+
payload: payload
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
var receiveBaseNotionalProductInfo = exports.receiveBaseNotionalProductInfo = function receiveBaseNotionalProductInfo(payload) {
|
|
71
|
+
return {
|
|
72
|
+
type: RECEIVE_BASE_NOTIONAL_PRODUCT_INFO,
|
|
73
|
+
payload: payload
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
var setUserInfo = exports.setUserInfo = function setUserInfo(payload) {
|
|
77
|
+
return /*#__PURE__*/function () {
|
|
78
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(dispatch) {
|
|
79
|
+
var userInfo;
|
|
80
|
+
return _regenerator().w(function (_context) {
|
|
81
|
+
while (1) switch (_context.n) {
|
|
82
|
+
case 0:
|
|
83
|
+
_context.n = 1;
|
|
84
|
+
return dispatch((0, _apiActions.callAPI)('SetUserInfo', {
|
|
85
|
+
UserName: payload.username,
|
|
86
|
+
Email: payload.email
|
|
87
|
+
}));
|
|
88
|
+
case 1:
|
|
89
|
+
userInfo = _context.v;
|
|
90
|
+
if (userInfo.result !== false) {
|
|
91
|
+
dispatch(userInfoFetched(userInfo));
|
|
92
|
+
} else {
|
|
93
|
+
dispatch((0, _snackbarActions.showSnack)({
|
|
94
|
+
id: 'setUserInfoError',
|
|
95
|
+
text: (0, _errorTextFormatter.formatErrorText)(userInfo),
|
|
96
|
+
type: 'warning'
|
|
97
|
+
}));
|
|
98
|
+
}
|
|
99
|
+
case 2:
|
|
100
|
+
return _context.a(2);
|
|
101
|
+
}
|
|
102
|
+
}, _callee);
|
|
103
|
+
}));
|
|
104
|
+
return function (_x) {
|
|
105
|
+
return _ref.apply(this, arguments);
|
|
106
|
+
};
|
|
107
|
+
}();
|
|
108
|
+
};
|
|
109
|
+
var getUserInfo = exports.getUserInfo = function getUserInfo(UserId) {
|
|
110
|
+
return /*#__PURE__*/function () {
|
|
111
|
+
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2(dispatch, getState) {
|
|
112
|
+
var userInfo, OMSsInfo, currentOMSInfo, BaseNotionalProductSymbol, BaseNotionalProductId;
|
|
113
|
+
return _regenerator().w(function (_context2) {
|
|
114
|
+
while (1) switch (_context2.n) {
|
|
115
|
+
case 0:
|
|
116
|
+
_context2.n = 1;
|
|
117
|
+
return dispatch((0, _apiActions.callAPI)('GetUserInfo', {
|
|
118
|
+
UserId: UserId
|
|
119
|
+
}))["catch"](function (e) {
|
|
120
|
+
console.error('getUserInfo action error', e);
|
|
121
|
+
return;
|
|
122
|
+
});
|
|
123
|
+
case 1:
|
|
124
|
+
userInfo = _context2.v;
|
|
125
|
+
_context2.n = 2;
|
|
126
|
+
return dispatch((0, _apiActions.callAPI)('GetOMSs', {
|
|
127
|
+
OperatorId: userInfo.OperatorId
|
|
128
|
+
}))["catch"](function (e) {
|
|
129
|
+
console.error('GetOMS action error', e);
|
|
130
|
+
return;
|
|
131
|
+
});
|
|
132
|
+
case 2:
|
|
133
|
+
OMSsInfo = _context2.v;
|
|
134
|
+
currentOMSInfo = OMSsInfo.find(function (OMSInfo) {
|
|
135
|
+
return (OMSInfo.Id || OMSInfo.OMSId) === userInfo.OMSId;
|
|
136
|
+
});
|
|
137
|
+
dispatch(userInfoFetched(userInfo));
|
|
138
|
+
dispatch(getUserPermissions(userInfo.UserId));
|
|
139
|
+
dispatch(getUserConfig(userInfo.UserId, userInfo.UserName));
|
|
140
|
+
dispatch(getUserAccounts(userInfo.OMSId)).then(function (accounts) {
|
|
141
|
+
var selectedAccountId = parseInt(localStorage.getItem('selectedAccountId'), 10);
|
|
142
|
+
if (!accounts.some(function (account) {
|
|
143
|
+
return account.AccountId === selectedAccountId;
|
|
144
|
+
})) {
|
|
145
|
+
var _defaultAccountSelect;
|
|
146
|
+
selectedAccountId = (_defaultAccountSelect = (0, _selectors.defaultAccountSelector)(getState())) === null || _defaultAccountSelect === void 0 ? void 0 : _defaultAccountSelect.AccountId;
|
|
147
|
+
}
|
|
148
|
+
dispatch(selectAccount(selectedAccountId, userInfo.OMSId));
|
|
149
|
+
dispatch((0, _positionActions.getAccountPositions)(selectedAccountId));
|
|
150
|
+
});
|
|
151
|
+
dispatch((0, _affiliateActions.getAffiliate)(userInfo.OMSId, userInfo.UserId));
|
|
152
|
+
dispatch((0, _loyaltyFeeActions.getOperatorLoyaltyFeeConfigs)(userInfo.OMSId));
|
|
153
|
+
if (currentOMSInfo !== null && currentOMSInfo !== void 0 && currentOMSInfo.BaseNotionalProductSymbol && currentOMSInfo !== null && currentOMSInfo !== void 0 && currentOMSInfo.BaseNotionalProductId) {
|
|
154
|
+
BaseNotionalProductSymbol = currentOMSInfo.BaseNotionalProductSymbol, BaseNotionalProductId = currentOMSInfo.BaseNotionalProductId;
|
|
155
|
+
dispatch(receiveBaseNotionalProductInfo({
|
|
156
|
+
BaseNotionalProductSymbol: BaseNotionalProductSymbol,
|
|
157
|
+
BaseNotionalProductId: BaseNotionalProductId
|
|
158
|
+
}));
|
|
159
|
+
}
|
|
160
|
+
if (currentOMSInfo !== null && currentOMSInfo !== void 0 && currentOMSInfo.SystemMarginEnabled) {
|
|
161
|
+
dispatch((0, _actions.initMarginTrading)(currentOMSInfo.SystemMarginEnabled));
|
|
162
|
+
}
|
|
163
|
+
if (userInfo.MarginBorrowerEnabled) {
|
|
164
|
+
dispatch((0, _actions.getMarginInstruments)(userInfo.OMSId));
|
|
165
|
+
}
|
|
166
|
+
if (currentOMSInfo !== null && currentOMSInfo !== void 0 && currentOMSInfo.SystemFuturesEnabled) {
|
|
167
|
+
dispatch((0, _actions2.initFuturesTrading)(currentOMSInfo.SystemFuturesEnabled));
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
// Add later. Assumes property returned from GetUserInfo will be FuturesBorrowerEnabled like MarginBorrowerEnabled.
|
|
171
|
+
// if (userInfo.FuturesBorrowerEnabled) {
|
|
172
|
+
// dispatch(getFuturesInstruments(userInfo.OMSId));
|
|
173
|
+
// }
|
|
174
|
+
if (userInfo.FuturesBorrowerEnabled) {
|
|
175
|
+
// dispatch(getFuturesInstruments());
|
|
176
|
+
}
|
|
177
|
+
return _context2.a(2, userInfo);
|
|
178
|
+
}
|
|
179
|
+
}, _callee2);
|
|
180
|
+
}));
|
|
181
|
+
return function (_x2, _x3) {
|
|
182
|
+
return _ref2.apply(this, arguments);
|
|
183
|
+
};
|
|
184
|
+
}();
|
|
185
|
+
};
|
|
186
|
+
var userConfigFetched = exports.userConfigFetched = function userConfigFetched(payload) {
|
|
187
|
+
return {
|
|
188
|
+
type: USER_CONFIG_FETCHED,
|
|
189
|
+
payload: payload
|
|
190
|
+
};
|
|
191
|
+
};
|
|
192
|
+
var getUserConfig = exports.getUserConfig = function getUserConfig(UserId, UserName) {
|
|
193
|
+
return /*#__PURE__*/function () {
|
|
194
|
+
var _ref3 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3(dispatch) {
|
|
195
|
+
var userConfig;
|
|
196
|
+
return _regenerator().w(function (_context3) {
|
|
197
|
+
while (1) switch (_context3.n) {
|
|
198
|
+
case 0:
|
|
199
|
+
_context3.n = 1;
|
|
200
|
+
return dispatch((0, _apiActions.callAPI)('GetUserConfig', {
|
|
201
|
+
UserId: UserId,
|
|
202
|
+
UserName: UserName
|
|
203
|
+
}))["catch"](function (e) {
|
|
204
|
+
console.error('getUserConfig action error', e);
|
|
205
|
+
return;
|
|
206
|
+
});
|
|
207
|
+
case 1:
|
|
208
|
+
userConfig = _context3.v;
|
|
209
|
+
dispatch(userConfigFetched(userConfig));
|
|
210
|
+
return _context3.a(2, userConfig);
|
|
211
|
+
}
|
|
212
|
+
}, _callee3);
|
|
213
|
+
}));
|
|
214
|
+
return function (_x4) {
|
|
215
|
+
return _ref3.apply(this, arguments);
|
|
216
|
+
};
|
|
217
|
+
}();
|
|
218
|
+
};
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* Merge `config` arg with existing user config
|
|
222
|
+
*/
|
|
223
|
+
var updateUserConfig = exports.updateUserConfig = function updateUserConfig(config) {
|
|
224
|
+
return function (dispatch, getState) {
|
|
225
|
+
var mergedConfig = _toConsumableArray(getState().user.userConfig);
|
|
226
|
+
config.forEach(function (current) {
|
|
227
|
+
var index = mergedConfig.findIndex(function (i) {
|
|
228
|
+
return i.Key === current.Key;
|
|
229
|
+
});
|
|
230
|
+
if (index !== -1) {
|
|
231
|
+
mergedConfig[index] = current;
|
|
232
|
+
} else {
|
|
233
|
+
mergedConfig.push(current);
|
|
234
|
+
}
|
|
235
|
+
});
|
|
236
|
+
dispatch(userConfigFetched(mergedConfig));
|
|
237
|
+
};
|
|
238
|
+
};
|
|
239
|
+
var setUserConfig = exports.setUserConfig = function setUserConfig(UserId, UserName, Config) {
|
|
240
|
+
var getUserConfigAfterSetUserConfig = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;
|
|
241
|
+
return /*#__PURE__*/function () {
|
|
242
|
+
var _ref4 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee4(dispatch, getState) {
|
|
243
|
+
var _getState, _getState$user, _getState$user2, userInfo, userConfig;
|
|
244
|
+
return _regenerator().w(function (_context4) {
|
|
245
|
+
while (1) switch (_context4.n) {
|
|
246
|
+
case 0:
|
|
247
|
+
_getState = getState(), _getState$user = _getState.user, _getState$user2 = _getState$user === void 0 ? {} : _getState$user, userInfo = _getState$user2.userInfo;
|
|
248
|
+
_context4.n = 1;
|
|
249
|
+
return dispatch((0, _apiActions.callAPI)('SetUserConfig', {
|
|
250
|
+
UserId: UserId || userInfo.UserId,
|
|
251
|
+
UserName: UserName || userInfo.UserName,
|
|
252
|
+
Config: Config
|
|
253
|
+
}));
|
|
254
|
+
case 1:
|
|
255
|
+
userConfig = _context4.v;
|
|
256
|
+
if (userConfig.result !== false) {
|
|
257
|
+
if (getUserConfigAfterSetUserConfig) dispatch(getUserConfig(UserId, UserName));
|
|
258
|
+
} else {
|
|
259
|
+
dispatch((0, _snackbarActions.showSnack)({
|
|
260
|
+
id: 'setUserConfigError',
|
|
261
|
+
text: (0, _errorTextFormatter.formatErrorText)(userConfig),
|
|
262
|
+
type: 'warning'
|
|
263
|
+
}));
|
|
264
|
+
}
|
|
265
|
+
return _context4.a(2, userConfig);
|
|
266
|
+
}
|
|
267
|
+
}, _callee4);
|
|
268
|
+
}));
|
|
269
|
+
return function (_x5, _x6) {
|
|
270
|
+
return _ref4.apply(this, arguments);
|
|
271
|
+
};
|
|
272
|
+
}();
|
|
273
|
+
};
|
|
274
|
+
var getUserPermissions = exports.getUserPermissions = function getUserPermissions(UserId) {
|
|
275
|
+
return /*#__PURE__*/function () {
|
|
276
|
+
var _ref5 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee5(dispatch) {
|
|
277
|
+
var permissions, requestPermissions, rolePermissions, roles, permissionRoles, updatedPermissions;
|
|
278
|
+
return _regenerator().w(function (_context5) {
|
|
279
|
+
while (1) switch (_context5.n) {
|
|
280
|
+
case 0:
|
|
281
|
+
_context5.n = 1;
|
|
282
|
+
return dispatch((0, _apiActions.callAPI)('GetUserPermissions', {
|
|
283
|
+
UserId: UserId
|
|
284
|
+
}));
|
|
285
|
+
case 1:
|
|
286
|
+
requestPermissions = _context5.v;
|
|
287
|
+
rolePermissions = new Set(_toConsumableArray(requestPermissions));
|
|
288
|
+
if (!(rolePermissions.has(_userPermissionsContants.userPermissions.operator) || rolePermissions.has(_userPermissionsContants.userPermissions.superUser))) {
|
|
289
|
+
_context5.n = 3;
|
|
290
|
+
break;
|
|
291
|
+
}
|
|
292
|
+
_context5.n = 2;
|
|
293
|
+
return dispatch((0, _apiActions.callAPI)('GetUserRoles', {
|
|
294
|
+
UserId: UserId
|
|
295
|
+
}));
|
|
296
|
+
case 2:
|
|
297
|
+
roles = _context5.v;
|
|
298
|
+
permissionRoles = roles.flatMap(function (role) {
|
|
299
|
+
return role.Permissions.map(function (permission) {
|
|
300
|
+
return permission;
|
|
301
|
+
});
|
|
302
|
+
});
|
|
303
|
+
updatedPermissions = new Set([].concat(_toConsumableArray(rolePermissions), _toConsumableArray(permissionRoles)));
|
|
304
|
+
permissions = _toConsumableArray(new Set(updatedPermissions));
|
|
305
|
+
_context5.n = 4;
|
|
306
|
+
break;
|
|
307
|
+
case 3:
|
|
308
|
+
permissions = requestPermissions;
|
|
309
|
+
case 4:
|
|
310
|
+
dispatch(receiveUserPermissions(permissions));
|
|
311
|
+
case 5:
|
|
312
|
+
return _context5.a(2);
|
|
313
|
+
}
|
|
314
|
+
}, _callee5);
|
|
315
|
+
}));
|
|
316
|
+
return function (_x7) {
|
|
317
|
+
return _ref5.apply(this, arguments);
|
|
318
|
+
};
|
|
319
|
+
}();
|
|
320
|
+
};
|
|
321
|
+
var receiveUserPermissions = exports.receiveUserPermissions = function receiveUserPermissions(payload) {
|
|
322
|
+
return {
|
|
323
|
+
type: RECEIVE_USER_PERMISSIONS,
|
|
324
|
+
payload: payload
|
|
325
|
+
};
|
|
326
|
+
};
|
|
327
|
+
var getUserAccounts = exports.getUserAccounts = function getUserAccounts(OMSId) {
|
|
328
|
+
return /*#__PURE__*/function () {
|
|
329
|
+
var _ref6 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee6(dispatch) {
|
|
330
|
+
var userAccountIds, accountInfoArray, _iterator, _step, accountId, accountInfo, _t;
|
|
331
|
+
return _regenerator().w(function (_context6) {
|
|
332
|
+
while (1) switch (_context6.p = _context6.n) {
|
|
333
|
+
case 0:
|
|
334
|
+
_context6.n = 1;
|
|
335
|
+
return dispatch((0, _apiActions.callAPI)('GetUserAccounts', {
|
|
336
|
+
OMSId: OMSId
|
|
337
|
+
}));
|
|
338
|
+
case 1:
|
|
339
|
+
userAccountIds = _context6.v;
|
|
340
|
+
accountInfoArray = [];
|
|
341
|
+
_iterator = _createForOfIteratorHelper(userAccountIds);
|
|
342
|
+
_context6.p = 2;
|
|
343
|
+
_iterator.s();
|
|
344
|
+
case 3:
|
|
345
|
+
if ((_step = _iterator.n()).done) {
|
|
346
|
+
_context6.n = 6;
|
|
347
|
+
break;
|
|
348
|
+
}
|
|
349
|
+
accountId = _step.value;
|
|
350
|
+
_context6.n = 4;
|
|
351
|
+
return dispatch((0, _apiActions.callAPI)('GetAccountInfo', {
|
|
352
|
+
AccountId: accountId,
|
|
353
|
+
OMSId: OMSId
|
|
354
|
+
}));
|
|
355
|
+
case 4:
|
|
356
|
+
accountInfo = _context6.v;
|
|
357
|
+
// subscribe to events of every user's account
|
|
358
|
+
_apex["default"].connection.subscribeAccountEvents(accountId, OMSId);
|
|
359
|
+
accountInfoArray.push(accountInfo);
|
|
360
|
+
case 5:
|
|
361
|
+
_context6.n = 3;
|
|
362
|
+
break;
|
|
363
|
+
case 6:
|
|
364
|
+
_context6.n = 8;
|
|
365
|
+
break;
|
|
366
|
+
case 7:
|
|
367
|
+
_context6.p = 7;
|
|
368
|
+
_t = _context6.v;
|
|
369
|
+
_iterator.e(_t);
|
|
370
|
+
case 8:
|
|
371
|
+
_context6.p = 8;
|
|
372
|
+
_iterator.f();
|
|
373
|
+
return _context6.f(8);
|
|
374
|
+
case 9:
|
|
375
|
+
if (accountInfoArray.length > 0) {
|
|
376
|
+
dispatch(receiveAccount(accountInfoArray));
|
|
377
|
+
dispatch((0, _kycActions.subscribeToVerificationLevelUpdateEvents)(accountInfoArray[0]));
|
|
378
|
+
}
|
|
379
|
+
return _context6.a(2, accountInfoArray);
|
|
380
|
+
}
|
|
381
|
+
}, _callee6, null, [[2, 7, 8, 9]]);
|
|
382
|
+
}));
|
|
383
|
+
return function (_x8) {
|
|
384
|
+
return _ref6.apply(this, arguments);
|
|
385
|
+
};
|
|
386
|
+
}();
|
|
387
|
+
};
|
|
388
|
+
var updateAccount = exports.updateAccount = function updateAccount(loyaltyProduct) {
|
|
389
|
+
return /*#__PURE__*/function () {
|
|
390
|
+
var _ref7 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee7(dispatch, getState) {
|
|
391
|
+
var _getState$user3, selectedAccountId, accounts, OMSId, currentAccount, payload, Amount, ProductId, response, text;
|
|
392
|
+
return _regenerator().w(function (_context7) {
|
|
393
|
+
while (1) switch (_context7.n) {
|
|
394
|
+
case 0:
|
|
395
|
+
_getState$user3 = getState().user, selectedAccountId = _getState$user3.selectedAccountId, accounts = _getState$user3.accounts, OMSId = _getState$user3.userInfo.OMSId;
|
|
396
|
+
currentAccount = accounts.find(function (account) {
|
|
397
|
+
return selectedAccountId === account.AccountId;
|
|
398
|
+
});
|
|
399
|
+
payload = _objectSpread(_objectSpread({}, currentAccount), {}, {
|
|
400
|
+
LoyaltyProductId: 0,
|
|
401
|
+
LoyaltyEnabled: false
|
|
402
|
+
});
|
|
403
|
+
if (loyaltyProduct) {
|
|
404
|
+
Amount = loyaltyProduct.Amount, ProductId = loyaltyProduct.ProductId;
|
|
405
|
+
payload.LoyaltyProductId = ProductId;
|
|
406
|
+
|
|
407
|
+
// Never enable the loyalty token functionality if the balance is 0.
|
|
408
|
+
if (Amount > 0) {
|
|
409
|
+
payload.LoyaltyEnabled = true;
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
_context7.n = 1;
|
|
413
|
+
return dispatch((0, _apiActions.callAPI)('UpdateAccount', payload));
|
|
414
|
+
case 1:
|
|
415
|
+
response = _context7.v;
|
|
416
|
+
if (response.result) {
|
|
417
|
+
text = loyaltyProduct ? 'Fee token successfully set' : 'Fee token successfully unset';
|
|
418
|
+
dispatch((0, _snackbarActions.showSnack)({
|
|
419
|
+
id: 'UpdateAccountSuccess',
|
|
420
|
+
text: text,
|
|
421
|
+
type: 'success'
|
|
422
|
+
}));
|
|
423
|
+
dispatch(getUserAccounts(OMSId));
|
|
424
|
+
} else {
|
|
425
|
+
dispatch((0, _reduxForm.change)('loyaltyTokenForm', 'loyaltyToken', currentAccount.LoyaltyProductId));
|
|
426
|
+
dispatch((0, _snackbarActions.showSnack)({
|
|
427
|
+
id: 'UpdateAccountError',
|
|
428
|
+
text: (0, _errorTextFormatter.formatErrorText)(response),
|
|
429
|
+
type: 'warning'
|
|
430
|
+
}));
|
|
431
|
+
}
|
|
432
|
+
case 2:
|
|
433
|
+
return _context7.a(2);
|
|
434
|
+
}
|
|
435
|
+
}, _callee7);
|
|
436
|
+
}));
|
|
437
|
+
return function (_x9, _x0) {
|
|
438
|
+
return _ref7.apply(this, arguments);
|
|
439
|
+
};
|
|
440
|
+
}();
|
|
441
|
+
};
|
|
442
|
+
var selectAccount = exports.selectAccount = function selectAccount(accountId, OMSId) {
|
|
443
|
+
return /*#__PURE__*/function () {
|
|
444
|
+
var _ref8 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee8(dispatch, getState) {
|
|
445
|
+
var accounts, account, selectedInstrumentId, _selectedInstrumentId;
|
|
446
|
+
return _regenerator().w(function (_context8) {
|
|
447
|
+
while (1) switch (_context8.n) {
|
|
448
|
+
case 0:
|
|
449
|
+
accounts = getState().user.accounts;
|
|
450
|
+
account = (accounts || []).find(function (a) {
|
|
451
|
+
return a.AccountId === accountId;
|
|
452
|
+
});
|
|
453
|
+
if (!(!accounts.length || !account)) {
|
|
454
|
+
_context8.n = 1;
|
|
455
|
+
break;
|
|
456
|
+
}
|
|
457
|
+
console.error("No account found with ID ".concat(accountId));
|
|
458
|
+
return _context8.a(2);
|
|
459
|
+
case 1:
|
|
460
|
+
dispatch(setAccount(accountId));
|
|
461
|
+
|
|
462
|
+
// Futures instruments endpoint should be called in the very beginning of api call sequence
|
|
463
|
+
if (account.AccountType === 'Futures') {
|
|
464
|
+
selectedInstrumentId = (0, _selectors2.futuresSelectedInstrumentIdSelector)(getState());
|
|
465
|
+
dispatch((0, _futuresInstrumentsActions.getFuturesInstruments)({
|
|
466
|
+
AccountId: accountId,
|
|
467
|
+
selectedInstrumentId: selectedInstrumentId
|
|
468
|
+
}));
|
|
469
|
+
} else {
|
|
470
|
+
_selectedInstrumentId = (0, _instrumentPositionSelectors.selectedInstrumentIdSelector)(getState());
|
|
471
|
+
dispatch((0, _instrumentActions.selectInstrument)(_selectedInstrumentId));
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
/**
|
|
475
|
+
* 6 is used as default Limit argument due to length of dashboard Recent Activity feed.
|
|
476
|
+
*/
|
|
477
|
+
if (_config["default"].global.privateMarketData) {
|
|
478
|
+
dispatch((0, _orderHistoryActions.getOrders)(accountId, OMSId));
|
|
479
|
+
}
|
|
480
|
+
dispatch((0, _withdrawActions.subscribeToWithdrawalTickets)());
|
|
481
|
+
dispatch((0, _orderHistoryActions.subscribeToOrderHistory)());
|
|
482
|
+
dispatch((0, _orderHistoryActions.subscribeToMarginCancelOrderLiquidationEvents)());
|
|
483
|
+
dispatch((0, _transferActions.getTransfers)(accountId));
|
|
484
|
+
dispatch((0, _transferActions.getIncomingTransfers)(OMSId, accountId));
|
|
485
|
+
dispatch((0, _transferRequestActions.getTransferRequestsReceived)(accountId, OMSId));
|
|
486
|
+
dispatch((0, _transferRequestActions.getTransferRequestsRequested)(accountId, OMSId));
|
|
487
|
+
dispatch((0, _marketStateUpdateActions.initMarketTradeSubscription)());
|
|
488
|
+
dispatch((0, _marketStateUpdateActions.subscribeToMarketTradeUpdated)());
|
|
489
|
+
dispatch((0, _eotcSettlementActions.subscribeToAccountSettlements)());
|
|
490
|
+
_AccountEventsSubscriptionService["default"].subscribe(function (update) {
|
|
491
|
+
return dispatch((0, _kycActions.updateAccount)({
|
|
492
|
+
item: update,
|
|
493
|
+
index: getState().user.accounts.findIndex(function (i) {
|
|
494
|
+
return i.AccountId === accountId;
|
|
495
|
+
})
|
|
496
|
+
}));
|
|
497
|
+
});
|
|
498
|
+
accounts.forEach(function (a) {
|
|
499
|
+
dispatch((0, _positionActions.getAccountPositions)(a.AccountId));
|
|
500
|
+
});
|
|
501
|
+
dispatch((0, _positionActions.subscribeToAccountPositionEvents)());
|
|
502
|
+
dispatch((0, _withdrawActions.getAccountVerificationLevelConfig)());
|
|
503
|
+
dispatch((0, _depositActions.subscribeToDeposits)());
|
|
504
|
+
localStorage.setItem('selectedAccountId', accountId);
|
|
505
|
+
if (account.AccountType === 'Margin') {
|
|
506
|
+
dispatch((0, _actions.preloadMarginData)(accountId, account.OMSID));
|
|
507
|
+
}
|
|
508
|
+
if (account.AccountType === 'Futures') {
|
|
509
|
+
dispatch((0, _actions2.preloadFuturesData)(accountId, account.OMSID));
|
|
510
|
+
dispatch((0, _actions2.subscribeFuturesOrderHistory)(accountId));
|
|
511
|
+
}
|
|
512
|
+
case 2:
|
|
513
|
+
return _context8.a(2);
|
|
514
|
+
}
|
|
515
|
+
}, _callee8);
|
|
516
|
+
}));
|
|
517
|
+
return function (_x1, _x10) {
|
|
518
|
+
return _ref8.apply(this, arguments);
|
|
519
|
+
};
|
|
520
|
+
}();
|
|
521
|
+
};
|
|
522
|
+
var receiveAccount = exports.receiveAccount = function receiveAccount(payload) {
|
|
523
|
+
return {
|
|
524
|
+
type: RECEIVE_ACCOUNT,
|
|
525
|
+
payload: payload
|
|
526
|
+
};
|
|
527
|
+
};
|
|
528
|
+
var setAccount = exports.setAccount = function setAccount(payload) {
|
|
529
|
+
return {
|
|
530
|
+
type: SET_ACCOUNT,
|
|
531
|
+
payload: payload
|
|
532
|
+
};
|
|
533
|
+
};
|
|
534
|
+
var goToResetPasswordFormStep = exports.goToResetPasswordFormStep = function goToResetPasswordFormStep(step) {
|
|
535
|
+
return function (dispatch) {
|
|
536
|
+
return dispatch((0, _reduxForm.change)('resetPasswordRequest', 'step', step));
|
|
537
|
+
};
|
|
538
|
+
};
|
|
539
|
+
var goToBaseCurrencyFormStep = exports.goToBaseCurrencyFormStep = function goToBaseCurrencyFormStep(step) {
|
|
540
|
+
return function (dispatch) {
|
|
541
|
+
return dispatch((0, _reduxForm.change)('baseCurrencies', 'step', step));
|
|
542
|
+
};
|
|
543
|
+
};
|
|
544
|
+
var sendResetPasswordEmail = exports.sendResetPasswordEmail = function sendResetPasswordEmail(UserName) {
|
|
545
|
+
return /*#__PURE__*/function () {
|
|
546
|
+
var _ref9 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee9(dispatch) {
|
|
547
|
+
var response, snackbarPayload;
|
|
548
|
+
return _regenerator().w(function (_context9) {
|
|
549
|
+
while (1) switch (_context9.n) {
|
|
550
|
+
case 0:
|
|
551
|
+
_context9.n = 1;
|
|
552
|
+
return dispatch((0, _apiActions.callAPI)('ResetPassword', {
|
|
553
|
+
UserName: UserName
|
|
554
|
+
}));
|
|
555
|
+
case 1:
|
|
556
|
+
response = _context9.v;
|
|
557
|
+
snackbarPayload = response.result ? {
|
|
558
|
+
id: 'sendResetPasswordEmailSuccess',
|
|
559
|
+
// t('Check Your Email For Reset Password Link');
|
|
560
|
+
text: 'Check Your Email For Reset Password Link',
|
|
561
|
+
type: 'success'
|
|
562
|
+
} : {
|
|
563
|
+
id: 'sendResetPasswordEmailError',
|
|
564
|
+
text: (0, _errorTextFormatter.formatErrorText)(response),
|
|
565
|
+
type: 'warning'
|
|
566
|
+
};
|
|
567
|
+
dispatch((0, _snackbarActions.showSnack)(snackbarPayload));
|
|
568
|
+
setTimeout(function () {
|
|
569
|
+
return dispatch((0, _authActions.logout)());
|
|
570
|
+
}, _config["default"].Snackbar.timeout);
|
|
571
|
+
case 2:
|
|
572
|
+
return _context9.a(2);
|
|
573
|
+
}
|
|
574
|
+
}, _callee9);
|
|
575
|
+
}));
|
|
576
|
+
return function (_x11) {
|
|
577
|
+
return _ref9.apply(this, arguments);
|
|
578
|
+
};
|
|
579
|
+
}();
|
|
580
|
+
};
|
|
581
|
+
var submitResetPasswordForm = exports.submitResetPasswordForm = function submitResetPasswordForm() {
|
|
582
|
+
return function (dispatch, getState) {
|
|
583
|
+
var _getState2 = getState(),
|
|
584
|
+
user = _getState2.user;
|
|
585
|
+
dispatch(sendResetPasswordEmail(user.userInfo.UserName));
|
|
586
|
+
};
|
|
587
|
+
};
|
|
588
|
+
var setGoogleQrCode = exports.setGoogleQrCode = function setGoogleQrCode(payload) {
|
|
589
|
+
return {
|
|
590
|
+
type: SET_GOOGLE_QRCODE,
|
|
591
|
+
payload: payload
|
|
592
|
+
};
|
|
593
|
+
};
|
|
594
|
+
var clearGoogleQrCode = exports.clearGoogleQrCode = function clearGoogleQrCode() {
|
|
595
|
+
return {
|
|
596
|
+
type: CLEAR_GOOGLE_QRCODE
|
|
597
|
+
};
|
|
598
|
+
};
|
|
599
|
+
var getGoogleQrCode = exports.getGoogleQrCode = function getGoogleQrCode() {
|
|
600
|
+
return /*#__PURE__*/function () {
|
|
601
|
+
var _ref0 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee0(dispatch) {
|
|
602
|
+
var qrCode;
|
|
603
|
+
return _regenerator().w(function (_context0) {
|
|
604
|
+
while (1) switch (_context0.n) {
|
|
605
|
+
case 0:
|
|
606
|
+
_context0.n = 1;
|
|
607
|
+
return _apex["default"].connection.EnableGoogle2FA();
|
|
608
|
+
case 1:
|
|
609
|
+
qrCode = _context0.v;
|
|
610
|
+
dispatch(setGoogleQrCode(qrCode));
|
|
611
|
+
case 2:
|
|
612
|
+
return _context0.a(2);
|
|
613
|
+
}
|
|
614
|
+
}, _callee0);
|
|
615
|
+
}));
|
|
616
|
+
return function (_x12) {
|
|
617
|
+
return _ref0.apply(this, arguments);
|
|
618
|
+
};
|
|
619
|
+
}();
|
|
620
|
+
};
|
|
621
|
+
var disable2FA = exports.disable2FA = function disable2FA(code) {
|
|
622
|
+
return /*#__PURE__*/function () {
|
|
623
|
+
var _ref1 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee1(dispatch, getState) {
|
|
624
|
+
var userInfo, auth, _t2;
|
|
625
|
+
return _regenerator().w(function (_context1) {
|
|
626
|
+
while (1) switch (_context1.p = _context1.n) {
|
|
627
|
+
case 0:
|
|
628
|
+
userInfo = getState().user.userInfo;
|
|
629
|
+
_context1.p = 1;
|
|
630
|
+
_context1.n = 2;
|
|
631
|
+
return _apex["default"].connection.Disable2FA();
|
|
632
|
+
case 2:
|
|
633
|
+
_context1.n = 3;
|
|
634
|
+
return dispatch((0, _apiActions.callAPI)('Authenticate2FA', {
|
|
635
|
+
Code: code
|
|
636
|
+
}))["catch"](function (e) {
|
|
637
|
+
return console.log(e);
|
|
638
|
+
});
|
|
639
|
+
case 3:
|
|
640
|
+
auth = _context1.v;
|
|
641
|
+
_context1.n = 5;
|
|
642
|
+
break;
|
|
643
|
+
case 4:
|
|
644
|
+
_context1.p = 4;
|
|
645
|
+
_t2 = _context1.v;
|
|
646
|
+
console.error(_t2);
|
|
647
|
+
dispatch((0, _snackbarActions.showSnack)({
|
|
648
|
+
id: 'DISABLE_2FA_ERROR',
|
|
649
|
+
// t('Code Rejected')
|
|
650
|
+
text: 'Code Rejected',
|
|
651
|
+
type: 'warning'
|
|
652
|
+
}));
|
|
653
|
+
case 5:
|
|
654
|
+
if (auth.Authenticated) {
|
|
655
|
+
dispatch(userInfoFetched(_objectSpread(_objectSpread({}, userInfo), {}, {
|
|
656
|
+
Use2FA: false
|
|
657
|
+
})));
|
|
658
|
+
dispatch((0, _modalActions.closeModal)(_modalActions.MODAL_TYPES.DISABLE_2FA));
|
|
659
|
+
dispatch((0, _snackbarActions.showSnack)({
|
|
660
|
+
id: 'DISABLE_2FA_SUCCESS',
|
|
661
|
+
// t('Two Factor Authenticated is disabled')
|
|
662
|
+
text: 'Two-Factor Authenticated is disabled',
|
|
663
|
+
type: 'success'
|
|
664
|
+
}));
|
|
665
|
+
} else {
|
|
666
|
+
dispatch((0, _snackbarActions.showSnack)({
|
|
667
|
+
id: 'DISABLE_2FA_ERROR',
|
|
668
|
+
// t('Code Rejected')
|
|
669
|
+
text: 'Code Rejected',
|
|
670
|
+
type: 'warning'
|
|
671
|
+
}));
|
|
672
|
+
}
|
|
673
|
+
case 6:
|
|
674
|
+
return _context1.a(2);
|
|
675
|
+
}
|
|
676
|
+
}, _callee1, null, [[1, 4]]);
|
|
677
|
+
}));
|
|
678
|
+
return function (_x13, _x14) {
|
|
679
|
+
return _ref1.apply(this, arguments);
|
|
680
|
+
};
|
|
681
|
+
}();
|
|
682
|
+
};
|
|
683
|
+
var enable2FA = exports.enable2FA = function enable2FA(code) {
|
|
684
|
+
return /*#__PURE__*/function () {
|
|
685
|
+
var _ref10 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee10(dispatch, getState) {
|
|
686
|
+
var userInfo, auth;
|
|
687
|
+
return _regenerator().w(function (_context10) {
|
|
688
|
+
while (1) switch (_context10.n) {
|
|
689
|
+
case 0:
|
|
690
|
+
userInfo = getState().user.userInfo;
|
|
691
|
+
_context10.n = 1;
|
|
692
|
+
return _apex["default"].connection.Authenticate2FA({
|
|
693
|
+
Code: code
|
|
694
|
+
});
|
|
695
|
+
case 1:
|
|
696
|
+
auth = _context10.v;
|
|
697
|
+
if (auth.Authenticated) {
|
|
698
|
+
dispatch((0, _authActions.authSuccess)(auth));
|
|
699
|
+
dispatch(userInfoFetched(_objectSpread(_objectSpread({}, userInfo), {}, {
|
|
700
|
+
Use2FA: true
|
|
701
|
+
})));
|
|
702
|
+
dispatch((0, _modalActions.closeModal)(_modalActions.MODAL_TYPES.ENABLE_2FA));
|
|
703
|
+
dispatch(clearGoogleQrCode());
|
|
704
|
+
dispatch((0, _snackbarActions.showSnack)({
|
|
705
|
+
id: 'ENABLE_2FA_SUCCESS',
|
|
706
|
+
// t('Two Factor Authenticated is enabled')
|
|
707
|
+
text: 'Two-Factor Authenticated is enabled',
|
|
708
|
+
type: 'success'
|
|
709
|
+
}));
|
|
710
|
+
} else {
|
|
711
|
+
dispatch((0, _snackbarActions.showSnack)({
|
|
712
|
+
id: 'ENABLE_2FA_ERROR',
|
|
713
|
+
// t('Code Rejected')
|
|
714
|
+
text: 'Code Rejected',
|
|
715
|
+
type: 'warning'
|
|
716
|
+
}));
|
|
717
|
+
}
|
|
718
|
+
case 2:
|
|
719
|
+
return _context10.a(2);
|
|
720
|
+
}
|
|
721
|
+
}, _callee10);
|
|
722
|
+
}));
|
|
723
|
+
return function (_x15, _x16) {
|
|
724
|
+
return _ref10.apply(this, arguments);
|
|
725
|
+
};
|
|
726
|
+
}();
|
|
727
|
+
};
|
|
728
|
+
var enableYubikey2FA = exports.enableYubikey2FA = function enableYubikey2FA(otp) {
|
|
729
|
+
return /*#__PURE__*/function () {
|
|
730
|
+
var _ref11 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee11(dispatch, getState) {
|
|
731
|
+
var userInfo, auth;
|
|
732
|
+
return _regenerator().w(function (_context11) {
|
|
733
|
+
while (1) switch (_context11.n) {
|
|
734
|
+
case 0:
|
|
735
|
+
userInfo = getState().user.userInfo;
|
|
736
|
+
_context11.n = 1;
|
|
737
|
+
return dispatch((0, _apiActions.callAPI)('EnableYubico2FA', {
|
|
738
|
+
otp: otp
|
|
739
|
+
}));
|
|
740
|
+
case 1:
|
|
741
|
+
auth = _context11.v;
|
|
742
|
+
if (auth.Enabled2FA) {
|
|
743
|
+
dispatch(userInfoFetched(_objectSpread(_objectSpread({}, userInfo), {}, {
|
|
744
|
+
Use2FA: true
|
|
745
|
+
})));
|
|
746
|
+
dispatch((0, _modalActions.closeModal)(_modalActions.MODAL_TYPES.ENABLE_2FA));
|
|
747
|
+
dispatch(clearGoogleQrCode());
|
|
748
|
+
dispatch((0, _snackbarActions.showSnack)({
|
|
749
|
+
id: 'ENABLE_2FA_SUCCESS',
|
|
750
|
+
// t('Two Factor Authenticated is enabled')
|
|
751
|
+
text: 'Two-Factor Authenticated is enabled',
|
|
752
|
+
type: 'success'
|
|
753
|
+
}));
|
|
754
|
+
} else {
|
|
755
|
+
dispatch((0, _snackbarActions.showSnack)({
|
|
756
|
+
id: 'ENABLE_2FA_ERROR',
|
|
757
|
+
// t('Code Rejected')
|
|
758
|
+
text: 'Code Rejected',
|
|
759
|
+
type: 'warning'
|
|
760
|
+
}));
|
|
761
|
+
}
|
|
762
|
+
case 2:
|
|
763
|
+
return _context11.a(2);
|
|
764
|
+
}
|
|
765
|
+
}, _callee11);
|
|
766
|
+
}));
|
|
767
|
+
return function (_x17, _x18) {
|
|
768
|
+
return _ref11.apply(this, arguments);
|
|
769
|
+
};
|
|
770
|
+
}();
|
|
771
|
+
};
|
|
772
|
+
var getGoogle2FARecoveryCode = exports.getGoogle2FARecoveryCode = function getGoogle2FARecoveryCode(code) {
|
|
773
|
+
return /*#__PURE__*/function () {
|
|
774
|
+
var _ref12 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee12(dispatch) {
|
|
775
|
+
var response, recoveryCode;
|
|
776
|
+
return _regenerator().w(function (_context12) {
|
|
777
|
+
while (1) switch (_context12.n) {
|
|
778
|
+
case 0:
|
|
779
|
+
_context12.n = 1;
|
|
780
|
+
return _apex["default"].connection.RPCPromise('GetGoogle2FARecoveryKey', {
|
|
781
|
+
Code: code
|
|
782
|
+
});
|
|
783
|
+
case 1:
|
|
784
|
+
response = _context12.v;
|
|
785
|
+
recoveryCode = JSON.parse(response.o);
|
|
786
|
+
if (recoveryCode.Authenticated) {
|
|
787
|
+
dispatch((0, _reduxForm.change)('google2FARecoveryKeyModal', 'recoveryKey', recoveryCode.RecoveryKey));
|
|
788
|
+
} else {
|
|
789
|
+
dispatch((0, _snackbarActions.showSnack)({
|
|
790
|
+
id: 'RECOVERY_ERROR',
|
|
791
|
+
text: recoveryCode.errormsg,
|
|
792
|
+
type: 'warning'
|
|
793
|
+
}));
|
|
794
|
+
}
|
|
795
|
+
case 2:
|
|
796
|
+
return _context12.a(2);
|
|
797
|
+
}
|
|
798
|
+
}, _callee12);
|
|
799
|
+
}));
|
|
800
|
+
return function (_x19) {
|
|
801
|
+
return _ref12.apply(this, arguments);
|
|
802
|
+
};
|
|
803
|
+
}();
|
|
804
|
+
};
|
|
805
|
+
var resendVerificationEmail = exports.resendVerificationEmail = function resendVerificationEmail(payload) {
|
|
806
|
+
return /*#__PURE__*/function () {
|
|
807
|
+
var _ref13 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee13(dispatch) {
|
|
808
|
+
var Apex, response, snackbarPayload, _t3;
|
|
809
|
+
return _regenerator().w(function (_context13) {
|
|
810
|
+
while (1) switch (_context13.p = _context13.n) {
|
|
811
|
+
case 0:
|
|
812
|
+
_context13.p = 0;
|
|
813
|
+
Apex = (0, _apex.getApex)();
|
|
814
|
+
_context13.n = 2;
|
|
815
|
+
break;
|
|
816
|
+
case 1:
|
|
817
|
+
_context13.p = 1;
|
|
818
|
+
_t3 = _context13.v;
|
|
819
|
+
return _context13.a(2, dispatch((0, _snackbarActions.showSnack)({
|
|
820
|
+
id: 'apexError',
|
|
821
|
+
text: _t3.message,
|
|
822
|
+
type: 'warning'
|
|
823
|
+
})));
|
|
824
|
+
case 2:
|
|
825
|
+
if (Apex.connection.ResendVerificationEmail) {
|
|
826
|
+
_context13.n = 3;
|
|
827
|
+
break;
|
|
828
|
+
}
|
|
829
|
+
return _context13.a(2, dispatch((0, _snackbarActions.showSnack)({
|
|
830
|
+
id: 'resendVerificationEmailError',
|
|
831
|
+
text: 'Feature Not Available.',
|
|
832
|
+
type: 'warning'
|
|
833
|
+
})));
|
|
834
|
+
case 3:
|
|
835
|
+
_context13.n = 4;
|
|
836
|
+
return Apex.connection.ResendVerificationEmail(payload);
|
|
837
|
+
case 4:
|
|
838
|
+
response = _context13.v;
|
|
839
|
+
snackbarPayload = response.result ? {
|
|
840
|
+
id: 'resendVerificationEmailSuccess',
|
|
841
|
+
// t('Check Your Email For An Account Verification Email');
|
|
842
|
+
text: 'Check Your Email For An Account Verification Email',
|
|
843
|
+
type: 'success'
|
|
844
|
+
} : {
|
|
845
|
+
id: 'resendVerificationEmailError',
|
|
846
|
+
text: (0, _errorTextFormatter.formatErrorText)(response),
|
|
847
|
+
type: 'warning'
|
|
848
|
+
};
|
|
849
|
+
dispatch((0, _snackbarActions.showSnack)(snackbarPayload));
|
|
850
|
+
case 5:
|
|
851
|
+
return _context13.a(2);
|
|
852
|
+
}
|
|
853
|
+
}, _callee13, null, [[0, 1]]);
|
|
854
|
+
}));
|
|
855
|
+
return function (_x20) {
|
|
856
|
+
return _ref13.apply(this, arguments);
|
|
857
|
+
};
|
|
858
|
+
}();
|
|
859
|
+
};
|
|
860
|
+
var isFuturesAccount = exports.isFuturesAccount = function isFuturesAccount(state) {
|
|
861
|
+
var _state$user = state.user,
|
|
862
|
+
_state$user$accounts = _state$user.accounts,
|
|
863
|
+
accounts = _state$user$accounts === void 0 ? [] : _state$user$accounts,
|
|
864
|
+
selectedAccountId = _state$user.selectedAccountId;
|
|
865
|
+
if (!selectedAccountId) return false;
|
|
866
|
+
var account = accounts.find(function (a) {
|
|
867
|
+
return a.AccountId === selectedAccountId;
|
|
868
|
+
});
|
|
869
|
+
return (account === null || account === void 0 ? void 0 : account.AccountType) === 'Futures';
|
|
870
|
+
};
|