@zeniai/web-cockpit-ui 1.15.23-dev → 1.15.24-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-BOZmOJHO-DA9D4iJH.js → ACHDetailsPage-DsLMYxB2-DiWdTxEX.js} +3 -3
- package/dist/assets/{AIPerformancePage-ZVCJizP9-D55hw0l8.js → AIPerformancePage-Do1Jme84-DdOnxVtL.js} +45 -45
- package/dist/assets/AccountInfoPage-DBm3kSeD-C0VOOR62.js +18 -0
- package/dist/assets/{AccountInfoPageContent-D0wuuzMd-YMtVFfpn.js → AccountInfoPageContent-DLxvkpvG-BfQIWLZb.js} +23 -23
- package/dist/assets/AccountLockedInfoModal-Dbzdjjk6-DxFx-N4r.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-DbHX6rPG-BwmWp-T3.js → AccountReconDetailsDrawerPage-BMhGA2Nw-3sJH1EqF.js} +11 -11
- package/dist/assets/{AccountRow-Bk_25FCy-D03inSab.js → AccountRow-D5S7-AKx-CMAenaIW.js} +28 -28
- package/dist/assets/{AccountsPromoCardStack-DAXRwY1f-DegwS44K.js → AccountsPromoCardStack-Cq1lsoaV-ClvHGp3M.js} +27 -27
- package/dist/assets/AddAddressForCardDrawer-Cfd3TMpf-DJjbOnkw.js +6 -0
- package/dist/assets/{AddToWalletPage-CzziHgi7-j3gMOtad.js → AddToWalletPage-CEhxUk5V-D1aSu8HU.js} +32 -32
- package/dist/assets/{AgingReportsPage-Bdi3krKK-Bf-4bvXh.js → AgingReportsPage-CYrw-ffE-CLFSHLPA.js} +5 -5
- package/dist/assets/{AllUserItems-XWDuiug6-DkHHRN56.js → AllUserItems-CUPJzOon-ClzFTm8l.js} +7 -7
- package/dist/assets/{ApAgingDetailPage-CaM_AzrU-DCtFqylK.js → ApAgingDetailPage-BHfoAgPL-9OKwbRzK.js} +3 -3
- package/dist/assets/AppBasePage-BhcC9bkH-DtCArmcZ.js +71 -0
- package/dist/assets/{AppDrawerContent-DSX1364T-CNP-B7uf.js → AppDrawerContent-CxmXgxbq-C_5ysSm0.js} +5 -5
- package/dist/assets/{ApprovalRulesSettingsPage-DrjPOeyp-BrhLSwXJ.js → ApprovalRulesSettingsPage-gu0Fjo8W-B6qPc807.js} +2 -2
- package/dist/assets/{ArAgingChart-M7KUNA4G-DKIpaPUv.js → ArAgingChart-CxGoJ-eL-BTrpq4ll.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-7lby5mXn-BtLBFlEX.js → ArAgingDetailPage-CNKe5FGf-DnsMVnO9.js} +4 -4
- package/dist/assets/{AttachmentView-Bsa0u92o-BEQFOxXv.js → AttachmentView-BNb1kv2i-A0kL4eNc.js} +6 -6
- package/dist/assets/{BankAccountSection-BkOlwayA-DP864Lrq.js → BankAccountSection-nxf2HgVE-CszdswjK.js} +7 -7
- package/dist/assets/BankAccountWarningSection-b7VJzhDr-C9lI5R8O.js +51 -0
- package/dist/assets/{BankConnectionsSettingsPage-C_YytTke-B8k-pddW.js → BankConnectionsSettingsPage-Dj5RPseY-BsNJb4MV.js} +26 -26
- package/dist/assets/{BillDetailPage-DvU5_Rsp-C9dpUiI6.js → BillDetailPage-B8vxUUjs-wCDXpcbd.js} +8 -8
- package/dist/assets/BillPayApprovalRuleDetailPage-RxCSuM7j-Cm0UAXUf.js +27 -0
- package/dist/assets/{BillPayApprovalRulesPage-CA9eufjt-BNyCnVeE.js → BillPayApprovalRulesPage-qB8FSNxF-CXWPxuvt.js} +16 -16
- package/dist/assets/{BillPayPromoPage-DsXPWKAf-BqLcGJ_H.js → BillPayPromoPage-C-MLRBwj-rVTQLPGI.js} +11 -11
- package/dist/assets/{BillPaySetUpPage-CeMhzZ_3-BI9-weFw.js → BillPaySetUpPage-DUcVwFf0-BSesdKGQ.js} +4 -4
- package/dist/assets/BillingSettingsPage-Br6yvoDv-TW6U52nf.js +44 -0
- package/dist/assets/{BillsBulkReviewDrawerPage-WrR46NRa-CKI5pK1F.js → BillsBulkReviewDrawerPage-Cm2iOzT8-r_BIf6ms.js} +1 -1
- package/dist/assets/{BoxItem-C0M4PSXY-D0kSlmNN.js → BoxItem-BIGbJrpV-DWBd9dMt.js} +1 -1
- package/dist/assets/BusinessVerificationPage-orZNuqPA-7wUdhrYB.js +138 -0
- package/dist/assets/{CardNumberSubText-B4dAoYDE-B1SbTgmV.js → CardNumberSubText-lCdVj97_-CYJ5QkWc.js} +1 -1
- package/dist/assets/{CashbackDetailPage-B6xvn-y3-CO89J05d.js → CashbackDetailPage-DyqE-V7x-CRCR9nS0.js} +27 -27
- package/dist/assets/{ChargeCardDetailPage-eJJ4MEE6-BXMqrqi9.js → ChargeCardDetailPage-0a7KVsQ4-hN8gCQtG.js} +40 -40
- package/dist/assets/{ChargeCardListPage-BYI2HIjA-B0giUbEV.js → ChargeCardListPage-DZgzRmUt-Do_X95aE.js} +16 -16
- package/dist/assets/{ChargeCardListTable-DAVYmKCK-DEY8KXB2.js → ChargeCardListTable-CrPIqCYY-D8irt-gE.js} +51 -51
- package/dist/assets/{ChargeCardPaymentHistoryPage-BX5HtOxd-BV2ugIHB.js → ChargeCardPaymentHistoryPage-BenEXh0n-DNZruLon.js} +27 -27
- package/dist/assets/ChargeCardPromoPage-Dv8vSGMv-DpjOjqBE.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-DG1eKhYR-BVTvcCk1.js → ChargeCardSetupPage-BQdagLKY-25EtnZAG.js} +6 -6
- package/dist/assets/ChargeCardStatementsPage-1ntqN8-C-D2mSHxbe.js +60 -0
- package/dist/assets/{CheckDepositDrawerPage-BdacGDpy-CN6aGowb.js → CheckDepositDrawerPage-Bbe3YMhk-CO2Q4-ZB.js} +23 -23
- package/dist/assets/{CollapsableReportTable-UADp1m_8-C887iUXZ.js → CollapsableReportTable-Bjp9ufA3-Dgphs2fm.js} +84 -84
- package/dist/assets/CompanyOfficerDetailsSection-DQYR5DxB-DWkkLcmn.js +260 -0
- package/dist/assets/{CompanyPassportCard-BJN2GEVm-LlIc7P9q.js → CompanyPassportCard-B9yLuYoV-D8pOY5Pg.js} +6 -6
- package/dist/assets/CompanyPassportPage-DrNN8V93-BS2z_ZGy.js +574 -0
- package/dist/assets/{CompleteProfile-C8X8Z3C2-Bzf6-WNu.js → CompleteProfile-DlDJUF9s-CdsViPGP.js} +1 -1
- package/dist/assets/ConfettiBurst-arWK85ba-Nctx98GV.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-D4MBpZa1.js → ConstrainedInnerElement-BeIpAPjB-CUj8qilg.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-y-COpdhs-CywEWB6a.js → CreateOrEditVendorPage-C0zQBkip-U8NfTx7v.js} +13 -13
- package/dist/assets/{CreditCardPaymentDrawerPage-CntYJJ8v-CZ68p-k6.js → CreditCardPaymentDrawerPage-BonuuJrp-5J05qwGb.js} +14 -14
- package/dist/assets/{CurrencySelectField-Dn-hE2az-n1RHeHxE.js → CurrencySelectField-CcwMU19m-DhJ7GYyu.js} +3 -3
- package/dist/assets/{CustomerOnboardingActivationPage-B9MZHJVc-BxzBFrW0.js → CustomerOnboardingActivationPage-CnLIuUI_-CZ-HlIwz.js} +5 -5
- package/dist/assets/CustomerOnboardingContainerPage-_uAzzeQT-CG5sXasi.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BCe8BvQF-DaEKstx7.js → CustomerOnboardingDetailPageSkeleton-DFnaf7ny-CPvnX2LA.js} +14 -14
- package/dist/assets/CustomerOnboardingNoStepsPage-Dabc1DIn-BjBCiSR-.js +66 -0
- package/dist/assets/CustomerOnboardingPage-Dt4u_Cnq-BSCcv5Lh.js +107 -0
- package/dist/assets/CustomerOnboardingProductSuitePage-DrUE-f0H-oFUJaNSz.js +202 -0
- package/dist/assets/{Dashboard-CCV0_aCP-BoBmH13Z.js → Dashboard-Cgrcdi17-CUBT5krQ.js} +497 -478
- package/dist/assets/{DashboardReportPage-CmoH9Vrc-CzA5O7KO.js → DashboardReportPage-DbhRTdc4-CQqal3HB.js} +17 -17
- package/dist/assets/{DashboardSidebarBackgroundAnimation-hw3einS7-DUVXWx2a.js → DashboardSidebarBackgroundAnimation-C8g6lMFj-B53Xk9C1.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-DgdkYGjP-BkMVZWVv.js → DepositAccTransactionItem-D1o4IBkT-CKPRK6dd.js} +8 -8
- package/dist/assets/{DepositAccTransactionListPage-CF0WJn9M-DlPgp9dm.js → DepositAccTransactionListPage-xxNjjtT--2BN6hfkm.js} +6 -6
- package/dist/assets/{DomesticWireDetailsPage-B12tNa6e-DRCqor_l.js → DomesticWireDetailsPage-CwJaUAl--Cj9x82UD.js} +1 -1
- package/dist/assets/{DownloadOverlay-Dt9yt4Fz-OGiiWSIN.js → DownloadOverlay-DQhWlo3j-Bh86wxNB.js} +18 -18
- package/dist/assets/{DrawerPage-Clki97FA-CqA84wbo.js → DrawerPage-Cy3cU-ts-D2TKFfD6.js} +18 -18
- package/dist/assets/EditPeoplePage-XMLOGiwc-fvqHi7F-.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-CXy2ZWfZ-BrOpTSUf.js → EditReimbursementDetailPage-CPtNF3lE-CQCoSlzQ.js} +70 -70
- package/dist/assets/EntityDetailPage-CtIcsfb_-JOBkNq01.js +18 -0
- package/dist/assets/{EntitySummarySection-D_YLsP_P-CSh4l-FA.js → EntitySummarySection-DKVe_auH-CeBDnO_D.js} +11 -11
- package/dist/assets/{ExpenseAutomationOverviewPage-4z3yzHEA-ChRwE60S.js → ExpenseAutomationOverviewPage-BerWhvvC-CSjoH80E.js} +16 -16
- package/dist/assets/{ExpenseAutomationPage-BJ4H_c2z-FgmOcOvc.js → ExpenseAutomationPage-ZFDuZKVx-B83nArlS.js} +133 -133
- package/dist/assets/{ExpressPayPage-CTBD4y1v-NYjAlIxO.js → ExpressPayPage-DWGFzFY1-Cbs-ZH6I.js} +19 -19
- package/dist/assets/{FeaturePreviewPage-CYuTQWpP-Bl8VAq6v.js → FeaturePreviewPage-CTROYslk-B5_k_VjC.js} +3 -3
- package/dist/assets/{FollowStepsSection-BrpI2HyW-DNSECr6B.js → FollowStepsSection-Cdw8tftg-CoRfWAMh.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-BcvxLqIL-CD9rfA0-.js → GlobalReviewListPage-FIiMWDt4-C-FGlEih.js} +47 -47
- package/dist/assets/{InformationCardStack-CU4Moqky-Bc_PhxNK.js → InformationCardStack-DRM_CrnR-CyxIUlsK.js} +5 -5
- package/dist/assets/{InsightsCardStack-D8UQiuXZ-DRkswx9n.js → InsightsCardStack-B6KSNBOO-BsTECKaL.js} +10 -10
- package/dist/assets/{InsightsSection-C3X6ZNEt-CSaE3QjL.js → InsightsSection-CwYXRQBN-CI3Avgr4.js} +6 -6
- package/dist/assets/{IntegrationsSettingsPage-CsLv00HW-c8_zALL5.js → IntegrationsSettingsPage-VPy6IQco-D5f0_wQb.js} +12 -12
- package/dist/assets/{InternationalWireSwiftDetailsPage-DgrN5Xg7-ik2bKR2J.js → InternationalWireSwiftDetailsPage-CbztUTOk-DKKJSiFP.js} +19 -19
- package/dist/assets/InternationalWireVerificationPage-YuglosZT-hHWwb4SL.js +292 -0
- package/dist/assets/{InviteFormPage-B3KmRWXd-DZboWDF0.js → InviteFormPage-BBHD1wv7-BsXiZ5Av.js} +38 -38
- package/dist/assets/{InvitePageListView-DfpJBZru-8z8nAtFG.js → InvitePageListView-Gpf4q2HF-Cgrh3Brc.js} +33 -33
- package/dist/assets/InvitePeoplePage-C0n05Aw5-BiEQhiP1.js +12 -0
- package/dist/assets/InvoiceUploadSection-UXlA1jqD-DKu4SBzN.js +140 -0
- package/dist/assets/{IssueChargeCardPage-mPsxt52d-PfQTvSAJ.js → IssueChargeCardPage-CiL8yWbI-TIPP0zPK.js} +17 -17
- package/dist/assets/{LabeledAddressValue-C4fnQSyi-BYyUYLsR.js → LabeledAddressValue-DGEHzZ-x-CpMYU-xP.js} +2 -2
- package/dist/assets/{LabeledAddressValueField-D6dEaI69-DANZLTzI.js → LabeledAddressValueField-ClBxKhYQ-BPwdblj0.js} +2 -2
- package/dist/assets/{LabeledControlledCheckBoxField-B1QdZmvd-DW7Mu6XT.js → LabeledControlledCheckBoxField-B8sC2eqF--fXqIBCr.js} +3 -3
- package/dist/assets/{LabeledCreatableSingleSelectField-BPX2Nrlf-VQgMHUfl.js → LabeledCreatableSingleSelectField-BzOLZcSy-pPeiMm4m.js} +17 -21
- package/dist/assets/LabeledDocumentField-D520KMMj-BWBkZsyZ.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-A-rgip1E-DXyiM_iz.js → LabeledDropDownFormattedTextField-BwoAMxs1-UIy7_mYn.js} +8 -8
- package/dist/assets/{LabeledText-38fqkkE--BV0pTSSz.js → LabeledText-CYRn3LhA-DMSyV-Kr.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BbF25dUP-Bm5BEKWh.js → LabeledUserSingleSelectWithSubtitlesField-BzsLAAeQ-B2HtQzCh.js} +15 -15
- package/dist/assets/{LabeledZeniRolesDropDownField-Dg9_Ww-A-6LCZnv3_.js → LabeledZeniRolesDropDownField-UiY4N_NF-DAzbxXzi.js} +28 -28
- package/dist/assets/{LinkJETransactionPage-66mQ4nrK-Blq1QPxg.js → LinkJETransactionPage-PvLzGCy_-BrMsOKhb.js} +10 -10
- package/dist/assets/{LockCardPage-BCqN4K17-BFhQlELS.js → LockCardPage-Cv1mXAE9-9__dgVHz.js} +58 -58
- package/dist/assets/{LowBalancePopup-BPk1-eAb-DPKxi1xa.js → LowBalancePopup-go-1GM2R-DD-JSJCf.js} +5 -5
- package/dist/assets/MagicLinkACHDetailsPage-C7hjYeuM-BHqLoDUK.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Cv6pT3w6-pHplq2If.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-CfMDImmz-BFiTy8N6.js +1 -0
- package/dist/assets/MagicLinkSuccessPage-D9Xys0GC-BWFMi_8X.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-77rxhjLm-DuK-hJU3.js → MagicLinkTitleSection-CPs72o7_-B260haOm.js} +4 -4
- package/dist/assets/MailingDetailsSection-wmwBSANL-jxA64fnZ.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-z0tHaSl1-D8NpXmDe.js → MyBankConnectionsSettingsPage-Xo-zsUV_-Cbo1qVHj.js} +11 -11
- package/dist/assets/{MyPendingActivationChargeCardListPage-CwGYwufd-BhPm_tq1.js → MyPendingActivationChargeCardListPage-pMnrYxHt-D7bLZ8M3.js} +1 -1
- package/dist/assets/MyProfileSettingsPage-BKCzLBD9-DJbKBDYL.js +85 -0
- package/dist/assets/NavBarWithPicker-DFywcKz8-CSP4toa_.js +30 -0
- package/dist/assets/{NavigationArrow-NuJEpE7O-BsQF0lUP.js → NavigationArrow-BiYMk3Wz-DV9laMt6.js} +7 -7
- package/dist/assets/{NavigationDots-C7Na64B9-CHGprwD5.js → NavigationDots-CCLpxuwG-stH2nUIP.js} +3 -3
- package/dist/assets/{NewGlobalMerchantPage-Cus6zYV_-DyfxnG1c.js → NewGlobalMerchantPage-C48VzTEf-Rej0eQZY.js} +7 -7
- package/dist/assets/NoDataChart-sGr0o2BN-Bsuwo3YM.js +26 -0
- package/dist/assets/NoDataTable-0l_09Wxn-YZLcmEEn.js +8 -0
- package/dist/assets/{NotFoundPage-RjXioqc8-DMQ0F7IL.js → NotFoundPage-DFw9HBCT-CpQg4_TB.js} +6 -6
- package/dist/assets/{NotificationSettingsPage-DrDW_LU_-mWZ117zO.js → NotificationSettingsPage-D1rRNeRj-BoZjctkd.js} +33 -33
- package/dist/assets/{NotificationsListConfig-C6_ap0JT-D0MspRwp.js → NotificationsListConfig-LrfChZUx-DIWHkHKZ.js} +1 -1
- package/dist/assets/{NotificationsPage-DOM-Gf5P-BRdHJwOp.js → NotificationsPage-Cx4eb-l6-Tv8h6IrX.js} +35 -35
- package/dist/assets/{OpExByVendorPage-CTuBB827-Bbt1veu8.js → OpExByVendorPage-LpdEEb1U-C_zXpayd.js} +20 -20
- package/dist/assets/OverlayContainerPage-D4QU0p4o-DVuvwnps.js +11 -0
- package/dist/assets/{PandLWithForecastPage-BXaENYdR-DDSkVfM3.js → PandLWithForecastPage-DwaVCK2R-B3ldDrVm.js} +7 -7
- package/dist/assets/PaymentAccountSetupBillingAddressSection-CBVazVlJ-Cj6aYWOl.js +107 -0
- package/dist/assets/{PeoplePage-BlyVVthI-fFVSXzpH.js → PeoplePage-z8ZDLJp4-CzfsOL8l.js} +31 -31
- package/dist/assets/{Preview-DuIVCswF.js → Preview-CYHE6ojy.js} +1 -1
- package/dist/assets/{ProductsCarousel-CAcPH--E-BIuBBeKB.js → ProductsCarousel-Dp5Of83--DVU-QMP8.js} +6 -6
- package/dist/assets/{PromoBaseCards-BVwZMVeE-DstwmvWv.js → PromoBaseCards-Bpmi7do2-BJmFgVqa.js} +14 -14
- package/dist/assets/{QBOConnectionDialog-C3OYyhYO-5hTjd5-l.js → QBOConnectionDialog-BCOigpzW-42XztANC.js} +6 -6
- package/dist/assets/QBOSetupSection-Blf2QxYu-XsjB6fpI.js +79 -0
- package/dist/assets/ReimbursementApprovalRuleDetailPage-D4G5Zc8u-xW6pbKuW.js +32 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-Cx0gs7sS-B-krQa99.js → ReimbursementApprovalRulesPage-Cq3lTD4B-tMr-F7DV.js} +5 -5
- package/dist/assets/{ReimbursementDetailPage-Cs_rmkS8-DW1o_189.js → ReimbursementDetailPage-CxP7ZEyW-B6qTtbOy.js} +18 -18
- package/dist/assets/{ReimbursementPromoPage-CCFl0kQK-B9O9Pssf.js → ReimbursementPromoPage-tSycJK9l-Ckl5RC8p.js} +13 -13
- package/dist/assets/{ReimbursementSetUpPage-lf3xTVFh-COXeJ33g.js → ReimbursementSetUpPage-iGjNkC8E-CCqGUnkA.js} +11 -11
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-HrLSNRHq-MRocYFws.js +1 -0
- package/dist/assets/{ReloadCard-V_tv6YLR-pIKKLA9H.js → ReloadCard-CuRTghCv-1vd5kIoI.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-CWEvGn8L-CcECbGsj.js → ReportTableViewSelector-C2oaqgZL-DxS4YP70.js} +29 -29
- package/dist/assets/{ReportsPage-BJOH1wgv-CXqYsJPZ.js → ReportsPage-D5DDZHox-DJ4p-I_l.js} +5 -5
- package/dist/assets/{RevenueChart-C_tSBw_N-Cwj-E2UP.js → RevenueChart-Na7paK3w-C9jLX88S.js} +15 -15
- package/dist/assets/{ReviewDetailsPage-CScPf4w3-Cz00WVXv.js → ReviewDetailsPage-BFj3ZJyp-DV2ASgwc.js} +30 -30
- package/dist/assets/{ReviewOverlay-BQVwPzKa-BxRw_iSk.js → ReviewOverlay-Cz8LqkKC-CAVeDnHw.js} +25 -25
- package/dist/assets/RoleWithToolTip-CSC65531-LXNMc-YZ.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-Cgqgn7nk-B00K9FnO.js → ScheduleDetailsFixedAssetsPage-UVIM7eda-BD3KjhgE.js} +8 -8
- package/dist/assets/ScheduleDetailsPage-_mUOLW28-DoX9vWxb.js +37 -0
- package/dist/assets/{ScheduleSequenceTable-DDhoyPGX-CcxwU9B1.js → ScheduleSequenceTable-DQlMdMO0-r5LBclLE.js} +24 -24
- package/dist/assets/{ScreenRoutes-CbhRMGYb.js → ScreenRoutes-IDjhPTpz.js} +1 -1
- package/dist/assets/{SetUpAccountSection-AVL_16HQ-CfJdXpM8.js → SetUpAccountSection-C_DCt5R8-BxiVSyFQ.js} +5 -5
- package/dist/assets/{SignIn-BLUwTp1l-Diu2Dl0P.js → SignIn-1fhq5RCV-BLtoe96T.js} +24 -24
- package/dist/assets/{SignInScreen-BAFcpgXM.js → SignInScreen-Bt9k9qpu.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-DJbNFHvP-HVPQNsga.js → SpendManagementListViewPage-Cxe5movK-Q_tVVASy.js} +8 -8
- package/dist/assets/{SpendManagementPerTabPage-J5pIRm-Q-zn5Z_C9i.js → SpendManagementPerTabPage-Dj9VrJCp-yGVPTW-t.js} +54 -54
- package/dist/assets/{SpendManagementSection-DZaP5ai6-BivazJAu.js → SpendManagementSection-DGGqh0xs-CpnXaxhL.js} +25 -25
- package/dist/assets/{StatementItem-D2Fx65LN-DEt1HHDA.js → StatementItem-ChfKUse--BISxQzB7.js} +7 -7
- package/dist/assets/{StatementsPage-BCh51lDW-DEzdN4yP.js → StatementsPage-BAg2GA58-6dBp6JN9.js} +2 -2
- package/dist/assets/{StatusSwitcher-C5ZrzI8Y-RGx-Rq5m.js → StatusSwitcher-DsSflF9D-B-QsB0QQ.js} +4 -4
- package/dist/assets/{SubTabSwitcher-BXZxKeq9-N3T4zPQn.js → SubTabSwitcher-DxUZTJB0-xCwGWu4u.js} +1 -1
- package/dist/assets/{SummaryCard-194UToy6-ZSyhRMcE.js → SummaryCard-B1mg84fd-GbF-N-vY.js} +1 -1
- package/dist/assets/{TaskManagementPage-zcxDUo0t-CfkgE02v.js → TaskManagementPage-Z40FApxJ-CMQHa1zS.js} +15 -15
- package/dist/assets/{TimeRangeSwitcher-Bsv7zQmN-0uKzxEGk.js → TimeRangeSwitcher-B4sHEx1F-C3HNMT2K.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-DtxsNy1Z-Dpwd2ynA.js → TimeframeSwitcher-D8zfgEX_-Bal85V7i.js} +6 -6
- package/dist/assets/{TimeframeSwitcherWithToggle-B5bFhbvL-C0I_F7ow.js → TimeframeSwitcherWithToggle-CD1f2F9o-B2FZN44A.js} +2 -2
- package/dist/assets/{TopExCard-CBua66Cj-CBuXuQOS.js → TopExCard-BpicN73M-DINSiiqz.js} +6 -6
- package/dist/assets/{TopExDetailPage-DtMA-XMp-EMAyiYoo.js → TopExDetailPage-iw-7HulH-DXnd8BHg.js} +17 -17
- package/dist/assets/{TransactionActivityLogPage-C3BPL8hi-rjH_p-06.js → TransactionActivityLogPage-D7oH2hs_-vzUEThxA.js} +16 -16
- package/dist/assets/{TransactionDetailPage-CeKaduBe-gc3Brzcv.js → TransactionDetailPage-DLiA4XLe-BY8d6fwg.js} +28 -28
- package/dist/assets/{TransactionList-CSx8ZCZ--BfPEmkgj.js → TransactionList-CFz4Gf7Z-BRDY3-q0.js} +11 -11
- package/dist/assets/{TransactionListBig-B4cNQY2d-xUQ7gipo.js → TransactionListBig-BYHLJtlB-BgEsroqF.js} +17 -17
- package/dist/assets/TransactionListPage-BxtVNNib-CNsq76WM.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-DsxI8U5b-BIfZV2Ct.js → TransactionVendorDetailPage-CEAFUrTl-DeNvS775.js} +7 -7
- package/dist/assets/{TransferDrawerPage-C91TQwZi-B3ongtBQ.js → TransferDrawerPage-C6hdavbT-DrJHkT7i.js} +34 -34
- package/dist/assets/{TreasuryOverviewPage-BoBn_gtF-1-z_98qx.js → TreasuryOverviewPage-BP26JP5_-CP8HfxZ3.js} +47 -47
- package/dist/assets/{TreasuryPromoPage-CQ-VYEQC-DBZ3Ca-z.js → TreasuryPromoPage-DjVR20gs-wVmMwzp-.js} +131 -131
- package/dist/assets/TreasuryStatementsPage-Beixz0Ou-tCIgJGtT.js +58 -0
- package/dist/assets/{TreasuryTaxLetterPage-Cxhr51TD-DSRIuJm4.js → TreasuryTaxLetterPage-BW2fTHN--mfzNiBgO.js} +3 -3
- package/dist/assets/{TrendChart-DATgAEKG-BGhvWXdf.js → TrendChart-sup0F9JZ-BygEThKD.js} +5 -5
- package/dist/assets/{TrendWithTransactions-DqPFuOvC-Bu3TdK3s.js → TrendWithTransactions-C7azwT25-C5kNS0ZN.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-BQjXazj4-BOpLaunW.js → UncategorizedAccountsMappingPage-Etkl_fAG-DXRnm2d5.js} +9 -9
- package/dist/assets/{UnitIntegrationPage-BiRGRtpI-DxaSFD1H.js → UnitIntegrationPage-ZsJHRr7Z-BSAHu-Ly.js} +10 -10
- package/dist/assets/{UploadAdditionalDocumentOverlay-DCldWCol-B3iVz4fI.js → UploadAdditionalDocumentOverlay-Z5AuwaDQ-BUBRAJWb.js} +1 -1
- package/dist/assets/Vendor2FAPopup-BcnPzCr1-DSeMdCqS.js +1 -0
- package/dist/assets/VendorACHDetailsPage-D5SdrDy6-N4lQNnE6.js +1 -0
- package/dist/assets/{VendorDetailPage-DY4iaLtz-AjIptjjy.js → VendorDetailPage-Dnr8_eWj-07Hixr6q.js} +91 -91
- package/dist/assets/VendorDomesticWireDetailsPage-Bv2OKF0M-DAfdk4lz.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-Dep7O8Uz-Do-rxCWR.js → VendorFiling1099EditablePage-C7SK3oAX-sJjp-Qba.js} +32 -32
- package/dist/assets/{VendorFirstReviewPage-CJQIZn8g-DkET_08K.js → VendorFirstReviewPage-sMOzaFlZ-Bd_oFyDy.js} +49 -49
- package/dist/assets/{VendorInternationalWireDetailsPage-CJG5RIa2-DsTS-Uh9.js → VendorInternationalWireDetailsPage-B2c1Rev--BIjFP46u.js} +9 -9
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CRpoKTWj-B3s-WEz1.js +1 -0
- package/dist/assets/{VendorsAccountsSection-D65ewlO6-DU6ZIrZA.js → VendorsAccountsSection-Df4nOfCb-CW1ZNQaH.js} +2 -2
- package/dist/assets/{VerifyDevice-B1_jgwgY-DAz-KAtd.js → VerifyDevice-ogibIJ0s-DAh6OFj7.js} +12 -12
- package/dist/assets/{VideoPlayer-vWSXteQ6-D5qS5__p.js → VideoPlayer-C5JZyeyT-D8KcGBDj.js} +2 -2
- package/dist/assets/{VideoPopup-CdsmU6H4-Du7UVtqu.js → VideoPopup-Dw-9lQNK-0rd-UPIe.js} +2 -2
- package/dist/assets/{WarningsDrawerPage-CjgOsD00-Denf4Sio.js → WarningsDrawerPage-CR9wWm5g-e4J9Pag3.js} +11 -11
- package/dist/assets/{ZeniAccountDetailPage-DiLnoonB-DZ1tpmUL.js → ZeniAccountDetailPage-CP6XbPoi-BnZudMg6.js} +20 -20
- package/dist/assets/{ZeniAccountListViewPage-YfPsO8ls-CfUQiafE.js → ZeniAccountListViewPage-B-8rvc59-BisABJW0.js} +25 -25
- package/dist/assets/ZeniAccountNavBarPieces-D_Jdtql7-D0896al8.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-cEfW88p8-BvUDgJZp.js → ZeniAccountPromoPage-DmXuuPc3-BsixtEBb.js} +28 -28
- package/dist/assets/ZeniAccountSetupPage-CiLrh0yu-B_DH4YUU.js +36 -0
- package/dist/assets/{ZeniCopyright-BROHmszx-VivYqHvz.js → ZeniCopyright-DIzbP27w-D1bPi2Em.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DZZrrFXf-DAQs85Xb.js → ZeniTransferAmountSlider-CYZYkuN_-Bs-AxRga.js} +7 -7
- package/dist/assets/{add-to-wallet-DgdBD8_G-DBbMptVC.js → add-to-wallet-DgdBD8_G-DgwTOiTb.js} +1 -1
- package/dist/assets/{analytics-DH2FWXQR.js → analytics-BVR-nkdQ.js} +1 -1
- package/dist/assets/analyticsHelper-CeSpIREf.js +1 -0
- package/dist/assets/{analyticsHelper-FJ-cS8qS-Bs47KEMI.js → analyticsHelper-CirorDP7-BWRCY1oT.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-DzFpwdLa.js → arrow-south-east-round-PEovUgvH-DTABdjGY.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-C9AIqfs3.js → auto-transfer-rule-mbafm5D3-uZ4hnV5g.js} +1 -1
- package/dist/assets/{chartTypes-DJdbX13L-BnqLcj4-.js → chartTypes-B9iWOG3r-C4s2YMo6.js} +1 -1
- package/dist/assets/{commonDimensions-BpYNnQtf-BVrF2eSg.js → commonDimensions-SFn2jHVc-CTDxaBd-.js} +1 -1
- package/dist/assets/{constants-nz8RVtEp.js → constants-CZu969tQ.js} +1 -1
- package/dist/assets/{core-Be77t6wT.js → core-BCC1NfcO.js} +1 -1
- package/dist/assets/{dash.all.min-1JaBh8EA.js → dash.all.min-BRxR-4km.js} +1 -1
- package/dist/assets/{detailCommon-BRja9H93-BgDpKJS8.js → detailCommon-BTjqps8N-BwbXd0VD.js} +5 -5
- package/dist/assets/downloadPdf-CqjEwKR5-CVBCWVbb.js +1 -0
- package/dist/assets/{empty-DqMX1iak.js → empty-BjP_AR0Y.js} +1 -1
- package/dist/assets/{empty-CVHCqPg8.js → empty-CN6lL5vr.js} +1 -1
- package/dist/assets/epic-CYfuPaR1.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-hRxp85e2.js → gift-box-Cmt9OgIZ-jp2GTx_l.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-DdG5b35f.js → graphic-no-data-l-DU4J8fDt-CoNwe8F7.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CRLCiMSY.js → graphic-no-data-net-burn-l-CzmycA0m-Blfk9v0F.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-Ts-GBzII.js → handshake-BPg58FML-BZVWd-R4.js} +1 -1
- package/dist/assets/{index-CNJQ6T57.js → index-BJwUmr6X.js} +4654 -4680
- package/dist/assets/{index-gGz0-y9K.js → index-CDawrAV5.js} +1 -1
- package/dist/assets/{index-BIQvGH1Z.js → index-DOGKWCNR.js} +1 -1
- package/dist/assets/{index-CHDWslZ9.js → index-Dc-8bDa8.js} +1 -1
- package/dist/assets/{index-Cyi12XGG.js → index-DdlMyYMd.js} +1 -1
- package/dist/assets/{index-WLQ2kK4T.js → index-klyQo3c-.js} +1 -1
- package/dist/assets/{index-Q1D5afUf.js → index-oIMKLk8g.js} +1 -1
- package/dist/assets/{lexical-4qH-Yr6_.js → lexical-D1A0yBcv.js} +1 -1
- package/dist/assets/{liveblocks-CUDrE-0X.js → liveblocks-gc1Zpgue.js} +1 -1
- package/dist/assets/{lottie-C5G-hUN3.js → lottie-PDiRMFOU.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DkhO3K0B-BF8CClXj.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BlrJTKah-BOJoZ8nO.js → mapSectionWithAcOnlyToTreeNode-BywQAVX8-CBoe52_o.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-DvdWKHfX-D62umWzQ.js → mapSpacerToTreeNode-nn83cq1C-a5kCwrR8.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-88qIN3FA-CB8prKZU.js → mapTimeframeBalancesToTreeNode-CKjqanKd-DfEyG-Ny.js} +1 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-CmXuntuz-4PcA3DEd.js +1 -0
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-B5MDTbLz-BEBQ7_uD.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Bs8iGys9-D6oy7HtW.js} +1 -1
- package/dist/assets/{mui-DsjrNjDe.js → mui-BPiKl8lE.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F--SwzhZlk.js → page-detail-CWX5S47F-GD7pPHSX.js} +1 -1
- package/dist/assets/{panelSelectedMixin-CzfD5-Zs-Cev-MiVu.js → panelSelectedMixin-CzfD5-Zs-DK9S-4A7.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-YvmWy399.js → radio-default-CiSgisfh-BDa9leTw.js} +1 -1
- package/dist/assets/{react-eUpxlpRg.js → react-BmSXOB2V.js} +1 -1
- package/dist/assets/{react-BWkra2hE.js → react-CVwAo7aZ.js} +1 -1
- package/dist/assets/{react-CSCeF-Sb.js → react-Chs2CyCz.js} +1 -1
- package/dist/assets/{react-XG3-S5t1.js → react-Ck-O1ppd.js} +1 -1
- package/dist/assets/{react-Ci_HLnoa.js → react-DZxKpeyN.js} +2 -2
- package/dist/assets/{react-Bqp70D_u.js → react-DtUvZi19.js} +1 -1
- package/dist/assets/{react-BCXSKYRr.js → react-T0X5kbJf.js} +1 -1
- package/dist/assets/{react-DL4wn98u.js → react-kH3wqLZe.js} +2 -2
- package/dist/assets/{recharts-CmZa-egc.js → recharts-CTVVh_-r.js} +1 -1
- package/dist/assets/{sentry-9b1mvxJ5.js → sentry-Dozbf0xW.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-B8zzGKQS.js → shield-DOlUxcFf-BXU_wIp-.js} +1 -1
- package/dist/assets/toCOABalancesWithID-DvC1wuTC-B-3HfOc_.js +1 -0
- package/dist/assets/{toChartData-B3ouXKAd-thMI2fiV.js → toChartData-mAeXlYNV-B69xO8vw.js} +1 -1
- package/dist/assets/{uploadAttachment-DNNG-CMy-D87O59Xy.js → uploadAttachment-BAVcYsOo-CTVw7Tly.js} +16 -16
- package/dist/assets/uploadReceipts-Dge0cNF1-1wHJJfDu.js +1 -0
- package/dist/assets/{url-RTB-DW5V.js → url-AR2JoXnJ.js} +1 -1
- package/dist/assets/{url-BiBhYcFe.js → url-D26ZSNVT.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-CsE5mUiU.js → useLongPress-GCK2COYQ-DajesI1J.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-5m5uF-Rf.js → usp-line-BBd1wKwW-CY_8hROo.js} +1 -1
- package/dist/assets/{utils-VcZ1Xqjg.js → utils-CJtHQQTa.js} +1 -1
- package/dist/assets/{zeni-epic-state-DJX8u9R8.js → zeni-epic-state-DD2IEaUq.js} +17 -17
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/AccountInfoPage-DF6IU0EG-CK0AD-ot.js +0 -18
- package/dist/assets/AccountLockedInfoModal-Cfx-lPAZ-B55UQ1W3.js +0 -59
- package/dist/assets/AddAddressForCardDrawer-DNGQGGYg-AmBvQD8m.js +0 -6
- package/dist/assets/AppBasePage-B7_L4R6d-DSvQT3A9.js +0 -71
- package/dist/assets/BankAccountWarningSection-uMOXLH0B-ZXC_xQuj.js +0 -51
- package/dist/assets/BillPayApprovalRuleDetailPage-UeVxIxfF-CFPoQw5A.js +0 -27
- package/dist/assets/BillingSettingsPage-BygJjDSp-C0Ia6obD.js +0 -44
- package/dist/assets/BusinessVerificationPage-C63pUk4d-C1yyAjbf.js +0 -138
- package/dist/assets/ChargeCardPromoPage-DuQe7BpX-B1bYsTBb.js +0 -222
- package/dist/assets/ChargeCardStatementsPage-CvtZtuVC-BbTDMJQ9.js +0 -60
- package/dist/assets/CompanyOfficerDetailsSection-CaAR0Wvk-CmXyx64P.js +0 -331
- package/dist/assets/CompanyPassportPage-D2ALJDF_-B0BzydTg.js +0 -417
- package/dist/assets/ConfettiBurst-DxHzdDPp-BHPKFQrr.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-eR0yY2uX-CZ-wHAQI.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-BHk7rDAg-B5ZKgZir.js +0 -66
- package/dist/assets/CustomerOnboardingPage-1LvpVpHC-Cr4NP9fC.js +0 -107
- package/dist/assets/CustomerOnboardingProductSuitePage-DMYHMJXg-DeyKCfXK.js +0 -202
- package/dist/assets/EditPeoplePage-CKS_aEZm-B7Tw7FjE.js +0 -55
- package/dist/assets/EntityDetailPage-B3TQ5hCP-IVMsCeoo.js +0 -18
- package/dist/assets/InternationalWireVerificationPage-CvysJNBQ-Q67xp-Zv.js +0 -65
- package/dist/assets/InvitePeoplePage-C5Qgk24s-U6BHBwDh.js +0 -12
- package/dist/assets/InvoiceUploadSection-BO1i-e_D-S9qpWOlw.js +0 -140
- package/dist/assets/LabeledCountryMultiSelectField-XeBih_-f-O6Y-iu_1.js +0 -237
- package/dist/assets/LabeledDocumentField-Bjg8sNsg-C-PR2ZST.js +0 -41
- package/dist/assets/LabeledMultiSelectField-Di9Wnifv-CqQm8lOX.js +0 -223
- package/dist/assets/MagicLinkACHDetailsPage-DM7EUUU7-6n4CruRX.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-DKrGgFTu-DYmL1ff3.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-B3OpSWB3-BbCH3bCn.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-CphaJa4k-C1L3trsn.js +0 -31
- package/dist/assets/MailingDetailsSection-BJfZvT0b-Cqv93bBS.js +0 -21
- package/dist/assets/MyProfileSettingsPage-8yBXAre6-Bs5xqc-e.js +0 -85
- package/dist/assets/NavBarWithPicker-C3LVyiC9-QHhc6aBd.js +0 -30
- package/dist/assets/NoDataChart-B3s_7m2n-DuPBFXV2.js +0 -26
- package/dist/assets/NoDataTable-CMpypnTw-C6S_V6d0.js +0 -8
- package/dist/assets/OverlayContainerPage-D4QU0p4o-Bbmz6FH4.js +0 -11
- package/dist/assets/PaymentAccountSetupBillingAddressSection-DSnQX90O-Dx1jHuZ7.js +0 -107
- package/dist/assets/QBOSetupSection-DQjol-D0-05cxakPz.js +0 -79
- package/dist/assets/ReimbursementApprovalRuleDetailPage-llw4ONPo-DjqdHx3S.js +0 -32
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-C5MTFJLG-CJIWqV-7.js +0 -1
- package/dist/assets/RoleWithToolTip-GCV_l8Ly-GZKD9YbI.js +0 -22
- package/dist/assets/ScheduleDetailsPage-D1EJbzxN-l7ivTR2t.js +0 -37
- package/dist/assets/TransactionListPage-DHr64V-b-DDnZn40X.js +0 -35
- package/dist/assets/TreasuryStatementsPage-taTRE54D-s03VARjq.js +0 -58
- package/dist/assets/Vendor2FAPopup-BpkAiYTA-99TJd7nU.js +0 -1
- package/dist/assets/VendorACHDetailsPage-tUuZzJnN-BFUuaQ6q.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-B5Nym5J9-CpOxRXxZ.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-DZabfieM-a851bv0Y.js +0 -1
- package/dist/assets/ZeniAccountNavBarPieces-CHStBvRa-5ll2dkEQ.js +0 -14
- package/dist/assets/ZeniAccountSetupPage-B20DHYex-DsTq1nG1.js +0 -36
- package/dist/assets/analyticsHelper-CeC4SQzK.js +0 -1
- package/dist/assets/commonTypes-BVbA7QjV-rrrVgiRE.js +0 -1
- package/dist/assets/downloadPdf-WDHjFv79-x1y7Noz9.js +0 -1
- package/dist/assets/epic-upTynnWU.js +0 -2
- package/dist/assets/mapLoadingInProgressToTreeNode-C_5Bb47i-KSj20Sfu.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-AkxvYRty-Dd11welj.js +0 -1
- package/dist/assets/toCOABalancesWithID-Bq4Xe7az-D4N9dB70.js +0 -1
- package/dist/assets/uploadReceipts-Dge0cNF1-C_Z21T_D.js +0 -1
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import{e as y,J as b,V as t,gQ as x,o as r,y as s,hC as D,u as i}from"./index-BJwUmr6X.js";import{a as $}from"./sentry-Dozbf0xW.js";import{n as o}from"./mui-BPiKl8lE.js";import{K as P}from"./StatusSwitcher-DsSflF9D-B-QsB0QQ.js";import{r as z}from"./AccountInfoPageContent-DLxvkpvG-BfQIWLZb.js";import"./liveblocks-gc1Zpgue.js";import"./core-BCC1NfcO.js";import"./recharts-CTVVh_-r.js";import"./zeni-epic-state-DD2IEaUq.js";import"./lottie-PDiRMFOU.js";import"./analytics-BVR-nkdQ.js";import"./lexical-D1A0yBcv.js";import"./utils-CJtHQQTa.js";import"./downloadPdf-CqjEwKR5-CVBCWVbb.js";import"./commonDimensions-SFn2jHVc-CTDxaBd-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="c1508cfb-617f-4186-9063-a9b8e71b5ca5",e._sentryDebugIdIdentifier="sentry-dbid-c1508cfb-617f-4186-9063-a9b8e71b5ca5")}catch{}})();const d={pageTitleMarginXAxis:new s(i[4],i[8]),containerPaddingLeft:new s(i[3],i[6],i[8]),containerPaddingRight:new s(i[3],i[6],i[8])},q=({authParams:e,downloadAccountDetailEndPoint:n,depositAccount:a,zeniAccountsConfigDetail:f,currentTenant:u,onDismissClick:g})=>{const p=y(),c=b(),[l,m]=$.useState("achDetails"),w=h=>{m(h)};return t.jsxs(T,{children:[t.jsx(x,{title:"",backgroundColor:p.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:g}),t.jsx(j,{windowSize:c,children:a.accountName}),t.jsx(v,{children:t.jsx(P,{tabIds:["achDetails","wireDetails"],selectedTab:l,entity:"zeni_accounts",onTabSelectedChange:w,isSwitcherLeftAlign:!0})}),t.jsx(A,{windowSize:c,children:t.jsx(z,{authParams:e,downloadAccountDetailEndPoint:n,currentTab:l,zeniAccountsConfigDetail:f,currentTenant:u,depositAccount:a})})]})},A=o.div`
|
|
2
|
+
padding-left: ${e=>`${d.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
3
|
+
padding-right: ${e=>`${d.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
4
|
+
`,T=o.div`
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
8
|
+
overflow-x: hidden;
|
|
9
|
+
height: 100%;
|
|
10
|
+
width: 100%;
|
|
11
|
+
`,j=o(D)`
|
|
12
|
+
color: ${e=>e.theme.colors.primary};
|
|
13
|
+
padding: ${r.sp3} ${r.sp0};
|
|
14
|
+
margin: ${e=>`${r.sp0} ${d.pageTitleMarginXAxis.valuePx(e.windowSize)} `};
|
|
15
|
+
`,v=o.div`
|
|
16
|
+
display: flex;
|
|
17
|
+
justify-content: flex-start;
|
|
18
|
+
`;export{q as default};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import{J as je,
|
|
1
|
+
import{J as je,g_ as Ae,hD as H,V as r,bU as z,T as Se,aQ as _,o as a,b8 as Te,F as ve,c4 as De,p as E,ai as re,h as Ce,h1 as ze,al as ae}from"./index-BJwUmr6X.js";import{a as s}from"./sentry-Dozbf0xW.js";import{n as t}from"./mui-BPiKl8lE.js";import{w as _e}from"./downloadPdf-CqjEwKR5-CVBCWVbb.js";import{o as Le}from"./commonDimensions-SFn2jHVc-CTDxaBd-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},y=new e.Error().stack;y&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[y]="0d2d9cc0-be6f-4c0d-a45f-1724ae84f4f8",e._sentryDebugIdIdentifier="sentry-dbid-0d2d9cc0-be6f-4c0d-a45f-1724ae84f4f8")}catch{}})();const{common:{strings:Ie,copyToClipBoard:g},spendManagement:{zeniAccounts:{zeniAccountDetail:K},billPay:{vendorCreation:{achDetails:o}},downloads:X}}=ve.getLocalizedStrings(),er=({authParams:e,downloadAccountDetailEndPoint:y,currentTab:p,depositAccount:n,zeniAccountsConfigDetail:u,currentTenant:k})=>{const oe=je(),[,M]=Ae(),[N,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,fe]=s.useState(!1),[xe,ye]=s.useState(!1),[h,P]=s.useState(!1),[w,R]=s.useState(!1),[j,q]=s.useState(!1),[A,G]=s.useState(!1),[S,U]=s.useState(!1),[T,V]=s.useState(!1),[v,O]=s.useState(!1),[$,Q]=s.useState(!1),D=k?.company?.companyInfo.companyLegalName,C=H(u.zeniAccountsConfigDetail.mailingAddress).text2,m=H(u.zeniAccountsConfigDetail.bankAddress).text2;s.useEffect(()=>{(h||T||v||$||S||$||j||w||A)&&setTimeout(()=>{P(!1),V(!1),O(!1),Q(!1),U(!1),G(!1),q(!1),R(!1)},1200)},[h,T,v,$,S,A,j,w]);const B=(f,c)=>{switch(f){case"accountType":ce(c);break;case"acccountNumber":ie(c);break;case"routingNumber":de(c);break;case"bankName":ue(c);break;case"beneficiaryName":fe(c);break;case"beneficiaryAddress":pe(c);break;case"bankAddress":ye(c);break}},$e=f=>{let c;f==="achDetails"?c=`${o.bankRoutingNumber} ${n.routingNumberAch}
|
|
2
2
|
|
|
3
|
-
${o.accountTypeLabel} ${
|
|
3
|
+
${o.accountTypeLabel} ${n.accountSubType.name??""}
|
|
4
4
|
|
|
5
|
-
${o.bankAccountNumber} ${
|
|
5
|
+
${o.bankAccountNumber} ${n.accountNumber}
|
|
6
6
|
|
|
7
7
|
${o.bankName} ${u.zeniAccountsConfigDetail.bankName}
|
|
8
8
|
|
|
9
|
-
${o.bankAddress} ${m}`:
|
|
9
|
+
${o.bankAddress} ${m}`:c=`${o.bankRoutingNumber} ${n.routingNumberAch}
|
|
10
10
|
|
|
11
|
-
${o.accountTypeLabel} ${
|
|
11
|
+
${o.accountTypeLabel} ${n.accountSubType.name??""}
|
|
12
12
|
|
|
13
|
-
${o.bankAccountNumber} ${
|
|
13
|
+
${o.bankAccountNumber} ${n.accountNumber}
|
|
14
14
|
|
|
15
15
|
${o.bankName} ${u.zeniAccountsConfigDetail.bankName}
|
|
16
16
|
|
|
@@ -18,18 +18,18 @@ ${o.beneficiaryName} ${D}
|
|
|
18
18
|
|
|
19
19
|
${o.bankAddress} ${m}
|
|
20
20
|
|
|
21
|
-
${o.beneficiaryAddress} ${C}`,
|
|
21
|
+
${o.beneficiaryAddress} ${C}`,M(c),P(!0)},i=(f,c,x,F)=>{let d,l;switch(x){case"acccountNumber":d=ne,l=v;break;case"accountType":d=se,l=T;break;case"bankName":d=be,l=S;break;case"beneficiaryName":d=he,l=w;break;case"beneficiaryAddress":d=me,l=A;break;case"bankAddress":d=xe,l=j;break;default:d=le,l=$;break}const we=()=>{switch(x){case"accountType":V(!0);break;case"acccountNumber":O(!0);break;case"routingNumber":Q(!0);break;case"bankName":U(!0);break;case"beneficiaryName":R(!0);break;case"beneficiaryAddress":G(!0);break;case"bankAddress":q(!0);break}};return r.jsxs(Ge,{onMouseEnter:()=>B(x,!0),onMouseLeave:()=>B(x,!1),children:[r.jsx(Ue,{children:f}),r.jsx(Oe,{children:r.jsxs(Qe,{children:[r.jsxs(Ve,{children:[d||oe==="small"?r.jsx(L,{children:r.jsx(z,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:l,children:l?g.copied:g.copy}),enterDelay:600,children:l===!0?r.jsx(ee,{}):r.jsx(W,{"data-testid":_("account-info-copy",x),onClick:()=>{M(c),we()}})})}):null,c]}),F!=null?r.jsx(Be,{children:F}):null]})})]})},ge={detail_type:"account_details",deposit_account_id:n.id,company_name:k?.companyName??"",company_legal_name:k?.company?.companyInfo.companyLegalName??""},ke=encodeURIComponent(JSON.stringify(ge)),Ne=`${y}?query=${ke}`;return r.jsx(Ee,{children:r.jsxs(Je,{children:[r.jsxs(Me,{children:[r.jsx(Re,{children:p==="achDetails"?K.achTitle:K.wireTitle}),r.jsxs(Pe,{children:[r.jsx(L,{children:r.jsx(z,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:N,children:N?X.downloading:X.download}),enterDelay:600,children:N===!0?r.jsx(Se,{size:"Small",start:!0}):r.jsx(qe,{"data-testid":_("account-info-download-pdf"),onClick:()=>{_e(Ne,Ie.empty,e,te,!0)}})})}),r.jsx(L,{children:r.jsx(z,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:h,children:h?g.copied:g.copy}),enterDelay:600,children:h===!0?r.jsx(ee,{}):r.jsx(W,{onClick:()=>$e(p),"data-testid":_("title-text-copy")})})})]})]}),p==="achDetails"?r.jsxs(Fe,{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]}):p==="wireDetails"?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(b,{children:i(o.bankAddress,m,"bankAddress")}):null,D!=null?r.jsx(b,{children:i(o.beneficiaryName,D,"beneficiaryName",o.beneficiaryNameSubLabel)}):null,C!=null?r.jsx(Z,{children:i(o.beneficiaryAddress,C,"beneficiaryAddress",o.beneficiaryAddressSubLabel)}):null]}):null]})})},Ee=t.div``,Je=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;
|
|
28
28
|
margin-bottom: ${a.sp3};
|
|
29
|
-
`,
|
|
29
|
+
`,Pe=t.div`
|
|
30
30
|
display: flex;
|
|
31
31
|
gap: ${a.sp4};
|
|
32
|
-
`,Re=t(
|
|
32
|
+
`,Re=t(Te)`
|
|
33
33
|
color: ${e=>e.theme.colors.primary};
|
|
34
34
|
margin-right: ${a.sp2};
|
|
35
35
|
`,qe=t(De)`
|
|
@@ -40,9 +40,9 @@ ${o.beneficiaryAddress} ${C}`,J(n),M(!0)},i=(f,n,x,H)=>{let d,l;switch(x){case"a
|
|
|
40
40
|
&:hover {
|
|
41
41
|
color: ${e=>e.theme.colors.primary};
|
|
42
42
|
}
|
|
43
|
-
`,
|
|
43
|
+
`,J=t.div`
|
|
44
44
|
box-sizing: border-box;
|
|
45
|
-
min-height: ${
|
|
45
|
+
min-height: ${Le.transactionItemHeight}px;
|
|
46
46
|
display: flex;
|
|
47
47
|
border: 1px solid;
|
|
48
48
|
border-radius: ${a.sp2};
|
|
@@ -57,7 +57,7 @@ ${o.beneficiaryAddress} ${C}`,J(n),M(!0)},i=(f,n,x,H)=>{let d,l;switch(x){case"a
|
|
|
57
57
|
color: ${e=>e.theme.colors.grey1};
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
-
`,
|
|
60
|
+
`,Y=t(J)`
|
|
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} ${C}`,J(n),M(!0)},i=(f,n,x,H)=>{let d,l;switch(x){case"a
|
|
|
72
72
|
&:hover {
|
|
73
73
|
border-bottom-width: 1px;
|
|
74
74
|
}
|
|
75
|
-
`,
|
|
75
|
+
`,Z=t(J)`
|
|
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;
|
|
@@ -86,7 +86,7 @@ ${o.beneficiaryAddress} ${C}`,J(n),M(!0)},i=(f,n,x,H)=>{let d,l;switch(x){case"a
|
|
|
86
86
|
&:hover {
|
|
87
87
|
border-top-width: 1px;
|
|
88
88
|
}
|
|
89
|
-
`,
|
|
89
|
+
`,L=t.div`
|
|
90
90
|
display: flex;
|
|
91
91
|
color: ${e=>e.theme.colors.grey1};
|
|
92
92
|
&:hover {
|
|
@@ -95,7 +95,7 @@ ${o.beneficiaryAddress} ${C}`,J(n),M(!0)},i=(f,n,x,H)=>{let d,l;switch(x){case"a
|
|
|
95
95
|
color: ${e=>e.theme.colors.primary};
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
|
-
`,
|
|
98
|
+
`,W=t(ze)`
|
|
99
99
|
height: ${a.sp3};
|
|
100
100
|
width: ${a.sp3};
|
|
101
101
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -107,16 +107,16 @@ ${o.beneficiaryAddress} ${C}`,J(n),M(!0)},i=(f,n,x,H)=>{let d,l;switch(x){case"a
|
|
|
107
107
|
height: ${a.sp3};
|
|
108
108
|
width: ${a.sp3};
|
|
109
109
|
color: ${E.success};
|
|
110
|
-
`,
|
|
110
|
+
`,Ge=t.div`
|
|
111
111
|
display: flex;
|
|
112
112
|
flex-direction: row;
|
|
113
113
|
padding: ${a.sp3} ${a.sp4};
|
|
114
114
|
justify-content: space-between;
|
|
115
115
|
width: 100%;
|
|
116
116
|
gap: ${a.sp4};
|
|
117
|
-
`,
|
|
117
|
+
`,Ue=t(ae)`
|
|
118
118
|
color: ${e=>e.theme.colors.hero};
|
|
119
|
-
`,
|
|
119
|
+
`,Ve=t(ae)`
|
|
120
120
|
display: flex;
|
|
121
121
|
align-items: center;
|
|
122
122
|
color: ${e=>e.theme.colors.primary};
|
|
@@ -125,16 +125,16 @@ ${o.beneficiaryAddress} ${C}`,J(n),M(!0)},i=(f,n,x,H)=>{let d,l;switch(x){case"a
|
|
|
125
125
|
text-align: end;
|
|
126
126
|
`,Oe=t.div`
|
|
127
127
|
display: flex;
|
|
128
|
-
`,
|
|
128
|
+
`,Qe=t.div`
|
|
129
129
|
display: flex;
|
|
130
130
|
flex-direction: column;
|
|
131
131
|
align-items: flex-end;
|
|
132
|
-
`,
|
|
132
|
+
`,Be=t(re)`
|
|
133
133
|
color: ${e=>e.theme.colors.grey1};
|
|
134
134
|
text-align: end;
|
|
135
135
|
`,I=t(re)`
|
|
136
136
|
color: ${e=>e.isTextCopied?E.primaryDark:E.neutralGrey1Light};
|
|
137
|
-
`,b=t(
|
|
137
|
+
`,b=t(J)`
|
|
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} ${C}`,J(n),M(!0)},i=(f,n,x,H)=>{let d,l;switch(x){case"a
|
|
|
146
146
|
border-top-width: 1px;
|
|
147
147
|
border-bottom-width: 1px;
|
|
148
148
|
}
|
|
149
|
-
`,
|
|
149
|
+
`,Fe=t.div``,He=t.div``;export{er as r};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import{e as g,F as d,V as t,al as x,bb as l,i as b,o,p,aq as y,b_ as j,b$ as $,c0 as w,bT as k}from"./index-BJwUmr6X.js";import{n as r}from"./mui-BPiKl8lE.js";import{t as v}from"./handshake-BPg58FML-BZVWd-R4.js";import"./sentry-Dozbf0xW.js";import"./liveblocks-gc1Zpgue.js";import"./core-BCC1NfcO.js";import"./recharts-CTVVh_-r.js";import"./zeni-epic-state-DD2IEaUq.js";import"./lottie-PDiRMFOU.js";import"./analytics-BVR-nkdQ.js";import"./lexical-D1A0yBcv.js";import"./utils-CJtHQQTa.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="56217c5c-df83-4b88-a8d3-4686dffa6ee4",e._sentryDebugIdIdentifier="sentry-dbid-56217c5c-df83-4b88-a8d3-4686dffa6ee4")}catch{}})();const m="support@zeni.ai",n=d.getLocalizedStrings().commonSetUp.twoFactorAuthentication,h=({unlockDate:e,onSubmit:i})=>{const s=g(),f=e.format(d.getLocalizedStrings().dateFormat.visual.MMMDCommaYYYYformat),u=e.format(d.getLocalizedStrings().dateFormat.visual.HHMMFormat);return t.jsxs(S,{children:[t.jsx(C,{children:n.accountLockedTitle}),t.jsxs(D,{children:[t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(z,{})}),t.jsx(x,{children:n.accountLockedSecurityMessage})]}),t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(T,{})}),t.jsxs(l,{children:[n.tryAgainAfter,t.jsxs(_,{children:[f,t.jsx(L,{children:"•"}),u]}),n.signInViaGoogleOrMicrosoft]})]}),t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(A,{})}),t.jsxs(l,{children:[n.accountLockedContactMessage,t.jsx(I,{href:`mailto:${m}`,children:m})]})]}),t.jsx(b,{variant:"primary",label:n.understood,onClick:i})]})]})};function M({unlockDate:e,onClose:i}){return t.jsx(k,{open:!0,onClose:i,children:t.jsx(F,{children:t.jsx(h,{unlockDate:e,onSubmit:i})})})}const S=r.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
align-items: center;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
row-gap: ${o.sp6};
|
|
7
|
+
`,C=r(y)`
|
|
8
|
+
color: ${p.important};
|
|
9
|
+
text-align: center;
|
|
10
|
+
`,D=r.div`
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
align-items: center;
|
|
14
|
+
justify-content: center;
|
|
15
|
+
row-gap: ${o.sp5};
|
|
16
|
+
`,a=r.div`
|
|
17
|
+
display: flex;
|
|
18
|
+
align-items: center;
|
|
19
|
+
justify-content: flex-start;
|
|
20
|
+
column-gap: 12px;
|
|
21
|
+
text-align: start;
|
|
22
|
+
width: 100%;
|
|
23
|
+
color: ${e=>e.theme.colors.primary};
|
|
24
|
+
`,I=r.a`
|
|
25
|
+
text-decoration: underline;
|
|
26
|
+
color: ${e=>e.theme.colors.primary};
|
|
27
|
+
`,_=r(l)`
|
|
28
|
+
font-weight: ${w.medium};
|
|
29
|
+
`,L=r.span`
|
|
30
|
+
color: ${e=>e.theme.colors.hero};
|
|
31
|
+
margin-left: ${o.sp1};
|
|
32
|
+
margin-right: ${o.sp1};
|
|
33
|
+
`,c=r.div`
|
|
34
|
+
width: ${o.sp7};
|
|
35
|
+
height: ${o.sp7};
|
|
36
|
+
background: ${e=>e.theme.mode==="dark"?p.brandColorJadeDark:p.brandColorJadeLight};
|
|
37
|
+
border-radius: 50%;
|
|
38
|
+
flex-shrink: 0;
|
|
39
|
+
color: ${e=>e.theme.colors.primary};
|
|
40
|
+
display: flex;
|
|
41
|
+
align-items: center;
|
|
42
|
+
justify-content: center;
|
|
43
|
+
`,T=r($)`
|
|
44
|
+
width: ${o.sp4};
|
|
45
|
+
height: ${o.sp4};
|
|
46
|
+
`,z=r(j)`
|
|
47
|
+
width: ${o.sp4};
|
|
48
|
+
height: ${o.sp4};
|
|
49
|
+
`,A=r(v)`
|
|
50
|
+
width: ${o.sp4};
|
|
51
|
+
height: ${o.sp4};
|
|
52
|
+
`,F=r.div`
|
|
53
|
+
display: flex;
|
|
54
|
+
flex-direction: column;
|
|
55
|
+
width: 456px;
|
|
56
|
+
padding: ${o.sp5} ${o.sp6};
|
|
57
|
+
background: ${e=>e.theme.colors.grey5};
|
|
58
|
+
border-radius: ${o.sp2};
|
|
59
|
+
`,B=Object.freeze(Object.defineProperty({__proto__:null,AccountLockedInfo:h,default:M},Symbol.toStringTag,{value:"Module"}));export{h as A,m as Z,B as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a9 as fe,
|
|
1
|
+
import{a9 as fe,fB as xe,V as t,ac as ye,cq as ge,cr as je,cs as Se,o as c,a as $e,b8 as Q,am as X,c as ke,aa as be,dP as ve,eV as we,d6 as G,dy as Z,F as Ce,al as d,e as Ee,aO as Pe,bx as ee,dS as te,at as Re,p as ne,h as Ie}from"./index-BJwUmr6X.js";import{a as r}from"./sentry-Dozbf0xW.js";import{n as o}from"./mui-BPiKl8lE.js";import{bL as oe,Gz as De,GA as _e}from"./zeni-epic-state-DD2IEaUq.js";import{E as Te,C as Fe,w as Ue,f as Le}from"./AccountRow-D5S7-AKx-CMAenaIW.js";import"./liveblocks-gc1Zpgue.js";import"./core-BCC1NfcO.js";import"./recharts-CTVVh_-r.js";import"./lottie-PDiRMFOU.js";import"./analytics-BVR-nkdQ.js";import"./lexical-D1A0yBcv.js";import"./utils-CJtHQQTa.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="2a95aa5d-1e75-43ca-aae8-5ac1c6697861",e._sentryDebugIdIdentifier="sentry-dbid-2a95aa5d-1e75-43ca-aae8-5ac1c6697861")}catch{}})();const m={containerPaddingLeft:c.sp4,containerPaddingRight:c.sp4,navBarHeight:c.sp10,navBarPaddingRight:c.sp4,navBarPaddingLeft:c.sp4,balanceContainerWidth:114,sourceContainerWidth:400},Be=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey4};
|
|
@@ -7,11 +7,11 @@ import{a9 as fe,fC as xe,V as t,ac as ye,cp as ge,cq as je,cr as Se,o as c,a as
|
|
|
7
7
|
height: 100vh;
|
|
8
8
|
position: relative;
|
|
9
9
|
gap: ${c.sp5};
|
|
10
|
-
`,
|
|
10
|
+
`,Me=o.div`
|
|
11
11
|
display: flex;
|
|
12
12
|
flex: 0 0 auto;
|
|
13
13
|
width: ${c.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{a9 as fe,fC as xe,V as t,ac as ye,cp as ge,cq as je,cr as Se,o as c,a as
|
|
|
19
19
|
z-index: 2;
|
|
20
20
|
top: ${c.sp0};
|
|
21
21
|
width: 100%;
|
|
22
|
-
`,
|
|
22
|
+
`,Oe=o(ke)`
|
|
23
23
|
cursor: pointer;
|
|
24
24
|
color: ${e=>e.theme.colors.hero};
|
|
25
25
|
width: ${c.sp4};
|
|
@@ -29,13 +29,13 @@ import{a9 as fe,fC as xe,V as t,ac as ye,cp as ge,cq as je,cr as Se,o as c,a as
|
|
|
29
29
|
color: ${e=>e.theme.colors.primary};
|
|
30
30
|
}
|
|
31
31
|
flex: 0 0 auto;
|
|
32
|
-
`,
|
|
32
|
+
`,Ae=o.div`
|
|
33
33
|
padding-left: ${m.containerPaddingLeft};
|
|
34
34
|
padding-right: ${m.containerPaddingRight};
|
|
35
|
-
`,
|
|
35
|
+
`,We=o.div`
|
|
36
36
|
position: relative;
|
|
37
37
|
min-height: 62px;
|
|
38
|
-
`,
|
|
38
|
+
`,Ne=o.div`
|
|
39
39
|
display: flex;
|
|
40
40
|
flex-direction: row;
|
|
41
41
|
align-items: center;
|
|
@@ -91,7 +91,7 @@ import{a9 as fe,fC as xe,V as t,ac as ye,cp as ge,cq as je,cr as Se,o as c,a as
|
|
|
91
91
|
align-items: flex-start;
|
|
92
92
|
justify-content: center;
|
|
93
93
|
min-width: ${m.balanceContainerWidth}px;
|
|
94
|
-
`,
|
|
94
|
+
`,A=o(X)`
|
|
95
95
|
display: flex;
|
|
96
96
|
color: ${e=>e.theme.colors.hero};
|
|
97
97
|
align-items: center;
|
|
@@ -187,7 +187,7 @@ import{a9 as fe,fC as xe,V as t,ac as ye,cp as ge,cq as je,cr as Se,o as c,a as
|
|
|
187
187
|
color: ${e=>e.theme.colors.hero};
|
|
188
188
|
align-items: center;
|
|
189
189
|
justify-content: flex-end;
|
|
190
|
-
`,
|
|
190
|
+
`,_=o(d)`
|
|
191
191
|
display: flex;
|
|
192
192
|
color: ${e=>e.theme.colors.primary};
|
|
193
193
|
align-items: center;
|
|
@@ -198,7 +198,7 @@ import{a9 as fe,fC as xe,V as t,ac as ye,cp as ge,cq as je,cr as Se,o as c,a as
|
|
|
198
198
|
align-items: center;
|
|
199
199
|
justify-content: flex-end;
|
|
200
200
|
gap: ${c.sp1};
|
|
201
|
-
`,
|
|
201
|
+
`,W=o.div`
|
|
202
202
|
display: flex;
|
|
203
203
|
flex-direction: row;
|
|
204
204
|
align-items: center;
|
|
@@ -236,4 +236,4 @@ import{a9 as fe,fC as xe,V as t,ac as ye,cp as ge,cq as je,cr as Se,o as c,a as
|
|
|
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:J,expenseAutomation:{accountRecon:i}}=Ce.getLocalizedStrings(),ft=(e,n)=>`${e}.${n}`,xt="accountReconDrawerDetailsPage",se="accountReconDrawerDetailsSection";function Mt({accountReconciliation:e,plaidConnectionDetails:n,monthYearPeriod:l,openFilePicker:u,filesEndPoint:x,authParams:S,onDismissClick:$,onFetchLinkTokenClick:E,onEstablishConnectionClick:P,onSelectSourceType:_,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:L}){const f=fe({mode:"all",reValidateMode:"onChange",defaultValues:K(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:K(e)}),k=f.handleSubmit(()=>{}),[h,y]=r.useState(void 0),b=n.link_account_no_microdeposit,w=n.update_account,a=h==="update_account"?w:b,[g,M]=r.useState(a.linkToken??null),[s,v]=r.useState(!1),[W,Y]=r.useState(!1),[B,A]=r.useState(void 0),[re,z]=r.useState(void 0),le=r.useCallback(()=>{y("link_account_no_microdeposit")},[]),de=r.useCallback(()=>{y("update_account"),E("update_account",e.paymentAccountId)},[e.paymentAccountId]),ue={onOkClick:()=>{B!=null&&(R(B),A(void 0)),z(void 0),Y(!1)},onCancelClick:()=>{A(void 0),Y(!1)}},H=r.useRef(h);r.useEffect(()=>{H.current=h},[h]);const pe=r.useCallback(I=>{P(I,e.accountReconEntity.account.accountId,H.current),y(void 0),v(!1)},[P,e.accountReconEntity.account.accountId]),he=r.useCallback((I,me)=>{I!=null&&console.log("Plaid Connection Error",I,me),y(void 0),v(!1)},[]),{open:V,ready:q}=xe({token:g,onSuccess:pe,onExit:he});return r.useEffect(()=>{(oe(new Date().toISOString()).isAfter(a.expiration)||a.linkToken==null)&&a.fetchStatus.fetchState==="Not-Started"&&E("link_account_no_microdeposit")},[a.fetchStatus.fetchState]),r.useEffect(()=>{!s&&h!=null&&a.linkToken===g&&a.fetchStatus.fetchState==="Completed"&&q&&v(!0)},[q,g,a.fetchStatus.fetchState,a.linkToken,h,s]),r.useEffect(()=>{a.fetchStatus.fetchState==="Completed"&&a.linkToken!=null&&a.linkToken!==g&&M(a.linkToken)},[a.fetchStatus.fetchState,a.linkToken,g]),r.useEffect(()=>{s&&V()},[s,V]),t.jsxs(Me,{children:[t.jsx(Be,{children:t.jsx(Ne,{children:t.jsxs(We,{children:[t.jsx(Ye,{}),t.jsxs(ze,{children:[t.jsx(He,{children:e.accountReconEntity.account.accountName}),t.jsx(ce,{children:t.jsx(bt,{monthYearPeriod:l})})]}),t.jsx(Ve,{children:t.jsx(Ae,{onClick:$})})]})})}),t.jsxs(Oe,{children:[t.jsx(ye,{...f,children:t.jsx("form",{style:{width:"100%"},id:xt,onSubmit:k,children:t.jsx(yt,{monthYearPeriod:l,accountReconciliation:e,filesEndPoint:x,openFilePicker:u,authParams:S,onConnectClick:le,onReconnectClick:de,onSelectSourceType:_,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:L,showConfirmationPopup:W,setShowConfirmationPopup:Y,deleteFileId:B,setDeleteFileId:A,uploadErrorMessage:re,setUploadErrorMessage:z})})}),W===!0||e.statementDeleteStatus.fetchState==="In-Progress"?t.jsx(ge,{titleComponent:t.jsx(Se,{children:i.reconciliation.drawer.deleteConfirmation.heading}),descriptionComponent:t.jsx(je,{children:i.reconciliation.drawer.deleteConfirmation.description}),isLoading:e.statementDeleteStatus.fetchState==="In-Progress",primaryButtonText:p.confirm,secondaryButtonText:p.cancel,action:ue}):null]})]})}const yt=({monthYearPeriod:e,accountReconciliation:n,filesEndPoint:l,authParams:u,openFilePicker:x,onConnectClick:S,onReconnectClick:$,setDeleteFileId:E,setShowConfirmationPopup:P,onEditFileName:_,onSelectSourceType:R,onStatementUploadSuccess:F,onUploadWindowOpenedOnce:U,uploadErrorMessage:L,setUploadErrorMessage:f})=>{const[k,h]=r.useState(!1),y=(n.localData?.accountSource??"plaid")==="plaid"?n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt:n.accountReconEntity.reconUpdatedAt,b=[];n.accountReconEntity.account.accountType==="bank"&&b.push({label:i.reconciliation.menu.bankConnection,value:"plaid"}),b.push({label:i.reconciliation.menu.statement,value:"bank_statement"});const w=n.accountReconEntity.account.accountType==="credit_card"?"bank_statement":n.localData?.accountSource;let a=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0||k?"bank_statement":void 0;n.accountReconEntity.account.accountType==="credit_card"&&(a="bank_statement"),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")&&f(_e(n.accountReconEntity.statementDataStatus?.code,"drawer",n.accountReconEntity.errorMessage?.errorShort))},[n.accountReconEntity.statementStatus.code,n.accountReconEntity.statementDataStatus?.code,n.accountReconEntity.errorMessage?.errorShort,f]);const g=["reconciled","in_progress","reconciled_via_qbo"],M=n.accountReconEntity.reconciliationStatus!=null&&g.includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(qe,{children:[t.jsxs(Ge,{children:[t.jsxs(Je,{children:[t.jsx(O,{children:i.reconciliation.headers.bankBalance}),t.jsx(Ke,{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(O,{children:i.reconciliation.headers.clearedBalance}),t.jsx(Xe,{children:t.jsx(Ue,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(et,{children:[t.jsx(O,{children:i.reconciliation.headers.variance}),t.jsx(tt,{children:t.jsx($t,{variance:n.accountReconEntity.variance,variancePercentage:n.accountReconEntity.variancePercentage})})]})]}),t.jsxs(st,{children:[t.jsxs(rt,{children:[" ",i.reconciliation.drawer.source," "]}),t.jsxs(lt,{children:[t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.type}),t.jsx(T,{children:a!=null?t.jsx(j,{children:a==="plaid"&&n.accountReconEntity.account.accountType==="bank"?t.jsxs(t.Fragment,{children:[t.jsx(ie,{}),i.reconciliation.menu.bankConnection]}):t.jsxs(t.Fragment,{children:[t.jsx(ae,{}),i.reconciliation.menu.statement]})}):t.jsx(be,{controller:!0,children:t.jsx(we,{moreIconType:"custom",customIcon:t.jsx(gt,{selectedSourceType:w}),options:b,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:c.sp5,width:"180px"})},menuPlacement:"bottom",onOptionSelection:s=>{R(De(s))},valueToIcon:s=>s==="plaid"?t.jsx(ut,{}):s==="bank_statement"?t.jsx(pt,{}):null})})})]}),w==="bank_statement"?t.jsx(C,{children:t.jsx(ve,{name:ft(se,"file"),file:n.accountReconEntity.statementMetaData?.file,showPhotoPicker:!1,isDisabled:M,sizeLimit:1e7,onFileSizeError:s=>{s&&f(p.fileElementPicker.sizeLimit)},deleteFileStatusById:{},updateFileStatusById:{},filesEndPoint:l,authParams:u,acceptableTypes:["application/pdf"],placeholderText:i.reconciliation.drawer.downloadPlaceholder,autoOpenFilePicker:x,accountStatementUpload:{uploadHelper:Te,metadataPayload:{accountId:n.accountReconEntity.account.accountId,accountType:n.accountReconEntity.account.accountType??"bank",monthYearPeriod:e},errorMessage:L,onUploadError:s=>{f(s?.message)},onUploadSuccess:s=>{F(s),h(!1)},onUploadStart:()=>{h(!0),f(void 0)},onUploadWindowOpenedOnce:()=>{U()}},onDeleteFile:s=>{E(s),P(!0)},onEditFileName:(s,v)=>{_(s,v)}})}):null,t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.status}),t.jsx(T,{children:w!=="bank_statement"?t.jsx(jt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:$}):t.jsx(St,{uploadInProgress:k,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.accountType}),t.jsx(T,{children:t.jsx(kt,{accountSubType:G(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.lastUpdated}),t.jsx(T,{children:t.jsx(Z,{isLoading:k,customStyle:{height:"20px",width:"100px"},position:"left",children:y!=null?t.jsx(j,{children:G(y.utc(!0).fromNow())}):p.strings.hyphen})})]})]})]})]})},gt=({selectedSourceType:e})=>t.jsxs(ct,{children:[e==null||e==="plaid"?t.jsx(ie,{}):t.jsx(ae,{}),t.jsx(it,{children:e==null||e==="plaid"?i.reconciliation.menu.bankConnection:i.reconciliation.menu.statement}),t.jsx(at,{})]}),jt=({status:e,connectionInProgress:n,onConnectClick:l,onReconnectClick:u})=>n?t.jsx(N,{children:i.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(N,{children:[t.jsx(dt,{}),t.jsx(ht,{children:i.reconciliation.drawer.values.connected})]}):t.jsx(N,{onClick:e==="reconnect"?u:l,children:t.jsx(mt,{status:e,children:e==="reconnect"?i.reconciliation.drawer.values.reconnect:i.reconciliation.drawer.values.connect})}),St=({status:e,uploadInProgress:n})=>n?t.jsx(Z,{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:i.reconciliation.drawer.values.statementParsing}):e==="validated"?t.jsx(j,{children:i.reconciliation.drawer.values.uploaded}):t.jsx(j,{children:p.strings.hyphen}),$t=({variance:e,variancePercentage:n,reconciliationStatusCode:l})=>{const u=Ee(),{varianceColor:x,variancePercentageColor:S,variancePercentageContainerColor:$}=Le(u,e,l,!0);return t.jsxs(Ze,{children:[t.jsx(nt,{textColor:x,children:Pe("0,0",e)??p.strings.hyphen}),t.jsxs(ot,{textColor:S,bgColor:$,children:[n!=null?n===0?"0":n.toFixed(2):null,n!=null?p.strings.percentage:null]})]})},kt=({accountSubType:e})=>{const n=e!=null?e.replace("_"," "):p.strings.hyphen;return t.jsx(j,{children:n})},bt=({monthYearPeriod:e})=>t.jsx(ce,{children:wt(e)}),wt=e=>{const{month:n,year:l}=e,u=oe(`${l}-${String(n).padStart(2,"0")}-01`);let x=u.endOf("month");return`${u.format(J.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${x.format(J.visual.DMMMYYYYFormat)}`},K=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{Mt as default,ft as uniqueName};
|
|
239
|
+
`,{common:p,dateFormat:J,expenseAutomation:{accountRecon:i}}=Ce.getLocalizedStrings(),ft=(e,n)=>`${e}.${n}`,xt="accountReconDrawerDetailsPage",se="accountReconDrawerDetailsSection";function Bt({accountReconciliation:e,plaidConnectionDetails:n,monthYearPeriod:l,openFilePicker:u,filesEndPoint:x,authParams:S,onDismissClick:$,onFetchLinkTokenClick:E,onEstablishConnectionClick:P,onSelectSourceType:T,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:L}){const f=fe({mode:"all",reValidateMode:"onChange",defaultValues:K(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:K(e)}),k=f.handleSubmit(()=>{}),[h,y]=r.useState(void 0),b=n.link_account_no_microdeposit,v=n.update_account,a=h==="update_account"?v:b,[g,B]=r.useState(a.linkToken??null),[s,w]=r.useState(!1),[N,M]=r.useState(!1),[Y,O]=r.useState(void 0),[re,z]=r.useState(void 0),le=r.useCallback(()=>{y("link_account_no_microdeposit")},[]),de=r.useCallback(()=>{y("update_account"),E("update_account",e.paymentAccountId)},[e.paymentAccountId]),ue={onOkClick:()=>{Y!=null&&(R(Y),O(void 0)),z(void 0),M(!1)},onCancelClick:()=>{O(void 0),M(!1)}},H=r.useRef(h);r.useEffect(()=>{H.current=h},[h]);const pe=r.useCallback(I=>{P(I,e.accountReconEntity.account.accountId,H.current),y(void 0),w(!1)},[P,e.accountReconEntity.account.accountId]),he=r.useCallback((I,me)=>{I!=null&&console.log("Plaid Connection Error",I,me),y(void 0),w(!1)},[]),{open:V,ready:q}=xe({token:g,onSuccess:pe,onExit:he});return r.useEffect(()=>{(oe(new Date().toISOString()).isAfter(a.expiration)||a.linkToken==null)&&a.fetchStatus.fetchState==="Not-Started"&&E("link_account_no_microdeposit")},[a.fetchStatus.fetchState]),r.useEffect(()=>{!s&&h!=null&&a.linkToken===g&&a.fetchStatus.fetchState==="Completed"&&q&&w(!0)},[q,g,a.fetchStatus.fetchState,a.linkToken,h,s]),r.useEffect(()=>{a.fetchStatus.fetchState==="Completed"&&a.linkToken!=null&&a.linkToken!==g&&B(a.linkToken)},[a.fetchStatus.fetchState,a.linkToken,g]),r.useEffect(()=>{s&&V()},[s,V]),t.jsxs(Be,{children:[t.jsx(Ye,{children:t.jsx(We,{children:t.jsxs(Ne,{children:[t.jsx(Me,{}),t.jsxs(ze,{children:[t.jsx(He,{children:e.accountReconEntity.account.accountName}),t.jsx(ce,{children:t.jsx(bt,{monthYearPeriod:l})})]}),t.jsx(Ve,{children:t.jsx(Oe,{onClick:$})})]})})}),t.jsxs(Ae,{children:[t.jsx(ye,{...f,children:t.jsx("form",{style:{width:"100%"},id:xt,onSubmit:k,children:t.jsx(yt,{monthYearPeriod:l,accountReconciliation:e,filesEndPoint:x,openFilePicker:u,authParams:S,onConnectClick:le,onReconnectClick:de,onSelectSourceType:T,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:L,showConfirmationPopup:N,setShowConfirmationPopup:M,deleteFileId:Y,setDeleteFileId:O,uploadErrorMessage:re,setUploadErrorMessage:z})})}),N===!0||e.statementDeleteStatus.fetchState==="In-Progress"?t.jsx(ge,{titleComponent:t.jsx(Se,{children:i.reconciliation.drawer.deleteConfirmation.heading}),descriptionComponent:t.jsx(je,{children:i.reconciliation.drawer.deleteConfirmation.description}),isLoading:e.statementDeleteStatus.fetchState==="In-Progress",primaryButtonText:p.confirm,secondaryButtonText:p.cancel,action:ue}):null]})]})}const yt=({monthYearPeriod:e,accountReconciliation:n,filesEndPoint:l,authParams:u,openFilePicker:x,onConnectClick:S,onReconnectClick:$,setDeleteFileId:E,setShowConfirmationPopup:P,onEditFileName:T,onSelectSourceType:R,onStatementUploadSuccess:F,onUploadWindowOpenedOnce:U,uploadErrorMessage:L,setUploadErrorMessage:f})=>{const[k,h]=r.useState(!1),y=(n.localData?.accountSource??"plaid")==="plaid"?n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt:n.accountReconEntity.reconUpdatedAt,b=[];n.accountReconEntity.account.accountType==="bank"&&b.push({label:i.reconciliation.menu.bankConnection,value:"plaid"}),b.push({label:i.reconciliation.menu.statement,value:"bank_statement"});const v=n.accountReconEntity.account.accountType==="credit_card"?"bank_statement":n.localData?.accountSource;let a=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0||k?"bank_statement":void 0;n.accountReconEntity.account.accountType==="credit_card"&&(a="bank_statement"),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")&&f(Te(n.accountReconEntity.statementDataStatus?.code,"drawer",n.accountReconEntity.errorMessage?.errorShort))},[n.accountReconEntity.statementStatus.code,n.accountReconEntity.statementDataStatus?.code,n.accountReconEntity.errorMessage?.errorShort,f]);const g=["reconciled","in_progress","reconciled_via_qbo"],B=n.accountReconEntity.reconciliationStatus!=null&&g.includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(qe,{children:[t.jsxs(Ge,{children:[t.jsxs(Je,{children:[t.jsx(A,{children:i.reconciliation.headers.bankBalance}),t.jsx(Ke,{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:i.reconciliation.headers.clearedBalance}),t.jsx(Xe,{children:t.jsx(Ue,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(et,{children:[t.jsx(A,{children:i.reconciliation.headers.variance}),t.jsx(tt,{children:t.jsx($t,{variance:n.accountReconEntity.variance,variancePercentage:n.accountReconEntity.variancePercentage})})]})]}),t.jsxs(st,{children:[t.jsxs(rt,{children:[" ",i.reconciliation.drawer.source," "]}),t.jsxs(lt,{children:[t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.type}),t.jsx(_,{children:a!=null?t.jsx(j,{children:a==="plaid"&&n.accountReconEntity.account.accountType==="bank"?t.jsxs(t.Fragment,{children:[t.jsx(ie,{}),i.reconciliation.menu.bankConnection]}):t.jsxs(t.Fragment,{children:[t.jsx(ae,{}),i.reconciliation.menu.statement]})}):t.jsx(be,{controller:!0,children:t.jsx(ve,{moreIconType:"custom",customIcon:t.jsx(gt,{selectedSourceType:v}),options:b,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:c.sp5,width:"180px"})},menuPlacement:"bottom",onOptionSelection:s=>{R(De(s))},valueToIcon:s=>s==="plaid"?t.jsx(ut,{}):s==="bank_statement"?t.jsx(pt,{}):null})})})]}),v==="bank_statement"?t.jsx(C,{children:t.jsx(we,{name:ft(se,"file"),file:n.accountReconEntity.statementMetaData?.file,showPhotoPicker:!1,isDisabled:B,sizeLimit:1e7,onFileSizeError:s=>{s&&f(p.fileElementPicker.sizeLimit)},deleteFileStatusById:{},updateFileStatusById:{},filesEndPoint:l,authParams:u,acceptableTypes:["application/pdf"],placeholderText:i.reconciliation.drawer.downloadPlaceholder,autoOpenFilePicker:x,accountStatementUpload:{uploadHelper:_e,metadataPayload:{accountId:n.accountReconEntity.account.accountId,accountType:n.accountReconEntity.account.accountType??"bank",monthYearPeriod:e},errorMessage:L,onUploadError:s=>{f(s?.message)},onUploadSuccess:s=>{F(s),h(!1)},onUploadStart:()=>{h(!0),f(void 0)},onUploadWindowOpenedOnce:()=>{U()}},onDeleteFile:s=>{E(s),P(!0)},onEditFileName:(s,w)=>{T(s,w)}})}):null,t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.status}),t.jsx(_,{children:v!=="bank_statement"?t.jsx(jt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:$}):t.jsx(St,{uploadInProgress:k,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.accountType}),t.jsx(_,{children:t.jsx(kt,{accountSubType:G(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.lastUpdated}),t.jsx(_,{children:t.jsx(Z,{isLoading:k,customStyle:{height:"20px",width:"100px"},position:"left",children:y!=null?t.jsx(j,{children:G(y.utc(!0).fromNow())}):p.strings.hyphen})})]})]})]})]})},gt=({selectedSourceType:e})=>t.jsxs(ct,{children:[e==null||e==="plaid"?t.jsx(ie,{}):t.jsx(ae,{}),t.jsx(it,{children:e==null||e==="plaid"?i.reconciliation.menu.bankConnection:i.reconciliation.menu.statement}),t.jsx(at,{})]}),jt=({status:e,connectionInProgress:n,onConnectClick:l,onReconnectClick:u})=>n?t.jsx(W,{children:i.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(W,{children:[t.jsx(dt,{}),t.jsx(ht,{children:i.reconciliation.drawer.values.connected})]}):t.jsx(W,{onClick:e==="reconnect"?u:l,children:t.jsx(mt,{status:e,children:e==="reconnect"?i.reconciliation.drawer.values.reconnect:i.reconciliation.drawer.values.connect})}),St=({status:e,uploadInProgress:n})=>n?t.jsx(Z,{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:i.reconciliation.drawer.values.statementParsing}):e==="validated"?t.jsx(j,{children:i.reconciliation.drawer.values.uploaded}):t.jsx(j,{children:p.strings.hyphen}),$t=({variance:e,variancePercentage:n,reconciliationStatusCode:l})=>{const u=Ee(),{varianceColor:x,variancePercentageColor:S,variancePercentageContainerColor:$}=Le(u,e,l,!0);return t.jsxs(Ze,{children:[t.jsx(nt,{textColor:x,children:Pe("0,0",e)??p.strings.hyphen}),t.jsxs(ot,{textColor:S,bgColor:$,children:[n!=null?n===0?"0":n.toFixed(2):null,n!=null?p.strings.percentage:null]})]})},kt=({accountSubType:e})=>{const n=e!=null?e.replace("_"," "):p.strings.hyphen;return t.jsx(j,{children:n})},bt=({monthYearPeriod:e})=>t.jsx(ce,{children:vt(e)}),vt=e=>{const{month:n,year:l}=e,u=oe(`${l}-${String(n).padStart(2,"0")}-01`);let x=u.endOf("month");return`${u.format(J.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${x.format(J.visual.DMMMYYYYFormat)}`},K=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{Bt as default,ft as uniqueName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,
|
|
1
|
+
import{V as t,aO as E,bU as f,o,aQ as y,aa as se,dP as re,F as le,al as b,dQ as de,p as g,dR as X,dS as Y,d1 as ue,aW as x,ai as Z,u as p,J as xe,e as S,b0 as pe,dw as he,an as ge,i as me,am as I,bL as fe,dI as je}from"./index-BJwUmr6X.js";import{a as ye}from"./sentry-Dozbf0xW.js";import{n as a,c as be}from"./mui-BPiKl8lE.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="dc55a7be-c2db-4b7e-9ffe-17b3328abde0",e._sentryDebugIdIdentifier="sentry-dbid-dc55a7be-c2db-4b7e-9ffe-17b3328abde0")}catch{}})();const we=a.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
${e=>e.showTreeLine===!0&&e.collapsed!==!0?`&::after {
|
|
4
4
|
content: "";
|
|
@@ -38,7 +38,7 @@ import{V as t,aN as E,bT as f,o,aP as y,aa as se,dN as re,F as le,al as w,dO as
|
|
|
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($e,{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;
|
|
@@ -52,7 +52,7 @@ import{V as t,aN as E,bT as f,o,aP as y,aa as se,dN as re,F as le,al as w,dO as
|
|
|
52
52
|
flex: 1 1 auto;
|
|
53
53
|
height: 1px;
|
|
54
54
|
width: 100%;
|
|
55
|
-
`;function
|
|
55
|
+
`;function Pe({kind:e,isScrolling:n}){switch(e){case"section_separator":return t.jsx(Ee,{isScrolling:n});case"account_separator":return t.jsx(We,{"data-testid":y("account-separator",e)})}}const We=()=>t.jsx(Se,{children:t.jsx(Ie,{className:"part-separator"})}),u={timeframeHeight:p[10],leftHeadingWidth:386,leftTimeframeWidth:161,leftLabelWidth:190,bankBalanceWidth:152,bankBalanceTimeframeWidth:150,bankBalanceRightWidth:p[4],bankBalanceRightTimeframeWidth:p[4],clearedBalanceWidth:144,clearedBalanceTimeframeWidth:142,varianceWidth:193,varianceTimeframeWidth:180,varianceNumberWidth:112,varianceNumberLoadingWidth:130,variancePercentageWidth:p[10],statusWidth:144,statusTimeframeWidth:142,tickLeftMargin:p[4],circleRadius:p[4],spacerLineWidth:p[5],wrapperPadding:p[8]};function Wt(e){switch(e){case"timeframe_headers":return p[12];case"title_string_only":return p[8];case"ac_group_report":return p[8];case"total":return p[8];case"section":return p[0];case"loading_in_progress":return p[8];default:return p[0]}}function Lt(){return!0}const Le=a.div`
|
|
56
56
|
display: flex;
|
|
57
57
|
flex-direction: column;
|
|
58
58
|
height: ${e=>e.heightValue}px;
|
|
@@ -64,7 +64,7 @@ import{V as t,aN as E,bT as f,o,aP as y,aa as se,dN as re,F as le,al as w,dO as
|
|
|
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?be`
|
|
68
68
|
color: ${e.theme.colors.primary};
|
|
69
69
|
`:null}
|
|
70
70
|
}
|
|
@@ -108,7 +108,7 @@ import{V as t,aN as E,bT as f,o,aP as y,aa as se,dN as re,F as le,al as w,dO as
|
|
|
108
108
|
align-items: center;
|
|
109
109
|
gap: ${o.sp1};
|
|
110
110
|
margin-top: ${o.sp1};
|
|
111
|
-
`,
|
|
111
|
+
`,Ae=a(b)`
|
|
112
112
|
user-select: none;
|
|
113
113
|
clear: both;
|
|
114
114
|
display: inline-block;
|
|
@@ -119,24 +119,24 @@ import{V as t,aN as E,bT as f,o,aP as y,aa as se,dN as re,F as le,al as w,dO as
|
|
|
119
119
|
color: ${e=>e.theme.colors.hero};
|
|
120
120
|
width: ${u.leftLabelWidth}px;
|
|
121
121
|
min-width: ${u.leftLabelWidth}px;
|
|
122
|
-
`,
|
|
122
|
+
`,Ve=a.div`
|
|
123
123
|
display: flex;
|
|
124
124
|
flex: 1 1 auto;
|
|
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(b)`
|
|
129
129
|
width: ${u.bankBalanceWidth}px;
|
|
130
130
|
min-width: ${u.bankBalanceWidth}px;
|
|
131
131
|
text-align: right;
|
|
132
|
-
`,
|
|
132
|
+
`,Qe=a.div`
|
|
133
133
|
width: ${u.bankBalanceRightWidth}px;
|
|
134
134
|
min-width: ${u.bankBalanceRightWidth}px;
|
|
135
|
-
`,
|
|
135
|
+
`,Ue=a(b)`
|
|
136
136
|
width: ${u.clearedBalanceWidth}px;
|
|
137
137
|
min-width: ${u.clearedBalanceWidth}px;
|
|
138
138
|
text-align: right;
|
|
139
|
-
`,
|
|
139
|
+
`,Fe=a(b)`
|
|
140
140
|
width: ${u.statusWidth}px;
|
|
141
141
|
min-width: ${u.statusWidth}px;
|
|
142
142
|
height: 1px;
|
|
@@ -144,18 +144,18 @@ import{V as t,aN as E,bT as f,o,aP as y,aa as se,dN as re,F as le,al as w,dO as
|
|
|
144
144
|
align-items: center;
|
|
145
145
|
justify-content: center;
|
|
146
146
|
height: 100%;
|
|
147
|
-
`,
|
|
147
|
+
`,Me=a.div`
|
|
148
148
|
display: flex;
|
|
149
149
|
flex-direction: row;
|
|
150
150
|
min-width: ${u.spacerLineWidth}px;
|
|
151
151
|
width: ${u.spacerLineWidth}px;
|
|
152
152
|
align-items: center;
|
|
153
|
-
`,
|
|
153
|
+
`,He=a.div`
|
|
154
154
|
width: 1px;
|
|
155
155
|
margin-left: ${o.sp3};
|
|
156
156
|
height: ${e=>e.heightValue}px;
|
|
157
157
|
background-color: ${e=>e.theme.colors.grey3};
|
|
158
|
-
`,
|
|
158
|
+
`,ze=a.div`
|
|
159
159
|
display: flex;
|
|
160
160
|
flex-shrink: 0;
|
|
161
161
|
width: ${u.varianceTimeframeWidth}px;
|
|
@@ -166,12 +166,12 @@ import{V as t,aN as E,bT as f,o,aP as y,aa as se,dN as re,F as le,al as w,dO as
|
|
|
166
166
|
text-align: center;
|
|
167
167
|
gap: ${o.sp2};
|
|
168
168
|
margin-left: ${u.tickLeftMargin}px;
|
|
169
|
-
`,qe=a(
|
|
169
|
+
`,qe=a(b)`
|
|
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(b)`
|
|
175
175
|
border-radius: ${o.sp1};
|
|
176
176
|
padding: ${o.sp0} ${o.sp1};
|
|
177
177
|
justify-content: center;
|
|
@@ -179,7 +179,7 @@ import{V as t,aN as E,bT as f,o,aP as y,aa as se,dN as re,F as le,al as w,dO as
|
|
|
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;
|
|
@@ -194,13 +194,13 @@ import{V as t,aN as E,bT as f,o,aP as y,aa as se,dN as re,F as le,al as w,dO as
|
|
|
194
194
|
gap: ${o.sp1};
|
|
195
195
|
`,Ye=a(I)`
|
|
196
196
|
color: ${g.success};
|
|
197
|
-
`,
|
|
197
|
+
`,G=a(I)`
|
|
198
198
|
color: ${g.success};
|
|
199
199
|
`,Ze=a(je)`
|
|
200
200
|
width: ${o.sp3};
|
|
201
201
|
height: ${o.sp3};
|
|
202
202
|
color: ${g.success};
|
|
203
|
-
`,C=a(
|
|
203
|
+
`,C=a(b)`
|
|
204
204
|
text-align: right;
|
|
205
205
|
`,et=a.div`
|
|
206
206
|
display: flex;
|
|
@@ -210,7 +210,7 @@ import{V as t,aN as E,bT as f,o,aP as y,aa as se,dN as re,F as le,al as w,dO as
|
|
|
210
210
|
`,tt=a(ue)`
|
|
211
211
|
width: ${o.sp3};
|
|
212
212
|
height: ${o.sp3};
|
|
213
|
-
`,nt=a(
|
|
213
|
+
`,nt=a(b)`
|
|
214
214
|
text-align: right;
|
|
215
215
|
color: ${g.important};
|
|
216
216
|
cursor: pointer;
|
|
@@ -233,34 +233,34 @@ import{V as t,aN as E,bT as f,o,aP as y,aa as se,dN as re,F as le,al as w,dO as
|
|
|
233
233
|
`,ct=a(de)`
|
|
234
234
|
width: ${o.sp3};
|
|
235
235
|
height: ${o.sp3};
|
|
236
|
-
`,
|
|
236
|
+
`,V=a(fe)`
|
|
237
237
|
width: 12px;
|
|
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
|
`,O=a.div`
|
|
245
245
|
display: flex;
|
|
246
246
|
flex-direction: column;
|
|
247
247
|
align-items: center;
|
|
248
|
-
`,K=a(
|
|
248
|
+
`,K=a(b)`
|
|
249
249
|
color: ${e=>e.theme.colors.hero};
|
|
250
|
-
`,
|
|
250
|
+
`,Q=a.div`
|
|
251
251
|
display: flex;
|
|
252
252
|
flex-direction: row;
|
|
253
253
|
align-items: center;
|
|
254
254
|
gap: ${o.sp1};
|
|
255
|
-
`,
|
|
255
|
+
`,U=a(I)`
|
|
256
256
|
color: ${e=>e.textColor.hex()};
|
|
257
|
-
`,
|
|
257
|
+
`,F=a(I)`
|
|
258
258
|
color: ${e=>e.textColor.hex()};
|
|
259
|
-
`,
|
|
259
|
+
`,M=a.div`
|
|
260
260
|
display: flex;
|
|
261
261
|
flex-direction: row;
|
|
262
262
|
align-items: center;
|
|
263
|
-
`,
|
|
263
|
+
`,H=a.div`
|
|
264
264
|
display: flex;
|
|
265
265
|
flex-direction: column;
|
|
266
266
|
align-items: center;
|
|
@@ -295,4 +295,4 @@ import{V as t,aN as E,bT as f,o,aP as y,aa as se,dN as re,F as le,al as w,dO as
|
|
|
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}}}=le.getLocalizedStrings();function _t({height:e,accountRecon:n,isLastRow:i,isSelectedRow:c,onReviewClicked:l,onOpenDrawerClicked:d,onConnectClicked:r,onReconnectClicked:m,onStatementAddClicked:k}){const W=xe(),B=S(),v=n.accountReconEntity.account.accountName,P=n.accountReconEntity.balance,j=n.accountReconEntity.clearedBalance,N=n.accountReconEntity.variance,ne=n.accountReconEntity.variancePercentage,oe=()=>{r?.(n.accountReconEntity.account.accountId)},ae=()=>{m?.(n.accountReconEntity.account.accountId)},ie=()=>{k?.(n.accountReconEntity.account.accountId)},H=()=>{l?.(n.accountReconEntity.account.accountId)},[ce,D]=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 G=e;return i&&(G=e+p[8]),t.jsxs(Le,{"data-testid":y("account-recon-row-root-container",n.accountReconEntity.account.accountName),heightValue:G,isLastRow:i,windowSize:W,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:v.charAt(0),color:new x(B.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(Ve,{className:"any-text-container",children:v})})})]}),t.jsxs(Ae,{children:[t.jsx(Oe,{children:t.jsx(wt,{accountType:n.accountReconEntity.account.accountType,lastUpdatedAt:n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt,setIsHovering:D,statementStatus:n.accountReconEntity.statementStatus.code,accountId:n.accountReconEntity.account.accountId,bankBalance:P,bankConnection:n.accountConnectionStatus,onConnectClicked:oe,onStatementAddClicked:ie,isLoading:T,onReconnectClicked:ae})}),t.jsx(Fe,{children:t.jsx(kt,{statementStatus:n.accountReconEntity.statementStatus.code,statementParseInProgress:n.statementParseInProgress,connectionInProgress:n.connectionInProgress,bankStatusCode:n.accountConnectionStatus})}),t.jsx(Me,{children:t.jsx(bt,{clearedBalance:j,isLoading:T})}),t.jsx(mt,{isLoading:T,variance:N,variancePercentage:ne,reconciliationStatusCode:n.accountReconEntity.reconciliationStatus?.code}),t.jsx(Ue,{children:t.jsx(ze,{heightValue:e})}),t.jsx(Qe,{onMouseEnter:()=>{D(!0)},onMouseLeave:()=>{D(!1)},children:q==="plaid"?t.jsx(jt,{accountRecon:n,isLoading:T,onReviewClicked:H}):t.jsx(yt,{accountRecon:n,isLoading:T,onReviewClicked:H})})]})]}),t.jsx(We,{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),k=c?h:e!=null&&e.amount===0?"0%":n!=null?n===0?"0%":`${n.toFixed(2)}${gt}`:h;return t.jsxs(He,{children:[t.jsx(qe,{textColor:d,className:"any-text-container",children:e==null||c?h:E("0,0",e)}),t.jsx(Ge,{textColor:r,bgColor:m,className:"any-text-container",children:k})]})},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($t,{status:m,tooltipText:r})}if(l==="reconnect"||l==="not_connected")return t.jsx(V,{tooltipText:r,showTooltip:d!=null});if(c==null&&l==="connected"&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(L,{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(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});case"reconciled":return t.jsx(_,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"in_progress":return t.jsx(te,{tooltipText:r});case"failed":return t.jsx(ee,{tooltipText:r});case"reconciled_on_qbo":return t.jsx(_,{isQBO:!0,tooltipText:r});default:return null}else return t.jsx(V,{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(L,{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(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});case"reconciled":return t.jsx(_,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"reconciled_on_qbo":return t.jsx(_,{isQBO:!0,tooltipText:r});case"in_progress":return t.jsx(te,{tooltipText:r});case"failed":return t.jsx(ee,{tooltipText:r});default:return null}else return t.jsx(V,{showTooltip:d!=null,tooltipText:r})},L=({buttonLabel:e,isDisabled:n,tooltipText:i,dataTestId:c,onClick:l})=>t.jsx(f,{title:t.jsx($,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(Je,{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()}})})}),_=({user:e,isQBO:n,tooltipText:i})=>t.jsx(f,{title:t.jsx($,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(Ke,{children:[t.jsxs(Xe,{children:[t.jsx(Ze,{}),t.jsx(Ye,{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,accountType:n,bankConnection:i,statementStatus:c,lastUpdatedAt:l,fromDrawer:d=!1,onConnectClicked:r,onReconnectClicked:m,isLoading:k,accountId:W,onStatementAddClicked:B,setIsHovering:v})=>{const P=Tt(n);if(d===!0)return t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h});if(k===!0)return t.jsx(C,{className:"any-text-container",children:h});if(i==="reconnect"){const j=l!=null?`${l.utc(!0).fromNow()}`:h;return t.jsxs(ot,{children:[t.jsxs(at,{children:[t.jsx(it,{children:t.jsx(f,{title:t.jsx($,{tooltipText:j}),placement:"bottom",style:{padding:`2px ${o.sp2}`},children:t.jsx(ct,{})})}),t.jsx(C,{className:"any-text-container",children:e!=null?E("0,0",e):h})]}),t.jsx(nt,{"data-testid":y("account-reconciliation-reconnect-button",W),onClick:N=>{N.stopPropagation(),m?.()},children:s.connect.reconnnect})]})}else return i==="connected"||c==="uploaded"?t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(et,{"data-testid":y("account-reconciliation-connect-button",W),onMouseEnter:()=>{v(!0)},onMouseLeave:()=>{v(!1)},children:t.jsx(se,{controller:P.length>0,children:t.jsx(f,{title:s.tooltips.selectSource,style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(re,{moreIconType:"custom",customIcon:t.jsx(tt,{}),options:P,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"?r?.():j==="statement"&&B?.()},valueToIcon:j=>j==="bank_connection"?t.jsx(ut,{}):j==="statement"?t.jsx(pt,{}):null})})})})},bt=({clearedBalance:e,isLoading:n})=>e!=null&&n===!1?t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(C,{className:"any-text-container",children:h}),ee=({tooltipText:e})=>{const n=new x(g.important);return t.jsx(f,{title:t.jsx($,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(b,{children:t.jsxs(O,{children:[t.jsx(A,{iconColor:n}),t.jsx(F,{children:t.jsx(M,{textColor:n,children:s.status.reconciliationFailed})}),t.jsx(U,{children:t.jsx(Q,{textColor:n,children:s.status.reconcileViaQBO})})]})})})},$t=({status:e,tooltipText:n})=>{const i=new x(g.brandColorGoldDark);return t.jsx(f,{title:t.jsx($,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(b,{children:[t.jsx(A,{iconColor:i}),t.jsxs(O,{children:[t.jsx(F,{children:t.jsx(M,{textColor:i,children:e})}),t.jsx(U,{children:t.jsx(Q,{textColor:i,children:s.status.reconcileViaQBO})})]})]})})},te=({tooltipText:e})=>{const n=S(),i=new x(n.colors.grey1);return t.jsx(f,{title:t.jsx($,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(b,{children:t.jsxs(z,{children:[t.jsx(R,{textColor:i,children:s.status.autoReconInProgress}),t.jsx(R,{textColor:i,children:s.status.isInProgress})]})})})},vt=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx(b,{children:t.jsxs(z,{children:[t.jsx(R,{textColor:n,children:s.status.balanceSyncInProgress}),t.jsx(R,{textColor:n,children:s.status.isInProgress})]})})},Ct=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx(b,{children:t.jsxs(z,{children:[t.jsx(R,{textColor:n,children:s.status.statementSyncInProgress}),t.jsx(R,{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($,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(b,{children:[t.jsx(A,{iconColor:c}),t.jsxs(O,{children:[t.jsx(F,{children:t.jsx(M,{textColor:c,children:l})}),t.jsx(U,{children:t.jsx(Q,{textColor:c,children:s.status.failed})})]})]})})},V=({showTooltip:e,tooltipText:n})=>e==!1?t.jsx(b,{children:t.jsx(K,{children:h})}):t.jsx(f,{title:t.jsx($,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(b,{children:t.jsx(K,{children:h})})}),$=({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(e){const n=[];return e!=null&&e==="bank"&&n.push({label:s.menu.bankConnection,value:"bank_connection"}),n.push({label:s.menu.statement,value:"statement"}),n}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,Lt as D,Et as E,Pt as N,_t as R,ft as f,u,bt as w};
|
|
298
|
+
`,{expenseAutomation:{accountRecon:{reconciliation:s}},common:{strings:{hyphen:h,percentage:gt}}}=le.getLocalizedStrings();function _t({height:e,accountRecon:n,isLastRow:i,isSelectedRow:c,onReviewClicked:l,onOpenDrawerClicked:d,onConnectClicked:r,onReconnectClicked:m,onStatementAddClicked:k}){const P=xe(),B=S(),v=n.accountReconEntity.account.accountName,W=n.accountReconEntity.balance,j=n.accountReconEntity.clearedBalance,N=n.accountReconEntity.variance,ne=n.accountReconEntity.variancePercentage,oe=()=>{r?.(n.accountReconEntity.account.accountId)},ae=()=>{m?.(n.accountReconEntity.account.accountId)},ie=()=>{k?.(n.accountReconEntity.account.accountId)},z=()=>{l?.(n.accountReconEntity.account.accountId)},[ce,D]=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 J=e;return i&&(J=e+p[8]),t.jsxs(Le,{"data-testid":y("account-recon-row-root-container",n.accountReconEntity.account.accountName),heightValue:J,isLastRow:i,windowSize:P,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:v.charAt(0),color:new x(B.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(Ve,{children:[t.jsx(Oe,{children:t.jsx(bt,{accountType:n.accountReconEntity.account.accountType,lastUpdatedAt:n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt,setIsHovering:D,statementStatus:n.accountReconEntity.statementStatus.code,accountId:n.accountReconEntity.account.accountId,bankBalance:W,bankConnection:n.accountConnectionStatus,onConnectClicked:oe,onStatementAddClicked:ie,isLoading:T,onReconnectClicked:ae})}),t.jsx(Qe,{children:t.jsx(kt,{statementStatus:n.accountReconEntity.statementStatus.code,statementParseInProgress:n.statementParseInProgress,connectionInProgress:n.connectionInProgress,bankStatusCode:n.accountConnectionStatus})}),t.jsx(Ue,{children:t.jsx(wt,{clearedBalance:j,isLoading:T})}),t.jsx(mt,{isLoading:T,variance:N,variancePercentage:ne,reconciliationStatusCode:n.accountReconEntity.reconciliationStatus?.code}),t.jsx(Me,{children:t.jsx(He,{heightValue:e})}),t.jsx(Fe,{onMouseEnter:()=>{D(!0)},onMouseLeave:()=>{D(!1)},children:q==="plaid"?t.jsx(jt,{accountRecon:n,isLoading:T,onReviewClicked:z}):t.jsx(yt,{accountRecon:n,isLoading:T,onReviewClicked:z})})]})]}),t.jsx(Pe,{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),k=c?h:e!=null&&e.amount===0?"0%":n!=null?n===0?"0%":`${n.toFixed(2)}${gt}`:h;return t.jsxs(ze,{children:[t.jsx(qe,{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:k})]})},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($t,{status:m,tooltipText:r})}if(l==="reconnect"||l==="not_connected")return t.jsx(A,{tooltipText:r,showTooltip:d!=null});if(c==null&&l==="connected"&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(L,{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(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});case"reconciled":return t.jsx(_,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"in_progress":return t.jsx(te,{tooltipText:r});case"failed":return t.jsx(ee,{tooltipText:r});case"reconciled_on_qbo":return t.jsx(_,{isQBO:!0,tooltipText:r});default:return null}else return t.jsx(A,{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(L,{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(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});case"reconciled":return t.jsx(_,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"reconciled_on_qbo":return t.jsx(_,{isQBO:!0,tooltipText:r});case"in_progress":return t.jsx(te,{tooltipText:r});case"failed":return t.jsx(ee,{tooltipText:r});default:return null}else return t.jsx(A,{showTooltip:d!=null,tooltipText:r})},L=({buttonLabel:e,isDisabled:n,tooltipText:i,dataTestId:c,onClick:l})=>t.jsx(f,{title:t.jsx($,{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()}})})}),_=({user:e,isQBO:n,tooltipText:i})=>t.jsx(f,{title:t.jsx($,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(Ke,{children:[t.jsxs(Xe,{children:[t.jsx(Ze,{}),t.jsx(Ye,{children:n?s.status.reconciledVia:s.status.reconciledBy})]}),n?t.jsx(G,{children:s.status.QBOUser}):e&&t.jsxs(G,{children:[e.firstName," ",e.lastName]})]})}),bt=({bankBalance:e,accountType:n,bankConnection:i,statementStatus:c,lastUpdatedAt:l,fromDrawer:d=!1,onConnectClicked:r,onReconnectClicked:m,isLoading:k,accountId:P,onStatementAddClicked:B,setIsHovering:v})=>{const W=Tt(n);if(d===!0)return t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h});if(k===!0)return t.jsx(C,{className:"any-text-container",children:h});if(i==="reconnect"){const j=l!=null?`${l.utc(!0).fromNow()}`:h;return t.jsxs(ot,{children:[t.jsxs(at,{children:[t.jsx(it,{children:t.jsx(f,{title:t.jsx($,{tooltipText:j}),placement:"bottom",style:{padding:`2px ${o.sp2}`},children:t.jsx(ct,{})})}),t.jsx(C,{className:"any-text-container",children:e!=null?E("0,0",e):h})]}),t.jsx(nt,{"data-testid":y("account-reconciliation-reconnect-button",P),onClick:N=>{N.stopPropagation(),m?.()},children:s.connect.reconnnect})]})}else return i==="connected"||c==="uploaded"?t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(et,{"data-testid":y("account-reconciliation-connect-button",P),onMouseEnter:()=>{v(!0)},onMouseLeave:()=>{v(!1)},children:t.jsx(se,{controller:W.length>0,children:t.jsx(f,{title:s.tooltips.selectSource,style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(re,{moreIconType:"custom",customIcon:t.jsx(tt,{}),options:W,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"?r?.():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(C,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(C,{className:"any-text-container",children:h}),ee=({tooltipText:e})=>{const n=new x(g.important);return t.jsx(f,{title:t.jsx($,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(w,{children:t.jsxs(O,{children:[t.jsx(V,{iconColor:n}),t.jsx(Q,{children:t.jsx(U,{textColor:n,children:s.status.reconciliationFailed})}),t.jsx(M,{children:t.jsx(F,{textColor:n,children:s.status.reconcileViaQBO})})]})})})},$t=({status:e,tooltipText:n})=>{const i=new x(g.brandColorGoldDark);return t.jsx(f,{title:t.jsx($,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(w,{children:[t.jsx(V,{iconColor:i}),t.jsxs(O,{children:[t.jsx(Q,{children:t.jsx(U,{textColor:i,children:e})}),t.jsx(M,{children:t.jsx(F,{textColor:i,children:s.status.reconcileViaQBO})})]})]})})},te=({tooltipText:e})=>{const n=S(),i=new x(n.colors.grey1);return t.jsx(f,{title:t.jsx($,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(w,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:i,children:s.status.autoReconInProgress}),t.jsx(R,{textColor:i,children:s.status.isInProgress})]})})})},vt=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx(w,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:n,children:s.status.balanceSyncInProgress}),t.jsx(R,{textColor:n,children:s.status.isInProgress})]})})},Ct=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx(w,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:n,children:s.status.statementSyncInProgress}),t.jsx(R,{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($,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(w,{children:[t.jsx(V,{iconColor:c}),t.jsxs(O,{children:[t.jsx(Q,{children:t.jsx(U,{textColor:c,children:l})}),t.jsx(M,{children:t.jsx(F,{textColor:c,children:s.status.failed})})]})]})})},A=({showTooltip:e,tooltipText:n})=>e==!1?t.jsx(w,{children:t.jsx(K,{children:h})}):t.jsx(f,{title:t.jsx($,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(w,{children:t.jsx(K,{children:h})})}),$=({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(e){const n=[];return e!=null&&e==="bank"&&n.push({label:s.menu.bankConnection,value:"bank_connection"}),n.push({label:s.menu.statement,value:"statement"}),n}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,bt as C,Lt as D,Et as E,Wt as N,_t as R,ft as f,u,wt as w};
|