@zeniai/web-cockpit-ui 1.14.11-qa → 1.14.12-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-BQBpkHfF-5WBNzAYc.js +21 -0
- package/dist/assets/{AIPerformancePage-pQP8EI_S-BmqjuJLP.js → AIPerformancePage-C459GJxs-fTjD1LWj.js} +49 -49
- package/dist/assets/{AccountInfoPage-DxAa9GD7-D7apIJBS.js → AccountInfoPage-DWqJj9l6-B6y2ESMc.js} +5 -5
- package/dist/assets/{AccountInfoPageContent-tNTpX5pA-Dq_hVydq.js → AccountInfoPageContent-Ca328DM4-QVdlDPGz.js} +17 -17
- package/dist/assets/{AccountReconDetailsDrawerPage-CbZaDfU0-DaawWCL4.js → AccountReconDetailsDrawerPage-BqIo4mya-DvoWQJ-A.js} +13 -13
- package/dist/assets/{AccountRow-BpBK8mVs-CWKKWdc9.js → AccountRow-Bk3xWobY-C3BJwyhC.js} +33 -33
- package/dist/assets/{AccountsPromoCardStack-DBCYok4Z-A49ZhRDR.js → AccountsPromoCardStack-Co90dxxm-D8gTFju4.js} +35 -35
- package/dist/assets/{AddAddressForCardDrawer-BP8sDedz-DSB40bVC.js → AddAddressForCardDrawer-XNGsKMvs-D3xdyQox.js} +2 -2
- package/dist/assets/{AddToWalletPage-Dsw1GIbh-BSm9RiLd.js → AddToWalletPage-BiQWQXvz-Db3v8rAa.js} +26 -26
- package/dist/assets/{AgingReportsPage-COC3iACh-C5F0xJIX.js → AgingReportsPage-ClR6ctjm-BIaxAdn5.js} +8 -8
- package/dist/assets/{AllUserItems-DKoDASKq-DdNtnSb4.js → AllUserItems-RFWkNfw--KR4FkXJv.js} +10 -10
- package/dist/assets/{ApAgingDetailPage-BKAJMyRm-BNLhw8rC.js → ApAgingDetailPage-F-pd4-We-CpSc-V5Y.js} +2 -2
- package/dist/assets/{AppBasePage-6fgXwSBv-D_v1hA25.js → AppBasePage-B9-FGKn--2PuIe5q1.js} +6 -6
- package/dist/assets/{AppDrawerContent-DnYw60Xv-B7MgYjtO.js → AppDrawerContent-C6P8rk3y-D4vfBiW2.js} +19 -19
- package/dist/assets/{ApprovalRulesSettingsPage-X4EYoBfl-KdnTY675.js → ApprovalRulesSettingsPage-CPNEEGTF-D1-OmKoO.js} +5 -5
- package/dist/assets/{ArAgingChart-CNghm3pm-BgpJccmt.js → ArAgingChart-D9qmMVoC-xX4UMVP_.js} +6 -6
- package/dist/assets/ArAgingDetailPage-DMuZM6P_-BndjVsLP.js +46 -0
- package/dist/assets/{AttachmentView-Bp678glv-q5i7KaEA.js → AttachmentView-B2ZOED0q-BJNMGobn.js} +7 -7
- package/dist/assets/{BankAccountSection-DCHOrv1O-5bvqtg8o.js → BankAccountSection-C8G4yj75-DuLz4nvb.js} +5 -5
- package/dist/assets/{BankAccountWarningSection-Bof6a4Ai-D_X_UYgf.js → BankAccountWarningSection-CWXa-X6f-DfZDDQCz.js} +11 -11
- package/dist/assets/{BankConnectionsSettingsPage-KWPfd_oN-Bz0yQRf6.js → BankConnectionsSettingsPage-B5IQ5w6f-iwQpc5z9.js} +11 -11
- package/dist/assets/{BillDetailPage-D5FyJKQZ-BDKG0T5L.js → BillDetailPage-B-PMkZ44-BthpQ-iy.js} +8 -8
- package/dist/assets/{BillPayApprovalRuleDetailPage-C17DUKc8-uDIFTPco.js → BillPayApprovalRuleDetailPage-CdLKENJ--UWgYicIp.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-C6b0Dx9D-DhxHdUJx.js → BillPayApprovalRulesPage-BueljBn0-Bfh6hqvA.js} +10 -10
- package/dist/assets/{BillPayPromoPage-BhbcKNjD-CvojuwFp.js → BillPayPromoPage-WXntEliq-BogAEb_N.js} +8 -8
- package/dist/assets/{BillPaySetUpPage-DFkYsW2C-BYQSIQ2q.js → BillPaySetUpPage-By7rYetf-BUuU8LQN.js} +2 -2
- package/dist/assets/{BillingSettingsPage-DQ-GDRoK-DXTBvn4K.js → BillingSettingsPage-D-XtlyVU-DEnOD97y.js} +8 -8
- package/dist/assets/{BillsBulkReviewDrawerPage-DzTwDeIy-DqYYhO09.js → BillsBulkReviewDrawerPage-P8siJ8lO-Bp2c_793.js} +1 -1
- package/dist/assets/{BoxItem-a04JWA45-C1LNy4lJ.js → BoxItem-Bcy7IYuZ-DautVok3.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-BCr_ObVJ-B8FzYlfZ.js → BusinessVerificationPage-BoSLJbyU-BkzAyvoH.js} +12 -12
- package/dist/assets/{CardNumberSubText-B5ejHnml-C3WWdznE.js → CardNumberSubText-VsMOF0Xv-C9_EOnyV.js} +1 -1
- package/dist/assets/{CashbackDetailPage-DX_XsNhS-BZkWZvJX.js → CashbackDetailPage-DNbRs50r--xwa0kLc.js} +25 -25
- package/dist/assets/{ChargeCardDetailPage-Ckbi7U9j-DV5ro9Lj.js → ChargeCardDetailPage-BSDS8Kqb-CvvgjUiJ.js} +57 -57
- package/dist/assets/{ChargeCardListPage-CglfbPqr-DkdBMcPW.js → ChargeCardListPage-Bzr8qMC0-COqTxfBS.js} +20 -20
- package/dist/assets/{ChargeCardListTable-BxAeA97m-DhK6iFhq.js → ChargeCardListTable-CTp6TFBR-DoKiJmmd.js} +41 -41
- package/dist/assets/{ChargeCardPromoPage-BfsQUUYb-Dgj-8gSG.js → ChargeCardPromoPage-dIg8OIlx-XWvzHV4l.js} +31 -31
- package/dist/assets/{ChargeCardSetupPage-Bq953HsV-J6EdPALC.js → ChargeCardSetupPage-B1wzJjgH-CBaIBhaa.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-B_5uvkaq-GOsKFOMZ.js → ChargeCardStatementsPage-CePfbLPp-w444eaXi.js} +10 -10
- package/dist/assets/ChargeCardUtils-DC2v2EHU-BFBTkwUP.js +1 -0
- package/dist/assets/{ChaseOverlay-LcVAgdoT-9JR0Zv57.js → ChaseOverlay-B-Sx71yo-C-AskbE-.js} +7 -7
- package/dist/assets/CheckDepositDrawerPage-uABg3PMN-BZAFC99F.js +206 -0
- package/dist/assets/{CollapsableReportTable-CKmPwC_x-QhRCql-r.js → CollapsableReportTable-mEqm05fp-D6CvF14n.js} +57 -57
- package/dist/assets/{CompanyOfficerDetailsSection-BlLsNJaD-DFeWFucX.js → CompanyOfficerDetailsSection-BzYsDrr2-CsOvplVx.js} +28 -28
- package/dist/assets/{CompanyPassportCard-ElwK6uOD-F6JuKciR.js → CompanyPassportCard-Ct6tCZqT-Ck2ikxpq.js} +8 -8
- package/dist/assets/{CompanyPassportPage-B6mGjsJZ-D4tm48-a.js → CompanyPassportPage-D9NQ4bXl-sWP3h2Qt.js} +7 -7
- package/dist/assets/CompleteProfile-CN_hAW-2-Cag0kPdJ.js +36 -0
- package/dist/assets/{ConfettiBurst-CjhkW_Be-BI15fZq4.js → ConfettiBurst-DqSwVGBC-DTqMp1Lq.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-DHvmRSee-CxkBhh6M.js → CreateOrEditVendorPage-D27A1926-Dhm0ZELF.js} +15 -15
- package/dist/assets/{CreditCardPaymentDrawerPage-BIaTYAUf-B7y-9nys.js → CreditCardPaymentDrawerPage-BI37dSwx-62q04GEy.js} +11 -11
- package/dist/assets/{CreditCardPaymentPlgSection-mUqReF9z-BfHxZrsE.js → CreditCardPaymentPlgSection-CAsn4Ae6-BjGYp9i3.js} +12 -12
- package/dist/assets/CurrencySelectField-5uG4FfJ9-BDdfhX8u.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-CIOyRd8r-FLMbZZc8.js → CustomerOnboardingActivationPage-Be-GrAiK-C2g5Nk62.js} +5 -5
- package/dist/assets/CustomerOnboardingContainerPage-B9qcJNx5-DvSZ9aFU.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-A_l9Qen8-C1oSOHVg.js → CustomerOnboardingDetailPageSkeleton-DhGp71bj-DHW9XHps.js} +13 -13
- package/dist/assets/{CustomerOnboardingNoStepsPage-D5BcbVEK-pj30prKU.js → CustomerOnboardingNoStepsPage-CdOGTNXC-k7L31nJ8.js} +9 -9
- package/dist/assets/{CustomerOnboardingPage-N-8Zd7M_-DNIqvHf3.js → CustomerOnboardingPage-ClPsywa3-CFzRDdjv.js} +6 -6
- package/dist/assets/{CustomerOnboardingProductSuitePage-DZwacur5-hGJUPhue.js → CustomerOnboardingProductSuitePage-pnHglqXq-BoMrKg2u.js} +8 -8
- package/dist/assets/{Dashboard-CQoNm84Z-Cs2ZdkxJ.js → Dashboard-avtbjFLf-DvcVqu7f.js} +1 -1
- package/dist/assets/{DashboardReportPage-D4BoWobJ-yZjHxD4A.js → DashboardReportPage-CqJAu5WP-DxhW1pos.js} +13 -13
- package/dist/assets/{DepositAccTransactionItem-C6_OrohL-BGfaLs6w.js → DepositAccTransactionItem-Da0GWYei-DZh1aBKG.js} +6 -6
- package/dist/assets/DepositAccTransactionListPage-Db90ITIq-B9ylpAgD.js +66 -0
- package/dist/assets/{DocumentSecurityBanner-Bo9Hgo-I-rtEtCt6Y.js → DocumentSecurityBanner-Bxg3ctYZ-hOyP50NE.js} +2 -2
- package/dist/assets/DomesticWireDetailsPage-DGcVKriv-H9iyT4_J.js +21 -0
- package/dist/assets/{DownloadOverlay-BoIyiJ9R-DsBfFiz4.js → DownloadOverlay-BdGiqnp7-B--FKXJU.js} +25 -25
- package/dist/assets/{DrawerPage-C_kxrXIc-DVV_RfYu.js → DrawerPage-DCfm1BVs-BnE3GKCd.js} +5 -5
- package/dist/assets/EditPeoplePage-CBPmCcoG-Dv-eYAXF.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-C-Lj-_YG-CD5iBKwa.js → EditReimbursementDetailPage-C-nYgUua-657t3H5o.js} +68 -68
- package/dist/assets/{EntityDetailPage-Cqkhzu9O-D4nSYNpc.js → EntityDetailPage-4HX_rHUf-CQIILZS8.js} +3 -3
- package/dist/assets/{EntitySummarySection-Dqgxknt6-BJXynL5O.js → EntitySummarySection-C9VeOBpT-CyjmmYl7.js} +3 -3
- package/dist/assets/{ExpenseAutomationOverviewPage-CEsyeJ9u-BgjJamdE.js → ExpenseAutomationOverviewPage-8jTkscWa-CSL-Ff0N.js} +22 -22
- package/dist/assets/{ExpenseAutomationPage-DxpK2JR5-Bno6HNVc.js → ExpenseAutomationPage-D1wcc9GW-BnW2S6f_.js} +84 -84
- package/dist/assets/{ExpressPayPage-DBWJERD9-C99_7DYc.js → ExpressPayPage-Cj6cvMwQ-B3xsIydY.js} +12 -12
- package/dist/assets/FeaturePreviewPage-BBkfKvIu-BO0Ix0ac.js +11 -0
- package/dist/assets/{FollowStepsSection-BrJecw-e-DxiUX8Lf.js → FollowStepsSection-DjfnVH8N-DC94T1ld.js} +13 -13
- package/dist/assets/{GlobalReviewListPage-Duoi9mD_-xu3W8826.js → GlobalReviewListPage-CEOzc0We-Dzo-H4fB.js} +8 -8
- package/dist/assets/{HelpButton-C1djo0zO-CxYW3QWQ.js → HelpButton-BdhMFvtG-BQoUMZgM.js} +5 -5
- package/dist/assets/{InformationCardStack-BE5eaq-x-jnl5_r_P.js → InformationCardStack-DFOumIBr-DYp-Y1-6.js} +5 -5
- package/dist/assets/InsightsCardStack-rByhzgji-C_39DSFU.js +79 -0
- package/dist/assets/{InsightsSection-nzKuS0T9-DxBuHfNE.js → InsightsSection-jnWJ877y-B7dup9Hm.js} +5 -5
- package/dist/assets/{IntegrationsSettingsPage-45ETlpC6-Ceg3xdUn.js → IntegrationsSettingsPage-DF-jcHzr-CezJdw9j.js} +7 -7
- package/dist/assets/{InternationalWireSwiftDetailsPage-B21X5YFS-DUJjwzMe.js → InternationalWireSwiftDetailsPage-BFMqW1oQ-DTpqOglD.js} +15 -15
- package/dist/assets/{InternationalWireVerificationPage-BzagdPaG-ETH-TFJ4.js → InternationalWireVerificationPage-Cq7swzrt-CjhvwwKs.js} +17 -17
- package/dist/assets/{InviteFormPage-BNdBP-Mm-DdF7yrct.js → InviteFormPage-DXl2sEn9-BCdDtuKU.js} +25 -25
- package/dist/assets/{InvitePageListView-ChzmK7Rt-CsxcBmQK.js → InvitePageListView-B5fRPcOg-CSGuFFZf.js} +51 -51
- package/dist/assets/InvitePeoplePage-DvGON1va-CZwxU8KK.js +12 -0
- package/dist/assets/{InvoiceUploadSection-B8o-l15n-DT5xRRC2.js → InvoiceUploadSection-opkVsXZH-CITMTH3B.js} +41 -41
- package/dist/assets/{IssueChargeCardPage-BW0cXQqh-Am6endI_.js → IssueChargeCardPage-CZU1qbHO-Bk0rsSk1.js} +27 -27
- package/dist/assets/{LabeledAddressValue-BioQUVCV-BQVyTN5W.js → LabeledAddressValue-CCd3y8zQ-iyUnGXzQ.js} +1 -1
- package/dist/assets/LabeledAddressValueField-XuFlx-oK-BwOm2urL.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-CGT7KsYZ-8Yk74ikH.js → LabeledControlledCheckBoxField-CCQn4-_S-DGlsZAic.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-nys9pbO0-Cdtj6tvs.js → LabeledCreatableSingleSelectField-uQKngCdt-D9uymIz_.js} +3 -3
- package/dist/assets/LabeledDocumentField-TFmz23mS-VXex-CEg.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-DWP9oUzM-Bq2gS2Tu.js → LabeledDropDownFormattedTextField-BrUNxsKy-CYES9RG5.js} +7 -7
- package/dist/assets/{LabeledText-QrjXGWwJ-CNRYgiQJ.js → LabeledText-ByqI7uq0-D8BGktgf.js} +3 -3
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BK9XCXKo-piBn824J.js → LabeledUserSingleSelectWithSubtitlesField-Dg1Lpwl0--1MhGerh.js} +17 -17
- package/dist/assets/{LabeledZeniRolesDropDownField-C2PAZOPW-BazOR2LB.js → LabeledZeniRolesDropDownField-DZL4GZtE-BNEsxcqO.js} +11 -11
- package/dist/assets/{LinkJETransactionPage-BF6-BdWE-DwavLRyr.js → LinkJETransactionPage-CJlBllrr-ETCcWTop.js} +8 -8
- package/dist/assets/{LowBalancePopup-ZZ8Ap8Ls-8KOv0WBL.js → LowBalancePopup-BEvuAR0Z-Kia1x8I_.js} +5 -5
- package/dist/assets/{MagicLinkACHDetailsPage-BDXiOwx_-CO5NrWbz.js → MagicLinkACHDetailsPage-DloX1GWg-CtJ6plz2.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-B1-CK91r-CLFCWolP.js → MagicLinkDomesticWireDetailsPage-DewjvM4v-DF6PmcFA.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-D2rnWzME-CH-1IkqQ.js → MagicLinkInternationalWireDetailsPage-CVhazlxQ-B8pL68gZ.js} +1 -1
- package/dist/assets/MagicLinkSuccessPage-dxBSlbub-ClJhOXum.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-CmTUPCA1-CdDbl1jW.js → MagicLinkTitleSection-d1edBt3w-BD8o8cwj.js} +4 -4
- package/dist/assets/MailingDetailsSection-CsK09X11-D22aceHc.js +21 -0
- package/dist/assets/{MeetingCalenderPopup-COpKcBhx-DUhr4aqa.js → MeetingCalenderPopup-MtSyJ1AS-Dyh9nazJ.js} +1 -1
- package/dist/assets/{Menu-frAXxk4e-CEl4TWuB.js → Menu-BV79l8xf-CtLHaQYM.js} +2 -2
- package/dist/assets/{MyBankConnectionsSettingsPage-BtC6C9fL-Du0eSPRF.js → MyBankConnectionsSettingsPage-D-xDtURG-CDD3juRJ.js} +13 -13
- package/dist/assets/{MyPendingActivationChargeCardListPage-tXIpyxdq-Be08cRIN.js → MyPendingActivationChargeCardListPage-VEhml0PW-BbFLOnd_.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-BmMskLyK-BhR2LYzK.js → MyProfileSettingsPage-DPJ0fJdQ-HGd1_8K1.js} +8 -8
- package/dist/assets/{NavBarWithPicker-ByLynfu6-BwveajND.js → NavBarWithPicker-CuJe05iJ-CEMXAgd3.js} +6 -6
- package/dist/assets/{NavigationArrow-D5-YpdfE-BwY9x4L-.js → NavigationArrow-BwXNdvOg-DB9DQksO.js} +5 -5
- package/dist/assets/{NavigationDots-MA8SVlUT-xHbUxadi.js → NavigationDots-BQfoX9p0-BJMutEpY.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-DtTW2Du8-DMQT2zFb.js → NewGlobalMerchantPage-IeE86L-X-BtZvif-9.js} +21 -21
- package/dist/assets/{NoDataChart-BdzVnx59-oKIht6u7.js → NoDataChart-C9yfE8vY-CyPn8PGK.js} +1 -1
- package/dist/assets/{NoDataTable-B4J5Ou18-Cw0Ivws_.js → NoDataTable-DF9QNT4a-B8P0Ebsk.js} +1 -1
- package/dist/assets/{NotFoundPage-BeAXQOme-CuhCQaCm.js → NotFoundPage-DSaizJve-BYRmXif6.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-CRZRet42-ChT5Efdt.js → NotificationSettingsPage-DeAeFHmj-AgKU0y_T.js} +13 -13
- package/dist/assets/{NotificationsListConfig-CkSDaMij-BWI9bnS_.js → NotificationsListConfig-DuzDckh--DIE08d6S.js} +1 -1
- package/dist/assets/{NotificationsPage-Dqe96fU8-B4GRmHU9.js → NotificationsPage-B7ZC7ezP-CzbzVwOm.js} +32 -32
- package/dist/assets/{OpExByVendorPage-CXtkN87m-9RF5RbBE.js → OpExByVendorPage-DzODetHf-C_mWOIaM.js} +7 -7
- package/dist/assets/{OverlayContainerPage-Cy_Jxf8N-Bv7YPFQu.js → OverlayContainerPage-GWXnlbZH-Bzp-AyLZ.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-DTOqkynU-DcIpR3TG.js → PandLWithForecastPage-FEi5USqF-Dh26joVS.js} +8 -8
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-C6WFeB3A-JhDc6t0k.js → PaymentAccountSetupBillingAddressSection-BbL4x5pQ-D9T2pc9O.js} +11 -11
- package/dist/assets/{PeoplePage-D-j114xg-BxamB_kT.js → PeoplePage-B35T31YZ-DeAagHOG.js} +1 -1
- package/dist/assets/PortfolioAllocationFormPage-D3FP_MRr-DXcXxyUV.js +207 -0
- package/dist/assets/{PortfolioDetails-Bbfo0XDo-CpIyByD0.js → PortfolioDetails-Dtz3YEPu-CLhPVP_M.js} +29 -29
- package/dist/assets/{ProductsCarousel-COUx0Xdj-C589g0zM.js → ProductsCarousel-DIlEuuqg-DDOJtugP.js} +6 -6
- package/dist/assets/{PromoBaseCards-DG1CAZvU-DDe9HUmw.js → PromoBaseCards-DTsaas8S-vBFc1f2h.js} +3 -3
- package/dist/assets/{QBOConnectionDialog-DLVcifji-0Jo7Zt8G.js → QBOConnectionDialog-Cvt38cmU-D0iq5FNX.js} +10 -10
- package/dist/assets/QBOSetupSection-Dijb03ZX-1HKzJLXv.js +79 -0
- package/dist/assets/ReimbursementApprovalRuleDetailPage-bkJIpwyU-pBLvNKjP.js +26 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-CTk2aZMz-P7YlSIWb.js → ReimbursementApprovalRulesPage-BG8uMxNw-Cf6pCIHH.js} +8 -8
- package/dist/assets/{ReimbursementDetailPage-BofsP0W--3SXuCoLt.js → ReimbursementDetailPage-Cs7XeZrC-D-NQ4ltb.js} +17 -17
- package/dist/assets/ReimbursementPromoPage-CKITZNUc-2-Ea8pDZ.js +112 -0
- package/dist/assets/{ReimbursementSetUpPage-Em6S1wkj-DUaBVZlT.js → ReimbursementSetUpPage-DD5P181p-C0K4OEHu.js} +8 -8
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DpWChhvB-Bbi3QmlG.js → ReimbursementsBulkReviewDrawerPage-C0eORL7o-B8b5o1o8.js} +1 -1
- package/dist/assets/{ReloadCard-CZ1Ix5em-ntwCW2pN.js → ReloadCard-CZ4IXHy1-BJxA7jIu.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-BRA3CT_O-5B_3yPmG.js → ReportTableViewSelector-Do0yQJxY-CNf50Tz7.js} +28 -28
- package/dist/assets/{ReportsPage-CauV3wnZ-JaeNla79.js → ReportsPage-BUi475EG-yOqvkhUn.js} +5 -5
- package/dist/assets/{RevenueChart-BeM_1hYw-BC40z0R8.js → RevenueChart-DPNqxQ4n-BN71k4Px.js} +12 -12
- package/dist/assets/{ReviewDetailsPage-C5xC8Cf1-BAevb1zN.js → ReviewDetailsPage-DTCC2C0D-CbWjRazt.js} +16 -16
- package/dist/assets/{ReviewOverlay-DdWa7GLG-BGKsJw6X.js → ReviewOverlay-CPN-RHG--Bk6qHS4b.js} +15 -15
- package/dist/assets/RoleWithToolTip-Bst2IdUy-DGhNj3An.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BlhhW9A6-ttxCT2nP.js → ScheduleDetailsFixedAssetsPage-BSz5BdJ4-CLAcrRlD.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-BKWKZuAL-Dj0cWygj.js → ScheduleDetailsPage-DKVlaW9e-SKWttzgw.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-BzWPTqDM-6FAFWl-T.js → ScheduleSequenceTable-BhpHoReF-CFX3LJjF.js} +50 -50
- package/dist/assets/{ScreenRoutes-DjRy_uCy.js → ScreenRoutes-B4X7AN4H.js} +62 -62
- package/dist/assets/{SetUpAccountSection-Trj1x2HL-BZyG0FUR.js → SetUpAccountSection-Blh-Vipv-948X1LRE.js} +23 -23
- package/dist/assets/{SetUpDefaultSection-BQzNGjO7-C6ny-1cl.js → SetUpDefaultSection-DsyZbNsv-D0zBNq1O.js} +8 -8
- package/dist/assets/{SignIn-Duk9PNwU-XgHu7-OU.js → SignIn-DehOoUba-DOHewgw9.js} +19 -19
- package/dist/assets/{SignInScreen-BZwFN3GK.js → SignInScreen-CkgAQ_YN.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-CREdM633-X97fArWe.js → SpendManagementListViewPage-C23fDDXZ-BPWPXBga.js} +6 -6
- package/dist/assets/{SpendManagementPerTabPage-BZ6ISWXe--gdxlwsD.js → SpendManagementPerTabPage-Cx0sB3qO-wloMSaZU.js} +28 -28
- package/dist/assets/{SpendManagementSection-bMsztUap-ChI9xiC5.js → SpendManagementSection-DbZYpbtO-DS4pqXC3.js} +13 -13
- package/dist/assets/{SpendMgmtSetupAccountSection-Btdtp-ry-25hbeX41.js → SpendMgmtSetupAccountSection-BkUIdz9m-BSOUg3BU.js} +18 -18
- package/dist/assets/{StatementItem-XLqlrHIu-VUIrNJz9.js → StatementItem-BF8L0fc_-C244j_B_.js} +5 -5
- package/dist/assets/{StatementsPage-DWiXiOFU-DpX-5t-Y.js → StatementsPage-96e3ZbSU-D7usTGed.js} +4 -4
- package/dist/assets/{StatusSwitcher-D1XZ-pbx-cB_dyto4.js → StatusSwitcher-jwpQ49F7-D9kXIopT.js} +4 -4
- package/dist/assets/{SubTabSwitcher-Bt3F7ANv-HbYWozk_.js → SubTabSwitcher-B8H6McwL-DbChhvTl.js} +7 -7
- package/dist/assets/{SummaryCard-edbbHOmb-BEN1lpgF.js → SummaryCard-Bv4ja9yJ-CEGyY5M9.js} +1 -1
- package/dist/assets/{TaskManagementPage-BhtJBdco-BwmkQiB4.js → TaskManagementPage-D7tD4WRl-CyzvnBh9.js} +26 -26
- package/dist/assets/{TimeRangeSwitcher-D9KzhRYO-CGt3UmvC.js → TimeRangeSwitcher-Cr-ObvZ9-_GLiJwhW.js} +5 -5
- package/dist/assets/{TimeframeSwitcher-CbEHKZvd-BCN5TvqV.js → TimeframeSwitcher-YkFxZedG-D2Jl4z2_.js} +4 -4
- package/dist/assets/{TimeframeSwitcherWithToggle-Cb91RXpD-DUY2ERxI.js → TimeframeSwitcherWithToggle-4h9WX4z9-DcT4eGJv.js} +2 -2
- package/dist/assets/{TopExCard-DD9Rf9T6-CUD3JVc3.js → TopExCard-DtrsuLFD-CD31vD_h.js} +5 -5
- package/dist/assets/{TopExDetailPage-DaDuwFrj-ClnsDrKm.js → TopExDetailPage-HMRdJt_a-CqlXXHAH.js} +16 -16
- package/dist/assets/{TransactionDetailPage-0fIW4o-6-BtL9d2ga.js → TransactionDetailPage-CkWEdpTW-DkF9a8kj.js} +34 -34
- package/dist/assets/{TransactionList-CLjBadiP-DaI1JPM6.js → TransactionList-8rOZr8BD-BFZ_UeU1.js} +8 -8
- package/dist/assets/{TransactionListBig-CwBxP1xB-Clk1cQcr.js → TransactionListBig-DGx1qy2c-Cj8rID58.js} +24 -24
- package/dist/assets/{TransactionListPage-S1nTM7Yy-BXDsYhyh.js → TransactionListPage-CnbufCaM-BnCVec09.js} +3 -3
- package/dist/assets/TransactionVendorDetailPage-UpZX_EgR-BhFMpvuw.js +80 -0
- package/dist/assets/{TransferDrawerPage-BJDNWagE-ClPD7-YE.js → TransferDrawerPage-cUyg27nq-BRj8U3av.js} +26 -26
- package/dist/assets/{TreasuryOverviewPage-DB-ZH19K-DqpiFB-5.js → TreasuryOverviewPage-DoPe6v4O-CCqccW1l.js} +31 -31
- package/dist/assets/{TreasuryPromoPage-3MwRPpCt-BfvkdVaO.js → TreasuryPromoPage-Db20FO_G-sfhrpc5P.js} +21 -21
- package/dist/assets/{TreasurySetupPage--G4JCzdh-DA6_HWAL.js → TreasurySetupPage-BoVhd65r-CwafywLn.js} +10 -10
- package/dist/assets/TreasuryStatementsPage-BONCF7O1-B0fw544j.js +58 -0
- package/dist/assets/TreasuryTaxLetterPage-NCZ0Y4yr-1T7-yG_S.js +58 -0
- package/dist/assets/{TreasuryTransferOrReviewPage-ByM1UIiU-Bl3BH8HM.js → TreasuryTransferOrReviewPage-DAmZboLO-20agXPX1.js} +44 -44
- package/dist/assets/{TrendChart-B0CS3MXT-D4ZaQVdh.js → TrendChart-DQXhBbqy-BDomlWCz.js} +3 -3
- package/dist/assets/{TrendWithTransactions-D4OAA6yK-CZGys78m.js → TrendWithTransactions-Du-a-c_9-BQa8Yj73.js} +9 -9
- package/dist/assets/{UncategorizedAccountsMappingPage-C6jaWqrE-C-92ar8F.js → UncategorizedAccountsMappingPage-mSPC4LpU-BFboIJY0.js} +5 -5
- package/dist/assets/{UnitIntegrationPage-5LOvIFvr-BluS5BB9.js → UnitIntegrationPage-B5O9G4QH-D5ADrdli.js} +5 -5
- package/dist/assets/{UploadAdditionalDocumentOverlay-CLQLrn0v-DY-77k9g.js → UploadAdditionalDocumentOverlay-CnjzAGYo-LBzsfon2.js} +2 -2
- package/dist/assets/{Vendor2FAPopup-BOl520xa-Dt6F8E1q.js → Vendor2FAPopup-CYcCB8tr-CXCRP0gB.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-B5jKUOjo-B4yUV9Ye.js → VendorACHDetailsPage-C6EuQBcH-TUoKo8Rz.js} +1 -1
- package/dist/assets/{VendorDetailPage-B0GRXPKg-CA80qYWU.js → VendorDetailPage-CnSXWVCg-1hnRc8cc.js} +15 -15
- package/dist/assets/{VendorDomesticWireDetailsPage-CeI3QihK-B8yONSic.js → VendorDomesticWireDetailsPage-CVTkzHFB-BV1I21DW.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-aNGSdZBf-CyZQ-IxR.js → VendorFiling1099EditablePage-TJb9mpk0-CoXUKsdg.js} +11 -11
- package/dist/assets/{VendorFirstReviewPage-CjwnZLcm-Cs4x3rcX.js → VendorFirstReviewPage-gBLVMddY-CjxHy67B.js} +40 -40
- package/dist/assets/{VendorInternationalWireDetailsPage-w-46Xxg--Cvm17HTp.js → VendorInternationalWireDetailsPage-Bhm7j6HC-DsFGzuk8.js} +15 -15
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-C5dogij9-Dga7zQTh.js → VendorInternationalWireSwiftDetailsPage-MgN7VFET-DYSQMIco.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-DBYoP6us-DpK6bEzn.js → VendorsAccountsSection-Cn-8Yemv-Ba4x1KCB.js} +8 -8
- package/dist/assets/{WarningsDrawerPage-CZcR7kH4-CIXMQAfX.js → WarningsDrawerPage-Cc_Rty0A-C8AX9SCt.js} +22 -22
- package/dist/assets/{ZeniAccountDetailPage-C-NQEE2--BEYCTo6P.js → ZeniAccountDetailPage-BU2TTiDP-g3X34Mnd.js} +28 -28
- package/dist/assets/{ZeniAccountListViewPage-Cb8Ptf-w-pA8-UWgA.js → ZeniAccountListViewPage-DbcnkYvX-BflkDx8D.js} +20 -20
- package/dist/assets/ZeniAccountNavBarPieces-CeJHAl4O-DAWPUiSq.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-D5ihjbrM-CXHTXM3S.js → ZeniAccountPromoPage-D-5ArrRO-D5w2UaAO.js} +29 -29
- package/dist/assets/{ZeniAccountSetupPage-BRxz_tnh-CYEsC3w5.js → ZeniAccountSetupPage-DXYR0Ipo-B3amHFDO.js} +5 -5
- package/dist/assets/{ZeniCopyright-Bi82glrb-BRrA0AqO.js → ZeniCopyright-DPd1ifIT-DgcZx02q.js} +1 -1
- package/dist/assets/ZeniTransferAmountSlider-di46G5TN-DYM1NSO4.js +63 -0
- package/dist/assets/{analyticsHelper-pUiXW9f6.js → analyticsHelper-3e_AZjy7.js} +1 -1
- package/dist/assets/{analyticsHelper-D3DK7bgU-D0sMi45U.js → analyticsHelper-DrNmU0vn-Br27aA8M.js} +1 -1
- package/dist/assets/{chartTypes-DJY-6KK0-SGOoEyJZ.js → chartTypes-YTQv3tre-G_MCNcTV.js} +1 -1
- package/dist/assets/{commonDimensions-DRK1vfDX-BlL6juoL.js → commonDimensions-BtmBVXgZ-C8cgTp9k.js} +1 -1
- package/dist/assets/{detailCommon-6K-6m9pv-1H1N15Tv.js → detailCommon-hHyz3hj3-Ch-6FqzV.js} +9 -9
- package/dist/assets/{downloadPdf-DAA4T-qo-DGFaMd6S.js → downloadPdf-CDvgLzWC-CPQqckVY.js} +1 -1
- package/dist/assets/{index-CiKxqrxk.js → index-Dhj1_7g2.js} +4147 -4247
- package/dist/assets/{mapLoadingInProgressToTreeNode-BAlOrI07-Bu5AjmSW.js → mapLoadingInProgressToTreeNode-BfoqmoAq-CfCX7DmO.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Bk-EXs-E-CmXnWtv4.js → mapSectionWithAcOnlyToTreeNode-BjtxR9iQ-iXp5bvzM.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-Cxd9BEJr-Bo_chRJz.js → mapSpacerToTreeNode-D8o529OP-D7qZ7B73.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-Cf8fsAZJ-BkPpGHJf.js → mapTimeframeBalancesToTreeNode-BirMnIzY-BLeanjGG.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-BzFUtqqU-BVi3Z0h1.js → mapTimeframeBalancesToTreeNode-NA69l84M-B1SJFT_Z.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CZMzZg1q-DwuR5tyN.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BCqRt8GN-DK4OBREu.js} +1 -1
- package/dist/assets/{play-icon-DY_hSiAf-56dnsDLb.js → play-icon-DyIc5aGx-BmGFKkF-.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-BaqBVqJ_-CGRkqNDS.js → toCOABalancesWithID-2jQJLb8S-BXYka2hz.js} +1 -1
- package/dist/assets/{toChartData-7MYPev1U-_Gg3mLDi.js → toChartData-Dsjd8dGe-Igu99-cv.js} +1 -1
- package/dist/assets/{treasuryColorHelper-CDhLDRLr-COVWjAtV.js → treasuryColorHelper-EG8VpBia-BOX0NA6c.js} +1 -1
- package/dist/assets/{uploadAttachment-DqCoxBNU-m18_9GhV.js → uploadAttachment-CVUM4FN--B82Va_J6.js} +24 -24
- package/dist/assets/{uploadReceipts-CU1mDxNv-D_CYTfGX.js → uploadReceipts-D80JLNY4-Cvp7FmYB.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-D6-Uk4xr-jFv1GnoI.js +0 -21
- package/dist/assets/ArAgingDetailPage-DD4M5tUJ-BlYSsYlo.js +0 -46
- package/dist/assets/ChargeCardUtils-Bivw83fy-DoKh_ipP.js +0 -1
- package/dist/assets/CheckDepositDrawerPage-SpI62oU7-ay-ttmIe.js +0 -206
- package/dist/assets/CompleteProfile-C1PIn6EM-Ir6BV2zK.js +0 -52
- package/dist/assets/CurrencySelectField-DS-pGcuE-BGqiVYG1.js +0 -139
- package/dist/assets/CustomerOnboardingContainerPage-Lh0xH_Pl-BrVAUFsT.js +0 -1
- package/dist/assets/DepositAccTransactionListPage-Cxvs7tMg-CZX95_vZ.js +0 -66
- package/dist/assets/DomesticWireDetailsPage-DzKlJFvy-C-BExS4G.js +0 -21
- package/dist/assets/EditPeoplePage-auUWC3gB-eVdswl0e.js +0 -55
- package/dist/assets/FeaturePreviewPage-CwGJVCMk-C88NXisE.js +0 -11
- package/dist/assets/InsightsCardStack-EzAsNm_U-DOxieK32.js +0 -79
- package/dist/assets/InvitePeoplePage-DgqE2Y-0-CrbUVUxy.js +0 -12
- package/dist/assets/LabeledAddressValueField-Cw-p18du-ncMTWBsz.js +0 -45
- package/dist/assets/LabeledDocumentField-Y6TKpyZ8-CxE5GTn1.js +0 -41
- package/dist/assets/MagicLinkSuccessPage-IHajRicG-BibYk803.js +0 -31
- package/dist/assets/MailingDetailsSection-AiehjqI1-DltTuNAp.js +0 -21
- package/dist/assets/PortfolioAllocationFormPage-C4XzSjzr-Ckb17xct.js +0 -207
- package/dist/assets/QBOSetupSection-BeRZZ-Q_-sC98B-t_.js +0 -79
- package/dist/assets/ReimbursementApprovalRuleDetailPage-CrbiufS3-CDL6aFMg.js +0 -26
- package/dist/assets/ReimbursementPromoPage-CA2cUBsx-DTv3uM9b.js +0 -112
- package/dist/assets/RoleWithToolTip-BP8MTZdU-DnEd53cN.js +0 -22
- package/dist/assets/TransactionVendorDetailPage-CTTTAais-D9_4MDSM.js +0 -80
- package/dist/assets/TreasuryStatementsPage-DBykLGfz-C9eS4qdh.js +0 -58
- package/dist/assets/TreasuryTaxLetterPage-DgbrzE9u-BEbCeRNe.js +0 -58
- package/dist/assets/VerifyDevice-C-ZVbaIJ-BKz0GUVP.js +0 -67
- package/dist/assets/ZeniAccountNavBarPieces-DX2iXF2E-BAAXHmSZ.js +0 -14
- package/dist/assets/ZeniTransferAmountSlider-B4d4bp7D-Bp4AH9yD.js +0 -63
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as we,
|
|
1
|
+
import{X as we,fc as Ae,gW as H,j as r,M as Se,bs as C,c as Te,_ as z,o as a,am as ve,bp as De,g as E,v as ee,ay as Ce,fe as ze,e as re}from"./index-Dhj1_7g2.js";import{b as s,n as t}from"./vendor-CnQcJ2Lu.js";import{w as Le}from"./downloadPdf-CDvgLzWC-CPQqckVY.js";import{o as _e}from"./commonDimensions-BtmBVXgZ-C8cgTp9k.js";const{common:{strings:Ee,copyToClipBoard:y},spendManagement:{zeniAccounts:{zeniAccountDetail:K},billPay:{vendorCreation:{achDetails:o}},downloads:Q}}=Se.getLocalizedStrings(),Fe=({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,P]=s.useState(!1),[j,J]=s.useState(!1),[w,O]=s.useState(!1),[A,q]=s.useState(!1),[S,U]=s.useState(!1),[T,W]=s.useState(!1),[$,X]=s.useState(!1),v=g?.company?.companyInfo.companyLegalName,D=H(u.zeniAccountsConfigDetail.mailingAddress).text2,m=H(u.zeniAccountsConfigDetail.bankAddress).text2;s.useEffect(()=>{(p||S||T||$||A||$||j||N||w)&&setTimeout(()=>{I(!1),U(!1),W(!1),X(!1),q(!1),O(!1),J(!1),P(!1)},1200)},[p,S,T,$,A,w,j,N]);const B=(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,10 +18,10 @@ ${o.beneficiaryName} ${v}
|
|
|
18
18
|
|
|
19
19
|
${o.bankAddress} ${m}
|
|
20
20
|
|
|
21
|
-
${o.beneficiaryAddress} ${D}`,
|
|
21
|
+
${o.beneficiaryAddress} ${D}`,R(c),I(!0)},i=(h,c,x,G)=>{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":U(!0);break;case"acccountNumber":W(!0);break;case"routingNumber":X(!0);break;case"bankName":q(!0);break;case"beneficiaryName":P(!0);break;case"beneficiaryAddress":O(!0);break;case"bankAddress":J(!0);break}};return r.jsxs(qe,{onMouseEnter:()=>B(x,!0),onMouseLeave:()=>B(x,!1),children:[r.jsx(Ue,{children:h}),r.jsx(Xe,{children:r.jsxs(Be,{children:[r.jsxs(We,{children:[d||oe==="small"?r.jsx(L,{children:r.jsx(C,{display:"flex",placement:"left",title:r.jsx(_,{isTextCopied:l,children:l?y.copied:y.copy}),enterDelay:600,children:l===!0?r.jsx(F,{}):r.jsx(Z,{"data-testid":z("account-info-copy",x),onClick:()=>{R(c),je()}})})}):null,c]}),G!=null?r.jsx(Ge,{children:G}):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(Je,{children:f==="achDetails"?K.achTitle:K.wireTitle}),r.jsxs(Pe,{children:[r.jsx(L,{children:r.jsx(C,{display:"flex",placement:"left",title:r.jsx(_,{isTextCopied:k,children:k?Q.downloading:Q.download}),enterDelay:600,children:k===!0?r.jsx(Te,{size:"Small",start:!0}):r.jsx(Oe,{"data-testid":z("account-info-download-pdf"),onClick:()=>{Le(Ne,Ee.empty,e,te,!0)}})})}),r.jsx(L,{children:r.jsx(C,{display:"flex",placement:"left",title:r.jsx(_,{isTextCopied:p,children:p?y.copied:y.copy}),enterDelay:600,children:p===!0?r.jsx(F,{}):r.jsx(Z,{onClick:()=>ye(f),"data-testid":z("title-text-copy")})})})]})]}),f==="achDetails"?r.jsxs(He,{children:[r.jsx(V,{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(Ke,{children:[r.jsx(V,{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,D!=null?r.jsx(Y,{children:i(o.beneficiaryAddress,D,"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`
|
|
25
25
|
display: flex;
|
|
26
26
|
align-items: center;
|
|
27
27
|
justify-content: space-between;
|
|
@@ -29,10 +29,10 @@ ${o.beneficiaryAddress} ${D}`,I(c),M(!0)},i=(h,c,x,F)=>{let d,l;switch(x){case"a
|
|
|
29
29
|
`,Pe=t.div`
|
|
30
30
|
display: flex;
|
|
31
31
|
gap: ${a.sp4};
|
|
32
|
-
`,
|
|
32
|
+
`,Je=t(ve)`
|
|
33
33
|
color: ${e=>e.theme.colors.primary};
|
|
34
34
|
margin-right: ${a.sp2};
|
|
35
|
-
`,
|
|
35
|
+
`,Oe=t(De)`
|
|
36
36
|
height: ${a.sp3};
|
|
37
37
|
width: ${a.sp3};
|
|
38
38
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -40,7 +40,7 @@ ${o.beneficiaryAddress} ${D}`,I(c),M(!0)},i=(h,c,x,F)=>{let d,l;switch(x){case"a
|
|
|
40
40
|
&:hover {
|
|
41
41
|
color: ${e=>e.theme.colors.primary};
|
|
42
42
|
}
|
|
43
|
-
`,
|
|
43
|
+
`,M=t.div`
|
|
44
44
|
box-sizing: border-box;
|
|
45
45
|
min-height: ${_e.transactionItemHeight}px;
|
|
46
46
|
display: flex;
|
|
@@ -57,7 +57,7 @@ ${o.beneficiaryAddress} ${D}`,I(c),M(!0)},i=(h,c,x,F)=>{let d,l;switch(x){case"a
|
|
|
57
57
|
color: ${e=>e.theme.colors.grey1};
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
-
`,
|
|
60
|
+
`,V=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;
|
|
@@ -72,7 +72,7 @@ ${o.beneficiaryAddress} ${D}`,I(c),M(!0)},i=(h,c,x,F)=>{let d,l;switch(x){case"a
|
|
|
72
72
|
&:hover {
|
|
73
73
|
border-bottom-width: 1px;
|
|
74
74
|
}
|
|
75
|
-
`,
|
|
75
|
+
`,Y=t(M)`
|
|
76
76
|
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
77
77
|
display: flex;
|
|
78
78
|
border-top-width: 0.5px;
|
|
@@ -95,7 +95,7 @@ ${o.beneficiaryAddress} ${D}`,I(c),M(!0)},i=(h,c,x,F)=>{let d,l;switch(x){case"a
|
|
|
95
95
|
color: ${e=>e.theme.colors.primary};
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
|
-
`,
|
|
98
|
+
`,Z=t(ze)`
|
|
99
99
|
height: ${a.sp3};
|
|
100
100
|
width: ${a.sp3};
|
|
101
101
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -103,7 +103,7 @@ ${o.beneficiaryAddress} ${D}`,I(c),M(!0)},i=(h,c,x,F)=>{let d,l;switch(x){case"a
|
|
|
103
103
|
&:hover {
|
|
104
104
|
color: ${e=>e.theme.colors.primary};
|
|
105
105
|
}
|
|
106
|
-
`,
|
|
106
|
+
`,F=t(Ce)`
|
|
107
107
|
height: ${a.sp3};
|
|
108
108
|
width: ${a.sp3};
|
|
109
109
|
color: ${E.success};
|
|
@@ -114,27 +114,27 @@ ${o.beneficiaryAddress} ${D}`,I(c),M(!0)},i=(h,c,x,F)=>{let d,l;switch(x){case"a
|
|
|
114
114
|
justify-content: space-between;
|
|
115
115
|
width: 100%;
|
|
116
116
|
gap: ${a.sp4};
|
|
117
|
-
`,
|
|
117
|
+
`,Ue=t(re)`
|
|
118
118
|
color: ${e=>e.theme.colors.hero};
|
|
119
|
-
`,
|
|
119
|
+
`,We=t(re)`
|
|
120
120
|
display: flex;
|
|
121
121
|
align-items: center;
|
|
122
122
|
color: ${e=>e.theme.colors.primary};
|
|
123
123
|
background-color: ${e=>e.theme.colors.grey5};
|
|
124
124
|
justify-content: flex-end;
|
|
125
125
|
text-align: end;
|
|
126
|
-
`,
|
|
126
|
+
`,Xe=t.div`
|
|
127
127
|
display: flex;
|
|
128
|
-
`,
|
|
128
|
+
`,Be=t.div`
|
|
129
129
|
display: flex;
|
|
130
130
|
flex-direction: column;
|
|
131
131
|
align-items: flex-end;
|
|
132
|
-
`,
|
|
132
|
+
`,Ge=t(ee)`
|
|
133
133
|
color: ${e=>e.theme.colors.grey1};
|
|
134
134
|
text-align: end;
|
|
135
135
|
`,_=t(ee)`
|
|
136
136
|
color: ${e=>e.isTextCopied?E.primaryDark:E.neutralGrey1Light};
|
|
137
|
-
`,b=t(
|
|
137
|
+
`,b=t(M)`
|
|
138
138
|
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
139
139
|
display: flex;
|
|
140
140
|
border-radius: ${a.sp0};
|
|
@@ -146,4 +146,4 @@ ${o.beneficiaryAddress} ${D}`,I(c),M(!0)},i=(h,c,x,F)=>{let d,l;switch(x){case"a
|
|
|
146
146
|
border-top-width: 1px;
|
|
147
147
|
border-bottom-width: 1px;
|
|
148
148
|
}
|
|
149
|
-
`,He=t.div``,
|
|
149
|
+
`,He=t.div``,Ke=t.div``;export{Fe as r};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as xe,
|
|
1
|
+
import{a as xe,eX as fe,j as t,l as _,F as ge,bO as ye,M as je,bQ as Se,bR as $e,o as i,h as ke,am as X,m as Z,a3 as ve,T as Ce,dH as we,eN as be,k5 as K,dr as ee,e as l,u as Ee,a0 as Pe,aR as te,c_ as ne,b0 as Re,g as oe,ay as De}from"./index-Dhj1_7g2.js";import{b as r,n as o}from"./vendor-CnQcJ2Lu.js";import{E as Ie,C as Fe,w as _e,f as Te}from"./AccountRow-Bk3xWobY-C3BJwyhC.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.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};
|
|
@@ -11,7 +11,7 @@ import{a as xe,eZ as fe,j as t,l as T,F as ge,bR as ye,B as je,bT as Se,bU as $e
|
|
|
11
11
|
display: flex;
|
|
12
12
|
flex: 0 0 auto;
|
|
13
13
|
width: ${i.sp4};
|
|
14
|
-
`,
|
|
14
|
+
`,Oe=o.div`
|
|
15
15
|
min-height: ${m.navBarHeight};
|
|
16
16
|
position: sticky;
|
|
17
17
|
background-color: ${e=>e.theme.colors.grey4};
|
|
@@ -19,7 +19,7 @@ import{a as xe,eZ as fe,j as t,l as T,F as ge,bR as ye,B as je,bT as Se,bU 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};
|
|
@@ -32,7 +32,7 @@ import{a as xe,eZ as fe,j as t,l as T,F as ge,bR as ye,B as je,bT as Se,bU as $e
|
|
|
32
32
|
`,Le=o.div`
|
|
33
33
|
padding-left: ${m.containerPaddingLeft};
|
|
34
34
|
padding-right: ${m.containerPaddingRight};
|
|
35
|
-
`,
|
|
35
|
+
`,Be=o.div`
|
|
36
36
|
position: relative;
|
|
37
37
|
min-height: 62px;
|
|
38
38
|
`,We=o.div`
|
|
@@ -52,7 +52,7 @@ import{a as xe,eZ as fe,j as t,l as T,F as ge,bR as ye,B as je,bT as Se,bU as $e
|
|
|
52
52
|
flex: 1 1 0;
|
|
53
53
|
justify-content: center;
|
|
54
54
|
flex-direction: column;
|
|
55
|
-
`,Ne=o(
|
|
55
|
+
`,Ne=o(X)`
|
|
56
56
|
display: flex;
|
|
57
57
|
color: ${e=>e.theme.colors.primary};
|
|
58
58
|
align-items: center;
|
|
@@ -85,7 +85,7 @@ import{a as xe,eZ as fe,j as t,l as T,F as ge,bR as ye,B as je,bT as Se,bU 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
|
+
`,Ge=o.div`
|
|
89
89
|
display: flex;
|
|
90
90
|
flex-direction: column;
|
|
91
91
|
align-items: flex-start;
|
|
@@ -96,27 +96,27 @@ import{a as xe,eZ as fe,j as t,l as T,F as ge,bR as ye,B as je,bT as Se,bU as $e
|
|
|
96
96
|
color: ${e=>e.theme.colors.hero};
|
|
97
97
|
align-items: center;
|
|
98
98
|
justify-content: flex-end;
|
|
99
|
-
`,
|
|
99
|
+
`,Je=o(l)`
|
|
100
100
|
color: ${e=>e.theme.colors.primary};
|
|
101
101
|
text-align: left;
|
|
102
|
-
`,
|
|
102
|
+
`,Ke=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
|
+
`,Qe=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
|
+
`,Ve=o.div`
|
|
114
114
|
display: flex;
|
|
115
115
|
flex-direction: row;
|
|
116
116
|
align-items: flex-start;
|
|
117
117
|
justify-content: flex-start;
|
|
118
118
|
gap: ${i.sp1};
|
|
119
|
-
`,
|
|
119
|
+
`,Xe=o.div`
|
|
120
120
|
display: flex;
|
|
121
121
|
flex-direction: column;
|
|
122
122
|
align-items: flex-start;
|
|
@@ -162,7 +162,7 @@ import{a as xe,eZ as fe,j as t,l as T,F as ge,bR as ye,B as je,bT as Se,bU as $e
|
|
|
162
162
|
justify-content: center;
|
|
163
163
|
min-width: ${m.sourceContainerWidth}px;
|
|
164
164
|
gap: ${i.sp2};
|
|
165
|
-
`,at=o(
|
|
165
|
+
`,at=o(X)`
|
|
166
166
|
display: flex;
|
|
167
167
|
color: ${e=>e.theme.colors.primary};
|
|
168
168
|
align-items: center;
|
|
@@ -236,4 +236,4 @@ import{a as xe,eZ as fe,j as t,l as T,F as ge,bR as ye,B as je,bT as Se,bU 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:Q,expenseAutomation:{accountRecon:c}}=je.getLocalizedStrings(),ht=(e,n)=>`${e}.${n}`,mt="accountReconDrawerDetailsPage",se="accountReconDrawerDetailsSection";function _t({accountReconciliation:e,plaidConnectionDetails:n,monthYearPeriod:d,openFilePicker:u,filesEndPoint:f,authParams:S,onDismissClick:$,onFetchLinkTokenClick:E,onEstablishConnectionClick:P,onSelectSourceType:T,onDeleteFile:R,onEditFileName:U,onStatementUploadSuccess:M,onUploadWindowOpenedOnce:O}){const x=xe({mode:"all",reValidateMode:"onChange",defaultValues:V(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:V(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),[z,L]=r.useState(!1),[B,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:()=>{B!=null&&(R(B),W(void 0)),H(void 0),L(!1)},onCancelClick:()=>{W(void 0),L(!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:G,ready:J}=fe({token:y,onSuccess:pe,onExit:he});return r.useEffect(()=>{(_.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"&&J&&w(!0)},[J,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&&G()},[a,G]),t.jsxs(Ue,{children:[t.jsx(Oe,{children:t.jsx(Be,{children:t.jsxs(We,{children:[t.jsx(Me,{}),t.jsxs(Ae,{children:[t.jsx(Ne,{children:e.accountReconEntity.account.accountName}),t.jsx(ie,{children:t.jsx($t,{monthYearPeriod:d})})]}),t.jsx(ze,{children:t.jsx(Ye,{onClick:$})})]})})}),t.jsxs(Le,{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:M,onUploadWindowOpenedOnce:O,showConfirmationPopup:z,setShowConfirmationPopup:L,deleteFileId:B,setDeleteFileId:W,uploadErrorMessage:re,setUploadErrorMessage:H})})}),z===!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:M,uploadErrorMessage:O,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(Ge,{children:[t.jsx(A,{children:c.reconciliation.headers.bankBalance}),t.jsx(Je,{children:t.jsx(Fe,{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(Ke,{children:[t.jsx(A,{children:c.reconciliation.headers.clearedBalance}),t.jsx(Qe,{children:t.jsx(_e,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(Xe,{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(F,{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(_.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:_.uploadAccountStatementIntoDocumentAI,metadataPayload:{accountId:n.accountReconEntity.account.accountId,monthYearPeriod:e},errorMessage:O,onUploadError:a=>{x(a?.message)},onUploadSuccess:a=>{U(a),h(!1)},onUploadStart:()=>{h(!0),x(void 0)},onUploadWindowOpenedOnce:()=>{M()}},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(F,{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(F,{children:t.jsx(St,{accountSubType:K(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.lastUpdated}),t.jsx(F,{children:t.jsx(ee,{isLoading:k,customStyle:{height:"20px",width:"100px"},position:"left",children:g!=null?t.jsx(j,{children:K(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(N,{children:c.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(N,{children:[t.jsx(rt,{}),t.jsx(ut,{children:c.reconciliation.drawer.values.connected})]}):t.jsx(N,{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(Ve,{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=_.zeniDate(`${d}-${String(n).padStart(2,"0")}-01`);let f=u.endOf("month");return`${u.format(Q.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${f.format(Q.visual.DMMMYYYYFormat)}`},V=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{_t as default,ht as uniqueName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t,
|
|
1
|
+
import{j as t,M as se,a0 as E,bs as f,o,_ as y,T as re,dH as le,e as w,dI as de,g,dJ as G,c_ as X,cq as ue,a8 as x,v as Z,q as p,X as xe,u as S,af as pe,dp as he,n as ge,K as me,m as I,b4 as fe,c$ as je}from"./index-Dhj1_7g2.js";import{n as a,b as ye,j as we}from"./vendor-CnQcJ2Lu.js";const $e=a.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
${e=>e.showTreeLine===!0&&e.collapsed!==!0?`&::after {
|
|
4
4
|
content: "";
|
|
@@ -20,10 +20,10 @@ import{j as t,B as se,a0 as E,bw as f,o,_ as y,T as re,dK as le,n as $,dL as de,
|
|
|
20
20
|
align-items: center;
|
|
21
21
|
justify-content: center;
|
|
22
22
|
color: ${e=>e.colour.toString()};
|
|
23
|
-
`,
|
|
23
|
+
`,ve=a(ge)`
|
|
24
24
|
text-align: center;
|
|
25
25
|
color: ${e=>e.colour.toString()};
|
|
26
|
-
`,
|
|
26
|
+
`,Ce=a.div`
|
|
27
27
|
svg {
|
|
28
28
|
path {
|
|
29
29
|
stroke-width: 2;
|
|
@@ -38,7 +38,7 @@ import{j as t,B as se,a0 as E,bw as f,o,_ as y,T as re,dK as le,n as $,dL as de,
|
|
|
38
38
|
margin-left: 2px;
|
|
39
39
|
width: 12px;
|
|
40
40
|
height: 12px;
|
|
41
|
-
`;function Te({firstLetter:e,color:n,showIcon:i,showCollapsedIcon:c,showTreeLine:l=!1,className:d}){return t.jsx(
|
|
41
|
+
`;function Te({firstLetter:e,color:n,showIcon:i,showCollapsedIcon:c,showTreeLine:l=!1,className:d}){return t.jsx($e,{showTreeLine:l,collapsed:c,children:t.jsx(be,{colour:n,className:d,children:t.jsx(Ce,{children:i===!0?c===!0?t.jsx(ke,{}):t.jsx(Re,{}):t.jsx(ve,{colour:n,className:d,children:e})})})})}const Ee=a.div`
|
|
42
42
|
display: flex;
|
|
43
43
|
flex: 1 1 auto;
|
|
44
44
|
max-height: 1px;
|
|
@@ -64,7 +64,7 @@ import{j as t,B as se,a0 as E,bw as f,o,_ as y,T as re,dK as le,n as $,dL as de,
|
|
|
64
64
|
background-color: ${e=>e.isLastRow?e.theme.colors.hero:e.isSelectedRow?e.theme.colors.primary:e.theme.colors.grey3};
|
|
65
65
|
}
|
|
66
66
|
.any-text-container {
|
|
67
|
-
${e=>e.isSelectedRow
|
|
67
|
+
${e=>e.isSelectedRow?we`
|
|
68
68
|
color: ${e.theme.colors.primary};
|
|
69
69
|
`:null}
|
|
70
70
|
}
|
|
@@ -84,9 +84,9 @@ import{j as t,B as se,a0 as E,bw as f,o,_ as y,T as re,dK as le,n as $,dL as de,
|
|
|
84
84
|
display: flex;
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
|
-
`,Be=a.div`
|
|
88
|
-
height: ${o.sp8};
|
|
89
87
|
`,_e=a.div`
|
|
88
|
+
height: ${o.sp8};
|
|
89
|
+
`,Be=a.div`
|
|
90
90
|
width: 100%;
|
|
91
91
|
height: ${e=>e.heightValue-1}px;
|
|
92
92
|
user-select: none;
|
|
@@ -108,7 +108,7 @@ import{j as t,B as se,a0 as E,bw as f,o,_ as y,T as re,dK as le,n as $,dL as de,
|
|
|
108
108
|
align-items: center;
|
|
109
109
|
gap: ${o.sp1};
|
|
110
110
|
margin-top: ${o.sp1};
|
|
111
|
-
`,Ae=a(
|
|
111
|
+
`,Ae=a(w)`
|
|
112
112
|
user-select: none;
|
|
113
113
|
clear: both;
|
|
114
114
|
display: inline-block;
|
|
@@ -125,18 +125,18 @@ import{j as t,B as se,a0 as E,bw as f,o,_ as y,T as re,dK as le,n as $,dL as de,
|
|
|
125
125
|
justify-content: flex-end;
|
|
126
126
|
align-items: center;
|
|
127
127
|
color: ${e=>e.theme.colors.hero};
|
|
128
|
-
`,Oe=a(
|
|
128
|
+
`,Oe=a(w)`
|
|
129
129
|
width: ${u.bankBalanceWidth}px;
|
|
130
130
|
min-width: ${u.bankBalanceWidth}px;
|
|
131
131
|
text-align: right;
|
|
132
132
|
`,Ve=a.div`
|
|
133
133
|
width: ${u.bankBalanceRightWidth}px;
|
|
134
134
|
min-width: ${u.bankBalanceRightWidth}px;
|
|
135
|
-
`,
|
|
135
|
+
`,Ue=a(w)`
|
|
136
136
|
width: ${u.clearedBalanceWidth}px;
|
|
137
137
|
min-width: ${u.clearedBalanceWidth}px;
|
|
138
138
|
text-align: right;
|
|
139
|
-
`,
|
|
139
|
+
`,Fe=a(w)`
|
|
140
140
|
width: ${u.statusWidth}px;
|
|
141
141
|
min-width: ${u.statusWidth}px;
|
|
142
142
|
height: 1px;
|
|
@@ -144,7 +144,7 @@ import{j as t,B as se,a0 as E,bw as f,o,_ as y,T as re,dK as le,n as $,dL as de,
|
|
|
144
144
|
align-items: center;
|
|
145
145
|
justify-content: center;
|
|
146
146
|
height: 100%;
|
|
147
|
-
`,
|
|
147
|
+
`,Qe=a.div`
|
|
148
148
|
display: flex;
|
|
149
149
|
flex-direction: row;
|
|
150
150
|
min-width: ${u.spacerLineWidth}px;
|
|
@@ -166,12 +166,12 @@ import{j as t,B as se,a0 as E,bw as f,o,_ as y,T as re,dK as le,n as $,dL as de,
|
|
|
166
166
|
text-align: center;
|
|
167
167
|
gap: ${o.sp2};
|
|
168
168
|
margin-left: ${u.tickLeftMargin}px;
|
|
169
|
-
`,ze=a(
|
|
169
|
+
`,ze=a(w)`
|
|
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
|
+
`,Je=a(w)`
|
|
175
175
|
border-radius: ${o.sp1};
|
|
176
176
|
padding: ${o.sp0} ${o.sp1};
|
|
177
177
|
justify-content: center;
|
|
@@ -179,28 +179,28 @@ import{j as t,B as se,a0 as E,bw as f,o,_ as y,T as re,dK as le,n as $,dL as de,
|
|
|
179
179
|
color: ${e=>e.textColor.hex()};
|
|
180
180
|
background-color: ${e=>e.bgColor.hex()};
|
|
181
181
|
min-width: ${u.variancePercentageWidth}px;
|
|
182
|
-
`,
|
|
182
|
+
`,Ke=a.div`
|
|
183
183
|
display: flex;
|
|
184
184
|
flex-direction: row;
|
|
185
185
|
align-items: center;
|
|
186
|
-
`,
|
|
186
|
+
`,Ge=a.div`
|
|
187
187
|
display: flex;
|
|
188
188
|
flex-direction: column;
|
|
189
189
|
align-items: center;
|
|
190
|
-
`,
|
|
190
|
+
`,Xe=a.div`
|
|
191
191
|
display: flex;
|
|
192
192
|
flex-direction: row;
|
|
193
193
|
align-items: center;
|
|
194
194
|
gap: ${o.sp1};
|
|
195
|
-
`,
|
|
195
|
+
`,Ze=a(I)`
|
|
196
196
|
color: ${g.success};
|
|
197
|
-
`,
|
|
197
|
+
`,J=a(I)`
|
|
198
198
|
color: ${g.success};
|
|
199
199
|
`,Ye=a(je)`
|
|
200
200
|
width: ${o.sp3};
|
|
201
201
|
height: ${o.sp3};
|
|
202
202
|
color: ${g.success};
|
|
203
|
-
`,R=a(
|
|
203
|
+
`,R=a(w)`
|
|
204
204
|
text-align: right;
|
|
205
205
|
`,et=a.div`
|
|
206
206
|
display: flex;
|
|
@@ -210,7 +210,7 @@ import{j as t,B as se,a0 as E,bw as f,o,_ as y,T as re,dK as le,n as $,dL as de,
|
|
|
210
210
|
`,tt=a(ue)`
|
|
211
211
|
width: ${o.sp3};
|
|
212
212
|
height: ${o.sp3};
|
|
213
|
-
`,nt=a(
|
|
213
|
+
`,nt=a(w)`
|
|
214
214
|
text-align: right;
|
|
215
215
|
color: ${g.important};
|
|
216
216
|
cursor: pointer;
|
|
@@ -238,14 +238,14 @@ import{j as t,B as se,a0 as E,bw as f,o,_ as y,T as re,dK as le,n as $,dL as de,
|
|
|
238
238
|
height: 12px;
|
|
239
239
|
color: ${e=>e.iconColor.hex()};
|
|
240
240
|
margin-top: ${o.sp1};
|
|
241
|
-
|
|
241
|
+
`,$=a.div`
|
|
242
242
|
display: flex;
|
|
243
243
|
gap: ${o.sp1};
|
|
244
244
|
`,M=a.div`
|
|
245
245
|
display: flex;
|
|
246
246
|
flex-direction: column;
|
|
247
247
|
align-items: center;
|
|
248
|
-
`,
|
|
248
|
+
`,K=a(w)`
|
|
249
249
|
color: ${e=>e.theme.colors.hero};
|
|
250
250
|
`,O=a.div`
|
|
251
251
|
display: flex;
|
|
@@ -254,13 +254,13 @@ import{j as t,B as se,a0 as E,bw as f,o,_ as y,T as re,dK as le,n as $,dL as de,
|
|
|
254
254
|
gap: ${o.sp1};
|
|
255
255
|
`,V=a(I)`
|
|
256
256
|
color: ${e=>e.textColor.hex()};
|
|
257
|
-
`,
|
|
257
|
+
`,U=a(I)`
|
|
258
258
|
color: ${e=>e.textColor.hex()};
|
|
259
|
-
`,
|
|
259
|
+
`,F=a.div`
|
|
260
260
|
display: flex;
|
|
261
261
|
flex-direction: row;
|
|
262
262
|
align-items: center;
|
|
263
|
-
`,
|
|
263
|
+
`,Q=a.div`
|
|
264
264
|
display: flex;
|
|
265
265
|
flex-direction: column;
|
|
266
266
|
align-items: center;
|
|
@@ -271,28 +271,28 @@ import{j as t,B as se,a0 as E,bw as f,o,_ as y,T as re,dK as le,n as $,dL as de,
|
|
|
271
271
|
flex-direction: column;
|
|
272
272
|
align-items: center;
|
|
273
273
|
justify-content: center;
|
|
274
|
-
`,rt=a(
|
|
274
|
+
`,rt=a(Z)`
|
|
275
275
|
color: ${e=>e.theme.colors.hero};
|
|
276
|
-
`,lt=a(
|
|
276
|
+
`,lt=a(Z)`
|
|
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(G)`
|
|
284
284
|
width: ${o.sp3};
|
|
285
285
|
height: ${o.sp3};
|
|
286
286
|
margin-top: 2px;
|
|
287
|
-
`,xt=a(
|
|
287
|
+
`,xt=a(G)`
|
|
288
288
|
width: ${o.sp3};
|
|
289
289
|
height: ${o.sp3};
|
|
290
|
-
`,pt=a(
|
|
290
|
+
`,pt=a(X)`
|
|
291
291
|
width: ${o.sp3};
|
|
292
292
|
height: ${o.sp3};
|
|
293
293
|
margin-top: 2px;
|
|
294
|
-
`,ht=a(
|
|
294
|
+
`,ht=a(X)`
|
|
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(Qe,{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(Ue,{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(Ke,{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(Je,{children:[t.jsxs(Ze,{children:[t.jsx(Ye,{}),t.jsx(Xe,{children:n?s.status.reconciledVia:s.status.reconciledBy})]}),n?t.jsx(K,{children:s.status.QBOUser}):e&&t.jsxs(K,{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(U,{children:t.jsx(Q,{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(U,{children:t.jsx(Q,{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(U,{children:t.jsx(Q,{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,wt as C,Pt as D,Et as E,Lt as L,Wt as N,ft as f,u,$t 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:v}){const _=xe(),L=S(),C=n.accountReconEntity.account.accountName,j=n.accountReconEntity.balance,B=n.accountReconEntity.clearedBalance,te=n.accountReconEntity.variance,ne=n.accountReconEntity.variancePercentage,oe=()=>{r?.(n.accountReconEntity.account.accountId)},ae=()=>{m?.(n.accountReconEntity.account.accountId)},ie=()=>{v?.(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:_,isSelectedRow:c,onClick:()=>{ce!==!0&&d?.(n.accountReconEntity.account.accountId)},children:[t.jsxs(Be,{isClickable:!0,"data-testid":y("total-row-container"),heightValue:e,children:[t.jsxs(Ne,{children:[t.jsx(Te,{firstLetter:C.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:C,style:{padding:`${o.sp1} ${o.sp2}`},placement:"bottom",children:t.jsx(Ae,{className:"any-text-container",children:C})})})]}),t.jsxs(Me,{children:[t.jsx(Oe,{children:t.jsx(wt,{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($t,{clearedBalance:B,isLoading:T})}),t.jsx(mt,{isLoading:T,variance:te,variancePercentage:ne,reconciliationStatusCode:n.accountReconEntity.reconciliationStatus?.code}),t.jsx(Qe,{children:t.jsx(He,{heightValue:e})}),t.jsx(Fe,{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(_e,{}):null]})}const mt=({variance:e,variancePercentage:n,reconciliationStatusCode:i,isLoading:c})=>{const l=S(),{varianceColor:d,variancePercentageColor:r,variancePercentageContainerColor:m}=ft(l,e,i),v=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:v})]})},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(vt,{});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(Ct,{});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(Ke,{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(Ge,{children:[t.jsxs(Xe,{children:[t.jsx(Ye,{}),t.jsx(Ze,{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]})]})}),wt=({bankBalance:e,bankConnection:n,statementStatus:i,lastUpdatedAt:c,fromDrawer:l=!1,onConnectClicked:d,onReconnectClicked:r,isLoading:m,accountId:v,onStatementAddClicked:_,setIsHovering:L})=>{const C=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",v),onClick:B=>{B.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",v),onMouseEnter:()=>{L(!0)},onMouseLeave:()=>{L(!1)},children:t.jsx(re,{controller:C.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:C,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"&&_?.()},valueToIcon:j=>j==="bank_connection"?t.jsx(ut,{}):j==="statement"?t.jsx(pt,{}):null})})})})},$t=({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($,{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(F,{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($,{children:[t.jsx(A,{iconColor:i}),t.jsxs(M,{children:[t.jsx(O,{children:t.jsx(V,{textColor:i,children:e})}),t.jsx(F,{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($,{children:t.jsxs(Q,{children:[t.jsx(k,{textColor:i,children:s.status.autoReconInProgress}),t.jsx(k,{textColor:i,children:s.status.isInProgress})]})})})},vt=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(Q,{children:[t.jsx(k,{textColor:n,children:s.status.balanceSyncInProgress}),t.jsx(k,{textColor:n,children:s.status.isInProgress})]})})},Ct=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(Q,{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($,{children:[t.jsx(A,{iconColor:c}),t.jsxs(M,{children:[t.jsx(O,{children:t.jsx(V,{textColor:c,children:l})}),t.jsx(F,{children:t.jsx(U,{textColor:c,children:s.status.failed})})]})]})})},D=({showTooltip:e,tooltipText:n})=>e==!1?t.jsx($,{children:t.jsx(K,{children:h})}):t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsx(K,{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,wt as C,Pt as D,Et as E,Lt as L,Wt as N,ft as f,u,$t as w};
|