@zeniai/web-cockpit-ui 1.14.22-qa → 1.14.23-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-Csc8UPGK-3Hzrt8sv.js → ACHDetailsPage-DZv7I3Jm-zPHhT4Vj.js} +3 -3
- package/dist/assets/{AIPerformancePage-BNK1zghX-BOagkgDU.js → AIPerformancePage-DCq95N_N-DO8MzOBI.js} +26 -26
- package/dist/assets/{AccountInfoPage-WoQj1Knu-C0NqBhcm.js → AccountInfoPage-wfDS5ToF-BkRJ-lxL.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-BsiMZrTm-CTTq-Yc2.js → AccountInfoPageContent-dgeBtGlm-BSaBGsXw.js} +15 -15
- package/dist/assets/{AccountLockedInfoModal-CaIpZQOZ-CNfkV6iH.js → AccountLockedInfoModal-CqjvVPUE-Cma-cVvt.js} +3 -3
- package/dist/assets/{AccountReconDetailsDrawerPage-BQTm9Igh-DHBcdmQI.js → AccountReconDetailsDrawerPage-BJ1TTvni-CnFKI7ya.js} +11 -11
- package/dist/assets/{AccountRow-mHhwnvVT-DlSD5_cv.js → AccountRow-99zfxKet-iP3hUTyF.js} +19 -19
- package/dist/assets/{AccountsPromoCardStack-jk87J-uY-BgOkj47K.js → AccountsPromoCardStack-CZwrQBcr-BLPwkeVU.js} +8 -8
- package/dist/assets/{AddAddressForCardDrawer-BY-ABNiB-C2mfRuV9.js → AddAddressForCardDrawer-BcOX27nY-CA-KCO8n.js} +2 -2
- package/dist/assets/{AddToWalletPage-BmaqhQ_z-CCkQvzoH.js → AddToWalletPage-CoW0Ppg4-WAfWgl1v.js} +14 -14
- package/dist/assets/{AgingReportsPage-B2tfefId-BASbPXl4.js → AgingReportsPage-Dgi5oFl4-Cao6O7NF.js} +10 -10
- package/dist/assets/{AllUserItems-C5jB4yc_-CbjMIbTC.js → AllUserItems-6iESftSq-BBGiJxHd.js} +9 -9
- package/dist/assets/{ApAgingDetailPage-B-ZHX3JJ-BApKFP0l.js → ApAgingDetailPage-jEL75hOV-BLy4yEPM.js} +3 -3
- package/dist/assets/{AppBasePage-DOXcrTCE-gk9eXfPv.js → AppBasePage-CMHbFdBh-DTT6hgO7.js} +3 -3
- package/dist/assets/{AppDrawerContent-Cav4Sy09-DQ-THdyv.js → AppDrawerContent-NAyrnDCL-B7ak2Xor.js} +40 -19
- package/dist/assets/{ApprovalRulesSettingsPage-rzr9k2jA-BmNSi22b.js → ApprovalRulesSettingsPage-BWraRVsT-BRbAilw6.js} +5 -5
- package/dist/assets/{ArAgingChart-B3NtEWh--BOlmxwm1.js → ArAgingChart-DPrIHwSE-ym_zT_Xu.js} +9 -9
- package/dist/assets/{ArAgingDetailPage-uX2oVxj4-C7e2SNBe.js → ArAgingDetailPage-CdNiD7uR-DccUXEIa.js} +4 -4
- package/dist/assets/{AttachmentView-BQMzs_UT-BMIgc-Op.js → AttachmentView-Cmh726Zl-C82E74gy.js} +3 -3
- package/dist/assets/{BankAccountSection-MWGcLsKa-Dl-WZeBC.js → BankAccountSection-jRnEB-Ut-BpoXdxMl.js} +4 -4
- package/dist/assets/{BankAccountWarningSection-CBlOG9xN-Bzq_eEtP.js → BankAccountWarningSection-KznYA-cf-CV3aOKhB.js} +3 -3
- package/dist/assets/{BankConnectionsSettingsPage-PagAlxUn-CiGjimFc.js → BankConnectionsSettingsPage-BXrsOxcg-CZU1wEnM.js} +15 -15
- package/dist/assets/{BillDetailPage-DU3KKWCI-BZd_KVnK.js → BillDetailPage-glKjF2MJ-CxnS8ehW.js} +5 -5
- package/dist/assets/{BillPayApprovalRuleDetailPage-DzfhQmLn-CV1bwFpI.js → BillPayApprovalRuleDetailPage-DyH2jp6G-BgnVnU6E.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-B051t9Mv-B6BIB1S2.js → BillPayApprovalRulesPage-jctlpXwj-sMvcDhpz.js} +11 -11
- package/dist/assets/{BillPayPromoPage-DvBp9dFZ-Ck3Ntivw.js → BillPayPromoPage-DGyWwW1t-B2E2k4g7.js} +32 -32
- package/dist/assets/{BillPaySetUpPage-D7335PCo-DjOfSrPK.js → BillPaySetUpPage-UfM6FOqW-wZRanfNP.js} +2 -2
- package/dist/assets/{BillingSettingsPage-PsWVXatK-GSxyAYxr.js → BillingSettingsPage-BfMIxeqM-C_WtlbYK.js} +5 -5
- package/dist/assets/{BillsBulkReviewDrawerPage-Dkq-bCpf-Dsb-J7KQ.js → BillsBulkReviewDrawerPage-DhoLC2aT-Cih70QQk.js} +1 -1
- package/dist/assets/{BoxItem-Bf9DDBGl-CQKtUhxk.js → BoxItem-CIOib-WX-Cvut8WLk.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-DZpS0b_1-CT7CCzj9.js → BusinessVerificationPage-Czf-y16x-BBZA7C_w.js} +14 -14
- package/dist/assets/{CardNumberSubText-8FNDlBHV-CNyFCSaC.js → CardNumberSubText-B8CivrXd-CzHZkmhR.js} +2 -2
- package/dist/assets/{CashbackDetailPage-CUc07auE-C19Doku1.js → CashbackDetailPage-BOTxd8DW-CNmZsYqR.js} +17 -17
- package/dist/assets/{ChargeCardDetailPage-D84v0WwQ-DhVPYQn7.js → ChargeCardDetailPage-DbtvRfDc-CRGJceoy.js} +40 -40
- package/dist/assets/{ChargeCardListPage-BFssQAQg-DEX46cKA.js → ChargeCardListPage-Q1zat_TQ-BbazZeau.js} +18 -18
- package/dist/assets/{ChargeCardListTable-BuI0T0Bn-D8Xh4Bma.js → ChargeCardListTable-CKH-EZW4-CiPC1KQt.js} +28 -28
- package/dist/assets/{ChargeCardPromoPage-CRqyciNL-BVrnHPJ6.js → ChargeCardPromoPage-BRkny-dl-BA8MhBiS.js} +30 -30
- package/dist/assets/ChargeCardSetupPage-DM15gWD1-rI_IQnGw.js +36 -0
- package/dist/assets/{ChargeCardStatementsPage-BtImi0Pc-o0pjefqQ.js → ChargeCardStatementsPage-xedf3XEE-CzGfRvhd.js} +7 -7
- package/dist/assets/{ChargeCardUtils-DQztOSYJ-CLG3pIYt.js → ChargeCardUtils-D4KmVUMt-Bgc7_40s.js} +1 -1
- package/dist/assets/{ChaseOverlay-BaGgoJZk-DWWls_0t.js → ChaseOverlay-IbWtzNzT-CiTCJc7A.js} +10 -10
- package/dist/assets/{CheckDepositDrawerPage-90KwCes_-CnbI6CmC.js → CheckDepositDrawerPage-BCIvt4pQ-BUO3GGvc.js} +6 -6
- package/dist/assets/{CollapsableReportTable-dCUjgg1X-Djm0gH1n.js → CollapsableReportTable-jOFcWQi9-BD7j44zD.js} +109 -109
- package/dist/assets/{CompanyOfficerDetailsSection-B5d06n1B-D-gHI0TC.js → CompanyOfficerDetailsSection-DMCZTk1e-CevbfEQw.js} +20 -20
- package/dist/assets/{CompanyPassportCard-BOuhptIV-BgTFJUhX.js → CompanyPassportCard-BbJLMFqe-CAuk2TxY.js} +1 -1
- package/dist/assets/{CompanyPassportPage-CPxR1IKu-C3d76QPp.js → CompanyPassportPage-BwCMcjB9-C5l65FSQ.js} +25 -25
- package/dist/assets/{CompleteProfile-BIN-sI3M-DNy4fSuu.js → CompleteProfile-Dz4laW45-D0LCAfKu.js} +1 -1
- package/dist/assets/{ConfettiBurst-nTrV9Xfw-Dk9LJSUX.js → ConfettiBurst-B2j3QxzW-BoOT7g5H.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-CQH4Gfy0-1OZpFxN1.js → CreateOrEditVendorPage-z2chPZUl-moxdaTde.js} +12 -12
- package/dist/assets/{CreditCardPaymentDrawerPage-C3PvfNmm-DcQwewDZ.js → CreditCardPaymentDrawerPage-Z9RiL1h7-BimNMSu_.js} +17 -17
- package/dist/assets/{CreditCardPaymentPlgSection-Cz-CSdKg-DXgZPZoJ.js → CreditCardPaymentPlgSection-Cg-oo7DU-CbeaX1ko.js} +10 -10
- package/dist/assets/{CurrencySelectField-ltt1zExP-DAkE7-Ko.js → CurrencySelectField-CxNprN2u-CPSD5Bje.js} +2 -2
- package/dist/assets/{CustomerOnboardingActivationPage-Cst56yLP-B_YzYJ6X.js → CustomerOnboardingActivationPage-diAJ07bX-sBysngto.js} +4 -4
- package/dist/assets/CustomerOnboardingContainerPage-BZzvupuA-CSzku5k4.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-H59MLCwU-BgPsJzDd.js → CustomerOnboardingDetailPageSkeleton--8DBjaCm-B9kNPkv6.js} +11 -11
- package/dist/assets/CustomerOnboardingNoStepsPage-Ccq8kI-v-D3QEvGB2.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-1o2R-ghV-Dhqb3SU1.js → CustomerOnboardingPage-s3GNwP8c-p7WLMkGR.js} +6 -6
- package/dist/assets/CustomerOnboardingProductSuitePage-C-tToXNK-4Ab_CkNQ.js +202 -0
- package/dist/assets/{Dashboard-CptSiho6-BwvD4p7k.js → Dashboard-BtcnzaY6-gJck50nw.js} +230 -230
- package/dist/assets/{DashboardReportPage-G32NOQFe-CKy1nC1v.js → DashboardReportPage-C6jLfLtF-BPfMWD5H.js} +9 -8
- package/dist/assets/DashboardSidebarBackgroundAnimation-s8Nl8CmH-Dm61fSUI.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-CQX9MBK--CWCsAg_Q.js → DepositAccTransactionItem-Bm63W_1e-5FIgWMcL.js} +1 -1
- package/dist/assets/DepositAccTransactionListPage-D4QcTw4n-1uhB2yjw.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-Bgm_YYHM-DgP66AFx.js → DomesticWireDetailsPage-DX0BA5i3-Ea2aCTYV.js} +1 -1
- package/dist/assets/{DownloadOverlay-DN4zwFl5-BEzbatXT.js → DownloadOverlay-BcH72YTL-B8MaexAj.js} +1 -1
- package/dist/assets/{DrawerPage-B-jrvyA1-CKA5TJxq.js → DrawerPage-CzHhh0IP-BIFSEwpr.js} +10 -10
- package/dist/assets/{EditPeoplePage-BTXEd5bm-_7IRpStx.js → EditPeoplePage-Z5btEDax-BKTta_xp.js} +7 -7
- package/dist/assets/{EditReimbursementDetailPage-5-BeM3DC-Dvvb6wio.js → EditReimbursementDetailPage-D_FsqRgU-DhM4BWkK.js} +74 -74
- package/dist/assets/{EntityDetailPage-CCTwe1iu-C-sJ83i-.js → EntityDetailPage-Bc4YVpPC-DWs1zPrx.js} +3 -3
- package/dist/assets/{EntitySummarySection-B7uoP2ou-CTFdZL_q.js → EntitySummarySection-Ba6AWxNi-BdQCQZ3F.js} +4 -4
- package/dist/assets/ExpenseAutomationOverviewPage-Cg0sM_PI-vkhdPOgy.js +222 -0
- package/dist/assets/{ExpenseAutomationPage-o8ox1q0R-CHZ8rQmT.js → ExpenseAutomationPage-EjI20a6v-rIac0d4o.js} +90 -90
- package/dist/assets/{ExpressPayPage-BdUERste-DCzQgqA4.js → ExpressPayPage-562vstqT-BTrZQzDN.js} +10 -10
- package/dist/assets/{FeaturePreviewPage-B6_exSoS-BqYYdx51.js → FeaturePreviewPage-eUvRNjsx-D93wu9_Y.js} +1 -1
- package/dist/assets/{FollowStepsSection-BoA-EzkO-d1Bp0uLs.js → FollowStepsSection-D60JM8h_-WgnL9DSD.js} +11 -11
- package/dist/assets/{GlobalReviewListPage-CYjobk5Y-BAd8-MIV.js → GlobalReviewListPage-BpXEtrb4-CJJjyGfo.js} +6 -6
- package/dist/assets/HelpButton-hflpTkYP-BxxKYxfC.js +28 -0
- package/dist/assets/{InformationCardStack-Dvu4sQsc-C3V_rhfP.js → InformationCardStack-BsxmscQq-CSrArWRb.js} +3 -3
- package/dist/assets/{InsightsCardStack-DffcRWuM-DdMPB19q.js → InsightsCardStack-5JDl2mCA-CZ5TshWK.js} +7 -7
- package/dist/assets/{InsightsSection-C8Oi6wcZ-BTvSiRSk.js → InsightsSection-DsO5tfQL-CBUNqXt7.js} +4 -4
- package/dist/assets/{IntegrationsSettingsPage-C0VZQfG_-DdjKQOAK.js → IntegrationsSettingsPage-MQDeidS6-BKVTNE0x.js} +6 -6
- package/dist/assets/{InternationalWireSwiftDetailsPage-SAcvo9BB-DcOwGqfC.js → InternationalWireSwiftDetailsPage-CpT4WPn3-b0nQCCWc.js} +14 -14
- package/dist/assets/{InternationalWireVerificationPage-8Ff3v4gu-Cv5Opxe0.js → InternationalWireVerificationPage-DlBFLwxy-BIViCBlF.js} +5 -5
- package/dist/assets/InviteFormPage-D0QCEMkX-DZr12vmY.js +312 -0
- package/dist/assets/{InvitePageListView-DG91-L1w-Ccb2SPnd.js → InvitePageListView-CVf8HrhY-cBhycZNO.js} +24 -24
- package/dist/assets/{InvitePeoplePage-6ANmf4z2-Gjpd5Nlk.js → InvitePeoplePage-Dg7iuq2i-Cx5QFhMU.js} +4 -4
- package/dist/assets/{InvoiceUploadSection-C4O7GGrv-DmRrXww6.js → InvoiceUploadSection-BuwWumE2-CTijWOqK.js} +5 -5
- package/dist/assets/{IssueChargeCardPage-gohjPIRu-CyjyM7F6.js → IssueChargeCardPage-DL23WAiQ-CCNHr1-9.js} +26 -26
- package/dist/assets/{LabeledAddressValue-C6EUPzNB-QLBvt6jx.js → LabeledAddressValue-CnL_9Mgq-C1-zs_ut.js} +1 -1
- package/dist/assets/LabeledAddressValueField-DLou-2Lm-30_LmoCw.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-TB_2rc3R-D1lghLfJ.js → LabeledControlledCheckBoxField-DqrqiFhz-GyWAbp3D.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-CdgNcgTu-BM53pRh3.js → LabeledCreatableSingleSelectField-CxnC4AFe-BOkJ5-5r.js} +8 -8
- package/dist/assets/{LabeledDocumentField-CzTqgS97-DgW-cOWG.js → LabeledDocumentField-By7zV2VD-Deh87JH9.js} +4 -4
- package/dist/assets/{LabeledDropDownFormattedTextField-CVzL0J5a-CG2mVZcx.js → LabeledDropDownFormattedTextField-BF37XlAJ-B3ToXjDJ.js} +6 -6
- package/dist/assets/{LabeledText-BICN3vpf-j9xXYGac.js → LabeledText-D4fC1Hz2-Cxv5m94v.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-VeWNep8c-5ZbgY5UP.js → LabeledUserSingleSelectWithSubtitlesField-DMxSLbjX-B9c0Mx1N.js} +7 -7
- package/dist/assets/{LabeledZeniRolesDropDownField--Jr1KizL-C9drclxV.js → LabeledZeniRolesDropDownField-CTA3JLz4-D4MXXizm.js} +17 -17
- package/dist/assets/{LinkJETransactionPage-BNWOmBHj-7bLiUwjm.js → LinkJETransactionPage-CLAyFAJh-Dm40KZjj.js} +5 -5
- package/dist/assets/{LowBalancePopup-Dhrtsv_E-CHi-1sQp.js → LowBalancePopup-TCSP5zrD-BmN6CG0D.js} +7 -7
- package/dist/assets/{MagicLinkACHDetailsPage-Brt9q6YZ-BF1Po-XI.js → MagicLinkACHDetailsPage-C9sNEDPT-D6e_XUAG.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-CkSEgmKP-CnsVUDeG.js → MagicLinkDomesticWireDetailsPage-D4C-a5QY-DOB7ds5g.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-CqYC7uu7-CBxvvvyS.js → MagicLinkInternationalWireDetailsPage-oKAXWkRz-ICvIdgn3.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-VR-HSAYZ-ekYBsb2w.js → MagicLinkSuccessPage-DTKe1Hxk-D3l_qzGn.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-T6m2zH4A-BfT3nCUx.js → MagicLinkTitleSection-BZ9PbTY5-DGA-Kfl0.js} +4 -4
- package/dist/assets/{MailingDetailsSection-B6ZCAac5-cPG_LVX_.js → MailingDetailsSection-DOuPh_kK-CJdFvtR9.js} +6 -6
- package/dist/assets/{MeetingCalenderPopup-CgzTeE14-B1g5YUjL.js → MeetingCalenderPopup-Bn5picNg-BZadZTcq.js} +1 -1
- package/dist/assets/{Menu-DOJJ_REW-BCRwc2vM.js → Menu-D_vf2LDo-39KwK8wM.js} +3 -3
- package/dist/assets/{MyBankConnectionsSettingsPage-C_NrRV7T-Q0JyO2hZ.js → MyBankConnectionsSettingsPage-DJZVD_j4-CYkcPYeU.js} +14 -14
- package/dist/assets/{MyPendingActivationChargeCardListPage-CNHCZPs--CWT-l6Ro.js → MyPendingActivationChargeCardListPage-DyhXBMCi-DtFEW_4I.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-CIfFufvo-DTHqDNHT.js → MyProfileSettingsPage-gPNoKP10-gCIICwqR.js} +10 -10
- package/dist/assets/{NavBarWithPicker-CvhnGryh-DdhjHjGJ.js → NavBarWithPicker-BlYfbDi0-BiD5rNBH.js} +5 -5
- package/dist/assets/{NavigationArrow-CXkUidH6-2_3iCUtc.js → NavigationArrow-CQ_K0Bon-C-8VFiTg.js} +1 -1
- package/dist/assets/{NavigationDots-hBq7kHVj-BCo98sBw.js → NavigationDots-CI0cjpQA-B6oVaxeu.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-DORHvz4D-BRtrbYV8.js → NewGlobalMerchantPage-BHQiRWO8-or4Uc_HY.js} +6 -6
- package/dist/assets/{NoDataChart-C4KqN3ua-9QC86ow3.js → NoDataChart-Dg1_sU_O-flEThGvM.js} +1 -1
- package/dist/assets/{NoDataTable-DaX07HI0-DUwVgUQv.js → NoDataTable-qTYBbL2H-BGrSHe_q.js} +1 -1
- package/dist/assets/{NotFoundPage-BIh20jzm-sVTg_rO_.js → NotFoundPage-DYjrSF7l-D7C6Z_Gh.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-gU3g8rJ2-Dg6_eEe0.js → NotificationSettingsPage-DZHlnrbH-D8paihJx.js} +13 -13
- package/dist/assets/NotificationsListConfig-BSBZHM3y-CGdVXHfi.js +1 -0
- package/dist/assets/{NotificationsPage-oy3LHVU2-JTZhFwYV.js → NotificationsPage-QgnztPHs-CnFUIBHp.js} +35 -35
- package/dist/assets/{OpExByVendorPage-D8jXzTd6-OW9DyZtS.js → OpExByVendorPage-_AMvFFwS-DGSt9CNm.js} +7 -7
- package/dist/assets/{OverlayContainerPage-Bmu909Fo-BNCWaeLU.js → OverlayContainerPage-Bmu909Fo-CI9x-FUu.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-BQW2_QDB-jLVVbQw5.js → PandLWithForecastPage-D_3EfFjd-JoBuR2Ry.js} +10 -10
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-CY9QJXXs-DuCBh-5g.js → PaymentAccountSetupBillingAddressSection-Ch5yJBuG-Czoqfz5V.js} +5 -5
- package/dist/assets/{PeoplePage-B7s3mjRX-C_HkK47k.js → PeoplePage-DZr3Lusf-M76DhnJE.js} +23 -23
- package/dist/assets/PortfolioAllocationFormPage-Byu_8Js7-CWAHnet9.js +207 -0
- package/dist/assets/{PortfolioDetails-BFqRNjFs-B16IZ_Hj.js → PortfolioDetails-BH-sfG9j-CdKUfZw3.js} +19 -19
- package/dist/assets/{ProductsCarousel-BaTq9uMB-BdtwLLGf.js → ProductsCarousel-C4J19mb--DcgR5jdw.js} +5 -5
- package/dist/assets/{PromoBaseCards-Bf3Dizji-CUuhVAFC.js → PromoBaseCards-Bj4SLu8_-CC7a127A.js} +7 -7
- package/dist/assets/{QBOConnectionDialog-DhOSSZ5O-Cmx6oO5C.js → QBOConnectionDialog-Bx6ZDEvY-BRYqXjwh.js} +7 -7
- package/dist/assets/{QBOSetupSection-BWJoUKzu-D4FI2JWK.js → QBOSetupSection-BCdoUjwK-BF2gwacX.js} +9 -9
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CiebC6vq-7wS_9PV2.js → ReimbursementApprovalRuleDetailPage-DsTMXav9-B1Ngpniy.js} +2 -2
- package/dist/assets/{ReimbursementApprovalRulesPage-gKLkrIyV-Ct61U8sq.js → ReimbursementApprovalRulesPage-CJLcH9Ov--aMB2wIm.js} +9 -9
- package/dist/assets/{ReimbursementDetailPage-BF4vlfIm-CveG64HT.js → ReimbursementDetailPage-Ctgt3Dcz-Bah5s5HT.js} +11 -11
- package/dist/assets/{ReimbursementPromoPage-BFwztEak-DRUSiKPZ.js → ReimbursementPromoPage-DCmevd5G-RVnIiUe8.js} +14 -14
- package/dist/assets/{ReimbursementSetUpPage-D1AVnqd4-Bl9OuMjF.js → ReimbursementSetUpPage-Dc9xJUbM-BRgUtgcr.js} +4 -4
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BsqdpOS_-C8Evgmpl.js → ReimbursementsBulkReviewDrawerPage-CKjHGxjw-DAh9TKrH.js} +1 -1
- package/dist/assets/{ReloadCard-BmYf1NZf-CKjtyagc.js → ReloadCard-DxJMY9If-DFVN_BWj.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-yTxheyC3-DiW7eeSj.js → ReportTableViewSelector-lMBROmrI-C57N0Ev_.js} +11 -11
- package/dist/assets/{ReportsPage-DZtCp9CP-CW3zHRvy.js → ReportsPage-DMYLnwc7-C986BuH8.js} +10 -10
- package/dist/assets/{RevenueChart-CXSh5l_p-Cvtb1pE9.js → RevenueChart-DD8vb3zi-DI64DZjn.js} +1 -1
- package/dist/assets/ReviewDetailsPage-C-6hNb3q-Bs8iB-Q6.js +290 -0
- package/dist/assets/{ReviewOverlay-B2jf6tfG-DrMTBexr.js → ReviewOverlay-sqbjCjkE-BYmWnWTV.js} +10 -10
- package/dist/assets/{RoleWithToolTip-DHdLJcWR-BIiBiCaf.js → RoleWithToolTip-BpMhPbAJ-D4xuhbtR.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-CY0i2n7i-Dy9Fl63v.js → ScheduleDetailsFixedAssetsPage-D1uRcS4p-n5wC_akR.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-CVh8-Sc9-BWH1TrGv.js → ScheduleDetailsPage-D8Cvxd7m-bSm3GRae.js} +4 -4
- package/dist/assets/{ScheduleSequenceTable-8qqeMhAk-DxeA_i7k.js → ScheduleSequenceTable-CvqXlh31-iJzQjEX9.js} +50 -50
- package/dist/assets/{ScreenRoutes-Dmbs-WC7.js → ScreenRoutes-CG3ALmQe.js} +1 -1
- package/dist/assets/SetUpAccountSection-CDXmRiGQ-DykmFmYq.js +378 -0
- package/dist/assets/{SetUpDefaultSection-BM57n5BV-DVG6pZDR.js → SetUpDefaultSection-VPie4JZS-CUUkgLvy.js} +6 -6
- package/dist/assets/SignIn-9DfCxy9Q-D5TOW1KJ.js +407 -0
- package/dist/assets/{SignInScreen-D9xxiCVL.js → SignInScreen-C5ZC9m_8.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-BphSarNr-Cl92vHkt.js → SpendManagementListViewPage-Q5bQb3hk-BwLto-DN.js} +4 -4
- package/dist/assets/{SpendManagementPerTabPage-DCkS4HuZ-BBuwXYWk.js → SpendManagementPerTabPage-CD-kDdxa-BPnAzojr.js} +26 -26
- package/dist/assets/{SpendManagementSection-DKqHikhq-hB-bTkoV.js → SpendManagementSection-DGGOMGEz-BERrqLUW.js} +6 -6
- package/dist/assets/{SpendMgmtSetupAccountSection-BF7bb5O_-CZUZZ_7E.js → SpendMgmtSetupAccountSection-CjqaRCUW-DdnBx9W6.js} +21 -21
- package/dist/assets/{StatementItem-Ki_Mzpf9-FWP9W3D7.js → StatementItem-1vBLASxl-Bg-WCzCW.js} +4 -4
- package/dist/assets/{StatementsPage-B6XMWWpt-CfSSyoxA.js → StatementsPage-cCluGN33-CUSb15rA.js} +1 -1
- package/dist/assets/{StatusSwitcher-BkAnAbyd-DhZFTaVL.js → StatusSwitcher-efLzDuyw-yZjEoNnl.js} +2 -2
- package/dist/assets/{SubTabSwitcher-Au3snima-KoDMUDJP.js → SubTabSwitcher-BfYlJKJ6-0yeg6J8n.js} +1 -1
- package/dist/assets/{SummaryCard-B-IXQpJ7-Bb42YLKq.js → SummaryCard-BsPejHZG-DSp7yYcI.js} +1 -1
- package/dist/assets/{TaskManagementPage-BPNEy-p0-BA-MVkpi.js → TaskManagementPage-CkdITpbn-BnN3mtBv.js} +31 -31
- package/dist/assets/{TimeRangeSwitcher-DpDC0FGn-BeYaJEn7.js → TimeRangeSwitcher-DVB0vP5W-Bka-ygDj.js} +5 -5
- package/dist/assets/{TimeframeSwitcher-D1cuigpc-Cz5nqZB9.js → TimeframeSwitcher-BmhH741X-Bq2UrAGM.js} +2 -2
- package/dist/assets/{TimeframeSwitcherWithToggle-_2U17Wg0-DGs87cY3.js → TimeframeSwitcherWithToggle-B1bMIGal-PXrqXkjU.js} +1 -1
- package/dist/assets/{TopExCard-BWOozDK3-DDnX9T6b.js → TopExCard-DBuo1QUF-Bqy_yS0O.js} +6 -6
- package/dist/assets/{TopExDetailPage-DpYLakrO-DvZBg7fP.js → TopExDetailPage-CGPgaWRb-BefBmW9C.js} +20 -20
- package/dist/assets/TransactionDetailPage-BUP-dxVE-Bluz2ZEA.js +912 -0
- package/dist/assets/TransactionList-DP9cEVya-Dnf5dIML.js +147 -0
- package/dist/assets/{TransactionListBig-CefZbd83-DMzncjPA.js → TransactionListBig-B_s15U1P-DxO9dvuT.js} +15 -15
- package/dist/assets/{TransactionListPage-CM319tsV-zDExAxeI.js → TransactionListPage-DpYLFl8A-CtiLL9up.js} +6 -6
- package/dist/assets/{TransactionVendorDetailPage-Z7O-juRN-BW7z7Azf.js → TransactionVendorDetailPage-DqqSV533-DMSzEnyq.js} +4 -4
- package/dist/assets/{TransferDrawerPage-0vQtF6ID-D9OzOZ5A.js → TransferDrawerPage-CxdQzo0m-DrhEn9ys.js} +79 -79
- package/dist/assets/{TreasuryOverviewPage-DaCuL9FX-DYMVFkUe.js → TreasuryOverviewPage-D7vqj60i-DA26_cse.js} +22 -22
- package/dist/assets/{TreasuryPromoPage-BQ6Cuqoa-BaiGRfzl.js → TreasuryPromoPage-BuxEHMpT-BDwacXK1.js} +12 -12
- package/dist/assets/{TreasurySetupPage-BJRBNCvY-D5jIb5sO.js → TreasurySetupPage-BIfbbeL3-V_YXLN-n.js} +4 -4
- package/dist/assets/{TreasuryStatementsPage-z6cg-MO_-CmmWNkYy.js → TreasuryStatementsPage-BeUdQZBc-XNPULVYt.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-DP-c4Sqo-C_l8Gxih.js → TreasuryTaxLetterPage-uFRMjqLn-CGfm28c4.js} +1 -1
- package/dist/assets/{TreasuryTransferOrReviewPage-BGfIlPXx-BehP5Xwy.js → TreasuryTransferOrReviewPage-BWybwqhc-Cp5gifXq.js} +27 -27
- package/dist/assets/{TrendChart-BAMRDfp7-C3XYi6nw.js → TrendChart-7kPgcETh-CZhHOMVt.js} +4 -4
- package/dist/assets/{TrendWithTransactions-CgbouMHP-DZBB4tt9.js → TrendWithTransactions-DPby1I5u-yXfJ3Iyk.js} +8 -8
- package/dist/assets/{UncategorizedAccountsMappingPage-DUVjNpg2-BHgtmgBi.js → UncategorizedAccountsMappingPage-DEkSWWRY-BWS3cZYH.js} +11 -11
- package/dist/assets/{UnitIntegrationPage-DSWbn8gm-B4Ou25f_.js → UnitIntegrationPage-B5yzIJDg-DXMgkfWr.js} +3 -3
- package/dist/assets/{UploadAdditionalDocumentOverlay-BFn9gixM-BNf1qOT4.js → UploadAdditionalDocumentOverlay-Deu0hM2I-3QkNgcQ9.js} +8 -8
- package/dist/assets/{Vendor2FAPopup-CA-cVVNX-if5nT9kw.js → Vendor2FAPopup-DUyiI_-r-CLW3sS1X.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-Hdw6gHNB-Dbljblmv.js → VendorACHDetailsPage-DycUU3MN-Bh437Vzf.js} +1 -1
- package/dist/assets/{VendorDetailPage-CceVHonS-Pq3jkMrt.js → VendorDetailPage-B9pWIvXP-p9O1B1Vq.js} +21 -21
- package/dist/assets/{VendorDomesticWireDetailsPage-ChF-hj1o-BZmPD8iA.js → VendorDomesticWireDetailsPage-Cs35uQOp-DDOAIhlv.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-BnMmu8g4-BrMoF3qX.js → VendorFiling1099EditablePage-BeuSWFCY-Ca6Gux7v.js} +11 -11
- package/dist/assets/{VendorFirstReviewPage-C9LNBxKs-F-MIWQgi.js → VendorFirstReviewPage-ANhBsl69-D02KU5IA.js} +63 -63
- package/dist/assets/{VendorInternationalWireDetailsPage-B8F_1TYL-Bsx2kP_t.js → VendorInternationalWireDetailsPage-BShiEKaz-BZSIpE6n.js} +31 -31
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-HuCjhvn4-Cqo_E_R0.js → VendorInternationalWireSwiftDetailsPage-B_NlK1ak-UtHTf4LD.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-Cj3NFdKN-CZGZ3lbp.js → VendorsAccountsSection-BclWgEaB-DOMr50bF.js} +4 -4
- package/dist/assets/VerifyDevice-CRrOo66b-ZlA7gEbg.js +97 -0
- package/dist/assets/{VideoPopup-0LSxcyRX-Dg1obuHI.js → VideoPopup-qS-ig_U0-VKyag34q.js} +3 -3
- package/dist/assets/{WarningsDrawerPage-DR9oeIuj-BGAzKYV3.js → WarningsDrawerPage-DgRtxLoa-C9d8WcDP.js} +2 -2
- package/dist/assets/{ZeniAccountDetailPage-DHl0vyQ0-QUKSLtDI.js → ZeniAccountDetailPage-B66nIr0V-6bf8tksW.js} +21 -21
- package/dist/assets/{ZeniAccountListViewPage-BC1yUQbd-DvE1_-3Q.js → ZeniAccountListViewPage-CWhZKmoP-42K6r0wR.js} +10 -10
- package/dist/assets/{ZeniAccountNavBarPieces-CpKh4Vxw-C7ZAIazr.js → ZeniAccountNavBarPieces-C6MQhfnU-CnbDnx7e.js} +2 -2
- package/dist/assets/{ZeniAccountPromoPage-BaRzPlIW-KoQmtnm_.js → ZeniAccountPromoPage-C-oF3-HO-DisOzRKq.js} +16 -16
- package/dist/assets/{ZeniAccountSetupPage-CveI2__B-D63zX7um.js → ZeniAccountSetupPage-DY-nCuiT-B3gBHMad.js} +4 -4
- package/dist/assets/{ZeniCopyright-D6e3OekQ-DUr2raAa.js → ZeniCopyright-rY1T9xhh-Dfov-yky.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-BqyHxYBn-BeVNGkCh.js → ZeniTransferAmountSlider-Bh5zkWst-Bed32C-4.js} +1 -1
- package/dist/assets/analytics-B3n5JGPc.js +7 -0
- package/dist/assets/{analyticsHelper-kBY_WnuZ.js → analyticsHelper-B0L0ncmN.js} +1 -1
- package/dist/assets/{analyticsHelper-CYiy63P3-ZsDfu10l.js → analyticsHelper-BcJgRhqY-D6z677ff.js} +1 -1
- package/dist/assets/chartTypes-BoblEsVF-BVffEXCf.js +1 -0
- package/dist/assets/{commonDimensions-DbTYS1hy-q1OJGzej.js → commonDimensions-CFd7y7qU-C7Jvc2Ks.js} +1 -1
- package/dist/assets/{detailCommon-BeqWtSZF-DN5q8hn4.js → detailCommon-MYixZ3RD-BFmVTLGA.js} +6 -6
- package/dist/assets/{downloadPdf-CLTp2aZt-ev2v3-yy.js → downloadPdf-CgupyHRa-D9AEGU0d.js} +1 -1
- package/dist/assets/{index-NilHeiJu.js → index-B8OsEhOZ.js} +753 -749
- package/dist/assets/{mapLoadingInProgressToTreeNode-Dl_IFb2l-Cq8XhJtM.js → mapLoadingInProgressToTreeNode-B8Y_euQR-DOx1e8cj.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BAhSN9Et-CnYxsg0R.js → mapSectionWithAcOnlyToTreeNode-jBSc45Na-BDZbXmNV.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-3b46l63c-CMjlOqUe.js → mapSpacerToTreeNode-COy8gZAM-BaCmq5hE.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-3pTXOISe-UJZDjMX_.js → mapTimeframeBalancesToTreeNode-BodkMcFj-QmE2hfm4.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DJqcH4tL-dBteZqAP.js → mapTimeframeBalancesToTreeNode-DXla81BF-zj0mJKeb.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-yhbtLbK2-B3XLpQv_.js → mapTimeframeHeaderLoadingInProgressToTreeNode-XVJ2Hm74-BHeVK-te.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-D49XFhoj-p77KsEJK.js → toCOABalancesWithID-CndsNNsv-CWYFJv_O.js} +1 -1
- package/dist/assets/{toChartData-C9pHl0xA-peeaxrwr.js → toChartData-B9eYLI57-CKqynvrs.js} +1 -1
- package/dist/assets/{treasuryColorHelper-CkjbPhqI-DTu39-tM.js → treasuryColorHelper-D4iDeX95-DVOhzALi.js} +1 -1
- package/dist/assets/{uploadAttachment-BniS82zn-CRjJ8eJB.js → uploadAttachment-C2I6mBBB-CPoUzWwI.js} +14 -14
- package/dist/assets/{uploadReceipts-dxsKhm9I-D4Vuwibk.js → uploadReceipts-dxsKhm9I-YtN4h-4H.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ChargeCardSetupPage-BzqdaEET-DBBXZ-n5.js +0 -36
- package/dist/assets/CustomerOnboardingContainerPage-B9rA9JXM-BcEPhc3o.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-B8cf9wWc-C5L0Tki4.js +0 -66
- package/dist/assets/CustomerOnboardingProductSuitePage-Dfv86gVc-09rPr3CW.js +0 -202
- package/dist/assets/DashboardSidebarBackgroundAnimation-DTkdczBR-v_i9-lwP.js +0 -12
- package/dist/assets/DepositAccTransactionListPage-C6lB4Qyv-CuZ8nnnO.js +0 -66
- package/dist/assets/ExpenseAutomationOverviewPage-Bz-2JPdW-Do3fJYNG.js +0 -222
- package/dist/assets/HelpButton-DEwtg0Ez-DdlPkijU.js +0 -28
- package/dist/assets/InviteFormPage-CRRvruND-CnzFaBAu.js +0 -312
- package/dist/assets/LabeledAddressValueField-CC4nYBb8-CaZARfW3.js +0 -45
- package/dist/assets/NotificationsListConfig-C14JCaD1-htQ299sQ.js +0 -1
- package/dist/assets/PortfolioAllocationFormPage-eonsRKDg-D0R6dTFQ.js +0 -207
- package/dist/assets/ReviewDetailsPage-DG7ms5Hy-CwXT2Ca2.js +0 -290
- package/dist/assets/SetUpAccountSection-CKdSkMBO-RvUBOtno.js +0 -378
- package/dist/assets/SignIn-BMjCrrGx-B6jW8hme.js +0 -407
- package/dist/assets/TransactionDetailPage-Bxzam_ho-ytwgKMhn.js +0 -878
- package/dist/assets/TransactionList-CEfjoVPA-Fnrm73eH.js +0 -147
- package/dist/assets/VerifyDevice-dg83_W2W-db8vxgEO.js +0 -96
- package/dist/assets/analytics-CBL_L82S.js +0 -7
- package/dist/assets/chartTypes-sx4859ds-DQIhaauj.js +0 -1
package/dist/assets/{AccountInfoPage-WoQj1Knu-C0NqBhcm.js → AccountInfoPage-wfDS5ToF-BkRJ-lxL.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as f,e as P,j as t,gh as $,o,C as a,h0 as j,
|
|
1
|
+
import{u as f,e as P,j as t,gh as $,o,C as a,h0 as j,s as i}from"./index-B8OsEhOZ.js";import{b as y,n}from"./vendor-rkTZJa59.js";import{K as z}from"./StatusSwitcher-efLzDuyw-yZjEoNnl.js";import{r as A}from"./AccountInfoPageContent-dgeBtGlm-BSaBGsXw.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./downloadPdf-CgupyHRa-D9AEGU0d.js";import"./commonDimensions-CFd7y7qU-C7Jvc2Ks.js";const r={pageTitleMarginXAxis:new a(i[4],i[8]),containerPaddingLeft:new a(i[3],i[6],i[8]),containerPaddingRight:new a(i[3],i[6],i[8])},B=({authParams:e,downloadAccountDetailEndPoint:l,depositAccount:s,zeniAccountsConfigDetail:m,currentTenant:p,onDismissClick:u})=>{const g=f(),d=P(),[c,h]=y.useState("achDetails"),x=w=>{h(w)};return t.jsxs(D,{children:[t.jsx($,{title:"",backgroundColor:g.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:u}),t.jsx(S,{windowSize:d,children:s.accountName}),t.jsx(T,{children:t.jsx(z,{tabIds:["achDetails","wireDetails"],selectedTab:c,entity:"zeni_accounts",onTabSelectedChange:x,isSwitcherLeftAlign:!0})}),t.jsx(v,{windowSize:d,children:t.jsx(A,{authParams:e,downloadAccountDetailEndPoint:l,currentTab:c,zeniAccountsConfigDetail:m,currentTenant:p,depositAccount:s})})]})},v=n.div`
|
|
2
2
|
padding-left: ${e=>`${r.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
3
3
|
padding-right: ${e=>`${r.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
4
4
|
`,D=n.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as we,fi as Ae,h1 as
|
|
1
|
+
import{e as we,fi as Ae,h1 as Q,j as r,M as Se,bB as D,n as Te,$ as z,o as a,am as ve,by as Ce,g as E,i as ee,az as De,fk as ze,p as re}from"./index-B8OsEhOZ.js";import{b as s,n as t}from"./vendor-rkTZJa59.js";import{w as Le}from"./downloadPdf-CgupyHRa-D9AEGU0d.js";import{o as _e}from"./commonDimensions-CFd7y7qU-C7Jvc2Ks.js";const{common:{strings:Ee,copyToClipBoard:y},spendManagement:{zeniAccounts:{zeniAccountDetail:V},billPay:{vendorCreation:{achDetails:o}},downloads:F}}=Se.getLocalizedStrings(),We=({authParams:e,downloadAccountDetailEndPoint:ae,currentTab:f,depositAccount:n,zeniAccountsConfigDetail:u,currentTenant:g})=>{const oe=we(),[,R]=Ae(),[k,te]=s.useState(!1),[se,ce]=s.useState(!1),[ne,ie]=s.useState(!1),[le,de]=s.useState(!1),[be,ue]=s.useState(!1),[me,pe]=s.useState(!1),[he,xe]=s.useState(!1),[fe,$e]=s.useState(!1),[p,I]=s.useState(!1),[N,J]=s.useState(!1),[j,P]=s.useState(!1),[w,q]=s.useState(!1),[A,B]=s.useState(!1),[S,G]=s.useState(!1),[T,O]=s.useState(!1),[$,U]=s.useState(!1),v=g?.company?.companyInfo.companyLegalName,C=Q(u.zeniAccountsConfigDetail.mailingAddress).text2,m=Q(u.zeniAccountsConfigDetail.bankAddress).text2;s.useEffect(()=>{(p||S||T||$||A||$||j||N||w)&&setTimeout(()=>{I(!1),G(!1),O(!1),U(!1),B(!1),q(!1),P(!1),J(!1)},1200)},[p,S,T,$,A,w,j,N]);const H=(h,c)=>{switch(h){case"accountType":ce(c);break;case"acccountNumber":ie(c);break;case"routingNumber":de(c);break;case"bankName":ue(c);break;case"beneficiaryName":xe(c);break;case"beneficiaryAddress":pe(c);break;case"bankAddress":$e(c);break}},ye=h=>{let c;h==="achDetails"?c=`${o.bankRoutingNumber} ${n.routingNumberAch}
|
|
2
2
|
|
|
3
3
|
${o.accountTypeLabel} ${n.accountSubType.name??""}
|
|
4
4
|
|
|
@@ -18,7 +18,7 @@ ${o.beneficiaryName} ${v}
|
|
|
18
18
|
|
|
19
19
|
${o.bankAddress} ${m}
|
|
20
20
|
|
|
21
|
-
${o.beneficiaryAddress} ${C}`,R(c),I(!0)},i=(h,c,x,
|
|
21
|
+
${o.beneficiaryAddress} ${C}`,R(c),I(!0)},i=(h,c,x,K)=>{let d,l;switch(x){case"acccountNumber":d=ne,l=T;break;case"accountType":d=se,l=S;break;case"bankName":d=be,l=A;break;case"beneficiaryName":d=he,l=N;break;case"beneficiaryAddress":d=me,l=w;break;case"bankAddress":d=fe,l=j;break;default:d=le,l=$;break}const je=()=>{switch(x){case"accountType":G(!0);break;case"acccountNumber":O(!0);break;case"routingNumber":U(!0);break;case"bankName":B(!0);break;case"beneficiaryName":J(!0);break;case"beneficiaryAddress":q(!0);break;case"bankAddress":P(!0);break}};return r.jsxs(Be,{onMouseEnter:()=>H(x,!0),onMouseLeave:()=>H(x,!1),children:[r.jsx(Ge,{children:h}),r.jsx(Ue,{children:r.jsxs(He,{children:[r.jsxs(Oe,{children:[d||oe==="small"?r.jsx(L,{children:r.jsx(D,{display:"flex",placement:"left",title:r.jsx(_,{isTextCopied:l,children:l?y.copied:y.copy}),enterDelay:600,children:l===!0?r.jsx(W,{}):r.jsx(Z,{"data-testid":z("account-info-copy",x),onClick:()=>{R(c),je()}})})}):null,c]}),K!=null?r.jsx(Ke,{children:K}):null]})})]})},ge={detail_type:"account_details",deposit_account_id:n.id,company_name:g?.companyName??"",company_legal_name:g?.company?.companyInfo.companyLegalName??""},ke=encodeURIComponent(JSON.stringify(ge)),Ne=`${ae}?query=${ke}`;return r.jsx(Me,{children:r.jsxs(Re,{children:[r.jsxs(Ie,{children:[r.jsx(Pe,{children:f==="achDetails"?V.achTitle:V.wireTitle}),r.jsxs(Je,{children:[r.jsx(L,{children:r.jsx(D,{display:"flex",placement:"left",title:r.jsx(_,{isTextCopied:k,children:k?F.downloading:F.download}),enterDelay:600,children:k===!0?r.jsx(Te,{size:"Small",start:!0}):r.jsx(qe,{"data-testid":z("account-info-download-pdf"),onClick:()=>{Le(Ne,Ee.empty,e,te,!0)}})})}),r.jsx(L,{children:r.jsx(D,{display:"flex",placement:"left",title:r.jsx(_,{isTextCopied:p,children:p?y.copied:y.copy}),enterDelay:600,children:p===!0?r.jsx(W,{}):r.jsx(Z,{onClick:()=>ye(f),"data-testid":z("title-text-copy")})})})]})]}),f==="achDetails"?r.jsxs(Qe,{children:[r.jsx(X,{children:i(o.bankRoutingNumber,n.routingNumberAch,"routingNumber")}),r.jsx(b,{children:i(o.accountTypeLabel,n.accountSubType.name,"accountType")}),r.jsx(b,{children:i(o.bankAccountNumber,n.accountNumber,"acccountNumber")}),r.jsx(b,{children:i(o.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),m!=null?r.jsx(Y,{children:i(o.bankAddress,m,"bankAddress")}):null]}):f==="wireDetails"?r.jsxs(Ve,{children:[r.jsx(X,{children:i(o.bankRoutingNumber,n.routingNumberAch,"routingNumber")}),r.jsx(b,{children:i(o.accountTypeLabel,n.accountSubType.name,"accountType")}),r.jsx(b,{children:i(o.bankAccountNumber,n.accountNumber,"acccountNumber")}),r.jsx(b,{children:i(o.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),m!=null?r.jsx(b,{children:i(o.bankAddress,m,"bankAddress")}):null,v!=null?r.jsx(b,{children:i(o.beneficiaryName,v,"beneficiaryName",o.beneficiaryNameSubLabel)}):null,C!=null?r.jsx(Y,{children:i(o.beneficiaryAddress,C,"beneficiaryAddress",o.beneficiaryAddressSubLabel)}):null]}):null]})})},Me=t.div``,Re=t.div`
|
|
22
22
|
margin: ${a.sp4};
|
|
23
23
|
margin-left: ${a.sp0};
|
|
24
24
|
`,Ie=t.div`
|
|
@@ -26,13 +26,13 @@ ${o.beneficiaryAddress} ${C}`,R(c),I(!0)},i=(h,c,x,H)=>{let d,l;switch(x){case"a
|
|
|
26
26
|
align-items: center;
|
|
27
27
|
justify-content: space-between;
|
|
28
28
|
margin-bottom: ${a.sp3};
|
|
29
|
-
`,
|
|
29
|
+
`,Je=t.div`
|
|
30
30
|
display: flex;
|
|
31
31
|
gap: ${a.sp4};
|
|
32
|
-
`,
|
|
32
|
+
`,Pe=t(ve)`
|
|
33
33
|
color: ${e=>e.theme.colors.primary};
|
|
34
34
|
margin-right: ${a.sp2};
|
|
35
|
-
`,
|
|
35
|
+
`,qe=t(Ce)`
|
|
36
36
|
height: ${a.sp3};
|
|
37
37
|
width: ${a.sp3};
|
|
38
38
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -57,7 +57,7 @@ ${o.beneficiaryAddress} ${C}`,R(c),I(!0)},i=(h,c,x,H)=>{let d,l;switch(x){case"a
|
|
|
57
57
|
color: ${e=>e.theme.colors.grey1};
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
-
`,
|
|
60
|
+
`,X=t(M)`
|
|
61
61
|
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
62
62
|
display: flex;
|
|
63
63
|
border-top-width: 1px;
|
|
@@ -86,7 +86,7 @@ ${o.beneficiaryAddress} ${C}`,R(c),I(!0)},i=(h,c,x,H)=>{let d,l;switch(x){case"a
|
|
|
86
86
|
&:hover {
|
|
87
87
|
border-top-width: 1px;
|
|
88
88
|
}
|
|
89
|
-
`,
|
|
89
|
+
`,L=t.div`
|
|
90
90
|
display: flex;
|
|
91
91
|
color: ${e=>e.theme.colors.grey1};
|
|
92
92
|
&:hover {
|
|
@@ -95,7 +95,7 @@ ${o.beneficiaryAddress} ${C}`,R(c),I(!0)},i=(h,c,x,H)=>{let d,l;switch(x){case"a
|
|
|
95
95
|
color: ${e=>e.theme.colors.primary};
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
|
-
`,Z=t(
|
|
98
|
+
`,Z=t(ze)`
|
|
99
99
|
height: ${a.sp3};
|
|
100
100
|
width: ${a.sp3};
|
|
101
101
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -103,20 +103,20 @@ ${o.beneficiaryAddress} ${C}`,R(c),I(!0)},i=(h,c,x,H)=>{let d,l;switch(x){case"a
|
|
|
103
103
|
&:hover {
|
|
104
104
|
color: ${e=>e.theme.colors.primary};
|
|
105
105
|
}
|
|
106
|
-
`,
|
|
106
|
+
`,W=t(De)`
|
|
107
107
|
height: ${a.sp3};
|
|
108
108
|
width: ${a.sp3};
|
|
109
109
|
color: ${E.success};
|
|
110
|
-
`,
|
|
110
|
+
`,Be=t.div`
|
|
111
111
|
display: flex;
|
|
112
112
|
flex-direction: row;
|
|
113
113
|
padding: ${a.sp3} ${a.sp4};
|
|
114
114
|
justify-content: space-between;
|
|
115
115
|
width: 100%;
|
|
116
116
|
gap: ${a.sp4};
|
|
117
|
-
`,
|
|
117
|
+
`,Ge=t(re)`
|
|
118
118
|
color: ${e=>e.theme.colors.hero};
|
|
119
|
-
`,
|
|
119
|
+
`,Oe=t(re)`
|
|
120
120
|
display: flex;
|
|
121
121
|
align-items: center;
|
|
122
122
|
color: ${e=>e.theme.colors.primary};
|
|
@@ -125,11 +125,11 @@ ${o.beneficiaryAddress} ${C}`,R(c),I(!0)},i=(h,c,x,H)=>{let d,l;switch(x){case"a
|
|
|
125
125
|
text-align: end;
|
|
126
126
|
`,Ue=t.div`
|
|
127
127
|
display: flex;
|
|
128
|
-
`,
|
|
128
|
+
`,He=t.div`
|
|
129
129
|
display: flex;
|
|
130
130
|
flex-direction: column;
|
|
131
131
|
align-items: flex-end;
|
|
132
|
-
`,
|
|
132
|
+
`,Ke=t(ee)`
|
|
133
133
|
color: ${e=>e.theme.colors.grey1};
|
|
134
134
|
text-align: end;
|
|
135
135
|
`,_=t(ee)`
|
|
@@ -146,4 +146,4 @@ ${o.beneficiaryAddress} ${C}`,R(c),I(!0)},i=(h,c,x,H)=>{let d,l;switch(x){case"a
|
|
|
146
146
|
border-top-width: 1px;
|
|
147
147
|
border-bottom-width: 1px;
|
|
148
148
|
}
|
|
149
|
-
`,
|
|
149
|
+
`,Qe=t.div``,Ve=t.div``;export{We as r};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import{u as C,M as d,j as e,
|
|
1
|
+
import{u as C,M as d,j as e,p as x,ap as m,J as g,bo as j,o as r,g as p,t as k,bu as f}from"./index-B8OsEhOZ.js";import{n as o,b as i}from"./vendor-rkTZJa59.js";import{t as $}from"./handshake-BPg58FML-CVKh3Eii.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const w=t=>i.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",...t},i.createElement("path",{d:"M1.53406 12C1.53406 13.3744 1.80477 14.7354 2.33073 16.0052C2.85669 17.2749 3.62761 18.4287 4.59946 19.4005C5.57132 20.3724 6.72507 21.1433 7.99486 21.6693C9.26465 22.1952 10.6256 22.466 12 22.466C13.3744 22.466 14.7354 22.1952 16.0052 21.6693C17.2749 21.1433 18.4287 20.3724 19.4005 19.4005C20.3724 18.4287 21.1433 17.2749 21.6693 16.0052C22.1952 14.7354 22.466 13.3744 22.466 12C22.466 10.6256 22.1952 9.26465 21.6693 7.99486C21.1433 6.72507 20.3724 5.57132 19.4005 4.59946C18.4287 3.62761 17.2749 2.85669 16.0052 2.33073C14.7354 1.80477 13.3744 1.53406 12 1.53406C10.6256 1.53406 9.26465 1.80477 7.99486 2.33073C6.72507 2.85669 5.57132 3.62761 4.59946 4.59946C3.62761 5.57132 2.85669 6.72507 2.33073 7.99486C1.80477 9.26465 1.53406 10.6256 1.53406 12Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M19 5.07007C16.93 7.07007 5 19.0701 5 19.0701",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),y=t=>i.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},i.createElement("path",{d:"M10.6522 15.4781C10.6522 15.9394 10.8354 16.3817 11.1616 16.7079C11.4877 17.034 11.9301 17.2173 12.3913 17.2173C12.8526 17.2173 13.2949 17.034 13.6211 16.7079C13.9472 16.3817 14.1304 15.9394 14.1304 15.4781C14.1304 15.0169 13.9472 14.5745 13.6211 14.2484C13.2949 13.9222 12.8526 13.739 12.3913 13.739C11.9301 13.739 11.4877 13.9222 11.1616 14.2484C10.8354 14.5745 10.6522 15.0169 10.6522 15.4781Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M19.7826 13.3044C19.7826 12.3819 19.4162 11.4972 18.7639 10.8449C18.1115 10.1926 17.2268 9.82617 16.3043 9.82617H8.47826C7.55577 9.82617 6.67106 10.1926 6.01876 10.8449C5.36646 11.4972 5 12.3819 5 13.3044V18.5218C5 19.4443 5.36646 20.329 6.01876 20.9813C6.67106 21.6336 7.55577 22.0001 8.47826 22.0001H16.3043C17.2268 22.0001 18.1115 21.6336 18.7639 20.9813C19.4162 20.329 19.7826 19.4443 19.7826 18.5218V13.3044Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M7.6087 6.78261C7.6087 5.51418 8.11258 4.29771 9.0095 3.40079C9.90641 2.50388 11.1229 2 12.3913 2C13.6597 2 14.8762 2.50388 15.7731 3.40079C16.67 4.29771 17.1739 5.51418 17.1739 6.78261V9.93565",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),n=d.getLocalizedStrings().commonSetUp.twoFactorAuthentication,L=({unlockDate:t,onSubmit:s})=>{const a=C(),h=t.format(d.getLocalizedStrings().dateFormat.visual.MMMDCommaYYYYformat),u=t.format(d.getLocalizedStrings().dateFormat.visual.HHMMFormat);return e.jsxs(M,{children:[e.jsx(v,{children:n.accountLockedTitle}),e.jsxs(b,{children:[e.jsxs(c,{children:[e.jsx(l,{theme:a,children:e.jsx(z,{})}),e.jsx(x,{children:n.accountLockedSecurityMessage})]}),e.jsxs(c,{children:[e.jsx(l,{theme:a,children:e.jsx(W,{})}),e.jsxs(m,{children:[n.tryAgainAfter,e.jsxs(S,{children:[h,e.jsx(D,{children:"•"}),u]}),n.signInViaGoogleOrMicrosoft]})]}),e.jsxs(c,{children:[e.jsx(l,{theme:a,children:e.jsx(A,{})}),e.jsxs(m,{children:[n.accountLockedContactMessage,e.jsx(E,{href:`mailto:${n.zeniEmail}`,children:n.zeniEmail})]})]}),e.jsx(g,{variant:"primary",label:n.understood,onClick:s})]})]})};function G({unlockDate:t,onClose:s}){return e.jsx(j,{open:!0,onClose:s,children:e.jsx(H,{children:e.jsx(L,{unlockDate:t,onSubmit:s})})})}const M=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: center;
|
|
5
5
|
justify-content: center;
|
|
6
6
|
row-gap: ${r.sp6};
|
|
7
7
|
`,v=o(k)`
|
|
8
|
-
color: ${
|
|
8
|
+
color: ${p.important};
|
|
9
9
|
text-align: center;
|
|
10
10
|
`,b=o.div`
|
|
11
11
|
display: flex;
|
|
@@ -33,7 +33,7 @@ import{u as C,M as d,j as e,n as x,ao as m,J as g,bn as j,o as r,g as h,s as k,b
|
|
|
33
33
|
`,l=o.div`
|
|
34
34
|
width: ${r.sp7};
|
|
35
35
|
height: ${r.sp7};
|
|
36
|
-
background: ${t=>t.theme.mode==="dark"?
|
|
36
|
+
background: ${t=>t.theme.mode==="dark"?p.brandColorJadeDark:p.brandColorJadeLight};
|
|
37
37
|
border-radius: 50%;
|
|
38
38
|
flex-shrink: 0;
|
|
39
39
|
color: ${t=>t.theme.colors.primary};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as xe,f1 as fe,j as t,
|
|
1
|
+
import{a as xe,f1 as fe,j as t,m as F,F as ge,bV as ye,M as je,bX as Se,bY as $e,o as i,h as ke,am as K,B as Z,a3 as ve,b as Ce,dL as we,eS as be,k3 as X,du as ee,p as l,u as Ee,a0 as Pe,aS as te,dO as ne,b2 as Re,g as oe,az as De}from"./index-B8OsEhOZ.js";import{b as r,n as o}from"./vendor-rkTZJa59.js";import{E as Ie,C as _e,w as Fe,f as Te}from"./AccountRow-99zfxKet-iP3hUTyF.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const m={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,navBarHeight:i.sp10,navBarPaddingRight:i.sp4,navBarPaddingLeft:i.sp4,balanceContainerWidth:114,sourceContainerWidth:400},Ue=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey4};
|
|
@@ -19,7 +19,7 @@ import{a as xe,f1 as fe,j as t,l as F,F as ge,bU as ye,M as je,bW as Se,bX as $e
|
|
|
19
19
|
z-index: 2;
|
|
20
20
|
top: ${i.sp0};
|
|
21
21
|
width: 100%;
|
|
22
|
-
`,
|
|
22
|
+
`,Ye=o(ve)`
|
|
23
23
|
cursor: pointer;
|
|
24
24
|
color: ${e=>e.theme.colors.hero};
|
|
25
25
|
width: ${i.sp4};
|
|
@@ -29,7 +29,7 @@ import{a as xe,f1 as fe,j as t,l as F,F as ge,bU as ye,M as je,bW as Se,bX as $e
|
|
|
29
29
|
color: ${e=>e.theme.colors.primary};
|
|
30
30
|
}
|
|
31
31
|
flex: 0 0 auto;
|
|
32
|
-
`,
|
|
32
|
+
`,Be=o.div`
|
|
33
33
|
padding-left: ${m.containerPaddingLeft};
|
|
34
34
|
padding-right: ${m.containerPaddingRight};
|
|
35
35
|
`,Oe=o.div`
|
|
@@ -52,7 +52,7 @@ import{a as xe,f1 as fe,j as t,l as F,F as ge,bU as ye,M as je,bW as Se,bX as $e
|
|
|
52
52
|
flex: 1 1 0;
|
|
53
53
|
justify-content: center;
|
|
54
54
|
flex-direction: column;
|
|
55
|
-
`,
|
|
55
|
+
`,ze=o(K)`
|
|
56
56
|
display: flex;
|
|
57
57
|
color: ${e=>e.theme.colors.primary};
|
|
58
58
|
align-items: center;
|
|
@@ -64,7 +64,7 @@ import{a as xe,f1 as fe,j as t,l as F,F as ge,bU as ye,M as je,bW as Se,bX as $e
|
|
|
64
64
|
align-items: center;
|
|
65
65
|
justify-content: center;
|
|
66
66
|
overflow: hidden;
|
|
67
|
-
`,
|
|
67
|
+
`,Ne=o.div`
|
|
68
68
|
display: flex;
|
|
69
69
|
flex: 0 0 auto;
|
|
70
70
|
justify-content: center;
|
|
@@ -85,7 +85,7 @@ import{a as xe,f1 as fe,j as t,l as F,F as ge,bU as ye,M as je,bW as Se,bX as $e
|
|
|
85
85
|
background-color: ${e=>e.theme.colors.background};
|
|
86
86
|
border-radius: ${i.sp2};
|
|
87
87
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
88
|
-
`,
|
|
88
|
+
`,Ve=o.div`
|
|
89
89
|
display: flex;
|
|
90
90
|
flex-direction: column;
|
|
91
91
|
align-items: flex-start;
|
|
@@ -99,18 +99,18 @@ import{a as xe,f1 as fe,j as t,l as F,F as ge,bU as ye,M as je,bW as Se,bX as $e
|
|
|
99
99
|
`,Qe=o(l)`
|
|
100
100
|
color: ${e=>e.theme.colors.primary};
|
|
101
101
|
text-align: left;
|
|
102
|
-
`,
|
|
102
|
+
`,Xe=o.div`
|
|
103
103
|
display: flex;
|
|
104
104
|
flex-direction: column;
|
|
105
105
|
align-items: flex-start;
|
|
106
106
|
justify-content: flex-start;
|
|
107
107
|
min-width: ${m.balanceContainerWidth}px;
|
|
108
|
-
`,
|
|
108
|
+
`,Ge=o(l)`
|
|
109
109
|
display: flex;
|
|
110
110
|
color: ${e=>e.theme.colors.primary};
|
|
111
111
|
align-items: center;
|
|
112
112
|
justify-content: flex-start;
|
|
113
|
-
`,
|
|
113
|
+
`,Je=o.div`
|
|
114
114
|
display: flex;
|
|
115
115
|
flex-direction: row;
|
|
116
116
|
align-items: flex-start;
|
|
@@ -198,7 +198,7 @@ import{a as xe,f1 as fe,j as t,l as F,F as ge,bU as ye,M as je,bW as Se,bX as $e
|
|
|
198
198
|
align-items: center;
|
|
199
199
|
justify-content: flex-end;
|
|
200
200
|
gap: ${i.sp1};
|
|
201
|
-
`,
|
|
201
|
+
`,z=o.div`
|
|
202
202
|
display: flex;
|
|
203
203
|
flex-direction: row;
|
|
204
204
|
align-items: center;
|
|
@@ -236,4 +236,4 @@ import{a as xe,f1 as fe,j as t,l as F,F as ge,bU as ye,M as je,bW as Se,bX as $e
|
|
|
236
236
|
color: ${e=>e.status==="connected"?e.theme.colors.success:e.status==="reconnect"?e.theme.colors.important:e.theme.colors.link};
|
|
237
237
|
cursor: pointer;
|
|
238
238
|
text-decoration: underline;
|
|
239
|
-
`,{common:p,dateFormat:
|
|
239
|
+
`,{common:p,dateFormat:G,expenseAutomation:{accountRecon:c}}=je.getLocalizedStrings(),ht=(e,n)=>`${e}.${n}`,mt="accountReconDrawerDetailsPage",se="accountReconDrawerDetailsSection";function Ft({accountReconciliation:e,plaidConnectionDetails:n,monthYearPeriod:d,openFilePicker:u,filesEndPoint:f,authParams:S,onDismissClick:$,onFetchLinkTokenClick:E,onEstablishConnectionClick:P,onSelectSourceType:T,onDeleteFile:R,onEditFileName:U,onStatementUploadSuccess:L,onUploadWindowOpenedOnce:M}){const x=xe({mode:"all",reValidateMode:"onChange",defaultValues:J(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:J(e)}),k=x.handleSubmit(()=>{}),[h,g]=r.useState(void 0),v=n.link_account_no_microdeposit,C=n.update_account,s=h==="update_account"?C:v,[y,Y]=r.useState(s.linkToken??null),[a,w]=r.useState(!1),[N,B]=r.useState(!1),[O,W]=r.useState(void 0),[re,H]=r.useState(void 0),le=r.useCallback(()=>{g("link_account_no_microdeposit")},[]),de=r.useCallback(()=>{g("update_account"),E("update_account",e.paymentAccountId)},[e.paymentAccountId]),ue={onOkClick:()=>{O!=null&&(R(O),W(void 0)),H(void 0),B(!1)},onCancelClick:()=>{W(void 0),B(!1)}},q=r.useRef(h);r.useEffect(()=>{q.current=h},[h]);const pe=r.useCallback(D=>{P(D,e.accountReconEntity.account.accountId,q.current),g(void 0),w(!1)},[P,e.accountReconEntity.account.accountId]),he=r.useCallback((D,me)=>{D!=null&&console.log("Plaid Connection Error",D,me),g(void 0),w(!1)},[]),{open:V,ready:Q}=fe({token:y,onSuccess:pe,onExit:he});return r.useEffect(()=>{(F.zeniDate(new Date().toISOString()).isAfter(s.expiration)||s.linkToken==null)&&s.fetchStatus.fetchState==="Not-Started"&&E("link_account_no_microdeposit")},[s.fetchStatus.fetchState]),r.useEffect(()=>{!a&&h!=null&&s.linkToken===y&&s.fetchStatus.fetchState==="Completed"&&Q&&w(!0)},[Q,y,s.fetchStatus.fetchState,s.linkToken,h,a]),r.useEffect(()=>{s.fetchStatus.fetchState==="Completed"&&s.linkToken!=null&&s.linkToken!==y&&Y(s.linkToken)},[s.fetchStatus.fetchState,s.linkToken,y]),r.useEffect(()=>{a&&V()},[a,V]),t.jsxs(Ue,{children:[t.jsx(Me,{children:t.jsx(Oe,{children:t.jsxs(We,{children:[t.jsx(Le,{}),t.jsxs(Ae,{children:[t.jsx(ze,{children:e.accountReconEntity.account.accountName}),t.jsx(ie,{children:t.jsx($t,{monthYearPeriod:d})})]}),t.jsx(Ne,{children:t.jsx(Ye,{onClick:$})})]})})}),t.jsxs(Be,{children:[t.jsx(ge,{...x,children:t.jsx("form",{style:{width:"100%"},id:mt,onSubmit:k,children:t.jsx(xt,{monthYearPeriod:d,accountReconciliation:e,filesEndPoint:f,openFilePicker:u,authParams:S,onConnectClick:le,onReconnectClick:de,onSelectSourceType:T,onDeleteFile:R,onEditFileName:U,onStatementUploadSuccess:L,onUploadWindowOpenedOnce:M,showConfirmationPopup:N,setShowConfirmationPopup:B,deleteFileId:O,setDeleteFileId:W,uploadErrorMessage:re,setUploadErrorMessage:H})})}),N===!0||e.statementDeleteStatus.fetchState==="In-Progress"?t.jsx(ye,{titleComponent:t.jsx($e,{children:c.reconciliation.drawer.deleteConfirmation.heading}),descriptionComponent:t.jsx(Se,{children:c.reconciliation.drawer.deleteConfirmation.description}),isLoading:e.statementDeleteStatus.fetchState==="In-Progress",primaryButtonText:p.confirm,secondaryButtonText:p.cancel,action:ue}):null]})]})}const xt=({monthYearPeriod:e,accountReconciliation:n,filesEndPoint:d,authParams:u,openFilePicker:f,onConnectClick:S,onReconnectClick:$,setDeleteFileId:E,setShowConfirmationPopup:P,onEditFileName:T,onSelectSourceType:R,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:L,uploadErrorMessage:M,setUploadErrorMessage:x})=>{const[k,h]=r.useState(!1),g=(n.localData?.accountSource??"plaid")==="plaid"?n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt:n.accountReconEntity.reconUpdatedAt,v=[];v.push({label:c.reconciliation.menu.bankConnection,value:"plaid"}),v.push({label:c.reconciliation.menu.statement,value:"bank_statement"});const C=n.localData?.accountSource,s=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0||k?"bank_statement":void 0;r.useEffect(()=>{n.accountReconEntity.statementStatus.code==="uploaded"&&(n.accountReconEntity.statementDataStatus?.code==="validation_failed"||n.accountReconEntity.statementDataStatus?.code==="parsing_failed"||n.accountReconEntity.statementDataStatus?.code==="processing_failed")&&x(Ie(n.accountReconEntity.statementDataStatus?.code,"drawer",n.accountReconEntity.errorMessage?.errorShort))},[n.accountReconEntity.statementStatus.code,n.accountReconEntity.statementDataStatus?.code,n.accountReconEntity.errorMessage?.errorShort,x]);const y=["reconciled","in_progress","reconciled_via_qbo"],Y=n.accountReconEntity.reconciliationStatus!=null&&y.includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(He,{children:[t.jsxs(qe,{children:[t.jsxs(Ve,{children:[t.jsx(A,{children:c.reconciliation.headers.bankBalance}),t.jsx(Qe,{children:t.jsx(_e,{bankBalance:n.accountReconEntity.balance,bankConnection:n.accountConnectionStatus,isLoading:!1,fromDrawer:!0,accountId:n.accountReconEntity.account.accountId,statementStatus:n.accountReconEntity.statementStatus.code,onStatementAddClicked:()=>{},setIsHovering:()=>{}})})]}),t.jsxs(Xe,{children:[t.jsx(A,{children:c.reconciliation.headers.clearedBalance}),t.jsx(Ge,{children:t.jsx(Fe,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(Ke,{children:[t.jsx(A,{children:c.reconciliation.headers.variance}),t.jsx(Ze,{children:t.jsx(jt,{variance:n.accountReconEntity.variance,variancePercentage:n.accountReconEntity.variancePercentage})})]})]}),t.jsxs(ct,{children:[t.jsxs(at,{children:[" ",c.reconciliation.drawer.source," "]}),t.jsxs(st,{children:[t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.type}),t.jsx(_,{children:s!=null?t.jsx(j,{children:s==="plaid"?t.jsxs(t.Fragment,{children:[t.jsx(ce,{}),c.reconciliation.menu.bankConnection]}):t.jsxs(t.Fragment,{children:[t.jsx(ae,{}),c.reconciliation.menu.statement]})}):t.jsx(Ce,{controller:!0,children:t.jsx(we,{moreIconType:"custom",customIcon:t.jsx(ft,{selectedSourceType:C}),options:v,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:i.sp5,width:"180px"})},menuPlacement:"bottom",onOptionSelection:a=>{R(F.toReconciliationAccountSource(a))},valueToIcon:a=>a==="plaid"?t.jsx(lt,{}):a==="bank_statement"?t.jsx(dt,{}):null})})})]}),C==="bank_statement"?t.jsx(b,{children:t.jsx(be,{name:ht(se,"file"),file:n.accountReconEntity.statementMetaData?.file,showPhotoPicker:!1,isDisabled:Y,sizeLimit:1e7,onFileSizeError:a=>{a&&x(p.fileElementPicker.sizeLimit)},deleteFileStatusById:{},updateFileStatusById:{},filesEndPoint:d,authParams:u,acceptableTypes:["application/pdf"],placeholderText:c.reconciliation.drawer.downloadPlaceholder,autoOpenFilePicker:f,accountStatementUpload:{uploadHelper:F.uploadAccountStatementIntoDocumentAI,metadataPayload:{accountId:n.accountReconEntity.account.accountId,monthYearPeriod:e},errorMessage:M,onUploadError:a=>{x(a?.message)},onUploadSuccess:a=>{U(a),h(!1)},onUploadStart:()=>{h(!0),x(void 0)},onUploadWindowOpenedOnce:()=>{L()}},onDeleteFile:a=>{E(a),P(!0)},onEditFileName:(a,w)=>{T(a,w)}})}):null,t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.status}),t.jsx(_,{children:C!=="bank_statement"?t.jsx(gt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:$}):t.jsx(yt,{uploadInProgress:k,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.accountType}),t.jsx(_,{children:t.jsx(St,{accountSubType:X(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.lastUpdated}),t.jsx(_,{children:t.jsx(ee,{isLoading:k,customStyle:{height:"20px",width:"100px"},position:"left",children:g!=null?t.jsx(j,{children:X(g.utc(!0).fromNow())}):p.strings.hyphen})})]})]})]})]})},ft=({selectedSourceType:e})=>t.jsxs(nt,{children:[e==null||e==="plaid"?t.jsx(ce,{}):t.jsx(ae,{}),t.jsx(ot,{children:e==null||e==="plaid"?c.reconciliation.menu.bankConnection:c.reconciliation.menu.statement}),t.jsx(it,{})]}),gt=({status:e,connectionInProgress:n,onConnectClick:d,onReconnectClick:u})=>n?t.jsx(z,{children:c.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(z,{children:[t.jsx(rt,{}),t.jsx(ut,{children:c.reconciliation.drawer.values.connected})]}):t.jsx(z,{onClick:e==="reconnect"?u:d,children:t.jsx(pt,{status:e,children:e==="reconnect"?c.reconciliation.drawer.values.reconnect:c.reconciliation.drawer.values.connect})}),yt=({status:e,uploadInProgress:n})=>n?t.jsx(ee,{isLoading:n,customStyle:{height:"20px",width:"100px"},position:"left",children:t.jsx(t.Fragment,{})}):e==null?t.jsx(j,{children:p.strings.hyphen}):e==="parsing"?t.jsx(j,{children:c.reconciliation.drawer.values.statementParsing}):e==="validated"?t.jsx(j,{children:c.reconciliation.drawer.values.uploaded}):t.jsx(j,{children:p.strings.hyphen}),jt=({variance:e,variancePercentage:n,reconciliationStatusCode:d})=>{const u=Ee(),{varianceColor:f,variancePercentageColor:S,variancePercentageContainerColor:$}=Te(u,e,d,!0);return t.jsxs(Je,{children:[t.jsx(et,{textColor:f,children:Pe("0,0",e)??p.strings.hyphen}),t.jsxs(tt,{textColor:S,bgColor:$,children:[n!=null?n===0?"0":n.toFixed(2):null,n!=null?p.strings.percentage:null]})]})},St=({accountSubType:e})=>{const n=e!=null?e.replace("_"," "):p.strings.hyphen;return t.jsx(j,{children:n})},$t=({monthYearPeriod:e})=>t.jsx(ie,{children:kt(e)}),kt=e=>{const{month:n,year:d}=e,u=F.zeniDate(`${d}-${String(n).padStart(2,"0")}-01`);let f=u.endOf("month");return`${u.format(G.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${f.format(G.visual.DMMMYYYYFormat)}`},J=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{Ft as default,ht as uniqueName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t,M as se
|
|
1
|
+
import{j as t,M as se,a0 as E,bB as f,o,$ as y,b as re,dL as le,p as $,dM as de,g,dN as X,dO as Z,cx as ue,a8 as x,i as K,s as p,e as xe,u as S,af as pe,ds as he,r as ge,J as me,B as I,b6 as fe,dE as je}from"./index-B8OsEhOZ.js";import{n as a,b as ye,j as $e}from"./vendor-rkTZJa59.js";const we=a.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
${e=>e.showTreeLine===!0&&e.collapsed!==!0?`&::after {
|
|
4
4
|
content: "";
|
|
@@ -108,7 +108,7 @@ import{j as t,M as se,$ as E,bA as f,o,_ as y,b as re,dL as le,n as $,dM as de,g
|
|
|
108
108
|
align-items: center;
|
|
109
109
|
gap: ${o.sp1};
|
|
110
110
|
margin-top: ${o.sp1};
|
|
111
|
-
`,
|
|
111
|
+
`,Me=a($)`
|
|
112
112
|
user-select: none;
|
|
113
113
|
clear: both;
|
|
114
114
|
display: inline-block;
|
|
@@ -119,7 +119,7 @@ import{j as t,M as se,$ as E,bA as f,o,_ as y,b as re,dL as le,n as $,dM as de,g
|
|
|
119
119
|
color: ${e=>e.theme.colors.hero};
|
|
120
120
|
width: ${u.leftLabelWidth}px;
|
|
121
121
|
min-width: ${u.leftLabelWidth}px;
|
|
122
|
-
`,
|
|
122
|
+
`,Ae=a.div`
|
|
123
123
|
display: flex;
|
|
124
124
|
flex: 1 1 auto;
|
|
125
125
|
justify-content: flex-end;
|
|
@@ -155,7 +155,7 @@ import{j as t,M as se,$ as E,bA as f,o,_ as y,b as re,dL as le,n as $,dM as de,g
|
|
|
155
155
|
margin-left: ${o.sp3};
|
|
156
156
|
height: ${e=>e.heightValue}px;
|
|
157
157
|
background-color: ${e=>e.theme.colors.grey3};
|
|
158
|
-
`,
|
|
158
|
+
`,ze=a.div`
|
|
159
159
|
display: flex;
|
|
160
160
|
flex-shrink: 0;
|
|
161
161
|
width: ${u.varianceTimeframeWidth}px;
|
|
@@ -166,12 +166,12 @@ import{j as t,M as se,$ as E,bA as f,o,_ as y,b as re,dL as le,n as $,dM as de,g
|
|
|
166
166
|
text-align: center;
|
|
167
167
|
gap: ${o.sp2};
|
|
168
168
|
margin-left: ${u.tickLeftMargin}px;
|
|
169
|
-
`,
|
|
169
|
+
`,Je=a($)`
|
|
170
170
|
border-radius: ${o.sp1};
|
|
171
171
|
color: ${e=>e.textColor.hex()};
|
|
172
172
|
min-width: ${u.varianceNumberWidth}px;
|
|
173
173
|
text-align: right;
|
|
174
|
-
`,
|
|
174
|
+
`,qe=a($)`
|
|
175
175
|
border-radius: ${o.sp1};
|
|
176
176
|
padding: ${o.sp0} ${o.sp1};
|
|
177
177
|
justify-content: center;
|
|
@@ -183,18 +183,18 @@ import{j as t,M as se,$ as E,bA as f,o,_ as y,b as re,dL as le,n as $,dM as de,g
|
|
|
183
183
|
display: flex;
|
|
184
184
|
flex-direction: row;
|
|
185
185
|
align-items: center;
|
|
186
|
-
`,
|
|
186
|
+
`,Xe=a.div`
|
|
187
187
|
display: flex;
|
|
188
188
|
flex-direction: column;
|
|
189
189
|
align-items: center;
|
|
190
|
-
`,
|
|
190
|
+
`,Ze=a.div`
|
|
191
191
|
display: flex;
|
|
192
192
|
flex-direction: row;
|
|
193
193
|
align-items: center;
|
|
194
194
|
gap: ${o.sp1};
|
|
195
|
-
`,
|
|
195
|
+
`,Ke=a(I)`
|
|
196
196
|
color: ${g.success};
|
|
197
|
-
`,
|
|
197
|
+
`,q=a(I)`
|
|
198
198
|
color: ${g.success};
|
|
199
199
|
`,Ye=a(je)`
|
|
200
200
|
width: ${o.sp3};
|
|
@@ -233,7 +233,7 @@ import{j as t,M as se,$ as E,bA as f,o,_ as y,b as re,dL as le,n as $,dM as de,g
|
|
|
233
233
|
`,ct=a(de)`
|
|
234
234
|
width: ${o.sp3};
|
|
235
235
|
height: ${o.sp3};
|
|
236
|
-
`,
|
|
236
|
+
`,M=a(fe)`
|
|
237
237
|
width: 12px;
|
|
238
238
|
height: 12px;
|
|
239
239
|
color: ${e=>e.iconColor.hex()};
|
|
@@ -241,7 +241,7 @@ import{j as t,M as se,$ as E,bA as f,o,_ as y,b as re,dL as le,n as $,dM as de,g
|
|
|
241
241
|
`,w=a.div`
|
|
242
242
|
display: flex;
|
|
243
243
|
gap: ${o.sp1};
|
|
244
|
-
`,
|
|
244
|
+
`,A=a.div`
|
|
245
245
|
display: flex;
|
|
246
246
|
flex-direction: column;
|
|
247
247
|
align-items: center;
|
|
@@ -271,28 +271,28 @@ import{j as t,M as se,$ as E,bA as f,o,_ as y,b as re,dL as le,n as $,dM as de,g
|
|
|
271
271
|
flex-direction: column;
|
|
272
272
|
align-items: center;
|
|
273
273
|
justify-content: center;
|
|
274
|
-
`,rt=a(
|
|
274
|
+
`,rt=a(K)`
|
|
275
275
|
color: ${e=>e.theme.colors.hero};
|
|
276
|
-
`,lt=a(
|
|
276
|
+
`,lt=a(K)`
|
|
277
277
|
color: ${g.brandColorPearl};
|
|
278
278
|
`,dt=a.div`
|
|
279
279
|
display: flex;
|
|
280
280
|
flex-direction: row;
|
|
281
281
|
align-items: center;
|
|
282
282
|
justify-content: center;
|
|
283
|
-
`,ut=a(
|
|
283
|
+
`,ut=a(X)`
|
|
284
284
|
width: ${o.sp3};
|
|
285
285
|
height: ${o.sp3};
|
|
286
286
|
margin-top: 2px;
|
|
287
|
-
`,xt=a(
|
|
287
|
+
`,xt=a(X)`
|
|
288
288
|
width: ${o.sp3};
|
|
289
289
|
height: ${o.sp3};
|
|
290
|
-
`,pt=a(
|
|
290
|
+
`,pt=a(Z)`
|
|
291
291
|
width: ${o.sp3};
|
|
292
292
|
height: ${o.sp3};
|
|
293
293
|
margin-top: 2px;
|
|
294
|
-
`,ht=a(
|
|
294
|
+
`,ht=a(Z)`
|
|
295
295
|
width: ${o.sp3};
|
|
296
296
|
height: ${o.sp3};
|
|
297
297
|
margin-top: 2px;
|
|
298
|
-
`,{expenseAutomation:{accountRecon:{reconciliation:s}},common:{strings:{hyphen:h,percentage:gt}}}=se.getLocalizedStrings();function Pt({height:e,accountRecon:n,isLastRow:i,isSelectedRow:c,onReviewClicked:l,onOpenDrawerClicked:d,onConnectClicked:r,onReconnectClicked:m,onStatementAddClicked:C}){const B=xe(),L=S(),v=n.accountReconEntity.account.accountName,j=n.accountReconEntity.balance,_=n.accountReconEntity.clearedBalance,te=n.accountReconEntity.variance,ne=n.accountReconEntity.variancePercentage,oe=()=>{r?.(n.accountReconEntity.account.accountId)},ae=()=>{m?.(n.accountReconEntity.account.accountId)},ie=()=>{C?.(n.accountReconEntity.account.accountId)},H=()=>{l?.(n.accountReconEntity.account.accountId)},[ce,N]=ye.useState(!1),q=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0?"bank_statement":"plaid",T=q==="plaid"?n.accountReconEntity.balanceDataStatus?.code==="in_progress"||n.connectionInProgress===!0:n.accountReconEntity.statementDataStatus?.code==="parsing"||n.statementParseInProgress===!0;let z=e;return i&&(z=e+p[8]),t.jsxs(Pe,{"data-testid":y("total-row-root-container"),heightValue:z,isLastRow:i,windowSize:B,isSelectedRow:c,onClick:()=>{ce!==!0&&d?.(n.accountReconEntity.account.accountId)},children:[t.jsxs(_e,{isClickable:!0,"data-testid":y("total-row-container"),heightValue:e,children:[t.jsxs(Ne,{children:[t.jsx(Te,{firstLetter:v.charAt(0),color:new x(L.colors.hero),showIcon:!1,showCollapsedIcon:!1,className:"any-text-container"}),t.jsx(De,{children:t.jsx(f,{enterDelay:600,title:v,style:{padding:`${o.sp1} ${o.sp2}`},placement:"bottom",children:t.jsx(Ae,{className:"any-text-container",children:v})})})]}),t.jsxs(Me,{children:[t.jsx(Oe,{children:t.jsx($t,{lastUpdatedAt:n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt,setIsHovering:N,statementStatus:n.accountReconEntity.statementStatus.code,accountId:n.accountReconEntity.account.accountId,bankBalance:j,bankConnection:n.accountConnectionStatus,onConnectClicked:oe,onStatementAddClicked:ie,isLoading:T,onReconnectClicked:ae})}),t.jsx(Ve,{children:t.jsx(kt,{statementStatus:n.accountReconEntity.statementStatus.code,statementParseInProgress:n.statementParseInProgress,connectionInProgress:n.connectionInProgress,bankStatusCode:n.accountConnectionStatus})}),t.jsx(Ue,{children:t.jsx(wt,{clearedBalance:_,isLoading:T})}),t.jsx(mt,{isLoading:T,variance:te,variancePercentage:ne,reconciliationStatusCode:n.accountReconEntity.reconciliationStatus?.code}),t.jsx(Fe,{children:t.jsx(He,{heightValue:e})}),t.jsx(Qe,{onMouseEnter:()=>{N(!0)},onMouseLeave:()=>{N(!1)},children:q==="plaid"?t.jsx(jt,{accountRecon:n,isLoading:T,onReviewClicked:H}):t.jsx(yt,{accountRecon:n,isLoading:T,onReviewClicked:H})})]})]}),t.jsx(Le,{kind:"account_separator",isScrolling:!1}),i?t.jsx(Be,{}):null]})}const mt=({variance:e,variancePercentage:n,reconciliationStatusCode:i,isLoading:c})=>{const l=S(),{varianceColor:d,variancePercentageColor:r,variancePercentageContainerColor:m}=ft(l,e,i),C=c?h:e!=null&&e.amount===0?"0%":n!=null?n===0?"0%":`${n.toFixed(2)}${gt}`:h;return t.jsxs(qe,{children:[t.jsx(ze,{textColor:d,className:"any-text-container",children:e==null||c?h:E("0,0",e)}),t.jsx(Je,{textColor:r,bgColor:m,className:"any-text-container",children:C})]})},ft=(e,n,i,c)=>{let l,d,r;return n!=null&&n.amount===0&&i!=null&&i==="reconciled"?(l=new x(g.success),d=new x(g.success),r=new x(g.successLight)):c===!0?(l=new x(e.colors.primary),d=new x(e.colors.primary),r=new x(e.colors.grey2)):(l=new x(e.colors.hero),d=new x(e.colors.hero),r=new x(e.colors.background)),{varianceColor:l,variancePercentageColor:d,variancePercentageContainerColor:r}},jt=({accountRecon:e,isLoading:n,onReviewClicked:i})=>{const c=e.accountReconEntity.reconciliationStatus,l=e.accountConnectionStatus,d=e.accountReconEntity.reconciliationId!=null?e.accountReconEntity.reconUpdatedAt:e.accountReconEntity.accountUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(n)return t.jsx(Ct,{});if(e.accountReconEntity.balanceDataStatus?.code==="not_found"){let m="";return e.accountReconEntity.balance==null&&e.accountReconEntity.clearedBalance==null?m=s.status.balanceNotFound:e.accountReconEntity.balance==null?m=s.status.bankBalanceNotFound:m=s.status.clearedBalanceNotFound,t.jsx(bt,{status:m,tooltipText:r})}if(l==="reconnect"||l==="not_connected")return t.jsx(D,{tooltipText:r,showTooltip:d!=null});if(c==null&&l==="connected"&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(W,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});if(c!=null)switch(c.code){case"save_for_later":case"pending":return t.jsx(W,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});case"reconciled":return t.jsx(P,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"in_progress":return t.jsx(ee,{tooltipText:r});case"failed":return t.jsx(Y,{tooltipText:r});case"reconciled_on_qbo":return t.jsx(P,{isQBO:!0,tooltipText:r});default:return null}else return t.jsx(D,{showTooltip:d!=null,tooltipText:r})},yt=({accountRecon:e,isLoading:n,onReviewClicked:i})=>{const c=e.accountReconEntity.reconciliationStatus,l=e.accountReconEntity.statementDataStatus?.code==="validated"||e.accountReconEntity.statementDataStatus?.code==="processed",d=e.accountReconEntity.reconUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(e.accountReconEntity.statementDataStatus?.code==="parsing_failed"||e.accountReconEntity.statementDataStatus?.code==="validation_failed"||e.accountReconEntity.statementDataStatus?.code==="processing_failed")return t.jsx(Rt,{code:e.accountReconEntity.statementDataStatus?.code,tooltipText:r,errorMessage:e.accountReconEntity.errorMessage?.errorShort});if(n)return t.jsx(vt,{});if(c==null&&l&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(W,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});if(c!=null)switch(c.code){case"save_for_later":case"pending":return t.jsx(W,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});case"reconciled":return t.jsx(P,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"reconciled_on_qbo":return t.jsx(P,{isQBO:!0,tooltipText:r});case"in_progress":return t.jsx(ee,{tooltipText:r});case"failed":return t.jsx(Y,{tooltipText:r});default:return null}else return t.jsx(D,{showTooltip:d!=null,tooltipText:r})},W=({buttonLabel:e,isDisabled:n,tooltipText:i,dataTestId:c,onClick:l})=>t.jsx(f,{title:t.jsx(b,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(Ge,{children:t.jsx(me,{label:e,size:"standard",variant:"secondary",style:{padding:`${o.sp1} 12px`},disabled:n,"data-testid":c,onClick:d=>{d.stopPropagation(),l()}})})}),P=({user:e,isQBO:n,tooltipText:i})=>t.jsx(f,{title:t.jsx(b,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(Ze,{children:[t.jsxs(Ke,{children:[t.jsx(Ye,{}),t.jsx(Xe,{children:n?s.status.reconciledVia:s.status.reconciledBy})]}),n?t.jsx(J,{children:s.status.QBOUser}):e&&t.jsxs(J,{children:[e.firstName," ",e.lastName]})]})}),$t=({bankBalance:e,bankConnection:n,statementStatus:i,lastUpdatedAt:c,fromDrawer:l=!1,onConnectClicked:d,onReconnectClicked:r,isLoading:m,accountId:C,onStatementAddClicked:B,setIsHovering:L})=>{const v=Tt();if(l===!0)return t.jsx(R,{className:"any-text-container",children:E("0,0",e)??h});if(m===!0)return t.jsx(R,{className:"any-text-container",children:h});if(n==="reconnect"){const j=c!=null?`${c.utc(!0).fromNow()}`:h;return t.jsxs(ot,{children:[t.jsxs(at,{children:[t.jsx(it,{children:t.jsx(f,{title:t.jsx(b,{tooltipText:j}),placement:"bottom",style:{padding:`2px ${o.sp2}`},children:t.jsx(ct,{})})}),t.jsx(R,{className:"any-text-container",children:e!=null?E("0,0",e):h})]}),t.jsx(nt,{"data-testid":y("account-reconciliation-reconnect-button",C),onClick:_=>{_.stopPropagation(),r?.()},children:s.connect.reconnnect})]})}else return n==="connected"||i==="uploaded"?t.jsx(R,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(et,{"data-testid":y("account-reconciliation-connect-button",C),onMouseEnter:()=>{L(!0)},onMouseLeave:()=>{L(!1)},children:t.jsx(re,{controller:v.length>0,children:t.jsx(f,{title:s.tooltips.selectSource,style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(le,{moreIconType:"custom",customIcon:t.jsx(tt,{}),options:v,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:o.sp3,".more-icon":{width:o.sp3,height:o.sp3}})},menuPlacement:"auto",onOptionSelection:j=>{j==="bank_connection"?d?.():j==="statement"&&B?.()},valueToIcon:j=>j==="bank_connection"?t.jsx(ut,{}):j==="statement"?t.jsx(pt,{}):null})})})})},wt=({clearedBalance:e,isLoading:n})=>e!=null&&n===!1?t.jsx(R,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(R,{className:"any-text-container",children:h}),Y=({tooltipText:e})=>{const n=new x(g.important);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(w,{children:t.jsxs(M,{children:[t.jsx(A,{iconColor:n}),t.jsx(O,{children:t.jsx(V,{textColor:n,children:s.status.reconciliationFailed})}),t.jsx(Q,{children:t.jsx(U,{textColor:n,children:s.status.reconcileViaQBO})})]})})})},bt=({status:e,tooltipText:n})=>{const i=new x(g.brandColorGoldDark);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(w,{children:[t.jsx(A,{iconColor:i}),t.jsxs(M,{children:[t.jsx(O,{children:t.jsx(V,{textColor:i,children:e})}),t.jsx(Q,{children:t.jsx(U,{textColor:i,children:s.status.reconcileViaQBO})})]})]})})},ee=({tooltipText:e})=>{const n=S(),i=new x(n.colors.grey1);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(w,{children:t.jsxs(F,{children:[t.jsx(k,{textColor:i,children:s.status.autoReconInProgress}),t.jsx(k,{textColor:i,children:s.status.isInProgress})]})})})},Ct=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx(w,{children:t.jsxs(F,{children:[t.jsx(k,{textColor:n,children:s.status.balanceSyncInProgress}),t.jsx(k,{textColor:n,children:s.status.isInProgress})]})})},vt=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx(w,{children:t.jsxs(F,{children:[t.jsx(k,{textColor:n,children:s.status.statementSyncInProgress}),t.jsx(k,{textColor:n,children:s.status.isInProgress})]})})},Rt=({code:e,tooltipText:n,errorMessage:i})=>{const c=new x(g.important),l=Et(e,"list",i);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(w,{children:[t.jsx(A,{iconColor:c}),t.jsxs(M,{children:[t.jsx(O,{children:t.jsx(V,{textColor:c,children:l})}),t.jsx(Q,{children:t.jsx(U,{textColor:c,children:s.status.failed})})]})]})})},D=({showTooltip:e,tooltipText:n})=>e==!1?t.jsx(w,{children:t.jsx(G,{children:h})}):t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(w,{children:t.jsx(G,{children:h})})}),b=({tooltipText:e})=>t.jsxs(st,{children:[t.jsx(rt,{children:s.tooltips.lastUpdated}),t.jsx(lt,{children:e})]}),kt=({statementStatus:e,statementParseInProgress:n,bankStatusCode:i,connectionInProgress:c})=>{let l=e==="uploaded"||n===!0?t.jsx(ht,{}):null;return l=i==="connected"||i==="reconnect"||c===!0?t.jsx(xt,{}):l,t.jsx(dt,{className:"bank-icon-container",children:l})};function Tt(){const e=[];return e.push({label:s.menu.bankConnection,value:"bank_connection"}),e.push({label:s.menu.statement,value:"statement"}),e}const Et=(e,n,i)=>{if(i!=null&&n==="drawer")return i;let c="";switch(e){case"parsing_failed":c=s.status.statementParseError;break;case"validation_failed":c=s.status.statementValidationFailed;break;case"processing_failed":c=s.status.statementProcessingFailed;break;default:c=s.status.statementParseError;break}return n==="drawer"&&(c=c+" "+s.status.failed),c};export{Te as B,$t as C,Pt as D,Et as E,Lt as L,Wt as N,ft as f,u,wt as w};
|
|
298
|
+
`,{expenseAutomation:{accountRecon:{reconciliation:s}},common:{strings:{hyphen:h,percentage:gt}}}=se.getLocalizedStrings();function Pt({height:e,accountRecon:n,isLastRow:i,isSelectedRow:c,onReviewClicked:l,onOpenDrawerClicked:d,onConnectClicked:r,onReconnectClicked:m,onStatementAddClicked:C}){const B=xe(),L=S(),v=n.accountReconEntity.account.accountName,j=n.accountReconEntity.balance,_=n.accountReconEntity.clearedBalance,te=n.accountReconEntity.variance,ne=n.accountReconEntity.variancePercentage,oe=()=>{r?.(n.accountReconEntity.account.accountId)},ae=()=>{m?.(n.accountReconEntity.account.accountId)},ie=()=>{C?.(n.accountReconEntity.account.accountId)},H=()=>{l?.(n.accountReconEntity.account.accountId)},[ce,N]=ye.useState(!1),z=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0?"bank_statement":"plaid",T=z==="plaid"?n.accountReconEntity.balanceDataStatus?.code==="in_progress"||n.connectionInProgress===!0:n.accountReconEntity.statementDataStatus?.code==="parsing"||n.statementParseInProgress===!0;let J=e;return i&&(J=e+p[8]),t.jsxs(Pe,{"data-testid":y("total-row-root-container"),heightValue:J,isLastRow:i,windowSize:B,isSelectedRow:c,onClick:()=>{ce!==!0&&d?.(n.accountReconEntity.account.accountId)},children:[t.jsxs(_e,{isClickable:!0,"data-testid":y("total-row-container"),heightValue:e,children:[t.jsxs(Ne,{children:[t.jsx(Te,{firstLetter:v.charAt(0),color:new x(L.colors.hero),showIcon:!1,showCollapsedIcon:!1,className:"any-text-container"}),t.jsx(De,{children:t.jsx(f,{enterDelay:600,title:v,style:{padding:`${o.sp1} ${o.sp2}`},placement:"bottom",children:t.jsx(Me,{className:"any-text-container",children:v})})})]}),t.jsxs(Ae,{children:[t.jsx(Oe,{children:t.jsx($t,{lastUpdatedAt:n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt,setIsHovering:N,statementStatus:n.accountReconEntity.statementStatus.code,accountId:n.accountReconEntity.account.accountId,bankBalance:j,bankConnection:n.accountConnectionStatus,onConnectClicked:oe,onStatementAddClicked:ie,isLoading:T,onReconnectClicked:ae})}),t.jsx(Ve,{children:t.jsx(kt,{statementStatus:n.accountReconEntity.statementStatus.code,statementParseInProgress:n.statementParseInProgress,connectionInProgress:n.connectionInProgress,bankStatusCode:n.accountConnectionStatus})}),t.jsx(Ue,{children:t.jsx(wt,{clearedBalance:_,isLoading:T})}),t.jsx(mt,{isLoading:T,variance:te,variancePercentage:ne,reconciliationStatusCode:n.accountReconEntity.reconciliationStatus?.code}),t.jsx(Fe,{children:t.jsx(He,{heightValue:e})}),t.jsx(Qe,{onMouseEnter:()=>{N(!0)},onMouseLeave:()=>{N(!1)},children:z==="plaid"?t.jsx(jt,{accountRecon:n,isLoading:T,onReviewClicked:H}):t.jsx(yt,{accountRecon:n,isLoading:T,onReviewClicked:H})})]})]}),t.jsx(Le,{kind:"account_separator",isScrolling:!1}),i?t.jsx(Be,{}):null]})}const mt=({variance:e,variancePercentage:n,reconciliationStatusCode:i,isLoading:c})=>{const l=S(),{varianceColor:d,variancePercentageColor:r,variancePercentageContainerColor:m}=ft(l,e,i),C=c?h:e!=null&&e.amount===0?"0%":n!=null?n===0?"0%":`${n.toFixed(2)}${gt}`:h;return t.jsxs(ze,{children:[t.jsx(Je,{textColor:d,className:"any-text-container",children:e==null||c?h:E("0,0",e)}),t.jsx(qe,{textColor:r,bgColor:m,className:"any-text-container",children:C})]})},ft=(e,n,i,c)=>{let l,d,r;return n!=null&&n.amount===0&&i!=null&&i==="reconciled"?(l=new x(g.success),d=new x(g.success),r=new x(g.successLight)):c===!0?(l=new x(e.colors.primary),d=new x(e.colors.primary),r=new x(e.colors.grey2)):(l=new x(e.colors.hero),d=new x(e.colors.hero),r=new x(e.colors.background)),{varianceColor:l,variancePercentageColor:d,variancePercentageContainerColor:r}},jt=({accountRecon:e,isLoading:n,onReviewClicked:i})=>{const c=e.accountReconEntity.reconciliationStatus,l=e.accountConnectionStatus,d=e.accountReconEntity.reconciliationId!=null?e.accountReconEntity.reconUpdatedAt:e.accountReconEntity.accountUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(n)return t.jsx(Ct,{});if(e.accountReconEntity.balanceDataStatus?.code==="not_found"){let m="";return e.accountReconEntity.balance==null&&e.accountReconEntity.clearedBalance==null?m=s.status.balanceNotFound:e.accountReconEntity.balance==null?m=s.status.bankBalanceNotFound:m=s.status.clearedBalanceNotFound,t.jsx(bt,{status:m,tooltipText:r})}if(l==="reconnect"||l==="not_connected")return t.jsx(D,{tooltipText:r,showTooltip:d!=null});if(c==null&&l==="connected"&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(W,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});if(c!=null)switch(c.code){case"save_for_later":case"pending":return t.jsx(W,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});case"reconciled":return t.jsx(P,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"in_progress":return t.jsx(ee,{tooltipText:r});case"failed":return t.jsx(Y,{tooltipText:r});case"reconciled_on_qbo":return t.jsx(P,{isQBO:!0,tooltipText:r});default:return null}else return t.jsx(D,{showTooltip:d!=null,tooltipText:r})},yt=({accountRecon:e,isLoading:n,onReviewClicked:i})=>{const c=e.accountReconEntity.reconciliationStatus,l=e.accountReconEntity.statementDataStatus?.code==="validated"||e.accountReconEntity.statementDataStatus?.code==="processed",d=e.accountReconEntity.reconUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(e.accountReconEntity.statementDataStatus?.code==="parsing_failed"||e.accountReconEntity.statementDataStatus?.code==="validation_failed"||e.accountReconEntity.statementDataStatus?.code==="processing_failed")return t.jsx(Rt,{code:e.accountReconEntity.statementDataStatus?.code,tooltipText:r,errorMessage:e.accountReconEntity.errorMessage?.errorShort});if(n)return t.jsx(vt,{});if(c==null&&l&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(W,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});if(c!=null)switch(c.code){case"save_for_later":case"pending":return t.jsx(W,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});case"reconciled":return t.jsx(P,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"reconciled_on_qbo":return t.jsx(P,{isQBO:!0,tooltipText:r});case"in_progress":return t.jsx(ee,{tooltipText:r});case"failed":return t.jsx(Y,{tooltipText:r});default:return null}else return t.jsx(D,{showTooltip:d!=null,tooltipText:r})},W=({buttonLabel:e,isDisabled:n,tooltipText:i,dataTestId:c,onClick:l})=>t.jsx(f,{title:t.jsx(b,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(Ge,{children:t.jsx(me,{label:e,size:"standard",variant:"secondary",style:{padding:`${o.sp1} 12px`},disabled:n,"data-testid":c,onClick:d=>{d.stopPropagation(),l()}})})}),P=({user:e,isQBO:n,tooltipText:i})=>t.jsx(f,{title:t.jsx(b,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(Xe,{children:[t.jsxs(Ze,{children:[t.jsx(Ye,{}),t.jsx(Ke,{children:n?s.status.reconciledVia:s.status.reconciledBy})]}),n?t.jsx(q,{children:s.status.QBOUser}):e&&t.jsxs(q,{children:[e.firstName," ",e.lastName]})]})}),$t=({bankBalance:e,bankConnection:n,statementStatus:i,lastUpdatedAt:c,fromDrawer:l=!1,onConnectClicked:d,onReconnectClicked:r,isLoading:m,accountId:C,onStatementAddClicked:B,setIsHovering:L})=>{const v=Tt();if(l===!0)return t.jsx(R,{className:"any-text-container",children:E("0,0",e)??h});if(m===!0)return t.jsx(R,{className:"any-text-container",children:h});if(n==="reconnect"){const j=c!=null?`${c.utc(!0).fromNow()}`:h;return t.jsxs(ot,{children:[t.jsxs(at,{children:[t.jsx(it,{children:t.jsx(f,{title:t.jsx(b,{tooltipText:j}),placement:"bottom",style:{padding:`2px ${o.sp2}`},children:t.jsx(ct,{})})}),t.jsx(R,{className:"any-text-container",children:e!=null?E("0,0",e):h})]}),t.jsx(nt,{"data-testid":y("account-reconciliation-reconnect-button",C),onClick:_=>{_.stopPropagation(),r?.()},children:s.connect.reconnnect})]})}else return n==="connected"||i==="uploaded"?t.jsx(R,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(et,{"data-testid":y("account-reconciliation-connect-button",C),onMouseEnter:()=>{L(!0)},onMouseLeave:()=>{L(!1)},children:t.jsx(re,{controller:v.length>0,children:t.jsx(f,{title:s.tooltips.selectSource,style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(le,{moreIconType:"custom",customIcon:t.jsx(tt,{}),options:v,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:o.sp3,".more-icon":{width:o.sp3,height:o.sp3}})},menuPlacement:"auto",onOptionSelection:j=>{j==="bank_connection"?d?.():j==="statement"&&B?.()},valueToIcon:j=>j==="bank_connection"?t.jsx(ut,{}):j==="statement"?t.jsx(pt,{}):null})})})})},wt=({clearedBalance:e,isLoading:n})=>e!=null&&n===!1?t.jsx(R,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(R,{className:"any-text-container",children:h}),Y=({tooltipText:e})=>{const n=new x(g.important);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(w,{children:t.jsxs(A,{children:[t.jsx(M,{iconColor:n}),t.jsx(O,{children:t.jsx(V,{textColor:n,children:s.status.reconciliationFailed})}),t.jsx(Q,{children:t.jsx(U,{textColor:n,children:s.status.reconcileViaQBO})})]})})})},bt=({status:e,tooltipText:n})=>{const i=new x(g.brandColorGoldDark);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(w,{children:[t.jsx(M,{iconColor:i}),t.jsxs(A,{children:[t.jsx(O,{children:t.jsx(V,{textColor:i,children:e})}),t.jsx(Q,{children:t.jsx(U,{textColor:i,children:s.status.reconcileViaQBO})})]})]})})},ee=({tooltipText:e})=>{const n=S(),i=new x(n.colors.grey1);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(w,{children:t.jsxs(F,{children:[t.jsx(k,{textColor:i,children:s.status.autoReconInProgress}),t.jsx(k,{textColor:i,children:s.status.isInProgress})]})})})},Ct=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx(w,{children:t.jsxs(F,{children:[t.jsx(k,{textColor:n,children:s.status.balanceSyncInProgress}),t.jsx(k,{textColor:n,children:s.status.isInProgress})]})})},vt=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx(w,{children:t.jsxs(F,{children:[t.jsx(k,{textColor:n,children:s.status.statementSyncInProgress}),t.jsx(k,{textColor:n,children:s.status.isInProgress})]})})},Rt=({code:e,tooltipText:n,errorMessage:i})=>{const c=new x(g.important),l=Et(e,"list",i);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(w,{children:[t.jsx(M,{iconColor:c}),t.jsxs(A,{children:[t.jsx(O,{children:t.jsx(V,{textColor:c,children:l})}),t.jsx(Q,{children:t.jsx(U,{textColor:c,children:s.status.failed})})]})]})})},D=({showTooltip:e,tooltipText:n})=>e==!1?t.jsx(w,{children:t.jsx(G,{children:h})}):t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(w,{children:t.jsx(G,{children:h})})}),b=({tooltipText:e})=>t.jsxs(st,{children:[t.jsx(rt,{children:s.tooltips.lastUpdated}),t.jsx(lt,{children:e})]}),kt=({statementStatus:e,statementParseInProgress:n,bankStatusCode:i,connectionInProgress:c})=>{let l=e==="uploaded"||n===!0?t.jsx(ht,{}):null;return l=i==="connected"||i==="reconnect"||c===!0?t.jsx(xt,{}):l,t.jsx(dt,{className:"bank-icon-container",children:l})};function Tt(){const e=[];return e.push({label:s.menu.bankConnection,value:"bank_connection"}),e.push({label:s.menu.statement,value:"statement"}),e}const Et=(e,n,i)=>{if(i!=null&&n==="drawer")return i;let c="";switch(e){case"parsing_failed":c=s.status.statementParseError;break;case"validation_failed":c=s.status.statementValidationFailed;break;case"processing_failed":c=s.status.statementProcessingFailed;break;default:c=s.status.statementParseError;break}return n==="drawer"&&(c=c+" "+s.status.failed),c};export{Te as B,$t as C,Pt as D,Et as E,Lt as L,Wt as N,ft as f,u,wt as w};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{M as F,j as o,o as t,
|
|
1
|
+
import{M as F,j as o,o as t,ab as D,g as j,t as ne,v as ae,aQ as ie,aR as se,aS as ce,aT as le,aU as J,L as de,a1 as X,Z as pe,u as K,Y as me,m as ue,$ as L,aa as he,_ as ge,a5 as xe,i as Q,ac as fe,ak as Ce,p as ye,ap as $e}from"./index-B8OsEhOZ.js";import{n as r,k as O,j as q,b as _,f as S}from"./vendor-rkTZJa59.js";import{c as ve}from"./SummaryCard-BsPejHZG-DSp7yYcI.js";import{x as E}from"./NavigationArrow-CQ_K0Bon-C-8VFiTg.js";import{k as je}from"./NavigationDots-CI0cjpQA-B6oVaxeu.js";const Ae="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-1.png",be="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-2.png",ke="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-3.png",I=(e,n)=>{const i=e==="right"?`-${n}%`:`${n}%`;return O`
|
|
2
2
|
0% {
|
|
3
3
|
opacity: 0;
|
|
4
4
|
transform: translateX(${i});
|
|
@@ -81,13 +81,13 @@ import{M as F,j as o,o as t,aa as D,g as j,s as ne,v as ae,aP as ie,aQ as se,aR
|
|
|
81
81
|
justify-content: center;
|
|
82
82
|
gap: ${t.sp2};
|
|
83
83
|
overflow: hidden;
|
|
84
|
-
`,
|
|
84
|
+
`,Ue=r.div`
|
|
85
85
|
display: flex;
|
|
86
86
|
align-items: center;
|
|
87
87
|
gap: ${t.sp1};
|
|
88
88
|
animation: ${I("right",100)} normal 0.3s 1
|
|
89
89
|
forwards;
|
|
90
|
-
`,
|
|
90
|
+
`,Ne=r.div`
|
|
91
91
|
height: 34px;
|
|
92
92
|
width: ${t.sp5};
|
|
93
93
|
border-radius: ${t.sp0} ${t.sp1} ${t.sp1} ${t.sp0};
|
|
@@ -120,7 +120,7 @@ import{M as F,j as o,o as t,aa as D,g as j,s as ne,v as ae,aP as ie,aQ as se,aR
|
|
|
120
120
|
transform-origin: top;
|
|
121
121
|
animation: ${we} normal 0.6s 1 forwards;
|
|
122
122
|
animation-delay: 0.6s;
|
|
123
|
-
`,
|
|
123
|
+
`,G=r.div`
|
|
124
124
|
opacity: 0;
|
|
125
125
|
transform: translateX(-50%);
|
|
126
126
|
animation: ${I("right",50)} normal 0.6s 1
|
|
@@ -151,14 +151,14 @@ import{M as F,j as o,o as t,aa as D,g as j,s as ne,v as ae,aP as ie,aQ as se,aR
|
|
|
151
151
|
background-color:${j.brandColorGold};
|
|
152
152
|
`,Re=r(ne)`
|
|
153
153
|
color: ${e=>e.theme.colors.brandColorOnyx};
|
|
154
|
-
`,
|
|
154
|
+
`,Ge=r(se)`
|
|
155
155
|
width: ${t.sp4};
|
|
156
156
|
height: ${t.sp4};
|
|
157
157
|
color: ${e=>e.theme.colors.zeniAccountsPromoCardHighlightText};
|
|
158
158
|
path {
|
|
159
159
|
stroke-width: 2px;
|
|
160
160
|
}
|
|
161
|
-
`,
|
|
161
|
+
`,We=(e,n)=>{const{common:i}=F.getLocalizedStrings();switch(e){case"keepInterest":case"noHiddenFees":return o.jsx(o.Fragment,{children:n.map((a,s)=>o.jsx(Ye,{className:"card-highlight-text-stack",direction:a.direction,stepCount:a.stepCount,children:a.values.map((p,h)=>o.jsx(w,{className:"card-highlight-text",children:p},`${p}_${h}`))},`${a.direction}_${s}`))});case"protectCash":return o.jsxs(o.Fragment,{children:[o.jsxs(He,{children:[o.jsx(Me,{}),o.jsx(Be,{})]}),o.jsx(Le,{}),o.jsxs(Ze,{children:[o.jsxs(Ue,{children:[o.jsx(Ne,{}),o.jsxs(R,{isZeniProgressBar:!1,children:[n[0].values[0]," ",i.texts.insured]})]}),o.jsxs(_e,{children:[o.jsx(Fe,{children:n[0].values[1]}),o.jsx(R,{isZeniProgressBar:!0,style:{marginTop:"6px"},children:i.texts.insured})]})]})]});case"freeWire":return o.jsxs(ee,{style:{gap:t.sp2},children:[o.jsxs(w,{style:{position:"relative"},children:[n[0].values[0],o.jsx(Oe,{})]}),o.jsx(w,{children:o.jsx(G,{children:o.jsx(Ge,{})})}),o.jsx(w,{children:o.jsx(G,{style:{animationDelay:"1.5s"},children:n[0].values[1]})})]});case"expertSupport":return o.jsxs(Xe,{children:[o.jsx(T,{style:{animationDelay:"0.2s"},children:o.jsx(Z,{src:Ae})}),o.jsx(T,{style:{animationDelay:"0.4s",zIndex:1},children:o.jsx(Z,{src:be})}),o.jsx(T,{style:{animationDelay:"0.6s",zIndex:2},children:o.jsx(Z,{src:ke})}),o.jsx(Ee,{style:{animationDelay:"0.8s",zIndex:3},children:o.jsxs(Re,{children:[" ",n[0].values[0]]})})]})}};let W;function Je({zeniAccountsPromoCardContent:e,showConfetti:n}){const[i]=fe("Confetti"),a=K(),[s,p]=_.useState(!1);_.useEffect(()=>(n&&(W=setTimeout(()=>{p(!0)},2e3)),()=>{clearTimeout(W),p(!1)}),[n]);const{prefix:h,header:d,headerAnimationData:m,showAnimation:f,key:g}=e;return o.jsxs(De,{children:[n&&s&&i!=null?o.jsx(Ce,{loop:!1,play:!0,onComplete:()=>{p(!1)},segments:[100,299],animationData:i,style:{position:"absolute",top:`-${t.sp8}`,left:t.sp0},rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null,o.jsxs(Te,{children:[d!=null?o.jsx(Ie,{children:d}):null,o.jsx(ee,{children:f?We(g,m):null})]}),o.jsx(Se,{themeContext:a,children:h})]})}const Ke=r(ge)`
|
|
162
162
|
flex-wrap: wrap;
|
|
163
163
|
overflow: hidden;
|
|
164
164
|
& .styledNav {
|
|
@@ -172,7 +172,7 @@ import{M as F,j as o,o as t,aa as D,g as j,s as ne,v as ae,aP as ie,aQ as se,aR
|
|
|
172
172
|
margin: 2px;
|
|
173
173
|
background-color: ${e=>e.theme.colors.zeniAccountsPromoBackgroundColor};
|
|
174
174
|
border-radius: ${t.sp2};
|
|
175
|
-
`,
|
|
175
|
+
`,U=r.div`
|
|
176
176
|
display: flex;
|
|
177
177
|
flex-direction: column;
|
|
178
178
|
`,qe=r.div`
|
|
@@ -204,4 +204,4 @@ import{M as F,j as o,o as t,aa as D,g as j,s as ne,v as ae,aP as ie,aQ as se,aR
|
|
|
204
204
|
bottom: 6px;
|
|
205
205
|
`,ro=r(J)`
|
|
206
206
|
color: ${e=>e.theme.colors.zeniAccountsPromoButtonColor};
|
|
207
|
-
`,P=F.getLocalizedStrings().zeniAccountsPromoCard;function no({analytics:e,cardPosition:n,card:i,data:a,activeCardIndex:s,isZeniAccountsSetUp:p,handleLearnMoreClick:h,handleCardNavigation:d}){const m=K(),f=me(),[g,x]=S.useState(0),[C,y]=S.useState(0),[B,A]=S.useState("left"),b=(l,$)=>{l.stopPropagation(),A($);const re=$=="left"?s+1:s-1;e.trackZeniAccountsPromoCardClick(n,$==="left"?"Next":"Back"),d(k(re),$)},M=l=>{d(k(l),"left")};function u(l){x(l.targetTouches[0].clientX)}function oe(l){y(l.targetTouches[0].clientX)}function k(l){return l<0?a.length+l:l%a.length}function te(){g-C>50&&C!==0?(d(k(s+1),"left"),A("left"),x(0),y(0)):g-C<-50&&C!==0&&(d(k(s-1),"right"),A("right"),x(0),y(0))}const H=a.length>1,Y=ue.hasZeniAccountsAdminLevelAccess(f.loggedInUserRoleMap);return o.jsx(Ke,{"data-testid":L("dashboard",i.cardType),style:{cursor:"default"},dimension:i.dimension,onTouchStart:l=>H?u(l):null,onTouchMove:l=>H?oe(l):null,onTouchEnd:()=>H?te():null,children:o.jsxs(Qe,{children:[o.jsx(
|
|
207
|
+
`,P=F.getLocalizedStrings().zeniAccountsPromoCard;function no({analytics:e,cardPosition:n,card:i,data:a,activeCardIndex:s,isZeniAccountsSetUp:p,handleLearnMoreClick:h,handleCardNavigation:d}){const m=K(),f=me(),[g,x]=S.useState(0),[C,y]=S.useState(0),[B,A]=S.useState("left"),b=(l,$)=>{l.stopPropagation(),A($);const re=$=="left"?s+1:s-1;e.trackZeniAccountsPromoCardClick(n,$==="left"?"Next":"Back"),d(k(re),$)},M=l=>{d(k(l),"left")};function u(l){x(l.targetTouches[0].clientX)}function oe(l){y(l.targetTouches[0].clientX)}function k(l){return l<0?a.length+l:l%a.length}function te(){g-C>50&&C!==0?(d(k(s+1),"left"),A("left"),x(0),y(0)):g-C<-50&&C!==0&&(d(k(s-1),"right"),A("right"),x(0),y(0))}const H=a.length>1,Y=ue.hasZeniAccountsAdminLevelAccess(f.loggedInUserRoleMap);return o.jsx(Ke,{"data-testid":L("dashboard",i.cardType),style:{cursor:"default"},dimension:i.dimension,onTouchStart:l=>H?u(l):null,onTouchMove:l=>H?oe(l):null,onTouchEnd:()=>H?te():null,children:o.jsxs(Qe,{children:[o.jsx(U,{children:o.jsx(E,{"data-testid":L("dashboard-navigation-arrow-left",i.cardType),isSpendManagementPromoCard:!0,navType:"left",handleClick:b,promoColor:m.colors.zeniAccountsPromoButtonColor,promoBorderColor:m.colors.zeniAccountsPromoButtonColor})}),o.jsxs(U,{style:{height:"100%",position:"relative",alignItems:"center"},children:[o.jsx(eo,{children:o.jsx(oo,{children:P.title})}),a.map((l,$)=>o.jsx(he,{activeCardIndex:s,currentIndex:$,which:B,children:o.jsx(Je,{zeniAccountsPromoCardContent:l,showConfetti:s===2})},l.key)),o.jsx(qe,{onClick:()=>h(Y?p?"Move Money":"Sign Up for Free":"Learn More"),children:o.jsx(Ve,{children:Y?p?P.button:P.signUp:P.learnMore})}),o.jsx(je,{spendManagementPromoCardActive:!0,numberOfDots:a.length,activeIndex:s,handleClick:M,promoColor:m.colors.zeniAccountsPromoButtonColor,promoColorHover:m.colors.zeniAccountsPromoNavigationDotHoverColor,style:{cursor:"default",position:"absolute",bottom:t.sp5}}),s===0?o.jsx(to,{children:o.jsx(ro,{children:a[0].footer})}):null]}),o.jsx(U,{children:o.jsx(E,{"data-testid":L("dashboard-navigation-arrow-right",i.cardType),isSpendManagementPromoCard:!0,navType:"right",handleClick:b,promoColor:m.colors.zeniAccountsPromoButtonColor,promoBorderColor:m.colors.zeniAccountsPromoButtonColor})})]})})}const{zeniAccountsPromoCard:c,common:v}=F.getLocalizedStrings(),z={key:"keepInterest",title:c.title,prefix:c.keepInterest.prefixDashboard,header:c.keepInterest.header,headerAnimationData:[],footer:c.keepInterest.footer,showAnimation:!0},N={key:"protectCash",title:c.title,prefix:c.protectCash.prefix,headerAnimationData:[],showAnimation:!0},ao=[{key:"noHiddenFees",title:c.title,prefix:c.noHiddenFees.prefix,headerAnimationData:[{direction:"down",stepCount:6,values:c.noHiddenFees.headerAnimationData}],showAnimation:!0},{key:"freeWire",title:c.title,prefix:c.freeWire.prefix,headerAnimationData:[{direction:"right",stepCount:1,values:c.freeWire.headerAnimationData}],showAnimation:!0},{key:"expertSupport",title:c.title,prefix:c.expertSupport.prefix,header:c.expertSupport.header,headerAnimationData:[{direction:"left",stepCount:1,values:c.expertSupport.headerAnimationData}],showAnimation:!0}];function io({card:e,data:n,analytics:i,actions:a,isZeniAccountsEnabled:s,columnKey:p,index:h,dndProps:d}){const[m,f]=_.useState(0),g=u=>{f(u)},x=(p+1)*(h+1),C=u=>{i.trackZeniAccountsPromoCardClick(x,u),n.depositAccountId!=null?a.onCardBtnClick?.("zeni_accounts_promo_card",n.depositAccountId):a.onCardBtnClick?.("zeni_accounts_promo_card")},{maxInsuredAmount:y,maxPossibleInterest:B,maxAnnualPercentageYield:A,maxCashBalanceAvailable:b=0}=n;z.headerAnimationData=so(B??25e4),z.prefix=c.keepInterest.prefixDashboard.replace(/<amount>/,D("0,0",b,v.currency.currencySymbol).toUpperCase()),z.footer=c.keepInterest.footer.replace(/<interest>/,A.toString()),N.headerAnimationData=[{direction:"right",stepCount:1,values:[...c.protectCash.headerAnimationData,D(X(y),y,v.currency.currencySymbol).toUpperCase()]}],N.prefix=c.protectCash.prefix.replace(/<amount>/,D(X(y),y,v.currency.currencySymbol).toUpperCase());const M=[z,N,...ao];return o.jsx(pe,{isDragging:d?.draggedCardType!=null,isDragOver:d?.dragOverCard===e.cardType,draggable:!0,onDragStart:u=>d?.onDragStart(e.cardType,u),onDragOver:u=>d?.onDragOver(u,e.cardType),onDragLeave:u=>d?.onDragLeave(u),onDrop:u=>d?.onDrop(u,e.cardType),dimension:e.dimension,children:o.jsx(ve,{card:e,actions:{onCardClick:()=>{},onReloadData:()=>{}},children:o.jsx(no,{card:e,data:M,handleCardNavigation:g,activeCardIndex:m,handleLearnMoreClick:C,isZeniAccountsSetUp:s&&n.depositAccountId!=null,analytics:i,cardPosition:x})})},e.cardIndex)}S.memo(io);function so(e){const n=[],i=D("0,0",Math.floor(e),v.currency.currencySymbol);for(let a=0;a<i.length;a++){const s=i[a],p={direction:"up",stepCount:0,values:[s]};if(s===v.currency.currencySymbol||s===v.strings.comma)n.push(p);else{const h=parseInt(i[a]),d=a===1&&h<=1?1:Math.floor(h/2),m=a%2===0?"down":"up",f=h-d,g=[];for(let x=0;x<=f;x++){const C=d+x;g.push(C.toString())}m==="down"&&g.reverse(),n.push({direction:m,stepCount:f,values:g})}}return n}export{We as G,io as a,so as c};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{u as f,e as T,
|
|
1
|
+
import{u as f,e as T,a2 as x,v as a,j as n,$ as y,iE as B,o as t,M as C,C as m,s as d}from"./index-B8OsEhOZ.js";import{b as j,n as w}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const l={marginTop:new m(d[0],18),marginBottom:new m(d[0],d[3])},{spendManagement:{chargeCard:{chargeCardsPromo:p}},common:P}=C.getLocalizedStrings(),K=({googleAPIKey:o,customAddress:c,customAddressStatus:e,onDismissClick:r,onSubmitHandler:g})=>{const u=f(),s=T(),i=x(e.fetchState);j.useEffect(()=>{i==="In-Progress"&&e.fetchState==="Completed"&&r()},[e.fetchState,r,i]);const h=s==="small"?a.extraSmallRegular.cssObject:a.standardRegular.cssObject,S=s==="small"?a.standardMedium.cssObject:a.h5Regular.cssObject;return n.jsx(v,{"data-testid":y("add-address-for-card-drawer"),children:n.jsx(B,{googleAPIKey:o,loadingState:e.fetchState,addressToEdit:c,onSubmitHandler:b=>g(b),onCancel:r,showNavbarWithClose:!0,isSubPage:!0,addTitleMessage:p.addAddress,subTitleMessage:p.addAddressSubText,hideAddressBackButton:!0,showAddressCloseButton:!0,dontShowSaveConfirmationPopup:!0,customNavStyles:{paddingTop:"19px",paddingBottom:"19px"},customTitleStyles:{marginTop:l.marginTop.valuePx(s),marginBottom:l.marginBottom.valuePx(s),...S},subTitleStyles:{marginTop:t.sp0,marginBottom:t.sp0,...h,color:u.colors.hero},navBarContainerStyles:{alignItems:"center",justifyContent:"space-between",paddingTop:t.sp2,paddingRight:t.sp3},sectionStyles:{paddingTop:t.sp4,paddingBottom:t.sp4},footerButtons:{primaryButtonLabel:P.add,buttonWidth:82,separatorStyle:{marginRight:t.sp4}}})})},v=w.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
background-color: ${o=>o.theme.colors.grey4};
|
|
4
4
|
height: 100%;
|
|
5
5
|
width: 100%;
|
|
6
|
-
`;export{
|
|
6
|
+
`;export{K as default};
|