@zeniai/web-cockpit-ui 1.14.10-qa → 1.14.11-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-D6-Uk4xr-CqCQg7ha.js +21 -0
- package/dist/assets/{AIPerformancePage-FvDkFQx9-DcdCslTz.js → AIPerformancePage-pQP8EI_S-DOdJRYuT.js} +49 -49
- package/dist/assets/{AccountInfoPage-RM6DvvVS-Dg1PKEt4.js → AccountInfoPage-DxAa9GD7-BDuKQBCM.js} +5 -5
- package/dist/assets/{AccountInfoPageContent-DEG1tMaK-B-d3bj1J.js → AccountInfoPageContent-tNTpX5pA-DZsnTAw6.js} +17 -17
- package/dist/assets/{AccountReconDetailsDrawerPage-CiegEtwy-C9r2CYLq.js → AccountReconDetailsDrawerPage-CbZaDfU0-D6InUwmP.js} +13 -13
- package/dist/assets/{AccountRow-DDUdlArT-CdXNJ8jC.js → AccountRow-BpBK8mVs-D3-rIOZV.js} +33 -33
- package/dist/assets/{AccountsPromoCardStack-Q7ppOy47-BGGU4_sD.js → AccountsPromoCardStack-DBCYok4Z-BX2c8K6j.js} +35 -35
- package/dist/assets/{AddAddressForCardDrawer-C2us9OcV-B8z5J7QB.js → AddAddressForCardDrawer-BP8sDedz-fAvU3zAk.js} +2 -2
- package/dist/assets/{AddToWalletPage-B75ejfsy-DpB5cFz0.js → AddToWalletPage-Dsw1GIbh-C-TkI1oG.js} +26 -26
- package/dist/assets/{AgingReportsPage-mEhdjkho-hcvDKcgL.js → AgingReportsPage-COC3iACh-ihUmY_za.js} +8 -8
- package/dist/assets/{AllUserItems-o4xGLdQM-BpAFbzz9.js → AllUserItems-DKoDASKq-BK1HOlxO.js} +10 -10
- package/dist/assets/{ApAgingDetailPage-C0Y88nfk-DI6bAf1B.js → ApAgingDetailPage-BKAJMyRm-D4FAXjMB.js} +2 -2
- package/dist/assets/{AppBasePage-DKAxmkIN-B5cIKVeZ.js → AppBasePage-6fgXwSBv-PwB9ZP6-.js} +6 -6
- package/dist/assets/{AppDrawerContent-DLn3w253-BfJPK8Sb.js → AppDrawerContent-DnYw60Xv-DEM6VfAx.js} +19 -19
- package/dist/assets/{ApprovalRulesSettingsPage-vBjp3xy--CbC8uzzu.js → ApprovalRulesSettingsPage-X4EYoBfl-BbXFDQ_-.js} +5 -5
- package/dist/assets/{ArAgingChart-C3yYcTfo-Cp6SttRr.js → ArAgingChart-CNghm3pm-Dc-aS72N.js} +6 -6
- package/dist/assets/ArAgingDetailPage-DD4M5tUJ-CHn9GwO8.js +46 -0
- package/dist/assets/{AttachmentView-B4hoO1b8-BTGm5cj6.js → AttachmentView-Bp678glv-Bz7vnOLP.js} +7 -7
- package/dist/assets/{BankAccountSection-CdIpgwVZ-UKuk-CyP.js → BankAccountSection-DCHOrv1O-CHEMQ8hk.js} +5 -5
- package/dist/assets/{BankAccountWarningSection-COSdSiAy-Bu35qgEq.js → BankAccountWarningSection-Bof6a4Ai-D6cSyNpo.js} +11 -11
- package/dist/assets/{BankConnectionsSettingsPage-hNpSoqlw-N7cxSBLs.js → BankConnectionsSettingsPage-KWPfd_oN-Cw1WYpDv.js} +11 -11
- package/dist/assets/{BillDetailPage-CJX3QbcW-C0-YF6Gp.js → BillDetailPage-D5FyJKQZ-F16Zazrc.js} +8 -8
- package/dist/assets/{BillPayApprovalRuleDetailPage-CUxCgQSj-BqWIDd56.js → BillPayApprovalRuleDetailPage-C17DUKc8-dVTzDWJq.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-BAfgqIvl-BWZ3pAoi.js → BillPayApprovalRulesPage-C6b0Dx9D-GKQByTVv.js} +10 -10
- package/dist/assets/{BillPayPromoPage-D25teFTJ-BkPBQsPI.js → BillPayPromoPage-BhbcKNjD-Dc50ymZA.js} +8 -8
- package/dist/assets/{BillPaySetUpPage-D9ovPwFv-DX53TV_h.js → BillPaySetUpPage-DFkYsW2C-ejvkAWu2.js} +2 -2
- package/dist/assets/{BillingSettingsPage-DBEk-yIg-Ch8FGWV2.js → BillingSettingsPage-DQ-GDRoK-DLGZh1Tj.js} +8 -8
- package/dist/assets/{BillsBulkReviewDrawerPage-CZUNCQ7j-CP0pFg0D.js → BillsBulkReviewDrawerPage-DzTwDeIy-Ds5BqJGh.js} +1 -1
- package/dist/assets/{BoxItem-BtIxBKUQ-DtJ3R-PB.js → BoxItem-a04JWA45-DJp9lW-u.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-CXeA666i-BPWT62Lw.js → BusinessVerificationPage-BCr_ObVJ-OqegkAuZ.js} +12 -12
- package/dist/assets/{CardNumberSubText-Bakmjdzp-lSIgWyzd.js → CardNumberSubText-B5ejHnml-CLY9anWS.js} +1 -1
- package/dist/assets/{CashbackDetailPage-yC6NiWvx-DcDuCeaB.js → CashbackDetailPage-DX_XsNhS-BMZOysYo.js} +25 -25
- package/dist/assets/{ChargeCardDetailPage-DD0_CjGJ-BzEh2X_h.js → ChargeCardDetailPage-Ckbi7U9j-D_fwMr5K.js} +57 -57
- package/dist/assets/{ChargeCardListPage-C_Wxtym7-j7bJNLel.js → ChargeCardListPage-CglfbPqr-D7muWz7z.js} +20 -20
- package/dist/assets/{ChargeCardListTable-tXjQM1HV-Dzwl1fw-.js → ChargeCardListTable-BxAeA97m-C-BUBRdZ.js} +41 -41
- package/dist/assets/{ChargeCardPromoPage-BAovEsQH-Ek96Dkwb.js → ChargeCardPromoPage-BfsQUUYb-D4zqkYsh.js} +31 -31
- package/dist/assets/{ChargeCardSetupPage-BFjo3XpM-CdAKgoQN.js → ChargeCardSetupPage-Bq953HsV-BJMN-xIh.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-CvC1casY-b7_8UBZI.js → ChargeCardStatementsPage-B_5uvkaq-QS7pzZOg.js} +10 -10
- package/dist/assets/ChargeCardUtils-Bivw83fy-L79bEW0e.js +1 -0
- package/dist/assets/{ChaseOverlay-DONL-nDR-De0YjgVf.js → ChaseOverlay-LcVAgdoT-D1Jb2EIj.js} +7 -7
- package/dist/assets/CheckDepositDrawerPage-SpI62oU7-Q03dZELD.js +206 -0
- package/dist/assets/{CollapsableReportTable-C2cQTlA6-CvrNaDb7.js → CollapsableReportTable-CKmPwC_x-DvM2BIk1.js} +57 -57
- package/dist/assets/{CompanyOfficerDetailsSection-ChVkSOtw-B7Y0Et92.js → CompanyOfficerDetailsSection-BlLsNJaD-grOU-fb_.js} +28 -28
- package/dist/assets/{CompanyPassportCard-CLWfLYZT-DVRouOGL.js → CompanyPassportCard-ElwK6uOD-uKq6JSMM.js} +8 -8
- package/dist/assets/{CompanyPassportPage-B6_oWdN9-w2LzORF3.js → CompanyPassportPage-B6mGjsJZ-QyXjNlOK.js} +7 -7
- package/dist/assets/CompleteProfile-C1PIn6EM-BoaPrgBO.js +52 -0
- package/dist/assets/{ConfettiBurst-CfEQKUn_-BJZZqkje.js → ConfettiBurst-CjhkW_Be-tE_S1zJ3.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-7mYLNzcH-OQ44iBIB.js → CreateOrEditVendorPage-DHvmRSee-B7H_LsnK.js} +15 -15
- package/dist/assets/{CreditCardPaymentDrawerPage-DM0awVZu-BvoWvCAp.js → CreditCardPaymentDrawerPage-BIaTYAUf-Rj5ttUPd.js} +11 -11
- package/dist/assets/{CreditCardPaymentPlgSection-C3pH8AzC-xAcXkp7A.js → CreditCardPaymentPlgSection-mUqReF9z-IZFYMes7.js} +12 -12
- package/dist/assets/CurrencySelectField-DS-pGcuE-DLCIpnvb.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-DfQCMxvl-CfW_8NyT.js → CustomerOnboardingActivationPage-CIOyRd8r-BQMewqvn.js} +5 -5
- package/dist/assets/CustomerOnboardingContainerPage-Lh0xH_Pl-cw9bBAdD.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-m2chMg_F-DP-_bCgy.js → CustomerOnboardingDetailPageSkeleton-A_l9Qen8-BtaF5eWl.js} +13 -13
- package/dist/assets/{CustomerOnboardingNoStepsPage-C4_D_p4k-CVpSN_84.js → CustomerOnboardingNoStepsPage-D5BcbVEK-CYF4Do82.js} +9 -9
- package/dist/assets/{CustomerOnboardingPage-XbpuMewL-BK1qx-Jf.js → CustomerOnboardingPage-N-8Zd7M_-BLw-RmQq.js} +6 -6
- package/dist/assets/{CustomerOnboardingProductSuitePage-DD3ipEqZ-gVuFEpCL.js → CustomerOnboardingProductSuitePage-DZwacur5-CHyEWXN_.js} +8 -8
- package/dist/assets/{Dashboard-zs5L4G5s-BLp57MMW.js → Dashboard-CQoNm84Z-CGt51QX0.js} +1 -1
- package/dist/assets/{DashboardReportPage-BRkeSLqR-D4ftlofc.js → DashboardReportPage-D4BoWobJ-DB51j3mA.js} +13 -13
- package/dist/assets/{DepositAccTransactionItem-DdxEaiop-BBckVxk_.js → DepositAccTransactionItem-C6_OrohL-DcY3deV_.js} +6 -6
- package/dist/assets/DepositAccTransactionListPage-Cxvs7tMg-CslTnL-f.js +66 -0
- package/dist/assets/{DocumentSecurityBanner-BmCXnsqt-DLm91H5a.js → DocumentSecurityBanner-Bo9Hgo-I-DBmSgZgH.js} +2 -2
- package/dist/assets/DomesticWireDetailsPage-DzKlJFvy-D6rsk0GH.js +21 -0
- package/dist/assets/{DownloadOverlay-D18IYrMS-DZ5Hslzj.js → DownloadOverlay-BoIyiJ9R-BzDhGwzl.js} +25 -25
- package/dist/assets/{DrawerPage-EcuR8TES-qibKglza.js → DrawerPage-C_kxrXIc-CYxcqhiW.js} +5 -5
- package/dist/assets/EditPeoplePage-auUWC3gB-DhunvsTv.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-z7CJ9Vy4-BdjzHntY.js → EditReimbursementDetailPage-C-Lj-_YG-D3CWZXPH.js} +68 -68
- package/dist/assets/{EntityDetailPage-OvuxHiOz-BB6uo_VR.js → EntityDetailPage-Cqkhzu9O-CQdpKsUY.js} +3 -3
- package/dist/assets/{EntitySummarySection-D5L6gsZR-ICyFTmrF.js → EntitySummarySection-Dqgxknt6-CcorkWsq.js} +3 -3
- package/dist/assets/{ExpenseAutomationOverviewPage-CM7a5B8w-BqZToXAr.js → ExpenseAutomationOverviewPage-CEsyeJ9u-IlYsieJj.js} +22 -22
- package/dist/assets/{ExpenseAutomationPage-C0HfVK2q-Bjwf1eOa.js → ExpenseAutomationPage-DxpK2JR5-b76Jf9fI.js} +84 -84
- package/dist/assets/{ExpressPayPage-CeHVuoHN-CQaWJLyc.js → ExpressPayPage-DBWJERD9-DkcgiQRL.js} +12 -12
- package/dist/assets/FeaturePreviewPage-CwGJVCMk-c-nKLWL3.js +11 -0
- package/dist/assets/{FollowStepsSection-BazOZlaE-DDXU5Ssd.js → FollowStepsSection-BrJecw-e-CQdWJjWJ.js} +13 -13
- package/dist/assets/{GlobalReviewListPage-B7OzhHDj-sxly0nyY.js → GlobalReviewListPage-Duoi9mD_-Der2mhxZ.js} +8 -8
- package/dist/assets/{HelpButton-DY1MpMsB-KbKqlw38.js → HelpButton-C1djo0zO-BW6NBTNW.js} +5 -5
- package/dist/assets/{InformationCardStack-DTZ5U5HN-CApUz4e2.js → InformationCardStack-BE5eaq-x-7TOfUxxA.js} +5 -5
- package/dist/assets/InsightsCardStack-EzAsNm_U-Cm_xrDcd.js +79 -0
- package/dist/assets/{InsightsSection-CLnISnUP-MBzDtn2E.js → InsightsSection-nzKuS0T9-CcXyZxZ8.js} +5 -5
- package/dist/assets/{IntegrationsSettingsPage-_Z5zEjw7-Bb2Qdxl-.js → IntegrationsSettingsPage-45ETlpC6-ClhfPkcQ.js} +7 -7
- package/dist/assets/{InternationalWireSwiftDetailsPage-Dz-fxrmb-CpUwldlm.js → InternationalWireSwiftDetailsPage-B21X5YFS-DWJjZuCw.js} +15 -15
- package/dist/assets/{InternationalWireVerificationPage-ncEPxfAh-C6NGfmNG.js → InternationalWireVerificationPage-BzagdPaG-Cl81RiNZ.js} +17 -17
- package/dist/assets/{InviteFormPage-DWlnBCXL-SVZhUt0X.js → InviteFormPage-BNdBP-Mm-BdFbqKES.js} +25 -25
- package/dist/assets/{InvitePageListView-Cmi49FoL-FaQb5PXP.js → InvitePageListView-ChzmK7Rt-D29gFXI6.js} +51 -51
- package/dist/assets/InvitePeoplePage-DgqE2Y-0-DKu709Rv.js +12 -0
- package/dist/assets/{InvoiceUploadSection-BYgUZr3e-B5ZzCOUA.js → InvoiceUploadSection-B8o-l15n-Da7WgU-0.js} +41 -41
- package/dist/assets/{IssueChargeCardPage-Bmoi1yP8-7XttLy41.js → IssueChargeCardPage-BW0cXQqh-BmbmlACe.js} +27 -27
- package/dist/assets/{LabeledAddressValue-OqCEk1VW-CIF29038.js → LabeledAddressValue-BioQUVCV-fsudcvfQ.js} +1 -1
- package/dist/assets/LabeledAddressValueField-Cw-p18du-D9T5QqTG.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-BZrJseng-9-Obm_Rv.js → LabeledControlledCheckBoxField-CGT7KsYZ-jRPtCjyI.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-BjjLKIq--CKme-Zbq.js → LabeledCreatableSingleSelectField-nys9pbO0-0SJcSq-w.js} +3 -3
- package/dist/assets/LabeledDocumentField-Y6TKpyZ8-CW27Za_m.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-1sZGnKTM-y7e2QJmr.js → LabeledDropDownFormattedTextField-DWP9oUzM-TYwr2dWi.js} +7 -7
- package/dist/assets/{LabeledText-DZTriBfN-CwwPr2Y1.js → LabeledText-QrjXGWwJ-Csl1kB9E.js} +3 -3
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BNPUM7x0-B-sTwPBI.js → LabeledUserSingleSelectWithSubtitlesField-BK9XCXKo-CRz-dhMo.js} +17 -17
- package/dist/assets/{LabeledZeniRolesDropDownField-Ce4KKZiS-B6byb8PO.js → LabeledZeniRolesDropDownField-C2PAZOPW-ChSwcxj4.js} +11 -11
- package/dist/assets/{LinkJETransactionPage-DoaNWTmr-odUN47aO.js → LinkJETransactionPage-BF6-BdWE-DO5i53f_.js} +8 -8
- package/dist/assets/{LowBalancePopup-BOTHNsR0-CoxyAFcB.js → LowBalancePopup-ZZ8Ap8Ls-CO5moJjL.js} +5 -5
- package/dist/assets/{MagicLinkACHDetailsPage-CD76NDYI-Ve2NJ-iM.js → MagicLinkACHDetailsPage-BDXiOwx_-D5AHGKn1.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-BsikAXMr-DhE6Ut2B.js → MagicLinkDomesticWireDetailsPage-B1-CK91r-BBsb3LWh.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-zu3TnX0Y-lP-Se4cs.js → MagicLinkInternationalWireDetailsPage-D2rnWzME-pHczJsmC.js} +1 -1
- package/dist/assets/MagicLinkSuccessPage-IHajRicG-TvKR0rcg.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-CD_v3J8N-DW6D0fJX.js → MagicLinkTitleSection-CmTUPCA1-crT0_cjI.js} +4 -4
- package/dist/assets/MailingDetailsSection-AiehjqI1-CrcmbjEa.js +21 -0
- package/dist/assets/{MeetingCalenderPopup-gItmg01b-Cu9NWj0e.js → MeetingCalenderPopup-COpKcBhx-C1b7HyPI.js} +1 -1
- package/dist/assets/{Menu-vFgR8B3A-uLxvXXvL.js → Menu-frAXxk4e-ChxiZJil.js} +2 -2
- package/dist/assets/{MyBankConnectionsSettingsPage-NhLBy2nV-CLratIrJ.js → MyBankConnectionsSettingsPage-BtC6C9fL-CIbylXW-.js} +13 -13
- package/dist/assets/{MyPendingActivationChargeCardListPage-CNb4v74Q-D4I0sjao.js → MyPendingActivationChargeCardListPage-tXIpyxdq-DyLbYr-a.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-CXcH5h3K-Cic_ZJ4q.js → MyProfileSettingsPage-BmMskLyK-BRbEv4qP.js} +8 -8
- package/dist/assets/{NavBarWithPicker-B1g4GR8h-BHoASNPV.js → NavBarWithPicker-ByLynfu6-DkhTP5l5.js} +6 -6
- package/dist/assets/{NavigationArrow-CKb8oJym-BKEHFfza.js → NavigationArrow-D5-YpdfE-BYBuxDoB.js} +5 -5
- package/dist/assets/{NavigationDots-Bgh-o0zo-K6CBNKPZ.js → NavigationDots-MA8SVlUT-BNaROjbH.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-CTavGrPU-D58PJEdd.js → NewGlobalMerchantPage-DtTW2Du8-teWW5fR7.js} +21 -21
- package/dist/assets/{NoDataChart-CtPlddxs-DjKWZv7Z.js → NoDataChart-BdzVnx59-Zwl7GRg0.js} +1 -1
- package/dist/assets/{NoDataTable-Dibdh8Pj-QVM7mj96.js → NoDataTable-B4J5Ou18-BjRs61V8.js} +1 -1
- package/dist/assets/{NotFoundPage-yGvtm3rH-Bd-Bemtd.js → NotFoundPage-BeAXQOme-HRJfFoZt.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-DOmx9OZh-CqYXpA0c.js → NotificationSettingsPage-CRZRet42-B4tscA88.js} +13 -13
- package/dist/assets/{NotificationsListConfig-Bz1-bZtB-FVI5Vj_m.js → NotificationsListConfig-CkSDaMij-aj-ed0aI.js} +1 -1
- package/dist/assets/{NotificationsPage-CQ_3esFr-BqBUQ__h.js → NotificationsPage-Dqe96fU8-DGXpNPVr.js} +32 -32
- package/dist/assets/{OpExByVendorPage-BjqGlQrk-BFgfXC36.js → OpExByVendorPage-CXtkN87m-D6OjOLM9.js} +7 -7
- package/dist/assets/{OverlayContainerPage-GWXnlbZH-ei-9RlC_.js → OverlayContainerPage-Cy_Jxf8N-B2CxgCWd.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-juNL-o7I-DMQaebm1.js → PandLWithForecastPage-DTOqkynU-9NyuYxx1.js} +8 -8
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-BxQrIZmE-B_q4GQV2.js → PaymentAccountSetupBillingAddressSection-C6WFeB3A-C9tSnFrF.js} +11 -11
- package/dist/assets/{PeoplePage-BfwpGELm-DqbV3EEG.js → PeoplePage-D-j114xg-s5ngzrYI.js} +1 -1
- package/dist/assets/PortfolioAllocationFormPage-C4XzSjzr-AaZTXsTp.js +207 -0
- package/dist/assets/{PortfolioDetails-BaLVprV9-s_70y1hl.js → PortfolioDetails-Bbfo0XDo-F8wi_TkN.js} +29 -29
- package/dist/assets/{ProductsCarousel-DSwEQiRo-wKmJuLus.js → ProductsCarousel-COUx0Xdj-Bk25WJ5z.js} +6 -6
- package/dist/assets/{PromoBaseCards-CDbwBfld-DHXh6Jz5.js → PromoBaseCards-DG1CAZvU-Kp-BaaPo.js} +3 -3
- package/dist/assets/{QBOConnectionDialog-BKEVg_Tw-DfDc7Zj1.js → QBOConnectionDialog-DLVcifji-BzsFl8lU.js} +10 -10
- package/dist/assets/QBOSetupSection-BeRZZ-Q_-a6rhf4W-.js +79 -0
- package/dist/assets/ReimbursementApprovalRuleDetailPage-CrbiufS3-Bj0-a-7-.js +26 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-BaI1dJWO-hai_N-Le.js → ReimbursementApprovalRulesPage-CTk2aZMz-oZhsGYfa.js} +8 -8
- package/dist/assets/{ReimbursementDetailPage-CDoMkRc0-D7z4FCni.js → ReimbursementDetailPage-BofsP0W--DVgChjvg.js} +17 -17
- package/dist/assets/ReimbursementPromoPage-CA2cUBsx-DqpwfsT0.js +112 -0
- package/dist/assets/{ReimbursementSetUpPage-C6ZSl21b-BhOccRNG.js → ReimbursementSetUpPage-Em6S1wkj-DAxU1I0b.js} +8 -8
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DRm_RSSq-CMj-h4BM.js → ReimbursementsBulkReviewDrawerPage-DpWChhvB-CNq5fdbL.js} +1 -1
- package/dist/assets/{ReloadCard-B1X0QtRR-BXScvMmg.js → ReloadCard-CZ1Ix5em-CJhVpNi9.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-2gwwu23O-D4SUAhgu.js → ReportTableViewSelector-BRA3CT_O-BWHSw_d5.js} +28 -28
- package/dist/assets/{ReportsPage-C4ry6Xjl-DWRSq16N.js → ReportsPage-CauV3wnZ-Bfok01xk.js} +5 -5
- package/dist/assets/{RevenueChart--mJZgy8C-Cgs7A_Xi.js → RevenueChart-BeM_1hYw-DP9fkCbH.js} +12 -12
- package/dist/assets/{ReviewDetailsPage-Dg_NdNMf-C6JTFr2b.js → ReviewDetailsPage-C5xC8Cf1-Bcj2cFMw.js} +16 -16
- package/dist/assets/{ReviewOverlay-C-9oLsRU-CZUg6lpm.js → ReviewOverlay-DdWa7GLG-YdWdWayu.js} +15 -15
- package/dist/assets/RoleWithToolTip-BP8MTZdU-BOm9Us2_.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-DICnGQP9-eOvUkGGr.js → ScheduleDetailsFixedAssetsPage-BlhhW9A6-Cgf6Hq7_.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-BvkYaxXa-C15O7RkB.js → ScheduleDetailsPage-BKWKZuAL-CQ6iSQsN.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-Cv62faKa-M34Bvr--.js → ScheduleSequenceTable-BzWPTqDM-Dgu5c0RS.js} +50 -50
- package/dist/assets/{ScreenRoutes-DF9_ndl0.js → ScreenRoutes-BBcvidtT.js} +62 -62
- package/dist/assets/{SetUpAccountSection-DwkklztZ-CvvkeLO0.js → SetUpAccountSection-Trj1x2HL-CiAxSNYR.js} +23 -23
- package/dist/assets/{SetUpDefaultSection-Chh_3U0h-DP32jEG1.js → SetUpDefaultSection-BQzNGjO7-an74W3Da.js} +8 -8
- package/dist/assets/{SignIn-CoM3gLF4-CxYJZHsh.js → SignIn-Duk9PNwU-Y2eo5FDG.js} +12 -12
- package/dist/assets/{SignInScreen-CgRLE79n.js → SignInScreen-BDl851xo.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-rf8IhIOU-BST9K3MV.js → SpendManagementListViewPage-CREdM633-Cg0NFbb7.js} +6 -6
- package/dist/assets/{SpendManagementPerTabPage-KLrMZOg6-pZeNXzmX.js → SpendManagementPerTabPage-BZ6ISWXe-BYNegFz5.js} +28 -28
- package/dist/assets/{SpendManagementSection-CbbqZI-h-CVwzMKo9.js → SpendManagementSection-bMsztUap-upI-ZdzC.js} +13 -13
- package/dist/assets/{SpendMgmtSetupAccountSection-BfwEbse9-CCE4LYic.js → SpendMgmtSetupAccountSection-Btdtp-ry-M7exC_NJ.js} +18 -18
- package/dist/assets/{StatementItem-DEvMOqc4-CScSh11D.js → StatementItem-XLqlrHIu-VoU4RUpG.js} +5 -5
- package/dist/assets/{StatementsPage-DNsm7q52-ajRuJ1oP.js → StatementsPage-DWiXiOFU-DZPVh_4x.js} +4 -4
- package/dist/assets/{StatusSwitcher-BdfUDJ2e-D4dCUyMA.js → StatusSwitcher-D1XZ-pbx-DwwsmfkA.js} +4 -4
- package/dist/assets/{SubTabSwitcher-o0RxZAky-CeSW8fRP.js → SubTabSwitcher-Bt3F7ANv-e4DBICdr.js} +7 -7
- package/dist/assets/{SummaryCard-DQ4ZyfBH-D9XxMBaO.js → SummaryCard-edbbHOmb-DIbjh5sC.js} +1 -1
- package/dist/assets/{TaskManagementPage-BVNWrtPC-D_5VYMB9.js → TaskManagementPage-BhtJBdco-CawcFnLk.js} +26 -26
- package/dist/assets/{TimeRangeSwitcher-CD16lox0-Bi5yNRU7.js → TimeRangeSwitcher-D9KzhRYO-DSUt4L30.js} +5 -5
- package/dist/assets/{TimeframeSwitcher-C7i0JFHk-Y8yZXQA6.js → TimeframeSwitcher-CbEHKZvd-CUipNC15.js} +4 -4
- package/dist/assets/{TimeframeSwitcherWithToggle-D35sc3g8-CG8BhQxV.js → TimeframeSwitcherWithToggle-Cb91RXpD-Bqbdu9xs.js} +2 -2
- package/dist/assets/{TopExCard-bgf-w40u-DTYDqUmn.js → TopExCard-DD9Rf9T6-CfNVkG6m.js} +5 -5
- package/dist/assets/{TopExDetailPage-CUiZ2o0r-Cjf8s50F.js → TopExDetailPage-DaDuwFrj-BOsQHlTA.js} +16 -16
- package/dist/assets/{TransactionDetailPage-C50JQjnc-BhybCWFY.js → TransactionDetailPage-0fIW4o-6-BKhKFulx.js} +34 -34
- package/dist/assets/{TransactionList-nnfPsJZc-BFMNvdxG.js → TransactionList-CLjBadiP-By9OtkVt.js} +8 -8
- package/dist/assets/{TransactionListBig-BNanyUhE-B8m5ZzrI.js → TransactionListBig-CwBxP1xB-DEm91bPU.js} +24 -24
- package/dist/assets/{TransactionListPage-kQOGZBz8-7Xlasrzv.js → TransactionListPage-S1nTM7Yy-Hu_PcxrN.js} +3 -3
- package/dist/assets/TransactionVendorDetailPage-CTTTAais-CKKUnVWe.js +80 -0
- package/dist/assets/{TransferDrawerPage-NOLm9zmx-BS3ryUJB.js → TransferDrawerPage-BJDNWagE-B5RBpIT8.js} +26 -26
- package/dist/assets/{TreasuryOverviewPage-Doo6fmEl-l6_Fc322.js → TreasuryOverviewPage-DB-ZH19K-0cVLv_tv.js} +31 -31
- package/dist/assets/{TreasuryPromoPage-CyowAl6A-B4fxQydj.js → TreasuryPromoPage-3MwRPpCt-B5X2lU4M.js} +21 -21
- package/dist/assets/{TreasurySetupPage-DZdd0DpR-vdFV4pXJ.js → TreasurySetupPage--G4JCzdh-Ck5w0LPU.js} +10 -10
- package/dist/assets/TreasuryStatementsPage-DBykLGfz-gFLjSnAI.js +58 -0
- package/dist/assets/TreasuryTaxLetterPage-DgbrzE9u-BsWgo8r5.js +58 -0
- package/dist/assets/{TreasuryTransferOrReviewPage-BuL0YxIE-PNl-v8dv.js → TreasuryTransferOrReviewPage-ByM1UIiU-CjSaFqgC.js} +44 -44
- package/dist/assets/{TrendChart-C5-sKlos-DGmmfqs4.js → TrendChart-B0CS3MXT-D7qhkgQT.js} +3 -3
- package/dist/assets/{TrendWithTransactions-CZx5tt-z-CQJe1m4b.js → TrendWithTransactions-D4OAA6yK-BF-AbaMY.js} +9 -9
- package/dist/assets/{UncategorizedAccountsMappingPage-BVma5qcZ-Dbxb7bjD.js → UncategorizedAccountsMappingPage-C6jaWqrE-zTG-_1nm.js} +5 -5
- package/dist/assets/{UnitIntegrationPage-ZRhbEzdQ-ClCYRwoC.js → UnitIntegrationPage-5LOvIFvr-Bzw8mu6B.js} +5 -5
- package/dist/assets/{UploadAdditionalDocumentOverlay-BpJ_tRy_-9uQh_UHt.js → UploadAdditionalDocumentOverlay-CLQLrn0v-SNsFu9LY.js} +2 -2
- package/dist/assets/{Vendor2FAPopup-CQbY2KbX-DxjPrntR.js → Vendor2FAPopup-BOl520xa-LnECkqk5.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-DcDtOkiR-C2D4Yw60.js → VendorACHDetailsPage-B5jKUOjo-CQSiDv6a.js} +1 -1
- package/dist/assets/{VendorDetailPage-CHhJsnOa-Bqq4fZva.js → VendorDetailPage-B0GRXPKg--VPcZWOw.js} +15 -15
- package/dist/assets/{VendorDomesticWireDetailsPage-BIwYrLOl-RRT_tSUL.js → VendorDomesticWireDetailsPage-CeI3QihK-q_cf3oNF.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-gnNbtQoj-DGAYWfCe.js → VendorFiling1099EditablePage-aNGSdZBf-MeHUgDES.js} +11 -11
- package/dist/assets/{VendorFirstReviewPage-Bj3eqx7P-CZXmjVPM.js → VendorFirstReviewPage-CjwnZLcm-DmkymrJ0.js} +40 -40
- package/dist/assets/{VendorInternationalWireDetailsPage-B_jwfV7H-BL3lT3ir.js → VendorInternationalWireDetailsPage-w-46Xxg--xMskWvbV.js} +15 -15
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-CvIV-HFr-D1Hc50Za.js → VendorInternationalWireSwiftDetailsPage-C5dogij9-DD3MG-8Z.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-B2hWDuz0-YoT_oAP8.js → VendorsAccountsSection-DBYoP6us-C4im8TRF.js} +8 -8
- package/dist/assets/VerifyDevice-C-ZVbaIJ-BL0Q3Y3x.js +67 -0
- package/dist/assets/{WarningsDrawerPage-BBC1azy1-z1JqhFaT.js → WarningsDrawerPage-CZcR7kH4-sqfZfsTI.js} +22 -22
- package/dist/assets/{ZeniAccountDetailPage-mfrQO3zP-DHbG-Qat.js → ZeniAccountDetailPage-C-NQEE2--DiLlSCD5.js} +28 -28
- package/dist/assets/{ZeniAccountListViewPage-CCurA7tm-B1ByeEoa.js → ZeniAccountListViewPage-Cb8Ptf-w-Bz8qB5Gm.js} +20 -20
- package/dist/assets/ZeniAccountNavBarPieces-DX2iXF2E-CQG9bWdR.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-DgGD7ggF-FgyRM55s.js → ZeniAccountPromoPage-D5ihjbrM-uye9J5Yp.js} +29 -29
- package/dist/assets/{ZeniAccountSetupPage-D4z2k7G7-D3CuRZMF.js → ZeniAccountSetupPage-BRxz_tnh-hDbWbkKw.js} +5 -5
- package/dist/assets/{ZeniCopyright-BdLzk7SF-CQiuH4cG.js → ZeniCopyright-Bi82glrb-Dz0CNsex.js} +1 -1
- package/dist/assets/ZeniTransferAmountSlider-B4d4bp7D-Cs4p2KhU.js +63 -0
- package/dist/assets/{analyticsHelper-CzlOBCzS-Ba5yCVi8.js → analyticsHelper-D3DK7bgU-BvVFcTDm.js} +1 -1
- package/dist/assets/{analyticsHelper-BUf1K4hx.js → analyticsHelper-DijVlDk5.js} +1 -1
- package/dist/assets/{chartTypes-D-nEr9EI-C0zQa7Wt.js → chartTypes-DJY-6KK0-Bzq8Fcov.js} +1 -1
- package/dist/assets/{commonDimensions-DtXIXXfP-CxfCVUIm.js → commonDimensions-DRK1vfDX-CO7PCzy1.js} +1 -1
- package/dist/assets/{detailCommon-DZhn8ANF-DY0XYP-1.js → detailCommon-6K-6m9pv-2y9fI_2t.js} +9 -9
- package/dist/assets/{downloadPdf-BaFOiUYP-BhMvbAM3.js → downloadPdf-DAA4T-qo-CPXN54rf.js} +1 -1
- package/dist/assets/{index-C7yzTmij.js → index-CIAgrDi2.js} +4247 -4147
- package/dist/assets/{mapLoadingInProgressToTreeNode-VAL73To4-9VVcQ3qA.js → mapLoadingInProgressToTreeNode-BAlOrI07-CQVT-QlQ.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-C-2C7Gbr-Cj6NIyHy.js → mapSectionWithAcOnlyToTreeNode-Bk-EXs-E-B9fPZZTu.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-vdqGP9FL-vsW_sRyC.js → mapSpacerToTreeNode-Cxd9BEJr--PDlNxOC.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-BwlF2Rvj-B2Id_UlX.js → mapTimeframeBalancesToTreeNode-BzFUtqqU-DR76PT1e.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-BFzyitoJ-DfU4qVFa.js → mapTimeframeBalancesToTreeNode-Cf8fsAZJ-D1uR1QLu.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BhkQsZRW-Cbnmx738.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CZMzZg1q-oHDpC_ju.js} +1 -1
- package/dist/assets/{play-icon-Dzfx02ir-dG88rl_z.js → play-icon-DY_hSiAf-DitmQkz7.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-DN6cSuKb-DdLSsatB.js → toCOABalancesWithID-BaqBVqJ_-1rnUe3A4.js} +1 -1
- package/dist/assets/{toChartData-Bc3LMl7f-CXw-Y0dZ.js → toChartData-7MYPev1U-zJcYDtq1.js} +1 -1
- package/dist/assets/{treasuryColorHelper-Cv4RwMTx-Bw9OTLfX.js → treasuryColorHelper-CDhLDRLr-CltoUNO8.js} +1 -1
- package/dist/assets/{uploadAttachment-CxtYyGQy-CCbkX8ir.js → uploadAttachment-DqCoxBNU-CxpASWHI.js} +24 -24
- package/dist/assets/{uploadReceipts-D80JLNY4-COsGXapR.js → uploadReceipts-CU1mDxNv-0vPSSd-N.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-fN9d1vam-BnY47sVD.js +0 -21
- package/dist/assets/ArAgingDetailPage-DlmXkANV-D50f3oY6.js +0 -46
- package/dist/assets/ChargeCardUtils-EeXYTubM-APgPlZEM.js +0 -1
- package/dist/assets/CheckDepositDrawerPage-Da9ApPLD-DB3AcRhF.js +0 -206
- package/dist/assets/CompleteProfile-D_6UvHbF-Zc2ZxSIy.js +0 -36
- package/dist/assets/CurrencySelectField-DuZRNdJ7--Tr2SnT9.js +0 -139
- package/dist/assets/CustomerOnboardingContainerPage-BuVNUdQ_-BSSyR5Rm.js +0 -1
- package/dist/assets/DepositAccTransactionListPage-C-4zU6U_-CAplFsmy.js +0 -66
- package/dist/assets/DomesticWireDetailsPage-D3nSUYmr-DrDa4yas.js +0 -21
- package/dist/assets/EditPeoplePage-66twBgmc-pJSx1vDb.js +0 -55
- package/dist/assets/FeaturePreviewPage-FQsE4Qv8-rwV6xMgo.js +0 -11
- package/dist/assets/InsightsCardStack-D0wOSPaM-DgAtskKg.js +0 -79
- package/dist/assets/InvitePeoplePage-CL18FIeI-B4oObmQg.js +0 -12
- package/dist/assets/LabeledAddressValueField-fBxHfsjV-B45FeAVL.js +0 -45
- package/dist/assets/LabeledDocumentField-54KXTRM_-BBD50qxr.js +0 -41
- package/dist/assets/MagicLinkSuccessPage-BICciyLs-C8NFMe8v.js +0 -31
- package/dist/assets/MailingDetailsSection-Cce0Hg2V-fhJvFQv1.js +0 -21
- package/dist/assets/PortfolioAllocationFormPage-CmUaCrrW-CYMtoDWk.js +0 -207
- package/dist/assets/QBOSetupSection-CAtx-T_9-o42Omplj.js +0 -79
- package/dist/assets/ReimbursementApprovalRuleDetailPage-D0YkHEiY-Cd6_u7cb.js +0 -26
- package/dist/assets/ReimbursementPromoPage-DpBahcUT-CBe_bgtf.js +0 -112
- package/dist/assets/RoleWithToolTip-BPrl2KpS-CivGY3G2.js +0 -22
- package/dist/assets/TransactionVendorDetailPage-D2OO73Ia-CN6sZZEi.js +0 -80
- package/dist/assets/TreasuryStatementsPage-Dfw94h0a-BYoZAju1.js +0 -58
- package/dist/assets/TreasuryTaxLetterPage-D83IlTZG-C592xnfc.js +0 -58
- package/dist/assets/ZeniAccountNavBarPieces-CV5znR_M-WVZrWgkt.js +0 -14
- package/dist/assets/ZeniTransferAmountSlider-BN1YPh8H-Cut1vMY1.js +0 -63
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as we,
|
|
1
|
+
import{X as we,fe as Ae,gZ as H,j as r,B as Se,bw as C,i as Te,_ as z,o as a,am as ve,bt as De,d as E,$ as ee,ay as Ce,fg as ze,n as re}from"./index-CIAgrDi2.js";import{b as s,n as t}from"./vendor-CnQcJ2Lu.js";import{w as Le}from"./downloadPdf-DAA4T-qo-CPXN54rf.js";import{o as _e}from"./commonDimensions-DRK1vfDX-CO7PCzy1.js";const{common:{strings:Ee,copyToClipBoard:y},spendManagement:{zeniAccounts:{zeniAccountDetail:J},billPay:{vendorCreation:{achDetails:o}},downloads:W}}=Se.getLocalizedStrings(),Ke=({authParams:e,downloadAccountDetailEndPoint:ae,currentTab:f,depositAccount:n,zeniAccountsConfigDetail:u,currentTenant:g})=>{const oe=we(),[,I]=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,M]=s.useState(!1),[N,P]=s.useState(!1),[j,B]=s.useState(!1),[w,X]=s.useState(!1),[A,q]=s.useState(!1),[S,O]=s.useState(!1),[T,Q]=s.useState(!1),[$,U]=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(()=>{M(!1),O(!1),Q(!1),U(!1),q(!1),X(!1),B(!1),P(!1)},1200)},[p,S,T,$,A,w,j,N]);const V=(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}`,I(c),M(!0)},i=(h,c,x,F)=>{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":O(!0);break;case"acccountNumber":Q(!0);break;case"routingNumber":U(!0);break;case"bankName":q(!0);break;case"beneficiaryName":P(!0);break;case"beneficiaryAddress":X(!0);break;case"bankAddress":B(!0);break}};return r.jsxs(qe,{onMouseEnter:()=>V(x,!0),onMouseLeave:()=>V(x,!1),children:[r.jsx(Oe,{children:h}),r.jsx(Ue,{children:r.jsxs(Ve,{children:[r.jsxs(Qe,{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(K,{}):r.jsx(G,{"data-testid":z("account-info-copy",x),onClick:()=>{I(c),je()}})})}):null,c]}),F!=null?r.jsx(Fe,{children:F}):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(Re,{children:r.jsxs(Ie,{children:[r.jsxs(Me,{children:[r.jsx(Be,{children:f==="achDetails"?J.achTitle:J.wireTitle}),r.jsxs(Pe,{children:[r.jsx(L,{children:r.jsx(C,{display:"flex",placement:"left",title:r.jsx(_,{isTextCopied:k,children:k?W.downloading:W.download}),enterDelay:600,children:k===!0?r.jsx(Te,{size:"Small",start:!0}):r.jsx(Xe,{"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(K,{}):r.jsx(G,{onClick:()=>ye(f),"data-testid":z("title-text-copy")})})})]})]}),f==="achDetails"?r.jsxs(He,{children:[r.jsx(Y,{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(Z,{children:i(o.bankAddress,m,"bankAddress")}):null]}):f==="wireDetails"?r.jsxs(Je,{children:[r.jsx(Y,{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(Z,{children:i(o.beneficiaryAddress,D,"beneficiaryAddress",o.beneficiaryAddressSubLabel)}):null]}):null]})})},Re=t.div``,Ie=t.div`
|
|
22
22
|
margin: ${a.sp4};
|
|
23
23
|
margin-left: ${a.sp0};
|
|
24
|
-
`,
|
|
24
|
+
`,Me=t.div`
|
|
25
25
|
display: flex;
|
|
26
26
|
align-items: center;
|
|
27
27
|
justify-content: space-between;
|
|
@@ -29,10 +29,10 @@ ${o.beneficiaryAddress} ${D}`,R(c),I(!0)},i=(h,c,x,G)=>{let d,l;switch(x){case"a
|
|
|
29
29
|
`,Pe=t.div`
|
|
30
30
|
display: flex;
|
|
31
31
|
gap: ${a.sp4};
|
|
32
|
-
`,
|
|
32
|
+
`,Be=t(ve)`
|
|
33
33
|
color: ${e=>e.theme.colors.primary};
|
|
34
34
|
margin-right: ${a.sp2};
|
|
35
|
-
`,
|
|
35
|
+
`,Xe=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}`,R(c),I(!0)},i=(h,c,x,G)=>{let d,l;switch(x){case"a
|
|
|
40
40
|
&:hover {
|
|
41
41
|
color: ${e=>e.theme.colors.primary};
|
|
42
42
|
}
|
|
43
|
-
`,
|
|
43
|
+
`,R=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}`,R(c),I(!0)},i=(h,c,x,G)=>{let d,l;switch(x){case"a
|
|
|
57
57
|
color: ${e=>e.theme.colors.grey1};
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
-
`,
|
|
60
|
+
`,Y=t(R)`
|
|
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}`,R(c),I(!0)},i=(h,c,x,G)=>{let d,l;switch(x){case"a
|
|
|
72
72
|
&:hover {
|
|
73
73
|
border-bottom-width: 1px;
|
|
74
74
|
}
|
|
75
|
-
`,
|
|
75
|
+
`,Z=t(R)`
|
|
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}`,R(c),I(!0)},i=(h,c,x,G)=>{let d,l;switch(x){case"a
|
|
|
95
95
|
color: ${e=>e.theme.colors.primary};
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
|
-
`,
|
|
98
|
+
`,G=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}`,R(c),I(!0)},i=(h,c,x,G)=>{let d,l;switch(x){case"a
|
|
|
103
103
|
&:hover {
|
|
104
104
|
color: ${e=>e.theme.colors.primary};
|
|
105
105
|
}
|
|
106
|
-
`,
|
|
106
|
+
`,K=t(Ce)`
|
|
107
107
|
height: ${a.sp3};
|
|
108
108
|
width: ${a.sp3};
|
|
109
109
|
color: ${E.success};
|
|
@@ -114,27 +114,27 @@ ${o.beneficiaryAddress} ${D}`,R(c),I(!0)},i=(h,c,x,G)=>{let d,l;switch(x){case"a
|
|
|
114
114
|
justify-content: space-between;
|
|
115
115
|
width: 100%;
|
|
116
116
|
gap: ${a.sp4};
|
|
117
|
-
`,
|
|
117
|
+
`,Oe=t(re)`
|
|
118
118
|
color: ${e=>e.theme.colors.hero};
|
|
119
|
-
`,
|
|
119
|
+
`,Qe=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
|
+
`,Ue=t.div`
|
|
127
127
|
display: flex;
|
|
128
|
-
`,
|
|
128
|
+
`,Ve=t.div`
|
|
129
129
|
display: flex;
|
|
130
130
|
flex-direction: column;
|
|
131
131
|
align-items: flex-end;
|
|
132
|
-
`,
|
|
132
|
+
`,Fe=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(R)`
|
|
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}`,R(c),I(!0)},i=(h,c,x,G)=>{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``,Je=t.div``;export{Ke as r};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as xe,
|
|
1
|
+
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,o as i,g as ke,am as J,M as Z,a3 as ve,T as Ce,dK as we,eQ as be,k7 as Q,du as ee,n as l,u as Ee,a0 as Pe,aR as te,d1 as ne,b0 as Re,d as oe,ay as De}from"./index-CIAgrDi2.js";import{b as r,n as o}from"./vendor-CnQcJ2Lu.js";import{E as Ie,w as Fe,C as Te,f as _e}from"./AccountRow-BpBK8mVs-D3-rIOZV.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,eX as fe,j as t,l as _,F as ge,bO as ye,M as je,bQ as Se,bR as $e
|
|
|
11
11
|
display: flex;
|
|
12
12
|
flex: 0 0 auto;
|
|
13
13
|
width: ${i.sp4};
|
|
14
|
-
`,
|
|
14
|
+
`,Ye=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,eX as fe,j as t,l as _,F as ge,bO as ye,M as je,bQ as Se,bR as $e
|
|
|
19
19
|
z-index: 2;
|
|
20
20
|
top: ${i.sp0};
|
|
21
21
|
width: 100%;
|
|
22
|
-
`,
|
|
22
|
+
`,Be=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,eX as fe,j as t,l as _,F as ge,bO as ye,M as je,bQ as Se,bR as $e
|
|
|
32
32
|
`,Le=o.div`
|
|
33
33
|
padding-left: ${m.containerPaddingLeft};
|
|
34
34
|
padding-right: ${m.containerPaddingRight};
|
|
35
|
-
`,
|
|
35
|
+
`,Oe=o.div`
|
|
36
36
|
position: relative;
|
|
37
37
|
min-height: 62px;
|
|
38
38
|
`,We=o.div`
|
|
@@ -52,7 +52,7 @@ 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
|
|
|
52
52
|
flex: 1 1 0;
|
|
53
53
|
justify-content: center;
|
|
54
54
|
flex-direction: column;
|
|
55
|
-
`,Ne=o(
|
|
55
|
+
`,Ne=o(J)`
|
|
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,eX as fe,j as t,l as _,F as ge,bO as ye,M as je,bQ as Se,bR 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
|
+
`,Ke=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,eX as fe,j as t,l as _,F as ge,bO as ye,M as je,bQ as Se,bR as $e
|
|
|
96
96
|
color: ${e=>e.theme.colors.hero};
|
|
97
97
|
align-items: center;
|
|
98
98
|
justify-content: flex-end;
|
|
99
|
-
`,
|
|
99
|
+
`,Ge=o(l)`
|
|
100
100
|
color: ${e=>e.theme.colors.primary};
|
|
101
101
|
text-align: left;
|
|
102
|
-
`,
|
|
102
|
+
`,Qe=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
|
+
`,Ve=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
|
+
`,Xe=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
|
+
`,Je=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,eX as fe,j as t,l as _,F as ge,bO as ye,M as je,bQ as Se,bR 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(J)`
|
|
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,eX as fe,j as t,l as _,F as ge,bO as ye,M as je,bQ as Se,bR 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:V,expenseAutomation:{accountRecon:c}}=je.getLocalizedStrings(),ht=(e,n)=>`${e}.${n}`,mt="accountReconDrawerDetailsPage",se="accountReconDrawerDetailsSection";function Tt({accountReconciliation:e,plaidConnectionDetails:n,monthYearPeriod:d,openFilePicker:u,filesEndPoint:f,authParams:S,onDismissClick:$,onFetchLinkTokenClick:E,onEstablishConnectionClick:P,onSelectSourceType:_,onDeleteFile:R,onEditFileName:U,onStatementUploadSuccess:M,onUploadWindowOpenedOnce:Y}){const x=xe({mode:"all",reValidateMode:"onChange",defaultValues:X(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:X(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,B]=r.useState(s.linkToken??null),[a,w]=r.useState(!1),[z,L]=r.useState(!1),[O,W]=r.useState(void 0),[re,H]=r.useState(void 0),le=r.useCallback(()=>{g("link_account_no_microdeposit")},[]),de=r.useCallback(()=>{g("update_account"),E("update_account",e.paymentAccountId)},[e.paymentAccountId]),ue={onOkClick:()=>{O!=null&&(R(O),W(void 0)),H(void 0),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:K,ready:G}=fe({token:y,onSuccess:pe,onExit:he});return r.useEffect(()=>{(T.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"&&G&&w(!0)},[G,y,s.fetchStatus.fetchState,s.linkToken,h,a]),r.useEffect(()=>{s.fetchStatus.fetchState==="Completed"&&s.linkToken!=null&&s.linkToken!==y&&B(s.linkToken)},[s.fetchStatus.fetchState,s.linkToken,y]),r.useEffect(()=>{a&&K()},[a,K]),t.jsxs(Ue,{children:[t.jsx(Ye,{children:t.jsx(Oe,{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(Be,{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:_,onDeleteFile:R,onEditFileName:U,onStatementUploadSuccess:M,onUploadWindowOpenedOnce:Y,showConfirmationPopup:z,setShowConfirmationPopup:L,deleteFileId:O,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:_,onSelectSourceType:R,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:M,uploadErrorMessage:Y,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"],B=n.accountReconEntity.reconciliationStatus!=null&&y.includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(He,{children:[t.jsxs(qe,{children:[t.jsxs(Ke,{children:[t.jsx(A,{children:c.reconciliation.headers.bankBalance}),t.jsx(Ge,{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(Qe,{children:[t.jsx(A,{children:c.reconciliation.headers.clearedBalance}),t.jsx(Ve,{children:t.jsx(Te,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(Je,{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(T.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:B,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:T.uploadAccountStatementIntoDocumentAI,metadataPayload:{accountId:n.accountReconEntity.account.accountId,monthYearPeriod:e},errorMessage:Y,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)=>{_(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:Q(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:Q(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:$}=_e(u,e,d,!0);return t.jsxs(Xe,{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=T.zeniDate(`${d}-${String(n).padStart(2,"0")}-01`);let f=u.endOf("month");return`${u.format(V.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${f.format(V.visual.DMMMYYYYFormat)}`},X=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{Tt as default,ht as uniqueName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t,
|
|
1
|
+
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,d as g,dM as J,d1 as Z,ct as ue,a8 as x,$ as X,s as p,X as xe,u as S,af as pe,ds as he,q as ge,K as me,M as I,b4 as fe,d2 as je}from"./index-CIAgrDi2.js";import{n as a,b as ye,j as $e}from"./vendor-CnQcJ2Lu.js";const we=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,M as se,a0 as E,bs as f,o,_ as y,T as re,dH as le,e as w,dI as de,
|
|
|
20
20
|
align-items: center;
|
|
21
21
|
justify-content: center;
|
|
22
22
|
color: ${e=>e.colour.toString()};
|
|
23
|
-
`,
|
|
23
|
+
`,Ce=a(ge)`
|
|
24
24
|
text-align: center;
|
|
25
25
|
color: ${e=>e.colour.toString()};
|
|
26
|
-
`,
|
|
26
|
+
`,ve=a.div`
|
|
27
27
|
svg {
|
|
28
28
|
path {
|
|
29
29
|
stroke-width: 2;
|
|
@@ -38,7 +38,7 @@ 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,
|
|
|
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(we,{showTreeLine:l,collapsed:c,children:t.jsx(be,{colour:n,className:d,children:t.jsx(ve,{children:i===!0?c===!0?t.jsx(ke,{}):t.jsx(Re,{}):t.jsx(Ce,{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,M as se,a0 as E,bs as f,o,_ as y,T as re,dH as le,e as w,dI 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?$e`
|
|
68
68
|
color: ${e.theme.colors.primary};
|
|
69
69
|
`:null}
|
|
70
70
|
}
|
|
@@ -84,9 +84,9 @@ 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,
|
|
|
84
84
|
display: flex;
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
|
-
`,_e=a.div`
|
|
88
|
-
height: ${o.sp8};
|
|
89
87
|
`,Be=a.div`
|
|
88
|
+
height: ${o.sp8};
|
|
89
|
+
`,_e=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,M as se,a0 as E,bs as f,o,_ as y,T as re,dH as le,e as w,dI as de,
|
|
|
108
108
|
align-items: center;
|
|
109
109
|
gap: ${o.sp1};
|
|
110
110
|
margin-top: ${o.sp1};
|
|
111
|
-
`,Ae=a(
|
|
111
|
+
`,Ae=a($)`
|
|
112
112
|
user-select: none;
|
|
113
113
|
clear: both;
|
|
114
114
|
display: inline-block;
|
|
@@ -125,18 +125,18 @@ 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,
|
|
|
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($)`
|
|
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
|
+
`,Qe=a($)`
|
|
136
136
|
width: ${u.clearedBalanceWidth}px;
|
|
137
137
|
min-width: ${u.clearedBalanceWidth}px;
|
|
138
138
|
text-align: right;
|
|
139
|
-
`,
|
|
139
|
+
`,Ue=a($)`
|
|
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,M as se,a0 as E,bs as f,o,_ as y,T as re,dH as le,e as w,dI as de,
|
|
|
144
144
|
align-items: center;
|
|
145
145
|
justify-content: center;
|
|
146
146
|
height: 100%;
|
|
147
|
-
`,
|
|
147
|
+
`,Fe=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,M as se,a0 as E,bs as f,o,_ as y,T as re,dH as le,e as w,dI 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($)`
|
|
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
|
+
`,Ke=a($)`
|
|
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,M as se,a0 as E,bs as f,o,_ as y,T as re,dH as le,e as w,dI 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
|
+
`,Ge=a.div`
|
|
183
183
|
display: flex;
|
|
184
184
|
flex-direction: row;
|
|
185
185
|
align-items: center;
|
|
186
|
-
`,
|
|
186
|
+
`,Je=a.div`
|
|
187
187
|
display: flex;
|
|
188
188
|
flex-direction: column;
|
|
189
189
|
align-items: center;
|
|
190
|
-
`,
|
|
190
|
+
`,Ze=a.div`
|
|
191
191
|
display: flex;
|
|
192
192
|
flex-direction: row;
|
|
193
193
|
align-items: center;
|
|
194
194
|
gap: ${o.sp1};
|
|
195
|
-
`,
|
|
195
|
+
`,Xe=a(I)`
|
|
196
196
|
color: ${g.success};
|
|
197
|
-
`,
|
|
197
|
+
`,K=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($)`
|
|
204
204
|
text-align: right;
|
|
205
205
|
`,et=a.div`
|
|
206
206
|
display: flex;
|
|
@@ -210,7 +210,7 @@ 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,
|
|
|
210
210
|
`,tt=a(ue)`
|
|
211
211
|
width: ${o.sp3};
|
|
212
212
|
height: ${o.sp3};
|
|
213
|
-
`,nt=a(
|
|
213
|
+
`,nt=a($)`
|
|
214
214
|
text-align: right;
|
|
215
215
|
color: ${g.important};
|
|
216
216
|
cursor: pointer;
|
|
@@ -238,14 +238,14 @@ 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,
|
|
|
238
238
|
height: 12px;
|
|
239
239
|
color: ${e=>e.iconColor.hex()};
|
|
240
240
|
margin-top: ${o.sp1};
|
|
241
|
-
|
|
241
|
+
`,w=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
|
+
`,G=a($)`
|
|
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,M as se,a0 as E,bs as f,o,_ as y,T as re,dH as le,e as w,dI as de,
|
|
|
254
254
|
gap: ${o.sp1};
|
|
255
255
|
`,V=a(I)`
|
|
256
256
|
color: ${e=>e.textColor.hex()};
|
|
257
|
-
`,
|
|
257
|
+
`,Q=a(I)`
|
|
258
258
|
color: ${e=>e.textColor.hex()};
|
|
259
|
-
`,
|
|
259
|
+
`,U=a.div`
|
|
260
260
|
display: flex;
|
|
261
261
|
flex-direction: row;
|
|
262
262
|
align-items: center;
|
|
263
|
-
`,
|
|
263
|
+
`,F=a.div`
|
|
264
264
|
display: flex;
|
|
265
265
|
flex-direction: column;
|
|
266
266
|
align-items: center;
|
|
@@ -271,28 +271,28 @@ 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,
|
|
|
271
271
|
flex-direction: column;
|
|
272
272
|
align-items: center;
|
|
273
273
|
justify-content: center;
|
|
274
|
-
`,rt=a(
|
|
274
|
+
`,rt=a(X)`
|
|
275
275
|
color: ${e=>e.theme.colors.hero};
|
|
276
|
-
`,lt=a(
|
|
276
|
+
`,lt=a(X)`
|
|
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(J)`
|
|
284
284
|
width: ${o.sp3};
|
|
285
285
|
height: ${o.sp3};
|
|
286
286
|
margin-top: 2px;
|
|
287
|
-
`,xt=a(
|
|
287
|
+
`,xt=a(J)`
|
|
288
288
|
width: ${o.sp3};
|
|
289
289
|
height: ${o.sp3};
|
|
290
|
-
`,pt=a(
|
|
290
|
+
`,pt=a(Z)`
|
|
291
291
|
width: ${o.sp3};
|
|
292
292
|
height: ${o.sp3};
|
|
293
293
|
margin-top: 2px;
|
|
294
|
-
`,ht=a(
|
|
294
|
+
`,ht=a(Z)`
|
|
295
295
|
width: ${o.sp3};
|
|
296
296
|
height: ${o.sp3};
|
|
297
297
|
margin-top: 2px;
|
|
298
|
-
`,{expenseAutomation:{accountRecon:{reconciliation:s}},common:{strings:{hyphen:h,percentage:gt}}}=se.getLocalizedStrings();function Pt({height:e,accountRecon:n,isLastRow:i,isSelectedRow:c,onReviewClicked:l,onOpenDrawerClicked:d,onConnectClicked:r,onReconnectClicked:m,onStatementAddClicked: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};
|
|
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};
|