@zeniai/web-app-ui 4.14.35-qa → 4.14.36-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{ACHDetailsPage-B5qIuZya-XLBuNVCw.js → ACHDetailsPage-fOu5grd7-Cs2K4DRV.js} +3 -3
- package/dist/assets/{AIPerformancePage-BHB45mP--CD0rNUAY.js → AIPerformancePage-Da3gFo8A-CVIvereU.js} +25 -25
- package/dist/assets/AccountInfoPage-o7hTXtgZ-Dc6Hg6aE.js +18 -0
- package/dist/assets/AccountInfoPageContent-DqErO8FH-XBjSorHo.js +149 -0
- package/dist/assets/{AccountLockedInfoModal-Dox7IuAX-DnRhVaKQ.js → AccountLockedInfoModal-BJjCuLHa-Uk-DVT8_.js} +9 -9
- package/dist/assets/{AccountReconDetailsDrawerPage-Bqty08m0-D31h8ST6.js → AccountReconDetailsDrawerPage-CVjH1p0d-qMdLytVA.js} +16 -16
- package/dist/assets/AccountRow-CpftykFx-DRMa7L7I.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-Bs3naJHM-C-Pd028T.js → AccountsPromoCardStack-D7xvgmOH-L4LUQiMM.js} +28 -28
- package/dist/assets/AddAddressForCardDrawer-vecchYEf-Dm_7GZaw.js +6 -0
- package/dist/assets/{AddToWalletPage-CyRfqVDB-qKY-OwRf.js → AddToWalletPage-zJy9QCjx-BhPNLvBn.js} +13 -13
- package/dist/assets/AddressRoutes-CN9yzNia.js +1 -0
- package/dist/assets/AddressScreen-DawlCEed.js +9 -0
- package/dist/assets/AgingReportsPage-wAvQb1d8-BNi2RWcU.js +79 -0
- package/dist/assets/AiCfoScreen-gLF8Y46q.js +11 -0
- package/dist/assets/AllUserItems-DEv_CXOA-BczB69YE.js +192 -0
- package/dist/assets/ApAgingDetailPage-BOV1WFVF-DjxtNuTC.js +46 -0
- package/dist/assets/{AppBasePage-CqDm-hnV-CPv5pyhL.js → AppBasePage-DMlomvFS-DAPyVzw3.js} +16 -16
- package/dist/assets/AppDrawerContent-Dc2sHnR3-DkcYif08.js +92 -0
- package/dist/assets/ApprovalRulesSettingsPage-BnbPSy4U-BkoyF3U2.js +47 -0
- package/dist/assets/ArAgingChart-m-Xp3HAW-2E3yf3w6.js +24 -0
- package/dist/assets/ArAgingDetailPage-b_NpDpWj-D8K0oGBL.js +46 -0
- package/dist/assets/{AttachmentView-CzC4skJ3-9WHG58G4.js → AttachmentView-DB_V1qT1-YRFnSBmh.js} +7 -7
- package/dist/assets/{BankAccountSection-Di4sF52j-DrSj0XXO.js → BankAccountSection-BabhrBM7-BRSx6sCU.js} +5 -5
- package/dist/assets/BankAccountWarningSection-yT2UAd12-hc4ZMuSF.js +51 -0
- package/dist/assets/{BankConnectionsSettingsPage-Ccnzq7st-CFZ_2GOy.js → BankConnectionsSettingsPage-CbxXykMM-BcHLkw6J.js} +14 -14
- package/dist/assets/BillDetailPage-7TMkWo3V-D6W3VN4G.js +266 -0
- package/dist/assets/{BillPayApprovalRoutes-BmuSeG_D.js → BillPayApprovalRoutes-DPHRxesZ.js} +1 -1
- package/dist/assets/BillPayApprovalRuleDetailPage-COyDRpaF-CLsNCUw0.js +27 -0
- package/dist/assets/{BillPayApprovalRulesPage-COCypDcS-lT3PW8bQ.js → BillPayApprovalRulesPage-9pxkgFAT-DlJyrfvK.js} +5 -5
- package/dist/assets/{BillPayPromoPage-DOE2YIqC-CKwELSu-.js → BillPayPromoPage-AGffhbY3-DpLl9nyC.js} +10 -10
- package/dist/assets/{BillPayRoutes-C3UXklWn.js → BillPayRoutes-JOylN2BD.js} +13 -13
- package/dist/assets/BillPaySetUpPage-Cs5rkWBu-BP5ujh9A.js +42 -0
- package/dist/assets/{BillingSettingsPage-iImtlEmO-BW--jBw3.js → BillingSettingsPage-CQ117tT9-TA2HK-aX.js} +10 -10
- package/dist/assets/{BillsBulkReviewDrawerPage-B11GWM_0-DpWN7a3R.js → BillsBulkReviewDrawerPage-DRkGQQAe-DNA3NRzL.js} +1 -1
- package/dist/assets/{BoxItem-Bxa1M4QU-dUcjlF36.js → BoxItem-DRwx0M5a-D-Rn9DzO.js} +2 -2
- package/dist/assets/BusinessVerificationPage-1h0z3N9u-XjZx6gHS.js +138 -0
- package/dist/assets/BusinessVerificationPageScreen-sFaQye-W.js +9 -0
- package/dist/assets/BusyIndication-DizZe0Gu-Ui3yaqtY.js +9 -0
- package/dist/assets/{CardNumberSubText-_ZZbaz_k-DQXZlwGH.js → CardNumberSubText-DqtLT1w5-Bzgrrztr.js} +10 -10
- package/dist/assets/{CashbackDetailPage-DAZXitLt-DHuiCggG.js → CashbackDetailPage-ChdQcvkC-m-ebT8pi.js} +17 -17
- package/dist/assets/{ChargeCardDetailPage-B1VIpASk-DDp9chEw.js → ChargeCardDetailPage-DFOKlPNG-DQYHVV4_.js} +31 -31
- package/dist/assets/{ChargeCardListPage-BOBepN-x-CCDeCgkz.js → ChargeCardListPage-DhLUsUhd-CoIm3KwH.js} +19 -19
- package/dist/assets/ChargeCardListTable-DE72YU_i-DgEVI1AC.js +711 -0
- package/dist/assets/{ChargeCardPaymentHistoryPage--jOwsMla--R4xqtT2.js → ChargeCardPaymentHistoryPage-CbGR18s--Df_3JGQc.js} +15 -15
- package/dist/assets/ChargeCardPromoPage-CPpNh89o-52aj5A04.js +222 -0
- package/dist/assets/{ChargeCardRoutes-Bv9hqdZo.js → ChargeCardRoutes-V_6E2iyX.js} +12 -12
- package/dist/assets/ChargeCardSetupPage-ITi25kUD-D__xDb9M.js +36 -0
- package/dist/assets/{ChargeCardStatementsPage-ChWyQlw6-aZT3JIEZ.js → ChargeCardStatementsPage-CTJc1BCc-CZlTL24v.js} +3 -3
- package/dist/assets/CheckDepositDrawerPage-BrzeSj-3-mEHRp2-B.js +206 -0
- package/dist/assets/CollapsableReportTable-CDEe9s_E-B6-yHAq0.js +2844 -0
- package/dist/assets/{CompanyOfficerDetailsSection-CrOIN4IW-NHMPrEUt.js → CompanyOfficerDetailsSection-BaPhFsLx-B_RPGIU9.js} +92 -92
- package/dist/assets/CompanyPassportCard-B9ymV6Az-jkfRIvZo.js +42 -0
- package/dist/assets/{CompanyPassportPage-FE6yli6h-DpU12PlJ.js → CompanyPassportPage-BQ68t7oK-IkltRNSS.js} +16 -16
- package/dist/assets/{CompanyPassportScreen-myO-14Tx.js → CompanyPassportScreen-dLVakYjm.js} +1 -1
- package/dist/assets/{CompleteProfile-Cb8i1XgZ-DxvSbQ10.js → CompleteProfile-C5n9b8gQ-CNOkIDDD.js} +1 -1
- package/dist/assets/ConfettiBurst-BizTW0hz-BB_7e0py.js +1 -0
- package/dist/assets/ConnectionAuthScreen-BOPjadvo.js +11 -0
- package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-OjPt0E9I.js → ConstrainedInnerElement-BeIpAPjB-Cxh5xHax.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-CzpSgxbO-3aKCwvlv.js → CreateOrEditVendorPage-BIfOA5Nr-AtyF4p8I.js} +19 -19
- package/dist/assets/{CreditCardPaymentDrawerPage-c_q0MsSO-C8Sv6LkU.js → CreditCardPaymentDrawerPage-CCpS-31h-B6o-4EgY.js} +21 -21
- package/dist/assets/CurrencySelectField-KvKyemY6-rYSOJjSm.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-f3Aa6E5r-jXI67T90.js → CustomerOnboardingActivationPage-6VlMI4oY-C5HWnW_e.js} +3 -3
- package/dist/assets/CustomerOnboardingAuthScreen-xza8qbxh.js +1 -0
- package/dist/assets/CustomerOnboardingContainerPage-CRjwWFLJ-DbqRfwbf.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DYuiWn8s-By6QXlft.js → CustomerOnboardingDetailPageSkeleton-BzbZb27J-C4bWipAx.js} +9 -9
- package/dist/assets/CustomerOnboardingNoStepsPage-CWF_00EM-EPt0RonD.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-B9hSO88_-WoQ55K0l.js → CustomerOnboardingPage-DkW66A-p-BsqCLn06.js} +8 -8
- package/dist/assets/{CustomerOnboardingProductSuitePage-CG0HKCpQ-Dj7dtYI-.js → CustomerOnboardingProductSuitePage-Ba0yotpP-DIrnT1SJ.js} +10 -10
- package/dist/assets/CustomerOnboardingRoutes-yXJnudqI.js +23 -0
- package/dist/assets/{Dashboard-BJ_oIHab-CcR3gZ1R.js → Dashboard-bX3cWkmP-CJSja88C.js} +45 -45
- package/dist/assets/{DashboardReportPage-BemzMw2e-BivRzupC.js → DashboardReportPage-DuZ4d4CE-CEa_ZsnB.js} +39 -39
- package/dist/assets/DashboardRoutes-BcGPSKnY.js +21 -0
- package/dist/assets/DashboardSidebarBackgroundAnimation-UV2CZToG-Dar8E4GV.js +12 -0
- package/dist/assets/{DefaultTenantHome-BM2eKD4k.js → DefaultTenantHome-BeZ76hjE.js} +1 -1
- package/dist/assets/DepositAccTransactionItem-BY_OvuKg-CegBl9NF.js +76 -0
- package/dist/assets/DepositAccTransactionListPage-a__bpCOB-3CdtwLcn.js +66 -0
- package/dist/assets/DomesticWireDetailScreen-D5m_2Yo0.js +18 -0
- package/dist/assets/DomesticWireDetailsPage-BumMT4QM-BqgDBN3V.js +21 -0
- package/dist/assets/DownloadOverlay-DqiL3-FB-EoMZNE21.js +439 -0
- package/dist/assets/{DrawerPage-DesxXhZk-BSBqQ0E6.js → DrawerPage-CaG-xx5d-Cp5tt9QJ.js} +12 -12
- package/dist/assets/DrawerScreen-CTG5ybiX.js +1 -0
- package/dist/assets/EditPeoplePage-BcsdEp_d-D-PC_KrM.js +55 -0
- package/dist/assets/EditReimbursementDetailPage-DNUmwdsH-Bq2nc6vp.js +865 -0
- package/dist/assets/EntityDetailPage-DtX5TjBc-BPO5XePN.js +18 -0
- package/dist/assets/EntityDetailRoutes-B5R1QZWM.js +1 -0
- package/dist/assets/{EntitySummarySection-BwX0a4JL-DBtHTJw5.js → EntitySummarySection-LEA5m6mN-DSNa9_6d.js} +26 -26
- package/dist/assets/{ExpenseAutomationOverviewPage-EdyHjbff-EOTef8II.js → ExpenseAutomationOverviewPage-Dmhn7gfp-Bq4zhd1r.js} +50 -50
- package/dist/assets/ExpenseAutomationPage-B8C4BxoV-CRrIGE9L.js +2323 -0
- package/dist/assets/ExpenseAutomationRoutes-CQ8o1Ut2.js +20 -0
- package/dist/assets/{ExpressPayPage-EMP6inpX-ByDfOb19.js → ExpressPayPage-C-nqret2-DYj2m0J-.js} +12 -12
- package/dist/assets/{FeaturePreviewPage-SYJm-3aR-BN_q0ETO.js → FeaturePreviewPage-BHjUZ7s6-DFBfCFGy.js} +2 -2
- package/dist/assets/FeaturePreviewScreen-7DbZ3Lx9.js +1 -0
- package/dist/assets/{FollowStepsSection-BxESVqJD-D-o2E0Jp.js → FollowStepsSection-0eFMS0c5-CUs8ilzU.js} +11 -11
- package/dist/assets/GlobalReviewListPage-4eiopkzw-CbQC9oAb.js +291 -0
- package/dist/assets/{InformationCardStack-B_qQUEYD-Dxp2Ew45.js → InformationCardStack-C7XJCUlh-CelR5zDw.js} +1 -1
- package/dist/assets/InsightsCardStack-fBAbQwhK-DPzZunDi.js +79 -0
- package/dist/assets/InsightsSection-De9zu_me-DIydVhgU.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-DP6fAccq-Ho7Qlw2p.js → IntegrationsSettingsPage-BD5jqAv8-hrz650GM.js} +5 -5
- package/dist/assets/InternationalWireSwiftDetailsPage-BftrE612-CtP2y88l.js +171 -0
- package/dist/assets/{InternationalWireVerificationPage-COC6lZml-CGJDlFxp.js → InternationalWireVerificationPage-CDf7equc-BXBU6F90.js} +10 -10
- package/dist/assets/{InviteFormPage-DN02jRy5-DHTLPGCE.js → InviteFormPage-E2igwKEh-wVoOBHVT.js} +7 -7
- package/dist/assets/{InvitePageListView-CP4K9tJi--rk4yubU.js → InvitePageListView-Cuq9dlgu-CIGWi2Uo.js} +75 -75
- package/dist/assets/InvitePeoplePage-Db4P4ZEq-DViNv_LG.js +12 -0
- package/dist/assets/InvoiceUploadSection-DYCjz9CI-6zrHw8Gx.js +140 -0
- package/dist/assets/{IssueChargeCardPage-CVfuvGey-DsE7CChF.js → IssueChargeCardPage-CK6fnO24-CgQfD7TJ.js} +23 -23
- package/dist/assets/{LabeledAddressValue-DDrQcHIE-7f3DV4Ir.js → LabeledAddressValue-Ma1WURjK-BQ7yXCyt.js} +2 -2
- package/dist/assets/LabeledAddressValueField-C6-hVsPb-2b15Jv_o.js +45 -0
- package/dist/assets/LabeledControlledCheckBoxField-CgZg0uOW-BjnMYuFb.js +16 -0
- package/dist/assets/{LabeledCountryMultiSelectField-BYYjzwUG-DFrMExfh.js → LabeledCountryMultiSelectField-sj8p7Rne-bfsTKOeq.js} +4 -4
- package/dist/assets/{LabeledCreatableSingleSelectField-CISYMojq-uDdZESj4.js → LabeledCreatableSingleSelectField-DUTQh416-TJ_Bq1qn.js} +6 -6
- package/dist/assets/LabeledDocumentField-Bp9m-OrP-C4maUk83.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-ScGGCap8-DS9Ia8KW.js → LabeledDropDownFormattedTextField-3-KekP79-2bA1-mcm.js} +4 -4
- package/dist/assets/{LabeledEmailInputField-BppuWRbl-CiTokODP.js → LabeledEmailInputField-BRJyFvVd-Bs2EgRoq.js} +11 -11
- package/dist/assets/{LabeledNameField-mxSNQk3k-plaK5ktD.js → LabeledNameField--saAep-_-GEbqq-XX.js} +5 -5
- package/dist/assets/{LabeledSingleSelectField-C6ctNzkA-jFhVySOx.js → LabeledSingleSelectField-Ul4tlTiO-C7eur4tW.js} +7 -7
- package/dist/assets/LabeledText-DvzVOku6-BIWW9LkN.js +42 -0
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-C31niF0q.js → LabeledUserSingleSelectWithSubtitlesField-DCv1Q5qb-D3Nd6Mp3.js} +12 -12
- package/dist/assets/{LabeledZeniRolesDropDownField-BZtreVpj-HZcFXQuM.js → LabeledZeniRolesDropDownField-kWC0ShEy-B-6CgYA7.js} +25 -25
- package/dist/assets/{LinkJETransactionPage-CKq4oiX9-FlcdN5Cn.js → LinkJETransactionPage-WufhDGDQ-hOiRNbpI.js} +11 -11
- package/dist/assets/{LockCardPage-CZENNby7-DAN8QPfp.js → LockCardPage-BBIVLYVD-CWfnMAuT.js} +17 -17
- package/dist/assets/{LowBalancePopup-1727S1ri-DfD9U0P5.js → LowBalancePopup-ScEqPY9J-BDVRhmW5.js} +5 -5
- package/dist/assets/MagicLinkACHDetailsPage-C494txw0-C9zbj8xn.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-CONBCbOQ-BTU1HWRn.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-fSY3JGpz-DTKuj6lk.js +1 -0
- package/dist/assets/MagicLinkRoutes-CBkc9ANU.js +72 -0
- package/dist/assets/MagicLinkSignInScreen-DVW3BRZl.js +12 -0
- package/dist/assets/{MagicLinkSuccessPage-QMkZgQLG-SmTRytlp.js → MagicLinkSuccessPage-BDRXSAO4-BPK2tnCV.js} +6 -6
- package/dist/assets/{MagicLinkTitleSection-CARU1oLQ-Cc0bAwCn.js → MagicLinkTitleSection-ZnbKPIvJ-C4BiwnoA.js} +9 -9
- package/dist/assets/MailingDetailsSection-DZT7JPlI-B_BKxUqb.js +21 -0
- package/dist/assets/MobileAppDrawer-SRxQ4nyi.js +1 -0
- package/dist/assets/{MoreMenuButton-BsBKwXvk-B-OabREv.js → MoreMenuButton-CJue6xR9-DxdJkjEQ.js} +23 -23
- package/dist/assets/{MyBankConnectionsSettingsPage-BdgIIhL1-sxo7GzB7.js → MyBankConnectionsSettingsPage-aQDVaEG1-CRobqj27.js} +7 -7
- package/dist/assets/{MyPendingActivationChargeCardListPage-CX38bDdq-BSRy7gxL.js → MyPendingActivationChargeCardListPage-BJrk56oA-CKxLYlt8.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-DYu0Fx6I-2xpkKTK_.js → MyProfileSettingsPage-L9WuP6HZ-DBau4C6u.js} +6 -6
- package/dist/assets/NavBarWithPicker-zmvBmWS1-Dq59pkcT.js +30 -0
- package/dist/assets/{NavigationArrow-CTNkKUtV-BOWAFzvJ.js → NavigationArrow-D26UG3p--CJBJ0QVX.js} +2 -2
- package/dist/assets/NavigationDots-Bv4tBDN3-C3q3rN5Z.js +15 -0
- package/dist/assets/{NewGlobalMerchantPage-D_f7z47T-bzcY5fN6.js → NewGlobalMerchantPage-vOn2O6B9-Dn0MDdJM.js} +4 -4
- package/dist/assets/NoDataChart-CgT19fV7-BHysrTfh.js +26 -0
- package/dist/assets/{NoDataTable-4vPXmPYF-DNHPtvzK.js → NoDataTable-CPjJmo4s-Cw98-IiW.js} +1 -1
- package/dist/assets/{NotFoundPage-BLWPU1wU-sT7v4kMd.js → NotFoundPage-CP2i3FTm-bZ8NYti5.js} +6 -6
- package/dist/assets/NotFoundScreen-LuCzwVbP.js +1 -0
- package/dist/assets/NotificationRoutes-DAiqyeoY.js +1 -0
- package/dist/assets/{NotificationSettingsPage-CDiDLX3A-_aoQxT7d.js → NotificationSettingsPage-CT9Dnb03-avWp6uik.js} +16 -16
- package/dist/assets/NotificationsListConfig-Bn1zmx6b-D4fKYTYM.js +1 -0
- package/dist/assets/NotificationsPage-DDwdR_Jq-CoOhM2dl.js +685 -0
- package/dist/assets/OpExByVendorPage-DukFYlqO-DRlZ9cev.js +100 -0
- package/dist/assets/{OverlayContainerPage-BG9y5C0t-BzKAGxet.js → OverlayContainerPage-D4QU0p4o-tcmQyJCw.js} +1 -1
- package/dist/assets/PandLWithForecastPage-Bgflh9Om-CSmTsNHv.js +107 -0
- package/dist/assets/PandLWithForecastRoutes-C-17dXbC.js +1 -0
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-9ma8SpIa-B9DSsC2j.js → PaymentAccountSetupBillingAddressSection-JPO-rPAd-BENOl58h.js} +7 -7
- package/dist/assets/PeoplePage-CDvKreQl-BHMfiaC4.js +720 -0
- package/dist/assets/PeopleRoutes-DkWBrchL.js +22 -0
- package/dist/assets/PerformanceRoutes-BfVGXw_c.js +1 -0
- package/dist/assets/{Preview-7kwKilUJ.js → Preview-B59RrC-D.js} +1 -1
- package/dist/assets/{ProductsCarousel-C3M0ocdF-Bk6zo5Ng.js → ProductsCarousel-7R3cvGiS-DzOMZ0OK.js} +8 -8
- package/dist/assets/{PromoBaseCards-BOGJI2ws-C9Pe7t33.js → PromoBaseCards-DdCMZIc7-B4qYL3sb.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-CmpnnuzP-C7S2tuEZ.js → QBOConnectionDialog-Ca36jKz2-CdHpLyZs.js} +13 -13
- package/dist/assets/{QBOConnectionScreen-CBL_c_ZS.js → QBOConnectionScreen-CJqEVXmb.js} +22 -4
- package/dist/assets/{QBOSetupSection-DjnN9dgv-DuelT8Xn.js → QBOSetupSection-CzBfIVqR-DDJCICP1.js} +10 -10
- package/dist/assets/ReferralListScreen--Li0yAbv.js +5 -0
- package/dist/assets/ReimbursementApprovalRoutes-By0X6th0.js +1 -0
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-D5NXjrO9-BrVg7MWi.js → ReimbursementApprovalRuleDetailPage-DUVSGQJ6-BLIwxZQV.js} +4 -4
- package/dist/assets/{ReimbursementApprovalRuleDetailScreen-CiFU9_Ue.js → ReimbursementApprovalRuleDetailScreen-BTqwtaaL.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-BsCTIqUJ-SkgewgOo.js → ReimbursementApprovalRulesPage-B48x1gPM-BostsSOa.js} +27 -27
- package/dist/assets/ReimbursementDetailPage-oIC9QEyF-BywJ2Ma5.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-CyEgwqcf-SmbgqnUO.js → ReimbursementPromoPage-BKgsJieE-C8z1p7x-.js} +14 -14
- package/dist/assets/ReimbursementRoutes-CgHILlr6.js +13 -0
- package/dist/assets/{ReimbursementSetUpPage-RETPkEQd-X6NMArZG.js → ReimbursementSetUpPage-B_c-ZgFT-CEFcuF5y.js} +5 -5
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-CeyGWbKR-DNjVjDW0.js +1 -0
- package/dist/assets/ReloadCard-DKGn1uxF-BoCqNia8.js +26 -0
- package/dist/assets/ReportTableViewSelector-CXDvZEbR-C7-vFnMM.js +150 -0
- package/dist/assets/ReportsPage-BoUyXSBC-Bpcr9t0g.js +121 -0
- package/dist/assets/ReportsRoutes-BiPwCg8q.js +1 -0
- package/dist/assets/{RevenueChart-DvyZ3aO7-Cq5-UpCu.js → RevenueChart-SvdhwBcE-Dxn52ow-.js} +12 -12
- package/dist/assets/ReviewDetailsPage-tT1l4R2r-RmP2wBK5.js +290 -0
- package/dist/assets/{ReviewOverlay-CxwoiOLC-D5lX05io.js → ReviewOverlay-BoM41t8W-CTSAEiQG.js} +7 -7
- package/dist/assets/RewardsRoutes-E5CnWJ-f.js +1 -0
- package/dist/assets/RoleWithToolTip-C8x5yXaK-Dmelwbqx.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-DiL5Dozk-nJBgIa-D.js → ScheduleDetailsFixedAssetsPage-Bkp0mCOn-DSmZf7Qv.js} +8 -8
- package/dist/assets/ScheduleDetailsPage-Dg9rYJbn-DllnnP3n.js +37 -0
- package/dist/assets/ScheduleSequenceTable-J6Eja8XA-Du9cL0M5.js +324 -0
- package/dist/assets/ScreenRoutes-IRYzg1I8.js +2 -0
- package/dist/assets/{SetUpAccountSection-CctbMmoK-dkot7n04.js → SetUpAccountSection-sfIB1h4i-5Qx4_bh2.js} +15 -15
- package/dist/assets/{SettingsRoutes-B6iEqR3w.js → SettingsRoutes-DcfqDJnj.js} +7 -7
- package/dist/assets/{SetupPagesScreen-BnPwIkkt.js → SetupPagesScreen-CKIcjKt5.js} +6 -6
- package/dist/assets/{SignIn-CmgmnRm4-B0na7eQY.js → SignIn-Cu2nzuEC-Bp_oT71c.js} +75 -75
- package/dist/assets/SignInScreen-Ct79gq1E.js +1 -0
- package/dist/assets/SignOutScreen-CZ3i17sZ.js +9 -0
- package/dist/assets/SpendManagementListViewPage-9V9u1jPF-impkLVzs.js +134 -0
- package/dist/assets/SpendManagementPerTabPage-COvEPq7V-9dexPOGi.js +754 -0
- package/dist/assets/SpendManagementSection-dT-N4bSQ-zSvxEGhY.js +375 -0
- package/dist/assets/StatementItem-g5tfNBjV-TtkHAa_E.js +31 -0
- package/dist/assets/StatementsPage-DaFrVUeK-BKmugpaZ.js +58 -0
- package/dist/assets/{StatusSwitcher-Bv-ozN6U-quMddV-t.js → StatusSwitcher-CaoFw0cf-DekkCuBN.js} +1 -1
- package/dist/assets/{SubTabSwitcher-D7QeM6nb-BFMiA24p.js → SubTabSwitcher-zrkVj1aP-DzJ74MSf.js} +9 -9
- package/dist/assets/SuccessAnimation-oz7yQ6H3-CuxEvbYZ.js +13 -0
- package/dist/assets/{SummaryCard-C2qoTsAY-CaaNnBJl.js → SummaryCard-B9wqNSwM-CfbafqaP.js} +1 -1
- package/dist/assets/{TaskDetailPage-QMk4DTDK-D2hPuZdA.js → TaskDetailPage-044JwAvz-Dbz-j4Qe.js} +41 -41
- package/dist/assets/TaskListScreen-D2hgfbUK.js +9 -0
- package/dist/assets/TaskManagementPage-dAK9tl2b-VU_G-rkO.js +1063 -0
- package/dist/assets/TaskRoutes-JZtbl56L.js +9 -0
- package/dist/assets/TimeRangeSwitcher-r1TNqVRb-BuKa7qNu.js +64 -0
- package/dist/assets/TimeframeSwitcher-DHfHCTa4-BPyXAgbc.js +31 -0
- package/dist/assets/TimeframeSwitcherWithToggle-DvBvguRl-81Smo1q6.js +31 -0
- package/dist/assets/{TopExCard-Z1WabZ8c-CKf1GX94.js → TopExCard-BUjnGDUB-310z6unt.js} +6 -6
- package/dist/assets/{TopExDetailPage-CzHG4f9E-B4TmK8gG.js → TopExDetailPage-CNDkfc3u-BceOPcNG.js} +14 -14
- package/dist/assets/{TransactionActivityLogPage-CGKnjNfU-Ci16gpvR.js → TransactionActivityLogPage-kSQqJVpX-D70Ebwxd.js} +9 -9
- package/dist/assets/TransactionDetailPage-f7vWtXWL-DszE4Lqv.js +903 -0
- package/dist/assets/TransactionDetailRoutes-TOpy1uKa.js +1 -0
- package/dist/assets/{TransactionDetailScreen-B-Yj_UhL.js → TransactionDetailScreen-Bl43zCpG.js} +2 -2
- package/dist/assets/TransactionList-3-mUZOsw-BQQrTUgt.js +153 -0
- package/dist/assets/{TransactionListBig-C5Sf5Xh--DbwL40CX.js → TransactionListBig-Bx_Rm9ho-KpaUS-0g.js} +20 -20
- package/dist/assets/TransactionListPage-q6x4_jni-BCTSngWR.js +35 -0
- package/dist/assets/{TransactionListRoutes-QxUiu8mw.js → TransactionListRoutes-CMLh_lHF.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-SsrSOk3O-D_eszV6l.js → TransactionVendorDetailPage-MjSH5hfq-C0iHLHKf.js} +4 -4
- package/dist/assets/{TransferDrawerPage-BvKZ7vHF-BsH4I_GA.js → TransferDrawerPage-BayVa6po-DlkdYqMW.js} +32 -32
- package/dist/assets/TreasuryOverviewPage-CuqWmrO5-BZ_bPirD.js +708 -0
- package/dist/assets/{TreasuryPromoPage-CtTFvSQW-C3HG6vUb.js → TreasuryPromoPage-BCjz1EKX-DryQkob1.js} +26 -26
- package/dist/assets/TreasuryRoutes-Uv2Q4-px.js +45 -0
- package/dist/assets/{TreasuryStatementsPage-Catz8shX-DYVsQNkR.js → TreasuryStatementsPage-CGr00SXF-BI3wmSNl.js} +3 -3
- package/dist/assets/TreasuryTaxLetterPage-D9_qnlK4-BJVe4ICp.js +58 -0
- package/dist/assets/{TrendChart-Bnp4Pcdf-BEiDyalf.js → TrendChart-JTOG0a7B-DWRNXuz6.js} +2 -2
- package/dist/assets/TrendWithTransactions-CTJhTpAM-BLYcqVCK.js +116 -0
- package/dist/assets/{UncategorizedAccountsMappingPage-DbyY-dYB-CRm0o4w4.js → UncategorizedAccountsMappingPage-TGKYpC5A-CSRo9cGj.js} +7 -7
- package/dist/assets/{UnitIntegrationPage-CTzme1te-Dnhdwg-S.js → UnitIntegrationPage-mt2IjA5X-HULL3VCR.js} +4 -4
- package/dist/assets/UploadAdditionalDocumentOverlay-DZfpwE5J-Cm7mweqJ.js +38 -0
- package/dist/assets/Vendor2FAPopup-DAOf5cJD-foKceGQ2.js +1 -0
- package/dist/assets/VendorACHDetailsPage-CCOupiSZ-aPYjuiNm.js +1 -0
- package/dist/assets/VendorDetailPage-DufNphGD-angvVXfL.js +257 -0
- package/dist/assets/VendorDomesticWireDetailsPage-BayV34Rt-dHdeqKnp.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-himC7iD3-COlhEhfI.js → VendorFiling1099EditablePage-CRnO7Ubw-C0qN_xq7.js} +16 -16
- package/dist/assets/VendorFirstReviewPage-DA0EL4RJ-CiwNSvUn.js +730 -0
- package/dist/assets/{VendorInternationalWireDetailsPage-CS595Xgc-B8BwDoGh.js → VendorInternationalWireDetailsPage-HUtNyn9Z-Ccax-820.js} +7 -7
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-DRVMUeXi-BDnM6T3H.js +1 -0
- package/dist/assets/{VendorsAccountsSection-CgSJu8wq-By2iaDf4.js → VendorsAccountsSection-D6Qa1zf9-OD2ANcpQ.js} +4 -4
- package/dist/assets/{VendorsRoutes-Bih_aLlI.js → VendorsRoutes-BTXTUssE.js} +21 -21
- package/dist/assets/VerifyDevice-B6B_nk3v-BfzLjpGJ.js +112 -0
- package/dist/assets/VideoPlayer-BRAgZThr-Bcaasp-U.js +77 -0
- package/dist/assets/{VideoPopup-BqvZ-XIh-C4S2l4Qt.js → VideoPopup-C_SkBI9U-xDIm2hVu.js} +2 -2
- package/dist/assets/WiseConfirmationScreen-DSWFe61l.js +12 -0
- package/dist/assets/ZeniAccountDetailPage-Dp-eo-Vq-DUr2L7qz.js +300 -0
- package/dist/assets/ZeniAccountListViewPage-S-XmAYqD-CGRw402N.js +441 -0
- package/dist/assets/ZeniAccountNavBarPieces-DhjBxfEr-obkuSya3.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-JrcedQYB-pQRwMLaX.js → ZeniAccountPromoPage-BgYCHYLO-B5ynGf7u.js} +24 -24
- package/dist/assets/ZeniAccountRoutes-ZzewLkL8.js +58 -0
- package/dist/assets/{ZeniAccountSetupPage-TKBfbgzJ-PLHUlE4Q.js → ZeniAccountSetupPage-CvnIMdcY-BIOUi-Do.js} +4 -4
- package/dist/assets/ZeniAccountStatementScreen-8454IT-f.js +9 -0
- package/dist/assets/{ZeniAvatar-Bzhq25CU-DDubJB3t.js → ZeniAvatar-CwHVUcMc-BJ8AyUay.js} +3 -3
- package/dist/assets/{ZeniCopyright-DglqrTpl-0ipdHCKB.js → ZeniCopyright-BlLvlGZV-PtfyMNGF.js} +1 -1
- package/dist/assets/{ZeniDatePicker-BHXPxPnI-jqtqgUDK.js → ZeniDatePicker-DCurorsW-jSixMxUp.js} +5 -5
- package/dist/assets/ZeniTransferAmountSlider-BNYgPwHs-BLgZWrKb.js +63 -0
- package/dist/assets/{accountMappingHelper-dpnZZ5LV.js → accountMappingHelper-S5pr6xme.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-Bm_Y0yNs.js → add-to-wallet-DgdBD8_G-BxcaFQ_E.js} +1 -1
- package/dist/assets/{analytics-CkXlMwul.js → analytics-BZz0SPy3.js} +1 -1
- package/dist/assets/{analyticsHelper-CgnSazAa.js → analyticsHelper-CRAJfei1.js} +1 -1
- package/dist/assets/{analyticsHelper-CAYdbjhS-CriW5LYb.js → analyticsHelper-CYr5V2MV-D47W16kx.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-BOEOiatb.js → arrow-south-east-round-PEovUgvH-CyfpwaWH.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-TAKOnqtH.js → auto-transfer-rule-mbafm5D3-Dm3PoOP-.js} +1 -1
- package/dist/assets/{avatar-Dz7aEm3d-Gywr7K0t.js → avatar-Dz7aEm3d-B59e782o.js} +1 -1
- package/dist/assets/{calculateSize-B2w5JPEU-mwJnN95U.js → calculateSize-Bn1NnCzV-CbPGQ475.js} +1 -1
- package/dist/assets/{chartTypes-CD3vrBsI-CvW9Chyr.js → chartTypes-40RenddT-C7uxWjgM.js} +1 -1
- package/dist/assets/{clock-CJkylEKt-COoJTe6x.js → clock-CJkylEKt-DGRbc2He.js} +1 -1
- package/dist/assets/common-DEB71I4X-BRhAN_mv.js +1 -0
- package/dist/assets/commonDimensions-BMnB1-xU-CcNkFk9x.js +1 -0
- package/dist/assets/{commonTypes-5tEXwrX4-DyDjh_w6.js → commonTypes-DsWS6Ccc-DgEYQkuk.js} +1 -1
- package/dist/assets/{core-C_Me9Mw3.js → core-BSWMBnrJ.js} +38 -3
- package/dist/assets/{dash.all.min-Bp2m9Ydo.js → dash.all.min-ByV77lf8.js} +1 -1
- package/dist/assets/{decodeURIComponentSafe-ZgCb2Iy4.js → decodeURIComponentSafe-B2RLRrdt.js} +1 -1
- package/dist/assets/detailCommon-CrcyqWtZ-s9USgEEF.js +38 -0
- package/dist/assets/{dnd-BRZ99wCN.js → dnd-DJrh3JTW.js} +1 -1
- package/dist/assets/{dollar-round-D18u7nlm-B1-gS13v.js → dollar-round-D18u7nlm-qWQy8tOr.js} +1 -1
- package/dist/assets/downloadPdf-CUUx8PWn-Z4ddkC82.js +1 -0
- package/dist/assets/{empty-DHCuSR9N.js → empty-BcmJSfoQ.js} +1 -1
- package/dist/assets/{index-3k8vVfR8.js → empty-Ink6PjPr.js} +1 -1
- package/dist/assets/epic-C8YaW2BC.js +2 -0
- package/dist/assets/{filter-cZIFUNvj-D8Km46fj.js → filter-cZIFUNvj-CBGTjKNF.js} +1 -1
- package/dist/assets/getLocaleForTenant-CeTv0_64.js +1 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-Caqrj8S3.js → gift-box-Cmt9OgIZ-Dw9Bntj7.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-DcLpxdkP.js → graphic-no-data-l-DU4J8fDt-hCWvJzzH.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CHRRaCEh.js → graphic-no-data-net-burn-l-CzmycA0m-DLhWQ7Y3.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-CZMITs4k.js → handshake-BPg58FML-DcpKXQqd.js} +1 -1
- package/dist/assets/{helper-Ckm10Uko-B3ENCgge.js → helper-BMiMbXMj-BqD7TDgt.js} +2 -2
- package/dist/assets/{hyperlink-DQyCeXx2-gaj5d9Ss.js → hyperlink-DQyCeXx2-DgnccV5_.js} +1 -1
- package/dist/assets/{index-CUMBQ0kS.js → index-4TmfhDJk.js} +8 -2
- package/dist/assets/{index-SxFZwWsO.js → index-B5VyyyEM.js} +1 -1
- package/dist/assets/{index-B2upy5zm.js → index-B9LViB8R.js} +1 -1
- package/dist/assets/index-ByhS5XEB.js +1 -0
- package/dist/assets/index-De4FUH-D.js +1 -0
- package/dist/assets/{index-C-nTPjDF.js → index-T6cemxxv.js} +4300 -4238
- package/dist/assets/{lexical-itr5JGCy.js → lexical-CdVAcKo7.js} +1 -1
- package/dist/assets/{liveblocks-WO1k1bbB.js → liveblocks--WiFaeN0.js} +8 -3
- package/dist/assets/{lottie-DyM2Y4mu.js → lottie-DOxhyevU.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DGnyXKBT-5SZShw59.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Cgyt68f3-DDmSwPfi.js → mapSectionWithAcOnlyToTreeNode-BkPRWtaj-8acLvja0.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-CvGdU9Ma-BRhv3XRJ.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-BCOsOvxo-BW4YLdJu.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-DIqYP3NK-BuwKfIYt.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-Ch2rvcz4-u2sPQG8-.js +1 -0
- package/dist/assets/{media-player-CF7xBLjT.js → media-player-2gWGctcr.js} +2 -2
- package/dist/assets/{money-2cg1MuG4-G-AmTEM-.js → money-2cg1MuG4-ZZWEE1BS.js} +1 -1
- package/dist/assets/{mui-BOwjqiG-.js → mui-GaW5Gk_e.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-apfmAYex.js → page-detail-CWX5S47F-KCA2hl3j.js} +1 -1
- package/dist/assets/{page-summary-D7_VQHwN-BnBlbKgB.js → page-summary-D7_VQHwN-C4mva4td.js} +1 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-DWsrfnbc.js +4 -0
- package/dist/assets/{pathToGoBack-HOzfv7dJ.js → pathToGoBack-C0wXThmF.js} +1 -1
- package/dist/assets/{pdf-BrZAvZ1o.js → pdf-DWoGjGSw.js} +4 -4
- package/dist/assets/{pdf-lib-i0Zp6hBX.js → pdf-lib-CU3tv6Hj.js} +1 -1
- package/dist/assets/{plaid-CyY87P8r.js → plaid-CNcdZ4gc.js} +1 -1
- package/dist/assets/{pusher-BNpOKQkJ.js → pusher-_Mkhq734.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-Ca1mizvg.js → radio-default-CiSgisfh-CkW2sMb1.js} +1 -1
- package/dist/assets/react-BO8sqwy5.js +37 -0
- package/dist/assets/{react-BX_gWWIU.js → react-C4isuCpp.js} +12 -2
- package/dist/assets/{react-DhXnYBTa.js → react-CKfk9tDS.js} +12 -2
- package/dist/assets/{react-Duxg__b3.js → react-CNYdj_E0.js} +12 -2
- package/dist/assets/{react-CCEU-gQt.js → react-COkkiwUG.js} +12 -2
- package/dist/assets/{react-D2mjxCly.js → react-CgpHxMDb.js} +12 -2
- package/dist/assets/{react-l1PGvjrb.js → react-DnPZ1Xhy.js} +13 -3
- package/dist/assets/{react-BGvBjcei.js → react-XuqF4K_l.js} +12 -2
- package/dist/assets/{recharts-B22vzlMp.js → recharts-BQ8VH5gX.js} +1 -1
- package/dist/assets/{routePaths-DWpG5fXY.js → routePaths-BCoYK2N6.js} +1 -1
- package/dist/assets/{sentry-Dd2vHz0L.js → sentry-BoIfGJBF.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-CgU6m3s0.js → shield-DOlUxcFf-C_2cYUuc.js} +1 -1
- package/dist/assets/{spend-limit-D6SyboD4-vqGyghnL.js → spend-limit-D6SyboD4-D6KSyTVe.js} +1 -1
- package/dist/assets/toCOABalancesWithID-DkMGvlEt-R8kfnDme.js +1 -0
- package/dist/assets/toChartData-C6s-eBzE-hyCfo1sK.js +1 -0
- package/dist/assets/{transaction-placeholder-CpOwZAMG-DdciVPZG.js → transaction-placeholder-CpOwZAMG-DpSw-x8s.js} +1 -1
- package/dist/assets/{undo-b_3XZ5CX-DR3nJT2M.js → undo-b_3XZ5CX-CsWxipxr.js} +1 -1
- package/dist/assets/{unlock-BPWn2I5L-1yegyXps.js → unlock-BPWn2I5L-C7FVhrTq.js} +1 -1
- package/dist/assets/{uploadAttachment-Ck4wivBR-Cq_QQznk.js → uploadAttachment-BlLqRIXe-CWI7Q5hT.js} +29 -29
- package/dist/assets/{uploadReceipts-CIgkuVpu-CvG-u27y.js → uploadReceipts-Dge0cNF1-CQe0GGy5.js} +1 -1
- package/dist/assets/{url-BDW7KPoG.js → url-BGCwBSI6.js} +1 -1
- package/dist/assets/{url-DB9sjAVf.js → url-uuiUYH_k.js} +1 -1
- package/dist/assets/{useDeviceId-sqx37YoD.js → useDeviceId-0-eUuQR6.js} +1 -1
- package/dist/assets/useInitialThreadRequest-c5K33_u9.js +1 -0
- package/dist/assets/{useLongPress-GCK2COYQ-C_AhMW7V.js → useLongPress-GCK2COYQ-CkGyzLnK.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-iHFFix1h.js → usp-line-BBd1wKwW-BDy8G8EG.js} +1 -1
- package/dist/assets/{utils-CInzYuJw.js → utils-BGRwbgi2.js} +20 -7
- package/dist/assets/withTransactionSidePanel-BYXSUWst.js +8 -0
- package/dist/assets/zeni-epic-state-BtVcBgvu.js +122 -0
- package/dist/assets/{zeni-icon-only--k3HSUel.js → zeni-icon-only-BOcJS42c.js} +1 -1
- package/dist/index.html +1 -1
- package/dist/service-worker.js +8 -16
- package/package.json +4 -4
- package/dist/assets/AccountInfoPage-Cd5xYT1g-Ai_0FLE3.js +0 -18
- package/dist/assets/AccountInfoPageContent-CJ7ycVIK-DkOvC174.js +0 -149
- package/dist/assets/AccountRow-D1cjRJJD-BMyrgPuA.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-DZkBMJfp-DcB1j4vY.js +0 -6
- package/dist/assets/AddressRoutes-BtKujLBV.js +0 -1
- package/dist/assets/AddressScreen-C2pdVITK.js +0 -9
- package/dist/assets/AgingReportsPage-xBFff3BM-qv6H7lp3.js +0 -79
- package/dist/assets/AiCfoScreen-CS7LOF-g.js +0 -11
- package/dist/assets/AllUserItems-BJf6WPDo-BM8-bXR0.js +0 -192
- package/dist/assets/ApAgingDetailPage-CjBrPyi8-Cp4IdB_e.js +0 -46
- package/dist/assets/AppDrawerContent-CVVWj66i-B2ZBo3py.js +0 -92
- package/dist/assets/ApprovalRulesSettingsPage-Cckd2uVA-Dpozweq8.js +0 -47
- package/dist/assets/ArAgingChart-CBsqOd-4-B5F9H9K-.js +0 -24
- package/dist/assets/ArAgingDetailPage-i7JObt60-Fc_EOjuD.js +0 -46
- package/dist/assets/BalancesInsightWithToolTip-B6umvmgL-DfnZIkVc.js +0 -38
- package/dist/assets/BankAccountWarningSection-Cled-2cR-Cw7HtoK0.js +0 -51
- package/dist/assets/BillDetailPage-XXOwBfO1-CJELKaQK.js +0 -266
- package/dist/assets/BillPayApprovalRuleDetailPage-DFZ0csaT-B4s_RfTN.js +0 -27
- package/dist/assets/BillPaySetUpPage-BCJbZDsV-DcKA47B8.js +0 -42
- package/dist/assets/BusinessVerificationPage-DSuJFoW1-CS7pQP2Z.js +0 -138
- package/dist/assets/BusinessVerificationPageScreen-B2ubg6bo.js +0 -9
- package/dist/assets/BusyIndication-9zDqSKBP-ChOc_zhb.js +0 -9
- package/dist/assets/ChargeCardListTable-YznzSsJo-CtUoYDrk.js +0 -711
- package/dist/assets/ChargeCardPromoPage-DIfakIOK-DfvCk3tp.js +0 -222
- package/dist/assets/ChargeCardSetupPage-0bpVkeJs-Df1sOrZm.js +0 -36
- package/dist/assets/CheckDepositDrawerPage-BS7hnyZn-B2ArvDGb.js +0 -206
- package/dist/assets/CollapsableReportTable-DNfFkAts-Dc4f25sP.js +0 -2982
- package/dist/assets/CompanyPassportCard-CkzYFTrp-v_Yi1D3S.js +0 -42
- package/dist/assets/ConfettiBurst-BZCXEGYA-C3NYdom7.js +0 -1
- package/dist/assets/ConnectionAuthScreen-BJLM2bFw.js +0 -11
- package/dist/assets/CurrencySelectField-BAh7SHrG-ZI7IxMyb.js +0 -139
- package/dist/assets/CustomerOnboardingAuthScreen-BvfQ6Bly.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-CWAtSu08-mCuydIQY.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-Bh_F0-oC-3DxoMDqE.js +0 -66
- package/dist/assets/CustomerOnboardingRoutes-DXDqjA2k.js +0 -23
- package/dist/assets/DashboardRoutes-DN0OxjOX.js +0 -21
- package/dist/assets/DashboardSidebarBackgroundAnimation-BtA5oEGG-Xyr-RGrR.js +0 -12
- package/dist/assets/DepositAccTransactionItem-CyFi1P_L-BTaaJjC4.js +0 -76
- package/dist/assets/DepositAccTransactionListPage-DvBRRUdZ-3p6ZbDz1.js +0 -66
- package/dist/assets/DomesticWireDetailScreen-BwhlL4tC.js +0 -18
- package/dist/assets/DomesticWireDetailsPage-DCDo3aHI-CMQw3On6.js +0 -21
- package/dist/assets/DownloadOverlay-D_lL1sPW-CZPsN-JO.js +0 -439
- package/dist/assets/DrawerScreen-DafCGXWd.js +0 -1
- package/dist/assets/EditPeoplePage-QvPy_Six-CR3o2wGZ.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-C0ZDkboO-jLfpxCgG.js +0 -865
- package/dist/assets/EntityDetailPage-l7nXIsyF-BKeztON8.js +0 -18
- package/dist/assets/EntityDetailRoutes-BON-ncUX.js +0 -1
- package/dist/assets/ExpenseAutomationPage-DA22Qofw-I7XV9QD1.js +0 -3614
- package/dist/assets/ExpenseAutomationRoutes-CveEotWX.js +0 -20
- package/dist/assets/FeaturePreviewScreen-DQcCElpb.js +0 -1
- package/dist/assets/GlobalReviewListPage-D5_ACa-q-D1KBOMbn.js +0 -291
- package/dist/assets/InsightsCardStack-BsQzoVzj-hf0eh54W.js +0 -79
- package/dist/assets/InsightsSection-B6CNlTNH-CeDe9GJf.js +0 -27
- package/dist/assets/InternationalWireSwiftDetailsPage-VdG7bDZi-BRGKMiE5.js +0 -171
- package/dist/assets/InvitePeoplePage-VTM6kM1u-BfjLud0v.js +0 -12
- package/dist/assets/InvoiceUploadSection-it-ZYl1N-u-Ok--50.js +0 -140
- package/dist/assets/LabeledAddressValueField-BgWwd5Gw-DQJWYcjN.js +0 -45
- package/dist/assets/LabeledControlledCheckBoxField-CcPO1k23-BMfkV-71.js +0 -16
- package/dist/assets/LabeledDocumentField-C_bcFxdY-B4Wto7A4.js +0 -41
- package/dist/assets/LabeledText-C8Y7EOsX-_3NO_Gw0.js +0 -42
- package/dist/assets/MagicLinkACHDetailsPage-BSOlSfNu-CqwSWs_b.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-D1DTPo0E-BhZpjuNN.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-D_wo_2nm-BiZ2NpqK.js +0 -1
- package/dist/assets/MagicLinkRoutes-D2admDSA.js +0 -72
- package/dist/assets/MagicLinkSignInScreen-Ct1R8j_F.js +0 -12
- package/dist/assets/MailingDetailsSection-ByOPaJ05-B05tb0k3.js +0 -21
- package/dist/assets/MobileAppDrawer-C3iQUfEm.js +0 -1
- package/dist/assets/NavBarWithPicker-CGGEvLwe-De1uupkf.js +0 -30
- package/dist/assets/NavigationDots-Dvce3gHt-BdG8xiHP.js +0 -15
- package/dist/assets/NoDataChart-CrKeqWSr-BgjE0oDl.js +0 -26
- package/dist/assets/NotFoundScreen-BqSwug0q.js +0 -1
- package/dist/assets/NotificationRoutes-DJ7czIvh.js +0 -1
- package/dist/assets/NotificationsListConfig-B5pDa4cJ-FC6OqnHW.js +0 -1
- package/dist/assets/NotificationsPage-Ccl7Dny1-CqJX9kkt.js +0 -685
- package/dist/assets/OpExByVendorPage-spd-nKV4-DVRHWB5n.js +0 -100
- package/dist/assets/PandLWithForecastPage-TSoe4Z7F-BCBJHX7k.js +0 -123
- package/dist/assets/PandLWithForecastRoutes-BP0LFlHk.js +0 -1
- package/dist/assets/PeoplePage-b5_I0qOw-0ggO8pCY.js +0 -772
- package/dist/assets/PeopleRoutes-DY3VOBfU.js +0 -22
- package/dist/assets/PerformanceRoutes-Bbocm9pp.js +0 -1
- package/dist/assets/ReferralListScreen-DlI85iPs.js +0 -5
- package/dist/assets/ReimbursementApprovalRoutes-CxEK4FbL.js +0 -1
- package/dist/assets/ReimbursementDetailPage-BbyxE2uL-C9YPslYM.js +0 -314
- package/dist/assets/ReimbursementRoutes-j6vN9fxC.js +0 -13
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-DnmYl0FM-BK0-Ltoq.js +0 -1
- package/dist/assets/ReloadCard-Bdoo0XiI-c_bctmsP.js +0 -26
- package/dist/assets/ReportTableViewSelector-Bc1K7mU_-NWopA-LT.js +0 -151
- package/dist/assets/ReportsPage-BOTHMLWh-DzPOeISi.js +0 -269
- package/dist/assets/ReportsRoutes-uLdNywov.js +0 -1
- package/dist/assets/ReviewDetailsPage-BIMg1n2e-paoxwJM_.js +0 -290
- package/dist/assets/RewardsRoutes-DGFLjNEy.js +0 -1
- package/dist/assets/RoleWithToolTip-Ct3_VuDM-mN0zapH2.js +0 -22
- package/dist/assets/ScheduleDetailsPage-5FWpLRtd-4Q1Vsr07.js +0 -37
- package/dist/assets/ScheduleSequenceTable-R3-PsXES-B0y3giRJ.js +0 -326
- package/dist/assets/ScreenRoutes-DEwLetNK.js +0 -2
- package/dist/assets/SignInScreen-DeVXckwv.js +0 -1
- package/dist/assets/SignOutScreen-Cdtz7yJy.js +0 -9
- package/dist/assets/SpendManagementListViewPage-CFUxCqkU-DX09eRyT.js +0 -134
- package/dist/assets/SpendManagementPerTabPage-C-kqNTci-D-FlbY8m.js +0 -754
- package/dist/assets/SpendManagementSection-CIz4nE_w-jzb-dw8b.js +0 -375
- package/dist/assets/StatementItem-vVtoBN2w-DLRHPtma.js +0 -31
- package/dist/assets/StatementsPage-As5WOnMR-DbPIrOc7.js +0 -58
- package/dist/assets/SuccessAnimation-hijccO_0-BqkqT4v4.js +0 -13
- package/dist/assets/TaskListScreen-C4D7gvsM.js +0 -9
- package/dist/assets/TaskManagementPage-BJwp32Ph-THnLzgmA.js +0 -1067
- package/dist/assets/TaskRoutes-JhaoisDP.js +0 -9
- package/dist/assets/TimeRangeSwitcher-D00bDDhP-DCNS2OFM.js +0 -64
- package/dist/assets/TimeframeSwitcher-DA99HdHt-BcrVnS01.js +0 -31
- package/dist/assets/TimeframeSwitcherWithToggle-DyggDIQj-Bh7uACpy.js +0 -53
- package/dist/assets/TransactionDetailPage-1-mLOWSz-DfnCUdxX.js +0 -903
- package/dist/assets/TransactionDetailRoutes-Q2XWLHIy.js +0 -1
- package/dist/assets/TransactionList-BB-xoIGm-BSpWh9dC.js +0 -153
- package/dist/assets/TransactionListPage-Cj7h1Ros-Pq-a-5tQ.js +0 -35
- package/dist/assets/TreasuryOverviewPage-DwvjMR4_-WTn3yo79.js +0 -725
- package/dist/assets/TreasuryRoutes-BSNm8ukU.js +0 -45
- package/dist/assets/TreasuryTaxLetterPage-D8hzCL5o-CFbhhHa6.js +0 -58
- package/dist/assets/TrendWithTransactions-3D1FvM8G-BaOlWQi6.js +0 -116
- package/dist/assets/UploadAdditionalDocumentOverlay-Wl4Spdpn-SaNef-9h.js +0 -38
- package/dist/assets/Vendor2FAPopup-D0zYKkIv-C8gaYTWa.js +0 -1
- package/dist/assets/VendorACHDetailsPage-YYX9aQdw-DiTm9Ff5.js +0 -1
- package/dist/assets/VendorDetailPage-Br9wIOnI-UzHXbr7R.js +0 -257
- package/dist/assets/VendorDomesticWireDetailsPage-BpPgQRHI-cmrtzlCJ.js +0 -1
- package/dist/assets/VendorFirstReviewPage-BbknTCBD-CFkeR-vJ.js +0 -730
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-yhTjWXvw-B29B7nyw.js +0 -1
- package/dist/assets/VerifyDevice-Dvf0JsNN-BoMtboD9.js +0 -112
- package/dist/assets/VideoPlayer-VAzOGCDL-DK8XBhcD.js +0 -77
- package/dist/assets/WiseConfirmationScreen-CQr6ZXBs.js +0 -12
- package/dist/assets/ZeniAccountDetailPage-GcwTJdB8-jRcxdfCk.js +0 -300
- package/dist/assets/ZeniAccountListViewPage-CdwO0Duy-B_Bfz13h.js +0 -443
- package/dist/assets/ZeniAccountNavBarPieces-BrSIfL36-DX590vcc.js +0 -33
- package/dist/assets/ZeniAccountRoutes-ChcgZrUL.js +0 -58
- package/dist/assets/ZeniAccountStatementScreen-CnphzAy3.js +0 -9
- package/dist/assets/ZeniTransferAmountSlider-BcaZZuAw-SPoOR9Qx.js +0 -63
- package/dist/assets/bank-letter-BOcVjN6J-Dkoy6rTp.js +0 -1
- package/dist/assets/common-BpxEACHl-HdN5Sbj2.js +0 -1
- package/dist/assets/commonDimensions-Oz1tdAcx-DG9eYXSN.js +0 -1
- package/dist/assets/downloadPdf-Dsuxeias-CaRLShge.js +0 -1
- package/dist/assets/empty-DHQ-fT1Z.js +0 -1
- package/dist/assets/epic-Bvkh2Xun.js +0 -2
- package/dist/assets/getLocaleForTenant-DSHteTEt.js +0 -1
- package/dist/assets/index-BuqfI2Vr.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-jcHEi-mv-bVioMH0m.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-XgUp1xUb-COcUQ0p-.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-Bre8FfBF-9SqRPSs3.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DOyCX6ij-5ej1SpjB.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-8hGqXIxp.js +0 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-Cvi1pi7-.js +0 -3
- package/dist/assets/react-C4vvP0Jv.js +0 -19
- package/dist/assets/toCOABalancesWithID-aLNB35t7-CE6_d7nv.js +0 -1
- package/dist/assets/toChartData-DUL6vnzJ-CEwEqfdb.js +0 -1
- package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-C8EH3odl.js +0 -1
- package/dist/assets/useInitialThreadRequest-BVrIa_dM.js +0 -1
- package/dist/assets/withTransactionSidePanel-hI4VijtT.js +0 -8
- package/dist/assets/zeni-epic-state-ChDcaYf9.js +0 -14
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import{j as e}from"./pdf-BrZAvZ1o.js";import{HU as ee,ct as M,cA as K,cy as ae,Dr as X,HB as se,pQ as we,HV as q,pE as xe,pZ as De,pT as te,pI as ne,pX as ke,pU as Ie,HW as oe,rq as Ee,HX as je,dg as Pe,HY as A,pN as ie,pL as re,q1 as Te,bE as ve}from"./zeni-epic-state-ChDcaYf9.js";import{e as le,aE as Y,aG as k,js as G,kc as de,f as ce,kn as pe,jQ as ue,ko as Le,x as me,o as R,jT as he,O as ge,kp as Fe,k2 as Oe,bk as Re,jz as fe,J as Ve,jO as Ue,kq as Be,_ as Ze}from"./index-C-nTPjDF.js";import{D as be,n as z,S as ye}from"./mui-BOwjqiG-.js";import J from"./NotFoundScreen-BqSwug0q.js";import{a as i}from"./sentry-Dd2vHz0L.js";import{i as Q,l as He,u as D,j as Ae,h as $e,k as _e,R as N,m as H}from"./core-C_Me9Mw3.js";import{M as Ge}from"./MobileAppDrawer-C3iQUfEm.js";import"./lottie-DyM2Y4mu.js";import"./liveblocks-WO1k1bbB.js";import"./recharts-B22vzlMp.js";import"./dnd-BRZ99wCN.js";import"./analytics-CkXlMwul.js";import"./plaid-CyY87P8r.js";import"./utils-CInzYuJw.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new a.Error().stack;t&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[t]="12d8c095-7c18-40b3-b14c-ac23fb614021",a._sentryDebugIdIdentifier="sentry-dbid-12d8c095-7c18-40b3-b14c-ac23fb614021")}catch{}})();const ze={overlayWidth:new me(100,100,58)},$=ge.getLocalizedStrings().peoplePage.invitePage,We=({companyId:a,managersListView:t,companyPassportView:r,classListView:n,mode:h,isEditPeopleDrawerOpen:o,closeDrawerHandler:C})=>{const g=le(),m=Q(),[V,E]=i.useState(!1),[U,S]=i.useState(!1),{userId:w}=He(),d=D(c=>ee(c)),p=D(c=>M(c)),{useFeatureGate:f}=Y(),{isFeatureEnabled:I}=f(k.isDebitCardFeatureEnabled),j=K(I,p),v=ae(p),L=X(p),B=se(p),Z=!!p.company?.featuresActivationInfo?.isReimbursementFeatureEnabled,x=!j&&n.fetchState!=="Completed"||t.fetchState!=="Completed"||r.fetchState!=="Completed"||a==null;if(G.getSignedInUser()==null)throw Error("Can't access invite people page without signing in...");const b=()=>{m(q()),C()},u=()=>{V===!0?S(!0):b()},P=r.companyView?.controllers?.map(c=>c.user),{isFeatureEnabled:T}=f(k.isDepositAccountsFeatureEnabled),{isFeatureEnabled:F}=f(k.isChargeCardFeatureEnabled),y=de(p,F,I),{isFeatureEnabled:O}=f(k.isTreasuryEnabled),s={peopleDetails:d,classList:n.classes,managersList:t.users,controllersList:P,mode:h,isZeniTenant:L,isReimbursementDisabled:Z===!1,isZeniAccountsDisabled:T===!1,isChargeCardDisabled:y===!1,isTreasuryDisabled:O===!1,isLiteRoleDisabled:B===!1,isBankingOnlyTenant:j,isCardsOnlyTenant:v,onResetClick:b,onDeleteUser:c=>{m(ne(c.userId,c.userRole.userRoleId))},onPeopleLocalDataUpdated:c=>{m(te({peopleLocalData:c})),E(!0)},onSaveClick:()=>{m(h==="zeni_only"?xe(a):De(L))},onCloseClick:u},l={onOkClick:()=>{S(!1),b()},onCancelClick:()=>{S(!1)}};return i.useEffect(()=>{x===!1&&w!=null&&m(we(w))},[x,w]),i.useEffect(()=>{d.updatePersonState.fetchState==="Completed"&&b()},[d.updatePersonState.fetchState]),e.jsx(be,{anchor:"right",open:o,PaperProps:{style:{width:ze.overlayWidth.valuePercentage(g),boxShadow:"none"}},slotProps:{backdrop:{style:{backgroundColor:ce.overlayDark,cursor:"pointer"}}},onClose:u,children:e.jsxs(qe,{onClick:c=>c.stopPropagation(),children:[U===!0?e.jsx(pe,{titleComponent:e.jsx(Ce,{children:$.discardTitle}),descriptionComponent:e.jsx(Se,{children:$.discardDescription}),primaryButtonText:$.discard,secondaryButtonText:$.no,action:l,isEditPopup:!0}):null,x||d.person==null?e.jsx(ue,{fetchState:"In-Progress",style:{height:"calc(100vh - 110px)"}}):e.jsx(Le,{...s})]})})},qe=z(ye)`
|
|
2
|
-
display: flex;
|
|
3
|
-
min-height: 100%;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
`,Ce=z(he.H6Regular)`
|
|
6
|
-
margin-top: ${R.sp7};
|
|
7
|
-
padding-left: ${R.sp8};
|
|
8
|
-
padding-right: ${R.sp8};
|
|
9
|
-
color: ${a=>a.theme.colors.primary};
|
|
10
|
-
word-break: break-word;
|
|
11
|
-
`,Se=z(he.StandardRegularSp)`
|
|
12
|
-
color: ${a=>a.theme.colors.hero};
|
|
13
|
-
padding-left: ${R.sp8};
|
|
14
|
-
padding-right: ${R.sp8};
|
|
15
|
-
margin-bottom: 30px;
|
|
16
|
-
margin-top: ${R.sp4};
|
|
17
|
-
white-space: pre-line;
|
|
18
|
-
`,Me={overlayWidth:new me(100,100,58)},_=ge.getLocalizedStrings().peoplePage.invitePage,Ke=({companyId:a,managersListView:t,companyPassportView:r,classListView:n,mode:h,isInvitePeopleDrawerOpen:o,closeDrawerHandler:C})=>{const g=le(),m=Q(),[V,E]=i.useState(!1),[U,S]=i.useState(!1),w=D(l=>ee(l)),d=D(l=>M(l)),{useFeatureGate:p}=Y(),{isFeatureEnabled:f}=p(k.isDebitCardFeatureEnabled),I=K(f,d),j=ae(d),v=X(d),L=se(d),B=!!d.company?.featuresActivationInfo?.isReimbursementFeatureEnabled,Z=!I&&n.fetchState!=="Completed"||t.fetchState!=="Completed"||r.fetchState!=="Completed"||a==null;if(G.getSignedInUser()==null)throw Error("Can't access invite people page without signing in...");const x=()=>{C(),m(q())},b=()=>{V===!0?S(!0):x()},u={onOkClick:()=>{S(!1),x()},onCancelClick:()=>{S(!1)}},P=r.companyView?.controllers.map(l=>l.user),{isFeatureEnabled:T}=p(k.isDepositAccountsFeatureEnabled),{isFeatureEnabled:F}=p(k.isChargeCardFeatureEnabled),y=de(d,F,f),{isFeatureEnabled:O}=p(k.isTreasuryEnabled),s={classList:n.classes,managersList:t.users,controllersList:P,mode:h,isZeniTenant:v,onPeopleLocalDataUpdated:l=>{m(te({peopleLocalData:l})),E(!0)},onResetClick:x,onSaveClick:()=>{m(h==="zeni_only"?ke(a):Ie())},onCloseClick:b,peopleDetails:w,isReimbursementDisabled:B===!1,isLiteRoleDisabled:L===!1,isZeniAccountsDisabled:T===!1,isChargeCardDisabled:y===!1,isTreasuryDisabled:O===!1,isBankingOnlyTenant:I,isCardsOnlyTenant:j};return i.useEffect(()=>{w.invitePersonState.fetchState==="Completed"&&(C(),m(q()))},[w.invitePersonState.fetchState]),e.jsx(be,{anchor:"right",open:o,PaperProps:{style:{width:Me.overlayWidth.valuePercentage(g),boxShadow:"none"}},slotProps:{backdrop:{style:{backgroundColor:ce.overlayDark,cursor:"pointer"}}},onClose:b,children:e.jsxs(Xe,{onClick:l=>l.stopPropagation(),children:[U===!0?e.jsx(pe,{titleComponent:e.jsx(Ce,{children:_.discardTitle}),descriptionComponent:e.jsx(Se,{children:_.discardDescription}),primaryButtonText:_.discard,secondaryButtonText:_.no,action:u}):null,Z?e.jsx(ue,{fetchState:"In-Progress",style:{height:"calc(100vh - 110px)"}}):e.jsx(Fe,{...s})]})})},Xe=z(ye)`
|
|
19
|
-
display: flex;
|
|
20
|
-
min-height: 100%;
|
|
21
|
-
flex-direction: column;
|
|
22
|
-
`,Ye=_e(function(a,t){const r=oe(a),n=G.getSignedInUser();return{data:r,loggedinUserId:n?.userId??"",isZeniTenant:t.isZeniTenant===!0,shouldFetchClasses:t.shouldFetchClasses,isZeniAdminUser:n?.userEmailDomain==="zeni.ai"&&t.isZeni===!0,analytics:fe}},function(a,t){const{navigate:r,companyId:n,shouldFetchClasses:h}=t;return{personAction:{onPersonDelete:(o,C)=>{a(ne(o,C))},onResendInvite:o=>{a(Te(o))},onReloadPeople:()=>{a(ie()),a(re(n,h))},onBackClick:()=>{r("../../")},onModeChange:o=>{a(A({mode:o,searchText:"",sortKey:"name",sortOrder:"ascending"}))},onSearchTextChanged:o=>{a(A({searchText:o}))}}}})(Be);function W({isInvitePeopleDrawerOpen:a,isEditPeopleDrawerOpen:t}){const r=Ae(),n=Q(),h=$e(),{areTenantIdsInSync:o}=Oe(),C=G.getSignedInUser(),g=D(s=>M(s)),{useFeatureGate:m}=Y(),{isFeatureEnabled:V}=m(k.isDebitCardFeatureEnabled),E=!K(V,g),U=X(g),S=g?.tenantId,{tenantEmailDomain:w}=g,[d,p]=i.useState(!1),[f,I]=i.useState(!1),[j,v]=i.useState(!1),[L,B]=i.useState("off"),[Z,x]=i.useState(!1),b=s=>{x(s)},u=D(s=>oe(s)),P=D(s=>Ee(s.classState,s.classListState)),T=D(s=>je(s.userState,s.userRoleState,s.userListViewState,"manager")),F=D(s=>Pe(s)),y=g?.companyId;i.useEffect(()=>{d&&L===u.uiState.mode||!o||(n(A({searchText:"",sortKey:"name",sortOrder:"ascending"})),B(u.uiState.mode),p(!0),n(ie()))},[d,C,S,n,u.uiState.mode,o]),i.useEffect(()=>{y!=null&&o&&n(re(y,E))},[y,E,o]),i.useEffect(()=>{I(a!=null&&a===!0),v(t!=null&&t===!0&&t)},[a,t]),i.useEffect(()=>{n(A({searchText:"",sortKey:"name",sortOrder:"ascending"}))},[]);const O=()=>{I(!1),v(!1),r("../")};return e.jsxs(e.Fragment,{children:[u.fetchState==="Completed"?e.jsx(Re,{analytics:fe,onLoad:s=>s.trackPageLoaded(Ve.Event.members)}):null,f===!0?e.jsx(Ke,{closeDrawerHandler:O,isInvitePeopleDrawerOpen:f,managersListView:T,companyPassportView:F,classListView:P,companyId:y,mode:u.uiState.mode}):null,j===!0?e.jsx(We,{closeDrawerHandler:O,isEditPeopleDrawerOpen:j,managersListView:T,companyPassportView:F,classListView:P,companyId:y,mode:u.uiState.mode}):null,e.jsx(Ge,{isAppContentDrawerOpen:Z,handleDrawerToggle:b}),e.jsx(Ye,{navigate:r,signedInUser:C,isZeni:g.isZeni,isZeniTenant:U,peopleUIState:u.uiState,companyId:y,shouldFetchClasses:E,classList:P,managersView:T,peopleView:u,onInvitePeopleClick:()=>{r("./new")},onColumnSortConfigChanged:(s,l)=>{n(A({sortKey:s,sortOrder:l}))},onRowClick:s=>{const l=`/${w}/people/${encodeURIComponent(s)}/edit`,c=Ue(h.state?.pathnameStackToGoBack,h.pathname);r(l,{state:{pathnameStackToGoBack:c}})},onClickMenuIcon:()=>{b(!0)}})]})}function ua(){const a=Ze();return ve(a?.loggedInUserRole??[])?e.jsxs(N,{children:[e.jsx(H,{path:"/",element:e.jsx(W,{})}),e.jsx(H,{path:"new",element:e.jsx(W,{isInvitePeopleDrawerOpen:!0})}),e.jsx(H,{path:":userId/edit",element:e.jsx(W,{isEditPeopleDrawerOpen:!0})}),e.jsx(H,{path:"*",element:e.jsx(J,{})})]}):e.jsx(N,{children:e.jsx(H,{path:"*",element:e.jsx(J,{})})})}export{ua as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as n}from"./pdf-BrZAvZ1o.js";import C from"./NotFoundScreen-BqSwug0q.js";import{a as r}from"./sentry-Dd2vHz0L.js";import{j as _,h as E,u as p,l as v,i as M,N as U,k as N,R as z,m as h}from"./core-C_Me9Mw3.js";import{ct as A,Nx as I,bn as O,bm as P,ey as V,eg as B}from"./zeni-epic-state-ChDcaYf9.js";import{N as F,js as b,mb as $}from"./index-C-nTPjDF.js";import"./mui-BOwjqiG-.js";import{M as q}from"./MobileAppDrawer-C3iQUfEm.js";import"./lottie-DyM2Y4mu.js";import"./liveblocks-WO1k1bbB.js";import"./recharts-B22vzlMp.js";import"./dnd-BRZ99wCN.js";import"./analytics-CkXlMwul.js";import"./plaid-CyY87P8r.js";import"./utils-CInzYuJw.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]="d7c58dca-acdf-41ee-9e16-d89df063825a",e._sentryDebugIdIdentifier="sentry-dbid-d7c58dca-acdf-41ee-9e16-d89df063825a")}catch{}})();const G=N(function(e){const t=b.getSignedInUser(),d=e.tenantState.currentTenantId,o={userId:t?.userId??"",sessionId:t?.zeniSessionId??"",tenantId:d??""},{aggregatedReportViewState:s}=I(e);return{authParams:o,isDisabled:!1,loggedInUser:t,aggregatedReport:s}},function(e,t){return{onBackClick:()=>{t.navigate("../../")},onClickMenuIcon:()=>{t.handleDrawerToggle(!0)}}})($),H=()=>{const e=_(),t=E(),d=F(),o=p(a=>A(a)),{aggregatedReportViewState:s}=p(a=>I(a)),{tenantEmailDomain:g}=v(),m=M(),l=b.getSignedInUser();if(l==null)throw new Error("Can't access this page without signing in...");const u=r.useRef(!1),[w,S]=r.useState(!1),j=O(o?.userRole??[]),x=o?.userRole?.includes("bookkeeping_admin")??!1,y=P(l),k=j||x||y,c=r.useCallback((a,i,T)=>{m(V({fromMonth:a,toMonth:i,cacheOverride:T}))},[]);r.useEffect(()=>{s?.fetchState==="Completed"&&u.current&&(m(B({messageSection:"data_refresh_update",messageText:"success",type:"success",showStatusIcon:!0})),u.current=!1)},[s?.fetchState]);const D=r.useCallback((a,i)=>{s!=null&&s?.fetchState==="In-Progress"||c(a,i,!0),u.current=!0},[s?.fetchState,c]),R=r.useCallback((a,i)=>{c(a,i,!1)},[c]);if(!k)return n.jsx(U,{to:`/${g}/dashboard`,replace:!0});const f=a=>{S(a)};return n.jsxs(n.Fragment,{children:[n.jsx(q,{isAppContentDrawerOpen:w,handleDrawerToggle:f}),n.jsx(G,{navigate:e,location:t,themeState:d,currentTenant:o,signedInUser:l,tenantEmailDomain:g,onReload:D,onTimeRangeSelect:R,handleDrawerToggle:f})]})};function ie(){return n.jsxs(z,{children:[n.jsx(h,{path:"*",element:n.jsx(H,{})}),n.jsx(h,{path:"*",element:n.jsx(C,{})})]})}export{ie as default};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import{j as t}from"./pdf-BrZAvZ1o.js";import{a as o}from"./sentry-Dd2vHz0L.js";import{u as f,j as O,i as H,h as V,k as W}from"./core-C_Me9Mw3.js";import{y as _,e as F,js as b,l0 as M,x as N,k2 as U,jQ as $,bk as z,jz as l,J as A,k9 as G,l1 as J}from"./index-C-nTPjDF.js";import{cE as Q,ct as X,Kn as R,Ko as Y,Kp as Z,qu as ee,qk as h,cG as ae,qp as re,Kq as ne}from"./zeni-epic-state-ChDcaYf9.js";import{D as te,e as se,n as oe,S as ie}from"./mui-BOwjqiG-.js";import{M as le}from"./MobileAppDrawer-C3iQUfEm.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]="a66be32a-da87-4a1e-9364-d406bda5c427",e._sentryDebugIdIdentifier="sentry-dbid-a66be32a-da87-4a1e-9364-d406bda5c427")}catch{}})();const de={overlayWidth:new N(100,100,30)},ce=({isReferralDrawerOpen:e,closeDrawerHandler:a})=>{const r=_(),s=F();if(b.getSignedInUser()==null)throw Error("Can't access How Referral works without signing in...");const i=()=>{a(!0)},p=f(d=>Q(d));return t.jsx(te,{anchor:"right",open:e,PaperProps:{style:{width:de.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(ue,{onClick:d=>d.stopPropagation(),children:t.jsx(M,{onDismissClick:i,rewardsPlan:p.rewardsPlan})})})})},ue=oe(ie)`
|
|
2
|
-
display: flex;
|
|
3
|
-
min-height: 100%;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
`,I="refer-and-earn-status-update",fe=W(function(e){const a=R(e);return{inviteList:a.invitations,uiState:a.uiState,pendingBonus:a.pendingBonus,earnedBonus:a.earnedBonus,pendingReferrals:a.pendingReferrals,fetchState:a.fetchState,rewardsPlan:a.rewardsPlan}},function(e,a){const{navigate:r}=a;return{onColumnSortConfigChanged:(s,i)=>{e(ne({sortOrder:i,sortkey:s}))},onInviteClick:()=>{l.trackRewardsPageClicked("invite via email"),r("../refer")},onHowItWorksClick:()=>{l.trackRewardsPageClicked("know more"),r("../how-it-works")},onResendInviteClick:s=>{l.trackRewardsPageClicked("resend invite"),e(re(s))},onBackClick:()=>{r("../",{relative:"path"})},onReloadInvitees:()=>{e(h(!0))},onCopyReferralLink:()=>{l.trackRewardsPageClicked("copy referral link")},onClickRefer:()=>{l.trackRewardsPageClicked("refer")},onEventReceived:s=>{s===I&&e(h(!0,!0))}}})(G(J));function ye({isReferralDrawerOpen:e}){const a=O(),r=H(),s=V(),[i,p]=o.useState(!1),[d,P]=o.useState(!1),[j,x]=o.useState(!1),[m,v]=o.useState(!1),w=b.getSignedInUser(),y=f(n=>X(n)),g=f(n=>R(n)),k=g.fetchState,c=f(n=>n.referralViewState.rewardsPlanFetchState),D=()=>{v(!1),a("..")},E=Y([g,c]),B=Z([g,c]),{areTenantIdsInSync:u}=U();o.useEffect(()=>{y?.rewardsLastViewedTime==null&&j===!1&&(r(ee()),x(!0))},[]),o.useEffect(()=>{!i&&k==="Not-Started"&&u&&(p(!0),r(h(!0)))},[k,r,u]),o.useEffect(()=>{!d&&c.fetchState==="Not-Started"&&u&&(P(!0),r(ae(!0)))},[c,r,u]),o.useEffect(()=>{v(e!=null&&e===!0)},[e]);const[L,T]=o.useState(!1),C=n=>{T(n)},q={events:w?.userId!=null?[`private-${w.userId}.${I}`]:[],eventCallback:(n,S,K)=>{K.onEventReceived(n)}};return B===!0?t.jsx($,{fetchState:k}):E===!0?t.jsxs(t.Fragment,{children:[t.jsx(z,{analytics:l,onLoad:n=>(S=>{w!=null&&S.trackPageLoaded(A.Event.rewardsPageViewed)})(n)}),t.jsx(le,{isAppContentDrawerOpen:L,handleDrawerToggle:C}),m===!0?t.jsx(ce,{closeDrawerHandler:D,isReferralDrawerOpen:m}):null,t.jsx(fe,{location:s,navigate:a,currentTenant:y,onClickMenuIcon:()=>{C(!0)},...q})]}):null}export{ye as R};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as t}from"./pdf-BrZAvZ1o.js";import x from"./NotFoundScreen-BqSwug0q.js";import{a as p}from"./sentry-Dd2vHz0L.js";import{j as I,h as k,i as A,u,N as E,k as C,R as D,m as c}from"./core-C_Me9Mw3.js";import{ct as z,Li as g,Ly as S,za as T,yj as V,z9 as d,z0 as U,LN as _}from"./zeni-epic-state-ChDcaYf9.js";import{y as L,js as N,jQ as $,k9 as O,lz as W,ki as B}from"./index-C-nTPjDF.js";import"./mui-BOwjqiG-.js";import{R as y}from"./ReimbursementApprovalRuleDetailScreen-CiFU9_Ue.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]="9181a707-f436-459d-8ed7-46dc57454770",e._sentryDebugIdIdentifier="sentry-dbid-9181a707-f436-459d-8ed7-46dc57454770")}catch{}})();const m="reimbursement-approval-rule-update",P=C(function(e){return{approvalView:g(e),remiSetupApproverViewUpdateData:S(e).remiSetupApproverViewUpdateData}},function(e,r){const{navigate:a,location:l}=r;return{onApprovalRulesEventReceived:n=>{n.endsWith(m)&&e(_(!1))},onBackClick:()=>{B(l)?a("../../"):a("../../../reimbursements/setup")},onDeleteRuleClick:n=>{e(U(n))},onEditRuleClick:n=>{n!=null?(e(d(n)),a(`./${n}/edit`)):(e(d()),a("./new"))}}})(O(W)),Q=()=>{const e=I(),r=k(),a=A(),[l,n]=p.useState(!1),[f,b]=p.useState(!1),h=u(s=>s.remiSetupApproverViewState.fetchState),o=u(s=>z(s)),j=L(),i=u(s=>g(s)),v=u(s=>S(s).remiSetupApproverViewUpdateData);if(p.useEffect(()=>{v?.updateStatus.fetchState==="Completed"&&a(T())},[v]),p.useEffect(()=>{l||h!=="Not-Started"||(n(!0),a(V(!0)))},[l,h,a]),N.getSignedInUser()==null)throw Error("Can't access reimbursement approval without signing in...");p.useEffect(()=>{i.allApprovalRules.length===0&&i.fetchState==="Completed"&&(f||(b(!0),a(d())),e("./new"))},[f,i,a]);const w={events:o.companyId!=null?[`private-${o.companyId}.${m}`]:[],eventCallback:(s,q,R)=>{s.endsWith(m)&&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($,{fetchState:"In-Progress",style:{backgroundColor:j.colors.grey5}}):t.jsx(P,{currentTenant:o,location:r,navigate:e,...w})};function Z(){return t.jsxs(D,{children:[t.jsx(c,{path:"/",element:t.jsx(Q,{})}),t.jsx(c,{path:"/new",element:t.jsx(y,{})}),t.jsx(c,{path:"/:approvalRuleId/edit",element:t.jsx(y,{})}),t.jsx(c,{path:"*",element:t.jsx(x,{})})]})}export{Z as R};
|
|
@@ -1,314 +0,0 @@
|
|
|
1
|
-
import{_ as tt,V as t,fI as kt,h as zt,e as At,y as Mt,bF as Rt,x as m,O as it,ba as Pt,fJ as Bt,fK as Nt,bR as Ae,bS as Me,bT as Re,a_ as Pe,b as f,aM as _t,cR as Lt,fL as Wt,fU as Be,o as r,fM as Ne,c$ as b,fP as g,d5 as w,a5 as _e,eO as Le,w as H,fR as We,a9 as Et,k as Ot,be as Ft,fS as ne,aV as Kt,bf as Ut,a8 as Vt,d as Gt,M as Ht,l as rt,at,f as Y,H as Yt,bq as qt,C as Jt,gc as Qt,g7 as Xt,m as c,bH as Zt,co as ei}from"./index-C-nTPjDF.js";import{a as u}from"./sentry-Dd2vHz0L.js";import{n as a}from"./mui-BOwjqiG-.js";import{bG as ti,c6 as ii,G6 as ri}from"./zeni-epic-state-ChDcaYf9.js";import ai from"./InvoiceUploadSection-it-ZYl1N-u-Ok--50.js";import{r as oi,h as x,u as ni}from"./types-DyvtCprH-VF9iATMs.js";import"./pdf-BrZAvZ1o.js";import"./core-C_Me9Mw3.js";import"./lottie-DyM2Y4mu.js";import"./liveblocks-WO1k1bbB.js";import"./recharts-B22vzlMp.js";import"./dnd-BRZ99wCN.js";import"./analytics-CkXlMwul.js";import"./plaid-CyY87P8r.js";import"./utils-CInzYuJw.js";import"./AttachmentView-CzC4skJ3-9WHG58G4.js";import"./uploadReceipts-CIgkuVpu-CvG-u27y.js";import"./upload-reimbursement-receipt-O2N8vcO7-C8EH3odl.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},$=new e.Error().stack;$&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[$]="ecf3da19-4be1-4bd2-85b0-30d98b3664a4",e._sentryDebugIdIdentifier="sentry-dbid-ecf3da19-4be1-4bd2-85b0-30d98b3664a4")}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])},li={formTitle:new Gt("h6Regular","h5Regular")},Ee=({remiDetails:e,uploadInvoiceEndPoint:$,authParams:z,isAdmin:_,signedInUser:se,showApproveRejectBtns:de,isRealTimeApprovalEnabled:ce,isReimbursementCommentingEnabled:p,isShowDeletedReimbursementEnabled:me,isSignedInUserReimbursementCreator:ot,updateEditRealTimeApproverClicked:pe,onSaveRealTimeApprovals:ue,redirectToReimbursementListScreen:q,redirectToEditableReimbursementScreen:nt,onDuplicateLineClick:lt,approveOrRejectRemi:he,deleteReimbursement:st,cancelAndDeleteReport:ye,handleZeniLogoClick:dt,onAddNewRule:be,initialOpenThreadRequest:A})=>{const d=tt(),ct=zt().analytics,n=At(),ge=Mt(),[mt,M]=u.useState(!1),[J,Q]=u.useState(!1),[pt,X]=u.useState(!1),[Z,ee]=u.useState("approved"),L=u.useRef(null),[D,te]=u.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[k,ut]=u.useState(null),[ht,W]=u.useState(!1),h=`dashboard_${d.currentTenant?.companyId}`,we=u.useRef({}),xe=l=>{const o=we.current[l];o!=null&&setTimeout(()=>ni(o,L.current),100)};u.useEffect(()=>{(e.deleteStatus.fetchState==="Completed"||e.approvalUpdateStatus.fetchState==="Completed"||e.cancelAndDeleteStatus.fetchState==="Completed")&&q()},[e,q]),u.useEffect(()=>{const l=window.location.hash;if(l&&l.startsWith("#L")){const o=l.substring(1);xe(o)}},[]),Rt({componentName:"reimbursement.details"});const yt={onOkClick:()=>{M(!1),D.primaryButtonText===i.buttons.delete?st?.():D.title===i.cancelReportTitle?ye?.():D.title===i.cancelAndDeleteReportTitle&&ye?.(!0)},onCancelClick:()=>{M(!1)}},S=s.labelWidth.value(n),R=s.largeLabelWidth.value(n),fe=it.getLocalizedStrings(),{common:{texts:{comments:bt},strings:{empty:ve}},collaboration:{threads:{placeholder:{addANewComment:gt,replyAComment:wt},tooltip:{resolveComment:xt,unResolveComment:ft}}},dateFormat:$e}=fe,{reimbursementDetail:i,bulkActions:E}=fe.spendManagement.reimbursement,ie=e.remiDetails?.reportTitle,I=e.remiDetails?.lines??[],O=e.remiDetails?.reimbursementInfo.stage,F=e.remiDetails?.reimbursementInfo.billStatus,K=e.remiDetails?.reimbursementInfo.billPaymentStatus,Te=O?.code==="paid",vt=Te?O:F?.code=="approved"&&K?.code?K:F,T=si(e.remiDetails),P=F?.code=="approved"&&K?.code?K:F,U=e.remiDetails?.isDeleted??!1,je=e.remiDetails?.amount,Se=e.remiDetails?.amount.amount??0,Ie=()=>{te({title:e.remiDetails?.reimbursementInfo.stage.code==="draft"?i.deleteDraftTitle:i.deleteReportTitle,description:i.deleteAlertDescription,primaryButtonText:i.buttons.delete,secondaryButtonText:i.buttons.cancel}),M(!0)},De=()=>{nt()},$t={onOkClick:l=>{X(!1),he({reimbursementId:e.remiDetails?.id??"",type:"rejected",description:l})},onCancelClick:()=>{X(!1)}},Tt=e.remiDetails?.reimbursementInfo.paymentDate!=null?ti(ii(e.remiDetails.reimbursementInfo.paymentDate.toDate(),[0,6],e.achSameDayMaxDays).toDateString()):void 0,re=e.remiDetails?.reimbursementInfo.expectedDepositDate??Tt,jt=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"&&ot&&!jt,St=e.remiDetails?.reimbursementInfo.billStatus.code!=="rejected"&&e.remiDetails?.reimbursementInfo.billPaymentStatus.code!=="paid",ae=vt?.code,It=oi(e.duplicateLineByLineId),ke=e.duplicateReimbursementStatus.fetchState==="Completed"&&It>0,{requestToOpenThread:oe,setRequestToOpenThread:V,setOpenThread:G}=u.useContext(Pt);u.useEffect(()=>{A?.threadId!=null&&A?.companyId!=null&&A?.entityType!=null&&V(A)},[A,V]);const{threads:B,isLoading:C}=Bt(),Dt=u.useMemo(()=>B.filter(l=>l.resolved===!1&&!l.id.includes(Nt)),[B]).length,Ct=u.useCallback((l,o)=>{G(o),W(!1)},[G,W]);u.useEffect(()=>{oe?.threadId!=null&&B.length>0&&!C&&(G(oe.threadId),V(null))},[oe,B,C,G,V]);const y={application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id},N=ri(e.remiDetails?.bulkProcessingDetail?.type);return t.jsxs(Bi,{windowSize:n,ref:L,children:[mt?t.jsx(Ae,{titleComponent:t.jsx(Re,{children:D.title}),descriptionComponent:t.jsx(Me,{children:D.description}),primaryButtonText:D.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:D.secondaryButtonText,action:yt}):null,pt?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:$t,isEditPopup:!0,isNotesIncluded:!0,notesPlaceholder:i.rejectRejectReasonPlaceholder}):null,t.jsxs(Ci,{windowSize:n,"data-testid":f("reimbursement-detail-page-nav-bar-container"),children:[n!=="small"?t.jsx(Pe,{"data-testid":f("reimbursement-detail-page-nav-bar-left"),style:{width:"42%"},title:"",leftSideComponent:t.jsx(ki,{onClick:()=>dt?.(),"data-testid":f("remi-detail-page-nav-bar-zeni-logo")}),enableTitleOnScroll:!1,backgroundColor:ge.colors.background,keepBackgroundOnScroll:!0,scrollableContent:L,source:"ReimbursementDetailPage"}):null,n!=="small"?t.jsx(Si,{}):null,t.jsx(Pe,{"data-testid":f("reimbursement-detail-page-nav-bar-right"),title:ie??ve,leftSideComponent:t.jsx(t.Fragment,{}),style:{width:n!=="small"?"58%":"100%"},rightSideComponent:t.jsxs(Ai,{children:[p?t.jsxs(Mi,{isDisabled:C,onClick:C?()=>null:l=>{l.preventDefault(),l.stopPropagation(),ut({roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityType:"reimbursement.details",entityId:e.remiDetails?.id??""}),W(!0),ct.trackCommentActivity("reimbursement","clicked",d.currentTenant?.companyName??"",d.controllersList.controllers.map(o=>Lt(o)),void 0,void 0,"page icon")},"data-testid":f("remi-comments-section"),children:[t.jsx(_t,{count:C?void 0:Dt,isLoading:C,style:{left:"12px"}}),t.jsx(Ri,{})]}):null,t.jsx(Pi,{size:n,onClick:()=>{q()},"data-testid":f("remi-detail-page-close"),children:t.jsx(zi,{})})]}),scrollableContent:L,enableTitleOnScroll:n!=="small",scrollThreshold:64,source:"ReimbursementDetailPage"})]}),t.jsxs(Fi,{children:[n==="small"?t.jsxs(t.Fragment,{children:[t.jsx(Je,{windowSize:n,children:t.jsx(Qe,{windowsSize:n,children:ie})}),e.createdBy?.userId!=null?t.jsx(Ge,{windowSize:n,children:`${i.by} ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,me&&T!=null?t.jsx(He,{color:T.color,bgColor:T.bgColor,borderColor:T.borderColor,children:T.value}):null,P?.code!=null?n==="small"?t.jsxs(t.Fragment,{children:[t.jsx(Wt,{progressSectionObj:P,createDate:e.remiDetails?.createTime,paymentDate:re,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:U}),N?t.jsx(Be,{variant:"warning",style:{margin:`${r.sp5} ${r.sp3}`},title:E.duplicateWarning.title,description:E.duplicateWarning.description}):ke?t.jsxs(Oe,{size:n,children:[t.jsx(Ve,{}),t.jsxs(Ke,{children:[t.jsx(Fe,{children:i.thereSeems}),t.jsx(Ue,{children:i.pleaseFind})]})]}):null]}):t.jsx(qe,{windowSize:n,children:t.jsx(Ne,{progressSectionObj:P,createDate:e.remiDetails?.createTime,paymentDate:re,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:U})}):null]}):null,I.map((l,o)=>{const j=e.duplicateLineByLineId[l.lineId];return t.jsxs(et,{windowSize:n,children:[t.jsx(Wi,{windowSize:n,children:t.jsx(Ei,{bottomSeperator:I.length!==1,windowSize:n,children:t.jsx(ai,{showAutofill:!1,uploadInvoiceEndPoint:$,authParams:z,entityId:e.remiDetails?.id,file:l.file,showTitlebar:!0,showTitlebarIcon:!1,pdfTitle:I.length>1?`#${o+1} Receipt`:"Receipt",style:{width:"auto",padding:0,height:I.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(Je,{windowSize:n,children:[t.jsx(Qe,{windowsSize:n,children:ie}),me&&T!=null?t.jsx(He,{color:T.color,bgColor:T.bgColor,borderColor:T.borderColor,children:T.value}):null]}),e.createdBy?.userId!=null?t.jsx(Ge,{windowSize:n,children:`By ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,P?.code!=null?t.jsx(qe,{windowSize:n,children:t.jsx(Ne,{progressSectionObj:P,createDate:e.remiDetails?.createTime,paymentDate:re,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:U})}):null,N?t.jsx(Be,{variant:"warning",style:{margin:`${r.sp3} ${r.sp8} ${r.sp3} ${r.sp6}`},title:E.duplicateWarning.title,description:E.duplicateWarning.description}):ke?t.jsxs(Oe,{size:n,children:[t.jsx(Ve,{}),t.jsxs(Ke,{children:[t.jsx(Fe,{children:i.thereSeems}),t.jsx(Ue,{children:i.pleaseFind})]})]}):null]}):null,t.jsxs(hi,{windowSize:n,ref:ze=>{ze!=null&&(we.current[`L${l.lineId}`]=ze)},children:[n!=="small"?t.jsx(ui,{children:t.jsx(yi,{children:I.length>1?`#${o+1} ${i.reimbursement}`:i.reimbursement})}):null,t.jsxs(bi,{windowSize:n,children:[j?.duplicateLineId!=null?t.jsxs(mi,{children:[i.thisExpenseReview," ",t.jsx(pi,{onClick:()=>{if(j.isDuplicateWithinTransaction&&j.duplicateLineId!=null)return xe(`L${j.duplicateLineId}`);j.duplicateTransactionId!=null&&j.duplicateLineId!=null&<(j.duplicateTransactionId,j.duplicateLineId)},"data-testid":f("remi-view-duplicate-expense"),children:i.viewOriginalExpense})]}):null,t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({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:{...y,entityType:`reimbursement.details.${x("reimbursementType",o,l.type===i.mileageKey?"mileage":"out_of_pocket")}`},style:{borderRadius:j?.duplicateLineId==null?`${r.sp2} ${r.sp2} 0 0`:"0 0 0 0"},children:t.jsx(g,{label:{label:i.reimbursementType,width:R},text:l.type===i.mileageKey?i.mileage:i.outOfPocket,style:{width:"auto",borderRadius:j?.duplicateLineId==null?`${r.sp2} ${r.sp2} 0 0`:"0 0 0 0"}})}),t.jsx(v,{}),l.type===i.mileageKey?t.jsxs(t.Fragment,{children:[t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("transactionDate",o,"mileage")}`},children:t.jsx(g,{label:{label:i.transactionDate,width:R},text:l.transactionDate?.format($e.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.distanceInMiles`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("distanceInMiles",o,"mileage")}`},children:t.jsx(g,{label:{label:i.distanceInMiles,width:R},text:l.distanceMileage.value.toString()??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("amount",o,"mileage")}`},children:t.jsx(g,{label:{label:i.amount,width:S},text:l.homeCurrencyConversions!=null?_e("0,0[.]00",l.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("memo",o,"mileage")}`},children:t.jsx(g,{label:{label:i.memo,width:S},text:l.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("class",o,"mileage")}`},children:t.jsx(g,{label:{label:i.department,width:S},text:l.lineDetail.class?.className??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.customer`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("customer",o,"mileage")}`},style:{borderRadius:`0 0 ${r.sp2} ${r.sp2}`},children:t.jsx(g,{label:{label:i.customer,width:S},text:l.lineDetail.customer?.name??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${r.sp2} ${r.sp2}`}})})]}):t.jsxs(t.Fragment,{children:[t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({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:{...y,entityType:`reimbursement.details.${x("merchant",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.merchant,width:R},text:l.merchant?.name??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({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:{...y,entityType:`reimbursement.details.${x("transactionDate",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.transactionDate,width:R},text:l.transactionDate?.format($e.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({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:{...y,entityType:`reimbursement.details.${x("amount",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.amount,width:S},text:l.homeCurrencyConversions!=null?_e("0,0[.]00",l.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({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:{...y,entityType:`reimbursement.details.${x("memo",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.memo,width:S},text:l.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({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:{...y,entityType:`reimbursement.details.${x("account",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.category,width:S},text:l.lineDetail.account?.accountName??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({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:{...y,entityType:`reimbursement.details.${x("class",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.department,width:S},text:l.lineDetail.class?.className??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.customer`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("customer",o,"out_of_pocket")}`},style:{borderRadius:`0 0 ${r.sp2} ${r.sp2}`},children:t.jsx(g,{label:{label:i.customer,width:S},text:l.lineDetail.customer?.name??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${r.sp2} ${r.sp2}`}})})]})]})]}),I.length!==1&&I.length===o+1&&t.jsxs(_i,{windowSize:n,children:[t.jsxs(Xe,{windowSize:n,children:[t.jsx(Ze,{children:i.total}),t.jsx(Le,{amount:je,integerStyles:H.h6Regular.cssObject,decimalStyles:H.standardRegular.cssObject})]}),e.remiDetails&&t.jsx(We,{amount:Se,activities:e.remiActivities,stage:O?.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:_,signedInUserId:se?.userId,showRealTimeApproval:ce,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:pe,onSaveRealTimeApprovals:ue},historicActivities:e.remiHistory.activities})]})]})]},l.lineId)}),I.length===1&&t.jsxs(et,{windowSize:n,children:[t.jsx(Ye,{}),t.jsxs(di,{windowSize:n,children:[t.jsx(Ni,{windowSize:n,children:t.jsxs(Xe,{windowSize:n,children:[t.jsx(Ze,{children:i.total}),t.jsx(Le,{amount:je,integerStyles:H.h6Regular.cssObject,decimalStyles:H.standardRegular.cssObject})]})}),e.remiDetails&&t.jsx(ci,{windowSize:n,children:t.jsx(We,{amount:Se,activities:e.remiActivities,stage:O?.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:_,signedInUserId:se?.userId,showRealTimeApproval:ce,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:pe,onSaveRealTimeApprovals:ue}})})]})]}),t.jsx(Oi,{})]}),Te||U===!0?null:t.jsxs(Di,{children:[n!=="small"?t.jsx(Ye,{}):null,t.jsx(wi,{windowSize:n,"data-testid":f("remi-detail-page-footer"),onClick:l=>{l.stopPropagation(),J===!0&&Q(!1)},children:t.jsx(Et,{separatorStyle:{marginRight:r.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"?(ee("delete"),Ie()):(ee("rejected"),X(!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():(ee("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(gi,{children:t.jsxs(Ii,{windowSize:n,children:[!N&&J?t.jsx(Ot,{onClickAway:()=>Q(!1),children:t.jsxs(ji,{windowSize:n,children:[ae!=="processing"?t.jsx(le,{onClick:Ie,"data-testid":f("remi-delete-action"),children:i.buttons.deleteReport}):null,ae==="processing"?t.jsx(le,{onClick:()=>{te({title:i.cancelReportTitle,description:i.cancelAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),M(!0)},"data-testid":f("remi-cancel-action"),children:i.buttons.cancel}):null,ae==="processing"?t.jsx(le,{onClick:()=>{te({title:i.cancelAndDeleteReportTitle,description:i.cancelAndDeleteAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),M(!0)},"data-testid":f("remi-cancel-and-delete-action"),children:i.buttons.cancelAndDelete}):null]})}):null,t.jsxs(Ti,{windowSize:n,children:[!N&&Ce?t.jsx($i,{onClick:De,"data-testid":f("remi-edit-button"),children:t.jsx(vi,{})}):null,N||St!==!0?null:t.jsx(fi,{windowSize:n,showEditIcon:Ce,children:t.jsx(xi,{onClick:()=>Q(!J),"data-testid":f("remi-more-actions-button")})})]})]})}),style:{minHeight:62}})})]}),p?t.jsx(Ft,{isDrawerOpen:ht,allowComposer:!0,drawerTitle:bt,threads:B,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:k?.companyId??ve,isGlobalComment:!1,tab:"reimbursement"},isLoading:C,threadMetadata:k?{companyName:k.companyName,companyId:k.companyId,entityId:k.entityId,entityType:k.entityType,isGlobalComment:!1,application:"dashboard",tab:"reimbursement",url:window.location.href}:void 0,textOverrides:{composerPlaceholder:gt,replyComposerPlaceholder:wt,threadResolve:xt,threadUnResolve:ft},onThreadClick:(l,o)=>Ct(l,o),onCloseAllThreadsDrawer:()=>W(!1),drawerSectionStyle:{width:"400px",backgroundColor:ge.colors.background}}):null]})},lr=e=>{const $=tt().currentTenant?.companyId,z=e.remiDetails.remiDetails?.id;if(!e.isReimbursementCommentingEnabled||z==null||$==null)return t.jsx(Ee,{...e});const _=`dashboard_${$}`;return t.jsx(kt,{roomId:_,filter:{application:"dashboard",companyId:$,entityId:z,tab:"reimbursement",isGlobalComment:!1},children:t.jsx(Ee,{...e})})},si=e=>{const $=it.getLocalizedStrings().spendManagement.billPay.billsByTabs;if(e?.isDeleted===!0)return{value:$.tabsById.deleted,color:ne.deleted.color,bgColor:ne.deleted.bgColor,borderColor:ne.deleted.borderColor,code:"deleted"}},di=a.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
width: ${e=>s.rightSectionWidth.valuePercentage(e.windowSize)};
|
|
5
|
-
`,ci=a.div`
|
|
6
|
-
margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
|
|
7
|
-
margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
|
|
8
|
-
margin-bottom: ${e=>s.activityBottomMargin.valuePx(e.windowSize)};
|
|
9
|
-
`,mi=a(Yt)`
|
|
10
|
-
padding: ${r.sp2} ${r.sp0} ${r.sp2} ${r.sp4};
|
|
11
|
-
background-color: ${Y.alertLight};
|
|
12
|
-
color: ${Y.brandColorGoldDark};
|
|
13
|
-
border-top-left-radius: inherit;
|
|
14
|
-
border-top-right-radius: inherit;
|
|
15
|
-
`,pi=a.span`
|
|
16
|
-
border-bottom: 1px solid currentColor;
|
|
17
|
-
cursor: pointer;
|
|
18
|
-
`,Oe=a.div`
|
|
19
|
-
display: flex;
|
|
20
|
-
gap: ${r.sp2};
|
|
21
|
-
padding: ${r.sp3};
|
|
22
|
-
border-radius: ${r.sp2};
|
|
23
|
-
align-items: start;
|
|
24
|
-
margin-top: ${e=>s.duplicateBannerWrapperMarginTop.valuePx(e.size)};
|
|
25
|
-
margin-right: ${e=>s.duplicateBannerWrapperMarginRight.valuePx(e.size)};
|
|
26
|
-
margin-bottom: ${e=>s.duplicateBannerWrapperMarginBottom.valuePx(e.size)};
|
|
27
|
-
margin-left: ${e=>s.duplicateBannerWrapperMarginLeft.valuePx(e.size)};
|
|
28
|
-
background-color: ${Y.alertLight};
|
|
29
|
-
border: 1px solid ${e=>e.theme.colors.brandColorGoldDark};
|
|
30
|
-
`,Fe=a(Zt)`
|
|
31
|
-
color: ${e=>e.theme.colors.brandColorGoldDark};
|
|
32
|
-
`,Ke=a.div`
|
|
33
|
-
width: 100%;
|
|
34
|
-
`,Ue=a(rt)`
|
|
35
|
-
color: ${e=>e.theme.colors.brandColorGoldDark};
|
|
36
|
-
`,Ve=a(ei)`
|
|
37
|
-
width: ${r.sp4};
|
|
38
|
-
height: ${r.sp4};
|
|
39
|
-
color: ${Y.brandColorGoldDark};
|
|
40
|
-
`,Ge=a(rt)`
|
|
41
|
-
margin-bottom: ${e=>s.bottomMargin.valuePx(e.windowSize)};
|
|
42
|
-
margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
|
|
43
|
-
margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
|
|
44
|
-
color: ${e=>e.theme.colors.primary};
|
|
45
|
-
`,ui=a.div`
|
|
46
|
-
display: flex;
|
|
47
|
-
justify-content: space-between;
|
|
48
|
-
`,hi=a.div`
|
|
49
|
-
margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
|
|
50
|
-
margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
|
|
51
|
-
`,yi=a(at)`
|
|
52
|
-
color: ${e=>e.theme.colors.primary};
|
|
53
|
-
margin-bottom: ${r.sp3};
|
|
54
|
-
`,bi=a.div`
|
|
55
|
-
display: flex;
|
|
56
|
-
flex-direction: column;
|
|
57
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
58
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
59
|
-
box-shadow: ${e=>`${r.sp0} 2px ${r.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
60
|
-
border-radius: ${r.sp2};
|
|
61
|
-
margin-bottom: ${e=>s.formBottomMargin.valuePx(e.windowSize)};
|
|
62
|
-
z-index: 3;
|
|
63
|
-
`,gi=a.div`
|
|
64
|
-
display: flex;
|
|
65
|
-
justify-content: flex-end;
|
|
66
|
-
`,wi=a.div`
|
|
67
|
-
width: ${e=>s.rightSectionWidth.valuePercentage(e.windowSize)};
|
|
68
|
-
`,xi=a(Xt)`
|
|
69
|
-
cursor: pointer;
|
|
70
|
-
color: ${e=>e.theme.colors.hero};
|
|
71
|
-
width: ${r.sp5};
|
|
72
|
-
height: ${r.sp5};
|
|
73
|
-
&:hover {
|
|
74
|
-
color: ${e=>e.theme.colors.primary};
|
|
75
|
-
}
|
|
76
|
-
`,fi=a.div`
|
|
77
|
-
display: flex;
|
|
78
|
-
margin-left: ${e=>e.windowSize==="small"?e.showEditIcon===!0?r.sp3:r.sp4:r.sp5};
|
|
79
|
-
cursor: pointer;
|
|
80
|
-
color: ${e=>e.theme.colors.grey1};
|
|
81
|
-
&:hover {
|
|
82
|
-
color: ${e=>e.theme.colors.primary};
|
|
83
|
-
}
|
|
84
|
-
`,vi=a(Qt)`
|
|
85
|
-
cursor: pointer;
|
|
86
|
-
color: ${e=>e.theme.colors.hero};
|
|
87
|
-
width: ${r.sp5};
|
|
88
|
-
height: ${r.sp5};
|
|
89
|
-
&:hover {
|
|
90
|
-
color: ${e=>e.theme.colors.primary};
|
|
91
|
-
}
|
|
92
|
-
`,$i=a.div`
|
|
93
|
-
display: flex;
|
|
94
|
-
cursor: pointer;
|
|
95
|
-
color: ${e=>e.theme.colors.grey1};
|
|
96
|
-
margin-left: ${r.sp4};
|
|
97
|
-
&:hover {
|
|
98
|
-
color: ${e=>e.theme.colors.primary};
|
|
99
|
-
}
|
|
100
|
-
`,He=a(at)`
|
|
101
|
-
display: flex;
|
|
102
|
-
color: ${e=>e.borderColor};
|
|
103
|
-
align-items: center;
|
|
104
|
-
justify-content: flex-end;
|
|
105
|
-
margin-left: ${r.sp3};
|
|
106
|
-
padding: 1px 6px 1px 6px;
|
|
107
|
-
border: ${e=>`1px solid ${e.borderColor}`};
|
|
108
|
-
border-radius: ${r.sp1};
|
|
109
|
-
min-width: fit-content;
|
|
110
|
-
max-width: fit-content;
|
|
111
|
-
`,Ti=a.div`
|
|
112
|
-
display: flex;
|
|
113
|
-
justify-content: center;
|
|
114
|
-
align-items: center;
|
|
115
|
-
`,ji=a.div`
|
|
116
|
-
display: flex;
|
|
117
|
-
width: max-content;
|
|
118
|
-
align-items: center;
|
|
119
|
-
justify-content: center;
|
|
120
|
-
flex-direction: column;
|
|
121
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
122
|
-
color: ${e=>e.theme.colors.hero};
|
|
123
|
-
cursor: pointer;
|
|
124
|
-
padding-top: ${r.sp1};
|
|
125
|
-
padding-bottom: ${r.sp1};
|
|
126
|
-
position: absolute;
|
|
127
|
-
bottom: ${e=>s.otherActionsContainerBottom.valuePx(e.windowSize)};
|
|
128
|
-
z-index: 3;
|
|
129
|
-
border: ${e=>`1px solid ${e.theme.colors.grey3}`};
|
|
130
|
-
border-radius: ${r.sp1};
|
|
131
|
-
right: ${e=>s.right.valuePx(e.windowSize)};
|
|
132
|
-
box-shadow: ${e=>`${r.sp0} 2px ${r.sp1} ${e.theme.colors.grey1} 3D`};
|
|
133
|
-
`,Si=a.div`
|
|
134
|
-
position: fixed;
|
|
135
|
-
top: 0;
|
|
136
|
-
left: 42vw;
|
|
137
|
-
width: 100%;
|
|
138
|
-
height: 100vh;
|
|
139
|
-
background: transparent;
|
|
140
|
-
box-shadow: 0 2px ${r.sp1} ${({theme:e})=>e.colors.dropShadowNormal};
|
|
141
|
-
pointer-events: none;
|
|
142
|
-
z-index: 1;
|
|
143
|
-
`,Ii=a.div`
|
|
144
|
-
width: auto;
|
|
145
|
-
justify-content: flex-end;
|
|
146
|
-
position: ${e=>e.windowSize==="small"?"static":"relative"};
|
|
147
|
-
right: ${e=>s.actionsContainerRight.valuePx(e.windowSize)};
|
|
148
|
-
height: 100%;
|
|
149
|
-
display: flex;
|
|
150
|
-
`,le=a(Jt)`
|
|
151
|
-
display: flex;
|
|
152
|
-
align-items: center;
|
|
153
|
-
width: 100%;
|
|
154
|
-
padding-left: ${r.sp3};
|
|
155
|
-
padding-right: ${r.sp3};
|
|
156
|
-
height: ${r.sp6};
|
|
157
|
-
box-sizing: border-box;
|
|
158
|
-
&:hover {
|
|
159
|
-
background-color: ${e=>e.theme.colors.background};
|
|
160
|
-
}
|
|
161
|
-
`,Di=a.div`
|
|
162
|
-
display: flex;
|
|
163
|
-
width: 100%;
|
|
164
|
-
position: sticky;
|
|
165
|
-
bottom: 0;
|
|
166
|
-
z-index: 2;
|
|
167
|
-
`,Ci=a.div`
|
|
168
|
-
min-height: ${e=>s.navBarHeight.valuePx(e.windowSize)};
|
|
169
|
-
height: ${e=>s.navBarHeight.valuePx(e.windowSize)};
|
|
170
|
-
display: flex;
|
|
171
|
-
align-items: center;
|
|
172
|
-
width: 100%;
|
|
173
|
-
justify-content: space-between;
|
|
174
|
-
position: fixed;
|
|
175
|
-
z-index: 4;
|
|
176
|
-
`,ki=a(Kt)`
|
|
177
|
-
color: ${e=>e.theme.colors.brandColorJade};
|
|
178
|
-
cursor: pointer;
|
|
179
|
-
width: ${r.sp4};
|
|
180
|
-
height: ${r.sp4};
|
|
181
|
-
`,v=a.div`
|
|
182
|
-
display: flex;
|
|
183
|
-
flex: 1;
|
|
184
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
185
|
-
min-height: 1px;
|
|
186
|
-
max-height: 1px;
|
|
187
|
-
`,zi=a(Vt)`
|
|
188
|
-
cursor: pointer;
|
|
189
|
-
width: ${r.sp4};
|
|
190
|
-
height: ${r.sp4};
|
|
191
|
-
float: right;
|
|
192
|
-
color: ${e=>e.theme.colors.hero};
|
|
193
|
-
&:hover {
|
|
194
|
-
color: ${e=>e.theme.colors.primary};
|
|
195
|
-
}
|
|
196
|
-
`,Ai=a.div`
|
|
197
|
-
margin-top: ${e=>s.closeMarginTop.valuePx(e.windowSize)};
|
|
198
|
-
display: flex;
|
|
199
|
-
float: right;
|
|
200
|
-
`,Mi=a.div`
|
|
201
|
-
display: flex;
|
|
202
|
-
align-items: center;
|
|
203
|
-
justify-content: center;
|
|
204
|
-
position: relative;
|
|
205
|
-
cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
|
|
206
|
-
color: ${e=>e.theme.colors.hero};
|
|
207
|
-
&:hover {
|
|
208
|
-
color: ${e=>e.theme.colors.primary};
|
|
209
|
-
}
|
|
210
|
-
`,Ri=a(Ut)`
|
|
211
|
-
display: flex;
|
|
212
|
-
width: ${r.sp4};
|
|
213
|
-
height: ${r.sp4};
|
|
214
|
-
align-items: center;
|
|
215
|
-
justify-content: center;
|
|
216
|
-
`,Pi=a.div`
|
|
217
|
-
margin-top: ${e=>s.closeMarginTop.valuePx(e.size)};
|
|
218
|
-
margin-left: ${r.sp5};
|
|
219
|
-
`,Bi=a.div`
|
|
220
|
-
display: flex;
|
|
221
|
-
flex-direction: column;
|
|
222
|
-
width: 100vw;
|
|
223
|
-
background: -webkit-linear-gradient(
|
|
224
|
-
to right,
|
|
225
|
-
${e=>e.theme.colors.background} 42%,
|
|
226
|
-
${e=>e.theme.colors.grey4} 42%
|
|
227
|
-
);
|
|
228
|
-
background: -moz-linear-gradient(
|
|
229
|
-
to right,
|
|
230
|
-
${e=>e.theme.colors.background} 42%,
|
|
231
|
-
${e=>e.theme.colors.grey4} 42%
|
|
232
|
-
);
|
|
233
|
-
background: -o-linear-gradient(
|
|
234
|
-
to right,
|
|
235
|
-
${e=>e.theme.colors.background} 42%,
|
|
236
|
-
${e=>e.theme.colors.grey4} 42%
|
|
237
|
-
);
|
|
238
|
-
background: linear-gradient(
|
|
239
|
-
to right,
|
|
240
|
-
${e=>e.theme.colors.background} 42%,
|
|
241
|
-
${e=>e.theme.colors.grey4} 42%
|
|
242
|
-
);
|
|
243
|
-
${e=>e.windowSize==="small"&&`
|
|
244
|
-
background: ${e.theme.colors.grey4};
|
|
245
|
-
`}
|
|
246
|
-
height: 100vh;
|
|
247
|
-
overflow: scroll;
|
|
248
|
-
`,Ye=a.div`
|
|
249
|
-
width: 42%;
|
|
250
|
-
`,Ni=a.div`
|
|
251
|
-
margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
|
|
252
|
-
margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
|
|
253
|
-
`,qe=a.div`
|
|
254
|
-
margin-bottom: ${e=>s.bottomMargin.valuePx(e.windowSize)};
|
|
255
|
-
margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
|
|
256
|
-
margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
|
|
257
|
-
`,Je=a.div`
|
|
258
|
-
display: flex;
|
|
259
|
-
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
260
|
-
align-items: ${e=>e.windowSize==="small"?"unset":"center"};
|
|
261
|
-
margin-top: ${e=>s.topMargin.valuePx(e.windowSize)};
|
|
262
|
-
margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
|
|
263
|
-
margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
|
|
264
|
-
width: ${e=>e.windowSize==="small"?"fit-content":"unset"};
|
|
265
|
-
`,Qe=a(Ht)`
|
|
266
|
-
flex-grow: 1;
|
|
267
|
-
${e=>`${li.formTitle.style(e.windowsSize)}`};
|
|
268
|
-
color: ${e=>e.theme.colors.primary};
|
|
269
|
-
word-break: break-all;
|
|
270
|
-
`,_i=a.div`
|
|
271
|
-
display: flex;
|
|
272
|
-
flex-direction: column;
|
|
273
|
-
margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
|
|
274
|
-
margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
|
|
275
|
-
`,Xe=a.div`
|
|
276
|
-
padding: ${r.sp3};
|
|
277
|
-
display: flex;
|
|
278
|
-
align-items: center;
|
|
279
|
-
justify-content: center;
|
|
280
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
281
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
282
|
-
border-radius: ${r.sp2};
|
|
283
|
-
color: ${e=>e.theme.colors.hero};
|
|
284
|
-
margin-bottom: ${e=>s.totalBottomMargin.valuePx(e.windowSize)};
|
|
285
|
-
justify-content: space-between;
|
|
286
|
-
`,Ze=a(qt)`
|
|
287
|
-
display: flex;
|
|
288
|
-
width: 176px;
|
|
289
|
-
color: ${e=>e.theme.colors.primary};
|
|
290
|
-
`,Li=a.div`
|
|
291
|
-
display: flex;
|
|
292
|
-
flex-direction: column;
|
|
293
|
-
width: ${e=>s.rightSectionWidth.valuePercentage(e.windowSize)};
|
|
294
|
-
`,et=a.div`
|
|
295
|
-
display: flex;
|
|
296
|
-
width: 100%;
|
|
297
|
-
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
298
|
-
align-items: ${e=>e.windowSize==="small"?"center":"flex-start"};
|
|
299
|
-
`,Wi=a.div`
|
|
300
|
-
width: ${e=>s.leftSectionWidth.valuePercentage(e.windowSize)};
|
|
301
|
-
`,Ei=a.div`
|
|
302
|
-
background: ${e=>e.theme.colors.grey3};
|
|
303
|
-
border-radius: ${r.sp2};
|
|
304
|
-
margin-top: ${e=>s.topMargin.valuePx(e.windowSize)};
|
|
305
|
-
margin-left: ${e=>s.invoiceLeftMargin.valuePx(e.windowSize)};
|
|
306
|
-
margin-right: ${e=>s.invoiceRightMargin.valuePx(e.windowSize)};
|
|
307
|
-
margin-bottom: ${e=>e.bottomSeperator===!0&&e.windowSize!=="small"?"107px":r.sp5};
|
|
308
|
-
`,Oi=a.div`
|
|
309
|
-
display: flex;
|
|
310
|
-
flex-direction: column;
|
|
311
|
-
height: ${r.sp11};
|
|
312
|
-
`,Fi=a.div`
|
|
313
|
-
margin-top: 78px;
|
|
314
|
-
`;export{lr as default};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import{j as i}from"./pdf-BrZAvZ1o.js";import{j as z,i as ne,h as G,l as V,u as B,N as F,k as H,g as Xe,R as Je,m as E}from"./core-C_Me9Mw3.js";import{ct as N,LO as ae,bE as se,ye as ke,gW as Ye,LP as et,bm as ie,dp as ve,LQ as tt,I9 as nt,Ia as de,Ib as at,fI as st,L4 as it,fX as rt,y2 as ot,pc as mt,fP as lt,yO as Ae,LR as Ce,LS as ct,LT as ut,LU as dt,LV as pt,yr as bt,LW as gt,yy as pe,g1 as ht,Ld as St,ys as ft,yc as yt,LX as It,yb as Rt,LY as kt,yk as be,yC as vt,yB as At,yx as Ct,yq as Et,LZ as Ee,Dr as Bt,bn as xt,yn as Tt,z4 as wt,L_ as Dt,L$ as jt,yK as Lt,yH as ge,Kz as Ft,y9 as Ut,M0 as Be,zt as he,zB as Mt,M1 as Pt,M2 as _,M3 as _t,M4 as xe,M5 as $t,M6 as Te,M7 as we,yW as Y,bq as Nt,G5 as re,bL as oe,cA as De,cy as je,M8 as Ot,eg as Gt,KM as zt,M9 as Ht,Ma as Le,KQ as Zt,Ly as Wt,Mb as Vt,LN as Kt,zy as Se,zx as qt,Mc as Qt,Md as Xt,Me as Jt,Mf as Yt,Mg as en,Lj as tn,zo as nn,zs as an,bt as sn,FX as rn,FY as on,F5 as mn,F4 as ln,Hb as cn,bM as un,bO as dn,bN as pn,bK as bn}from"./zeni-epic-state-ChDcaYf9.js";import{y as K,N as Fe,aE as q,aG as k,js as j,jQ as Z,o as me,bk as Q,jz as v,lA as gn,kv as Ue,jO as $,lB as hn,_ as X,lC as Sn,e as fn,k2 as yn,x as In,J as Me,O as Rn,k9 as kn,l4 as vn,k4 as An,lD as Cn,kc as En}from"./index-C-nTPjDF.js";import{n as Pe,S as Bn}from"./mui-BOwjqiG-.js";import ee from"./NotFoundScreen-BqSwug0q.js";import{S as fe}from"./SetupPagesScreen-BnPwIkkt.js";import{F as _e}from"./FeaturePreviewScreen-DQcCElpb.js";import{a as y}from"./sentry-Dd2vHz0L.js";import{u as $e}from"./useInitialThreadRequest-BVrIa_dM.js";import{D as xn}from"./DrawerScreen-DafCGXWd.js";import{M as Ne}from"./MobileAppDrawer-C3iQUfEm.js";import{R as Tn}from"./ReimbursementApprovalRoutes-CxEK4FbL.js";import{FallBackRoute as wn}from"./ScreenRoutes-DEwLetNK.js";import"./lottie-DyM2Y4mu.js";import"./liveblocks-WO1k1bbB.js";import"./recharts-B22vzlMp.js";import"./dnd-BRZ99wCN.js";import"./analytics-CkXlMwul.js";import"./plaid-CyY87P8r.js";import"./utils-CInzYuJw.js";import"./analyticsHelper-CgnSazAa.js";import"./routePaths-DWpG5fXY.js";import"./BusinessVerificationPageScreen-B2ubg6bo.js";import"./ReimbursementApprovalRuleDetailScreen-CiFU9_Ue.js";import"./getLocaleForTenant-DSHteTEt.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]="e3fb9552-8662-4f9a-b5d2-3372c361d0d3",e._sentryDebugIdIdentifier="sentry-dbid-e3fb9552-8662-4f9a-b5d2-3372c361d0d3")}catch{}})();const Oe=e=>`/${e}/reimbursements`,Dn=H(function(e,t){const n=t.currentTenant?.companyId,o=et(e.plaidAccountViewState,"user_reimbursement_account"),l=j.getSignedInUser(),u=ie(l),c=o.plaidConnectionDetails,r=ve(e.companyState,n),a=e.tenantState.currentTenantId,s={userId:l?.userId??"",sessionId:l?.zeniSessionId??"",tenantId:a??""},m=ae(e,t.reimbursementId),d=tt(e,l?.userId??"");let I=`${l?.firstName} ${l?.lastName}`,g=!0;t.reimbursementId!=null&&(I=`${m.createdBy?.firstName??"Zeni"} ${m.createdBy?.lastName??""}`,g=l?.userId===m.createdBy?.userId);const x=e.entityAutoCompleteState?.autoCompleteText?.common,p=nt(e,"common");return{remiDetails:m,uploadInvoiceEndPoint:`${Ue.communicationAgentMicroServiceBaseUrl}`,reimbursementId:t.reimbursementId,customerSearchAutoCompleteData:{autoCompleteText:x,entityAutoCompleteView:p},authParams:s,defaultCurrency:{currencySymbol:r?.company.companyLocaleInfo.currencySymbol??"$",currencyCode:r?.company.companyLocaleInfo.currencyCode??"USD"},companyMileageConfigInfo:r?.company.configInfo.mileageRateConfig,createdBy:I,isUserAdmin:se(t.currentTenant?.userRole??[]),isZeniUser:u,plaidConnectionDetails:c,bankNameByRouting:m.bankNameByRouting,bankAccountCreationState:d.bankAccountCreationState,bankAccounts:d.bankAccounts,analytics:v,bankAccountToCreate:m.bankAccountToCreate,fetchBankNameByRoutingStatus:m.fetchBankNameByRoutingStatus,isSignedInUserReimbursementCreator:g}},function(e,t){const{reimbursementId:n,currentTenant:o,location:l,navigate:u,themeState:c}=t,{tenantEmailDomain:r}=o,a=j.getSignedInUser();return{onReceiptsUpload:(s,m,d)=>{s!=null&&e(Et(s,m,d,n,a?.userId))},onExistingMerchantChange:(s,m)=>{e(be(!1,m,n,s,void 0))},fetchDuplicateReimbursement:()=>{a?.userId!=null&&e(Ct(a.userId,!0,n))},clearDuplicateReimbursementDetail:()=>{e(At())},clearRemiSaveStatus:()=>{e(vt("Not-Started",n))},onDuplicateLineClick:(s,m)=>window.open(`/${r}/reimbursement/${s}#L${m}`),onNewMerchantChange:(s,m)=>{e(be(!1,m,n,void 0,s))},removeFileFromLine:s=>{e(kt({lineId:s,reimbursementId:n}))},onAmountChanged:(s,m)=>{e(Rt(m,s,n))},updateReimbursementType:(s,m,d)=>{e(It({reimbursementId:d,lineId:m,reimbursementType:s}))},onHomeCurrencyConversionUpdate:(s,m,d)=>{e(yt({reimbursementId:d,lineId:m,amountPayload:{amount:s.amount,currency_code:s.currencyCode,currency_symbol:s.currencySymbol}}))},onReimbursementDetailsChanged:s=>{e(ft({remiDetailLocalData:s,reimbursementId:n}))},saveRemiDetails:s=>{e(pe(s,!1,n))},onUserBankDetailsUpdated:s=>{const{bankAccountSection:m}=s;e(St({data:m}))},onFetchBankName:s=>{e(ht(s))},submitRemiDetails:()=>{e(pe("pending_approval",!0,n))},discardReimbursementDetailsFromLocalStore:s=>{e(gt({reimbursementId:s}))},updateInvoiceUploadFetchState:s=>{e(bt({reimbursementId:n,fetchState:s}))},clearTentativeNameForLine:s=>{e(pt({reimbursementId:n,lineId:s}))},removeDuplicateReimbursementForLine:s=>{e(dt({lineId:s}))},onZeniLogoClick:()=>{c.toggle()},clearAddRemiAutoFields:s=>{e(ut({reimbursementId:n,lineId:s}))},redirectToReimbursementListScreen:()=>{e(Ce()),e(ct());const s=Oe(r),m=$(l.state?.pathnameStackToGoBack,l.pathname);u(s,{state:{pathnameStackToGoBack:m}})},redirectToReimbursementDetailScreen:()=>{t.navigate("../")},deleteReimbursement:()=>{n!=null&&(v.trackReimbursementDeleteReimbursement(n),e(Ae(n)))},onSaveBankAccount:()=>{a?.userId&&e(lt(a?.userId,n))},onFetchLinkTokenClick:s=>{e(mt("user_reimbursement_account",s))},onEstablishConnectionClick:s=>{e(ot(s,o.companyId,"user_reimbursement_account",void 0,"link_account_no_microdeposit"))},deleteBankAccount:s=>{e(rt(s,a?.userId??""))},onBackClickFromBankAccountPage:()=>{e(st({fetchState:"Not-Started"})),e(it())},customerSearchAutoCompleteActions:{onAutoCompleteInputChange:(s,m)=>{s.trim().length>=2?e(at({searchString:s,entityType:m,searchOrigin:"common"})):e(de("common"))},onCancelAutoComplete:()=>{e(de("common"))}}}})(gn);function ye(){const e=z(),t=ne(),n=G(),{reimbursementId:o}=V(),l=K(),u=Fe(),{useFeatureGate:c}=q(),{isFeatureEnabled:r}=c(k.isLimitedCategoryForReimbursement),{isFeatureEnabled:a}=c(k.isShowDeletedReimbursementsFeatureEnabled),{isFeatureEnabled:s}=c(k.isReimbursementCommentingEnabled),m=G().pathname,d=m.includes("edit"),I=m.includes("reimbursement/new"),[g,x]=y.useState(!1),p=j.getSignedInUser(),A=B(h=>N(h)),b=B(h=>ae(h,o)),f=$e(A?.companyId,{clearParams:b.fetchState==="Completed"}),T=se(A?.userRole??[]);y.useEffect(()=>{(I&&!g||d&&b.fetchState!="Completed"&&b.fetchState!="In-Progress")&&(x(!0),t(ke(!1,r,a,o)))});const R=B(h=>Ye(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"||T&&b.billStatus==="rejected"||T===!1&&b.billStage==="pending_approval"&&b.billStatus!=="rejected"?i.jsx(F,{to:w}):b.deleteStatus.fetchState==="In-Progress"||b.fetchState!=="Completed"?i.jsx(Z,{style:{backgroundColor:l.colors.grey5,boxShadow:`0px 2px ${me.sp1} ${l.colors.dropShadowNormal}`},fetchState:b.deleteStatus.fetchState}):i.jsxs(i.Fragment,{children:[i.jsx(Q,{analytics:v,onLoad:h=>(D=>{o!=null&&b.deleteStatus.fetchState!=="Completed"&&D.trackReimbursementEditReimbursement(o)})(h)}),i.jsx(Dn,{initialOpenThreadRequest:f??void 0,isReimbursementCommentingEnabled:s,location:n,navigate:e,currentTenant:A,reimbursementId:o,themeState:u,uncategorizedAccounts:R})]})}const jn=H(function(e,t){const n=Ee(e,t.reimbursementId),o=j.getSignedInUser(),l=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=Dt(n.remiActivities,jt(t.currentTenant),o));const s=se(t.currentTenant?.userRole??[]),m=o?.userId===n.createdBy?.userId;return{remiDetails:n,uploadInvoiceEndPoint:`${Ue.communicationAgentMicroServiceBaseUrl}`,authParams:c,signedInUser:o,createdBy:r,isRealTimeApprovalEnabled:t.isRealTimeApprovalEnabled,isAdmin:s,showApproveRejectBtns:a,isZeniUser:l,isSignedInUserReimbursementCreator:m}},function(e,t){const{reimbursementId:n,currentTenant:o,location:l,navigate:u,themeState:c}=t,{tenantEmailDomain:r}=o;return{onDuplicateLineClick:(a,s)=>window.open(`/${r}/reimbursement/${a}#L${s}`),redirectToReimbursementListScreen:()=>{e(Ce());const a=Oe(r),s=$(l.state?.pathnameStackToGoBack,l.pathname);u(a,{state:{pathnameStackToGoBack:s}})},onSaveRealTimeApprovals:a=>{e(Ut(n,"reimbursement",a))},updateEditRealTimeApproverClicked:a=>{e(Ft({isEdit:a,entityId:n,entityType:"reimbursement"}))},approveOrRejectRemi:a=>{a.type==="approved"?e(ge(n,a.type,"")):e(ge(n,a.type,a.description??""))},redirectToEditableReimbursementScreen:()=>{const a=$(l.state?.pathnameStackToGoBack,l.pathname);u("./edit",{state:{pathnameStackToGoBack:a}})},deleteReimbursement:()=>{v.trackReimbursementDeleteReimbursement(n),e(Ae(n))},cancelAndDeleteReport:a=>{a===!0?v.trackReimbursementCancelAndDeleteReimbursement(n):v.trackReimbursementCancelReimbursement(n),e(Lt(n,a))},handleZeniLogoClick:()=>{c.toggle()}}})(hn);function Ln(){const e=z(),t=ne(),n=G(),o=n.hash.substring(1),l=Fe(),{reimbursementId:u}=V(),c=j.getSignedInUser(),r=B(C=>N(C)),a=B(C=>Ee(C,u??"")),s=a.remiDetails?.reimbursementInfo.stage.code==="draft",m=$e(r?.companyId,{clearParams:a.fetchState==="Completed"&&!s}),{useFeatureGate:d}=q(),{isFeatureEnabled:I}=d(k.isLimitedCategoryForReimbursement),[g,x]=y.useState(!1),[p,A]=y.useState(!1),[b,f]=y.useState(!1),{isFeatureEnabled:T}=d(k.isReimbursementCommentingEnabled),{isFeatureEnabled:R}=d(k.isShowDeletedReimbursementsFeatureEnabled),w=B(C=>ae(C,u??"")),h=K(),D=Bt(r),P=xt(r.userRole),L=a.fetchState;if(y.useEffect(()=>{g||u==null?g==1&&L==="Error"&&e("page-not-found",{replace:!0}):(x(!0),t(Tt(u,!1,R)))},[g,u,t,L]),y.useEffect(()=>{R&&a.remiDetails?.isDeleted===!0||r.isZeni===!0&&c?.userEmailDomain==="zeni.ai"&&D===!1?f(!1):f(a.remiActivities[0]?.isRealTimeApprovalEnabled&&(P||a.allApprovers.find(C=>C.user.userId===c?.userId)!=null||a.remiDetails?.lastUpdatedBy===c?.userId))},[a.remiActivities[0]?.isRealTimeApprovalEnabled,a.allApprovers,a.remiDetails?.lastUpdatedBy,P,r.isZeni,D,c]),y.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(ke(!1,I,R,u)),a.remiActivities[0]?.isRealTimeApprovalEnabled===!0&&t(wt(!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(Z,{fetchState:a.deleteStatus.fetchState,style:{backgroundColor:h.colors.grey5,boxShadow:`0px 2px ${me.sp1} ${h.colors.dropShadowNormal}`}}):i.jsxs(i.Fragment,{children:[i.jsx(Q,{analytics:v,onLoad:C=>(O=>{u!=null&&O.trackReimbursementReimbursementDetails(u)})(C)}),i.jsx(jn,{initialOpenThreadRequest:m??void 0,scrollId:o,isReimbursementCommentingEnabled:T,isShowDeletedReimbursementEnabled:R,location:n,navigate:e,isRealTimeApprovalEnabled:b,currentTenant:r,reimbursementId:u??"",themeState:l})]})}const Fn=H(function(e,t){return{remisReviewView:Be(e),analytics:t.analytics}},function(e,t){return{onCloseOverlay:()=>{t.navigate("./"),e(_())},onCloseReviewItem:n=>{e(Pt(n))},onProceedForBulkActionClick:(n,o)=>{switch(n){case"send_for_approval":e(Mt());break;case"approve":e(he("approved",o??""));break;case"reject":e(he("rejected",o??""))}}}})(Sn);function Un(){const e=z(),t=B(u=>u.remisBulkActionViewState.bulkSubmissionFetchState.fetchState),{remisForReview:n}=B(u=>Be(u)),o=X(),l=o?.loggedInUserRole?.includes("admin")===!0;return y.useEffect(()=>{t!=="Completed"&&n.length!==0||e("./")},[t,n.length]),i.jsx(Fn,{navigate:e,analytics:v,isAdmin:l})}const M=Zt(),Ge="bulk-operation-update",te="reimbursement-approval-rule-update",{spendManagement:Mn,common:Ie}=Rn.getLocalizedStrings(),Re=Mn.reimbursement.bulkActions,Pn=Pe.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
min-height: 100%;
|
|
4
|
-
width: 100%;
|
|
5
|
-
flex: 1 1 auto;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
align-items: center;
|
|
8
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
9
|
-
`,_n=H(function(e,t){const n=we(e,M,t.isBulkActionEnabled);let o=n.allSubTabs;const l=j.getSignedInUser(),u=ie(l),c=e.tenantState.currentTenantId,r=N(e),a=r?.companyName??"",s={userId:l?.userId??"",sessionId:l?.zeniSessionId??"",tenantId:c??""},m=e.remiListState.downloadUIState.downloadState;t.isShowDeletedReimbursementEnabled===!1&&(o=o.filter(g=>g!=="deleted"));const d=n.fetchState,I=Wt(e);return{transactionList:t.isShowDeletedReimbursementEnabled?n.reimbursements:n.reimbursements.filter(g=>g.isDeleted===!1),isAdmin:t.isAdmin,isZeniUser:u,isBillPayCommentingEnabled:t.isBillPayCommentingEnabled,isReimbursementCommentingEnabled:t.isReimbursementCommentingEnabled,allSubTabs:o,isEmployee:t.isEmployee,currentTab:n.currentTab,currentSubTab:n.currentSubTab,approvalCount:n.approvalCount,fetchState:d,botEmail:n.reimbursementBotEmail,analytics:v,uiState:n.uiState,searchText:n.searchText,filters:n.filters,downloadParams:{authParams:s,companyName:a,timePeriod:M,spendManagementEndPoint:`${An}/spendManagement`,isShowDeletedBillsEnabled:t.isShowDeletedBillsEnabled,isShowDeletedReimbursementEnabled:t.isShowDeletedReimbursementEnabled},downloadState:m,isBulkActionAllowed:n.remiListBulkActionInfo?.isBulkActionAllowed,transactionsSelectedForBulkAction:n.remiListBulkActionInfo?.remisSelectedForBulkAction,allowedBulkActions:n.remiListBulkActionInfo?.allowedBulkActions,remiApprovalRulesAffectedEntityIds:I.affectedEntityIds}},function(e,t){const{navigate:n,currentTenant:o,location:l,period:u}=t,{tenantEmailDomain:c}=o;return{updateTabToState:r=>{e(_()),e(xe(r))},onSubtabChange:r=>{e(_()),e(Te(r))},onTransactionClick:(r,a)=>{const s=On(c,r,a),m=$(l.state?.pathnameStackToGoBack,l.pathname);n(s,{state:{pathnameStackToGoBack:m}})},onClickSetupIcon:()=>{const r=Nn(c),a=$(l.state?.pathnameStackToGoBack,l.pathname);n(r,{state:{pathnameStackToGoBack:a}})},onAddTransactionClick:()=>{const{tenantEmailDomain:r}=t.currentTenant;v?.trackReimbursementNewReimbursement();const a=`/${r}/reimbursement/new`,s=$(t.location.state?.pathnameStackToGoBack,t.location.pathname);t.navigate(a,{state:{pathnameStackToGoBack:s}})},onColumnSortConfigChanged:(r,a)=>{e(en({uiState:{sortKey:r,sortOrder:a},period:t.period}))},onSearchTextChanged:r=>{e(Yt(r))},onFiltersChange:r=>{e(Jt({filters:r})),r.categories.every(a=>a.field!=null&&a.values?.length!==0)&&v.trackSpendManagmentFilterChange("reimbursement",r.categories.map(a=>`${a.field}-${JSON.stringify(a.values)}`))},updateDownloadStateHandler:r=>{r==="In-Progress"&&v.trackSpendManagementDownloadClick("reimbursement"),e(Xt({uiState:{downloadState:r}}))},onReloadTransactions:()=>{e(Y(u,!0,t.isShowDeletedReimbursementEnabled,!1,!0))},onBackClick:()=>{n("../",{relative:"path"})},onNavigateToSettings:()=>{n("../reimbursements/setup")},updateBulkActionList:r=>{e(Qt(r))},removeAllTransactionsFromBulkActionList:()=>{e(_())},onProceedForBulkActionClick:(r,a)=>{switch(r){case"delete":case"cancel":e(qt(r,a??""));break;case"send_for_approval":e(Se("send_for_approval")),t.navigate("./bulk-review");break;case"review":e(Se("approve")),t.navigate("./bulk-review")}},onReimbursementApprovalRulesEventReceived:r=>{r.endsWith(te)&&e(Kt(!1))},onEventReceived:r=>{r===Ge&&e(Vt())}}})(kn(vn));function $n(){const e=z(),t=ne(),n=G(),o=n.state,l=fn(),[u,c]=y.useState(null),r=Xe("/:tenantEmailDomain/reimbursements/bulk-review")!=null;y.useEffect(()=>{if(o?.tab!=null&&o?.subTab!=null){const S=_t(o.tab.toString());S!=null?t(xe(S)):console.log("Warning:Not a valid remiListTab");const U=$t(o.subTab.toString());U!=null?t(Te(U)):console.log("Warning:Not a valid remiListSubTab")}return()=>{t(_())}},[]);const{useFeatureGate:a}=q(),{isFeatureEnabled:s}=a(k.isShowDeletedBillsFeatureEnabled),{isFeatureEnabled:m}=a(k.isShowDeletedReimbursementsFeatureEnabled),{isFeatureEnabled:d}=a(k.isBillPayCommentingEnabled),{isFeatureEnabled:I}=a(k.isReimbursementCommentingEnabled),{isFeatureEnabled:g}=a(k.isReimbursementBulkActionEnabled),x=j.getSignedInUser(),p=B(S=>N(S)),[A,b]=y.useState(!1),[f,T]=y.useState(!1),R=X(),w=R?.loggedInUserRole?.includes("admin")===!0,h=B(S=>we(S,M,g)),{areTenantIdsInSync:D}=yn(),P=h.fetchState;if(y.useEffect(()=>{!f&&D&&(T(!0),t(Y(M,!0,m,!1,!0)))},[f,M,t,D]),x==null)throw Error("Can't access address page without signing in...");const L=!!p?.userRole&&Nt(p),C=re(R?.loggedInUserRoleMap),O=oe(R?.loggedInUserRoleMap),J=!!p.userReimbursementInfo?.isReimbursementTOSAccepted,ze=!!p.companyReimbursementInfo?.info?.isReimbursementEnabled,He=!!p.companyReimbursementInfo?.info?.isReimbursementTOSAccepted,Ze=B(S=>ve(S.companyState,p.companyId)),We=Ze?.company.featuresActivationInfo.connectedAccountProvider,le=S=>{b(S)},{isFeatureEnabled:Ve}=a(k.isDebitCardFeatureEnabled),Ke=De(Ve,p),qe=je(p),{remisProcessed:W,remisProcessing:ce}=B(S=>Ot(S));y.useEffect(()=>{W===ce&&u!=null&&(t(Gt({messageSection:"reimbursement_bulk_processed",messageText:"success",type:"success",showStatusIcon:!0,variables:[{variableName:"_report_",variableValue:W>1?Re.reports:Re.report},{variableName:"_has_",variableValue:W>1?Ie.texts.have:Ie.texts.has},{variableName:"_action_",variableValue:zt(u)}]})),t(Ht()),setTimeout(()=>{t(Y(M,!0,m,!1,!0,!0))},3e3),c(null))},[W,ce]);const Qe={events:p.companyId!=null?[`private-${p.companyId}.${Ge}`,`private-${p.companyId}.${te}`]:[],eventCallback:(S,U,ue)=>{S.endsWith(te)?ue.onReimbursementApprovalRulesEventReceived?.(S):U.entity_type==="reimbursement"&&(c(U.operation_type),ue.onEventReceived(S))}};return n.pathname.endsWith("/reimbursements/")||n.pathname.endsWith("/reimbursements")||n.pathname.endsWith("/reimbursements/bulk-review")?Ke===!0||qe===!0?i.jsx(_e,{}):ze&&(!L||C)||O&&J?i.jsxs(i.Fragment,{children:[P==="Completed"?i.jsx(Q,{analytics:v,onLoad:S=>(U=>U.trackPageLoaded(Me.Event.reimbursementHome))(S)}):null,i.jsx(Ne,{isAppContentDrawerOpen:A,handleDrawerToggle:le}),i.jsxs(Pn,{windowSize:l,children:[i.jsx(xn,{isOpen:r,drawerLeftMargin:new In(0,0,300,600),onClose:()=>{e("./"),t(_())},children:i.jsx(Gn,{onClick:S=>S.stopPropagation(),children:i.jsx(Un,{})})}),i.jsx(_n,{isShowDeletedBillsEnabled:s,isShowDeletedReimbursementEnabled:m,isBillPayCommentingEnabled:d,isReimbursementCommentingEnabled:I,location:n,navigate:e,currentTenant:p,period:M,isAdmin:w,isEmployee:L,entity:"reimbursement",onClickMenuIcon:()=>{le(!0)},createdByUserList:h.createdByUserList,createdByUserListFetchState:h.createdByUserListFetchState,isDownloadEnabled:h.isDownloadEnabled,connectedAccountProvider:We,isBulkActionEnabled:g,bulkSubmissionLimit:h.remiBulkSubmissionLimit,bulkSubmissionFetchState:h.remiListBulkActionInfo.bulkSubmissionFetchState,...Qe})]})]}):He&&C?i.jsx(F,{to:"../setup"}):R!=null&&Le(p,R.loggedInUserRoleMap)?i.jsx(F,{to:"../promo"}):i.jsx(Z,{fetchState:"In-Progress"}):i.jsx(ee,{})}const Nn=e=>`/${e}/reimbursements/setup`,On=(e,t,n)=>{let o=`/${e}/reimbursement/${encodeURIComponent(t)}`;return n=="draft"&&(o+="/edit"),o},Gn=Pe(Bn)`
|
|
10
|
-
display: flex;
|
|
11
|
-
min-height: 100%;
|
|
12
|
-
flex-direction: column;
|
|
13
|
-
`,zn=H(function(e,t){const{companyId:n}=t;return{reimbursementSetupView:tn(e,n),analytics:v,meetingUrl:"https://meetings.hubspot.com/niharn/demo-reimbursements?embed=true",videoUrl:"https://player.vimeo.com/video/814821498?h=e7fd11e13e&badge=0&autopause=0&player_id=0&app_id=122963"}},function(e,t){const{companyId:n,navigate:o}=t;return{onSetupButtonClick:()=>{e(an(n))},onCreateNewRemiButtonClick:()=>{e(nn(t.userRoleId))},onBackClick:()=>{o("../..",{relative:"path"})},onSetupReimbursementSuccess:()=>{t.isEmployee?o("../../reimbursement/new",{relative:"path"}):o("../reimbursements/setup",{relative:"path"})}}})(Cn),Hn=()=>{const e=z(),t=G(),{tenantEmailDomain:n}=V(),o=K(),[l,u]=y.useState(!1),c=B(f=>N(f)),r=j.getSignedInUserTenant(n)?.companyId??c.companyId,a=j.getSignedInUser(),s=c.userRoleId,m=!!c.userRole?.includes("reimbursements_user"),d=X(),I=re(d?.loggedInUserRoleMap),g=oe(d?.loggedInUserRoleMap),x=!!c.userReimbursementInfo?.isReimbursementTOSAccepted,p=!!c.companyReimbursementInfo?.info?.isReimbursementEnabled,A=!!c.companyReimbursementInfo?.info?.isReimbursementTOSAccepted,b=f=>{u(f)};if(a==null)throw Error("Can't access reimbursement promo page without signing in...");return p&&g&&x?i.jsx(F,{to:"../../../reimbursements"}):A&&I?i.jsx(F,{to:"../../reimbursements/setup"}):c.companyReimbursementInfo&&!A||c.userReimbursementInfo&&g&&x===!1?i.jsxs(i.Fragment,{children:[i.jsx(Q,{analytics:v,onLoad:f=>(T=>T.trackPageLoaded(Me.Event.reimbursementPromoPage))(f)}),i.jsx(Ne,{isAppContentDrawerOpen:l,handleDrawerToggle:b}),i.jsx(zn,{companyId:r,navigate:e,location:t,userReimbursementInfo:c.userReimbursementInfo,userRoleId:s,isEmployee:m,onClickMenuIcon:()=>{b(!0)}})]}):i.jsx(Z,{fetchState:"In-Progress",style:{backgroundColor:o.colors.grey5}})};function Sa(){const e=B(J=>N(J)),t=X(),n=!!e.company?.companyReimbursementInfo.isReimbursementEnabled,o=K(),l=!!e.company?.companyReimbursementInfo.isReimbursementTOSAccepted,u=!!e.userReimbursementInfo?.isReimbursementTOSAccepted,{useFeatureGate:c}=q(),{isFeatureEnabled:r}=c(k.isChargeCardFeatureEnabled),{isFeatureEnabled:a}=c(k.isDebitCardFeatureEnabled),s=De(a,e),m=je(e),d=e?.userRole!=null&&sn(e?.userRole),I=(e?.company==null||e.company.featuresActivationInfo?.isBillPayFeatureEnabled&&!d)&&rn(t?.loggedInUserRoleMap),g=on(t?.loggedInUserRoleMap),x=e?.company==null||e.company.featuresActivationInfo?.isReimbursementFeatureEnabled&&!d,p=re(t?.loggedInUserRoleMap),A=x&&p,{isFeatureEnabled:b}=c(k.isDepositAccountsFeatureEnabled),f=b&&!d&&mn(t?.loggedInUserRoleMap),T=En(e,r,a)&&!d&&ln(t?.loggedInUserRoleMap),R=cn(t?.loggedInUserRoleMap),w=un(t?.loggedInUserRoleMap),h=dn(t?.loggedInUserRoleMap),D=pn(t?.loggedInUserRoleMap),P=bn(t?.loggedInUserRoleMap),L=oe(t?.loggedInUserRoleMap),{tenantEmailDomain:C}=V(),O=n===!0&&(p||L&&u);return i.jsxs(Je,{children:[location.pathname.includes("/reimbursements")?i.jsxs(i.Fragment,{children:[i.jsx(E,{path:"verification",element:i.jsx(fe,{isBillPayAdminLevelAccess:I,isUserHasOnlyBillPayAccess:g,isReimbursementAdminLevelAccess:A,isZeniAccountAdminLevelAccess:f,isChargeCardAdminLevelAccess:T,isUserHasOnlyCardAccess:R,productType:"reimbursement",type:"verification"})}),i.jsx(E,{path:"setup",element:i.jsx(fe,{isBillPayAdminLevelAccess:I,isUserHasOnlyBillPayAccess:g,isReimbursementAdminLevelAccess:A,isZeniAccountAdminLevelAccess:f,isChargeCardAdminLevelAccess:T,isUserHasOnlyCardAccess:R,productType:"reimbursement",type:"setup"})}),i.jsx(E,{path:"promo",element:i.jsx(Hn,{})}),i.jsx(E,{path:"approval-rules/*",element:A?i.jsx(Tn,{}):i.jsx(wn,{isUserHasZeniAccountsAccess:w,isUserHasChargeCardAccess:D,isUserHasBillPayAccess:P,isUserHasReimbursementAccess:L,isUserHasTreasuryAccess:h,isTenantBankingOnly:s,tenantEmailDomain:C??""})}),O&&i.jsx(E,{path:"*",element:i.jsx($n,{})}),(s===!0||m===!0)&&i.jsx(E,{path:"/*",element:i.jsx(_e,{})}),t!=null&&Le(e,t?.loggedInUserRoleMap)&&i.jsx(E,{path:"*",element:i.jsx(F,{to:"../promo"})}),l&&p&&i.jsx(E,{path:"*",element:i.jsx(F,{to:"../setup"})})]}):location.pathname.includes("/reimbursement")?i.jsxs(i.Fragment,{children:[i.jsx(E,{path:"new",element:i.jsx(ye,{})}),i.jsx(E,{path:":reimbursementId",element:i.jsx(Ln,{})}),i.jsx(E,{path:":reimbursementId/edit",element:i.jsx(ye,{})}),i.jsx(E,{path:"*",element:i.jsx(ee,{})})]}):i.jsx(E,{path:"*",element:i.jsx(Z,{fetchState:"In-Progress",style:{backgroundColor:o.colors.grey5,boxShadow:`0px 2px ${me.sp1} ${o.colors.dropShadowNormal}`}})}),i.jsx(E,{path:"*",element:i.jsx(ee,{})})]})}export{Sa as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as V,fm as M,V as _,bR as W,bS as z,bT as G,iU as K,ag as q,O as H}from"./index-C-nTPjDF.js";import{a as b}from"./sentry-Dd2vHz0L.js";import{GK as J}from"./zeni-epic-state-ChDcaYf9.js";import{u as Q}from"./ReviewOverlay-CxwoiOLC-D5lX05io.js";import"./pdf-BrZAvZ1o.js";import"./core-C_Me9Mw3.js";import"./mui-BOwjqiG-.js";import"./recharts-B22vzlMp.js";import"./lottie-DyM2Y4mu.js";import"./liveblocks-WO1k1bbB.js";import"./dnd-BRZ99wCN.js";import"./analytics-CkXlMwul.js";import"./plaid-CyY87P8r.js";import"./utils-CInzYuJw.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]="5fa4490a-e280-449f-be99-c888b852e612",e._sentryDebugIdIdentifier="sentry-dbid-5fa4490a-e280-449f-be99-c888b852e612")}catch{}})();const{common:a,spendManagement:{reimbursement:B}}=H.getLocalizedStrings(),n=B.bulkActions;let R;const _e=({remisReviewView:e,isAdmin:o,analytics:s,onProceedForBulkActionClick:m,onCloseReviewItem:d,onCloseOverlay:t})=>{const{fetchState:i,bulkSubmissionFetchState:l,bulkOperationTypeSelected:r,currentTab:f,currentSubTab:g}=e,y=!1,T=V(),p=M(T),[v,u]=b.useState(!1),[h,A]=b.useState(P(e,y,o,p)),[w,D]=b.useState(y),[j,Z]=b.useState(0),[S,F]=b.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});b.useEffect(()=>(j===h.length&&w&&(D(!1),clearInterval(R)),e.fetchState==="Completed"&&A(P(e,!1,o,p)),()=>{clearInterval(R)}),[h.length,j,w,e.fetchState,y,e,o,p]);const $=h.length,x=h.filter(c=>c.reviewStatus.code!=="error").length,E={onOkClick:c=>{u(!1);const I=e.remisForReview.map(k=>k.reimbursement);s.trackReimbursementBulkPopupConfirm(r,f,g,J(I.map(k=>k?.reimbursementTypesIncluded??[]))),m("reject",c)},onCancelClick:()=>{u(!1)}},{title:O,description:U}=Y(i,x,$,w),C=e.fetchState==="Completed"&&x===0,L=()=>{s.trackReimbursementBulkSubmit(r,f,g),m(r)},N={label:r==="send_for_approval"?a.texts.goBack:a.footer.reject,isDisabled:r!=="reject"&&l==="In-Progress",isLoading:r==="reject"&&l==="In-Progress",reverseSpinnerColor:!1,onClick:r==="send_for_approval"?t:()=>{const{title:c,description:I}=X(x);F({type:"reject",title:c,description:I,primaryButtonText:a.texts.confirm,secondaryButtonText:a.texts.close}),s.trackReimbursementBulkSubmit(r,f,g),u(!0)},style:r==="approve"?{minWidth:"92px"}:{}};return _.jsxs(_.Fragment,{children:[v?_.jsx(W,{titleComponent:_.jsx(G,{children:S.title}),descriptionComponent:_.jsx(z,{children:S.description}),primaryButtonText:S.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:S.secondaryButtonText,action:E,isNotesIncluded:!0,isEditPopup:!0}):null,_.jsx(Q,{title:O,description:{content:U,isError:e.fetchState==="Completed"&&x===0},reviewItems:h,onCloseReviewItem:d,onCloseOverlay:t,showFooter:e.fetchState==="Completed"&&!w,footerProps:{primaryButton:(()=>{let c=a.footer.approve;return C?c=a.texts.close:r==="send_for_approval"&&(c=a.footer.submit),{label:c,isDisabled:i!=="Completed"||r==="reject"&&l==="In-Progress",isLoading:l==="In-Progress"&&(r==="send_for_approval"||r==="approve"),onClick:C?t:L,style:r==="send_for_approval"?{minWidth:"92px"}:{}}})(),cancelButton:N,hideCancel:C}})]})},P=(e,o,s,m)=>{const d=e.fetchState==="In-Progress";return e.remisForReview.map(t=>{const i=K(s,t.submittedBy,m);return{id:t.transactionId,leftSideText:{title:t.reimbursement?.reportTitle!=null?t.reimbursement.reportTitle:B.reimbursementDetail.newReimbursementTitle,subTitle:i!=null?`${a.by} ${i?.firstName} ${i?.lastName}`:a.strings.empty},rightSideText:{title:q("0,0.[00]",t.reimbursement?.amount?.amount,t.reimbursement?.amount?.currencySymbol),showThunderIcon:!1,subTitle:t.reviewInfoMessage??""},reviewStatus:{isLoading:d,code:t.reviewStatus??""}}})},X=e=>{const{this_:o,these:s,report:m,reports:d,payment:t,payments:i}=a.texts;return e>1?{title:n.popUps.reject.title.replace("__report__",n.reports),description:n.popUps.reject.description.replaceAll("<_this_>",s).replaceAll("<_payment_>",i).replaceAll("__report__",d)}:{title:n.popUps.reject.title.replace("__report__",n.report),description:n.popUps.reject.description.replaceAll("<_this_>",o).replaceAll("<_payment_>",t).replaceAll("__report__",m)}},Y=(e,o,s,m)=>{const{has:d,have:t,report:i,reports:l,are:r,is:f,do_:g,does:y}=a.texts,T=o>1,p=s>1;let v="",u="";return e!=="Completed"||m?(v=n.reviewPage.reportsReviewing.title.replace("__report__",p?l:i),u=n.reviewPage.reportsReviewing.description.replace("__report__",p?l:i)):(v=n.reviewPage.reportsReviewed.title.replace("__report__",p?B.bulkActions.reports:n.report).replace("<_has_>",p?t:d),u=o===0?n.reviewPage.reportsReviewed.descriptionError.replace("__report__",p?l:i).replace("<_do_>",p?g:y):`${o}/${s} ${n.reviewPage.reportsReviewed.description.replace("__report__",s>1?l:i).replace("<_is_>",T?r:f)}`),{title:v,description:u}};export{_e as default};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import{y as h,V as r,a4 as a,an as f,am as m,O as y,b as j,aa as l,b0 as g,C as u,o as c}from"./index-C-nTPjDF.js";import{n as s}from"./mui-BOwjqiG-.js";import{a as d}from"./sentry-Dd2vHz0L.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]="db413ffe-96a3-45e6-a289-13f06584e962",e._sentryDebugIdIdentifier="sentry-dbid-db413ffe-96a3-45e6-a289-13f06584e962")}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 p({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=s(l)`
|
|
2
|
-
justify-content: flex-start;
|
|
3
|
-
`;function E({dimension:e,animated:o}){const t=h();return r.jsx(a,{dimension:e,children:r.jsx(x,{children:r.jsx(p,{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 C=s(l)`
|
|
4
|
-
justify-content: space-between;
|
|
5
|
-
`,b=s.div`
|
|
6
|
-
height: ${c.sp10};
|
|
7
|
-
width: ${c.sp10};
|
|
8
|
-
background: ${e=>e.theme.colors.background};
|
|
9
|
-
border-radius: 50%;
|
|
10
|
-
cursor: pointer;
|
|
11
|
-
display: flex;
|
|
12
|
-
justify-content: center;
|
|
13
|
-
align-items: center;
|
|
14
|
-
& svg {
|
|
15
|
-
color: ${e=>e.theme.colors.hero};
|
|
16
|
-
}
|
|
17
|
-
&:hover {
|
|
18
|
-
& svg {
|
|
19
|
-
color: ${e=>e.theme.colors.primary};
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
`,k=s(u)`
|
|
23
|
-
color: ${e=>e.theme.colors.champion};
|
|
24
|
-
`,v=s(u)`
|
|
25
|
-
color: ${e=>e.theme.colors.hero};
|
|
26
|
-
`,$=s(e=>d.createElement("svg",{viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("rect",{opacity:.2,width:72,height:72,rx:36,fill:"#97C3B9"}),d.createElement("path",{d:"M46.7755 32.5635L43.8368 36.9716L40.4082 33.0533",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M34.5307 44.8163C32.6902 44.8163 30.8909 44.2705 29.3605 43.248C27.8301 42.2254 26.6374 40.772 25.933 39.0715C25.2286 37.3711 25.0443 35.4999 25.4034 33.6947C25.7625 31.8895 26.6488 30.2313 27.9503 28.9298C29.2518 27.6283 30.91 26.742 32.7152 26.3829C34.5204 26.0238 36.3916 26.2081 38.092 26.9125C39.7925 27.6169 41.2459 28.8096 42.2685 30.34C43.291 31.8704 43.8369 33.6697 43.8369 35.5102V36.9737",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})))``;function D({dimension:e,cardType:o,cardIndex:t,reportTitle:n,onReloadData:i}){return r.jsx(a,{"data-testid":j("dashboard-reload",o),dimension:e,onClick:()=>i(t,o),children:r.jsxs(C,{children:[r.jsxs(k,{children:[n??m(o)," "]}),r.jsx(b,{children:r.jsx($,{})}),r.jsx(v,{children:y.getLocalizedStrings().card.failedText})]})})}export{E,T as I,D as T};
|