@zeniai/web-cockpit-ui 1.15.41-qa → 1.15.42-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-DF16gWgj-Hpn_gqDU.js +21 -0
- package/dist/assets/{AIPerformancePage-PNdYt7zU-CCfuxILG.js → AIPerformancePage-C4vz8N43-CRGg0PbR.js} +41 -41
- package/dist/assets/AccountInfoPage-BEfWt7FF-DKS41VFv.js +18 -0
- package/dist/assets/{AccountInfoPageContent-ByDC4GDX-Dqc4SPDG.js → AccountInfoPageContent-ChU5cJoQ-D9IyZyne.js} +20 -20
- package/dist/assets/AccountLockedInfoModal-nR2S2Zp3-D-cVlgUn.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-C3eByWLq-C6RBkRVB.js → AccountReconDetailsDrawerPage-CX_r0vhF-C1q9rEkK.js} +49 -49
- package/dist/assets/{AccountRow-H8lG1wjG-BENCFocK.js → AccountRow-sz0SNySJ-PMcRks2g.js} +20 -20
- package/dist/assets/{AccountsPromoCardStack-DACW0OlS-D7dbT3SC.js → AccountsPromoCardStack-B7XZ57f9-CVIKbG9H.js} +26 -26
- package/dist/assets/AddAddressForCardDrawer-BJ-fZGjY-BgqrlNw3.js +6 -0
- package/dist/assets/{AddToWalletPage-CXsdXmY4-DqUKB32H.js → AddToWalletPage-DGRSRVWe-CKFgsCEX.js} +22 -22
- package/dist/assets/{AgingReportsPage-G-3_Pd0O-DSzSGoMU.js → AgingReportsPage-DMExghvs-CycrXnxr.js} +4 -4
- package/dist/assets/{AllUserItems-C87o610O-C4ngO1W2.js → AllUserItems-DryGxINS-Dfji-7g8.js} +9 -9
- package/dist/assets/ApAgingDetailPage-DGx58n1N-BTsjh3-_.js +46 -0
- package/dist/assets/{AppBasePage-CVtUuOcc-D8Jp442P.js → AppBasePage-CNTgjZKQ-wPJItjxh.js} +7 -7
- package/dist/assets/{AppDrawerContent-f9CovWwx-CRmwucEK.js → AppDrawerContent-BWPrhBXi-xs-4ykwH.js} +5 -5
- package/dist/assets/{ApprovalRulesSettingsPage-MV9MWn1n-B_Gy9F2m.js → ApprovalRulesSettingsPage-d_j1Of5B-Drv5uoVo.js} +3 -3
- package/dist/assets/{ArAgingChart-Bn1ne5TY-gOLToFjY.js → ArAgingChart-OG8ATXHG-BPTtTowJ.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-LrJ7ab5--DpGQFGj1.js → ArAgingDetailPage-BPgtjmm2-3KI_6Cxg.js} +1 -1
- package/dist/assets/{AttachmentView-40S92NKz-O72HtTZp.js → AttachmentView-DTHxVIEf-OlbTumHp.js} +8 -8
- package/dist/assets/{BankAccountSection-BqHvCCIV-cPbSA8Xj.js → BankAccountSection-CJlVvGHg-BpmPk2BK.js} +3 -3
- package/dist/assets/{BankAccountWarningSection-BhYGVsUP-Bgxn65RB.js → BankAccountWarningSection-DVVX_lU2-YGd3zWAN.js} +4 -4
- package/dist/assets/{BankConnectionsSettingsPage-DXdPI9zA-DT9EhfPP.js → BankConnectionsSettingsPage-tN8-HD1P-CjUFfCmd.js} +25 -25
- package/dist/assets/BillDetailPage-Bm_TJJ2g-zy6sbh4h.js +266 -0
- package/dist/assets/{BillPayApprovalRuleDetailPage-CfqhwDf0-DCyv7vx2.js → BillPayApprovalRuleDetailPage-DtdRRgcR-CI7_XiGE.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-BYFmAM12-pZa4t15e.js → BillPayApprovalRulesPage-D7pP_-16-BPbHVQJF.js} +13 -13
- package/dist/assets/BillPayPromoPage-BEUu8_p_-CdxN39Ja.js +84 -0
- package/dist/assets/{BillPaySetUpPage-DWl8Zqs1-uZakaQ8Q.js → BillPaySetUpPage-BhUjqdEO-D4O_Ti0B.js} +4 -4
- package/dist/assets/BillingSettingsPage-BPRhivDv-C05om7fp.js +44 -0
- package/dist/assets/BillsBulkReviewDrawerPage-CKS2cRrv-BkJLG09t.js +1 -0
- package/dist/assets/{BoxItem-Ce8JhxRe-M9xWkSbH.js → BoxItem-BeIteKFb-Ib8SQzK0.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-DBUiYheW-CjRSQJ04.js → BusinessVerificationPage-Djw-kSvA-C_VqSsA_.js} +6 -6
- package/dist/assets/{CardNumberSubText-1VICaGZC-D3RqCdk-.js → CardNumberSubText-D7w7pNlf-px0UUmwV.js} +1 -1
- package/dist/assets/{CashbackDetailPage-D9MFQhkK-DId8X-0z.js → CashbackDetailPage-DiEz5YX_-8CUn3oj8.js} +18 -18
- package/dist/assets/{ChargeCardDetailPage-DPLktTU0-D-hVAQ2P.js → ChargeCardDetailPage-46d4rGgi-C8VEOYGw.js} +53 -53
- package/dist/assets/{ChargeCardListPage-PJbJVy9B-C7swXn1_.js → ChargeCardListPage-DQgEFDxx-CRF2CXoG.js} +16 -16
- package/dist/assets/{ChargeCardListTable-B7Jltqnn-lu4L-KiX.js → ChargeCardListTable-CAdFvZrg-ZDs6pP1D.js} +30 -30
- package/dist/assets/{ChargeCardPaymentHistoryPage-CY9nng7V-DMOUwpBt.js → ChargeCardPaymentHistoryPage-BVFfqwea-BY1rljaa.js} +36 -36
- package/dist/assets/{ChargeCardPromoPage-CQJ-q6d9-CAZVMp3A.js → ChargeCardPromoPage-N1x7DoZ4-C2G2NFcL.js} +25 -25
- package/dist/assets/{ChargeCardSetupPage-BjYXhI41-1PD6oZTx.js → ChargeCardSetupPage-DjoSNPoV-B95V0M5O.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-BJhMyv01-C4iLvalo.js → ChargeCardStatementsPage-CKWgdycu-Bzkf2xU2.js} +5 -5
- package/dist/assets/{CheckDepositDrawerPage-BDUc5zew-CPIt8X_J.js → CheckDepositDrawerPage-C6eutpsP-BJgM-nd0.js} +8 -8
- package/dist/assets/{CollapsableReportTable-CRZijlLw-DrP1MH6t.js → CollapsableReportTable-DQitA-HH-D-ytul6z.js} +86 -86
- package/dist/assets/{CompanyOfficerDetailsSection-DBN5fsfV-BQ3P2-gb.js → CompanyOfficerDetailsSection-BusB8QML-ByGBO89M.js} +15 -15
- package/dist/assets/{CompanyPassportCard-DY-UpT4X-C4b0dPrE.js → CompanyPassportCard-Dwq6U23E-Dff0N9f5.js} +2 -2
- package/dist/assets/{CompanyPassportPage-B0lEp15Z-1i_bghIC.js → CompanyPassportPage-a7p7-Yf7-BH2Ltdk_.js} +23 -23
- package/dist/assets/{CompleteProfile-DkXUTjrQ-Db_nzBJO.js → CompleteProfile-Be83xc7S-DF09SnKJ.js} +1 -1
- package/dist/assets/ConfettiBurst-BGpaNgtO-BA4--k5u.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-CfTvgjDM.js → ConstrainedInnerElement-BeIpAPjB-B_QUqBfd.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-hAG6iJks-lkeljyMv.js → CreateOrEditVendorPage-CNOoNMGf-xbewlduj.js} +19 -19
- package/dist/assets/{CreditCardPaymentDrawerPage-CLche8ye-C_34ZvNa.js → CreditCardPaymentDrawerPage-BJFiaA8N-y9d5BoI2.js} +14 -14
- package/dist/assets/{CurrencySelectField-Cps-E4RZ-d5qF8fSQ.js → CurrencySelectField-QL-EZiuT-_bjNCxiF.js} +4 -4
- package/dist/assets/{CustomerOnboardingActivationPage-B8EI1b3X-Dj6Y4Uh4.js → CustomerOnboardingActivationPage-ChFLc-Bh-CMWmLAhY.js} +6 -6
- package/dist/assets/CustomerOnboardingContainerPage-CiWilmvy-BSdTk0pn.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-Cjdz022F-BQzlWrkT.js → CustomerOnboardingDetailPageSkeleton-ByAYHyM5-BTUKD21M.js} +11 -11
- package/dist/assets/{CustomerOnboardingNoStepsPage-BM3Ty0A--DIbMLpTU.js → CustomerOnboardingNoStepsPage-CJlf2BxW-CHRKjivu.js} +4 -4
- package/dist/assets/{CustomerOnboardingPage-D4cNTYTi-C42KbQXa.js → CustomerOnboardingPage-CZpYM2Um-DmldBx57.js} +14 -14
- package/dist/assets/{CustomerOnboardingProductSuitePage-BRg-6X__-DdNSpQ-6.js → CustomerOnboardingProductSuitePage-Bua-efZZ-DTLtNPox.js} +3 -3
- package/dist/assets/{Dashboard-hAvH2Ujo-B6IP_j2j.js → Dashboard-Bo3YLWim-DCvqfujn.js} +66 -66
- package/dist/assets/{DashboardReportPage-BnsfrJs5-BPhqM0F_.js → DashboardReportPage-DxLBSScH-DzuVjp6S.js} +10 -10
- package/dist/assets/{DashboardSidebarBackgroundAnimation-CD-912fm-Dh1jPxOd.js → DashboardSidebarBackgroundAnimation-D9jy0E3J-CnJYb7sN.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-BSjRIT76-BTmXhvMG.js → DepositAccTransactionItem-BUSuSCOR-65UinRer.js} +4 -4
- package/dist/assets/{DepositAccTransactionListPage-CMHZmCaF-BFddyBE8.js → DepositAccTransactionListPage-CIDmP_Ig-B_Y_F7VT.js} +9 -9
- package/dist/assets/{DomesticWireDetailsPage-B7IcmJ5S-CtbOrFFy.js → DomesticWireDetailsPage-1JafGpxq-uSG1nT_5.js} +1 -1
- package/dist/assets/{DownloadOverlay-DLdu2VQ3-KjQqw4XR.js → DownloadOverlay-DUYftI-h-D71rp7yz.js} +11 -11
- package/dist/assets/{DrawerPage-CVKJUV0d-1VrLf85V.js → DrawerPage-Br7Spm_D-pQ8sZx88.js} +7 -7
- package/dist/assets/EditPeoplePage-CGYR3lrg-DoWF8etD.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage--Sw7PT5v-ByroxrFy.js → EditReimbursementDetailPage-DMMdfkh8-Bucax6Ut.js} +156 -156
- package/dist/assets/EntityDetailPage-DYtL_p8R-GD_XakVz.js +18 -0
- package/dist/assets/{EntitySummarySection-BwfqmMJf-Ck--pC9e.js → EntitySummarySection-BqbaP86G-DpA6l5fM.js} +30 -30
- package/dist/assets/{ExpenseAutomationOverviewPage-EuWSUhAA-S_zuNRXY.js → ExpenseAutomationOverviewPage-CrXiwOR2-YbYbnS7Q.js} +17 -17
- package/dist/assets/{ExpenseAutomationPage-CNl1S9Aa-mhJaMF4M.js → ExpenseAutomationPage-Nf_8Kyie-CTvPgCHn.js} +47 -47
- package/dist/assets/{ExpressPayPage-CbWuzpCW-DS_V3c-F.js → ExpressPayPage-UQwsM48P-D7O-_G73.js} +17 -17
- package/dist/assets/{FeaturePreviewPage-HWLnhB9a-DXJxcpnb.js → FeaturePreviewPage-BRPcuukW-BStEym9y.js} +2 -2
- package/dist/assets/{FollowStepsSection-CVX6zX9Q-0JaUuRFv.js → FollowStepsSection-zLVY0Bxj-CS04bdSf.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-HEPGnrBi-D4pu4wAE.js → GlobalReviewListPage-Dm_qc_Yw-DaZA8sHm.js} +13 -13
- package/dist/assets/{InformationCardStack-BC-wYnqn-CDHpu8rR.js → InformationCardStack-C7jQmHes-CWd2nkLz.js} +4 -4
- package/dist/assets/{InsightsCardStack-Buh7Rj7W-B-XFnTbj.js → InsightsCardStack-CBrXK6na-CLYhX1B-.js} +9 -9
- package/dist/assets/{InsightsSection-uT4QX3iw-B1Mb62vw.js → InsightsSection-D_hTz1-h-EcLzFnt2.js} +4 -4
- package/dist/assets/{IntegrationsSettingsPage-np4iMqIF-BOXlm3x-.js → IntegrationsSettingsPage-B3BcOzu1-DFtNOGVa.js} +10 -10
- package/dist/assets/{InternationalWireSwiftDetailsPage-CRFIo4Oj-CKmgCCwr.js → InternationalWireSwiftDetailsPage-CMrSLhcq-xqjqhVUP.js} +17 -17
- package/dist/assets/InternationalWireVerificationPage-D8lqdsVG-CS33qqLD.js +65 -0
- package/dist/assets/{InviteFormPage-CVVm61Xb-DTfuiXCS.js → InviteFormPage-Cb6yA36Y-j5-QPPFw.js} +30 -30
- package/dist/assets/{InvitePageListView-Bhv5fpSY-BrVz8pRa.js → InvitePageListView-CvAYZn3w-BGjtLryq.js} +52 -52
- package/dist/assets/InvitePeoplePage-B3HP9bgz-C0119Ywd.js +12 -0
- package/dist/assets/{InvoiceUploadSection-DBvyatKK-CJBMM0Za.js → InvoiceUploadSection-BV69g_45-C0jQPqw-.js} +10 -10
- package/dist/assets/{IssueChargeCardPage-DzAyBn8c-mXHywZLA.js → IssueChargeCardPage-DC8gfsh9-C09x3l5G.js} +32 -32
- package/dist/assets/{LabeledAddressValue-BHuN9hmS-xGzDkCtS.js → LabeledAddressValue-DcHYCO3r-yN6DyHDi.js} +2 -2
- package/dist/assets/LabeledAddressValueField-COLiEu2C-u-zbSv3w.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-CRR6Iscv-DujcJdM4.js → LabeledControlledCheckBoxField-B258oHta-DFq5Q_Wk.js} +2 -2
- package/dist/assets/{LabeledCountryMultiSelectField-BWfPhvMM-pDpHMyTS.js → LabeledCountryMultiSelectField-CDN3Cboj-DwWKggpi.js} +12 -12
- package/dist/assets/{LabeledCreatableSingleSelectField-CbmnDlQX-Bud0UcHP.js → LabeledCreatableSingleSelectField-5NsKlfNx-BEfEdG1_.js} +4 -4
- package/dist/assets/LabeledDocumentField-DNh366no-DrAn5iL2.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-CLHaeBmo-Dbz-uAbc.js → LabeledDropDownFormattedTextField-BEox9eFP-Cs6wSzGo.js} +7 -7
- package/dist/assets/LabeledText-BNEHh2ZI-BfrNdALD.js +42 -0
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DYAtBZjB-BW2S_3jE.js → LabeledUserSingleSelectWithSubtitlesField-BoYac4nN-CnfvrnWB.js} +18 -18
- package/dist/assets/{LabeledZeniRolesDropDownField-B7Z3Kefm-D8ICt4Pk.js → LabeledZeniRolesDropDownField-BL1wek8m-DLuVqXVU.js} +20 -20
- package/dist/assets/LinkJETransactionPage-KkB2mCGz-DD79uSY5.js +98 -0
- package/dist/assets/{LockCardPage-DG1icW3l-BrBrLoqr.js → LockCardPage-BBPoahE6-DjuGLIgr.js} +219 -219
- package/dist/assets/LowBalancePopup-BFU-BVK9-DWsdSBOg.js +34 -0
- package/dist/assets/MagicLinkACHDetailsPage-voSZCbPS-Bu01L_aV.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-evB-Fia6-Ddjk2plz.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-ChjLt6BQ-C6H3R4f0.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-DH2RMNDM-2yEu43__.js → MagicLinkSuccessPage-BL0Twa3Z-yp-cCoVI.js} +6 -6
- package/dist/assets/{MagicLinkTitleSection-B_lsWLaB-6l0Q2ZDr.js → MagicLinkTitleSection-C8EEgV19-CiX4xfZT.js} +4 -4
- package/dist/assets/MailingDetailsSection-DT2vh6CT-CCScgjq2.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-D4QR9tUf-AE5_I3cP.js → MyBankConnectionsSettingsPage-BvZhVteo-C2c-74lS.js} +12 -12
- package/dist/assets/MyPendingActivationChargeCardListPage-D2EL0Jp--BWDRXrvv.js +6 -0
- package/dist/assets/{MyProfileSettingsPage-CSaNSpuq-H-vs8ioV.js → MyProfileSettingsPage-3QGlUKp1-z7Bwqz5C.js} +7 -7
- package/dist/assets/{NavBarWithPicker-Zs67Xuo1-Bwvf2TqD.js → NavBarWithPicker-BXubFmkR-D51S0MSd.js} +3 -3
- package/dist/assets/{NavigationArrow-gJivTrEy-CJYJcp3Q.js → NavigationArrow-DvI-yhxJ-DlVsGta8.js} +1 -1
- package/dist/assets/{NavigationDots-DTQZxPoW-LNb-u25P.js → NavigationDots-CPlwYOx--BPMPlnpv.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-BI5z7cVi-Drg8AloH.js → NewGlobalMerchantPage-CXC3nRf0-Bx5yZmxN.js} +12 -12
- package/dist/assets/{NoDataChart-CKYUeTCs-DvkQx1V0.js → NoDataChart-DTVuSEdu-BkUYV-TV.js} +1 -1
- package/dist/assets/{NoDataTable-CwJmhtK3-CCNoQlOZ.js → NoDataTable-Bgt6dZEF-B3972AwQ.js} +1 -1
- package/dist/assets/{NotFoundPage-Bxs-YzV4-CpCxTN11.js → NotFoundPage-B2B4aoo2-BW-s5AV5.js} +8 -8
- package/dist/assets/{NotificationSettingsPage-DMYs6gdm-BlfmU3ul.js → NotificationSettingsPage-B5kEZN6p-CIJZlZ4H.js} +33 -33
- package/dist/assets/{NotificationsListConfig-BHt9OVz6-BKDTXb1o.js → NotificationsListConfig-lOoxcslt-BhnQjQWG.js} +1 -1
- package/dist/assets/NotificationsPage-CTHg82VM-CwBM4vUS.js +685 -0
- package/dist/assets/{OpExByVendorPage-D-0--y-d-DMlLcW9P.js → OpExByVendorPage-CXmqL8sH-BK8_o8ls.js} +5 -5
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-E92SHML4.js → OverlayContainerPage-D4QU0p4o-CSiWE48U.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-BgBplnz_-ChEt9BF6.js → PandLWithForecastPage-DbZpKElK-Dy4zdedl.js} +11 -11
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-C6JM3mQz-CgsGFkzx.js → PaymentAccountSetupBillingAddressSection-CJRhGAtG-D2ukn4NZ.js} +6 -6
- package/dist/assets/{PeoplePage-1Aa0j1Br-D63RAfrN.js → PeoplePage-CJri4xlX-CEfPFRxE.js} +15 -15
- package/dist/assets/{Preview-CfPlLM4U.js → Preview-0sAWcABs.js} +1 -1
- package/dist/assets/{ProductsCarousel-BR9igDN--4qcjyVm7.js → ProductsCarousel-DtmKoNz3-BSbpVJVt.js} +2 -2
- package/dist/assets/{PromoBaseCards-B-dCLfsi-omMrAFa4.js → PromoBaseCards-g6j_z80f-C2Bai70y.js} +3 -3
- package/dist/assets/{QBOConnectionDialog-Dc2r7Qhk-9XcCUrWN.js → QBOConnectionDialog-BwKmOICb-D3Jo-Vlf.js} +4 -4
- package/dist/assets/{QBOSetupSection-Bhvg13n4-BS4MZWmI.js → QBOSetupSection-BN8o3dwu-DHQTxOlT.js} +12 -12
- package/dist/assets/ReimbursementApprovalRuleDetailPage-C5s_8IJ8-CPJIVNh1.js +32 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-BtaFR_-R-DT_IS0Mc.js → ReimbursementApprovalRulesPage-BvvOob8U-DEiVU8X7.js} +2 -2
- package/dist/assets/ReimbursementDetailPage-BVFGrEhN-B7_bgdSj.js +314 -0
- package/dist/assets/ReimbursementPromoPage-dsgbajZ6-CWCF7N7b.js +84 -0
- package/dist/assets/{ReimbursementSetUpPage-CesV38Tv-CAsx1rGC.js → ReimbursementSetUpPage-0AMBarqS-CiwiIoY4.js} +9 -9
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BuK15ipi-jsvxMTC-.js → ReimbursementsBulkReviewDrawerPage-L0YmO2qY-DQjnniUJ.js} +1 -1
- package/dist/assets/{ReloadCard-DCA58Z6d-lxJyT6Aq.js → ReloadCard-Dketoj2r-tAJXPFMi.js} +2 -2
- package/dist/assets/{ReportTableViewSelector-Bcxl71KP-GS5y6Ng3.js → ReportTableViewSelector-DmDzw4yW-D1HeX13c.js} +5 -5
- package/dist/assets/{ReportsPage-DrxIUX8S-BX-Ugn1O.js → ReportsPage-DPrhnmvb-D0g4apvT.js} +6 -6
- package/dist/assets/{RevenueChart-BIWVGs6F-HTYxOFNe.js → RevenueChart-CDrGsGOU-CIlC5CYF.js} +8 -8
- package/dist/assets/{ReviewDetailsPage-C3dqUSg--Cpk2HBlF.js → ReviewDetailsPage-DjbAwLAN-B0q2mTzL.js} +18 -18
- package/dist/assets/{ReviewOverlay-Cag-4B4Y-D1ezdBpL.js → ReviewOverlay-Ws6-5o0Z-DJX77Zrm.js} +9 -9
- package/dist/assets/RoleWithToolTip-vxNCa6FT-LxVETf1F.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-ikCFA0w0-2eZV-mSh.js → ScheduleDetailsFixedAssetsPage-B2Y0ri0_-D9zabCxc.js} +4 -4
- package/dist/assets/{ScheduleDetailsPage-DzYUkz8B-BASiQOiG.js → ScheduleDetailsPage-D4fdm16B-KuG3aRA0.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-Cg5WKyIj-CgT_tp3-.js → ScheduleSequenceTable-BuOwBQPa-idhR1Z_Q.js} +16 -16
- package/dist/assets/{ScreenRoutes-BA3Mh7pl.js → ScreenRoutes-BIVA2nRG.js} +1 -1
- package/dist/assets/{SetUpAccountSection-CczJQz98-BSMGTELr.js → SetUpAccountSection-DJz8iGRu-BIE7oU3u.js} +9 -9
- package/dist/assets/{SignIn-IIuCvpoR-11uX7W5f.js → SignIn-BltllFmN-lRCl2w8R.js} +15 -15
- package/dist/assets/{SignInScreen-2miLFysH.js → SignInScreen-CvDooCt5.js} +1 -1
- package/dist/assets/SpendManagementListViewPage-BQwyNWPt-CFFiSy1U.js +134 -0
- package/dist/assets/{SpendManagementPerTabPage-D3DxhXvr-B6sZ7QiP.js → SpendManagementPerTabPage-CkH_5fl0-DiDtAytK.js} +39 -39
- package/dist/assets/{SpendManagementSection-DSN3bvLE-BkMacKAC.js → SpendManagementSection-BhbK0q1x-DEzibqGa.js} +15 -15
- package/dist/assets/StatementItem-D8E_FAe4-BYv882Fo.js +31 -0
- package/dist/assets/StatementsPage-Wiw8T04d-DTKPWrtc.js +58 -0
- package/dist/assets/{StatusSwitcher-C35eTt_u-VQn5S24k.js → StatusSwitcher-DPs1Vq5X-D6dENE_K.js} +2 -2
- package/dist/assets/{SubTabSwitcher-B8hXbnSB-cmYgrs9Q.js → SubTabSwitcher-BvqpLoBx-n7blk4-b.js} +2 -2
- package/dist/assets/{SummaryCard-dhNbqi0b-YwOnQ2xO.js → SummaryCard-CYZZ0q6A-Bue0ya2z.js} +1 -1
- package/dist/assets/{TaskManagementPage-QHzSJ5AM-Dhc53xoT.js → TaskManagementPage-lc9Mw2Sm-CSBSTCNw.js} +34 -34
- package/dist/assets/{TimeRangeSwitcher-By1NizbD-D56RmIGq.js → TimeRangeSwitcher-Dm0lFXOD-CN2hUUX6.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-CnIziozQ-1cQ19qL3.js → TimeframeSwitcher-CFrCNOFC-CCLnJVYT.js} +6 -6
- package/dist/assets/{TimeframeSwitcherWithToggle-BxwsH8cn-DW9lfWz3.js → TimeframeSwitcherWithToggle-Cu0mWh8Z-Dnw607ZH.js} +1 -1
- package/dist/assets/{TopExCard-BXYnSJ_3-BrLh6FBV.js → TopExCard-IMbcUkNt-D4ymrCrP.js} +6 -6
- package/dist/assets/{TopExDetailPage-C9pGvGMt-BM8au-2T.js → TopExDetailPage-IEJSc_e7-BtOs5ZNd.js} +8 -8
- package/dist/assets/TransactionActivityLogPage-CztxkZSm-8f7Qpuaa.js +195 -0
- package/dist/assets/{TransactionDetailPage-CZQnRzsm-DgcUcv00.js → TransactionDetailPage-C5khWZWO-BeDT0w8u.js} +20 -20
- package/dist/assets/{TransactionList-Bdf5Bgsu-BJckNy4D.js → TransactionList-BH11aGhG-4R_e7lBY.js} +15 -15
- package/dist/assets/{TransactionListBig-DcbkwmaY-lPbTtFsv.js → TransactionListBig-CdJV8TeD-DMYaee9L.js} +11 -11
- package/dist/assets/TransactionListPage-CjzTPYr7-BDdk1Iba.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-B-FwW8my-CWEbgotx.js → TransactionVendorDetailPage-Dv7hRa0N-BwsLBxd1.js} +4 -4
- package/dist/assets/{TransferDrawerPage-DqxZzNHb-JyC0LuW4.js → TransferDrawerPage-r48o2lxO-CN66Pp8k.js} +40 -40
- package/dist/assets/{TreasuryOverviewPage-BFDU5aeU-CkjRA3dQ.js → TreasuryOverviewPage-DKCxYrPQ-HyhZNbuE.js} +32 -32
- package/dist/assets/{TreasuryPromoPage-HD1G38a1-ZbC8VXaw.js → TreasuryPromoPage-CNpZ_SIL-DNBqegZ8.js} +21 -21
- package/dist/assets/TreasuryStatementsPage-DKRIOtY3-DpdYXRvQ.js +58 -0
- package/dist/assets/TreasuryTaxLetterPage-Bwg7y3DU-CPkWwrCH.js +58 -0
- package/dist/assets/{TrendChart-DVlTUYry-BQhZ0XSE.js → TrendChart-C1hhS0ef-CM_jfK9c.js} +3 -3
- package/dist/assets/{TrendWithTransactions-DXYNZfvE-CEOC8UFU.js → TrendWithTransactions-CbJdyyGK-8bD7HA0C.js} +4 -4
- package/dist/assets/{UncategorizedAccountsMappingPage-BgQsB5_3-COI438r2.js → UncategorizedAccountsMappingPage-BTAJNCzF-IB-Tcf9I.js} +30 -30
- package/dist/assets/{UnitIntegrationPage-Dm62VB7y-B0M_A7fc.js → UnitIntegrationPage-B7xYyx0u-Dfb-qM03.js} +10 -10
- package/dist/assets/{UploadAdditionalDocumentOverlay-DG7NwQOq-PHFjEw3H.js → UploadAdditionalDocumentOverlay-BxSUijP--B8mSbR2d.js} +1 -1
- package/dist/assets/Vendor2FAPopup-Ctn_yjc8-D0FF2AtH.js +1 -0
- package/dist/assets/VendorACHDetailsPage-Bvj35jGs-H5j6K7x_.js +1 -0
- package/dist/assets/{VendorDetailPage-B8qtHlez-CDeCcma-.js → VendorDetailPage-CTbWD0xL-DOodc43o.js} +87 -87
- package/dist/assets/VendorDomesticWireDetailsPage-YMt9zC7E-4y578jYA.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-B5GzsaIt-CrkaSKWH.js → VendorFiling1099EditablePage-CC17aZpp-CUEXtxxF.js} +32 -32
- package/dist/assets/{VendorFirstReviewPage-B1c74yx7-XWeMR4A4.js → VendorFirstReviewPage-C2Rj4ujS-D3XLk6SM.js} +30 -30
- package/dist/assets/{VendorInternationalWireDetailsPage-DPucgS6n-BUwm5cf5.js → VendorInternationalWireDetailsPage-CXgBfF0b-AFVguI8X.js} +7 -7
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CPdA16m4-BUiNKc-B.js +1 -0
- package/dist/assets/{VendorsAccountsSection-BBnG4jo9-CE1HsZr7.js → VendorsAccountsSection-CKKsK4iR-Brg3gtnO.js} +4 -4
- package/dist/assets/{VerifyDevice-CFPLWsQ9-CqtmGFWn.js → VerifyDevice-Ds1Nxr5P-Blm9OKwi.js} +1 -1
- package/dist/assets/{VideoPlayer-C0Oxc4vz-Eo76fnas.js → VideoPlayer-Ba8AW1R7-i9G7JJm5.js} +2 -2
- package/dist/assets/VideoPopup-CXIa9PAJ-BZihnaAR.js +31 -0
- package/dist/assets/{WarningsDrawerPage-D1_kAgnS-wVv9eNUW.js → WarningsDrawerPage-h7qsrtcB-CE6gyvKk.js} +7 -7
- package/dist/assets/{ZeniAccountDetailPage-CvuREnNX-Daaz-pOC.js → ZeniAccountDetailPage-aNllmjZp-DFLxBj0c.js} +32 -32
- package/dist/assets/{ZeniAccountListViewPage-Cl0LGnEs-BnEYM2Fk.js → ZeniAccountListViewPage-DrKQ2DXb-CJJJ25qT.js} +8 -8
- package/dist/assets/ZeniAccountNavBarPieces-BTP0V662-nTGXbCtY.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-CfqyTao--CSmJBLGG.js → ZeniAccountPromoPage-CPL4y-FS-Bjur8xmF.js} +13 -13
- package/dist/assets/{ZeniAccountSetupPage-DjhaRuBW-C5pmnKvn.js → ZeniAccountSetupPage-DvlPktUp-B-E9YzwR.js} +2 -2
- package/dist/assets/ZeniCopyright-D37-X5FF-Ak7n7OYz.js +1 -0
- package/dist/assets/{ZeniTransferAmountSlider-DFm-2Ivu-CQbjc7rM.js → ZeniTransferAmountSlider-CeTiIm-1-DS6r50pT.js} +4 -4
- package/dist/assets/{add-to-wallet-DgdBD8_G-BuLXwUxS.js → add-to-wallet-DgdBD8_G-D62DvooK.js} +1 -1
- package/dist/assets/{analytics-EOspDoDF.js → analytics-BFqwqBQR.js} +1 -1
- package/dist/assets/{analyticsHelper-CkgaDWOW-BtJI0iQX.js → analyticsHelper-Cp5G9I3a-BIC4toJ-.js} +1 -1
- package/dist/assets/analyticsHelper-H7OiEB4T.js +1 -0
- package/dist/assets/{arrow-south-east-round-PEovUgvH-7wUMcNgq.js → arrow-south-east-round-PEovUgvH-eGvQIcmx.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-B7tSfwo7.js → auto-transfer-rule-mbafm5D3-CeHKVWmh.js} +1 -1
- package/dist/assets/{chartTypes-nF8PeaWk-DylRW2Nq.js → chartTypes-_pdOsLu--D8_z5gfz.js} +1 -1
- package/dist/assets/{commonDimensions-bWLlVfVq-DDxX-akL.js → commonDimensions-IxmmCJgv-CC5c3dON.js} +1 -1
- package/dist/assets/{commonTypes-BKD3o785-ClwG0TM4.js → commonTypes-uWTOHqLG-CINOYJ5U.js} +1 -1
- package/dist/assets/{constants-3kjNigIZ.js → constants-DMGg36fI.js} +1 -1
- package/dist/assets/{core-CslRcwFE.js → core-BFf3IFj6.js} +1 -1
- package/dist/assets/{dash.all.min-Dkp1U18T.js → dash.all.min-BxMd-9-a.js} +1 -1
- package/dist/assets/{detailCommon-l7_k1kQ_-CFeAwn6Q.js → detailCommon-1sO_byJf-CD-uyZzV.js} +4 -4
- package/dist/assets/downloadPdf-CjXuMwyY-Bk0Q_jtO.js +1 -0
- package/dist/assets/{empty-Du-vmzTn.js → empty-CTFehcxZ.js} +1 -1
- package/dist/assets/{empty-BhaTlh_E.js → empty-DQRlSI-P.js} +1 -1
- package/dist/assets/{epic-CZdj8-B-.js → epic-DvQ68MZ-.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-Dv3d3rOw.js → gift-box-Cmt9OgIZ-CjL00gTh.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-CLHrfBy6.js → graphic-no-data-l-DU4J8fDt-CeLdXVsI.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CMlLtriY.js → graphic-no-data-net-burn-l-CzmycA0m-CxW_HqWH.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-COd6iQaS.js → handshake-BPg58FML-DLoQUg7m.js} +1 -1
- package/dist/assets/{helper-qck89ZgJ-CZUGaHU3.js → helper-4lObJrt8-BUT-pULe.js} +3 -3
- package/dist/assets/{index-CwPcEaIJ.js → index-BuGq2Xwa.js} +1 -1
- package/dist/assets/{index-Dc5vYs7y.js → index-Cx7SEn1j.js} +1 -1
- package/dist/assets/{index-B7eWgQzZ.js → index-DGGt5RDJ.js} +4300 -4300
- package/dist/assets/{index-Cn_IOdHd.js → index-DdP-wJle.js} +1 -1
- package/dist/assets/{index-3P-FToEr.js → index-Dl4R1vcE.js} +1 -1
- package/dist/assets/{index-Dk4hNwSR.js → index-IoURZoOk.js} +1 -1
- package/dist/assets/{index-Dde-TLpy.js → index-NMwrUQfi.js} +1 -1
- package/dist/assets/{lexical-DEAOqFKR.js → lexical-BeXs36Y0.js} +1 -1
- package/dist/assets/{liveblocks-DyVXfa5b.js → liveblocks-Dda0tF-O.js} +1 -1
- package/dist/assets/{lottie-DR7Z1uj_.js → lottie-mwve--vc.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-hU4SXSz1-Celvdjmv.js → mapLoadingInProgressToTreeNode-CwSavpEU-Cl_FZFwU.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Mybge2KM-DnyF2DOT.js → mapSectionWithAcOnlyToTreeNode-DfN5c3SA-D4hGCNmF.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-D8gbhEl5-D4qIggfl.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-DSlFj-Ph-Btw1CFJ1.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-Dj4jp8jG-B4t0Wux0.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-DpTpTHX9-DdHAM1Kp.js +1 -0
- package/dist/assets/{mui-Ba0_ROTv.js → mui-BXc79n0P.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-DcKx2ySJ.js → page-detail-CWX5S47F-j_J3TTSv.js} +1 -1
- package/dist/assets/{panelSelectedMixin-Cddsb26L-Cg3Z-QbC.js → panelSelectedMixin-Cddsb26L-D4G_zfkD.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-CGqLZKGc.js → radio-default-CiSgisfh-BDH4uibz.js} +1 -1
- package/dist/assets/{react-CBKzjJ-k.js → react--w8eXOQH.js} +1 -1
- package/dist/assets/{react-Doh-xpgh.js → react-0aRrmHfg.js} +2 -2
- package/dist/assets/{react-BQMyjhDt.js → react-BkfBvvdQ.js} +1 -1
- package/dist/assets/{react-XEytoW-G.js → react-CQhG37C_.js} +1 -1
- package/dist/assets/{react-2aHb0_lL.js → react-CQvtbK9z.js} +1 -1
- package/dist/assets/{react-DqjXj4cD.js → react-CpogsNWB.js} +1 -1
- package/dist/assets/{react-DuH1J8DT.js → react-DNVJuix6.js} +1 -1
- package/dist/assets/{react-biMmKurS.js → react-x9AsEyp-.js} +1 -1
- package/dist/assets/{recharts-Dpk71F6G.js → recharts-vbuE4Jum.js} +1 -1
- package/dist/assets/{sentry-BUYEiWD8.js → sentry-C7LQiKF9.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-C7zSLUUK.js → shield-DOlUxcFf-B-RZDoQM.js} +1 -1
- package/dist/assets/toCOABalancesWithID-DuwOfE1o-DwSLIzEK.js +1 -0
- package/dist/assets/{toChartData-CMvkvks2-CeV5Sw8J.js → toChartData-Cqj00uWV-Bpiruaq9.js} +1 -1
- package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-BCgskbSS.js → upload-reimbursement-receipt-O2N8vcO7-C4eeJM6-.js} +1 -1
- package/dist/assets/{uploadAttachment-XRvvKLjd-8kORPRMD.js → uploadAttachment-CpuXaDZF-Bu3r96Oj.js} +25 -25
- package/dist/assets/{uploadReceipts-Dge0cNF1-B4zZrtGY.js → uploadReceipts-Dge0cNF1-BighYweo.js} +1 -1
- package/dist/assets/{url-4GiLad5k.js → url-CvO2wIrp.js} +1 -1
- package/dist/assets/{url-_mFxzRvZ.js → url-SWb9fmsI.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ--IIT5mp7.js → useLongPress-GCK2COYQ-BHUpmaFu.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-wx2xXzy4.js → usp-line-BBd1wKwW-BBQ-QruK.js} +1 -1
- package/dist/assets/{utils-van4hLXd.js → utils-CW6UW7VZ.js} +1 -1
- package/dist/assets/{zeni-epic-state-DsDV18R1.js → zeni-epic-state-Cvu6NpVe.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/ACHDetailsPage-C0EF1bfJ-CF4B57fP.js +0 -21
- package/dist/assets/AccountInfoPage-1bkRMUmz-Cuxh0N0w.js +0 -18
- package/dist/assets/AccountLockedInfoModal-iHHAglx1-Db8qIiY0.js +0 -59
- package/dist/assets/AddAddressForCardDrawer-DQButqpE-4KIKQO78.js +0 -6
- package/dist/assets/ApAgingDetailPage-DFMl8Pg4-C_Is_Pfz.js +0 -46
- package/dist/assets/BillDetailPage-Cv84AWBP-D-5X1cLh.js +0 -266
- package/dist/assets/BillPayPromoPage-BJNiSeAB-dddJyTrd.js +0 -84
- package/dist/assets/BillingSettingsPage-B5p8_TqZ-D-ll1i0A.js +0 -44
- package/dist/assets/BillsBulkReviewDrawerPage-CLUs3-Ci-DFJkbhvF.js +0 -1
- package/dist/assets/ConfettiBurst-BfLV2hbY-D9OCgSrI.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-BR0RXw9o-YOK_yGHP.js +0 -1
- package/dist/assets/EditPeoplePage-CZUXKv1r-BxGbjp33.js +0 -55
- package/dist/assets/EntityDetailPage-ZAt7wUEc-CU2oKDLU.js +0 -18
- package/dist/assets/InternationalWireVerificationPage-BLvplUfw-KKAbBfix.js +0 -65
- package/dist/assets/InvitePeoplePage-Chxh0Lmw-BWF47a5q.js +0 -12
- package/dist/assets/LabeledAddressValueField-C5tlrpM8-CZs-qPnX.js +0 -45
- package/dist/assets/LabeledDocumentField-BowgfWLJ-Dfvs4pho.js +0 -41
- package/dist/assets/LabeledText-DglukuaI-CmIe9nSK.js +0 -42
- package/dist/assets/LinkJETransactionPage-Cnu97MMF-4_5-q4C9.js +0 -98
- package/dist/assets/LowBalancePopup-Drqtx1Yk-9ef3MPri.js +0 -34
- package/dist/assets/MagicLinkACHDetailsPage-B-H4pN-W-BJk44VGL.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-DBhFe2sn-ByO14CoO.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-De3w5uAd-DWgjVULc.js +0 -1
- package/dist/assets/MailingDetailsSection-CU0Ur-9k-CV18nP7Y.js +0 -21
- package/dist/assets/MyPendingActivationChargeCardListPage-8fIM-AgM-DG0F21hf.js +0 -6
- package/dist/assets/NotificationsPage-BL6QkhxJ-Bq__lIXi.js +0 -685
- package/dist/assets/ReimbursementApprovalRuleDetailPage-DeGZp7he-DwflEFkV.js +0 -32
- package/dist/assets/ReimbursementDetailPage-ChDG7NAL-BwV9bPZE.js +0 -314
- package/dist/assets/ReimbursementPromoPage-Dgx0IYTF-BfINKSQz.js +0 -84
- package/dist/assets/RoleWithToolTip-C8aesF3T-apurffxZ.js +0 -22
- package/dist/assets/SpendManagementListViewPage-DQ9FW-pv-8sW-YX2v.js +0 -134
- package/dist/assets/StatementItem-CfLQ3EiB-BhKoq1Lu.js +0 -31
- package/dist/assets/StatementsPage-DdVszHkC-UTOiPZ-s.js +0 -58
- package/dist/assets/TransactionActivityLogPage-C4Zf-YKV-CyrgE9Vm.js +0 -195
- package/dist/assets/TransactionListPage-CS_TY41O-BS7_HocG.js +0 -35
- package/dist/assets/TreasuryStatementsPage-DVN2bxrt-Csr4Fp1P.js +0 -58
- package/dist/assets/TreasuryTaxLetterPage-O5HN57r7-Crb8QwQ9.js +0 -58
- package/dist/assets/Vendor2FAPopup-CxJFovCF-BTqgr2_z.js +0 -1
- package/dist/assets/VendorACHDetailsPage-IvgUMfd9-Dm3RoaNk.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-BbLz5_FD--3MjmjN3.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CmeSQAri-TKMDFSzF.js +0 -1
- package/dist/assets/VideoPopup-BmdpW83j-DczpaZjD.js +0 -31
- package/dist/assets/ZeniAccountNavBarPieces-MEaXWOb7-DLC0tAjr.js +0 -14
- package/dist/assets/ZeniCopyright-nggh1t2z-BlAlTJNf.js +0 -1
- package/dist/assets/analyticsHelper-BQyqY8AC.js +0 -1
- package/dist/assets/downloadPdf-DaZCmoYn-D7YxsQSi.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-DlewsTfs-Uz_UzZbZ.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-9dkd_G4A-xyFi9Xru.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DE8rPH2X-BbYTtpG2.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BLkTfnct-DgmTQXuW.js +0 -1
- package/dist/assets/toCOABalancesWithID-BfQTo56G-BvXiHVaB.js +0 -1
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import{y as f,b as d,V as t,an as x,bc as l,a as b,o,p,as as y,b$ as j,c0 as $,c1 as w,bU as k}from"./index-DGGt5RDJ.js";import{n as r}from"./mui-BXc79n0P.js";import{t as v}from"./handshake-BPg58FML-DLoQUg7m.js";import"./sentry-C7LQiKF9.js";import"./liveblocks-Dda0tF-O.js";import"./core-BFf3IFj6.js";import"./recharts-vbuE4Jum.js";import"./zeni-epic-state-Cvu6NpVe.js";import"./lottie-mwve--vc.js";import"./analytics-BFqwqBQR.js";import"./lexical-BeXs36Y0.js";import"./utils-CW6UW7VZ.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]="b7aed6ce-7228-41d2-9414-990eb98d3b6c",e._sentryDebugIdIdentifier="sentry-dbid-b7aed6ce-7228-41d2-9414-990eb98d3b6c")}catch{}})();const m="support@zeni.ai",n=d.getLocalizedStrings().commonSetUp.twoFactorAuthentication,h=({unlockDate:e,onSubmit:i})=>{const s=f(),u=e.format(d.getLocalizedStrings().dateFormat.visual.MMMDCommaYYYYformat),g=e.format(d.getLocalizedStrings().dateFormat.visual.HHMMFormat);return t.jsxs(M,{children:[t.jsx(S,{children:n.accountLockedTitle}),t.jsxs(C,{children:[t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(A,{})}),t.jsx(x,{children:n.accountLockedSecurityMessage})]}),t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(z,{})}),t.jsxs(l,{children:[n.tryAgainAfter,t.jsxs(L,{children:[u,t.jsx(_,{children:"•"}),g]}),n.signInViaGoogleOrMicrosoft]})]}),t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(T,{})}),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 D({unlockDate:e,onClose:i}){return t.jsx(k,{open:!0,onClose:i,children:t.jsx(Y,{children:t.jsx(h,{unlockDate:e,onSubmit:i})})})}const M=r.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
align-items: center;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
row-gap: ${o.sp6};
|
|
7
|
+
`,S=r(y)`
|
|
8
|
+
color: ${p.important};
|
|
9
|
+
text-align: center;
|
|
10
|
+
`,C=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
|
+
`,L=r(l)`
|
|
28
|
+
font-weight: ${w.medium};
|
|
29
|
+
`,_=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
|
+
`,z=r($)`
|
|
44
|
+
width: ${o.sp4};
|
|
45
|
+
height: ${o.sp4};
|
|
46
|
+
`,A=r(j)`
|
|
47
|
+
width: ${o.sp4};
|
|
48
|
+
height: ${o.sp4};
|
|
49
|
+
`,T=r(v)`
|
|
50
|
+
width: ${o.sp4};
|
|
51
|
+
height: ${o.sp4};
|
|
52
|
+
`,Y=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:D},Symbol.toStringTag,{value:"Module"}));export{h as A,m as Z,B as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aa as fe,fF as xe,V as t,ae as ye,cs as ge,ct as je,cu as Se,o as
|
|
1
|
+
import{aa as fe,fF as xe,V as t,ae as ye,cs as ge,ct as je,cu as Se,o as i,M as $e,b9 as X,ao as G,d as be,ab as ke,dP as ve,eY as we,d7 as Q,dy as Z,b as Ce,an as d,y as Ee,aQ as Pe,by as ee,dS as te,av as Re,p as ne,g as Ie}from"./index-DGGt5RDJ.js";import{a as r}from"./sentry-C7LQiKF9.js";import{n as o}from"./mui-BXc79n0P.js";import{bL as oe,Hn as De,Ho as Te}from"./zeni-epic-state-Cvu6NpVe.js";import{I as _e,w as Fe,$ as Ue,y as Me}from"./AccountRow-sz0SNySJ-PMcRks2g.js";import"./liveblocks-Dda0tF-O.js";import"./core-BFf3IFj6.js";import"./recharts-vbuE4Jum.js";import"./lottie-mwve--vc.js";import"./analytics-BFqwqBQR.js";import"./lexical-BeXs36Y0.js";import"./utils-CW6UW7VZ.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]="6e818be9-f1a5-41f0-8799-8b3343128a89",e._sentryDebugIdIdentifier="sentry-dbid-6e818be9-f1a5-41f0-8799-8b3343128a89")}catch{}})();const m={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,navBarHeight:i.sp10,navBarPaddingRight:i.sp4,navBarPaddingLeft:i.sp4,balanceContainerWidth:114,sourceContainerWidth:400},Le=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey4};
|
|
@@ -6,30 +6,30 @@ import{aa as fe,fF as xe,V as t,ae as ye,cs as ge,ct as je,cu as Se,o as c,M as
|
|
|
6
6
|
width: 100%;
|
|
7
7
|
height: 100vh;
|
|
8
8
|
position: relative;
|
|
9
|
-
gap: ${
|
|
9
|
+
gap: ${i.sp5};
|
|
10
10
|
`,Ye=o.div`
|
|
11
11
|
display: flex;
|
|
12
12
|
flex: 0 0 auto;
|
|
13
|
-
width: ${
|
|
14
|
-
`,
|
|
13
|
+
width: ${i.sp4};
|
|
14
|
+
`,Oe=o.div`
|
|
15
15
|
min-height: ${m.navBarHeight};
|
|
16
16
|
position: sticky;
|
|
17
17
|
background-color: ${e=>e.theme.colors.grey4};
|
|
18
18
|
border-bottom: 1px solid transparent;
|
|
19
19
|
z-index: 2;
|
|
20
|
-
top: ${
|
|
20
|
+
top: ${i.sp0};
|
|
21
21
|
width: 100%;
|
|
22
|
-
`,
|
|
22
|
+
`,Ae=o(be)`
|
|
23
23
|
cursor: pointer;
|
|
24
24
|
color: ${e=>e.theme.colors.hero};
|
|
25
|
-
width: ${
|
|
26
|
-
height: ${
|
|
27
|
-
min-height: ${
|
|
25
|
+
width: ${i.sp4};
|
|
26
|
+
height: ${i.sp4};
|
|
27
|
+
min-height: ${i.sp3};
|
|
28
28
|
&:hover {
|
|
29
29
|
color: ${e=>e.theme.colors.primary};
|
|
30
30
|
}
|
|
31
31
|
flex: 0 0 auto;
|
|
32
|
-
`,
|
|
32
|
+
`,Be=o.div`
|
|
33
33
|
padding-left: ${m.containerPaddingLeft};
|
|
34
34
|
padding-right: ${m.containerPaddingRight};
|
|
35
35
|
`,We=o.div`
|
|
@@ -52,13 +52,13 @@ import{aa as fe,fF as xe,V as t,ae as ye,cs as ge,ct as je,cu as Se,o as c,M as
|
|
|
52
52
|
flex: 1 1 0;
|
|
53
53
|
justify-content: center;
|
|
54
54
|
flex-direction: column;
|
|
55
|
-
`,ze=o(
|
|
55
|
+
`,ze=o(X)`
|
|
56
56
|
display: flex;
|
|
57
57
|
color: ${e=>e.theme.colors.primary};
|
|
58
58
|
align-items: center;
|
|
59
59
|
justify-content: center;
|
|
60
60
|
overflow: hidden;
|
|
61
|
-
`,
|
|
61
|
+
`,ie=o(G)`
|
|
62
62
|
display: flex;
|
|
63
63
|
color: ${e=>e.theme.colors.hero};
|
|
64
64
|
align-items: center;
|
|
@@ -74,38 +74,38 @@ import{aa as fe,fF as xe,V as t,ae as ye,cs as ge,ct as je,cu as Se,o as c,M as
|
|
|
74
74
|
flex-direction: column;
|
|
75
75
|
align-items: center;
|
|
76
76
|
justify-content: center;
|
|
77
|
-
gap: ${
|
|
77
|
+
gap: ${i.sp5};
|
|
78
78
|
`,Qe=o.div`
|
|
79
79
|
display: flex;
|
|
80
80
|
flex-direction: row;
|
|
81
81
|
align-items: center;
|
|
82
82
|
justify-content: center;
|
|
83
|
-
gap: ${
|
|
84
|
-
padding: ${
|
|
83
|
+
gap: ${i.sp2};
|
|
84
|
+
padding: ${i.sp3};
|
|
85
85
|
background-color: ${e=>e.theme.colors.background};
|
|
86
|
-
border-radius: ${
|
|
86
|
+
border-radius: ${i.sp2};
|
|
87
87
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
88
|
-
`,
|
|
88
|
+
`,Je=o.div`
|
|
89
89
|
display: flex;
|
|
90
90
|
flex-direction: column;
|
|
91
91
|
align-items: flex-start;
|
|
92
92
|
justify-content: center;
|
|
93
93
|
min-width: ${m.balanceContainerWidth}px;
|
|
94
|
-
`,
|
|
94
|
+
`,B=o(G)`
|
|
95
95
|
display: flex;
|
|
96
96
|
color: ${e=>e.theme.colors.hero};
|
|
97
97
|
align-items: center;
|
|
98
98
|
justify-content: flex-end;
|
|
99
|
-
`,
|
|
99
|
+
`,Ke=o(d)`
|
|
100
100
|
color: ${e=>e.theme.colors.primary};
|
|
101
101
|
text-align: left;
|
|
102
|
-
`,
|
|
102
|
+
`,Xe=o.div`
|
|
103
103
|
display: flex;
|
|
104
104
|
flex-direction: column;
|
|
105
105
|
align-items: flex-start;
|
|
106
106
|
justify-content: flex-start;
|
|
107
107
|
min-width: ${m.balanceContainerWidth}px;
|
|
108
|
-
`,
|
|
108
|
+
`,Ge=o(d)`
|
|
109
109
|
display: flex;
|
|
110
110
|
color: ${e=>e.theme.colors.primary};
|
|
111
111
|
align-items: center;
|
|
@@ -115,7 +115,7 @@ import{aa as fe,fF as xe,V as t,ae as ye,cs as ge,ct as je,cu as Se,o as c,M as
|
|
|
115
115
|
flex-direction: row;
|
|
116
116
|
align-items: flex-start;
|
|
117
117
|
justify-content: flex-start;
|
|
118
|
-
gap: ${
|
|
118
|
+
gap: ${i.sp1};
|
|
119
119
|
`,et=o.div`
|
|
120
120
|
display: flex;
|
|
121
121
|
flex-direction: column;
|
|
@@ -128,24 +128,24 @@ import{aa as fe,fF as xe,V as t,ae as ye,cs as ge,ct as je,cu as Se,o as c,M as
|
|
|
128
128
|
align-items: center;
|
|
129
129
|
justify-content: flex-start;
|
|
130
130
|
`,nt=o(d)`
|
|
131
|
-
height: ${
|
|
132
|
-
border-radius: ${
|
|
131
|
+
height: ${i.sp4};
|
|
132
|
+
border-radius: ${i.sp1};
|
|
133
133
|
color: ${e=>e.textColor.hex()};
|
|
134
134
|
text-align: right;
|
|
135
135
|
`,ot=o(d)`
|
|
136
|
-
border-radius: ${
|
|
137
|
-
padding: ${
|
|
136
|
+
border-radius: ${i.sp1};
|
|
137
|
+
padding: ${i.sp0} ${i.sp1};
|
|
138
138
|
justify-content: center;
|
|
139
139
|
text-align: center;
|
|
140
140
|
color: ${e=>e.textColor.hex()};
|
|
141
141
|
background-color: ${e=>e.bgColor.hex()};
|
|
142
|
-
`,
|
|
142
|
+
`,it=o.div`
|
|
143
143
|
display: flex;
|
|
144
144
|
flex-direction: row;
|
|
145
145
|
align-items: center;
|
|
146
146
|
justify-content: flex-end;
|
|
147
|
-
gap: ${
|
|
148
|
-
`,
|
|
147
|
+
gap: ${i.sp1};
|
|
148
|
+
`,ct=o(d)`
|
|
149
149
|
display: flex;
|
|
150
150
|
color: ${e=>e.theme.colors.primary};
|
|
151
151
|
align-items: center;
|
|
@@ -161,26 +161,26 @@ import{aa as fe,fF as xe,V as t,ae as ye,cs as ge,ct as je,cu as Se,o as c,M as
|
|
|
161
161
|
align-items: flex-start;
|
|
162
162
|
justify-content: center;
|
|
163
163
|
min-width: ${m.sourceContainerWidth}px;
|
|
164
|
-
gap: ${
|
|
165
|
-
`,rt=o(
|
|
164
|
+
gap: ${i.sp2};
|
|
165
|
+
`,rt=o(X)`
|
|
166
166
|
display: flex;
|
|
167
167
|
color: ${e=>e.theme.colors.primary};
|
|
168
168
|
align-items: center;
|
|
169
169
|
justify-content: flex-end;
|
|
170
|
-
padding-bottom: ${
|
|
170
|
+
padding-bottom: ${i.sp2};
|
|
171
171
|
`,lt=o.div`
|
|
172
172
|
display: flex;
|
|
173
173
|
flex-direction: column;
|
|
174
174
|
align-items: flex-start;
|
|
175
175
|
justify-content: space-between;
|
|
176
|
-
gap: ${
|
|
176
|
+
gap: ${i.sp2};
|
|
177
177
|
width: 100%;
|
|
178
178
|
`,C=o.div`
|
|
179
179
|
display: flex;
|
|
180
180
|
flex-direction: row;
|
|
181
181
|
align-items: center;
|
|
182
182
|
justify-content: space-between;
|
|
183
|
-
gap: ${
|
|
183
|
+
gap: ${i.sp2};
|
|
184
184
|
width: 100%;
|
|
185
185
|
`,D=o(d)`
|
|
186
186
|
display: flex;
|
|
@@ -192,39 +192,39 @@ import{aa as fe,fF as xe,V as t,ae as ye,cs as ge,ct as je,cu as Se,o as c,M as
|
|
|
192
192
|
color: ${e=>e.theme.colors.primary};
|
|
193
193
|
align-items: center;
|
|
194
194
|
justify-content: flex-end;
|
|
195
|
-
gap: ${
|
|
195
|
+
gap: ${i.sp1};
|
|
196
196
|
`,j=o(d)`
|
|
197
197
|
display: flex;
|
|
198
198
|
align-items: center;
|
|
199
199
|
justify-content: flex-end;
|
|
200
|
-
gap: ${
|
|
200
|
+
gap: ${i.sp1};
|
|
201
201
|
`,W=o.div`
|
|
202
202
|
display: flex;
|
|
203
203
|
flex-direction: row;
|
|
204
204
|
align-items: center;
|
|
205
205
|
justify-content: flex-end;
|
|
206
|
-
gap: ${
|
|
206
|
+
gap: ${i.sp1};
|
|
207
207
|
`,dt=o(Ie)`
|
|
208
|
-
width: ${
|
|
209
|
-
height: ${
|
|
208
|
+
width: ${i.sp3};
|
|
209
|
+
height: ${i.sp3};
|
|
210
210
|
color: ${ne.success};
|
|
211
|
-
`,
|
|
212
|
-
width: ${
|
|
213
|
-
height: ${
|
|
211
|
+
`,ce=o(ee)`
|
|
212
|
+
width: ${i.sp3};
|
|
213
|
+
height: ${i.sp3};
|
|
214
214
|
color: ${e=>e.theme.colors.primary};
|
|
215
215
|
`,ae=o(te)`
|
|
216
|
-
width: ${
|
|
217
|
-
height: ${
|
|
216
|
+
width: ${i.sp3};
|
|
217
|
+
height: ${i.sp3};
|
|
218
218
|
color: ${e=>e.theme.colors.primary};
|
|
219
219
|
`,ut=o(ee)`
|
|
220
220
|
margin-top: 2px;
|
|
221
|
-
width: ${
|
|
222
|
-
height: ${
|
|
221
|
+
width: ${i.sp3};
|
|
222
|
+
height: ${i.sp3};
|
|
223
223
|
color: ${e=>e.theme.colors.primary};
|
|
224
224
|
`,pt=o(te)`
|
|
225
225
|
margin-top: 2px;
|
|
226
|
-
width: ${
|
|
227
|
-
height: ${
|
|
226
|
+
width: ${i.sp3};
|
|
227
|
+
height: ${i.sp3};
|
|
228
228
|
color: ${e=>e.theme.colors.primary};
|
|
229
229
|
`,ht=o(d)`
|
|
230
230
|
display: flex;
|
|
@@ -236,4 +236,4 @@ import{aa as fe,fF as xe,V as t,ae as ye,cs as ge,ct as je,cu as Se,o as c,M 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:X,expenseAutomation:{accountRecon:i}}=Ce.getLocalizedStrings(),ft=(e,n)=>`${e}.${n}`,xt="accountReconDrawerDetailsPage",se="accountReconDrawerDetailsSection";function Lt({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:M}){const f=fe({mode:"all",reValidateMode:"onChange",defaultValues:G(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:G(e)}),b=f.handleSubmit(()=>{}),[h,y]=r.useState(void 0),k=n.link_account_no_microdeposit,v=n.update_account,a=h==="update_account"?v:k,[g,L]=r.useState(a.linkToken??null),[s,w]=r.useState(!1),[N,Y]=r.useState(!1),[A,B]=r.useState(void 0),[re,H]=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:()=>{A!=null&&(R(A),B(void 0)),H(void 0),Y(!1)},onCancelClick:()=>{B(void 0),Y(!1)}},z=r.useRef(h);r.useEffect(()=>{z.current=h},[h]);const pe=r.useCallback(I=>{P(I,e.accountReconEntity.account.accountId,z.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&&L(a.linkToken)},[a.fetchStatus.fetchState,a.linkToken,g]),r.useEffect(()=>{s&&V()},[s,V]),t.jsxs(Le,{children:[t.jsx(Ae,{children:t.jsx(We,{children:t.jsxs(Ne,{children:[t.jsx(Ye,{}),t.jsxs(He,{children:[t.jsx(ze,{children:e.accountReconEntity.account.accountName}),t.jsx(ce,{children:t.jsx(kt,{monthYearPeriod:l})})]}),t.jsx(Ve,{children:t.jsx(Be,{onClick:$})})]})})}),t.jsxs(Oe,{children:[t.jsx(ye,{...f,children:t.jsx("form",{style:{width:"100%"},id:xt,onSubmit:b,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:M,showConfirmationPopup:N,setShowConfirmationPopup:Y,deleteFileId:A,setDeleteFileId:B,uploadErrorMessage:re,setUploadErrorMessage:H})})}),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:_,onSelectSourceType:R,onStatementUploadSuccess:F,onUploadWindowOpenedOnce:U,uploadErrorMessage:M,setUploadErrorMessage:f})=>{const[b,h]=r.useState(!1),y=(n.localData?.accountSource??"plaid")==="plaid"?n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt:n.accountReconEntity.reconUpdatedAt,k=[];n.accountReconEntity.account.accountType==="bank"&&k.push({label:i.reconciliation.menu.bankConnection,value:"plaid"}),k.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||b?"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"],L=n.accountReconEntity.reconciliationStatus!=null&&g.includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(qe,{children:[t.jsxs(Qe,{children:[t.jsxs(Xe,{children:[t.jsx(O,{children:i.reconciliation.headers.bankBalance}),t.jsx(Ge,{children:t.jsx(Fe,{bankBalance:n.accountReconEntity.balance,bankConnection:n.accountConnectionStatus,isLoading:!1,fromDrawer:!0,accountId:n.accountReconEntity.account.accountId,statementStatus:n.accountReconEntity.statementStatus.code,onStatementAddClicked:()=>{},setIsHovering:()=>{}})})]}),t.jsxs(Ke,{children:[t.jsx(O,{children:i.reconciliation.headers.clearedBalance}),t.jsx(Je,{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(ke,{controller:!0,children:t.jsx(ve,{moreIconType:"custom",customIcon:t.jsx(gt,{selectedSourceType:v}),options:k,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:L,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:M,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)=>{_(s,w)}})}):null,t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.status}),t.jsx(T,{children:v!=="bank_statement"?t.jsx(jt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:$}):t.jsx(St,{uploadInProgress:b,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.accountType}),t.jsx(T,{children:t.jsx(bt,{accountSubType:Q(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:b,customStyle:{height:"20px",width:"100px"},position:"left",children:y!=null?t.jsx(j,{children:Q(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:$}=Me(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]})]})},bt=({accountSubType:e})=>{const n=e!=null?e.replace("_"," "):p.strings.hyphen;return t.jsx(j,{children:n})},kt=({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(X.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${x.format(X.visual.DMMMYYYYFormat)}`},G=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{Lt as default,ft as uniqueName};
|
|
239
|
+
`,{common:p,dateFormat:J,expenseAutomation:{accountRecon:c}}=Ce.getLocalizedStrings(),ft=(e,n)=>`${e}.${n}`,xt="accountReconDrawerDetailsPage",se="accountReconDrawerDetailsSection";function Lt({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:M}){const f=fe({mode:"all",reValidateMode:"onChange",defaultValues:K(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:K(e)}),b=f.handleSubmit(()=>{}),[h,y]=r.useState(void 0),k=n.link_account_no_microdeposit,v=n.update_account,a=h==="update_account"?v:k,[g,L]=r.useState(a.linkToken??null),[s,w]=r.useState(!1),[N,Y]=r.useState(!1),[O,A]=r.useState(void 0),[re,H]=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:()=>{O!=null&&(R(O),A(void 0)),H(void 0),Y(!1)},onCancelClick:()=>{A(void 0),Y(!1)}},z=r.useRef(h);r.useEffect(()=>{z.current=h},[h]);const pe=r.useCallback(I=>{P(I,e.accountReconEntity.account.accountId,z.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&&L(a.linkToken)},[a.fetchStatus.fetchState,a.linkToken,g]),r.useEffect(()=>{s&&V()},[s,V]),t.jsxs(Le,{children:[t.jsx(Oe,{children:t.jsx(We,{children:t.jsxs(Ne,{children:[t.jsx(Ye,{}),t.jsxs(He,{children:[t.jsx(ze,{children:e.accountReconEntity.account.accountName}),t.jsx(ie,{children:t.jsx(kt,{monthYearPeriod:l})})]}),t.jsx(Ve,{children:t.jsx(Ae,{onClick:$})})]})})}),t.jsxs(Be,{children:[t.jsx(ye,{...f,children:t.jsx("form",{style:{width:"100%"},id:xt,onSubmit:b,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:M,showConfirmationPopup:N,setShowConfirmationPopup:Y,deleteFileId:O,setDeleteFileId:A,uploadErrorMessage:re,setUploadErrorMessage:H})})}),N===!0||e.statementDeleteStatus.fetchState==="In-Progress"?t.jsx(ge,{titleComponent:t.jsx(Se,{children:c.reconciliation.drawer.deleteConfirmation.heading}),descriptionComponent:t.jsx(je,{children:c.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:M,setUploadErrorMessage:f})=>{const[b,h]=r.useState(!1),y=(n.localData?.accountSource??"plaid")==="plaid"?n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt:n.accountReconEntity.reconUpdatedAt,k=[];n.accountReconEntity.account.accountType==="bank"&&k.push({label:c.reconciliation.menu.bankConnection,value:"plaid"}),k.push({label:c.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||b?"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"],L=n.accountReconEntity.reconciliationStatus!=null&&g.includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(qe,{children:[t.jsxs(Qe,{children:[t.jsxs(Je,{children:[t.jsx(B,{children:c.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(Xe,{children:[t.jsx(B,{children:c.reconciliation.headers.clearedBalance}),t.jsx(Ge,{children:t.jsx(Ue,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(et,{children:[t.jsx(B,{children:c.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:[" ",c.reconciliation.drawer.source," "]}),t.jsxs(lt,{children:[t.jsxs(C,{children:[t.jsx(D,{children:c.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(ce,{}),c.reconciliation.menu.bankConnection]}):t.jsxs(t.Fragment,{children:[t.jsx(ae,{}),c.reconciliation.menu.statement]})}):t.jsx(ke,{controller:!0,children:t.jsx(ve,{moreIconType:"custom",customIcon:t.jsx(gt,{selectedSourceType:v}),options:k,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:i.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:L,sizeLimit:1e7,onFileSizeError:s=>{s&&f(p.fileElementPicker.sizeLimit)},deleteFileStatusById:{},updateFileStatusById:{},filesEndPoint:l,authParams:u,acceptableTypes:["application/pdf"],placeholderText:c.reconciliation.drawer.downloadPlaceholder,autoOpenFilePicker:x,accountStatementUpload:{uploadHelper:Te,metadataPayload:{accountId:n.accountReconEntity.account.accountId,accountType:n.accountReconEntity.account.accountType??"bank",monthYearPeriod:e},errorMessage:M,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)=>{_(s,w)}})}):null,t.jsxs(C,{children:[t.jsx(D,{children:c.reconciliation.drawer.labels.status}),t.jsx(T,{children:v!=="bank_statement"?t.jsx(jt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:$}):t.jsx(St,{uploadInProgress:b,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(C,{children:[t.jsx(D,{children:c.reconciliation.drawer.labels.accountType}),t.jsx(T,{children:t.jsx(bt,{accountSubType:Q(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(C,{children:[t.jsx(D,{children:c.reconciliation.drawer.labels.lastUpdated}),t.jsx(T,{children:t.jsx(Z,{isLoading:b,customStyle:{height:"20px",width:"100px"},position:"left",children:y!=null?t.jsx(j,{children:Q(y.utc(!0).fromNow())}):p.strings.hyphen})})]})]})]})]})},gt=({selectedSourceType:e})=>t.jsxs(it,{children:[e==null||e==="plaid"?t.jsx(ce,{}):t.jsx(ae,{}),t.jsx(ct,{children:e==null||e==="plaid"?c.reconciliation.menu.bankConnection:c.reconciliation.menu.statement}),t.jsx(at,{})]}),jt=({status:e,connectionInProgress:n,onConnectClick:l,onReconnectClick:u})=>n?t.jsx(W,{children:c.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(W,{children:[t.jsx(dt,{}),t.jsx(ht,{children:c.reconciliation.drawer.values.connected})]}):t.jsx(W,{onClick:e==="reconnect"?u:l,children:t.jsx(mt,{status:e,children:e==="reconnect"?c.reconciliation.drawer.values.reconnect:c.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:c.reconciliation.drawer.values.statementParsing}):e==="validated"?t.jsx(j,{children:c.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:$}=Me(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]})]})},bt=({accountSubType:e})=>{const n=e!=null?e.replace("_"," "):p.strings.hyphen;return t.jsx(j,{children:n})},kt=({monthYearPeriod:e})=>t.jsx(ie,{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{Lt as default,ft as uniqueName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,aQ as E,bV as f,o,ac as
|
|
1
|
+
import{V as t,aQ as E,bV as f,o,ac as j,ab as re,dP as le,b as de,an as w,dQ as ue,p as g,dR as X,dS as Y,d2 as xe,aX as x,ak as Z,u as p,J as pe,y as I,b1 as he,dw as ge,ap as me,a as fe,ao as S,bM as ye,dI as je}from"./index-DGGt5RDJ.js";import{a as we}from"./sentry-C7LQiKF9.js";import{n as a,c as $e}from"./mui-BXc79n0P.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]="da8393d1-881b-4e38-9a43-6db3aee30934",e._sentryDebugIdIdentifier="sentry-dbid-da8393d1-881b-4e38-9a43-6db3aee30934")}catch{}})();const be=a.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
${e=>e.showTreeLine===!0&&e.collapsed!==!0?`&::after {
|
|
4
4
|
content: "";
|
|
@@ -52,7 +52,7 @@ import{V as t,aQ as E,bV as f,o,ac as y,ab as re,dP as le,F as de,an as w,dQ as
|
|
|
52
52
|
flex: 1 1 auto;
|
|
53
53
|
height: 1px;
|
|
54
54
|
width: 100%;
|
|
55
|
-
`;function We({kind:e,isScrolling:n}){switch(e){case"section_separator":return t.jsx(Ie,{isScrolling:n});case"account_separator":return t.jsx(Le,{"data-testid":
|
|
55
|
+
`;function We({kind:e,isScrolling:n}){switch(e){case"section_separator":return t.jsx(Ie,{isScrolling:n});case"account_separator":return t.jsx(Le,{"data-testid":j("account-separator",e)})}}const Le=()=>t.jsx(Se,{children:t.jsx(Pe,{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 Lt(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 _t(){return!0}const _e=a.div`
|
|
56
56
|
display: flex;
|
|
57
57
|
flex-direction: column;
|
|
58
58
|
height: ${e=>e.heightValue}px;
|
|
@@ -119,24 +119,24 @@ import{V as t,aQ as E,bV as f,o,ac as y,ab as re,dP as le,F as de,an as w,dQ as
|
|
|
119
119
|
color: ${e=>e.theme.colors.hero};
|
|
120
120
|
width: ${u.leftLabelWidth}px;
|
|
121
121
|
min-width: ${u.leftLabelWidth}px;
|
|
122
|
-
`,
|
|
122
|
+
`,Oe=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
|
-
`,
|
|
128
|
+
`,Qe=a(w)`
|
|
129
129
|
width: ${u.bankBalanceWidth}px;
|
|
130
130
|
min-width: ${u.bankBalanceWidth}px;
|
|
131
131
|
text-align: right;
|
|
132
|
-
`,
|
|
132
|
+
`,Me=a.div`
|
|
133
133
|
width: ${u.bankBalanceRightWidth}px;
|
|
134
134
|
min-width: ${u.bankBalanceRightWidth}px;
|
|
135
|
-
`,
|
|
135
|
+
`,Ue=a(w)`
|
|
136
136
|
width: ${u.clearedBalanceWidth}px;
|
|
137
137
|
min-width: ${u.clearedBalanceWidth}px;
|
|
138
138
|
text-align: right;
|
|
139
|
-
`,
|
|
139
|
+
`,Fe=a(w)`
|
|
140
140
|
width: ${u.statusWidth}px;
|
|
141
141
|
min-width: ${u.statusWidth}px;
|
|
142
142
|
height: 1px;
|
|
@@ -179,11 +179,11 @@ import{V as t,aQ as E,bV as f,o,ac as y,ab as re,dP as le,F as de,an as w,dQ 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
|
+
`,Ke=a.div`
|
|
183
183
|
display: flex;
|
|
184
184
|
flex-direction: row;
|
|
185
185
|
align-items: center;
|
|
186
|
-
`,
|
|
186
|
+
`,Xe=a.div`
|
|
187
187
|
display: flex;
|
|
188
188
|
flex-direction: column;
|
|
189
189
|
align-items: center;
|
|
@@ -196,7 +196,7 @@ import{V as t,aQ as E,bV as f,o,ac as y,ab as re,dP as le,F as de,an as w,dQ as
|
|
|
196
196
|
color: ${g.success};
|
|
197
197
|
`,G=a(S)`
|
|
198
198
|
color: ${g.success};
|
|
199
|
-
`,et=a(
|
|
199
|
+
`,et=a(je)`
|
|
200
200
|
width: ${o.sp3};
|
|
201
201
|
height: ${o.sp3};
|
|
202
202
|
color: ${g.success};
|
|
@@ -233,7 +233,7 @@ import{V as t,aQ as E,bV as f,o,ac as y,ab as re,dP as le,F as de,an as w,dQ as
|
|
|
233
233
|
`,st=a(ue)`
|
|
234
234
|
width: ${o.sp3};
|
|
235
235
|
height: ${o.sp3};
|
|
236
|
-
`,V=a(
|
|
236
|
+
`,V=a(ye)`
|
|
237
237
|
width: 12px;
|
|
238
238
|
height: 12px;
|
|
239
239
|
color: ${e=>e.iconColor.hex()};
|
|
@@ -241,22 +241,22 @@ import{V as t,aQ as E,bV as f,o,ac as y,ab as re,dP as le,F as de,an as w,dQ as
|
|
|
241
241
|
`,$=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
|
-
`,
|
|
248
|
+
`,K=a(w)`
|
|
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
|
+
`,M=a(S)`
|
|
256
256
|
color: ${e=>e.textColor.hex()};
|
|
257
|
-
`,
|
|
257
|
+
`,U=a(S)`
|
|
258
258
|
color: ${e=>e.textColor.hex()};
|
|
259
|
-
`,
|
|
259
|
+
`,F=a.div`
|
|
260
260
|
display: flex;
|
|
261
261
|
flex-direction: row;
|
|
262
262
|
align-items: center;
|
|
@@ -280,11 +280,11 @@ import{V as t,aQ as E,bV as f,o,ac as y,ab as re,dP as le,F as de,an as w,dQ as
|
|
|
280
280
|
flex-direction: row;
|
|
281
281
|
align-items: center;
|
|
282
282
|
justify-content: center;
|
|
283
|
-
`,xt=a(
|
|
283
|
+
`,xt=a(X)`
|
|
284
284
|
width: ${o.sp3};
|
|
285
285
|
height: ${o.sp3};
|
|
286
286
|
margin-top: 2px;
|
|
287
|
-
`,pt=a(
|
|
287
|
+
`,pt=a(X)`
|
|
288
288
|
width: ${o.sp3};
|
|
289
289
|
height: ${o.sp3};
|
|
290
290
|
`,ht=a(Y)`
|
|
@@ -295,4 +295,4 @@ import{V as t,aQ as E,bV as f,o,ac as y,ab as re,dP as le,F as de,an as w,dQ as
|
|
|
295
295
|
width: ${o.sp3};
|
|
296
296
|
height: ${o.sp3};
|
|
297
297
|
margin-top: 2px;
|
|
298
|
-
`,{expenseAutomation:{accountRecon:{reconciliation:r}},common:{strings:{hyphen:h,percentage:mt}}}=de.getLocalizedStrings();function Bt({height:e,accountRecon:n,isLastRow:i,isSelectedRow:c,index:l,onReviewClicked:d,onOpenDrawerClicked:s,onConnectClicked:m,onReconnectClicked:k,onStatementAddClicked:P}){const B=pe(),W=I(),v=n.accountReconEntity.account.accountName,j=n.accountReconEntity.balance,N=n.accountReconEntity.clearedBalance,ne=n.accountReconEntity.variance,oe=n.accountReconEntity.variancePercentage,ae=()=>{m?.(n.accountReconEntity.account.accountId)},ie=()=>{k?.(n.accountReconEntity.account.accountId)},ce=()=>{P?.(n.accountReconEntity.account.accountId)},z=()=>{d?.(n.accountReconEntity.account.accountId)},[se,D]=we.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(_e,{"data-testid":y("account-recon-row-root-container",l!=null?`index-${l}`:n.accountReconEntity.account.accountId),heightValue:J,isLastRow:i,windowSize:B,isSelectedRow:c,onClick:()=>{se!==!0&&s?.(n.accountReconEntity.account.accountId)},children:[t.jsxs(Ne,{isClickable:!0,"data-testid":y("total-row-container"),heightValue:e,children:[t.jsxs(De,{children:[t.jsx(Ee,{firstLetter:v.charAt(0),color:new x(W.colors.hero),showIcon:!1,showCollapsedIcon:!1,className:"any-text-container"}),t.jsx(Ae,{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(Me,{children:[t.jsx(Oe,{children:t.jsx($t,{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:j,bankConnection:n.accountConnectionStatus,onConnectClicked:ae,onStatementAddClicked:ce,isLoading:T,onReconnectClicked:ie})}),t.jsx(Qe,{children:t.jsx(Tt,{statementStatus:n.accountReconEntity.statementStatus.code,statementParseInProgress:n.statementParseInProgress,connectionInProgress:n.connectionInProgress,bankStatusCode:n.accountConnectionStatus})}),t.jsx(Fe,{children:t.jsx(bt,{clearedBalance:N,isLoading:T})}),t.jsx(ft,{isLoading:T,variance:ne,variancePercentage:oe,reconciliationStatusCode:n.accountReconEntity.reconciliationStatus?.code}),t.jsx(He,{children:t.jsx(ze,{heightValue:e})}),t.jsx(Ue,{onMouseEnter:()=>{D(!0)},onMouseLeave:()=>{D(!1)},children:q==="plaid"?t.jsx(yt,{accountRecon:n,isLoading:T,onReviewClicked:z}):t.jsx(wt,{accountRecon:n,isLoading:T,onReviewClicked:z})})]})]}),t.jsx(We,{kind:"account_separator",isScrolling:!1}),i?t.jsx(Be,{}):null]})}const ft=({variance:e,variancePercentage:n,reconciliationStatusCode:i,isLoading:c})=>{const l=I(),{varianceColor:d,variancePercentageColor:s,variancePercentageContainerColor:m}=jt(l,e,i),k=c?h:e!=null&&e.amount===0?"0%":n!=null?n===0?"0%":`${n.toFixed(2)}${mt}`:h;return t.jsxs(qe,{children:[t.jsx(Je,{textColor:d,className:"any-text-container",children:e==null||c?h:E("0,0",e)}),t.jsx(Ge,{textColor:s,bgColor:m,className:"any-text-container",children:k})]})},jt=(e,n,i,c)=>{let l,d,s;return n!=null&&n.amount===0&&i!=null&&i==="reconciled"?(l=new x(g.success),d=new x(g.success),s=new x(g.successLight)):c===!0?(l=new x(e.colors.primary),d=new x(e.colors.primary),s=new x(e.colors.grey2)):(l=new x(e.colors.hero),d=new x(e.colors.hero),s=new x(e.colors.background)),{varianceColor:l,variancePercentageColor:d,variancePercentageContainerColor:s}},yt=({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,s=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(n)return t.jsx(Ct,{});if(e.accountReconEntity.balanceDataStatus?.code==="not_found"){let m="";return e.accountReconEntity.balance==null&&e.accountReconEntity.clearedBalance==null?m=r.status.balanceNotFound:e.accountReconEntity.balance==null?m=r.status.bankBalanceNotFound:m=r.status.clearedBalanceNotFound,t.jsx(vt,{status:m,tooltipText:s})}if(l==="reconnect"||l==="not_connected")return t.jsx(A,{tooltipText:s,showTooltip:d!=null});if(c==null&&l==="connected"&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(L,{buttonLabel:r.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:s,onClick:i});if(c!=null)switch(c.code){case"save_for_later":case"pending":return t.jsx(L,{buttonLabel:r.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:s,onClick:i});case"reconciled":return t.jsx(_,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:s});case"in_progress":return t.jsx(te,{tooltipText:s});case"failed":return t.jsx(ee,{tooltipText:s});case"reconciled_on_qbo":return t.jsx(_,{isQBO:!0,tooltipText:s});default:return null}else return t.jsx(A,{showTooltip:d!=null,tooltipText:s})},wt=({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,s=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(kt,{code:e.accountReconEntity.statementDataStatus?.code,tooltipText:s,errorMessage:e.accountReconEntity.errorMessage?.errorShort});if(n)return t.jsx(Rt,{});if(c==null&&l&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(L,{buttonLabel:r.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:s,onClick:i});if(c!=null)switch(c.code){case"save_for_later":case"pending":return t.jsx(L,{buttonLabel:r.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:s,onClick:i});case"reconciled":return t.jsx(_,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:s});case"reconciled_on_qbo":return t.jsx(_,{isQBO:!0,tooltipText:s});case"in_progress":return t.jsx(te,{tooltipText:s});case"failed":return t.jsx(ee,{tooltipText:s});default:return null}else return t.jsx(A,{showTooltip:d!=null,tooltipText:s})},L=({buttonLabel:e,isDisabled:n,tooltipText:i,dataTestId:c,onClick:l})=>t.jsx(f,{title:t.jsx(b,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(Xe,{children:t.jsx(fe,{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(b,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(Ke,{children:[t.jsxs(Ye,{children:[t.jsx(et,{}),t.jsx(Ze,{children:n?r.status.reconciledVia:r.status.reconciledBy})]}),n?t.jsx(G,{children:r.status.QBOUser}):e&&t.jsxs(G,{children:[e.firstName," ",e.lastName]})]})}),$t=({bankBalance:e,accountType:n,bankConnection:i,statementStatus:c,lastUpdatedAt:l,fromDrawer:d=!1,onConnectClicked:s,onReconnectClicked:m,isLoading:k,accountId:P,onStatementAddClicked:B,setIsHovering:W})=>{const v=Et(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(at,{children:[t.jsxs(it,{children:[t.jsx(ct,{children:t.jsx(f,{title:t.jsx(b,{tooltipText:j}),placement:"bottom",style:{padding:`2px ${o.sp2}`},children:t.jsx(st,{})})}),t.jsx(C,{className:"any-text-container",children:e!=null?E("0,0",e):h})]}),t.jsx(ot,{"data-testid":y("account-reconciliation-reconnect-button",P),onClick:N=>{N.stopPropagation(),m?.()},children:r.connect.reconnnect})]})}else return i==="connected"||c==="uploaded"?t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(tt,{"data-testid":y("account-reconciliation-connect-button",P),onMouseEnter:()=>{W(!0)},onMouseLeave:()=>{W(!1)},children:t.jsx(re,{controller:v.length>0,children:t.jsx(f,{title:r.tooltips.selectSource,style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(le,{moreIconType:"custom",customIcon:t.jsx(nt,{}),options:v,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:o.sp3,".more-icon":{width:o.sp3,height:o.sp3}})},menuPlacement:"auto",onOptionSelection:j=>{j==="bank_connection"?s?.():j==="statement"&&B?.()},valueToIcon:j=>j==="bank_connection"?t.jsx(xt,{}):j==="statement"?t.jsx(ht,{}):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(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsxs(M,{children:[t.jsx(V,{iconColor:n}),t.jsx(O,{children:t.jsx(Q,{textColor:n,children:r.status.reconciliationFailed})}),t.jsx(U,{children:t.jsx(F,{textColor:n,children:r.status.reconcileViaQBO})})]})})})},vt=({status:e,tooltipText:n})=>{const i=new x(g.brandColorGoldDark);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs($,{children:[t.jsx(V,{iconColor:i}),t.jsxs(M,{children:[t.jsx(O,{children:t.jsx(Q,{textColor:i,children:e})}),t.jsx(U,{children:t.jsx(F,{textColor:i,children:r.status.reconcileViaQBO})})]})]})})},te=({tooltipText:e})=>{const n=I(),i=new x(n.colors.grey1);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:i,children:r.status.autoReconInProgress}),t.jsx(R,{textColor:i,children:r.status.isInProgress})]})})})},Ct=()=>{const e=I(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:n,children:r.status.balanceSyncInProgress}),t.jsx(R,{textColor:n,children:r.status.isInProgress})]})})},Rt=()=>{const e=I(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:n,children:r.status.statementSyncInProgress}),t.jsx(R,{textColor:n,children:r.status.isInProgress})]})})},kt=({code:e,tooltipText:n,errorMessage:i})=>{const c=new x(g.important),l=It(e,"list",i);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs($,{children:[t.jsx(V,{iconColor:c}),t.jsxs(M,{children:[t.jsx(O,{children:t.jsx(Q,{textColor:c,children:l})}),t.jsx(U,{children:t.jsx(F,{textColor:c,children:r.status.failed})})]})]})})},A=({showTooltip:e,tooltipText:n})=>e==!1?t.jsx($,{children:t.jsx(X,{children:h})}):t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsx(X,{children:h})})}),b=({tooltipText:e})=>t.jsxs(rt,{children:[t.jsx(lt,{children:r.tooltips.lastUpdated}),t.jsx(dt,{children:e})]}),Tt=({statementStatus:e,statementParseInProgress:n,bankStatusCode:i,connectionInProgress:c})=>{let l=e==="uploaded"||n===!0?t.jsx(gt,{}):null;return l=i==="connected"||i==="reconnect"||c===!0?t.jsx(pt,{}):l,t.jsx(ut,{className:"bank-icon-container",children:l})};function Et(e){const n=[];return e!=null&&e==="bank"&&n.push({label:r.menu.bankConnection,value:"bank_connection"}),n.push({label:r.menu.statement,value:"statement"}),n}const It=(e,n,i)=>{if(i!=null&&n==="drawer")return i;let c="";switch(e){case"parsing_failed":c=r.status.statementParseError;break;case"validation_failed":c=r.status.statementValidationFailed;break;case"processing_failed":c=r.status.statementProcessingFailed;break;default:c=r.status.statementParseError;break}return n==="drawer"&&(c=c+" "+r.status.failed),c};export{bt as $,Bt as A,Lt as D,Ee as E,It as I,_t as R,u,$t as w,jt as y};
|
|
298
|
+
`,{expenseAutomation:{accountRecon:{reconciliation:r}},common:{strings:{hyphen:h,percentage:mt}}}=de.getLocalizedStrings();function Bt({height:e,accountRecon:n,isLastRow:i,isSelectedRow:c,index:l,onReviewClicked:d,onOpenDrawerClicked:s,onConnectClicked:m,onReconnectClicked:k,onStatementAddClicked:P}){const B=pe(),W=I(),v=n.accountReconEntity.account.accountName,y=n.accountReconEntity.balance,N=n.accountReconEntity.clearedBalance,ne=n.accountReconEntity.variance,oe=n.accountReconEntity.variancePercentage,ae=()=>{m?.(n.accountReconEntity.account.accountId)},ie=()=>{k?.(n.accountReconEntity.account.accountId)},ce=()=>{P?.(n.accountReconEntity.account.accountId)},z=()=>{d?.(n.accountReconEntity.account.accountId)},[se,D]=we.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(_e,{"data-testid":j("account-recon-row-root-container",l!=null?`index-${l}`:n.accountReconEntity.account.accountId),heightValue:J,isLastRow:i,windowSize:B,isSelectedRow:c,onClick:()=>{se!==!0&&s?.(n.accountReconEntity.account.accountId)},children:[t.jsxs(Ne,{isClickable:!0,"data-testid":j("total-row-container"),heightValue:e,children:[t.jsxs(De,{children:[t.jsx(Ee,{firstLetter:v.charAt(0),color:new x(W.colors.hero),showIcon:!1,showCollapsedIcon:!1,className:"any-text-container"}),t.jsx(Ae,{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(Oe,{children:[t.jsx(Qe,{children:t.jsx($t,{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:y,bankConnection:n.accountConnectionStatus,onConnectClicked:ae,onStatementAddClicked:ce,isLoading:T,onReconnectClicked:ie})}),t.jsx(Me,{children:t.jsx(Tt,{statementStatus:n.accountReconEntity.statementStatus.code,statementParseInProgress:n.statementParseInProgress,connectionInProgress:n.connectionInProgress,bankStatusCode:n.accountConnectionStatus})}),t.jsx(Ue,{children:t.jsx(bt,{clearedBalance:N,isLoading:T})}),t.jsx(ft,{isLoading:T,variance:ne,variancePercentage:oe,reconciliationStatusCode:n.accountReconEntity.reconciliationStatus?.code}),t.jsx(He,{children:t.jsx(ze,{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(wt,{accountRecon:n,isLoading:T,onReviewClicked:z})})]})]}),t.jsx(We,{kind:"account_separator",isScrolling:!1}),i?t.jsx(Be,{}):null]})}const ft=({variance:e,variancePercentage:n,reconciliationStatusCode:i,isLoading:c})=>{const l=I(),{varianceColor:d,variancePercentageColor:s,variancePercentageContainerColor:m}=yt(l,e,i),k=c?h:e!=null&&e.amount===0?"0%":n!=null?n===0?"0%":`${n.toFixed(2)}${mt}`:h;return t.jsxs(qe,{children:[t.jsx(Je,{textColor:d,className:"any-text-container",children:e==null||c?h:E("0,0",e)}),t.jsx(Ge,{textColor:s,bgColor:m,className:"any-text-container",children:k})]})},yt=(e,n,i,c)=>{let l,d,s;return n!=null&&n.amount===0&&i!=null&&i==="reconciled"?(l=new x(g.success),d=new x(g.success),s=new x(g.successLight)):c===!0?(l=new x(e.colors.primary),d=new x(e.colors.primary),s=new x(e.colors.grey2)):(l=new x(e.colors.hero),d=new x(e.colors.hero),s=new x(e.colors.background)),{varianceColor:l,variancePercentageColor:d,variancePercentageContainerColor:s}},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,s=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(n)return t.jsx(Ct,{});if(e.accountReconEntity.balanceDataStatus?.code==="not_found"){let m="";return e.accountReconEntity.balance==null&&e.accountReconEntity.clearedBalance==null?m=r.status.balanceNotFound:e.accountReconEntity.balance==null?m=r.status.bankBalanceNotFound:m=r.status.clearedBalanceNotFound,t.jsx(vt,{status:m,tooltipText:s})}if(l==="reconnect"||l==="not_connected")return t.jsx(A,{tooltipText:s,showTooltip:d!=null});if(c==null&&l==="connected"&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(L,{buttonLabel:r.status.review,isDisabled:!1,dataTestId:j("status-button",e.accountReconEntity.account.accountId),tooltipText:s,onClick:i});if(c!=null)switch(c.code){case"save_for_later":case"pending":return t.jsx(L,{buttonLabel:r.status.review,isDisabled:!1,dataTestId:j("status-button",e.accountReconEntity.account.accountId),tooltipText:s,onClick:i});case"reconciled":return t.jsx(_,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:s});case"in_progress":return t.jsx(te,{tooltipText:s});case"failed":return t.jsx(ee,{tooltipText:s});case"reconciled_on_qbo":return t.jsx(_,{isQBO:!0,tooltipText:s});default:return null}else return t.jsx(A,{showTooltip:d!=null,tooltipText:s})},wt=({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,s=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(kt,{code:e.accountReconEntity.statementDataStatus?.code,tooltipText:s,errorMessage:e.accountReconEntity.errorMessage?.errorShort});if(n)return t.jsx(Rt,{});if(c==null&&l&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(L,{buttonLabel:r.status.review,isDisabled:!1,dataTestId:j("status-button",e.accountReconEntity.account.accountId),tooltipText:s,onClick:i});if(c!=null)switch(c.code){case"save_for_later":case"pending":return t.jsx(L,{buttonLabel:r.status.review,isDisabled:!1,dataTestId:j("status-button",e.accountReconEntity.account.accountId),tooltipText:s,onClick:i});case"reconciled":return t.jsx(_,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:s});case"reconciled_on_qbo":return t.jsx(_,{isQBO:!0,tooltipText:s});case"in_progress":return t.jsx(te,{tooltipText:s});case"failed":return t.jsx(ee,{tooltipText:s});default:return null}else return t.jsx(A,{showTooltip:d!=null,tooltipText:s})},L=({buttonLabel:e,isDisabled:n,tooltipText:i,dataTestId:c,onClick:l})=>t.jsx(f,{title:t.jsx(b,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(Ke,{children:t.jsx(fe,{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(b,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(Xe,{children:[t.jsxs(Ye,{children:[t.jsx(et,{}),t.jsx(Ze,{children:n?r.status.reconciledVia:r.status.reconciledBy})]}),n?t.jsx(G,{children:r.status.QBOUser}):e&&t.jsxs(G,{children:[e.firstName," ",e.lastName]})]})}),$t=({bankBalance:e,accountType:n,bankConnection:i,statementStatus:c,lastUpdatedAt:l,fromDrawer:d=!1,onConnectClicked:s,onReconnectClicked:m,isLoading:k,accountId:P,onStatementAddClicked:B,setIsHovering:W})=>{const v=Et(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 y=l!=null?`${l.utc(!0).fromNow()}`:h;return t.jsxs(at,{children:[t.jsxs(it,{children:[t.jsx(ct,{children:t.jsx(f,{title:t.jsx(b,{tooltipText:y}),placement:"bottom",style:{padding:`2px ${o.sp2}`},children:t.jsx(st,{})})}),t.jsx(C,{className:"any-text-container",children:e!=null?E("0,0",e):h})]}),t.jsx(ot,{"data-testid":j("account-reconciliation-reconnect-button",P),onClick:N=>{N.stopPropagation(),m?.()},children:r.connect.reconnnect})]})}else return i==="connected"||c==="uploaded"?t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(tt,{"data-testid":j("account-reconciliation-connect-button",P),onMouseEnter:()=>{W(!0)},onMouseLeave:()=>{W(!1)},children:t.jsx(re,{controller:v.length>0,children:t.jsx(f,{title:r.tooltips.selectSource,style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(le,{moreIconType:"custom",customIcon:t.jsx(nt,{}),options:v,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:o.sp3,".more-icon":{width:o.sp3,height:o.sp3}})},menuPlacement:"auto",onOptionSelection:y=>{y==="bank_connection"?s?.():y==="statement"&&B?.()},valueToIcon:y=>y==="bank_connection"?t.jsx(xt,{}):y==="statement"?t.jsx(ht,{}):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(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsxs(O,{children:[t.jsx(V,{iconColor:n}),t.jsx(Q,{children:t.jsx(M,{textColor:n,children:r.status.reconciliationFailed})}),t.jsx(F,{children:t.jsx(U,{textColor:n,children:r.status.reconcileViaQBO})})]})})})},vt=({status:e,tooltipText:n})=>{const i=new x(g.brandColorGoldDark);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs($,{children:[t.jsx(V,{iconColor:i}),t.jsxs(O,{children:[t.jsx(Q,{children:t.jsx(M,{textColor:i,children:e})}),t.jsx(F,{children:t.jsx(U,{textColor:i,children:r.status.reconcileViaQBO})})]})]})})},te=({tooltipText:e})=>{const n=I(),i=new x(n.colors.grey1);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:i,children:r.status.autoReconInProgress}),t.jsx(R,{textColor:i,children:r.status.isInProgress})]})})})},Ct=()=>{const e=I(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:n,children:r.status.balanceSyncInProgress}),t.jsx(R,{textColor:n,children:r.status.isInProgress})]})})},Rt=()=>{const e=I(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:n,children:r.status.statementSyncInProgress}),t.jsx(R,{textColor:n,children:r.status.isInProgress})]})})},kt=({code:e,tooltipText:n,errorMessage:i})=>{const c=new x(g.important),l=It(e,"list",i);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs($,{children:[t.jsx(V,{iconColor:c}),t.jsxs(O,{children:[t.jsx(Q,{children:t.jsx(M,{textColor:c,children:l})}),t.jsx(F,{children:t.jsx(U,{textColor:c,children:r.status.failed})})]})]})})},A=({showTooltip:e,tooltipText:n})=>e==!1?t.jsx($,{children:t.jsx(K,{children:h})}):t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsx(K,{children:h})})}),b=({tooltipText:e})=>t.jsxs(rt,{children:[t.jsx(lt,{children:r.tooltips.lastUpdated}),t.jsx(dt,{children:e})]}),Tt=({statementStatus:e,statementParseInProgress:n,bankStatusCode:i,connectionInProgress:c})=>{let l=e==="uploaded"||n===!0?t.jsx(gt,{}):null;return l=i==="connected"||i==="reconnect"||c===!0?t.jsx(pt,{}):l,t.jsx(ut,{className:"bank-icon-container",children:l})};function Et(e){const n=[];return e!=null&&e==="bank"&&n.push({label:r.menu.bankConnection,value:"bank_connection"}),n.push({label:r.menu.statement,value:"statement"}),n}const It=(e,n,i)=>{if(i!=null&&n==="drawer")return i;let c="";switch(e){case"parsing_failed":c=r.status.statementParseError;break;case"validation_failed":c=r.status.statementValidationFailed;break;case"processing_failed":c=r.status.statementProcessingFailed;break;default:c=r.status.statementParseError;break}return n==="drawer"&&(c=c+" "+r.status.failed),c};export{bt as $,Bt as A,Lt as D,Ee as E,It as I,_t as R,u,$t as w,yt as y};
|