@zeniai/web-app-ui 4.14.36-qa → 4.14.38-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-fOu5grd7-BgitUCnK.js → ACHDetailsPage-BShpKoIj-D1Wy32uO.js} +6 -6
- package/dist/assets/{AIPerformancePage-Da3gFo8A-B6fd9yMu.js → AIPerformancePage-CFErwUsE-DcUypqs6.js} +21 -21
- package/dist/assets/AccountInfoPage-B8upbXj9-Cm42EUIq.js +18 -0
- package/dist/assets/AccountInfoPageContent-CKpeDot5-CwoUlvIm.js +149 -0
- package/dist/assets/{AccountLockedInfoModal-BJjCuLHa-Dwc4Twfa.js → AccountLockedInfoModal-c30P9O_3-DzDiXoV7.js} +6 -6
- package/dist/assets/{AccountReconDetailsDrawerPage-CVjH1p0d-B1ewqXBW.js → AccountReconDetailsDrawerPage-CO9BYPWm-CTb98mzK.js} +16 -16
- package/dist/assets/AccountRow-BrW_eEjE-Cmf0Jids.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-D7xvgmOH-B_Z0IcIc.js → AccountsPromoCardStack-De2yNNuZ-XXlQf85I.js} +14 -14
- package/dist/assets/AddAddressForCardDrawer-riOPLnxb-DAb8sz-Z.js +6 -0
- package/dist/assets/{AddToWalletPage-zJy9QCjx-CAgD66cB.js → AddToWalletPage-CsOmzC7v-S49ZGsCa.js} +13 -13
- package/dist/assets/AddressRoutes-CO2FKDgK.js +1 -0
- package/dist/assets/AddressScreen-DsuZFaVf.js +9 -0
- package/dist/assets/{AgingReportsPage-wAvQb1d8-bRB2pbCU.js → AgingReportsPage-D9I9afnB-Df3hrLUY.js} +8 -8
- package/dist/assets/AiCfoScreen-D5N0hxeG.js +11 -0
- package/dist/assets/{AllUserItems-DEv_CXOA-D8XKRK3i.js → AllUserItems-Dq7NcP-o-Da1Zo4z6.js} +11 -11
- package/dist/assets/ApAgingDetailPage-Z5JgfH-e-CEuDNd6O.js +46 -0
- package/dist/assets/{AppBasePage-DMlomvFS-CQMcvMHZ.js → AppBasePage-B5sDynhi-CeUmBhIQ.js} +10 -10
- package/dist/assets/AppDrawerContent-D9Q8ir0T-DZmwUW8c.js +92 -0
- package/dist/assets/ApprovalRulesSettingsPage-DVGvJsQG-yl1UuAvx.js +47 -0
- package/dist/assets/{ArAgingChart-m-Xp3HAW-CnkoHC-y.js → ArAgingChart-Tcu0Lja_-BWNKgMZE.js} +7 -7
- package/dist/assets/ArAgingDetailPage-B5vqkc3v-B1AqC5xt.js +46 -0
- package/dist/assets/{AttachmentView-DB_V1qT1-CUnw9dFs.js → AttachmentView-CiYfninr-DZhIwWMR.js} +6 -6
- package/dist/assets/BalancesInsightWithToolTip-tiQUQUbX-DMW3pWLJ.js +38 -0
- package/dist/assets/{BankAccountSection-BabhrBM7-CjKNHuqx.js → BankAccountSection-EZtscP2z-C2fUrA1M.js} +7 -7
- package/dist/assets/BankAccountWarningSection-DCfyIUlu-D_RVGDL2.js +51 -0
- package/dist/assets/BankConnectionsSettingsPage-CQWy9jvt-Brl3VmAQ.js +425 -0
- package/dist/assets/BillDetailPage-pt1k5AQf-C_HrCJfS.js +266 -0
- package/dist/assets/BillPayApprovalRoutes-5Y0msu-c.js +1 -0
- package/dist/assets/BillPayApprovalRuleDetailPage-Drh7Bhi8-EZrQsXba.js +27 -0
- package/dist/assets/{BillPayApprovalRulesPage-9pxkgFAT-C0fukcC-.js → BillPayApprovalRulesPage-Cmyo59xB-D7U9ywcy.js} +12 -12
- package/dist/assets/{BillPayPromoPage-AGffhbY3-CtBTCqHG.js → BillPayPromoPage-Dgpz2TLG-BwKkDBie.js} +8 -8
- package/dist/assets/{BillPayRoutes-CLxgVQoZ.js → BillPayRoutes-aVWMd64J.js} +19 -19
- package/dist/assets/BillPaySetUpPage-B6Pd_eBf-DFM86E0U.js +42 -0
- package/dist/assets/{BillingSettingsPage-CQ117tT9-BttuaXcF.js → BillingSettingsPage-CYsvBrFV-B9NfPSZ9.js} +10 -10
- package/dist/assets/{BillsBulkReviewDrawerPage-DRkGQQAe-DERm9Zoh.js → BillsBulkReviewDrawerPage-DNnAmqWz-C01NVO_d.js} +1 -1
- package/dist/assets/{BoxItem-DRwx0M5a-CDlEJbUh.js → BoxItem-B06DK4G--C4opawya.js} +3 -3
- package/dist/assets/BusinessVerificationPage-Dgk5gyMv-BrQSkaHR.js +138 -0
- package/dist/assets/BusinessVerificationPageScreen-D9PxWQrU.js +9 -0
- package/dist/assets/BusyIndication-Cd67eHX6-C7aB5h-1.js +9 -0
- package/dist/assets/{CardNumberSubText-DqtLT1w5-3-jd_gkY.js → CardNumberSubText-CcH9jUoZ-HppogTjx.js} +5 -5
- package/dist/assets/{CashbackDetailPage-ChdQcvkC-ICsGmTUH.js → CashbackDetailPage-5eysaHGf-CZA31npt.js} +28 -28
- package/dist/assets/{ChargeCardDetailPage-DFOKlPNG-DAT7wsUl.js → ChargeCardDetailPage-Diwf-gwZ-BccKvsWr.js} +40 -40
- package/dist/assets/{ChargeCardListPage-DhLUsUhd-Cb0G0I2o.js → ChargeCardListPage-C-RTGkKK-Cc1az4M9.js} +23 -23
- package/dist/assets/ChargeCardListTable-B-bNbtZQ-BuEumynS.js +711 -0
- package/dist/assets/{ChargeCardPaymentHistoryPage-CbGR18s--D1FALKZp.js → ChargeCardPaymentHistoryPage-Cu-zT5tO-CNy0B9A3.js} +13 -13
- package/dist/assets/ChargeCardPromoPage-Cz3rNFwM-CdxjjcEa.js +222 -0
- package/dist/assets/{ChargeCardRoutes-B2VyUVyE.js → ChargeCardRoutes-CKV_cGg2.js} +13 -13
- package/dist/assets/{ChargeCardSetupPage-ITi25kUD-DQrLuHzm.js → ChargeCardSetupPage-BcTB9Yy5-BJuaiwYA.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-CTJc1BCc-B3iOfWLi.js → ChargeCardStatementsPage-B_ERvgmB-W5ryAUPk.js} +3 -3
- package/dist/assets/CheckDepositDrawerPage-D7_usOVn-DA-Kombi.js +206 -0
- package/dist/assets/CollapsableReportTable-h0vIfI8o-Q6XPsw6M.js +2982 -0
- package/dist/assets/{CompanyOfficerDetailsSection-BaPhFsLx-DHUewusV.js → CompanyOfficerDetailsSection-CWADX4kZ-DANlup8L.js} +96 -96
- package/dist/assets/CompanyPassportCard-DF9LFrFD-DPvP8c2P.js +42 -0
- package/dist/assets/{CompanyPassportPage-BQ68t7oK-BgIAIBvG.js → CompanyPassportPage-BtAopyLq-CG1Jq4C9.js} +24 -24
- package/dist/assets/CompanyPassportScreen-Dl29U7F0.js +1 -0
- package/dist/assets/CompleteProfile-CsbsHQ0p-DmLd2177.js +52 -0
- package/dist/assets/ConfettiBurst-duD341Gp-CKS6HfNq.js +1 -0
- package/dist/assets/ConnectionAuthScreen-CtmFWvaS.js +11 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-2qMgM4hb.js → ConstrainedInnerElement-hv51KpGg-CKGSsSPo.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-BIfOA5Nr-DmMOi9Py.js → CreateOrEditVendorPage-C2xU6c51-Cx-c8OBN.js} +15 -15
- package/dist/assets/{CreditCardPaymentDrawerPage-CCpS-31h-D2E09eId.js → CreditCardPaymentDrawerPage-CeagMaCu-CazU8VPX.js} +21 -21
- package/dist/assets/CurrencySelectField-B8EoF2aF-DHzUxLL4.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-6VlMI4oY-C6UkeafC.js → CustomerOnboardingActivationPage-CIeR2XvU-CMOVbNs9.js} +6 -6
- package/dist/assets/CustomerOnboardingAuthScreen-DtvN_x2S.js +1 -0
- package/dist/assets/CustomerOnboardingContainerPage-DVL4s-eV-uJRgyQW8.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BzbZb27J-BjFDDxCU.js → CustomerOnboardingDetailPageSkeleton-kUbwh2r2-BjHJq9e_.js} +17 -17
- package/dist/assets/CustomerOnboardingNoStepsPage-Br0jy7Pu-xbtVpPeD.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-DkW66A-p-CqCCkCYq.js → CustomerOnboardingPage-Dm2Si769-CuOP2t9G.js} +6 -6
- package/dist/assets/{CustomerOnboardingProductSuitePage-Ba0yotpP-B65VLjH4.js → CustomerOnboardingProductSuitePage-Cz81Q5jC-CBFgnoEY.js} +10 -10
- package/dist/assets/{CustomerOnboardingRoutes-BbuQETSm.js → CustomerOnboardingRoutes-C_QLwzau.js} +7 -7
- package/dist/assets/{Dashboard-bX3cWkmP-D2iKKw2J.js → Dashboard-DReG_aaf-B9cmSG7e.js} +45 -45
- package/dist/assets/{DashboardReportPage-DuZ4d4CE-Cp1XRSMC.js → DashboardReportPage-BXSlwsR7-CjT08Tnm.js} +42 -42
- package/dist/assets/DashboardRoutes-Cr_y84hZ.js +21 -0
- package/dist/assets/{DashboardSidebarBackgroundAnimation-UV2CZToG-BePjXuRd.js → DashboardSidebarBackgroundAnimation-B3dtVAe2-DcsdDEM2.js} +1 -1
- package/dist/assets/{DefaultTenantHome-DAGhRU2p.js → DefaultTenantHome-Bp9gU4vX.js} +1 -1
- package/dist/assets/DepositAccTransactionItem-YuSXjbLh-DkrFIYaS.js +76 -0
- package/dist/assets/DepositAccTransactionListPage-C-FAvZwD-CLMW6N19.js +66 -0
- package/dist/assets/DomesticWireDetailScreen-CV-2twy7.js +18 -0
- package/dist/assets/DomesticWireDetailsPage-BaiSpc0N-BjZ307kD.js +21 -0
- package/dist/assets/DownloadOverlay-BpRKCn-0-Ceuu4G9V.js +439 -0
- package/dist/assets/{DrawerPage-CaG-xx5d-DCOdzFu5.js → DrawerPage-DQ3Xuekx-osFrzw_b.js} +14 -14
- package/dist/assets/DrawerScreen-0WDRSJz6.js +1 -0
- package/dist/assets/EditPeoplePage-8DalSMWH-CybAz5BL.js +55 -0
- package/dist/assets/EditReimbursementDetailPage-CC2BjMkR-UcYvbITo.js +865 -0
- package/dist/assets/EntityDetailPage-fmWuxHTZ-zOCr7HwT.js +18 -0
- package/dist/assets/EntityDetailRoutes-r6uNQDsF.js +1 -0
- package/dist/assets/{EntitySummarySection-LEA5m6mN-COsxmiXN.js → EntitySummarySection-vsEMiXYh-xFy88yRd.js} +26 -26
- package/dist/assets/{ExpenseAutomationOverviewPage-Dmhn7gfp-DRKfvdpQ.js → ExpenseAutomationOverviewPage-B3HPfIsK-BoAXmFoS.js} +48 -48
- package/dist/assets/ExpenseAutomationPage-4LJefgNh-n1--5-UE.js +3628 -0
- package/dist/assets/ExpenseAutomationRoutes-Dd80KoVV.js +20 -0
- package/dist/assets/{ExpressPayPage-C-nqret2-KetoqTaI.js → ExpressPayPage-BH7oCW_F-DgICn4el.js} +11 -11
- package/dist/assets/{FeaturePreviewPage-BHjUZ7s6-CDfaoOXm.js → FeaturePreviewPage-DSv61BhF-BsdnfTlO.js} +2 -2
- package/dist/assets/FeaturePreviewScreen-D2Pa-R10.js +1 -0
- package/dist/assets/{FollowStepsSection-0eFMS0c5-BaucUfRt.js → FollowStepsSection-Bgy9MpO4-CvIWpdyW.js} +9 -9
- package/dist/assets/GlobalReviewListPage-VRq_gimm-BpVLghA7.js +291 -0
- package/dist/assets/{InformationCardStack-C7XJCUlh-DjdOTgGS.js → InformationCardStack-rx0fypl3-OYwqii2C.js} +4 -4
- package/dist/assets/InsightsCardStack-uJWMkIZL-BDZTXUwm.js +79 -0
- package/dist/assets/InsightsSection-ByFf2oGn-ChvKOP1F.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-BD5jqAv8-jCqAB96Y.js → IntegrationsSettingsPage-Cj01Nub6-lRHeOJiB.js} +5 -5
- package/dist/assets/{InternationalWireSwiftDetailsPage-BftrE612-C1oqAYKw.js → InternationalWireSwiftDetailsPage-C2PM97sv-BLs5mpsl.js} +13 -13
- package/dist/assets/InternationalWireVerificationPage-Cr3sDrT--Dj5HT769.js +65 -0
- package/dist/assets/{InviteFormPage-E2igwKEh-BfamEOA0.js → InviteFormPage-dsMpScvq-pwPoaIw-.js} +10 -10
- package/dist/assets/{InvitePageListView-Cuq9dlgu-BswYJOcw.js → InvitePageListView-e7vGSbFa-BfSD0kcH.js} +72 -72
- package/dist/assets/InvitePeoplePage-BT_YVCP4-CQRb2c-r.js +12 -0
- package/dist/assets/InvoiceUploadSection-Dg1-uunA-1cshMTVc.js +140 -0
- package/dist/assets/{IssueChargeCardPage-CK6fnO24-CZaBXPmq.js → IssueChargeCardPage-CyF9wrb0-CWwHqex_.js} +22 -22
- package/dist/assets/{LabeledAddressValue-Ma1WURjK-SOyeFnDb.js → LabeledAddressValue-3l0Bv00--Bw_81ZJz.js} +1 -1
- package/dist/assets/LabeledAddressValueField-F9kvUR_r-9ELTRqNI.js +45 -0
- package/dist/assets/LabeledControlledCheckBoxField-BgC8y0D6-BlS4qFJC.js +16 -0
- package/dist/assets/{LabeledCountryMultiSelectField-sj8p7Rne-BB5IjdKT.js → LabeledCountryMultiSelectField-3qI_4noU-UcVNXOp1.js} +4 -4
- package/dist/assets/{LabeledCreatableSingleSelectField-DUTQh416-C_C7TgJg.js → LabeledCreatableSingleSelectField-BV3h9bh7-BCEINAy7.js} +10 -10
- package/dist/assets/LabeledDocumentField-rriEcsdr-CcDZw3QZ.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-3-KekP79-BFouZsyb.js → LabeledDropDownFormattedTextField-DoVSg3nZ-82mPtDTT.js} +5 -5
- package/dist/assets/{LabeledEmailInputField-BRJyFvVd-CLFwXbdl.js → LabeledEmailInputField-CKWZEkTs-C9DTkL1y.js} +8 -8
- package/dist/assets/{LabeledNameField--saAep-_-CReVVQpK.js → LabeledNameField-yaSRe5Vt-cnDt7eal.js} +5 -5
- package/dist/assets/{LabeledSingleSelectField-Ul4tlTiO-B5-cTLoa.js → LabeledSingleSelectField-D5QUlcEP-DOA8WTdI.js} +7 -7
- package/dist/assets/LabeledText-DGZ7hxY4-BBOC0Eln.js +42 -0
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DCv1Q5qb-Dfj0gvkd.js → LabeledUserSingleSelectWithSubtitlesField-DI07Eicg-NPjB_w_o.js} +15 -15
- package/dist/assets/{LabeledZeniRolesDropDownField-kWC0ShEy-BPt5mqTD.js → LabeledZeniRolesDropDownField-jIrTovp--C7mgztQg.js} +27 -27
- package/dist/assets/{LinkJETransactionPage-WufhDGDQ-CzSZY5Ji.js → LinkJETransactionPage-Bvbqpltz-BZhW34oI.js} +8 -8
- package/dist/assets/{LockCardPage-BBIVLYVD-CLo11134.js → LockCardPage-DyEQBJYx-DksW1-ZG.js} +23 -23
- package/dist/assets/{LowBalancePopup-ScEqPY9J-wCMhmKTa.js → LowBalancePopup-C2vHKMNF-CMEceag2.js} +7 -7
- package/dist/assets/MagicLinkACHDetailsPage-lAAwAtH7-D8E0BCBV.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-cv823ASo-Br4bjkHP.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-C_SjsgC9-Dt-hi6Za.js +1 -0
- package/dist/assets/{MagicLinkRoutes-DGEyZyp5.js → MagicLinkRoutes-DAnRUF47.js} +10 -10
- package/dist/assets/MagicLinkSignInScreen-BRdR8FPq.js +12 -0
- package/dist/assets/MagicLinkSuccessPage-B1LBYM2F-DRIhjweE.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-ZnbKPIvJ-C28UB4ql.js → MagicLinkTitleSection-ClAnBBt9-BWJjfwMs.js} +2 -2
- package/dist/assets/{MailingDetailsSection-DZT7JPlI-C38hqmub.js → MailingDetailsSection-9_XLl4bT-Bq5v10Od.js} +1 -1
- package/dist/assets/MobileAppDrawer-DXy0Oi_h.js +1 -0
- package/dist/assets/{MoreMenuButton-CJue6xR9-DaOmUQCK.js → MoreMenuButton-Ct8k8Oax-C0IXgNiJ.js} +29 -29
- package/dist/assets/{MyBankConnectionsSettingsPage-aQDVaEG1-BQj6U5VD.js → MyBankConnectionsSettingsPage-CBNYcuP4-CSPIvvUE.js} +8 -8
- package/dist/assets/{MyPendingActivationChargeCardListPage-BJrk56oA-a4lk-FRm.js → MyPendingActivationChargeCardListPage-n71n40uQ-DnLQhl3T.js} +1 -1
- package/dist/assets/MyProfileSettingsPage-BUMIjZYc-CAlzma3h.js +85 -0
- package/dist/assets/NavBarWithPicker-CbjFNysh-Ck578WIs.js +30 -0
- package/dist/assets/{NavigationArrow-D26UG3p--CCqiziIA.js → NavigationArrow-Dpc7u6y4-CiTKhYeI.js} +2 -2
- package/dist/assets/NavigationDots-DCpslVnm-D-4SKVAz.js +15 -0
- package/dist/assets/{NewGlobalMerchantPage-vOn2O6B9-BmOnDaTo.js → NewGlobalMerchantPage-B10sY6Q_-Cu6PKFa1.js} +12 -12
- package/dist/assets/{NoDataChart-CgT19fV7-BnUaWo2A.js → NoDataChart-9-bhq204-BNHp8Nld.js} +3 -3
- package/dist/assets/{NoDataTable-CPjJmo4s-BDfqEXQj.js → NoDataTable-C6Q2Anpz-BqTI2GFx.js} +1 -1
- package/dist/assets/{NotFoundPage-CP2i3FTm-DrcRl_rx.js → NotFoundPage-4mPhXD5--pWqZwF3K.js} +5 -5
- package/dist/assets/NotFoundScreen-MU1vvTl3.js +1 -0
- package/dist/assets/NotificationRoutes-CiTIiIjp.js +1 -0
- package/dist/assets/{NotificationSettingsPage-CT9Dnb03-Dm7KyS7f.js → NotificationSettingsPage-BTxCoB_b-1ycVlHAN.js} +30 -30
- package/dist/assets/NotificationsListConfig-CylnViXd-DEcj9I_Q.js +1 -0
- package/dist/assets/NotificationsPage-D41h0mS6-lOcsglza.js +685 -0
- package/dist/assets/OpExByVendorPage-BV_uJSCh-ClxLsbjb.js +100 -0
- package/dist/assets/OverlayContainerPage-CkUYOhlh-C1amAlX0.js +11 -0
- package/dist/assets/PandLWithForecastPage-Cj3UWjG4-C0webWAA.js +123 -0
- package/dist/assets/PandLWithForecastRoutes-t6sqNQ0M.js +1 -0
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-JPO-rPAd-Dmaxec0g.js → PaymentAccountSetupBillingAddressSection-BWFl695q-DCuXfW77.js} +11 -11
- package/dist/assets/PeoplePage-DcGqWtAP-kL10xLdE.js +772 -0
- package/dist/assets/PeopleRoutes-DvMa0FHX.js +22 -0
- package/dist/assets/PerformanceRoutes-C97G2NlX.js +1 -0
- package/dist/assets/{Preview-B_UHWYM5.js → Preview-Bd0e5eLk.js} +1 -1
- package/dist/assets/{ProductsCarousel-7R3cvGiS-DmQ2H6G4.js → ProductsCarousel-C9JoJQeH-y7_emSya.js} +8 -8
- package/dist/assets/{PromoBaseCards-DdCMZIc7-Df8cZl94.js → PromoBaseCards-mFk7SsOr-B_0Pg0f0.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-Ca36jKz2-DAMkmB7c.js → QBOConnectionDialog-CJsIrEZq-CgfqE4WV.js} +13 -13
- package/dist/assets/{QBOConnectionScreen-JiiEAGy2.js → QBOConnectionScreen-1Q56jIZw.js} +4 -22
- package/dist/assets/{QBOSetupSection-CzBfIVqR-CbTARgMf.js → QBOSetupSection-C_fqHza_-B72ZoKWs.js} +9 -9
- package/dist/assets/ReferralListScreen-DJHg0qdR.js +5 -0
- package/dist/assets/ReimbursementApprovalRoutes-5hvNi1ri.js +1 -0
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-DUVSGQJ6-DvpCvtrE.js → ReimbursementApprovalRuleDetailPage-BMZnKpsk-C22qLIuK.js} +4 -4
- package/dist/assets/ReimbursementApprovalRuleDetailScreen-CE15OHBL.js +1 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-B48x1gPM-DxxLWTnS.js → ReimbursementApprovalRulesPage-C2zNa8dT-D_08-i4Q.js} +30 -30
- package/dist/assets/ReimbursementDetailPage-B1o8ea57-pJYrfLLt.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-BKgsJieE-C2_bC473.js → ReimbursementPromoPage-Df5QmXzC-CKWnZWeo.js} +18 -18
- package/dist/assets/ReimbursementRoutes-RM0BTfix.js +13 -0
- package/dist/assets/{ReimbursementSetUpPage-B_c-ZgFT-BBt2uEqx.js → ReimbursementSetUpPage-D450RVsP-XThkQYrn.js} +6 -6
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-DwgKrhlQ-Dpv01EXR.js +1 -0
- package/dist/assets/ReloadCard-D5cvzWxe-BiXLC8Nt.js +26 -0
- package/dist/assets/ReportTableViewSelector-Ig41fOPb-DWudlBCf.js +151 -0
- package/dist/assets/ReportsPage-CRAVAUTO-B8oVNLjt.js +269 -0
- package/dist/assets/ReportsRoutes-yGE_MThE.js +1 -0
- package/dist/assets/{RevenueChart-SvdhwBcE-DFVZ2SH4.js → RevenueChart-DtQu0KAn-8Nxk30mB.js} +18 -18
- package/dist/assets/ReviewDetailsPage-vui4TqeA-BHywFcJg.js +290 -0
- package/dist/assets/{ReviewOverlay-BoM41t8W-Tjo8TsbC.js → ReviewOverlay-CUnL7H-a-C2Hax1dX.js} +11 -11
- package/dist/assets/RewardsRoutes-BLdquuw-.js +1 -0
- package/dist/assets/RoleWithToolTip-x2rnvWn9-CndfBCzZ.js +22 -0
- package/dist/assets/ScheduleDetailsFixedAssetsPage-D_Cls2jC-DT2hV6fF.js +37 -0
- package/dist/assets/ScheduleDetailsPage-DmSLuM8g-BJX_WigV.js +37 -0
- package/dist/assets/ScheduleSequenceTable-js9_P_Lo-C0aHTQ-B.js +326 -0
- package/dist/assets/ScreenRoutes-Ckyy2m-9.js +2 -0
- package/dist/assets/{SetUpAccountSection-sfIB1h4i-OQRP6w_s.js → SetUpAccountSection-DYRWWXcL-BJMCbqBu.js} +23 -23
- package/dist/assets/{SettingsRoutes-_PBfx_CH.js → SettingsRoutes-HPPA3EWU.js} +7 -7
- package/dist/assets/{SetupPagesScreen-Bjv1_530.js → SetupPagesScreen-Cz2ybo_2.js} +6 -6
- package/dist/assets/SignIn-CUJkZb3S-Cj2EgQsz.js +491 -0
- package/dist/assets/SignInScreen-BSE9oghj.js +1 -0
- package/dist/assets/SignOutScreen-CDL-h93X.js +9 -0
- package/dist/assets/SpendManagementListViewPage-BieufnDb-Cqid6Xsk.js +134 -0
- package/dist/assets/SpendManagementPerTabPage-BmUp80QX-B1ZhgxKn.js +754 -0
- package/dist/assets/SpendManagementSection-DKZNTYXT-D04hpJmz.js +375 -0
- package/dist/assets/StatementItem-Dyt5Q0eR-jB2YMdu5.js +31 -0
- package/dist/assets/StatementsPage-CbtnJM5y-y3-8Ovdn.js +58 -0
- package/dist/assets/{StatusSwitcher-CaoFw0cf-BSUpAcCG.js → StatusSwitcher-BfQ9VbBH-C2uXiIL4.js} +4 -4
- package/dist/assets/{SubTabSwitcher-zrkVj1aP-kI_QH-yK.js → SubTabSwitcher-CzGiuhk3-C7cKUv_v.js} +9 -9
- package/dist/assets/SuccessAnimation-DA3343II-B6vDBJ0_.js +13 -0
- package/dist/assets/SummaryCard-D61xzK3a-CfR23TFg.js +1 -0
- package/dist/assets/{TaskDetailPage-044JwAvz-CIchaLt5.js → TaskDetailPage-CyZxZdJB-DrITidSC.js} +22 -22
- package/dist/assets/TaskListScreen-DwAEl1NC.js +9 -0
- package/dist/assets/TaskManagementPage-ucVAdv7x-Msj3UnnC.js +1067 -0
- package/dist/assets/TaskRoutes-Bz1uRNCx.js +9 -0
- package/dist/assets/TimeRangeSwitcher-C3jXm39I-fOK0S_yE.js +64 -0
- package/dist/assets/TimeframeSwitcher-CcYg-YQJ-DfqszobX.js +31 -0
- package/dist/assets/TimeframeSwitcherWithToggle-w4YJno-p-mLBmOb3v.js +53 -0
- package/dist/assets/{TopExCard-BUjnGDUB-HxwM-fNF.js → TopExCard-D2PRxvFc-3B8t-gu0.js} +6 -6
- package/dist/assets/{TopExDetailPage-CNDkfc3u-IVplKWSE.js → TopExDetailPage-C0uHdU7N-CImodBfZ.js} +11 -11
- package/dist/assets/{TransactionActivityLogPage-kSQqJVpX-Dthtq0jn.js → TransactionActivityLogPage-CqYb19tY-MGx1R4Ww.js} +9 -9
- package/dist/assets/TransactionDetailPage-D-NR_yZG-CxUKWZX4.js +921 -0
- package/dist/assets/TransactionDetailRoutes-CpDSsFwB.js +1 -0
- package/dist/assets/TransactionDetailScreen-DfuoY_gg.js +5 -0
- package/dist/assets/TransactionList-f6yB-byH-FETk5Iif.js +157 -0
- package/dist/assets/{TransactionListBig-Bx_Rm9ho-Du7QkIGC.js → TransactionListBig-BrDWayQS-BY28Hg37.js} +27 -27
- package/dist/assets/TransactionListPage-C-Z62y2d-DONuCLTJ.js +35 -0
- package/dist/assets/TransactionListRoutes-Bw5edFOJ.js +1 -0
- package/dist/assets/TransactionVendorDetailPage-CQQuAR6V-DBSEzxOy.js +80 -0
- package/dist/assets/{TransferDrawerPage-BayVa6po-u89zHtOp.js → TransferDrawerPage-DfFm-1-3-BhX0O4LO.js} +27 -27
- package/dist/assets/TreasuryOverviewPage-CKSanlUG-CXaeORdV.js +725 -0
- package/dist/assets/{TreasuryPromoPage-BCjz1EKX-9FM2wcwv.js → TreasuryPromoPage-Dyip3H10-C2tUOOp5.js} +14 -14
- package/dist/assets/TreasuryRoutes-j5E27301.js +45 -0
- package/dist/assets/TreasuryStatementsPage-mljf2Van-DcI9l-or.js +58 -0
- package/dist/assets/TreasuryTaxLetterPage-D3cV3a-8-ZsZIzn5I.js +58 -0
- package/dist/assets/TrendChart-fFlHCvNx-QKskVgw6.js +16 -0
- package/dist/assets/TrendWithTransactions-It4KDov3-DY_vu1lx.js +116 -0
- package/dist/assets/{UncategorizedAccountsMappingPage-TGKYpC5A-DrDVb8s-.js → UncategorizedAccountsMappingPage-BxBz2Ce0-BJNWUYth.js} +8 -8
- package/dist/assets/{UnitIntegrationPage-mt2IjA5X-B0h7UR57.js → UnitIntegrationPage-gVgsk2ji-D4-73jRv.js} +5 -5
- package/dist/assets/UploadAdditionalDocumentOverlay-C5m8jqup-BRodE0Ls.js +38 -0
- package/dist/assets/{Vendor2FAPopup-DAOf5cJD-GFzHEit0.js → Vendor2FAPopup-DRwBzOwn-DD_9hpy1.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-By2Ya2bv-Cwsi_OAL.js +1 -0
- package/dist/assets/VendorDetailPage-jci1LqX3-BHXhYJF0.js +257 -0
- package/dist/assets/VendorDomesticWireDetailsPage-uIDE-n5v-uvktM6eq.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-CRnO7Ubw-CSnvYMK9.js → VendorFiling1099EditablePage-8pYT3u-X-BDiOOpIL.js} +20 -20
- package/dist/assets/VendorFirstReviewPage-CafakxA1-DGimiBs4.js +730 -0
- package/dist/assets/{VendorInternationalWireDetailsPage-HUtNyn9Z-C58PYE3l.js → VendorInternationalWireDetailsPage-DJeI-ZFW-Cgs5W7gM.js} +10 -10
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-Co-5nTam-xgR7Rh7n.js +1 -0
- package/dist/assets/{VendorsAccountsSection-D6Qa1zf9-CVqHH4cq.js → VendorsAccountsSection-YX2g8ETe-YNhvXO1d.js} +2 -2
- package/dist/assets/{VendorsRoutes-D3omEpvR.js → VendorsRoutes-n5RcX0Vf.js} +28 -28
- package/dist/assets/VerifyDevice-DeHW4GAi-ejYUh2le.js +112 -0
- package/dist/assets/{VideoPlayer-BRAgZThr-BbqnCIc-.js → VideoPlayer-DxIfGrPu-C3cW7OOT.js} +1 -1
- package/dist/assets/VideoPopup-CUP7ctgS-Cy6Bpggh.js +31 -0
- package/dist/assets/WiseConfirmationScreen-CJyMiRdY.js +12 -0
- package/dist/assets/ZeniAccountDetailPage-7NdkdSg3-trkVyM14.js +300 -0
- package/dist/assets/ZeniAccountListViewPage-B-cs_xnc-DkcNyo5a.js +443 -0
- package/dist/assets/ZeniAccountNavBarPieces-CjRip0v9-Bv00yUCA.js +33 -0
- package/dist/assets/{ZeniAccountPromoPage-BgYCHYLO-g5oLmJuT.js → ZeniAccountPromoPage-BikXtkeH-BWgu0hz6.js} +9 -9
- package/dist/assets/ZeniAccountRoutes-BdqNU648.js +58 -0
- package/dist/assets/{ZeniAccountSetupPage-CvnIMdcY-BSUOWmK4.js → ZeniAccountSetupPage-BRBsijVt-BBTbKTOF.js} +4 -4
- package/dist/assets/ZeniAccountStatementScreen-DVjRkXeL.js +9 -0
- package/dist/assets/{ZeniAvatar-CwHVUcMc-CqvMhhIi.js → ZeniAvatar-pjdoqfWE-DmYSRpHD.js} +3 -3
- package/dist/assets/{ZeniCopyright-BlLvlGZV-D_cpkbcT.js → ZeniCopyright-DDGvdmLF-CPeY3qcE.js} +1 -1
- package/dist/assets/{ZeniDatePicker-DCurorsW-D16AsniI.js → ZeniDatePicker-K3F-G3-0-pGSyeWuf.js} +6 -6
- package/dist/assets/ZeniTransferAmountSlider-Cdg0TlHk-B_jBC96s.js +63 -0
- package/dist/assets/{accountMappingHelper-DaPjToYl.js → accountMappingHelper-CMy_dzCB.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-DvLI4jaw.js → add-to-wallet-DgdBD8_G-DZDSR_90.js} +1 -1
- package/dist/assets/{analytics-BuacLKrs.js → analytics-Buyhprzd.js} +1 -1
- package/dist/assets/{analyticsHelper-CHcSxJdc.js → analyticsHelper-CTH_kB-0.js} +1 -1
- package/dist/assets/{analyticsHelper-CYr5V2MV-DP0yfEiC.js → analyticsHelper-D9xdJK4b-DkISjLhy.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-90lG1L3u.js → arrow-south-east-round-PEovUgvH-CxvC0Cnw.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-CL7RFrAP.js → auto-transfer-rule-mbafm5D3-BXD0aAHO.js} +1 -1
- package/dist/assets/{avatar-Dz7aEm3d--QTMwhPr.js → avatar-Dz7aEm3d-tC3a4UX-.js} +1 -1
- package/dist/assets/bank-letter-BOcVjN6J-B3HKnrvN.js +1 -0
- package/dist/assets/{calculateSize-Bn1NnCzV-SxKA7C8w.js → calculateSize-zPet_z9g-UKcDxIjM.js} +1 -1
- package/dist/assets/{chartTypes-40RenddT-D0AbAyeZ.js → chartTypes-Dq3hUz_T-DlStt0to.js} +1 -1
- package/dist/assets/{clock-CJkylEKt-Cp3w47l8.js → clock-CJkylEKt-BFtrn8ev.js} +1 -1
- package/dist/assets/common-kiEGPQ33-BvLj55nP.js +1 -0
- package/dist/assets/commonDimensions-CGHIQ2To-BVJ-7SGP.js +1 -0
- package/dist/assets/{commonTypes-DsWS6Ccc-D27m4dJL.js → commonTypes-BAJPaPYg-qcmBeNCl.js} +1 -1
- package/dist/assets/{core-twTS7Cne.js → core-5sxMy3sZ.js} +3 -38
- package/dist/assets/{dash.all.min-BOiJW2p5.js → dash.all.min-CTYaOyx7.js} +1 -1
- package/dist/assets/{decodeURIComponentSafe-B0iGosVv.js → decodeURIComponentSafe-BXr_Lgnt.js} +1 -1
- package/dist/assets/{dnd-BWijMgNi.js → dnd-Cfx_ai1S.js} +3 -3
- package/dist/assets/{dollar-round-D18u7nlm-CiBCyYiG.js → dollar-round-D18u7nlm-BAPPb_YV.js} +1 -1
- package/dist/assets/downloadPdf-BI2Y41h2-C3b-r1N_.js +1 -0
- package/dist/assets/{empty-BuEMRnA-.js → empty-CDKH4CBD.js} +1 -1
- package/dist/assets/empty-DLdEFiEn.js +1 -0
- package/dist/assets/epic-Bn4m6PJ6.js +2 -0
- package/dist/assets/{filter-cZIFUNvj-CH_l3zIc.js → filter-cZIFUNvj-DR0oScp6.js} +1 -1
- package/dist/assets/getLocaleForTenant-BPL6tSgt.js +1 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-BCDDcFDZ.js → gift-box-Cmt9OgIZ-CLkhO8vB.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-DVAyGHzA.js → graphic-no-data-l-DU4J8fDt-BXfLioW6.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-DlMg8P68.js → graphic-no-data-net-burn-l-CzmycA0m-DESi1ZUm.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-7TxvMz9v.js → handshake-BPg58FML-Cw8-rpU_.js} +1 -1
- package/dist/assets/{helper-BMiMbXMj-B-wSFTz-.js → helper-z5-P4a-y-DRvyDGbW.js} +2 -2
- package/dist/assets/{hyperlink-DQyCeXx2-DhYPEFJi.js → hyperlink-DQyCeXx2-DiF-LRfD.js} +1 -1
- package/dist/assets/index-B6cTzWKI.js +1 -0
- package/dist/assets/{index-k1doZNFg.js → index-BocbTmE1.js} +4430 -4492
- package/dist/assets/{empty-BAMh3RJk.js → index-Bsc8ZpcH.js} +1 -1
- package/dist/assets/{index-zkfIzc9c.js → index-DCFJ_6wy.js} +2 -8
- package/dist/assets/{index-Mx2SsGnu.js → index-XrFKA72B.js} +1 -1
- package/dist/assets/{index-DoiSNwZH.js → index-a2iFhnhM.js} +1 -1
- package/dist/assets/{lexical-CZE2Lq-0.js → lexical-BAlvZZhY.js} +1 -1
- package/dist/assets/{liveblocks-CM0QMS_I.js → liveblocks-BsQBjN-0.js} +17 -22
- package/dist/assets/{lottie-Bdr-9mLw.js → lottie-C2R6rGxS.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DrC2Zs2y-B2Wt05iy.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BkPRWtaj-CxIv2d9v.js → mapSectionWithAcOnlyToTreeNode-dsBogxKz-DAKgnUEj.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-DMDEaLzQ-lo7UbRO0.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-CW_wzI5T-BaeuL7EQ.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-DvfKBCs5-Dl1ySEwF.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-CGdkzFsp-CUYmne9-.js +1 -0
- package/dist/assets/{media-player-DTa5D54u.js → media-player-BX2lrCiw.js} +2 -2
- package/dist/assets/{money-2cg1MuG4-B6SZvN8P.js → money-2cg1MuG4-C1UnGCa2.js} +1 -1
- package/dist/assets/{mui-Bi07oTwe.js → mui-C_CXevf3.js} +3 -3
- package/dist/assets/{page-detail-CWX5S47F-y9rokQDc.js → page-detail-CWX5S47F-DCvximFz.js} +1 -1
- package/dist/assets/{page-summary-D7_VQHwN-pIoT3Pmw.js → page-summary-D7_VQHwN-BBMfUdRp.js} +1 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-Kk0Lc2Dj.js +3 -0
- package/dist/assets/{pathToGoBack-Md2zV7uG.js → pathToGoBack-D5dFRCuJ.js} +1 -1
- package/dist/assets/pdf-DyB_VHQx.js +13 -0
- package/dist/assets/{pdf-lib-CILJewzg.js → pdf-lib-BLLlynNv.js} +1 -1
- package/dist/assets/{plaid-Dw_qIY4R.js → plaid-Yyr3DBd8.js} +1 -1
- package/dist/assets/{pusher-DynBuu5N.js → pusher-CQAuuZH-.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-GKL562Zm.js → radio-default-CiSgisfh-HLL7c7Ix.js} +1 -1
- package/dist/assets/{react-Ar6ZOtfZ.js → react-B9pn5zl_.js} +2 -12
- package/dist/assets/{react-1mNX_DRd.js → react-BEZA9UfV.js} +2 -12
- package/dist/assets/{react-vzV2OwEE.js → react-BFykbpKw.js} +2 -12
- package/dist/assets/{react-CHxjXjfJ.js → react-BmJ9wc4M.js} +3 -13
- package/dist/assets/{react-Xs8hOk7X.js → react-CEO525cE.js} +2 -12
- package/dist/assets/{react-DiCJT7O0.js → react-COI-5ihT.js} +2 -12
- package/dist/assets/react-D7RjW9MW.js +19 -0
- package/dist/assets/{react-DvA2K4aW.js → react-YbLjyGgM.js} +2 -12
- package/dist/assets/{recharts-CS0s98U8.js → recharts-CTWfsY-L.js} +36 -36
- package/dist/assets/{routePaths-DiyiibEL.js → routePaths-_EQ7HBkZ.js} +1 -1
- package/dist/assets/{sentry-CytkDQe2.js → sentry-DINNQYpi.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-CuS9M_ww.js → shield-DOlUxcFf-DFaW8QSC.js} +1 -1
- package/dist/assets/{spend-limit-D6SyboD4-DuCQ_jaT.js → spend-limit-D6SyboD4-05QrBanM.js} +1 -1
- package/dist/assets/toCOABalancesWithID-P7keEtAg-CVzjqCh4.js +1 -0
- package/dist/assets/toChartData-BUf5HHim-BMyIU8Hn.js +1 -0
- package/dist/assets/{transaction-placeholder-CpOwZAMG-DuWev16q.js → transaction-placeholder-CpOwZAMG-kO6lyet9.js} +1 -1
- package/dist/assets/{undo-b_3XZ5CX-Cg47YjTI.js → undo-b_3XZ5CX-CAOnjxt9.js} +1 -1
- package/dist/assets/{unlock-BPWn2I5L-DplIQ8y4.js → unlock-BPWn2I5L-fA9hPtxv.js} +1 -1
- package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-BbiwxEOu.js +1 -0
- package/dist/assets/{uploadAttachment-BlLqRIXe-B6ElpyTj.js → uploadAttachment-DJA30WSD-Mme28mRP.js} +25 -25
- package/dist/assets/{uploadReceipts-Dge0cNF1-Co75nE7C.js → uploadReceipts-CqDftTRt-DnJMDyN6.js} +1 -1
- package/dist/assets/{url-DlqX0g3J.js → url-BnrMVJye.js} +1 -1
- package/dist/assets/{url-wSyZyUAL.js → url-dGBmezhj.js} +1 -1
- package/dist/assets/{useDeviceId-CW9B9UlH.js → useDeviceId-Dhw-GVYT.js} +1 -1
- package/dist/assets/useInitialThreadRequest-GWflkp6K.js +1 -0
- package/dist/assets/{useLongPress-GCK2COYQ-DxXBKjrG.js → useLongPress-GCK2COYQ-CI59nlOM.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-DHy4exHr.js → usp-line-BBd1wKwW-Bi23t2Q-.js} +1 -1
- package/dist/assets/{utils-CSjogEj5.js → utils-DmE88LS_.js} +15 -28
- package/dist/assets/withTransactionSidePanel-D4o5a7Hq.js +8 -0
- package/dist/assets/zeni-epic-state-a7Sj5mjO.js +14 -0
- package/dist/assets/{zeni-icon-only-C6-rv1y7.js → zeni-icon-only-COM3FcNM.js} +1 -1
- package/dist/index.html +1 -1
- package/dist/service-worker.js +16 -8
- package/package.json +4 -4
- package/dist/assets/AccountInfoPage-o7hTXtgZ-NjcAzXFT.js +0 -18
- package/dist/assets/AccountInfoPageContent-DqErO8FH-BeoOImtE.js +0 -149
- package/dist/assets/AccountRow-CpftykFx-BJ3WZo2I.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-vecchYEf-lmlcPBf7.js +0 -6
- package/dist/assets/AddressRoutes-BeSQWOrw.js +0 -1
- package/dist/assets/AddressScreen-CE8x2lDp.js +0 -9
- package/dist/assets/AiCfoScreen-BszigZh8.js +0 -11
- package/dist/assets/ApAgingDetailPage-BOV1WFVF-Bn0q4RYM.js +0 -46
- package/dist/assets/AppDrawerContent-Dc2sHnR3-B11HecZn.js +0 -92
- package/dist/assets/ApprovalRulesSettingsPage-BnbPSy4U-CIEnHFVH.js +0 -47
- package/dist/assets/ArAgingDetailPage-b_NpDpWj-B3kCWqKT.js +0 -46
- package/dist/assets/BankAccountWarningSection-yT2UAd12-DDru0TbG.js +0 -51
- package/dist/assets/BankConnectionsSettingsPage-CbxXykMM-DSyYDFRR.js +0 -425
- package/dist/assets/BillDetailPage-7TMkWo3V-Bx_V8TNq.js +0 -266
- package/dist/assets/BillPayApprovalRoutes-D-Lr-knt.js +0 -1
- package/dist/assets/BillPayApprovalRuleDetailPage-COyDRpaF-Cw59nmg3.js +0 -27
- package/dist/assets/BillPaySetUpPage-Cs5rkWBu-uFttJJzg.js +0 -42
- package/dist/assets/BusinessVerificationPage-1h0z3N9u-RMOZ1n1-.js +0 -138
- package/dist/assets/BusinessVerificationPageScreen-CsiX3KGh.js +0 -9
- package/dist/assets/BusyIndication-DizZe0Gu-1EWobmeT.js +0 -9
- package/dist/assets/ChargeCardListTable-DE72YU_i-CnPve3es.js +0 -711
- package/dist/assets/ChargeCardPromoPage-CPpNh89o-CvxWAl-t.js +0 -222
- package/dist/assets/CheckDepositDrawerPage-BrzeSj-3-qP1HtOIM.js +0 -206
- package/dist/assets/CollapsableReportTable-CDEe9s_E-BVFWKHUA.js +0 -2844
- package/dist/assets/CompanyPassportCard-B9ymV6Az-CvyAeev5.js +0 -42
- package/dist/assets/CompanyPassportScreen-UiOT42U6.js +0 -1
- package/dist/assets/CompleteProfile-C5n9b8gQ-BqfKsPPd.js +0 -52
- package/dist/assets/ConfettiBurst-BizTW0hz-BTsH0Adk.js +0 -1
- package/dist/assets/ConnectionAuthScreen-hHSL4PoV.js +0 -11
- package/dist/assets/CurrencySelectField-KvKyemY6-Bi0fspzF.js +0 -139
- package/dist/assets/CustomerOnboardingAuthScreen-DMW5eYly.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-CRjwWFLJ-p4P1_J3p.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-CWF_00EM-BKydcoC-.js +0 -66
- package/dist/assets/DashboardRoutes-CXkTMDXA.js +0 -21
- package/dist/assets/DepositAccTransactionItem-BY_OvuKg-BV-rFk5q.js +0 -76
- package/dist/assets/DepositAccTransactionListPage-a__bpCOB-CF9PDDNQ.js +0 -66
- package/dist/assets/DomesticWireDetailScreen-DacvZAfq.js +0 -18
- package/dist/assets/DomesticWireDetailsPage-BumMT4QM-xDzQX0lF.js +0 -21
- package/dist/assets/DownloadOverlay-DqiL3-FB-DATHjVq3.js +0 -439
- package/dist/assets/DrawerScreen-B1Tmjk6I.js +0 -1
- package/dist/assets/EditPeoplePage-BcsdEp_d-83JmqDcO.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-DNUmwdsH-BwDh21om.js +0 -865
- package/dist/assets/EntityDetailPage-DtX5TjBc-C1gOmTYV.js +0 -18
- package/dist/assets/EntityDetailRoutes-DH6Oay7j.js +0 -1
- package/dist/assets/ExpenseAutomationPage-B8C4BxoV-DDvaiJ6I.js +0 -2323
- package/dist/assets/ExpenseAutomationRoutes-CVAejH_S.js +0 -20
- package/dist/assets/FeaturePreviewScreen-DqxtfQjE.js +0 -1
- package/dist/assets/GlobalReviewListPage-4eiopkzw-B9-MVo2q.js +0 -291
- package/dist/assets/InsightsCardStack-fBAbQwhK-Ben65oUn.js +0 -79
- package/dist/assets/InsightsSection-De9zu_me-BVBRSj8O.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-CDf7equc-BWfDz-qh.js +0 -65
- package/dist/assets/InvitePeoplePage-Db4P4ZEq-D8yQs7Vc.js +0 -12
- package/dist/assets/InvoiceUploadSection-DYCjz9CI-CGqj6KTI.js +0 -140
- package/dist/assets/LabeledAddressValueField-C6-hVsPb-Cx3qxpIQ.js +0 -45
- package/dist/assets/LabeledControlledCheckBoxField-CgZg0uOW-CRnqdJf1.js +0 -16
- package/dist/assets/LabeledDocumentField-Bp9m-OrP-BZJ1R-di.js +0 -41
- package/dist/assets/LabeledText-DvzVOku6-C1r6b0lJ.js +0 -42
- package/dist/assets/MagicLinkACHDetailsPage-C494txw0-B6Ad2Ian.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-CONBCbOQ-BnDh5s_P.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-fSY3JGpz-DQpa109r.js +0 -1
- package/dist/assets/MagicLinkSignInScreen-CeYyqoa0.js +0 -12
- package/dist/assets/MagicLinkSuccessPage-BDRXSAO4-Te4RRaTi.js +0 -31
- package/dist/assets/MobileAppDrawer-B2Fzw8F_.js +0 -1
- package/dist/assets/MyProfileSettingsPage-L9WuP6HZ-D4wjrOZn.js +0 -85
- package/dist/assets/NavBarWithPicker-zmvBmWS1-C1LKFsDL.js +0 -30
- package/dist/assets/NavigationDots-Bv4tBDN3-CX4VVQFS.js +0 -15
- package/dist/assets/NotFoundScreen-BBemVqe2.js +0 -1
- package/dist/assets/NotificationRoutes-U-LaNI42.js +0 -1
- package/dist/assets/NotificationsListConfig-Bn1zmx6b-CgwI3kB8.js +0 -1
- package/dist/assets/NotificationsPage-DDwdR_Jq-CLxtwJ7_.js +0 -685
- package/dist/assets/OpExByVendorPage-DukFYlqO-DLkue9kB.js +0 -100
- package/dist/assets/OverlayContainerPage-D4QU0p4o-C-Icci7k.js +0 -11
- package/dist/assets/PandLWithForecastPage-Bgflh9Om-BLh8XrcC.js +0 -107
- package/dist/assets/PandLWithForecastRoutes-D-HhWNvF.js +0 -1
- package/dist/assets/PeoplePage-CDvKreQl-Br9fXMF2.js +0 -720
- package/dist/assets/PeopleRoutes-Dq51UjI9.js +0 -22
- package/dist/assets/PerformanceRoutes-cKruQlcS.js +0 -1
- package/dist/assets/ReferralListScreen-CSsSh4ih.js +0 -5
- package/dist/assets/ReimbursementApprovalRoutes-CVWnCLDW.js +0 -1
- package/dist/assets/ReimbursementApprovalRuleDetailScreen-DZcx_Ou3.js +0 -1
- package/dist/assets/ReimbursementDetailPage-oIC9QEyF-DlTQsBwh.js +0 -314
- package/dist/assets/ReimbursementRoutes-Djc8hIjc.js +0 -13
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-CeyGWbKR-CZtSd4TM.js +0 -1
- package/dist/assets/ReloadCard-DKGn1uxF-CkrmOtQv.js +0 -26
- package/dist/assets/ReportTableViewSelector-CXDvZEbR-B4WtL-_p.js +0 -150
- package/dist/assets/ReportsPage-BoUyXSBC-D_vUbcSy.js +0 -121
- package/dist/assets/ReportsRoutes-tnBiH82P.js +0 -1
- package/dist/assets/ReviewDetailsPage-tT1l4R2r-DKl8wtRU.js +0 -290
- package/dist/assets/RewardsRoutes-DS51i8ZJ.js +0 -1
- package/dist/assets/RoleWithToolTip-C8x5yXaK-oTqAGBzT.js +0 -22
- package/dist/assets/ScheduleDetailsFixedAssetsPage-Bkp0mCOn-NjexzQQI.js +0 -37
- package/dist/assets/ScheduleDetailsPage-Dg9rYJbn-mJi37FRF.js +0 -37
- package/dist/assets/ScheduleSequenceTable-J6Eja8XA-uTDNIyeO.js +0 -324
- package/dist/assets/ScreenRoutes-DvoBFpYl.js +0 -2
- package/dist/assets/SignIn-Cu2nzuEC-CgFcNFK3.js +0 -491
- package/dist/assets/SignInScreen-CCXIdR_f.js +0 -1
- package/dist/assets/SignOutScreen-nUR_nQi4.js +0 -9
- package/dist/assets/SpendManagementListViewPage-9V9u1jPF-CAhShlf6.js +0 -134
- package/dist/assets/SpendManagementPerTabPage-COvEPq7V-Enwnkp6K.js +0 -754
- package/dist/assets/SpendManagementSection-dT-N4bSQ-BU7QcxyK.js +0 -375
- package/dist/assets/StatementItem-g5tfNBjV-B8DjDGkB.js +0 -31
- package/dist/assets/StatementsPage-DaFrVUeK-Bb78Acqy.js +0 -58
- package/dist/assets/SuccessAnimation-oz7yQ6H3-mzE9epVx.js +0 -13
- package/dist/assets/SummaryCard-B9wqNSwM-BiOPMjla.js +0 -1
- package/dist/assets/TaskListScreen-BTd0K2Ah.js +0 -9
- package/dist/assets/TaskManagementPage-dAK9tl2b-B8eIax2u.js +0 -1063
- package/dist/assets/TaskRoutes-C34_uNkE.js +0 -9
- package/dist/assets/TimeRangeSwitcher-r1TNqVRb-ca11ciDj.js +0 -64
- package/dist/assets/TimeframeSwitcher-DHfHCTa4-CRY0pI2L.js +0 -31
- package/dist/assets/TimeframeSwitcherWithToggle-DvBvguRl-zevKhD94.js +0 -31
- package/dist/assets/TransactionDetailPage-f7vWtXWL-DFjYfEw-.js +0 -903
- package/dist/assets/TransactionDetailRoutes-D0IUp-c0.js +0 -1
- package/dist/assets/TransactionDetailScreen-DuZvqtgf.js +0 -5
- package/dist/assets/TransactionList-3-mUZOsw-kAZ-qL0T.js +0 -153
- package/dist/assets/TransactionListPage-q6x4_jni-D2QSW9vu.js +0 -35
- package/dist/assets/TransactionListRoutes-PB1J2m8T.js +0 -1
- package/dist/assets/TransactionVendorDetailPage-MjSH5hfq-BRDls23z.js +0 -80
- package/dist/assets/TreasuryOverviewPage-CuqWmrO5-Duo1If9V.js +0 -708
- package/dist/assets/TreasuryRoutes-BFHIVJGR.js +0 -45
- package/dist/assets/TreasuryStatementsPage-CGr00SXF-CPBafn5H.js +0 -58
- package/dist/assets/TreasuryTaxLetterPage-D9_qnlK4-BmLnB6xa.js +0 -58
- package/dist/assets/TrendChart-JTOG0a7B-B1HzEifS.js +0 -16
- package/dist/assets/TrendWithTransactions-CTJhTpAM-FxLucl6g.js +0 -116
- package/dist/assets/UploadAdditionalDocumentOverlay-DZfpwE5J-BZwjrrpj.js +0 -38
- package/dist/assets/VendorACHDetailsPage-CCOupiSZ-BPHL9d4l.js +0 -1
- package/dist/assets/VendorDetailPage-DufNphGD-DqlByCd7.js +0 -257
- package/dist/assets/VendorDomesticWireDetailsPage-BayV34Rt-Du-36wGx.js +0 -1
- package/dist/assets/VendorFirstReviewPage-DA0EL4RJ-CKfw2PVJ.js +0 -730
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-DRVMUeXi-ln7X-i9Z.js +0 -1
- package/dist/assets/VerifyDevice-B6B_nk3v-7J7PFtZ-.js +0 -112
- package/dist/assets/VideoPopup-C_SkBI9U-BL3_M3X0.js +0 -31
- package/dist/assets/WiseConfirmationScreen-DvushDs-.js +0 -12
- package/dist/assets/ZeniAccountDetailPage-Dp-eo-Vq-B3WRlZyy.js +0 -300
- package/dist/assets/ZeniAccountListViewPage-S-XmAYqD-BHUjzyQE.js +0 -441
- package/dist/assets/ZeniAccountNavBarPieces-DhjBxfEr-BkpO-_U2.js +0 -14
- package/dist/assets/ZeniAccountRoutes-JNlaxrz8.js +0 -58
- package/dist/assets/ZeniAccountStatementScreen-Df6Ut17b.js +0 -9
- package/dist/assets/ZeniTransferAmountSlider-BNYgPwHs-rAtxCD8c.js +0 -63
- package/dist/assets/common-DEB71I4X-D2h2kF8O.js +0 -1
- package/dist/assets/commonDimensions-BMnB1-xU-CuHaP4qo.js +0 -1
- package/dist/assets/detailCommon-CrcyqWtZ-Co4x3-EY.js +0 -38
- package/dist/assets/downloadPdf-CUUx8PWn-B-oFkl1r.js +0 -1
- package/dist/assets/epic-Dx6vN-UO.js +0 -2
- package/dist/assets/getLocaleForTenant-CY5R0VDK.js +0 -1
- package/dist/assets/index-BYeMrBg9.js +0 -1
- package/dist/assets/index-DO6IEWSk.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DGnyXKBT-BSjhxbWc.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-CvGdU9Ma-oI33_r0x.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-BCOsOvxo-BejLDcnD.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DIqYP3NK-CPJM42M2.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-Ch2rvcz4-DquHI1rq.js +0 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-Bh-ojoWH.js +0 -4
- package/dist/assets/pdf-emb33J2I.js +0 -13
- package/dist/assets/react-BL4qYNQl.js +0 -37
- package/dist/assets/toCOABalancesWithID-DkMGvlEt-DFgINRIk.js +0 -1
- package/dist/assets/toChartData-C6s-eBzE-BfIZvn48.js +0 -1
- package/dist/assets/useInitialThreadRequest-1tDzaux1.js +0 -1
- package/dist/assets/withTransactionSidePanel-kYDF1Rc9.js +0 -8
- package/dist/assets/zeni-epic-state-DyRbb6Q5.js +0 -122
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import{j as e}from"./pdf-emb33J2I.js";import{H5 as ee,cs as q,cz as M,cx as ae,CI as J,GP as se,p4 as we,H6 as W,oU as xe,pd as De,p7 as te,oY as ne,pb as je,p8 as Ie,H7 as oe,qG as ke,H8 as Ee,df as Pe,H9 as A,p1 as ie,o$ as re,ph as ve,bE as Te}from"./zeni-epic-state-DyRbb6Q5.js";import{J as le,aE as X,aG as j,je as z,jZ as de,e as ce,k8 as pe,jC as ue,k9 as Le,b as me,o as R,jF as he,O as ge,ka as Fe,jR as Oe,bc as Re,jl as fe,G as Ve,jA as Ue,kb as Ze,t as Be}from"./index-k1doZNFg.js";import{D as be,n as _,S as Ce}from"./mui-Bi07oTwe.js";import N from"./NotFoundScreen-BBemVqe2.js";import{a as i}from"./sentry-CytkDQe2.js";import{i as Y,l as $e,u as D,j as Ae,h as He,k as Ge,R as Q,m as $}from"./core-twTS7Cne.js";import{M as ze}from"./MobileAppDrawer-B2Fzw8F_.js";import"./lottie-Bdr-9mLw.js";import"./liveblocks-CM0QMS_I.js";import"./recharts-CS0s98U8.js";import"./dnd-BWijMgNi.js";import"./analytics-BuacLKrs.js";import"./plaid-Dw_qIY4R.js";import"./utils-CSjogEj5.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]="576c26c0-bcd1-499a-b083-2f7f3a0c0f1b",a._sentryDebugIdIdentifier="sentry-dbid-576c26c0-bcd1-499a-b083-2f7f3a0c0f1b")}catch{}})();const _e={overlayWidth:new me(100,100,58)},H=ge.getLocalizedStrings().peoplePage.invitePage,Ke=({companyId:a,managersListView:t,companyPassportView:r,classListView:n,mode:h,isEditPeopleDrawerOpen:o,closeDrawerHandler:y})=>{const g=le(),m=Y(),[V,k]=i.useState(!1),[U,S]=i.useState(!1),{userId:w}=$e(),d=D(c=>ee(c)),p=D(c=>q(c)),{useFeatureGate:f}=X(),{isFeatureEnabled:I}=f(j.isDebitCardFeatureEnabled),E=M(I,p),T=ae(p),L=J(p),Z=se(p),B=!!p.company?.featuresActivationInfo?.isReimbursementFeatureEnabled,x=!E&&n.fetchState!=="Completed"||t.fetchState!=="Completed"||r.fetchState!=="Completed"||a==null;if(z.getSignedInUser()==null)throw Error("Can't access invite people page without signing in...");const b=()=>{m(W()),y()},u=()=>{V===!0?S(!0):b()},P=r.companyView?.controllers?.map(c=>c.user),{isFeatureEnabled:v}=f(j.isDepositAccountsFeatureEnabled),{isFeatureEnabled:F}=f(j.isChargeCardFeatureEnabled),C=de(p,F,I),{isFeatureEnabled:O}=f(j.isTreasuryEnabled),s={peopleDetails:d,classList:n.classes,managersList:t.users,controllersList:P,mode:h,isZeniTenant:L,isReimbursementDisabled:B===!1,isZeniAccountsDisabled:v===!1,isChargeCardDisabled:C===!1,isTreasuryDisabled:O===!1,isLiteRoleDisabled:Z===!1,isBankingOnlyTenant:E,isCardsOnlyTenant:T,onResetClick:b,onDeleteUser:c=>{m(ne(c.userId,c.userRole.userRoleId))},onPeopleLocalDataUpdated:c=>{m(te({peopleLocalData:c})),k(!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:_e.overlayWidth.valuePercentage(g),boxShadow:"none"}},slotProps:{backdrop:{style:{backgroundColor:ce.overlayDark,cursor:"pointer"}}},onClose:u,children:e.jsxs(We,{onClick:c=>c.stopPropagation(),children:[U===!0?e.jsx(pe,{titleComponent:e.jsx(ye,{children:H.discardTitle}),descriptionComponent:e.jsx(Se,{children:H.discardDescription}),primaryButtonText:H.discard,secondaryButtonText:H.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})]})})},We=_(Ce)`
|
|
2
|
-
display: flex;
|
|
3
|
-
min-height: 100%;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
`,ye=_(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=_(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
|
-
`,qe={overlayWidth:new me(100,100,58)},G=ge.getLocalizedStrings().peoplePage.invitePage,Me=({companyId:a,managersListView:t,companyPassportView:r,classListView:n,mode:h,isInvitePeopleDrawerOpen:o,closeDrawerHandler:y})=>{const g=le(),m=Y(),[V,k]=i.useState(!1),[U,S]=i.useState(!1),w=D(l=>ee(l)),d=D(l=>q(l)),{useFeatureGate:p}=X(),{isFeatureEnabled:f}=p(j.isDebitCardFeatureEnabled),I=M(f,d),E=ae(d),T=J(d),L=se(d),Z=!!d.company?.featuresActivationInfo?.isReimbursementFeatureEnabled,B=!I&&n.fetchState!=="Completed"||t.fetchState!=="Completed"||r.fetchState!=="Completed"||a==null;if(z.getSignedInUser()==null)throw Error("Can't access invite people page without signing in...");const x=()=>{y(),m(W())},b=()=>{V===!0?S(!0):x()},u={onOkClick:()=>{S(!1),x()},onCancelClick:()=>{S(!1)}},P=r.companyView?.controllers.map(l=>l.user),{isFeatureEnabled:v}=p(j.isDepositAccountsFeatureEnabled),{isFeatureEnabled:F}=p(j.isChargeCardFeatureEnabled),C=de(d,F,f),{isFeatureEnabled:O}=p(j.isTreasuryEnabled),s={classList:n.classes,managersList:t.users,controllersList:P,mode:h,isZeniTenant:T,onPeopleLocalDataUpdated:l=>{m(te({peopleLocalData:l})),k(!0)},onResetClick:x,onSaveClick:()=>{m(h==="zeni_only"?je(a):Ie())},onCloseClick:b,peopleDetails:w,isReimbursementDisabled:Z===!1,isLiteRoleDisabled:L===!1,isZeniAccountsDisabled:v===!1,isChargeCardDisabled:C===!1,isTreasuryDisabled:O===!1,isBankingOnlyTenant:I,isCardsOnlyTenant:E};return i.useEffect(()=>{w.invitePersonState.fetchState==="Completed"&&(y(),m(W()))},[w.invitePersonState.fetchState]),e.jsx(be,{anchor:"right",open:o,PaperProps:{style:{width:qe.overlayWidth.valuePercentage(g),boxShadow:"none"}},slotProps:{backdrop:{style:{backgroundColor:ce.overlayDark,cursor:"pointer"}}},onClose:b,children:e.jsxs(Je,{onClick:l=>l.stopPropagation(),children:[U===!0?e.jsx(pe,{titleComponent:e.jsx(ye,{children:G.discardTitle}),descriptionComponent:e.jsx(Se,{children:G.discardDescription}),primaryButtonText:G.discard,secondaryButtonText:G.no,action:u}):null,B?e.jsx(ue,{fetchState:"In-Progress",style:{height:"calc(100vh - 110px)"}}):e.jsx(Fe,{...s})]})})},Je=_(Ce)`
|
|
19
|
-
display: flex;
|
|
20
|
-
min-height: 100%;
|
|
21
|
-
flex-direction: column;
|
|
22
|
-
`,Xe=Ge(function(a,t){const r=oe(a),n=z.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,y)=>{a(ne(o,y))},onResendInvite:o=>{a(ve(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}))}}}})(Ze);function K({isInvitePeopleDrawerOpen:a,isEditPeopleDrawerOpen:t}){const r=Ae(),n=Y(),h=He(),{areTenantIdsInSync:o}=Oe(),y=z.getSignedInUser(),g=D(s=>q(s)),{useFeatureGate:m}=X(),{isFeatureEnabled:V}=m(j.isDebitCardFeatureEnabled),k=!M(V,g),U=J(g),S=g?.tenantId,{tenantEmailDomain:w}=g,[d,p]=i.useState(!1),[f,I]=i.useState(!1),[E,T]=i.useState(!1),[L,Z]=i.useState("off"),[B,x]=i.useState(!1),b=s=>{x(s)},u=D(s=>oe(s)),P=D(s=>ke(s.classState,s.classListState)),v=D(s=>Ee(s.userState,s.userRoleState,s.userListViewState,"manager")),F=D(s=>Pe(s)),C=g?.companyId;i.useEffect(()=>{d&&L===u.uiState.mode||!o||(n(A({searchText:"",sortKey:"name",sortOrder:"ascending"})),Z(u.uiState.mode),p(!0),n(ie()))},[d,y,S,n,u.uiState.mode,o]),i.useEffect(()=>{C!=null&&o&&n(re(C,k))},[C,k,o]),i.useEffect(()=>{I(a!=null&&a===!0),T(t!=null&&t===!0&&t)},[a,t]),i.useEffect(()=>{n(A({searchText:"",sortKey:"name",sortOrder:"ascending"}))},[]);const O=()=>{I(!1),T(!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(Me,{closeDrawerHandler:O,isInvitePeopleDrawerOpen:f,managersListView:v,companyPassportView:F,classListView:P,companyId:C,mode:u.uiState.mode}):null,E===!0?e.jsx(Ke,{closeDrawerHandler:O,isEditPeopleDrawerOpen:E,managersListView:v,companyPassportView:F,classListView:P,companyId:C,mode:u.uiState.mode}):null,e.jsx(ze,{isAppContentDrawerOpen:B,handleDrawerToggle:b}),e.jsx(Xe,{navigate:r,signedInUser:y,isZeni:g.isZeni,isZeniTenant:U,peopleUIState:u.uiState,companyId:C,shouldFetchClasses:k,classList:P,managersView:v,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=Be();return Te(a?.loggedInUserRole??[])?e.jsxs(Q,{children:[e.jsx($,{path:"/",element:e.jsx(K,{})}),e.jsx($,{path:"new",element:e.jsx(K,{isInvitePeopleDrawerOpen:!0})}),e.jsx($,{path:":userId/edit",element:e.jsx(K,{isEditPeopleDrawerOpen:!0})}),e.jsx($,{path:"*",element:e.jsx(N,{})})]}):e.jsx(Q,{children:e.jsx($,{path:"*",element:e.jsx(N,{})})})}export{ua as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as n}from"./pdf-emb33J2I.js";import C from"./NotFoundScreen-BBemVqe2.js";import{a as r}from"./sentry-CytkDQe2.js";import{j as _,h as E,u as p,l as M,i as v,N as U,k as z,R as A,m as h}from"./core-twTS7Cne.js";import{cs as F,MK as b,bn as O,bm as P,ex as V,ef as B}from"./zeni-epic-state-DyRbb6Q5.js";import{w as K,je as I,lZ as N}from"./index-k1doZNFg.js";import"./mui-Bi07oTwe.js";import{M as Z}from"./MobileAppDrawer-B2Fzw8F_.js";import"./lottie-Bdr-9mLw.js";import"./liveblocks-CM0QMS_I.js";import"./recharts-CS0s98U8.js";import"./dnd-BWijMgNi.js";import"./analytics-BuacLKrs.js";import"./plaid-Dw_qIY4R.js";import"./utils-CSjogEj5.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]="b4214f5c-b27d-4af6-8082-65340d50688a",e._sentryDebugIdIdentifier="sentry-dbid-b4214f5c-b27d-4af6-8082-65340d50688a")}catch{}})();const $=z(function(e){const t=I.getSignedInUser(),d=e.tenantState.currentTenantId,o={userId:t?.userId??"",sessionId:t?.zeniSessionId??"",tenantId:d??""},{aggregatedReportViewState:s}=b(e);return{authParams:o,isDisabled:!1,loggedInUser:t,aggregatedReport:s}},function(e,t){return{onBackClick:()=>{t.navigate("../../")},onClickMenuIcon:()=>{t.handleDrawerToggle(!0)}}})(N),q=()=>{const e=_(),t=E(),d=K(),o=p(a=>F(a)),{aggregatedReportViewState:s}=p(a=>b(a)),{tenantEmailDomain:g}=M(),m=v(),l=I.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,k=P(l),y=j||x||k,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(!y)return n.jsx(U,{to:`/${g}/dashboard`,replace:!0});const f=a=>{S(a)};return n.jsxs(n.Fragment,{children:[n.jsx(Z,{isAppContentDrawerOpen:w,handleDrawerToggle:f}),n.jsx($,{navigate:e,location:t,themeState:d,currentTenant:o,signedInUser:l,tenantEmailDomain:g,onReload:D,onTimeRangeSelect:R,handleDrawerToggle:f})]})};function ie(){return n.jsxs(A,{children:[n.jsx(h,{path:"*",element:n.jsx(q,{})}),n.jsx(h,{path:"*",element:n.jsx(C,{})})]})}export{ie as default};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import{j as t}from"./pdf-emb33J2I.js";import{a as o}from"./sentry-CytkDQe2.js";import{u,j as L,i as A,h as F,k as M}from"./core-twTS7Cne.js";import{y as N,J as V,je as S,kN as W,b as _,jR as U,jC as $,bc as G,jl as l,G as K,jX as z,kO as X}from"./index-k1doZNFg.js";import{cD as q,cs as Q,JA as R,JB as Y,JC as Z,pK as ee,pA as h,cF as ae,pF as re,JD as ne}from"./zeni-epic-state-DyRbb6Q5.js";import{D as te,e as se,n as oe,S as ie}from"./mui-Bi07oTwe.js";import{M as le}from"./MobileAppDrawer-B2Fzw8F_.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="86f2b0c5-ed2d-4547-b74d-7acb52ca31c9",e._sentryDebugIdIdentifier="sentry-dbid-86f2b0c5-ed2d-4547-b74d-7acb52ca31c9")}catch{}})();const ce={overlayWidth:new _(100,100,30)},de=({isReferralDrawerOpen:e,closeDrawerHandler:a})=>{const r=N(),s=V();if(S.getSignedInUser()==null)throw Error("Can't access How Referral works without signing in...");const i=()=>{a(!0)},p=u(c=>q(c));return t.jsx(te,{anchor:"right",open:e,PaperProps:{style:{width:ce.overlayWidth.valuePercentage(s),boxShadow:"none"}},slotProps:{backdrop:{style:{opacity:.75,backgroundColor:r.colors.black,cursor:"pointer"}}},onClose:()=>i(),children:t.jsx(se,{in:e,direction:"left",children:t.jsx(fe,{onClick:c=>c.stopPropagation(),children:t.jsx(W,{onDismissClick:i,rewardsPlan:p.rewardsPlan})})})})},fe=oe(ie)`
|
|
2
|
-
display: flex;
|
|
3
|
-
min-height: 100%;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
`,j="refer-and-earn-status-update",ue=M(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===j&&e(h(!0,!0))}}})(z(X));function ve({isReferralDrawerOpen:e}){const a=L(),r=A(),s=F(),[i,p]=o.useState(!1),[c,I]=o.useState(!1),[P,D]=o.useState(!1),[C,b]=o.useState(!1),w=S.getSignedInUser(),v=u(n=>Q(n)),g=u(n=>R(n)),k=g.fetchState,d=u(n=>n.referralViewState.rewardsPlanFetchState),x=()=>{b(!1),a("..")},E=Y([g,d]),B=Z([g,d]),{areTenantIdsInSync:f}=U();o.useEffect(()=>{v?.rewardsLastViewedTime==null&&P===!1&&(r(ee()),D(!0))},[]),o.useEffect(()=>{!i&&k==="Not-Started"&&f&&(p(!0),r(h(!0)))},[k,r,f]),o.useEffect(()=>{!c&&d.fetchState==="Not-Started"&&f&&(I(!0),r(ae(!0)))},[d,r,f]),o.useEffect(()=>{b(e!=null&&e===!0)},[e]);const[O,T]=o.useState(!1),m=n=>{T(n)},H={events:w?.userId!=null?[`private-${w.userId}.${j}`]:[],eventCallback:(n,y,J)=>{J.onEventReceived(n)}};return B===!0?t.jsx($,{fetchState:k}):E===!0?t.jsxs(t.Fragment,{children:[t.jsx(G,{analytics:l,onLoad:n=>(y=>{w!=null&&y.trackPageLoaded(K.Event.rewardsPageViewed)})(n)}),t.jsx(le,{isAppContentDrawerOpen:O,handleDrawerToggle:m}),C===!0?t.jsx(de,{closeDrawerHandler:x,isReferralDrawerOpen:C}):null,t.jsx(ue,{location:s,navigate:a,currentTenant:v,onClickMenuIcon:()=>{m(!0)},...H})]}):null}export{ve as R};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as t}from"./pdf-emb33J2I.js";import x from"./NotFoundScreen-BBemVqe2.js";import{a as p}from"./sentry-CytkDQe2.js";import{j as I,h as A,i as C,u,N as E,k,R as D,m as c}from"./core-twTS7Cne.js";import{cs as T,Kv as y,KL as g,yq as V,xz as _,yp as m,yg as U,K_ as K}from"./zeni-epic-state-DyRbb6Q5.js";import{y as $,je as N,jC as O,jX as W,ll as q,k3 as z}from"./index-k1doZNFg.js";import"./mui-Bi07oTwe.js";import{R as h}from"./ReimbursementApprovalRuleDetailScreen-DZcx_Ou3.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="0ba7352c-a768-49af-a737-4123051acf3d",e._sentryDebugIdIdentifier="sentry-dbid-0ba7352c-a768-49af-a737-4123051acf3d")}catch{}})();const d="reimbursement-approval-rule-update",B=k(function(e){return{approvalView:y(e),remiSetupApproverViewUpdateData:g(e).remiSetupApproverViewUpdateData}},function(e,r){const{navigate:a,location:l}=r;return{onApprovalRulesEventReceived:n=>{n.endsWith(d)&&e(K(!1))},onBackClick:()=>{z(l)?a("../../"):a("../../../reimbursements/setup")},onDeleteRuleClick:n=>{e(U(n))},onEditRuleClick:n=>{n!=null?(e(m(n)),a(`./${n}/edit`)):(e(m()),a("./new"))}}})(W(q)),L=()=>{const e=I(),r=A(),a=C(),[l,n]=p.useState(!1),[f,S]=p.useState(!1),v=u(s=>s.remiSetupApproverViewState.fetchState),o=u(s=>T(s)),j=$(),i=u(s=>y(s)),b=u(s=>g(s).remiSetupApproverViewUpdateData);if(p.useEffect(()=>{b?.updateStatus.fetchState==="Completed"&&a(V())},[b]),p.useEffect(()=>{l||v!=="Not-Started"||(n(!0),a(_(!0)))},[l,v,a]),N.getSignedInUser()==null)throw Error("Can't access reimbursement approval without signing in...");p.useEffect(()=>{i.allApprovalRules.length===0&&i.fetchState==="Completed"&&(f||(S(!0),a(m())),e("./new"))},[f,i,a]);const w={events:o.companyId!=null?[`private-${o.companyId}.${d}`]:[],eventCallback:(s,P,R)=>{s.endsWith(d)&&R.onApprovalRulesEventReceived(s)}};return o.companyReimbursementInfo?.info?.isReimbursementTOSAccepted===!1?t.jsx(E,{to:"../../promo"}):o.companyReimbursementInfo?.info?.isReimbursementTOSAccepted!==!0||i.fetchState!=="Completed"&&i.fetchState!=="Error"?t.jsx(O,{fetchState:"In-Progress",style:{backgroundColor:j.colors.grey5}}):t.jsx(B,{currentTenant:o,location:r,navigate:e,...w})};function Z(){return t.jsxs(D,{children:[t.jsx(c,{path:"/",element:t.jsx(L,{})}),t.jsx(c,{path:"/new",element:t.jsx(h,{})}),t.jsx(c,{path:"/:approvalRuleId/edit",element:t.jsx(h,{})}),t.jsx(c,{path:"*",element:t.jsx(x,{})})]})}export{Z as R};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as g}from"./pdf-emb33J2I.js";import{a as y}from"./sentry-CytkDQe2.js";import{j as w,i as A,h as T,l as U,u as b,k as E}from"./core-twTS7Cne.js";import{KL as R,Kv as C,yj as x,ys as _,yq as S,yr as h,KM as k}from"./zeni-epic-state-DyRbb6Q5.js";import{je as j,y as B,jC as V,lc as F,k3 as O}from"./index-k1doZNFg.js";import"./mui-Bi07oTwe.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="cd0530f0-7394-4100-97c0-0b6177252dcc",e._sentryDebugIdIdentifier="sentry-dbid-cd0530f0-7394-4100-97c0-0b6177252dcc")}catch{}})();function $(e){return k(e)==null}const K=E(function(e,a){const t=R(e),s=t.remiSetupApproverViewUpdateData?.type??"approval_create",n=s==="approval_create"&&t.allApprovalRules.length!==0;let l=t.allApprovalRules.length===0;return a.approvalRuleId&&(l=t.allApprovalRules.findIndex(r=>r.approvalRuleId===a.approvalRuleId)===0),{localData:t,hideUpperBoundField:n,isLowerBoundDisabled:l,approvalUpdateActionType:s}},function(e,a){const{navigate:t,approvalUpdateDataView:s,approverViewData:n,approvalRuleId:l}=a,r=s.remiSetupApproverViewUpdateData?.type,i=O(a.location);return{onApprovalRuleDataUpdated:o=>{const c=p=>{const v=[];return p.forEach(u=>{const D=u.actors.selectedUsers.map(d=>({type:"user",subType:void 0,userId:d.userId,idType:"user",isImplicitActor:!1})),I=u.actors.selectedNonUsers.map(d=>{const m=!!$(d.value);return{type:m?"attribute":"role",subType:d.value,userId:void 0,idType:void 0,isImplicitActor:!m}}),f=D.concat(I);v.push({action:u.stepType.selectedOption,actors:f,operator:f.length>1?u.stepType.selectedOption==="require_approval"?"or":"and":"is"})}),v};if(r==="approval_create"){const p={criteria:{rangeType:"range",rangeEntity:"currency",range:{min:{amount:o.lowerBound,currencyCode:"USD",currencySymbol:"$"},max:{amount:o.upperBound,currencyCode:"USD",currencySymbol:"$"}}},steps:c(o.steps),isApplicableOnPendingApprovalEntity:o.applyToExistingReimbursements.includes("applyToExistingReimbursements")};e(h(p))}else{const p={approvalRuleId:l,criteria:{rangeType:"range",rangeEntity:"currency",range:{min:{amount:o.lowerBound,currencyCode:"USD",currencySymbol:"$"},max:{amount:o.upperBound,currencyCode:"USD",currencySymbol:"$"}}},steps:c(o.steps),isApplicableOnPendingApprovalEntity:o.applyToExistingReimbursements.includes("applyToExistingReimbursements")};e(h(p))}},onResetClick:()=>{e(S()),r==="approval_update"||i?t("../"):n.allApprovalRules.length===0&&n.fetchState==="Completed"?t("../../setup"):t("../")},onBackClick:()=>{e(S()),r==="approval_update"||i?t("../"):n.allApprovalRules.length===0&&n.fetchState==="Completed"?t("../../setup"):t("../")},onSaveRuleClick:()=>{e(_())},onSaveRuleSuccess:()=>{t("../")}}})(F);function G(){const e=w(),a=A(),t=T(),{approvalRuleId:s}=U(),n=j.getSignedInUser(),l=B(),r=b(p=>R(p)),i=b(p=>C(p)),[o,c]=y.useState(!1);if(y.useEffect(()=>{o||(c(!0),a(x(!0)))}),y.useEffect(()=>{i.fetchState==="Not-Started"&&e(s!=null?"../../":"../")},[i,s]),n==null)throw Error("Can't access address page without signing in...");return r.approversDetailsFetchStatus.fetchState=="Not-Started"||r.approversDetailsFetchStatus.fetchState==="In-Progress"?g.jsx(V,{fetchState:r.approversDetailsFetchStatus.fetchState,style:{backgroundColor:l.colors.grey5}}):g.jsx(K,{navigate:e,approvalUpdateDataView:r,approvalRuleId:s,approverViewData:i,location:t})}export{G as R,$ as i};
|
|
@@ -1,314 +0,0 @@
|
|
|
1
|
-
import{t as Dt,c as Ct,J as zt,y as kt,bz as At,b as m,O as et,fy as Mt,fA as Rt,fB as Bt,V as t,bK as Ae,bL as Me,bM as Re,a_ as Be,a6 as y,aM as Pt,cK as Nt,fC as Lt,fN as Pe,o as a,fD as Ne,eD as g,fG as w,eG as x,a4 as Le,eC as Oe,j as V,fI as We,a9 as Ot,m as Wt,fJ as Et,fK as re,aV as _t,fL as Ft,a8 as Kt,H as Ut,B as Vt,s as tt,at as it,e as G,W as Gt,bi as Yt,x as Ht,g2 as qt,f$ as Jt,u as c,bB as Zt,cf as Qt}from"./index-k1doZNFg.js";import{a as p}from"./sentry-CytkDQe2.js";import{n as r}from"./mui-Bi07oTwe.js";import{_ as Xt}from"./liveblocks-CM0QMS_I.js";import{bG as ei,b_ as ti,Fl as ii}from"./zeni-epic-state-DyRbb6Q5.js";import ai from"./InvoiceUploadSection-DYCjz9CI-CGqj6KTI.js";import{r as ri,h as f,u as ni}from"./types-DyvtCprH-VF9iATMs.js";import"./pdf-emb33J2I.js";import"./core-twTS7Cne.js";import"./lottie-Bdr-9mLw.js";import"./dnd-BWijMgNi.js";import"./analytics-BuacLKrs.js";import"./plaid-Dw_qIY4R.js";import"./recharts-CS0s98U8.js";import"./utils-CSjogEj5.js";import"./AttachmentView-DB_V1qT1-CUnw9dFs.js";import"./uploadReceipts-Dge0cNF1-Co75nE7C.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},C=new e.Error().stack;C&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[C]="ce6b838f-55b1-4e96-a3c7-a35d01301b69",e._sentryDebugIdIdentifier="sentry-dbid-ce6b838f-55b1-4e96-a3c7-a35d01301b69")}catch{}})();const s={labelWidth:new m(120,160,160),largeLabelWidth:new m(150,235,235),rightMargin:new m(c[3],c[8]),leftMargin:new m(c[3],c[6]),invoiceRightMargin:new m(c[3],c[6]),invoiceLeftMargin:new m(c[3],c[8]),topMargin:new m(c[3],0),bottomMargin:new m(c[4],27),activityBottomMargin:new m(96,0),totalBottomMargin:new m(c[5],c[3]),formBottomMargin:new m(c[5],c[3]),navBarHeight:new m(44,62),closeMarginTop:new m(0,0),rightSectionWidth:new m(100,58),leftSectionWidth:new m(100,42),footerButtonWidth:new m(120,165),right:new m(c[3],c[0]),actionsContainerRight:new m(c[0],c[6]),otherActionsContainerBottom:new m(58,44),duplicateBannerWrapperMarginTop:new m(c[5],c[3]),duplicateBannerWrapperMarginRight:new m(c[3],c[8]),duplicateBannerWrapperMarginBottom:new m(c[5],c[3]),duplicateBannerWrapperMarginLeft:new m(c[3],c[6])},oi={formTitle:new Ut("h6Regular","h5Regular")},na=({remiDetails:e,uploadInvoiceEndPoint:C,authParams:oe,isAdmin:le,signedInUser:se,showApproveRejectBtns:de,isRealTimeApprovalEnabled:ce,isReimbursementCommentingEnabled:u,isShowDeletedReimbursementEnabled:me,isSignedInUserReimbursementCreator:at,updateEditRealTimeApproverClicked:pe,onSaveRealTimeApprovals:ue,redirectToReimbursementListScreen:Y,redirectToEditableReimbursementScreen:rt,onDuplicateLineClick:nt,approveOrRejectRemi:he,deleteReimbursement:ot,cancelAndDeleteReport:ye,handleZeniLogoClick:lt,onAddNewRule:be,initialOpenThreadRequest:k})=>{const d=Dt(),st=Ct().analytics,n=zt(),ge=kt(),[dt,A]=p.useState(!1),[H,q]=p.useState(!1),[ct,J]=p.useState(!1),[Z,Q]=p.useState("approved"),N=p.useRef(null),[S,X]=p.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[z,mt]=p.useState(null),[pt,L]=p.useState(!1),h=`dashboard_${d.currentTenant?.companyId}`,we=p.useRef({}),xe=l=>{const o=we.current[l];o!=null&&setTimeout(()=>ni(o,N.current),100)};p.useEffect(()=>{(e.deleteStatus.fetchState==="Completed"||e.approvalUpdateStatus.fetchState==="Completed"||e.cancelAndDeleteStatus.fetchState==="Completed")&&Y()},[e,Y]),p.useEffect(()=>{const l=window.location.hash;if(l&&l.startsWith("#L")){const o=l.substring(1);xe(o)}},[]),At({componentName:"reimbursement.details"});const ut={onOkClick:()=>{A(!1),S.primaryButtonText===i.buttons.delete?ot?.():S.title===i.cancelReportTitle?ye?.():S.title===i.cancelAndDeleteReportTitle&&ye?.(!0)},onCancelClick:()=>{A(!1)}},I=s.labelWidth.value(n),M=s.largeLabelWidth.value(n),fe=et.getLocalizedStrings(),{common:{texts:{comments:ht},strings:{empty:ve}},collaboration:{threads:{placeholder:{addANewComment:yt,replyAComment:bt},tooltip:{resolveComment:gt,unResolveComment:wt}}},dateFormat:$e}=fe,{reimbursementDetail:i,bulkActions:O}=fe.spendManagement.reimbursement,ee=e.remiDetails?.reportTitle,j=e.remiDetails?.lines??[],W=e.remiDetails?.reimbursementInfo.stage,E=e.remiDetails?.reimbursementInfo.billStatus,_=e.remiDetails?.reimbursementInfo.billPaymentStatus,Te=W?.code==="paid",xt=Te?W:E?.code=="approved"&&_?.code?_:E,v=li(e.remiDetails),R=E?.code=="approved"&&_?.code?_:E,F=e.remiDetails?.isDeleted??!1,je=e.remiDetails?.amount,Se=e.remiDetails?.amount.amount??0,Ie=()=>{X({title:e.remiDetails?.reimbursementInfo.stage.code==="draft"?i.deleteDraftTitle:i.deleteReportTitle,description:i.deleteAlertDescription,primaryButtonText:i.buttons.delete,secondaryButtonText:i.buttons.cancel}),A(!0)},De=()=>{rt()},ft={onOkClick:l=>{J(!1),he({reimbursementId:e.remiDetails?.id??"",type:"rejected",description:l})},onCancelClick:()=>{J(!1)}},vt=e.remiDetails?.reimbursementInfo.paymentDate!=null?ei(ti(e.remiDetails.reimbursementInfo.paymentDate.toDate(),[0,6],e.achSameDayMaxDays).toDateString()):void 0,te=e.remiDetails?.reimbursementInfo.expectedDepositDate??vt,$t=e.remiDetails?.lines?.some(l=>{const o=l.lineDetail;return o?.account?.isDeleted===!0&&o?.account?.isBillEditableCoaAccountType===!1})??!1,Ce=e.remiDetails?.reimbursementInfo.billStatus.code==="pending_approval"&&at&&!$t,Tt=e.remiDetails?.reimbursementInfo.billStatus.code!=="rejected"&&e.remiDetails?.reimbursementInfo.billPaymentStatus.code!=="paid",ie=xt?.code,jt=ri(e.duplicateLineByLineId),ze=e.duplicateReimbursementStatus.fetchState==="Completed"&&jt>0,{requestToOpenThread:ae,setRequestToOpenThread:K,setOpenThread:U}=p.useContext(Mt);p.useEffect(()=>{k?.threadId!=null&&k?.companyId!=null&&k?.entityType!=null&&K(k)},[k,K]);const{threads:B,isLoading:D}=Rt({application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id,isGlobalComment:!1},"both",!1),St=p.useMemo(()=>B.filter(l=>l.resolved===!1&&!l.id.includes(Bt)),[B]).length,It=p.useCallback((l,o)=>{U(o),L(!1)},[U,L]);p.useEffect(()=>{ae?.threadId!=null&&B.length>0&&!D&&(U(ae.threadId),K(null))},[ae,B,D,U,K]);const b={application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id},P=ii(e.remiDetails?.bulkProcessingDetail?.type);return t.jsxs(Bi,{windowSize:n,ref:N,children:[dt?t.jsx(Ae,{titleComponent:t.jsx(Re,{children:S.title}),descriptionComponent:t.jsx(Me,{children:S.description}),primaryButtonText:S.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:S.secondaryButtonText,action:ut}):null,ct?t.jsx(Ae,{titleComponent:t.jsx(Re,{children:`${i.rejectRemiTitlePrefix} ${e.remiDetails?.reportTitle??""} by ${e.createdBy?.firstName??""} ${e.createdBy?.lastName??""}`}),descriptionComponent:t.jsx(Me,{children:i.rejectRemiDescription}),primaryButtonText:i.buttons.send,secondaryButtonText:i.buttons.cancel,action:ft,isEditPopup:!0,isNotesIncluded:!0,notesPlaceholder:i.rejectRejectReasonPlaceholder}):null,t.jsxs(Di,{windowSize:n,"data-testid":y("reimbursement-detail-page-nav-bar-container"),children:[n!=="small"?t.jsx(Be,{"data-testid":y("reimbursement-detail-page-nav-bar-left"),style:{width:"42%"},title:"",leftSideComponent:t.jsx(Ci,{onClick:()=>lt?.(),"data-testid":y("remi-detail-page-nav-bar-zeni-logo")}),enableTitleOnScroll:!1,backgroundColor:ge.colors.background,keepBackgroundOnScroll:!0,scrollableContent:N,source:"ReimbursementDetailPage"}):null,n!=="small"?t.jsx(ji,{}):null,t.jsx(Be,{"data-testid":y("reimbursement-detail-page-nav-bar-right"),title:ee??ve,leftSideComponent:t.jsx(t.Fragment,{}),style:{width:n!=="small"?"58%":"100%"},rightSideComponent:t.jsxs(ki,{children:[u?t.jsxs(Ai,{isDisabled:D,onClick:D?()=>null:l=>{l.preventDefault(),l.stopPropagation(),mt({roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityType:"reimbursement.details",entityId:e.remiDetails?.id??""}),L(!0),st.trackCommentActivity("reimbursement","clicked",d.currentTenant?.companyName??"",d.controllersList.controllers.map(o=>Nt(o)),void 0,void 0,"page icon")},"data-testid":y("remi-comments-section"),children:[t.jsx(Pt,{count:D?void 0:St,isLoading:D,style:{left:"12px"}}),t.jsx(Mi,{})]}):null,t.jsx(Ri,{size:n,onClick:()=>{Y()},"data-testid":y("remi-detail-page-close"),children:t.jsx(zi,{})})]}),scrollableContent:N,enableTitleOnScroll:n!=="small",scrollThreshold:64,source:"ReimbursementDetailPage"})]}),t.jsxs(_i,{children:[n==="small"?t.jsxs(t.Fragment,{children:[t.jsx(qe,{windowSize:n,children:t.jsx(Je,{windowsSize:n,children:ee})}),e.createdBy?.userId!=null?t.jsx(Ve,{windowSize:n,children:`${i.by} ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,me&&v!=null?t.jsx(Ge,{color:v.color,bgColor:v.bgColor,borderColor:v.borderColor,children:v.value}):null,R?.code!=null?n==="small"?t.jsxs(t.Fragment,{children:[t.jsx(Lt,{progressSectionObj:R,createDate:e.remiDetails?.createTime,paymentDate:te,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:F}),P?t.jsx(Pe,{variant:"warning",style:{margin:`${a.sp5} ${a.sp3}`},title:O.duplicateWarning.title,description:O.duplicateWarning.description}):ze?t.jsxs(Ee,{size:n,children:[t.jsx(Ue,{}),t.jsxs(Fe,{children:[t.jsx(_e,{children:i.thereSeems}),t.jsx(Ke,{children:i.pleaseFind})]})]}):null]}):t.jsx(He,{windowSize:n,children:t.jsx(Ne,{progressSectionObj:R,createDate:e.remiDetails?.createTime,paymentDate:te,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:F})}):null]}):null,j.map((l,o)=>{const $=e.duplicateLineByLineId[l.lineId];return t.jsxs(Xe,{windowSize:n,children:[t.jsx(Oi,{windowSize:n,children:t.jsx(Wi,{bottomSeperator:j.length!==1,windowSize:n,children:t.jsx(ai,{showAutofill:!1,uploadInvoiceEndPoint:C,authParams:oe,entityId:e.remiDetails?.id,file:l.file,showTitlebar:!0,showTitlebarIcon:!1,pdfTitle:j.length>1?`#${o+1} Receipt`:"Receipt",style:{width:"auto",padding:0,height:j.length-1===o||o===0?760:451},onInvoiceUpload:()=>{console.log("onInvoiceUpload")},noAttachmentText:i.noReceiptAttached,type:"reimbursement"})})}),t.jsxs(Li,{windowSize:n,children:[o===0&&n!=="small"?t.jsxs(t.Fragment,{children:[t.jsxs(qe,{windowSize:n,children:[t.jsx(Je,{windowsSize:n,children:ee}),me&&v!=null?t.jsx(Ge,{color:v.color,bgColor:v.bgColor,borderColor:v.borderColor,children:v.value}):null]}),e.createdBy?.userId!=null?t.jsx(Ve,{windowSize:n,children:`By ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,R?.code!=null?t.jsx(He,{windowSize:n,children:t.jsx(Ne,{progressSectionObj:R,createDate:e.remiDetails?.createTime,paymentDate:te,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:F})}):null,P?t.jsx(Pe,{variant:"warning",style:{margin:`${a.sp3} ${a.sp8} ${a.sp3} ${a.sp6}`},title:O.duplicateWarning.title,description:O.duplicateWarning.description}):ze?t.jsxs(Ee,{size:n,children:[t.jsx(Ue,{}),t.jsxs(Fe,{children:[t.jsx(_e,{children:i.thereSeems}),t.jsx(Ke,{children:i.pleaseFind})]})]}):null]}):null,t.jsxs(ui,{windowSize:n,ref:ke=>{ke!=null&&(we.current[`L${l.lineId}`]=ke)},children:[n!=="small"?t.jsx(pi,{children:t.jsx(hi,{children:j.length>1?`#${o+1} ${i.reimbursement}`:i.reimbursement})}):null,t.jsxs(yi,{windowSize:n,children:[$?.duplicateLineId!=null?t.jsxs(ci,{children:[i.thisExpenseReview," ",t.jsx(mi,{onClick:()=>{if($.isDuplicateWithinTransaction&&$.duplicateLineId!=null)return xe(`L${$.duplicateLineId}`);$.duplicateTransactionId!=null&&$.duplicateLineId!=null&&nt($.duplicateTransactionId,$.duplicateLineId)},"data-testid":y("remi-view-duplicate-expense"),children:i.viewOriginalExpense})]}):null,t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:l.type===i.mileageKey?`${o}.mileage.reimbursementType`:`${o}.out_of_pocket.reimbursementType`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("reimbursementType",o,l.type===i.mileageKey?"mileage":"out_of_pocket")}`},style:{borderRadius:$?.duplicateLineId==null?`${a.sp2} ${a.sp2} 0 0`:"0 0 0 0"},children:t.jsx(w,{label:{label:i.reimbursementType,width:M},text:l.type===i.mileageKey?i.mileage:i.outOfPocket,style:{width:"auto",borderRadius:$?.duplicateLineId==null?`${a.sp2} ${a.sp2} 0 0`:"0 0 0 0"}})}),t.jsx(T,{}),l.type===i.mileageKey?t.jsxs(t.Fragment,{children:[t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${o}.mileage.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("transactionDate",o,"mileage")}`},children:t.jsx(w,{label:{label:i.transactionDate,width:M},text:l.transactionDate?.format($e.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${o}.mileage.distanceInMiles`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("distanceInMiles",o,"mileage")}`},children:t.jsx(w,{label:{label:i.distanceInMiles,width:M},text:l.distanceMileage.value.toString()??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${o}.mileage.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("amount",o,"mileage")}`},children:t.jsx(w,{label:{label:i.amount,width:I},text:l.homeCurrencyConversions!=null?Le("0,0[.]00",l.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${o}.mileage.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("memo",o,"mileage")}`},children:t.jsx(w,{label:{label:i.memo,width:I},text:l.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${o}.mileage.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("class",o,"mileage")}`},style:{borderRadius:`0 0 ${a.sp2} ${a.sp2}`},children:t.jsx(w,{label:{label:i.department,width:I},text:l.lineDetail.class?.className??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${a.sp2} ${a.sp2}`}})})]}):t.jsxs(t.Fragment,{children:[t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${o}.out_of_pocket.merchant`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("merchant",o,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.merchant,width:M},text:l.merchant?.name??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${o}.out_of_pocket.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("transactionDate",o,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.transactionDate,width:M},text:l.transactionDate?.format($e.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${o}.out_of_pocket.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("amount",o,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.amount,width:I},text:l.homeCurrencyConversions!=null?Le("0,0[.]00",l.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${o}.out_of_pocket.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("memo",o,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.memo,width:I},text:l.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${o}.out_of_pocket.account`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("account",o,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.category,width:I},text:l.lineDetail.account?.accountName??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${o}.out_of_pocket.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("class",o,"out_of_pocket")}`},style:{borderRadius:`0 0 ${a.sp2} ${a.sp2}`},children:t.jsx(w,{label:{label:i.department,width:I},text:l.lineDetail.class?.className??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${a.sp2} ${a.sp2}`}})})]})]})]}),j.length!==1&&j.length===o+1&&t.jsxs(Ni,{windowSize:n,children:[t.jsxs(Ze,{windowSize:n,children:[t.jsx(Qe,{children:i.total}),t.jsx(Oe,{amount:je,integerStyles:V.h6Regular.cssObject,decimalStyles:V.standardRegular.cssObject})]}),e.remiDetails&&t.jsx(We,{amount:Se,activities:e.remiActivities,stage:W?.code??"draft",onAddNewRule:be,entity:"reimbursement",realTimeApproval:{allApprovers:e.filteredApprovers,filteredAttributes:e.filteredAttributes,allAccountingClass:e.allAccountingClasses,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode??!1,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,attributeSubTypeToUserIdMapping:e.attributeSubTypeToUserIdMapping,isAdmin:le,signedInUserId:se?.userId,showRealTimeApproval:ce,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:pe,onSaveRealTimeApprovals:ue},historicActivities:e.remiHistory.activities})]})]})]},l.lineId)}),j.length===1&&t.jsxs(Xe,{windowSize:n,children:[t.jsx(Ye,{}),t.jsxs(si,{windowSize:n,children:[t.jsx(Pi,{windowSize:n,children:t.jsxs(Ze,{windowSize:n,children:[t.jsx(Qe,{children:i.total}),t.jsx(Oe,{amount:je,integerStyles:V.h6Regular.cssObject,decimalStyles:V.standardRegular.cssObject})]})}),e.remiDetails&&t.jsx(di,{windowSize:n,children:t.jsx(We,{amount:Se,activities:e.remiActivities,stage:W?.code??"draft",onAddNewRule:be,entity:"reimbursement",historicActivities:e.remiHistory.activities,realTimeApproval:{allApprovers:e.filteredApprovers,allAccountingClass:e.allAccountingClasses,filteredAttributes:e.filteredAttributes,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode??!1,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,attributeSubTypeToUserIdMapping:e.attributeSubTypeToUserIdMapping,isAdmin:le,signedInUserId:se?.userId,showRealTimeApproval:ce,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:pe,onSaveRealTimeApprovals:ue}})})]})]}),t.jsx(Ei,{})]}),Te||F===!0?null:t.jsxs(Ii,{children:[n!=="small"?t.jsx(Ye,{}):null,t.jsx(gi,{windowSize:n,"data-testid":y("remi-detail-page-footer"),onClick:l=>{l.stopPropagation(),H===!0&&q(!1)},children:t.jsx(Ot,{separatorStyle:{marginRight:a.sp4},showPrimaryButton:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||de,showCancel:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||de,cancelBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?n==="small"?i.buttons.delete:i.buttons.deleteReport:n==="small"?i.buttons.reject:i.buttons.rejectReport,isLoading:Z==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress"||Z==="delete"&&e.deleteStatus.fetchState==="In-Progress",onClick:()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?(Q("delete"),Ie()):(Q("rejected"),J(!0))},style:{width:s.footerButtonWidth.value(n)},reverseSpinnerColor:!1},primaryBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?n==="small"?i.buttons.edit:i.buttons.editAndResubmit:n==="small"?i.buttons.approve:i.buttons.approveReport,isLoading:Z==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?De():(Q("approved"),he({reimbursementId:e.remiDetails?.id??"",type:"approved"}))},style:{width:s.footerButtonWidth.value(n)},isDisabled:e.approvalUpdateStatus.fetchState==="In-Progress"||e.realTimeApproval.isEditMode===!0},rightSideComponent:t.jsx(bi,{children:t.jsxs(Si,{windowSize:n,children:[!P&&H?t.jsx(Wt,{onClickAway:()=>q(!1),children:t.jsxs(Ti,{windowSize:n,children:[ie!=="processing"?t.jsx(ne,{onClick:Ie,"data-testid":y("remi-delete-action"),children:i.buttons.deleteReport}):null,ie==="processing"?t.jsx(ne,{onClick:()=>{X({title:i.cancelReportTitle,description:i.cancelAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),A(!0)},"data-testid":y("remi-cancel-action"),children:i.buttons.cancel}):null,ie==="processing"?t.jsx(ne,{onClick:()=>{X({title:i.cancelAndDeleteReportTitle,description:i.cancelAndDeleteAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),A(!0)},"data-testid":y("remi-cancel-and-delete-action"),children:i.buttons.cancelAndDelete}):null]})}):null,t.jsxs($i,{windowSize:n,children:[!P&&Ce?t.jsx(vi,{onClick:De,"data-testid":y("remi-edit-button"),children:t.jsx(fi,{})}):null,P||Tt!==!0?null:t.jsx(xi,{windowSize:n,showEditIcon:Ce,children:t.jsx(wi,{onClick:()=>q(!H),"data-testid":y("remi-more-actions-button")})})]})]})}),style:{minHeight:62}})})]}),u?t.jsx(Xt,{id:h,children:t.jsx(Et,{isDrawerOpen:pt,allowComposer:!0,drawerTitle:ht,threads:B,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:z?.companyId??ve,isGlobalComment:!1,tab:"reimbursement"},isLoading:D,threadMetadata:z?{companyName:z.companyName,companyId:z.companyId,entityId:z.entityId,entityType:z.entityType,isGlobalComment:!1,application:"dashboard",tab:"reimbursement",url:window.location.href}:void 0,textOverrides:{composerPlaceholder:yt,replyComposerPlaceholder:bt,threadResolve:gt,threadUnResolve:wt},onThreadClick:(l,o)=>It(l,o),onCloseAllThreadsDrawer:()=>L(!1),drawerSectionStyle:{width:"400px",backgroundColor:ge.colors.background}})}):null]})},li=e=>{const C=et.getLocalizedStrings().spendManagement.billPay.billsByTabs;if(e?.isDeleted===!0)return{value:C.tabsById.deleted,color:re.deleted.color,bgColor:re.deleted.bgColor,borderColor:re.deleted.borderColor,code:"deleted"}},si=r.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
width: ${e=>s.rightSectionWidth.valuePercentage(e.windowSize)};
|
|
5
|
-
`,di=r.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
|
-
`,ci=r(Gt)`
|
|
10
|
-
padding: ${a.sp2} ${a.sp0} ${a.sp2} ${a.sp4};
|
|
11
|
-
background-color: ${G.alertLight};
|
|
12
|
-
color: ${G.brandColorGoldDark};
|
|
13
|
-
border-top-left-radius: inherit;
|
|
14
|
-
border-top-right-radius: inherit;
|
|
15
|
-
`,mi=r.span`
|
|
16
|
-
border-bottom: 1px solid currentColor;
|
|
17
|
-
cursor: pointer;
|
|
18
|
-
`,Ee=r.div`
|
|
19
|
-
display: flex;
|
|
20
|
-
gap: ${a.sp2};
|
|
21
|
-
padding: ${a.sp3};
|
|
22
|
-
border-radius: ${a.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: ${G.alertLight};
|
|
29
|
-
border: 1px solid ${e=>e.theme.colors.brandColorGoldDark};
|
|
30
|
-
`,_e=r(Zt)`
|
|
31
|
-
color: ${e=>e.theme.colors.brandColorGoldDark};
|
|
32
|
-
`,Fe=r.div`
|
|
33
|
-
width: 100%;
|
|
34
|
-
`,Ke=r(tt)`
|
|
35
|
-
color: ${e=>e.theme.colors.brandColorGoldDark};
|
|
36
|
-
`,Ue=r(Qt)`
|
|
37
|
-
width: ${a.sp4};
|
|
38
|
-
height: ${a.sp4};
|
|
39
|
-
color: ${G.brandColorGoldDark};
|
|
40
|
-
`,Ve=r(tt)`
|
|
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
|
-
`,pi=r.div`
|
|
46
|
-
display: flex;
|
|
47
|
-
justify-content: space-between;
|
|
48
|
-
`,ui=r.div`
|
|
49
|
-
margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
|
|
50
|
-
margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
|
|
51
|
-
`,hi=r(it)`
|
|
52
|
-
color: ${e=>e.theme.colors.primary};
|
|
53
|
-
margin-bottom: ${a.sp3};
|
|
54
|
-
`,yi=r.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=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
60
|
-
border-radius: ${a.sp2};
|
|
61
|
-
margin-bottom: ${e=>s.formBottomMargin.valuePx(e.windowSize)};
|
|
62
|
-
z-index: 3;
|
|
63
|
-
`,bi=r.div`
|
|
64
|
-
display: flex;
|
|
65
|
-
justify-content: flex-end;
|
|
66
|
-
`,gi=r.div`
|
|
67
|
-
width: ${e=>s.rightSectionWidth.valuePercentage(e.windowSize)};
|
|
68
|
-
`,wi=r(Jt)`
|
|
69
|
-
cursor: pointer;
|
|
70
|
-
color: ${e=>e.theme.colors.hero};
|
|
71
|
-
width: ${a.sp5};
|
|
72
|
-
height: ${a.sp5};
|
|
73
|
-
&:hover {
|
|
74
|
-
color: ${e=>e.theme.colors.primary};
|
|
75
|
-
}
|
|
76
|
-
`,xi=r.div`
|
|
77
|
-
display: flex;
|
|
78
|
-
margin-left: ${e=>e.windowSize==="small"?e.showEditIcon===!0?a.sp3:a.sp4:a.sp5};
|
|
79
|
-
cursor: pointer;
|
|
80
|
-
color: ${e=>e.theme.colors.grey1};
|
|
81
|
-
&:hover {
|
|
82
|
-
color: ${e=>e.theme.colors.primary};
|
|
83
|
-
}
|
|
84
|
-
`,fi=r(qt)`
|
|
85
|
-
cursor: pointer;
|
|
86
|
-
color: ${e=>e.theme.colors.hero};
|
|
87
|
-
width: ${a.sp5};
|
|
88
|
-
height: ${a.sp5};
|
|
89
|
-
&:hover {
|
|
90
|
-
color: ${e=>e.theme.colors.primary};
|
|
91
|
-
}
|
|
92
|
-
`,vi=r.div`
|
|
93
|
-
display: flex;
|
|
94
|
-
cursor: pointer;
|
|
95
|
-
color: ${e=>e.theme.colors.grey1};
|
|
96
|
-
margin-left: ${a.sp4};
|
|
97
|
-
&:hover {
|
|
98
|
-
color: ${e=>e.theme.colors.primary};
|
|
99
|
-
}
|
|
100
|
-
`,Ge=r(it)`
|
|
101
|
-
display: flex;
|
|
102
|
-
color: ${e=>e.borderColor};
|
|
103
|
-
align-items: center;
|
|
104
|
-
justify-content: flex-end;
|
|
105
|
-
margin-left: ${a.sp3};
|
|
106
|
-
padding: 1px 6px 1px 6px;
|
|
107
|
-
border: ${e=>`1px solid ${e.borderColor}`};
|
|
108
|
-
border-radius: ${a.sp1};
|
|
109
|
-
min-width: fit-content;
|
|
110
|
-
max-width: fit-content;
|
|
111
|
-
`,$i=r.div`
|
|
112
|
-
display: flex;
|
|
113
|
-
justify-content: center;
|
|
114
|
-
align-items: center;
|
|
115
|
-
`,Ti=r.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: ${a.sp1};
|
|
125
|
-
padding-bottom: ${a.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: ${a.sp1};
|
|
131
|
-
right: ${e=>s.right.valuePx(e.windowSize)};
|
|
132
|
-
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.grey1} 3D`};
|
|
133
|
-
`,ji=r.div`
|
|
134
|
-
position: fixed;
|
|
135
|
-
top: 0;
|
|
136
|
-
left: 42vw;
|
|
137
|
-
width: 100%;
|
|
138
|
-
height: 100vh;
|
|
139
|
-
background: transparent;
|
|
140
|
-
box-shadow: 0 2px ${a.sp1} ${({theme:e})=>e.colors.dropShadowNormal};
|
|
141
|
-
pointer-events: none;
|
|
142
|
-
z-index: 1;
|
|
143
|
-
`,Si=r.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
|
-
`,ne=r(Ht)`
|
|
151
|
-
display: flex;
|
|
152
|
-
align-items: center;
|
|
153
|
-
width: 100%;
|
|
154
|
-
padding-left: ${a.sp3};
|
|
155
|
-
padding-right: ${a.sp3};
|
|
156
|
-
height: ${a.sp6};
|
|
157
|
-
box-sizing: border-box;
|
|
158
|
-
&:hover {
|
|
159
|
-
background-color: ${e=>e.theme.colors.background};
|
|
160
|
-
}
|
|
161
|
-
`,Ii=r.div`
|
|
162
|
-
display: flex;
|
|
163
|
-
width: 100%;
|
|
164
|
-
position: sticky;
|
|
165
|
-
bottom: 0;
|
|
166
|
-
z-index: 2;
|
|
167
|
-
`,Di=r.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
|
-
`,Ci=r(_t)`
|
|
177
|
-
color: ${e=>e.theme.colors.brandColorJade};
|
|
178
|
-
cursor: pointer;
|
|
179
|
-
width: ${a.sp4};
|
|
180
|
-
height: ${a.sp4};
|
|
181
|
-
`,T=r.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=r(Kt)`
|
|
188
|
-
cursor: pointer;
|
|
189
|
-
width: ${a.sp4};
|
|
190
|
-
height: ${a.sp4};
|
|
191
|
-
float: right;
|
|
192
|
-
color: ${e=>e.theme.colors.hero};
|
|
193
|
-
&:hover {
|
|
194
|
-
color: ${e=>e.theme.colors.primary};
|
|
195
|
-
}
|
|
196
|
-
`,ki=r.div`
|
|
197
|
-
margin-top: ${e=>s.closeMarginTop.valuePx(e.windowSize)};
|
|
198
|
-
display: flex;
|
|
199
|
-
float: right;
|
|
200
|
-
`,Ai=r.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
|
-
`,Mi=r(Ft)`
|
|
211
|
-
display: flex;
|
|
212
|
-
width: ${a.sp4};
|
|
213
|
-
height: ${a.sp4};
|
|
214
|
-
align-items: center;
|
|
215
|
-
justify-content: center;
|
|
216
|
-
`,Ri=r.div`
|
|
217
|
-
margin-top: ${e=>s.closeMarginTop.valuePx(e.size)};
|
|
218
|
-
margin-left: ${a.sp5};
|
|
219
|
-
`,Bi=r.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=r.div`
|
|
249
|
-
width: 42%;
|
|
250
|
-
`,Pi=r.div`
|
|
251
|
-
margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
|
|
252
|
-
margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
|
|
253
|
-
`,He=r.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
|
-
`,qe=r.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
|
-
`,Je=r(Vt)`
|
|
266
|
-
flex-grow: 1;
|
|
267
|
-
${e=>`${oi.formTitle.style(e.windowsSize)}`};
|
|
268
|
-
color: ${e=>e.theme.colors.primary};
|
|
269
|
-
word-break: break-all;
|
|
270
|
-
`,Ni=r.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
|
-
`,Ze=r.div`
|
|
276
|
-
padding: ${a.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: ${a.sp2};
|
|
283
|
-
color: ${e=>e.theme.colors.hero};
|
|
284
|
-
margin-bottom: ${e=>s.totalBottomMargin.valuePx(e.windowSize)};
|
|
285
|
-
justify-content: space-between;
|
|
286
|
-
`,Qe=r(Yt)`
|
|
287
|
-
display: flex;
|
|
288
|
-
width: 176px;
|
|
289
|
-
color: ${e=>e.theme.colors.primary};
|
|
290
|
-
`,Li=r.div`
|
|
291
|
-
display: flex;
|
|
292
|
-
flex-direction: column;
|
|
293
|
-
width: ${e=>s.rightSectionWidth.valuePercentage(e.windowSize)};
|
|
294
|
-
`,Xe=r.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
|
-
`,Oi=r.div`
|
|
300
|
-
width: ${e=>s.leftSectionWidth.valuePercentage(e.windowSize)};
|
|
301
|
-
`,Wi=r.div`
|
|
302
|
-
background: ${e=>e.theme.colors.grey3};
|
|
303
|
-
border-radius: ${a.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":a.sp5};
|
|
308
|
-
`,Ei=r.div`
|
|
309
|
-
display: flex;
|
|
310
|
-
flex-direction: column;
|
|
311
|
-
height: ${a.sp11};
|
|
312
|
-
`,_i=r.div`
|
|
313
|
-
margin-top: 78px;
|
|
314
|
-
`;export{na as default};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import{j as i}from"./pdf-emb33J2I.js";import{j as H,i as ne,h as G,l as V,u as x,N as F,k as Z,g as Je,R as Xe,m as C}from"./core-twTS7Cne.js";import{cs as M,K$ as ae,bE as se,xu as Re,gV as Qe,L0 as Ye,bm as ie,dn as ke,L1 as et,fH as tt,Kh as nt,fW as at,xi as st,os as it,fO as rt,y2 as ve,L2 as Ae,L3 as ot,L4 as lt,L5 as mt,L6 as ct,xH as ut,L7 as dt,xO as de,g0 as pt,Kq as bt,xI as gt,xs as ht,L8 as St,xr as ft,L9 as It,xA as pe,xS as yt,xR as Rt,xN as kt,xG as vt,La as Ee,CI as At,bn as Et,xD as Ct,yk as xt,Lb as Bt,Lc as Tt,x_ as wt,xX as be,JM as Lt,xp as jt,Ld as Ce,yJ as ge,yR as Dt,Le as Ft,Lf as $,Lg as Ut,Lh as xe,Li as Pt,Lj as Be,Lk as Te,ya as Y,bq as _t,Fk as re,bL as oe,cz as we,cx as Le,Ll as $t,ef as Nt,JZ as Mt,Lm as Ot,Ln as je,K1 as Gt,KL as Ht,Lo as Zt,K_ as Kt,yO as he,yN as zt,Lp as Vt,Lq as Wt,Lr as qt,Ls as Jt,Lt as Xt,Kw as Qt,yE as Yt,yI as en,bt as tn,Fa as nn,Fb as an,Ek as sn,Ej as rn,Gp as on,bM as ln,bO as mn,bN as cn,bK as un}from"./zeni-epic-state-DyRbb6Q5.js";import{y as W,w as De,aE as q,aG as k,je as j,jC as K,o as le,bc as J,jl as v,lm as dn,kg as Fe,jA as N,ln as pn,t as X,lo as bn,J as gn,jR as hn,b as Sn,G as Ue,O as fn,jX as In,kR as yn,jT as Rn,lp as kn,jZ as vn}from"./index-k1doZNFg.js";import{n as Pe,S as An}from"./mui-Bi07oTwe.js";import ee from"./NotFoundScreen-BBemVqe2.js";import{S as Se}from"./SetupPagesScreen-Bjv1_530.js";import{F as _e}from"./FeaturePreviewScreen-DqxtfQjE.js";import{a as I}from"./sentry-CytkDQe2.js";import{u as $e}from"./useInitialThreadRequest-1tDzaux1.js";import{D as En}from"./DrawerScreen-B1Tmjk6I.js";import{M as Ne}from"./MobileAppDrawer-B2Fzw8F_.js";import{R as Cn}from"./ReimbursementApprovalRoutes-CVWnCLDW.js";import{FallBackRoute as xn}from"./ScreenRoutes-DvoBFpYl.js";import"./lottie-Bdr-9mLw.js";import"./liveblocks-CM0QMS_I.js";import"./recharts-CS0s98U8.js";import"./dnd-BWijMgNi.js";import"./analytics-BuacLKrs.js";import"./plaid-Dw_qIY4R.js";import"./utils-CSjogEj5.js";import"./analyticsHelper-CHcSxJdc.js";import"./routePaths-DiyiibEL.js";import"./BusinessVerificationPageScreen-CsiX3KGh.js";import"./ReimbursementApprovalRuleDetailScreen-DZcx_Ou3.js";import"./getLocaleForTenant-CY5R0VDK.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="faec72a3-0c11-4a2c-bae7-c78904c94917",e._sentryDebugIdIdentifier="sentry-dbid-faec72a3-0c11-4a2c-bae7-c78904c94917")}catch{}})();const Me=e=>`/${e}/reimbursements`,Bn=Z(function(e,t){const n=t.currentTenant?.companyId,o=Ye(e.plaidAccountViewState,"user_reimbursement_account"),m=j.getSignedInUser(),u=ie(m),c=o.plaidConnectionDetails,r=ke(e.companyState,n),a=e.tenantState.currentTenantId,s={userId:m?.userId??"",sessionId:m?.zeniSessionId??"",tenantId:a??""},l=ae(e,t.reimbursementId),d=et(e,m?.userId??"");let y=`${m?.firstName} ${m?.lastName}`,g=!0;return t.reimbursementId!=null&&(y=`${l.createdBy?.firstName??"Zeni"} ${l.createdBy?.lastName??""}`,g=m?.userId===l.createdBy?.userId),{remiDetails:l,uploadInvoiceEndPoint:`${Fe.communicationAgentMicroServiceBaseUrl}`,reimbursementId:t.reimbursementId,authParams:s,defaultCurrency:{currencySymbol:r?.company.companyLocaleInfo.currencySymbol??"$",currencyCode:r?.company.companyLocaleInfo.currencyCode??"USD"},companyMileageConfigInfo:r?.company.configInfo.mileageRateConfig,createdBy:y,isUserAdmin:se(t.currentTenant?.userRole??[]),isZeniUser:u,plaidConnectionDetails:c,bankNameByRouting:l.bankNameByRouting,bankAccountCreationState:d.bankAccountCreationState,bankAccounts:d.bankAccounts,analytics:v,bankAccountToCreate:l.bankAccountToCreate,fetchBankNameByRoutingStatus:l.fetchBankNameByRoutingStatus,isSignedInUserReimbursementCreator:g}},function(e,t){const{reimbursementId:n,currentTenant:o,location:m,navigate:u,themeState:c}=t,{tenantEmailDomain:r}=o,a=j.getSignedInUser();return{onReceiptsUpload:(s,l,d)=>{s!=null&&e(vt(s,l,d,n,a?.userId))},onExistingMerchantChange:(s,l)=>{e(pe(!1,l,n,s,void 0))},fetchDuplicateReimbursement:()=>{a?.userId!=null&&e(kt(a.userId,!0,n))},clearDuplicateReimbursementDetail:()=>{e(Rt())},clearRemiSaveStatus:()=>{e(yt("Not-Started",n))},onDuplicateLineClick:(s,l)=>window.open(`/${r}/reimbursement/${s}#L${l}`),onNewMerchantChange:(s,l)=>{e(pe(!1,l,n,void 0,s))},removeFileFromLine:s=>{e(It({lineId:s,reimbursementId:n}))},onAmountChanged:(s,l)=>{e(ft(l,s,n))},updateReimbursementType:(s,l,d)=>{e(St({reimbursementId:d,lineId:l,reimbursementType:s}))},onHomeCurrencyConversionUpdate:(s,l,d)=>{e(ht({reimbursementId:d,lineId:l,amountPayload:{amount:s.amount,currency_code:s.currencyCode,currency_symbol:s.currencySymbol}}))},onReimbursementDetailsChanged:s=>{e(gt({remiDetailLocalData:s,reimbursementId:n}))},saveRemiDetails:s=>{e(de(s,!1,n))},onUserBankDetailsUpdated:s=>{const{bankAccountSection:l}=s;e(bt({data:l}))},onFetchBankName:s=>{e(pt(s))},submitRemiDetails:()=>{e(de("pending_approval",!0,n))},discardReimbursementDetailsFromLocalStore:s=>{e(dt({reimbursementId:s}))},updateInvoiceUploadFetchState:s=>{e(ut({reimbursementId:n,fetchState:s}))},clearTentativeNameForLine:s=>{e(ct({reimbursementId:n,lineId:s}))},removeDuplicateReimbursementForLine:s=>{e(mt({lineId:s}))},onZeniLogoClick:()=>{c.toggle()},clearAddRemiAutoFields:s=>{e(lt({reimbursementId:n,lineId:s}))},redirectToReimbursementListScreen:()=>{e(Ae()),e(ot());const s=Me(r),l=N(m.state?.pathnameStackToGoBack,m.pathname);u(s,{state:{pathnameStackToGoBack:l}})},redirectToReimbursementDetailScreen:()=>{t.navigate("../")},deleteReimbursement:()=>{n!=null&&(v.trackReimbursementDeleteReimbursement(n),e(ve(n)))},onSaveBankAccount:()=>{a?.userId&&e(rt(a?.userId,n))},onFetchLinkTokenClick:s=>{e(it("user_reimbursement_account",s))},onEstablishConnectionClick:s=>{e(st(s,o.companyId,"user_reimbursement_account",void 0,"link_account_no_microdeposit"))},deleteBankAccount:s=>{e(at(s,a?.userId??""))},onBackClickFromBankAccountPage:()=>{e(tt({fetchState:"Not-Started"})),e(nt())}}})(dn);function fe(){const e=H(),t=ne(),n=G(),{reimbursementId:o}=V(),m=W(),u=De(),{useFeatureGate:c}=q(),{isFeatureEnabled:r}=c(k.isLimitedCategoryForReimbursement),{isFeatureEnabled:a}=c(k.isShowDeletedReimbursementsFeatureEnabled),{isFeatureEnabled:s}=c(k.isReimbursementCommentingEnabled),l=G().pathname,d=l.includes("edit"),y=l.includes("reimbursement/new"),[g,T]=I.useState(!1),p=j.getSignedInUser(),A=x(h=>M(h)),b=x(h=>ae(h,o)),f=$e(A?.companyId,{clearParams:b.fetchState==="Completed"}),B=se(A?.userRole??[]);I.useEffect(()=>{(y&&!g||d&&b.fetchState!="Completed"&&b.fetchState!="In-Progress")&&(T(!0),t(Re(!1,r,a,o)))});const R=x(h=>Qe(h.accountState,h.accountListState,"reimbursementAccountList"));if(p==null)throw Error("Can't access address page without signing in...");const w={pathname:`../${o}`,search:n.search};return b.isDeleted===!0||b.billStage=="paid"||b.billStage=="scheduled"||b.fetchState=="Not-Started"||B&&b.billStatus==="rejected"||B===!1&&b.billStage==="pending_approval"&&b.billStatus!=="rejected"?i.jsx(F,{to:w}):b.deleteStatus.fetchState==="In-Progress"||b.fetchState!=="Completed"?i.jsx(K,{style:{backgroundColor:m.colors.grey5,boxShadow:`0px 2px ${le.sp1} ${m.colors.dropShadowNormal}`},fetchState:b.deleteStatus.fetchState}):i.jsxs(i.Fragment,{children:[i.jsx(J,{analytics:v,onLoad:h=>(L=>{o!=null&&b.deleteStatus.fetchState!=="Completed"&&L.trackReimbursementEditReimbursement(o)})(h)}),i.jsx(Bn,{initialOpenThreadRequest:f??void 0,isReimbursementCommentingEnabled:s,location:n,navigate:e,currentTenant:A,reimbursementId:o,themeState:u,uncategorizedAccounts:R})]})}const Tn=Z(function(e,t){const n=Ee(e,t.reimbursementId),o=j.getSignedInUser(),m=ie(o),u=e.tenantState.currentTenantId,c={userId:o?.userId??"",sessionId:o?.zeniSessionId??"",tenantId:u??""},r=`${n.createdBy?.firstName??"Zeni"} ${n.createdBy?.lastName??""}`;let a=!1;n?.remiActivities.length>0&&(a=Bt(n.remiActivities,Tt(t.currentTenant),o));const s=se(t.currentTenant?.userRole??[]),l=o?.userId===n.createdBy?.userId;return{remiDetails:n,uploadInvoiceEndPoint:`${Fe.communicationAgentMicroServiceBaseUrl}`,authParams:c,signedInUser:o,createdBy:r,isRealTimeApprovalEnabled:t.isRealTimeApprovalEnabled,isAdmin:s,showApproveRejectBtns:a,isZeniUser:m,isSignedInUserReimbursementCreator:l}},function(e,t){const{reimbursementId:n,currentTenant:o,location:m,navigate:u,themeState:c}=t,{tenantEmailDomain:r}=o;return{onDuplicateLineClick:(a,s)=>window.open(`/${r}/reimbursement/${a}#L${s}`),redirectToReimbursementListScreen:()=>{e(Ae());const a=Me(r),s=N(m.state?.pathnameStackToGoBack,m.pathname);u(a,{state:{pathnameStackToGoBack:s}})},onSaveRealTimeApprovals:a=>{e(jt(n,"reimbursement",a))},updateEditRealTimeApproverClicked:a=>{e(Lt({isEdit:a,entityId:n,entityType:"reimbursement"}))},approveOrRejectRemi:a=>{a.type==="approved"?e(be(n,a.type,"")):e(be(n,a.type,a.description??""))},redirectToEditableReimbursementScreen:()=>{const a=N(m.state?.pathnameStackToGoBack,m.pathname);u("./edit",{state:{pathnameStackToGoBack:a}})},deleteReimbursement:()=>{v.trackReimbursementDeleteReimbursement(n),e(ve(n))},cancelAndDeleteReport:a=>{a===!0?v.trackReimbursementCancelAndDeleteReimbursement(n):v.trackReimbursementCancelReimbursement(n),e(wt(n,a))},handleZeniLogoClick:()=>{c.toggle()}}})(pn);function wn(){const e=H(),t=ne(),n=G(),o=n.hash.substring(1),m=De(),{reimbursementId:u}=V(),c=j.getSignedInUser(),r=x(E=>M(E)),a=x(E=>Ee(E,u??"")),s=a.remiDetails?.reimbursementInfo.stage.code==="draft",l=$e(r?.companyId,{clearParams:a.fetchState==="Completed"&&!s}),{useFeatureGate:d}=q(),{isFeatureEnabled:y}=d(k.isLimitedCategoryForReimbursement),[g,T]=I.useState(!1),[p,A]=I.useState(!1),[b,f]=I.useState(!1),{isFeatureEnabled:B}=d(k.isReimbursementCommentingEnabled),{isFeatureEnabled:R}=d(k.isShowDeletedReimbursementsFeatureEnabled),w=x(E=>ae(E,u??"")),h=W(),L=At(r),_=Et(r.userRole),D=a.fetchState;if(I.useEffect(()=>{g||u==null?g==1&&D==="Error"&&e("page-not-found",{replace:!0}):(T(!0),t(Ct(u,!1,R)))},[g,u,t,D]),I.useEffect(()=>{R&&a.remiDetails?.isDeleted===!0||r.isZeni===!0&&c?.userEmailDomain==="zeni.ai"&&L===!1?f(!1):f(a.remiActivities[0]?.isRealTimeApprovalEnabled&&(_||a.allApprovers.find(E=>E.user.userId===c?.userId)!=null||a.remiDetails?.lastUpdatedBy===c?.userId))},[a.remiActivities[0]?.isRealTimeApprovalEnabled,a.allApprovers,a.remiDetails?.lastUpdatedBy,_,r.isZeni,L,c]),I.useEffect(()=>{p||a.fetchState!="Completed"||a.remiDetails?.reimbursementInfo.stage.code=="paid"||a.remiDetails?.reimbursementInfo.stage.code=="scheduled"||w.fetchState=="Completed"||w.fetchState=="In-Progress"||(A(!0),t(Re(!1,y,R,u)),a.remiActivities[0]?.isRealTimeApprovalEnabled===!0&&t(xt(!1,!0,!0,a.lastUpdatedByUserId)))},[p,a,u,t]),c==null)throw Error("Can't access address page without signing in...");return a.remiDetails?.reimbursementInfo.stage.code=="draft"&&w.fetchState=="Completed"&&a.remiDetails.isDeleted===!1?i.jsx(F,{to:`./edit${n.search}`}):a.deleteStatus.fetchState==="In-Progress"||a.cancelAndDeleteStatus.fetchState==="In-Progress"||a.remiDetails?.reimbursementInfo.stage.code=="draft"&&w.fetchState!="Completed"||a.fetchState!="Completed"?i.jsx(K,{fetchState:a.deleteStatus.fetchState,style:{backgroundColor:h.colors.grey5,boxShadow:`0px 2px ${le.sp1} ${h.colors.dropShadowNormal}`}}):i.jsxs(i.Fragment,{children:[i.jsx(J,{analytics:v,onLoad:E=>(O=>{u!=null&&O.trackReimbursementReimbursementDetails(u)})(E)}),i.jsx(Tn,{initialOpenThreadRequest:l??void 0,scrollId:o,isReimbursementCommentingEnabled:B,isShowDeletedReimbursementEnabled:R,location:n,navigate:e,isRealTimeApprovalEnabled:b,currentTenant:r,reimbursementId:u??"",themeState:m})]})}const Ln=Z(function(e,t){return{remisReviewView:Ce(e),analytics:t.analytics}},function(e,t){return{onCloseOverlay:()=>{t.navigate("./"),e($())},onCloseReviewItem:n=>{e(Ft(n))},onProceedForBulkActionClick:(n,o)=>{switch(n){case"send_for_approval":e(Dt());break;case"approve":e(ge("approved",o??""));break;case"reject":e(ge("rejected",o??""))}}}})(bn);function jn(){const e=H(),t=x(u=>u.remisBulkActionViewState.bulkSubmissionFetchState.fetchState),{remisForReview:n}=x(u=>Ce(u)),o=X(),m=o?.loggedInUserRole?.includes("admin")===!0;return I.useEffect(()=>{t!=="Completed"&&n.length!==0||e("./")},[t,n.length]),i.jsx(Ln,{navigate:e,analytics:v,isAdmin:m})}const P=Gt(),Oe="bulk-operation-update",te="reimbursement-approval-rule-update",{spendManagement:Dn,common:Ie}=fn.getLocalizedStrings(),ye=Dn.reimbursement.bulkActions,Fn=Pe.div`
|
|
2
|
-
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
|
-
`,Un=Z(function(e,t){const n=Te(e,P,t.isBulkActionEnabled);let o=n.allSubTabs;const m=j.getSignedInUser(),u=ie(m),c=e.tenantState.currentTenantId,r=M(e),a=r?.companyName??"",s={userId:m?.userId??"",sessionId:m?.zeniSessionId??"",tenantId:c??""},l=e.remiListState.downloadUIState.downloadState;t.isShowDeletedReimbursementEnabled===!1&&(o=o.filter(g=>g!=="deleted"));const d=n.fetchState,y=Ht(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:P,spendManagementEndPoint:`${Rn}/spendManagement`,isShowDeletedBillsEnabled:t.isShowDeletedBillsEnabled,isShowDeletedReimbursementEnabled:t.isShowDeletedReimbursementEnabled},downloadState:l,isBulkActionAllowed:n.remiListBulkActionInfo?.isBulkActionAllowed,transactionsSelectedForBulkAction:n.remiListBulkActionInfo?.remisSelectedForBulkAction,allowedBulkActions:n.remiListBulkActionInfo?.allowedBulkActions,remiApprovalRulesAffectedEntityIds:y.affectedEntityIds}},function(e,t){const{navigate:n,currentTenant:o,location:m,period:u}=t,{tenantEmailDomain:c}=o;return{updateTabToState:r=>{e($()),e(xe(r))},onSubtabChange:r=>{e($()),e(Be(r))},onTransactionClick:(r,a)=>{const s=$n(c,r,a),l=N(m.state?.pathnameStackToGoBack,m.pathname);n(s,{state:{pathnameStackToGoBack:l}})},onClickSetupIcon:()=>{const r=_n(c),a=N(m.state?.pathnameStackToGoBack,m.pathname);n(r,{state:{pathnameStackToGoBack:a}})},onAddTransactionClick:()=>{const{tenantEmailDomain:r}=t.currentTenant;v?.trackReimbursementNewReimbursement();const a=`/${r}/reimbursement/new`,s=N(t.location.state?.pathnameStackToGoBack,t.location.pathname);t.navigate(a,{state:{pathnameStackToGoBack:s}})},onColumnSortConfigChanged:(r,a)=>{e(Xt({uiState:{sortKey:r,sortOrder:a},period:t.period}))},onSearchTextChanged:r=>{e(Jt(r))},onFiltersChange:r=>{e(qt({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(Wt({uiState:{downloadState:r}}))},onReloadTransactions:()=>{e(Y(u,!0,t.isShowDeletedReimbursementEnabled,!1,!0))},onBackClick:()=>{n("../",{relative:"path"})},onNavigateToSettings:()=>{n("../reimbursements/setup")},updateBulkActionList:r=>{e(Vt(r))},removeAllTransactionsFromBulkActionList:()=>{e($())},onProceedForBulkActionClick:(r,a)=>{switch(r){case"delete":case"cancel":e(zt(r,a??""));break;case"send_for_approval":e(he("send_for_approval")),t.navigate("./bulk-review");break;case"review":e(he("approve")),t.navigate("./bulk-review")}},onReimbursementApprovalRulesEventReceived:r=>{r.endsWith(te)&&e(Kt(!1))},onEventReceived:r=>{r===Oe&&e(Zt())}}})(In(yn));function Pn(){const e=H(),t=ne(),n=G(),o=n.state,m=gn(),[u,c]=I.useState(null),r=Je("/:tenantEmailDomain/reimbursements/bulk-review")!=null;I.useEffect(()=>{if(o?.tab!=null&&o?.subTab!=null){const S=Ut(o.tab.toString());S!=null?t(xe(S)):console.log("Warning:Not a valid remiListTab");const U=Pt(o.subTab.toString());U!=null?t(Be(U)):console.log("Warning:Not a valid remiListSubTab")}return()=>{t($())}},[]);const{useFeatureGate:a}=q(),{isFeatureEnabled:s}=a(k.isShowDeletedBillsFeatureEnabled),{isFeatureEnabled:l}=a(k.isShowDeletedReimbursementsFeatureEnabled),{isFeatureEnabled:d}=a(k.isBillPayCommentingEnabled),{isFeatureEnabled:y}=a(k.isReimbursementCommentingEnabled),{isFeatureEnabled:g}=a(k.isReimbursementBulkActionEnabled),T=j.getSignedInUser(),p=x(S=>M(S)),[A,b]=I.useState(!1),[f,B]=I.useState(!1),R=X(),w=R?.loggedInUserRole?.includes("admin")===!0,h=x(S=>Te(S,P,g)),{areTenantIdsInSync:L}=hn(),_=h.fetchState;if(I.useEffect(()=>{!f&&L&&(B(!0),t(Y(P,!0,l,!1,!0)))},[f,P,t,L]),T==null)throw Error("Can't access address page without signing in...");const D=!!p?.userRole&&_t(p),E=re(R?.loggedInUserRoleMap),O=oe(R?.loggedInUserRoleMap),Q=!!p.userReimbursementInfo?.isReimbursementTOSAccepted,Ge=!!p.companyReimbursementInfo?.info?.isReimbursementEnabled,He=!!p.companyReimbursementInfo?.info?.isReimbursementTOSAccepted,Ze=x(S=>ke(S.companyState,p.companyId)),Ke=Ze?.company.featuresActivationInfo.connectedAccountProvider,me=S=>{b(S)},{isFeatureEnabled:ze}=a(k.isDebitCardFeatureEnabled),Ve=we(ze,p),We=Le(p),{remisProcessed:z,remisProcessing:ce}=x(S=>$t(S));I.useEffect(()=>{z===ce&&u!=null&&(t(Nt({messageSection:"reimbursement_bulk_processed",messageText:"success",type:"success",showStatusIcon:!0,variables:[{variableName:"_report_",variableValue:z>1?ye.reports:ye.report},{variableName:"_has_",variableValue:z>1?Ie.texts.have:Ie.texts.has},{variableName:"_action_",variableValue:Mt(u)}]})),t(Ot()),setTimeout(()=>{t(Y(P,!0,l,!1,!0,!0))},3e3),c(null))},[z,ce]);const qe={events:p.companyId!=null?[`private-${p.companyId}.${Oe}`,`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")?Ve===!0||We===!0?i.jsx(_e,{}):Ge&&(!D||E)||O&&Q?i.jsxs(i.Fragment,{children:[_==="Completed"?i.jsx(J,{analytics:v,onLoad:S=>(U=>U.trackPageLoaded(Ue.Event.reimbursementHome))(S)}):null,i.jsx(Ne,{isAppContentDrawerOpen:A,handleDrawerToggle:me}),i.jsxs(Fn,{windowSize:m,children:[i.jsx(En,{isOpen:r,drawerLeftMargin:new Sn(0,0,300,600),onClose:()=>{e("./"),t($())},children:i.jsx(Nn,{onClick:S=>S.stopPropagation(),children:i.jsx(jn,{})})}),i.jsx(Un,{isShowDeletedBillsEnabled:s,isShowDeletedReimbursementEnabled:l,isBillPayCommentingEnabled:d,isReimbursementCommentingEnabled:y,location:n,navigate:e,currentTenant:p,period:P,isAdmin:w,isEmployee:D,entity:"reimbursement",onClickMenuIcon:()=>{me(!0)},createdByUserList:h.createdByUserList,createdByUserListFetchState:h.createdByUserListFetchState,isDownloadEnabled:h.isDownloadEnabled,connectedAccountProvider:Ke,isBulkActionEnabled:g,bulkSubmissionLimit:h.remiBulkSubmissionLimit,bulkSubmissionFetchState:h.remiListBulkActionInfo.bulkSubmissionFetchState,...qe})]})]}):He&&E?i.jsx(F,{to:"../setup"}):R!=null&&je(p,R.loggedInUserRoleMap)?i.jsx(F,{to:"../promo"}):i.jsx(K,{fetchState:"In-Progress"}):i.jsx(ee,{})}const _n=e=>`/${e}/reimbursements/setup`,$n=(e,t,n)=>{let o=`/${e}/reimbursement/${encodeURIComponent(t)}`;return n=="draft"&&(o+="/edit"),o},Nn=Pe(An)`
|
|
10
|
-
display: flex;
|
|
11
|
-
min-height: 100%;
|
|
12
|
-
flex-direction: column;
|
|
13
|
-
`,Mn=Z(function(e,t){const{companyId:n}=t;return{reimbursementSetupView:Qt(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(en(n))},onCreateNewRemiButtonClick:()=>{e(Yt(t.userRoleId))},onBackClick:()=>{o("../..",{relative:"path"})},onSetupReimbursementSuccess:()=>{t.isEmployee?o("../../reimbursement/new",{relative:"path"}):o("../reimbursements/setup",{relative:"path"})}}})(kn),On=()=>{const e=H(),t=G(),{tenantEmailDomain:n}=V(),o=W(),[m,u]=I.useState(!1),c=x(f=>M(f)),r=j.getSignedInUserTenant(n)?.companyId??c.companyId,a=j.getSignedInUser(),s=c.userRoleId,l=!!c.userRole?.includes("reimbursements_user"),d=X(),y=re(d?.loggedInUserRoleMap),g=oe(d?.loggedInUserRoleMap),T=!!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&&T?i.jsx(F,{to:"../../../reimbursements"}):A&&y?i.jsx(F,{to:"../../reimbursements/setup"}):c.companyReimbursementInfo&&!A||c.userReimbursementInfo&&g&&T===!1?i.jsxs(i.Fragment,{children:[i.jsx(J,{analytics:v,onLoad:f=>(B=>B.trackPageLoaded(Ue.Event.reimbursementPromoPage))(f)}),i.jsx(Ne,{isAppContentDrawerOpen:m,handleDrawerToggle:b}),i.jsx(Mn,{companyId:r,navigate:e,location:t,userReimbursementInfo:c.userReimbursementInfo,userRoleId:s,isEmployee:l,onClickMenuIcon:()=>{b(!0)}})]}):i.jsx(K,{fetchState:"In-Progress",style:{backgroundColor:o.colors.grey5}})};function ba(){const e=x(Q=>M(Q)),t=X(),n=!!e.company?.companyReimbursementInfo.isReimbursementEnabled,o=W(),m=!!e.company?.companyReimbursementInfo.isReimbursementTOSAccepted,u=!!e.userReimbursementInfo?.isReimbursementTOSAccepted,{useFeatureGate:c}=q(),{isFeatureEnabled:r}=c(k.isChargeCardFeatureEnabled),{isFeatureEnabled:a}=c(k.isDebitCardFeatureEnabled),s=we(a,e),l=Le(e),d=e?.userRole!=null&&tn(e?.userRole),y=(e?.company==null||e.company.featuresActivationInfo?.isBillPayFeatureEnabled&&!d)&&nn(t?.loggedInUserRoleMap),g=an(t?.loggedInUserRoleMap),T=e?.company==null||e.company.featuresActivationInfo?.isReimbursementFeatureEnabled&&!d,p=re(t?.loggedInUserRoleMap),A=T&&p,{isFeatureEnabled:b}=c(k.isDepositAccountsFeatureEnabled),f=b&&!d&&sn(t?.loggedInUserRoleMap),B=vn(e,r,a)&&!d&&rn(t?.loggedInUserRoleMap),R=on(t?.loggedInUserRoleMap),w=ln(t?.loggedInUserRoleMap),h=mn(t?.loggedInUserRoleMap),L=cn(t?.loggedInUserRoleMap),_=un(t?.loggedInUserRoleMap),D=oe(t?.loggedInUserRoleMap),{tenantEmailDomain:E}=V(),O=n===!0&&(p||D&&u);return i.jsxs(Xe,{children:[location.pathname.includes("/reimbursements")?i.jsxs(i.Fragment,{children:[i.jsx(C,{path:"verification",element:i.jsx(Se,{isBillPayAdminLevelAccess:y,isUserHasOnlyBillPayAccess:g,isReimbursementAdminLevelAccess:A,isZeniAccountAdminLevelAccess:f,isChargeCardAdminLevelAccess:B,isUserHasOnlyCardAccess:R,productType:"reimbursement",type:"verification"})}),i.jsx(C,{path:"setup",element:i.jsx(Se,{isBillPayAdminLevelAccess:y,isUserHasOnlyBillPayAccess:g,isReimbursementAdminLevelAccess:A,isZeniAccountAdminLevelAccess:f,isChargeCardAdminLevelAccess:B,isUserHasOnlyCardAccess:R,productType:"reimbursement",type:"setup"})}),i.jsx(C,{path:"promo",element:i.jsx(On,{})}),i.jsx(C,{path:"approval-rules/*",element:A?i.jsx(Cn,{}):i.jsx(xn,{isUserHasZeniAccountsAccess:w,isUserHasChargeCardAccess:L,isUserHasBillPayAccess:_,isUserHasReimbursementAccess:D,isUserHasTreasuryAccess:h,isTenantBankingOnly:s,tenantEmailDomain:E??""})}),O&&i.jsx(C,{path:"*",element:i.jsx(Pn,{})}),(s===!0||l===!0)&&i.jsx(C,{path:"/*",element:i.jsx(_e,{})}),t!=null&&je(e,t?.loggedInUserRoleMap)&&i.jsx(C,{path:"*",element:i.jsx(F,{to:"../promo"})}),m&&p&&i.jsx(C,{path:"*",element:i.jsx(F,{to:"../setup"})})]}):location.pathname.includes("/reimbursement")?i.jsxs(i.Fragment,{children:[i.jsx(C,{path:"new",element:i.jsx(fe,{})}),i.jsx(C,{path:":reimbursementId",element:i.jsx(wn,{})}),i.jsx(C,{path:":reimbursementId/edit",element:i.jsx(fe,{})}),i.jsx(C,{path:"*",element:i.jsx(ee,{})})]}):i.jsx(C,{path:"*",element:i.jsx(K,{fetchState:"In-Progress",style:{backgroundColor:o.colors.grey5,boxShadow:`0px 2px ${le.sp1} ${o.colors.dropShadowNormal}`}})}),i.jsx(C,{path:"*",element:i.jsx(ee,{})})]})}export{ba as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{V as _,bK as U,bL as M,bM as N,iI as V,ag as W,O as z}from"./index-k1doZNFg.js";import{a as b}from"./sentry-CytkDQe2.js";import{FZ as K}from"./zeni-epic-state-DyRbb6Q5.js";import{u as Z}from"./ReviewOverlay-BoM41t8W-Tjo8TsbC.js";import"./pdf-emb33J2I.js";import"./core-twTS7Cne.js";import"./mui-Bi07oTwe.js";import"./recharts-CS0s98U8.js";import"./lottie-Bdr-9mLw.js";import"./liveblocks-CM0QMS_I.js";import"./dnd-BWijMgNi.js";import"./analytics-BuacLKrs.js";import"./plaid-Dw_qIY4R.js";import"./utils-CSjogEj5.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="2583e55c-45fb-4bd7-ae2a-439d9e832daa",e._sentryDebugIdIdentifier="sentry-dbid-2583e55c-45fb-4bd7-ae2a-439d9e832daa")}catch{}})();const{common:a,spendManagement:{reimbursement:k}}=z.getLocalizedStrings(),s=k.bulkActions;let j;const ce=({remisReviewView:e,isAdmin:o,analytics:i,onProceedForBulkActionClick:u,onCloseReviewItem:r,onCloseOverlay:n})=>{const{fetchState:l,bulkSubmissionFetchState:c,bulkOperationTypeSelected:t,currentTab:f,currentSubTab:g}=e,y=!1,[x,p]=b.useState(!1),[d,v]=b.useState(P(e,y,o)),[h,R]=b.useState(y),[B,H]=b.useState(0),[w,A]=b.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});b.useEffect(()=>(B===d.length&&h&&(R(!1),clearInterval(j)),e.fetchState==="Completed"&&v(P(e,!1,o)),()=>{clearInterval(j)}),[d.length,B,h,e.fetchState,y,e,o]);const D=d.length,S=d.filter(m=>m.reviewStatus.code!=="error").length,F={onOkClick:m=>{p(!1);const C=e.remisForReview.map(I=>I.reimbursement);i.trackReimbursementBulkPopupConfirm(t,f,g,K(C.map(I=>I?.reimbursementTypesIncluded??[]))),u("reject",m)},onCancelClick:()=>{p(!1)}},{title:$,description:E}=G(l,S,D,h),T=e.fetchState==="Completed"&&S===0,L=()=>{i.trackReimbursementBulkSubmit(t,f,g),u(t)},O={label:t==="send_for_approval"?a.texts.goBack:a.footer.reject,isDisabled:t!=="reject"&&c==="In-Progress",isLoading:t==="reject"&&c==="In-Progress",reverseSpinnerColor:!1,onClick:t==="send_for_approval"?n:()=>{const{title:m,description:C}=q(S);A({type:"reject",title:m,description:C,primaryButtonText:a.texts.confirm,secondaryButtonText:a.texts.close}),i.trackReimbursementBulkSubmit(t,f,g),p(!0)},style:t==="approve"?{minWidth:"92px"}:{}};return _.jsxs(_.Fragment,{children:[x?_.jsx(U,{titleComponent:_.jsx(N,{children:w.title}),descriptionComponent:_.jsx(M,{children:w.description}),primaryButtonText:w.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:w.secondaryButtonText,action:F,isNotesIncluded:!0,isEditPopup:!0}):null,_.jsx(Z,{title:$,description:{content:E,isError:e.fetchState==="Completed"&&S===0},reviewItems:d,onCloseReviewItem:r,onCloseOverlay:n,showFooter:e.fetchState==="Completed"&&!h,footerProps:{primaryButton:(()=>{let m=a.footer.approve;return T?m=a.texts.close:t==="send_for_approval"&&(m=a.footer.submit),{label:m,isDisabled:l!=="Completed"||t==="reject"&&c==="In-Progress",isLoading:c==="In-Progress"&&(t==="send_for_approval"||t==="approve"),onClick:T?n:L,style:t==="send_for_approval"?{minWidth:"92px"}:{}}})(),cancelButton:O,hideCancel:T}})]})},P=(e,o,i)=>{const u=e.fetchState==="In-Progress";return e.remisForReview.map(r=>{const n=V(i,r.submittedBy);return{id:r.transactionId,leftSideText:{title:r.reimbursement?.reportTitle!=null?r.reimbursement.reportTitle:k.reimbursementDetail.newReimbursementTitle,subTitle:n!=null?`${a.by} ${n?.firstName} ${n?.lastName}`:a.strings.empty},rightSideText:{title:W("0,0.[00]",r.reimbursement?.amount?.amount,r.reimbursement?.amount?.currencySymbol),showThunderIcon:!1,subTitle:r.reviewInfoMessage??""},reviewStatus:{isLoading:u,code:r.reviewStatus??""}}})},q=e=>{const{this_:o,these:i,report:u,reports:r,payment:n,payments:l}=a.texts;return e>1?{title:s.popUps.reject.title.replace("__report__",s.reports),description:s.popUps.reject.description.replaceAll("<_this_>",i).replaceAll("<_payment_>",l).replaceAll("__report__",r)}:{title:s.popUps.reject.title.replace("__report__",s.report),description:s.popUps.reject.description.replaceAll("<_this_>",o).replaceAll("<_payment_>",n).replaceAll("__report__",u)}},G=(e,o,i,u)=>{const{has:r,have:n,report:l,reports:c,are:t,is:f,do_:g,does:y}=a.texts,x=o>1,p=i>1;let d="",v="";return e!=="Completed"||u?(d=s.reviewPage.reportsReviewing.title.replace("__report__",p?c:l),v=s.reviewPage.reportsReviewing.description.replace("__report__",p?c:l)):(d=s.reviewPage.reportsReviewed.title.replace("__report__",p?k.bulkActions.reports:s.report).replace("<_has_>",p?n:r),v=o===0?s.reviewPage.reportsReviewed.descriptionError.replace("__report__",p?c:l).replace("<_do_>",p?g:y):`${o}/${i} ${s.reviewPage.reportsReviewed.description.replace("__report__",i>1?c:l).replace("<_is_>",x?t:f)}`),{title:d,description:v}};export{ce as default};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import{y as h,V as r,a3 as a,an as f,am as m,O as y,a6 as j,aa as l,b0 as g,x as u,o as c}from"./index-k1doZNFg.js";import{n as d}from"./mui-Bi07oTwe.js";import{a as s}from"./sentry-CytkDQe2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="d9d0d7bf-41d8-493a-9f8b-146f41295c0d",e._sentryDebugIdIdentifier="sentry-dbid-d9d0d7bf-41d8-493a-9f8b-146f41295c0d")}catch{}})();function w({backgroundColor:e,foregroundColor:o,animated:t,width:n,height:i}){return r.jsxs(g,{speed:2,width:n,height:i,viewBox:`0 0 ${n} ${i}`,animate:t!=0,backgroundColor:e,foregroundColor:o,children:[r.jsx("rect",{x:"64",y:"0",rx:"4",ry:"4",width:""+(n-128),height:"21"}),r.jsx("rect",{x:"24",y:"45",rx:"4",ry:"4",width:""+(n-48),height:"228"})]})}function b({backgroundColor:e,foregroundColor:o,animated:t}){return r.jsxs(g,{speed:2,width:240,height:98,viewBox:"0 0 240 98",animate:t!=0,backgroundColor:e,foregroundColor:o,children:[r.jsx("rect",{x:"66",y:"0",rx:"4",ry:"4",width:"108",height:"21"}),r.jsx("rect",{x:"44",y:"77",rx:"4",ry:"4",width:"152",height:"21"}),r.jsx("rect",{x:"0",y:"29",rx:"4",ry:"4",width:"240",height:"40"})]})}const x=d(l)`
|
|
2
|
-
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(b,{backgroundColor:t.colors.grey3,foregroundColor:t.colors.grey4,animated:o})})})}function T({dimension:e,animated:o}){const t=h();return r.jsx(a,{dimension:e,children:r.jsx(x,{children:r.jsx("div",{style:{width:"100%",height:"100%"},children:r.jsx(f,{children:({height:n,width:i})=>r.jsx(w,{backgroundColor:t.colors.grey3,foregroundColor:t.colors.grey4,animated:o,width:i,height:n})})})})})}const p=d(l)`
|
|
4
|
-
justify-content: space-between;
|
|
5
|
-
`,C=d.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=d(u)`
|
|
23
|
-
color: ${e=>e.theme.colors.champion};
|
|
24
|
-
`,v=d(u)`
|
|
25
|
-
color: ${e=>e.theme.colors.hero};
|
|
26
|
-
`,$=d(e=>s.createElement("svg",{viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},s.createElement("rect",{opacity:.2,width:72,height:72,rx:36,fill:"#97C3B9"}),s.createElement("path",{d:"M46.7755 32.5635L43.8368 36.9716L40.4082 33.0533",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),s.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(p,{children:[r.jsxs(k,{children:[n??m(o)," "]}),r.jsx(C,{children:r.jsx($,{})}),r.jsx(v,{children:y.getLocalizedStrings().card.failedText})]})})}export{E,T as I,D as T};
|