@zeniai/web-cockpit-ui 1.15.20-qa → 1.15.21-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-NT6Enz2K-4oc8TmZ-.js → ACHDetailsPage-D-0onfNp-C9k3O3pp.js} +2 -2
- package/dist/assets/{AIPerformancePage-DGkOApsY-DnXVTP78.js → AIPerformancePage-BtDm0Ze4-DZEN59Xl.js} +12 -12
- package/dist/assets/{AccountInfoPage-zFNrlfdY-DO-SsXEM.js → AccountInfoPage-CoX9n6HX-BMht_7se.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-Cc_ou_Ce-ylsR1Otf.js → AccountInfoPageContent-DO-wTXIZ-BblSZw9v.js} +8 -8
- package/dist/assets/AccountLockedInfoModal-BQyFAsoa-CBXGIQg5.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-BecyMBvC-BCAXdTUK.js → AccountReconDetailsDrawerPage-DQ9qT2fa-Bq8L8KQ2.js} +3 -3
- package/dist/assets/{AccountRow-D9RFsvgP-CvokbZuq.js → AccountRow-CGDnBStW-bN09F9FO.js} +13 -13
- package/dist/assets/{AccountsPromoCardStack-69-pb14d-DpiqxzDb.js → AccountsPromoCardStack-D8FXXEQ--CrxXHIjA.js} +23 -23
- package/dist/assets/AddAddressForCardDrawer-CaymaAix-BGPjE_QS.js +6 -0
- package/dist/assets/{AddToWalletPage-BY_IniJ7-DjKvlSW1.js → AddToWalletPage-CcHrKp-a-C0eEI2a7.js} +11 -11
- package/dist/assets/{AgingReportsPage-BroFDSmq-B6efQRQy.js → AgingReportsPage-Dxl6B22u-DaqStOTr.js} +3 -3
- package/dist/assets/{AllUserItems-v6JpT0CS-CFQN5dE6.js → AllUserItems-CCPAoEp2-DjpD9Xrt.js} +6 -6
- package/dist/assets/{ApAgingDetailPage-BAIU_dPa-lJsl6gjH.js → ApAgingDetailPage-CdSbgXOq-L0XZitjk.js} +7 -7
- package/dist/assets/{AppBasePage-D4hhPQP--DbP_rXuP.js → AppBasePage-B9nTsGKZ-ZlOxnLqs.js} +14 -14
- package/dist/assets/{AppDrawerContent-BNHIYc2R-C4Nvj9wI.js → AppDrawerContent-BgfMutin-B9y-Rt0B.js} +5 -5
- package/dist/assets/{ApprovalRulesSettingsPage-Cmfja-jh-MzuIHQNP.js → ApprovalRulesSettingsPage-BDXTo6IN-C5MYLVfw.js} +3 -3
- package/dist/assets/{ArAgingChart-B-4CGh62-BulOoX77.js → ArAgingChart-Rzj2ENYe-DJGaYLBW.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-Dccqp1bb-B65Vsph2.js → ArAgingDetailPage-qk_f2Lby-EXoxASdg.js} +6 -6
- package/dist/assets/{AttachmentView-BFg-facO-DH8F_doe.js → AttachmentView-NA4ajEO5-Cen-R8ko.js} +5 -5
- package/dist/assets/{BankAccountSection-ClVZgEVM-BzLAN6Pb.js → BankAccountSection-BBDMIckQ-C2Ft-fVx.js} +4 -4
- package/dist/assets/{BankAccountWarningSection-CgbmC-_k-DDg7YJoF.js → BankAccountWarningSection-BkcjTRzD-chDtQIxj.js} +8 -8
- package/dist/assets/{BankConnectionsSettingsPage-CglsQLlv-Bb4CIBVW.js → BankConnectionsSettingsPage-SAXICBPz-D9rqZ_Qi.js} +9 -9
- package/dist/assets/{BillDetailPage-D0LDeogI-C1DKlMDf.js → BillDetailPage-DwmlUFiU-_QtXVsJJ.js} +11 -11
- package/dist/assets/{BillPayApprovalRuleDetailPage-BboDRhU8-uZ1b3J65.js → BillPayApprovalRuleDetailPage-CQwCAZ6I-C9vTAYGf.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-k7yZT6Aa-ePuExfV0.js → BillPayApprovalRulesPage-D-LIGLjH-BCNc5iFY.js} +5 -5
- package/dist/assets/{BillPayPromoPage-BRnUu-kE-95JlyUsa.js → BillPayPromoPage-DI-WqAOW-CEoC82U3.js} +3 -3
- package/dist/assets/{BillPaySetUpPage-B8PBBo-b-hn0XRJL3.js → BillPaySetUpPage-Boyxam-q-DiL8bgbr.js} +2 -2
- package/dist/assets/{BillingSettingsPage-ow2vqc0J-c5uhYEoF.js → BillingSettingsPage-toTRmFUP-4JAMyFKy.js} +9 -9
- package/dist/assets/{BillsBulkReviewDrawerPage-CrlrKA86-CGuSuWgG.js → BillsBulkReviewDrawerPage-BD-XMVaP-Bk4-kz7v.js} +1 -1
- package/dist/assets/{BoxItem-G87i4jj9-BUb8qalV.js → BoxItem-DptPNfuL-C18anTmL.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-4fFmKc7t-Bfq8XR58.js → BusinessVerificationPage-Bw7LFK-C-Cj54N_-a.js} +7 -7
- package/dist/assets/{CardNumberSubText-CtZArtEN-UWXiKW5z.js → CardNumberSubText-DBFaTSBz-BT0dCFU5.js} +2 -2
- package/dist/assets/{CashbackDetailPage-CfvxIALP-B67kuppO.js → CashbackDetailPage-jyi25yaY-Bx0LFB5U.js} +21 -21
- package/dist/assets/{ChargeCardDetailPage-BZ71Xjy0-BpzB8P9U.js → ChargeCardDetailPage-Be6-Tdta-BZ75lfCR.js} +35 -35
- package/dist/assets/{ChargeCardListPage-DhpsoPyr-xRAzdKZV.js → ChargeCardListPage-DKA4Mryr-v3mrNeh0.js} +15 -15
- package/dist/assets/{ChargeCardListTable-CX3OTq9R-uxTfaweT.js → ChargeCardListTable-BmnTn4MG-DnXnmLbj.js} +42 -42
- package/dist/assets/{ChargeCardPaymentHistoryPage-C8A6B2vX-CIyafxR8.js → ChargeCardPaymentHistoryPage-DVRPShso-7dJGNTzp.js} +21 -21
- package/dist/assets/ChargeCardPromoPage-ZCAv99Ei-DCVTccpk.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-BAuI0rqI-nWXkZsw9.js → ChargeCardSetupPage-BwXrEbVo-iLmvJUzo.js} +4 -4
- package/dist/assets/{ChargeCardStatementsPage-Dx8lKcHY-BI7Mj2hW.js → ChargeCardStatementsPage-BK-hozIV-YqfgQ8AG.js} +6 -6
- package/dist/assets/{CheckDepositDrawerPage-W5m8Sw63-DIz3nWF_.js → CheckDepositDrawerPage-CYkFe1ox-Df8MfCKx.js} +11 -11
- package/dist/assets/{CollapsableReportTable-DSbtzMAj-BTj-OAyT.js → CollapsableReportTable-DlC0m5Gq-D-jqXkmj.js} +45 -45
- package/dist/assets/{CompanyOfficerDetailsSection-xhVDV0e_-DK_c9DLl.js → CompanyOfficerDetailsSection-DzPudfa8-DYnIo0oO.js} +1 -1
- package/dist/assets/{CompanyPassportCard-DZxcLBPK-KcbP1Cpk.js → CompanyPassportCard-B5jodI1Z-C-mXe3TC.js} +5 -5
- package/dist/assets/{CompanyPassportPage-C4ETRbuP-C63iq8tM.js → CompanyPassportPage-DJOJ3jDw-7L6-GOtw.js} +26 -26
- package/dist/assets/{CompleteProfile-DxWzl2v_-DCStVb2F.js → CompleteProfile-CfNuOYX6-BCaKTZO0.js} +1 -1
- package/dist/assets/ConfettiBurst-BYI1XUQL-iPkeMTxA.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-DHFAbXWO.js → ConstrainedInnerElement-BeIpAPjB-DAQ27BAe.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-BqMLkILR-Dc4HyaGd.js → CreateOrEditVendorPage-DuoU2sV0-DUaARRBM.js} +17 -17
- package/dist/assets/{CreditCardPaymentDrawerPage-CeysykKv-B_paIi_q.js → CreditCardPaymentDrawerPage-Bea09r9U-JNWIbEQS.js} +13 -13
- package/dist/assets/{CurrencySelectField-D3T5Kpep-B50oTFb_.js → CurrencySelectField-DSayEoor-B_bNAKb6.js} +2 -2
- package/dist/assets/{CustomerOnboardingActivationPage-IoLmmpzZ-CToGz6nm.js → CustomerOnboardingActivationPage-DkXMThN5-CQSGZPba.js} +5 -5
- package/dist/assets/CustomerOnboardingContainerPage-CbrKONhr-480TX1AZ.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CQ_jMnjx-BmhxqS8D.js → CustomerOnboardingDetailPageSkeleton-C6CxRdPR-CCRIGBSk.js} +15 -15
- package/dist/assets/{CustomerOnboardingNoStepsPage-9EVXNqI--B8I5d1Ym.js → CustomerOnboardingNoStepsPage-CXdw95hv-XLkNBByk.js} +8 -8
- package/dist/assets/{CustomerOnboardingPage-B66vhEZb-8tAH4Tt9.js → CustomerOnboardingPage-BfktNnfn-CAFgz40R.js} +9 -9
- package/dist/assets/{CustomerOnboardingProductSuitePage-C_gpLXB6-CQUYf72h.js → CustomerOnboardingProductSuitePage-Cp5U5QLX-E9asvyy_.js} +8 -8
- package/dist/assets/{Dashboard-YE9mF9nk-CLYrpUZC.js → Dashboard-DsmygPse-CpqOgCaI.js} +1 -1
- package/dist/assets/{DashboardReportPage-DVB5rnu_-bvHNMeRC.js → DashboardReportPage-CO50XhSN-C2lNF_5-.js} +16 -16
- package/dist/assets/{DashboardSidebarBackgroundAnimation-Dpqnzw8--Bpm_skon.js → DashboardSidebarBackgroundAnimation-CgZd_J4a-H9qYzK_i.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-C15CMLyX-DIaPRpRa.js → DepositAccTransactionItem-CURckRWv-x8AWIWHJ.js} +2 -2
- package/dist/assets/DepositAccTransactionListPage-K0UYTv8s-r1FJC6G6.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-D5Eeex8I-WxigiLND.js → DomesticWireDetailsPage-BOb4FGaY-Dj1VQabl.js} +1 -1
- package/dist/assets/{DownloadOverlay-BDyXP4Jc-DygHiQ-H.js → DownloadOverlay-DyTWX48F-D3llQS1J.js} +1 -1
- package/dist/assets/{DrawerPage-BfT7DpjC-B_Ebcn6J.js → DrawerPage-AI0YTdml-DIYBhUHt.js} +11 -11
- package/dist/assets/EditPeoplePage-Cid-kBGF-CVmCOG7v.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-DjgB82b7-KRImnEN1.js → EditReimbursementDetailPage-U-qCHgNL-C-8aQwax.js} +61 -61
- package/dist/assets/EntityDetailPage-DJ-NoWZp-KWWz2API.js +18 -0
- package/dist/assets/{EntitySummarySection-BOXgFv27-DFJ4OS8S.js → EntitySummarySection-JKTCWCM--BLJ7EVz8.js} +6 -6
- package/dist/assets/{ExpenseAutomationOverviewPage-CBH6RxR6-BrCzv88j.js → ExpenseAutomationOverviewPage-CtzbDY1R-DltKAQBY.js} +15 -15
- package/dist/assets/{ExpenseAutomationPage-ZcrtYJn8-CNZ8Dore.js → ExpenseAutomationPage-Dbl9svfW-BSTaegnJ.js} +33 -33
- package/dist/assets/{ExpressPayPage-BAkWRXjv-Ba2_uQb0.js → ExpressPayPage-SuuEp7gX-ILk1R0CN.js} +11 -11
- package/dist/assets/{FeaturePreviewPage-CiwptZF9-Dnc93PAQ.js → FeaturePreviewPage-BiTQ7ApT-CjIWVMtR.js} +1 -1
- package/dist/assets/{FollowStepsSection-BM_fxalw-DFRgJSkK.js → FollowStepsSection-DMG7Wn5E-DappWTWv.js} +9 -9
- package/dist/assets/{GlobalReviewListPage-BsACt_VJ-BdBSLqTx.js → GlobalReviewListPage-DgUd_tpR-BFljQ3Tt.js} +10 -10
- package/dist/assets/{InformationCardStack-BHE0IlOx-BkLu-ea_.js → InformationCardStack-BBDImI5u-DNlgxMyJ.js} +6 -6
- package/dist/assets/{InsightsCardStack-GJuFdS2m-BK56mBBg.js → InsightsCardStack-BXSLSXMd-BGhngG5g.js} +10 -10
- package/dist/assets/{InsightsSection-BxPB_NJF-DeP8Z0gB.js → InsightsSection-DtP4W8UU-A6lML2eL.js} +3 -3
- package/dist/assets/{IntegrationsSettingsPage-BQ8vCNaC-CjDLC1Am.js → IntegrationsSettingsPage-BY1xz3JF-CWjU8dG6.js} +10 -10
- package/dist/assets/{InternationalWireSwiftDetailsPage-ChpsNwAV-BxnQjnfc.js → InternationalWireSwiftDetailsPage-DyVP5Ofl-DPVWlDfF.js} +12 -12
- package/dist/assets/{InternationalWireVerificationPage-6_EZwOrK-tDLWY8T8.js → InternationalWireVerificationPage-Qlo7yzVk-CHs51JvL.js} +8 -8
- package/dist/assets/{InviteFormPage-Cm52PFv9-Co8KMpFR.js → InviteFormPage-C84N6Lc2-CFeM7Apo.js} +24 -24
- package/dist/assets/{InvitePageListView-QUZg8U6W-chgmZ6mB.js → InvitePageListView-CMhXy-j--DmIhXivG.js} +58 -58
- package/dist/assets/InvitePeoplePage-qpkCHm6B-Rd9fJoj4.js +12 -0
- package/dist/assets/{InvoiceUploadSection-4uu3l-_9-UWOh7Vlk.js → InvoiceUploadSection-DkOhI_Bg-Cnnz0j80.js} +20 -20
- package/dist/assets/{IssueChargeCardPage-CykqTbZn-CnvoLCF7.js → IssueChargeCardPage-BqzqCwAC-V4FMh90o.js} +23 -23
- package/dist/assets/{LabeledAddressValue-BIa72RS0-D2pE-JJd.js → LabeledAddressValue-DgMH266J-BQOmmcdA.js} +2 -2
- package/dist/assets/{LabeledAddressValueField-B8vUdw5X-BYQaajBO.js → LabeledAddressValueField-BNDFFbl6-CCDUdWDR.js} +3 -3
- package/dist/assets/LabeledControlledCheckBoxField-DqGuuG0x-D8OEAkPv.js +16 -0
- package/dist/assets/{LabeledCreatableSingleSelectField-7qh_QQuc-C0tVGxt7.js → LabeledCreatableSingleSelectField-Dd0jXJEG-e_i2KU-Q.js} +13 -13
- package/dist/assets/LabeledDocumentField-soYO3Vkb-CTJrFmRh.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-BrGwb_uK-DkdMuF_x.js → LabeledDropDownFormattedTextField-BXhlcMj3-C5XGKrwW.js} +7 -7
- package/dist/assets/{LabeledText-QOAkVa8J-BNu47IyO.js → LabeledText-sPkKF2Ke-DZ0FX8RE.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DzN0zQ-n-BOAJcJZf.js → LabeledUserSingleSelectWithSubtitlesField-oGpbhfZl-Dol2RMZ9.js} +7 -7
- package/dist/assets/{LabeledZeniRolesDropDownField-Clh9Cjuk-B6IjkJMr.js → LabeledZeniRolesDropDownField-WBaP6NAK-nGOTmMP1.js} +20 -20
- package/dist/assets/{LinkJETransactionPage-CwPv0nlT-B-foKMVw.js → LinkJETransactionPage-DWe4hvFk-BTXzCcMh.js} +5 -5
- package/dist/assets/{LockCardPage-CHh1vxsi-fITEMbTw.js → LockCardPage-BFpvk55j-Bil6zDWX.js} +23 -23
- package/dist/assets/{LowBalancePopup-CmlabBgd-CFvPX2NP.js → LowBalancePopup-BhSsmmin-DyQxTceM.js} +5 -5
- package/dist/assets/MagicLinkACHDetailsPage-JBFVxuf2-D3U8OcR7.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-C5tXo9Yb-BBkjKmPV.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-C_NjCMJZ-DFGIeY0d.js +1 -0
- package/dist/assets/MagicLinkSuccessPage-BYNIGXoS-m2oQ_ZTs.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-FdcDRHnN-CHsSaBI2.js → MagicLinkTitleSection-DAywgMEo-D8MvAKMK.js} +10 -10
- package/dist/assets/{MailingDetailsSection-BcNpk0Ce-BBtb7_rK.js → MailingDetailsSection-DRQnwOna-D_J_t9yj.js} +6 -6
- package/dist/assets/{MyBankConnectionsSettingsPage-Doi9tH5g-DRtE-jXz.js → MyBankConnectionsSettingsPage-CcGxX2ZR-Dqj3KlT0.js} +8 -8
- package/dist/assets/MyPendingActivationChargeCardListPage-MbUzd562-CehCYZ-E.js +6 -0
- package/dist/assets/{MyProfileSettingsPage-B2PcUlKr-C4-mj1pf.js → MyProfileSettingsPage-C5yCIdIL-DhZ1MEDH.js} +9 -9
- package/dist/assets/{NavBarWithPicker-47lGnOUJ-Jm0FF-Xz.js → NavBarWithPicker-C_IBxMUA-BvmeJe_V.js} +5 -5
- package/dist/assets/{NavigationArrow-Bc98mDow-CBlo9jjH.js → NavigationArrow-I1l5PEMd-DKLtgPbD.js} +1 -1
- package/dist/assets/{NavigationDots-B6QtTUea-CDta4n_x.js → NavigationDots-DbtOiTYP-AUuNQlfd.js} +3 -3
- package/dist/assets/{NewGlobalMerchantPage-l7vvjRRM-CfF6W4-c.js → NewGlobalMerchantPage-DuU_ab63-Bh_hgpNi.js} +33 -33
- package/dist/assets/{NoDataChart-C-dDAIve-cO5UvGXP.js → NoDataChart-CLVyYBfd-DwjUa4PO.js} +3 -3
- package/dist/assets/NoDataTable-CP5vFrN--k0gjpZel.js +8 -0
- package/dist/assets/{NotFoundPage-CnaP1ABc-DhiBEYtF.js → NotFoundPage-N4-ds_TK-BeVNrJaW.js} +3 -3
- package/dist/assets/{NotificationSettingsPage-ClE6Laa0-CfYSEIu4.js → NotificationSettingsPage-DxL5oOKA-D5Nez8nj.js} +28 -28
- package/dist/assets/{NotificationsListConfig-CbLnZa67-Bp91_VIQ.js → NotificationsListConfig-BUEMj_nN-B8f5GUIA.js} +1 -1
- package/dist/assets/{NotificationsPage-0kHd1Zz8-iLM2q2ss.js → NotificationsPage-CPwLrdcO-IYk2127W.js} +15 -15
- package/dist/assets/{OpExByVendorPage-OglN_NyF-CQLy68My.js → OpExByVendorPage-CEexczJv-jBGEkPRa.js} +5 -5
- package/dist/assets/OverlayContainerPage-D4QU0p4o-BQ4BeGDx.js +11 -0
- package/dist/assets/{PandLWithForecastPage-ChSngwUR-h08aTnXs.js → PandLWithForecastPage-Dp6MnTZ_-BeMHuvRt.js} +11 -11
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-BBcI6orE-DofVN_ye.js → PaymentAccountSetupBillingAddressSection-DbnK54BN-1uwXhzq0.js} +5 -5
- package/dist/assets/{PeoplePage-C65TAG6F-Dq8YFFaT.js → PeoplePage-rlyomO8Q-BzFVEMCq.js} +18 -18
- package/dist/assets/{Preview-B5nCs2aF.js → Preview-zDwC-Mdb.js} +1 -1
- package/dist/assets/{ProductsCarousel-MWJmuQG1-CRkab1Vy.js → ProductsCarousel-CxhAwG_I-Dp9gM3Lf.js} +1 -1
- package/dist/assets/{PromoBaseCards-DG-4_luF-DlwConRT.js → PromoBaseCards-_Ujfaxp0-B9uS9GAO.js} +3 -3
- package/dist/assets/{QBOConnectionDialog-Ay4Pfbb9-CQINjWGp.js → QBOConnectionDialog-CYWm2ryd-wk9azdId.js} +3 -3
- package/dist/assets/{QBOSetupSection-C7bKopiw-ranWGadL.js → QBOSetupSection-C7X1UDAC-DnMF40gq.js} +11 -11
- package/dist/assets/ReimbursementApprovalRuleDetailPage-CRa-PKxm-DYUBHnrY.js +32 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-CwmSBeim-DODC7_aY.js → ReimbursementApprovalRulesPage-DPT__VQD-ypctWr92.js} +5 -5
- package/dist/assets/{ReimbursementDetailPage-D9ycauwA-BtA0JiJ8.js → ReimbursementDetailPage-DMKlEFLs-DYsBeIdx.js} +13 -13
- package/dist/assets/{ReimbursementPromoPage-Cg4eTjln-CMuqEFtI.js → ReimbursementPromoPage-C9YXyEBI-DaAGfD6d.js} +8 -8
- package/dist/assets/{ReimbursementSetUpPage-DfQHDiFr-DLzAkOps.js → ReimbursementSetUpPage-CBBl7gS1-B_l5k8wM.js} +7 -7
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-45yy6zu5-CEZ2MmFx.js → ReimbursementsBulkReviewDrawerPage-e-uHzgDg-CVbV0E_G.js} +1 -1
- package/dist/assets/{ReloadCard-By3AowEq-DL-yeRz6.js → ReloadCard-C9idTWk--DmDjU_3J.js} +6 -6
- package/dist/assets/{ReportTableViewSelector-C7jqqd0a-B8WUGhWR.js → ReportTableViewSelector-BROhyU1t-CyVHaa6d.js} +29 -29
- package/dist/assets/{ReportsPage-E_2EHKAE-B8VJ6Eg8.js → ReportsPage-CA3EmmZB-CmFAzArW.js} +7 -7
- package/dist/assets/{RevenueChart-DK5_X8cX-Bid6hV5m.js → RevenueChart-AnQ7FJT4-Bn6hcxHD.js} +16 -16
- package/dist/assets/{ReviewDetailsPage-CdG4Jkv2-mCzIijOB.js → ReviewDetailsPage-BG4fsNht-BM66oa-4.js} +14 -14
- package/dist/assets/{ReviewOverlay-DFC79g0A-j2rNvqbj.js → ReviewOverlay-BpwCrUbt-B3YI7XQE.js} +18 -18
- package/dist/assets/{RoleWithToolTip-B0JWC_SV-3-51ao4G.js → RoleWithToolTip-DlIcPRiy-BZiIkkuy.js} +3 -3
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-DMks3oWk-CQUGYRoc.js → ScheduleDetailsFixedAssetsPage-Mp6f4ulg-B4DkyQe2.js} +13 -13
- package/dist/assets/{ScheduleDetailsPage-DIjRnKIE-xMd0XHdQ.js → ScheduleDetailsPage-Cb4aPlCE-DtRbCNdw.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-BjPKuQfH-BLhHxfei.js → ScheduleSequenceTable-B5UzjfQJ-CohQLorF.js} +35 -35
- package/dist/assets/{ScreenRoutes-BJLOc-FM.js → ScreenRoutes-CESGjGBQ.js} +1 -1
- package/dist/assets/{SetUpAccountSection-CFVDUb2a-D6Plx45d.js → SetUpAccountSection-C2S4lXbj-DV6itvpB.js} +8 -8
- package/dist/assets/{SignIn-CGySLsg7-DZBfdXkm.js → SignIn-oNZZn9gU-CKiAoPL8.js} +10 -10
- package/dist/assets/SignInScreen-C3RfRRHQ.js +1 -0
- package/dist/assets/{SpendManagementListViewPage-dO6dKd5h-s19udDaF.js → SpendManagementListViewPage-DFBE2GEM-C70cx34_.js} +7 -7
- package/dist/assets/{SpendManagementPerTabPage-B39fFZko-DBJh4iWj.js → SpendManagementPerTabPage-CIu5TvHQ-Di6DnBJ9.js} +34 -34
- package/dist/assets/{SpendManagementSection-BiaaUF2E-BUFA5rcE.js → SpendManagementSection-CSAz_hUa-DDntL5fz.js} +13 -13
- package/dist/assets/StatementItem-DYoVBRQy-D0Fb6wPQ.js +31 -0
- package/dist/assets/StatementsPage-DFebgwXz-hYSxDW7A.js +58 -0
- package/dist/assets/{StatusSwitcher-DSYj3PS_-CqroYqlb.js → StatusSwitcher-gbjjpKf_-BRXriWJW.js} +1 -1
- package/dist/assets/{SubTabSwitcher-OqdKA7V1-C6-mYQci.js → SubTabSwitcher-BD8D4sY1-X8PTG1cG.js} +1 -1
- package/dist/assets/{SummaryCard-DhRtJkhC-D4FVHj0I.js → SummaryCard-Bq19bNV9-BS55agV6.js} +1 -1
- package/dist/assets/{TaskManagementPage-BvGD5ccB-BuMzo03m.js → TaskManagementPage-ClNSi-hI-9cDfn5e_.js} +19 -19
- package/dist/assets/{TimeRangeSwitcher-DDWfAebm-DK5wyiVE.js → TimeRangeSwitcher-XsW1b5lq-GdV-FQxt.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-DNA6_eZb-CLoVUYKt.js → TimeframeSwitcher-DlG05Fns-B9Zld-FV.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-Bd5xmXK7-oVa0JPjf.js → TimeframeSwitcherWithToggle-Cw2jBfJA-CbfeEGNc.js} +2 -2
- package/dist/assets/{TopExCard-En4ylTQ3-DowqTYCY.js → TopExCard-Cotaxo42-Cy8_lPHz.js} +12 -12
- package/dist/assets/{TopExDetailPage-Coive81d-BUGD143R.js → TopExDetailPage-Ck80cdUY-Z-VV3zAK.js} +10 -10
- package/dist/assets/{TransactionActivityLogPage-WE28x9RN-Cj1gdYEF.js → TransactionActivityLogPage-Bon4QVXv-mDjoPctQ.js} +1 -1
- package/dist/assets/{TransactionDetailPage-BbqIgtCd-6dxRocdn.js → TransactionDetailPage-BKA0c1Hd-DSSbQ-4O.js} +26 -26
- package/dist/assets/{TransactionList-CSBjcmxc-CWYz14AQ.js → TransactionList-C9w_immd-BCqz6TM9.js} +15 -15
- package/dist/assets/{TransactionListBig-CI1FCFcx-DQLdKfsS.js → TransactionListBig-mbfs4KoW-QvLcI656.js} +7 -7
- package/dist/assets/{TransactionListPage-CJcrJoU2-B2zM9Byg.js → TransactionListPage-CDVN8trz-BlBDWx2S.js} +4 -4
- package/dist/assets/{TransactionVendorDetailPage-CVWvfI3Q-DQRe9ErH.js → TransactionVendorDetailPage-D-bYPAE2-BllRBTZB.js} +14 -14
- package/dist/assets/{TransferDrawerPage-CZXa0mUe-DkPFnO__.js → TransferDrawerPage-Cb8Cno-i-Dl1d2Mqq.js} +27 -27
- package/dist/assets/{TreasuryOverviewPage-C2u69t4N-FlIk0N44.js → TreasuryOverviewPage-r5eF6ebA-COD0Pjw8.js} +26 -26
- package/dist/assets/{TreasuryPromoPage-DrKVhiah-DVUWjurG.js → TreasuryPromoPage--nM87_OU-_RNPMcGC.js} +10 -10
- package/dist/assets/TreasuryStatementsPage-Bw9Kj_ei-DmIM5hEU.js +58 -0
- package/dist/assets/{TreasuryTaxLetterPage-JZLtzp98-xI_d-5_B.js → TreasuryTaxLetterPage-Crb8ZsUA-78axpsja.js} +2 -2
- package/dist/assets/{TrendChart-BxOwX5Tl-D1ALaVKM.js → TrendChart-DBg9hdMq-D3x3Q-0E.js} +4 -4
- package/dist/assets/{TrendWithTransactions-D3y_WfC9-DClpReOZ.js → TrendWithTransactions-CDquHlvk-veutXbmE.js} +6 -6
- package/dist/assets/{UncategorizedAccountsMappingPage-BzZzsKfP-DdyQ9WIo.js → UncategorizedAccountsMappingPage-Cc2EZVpr-Cu6tb1Mm.js} +11 -11
- package/dist/assets/{UnitIntegrationPage-bFoq6Dzc-CwpkSamI.js → UnitIntegrationPage-GCYR9P3Y-KYK7e6aS.js} +2 -2
- package/dist/assets/{UploadAdditionalDocumentOverlay-DHgW1eCQ-DazN-6Wu.js → UploadAdditionalDocumentOverlay-CIJFtDiF-BpHzv5qH.js} +1 -1
- package/dist/assets/Vendor2FAPopup-BZ6s889G-DClw5rFN.js +1 -0
- package/dist/assets/VendorACHDetailsPage-Cc6vosJI-CuChXkzT.js +1 -0
- package/dist/assets/{VendorDetailPage-CUMB0ybc-hrRL8W72.js → VendorDetailPage-DvxkejeN-C77K82UI.js} +19 -19
- package/dist/assets/VendorDomesticWireDetailsPage-C4SquKOu-DfaZyCzo.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-Dc5f2rQI-Cv2B8nJ1.js → VendorFiling1099EditablePage-BJAlB2r3-B7rAyi2M.js} +32 -32
- package/dist/assets/{VendorFirstReviewPage-DJ2xe-qP-gFk570ef.js → VendorFirstReviewPage-DHT9QMul-Ct87Nkn7.js} +36 -36
- package/dist/assets/{VendorInternationalWireDetailsPage-CA9piyEU-u0dmKOGa.js → VendorInternationalWireDetailsPage-Cum0w1AM-C9a7InbB.js} +6 -6
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-DvbkBLLf-W53hnHiB.js +1 -0
- package/dist/assets/{VendorsAccountsSection-CsgH89wG-a_JRNY_m.js → VendorsAccountsSection-D135oEuw-C1uw1TQ3.js} +2 -2
- package/dist/assets/{VerifyDevice-I0fcetOo-B2Svzxsc.js → VerifyDevice-BCCgiusC-Dng9kfwf.js} +5 -5
- package/dist/assets/{VideoPlayer-DJKEc9Gu-WRwuUD1S.js → VideoPlayer-DVwDdeFR-MNZm6ppV.js} +2 -2
- package/dist/assets/{VideoPopup-DQ01Zj2Y-BxAhauAY.js → VideoPopup-CrXLFmDO-G04-Y-uK.js} +1 -1
- package/dist/assets/{WarningsDrawerPage-NqQ8xPhM-CZcJGufp.js → WarningsDrawerPage-V2zIdzFs-C9hLGiEV.js} +6 -6
- package/dist/assets/{ZeniAccountDetailPage-B-Pet9D--CsAYpUXh.js → ZeniAccountDetailPage-D5YNNS56-BofUa7sE.js} +6 -6
- package/dist/assets/{ZeniAccountListViewPage-CXvP0AhF-7RxuthU0.js → ZeniAccountListViewPage-RiEBDKgR-AgmXxcKY.js} +12 -12
- package/dist/assets/ZeniAccountNavBarPieces-CoQENU6J-8z19WkOd.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-B7rXcypc-CS6eUgN9.js → ZeniAccountPromoPage-CTXqeuyX-BtoVtVx-.js} +8 -8
- package/dist/assets/{ZeniAccountSetupPage-CTRzzDrC-Ma5DbYV-.js → ZeniAccountSetupPage-thNujG4V-NEmV6bg0.js} +2 -2
- package/dist/assets/{ZeniCopyright-bBciVtsI-D6Sl2aX_.js → ZeniCopyright-ClH_jKKR-C4FewlM8.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-prBenc10-DlxaHXXw.js → ZeniTransferAmountSlider-D3vJ1eI8-CdypStnm.js} +4 -4
- package/dist/assets/{add-to-wallet-DgdBD8_G-Bry_whUi.js → add-to-wallet-DgdBD8_G-B1wid_UM.js} +1 -1
- package/dist/assets/{analytics-BOLhYepd.js → analytics-CaHNzCZ_.js} +1 -1
- package/dist/assets/analyticsHelper-D4MwDocX.js +1 -0
- package/dist/assets/{analyticsHelper-bMQRPNSm-ButsTIiE.js → analyticsHelper-V4TPBdDw-Cgp_llNR.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-BCWnnS7y.js → arrow-south-east-round-PEovUgvH-DxUxRw9c.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-fUXyVJqd.js → auto-transfer-rule-mbafm5D3-DJg57H27.js} +1 -1
- package/dist/assets/{chartTypes-B6Rsb0Zj-CpgBUyzn.js → chartTypes-iDEZ4YBi-CAnjVkYt.js} +1 -1
- package/dist/assets/{commonDimensions-C6cMfD5y-DIkdOvn_.js → commonDimensions-Bu6zjJKF-QZDQMF1b.js} +1 -1
- package/dist/assets/{constants-Dbznae6i.js → constants-BhqAIwyR.js} +1 -1
- package/dist/assets/{core-CgZkM6Gy.js → core-D97zULRv.js} +1 -1
- package/dist/assets/{dash.all.min-cFwuDSc2.js → dash.all.min-BdGTYJxE.js} +1 -1
- package/dist/assets/{detailCommon-DjIYoB2z-BIGdVOrE.js → detailCommon-BWEpXOUF-BYT8wF_i.js} +2 -2
- package/dist/assets/{downloadPdf-D0z4UUom-Dq5jSNfi.js → downloadPdf-DJF-2ZO0-CuuCICNw.js} +1 -1
- package/dist/assets/{empty-CNEsSiYH.js → empty-B6dUZm1w.js} +1 -1
- package/dist/assets/{empty-EpZZjc4A.js → empty-Dtb4RWu6.js} +1 -1
- package/dist/assets/{epic-DoTBrhSS.js → epic-CCQsdRLe.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-DYih9V4Z.js → gift-box-Cmt9OgIZ-BLjEgAoj.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-CM90Nw1G.js → graphic-no-data-l-DU4J8fDt-BIVPjqCM.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CWU9jq0j.js → graphic-no-data-net-burn-l-CzmycA0m-CUxXGkPQ.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-5Cpc1vWl.js → handshake-BPg58FML-DdOY9tYh.js} +1 -1
- package/dist/assets/{index-BUHVAerI.js → index-BdDMkMHi.js} +1 -1
- package/dist/assets/{index-B8sKds6d.js → index-CB04q_FR.js} +1 -1
- package/dist/assets/{index-M3gqhLNv.js → index-CRvGO9t2.js} +1738 -1736
- package/dist/assets/{index-DevYcjWE.js → index-DCF02UGX.js} +1 -1
- package/dist/assets/{index-DUtMoWhr.js → index-DaTDMu6E.js} +1 -1
- package/dist/assets/{index-BrEteJSz.js → index-U3l1Qich.js} +1 -1
- package/dist/assets/{index-DQVdg_Fe.js → index-zyBhFXnu.js} +1 -1
- package/dist/assets/{lexical-C0Cv3mfa.js → lexical-xAJQjF2q.js} +1 -1
- package/dist/assets/{liveblocks-EvPzqbcH.js → liveblocks-B-nIdKva.js} +1 -1
- package/dist/assets/{lottie-DCcXeZq_.js → lottie-CW3mEGqG.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-C1l0d99B-C_yWk5BW.js → mapLoadingInProgressToTreeNode-DvNHg91V-BeHcHTwh.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BHrFv_df-CDRzczxR.js → mapSectionWithAcOnlyToTreeNode-CWsheP6j-DB0CmsHj.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-BZH4EyFQ-Jhj23LMM.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-BFTqwysj-0PbrMSyJ.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-CHzQagq--Cu_6RqGb.js +1 -0
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-Dt7Y9K0I-fenBe7F9.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BEUrDFPW-RQCq9FKm.js} +1 -1
- package/dist/assets/{mui-Bwd3TSTG.js → mui-C683onAA.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-DcChLtjj.js → page-detail-CWX5S47F-CV39N8cc.js} +1 -1
- package/dist/assets/{panelSelectedMixin-CzfD5-Zs-WPL87s3-.js → panelSelectedMixin-CzfD5-Zs-B5Wj4I2X.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-CpcDTWyT.js → radio-default-CiSgisfh-hUMvYZ-u.js} +1 -1
- package/dist/assets/{react-CWC67zcu.js → react-59v1WsO4.js} +1 -1
- package/dist/assets/{react-SyPU6wFT.js → react-ByNjSQ3r.js} +2 -2
- package/dist/assets/{react-hgA0oXR8.js → react-CvxyNdbL.js} +1 -1
- package/dist/assets/{react-CUZmsV7T.js → react-D7RKPJ6T.js} +1 -1
- package/dist/assets/{react-BzNh3c5i.js → react-DBUYpqe8.js} +1 -1
- package/dist/assets/{react-DZx9TMsU.js → react-DWCqPv2Z.js} +1 -1
- package/dist/assets/{react-AMl_4pii.js → react-DXA2QosK.js} +1 -1
- package/dist/assets/{react-C0LI8fZD.js → react-kwKbyoj5.js} +1 -1
- package/dist/assets/{recharts-dZfDy76D.js → recharts-DZ48f2vO.js} +1 -1
- package/dist/assets/{sentry-W9sMIoEq.js → sentry-DElr7jPz.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-B8jA4vEn.js → shield-DOlUxcFf-MawkCqWd.js} +1 -1
- package/dist/assets/toCOABalancesWithID-BaWPQdax--Vo8ROl7.js +1 -0
- package/dist/assets/{toChartData-BUT_vwbW-BWW2CIM6.js → toChartData-DyjTCJsY-BIqCSHet.js} +1 -1
- package/dist/assets/{uploadAttachment-B1aivsLg-B7DelkTr.js → uploadAttachment-BJcS1oZv-SW-v2kBs.js} +14 -14
- package/dist/assets/{uploadReceipts-Dge0cNF1-CHiEnXtl.js → uploadReceipts-Dge0cNF1-Dp7S_Mt0.js} +1 -1
- package/dist/assets/{url-TPzWTuzg.js → url-BOeZAngr.js} +1 -1
- package/dist/assets/{url-BbIFqmze.js → url-DhnXAt2X.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-DZqAVvRx.js → useLongPress-GCK2COYQ-BI_7ldZ8.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-DA-VdUlr.js → usp-line-BBd1wKwW-BAg34jV_.js} +1 -1
- package/dist/assets/{utils-Ds_0VBVG.js → utils-wzGsQKRN.js} +1 -1
- package/dist/assets/{zeni-epic-state-J1WhpoAX.js → zeni-epic-state-CxmazTBW.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/AccountLockedInfoModal-CXu84Ky4-WmGGzZsp.js +0 -59
- package/dist/assets/AddAddressForCardDrawer-DLk1fTT7-CFkBaOls.js +0 -6
- package/dist/assets/ChargeCardPromoPage-CZthMv9O-CrXikDjm.js +0 -222
- package/dist/assets/ConfettiBurst-iwBXc7h4-DooCo9CJ.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-W9rUXP8--CA-H7QU7.js +0 -1
- package/dist/assets/DepositAccTransactionListPage-BqWQ7Hs2-BxPGNzk2.js +0 -66
- package/dist/assets/EditPeoplePage-DAJZWSBW-CdSryiWR.js +0 -55
- package/dist/assets/EntityDetailPage-DxiU9_5p-CpQh74Z1.js +0 -18
- package/dist/assets/InvitePeoplePage-CF19kbHd-Ce97fzUp.js +0 -12
- package/dist/assets/LabeledControlledCheckBoxField-DUkmWHyZ-oa_QkZed.js +0 -16
- package/dist/assets/LabeledDocumentField-wddWSnmD-Dj01dfoy.js +0 -41
- package/dist/assets/MagicLinkACHDetailsPage-CqShsw_Q-CFrpK7ym.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Dld6KNDY-BMILIze_.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-tM0F2Ss6-BeWvS-dV.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-D0XJzDBe-BtZ5E6ir.js +0 -31
- package/dist/assets/MyPendingActivationChargeCardListPage-BIapHyrw-t9Jd1Mlg.js +0 -6
- package/dist/assets/NoDataTable-DyEdbkM0-C6q_CRp4.js +0 -8
- package/dist/assets/OverlayContainerPage-D4QU0p4o-C2gIHm1n.js +0 -11
- package/dist/assets/ReimbursementApprovalRuleDetailPage-C510NusC-Bs1YVE-G.js +0 -32
- package/dist/assets/SignInScreen-DV9MRzpl.js +0 -1
- package/dist/assets/StatementItem-DOPVBhGk-DctcaTps.js +0 -31
- package/dist/assets/StatementsPage-R0eHwHJ9-CHjnf43L.js +0 -58
- package/dist/assets/TreasuryStatementsPage-Cvg6I5NA-hKmOwniv.js +0 -58
- package/dist/assets/Vendor2FAPopup-BNA5iCDk-Bw3fAf_p.js +0 -1
- package/dist/assets/VendorACHDetailsPage-DO9DY2FM-ai5j5NA_.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-DAFX-_x0-mHKBhl7A.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-BUBLa4v4-BwXaw27K.js +0 -1
- package/dist/assets/ZeniAccountNavBarPieces-CseOYdtS-BL5qlUUT.js +0 -14
- package/dist/assets/analyticsHelper-CGDKuQ4w.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-BYWr2mnE-DMiuteiH.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-C7w_Pv68-ufHb441T.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-CUioWHuY-NixXLlc-.js +0 -1
- package/dist/assets/toCOABalancesWithID-LVMDIpDR-Bh9yuj2J.js +0 -1
package/dist/assets/{ACHDetailsPage-NT6Enz2K-4oc8TmZ-.js → ACHDetailsPage-D-0onfNp-C9k3O3pp.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Q as W,a9 as E,F as w,cF as _,V as n,cp as V,cq as F,cr as H,ac as q,aR as O,y as c,eW as K,b7 as Q,o as U,u as t}from"./index-CRvGO9t2.js";import{a as x}from"./sentry-DElr7jPz.js";import{n as u}from"./mui-C683onAA.js";import{W as G,A as J}from"./BankAccountWarningSection-BkcjTRzD-chDtQIxj.js";import{M as X}from"./MagicLinkTitleSection-DAywgMEo-D8MvAKMK.js";import{e as Y}from"./BankAccountSection-BBDMIckQ-C2Ft-fVx.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="87a1f699-e5ef-445f-ac6a-c3609846f7c9",e._sentryDebugIdIdentifier="sentry-dbid-87a1f699-e5ef-445f-ac6a-c3609846f7c9")}catch{}})();const a={paddingTopBottomContainer:new c(t[3],t[3]),paddingLeftContainer:new c(t[3],t[6]),paddingRightContainer:new c(t[3],t[8]),sectionTitleMarginLeft:new c(t[4],t[6]),sectionTitleMarginTop:new c(12,t[3]),buttonWidth:new c(140,140)},T="achDetailsPage",p="bankAccountSection",A=e=>`${e}_form`,ue=({bankAccountCreationState:e,bankAccountToCreate:o,fetchBankNameByRoutingStatus:g,isDisabled:k,style:S,onSaveHandler:j,onBackClick:h,onACHDetailsUpdated:v,onFetchBankName:B,isMagicLink:m,companyName:N,currencySymbol:D,amount:P,bankAccountContext:$})=>{const r=W(),i=E({mode:"onBlur",reValidateMode:"onChange",defaultValues:x.useMemo(()=>Z(o),[o])}),[z,f]=x.useState(!1),l=w.getLocalizedStrings().spendManagement.billPay.vendorCreation,R=w.getLocalizedStrings().common.footer,{achDetails:C,bankAccountCommon:y}=l,I={onOkClick:()=>{f(!1),i.reset(),h?.()},onCancelClick:()=>{f(!1)}},L=async(b,d)=>{const s=d[p].bankRoutingNumber;v(d),b===`${p}.bankRoutingNumber`&&s?.length===9&&K.test(s)===!0&&B?.(s)};x.useEffect(()=>{const b=i.watch((d,{name:s})=>{s!=null&&d!=null&&_(()=>L(s,d))});return()=>{b.unsubscribe()}});const M=i.handleSubmit(b=>{g.fetchState!=="In-Progress"&&j("ach")});return n.jsxs(ne,{children:[n.jsxs(te,{style:S,size:r,children:[z===!0?n.jsx(V,{titleComponent:n.jsx(H,{children:l.discardTitle}),descriptionComponent:n.jsx(F,{children:l.discardDescription}),primaryButtonText:l.discard,secondaryButtonText:l.cancel,action:I}):null,n.jsx(G,{header:m?n.jsx(X,{companyName:N??"",currencySymbol:D??"",amount:P??0}):C.addACHDetails,isMagicLink:m,isDirty:i.formState.isDirty,onBackClick:h,setShowConfirmationPopup:f}),e?.fetchState==="Error"&&e.error?.code===409?n.jsx(J,{warningText:y.accountExistWarning}):null,$==="express-pay"?null:n.jsx(ae,{size:r,children:C.title}),n.jsx(ie,{children:n.jsx(q,{...i,children:n.jsx("form",{id:A(T),onSubmit:M,children:n.jsx(ee,{size:r,children:n.jsx(Y,{bankAccountToCreate:o,fetchBankNameByRoutingStatus:g,sectionId:p,isDisabled:k})})})})})]}),n.jsx(O,{formId:A(T),primaryBtn:{label:m?y.submitDetails:y.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:a.buttonWidth.value(r)},isDisabled:k!=null},showCancel:!m,cancelBtn:{label:R.cancel,style:{width:a.buttonWidth.value(r)},shouldResetOnCancel:!1,onClick:()=>{i.formState.isDirty?f(!0):(i.reset(),h?.())}}})]})},Z=e=>({[p]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName,bankAccountType:e?.bankAccountType}}),ee=u.div`
|
|
2
2
|
padding-left: ${e=>a.paddingLeftContainer.valuePx(e.size)};
|
|
3
3
|
padding-right: ${e=>a.paddingRightContainer.valuePx(e.size)};
|
|
4
4
|
padding-top: ${e=>a.paddingTopBottomContainer.valuePx(e.size)};
|
|
@@ -12,7 +12,7 @@ import{J as W,a9 as E,F as w,cF as _,V as n,cp as V,cq as F,cr as H,ac as q,aR a
|
|
|
12
12
|
display: flex;
|
|
13
13
|
flex-direction: column;
|
|
14
14
|
flex-grow: 1;
|
|
15
|
-
`,ae=u(
|
|
15
|
+
`,ae=u(Q)`
|
|
16
16
|
color: ${e=>e.theme.colors.champion};
|
|
17
17
|
margin-left: ${e=>a.sectionTitleMarginLeft.valuePx(e.size)};
|
|
18
18
|
margin-top: ${e=>a.sectionTitleMarginTop.valuePx(e.size)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as u,a8 as y1,
|
|
1
|
+
import{y as u,a8 as y1,Q as M,F as j,cd as j1,V as C,bT as $1,o as r,aP as v1,b as D,ck as b1,ke as T,u as n,bP as g,du as h1,p as d,a7 as S1,b3 as p1,e as m1,kf as f,ai as x,kg as Z1,kh as B1,ar as S,c as K,b7 as q,am as F1,ki as W1,dP as _1,g2 as D1,ci as u1,al as H1}from"./index-CRvGO9t2.js";import{a as e}from"./sentry-DElr7jPz.js";import{n as i,c as P1,k as T1}from"./mui-C683onAA.js";import{Gj as E,Gk as e1,Gl as F}from"./zeni-epic-state-CxmazTBW.js";import{N as V1}from"./NavBarWithPicker-C_IBxMUA-BvmeJe_V.js";import{F as k1,X as x1,Y as I,I as z1,J as O1,G as t1}from"./recharts-DZ48f2vO.js";import"./liveblocks-B-nIdKva.js";import"./core-D97zULRv.js";import"./lottie-CW3mEGqG.js";import"./analytics-CaHNzCZ_.js";import"./lexical-xAJQjF2q.js";import"./utils-wzGsQKRN.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="c897e5d1-7f1a-4abf-933e-dd1093621dcb",t._sentryDebugIdIdentifier="sentry-dbid-c897e5d1-7f1a-4abf-933e-dd1093621dcb")}catch{}})();const C1={titleLoaderWidth:new u(200,200,300),subtitleLoaderWidth:new u(100,100,200)},G1=i.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
height: 100%;
|
|
4
4
|
border: 1px solid ${t=>t.theme.colors.grey3};
|
|
@@ -17,7 +17,7 @@ import{y as u,a8 as y1,J as M,F as j,cd as j1,V as C,bT as $1,o as r,aP as v1,b
|
|
|
17
17
|
display: flex;
|
|
18
18
|
flex-direction: column;
|
|
19
19
|
gap: ${r.sp2};
|
|
20
|
-
`,A1=({customStyle:t})=>{const a=M();return C.jsx(G1,{style:t,children:C.jsxs(N1,{children:[C.jsxs(R1,{children:[C.jsx(
|
|
20
|
+
`,A1=({customStyle:t})=>{const a=M();return C.jsx(G1,{style:t,children:C.jsxs(N1,{children:[C.jsxs(R1,{children:[C.jsx(g,{width:C1.titleLoaderWidth.value(a),height:n[4]}),C.jsx(g,{width:C1.subtitleLoaderWidth.value(a),height:21})]}),C.jsx(g,{width:n[7],height:n[4]})]})})},I1=i.div`
|
|
21
21
|
display: flex;
|
|
22
22
|
justify-content: space-between;
|
|
23
23
|
// min-width: calc(${r.sp12} + ${r.sp12});
|
|
@@ -32,7 +32,7 @@ import{y as u,a8 as y1,J as M,F as j,cd as j1,V as C,bT as $1,o as r,aP as v1,b
|
|
|
32
32
|
display: flex;
|
|
33
33
|
flex-direction: column;
|
|
34
34
|
gap: ${r.sp2};
|
|
35
|
-
`,r1=({customStyle:t})=>C.jsxs(I1,{style:{...t},children:[C.jsxs(U1,{children:[C.jsx(
|
|
35
|
+
`,r1=({customStyle:t})=>C.jsxs(I1,{style:{...t},children:[C.jsxs(U1,{children:[C.jsx(g,{width:150,height:24}),C.jsx(g,{width:245,height:21})]}),C.jsx(h1,{width:32,height:32})]}),J1=i.div`
|
|
36
36
|
width: 100%;
|
|
37
37
|
border: 1px solid ${t=>t.theme.colors.grey3};
|
|
38
38
|
border-radius: ${r.sp2};
|
|
@@ -70,7 +70,7 @@ import{y as u,a8 as y1,J as M,F as j,cd as j1,V as C,bT as $1,o as r,aP as v1,b
|
|
|
70
70
|
display: flex;
|
|
71
71
|
flex-direction: column;
|
|
72
72
|
gap: ${r.sp1};
|
|
73
|
-
`,t2=({customStyle:t})=>C.jsxs(J1,{style:t,children:[C.jsx(K1,{children:C.jsxs(q1,{children:[C.jsx(
|
|
73
|
+
`,t2=({customStyle:t})=>C.jsxs(J1,{style:t,children:[C.jsx(K1,{children:C.jsxs(q1,{children:[C.jsx(g,{width:180,height:n[4]}),C.jsx(g,{width:300,height:21})]})}),C.jsx(X1,{children:[...Array(3)].map((a,s)=>C.jsxs(Y1,{children:[C.jsxs(Q1,{children:[C.jsx(h1,{width:n[6],height:n[6]}),C.jsxs(e2,{children:[C.jsx(g,{width:120,height:18}),C.jsx(g,{width:n[11],height:n[3]})]})]}),C.jsx(g,{width:n[11],height:18}),C.jsx(g,{width:n[11],height:18})]},s))})]}),C2={containerMarginLeft:new u(0,0,n[9],n[9],n[9])},r2=i.div`
|
|
74
74
|
display: flex;
|
|
75
75
|
flex-direction: row;
|
|
76
76
|
margin-left: ${t=>C2.containerMarginLeft.valuePx(t.windowSize)};
|
|
@@ -120,12 +120,12 @@ import{y as u,a8 as y1,J as M,F as j,cd as j1,V as C,bT as $1,o as r,aP as v1,b
|
|
|
120
120
|
border-radius: ${r.sp2};
|
|
121
121
|
box-shadow: ${d.Elevation1Light};
|
|
122
122
|
padding: ${r.sp4};
|
|
123
|
-
`,
|
|
123
|
+
`,f2=i.div`
|
|
124
124
|
display: flex;
|
|
125
125
|
flex-direction: column;
|
|
126
126
|
gap: 8px;
|
|
127
127
|
width: 100%;
|
|
128
|
-
`,
|
|
128
|
+
`,g2=i.div`
|
|
129
129
|
display: flex;
|
|
130
130
|
flex-direction: row;
|
|
131
131
|
align-items: center;
|
|
@@ -175,7 +175,7 @@ import{y as u,a8 as y1,J as M,F as j,cd as j1,V as C,bT as $1,o as r,aP as v1,b
|
|
|
175
175
|
color: ${t=>t.theme.colors.brandColorJadeDark};
|
|
176
176
|
`,Z2=i(x)`
|
|
177
177
|
color: ${t=>t.theme.colors.hero};
|
|
178
|
-
`;function B2({icon:t,title:a,data:s,currency:o}){return C.jsxs(
|
|
178
|
+
`;function B2({icon:t,title:a,data:s,currency:o}){return C.jsxs(f2,{children:[C.jsxs(g2,{children:[C.jsx(L2,{children:t}),C.jsx(E2,{children:C.jsx(w2,{children:a})})]}),C.jsx(d2,{}),s.map(l=>C.jsx(a2,{taskName:l.eventName,taskCount:l.eventsCount,timeSavedMinutes:l.timeSavedInMinutes,costSaved:l.totalCostSaved,currency:o},l.eventName))]})}const F2=t=>{switch(t){case f.aiPerformanceDashboard.personas.personaTypes.aiBookkeeper:return C.jsx(O,{});case f.aiPerformanceDashboard.personas.personaTypes.aiCardsAgent:return C.jsx(y2,{});case f.aiPerformanceDashboard.personas.personaTypes.aiBillsAgent:return C.jsx(j2,{});case f.aiPerformanceDashboard.personas.personaTypes.aiExpensesAgent:return C.jsx($2,{});case f.aiPerformanceDashboard.personas.personaTypes.aiBankingAgent:return C.jsx(v2,{});case f.aiPerformanceDashboard.personas.personaTypes.accountant:return C.jsx(O,{});case f.aiPerformanceDashboard.personas.personaTypes.aiCfo:return C.jsx(M2,{});default:return C.jsx(O,{})}};function W2({personas:t,currency:a}){return C.jsxs(x2,{children:[C.jsxs(b2,{children:[C.jsx(S2,{children:f.aiPerformanceDashboard.tileTitle}),C.jsx(Z2,{children:f.aiPerformanceDashboard.tileSubtitle})]}),t.map(s=>C.jsx(B2,{icon:F2(s.personaType),title:s.personaName,data:s.eventGroups,currency:a},s.personaName))]})}const _2=i.div`
|
|
179
179
|
display: flex;
|
|
180
180
|
flex-direction: column;
|
|
181
181
|
justify-content: space-between;
|
|
@@ -315,7 +315,7 @@ import{y as u,a8 as y1,J as M,F as j,cd as j1,V as C,bT as $1,o as r,aP as v1,b
|
|
|
315
315
|
display: flex;
|
|
316
316
|
align-items: center;
|
|
317
317
|
justify-content: center;
|
|
318
|
-
`,d3=i(r3)``;function c3(){return C.jsxs(i3,{children:[C.jsxs(o3,{children:[C.jsx(n3,{children:
|
|
318
|
+
`,d3=i(r3)``;function c3(){return C.jsxs(i3,{children:[C.jsxs(o3,{children:[C.jsx(n3,{children:f.aiPerformanceDashboard.tileTitle}),C.jsx(a3,{children:f.aiPerformanceDashboard.tileSubtitle})]}),C.jsx(l3,{children:C.jsx(d3,{})}),C.jsx(s3,{children:f.aiPerformanceDashboard.noPerformanceData.firstLine})]})}const h3=t=>e.createElement("svg",{viewBox:"0 0 673 153",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("line",{x1:1,y1:146.5,x2:671,y2:146.5,stroke:"#545B5C"}),e.createElement("path",{d:"M61.0909 104.592C30.5455 104.592 30.5455 134.884 0 134.884V148H672V11.5384C645.5 7 638 27.4997 609 24.6307C578.455 24.6307 575 37.7229 547.5 33.6477C518 26.6449 512.5 44.269 482 41.7513C453.525 39.4008 458.545 59.879 428 59.879C397.455 59.879 397 46.7634 366.5 50.0423C335.955 50.0423 336 78.7895 305.455 78.7895C274.909 78.7895 274.909 101.697 244.364 101.697C213.818 101.697 210.998 90.795 180.453 90.795C149.907 90.795 152.727 111.539 122.182 111.539C91.6364 111.539 91.6364 104.592 61.0909 104.592Z",fill:"url(#paint0_linear_5550_4410)"}),e.createElement("path",{d:"M0 135C30.5682 135 30.5682 104.482 61.1364 104.482C91.7046 104.482 91.7046 111.387 122.273 111.387C152.841 111.387 150.019 90.7676 180.587 90.7676C211.155 90.7676 213.977 101.605 244.546 101.605C275.114 101.605 275.114 78.834 305.682 78.834C336.25 78.834 336.205 50.2592 366.773 50.2592C397.296 46.9999 397.75 60.037 428.319 60.037C458.887 60.037 449.789 42.5184 480.357 42.5184C510.88 46.3638 515.383 26.5015 547.908 33.9629C576.929 39.0147 578.885 24.9999 609.453 24.9999C638.475 27.8518 641.5 8.49994 672 11.9999",stroke:"#545B5C",strokeDasharray:"4 4"}),e.createElement("path",{d:"M61.0909 120.231C29 126.619 30.5455 143.886 0 143.886V147.5H672V61.5C643 58 638.5 69.8023 609.5 68C578.955 68 578.045 75.6644 547.5 75.6644C516.955 75.6644 511 82.5 481 81.5C450.455 81.5 458.545 92.1428 428 92.1428C397.455 92.1428 397 83.9036 366.5 85.9634C335.955 85.9634 336 104.022 305.455 104.022C274.909 104.022 274.909 118.413 244.364 118.413C213.818 118.413 210.998 111.564 180.453 111.564C149.907 111.564 152.727 124.595 122.182 124.595C91.6364 124.595 91.5 118.99 61.0909 120.231Z",fill:"url(#paint1_linear_5550_4410)"}),e.createElement("path",{d:"M0.5 143.886C31.0455 143.886 36 122.604 61.0909 120.231C91.5 118.413 91.6364 124.595 122.182 124.595C152.727 124.595 149.907 111.564 180.453 111.564C210.998 111.564 213.818 118.413 244.364 118.413C274.909 118.413 274.909 104.022 305.455 104.022C336 104.022 335.955 85.9635 366.5 85.9635C397 83.9037 397.455 92.1429 428 92.1429C458.545 92.1429 450.955 81.0001 481.5 81.0001C507.5 85.9635 518 72.5001 547.5 75.6645C581 75.6645 578.455 68.0001 609 68.0001C638 69.8024 640.5 57.5 672 61.5",stroke:"#545B5C",strokeDasharray:"4 4"}),e.createElement("defs",null,e.createElement("linearGradient",{id:"paint0_linear_5550_4410",x1:336,y1:10.8796,x2:336,y2:148,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#3E4343"}),e.createElement("stop",{offset:1,stopColor:"#3E4343",stopOpacity:0})),e.createElement("linearGradient",{id:"paint1_linear_5550_4410",x1:336,y1:60.8473,x2:336,y2:147.5,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#3E4343"}),e.createElement("stop",{offset:1,stopColor:"#3E4343",stopOpacity:0})))),p3=t=>e.createElement("svg",{viewBox:"0 0 673 153",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("line",{x1:1,y1:146.5,x2:671,y2:146.5,stroke:"#D4DCDD"}),e.createElement("path",{d:"M61.0909 104.592C30.5455 104.592 30.5455 134.884 0 134.884V148H672V11.5384C645.5 7 638 27.4997 609 24.6307C578.455 24.6307 575 37.7229 547.5 33.6477C518 26.6449 512.5 44.269 482 41.7513C453.525 39.4008 458.545 59.879 428 59.879C397.455 59.879 397 46.7634 366.5 50.0423C335.955 50.0423 336 78.7895 305.455 78.7895C274.909 78.7895 274.909 101.697 244.364 101.697C213.818 101.697 210.998 90.795 180.453 90.795C149.907 90.795 152.727 111.539 122.182 111.539C91.6364 111.539 91.6364 104.592 61.0909 104.592Z",fill:"url(#paint0_linear_5550_1630)"}),e.createElement("path",{d:"M0 135C30.5682 135 30.5682 104.482 61.1364 104.482C91.7046 104.482 91.7046 111.387 122.273 111.387C152.841 111.387 150.019 90.7676 180.587 90.7676C211.155 90.7676 213.977 101.605 244.546 101.605C275.114 101.605 275.114 78.834 305.682 78.834C336.25 78.834 336.205 50.2592 366.773 50.2592C397.296 46.9999 397.75 60.037 428.319 60.037C458.887 60.037 449.789 42.5184 480.357 42.5184C510.88 46.3638 515.383 26.5015 547.908 33.9629C576.929 39.0147 578.885 24.9999 609.453 24.9999C638.475 27.8518 641.5 8.49994 672 11.9999",stroke:"#D4DCDD",strokeDasharray:"4 4"}),e.createElement("path",{d:"M61.0909 120.231C29 126.619 30.5455 143.886 0 143.886V147.5H672V61.5C643 58 638.5 69.8023 609.5 68C578.955 68 578.045 75.6644 547.5 75.6644C516.955 75.6644 511 82.5 481 81.5C450.455 81.5 458.545 92.1428 428 92.1428C397.455 92.1428 397 83.9036 366.5 85.9634C335.955 85.9634 336 104.022 305.455 104.022C274.909 104.022 274.909 118.413 244.364 118.413C213.818 118.413 210.998 111.564 180.453 111.564C149.907 111.564 152.727 124.595 122.182 124.595C91.6364 124.595 91.5 118.99 61.0909 120.231Z",fill:"url(#paint1_linear_5550_1630)"}),e.createElement("path",{d:"M0.5 143.886C31.0455 143.886 36 122.604 61.0909 120.231C91.5 118.413 91.6364 124.595 122.182 124.595C152.727 124.595 149.907 111.564 180.453 111.564C210.998 111.564 213.818 118.413 244.364 118.413C274.909 118.413 274.909 104.022 305.455 104.022C336 104.022 335.955 85.9635 366.5 85.9635C397 83.9037 397.455 92.1429 428 92.1429C458.545 92.1429 450.955 81.0001 481.5 81.0001C507.5 85.9635 518 72.5001 547.5 75.6645C581 75.6645 578.455 68.0001 609 68.0001C638 69.8024 640.5 57.5 672 61.5",stroke:"#D4DCDD",strokeDasharray:"4 4"}),e.createElement("defs",null,e.createElement("linearGradient",{id:"paint0_linear_5550_1630",x1:336,y1:10.8796,x2:336,y2:148,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#E9F0F0"}),e.createElement("stop",{offset:1,stopColor:"#E9F0F0",stopOpacity:0})),e.createElement("linearGradient",{id:"paint1_linear_5550_1630",x1:336,y1:60.8473,x2:336,y2:147.5,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#E9F0F0"}),e.createElement("stop",{offset:1,stopColor:"#E9F0F0",stopOpacity:0})))),m3=i.div`
|
|
319
319
|
position: relative;
|
|
320
320
|
width: 100%;
|
|
321
321
|
height: 100%;
|
|
@@ -337,12 +337,12 @@ import{y as u,a8 as y1,J as M,F as j,cd as j1,V as C,bT as $1,o as r,aP as v1,b
|
|
|
337
337
|
position: relative;
|
|
338
338
|
width: 100%;
|
|
339
339
|
height: calc(100% - 52px);
|
|
340
|
-
`,
|
|
340
|
+
`,f3=i.div`
|
|
341
341
|
position: absolute;
|
|
342
342
|
width: 100%;
|
|
343
343
|
height: 100%;
|
|
344
344
|
bottom: 0;
|
|
345
|
-
`,
|
|
345
|
+
`,g3=i(p3)`
|
|
346
346
|
position: absolute;
|
|
347
347
|
margin: auto;
|
|
348
348
|
bottom: ${r.sp5};
|
|
@@ -350,7 +350,7 @@ import{y as u,a8 as y1,J as M,F as j,cd as j1,V as C,bT as $1,o as r,aP as v1,b
|
|
|
350
350
|
position: absolute;
|
|
351
351
|
margin: auto;
|
|
352
352
|
bottom: ${r.sp5};
|
|
353
|
-
`;function E3(t,a){const s=new Date(`${t}-01`),o=new Date(`${a}-01`),l=[];for(;s<=o;){const c=s.toISOString().slice(0,7);l.push({month:c,costSaved:0,timeSavedInMinutes:0}),s.setMonth(s.getMonth()+1)}return l}function w3({selectedTimeSeries:t}){const{dark:a}=S1(),s=M(),o=E3(t.fromMonth,t.toMonth),{aiPerformanceDashboard:l}=j.getLocalizedStrings();return C.jsxs(m3,{windowSize:s,children:[C.jsx(u3,{children:C.jsx(k3,{children:l.chartTitle})}),C.jsxs(x3,{children:[a?C.jsx(L3,{}):C.jsx(
|
|
353
|
+
`;function E3(t,a){const s=new Date(`${t}-01`),o=new Date(`${a}-01`),l=[];for(;s<=o;){const c=s.toISOString().slice(0,7);l.push({month:c,costSaved:0,timeSavedInMinutes:0}),s.setMonth(s.getMonth()+1)}return l}function w3({selectedTimeSeries:t}){const{dark:a}=S1(),s=M(),o=E3(t.fromMonth,t.toMonth),{aiPerformanceDashboard:l}=j.getLocalizedStrings();return C.jsxs(m3,{windowSize:s,children:[C.jsx(u3,{children:C.jsx(k3,{children:l.chartTitle})}),C.jsxs(x3,{children:[a?C.jsx(L3,{}):C.jsx(g3,{}),C.jsx(f3,{children:C.jsx(p1,{children:({width:c,height:h})=>C.jsxs(k1,{width:c,height:h,data:o,margin:{top:10,right:30,left:0,bottom:0},children:[C.jsx(x1,{dataKey:"month",tickFormatter:p=>new Date(p+"-01").toLocaleString("en-US",{month:"short",year:"2-digit",timeZone:"UTC"}),tickLine:!1,axisLine:!1,tick:{fill:d.neutralGrey1Light,...D.extraSmallRegular.cssObject},interval:"preserveStartEnd"}),C.jsx(I,{hide:!0})]})})})]})]})}const M3=1.2,y3={headerGap:new u(n[3],n[3],n[1],n[1],n[1])},j3=i.div`
|
|
354
354
|
width: 192px;
|
|
355
355
|
background-color: ${t=>t.theme.colors.black};
|
|
356
356
|
border-radius: ${r.sp1};
|
|
@@ -536,4 +536,4 @@ import{y as u,a8 as y1,J as M,F as j,cd as j1,V as C,bT as $1,o as r,aP as v1,b
|
|
|
536
536
|
&:hover {
|
|
537
537
|
color: ${t=>t.theme.colors.primary};
|
|
538
538
|
}
|
|
539
|
-
`,o4=(t,a)=>t===a?`(${T(t)})`:`(${T(t)} - ${T(a)})`;function
|
|
539
|
+
`,o4=(t,a)=>t===a?`(${T(t)})`:`(${T(t)} - ${T(a)})`;function f4({aggregatedReport:t,onBackClick:a,onReload:s,onTimeRangeSelect:o,onClickMenuIcon:l}){const c=y1().analytics,h=M(),{common:p}=j.getLocalizedStrings(),[k,v]=e.useState(!1),[y,$]=e.useState(null),H=[...e1],w=e1[1],[P,X]=e.useState(E(w)),[Z,Y]=e.useState(w),[f1,g1]=e.useState(!1);j1({componentName:"aiPerformance",enabled:t.fetchState==="Completed"});const b=t.fetchState==="Not-Started"||t.fetchState==="In-Progress",L=t.fetchState==="Error",L1=m=>m.flatMap(M1=>M1.eventGroups.map(B=>({event_name:B.eventName,events_count:B.eventsCount,time_saved_in_minutes:B.timeSavedInMinutes,total_cost_saved:B.totalCostSaved})));e.useEffect(()=>{$("home"),o(E(Z).fromMonth,E(Z).toMonth)},[]),e.useEffect(()=>{if(t.fetchState==="Completed"&&y){const m={period_selected:Z,cost_saved:t.summary.totalCostSaved,time_saved:t.summary.totalTimeSavedMinutes,task_performed:L1(t.personas)};y==="home"?c.trackAIPerfHome(m):y==="refresh"?c.trackAIPerfRefresh(m):y==="timePeriodSelect"&&c.trackAIPerfTimePeriodSelect(m),$(null)}},[t.fetchState,y]),e.useEffect(()=>{const m=()=>{g1(window.scrollY>0)};return window.addEventListener("scroll",m),m(),()=>{window.removeEventListener("scroll",m)}},[]);const E1=C.jsx(C4,{"data-testid":`${v1("ai-performance-page","refresh-icon")}`,onClick:()=>{v(!0),$("refresh"),s(E(w).fromMonth,E(w).toMonth),Y(w),X(E(w))},children:C.jsx($1,{style:{marginTop:r.sp1},placement:"bottom",title:p.texts.refresh,enterDelay:600,children:C.jsx(i4,{spinning:b&&k})})}),w1={backgroundColor:"transparent",picker:{backgroundColor:"transparent",pickerValues:H,valueToLabel:m=>m,selectedValue:`${Z} ${o4(P.fromMonth,P.toMonth)}`,titleTextStyle:D.largeMedium,onPickerSelectionChanged:m=>{m!=null&&($("timePeriodSelect"),Y(F(m)),X(E(F(m))),o(E(F(m)).fromMonth,E(F(m)).toMonth))},styles:{justifyContent:h==="small"?"left":"center"},isPickerDisabled:!1},onBackClick:a,showMenuIcon:h==="medium-compact"||h==="small",onClickMenuIcon:l,rightSideComponent:E1},Q=Number.parseFloat((t?.summary?.totalTimeSavedMinutes/60).toFixed());return C.jsxs(q3,{children:[C.jsx(K3,{isScrolled:f1,windowSize:h,paddingLeft:_.contentPaddingLeft.value(h),paddingRight:_.contentPaddingRight.value(h),children:C.jsx(V1,{...w1})}),C.jsxs(X3,{windowSize:h,children:[C.jsxs(Y3,{windowSize:h,children:[C.jsxs(e4,{windowSize:h,children:[b?C.jsx(r1,{customStyle:{margin:`0 0 ${r.sp3} 0`}}):C.jsx(o1,{type:"cost",value:L?`${p.strings.hyphen}`:Number(t.summary?.totalCostSaved.toFixed()).toLocaleString(),currency:t.currency,style:{margin:`0 0 ${r.sp3} 0`},noData:L}),b?C.jsx(r1,{customStyle:{margin:"0"}}):C.jsx(o1,{type:"time",value:L?`${p.strings.hyphen}`:t.summary?.totalTimeSavedMinutes<60?Number(t.summary?.totalTimeSavedMinutes).toFixed().toLocaleString():Q.toLocaleString(),currency:t.currency,noData:L,timeUnit:L?"":t.summary?.totalTimeSavedMinutes<60?t.summary?.totalTimeSavedMinutes>1?p.timeStrings.minutes:p.timeStrings.minute:Q>1?p.timeStrings.hours:p.timeStrings.hour})]}),C.jsx(t4,{windowSize:h,children:b?C.jsx(A1,{customStyle:{margin:`0 0 ${r.sp3} 0`}}):L?C.jsx(w3,{selectedTimeSeries:P}):C.jsx(H3,{performanceTimeSeries:t.monthlySummary})})]}),b?C.jsx(c1,{windowSize:h,children:C.jsx(t2,{})}):C.jsxs(C.Fragment,{children:[C.jsx(c1,{windowSize:h,children:L||t.personas.length===0?C.jsx(c3,{}):C.jsx(W2,{personas:t.personas,currency:t.currency})}),C.jsxs(Q3,{windowSize:h,children:[C.jsx(U3,{performanceSummary:t.summary,currency:t.currency,isPerformanceReportNotFound:L}),C.jsx(C3,{performanceSummary:t.summary,currency:t.currency,isPerformanceReportNotFound:L})]})]})]})]})}export{f4 as default,J3 as navBarHeight};
|
package/dist/assets/{AccountInfoPage-zFNrlfdY-DO-SsXEM.js → AccountInfoPage-CoX9n6HX-BMht_7se.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{e as y,Q as x,V as t,gP as b,o as a,y as d,hB as D,u as i}from"./index-CRvGO9t2.js";import{a as P}from"./sentry-DElr7jPz.js";import{n as o}from"./mui-C683onAA.js";import{K as $}from"./StatusSwitcher-gbjjpKf_-BRXriWJW.js";import{r as z}from"./AccountInfoPageContent-DO-wTXIZ-BblSZw9v.js";import"./liveblocks-B-nIdKva.js";import"./core-D97zULRv.js";import"./recharts-DZ48f2vO.js";import"./zeni-epic-state-CxmazTBW.js";import"./lottie-CW3mEGqG.js";import"./analytics-CaHNzCZ_.js";import"./lexical-xAJQjF2q.js";import"./utils-wzGsQKRN.js";import"./downloadPdf-DJF-2ZO0-CuuCICNw.js";import"./commonDimensions-Bu6zjJKF-QZDQMF1b.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]="d42c132d-4458-473c-9c15-54f236c4b0e6",e._sentryDebugIdIdentifier="sentry-dbid-d42c132d-4458-473c-9c15-54f236c4b0e6")}catch{}})();const s={pageTitleMarginXAxis:new d(i[4],i[8]),containerPaddingLeft:new d(i[3],i[6],i[8]),containerPaddingRight:new d(i[3],i[6],i[8])},q=({authParams:e,downloadAccountDetailEndPoint:n,depositAccount:r,zeniAccountsConfigDetail:u,currentTenant:f,onDismissClick:g})=>{const p=y(),c=x(),[l,m]=P.useState("achDetails"),w=h=>{m(h)};return t.jsxs(T,{children:[t.jsx(b,{title:"",backgroundColor:p.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:g}),t.jsx(j,{windowSize:c,children:r.accountName}),t.jsx(v,{children:t.jsx($,{tabIds:["achDetails","wireDetails"],selectedTab:l,entity:"zeni_accounts",onTabSelectedChange:w,isSwitcherLeftAlign:!0})}),t.jsx(A,{windowSize:c,children:t.jsx(z,{authParams:e,downloadAccountDetailEndPoint:n,currentTab:l,zeniAccountsConfigDetail:u,currentTenant:f,depositAccount:r})})]})},A=o.div`
|
|
2
2
|
padding-left: ${e=>`${s.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
3
3
|
padding-right: ${e=>`${s.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
4
4
|
`,T=o.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Q as je,gZ as Ae,hC as W,V as r,bT as z,T as Te,aP as L,o as a,b7 as Se,F as ve,c3 as De,p as E,ai as re,h as Ce,h0 as ze,al as ae}from"./index-CRvGO9t2.js";import{a as s}from"./sentry-DElr7jPz.js";import{n as t}from"./mui-C683onAA.js";import{w as Le}from"./downloadPdf-DJF-2ZO0-CuuCICNw.js";import{o as _e}from"./commonDimensions-Bu6zjJKF-QZDQMF1b.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},y=new e.Error().stack;y&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[y]="f21129c1-02c4-41bd-8d29-0cf08294cdbd",e._sentryDebugIdIdentifier="sentry-dbid-f21129c1-02c4-41bd-8d29-0cf08294cdbd")}catch{}})();const{common:{strings:Ie,copyToClipBoard:g},spendManagement:{zeniAccounts:{zeniAccountDetail:Z},billPay:{vendorCreation:{achDetails:o}},downloads:F}}=ve.getLocalizedStrings(),er=({authParams:e,downloadAccountDetailEndPoint:y,currentTab:p,depositAccount:n,zeniAccountsConfigDetail:u,currentTenant:k})=>{const oe=je(),[,M]=Ae(),[N,te]=s.useState(!1),[se,ce]=s.useState(!1),[ne,ie]=s.useState(!1),[le,de]=s.useState(!1),[be,ue]=s.useState(!1),[me,pe]=s.useState(!1),[he,fe]=s.useState(!1),[xe,ye]=s.useState(!1),[h,R]=s.useState(!1),[w,q]=s.useState(!1),[j,G]=s.useState(!1),[A,Q]=s.useState(!1),[T,V]=s.useState(!1),[S,J]=s.useState(!1),[v,O]=s.useState(!1),[$,U]=s.useState(!1),D=k?.company?.companyInfo.companyLegalName,C=W(u.zeniAccountsConfigDetail.mailingAddress).text2,m=W(u.zeniAccountsConfigDetail.bankAddress).text2;s.useEffect(()=>{(h||S||v||$||T||$||j||w||A)&&setTimeout(()=>{R(!1),J(!1),O(!1),U(!1),V(!1),Q(!1),G(!1),q(!1)},1200)},[h,S,v,$,T,A,j,w]);const B=(f,c)=>{switch(f){case"accountType":ce(c);break;case"acccountNumber":ie(c);break;case"routingNumber":de(c);break;case"bankName":ue(c);break;case"beneficiaryName":fe(c);break;case"beneficiaryAddress":pe(c);break;case"bankAddress":ye(c);break}},$e=f=>{let c;f==="achDetails"?c=`${o.bankRoutingNumber} ${n.routingNumberAch}
|
|
2
2
|
|
|
3
3
|
${o.accountTypeLabel} ${n.accountSubType.name??""}
|
|
4
4
|
|
|
@@ -18,7 +18,7 @@ ${o.beneficiaryName} ${D}
|
|
|
18
18
|
|
|
19
19
|
${o.bankAddress} ${m}
|
|
20
20
|
|
|
21
|
-
${o.beneficiaryAddress} ${C}`,M(c),R(!0)},i=(f,c,x,
|
|
21
|
+
${o.beneficiaryAddress} ${C}`,M(c),R(!0)},i=(f,c,x,H)=>{let d,l;switch(x){case"acccountNumber":d=ne,l=v;break;case"accountType":d=se,l=S;break;case"bankName":d=be,l=T;break;case"beneficiaryName":d=he,l=w;break;case"beneficiaryAddress":d=me,l=A;break;case"bankAddress":d=xe,l=j;break;default:d=le,l=$;break}const we=()=>{switch(x){case"accountType":J(!0);break;case"acccountNumber":O(!0);break;case"routingNumber":U(!0);break;case"bankName":V(!0);break;case"beneficiaryName":q(!0);break;case"beneficiaryAddress":Q(!0);break;case"bankAddress":G(!0);break}};return r.jsxs(Qe,{onMouseEnter:()=>B(x,!0),onMouseLeave:()=>B(x,!1),children:[r.jsx(Ve,{children:f}),r.jsx(Oe,{children:r.jsxs(Ue,{children:[r.jsxs(Je,{children:[d||oe==="small"?r.jsx(_,{children:r.jsx(z,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:l,children:l?g.copied:g.copy}),enterDelay:600,children:l===!0?r.jsx(ee,{}):r.jsx(Y,{"data-testid":L("account-info-copy",x),onClick:()=>{M(c),we()}})})}):null,c]}),H!=null?r.jsx(Be,{children:H}):null]})})]})},ge={detail_type:"account_details",deposit_account_id:n.id,company_name:k?.companyName??"",company_legal_name:k?.company?.companyInfo.companyLegalName??""},ke=encodeURIComponent(JSON.stringify(ge)),Ne=`${y}?query=${ke}`;return r.jsx(Ee,{children:r.jsxs(Pe,{children:[r.jsxs(Me,{children:[r.jsx(qe,{children:p==="achDetails"?Z.achTitle:Z.wireTitle}),r.jsxs(Re,{children:[r.jsx(_,{children:r.jsx(z,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:N,children:N?F.downloading:F.download}),enterDelay:600,children:N===!0?r.jsx(Te,{size:"Small",start:!0}):r.jsx(Ge,{"data-testid":L("account-info-download-pdf"),onClick:()=>{Le(Ne,Ie.empty,e,te,!0)}})})}),r.jsx(_,{children:r.jsx(z,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:h,children:h?g.copied:g.copy}),enterDelay:600,children:h===!0?r.jsx(ee,{}):r.jsx(Y,{onClick:()=>$e(p),"data-testid":L("title-text-copy")})})})]})]}),p==="achDetails"?r.jsxs(He,{children:[r.jsx(K,{children:i(o.bankRoutingNumber,n.routingNumberAch,"routingNumber")}),r.jsx(b,{children:i(o.accountTypeLabel,n.accountSubType.name,"accountType")}),r.jsx(b,{children:i(o.bankAccountNumber,n.accountNumber,"acccountNumber")}),r.jsx(b,{children:i(o.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),m!=null?r.jsx(X,{children:i(o.bankAddress,m,"bankAddress")}):null]}):p==="wireDetails"?r.jsxs(We,{children:[r.jsx(K,{children:i(o.bankRoutingNumber,n.routingNumberAch,"routingNumber")}),r.jsx(b,{children:i(o.accountTypeLabel,n.accountSubType.name,"accountType")}),r.jsx(b,{children:i(o.bankAccountNumber,n.accountNumber,"acccountNumber")}),r.jsx(b,{children:i(o.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),m!=null?r.jsx(b,{children:i(o.bankAddress,m,"bankAddress")}):null,D!=null?r.jsx(b,{children:i(o.beneficiaryName,D,"beneficiaryName",o.beneficiaryNameSubLabel)}):null,C!=null?r.jsx(X,{children:i(o.beneficiaryAddress,C,"beneficiaryAddress",o.beneficiaryAddressSubLabel)}):null]}):null]})})},Ee=t.div``,Pe=t.div`
|
|
22
22
|
margin: ${a.sp4};
|
|
23
23
|
margin-left: ${a.sp0};
|
|
24
24
|
`,Me=t.div`
|
|
@@ -57,7 +57,7 @@ ${o.beneficiaryAddress} ${C}`,M(c),R(!0)},i=(f,c,x,Q)=>{let d,l;switch(x){case"a
|
|
|
57
57
|
color: ${e=>e.theme.colors.grey1};
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
-
`,
|
|
60
|
+
`,K=t(P)`
|
|
61
61
|
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
62
62
|
display: flex;
|
|
63
63
|
border-top-width: 1px;
|
|
@@ -72,7 +72,7 @@ ${o.beneficiaryAddress} ${C}`,M(c),R(!0)},i=(f,c,x,Q)=>{let d,l;switch(x){case"a
|
|
|
72
72
|
&:hover {
|
|
73
73
|
border-bottom-width: 1px;
|
|
74
74
|
}
|
|
75
|
-
`,
|
|
75
|
+
`,X=t(P)`
|
|
76
76
|
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
77
77
|
display: flex;
|
|
78
78
|
border-top-width: 0.5px;
|
|
@@ -107,7 +107,7 @@ ${o.beneficiaryAddress} ${C}`,M(c),R(!0)},i=(f,c,x,Q)=>{let d,l;switch(x){case"a
|
|
|
107
107
|
height: ${a.sp3};
|
|
108
108
|
width: ${a.sp3};
|
|
109
109
|
color: ${E.success};
|
|
110
|
-
`,
|
|
110
|
+
`,Qe=t.div`
|
|
111
111
|
display: flex;
|
|
112
112
|
flex-direction: row;
|
|
113
113
|
padding: ${a.sp3} ${a.sp4};
|
|
@@ -116,7 +116,7 @@ ${o.beneficiaryAddress} ${C}`,M(c),R(!0)},i=(f,c,x,Q)=>{let d,l;switch(x){case"a
|
|
|
116
116
|
gap: ${a.sp4};
|
|
117
117
|
`,Ve=t(ae)`
|
|
118
118
|
color: ${e=>e.theme.colors.hero};
|
|
119
|
-
`,
|
|
119
|
+
`,Je=t(ae)`
|
|
120
120
|
display: flex;
|
|
121
121
|
align-items: center;
|
|
122
122
|
color: ${e=>e.theme.colors.primary};
|
|
@@ -129,7 +129,7 @@ ${o.beneficiaryAddress} ${C}`,M(c),R(!0)},i=(f,c,x,Q)=>{let d,l;switch(x){case"a
|
|
|
129
129
|
display: flex;
|
|
130
130
|
flex-direction: column;
|
|
131
131
|
align-items: flex-end;
|
|
132
|
-
`,
|
|
132
|
+
`,Be=t(re)`
|
|
133
133
|
color: ${e=>e.theme.colors.grey1};
|
|
134
134
|
text-align: end;
|
|
135
135
|
`,I=t(re)`
|
|
@@ -146,4 +146,4 @@ ${o.beneficiaryAddress} ${C}`,M(c),R(!0)},i=(f,c,x,Q)=>{let d,l;switch(x){case"a
|
|
|
146
146
|
border-top-width: 1px;
|
|
147
147
|
border-bottom-width: 1px;
|
|
148
148
|
}
|
|
149
|
-
`,
|
|
149
|
+
`,He=t.div``,We=t.div``;export{er as r};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import{e as g,F as l,V as t,al as x,ba as d,r as b,o as r,p,aq as y,bZ as j,b_ as $,b$ as w,bS as k}from"./index-CRvGO9t2.js";import{n as o}from"./mui-C683onAA.js";import{t as S}from"./handshake-BPg58FML-DdOY9tYh.js";import"./sentry-DElr7jPz.js";import"./liveblocks-B-nIdKva.js";import"./core-D97zULRv.js";import"./recharts-DZ48f2vO.js";import"./zeni-epic-state-CxmazTBW.js";import"./lottie-CW3mEGqG.js";import"./analytics-CaHNzCZ_.js";import"./lexical-xAJQjF2q.js";import"./utils-wzGsQKRN.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]="acf68fac-2224-4bfc-bae3-4e77735d74d4",e._sentryDebugIdIdentifier="sentry-dbid-acf68fac-2224-4bfc-bae3-4e77735d74d4")}catch{}})();const m="support@zeni.ai",n=l.getLocalizedStrings().commonSetUp.twoFactorAuthentication,h=({unlockDate:e,onSubmit:i})=>{const s=g(),f=e.format(l.getLocalizedStrings().dateFormat.visual.MMMDCommaYYYYformat),u=e.format(l.getLocalizedStrings().dateFormat.visual.HHMMFormat);return t.jsxs(M,{children:[t.jsx(_,{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(d,{children:[n.tryAgainAfter,t.jsxs(I,{children:[f,t.jsx(L,{children:"•"}),u]}),n.signInViaGoogleOrMicrosoft]})]}),t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(F,{})}),t.jsxs(d,{children:[n.accountLockedContactMessage,t.jsx(D,{href:`mailto:${m}`,children:m})]})]}),t.jsx(b,{variant:"primary",label:n.understood,onClick:i})]})]})};function v({unlockDate:e,onClose:i}){return t.jsx(k,{open:!0,onClose:i,children:t.jsx(T,{children:t.jsx(h,{unlockDate:e,onSubmit:i})})})}const M=o.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
align-items: center;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
row-gap: ${r.sp6};
|
|
7
|
+
`,_=o(y)`
|
|
8
|
+
color: ${p.important};
|
|
9
|
+
text-align: center;
|
|
10
|
+
`,C=o.div`
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
align-items: center;
|
|
14
|
+
justify-content: center;
|
|
15
|
+
row-gap: ${r.sp5};
|
|
16
|
+
`,a=o.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
|
+
`,D=o.a`
|
|
25
|
+
text-decoration: underline;
|
|
26
|
+
color: ${e=>e.theme.colors.primary};
|
|
27
|
+
`,I=o(d)`
|
|
28
|
+
font-weight: ${w.medium};
|
|
29
|
+
`,L=o.span`
|
|
30
|
+
color: ${e=>e.theme.colors.hero};
|
|
31
|
+
margin-left: ${r.sp1};
|
|
32
|
+
margin-right: ${r.sp1};
|
|
33
|
+
`,c=o.div`
|
|
34
|
+
width: ${r.sp7};
|
|
35
|
+
height: ${r.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=o($)`
|
|
44
|
+
width: ${r.sp4};
|
|
45
|
+
height: ${r.sp4};
|
|
46
|
+
`,A=o(j)`
|
|
47
|
+
width: ${r.sp4};
|
|
48
|
+
height: ${r.sp4};
|
|
49
|
+
`,F=o(S)`
|
|
50
|
+
width: ${r.sp4};
|
|
51
|
+
height: ${r.sp4};
|
|
52
|
+
`,T=o.div`
|
|
53
|
+
display: flex;
|
|
54
|
+
flex-direction: column;
|
|
55
|
+
width: 456px;
|
|
56
|
+
padding: ${r.sp5} ${r.sp6};
|
|
57
|
+
background: ${e=>e.theme.colors.grey5};
|
|
58
|
+
border-radius: ${r.sp2};
|
|
59
|
+
`,B=Object.freeze(Object.defineProperty({__proto__:null,AccountLockedInfo:h,default:v},Symbol.toStringTag,{value:"Module"}));export{h as A,m as Z,B as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a9 as fe,fA as xe,V as t,ac as ye,cp as ge,cq as je,cr as Se,o as c,
|
|
1
|
+
import{a9 as fe,fA as xe,V as t,ac as ye,cp as ge,cq as je,cr as Se,o as c,a as $e,b7 as Q,am as X,C as be,aa as ke,dO as ve,eU as we,d5 as G,dx as Z,F as Ce,al as d,e as Ee,aN as Pe,bw as ee,dR as te,at as Re,p as ne,h as Ie}from"./index-CRvGO9t2.js";import{a as r}from"./sentry-DElr7jPz.js";import{n as o}from"./mui-C683onAA.js";import{bL as oe,Gz as De,GA as _e}from"./zeni-epic-state-CxmazTBW.js";import{B as Te,C as Fe,w as Ue,f as Be}from"./AccountRow-CGDnBStW-bN09F9FO.js";import"./liveblocks-B-nIdKva.js";import"./core-D97zULRv.js";import"./recharts-DZ48f2vO.js";import"./lottie-CW3mEGqG.js";import"./analytics-CaHNzCZ_.js";import"./lexical-xAJQjF2q.js";import"./utils-wzGsQKRN.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]="26176bc6-706b-4be7-aa2b-87ce660fa6a3",e._sentryDebugIdIdentifier="sentry-dbid-26176bc6-706b-4be7-aa2b-87ce660fa6a3")}catch{}})();const m={containerPaddingLeft:c.sp4,containerPaddingRight:c.sp4,navBarHeight:c.sp10,navBarPaddingRight:c.sp4,navBarPaddingLeft:c.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};
|
|
@@ -19,7 +19,7 @@ import{a9 as fe,fA as xe,V as t,ac as ye,cp as ge,cq as je,cr as Se,o as c,c as
|
|
|
19
19
|
z-index: 2;
|
|
20
20
|
top: ${c.sp0};
|
|
21
21
|
width: 100%;
|
|
22
|
-
`,Ye=o(
|
|
22
|
+
`,Ye=o(be)`
|
|
23
23
|
cursor: pointer;
|
|
24
24
|
color: ${e=>e.theme.colors.hero};
|
|
25
25
|
width: ${c.sp4};
|
|
@@ -236,4 +236,4 @@ import{a9 as fe,fA as xe,V as t,ac as ye,cp as ge,cq as je,cr as Se,o as c,c 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:K,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:T,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:B}){const f=fe({mode:"all",reValidateMode:"onChange",defaultValues:J(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:J(e)}),k=f.handleSubmit(()=>{}),[h,y]=r.useState(void 0),b=n.link_account_no_microdeposit,v=n.update_account,a=h==="update_account"?v:b,[g,L]=r.useState(a.linkToken??null),[s,w]=r.useState(!1),[N,M]=r.useState(!1),[O,Y]=r.useState(void 0),[re,z]=r.useState(void 0),le=r.useCallback(()=>{y("link_account_no_microdeposit")},[]),de=r.useCallback(()=>{y("update_account"),E("update_account",e.paymentAccountId)},[e.paymentAccountId]),ue={onOkClick:()=>{O!=null&&(R(O),Y(void 0)),z(void 0),M(!1)},onCancelClick:()=>{Y(void 0),M(!1)}},H=r.useRef(h);r.useEffect(()=>{H.current=h},[h]);const pe=r.useCallback(I=>{P(I,e.accountReconEntity.account.accountId,H.current),y(void 0),w(!1)},[P,e.accountReconEntity.account.accountId]),he=r.useCallback((I,me)=>{I!=null&&console.log("Plaid Connection Error",I,me),y(void 0),w(!1)},[]),{open:q,ready:V}=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"&&V&&w(!0)},[V,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&&q()},[s,q]),t.jsxs(Le,{children:[t.jsx(Oe,{children:t.jsx(We,{children:t.jsxs(Ne,{children:[t.jsx(Me,{}),t.jsxs(ze,{children:[t.jsx(He,{children:e.accountReconEntity.account.accountName}),t.jsx(ce,{children:t.jsx(bt,{monthYearPeriod:l})})]}),t.jsx(qe,{children:t.jsx(Ye,{onClick:$})})]})})}),t.jsxs(Ae,{children:[t.jsx(ye,{...f,children:t.jsx("form",{style:{width:"100%"},id:xt,onSubmit:k,children:t.jsx(yt,{monthYearPeriod:l,accountReconciliation:e,filesEndPoint:x,openFilePicker:u,authParams:S,onConnectClick:le,onReconnectClick:de,onSelectSourceType:T,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:B,showConfirmationPopup:N,setShowConfirmationPopup:M,deleteFileId:O,setDeleteFileId:Y,uploadErrorMessage:re,setUploadErrorMessage:z})})}),N===!0||e.statementDeleteStatus.fetchState==="In-Progress"?t.jsx(ge,{titleComponent:t.jsx(Se,{children:i.reconciliation.drawer.deleteConfirmation.heading}),descriptionComponent:t.jsx(je,{children:i.reconciliation.drawer.deleteConfirmation.description}),isLoading:e.statementDeleteStatus.fetchState==="In-Progress",primaryButtonText:p.confirm,secondaryButtonText:p.cancel,action:ue}):null]})]})}const yt=({monthYearPeriod:e,accountReconciliation:n,filesEndPoint:l,authParams:u,openFilePicker:x,onConnectClick:S,onReconnectClick:$,setDeleteFileId:E,setShowConfirmationPopup:P,onEditFileName:T,onSelectSourceType:R,onStatementUploadSuccess:F,onUploadWindowOpenedOnce:U,uploadErrorMessage:B,setUploadErrorMessage:f})=>{const[k,h]=r.useState(!1),y=(n.localData?.accountSource??"plaid")==="plaid"?n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt:n.accountReconEntity.reconUpdatedAt,b=[];n.accountReconEntity.account.accountType==="bank"&&b.push({label:i.reconciliation.menu.bankConnection,value:"plaid"}),b.push({label:i.reconciliation.menu.statement,value:"bank_statement"});const v=n.accountReconEntity.account.accountType==="credit_card"?"bank_statement":n.localData?.accountSource;let a=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0||k?"bank_statement":void 0;n.accountReconEntity.account.accountType==="credit_card"&&(a="bank_statement"),r.useEffect(()=>{n.accountReconEntity.statementStatus.code==="uploaded"&&(n.accountReconEntity.statementDataStatus?.code==="validation_failed"||n.accountReconEntity.statementDataStatus?.code==="parsing_failed"||n.accountReconEntity.statementDataStatus?.code==="processing_failed")&&f(Te(n.accountReconEntity.statementDataStatus?.code,"drawer",n.accountReconEntity.errorMessage?.errorShort))},[n.accountReconEntity.statementStatus.code,n.accountReconEntity.statementDataStatus?.code,n.accountReconEntity.errorMessage?.errorShort,f]);const g=["reconciled","in_progress","reconciled_via_qbo"],L=n.accountReconEntity.reconciliationStatus!=null&&g.includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(Ve,{children:[t.jsxs(Ge,{children:[t.jsxs(Ke,{children:[t.jsx(A,{children:i.reconciliation.headers.bankBalance}),t.jsx(Je,{children:t.jsx(Fe,{bankBalance:n.accountReconEntity.balance,bankConnection:n.accountConnectionStatus,isLoading:!1,fromDrawer:!0,accountId:n.accountReconEntity.account.accountId,statementStatus:n.accountReconEntity.statementStatus.code,onStatementAddClicked:()=>{},setIsHovering:()=>{}})})]}),t.jsxs(Qe,{children:[t.jsx(A,{children:i.reconciliation.headers.clearedBalance}),t.jsx(Xe,{children:t.jsx(Ue,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(et,{children:[t.jsx(A,{children:i.reconciliation.headers.variance}),t.jsx(tt,{children:t.jsx($t,{variance:n.accountReconEntity.variance,variancePercentage:n.accountReconEntity.variancePercentage})})]})]}),t.jsxs(st,{children:[t.jsxs(rt,{children:[" ",i.reconciliation.drawer.source," "]}),t.jsxs(lt,{children:[t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.type}),t.jsx(_,{children:a!=null?t.jsx(j,{children:a==="plaid"&&n.accountReconEntity.account.accountType==="bank"?t.jsxs(t.Fragment,{children:[t.jsx(ie,{}),i.reconciliation.menu.bankConnection]}):t.jsxs(t.Fragment,{children:[t.jsx(ae,{}),i.reconciliation.menu.statement]})}):t.jsx(be,{controller:!0,children:t.jsx(ve,{moreIconType:"custom",customIcon:t.jsx(gt,{selectedSourceType:v}),options:b,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:c.sp5,width:"180px"})},menuPlacement:"bottom",onOptionSelection:s=>{R(De(s))},valueToIcon:s=>s==="plaid"?t.jsx(ut,{}):s==="bank_statement"?t.jsx(pt,{}):null})})})]}),v==="bank_statement"?t.jsx(C,{children:t.jsx(we,{name:ft(se,"file"),file:n.accountReconEntity.statementMetaData?.file,showPhotoPicker:!1,isDisabled: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:_e,metadataPayload:{accountId:n.accountReconEntity.account.accountId,accountType:n.accountReconEntity.account.accountType??"bank",monthYearPeriod:e},errorMessage:B,onUploadError:s=>{f(s?.message)},onUploadSuccess:s=>{F(s),h(!1)},onUploadStart:()=>{h(!0),f(void 0)},onUploadWindowOpenedOnce:()=>{U()}},onDeleteFile:s=>{E(s),P(!0)},onEditFileName:(s,w)=>{T(s,w)}})}):null,t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.status}),t.jsx(_,{children:v!=="bank_statement"?t.jsx(jt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:$}):t.jsx(St,{uploadInProgress:k,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.accountType}),t.jsx(_,{children:t.jsx(kt,{accountSubType:G(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.lastUpdated}),t.jsx(_,{children:t.jsx(Z,{isLoading:k,customStyle:{height:"20px",width:"100px"},position:"left",children:y!=null?t.jsx(j,{children:G(y.utc(!0).fromNow())}):p.strings.hyphen})})]})]})]})]})},gt=({selectedSourceType:e})=>t.jsxs(ct,{children:[e==null||e==="plaid"?t.jsx(ie,{}):t.jsx(ae,{}),t.jsx(it,{children:e==null||e==="plaid"?i.reconciliation.menu.bankConnection:i.reconciliation.menu.statement}),t.jsx(at,{})]}),jt=({status:e,connectionInProgress:n,onConnectClick:l,onReconnectClick:u})=>n?t.jsx(W,{children:i.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(W,{children:[t.jsx(dt,{}),t.jsx(ht,{children:i.reconciliation.drawer.values.connected})]}):t.jsx(W,{onClick:e==="reconnect"?u:l,children:t.jsx(mt,{status:e,children:e==="reconnect"?i.reconciliation.drawer.values.reconnect:i.reconciliation.drawer.values.connect})}),St=({status:e,uploadInProgress:n})=>n?t.jsx(Z,{isLoading:n,customStyle:{height:"20px",width:"100px"},position:"left",children:t.jsx(t.Fragment,{})}):e==null?t.jsx(j,{children:p.strings.hyphen}):e==="parsing"?t.jsx(j,{children:i.reconciliation.drawer.values.statementParsing}):e==="validated"?t.jsx(j,{children:i.reconciliation.drawer.values.uploaded}):t.jsx(j,{children:p.strings.hyphen}),$t=({variance:e,variancePercentage:n,reconciliationStatusCode:l})=>{const u=Ee(),{varianceColor:x,variancePercentageColor:S,variancePercentageContainerColor:$}=Be(u,e,l,!0);return t.jsxs(Ze,{children:[t.jsx(nt,{textColor:x,children:Pe("0,0",e)??p.strings.hyphen}),t.jsxs(ot,{textColor:S,bgColor:$,children:[n!=null?n===0?"0":n.toFixed(2):null,n!=null?p.strings.percentage:null]})]})},kt=({accountSubType:e})=>{const n=e!=null?e.replace("_"," "):p.strings.hyphen;return t.jsx(j,{children:n})},bt=({monthYearPeriod:e})=>t.jsx(ce,{children:vt(e)}),vt=e=>{const{month:n,year:l}=e,u=oe(`${l}-${String(n).padStart(2,"0")}-01`);let x=u.endOf("month");return`${u.format(K.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${x.format(K.visual.DMMMYYYYFormat)}`},J=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{Lt as default,ft as uniqueName};
|
|
239
|
+
`,{common:p,dateFormat:K,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:T,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:B}){const f=fe({mode:"all",reValidateMode:"onChange",defaultValues:J(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:J(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,M]=r.useState(!1),[O,Y]=r.useState(void 0),[re,z]=r.useState(void 0),le=r.useCallback(()=>{y("link_account_no_microdeposit")},[]),de=r.useCallback(()=>{y("update_account"),E("update_account",e.paymentAccountId)},[e.paymentAccountId]),ue={onOkClick:()=>{O!=null&&(R(O),Y(void 0)),z(void 0),M(!1)},onCancelClick:()=>{Y(void 0),M(!1)}},H=r.useRef(h);r.useEffect(()=>{H.current=h},[h]);const pe=r.useCallback(I=>{P(I,e.accountReconEntity.account.accountId,H.current),y(void 0),w(!1)},[P,e.accountReconEntity.account.accountId]),he=r.useCallback((I,me)=>{I!=null&&console.log("Plaid Connection Error",I,me),y(void 0),w(!1)},[]),{open:q,ready:V}=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"&&V&&w(!0)},[V,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&&q()},[s,q]),t.jsxs(Le,{children:[t.jsx(Oe,{children:t.jsx(We,{children:t.jsxs(Ne,{children:[t.jsx(Me,{}),t.jsxs(ze,{children:[t.jsx(He,{children:e.accountReconEntity.account.accountName}),t.jsx(ce,{children:t.jsx(kt,{monthYearPeriod:l})})]}),t.jsx(qe,{children:t.jsx(Ye,{onClick:$})})]})})}),t.jsxs(Ae,{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:T,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:B,showConfirmationPopup:N,setShowConfirmationPopup:M,deleteFileId:O,setDeleteFileId:Y,uploadErrorMessage:re,setUploadErrorMessage:z})})}),N===!0||e.statementDeleteStatus.fetchState==="In-Progress"?t.jsx(ge,{titleComponent:t.jsx(Se,{children:i.reconciliation.drawer.deleteConfirmation.heading}),descriptionComponent:t.jsx(je,{children:i.reconciliation.drawer.deleteConfirmation.description}),isLoading:e.statementDeleteStatus.fetchState==="In-Progress",primaryButtonText:p.confirm,secondaryButtonText:p.cancel,action:ue}):null]})]})}const yt=({monthYearPeriod:e,accountReconciliation:n,filesEndPoint:l,authParams:u,openFilePicker:x,onConnectClick:S,onReconnectClick:$,setDeleteFileId:E,setShowConfirmationPopup:P,onEditFileName:T,onSelectSourceType:R,onStatementUploadSuccess:F,onUploadWindowOpenedOnce:U,uploadErrorMessage:B,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(Te(n.accountReconEntity.statementDataStatus?.code,"drawer",n.accountReconEntity.errorMessage?.errorShort))},[n.accountReconEntity.statementStatus.code,n.accountReconEntity.statementDataStatus?.code,n.accountReconEntity.errorMessage?.errorShort,f]);const g=["reconciled","in_progress","reconciled_via_qbo"],L=n.accountReconEntity.reconciliationStatus!=null&&g.includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(Ve,{children:[t.jsxs(Ge,{children:[t.jsxs(Ke,{children:[t.jsx(A,{children:i.reconciliation.headers.bankBalance}),t.jsx(Je,{children:t.jsx(Fe,{bankBalance:n.accountReconEntity.balance,bankConnection:n.accountConnectionStatus,isLoading:!1,fromDrawer:!0,accountId:n.accountReconEntity.account.accountId,statementStatus:n.accountReconEntity.statementStatus.code,onStatementAddClicked:()=>{},setIsHovering:()=>{}})})]}),t.jsxs(Qe,{children:[t.jsx(A,{children:i.reconciliation.headers.clearedBalance}),t.jsx(Xe,{children:t.jsx(Ue,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(et,{children:[t.jsx(A,{children:i.reconciliation.headers.variance}),t.jsx(tt,{children:t.jsx($t,{variance:n.accountReconEntity.variance,variancePercentage:n.accountReconEntity.variancePercentage})})]})]}),t.jsxs(st,{children:[t.jsxs(rt,{children:[" ",i.reconciliation.drawer.source," "]}),t.jsxs(lt,{children:[t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.type}),t.jsx(_,{children:a!=null?t.jsx(j,{children:a==="plaid"&&n.accountReconEntity.account.accountType==="bank"?t.jsxs(t.Fragment,{children:[t.jsx(ie,{}),i.reconciliation.menu.bankConnection]}):t.jsxs(t.Fragment,{children:[t.jsx(ae,{}),i.reconciliation.menu.statement]})}):t.jsx(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:_e,metadataPayload:{accountId:n.accountReconEntity.account.accountId,accountType:n.accountReconEntity.account.accountType??"bank",monthYearPeriod:e},errorMessage:B,onUploadError:s=>{f(s?.message)},onUploadSuccess:s=>{F(s),h(!1)},onUploadStart:()=>{h(!0),f(void 0)},onUploadWindowOpenedOnce:()=>{U()}},onDeleteFile:s=>{E(s),P(!0)},onEditFileName:(s,w)=>{T(s,w)}})}):null,t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.status}),t.jsx(_,{children:v!=="bank_statement"?t.jsx(jt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:$}):t.jsx(St,{uploadInProgress:b,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.accountType}),t.jsx(_,{children:t.jsx(bt,{accountSubType:G(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.lastUpdated}),t.jsx(_,{children:t.jsx(Z,{isLoading:b,customStyle:{height:"20px",width:"100px"},position:"left",children:y!=null?t.jsx(j,{children:G(y.utc(!0).fromNow())}):p.strings.hyphen})})]})]})]})]})},gt=({selectedSourceType:e})=>t.jsxs(ct,{children:[e==null||e==="plaid"?t.jsx(ie,{}):t.jsx(ae,{}),t.jsx(it,{children:e==null||e==="plaid"?i.reconciliation.menu.bankConnection:i.reconciliation.menu.statement}),t.jsx(at,{})]}),jt=({status:e,connectionInProgress:n,onConnectClick:l,onReconnectClick:u})=>n?t.jsx(W,{children:i.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(W,{children:[t.jsx(dt,{}),t.jsx(ht,{children:i.reconciliation.drawer.values.connected})]}):t.jsx(W,{onClick:e==="reconnect"?u:l,children:t.jsx(mt,{status:e,children:e==="reconnect"?i.reconciliation.drawer.values.reconnect:i.reconciliation.drawer.values.connect})}),St=({status:e,uploadInProgress:n})=>n?t.jsx(Z,{isLoading:n,customStyle:{height:"20px",width:"100px"},position:"left",children:t.jsx(t.Fragment,{})}):e==null?t.jsx(j,{children:p.strings.hyphen}):e==="parsing"?t.jsx(j,{children:i.reconciliation.drawer.values.statementParsing}):e==="validated"?t.jsx(j,{children:i.reconciliation.drawer.values.uploaded}):t.jsx(j,{children:p.strings.hyphen}),$t=({variance:e,variancePercentage:n,reconciliationStatusCode:l})=>{const u=Ee(),{varianceColor:x,variancePercentageColor:S,variancePercentageContainerColor:$}=Be(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(K.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${x.format(K.visual.DMMMYYYYFormat)}`},J=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,aN as E,bT as f,o,aP as y,aa as se,dO as re,F as le,al as w,dP as de,p as g,dQ as X,dR as Y,d0 as ue,aV as x,ai as Z,u as p,
|
|
1
|
+
import{V as t,aN as E,bT as f,o,aP as y,aa as se,dO as re,F as le,al as w,dP as de,p as g,dQ as X,dR as Y,d0 as ue,aV as x,ai as Z,u as p,Q as xe,e as S,a$ as pe,dv as he,an as ge,r as me,am as I,bK as fe,dH as je}from"./index-CRvGO9t2.js";import{a as ye}from"./sentry-DElr7jPz.js";import{n as a,c as we}from"./mui-C683onAA.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]="f176d931-7ada-4c57-9d77-c83882ff3d35",e._sentryDebugIdIdentifier="sentry-dbid-f176d931-7ada-4c57-9d77-c83882ff3d35")}catch{}})();const $e=a.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
${e=>e.showTreeLine===!0&&e.collapsed!==!0?`&::after {
|
|
4
4
|
content: "";
|
|
@@ -129,14 +129,14 @@ import{V as t,aN as E,bT as f,o,aP as y,aa as se,dO as re,F as le,al as w,dP as
|
|
|
129
129
|
width: ${u.bankBalanceWidth}px;
|
|
130
130
|
min-width: ${u.bankBalanceWidth}px;
|
|
131
131
|
text-align: right;
|
|
132
|
-
`,
|
|
132
|
+
`,Qe=a.div`
|
|
133
133
|
width: ${u.bankBalanceRightWidth}px;
|
|
134
134
|
min-width: ${u.bankBalanceRightWidth}px;
|
|
135
|
-
`,
|
|
135
|
+
`,Fe=a(w)`
|
|
136
136
|
width: ${u.clearedBalanceWidth}px;
|
|
137
137
|
min-width: ${u.clearedBalanceWidth}px;
|
|
138
138
|
text-align: right;
|
|
139
|
-
`,
|
|
139
|
+
`,Me=a(w)`
|
|
140
140
|
width: ${u.statusWidth}px;
|
|
141
141
|
min-width: ${u.statusWidth}px;
|
|
142
142
|
height: 1px;
|
|
@@ -171,7 +171,7 @@ import{V as t,aN as E,bT as f,o,aP as y,aa as se,dO as re,F as le,al as w,dP as
|
|
|
171
171
|
color: ${e=>e.textColor.hex()};
|
|
172
172
|
min-width: ${u.varianceNumberWidth}px;
|
|
173
173
|
text-align: right;
|
|
174
|
-
`,
|
|
174
|
+
`,Ke=a(w)`
|
|
175
175
|
border-radius: ${o.sp1};
|
|
176
176
|
padding: ${o.sp0} ${o.sp1};
|
|
177
177
|
justify-content: center;
|
|
@@ -179,11 +179,11 @@ import{V as t,aN as E,bT as f,o,aP as y,aa as se,dO as re,F as le,al as w,dP as
|
|
|
179
179
|
color: ${e=>e.textColor.hex()};
|
|
180
180
|
background-color: ${e=>e.bgColor.hex()};
|
|
181
181
|
min-width: ${u.variancePercentageWidth}px;
|
|
182
|
-
`,
|
|
182
|
+
`,Ge=a.div`
|
|
183
183
|
display: flex;
|
|
184
184
|
flex-direction: row;
|
|
185
185
|
align-items: center;
|
|
186
|
-
`,
|
|
186
|
+
`,Je=a.div`
|
|
187
187
|
display: flex;
|
|
188
188
|
flex-direction: column;
|
|
189
189
|
align-items: center;
|
|
@@ -194,7 +194,7 @@ import{V as t,aN as E,bT as f,o,aP as y,aa as se,dO as re,F as le,al as w,dP as
|
|
|
194
194
|
gap: ${o.sp1};
|
|
195
195
|
`,Ye=a(I)`
|
|
196
196
|
color: ${g.success};
|
|
197
|
-
`,
|
|
197
|
+
`,G=a(I)`
|
|
198
198
|
color: ${g.success};
|
|
199
199
|
`,Ze=a(je)`
|
|
200
200
|
width: ${o.sp3};
|
|
@@ -245,16 +245,16 @@ import{V as t,aN as E,bT as f,o,aP as y,aa as se,dO as re,F as le,al as w,dP as
|
|
|
245
245
|
display: flex;
|
|
246
246
|
flex-direction: column;
|
|
247
247
|
align-items: center;
|
|
248
|
-
`,
|
|
248
|
+
`,J=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
|
+
`,F=a(I)`
|
|
256
256
|
color: ${e=>e.textColor.hex()};
|
|
257
|
-
`,
|
|
257
|
+
`,M=a(I)`
|
|
258
258
|
color: ${e=>e.textColor.hex()};
|
|
259
259
|
`,U=a.div`
|
|
260
260
|
display: flex;
|
|
@@ -295,4 +295,4 @@ import{V as t,aN as E,bT as f,o,aP as y,aa as se,dO as re,F as le,al as w,dP as
|
|
|
295
295
|
width: ${o.sp3};
|
|
296
296
|
height: ${o.sp3};
|
|
297
297
|
margin-top: 2px;
|
|
298
|
-
`,{expenseAutomation:{accountRecon:{reconciliation:s}},common:{strings:{hyphen:h,percentage:gt}}}=le.getLocalizedStrings();function _t({height:e,accountRecon:n,isLastRow:c,isSelectedRow:i,onReviewClicked:l,onOpenDrawerClicked:d,onConnectClicked:r,onReconnectClicked:m,onStatementAddClicked:k}){const W=xe(),B=S(),v=n.accountReconEntity.account.accountName,P=n.accountReconEntity.balance,j=n.accountReconEntity.clearedBalance,N=n.accountReconEntity.variance,ne=n.accountReconEntity.variancePercentage,oe=()=>{r?.(n.accountReconEntity.account.accountId)},ae=()=>{m?.(n.accountReconEntity.account.accountId)},ce=()=>{k?.(n.accountReconEntity.account.accountId)},z=()=>{l?.(n.accountReconEntity.account.accountId)},[ie,D]=ye.useState(!1),q=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0?"bank_statement":"plaid",T=q==="plaid"?n.accountReconEntity.balanceDataStatus?.code==="in_progress"||n.connectionInProgress===!0:n.accountReconEntity.statementDataStatus?.code==="parsing"||n.statementParseInProgress===!0;let J=e;return c&&(J=e+p[8]),t.jsxs(Le,{"data-testid":y("account-recon-row-root-container",n.accountReconEntity.account.accountName),heightValue:J,isLastRow:c,windowSize:W,isSelectedRow:i,onClick:()=>{ie!==!0&&d?.(n.accountReconEntity.account.accountId)},children:[t.jsxs(Be,{isClickable:!0,"data-testid":y("total-row-container"),heightValue:e,children:[t.jsxs(Ne,{children:[t.jsx(Te,{firstLetter:v.charAt(0),color:new x(B.colors.hero),showIcon:!1,showCollapsedIcon:!1,className:"any-text-container"}),t.jsx(De,{children:t.jsx(f,{enterDelay:600,title:v,style:{padding:`${o.sp1} ${o.sp2}`},placement:"bottom",children:t.jsx(Ve,{className:"any-text-container",children:v})})})]}),t.jsxs(Ae,{children:[t.jsx(Oe,{children:t.jsx(wt,{accountType:n.accountReconEntity.account.accountType,lastUpdatedAt:n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt,setIsHovering:D,statementStatus:n.accountReconEntity.statementStatus.code,accountId:n.accountReconEntity.account.accountId,bankBalance:P,bankConnection:n.accountConnectionStatus,onConnectClicked:oe,onStatementAddClicked:ce,isLoading:T,onReconnectClicked:ae})}),t.jsx(Fe,{children:t.jsx(kt,{statementStatus:n.accountReconEntity.statementStatus.code,statementParseInProgress:n.statementParseInProgress,connectionInProgress:n.connectionInProgress,bankStatusCode:n.accountConnectionStatus})}),t.jsx(Me,{children:t.jsx($t,{clearedBalance:j,isLoading:T})}),t.jsx(mt,{isLoading:T,variance:N,variancePercentage:ne,reconciliationStatusCode:n.accountReconEntity.reconciliationStatus?.code}),t.jsx(Ue,{children:t.jsx(He,{heightValue:e})}),t.jsx(Qe,{onMouseEnter:()=>{D(!0)},onMouseLeave:()=>{D(!1)},children:q==="plaid"?t.jsx(jt,{accountRecon:n,isLoading:T,onReviewClicked:z}):t.jsx(yt,{accountRecon:n,isLoading:T,onReviewClicked:z})})]})]}),t.jsx(We,{kind:"account_separator",isScrolling:!1}),c?t.jsx(_e,{}):null]})}const mt=({variance:e,variancePercentage:n,reconciliationStatusCode:c,isLoading:i})=>{const l=S(),{varianceColor:d,variancePercentageColor:r,variancePercentageContainerColor:m}=ft(l,e,c),k=i?h:e!=null&&e.amount===0?"0%":n!=null?n===0?"0%":`${n.toFixed(2)}${gt}`:h;return t.jsxs(ze,{children:[t.jsx(qe,{textColor:d,className:"any-text-container",children:e==null||i?h:E("0,0",e)}),t.jsx(Je,{textColor:r,bgColor:m,className:"any-text-container",children:k})]})},ft=(e,n,c,i)=>{let l,d,r;return n!=null&&n.amount===0&&c!=null&&c==="reconciled"?(l=new x(g.success),d=new x(g.success),r=new x(g.successLight)):i===!0?(l=new x(e.colors.primary),d=new x(e.colors.primary),r=new x(e.colors.grey2)):(l=new x(e.colors.hero),d=new x(e.colors.hero),r=new x(e.colors.background)),{varianceColor:l,variancePercentageColor:d,variancePercentageContainerColor:r}},jt=({accountRecon:e,isLoading:n,onReviewClicked:c})=>{const i=e.accountReconEntity.reconciliationStatus,l=e.accountConnectionStatus,d=e.accountReconEntity.reconciliationId!=null?e.accountReconEntity.reconUpdatedAt:e.accountReconEntity.accountUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(n)return t.jsx(vt,{});if(e.accountReconEntity.balanceDataStatus?.code==="not_found"){let m="";return e.accountReconEntity.balance==null&&e.accountReconEntity.clearedBalance==null?m=s.status.balanceNotFound:e.accountReconEntity.balance==null?m=s.status.bankBalanceNotFound:m=s.status.clearedBalanceNotFound,t.jsx(bt,{status:m,tooltipText:r})}if(l==="reconnect"||l==="not_connected")return t.jsx(V,{tooltipText:r,showTooltip:d!=null});if(i==null&&l==="connected"&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:c});if(i!=null)switch(i.code){case"save_for_later":case"pending":return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:c});case"reconciled":return t.jsx(_,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"in_progress":return t.jsx(te,{tooltipText:r});case"failed":return t.jsx(ee,{tooltipText:r});case"reconciled_on_qbo":return t.jsx(_,{isQBO:!0,tooltipText:r});default:return null}else return t.jsx(V,{showTooltip:d!=null,tooltipText:r})},yt=({accountRecon:e,isLoading:n,onReviewClicked:c})=>{const i=e.accountReconEntity.reconciliationStatus,l=e.accountReconEntity.statementDataStatus?.code==="validated"||e.accountReconEntity.statementDataStatus?.code==="processed",d=e.accountReconEntity.reconUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(e.accountReconEntity.statementDataStatus?.code==="parsing_failed"||e.accountReconEntity.statementDataStatus?.code==="validation_failed"||e.accountReconEntity.statementDataStatus?.code==="processing_failed")return t.jsx(Rt,{code:e.accountReconEntity.statementDataStatus?.code,tooltipText:r,errorMessage:e.accountReconEntity.errorMessage?.errorShort});if(n)return t.jsx(Ct,{});if(i==null&&l&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:c});if(i!=null)switch(i.code){case"save_for_later":case"pending":return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:c});case"reconciled":return t.jsx(_,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"reconciled_on_qbo":return t.jsx(_,{isQBO:!0,tooltipText:r});case"in_progress":return t.jsx(te,{tooltipText:r});case"failed":return t.jsx(ee,{tooltipText:r});default:return null}else return t.jsx(V,{showTooltip:d!=null,tooltipText:r})},L=({buttonLabel:e,isDisabled:n,tooltipText:c,dataTestId:i,onClick:l})=>t.jsx(f,{title:t.jsx(b,{tooltipText:c}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(Ke,{children:t.jsx(me,{label:e,size:"standard",variant:"secondary",style:{padding:`${o.sp1} 12px`},disabled:n,"data-testid":i,onClick:d=>{d.stopPropagation(),l()}})})}),_=({user:e,isQBO:n,tooltipText:c})=>t.jsx(f,{title:t.jsx(b,{tooltipText:c}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(Ge,{children:[t.jsxs(Xe,{children:[t.jsx(Ze,{}),t.jsx(Ye,{children:n?s.status.reconciledVia:s.status.reconciledBy})]}),n?t.jsx(K,{children:s.status.QBOUser}):e&&t.jsxs(K,{children:[e.firstName," ",e.lastName]})]})}),wt=({bankBalance:e,accountType:n,bankConnection:c,statementStatus:i,lastUpdatedAt:l,fromDrawer:d=!1,onConnectClicked:r,onReconnectClicked:m,isLoading:k,accountId:W,onStatementAddClicked:B,setIsHovering:v})=>{const P=Tt(n);if(d===!0)return t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h});if(k===!0)return t.jsx(C,{className:"any-text-container",children:h});if(c==="reconnect"){const j=l!=null?`${l.utc(!0).fromNow()}`:h;return t.jsxs(ot,{children:[t.jsxs(at,{children:[t.jsx(ct,{children:t.jsx(f,{title:t.jsx(b,{tooltipText:j}),placement:"bottom",style:{padding:`2px ${o.sp2}`},children:t.jsx(it,{})})}),t.jsx(C,{className:"any-text-container",children:e!=null?E("0,0",e):h})]}),t.jsx(nt,{"data-testid":y("account-reconciliation-reconnect-button",W),onClick:N=>{N.stopPropagation(),m?.()},children:s.connect.reconnnect})]})}else return c==="connected"||i==="uploaded"?t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(et,{"data-testid":y("account-reconciliation-connect-button",W),onMouseEnter:()=>{v(!0)},onMouseLeave:()=>{v(!1)},children:t.jsx(se,{controller:P.length>0,children:t.jsx(f,{title:s.tooltips.selectSource,style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(re,{moreIconType:"custom",customIcon:t.jsx(tt,{}),options:P,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:o.sp3,".more-icon":{width:o.sp3,height:o.sp3}})},menuPlacement:"auto",onOptionSelection:j=>{j==="bank_connection"?r?.():j==="statement"&&B?.()},valueToIcon:j=>j==="bank_connection"?t.jsx(ut,{}):j==="statement"?t.jsx(pt,{}):null})})})})},$t=({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(A,{iconColor:n}),t.jsx(F,{children:t.jsx(M,{textColor:n,children:s.status.reconciliationFailed})}),t.jsx(U,{children:t.jsx(Q,{textColor:n,children:s.status.reconcileViaQBO})})]})})})},bt=({status:e,tooltipText:n})=>{const c=new x(g.brandColorGoldDark);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs($,{children:[t.jsx(A,{iconColor:c}),t.jsxs(O,{children:[t.jsx(F,{children:t.jsx(M,{textColor:c,children:e})}),t.jsx(U,{children:t.jsx(Q,{textColor:c,children:s.status.reconcileViaQBO})})]})]})})},te=({tooltipText:e})=>{const n=S(),c=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:c,children:s.status.autoReconInProgress}),t.jsx(R,{textColor:c,children:s.status.isInProgress})]})})})},vt=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:n,children:s.status.balanceSyncInProgress}),t.jsx(R,{textColor:n,children:s.status.isInProgress})]})})},Ct=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:n,children:s.status.statementSyncInProgress}),t.jsx(R,{textColor:n,children:s.status.isInProgress})]})})},Rt=({code:e,tooltipText:n,errorMessage:c})=>{const i=new x(g.important),l=Et(e,"list",c);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs($,{children:[t.jsx(A,{iconColor:i}),t.jsxs(O,{children:[t.jsx(F,{children:t.jsx(M,{textColor:i,children:l})}),t.jsx(U,{children:t.jsx(Q,{textColor:i,children:s.status.failed})})]})]})})},V=({showTooltip:e,tooltipText:n})=>e==!1?t.jsx($,{children:t.jsx(G,{children:h})}):t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsx(G,{children:h})})}),b=({tooltipText:e})=>t.jsxs(st,{children:[t.jsx(rt,{children:s.tooltips.lastUpdated}),t.jsx(lt,{children:e})]}),kt=({statementStatus:e,statementParseInProgress:n,bankStatusCode:c,connectionInProgress:i})=>{let l=e==="uploaded"||n===!0?t.jsx(ht,{}):null;return l=c==="connected"||c==="reconnect"||i===!0?t.jsx(xt,{}):l,t.jsx(dt,{className:"bank-icon-container",children:l})};function Tt(e){const n=[];return e!=null&&e==="bank"&&n.push({label:s.menu.bankConnection,value:"bank_connection"}),n.push({label:s.menu.statement,value:"statement"}),n}const Et=(e,n,c)=>{if(c!=null&&n==="drawer")return c;let i="";switch(e){case"parsing_failed":i=s.status.statementParseError;break;case"validation_failed":i=s.status.statementValidationFailed;break;case"processing_failed":i=s.status.statementProcessingFailed;break;default:i=s.status.statementParseError;break}return n==="drawer"&&(i=i+" "+s.status.failed),i};export{Et as B,wt as C,Lt as D,Te as E,Pt as N,_t as R,ft as f,u,$t as w};
|
|
298
|
+
`,{expenseAutomation:{accountRecon:{reconciliation:s}},common:{strings:{hyphen:h,percentage:gt}}}=le.getLocalizedStrings();function _t({height:e,accountRecon:n,isLastRow:c,isSelectedRow:i,onReviewClicked:l,onOpenDrawerClicked:d,onConnectClicked:r,onReconnectClicked:m,onStatementAddClicked:k}){const W=xe(),B=S(),v=n.accountReconEntity.account.accountName,P=n.accountReconEntity.balance,j=n.accountReconEntity.clearedBalance,N=n.accountReconEntity.variance,ne=n.accountReconEntity.variancePercentage,oe=()=>{r?.(n.accountReconEntity.account.accountId)},ae=()=>{m?.(n.accountReconEntity.account.accountId)},ce=()=>{k?.(n.accountReconEntity.account.accountId)},z=()=>{l?.(n.accountReconEntity.account.accountId)},[ie,D]=ye.useState(!1),q=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0?"bank_statement":"plaid",T=q==="plaid"?n.accountReconEntity.balanceDataStatus?.code==="in_progress"||n.connectionInProgress===!0:n.accountReconEntity.statementDataStatus?.code==="parsing"||n.statementParseInProgress===!0;let K=e;return c&&(K=e+p[8]),t.jsxs(Le,{"data-testid":y("account-recon-row-root-container",n.accountReconEntity.account.accountName),heightValue:K,isLastRow:c,windowSize:W,isSelectedRow:i,onClick:()=>{ie!==!0&&d?.(n.accountReconEntity.account.accountId)},children:[t.jsxs(Be,{isClickable:!0,"data-testid":y("total-row-container"),heightValue:e,children:[t.jsxs(Ne,{children:[t.jsx(Te,{firstLetter:v.charAt(0),color:new x(B.colors.hero),showIcon:!1,showCollapsedIcon:!1,className:"any-text-container"}),t.jsx(De,{children:t.jsx(f,{enterDelay:600,title:v,style:{padding:`${o.sp1} ${o.sp2}`},placement:"bottom",children:t.jsx(Ve,{className:"any-text-container",children:v})})})]}),t.jsxs(Ae,{children:[t.jsx(Oe,{children:t.jsx(wt,{accountType:n.accountReconEntity.account.accountType,lastUpdatedAt:n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt,setIsHovering:D,statementStatus:n.accountReconEntity.statementStatus.code,accountId:n.accountReconEntity.account.accountId,bankBalance:P,bankConnection:n.accountConnectionStatus,onConnectClicked:oe,onStatementAddClicked:ce,isLoading:T,onReconnectClicked:ae})}),t.jsx(Qe,{children:t.jsx(kt,{statementStatus:n.accountReconEntity.statementStatus.code,statementParseInProgress:n.statementParseInProgress,connectionInProgress:n.connectionInProgress,bankStatusCode:n.accountConnectionStatus})}),t.jsx(Fe,{children:t.jsx($t,{clearedBalance:j,isLoading:T})}),t.jsx(mt,{isLoading:T,variance:N,variancePercentage:ne,reconciliationStatusCode:n.accountReconEntity.reconciliationStatus?.code}),t.jsx(Ue,{children:t.jsx(He,{heightValue:e})}),t.jsx(Me,{onMouseEnter:()=>{D(!0)},onMouseLeave:()=>{D(!1)},children:q==="plaid"?t.jsx(jt,{accountRecon:n,isLoading:T,onReviewClicked:z}):t.jsx(yt,{accountRecon:n,isLoading:T,onReviewClicked:z})})]})]}),t.jsx(We,{kind:"account_separator",isScrolling:!1}),c?t.jsx(_e,{}):null]})}const mt=({variance:e,variancePercentage:n,reconciliationStatusCode:c,isLoading:i})=>{const l=S(),{varianceColor:d,variancePercentageColor:r,variancePercentageContainerColor:m}=ft(l,e,c),k=i?h:e!=null&&e.amount===0?"0%":n!=null?n===0?"0%":`${n.toFixed(2)}${gt}`:h;return t.jsxs(ze,{children:[t.jsx(qe,{textColor:d,className:"any-text-container",children:e==null||i?h:E("0,0",e)}),t.jsx(Ke,{textColor:r,bgColor:m,className:"any-text-container",children:k})]})},ft=(e,n,c,i)=>{let l,d,r;return n!=null&&n.amount===0&&c!=null&&c==="reconciled"?(l=new x(g.success),d=new x(g.success),r=new x(g.successLight)):i===!0?(l=new x(e.colors.primary),d=new x(e.colors.primary),r=new x(e.colors.grey2)):(l=new x(e.colors.hero),d=new x(e.colors.hero),r=new x(e.colors.background)),{varianceColor:l,variancePercentageColor:d,variancePercentageContainerColor:r}},jt=({accountRecon:e,isLoading:n,onReviewClicked:c})=>{const i=e.accountReconEntity.reconciliationStatus,l=e.accountConnectionStatus,d=e.accountReconEntity.reconciliationId!=null?e.accountReconEntity.reconUpdatedAt:e.accountReconEntity.accountUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(n)return t.jsx(vt,{});if(e.accountReconEntity.balanceDataStatus?.code==="not_found"){let m="";return e.accountReconEntity.balance==null&&e.accountReconEntity.clearedBalance==null?m=s.status.balanceNotFound:e.accountReconEntity.balance==null?m=s.status.bankBalanceNotFound:m=s.status.clearedBalanceNotFound,t.jsx(bt,{status:m,tooltipText:r})}if(l==="reconnect"||l==="not_connected")return t.jsx(V,{tooltipText:r,showTooltip:d!=null});if(i==null&&l==="connected"&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:c});if(i!=null)switch(i.code){case"save_for_later":case"pending":return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:c});case"reconciled":return t.jsx(_,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"in_progress":return t.jsx(te,{tooltipText:r});case"failed":return t.jsx(ee,{tooltipText:r});case"reconciled_on_qbo":return t.jsx(_,{isQBO:!0,tooltipText:r});default:return null}else return t.jsx(V,{showTooltip:d!=null,tooltipText:r})},yt=({accountRecon:e,isLoading:n,onReviewClicked:c})=>{const i=e.accountReconEntity.reconciliationStatus,l=e.accountReconEntity.statementDataStatus?.code==="validated"||e.accountReconEntity.statementDataStatus?.code==="processed",d=e.accountReconEntity.reconUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(e.accountReconEntity.statementDataStatus?.code==="parsing_failed"||e.accountReconEntity.statementDataStatus?.code==="validation_failed"||e.accountReconEntity.statementDataStatus?.code==="processing_failed")return t.jsx(Rt,{code:e.accountReconEntity.statementDataStatus?.code,tooltipText:r,errorMessage:e.accountReconEntity.errorMessage?.errorShort});if(n)return t.jsx(Ct,{});if(i==null&&l&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:c});if(i!=null)switch(i.code){case"save_for_later":case"pending":return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:c});case"reconciled":return t.jsx(_,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"reconciled_on_qbo":return t.jsx(_,{isQBO:!0,tooltipText:r});case"in_progress":return t.jsx(te,{tooltipText:r});case"failed":return t.jsx(ee,{tooltipText:r});default:return null}else return t.jsx(V,{showTooltip:d!=null,tooltipText:r})},L=({buttonLabel:e,isDisabled:n,tooltipText:c,dataTestId:i,onClick:l})=>t.jsx(f,{title:t.jsx(b,{tooltipText:c}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(Ge,{children:t.jsx(me,{label:e,size:"standard",variant:"secondary",style:{padding:`${o.sp1} 12px`},disabled:n,"data-testid":i,onClick:d=>{d.stopPropagation(),l()}})})}),_=({user:e,isQBO:n,tooltipText:c})=>t.jsx(f,{title:t.jsx(b,{tooltipText:c}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(Je,{children:[t.jsxs(Xe,{children:[t.jsx(Ze,{}),t.jsx(Ye,{children:n?s.status.reconciledVia:s.status.reconciledBy})]}),n?t.jsx(G,{children:s.status.QBOUser}):e&&t.jsxs(G,{children:[e.firstName," ",e.lastName]})]})}),wt=({bankBalance:e,accountType:n,bankConnection:c,statementStatus:i,lastUpdatedAt:l,fromDrawer:d=!1,onConnectClicked:r,onReconnectClicked:m,isLoading:k,accountId:W,onStatementAddClicked:B,setIsHovering:v})=>{const P=Tt(n);if(d===!0)return t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h});if(k===!0)return t.jsx(C,{className:"any-text-container",children:h});if(c==="reconnect"){const j=l!=null?`${l.utc(!0).fromNow()}`:h;return t.jsxs(ot,{children:[t.jsxs(at,{children:[t.jsx(ct,{children:t.jsx(f,{title:t.jsx(b,{tooltipText:j}),placement:"bottom",style:{padding:`2px ${o.sp2}`},children:t.jsx(it,{})})}),t.jsx(C,{className:"any-text-container",children:e!=null?E("0,0",e):h})]}),t.jsx(nt,{"data-testid":y("account-reconciliation-reconnect-button",W),onClick:N=>{N.stopPropagation(),m?.()},children:s.connect.reconnnect})]})}else return c==="connected"||i==="uploaded"?t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(et,{"data-testid":y("account-reconciliation-connect-button",W),onMouseEnter:()=>{v(!0)},onMouseLeave:()=>{v(!1)},children:t.jsx(se,{controller:P.length>0,children:t.jsx(f,{title:s.tooltips.selectSource,style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(re,{moreIconType:"custom",customIcon:t.jsx(tt,{}),options:P,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:o.sp3,".more-icon":{width:o.sp3,height:o.sp3}})},menuPlacement:"auto",onOptionSelection:j=>{j==="bank_connection"?r?.():j==="statement"&&B?.()},valueToIcon:j=>j==="bank_connection"?t.jsx(ut,{}):j==="statement"?t.jsx(pt,{}):null})})})})},$t=({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(A,{iconColor:n}),t.jsx(Q,{children:t.jsx(F,{textColor:n,children:s.status.reconciliationFailed})}),t.jsx(U,{children:t.jsx(M,{textColor:n,children:s.status.reconcileViaQBO})})]})})})},bt=({status:e,tooltipText:n})=>{const c=new x(g.brandColorGoldDark);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs($,{children:[t.jsx(A,{iconColor:c}),t.jsxs(O,{children:[t.jsx(Q,{children:t.jsx(F,{textColor:c,children:e})}),t.jsx(U,{children:t.jsx(M,{textColor:c,children:s.status.reconcileViaQBO})})]})]})})},te=({tooltipText:e})=>{const n=S(),c=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:c,children:s.status.autoReconInProgress}),t.jsx(R,{textColor:c,children:s.status.isInProgress})]})})})},vt=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:n,children:s.status.balanceSyncInProgress}),t.jsx(R,{textColor:n,children:s.status.isInProgress})]})})},Ct=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:n,children:s.status.statementSyncInProgress}),t.jsx(R,{textColor:n,children:s.status.isInProgress})]})})},Rt=({code:e,tooltipText:n,errorMessage:c})=>{const i=new x(g.important),l=Et(e,"list",c);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs($,{children:[t.jsx(A,{iconColor:i}),t.jsxs(O,{children:[t.jsx(Q,{children:t.jsx(F,{textColor:i,children:l})}),t.jsx(U,{children:t.jsx(M,{textColor:i,children:s.status.failed})})]})]})})},V=({showTooltip:e,tooltipText:n})=>e==!1?t.jsx($,{children:t.jsx(J,{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(J,{children:h})})}),b=({tooltipText:e})=>t.jsxs(st,{children:[t.jsx(rt,{children:s.tooltips.lastUpdated}),t.jsx(lt,{children:e})]}),kt=({statementStatus:e,statementParseInProgress:n,bankStatusCode:c,connectionInProgress:i})=>{let l=e==="uploaded"||n===!0?t.jsx(ht,{}):null;return l=c==="connected"||c==="reconnect"||i===!0?t.jsx(xt,{}):l,t.jsx(dt,{className:"bank-icon-container",children:l})};function Tt(e){const n=[];return e!=null&&e==="bank"&&n.push({label:s.menu.bankConnection,value:"bank_connection"}),n.push({label:s.menu.statement,value:"statement"}),n}const Et=(e,n,c)=>{if(c!=null&&n==="drawer")return c;let i="";switch(e){case"parsing_failed":i=s.status.statementParseError;break;case"validation_failed":i=s.status.statementValidationFailed;break;case"processing_failed":i=s.status.statementProcessingFailed;break;default:i=s.status.statementParseError;break}return n==="drawer"&&(i=i+" "+s.status.failed),i};export{Et as B,wt as C,Lt as D,Te as E,Pt as N,_t as R,ft as f,u,$t as w};
|