@zeniai/web-app-ui 4.14.36-dev → 4.14.36-next
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-fOu5grd7-Cs2K4DRV.js → ACHDetailsPage-fOu5grd7-C7pw3Qei.js} +1 -1
- package/dist/assets/{AIPerformancePage-Da3gFo8A-CVIvereU.js → AIPerformancePage-Da3gFo8A-C0hXrRck.js} +1 -1
- package/dist/assets/{AccountInfoPage-o7hTXtgZ-Dc6Hg6aE.js → AccountInfoPage-o7hTXtgZ-CI5vmQ8P.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-DqErO8FH-XBjSorHo.js → AccountInfoPageContent-DqErO8FH-DcRbBfvK.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-BJjCuLHa-Uk-DVT8_.js → AccountLockedInfoModal-BJjCuLHa-Dcqy6dGS.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-CVjH1p0d-qMdLytVA.js → AccountReconDetailsDrawerPage-CVjH1p0d-CYH-LEVG.js} +1 -1
- package/dist/assets/{AccountRow-CpftykFx-DRMa7L7I.js → AccountRow-CpftykFx-uD-f3g0V.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-D7xvgmOH-L4LUQiMM.js → AccountsPromoCardStack-D7xvgmOH-BEn6fDEy.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-vecchYEf-Dm_7GZaw.js → AddAddressForCardDrawer-vecchYEf-CV9NX_v9.js} +1 -1
- package/dist/assets/{AddToWalletPage-zJy9QCjx-BhPNLvBn.js → AddToWalletPage-zJy9QCjx-CN4Gc2l7.js} +1 -1
- package/dist/assets/{AddressRoutes-CN9yzNia.js → AddressRoutes-DQolOeHT.js} +1 -1
- package/dist/assets/{AddressScreen-DawlCEed.js → AddressScreen-Sz_h2Ufw.js} +1 -1
- package/dist/assets/{AgingReportsPage-wAvQb1d8-BNi2RWcU.js → AgingReportsPage-wAvQb1d8-CgWnsA_F.js} +1 -1
- package/dist/assets/{AiCfoScreen-gLF8Y46q.js → AiCfoScreen-ChmPOKZy.js} +1 -1
- package/dist/assets/{AllUserItems-DEv_CXOA-BczB69YE.js → AllUserItems-DEv_CXOA-hgSViaKc.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-BOV1WFVF-DjxtNuTC.js → ApAgingDetailPage-BOV1WFVF-DPpUGWPI.js} +1 -1
- package/dist/assets/{AppBasePage-DMlomvFS-DAPyVzw3.js → AppBasePage-DMlomvFS-x3AC7Ikc.js} +1 -1
- package/dist/assets/{AppDrawerContent-Dc2sHnR3-DkcYif08.js → AppDrawerContent-Dc2sHnR3-KKwV4T9e.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-BnbPSy4U-BkoyF3U2.js → ApprovalRulesSettingsPage-BnbPSy4U-D9f68i3U.js} +1 -1
- package/dist/assets/{ArAgingChart-m-Xp3HAW-2E3yf3w6.js → ArAgingChart-m-Xp3HAW-D2W8RYii.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-b_NpDpWj-D8K0oGBL.js → ArAgingDetailPage-b_NpDpWj-CYvO08T-.js} +1 -1
- package/dist/assets/{AttachmentView-DB_V1qT1-YRFnSBmh.js → AttachmentView-DB_V1qT1-ynsldz9P.js} +1 -1
- package/dist/assets/{BankAccountSection-BabhrBM7-BRSx6sCU.js → BankAccountSection-BabhrBM7-tNERGuyU.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-yT2UAd12-hc4ZMuSF.js → BankAccountWarningSection-yT2UAd12-B_s6Cv5O.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-CbxXykMM-BcHLkw6J.js → BankConnectionsSettingsPage-CbxXykMM--uRUu7H7.js} +1 -1
- package/dist/assets/{BillDetailPage-7TMkWo3V-D6W3VN4G.js → BillDetailPage-7TMkWo3V-BkEALTcS.js} +1 -1
- package/dist/assets/{BillPayApprovalRoutes-DPHRxesZ.js → BillPayApprovalRoutes-DuHAqKTx.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-COyDRpaF-CLsNCUw0.js → BillPayApprovalRuleDetailPage-COyDRpaF-CfqZ8tC3.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-9pxkgFAT-DlJyrfvK.js → BillPayApprovalRulesPage-9pxkgFAT-Do1nsgI9.js} +1 -1
- package/dist/assets/{BillPayPromoPage-AGffhbY3-DpLl9nyC.js → BillPayPromoPage-AGffhbY3-BRx4Bi83.js} +1 -1
- package/dist/assets/{BillPayRoutes-JOylN2BD.js → BillPayRoutes-DoxfX2T6.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-Cs5rkWBu-BP5ujh9A.js → BillPaySetUpPage-Cs5rkWBu-BhJ7KaHp.js} +1 -1
- package/dist/assets/{BillingSettingsPage-CQ117tT9-TA2HK-aX.js → BillingSettingsPage-CQ117tT9-B8U9v3YD.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-DRkGQQAe-DNA3NRzL.js → BillsBulkReviewDrawerPage-DRkGQQAe-Bi0Uk8xW.js} +1 -1
- package/dist/assets/{BoxItem-DRwx0M5a-D-Rn9DzO.js → BoxItem-DRwx0M5a-Dnn7OtZ6.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-1h0z3N9u-XjZx6gHS.js → BusinessVerificationPage-1h0z3N9u-BHySFpyz.js} +1 -1
- package/dist/assets/{BusinessVerificationPageScreen-sFaQye-W.js → BusinessVerificationPageScreen-BdThFZ9q.js} +1 -1
- package/dist/assets/{BusyIndication-DizZe0Gu-Ui3yaqtY.js → BusyIndication-DizZe0Gu-LbAFsXLH.js} +1 -1
- package/dist/assets/{CardNumberSubText-DqtLT1w5-Bzgrrztr.js → CardNumberSubText-DqtLT1w5-B-of7dU2.js} +1 -1
- package/dist/assets/{CashbackDetailPage-ChdQcvkC-m-ebT8pi.js → CashbackDetailPage-ChdQcvkC-HPdNc4Y_.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-DFOKlPNG-DQYHVV4_.js → ChargeCardDetailPage-DFOKlPNG-Bq3JFtZ0.js} +1 -1
- package/dist/assets/{ChargeCardListPage-DhLUsUhd-CoIm3KwH.js → ChargeCardListPage-DhLUsUhd-BezWrrpD.js} +1 -1
- package/dist/assets/{ChargeCardListTable-DE72YU_i-DgEVI1AC.js → ChargeCardListTable-DE72YU_i-CVOGLWmK.js} +1 -1
- package/dist/assets/{ChargeCardPaymentHistoryPage-CbGR18s--Df_3JGQc.js → ChargeCardPaymentHistoryPage-CbGR18s--B7rNakYK.js} +1 -1
- package/dist/assets/{ChargeCardPromoPage-CPpNh89o-52aj5A04.js → ChargeCardPromoPage-CPpNh89o-CFvrdct7.js} +1 -1
- package/dist/assets/{ChargeCardRoutes-V_6E2iyX.js → ChargeCardRoutes-C01rd9YM.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-ITi25kUD-D__xDb9M.js → ChargeCardSetupPage-ITi25kUD-4I5XPlxg.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-CTJc1BCc-CZlTL24v.js → ChargeCardStatementsPage-CTJc1BCc-COSIU9xw.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-BrzeSj-3-mEHRp2-B.js → CheckDepositDrawerPage-BrzeSj-3-C4sH9hpp.js} +1 -1
- package/dist/assets/{CollapsableReportTable-CDEe9s_E-B6-yHAq0.js → CollapsableReportTable-CDEe9s_E-CWbosJ7t.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-BaPhFsLx-B_RPGIU9.js → CompanyOfficerDetailsSection-BaPhFsLx-Dk4NXxuC.js} +1 -1
- package/dist/assets/{CompanyPassportCard-B9ymV6Az-jkfRIvZo.js → CompanyPassportCard-B9ymV6Az-FYtT8w0z.js} +1 -1
- package/dist/assets/{CompanyPassportPage-BQ68t7oK-IkltRNSS.js → CompanyPassportPage-BQ68t7oK-DIpqE1Jo.js} +1 -1
- package/dist/assets/{CompanyPassportScreen-dLVakYjm.js → CompanyPassportScreen-CKvA-EmO.js} +1 -1
- package/dist/assets/{CompleteProfile-C5n9b8gQ-CNOkIDDD.js → CompleteProfile-C5n9b8gQ-puTHwoa4.js} +1 -1
- package/dist/assets/{ConfettiBurst-BizTW0hz-BB_7e0py.js → ConfettiBurst-BizTW0hz-ibKLuPEv.js} +1 -1
- package/dist/assets/{ConnectionAuthScreen-BOPjadvo.js → ConnectionAuthScreen-BaKBr2zg.js} +1 -1
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-Cxh5xHax.js → ConstrainedInnerElement-BeIpAPjB-s3-3Z-gA.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-BIfOA5Nr-AtyF4p8I.js → CreateOrEditVendorPage-BIfOA5Nr-C94kLwSo.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-CCpS-31h-B6o-4EgY.js → CreditCardPaymentDrawerPage-CCpS-31h-BkmEdayg.js} +1 -1
- package/dist/assets/{CurrencySelectField-KvKyemY6-rYSOJjSm.js → CurrencySelectField-KvKyemY6-BCtUTOpg.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-6VlMI4oY-C5HWnW_e.js → CustomerOnboardingActivationPage-6VlMI4oY-DeMdKyDt.js} +1 -1
- package/dist/assets/CustomerOnboardingAuthScreen-BpXFr5WU.js +1 -0
- package/dist/assets/CustomerOnboardingContainerPage-CRjwWFLJ-DbpGIGU3.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BzbZb27J-C4bWipAx.js → CustomerOnboardingDetailPageSkeleton-BzbZb27J-DIp-B8Eo.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-CWF_00EM-EPt0RonD.js → CustomerOnboardingNoStepsPage-CWF_00EM-CLvcWk0H.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-DkW66A-p-BsqCLn06.js → CustomerOnboardingPage-DkW66A-p-BTo5QwFe.js} +1 -1
- package/dist/assets/{CustomerOnboardingProductSuitePage-Ba0yotpP-DIrnT1SJ.js → CustomerOnboardingProductSuitePage-Ba0yotpP-DvvqHygF.js} +1 -1
- package/dist/assets/{CustomerOnboardingRoutes-yXJnudqI.js → CustomerOnboardingRoutes-DUHs6wCe.js} +1 -1
- package/dist/assets/{Dashboard-bX3cWkmP-CJSja88C.js → Dashboard-bX3cWkmP-Cc0jEbvZ.js} +1 -1
- package/dist/assets/{DashboardReportPage-DuZ4d4CE-CEa_ZsnB.js → DashboardReportPage-DuZ4d4CE-Cd65Ddu3.js} +1 -1
- package/dist/assets/{DashboardRoutes-BcGPSKnY.js → DashboardRoutes-DgAbb01S.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-UV2CZToG-Dar8E4GV.js → DashboardSidebarBackgroundAnimation-UV2CZToG-kycl4Bed.js} +1 -1
- package/dist/assets/{DefaultTenantHome-BeZ76hjE.js → DefaultTenantHome-NOng4kPe.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-BY_OvuKg-CegBl9NF.js → DepositAccTransactionItem-BY_OvuKg-vrn3jxtY.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-a__bpCOB-3CdtwLcn.js → DepositAccTransactionListPage-a__bpCOB-gP4j_R4A.js} +1 -1
- package/dist/assets/{DomesticWireDetailScreen-D5m_2Yo0.js → DomesticWireDetailScreen-D-80T6qK.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-BumMT4QM-BqgDBN3V.js → DomesticWireDetailsPage-BumMT4QM-BXynjfhi.js} +1 -1
- package/dist/assets/{DownloadOverlay-DqiL3-FB-EoMZNE21.js → DownloadOverlay-DqiL3-FB-HBtpf6ff.js} +1 -1
- package/dist/assets/{DrawerPage-CaG-xx5d-Cp5tt9QJ.js → DrawerPage-CaG-xx5d-BH1rpbyw.js} +1 -1
- package/dist/assets/{DrawerScreen-CTG5ybiX.js → DrawerScreen-PuONww5M.js} +1 -1
- package/dist/assets/{EditPeoplePage-BcsdEp_d-D-PC_KrM.js → EditPeoplePage-BcsdEp_d-DeMMzCYr.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-DNUmwdsH-Bq2nc6vp.js → EditReimbursementDetailPage-DNUmwdsH-BqyuZrYu.js} +1 -1
- package/dist/assets/{EntityDetailPage-DtX5TjBc-BPO5XePN.js → EntityDetailPage-DtX5TjBc-BWvKOwgG.js} +1 -1
- package/dist/assets/{EntityDetailRoutes-B5R1QZWM.js → EntityDetailRoutes-C3aUb0lp.js} +1 -1
- package/dist/assets/{EntitySummarySection-LEA5m6mN-DSNa9_6d.js → EntitySummarySection-LEA5m6mN-D82QzUIE.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-Dmhn7gfp-Bq4zhd1r.js → ExpenseAutomationOverviewPage-Dmhn7gfp-5RPQ-KAY.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-B8C4BxoV-CRrIGE9L.js → ExpenseAutomationPage-B8C4BxoV-YQVNG4uz.js} +1 -1
- package/dist/assets/{ExpenseAutomationRoutes-CQ8o1Ut2.js → ExpenseAutomationRoutes-Jp2Kebgt.js} +1 -1
- package/dist/assets/{ExpressPayPage-C-nqret2-DYj2m0J-.js → ExpressPayPage-C-nqret2-DNNXwMDO.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-BHjUZ7s6-DFBfCFGy.js → FeaturePreviewPage-BHjUZ7s6-t0bIsEzl.js} +1 -1
- package/dist/assets/{FeaturePreviewScreen-7DbZ3Lx9.js → FeaturePreviewScreen-fP1RCpGB.js} +1 -1
- package/dist/assets/{FollowStepsSection-0eFMS0c5-CUs8ilzU.js → FollowStepsSection-0eFMS0c5-BlZYARd4.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-4eiopkzw-CbQC9oAb.js → GlobalReviewListPage-4eiopkzw-TKRoPg_U.js} +1 -1
- package/dist/assets/{InformationCardStack-C7XJCUlh-CelR5zDw.js → InformationCardStack-C7XJCUlh-Dwq0vYPb.js} +1 -1
- package/dist/assets/{InsightsCardStack-fBAbQwhK-DPzZunDi.js → InsightsCardStack-fBAbQwhK-CClQ8prE.js} +1 -1
- package/dist/assets/{InsightsSection-De9zu_me-DIydVhgU.js → InsightsSection-De9zu_me-B3w5uHEa.js} +1 -1
- package/dist/assets/{IntegrationsSettingsPage-BD5jqAv8-hrz650GM.js → IntegrationsSettingsPage-BD5jqAv8-eTb5yFAM.js} +1 -1
- package/dist/assets/{InternationalWireSwiftDetailsPage-BftrE612-CtP2y88l.js → InternationalWireSwiftDetailsPage-BftrE612-DsOGbUKE.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-CDf7equc-BXBU6F90.js → InternationalWireVerificationPage-CDf7equc-Bw5S4GCg.js} +1 -1
- package/dist/assets/{InviteFormPage-E2igwKEh-wVoOBHVT.js → InviteFormPage-E2igwKEh-DkTmeZKB.js} +1 -1
- package/dist/assets/{InvitePageListView-Cuq9dlgu-CIGWi2Uo.js → InvitePageListView-Cuq9dlgu-Y8JpMqvK.js} +1 -1
- package/dist/assets/{InvitePeoplePage-Db4P4ZEq-DViNv_LG.js → InvitePeoplePage-Db4P4ZEq-CepSKyhb.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-DYCjz9CI-6zrHw8Gx.js → InvoiceUploadSection-DYCjz9CI-DsqvKiVT.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-CK6fnO24-CgQfD7TJ.js → IssueChargeCardPage-CK6fnO24-DrpIpT7t.js} +1 -1
- package/dist/assets/{LabeledAddressValue-Ma1WURjK-BQ7yXCyt.js → LabeledAddressValue-Ma1WURjK-PEkR4sMS.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-C6-hVsPb-2b15Jv_o.js → LabeledAddressValueField-C6-hVsPb-DpefLTXR.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-CgZg0uOW-BjnMYuFb.js → LabeledControlledCheckBoxField-CgZg0uOW-tciXUImW.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-sj8p7Rne-bfsTKOeq.js → LabeledCountryMultiSelectField-sj8p7Rne-BvAG6B9f.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-DUTQh416-TJ_Bq1qn.js → LabeledCreatableSingleSelectField-DUTQh416-BmK87V1S.js} +1 -1
- package/dist/assets/{LabeledDocumentField-Bp9m-OrP-C4maUk83.js → LabeledDocumentField-Bp9m-OrP-BKL6LfIV.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-3-KekP79-2bA1-mcm.js → LabeledDropDownFormattedTextField-3-KekP79-BHQjQNME.js} +1 -1
- package/dist/assets/{LabeledEmailInputField-BRJyFvVd-Bs2EgRoq.js → LabeledEmailInputField-BRJyFvVd-CWyEMpTm.js} +1 -1
- package/dist/assets/{LabeledNameField--saAep-_-GEbqq-XX.js → LabeledNameField--saAep-_-DOt6Hp9d.js} +1 -1
- package/dist/assets/{LabeledSingleSelectField-Ul4tlTiO-C7eur4tW.js → LabeledSingleSelectField-Ul4tlTiO-CxC4bb_M.js} +1 -1
- package/dist/assets/{LabeledText-DvzVOku6-BIWW9LkN.js → LabeledText-DvzVOku6-BTuTGL_7.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DCv1Q5qb-D3Nd6Mp3.js → LabeledUserSingleSelectWithSubtitlesField-DCv1Q5qb-B-ShzOTy.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-kWC0ShEy-B-6CgYA7.js → LabeledZeniRolesDropDownField-kWC0ShEy-Cov_KSbw.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-WufhDGDQ-hOiRNbpI.js → LinkJETransactionPage-WufhDGDQ-DJYaTU0L.js} +1 -1
- package/dist/assets/{LockCardPage-BBIVLYVD-CWfnMAuT.js → LockCardPage-BBIVLYVD-5-idEiOd.js} +1 -1
- package/dist/assets/{LowBalancePopup-ScEqPY9J-BDVRhmW5.js → LowBalancePopup-ScEqPY9J-DaHnHp3d.js} +1 -1
- package/dist/assets/{MagicLinkACHDetailsPage-C494txw0-C9zbj8xn.js → MagicLinkACHDetailsPage-C494txw0-50tvGRCT.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-CONBCbOQ-BTU1HWRn.js → MagicLinkDomesticWireDetailsPage-CONBCbOQ-BJ0ZX254.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-fSY3JGpz-DTKuj6lk.js → MagicLinkInternationalWireDetailsPage-fSY3JGpz-BA-UJ98j.js} +1 -1
- package/dist/assets/{MagicLinkRoutes-CBkc9ANU.js → MagicLinkRoutes-CG7mBUHK.js} +1 -1
- package/dist/assets/{MagicLinkSignInScreen-DVW3BRZl.js → MagicLinkSignInScreen-DckuWYZS.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-BDRXSAO4-BPK2tnCV.js → MagicLinkSuccessPage-BDRXSAO4-CMnLHn5s.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-ZnbKPIvJ-C4BiwnoA.js → MagicLinkTitleSection-ZnbKPIvJ-ckYpUfqV.js} +1 -1
- package/dist/assets/{MailingDetailsSection-DZT7JPlI-B_BKxUqb.js → MailingDetailsSection-DZT7JPlI-LlM6fEiJ.js} +1 -1
- package/dist/assets/{MobileAppDrawer-SRxQ4nyi.js → MobileAppDrawer-sKiHtZDX.js} +1 -1
- package/dist/assets/{MoreMenuButton-CJue6xR9-DxdJkjEQ.js → MoreMenuButton-CJue6xR9-BjKpSdxL.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-aQDVaEG1-CRobqj27.js → MyBankConnectionsSettingsPage-aQDVaEG1-Cik-SXmg.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-BJrk56oA-CKxLYlt8.js → MyPendingActivationChargeCardListPage-BJrk56oA-BUd9MItV.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-L9WuP6HZ-DBau4C6u.js → MyProfileSettingsPage-L9WuP6HZ-DoU854nY.js} +1 -1
- package/dist/assets/{NavBarWithPicker-zmvBmWS1-Dq59pkcT.js → NavBarWithPicker-zmvBmWS1-Clp_nkzI.js} +1 -1
- package/dist/assets/{NavigationArrow-D26UG3p--CJBJ0QVX.js → NavigationArrow-D26UG3p--CHxAHU6k.js} +1 -1
- package/dist/assets/{NavigationDots-Bv4tBDN3-C3q3rN5Z.js → NavigationDots-Bv4tBDN3-ZVsHmMoe.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-vOn2O6B9-Dn0MDdJM.js → NewGlobalMerchantPage-vOn2O6B9-CBs7ETJS.js} +1 -1
- package/dist/assets/{NoDataChart-CgT19fV7-BHysrTfh.js → NoDataChart-CgT19fV7-BssP0tzZ.js} +1 -1
- package/dist/assets/{NoDataTable-CPjJmo4s-Cw98-IiW.js → NoDataTable-CPjJmo4s-BIZnjSxP.js} +1 -1
- package/dist/assets/{NotFoundPage-CP2i3FTm-bZ8NYti5.js → NotFoundPage-CP2i3FTm-DZwZas3U.js} +1 -1
- package/dist/assets/{NotFoundScreen-LuCzwVbP.js → NotFoundScreen-BbpMMX9s.js} +1 -1
- package/dist/assets/{NotificationRoutes-DAiqyeoY.js → NotificationRoutes-B4bfKvmi.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-CT9Dnb03-avWp6uik.js → NotificationSettingsPage-CT9Dnb03-BKVlFjQr.js} +1 -1
- package/dist/assets/{NotificationsListConfig-Bn1zmx6b-D4fKYTYM.js → NotificationsListConfig-Bn1zmx6b-7K548aOU.js} +1 -1
- package/dist/assets/{NotificationsPage-DDwdR_Jq-CoOhM2dl.js → NotificationsPage-DDwdR_Jq-BG2T279u.js} +1 -1
- package/dist/assets/{OpExByVendorPage-DukFYlqO-DRlZ9cev.js → OpExByVendorPage-DukFYlqO-CfJl78Ca.js} +1 -1
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-tcmQyJCw.js → OverlayContainerPage-D4QU0p4o-CNFeAXmN.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-Bgflh9Om-CSmTsNHv.js → PandLWithForecastPage-Bgflh9Om-DZ3_yxwP.js} +1 -1
- package/dist/assets/{PandLWithForecastRoutes-C-17dXbC.js → PandLWithForecastRoutes-B4PiCC38.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-JPO-rPAd-BENOl58h.js → PaymentAccountSetupBillingAddressSection-JPO-rPAd-B-z2Hz_U.js} +1 -1
- package/dist/assets/{PeoplePage-CDvKreQl-BHMfiaC4.js → PeoplePage-CDvKreQl-DarD0EGZ.js} +1 -1
- package/dist/assets/{PeopleRoutes-DkWBrchL.js → PeopleRoutes-Bji1PDT3.js} +1 -1
- package/dist/assets/{PerformanceRoutes-BfVGXw_c.js → PerformanceRoutes-C2QScidi.js} +1 -1
- package/dist/assets/{Preview-B59RrC-D.js → Preview-D4dux0eF.js} +1 -1
- package/dist/assets/{ProductsCarousel-7R3cvGiS-DzOMZ0OK.js → ProductsCarousel-7R3cvGiS-D8P3xUrh.js} +1 -1
- package/dist/assets/{PromoBaseCards-DdCMZIc7-B4qYL3sb.js → PromoBaseCards-DdCMZIc7-DBhgxdTj.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-Ca36jKz2-CdHpLyZs.js → QBOConnectionDialog-Ca36jKz2-DpeJsMkG.js} +1 -1
- package/dist/assets/{QBOConnectionScreen-CJqEVXmb.js → QBOConnectionScreen-BBQqRB2z.js} +1 -1
- package/dist/assets/{QBOSetupSection-CzBfIVqR-DDJCICP1.js → QBOSetupSection-CzBfIVqR-D48AIQ6b.js} +1 -1
- package/dist/assets/{ReferralListScreen--Li0yAbv.js → ReferralListScreen-SWZzL8_L.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRoutes-By0X6th0.js → ReimbursementApprovalRoutes-CDcbSeCq.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-DUVSGQJ6-BLIwxZQV.js → ReimbursementApprovalRuleDetailPage-DUVSGQJ6-CiKrn3L-.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailScreen-BTqwtaaL.js → ReimbursementApprovalRuleDetailScreen-C6QD0dHy.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-B48x1gPM-BostsSOa.js → ReimbursementApprovalRulesPage-B48x1gPM-TyTym-o2.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-oIC9QEyF-BywJ2Ma5.js → ReimbursementDetailPage-oIC9QEyF-DD_nn8iA.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-BKgsJieE-C8z1p7x-.js → ReimbursementPromoPage-BKgsJieE-ba8SRSKH.js} +1 -1
- package/dist/assets/{ReimbursementRoutes-CgHILlr6.js → ReimbursementRoutes-BDoS2Viq.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-B_c-ZgFT-CEFcuF5y.js → ReimbursementSetUpPage-B_c-ZgFT-DsXy5T-i.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CeyGWbKR-DNjVjDW0.js → ReimbursementsBulkReviewDrawerPage-CeyGWbKR-b2LCo2fP.js} +1 -1
- package/dist/assets/{ReloadCard-DKGn1uxF-BoCqNia8.js → ReloadCard-DKGn1uxF-xV8m_TeH.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-CXDvZEbR-C7-vFnMM.js → ReportTableViewSelector-CXDvZEbR-BEs3z0WU.js} +1 -1
- package/dist/assets/{ReportsPage-BoUyXSBC-Bpcr9t0g.js → ReportsPage-BoUyXSBC-dKIbVO8t.js} +1 -1
- package/dist/assets/{ReportsRoutes-BiPwCg8q.js → ReportsRoutes-c3YTFnRz.js} +1 -1
- package/dist/assets/{RevenueChart-SvdhwBcE-Dxn52ow-.js → RevenueChart-SvdhwBcE-DaeNieaE.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-tT1l4R2r-RmP2wBK5.js → ReviewDetailsPage-tT1l4R2r-EDW_-Vnp.js} +1 -1
- package/dist/assets/{ReviewOverlay-BoM41t8W-CTSAEiQG.js → ReviewOverlay-BoM41t8W-DgI6cFXd.js} +1 -1
- package/dist/assets/{RewardsRoutes-E5CnWJ-f.js → RewardsRoutes-o1myXW2J.js} +1 -1
- package/dist/assets/{RoleWithToolTip-C8x5yXaK-Dmelwbqx.js → RoleWithToolTip-C8x5yXaK-BPbsiT1k.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-Bkp0mCOn-DSmZf7Qv.js → ScheduleDetailsFixedAssetsPage-Bkp0mCOn-DQbz3Cef.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-Dg9rYJbn-DllnnP3n.js → ScheduleDetailsPage-Dg9rYJbn-CYqViARR.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-J6Eja8XA-Du9cL0M5.js → ScheduleSequenceTable-J6Eja8XA-CGs8BkOX.js} +1 -1
- package/dist/assets/{ScreenRoutes-IRYzg1I8.js → ScreenRoutes-CoSbVjnG.js} +2 -2
- package/dist/assets/{SetUpAccountSection-sfIB1h4i-5Qx4_bh2.js → SetUpAccountSection-sfIB1h4i-DH94MVfE.js} +1 -1
- package/dist/assets/{SettingsRoutes-DcfqDJnj.js → SettingsRoutes-D4OVycdK.js} +1 -1
- package/dist/assets/{SetupPagesScreen-CKIcjKt5.js → SetupPagesScreen-CP5xGQM-.js} +1 -1
- package/dist/assets/{SignIn-Cu2nzuEC-Bp_oT71c.js → SignIn-Cu2nzuEC-D0_FHV1l.js} +1 -1
- package/dist/assets/{SignInScreen-Ct79gq1E.js → SignInScreen-Dy_3TYSj.js} +1 -1
- package/dist/assets/{SignOutScreen-CZ3i17sZ.js → SignOutScreen-C-hbbdId.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-9V9u1jPF-impkLVzs.js → SpendManagementListViewPage-9V9u1jPF-BAQuHXRH.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-COvEPq7V-9dexPOGi.js → SpendManagementPerTabPage-COvEPq7V-DXoUtE5K.js} +1 -1
- package/dist/assets/{SpendManagementSection-dT-N4bSQ-zSvxEGhY.js → SpendManagementSection-dT-N4bSQ-BmAvBJeB.js} +1 -1
- package/dist/assets/{StatementItem-g5tfNBjV-TtkHAa_E.js → StatementItem-g5tfNBjV-D7Y_OR58.js} +1 -1
- package/dist/assets/{StatementsPage-DaFrVUeK-BKmugpaZ.js → StatementsPage-DaFrVUeK-Bu9uXUe0.js} +1 -1
- package/dist/assets/{StatusSwitcher-CaoFw0cf-DekkCuBN.js → StatusSwitcher-CaoFw0cf-LnRyZkPw.js} +1 -1
- package/dist/assets/{SubTabSwitcher-zrkVj1aP-DzJ74MSf.js → SubTabSwitcher-zrkVj1aP-BpUcvhC2.js} +1 -1
- package/dist/assets/{SuccessAnimation-oz7yQ6H3-CuxEvbYZ.js → SuccessAnimation-oz7yQ6H3-Bb_9Jyw4.js} +1 -1
- package/dist/assets/{SummaryCard-B9wqNSwM-CfbafqaP.js → SummaryCard-B9wqNSwM-Z6FaAp8R.js} +1 -1
- package/dist/assets/{TaskDetailPage-044JwAvz-Dbz-j4Qe.js → TaskDetailPage-044JwAvz-D-VMZNU5.js} +1 -1
- package/dist/assets/{TaskListScreen-D2hgfbUK.js → TaskListScreen-rlkEoDCk.js} +1 -1
- package/dist/assets/{TaskManagementPage-dAK9tl2b-VU_G-rkO.js → TaskManagementPage-dAK9tl2b-CRrkZYA1.js} +1 -1
- package/dist/assets/{TaskRoutes-JZtbl56L.js → TaskRoutes-Dv_crepW.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-r1TNqVRb-BuKa7qNu.js → TimeRangeSwitcher-r1TNqVRb-BAe1EuS0.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-DHfHCTa4-BPyXAgbc.js → TimeframeSwitcher-DHfHCTa4-C-IgGi6u.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-DvBvguRl-81Smo1q6.js → TimeframeSwitcherWithToggle-DvBvguRl-DM8XfZ8P.js} +1 -1
- package/dist/assets/{TopExCard-BUjnGDUB-310z6unt.js → TopExCard-BUjnGDUB-Cixq3mwa.js} +1 -1
- package/dist/assets/{TopExDetailPage-CNDkfc3u-BceOPcNG.js → TopExDetailPage-CNDkfc3u-CuvB6qt5.js} +1 -1
- package/dist/assets/{TransactionActivityLogPage-kSQqJVpX-D70Ebwxd.js → TransactionActivityLogPage-kSQqJVpX-DyxJcJtf.js} +1 -1
- package/dist/assets/{TransactionDetailPage-f7vWtXWL-DszE4Lqv.js → TransactionDetailPage-f7vWtXWL-BTMnz0mH.js} +1 -1
- package/dist/assets/{TransactionDetailRoutes-TOpy1uKa.js → TransactionDetailRoutes-BqPivaDh.js} +1 -1
- package/dist/assets/{TransactionDetailScreen-Bl43zCpG.js → TransactionDetailScreen-DIenmNko.js} +1 -1
- package/dist/assets/{TransactionList-3-mUZOsw-BQQrTUgt.js → TransactionList-3-mUZOsw-Blz5H5Te.js} +1 -1
- package/dist/assets/{TransactionListBig-Bx_Rm9ho-KpaUS-0g.js → TransactionListBig-Bx_Rm9ho-VXDaw90S.js} +1 -1
- package/dist/assets/{TransactionListPage-q6x4_jni-BCTSngWR.js → TransactionListPage-q6x4_jni-BeqHDEN7.js} +1 -1
- package/dist/assets/{TransactionListRoutes-CMLh_lHF.js → TransactionListRoutes-cXRM-Tzx.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-MjSH5hfq-C0iHLHKf.js → TransactionVendorDetailPage-MjSH5hfq-CN5kkzkt.js} +1 -1
- package/dist/assets/{TransferDrawerPage-BayVa6po-DlkdYqMW.js → TransferDrawerPage-BayVa6po-D8DjUeLp.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-CuqWmrO5-BZ_bPirD.js → TreasuryOverviewPage-CuqWmrO5-9BoI5avx.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-BCjz1EKX-DryQkob1.js → TreasuryPromoPage-BCjz1EKX-ZejnCIrp.js} +1 -1
- package/dist/assets/{TreasuryRoutes-Uv2Q4-px.js → TreasuryRoutes-5Jq3PBCh.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-CGr00SXF-BI3wmSNl.js → TreasuryStatementsPage-CGr00SXF-BVn6YWI5.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-D9_qnlK4-BJVe4ICp.js → TreasuryTaxLetterPage-D9_qnlK4-BodQ0XOA.js} +1 -1
- package/dist/assets/{TrendChart-JTOG0a7B-DWRNXuz6.js → TrendChart-JTOG0a7B-B9PiPj4M.js} +1 -1
- package/dist/assets/{TrendWithTransactions-CTJhTpAM-BLYcqVCK.js → TrendWithTransactions-CTJhTpAM-BO0IpBnV.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-TGKYpC5A-CSRo9cGj.js → UncategorizedAccountsMappingPage-TGKYpC5A-4MUyjq3F.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-mt2IjA5X-HULL3VCR.js → UnitIntegrationPage-mt2IjA5X-PkbkHBhf.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-DZfpwE5J-Cm7mweqJ.js → UploadAdditionalDocumentOverlay-DZfpwE5J-CLFBiQB1.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-DAOf5cJD-foKceGQ2.js → Vendor2FAPopup-DAOf5cJD-CYwz1o5q.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-CCOupiSZ-aPYjuiNm.js → VendorACHDetailsPage-CCOupiSZ-H2ETipS-.js} +1 -1
- package/dist/assets/{VendorDetailPage-DufNphGD-angvVXfL.js → VendorDetailPage-DufNphGD-2QGt-gwE.js} +1 -1
- package/dist/assets/{VendorDomesticWireDetailsPage-BayV34Rt-dHdeqKnp.js → VendorDomesticWireDetailsPage-BayV34Rt-gRUl_StD.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-CRnO7Ubw-C0qN_xq7.js → VendorFiling1099EditablePage-CRnO7Ubw-DxoPD9QC.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-DA0EL4RJ-CiwNSvUn.js → VendorFirstReviewPage-DA0EL4RJ-CGX7_u3z.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-HUtNyn9Z-Ccax-820.js → VendorInternationalWireDetailsPage-HUtNyn9Z-DowqkaS4.js} +1 -1
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DRVMUeXi-BDnM6T3H.js → VendorInternationalWireSwiftDetailsPage-DRVMUeXi-Ci9mVR27.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-D6Qa1zf9-OD2ANcpQ.js → VendorsAccountsSection-D6Qa1zf9-CW6sCLwr.js} +1 -1
- package/dist/assets/{VendorsRoutes-BTXTUssE.js → VendorsRoutes-LjTGNk-2.js} +1 -1
- package/dist/assets/{VerifyDevice-B6B_nk3v-BfzLjpGJ.js → VerifyDevice-B6B_nk3v-BvincG_g.js} +1 -1
- package/dist/assets/{VideoPlayer-BRAgZThr-Bcaasp-U.js → VideoPlayer-BRAgZThr-XG4Rcfdj.js} +1 -1
- package/dist/assets/{VideoPopup-C_SkBI9U-xDIm2hVu.js → VideoPopup-C_SkBI9U-BhfvIuKF.js} +1 -1
- package/dist/assets/{WiseConfirmationScreen-DSWFe61l.js → WiseConfirmationScreen-DxTpTvCN.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-Dp-eo-Vq-DUr2L7qz.js → ZeniAccountDetailPage-Dp-eo-Vq-P6JFo8ah.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-S-XmAYqD-CGRw402N.js → ZeniAccountListViewPage-S-XmAYqD-BeIhS-QI.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-DhjBxfEr-obkuSya3.js → ZeniAccountNavBarPieces-DhjBxfEr-VVB6yev1.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-BgYCHYLO-B5ynGf7u.js → ZeniAccountPromoPage-BgYCHYLO-LBXK2GgO.js} +1 -1
- package/dist/assets/{ZeniAccountRoutes-ZzewLkL8.js → ZeniAccountRoutes-DgIyNsYA.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-CvnIMdcY-BIOUi-Do.js → ZeniAccountSetupPage-CvnIMdcY-D7CTKM8F.js} +1 -1
- package/dist/assets/{ZeniAccountStatementScreen-8454IT-f.js → ZeniAccountStatementScreen-DbUnng23.js} +1 -1
- package/dist/assets/{ZeniAvatar-CwHVUcMc-BJ8AyUay.js → ZeniAvatar-CwHVUcMc-BwzTw7hA.js} +1 -1
- package/dist/assets/{ZeniCopyright-BlLvlGZV-PtfyMNGF.js → ZeniCopyright-BlLvlGZV-CNQ_DnT5.js} +1 -1
- package/dist/assets/{ZeniDatePicker-DCurorsW-jSixMxUp.js → ZeniDatePicker-DCurorsW-IG-1gcsw.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-BNYgPwHs-BLgZWrKb.js → ZeniTransferAmountSlider-BNYgPwHs-CW1ejaod.js} +1 -1
- package/dist/assets/{accountMappingHelper-S5pr6xme.js → accountMappingHelper-CiZg2tUy.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-BxcaFQ_E.js → add-to-wallet-DgdBD8_G-BAOW4bEC.js} +1 -1
- package/dist/assets/{analytics-BZz0SPy3.js → analytics-JKNMIPCj.js} +1 -1
- package/dist/assets/{analyticsHelper-CYr5V2MV-D47W16kx.js → analyticsHelper-CYr5V2MV-g3X61F5M.js} +1 -1
- package/dist/assets/{analyticsHelper-CRAJfei1.js → analyticsHelper-UkV1zy0R.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-CyfpwaWH.js → arrow-south-east-round-PEovUgvH-D3HxhDaV.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-Dm3PoOP-.js → auto-transfer-rule-mbafm5D3-B6zvDgGa.js} +1 -1
- package/dist/assets/{avatar-Dz7aEm3d-B59e782o.js → avatar-Dz7aEm3d-D4Z6gXMA.js} +1 -1
- package/dist/assets/{calculateSize-Bn1NnCzV-CbPGQ475.js → calculateSize-Bn1NnCzV-DqzvW5QR.js} +1 -1
- package/dist/assets/{chartTypes-40RenddT-C7uxWjgM.js → chartTypes-40RenddT-xOl7ri4B.js} +1 -1
- package/dist/assets/{clock-CJkylEKt-DGRbc2He.js → clock-CJkylEKt-DCVHdJv4.js} +1 -1
- package/dist/assets/{common-DEB71I4X-BRhAN_mv.js → common-DEB71I4X-BLhN6mer.js} +1 -1
- package/dist/assets/{commonDimensions-BMnB1-xU-CcNkFk9x.js → commonDimensions-BMnB1-xU-CRcoh4cg.js} +1 -1
- package/dist/assets/{commonTypes-DsWS6Ccc-DgEYQkuk.js → commonTypes-DsWS6Ccc-DDqFel7Y.js} +1 -1
- package/dist/assets/{core-BSWMBnrJ.js → core-B0aIoG8L.js} +1 -1
- package/dist/assets/{dash.all.min-ByV77lf8.js → dash.all.min-CD3iOFub.js} +1 -1
- package/dist/assets/{decodeURIComponentSafe-B2RLRrdt.js → decodeURIComponentSafe-Bu6iKDPg.js} +1 -1
- package/dist/assets/{detailCommon-CrcyqWtZ-s9USgEEF.js → detailCommon-CrcyqWtZ-C0uLkBms.js} +1 -1
- package/dist/assets/{dnd-DJrh3JTW.js → dnd-CeLShHIc.js} +1 -1
- package/dist/assets/{dollar-round-D18u7nlm-qWQy8tOr.js → dollar-round-D18u7nlm-CHRr1bf9.js} +1 -1
- package/dist/assets/{downloadPdf-CUUx8PWn-Z4ddkC82.js → downloadPdf-CUUx8PWn-yhiYByrR.js} +1 -1
- package/dist/assets/{empty-BcmJSfoQ.js → empty-BkriGRuv.js} +1 -1
- package/dist/assets/{empty-Ink6PjPr.js → empty-C0YbYLjJ.js} +1 -1
- package/dist/assets/{epic-C8YaW2BC.js → epic-DfRSOgde.js} +1 -1
- package/dist/assets/{filter-cZIFUNvj-CBGTjKNF.js → filter-cZIFUNvj-BwZeVD32.js} +1 -1
- package/dist/assets/{getLocaleForTenant-CeTv0_64.js → getLocaleForTenant-Dk0k1evv.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-Dw9Bntj7.js → gift-box-Cmt9OgIZ-bJl9WnG1.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-hCWvJzzH.js → graphic-no-data-l-DU4J8fDt-Du06xfs-.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-DLhWQ7Y3.js → graphic-no-data-net-burn-l-CzmycA0m-CneFMbCy.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-DcpKXQqd.js → handshake-BPg58FML-wokdn9gB.js} +1 -1
- package/dist/assets/{helper-BMiMbXMj-BqD7TDgt.js → helper-BMiMbXMj-CknnjhGs.js} +1 -1
- package/dist/assets/{hyperlink-DQyCeXx2-DgnccV5_.js → hyperlink-DQyCeXx2-C7S37aSh.js} +1 -1
- package/dist/assets/{index-B9LViB8R.js → index-BPALOhCr.js} +1 -1
- package/dist/assets/{index-ByhS5XEB.js → index-CDsMViUJ.js} +1 -1
- package/dist/assets/{index-B5VyyyEM.js → index-CImw4dkc.js} +1 -1
- package/dist/assets/{index-4TmfhDJk.js → index-DtWTtd_D.js} +1 -1
- package/dist/assets/{index-T6cemxxv.js → index-EqHxd201.js} +6 -6
- package/dist/assets/{index-De4FUH-D.js → index-uHN8COgu.js} +1 -1
- package/dist/assets/{lexical-CdVAcKo7.js → lexical-Cn2A1iXT.js} +1 -1
- package/dist/assets/{liveblocks--WiFaeN0.js → liveblocks-BGLG0ZRF.js} +1 -1
- package/dist/assets/{lottie-DOxhyevU.js → lottie-C-63nSQ2.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-DGnyXKBT-5SZShw59.js → mapLoadingInProgressToTreeNode-DGnyXKBT-CfSF4d0q.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BkPRWtaj-8acLvja0.js → mapSectionWithAcOnlyToTreeNode-BkPRWtaj-Bbv9kxuB.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-CvGdU9Ma-BRhv3XRJ.js → mapSpacerToTreeNode-CvGdU9Ma-DqFRHMwL.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-BCOsOvxo-BW4YLdJu.js → mapTimeframeBalancesToTreeNode-BCOsOvxo-C2o18LiT.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DIqYP3NK-BuwKfIYt.js → mapTimeframeBalancesToTreeNode-DIqYP3NK-DZe5CwCl.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-Ch2rvcz4-u2sPQG8-.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Ch2rvcz4-CHWYk2eN.js} +1 -1
- package/dist/assets/{media-player-2gWGctcr.js → media-player-CqCqOlxE.js} +2 -2
- package/dist/assets/{money-2cg1MuG4-ZZWEE1BS.js → money-2cg1MuG4-B1T8Uy6t.js} +1 -1
- package/dist/assets/{mui-GaW5Gk_e.js → mui-2NnLxiU2.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-KCA2hl3j.js → page-detail-CWX5S47F-CgGawfzp.js} +1 -1
- package/dist/assets/{page-summary-D7_VQHwN-C4mva4td.js → page-summary-D7_VQHwN-BOd9yG8Y.js} +1 -1
- package/dist/assets/{panelSelectedMixin-CzfD5-Zs-DWsrfnbc.js → panelSelectedMixin-CzfD5-Zs-DP2cNj_W.js} +1 -1
- package/dist/assets/{pathToGoBack-C0wXThmF.js → pathToGoBack-Bv92NQSQ.js} +1 -1
- package/dist/assets/{pdf-DWoGjGSw.js → pdf-CmlsF1Bq.js} +3 -3
- package/dist/assets/{pdf-lib-CU3tv6Hj.js → pdf-lib-BdZjuQvb.js} +1 -1
- package/dist/assets/{plaid-CNcdZ4gc.js → plaid-AStGMBRC.js} +1 -1
- package/dist/assets/{pusher-_Mkhq734.js → pusher-Dg5Fzp9t.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-CkW2sMb1.js → radio-default-CiSgisfh-CaVf9O8j.js} +1 -1
- package/dist/assets/{react-DnPZ1Xhy.js → react-BNcYqv24.js} +3 -3
- package/dist/assets/{react-CKfk9tDS.js → react-BSLmZDh4.js} +1 -1
- package/dist/assets/{react-COkkiwUG.js → react-BwZSAuz_.js} +1 -1
- package/dist/assets/{react-CgpHxMDb.js → react-DGi5bvij.js} +1 -1
- package/dist/assets/{react-C4isuCpp.js → react-DHpb7QC4.js} +1 -1
- package/dist/assets/{react-XuqF4K_l.js → react-DKmRNMO0.js} +1 -1
- package/dist/assets/{react-BO8sqwy5.js → react-DbU9hhuM.js} +1 -1
- package/dist/assets/{react-CNYdj_E0.js → react-lrEBBJno.js} +1 -1
- package/dist/assets/{recharts-BQ8VH5gX.js → recharts-DLbOXl5Z.js} +1 -1
- package/dist/assets/{routePaths-BCoYK2N6.js → routePaths-D30DRN8c.js} +1 -1
- package/dist/assets/{sentry-BoIfGJBF.js → sentry-Q4kep6XN.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-C_2cYUuc.js → shield-DOlUxcFf-DhZp-_BM.js} +1 -1
- package/dist/assets/{spend-limit-D6SyboD4-D6KSyTVe.js → spend-limit-D6SyboD4-BmY4osYa.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-DkMGvlEt-R8kfnDme.js → toCOABalancesWithID-DkMGvlEt-rov467Ra.js} +1 -1
- package/dist/assets/{toChartData-C6s-eBzE-hyCfo1sK.js → toChartData-C6s-eBzE-CuLISfRU.js} +1 -1
- package/dist/assets/{transaction-placeholder-CpOwZAMG-DpSw-x8s.js → transaction-placeholder-CpOwZAMG-BgSxR8pp.js} +1 -1
- package/dist/assets/{undo-b_3XZ5CX-CsWxipxr.js → undo-b_3XZ5CX-BQ_ijdRp.js} +1 -1
- package/dist/assets/{unlock-BPWn2I5L-C7FVhrTq.js → unlock-BPWn2I5L-C-h2dTWL.js} +1 -1
- package/dist/assets/{uploadAttachment-BlLqRIXe-CWI7Q5hT.js → uploadAttachment-BlLqRIXe-CHndkGCc.js} +1 -1
- package/dist/assets/{uploadReceipts-Dge0cNF1-CQe0GGy5.js → uploadReceipts-Dge0cNF1-DGJmbPrS.js} +1 -1
- package/dist/assets/{url-uuiUYH_k.js → url-Bic7cnA8.js} +1 -1
- package/dist/assets/{url-BGCwBSI6.js → url-DpsurdUI.js} +1 -1
- package/dist/assets/{useDeviceId-0-eUuQR6.js → useDeviceId-B4g5tOwE.js} +1 -1
- package/dist/assets/{useInitialThreadRequest-c5K33_u9.js → useInitialThreadRequest-odLUiJqj.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-CkGyzLnK.js → useLongPress-GCK2COYQ-BHyH9hMq.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-BDy8G8EG.js → usp-line-BBd1wKwW-DXXOUebn.js} +1 -1
- package/dist/assets/{utils-BGRwbgi2.js → utils-Yz1HF93N.js} +1 -1
- package/dist/assets/{withTransactionSidePanel-BYXSUWst.js → withTransactionSidePanel-BBaDdbsh.js} +1 -1
- package/dist/assets/{zeni-epic-state-BtVcBgvu.js → zeni-epic-state-DHqVwJ2L.js} +3 -3
- package/dist/assets/{zeni-icon-only-BOcJS42c.js → zeni-icon-only-fh8VXN1X.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +1 -1
- package/dist/assets/CustomerOnboardingAuthScreen-xza8qbxh.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-CRjwWFLJ-DbqRfwbf.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as G,y as Y,O,t as fe,V as a,ba as me,a6 as N,a$ as ge,a_ as _e,o as x,ab as be,f as Se,b as v,bb as we,u as C,G as B,Q as X,bc as ye,ad as Ce,N as xe,b7 as Oe}from"./index-
|
|
1
|
+
import{J as G,y as Y,O,t as fe,V as a,ba as me,a6 as N,a$ as ge,a_ as _e,o as x,ab as be,f as Se,b as v,bb as we,u as C,G as B,Q as X,bc as ye,ad as Ce,N as xe,b7 as Oe}from"./index-EqHxd201.js";import{a as P,b as ee}from"./sentry-Q4kep6XN.js";import{n as S}from"./mui-2NnLxiU2.js";import{bt as Z,El as Ae,Eu as Re,Ev as j,Ew as Be,Ex as ve,Ey as Le,Ez as Te,EA as Pe,EB as te,EC as oe}from"./zeni-epic-state-DHqVwJ2L.js";import{m as U,l as q}from"./analyticsHelper-CYr5V2MV-g3X61F5M.js";import{x as Ne}from"./ReportTableViewSelector-CXDvZEbR-BEs3z0WU.js";import{a as se,p as ke}from"./TimeRangeSwitcher-r1TNqVRb-BAe1EuS0.js";import{M as Ie}from"./TimeframeSwitcherWithToggle-DvBvguRl-DM8XfZ8P.js";import{DownloadOverlayButton as Me}from"./DownloadOverlay-DqiL3-FB-HBtpf6ff.js";import{I as Ee,R as I,x as J}from"./CollapsableReportTable-CDEe9s_E-CWbosJ7t.js";import{D as ne,T as ae,C as $,L as Fe,g as ie}from"./mapSectionWithAcOnlyToTreeNode-BkPRWtaj-Bbv9kxuB.js";import{s as H}from"./mapTimeframeBalancesToTreeNode-BCOsOvxo-C2o18LiT.js";import{d as je,l as $e}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-Ch2rvcz4-CHWYk2eN.js";import{d as Ve}from"./mapLoadingInProgressToTreeNode-DGnyXKBT-CfSF4d0q.js";import"./pdf-CmlsF1Bq.js";import"./core-B0aIoG8L.js";import"./lottie-C-63nSQ2.js";import"./liveblocks-BGLG0ZRF.js";import"./recharts-DLbOXl5Z.js";import"./dnd-CeLShHIc.js";import"./analytics-JKNMIPCj.js";import"./plaid-AStGMBRC.js";import"./utils-Yz1HF93N.js";import"./filter-cZIFUNvj-BwZeVD32.js";import"./TimeframeSwitcher-DHfHCTa4-C-IgGi6u.js";import"./page-detail-CWX5S47F-CgGawfzp.js";import"./page-summary-D7_VQHwN-BOd9yG8Y.js";import"./AccountRow-CpftykFx-uD-f3g0V.js";import"./clock-CJkylEKt-DCVHdJv4.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]="429cc72b-0508-4ad2-9649-498301e53bc4",e._sentryDebugIdIdentifier="sentry-dbid-429cc72b-0508-4ad2-9649-498301e53bc4")}catch{}})();function ce({section:e,sectionId:t,numOfBalances:i,config:n}){return J("no_filter",n.filterAccountsWithNilBalances,n.filterAccountGroupsWithNilBalances).compactedAccountGroupsSelector(e.accountGroups).map(o=>function({accountGroup:c,sectionType:b,numOfBalances:_,title:r,isLastNode:s,config:l}){const d=I("section",[],r+b),p={children:[],id:d,isLastNode:s,reportElementData:{element:{kind:"section",title:r,sectionType:b,data:c,numOfBalances:_},config:l}},f=J("no_filter",l.filterAccountsWithNilBalances,l.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(c.accounts),A=f.map((m,w)=>ie({account:m,sectionType:b,numOfBalances:_,title:m.account.accountName,config:l,isLastNode:w===f.length-1,parentNodeIDs:[d],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:f.length>1,hasChildren:m.children.length>0,isLastNode:w===f.length-1}]}}));return p.children.push(...A),p}({accountGroup:o,sectionType:t,numOfBalances:i,title:o.accountGroupName,isLastNode:!0,config:n}))}function re({sectionWithAcOnly:e,sectionType:t,numOfBalances:i,config:n}){return e.accounts.map((o,c)=>ie({account:o,sectionType:t,numOfBalances:i,title:o.account.accountName,config:n,isLastNode:c===e.accounts.length-1,parentNodeIDs:[],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:e.accounts.length>1,hasChildren:o.children.length>0,isLastNode:c===e.accounts.length-1}]}}))}function le({balances:e,config:t,nodeId:i}){return{children:[],id:i??I("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:t.mode==="actual_vs_forecast"?"timeframe_headers_with_forecast":"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:t}}}function ze(e,t,i,n=!0){Object.assign(e.config,t);const o=de(i),c=H({balances:o,config:t});return{config:t,headerNodes:n?[c]:[],contentNodes:[c,...e.contentNodes.slice(1)]}}const de=e=>{switch(e.reportId){case"profit_and_loss":{const t=e;return t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:[...t.sections.income.balances,...t.sections.income.additionalBalances]}case"profit_and_loss_by_classes":{const t=e;return t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:[...t.sections.income.balances,...t.sections.income.additionalBalances]}case"cash_flow":{const t=e;return[...t.calculatedSections.operatingActivitiesTotal.balances,...t.calculatedSections.operatingActivitiesTotal.additionalBalances]}case"balance_sheet":{const t=e;let i=[];return Object.keys(t.sections).forEach(n=>{t.sections[n].balances.length>0&&(i=[...t.sections[n].balances,...t.sections[n].additionalBalances])}),i}default:return[]}};function De(e,t,i=!0){const n=O.getLocalizedStrings().reports.sections,o=O.getLocalizedStrings().reports.cashFlow,c=[...e.calculatedSections.operatingActivitiesTotal.balances,...e.calculatedSections.operatingActivitiesTotal.additionalBalances],b=t.mode!=null&&t.mode==="this_period_vs_period_before"&&c.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,_=le({balances:c,config:t}),r=[];return Object.keys(e.rootSectionsWithSubSectionIds).forEach(s=>{const l={children:[],id:I("title_string_only",[],s),isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:n[s],data:void 0,numOfBalances:0},config:t}};r.push(l),e.rootSectionsWithSubSectionIds[s].forEach(d=>{if(Le(d)===!0)if(e.sections[d].accountGroups.length>0){const p=ce({sectionId:d,section:e.sections[d],numOfBalances:b,config:t});r.push(...p)}else{const p=re({sectionWithAcOnly:e.sections[d],sectionType:d,numOfBalances:b,config:t});r.push(...p)}else Te(d)===!0?r.push(function({calculatedSection:p,numOfBalances:f,title:A,isLastNode:m,config:w}){return{children:[],id:I("calculated_section_type1",[],A),isLastNode:m,reportElementData:{element:{kind:"calculated_section_type1",title:A,data:p,numOfBalances:f},config:w}}}({calculatedSection:e.calculatedSections[d],numOfBalances:b,title:o[d],isLastNode:!0,config:t})):Pe(d)===!0&&r.push($({calculatedSection:e.calculatedSections[d],numOfBalances:b,title:o[d],isLastNode:!0,config:t}))})}),{config:t,headerNodes:i?[_]:[],contentNodes:[_,...r]}}function Ue(e,t,i=!0,n=!1){const o=O.getLocalizedStrings().reports,c=O.getLocalizedStrings().common;let b=[];const _=[];let r=[];if(n===!0){const s=je({title:c.loading,balances:[],config:t});s.reportElementData.element.numOfBalances=6,i&&(r=[s]),_.push(s),[...Array(8)].forEach((l,d)=>{let p=$e[d%4];const f=Ve({title:`${d}+${p}`,balances:b,config:t});f.reportElementData.element.numOfBalances=6,_.push(f)})}else{const s=e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.sections.otherIncome.balances.length>0?[...e.sections.otherIncome.balances,...e.sections.otherIncome.additionalBalances]:e.sections.otherExpenses.balances.length>0?[...e.sections.otherExpenses.balances,...e.sections.otherExpenses.additionalBalances]:[],l=H({balances:s,config:t}),d=t.mode!=null&&t.mode==="this_period_vs_period_before"&&s.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1;_.push(l),i&&(r=[l]),e.idsInOrder.forEach(p=>{if(te(p)===!0){const f=e.sections[p];f!=null&&_.push(Fe({section:f,sectionType:p,numOfBalances:d,title:o.sections[p],isLastNode:!0,config:t}))}else if(oe(p)===!0){const f=e.calculatedSections[p];f!=null&&_.push($({calculatedSection:f,numOfBalances:d,title:o.sections[p],isLastNode:!0,config:t}))}})}return{config:t,headerNodes:r,contentNodes:_}}function We(e,t,i=!0){const n=O.getLocalizedStrings().reports,o=e.sections.expenses!=null&&e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.income!=null&&e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs!=null&&e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.sections.otherIncome!=null&&e.sections.otherIncome.balances.length>0?[...e.sections.otherIncome.balances,...e.sections.otherIncome.additionalBalances]:e.sections.otherExpenses!=null&&e.sections.otherExpenses.balances.length>0?[...e.sections.otherExpenses.balances,...e.sections.otherExpenses.additionalBalances]:[],c=t.mode!=null&&t.mode==="this_period_vs_period_before"&&o.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,b=H({balances:o,config:t}),_=[];return _.push(b),e.idsInOrder.forEach(r=>{if(te(r)===!0&&(e.sections[r].accountGroups.length>0?_.push(ne({section:e.sections[r],sectionType:r,numOfBalances:c,title:n.sections[r],isLastNode:!0,config:t})):_.push(ae({sectionWithAcOnly:e.sections[r],sectionType:r,numOfBalances:c,title:n.sections[r],isLastNode:!0,config:t}))),oe(r)===!0){const s=e.calculatedSections[r];s!=null&&_.push($({calculatedSection:s,numOfBalances:c,title:n.sections[r],isLastNode:!0,config:t}))}}),{config:t,headerNodes:i?[b]:[],contentNodes:_}}const Q={contentPaddingLeft:new v(C[0],C[0],C[0]),contentPaddingRight:new v(C[3],C[3],C[8])},Ge=S.div`
|
|
2
2
|
height: ${e=>e.height}px;
|
|
3
3
|
width: 99.9%;
|
|
4
4
|
margin-top: ${x.sp2};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as i}from"./pdf-
|
|
1
|
+
import{j as i}from"./pdf-CmlsF1Bq.js";import{j as N,i as V,h as H,l as $,u as p,k as z,R as Z,m as j}from"./core-B0aIoG8L.js";import{cs as G,cQ as I,GO as Q,m2 as R,gA as J,fE as W,m7 as X,bt as K,GP as ee,bm as ae,qn as te,GQ as se,GR as oe,pl as ne,GS as re,GT as le,GU as T,GV as O,GW as F,GX as k,GY as D,Ev as ie,q4 as ce,pT as E,pU as U,qa as de,pY as pe,qf as me,GZ as fe,G_ as ue,G$ as he,H0 as _e,H1 as be,cz as ge,cx as Se}from"./zeni-epic-state-DHqVwJ2L.js";import{J as Ie,je as x,jR as Ce,t as ye,bc as Te,jl as A,G as we,jS as Re,jT as Oe,jA as Fe,aE as ke,aG as De}from"./index-EqHxd201.js";import"./mui-2NnLxiU2.js";import Ae from"./NotFoundScreen-BbpMMX9s.js";import{F as Ge}from"./FeaturePreviewScreen-fP1RCpGB.js";import{a as g}from"./sentry-Q4kep6XN.js";import{t as Me,a as Pe}from"./routePaths-D30DRN8c.js";import{M as je}from"./MobileAppDrawer-sKiHtZDX.js";import"./lottie-C-63nSQ2.js";import"./liveblocks-BGLG0ZRF.js";import"./recharts-DLbOXl5Z.js";import"./dnd-CeLShHIc.js";import"./analytics-JKNMIPCj.js";import"./plaid-AStGMBRC.js";import"./utils-Yz1HF93N.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]="40a3b667-c7e2-462d-b4af-6a47e81b4048",e._sentryDebugIdIdentifier="sentry-dbid-40a3b667-c7e2-462d-b4af-6a47e81b4048")}catch{}})();const S=e=>{e(D({resetLeftScroll:!0})),e(k({resetLeftScroll:!0})),e(F({resetLeftScroll:!0})),e(O({resetLeftScroll:!0}))},Ee=e=>{e(ue()),e(he()),e(_e()),e(be())},Ue=z(function(e){const o=x.getSignedInUser(),l=e.tenantState.currentTenantId,c=G(e),a=c?.companyName??"",s={userId:o?.userId??"",sessionId:o?.zeniSessionId??"",tenantId:l??""},t=I(e),r=ee(c);return{fetchState:t.fetchState,selectedTimeframe:t.filter.timeframe,selectedReport:t.selectedReportId,displayOrder:t.displayOrder,reportFormat:t.reportFormat,dataAvailable:t.dataAvailable,balancesInTimeframe:t.balancesInTimeframe,allTimeframeTicks:t.allTimeframeTicks,selectedCOABalancesRange:t.filter.balancesRange,isCompareMode:t.isCompareModeOn,profitAndLossReport:t.profitAndLossReport,profitAndLossClassesViewReport:t.profitAndLossByClassReport,balanceSheetReport:t.balanceSheetReport,cashFlowReport:t.cashFlowReport,downloadState:t.downloadState,analytics:A,isZeniUser:ae(o),showAccountGroups:r===!0,currentTenantCompanyName:a,statementEndPoint:`${Oe}/statement`,authParams:s,isZeniCOAUsed:r}},function(e,o){const{navigate:l,handleDrawerToggle:c}=o;return{onReloadReport:()=>{o.signedInUser!=null&&e(R(o.signedInUser.userId,!0,!1))},updateDownloadStateHandler:a=>{e(fe(a))},onTimeframeSelectionChanged:(a,s,t)=>{if(e(me(a)),s){const{isCompareModeOn:r,filter:m}=o,{additionalBalances:h,balancesRange:d}=m;let f=[...h];a==="year"&&(f=f.filter(u=>u!=="this_period_vs_same_period_last_year"&&u!=="this_period_vs_same_period_last_year_percent"&&u!=="same_period_last_year")),e(E(o.firstMonthOfFY,r,d.numberOfPeriods<4?4:d.numberOfPeriods,f)),h.length>0&&e(U(o.firstMonthOfFY,f.includes("this_period_vs_last_period")?"compare_mode_amount":"compare_mode_percent",d.numberOfPeriods<4?4:d.numberOfPeriods,f))}t!==!0&&setTimeout(()=>S(e),50)},onReportSelectionChanged:a=>{e(T(a)),S(e)},onCOABalancesRangeChanged:a=>{e(pe(a)),S(e)},onThisPeriodChanged:(a,s,t)=>{e(de(o.firstMonthOfFY,a,s<4?4:s)),t!==!0&&S(e)},onAdditionalBalanceSelectionChanged:(a,s,t,r)=>{e(E(o.firstMonthOfFY,a,t<4?4:t,s)),s.length>0&&e(U(o.firstMonthOfFY,s.includes("this_period_vs_last_period")?"compare_mode_amount":"compare_mode_percent",t<4?4:t,s)),r!==!0&&o.isCompareModeOn===a||setTimeout(()=>S(e),50)},onUpdateHighlightedNumberOfPeriods:(a,s,t,r)=>{e(ce({firstMonthOfFY:o.firstMonthOfFY,isCompareModeOn:s,additionalBalances:a,maxNumOfPeriodsToHighlight:t<4?4:t,coaBalances:r}))},onAccountBalanceClick:o.hasTransactionAccess!==!0?void 0:(a,s)=>{let t,r;if(s.balanceTimeFrame==="month"||s.balanceTimeFrame==="quarter"?(t=s.balanceTimeFrame,r=ie(s)):s.balanceTimeFrame==="year"?(t="quarter",r={startDate:s.endDate.startOf("quarter"),endDate:s.endDate}):console.error(`timeframe ${s.balanceTimeFrame} is not supported`),r!=null&&t!=null){const m=a.accountName===""?a.accountDescription:a.accountName,h=a.classesViewParentId!=null&&a.classesViewParentId.parentClassId!=null?Me(o.tenantEmailDomain,a.accountId,a.accountType,a.classesViewParentId.parentClassId?.[0],m,t,r):Pe(o.tenantEmailDomain,a.accountId,a.accountType,m,t,r),d=Fe(o.location.state?.pathnameStackToGoBack,o.location.pathname);l(h,{state:{pathnameStackToGoBack:d,referrer:w(o.selectedReportID)}})}},onTableScroll:(a,s)=>{switch(a){case"profit_and_loss":e(D({scrollPosition:s}));break;case"profit_and_loss_by_classes":e(k({scrollPosition:s}));break;case"balance_sheet":e(F({scrollPosition:s}));break;case"cash_flow":e(O({scrollPosition:s}));break;default:console.log(`Table Scroll state for ${a} is not handled`)}},onElementCollapseStateChanged:(a,s,t)=>{switch(a){case"profit_and_loss":e(D({nodeCollapseState:{nodeId:s,isCollapsed:t}}));break;case"profit_and_loss_by_classes":e(k({nodeCollapseState:{nodeId:s,isCollapsed:t}}));break;case"balance_sheet":e(F({nodeCollapseState:{nodeId:s,isCollapsed:t}}));break;case"cash_flow":e(O({nodeCollapseState:{nodeId:s,isCollapsed:t}}));break;default:console.log(`Collapse state toggle for ${a} is not handled`)}},onBackClick:()=>{l("../../")},onUpdateAccountViewMode:a=>{e(le({viewMode:a})),a==="classes"?(o.analytics?.trackGroupBySwitch("Classes",w(o.selectedReportID)),e(T("profit_and_loss_by_classes"))):(o.analytics?.trackGroupBySwitch("Accounts",w(o.selectedReportID)),e(T("profit_and_loss"))),S(e)},onUpdateClassesToFilterOut:a=>{e(re({classesToFilterOut:a}))},onOpenAccountViewMode:()=>{e(ne())},onUpdateDisplayOrder:a=>{e(oe(a))},onUpdateReportFormat:a=>{Ee(e),e(se(a))},onClickMenuIcon:()=>{c(!0)},onResyncReports:()=>{e(te("profit_and_loss_by_classes"))}}})(Re);function xe(){const e=Ie(),o=N(),l=V(),c=H(),{tenantEmailDomain:a}=$(),s=x.getSignedInUser(),[t,r]=g.useState(!1),[m,h]=g.useState(!1);if(s==null)throw Error("Can't access reports page without signing in...");const d=p(n=>G(n)),f=d.company?.companyInfo.firstMonthOfFY??1,u=p(n=>I(n).fetchState),B=p(n=>Q(n)),{areTenantIdsInSync:_}=Ce(),C=p(n=>n.financeStatementState.selectedReportId),v=p(n=>I(n).isCompareModeOn),b=p(n=>I(n).filter),y=p(n=>I(n).selectedReportAndTimeframeFetchState);g.useEffect(()=>{!t&&_&&(r(!0),l(R(s.userId,!0,!0,!1)))},[t,s,l,_]),g.useEffect(()=>{t&&!m&&u==="Completed"&&_&&(l(R(s.userId,!1,!0,!1)),h(!0))},[t,m,u,_]),g.useEffect(()=>{if(t&&y.fetchState==="Not-Started"&&b.timeframe!=="free_range"&&b.timeframe!=="week"&&_)switch(C){case"profit_and_loss":case"profit_and_loss_by_classes":l(X(b.timeframe));break;case"balance_sheet":l(W(b.timeframe));break;case"cash_flow":l(J(b.timeframe))}},[t,C,y,_]);const M=ye(),L=M?.loggedInUserRole!=null&&K(M?.loggedInUserRole)!==!0,[Y,q]=g.useState(!1),P=n=>{q(n)};return i.jsxs(i.Fragment,{children:[u==="Completed"?i.jsx(Te,{analytics:A,onLoad:n=>n.trackPageLoaded(we.Event.reports)}):null,i.jsx(je,{isAppContentDrawerOpen:Y,handleDrawerToggle:P}),i.jsx(Ue,{firstMonthOfFY:f,tenantEmailDomain:a,location:c,navigate:o,windowSize:e,selectedReportID:C,analytics:A,filter:b,isCompareModeOn:v,hasTransactionAccess:L,signedInUser:s,selectedReportAndTimeframeFetchState:y,handleDrawerToggle:P,reportsResyncFetchState:B.reportsResyncFetchState})]})}const w=e=>{switch(e){case"profit_and_loss":return"Profit & Loss";case"balance_sheet":return"Balance Sheet";case"cash_flow":return"Cash Flow";default:return"Reports"}};function aa(){const e=p(s=>G(s)),{useFeatureGate:o}=ke(),{isFeatureEnabled:l}=o(De.isDebitCardFeatureEnabled),c=ge(l,e),a=Se(e);return c===!0||a===!0?i.jsx(Ge,{}):i.jsxs(Z,{children:[i.jsx(j,{path:"/",element:i.jsx(xe,{})}),i.jsx(j,{path:"*",element:i.jsx(Ae,{})})]})}export{aa as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as F,O as S,V as t,e as m,Q as Fe,an as Q,u as E,j as M,ag as Z,J as de,o as x,a6 as Ve,b as fe,b8 as ge,s as R,b9 as V,au as K}from"./index-
|
|
1
|
+
import{y as F,O as S,V as t,e as m,Q as Fe,an as Q,u as E,j as M,ag as Z,J as de,o as x,a6 as Ve,b as fe,b8 as ge,s as R,b9 as V,au as K}from"./index-EqHxd201.js";import{a as z,b as ee}from"./sentry-Q4kep6XN.js";import{n as f}from"./mui-2NnLxiU2.js";import{p as b,b as T,d as te,y as N,g as ae,u as W}from"./chartTypes-40RenddT-xOl7ri4B.js";import{c as I,i as A,h as re}from"./toCOABalancesWithID-DkMGvlEt-rov467Ra.js";import{V as X}from"./toChartData-C6s-eBzE-CuLISfRU.js";import{G as pe,K as oe,S as me,E as le,X as ne,Y as ce,F as se,H as xe,J as We}from"./recharts-DLbOXl5Z.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]="1e353eac-9780-4d7b-9ae9-e19db764c046",e._sentryDebugIdIdentifier="sentry-dbid-1e353eac-9780-4d7b-9ae9-e19db764c046")}catch{}})();const q={legendLabelMarginLeft:new fe(2,2),legendLabelMarginRight:new fe(E[3],E[4])},Ke=f.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
`,He=f.div`
|
|
4
4
|
margin: ${x.sp2} ${x.sp0} ${x.sp2} ${x.sp0};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as wt,t as $t,b as u,ep as vt,eq as jt,er as St,V as t,es as Ct,et as ie,eu as Tt,ev as Dt,ew as It,ex as Pt,a4 as k,ey as kt,a6 as v,ez as Mt,eA as Be,eB as Fe,eC as Re,j as H,eD as O,e as j,eE as At,eF as E,eG as _,eH as Bt,eI as Ft,bg as Le,o as n,a9 as Rt,u as d,O as Lt,K as zt,bp as Nt,H as Ot,B as Et,eJ as _t,bB as Zt,s as ce,W as me,eK as Gt,eL as Vt,aD as Yt,l as qt,at as Kt,eM as Ht,I as tt,b6 as Ut,x as nt,aR as Wt,eN as Jt}from"./index-T6cemxxv.js";import{a as G}from"./sentry-BoIfGJBF.js";import{n as a}from"./mui-GaW5Gk_e.js";import{cp as ze,ck as Ne,bX as D,bW as Qt,F9 as Xt,bG as re,b_ as en}from"./zeni-epic-state-BtVcBgvu.js";import{t as tn,o as nn}from"./LowBalancePopup-ScEqPY9J-BDVRhmW5.js";import{S as Z}from"./LabeledText-DvzVOku6-BIWW9LkN.js";import"./pdf-DWoGjGSw.js";import"./core-BSWMBnrJ.js";import"./lottie-DOxhyevU.js";import"./liveblocks--WiFaeN0.js";import"./recharts-BQ8VH5gX.js";import"./dnd-DJrh3JTW.js";import"./analytics-BZz0SPy3.js";import"./plaid-CNcdZ4gc.js";import"./utils-BGRwbgi2.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]="adcf2ee3-00ce-41c3-93a0-e5ac574262c9",e._sentryDebugIdIdentifier="sentry-dbid-adcf2ee3-00ce-41c3-93a0-e5ac574262c9")}catch{}})();const at=["small","medium-compact","medium-regular"],m={largeLabelWidth:new u(150,215,215),infoMinWidth:new u(0,0,0,142,142),infoMarginRight:new u(0,0,0,d[2],d[2]),footerButtonWidth:new u(120,165),iconContainerMarginTop:new u(6,d[1]),navBarContainerPaddingTop:new u(10,d[3]),sectionTitleMarginLeft:new u(d[3],d[0]),reviewContainerMarginLeft:new u(d[3],d[6]),reviewContainerMarginRight:new u(d[3],d[8]),footerRightIconMarginRight:new u(d[0],d[0],d[7]),infoLabelPaddingRight:new u(d[0],d[3]),infoLabelMarginTop:new u(d[1],d[0])},an={sectionTitle:new Ot("h6Medium","h5Medium")},{dateFormat:Oe,common:{currency:$,labels:Ee,edit:on,strings:{empty:g}},spendManagement:{billPay:ln}}=Lt.getLocalizedStrings(),{billDetails:o,paymentDetails:_e}=ln,Ze=({attachment:e})=>{const[y,x]=G.useState(!1),M=e.fileId?.length===0;return t.jsxs(Fn,{isDisabled:e.fileId?.length===0,"data-testid":v("attachment-tag",e.fileName),onClick:()=>M===!1?x(!0):null,children:[y&&e?.fileDownloadUrl!=null?t.jsx(Gt,{title:e.fileName,file:e,onCrossClick:()=>{x(!1)},setShowFullScreenView:x}):null,t.jsx(Rn,{children:t.jsx(Vt,{contentType:e.contentType})})]})},ia=({billDetails:e,billpayApprovalView:y,isBillPayCommentingEnabled:x,currentTenant:M,isInternationalPaymentShaVsOurEnabled:A,isLocalCurrencyEnabled:ot,style:lt,analytics:w,isRecurringBillsFeatureEnabled:it,isApprovalRequiredForMarkAsPaid:rt,isDetectInsufficientFundsEnabled:st,billId:b,onClickEdit:pe,discardBillDetailsFromLocalStore:ue,saveBillDetails:ye,discardOutsideZeniPaymentData:dt,updateBillDetailSaveBillCode:he,redirectToBillsScreen:ge,onAttachmentClick:Q,retryPayment:ct})=>{const s=wt(),c=$t(),B={application:"dashboard",companyId:c.currentTenant?.companyId,tab:"bill",entityId:b},F=x&&b!=null,R=`dashboard_${c.currentTenant?.companyId}`,L=m.largeLabelWidth.value(s),I=e.saveStatus,X=e.zeniAssistRetryStatus,ee=e.vendor?.vendorCurrencyCode,i=vt(A,ot,e.billPayConfigList.filter(l=>l.method.includes(e.paymentDetailsSection?.withdrawFrom?.accType??"depositAccount")),e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,e.paymentDetailsSection?.paymentType,ee),S=Oe.visual.MMMDCommaYYYYformat,xe={amount:e.recipientTotalAmount.amount/(e.paymentDetailsSection?.conversionRate??1)*100/100,currencyCode:$.currencyCode,currencySymbol:$.currencySymbol},p={amount:i?.method.includes("international")===!0?jt(xe,i):e.recipientTotalAmount.amount+(i?.fee.amount??0),currencyCode:$.currencyCode,currencySymbol:$.currencySymbol},z={amount:i?.method.includes("international")===!0?St(xe,i):i?.fee.amount??0,currencyCode:$.currencyCode,currencySymbol:$.currencySymbol},[mt,fe]=G.useState(!1),[te,be]=G.useState(!1),we=()=>fe(!1),pt=e.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${o.magicLink.collectFrom} ${e.toAccountVendorEmail}`,t.jsx(Mn,{size:s,children:t.jsx(kn,{})})]}):Ct(e.paymentDetailsSection?.paymentTo);G.useEffect(()=>{(I?.fetchState==="Completed"||X?.fetchState==="Completed")&&(ue(),he(),ge())},[I,X,ge,ue,he]);const P=e.billPayInfo?.stage,N=e.billPayInfo?.billStatus,V=e.billPayInfo?.billPaymentStatus,ut=e.billPayInfo?.billPaymentRefundStatus,ne=P?.code==="paid"?P:N?.code=="approved"&&V?.code?V:N,yt=e.billPayInfo?.isRefundInitiated===!0?ut:N?.code=="approved"&&V?.code?V:N,ae=()=>{pe()},$e=()=>{pe()},Y=e.paymentDetailsSection?.paymentDate,oe=ie(i?.method??""),ve=oe.replace("Same Day",""),ht=e.isCollectToAccountInfoFromVendorContact?t.jsx(Tt,{paymentTypeLabel:ve,onClick:()=>{w.trackBillPayMagicLinkPreviewEmail("review_bill"),fe(!0)}}):o.addedByZeni,q=y.allApprovalRules.length>0,gt=ze(i?.method!=null&&(i.method.includes(D)||i?.fee.amount!=null&&i.fee.amount!==0)?p.amount-z.amount:p.amount,i?.fee.currencyCode??Ne.currencyCode,i?.fee.currencySymbol??Ne.currencySymbol),f=Qt(e.paymentDetailsSection?.paymentType?.method),je=()=>{be(!0),w.trackBillPayMarkAsPaid(P?.code??"draft",ne?.code??"")},C=f,h=C&&!rt,Se=Ge(h,q,e.isBillMarkedForRetry),le=st&&e.paymentDetailsSection!=null?Dt(p,e.paymentDetailsSection.withdrawFrom,e.paymentDetailsSection.paymentDate):void 0,Ce=()=>{Te===!0&&K(!1),e.isBillMarkedForRetry===!0?(ct(),w.trackRetryConfirmClick(ne?.code??"",P?.code??"",yt?.description??"",e.isRecurring?["Recurring"]:["One-Time"],e.invoiceNumber??"")):e.vendor!=null&&((()=>{const l=e.paymentDetailsSection?.paymentDate,r=e.isCollectToAccountInfoFromVendorContact,T=e.recurringConfig,ft=e.recipientTotalAmount;if(e.isInvoiceDateAutoUpdated===!0&&w.trackBillPayAutoDateChange(b??"new_bill"),i?.method!=null&&l!=null){const bt=f?o.paymentOutsideZeni.offline:ie(i.method);if(w.trackBillPaySendForApproval(bt,l.format(Oe.analytics.MMMDashDDDashYYYYFormat),r,e.isRecurring,b,e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,{startDate:re(T?.startDate?.toString()??"").format(S),endDate:re(T?.endDate?.toString()??"").format(S),frequency:T?.frequency??"monthly",totalAmount:ft.amount,totalPaymentCycles:T?.totalPaymentCycles??0,isApprovalRequired:T?.isApprovalRequired??!1,updateCurrentBill:e.recurringConfig?.id!=null?T?.updateRecurringBills==="current":void 0,updateFutureRecurringBills:e.recurringConfig?.id!=null?T?.updateRecurringBills==="all":void 0}),le!=null){const De=P?.code??"draft",Ie=N?.code??"",Pe=e.isRecurring?["Recurring"]:["One-Time"],ke=e.invoiceNumber??"",Me=Jt(c.loggedInUser),Ae=e.paymentDetailsSection?.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account";Se===o.scheduleBill?w.trackLowBalanceAccountSchedule(De,Ie,Pe,ke,Me,Ae):Se===o.sendForApproval&&w.trackLowBalanceAccountSentForApproval(De,Ie,Pe,ke,Me,Ae)}}})(),ye(!1,{}))},xt=Xt(p.amount,y.allApprovalRules,c.loggedInUser),[Te,K]=G.useState(!1);return t.jsxs(gn,{children:[te?t.jsx(tn,{onCancel:()=>{dt(),be(!1)},onProceedForMarkAsPaid:l=>{w.trackBillPayMarkAsPaidSubmit(l.paymentMode??"other",P?.code??"draft",ne?.code??""),ye(!0,l)},saveDetailsFetchState:I?.fetchState,paymentData:e.outsideZeniPaymentInfo}):null,Te?t.jsx(nn,{withdrawFrom:e.paymentDetailsSection?.withdrawFrom,paymentDate:e.paymentDetailsSection?.paymentDate,onOkClick:Ce,onCancelClick:()=>{K(!1),ae()},onClickAway:()=>{K(!1)}}):null,t.jsx(It,{anchor:"right",open:mt,onClose:we,transitionDuration:250,"data-testid":v("vendor-email-preview-drawer"),children:t.jsx(Pt,{companyName:kt(M.company?.companyInfo),vendor:e.vendor?.name,paymentDate:Y?.format(S)??"",paymentType:ve,amount:k("0,0[.]00",p),isInvoiceAttached:!!e.file,onClose:we})}),t.jsxs(xn,{windowSize:s,style:lt,children:[s==="small"?t.jsxs(Pn,{windowSize:s,children:[t.jsx(We,{onClick:$e,"data-testid":v("review-detail-nav-bar-small-back")}),t.jsx(qe,{windowSize:s,children:o.oneLastLook})]}):t.jsx(In,{"data-testid":v("review-details-nav-bar-back"),children:t.jsx(We,{onClick:$e})}),s!=="small"?t.jsx(bn,{children:t.jsx(qe,{windowSize:s,children:o.oneLastLook})}):null,e.duplicateBillTransactions.length>0?t.jsxs(wn,{children:[t.jsxs($n,{children:[t.jsx(_n,{}),t.jsxs(vn,{children:[t.jsx(Sn,{children:o.duplicateBillPayWarning}),t.jsxs(jn,{children:[o.duplicateBillPayWarningSubHeading,t.jsxs("span",{"data-testid":v("review-detail-attachment-button"),onClick:()=>Q(e.duplicateBillTransactions[0].id,e.duplicateBillTransactions[0].billPayInfo.stage.code),style:{textDecoration:"underline",cursor:"pointer"},children:[o.viewBill,e.duplicateBillTransactions[0].documentId]})]})]})]}),t.jsxs(Nn,{children:[t.jsx(En,{children:o.duplicateInvoiceFound}),e.duplicateBillTransactions.map(l=>{const r=Mt(l);return l!=null?t.jsx(On,{children:at.includes(s)?t.jsxs(Ke,{windowSize:s,children:[t.jsxs(Cn,{children:[t.jsxs(Tn,{children:[l.attachments&&l.attachments.length>0?t.jsx(Ze,{attachment:l.attachments[0]}):t.jsx(Je,{children:t.jsx(Qe,{})}),t.jsx(W,{children:t.jsxs(t.Fragment,{children:[l.documentId!=null?o.invoiceNo:null,l.documentId]})})]}),t.jsx(Xe,{windowSize:s,children:k("0,0[.]00",l.recipientTotalAmount)})]}),t.jsxs(Ln,{"data-testid":v("review-detail-mobile-info"),onClick:()=>Q(l.id,l.billPayInfo.stage.code),children:[t.jsxs(W,{children:[l.dueDate!=null?o.due:null," ",l.dueDate?.format(S)]}),t.jsx(et,{children:r!=null?Be.includes(r.code)?t.jsx(Fe,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})]}):t.jsxs(Ke,{windowSize:s,children:[l.attachments&&l.attachments.length>0?t.jsx(Ze,{attachment:l.attachments[0]}):t.jsx(Je,{children:t.jsx(Qe,{})}),t.jsxs(zn,{"data-testid":v("review-detail-info"),onClick:()=>Q(l.id,l.billPayInfo.stage.code),children:[t.jsx(W,{style:{width:"50%"},children:t.jsxs("div",{children:[l.documentId!=null?o.invoiceNo:null," ",l.documentId]})}),t.jsxs(W,{style:{width:"25%"},children:[l.dueDate!=null?o.due:null," ",l.dueDate?.format(S)]}),t.jsx(Xe,{style:{width:"25%"},windowSize:s,children:k("0,0[.]00",l.amount)})]}),t.jsx(et,{children:r!=null?Be.includes(r.code)?t.jsx(Fe,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})},l.id):null})]})]}):null,t.jsxs(Dn,{children:[t.jsx(He,{children:o.pay}),t.jsx(Ue,{children:t.jsx(Re,{amount:gt,integerStyles:H.largeMedium.cssObject,decimalStyles:H.smallMedium.cssObject})}),t.jsx(He,{children:o.to}),t.jsx(Ue,{children:e.vendor?.name})]}),t.jsxs(fn,{children:[f?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:_({type:"details",key:"withdrawFrom"}),roomId:R,companyId:c.currentTenant?.companyId??g,companyName:c.currentTenant?.companyName??g,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("withdrawFrom")}`},children:t.jsx(Z,{label:{label:o.withdrawFrom,width:L},style:{width:"auto"},value:e.paymentDetailsSection?.withdrawFrom!=null?At(e.paymentDetailsSection.withdrawFrom,s):g,infoLabelStyle:{textAlign:s==="small"?"left":"right",paddingRight:m.infoLabelPaddingRight.valuePx(s),marginTop:m.infoLabelMarginTop.valuePx(s),color:j.brandColorGoldDark},additionalInfoLabel:le})}),t.jsx(U,{})]}),t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:_({type:"details",key:"paymentType"}),roomId:R,companyId:c.currentTenant?.companyId??g,companyName:c.currentTenant?.companyName??g,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentType")}`},children:t.jsx(Z,{label:{label:o.paymentMethod,width:L},style:{width:"auto"},value:ie(i?.method??""),additionalInfoLabel:f?h?void 0:o.paymentOutsideZeni.reviewInfo:i?.method!=null&&i.method.includes(D)&&e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod!=null&&A&&ee===$.currencyCode?Ht(e.paymentDetailsSection.internationalTransferFeeBearerPaymentMethod):void 0})}),t.jsx(U,{}),f||Y==null?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:_({type:"details",key:"paymentDate"}),roomId:R,companyId:c.currentTenant?.companyId??g,companyName:c.currentTenant?.companyName??g,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentDate")}`},children:t.jsx(Z,{label:{label:o.paymentDate,width:L},style:{width:"auto"},value:Y.format(S),additionalInfoLabel:`${o.estimatedArrival}${re(en(Y.toDate(),[0,6],i?.maxPeriod.value??0).toDateString()).format(S)} - (${oe.length>0?`${oe} `:""}${o.deliveryTimeLabel} = ${i?.maxPeriod.value??"0"} ${o.deliveryTimeUnits})`})}),t.jsx(U,{})]}),f?null:t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:_({type:"details",key:"paymentTo"}),roomId:R,companyId:c.currentTenant?.companyId??g,companyName:c.currentTenant?.companyName??g,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentTo")}`},children:t.jsx(Z,{label:{label:o.paymentTo,width:L},style:{width:"auto"},value:pt??"",additionalInfoLabel:ht})}),f||it?t.jsxs(t.Fragment,{children:[t.jsx(U,{}),t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:_({type:"details",key:"recurringPaymentType"}),roomId:R,companyId:c.currentTenant?.companyId??g,companyName:c.currentTenant?.companyName??g,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("recurringPaymentType")}`},children:t.jsx(Z,{label:{label:o.paymentType,width:L},style:{width:"auto"},value:Ft(e.isRecurring,f,e.recurringBillInstance??1,e.recurringConfig?.totalPaymentCycles??0),additionalInfoLabel:Bt(s,e.isRecurring,f,e.recurringConfig)})})]}):null]}),!f&&i?.method!=null&&(i.method.includes(D)||i?.fee.amount!=null&&i.fee.amount!==0)?t.jsx(pn,{children:t.jsxs(un,{windowSize:s,children:[t.jsxs(yn,{children:[t.jsx(dn,{children:o.total}),t.jsx(Le,{style:{padding:`12px ${n.sp3}`,lineHeight:"18px"},maxWidth:"312px",title:t.jsxs(mn,{children:[t.jsxs(Ye,{children:[t.jsx(de,{children:i.method.includes(D)&&ee!==$.currencyCode?_e.conversionAmountColon:Ee.invoiceAmount}),t.jsx(se,{children:k("0,0[.]00",{amount:p.amount-z.amount,currencySymbol:z.currencySymbol})})]}),t.jsxs(Ye,{children:[t.jsx(de,{children:_e.transactionFee}),t.jsx(se,{children:k("0,0[.]00",{amount:z.amount,currencySymbol:z.currencySymbol})})]}),t.jsx(cn,{}),t.jsxs(sn,{children:[t.jsx(de,{children:Ee.total}),t.jsx(se,{children:k("0,0[.]00",{amount:p.amount,currencyCode:p.currencyCode,currencySymbol:p.currencySymbol})})]})]}),placement:"top-end",children:t.jsx(rn,{})})]}),t.jsx(hn,{children:t.jsx(Re,{amount:ze(p.amount,p.currencyCode,p.currencySymbol),integerStyles:H.h6Medium.cssObject,decimalStyles:H.standardMedium.cssObject})})]})}):null]}),t.jsx(Rt,{cancelBtn:{label:C&&!h?o.paymentOutsideZeni.markAsPaid:o.editBill,onClick:C&&!h?je:ae,isLoading:C&&!h&&te&&I?.fetchState==="In-Progress",reverseSpinnerColor:!1,style:{width:Ve(!1,C,h,q,s)}},primaryBtn:{label:Ge(h,q,e.isBillMarkedForRetry),isLoading:I?.fetchState==="In-Progress"&&(h||!te)||X?.fetchState==="In-Progress",onClick:h?je:()=>{xt&&le!=null?K(!0):Ce()},style:{width:Ve(!0,C,h,q,s)}},rightSideComponent:C&&!h&&I.fetchState!=="In-Progress"?t.jsx(Zn,{windowSize:s,children:t.jsx(Le,{style:{color:j.heroDark,padding:`2px ${n.sp2}`},display:"flex",title:on,placement:"top",children:t.jsx(Vn,{onClick:ae,"data-testid":v("review-detail-edit-bill-button"),children:t.jsx(Gn,{})})})}):null,style:{minHeight:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(D)?127:62,...e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(D)&&{padding:n.sp3,rowGap:n.sp3}},children:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(D)?t.jsxs(An,{children:[o.internationalText1,t.jsx(Bn,{href:"https://www.nium.com/legal/end-customer-terms",target:"_Blank",rel:"noopener noreferrer",children:o.internationalTerms}),o.internationalText2]}):null})]})},Ge=(e,y,x)=>e?o.paymentOutsideZeni.markAsPaid:x===!0?o.retryPayment:y?o.sendForApproval:o.scheduleBill,Ve=(e,y,x,M,A)=>x?128:y&&!e&&A==="small"?"auto":M?165:m.footerButtonWidth.value(A),rn=a(Ut)`
|
|
1
|
+
import{J as wt,t as $t,b as u,ep as vt,eq as jt,er as St,V as t,es as Ct,et as ie,eu as Tt,ev as Dt,ew as It,ex as Pt,a4 as k,ey as kt,a6 as v,ez as Mt,eA as Be,eB as Fe,eC as Re,j as H,eD as O,e as j,eE as At,eF as E,eG as _,eH as Bt,eI as Ft,bg as Le,o as n,a9 as Rt,u as d,O as Lt,K as zt,bp as Nt,H as Ot,B as Et,eJ as _t,bB as Zt,s as ce,W as me,eK as Gt,eL as Vt,aD as Yt,l as qt,at as Kt,eM as Ht,I as tt,b6 as Ut,x as nt,aR as Wt,eN as Jt}from"./index-EqHxd201.js";import{a as G}from"./sentry-Q4kep6XN.js";import{n as a}from"./mui-2NnLxiU2.js";import{cp as ze,ck as Ne,bX as D,bW as Qt,F9 as Xt,bG as re,b_ as en}from"./zeni-epic-state-DHqVwJ2L.js";import{t as tn,o as nn}from"./LowBalancePopup-ScEqPY9J-DaHnHp3d.js";import{S as Z}from"./LabeledText-DvzVOku6-BTuTGL_7.js";import"./pdf-CmlsF1Bq.js";import"./core-B0aIoG8L.js";import"./lottie-C-63nSQ2.js";import"./liveblocks-BGLG0ZRF.js";import"./recharts-DLbOXl5Z.js";import"./dnd-CeLShHIc.js";import"./analytics-JKNMIPCj.js";import"./plaid-AStGMBRC.js";import"./utils-Yz1HF93N.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]="adcf2ee3-00ce-41c3-93a0-e5ac574262c9",e._sentryDebugIdIdentifier="sentry-dbid-adcf2ee3-00ce-41c3-93a0-e5ac574262c9")}catch{}})();const at=["small","medium-compact","medium-regular"],m={largeLabelWidth:new u(150,215,215),infoMinWidth:new u(0,0,0,142,142),infoMarginRight:new u(0,0,0,d[2],d[2]),footerButtonWidth:new u(120,165),iconContainerMarginTop:new u(6,d[1]),navBarContainerPaddingTop:new u(10,d[3]),sectionTitleMarginLeft:new u(d[3],d[0]),reviewContainerMarginLeft:new u(d[3],d[6]),reviewContainerMarginRight:new u(d[3],d[8]),footerRightIconMarginRight:new u(d[0],d[0],d[7]),infoLabelPaddingRight:new u(d[0],d[3]),infoLabelMarginTop:new u(d[1],d[0])},an={sectionTitle:new Ot("h6Medium","h5Medium")},{dateFormat:Oe,common:{currency:$,labels:Ee,edit:on,strings:{empty:g}},spendManagement:{billPay:ln}}=Lt.getLocalizedStrings(),{billDetails:o,paymentDetails:_e}=ln,Ze=({attachment:e})=>{const[y,x]=G.useState(!1),M=e.fileId?.length===0;return t.jsxs(Fn,{isDisabled:e.fileId?.length===0,"data-testid":v("attachment-tag",e.fileName),onClick:()=>M===!1?x(!0):null,children:[y&&e?.fileDownloadUrl!=null?t.jsx(Gt,{title:e.fileName,file:e,onCrossClick:()=>{x(!1)},setShowFullScreenView:x}):null,t.jsx(Rn,{children:t.jsx(Vt,{contentType:e.contentType})})]})},ia=({billDetails:e,billpayApprovalView:y,isBillPayCommentingEnabled:x,currentTenant:M,isInternationalPaymentShaVsOurEnabled:A,isLocalCurrencyEnabled:ot,style:lt,analytics:w,isRecurringBillsFeatureEnabled:it,isApprovalRequiredForMarkAsPaid:rt,isDetectInsufficientFundsEnabled:st,billId:b,onClickEdit:pe,discardBillDetailsFromLocalStore:ue,saveBillDetails:ye,discardOutsideZeniPaymentData:dt,updateBillDetailSaveBillCode:he,redirectToBillsScreen:ge,onAttachmentClick:Q,retryPayment:ct})=>{const s=wt(),c=$t(),B={application:"dashboard",companyId:c.currentTenant?.companyId,tab:"bill",entityId:b},F=x&&b!=null,R=`dashboard_${c.currentTenant?.companyId}`,L=m.largeLabelWidth.value(s),I=e.saveStatus,X=e.zeniAssistRetryStatus,ee=e.vendor?.vendorCurrencyCode,i=vt(A,ot,e.billPayConfigList.filter(l=>l.method.includes(e.paymentDetailsSection?.withdrawFrom?.accType??"depositAccount")),e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,e.paymentDetailsSection?.paymentType,ee),S=Oe.visual.MMMDCommaYYYYformat,xe={amount:e.recipientTotalAmount.amount/(e.paymentDetailsSection?.conversionRate??1)*100/100,currencyCode:$.currencyCode,currencySymbol:$.currencySymbol},p={amount:i?.method.includes("international")===!0?jt(xe,i):e.recipientTotalAmount.amount+(i?.fee.amount??0),currencyCode:$.currencyCode,currencySymbol:$.currencySymbol},z={amount:i?.method.includes("international")===!0?St(xe,i):i?.fee.amount??0,currencyCode:$.currencyCode,currencySymbol:$.currencySymbol},[mt,fe]=G.useState(!1),[te,be]=G.useState(!1),we=()=>fe(!1),pt=e.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${o.magicLink.collectFrom} ${e.toAccountVendorEmail}`,t.jsx(Mn,{size:s,children:t.jsx(kn,{})})]}):Ct(e.paymentDetailsSection?.paymentTo);G.useEffect(()=>{(I?.fetchState==="Completed"||X?.fetchState==="Completed")&&(ue(),he(),ge())},[I,X,ge,ue,he]);const P=e.billPayInfo?.stage,N=e.billPayInfo?.billStatus,V=e.billPayInfo?.billPaymentStatus,ut=e.billPayInfo?.billPaymentRefundStatus,ne=P?.code==="paid"?P:N?.code=="approved"&&V?.code?V:N,yt=e.billPayInfo?.isRefundInitiated===!0?ut:N?.code=="approved"&&V?.code?V:N,ae=()=>{pe()},$e=()=>{pe()},Y=e.paymentDetailsSection?.paymentDate,oe=ie(i?.method??""),ve=oe.replace("Same Day",""),ht=e.isCollectToAccountInfoFromVendorContact?t.jsx(Tt,{paymentTypeLabel:ve,onClick:()=>{w.trackBillPayMagicLinkPreviewEmail("review_bill"),fe(!0)}}):o.addedByZeni,q=y.allApprovalRules.length>0,gt=ze(i?.method!=null&&(i.method.includes(D)||i?.fee.amount!=null&&i.fee.amount!==0)?p.amount-z.amount:p.amount,i?.fee.currencyCode??Ne.currencyCode,i?.fee.currencySymbol??Ne.currencySymbol),f=Qt(e.paymentDetailsSection?.paymentType?.method),je=()=>{be(!0),w.trackBillPayMarkAsPaid(P?.code??"draft",ne?.code??"")},C=f,h=C&&!rt,Se=Ge(h,q,e.isBillMarkedForRetry),le=st&&e.paymentDetailsSection!=null?Dt(p,e.paymentDetailsSection.withdrawFrom,e.paymentDetailsSection.paymentDate):void 0,Ce=()=>{Te===!0&&K(!1),e.isBillMarkedForRetry===!0?(ct(),w.trackRetryConfirmClick(ne?.code??"",P?.code??"",yt?.description??"",e.isRecurring?["Recurring"]:["One-Time"],e.invoiceNumber??"")):e.vendor!=null&&((()=>{const l=e.paymentDetailsSection?.paymentDate,r=e.isCollectToAccountInfoFromVendorContact,T=e.recurringConfig,ft=e.recipientTotalAmount;if(e.isInvoiceDateAutoUpdated===!0&&w.trackBillPayAutoDateChange(b??"new_bill"),i?.method!=null&&l!=null){const bt=f?o.paymentOutsideZeni.offline:ie(i.method);if(w.trackBillPaySendForApproval(bt,l.format(Oe.analytics.MMMDashDDDashYYYYFormat),r,e.isRecurring,b,e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,{startDate:re(T?.startDate?.toString()??"").format(S),endDate:re(T?.endDate?.toString()??"").format(S),frequency:T?.frequency??"monthly",totalAmount:ft.amount,totalPaymentCycles:T?.totalPaymentCycles??0,isApprovalRequired:T?.isApprovalRequired??!1,updateCurrentBill:e.recurringConfig?.id!=null?T?.updateRecurringBills==="current":void 0,updateFutureRecurringBills:e.recurringConfig?.id!=null?T?.updateRecurringBills==="all":void 0}),le!=null){const De=P?.code??"draft",Ie=N?.code??"",Pe=e.isRecurring?["Recurring"]:["One-Time"],ke=e.invoiceNumber??"",Me=Jt(c.loggedInUser),Ae=e.paymentDetailsSection?.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account";Se===o.scheduleBill?w.trackLowBalanceAccountSchedule(De,Ie,Pe,ke,Me,Ae):Se===o.sendForApproval&&w.trackLowBalanceAccountSentForApproval(De,Ie,Pe,ke,Me,Ae)}}})(),ye(!1,{}))},xt=Xt(p.amount,y.allApprovalRules,c.loggedInUser),[Te,K]=G.useState(!1);return t.jsxs(gn,{children:[te?t.jsx(tn,{onCancel:()=>{dt(),be(!1)},onProceedForMarkAsPaid:l=>{w.trackBillPayMarkAsPaidSubmit(l.paymentMode??"other",P?.code??"draft",ne?.code??""),ye(!0,l)},saveDetailsFetchState:I?.fetchState,paymentData:e.outsideZeniPaymentInfo}):null,Te?t.jsx(nn,{withdrawFrom:e.paymentDetailsSection?.withdrawFrom,paymentDate:e.paymentDetailsSection?.paymentDate,onOkClick:Ce,onCancelClick:()=>{K(!1),ae()},onClickAway:()=>{K(!1)}}):null,t.jsx(It,{anchor:"right",open:mt,onClose:we,transitionDuration:250,"data-testid":v("vendor-email-preview-drawer"),children:t.jsx(Pt,{companyName:kt(M.company?.companyInfo),vendor:e.vendor?.name,paymentDate:Y?.format(S)??"",paymentType:ve,amount:k("0,0[.]00",p),isInvoiceAttached:!!e.file,onClose:we})}),t.jsxs(xn,{windowSize:s,style:lt,children:[s==="small"?t.jsxs(Pn,{windowSize:s,children:[t.jsx(We,{onClick:$e,"data-testid":v("review-detail-nav-bar-small-back")}),t.jsx(qe,{windowSize:s,children:o.oneLastLook})]}):t.jsx(In,{"data-testid":v("review-details-nav-bar-back"),children:t.jsx(We,{onClick:$e})}),s!=="small"?t.jsx(bn,{children:t.jsx(qe,{windowSize:s,children:o.oneLastLook})}):null,e.duplicateBillTransactions.length>0?t.jsxs(wn,{children:[t.jsxs($n,{children:[t.jsx(_n,{}),t.jsxs(vn,{children:[t.jsx(Sn,{children:o.duplicateBillPayWarning}),t.jsxs(jn,{children:[o.duplicateBillPayWarningSubHeading,t.jsxs("span",{"data-testid":v("review-detail-attachment-button"),onClick:()=>Q(e.duplicateBillTransactions[0].id,e.duplicateBillTransactions[0].billPayInfo.stage.code),style:{textDecoration:"underline",cursor:"pointer"},children:[o.viewBill,e.duplicateBillTransactions[0].documentId]})]})]})]}),t.jsxs(Nn,{children:[t.jsx(En,{children:o.duplicateInvoiceFound}),e.duplicateBillTransactions.map(l=>{const r=Mt(l);return l!=null?t.jsx(On,{children:at.includes(s)?t.jsxs(Ke,{windowSize:s,children:[t.jsxs(Cn,{children:[t.jsxs(Tn,{children:[l.attachments&&l.attachments.length>0?t.jsx(Ze,{attachment:l.attachments[0]}):t.jsx(Je,{children:t.jsx(Qe,{})}),t.jsx(W,{children:t.jsxs(t.Fragment,{children:[l.documentId!=null?o.invoiceNo:null,l.documentId]})})]}),t.jsx(Xe,{windowSize:s,children:k("0,0[.]00",l.recipientTotalAmount)})]}),t.jsxs(Ln,{"data-testid":v("review-detail-mobile-info"),onClick:()=>Q(l.id,l.billPayInfo.stage.code),children:[t.jsxs(W,{children:[l.dueDate!=null?o.due:null," ",l.dueDate?.format(S)]}),t.jsx(et,{children:r!=null?Be.includes(r.code)?t.jsx(Fe,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})]}):t.jsxs(Ke,{windowSize:s,children:[l.attachments&&l.attachments.length>0?t.jsx(Ze,{attachment:l.attachments[0]}):t.jsx(Je,{children:t.jsx(Qe,{})}),t.jsxs(zn,{"data-testid":v("review-detail-info"),onClick:()=>Q(l.id,l.billPayInfo.stage.code),children:[t.jsx(W,{style:{width:"50%"},children:t.jsxs("div",{children:[l.documentId!=null?o.invoiceNo:null," ",l.documentId]})}),t.jsxs(W,{style:{width:"25%"},children:[l.dueDate!=null?o.due:null," ",l.dueDate?.format(S)]}),t.jsx(Xe,{style:{width:"25%"},windowSize:s,children:k("0,0[.]00",l.amount)})]}),t.jsx(et,{children:r!=null?Be.includes(r.code)?t.jsx(Fe,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})},l.id):null})]})]}):null,t.jsxs(Dn,{children:[t.jsx(He,{children:o.pay}),t.jsx(Ue,{children:t.jsx(Re,{amount:gt,integerStyles:H.largeMedium.cssObject,decimalStyles:H.smallMedium.cssObject})}),t.jsx(He,{children:o.to}),t.jsx(Ue,{children:e.vendor?.name})]}),t.jsxs(fn,{children:[f?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:_({type:"details",key:"withdrawFrom"}),roomId:R,companyId:c.currentTenant?.companyId??g,companyName:c.currentTenant?.companyName??g,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("withdrawFrom")}`},children:t.jsx(Z,{label:{label:o.withdrawFrom,width:L},style:{width:"auto"},value:e.paymentDetailsSection?.withdrawFrom!=null?At(e.paymentDetailsSection.withdrawFrom,s):g,infoLabelStyle:{textAlign:s==="small"?"left":"right",paddingRight:m.infoLabelPaddingRight.valuePx(s),marginTop:m.infoLabelMarginTop.valuePx(s),color:j.brandColorGoldDark},additionalInfoLabel:le})}),t.jsx(U,{})]}),t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:_({type:"details",key:"paymentType"}),roomId:R,companyId:c.currentTenant?.companyId??g,companyName:c.currentTenant?.companyName??g,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentType")}`},children:t.jsx(Z,{label:{label:o.paymentMethod,width:L},style:{width:"auto"},value:ie(i?.method??""),additionalInfoLabel:f?h?void 0:o.paymentOutsideZeni.reviewInfo:i?.method!=null&&i.method.includes(D)&&e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod!=null&&A&&ee===$.currencyCode?Ht(e.paymentDetailsSection.internationalTransferFeeBearerPaymentMethod):void 0})}),t.jsx(U,{}),f||Y==null?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:_({type:"details",key:"paymentDate"}),roomId:R,companyId:c.currentTenant?.companyId??g,companyName:c.currentTenant?.companyName??g,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentDate")}`},children:t.jsx(Z,{label:{label:o.paymentDate,width:L},style:{width:"auto"},value:Y.format(S),additionalInfoLabel:`${o.estimatedArrival}${re(en(Y.toDate(),[0,6],i?.maxPeriod.value??0).toDateString()).format(S)} - (${oe.length>0?`${oe} `:""}${o.deliveryTimeLabel} = ${i?.maxPeriod.value??"0"} ${o.deliveryTimeUnits})`})}),t.jsx(U,{})]}),f?null:t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:_({type:"details",key:"paymentTo"}),roomId:R,companyId:c.currentTenant?.companyId??g,companyName:c.currentTenant?.companyName??g,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentTo")}`},children:t.jsx(Z,{label:{label:o.paymentTo,width:L},style:{width:"auto"},value:pt??"",additionalInfoLabel:ht})}),f||it?t.jsxs(t.Fragment,{children:[t.jsx(U,{}),t.jsx(O,{isThreadAllowed:F,entityId:b,dashboardTabKey:_({type:"details",key:"recurringPaymentType"}),roomId:R,companyId:c.currentTenant?.companyId??g,companyName:c.currentTenant?.companyName??g,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("recurringPaymentType")}`},children:t.jsx(Z,{label:{label:o.paymentType,width:L},style:{width:"auto"},value:Ft(e.isRecurring,f,e.recurringBillInstance??1,e.recurringConfig?.totalPaymentCycles??0),additionalInfoLabel:Bt(s,e.isRecurring,f,e.recurringConfig)})})]}):null]}),!f&&i?.method!=null&&(i.method.includes(D)||i?.fee.amount!=null&&i.fee.amount!==0)?t.jsx(pn,{children:t.jsxs(un,{windowSize:s,children:[t.jsxs(yn,{children:[t.jsx(dn,{children:o.total}),t.jsx(Le,{style:{padding:`12px ${n.sp3}`,lineHeight:"18px"},maxWidth:"312px",title:t.jsxs(mn,{children:[t.jsxs(Ye,{children:[t.jsx(de,{children:i.method.includes(D)&&ee!==$.currencyCode?_e.conversionAmountColon:Ee.invoiceAmount}),t.jsx(se,{children:k("0,0[.]00",{amount:p.amount-z.amount,currencySymbol:z.currencySymbol})})]}),t.jsxs(Ye,{children:[t.jsx(de,{children:_e.transactionFee}),t.jsx(se,{children:k("0,0[.]00",{amount:z.amount,currencySymbol:z.currencySymbol})})]}),t.jsx(cn,{}),t.jsxs(sn,{children:[t.jsx(de,{children:Ee.total}),t.jsx(se,{children:k("0,0[.]00",{amount:p.amount,currencyCode:p.currencyCode,currencySymbol:p.currencySymbol})})]})]}),placement:"top-end",children:t.jsx(rn,{})})]}),t.jsx(hn,{children:t.jsx(Re,{amount:ze(p.amount,p.currencyCode,p.currencySymbol),integerStyles:H.h6Medium.cssObject,decimalStyles:H.standardMedium.cssObject})})]})}):null]}),t.jsx(Rt,{cancelBtn:{label:C&&!h?o.paymentOutsideZeni.markAsPaid:o.editBill,onClick:C&&!h?je:ae,isLoading:C&&!h&&te&&I?.fetchState==="In-Progress",reverseSpinnerColor:!1,style:{width:Ve(!1,C,h,q,s)}},primaryBtn:{label:Ge(h,q,e.isBillMarkedForRetry),isLoading:I?.fetchState==="In-Progress"&&(h||!te)||X?.fetchState==="In-Progress",onClick:h?je:()=>{xt&&le!=null?K(!0):Ce()},style:{width:Ve(!0,C,h,q,s)}},rightSideComponent:C&&!h&&I.fetchState!=="In-Progress"?t.jsx(Zn,{windowSize:s,children:t.jsx(Le,{style:{color:j.heroDark,padding:`2px ${n.sp2}`},display:"flex",title:on,placement:"top",children:t.jsx(Vn,{onClick:ae,"data-testid":v("review-detail-edit-bill-button"),children:t.jsx(Gn,{})})})}):null,style:{minHeight:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(D)?127:62,...e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(D)&&{padding:n.sp3,rowGap:n.sp3}},children:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(D)?t.jsxs(An,{children:[o.internationalText1,t.jsx(Bn,{href:"https://www.nium.com/legal/end-customer-terms",target:"_Blank",rel:"noopener noreferrer",children:o.internationalTerms}),o.internationalText2]}):null})]})},Ge=(e,y,x)=>e?o.paymentOutsideZeni.markAsPaid:x===!0?o.retryPayment:y?o.sendForApproval:o.scheduleBill,Ve=(e,y,x,M,A)=>x?128:y&&!e&&A==="small"?"auto":M?165:m.footerButtonWidth.value(A),rn=a(Ut)`
|
|
2
2
|
width: ${n.sp3};
|
|
3
3
|
height: ${n.sp3};
|
|
4
4
|
color: ${e=>e.theme.colors.hero};
|
package/dist/assets/{ReviewOverlay-BoM41t8W-CTSAEiQG.js → ReviewOverlay-BoM41t8W-DgI6cFXd.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as M,V as i,a6 as m,o as r,a9 as P,b as d,a8 as L,H as W,B as I,e as s,s as j,bW as D,f as R,x as S,aC as G,u as o,dC as A,aA as _,hZ as F}from"./index-
|
|
1
|
+
import{J as M,V as i,a6 as m,o as r,a9 as P,b as d,a8 as L,H as W,B as I,e as s,s as j,bW as D,f as R,x as S,aC as G,u as o,dC as A,aA as _,hZ as F}from"./index-EqHxd201.js";import{n as t}from"./mui-2NnLxiU2.js";import{a as w}from"./sentry-Q4kep6XN.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="9d0ec0d7-b8c1-4bc8-9e3c-5bfce6c5d3b3",e._sentryDebugIdIdentifier="sentry-dbid-9d0ec0d7-b8c1-4bc8-9e3c-5bfce6c5d3b3")}catch{}})();const a={containerMarginTop:new d(0,o[2]),containerMarginLeft:new d(o[3],o[8]),containerMarginRight:new d(o[3],o[8]),subTitleMarginBottom:new d(o[2],o[2]),titleMarginBotom:new d(o[0],o[2]),titleMarginRight:new d(o[0],o[3]),navBarHeight:new d(62,62,62),navBarPaddingLeft:new d(o[3],o[3],o[8]),navBarPaddingRight:new d(o[3],o[3],o[8])},H={title:new W("h6Regular","h5Regular")},me=({title:e,description:g,reviewItems:x,showFooter:z,footerProps:{primaryButton:C,cancelButton:T,hideCancel:E},onCloseOverlay:k,onCloseReviewItem:B})=>{const l=M();return i.jsxs(J,{children:[i.jsx(U,{windowSize:l,children:i.jsx(X,{children:i.jsx(Y,{windowSize:l,children:i.jsx(ee,{children:i.jsx(ie,{onClick:k,"data-testid":m("review-overlay-close",e)})})})})}),i.jsxs(O,{windowSize:l,children:[i.jsxs(V,{windowSize:l,children:[i.jsx(q,{children:i.jsx(K,{windowSize:l,children:e})}),i.jsx(N,{isError:g.isError,windowSize:l,children:g.content})]}),i.jsx(Q,{windowSize:l,children:x.map(n=>{const h=n.reviewStatus.code==="error",c=n.reviewStatus.code==="warning"||n.reviewStatus.code==="low-balance";return i.jsxs(re,{isLoading:!1,isActive:!0,isWarning:c,isError:h,children:[c?i.jsx(ce,{onClick:()=>B(n.id),"data-testid":m("review-close",n.id)}):null,i.jsxs(te,{children:[i.jsxs(oe,{children:[i.jsx(de,{children:Z(n)}),i.jsxs(ne,{children:[i.jsxs(u,{children:[i.jsx($,{style:{marginLeft:r.sp2},isWarning:c,isError:h,children:n.leftSideText.title}),i.jsx($,{isWarning:c,isError:h,children:n.rightSideText.title})]}),i.jsxs(u,{children:[i.jsx(se,{style:{marginLeft:r.sp2},children:n.leftSideText.subTitle}),l!=="small"?i.jsxs(f,{windowSize:l,children:[i.jsx(p,{isError:h,isWarning:c,children:i.jsxs(i.Fragment,{children:[n.rightSideText.showThunderIcon===!0?i.jsx(v,{children:i.jsx(b,{})}):null,n.rightSideText.subTitle]})}),i.jsx(p,{isWarning:!0,isError:!1,children:n.rightSideText.additonalInfo})]}):null]})]})]}),l==="small"?i.jsxs(f,{windowSize:l,children:[i.jsx(p,{style:{marginLeft:r.sp5,marginTop:r.sp0},isError:h,isWarning:c,children:i.jsxs(i.Fragment,{children:[n.rightSideText.showThunderIcon===!0?i.jsx(v,{children:i.jsx(b,{})}):null,n.rightSideText.subTitle]})}),i.jsx(p,{style:{marginLeft:r.sp5,marginTop:r.sp0},isWarning:c,isError:h,children:n.rightSideText.additonalInfo})]}):null]})]},n.id)})})]}),z?i.jsx(P,{primaryBtn:C,cancelBtn:T,showCancel:!E}):null]})},Z=e=>e.reviewStatus.isLoading?i.jsx(R,{size:"Small",style:{display:"flex",width:r.sp4,height:r.sp4,alignItems:"center",justifyContent:"center"},start:!0}):e.reviewStatus.code==="error"?i.jsx(y,{isError:!0}):e.reviewStatus.code==="warning"?i.jsx(y,{isError:!1}):e.reviewStatus.code==="valid"?i.jsx(le,{}):e.reviewStatus.code==="low-balance"?i.jsx(he,{}):i.jsx(ae,{}),J=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey4};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as e}from"./pdf-
|
|
1
|
+
import{j as e}from"./pdf-CmlsF1Bq.js";import{aE as x,je as w,aF as b,bc as E,jl as p,G as F,m3 as L,aG as P}from"./index-EqHxd201.js";import"./mui-2NnLxiU2.js";import m from"./NotFoundScreen-BbpMMX9s.js";import{a as f}from"./sentry-Q4kep6XN.js";import{i as R,u as y,j as T,h as V,k as U,R as A,m as u}from"./core-B0aIoG8L.js";import{cs as G,Nb as C,Ka as z,Nc as N,pK as K,cF as Y,Nd as O,pI as q}from"./zeni-epic-state-DHqVwJ2L.js";import{R as j}from"./ReferralListScreen-SWZzL8_L.js";import"./lottie-C-63nSQ2.js";import"./liveblocks-BGLG0ZRF.js";import"./recharts-DLbOXl5Z.js";import"./dnd-CeLShHIc.js";import"./analytics-JKNMIPCj.js";import"./plaid-AStGMBRC.js";import"./utils-Yz1HF93N.js";import"./MobileAppDrawer-sKiHtZDX.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new a.Error().stack;t&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[t]="cb2eca61-bc39-49f9-8f04-aa8f9223fdae",a._sentryDebugIdIdentifier="sentry-dbid-cb2eca61-bc39-49f9-8f04-aa8f9223fdae")}catch{}})();const B=U(function(a,t){const n=C(a);return{inviteFormView:n.localData,submitStatus:n.saveStatus,userName:t.userName,rewardsPlan:n.rewardsPlan,companyLegalName:t.companyName}},function(a,t){const{navigate:n}=t,o=w.getSignedInUser();return{onDismissClick:()=>{a(N()),n("..")},onSendClick:()=>{if(o!=null){const s=[],r=[];t.inviteFormCompayData.forEach(c=>{s.push(c.companyName),r.push(c.emailIds[0])}),p.trackInviteEmailClicked("send",s,r,s.length)}a(q())},onUpdateInviteFormLocalData:s=>{a(O({localData:s}))},onSubmitSuccess:()=>{n("../../")},onCancelClick:()=>{o!=null&&p.trackInviteEmailClicked("cancel")}}})(L),H=()=>{const a=R(),[t,n]=f.useState(!1),[o,s]=f.useState(!1),r=y(i=>G(i)),c=T(),k=V(),{useDynamicConfig:g}=x(),d=w.getSignedInUser();if(d==null)throw Error("Can't access invite referral screen without signing in...");const l=y(i=>C(i)),v=d?.firstName!=null?d.firstName:"User",{configValue:h}=g(b.zeniCardsConfig),{configValue:D}=g(b.zeniAccountsConfig),_=z(D);f.useEffect(()=>{a(N()),r?.rewardsLastViewedTime==null&&o===!1&&(a(K()),s(!0))},[]),f.useEffect(()=>{t||l.fetchState!=="Not-Started"||(n(!0),a(Y(!0)))},[l.fetchState,a]);const I=r.company?.companyInfo.companyLegalName??r.companyName;return e.jsxs(e.Fragment,{children:[l.fetchState==="Completed"?e.jsx(E,{analytics:p,onLoad:i=>(S=>S.trackPageLoaded(F.Event.inviteEmailViewed))(i)}):null,e.jsx(B,{navigate:c,location:k,currentTenant:r,companyName:I,userName:v,inviteFormCompayData:l.localData,chargeCardCashbackRatePerTransaction:h.charge_card_cashback_rate_per_transaction!=null?h.charge_card_cashback_rate_per_transaction:.0175,maxAnnualPercentageYield:_.maxAnnualPercentageYield})]})};function la(){const{useFeatureGate:a}=x(),{isFeatureEnabled:t}=a(P.isReferralFeatureEnabled);return e.jsxs(A,{children:[e.jsx(u,{path:"/",element:t?e.jsx(j,{}):e.jsx(m,{})}),e.jsx(u,{path:"how-it-works",element:t?e.jsx(j,{isReferralDrawerOpen:!0}):e.jsx(m,{})}),e.jsx(u,{path:"refer/*",element:t?e.jsx(H,{}):e.jsx(m,{})}),e.jsx(u,{path:"*",element:e.jsx(m,{})})]})}export{la as default};
|
package/dist/assets/{RoleWithToolTip-C8x5yXaK-Dmelwbqx.js → RoleWithToolTip-C8x5yXaK-BPbsiT1k.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e4 as c,e5 as h,V as s,bg as g,o as d,a6 as n,O as x,k as f,x as p}from"./index-
|
|
1
|
+
import{e4 as c,e5 as h,V as s,bg as g,o as d,a6 as n,O as x,k as f,x as p}from"./index-EqHxd201.js";import{n as l}from"./mui-2NnLxiU2.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]="b6821861-4674-4a7e-85ad-88196810edf4",e._sentryDebugIdIdentifier="sentry-dbid-b6821861-4674-4a7e-85ad-88196810edf4")}catch{}})();const{hyphen:i}=x.getLocalizedStrings().common.strings,m=l.div``,y=l.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-width: 192px;
|
|
4
4
|
justify-content: space-between;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a7 as U,hv as X,fY as fe,dT as Le,hw as we,T as Je,hx as Me,b$ as _e,c0 as Ve,V as a,A as Pe,bK as Fe,bL as Ne,bM as $e,a9 as qe,hy as Be,hz as Re,O as ve,_ as ue,hA as Se,hB as We,c3 as Ue,J as ze,hP as He,g1 as ie,u as q,e as De,b as ye,c4 as Ke,hC as Ge,hD as Ye,hE as Qe,o as V}from"./index-
|
|
1
|
+
import{a7 as U,hv as X,fY as fe,dT as Le,hw as we,T as Je,hx as Me,b$ as _e,c0 as Ve,V as a,A as Pe,bK as Fe,bL as Ne,bM as $e,a9 as qe,hy as Be,hz as Re,O as ve,_ as ue,hA as Se,hB as We,c3 as Ue,J as ze,hP as He,g1 as ie,u as q,e as De,b as ye,c4 as Ke,hC as Ge,hD as Ye,hE as Qe,o as V}from"./index-EqHxd201.js";import{a as D}from"./sentry-Q4kep6XN.js";import{n as R}from"./mui-2NnLxiU2.js";import{bH as Xe,bI as Ze}from"./zeni-epic-state-DHqVwJ2L.js";import{i as et,r as tt,n as lt,o as at}from"./ScheduleSequenceTable-J6Eja8XA-CGs8BkOX.js";import"./pdf-CmlsF1Bq.js";import"./core-B0aIoG8L.js";import"./lottie-C-63nSQ2.js";import"./liveblocks-BGLG0ZRF.js";import"./recharts-DLbOXl5Z.js";import"./dnd-CeLShHIc.js";import"./analytics-JKNMIPCj.js";import"./plaid-AStGMBRC.js";import"./utils-Yz1HF93N.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]="12e7dfef-3f7d-4592-aaad-5bcae297e574",e._sentryDebugIdIdentifier="sentry-dbid-12e7dfef-3f7d-4592-aaad-5bcae297e574")}catch{}})();const B={labelWidth:new ye(160,160,160),depCategoryLabelWidth:new ye(200,280,280)},st=R.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a7 as P,hv as Q,fY as ke,dT as Ae,hw as Ie,T as Je,hx as we,b$ as Le,c0 as Me,V as a,A as Ve,bK as Pe,bL as _e,bM as $e,a9 as Fe,hy as Ne,hz as Be,O as De,_ as ce,hA as pe,hB as ze,c3 as Re,J as Ue,g1 as me,u as X,e as qe,b as We,hC as Ke,hD as Ge,hE as He,o as A}from"./index-
|
|
1
|
+
import{a7 as P,hv as Q,fY as ke,dT as Ae,hw as Ie,T as Je,hx as we,b$ as Le,c0 as Me,V as a,A as Ve,bK as Pe,bL as _e,bM as $e,a9 as Fe,hy as Ne,hz as Be,O as De,_ as ce,hA as pe,hB as ze,c3 as Re,J as Ue,g1 as me,u as X,e as qe,b as We,hC as Ke,hD as Ge,hE as He,o as A}from"./index-EqHxd201.js";import{a as D}from"./sentry-Q4kep6XN.js";import{n as M}from"./mui-2NnLxiU2.js";import{bH as Ye,bI as Qe,bG as Xe}from"./zeni-epic-state-DHqVwJ2L.js";import{i as Ze,r as et,n as tt,o as lt}from"./ScheduleSequenceTable-J6Eja8XA-CGs8BkOX.js";import"./pdf-CmlsF1Bq.js";import"./core-B0aIoG8L.js";import"./lottie-C-63nSQ2.js";import"./liveblocks-BGLG0ZRF.js";import"./recharts-DLbOXl5Z.js";import"./dnd-CeLShHIc.js";import"./analytics-JKNMIPCj.js";import"./plaid-AStGMBRC.js";import"./utils-Yz1HF93N.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]="2ef95839-3f31-4ff7-a93a-3f38c20d4346",e._sentryDebugIdIdentifier="sentry-dbid-2ef95839-3f31-4ff7-a93a-3f38c20d4346")}catch{}})();const N={labelWidth:new We(160,160,160)},at=M.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as A,y as Q,V as i,hF as te,hG as oe,H as le,hH as xe,d5 as fe,eC as we,j as I,O as R,hI as ye,hE as be,o as t,b as $,e as S,l as $e,_ as ne,d1 as je,bK as Se,bM as ke,c3 as X,dL as ee,bZ as ve,hJ as K,hK as De,an as Ce,hL as Me,bO as ze,hM as Le,u,s as L,at as Oe,bL as Ee,m as pe,dU as Ie,al as re,dG as Ae,a9 as Fe,hN as F,fx as Te,a4 as Je,hO as Ve,ad as q,ch as Be,aC as Pe}from"./index-
|
|
1
|
+
import{J as A,y as Q,V as i,hF as te,hG as oe,H as le,hH as xe,d5 as fe,eC as we,j as I,O as R,hI as ye,hE as be,o as t,b as $,e as S,l as $e,_ as ne,d1 as je,bK as Se,bM as ke,c3 as X,dL as ee,bZ as ve,hJ as K,hK as De,an as Ce,hL as Me,bO as ze,hM as Le,u,s as L,at as Oe,bL as Ee,m as pe,dU as Ie,al as re,dG as Ae,a9 as Fe,hN as F,fx as Te,a4 as Je,hO as Ve,ad as q,ch as Be,aC as Pe}from"./index-EqHxd201.js";import{n as l,c as B}from"./mui-2NnLxiU2.js";import{a as C}from"./sentry-Q4kep6XN.js";import{bs as G,FF as Re}from"./zeni-epic-state-DHqVwJ2L.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]="5268a9f7-bf1b-4fb7-a850-9c85d9f3ff69",e._sentryDebugIdIdentifier="sentry-dbid-5268a9f7-bf1b-4fb7-a850-9c85d9f3ff69")}catch{}})();const N=(e,o)=>`${e}.${o}`,{formElements:{dayOfMonthSelector:M},common:se}=R.getLocalizedStrings();function Ne({defaultValue:e,name:o,placeholder:s,alignLeft:n=!1,style:p,isDisabled:r,registerOptions:c,onSaveClick:h,onCancelClick:y}){const[w,a]=C.useState(!1),{control:g,formState:{errors:b},setValue:k}=X(),v=()=>{f||(h(),a(!1))},x=()=>{y(),a(!1)},f=ee(b,o),m=A(),d=Q();return i.jsx(pe,{onClickAway:()=>{a(!1)},children:i.jsx(Ze,{style:p,isDisabled:r!=null,windowSize:m,onClick:()=>{!w&&r==null&&a(!0)},children:i.jsx(Ie,{name:N(o,"dayOfMonth"),control:g,rules:{...c},render:()=>i.jsxs(Ye,{children:[i.jsx(We,{placeholder:s,defaultValue:e,isDisabled:r}),w?i.jsxs(Ge,{alignLeft:n===!0,children:[i.jsx(ei,{}),i.jsxs(ae,{isSelected:e.type==="day",children:[i.jsxs(Xe,{isError:e.type==="day"&&f,children:[i.jsx(re,{label:{label:M.pickDate},radioField:{id:"day",name:N(o,"type"),value:"day",radioSize:"small",checked:e.type==="day"},style:{...I.smallRegular.cssObject,padding:`${t.sp3} ${t.sp0}`,width:"fit-content",marginLeft:t.sp3,minWidth:"35%"},labelStyle:{color:e.type==="day"&&f?S.important:"inherit"}}),i.jsx(Ae,{name:N(o,"dayOfMonth"),type:"number",placeholder:M.placeholder,disableCopyPaste:!0,autoTrim:"trim",onKeyDown:j=>{j.key!=="Backspace"&&isNaN(parseInt(j.key))&&j.preventDefault()},defaultValue:e.dayOfMonth==null||isNaN(e.dayOfMonth)?0:e.dayOfMonth,registerOptions:{min:1,max:28},outerDivStyle:{width:"fit-content",marginLeft:t.sp1,marginRight:t.sp1},style:{border:`1px solid ${e.type==="day"&&f?S.important:d.colors.grey2}`,borderRadius:t.sp1,...I.smallRegular.cssObject,padding:t.sp2,maxWidth:"35px",boxSizing:"border-box"}}),i.jsx(Ue,{isSelected:e.type==="day",children:M.ofEveryMonth})]}),i.jsx(He,{defaultValue:e.dayOfMonth,onClick:j=>{k(`${o}.dayOfMonth`,j),k(`${o}.type`,"day")}})]}),i.jsx(ii,{}),i.jsx(ae,{isSelected:e.type==="lastDayOfMonth",children:i.jsx(re,{label:{label:M.lastDayOfMonth},radioField:{id:"lastDayOfMonth",name:N(o,"type"),value:"lastDayOfMonth",radioSize:"small",checked:e.type==="lastDayOfMonth"},style:{...I.smallRegular.cssObject,padding:`${t.sp3} ${t.sp0}`,width:"fit-content",marginLeft:t.sp3},labelStyle:{color:e.type==="lastDayOfMonth"&&f?S.important:"inherit"}})}),i.jsx(Fe,{primaryBtn:{label:se.footer.save,onClick:v,isDisabled:_e(e),type:"button",style:{minWidth:"83px"}},cancelBtn:{label:se.footer.cancel,onClick:x,style:{minWidth:"83px"}},style:{position:"unset",backgroundColor:"transparent"}})]}):null]})})})})}function We({placeholder:e,defaultValue:o,isDisabled:s}){return i.jsxs(qe,{isDisabled:s!=null,children:[o?.type==null?i.jsx(Ke,{children:e}):null,o?.type=="day"&&o.dayOfMonth!=null?i.jsxs(de,{children:[i.jsx(W,{children:M.daysOfMonth[`${o.dayOfMonth}`]}),i.jsx(W,{children:M.ofEveryMonth})]}):null,o?.type==="lastDayOfMonth"?i.jsxs(de,{children:[i.jsx(W,{children:M.daysOfMonth.lastDayOfMonth}),i.jsx(W,{children:M.ofEveryMonth})]}):null]})}function He({defaultValue:e,onClick:o}){return i.jsxs(Qe,{children:[i.jsx(H,{children:[...Array(7).keys()].map(s=>{const n=s+1;return i.jsx(_,{isSelected:n===e,onClick:()=>o(Re(n)),children:n},n)})}),i.jsx(H,{children:[...Array(7).keys()].map(s=>{const n=s+8;return i.jsx(_,{isSelected:n===e,onClick:()=>o(n),children:n},n)})}),i.jsx(H,{children:[...Array(7).keys()].map(s=>{const n=s+15;return i.jsx(_,{isSelected:n===e,onClick:()=>o(n),children:n},n)})}),i.jsx(H,{children:[...Array(7).keys()].map(s=>{const n=s+22;return i.jsx(_,{isSelected:n===e,onClick:()=>o(n),children:n},n)})})]})}const _e=e=>{switch(e.type){case"day":return e.dayOfMonth==null;case"lastDayOfMonth":return!1;default:return!0}},Ye=l.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
`,qe=l.div`
|
|
4
4
|
display: flex;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/DashboardRoutes-
|
|
2
|
-
import{_ as n,bm as cs,cs as ds,cz as ms,cx as us,cy as _s,dl as As,cu as Es,bP as Ee,Fb as ps,cR as Is,bF as gs,bG as xs,bs as js,cX as Ts,v as hs,Go as Us,bt as bs,Gp as Hs,Fk as Rs,cU as ys,Fa as Ds,Ej as Cs,Ek as fs,Gq as vs,Gr as Os,bM as Ps,bO as Fs,bN as ks,bK as Ls,bL as Bs,jA as pe,ct as Ie,Gs as Vs,c_ as ge,dq as xe,dr as je,c$ as Ss}from"./zeni-epic-state-BtVcBgvu.js";import{j as e}from"./pdf-DWoGjGSw.js";import{a as f}from"./sentry-BoIfGJBF.js";import{i as Ns,j as Gs,l as Ms,h as Zs,u as w,g as Te,N as c,R as ws,m as t}from"./core-BSWMBnrJ.js";import{y as zs,jd as $s,je as b,aE as qs,jj as Ys,aH as Ws,aG as k,t as Ks,jf as L,O as he,jg as _,jk as Xs,jl as ee,jm as l}from"./index-T6cemxxv.js";import"./mui-GaW5Gk_e.js";import{f as Ue}from"./analyticsHelper-CRAJfei1.js";import{t as Js}from"./getLocaleForTenant-CeTv0_64.js";import"./lottie-DOxhyevU.js";import"./liveblocks--WiFaeN0.js";import"./recharts-BQ8VH5gX.js";import"./dnd-DJrh3JTW.js";import"./analytics-BZz0SPy3.js";import"./plaid-CNcdZ4gc.js";import"./utils-BGRwbgi2.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},v=new i.Error().stack;v&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[v]="b958a821-751d-4625-985e-7857d3cb9a10",i._sentryDebugIdIdentifier="sentry-dbid-b958a821-751d-4625-985e-7857d3cb9a10")}catch{}})();const Qs={dashboard:()=>n(()=>import("./DashboardRoutes-BcGPSKnY.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24])),bills:()=>n(()=>import("./BillPayRoutes-JOylN2BD.js"),__vite__mapDeps([25,1,2,3,4,5,6,7,8,9,10,11,12,13,14,26,19,27,28,29,30,22,23,31,20,18,32,33,34,35])),reimbursement:()=>n(()=>import("./ReimbursementRoutes-CgHILlr6.js"),__vite__mapDeps([36,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,31,22,20,18,32,23,28,30,37,34,35])),transactions:()=>n(()=>import("./TransactionListRoutes-CMLh_lHF.js"),__vite__mapDeps([38,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,39])),settings:()=>n(()=>import("./SettingsRoutes-DcfqDJnj.js"),__vite__mapDeps([40,1,2,3,4,5,6,7,8,9,10,11,12,13,14,22,41,26,19,20,32,18,21,33,34,37])),reports:()=>n(()=>import("./ReportsRoutes-BiPwCg8q.js"),__vite__mapDeps([42,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,23,18,22])),chargeCards:()=>n(()=>import("./ChargeCardRoutes-V_6E2iyX.js"),__vite__mapDeps([43,1,2,3,4,5,6,7,8,9,10,11,12,13,14,31,22,19,20,18,32,26])),people:()=>n(()=>import("./PeopleRoutes-DkWBrchL.js"),__vite__mapDeps([44,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,22])),expenseAutomation:()=>n(()=>import("./ExpenseAutomationRoutes-CQ8o1Ut2.js"),__vite__mapDeps([45,1,2,3,4,19,5,6,7,8,9,10,11,12,13,14,16,17,18,15,41,30])),treasury:()=>n(()=>import("./TreasuryRoutes-Uv2Q4-px.js"),__vite__mapDeps([46,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,31,22,20,18,32,23])),vendors:()=>n(()=>import("./VendorsRoutes-BTXTUssE.js"),__vite__mapDeps([47,1,2,3,4,5,6,7,8,9,10,11,12,13,14,26,19,23,18,48,22,29,30,41])),zeniAccounts:()=>n(()=>import("./ZeniAccountRoutes-ZzewLkL8.js"),__vite__mapDeps([49,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,31,22,20,18,32,23,27,26,39]))},en=["bills","transactions","settings","reimbursement","reports","chargeCards","people"],se=i=>{"requestIdleCallback"in window?requestIdleCallback(i):setTimeout(i,100)},sn=l(()=>n(()=>import("./ReportsRoutes-BiPwCg8q.js"),__vite__mapDeps([42,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,23,18,22]))),nn=l(()=>n(()=>import("./AddressRoutes-CN9yzNia.js"),__vite__mapDeps([50,1,2,3,4,26,5,6,7,8,9,10,11,12,13,14,19]))),an=l(()=>n(()=>import("./PeopleRoutes-DkWBrchL.js"),__vite__mapDeps([44,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,22]))),tn=l(()=>n(()=>import("./PandLWithForecastRoutes-C-17dXbC.js"),__vite__mapDeps([51,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,23,18,22]))),rn=l(()=>n(()=>import("./CustomerOnboardingRoutes-yXJnudqI.js"),__vite__mapDeps([52,1,2,3,4,26,5,6,7,8,9,10,11,12,13,14,19,53,54,55,56,57,58,17]))),on=l(()=>n(()=>import("./VendorsRoutes-BTXTUssE.js"),__vite__mapDeps([47,1,2,3,4,5,6,7,8,9,10,11,12,13,14,26,19,23,18,48,22,29,30,41]))),ln=l(()=>n(()=>import("./TransactionDetailRoutes-TOpy1uKa.js"),__vite__mapDeps([59,1,2,3,4,19,5,6,7,8,9,10,11,12,13,14,16,17,18]))),be=l(()=>n(()=>import("./EntityDetailRoutes-B5R1QZWM.js"),__vite__mapDeps([60,1,2,3,4,5,6,7,8,9,10,11,12,13,14,17,15,16,18]))),cn=l(()=>n(()=>import("./DashboardRoutes-BcGPSKnY.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24]))),He=l(()=>n(()=>import("./BillPayRoutes-JOylN2BD.js"),__vite__mapDeps([25,1,2,3,4,5,6,7,8,9,10,11,12,13,14,26,19,27,28,29,30,22,23,31,20,18,32,33,34,35]))),dn=l(()=>n(()=>import("./SettingsRoutes-DcfqDJnj.js"),__vite__mapDeps([40,1,2,3,4,5,6,7,8,9,10,11,12,13,14,22,41,26,19,20,32,18,21,33,34,37]))),Re=l(()=>n(()=>import("./ReimbursementRoutes-CgHILlr6.js"),__vite__mapDeps([36,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,31,22,20,18,32,23,28,30,37,34,35]))),mn=l(()=>n(()=>import("./ZeniAccountRoutes-ZzewLkL8.js"),__vite__mapDeps([49,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,31,22,20,18,32,23,27,26,39]))),un=l(()=>n(()=>import("./TreasuryRoutes-Uv2Q4-px.js"),__vite__mapDeps([46,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,31,22,20,18,32,23]))),_n=l(()=>n(()=>import("./TransactionListRoutes-CMLh_lHF.js"),__vite__mapDeps([38,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,39]))),An=l(()=>n(()=>import("./ChargeCardRoutes-V_6E2iyX.js"),__vite__mapDeps([43,1,2,3,4,5,6,7,8,9,10,11,12,13,14,31,22,19,20,18,32,26]))),En=l(()=>n(()=>import("./NotificationRoutes-DAiqyeoY.js"),__vite__mapDeps([61,1,2,3,4,19,5,6,7,8,9,10,11,12,13,14]))),pn=l(()=>n(()=>import("./PerformanceRoutes-BfVGXw_c.js"),__vite__mapDeps([62,1,2,3,4,19,5,6,7,8,9,10,11,12,13,14,22]))),In=l(()=>n(()=>import("./ExpenseAutomationRoutes-CQ8o1Ut2.js"),__vite__mapDeps([45,1,2,3,4,19,5,6,7,8,9,10,11,12,13,14,16,17,18,15,41,30]))),gn=l(()=>n(()=>import("./RewardsRoutes-E5CnWJ-f.js"),__vite__mapDeps([63,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,24,22]))),xn=l(()=>n(()=>import("./TaskRoutes-JZtbl56L.js"),__vite__mapDeps([64,1,2,3,4,19,5,6,7,8,9,10,11,12,13,14,28,22]))),jn=l(()=>n(()=>import("./AiCfoScreen-gLF8Y46q.js"),__vite__mapDeps([65,1,2,3,4,5,6,7,8,9,10,11,12,13,14,48]))),y=l(()=>n(()=>import("./NotFoundScreen-LuCzwVbP.js"),__vite__mapDeps([19,1,2,3,4,5,6,7,8,9,10,11,12,13,14]))),Tn=l(()=>n(()=>import("./TaskListScreen-D2hgfbUK.js"),__vite__mapDeps([66,1,2,3,4,5,6,7,8,9,10,11,12,13,14,22])));function Zn({setTenantEmailDomain:i,isAiCfoOpen:v=!1,setIsAiCfoOpen:V}){const O=Ns(),M=Gs(),{tenantEmailDomain:o}=Ms(),D=zs().mode,{setLoading:B,clearAllLoading:De,clearLoading:K}=$s(),R=b.getSignedInUserTenant(o)?.tenantId,T=b.getSignedInUser(),X=cs(T),z=Zs(),[N,Ce]=f.useState(!1),r=w(a=>ds(a)),{useFeatureGate:P}=qs(),J=Ys(),fe=Ws(),{isFeatureEnabled:ve}=P(k.isExpenseAutomationEnabled),{isFeatureEnabled:Oe}=P(k.isExpenseAutomationEnabledV2),Pe=Oe||ve&&X,{isFeatureEnabled:Fe}=P(k.isDepositAccountsFeatureEnabled),{isFeatureEnabled:ke}=P(k.isTreasuryEnabled),{isFeatureEnabled:Le}=P(k.isChargeCardFeatureEnabled),{isFeatureEnabled:ne}=P(k.isDebitCardFeatureEnabled),h=w(a=>a.tenantState.fetchState),E=w(a=>a.tenantState.activeTenantFetchState.fetchState),u=E==="Completed"||h==="Completed"?ms(ne,r):void 0,$=E==="Completed"||h==="Completed"?us(r):void 0,Be=E==="Completed"||h==="Completed"?_s(r):void 0,Ve=Le||ne||!!Be||!!$||!!u,{isFeatureEnabled:Se}=P(k.isSettingsFeatureEnabled),{isFeatureEnabled:Ne}=P(k.isAiCfoFileUploadEnabled),q=w(a=>As(a));if(o!=null){const a=b.getSignedInUserTenant(o);T!=null&&a!=null&&Ue(T,r,D)}const Z={tenantId:R,userId:T?.userId,sessionId:T?.zeniSessionId},ae=Es(),A=Ks(),Ge=r.company==null||A?.loggedInUserRoleMap!=null&&Ee(A.loggedInUserRole),Me=ps(A?.loggedInUserRoleMap),te=f.useRef(!0),ie=Te("/:tenantEmailDomain/onboarding/*")!==null,Q=Te("/:tenantEmailDomain/month_end_close_checks/review/:selectedTab/:selectedPeriod/*"),Ze=w(a=>Z.tenantId!=null?Is(a,Z.tenantId):void 0);f.useEffect(()=>{B(L.TENANT_FETCHING),i(o)},[o]),f.useEffect(()=>{if(Q!=null&&R!=null){const a=Q.params.selectedPeriod;if(a!=null){const U=a.split("-");if(U.length===2){const d=gs(Number(U[0])),s=Number(U[1]),m=xs(`01-${d<10?`0${d}`:d}-${s}`,he.getLocalizedStrings().dateFormat.analytics.DDDashMMDashYYYY),G=js();m.isAfter(G,"month")===!1?O(Ts(R,{month:d,year:s})):M("./month_end_close_checks/review")}}}},[Q,R]),f.useEffect(()=>{N||(Ce(!0),B(L.TENANT_FETCHING)),te.current?te.current=!1:!hs(ae,Z)&&b.isSignedIn()&&(B(L.TENANT_FETCHING),function(a,U,d,s){if(Ie(U?.userId,U?.zeniSessionId,a.tenantId),d(Vs(!0)),d(ge(a.tenantId)),a.tenantId!=null&&_.clearTenant(a.tenantId),a.tenantId!=null){const m=b.getSignedInUserTenantWithId(a.tenantId);s&&he.updateAppLocaleID(Js(s)),m?.tenantEmailDomain!=null&&b.saveActiveTenantDomainForUser(m?.tenantEmailDomain)}a.userId!=null?ee.identify(a.userId,{tenant_id:a.tenantId}):ee.resetUserIdentity()}(Z,T,O,Ze))},[Z,ae,T,O,b]),f.useEffect(()=>{b.isSignedIn()&&(B(L.TENANT_FETCHING),function(a,U,d,s,m,G,S){if(d==null&&s==null)return void console.warn("There is no current tenant selected!!");const Y=s!=null&&m?.zeniSessionId!=null,rs=d==null||d.tenantId!==s,os=d!=null&&d.excludedResources==null,ls=d!=null&&d.externalConnections==null;if(Y&&rs){S(ge(s));const W=b.getSignedInUserTenantWithId(s);W?.tenantEmailDomain!=null&&b.saveActiveTenantDomainForUser(W?.tenantEmailDomain),Ie(m?.userId,m?.zeniSessionId,s),_.shouldFetchExcludedResources(s)&&(_.markExcludedResourcesFetchStarted(s),S(xe(m.userId,s))),_.shouldFetchConnections(s)&&(_.markConnectionsFetchStarted(s),S(je(m.userId,s)))}else Y&&os&&_.shouldFetchExcludedResources(s)&&(_.markExcludedResourcesFetchStarted(s),S(xe(m.userId,s))),Y&&ls&&_.shouldFetchConnections(s)&&(_.markConnectionsFetchStarted(s),S(je(m.userId,s)));if(Y){ee.identify(m.userId,{tenant_id:s});const W=s==null||s!=null&&(U==="Completed"||U==="Error");a==="Completed"||U!=="Not-Started"&&U!=="Error"||s==null||!_.shouldFetchActiveTenant(s)||(_.markActiveTenantFetchStarted(s),G(L.TENANT_FETCHING),S(Ss(m.userId,s,m.zeniSessionId))),W&&(a==="Not-Started"||a==="Error")&&_.shouldFetchAllTenants()&&(_.markAllTenantsFetchStarted(),S(pe(m.userId,m.zeniSessionId)))}}(h,E,r,R,T,B,O))},[R,E]),f.useEffect(()=>{b.isSignedIn()&&h==="Completed"&&q.tenantsBaseInOrder.length>0&&(K(L.TENANT_FETCHING),b.saveSignedInUserTenants(Us(q.tenantsBaseInOrder)),T!=null&&Ue(T,r,D,void 0,q.tenantsBaseInOrder))},[q,h,r,T]),f.useEffect(()=>{E==="In-Progress"&&B(L.TENANT_FETCHING),E!=="Completed"&&E!=="Error"||(E==="Completed"&&R!=null?(De(),_.markActiveTenantFetchCompleted(R)):E==="Error"&&R!=null&&(_.markActiveTenantFetchFailed(R),K(L.TENANT_FETCHING),K(L.TENANT_SWITCHING))),h!=="Completed"&&h!=="Error"||(h==="Completed"?_.markAllTenantsFetchCompleted():h==="Error"&&_.markAllTenantsFetchFailed())},[E,h,R,N]);const re=f.useRef(!1);f.useEffect(()=>{!re.current&&E==="Completed"&&N&&(re.current=!0,function(a=en,U=3e3){setTimeout(()=>{const d=s=>{if(s>=a.length)return;const m=a[s],G=Qs[m];G!=null?G().then(()=>se(()=>d(s+1))).catch(()=>se(()=>d(s+1))):d(s+1)};se(()=>d(0))},U)}())},[E,N]);const C=r?.userRole!=null&&bs(r?.userRole),{isFeatureEnabled:we}=P(k.isReferralFeatureEnabled),ze=r?.userRole!=null&&r.userRole.includes("charge_card_user"),$e=r?.userRole!=null&&r.userRole.includes("charge_card_admin"),F=r?.userRole!=null&&Ee(r.userRole),oe=r?.company==null||r.company.featuresActivationInfo?.isBillPayFeatureEnabled&&!C,le=Ve&&!C,qe=Hs(A?.loggedInUserRoleMap),Ye=r.externalConnections?.accounting[0]?.isValid,ce=r.company?.companyOnboardingInfo.isOnboardingCompleted,de=r?.company==null||r.company.featuresActivationInfo?.isReimbursementFeatureEnabled&&!C,me=de&&Rs(A?.loggedInUserRoleMap),ue=Fe&&!C,We=r.company!=null&&ys(r.company),Ke=ke&&We===!0&&!C,Xe=oe&&Ds(A?.loggedInUserRoleMap),Je=le&&Cs(A?.loggedInUserRoleMap),Qe=ue&&fs(A?.loggedInUserRoleMap),es=vs(A?.loggedInUserRoleMap),ss=Os(A?.loggedInUserRoleMap),p=Ps(A?.loggedInUserRoleMap),I=Fs(A?.loggedInUserRoleMap),g=ks(A?.loggedInUserRoleMap),x=Ls(A?.loggedInUserRoleMap),j=Bs(A?.loggedInUserRoleMap),_e=oe&&x,Ae=de&&j,ns=ue&&p,as=Ke&&I,ts=le&&g,is=r.excludedResources?.resources?.find(a=>a.resource==="/invites")!=null||Me===!0||qe===!0||es===!0||ss===!0;return b.isSignedIn()?R==null?h==="Completed"?e.jsx(c,{to:"/",replace:!0,state:{...z.state,message:"...",origin:z.pathname}}):(T!=null&&h!=="In-Progress"&&O(pe(T.userId,T.zeniSessionId)),null):E!=="In-Progress"&&E!=="Not-Started"||h==="Completed"?(ce===!0||X&&!ie)&&Ye===!1&&u===!1&&$===!1?(i(void 0),e.jsx(c,{to:"/connection/auth",replace:!0})):!N||ce!==!1||ie||X?N&&r?.userRole&&u!=null&&$!=null&&o!=null&&Object.keys(A.loggedInUserRoleMap).length>0?e.jsx(ws,{children:e.jsxs(t,{element:e.jsx(Xs,{}),children:[e.jsx(t,{path:"/",element:e.jsx(hn,{isDashboardAccess:F,isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:g,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,isTenantCardsOnly:$})}),e.jsx(t,{path:"dashboard/*",element:F?e.jsx(cn,{isAiCfoOpen:v,setIsAiCfoOpen:V}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:g,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,tenantEmailDomain:o})}),e.jsx(t,{path:"reports/*",element:F?e.jsx(sn,{}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:g,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,tenantEmailDomain:o})}),e.jsx(t,{path:"people/*",element:is||F?e.jsx(an,{}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:g,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,tenantEmailDomain:o})}),e.jsx(t,{path:"forecast/*",element:F?e.jsx(tn,{}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:g,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,tenantEmailDomain:o})}),e.jsx(t,{path:"onboarding/*",element:e.jsx(rn,{})}),e.jsx(t,{path:"transaction/*",element:F&&C===!1||ze||$e?e.jsx(ln,{}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:g,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,tenantEmailDomain:o})}),e.jsx(t,{path:"transactions/*",element:F&&C===!1?e.jsx(_n,{}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:g,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,tenantEmailDomain:o})}),e.jsx(t,{path:"customer/*",element:F&&C===!1?e.jsx(be,{entityType:"customer"}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:g,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:j,isTenantBankingOnly:u,isUserHasTreasuryAccess:I,tenantEmailDomain:o})}),e.jsx(t,{path:"vendor/*",element:F&&C===!1?e.jsx(be,{entityType:"vendor"}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:g,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,tenantEmailDomain:o})}),e.jsx(t,{path:"tasks",element:e.jsx(Tn,{})}),e.jsx(t,{path:"tasks/*",element:e.jsx(xn,{})}),e.jsx(t,{path:"address/*",element:Xe||me||Qe||Je?e.jsx(nn,{}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:g,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,tenantEmailDomain:o})}),e.jsx(t,{path:"checking/*",element:ns?e.jsx(mn,{}):e.jsx(y,{})}),e.jsx(t,{path:"treasury/*",element:as?e.jsx(un,{}):e.jsx(y,{})}),e.jsx(t,{path:"performance",element:fe?e.jsx(pn,{}):e.jsx(ye,{tenantEmailDomain:o})}),e.jsx(t,{path:"month_end_close_checks/review/*",element:Pe&&C===!1?e.jsx(In,{}):e.jsx(ye,{tenantEmailDomain:o})}),e.jsx(t,{path:"notifications/*",element:e.jsx(En,{})}),e.jsx(t,{path:"vendors/*",element:Ge?e.jsx(on,{}):e.jsx(y,{})}),e.jsx(t,{path:"bill/*",element:_e?e.jsx(He,{}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:g,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,tenantEmailDomain:o})}),e.jsx(t,{path:"bills/*",element:_e?e.jsx(He,{}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:g,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,tenantEmailDomain:o})}),e.jsx(t,{path:"reimbursement/*",element:Ae?e.jsx(Re,{}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:g,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,tenantEmailDomain:o})}),e.jsx(t,{path:"reimbursements/*",element:Ae?e.jsx(Re,{}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:g,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,tenantEmailDomain:o})}),e.jsx(t,{path:"settings/*",element:Se?e.jsx(dn,{hasAdminLevelAccess:me}):e.jsx(y,{})}),e.jsx(t,{path:"cards/*",element:ts?e.jsx(An,{}):e.jsx(y,{})}),e.jsx(t,{path:"rewards/*",element:we?e.jsx(gn,{}):e.jsx(y,{})}),e.jsx(t,{path:"/ai-cfo",element:J?e.jsx(c,{to:"explore"}):e.jsx(y,{})}),e.jsx(t,{path:"/ai-cfo/",element:J?e.jsx(c,{to:"explore"}):e.jsx(y,{})}),e.jsx(t,{path:"/ai-cfo/:session_id",element:J?e.jsx(jn,{setIsAiCfoOpen:V,isFileUploadEnabled:Ne}):e.jsx(y,{})}),e.jsx(t,{path:"*",element:e.jsx(y,{})})]})}):null:(i(void 0),e.jsx(c,{to:"onboarding",replace:!0})):null:(console.warn("User logged out!!"),i(void 0),e.jsx(c,{to:"/signin/auth",replace:!0,state:{...z.state,message:"...",origin:z.pathname}}))}const hn=({isDashboardAccess:i,isUserHasZeniAccountsAccess:v,isUserHasChargeCardAccess:V,isUserHasBillPayAccess:O,isUserHasReimbursementAccess:M,isUserHasTreasuryAccess:o,isTenantBankingOnly:D,isTenantCardsOnly:B})=>D===!0&&v?e.jsx(c,{to:"checking"}):B===!0?e.jsx(c,{to:"cards"}):i?e.jsx(c,{to:"dashboard"}):v?e.jsx(c,{to:"checking"}):o?e.jsx(c,{to:"treasury"}):V?e.jsx(c,{to:"cards"}):O?e.jsx(c,{to:"bills"}):M?e.jsx(c,{to:"reimbursements"}):e.jsx(c,{to:"dashboard"}),H=({isUserHasZeniAccountsAccess:i,isUserHasChargeCardAccess:v,isUserHasBillPayAccess:V,isUserHasReimbursementAccess:O,isUserHasTreasuryAccess:M,isTenantBankingOnly:o,tenantEmailDomain:D})=>o===!0||i?e.jsx(Rn,{tenantEmailDomain:D}):M?e.jsx(Hn,{tenantEmailDomain:D}):v?e.jsx(yn,{tenantEmailDomain:D}):V?e.jsx(bn,{tenantEmailDomain:D}):O?e.jsx(Un,{tenantEmailDomain:D}):e.jsx(y,{}),Un=({tenantEmailDomain:i})=>e.jsx(c,{to:`/${i}/reimbursements`}),bn=({tenantEmailDomain:i})=>e.jsx(c,{to:`/${i}/bills`}),Hn=({tenantEmailDomain:i})=>e.jsx(c,{to:`/${i}/treasury`}),Rn=({tenantEmailDomain:i})=>e.jsx(c,{to:`/${i}/checking`}),yn=({tenantEmailDomain:i})=>e.jsx(c,{to:`/${i}/cards`}),ye=({tenantEmailDomain:i})=>e.jsx(c,{to:`/${i}/dashboard`});export{H as FallBackRoute,Zn as default};
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/DashboardRoutes-DgAbb01S.js","assets/pdf-CmlsF1Bq.js","assets/zeni-epic-state-DHqVwJ2L.js","assets/sentry-Q4kep6XN.js","assets/core-B0aIoG8L.js","assets/index-EqHxd201.js","assets/mui-2NnLxiU2.js","assets/recharts-DLbOXl5Z.js","assets/lottie-C-63nSQ2.js","assets/liveblocks-BGLG0ZRF.js","assets/dnd-CeLShHIc.js","assets/analytics-JKNMIPCj.js","assets/plaid-AStGMBRC.js","assets/utils-Yz1HF93N.js","assets/index-D-vub4_t.css","assets/withTransactionSidePanel-BBaDdbsh.js","assets/TransactionDetailScreen-DIenmNko.js","assets/decodeURIComponentSafe-Bu6iKDPg.js","assets/routePaths-D30DRN8c.js","assets/NotFoundScreen-BbpMMX9s.js","assets/analyticsHelper-UkV1zy0R.js","assets/CompanyPassportScreen-CKvA-EmO.js","assets/MobileAppDrawer-sKiHtZDX.js","assets/FeaturePreviewScreen-fP1RCpGB.js","assets/ReferralListScreen-SWZzL8_L.js","assets/BillPayRoutes-DoxfX2T6.js","assets/AddressScreen-Sz_h2Ufw.js","assets/DomesticWireDetailScreen-D-80T6qK.js","assets/useInitialThreadRequest-odLUiJqj.js","assets/zeni-icon-only-fh8VXN1X.js","assets/DrawerScreen-PuONww5M.js","assets/SetupPagesScreen-CP5xGQM-.js","assets/BusinessVerificationPageScreen-BdThFZ9q.js","assets/BillPayApprovalRoutes-DuHAqKTx.js","assets/ReimbursementApprovalRuleDetailScreen-C6QD0dHy.js","assets/getLocaleForTenant-Dk0k1evv.js","assets/ReimbursementRoutes-BDoS2Viq.js","assets/ReimbursementApprovalRoutes-CDcbSeCq.js","assets/TransactionListRoutes-cXRM-Tzx.js","assets/ZeniAccountStatementScreen-DbUnng23.js","assets/SettingsRoutes-D4OVycdK.js","assets/accountMappingHelper-CiZg2tUy.js","assets/ReportsRoutes-c3YTFnRz.js","assets/ChargeCardRoutes-C01rd9YM.js","assets/PeopleRoutes-Bji1PDT3.js","assets/ExpenseAutomationRoutes-Jp2Kebgt.js","assets/TreasuryRoutes-5Jq3PBCh.js","assets/VendorsRoutes-LjTGNk-2.js","assets/pathToGoBack-Bv92NQSQ.js","assets/ZeniAccountRoutes-DgIyNsYA.js","assets/AddressRoutes-DQolOeHT.js","assets/PandLWithForecastRoutes-B4PiCC38.js","assets/CustomerOnboardingRoutes-DUHs6wCe.js","assets/QBOConnectionScreen-BBQqRB2z.js","assets/empty-BkriGRuv.js","assets/pdf-lib-BdZjuQvb.js","assets/index-CImw4dkc.js","assets/url-DpsurdUI.js","assets/index-uHN8COgu.js","assets/TransactionDetailRoutes-BqPivaDh.js","assets/EntityDetailRoutes-C3aUb0lp.js","assets/NotificationRoutes-B4bfKvmi.js","assets/PerformanceRoutes-C2QScidi.js","assets/RewardsRoutes-o1myXW2J.js","assets/TaskRoutes-Dv_crepW.js","assets/AiCfoScreen-ChmPOKZy.js","assets/TaskListScreen-rlkEoDCk.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{_ as n,bm as cs,cs as ds,cz as ms,cx as us,cy as _s,dl as As,cu as Es,bP as Ee,Fb as ps,cR as Is,bF as gs,bG as xs,bs as js,cX as Ts,v as hs,Go as Us,bt as bs,Gp as Hs,Fk as Rs,cU as ys,Fa as Ds,Ej as Cs,Ek as fs,Gq as vs,Gr as Os,bM as Ps,bO as Fs,bN as ks,bK as Ls,bL as Bs,jA as pe,ct as Ie,Gs as Vs,c_ as ge,dq as xe,dr as je,c$ as Ss}from"./zeni-epic-state-DHqVwJ2L.js";import{j as e}from"./pdf-CmlsF1Bq.js";import{a as f}from"./sentry-Q4kep6XN.js";import{i as Ns,j as Gs,l as Ms,h as Zs,u as w,g as Te,N as c,R as ws,m as t}from"./core-B0aIoG8L.js";import{y as zs,jd as $s,je as b,aE as qs,jj as Ys,aH as Ws,aG as k,t as Ks,jf as L,O as he,jg as _,jk as Xs,jl as ee,jm as l}from"./index-EqHxd201.js";import"./mui-2NnLxiU2.js";import{f as Ue}from"./analyticsHelper-UkV1zy0R.js";import{t as Js}from"./getLocaleForTenant-Dk0k1evv.js";import"./lottie-C-63nSQ2.js";import"./liveblocks-BGLG0ZRF.js";import"./recharts-DLbOXl5Z.js";import"./dnd-CeLShHIc.js";import"./analytics-JKNMIPCj.js";import"./plaid-AStGMBRC.js";import"./utils-Yz1HF93N.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},v=new i.Error().stack;v&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[v]="b958a821-751d-4625-985e-7857d3cb9a10",i._sentryDebugIdIdentifier="sentry-dbid-b958a821-751d-4625-985e-7857d3cb9a10")}catch{}})();const Qs={dashboard:()=>n(()=>import("./DashboardRoutes-DgAbb01S.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24])),bills:()=>n(()=>import("./BillPayRoutes-DoxfX2T6.js"),__vite__mapDeps([25,1,2,3,4,5,6,7,8,9,10,11,12,13,14,26,19,27,28,29,30,22,23,31,20,18,32,33,34,35])),reimbursement:()=>n(()=>import("./ReimbursementRoutes-BDoS2Viq.js"),__vite__mapDeps([36,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,31,22,20,18,32,23,28,30,37,34,35])),transactions:()=>n(()=>import("./TransactionListRoutes-cXRM-Tzx.js"),__vite__mapDeps([38,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,39])),settings:()=>n(()=>import("./SettingsRoutes-D4OVycdK.js"),__vite__mapDeps([40,1,2,3,4,5,6,7,8,9,10,11,12,13,14,22,41,26,19,20,32,18,21,33,34,37])),reports:()=>n(()=>import("./ReportsRoutes-c3YTFnRz.js"),__vite__mapDeps([42,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,23,18,22])),chargeCards:()=>n(()=>import("./ChargeCardRoutes-C01rd9YM.js"),__vite__mapDeps([43,1,2,3,4,5,6,7,8,9,10,11,12,13,14,31,22,19,20,18,32,26])),people:()=>n(()=>import("./PeopleRoutes-Bji1PDT3.js"),__vite__mapDeps([44,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,22])),expenseAutomation:()=>n(()=>import("./ExpenseAutomationRoutes-Jp2Kebgt.js"),__vite__mapDeps([45,1,2,3,4,19,5,6,7,8,9,10,11,12,13,14,16,17,18,15,41,30])),treasury:()=>n(()=>import("./TreasuryRoutes-5Jq3PBCh.js"),__vite__mapDeps([46,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,31,22,20,18,32,23])),vendors:()=>n(()=>import("./VendorsRoutes-LjTGNk-2.js"),__vite__mapDeps([47,1,2,3,4,5,6,7,8,9,10,11,12,13,14,26,19,23,18,48,22,29,30,41])),zeniAccounts:()=>n(()=>import("./ZeniAccountRoutes-DgIyNsYA.js"),__vite__mapDeps([49,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,31,22,20,18,32,23,27,26,39]))},en=["bills","transactions","settings","reimbursement","reports","chargeCards","people"],se=i=>{"requestIdleCallback"in window?requestIdleCallback(i):setTimeout(i,100)},sn=l(()=>n(()=>import("./ReportsRoutes-c3YTFnRz.js"),__vite__mapDeps([42,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,23,18,22]))),nn=l(()=>n(()=>import("./AddressRoutes-DQolOeHT.js"),__vite__mapDeps([50,1,2,3,4,26,5,6,7,8,9,10,11,12,13,14,19]))),an=l(()=>n(()=>import("./PeopleRoutes-Bji1PDT3.js"),__vite__mapDeps([44,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,22]))),tn=l(()=>n(()=>import("./PandLWithForecastRoutes-B4PiCC38.js"),__vite__mapDeps([51,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,23,18,22]))),rn=l(()=>n(()=>import("./CustomerOnboardingRoutes-DUHs6wCe.js"),__vite__mapDeps([52,1,2,3,4,26,5,6,7,8,9,10,11,12,13,14,19,53,54,55,56,57,58,17]))),on=l(()=>n(()=>import("./VendorsRoutes-LjTGNk-2.js"),__vite__mapDeps([47,1,2,3,4,5,6,7,8,9,10,11,12,13,14,26,19,23,18,48,22,29,30,41]))),ln=l(()=>n(()=>import("./TransactionDetailRoutes-BqPivaDh.js"),__vite__mapDeps([59,1,2,3,4,19,5,6,7,8,9,10,11,12,13,14,16,17,18]))),be=l(()=>n(()=>import("./EntityDetailRoutes-C3aUb0lp.js"),__vite__mapDeps([60,1,2,3,4,5,6,7,8,9,10,11,12,13,14,17,15,16,18]))),cn=l(()=>n(()=>import("./DashboardRoutes-DgAbb01S.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24]))),He=l(()=>n(()=>import("./BillPayRoutes-DoxfX2T6.js"),__vite__mapDeps([25,1,2,3,4,5,6,7,8,9,10,11,12,13,14,26,19,27,28,29,30,22,23,31,20,18,32,33,34,35]))),dn=l(()=>n(()=>import("./SettingsRoutes-D4OVycdK.js"),__vite__mapDeps([40,1,2,3,4,5,6,7,8,9,10,11,12,13,14,22,41,26,19,20,32,18,21,33,34,37]))),Re=l(()=>n(()=>import("./ReimbursementRoutes-BDoS2Viq.js"),__vite__mapDeps([36,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,31,22,20,18,32,23,28,30,37,34,35]))),mn=l(()=>n(()=>import("./ZeniAccountRoutes-DgIyNsYA.js"),__vite__mapDeps([49,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,31,22,20,18,32,23,27,26,39]))),un=l(()=>n(()=>import("./TreasuryRoutes-5Jq3PBCh.js"),__vite__mapDeps([46,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,31,22,20,18,32,23]))),_n=l(()=>n(()=>import("./TransactionListRoutes-cXRM-Tzx.js"),__vite__mapDeps([38,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,39]))),An=l(()=>n(()=>import("./ChargeCardRoutes-C01rd9YM.js"),__vite__mapDeps([43,1,2,3,4,5,6,7,8,9,10,11,12,13,14,31,22,19,20,18,32,26]))),En=l(()=>n(()=>import("./NotificationRoutes-B4bfKvmi.js"),__vite__mapDeps([61,1,2,3,4,19,5,6,7,8,9,10,11,12,13,14]))),pn=l(()=>n(()=>import("./PerformanceRoutes-C2QScidi.js"),__vite__mapDeps([62,1,2,3,4,19,5,6,7,8,9,10,11,12,13,14,22]))),In=l(()=>n(()=>import("./ExpenseAutomationRoutes-Jp2Kebgt.js"),__vite__mapDeps([45,1,2,3,4,19,5,6,7,8,9,10,11,12,13,14,16,17,18,15,41,30]))),gn=l(()=>n(()=>import("./RewardsRoutes-o1myXW2J.js"),__vite__mapDeps([63,1,2,3,4,5,6,7,8,9,10,11,12,13,14,19,24,22]))),xn=l(()=>n(()=>import("./TaskRoutes-Dv_crepW.js"),__vite__mapDeps([64,1,2,3,4,19,5,6,7,8,9,10,11,12,13,14,28,22]))),jn=l(()=>n(()=>import("./AiCfoScreen-ChmPOKZy.js"),__vite__mapDeps([65,1,2,3,4,5,6,7,8,9,10,11,12,13,14,48]))),y=l(()=>n(()=>import("./NotFoundScreen-BbpMMX9s.js"),__vite__mapDeps([19,1,2,3,4,5,6,7,8,9,10,11,12,13,14]))),Tn=l(()=>n(()=>import("./TaskListScreen-rlkEoDCk.js"),__vite__mapDeps([66,1,2,3,4,5,6,7,8,9,10,11,12,13,14,22])));function Zn({setTenantEmailDomain:i,isAiCfoOpen:v=!1,setIsAiCfoOpen:V}){const O=Ns(),M=Gs(),{tenantEmailDomain:o}=Ms(),D=zs().mode,{setLoading:B,clearAllLoading:De,clearLoading:K}=$s(),R=b.getSignedInUserTenant(o)?.tenantId,T=b.getSignedInUser(),X=cs(T),z=Zs(),[N,Ce]=f.useState(!1),r=w(a=>ds(a)),{useFeatureGate:P}=qs(),J=Ys(),fe=Ws(),{isFeatureEnabled:ve}=P(k.isExpenseAutomationEnabled),{isFeatureEnabled:Oe}=P(k.isExpenseAutomationEnabledV2),Pe=Oe||ve&&X,{isFeatureEnabled:Fe}=P(k.isDepositAccountsFeatureEnabled),{isFeatureEnabled:ke}=P(k.isTreasuryEnabled),{isFeatureEnabled:Le}=P(k.isChargeCardFeatureEnabled),{isFeatureEnabled:ne}=P(k.isDebitCardFeatureEnabled),h=w(a=>a.tenantState.fetchState),E=w(a=>a.tenantState.activeTenantFetchState.fetchState),u=E==="Completed"||h==="Completed"?ms(ne,r):void 0,$=E==="Completed"||h==="Completed"?us(r):void 0,Be=E==="Completed"||h==="Completed"?_s(r):void 0,Ve=Le||ne||!!Be||!!$||!!u,{isFeatureEnabled:Se}=P(k.isSettingsFeatureEnabled),{isFeatureEnabled:Ne}=P(k.isAiCfoFileUploadEnabled),q=w(a=>As(a));if(o!=null){const a=b.getSignedInUserTenant(o);T!=null&&a!=null&&Ue(T,r,D)}const Z={tenantId:R,userId:T?.userId,sessionId:T?.zeniSessionId},ae=Es(),A=Ks(),Ge=r.company==null||A?.loggedInUserRoleMap!=null&&Ee(A.loggedInUserRole),Me=ps(A?.loggedInUserRoleMap),te=f.useRef(!0),ie=Te("/:tenantEmailDomain/onboarding/*")!==null,Q=Te("/:tenantEmailDomain/month_end_close_checks/review/:selectedTab/:selectedPeriod/*"),Ze=w(a=>Z.tenantId!=null?Is(a,Z.tenantId):void 0);f.useEffect(()=>{B(L.TENANT_FETCHING),i(o)},[o]),f.useEffect(()=>{if(Q!=null&&R!=null){const a=Q.params.selectedPeriod;if(a!=null){const U=a.split("-");if(U.length===2){const d=gs(Number(U[0])),s=Number(U[1]),m=xs(`01-${d<10?`0${d}`:d}-${s}`,he.getLocalizedStrings().dateFormat.analytics.DDDashMMDashYYYY),G=js();m.isAfter(G,"month")===!1?O(Ts(R,{month:d,year:s})):M("./month_end_close_checks/review")}}}},[Q,R]),f.useEffect(()=>{N||(Ce(!0),B(L.TENANT_FETCHING)),te.current?te.current=!1:!hs(ae,Z)&&b.isSignedIn()&&(B(L.TENANT_FETCHING),function(a,U,d,s){if(Ie(U?.userId,U?.zeniSessionId,a.tenantId),d(Vs(!0)),d(ge(a.tenantId)),a.tenantId!=null&&_.clearTenant(a.tenantId),a.tenantId!=null){const m=b.getSignedInUserTenantWithId(a.tenantId);s&&he.updateAppLocaleID(Js(s)),m?.tenantEmailDomain!=null&&b.saveActiveTenantDomainForUser(m?.tenantEmailDomain)}a.userId!=null?ee.identify(a.userId,{tenant_id:a.tenantId}):ee.resetUserIdentity()}(Z,T,O,Ze))},[Z,ae,T,O,b]),f.useEffect(()=>{b.isSignedIn()&&(B(L.TENANT_FETCHING),function(a,U,d,s,m,G,S){if(d==null&&s==null)return void console.warn("There is no current tenant selected!!");const Y=s!=null&&m?.zeniSessionId!=null,rs=d==null||d.tenantId!==s,os=d!=null&&d.excludedResources==null,ls=d!=null&&d.externalConnections==null;if(Y&&rs){S(ge(s));const W=b.getSignedInUserTenantWithId(s);W?.tenantEmailDomain!=null&&b.saveActiveTenantDomainForUser(W?.tenantEmailDomain),Ie(m?.userId,m?.zeniSessionId,s),_.shouldFetchExcludedResources(s)&&(_.markExcludedResourcesFetchStarted(s),S(xe(m.userId,s))),_.shouldFetchConnections(s)&&(_.markConnectionsFetchStarted(s),S(je(m.userId,s)))}else Y&&os&&_.shouldFetchExcludedResources(s)&&(_.markExcludedResourcesFetchStarted(s),S(xe(m.userId,s))),Y&&ls&&_.shouldFetchConnections(s)&&(_.markConnectionsFetchStarted(s),S(je(m.userId,s)));if(Y){ee.identify(m.userId,{tenant_id:s});const W=s==null||s!=null&&(U==="Completed"||U==="Error");a==="Completed"||U!=="Not-Started"&&U!=="Error"||s==null||!_.shouldFetchActiveTenant(s)||(_.markActiveTenantFetchStarted(s),G(L.TENANT_FETCHING),S(Ss(m.userId,s,m.zeniSessionId))),W&&(a==="Not-Started"||a==="Error")&&_.shouldFetchAllTenants()&&(_.markAllTenantsFetchStarted(),S(pe(m.userId,m.zeniSessionId)))}}(h,E,r,R,T,B,O))},[R,E]),f.useEffect(()=>{b.isSignedIn()&&h==="Completed"&&q.tenantsBaseInOrder.length>0&&(K(L.TENANT_FETCHING),b.saveSignedInUserTenants(Us(q.tenantsBaseInOrder)),T!=null&&Ue(T,r,D,void 0,q.tenantsBaseInOrder))},[q,h,r,T]),f.useEffect(()=>{E==="In-Progress"&&B(L.TENANT_FETCHING),E!=="Completed"&&E!=="Error"||(E==="Completed"&&R!=null?(De(),_.markActiveTenantFetchCompleted(R)):E==="Error"&&R!=null&&(_.markActiveTenantFetchFailed(R),K(L.TENANT_FETCHING),K(L.TENANT_SWITCHING))),h!=="Completed"&&h!=="Error"||(h==="Completed"?_.markAllTenantsFetchCompleted():h==="Error"&&_.markAllTenantsFetchFailed())},[E,h,R,N]);const re=f.useRef(!1);f.useEffect(()=>{!re.current&&E==="Completed"&&N&&(re.current=!0,function(a=en,U=3e3){setTimeout(()=>{const d=s=>{if(s>=a.length)return;const m=a[s],G=Qs[m];G!=null?G().then(()=>se(()=>d(s+1))).catch(()=>se(()=>d(s+1))):d(s+1)};se(()=>d(0))},U)}())},[E,N]);const C=r?.userRole!=null&&bs(r?.userRole),{isFeatureEnabled:we}=P(k.isReferralFeatureEnabled),ze=r?.userRole!=null&&r.userRole.includes("charge_card_user"),$e=r?.userRole!=null&&r.userRole.includes("charge_card_admin"),F=r?.userRole!=null&&Ee(r.userRole),oe=r?.company==null||r.company.featuresActivationInfo?.isBillPayFeatureEnabled&&!C,le=Ve&&!C,qe=Hs(A?.loggedInUserRoleMap),Ye=r.externalConnections?.accounting[0]?.isValid,ce=r.company?.companyOnboardingInfo.isOnboardingCompleted,de=r?.company==null||r.company.featuresActivationInfo?.isReimbursementFeatureEnabled&&!C,me=de&&Rs(A?.loggedInUserRoleMap),ue=Fe&&!C,We=r.company!=null&&ys(r.company),Ke=ke&&We===!0&&!C,Xe=oe&&Ds(A?.loggedInUserRoleMap),Je=le&&Cs(A?.loggedInUserRoleMap),Qe=ue&&fs(A?.loggedInUserRoleMap),es=vs(A?.loggedInUserRoleMap),ss=Os(A?.loggedInUserRoleMap),p=Ps(A?.loggedInUserRoleMap),I=Fs(A?.loggedInUserRoleMap),g=ks(A?.loggedInUserRoleMap),x=Ls(A?.loggedInUserRoleMap),j=Bs(A?.loggedInUserRoleMap),_e=oe&&x,Ae=de&&j,ns=ue&&p,as=Ke&&I,ts=le&&g,is=r.excludedResources?.resources?.find(a=>a.resource==="/invites")!=null||Me===!0||qe===!0||es===!0||ss===!0;return b.isSignedIn()?R==null?h==="Completed"?e.jsx(c,{to:"/",replace:!0,state:{...z.state,message:"...",origin:z.pathname}}):(T!=null&&h!=="In-Progress"&&O(pe(T.userId,T.zeniSessionId)),null):E!=="In-Progress"&&E!=="Not-Started"||h==="Completed"?(ce===!0||X&&!ie)&&Ye===!1&&u===!1&&$===!1?(i(void 0),e.jsx(c,{to:"/connection/auth",replace:!0})):!N||ce!==!1||ie||X?N&&r?.userRole&&u!=null&&$!=null&&o!=null&&Object.keys(A.loggedInUserRoleMap).length>0?e.jsx(ws,{children:e.jsxs(t,{element:e.jsx(Xs,{}),children:[e.jsx(t,{path:"/",element:e.jsx(hn,{isDashboardAccess:F,isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:g,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,isTenantCardsOnly:$})}),e.jsx(t,{path:"dashboard/*",element:F?e.jsx(cn,{isAiCfoOpen:v,setIsAiCfoOpen:V}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:g,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,tenantEmailDomain:o})}),e.jsx(t,{path:"reports/*",element:F?e.jsx(sn,{}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:g,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,tenantEmailDomain:o})}),e.jsx(t,{path:"people/*",element:is||F?e.jsx(an,{}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:g,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,tenantEmailDomain:o})}),e.jsx(t,{path:"forecast/*",element:F?e.jsx(tn,{}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:g,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,tenantEmailDomain:o})}),e.jsx(t,{path:"onboarding/*",element:e.jsx(rn,{})}),e.jsx(t,{path:"transaction/*",element:F&&C===!1||ze||$e?e.jsx(ln,{}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:g,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,tenantEmailDomain:o})}),e.jsx(t,{path:"transactions/*",element:F&&C===!1?e.jsx(_n,{}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:g,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,tenantEmailDomain:o})}),e.jsx(t,{path:"customer/*",element:F&&C===!1?e.jsx(be,{entityType:"customer"}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:g,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:j,isTenantBankingOnly:u,isUserHasTreasuryAccess:I,tenantEmailDomain:o})}),e.jsx(t,{path:"vendor/*",element:F&&C===!1?e.jsx(be,{entityType:"vendor"}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:g,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,tenantEmailDomain:o})}),e.jsx(t,{path:"tasks",element:e.jsx(Tn,{})}),e.jsx(t,{path:"tasks/*",element:e.jsx(xn,{})}),e.jsx(t,{path:"address/*",element:Xe||me||Qe||Je?e.jsx(nn,{}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:g,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,tenantEmailDomain:o})}),e.jsx(t,{path:"checking/*",element:ns?e.jsx(mn,{}):e.jsx(y,{})}),e.jsx(t,{path:"treasury/*",element:as?e.jsx(un,{}):e.jsx(y,{})}),e.jsx(t,{path:"performance",element:fe?e.jsx(pn,{}):e.jsx(ye,{tenantEmailDomain:o})}),e.jsx(t,{path:"month_end_close_checks/review/*",element:Pe&&C===!1?e.jsx(In,{}):e.jsx(ye,{tenantEmailDomain:o})}),e.jsx(t,{path:"notifications/*",element:e.jsx(En,{})}),e.jsx(t,{path:"vendors/*",element:Ge?e.jsx(on,{}):e.jsx(y,{})}),e.jsx(t,{path:"bill/*",element:_e?e.jsx(He,{}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:g,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,tenantEmailDomain:o})}),e.jsx(t,{path:"bills/*",element:_e?e.jsx(He,{}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:g,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,tenantEmailDomain:o})}),e.jsx(t,{path:"reimbursement/*",element:Ae?e.jsx(Re,{}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:g,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,tenantEmailDomain:o})}),e.jsx(t,{path:"reimbursements/*",element:Ae?e.jsx(Re,{}):e.jsx(H,{isUserHasZeniAccountsAccess:p,isUserHasChargeCardAccess:g,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:j,isUserHasTreasuryAccess:I,isTenantBankingOnly:u,tenantEmailDomain:o})}),e.jsx(t,{path:"settings/*",element:Se?e.jsx(dn,{hasAdminLevelAccess:me}):e.jsx(y,{})}),e.jsx(t,{path:"cards/*",element:ts?e.jsx(An,{}):e.jsx(y,{})}),e.jsx(t,{path:"rewards/*",element:we?e.jsx(gn,{}):e.jsx(y,{})}),e.jsx(t,{path:"/ai-cfo",element:J?e.jsx(c,{to:"explore"}):e.jsx(y,{})}),e.jsx(t,{path:"/ai-cfo/",element:J?e.jsx(c,{to:"explore"}):e.jsx(y,{})}),e.jsx(t,{path:"/ai-cfo/:session_id",element:J?e.jsx(jn,{setIsAiCfoOpen:V,isFileUploadEnabled:Ne}):e.jsx(y,{})}),e.jsx(t,{path:"*",element:e.jsx(y,{})})]})}):null:(i(void 0),e.jsx(c,{to:"onboarding",replace:!0})):null:(console.warn("User logged out!!"),i(void 0),e.jsx(c,{to:"/signin/auth",replace:!0,state:{...z.state,message:"...",origin:z.pathname}}))}const hn=({isDashboardAccess:i,isUserHasZeniAccountsAccess:v,isUserHasChargeCardAccess:V,isUserHasBillPayAccess:O,isUserHasReimbursementAccess:M,isUserHasTreasuryAccess:o,isTenantBankingOnly:D,isTenantCardsOnly:B})=>D===!0&&v?e.jsx(c,{to:"checking"}):B===!0?e.jsx(c,{to:"cards"}):i?e.jsx(c,{to:"dashboard"}):v?e.jsx(c,{to:"checking"}):o?e.jsx(c,{to:"treasury"}):V?e.jsx(c,{to:"cards"}):O?e.jsx(c,{to:"bills"}):M?e.jsx(c,{to:"reimbursements"}):e.jsx(c,{to:"dashboard"}),H=({isUserHasZeniAccountsAccess:i,isUserHasChargeCardAccess:v,isUserHasBillPayAccess:V,isUserHasReimbursementAccess:O,isUserHasTreasuryAccess:M,isTenantBankingOnly:o,tenantEmailDomain:D})=>o===!0||i?e.jsx(Rn,{tenantEmailDomain:D}):M?e.jsx(Hn,{tenantEmailDomain:D}):v?e.jsx(yn,{tenantEmailDomain:D}):V?e.jsx(bn,{tenantEmailDomain:D}):O?e.jsx(Un,{tenantEmailDomain:D}):e.jsx(y,{}),Un=({tenantEmailDomain:i})=>e.jsx(c,{to:`/${i}/reimbursements`}),bn=({tenantEmailDomain:i})=>e.jsx(c,{to:`/${i}/bills`}),Hn=({tenantEmailDomain:i})=>e.jsx(c,{to:`/${i}/treasury`}),Rn=({tenantEmailDomain:i})=>e.jsx(c,{to:`/${i}/checking`}),yn=({tenantEmailDomain:i})=>e.jsx(c,{to:`/${i}/cards`}),ye=({tenantEmailDomain:i})=>e.jsx(c,{to:`/${i}/dashboard`});export{H as FallBackRoute,Zn as default};
|