@zeniai/web-cockpit-ui 1.14.72-qa → 1.14.73-dev
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/dist/assets/{ACHDetailsPage-BZFkcCOG-BgLnT2bx.js → ACHDetailsPage-FHBR2PCA-DLva-SPh.js} +1 -1
- package/dist/assets/{AIPerformancePage-DtNLjoUW-B-tQfVdq.js → AIPerformancePage-CiYLvD6Z-bHSk8bLC.js} +19 -19
- package/dist/assets/{AccountInfoPage-D-E_-WpE-BBToHrwY.js → AccountInfoPage-B0uMPZhx-BIQF2gH2.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-B8GKrtCm-eOZxiYcE.js → AccountInfoPageContent-CdgOtpop-AHRejHe6.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-BD7Nb81U-B8-e-Aqp.js → AccountLockedInfoModal-DnQEp6tD-BW8Fp--s.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-D-_ME0pV-ZyQ51UQi.js → AccountReconDetailsDrawerPage-BxjUNX_b-C4CXpIA8.js} +1 -1
- package/dist/assets/AccountRow-C6z4Ft3r-BFimoTCg.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-CdBwPVgI-DC42arzv.js → AccountsPromoCardStack-BS-HxQ5z-BoaDvf04.js} +15 -15
- package/dist/assets/{AddAddressForCardDrawer-Lm7cn4kq-IB0w7L6k.js → AddAddressForCardDrawer-qa7RqzlX-DAOW06gk.js} +1 -1
- package/dist/assets/{AddToWalletPage-nSq-9dQy-BLazFAns.js → AddToWalletPage-DNjsPMFK-r8gZ63eR.js} +18 -18
- package/dist/assets/{AgingReportsPage-L0zQxwCf-CzxlP75b.js → AgingReportsPage-Dmgvzu2b-DiSOGn-n.js} +1 -1
- package/dist/assets/{AllUserItems-CvwaOEhu-CSstsloE.js → AllUserItems-BBC-qn-o-D2MAzw4F.js} +4 -4
- package/dist/assets/{ApAgingDetailPage-B_78aSEv-CyRGhFJs.js → ApAgingDetailPage-YWdtNxkt-5BxHOM_M.js} +2 -2
- package/dist/assets/{AppBasePage-Br0WbQRY-CvtL6jFY.js → AppBasePage-BnA8ceAD-BvanHCQt.js} +1 -1
- package/dist/assets/{AppDrawerContent-BZODvVvi-CBR3J9Hc.js → AppDrawerContent-DKHWPZQW-CEAxNC9t.js} +2 -2
- package/dist/assets/{ApprovalRulesSettingsPage-Dxd7A3hZ-CpKhvWXh.js → ApprovalRulesSettingsPage-D4Vz_gLv-DJSQNR5P.js} +1 -1
- package/dist/assets/{ArAgingChart-BezVy1Sm-B5e4MyYb.js → ArAgingChart-CuHk_U2p-D7juYPVe.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-BlV3iJeW-C8LgZKgM.js → ArAgingDetailPage-H77B2AWo-DYwzxBIW.js} +1 -1
- package/dist/assets/{AttachmentView-DhluaeAV-BaM0a1eW.js → AttachmentView-D1SPuem6-CmH4xHN2.js} +1 -1
- package/dist/assets/{BankAccountSection-GDEQdiGL-D7Gh00lc.js → BankAccountSection-ByfDYmEM-WCmaTn1f.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-Di_BsiJC-Be424FdZ.js → BankAccountWarningSection-BTCdQgZV-Bb72qOHU.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-D5hI4xtm-DMzJVZgn.js → BankConnectionsSettingsPage-L62aMW_s-Ce_PfdvA.js} +8 -8
- package/dist/assets/{BillDetailPage-CDAh8Jtl-B38-z0c0.js → BillDetailPage-BBQJpRTI-D0MlJ03G.js} +4 -4
- package/dist/assets/{BillPayApprovalRuleDetailPage-BzyTn4mC-BYJ5p8aA.js → BillPayApprovalRuleDetailPage-ByLLupWf-BGMDsIwH.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-DDJ-LxQz-CCttQ48s.js → BillPayApprovalRulesPage-D4d-6Jnf-CF6fIJls.js} +1 -1
- package/dist/assets/{BillPayPromoPage-B2YcxWc9-BQxU6TuM.js → BillPayPromoPage-CPGYF3vl-DVnbNH0W.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-oJvoWpFu-rnx0woyr.js → BillPaySetUpPage-CeciDq-c-NzaXshML.js} +2 -2
- package/dist/assets/{BillingSettingsPage-BRsKYzT5-Bkhfil_F.js → BillingSettingsPage-DknUlTgB-CcR7ugmH.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-B7tORIok-CzktZl5t.js → BillsBulkReviewDrawerPage-BIjlRcX--CZ4DepwQ.js} +1 -1
- package/dist/assets/{BoxItem-COIjjFrn-BdkILoXu.js → BoxItem-D4K0YgBP-Bm_px4kT.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-Nw_fedst-DWFoTVFR.js → BusinessVerificationPage-CWioKmMC--fpYbOGK.js} +1 -1
- package/dist/assets/{CardNumberSubText-CmhH95Ff-Cm3hJRYZ.js → CardNumberSubText-C_03r_B--CXrhgc3z.js} +2 -2
- package/dist/assets/{CashbackDetailPage-BPLjvuA3-oIqL5TUs.js → CashbackDetailPage-BaImXBc2-BqUQeIYw.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-qOu4cPGd-C633jFp0.js → ChargeCardDetailPage-Ba7cRz0p-DYtlHHMF.js} +21 -21
- package/dist/assets/{ChargeCardListPage-v5hH98Wi-BuxeUD72.js → ChargeCardListPage-BTH_OAht-CJvC6mTi.js} +1 -1
- package/dist/assets/{ChargeCardListTable-BGWV4zJl-Ce2AthWH.js → ChargeCardListTable-DpRWVPmZ-CcrBBELQ.js} +39 -39
- package/dist/assets/{ChargeCardPromoPage-CPEaGOL3-BLFFi5jX.js → ChargeCardPromoPage-B3bc_Qcj-DVNboRNz.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-G5Rn0o6y-DYXNrre8.js → ChargeCardSetupPage-3-7oaikG-BYx_BUtm.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-CJgUrcLz-BI7ZoCFJ.js → ChargeCardStatementsPage-3HMKClyw-mCs_-TXo.js} +5 -5
- package/dist/assets/{ChargeCardUtils-BRgkrCTs-C8zXQGn9.js → ChargeCardUtils-Cx6ntaue-CziTslau.js} +1 -1
- package/dist/assets/{ChaseOverlay-BC_4vwtb-COKgYEaj.js → ChaseOverlay-1PyDzocW-DV1roPs3.js} +5 -5
- package/dist/assets/{CheckDepositDrawerPage-CDo5E13X-Cbi1sEYQ.js → CheckDepositDrawerPage-DTADpJQC-sqk-xG07.js} +16 -16
- package/dist/assets/{CollapsableReportTable-7iAngywY-3SRlHTeX.js → CollapsableReportTable-rEGCWPrN-DiziLVLU.js} +3 -3
- package/dist/assets/{CompanyOfficerDetailsSection-CJKyxEnf-mrI2AYJG.js → CompanyOfficerDetailsSection-Dpe50aqM-B1Sor9Us.js} +11 -11
- package/dist/assets/{CompanyPassportCard-D3F01eJL-DPoINVrz.js → CompanyPassportCard-l9sgkbw_-BXrIXjOn.js} +3 -3
- package/dist/assets/{CompanyPassportPage-BQoEcPJr-2ha-NP_x.js → CompanyPassportPage-DQPGAnFq-DsQ6naIu.js} +9 -9
- package/dist/assets/{CompleteProfile-D5e9TQgy-cUhxzOkn.js → CompleteProfile-DJBScNev-5kVXmwEh.js} +1 -1
- package/dist/assets/{ConfettiBurst--HIHB7Os-BVRZRbZr.js → ConfettiBurst-DukumtTx-CSzALiwF.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-D9jmSrKr-CMioxX86.js → CreateOrEditVendorPage-C39AEROO-Df_MDMmD.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-DXeq4z9l-C5xTsPli.js → CreditCardPaymentDrawerPage-D8VUjeG2-Nczpa7J9.js} +15 -15
- package/dist/assets/{CreditCardPaymentPlgSection-8ZShMO31-B_vJ6o3d.js → CreditCardPaymentPlgSection-L8WvXQsE-Dx-X3Ggn.js} +1 -1
- package/dist/assets/{CurrencySelectField-nhg_dhDw-DQZDcRCb.js → CurrencySelectField-yIymL1et-BBkhU934.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-CoGvz7Kd-DP5AN6ur.js → CustomerOnboardingActivationPage-BKBFtr-o-B3t33ZLt.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-BwRlnH01-Di0CtCSz.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DUGRKWtN-CMWBr_hG.js → CustomerOnboardingDetailPageSkeleton-BsnPvucg-BEvywTxp.js} +5 -5
- package/dist/assets/{CustomerOnboardingNoStepsPage-Cc5frP29-_UWfoHYC.js → CustomerOnboardingNoStepsPage-Db1DFgQR-DfT9hNRl.js} +6 -6
- package/dist/assets/{CustomerOnboardingPage-zBqp9QN6-wHOjxMhK.js → CustomerOnboardingPage-BoF4bXiW-CKAc0RQX.js} +4 -4
- package/dist/assets/{CustomerOnboardingProductSuitePage-BbJ4oiCI-CU_hgVPi.js → CustomerOnboardingProductSuitePage-BdGFZtH3-DLLnRFgg.js} +8 -8
- package/dist/assets/{Dashboard-D6Ba5oj0-BMy5lCc9.js → Dashboard-hADP7IBB-Bk1vjezx.js} +1 -1
- package/dist/assets/{DashboardReportPage-DTMbYOWH-DGx7cygN.js → DashboardReportPage-BwTchCvy-O2bBIky3.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-Locz2zHR-Ca532zPr.js → DashboardSidebarBackgroundAnimation-B-w4cVMW-BWggpu2o.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-B0BGwVqF-BM-W7GCr.js → DepositAccTransactionItem-BMkCcz-U-g-iJ8Z3m.js} +2 -2
- package/dist/assets/{DepositAccTransactionListPage-CcO673ZL-DRqh7vYS.js → DepositAccTransactionListPage-D6h0mu0p-Cba8Z-zG.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-D5hbPNCt-DaulrfVc.js → DomesticWireDetailsPage-DQG9O9kV-DkLiQ_AK.js} +1 -1
- package/dist/assets/{DownloadOverlay-DRcasKoB-DLYS6xSC.js → DownloadOverlay-mXe-oklf-DPD6fOSt.js} +1 -1
- package/dist/assets/{DrawerPage-BRD6cE6J-DYHldhBX.js → DrawerPage-DSbF_bCc-BOfcYWDU.js} +1 -1
- package/dist/assets/{EditPeoplePage-Zzo62if7-Xj5VLqqt.js → EditPeoplePage-DnE5ud-m-STxMbpu_.js} +3 -3
- package/dist/assets/EditReimbursementDetailPage-CtHzBFwx-CcMSn1Z9.js +865 -0
- package/dist/assets/{EntityDetailPage-CzlzOW8n-AF0nPS5d.js → EntityDetailPage-CSR_wxIn-C3ytfDma.js} +2 -2
- package/dist/assets/{EntitySummarySection-BRt1kPDf-BQpDHoFd.js → EntitySummarySection-BP9sqkp_-C8j67E3x.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-vUkGameq-CGGvu9kc.js → ExpenseAutomationOverviewPage-C-ZrFIVW-LPRP5OZt.js} +7 -7
- package/dist/assets/ExpenseAutomationPage-BEhjUkgs-DU0Mp3Bk.js +1650 -0
- package/dist/assets/{ExpressPayPage-DdQiFzDu-ZxolIAW1.js → ExpressPayPage-C9rqylRE-fd6R9yCg.js} +8 -8
- package/dist/assets/{FeaturePreviewPage-CQN2xThT-CtWhCMTj.js → FeaturePreviewPage-BcRRbP7e-DlhiW3MZ.js} +2 -2
- package/dist/assets/{FollowStepsSection-DdwEVWhG-D5CWxbHL.js → FollowStepsSection-B3Kyt5j4-CgmrU6eD.js} +18 -18
- package/dist/assets/{GlobalReviewListPage-DHn2Uk8R-B02Df9ic.js → GlobalReviewListPage-Bz-YyIK8-B-UTCvpv.js} +5 -5
- package/dist/assets/{HelpButton-BNMy-6ce-Dj_O42xW.js → HelpButton-38HaKgFL-BugYIsvp.js} +1 -1
- package/dist/assets/{InformationCardStack-Cw7c9Pnd-Z9rJV-HY.js → InformationCardStack-BY26HFGi-BLGIbInA.js} +4 -4
- package/dist/assets/{InsightsCardStack-CaMZiCnn-DH8dmM6J.js → InsightsCardStack-BI7iTuQ_-DQl2fOce.js} +10 -10
- package/dist/assets/{InsightsSection-JIKb9lz3-BHiqZJbQ.js → InsightsSection-AQ5yTmGG-DS0VgX7W.js} +3 -3
- package/dist/assets/{IntegrationsSettingsPage-h4pel2yK-CMzEW2al.js → IntegrationsSettingsPage-BEAFHjYf-d2P0RMG5.js} +5 -5
- package/dist/assets/{InternationalWireSwiftDetailsPage-C2SnHEV1-DaLUKDNV.js → InternationalWireSwiftDetailsPage-DNvv8jLc-dT-poZdm.js} +6 -6
- package/dist/assets/{InternationalWireVerificationPage-Dk11ztF7-Du-xTdOF.js → InternationalWireVerificationPage-BdUXxMgU-DhF9zfHu.js} +6 -6
- package/dist/assets/{InviteFormPage-CrtH0cSG-DocQjxv0.js → InviteFormPage-CY-8DzRS-Bfynw6ME.js} +1 -1
- package/dist/assets/{InvitePageListView-DUoopPip-D2WxsqtH.js → InvitePageListView-DXjKBR4k-Np2jy73K.js} +14 -14
- package/dist/assets/{InvitePeoplePage-C3ecL8XJ-B6CmBuLR.js → InvitePeoplePage-CIafIgkR-BdmOchmq.js} +4 -4
- package/dist/assets/{InvoiceUploadSection-DoR834b4-CUq8fAkS.js → InvoiceUploadSection-cXNOY5jR-DGuQgS61.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-D6DCohbK-D8VGttsh.js → IssueChargeCardPage-DN1zD_YI-i_-kvzIl.js} +10 -10
- package/dist/assets/{LabeledAddressValue-C3R0DSjj-Bir4MON_.js → LabeledAddressValue-Bk3vXfZU-CU4YMzA1.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-YP7bXlgZ-DTTFAf5k.js → LabeledAddressValueField-6MpVMde--DXTq8JS8.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-zwoLFM1n-II-cAJkn.js → LabeledControlledCheckBoxField-BjYGaRbt-BGdAOJoA.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-BhaeopJt-C3MxM3hQ.js → LabeledCreatableSingleSelectField-9q4Lqszf-Csk7xXRk.js} +1 -1
- package/dist/assets/{LabeledDocumentField-ED03S2kQ-Dxa7UQxr.js → LabeledDocumentField-CAWaftIF-CSQ4X3Cr.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-brzU_fnp-DtaD0WN_.js → LabeledDropDownFormattedTextField-WbohTHp8-Bsf-e-tx.js} +1 -1
- package/dist/assets/{LabeledText-BESSkt5Z-DXlW_VY-.js → LabeledText-B3JYr4tU-laTDcIhJ.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-vEIvvd-n-Dq3Y2KPE.js → LabeledUserSingleSelectWithSubtitlesField-DHOsMX6S-5w6248s9.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-BXTCN4j2-BoDRzyRs.js → LabeledZeniRolesDropDownField-DcUdbKa4-fYq87dcd.js} +13 -13
- package/dist/assets/{LinkJETransactionPage-_ROjxBMO-iAkW-laA.js → LinkJETransactionPage-B1XJOlhU-DdWugwxQ.js} +2 -2
- package/dist/assets/{LockCardPage-DYfgK11k-3kQoNozm.js → LockCardPage-B-EvOmPO-B73f-ypE.js} +10 -10
- package/dist/assets/{LowBalancePopup-CZDcHxyW-DuEa-iJG.js → LowBalancePopup-BoFHsW5A-B3QtlbXZ.js} +1 -1
- package/dist/assets/{MagicLinkACHDetailsPage-CLXcRbZ--Dwvc772T.js → MagicLinkACHDetailsPage-D5-czDfb-D9jHfcHK.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-CZlZr96w-DD7d2isR.js → MagicLinkDomesticWireDetailsPage-DxtWixFB-79ayjypJ.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-DhPjvv0o-B4AeaXKS.js → MagicLinkInternationalWireDetailsPage-kmj9pdzN-DnNURYN2.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-Bh2nlLPN-0Oz4r3Up.js → MagicLinkSuccessPage-BPzk03R8-SXgLVDgR.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-Cn1v72Rs-BFZI4Y3w.js → MagicLinkTitleSection-CgS4ZMfb-BI5Lq2SW.js} +1 -1
- package/dist/assets/{MailingDetailsSection-9RwlQxVG-BFE8Zj6F.js → MailingDetailsSection-BktKZ2Nr-DyWKpOiG.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-BxV_UIXP-CbDuBV39.js → MeetingCalenderPopup-2tPtQeqB-QatkmFKh.js} +1 -1
- package/dist/assets/{Menu-B6iTf2H7-CaN3eNC5.js → Menu-CV1BBSGW-DKOqAYYS.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-IPPiH6jv-BZaCFusP.js → MyBankConnectionsSettingsPage-CMyrZ4nS-BheEjXSF.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-BTGb1yIE-B60FFt6i.js → MyPendingActivationChargeCardListPage-DuOoKlPP-thKNb-ry.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-BRK5nWg2-BMqEc-a-.js → MyProfileSettingsPage-CA-5gU5k-BFEIvdNu.js} +5 -5
- package/dist/assets/{NavBarWithPicker-CKh_HMfV-Bk70qUr9.js → NavBarWithPicker-DuazRsm7-BXAVo-zX.js} +1 -1
- package/dist/assets/{NavigationArrow-XZmJpDrE-BIKmxNt5.js → NavigationArrow-DnZuPnXh-BOLYjEri.js} +1 -1
- package/dist/assets/{NavigationDots-BxPgEW_p-BH_dRdsk.js → NavigationDots-DarWlthl-CEtLiSj-.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-CQzrDe0S-C0l22Bkl.js → NewGlobalMerchantPage-C5zI88lM-DBDRlSHQ.js} +2 -2
- package/dist/assets/{NoDataChart-5E72SElf-CivTfVpi.js → NoDataChart-Dwrv5FXT-BktYGhJl.js} +1 -1
- package/dist/assets/{NoDataTable-BwHbkm3l-BFQFSxPN.js → NoDataTable-BT9VQUID-B1zJzLW9.js} +2 -2
- package/dist/assets/{NotFoundPage-6udaksBZ-D3E8rdhi.js → NotFoundPage-BpVYjIy9-CAwSGm4b.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-DkYmxMgg-D8pPsHqH.js → NotificationSettingsPage-Br1VS7sj-D72VzMEy.js} +22 -22
- package/dist/assets/{NotificationsListConfig-FGxLgO1o-B8OXacze.js → NotificationsListConfig-COCJ7xUp-B665e_3O.js} +1 -1
- package/dist/assets/{NotificationsPage-C7lSAnUb-Dr_7ygVm.js → NotificationsPage-CtIcIo4T-DuWbZv_Q.js} +24 -24
- package/dist/assets/{OpExByVendorPage-CM0RluUk-_37yq8j1.js → OpExByVendorPage-CTdChrGD-CvW5Vepn.js} +5 -5
- package/dist/assets/{OverlayContainerPage-BKHs_4eI-BzvRxHIb.js → OverlayContainerPage-CU1AAMcq-ai6w2Y-V.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-W4jlNjml-GYerKXw7.js → PandLWithForecastPage-DVhAvUAV-CoqLEkYS.js} +2 -2
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-DQ82eP9Q-C3WHDKOj.js → PaymentAccountSetupBillingAddressSection-Cqk9_T2U-B2k-ZLJe.js} +1 -1
- package/dist/assets/{PeoplePage-CB3T3u_F-DiglFISH.js → PeoplePage-BR4qd-jm-CBOJNYwE.js} +8 -8
- package/dist/assets/{PortfolioAllocationFormPage-CZkJD6tu-k-ZMlZhC.js → PortfolioAllocationFormPage-T83_xyer-BkoO9beS.js} +1 -1
- package/dist/assets/{PortfolioDetails-D4yT8r35-D0ar_g4P.js → PortfolioDetails-6ElQWU58-ByHc7XYH.js} +4 -4
- package/dist/assets/{ProductsCarousel-CR7_rk0K-DBx3LGPh.js → ProductsCarousel-CijsxgpU-C19z6U57.js} +4 -4
- package/dist/assets/{PromoBaseCards-BAPolzxE-BXtgaLrj.js → PromoBaseCards-BWsv2pTB-B6b592gJ.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-D3eazhj7-DYLpkxDj.js → QBOConnectionDialog-ChKHWoK7-CSeEHm2_.js} +2 -2
- package/dist/assets/{QBOSetupSection-Cjjhm_Ee-DBhrwkGC.js → QBOSetupSection-C4gt0qc8-DTKMvJ4_.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-eidNY097-BCByIFaN.js → ReimbursementApprovalRuleDetailPage-BwgWdSTd-NVamJEor.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-GSzJGSuy-c5aCCOnC.js → ReimbursementApprovalRulesPage-C2asBtuf-DT1aAQsK.js} +1 -1
- package/dist/assets/ReimbursementDetailPage-DS1ewUKC-CVEFgQmR.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-PshodHUZ-B43Em7U3.js → ReimbursementPromoPage-5OaQjA8F-DErLTtUx.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-6P4FT-UC-BJa0K7Xr.js → ReimbursementSetUpPage-Bl8jzyRg-3jDcWgfT.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-Cas6GzVp-DVcLPzki.js → ReimbursementsBulkReviewDrawerPage-DIesC2GA-CmjN--dc.js} +1 -1
- package/dist/assets/{ReloadCard-Dpoxd9nE-CXRu-hav.js → ReloadCard-0q5pQ13T-CKzHIqK2.js} +3 -3
- package/dist/assets/{ReportTableViewSelector-Ci-WKrCO-BjESI86S.js → ReportTableViewSelector-C0SiD_xG-BLDdaXUR.js} +5 -5
- package/dist/assets/{ReportsPage-C7zirS74-Cfwy01bz.js → ReportsPage-GTIPR29D-BtSUMj6k.js} +1 -1
- package/dist/assets/{RevenueChart-CXMBT3cr-H1qgR87b.js → RevenueChart-C099OBIz-BCjETeYD.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-ClsyL5-w-Dm8fiuBk.js → ReviewDetailsPage-Dj29qJWr-znzq99Zm.js} +11 -11
- package/dist/assets/{ReviewOverlay-C6Kx7Hfm-PTA7Sxfm.js → ReviewOverlay-OPfHsiEH-DYnwxQBa.js} +3 -3
- package/dist/assets/{RoleWithToolTip-BqI6M0x_-CjRr5WNK.js → RoleWithToolTip-CnJMJF5X-DPQwf2SV.js} +2 -2
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-zFyJPVpN-DR77A8Vi.js → ScheduleDetailsFixedAssetsPage-BojehSaf-CqIP5z2b.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-BftjSvA7-Bu1ekUfV.js → ScheduleDetailsPage-aZbK93Nq-BFB854u3.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-lTN7r0p4-BuEMykDk.js → ScheduleSequenceTable-By6Dky2k-cVt4Itnj.js} +21 -21
- package/dist/assets/{ScreenRoutes-CfLauL0U.js → ScreenRoutes-m-9CX7nW.js} +1 -1
- package/dist/assets/{SetUpAccountSection-Bnbi8X23-C17_K52x.js → SetUpAccountSection-B_VtQMHv-v5HWkW-2.js} +7 -7
- package/dist/assets/{SetUpDefaultSection-Bm1eZSgT-vK_tZkJp.js → SetUpDefaultSection-CR4EJd0L-DR8b1nlJ.js} +4 -4
- package/dist/assets/{SignIn-BlISBvt5-lALsslOV.js → SignIn-DlL4Ve5C-CS2k0j8x.js} +8 -8
- package/dist/assets/SignInScreen-82F821nF.js +1 -0
- package/dist/assets/{SpendManagementListViewPage-ChNp8dgm-BcuBIXnt.js → SpendManagementListViewPage-hcbJnpe0-Dx5Mkywb.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-D-bOr2-6-IrMdTJ81.js → SpendManagementPerTabPage-CZMtZLLG-BwL9QJKu.js} +25 -25
- package/dist/assets/{SpendManagementSection-kucZgC-H-BqDZp6la.js → SpendManagementSection-v3VQ4WLv-BgJcZL_k.js} +7 -7
- package/dist/assets/{SpendMgmtSetupAccountSection-de7hEmtE-Dqky-jvG.js → SpendMgmtSetupAccountSection-BstM92cv-D_s447NX.js} +4 -4
- package/dist/assets/{StatementItem-BVIVLdDn-Z5Lg6CTz.js → StatementItem-DHN42swg-QQn_8xP5.js} +2 -2
- package/dist/assets/{StatementsPage-KnLUSJbm-BuZcsgE6.js → StatementsPage-BuWUMrMJ-ClESyfR5.js} +1 -1
- package/dist/assets/{StatusSwitcher-aAizq1mr-DMDnuQ9N.js → StatusSwitcher-BQIZqQby-CwGTf6Yt.js} +1 -1
- package/dist/assets/{SubTabSwitcher-COrYJ6CW-B2hOhdQG.js → SubTabSwitcher-BwULcWpV-KD7oZVm0.js} +1 -1
- package/dist/assets/{SummaryCard-Dv0dWKBw-nvmMyFzf.js → SummaryCard-sp4k0Xek-DgWj-oz4.js} +1 -1
- package/dist/assets/{TaskManagementPage-CPLyyK1Y-B19ne-R4.js → TaskManagementPage-N2Egdy4r-qGkYEZ7q.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-ifkHfqEg-DfO_JEAJ.js → TimeRangeSwitcher-BbGr7Bdf-CGee3poJ.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-BP-PxO5g-ICJqPhse.js → TimeframeSwitcher-CqP9hXqB-r5frPdgi.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-DH-PfsTQ-DT6_nKNc.js → TimeframeSwitcherWithToggle-C-Nxe_F8-C62_HCuz.js} +1 -1
- package/dist/assets/{TopExCard-Bam-Q4MV-DQjRYkgY.js → TopExCard-CLw0PDAU-BbYnCf3a.js} +5 -5
- package/dist/assets/{TopExDetailPage-P0Twt5zZ-eAB7xN9I.js → TopExDetailPage-GLquKOoy-kMqzF42L.js} +1 -1
- package/dist/assets/{TransactionDetailPage-D1Z1f-DD-B17t_ZG8.js → TransactionDetailPage-cTLfJiHb-1yZP6Zin.js} +1 -1
- package/dist/assets/{TransactionList-BzJEbOV9-BBSoiur3.js → TransactionList-SkjGKFn_-BwaaUL7x.js} +6 -6
- package/dist/assets/{TransactionListBig-u4SJBZTE-Cy4VRcVB.js → TransactionListBig-B4CiUxir-C15l10qy.js} +5 -5
- package/dist/assets/{TransactionListPage-D4GJ6i3l-DALdoomA.js → TransactionListPage-eiEKrfCB-CXZ0iEN3.js} +2 -2
- package/dist/assets/{TransactionVendorDetailPage-CuFHbm8c-BJ-Cayzm.js → TransactionVendorDetailPage-CySokm3L-BpHJwA9m.js} +3 -3
- package/dist/assets/{TransferDrawerPage-GD2I8ptj-DUje1E-7.js → TransferDrawerPage-BSv0D4Zs-BT9NFCI4.js} +12 -12
- package/dist/assets/{TreasuryOverviewPage-DySunaqy-Nz7IbNC7.js → TreasuryOverviewPage-C5hIMuk--DxAuBNvx.js} +15 -15
- package/dist/assets/{TreasuryPromoPage-DW1f8_q1-C7_Z0mWE.js → TreasuryPromoPage-DSJHOwhj-BeQhN-a8.js} +1 -1
- package/dist/assets/{TreasurySetupPage-53k6ARHC-BnG6gfLx.js → TreasurySetupPage-B_EmY_UY-DAaCNRGd.js} +4 -4
- package/dist/assets/{TreasuryStatementsPage-pIshKNaR-aDA9O2fx.js → TreasuryStatementsPage-BrZVJwAL-Bs1LrL-1.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-B3PkB1al-CRAagKdD.js → TreasuryTaxLetterPage-DsmLrBId-CRVnttNh.js} +1 -1
- package/dist/assets/{TreasuryTransferOrReviewPage-Dzq-FxSM-xSwgnlQS.js → TreasuryTransferOrReviewPage-WB0pVkO6-BWBLW8Tp.js} +13 -13
- package/dist/assets/{TrendChart-B_5D-Zud-CJGzPrRj.js → TrendChart-CWR5JV7S-Bu3AQa_8.js} +1 -1
- package/dist/assets/{TrendWithTransactions-mI_El5D1-BVyR_3Fo.js → TrendWithTransactions-D9x71aZs-CM8kaEfz.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-LQeq8Gdv-n_vWC-so.js → UncategorizedAccountsMappingPage-Tx1NEXyX-DoWK8o5r.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-XOWqGHla-BZ95dO5C.js → UnitIntegrationPage-aTpJwSQj-BYrPkyiL.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-DhXRLBEg-BdwkpQvO.js → UploadAdditionalDocumentOverlay-BVMdCZ9e-BITtYlPW.js} +1 -1
- package/dist/assets/Vendor2FAPopup-BtVySDI--nsMiWnZu.js +1 -0
- package/dist/assets/{VendorACHDetailsPage-CswCvAFH-Dy_DyxN4.js → VendorACHDetailsPage-Cx9VUYTN-CUP3Cq5s.js} +1 -1
- package/dist/assets/{VendorDetailPage-CEX7xMIN-BmFNmhWb.js → VendorDetailPage-BTBlddyH-Bc_YJfHo.js} +6 -6
- package/dist/assets/{VendorDomesticWireDetailsPage-DxrSjlTR-Bu1va64U.js → VendorDomesticWireDetailsPage-DIQg-f5b-Bwf6L3re.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-q1gQ8keD-l7qrKyA8.js → VendorFiling1099EditablePage-CZzpO5dU-BLT7WxiF.js} +8 -8
- package/dist/assets/{VendorFirstReviewPage-D9ogNmAK-C3g7z5qc.js → VendorFirstReviewPage-_Bf2O8Hk-B9tTYmRJ.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-Ct689KuY-DCwtWCEl.js → VendorInternationalWireDetailsPage-DmM691ao-Dzdr5mG2.js} +1 -1
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-W0s1zQNC-BM0C0ziQ.js → VendorInternationalWireSwiftDetailsPage-CmfDU583-Dk7aONaM.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-C13Z2HN9-C3emmS_D.js → VendorsAccountsSection-VX_qjrvm-R24t7Q7V.js} +4 -4
- package/dist/assets/{VerifyDevice-C27gEWkZ-Bd6cyY--.js → VerifyDevice-pndtId1R-C8OsQHlo.js} +3 -3
- package/dist/assets/{VideoPlayer-ByyqUuhG-BSXeTxMk.js → VideoPlayer-Cv2VluI6-D2yBmBgw.js} +1 -1
- package/dist/assets/{VideoPopup-DJrQQTPq-B81ilqru.js → VideoPopup-DwltINTO-0GPyihNZ.js} +1 -1
- package/dist/assets/{WarningsDrawerPage-B3Ht3VnM-Bsz-Tz3J.js → WarningsDrawerPage-I6fXTo8V-B0kNeHBS.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-egmysAfI-B5QFTFx1.js → ZeniAccountDetailPage-BhqYqyk--DeI4__gE.js} +5 -5
- package/dist/assets/{ZeniAccountListViewPage-q_v2FogF-D_UNRleH.js → ZeniAccountListViewPage-M7S_ZBj4-94TU34gP.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-HNIht0FM-CJCYTYns.js → ZeniAccountNavBarPieces-Crjx7iNX-DK8JxCJS.js} +2 -2
- package/dist/assets/{ZeniAccountPromoPage-CzncR6vK-BEKkuPuQ.js → ZeniAccountPromoPage-rK7P_Dpk-DmoLuwn8.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-TcdzEL_V-C2CFXEp_.js → ZeniAccountSetupPage-B8yrjDVW-gPUnEzAZ.js} +1 -1
- package/dist/assets/{ZeniCopyright-B7Q6IUGC-CXMr85Qq.js → ZeniCopyright-BDsnkVlH-C00Fssys.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-Dmf5xxv4-Dpr9CnoV.js → ZeniTransferAmountSlider-BCVTdEWO-p69HMFsD.js} +1 -1
- package/dist/assets/analyticsHelper-CS2u9ax9.js +1 -0
- package/dist/assets/{analyticsHelper-or1KkBWk-fKfUVxR4.js → analyticsHelper-D8CGsPLU-DJI9oEaD.js} +1 -1
- package/dist/assets/{chartTypes-DCvOVjlS-Byyz5YpX.js → chartTypes-DLnePN0T-B_54UqyM.js} +1 -1
- package/dist/assets/{commonDimensions-C32v1F7H-73JTdKL8.js → commonDimensions-CWOH4KIa-zIW9i9kk.js} +1 -1
- package/dist/assets/{detailCommon-CRAGrqoO-DD6StmxB.js → detailCommon-COLWOJB--3sJPi-qA.js} +1 -1
- package/dist/assets/{downloadPdf-D7p3yKmg-DnkIBRMw.js → downloadPdf-DmVZhHLH-D1xNlFUJ.js} +1 -1
- package/dist/assets/{index-TYkG9rxW.js → index-MAXVX6UR.js} +1725 -1741
- package/dist/assets/{lodash-B66NTFTY.js → lodash-D52QloPU.js} +6 -6
- package/dist/assets/{mapLoadingInProgressToTreeNode-CRwG2DSD-DozMx8Qu.js → mapLoadingInProgressToTreeNode-DzagCSPK-Df3QAuQq.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-C9O-C2dp-CWK7pK5S.js → mapSectionWithAcOnlyToTreeNode-gKc2xWyG-DTjSgiEj.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-5aJk-sLn-C_5ehzQk.js → mapSpacerToTreeNode-toSXbVwB-B0PNlKW1.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-CnviLujI-C3yLK1bp.js → mapTimeframeBalancesToTreeNode-D0Bib2dl-Cgs41-OD.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-Cv4d4PqE-SXM8J_jw.js → mapTimeframeBalancesToTreeNode-D63QAMZm-BDtNdJWW.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BaGM4krW-BrwdtkMi.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BuAL-Z9U-Ceeq3tsz.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-B3yVGPrV-CxcOLkAO.js → toCOABalancesWithID-D-AHYPZY-Bomk_rrT.js} +1 -1
- package/dist/assets/{toChartData-DEW0iT7T-DY_WveEO.js → toChartData-BIN4xqGz-BcU_F8Ix.js} +1 -1
- package/dist/assets/{treasuryColorHelper-13LJ_xhk-DZAJRVzv.js → treasuryColorHelper--7Rf6Fm8-BdEMhZbj.js} +1 -1
- package/dist/assets/{uploadAttachment-DVy2pZeJ-DRTnRPP6.js → uploadAttachment-DwI0nG8D-VCODDzfq.js} +7 -7
- package/dist/assets/{uploadReceipts-Dp1dvCjf-DlPrtBK4.js → uploadReceipts-9DTOr0BG-pwNYcimh.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +6 -9
- package/dist/assets/AccountRow-Be3LIHO--BhldzD55.js +0 -298
- package/dist/assets/CustomerOnboardingContainerPage-CZRkKPDD-DM3MDxim.js +0 -1
- package/dist/assets/EditReimbursementDetailPage-D59OJdZ1-Dxcj4pSI.js +0 -865
- package/dist/assets/ExpenseAutomationPage-Cm_IiRlb-CBoXf2Y_.js +0 -1650
- package/dist/assets/ReimbursementDetailPage-AvqEBxbz-BX8VzCE_.js +0 -314
- package/dist/assets/SignInScreen-BSpw7NT9.js +0 -1
- package/dist/assets/Vendor2FAPopup-BfqIHZBb-ClbfqMql.js +0 -1
- package/dist/assets/analyticsHelper-CE-cGidw.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{c as F,q as T,j as t,bF as W,O as B,o as h,y as g,am as R,b8 as O,a9 as q,hK as V,aM as J,P as K,u as s,ch as U}from"./index-MAXVX6UR.js";import{n as i,b as _}from"./vendor-Bs1fkIUX.js";import{$ as G,g as H}from"./BoxItem-D4K0YgBP-Bm_px4kT.js";import{w as Q}from"./downloadPdf-DmVZhHLH-D1xNlFUJ.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./commonDimensions-CWOH4KIa-zIW9i9kk.js";const Y=B.getLocalizedStrings().months,D={downloadButtonSize:new g(s[4],20)},X=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
padding: ${h.sp3} ${h.sp4};
|
|
4
4
|
flex-direction: row;
|
|
@@ -8,7 +8,7 @@ import{d as F,q as T,j as t,bF as W,O as R,o as h,y as g,am as B,b8 as O,a9 as q
|
|
|
8
8
|
justify-content: space-between;
|
|
9
9
|
align-items: center;
|
|
10
10
|
width: 100%;
|
|
11
|
-
`,ee=i(
|
|
11
|
+
`,ee=i(R)`
|
|
12
12
|
display: -webkit-box;
|
|
13
13
|
-webkit-box-orient: vertical;
|
|
14
14
|
-webkit-line-clamp: 1;
|
|
@@ -19,7 +19,7 @@ import{d as F,q as T,j as t,bF as W,O as R,o as h,y as g,am as B,b8 as O,a9 as q
|
|
|
19
19
|
overflow: hidden;
|
|
20
20
|
`,te=i.div`
|
|
21
21
|
cursor: pointer;
|
|
22
|
-
`,ae=i(
|
|
22
|
+
`,ae=i(U)`
|
|
23
23
|
width: ${e=>D.downloadButtonSize.valuePx(e.windowSize)};
|
|
24
24
|
height: ${e=>D.downloadButtonSize.valuePx(e.windowSize)};
|
|
25
25
|
min-height: ${e=>D.downloadButtonSize.valuePx(e.windowSize)};
|
|
@@ -27,7 +27,7 @@ import{d as F,q as T,j as t,bF as W,O as R,o as h,y as g,am as B,b8 as O,a9 as q
|
|
|
27
27
|
&:hover {
|
|
28
28
|
color: ${e=>e.theme.colors.primary};
|
|
29
29
|
}
|
|
30
|
-
`;function ie({currentTenantCompanyName:e,data:r,index:n,controllerEmails:l,isDebitCardFeatureEnabled:a,isDebitCardSetupEnabled:o,chargeCardCashbackDetailState:d,depositAccountListWithDebitCardIssued:x,debitCardSummary:C,productInformation:S,creditAccountInformation:y,debitAccountInformation:P,cashbackInformation:f,creditAccountRepayment:$,authParams:j,downloadEndPoint:k,boxType:I}){const b=q().analytics,[v,E]=
|
|
30
|
+
`;function ie({currentTenantCompanyName:e,data:r,index:n,controllerEmails:l,isDebitCardFeatureEnabled:a,isDebitCardSetupEnabled:o,chargeCardCashbackDetailState:d,depositAccountListWithDebitCardIssued:x,debitCardSummary:C,productInformation:S,creditAccountInformation:y,debitAccountInformation:P,cashbackInformation:f,creditAccountRepayment:$,authParams:j,downloadEndPoint:k,boxType:I}){const b=q().analytics,[v,E]=_.useState(!1),c=T(),z=Y[r.monthYearPeriod.month-1],u=`${e}-Credit-Card-Monthly-Statement-${Y[r.monthYearPeriod.month-1]}-${r.monthYearPeriod.year}.pdf`,m={period:`${r.monthYearPeriod.year}-${V(r.monthYearPeriod.month)}`,format:"pdf"},p=t.jsx(X,{children:t.jsxs(Z,{children:[t.jsx(ee,{children:z}),t.jsx(te,{"data-testid":J("download-card-statement"),onClick:()=>{d.fetchState==="Completed"&&$.fetchState==="Completed"&&(!(a&&o)||x.fetchState==="Completed"&&C?.fetchState==="Completed")&&f!=null&&b.trackCardsDownloadClick(l,S,f,{fileCategory:"Credit Card Statement",fileType:"pdf",fileName:u,fileMonthYear:`${Y[r.monthYearPeriod.month-1]} ${r.monthYearPeriod.year}`},"Credit Card Statements",n+1,y,P),Q(`${k}/statements?query=${encodeURIComponent(JSON.stringify(m))}`,u,j,E)},children:v?t.jsx(K,{size:"Small",start:!0}):t.jsx(ae,{windowSize:c})})]})});return t.jsx(H,{content:p,boxType:I,isDisabled:!1,isNotClickable:!0})}const M=B.getLocalizedStrings().spendManagement.chargeCard.statements,w={listItemMarginLeftRight:new g(s[3],s[8]),containerMarginTop:new g(s[0],s[2]),titleMarginLeftRight:new g(s[3],s[8])},$e=({currentTenantCompanyName:e,authParams:r,controllerEmails:n,productInformation:l,cashbackInformation:a,creditAccountInformation:o,debitAccountInformation:d,isChargeCardFeatureEnabled:x,isDebitCardFeatureEnabled:C,isDebitCardSetupEnabled:S,isChargeCardSetupEnabled:y,chargeCardCashbackDetailState:P,depositAccountListWithDebitCardIssued:f,creditAccountRepayment:$,debitCardSummary:j,creditAccount:k,downloadEndPoint:I,statementListView:b,onBackClick:v})=>{const E=F(),c=T(),{sortedYear:z,monthsByYearWithSortedMonth:u}=me(b.statements);return t.jsxs(se,{children:[t.jsx(W,{title:M.title,backgroundColor:E.colors.grey4,style:{zIndex:3},onBackClick:v,source:"ChargeCardStatementsPage"}),t.jsx(ce,{windowSize:c,children:b.statements.length===0?t.jsx(L,{children:t.jsx(de,{children:t.jsx(N,{windowSize:c,children:t.jsx(le,{children:M.noStatements})})})}):t.jsx(re,{children:z.map(m=>t.jsxs(ne,{children:[t.jsx(oe,{windowSize:c,children:m}),t.jsx(L,{children:u[m].map((p,A)=>t.jsx(N,{windowSize:c,children:t.jsx(ie,{productInformation:l,creditAccountInformation:o,debitAccountInformation:d,cashbackInformation:a,creditAccountRepayment:$,depositAccountListWithDebitCardIssued:f,debitCardSummary:j,controllerEmails:n,isChargeCardFeatureEnabled:x,isDebitCardFeatureEnabled:C,isDebitCardSetupEnabled:S,isChargeCardSetupEnabled:y,chargeCardCashbackDetailState:P,creditAccount:k,currentTenantCompanyName:e,index:A,data:p,authParams:r,downloadEndPoint:I,boxType:G(A,u[m].length)},p.id)},p.id))})]},m))})})]})},re=i.div``,ne=i.div`
|
|
31
31
|
margin-bottom: ${h.sp6};
|
|
32
32
|
`,L=i.div``,oe=i(O)`
|
|
33
33
|
margin-left: ${e=>w.titleMarginLeftRight.valuePx(e.windowSize)};
|
|
@@ -48,7 +48,7 @@ import{d as F,q as T,j as t,bF as W,O as R,o as h,y as g,am as B,b8 as O,a9 as q
|
|
|
48
48
|
flex-direction: column;
|
|
49
49
|
width: 100%;
|
|
50
50
|
padding-bottom: ${h.sp7};
|
|
51
|
-
`,le=i(
|
|
51
|
+
`,le=i(R)`
|
|
52
52
|
display: flex;
|
|
53
53
|
color: ${e=>e.theme.colors.grey2};
|
|
54
54
|
`,ce=i.div`
|
package/dist/assets/{ChargeCardUtils-BRgkrCTs-C8zXQGn9.js → ChargeCardUtils-Cx6ntaue-CziTslau.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{f_ as D,O as S,dN as c,l as F}from"./index-
|
|
1
|
+
import{f_ as D,O as S,dN as c,l as F}from"./index-MAXVX6UR.js";function N(e){const a=e.match(/\d+/g);if(!a||a.length!==3)return null;const r=parseInt(a[0]),d=parseInt(a[1]),t=parseInt(a[2]);return"#"+(1<<24|r<<16|d<<8|t).toString(16).slice(1)}const A=({signedInUserToken:e,showSecretInfo:a,setShowPhoneNumberPopup:r,onFireOnClickAnalytics:d,setShowSecretInfo:t})=>{(e==null||e.expiry.isBefore(F.dateNow()))&&a===!1?(r(!0),d("verify card details")):e?.token!=null&&a===!1?t(!0):e?.token!=null&&a===!0&&t(!1)},B=e=>e.includes("credit")?"credit":"debit",{dateFormat:s}=S.getLocalizedStrings(),L=({chargeCardDetailView:e,classListFetchState:a,analytics:r,isChargeCardFeatureEnabled:d,creditAccount:t,pageName:o,addToWalletType:i,creditAccountRepayment:l,isDebitCard:n,isChargeCardAdmin:m,cardIssuedByRoles:u,cardIssuedByDepartmentName:h,cardHolderRoles:C,cardHolderDepartmentName:g,controllerEmails:p,productInformation:y,creditAccountInformation:f,debitAccountInformation:I})=>{e.chargeCard!=null&&a==="Completed"&&(!d||t.fetchState==="Completed"&&l.fetchState==="Completed")&&(!(n&&m)||e.depositAccountLimitFetchState.fetchState==="Completed")&&r.trackCardsAddToWalletClick(p,y,{cardId:e.chargeCard.id,cardName:e.chargeCard.cardName,cardType:B(e.chargeCard.type.code),cardCategory:e.chargeCard.type.code.includes("physical")?"physical":"virtual",cardLimit:D(e.chargeCard.limit.amount),cardLastFourDigits:e.chargeCard.accountLast4,cardStatus:e.chargeCard.status.code,cardAssignedDate:e.chargeCard.createTime?.format(s.analytics.MMMDashDDDashYYYYFormat),cardIssuedDate:e.chargeCard.providerCardCreateTime?.format(s.analytics.MMMDashDDDashYYYYFormat),cardLimitFrequency:e.chargeCard.creditLimitFrequency.name},{cardIssuedByName:c(e.chargeCard.cardCreatedByUser,!1),cardIssuedByEmail:e.chargeCard.cardCreatedByUser?.email,cardIssuedByUserId:e.chargeCard.cardCreatedByUser?.userId,cardIssuedByRole:u,cardIssuedByDepartment:h},{cardholderName:c(e.chargeCard.cardHolderUser,!1),cardholderEmail:e.chargeCard.cardHolderUser?.email,cardholderRole:C,cardholderUserId:e.chargeCard.cardHolderUser?.userId,cardholderDepartment:g},o,i,f,I)},M=(e,a)=>{if(e<=0)return 0;const r=e-a;return Math.round(r/e*100)},Y=e=>e.limit.amount-e.available.amount,b="1.75";export{B as F,L as H,N as L,M,b as S,A as U,Y as _};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as H,fX as Q,fY as Z,O as W,j as t,h as x,ap as ee,n as B,aM as c,o as s,y as g,ar as te,am as ie,b8 as se,cd as oe,dY as re,u as l,b9 as R,M as U,aT as ne,fZ as le,ai as ae,dd as de,bz as ce}from"./index-
|
|
1
|
+
import{q as H,fX as Q,fY as Z,O as W,j as t,h as x,ap as ee,n as B,aM as c,o as s,y as g,ar as te,am as ie,b8 as se,cd as oe,dY as re,u as l,b9 as R,M as U,aT as ne,fZ as le,ai as ae,dd as de,bz as ce}from"./index-MAXVX6UR.js";import{b as p,n as o}from"./vendor-Bs1fkIUX.js";const u={width:new g(350,624,624),height:new g(600,730,730),paddingLeft:new g(l[4],l[8],l[8]),paddingRight:new g(l[4],l[7],l[7])};function Oe(e){const d=H(),[,_]=Q(),{isMobileOrTabletScreen:m}=Z(),[y,k]=p.useState(!0),[j,S]=p.useState(!0),[z,T]=p.useState(!1),[C,L]=p.useState(!1),r=W.getLocalizedStrings().commonSetUp.chaseOverlay,V=r.title,q=r.description,J=()=>{window.open(r.chaseVideoUrl,"_blank")},D=[0,1,2,3],M=i=>i<D.length-1,P=(i,n)=>{_(i??""),n?k(!1):S(!1)},O=i=>{i?T(!0):L(!0)},A=i=>{i?T(!1):L(!1)};p.useEffect(()=>{y===!1&&setTimeout(()=>{k(!0)},2e3),j===!1&&setTimeout(()=>{S(!0)},2e3)},[y,j]);const K=()=>{const i=r.step1;return t.jsxs($,{children:[t.jsx(Te,{"data-testid":c("chase-overlay-signin-link"),href:r.chaseSigninUrl,target:"_blank",rel:"noreferrer noopener",children:i.text1}),i.text2,t.jsxs(a,{children:[" ",i.text3]}),i.text4,t.jsxs(a,{children:[" ",i.text5]}),i.text6]})},X=()=>{const i=r.step2;return t.jsxs($,{children:[i.text1,t.jsxs(a,{children:[" ",t.jsx(be,{}),i.text2]}),t.jsx(ke,{}),i.text3]})},Y=()=>{const i=r.step3,n=e.connectedAccountProvider==="stripe"?i.payeeIdStripe:i.payeeIdUnit;return t.jsxs($,{children:[i.text1,t.jsxs(a,{children:[" ",i.text2]}),i.text3,t.jsxs(Ce,{children:[t.jsxs(f,{onClick:()=>P(n,!0),onMouseOver:()=>O(!0),onMouseLeave:()=>A(!0),"data-testid":c("copy-payee-id",n),children:[t.jsx(v,{}),i.payeeIdTitle,t.jsx(b,{children:n}),y?t.jsxs(h,{children:[t.jsx(N,{showCopyText:z&&!m,windowSize:d,children:t.jsx(E,{})}),t.jsx(w,{shouldDisplay:z&&!m,children:i.copy})]}):t.jsxs(h,{children:[t.jsx(I,{}),t.jsx(w,{children:i.copied})]})]}),t.jsxs(f,{onClick:()=>P(i.payeeName,!1),onMouseOver:()=>O(!1),onMouseLeave:()=>A(!1),"data-testid":c("copy-payee-name",i.payeeName),children:[t.jsx(v,{}),i.payeeNameTitle,t.jsx(b,{children:i.payeeName}),j?t.jsxs(h,{children:[t.jsx(N,{showCopyText:C&&!m,windowSize:d,children:t.jsx(E,{})}),t.jsx(w,{shouldDisplay:C&&!m,children:i.copy})]}):t.jsxs(h,{children:[t.jsx(I,{}),t.jsx(w,{children:i.copied})]})]}),t.jsxs(f,{children:[t.jsx(h,{children:t.jsx(v,{})}),t.jsxs(Le,{children:[i.amountLimitTitle,i.text4,t.jsx(b,{children:i.amountLimit}),i.text5]})]})]})]})},F=()=>{const i=r.step4;return t.jsxs($,{children:[i.text1,t.jsxs(a,{children:[" ",i.text2]}),i.text3,t.jsxs(a,{children:[" ",i.text4]})]})},G=i=>{switch(i){case 0:return t.jsx(K,{});case 1:return t.jsx(X,{});case 2:return t.jsx(Y,{});default:return t.jsx(F,{})}};return t.jsx(pe,{windowSize:d,role:"presentation",style:{background:x.overlayDark,...e.style},children:t.jsx(ee,{onClickAway:()=>e.action.onBackClick?.(),children:t.jsxs(he,{windowSize:d,isEditPopup:!1,children:[t.jsxs(De,{children:[t.jsx(xe,{children:V}),t.jsx(me,{children:q}),t.jsx(ye,{children:r.stepsTitle}),t.jsx(ue,{windowSize:d,children:D.map((i,n)=>t.jsxs(ge,{children:[t.jsx(fe,{children:M(n)?n+1:t.jsx(Se,{})}),t.jsx(ve,{children:G(n)}),M(n)&&t.jsx(je,{})]},`step_${n}`))})]}),t.jsx($e,{}),t.jsxs(we,{children:[t.jsx(B,{variant:"secondary",label:r.primaryButtonText,onClick:J,style:{width:134,whiteSpace:"nowrap"},"data-testid":c("chase-overlay-watch-video-button")}),t.jsx(ze,{}),t.jsx(B,{variant:e.proceedButtonVariant??"primary",label:r.secondaryButtonText,onClick:e.action.onBackClick,style:{width:134,whiteSpace:"nowrap"},"data-testid":c("chase-overlay-proceed-button")})]})]})})})}const pe=o.div`
|
|
2
2
|
position: fixed;
|
|
3
3
|
top: 0;
|
|
4
4
|
left: 0;
|
|
@@ -47,17 +47,17 @@ import{q as H,fX as Q,fY as Z,O as W,j as t,h as x,ap as ee,n as B,aM as c,o as
|
|
|
47
47
|
position: absolute;
|
|
48
48
|
bottom: ${s.sp10};
|
|
49
49
|
background-color: ${e=>e.theme.colors.grey3};
|
|
50
|
-
`,
|
|
50
|
+
`,we=o.div`
|
|
51
51
|
display: flex;
|
|
52
52
|
padding-bottom: ${s.sp3};
|
|
53
53
|
padding-top: ${s.sp3};
|
|
54
54
|
position: absolute;
|
|
55
55
|
bottom: 0;
|
|
56
56
|
z-index: 2;
|
|
57
|
-
`,
|
|
57
|
+
`,ye=o(se)`
|
|
58
58
|
text-align: left;
|
|
59
59
|
width: 100%;
|
|
60
|
-
`,
|
|
60
|
+
`,je=o.div`
|
|
61
61
|
top: ${s.sp2};
|
|
62
62
|
width: 1px;
|
|
63
63
|
height: 100%;
|
|
@@ -129,7 +129,7 @@ import{q as H,fX as Q,fY as Z,O as W,j as t,h as x,ap as ee,n as B,aM as c,o as
|
|
|
129
129
|
display: flex;
|
|
130
130
|
align-items: center;
|
|
131
131
|
color: ${e=>e.showCopyText?e.theme.colors.primary:e.theme.colors.grey1};
|
|
132
|
-
`,
|
|
132
|
+
`,w=o(ae)`
|
|
133
133
|
position: absolute;
|
|
134
134
|
left: ${s.sp4};
|
|
135
135
|
display: ${e=>e.shouldDisplay===!1?"none":"inline-flex"};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as Z,j as t,aM as $,hI as pe,O as ee,aN as M,n as
|
|
1
|
+
import{q as Z,j as t,aM as $,hI as pe,O as ee,aN as M,n as W,o,aQ as he,y as l,A as oe,s as ue,b8 as me,_ as te,ai as ge,am as F,aP as xe,aa as fe,cS as ke,h as w,ad as De,gm as $e,cV as we,f8 as X,d0 as Y,u as s,fB as be,cw as ye,ce as je,dm as Pe,fS as Se,an as q,fU as Le}from"./index-MAXVX6UR.js";import{b as k,n as a}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const ve="checkDepositDetailPage",g="checkDepositDetails",Fe="amount",Ce="depositTo",Te="source",ie="fileIds",R="selectDocument",E=e=>{const p=[];return e.checkFront!=null&&p.push(e.checkFront.fileId),e.checkBack!=null&&p.push(e.checkBack.fileId),{[g]:{[Fe]:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,[Te]:e.checkDepositLocalData.source,[Ce]:{allOptions:e.depositAccounts.depositAccounts.map(x=>({label:x.accountName,value:x.id})),selectedOption:e.checkDepositLocalData.depositTo?.id},[ie]:p,[R]:{front:e.checkFront,back:e.checkBack}}}},D=(e,p)=>`${e}.${p}`,Be=e=>`${e}_form`,u={largeLabelWidth:new l(160,160,160),rowContentPaddingLeft:new l(s[3],s[4]),checkPicRowContentPaddingXAxis:new l(s[3],s[4]),labeleMarginLeft:new l(s[0],s[0]),labeleMarginBottom:new l(s[2],s[0]),labelMarginRight:new l(s[3],s[3]),labeledFieldPaddingLeft:new l(s[3],s[0]),labeledFieldPaddingRight:new l(s[3],s[2]),labeledFieldPaddingTop:new l(s[3],s[3]),labeledFieldPaddingBottom:new l(s[3],s[2]),infoLabelPaddingRight:new l(s[0],s[3]),infoLabelMarginTop:new l(s[1],s[0])},{spendManagement:ze,common:V}=ee.getLocalizedStrings(),c=ze.zeniAccounts.zeniAccountList,Ae=V.documents;function Ie({checkDeposit:e,analytics:p,filesEndPoint:x,openPopup:b,authParams:y,onSaveChangesToLocalStore:C,updateFilesEntity:j,onDeleteFile:P,onEditFileName:S,onCheckDpositClick:T}){const r=Z(),n=e.fetchState,L=xe(n),[v,_]=k.useState(!1),[se,B]=k.useState(!1),z=u.largeLabelWidth.value(r),f=fe({mode:"all",reValidateMode:"onBlur",defaultValues:E(e),values:E(e)}),{isValid:re}=f.formState,Q=i=>{const d={amount:{amount:i[g].amount??0,currencyCode:V.currency.currencyCode,currencySymbol:V.currency.currencySymbol},source:i[g].source,depositTo:e.depositAccounts.depositAccounts.find(h=>h.id===i[g].depositTo.selectedOption),fileIds:i[g][ie]};C(d)},ce=async(i,d)=>{if(i!=null){if(i.includes("source")||i.includes("amount"))return;const h=Object.assign({},d);Q(h)}};k.useEffect(()=>{const i=f.watch((d,{name:h})=>{h!=null&&d!=null&&ke(()=>ce(h,d))});return()=>{i.unsubscribe()}}),k.useEffect(()=>{L==="Completed"&&n==="Not-Started"&&f.reset(E(e))},[L,n,f,e]),k.useEffect(()=>{e.error!=null?B(!0):B(!1)},[e.error]);const le=f.handleSubmit(()=>{if(re){p.trackAccountsDepositCheckFormClicked("Deposit",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null);const i=f.getValues();Q(i),T?.()}}),ne=(i,d)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(I=>I.id===i),A=e.depositAccounts.depositAccounts.findIndex(I=>I.id===i);return h?t.jsx(Ve,{color:Se(A),isSelectedValue:d}):null},de=(i,d)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(A=>A.id===i);return h?d===!0?t.jsx(Re,{children:h?.maskedAccountNumber}):t.jsxs(Me,{children:[t.jsx(G,{children:h?.maskedAccountNumber}),t.jsx(to,{}),t.jsx(G,{children:M("0,0[.]00",h?.accountBalance?.available)})]}):null};return t.jsxs(t.Fragment,{children:[se?t.jsx(Oe,{children:t.jsxs(qe,{children:[t.jsxs(_e,{children:[t.jsx(We,{}),t.jsxs(Xe,{children:[t.jsx(Ye,{children:e.error?.title}),t.jsx(Ge,{children:e.error?.message})]})]}),t.jsx(Qe,{children:t.jsx(ro,{"data-testid":$("check-deposit-form-close"),onClick:()=>{p.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),B(!1)},style:{width:o.sp3,height:o.sp3,color:w.heroLight}})})]})}):null,t.jsx(Je,{children:M("0,0.[00]",e.checkDepositLocalData.amount)}),t.jsx(De,{...f,children:t.jsx("form",{id:Be(ve),onSubmit:le,children:t.jsxs(Ue,{children:[t.jsx($e,{showAdditionalInfoLabel:!1,label:{label:c.checkDepositDrawer.amountLabel,width:z},formattedTextField:{type:"number",name:D(g,"amount"),defaultValue:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,placeholder:c.checkDepositDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:i=>!!i&&i>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}}),t.jsx(N,{}),t.jsx(we,{label:{label:c.checkDepositDrawer.sourceLabel,width:z},style:{width:"100%"},text:{type:"text",name:D(g,"source"),defaultValue:e.checkDepositLocalData.source,placeholder:c.checkDepositDrawer.sourcePlaceholder,options:{required:!0,validate:i=>i!=null}}}),t.jsx(N,{}),t.jsx(ae,{size:r,children:t.jsx(eo,{size:r,children:t.jsx(Ke,{label:{label:c.checkDepositDrawer.depositToLabel,width:z,style:{marginLeft:u.labeleMarginLeft.valuePx(r),marginBottom:u.labeleMarginBottom.valuePx(r),marginRight:u.labelMarginRight.valuePx(r)}},style:{paddingTop:u.labeledFieldPaddingTop.valuePx(r),paddingBottom:u.labeledFieldPaddingBottom.valuePx(r),paddingLeft:u.labeledFieldPaddingLeft.valuePx(r),paddingRight:u.labeledFieldPaddingRight.valuePx(r),border:"none",width:"100%",outline:"none",padding:0,display:r==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:r==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(r),marginTop:u.infoLabelMarginTop.valuePx(r)},singleSelectPickerField:{valueToLogo:(i,d)=>ne(i,d),valueToSubLabels:(i,d)=>de(i,d),name:D(g,"depositTo"),placeholder:c.checkDepositDrawer.depositToPlaceholder,style:{position:"relative"},defaultValue:{selectedOption:e.checkDepositLocalData.depositTo?.id,allOptions:e.depositAccounts.depositAccounts.map(i=>({label:i.accountName,value:i.id}))},textAlignment:"right",registerOptions:{required:!0,validate:i=>!!(i!=null&&i.selectedOption)}}})})}),t.jsx(N,{}),t.jsxs(He,{size:r,children:[t.jsxs(Ze,{size:r,children:[t.jsx(Ee,{children:c.checkDepositDrawer.checkPicLabel}),t.jsx(J,{isLast:!1,children:c.checkDepositDrawer.frontSide}),t.jsx(X,{name:`${D(g,R)}.front`,registerOptions:{required:!0},file:e.checkFront,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:x,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:Y,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"front"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>_(i),onEditFileName:S,openPopup:b,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.frontSideError,useMobileCam:!0,compressImage:!0}),t.jsx(J,{isLast:!0,children:c.checkDepositDrawer.backSide}),t.jsx(X,{name:`${D(g,R)}.back`,registerOptions:{required:!0},file:e.checkBack,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:x,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:Y,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"back"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>_(i),onEditFileName:S,openPopup:b,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.backSideError,useMobileCam:!0,compressImage:!0}),t.jsx(io,{children:c.checkDepositDrawer.picGuides.map(i=>t.jsxs(ao,{children:[t.jsx(oo,{}),t.jsx(Ne,{children:i})]},i))})]}),t.jsx(so,{windowSize:r,children:Ae.formatJPGText10MB})]})]})})})]})}const Ee=a(F)`
|
|
2
2
|
color: ${e=>e.theme.colors.hero};
|
|
3
3
|
`,Ne=a(F)`
|
|
4
4
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -8,7 +8,7 @@ import{q as Z,j as t,aM as $,hI as pe,O as ee,aN as M,n as X,o,aQ as he,y as c,A
|
|
|
8
8
|
display: flex;
|
|
9
9
|
align-items: center;
|
|
10
10
|
gap: ${o.sp2};
|
|
11
|
-
`,
|
|
11
|
+
`,G=a.div``,Re=a.span`
|
|
12
12
|
margin-left: ${o.sp2};
|
|
13
13
|
`,Ve=a(Le)`
|
|
14
14
|
min-width: ${e=>e.isSelectedValue?o.sp4:o.sp5};
|
|
@@ -34,25 +34,25 @@ import{q as Z,j as t,aM as $,hI as pe,O as ee,aN as M,n as X,o,aQ as he,y as c,A
|
|
|
34
34
|
`,_e=a.div`
|
|
35
35
|
display: flex;
|
|
36
36
|
align-items: flex-start;
|
|
37
|
-
`,
|
|
37
|
+
`,Qe=a.div``,We=a(be)`
|
|
38
38
|
width: ${o.sp4};
|
|
39
39
|
height: ${o.sp4};
|
|
40
40
|
color: ${w.important};
|
|
41
|
-
`,
|
|
41
|
+
`,Xe=a.div`
|
|
42
42
|
display: flex;
|
|
43
43
|
flex-direction: column;
|
|
44
44
|
margin-left: ${o.sp2};
|
|
45
|
-
`,
|
|
45
|
+
`,Ye=a(ye)`
|
|
46
46
|
color: ${w.important};
|
|
47
|
-
`,
|
|
47
|
+
`,Ge=a(F)`
|
|
48
48
|
color: ${w.important};
|
|
49
|
-
`,
|
|
49
|
+
`,Je=a(je)`
|
|
50
50
|
color: ${e=>e.theme.colors.primary};
|
|
51
51
|
margin: ${o.sp5} ${o.sp0} ${o.sp3} ${o.sp0};
|
|
52
|
-
`,
|
|
52
|
+
`,Ke=a(Pe)`
|
|
53
53
|
border-radius: ${o.sp2};
|
|
54
54
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
55
|
-
`,
|
|
55
|
+
`,Ue=a.div`
|
|
56
56
|
display: flex;
|
|
57
57
|
flex-direction: column;
|
|
58
58
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -90,7 +90,7 @@ import{q as Z,j as t,aM as $,hI as pe,O as ee,aN as M,n as X,o,aQ as he,y as c,A
|
|
|
90
90
|
border-bottom-left-radius: inherit;
|
|
91
91
|
border-bottom-right-radius: inherit;
|
|
92
92
|
}
|
|
93
|
-
`,
|
|
93
|
+
`,He=a(ae)`
|
|
94
94
|
flex-direction: column;
|
|
95
95
|
padding: ${o.sp0};
|
|
96
96
|
`,Ze=a.div`
|
|
@@ -100,7 +100,7 @@ import{q as Z,j as t,aM as $,hI as pe,O as ee,aN as M,n as X,o,aQ as he,y as c,A
|
|
|
100
100
|
display: flex;
|
|
101
101
|
flex-grow: ${e=>e.size==="small"?1:0};
|
|
102
102
|
align-items: flex-start;
|
|
103
|
-
`,
|
|
103
|
+
`,J=a(q)`
|
|
104
104
|
color: ${e=>e.theme.colors.hero};
|
|
105
105
|
margin-bottom: ${o.sp2};
|
|
106
106
|
margin-top: ${e=>e.isLast?o.sp3:o.sp0};
|
|
@@ -145,7 +145,7 @@ import{q as Z,j as t,aM as $,hI as pe,O as ee,aN as M,n as X,o,aQ as he,y as c,A
|
|
|
145
145
|
&:hover {
|
|
146
146
|
color: ${e=>e.theme.colors.primary};
|
|
147
147
|
}
|
|
148
|
-
`,
|
|
148
|
+
`,co="checkDepositDetailPage",lo={NavBarContainerPaddingYAxis:new l(10,s[3])},no=e=>`${e}_form`,O={containerPaddingLeft:new l(s[3],s[6],s[8]),containerPaddingRight:new l(s[3],s[6],s[8]),successContentMargin:new l(s[3],s[12])},{spendManagement:po}=ee.getLocalizedStrings(),m=po.zeniAccounts.zeniAccountList,Co=({checkDeposit:e,analytics:p,filesEndPoint:x,authParams:b,onSaveChangesToLocalStore:y,onAnotherTransferClick:C,updateFilesEntity:j,onDeleteFile:P,onEditFileName:S,onCheckDpositClick:T,onDismissClick:r})=>{const n=Z(),[L,v]=k.useState(!1);return t.jsx(go,{windowSize:n,children:e.fetchState==="Completed"?t.jsxs(K,{windowSize:n,children:[t.jsx(U,{windowSize:n,children:t.jsx(H,{"data-testid":$("check-deposit-drawer-close"),onClick:()=>{p.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),r?.()}})}),t.jsxs(ko,{windowSize:n,children:[t.jsx(pe,{width:150,height:150,shouldDisplay:!0,animationInLoop:!0}),t.jsxs(xo,{children:[m.checkDepositDrawer.transferSuccessMsgPrefix,t.jsx(mo,{children:M("0,0.[00]",e.checkDepositLocalData.amount)}),m.checkDepositDrawer.transferSuccessMsgSuffix]}),t.jsxs(fo,{children:[t.jsx(W,{variant:"secondary",label:m.checkDepositDrawer.makeAnotherTransferBtn,onClick:C,"data-testid":$("check-deposit-drawer-another-transfer")}),t.jsx(W,{variant:"primary",label:m.checkDepositDrawer.goToAccountBtn,onClick:r,style:{marginLeft:n==="small"?o.sp3:o.sp5},"data-testid":$("check-deposit-drawer-go-to-account")})]})]})]}):t.jsxs(t.Fragment,{children:[t.jsxs(K,{windowSize:n,children:[t.jsx(U,{windowSize:n,children:t.jsx(H,{"data-testid":$("check-deposit-drawer-close"),onClick:()=>{p.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),r?.()}})}),n==="small"?t.jsx(Do,{windowSize:n,children:m.checkDepositDrawer.title}):t.jsx($o,{children:m.checkDepositDrawer.title}),n==="small"?t.jsx(uo,{children:m.checkDepositDrawer.subTitle}):t.jsx(ho,{children:m.checkDepositDrawer.subTitle}),t.jsx(Ie,{analytics:p,authParams:b,checkDeposit:e,filesEndPoint:x,onSaveChangesToLocalStore:y,openPopup:v,onCheckDpositClick:T,onDeleteFile:P,onEditFileName:S,updateFilesEntity:j})]}),t.jsx(he,{formId:no(co),helperText:m.checkDepositDrawer.footNote,helperStyle:{paddingTop:o.sp0,paddingBottom:o.sp0},style:{zIndex:L?0:4,paddingTop:o.sp3,paddingBottom:o.sp3},primaryBtn:{label:m.checkDepositDrawer.depositBtn,isLoading:e.fetchState==="In-Progress"},cancelBtn:{label:m.checkDepositDrawer.cancelBtn,onClick:()=>{p.trackAccountsDepositCheckFormClicked("Cancel",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),r?.()}}})]})})},ho=a(F)`
|
|
149
149
|
color: ${e=>e.theme.colors.hero};
|
|
150
150
|
`,uo=a(ge)`
|
|
151
151
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -161,7 +161,7 @@ import{q as Z,j as t,aM as $,hI as pe,O as ee,aN as M,n as X,o,aQ as he,y as c,A
|
|
|
161
161
|
`,xo=a(ue)`
|
|
162
162
|
color: ${e=>e.theme.colors.primary};
|
|
163
163
|
text-align: center;
|
|
164
|
-
`,
|
|
164
|
+
`,K=a.div`
|
|
165
165
|
height: ${e=>e.windowSize==="small"?"auto":"100%"};
|
|
166
166
|
padding-left: ${e=>`${O.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
167
167
|
padding-right: ${e=>`${O.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
@@ -176,17 +176,17 @@ import{q as Z,j as t,aM as $,hI as pe,O as ee,aN as M,n as X,o,aQ as he,y as c,A
|
|
|
176
176
|
justify-content: center;
|
|
177
177
|
margin: ${e=>`${o.sp0} ${O.successContentMargin.valuePx(e.windowSize)} `};
|
|
178
178
|
align-items: center;
|
|
179
|
-
`,
|
|
179
|
+
`,U=a.div`
|
|
180
180
|
display: flex;
|
|
181
181
|
flex-direction: row-reverse;
|
|
182
182
|
justify-content: space-between;
|
|
183
183
|
align-items: center;
|
|
184
184
|
width: 100%;
|
|
185
185
|
top: ${o.sp0};
|
|
186
|
-
padding: ${e=>`${
|
|
186
|
+
padding: ${e=>`${lo.NavBarContainerPaddingYAxis.valuePx(e.windowSize)} ${o.sp0}`};
|
|
187
187
|
z-index: 2;
|
|
188
188
|
background-color: ${e=>e.theme.colors.grey4};
|
|
189
|
-
`,
|
|
189
|
+
`,H=a(oe)`
|
|
190
190
|
cursor: pointer;
|
|
191
191
|
color: ${e=>e.theme.colors.hero};
|
|
192
192
|
width: ${o.sp4};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t,b3 as po,aM as m,bY as fe,aN as q,dE as go,o as c,h as ee,aP as hi,q as M,aC as ui,az as fo,dF as pi,dG as xo,l as A,O as W,u as w,dH as Vi,dI as Ot,aU as _,dJ as Mt,cp as Nt,dK as It,y as D,df as Pt,ax as Di,ab as Je,dL as Ne,b_ as K,P as mo,
|
|
1
|
+
import{j as t,b3 as po,aM as m,bY as fe,aN as q,dE as go,o as c,h as ee,aP as hi,q as M,aC as ui,az as fo,dF as pi,dG as xo,l as A,O as W,u as w,dH as Vi,dI as Ot,aU as _,dJ as Mt,cp as Nt,dK as It,y as D,df as Pt,ax as Di,ab as Je,dL as Ne,b_ as K,P as mo,c as ce,a$ as Ri,dM as Gi,aV as V,ao as Ae,dN as wo,dO as se,co as zt,cd as gi,ai as yo,an as ye,dP as Xe,dQ as Be,dR as tt,am as C,cw as ne,dS as bo,C as Ft,dT as Re,dU as fi,dV as xi,dW as ko,dX as jo,b8 as Ei,b5 as So,cM as Tt,cL as Vt,dY as Co,b6 as Hi,cP as Ki,c3 as $o,dZ as vo,d_ as mi,d$ as wi,e0 as _o,e1 as Lo,c5 as Ao,bP as Bo,e2 as Wo}from"./index-MAXVX6UR.js";import{n as a,b as I,w as Oo,i as P}from"./vendor-Bs1fkIUX.js";import{N as it,D as Mo,R as No,B as be,u as v}from"./AccountRow-C6z4Ft3r-BFimoTCg.js";function Z(e,i){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.percentValue);case"default_with_null_balance":return"-"}return q("0,0",e?.balance)}function J(e){return q("0,0",e?.forecast)}function Yi(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.totalPercentValue)}return q("0,0",e?.totalBalance)}function bt(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.forecastPercentValue)}return q("0,0",e?.totalForecast)}function de(e){if(e!=null&&e.forecast!=null&&e.forecast.amount!==0){const i=(e.balance.amount-e.forecast.amount)/e.forecast.amount;return fe("0.00%",Math.floor(i*100)/100)}else return fe("0.00%",void 0)}function he(e){if(e!=null&&e.forecast!=null){const i=Math.floor((e.balance.amount-e.forecast.amount)*100/100);return q("0,0",Object.assign({},e.forecast,{amount:i}))}else return q("0,0",null)}function Ui(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null&&e.totalForecast.amount!==0){const i=(e.totalBalance.amount-e.totalForecast.amount)/e.totalForecast.amount;return fe("0.00%",Math.floor(i*100)/100)}else return fe("0.00%",void 0)}function qi(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null){const i=Math.floor((e.totalBalance.amount-e.totalForecast.amount)*100/100);return q("0,0",Object.assign({},e.totalForecast,{amount:i}))}else return q("0,0",null)}const Ie=(e,i,n)=>{const{startDate:o,balanceType:r}=i,{dateFormat:{visual:l}}=W.getLocalizedStrings();switch(n){case"month":return r==="default"||r==="default_with_percent"?`${A.formatZeniDate(o,l.MMMYYYYFormat,e)}`:ft(r,n);case"quarter":return r==="default"||r==="default_with_percent"?`${W.getLocalizedStrings().reports.quarterPrefix}${A.formatZeniDate(o,l.QYYYYformat,e)}`:ft(r,n);case"year":return r==="default"||r==="default_with_percent"?`${A.formatZeniDate(o,l.YYYYformat,e)}`:ft(r,n);case"free_range":case"week":throw new Error("free_range/weeks dates are not supported!")}};function ft(e,i){return W.getLocalizedStrings().downloadReport.additionalColumns.labels[i][e]}const eg=(e,i,n)=>{const o=i.length==0?e:`${e}_${i.join("_")}`;return n!=null&&n.trim().length>0?`${o}_${n}`:`${o}_${go(10)}`},Io=a.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
width: 100%;
|
|
@@ -125,7 +125,7 @@ import{j as t,b3 as po,aM as m,bY as fe,aN as q,dE as go,o as c,h as ee,aP as hi
|
|
|
125
125
|
width: ${v.spacerLineWidth}px;
|
|
126
126
|
`,lr=a.div`
|
|
127
127
|
width: ${v.statusWidth}px;
|
|
128
|
-
`,Ge=({title:e,type:i})=>t.jsx(tr,{widthValue:v[i],children:t.jsx(er,{children:e})});function sr({sectionTitle:e,height:i,isLoading:n}){const o=W.getLocalizedStrings().expenseAutomation.accountRecon.reconciliation.headers;return t.jsx(qo,{height:i,children:t.jsxs(Zo,{children:[t.jsx(Qo,{children:t.jsx(se,{isLoading:n,customStyle:{height:c.sp4,width:v.leftLabelWidth},children:t.jsx(Xo,{
|
|
128
|
+
`,Ge=({title:e,type:i})=>t.jsx(tr,{widthValue:v[i],children:t.jsx(er,{children:e})});function sr({sectionTitle:e,height:i,isLoading:n}){const o=W.getLocalizedStrings().expenseAutomation.accountRecon.reconciliation.headers;return t.jsx(qo,{height:i,children:t.jsxs(Zo,{children:[t.jsx(Qo,{children:t.jsx(se,{isLoading:n,customStyle:{height:c.sp4,width:v.leftLabelWidth},children:t.jsx(Xo,{children:e})})}),t.jsxs(Jo,{children:[t.jsx(ir,{children:t.jsx(se,{isLoading:n,customStyle:{height:c.sp7,width:v.bankBalanceTimeframeWidth,borderRadius:c.sp2},children:t.jsx(Ge,{title:o.bankBalance,type:"bankBalanceTimeframeWidth"})})}),t.jsx(nr,{}),t.jsx(or,{children:t.jsx(se,{isLoading:n,customStyle:{height:c.sp7,width:v.clearedBalanceTimeframeWidth,borderRadius:c.sp2},children:t.jsx(Ge,{title:o.clearedBalance,type:"clearedBalanceTimeframeWidth"})})}),t.jsx(rr,{children:t.jsx(se,{isLoading:n,customStyle:{height:c.sp7,width:v.varianceTimeframeWidth,borderRadius:c.sp2},children:t.jsx(Ge,{title:o.variance,type:"varianceTimeframeWidth"})})}),t.jsx(ar,{}),t.jsx(lr,{children:t.jsx(se,{isLoading:n,customStyle:{height:c.sp7,width:v.statusTimeframeWidth,borderRadius:c.sp2},children:t.jsx(Ge,{title:o.status,type:"statusTimeframeWidth"})})})]})]})})}const cr=a.div`
|
|
129
129
|
display: flex;
|
|
130
130
|
flex-direction: row;
|
|
131
131
|
height: ${e=>e.heightValue}px;
|
|
@@ -134,7 +134,7 @@ import{j as t,b3 as po,aM as m,bY as fe,aN as q,dE as go,o as c,h as ee,aP as hi
|
|
|
134
134
|
`,dr=a(Hi)`
|
|
135
135
|
user-select: none;
|
|
136
136
|
color: ${e=>e.theme.colors.primary};
|
|
137
|
-
`;function hr({height:e,title:i}){return t.jsx(cr,{heightValue:e,children:t.jsx(dr,{
|
|
137
|
+
`;function hr({height:e,title:i}){return t.jsx(cr,{heightValue:e,children:t.jsx(dr,{children:i})})}const ur=a.div`
|
|
138
138
|
display: flex;
|
|
139
139
|
flex: 1 1 auto;
|
|
140
140
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as Le,
|
|
1
|
+
import{q as Le,c as We,d3 as wl,O as ae,y as O,aP as jl,j as l,c5 as Re,fI as qe,aq as _e,gc as Ee,o as a,gl as $l,d2 as He,cV as ee,cX as ce,c$ as Ue,l as Se,dl as vl,dj as Sl,cZ as Ge,cY as Ie,gm as Ve,gn as Il,fW as Cl,fV as ke,d0 as Ce,d1 as Ol,h as Pe,fJ as Ye,b as xe,bP as Ze,fH as Je,am as Fe,gb as Qe,C as ye,ap as Ll,bM as _l,u as D,dE as El,aY as Pl,go as Fl,an as Nl,gp as Dl,bN as ge,b4 as Vl,H as Ke,ai as kl,dd as Tl,av as zl,bL as Al}from"./index-MAXVX6UR.js";import{b as d,n as t}from"./vendor-Bs1fkIUX.js";import{W as Oe}from"./LabeledAddressValueField-6MpVMde--DXTq8JS8.js";import{I as Bl}from"./LabeledCreatableSingleSelectField-9q4Lqszf-Csk7xXRk.js";import{Y as Te}from"./LabeledDocumentField-CAWaftIF-CSQ4X3Cr.js";const Ml=e=>d.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{opacity:.2,d:"M50.5391 6.01221C51.2636 6.01238 51.9584 6.29976 52.4707 6.81201L62.6016 16.9429C63.1141 17.4553 63.4022 18.1507 63.4023 18.8755V66.1353C63.4023 66.86 63.1149 67.5554 62.6025 68.0679C62.09 68.5804 61.3947 68.8686 60.6699 68.8687H14.2109C13.4862 68.8687 12.7908 68.5804 12.2783 68.0679C11.7658 67.5554 11.4775 66.8601 11.4775 66.1353V8.74463C11.4775 8.01982 11.7658 7.32453 12.2783 6.81201C12.7908 6.29962 13.4862 6.01221 14.2109 6.01221H50.5391Z",fill:"#97C3B9"}),d.createElement("path",{d:"M60.5227 61.2642V61.2318M60.5227 61.2318V15.9951C60.5226 15.2704 60.2346 14.5753 59.722 14.0629L49.5911 3.93209C49.0787 3.41953 48.3837 3.1315 47.659 3.13135H11.3306C10.6057 3.13135 9.91062 3.41928 9.3981 3.9318C8.88559 4.44431 8.59766 5.13944 8.59766 5.86425V63.2551C8.59766 63.9799 8.88559 64.6751 9.3981 65.1876C9.91062 65.7001 10.6057 65.988 11.3306 65.988H57.7898C58.5147 65.988 59.2098 65.7001 59.7223 65.1876C60.2348 64.6751 60.5227 64.0737 60.5227 63.2551C60.5227 62.4365 60.5227 61.2318 60.5227 61.2318Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M46.8682 3.13135V12.9335C46.8682 13.2545 46.9371 13.5724 47.0709 13.869C47.2048 14.1656 47.401 14.4351 47.6483 14.6621C47.8956 14.8891 48.1893 15.0692 48.5124 15.1921C48.8356 15.3149 49.1819 15.3781 49.5317 15.3781H60.2144",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("g",{clipPath:"url(#clip0_1350_23850)"},d.createElement("rect",{x:16.75,y:15,width:22.501,height:1.5,fill:"#97C3B9"}),d.createElement("circle",{cx:16.75,cy:15.75,r:.75,transform:"rotate(90 16.75 15.75)",fill:"#97C3B9"}),d.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 38.5 15)",fill:"#97C3B9"})),d.createElement("g",{clipPath:"url(#clip1_1350_23850)"},d.createElement("rect",{x:16.75,y:28.5,width:30.4971,height:1.5,fill:"#97C3B9"}),d.createElement("circle",{cx:16.75,cy:29.25,r:.75,transform:"rotate(90 16.75 29.25)",fill:"#97C3B9"}),d.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 46.5 28.5)",fill:"#97C3B9"})),d.createElement("g",{clipPath:"url(#clip2_1350_23850)"},d.createElement("rect",{x:16.75,y:42,width:35.4953,height:1.5,fill:"#97C3B9"}),d.createElement("circle",{cx:16.75,cy:42.75,r:.75,transform:"rotate(90 16.75 42.75)",fill:"#97C3B9"}),d.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 42)",fill:"#97C3B9"})),d.createElement("g",{clipPath:"url(#clip3_1350_23850)"},d.createElement("rect",{x:16.75,y:55.5,width:35.4953,height:1.5,fill:"#97C3B9"}),d.createElement("circle",{cx:16.75,cy:56.25,r:.75,transform:"rotate(90 16.75 56.25)",fill:"#97C3B9"}),d.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 55.5)",fill:"#97C3B9"})),d.createElement("defs",null,d.createElement("clipPath",{id:"clip0_1350_23850"},d.createElement("rect",{width:24,height:1.5,fill:"white",transform:"translate(16 15)"})),d.createElement("clipPath",{id:"clip1_1350_23850"},d.createElement("rect",{width:32,height:1.5,fill:"white",transform:"translate(16 28.5)"})),d.createElement("clipPath",{id:"clip2_1350_23850"},d.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 42)"})),d.createElement("clipPath",{id:"clip3_1350_23850"},d.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 55.5)"})))),{commonSetUp:Wl}=ae.getLocalizedStrings(),{businessVerification:ze}=Wl,ue={iconSize:new O(D[6],D[10]),gap:new O(D[2],D[3])},Xe={title:new xe("smallSemiBold","standardSemiBold"),description:new xe("smallRegular","standardRegular")},el=()=>{const[e]=Pl("Secure"),c=Le();return l.jsxs(Rl,{windowSize:c,children:[e!=null?l.jsx(ql,{windowSize:c,animationData:e,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):l.jsx(Hl,{windowSize:c}),l.jsxs(Ul,{children:[l.jsx(Gl,{windowSize:c,children:ze.securityMessageTitle}),l.jsx(Yl,{windowSize:c,children:ze.securityMessageDescription})]})]})},Rl=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
|
|
4
4
|
gap: ${e=>ue.gap.valuePx(e.windowSize)};
|
|
@@ -18,11 +18,11 @@ import{q as Le,d as We,d3 as wl,O as ae,y as O,aP as jl,j as l,c5 as Re,fI as qe
|
|
|
18
18
|
justify-content: center;
|
|
19
19
|
align-items: flex-start;
|
|
20
20
|
flex: 1;
|
|
21
|
-
`,Gl=t(
|
|
21
|
+
`,Gl=t(Ke)`
|
|
22
22
|
${e=>`${Xe.title.style(e.windowSize)}`};
|
|
23
23
|
color: ${e=>e.theme.colors.primary};
|
|
24
24
|
margin: 0;
|
|
25
|
-
`,Yl=t(
|
|
25
|
+
`,Yl=t(Ke)`
|
|
26
26
|
${e=>`${Xe.description.style(e.windowSize)}`};
|
|
27
27
|
color: ${e=>e.theme.colors.primary};
|
|
28
28
|
margin: 0;
|
|
@@ -36,7 +36,7 @@ import{q as Le,d as We,d3 as wl,O as ae,y as O,aP as jl,j as l,c5 as Re,fI as qe
|
|
|
36
36
|
align-items: flex-end;
|
|
37
37
|
margin-left: ${a.sp2};
|
|
38
38
|
margin-top: ${a.sp1};
|
|
39
|
-
`,le={labelWidth:new O(115,145,155),mediumLabelWidth:new O(140,160,170),largeLabelWidth:new O(150,210,244),largeLabelDocumentWidth:new O(150,210,252),paddingBottom:new O(D[3],D[2]),containerRowGap:new O(12,D[3])},
|
|
39
|
+
`,le={labelWidth:new O(115,145,155),mediumLabelWidth:new O(140,160,170),largeLabelWidth:new O(150,210,244),largeLabelDocumentWidth:new O(150,210,252),paddingBottom:new O(D[3],D[2]),containerRowGap:new O(12,D[3])},Ql={title:new xe("standardMedium","largeMedium")},Kl=ae.getLocalizedStrings(),{dateFormat:{visual:Xl},commonSetUp:ea,companyPassport:la,common:{documents:Ae,optional:aa}}=Kl,i=ea.businessVerification,ta=i.sourceOfFundOptions,ia=d.forwardRef(({fileProps:e,productType:c,allIndustries:m,companyDetails:h,connectedAccountProvider:F,businessVerificationProps:g,isDisabled:n,style:G,sectionId:y,showInfoTooltip:te=!0,isCompleted:ie=!1,showCompletedIcon:oe=!1,showTreasuryFields:Y=!1,sectionHeader:Z,optionalFields:s=[],onCompanyAddressClick:J,onRegisteredAddressClick:V},re)=>{const f=Le(),_=le.labelWidth.value(f),E=le.mediumLabelWidth.value(f),b=le.largeLabelWidth.value(f),q=le.largeLabelDocumentWidth.value(f),w=i.productType[c],Q=h?.companyFiles.find(u=>u.documentType==="certificate_of_incorporation"),K=h?.companyFiles.find(u=>u.documentType==="tax_ein"),p=h?.companyDescription,$=h?.companyLegalName,A=h?.website,se=h?.typeOfIncorporation,H=h?.incDate,X=h?.companyIndustry,L=h?.phone,me=h?.taxIdOrEIN,B=h?.primaryContactLocalData,ne=h?.deleteFileStatusById??{},U=h?.updateFileStatusById??{},be=h?.addressStatus?.addressToCreate,we=h?.registeredAddressStatus?.addressToCreate,[k,M]=d.useState(!1),[x,W]=d.useState(!1),R=u=>m.find(je=>je.code===u)?.name??u,P=u=>ta[u]??u;return l.jsxs(oa,{style:G,ref:re,windowSize:f,children:[l.jsx(ra,{children:l.jsxs(ha,{children:[l.jsxs(na,{children:[oe===!0?l.jsx(da,{children:ie?l.jsx(ca,{}):l.jsx(pa,{})}):null,l.jsx(sa,{windowSize:f,children:Z??i.confirmCompanyDetails})]}),te?l.jsx(ua,{children:l.jsx(Re,{variant:"small-description",display:"flex",maxWidth:"280px",data:i.confirmCompanyDetailsTooltip,placement:f==="small"||c==="onboarding"?"bottom":"right",children:l.jsx(ma,{})})}):null,c==="onboarding"&&Z!=null?l.jsx(ll,{text:aa}):null,g?.companyVerificationStatus!=null?l.jsx(ya,{tagTitle:g.companyVerificationStatus.name,textColor:qe(g.companyVerificationStatus.code),showLoader:g?.isRefreshingViewInBackground}):null]})}),l.jsxs(fa,{children:[l.jsx(el,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:i.companyLegalNameLabel,width:b},text:{type:"text",name:v(y,"companyLegalName"),placeholder:i.companyLegalNamePlaceholder,defaultValue:$,options:{required:n==null&&s.includes("companyLegalName")===!1}},additionalInfoLabel:i.companyLegalNameError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:i.companyDescriptionLabel,width:E},text:{type:"text",name:v(y,"companyDescription"),placeholder:i.addProductPlaceholder,defaultValue:p,options:{required:n==null&&s.includes("companyDescription")===!1}},additionalInfoLabel:i.companyDescriptionError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(Oe,{isDisabled:n,label:{label:i.companyAddressLabel,width:E},addressValueField:{name:v(y,"companyAddress"),placeholder:i.companyAddressPlaceholder,defaultValue:be,registerOptions:{validate:u=>s.includes("companyAddress")===!1?!(n==null&&u==null):!0},onClick:()=>{J?.("company_address")}},additionalInfoLabel:i.companyAddressError.replace("_product_type_",w),showAdditionalInfoLabel:!1}),l.jsx(S,{}),l.jsx(Oe,{isDisabled:n,label:{label:i.registeredAddressLabel,width:E},addressValueField:{name:v(y,"registeredAddress"),placeholder:i.registeredAddressPlaceholder,defaultValue:we,registerOptions:{validate:u=>s.includes("registeredAddress")===!1?!(n==null&&u==null):!0},onClick:()=>{V?.("company_registered_address")}},additionalInfoLabel:i.registeredAddressError.replace("_product_type_",w),showAdditionalInfoLabel:!1}),l.jsx(S,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:i.companyWebsiteLabel,width:_},text:{type:"url",name:v(y,"companyWebsite"),placeholder:i.companyWebsitePlaceholder,defaultValue:A?.toString()??"",options:{required:n==null&&s.includes("companyWebsite")===!1}},additionalInfoLabel:i.companyWebsiteError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(Ie,{label:{label:i.companyIndustryLabel,width:_},singleSelectField:{singleSelect:{name:v(y,"companyIndustry"),placeholder:i.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:R,isDisabled:n,showTickMark:!1},defaultValue:{selectedOption:X,allOptions:m?.map(u=>u.code)??[]},registerOptions:{required:n==null&&s.includes("companyIndustry")===!1,validate:u=>s.includes("companyIndustry")===!1?!(n==null&&!u?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:i.companyIndustryError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(Bl,{label:{label:i.companyTypeOfIncorporationLabel,width:b},isDisabled:n,creatableSingleSelectField:{name:v(y,"typeOfIncorporation"),placeholder:i.companyTypeOfIncorporationPlaceholder,defaultValue:{selectedOption:se,allOptions:la.companyIncInfo.allTypesOfIncorporation},registerOptions:{required:n==null&&s.includes("typeOfIncorporation")===!1&&F==="unit",validate:u=>s.includes("typeOfIncorporation")===!1?!(n==null&&!u?.selectedOption):!0}},errorInfoLabel:i.companyTypeOfIncorporationError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(Ue,{isDisabled:n,label:{label:i.companyIncDateLabel,width:b},style:{paddingBottom:le.paddingBottom.valuePx(f)},dateField:{name:v(y,"incDate"),placeholder:i.companyIncDatePlaceholder,defaultValue:H,dateFormat:Xl.defaultInput,maxDate:Se.dateNow(),minDate:Se.zeniDate("01 Jan 1900"),autoComplete:"off",registerOptions:{required:n==null&&s.includes("incDate")===!1}},additionalInfoLabel:i.companyIncDateError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(Ge,{isDisabled:n,label:{label:i.companyPhoneLabel,width:_},text:{name:v(y,"companyPhone"),placeholder:ce(i.companyPhoneLabel),defaultValue:L,autoComplete:"new-password",options:{required:n==null&&s.includes("companyPhone")===!1}},errorInfoLabel:i.companyPhoneError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(He,{isDisabled:n,label:{label:i.companyPrimaryContactNameLabel,width:b},nameField:{name:v(y,"primaryContactName"),placeHolder:{firstName:i.firstNamePlaceholder,lastName:i.lastNamePlaceholder,name:i.namePlaceholder},defaultValue:{firstName:B?.firstName??"",lastName:B?.lastName??""},registerOptions:{required:n==null&&s.includes("primaryContactName")===!1,validate:u=>!!u||n!=null||s.includes("primaryContactName")},showFullNameError:!0},errorInfoLabel:i.companyPrimaryContactNameError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:i.companyPrimaryContactEmailLabel,width:b},text:{type:"email",name:v(y,"primaryContactEmail"),placeholder:i.companyPrimaryContactEmailPlaceholder,defaultValue:B?.email,options:{required:n==null&&s.includes("primaryContactEmail")===!1}},additionalInfoLabel:i.companyPrimaryContactEmailError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:i.companyTaxIdLabel,width:_},text:{type:"text",name:v(y,"companyTaxId"),placeholder:i.companyTaxIdPlaceholder,defaultValue:me,options:{required:n==null&&s.includes("companyTaxId")===!1,pattern:Ol},autoComplete:"new-password"},additionalInfoLabel:i.companyTaxIdError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(Te,{name:v(y,"certificateOfIncorporation"),isDisabled:n,sizeLimit:Ce,deleteFileStatusById:ne,updateFileStatusById:U,filesEndPoint:e.filesEndPoint,authParams:e.authParams,label:{label:i.certificateOfIncorporation,width:q},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:Q,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:n==null&&s.includes("certificateOfIncorporation")===!1&&F==="unit"},additionalInfoLabel:i.certOfIncopDocumentError.replace("_product_type_",w),hasError:k,updateFilesEntity:e.updateFilesEntity,onEditFileName:e.onEditFileName,onDeleteFile:e.onDeleteFile,onFileSizeError:u=>M(u)}),k||!(n!=null||Q!=null)?l.jsx(Be,{windowSize:f,isError:k,children:Ae.formatDocumentText10MB}):null,l.jsx(S,{}),l.jsx(Te,{name:v(y,"ein"),isDisabled:n,sizeLimit:Ce,deleteFileStatusById:ne,updateFileStatusById:U,filesEndPoint:e.filesEndPoint,authParams:e.authParams,label:{label:i.einDocument,width:q},filemetadataPayload:{documentType:"tax_ein",purposeId:"business_verification",documentSide:"front"},file:K,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:n==null&&s.includes("ein")===!1},additionalInfoLabel:i.einDocumentError.replace("_product_type_",w),hasError:x,updateFilesEntity:e.updateFilesEntity,onEditFileName:e.onEditFileName,onDeleteFile:e.onDeleteFile,onFileSizeError:u=>W(u)}),x||!(n!=null||K!=null)?l.jsx(Be,{windowSize:f,isError:x,children:Ae.formatDocumentText10MB}):null,l.jsx(S,{}),Y===!0?l.jsxs(l.Fragment,{children:[l.jsx(Ie,{label:{label:i.sourceOfFundsLabel,width:_},singleSelectField:{singleSelect:{name:v(y,"sourceOfFunds"),placeholder:i.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:P,isDisabled:n,showTickMark:!1,menuPlacement:"top",sortOptions:!1},defaultValue:{selectedOption:h?.sourceOfFunds,allOptions:Object.keys(i.sourceOfFundOptions)},registerOptions:{required:n==null&&s.includes("sourceOfFunds")===!1,validate:u=>s.includes("sourceOfFunds")===!1?!(n==null&&!u?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:i.sourceOfFundsError.replace("_product_type_",w)}),l.jsx(S,{})]}):null]})]})});ia.displayName="Company Details Section";const v=(e,c)=>`${e}.${c}`,oa=t.div`
|
|
40
40
|
display: flex;
|
|
41
41
|
flex-direction: column;
|
|
42
42
|
row-gap: ${e=>le.containerRowGap.valuePx(e.windowSize)};
|
|
@@ -50,7 +50,7 @@ import{q as Le,d as We,d3 as wl,O as ae,y as O,aP as jl,j as l,c5 as Re,fI as qe
|
|
|
50
50
|
text-align: ${e=>e.windowSize==="small"?"initial":"right"};
|
|
51
51
|
color: ${e=>e.isError?Pe.important:e.theme.colors.grey1};
|
|
52
52
|
`,sa=t.div`
|
|
53
|
-
${e=>`${
|
|
53
|
+
${e=>`${Ql.title.style(e.windowSize)}`};
|
|
54
54
|
display: flex;
|
|
55
55
|
align-items: center;
|
|
56
56
|
color: ${e=>e.theme.colors.primary};
|
|
@@ -102,7 +102,7 @@ import{q as Le,d as We,d3 as wl,O as ae,y as O,aP as jl,j as l,c5 as Re,fI as qe
|
|
|
102
102
|
display: flex;
|
|
103
103
|
align-items: center;
|
|
104
104
|
justify-content: flex-end;
|
|
105
|
-
`,ga=(e,c)=>e.map(m=>({...m,value:m.userId,label:m.firstName!=""||m.lastName!=""?`${m.firstName} ${m.lastName}`:m.email})),ba=(e,c)=>({...e,value:e.userId,label:e.firstName!=""||e.lastName!=""?`${e.firstName} ${e.lastName}`:e.email});function wa({allUsers:e,onSelectedUserChanged:c,selectedUser:m,disable:h=!1,pickerStyles:{optionBackgroundColor:F,selectedOptionBackgroundColor:g,optionTextStyle:n,titleTextStyle:G,backgroundColor:y,titleTextAlignment:te,selectedOptionColor:ie,customStyleConfig:oe}={},customization:{placeholderLabel:Y}={},showAddUser:Z=!0}){const s=We(),[J,V]=d.useState(!1),re=ga(e).sort((p,$)=>p.label.localeCompare($.label)),f=m!=null?ba(m):void 0,_=F??s.colors.grey5,E=y??s.colors.grey5,b=g??s.colors.grey3,q=n??ye.smallRegular.cssObject,w=G??q,
|
|
105
|
+
`,ga=(e,c)=>e.map(m=>({...m,value:m.userId,label:m.firstName!=""||m.lastName!=""?`${m.firstName} ${m.lastName}`:m.email})),ba=(e,c)=>({...e,value:e.userId,label:e.firstName!=""||e.lastName!=""?`${e.firstName} ${e.lastName}`:e.email});function wa({allUsers:e,onSelectedUserChanged:c,selectedUser:m,disable:h=!1,pickerStyles:{optionBackgroundColor:F,selectedOptionBackgroundColor:g,optionTextStyle:n,titleTextStyle:G,backgroundColor:y,titleTextAlignment:te,selectedOptionColor:ie,customStyleConfig:oe}={},customization:{placeholderLabel:Y}={},showAddUser:Z=!0}){const s=We(),[J,V]=d.useState(!1),re=ga(e).sort((p,$)=>p.label.localeCompare($.label)),f=m!=null?ba(m):void 0,_=F??s.colors.grey5,E=y??s.colors.grey5,b=g??s.colors.grey3,q=n??ye.smallRegular.cssObject,w=G??q,Q={control:(p,$)=>({...p,border:0,height:"100%",backgroundColor:E,fill:$.selectProps.menuIsOpen===!0?s.colors.primary:s.colors.grey1,boxShadow:E,">div:last-child":{color:J?s.colors.primary:s.colors.grey1},":active":{backgroundColor:E},":hover":{fill:s.colors.primary,">div:last-child":{color:s.colors.primary}},minHeight:"auto",cursor:"pointer",flexDirection:"column",">div>div>svg":{color:s.colors.grey1,">path":{color:s.colors.grey5,fill:"currentcolor"}}}),container:p=>({...p,backgroundColor:E,height:"100%"}),singleValue:p=>({...p,margin:0,minWidth:void 0,backgroundColor:void 0,">div":{borderRadius:0,padding:a.sp0,borderLeftStyle:"none",borderWidth:1,borderColor:s.colors.grey1,color:"unset"},">div>div>div>div:last-child":{display:"block",...ye.standardRegular.cssObject}}),valueContainer:p=>({...p,maxWidth:"100%",cursor:"pointer",height:"100%",...w,overflow:"visible",minWidth:"auto",padding:0,display:"flex",justifyContent:te??"flex-start",alignItems:"center",flexWrap:"nowrap",flexDirection:"row",">div":{width:"inherit"}}),menu:(p,$)=>({...p,backgroundColor:_,borderRadius:D[1],boxShadow:`${a.sp0} 2px ${a.sp2} ${s.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",zIndex:3,width:236,margin:`6px ${a.sp0}`,right:"-11%",">div":{flexDirection:"column",maxHeight:200,overflowY:"auto",borderRadius:a.sp1,padding:`${a.sp1} ${a.sp0}`,">div":{width:"-webkit-fill-available"}},...oe?.menu?.(p,$)}),menuList:p=>({...p,borderRadius:D[1]}),placeholder:(p,$)=>({...p,margin:0,width:"100%",color:$.isFocused?s.colors.primary:"currentColor",paddingRight:a.sp2,...ye.standardRegular.cssObject,">div>div>svg>circle":{fill:s.colors.grey1}}),noOptionsMessage:p=>({...p,...ye.smallRegular.cssObject,padding:`10px ${a.sp3} 9px ${a.sp3}`,color:s.colors.hero}),option:(p,{isDisabled:$,isSelected:A,isFocused:se})=>({...p,...q,color:A?ie??s.colors.champion:s.colors.hero,backgroundColor:A?b:se?s.colors.background:_,cursor:$?"not-allowed":A?"default":"pointer","svg:nth-of-type(2)":{display:"none"},":hover":{backgroundColor:s.colors.background,color:s.colors.primary},"& label":{paddingRight:"10px",cursor:$?"not-allowed":A?"inherit":"pointer"},">div>div>div:first-of-type":{display:"flex"}}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({}),indicatorsContainer:()=>({height:"100%",display:"flex",alignItems:"center"})},K=({children:p,...$})=>l.jsxs(ge.ValueContainer,{...$,children:[p,Z===!0?l.jsxs(ka,{hasSelectedUser:!!m,onClick:()=>{c(void 0),V(!1)},children:[l.jsx(Ca,{}),l.jsx("div",{children:Y??"Add User"})]}):null]});return l.jsx(Ll,{onClickAway:()=>{V(!1)},children:l.jsx(xa,{children:l.jsx(_l,{isMulti:!1,menuPlacement:"auto",minMenuHeight:200,maxMenuHeight:200,menuIsOpen:J,menuShouldScrollIntoView:!1,defaultValue:f,value:f,noOptionsMessage:()=>ae.getLocalizedStrings().cockpit.management.noPerson,onInputChange:p=>{p!==""&&V(!0)},onMenuOpen:()=>{V(!0)},placeholder:l.jsx($a,{children:l.jsx("div",{children:Y??"Select..."})}),components:{Option:Ea,DropdownIndicator:Ta,IndicatorSeparator:za,SingleValue:Da,ValueContainer:Va,MenuList:K},hideSelectedOptions:!1,closeMenuOnSelect:!1,styles:Q,options:re,isDisabled:h,onChange:p=>{c(p),V(!1)},isClearable:!1,isSearchable:!1},El())})})}const ja=t.div``,$a=t.div`
|
|
106
106
|
display: flex;
|
|
107
107
|
align-items: center;
|
|
108
108
|
color: ${e=>e.theme.colors.grey1};
|
|
@@ -111,7 +111,7 @@ import{q as Le,d as We,d3 as wl,O as ae,y as O,aP as jl,j as l,c5 as Re,fI as qe
|
|
|
111
111
|
display: flex;
|
|
112
112
|
align-items: center;
|
|
113
113
|
margin-right: ${a.sp2};
|
|
114
|
-
`,Sa=t(
|
|
114
|
+
`,Sa=t(Qe)`
|
|
115
115
|
width: ${a.sp4};
|
|
116
116
|
height: ${a.sp4};
|
|
117
117
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -166,7 +166,7 @@ import{q as Le,d as We,d3 as wl,O as ae,y as O,aP as jl,j as l,c5 as Re,fI as qe
|
|
|
166
166
|
display: flex;
|
|
167
167
|
flex-direction: row;
|
|
168
168
|
cursor: pointer;
|
|
169
|
-
`,pe={width:new O(343,580,726),labelWidth:new O(115,145,155),largeLabelWidth:new O(160,240,240),veryLargeLabelWidth:new O(150,240,245),containerRowGap:new O(12,D[3])},Ba={title:new xe("standardMedium","largeMedium")};function ct({companyOfficerData:e,isDisabled:c,allOfficers:m,allNationalityCountries:h,isRefreshingViewInBackground:F,connectedAccountProvider:g,style:n,isPopupOpen:G,sectionId:y,filesEndPoint:te,authParams:ie,showInfoTooltip:oe=!0,isCompleted:Y=!1,showCompletedIcon:Z=!1,showOfficerSelect:s=!0,showVerificationTag:J=!0,isForTreasury:V=!1,isOverlay:re=!1,productType:f,companyTitles:_,sectionHeader:E,optionalFields:b=[],onOfficerAddressClick:q,onDeleteFile:w,onEditFileName:
|
|
169
|
+
`,pe={width:new O(343,580,726),labelWidth:new O(115,145,155),largeLabelWidth:new O(160,240,240),veryLargeLabelWidth:new O(150,240,245),containerRowGap:new O(12,D[3])},Ba={title:new xe("standardMedium","largeMedium")};function ct({companyOfficerData:e,isDisabled:c,allOfficers:m,allNationalityCountries:h,isRefreshingViewInBackground:F,connectedAccountProvider:g,style:n,isPopupOpen:G,sectionId:y,filesEndPoint:te,authParams:ie,showInfoTooltip:oe=!0,isCompleted:Y=!1,showCompletedIcon:Z=!1,showOfficerSelect:s=!0,showVerificationTag:J=!0,isForTreasury:V=!1,isOverlay:re=!1,productType:f,companyTitles:_,sectionHeader:E,optionalFields:b=[],onOfficerAddressClick:q,onDeleteFile:w,onEditFileName:Q,updateFilesEntity:K,openPopup:p,onGetOtp:$,onVerifyOtp:A,onResendOtp:se,verifiedPhoneNumber:H,onPhoneVerified:X}){const L=Le(),me=We(),{getValues:B,setValue:ne}=wl(),U=m.length>0,[be,we]=d.useState(!1),k=U?Object.values(e).findIndex(o=>o?.isSelectedForVerification===!0):0,M=`Officer_${k<0?1:k+1}`;d.useEffect(()=>{X!=null&&e[M]?.phone!=null&&e[M].isPhoneVerified===!0&&X(e[M]?.phone??"")},[]);const x=`${y}.${k}`,W=e[M],R=V?W?.treasuryUserVerificationStatus:W?.userVerificationStatus,P=m.find(o=>o.userId===W?.userId),u=m.sort((o,C)=>(o.firstName||o.lastName?`${o.firstName} ${o.lastName}`:o.email).localeCompare(C.firstName||C.lastName?`${C.firstName} ${C.lastName}`:C.email)),je=U?u.findIndex(o=>o.userId===W?.userId):0,tl=e[M]?.deleteFileStatusById??{},il=e[M]?.updateFileStatusById??{},Ne=B(`${x}.selectDocument.selectDocumentType`),{common:{optional:ol},commonSetUp:{businessVerification:r},dateFormat:{visual:rl},cockpit:sl}=ae.getLocalizedStrings(),T=f==="onboarding"?r.productType.business_verification:r.productType[f],de=pe.labelWidth.value(L),nl=pe.veryLargeLabelWidth.value(L),he=pe.largeLabelWidth.value(L),dl=L==="small"?r.companyRolePlaceholderSmall:r.companyRolePlaceholder,cl=L==="small"?r.protectedSsnTextSmall:r.protectedSsnText,I=R?.code==="pending_review"||R?.code==="verified"?"readonly":c,pl=I!=null||!U||R?.code==="require_info",ul=P?.firstName||P?.lastName?`${P?.firstName} ${P?.lastName}`:r.addOfficer,ml=W?.userId!=null?r.confirmIdentityDetails:r.confirmIdentityDetailsNewOfficer,hl={menu:()=>({right:"initial",left:0})},fl=o=>_.find(C=>C.code===o)?.name??o,$e=W?.otpverificationStatus?.fetchState,De=jl($e);d.useEffect(()=>{X!=null&&De==="In-Progress"&&$e==="Completed"&&X(B(`${x}.phone`))},[De,$e]);const yl=(o,C)=>{A(o,C)},xl=()=>H==null||H===""?!1:B(`${x}.phone`)===H,gl=()=>{const o=B(`${x}.phone`);return o!=null&&!Fl(o)?r.phoneErrorForOnboarding:r.phoneError.replace("_product_type_",T)};return l.jsxs(Ma,{style:n,windowSize:L,children:[l.jsxs(Wa,{windowSize:L,isOverlay:re,children:[l.jsxs(Ka,{children:[l.jsxs(qa,{children:[Z===!0?l.jsx(Ha,{children:Y?l.jsx(Ua,{}):l.jsx(Ga,{})}):null,l.jsx(Ra,{windowSize:L,children:E??ml})]}),oe?l.jsx(Ya,{children:l.jsx(Re,{variant:"small-description",maxWidth:"275px",data:r.confirmIdentityDetailsTooltip,display:"flex",placement:L==="small"||f==="onboarding"?"bottom":"right",children:l.jsx(Za,{})})}):null,f==="onboarding"&&E!=null?l.jsx(ll,{text:ol}):null,R!=null&&J?l.jsx(lt,{tagTitle:R?.name,textColor:qe(R.code),showLoader:F}):null]}),s?pl?U?l.jsxs(et,{children:[P?.photo!==void 0?l.jsx(Ja,{src:P?.photo.href,alt:sl.userProfileAltText,onError:({currentTarget:o})=>{o.onerror=null,o.src=_e},loading:"lazy"}):l.jsx(Ee,{firstName:P?.firstName??"",lastName:P?.lastName??"",size:`${a.sp4}`,index:je}),l.jsx(Me,{children:`${ul}`})]}):l.jsxs(at,{children:[l.jsx(tt,{children:l.jsx(it,{})}),l.jsx(Me,{children:`${r.addOfficer}`})]}):l.jsx(Qa,{children:l.jsx(wa,{selectedUser:P,allUsers:m,onSelectedUserChanged:o=>{const C=Object.values(e).findIndex(fe=>fe?.userId===o?.userId);ne(`${x}.isSelectedForVerification`,!1),ne(`${y}.${C}.isSelectedForVerification`,!0)},customization:{placeholderLabel:r.addOfficer},showAddUser:m.length<=9,pickerStyles:{backgroundColor:me.colors.grey5,selectedOptionBackgroundColor:me.colors.background,customStyleConfig:L==="small"?hl:void 0}})}):null]}),Object.values(e).map((o,C)=>{if(k!==C)return null;const fe=$l(o?.documentTypeSelectedForVerification),ve=o?.userFiles??[],bl=()=>H!=""&&f==="onboarding"?xl():o?.isPhoneVerified??!1;return l.jsxs(Xa,{children:[l.jsx(el,{}),l.jsx(He,{isDisabled:I,label:{label:r.name,width:de},nameField:{name:N(x,"name"),placeHolder:{firstName:r.firstNamePlaceholder,lastName:r.lastNamePlaceholder,name:r.namePlaceholder},defaultValue:{firstName:o?.firstName??"",lastName:o?.lastName??""},registerOptions:{required:b.includes("name")===!1,validate:j=>b.includes("name")===!1?!!j:!0},showFullNameError:!0},errorInfoLabel:r.nameError.replace("_product_type_",T)}),l.jsx(z,{}),o?.userId==null?l.jsxs(l.Fragment,{children:[l.jsx(ee,{isDisabled:I,showAdditionalInfoLabel:!1,label:{label:r.email,width:de},text:{type:"email",name:N(x,"email"),placeholder:ce(r.email),defaultValue:o?.email,options:{required:b.includes("email")===!1}},additionalInfoLabel:r.emailDescription.replace("_product_type_",T)}),l.jsx(z,{})]}):null,l.jsx(Ue,{isDisabled:I,label:{label:r.dobLabel,width:he},dateField:{name:N(x,"dob"),type:"text",defaultValue:o?.birthday,placeholder:ce(r.dobLabel),dateFormat:rl.defaultInput,maxDate:Se.dateNow().subtract(g==="unit"?18:13,"years"),registerOptions:{required:b.includes("dob")===!1},autoComplete:"off"},additionalInfoLabel:r.dobDescription.replace("_product_type_",T),isMasked:!0}),l.jsx(z,{}),l.jsx(vl,{isDisabled:I,label:{label:r.nationalityLabel,width:de},showAdditionalInfoLabel:f!=="onboarding",additionalInfoLabel:r.nationalityDescription.replace("_product_type_",T),countrySelectField:{name:N(x,"nationalityCountryCode"),placeholder:r.nationalityPlaceholder,defaultValue:Sl(o?.nationalityCountryCode,h.map(j=>j.countryCode)),registerOptions:{validate:j=>!!(j!=null&&j.selectedOption)}}}),l.jsx(z,{}),l.jsx(Oe,{isDisabled:I,label:{label:r.address,width:de},addressValueField:{name:N(x,"officerAddress"),placeholder:ce(r.address),defaultValue:o?.addressStatus?.addressToCreate,registerOptions:{validate:j=>b.includes("officerAddress")===!1?!(I==null&&j==null):!0},onClick:()=>{q(o?.officerType.toLocaleLowerCase().concat("_address"))}},additionalInfoLabel:f==="onboarding"?r.addressAdditionInfo:r.addressError.replace("_product_type_",T),showAdditionalInfoLabel:!0}),l.jsx(z,{}),l.jsx(Ge,{isDisabled:I,label:{label:r.phone,width:de},text:{name:N(x,"phone"),placeholder:ce(r.phone),defaultValue:o?.phone,autoComplete:"new-password",options:{required:b.includes("phone")===!1}},errorInfoLabel:gl(),verificationErrorInfoLabel:r.phoneValidationError,isPopupOpen:G,phoneVerifyButtonProps:{otpChallenge:o?.otpChallenge,showOtpButton:g==="unit",onGetOtp:$,onVerifyOtp:yl,onResendOtp:se,isPhoneVerified:bl(),phoneVerificationStatus:o?.otpverificationStatus,getOtpStatus:o?.sendOtpStatus,openPopup:p,verifiedPhoneNumber:H,focusNotRequired:!0}}),l.jsx(z,{}),l.jsx(Ie,{label:{label:r.companyRoleLabel,width:he},singleSelectField:{singleSelect:{name:N(x,"role"),placeholder:dl,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:fl,isDisabled:I,showTickMark:!1,maxMenuHeight:250},defaultValue:{selectedOption:o?.titleAtCompany,allOptions:_?.map(j=>j.code)??[]},registerOptions:{required:b.includes("role")===!1,validate:j=>b.includes("role")===!1?!(I==null&&!j?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:r.companyRoleDescription.replace("_product_type_",T)}),l.jsx(z,{}),l.jsx(Ve,{isDisabled:I,showAdditionalInfoLabel:!1,label:{label:r.companyOwnershipLabel,width:he},formattedTextField:{type:"number",name:N(x,"ownership"),defaultValue:o?.ownershipInCompany,placeholder:r.companyOwnershipPlaceholder,returnValueType:"floatValue",suffix:"%",allowNegative:!1,isNumericString:!1,registerOptions:{required:b.includes("ownership")===!1,validate:j=>j!=null?j>0&&j<=100:!0,max:100},autoComplete:"new-password"},additionalInfoLabel:f==="onboarding"?r.companyOwnershipDescriptionForOnboarding:r.companyOwnershipDescription}),l.jsx(z,{}),l.jsx(Ve,{isDisabled:I,showAdditionalInfoLabel:!1,label:{label:r.ssnLabel,width:he},formattedTextField:{type:"text",name:N(x,"ssn"),placeholder:r.addSSNPlaceholder,defaultValue:o?.ssn,format:"###-##-####",registerOptions:{required:b.includes("ssn")===!1,pattern:Il},autoComplete:"new-password",maxLength:9,allowLeadingZeros:!0},protectedInfoText:I!=null&&o?.ssn?cl:void 0,additionalInfoLabel:r.ssnDescription.replace("_product_type_",T),isMasked:!0}),l.jsx(z,{}),l.jsx(Cl,{name:N(x,"selectDocument"),officerIndex:k,sizeLimit:Ce,filesEndPoint:te,authParams:ie,onEditFileName:Q,acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],label:{width:nl},allFiles:ve,updateFilesEntity:K,deleteFileStatusById:tl,updateFileStatusById:il,onDeleteFile:w,isDisabled:I,menuPlacement:f==="onboarding"&&fe==null?"top":"auto",defaultValue:{defaultSelectDocumentType:fe,allSelectDocumentType:["driverLicense","passport","ssnCard"],files:{front:ke(!0,ve,Ne),back:ke(!1,ve,Ne)}},registerOptions:{required:b.includes("selectDocument")===!1},hasError:be,additionalInfoLabel:r.companyIdDescription.replace("_product_type_",T),onFileSizeError:j=>we(j),isPopupOpen:G,openPopup:p,companyOfficerName:{firstName:o?.firstName??"",lastName:o?.lastName??""}})]},x)})]})}const N=(e,c)=>`${e}.${c}`,Ma=t.div`
|
|
170
170
|
display: flex;
|
|
171
171
|
flex-direction: column;
|
|
172
172
|
row-gap: ${e=>pe.containerRowGap.valuePx(e.windowSize)};
|
|
@@ -211,10 +211,10 @@ import{q as Le,d as We,d3 as wl,O as ae,y as O,aP as jl,j as l,c5 as Re,fI as qe
|
|
|
211
211
|
width: ${a.sp4};
|
|
212
212
|
border-radius: 50%;
|
|
213
213
|
justify-content: center;
|
|
214
|
-
`,
|
|
214
|
+
`,Qa=t.div`
|
|
215
215
|
margin-right: 14px;
|
|
216
216
|
color: ${e=>e.theme.colors.primary};
|
|
217
|
-
`,
|
|
217
|
+
`,Ka=t.div`
|
|
218
218
|
display: flex;
|
|
219
219
|
align-items: center;
|
|
220
220
|
`,Xa=t.div`
|
|
@@ -253,7 +253,7 @@ import{q as Le,d as We,d3 as wl,O as ae,y as O,aP as jl,j as l,c5 as Re,fI as qe
|
|
|
253
253
|
`,tt=t.div`
|
|
254
254
|
display: flex;
|
|
255
255
|
align-items: center;
|
|
256
|
-
`,it=t(
|
|
256
|
+
`,it=t(Qe)`
|
|
257
257
|
width: ${a.sp4};
|
|
258
258
|
height: ${a.sp4};
|
|
259
259
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as r,aK as x,aL as M,aM as f,O as p,o as s,aR as w,ai as g,aS as
|
|
1
|
+
import{j as r,aK as x,aL as M,aM as f,O as p,o as s,aR as w,ai as g,aS as j}from"./index-MAXVX6UR.js";import{b as t,n as o}from"./vendor-Bs1fkIUX.js";import{c as B}from"./SummaryCard-sp4k0Xek-DgWj-oz4.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./ReloadCard-0q5pQ13T-CKzHIqK2.js";const H=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M25.8382 19.5283C25.8382 19.5283 31.0943 15.1988 31.0943 12.6045C31.0943 11.998 30.7236 11.9138 30.2856 11.9138H20.0263V6.72512C20.0263 6.27027 19.6556 5.9165 19.2176 5.9165H2.74197C2.28712 5.9165 1.93335 6.28712 1.93335 6.72512V20.3706C1.93335 20.8255 2.30397 21.1792 2.74197 21.1792H11.182V27.1765H30.3025C30.7573 27.1765 31.1111 26.8733 31.1111 26.4858C31.0943 24.5822 27.4892 20.9434 25.8382 19.5283Z",fill:"#95C1B7"}),t.createElement("path",{d:"M18.9987 20.1516H1.69754C1.24269 20.1516 0.888916 19.781 0.888916 19.343V5.69754C0.888916 5.24269 1.25953 4.88892 1.69754 4.88892H18.19C18.6449 4.88892 18.9987 5.25953 18.9987 5.69754V20.1516Z",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M18.9987 10.8862H29.2581C29.7129 10.8862 30.0667 10.9705 30.0667 11.5769C30.0667 14.1713 24.8107 18.5007 24.8107 18.5007C26.4616 19.9158 30.0667 23.5546 30.0667 25.4583C30.0667 25.8457 29.6961 26.149 29.2581 26.149H10.1376V20.1517",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M18.9987 20.1516L10.1376 26.1489",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M14.8545 16.3949H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 12.5203H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 8.62878H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),L=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M29.1471 12.9199H19.384V2.69038C19.384 2.2561 19.0302 1.91833 18.612 1.91833H4.13618C3.7019 1.91833 3.36414 2.27219 3.36414 2.69038V30.3391C3.36414 30.7734 3.71799 31.1112 4.13618 31.1112H17.5665H18.612H29.1471C29.5814 31.1112 29.9192 30.7573 29.9192 30.3391V13.692C29.9192 13.2738 29.5653 12.9199 29.1471 12.9199Z",fill:"#97C3B9"}),t.createElement("path",{d:"M26.2595 15.4934H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 25H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 20H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 15H5.53552",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 25H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 20H21",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 10H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 5.36316H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M18.242 30.0978V1.66096C18.242 1.22668 17.8882 0.888916 17.47 0.888916H2.99421C2.55994 0.888916 2.22217 1.24277 2.22217 1.66096V29.3097C2.22217 29.744 2.57602 30.0818 2.99421 30.0818H17.47",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M16.4246 30.0978H28.0052C28.4395 30.0978 28.7772 29.744 28.7772 29.3258V12.6625C28.7772 12.2283 28.4234 11.8905 28.0052 11.8905H18.1617",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10})),v=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M16.3966 31.1111C24.5135 31.1111 31.0936 24.5311 31.0936 16.4141C31.0936 8.29723 24.5135 1.71716 16.3966 1.71716C8.27965 1.71716 1.69958 8.29723 1.69958 16.4141C1.69958 24.5311 8.27965 31.1111 16.3966 31.1111Z",fill:"#97C3B9"}),t.createElement("path",{d:"M15.5859 30.2829C23.7028 30.2829 30.2829 23.7028 30.2829 15.5859C30.2829 7.46898 23.7028 0.888916 15.5859 0.888916C7.46898 0.888916 0.888916 7.46898 0.888916 15.5859C0.888916 23.7028 7.46898 30.2829 15.5859 30.2829Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M3.76135 15.9559C3.76135 20.1148 6.01701 23.745 9.36524 25.6834",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M8.81897 19.9034C8.81897 17.3658 11.85 15.304 15.5859 15.304C19.3219 15.304 22.3529 17.3658 22.3529 19.9034C22.3529 24.8729 8.81897 24.9257 8.81897 19.9034Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M15.5859 13.2245C17.1626 13.2245 18.4407 11.9464 18.4407 10.3697C18.4407 8.79304 17.1626 7.51489 15.5859 7.51489C14.0092 7.51489 12.7311 8.79304 12.7311 10.3697C12.7311 11.9464 14.0092 13.2245 15.5859 13.2245Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M27.0404 15.6035C27.0404 11.4446 24.7848 7.81443 21.4365 5.87598",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),y=[{key:"company_legal_name",title:p.getLocalizedStrings().companyPassportCard.legalName,Icon:L},{key:"company_officer",title:p.getLocalizedStrings().companyPassportCard.companyOfficer,Icon:v},{key:"company_inc",title:p.getLocalizedStrings().companyPassportCard.typeOfInc,Icon:H}],D=o(w)`
|
|
2
2
|
margin: ${s.sp5};
|
|
3
3
|
justify-content: space-between;
|
|
4
4
|
`,W=o.div`
|
|
@@ -35,8 +35,8 @@ import{j as r,aK as x,aL as M,aM as f,O as p,o as s,aR as w,ai as g,aS as H}from
|
|
|
35
35
|
-webkit-box-orient: vertical;
|
|
36
36
|
-webkit-line-clamp: 2;
|
|
37
37
|
overflow: hidden;
|
|
38
|
-
`,C=o(
|
|
38
|
+
`,C=o(j)``,O=o.div`
|
|
39
39
|
width: 100%;
|
|
40
40
|
height: 1px;
|
|
41
41
|
background-color: ${e=>e.theme.colors.grey3};
|
|
42
|
-
`;function
|
|
42
|
+
`;function U({card:e,actions:l,data:c,dndProps:n}){return r.jsx(x,{isDragging:n?.draggedCardType!=null,isDragOver:n?.dragOverCard===e.cardType,draggable:!0,onDragStart:i=>n?.onDragStart(e.cardType,i),onDragOver:i=>n?.onDragOver(i,e.cardType),onDragLeave:i=>n?.onDragLeave(i),onDrop:i=>n?.onDrop(i,e.cardType),dimension:e.dimension,children:r.jsx(B,{card:e,actions:l,children:r.jsx(M,{dimension:e.dimension,style:{cursor:"pointer"},onClick:()=>l.onCardClick(e.cardIndex,e.cardType),"data-testid":f("dashboard",e.cardType),children:r.jsxs(D,{children:[r.jsx(W,{children:r.jsx(V,{children:p.getLocalizedStrings().companyPassportCard.title})}),y.map((i,d)=>{const{title:m,key:a,Icon:h}=i;return r.jsxs(b,{children:[r.jsxs(T,{children:[r.jsx($,{children:r.jsx(h,{height:s.sp5,width:s.sp5})}),r.jsxs(N,{children:[r.jsx(A,{children:m}),r.jsx(S,{data:c?.companyView,itemKey:a})]})]}),d!==y.length-1?r.jsx(O,{}):null]},i.key)})]})})})},e.cardIndex)}const S=({itemKey:e,data:l})=>{const c=l?.companyOfficers,n=l?.company,i=n?.company.companyInfo,d=n?.company.incInfo,m=()=>r.jsx(I,{children:"—"});switch(e){case"company_legal_name":return i?.companyLegalName==null||i.companyLegalName===""?r.jsx(m,{}):r.jsx(k,{children:i?.companyLegalName});case"company_officer":{if(c==null||c?.length===0)return r.jsx(m,{});const a=c.slice(0,10).sort((u,E)=>u.user.createTime?.isAfter(E.user.createTime)===!0?1:-1),h=[a[0].user.firstName,a[0].user.lastName].join("").trim();return r.jsxs(k,{children:[a[0].user.firstName!=null&&a[0].user.firstName!==""?r.jsxs(C,{children:[a[0].user.firstName," "]}):null,r.jsx(C,{children:a[0].user.lastName}),a[0].user.email!=null?r.jsx(C,{children:`${h.length>0?", ":""}${a[0].user.email}`}):null]})}case"company_inc":return d?.companyIncType==null||d.companyIncType===""?r.jsx(m,{}):r.jsx(k,{children:d?.companyIncType});default:return null}};export{U as default};
|