@zeniai/web-cockpit-ui 1.15.0-qa → 1.15.1-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-DYlcHRQe-N6WoPN61.js → ACHDetailsPage-CUzXxtOD-D58ed7uT.js} +1 -1
- package/dist/assets/{AIPerformancePage-DpXZ7sco-hH2Elv0n.js → AIPerformancePage-O2oT7VD7-B6QMOBUy.js} +13 -13
- package/dist/assets/{AccountInfoPage-BEOrrVQS-DHpgF3pM.js → AccountInfoPage-B6jxAqA6-BUFslhTv.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-BJkLJK6O-B_Tnne4L.js → AccountInfoPageContent-Dm4_RVtp-7_DDYrUM.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-BeLLlH_Y-D0MnjBOA.js → AccountLockedInfoModal-4gi6evfx-WlzE3tch.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-D2Hx_l3u-XPPaB5Cd.js → AccountReconDetailsDrawerPage-Cm4KEIyT-DvN83q1j.js} +3 -3
- package/dist/assets/{AccountRow-B0gU16A_-CQ1wi8lx.js → AccountRow-B16HgkVQ-dG_dWaCL.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-CuLhbb_W-BGljAwv1.js → AccountsPromoCardStack-D5OgsEYb-3g8gXWBP.js} +1 -1
- package/dist/assets/AddAddressForCardDrawer-Cw6wTXEm-Ne9lwqPK.js +6 -0
- package/dist/assets/{AddToWalletPage-DNPLnpTq-DebEsPxP.js → AddToWalletPage-vXWBje7k-B9_XOYgG.js} +4 -4
- package/dist/assets/{AgingReportsPage-Bff4u7T1-DokKeN7f.js → AgingReportsPage-CmzapJ6B-B4fRPdaL.js} +3 -3
- package/dist/assets/{AllUserItems-D8zdAu_1-CjPIl0we.js → AllUserItems-CW-BAUK2-B9Q1lPJb.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-2NsAj3gO-DhtiO6V-.js → ApAgingDetailPage-DBCM7hZZ-ChVResPi.js} +5 -5
- package/dist/assets/{AppBasePage-Uyk9GOud-9AU3007_.js → AppBasePage-B3uZsUDM-CkKVhlEN.js} +1 -1
- package/dist/assets/{AppDrawerContent-RX7rx40V-B20u2QRt.js → AppDrawerContent-D4EVpqHP-BynJPN1Q.js} +6 -6
- package/dist/assets/{ApprovalRulesSettingsPage-BKxa78xI-D8tM29nk.js → ApprovalRulesSettingsPage-DTLJUdYp-C8DjXSqL.js} +1 -1
- package/dist/assets/{ArAgingChart-BxTkvrC9-vqa4Ip0S.js → ArAgingChart-BJ8nRdT6-PCsSRezt.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-CnUgFF1M-ClG1FePi.js → ArAgingDetailPage-hd2ALORD-DPaGaG4h.js} +5 -5
- package/dist/assets/{AttachmentView-zHGhIkWo-BwZ5kbBN.js → AttachmentView-2FZ6X1gL-Cy8tYEtq.js} +1 -1
- package/dist/assets/{BankAccountSection-HRSyjIxV-brHRV4cr.js → BankAccountSection-BbX4r1dP-BVn949x0.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-CNusQFRM-DBV3XkOz.js → BankAccountWarningSection-CqlrCLSb-4sdBnqih.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-CzumYsEx-DgpLYCV2.js → BankConnectionsSettingsPage-DLeiSryp-DwwrFPU_.js} +1 -1
- package/dist/assets/{BillDetailPage-CgCMZFw1-BtheJRmU.js → BillDetailPage-l0WIOXCJ-DfE-sU4P.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-DnhdBw3a-CssFiyEt.js → BillPayApprovalRuleDetailPage-BOMCy57E-CAzd0WOM.js} +4 -4
- package/dist/assets/{BillPayApprovalRulesPage-S80WUW0f-CH3tnfj7.js → BillPayApprovalRulesPage-D_iQkfQr-Dlin1Cm9.js} +1 -1
- package/dist/assets/{BillPayPromoPage-DOEbuNgH-BVCaGPCE.js → BillPayPromoPage-Dsl0YvUE-DF_BWBKa.js} +9 -9
- package/dist/assets/{BillPaySetUpPage-Tb-gBoFT-Cr_u2hmC.js → BillPaySetUpPage-MLf77bPI-BQQY77ue.js} +3 -3
- package/dist/assets/{BillingSettingsPage-ZupDcNHz-jCEOKC-t.js → BillingSettingsPage-n1PkJEDe-CIU_V4L-.js} +8 -8
- package/dist/assets/{BillsBulkReviewDrawerPage-CJrUtHKz-De-Ch5vF.js → BillsBulkReviewDrawerPage-C_4lLm2g-CagoY_n4.js} +1 -1
- package/dist/assets/{BoxItem-42doFhpg-6FkeU-XY.js → BoxItem-CZdVWyVJ-Ck7WXLSC.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-De9zCAm7-BRa-IzFb.js → BusinessVerificationPage-DKTSnhnQ-CiETQcAD.js} +1 -1
- package/dist/assets/{CardNumberSubText-C6jdBRC2-BAV9QZ1r.js → CardNumberSubText-BhtdU0IQ-BBiDBBhs.js} +1 -1
- package/dist/assets/{CashbackDetailPage-B2drd1Nz-B7ge7B30.js → CashbackDetailPage-BL-JN6N2-DM7Co55u.js} +8 -8
- package/dist/assets/{ChargeCardDetailPage-bk-pzoDR-CPX1kpm2.js → ChargeCardDetailPage-DeUmuiMY-Dftn0md6.js} +1 -1
- package/dist/assets/{ChargeCardListPage-DlI8ZfB0-Cpt1f1gl.js → ChargeCardListPage-B2OEzCZI-DRTpob3Y.js} +1 -1
- package/dist/assets/{ChargeCardListTable-CooASbVZ-hxs2z8Oj.js → ChargeCardListTable-BwYAxG4d-BDrITjcg.js} +1 -1
- package/dist/assets/ChargeCardPaymentHistoryPage-COWdn2l7-D7wLS9yc.js +565 -0
- package/dist/assets/{ChargeCardPromoPage-DBSmL-ms-BSCR0oth.js → ChargeCardPromoPage-TkHihj_n-DsNKfZLq.js} +10 -10
- package/dist/assets/{ChargeCardSetupPage-cou3N3Iv-BY-BjAbF.js → ChargeCardSetupPage-CkonrAnT-D4zZH8iB.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-Z05M_t51-CJESgOzz.js → ChargeCardStatementsPage-DVgAcNNC-DlapdY_k.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-B-bTb9ct-DvMUZiEi.js → CheckDepositDrawerPage-DV7strdp-DIjE0Er3.js} +1 -1
- package/dist/assets/{CollapsableReportTable-DLOi0feI-CE3JiL1Z.js → CollapsableReportTable-BS7TgK8B-Ck1A0h-X.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-DVpqCb72-DEQPR9vE.js → CompanyOfficerDetailsSection-BotE5oj4-BAJaZgbn.js} +1 -1
- package/dist/assets/{CompanyPassportCard-B8PLT6MG-Dcf1pgW2.js → CompanyPassportCard-Bx4KhQfs-Cq5ggOmg.js} +2 -2
- package/dist/assets/{CompanyPassportPage-CQZPgrNF-CNCT66W7.js → CompanyPassportPage-i1SEs7VJ-Djluu3GS.js} +1 -1
- package/dist/assets/{CompleteProfile-fNSWTbef-0MuTdOY6.js → CompleteProfile-DWOv7odD-C_i36-ce.js} +1 -1
- package/dist/assets/{ConfettiBurst-B6ej_xoO-DABv3Toa.js → ConfettiBurst-D52CuNQL-H3h7bAw9.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-BO4_TNWg-BypvEQZA.js → CreateOrEditVendorPage-9LgI-Wd0-BZGgNM2M.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-CsHjU-sm-BiBB7qBe.js → CreditCardPaymentDrawerPage-wHK6Ds5I-BlFWnrY1.js} +1 -1
- package/dist/assets/{CurrencySelectField-DsZTOj_T-Cs5B3am8.js → CurrencySelectField-CbGyQ8Yq-BBTidwoM.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-Cvdehiay-C2p1e_hG.js → CustomerOnboardingActivationPage-LNgj0BYj-DDGYdiCm.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-DLdgYP_E-YLcbGvSV.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DrfNm65u-Bfcf5x9y.js → CustomerOnboardingDetailPageSkeleton-BF484X8E-CaE39Z82.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-CtIWYEfR-BBG89Eio.js → CustomerOnboardingNoStepsPage-Dri4v3Rf-SMHqZamP.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-Db6sGSGl-Bk2dnzqa.js → CustomerOnboardingPage-BkdhcwN8-D99zerXB.js} +1 -1
- package/dist/assets/CustomerOnboardingProductSuitePage-CDJfucTI-BVV4jNqa.js +202 -0
- package/dist/assets/{Dashboard-cbXIPzMy-DdVTFva6.js → Dashboard-w2AGQi2P-DrVf9Yya.js} +55 -55
- package/dist/assets/{DashboardReportPage-Pc0G2Tok-4PwOgMuS.js → DashboardReportPage-NzF6nutN-DSZitKtw.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-CSzhyK4K-_4MhVp6Q.js → DashboardSidebarBackgroundAnimation-vcuSFRHQ-CXXDOfjW.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-XvCjkHDS-CkK92x11.js → DepositAccTransactionItem-SRWW7dWo-Bq8glEON.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-DqPIPHi9-CCs50XhS.js → DepositAccTransactionListPage-BSq-FxKT-D5HpKscp.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-DjUvG0tD-BaRIU1gf.js → DomesticWireDetailsPage-Daor0MDI-BzIX5Sll.js} +1 -1
- package/dist/assets/{DownloadOverlay-C7r6PAam-3HWUFxkI.js → DownloadOverlay-DkSROLX2-BV0uInlq.js} +1 -1
- package/dist/assets/{DrawerPage-BEV7nWrL-B7QOMKDy.js → DrawerPage-BnMCcEWw-BXOkrI5R.js} +9 -9
- package/dist/assets/{EditPeoplePage-BnQqStEx-VWNAEvPn.js → EditPeoplePage-Ld339aav-BKidG2ge.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-DLjRDR48-B7QYsuXV.js → EditReimbursementDetailPage-BaMG1YJG-BZAQQMK3.js} +1 -1
- package/dist/assets/EntityDetailPage-DRZiqaCb-B_QVK0o1.js +18 -0
- package/dist/assets/{EntitySummarySection-C361-4tS-CWgr5a0w.js → EntitySummarySection-Bs0NywbK-BzG0U_qN.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-BLvAzAmO-DBDaw-GQ.js → ExpenseAutomationOverviewPage-B_-wUXCx-Q7Nf_H07.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-CE_qMXSG-jdpSxqgy.js → ExpenseAutomationPage-CG1Hpwz8-CW8z-7iO.js} +1 -1
- package/dist/assets/{ExpressPayPage-CDowSjHC-mXCHoghD.js → ExpressPayPage-CEf0O3S_-C7xNk40H.js} +7 -7
- package/dist/assets/{FeaturePreviewPage-DsJEfObK-XGUmmika.js → FeaturePreviewPage-7G9DSgAA-dIRq9Ned.js} +1 -1
- package/dist/assets/{FollowStepsSection-h449vQkQ-BE334Aav.js → FollowStepsSection-CoXcJ6WL-BDHFkDzZ.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-DGOKRsKI-DaVDGgFW.js → GlobalReviewListPage-BSfJybtY-D-EekdXE.js} +1 -1
- package/dist/assets/{InformationCardStack-xhdujEcL-CIVbhCcM.js → InformationCardStack-DnoAMdjH-BkgD0Khh.js} +2 -2
- package/dist/assets/{InsightsCardStack-zRynyTFj-B4MVLR6S.js → InsightsCardStack-BLtip0dt-CdpS0MPm.js} +2 -2
- package/dist/assets/{InsightsSection-C4fMfxQ4-BrCCIPD4.js → InsightsSection-26UEfz7s-DvD8Ccwt.js} +2 -2
- package/dist/assets/{IntegrationsSettingsPage-fqQsGUmw-DbNOn2Dq.js → IntegrationsSettingsPage-QVOqOc9I-BQQ4M8i8.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-CIMxKADX-vQfJlxQT.js → InternationalWireSwiftDetailsPage-B7UVdQjs-Dxjq2-if.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-DpmSzzre-gQwVFtnD.js → InternationalWireVerificationPage-Cvita0lc-B390_mEJ.js} +2 -2
- package/dist/assets/{InviteFormPage-C7fxnyMS-DMg6Plkf.js → InviteFormPage-ptg2-Do2-Dsr3cxPP.js} +1 -1
- package/dist/assets/{InvitePageListView-ktOXziSw-NBl32MK2.js → InvitePageListView-CoCiU_RJ-DlHeTkam.js} +20 -20
- package/dist/assets/{InvitePeoplePage-C_4adNch-C4PoOeq9.js → InvitePeoplePage-CIiwEl_L-BEUpkDfI.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-W4vdQGvo-FT_ZQp4c.js → InvoiceUploadSection-by1gHnS2-ByjzglAY.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-CdV757XH-D-R3fw3h.js → IssueChargeCardPage-CawHdTL3-Mn0Xu6jy.js} +1 -1
- package/dist/assets/{LabeledAddressValue-Ce_wDml5-C7mLpC47.js → LabeledAddressValue-BVpOlAt0-BM8gI0N5.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-BrYbXck--Bam2jwZr.js → LabeledAddressValueField-BW6ytr8f-DmYyMrEv.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-f2c-AeS4-CmYbdyel.js → LabeledControlledCheckBoxField-DEaBzW9R-59_aD_t9.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-BLOMdq_H-Mb0TF8y4.js → LabeledCountryMultiSelectField-DOEcKGdZ-O8xmxgl_.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-BWuogpe6-DHwshDD5.js → LabeledCreatableSingleSelectField-Bsowq6Ia-CpyK3LNE.js} +1 -1
- package/dist/assets/{LabeledDocumentField-Ch2zD7s7-GyTO4utg.js → LabeledDocumentField-DHqxzbx7-DKNafkiA.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-BA8tzPzQ-nw_8EdfB.js → LabeledDropDownFormattedTextField-C_2HymZs-DpANtqUG.js} +1 -1
- package/dist/assets/{LabeledMultiSelectField-CA9PUCf3-CwZMJ8IS.js → LabeledMultiSelectField-wuzYNgjQ-D8K8tQ-i.js} +1 -1
- package/dist/assets/{LabeledText-D7eLbH80-CyIybQum.js → LabeledText-DMjMKupg-DYP6gFxm.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CleX9Raw-DNsRKy1l.js → LabeledUserSingleSelectWithSubtitlesField-D2PQRKp0-CAFuEck_.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-Cte6kRTw-C4oEoOa3.js → LabeledZeniRolesDropDownField-C2WL6H1u-BXDtctub.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-DicS5kKg--q-QNpuk.js → LinkJETransactionPage-6wvu7KQx-BKOAennG.js} +1 -1
- package/dist/assets/{LockCardPage-DRYg_fxU-C51Kp9sB.js → LockCardPage-DHjkslVx-BLTQi4Ro.js} +1 -1
- package/dist/assets/{LowBalancePopup-BJfagMN7-hy_u1ST6.js → LowBalancePopup-IPPewOnk-C3ft7dAK.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-BQvuNI4u-DgnKjMFk.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BEr-7K3J-BdD6RXkL.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DliPDETx-zEl4JPNd.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-BRWymdWH-0en44-MJ.js → MagicLinkSuccessPage-0Pn_6wi4-BDYzvhnJ.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-D5ORaO0D-DS4-FSzF.js → MagicLinkTitleSection-zMEqv8xp-Dw1lipYQ.js} +1 -1
- package/dist/assets/MailingDetailsSection-BRCMsb6d-Bg6C6Qx3.js +21 -0
- package/dist/assets/{Menu-C9v-W9TY-CdQPsVny.js → Menu-CjpiRi32-CBwxThCE.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-C4YJleyg-BLn_Y8jS.js → MyBankConnectionsSettingsPage-DsuI81Dg-BZvQVl9M.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-D-6TnbYs-zrVoCahb.js → MyPendingActivationChargeCardListPage-BP2ZNfJQ-C1IGZ0Aj.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-BMNBcdq8-XHX9dn0K.js → MyProfileSettingsPage-Bx776Bw1-B3dkfEvc.js} +1 -1
- package/dist/assets/{NavBarWithPicker-Cv7tOmjd-B4VS8rMs.js → NavBarWithPicker-B7KOipTP-BRApBTO0.js} +1 -1
- package/dist/assets/{NavigationArrow-DAs7ECFZ-ChajxXvo.js → NavigationArrow-qaYGOFR3-BsTNc95E.js} +1 -1
- package/dist/assets/{NavigationDots-DISWi4Mq-BRitr2tA.js → NavigationDots-U7wL0ya4-Br1fZ1mY.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-DGFtrDg1-FJKw60xa.js → NewGlobalMerchantPage-BMLg6RYp-BRiqVwVI.js} +1 -1
- package/dist/assets/{NoDataChart-gfqauMvY-B8_e9uYZ.js → NoDataChart-DoN6Mneo-tV8Dt3om.js} +1 -1
- package/dist/assets/{NoDataTable-C1_gqVi7-D_83KmNf.js → NoDataTable-BMDDs83M-Dpk0AfuR.js} +1 -1
- package/dist/assets/{NotFoundPage-CdWhiWjz-mzVSL1fM.js → NotFoundPage-ys6HcZUO-byf07x0N.js} +8 -8
- package/dist/assets/{NotificationSettingsPage-C4SZ6Qwg-DTMMSj7i.js → NotificationSettingsPage-Cfrj3b7B-DQREI7pG.js} +1 -1
- package/dist/assets/{NotificationsListConfig-B-g9kb6x-DKVolf1S.js → NotificationsListConfig-Cqcn0C6L-mVPCNJk6.js} +1 -1
- package/dist/assets/{NotificationsPage-jxpX3iRG-STxMFmZT.js → NotificationsPage-Bri7Dj80-Cv5FRQtl.js} +1 -1
- package/dist/assets/{OpExByVendorPage-B13tAq03-A6OvBVDB.js → OpExByVendorPage-Dwk6JAu7-BDuhx0f7.js} +1 -1
- package/dist/assets/{OverlayContainerPage-Daz3A7cI-CFoauQdP.js → OverlayContainerPage-Daz3A7cI-CNivODsb.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-D3kcPKd0-hdRldmCP.js → PandLWithForecastPage-D9muoIzS-BHKR537x.js} +2 -2
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-DjdhL9mT-CcdqeHrg.js → PaymentAccountSetupBillingAddressSection-BcQ07YZL-sTtrymnZ.js} +1 -1
- package/dist/assets/{PeoplePage-Du_TRX4h-BB1Y4Qgl.js → PeoplePage-BZwxMiLM-5s0-HkTL.js} +13 -13
- package/dist/assets/{Preview-CSeZ_uBx.js → Preview-mA1nVDX3.js} +1 -1
- package/dist/assets/{ProductsCarousel-y6q9BbqK-DHkyY2SN.js → ProductsCarousel-HFHMMFnQ-DrHOVGTY.js} +1 -1
- package/dist/assets/{PromoBaseCards-CLQMN7aT-Cm9ov18k.js → PromoBaseCards-Bwm7huaB-m2dOzdVj.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-R4ZWjJsY-yehsPaVs.js → QBOConnectionDialog-B5v60lo1-GNrkjfxe.js} +1 -1
- package/dist/assets/{QBOSetupSection-D--nxfIh-BfHeDAX-.js → QBOSetupSection-BFxjIzV1-B2t1VavS.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-OXenWhiy-BtbNuGS1.js → ReimbursementApprovalRuleDetailPage-D7eJT6hf-BQOWuUEe.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-BJaSXRQF-BYa_2_jk.js → ReimbursementApprovalRulesPage-B6WJ19jK-CKNTvHH7.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-BeFEzgmP-Du11yvbE.js → ReimbursementDetailPage-CEyFEPK5-BstF-oGE.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-C0sHIJm4-Cok6Jld9.js → ReimbursementPromoPage-BjhlxlPR-BZ1GzMRv.js} +4 -4
- package/dist/assets/{ReimbursementSetUpPage-C85Q6ZnB-jjYvs1qr.js → ReimbursementSetUpPage-pC4KuigM-BDlDJUML.js} +4 -4
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-B5RzRA4c-n3r_bP4u.js → ReimbursementsBulkReviewDrawerPage-CucXnBt6-CAc1E2XO.js} +1 -1
- package/dist/assets/{ReloadCard-BT0lSFUP-CbQzBMR7.js → ReloadCard-DhRbLcVA-DIQafdWZ.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-rl6XGWA_-xSsBTXCn.js → ReportTableViewSelector-ByxUIrcT-BjUKZAAK.js} +1 -1
- package/dist/assets/{ReportsPage-DV0bbi_D-DDBThisJ.js → ReportsPage-e1xmk9Ua-DWkV6LH_.js} +5 -5
- package/dist/assets/{RevenueChart-CxvHfkxr-CcXHujZ-.js → RevenueChart-C7uaOhqz-CyB_o3bQ.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-CX2XB44j-XXnntYa1.js → ReviewDetailsPage-Dk0Rw7L_-B6ijKV2H.js} +1 -1
- package/dist/assets/{ReviewOverlay-DdOo3pcK-BLKkY3na.js → ReviewOverlay-Bthl69qw-RmWq0Cob.js} +1 -1
- package/dist/assets/{RoleWithToolTip-C08wfnGb-Dt8pf3rP.js → RoleWithToolTip-New3P2vC-2KCZppVG.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BmZgiTVc-BdlieAUs.js → ScheduleDetailsFixedAssetsPage-DiwkB2J--BPJp47yZ.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-BqX1EZGE-Dm5cTF4H.js → ScheduleDetailsPage-BLc828ST-CP2yCdiU.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-DU3dXX6V-DgRTw2P3.js → ScheduleSequenceTable-CEQZEbUs-BdHNsPry.js} +1 -1
- package/dist/assets/{ScreenRoutes-C5B2nm9d.js → ScreenRoutes-D_sWKkhc.js} +1 -1
- package/dist/assets/{SetUpAccountSection-Clz60vjw-BPy-vTcv.js → SetUpAccountSection-CywFKgZo-MmKR4ndQ.js} +1 -1
- package/dist/assets/{SignIn-B79R5ayU-DjqX3_i4.js → SignIn-D7PmDE-R-DymRL_3M.js} +12 -12
- package/dist/assets/{SignInScreen-D15H-ke6.js → SignInScreen-C-VG_lKe.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-C3gJ8vag-BNKNPoS5.js → SpendManagementListViewPage-DJgNAGhp-JXA21DLB.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-DmCZhFWY-BHCgFbM_.js → SpendManagementPerTabPage-B_muN4XH-u8KoBsHd.js} +1 -1
- package/dist/assets/{SpendManagementSection-mtTZeiX8-DVibaVnB.js → SpendManagementSection-BO--0F_T-COrpCsmV.js} +1 -1
- package/dist/assets/StatementItem-_50yBwO1-CwjTPUgJ.js +31 -0
- package/dist/assets/{StatementsPage-DgoXqABR-DiOSDFY9.js → StatementsPage-DkcgOLaa-BdVtg5cn.js} +1 -1
- package/dist/assets/{StatusSwitcher-DRDFuzoj-B6IPcags.js → StatusSwitcher-Bcqhq2ht-tjRFz3FC.js} +1 -1
- package/dist/assets/{SubTabSwitcher-Bj1N3zLn-wd-JdCXJ.js → SubTabSwitcher-BNSMaUoP-C0dI-kdw.js} +1 -1
- package/dist/assets/{SummaryCard-BNrPt21W-BJL8pM34.js → SummaryCard-DUTikTiQ-CorF8AqM.js} +1 -1
- package/dist/assets/{TaskManagementPage-svW7FNT3-ChtBYzDC.js → TaskManagementPage-K2ahivqx-Cw8lnZhf.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-wio5OjI3-Cq1fKE5o.js → TimeRangeSwitcher-CaV1qK_v-9kKZ6AfJ.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-234cbGUX-l5LDfwJD.js → TimeframeSwitcher-COkEJy3J-45wKe_Sn.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-B65LibQx-CgfT2t3j.js → TimeframeSwitcherWithToggle-CPP1tWQ_-D4EHb91u.js} +2 -2
- package/dist/assets/{TopExCard-DFm0V6Sa-DokPd6v3.js → TopExCard-CLkfO6zN-v91Jdaeu.js} +1 -1
- package/dist/assets/{TopExDetailPage-B4UamIS--aRxDpGzz.js → TopExDetailPage-CUoODDhA-zH5Xy9H2.js} +4 -4
- package/dist/assets/{TransactionDetailPage-BiGPVM2O-BpiezkYk.js → TransactionDetailPage-BTonMpH2-DgSPoDVR.js} +1 -1
- package/dist/assets/{TransactionList-BQ2dvALf-BGLN50Vu.js → TransactionList-B8eL6jhA-Di9L9RKc.js} +1 -1
- package/dist/assets/{TransactionListBig-Ca4yYTqY-B4eSCAFS.js → TransactionListBig-BI0Egbwq-BwzSPZzZ.js} +1 -1
- package/dist/assets/{TransactionListPage-CaSfmS5A-CVPK2Hv1.js → TransactionListPage-DxGLszcx-DAoYnm1i.js} +2 -2
- package/dist/assets/{TransactionVendorDetailPage-CH7qHDUF-DSGG2e4N.js → TransactionVendorDetailPage-BnqP7rIa-BU85_A7u.js} +1 -1
- package/dist/assets/{TransferDrawerPage-5IgzdfVN-BEmdtR6B.js → TransferDrawerPage-BvKebmux-o6Yl4bGU.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-CyMGJE8x-Cnr8PPbr.js → TreasuryOverviewPage-DqlUffnH-Bn5k5ejI.js} +27 -27
- package/dist/assets/{TreasuryPromoPage-DQabp_BI-CofJlBRP.js → TreasuryPromoPage-DqZE9SWj-Bp0vqbWD.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-DyJbkTPX-DN_9QZBI.js → TreasuryStatementsPage-Cyj4xmLP-DxZc3Yqs.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-BSIqzP7E-CKJ2Zwku.js → TreasuryTaxLetterPage-04gxKt0a-DDLLJmzC.js} +2 -2
- package/dist/assets/{TrendChart-DLlQzxzM-CMELiyuo.js → TrendChart-Cb8wnBqS-Di_U3EIl.js} +1 -1
- package/dist/assets/{TrendWithTransactions-CjGbUTLS-CD0r90qi.js → TrendWithTransactions-_49jEzFf-D4MyPHxb.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-CgJuXRnT-D10sq8Hj.js → UncategorizedAccountsMappingPage-WTwSitI6-BqjGQcpf.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-Dew9WP2L-DgxPeDIO.js → UnitIntegrationPage-C3HFSJ9I-BVEgdEbm.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-CoO-S_pc-CZO5yc-K.js → UploadAdditionalDocumentOverlay-UdsrwN9K-D09XF6PT.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-2JZx7Ouz-C9W1wY0X.js → Vendor2FAPopup-BS-3oZPR-C_3L-M1N.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-DBr7crZ5-FdMIuie9.js +1 -0
- package/dist/assets/{VendorDetailPage-DcpigP-V-D-_BNkKi.js → VendorDetailPage-CJQeB1km-B4OkDlMh.js} +5 -5
- package/dist/assets/VendorDomesticWireDetailsPage-BRIKuuUP-j1Nnt0f3.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-BK_AfMvG-rf6ZEr64.js → VendorFiling1099EditablePage-C2zwrfg_-BSkCYiG1.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-BnGpb03v-DxDzB5jn.js → VendorFirstReviewPage-BeDtBSt0-DLLC2Nix.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-Bs_MIbDV-B5cqs8xU.js → VendorInternationalWireDetailsPage-BVI-FIhY-DxEIS0E-.js} +1 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-D4H4XkkY-B3GBnsRt.js +1 -0
- package/dist/assets/{VendorsAccountsSection-V7IwNhkN-dPhmanP7.js → VendorsAccountsSection-DlO_YtSs-DR5OkKrn.js} +1 -1
- package/dist/assets/{VerifyDevice-Dc3oeJbw-BcIqlUjJ.js → VerifyDevice-CVr0FwHa-DAB6OPBb.js} +1 -1
- package/dist/assets/{VideoPlayer-XU1YwohK-COVMQXUR.js → VideoPlayer-HL-oU9Ri-BnQLsV6M.js} +2 -2
- package/dist/assets/{VideoPopup-BKLcIVcV-DiByU4uF.js → VideoPopup-Dw57i43Q-BXsiVF5S.js} +5 -5
- package/dist/assets/{WarningsDrawerPage-DE6hNSem-BA-r__o8.js → WarningsDrawerPage-DOFirhc3-Ch_HhDH0.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-B3txxml4-KqRJBVU1.js → ZeniAccountDetailPage-ByCgz534-Dsg1GtqQ.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-D8AbqSI--D2iDUh8i.js → ZeniAccountListViewPage-yATacDeU-5emCk5r8.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-CNM-e6b3-CeioNZaq.js → ZeniAccountNavBarPieces-Yb3HCUq4-CdqCHII0.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-CcZOtFpv-CyZSL8CM.js → ZeniAccountPromoPage-4iBPGLEt-CS6doMp4.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-COA09GMm-teRqXGAI.js → ZeniAccountSetupPage-bdXuLfgB-Cy2PUDIb.js} +1 -1
- package/dist/assets/{ZeniCopyright-DqbjGQWk-CiqjxJmF.js → ZeniCopyright-C_Hgn3Qx-CHqYLJwq.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-NJ7GeTlf-CnXup6Bu.js → ZeniTransferAmountSlider-DBhodWDh-BViJCc8g.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-CF63trjm.js → add-to-wallet-DgdBD8_G-B2xhCimT.js} +1 -1
- package/dist/assets/{analytics-D0z7Cz17.js → analytics-CO_4s2X8.js} +1 -1
- package/dist/assets/{analyticsHelper-CLN6SVsb.js → analyticsHelper-C-V4F33Q.js} +1 -1
- package/dist/assets/{analyticsHelper-C2PAija--ChGnlyOF.js → analyticsHelper-DTl4FgRU-DCg1Wj_c.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-Cun1Cxd1.js → arrow-south-east-round-PEovUgvH-BLOUsrLT.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-DPk-N0wE.js → auto-transfer-rule-mbafm5D3-DXWlGTms.js} +1 -1
- package/dist/assets/{chartTypes-B9jQTJLQ-COjB_e58.js → chartTypes-wLUiIPlP-CGvYnBXb.js} +1 -1
- package/dist/assets/{commonDimensions-BgvFMAEM-CvQs602P.js → commonDimensions-DGz_YafU-DaJiwvC8.js} +1 -1
- package/dist/assets/{commonTypes-PtDfk70--Bx1ZBTCB.js → commonTypes-Gv0Fff59-KWmxkMG2.js} +1 -1
- package/dist/assets/{constants-DleDZ7Hr.js → constants-B80Lbuf7.js} +1 -1
- package/dist/assets/{core-9PMMelIA.js → core-D7_k1EhP.js} +1 -1
- package/dist/assets/{dash.all.min-ClWxXI22.js → dash.all.min-D84aFlTu.js} +1 -1
- package/dist/assets/{detailCommon-BjRXEZFj-D5rvTVmU.js → detailCommon-C-kv1ST5-00YEtv_m.js} +6 -6
- package/dist/assets/{downloadPdf-ZSABdzxr-DOm7vdU6.js → downloadPdf-a0dx3Bka-DXudTOPx.js} +1 -1
- package/dist/assets/{empty-Bp9uyDV_.js → empty-BK-FM9Fc.js} +1 -1
- package/dist/assets/{empty-D5Zf29Ub.js → empty-D7ZL3ibO.js} +1 -1
- package/dist/assets/{epic-Di7g1fbQ.js → epic-BKSpf58y.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-m0hJlqL5.js → gift-box-Cmt9OgIZ-BvDbzpBs.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-cg6FAACa.js → graphic-no-data-l-DU4J8fDt-DnBDJsPD.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-qDT1cGx5.js → graphic-no-data-net-burn-l-CzmycA0m-D8mbIWvo.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-DFhtOw8z.js → handshake-BPg58FML-B-s0K2Gk.js} +1 -1
- package/dist/assets/{index-DNxMom6d.js → index-AC1SIzUs.js} +1 -1
- package/dist/assets/{index-DW6fMwk4.js → index-BCqMlt2D.js} +1 -1
- package/dist/assets/{index-4hZvJwkO.js → index-CIdXBggf.js} +1 -1
- package/dist/assets/{index-0WIxY_w_.js → index-CN_MjJna.js} +1 -1
- package/dist/assets/{index-CbXRL6aP.js → index-CocAByQY.js} +1 -1
- package/dist/assets/{index-DhfemY__.js → index-qaSB49F0.js} +9 -9
- package/dist/assets/{index-BLOmj_st.js → index-yGtk6ceJ.js} +1 -1
- package/dist/assets/{lexical-CaQwXIc3.js → lexical-CGMN4tXG.js} +1 -1
- package/dist/assets/{liveblocks-48Yy2aTy.js → liveblocks-BmXYR5uO.js} +1 -1
- package/dist/assets/{lottie-ChwWMuYN.js → lottie--pGIoexZ.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-Dn79CwqB-DWPPY5_g.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DCsXPZ77-D8Vbpi-J.js → mapSectionWithAcOnlyToTreeNode-DXbOFz3E-BdYTpUAO.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-D7hBnjRr-B3iPFPg7.js +1 -0
- package/dist/assets/{mapTimeframeBalancesToTreeNode-q_WorOhv-w4sqAGav.js → mapTimeframeBalancesToTreeNode-CQWxQdJu-UtXiI9zI.js} +1 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-ph17cvaS-DS1-lnZY.js +1 -0
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-DFZvknEc-pc7XxKyQ.js → mapTimeframeHeaderLoadingInProgressToTreeNode-FwPcTyoF-D6D_67kw.js} +1 -1
- package/dist/assets/{mui-snKYaegN.js → mui-Fyk6sRCR.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-D1nl1r9M.js → page-detail-CWX5S47F-CTsT95lG.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-BY9nqKUM.js → radio-default-CiSgisfh-DyFeMuig.js} +1 -1
- package/dist/assets/{react-B2deW7HO.js → react-89jLopxj.js} +1 -1
- package/dist/assets/{react-CiQEdtzT.js → react-8lAMKDVs.js} +1 -1
- package/dist/assets/{react-C-MrqhIX.js → react-CZ_9akaZ.js} +1 -1
- package/dist/assets/{react-o70ZlKb0.js → react-CazNrypD.js} +1 -1
- package/dist/assets/{react-BpEW9tPq.js → react-Cw0TtY4U.js} +1 -1
- package/dist/assets/{react-BNn_K56n.js → react-DywPl4iN.js} +1 -1
- package/dist/assets/{react-DHTHtXgj.js → react-E7ETqwTX.js} +1 -1
- package/dist/assets/{react-BddMC_36.js → react-OOqLEgIT.js} +2 -2
- package/dist/assets/{recharts-DGmpNqLb.js → recharts-j_eh1fXg.js} +1 -1
- package/dist/assets/{sentry-gm2R3TtK.js → sentry-D4D7HRQR.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-DNx-Nq5U.js → shield-DOlUxcFf-D9ihfdgR.js} +1 -1
- package/dist/assets/toCOABalancesWithID-CdKQhpIb-CFgx5sWA.js +1 -0
- package/dist/assets/{toChartData-CVxc3i6E-C3Ntbj_i.js → toChartData-BlyUYoV7-DsdeBaUU.js} +1 -1
- package/dist/assets/{uploadAttachment-CBATb9_e-DKMvJUv_.js → uploadAttachment-BkEbu6k9-DdujAAv5.js} +1 -1
- package/dist/assets/{uploadReceipts-CPw64UYa-B-LIRY0h.js → uploadReceipts-CPw64UYa-C1oywu4M.js} +1 -1
- package/dist/assets/{url-B3spPAaB.js → url-BwHZRaSJ.js} +1 -1
- package/dist/assets/{url-CsktLD4A.js → url-DStI5MA9.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-5GfLl0ml.js → useLongPress-GCK2COYQ-BS3t10_q.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-DO5-Shw0.js → usp-line-BBd1wKwW-DELeCmm4.js} +1 -1
- package/dist/assets/{utils-C7Aiy3iw.js → utils-BTQ24URD.js} +1 -1
- package/dist/assets/{zeni-epic-state-D2RxwWrl.js → zeni-epic-state-I555vKHy.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/AddAddressForCardDrawer-CNkdq378-CMB9xZbO.js +0 -6
- package/dist/assets/ChargeCardPaymentHistoryPage-DnxJwv-T-CRSd2xN3.js +0 -553
- package/dist/assets/CustomerOnboardingContainerPage-ZVvSCumS-B1XuhxOn.js +0 -1
- package/dist/assets/CustomerOnboardingProductSuitePage-DHSPLF5F-INu2F67Y.js +0 -202
- package/dist/assets/EntityDetailPage-BaKoO9FG-CWR9O5Vu.js +0 -18
- package/dist/assets/MagicLinkACHDetailsPage-BeUu65LP-C57N3ype.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-CO7IswK8-fvhoI3t7.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-bKdrX7dk-CBCuAFur.js +0 -1
- package/dist/assets/MailingDetailsSection-B_0EH3Eh-BBy70f0G.js +0 -21
- package/dist/assets/StatementItem-C9KsTdoM-JSrgwnvv.js +0 -31
- package/dist/assets/VendorACHDetailsPage-DVqS0EVe-B814xKcj.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-BrvN0BZx-Dngp9AgA.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CJMBOb8y-JFzt6kht.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-ilouYnTd-CPpu9ijo.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-CEKoJAIb-D8CLxKeM.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-Cki-np8X-TAkem-7K.js +0 -1
- package/dist/assets/toCOABalancesWithID-CcsM8Vr1-X6P_swAQ.js +0 -1
package/dist/assets/{ACHDetailsPage-DYlcHRQe-N6WoPN61.js → ACHDetailsPage-CUzXxtOD-D58ed7uT.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as E,a9 as W,F as w,cC as _,V as n,cn as V,co as F,cp as H,ac as O,aP as q,y as c,eS as Q,b6 as U,o as Z,c as t}from"./index-
|
|
1
|
+
import{q as E,a9 as W,F as w,cC as _,V as n,cn as V,co as F,cp as H,ac as O,aP as q,y as c,eS as Q,b6 as U,o as Z,c as t}from"./index-qaSB49F0.js";import{a as k}from"./sentry-D4D7HRQR.js";import{n as u}from"./mui-Fyk6sRCR.js";import{W as G,A as J}from"./BankAccountWarningSection-CqlrCLSb-4sdBnqih.js";import{M as K}from"./MagicLinkTitleSection-zMEqv8xp-Dw1lipYQ.js";import{e as X}from"./BankAccountSection-BbX4r1dP-BVn949x0.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]="c9fad63b-e4e9-4feb-a1e0-0568e8c23582",e._sentryDebugIdIdentifier="sentry-dbid-c9fad63b-e4e9-4feb-a1e0-0568e8c23582")}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:x,style:S,onSaveHandler:B,onBackClick:h,onACHDetailsUpdated:N,onFetchBankName:v,isMagicLink:m,companyName:D,currencySymbol:j,amount:P,bankAccountContext:$})=>{const r=E(),i=W({mode:"onBlur",reValidateMode:"onChange",defaultValues:k.useMemo(()=>Y(o),[o])}),[z,b]=k.useState(!1),l=w.getLocalizedStrings().spendManagement.billPay.vendorCreation,I=w.getLocalizedStrings().common.footer,{achDetails:C,bankAccountCommon:y}=l,L={onOkClick:()=>{b(!1),i.reset(),h?.()},onCancelClick:()=>{b(!1)}},M=async(f,d)=>{const s=d[p].bankRoutingNumber;N(d),f===`${p}.bankRoutingNumber`&&s?.length===9&&Q.test(s)===!0&&v?.(s)};k.useEffect(()=>{const f=i.watch((d,{name:s})=>{s!=null&&d!=null&&_(()=>M(s,d))});return()=>{f.unsubscribe()}});const R=i.handleSubmit(f=>{g.fetchState!=="In-Progress"&&B("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:L}):null,n.jsx(G,{header:m?n.jsx(K,{companyName:D??"",currencySymbol:j??"",amount:P??0}):C.addACHDetails,isMagicLink:m,isDirty:i.formState.isDirty,onBackClick:h,setShowConfirmationPopup:b}),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(O,{...i,children:n.jsx("form",{id:A(T),onSubmit:R,children:n.jsx(ee,{size:r,children:n.jsx(X,{bankAccountToCreate:o,fetchBankNameByRoutingStatus:g,sectionId:p,isDisabled:x})})})})})]}),n.jsx(q,{formId:A(T),primaryBtn:{label:m?y.submitDetails:y.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:a.buttonWidth.value(r)},isDisabled:x!=null},showCancel:!m,cancelBtn:{label:I.cancel,style:{width:a.buttonWidth.value(r)},shouldResetOnCancel:!1,onClick:()=>{i.formState.isDirty?b(!0):(i.reset(),h?.())}}})]})},Y=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)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as u,a8 as y1,q as M,F as j,cb as j1,V as C,bR as $1,o as r,aN as v1,b as D,ci as b1,
|
|
1
|
+
import{y as u,a8 as y1,q as M,F as j,cb as j1,V as C,bR as $1,o as r,aN as v1,b as D,ci as b1,ka as T,c as n,bN as g,dn as h1,p as d,a7 as S1,b2 as p1,d as m1,kb as f,ai as x,kc as Z1,kd as B1,ar as S,a as K,b6 as X,am as F1,ke as W1,dJ as _1,f_ as D1,cg as u1,al as H1}from"./index-qaSB49F0.js";import{a as e}from"./sentry-D4D7HRQR.js";import{n as i,c as P1,k as T1}from"./mui-Fyk6sRCR.js";import{Gf as E,Gg as e1,Gh as F}from"./zeni-epic-state-I555vKHy.js";import{R as V1}from"./NavBarWithPicker-B7KOipTP-BRApBTO0.js";import{F as k1,X as x1,Y as I,I as z1,J as O1,G as t1}from"./recharts-j_eh1fXg.js";import"./liveblocks-BmXYR5uO.js";import"./core-D7_k1EhP.js";import"./lottie--pGIoexZ.js";import"./analytics-CO_4s2X8.js";import"./lexical-CGMN4tXG.js";import"./utils-BTQ24URD.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]="eb7e96a0-171e-459a-814a-261ff5f58973",t._sentryDebugIdIdentifier="sentry-dbid-eb7e96a0-171e-459a-814a-261ff5f58973")}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};
|
|
@@ -44,11 +44,11 @@ import{y as u,a8 as y1,q as M,F as j,cb as j1,V as C,bR as $1,o as r,aN as v1,b
|
|
|
44
44
|
align-items: flex-start;
|
|
45
45
|
gap: ${r.sp4};
|
|
46
46
|
margin-bottom: ${r.sp5};
|
|
47
|
-
`,
|
|
47
|
+
`,X1=i.div`
|
|
48
48
|
display: flex;
|
|
49
49
|
flex-direction: column;
|
|
50
50
|
gap: ${r.sp2};
|
|
51
|
-
`,
|
|
51
|
+
`,Y1=i.div`
|
|
52
52
|
display: flex;
|
|
53
53
|
flex-direction: column;
|
|
54
54
|
gap: ${r.sp4};
|
|
@@ -70,7 +70,7 @@ import{y as u,a8 as y1,q as M,F as j,cb as j1,V as C,bR as $1,o as r,aN 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(
|
|
73
|
+
`,t2=({customStyle:t})=>C.jsxs(J1,{style:t,children:[C.jsx(K1,{children:C.jsxs(X1,{children:[C.jsx(g,{width:180,height:n[4]}),C.jsx(g,{width:300,height:21})]})}),C.jsx(Y1,{children:[...Array(3)].map((a,s)=>C.jsxs(q1,{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)};
|
|
@@ -141,7 +141,7 @@ import{y as u,a8 as y1,q as M,F as j,cb as j1,V as C,bR as $1,o as r,aN as v1,b
|
|
|
141
141
|
display: flex;
|
|
142
142
|
align-items: center;
|
|
143
143
|
gap: 12px;
|
|
144
|
-
`,w2=i(
|
|
144
|
+
`,w2=i(X)`
|
|
145
145
|
color: ${t=>t.theme.colors.primary};
|
|
146
146
|
margin-left: ${r.sp3};
|
|
147
147
|
`,O=i(c2)`
|
|
@@ -256,9 +256,9 @@ import{y as u,a8 as y1,q as M,F as j,cb as j1,V as C,bR as $1,o as r,aN as v1,b
|
|
|
256
256
|
gap: ${r.sp1};
|
|
257
257
|
`,K2=i(S)`
|
|
258
258
|
color: ${d.graphColor16Dark};
|
|
259
|
-
`,
|
|
259
|
+
`,X2=i(x)`
|
|
260
260
|
color: ${t=>t.theme.colors.brandColorOnyx};
|
|
261
|
-
`,
|
|
261
|
+
`,Y2=i.div`
|
|
262
262
|
width: ${r.sp7};
|
|
263
263
|
height: ${r.sp7};
|
|
264
264
|
min-width: ${r.sp7};
|
|
@@ -288,7 +288,7 @@ import{y as u,a8 as y1,q as M,F as j,cb as j1,V as C,bR as $1,o as r,aN as v1,b
|
|
|
288
288
|
width: ${r.sp4};
|
|
289
289
|
height: ${r.sp4};
|
|
290
290
|
color: ${t=>t.theme.colors.brandColorOnyx};
|
|
291
|
-
`;function C3({performanceSummary:t,currency:a,isPerformanceReportNotFound:s}){const{common:o,aiPerformanceDashboard:l}=j.getLocalizedStrings(),c=M(),h=v=>Math.round(v/60),p=Z1(t.forecastAnnualSavings.timeSavedMinutes).toFixed(),k=B1(t.forecastAnnualSavings.timeSavedMinutes).toFixed();return C.jsx(A2,{windowSize:c,children:C.jsxs(I2,{windowSize:c,children:[C.jsx(
|
|
291
|
+
`;function C3({performanceSummary:t,currency:a,isPerformanceReportNotFound:s}){const{common:o,aiPerformanceDashboard:l}=j.getLocalizedStrings(),c=M(),h=v=>Math.round(v/60),p=Z1(t.forecastAnnualSavings.timeSavedMinutes).toFixed(),k=B1(t.forecastAnnualSavings.timeSavedMinutes).toFixed();return C.jsx(A2,{windowSize:c,children:C.jsxs(I2,{windowSize:c,children:[C.jsx(Y2,{children:C.jsx(t3,{})}),C.jsxs(U2,{children:[C.jsxs(J2,{children:[C.jsx(K2,{children:l.annualizedImpact.title}),C.jsx(X2,{children:l.annualizedImpact.subtitle})]}),C.jsxs(q2,{isPerformanceReportNotFound:s,windowSize:c,children:[C.jsxs(n1,{children:[C.jsx(x,{style:{color:d.graphColor16Dark},children:l.aiTimeSavedTile.title}),s?C.jsx(W,{children:o.strings.hyphen}):C.jsxs(Q2,{children:[C.jsxs(W,{children:[Number(h(t.forecastAnnualSavings.timeSavedMinutes).toFixed()).toLocaleString()," "]}),C.jsxs(e3,{children:[o.timeStrings.hours,o.strings.space,Number(p)<=1?C.jsxs(C.Fragment,{children:[o.strings.openingBrace,Number(k).toLocaleString(),o.strings.space,Number(k)>1?o.timeStrings.days:o.timeStrings.day,o.strings.closingBrace]}):C.jsxs(C.Fragment,{children:[o.strings.openingBrace,Number(p).toLocaleString(),o.strings.space,Number(p)<2?o.timeStrings.week:o.timeStrings.weeks,o.strings.closingBrace]})]})]})]}),C.jsxs(n1,{children:[C.jsx(x,{style:{color:d.graphColor16Dark},children:l.aiCostSavedTile.title}),s?C.jsx(W,{children:o.strings.hyphen}):C.jsxs(W,{children:[a.currencySymbol,Number(t.forecastAnnualSavings.costSaved.toFixed()).toLocaleString()]})]})]})]})]})})}const r3=t=>e.createElement("svg",{width:91,height:90,viewBox:"0 0 91 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("path",{d:"M80.6 6.30005L9.04999 29.25L24.35 34.2M80.6 6.30005L55.85 55.5751L41.225 40.9501M80.6 6.30005L24.35 34.2M80.6 6.30005L35.825 35.55M35.825 35.55L28.4 46.8001M35.825 35.55L41.225 40.9501M28.4 46.8001L41.225 40.9501M28.4 46.8001L24.35 34.2",stroke:"#97C3B9",strokeWidth:.9}),e.createElement("path",{opacity:.2,d:"M9.95001 30.5999L81.5 7.6499L56.75 56.9249L42.125 42.2999L29.3 48.1499L25.25 35.5499L9.95001 30.5999Z",fill:"#97C3B9"}),e.createElement("path",{d:"M43.0228 60.8666C38.2384 60.8666 34.3667 64.7384 34.3667 69.5227C34.3667 64.7384 30.4843 60.8666 25.7 60.8666C30.4843 60.8666 34.3667 56.9843 34.3667 52.2C34.3667 56.9843 38.2384 60.8666 43.0228 60.8666Z",stroke:"#EEBA7D",strokeWidth:.9,strokeMiterlimit:10}),e.createElement("path",{d:"M81.7165 42.6554C78.5503 42.6554 75.9866 45.2276 75.9866 48.4042C75.9866 45.2276 73.4162 42.6554 70.25 42.6554C73.4162 42.6554 75.9866 40.0765 75.9866 36.8999C75.9866 40.0765 78.5503 42.6554 81.7165 42.6554Z",stroke:"#EEBA7D",strokeWidth:.9,strokeMiterlimit:10,strokeLinejoin:"round"}),e.createElement("path",{d:"M19.4 15.752C17.4119 15.752 15.8021 17.3618 15.8021 19.3499C15.8021 17.3618 14.1881 15.752 12.2 15.752C14.1881 15.752 15.8021 14.138 15.8021 12.1499C15.8021 14.138 17.4119 15.752 19.4 15.752Z",stroke:"#EEBA7D",strokeWidth:.9,strokeMiterlimit:10,strokeLinejoin:"round"}),e.createElement("path",{d:"M10.2031 58.269C10.5781 57.219 11.6881 54.714 13.1281 53.094",stroke:"#97C3B9",strokeWidth:.9}),e.createElement("path",{d:"M16.5034 49.2688C17.2972 48.4859 19.2031 46.5689 21.0822 45.6607",stroke:"#97C3B9",strokeWidth:.9}),e.createElement("path",{d:"M9.07801 63.219C9.00301 64.194 9.03301 66.729 9.75301 69.069",stroke:"#97C3B9",strokeWidth:.9}),e.createElement("path",{d:"M12.4531 73.344C13.1281 74.169 15.0631 75.999 17.4031 76.719M22.1281 78.294C23.3281 78.444 26.2231 78.744 28.2031 78.744",stroke:"#97C3B9",strokeWidth:.9}),e.createElement("path",{d:"M32.9281 78.969H39.0031M43.7281 78.969H50.2531M54.9781 78.969H61.2781",stroke:"#97C3B9",strokeWidth:.9}),e.createElement("path",{d:"M66.0031 79.4189C67.2031 79.4189 70.0981 79.5539 72.0781 80.0939",stroke:"#97C3B9",strokeWidth:.9}),e.createElement("path",{d:"M76.8031 81.4438C77.9281 81.7438 80.6281 82.6588 82.4281 83.9188",stroke:"#97C3B9",strokeWidth:.9})),i3=i.div`
|
|
292
292
|
display: flex;
|
|
293
293
|
flex-direction: column;
|
|
294
294
|
background-color: ${t=>t.theme.colors.grey5};
|
|
@@ -329,7 +329,7 @@ import{y as u,a8 as y1,q as M,F as j,cb as j1,V as C,bR as $1,o as r,aN as v1,b
|
|
|
329
329
|
display: flex;
|
|
330
330
|
flex-direction: column;
|
|
331
331
|
gap: ${r.sp1};
|
|
332
|
-
`,k3=i(
|
|
332
|
+
`,k3=i(X)`
|
|
333
333
|
max-width: 400px;
|
|
334
334
|
color: ${t=>t.theme.colors.brandColorOpalDark};
|
|
335
335
|
z-index: 1;
|
|
@@ -380,7 +380,7 @@ import{y as u,a8 as y1,q as M,F as j,cb as j1,V as C,bR as $1,o as r,aN as v1,b
|
|
|
380
380
|
display: flex;
|
|
381
381
|
flex-direction: column;
|
|
382
382
|
gap: ${t=>y3.headerGap.valuePx(t.windowSize)};
|
|
383
|
-
`,B3=i(
|
|
383
|
+
`,B3=i(X)`
|
|
384
384
|
max-width: 400px;
|
|
385
385
|
color: ${t=>t.theme.colors.brandColorOpalDark};
|
|
386
386
|
`,F3=i.div`
|
|
@@ -481,13 +481,13 @@ import{y as u,a8 as y1,q as M,F as j,cb as j1,V as C,bR as $1,o as r,aN as v1,b
|
|
|
481
481
|
top: ${r.sp0};
|
|
482
482
|
width: 100%;
|
|
483
483
|
${t=>t.isScrolled&&`border-bottom: 1px solid ${t.theme.colors.grey3}`}
|
|
484
|
-
`,
|
|
484
|
+
`,X3=i.div`
|
|
485
485
|
display: flex;
|
|
486
486
|
flex-direction: column;
|
|
487
487
|
gap: ${r.sp3};
|
|
488
488
|
width: 100%;
|
|
489
489
|
background-color: ${t=>t.theme.colors.grey4};
|
|
490
|
-
`,
|
|
490
|
+
`,Y3=i.div`
|
|
491
491
|
padding: 0 ${t=>_.containerPadding.valuePx(t.windowSize)};
|
|
492
492
|
`,q3=i.div`
|
|
493
493
|
display: flex;
|
|
@@ -536,4 +536,4 @@ import{y as u,a8 as y1,q as M,F as j,cb as j1,V as C,bR as $1,o as r,aN 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 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,
|
|
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,Y]=e.useState(E(w)),[Z,q]=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),q(w),Y(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"),q(F(m)),Y(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(X3,{children:[C.jsx(K3,{isScrolled:f1,windowSize:h,paddingLeft:_.contentPaddingLeft.value(h),paddingRight:_.contentPaddingRight.value(h),children:C.jsx(V1,{...w1})}),C.jsxs(Y3,{windowSize:h,children:[C.jsxs(q3,{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-BEOrrVQS-DHpgF3pM.js → AccountInfoPage-B6jxAqA6-BUFslhTv.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as h,q as
|
|
1
|
+
import{d as h,q as x,V as t,gM as b,o as a,y as s,hy as D,c as i}from"./index-qaSB49F0.js";import{a as $}from"./sentry-D4D7HRQR.js";import{n as o}from"./mui-Fyk6sRCR.js";import{K as P}from"./StatusSwitcher-Bcqhq2ht-tjRFz3FC.js";import{r as z}from"./AccountInfoPageContent-Dm4_RVtp-7_DDYrUM.js";import"./liveblocks-BmXYR5uO.js";import"./core-D7_k1EhP.js";import"./recharts-j_eh1fXg.js";import"./zeni-epic-state-I555vKHy.js";import"./lottie--pGIoexZ.js";import"./analytics-CO_4s2X8.js";import"./lexical-CGMN4tXG.js";import"./utils-BTQ24URD.js";import"./downloadPdf-a0dx3Bka-DXudTOPx.js";import"./commonDimensions-DGz_YafU-DaJiwvC8.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]="cb8c6bfc-cc46-497e-9e75-73050e9e06a2",e._sentryDebugIdIdentifier="sentry-dbid-cb8c6bfc-cc46-497e-9e75-73050e9e06a2")}catch{}})();const d={pageTitleMarginXAxis:new s(i[4],i[8]),containerPaddingLeft:new s(i[3],i[6],i[8]),containerPaddingRight:new s(i[3],i[6],i[8])},B=({authParams:e,downloadAccountDetailEndPoint:n,depositAccount:r,zeniAccountsConfigDetail:f,currentTenant:u,onDismissClick:g})=>{const p=h(),c=x(),[l,m]=$.useState("achDetails"),w=y=>{m(y)};return t.jsxs(T,{children:[t.jsx(b,{title:"",backgroundColor:p.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:g}),t.jsx(v,{windowSize:c,children:r.accountName}),t.jsx(S,{children:t.jsx(P,{tabIds:["achDetails","wireDetails"],selectedTab:l,entity:"zeni_accounts",onTabSelectedChange:w,isSwitcherLeftAlign:!0})}),t.jsx(A,{windowSize:c,children:t.jsx(z,{authParams:e,downloadAccountDetailEndPoint:n,currentTab:l,zeniAccountsConfigDetail:f,currentTenant:u,depositAccount:r})})]})},A=o.div`
|
|
2
2
|
padding-left: ${e=>`${d.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
3
3
|
padding-right: ${e=>`${d.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
4
4
|
`,T=o.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as je,gW as Ae,hz as Q,V as r,bR as z,k as Se,aN as _,o as a,b6 as Te,F as ve,c1 as De,p as E,ai as re,u as Ce,gZ as ze,al as ae}from"./index-
|
|
1
|
+
import{q as je,gW as Ae,hz as Q,V as r,bR as z,k as Se,aN as _,o as a,b6 as Te,F as ve,c1 as De,p as E,ai as re,u as Ce,gZ as ze,al as ae}from"./index-qaSB49F0.js";import{a as s}from"./sentry-D4D7HRQR.js";import{n as t}from"./mui-Fyk6sRCR.js";import{w as _e}from"./downloadPdf-a0dx3Bka-DXudTOPx.js";import{o as Le}from"./commonDimensions-DGz_YafU-DaJiwvC8.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]="9c57e4ab-2509-48af-8bd6-abe4fdf4fda5",e._sentryDebugIdIdentifier="sentry-dbid-9c57e4ab-2509-48af-8bd6-abe4fdf4fda5")}catch{}})();const{common:{strings:Ie,copyToClipBoard:g},spendManagement:{zeniAccounts:{zeniAccountDetail:Z},billPay:{vendorCreation:{achDetails:o}},downloads:G}}=ve.getLocalizedStrings(),er=({authParams:e,downloadAccountDetailEndPoint:y,currentTab:p,depositAccount:c,zeniAccountsConfigDetail:u,currentTenant:k})=>{const oe=je(),[,M]=Ae(),[N,te]=s.useState(!1),[se,ne]=s.useState(!1),[ce,ie]=s.useState(!1),[le,de]=s.useState(!1),[be,ue]=s.useState(!1),[me,pe]=s.useState(!1),[he,fe]=s.useState(!1),[xe,ye]=s.useState(!1),[h,P]=s.useState(!1),[w,V]=s.useState(!1),[j,q]=s.useState(!1),[A,U]=s.useState(!1),[S,B]=s.useState(!1),[T,F]=s.useState(!1),[v,H]=s.useState(!1),[$,O]=s.useState(!1),D=k?.company?.companyInfo.companyLegalName,C=Q(u.zeniAccountsConfigDetail.mailingAddress).text2,m=Q(u.zeniAccountsConfigDetail.bankAddress).text2;s.useEffect(()=>{(h||T||v||$||S||$||j||w||A)&&setTimeout(()=>{P(!1),F(!1),H(!1),O(!1),B(!1),U(!1),q(!1),V(!1)},1200)},[h,T,v,$,S,A,j,w]);const W=(f,n)=>{switch(f){case"accountType":ne(n);break;case"acccountNumber":ie(n);break;case"routingNumber":de(n);break;case"bankName":ue(n);break;case"beneficiaryName":fe(n);break;case"beneficiaryAddress":pe(n);break;case"bankAddress":ye(n);break}},$e=f=>{let n;f==="achDetails"?n=`${o.bankRoutingNumber} ${c.routingNumberAch}
|
|
2
2
|
|
|
3
3
|
${o.accountTypeLabel} ${c.accountSubType.name??""}
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as g,F as d,V as t,al as x,b9 as l,n as b,o,p,aq as y,bX as j,bY as $,bZ as w,bQ as k}from"./index-
|
|
1
|
+
import{d as g,F as d,V as t,al as x,b9 as l,n as b,o,p,aq as y,bX as j,bY as $,bZ as w,bQ as k}from"./index-qaSB49F0.js";import{n as r}from"./mui-Fyk6sRCR.js";import{t as v}from"./handshake-BPg58FML-B-s0K2Gk.js";import"./sentry-D4D7HRQR.js";import"./liveblocks-BmXYR5uO.js";import"./core-D7_k1EhP.js";import"./recharts-j_eh1fXg.js";import"./zeni-epic-state-I555vKHy.js";import"./lottie--pGIoexZ.js";import"./analytics-CO_4s2X8.js";import"./lexical-CGMN4tXG.js";import"./utils-BTQ24URD.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]="cebf66af-7e31-4ddf-9ef7-3f41ecb64137",e._sentryDebugIdIdentifier="sentry-dbid-cebf66af-7e31-4ddf-9ef7-3f41ecb64137")}catch{}})();const m="support@zeni.ai",n=d.getLocalizedStrings().commonSetUp.twoFactorAuthentication,f=({unlockDate:e,onSubmit:i})=>{const s=g(),h=e.format(d.getLocalizedStrings().dateFormat.visual.MMMDCommaYYYYformat),u=e.format(d.getLocalizedStrings().dateFormat.visual.HHMMFormat);return t.jsxs(S,{children:[t.jsx(D,{children:n.accountLockedTitle}),t.jsxs(I,{children:[t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(Y,{})}),t.jsx(x,{children:n.accountLockedSecurityMessage})]}),t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(z,{})}),t.jsxs(l,{children:[n.tryAgainAfter,t.jsxs(C,{children:[h,t.jsx(L,{children:"•"}),u]}),n.signInViaGoogleOrMicrosoft]})]}),t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(A,{})}),t.jsxs(l,{children:[n.accountLockedContactMessage,t.jsx(_,{href:`mailto:${m}`,children:m})]})]}),t.jsx(b,{variant:"primary",label:n.understood,onClick:i})]})]})};function M({unlockDate:e,onClose:i}){return t.jsx(k,{open:!0,onClose:i,children:t.jsx(F,{children:t.jsx(f,{unlockDate:e,onSubmit:i})})})}const S=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a9 as fe,fw as xe,V as t,ac as ye,cn as ge,co as je,cp as Se,o as c,M as $e,b6 as J,am as X,L as
|
|
1
|
+
import{a9 as fe,fw as xe,V as t,ac as ye,cn as ge,co as je,cp as Se,o as c,M as $e,b6 as J,am as X,L as ke,aa as be,dI as ve,eQ as we,d0 as G,dr as Z,F as Ce,al as d,d as Ee,aL as Pe,bv as ee,dL as te,au as Re,p as ne,u as Ie}from"./index-qaSB49F0.js";import{a as r}from"./sentry-D4D7HRQR.js";import{n as o}from"./mui-Fyk6sRCR.js";import{bL as oe,Gv as De,Gw as Te}from"./zeni-epic-state-I555vKHy.js";import{E as _e,C as Fe,w as Le,f as Ue}from"./AccountRow-B16HgkVQ-dG_dWaCL.js";import"./liveblocks-BmXYR5uO.js";import"./core-D7_k1EhP.js";import"./recharts-j_eh1fXg.js";import"./lottie--pGIoexZ.js";import"./analytics-CO_4s2X8.js";import"./lexical-CGMN4tXG.js";import"./utils-BTQ24URD.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]="f510cc38-2629-475e-867a-894f6f797c81",e._sentryDebugIdIdentifier="sentry-dbid-f510cc38-2629-475e-867a-894f6f797c81")}catch{}})();const m={containerPaddingLeft:c.sp4,containerPaddingRight:c.sp4,navBarHeight:c.sp10,navBarPaddingRight:c.sp4,navBarPaddingLeft:c.sp4,balanceContainerWidth:114,sourceContainerWidth:400},Me=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,fw as xe,V as t,ac as ye,cn as ge,co as je,cp as Se,o as c,M as
|
|
|
19
19
|
z-index: 2;
|
|
20
20
|
top: ${c.sp0};
|
|
21
21
|
width: 100%;
|
|
22
|
-
`,Oe=o(
|
|
22
|
+
`,Oe=o(ke)`
|
|
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,fw as xe,V as t,ac as ye,cn as ge,co as je,cp as Se,o as c,M as
|
|
|
236
236
|
color: ${e=>e.status==="connected"?e.theme.colors.success:e.status==="reconnect"?e.theme.colors.important:e.theme.colors.link};
|
|
237
237
|
cursor: pointer;
|
|
238
238
|
text-decoration: underline;
|
|
239
|
-
`,{common:p,dateFormat:Q,expenseAutomation:{accountRecon:i}}=Ce.getLocalizedStrings(),ft=(e,n)=>`${e}.${n}`,xt="accountReconDrawerDetailsPage",se="accountReconDrawerDetailsSection";function Mt({accountReconciliation:e,plaidConnectionDetails:n,monthYearPeriod:l,openFilePicker:u,filesEndPoint:x,authParams:S,onDismissClick:$,onFetchLinkTokenClick:E,onEstablishConnectionClick:P,onSelectSourceType:_,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:L,onUploadWindowOpenedOnce:U}){const f=fe({mode:"all",reValidateMode:"onChange",defaultValues:K(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:K(e)}),b=f.handleSubmit(()=>{}),[h,y]=r.useState(void 0),k=n.link_account_no_microdeposit,v=n.update_account,a=h==="update_account"?v:k,[g,M]=r.useState(a.linkToken??null),[s,w]=r.useState(!1),[N,Y]=r.useState(!1),[B,O]=r.useState(void 0),[re,z]=r.useState(void 0),le=r.useCallback(()=>{y("link_account_no_microdeposit")},[]),de=r.useCallback(()=>{y("update_account"),E("update_account",e.paymentAccountId)},[e.paymentAccountId]),ue={onOkClick:()=>{B!=null&&(R(B),O(void 0)),z(void 0),Y(!1)},onCancelClick:()=>{O(void 0),Y(!1)}},H=r.useRef(h);r.useEffect(()=>{H.current=h},[h]);const pe=r.useCallback(I=>{P(I,e.accountReconEntity.account.accountId,H.current),y(void 0),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&&M(a.linkToken)},[a.fetchStatus.fetchState,a.linkToken,g]),r.useEffect(()=>{s&&q()},[s,q]),t.jsxs(Me,{children:[t.jsx(Be,{children:t.jsx(We,{children:t.jsxs(Ne,{children:[t.jsx(Ye,{}),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(Oe,{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:_,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:L,onUploadWindowOpenedOnce:U,showConfirmationPopup:N,setShowConfirmationPopup:Y,deleteFileId:B,setDeleteFileId:O,uploadErrorMessage:re,setUploadErrorMessage:z})})}),N===!0||e.statementDeleteStatus.fetchState==="In-Progress"?t.jsx(ge,{titleComponent:t.jsx(Se,{children:i.reconciliation.drawer.deleteConfirmation.heading}),descriptionComponent:t.jsx(je,{children:i.reconciliation.drawer.deleteConfirmation.description}),isLoading:e.statementDeleteStatus.fetchState==="In-Progress",primaryButtonText:p.confirm,secondaryButtonText:p.cancel,action:ue}):null]})]})}const yt=({monthYearPeriod:e,accountReconciliation:n,filesEndPoint:l,authParams:u,openFilePicker:x,onConnectClick:S,onReconnectClick:$,setDeleteFileId:E,setShowConfirmationPopup:P,onEditFileName:_,onSelectSourceType:R,onStatementUploadSuccess:F,onUploadWindowOpenedOnce:L,uploadErrorMessage:U,setUploadErrorMessage:f})=>{const[b,h]=r.useState(!1),y=(n.localData?.accountSource??"plaid")==="plaid"?n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt:n.accountReconEntity.reconUpdatedAt,k=[];n.accountReconEntity.account.accountType==="bank"&&k.push({label:i.reconciliation.menu.bankConnection,value:"plaid"}),k.push({label:i.reconciliation.menu.statement,value:"bank_statement"});const v=n.accountReconEntity.account.accountType==="credit_card"?"bank_statement":n.localData?.accountSource;let a=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0||b?"bank_statement":void 0;n.accountReconEntity.account.accountType==="credit_card"&&(a="bank_statement"),r.useEffect(()=>{n.accountReconEntity.statementStatus.code==="uploaded"&&(n.accountReconEntity.statementDataStatus?.code==="validation_failed"||n.accountReconEntity.statementDataStatus?.code==="parsing_failed"||n.accountReconEntity.statementDataStatus?.code==="processing_failed")&&f(_e(n.accountReconEntity.statementDataStatus?.code,"drawer",n.accountReconEntity.errorMessage?.errorShort))},[n.accountReconEntity.statementStatus.code,n.accountReconEntity.statementDataStatus?.code,n.accountReconEntity.errorMessage?.errorShort,f]);const g=["reconciled","in_progress","reconciled_via_qbo"],M=n.accountReconEntity.reconciliationStatus!=null&&g.includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(Ve,{children:[t.jsxs(Ge,{children:[t.jsxs(Qe,{children:[t.jsx(A,{children:i.reconciliation.headers.bankBalance}),t.jsx(Ke,{children:t.jsx(Fe,{bankBalance:n.accountReconEntity.balance,bankConnection:n.accountConnectionStatus,isLoading:!1,fromDrawer:!0,accountId:n.accountReconEntity.account.accountId,statementStatus:n.accountReconEntity.statementStatus.code,onStatementAddClicked:()=>{},setIsHovering:()=>{}})})]}),t.jsxs(Je,{children:[t.jsx(A,{children:i.reconciliation.headers.clearedBalance}),t.jsx(Xe,{children:t.jsx(Le,{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(T,{children:a!=null?t.jsx(j,{children:a==="plaid"&&n.accountReconEntity.account.accountType==="bank"?t.jsxs(t.Fragment,{children:[t.jsx(ie,{}),i.reconciliation.menu.bankConnection]}):t.jsxs(t.Fragment,{children:[t.jsx(ae,{}),i.reconciliation.menu.statement]})}):t.jsx(ke,{controller:!0,children:t.jsx(ve,{moreIconType:"custom",customIcon:t.jsx(gt,{selectedSourceType:v}),options:k,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:c.sp5,width:"180px"})},menuPlacement:"bottom",onOptionSelection:s=>{R(De(s))},valueToIcon:s=>s==="plaid"?t.jsx(ut,{}):s==="bank_statement"?t.jsx(pt,{}):null})})})]}),v==="bank_statement"?t.jsx(C,{children:t.jsx(we,{name:ft(se,"file"),file:n.accountReconEntity.statementMetaData?.file,showPhotoPicker:!1,isDisabled:M,sizeLimit:1e7,onFileSizeError:s=>{s&&f(p.fileElementPicker.sizeLimit)},deleteFileStatusById:{},updateFileStatusById:{},filesEndPoint:l,authParams:u,acceptableTypes:["application/pdf"],placeholderText:i.reconciliation.drawer.downloadPlaceholder,autoOpenFilePicker:x,accountStatementUpload:{uploadHelper:Te,metadataPayload:{accountId:n.accountReconEntity.account.accountId,accountType:n.accountReconEntity.account.accountType??"bank",monthYearPeriod:e},errorMessage:U,onUploadError:s=>{f(s?.message)},onUploadSuccess:s=>{F(s),h(!1)},onUploadStart:()=>{h(!0),f(void 0)},onUploadWindowOpenedOnce:()=>{L()}},onDeleteFile:s=>{E(s),P(!0)},onEditFileName:(s,w)=>{_(s,w)}})}):null,t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.status}),t.jsx(T,{children:v!=="bank_statement"?t.jsx(jt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:$}):t.jsx(St,{uploadInProgress:b,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.accountType}),t.jsx(T,{children:t.jsx(bt,{accountSubType:G(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.lastUpdated}),t.jsx(T,{children:t.jsx(Z,{isLoading: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:$}=Ue(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(Q.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${x.format(Q.visual.DMMMYYYYFormat)}`},K=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{Mt as default,ft as uniqueName};
|
|
239
|
+
`,{common:p,dateFormat:Q,expenseAutomation:{accountRecon:i}}=Ce.getLocalizedStrings(),ft=(e,n)=>`${e}.${n}`,xt="accountReconDrawerDetailsPage",se="accountReconDrawerDetailsSection";function Mt({accountReconciliation:e,plaidConnectionDetails:n,monthYearPeriod:l,openFilePicker:u,filesEndPoint:x,authParams:S,onDismissClick:$,onFetchLinkTokenClick:E,onEstablishConnectionClick:P,onSelectSourceType:_,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:L,onUploadWindowOpenedOnce:U}){const f=fe({mode:"all",reValidateMode:"onChange",defaultValues:K(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:K(e)}),k=f.handleSubmit(()=>{}),[h,y]=r.useState(void 0),b=n.link_account_no_microdeposit,v=n.update_account,a=h==="update_account"?v:b,[g,M]=r.useState(a.linkToken??null),[s,w]=r.useState(!1),[N,Y]=r.useState(!1),[B,O]=r.useState(void 0),[re,z]=r.useState(void 0),le=r.useCallback(()=>{y("link_account_no_microdeposit")},[]),de=r.useCallback(()=>{y("update_account"),E("update_account",e.paymentAccountId)},[e.paymentAccountId]),ue={onOkClick:()=>{B!=null&&(R(B),O(void 0)),z(void 0),Y(!1)},onCancelClick:()=>{O(void 0),Y(!1)}},H=r.useRef(h);r.useEffect(()=>{H.current=h},[h]);const pe=r.useCallback(I=>{P(I,e.accountReconEntity.account.accountId,H.current),y(void 0),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&&M(a.linkToken)},[a.fetchStatus.fetchState,a.linkToken,g]),r.useEffect(()=>{s&&q()},[s,q]),t.jsxs(Me,{children:[t.jsx(Be,{children:t.jsx(We,{children:t.jsxs(Ne,{children:[t.jsx(Ye,{}),t.jsxs(ze,{children:[t.jsx(He,{children:e.accountReconEntity.account.accountName}),t.jsx(ce,{children:t.jsx(bt,{monthYearPeriod:l})})]}),t.jsx(qe,{children:t.jsx(Oe,{onClick:$})})]})})}),t.jsxs(Ae,{children:[t.jsx(ye,{...f,children:t.jsx("form",{style:{width:"100%"},id:xt,onSubmit:k,children:t.jsx(yt,{monthYearPeriod:l,accountReconciliation:e,filesEndPoint:x,openFilePicker:u,authParams:S,onConnectClick:le,onReconnectClick:de,onSelectSourceType:_,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:L,onUploadWindowOpenedOnce:U,showConfirmationPopup:N,setShowConfirmationPopup:Y,deleteFileId:B,setDeleteFileId:O,uploadErrorMessage:re,setUploadErrorMessage:z})})}),N===!0||e.statementDeleteStatus.fetchState==="In-Progress"?t.jsx(ge,{titleComponent:t.jsx(Se,{children:i.reconciliation.drawer.deleteConfirmation.heading}),descriptionComponent:t.jsx(je,{children:i.reconciliation.drawer.deleteConfirmation.description}),isLoading:e.statementDeleteStatus.fetchState==="In-Progress",primaryButtonText:p.confirm,secondaryButtonText:p.cancel,action:ue}):null]})]})}const yt=({monthYearPeriod:e,accountReconciliation:n,filesEndPoint:l,authParams:u,openFilePicker:x,onConnectClick:S,onReconnectClick:$,setDeleteFileId:E,setShowConfirmationPopup:P,onEditFileName:_,onSelectSourceType:R,onStatementUploadSuccess:F,onUploadWindowOpenedOnce:L,uploadErrorMessage:U,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(_e(n.accountReconEntity.statementDataStatus?.code,"drawer",n.accountReconEntity.errorMessage?.errorShort))},[n.accountReconEntity.statementStatus.code,n.accountReconEntity.statementDataStatus?.code,n.accountReconEntity.errorMessage?.errorShort,f]);const g=["reconciled","in_progress","reconciled_via_qbo"],M=n.accountReconEntity.reconciliationStatus!=null&&g.includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(Ve,{children:[t.jsxs(Ge,{children:[t.jsxs(Qe,{children:[t.jsx(A,{children:i.reconciliation.headers.bankBalance}),t.jsx(Ke,{children:t.jsx(Fe,{bankBalance:n.accountReconEntity.balance,bankConnection:n.accountConnectionStatus,isLoading:!1,fromDrawer:!0,accountId:n.accountReconEntity.account.accountId,statementStatus:n.accountReconEntity.statementStatus.code,onStatementAddClicked:()=>{},setIsHovering:()=>{}})})]}),t.jsxs(Je,{children:[t.jsx(A,{children:i.reconciliation.headers.clearedBalance}),t.jsx(Xe,{children:t.jsx(Le,{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(T,{children:a!=null?t.jsx(j,{children:a==="plaid"&&n.accountReconEntity.account.accountType==="bank"?t.jsxs(t.Fragment,{children:[t.jsx(ie,{}),i.reconciliation.menu.bankConnection]}):t.jsxs(t.Fragment,{children:[t.jsx(ae,{}),i.reconciliation.menu.statement]})}):t.jsx(be,{controller:!0,children:t.jsx(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:M,sizeLimit:1e7,onFileSizeError:s=>{s&&f(p.fileElementPicker.sizeLimit)},deleteFileStatusById:{},updateFileStatusById:{},filesEndPoint:l,authParams:u,acceptableTypes:["application/pdf"],placeholderText:i.reconciliation.drawer.downloadPlaceholder,autoOpenFilePicker:x,accountStatementUpload:{uploadHelper:Te,metadataPayload:{accountId:n.accountReconEntity.account.accountId,accountType:n.accountReconEntity.account.accountType??"bank",monthYearPeriod:e},errorMessage:U,onUploadError:s=>{f(s?.message)},onUploadSuccess:s=>{F(s),h(!1)},onUploadStart:()=>{h(!0),f(void 0)},onUploadWindowOpenedOnce:()=>{L()}},onDeleteFile:s=>{E(s),P(!0)},onEditFileName:(s,w)=>{_(s,w)}})}):null,t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.status}),t.jsx(T,{children:v!=="bank_statement"?t.jsx(jt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:$}):t.jsx(St,{uploadInProgress:k,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.accountType}),t.jsx(T,{children:t.jsx(kt,{accountSubType:G(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.lastUpdated}),t.jsx(T,{children:t.jsx(Z,{isLoading:k,customStyle:{height:"20px",width:"100px"},position:"left",children:y!=null?t.jsx(j,{children:G(y.utc(!0).fromNow())}):p.strings.hyphen})})]})]})]})]})},gt=({selectedSourceType:e})=>t.jsxs(ct,{children:[e==null||e==="plaid"?t.jsx(ie,{}):t.jsx(ae,{}),t.jsx(it,{children:e==null||e==="plaid"?i.reconciliation.menu.bankConnection:i.reconciliation.menu.statement}),t.jsx(at,{})]}),jt=({status:e,connectionInProgress:n,onConnectClick:l,onReconnectClick:u})=>n?t.jsx(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:$}=Ue(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(Q.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${x.format(Q.visual.DMMMYYYYFormat)}`},K=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{Mt as default,ft as uniqueName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,aL as E,bR as f,o,aN as y,aa as se,dI as re,F as le,al as w,dJ as de,p as g,dK as X,dL as Y,cX as ue,aT as x,ai as Z,c as p,q as xe,d as S,a_ as pe,dp as he,an as ge,n as me,am as I,bI as fe,dB as je}from"./index-
|
|
1
|
+
import{V as t,aL as E,bR as f,o,aN as y,aa as se,dI as re,F as le,al as w,dJ as de,p as g,dK as X,dL as Y,cX as ue,aT as x,ai as Z,c as p,q as xe,d as S,a_ as pe,dp as he,an as ge,n as me,am as I,bI as fe,dB as je}from"./index-qaSB49F0.js";import{a as ye}from"./sentry-D4D7HRQR.js";import{n as a,c as we}from"./mui-Fyk6sRCR.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]="23535930-6f38-4b21-a1a9-ef4a145f5a73",e._sentryDebugIdIdentifier="sentry-dbid-23535930-6f38-4b21-a1a9-ef4a145f5a73")}catch{}})();const $e=a.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
${e=>e.showTreeLine===!0&&e.collapsed!==!0?`&::after {
|
|
4
4
|
content: "";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{F as U,V as o,o as t,aW as z,p as v,aq as ne,b as ae,bt as ie,bu as se,bv as ce,bw as le,bx as Y,l as de,aM as q,aJ as pe,d as R,aw as ue,aN as _,aV as me,aK as he,aQ as ge,ai as Q,aX as xe,b4 as fe,al as ye,b9 as Ce}from"./index-
|
|
1
|
+
import{F as U,V as o,o as t,aW as z,p as v,aq as ne,b as ae,bt as ie,bu as se,bv as ce,bw as le,bx as Y,l as de,aM as q,aJ as pe,d as R,aw as ue,aN as _,aV as me,aK as he,aQ as ge,ai as Q,aX as xe,b4 as fe,al as ye,b9 as Ce}from"./index-qaSB49F0.js";import{a as F,S}from"./sentry-D4D7HRQR.js";import{c as $e}from"./SummaryCard-DUTikTiQ-CorF8AqM.js";import{n as r,k as X,c as V}from"./mui-Fyk6sRCR.js";import{EM as be}from"./zeni-epic-state-I555vKHy.js";import{N as E}from"./NavigationArrow-qaYGOFR3-BsTNc95E.js";import{k as ve}from"./NavigationDots-U7wL0ya4-Br1fZ1mY.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]="70ca2bc3-2ab2-425c-9ec4-14c7d8c1e9c4",e._sentryDebugIdIdentifier="sentry-dbid-70ca2bc3-2ab2-425c-9ec4-14c7d8c1e9c4")}catch{}})();const je="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-1.png",Ae="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-2.png",we="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-3.png",T=(e,n)=>{const i=e==="right"?`-${n}%`:`${n}%`;return X`
|
|
2
2
|
0% {
|
|
3
3
|
opacity: 0;
|
|
4
4
|
transform: translateX(${i});
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{d as y,q as S,aO as T,b as r,V as l,jr as w,o as t,y as m,aN as B,F as x,c as n}from"./index-qaSB49F0.js";import{a as C}from"./sentry-D4D7HRQR.js";import{n as j}from"./mui-Fyk6sRCR.js";import"./liveblocks-BmXYR5uO.js";import"./core-D7_k1EhP.js";import"./recharts-j_eh1fXg.js";import"./zeni-epic-state-I555vKHy.js";import"./lottie--pGIoexZ.js";import"./analytics-CO_4s2X8.js";import"./lexical-CGMN4tXG.js";import"./utils-BTQ24URD.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]="b6a4e308-0b71-4e3e-a2a5-b0b977720133",e._sentryDebugIdIdentifier="sentry-dbid-b6a4e308-0b71-4e3e-a2a5-b0b977720133")}catch{}})();const p={marginTop:new m(n[0],18),marginBottom:new m(n[0],n[3])},{spendManagement:{chargeCard:{chargeCardsPromo:g}},common:A}=x.getLocalizedStrings(),K=({googleAPIKey:e,customAddress:o,customAddressStatus:a,onDismissClick:d,onSubmitHandler:c})=>{const u=y(),s=S(),i=T(a.fetchState);C.useEffect(()=>{i==="In-Progress"&&a.fetchState==="Completed"&&d()},[a.fetchState,d,i]);const b=s==="small"?r.extraSmallRegular.cssObject:r.standardRegular.cssObject,f=s==="small"?r.standardMedium.cssObject:r.h5Regular.cssObject;return l.jsx(I,{"data-testid":B("add-address-for-card-drawer"),children:l.jsx(w,{googleAPIKey:e,loadingState:a.fetchState,addressToEdit:o,onSubmitHandler:h=>c(h),onCancel:d,showNavbarWithClose:!0,isSubPage:!0,addTitleMessage:g.addAddress,subTitleMessage:g.addAddressSubText,hideAddressBackButton:!0,showAddressCloseButton:!0,dontShowSaveConfirmationPopup:!0,customNavStyles:{paddingTop:"19px",paddingBottom:"19px"},customTitleStyles:{marginTop:p.marginTop.valuePx(s),marginBottom:p.marginBottom.valuePx(s),...f},subTitleStyles:{marginTop:t.sp0,marginBottom:t.sp0,...b,color:u.colors.hero},navBarContainerStyles:{alignItems:"center",justifyContent:"space-between",paddingTop:t.sp2,paddingRight:t.sp3},sectionStyles:{paddingTop:t.sp4,paddingBottom:t.sp4},footerButtons:{primaryButtonLabel:A.add,buttonWidth:82,separatorStyle:{marginRight:t.sp4}}})})},I=j.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
4
|
+
height: 100%;
|
|
5
|
+
width: 100%;
|
|
6
|
+
`;export{K as default};
|
package/dist/assets/{AddToWalletPage-DNPLnpTq-DebEsPxP.js → AddToWalletPage-vXWBje7k-B9_XOYgG.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as L,a8 as le,aw as ne,F as N,V as t,bA as de,c as p,j4 as pe,
|
|
1
|
+
import{q as L,a8 as le,aw as ne,F as N,V as t,bA as de,c as p,j4 as pe,jo as ce,o as i,n as A,aN as W,y as m,R as $,M as b,jp as he,j5 as ge,cg as xe,p as r,jq as me,bw as we,cT as ue,al as $e,b as be,j9 as fe}from"./index-qaSB49F0.js";import{a as g}from"./sentry-D4D7HRQR.js";import{n as o,c as D}from"./mui-Fyk6sRCR.js";import{EL as ye}from"./zeni-epic-state-I555vKHy.js";import{t as je,n as ve,i as Se,a as Ce,l as ke,r as Te,A as ze}from"./add-to-wallet-DgdBD8_G-B2xhCimT.js";import"./liveblocks-BmXYR5uO.js";import"./core-D7_k1EhP.js";import"./recharts-j_eh1fXg.js";import"./lottie--pGIoexZ.js";import"./analytics-CO_4s2X8.js";import"./lexical-CGMN4tXG.js";import"./utils-BTQ24URD.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="ac7fb1ea-0546-4111-bf7a-b024ef3060bd",e._sentryDebugIdIdentifier="sentry-dbid-ac7fb1ea-0546-4111-bf7a-b024ef3060bd")}catch{}})();const Ie=({options:e,selected:a,onToggle:h,containerStyle:l={},optionStyle:y={},thumbStyle:k={}})=>{const w=e.findIndex(n=>n.id===a),u=100/e.length,j=()=>w===0?{left:"1%"}:w===e.length-1?{left:`${(e.length-1)*u}%`}:{left:`${w*u}%`};return t.jsxs(Ae,{style:l,children:[t.jsx(We,{style:{width:`${u-1}%`,...j(),...k}}),e.map(n=>t.jsx(De,{style:y,active:n.id===a,"data-testid":n.dataTestId,onClick:v=>{v.preventDefault(),h(n.id)},children:n.label},n.id))]})},Ae=o.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
width: 100%;
|
|
4
4
|
background: ${e=>e.theme.colors.grey3};
|
|
@@ -37,7 +37,7 @@ import{q as L,a8 as le,aw as ne,F as N,V as t,bA as de,c as p,j4 as pe,jn as ce,
|
|
|
37
37
|
transition: color 0.3s ease;
|
|
38
38
|
padding-top: ${i.sp1};
|
|
39
39
|
padding-bottom: ${i.sp1};
|
|
40
|
-
`,{spendManagement:{chargeCard:{chargeCardsPromo:B,cardDetails:d}}}=N.getLocalizedStrings(),c={chargeCardWidth:new m(200,384),chargeCardHeight:new m(128,240),openWalletIconWidthHeight:new m(20,p[4]),headingMarginTop:new m(p[4],p[7]),headingMarginBottom:new m(p[6],p[9])},f={headingFont:new $("h6Medium","h4Regular"),subheadingFont:new $("standardRegular","h6Regular"),walletTitleFont:new $("standardSemiBold","largeSemiBold"),walletSubTitleFont:new $("extraSmallRegular","standardRegular")},Be=(e,a,h)=>t.jsxs(ot,{translatePhone:e,showIphone:h,children:[t.jsxs(at,{children:[t.jsx(gt,{children:B.timeText}),t.jsxs(rt,{children:[t.jsx(lt,{children:[...Array(4).keys()].map(l=>t.jsx(nt,{towerIndex:l},l))}),t.jsx(dt,{children:t.jsx(C,{className:"wave",children:t.jsx(C,{className:"wave",children:t.jsx(C,{className:"wave"})})})}),t.jsx(pt,{children:t.jsx(ct,{})}),t.jsx(ht,{})]})]}),t.jsxs(it,{children:[t.jsxs(Ke,{children:[t.jsx(Ue,{showTick:a}),t.jsx(Ze,{showTick:a}),t.jsx(et,{showTick:a}),t.jsx(tt,{showTick:a}),t.jsxs(wt,{translateCardSkelton:e,children:[t.jsx($t,{}),[...Array(4).keys()].map(l=>t.jsx(ut,{lineIndex:l},l))]}),a?null:t.jsx(bt,{children:t.jsx(he,{scannerTheme:"light"})})]}),t.jsx(xt,{showTick:a}),t.jsx(mt,{showTick:a,children:B.addToWallet})]}),t.jsx(st,{})]}),F=({tabType:e})=>{const a=L();return t.jsxs(He,{children:[t.jsxs(E,{children:[t.jsx(Ne,{children:t.jsx(Ge,{windowSize:a})}),t.jsx(M,{windowSize:a,children:d.openWalletAppOnPhone})]}),t.jsxs(H,{windowSize:a,children:[e==="apple"?d.openWalletDescriptionApple:d.openWalletDescriptionGoogle,t.jsx(P,{})]}),t.jsxs(E,{children:[t.jsx(Le,{children:t.jsx(Ve,{windowSize:a})}),t.jsx(M,{windowSize:a,children:d.verifyCard})]}),t.jsxs(H,{windowSize:a,children:[e==="apple"?d.VerifyCardDescriptionApple:d.VerifyCardDescriptionGoogle,t.jsx(P,{})]})]})},Mt=({onGotItClick:e,isDebitCard:a,controllerEmails:h,classListFetchState:l,isChargeCardFeatureEnabled:y,isDebitCardFeatureEnabled:k,isDebitCardSetupEnabled:w,isChargeCardSetupEnabled:u,productInformation:j,creditAccountInformation:n,debitAccountInformation:v,chargeCardDetailView:G,creditAccount:V,creditAccountRepayment:_,cardIssuedByRoles:J,cardIssuedByDepartmentName:
|
|
40
|
+
`,{spendManagement:{chargeCard:{chargeCardsPromo:B,cardDetails:d}}}=N.getLocalizedStrings(),c={chargeCardWidth:new m(200,384),chargeCardHeight:new m(128,240),openWalletIconWidthHeight:new m(20,p[4]),headingMarginTop:new m(p[4],p[7]),headingMarginBottom:new m(p[6],p[9])},f={headingFont:new $("h6Medium","h4Regular"),subheadingFont:new $("standardRegular","h6Regular"),walletTitleFont:new $("standardSemiBold","largeSemiBold"),walletSubTitleFont:new $("extraSmallRegular","standardRegular")},Be=(e,a,h)=>t.jsxs(ot,{translatePhone:e,showIphone:h,children:[t.jsxs(at,{children:[t.jsx(gt,{children:B.timeText}),t.jsxs(rt,{children:[t.jsx(lt,{children:[...Array(4).keys()].map(l=>t.jsx(nt,{towerIndex:l},l))}),t.jsx(dt,{children:t.jsx(C,{className:"wave",children:t.jsx(C,{className:"wave",children:t.jsx(C,{className:"wave"})})})}),t.jsx(pt,{children:t.jsx(ct,{})}),t.jsx(ht,{})]})]}),t.jsxs(it,{children:[t.jsxs(Ke,{children:[t.jsx(Ue,{showTick:a}),t.jsx(Ze,{showTick:a}),t.jsx(et,{showTick:a}),t.jsx(tt,{showTick:a}),t.jsxs(wt,{translateCardSkelton:e,children:[t.jsx($t,{}),[...Array(4).keys()].map(l=>t.jsx(ut,{lineIndex:l},l))]}),a?null:t.jsx(bt,{children:t.jsx(he,{scannerTheme:"light"})})]}),t.jsx(xt,{showTick:a}),t.jsx(mt,{showTick:a,children:B.addToWallet})]}),t.jsx(st,{})]}),F=({tabType:e})=>{const a=L();return t.jsxs(He,{children:[t.jsxs(E,{children:[t.jsx(Ne,{children:t.jsx(Ge,{windowSize:a})}),t.jsx(M,{windowSize:a,children:d.openWalletAppOnPhone})]}),t.jsxs(H,{windowSize:a,children:[e==="apple"?d.openWalletDescriptionApple:d.openWalletDescriptionGoogle,t.jsx(P,{})]}),t.jsxs(E,{children:[t.jsx(Le,{children:t.jsx(Ve,{windowSize:a})}),t.jsx(M,{windowSize:a,children:d.verifyCard})]}),t.jsxs(H,{windowSize:a,children:[e==="apple"?d.VerifyCardDescriptionApple:d.VerifyCardDescriptionGoogle,t.jsx(P,{})]})]})},Mt=({onGotItClick:e,isDebitCard:a,controllerEmails:h,classListFetchState:l,isChargeCardFeatureEnabled:y,isDebitCardFeatureEnabled:k,isDebitCardSetupEnabled:w,isChargeCardSetupEnabled:u,productInformation:j,creditAccountInformation:n,debitAccountInformation:v,chargeCardDetailView:G,creditAccount:V,creditAccountRepayment:_,cardIssuedByRoles:J,cardIssuedByDepartmentName:q,cardHolderRoles:X,cardHolderDepartmentName:O})=>{const s=L(),Q=le().analytics,[T,Y]=g.useState(!1),[z,K]=g.useState(!1),[U,Z]=g.useState(!1),[ee,te]=g.useState(!1),[S,ie]=g.useState("apple"),oe=ne(),ae=ye(oe.loggedInUserRoleMap),re=I=>{ge({chargeCardDetailView:G,classListFetchState:l,analytics:Q,isDebitCard:a,isChargeCardAdmin:ae,cardIssuedByRoles:J,cardIssuedByDepartmentName:q,cardHolderRoles:X,cardHolderDepartmentName:O,controllerEmails:h,pageName:"Card Activation",addToWalletType:I==="apple"?"Apple Wallet":"Google Wallet",productInformation:j,creditAccountInformation:n,debitAccountInformation:v,isChargeCardFeatureEnabled:y,creditAccount:V,creditAccountRepayment:_}),ie(I)};g.useEffect(()=>{setTimeout(()=>{Y(!0)},a?9500:4500),setTimeout(()=>{K(!0)},a?9e3:4e3),setTimeout(()=>{Z(!0)},a?10500:5500),setTimeout(()=>{te(!0)},a?15e3:1e4)},[a]);const se=T&&z,x=N.getLocalizedStrings().spendManagement.chargeCard;return t.jsx(vt,{windowSize:s,children:t.jsxs(qe,{children:[t.jsx(de,{navBarContainerStyles:{paddingTop:p[2],alignItems:"center",paddingBottom:p[2]},title:x.addToWallet.title,ignoreScrollAction:!0,showBackButton:!1,showMenuIcon:!1,transparentBackground:!0,source:"AddToWalletPage",style:{zIndex:3},titleStyle:{marginTop:p[0]}}),t.jsxs(Xe,{windowSize:s,children:[t.jsx(ft,{windowSize:s,children:x.addToWallet.heading}),t.jsx(yt,{windowSize:s,children:x.addToWallet.subheading})]}),t.jsxs(Oe,{windowSize:s,children:[s!=="small"?t.jsx(Ct,{children:t.jsxs(Qe,{windowSize:s,children:[t.jsxs(Ye,{windowSize:s,flipCard:T,scaleCard:z,children:[t.jsx(pe,{isDebitCard:a}),t.jsx(ce,{showCrossIcon:!1,isDebitCard:a})]}),Be(U,ee,se)]})}):null,t.jsxs(Ee,{windowSize:s,children:[t.jsx(Me,{children:t.jsx(Ie,{options:[{id:"apple",dataTestId:"add-to-apple-wallet",label:t.jsxs(t.Fragment,{children:[t.jsx(Je,{}),t.jsx(R,{children:d.appleWallet})]})},{id:"google",dataTestId:"add-to-google-wallet",label:t.jsxs(t.Fragment,{children:[t.jsx(_e,{}),t.jsx(R,{children:d.googleWallet})]})}],optionStyle:{padding:"12px"},thumbStyle:{paddingTop:i.sp4,paddingBottom:i.sp4},containerStyle:{border:i.sp0},selected:S,onToggle:re})}),t.jsxs(Fe,{children:[t.jsx(Pe,{isActive:S==="apple",children:t.jsx(F,{tabType:"apple"})}),t.jsx(Re,{isActive:S==="google",children:t.jsx(F,{tabType:"google"})})]}),s!=="small"?t.jsx(jt,{children:t.jsx(A,{variant:"primary",label:x.addToWallet.gotIt,onClick:e,style:{width:"fit-content"},"data-testid":W("got-it-button-web")})}):null]})]}),s==="small"?t.jsx(St,{children:t.jsx(A,{variant:"primary",label:x.addToWallet.gotIt,onClick:e,style:{width:"fit-content"},"data-testid":W("got-it-button-mobile")})}):null]})})},Fe=o.div`
|
|
41
41
|
display: flex;
|
|
42
42
|
position: relative;
|
|
43
43
|
width: 100%;
|
|
@@ -116,12 +116,12 @@ import{q as L,a8 as le,aw as ne,F as N,V as t,bA as de,c as p,j4 as pe,jn as ce,
|
|
|
116
116
|
`,Je=o(je)`
|
|
117
117
|
height: ${i.sp4};
|
|
118
118
|
width: ${i.sp4};
|
|
119
|
-
`,
|
|
119
|
+
`,qe=o.div`
|
|
120
120
|
height: 100%;
|
|
121
121
|
width: 100%;
|
|
122
122
|
display: flex;
|
|
123
123
|
flex-direction: column;
|
|
124
|
-
`,
|
|
124
|
+
`,Xe=o.div`
|
|
125
125
|
width: 100%;
|
|
126
126
|
display: flex;
|
|
127
127
|
flex-direction: column;
|
package/dist/assets/{AgingReportsPage-Bff4u7T1-DokKeN7f.js → AgingReportsPage-CmzapJ6B-B4fRPdaL.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as K,q as O,h_ as _e,V as t,h$ as De,bM as Ne,i0 as ve,bB as Oe,bA as je,y as D,aa as R,g2 as ke,F as x,o as N,aR as Pe,c as m,aL as Q,cd as Be,ce as $e,cf as Ie,al as Me,cg as Ae,b2 as ne,aB as oe,aT as re}from"./index-
|
|
1
|
+
import{d as K,q as O,h_ as _e,V as t,h$ as De,bM as Ne,i0 as ve,bB as Oe,bA as je,y as D,aa as R,g2 as ke,F as x,o as N,aR as Pe,c as m,aL as Q,cd as Be,ce as $e,cf as Ie,al as Me,cg as Ae,b2 as ne,aB as oe,aT as re}from"./index-qaSB49F0.js";import{a as f}from"./sentry-D4D7HRQR.js";import{n as y}from"./mui-Fyk6sRCR.js";import{bh as T,FW as Ye}from"./zeni-epic-state-I555vKHy.js";import{n as M}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{L as ze,k as Le}from"./ArAgingChart-BJ8nRdT6-PCsSRezt.js";import{C as ie}from"./NoDataChart-DoN6Mneo-tV8Dt3om.js";import{I as se,R as $}from"./CollapsableReportTable-BS7TgK8B-Ck1A0h-X.js";import{d as le}from"./NoDataTable-BMDDs83M-Dpk0AfuR.js";import{l as ce}from"./mapSpacerToTreeNode-D7hBnjRr-B3iPFPg7.js";import{l as Ee}from"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";import"./liveblocks-BmXYR5uO.js";import"./core-D7_k1EhP.js";import"./recharts-j_eh1fXg.js";import"./lottie--pGIoexZ.js";import"./analytics-CO_4s2X8.js";import"./lexical-CGMN4tXG.js";import"./utils-BTQ24URD.js";import"./chartTypes-wLUiIPlP-CGvYnBXb.js";import"./AccountRow-B16HgkVQ-dG_dWaCL.js";import"./graphic-no-data-l-DU4J8fDt-DnBDJsPD.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="398854a3-d1b4-4250-b920-73ce98c353c6",e._sentryDebugIdIdentifier="sentry-dbid-398854a3-d1b4-4250-b920-73ce98c353c6")}catch{}})();const Re={chartHeight:new D(288,360)},de=y.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
`,ge=y.div`
|
|
4
4
|
display: flex;
|
|
@@ -16,7 +16,7 @@ import{d as K,q as O,h_ as _e,V as t,h$ as De,bM as Ne,i0 as ve,bB as Oe,bA as j
|
|
|
16
16
|
`,he=y.div`
|
|
17
17
|
width: 100%;
|
|
18
18
|
height: calc(100vh - ${N.sp11});
|
|
19
|
-
`;function We({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){return e.reportId==="accounts_payable_aging"?t.jsx(Je,{report:e,onSortOrderChange:a,onEntityNameClick:o}):t.jsx(Ve,{report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i})}function Je({report:e,onSortOrderChange:a,onEntityNameClick:o}){const[i,s]=f.useState(void 0),[n,c]=f.useState(void 0),l=O(),r=K(),u=!(l==="small"||l==="medium-compact"),p=f.useCallback((d,g)=>{a(d,g)},[a]);return f.useEffect(()=>{const d={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.apAgingUIState.sortKey,sortOrder:e.apAgingUIState.sortOrder,onSortOrderChanged:p,onEntityNameClick:o}};if(n==null||!oe(i,e)){const g=Ge(e,d,u);s(e),c(g)}else{const g=ue(n,d,e,u);c(g)}},[e,p]),e.agingBalances.length===0?t.jsx(A,{windowSize:l,children:t.jsx(le,{})}):n!=null?t.jsx(A,{windowSize:l,children:t.jsx(he,{numOfRows:e.agingBalances.length,children:t.jsx(se,{backgroundColor:new re(r.colors.grey4),rootNodes:n,type:"name+balances_actual",isSticky:{isStickyHeader:u,isStickyName:u},treeNodePadding:{left:v.contentPaddingLeft.value(l),right:v.contentPaddingRight.value(l)},nodeOpenStatus:{},compareMode:"compare_mode_amount"})})}):null}function Ve({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){const[s,n]=f.useState(void 0),[c,l]=f.useState(void 0),r=O(),u=K(),p=!(r==="small"||r==="medium-compact"),d=f.useCallback((g,
|
|
19
|
+
`;function We({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){return e.reportId==="accounts_payable_aging"?t.jsx(Je,{report:e,onSortOrderChange:a,onEntityNameClick:o}):t.jsx(Ve,{report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i})}function Je({report:e,onSortOrderChange:a,onEntityNameClick:o}){const[i,s]=f.useState(void 0),[n,c]=f.useState(void 0),l=O(),r=K(),u=!(l==="small"||l==="medium-compact"),p=f.useCallback((d,g)=>{a(d,g)},[a]);return f.useEffect(()=>{const d={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.apAgingUIState.sortKey,sortOrder:e.apAgingUIState.sortOrder,onSortOrderChanged:p,onEntityNameClick:o}};if(n==null||!oe(i,e)){const g=Ge(e,d,u);s(e),c(g)}else{const g=ue(n,d,e,u);c(g)}},[e,p]),e.agingBalances.length===0?t.jsx(A,{windowSize:l,children:t.jsx(le,{})}):n!=null?t.jsx(A,{windowSize:l,children:t.jsx(he,{numOfRows:e.agingBalances.length,children:t.jsx(se,{backgroundColor:new re(r.colors.grey4),rootNodes:n,type:"name+balances_actual",isSticky:{isStickyHeader:u,isStickyName:u},treeNodePadding:{left:v.contentPaddingLeft.value(l),right:v.contentPaddingRight.value(l)},nodeOpenStatus:{},compareMode:"compare_mode_amount"})})}):null}function Ve({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){const[s,n]=f.useState(void 0),[c,l]=f.useState(void 0),r=O(),u=K(),p=!(r==="small"||r==="medium-compact"),d=f.useCallback((g,S)=>{a(g,S)},[a]);return f.useEffect(()=>{const g={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.arAgingUIState.sortKey,sortOrder:e.arAgingUIState.sortOrder,onSortOrderChanged:d,onEntityNameClick:o}};if(c==null||!oe(s,e)){const S=He(e,g,p);n(e),l(S)}else{const S=ue(c,g,e,p);l(S)}},[e,d]),e.agingBalances.length===0?t.jsx(A,{windowSize:r,children:t.jsx(le,{})}):c!=null?t.jsx(A,{windowSize:r,children:t.jsx(he,{numOfRows:e.agingBalances.length,children:t.jsx(se,{backgroundColor:new re(u.colors.grey4),rootNodes:c,type:"name+balances_actual",isSticky:{isStickyHeader:p,isStickyName:p},treeNodePadding:{left:v.contentPaddingLeft.value(r),right:v.contentPaddingRight.value(r)},nodeOpenStatus:e.arAgingUIState.nodeCollapseState,onNodeCollapseToggled:i,compareMode:"compare_mode_amount"})})}):null}const Ze={summaryColumnGap:new D(m[2],m[1],m[1],m[2],m[6])},Qe=y.div`
|
|
20
20
|
display: flex;
|
|
21
21
|
width: 100%;
|
|
22
22
|
justify-content: space-between;
|
|
@@ -34,7 +34,7 @@ import{d as K,q as O,h_ as _e,V as t,h$ as De,bM as Ne,i0 as ve,bB as Oe,bA as j
|
|
|
34
34
|
width: fit-content;
|
|
35
35
|
`,te=y(Ae)`
|
|
36
36
|
color: ${e=>e.theme.colors.primary};
|
|
37
|
-
`;function Xe({totalBalances:e,reportId:a}){const o=f.useMemo(()=>Ee(e),[e]),i=O();return t.jsxs(Qe,{windowSize:i,children:[e.map(s=>{const{period:n}=s;return t.jsxs(X,{children:[t.jsx(ee,{children:x.getLocalizedStrings().reports.aging.duration[n]}),t.jsx(te,{children:Q("0,0",s?.balance)})]},n)}),t.jsxs(X,{children:[t.jsx(ee,{children:a==="accounts_payable_aging"?x.getLocalizedStrings().reports.aging.apAging.totalPayable:x.getLocalizedStrings().reports.aging.arAging.totalReceivable}),t.jsx(te,{children:Q("0,0",o?.balance)})]})]})}const q={wrapperPadding:new D(m[3],m[3],m[8]),navbarMarginBottom:new D(m[7],m[4])},{download:F,dateFormat:_,reports:{common:et,aging:B}}=x.getLocalizedStrings();function Bt(e){const a=K(),[o,i]=f.useState(!1),s=O(),{report:n,uiState:c,downloadParams:l,analytics:r,onSelectedDateChanged:u,onBackClick:p,onSearchTextChange:d,onReloadReport:g,onSortOrderChange:
|
|
37
|
+
`;function Xe({totalBalances:e,reportId:a}){const o=f.useMemo(()=>Ee(e),[e]),i=O();return t.jsxs(Qe,{windowSize:i,children:[e.map(s=>{const{period:n}=s;return t.jsxs(X,{children:[t.jsx(ee,{children:x.getLocalizedStrings().reports.aging.duration[n]}),t.jsx(te,{children:Q("0,0",s?.balance)})]},n)}),t.jsxs(X,{children:[t.jsx(ee,{children:a==="accounts_payable_aging"?x.getLocalizedStrings().reports.aging.apAging.totalPayable:x.getLocalizedStrings().reports.aging.arAging.totalReceivable}),t.jsx(te,{children:Q("0,0",o?.balance)})]})]})}const q={wrapperPadding:new D(m[3],m[3],m[8]),navbarMarginBottom:new D(m[7],m[4])},{download:F,dateFormat:_,reports:{common:et,aging:B}}=x.getLocalizedStrings();function Bt(e){const a=K(),[o,i]=f.useState(!1),s=O(),{report:n,uiState:c,downloadParams:l,analytics:r,onSelectedDateChanged:u,onBackClick:p,onSearchTextChange:d,onReloadReport:g,onSortOrderChange:S,onEntityNameClick:fe,updateDownloadStateHandler:Y,onNodeCollapseToggled:ye}=e,{fetchState:j,reportTitle:we,reportId:w}=n,{searchString:k,downloadState:I,sortKey:z,sortOrder:L,selectedDate:b,agingDateSelectionType:G}=c,{authParams:H,downloadEndPoint:W,timezone:J}=l,V=f.useCallback((h,C)=>{const P=ae(C);u(h,P),r.trackAgingReportDateChange(M(w),b!=null?b.format(_.analytics.YYYYDashMMDashDDFormat):T().format(_.analytics.YYYYDashMMDashDDFormat),h.format(_.analytics.YYYYDashMMDashDDFormat),P)},[r,u,w,b]),Z=f.useCallback(h=>{const C=_e({options:B.preComputedDurationOptions.map(({label:E,value:Ce})=>({label:E,value:Ye(Ce)})).filter(({value:E})=>E!=null),selectedDate:h}),P=ae(C);u(h,P),r.trackAgingReportDateChange(M(w),b!=null?b.format(_.analytics.YYYYDashMMDashDDFormat):T().format(_.analytics.YYYYDashMMDashDDFormat),h.format(_.analytics.YYYYDashMMDashDDFormat),P)},[r,u,w,b]),xe=f.useCallback((h,C)=>{S(h,C),r.trackAgingReportSortChange(M(w),C,h)},[r,S,w]),be=f.useCallback(()=>t.jsx(De,{maxDate:T(),selectedDate:{date:b},precomputedOptionsProperties:{preComputedOptionSelected:ct(G),preComputedOptionDateFormat:_.visual.MMMDCommaYYYYformat,preComputedOptions:B.preComputedDurationOptions,onPreComputedOptionSelected:V},onSelectedDateChanged:Z}),[b,V,Z,G]);if(f.useEffect(()=>{async function h(){const C={companyName:l.companyName,searchString:k,sortKey:z,sortOrder:L,statementFileType:"excel",timezone:J,reportId:w==="accounts_receivable_aging"?"accounts_receivable_aging":"accounts_payable_aging",reportDate:b};await tt(W,H,C),Y("Completed"),r.trackAgingReportDownloadClick(M(w),z,L)}o&&I!=="In-Progress"&&(i(!1),Y("In-Progress"),h())},[H,W,l.companyName,I,o,w,k,z,L,Y,b,r,J]),j==="Error")return t.jsxs(nt,{children:[t.jsx(ot,{onClick:g,children:t.jsx(Ne,{})}),t.jsx(rt,{children:et.failed})]});const Se=t.jsxs(t.Fragment,{children:[t.jsx(ve,{isSearchOpen:(k?.length??0)>0,searchPlaceHolder:w==="accounts_payable_aging"?B.apAging.searchPlaceholder:B.arAging.searchPlaceholder,searchText:k??"",onSearchTextChanged:h=>{d(h)},downloadPresent:!0}),t.jsx(Oe,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:I==="In-Progress"}],onDownloadClick:async h=>{if(h==="excel")if(I==="In-Progress"){console.log("Download is already in progress!");return}else i(!0)}}}})]});return t.jsxs(it,{children:[t.jsx(je,{title:we,subTitle:be(),backgroundColor:a.colors.grey5,onBackClick:p,rightSideComponent:Se,downloadPresent:!0,style:{marginBottom:q.navbarMarginBottom.valuePx(s)},source:"AgingReportsPage"}),t.jsx(R,{controller:j==="In-Progress"||j==="Not-Started",children:t.jsx(ke,{fetchState:j})}),t.jsxs(R,{controller:j==="Completed",children:[t.jsx(R,{controller:k.length===0,children:t.jsxs(lt,{windowSize:s,children:[t.jsx(st,{children:t.jsx(Xe,{reportId:w==="accounts_payable_aging"?"accounts_payable_aging":"accounts_receivable_aging",totalBalances:n.totalBalances})}),t.jsx(Te,{report:n})]})}),t.jsx(We,{report:n,onSortOrderChange:xe,onEntityNameClick:fe,onNodeCollapseToggled:ye})]})]})}async function tt(e,a,o){const i=`${e}?query=${encodeURIComponent(JSON.stringify(at(o)))}`,s=B.arAging;try{const n=await Be({urlEndPoint:i,authParams:a,fileType:"excel"});if(n.ok){const c=$e(n.headers,F.defaultFileName),l=await n.arrayBuffer();Ie(l,c)}else console.error(`${F.errorMessages.fileDownloadError.replace("__feature__",s.arAging)} ${n.statusText}`)}catch(n){console.error(`${F.errorMessages.fileDownloadError.replace("__feature__",s.arAging)} ${JSON.stringify(n)}`)}}function at(e){return{statement_file_type:e.statementFileType,search_string:e.searchString,report_id:e.reportId,company_name:e.companyName,locale_id:x.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,report_date:e.reportDate,timezone:e.timezone}}const nt=y.div`
|
|
38
38
|
display: flex;
|
|
39
39
|
width: 100%;
|
|
40
40
|
height: calc(100% - 60px);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{cP as Q,eg as Ie,q as _,V as l,aN as P,y as O,o as i,b8 as re,F as Z,n as ie,al as ne,cX as Pe,cg as Ce,c as L,bR as Se,aH as te,cy as Y,gN as de,fV as R,fS as J,fT as K,fU as ce,fW as pe,a_ as me,gO as Te,p as ue,cW as ge,am as he,eo as Oe,ad as Re}from"./index-
|
|
1
|
+
import{cP as Q,eg as Ie,q as _,V as l,aN as P,y as O,o as i,b8 as re,F as Z,n as ie,al as ne,cX as Pe,cg as Ce,c as L,bR as Se,aH as te,cy as Y,gN as de,fV as R,fS as J,fT as K,fU as ce,fW as pe,a_ as me,gO as Te,p as ue,cW as ge,am as he,eo as Oe,ad as Re}from"./index-qaSB49F0.js";import{n as p}from"./mui-Fyk6sRCR.js";import{FB as ze,bg as X}from"./zeni-epic-state-I555vKHy.js";import{a as E}from"./sentry-D4D7HRQR.js";import{Y as xe}from"./LabeledUserSingleSelectWithSubtitlesField-D2PQRKp0-CAFuEck_.js";import{j as fe,C as be}from"./LabeledZeniRolesDropDownField-C2WL6H1u-BXDtctub.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="fcecf182-6fb2-433c-abec-514d751521f0",e._sentryDebugIdIdentifier="sentry-dbid-fcecf182-6fb2-433c-abec-514d751521f0")}catch{}})();const M=(e,t)=>`${e}.${t}`,se={largeLabelWidth:new O(120,120,160),toolTipWidth:new O(215,237)},g=Z.getLocalizedStrings().peoplePage,De=({user:e,sectionId:t,mode:o,managersList:a,classList:s,controllersList:h,customerRoleOptions:w,isBankingOnlyTenant:m,isCardsOnlyTenant:b,isEdit:U,person:x,analytics:v})=>{const y=_(),C=se.largeLabelWidth.value(y),{setValue:S}=Q(),D=te(h),$=D.splice(0,1),N=D.reduce((r,n)=>r.concat(`${n.email},`),""),B=E.useMemo(()=>te(Y.roles),[]),u=X(e.role);return E.useEffect(()=>{(u||m||b)&&S("userItems.0.department",{allOptions:[],selectedOption:void 0}),u&&S("userItems.0.manager",{allUsers:[],selectedUser:void 0})},[u,m,b]),l.jsxs(Le,{windowSize:y,"data-testid":P("edit-people-user-item-section"),children:[l.jsx(de,{label:g.invitePage.email,name:M(t,"email"),registerOptions:{required:!0,value:e.email,disabled:!0},placeholder:R(g.addPlaceholderPrefix,g.invitePage.email),style:{paddingTop:i.sp2,paddingBottom:i.sp2}}),l.jsx(G,{}),o==="off"?l.jsxs(l.Fragment,{children:[l.jsx(fe,{label:{label:g.invitePage.role,width:C},style:{width:"auto"},rolesDropDownField:{name:M(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(e.role),allRootRole:K(m,b)},productsByUserRole:J(e.role,w)},registerOptions:{required:!0}}}),l.jsx(G,{}),l.jsx(xe,{label:{label:g.invitePage.manager,width:C},showTooltip:!0,toolTipWidth:se.toolTipWidth.valuePx(y),tooltipTitle:l.jsx(ke,{}),userSingleSelectWithSubTitlesField:{name:M(t,"manager"),value:{allUsers:a,selectedUser:e?.managerId?e?.managerId:"no_manager"},valueToSubtitle:r=>{const n=a.findIndex(d=>d.userId===r);if(n!==-1){const d=a[n],j=s.find(k=>k.classId===d.userRole.accountingClassIDs[0]),I=[];return j!=null&&I.push(j.className),I}else return[]},placeholderLabel:u?g.notApplicable:R(g.selectPlaceholderPrefix,g.invitePage.manager),registerOptions:{required:!u},showOneOffLabel:{label:"No Manager",value:"no_manager",position:"top",subtitles:[]},isDisabled:u?"disabled":void 0,isOptionDisabled:r=>r===x?.user?.userId},style:{width:"auto"},isDisabled:u?"disabled":void 0,opacity:u?.32:1}),l.jsx(G,{}),l.jsx(pe,{label:{label:g.invitePage.department,width:C},singleSelectWithoutClearableField:{name:M(t,"department"),defaultValue:{allOptions:s.map(r=>({label:r.fullyQualifiedAccountingClassName??"",value:r.classId,hoverText:r.accountingClassNumber})),selectedOption:s.map(r=>({label:r.fullyQualifiedAccountingClassName??"",value:r.classId,hoverText:r.accountingClassNumber})).find(r=>r.value===e.departmentId)},placeholder:u||m||b?g.notApplicable:R(g.selectPlaceholderPrefix,g.invitePage.department),registerOptions:{required:!u||!(m||b)},isDisabled:u||m||b?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:u||m||b?"disabled":void 0,opacity:u||m||b?.32:1}),U?null:l.jsxs(Ue,{windowSize:y,children:[g.invitePage.controllerText,$[0]?l.jsxs(Ne,{href:`mailto:${$[0].email}?cc=${N}&subject=${encodeURIComponent(g.invitePage.emailSubject)}`,children:[l.jsx("span",{children:`${$[0].firstName} ${$[0].lastName}`}),l.jsx(me,{className:"arrowIcon"})]}):null]})]}):l.jsx(be,{label:{label:g.invitePage.role,width:C},zeniRolesDropDownField:{name:M(t,"role"),defaultValue:{selectedOptions:e.role,allOptions:B},registerOptions:{required:!0},placeholderLabel:R(g.selectPlaceholderPrefix,g.invitePage.role),isMulti:!0,forZeniUser:!0,onSelectionChanged:r=>{x!=null&&v?.trackRoleChanged(x.userRole.userRoles,r[0],x?.userRole.userEmail)}},style:{width:"auto"}})]})},ke=()=>Z.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,Le=p.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as O,q as B,F as g,V as o,bM as H,g2 as q,bA as K,ck as U,o as T,aR as J,bB as V,y as A,cd as W,ce as G,cf as Z,c as u}from"./index-
|
|
1
|
+
import{d as O,q as B,F as g,V as o,bM as H,g2 as q,bA as K,ck as U,o as T,aR as J,bB as V,y as A,cd as W,ce as G,cf as Z,c as u}from"./index-qaSB49F0.js";import{a as _}from"./sentry-D4D7HRQR.js";import{n as i}from"./mui-Fyk6sRCR.js";import{W as Q,L as X}from"./EntitySummarySection-Bs0NywbK-BzG0U_qN.js";import"./liveblocks-BmXYR5uO.js";import"./core-D7_k1EhP.js";import"./recharts-j_eh1fXg.js";import"./zeni-epic-state-I555vKHy.js";import"./lottie--pGIoexZ.js";import"./analytics-CO_4s2X8.js";import"./lexical-CGMN4tXG.js";import"./utils-BTQ24URD.js";import"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="8eac2bca-b950-4e9b-9999-9dfa5a47a193",e._sentryDebugIdIdentifier="sentry-dbid-8eac2bca-b950-4e9b-9999-9dfa5a47a193")}catch{}})();const S={wrapperContainerMarginTop:new A(u[4],u[0]),wrapperContaineHorizontalrMargin:new A(u[0],u[8])},ee=i.div`
|
|
2
2
|
height: 100%;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -38,9 +38,9 @@ import{d as O,q as B,F as g,V as o,bM as H,g2 as q,bA as K,ck as U,o as T,aR as
|
|
|
38
38
|
display: block;
|
|
39
39
|
background-color: ${e=>e.theme.colors.grey4};
|
|
40
40
|
height: calc(100vh - 178px);
|
|
41
|
-
margin-top: ${e=>
|
|
41
|
+
margin-top: ${e=>S.wrapperContainerMarginTop.valuePx(e.windowSize)};
|
|
42
42
|
`,ie=i.div`
|
|
43
|
-
margin-left: ${e=>
|
|
44
|
-
margin-right: ${e=>
|
|
43
|
+
margin-left: ${e=>S.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
|
|
44
|
+
margin-right: ${e=>S.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
|
|
45
45
|
height: 100%;
|
|
46
|
-
`;function
|
|
46
|
+
`;function _e(e){const s=O(),l=B(),h=g.getLocalizedStrings().common,p=g.getLocalizedStrings().reports.common,{apAgingDetail:r,downloadParams:a,reportDate:t,analytics:d,onReload:w,onBackClick:L,onColumnSortConfigChanged:v,updateDownloadStateHandler:x,onTransactionClick:N}=e,{authParams:C,downloadEndPoint:k,timezone:I}=a,{fetchState:m,invoices:$,apAgingDetailUIState:z,vendor:n,totalBalances:E}=r,{sortKey:D,sortOrder:b,downloadState:y}=z,[j,P]=_.useState(!1),M=g.getLocalizedStrings(),F=M.reports.aging.agingDetail,R=_.useCallback((c,f)=>{r.vendor!=null&&d.trackApAgingDetailReportSortChange(c,f,t.format(M.dateFormat.analytics.YYYYDashMMDashDDFormat),r.vendor.id,r.vendor.name),v(c,f)},[d,r.vendor,t,v]);if(_.useEffect(()=>{async function c(){const f={companyName:a.companyName,sortKey:D,sortOrder:b,statementFileType:"excel",reportId:"accounts_payable_aging",entityId:n?.id??"",timezone:I,reportDate:t};await se(k,C,f),x("Completed"),r.vendor!=null&&d.trackApAgingDetailReportDownload(D,b,t.format(g.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat),r.vendor.id,r.vendor.name)}j&&y!=="In-Progress"&&(P(!1),x("In-Progress"),c())},[d,r.vendor,C,k,a.companyName,y,j,t,D,b,I,x,n?.id]),m==="Error")return o.jsxs(oe,{children:[o.jsx(te,{onClick:w,children:o.jsx(H,{})}),o.jsx(re,{children:p.failed})]});if(m==="In-Progress"||m==="Not-Started")return o.jsx(q,{fetchState:m});const Y=o.jsx(V,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:y==="In-Progress"}],onDownloadClick:async c=>{if(c==="excel")if(y==="In-Progress"){console.log("Download is already in progress!");return}else P(!0)}}}});return o.jsxs(ae,{children:[o.jsx(K,{title:h.strings.empty,backgroundColor:s.colors.grey5,onBackClick:L,rightSideComponent:Y,source:"ApAgingDetailPage"}),o.jsx(Q,{totalBalances:E,entityName:n?.name??"",entityLogo:n?.logo,reportId:"accounts_payable_aging",reportDate:t}),o.jsx(ne,{windowSize:l,children:o.jsx(ie,{windowSize:l,children:$.length===0||n==null?o.jsx(U,{message:F.noDataText}):o.jsx(ee,{windowSize:l,children:o.jsx(X,{uiState:z,invoices:$,entityName:n.name,entityLogo:n.logo,onColumnSortConfigChanged:R,onTransactionClick:N})})})})]})}async function se(e,s,l){const h=`${e}?query=${encodeURIComponent(JSON.stringify(le(l)))}`,p=g.getLocalizedStrings(),r=p.reports.aging.apAging.apAging,a=p.download;try{const t=await W({urlEndPoint:h,authParams:s,fileType:"excel"});if(t.ok){const d=G(t.headers,a.defaultFileName),w=await t.arrayBuffer();Z(w,d)}else console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",r)} ${t.statusText}`)}catch(t){console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",r)} ${JSON.stringify(t)}`)}}function le(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:g.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}export{_e as default,le as toDownloadAgingDetailedReportOptionsPayload};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,q as m,L as x,o as r,y as d,p as a,aR as g,F as u,bo as $,cU as b,dJ as f,cT as w}from"./index-
|
|
1
|
+
import{V as t,q as m,L as x,o as r,y as d,p as a,aR as g,F as u,bo as $,cU as b,dJ as f,cT as w}from"./index-qaSB49F0.js";import{n as i,k as y}from"./mui-Fyk6sRCR.js";import{a as j}from"./sentry-D4D7HRQR.js";import"./liveblocks-BmXYR5uO.js";import"./core-D7_k1EhP.js";import"./recharts-j_eh1fXg.js";import"./zeni-epic-state-I555vKHy.js";import"./lottie--pGIoexZ.js";import"./analytics-CO_4s2X8.js";import"./lexical-CGMN4tXG.js";import"./utils-BTQ24URD.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]="c8b24b29-5205-4a32-b5e7-5210bac75713",e._sentryDebugIdIdentifier="sentry-dbid-c8b24b29-5205-4a32-b5e7-5210bac75713")}catch{}})();const l={maxWidth:new d(280,322),contentMaxWidth:new d(200,250)},k=y`
|
|
2
2
|
0% {
|
|
3
3
|
transform: translateX(100%)
|
|
4
4
|
}
|