All files / src/modals enterprise_portal_modals.ts

0% Statements 0/16
100% Branches 0/0
100% Functions 0/0
0% Lines 0/16

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68                                                                                                                                       
import NiceModal from "@ebay/nice-modal-react";
// components
import BankAccountStatusApprovalPopup from "@components/Merchants/MerchantPreview/modals/BankAccountStatusApproval";
import BankAccountStatusDeclinePopup from "@components/Merchants/MerchantPreview/modals/BankAccountStatusDeclinePopup";
import ViewTransaction from "@components/Merchants/ViewTransaction/ViewTransaction";
import { RemoveWatchlist } from "@components/Merchants/Watchlist";
import UploadStatement from "@components/BankAccounts/UploadStatement";
import ProcessingMakeRecuring from "@components/Processing/ProcessingMakeRecurring";
import ProcessingSendReceipt from "@components/Processing/ProcessingSendReceipt";
import { ViewCustomer } from "@components/Processing/ViewCustomer";
import {
  Refund,
  Cancel,
} from "@components/ManageMoney/TransactionTable/TableActions";
import { DownloadReport } from "sections";
import ProcessingModifyRecurring from "@components/Processing/ProcessingModifyRecurring";
 
import {
  BANK_ACCOUNT_STATUS_APPROVAL_MODAL,
  BANK_ACCOUNT_STATUS_DECLINE_MODAL,
  DOWNLOAD_REPORT_MODAL,
  MERCHANT_VIEW_TRANSACTION_MODAL,
  PROCESSING_MAKE_RECURRING_MODAL,
  PROCESSING_MODIFY_RECURRING_MODAL,
  PROCESSING_REFUND_TRANSACTION_MODAL,
  PROCESSING_SEND_RECEIPT_MODAL,
  PROCESSING_VIEW_CUSTOMER_MODAL,
  REMOVE_FROM_WATCHLIST_MODAL,
  UPLOAD_STATEMENT_MODAL,
  PROCESSING_CANCEL_TRANSACTION_MODAL,
  MERCHANT_PREVIEW_PANEL_MODAL,
  PROFILE_MODAL,
  TABLE_FILTERS_MODAL,
  SEND_MONEY_MODAL_V2,
} from "./modal_names";
import TableFilterModal from "@common/TableFilters/TableFilterModal";
import NewMerchantSidePanel from "features/Merchants/MerchantSidePanel/NewMerchantSidePanel";
import NewAccountProfileModal from "componentsV2/AccountProfile/AccountProfileModal";
import SendMoneyModalV2 from "@features/MerchantPortal/ManageMoney/modals/SendMoneyModal/SendMoneyModalV2";
 
NiceModal.register(MERCHANT_PREVIEW_PANEL_MODAL, NewMerchantSidePanel);
NiceModal.register(
  BANK_ACCOUNT_STATUS_APPROVAL_MODAL,
  BankAccountStatusApprovalPopup,
);
NiceModal.register(
  BANK_ACCOUNT_STATUS_DECLINE_MODAL,
  BankAccountStatusDeclinePopup,
);
NiceModal.register(MERCHANT_VIEW_TRANSACTION_MODAL, ViewTransaction);
NiceModal.register(REMOVE_FROM_WATCHLIST_MODAL, RemoveWatchlist);
NiceModal.register(UPLOAD_STATEMENT_MODAL, UploadStatement);
NiceModal.register(PROCESSING_REFUND_TRANSACTION_MODAL, Refund);
NiceModal.register(PROCESSING_CANCEL_TRANSACTION_MODAL, Cancel);
NiceModal.register(SEND_MONEY_MODAL_V2, SendMoneyModalV2);
NiceModal.register(PROCESSING_SEND_RECEIPT_MODAL, ProcessingSendReceipt);
NiceModal.register(PROCESSING_MAKE_RECURRING_MODAL, ProcessingMakeRecuring);
NiceModal.register(PROCESSING_VIEW_CUSTOMER_MODAL, ViewCustomer);
NiceModal.register(
  PROCESSING_MODIFY_RECURRING_MODAL,
  ProcessingModifyRecurring,
);
 
NiceModal.register(DOWNLOAD_REPORT_MODAL, DownloadReport);
 
NiceModal.register(PROFILE_MODAL, NewAccountProfileModal);
NiceModal.register(TABLE_FILTERS_MODAL, TableFilterModal);