@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 u,O as o,V as n,bf as x,i as c,b as l,o as C,I as b,s as w,d as M,aT as Z,u as i}from"./index-
|
|
1
|
+
import{J as u,O as o,V as n,bf as x,i as c,b as l,o as C,I as b,s as w,d as M,aT as Z,u as i}from"./index-EqHxd201.js";import{n as a}from"./mui-2NnLxiU2.js";import{a as r}from"./sentry-Q4kep6XN.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]="a90481d0-bfbb-474c-a870-6ee2a30af9b3",e._sentryDebugIdIdentifier="sentry-dbid-a90481d0-bfbb-474c-a870-6ee2a30af9b3")}catch{}})();const y=e=>r.createElement("svg",{width:126,height:24,viewBox:"0 0 126 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M124.643 18.207C124.643 17.9706 124.407 17.876 124.194 17.876H123.792V19.0582H124.005V18.5853H124.17L124.431 19.0582H124.691L124.383 18.538C124.456 18.5267 124.523 18.4893 124.571 18.4329C124.618 18.3764 124.644 18.3046 124.643 18.2307V18.207ZM124.005 18.3962V18.0651H124.194C124.312 18.0651 124.431 18.0888 124.431 18.2307C124.431 18.3725 124.289 18.3962 124.17 18.3962H124.005ZM124.194 17.4504C123.988 17.4551 123.789 17.5207 123.62 17.6389C123.452 17.7571 123.322 17.9226 123.248 18.1144C123.174 18.3062 123.158 18.5158 123.203 18.7167C123.247 18.9175 123.351 19.1005 123.499 19.2427C123.648 19.3848 123.836 19.4797 124.038 19.5152C124.241 19.5508 124.45 19.5255 124.638 19.4424C124.826 19.3594 124.985 19.2225 125.096 19.0489C125.206 18.8753 125.263 18.6728 125.258 18.4671C125.258 18.3285 125.231 18.1912 125.177 18.0634C125.123 17.9356 125.044 17.8199 124.945 17.723C124.846 17.626 124.729 17.5499 124.6 17.499C124.471 17.4481 124.333 17.4236 124.194 17.4267V17.4504ZM124.194 19.342C124.015 19.3419 123.841 19.2886 123.693 19.1888C123.544 19.0889 123.429 18.9472 123.362 18.7816C123.295 18.6161 123.278 18.4342 123.315 18.2593C123.352 18.0844 123.44 17.9244 123.568 17.7997C123.696 17.675 123.858 17.5914 124.034 17.5594C124.21 17.5275 124.391 17.5487 124.555 17.6203C124.718 17.692 124.857 17.8108 124.953 17.9616C125.049 18.1125 125.097 18.2885 125.093 18.4671C125.093 18.7054 124.998 18.934 124.829 19.1025C124.661 19.271 124.432 19.3656 124.194 19.3656V19.342ZM56.5685 17.6159C55.0316 17.6159 54.2513 16.2208 54.2513 14.8967C54.2513 13.5725 55.1025 12.2484 56.4976 12.2484C57.1596 12.2484 57.9872 12.5794 58.3183 13.0523L59.9261 11.4208C59.472 10.9824 58.9346 10.6394 58.3458 10.412C57.7569 10.1846 57.1285 10.0774 56.4976 10.0967C53.6601 10.0967 51.603 12.1302 51.603 14.9203C51.603 17.7578 53.6365 19.7676 56.5685 19.7676C57.9399 19.7676 59.2168 19.3656 59.9734 18.538L58.3892 16.8356C58.1538 17.0814 57.8712 17.2772 57.5584 17.4113C57.2456 17.5454 56.9089 17.615 56.5685 17.6159ZM47.4651 19.5075H50.0188V10.3568H47.4887L47.4651 19.5075ZM42.8542 15.3696C42.8542 16.4336 42.1449 17.5922 40.868 17.5922C39.8513 17.5922 39.3074 16.8829 39.3074 15.3932V10.3804H36.7774V16.0553C36.7774 17.9469 37.7232 19.7912 40.2532 19.7912C41.4355 19.7912 42.4286 18.8454 42.9252 18.1361H42.9725V19.5312H45.3843V10.3568H42.8542V15.3696ZM32.2138 11.5154H32.1665C31.8119 11.1134 30.8424 10.0967 29.2818 10.0967C26.7045 10.0967 24.7183 12.1065 24.7183 14.8967C24.7183 17.7341 26.5626 19.7676 29.1636 19.7676C29.7199 19.7505 30.2669 19.62 30.771 19.3842C31.2752 19.1484 31.7259 18.8122 32.0956 18.3962H32.1429V24.0001H34.6493V10.3568H32.2375L32.2138 11.5154ZM29.7784 17.6159C28.2178 17.6159 27.3192 16.2445 27.3192 14.8967C27.3192 13.5962 28.1232 12.2247 29.7784 12.2247C31.268 12.2247 32.1902 13.6435 32.1902 14.9203C32.1902 16.1972 31.2917 17.6159 29.7784 17.6159ZM87.3074 10.0967C84.4464 10.0967 82.3419 12.1065 82.3419 14.8967C82.3419 17.7814 84.47 19.7912 87.3074 19.7912C90.1449 19.7912 92.273 17.7578 92.273 14.8967C92.273 12.1065 90.1922 10.0967 87.3074 10.0967ZM87.3074 17.6159C85.6523 17.6159 84.9193 16.1972 84.9193 14.8967C84.9193 13.5962 85.6759 12.2247 87.3074 12.2247C88.939 12.2247 89.7429 13.5962 89.7429 14.8967C89.7429 16.1972 88.9863 17.6159 87.3311 17.6159H87.3074ZM118.898 13.8799C117.597 13.5725 117.124 13.407 117.124 12.8632C117.124 12.1538 118.07 11.9883 118.472 11.9883C119.252 11.9883 120.127 12.4612 120.482 12.8868L121.971 11.4681C121.262 10.6169 119.914 10.1203 118.496 10.1203C116.651 10.1203 114.736 11.0425 114.736 13.076C114.736 14.8494 116.131 15.3696 117.479 15.7006C118.898 16.0316 119.418 16.2681 119.418 16.8592C119.418 17.6868 118.472 17.8287 118.117 17.8287C117.682 17.8085 117.255 17.7019 116.861 17.5152C116.467 17.3285 116.115 17.0653 115.824 16.741L114.287 18.3016C115.114 19.2474 116.557 19.7912 118.023 19.7912C120.505 19.7912 121.971 18.609 121.971 16.6701C121.971 14.8257 120.174 14.1873 118.898 13.8799ZM114.098 10.3568H110.835L107.571 14.14H107.524V5.32031H104.994V19.5075H107.524V15.0149H107.571L110.953 19.5075H114.263L110.338 14.5183L114.098 10.3568ZM76.6434 10.1203C75.4611 10.1203 74.6335 10.5932 73.806 11.3499H73.7823V5.32031H71.2523V19.5075H73.6641V18.207H73.7114C74.0225 18.6812 74.4472 19.0702 74.9469 19.3386C75.4465 19.607 76.0053 19.7463 76.5725 19.744C79.1734 19.744 81.1597 17.7105 81.1597 14.8967C81.1597 12.1065 79.2207 10.0967 76.6434 10.0967V10.1203ZM76.1468 17.6159C74.6099 17.6159 73.7114 16.2445 73.7114 14.9203C73.7114 13.5962 74.6572 12.2247 76.1468 12.2247C77.7784 12.2247 78.5823 13.5962 78.5823 14.8967C78.5823 16.2445 77.7074 17.6159 76.1468 17.6159ZM70.3064 10.3568H67.0434L63.7803 14.14H63.733V5.32031H61.203V19.5075H63.733V15.0149H63.7803L67.1616 19.5075H70.472L66.5705 14.5183L70.3064 10.3568ZM98.3971 10.1203C95.5124 10.1203 93.4316 12.1302 93.4316 14.8967C93.4316 17.7814 95.5597 19.7912 98.3971 19.7912C101.235 19.7912 103.363 17.7578 103.363 14.8967C103.363 12.1065 101.258 10.0967 98.3971 10.0967V10.1203ZM98.3971 17.6159C96.7419 17.6159 95.9853 16.1972 95.9853 14.8967C95.9853 13.5962 96.7419 12.2247 98.3971 12.2247C100.052 12.2247 100.785 13.5962 100.785 14.8967C100.785 16.1972 100.029 17.6159 98.3971 17.6159Z",fill:"currentColor"}),r.createElement("path",{d:"M11.2405 21.2808C17.117 21.2808 21.8809 16.5169 21.8809 10.6404C21.8809 4.76387 17.117 0 11.2405 0C5.36396 0 0.600098 4.76387 0.600098 10.6404C0.600098 16.5169 5.36396 21.2808 11.2405 21.2808Z",fill:"#2CA01C"}),r.createElement("path",{d:"M3.55566 10.6404C3.55566 11.7379 3.99162 12.7904 4.76764 13.5664C5.54365 14.3424 6.59615 14.7783 7.69359 14.7783H8.28473V13.2414H7.69359C7.00377 13.2414 6.3422 12.9674 5.85442 12.4796C5.36664 11.9918 5.09261 11.3302 5.09261 10.6404C5.09261 9.95058 5.36664 9.28901 5.85442 8.80123C6.3422 8.31346 7.00377 8.03942 7.69359 8.03942H9.11231V16.0788C9.11231 16.2807 9.15207 16.4805 9.22931 16.667C9.30655 16.8535 9.41976 17.0229 9.56247 17.1656C9.70519 17.3083 9.87463 17.4215 10.0611 17.4988C10.2476 17.576 10.4474 17.6158 10.6493 17.6158V6.50248H7.69359C6.59615 6.50248 5.54365 6.93844 4.76764 7.71445C3.99162 8.49046 3.55566 9.54296 3.55566 10.6404ZM14.7872 6.50248H14.1961V8.03942H14.7872C15.477 8.03942 16.1386 8.31346 16.6264 8.80123C17.1141 9.28901 17.3882 9.95058 17.3882 10.6404C17.3882 11.3302 17.1141 11.9918 16.6264 12.4796C16.1386 12.9674 15.477 13.2414 14.7872 13.2414H13.3685V5.20199C13.3685 4.79436 13.2065 4.40343 12.9183 4.1152C12.6301 3.82697 12.2391 3.66504 11.8315 3.66504V14.7783H14.7872C15.3306 14.7783 15.8687 14.6713 16.3707 14.4634C16.8727 14.2554 17.3289 13.9506 17.7131 13.5664C18.0974 13.1821 18.4022 12.726 18.6101 12.2239C18.8181 11.7219 18.9251 11.1838 18.9251 10.6404C18.9251 10.097 18.8181 9.55893 18.6101 9.05689C18.4022 8.55485 18.0974 8.09869 17.7131 7.71445C17.3289 7.33021 16.8727 7.02541 16.3707 6.81746C15.8687 6.60951 15.3306 6.50248 14.7872 6.50248Z",fill:"white"}),r.createElement("path",{d:"M35.1225 2.43553C35.2628 2.43553 35.3999 2.39393 35.5166 2.31598C35.6332 2.23803 35.7242 2.12725 35.7779 1.99763C35.8315 1.86801 35.8456 1.72538 35.8182 1.58778C35.7908 1.45018 35.7233 1.32378 35.6241 1.22458C35.5249 1.12537 35.3985 1.05781 35.2609 1.03044C35.1233 1.00307 34.9806 1.01712 34.851 1.07081C34.7214 1.1245 34.6106 1.21542 34.5327 1.33207C34.4547 1.44872 34.4131 1.58587 34.4131 1.72617C34.4131 1.9143 34.4879 2.09473 34.6209 2.22776C34.7539 2.36079 34.9344 2.43553 35.1225 2.43553ZM30.9373 2.90844C30.6429 2.90803 30.3542 2.98968 30.1036 3.14421C29.853 3.29875 29.6504 3.52006 29.5186 3.78331H29.4713V3.02666H28.3836V7.68479H29.5422V5.1311C29.5422 4.51632 29.8969 3.87789 30.6299 3.87789C31.3629 3.87789 31.5048 4.56361 31.5048 5.10745V7.70844H32.6634V4.75277C32.6634 3.80696 32.1668 2.86114 30.9373 2.86114V2.90844ZM26.019 7.68479H27.2013V3.02666H26.019V7.68479ZM47.1816 2.41188C47.3219 2.41188 47.4591 2.37028 47.5757 2.29233C47.6924 2.21439 47.7833 2.1036 47.837 1.97398C47.8907 1.84437 47.9047 1.70174 47.8773 1.56413C47.85 1.42653 47.7824 1.30014 47.6832 1.20093C47.584 1.10173 47.4576 1.03417 47.32 1.00679C47.1824 0.979424 47.0398 0.993471 46.9101 1.04716C46.7805 1.10085 46.6697 1.19177 46.5918 1.30842C46.5138 1.42508 46.4722 1.56223 46.4722 1.70252C46.4722 1.89066 46.547 2.07109 46.68 2.20412C46.813 2.33715 46.9935 2.41188 47.1816 2.41188ZM45.29 3.02666V4.06706H46.5905V7.68479H47.7727V4.06706H49.0732V3.02666H45.29ZM43.3038 7.68479H44.486V3.02666H43.3038V7.68479ZM33.2545 4.06706H34.555V7.68479H35.7373V4.06706H37.0378V3.02666H33.2545V4.06706ZM40.9629 5.604C40.9629 6.21878 40.6082 6.8572 39.8752 6.8572C39.1422 6.8572 39.0003 6.14784 39.0003 5.604V3.02666H37.8181V5.93504C37.8181 6.88085 38.3383 7.82666 39.5442 7.82666C39.8426 7.83151 40.1363 7.75195 40.3915 7.59717C40.6467 7.44239 40.8529 7.21867 40.9865 6.95179H41.0102V7.70844H42.1215V3.02666H40.9392V5.58036L40.9629 5.604Z",fill:"currentColor"})),s={containerPaddingTop:new l(i[5],i[7]),containerPaddingBottom:new l(i[5],i[5]),containerPaddingLeftRight:new l(i[6],i[11])},L=a.div`
|
|
2
2
|
border-radius: inherit;
|
|
3
3
|
max-width: 520px;
|
|
4
4
|
text-align: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as Ol}from"./pdf-
|
|
1
|
+
import{j as Ol}from"./pdf-CmlsF1Bq.js";import{p as Q,e as xc,d as kc,g as jl,a as xl}from"./sentry-Q4kep6XN.js";import{B as dt,cs as Tc,Gn as Ac,Gw as kl,Ei as Rc,bE as Tl,c_ as Al,c$ as Rl}from"./zeni-epic-state-DHqVwJ2L.js";import{a as lt,b as Il,c as Pl,d as Nl,e as an,f as Ll,g as $l,h as Ml,i as Vt,j as Ic,k as oe,l as je,m as Dl,n as Yt,o as ue,p as Cl}from"./utils-Yz1HF93N.js";import{r as un}from"./empty-BkriGRuv.js";import{r as Fl,a as Bl,b as Ul,c as ql}from"./pdf-lib-BdZjuQvb.js";import{r as Gl}from"./index-CImw4dkc.js";import{r as zl}from"./index-uHN8COgu.js";import{j as Zl,h as Hl,i as Vl,u as En,k as Yl}from"./core-B0aIoG8L.js";import{jd as Kl,je as Pc,jf as Wl,jn as Jl,jo as Xl,jp as Ql,jl as tf}from"./index-EqHxd201.js";import"./mui-2NnLxiU2.js";import{d as Pe}from"./decodeURIComponentSafe-Bu6iKDPg.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},f=new t.Error().stack;f&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[f]="478df8db-b737-4b3c-9825-73b71e4f3afe",t._sentryDebugIdIdentifier="sentry-dbid-478df8db-b737-4b3c-9825-73b71e4f3afe")}catch{}})();var _n,Sn={exports:{}},On,jn,xn,kn,Tn,An,Rn,In,Pn,Ne,Nn,Ln,$n,Mn,Dn,Cn,Fn,Bn,Un,qn,Gn,Le,zn,Zn,Hn,Vn,Yn,Kn,Wn,$e,Jn,Xn,Qn,to,eo,ro,no,Me={exports:{}},De={exports:{}},Ce={};function Nc(){if(On)return Ce;function t(r){return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(r)}function f(r,e){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,p){return a.__proto__=p,a},f(r,e)}function m(r){var e=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var a,p=s(r);if(e){var h=s(this).constructor;a=Reflect.construct(p,arguments,h)}else a=p.apply(this,arguments);return function(d,b){if(b&&(t(b)==="object"||typeof b=="function"))return b;if(b!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(g){if(g===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g}(d)}(this,a)}}function s(r){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(r)}On=1;var c,o,n={};function i(r,e,a){a||(a=Error);var p=function(h){(function(u,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(y&&y.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),y&&f(u,y)})(g,h);var d,b=m(g);function g(u,y,v){var S;return function(w,_){if(!(w instanceof _))throw new TypeError("Cannot call a class as a function")}(this,g),S=b.call(this,function(w,_,M){return typeof e=="string"?e:e(w,_,M)}(u,y,v)),S.code=r,S}return d=g,Object.defineProperty(d,"prototype",{writable:!1}),d}(a);n[r]=p}function l(r,e){if(Array.isArray(r)){var a=r.length;return r=r.map(function(p){return String(p)}),a>2?"one of ".concat(e," ").concat(r.slice(0,a-1).join(", "),", or ")+r[a-1]:a===2?"one of ".concat(e," ").concat(r[0]," or ").concat(r[1]):"of ".concat(e," ").concat(r[0])}return"of ".concat(e," ").concat(String(r))}return i("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),i("ERR_INVALID_ARG_TYPE",function(r,e,a){var p,h,d;if(c===void 0&&(c=ie()),c(typeof r=="string","'name' must be a string"),typeof e=="string"&&(h="not ",e.substr(0,h.length)===h)?(p="must not be",e=e.replace(/^not /,"")):p="must be",function(g,u,y){return(y===void 0||y>g.length)&&(y=g.length),g.substring(y-u.length,y)===u}(r," argument"))d="The ".concat(r," ").concat(p," ").concat(l(e,"type"));else{var b=function(g,u,y){return typeof y!="number"&&(y=0),!(y+u.length>g.length)&&g.indexOf(u,y)!==-1}(r,".")?"property":"argument";d='The "'.concat(r,'" ').concat(b," ").concat(p," ").concat(l(e,"type"))}return d+=". Received type ".concat(t(a))},TypeError),i("ERR_INVALID_ARG_VALUE",function(r,e){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";o===void 0&&(o=lt());var p=o.inspect(e);return p.length>128&&(p="".concat(p.slice(0,128),"...")),"The argument '".concat(r,"' ").concat(a,". Received ").concat(p)},TypeError),i("ERR_INVALID_RETURN_VALUE",function(r,e,a){var p;return p=a&&a.constructor&&a.constructor.name?"instance of ".concat(a.constructor.name):"type ".concat(t(a)),"Expected ".concat(r,' to be returned from the "').concat(e,'"')+" function but got ".concat(p,".")},TypeError),i("ERR_MISSING_ARGS",function(){for(var r=arguments.length,e=new Array(r),a=0;a<r;a++)e[a]=arguments[a];c===void 0&&(c=ie()),c(e.length>0,"At least one arg needs to be specified");var p="The ",h=e.length;switch(e=e.map(function(d){return'"'.concat(d,'"')}),h){case 1:p+="".concat(e[0]," argument");break;case 2:p+="".concat(e[0]," and ").concat(e[1]," arguments");break;default:p+=e.slice(0,h-1).join(", "),p+=", and ".concat(e[h-1]," arguments")}return"".concat(p," must be specified")},TypeError),Ce.codes=n,Ce}function ef(){if(xn)return jn;function t(k,E){var j=Object.keys(k);if(Object.getOwnPropertySymbols){var x=Object.getOwnPropertySymbols(k);E&&(x=x.filter(function(O){return Object.getOwnPropertyDescriptor(k,O).enumerable})),j.push.apply(j,x)}return j}function f(k){for(var E=1;E<arguments.length;E++){var j=arguments[E]!=null?arguments[E]:{};E%2?t(Object(j),!0).forEach(function(x){m(k,x,j[x])}):Object.getOwnPropertyDescriptors?Object.defineProperties(k,Object.getOwnPropertyDescriptors(j)):t(Object(j)).forEach(function(x){Object.defineProperty(k,x,Object.getOwnPropertyDescriptor(j,x))})}return k}function m(k,E,j){return(E=c(E))in k?Object.defineProperty(k,E,{value:j,enumerable:!0,configurable:!0,writable:!0}):k[E]=j,k}function s(k,E,j){return E&&function(x,O){for(var $=0;$<O.length;$++){var N=O[$];N.enumerable=N.enumerable||!1,N.configurable=!0,"value"in N&&(N.writable=!0),Object.defineProperty(x,c(N.key),N)}}(k.prototype,E),Object.defineProperty(k,"prototype",{writable:!1}),k}function c(k){var E=function(j,x){if(p(j)!=="object"||j===null)return j;var O=j[Symbol.toPrimitive];if(O!==void 0){var $=O.call(j,x);if(p($)!=="object")return $;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(j)}(k,"string");return p(E)==="symbol"?E:String(E)}function o(k,E){if(E&&(p(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return n(k)}function n(k){if(k===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return k}function i(k){var E=typeof Map=="function"?new Map:void 0;return i=function(j){if(j===null||(x=j,Function.toString.call(x).indexOf("[native code]")===-1))return j;var x;if(typeof j!="function")throw new TypeError("Super expression must either be null or a function");if(E!==void 0){if(E.has(j))return E.get(j);E.set(j,O)}function O(){return l(j,arguments,a(this).constructor)}return O.prototype=Object.create(j.prototype,{constructor:{value:O,enumerable:!1,writable:!0,configurable:!0}}),e(O,j)},i(k)}function l(k,E,j){return l=r()?Reflect.construct.bind():function(x,O,$){var N=[null];N.push.apply(N,O);var P=new(Function.bind.apply(x,N));return $&&e(P,$.prototype),P},l.apply(null,arguments)}function r(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function e(k,E){return e=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(j,x){return j.__proto__=x,j},e(k,E)}function a(k){return a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(E){return E.__proto__||Object.getPrototypeOf(E)},a(k)}function p(k){return p=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(E){return typeof E}:function(E){return E&&typeof Symbol=="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E},p(k)}xn=1;var h=lt().inspect,d=Nc().codes.ERR_INVALID_ARG_TYPE;function b(k,E,j){return(j===void 0||j>k.length)&&(j=k.length),k.substring(j-E.length,j)===E}var g="",u="",y="",v="",S={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function w(k){var E=Object.keys(k),j=Object.create(Object.getPrototypeOf(k));return E.forEach(function(x){j[x]=k[x]}),Object.defineProperty(j,"message",{value:k.message}),j}function _(k){return h(k,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function M(k,E,j){var x="",O="",$=0,N="",P=!1,G=_(k),A=G.split(`
|
|
2
2
|
`),I=_(E).split(`
|
|
3
3
|
`),R=0,B="";if(j==="strictEqual"&&p(k)==="object"&&p(E)==="object"&&k!==null&&E!==null&&(j="strictEqualObject"),A.length===1&&I.length===1&&A[0]!==I[0]){var V=A[0].length+I[0].length;if(V<=10){if(!(p(k)==="object"&&k!==null||p(E)==="object"&&E!==null||k===0&&E===0))return"".concat(S[j],`
|
|
4
4
|
|
package/dist/assets/{QBOSetupSection-CzBfIVqR-DDJCICP1.js → QBOSetupSection-CzBfIVqR-D48AIQ6b.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as k,O as u,V as i,i as C,o,b as a,e as c,f7 as I,H as T,d as D,aT as W,e_ as B,ad as w,x as f,u as t}from"./index-
|
|
1
|
+
import{J as k,O as u,V as i,i as C,o,b as a,e as c,f7 as I,H as T,d as D,aT as W,e_ as B,ad as w,x as f,u as t}from"./index-EqHxd201.js";import{n as s}from"./mui-2NnLxiU2.js";import{D as E,V as _}from"./QBOConnectionDialog-Ca36jKz2-DpeJsMkG.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="70321822-c94c-410d-a549-ff907fc2a2f6",e._sentryDebugIdIdentifier="sentry-dbid-70321822-c94c-410d-a549-ff907fc2a2f6")}catch{}})();const l={containerPadding:new a(t[3],t[4]),sectionWidth:new a(343,580,726),topElementsRowGap:new a(t[3],t[0]),arrowIconWidthHeight:new a(t[3],t[4])},G={title:new T("standardMedium","largeMedium")},ee=({isAdmin:e,hasError:r=!1,isValid:d,saveConnectionState:p,isQBOPopupOpen:$,companyName:y,updateQBOPopupState:h,handleOnConnectClick:b})=>{const n=k(),{qbo_connection:j}=u.getLocalizedStrings().customerOnboardingPage.sections,{title:S,sucessText:v,button:z,errorText:P,requiredText:O}=j;return i.jsxs(H,{windowSize:n,children:[i.jsxs(A,{windowSize:n,children:[n==="small"?i.jsx(J,{children:d?i.jsx(K,{}):i.jsx(U,{})}):null,i.jsx(N,{windowSize:n,children:S})]}),i.jsxs(Q,{windowSize:n,children:[i.jsxs(V,{windowSize:n,children:[i.jsxs(L,{children:[i.jsx(M,{}),i.jsx(R,{windowSize:n}),i.jsx(F,{})]}),d?n!=="small"?i.jsx(m,{}):null:i.jsx(C,{variant:"primary",size:n!=="small"?"standard":"xs-small",label:z.connect,style:{width:"fit-content"},onClick:()=>h(!0),loading:p==="In-Progress"})]}),d?i.jsxs(i.Fragment,{children:[i.jsx(q,{children:v}),n==="small"?i.jsx(m,{}):null]}):null,p==="Error"?i.jsx(x,{children:i.jsx(g,{windowSize:n,children:P})}):null,r&&!d?i.jsx(x,{children:i.jsx(g,{windowSize:n,children:O})}):null]}),i.jsx(E,{isAdmin:e,isGoBackAllowed:!0,isQBOPopupOpen:$,companyName:y,saveConnectionState:p,handleOnConnectClick:b,handleGoBack:()=>h(!1)})]})},m=()=>{const{tags:e}=u.getLocalizedStrings().customerOnboardingPage,{connected:r}=e;return i.jsx(B,{style:{width:"max-content",padding:0,marginTop:o.sp2},tagTitle:r,textColor:{color:new w(c.successDark),borderColor:new w(c.successDark)}})},H=s.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t}from"./pdf-
|
|
1
|
+
import{j as t}from"./pdf-CmlsF1Bq.js";import{a as o}from"./sentry-Q4kep6XN.js";import{u,j as L,i as A,h as F,k as M}from"./core-B0aIoG8L.js";import{y as N,J as V,je as S,kN as W,b as _,jR as U,jC as $,bc as G,jl as l,G as K,jX as z,kO as X}from"./index-EqHxd201.js";import{cD as q,cs as Q,JA as R,JB as Y,JC as Z,pK as ee,pA as h,cF as ae,pF as re,JD as ne}from"./zeni-epic-state-DHqVwJ2L.js";import{D as te,e as se,n as oe,S as ie}from"./mui-2NnLxiU2.js";import{M as le}from"./MobileAppDrawer-sKiHtZDX.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]="86f2b0c5-ed2d-4547-b74d-7acb52ca31c9",e._sentryDebugIdIdentifier="sentry-dbid-86f2b0c5-ed2d-4547-b74d-7acb52ca31c9")}catch{}})();const ce={overlayWidth:new _(100,100,30)},de=({isReferralDrawerOpen:e,closeDrawerHandler:a})=>{const r=N(),s=V();if(S.getSignedInUser()==null)throw Error("Can't access How Referral works without signing in...");const i=()=>{a(!0)},p=u(c=>q(c));return t.jsx(te,{anchor:"right",open:e,PaperProps:{style:{width:ce.overlayWidth.valuePercentage(s),boxShadow:"none"}},slotProps:{backdrop:{style:{opacity:.75,backgroundColor:r.colors.black,cursor:"pointer"}}},onClose:()=>i(),children:t.jsx(se,{in:e,direction:"left",children:t.jsx(fe,{onClick:c=>c.stopPropagation(),children:t.jsx(W,{onDismissClick:i,rewardsPlan:p.rewardsPlan})})})})},fe=oe(ie)`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-height: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as t}from"./pdf-
|
|
1
|
+
import{j as t}from"./pdf-CmlsF1Bq.js";import x from"./NotFoundScreen-BbpMMX9s.js";import{a as p}from"./sentry-Q4kep6XN.js";import{j as I,h as A,i as C,u,N as E,k,R as D,m as c}from"./core-B0aIoG8L.js";import{cs as T,Kv as y,KL as g,yq as V,xz as _,yp as m,yg as U,K_ as K}from"./zeni-epic-state-DHqVwJ2L.js";import{y as $,je as N,jC as O,jX as W,ll as q,k3 as z}from"./index-EqHxd201.js";import"./mui-2NnLxiU2.js";import{R as h}from"./ReimbursementApprovalRuleDetailScreen-C6QD0dHy.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="0ba7352c-a768-49af-a737-4123051acf3d",e._sentryDebugIdIdentifier="sentry-dbid-0ba7352c-a768-49af-a737-4123051acf3d")}catch{}})();const d="reimbursement-approval-rule-update",B=k(function(e){return{approvalView:y(e),remiSetupApproverViewUpdateData:g(e).remiSetupApproverViewUpdateData}},function(e,r){const{navigate:a,location:l}=r;return{onApprovalRulesEventReceived:n=>{n.endsWith(d)&&e(K(!1))},onBackClick:()=>{z(l)?a("../../"):a("../../../reimbursements/setup")},onDeleteRuleClick:n=>{e(U(n))},onEditRuleClick:n=>{n!=null?(e(m(n)),a(`./${n}/edit`)):(e(m()),a("./new"))}}})(W(q)),L=()=>{const e=I(),r=A(),a=C(),[l,n]=p.useState(!1),[f,S]=p.useState(!1),v=u(s=>s.remiSetupApproverViewState.fetchState),o=u(s=>T(s)),j=$(),i=u(s=>y(s)),b=u(s=>g(s).remiSetupApproverViewUpdateData);if(p.useEffect(()=>{b?.updateStatus.fetchState==="Completed"&&a(V())},[b]),p.useEffect(()=>{l||v!=="Not-Started"||(n(!0),a(_(!0)))},[l,v,a]),N.getSignedInUser()==null)throw Error("Can't access reimbursement approval without signing in...");p.useEffect(()=>{i.allApprovalRules.length===0&&i.fetchState==="Completed"&&(f||(S(!0),a(m())),e("./new"))},[f,i,a]);const w={events:o.companyId!=null?[`private-${o.companyId}.${d}`]:[],eventCallback:(s,P,R)=>{s.endsWith(d)&&R.onApprovalRulesEventReceived(s)}};return o.companyReimbursementInfo?.info?.isReimbursementTOSAccepted===!1?t.jsx(E,{to:"../../promo"}):o.companyReimbursementInfo?.info?.isReimbursementTOSAccepted!==!0||i.fetchState!=="Completed"&&i.fetchState!=="Error"?t.jsx(O,{fetchState:"In-Progress",style:{backgroundColor:j.colors.grey5}}):t.jsx(B,{currentTenant:o,location:r,navigate:e,...w})};function Z(){return t.jsxs(D,{children:[t.jsx(c,{path:"/",element:t.jsx(L,{})}),t.jsx(c,{path:"/new",element:t.jsx(h,{})}),t.jsx(c,{path:"/:approvalRuleId/edit",element:t.jsx(h,{})}),t.jsx(c,{path:"*",element:t.jsx(x,{})})]})}export{Z as R};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as M,u as U,y as W,J as G,O as D,T as J,a7 as X,a0 as H,b$ as K,V as r,a_ as Q,A as Y,a9 as Z,o as b,fo as ee}from"./index-
|
|
1
|
+
import{b as M,u as U,y as W,J as G,O as D,T as J,a7 as X,a0 as H,b$ as K,V as r,a_ as Q,A as Y,a9 as Z,o as b,fo as ee}from"./index-EqHxd201.js";import{a as L}from"./sentry-Q4kep6XN.js";import{n as u}from"./mui-2NnLxiU2.js";import{b as ae,f as te,o as B,l as T}from"./FollowStepsSection-0eFMS0c5-BlZYARd4.js";import"./pdf-CmlsF1Bq.js";import"./zeni-epic-state-DHqVwJ2L.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:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="616f21f7-4342-4861-96d4-946b6e0b737a",e._sentryDebugIdIdentifier="sentry-dbid-616f21f7-4342-4861-96d4-946b6e0b737a")}catch{}})();const _="reimbursementApprovalRuleDetailPage",C="lowerBound",k="upperBound",I="steps",h="applyToExistingReimbursements",le={footerPadding:new M(U[2],U[3])};function De({localData:e,approvalUpdateActionType:t,isLowerBoundDisabled:a=!1,isUpperBoundDisabled:o=!0,hideUpperBoundField:n=!1,onBackClick:s,onApprovalRuleDataUpdated:g,onResetClick:$,onSaveRuleClick:N,onSaveRuleSuccess:A}){const E=W(),w=G(),l=D.getLocalizedStrings().commonSetUp.approval,S=D.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,x=re(e,t==="approval_create"&&!a),y=J({mode:"all",reValidateMode:"onChange",defaultValues:x}),p=e.remiSetupApproverViewUpdateData?.updateStatus,R=X(p?.fetchState),{upperBound:P}=x,{allApprovalRules:d,allAccountingClasses:V,remiSetupApproverViewUpdateData:c}=e;let m=d.length>1?d.length-1:0,v=d.length>0?d[m].criteria[0].range.min.amount:0;if(c!=null&&c.type==="approval_update"&&c.data!=null){const{approvalRuleId:i}=c.data;m=d.findIndex(f=>f.approvalRuleId===i),v=m>0?d[m-1].criteria[0].range.min.amount:0}const O=y.handleSubmit(()=>{N()});return L.useEffect(()=>{const i=y.watch((f,{name:q})=>{if(q!=null&&f!=null){const z=H(f);K(()=>(async(me,F)=>{g(F)})(0,z))}});return()=>{i.unsubscribe()}}),L.useEffect(()=>{R==="In-Progress"&&p?.fetchState==="Completed"&&A()},[R,p?.fetchState,A]),r.jsxs(ie,{children:[r.jsx(Q,{title:t==="approval_create"?l.newApproval:l.editApproval,backgroundColor:E.colors.grey4,style:{zIndex:4},onBackClick:()=>{s()},source:"ReimbursementApprovalRuleDetailPage"}),r.jsx(de,{children:r.jsxs(Y,{...y,children:[r.jsx(ue,{children:r.jsx("form",{id:j(_),onSubmit:O,children:r.jsxs(pe,{children:[r.jsx(ae,{label:{label:n?S.amountPerRemiGreaterLabel:S.amountPerRemiLabel},firstText:{type:"number",name:C,placeholder:"$0",options:{required:!0,max:P===1/0?Number.MAX_SAFE_INTEGER-1:P-1,min:v,validate:i=>!!a||i!=null&&i>v},isDisabled:a,additionalInfoLabel:l.firstRuleLowerBoundInfoLabel,additionalErrorLabel:l.firstRuleErrorInfoLabel},secondText:{type:"number",name:k,placeholder:"Infinity",isDisabled:o,hideField:n,additionalInfoLabel:l.upperBoundInfoLabel}}),r.jsx(ce,{}),r.jsx(te,{sectionId:I,label:{label:l.followStepsLabel},approversPlaceholder:l.approversPlaceholder,notifiersPlaceholder:l.notifiersPlaceholder,allUserWithRoles:e.allApprovers,filteredApprovers:e.filteredApprovers.map(i=>i.user),allAttributes:e.allAttributes,filteredAttributes:e.filteredAttributes,allAccountingClasses:V,stepsInfo:x[I],userSelectPlaceholder:l.userSelectPlaceholder,approveNotifyPlaceholder:l.approveNotifyPlaceholder,productType:"zeni_reimbursements"})]})})}),r.jsx(Z,{formId:j(_),primaryBtn:{label:l.saveBtnText,isLoading:p?.fetchState==="In-Progress",isDisabled:p?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},topComponent:t==="approval_create"&&d.length===0?null:r.jsx(ee,{name:h,mode:"always_on",checkBoxes:[{value:h,label:l.applyToExistingReimbursements,defaultChecked:!0,groupLabel:!1}],style:{width:"100%"}}),showCancel:!0,cancelBtn:{label:l.cancelBtnText,isLoading:!1,style:{width:"85px",minWidth:"auto"},onClick:$},containerStyle:{justifyContent:w==="small"?"space-between":"center"},style:{padding:le.footerPadding.valuePx(w)},separatorStyle:{marginRight:b.sp4}})]})})]})}const re=(e,t)=>{const{criteria:a,steps:o}=e.remiSetupApproverViewUpdateData?.data??{},n=e.allApprovalRules.length===0;return{[h]:n?[]:[h],[I]:oe(e.allApprovers.map(s=>s.user),e.filteredApprovers.map(s=>s.user),B(e.allAttributes),B(e.filteredAttributes),o??[])??[],[C]:t?void 0:a!=null?a.range.min.amount??0:0,[k]:a!=null?a.range.max==null?1/0:a.range.max.amount:1/0}},oe=(e,t,a,o,n)=>n&&n.length>0?n.map((s,g)=>({stepIndex:g,stepType:{selectedOption:s.action,allOptions:T},actors:{allUsers:t,selectedUsers:se(e,s.actors),allNonUsers:o,selectedNonUsers:ne(a,s.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:T},actors:{allUsers:t,selectedUsers:[],allNonUsers:o,selectedNonUsers:[]}}],se=(e,t)=>e.filter(a=>a.userId!=null&&t.findIndex(o=>o.userId===a.userId)>-1),ne=(e,t)=>e.filter(a=>t.findIndex(o=>o.subType===a.value)>-1),j=e=>`${e}_form`,Le=e=>`${e}`,ie=u.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
height: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as g}from"./pdf-
|
|
1
|
+
import{j as g}from"./pdf-CmlsF1Bq.js";import{a as y}from"./sentry-Q4kep6XN.js";import{j as w,i as A,h as T,l as U,u as b,k as E}from"./core-B0aIoG8L.js";import{KL as R,Kv as C,yj as x,ys as _,yq as S,yr as h,KM as k}from"./zeni-epic-state-DHqVwJ2L.js";import{je as j,y as B,jC as V,lc as F,k3 as O}from"./index-EqHxd201.js";import"./mui-2NnLxiU2.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]="cd0530f0-7394-4100-97c0-0b6177252dcc",e._sentryDebugIdIdentifier="sentry-dbid-cd0530f0-7394-4100-97c0-0b6177252dcc")}catch{}})();function $(e){return k(e)==null}const K=E(function(e,a){const t=R(e),s=t.remiSetupApproverViewUpdateData?.type??"approval_create",n=s==="approval_create"&&t.allApprovalRules.length!==0;let l=t.allApprovalRules.length===0;return a.approvalRuleId&&(l=t.allApprovalRules.findIndex(r=>r.approvalRuleId===a.approvalRuleId)===0),{localData:t,hideUpperBoundField:n,isLowerBoundDisabled:l,approvalUpdateActionType:s}},function(e,a){const{navigate:t,approvalUpdateDataView:s,approverViewData:n,approvalRuleId:l}=a,r=s.remiSetupApproverViewUpdateData?.type,i=O(a.location);return{onApprovalRuleDataUpdated:o=>{const c=p=>{const v=[];return p.forEach(u=>{const D=u.actors.selectedUsers.map(d=>({type:"user",subType:void 0,userId:d.userId,idType:"user",isImplicitActor:!1})),I=u.actors.selectedNonUsers.map(d=>{const m=!!$(d.value);return{type:m?"attribute":"role",subType:d.value,userId:void 0,idType:void 0,isImplicitActor:!m}}),f=D.concat(I);v.push({action:u.stepType.selectedOption,actors:f,operator:f.length>1?u.stepType.selectedOption==="require_approval"?"or":"and":"is"})}),v};if(r==="approval_create"){const p={criteria:{rangeType:"range",rangeEntity:"currency",range:{min:{amount:o.lowerBound,currencyCode:"USD",currencySymbol:"$"},max:{amount:o.upperBound,currencyCode:"USD",currencySymbol:"$"}}},steps:c(o.steps),isApplicableOnPendingApprovalEntity:o.applyToExistingReimbursements.includes("applyToExistingReimbursements")};e(h(p))}else{const p={approvalRuleId:l,criteria:{rangeType:"range",rangeEntity:"currency",range:{min:{amount:o.lowerBound,currencyCode:"USD",currencySymbol:"$"},max:{amount:o.upperBound,currencyCode:"USD",currencySymbol:"$"}}},steps:c(o.steps),isApplicableOnPendingApprovalEntity:o.applyToExistingReimbursements.includes("applyToExistingReimbursements")};e(h(p))}},onResetClick:()=>{e(S()),r==="approval_update"||i?t("../"):n.allApprovalRules.length===0&&n.fetchState==="Completed"?t("../../setup"):t("../")},onBackClick:()=>{e(S()),r==="approval_update"||i?t("../"):n.allApprovalRules.length===0&&n.fetchState==="Completed"?t("../../setup"):t("../")},onSaveRuleClick:()=>{e(_())},onSaveRuleSuccess:()=>{t("../")}}})(F);function G(){const e=w(),a=A(),t=T(),{approvalRuleId:s}=U(),n=j.getSignedInUser(),l=B(),r=b(p=>R(p)),i=b(p=>C(p)),[o,c]=y.useState(!1);if(y.useEffect(()=>{o||(c(!0),a(x(!0)))}),y.useEffect(()=>{i.fetchState==="Not-Started"&&e(s!=null?"../../":"../")},[i,s]),n==null)throw Error("Can't access address page without signing in...");return r.approversDetailsFetchStatus.fetchState=="Not-Started"||r.approversDetailsFetchStatus.fetchState==="In-Progress"?g.jsx(V,{fetchState:r.approversDetailsFetchStatus.fetchState,style:{backgroundColor:l.colors.grey5}}):g.jsx(K,{navigate:e,approvalUpdateDataView:r,approvalRuleId:s,approverViewData:i,location:t})}export{G as R,$ as i};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as E,J as N,O as j,V as t,a_ as G,f as F,a6 as m,o,b as r,s as M,a4 as P,bg as k,bK as V,bL as q,bM as O,ch as J,u as l,at as K,H as T,as as Q,e as z,cg as X,aR as Y,j as Z}from"./index-
|
|
1
|
+
import{y as E,J as N,O as j,V as t,a_ as G,f as F,a6 as m,o,b as r,s as M,a4 as P,bg as k,bK as V,bL as q,bM as O,ch as J,u as l,at as K,H as T,as as Q,e as z,cg as X,aR as Y,j as Z}from"./index-EqHxd201.js";import{n as i}from"./mui-2NnLxiU2.js";import{a as ee}from"./sentry-Q4kep6XN.js";import"./pdf-CmlsF1Bq.js";import"./zeni-epic-state-DHqVwJ2L.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:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="e5bb42f7-1d63-4ed5-9444-45d4c8d6137c",e._sentryDebugIdIdentifier="sentry-dbid-e5bb42f7-1d63-4ed5-9444-45d4c8d6137c")}catch{}})();const s={sectionWidth:new r(343,580,726),ruleWrapperPadding:new r(l[3],l[4]),wrapperGap:new r(l[4],l[3]),wrapperMarginBottom:new r(l[6],l[8]),lastWrapperMarginBottom:new r(l[5],l[9]),stepperWidthHeight:new r(20,l[5]),stepperItemLeft:new r(-29,-23),stepperItemTop:new r(2,l[0]),stepperItemPaddingLeft:new r(l[0],10),stepperItemMinHeight:new r(22,28),stepperLeft:new r(11,17),stepperTop:new r(2,l[0]),stepperContentTop:new r(l[0],-4)},U={stepper:new T("smallRegular","standardRegular"),amount:new T("standardRegular","largeRegular")},te=({showDeleteBtn:e=!1,disableButtons:c=!1,isLastSection:g=!1,approvalRule:f,onEditRuleClick:S,onDeleteRuleClick:y})=>{const[w,x]=ee.useState(!1),n=N(),{range:u}=f.criteria[0],{steps:$,approvalRuleId:p}=f,a=j.getLocalizedStrings().commonSetUp.approval,v={onOkClick:()=>{x(!1),y?.(p)},onCancelClick:()=>{x(!1)}};return t.jsxs(oe,{windowSize:n,isLastSection:g,isUpdatingApprovalRules:c,"data-testid":m("approval-rule-section",p),children:[t.jsxs(ie,{windowSize:n,children:[t.jsxs(ce,{children:[t.jsxs(W,{windowSize:n,children:[a.from," ",P("0,0",u.min)]}),t.jsxs(re,{children:[t.jsx(R,{}),t.jsx(le,{}),t.jsx(R,{})]}),u.max==null?t.jsx(ue,{}):t.jsx(W,{windowSize:n,children:P("0,0",{...u.min,amount:u.max.amount})})]}),t.jsxs(he,{className:"icons",children:[e?c?t.jsx(k,{title:a.approvalRulesUpdatingTooltip,placement:"top",children:t.jsx(C,{children:t.jsx(I,{isDisabled:!0,"data-testid":m("delete-approval-rule",p)})})}):t.jsx(I,{onClick:()=>{x(!0)},"data-testid":m("delete-approval-rule",p)}):null,c?t.jsx(k,{title:a.approvalRulesUpdatingTooltip,placement:"top",children:t.jsx(C,{children:t.jsx(B,{isDisabled:!0,"data-testid":m("edit-approval-rule",p)})})}):t.jsx(B,{onClick:()=>{S(p)},"data-testid":m("edit-approval-rule",p)})]})]}),t.jsx(se,{windowSize:n,children:t.jsx(ae,{isSingleStep:$.length===1,windowSize:n,children:$.map((h,H)=>t.jsxs(ne,{isSingleStep:$.length===1,className:"stepperItem",windowSize:n,children:[h.action==="require_approval"?t.jsx(pe,{children:a.requireText}):t.jsx(de,{children:a.notifyText}),h.nonUserActors.filter(d=>d.subType!=null).map((d,_)=>t.jsxs(A,{children:[t.jsx(D,{children:d.subType!=null?a.nonUsers[d.subType].label:null}),h.operator!="is"?t.jsx(L,{className:"operator",children:h.operator}):null]},`${d.subType}_${_}`)),h.actors.map(d=>t.jsxs(A,{children:[t.jsxs(D,{children:[d.firstName," ",d.lastName]}),h.operator!="is"?t.jsx(L,{className:"operator",children:h.operator}):null]},d.userId))]},H))})}),w?t.jsx(V,{titleComponent:t.jsx(O,{children:a.deleteApprovalRuleTitle}),descriptionComponent:t.jsx(q,{children:a.deleteApprovalRuleDesc}),primaryButtonText:a.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:a.cancelBtnText,action:v}):null]})},oe=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
gap: ${e=>s.wrapperGap.valuePx(e.windowSize)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{t as Dt,c as Ct,J as zt,y as kt,bz as At,b as m,O as et,fy as Mt,fA as Rt,fB as Bt,V as t,bK as Ae,bL as Me,bM as Re,a_ as Be,a6 as y,aM as Pt,cK as Nt,fC as Lt,fN as Pe,o as a,fD as Ne,eD as g,fG as w,eG as x,a4 as Le,eC as Oe,j as V,fI as We,a9 as Ot,m as Wt,fJ as Et,fK as re,aV as _t,fL as Ft,a8 as Kt,H as Ut,B as Vt,s as tt,at as it,e as G,W as Gt,bi as Yt,x as Ht,g2 as qt,f$ as Jt,u as c,bB as Zt,cf as Qt}from"./index-T6cemxxv.js";import{a as p}from"./sentry-BoIfGJBF.js";import{n as r}from"./mui-GaW5Gk_e.js";import{_ as Xt}from"./liveblocks--WiFaeN0.js";import{bG as ei,b_ as ti,Fl as ii}from"./zeni-epic-state-BtVcBgvu.js";import ai from"./InvoiceUploadSection-DYCjz9CI-6zrHw8Gx.js";import{r as ri,h as f,u as ni}from"./types-DyvtCprH-VF9iATMs.js";import"./pdf-DWoGjGSw.js";import"./core-BSWMBnrJ.js";import"./lottie-DOxhyevU.js";import"./dnd-DJrh3JTW.js";import"./analytics-BZz0SPy3.js";import"./plaid-CNcdZ4gc.js";import"./recharts-BQ8VH5gX.js";import"./utils-BGRwbgi2.js";import"./AttachmentView-DB_V1qT1-YRFnSBmh.js";import"./uploadReceipts-Dge0cNF1-CQe0GGy5.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},C=new e.Error().stack;C&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[C]="ce6b838f-55b1-4e96-a3c7-a35d01301b69",e._sentryDebugIdIdentifier="sentry-dbid-ce6b838f-55b1-4e96-a3c7-a35d01301b69")}catch{}})();const s={labelWidth:new m(120,160,160),largeLabelWidth:new m(150,235,235),rightMargin:new m(c[3],c[8]),leftMargin:new m(c[3],c[6]),invoiceRightMargin:new m(c[3],c[6]),invoiceLeftMargin:new m(c[3],c[8]),topMargin:new m(c[3],0),bottomMargin:new m(c[4],27),activityBottomMargin:new m(96,0),totalBottomMargin:new m(c[5],c[3]),formBottomMargin:new m(c[5],c[3]),navBarHeight:new m(44,62),closeMarginTop:new m(0,0),rightSectionWidth:new m(100,58),leftSectionWidth:new m(100,42),footerButtonWidth:new m(120,165),right:new m(c[3],c[0]),actionsContainerRight:new m(c[0],c[6]),otherActionsContainerBottom:new m(58,44),duplicateBannerWrapperMarginTop:new m(c[5],c[3]),duplicateBannerWrapperMarginRight:new m(c[3],c[8]),duplicateBannerWrapperMarginBottom:new m(c[5],c[3]),duplicateBannerWrapperMarginLeft:new m(c[3],c[6])},oi={formTitle:new Ut("h6Regular","h5Regular")},na=({remiDetails:e,uploadInvoiceEndPoint:C,authParams:oe,isAdmin:le,signedInUser:se,showApproveRejectBtns:de,isRealTimeApprovalEnabled:ce,isReimbursementCommentingEnabled:u,isShowDeletedReimbursementEnabled:me,isSignedInUserReimbursementCreator:at,updateEditRealTimeApproverClicked:pe,onSaveRealTimeApprovals:ue,redirectToReimbursementListScreen:Y,redirectToEditableReimbursementScreen:rt,onDuplicateLineClick:nt,approveOrRejectRemi:he,deleteReimbursement:ot,cancelAndDeleteReport:ye,handleZeniLogoClick:lt,onAddNewRule:be,initialOpenThreadRequest:k})=>{const d=Dt(),st=Ct().analytics,n=zt(),ge=kt(),[dt,A]=p.useState(!1),[H,q]=p.useState(!1),[ct,J]=p.useState(!1),[Z,Q]=p.useState("approved"),N=p.useRef(null),[S,X]=p.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[z,mt]=p.useState(null),[pt,L]=p.useState(!1),h=`dashboard_${d.currentTenant?.companyId}`,we=p.useRef({}),xe=l=>{const o=we.current[l];o!=null&&setTimeout(()=>ni(o,N.current),100)};p.useEffect(()=>{(e.deleteStatus.fetchState==="Completed"||e.approvalUpdateStatus.fetchState==="Completed"||e.cancelAndDeleteStatus.fetchState==="Completed")&&Y()},[e,Y]),p.useEffect(()=>{const l=window.location.hash;if(l&&l.startsWith("#L")){const o=l.substring(1);xe(o)}},[]),At({componentName:"reimbursement.details"});const ut={onOkClick:()=>{A(!1),S.primaryButtonText===i.buttons.delete?ot?.():S.title===i.cancelReportTitle?ye?.():S.title===i.cancelAndDeleteReportTitle&&ye?.(!0)},onCancelClick:()=>{A(!1)}},I=s.labelWidth.value(n),M=s.largeLabelWidth.value(n),fe=et.getLocalizedStrings(),{common:{texts:{comments:ht},strings:{empty:ve}},collaboration:{threads:{placeholder:{addANewComment:yt,replyAComment:bt},tooltip:{resolveComment:gt,unResolveComment:wt}}},dateFormat:$e}=fe,{reimbursementDetail:i,bulkActions:O}=fe.spendManagement.reimbursement,ee=e.remiDetails?.reportTitle,j=e.remiDetails?.lines??[],W=e.remiDetails?.reimbursementInfo.stage,E=e.remiDetails?.reimbursementInfo.billStatus,_=e.remiDetails?.reimbursementInfo.billPaymentStatus,Te=W?.code==="paid",xt=Te?W:E?.code=="approved"&&_?.code?_:E,v=li(e.remiDetails),R=E?.code=="approved"&&_?.code?_:E,F=e.remiDetails?.isDeleted??!1,je=e.remiDetails?.amount,Se=e.remiDetails?.amount.amount??0,Ie=()=>{X({title:e.remiDetails?.reimbursementInfo.stage.code==="draft"?i.deleteDraftTitle:i.deleteReportTitle,description:i.deleteAlertDescription,primaryButtonText:i.buttons.delete,secondaryButtonText:i.buttons.cancel}),A(!0)},De=()=>{rt()},ft={onOkClick:l=>{J(!1),he({reimbursementId:e.remiDetails?.id??"",type:"rejected",description:l})},onCancelClick:()=>{J(!1)}},vt=e.remiDetails?.reimbursementInfo.paymentDate!=null?ei(ti(e.remiDetails.reimbursementInfo.paymentDate.toDate(),[0,6],e.achSameDayMaxDays).toDateString()):void 0,te=e.remiDetails?.reimbursementInfo.expectedDepositDate??vt,$t=e.remiDetails?.lines?.some(l=>{const o=l.lineDetail;return o?.account?.isDeleted===!0&&o?.account?.isBillEditableCoaAccountType===!1})??!1,Ce=e.remiDetails?.reimbursementInfo.billStatus.code==="pending_approval"&&at&&!$t,Tt=e.remiDetails?.reimbursementInfo.billStatus.code!=="rejected"&&e.remiDetails?.reimbursementInfo.billPaymentStatus.code!=="paid",ie=xt?.code,jt=ri(e.duplicateLineByLineId),ze=e.duplicateReimbursementStatus.fetchState==="Completed"&&jt>0,{requestToOpenThread:ae,setRequestToOpenThread:K,setOpenThread:U}=p.useContext(Mt);p.useEffect(()=>{k?.threadId!=null&&k?.companyId!=null&&k?.entityType!=null&&K(k)},[k,K]);const{threads:B,isLoading:D}=Rt({application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id,isGlobalComment:!1},"both",!1),St=p.useMemo(()=>B.filter(l=>l.resolved===!1&&!l.id.includes(Bt)),[B]).length,It=p.useCallback((l,o)=>{U(o),L(!1)},[U,L]);p.useEffect(()=>{ae?.threadId!=null&&B.length>0&&!D&&(U(ae.threadId),K(null))},[ae,B,D,U,K]);const b={application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id},P=ii(e.remiDetails?.bulkProcessingDetail?.type);return t.jsxs(Bi,{windowSize:n,ref:N,children:[dt?t.jsx(Ae,{titleComponent:t.jsx(Re,{children:S.title}),descriptionComponent:t.jsx(Me,{children:S.description}),primaryButtonText:S.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:S.secondaryButtonText,action:ut}):null,ct?t.jsx(Ae,{titleComponent:t.jsx(Re,{children:`${i.rejectRemiTitlePrefix} ${e.remiDetails?.reportTitle??""} by ${e.createdBy?.firstName??""} ${e.createdBy?.lastName??""}`}),descriptionComponent:t.jsx(Me,{children:i.rejectRemiDescription}),primaryButtonText:i.buttons.send,secondaryButtonText:i.buttons.cancel,action:ft,isEditPopup:!0,isNotesIncluded:!0,notesPlaceholder:i.rejectRejectReasonPlaceholder}):null,t.jsxs(Di,{windowSize:n,"data-testid":y("reimbursement-detail-page-nav-bar-container"),children:[n!=="small"?t.jsx(Be,{"data-testid":y("reimbursement-detail-page-nav-bar-left"),style:{width:"42%"},title:"",leftSideComponent:t.jsx(Ci,{onClick:()=>lt?.(),"data-testid":y("remi-detail-page-nav-bar-zeni-logo")}),enableTitleOnScroll:!1,backgroundColor:ge.colors.background,keepBackgroundOnScroll:!0,scrollableContent:N,source:"ReimbursementDetailPage"}):null,n!=="small"?t.jsx(ji,{}):null,t.jsx(Be,{"data-testid":y("reimbursement-detail-page-nav-bar-right"),title:ee??ve,leftSideComponent:t.jsx(t.Fragment,{}),style:{width:n!=="small"?"58%":"100%"},rightSideComponent:t.jsxs(ki,{children:[u?t.jsxs(Ai,{isDisabled:D,onClick:D?()=>null:l=>{l.preventDefault(),l.stopPropagation(),mt({roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityType:"reimbursement.details",entityId:e.remiDetails?.id??""}),L(!0),st.trackCommentActivity("reimbursement","clicked",d.currentTenant?.companyName??"",d.controllersList.controllers.map(o=>Nt(o)),void 0,void 0,"page icon")},"data-testid":y("remi-comments-section"),children:[t.jsx(Pt,{count:D?void 0:St,isLoading:D,style:{left:"12px"}}),t.jsx(Mi,{})]}):null,t.jsx(Ri,{size:n,onClick:()=>{Y()},"data-testid":y("remi-detail-page-close"),children:t.jsx(zi,{})})]}),scrollableContent:N,enableTitleOnScroll:n!=="small",scrollThreshold:64,source:"ReimbursementDetailPage"})]}),t.jsxs(_i,{children:[n==="small"?t.jsxs(t.Fragment,{children:[t.jsx(qe,{windowSize:n,children:t.jsx(Je,{windowsSize:n,children:ee})}),e.createdBy?.userId!=null?t.jsx(Ve,{windowSize:n,children:`${i.by} ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,me&&v!=null?t.jsx(Ge,{color:v.color,bgColor:v.bgColor,borderColor:v.borderColor,children:v.value}):null,R?.code!=null?n==="small"?t.jsxs(t.Fragment,{children:[t.jsx(Lt,{progressSectionObj:R,createDate:e.remiDetails?.createTime,paymentDate:te,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:F}),P?t.jsx(Pe,{variant:"warning",style:{margin:`${a.sp5} ${a.sp3}`},title:O.duplicateWarning.title,description:O.duplicateWarning.description}):ze?t.jsxs(Ee,{size:n,children:[t.jsx(Ue,{}),t.jsxs(Fe,{children:[t.jsx(_e,{children:i.thereSeems}),t.jsx(Ke,{children:i.pleaseFind})]})]}):null]}):t.jsx(He,{windowSize:n,children:t.jsx(Ne,{progressSectionObj:R,createDate:e.remiDetails?.createTime,paymentDate:te,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:F})}):null]}):null,j.map((l,o)=>{const $=e.duplicateLineByLineId[l.lineId];return t.jsxs(Xe,{windowSize:n,children:[t.jsx(Oi,{windowSize:n,children:t.jsx(Wi,{bottomSeperator:j.length!==1,windowSize:n,children:t.jsx(ai,{showAutofill:!1,uploadInvoiceEndPoint:C,authParams:oe,entityId:e.remiDetails?.id,file:l.file,showTitlebar:!0,showTitlebarIcon:!1,pdfTitle:j.length>1?`#${o+1} Receipt`:"Receipt",style:{width:"auto",padding:0,height:j.length-1===o||o===0?760:451},onInvoiceUpload:()=>{console.log("onInvoiceUpload")},noAttachmentText:i.noReceiptAttached,type:"reimbursement"})})}),t.jsxs(Li,{windowSize:n,children:[o===0&&n!=="small"?t.jsxs(t.Fragment,{children:[t.jsxs(qe,{windowSize:n,children:[t.jsx(Je,{windowsSize:n,children:ee}),me&&v!=null?t.jsx(Ge,{color:v.color,bgColor:v.bgColor,borderColor:v.borderColor,children:v.value}):null]}),e.createdBy?.userId!=null?t.jsx(Ve,{windowSize:n,children:`By ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,R?.code!=null?t.jsx(He,{windowSize:n,children:t.jsx(Ne,{progressSectionObj:R,createDate:e.remiDetails?.createTime,paymentDate:te,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:F})}):null,P?t.jsx(Pe,{variant:"warning",style:{margin:`${a.sp3} ${a.sp8} ${a.sp3} ${a.sp6}`},title:O.duplicateWarning.title,description:O.duplicateWarning.description}):ze?t.jsxs(Ee,{size:n,children:[t.jsx(Ue,{}),t.jsxs(Fe,{children:[t.jsx(_e,{children:i.thereSeems}),t.jsx(Ke,{children:i.pleaseFind})]})]}):null]}):null,t.jsxs(ui,{windowSize:n,ref:ke=>{ke!=null&&(we.current[`L${l.lineId}`]=ke)},children:[n!=="small"?t.jsx(pi,{children:t.jsx(hi,{children:j.length>1?`#${o+1} ${i.reimbursement}`:i.reimbursement})}):null,t.jsxs(yi,{windowSize:n,children:[$?.duplicateLineId!=null?t.jsxs(ci,{children:[i.thisExpenseReview," ",t.jsx(mi,{onClick:()=>{if($.isDuplicateWithinTransaction&&$.duplicateLineId!=null)return xe(`L${$.duplicateLineId}`);$.duplicateTransactionId!=null&&$.duplicateLineId!=null&&nt($.duplicateTransactionId,$.duplicateLineId)},"data-testid":y("remi-view-duplicate-expense"),children:i.viewOriginalExpense})]}):null,t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:l.type===i.mileageKey?`${o}.mileage.reimbursementType`:`${o}.out_of_pocket.reimbursementType`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("reimbursementType",o,l.type===i.mileageKey?"mileage":"out_of_pocket")}`},style:{borderRadius:$?.duplicateLineId==null?`${a.sp2} ${a.sp2} 0 0`:"0 0 0 0"},children:t.jsx(w,{label:{label:i.reimbursementType,width:M},text:l.type===i.mileageKey?i.mileage:i.outOfPocket,style:{width:"auto",borderRadius:$?.duplicateLineId==null?`${a.sp2} ${a.sp2} 0 0`:"0 0 0 0"}})}),t.jsx(T,{}),l.type===i.mileageKey?t.jsxs(t.Fragment,{children:[t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${o}.mileage.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("transactionDate",o,"mileage")}`},children:t.jsx(w,{label:{label:i.transactionDate,width:M},text:l.transactionDate?.format($e.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${o}.mileage.distanceInMiles`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("distanceInMiles",o,"mileage")}`},children:t.jsx(w,{label:{label:i.distanceInMiles,width:M},text:l.distanceMileage.value.toString()??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${o}.mileage.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("amount",o,"mileage")}`},children:t.jsx(w,{label:{label:i.amount,width:I},text:l.homeCurrencyConversions!=null?Le("0,0[.]00",l.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${o}.mileage.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("memo",o,"mileage")}`},children:t.jsx(w,{label:{label:i.memo,width:I},text:l.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${o}.mileage.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("class",o,"mileage")}`},style:{borderRadius:`0 0 ${a.sp2} ${a.sp2}`},children:t.jsx(w,{label:{label:i.department,width:I},text:l.lineDetail.class?.className??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${a.sp2} ${a.sp2}`}})})]}):t.jsxs(t.Fragment,{children:[t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${o}.out_of_pocket.merchant`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("merchant",o,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.merchant,width:M},text:l.merchant?.name??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${o}.out_of_pocket.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("transactionDate",o,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.transactionDate,width:M},text:l.transactionDate?.format($e.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${o}.out_of_pocket.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("amount",o,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.amount,width:I},text:l.homeCurrencyConversions!=null?Le("0,0[.]00",l.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${o}.out_of_pocket.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("memo",o,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.memo,width:I},text:l.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${o}.out_of_pocket.account`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("account",o,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.category,width:I},text:l.lineDetail.account?.accountName??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${o}.out_of_pocket.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("class",o,"out_of_pocket")}`},style:{borderRadius:`0 0 ${a.sp2} ${a.sp2}`},children:t.jsx(w,{label:{label:i.department,width:I},text:l.lineDetail.class?.className??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${a.sp2} ${a.sp2}`}})})]})]})]}),j.length!==1&&j.length===o+1&&t.jsxs(Ni,{windowSize:n,children:[t.jsxs(Ze,{windowSize:n,children:[t.jsx(Qe,{children:i.total}),t.jsx(Oe,{amount:je,integerStyles:V.h6Regular.cssObject,decimalStyles:V.standardRegular.cssObject})]}),e.remiDetails&&t.jsx(We,{amount:Se,activities:e.remiActivities,stage:W?.code??"draft",onAddNewRule:be,entity:"reimbursement",realTimeApproval:{allApprovers:e.filteredApprovers,filteredAttributes:e.filteredAttributes,allAccountingClass:e.allAccountingClasses,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode??!1,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,attributeSubTypeToUserIdMapping:e.attributeSubTypeToUserIdMapping,isAdmin:le,signedInUserId:se?.userId,showRealTimeApproval:ce,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:pe,onSaveRealTimeApprovals:ue},historicActivities:e.remiHistory.activities})]})]})]},l.lineId)}),j.length===1&&t.jsxs(Xe,{windowSize:n,children:[t.jsx(Ye,{}),t.jsxs(si,{windowSize:n,children:[t.jsx(Pi,{windowSize:n,children:t.jsxs(Ze,{windowSize:n,children:[t.jsx(Qe,{children:i.total}),t.jsx(Oe,{amount:je,integerStyles:V.h6Regular.cssObject,decimalStyles:V.standardRegular.cssObject})]})}),e.remiDetails&&t.jsx(di,{windowSize:n,children:t.jsx(We,{amount:Se,activities:e.remiActivities,stage:W?.code??"draft",onAddNewRule:be,entity:"reimbursement",historicActivities:e.remiHistory.activities,realTimeApproval:{allApprovers:e.filteredApprovers,allAccountingClass:e.allAccountingClasses,filteredAttributes:e.filteredAttributes,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode??!1,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,attributeSubTypeToUserIdMapping:e.attributeSubTypeToUserIdMapping,isAdmin:le,signedInUserId:se?.userId,showRealTimeApproval:ce,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:pe,onSaveRealTimeApprovals:ue}})})]})]}),t.jsx(Ei,{})]}),Te||F===!0?null:t.jsxs(Ii,{children:[n!=="small"?t.jsx(Ye,{}):null,t.jsx(gi,{windowSize:n,"data-testid":y("remi-detail-page-footer"),onClick:l=>{l.stopPropagation(),H===!0&&q(!1)},children:t.jsx(Ot,{separatorStyle:{marginRight:a.sp4},showPrimaryButton:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||de,showCancel:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||de,cancelBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?n==="small"?i.buttons.delete:i.buttons.deleteReport:n==="small"?i.buttons.reject:i.buttons.rejectReport,isLoading:Z==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress"||Z==="delete"&&e.deleteStatus.fetchState==="In-Progress",onClick:()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?(Q("delete"),Ie()):(Q("rejected"),J(!0))},style:{width:s.footerButtonWidth.value(n)},reverseSpinnerColor:!1},primaryBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?n==="small"?i.buttons.edit:i.buttons.editAndResubmit:n==="small"?i.buttons.approve:i.buttons.approveReport,isLoading:Z==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?De():(Q("approved"),he({reimbursementId:e.remiDetails?.id??"",type:"approved"}))},style:{width:s.footerButtonWidth.value(n)},isDisabled:e.approvalUpdateStatus.fetchState==="In-Progress"||e.realTimeApproval.isEditMode===!0},rightSideComponent:t.jsx(bi,{children:t.jsxs(Si,{windowSize:n,children:[!P&&H?t.jsx(Wt,{onClickAway:()=>q(!1),children:t.jsxs(Ti,{windowSize:n,children:[ie!=="processing"?t.jsx(ne,{onClick:Ie,"data-testid":y("remi-delete-action"),children:i.buttons.deleteReport}):null,ie==="processing"?t.jsx(ne,{onClick:()=>{X({title:i.cancelReportTitle,description:i.cancelAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),A(!0)},"data-testid":y("remi-cancel-action"),children:i.buttons.cancel}):null,ie==="processing"?t.jsx(ne,{onClick:()=>{X({title:i.cancelAndDeleteReportTitle,description:i.cancelAndDeleteAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),A(!0)},"data-testid":y("remi-cancel-and-delete-action"),children:i.buttons.cancelAndDelete}):null]})}):null,t.jsxs($i,{windowSize:n,children:[!P&&Ce?t.jsx(vi,{onClick:De,"data-testid":y("remi-edit-button"),children:t.jsx(fi,{})}):null,P||Tt!==!0?null:t.jsx(xi,{windowSize:n,showEditIcon:Ce,children:t.jsx(wi,{onClick:()=>q(!H),"data-testid":y("remi-more-actions-button")})})]})]})}),style:{minHeight:62}})})]}),u?t.jsx(Xt,{id:h,children:t.jsx(Et,{isDrawerOpen:pt,allowComposer:!0,drawerTitle:ht,threads:B,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:z?.companyId??ve,isGlobalComment:!1,tab:"reimbursement"},isLoading:D,threadMetadata:z?{companyName:z.companyName,companyId:z.companyId,entityId:z.entityId,entityType:z.entityType,isGlobalComment:!1,application:"dashboard",tab:"reimbursement",url:window.location.href}:void 0,textOverrides:{composerPlaceholder:yt,replyComposerPlaceholder:bt,threadResolve:gt,threadUnResolve:wt},onThreadClick:(l,o)=>It(l,o),onCloseAllThreadsDrawer:()=>L(!1),drawerSectionStyle:{width:"400px",backgroundColor:ge.colors.background}})}):null]})},li=e=>{const C=et.getLocalizedStrings().spendManagement.billPay.billsByTabs;if(e?.isDeleted===!0)return{value:C.tabsById.deleted,color:re.deleted.color,bgColor:re.deleted.bgColor,borderColor:re.deleted.borderColor,code:"deleted"}},si=r.div`
|
|
1
|
+
import{t as Dt,c as Ct,J as zt,y as kt,bz as At,b as m,O as et,fy as Mt,fA as Rt,fB as Bt,V as t,bK as Ae,bL as Me,bM as Re,a_ as Be,a6 as y,aM as Pt,cK as Nt,fC as Lt,fN as Pe,o as a,fD as Ne,eD as g,fG as w,eG as x,a4 as Le,eC as Oe,j as V,fI as We,a9 as Ot,m as Wt,fJ as Et,fK as re,aV as _t,fL as Ft,a8 as Kt,H as Ut,B as Vt,s as tt,at as it,e as G,W as Gt,bi as Yt,x as Ht,g2 as qt,f$ as Jt,u as c,bB as Zt,cf as Qt}from"./index-EqHxd201.js";import{a as p}from"./sentry-Q4kep6XN.js";import{n as r}from"./mui-2NnLxiU2.js";import{_ as Xt}from"./liveblocks-BGLG0ZRF.js";import{bG as ei,b_ as ti,Fl as ii}from"./zeni-epic-state-DHqVwJ2L.js";import ai from"./InvoiceUploadSection-DYCjz9CI-DsqvKiVT.js";import{r as ri,h as f,u as ni}from"./types-DyvtCprH-VF9iATMs.js";import"./pdf-CmlsF1Bq.js";import"./core-B0aIoG8L.js";import"./lottie-C-63nSQ2.js";import"./dnd-CeLShHIc.js";import"./analytics-JKNMIPCj.js";import"./plaid-AStGMBRC.js";import"./recharts-DLbOXl5Z.js";import"./utils-Yz1HF93N.js";import"./AttachmentView-DB_V1qT1-ynsldz9P.js";import"./uploadReceipts-Dge0cNF1-DGJmbPrS.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},C=new e.Error().stack;C&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[C]="ce6b838f-55b1-4e96-a3c7-a35d01301b69",e._sentryDebugIdIdentifier="sentry-dbid-ce6b838f-55b1-4e96-a3c7-a35d01301b69")}catch{}})();const s={labelWidth:new m(120,160,160),largeLabelWidth:new m(150,235,235),rightMargin:new m(c[3],c[8]),leftMargin:new m(c[3],c[6]),invoiceRightMargin:new m(c[3],c[6]),invoiceLeftMargin:new m(c[3],c[8]),topMargin:new m(c[3],0),bottomMargin:new m(c[4],27),activityBottomMargin:new m(96,0),totalBottomMargin:new m(c[5],c[3]),formBottomMargin:new m(c[5],c[3]),navBarHeight:new m(44,62),closeMarginTop:new m(0,0),rightSectionWidth:new m(100,58),leftSectionWidth:new m(100,42),footerButtonWidth:new m(120,165),right:new m(c[3],c[0]),actionsContainerRight:new m(c[0],c[6]),otherActionsContainerBottom:new m(58,44),duplicateBannerWrapperMarginTop:new m(c[5],c[3]),duplicateBannerWrapperMarginRight:new m(c[3],c[8]),duplicateBannerWrapperMarginBottom:new m(c[5],c[3]),duplicateBannerWrapperMarginLeft:new m(c[3],c[6])},oi={formTitle:new Ut("h6Regular","h5Regular")},na=({remiDetails:e,uploadInvoiceEndPoint:C,authParams:oe,isAdmin:le,signedInUser:se,showApproveRejectBtns:de,isRealTimeApprovalEnabled:ce,isReimbursementCommentingEnabled:u,isShowDeletedReimbursementEnabled:me,isSignedInUserReimbursementCreator:at,updateEditRealTimeApproverClicked:pe,onSaveRealTimeApprovals:ue,redirectToReimbursementListScreen:Y,redirectToEditableReimbursementScreen:rt,onDuplicateLineClick:nt,approveOrRejectRemi:he,deleteReimbursement:ot,cancelAndDeleteReport:ye,handleZeniLogoClick:lt,onAddNewRule:be,initialOpenThreadRequest:k})=>{const d=Dt(),st=Ct().analytics,n=zt(),ge=kt(),[dt,A]=p.useState(!1),[H,q]=p.useState(!1),[ct,J]=p.useState(!1),[Z,Q]=p.useState("approved"),N=p.useRef(null),[S,X]=p.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[z,mt]=p.useState(null),[pt,L]=p.useState(!1),h=`dashboard_${d.currentTenant?.companyId}`,we=p.useRef({}),xe=l=>{const o=we.current[l];o!=null&&setTimeout(()=>ni(o,N.current),100)};p.useEffect(()=>{(e.deleteStatus.fetchState==="Completed"||e.approvalUpdateStatus.fetchState==="Completed"||e.cancelAndDeleteStatus.fetchState==="Completed")&&Y()},[e,Y]),p.useEffect(()=>{const l=window.location.hash;if(l&&l.startsWith("#L")){const o=l.substring(1);xe(o)}},[]),At({componentName:"reimbursement.details"});const ut={onOkClick:()=>{A(!1),S.primaryButtonText===i.buttons.delete?ot?.():S.title===i.cancelReportTitle?ye?.():S.title===i.cancelAndDeleteReportTitle&&ye?.(!0)},onCancelClick:()=>{A(!1)}},I=s.labelWidth.value(n),M=s.largeLabelWidth.value(n),fe=et.getLocalizedStrings(),{common:{texts:{comments:ht},strings:{empty:ve}},collaboration:{threads:{placeholder:{addANewComment:yt,replyAComment:bt},tooltip:{resolveComment:gt,unResolveComment:wt}}},dateFormat:$e}=fe,{reimbursementDetail:i,bulkActions:O}=fe.spendManagement.reimbursement,ee=e.remiDetails?.reportTitle,j=e.remiDetails?.lines??[],W=e.remiDetails?.reimbursementInfo.stage,E=e.remiDetails?.reimbursementInfo.billStatus,_=e.remiDetails?.reimbursementInfo.billPaymentStatus,Te=W?.code==="paid",xt=Te?W:E?.code=="approved"&&_?.code?_:E,v=li(e.remiDetails),R=E?.code=="approved"&&_?.code?_:E,F=e.remiDetails?.isDeleted??!1,je=e.remiDetails?.amount,Se=e.remiDetails?.amount.amount??0,Ie=()=>{X({title:e.remiDetails?.reimbursementInfo.stage.code==="draft"?i.deleteDraftTitle:i.deleteReportTitle,description:i.deleteAlertDescription,primaryButtonText:i.buttons.delete,secondaryButtonText:i.buttons.cancel}),A(!0)},De=()=>{rt()},ft={onOkClick:l=>{J(!1),he({reimbursementId:e.remiDetails?.id??"",type:"rejected",description:l})},onCancelClick:()=>{J(!1)}},vt=e.remiDetails?.reimbursementInfo.paymentDate!=null?ei(ti(e.remiDetails.reimbursementInfo.paymentDate.toDate(),[0,6],e.achSameDayMaxDays).toDateString()):void 0,te=e.remiDetails?.reimbursementInfo.expectedDepositDate??vt,$t=e.remiDetails?.lines?.some(l=>{const o=l.lineDetail;return o?.account?.isDeleted===!0&&o?.account?.isBillEditableCoaAccountType===!1})??!1,Ce=e.remiDetails?.reimbursementInfo.billStatus.code==="pending_approval"&&at&&!$t,Tt=e.remiDetails?.reimbursementInfo.billStatus.code!=="rejected"&&e.remiDetails?.reimbursementInfo.billPaymentStatus.code!=="paid",ie=xt?.code,jt=ri(e.duplicateLineByLineId),ze=e.duplicateReimbursementStatus.fetchState==="Completed"&&jt>0,{requestToOpenThread:ae,setRequestToOpenThread:K,setOpenThread:U}=p.useContext(Mt);p.useEffect(()=>{k?.threadId!=null&&k?.companyId!=null&&k?.entityType!=null&&K(k)},[k,K]);const{threads:B,isLoading:D}=Rt({application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id,isGlobalComment:!1},"both",!1),St=p.useMemo(()=>B.filter(l=>l.resolved===!1&&!l.id.includes(Bt)),[B]).length,It=p.useCallback((l,o)=>{U(o),L(!1)},[U,L]);p.useEffect(()=>{ae?.threadId!=null&&B.length>0&&!D&&(U(ae.threadId),K(null))},[ae,B,D,U,K]);const b={application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id},P=ii(e.remiDetails?.bulkProcessingDetail?.type);return t.jsxs(Bi,{windowSize:n,ref:N,children:[dt?t.jsx(Ae,{titleComponent:t.jsx(Re,{children:S.title}),descriptionComponent:t.jsx(Me,{children:S.description}),primaryButtonText:S.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:S.secondaryButtonText,action:ut}):null,ct?t.jsx(Ae,{titleComponent:t.jsx(Re,{children:`${i.rejectRemiTitlePrefix} ${e.remiDetails?.reportTitle??""} by ${e.createdBy?.firstName??""} ${e.createdBy?.lastName??""}`}),descriptionComponent:t.jsx(Me,{children:i.rejectRemiDescription}),primaryButtonText:i.buttons.send,secondaryButtonText:i.buttons.cancel,action:ft,isEditPopup:!0,isNotesIncluded:!0,notesPlaceholder:i.rejectRejectReasonPlaceholder}):null,t.jsxs(Di,{windowSize:n,"data-testid":y("reimbursement-detail-page-nav-bar-container"),children:[n!=="small"?t.jsx(Be,{"data-testid":y("reimbursement-detail-page-nav-bar-left"),style:{width:"42%"},title:"",leftSideComponent:t.jsx(Ci,{onClick:()=>lt?.(),"data-testid":y("remi-detail-page-nav-bar-zeni-logo")}),enableTitleOnScroll:!1,backgroundColor:ge.colors.background,keepBackgroundOnScroll:!0,scrollableContent:N,source:"ReimbursementDetailPage"}):null,n!=="small"?t.jsx(ji,{}):null,t.jsx(Be,{"data-testid":y("reimbursement-detail-page-nav-bar-right"),title:ee??ve,leftSideComponent:t.jsx(t.Fragment,{}),style:{width:n!=="small"?"58%":"100%"},rightSideComponent:t.jsxs(ki,{children:[u?t.jsxs(Ai,{isDisabled:D,onClick:D?()=>null:l=>{l.preventDefault(),l.stopPropagation(),mt({roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityType:"reimbursement.details",entityId:e.remiDetails?.id??""}),L(!0),st.trackCommentActivity("reimbursement","clicked",d.currentTenant?.companyName??"",d.controllersList.controllers.map(o=>Nt(o)),void 0,void 0,"page icon")},"data-testid":y("remi-comments-section"),children:[t.jsx(Pt,{count:D?void 0:St,isLoading:D,style:{left:"12px"}}),t.jsx(Mi,{})]}):null,t.jsx(Ri,{size:n,onClick:()=>{Y()},"data-testid":y("remi-detail-page-close"),children:t.jsx(zi,{})})]}),scrollableContent:N,enableTitleOnScroll:n!=="small",scrollThreshold:64,source:"ReimbursementDetailPage"})]}),t.jsxs(_i,{children:[n==="small"?t.jsxs(t.Fragment,{children:[t.jsx(qe,{windowSize:n,children:t.jsx(Je,{windowsSize:n,children:ee})}),e.createdBy?.userId!=null?t.jsx(Ve,{windowSize:n,children:`${i.by} ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,me&&v!=null?t.jsx(Ge,{color:v.color,bgColor:v.bgColor,borderColor:v.borderColor,children:v.value}):null,R?.code!=null?n==="small"?t.jsxs(t.Fragment,{children:[t.jsx(Lt,{progressSectionObj:R,createDate:e.remiDetails?.createTime,paymentDate:te,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:F}),P?t.jsx(Pe,{variant:"warning",style:{margin:`${a.sp5} ${a.sp3}`},title:O.duplicateWarning.title,description:O.duplicateWarning.description}):ze?t.jsxs(Ee,{size:n,children:[t.jsx(Ue,{}),t.jsxs(Fe,{children:[t.jsx(_e,{children:i.thereSeems}),t.jsx(Ke,{children:i.pleaseFind})]})]}):null]}):t.jsx(He,{windowSize:n,children:t.jsx(Ne,{progressSectionObj:R,createDate:e.remiDetails?.createTime,paymentDate:te,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:F})}):null]}):null,j.map((l,o)=>{const $=e.duplicateLineByLineId[l.lineId];return t.jsxs(Xe,{windowSize:n,children:[t.jsx(Oi,{windowSize:n,children:t.jsx(Wi,{bottomSeperator:j.length!==1,windowSize:n,children:t.jsx(ai,{showAutofill:!1,uploadInvoiceEndPoint:C,authParams:oe,entityId:e.remiDetails?.id,file:l.file,showTitlebar:!0,showTitlebarIcon:!1,pdfTitle:j.length>1?`#${o+1} Receipt`:"Receipt",style:{width:"auto",padding:0,height:j.length-1===o||o===0?760:451},onInvoiceUpload:()=>{console.log("onInvoiceUpload")},noAttachmentText:i.noReceiptAttached,type:"reimbursement"})})}),t.jsxs(Li,{windowSize:n,children:[o===0&&n!=="small"?t.jsxs(t.Fragment,{children:[t.jsxs(qe,{windowSize:n,children:[t.jsx(Je,{windowsSize:n,children:ee}),me&&v!=null?t.jsx(Ge,{color:v.color,bgColor:v.bgColor,borderColor:v.borderColor,children:v.value}):null]}),e.createdBy?.userId!=null?t.jsx(Ve,{windowSize:n,children:`By ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,R?.code!=null?t.jsx(He,{windowSize:n,children:t.jsx(Ne,{progressSectionObj:R,createDate:e.remiDetails?.createTime,paymentDate:te,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:F})}):null,P?t.jsx(Pe,{variant:"warning",style:{margin:`${a.sp3} ${a.sp8} ${a.sp3} ${a.sp6}`},title:O.duplicateWarning.title,description:O.duplicateWarning.description}):ze?t.jsxs(Ee,{size:n,children:[t.jsx(Ue,{}),t.jsxs(Fe,{children:[t.jsx(_e,{children:i.thereSeems}),t.jsx(Ke,{children:i.pleaseFind})]})]}):null]}):null,t.jsxs(ui,{windowSize:n,ref:ke=>{ke!=null&&(we.current[`L${l.lineId}`]=ke)},children:[n!=="small"?t.jsx(pi,{children:t.jsx(hi,{children:j.length>1?`#${o+1} ${i.reimbursement}`:i.reimbursement})}):null,t.jsxs(yi,{windowSize:n,children:[$?.duplicateLineId!=null?t.jsxs(ci,{children:[i.thisExpenseReview," ",t.jsx(mi,{onClick:()=>{if($.isDuplicateWithinTransaction&&$.duplicateLineId!=null)return xe(`L${$.duplicateLineId}`);$.duplicateTransactionId!=null&&$.duplicateLineId!=null&&nt($.duplicateTransactionId,$.duplicateLineId)},"data-testid":y("remi-view-duplicate-expense"),children:i.viewOriginalExpense})]}):null,t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:l.type===i.mileageKey?`${o}.mileage.reimbursementType`:`${o}.out_of_pocket.reimbursementType`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("reimbursementType",o,l.type===i.mileageKey?"mileage":"out_of_pocket")}`},style:{borderRadius:$?.duplicateLineId==null?`${a.sp2} ${a.sp2} 0 0`:"0 0 0 0"},children:t.jsx(w,{label:{label:i.reimbursementType,width:M},text:l.type===i.mileageKey?i.mileage:i.outOfPocket,style:{width:"auto",borderRadius:$?.duplicateLineId==null?`${a.sp2} ${a.sp2} 0 0`:"0 0 0 0"}})}),t.jsx(T,{}),l.type===i.mileageKey?t.jsxs(t.Fragment,{children:[t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${o}.mileage.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("transactionDate",o,"mileage")}`},children:t.jsx(w,{label:{label:i.transactionDate,width:M},text:l.transactionDate?.format($e.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${o}.mileage.distanceInMiles`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("distanceInMiles",o,"mileage")}`},children:t.jsx(w,{label:{label:i.distanceInMiles,width:M},text:l.distanceMileage.value.toString()??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${o}.mileage.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("amount",o,"mileage")}`},children:t.jsx(w,{label:{label:i.amount,width:I},text:l.homeCurrencyConversions!=null?Le("0,0[.]00",l.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${o}.mileage.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("memo",o,"mileage")}`},children:t.jsx(w,{label:{label:i.memo,width:I},text:l.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${o}.mileage.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("class",o,"mileage")}`},style:{borderRadius:`0 0 ${a.sp2} ${a.sp2}`},children:t.jsx(w,{label:{label:i.department,width:I},text:l.lineDetail.class?.className??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${a.sp2} ${a.sp2}`}})})]}):t.jsxs(t.Fragment,{children:[t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${o}.out_of_pocket.merchant`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("merchant",o,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.merchant,width:M},text:l.merchant?.name??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${o}.out_of_pocket.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("transactionDate",o,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.transactionDate,width:M},text:l.transactionDate?.format($e.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${o}.out_of_pocket.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("amount",o,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.amount,width:I},text:l.homeCurrencyConversions!=null?Le("0,0[.]00",l.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${o}.out_of_pocket.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("memo",o,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.memo,width:I},text:l.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${o}.out_of_pocket.account`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("account",o,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.category,width:I},text:l.lineDetail.account?.accountName??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${o}.out_of_pocket.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("class",o,"out_of_pocket")}`},style:{borderRadius:`0 0 ${a.sp2} ${a.sp2}`},children:t.jsx(w,{label:{label:i.department,width:I},text:l.lineDetail.class?.className??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${a.sp2} ${a.sp2}`}})})]})]})]}),j.length!==1&&j.length===o+1&&t.jsxs(Ni,{windowSize:n,children:[t.jsxs(Ze,{windowSize:n,children:[t.jsx(Qe,{children:i.total}),t.jsx(Oe,{amount:je,integerStyles:V.h6Regular.cssObject,decimalStyles:V.standardRegular.cssObject})]}),e.remiDetails&&t.jsx(We,{amount:Se,activities:e.remiActivities,stage:W?.code??"draft",onAddNewRule:be,entity:"reimbursement",realTimeApproval:{allApprovers:e.filteredApprovers,filteredAttributes:e.filteredAttributes,allAccountingClass:e.allAccountingClasses,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode??!1,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,attributeSubTypeToUserIdMapping:e.attributeSubTypeToUserIdMapping,isAdmin:le,signedInUserId:se?.userId,showRealTimeApproval:ce,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:pe,onSaveRealTimeApprovals:ue},historicActivities:e.remiHistory.activities})]})]})]},l.lineId)}),j.length===1&&t.jsxs(Xe,{windowSize:n,children:[t.jsx(Ye,{}),t.jsxs(si,{windowSize:n,children:[t.jsx(Pi,{windowSize:n,children:t.jsxs(Ze,{windowSize:n,children:[t.jsx(Qe,{children:i.total}),t.jsx(Oe,{amount:je,integerStyles:V.h6Regular.cssObject,decimalStyles:V.standardRegular.cssObject})]})}),e.remiDetails&&t.jsx(di,{windowSize:n,children:t.jsx(We,{amount:Se,activities:e.remiActivities,stage:W?.code??"draft",onAddNewRule:be,entity:"reimbursement",historicActivities:e.remiHistory.activities,realTimeApproval:{allApprovers:e.filteredApprovers,allAccountingClass:e.allAccountingClasses,filteredAttributes:e.filteredAttributes,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode??!1,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,attributeSubTypeToUserIdMapping:e.attributeSubTypeToUserIdMapping,isAdmin:le,signedInUserId:se?.userId,showRealTimeApproval:ce,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:pe,onSaveRealTimeApprovals:ue}})})]})]}),t.jsx(Ei,{})]}),Te||F===!0?null:t.jsxs(Ii,{children:[n!=="small"?t.jsx(Ye,{}):null,t.jsx(gi,{windowSize:n,"data-testid":y("remi-detail-page-footer"),onClick:l=>{l.stopPropagation(),H===!0&&q(!1)},children:t.jsx(Ot,{separatorStyle:{marginRight:a.sp4},showPrimaryButton:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||de,showCancel:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||de,cancelBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?n==="small"?i.buttons.delete:i.buttons.deleteReport:n==="small"?i.buttons.reject:i.buttons.rejectReport,isLoading:Z==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress"||Z==="delete"&&e.deleteStatus.fetchState==="In-Progress",onClick:()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?(Q("delete"),Ie()):(Q("rejected"),J(!0))},style:{width:s.footerButtonWidth.value(n)},reverseSpinnerColor:!1},primaryBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?n==="small"?i.buttons.edit:i.buttons.editAndResubmit:n==="small"?i.buttons.approve:i.buttons.approveReport,isLoading:Z==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?De():(Q("approved"),he({reimbursementId:e.remiDetails?.id??"",type:"approved"}))},style:{width:s.footerButtonWidth.value(n)},isDisabled:e.approvalUpdateStatus.fetchState==="In-Progress"||e.realTimeApproval.isEditMode===!0},rightSideComponent:t.jsx(bi,{children:t.jsxs(Si,{windowSize:n,children:[!P&&H?t.jsx(Wt,{onClickAway:()=>q(!1),children:t.jsxs(Ti,{windowSize:n,children:[ie!=="processing"?t.jsx(ne,{onClick:Ie,"data-testid":y("remi-delete-action"),children:i.buttons.deleteReport}):null,ie==="processing"?t.jsx(ne,{onClick:()=>{X({title:i.cancelReportTitle,description:i.cancelAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),A(!0)},"data-testid":y("remi-cancel-action"),children:i.buttons.cancel}):null,ie==="processing"?t.jsx(ne,{onClick:()=>{X({title:i.cancelAndDeleteReportTitle,description:i.cancelAndDeleteAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),A(!0)},"data-testid":y("remi-cancel-and-delete-action"),children:i.buttons.cancelAndDelete}):null]})}):null,t.jsxs($i,{windowSize:n,children:[!P&&Ce?t.jsx(vi,{onClick:De,"data-testid":y("remi-edit-button"),children:t.jsx(fi,{})}):null,P||Tt!==!0?null:t.jsx(xi,{windowSize:n,showEditIcon:Ce,children:t.jsx(wi,{onClick:()=>q(!H),"data-testid":y("remi-more-actions-button")})})]})]})}),style:{minHeight:62}})})]}),u?t.jsx(Xt,{id:h,children:t.jsx(Et,{isDrawerOpen:pt,allowComposer:!0,drawerTitle:ht,threads:B,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:z?.companyId??ve,isGlobalComment:!1,tab:"reimbursement"},isLoading:D,threadMetadata:z?{companyName:z.companyName,companyId:z.companyId,entityId:z.entityId,entityType:z.entityType,isGlobalComment:!1,application:"dashboard",tab:"reimbursement",url:window.location.href}:void 0,textOverrides:{composerPlaceholder:yt,replyComposerPlaceholder:bt,threadResolve:gt,threadUnResolve:wt},onThreadClick:(l,o)=>It(l,o),onCloseAllThreadsDrawer:()=>L(!1),drawerSectionStyle:{width:"400px",backgroundColor:ge.colors.background}})}):null]})},li=e=>{const C=et.getLocalizedStrings().spendManagement.billPay.billsByTabs;if(e?.isDeleted===!0)return{value:C.tabsById.deleted,color:re.deleted.color,bgColor:re.deleted.bgColor,borderColor:re.deleted.borderColor,code:"deleted"}},si=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: ${e=>s.rightSectionWidth.valuePercentage(e.windowSize)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{t as ne,y as S,J as k,a7 as le,V as e,a6 as a,eO as ae,a_ as de,i as u,F as d,O as F,o as s,I as me,bX as ce,ab as Z,W as pe,b as xe,e as z,bG as he,ac as ue,au as ge,u as we}from"./index-
|
|
1
|
+
import{t as ne,y as S,J as k,a7 as le,V as e,a6 as a,eO as ae,a_ as de,i as u,F as d,O as F,o as s,I as me,bX as ce,ab as Z,W as pe,b as xe,e as z,bG as he,ac as ue,au as ge,u as we}from"./index-EqHxd201.js";import{a as j}from"./sentry-Q4kep6XN.js";import{n as t}from"./mui-2NnLxiU2.js";import{Fk as je,bL as be}from"./zeni-epic-state-DHqVwJ2L.js";import{C as fe}from"./VideoPopup-C_SkBI9U-BhfvIuKF.js";import{M as v}from"./usp-line-BBd1wKwW-DXXOUebn.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"./VideoPlayer-BRAgZThr-XG4Rcfdj.js";import"./media-player-CqCqOlxE.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new i.Error().stack;o&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[o]="602ce719-106b-4486-8d91-f98ff56ea96e",i._sentryDebugIdIdentifier="sentry-dbid-602ce719-106b-4486-8d91-f98ff56ea96e")}catch{}})();const _="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-light.png",E="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-dark.png",ye={midContainerMarginBottom:new xe(we[5],44)},$e=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
min-height: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as i}from"./pdf-DWoGjGSw.js";import{j as H,i as ne,h as G,l as V,u as x,N as F,k as Z,g as Je,R as Xe,m as C}from"./core-BSWMBnrJ.js";import{cs as M,K$ as ae,bE as se,xu as Re,gV as Qe,L0 as Ye,bm as ie,dn as ke,L1 as et,fH as tt,Kh as nt,fW as at,xi as st,os as it,fO as rt,y2 as ve,L2 as Ae,L3 as ot,L4 as lt,L5 as mt,L6 as ct,xH as ut,L7 as dt,xO as de,g0 as pt,Kq as bt,xI as gt,xs as ht,L8 as St,xr as ft,L9 as It,xA as pe,xS as yt,xR as Rt,xN as kt,xG as vt,La as Ee,CI as At,bn as Et,xD as Ct,yk as xt,Lb as Bt,Lc as Tt,x_ as wt,xX as be,JM as Lt,xp as jt,Ld as Ce,yJ as ge,yR as Dt,Le as Ft,Lf as $,Lg as Ut,Lh as xe,Li as Pt,Lj as Be,Lk as Te,ya as Y,bq as _t,Fk as re,bL as oe,cz as we,cx as Le,Ll as $t,ef as Nt,JZ as Mt,Lm as Ot,Ln as je,K1 as Gt,KL as Ht,Lo as Zt,K_ as Kt,yO as he,yN as zt,Lp as Vt,Lq as Wt,Lr as qt,Ls as Jt,Lt as Xt,Kw as Qt,yE as Yt,yI as en,bt as tn,Fa as nn,Fb as an,Ek as sn,Ej as rn,Gp as on,bM as ln,bO as mn,bN as cn,bK as un}from"./zeni-epic-state-BtVcBgvu.js";import{y as W,w as De,aE as q,aG as k,je as j,jC as K,o as le,bc as J,jl as v,lm as dn,kg as Fe,jA as N,ln as pn,t as X,lo as bn,J as gn,jR as hn,b as Sn,G as Ue,O as fn,jX as In,kR as yn,jT as Rn,lp as kn,jZ as vn}from"./index-T6cemxxv.js";import{n as Pe,S as An}from"./mui-GaW5Gk_e.js";import ee from"./NotFoundScreen-LuCzwVbP.js";import{S as Se}from"./SetupPagesScreen-CKIcjKt5.js";import{F as _e}from"./FeaturePreviewScreen-7DbZ3Lx9.js";import{a as I}from"./sentry-BoIfGJBF.js";import{u as $e}from"./useInitialThreadRequest-c5K33_u9.js";import{D as En}from"./DrawerScreen-CTG5ybiX.js";import{M as Ne}from"./MobileAppDrawer-SRxQ4nyi.js";import{R as Cn}from"./ReimbursementApprovalRoutes-By0X6th0.js";import{FallBackRoute as xn}from"./ScreenRoutes-IRYzg1I8.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";import"./analyticsHelper-CRAJfei1.js";import"./routePaths-BCoYK2N6.js";import"./BusinessVerificationPageScreen-sFaQye-W.js";import"./ReimbursementApprovalRuleDetailScreen-BTqwtaaL.js";import"./getLocaleForTenant-CeTv0_64.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]="faec72a3-0c11-4a2c-bae7-c78904c94917",e._sentryDebugIdIdentifier="sentry-dbid-faec72a3-0c11-4a2c-bae7-c78904c94917")}catch{}})();const Me=e=>`/${e}/reimbursements`,Bn=Z(function(e,t){const n=t.currentTenant?.companyId,o=Ye(e.plaidAccountViewState,"user_reimbursement_account"),m=j.getSignedInUser(),u=ie(m),c=o.plaidConnectionDetails,r=ke(e.companyState,n),a=e.tenantState.currentTenantId,s={userId:m?.userId??"",sessionId:m?.zeniSessionId??"",tenantId:a??""},l=ae(e,t.reimbursementId),d=et(e,m?.userId??"");let y=`${m?.firstName} ${m?.lastName}`,g=!0;return t.reimbursementId!=null&&(y=`${l.createdBy?.firstName??"Zeni"} ${l.createdBy?.lastName??""}`,g=m?.userId===l.createdBy?.userId),{remiDetails:l,uploadInvoiceEndPoint:`${Fe.communicationAgentMicroServiceBaseUrl}`,reimbursementId:t.reimbursementId,authParams:s,defaultCurrency:{currencySymbol:r?.company.companyLocaleInfo.currencySymbol??"$",currencyCode:r?.company.companyLocaleInfo.currencyCode??"USD"},companyMileageConfigInfo:r?.company.configInfo.mileageRateConfig,createdBy:y,isUserAdmin:se(t.currentTenant?.userRole??[]),isZeniUser:u,plaidConnectionDetails:c,bankNameByRouting:l.bankNameByRouting,bankAccountCreationState:d.bankAccountCreationState,bankAccounts:d.bankAccounts,analytics:v,bankAccountToCreate:l.bankAccountToCreate,fetchBankNameByRoutingStatus:l.fetchBankNameByRoutingStatus,isSignedInUserReimbursementCreator:g}},function(e,t){const{reimbursementId:n,currentTenant:o,location:m,navigate:u,themeState:c}=t,{tenantEmailDomain:r}=o,a=j.getSignedInUser();return{onReceiptsUpload:(s,l,d)=>{s!=null&&e(vt(s,l,d,n,a?.userId))},onExistingMerchantChange:(s,l)=>{e(pe(!1,l,n,s,void 0))},fetchDuplicateReimbursement:()=>{a?.userId!=null&&e(kt(a.userId,!0,n))},clearDuplicateReimbursementDetail:()=>{e(Rt())},clearRemiSaveStatus:()=>{e(yt("Not-Started",n))},onDuplicateLineClick:(s,l)=>window.open(`/${r}/reimbursement/${s}#L${l}`),onNewMerchantChange:(s,l)=>{e(pe(!1,l,n,void 0,s))},removeFileFromLine:s=>{e(It({lineId:s,reimbursementId:n}))},onAmountChanged:(s,l)=>{e(ft(l,s,n))},updateReimbursementType:(s,l,d)=>{e(St({reimbursementId:d,lineId:l,reimbursementType:s}))},onHomeCurrencyConversionUpdate:(s,l,d)=>{e(ht({reimbursementId:d,lineId:l,amountPayload:{amount:s.amount,currency_code:s.currencyCode,currency_symbol:s.currencySymbol}}))},onReimbursementDetailsChanged:s=>{e(gt({remiDetailLocalData:s,reimbursementId:n}))},saveRemiDetails:s=>{e(de(s,!1,n))},onUserBankDetailsUpdated:s=>{const{bankAccountSection:l}=s;e(bt({data:l}))},onFetchBankName:s=>{e(pt(s))},submitRemiDetails:()=>{e(de("pending_approval",!0,n))},discardReimbursementDetailsFromLocalStore:s=>{e(dt({reimbursementId:s}))},updateInvoiceUploadFetchState:s=>{e(ut({reimbursementId:n,fetchState:s}))},clearTentativeNameForLine:s=>{e(ct({reimbursementId:n,lineId:s}))},removeDuplicateReimbursementForLine:s=>{e(mt({lineId:s}))},onZeniLogoClick:()=>{c.toggle()},clearAddRemiAutoFields:s=>{e(lt({reimbursementId:n,lineId:s}))},redirectToReimbursementListScreen:()=>{e(Ae()),e(ot());const s=Me(r),l=N(m.state?.pathnameStackToGoBack,m.pathname);u(s,{state:{pathnameStackToGoBack:l}})},redirectToReimbursementDetailScreen:()=>{t.navigate("../")},deleteReimbursement:()=>{n!=null&&(v.trackReimbursementDeleteReimbursement(n),e(ve(n)))},onSaveBankAccount:()=>{a?.userId&&e(rt(a?.userId,n))},onFetchLinkTokenClick:s=>{e(it("user_reimbursement_account",s))},onEstablishConnectionClick:s=>{e(st(s,o.companyId,"user_reimbursement_account",void 0,"link_account_no_microdeposit"))},deleteBankAccount:s=>{e(at(s,a?.userId??""))},onBackClickFromBankAccountPage:()=>{e(tt({fetchState:"Not-Started"})),e(nt())}}})(dn);function fe(){const e=H(),t=ne(),n=G(),{reimbursementId:o}=V(),m=W(),u=De(),{useFeatureGate:c}=q(),{isFeatureEnabled:r}=c(k.isLimitedCategoryForReimbursement),{isFeatureEnabled:a}=c(k.isShowDeletedReimbursementsFeatureEnabled),{isFeatureEnabled:s}=c(k.isReimbursementCommentingEnabled),l=G().pathname,d=l.includes("edit"),y=l.includes("reimbursement/new"),[g,T]=I.useState(!1),p=j.getSignedInUser(),A=x(h=>M(h)),b=x(h=>ae(h,o)),f=$e(A?.companyId,{clearParams:b.fetchState==="Completed"}),B=se(A?.userRole??[]);I.useEffect(()=>{(y&&!g||d&&b.fetchState!="Completed"&&b.fetchState!="In-Progress")&&(T(!0),t(Re(!1,r,a,o)))});const R=x(h=>Qe(h.accountState,h.accountListState,"reimbursementAccountList"));if(p==null)throw Error("Can't access address page without signing in...");const w={pathname:`../${o}`,search:n.search};return b.isDeleted===!0||b.billStage=="paid"||b.billStage=="scheduled"||b.fetchState=="Not-Started"||B&&b.billStatus==="rejected"||B===!1&&b.billStage==="pending_approval"&&b.billStatus!=="rejected"?i.jsx(F,{to:w}):b.deleteStatus.fetchState==="In-Progress"||b.fetchState!=="Completed"?i.jsx(K,{style:{backgroundColor:m.colors.grey5,boxShadow:`0px 2px ${le.sp1} ${m.colors.dropShadowNormal}`},fetchState:b.deleteStatus.fetchState}):i.jsxs(i.Fragment,{children:[i.jsx(J,{analytics:v,onLoad:h=>(L=>{o!=null&&b.deleteStatus.fetchState!=="Completed"&&L.trackReimbursementEditReimbursement(o)})(h)}),i.jsx(Bn,{initialOpenThreadRequest:f??void 0,isReimbursementCommentingEnabled:s,location:n,navigate:e,currentTenant:A,reimbursementId:o,themeState:u,uncategorizedAccounts:R})]})}const Tn=Z(function(e,t){const n=Ee(e,t.reimbursementId),o=j.getSignedInUser(),m=ie(o),u=e.tenantState.currentTenantId,c={userId:o?.userId??"",sessionId:o?.zeniSessionId??"",tenantId:u??""},r=`${n.createdBy?.firstName??"Zeni"} ${n.createdBy?.lastName??""}`;let a=!1;n?.remiActivities.length>0&&(a=Bt(n.remiActivities,Tt(t.currentTenant),o));const s=se(t.currentTenant?.userRole??[]),l=o?.userId===n.createdBy?.userId;return{remiDetails:n,uploadInvoiceEndPoint:`${Fe.communicationAgentMicroServiceBaseUrl}`,authParams:c,signedInUser:o,createdBy:r,isRealTimeApprovalEnabled:t.isRealTimeApprovalEnabled,isAdmin:s,showApproveRejectBtns:a,isZeniUser:m,isSignedInUserReimbursementCreator:l}},function(e,t){const{reimbursementId:n,currentTenant:o,location:m,navigate:u,themeState:c}=t,{tenantEmailDomain:r}=o;return{onDuplicateLineClick:(a,s)=>window.open(`/${r}/reimbursement/${a}#L${s}`),redirectToReimbursementListScreen:()=>{e(Ae());const a=Me(r),s=N(m.state?.pathnameStackToGoBack,m.pathname);u(a,{state:{pathnameStackToGoBack:s}})},onSaveRealTimeApprovals:a=>{e(jt(n,"reimbursement",a))},updateEditRealTimeApproverClicked:a=>{e(Lt({isEdit:a,entityId:n,entityType:"reimbursement"}))},approveOrRejectRemi:a=>{a.type==="approved"?e(be(n,a.type,"")):e(be(n,a.type,a.description??""))},redirectToEditableReimbursementScreen:()=>{const a=N(m.state?.pathnameStackToGoBack,m.pathname);u("./edit",{state:{pathnameStackToGoBack:a}})},deleteReimbursement:()=>{v.trackReimbursementDeleteReimbursement(n),e(ve(n))},cancelAndDeleteReport:a=>{a===!0?v.trackReimbursementCancelAndDeleteReimbursement(n):v.trackReimbursementCancelReimbursement(n),e(wt(n,a))},handleZeniLogoClick:()=>{c.toggle()}}})(pn);function wn(){const e=H(),t=ne(),n=G(),o=n.hash.substring(1),m=De(),{reimbursementId:u}=V(),c=j.getSignedInUser(),r=x(E=>M(E)),a=x(E=>Ee(E,u??"")),s=a.remiDetails?.reimbursementInfo.stage.code==="draft",l=$e(r?.companyId,{clearParams:a.fetchState==="Completed"&&!s}),{useFeatureGate:d}=q(),{isFeatureEnabled:y}=d(k.isLimitedCategoryForReimbursement),[g,T]=I.useState(!1),[p,A]=I.useState(!1),[b,f]=I.useState(!1),{isFeatureEnabled:B}=d(k.isReimbursementCommentingEnabled),{isFeatureEnabled:R}=d(k.isShowDeletedReimbursementsFeatureEnabled),w=x(E=>ae(E,u??"")),h=W(),L=At(r),_=Et(r.userRole),D=a.fetchState;if(I.useEffect(()=>{g||u==null?g==1&&D==="Error"&&e("page-not-found",{replace:!0}):(T(!0),t(Ct(u,!1,R)))},[g,u,t,D]),I.useEffect(()=>{R&&a.remiDetails?.isDeleted===!0||r.isZeni===!0&&c?.userEmailDomain==="zeni.ai"&&L===!1?f(!1):f(a.remiActivities[0]?.isRealTimeApprovalEnabled&&(_||a.allApprovers.find(E=>E.user.userId===c?.userId)!=null||a.remiDetails?.lastUpdatedBy===c?.userId))},[a.remiActivities[0]?.isRealTimeApprovalEnabled,a.allApprovers,a.remiDetails?.lastUpdatedBy,_,r.isZeni,L,c]),I.useEffect(()=>{p||a.fetchState!="Completed"||a.remiDetails?.reimbursementInfo.stage.code=="paid"||a.remiDetails?.reimbursementInfo.stage.code=="scheduled"||w.fetchState=="Completed"||w.fetchState=="In-Progress"||(A(!0),t(Re(!1,y,R,u)),a.remiActivities[0]?.isRealTimeApprovalEnabled===!0&&t(xt(!1,!0,!0,a.lastUpdatedByUserId)))},[p,a,u,t]),c==null)throw Error("Can't access address page without signing in...");return a.remiDetails?.reimbursementInfo.stage.code=="draft"&&w.fetchState=="Completed"&&a.remiDetails.isDeleted===!1?i.jsx(F,{to:`./edit${n.search}`}):a.deleteStatus.fetchState==="In-Progress"||a.cancelAndDeleteStatus.fetchState==="In-Progress"||a.remiDetails?.reimbursementInfo.stage.code=="draft"&&w.fetchState!="Completed"||a.fetchState!="Completed"?i.jsx(K,{fetchState:a.deleteStatus.fetchState,style:{backgroundColor:h.colors.grey5,boxShadow:`0px 2px ${le.sp1} ${h.colors.dropShadowNormal}`}}):i.jsxs(i.Fragment,{children:[i.jsx(J,{analytics:v,onLoad:E=>(O=>{u!=null&&O.trackReimbursementReimbursementDetails(u)})(E)}),i.jsx(Tn,{initialOpenThreadRequest:l??void 0,scrollId:o,isReimbursementCommentingEnabled:B,isShowDeletedReimbursementEnabled:R,location:n,navigate:e,isRealTimeApprovalEnabled:b,currentTenant:r,reimbursementId:u??"",themeState:m})]})}const Ln=Z(function(e,t){return{remisReviewView:Ce(e),analytics:t.analytics}},function(e,t){return{onCloseOverlay:()=>{t.navigate("./"),e($())},onCloseReviewItem:n=>{e(Ft(n))},onProceedForBulkActionClick:(n,o)=>{switch(n){case"send_for_approval":e(Dt());break;case"approve":e(ge("approved",o??""));break;case"reject":e(ge("rejected",o??""))}}}})(bn);function jn(){const e=H(),t=x(u=>u.remisBulkActionViewState.bulkSubmissionFetchState.fetchState),{remisForReview:n}=x(u=>Ce(u)),o=X(),m=o?.loggedInUserRole?.includes("admin")===!0;return I.useEffect(()=>{t!=="Completed"&&n.length!==0||e("./")},[t,n.length]),i.jsx(Ln,{navigate:e,analytics:v,isAdmin:m})}const P=Gt(),Oe="bulk-operation-update",te="reimbursement-approval-rule-update",{spendManagement:Dn,common:Ie}=fn.getLocalizedStrings(),ye=Dn.reimbursement.bulkActions,Fn=Pe.div`
|
|
1
|
+
import{j as i}from"./pdf-CmlsF1Bq.js";import{j as H,i as ne,h as G,l as V,u as x,N as F,k as Z,g as Je,R as Xe,m as C}from"./core-B0aIoG8L.js";import{cs as M,K$ as ae,bE as se,xu as Re,gV as Qe,L0 as Ye,bm as ie,dn as ke,L1 as et,fH as tt,Kh as nt,fW as at,xi as st,os as it,fO as rt,y2 as ve,L2 as Ae,L3 as ot,L4 as lt,L5 as mt,L6 as ct,xH as ut,L7 as dt,xO as de,g0 as pt,Kq as bt,xI as gt,xs as ht,L8 as St,xr as ft,L9 as It,xA as pe,xS as yt,xR as Rt,xN as kt,xG as vt,La as Ee,CI as At,bn as Et,xD as Ct,yk as xt,Lb as Bt,Lc as Tt,x_ as wt,xX as be,JM as Lt,xp as jt,Ld as Ce,yJ as ge,yR as Dt,Le as Ft,Lf as $,Lg as Ut,Lh as xe,Li as Pt,Lj as Be,Lk as Te,ya as Y,bq as _t,Fk as re,bL as oe,cz as we,cx as Le,Ll as $t,ef as Nt,JZ as Mt,Lm as Ot,Ln as je,K1 as Gt,KL as Ht,Lo as Zt,K_ as Kt,yO as he,yN as zt,Lp as Vt,Lq as Wt,Lr as qt,Ls as Jt,Lt as Xt,Kw as Qt,yE as Yt,yI as en,bt as tn,Fa as nn,Fb as an,Ek as sn,Ej as rn,Gp as on,bM as ln,bO as mn,bN as cn,bK as un}from"./zeni-epic-state-DHqVwJ2L.js";import{y as W,w as De,aE as q,aG as k,je as j,jC as K,o as le,bc as J,jl as v,lm as dn,kg as Fe,jA as N,ln as pn,t as X,lo as bn,J as gn,jR as hn,b as Sn,G as Ue,O as fn,jX as In,kR as yn,jT as Rn,lp as kn,jZ as vn}from"./index-EqHxd201.js";import{n as Pe,S as An}from"./mui-2NnLxiU2.js";import ee from"./NotFoundScreen-BbpMMX9s.js";import{S as Se}from"./SetupPagesScreen-CP5xGQM-.js";import{F as _e}from"./FeaturePreviewScreen-fP1RCpGB.js";import{a as I}from"./sentry-Q4kep6XN.js";import{u as $e}from"./useInitialThreadRequest-odLUiJqj.js";import{D as En}from"./DrawerScreen-PuONww5M.js";import{M as Ne}from"./MobileAppDrawer-sKiHtZDX.js";import{R as Cn}from"./ReimbursementApprovalRoutes-CDcbSeCq.js";import{FallBackRoute as xn}from"./ScreenRoutes-CoSbVjnG.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"./analyticsHelper-UkV1zy0R.js";import"./routePaths-D30DRN8c.js";import"./BusinessVerificationPageScreen-BdThFZ9q.js";import"./ReimbursementApprovalRuleDetailScreen-C6QD0dHy.js";import"./getLocaleForTenant-Dk0k1evv.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]="faec72a3-0c11-4a2c-bae7-c78904c94917",e._sentryDebugIdIdentifier="sentry-dbid-faec72a3-0c11-4a2c-bae7-c78904c94917")}catch{}})();const Me=e=>`/${e}/reimbursements`,Bn=Z(function(e,t){const n=t.currentTenant?.companyId,o=Ye(e.plaidAccountViewState,"user_reimbursement_account"),m=j.getSignedInUser(),u=ie(m),c=o.plaidConnectionDetails,r=ke(e.companyState,n),a=e.tenantState.currentTenantId,s={userId:m?.userId??"",sessionId:m?.zeniSessionId??"",tenantId:a??""},l=ae(e,t.reimbursementId),d=et(e,m?.userId??"");let y=`${m?.firstName} ${m?.lastName}`,g=!0;return t.reimbursementId!=null&&(y=`${l.createdBy?.firstName??"Zeni"} ${l.createdBy?.lastName??""}`,g=m?.userId===l.createdBy?.userId),{remiDetails:l,uploadInvoiceEndPoint:`${Fe.communicationAgentMicroServiceBaseUrl}`,reimbursementId:t.reimbursementId,authParams:s,defaultCurrency:{currencySymbol:r?.company.companyLocaleInfo.currencySymbol??"$",currencyCode:r?.company.companyLocaleInfo.currencyCode??"USD"},companyMileageConfigInfo:r?.company.configInfo.mileageRateConfig,createdBy:y,isUserAdmin:se(t.currentTenant?.userRole??[]),isZeniUser:u,plaidConnectionDetails:c,bankNameByRouting:l.bankNameByRouting,bankAccountCreationState:d.bankAccountCreationState,bankAccounts:d.bankAccounts,analytics:v,bankAccountToCreate:l.bankAccountToCreate,fetchBankNameByRoutingStatus:l.fetchBankNameByRoutingStatus,isSignedInUserReimbursementCreator:g}},function(e,t){const{reimbursementId:n,currentTenant:o,location:m,navigate:u,themeState:c}=t,{tenantEmailDomain:r}=o,a=j.getSignedInUser();return{onReceiptsUpload:(s,l,d)=>{s!=null&&e(vt(s,l,d,n,a?.userId))},onExistingMerchantChange:(s,l)=>{e(pe(!1,l,n,s,void 0))},fetchDuplicateReimbursement:()=>{a?.userId!=null&&e(kt(a.userId,!0,n))},clearDuplicateReimbursementDetail:()=>{e(Rt())},clearRemiSaveStatus:()=>{e(yt("Not-Started",n))},onDuplicateLineClick:(s,l)=>window.open(`/${r}/reimbursement/${s}#L${l}`),onNewMerchantChange:(s,l)=>{e(pe(!1,l,n,void 0,s))},removeFileFromLine:s=>{e(It({lineId:s,reimbursementId:n}))},onAmountChanged:(s,l)=>{e(ft(l,s,n))},updateReimbursementType:(s,l,d)=>{e(St({reimbursementId:d,lineId:l,reimbursementType:s}))},onHomeCurrencyConversionUpdate:(s,l,d)=>{e(ht({reimbursementId:d,lineId:l,amountPayload:{amount:s.amount,currency_code:s.currencyCode,currency_symbol:s.currencySymbol}}))},onReimbursementDetailsChanged:s=>{e(gt({remiDetailLocalData:s,reimbursementId:n}))},saveRemiDetails:s=>{e(de(s,!1,n))},onUserBankDetailsUpdated:s=>{const{bankAccountSection:l}=s;e(bt({data:l}))},onFetchBankName:s=>{e(pt(s))},submitRemiDetails:()=>{e(de("pending_approval",!0,n))},discardReimbursementDetailsFromLocalStore:s=>{e(dt({reimbursementId:s}))},updateInvoiceUploadFetchState:s=>{e(ut({reimbursementId:n,fetchState:s}))},clearTentativeNameForLine:s=>{e(ct({reimbursementId:n,lineId:s}))},removeDuplicateReimbursementForLine:s=>{e(mt({lineId:s}))},onZeniLogoClick:()=>{c.toggle()},clearAddRemiAutoFields:s=>{e(lt({reimbursementId:n,lineId:s}))},redirectToReimbursementListScreen:()=>{e(Ae()),e(ot());const s=Me(r),l=N(m.state?.pathnameStackToGoBack,m.pathname);u(s,{state:{pathnameStackToGoBack:l}})},redirectToReimbursementDetailScreen:()=>{t.navigate("../")},deleteReimbursement:()=>{n!=null&&(v.trackReimbursementDeleteReimbursement(n),e(ve(n)))},onSaveBankAccount:()=>{a?.userId&&e(rt(a?.userId,n))},onFetchLinkTokenClick:s=>{e(it("user_reimbursement_account",s))},onEstablishConnectionClick:s=>{e(st(s,o.companyId,"user_reimbursement_account",void 0,"link_account_no_microdeposit"))},deleteBankAccount:s=>{e(at(s,a?.userId??""))},onBackClickFromBankAccountPage:()=>{e(tt({fetchState:"Not-Started"})),e(nt())}}})(dn);function fe(){const e=H(),t=ne(),n=G(),{reimbursementId:o}=V(),m=W(),u=De(),{useFeatureGate:c}=q(),{isFeatureEnabled:r}=c(k.isLimitedCategoryForReimbursement),{isFeatureEnabled:a}=c(k.isShowDeletedReimbursementsFeatureEnabled),{isFeatureEnabled:s}=c(k.isReimbursementCommentingEnabled),l=G().pathname,d=l.includes("edit"),y=l.includes("reimbursement/new"),[g,T]=I.useState(!1),p=j.getSignedInUser(),A=x(h=>M(h)),b=x(h=>ae(h,o)),f=$e(A?.companyId,{clearParams:b.fetchState==="Completed"}),B=se(A?.userRole??[]);I.useEffect(()=>{(y&&!g||d&&b.fetchState!="Completed"&&b.fetchState!="In-Progress")&&(T(!0),t(Re(!1,r,a,o)))});const R=x(h=>Qe(h.accountState,h.accountListState,"reimbursementAccountList"));if(p==null)throw Error("Can't access address page without signing in...");const w={pathname:`../${o}`,search:n.search};return b.isDeleted===!0||b.billStage=="paid"||b.billStage=="scheduled"||b.fetchState=="Not-Started"||B&&b.billStatus==="rejected"||B===!1&&b.billStage==="pending_approval"&&b.billStatus!=="rejected"?i.jsx(F,{to:w}):b.deleteStatus.fetchState==="In-Progress"||b.fetchState!=="Completed"?i.jsx(K,{style:{backgroundColor:m.colors.grey5,boxShadow:`0px 2px ${le.sp1} ${m.colors.dropShadowNormal}`},fetchState:b.deleteStatus.fetchState}):i.jsxs(i.Fragment,{children:[i.jsx(J,{analytics:v,onLoad:h=>(L=>{o!=null&&b.deleteStatus.fetchState!=="Completed"&&L.trackReimbursementEditReimbursement(o)})(h)}),i.jsx(Bn,{initialOpenThreadRequest:f??void 0,isReimbursementCommentingEnabled:s,location:n,navigate:e,currentTenant:A,reimbursementId:o,themeState:u,uncategorizedAccounts:R})]})}const Tn=Z(function(e,t){const n=Ee(e,t.reimbursementId),o=j.getSignedInUser(),m=ie(o),u=e.tenantState.currentTenantId,c={userId:o?.userId??"",sessionId:o?.zeniSessionId??"",tenantId:u??""},r=`${n.createdBy?.firstName??"Zeni"} ${n.createdBy?.lastName??""}`;let a=!1;n?.remiActivities.length>0&&(a=Bt(n.remiActivities,Tt(t.currentTenant),o));const s=se(t.currentTenant?.userRole??[]),l=o?.userId===n.createdBy?.userId;return{remiDetails:n,uploadInvoiceEndPoint:`${Fe.communicationAgentMicroServiceBaseUrl}`,authParams:c,signedInUser:o,createdBy:r,isRealTimeApprovalEnabled:t.isRealTimeApprovalEnabled,isAdmin:s,showApproveRejectBtns:a,isZeniUser:m,isSignedInUserReimbursementCreator:l}},function(e,t){const{reimbursementId:n,currentTenant:o,location:m,navigate:u,themeState:c}=t,{tenantEmailDomain:r}=o;return{onDuplicateLineClick:(a,s)=>window.open(`/${r}/reimbursement/${a}#L${s}`),redirectToReimbursementListScreen:()=>{e(Ae());const a=Me(r),s=N(m.state?.pathnameStackToGoBack,m.pathname);u(a,{state:{pathnameStackToGoBack:s}})},onSaveRealTimeApprovals:a=>{e(jt(n,"reimbursement",a))},updateEditRealTimeApproverClicked:a=>{e(Lt({isEdit:a,entityId:n,entityType:"reimbursement"}))},approveOrRejectRemi:a=>{a.type==="approved"?e(be(n,a.type,"")):e(be(n,a.type,a.description??""))},redirectToEditableReimbursementScreen:()=>{const a=N(m.state?.pathnameStackToGoBack,m.pathname);u("./edit",{state:{pathnameStackToGoBack:a}})},deleteReimbursement:()=>{v.trackReimbursementDeleteReimbursement(n),e(ve(n))},cancelAndDeleteReport:a=>{a===!0?v.trackReimbursementCancelAndDeleteReimbursement(n):v.trackReimbursementCancelReimbursement(n),e(wt(n,a))},handleZeniLogoClick:()=>{c.toggle()}}})(pn);function wn(){const e=H(),t=ne(),n=G(),o=n.hash.substring(1),m=De(),{reimbursementId:u}=V(),c=j.getSignedInUser(),r=x(E=>M(E)),a=x(E=>Ee(E,u??"")),s=a.remiDetails?.reimbursementInfo.stage.code==="draft",l=$e(r?.companyId,{clearParams:a.fetchState==="Completed"&&!s}),{useFeatureGate:d}=q(),{isFeatureEnabled:y}=d(k.isLimitedCategoryForReimbursement),[g,T]=I.useState(!1),[p,A]=I.useState(!1),[b,f]=I.useState(!1),{isFeatureEnabled:B}=d(k.isReimbursementCommentingEnabled),{isFeatureEnabled:R}=d(k.isShowDeletedReimbursementsFeatureEnabled),w=x(E=>ae(E,u??"")),h=W(),L=At(r),_=Et(r.userRole),D=a.fetchState;if(I.useEffect(()=>{g||u==null?g==1&&D==="Error"&&e("page-not-found",{replace:!0}):(T(!0),t(Ct(u,!1,R)))},[g,u,t,D]),I.useEffect(()=>{R&&a.remiDetails?.isDeleted===!0||r.isZeni===!0&&c?.userEmailDomain==="zeni.ai"&&L===!1?f(!1):f(a.remiActivities[0]?.isRealTimeApprovalEnabled&&(_||a.allApprovers.find(E=>E.user.userId===c?.userId)!=null||a.remiDetails?.lastUpdatedBy===c?.userId))},[a.remiActivities[0]?.isRealTimeApprovalEnabled,a.allApprovers,a.remiDetails?.lastUpdatedBy,_,r.isZeni,L,c]),I.useEffect(()=>{p||a.fetchState!="Completed"||a.remiDetails?.reimbursementInfo.stage.code=="paid"||a.remiDetails?.reimbursementInfo.stage.code=="scheduled"||w.fetchState=="Completed"||w.fetchState=="In-Progress"||(A(!0),t(Re(!1,y,R,u)),a.remiActivities[0]?.isRealTimeApprovalEnabled===!0&&t(xt(!1,!0,!0,a.lastUpdatedByUserId)))},[p,a,u,t]),c==null)throw Error("Can't access address page without signing in...");return a.remiDetails?.reimbursementInfo.stage.code=="draft"&&w.fetchState=="Completed"&&a.remiDetails.isDeleted===!1?i.jsx(F,{to:`./edit${n.search}`}):a.deleteStatus.fetchState==="In-Progress"||a.cancelAndDeleteStatus.fetchState==="In-Progress"||a.remiDetails?.reimbursementInfo.stage.code=="draft"&&w.fetchState!="Completed"||a.fetchState!="Completed"?i.jsx(K,{fetchState:a.deleteStatus.fetchState,style:{backgroundColor:h.colors.grey5,boxShadow:`0px 2px ${le.sp1} ${h.colors.dropShadowNormal}`}}):i.jsxs(i.Fragment,{children:[i.jsx(J,{analytics:v,onLoad:E=>(O=>{u!=null&&O.trackReimbursementReimbursementDetails(u)})(E)}),i.jsx(Tn,{initialOpenThreadRequest:l??void 0,scrollId:o,isReimbursementCommentingEnabled:B,isShowDeletedReimbursementEnabled:R,location:n,navigate:e,isRealTimeApprovalEnabled:b,currentTenant:r,reimbursementId:u??"",themeState:m})]})}const Ln=Z(function(e,t){return{remisReviewView:Ce(e),analytics:t.analytics}},function(e,t){return{onCloseOverlay:()=>{t.navigate("./"),e($())},onCloseReviewItem:n=>{e(Ft(n))},onProceedForBulkActionClick:(n,o)=>{switch(n){case"send_for_approval":e(Dt());break;case"approve":e(ge("approved",o??""));break;case"reject":e(ge("rejected",o??""))}}}})(bn);function jn(){const e=H(),t=x(u=>u.remisBulkActionViewState.bulkSubmissionFetchState.fetchState),{remisForReview:n}=x(u=>Ce(u)),o=X(),m=o?.loggedInUserRole?.includes("admin")===!0;return I.useEffect(()=>{t!=="Completed"&&n.length!==0||e("./")},[t,n.length]),i.jsx(Ln,{navigate:e,analytics:v,isAdmin:m})}const P=Gt(),Oe="bulk-operation-update",te="reimbursement-approval-rule-update",{spendManagement:Dn,common:Ie}=fn.getLocalizedStrings(),ye=Dn.reimbursement.bulkActions,Fn=Pe.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-height: 100%;
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as Le,J as Ve,a7 as O,T as Ge,b$ as Je,O as Me,ad as $e,V as i,ew as Ze,e as q,b as s,a_ as Qe,f as Ye,A as Ke,eP as Pe,d3 as Xe,eQ as ei,aU as ii,cW as ti,a9 as ni,o as a,eS as oi,u as n,bB as ai,c3 as li,dL as si,e_ as Ae,e$ as je,fx as ri,i as ci,a6 as De,H as Ie,b8 as di,x as ui,aR as mi}from"./index-
|
|
1
|
+
import{y as Le,J as Ve,a7 as O,T as Ge,b$ as Je,O as Me,ad as $e,V as i,ew as Ze,e as q,b as s,a_ as Qe,f as Ye,A as Ke,eP as Pe,d3 as Xe,eQ as ei,aU as ii,cW as ti,a9 as ni,o as a,eS as oi,u as n,bB as ai,c3 as li,dL as si,e_ as Ae,e$ as je,fx as ri,i as ci,a6 as De,H as Ie,b8 as di,x as ui,aR as mi}from"./index-EqHxd201.js";import{a as o}from"./sentry-Q4kep6XN.js";import{n as t}from"./mui-2NnLxiU2.js";import{ca as pi}from"./zeni-epic-state-DHqVwJ2L.js";import{g as gi}from"./UploadAdditionalDocumentOverlay-DZfpwE5J-CLFBiQB1.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:{},m=new e.Error().stack;m&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[m]="498b393d-1ffa-404f-a628-fd48045ae37e",e._sentryDebugIdIdentifier="sentry-dbid-498b393d-1ffa-404f-a628-fd48045ae37e")}catch{}})();const hi=e=>o.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},o.createElement("path",{d:"M12.7113 3H2.89261C2.39963 3 2 3.39963 2 3.89261V20.8522C2 21.3451 2.39963 21.7448 2.89261 21.7448H12.7113C13.2043 21.7448 13.6039 21.3451 13.6039 20.8522V3.89261C13.6039 3.39963 13.2043 3 12.7113 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M10.4798 13.7113H9.58719C9.3407 13.7113 9.14088 13.9111 9.14088 14.1576V16.8354C9.14088 17.0819 9.3407 17.2817 9.58719 17.2817H10.4798C10.7263 17.2817 10.9261 17.0819 10.9261 16.8354V14.1576C10.9261 13.9111 10.7263 13.7113 10.4798 13.7113Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M21.6374 16.1133C21.6374 16.1961 21.6143 16.2773 21.5708 16.3477C21.5273 16.4182 21.4651 16.4752 21.391 16.5123L19.8522 17.2817V14.6039H21.1911C21.3095 14.6039 21.423 14.6509 21.5067 14.7346C21.5904 14.8183 21.6374 14.9318 21.6374 15.0502V16.1133Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M19.8522 14.6039V13.265C19.8522 12.5268 22.53 10.1409 22.53 10.1409",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M19.8522 17.2817V19.9596C19.8522 20.433 19.6641 20.8871 19.3293 21.2219C18.9945 21.5567 18.5404 21.7448 18.067 21.7448C17.5935 21.7448 17.1394 21.5567 16.8046 21.2219C16.4698 20.8871 16.2817 20.433 16.2817 19.9596V7.90935C16.2817 7.55424 16.1407 7.21369 15.8896 6.96259C15.6385 6.7115 15.2979 6.57043 14.9428 6.57043H13.6039",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M2 10.1409H13.6039",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M11.3724 4.78528H4.23154C3.98505 4.78528 3.78523 4.9851 3.78523 5.23158V7.90941C3.78523 8.15589 3.98505 8.35571 4.23154 8.35571H11.3724C11.6189 8.35571 11.8187 8.15589 11.8187 7.90941V5.23158C11.8187 4.9851 11.6189 4.78528 11.3724 4.78528Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M9.14088 19.0669H10.9261",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),h={sectionWidth:new s(343,580,726),iconContainerMaxWidthHeight:new s(n[6],n[7]),iconContainerMarginRight:new s(12,n[3]),infoLabelPaddingLeft:new s(n[0],n[3]),iconPadding:new s(10,12),iconWidthHeight:new s(20,n[4]),rowGap:new s(n[2],n[3]),containerPadding:new s(n[3],n[4])},pe={title:new Ie("standardSemiBold","largeSemiBold"),infoLabel:new Ie("extraSmallRegular","smallRegular")};function fi({companyMileageConfigInfo:e,mileageDetails:m,analytics:$,style:A,sectionId:P,isActive:d=!0,isDisabled:r,onSaveMileageClick:G}){const l=Ve(),j=Le(),{formState:{errors:J},trigger:Z}=li(),D=xi(P,"mileageAmountInDenomination"),f=si(J,D),{localData:c,updateStatus:z,mileageStatus:b}=m,R=e?.denominationConversions.amount==null||e.denominationConversions.amount!==c?.mileageAmountInDenomination,{commonSetUp:Q,spendManagement:Y}=Me.getLocalizedStrings(),{reimbursement:K}=Y,[S,I]=o.useState(R),[X,U]=o.useState(!1);o.useEffect(()=>{f||Z(D)},[]),o.useEffect(()=>{e?.denominationConversions.amount!=null&&e.denominationConversions.amount===c?.mileageAmountInDenomination&&I(!1)},[e?.denominationConversions.amount]),o.useEffect(()=>{S||U(S)},[S]);const{reimbursementSetup:x}=K,{setUp:ee}=Q,ie=S===!1||z.fetchState==="In-Progress"?"readonly":r,te=c&&c?.denominationSymbol?`${c?.denominationSymbol} `:"",ne=c&&c?.mileageUnit?c?.mileageUnit:"";return i.jsxs(yi,{windowSize:l,style:A,isActive:d&&r==null,children:[i.jsxs(Ai,{windowSize:l,children:[x.mileageHeader,d===!1?i.jsx(Ii,{children:ee.comingSoon}):null]}),i.jsxs($i,{windowSize:l,children:[i.jsx(ki,{windowSize:l,isDarkMode:j.mode==="dark",children:i.jsx(hi,{width:h.iconWidthHeight.valuePx(l),height:h.iconWidthHeight.valuePx(l)})}),i.jsxs(wi,{children:[i.jsxs(Pi,{children:[i.jsxs(ji,{children:[i.jsxs(Di,{children:[i.jsx(Si,{windowSize:l,children:e?.denominationConversions.amount==null?x.mileageAddTitle:x.mileageEditTitle}),i.jsx(Ci,{children:x.mileageSubTitle})]}),b!=null&&e?.denominationConversions.amount!=null&&l==="small"?i.jsx(Ae,{style:{width:"max-content",padding:a.sp0,marginTop:a.sp2},tagTitle:b.name,textColor:je(b.code)}):null]}),i.jsxs(bi,{children:[b!=null&&e?.denominationConversions.amount!=null&&l!=="small"?i.jsx(Ae,{style:{width:"max-content"},tagTitle:b.name,textColor:je(b.code)}):null,i.jsx(vi,{})]})]}),i.jsxs(Ei,{children:[i.jsxs(Ti,{children:[i.jsx(ri,{style:{height:a.sp6,textAlign:"left"},inputStyle:{textAlign:"left",paddingRight:a.sp10,backgroundColor:f?void 0:j.colors.background,color:S||f?void 0:j.colors.grey1},isFieldError:f,type:"number",autoFocus:!1,focus:X,name:D,defaultValue:c?.mileageAmountInDenomination,returnValueType:"floatValue",allowEmptyFormatting:!0,prefix:te,suffix:` ${x.perText} ${ne}`,decimalScale:1,allowNegative:!1,isNumericString:!1,registerOptions:{min:1,validate:E=>E!=null||r!=null,required:r==null},isDisabled:ie}),i.jsx(Vi,{children:S?i.jsx(ci,{label:x.save,"data-testid":De("save-mileage"),onClick:()=>{c?.mileageAmountInDenomination!=null&&R&&!f&&G?.(c.mileageAmountInDenomination)},style:{outline:"none"},size:"small",disabled:r!=null,variant:"light_transparent",reverseSpinnerColor:!1,loading:z.fetchState==="In-Progress"}):i.jsx(Mi,{isDisabled:r,"data-testid":De("edit-mileage"),onClick:E=>{E.stopPropagation(),I(!0),U(!0),$.trackReimbursementMileageRateEdit()}})})]}),c?.description!=null?i.jsx(Li,{size:l,hasError:f,children:f&&e?.defaultMileageUnitAmount!=null?x.yourMileage.replace("__defaultMileageUnitAmount__",(100*e.defaultMileageUnitAmount).toString()):c.description}):null]})]})]})]})}const xi=(e,m)=>`${e}.${m}`,yi=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
pointer-events: ${e=>e.isLoading===!0||e.isActive===!1?"none":"initial"};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{V as _,bK as U,bL as M,bM as N,iI as V,ag as W,O as z}from"./index-
|
|
1
|
+
import{V as _,bK as U,bL as M,bM as N,iI as V,ag as W,O as z}from"./index-EqHxd201.js";import{a as b}from"./sentry-Q4kep6XN.js";import{FZ as K}from"./zeni-epic-state-DHqVwJ2L.js";import{u as Z}from"./ReviewOverlay-BoM41t8W-DgI6cFXd.js";import"./pdf-CmlsF1Bq.js";import"./core-B0aIoG8L.js";import"./mui-2NnLxiU2.js";import"./recharts-DLbOXl5Z.js";import"./lottie-C-63nSQ2.js";import"./liveblocks-BGLG0ZRF.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]="2583e55c-45fb-4bd7-ae2a-439d9e832daa",e._sentryDebugIdIdentifier="sentry-dbid-2583e55c-45fb-4bd7-ae2a-439d9e832daa")}catch{}})();const{common:a,spendManagement:{reimbursement:k}}=z.getLocalizedStrings(),s=k.bulkActions;let j;const ce=({remisReviewView:e,isAdmin:o,analytics:i,onProceedForBulkActionClick:u,onCloseReviewItem:r,onCloseOverlay:n})=>{const{fetchState:l,bulkSubmissionFetchState:c,bulkOperationTypeSelected:t,currentTab:f,currentSubTab:g}=e,y=!1,[x,p]=b.useState(!1),[d,v]=b.useState(P(e,y,o)),[h,R]=b.useState(y),[B,H]=b.useState(0),[w,A]=b.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});b.useEffect(()=>(B===d.length&&h&&(R(!1),clearInterval(j)),e.fetchState==="Completed"&&v(P(e,!1,o)),()=>{clearInterval(j)}),[d.length,B,h,e.fetchState,y,e,o]);const D=d.length,S=d.filter(m=>m.reviewStatus.code!=="error").length,F={onOkClick:m=>{p(!1);const C=e.remisForReview.map(I=>I.reimbursement);i.trackReimbursementBulkPopupConfirm(t,f,g,K(C.map(I=>I?.reimbursementTypesIncluded??[]))),u("reject",m)},onCancelClick:()=>{p(!1)}},{title:$,description:E}=G(l,S,D,h),T=e.fetchState==="Completed"&&S===0,L=()=>{i.trackReimbursementBulkSubmit(t,f,g),u(t)},O={label:t==="send_for_approval"?a.texts.goBack:a.footer.reject,isDisabled:t!=="reject"&&c==="In-Progress",isLoading:t==="reject"&&c==="In-Progress",reverseSpinnerColor:!1,onClick:t==="send_for_approval"?n:()=>{const{title:m,description:C}=q(S);A({type:"reject",title:m,description:C,primaryButtonText:a.texts.confirm,secondaryButtonText:a.texts.close}),i.trackReimbursementBulkSubmit(t,f,g),p(!0)},style:t==="approve"?{minWidth:"92px"}:{}};return _.jsxs(_.Fragment,{children:[x?_.jsx(U,{titleComponent:_.jsx(N,{children:w.title}),descriptionComponent:_.jsx(M,{children:w.description}),primaryButtonText:w.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:w.secondaryButtonText,action:F,isNotesIncluded:!0,isEditPopup:!0}):null,_.jsx(Z,{title:$,description:{content:E,isError:e.fetchState==="Completed"&&S===0},reviewItems:d,onCloseReviewItem:r,onCloseOverlay:n,showFooter:e.fetchState==="Completed"&&!h,footerProps:{primaryButton:(()=>{let m=a.footer.approve;return T?m=a.texts.close:t==="send_for_approval"&&(m=a.footer.submit),{label:m,isDisabled:l!=="Completed"||t==="reject"&&c==="In-Progress",isLoading:c==="In-Progress"&&(t==="send_for_approval"||t==="approve"),onClick:T?n:L,style:t==="send_for_approval"?{minWidth:"92px"}:{}}})(),cancelButton:O,hideCancel:T}})]})},P=(e,o,i)=>{const u=e.fetchState==="In-Progress";return e.remisForReview.map(r=>{const n=V(i,r.submittedBy);return{id:r.transactionId,leftSideText:{title:r.reimbursement?.reportTitle!=null?r.reimbursement.reportTitle:k.reimbursementDetail.newReimbursementTitle,subTitle:n!=null?`${a.by} ${n?.firstName} ${n?.lastName}`:a.strings.empty},rightSideText:{title:W("0,0.[00]",r.reimbursement?.amount?.amount,r.reimbursement?.amount?.currencySymbol),showThunderIcon:!1,subTitle:r.reviewInfoMessage??""},reviewStatus:{isLoading:u,code:r.reviewStatus??""}}})},q=e=>{const{this_:o,these:i,report:u,reports:r,payment:n,payments:l}=a.texts;return e>1?{title:s.popUps.reject.title.replace("__report__",s.reports),description:s.popUps.reject.description.replaceAll("<_this_>",i).replaceAll("<_payment_>",l).replaceAll("__report__",r)}:{title:s.popUps.reject.title.replace("__report__",s.report),description:s.popUps.reject.description.replaceAll("<_this_>",o).replaceAll("<_payment_>",n).replaceAll("__report__",u)}},G=(e,o,i,u)=>{const{has:r,have:n,report:l,reports:c,are:t,is:f,do_:g,does:y}=a.texts,x=o>1,p=i>1;let d="",v="";return e!=="Completed"||u?(d=s.reviewPage.reportsReviewing.title.replace("__report__",p?c:l),v=s.reviewPage.reportsReviewing.description.replace("__report__",p?c:l)):(d=s.reviewPage.reportsReviewed.title.replace("__report__",p?k.bulkActions.reports:s.report).replace("<_has_>",p?n:r),v=o===0?s.reviewPage.reportsReviewed.descriptionError.replace("__report__",p?c:l).replace("<_do_>",p?g:y):`${o}/${i} ${s.reviewPage.reportsReviewed.description.replace("__report__",i>1?c:l).replace("<_is_>",x?t:f)}`),{title:d,description:v}};export{ce as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as h,V as r,a3 as a,an as f,am as m,O as y,a6 as j,aa as l,b0 as g,x as u,o as c}from"./index-
|
|
1
|
+
import{y as h,V as r,a3 as a,an as f,am as m,O as y,a6 as j,aa as l,b0 as g,x as u,o as c}from"./index-EqHxd201.js";import{n as d}from"./mui-2NnLxiU2.js";import{a as s}from"./sentry-Q4kep6XN.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]="d9d0d7bf-41d8-493a-9f8b-146f41295c0d",e._sentryDebugIdIdentifier="sentry-dbid-d9d0d7bf-41d8-493a-9f8b-146f41295c0d")}catch{}})();function w({backgroundColor:e,foregroundColor:o,animated:t,width:n,height:i}){return r.jsxs(g,{speed:2,width:n,height:i,viewBox:`0 0 ${n} ${i}`,animate:t!=0,backgroundColor:e,foregroundColor:o,children:[r.jsx("rect",{x:"64",y:"0",rx:"4",ry:"4",width:""+(n-128),height:"21"}),r.jsx("rect",{x:"24",y:"45",rx:"4",ry:"4",width:""+(n-48),height:"228"})]})}function b({backgroundColor:e,foregroundColor:o,animated:t}){return r.jsxs(g,{speed:2,width:240,height:98,viewBox:"0 0 240 98",animate:t!=0,backgroundColor:e,foregroundColor:o,children:[r.jsx("rect",{x:"66",y:"0",rx:"4",ry:"4",width:"108",height:"21"}),r.jsx("rect",{x:"44",y:"77",rx:"4",ry:"4",width:"152",height:"21"}),r.jsx("rect",{x:"0",y:"29",rx:"4",ry:"4",width:"240",height:"40"})]})}const x=d(l)`
|
|
2
2
|
justify-content: flex-start;
|
|
3
3
|
`;function E({dimension:e,animated:o}){const t=h();return r.jsx(a,{dimension:e,children:r.jsx(x,{children:r.jsx(b,{backgroundColor:t.colors.grey3,foregroundColor:t.colors.grey4,animated:o})})})}function T({dimension:e,animated:o}){const t=h();return r.jsx(a,{dimension:e,children:r.jsx(x,{children:r.jsx("div",{style:{width:"100%",height:"100%"},children:r.jsx(f,{children:({height:n,width:i})=>r.jsx(w,{backgroundColor:t.colors.grey3,foregroundColor:t.colors.grey4,animated:o,width:i,height:n})})})})})}const p=d(l)`
|
|
4
4
|
justify-content: space-between;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as Z,J as ce,bz as fe,T as be,V as o,m as xe,bA as oe,A as ye,b as D,a9 as _e,o as r,bB as we,W as de,O as K,bC as $e,x as ve,Q,b0 as ke,u as m,ad as Ce,bD as je,bE as Ne,bF as Ie,s as Se,$ as Oe}from"./index-
|
|
1
|
+
import{y as Z,J as ce,bz as fe,T as be,V as o,m as xe,bA as oe,A as ye,b as D,a9 as _e,o as r,bB as we,W as de,O as K,bC as $e,x as ve,Q,b0 as ke,u as m,ad as Ce,bD as je,bE as Ne,bF as Ie,s as Se,$ as Oe}from"./index-EqHxd201.js";import{a as u,b as he}from"./sentry-Q4kep6XN.js";import{n as h}from"./mui-2NnLxiU2.js";import{R as P,I as De}from"./CollapsableReportTable-CDEe9s_E-CWbosJ7t.js";import{t as Pe}from"./filter-cZIFUNvj-BwZeVD32.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="3e6dce4f-7623-472e-ad0c-f6a3d00149c3",e._sentryDebugIdIdentifier="sentry-dbid-3e6dce4f-7623-472e-ad0c-f6a3d00149c3")}catch{}})();const z=K.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat,Fe=e=>({this_period:{start_date:e.thisPeriod.startDate.format(z),end_date:e.thisPeriod.endDate.format(z)},number_of_periods:e.numberOfPeriods,order_by:e.orderBy}),Te=e=>e!=null?{start_date:e.startDate.format(z),end_date:e.endDate.format(z)}:void 0;async function ro(e,i,n){const s=K.getLocalizedStrings().downloadReport,l=`${e}?query=${encodeURIComponent(JSON.stringify(function(t){return{locale_id:t.localeId,show_negative_amount_in_parenthesis:t.showNegativeAmountInParenthesis,filter_accounts_with_nil_balances:t.filterAccountsWithNilBalances,filter_account_groups_with_nil_balances:t.filterAccountGroupsWithNilBalances,include_cover_page:t.includeCoverPage,company_name:t.companyName,statement_file_type:t.statementFileType,statements:t.statements,first_month_of_fy:t.firstMonthOfFY,book_close_date:t.bookCloseDate!=null?t.bookCloseDate.format(z):void 0,timeframe:t.timeframe,additional_balances:t.additionalBalances,format:t.format,balances_filter:Fe(t.balancesFilter),account_view_mode:t.accountViewMode,classes_to_filter_out:t.classesToFilterOut,data_available:Te(t.dataAvailable),is_zeni_coa_used:t.isZeniCOAUsed}}(n)))}`;try{const t=await je({urlEndPoint:l,authParams:i,fileType:n.statementFileType});if(t.ok){const x=Ne(t.headers,s.defaultFileName),y=await t.arrayBuffer();Ie(y,x)}else console.error(`${s.reportErrorMessage} ${t.statusText}`)}catch(t){console.error(`${s.reportErrorMessage} ${JSON.stringify(t)}`)}}const Be=h.div`
|
|
2
2
|
padding: 0 ${r.sp3} 0 ${r.sp3};
|
|
3
3
|
border: 1px solid ${e=>e.theme.colors.primary};
|
|
4
4
|
background: ${e=>e.theme.colors.grey5};
|