@zeniai/web-cockpit-ui 1.14.9-qa → 1.14.10-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-fN9d1vam-D9VxrmPm.js +21 -0
- package/dist/assets/{AIPerformancePage-pQP8EI_S-_s3zsI3R.js → AIPerformancePage-FvDkFQx9-CQyeQIni.js} +49 -49
- package/dist/assets/{AccountInfoPage-DxAa9GD7-DQEyQtK2.js → AccountInfoPage-RM6DvvVS-DCfKlDtS.js} +5 -5
- package/dist/assets/{AccountInfoPageContent-tNTpX5pA-G_drZK6E.js → AccountInfoPageContent-DEG1tMaK-DT5QC51v.js} +17 -17
- package/dist/assets/{AccountReconDetailsDrawerPage-CbZaDfU0-UsFY-UZk.js → AccountReconDetailsDrawerPage-CiegEtwy-CoXexcHE.js} +13 -13
- package/dist/assets/{AccountRow-BpBK8mVs-CH_oVWO9.js → AccountRow-DDUdlArT-BoTNNfQY.js} +33 -33
- package/dist/assets/{AccountsPromoCardStack-DBCYok4Z-CQcxXnBQ.js → AccountsPromoCardStack-Q7ppOy47-Dg9H-xyI.js} +35 -35
- package/dist/assets/{AddAddressForCardDrawer-BP8sDedz-s44WShyg.js → AddAddressForCardDrawer-C2us9OcV-BBVsfjfG.js} +2 -2
- package/dist/assets/{AddToWalletPage-Dsw1GIbh-dkDhEWMM.js → AddToWalletPage-B75ejfsy-Dz6uPeGO.js} +26 -26
- package/dist/assets/{AgingReportsPage-COC3iACh-CQTcd55z.js → AgingReportsPage-mEhdjkho-CIVInWQJ.js} +8 -8
- package/dist/assets/{AllUserItems-DKoDASKq-D9OsZYXc.js → AllUserItems-o4xGLdQM-o69fCFf4.js} +10 -10
- package/dist/assets/{ApAgingDetailPage-BKAJMyRm-8rJSfYqr.js → ApAgingDetailPage-C0Y88nfk-C5r_ppvI.js} +2 -2
- package/dist/assets/{AppBasePage-6fgXwSBv-BU75fZMe.js → AppBasePage-DKAxmkIN-2kh6tXJn.js} +6 -6
- package/dist/assets/{AppDrawerContent-DnYw60Xv-BYIZi-GQ.js → AppDrawerContent-DLn3w253-kKIdFnR8.js} +19 -19
- package/dist/assets/{ApprovalRulesSettingsPage-X4EYoBfl-CpEnMum9.js → ApprovalRulesSettingsPage-vBjp3xy--COVrz9he.js} +5 -5
- package/dist/assets/{ArAgingChart-CNghm3pm-BWPEjjZL.js → ArAgingChart-C3yYcTfo-CLHMQYqc.js} +6 -6
- package/dist/assets/ArAgingDetailPage-DlmXkANV-D8C6NFL-.js +46 -0
- package/dist/assets/{AttachmentView-Bp678glv-DplJLpKV.js → AttachmentView-B4hoO1b8-sqsUZh4A.js} +7 -7
- package/dist/assets/{BankAccountSection-DCHOrv1O-tbPEQ2KM.js → BankAccountSection-CdIpgwVZ-BnTYSS8m.js} +5 -5
- package/dist/assets/{BankAccountWarningSection-Bof6a4Ai-CT6FFJx9.js → BankAccountWarningSection-COSdSiAy-BStyOpBA.js} +11 -11
- package/dist/assets/{BankConnectionsSettingsPage-KWPfd_oN-Co8la074.js → BankConnectionsSettingsPage-hNpSoqlw-B7Eg16k_.js} +11 -11
- package/dist/assets/{BillDetailPage-D5FyJKQZ-DQLoKFcH.js → BillDetailPage-CJX3QbcW-DVarBugB.js} +8 -8
- package/dist/assets/{BillPayApprovalRuleDetailPage-C17DUKc8-BWE5dOze.js → BillPayApprovalRuleDetailPage-CUxCgQSj-B-5dPRub.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-C6b0Dx9D-7TFrCAGZ.js → BillPayApprovalRulesPage-BAfgqIvl-BhkCJ5l9.js} +10 -10
- package/dist/assets/{BillPayPromoPage-BhbcKNjD-D-OruUi3.js → BillPayPromoPage-D25teFTJ-C_i37lSM.js} +8 -8
- package/dist/assets/{BillPaySetUpPage-DFkYsW2C-DJNYl3eq.js → BillPaySetUpPage-D9ovPwFv-C1hr9AdN.js} +2 -2
- package/dist/assets/{BillingSettingsPage-DQ-GDRoK-BcczfrvH.js → BillingSettingsPage-DBEk-yIg-dgxRKdDq.js} +8 -8
- package/dist/assets/{BillsBulkReviewDrawerPage-DzTwDeIy-BZKU74HU.js → BillsBulkReviewDrawerPage-CZUNCQ7j-DcLIZ8Sa.js} +1 -1
- package/dist/assets/{BoxItem-a04JWA45-CthCfWYv.js → BoxItem-BtIxBKUQ-CamgFDpr.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-BCr_ObVJ-CCJ-3Uzg.js → BusinessVerificationPage-CXeA666i-DDQ4xPVn.js} +12 -12
- package/dist/assets/{CardNumberSubText-B5ejHnml-lgXbHN3q.js → CardNumberSubText-Bakmjdzp-DZ-cA7Dx.js} +1 -1
- package/dist/assets/{CashbackDetailPage-DX_XsNhS-BdIyjObs.js → CashbackDetailPage-yC6NiWvx-BPO3MKaP.js} +25 -25
- package/dist/assets/{ChargeCardDetailPage-Ckbi7U9j-DDQWLOEC.js → ChargeCardDetailPage-DD0_CjGJ-Bk6iyPjP.js} +57 -57
- package/dist/assets/{ChargeCardListPage-CglfbPqr-CA5oo4lh.js → ChargeCardListPage-C_Wxtym7-C8RYPQLB.js} +20 -20
- package/dist/assets/{ChargeCardListTable-BxAeA97m-Bubn4K-P.js → ChargeCardListTable-tXjQM1HV-DZXGqDZ-.js} +41 -41
- package/dist/assets/{ChargeCardPromoPage-BfsQUUYb-tEUMLrxo.js → ChargeCardPromoPage-BAovEsQH-BcTKnJLX.js} +31 -31
- package/dist/assets/{ChargeCardSetupPage-Bq953HsV-DVD_WfYM.js → ChargeCardSetupPage-BFjo3XpM-Ciiz1tVr.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-B_5uvkaq-CLyD2f4E.js → ChargeCardStatementsPage-CvC1casY-DgRmilNR.js} +10 -10
- package/dist/assets/ChargeCardUtils-EeXYTubM-BzIGoEJ7.js +1 -0
- package/dist/assets/{ChaseOverlay-LcVAgdoT-CxUFiFZn.js → ChaseOverlay-DONL-nDR-1303yNRD.js} +7 -7
- package/dist/assets/CheckDepositDrawerPage-Da9ApPLD-Cr45_f1h.js +206 -0
- package/dist/assets/{CollapsableReportTable-CKmPwC_x-Br5zi5sk.js → CollapsableReportTable-C2cQTlA6-CwmB1eX2.js} +57 -57
- package/dist/assets/{CompanyOfficerDetailsSection-BlLsNJaD-CweBe6Rv.js → CompanyOfficerDetailsSection-ChVkSOtw-Bkqbsw1H.js} +28 -28
- package/dist/assets/{CompanyPassportCard-ElwK6uOD-BIcN0JjM.js → CompanyPassportCard-CLWfLYZT-dc2pMqRv.js} +8 -8
- package/dist/assets/{CompanyPassportPage-B6mGjsJZ-BpEhxrAK.js → CompanyPassportPage-B6_oWdN9-BkWGrSDb.js} +7 -7
- package/dist/assets/CompleteProfile-D_6UvHbF-Buy6AAC6.js +36 -0
- package/dist/assets/{ConfettiBurst-CjhkW_Be-C3dNmHxK.js → ConfettiBurst-CfEQKUn_-xwBqwegz.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-DHvmRSee-C_685l3E.js → CreateOrEditVendorPage-7mYLNzcH-FyLSW-Ll.js} +15 -15
- package/dist/assets/{CreditCardPaymentDrawerPage-BIaTYAUf-Jfi2pMUE.js → CreditCardPaymentDrawerPage-DM0awVZu-CMqADZ5j.js} +11 -11
- package/dist/assets/{CreditCardPaymentPlgSection-mUqReF9z-DqrJBSz6.js → CreditCardPaymentPlgSection-C3pH8AzC-DAPxFM0W.js} +12 -12
- package/dist/assets/CurrencySelectField-DuZRNdJ7-Cv8XSbJt.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-CIOyRd8r-SDmojwaB.js → CustomerOnboardingActivationPage-DfQCMxvl-DRp6yq3v.js} +5 -5
- package/dist/assets/CustomerOnboardingContainerPage-BuVNUdQ_-Prx4gAY_.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-A_l9Qen8-DmIvY8oj.js → CustomerOnboardingDetailPageSkeleton-m2chMg_F-DuDfcFEG.js} +13 -13
- package/dist/assets/{CustomerOnboardingNoStepsPage-D5BcbVEK-oA8YWJC6.js → CustomerOnboardingNoStepsPage-C4_D_p4k-Dc8uofQ5.js} +9 -9
- package/dist/assets/{CustomerOnboardingPage-N-8Zd7M_-D8NjvNws.js → CustomerOnboardingPage-XbpuMewL-BPKj5uUR.js} +6 -6
- package/dist/assets/{CustomerOnboardingProductSuitePage-DZwacur5-DO2ZOw-9.js → CustomerOnboardingProductSuitePage-DD3ipEqZ-yQHQ-Cas.js} +8 -8
- package/dist/assets/{Dashboard-CQoNm84Z-DgYDLI9w.js → Dashboard-zs5L4G5s-1ug-HoiT.js} +1 -1
- package/dist/assets/{DashboardReportPage-D4BoWobJ-CFBTUY9d.js → DashboardReportPage-BRkeSLqR-DB1CNvyz.js} +13 -13
- package/dist/assets/{DepositAccTransactionItem-C6_OrohL-BGie0JpH.js → DepositAccTransactionItem-DdxEaiop-XRO0k2Pe.js} +6 -6
- package/dist/assets/DepositAccTransactionListPage-C-4zU6U_-BMel7elx.js +66 -0
- package/dist/assets/{DocumentSecurityBanner-Bo9Hgo-I-Cs0ufG6M.js → DocumentSecurityBanner-BmCXnsqt-DgqTK1nO.js} +2 -2
- package/dist/assets/DomesticWireDetailsPage-D3nSUYmr-C8Q-qXAx.js +21 -0
- package/dist/assets/{DownloadOverlay-BoIyiJ9R-DmB8Yj8f.js → DownloadOverlay-D18IYrMS-Ch_NWNsV.js} +25 -25
- package/dist/assets/{DrawerPage-C_kxrXIc-EO54vroQ.js → DrawerPage-EcuR8TES-h-hhHnVA.js} +5 -5
- package/dist/assets/EditPeoplePage-66twBgmc-CNjYkPup.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-C-Lj-_YG-DFdYGBde.js → EditReimbursementDetailPage-z7CJ9Vy4-BOvbsxDO.js} +68 -68
- package/dist/assets/{EntityDetailPage-Cqkhzu9O-BvgbxI1O.js → EntityDetailPage-OvuxHiOz-DVhrmWOx.js} +3 -3
- package/dist/assets/{EntitySummarySection-Dqgxknt6-BmPNntbK.js → EntitySummarySection-D5L6gsZR-DNZQ4J50.js} +3 -3
- package/dist/assets/{ExpenseAutomationOverviewPage-CEsyeJ9u-wGjO8BAG.js → ExpenseAutomationOverviewPage-CM7a5B8w-D-61w10l.js} +22 -22
- package/dist/assets/{ExpenseAutomationPage-DxpK2JR5-DQoBcXAL.js → ExpenseAutomationPage-C0HfVK2q-BsQDQgZX.js} +84 -84
- package/dist/assets/{ExpressPayPage-DBWJERD9-30Fdrn3c.js → ExpressPayPage-CeHVuoHN-CZGa7NcH.js} +12 -12
- package/dist/assets/FeaturePreviewPage-FQsE4Qv8-C1JsnzwT.js +11 -0
- package/dist/assets/{FollowStepsSection-BrJecw-e-DzE6Hs1H.js → FollowStepsSection-BazOZlaE-C8JsCCQq.js} +13 -13
- package/dist/assets/{GlobalReviewListPage-Duoi9mD_-phlaJb_v.js → GlobalReviewListPage-B7OzhHDj-DwKKMm7I.js} +8 -8
- package/dist/assets/{HelpButton-C1djo0zO-DvpvoGEo.js → HelpButton-DY1MpMsB-NSbUCSI-.js} +5 -5
- package/dist/assets/{InformationCardStack-BE5eaq-x-DF6n3xvq.js → InformationCardStack-DTZ5U5HN-D5gVpmcs.js} +5 -5
- package/dist/assets/InsightsCardStack-D0wOSPaM-B1061MVO.js +79 -0
- package/dist/assets/{InsightsSection-nzKuS0T9-DDuE3v_a.js → InsightsSection-CLnISnUP-Dxdaecz_.js} +5 -5
- package/dist/assets/{IntegrationsSettingsPage-45ETlpC6-DIcKRGOh.js → IntegrationsSettingsPage-_Z5zEjw7-C9k0uLNg.js} +7 -7
- package/dist/assets/{InternationalWireSwiftDetailsPage-B21X5YFS-Cwrsqmx4.js → InternationalWireSwiftDetailsPage-Dz-fxrmb-BhMUVBgN.js} +15 -15
- package/dist/assets/{InternationalWireVerificationPage-BzagdPaG-B221Ct1T.js → InternationalWireVerificationPage-ncEPxfAh-BrDSeTws.js} +17 -17
- package/dist/assets/{InviteFormPage-BNdBP-Mm-CjHF0nLI.js → InviteFormPage-DWlnBCXL-BJ0d3_Rt.js} +25 -25
- package/dist/assets/{InvitePageListView-ChzmK7Rt-DRpj3HnO.js → InvitePageListView-Cmi49FoL-Dmiagjbx.js} +51 -51
- package/dist/assets/InvitePeoplePage-CL18FIeI-BCzQDGtZ.js +12 -0
- package/dist/assets/{InvoiceUploadSection-B8o-l15n-BS-TIgsz.js → InvoiceUploadSection-BYgUZr3e-ppSv-eTX.js} +41 -41
- package/dist/assets/{IssueChargeCardPage-BW0cXQqh-B35Dxtek.js → IssueChargeCardPage-Bmoi1yP8-DoxXOVnL.js} +27 -27
- package/dist/assets/{LabeledAddressValue-BioQUVCV-C1_whpY6.js → LabeledAddressValue-OqCEk1VW-BBNkXZso.js} +1 -1
- package/dist/assets/LabeledAddressValueField-fBxHfsjV-8EnRLxw9.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-CGT7KsYZ-DTlw8lP1.js → LabeledControlledCheckBoxField-BZrJseng-75nT77St.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-nys9pbO0-D8LCX05l.js → LabeledCreatableSingleSelectField-BjjLKIq--BW2m9V-K.js} +3 -3
- package/dist/assets/LabeledDocumentField-54KXTRM_-BUNcwMS4.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-DWP9oUzM-D-OhDhjz.js → LabeledDropDownFormattedTextField-1sZGnKTM-CseYE0ZU.js} +7 -7
- package/dist/assets/{LabeledText-QrjXGWwJ-BNY-0VFx.js → LabeledText-DZTriBfN-ldMke-_p.js} +3 -3
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BK9XCXKo-bFvTEIeu.js → LabeledUserSingleSelectWithSubtitlesField-BNPUM7x0-CXhgYAtn.js} +17 -17
- package/dist/assets/{LabeledZeniRolesDropDownField-C2PAZOPW-DhZj6Fmr.js → LabeledZeniRolesDropDownField-Ce4KKZiS-CqBBOe72.js} +11 -11
- package/dist/assets/{LinkJETransactionPage-BF6-BdWE-CCXto4UD.js → LinkJETransactionPage-DoaNWTmr-ZNMHH0Md.js} +8 -8
- package/dist/assets/{LowBalancePopup-ZZ8Ap8Ls-BX_yLOEX.js → LowBalancePopup-BOTHNsR0-CltUTAj3.js} +5 -5
- package/dist/assets/{MagicLinkACHDetailsPage-BDXiOwx_-BN328Iq7.js → MagicLinkACHDetailsPage-CD76NDYI-C-uF2GNj.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-B1-CK91r-agu708vC.js → MagicLinkDomesticWireDetailsPage-BsikAXMr-Cs00xKGu.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-D2rnWzME-Cxv5IRlY.js → MagicLinkInternationalWireDetailsPage-zu3TnX0Y-RjlupNMa.js} +1 -1
- package/dist/assets/MagicLinkSuccessPage-BICciyLs-DDU2uulJ.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-CmTUPCA1-SE5XIg5Z.js → MagicLinkTitleSection-CD_v3J8N-rcdTFeK_.js} +4 -4
- package/dist/assets/MailingDetailsSection-Cce0Hg2V-BFRjUzGv.js +21 -0
- package/dist/assets/{MeetingCalenderPopup-COpKcBhx-C3Igd-V1.js → MeetingCalenderPopup-gItmg01b-KkgdFDbQ.js} +1 -1
- package/dist/assets/{Menu-frAXxk4e-BVrtNaKP.js → Menu-vFgR8B3A-BT6OAOpY.js} +2 -2
- package/dist/assets/{MyBankConnectionsSettingsPage-BtC6C9fL-Cbppw-h4.js → MyBankConnectionsSettingsPage-NhLBy2nV-DGdV60Dz.js} +13 -13
- package/dist/assets/{MyPendingActivationChargeCardListPage-tXIpyxdq-DkXTKFhY.js → MyPendingActivationChargeCardListPage-CNb4v74Q-DPjefQOJ.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-BmMskLyK-CL91XtiU.js → MyProfileSettingsPage-CXcH5h3K-lboFLZ0B.js} +8 -8
- package/dist/assets/{NavBarWithPicker-ByLynfu6-DpuPwMmt.js → NavBarWithPicker-B1g4GR8h-BTQ7xdwc.js} +6 -6
- package/dist/assets/{NavigationArrow-D5-YpdfE-CYFnaZ_n.js → NavigationArrow-CKb8oJym-C00B8os7.js} +5 -5
- package/dist/assets/{NavigationDots-MA8SVlUT-DjvrP-SY.js → NavigationDots-Bgh-o0zo-CBPdxtJi.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-DtTW2Du8-DjaSItuV.js → NewGlobalMerchantPage-CTavGrPU-uVUTkxSd.js} +21 -21
- package/dist/assets/{NoDataChart-BdzVnx59-Dcb8iagX.js → NoDataChart-CtPlddxs-CnfQyDtm.js} +1 -1
- package/dist/assets/{NoDataTable-B4J5Ou18-Bir_Iwar.js → NoDataTable-Dibdh8Pj-CuACZUfn.js} +1 -1
- package/dist/assets/{NotFoundPage-BeAXQOme-DgzCQySk.js → NotFoundPage-yGvtm3rH-CMpdi5kB.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-CRZRet42-BRxa42Rm.js → NotificationSettingsPage-DOmx9OZh-bY0ARSm6.js} +13 -13
- package/dist/assets/{NotificationsListConfig-CkSDaMij-BGruklEe.js → NotificationsListConfig-Bz1-bZtB-DFsX0Euc.js} +1 -1
- package/dist/assets/{NotificationsPage-Dqe96fU8-Md1lm49g.js → NotificationsPage-CQ_3esFr-B-IG9JXC.js} +32 -32
- package/dist/assets/{OpExByVendorPage-CXtkN87m-jdrxiMx1.js → OpExByVendorPage-BjqGlQrk-B7srvp-L.js} +7 -7
- package/dist/assets/{OverlayContainerPage-Cy_Jxf8N-2KGo5iDU.js → OverlayContainerPage-GWXnlbZH-XeZYd_0X.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-DTOqkynU-B4brEIVC.js → PandLWithForecastPage-juNL-o7I-BSR50hku.js} +8 -8
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-C6WFeB3A-BRSh44ZN.js → PaymentAccountSetupBillingAddressSection-BxQrIZmE-B9AcRUzZ.js} +11 -11
- package/dist/assets/{PeoplePage-D-j114xg-CpebkT_B.js → PeoplePage-BfwpGELm-BdY1PML2.js} +1 -1
- package/dist/assets/PortfolioAllocationFormPage-CmUaCrrW-CsnNWvEp.js +207 -0
- package/dist/assets/{PortfolioDetails-Bbfo0XDo-DZIGyI3q.js → PortfolioDetails-BaLVprV9-DhjQAugK.js} +29 -29
- package/dist/assets/{ProductsCarousel-COUx0Xdj-CY1Sd1BH.js → ProductsCarousel-DSwEQiRo-BrOnjV8c.js} +6 -6
- package/dist/assets/{PromoBaseCards-DG1CAZvU-xf-pcVB-.js → PromoBaseCards-CDbwBfld-bqaRHMGs.js} +3 -3
- package/dist/assets/{QBOConnectionDialog-DLVcifji-KDuq_-AV.js → QBOConnectionDialog-BKEVg_Tw-Lgjz3-p9.js} +10 -10
- package/dist/assets/QBOSetupSection-CAtx-T_9-CoNYf7oJ.js +79 -0
- package/dist/assets/ReimbursementApprovalRuleDetailPage-D0YkHEiY-DPuD12sR.js +26 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-CTk2aZMz-YuPFBZZ_.js → ReimbursementApprovalRulesPage-BaI1dJWO-DsmqNYvE.js} +8 -8
- package/dist/assets/{ReimbursementDetailPage-BofsP0W--BITd3_Z0.js → ReimbursementDetailPage-CDoMkRc0-De12HsoG.js} +17 -17
- package/dist/assets/ReimbursementPromoPage-DpBahcUT-C8tn75CT.js +112 -0
- package/dist/assets/{ReimbursementSetUpPage-Em6S1wkj-xpQYGvkM.js → ReimbursementSetUpPage-C6ZSl21b-B8WJwXSb.js} +8 -8
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DpWChhvB-BY7o-nrI.js → ReimbursementsBulkReviewDrawerPage-DRm_RSSq-DeQfZa5e.js} +1 -1
- package/dist/assets/{ReloadCard-CZ1Ix5em-CIGCvyb9.js → ReloadCard-B1X0QtRR-DKi-eMjg.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-BRA3CT_O-W8MrucQl.js → ReportTableViewSelector-2gwwu23O-Dffc4dfy.js} +28 -28
- package/dist/assets/{ReportsPage-CauV3wnZ-DhsHNP71.js → ReportsPage-C4ry6Xjl-DZBMXAeC.js} +5 -5
- package/dist/assets/{RevenueChart-BeM_1hYw-D2KvIvPV.js → RevenueChart--mJZgy8C-DNQW4B8O.js} +12 -12
- package/dist/assets/{ReviewDetailsPage-C5xC8Cf1-Dr3gT8lu.js → ReviewDetailsPage-Dg_NdNMf-CW4kKG-B.js} +16 -16
- package/dist/assets/{ReviewOverlay-DdWa7GLG-BrnOlsr1.js → ReviewOverlay-C-9oLsRU-DbGH6sMH.js} +15 -15
- package/dist/assets/RoleWithToolTip-BPrl2KpS-R9NA17Ei.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BlhhW9A6-27m3v8tn.js → ScheduleDetailsFixedAssetsPage-DICnGQP9-C5eFpk12.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-BKWKZuAL-Cko_Bdh0.js → ScheduleDetailsPage-BvkYaxXa-mYyDbOuo.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-BzWPTqDM-Cct6COyG.js → ScheduleSequenceTable-Cv62faKa-MDeuMroB.js} +50 -50
- package/dist/assets/{ScreenRoutes-CvUDPDyW.js → ScreenRoutes-DAKdy7NU.js} +35 -35
- package/dist/assets/{SetUpAccountSection-Trj1x2HL-mb3yImZ6.js → SetUpAccountSection-DwkklztZ-BQ9QQ3eR.js} +23 -23
- package/dist/assets/{SetUpDefaultSection-BQzNGjO7-Fxtz2ozg.js → SetUpDefaultSection-Chh_3U0h-B9vxnPiJ.js} +8 -8
- package/dist/assets/{SignIn-Duk9PNwU-DFUIhBT3.js → SignIn-CoM3gLF4-C_1egKDj.js} +12 -12
- package/dist/assets/{SignInScreen-BaYfF0EF.js → SignInScreen-Dg1avkN7.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-CREdM633-BPnGO6Pg.js → SpendManagementListViewPage-rf8IhIOU-BYmCKDvl.js} +6 -6
- package/dist/assets/{SpendManagementPerTabPage-BZ6ISWXe-NSUQmYVp.js → SpendManagementPerTabPage-KLrMZOg6-DIDyAEyj.js} +28 -28
- package/dist/assets/{SpendManagementSection-bMsztUap-Bl_PJtV6.js → SpendManagementSection-CbbqZI-h-qBmB9JQ-.js} +13 -13
- package/dist/assets/{SpendMgmtSetupAccountSection-Btdtp-ry-CqmCQQeu.js → SpendMgmtSetupAccountSection-BfwEbse9-BEabiv-B.js} +18 -18
- package/dist/assets/{StatementItem-XLqlrHIu-yWvOcemX.js → StatementItem-DEvMOqc4-BaviqNa0.js} +5 -5
- package/dist/assets/{StatementsPage-DWiXiOFU-BSaqqYn6.js → StatementsPage-DNsm7q52-DqcqAutx.js} +4 -4
- package/dist/assets/{StatusSwitcher-D1XZ-pbx-Co1gh17k.js → StatusSwitcher-BdfUDJ2e-C1tw21zv.js} +4 -4
- package/dist/assets/{SubTabSwitcher-Bt3F7ANv-CXuMiM6j.js → SubTabSwitcher-o0RxZAky-Ldu_qmLh.js} +7 -7
- package/dist/assets/{SummaryCard-edbbHOmb-For-9jwt.js → SummaryCard-DQ4ZyfBH-BzHYmkIn.js} +1 -1
- package/dist/assets/{TaskManagementPage-BhtJBdco-K4tnOsNB.js → TaskManagementPage-BVNWrtPC-CQba95zF.js} +26 -26
- package/dist/assets/{TimeRangeSwitcher-D9KzhRYO-UIfxNa_m.js → TimeRangeSwitcher-CD16lox0-CX3eDF4E.js} +5 -5
- package/dist/assets/{TimeframeSwitcher-CbEHKZvd-tt-KvX0B.js → TimeframeSwitcher-C7i0JFHk-DTwRMIeq.js} +4 -4
- package/dist/assets/{TimeframeSwitcherWithToggle-Cb91RXpD-Dun8neFn.js → TimeframeSwitcherWithToggle-D35sc3g8-DFK7G4Fb.js} +2 -2
- package/dist/assets/{TopExCard-DD9Rf9T6-DnaHVccx.js → TopExCard-bgf-w40u-C_uNYW_E.js} +5 -5
- package/dist/assets/{TopExDetailPage-DaDuwFrj-CH9pN0VD.js → TopExDetailPage-CUiZ2o0r-CyBMg4gJ.js} +16 -16
- package/dist/assets/{TransactionDetailPage-0fIW4o-6-Bz5BXA4d.js → TransactionDetailPage-C50JQjnc-CWzIU1Zc.js} +34 -34
- package/dist/assets/{TransactionList-CLjBadiP-BsFmQ32L.js → TransactionList-nnfPsJZc-BAJrCGK5.js} +8 -8
- package/dist/assets/{TransactionListBig-CwBxP1xB-GCeT7Fhg.js → TransactionListBig-BNanyUhE-aaPtnDIE.js} +24 -24
- package/dist/assets/{TransactionListPage-S1nTM7Yy-B7qsbrmY.js → TransactionListPage-kQOGZBz8-D3fDxnFY.js} +3 -3
- package/dist/assets/TransactionVendorDetailPage-D2OO73Ia-BHB9doPf.js +80 -0
- package/dist/assets/{TransferDrawerPage-BJDNWagE-BIlQVD_e.js → TransferDrawerPage-NOLm9zmx-SsZZDdD7.js} +26 -26
- package/dist/assets/{TreasuryOverviewPage-DB-ZH19K-BnhmZR6N.js → TreasuryOverviewPage-Doo6fmEl-EyBf70hX.js} +31 -31
- package/dist/assets/{TreasuryPromoPage-3MwRPpCt-DhrZr8z8.js → TreasuryPromoPage-CyowAl6A-D4htfcTS.js} +21 -21
- package/dist/assets/{TreasurySetupPage--G4JCzdh-BxyObKos.js → TreasurySetupPage-DZdd0DpR-CKcdkLNP.js} +10 -10
- package/dist/assets/TreasuryStatementsPage-Dfw94h0a-BmcNhHrJ.js +58 -0
- package/dist/assets/TreasuryTaxLetterPage-D83IlTZG-BaYwb9KX.js +58 -0
- package/dist/assets/{TreasuryTransferOrReviewPage-ByM1UIiU-BqK_l_K5.js → TreasuryTransferOrReviewPage-BuL0YxIE-BtNOqi4P.js} +44 -44
- package/dist/assets/{TrendChart-B0CS3MXT-CbB-GoT1.js → TrendChart-C5-sKlos-B0Ahph3o.js} +3 -3
- package/dist/assets/{TrendWithTransactions-D4OAA6yK-BElfkr13.js → TrendWithTransactions-CZx5tt-z-BQaGMOsk.js} +9 -9
- package/dist/assets/{UncategorizedAccountsMappingPage-C6jaWqrE-DoHvxigx.js → UncategorizedAccountsMappingPage-BVma5qcZ-CCA2MX8b.js} +5 -5
- package/dist/assets/{UnitIntegrationPage-5LOvIFvr-CqyusfTc.js → UnitIntegrationPage-ZRhbEzdQ-B7INC4Jq.js} +5 -5
- package/dist/assets/{UploadAdditionalDocumentOverlay-CLQLrn0v-BKUosbWd.js → UploadAdditionalDocumentOverlay-BpJ_tRy_-Ir3yYWfE.js} +2 -2
- package/dist/assets/{Vendor2FAPopup-BOl520xa-ppAif-Ti.js → Vendor2FAPopup-CQbY2KbX-DZR9-buS.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-B5jKUOjo-CQ6fw4At.js → VendorACHDetailsPage-DcDtOkiR-BY6IlGZW.js} +1 -1
- package/dist/assets/{VendorDetailPage-B0GRXPKg-DpVGPOUS.js → VendorDetailPage-CHhJsnOa-Pomjlqys.js} +15 -15
- package/dist/assets/{VendorDomesticWireDetailsPage-CeI3QihK-nN5_uUst.js → VendorDomesticWireDetailsPage-BIwYrLOl-C5tQSQbr.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-aNGSdZBf-DmPeRpgN.js → VendorFiling1099EditablePage-gnNbtQoj-C_iovGiO.js} +11 -11
- package/dist/assets/{VendorFirstReviewPage-CjwnZLcm-rZCll1Gn.js → VendorFirstReviewPage-Bj3eqx7P-DMs77Fme.js} +40 -40
- package/dist/assets/{VendorInternationalWireDetailsPage-w-46Xxg--DMdoShD0.js → VendorInternationalWireDetailsPage-B_jwfV7H-B6LDXGfj.js} +15 -15
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-C5dogij9-AjTitKPs.js → VendorInternationalWireSwiftDetailsPage-CvIV-HFr-xCgovJeU.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-DBYoP6us-BNxmqurZ.js → VendorsAccountsSection-B2hWDuz0-Cu-WCSfr.js} +8 -8
- package/dist/assets/{WarningsDrawerPage-CZcR7kH4-CU5nIW1x.js → WarningsDrawerPage-BBC1azy1-5BwmdYFI.js} +22 -22
- package/dist/assets/{ZeniAccountDetailPage-C-NQEE2--Cb5OckXw.js → ZeniAccountDetailPage-mfrQO3zP-mQs6-xzM.js} +28 -28
- package/dist/assets/{ZeniAccountListViewPage-Cb8Ptf-w-DlLHoACL.js → ZeniAccountListViewPage-CCurA7tm-2kl9IV1R.js} +20 -20
- package/dist/assets/ZeniAccountNavBarPieces-CV5znR_M-xk3MObci.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-D5ihjbrM-CLAHDnt-.js → ZeniAccountPromoPage-DgGD7ggF-D6I3HQlw.js} +29 -29
- package/dist/assets/{ZeniAccountSetupPage-BRxz_tnh-BSP75bb0.js → ZeniAccountSetupPage-D4z2k7G7-B-TjplBp.js} +5 -5
- package/dist/assets/{ZeniCopyright-Bi82glrb-duqZWZnQ.js → ZeniCopyright-BdLzk7SF-YDGrRrzV.js} +1 -1
- package/dist/assets/ZeniTransferAmountSlider-BN1YPh8H-BhxzwI5G.js +63 -0
- package/dist/assets/{analyticsHelper-DfG7DVPh.js → analyticsHelper-C2NBKIU-.js} +1 -1
- package/dist/assets/{analyticsHelper-D3DK7bgU-BDE_Upvv.js → analyticsHelper-CzlOBCzS-CQTQg7l1.js} +1 -1
- package/dist/assets/{chartTypes-DJY-6KK0-4PHClK89.js → chartTypes-D-nEr9EI-B9VgqNSb.js} +1 -1
- package/dist/assets/{commonDimensions-DRK1vfDX-PluTp760.js → commonDimensions-DtXIXXfP-BDgsLUKt.js} +1 -1
- package/dist/assets/{detailCommon-6K-6m9pv-jkLJTbTr.js → detailCommon-DZhn8ANF-C-3uByQu.js} +9 -9
- package/dist/assets/{downloadPdf-DAA4T-qo-DsRNHgpN.js → downloadPdf-BaFOiUYP-DxRD0Sh_.js} +1 -1
- package/dist/assets/{index-BdyScxbq.js → index-DPgPe6wO.js} +4147 -4247
- package/dist/assets/{mapLoadingInProgressToTreeNode-BAlOrI07-BRkRTCaW.js → mapLoadingInProgressToTreeNode-VAL73To4-DUfqJ5Z1.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Bk-EXs-E-WwsJ-E2C.js → mapSectionWithAcOnlyToTreeNode-C-2C7Gbr-3LJ7o-YN.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-Cxd9BEJr-CTPQlHBA.js → mapSpacerToTreeNode-vdqGP9FL-DNsFGVkT.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-Cf8fsAZJ-CCBdKNH8.js → mapTimeframeBalancesToTreeNode-BFzyitoJ-BCTOadE1.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-BzFUtqqU-DazSUAzQ.js → mapTimeframeBalancesToTreeNode-BwlF2Rvj-CEJu0PwI.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CZMzZg1q-DcE9f1oB.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BhkQsZRW-CPa2W8T_.js} +1 -1
- package/dist/assets/{play-icon-DY_hSiAf-iPBPRToH.js → play-icon-Dzfx02ir-D9v788Sm.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-BaqBVqJ_-4clUovO3.js → toCOABalancesWithID-DN6cSuKb-Bquc6vq_.js} +1 -1
- package/dist/assets/{toChartData-7MYPev1U-BznULmJv.js → toChartData-Bc3LMl7f-JBzkXmJO.js} +1 -1
- package/dist/assets/{treasuryColorHelper-CDhLDRLr-BOEDM_eh.js → treasuryColorHelper-Cv4RwMTx-CPKgsqqw.js} +1 -1
- package/dist/assets/{uploadAttachment-DqCoxBNU-DL0Vk7r9.js → uploadAttachment-CxtYyGQy-Ct8Hb5gj.js} +24 -24
- package/dist/assets/{uploadReceipts-CU1mDxNv-JwkgKcZE.js → uploadReceipts-D80JLNY4-BE7GOht6.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-D6-Uk4xr-B2LzYHp3.js +0 -21
- package/dist/assets/ArAgingDetailPage-DD4M5tUJ-D6JB-pq2.js +0 -46
- package/dist/assets/ChargeCardUtils-Bivw83fy-C-WoJbl2.js +0 -1
- package/dist/assets/CheckDepositDrawerPage-SpI62oU7-BfpgYkY2.js +0 -206
- package/dist/assets/CompleteProfile-C1PIn6EM-Cc-adujF.js +0 -52
- package/dist/assets/CurrencySelectField-DS-pGcuE-BpFKHUHN.js +0 -139
- package/dist/assets/CustomerOnboardingContainerPage-Lh0xH_Pl-BUxNxoDZ.js +0 -1
- package/dist/assets/DepositAccTransactionListPage-Cxvs7tMg-C-FTLdcU.js +0 -66
- package/dist/assets/DomesticWireDetailsPage-DzKlJFvy-TYDqEdkx.js +0 -21
- package/dist/assets/EditPeoplePage-auUWC3gB-DSruR2eT.js +0 -55
- package/dist/assets/FeaturePreviewPage-CwGJVCMk-C9tam9PL.js +0 -11
- package/dist/assets/InsightsCardStack-EzAsNm_U-BDHHmNG2.js +0 -79
- package/dist/assets/InvitePeoplePage-DgqE2Y-0-aE1qBB-8.js +0 -12
- package/dist/assets/LabeledAddressValueField-Cw-p18du-RDWTYVMt.js +0 -45
- package/dist/assets/LabeledDocumentField-Y6TKpyZ8--QVPp5Dk.js +0 -41
- package/dist/assets/MagicLinkSuccessPage-IHajRicG-C2W53sTh.js +0 -31
- package/dist/assets/MailingDetailsSection-AiehjqI1-D3JLmM_S.js +0 -21
- package/dist/assets/PortfolioAllocationFormPage-C4XzSjzr-wu3AnJ-K.js +0 -207
- package/dist/assets/QBOSetupSection-BeRZZ-Q_-DjjY5-V4.js +0 -79
- package/dist/assets/ReimbursementApprovalRuleDetailPage-CrbiufS3-DIBrpREw.js +0 -26
- package/dist/assets/ReimbursementPromoPage-CA2cUBsx-C4CK4GgH.js +0 -112
- package/dist/assets/RoleWithToolTip-BP8MTZdU-BujAhA8M.js +0 -22
- package/dist/assets/TransactionVendorDetailPage-CTTTAais-bA1BYkNw.js +0 -80
- package/dist/assets/TreasuryStatementsPage-DBykLGfz-cC2WQ6c9.js +0 -58
- package/dist/assets/TreasuryTaxLetterPage-DgbrzE9u-iJym96NM.js +0 -58
- package/dist/assets/VerifyDevice-C-ZVbaIJ-3g8l0R3C.js +0 -67
- package/dist/assets/ZeniAccountNavBarPieces-DX2iXF2E-CaiImja0.js +0 -14
- package/dist/assets/ZeniTransferAmountSlider-B4d4bp7D-CqfBNylr.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-DPgPe6wO.js";import{b as s,n as t}from"./vendor-CnQcJ2Lu.js";import{w as Le}from"./downloadPdf-BaFOiUYP-DxRD0Sh_.js";import{o as _e}from"./commonDimensions-DtXIXXfP-BDgsLUKt.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-DPgPe6wO.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-DDUdlArT-BoTNNfQY.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-DPgPe6wO.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};
|