@zeniai/web-app-ui 4.14.28-dev → 4.14.28-prod
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-URcYg-_E-CMrUXh7n.js → ACHDetailsPage-URcYg-_E-CnKQi3u4.js} +1 -1
- package/dist/assets/{AIPerformancePage-VILPvNCr-DoBW0TQe.js → AIPerformancePage-VILPvNCr-BPT7YRxu.js} +1 -1
- package/dist/assets/{AccountInfoPage-BTogpO7M-BeBr7bH3.js → AccountInfoPage-BTogpO7M-BUQAmyzG.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-g_X840C3-Byz3DAPs.js → AccountInfoPageContent-g_X840C3-Bf7uv7Ip.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-DDNvWMEQ-6SWWVHDx.js → AccountLockedInfoModal-DDNvWMEQ-D21ggUhc.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-CydLoK6D-CZ9nLIe4.js → AccountReconDetailsDrawerPage-CydLoK6D-DgTwHDXu.js} +1 -1
- package/dist/assets/{AccountRow-Zjkju8uM-h-BJkTkR.js → AccountRow-Zjkju8uM-6N6Zy9oH.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-D8mOW1Wp-DZkmz2EZ.js → AccountsPromoCardStack-D8mOW1Wp-Bllhxb1U.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-BvGnuIf6-DB5uU020.js → AddAddressForCardDrawer-BvGnuIf6-DHHz24yV.js} +1 -1
- package/dist/assets/{AddToWalletPage-BMCgd2A5-2JYacy2K.js → AddToWalletPage-BMCgd2A5-DYYQJbMt.js} +1 -1
- package/dist/assets/{AddressRoutes-BuxeYADW.js → AddressRoutes-BRhTpo4o.js} +1 -1
- package/dist/assets/{AddressScreen-C8N1fPfJ.js → AddressScreen-DDbvTrW2.js} +1 -1
- package/dist/assets/{AgingReportsPage-BL_aBNzL-Bw5_kBEe.js → AgingReportsPage-BL_aBNzL-Rfib8YTF.js} +1 -1
- package/dist/assets/{AiCfoScreen-DKeSXeDT.js → AiCfoScreen-BMeMMkhN.js} +1 -1
- package/dist/assets/{AllUserItems-b0wgd0Wz-Cmdhksre.js → AllUserItems-b0wgd0Wz-HghicmNo.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-CD2EkZkg-EpN6BsXj.js → ApAgingDetailPage-CD2EkZkg-C3t2oIzS.js} +1 -1
- package/dist/assets/{AppBasePage-BM1NMPdI-BkcQFz9Y.js → AppBasePage-BM1NMPdI-DTjsrnRl.js} +1 -1
- package/dist/assets/{AppDrawerContent-XR9dBd-C-BYsZG5_k.js → AppDrawerContent-XR9dBd-C-BEm_wBDf.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-6unABLlP-C91QTWWo.js → ApprovalRulesSettingsPage-6unABLlP-Dy0-KpVU.js} +1 -1
- package/dist/assets/{ArAgingChart-DePiNxcV-B7MRrlOq.js → ArAgingChart-DePiNxcV-D_qXJGXM.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-DiJ6PePf-YRaFOXlC.js → ArAgingDetailPage-DiJ6PePf-DNZvBCjF.js} +1 -1
- package/dist/assets/{AttachmentView-ENg9Osic-C_h00Xvo.js → AttachmentView-ENg9Osic-P9NYY_0P.js} +1 -1
- package/dist/assets/{BankAccountSection-oL-aN0I_-51rG79cf.js → BankAccountSection-oL-aN0I_-Dgtd5LW7.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-CtRFcHTv-CaeCkm0V.js → BankAccountWarningSection-CtRFcHTv-D_XRICo4.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-B848OGHq-S0dsKmrE.js → BankConnectionsSettingsPage-B848OGHq-Cd04Ls8R.js} +1 -1
- package/dist/assets/{BillDetailPage-CPxVWXx6-LfVxiX7-.js → BillDetailPage-CPxVWXx6-1Oioq8DD.js} +1 -1
- package/dist/assets/{BillPayApprovalRoutes-BwVvI4WJ.js → BillPayApprovalRoutes-D2WhMQ-d.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-DtAj6RxA-B2poyBuX.js → BillPayApprovalRuleDetailPage-DtAj6RxA-cHLoC7d8.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-DLHvMgeY-8GthXHpr.js → BillPayApprovalRulesPage-DLHvMgeY-o_RLMJzv.js} +1 -1
- package/dist/assets/{BillPayPromoPage-DQJAZi1a-DOwuaVpw.js → BillPayPromoPage-DQJAZi1a-nMEmkS30.js} +1 -1
- package/dist/assets/{BillPayRoutes-Bzx279Kq.js → BillPayRoutes-BUUZZuBG.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-BVOLWF1M-CpEBt_P1.js → BillPaySetUpPage-BVOLWF1M-BteYr6zk.js} +1 -1
- package/dist/assets/{BillingSettingsPage-Cfe4Vmza-DSIJr3FK.js → BillingSettingsPage-Cfe4Vmza-BztoAmNg.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-7y9q0HF_-gFD4nZqL.js → BillsBulkReviewDrawerPage-7y9q0HF_-BQu7vS0s.js} +1 -1
- package/dist/assets/{BoxItem-CTEOx6Nh-BbDYdqVh.js → BoxItem-CTEOx6Nh-C4z3ogUT.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-D05hRyo1-BMUS-iMK.js → BusinessVerificationPage-D05hRyo1-CBEBIqW_.js} +1 -1
- package/dist/assets/{BusinessVerificationPageScreen-DfGLG3SR.js → BusinessVerificationPageScreen-Cmz7lCYf.js} +1 -1
- package/dist/assets/{BusyIndication-Nz8htndZ-ChVc54FQ.js → BusyIndication-Nz8htndZ-DYZEgBsh.js} +1 -1
- package/dist/assets/{CardNumberSubText-DijJqFXC-B69YEX78.js → CardNumberSubText-DijJqFXC-9bJRWO6u.js} +1 -1
- package/dist/assets/{CashbackDetailPage-BxIWU0z2-DcCubJwz.js → CashbackDetailPage-BxIWU0z2-5aSz_QAT.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-ClyQPqJf-BAQGqfmW.js → ChargeCardDetailPage-ClyQPqJf-1IHjkCeF.js} +1 -1
- package/dist/assets/{ChargeCardListPage-CYhY6c52-DRzxrfOL.js → ChargeCardListPage-CYhY6c52-CMF1P6xh.js} +1 -1
- package/dist/assets/{ChargeCardListTable-Dblodw9X-B-571jVW.js → ChargeCardListTable-Dblodw9X-CDugn7Oq.js} +1 -1
- package/dist/assets/{ChargeCardPaymentHistoryPage-wt6arCEL-5ryWm6WZ.js → ChargeCardPaymentHistoryPage-wt6arCEL-CW6KbxWs.js} +1 -1
- package/dist/assets/{ChargeCardPromoPage-AihUlwys-A1x9S-W0.js → ChargeCardPromoPage-AihUlwys-Dk9L2iB8.js} +1 -1
- package/dist/assets/{ChargeCardRoutes-4t9GJNvz.js → ChargeCardRoutes-Bi6qtFGx.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-C59WR7nm-CVteL9ef.js → ChargeCardSetupPage-C59WR7nm-BzmfqBsT.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-DF5rt4B5-CiiFftIv.js → ChargeCardStatementsPage-DF5rt4B5-DgWKrTjO.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-B9-ktuL_-Cnbi1t8C.js → CheckDepositDrawerPage-B9-ktuL_-qZS941d9.js} +1 -1
- package/dist/assets/{CollapsableReportTable-BAz0DbFh-Bx4HSBTd.js → CollapsableReportTable-BAz0DbFh-CAhAQGEZ.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-BNSHkrC4-DZDeEGL9.js → CompanyOfficerDetailsSection-BNSHkrC4-ClzL1rA4.js} +1 -1
- package/dist/assets/{CompanyPassportCard-DTfKmcGv-kWFAQF4U.js → CompanyPassportCard-DTfKmcGv-De1PPEAL.js} +1 -1
- package/dist/assets/{CompanyPassportPage-DqhT6YL_-DjGLWJH_.js → CompanyPassportPage-DqhT6YL_-C387_Sbn.js} +1 -1
- package/dist/assets/{CompanyPassportScreen-COEYsT8F.js → CompanyPassportScreen-Bw3qq-Ht.js} +1 -1
- package/dist/assets/{CompleteProfile-DdA-FkwG-DNxHJftH.js → CompleteProfile-DdA-FkwG-CwuL_HZU.js} +1 -1
- package/dist/assets/{ConfettiBurst-Dc0iIaw3-Cdx9N-8d.js → ConfettiBurst-Dc0iIaw3-B7boQlLF.js} +1 -1
- package/dist/assets/{ConnectionAuthScreen-VX2ylo8v.js → ConnectionAuthScreen-Du50wdfI.js} +1 -1
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-B0xEPT_b.js → ConstrainedInnerElement-BeIpAPjB-DRfa7meL.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-CODInbfe-CWblGuXA.js → CreateOrEditVendorPage-CODInbfe-yXgVF4QO.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-DZNUIDa0-DYeUjTKl.js → CreditCardPaymentDrawerPage-DZNUIDa0-JL4MKrF6.js} +1 -1
- package/dist/assets/{CurrencySelectField-D_D8AUqS-W5q-11LT.js → CurrencySelectField-D_D8AUqS-BZdJIXWt.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-CBlyvq0r-BIiex6sW.js → CustomerOnboardingActivationPage-CBlyvq0r-BGxcXIVy.js} +1 -1
- package/dist/assets/CustomerOnboardingAuthScreen-Bmfm6EF8.js +1 -0
- package/dist/assets/CustomerOnboardingContainerPage-BJV0xAFp-C9np5L3h.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CIhb8Zvx-Cm7w9wnG.js → CustomerOnboardingDetailPageSkeleton-CIhb8Zvx-CnjT99uZ.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-CLFh9K94-CVAWL8GH.js → CustomerOnboardingNoStepsPage-CLFh9K94-eo3A1qkf.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-BJGDpI-d-BI8WTIh2.js → CustomerOnboardingPage-BJGDpI-d-BQ9XwM-v.js} +1 -1
- package/dist/assets/{CustomerOnboardingProductSuitePage-DmgQGvpp-BgPaXsEW.js → CustomerOnboardingProductSuitePage-DmgQGvpp-Bu9zcjpR.js} +1 -1
- package/dist/assets/{CustomerOnboardingRoutes-CDOn_9SO.js → CustomerOnboardingRoutes-C8nMZVtS.js} +1 -1
- package/dist/assets/{Dashboard-Cvmg-DzK-CDouUJlf.js → Dashboard-Cvmg-DzK-puV8ebMR.js} +1 -1
- package/dist/assets/{DashboardReportPage-C7bT-gmW-B7qKYPTM.js → DashboardReportPage-C7bT-gmW-B8nCLsAW.js} +1 -1
- package/dist/assets/{DashboardRoutes-Ca715xZt.js → DashboardRoutes-Cs6trW6R.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-CcTStx9W-CLXLQ3Wl.js → DashboardSidebarBackgroundAnimation-CcTStx9W-Bnz6LhkJ.js} +1 -1
- package/dist/assets/{DefaultTenantHome-zrpUM-2h.js → DefaultTenantHome-RFtlxhsO.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-XZgomj7v-pud7es11.js → DepositAccTransactionItem-XZgomj7v-Bhnnv8Ar.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-B11lcuip-BA6bJfDH.js → DepositAccTransactionListPage-B11lcuip-BIFNXmB4.js} +1 -1
- package/dist/assets/{DomesticWireDetailScreen-BGqZWgZd.js → DomesticWireDetailScreen-CDquLvw_.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-Cw4aq8Ar-Bz2WPHpK.js → DomesticWireDetailsPage-Cw4aq8Ar-D7iaVqqU.js} +1 -1
- package/dist/assets/{DownloadOverlay-DE63RFQe-VsFfbW3d.js → DownloadOverlay-DE63RFQe-rm17dQJa.js} +1 -1
- package/dist/assets/{DrawerPage-DGuh6P-6-CJKJMwA-.js → DrawerPage-DGuh6P-6-BcyuUjYZ.js} +1 -1
- package/dist/assets/{DrawerScreen-V32qwnkz.js → DrawerScreen-C-gJlwdg.js} +1 -1
- package/dist/assets/{EditPeoplePage-Dmz2l8uY-CK4iVJZr.js → EditPeoplePage-Dmz2l8uY-DdG9SBff.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-BrQ60mqq-BxmG6xVG.js → EditReimbursementDetailPage-BrQ60mqq-BnVEgdU7.js} +1 -1
- package/dist/assets/{EntityDetailPage-BbeHCNGS-C5UPIJtj.js → EntityDetailPage-BbeHCNGS-CuhXo5UK.js} +1 -1
- package/dist/assets/{EntityDetailRoutes-BxYqKDQd.js → EntityDetailRoutes-Bjmke2zn.js} +1 -1
- package/dist/assets/{EntitySummarySection-BgjWn9vX-ChJDfPvK.js → EntitySummarySection-BgjWn9vX-B3b1MF7S.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-V2cvYWxH-C16OEZnu.js → ExpenseAutomationOverviewPage-V2cvYWxH-CNs6UVeS.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-BDZ6aX0q-DJ_VB_IO.js → ExpenseAutomationPage-BDZ6aX0q-DC7_gDiI.js} +1 -1
- package/dist/assets/{ExpenseAutomationRoutes-Dbfi_osP.js → ExpenseAutomationRoutes-N5IH8NJS.js} +1 -1
- package/dist/assets/{ExpressPayPage-5VdASApP-Po6fvmnX.js → ExpressPayPage-5VdASApP-D9MlPJBc.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-CA_fxOHn-CMqOKpmQ.js → FeaturePreviewPage-CA_fxOHn-Bf1rij6M.js} +1 -1
- package/dist/assets/{FeaturePreviewScreen-C5OPsEGq.js → FeaturePreviewScreen-CLKJ2QAB.js} +1 -1
- package/dist/assets/{FollowStepsSection-CTSjTKjT-D1lTh6HA.js → FollowStepsSection-CTSjTKjT-BGVIDRAe.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-DmrnXFgW-CX1Z-LFj.js → GlobalReviewListPage-DmrnXFgW-B57SMtSt.js} +1 -1
- package/dist/assets/{InformationCardStack-D_Z7Ebe0-CcLIhUuZ.js → InformationCardStack-D_Z7Ebe0-CrFTMoBP.js} +1 -1
- package/dist/assets/{InsightsCardStack-Dbpzjgf4-fdUWj0-e.js → InsightsCardStack-Dbpzjgf4-CmY1A9uH.js} +1 -1
- package/dist/assets/{InsightsSection-DgViiL7e-CyZzflwi.js → InsightsSection-DgViiL7e-D07WWVHm.js} +1 -1
- package/dist/assets/{IntegrationsSettingsPage-4OV7HFwe-DB-wBCWA.js → IntegrationsSettingsPage-4OV7HFwe-DZdJwIZ8.js} +1 -1
- package/dist/assets/{InternationalWireSwiftDetailsPage-B1nvNamF-Csz75ldD.js → InternationalWireSwiftDetailsPage-B1nvNamF-BTijFGVO.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-HZgqUkj4-BeRgJyDk.js → InternationalWireVerificationPage-HZgqUkj4-BQdwtp6K.js} +1 -1
- package/dist/assets/{InviteFormPage-C5mS-6c8-DHEfB4pP.js → InviteFormPage-C5mS-6c8-CQ3pBA8X.js} +1 -1
- package/dist/assets/{InvitePageListView-Yj83_lDA-DG8kjHEN.js → InvitePageListView-Yj83_lDA-BObL1UwR.js} +1 -1
- package/dist/assets/{InvitePeoplePage-C7DlxHsy-CbV9Kfvk.js → InvitePeoplePage-C7DlxHsy-Ch_cCeBl.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-DdIQCBkC-hgUkpCX_.js → InvoiceUploadSection-DdIQCBkC-B4QsOjKN.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-BIOTVOMR-y141Zbnw.js → IssueChargeCardPage-BIOTVOMR-BjJzOdS5.js} +1 -1
- package/dist/assets/{LabeledAddressValue-Bb1x9jR--B6kyu-d_.js → LabeledAddressValue-Bb1x9jR--K66XVI1l.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-D3_DsNPu-DBYOiYu9.js → LabeledAddressValueField-D3_DsNPu-DVmbiKLN.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-DdHmj0q2-DFcQf8uf.js → LabeledControlledCheckBoxField-DdHmj0q2-BmQSyhgm.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-LeubJT8b-DTiRo8mi.js → LabeledCountryMultiSelectField-LeubJT8b-DKahjV4C.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-CzrPLo-T-WU7xdxt6.js → LabeledCreatableSingleSelectField-CzrPLo-T-BnUMrxSH.js} +1 -1
- package/dist/assets/{LabeledDocumentField-CFtFroDl-BZ61zQ53.js → LabeledDocumentField-CFtFroDl-BAzH2vry.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-CFsuVVp3-BWloCe5f.js → LabeledDropDownFormattedTextField-CFsuVVp3-Cllg2-kq.js} +1 -1
- package/dist/assets/{LabeledEmailInputField-BOEHGgHy-DmP8tNRS.js → LabeledEmailInputField-BOEHGgHy-B8PcLj3U.js} +1 -1
- package/dist/assets/{LabeledNameField-DWKoivcI-CTKa3xQk.js → LabeledNameField-DWKoivcI-Bg7Loxzf.js} +1 -1
- package/dist/assets/{LabeledSingleSelectField-BkGsnV9P-L8vud565.js → LabeledSingleSelectField-BkGsnV9P-BmcuJIvo.js} +1 -1
- package/dist/assets/{LabeledText-CZMUFsPf-BSb4-Hu0.js → LabeledText-CZMUFsPf-BzxAzPVQ.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BTo_s8x5-D96FBec7.js → LabeledUserSingleSelectWithSubtitlesField-BTo_s8x5-CA9RNgOe.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-C3LoYUh_-CUGSemOL.js → LabeledZeniRolesDropDownField-C3LoYUh_-B2cjpWvF.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-BbpybbwD-BZQW-eEy.js → LinkJETransactionPage-BbpybbwD-CgRdsDGC.js} +1 -1
- package/dist/assets/{LockCardPage-C0XjGES8-Dv5p7F-M.js → LockCardPage-C0XjGES8-DzPwjGzp.js} +1 -1
- package/dist/assets/{LowBalancePopup-CkO97HGX-C-OMTelo.js → LowBalancePopup-CkO97HGX-nozhu0WG.js} +1 -1
- package/dist/assets/{MagicLinkACHDetailsPage-CcaWGIEm-CBJpUCPj.js → MagicLinkACHDetailsPage-CcaWGIEm-3uajWvNb.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-6V37rCS5-DlEVkMTv.js → MagicLinkDomesticWireDetailsPage-6V37rCS5-Dxqj-iaP.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-BKWBDCxr-1pJwpVUJ.js → MagicLinkInternationalWireDetailsPage-BKWBDCxr-BHR9xOJ3.js} +1 -1
- package/dist/assets/{MagicLinkRoutes-0i3kRHtF.js → MagicLinkRoutes-D99wiuRu.js} +1 -1
- package/dist/assets/{MagicLinkSignInScreen-8oYCtfCr.js → MagicLinkSignInScreen-D9jNjUlX.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-L5UJIvTe-Ds_uEzRm.js → MagicLinkSuccessPage-L5UJIvTe-BW7N1yCO.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-CEZGF8ER-CtJhgwJN.js → MagicLinkTitleSection-CEZGF8ER-DCWrw88D.js} +1 -1
- package/dist/assets/{MailingDetailsSection-CRsQVOYi-DVyOc3HW.js → MailingDetailsSection-CRsQVOYi-xwOtQnim.js} +1 -1
- package/dist/assets/{MobileAppDrawer-vjIJyx5N.js → MobileAppDrawer-D_OmB8VL.js} +1 -1
- package/dist/assets/{MoreMenuButton-BWNCapgP-CobtazoG.js → MoreMenuButton-BWNCapgP-BFDpJyIR.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-C6p5J_f5-aGTzDXcW.js → MyBankConnectionsSettingsPage-C6p5J_f5-2jAZ0hVQ.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-CluWS3nS-3Mvvi7l1.js → MyPendingActivationChargeCardListPage-CluWS3nS-DHrdaNvb.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-Ctkx_sAQ-BJzrBUg_.js → MyProfileSettingsPage-Ctkx_sAQ-BiLtfbOe.js} +1 -1
- package/dist/assets/{NavBarWithPicker-ClP6LCUF-B_agyqrI.js → NavBarWithPicker-ClP6LCUF-D7FqbQNc.js} +1 -1
- package/dist/assets/{NavigationArrow-CUPvxfZv-DFdgHBv5.js → NavigationArrow-CUPvxfZv-CROxnh_J.js} +1 -1
- package/dist/assets/{NavigationDots-Cu9LZj7T-BaBE0dTx.js → NavigationDots-Cu9LZj7T-BoVhghfD.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-g9JuX6MR-DfxwRkm2.js → NewGlobalMerchantPage-g9JuX6MR-Cddrtv6r.js} +1 -1
- package/dist/assets/{NoDataChart-DcMRzXHU-BWuTQSGS.js → NoDataChart-DcMRzXHU-DbjmTgYu.js} +1 -1
- package/dist/assets/{NoDataTable-D1v085Vv-TbZCkeJw.js → NoDataTable-D1v085Vv-CeExg0EA.js} +1 -1
- package/dist/assets/{NotFoundPage-Bf-EPtU9-B60UYrLG.js → NotFoundPage-Bf-EPtU9-DffpH6WC.js} +1 -1
- package/dist/assets/{NotFoundScreen-BlOJVroe.js → NotFoundScreen-DykxXNVn.js} +1 -1
- package/dist/assets/{NotificationRoutes-CKAGXrkl.js → NotificationRoutes-C-lRR8pY.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-Zv4-2vEl-Dq8r17oD.js → NotificationSettingsPage-Zv4-2vEl-CP53OCrD.js} +1 -1
- package/dist/assets/{NotificationsListConfig-CO5uOSs7-B3Op3ktj.js → NotificationsListConfig-CO5uOSs7-aAnj3j2i.js} +1 -1
- package/dist/assets/{NotificationsPage-BH6B4Q8b-YOVbk2c7.js → NotificationsPage-BH6B4Q8b-D1IQhl37.js} +1 -1
- package/dist/assets/{OpExByVendorPage-EjyJRLhn-jezrc1pM.js → OpExByVendorPage-EjyJRLhn-BhVe3s3b.js} +1 -1
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-DZKwQHwV.js → OverlayContainerPage-D4QU0p4o-C20bjbix.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-UpDz4Qqu-fjMo0Gtf.js → PandLWithForecastPage-UpDz4Qqu-BN-vVvpP.js} +1 -1
- package/dist/assets/{PandLWithForecastRoutes-TX6P7Zrq.js → PandLWithForecastRoutes-zzKekdOK.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-CqavirRU-DO80n7FW.js → PaymentAccountSetupBillingAddressSection-CqavirRU-BkF9Y6IP.js} +1 -1
- package/dist/assets/{PeoplePage-D2N1XP-O-DKs_D4Fh.js → PeoplePage-D2N1XP-O-caSWGUZc.js} +1 -1
- package/dist/assets/{PeopleRoutes-C8mODapz.js → PeopleRoutes-CsdzM7DQ.js} +1 -1
- package/dist/assets/{PerformanceRoutes-DiU5fqKk.js → PerformanceRoutes-DoL3UdHs.js} +1 -1
- package/dist/assets/{Preview-CqLia4uG.js → Preview-BI7JdS0A.js} +1 -1
- package/dist/assets/{ProductsCarousel-Dx8bStwI-C44-19N7.js → ProductsCarousel-Dx8bStwI-DCDAdb91.js} +1 -1
- package/dist/assets/{PromoBaseCards-Bauxzwzt-Dgaaf2yK.js → PromoBaseCards-Bauxzwzt-D83UTBk-.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-COlHLDTh-CjJgFUeC.js → QBOConnectionDialog-COlHLDTh-Ca5S7kv5.js} +1 -1
- package/dist/assets/{QBOConnectionScreen-AtAIA8jj.js → QBOConnectionScreen-Bdjj5_fC.js} +1 -1
- package/dist/assets/{QBOSetupSection-Cb4AlHU9-BpQhAPPt.js → QBOSetupSection-Cb4AlHU9-D57sQXWJ.js} +1 -1
- package/dist/assets/{ReferralListScreen-XiiAfJ90.js → ReferralListScreen-CmCz8zc8.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRoutes-BocYdQhD.js → ReimbursementApprovalRoutes-Cei43fBO.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-Cb4wyiiA-PPkCr8xd.js → ReimbursementApprovalRuleDetailPage-Cb4wyiiA-5a2mo1SI.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailScreen-DPE-kSBA.js → ReimbursementApprovalRuleDetailScreen-D1GmaX--.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-BEid42KU-DeLels1v.js → ReimbursementApprovalRulesPage-BEid42KU-CqL0yvKr.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-CuuOsKPv-BPEFJ0xe.js → ReimbursementDetailPage-CuuOsKPv-BmGXaLa_.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-fvIAhNdR-CSg5BemV.js → ReimbursementPromoPage-fvIAhNdR-CIqsc5v3.js} +1 -1
- package/dist/assets/{ReimbursementRoutes-ZXUNkUzw.js → ReimbursementRoutes-CtyvtqmD.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-CBKANstD-CdxQGkDo.js → ReimbursementSetUpPage-CBKANstD-CS_Qn9By.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BXO46shT-Ki-BIH8Q.js → ReimbursementsBulkReviewDrawerPage-BXO46shT-BXeQO4_5.js} +1 -1
- package/dist/assets/{ReloadCard-BKHKE8Pu-B3lPeTvz.js → ReloadCard-BKHKE8Pu-BkEOOlFz.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-gYxUii1M-BhXMqYN6.js → ReportTableViewSelector-gYxUii1M-CxYX420D.js} +1 -1
- package/dist/assets/{ReportsPage-D7rEPLAa-CczMmifR.js → ReportsPage-D7rEPLAa-CTGwy7xH.js} +1 -1
- package/dist/assets/{ReportsRoutes-CZ3tnE-5.js → ReportsRoutes-DzvU0X2a.js} +1 -1
- package/dist/assets/{RevenueChart-BHrj8Dy9-Bgtbsht_.js → RevenueChart-BHrj8Dy9-CDfFyh6U.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-B9SMV_va-PLuKyyKj.js → ReviewDetailsPage-B9SMV_va-DpCKxVZs.js} +1 -1
- package/dist/assets/{ReviewOverlay-Be_F1hd--Aq5DKqVU.js → ReviewOverlay-Be_F1hd--BbTRhL0o.js} +1 -1
- package/dist/assets/{RewardsRoutes-OB-0XHFr.js → RewardsRoutes-vGh4ydPL.js} +1 -1
- package/dist/assets/{RoleWithToolTip-D9DCHaph-Ct3ZRTHm.js → RoleWithToolTip-D9DCHaph-BK_HFdm8.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-h1Ewtn5T-DRtWGNvu.js → ScheduleDetailsFixedAssetsPage-h1Ewtn5T-BEUluqGW.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-Cr-KaH2D-B1Q1jbwo.js → ScheduleDetailsPage-Cr-KaH2D-BD6uE37t.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-BBbLa0gA-C54SUt--.js → ScheduleSequenceTable-BBbLa0gA-BpQ_H6dR.js} +1 -1
- package/dist/assets/{ScreenRoutes-Dj6yeCaN.js → ScreenRoutes-Ddt_3qWB.js} +2 -2
- package/dist/assets/{SetUpAccountSection-ULABF-Md-DYZnUdRJ.js → SetUpAccountSection-ULABF-Md-zu_CEzKT.js} +1 -1
- package/dist/assets/{SettingsRoutes-CK_IQzwc.js → SettingsRoutes-DjjTCzCe.js} +1 -1
- package/dist/assets/{SetupPagesScreen-B28b7eDr.js → SetupPagesScreen-n_J03kZN.js} +1 -1
- package/dist/assets/{SignIn-6YH_riJW-DzqdPViU.js → SignIn-6YH_riJW-CoJmoytJ.js} +1 -1
- package/dist/assets/{SignInScreen-Jslx5-TX.js → SignInScreen-C81bBqwd.js} +1 -1
- package/dist/assets/{SignOutScreen-D56BFgpr.js → SignOutScreen-CEuaozcz.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-D_RrkezV-ELAXLz4H.js → SpendManagementListViewPage-D_RrkezV-Gg_jrdXn.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-BnugLA94-vwewauIW.js → SpendManagementPerTabPage-BnugLA94-ISau-F_A.js} +1 -1
- package/dist/assets/{SpendManagementSection-DCk1isQq-BuKHrb4M.js → SpendManagementSection-DCk1isQq-DqP3iWuL.js} +1 -1
- package/dist/assets/{StatementItem-BWKA6BsE-BBtXJaEH.js → StatementItem-BWKA6BsE-B8aggs_N.js} +1 -1
- package/dist/assets/{StatementsPage-C5KuiVH4-Cf4qB6ps.js → StatementsPage-C5KuiVH4-BGiHKDOi.js} +1 -1
- package/dist/assets/{StatusSwitcher-CgzMvf5t-ncrbliMU.js → StatusSwitcher-CgzMvf5t-BZOhbmQ7.js} +1 -1
- package/dist/assets/{SubTabSwitcher-gc5g6vV0-BudAZpBJ.js → SubTabSwitcher-gc5g6vV0-DPlVBwi9.js} +1 -1
- package/dist/assets/{SuccessAnimation-CcFXT4sg-BtvDv4Ac.js → SuccessAnimation-CcFXT4sg-BETTrulo.js} +1 -1
- package/dist/assets/{SummaryCard-DgPg2oPm-TIRnserH.js → SummaryCard-DgPg2oPm-DQSV3AJ_.js} +1 -1
- package/dist/assets/{TaskDetailPage-Brq3l5Lm-js01YZsk.js → TaskDetailPage-Brq3l5Lm-D1g8XH38.js} +1 -1
- package/dist/assets/{TaskListScreen-PaUFhtYL.js → TaskListScreen-D_rI0d2T.js} +1 -1
- package/dist/assets/{TaskManagementPage-Dyy-A0ij-kAppPPcp.js → TaskManagementPage-Dyy-A0ij-BRtOKHgc.js} +1 -1
- package/dist/assets/{TaskRoutes-DNKzAv87.js → TaskRoutes-CcAxScvl.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-PcHPZNOq-DyMi_xu3.js → TimeRangeSwitcher-PcHPZNOq-Bhy6ebhC.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-XZjkUS_W-DEhbHF-x.js → TimeframeSwitcher-XZjkUS_W-L_xk8ffg.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-KxCdrFMS-CmMYWc36.js → TimeframeSwitcherWithToggle-KxCdrFMS-aH0QwP3R.js} +1 -1
- package/dist/assets/{TopExCard-CRxFMC50-CucHTjUq.js → TopExCard-CRxFMC50-DI0Ys14u.js} +1 -1
- package/dist/assets/{TopExDetailPage-D7dCJGpQ-_APvVGdT.js → TopExDetailPage-D7dCJGpQ-0fQzChNa.js} +1 -1
- package/dist/assets/{TransactionActivityLogPage-ByyxovGE-B8-_ivhT.js → TransactionActivityLogPage-ByyxovGE-DjV_kYSi.js} +1 -1
- package/dist/assets/{TransactionDetailPage-D0_Tjv5D-BbvOSya5.js → TransactionDetailPage-D0_Tjv5D-BzMxrc83.js} +1 -1
- package/dist/assets/{TransactionDetailRoutes-BBeHV_Bn.js → TransactionDetailRoutes-CKp9VtFU.js} +1 -1
- package/dist/assets/{TransactionDetailScreen-BnLwFmdM.js → TransactionDetailScreen-BB7cA6Qz.js} +1 -1
- package/dist/assets/{TransactionList-DoYieHoy-MtmaAm18.js → TransactionList-DoYieHoy-Dq8Ds1Cb.js} +1 -1
- package/dist/assets/{TransactionListBig-BOKPby7d-BiHGWKXG.js → TransactionListBig-BOKPby7d-BEnm2yMd.js} +1 -1
- package/dist/assets/{TransactionListPage-Bfx0PW2V-Ko7n0w0K.js → TransactionListPage-Bfx0PW2V-Bv5CoGoz.js} +1 -1
- package/dist/assets/{TransactionListRoutes-D6vFloa7.js → TransactionListRoutes-C8lRyPOF.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-BK4zpJ1F-BT9vQvKO.js → TransactionVendorDetailPage-BK4zpJ1F-CN3xlCoQ.js} +1 -1
- package/dist/assets/{TransferDrawerPage-B5ofYt0y-GCYB9I81.js → TransferDrawerPage-B5ofYt0y-GqcyFVry.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-D4LuhPMd-FpA9c7P5.js → TreasuryOverviewPage-D4LuhPMd-CAEUMavm.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-ofZQDboF-BK7GFuNm.js → TreasuryPromoPage-ofZQDboF-CT-dKX0-.js} +1 -1
- package/dist/assets/{TreasuryRoutes-DQPlHyww.js → TreasuryRoutes-aZ6pdLcv.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-D4bGPC_n-C9CJ9i1a.js → TreasuryStatementsPage-D4bGPC_n-BmKF81fd.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-4aV14kQe-Bg3G6zgb.js → TreasuryTaxLetterPage-4aV14kQe-DVnspMQ5.js} +1 -1
- package/dist/assets/{TrendChart-BJLik8fK-C09X9QMT.js → TrendChart-BJLik8fK-B6jK66HA.js} +1 -1
- package/dist/assets/{TrendWithTransactions-R1FCSydB-Ci1yaQBG.js → TrendWithTransactions-R1FCSydB-BZtJh6Ko.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-mYSXtdgK-mpKZn3rt.js → UncategorizedAccountsMappingPage-mYSXtdgK-C0jjOEyX.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-C44UiDRH-C1DPzFjn.js → UnitIntegrationPage-C44UiDRH-CnXGyk33.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-CJmvE3y6-D4_Nm785.js → UploadAdditionalDocumentOverlay-CJmvE3y6-B0vgA0Ji.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-Bt_phaZI-DRgs4wjV.js → Vendor2FAPopup-Bt_phaZI-DuVfk6Oy.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-CxlQSWGZ-Fo80chk3.js → VendorACHDetailsPage-CxlQSWGZ-CJCZBXzk.js} +1 -1
- package/dist/assets/{VendorDetailPage-BixXt95H-DDRHGc3v.js → VendorDetailPage-BixXt95H-CEzpHcoG.js} +1 -1
- package/dist/assets/{VendorDomesticWireDetailsPage-BmFZeCgu-3p9zequ6.js → VendorDomesticWireDetailsPage-BmFZeCgu-DciG2YXd.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-DIyS2YV_-CSGr8UHs.js → VendorFiling1099EditablePage-DIyS2YV_-BSd00dOl.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-DZ00XYRi-Bujg7mnV.js → VendorFirstReviewPage-DZ00XYRi-COzJ3EOL.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-DOYmaAmB-DkdpvBe3.js → VendorInternationalWireDetailsPage-DOYmaAmB-CP8642Mt.js} +1 -1
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-BCafZBL5-O4Et_Cvx.js → VendorInternationalWireSwiftDetailsPage-BCafZBL5-De6VzWbh.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-D6DinIAj-CJyfm4FF.js → VendorsAccountsSection-D6DinIAj-BpUOgRZp.js} +1 -1
- package/dist/assets/{VendorsRoutes-BzRnsTCQ.js → VendorsRoutes-BcdOO99u.js} +1 -1
- package/dist/assets/{VerifyDevice-DFug_o82-BbsyIuwM.js → VerifyDevice-DFug_o82-D9msA2pt.js} +1 -1
- package/dist/assets/{VideoPlayer-BuOlZW0M-DUvqMJGc.js → VideoPlayer-BuOlZW0M-BMl86S4m.js} +1 -1
- package/dist/assets/{VideoPopup-B03SM83j-CEO910rC.js → VideoPopup-B03SM83j--LOH40s0.js} +1 -1
- package/dist/assets/{WiseConfirmationScreen-Be46vSWM.js → WiseConfirmationScreen-D_LadT7o.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-BJQvxY7D-0WnS8PEZ.js → ZeniAccountDetailPage-BJQvxY7D-DuzKrnCG.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-CvwGdUPT-CLqSbTJn.js → ZeniAccountListViewPage-CvwGdUPT-Bay6wmzi.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-OGXEdZmI-WHE_ZaHO.js → ZeniAccountNavBarPieces-OGXEdZmI-DsgZBmco.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-iELT-FzW-B54bB-Au.js → ZeniAccountPromoPage-iELT-FzW-BjCD72m0.js} +1 -1
- package/dist/assets/{ZeniAccountRoutes-ked1y8nK.js → ZeniAccountRoutes-DBnPGXKs.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-feqonZIV-DuQlAwjx.js → ZeniAccountSetupPage-feqonZIV-CG1KriVL.js} +1 -1
- package/dist/assets/{ZeniAccountStatementScreen-t9W5AfJc.js → ZeniAccountStatementScreen-Br16O1Ed.js} +1 -1
- package/dist/assets/{ZeniAvatar-CHmpyZc4-xmYCp34T.js → ZeniAvatar-CHmpyZc4-D3SEyYvU.js} +1 -1
- package/dist/assets/{ZeniCopyright-Cy7xQhak-DdKCW6EI.js → ZeniCopyright-Cy7xQhak-ScelyO6I.js} +1 -1
- package/dist/assets/{ZeniDatePicker--Wk1Y9-b-Ikkm7YIY.js → ZeniDatePicker--Wk1Y9-b-DVDC_pYc.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-BGK6jY7c-DnMJhxcK.js → ZeniTransferAmountSlider-BGK6jY7c-BE0jJw55.js} +1 -1
- package/dist/assets/{accountMappingHelper-B5TnMmqA.js → accountMappingHelper-CTk3qsZA.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-Buw9XYbC.js → add-to-wallet-DgdBD8_G-DBixabBc.js} +1 -1
- package/dist/assets/{analytics-D7HtemTn.js → analytics-DeMdmyL7.js} +1 -1
- package/dist/assets/{analyticsHelper-CpXIJxUL.js → analyticsHelper-LPY3WkeX.js} +1 -1
- package/dist/assets/{analyticsHelper-MsboCQcB-ClYGtAlc.js → analyticsHelper-MsboCQcB-CSXrY7fF.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-BfE1l1sB.js → arrow-south-east-round-PEovUgvH-CpIzET1p.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-Dbmd4uJS.js → auto-transfer-rule-mbafm5D3-NghmWVqE.js} +1 -1
- package/dist/assets/{avatar-Dz7aEm3d-C2PjdQVT.js → avatar-Dz7aEm3d-bHemC5rL.js} +1 -1
- package/dist/assets/{calculateSize-DtEgyuiA-BJxqaIDz.js → calculateSize-DtEgyuiA-CjEqHti4.js} +1 -1
- package/dist/assets/{chartTypes-BZL6U2-d-UPGybQZE.js → chartTypes-BZL6U2-d-jpm0hHlK.js} +1 -1
- package/dist/assets/{clock-CJkylEKt-BhyIm3xG.js → clock-CJkylEKt-7F524_Wn.js} +1 -1
- package/dist/assets/{common-DspMM85g-eqBRfeMW.js → common-DspMM85g-CC6Rl9Du.js} +1 -1
- package/dist/assets/{commonDimensions-RZ10geET-CQLnP9WR.js → commonDimensions-RZ10geET-CKOh47Tk.js} +1 -1
- package/dist/assets/{commonTypes-lunwFIdl-BTgH3sp5.js → commonTypes-lunwFIdl-CvIuXwQA.js} +1 -1
- package/dist/assets/{core-ADrPabGT.js → core-CSCSHf4h.js} +1 -1
- package/dist/assets/{dash.all.min-B80Fjk6g.js → dash.all.min-DD8xAjYr.js} +1 -1
- package/dist/assets/{decodeURIComponentSafe-B2klyNYm.js → decodeURIComponentSafe-CjRggx5I.js} +1 -1
- package/dist/assets/{detailCommon-CxEOrtjx-XTML3r_I.js → detailCommon-CxEOrtjx-Ct263sBr.js} +1 -1
- package/dist/assets/{dnd-83aXbnEf.js → dnd-COr1F31f.js} +1 -1
- package/dist/assets/{dollar-round-D18u7nlm-DpqHsegv.js → dollar-round-D18u7nlm-jCztdMWk.js} +1 -1
- package/dist/assets/{downloadPdf-BpxrRqLr-Dq9Hm-Yk.js → downloadPdf-BpxrRqLr-DZAS6b5B.js} +1 -1
- package/dist/assets/{empty-BuW7JTEu.js → empty-BUd3exG5.js} +1 -1
- package/dist/assets/{empty-b7G9eJAG.js → empty-CxBrUVur.js} +1 -1
- package/dist/assets/{epic-PnA5OGYq.js → epic-DybEFF0H.js} +1 -1
- package/dist/assets/{filter-cZIFUNvj-FUBo8Jnl.js → filter-cZIFUNvj-CXXx4fNz.js} +1 -1
- package/dist/assets/{getLocaleForTenant-Bt4tLJ8B.js → getLocaleForTenant-CjEkOXZy.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-BGtl8O0W.js → gift-box-Cmt9OgIZ-CKc8hoEH.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-ExJA3UCE.js → graphic-no-data-l-DU4J8fDt-C4iKOud4.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-BakRM2hs.js → graphic-no-data-net-burn-l-CzmycA0m-VLqn_raX.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-DEzA3ltI.js → handshake-BPg58FML-DNYsMVIY.js} +1 -1
- package/dist/assets/{helper-2Z01-P8G-D7tgV0Ug.js → helper-2Z01-P8G-6WuzcTRW.js} +1 -1
- package/dist/assets/{hyperlink-DQyCeXx2-ky2ivvTP.js → hyperlink-DQyCeXx2-CQAWbGo_.js} +1 -1
- package/dist/assets/{index-BC_OqBzO.js → index-BOP14OKw.js} +1 -1
- package/dist/assets/{index-DjP1wQjH.js → index-BRX_XEL-.js} +1 -1
- package/dist/assets/{index-Bl4vUMlL.js → index-CCO5Gdps.js} +1 -1
- package/dist/assets/{index-DAaNy4V6.js → index-CWdL8pZi.js} +1 -1
- package/dist/assets/{index-DorX0WX8.js → index-DDbdy58V.js} +6 -6
- package/dist/assets/{index-B9b8RnaK.js → index-iatqQdID.js} +1 -1
- package/dist/assets/{lexical-BGYE9Sy4.js → lexical-O2a-WmAf.js} +1 -1
- package/dist/assets/{liveblocks-f_lxxH57.js → liveblocks-CxtxQte5.js} +1 -1
- package/dist/assets/{lottie-sNoV77jf.js → lottie-BQDwpIDJ.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-BJRnX8Ir-CTwzTgVL.js → mapLoadingInProgressToTreeNode-BJRnX8Ir-U3ElZRzN.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode--0eoufeA-BVEmfqf7.js → mapSectionWithAcOnlyToTreeNode--0eoufeA-Z11hNQZX.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-CQvnRjWo-D94Aabob.js → mapSpacerToTreeNode-CQvnRjWo-CdPsLyjM.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-CY0Vs8kK-BW2bp0f8.js → mapTimeframeBalancesToTreeNode-CY0Vs8kK-DzlhNi2D.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-Cytg0KxN-BW6Ya40z.js → mapTimeframeBalancesToTreeNode-Cytg0KxN-BBQ4MiQI.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-3KVmTdIZ-DkTIrIkC.js → mapTimeframeHeaderLoadingInProgressToTreeNode-3KVmTdIZ-DB9phXRk.js} +1 -1
- package/dist/assets/{media-player-D1K6tfw6.js → media-player-En9R4zy-.js} +2 -2
- package/dist/assets/{money-2cg1MuG4-DajJjl7a.js → money-2cg1MuG4-Dg41nRSv.js} +1 -1
- package/dist/assets/{mui-gZ2J-2YO.js → mui-CVWe5m7x.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-mMS9vUC4.js → page-detail-CWX5S47F-BOzcKZnj.js} +1 -1
- package/dist/assets/{page-summary-D7_VQHwN-DhjZazqO.js → page-summary-D7_VQHwN-CcrLQmlI.js} +1 -1
- package/dist/assets/{panelSelectedMixin-CzfD5-Zs-DyRjm7kt.js → panelSelectedMixin-CzfD5-Zs-DlyoL7DQ.js} +1 -1
- package/dist/assets/{pathToGoBack-BvSUl7ma.js → pathToGoBack-DIP3w2mF.js} +1 -1
- package/dist/assets/{pdf-lib-uBsrmHT5.js → pdf-lib-JWzwvdNX.js} +1 -1
- package/dist/assets/{pdf-BNA4Ou8X.js → pdf-rNAmIEF5.js} +3 -3
- package/dist/assets/{plaid-DS3FargU.js → plaid-CiVnbkxs.js} +1 -1
- package/dist/assets/{pusher-fI6e2fO0.js → pusher-CfFxSIhQ.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-BlGVs6W5.js → radio-default-CiSgisfh-dW1yKl4Q.js} +1 -1
- package/dist/assets/{react-PTvHN8FL.js → react-4TAXbemT.js} +3 -3
- package/dist/assets/{react-DGUD67o4.js → react-BLXPSNxU.js} +1 -1
- package/dist/assets/{react-aVJXH_ps.js → react-BQsk4BoF.js} +1 -1
- package/dist/assets/{react-pv23IQaZ.js → react-BeMs2FpL.js} +1 -1
- package/dist/assets/{react-DGs-yfEB.js → react-C8m8Qc1h.js} +1 -1
- package/dist/assets/{react-ihVT-KIV.js → react-CWo9VOAE.js} +1 -1
- package/dist/assets/{react-Dhg_7JXq.js → react-DRNApT94.js} +1 -1
- package/dist/assets/{react-2oa8mqCY.js → react-DreXWt5i.js} +1 -1
- package/dist/assets/{recharts-BKvR8EI0.js → recharts-C5pBg015.js} +1 -1
- package/dist/assets/{routePaths-BozUSOR4.js → routePaths-fz0y1bUD.js} +1 -1
- package/dist/assets/{sentry-tRTnR5ia.js → sentry-DXG8OAzW.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-c8MRbcLE.js → shield-DOlUxcFf-Cd3QAXsn.js} +1 -1
- package/dist/assets/{spend-limit-D6SyboD4-B-j1Sn9h.js → spend-limit-D6SyboD4-D2szeI3Z.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-DzAIFjHl-Bv5FILWN.js → toCOABalancesWithID-DzAIFjHl-Dd4AXSDY.js} +1 -1
- package/dist/assets/{toChartData-BurvmO_S-tegfOE4s.js → toChartData-BurvmO_S-Dcja8_o1.js} +1 -1
- package/dist/assets/{transaction-placeholder-CpOwZAMG-B1W5bE7h.js → transaction-placeholder-CpOwZAMG-B2mLzfbH.js} +1 -1
- package/dist/assets/{undo-b_3XZ5CX-CWSUI7Te.js → undo-b_3XZ5CX-DSJzH_Tn.js} +1 -1
- package/dist/assets/{unlock-BPWn2I5L-DofDRoYu.js → unlock-BPWn2I5L-Do1fnqx6.js} +1 -1
- package/dist/assets/{uploadAttachment-DtJo5Tp4-I2f6VcnN.js → uploadAttachment-DtJo5Tp4-BZBGp8x9.js} +1 -1
- package/dist/assets/{uploadReceipts-Dge0cNF1-CtnQO8tO.js → uploadReceipts-Dge0cNF1-Bk3l52rk.js} +1 -1
- package/dist/assets/{url-DgsAV5vb.js → url-D1_xUHHk.js} +1 -1
- package/dist/assets/{url-C7onmSKg.js → url-DHNwFLzp.js} +1 -1
- package/dist/assets/{useDeviceId-DXjMFBrp.js → useDeviceId-CbEpWwMZ.js} +1 -1
- package/dist/assets/{useInitialThreadRequest-CVIIrf8B.js → useInitialThreadRequest-B_AZH90H.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-BErt8Gng.js → useLongPress-GCK2COYQ-B5PGidsY.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-Vkz6UgtT.js → usp-line-BBd1wKwW-BIw6ZPFi.js} +1 -1
- package/dist/assets/{utils-VuBQoQGa.js → utils-CEFC9M68.js} +1 -1
- package/dist/assets/{withTransactionSidePanel-DCoGJOSb.js → withTransactionSidePanel-CV9mcG0R.js} +1 -1
- package/dist/assets/{zeni-epic-state-DiMW9axO.js → zeni-epic-state-B_a_iTrR.js} +3 -3
- package/dist/assets/{zeni-icon-only-soz6I0gO.js → zeni-icon-only-CqALPKNP.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +1 -1
- package/dist/assets/CustomerOnboardingAuthScreen-Cxwuh-5v.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-BJV0xAFp-SuSAzHFh.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as u,O as o,V as n,bf as x,i as c,b as l,o as C,I as b,s as w,d as M,aT as Z,u as i}from"./index-
|
|
1
|
+
import{J as u,O as o,V as n,bf as x,i as c,b as l,o as C,I as b,s as w,d as M,aT as Z,u as i}from"./index-DDbdy58V.js";import{n as a}from"./mui-CVWe5m7x.js";import{a as r}from"./sentry-DXG8OAzW.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a90481d0-bfbb-474c-a870-6ee2a30af9b3",e._sentryDebugIdIdentifier="sentry-dbid-a90481d0-bfbb-474c-a870-6ee2a30af9b3")}catch{}})();const y=e=>r.createElement("svg",{width:126,height:24,viewBox:"0 0 126 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M124.643 18.207C124.643 17.9706 124.407 17.876 124.194 17.876H123.792V19.0582H124.005V18.5853H124.17L124.431 19.0582H124.691L124.383 18.538C124.456 18.5267 124.523 18.4893 124.571 18.4329C124.618 18.3764 124.644 18.3046 124.643 18.2307V18.207ZM124.005 18.3962V18.0651H124.194C124.312 18.0651 124.431 18.0888 124.431 18.2307C124.431 18.3725 124.289 18.3962 124.17 18.3962H124.005ZM124.194 17.4504C123.988 17.4551 123.789 17.5207 123.62 17.6389C123.452 17.7571 123.322 17.9226 123.248 18.1144C123.174 18.3062 123.158 18.5158 123.203 18.7167C123.247 18.9175 123.351 19.1005 123.499 19.2427C123.648 19.3848 123.836 19.4797 124.038 19.5152C124.241 19.5508 124.45 19.5255 124.638 19.4424C124.826 19.3594 124.985 19.2225 125.096 19.0489C125.206 18.8753 125.263 18.6728 125.258 18.4671C125.258 18.3285 125.231 18.1912 125.177 18.0634C125.123 17.9356 125.044 17.8199 124.945 17.723C124.846 17.626 124.729 17.5499 124.6 17.499C124.471 17.4481 124.333 17.4236 124.194 17.4267V17.4504ZM124.194 19.342C124.015 19.3419 123.841 19.2886 123.693 19.1888C123.544 19.0889 123.429 18.9472 123.362 18.7816C123.295 18.6161 123.278 18.4342 123.315 18.2593C123.352 18.0844 123.44 17.9244 123.568 17.7997C123.696 17.675 123.858 17.5914 124.034 17.5594C124.21 17.5275 124.391 17.5487 124.555 17.6203C124.718 17.692 124.857 17.8108 124.953 17.9616C125.049 18.1125 125.097 18.2885 125.093 18.4671C125.093 18.7054 124.998 18.934 124.829 19.1025C124.661 19.271 124.432 19.3656 124.194 19.3656V19.342ZM56.5685 17.6159C55.0316 17.6159 54.2513 16.2208 54.2513 14.8967C54.2513 13.5725 55.1025 12.2484 56.4976 12.2484C57.1596 12.2484 57.9872 12.5794 58.3183 13.0523L59.9261 11.4208C59.472 10.9824 58.9346 10.6394 58.3458 10.412C57.7569 10.1846 57.1285 10.0774 56.4976 10.0967C53.6601 10.0967 51.603 12.1302 51.603 14.9203C51.603 17.7578 53.6365 19.7676 56.5685 19.7676C57.9399 19.7676 59.2168 19.3656 59.9734 18.538L58.3892 16.8356C58.1538 17.0814 57.8712 17.2772 57.5584 17.4113C57.2456 17.5454 56.9089 17.615 56.5685 17.6159ZM47.4651 19.5075H50.0188V10.3568H47.4887L47.4651 19.5075ZM42.8542 15.3696C42.8542 16.4336 42.1449 17.5922 40.868 17.5922C39.8513 17.5922 39.3074 16.8829 39.3074 15.3932V10.3804H36.7774V16.0553C36.7774 17.9469 37.7232 19.7912 40.2532 19.7912C41.4355 19.7912 42.4286 18.8454 42.9252 18.1361H42.9725V19.5312H45.3843V10.3568H42.8542V15.3696ZM32.2138 11.5154H32.1665C31.8119 11.1134 30.8424 10.0967 29.2818 10.0967C26.7045 10.0967 24.7183 12.1065 24.7183 14.8967C24.7183 17.7341 26.5626 19.7676 29.1636 19.7676C29.7199 19.7505 30.2669 19.62 30.771 19.3842C31.2752 19.1484 31.7259 18.8122 32.0956 18.3962H32.1429V24.0001H34.6493V10.3568H32.2375L32.2138 11.5154ZM29.7784 17.6159C28.2178 17.6159 27.3192 16.2445 27.3192 14.8967C27.3192 13.5962 28.1232 12.2247 29.7784 12.2247C31.268 12.2247 32.1902 13.6435 32.1902 14.9203C32.1902 16.1972 31.2917 17.6159 29.7784 17.6159ZM87.3074 10.0967C84.4464 10.0967 82.3419 12.1065 82.3419 14.8967C82.3419 17.7814 84.47 19.7912 87.3074 19.7912C90.1449 19.7912 92.273 17.7578 92.273 14.8967C92.273 12.1065 90.1922 10.0967 87.3074 10.0967ZM87.3074 17.6159C85.6523 17.6159 84.9193 16.1972 84.9193 14.8967C84.9193 13.5962 85.6759 12.2247 87.3074 12.2247C88.939 12.2247 89.7429 13.5962 89.7429 14.8967C89.7429 16.1972 88.9863 17.6159 87.3311 17.6159H87.3074ZM118.898 13.8799C117.597 13.5725 117.124 13.407 117.124 12.8632C117.124 12.1538 118.07 11.9883 118.472 11.9883C119.252 11.9883 120.127 12.4612 120.482 12.8868L121.971 11.4681C121.262 10.6169 119.914 10.1203 118.496 10.1203C116.651 10.1203 114.736 11.0425 114.736 13.076C114.736 14.8494 116.131 15.3696 117.479 15.7006C118.898 16.0316 119.418 16.2681 119.418 16.8592C119.418 17.6868 118.472 17.8287 118.117 17.8287C117.682 17.8085 117.255 17.7019 116.861 17.5152C116.467 17.3285 116.115 17.0653 115.824 16.741L114.287 18.3016C115.114 19.2474 116.557 19.7912 118.023 19.7912C120.505 19.7912 121.971 18.609 121.971 16.6701C121.971 14.8257 120.174 14.1873 118.898 13.8799ZM114.098 10.3568H110.835L107.571 14.14H107.524V5.32031H104.994V19.5075H107.524V15.0149H107.571L110.953 19.5075H114.263L110.338 14.5183L114.098 10.3568ZM76.6434 10.1203C75.4611 10.1203 74.6335 10.5932 73.806 11.3499H73.7823V5.32031H71.2523V19.5075H73.6641V18.207H73.7114C74.0225 18.6812 74.4472 19.0702 74.9469 19.3386C75.4465 19.607 76.0053 19.7463 76.5725 19.744C79.1734 19.744 81.1597 17.7105 81.1597 14.8967C81.1597 12.1065 79.2207 10.0967 76.6434 10.0967V10.1203ZM76.1468 17.6159C74.6099 17.6159 73.7114 16.2445 73.7114 14.9203C73.7114 13.5962 74.6572 12.2247 76.1468 12.2247C77.7784 12.2247 78.5823 13.5962 78.5823 14.8967C78.5823 16.2445 77.7074 17.6159 76.1468 17.6159ZM70.3064 10.3568H67.0434L63.7803 14.14H63.733V5.32031H61.203V19.5075H63.733V15.0149H63.7803L67.1616 19.5075H70.472L66.5705 14.5183L70.3064 10.3568ZM98.3971 10.1203C95.5124 10.1203 93.4316 12.1302 93.4316 14.8967C93.4316 17.7814 95.5597 19.7912 98.3971 19.7912C101.235 19.7912 103.363 17.7578 103.363 14.8967C103.363 12.1065 101.258 10.0967 98.3971 10.0967V10.1203ZM98.3971 17.6159C96.7419 17.6159 95.9853 16.1972 95.9853 14.8967C95.9853 13.5962 96.7419 12.2247 98.3971 12.2247C100.052 12.2247 100.785 13.5962 100.785 14.8967C100.785 16.1972 100.029 17.6159 98.3971 17.6159Z",fill:"currentColor"}),r.createElement("path",{d:"M11.2405 21.2808C17.117 21.2808 21.8809 16.5169 21.8809 10.6404C21.8809 4.76387 17.117 0 11.2405 0C5.36396 0 0.600098 4.76387 0.600098 10.6404C0.600098 16.5169 5.36396 21.2808 11.2405 21.2808Z",fill:"#2CA01C"}),r.createElement("path",{d:"M3.55566 10.6404C3.55566 11.7379 3.99162 12.7904 4.76764 13.5664C5.54365 14.3424 6.59615 14.7783 7.69359 14.7783H8.28473V13.2414H7.69359C7.00377 13.2414 6.3422 12.9674 5.85442 12.4796C5.36664 11.9918 5.09261 11.3302 5.09261 10.6404C5.09261 9.95058 5.36664 9.28901 5.85442 8.80123C6.3422 8.31346 7.00377 8.03942 7.69359 8.03942H9.11231V16.0788C9.11231 16.2807 9.15207 16.4805 9.22931 16.667C9.30655 16.8535 9.41976 17.0229 9.56247 17.1656C9.70519 17.3083 9.87463 17.4215 10.0611 17.4988C10.2476 17.576 10.4474 17.6158 10.6493 17.6158V6.50248H7.69359C6.59615 6.50248 5.54365 6.93844 4.76764 7.71445C3.99162 8.49046 3.55566 9.54296 3.55566 10.6404ZM14.7872 6.50248H14.1961V8.03942H14.7872C15.477 8.03942 16.1386 8.31346 16.6264 8.80123C17.1141 9.28901 17.3882 9.95058 17.3882 10.6404C17.3882 11.3302 17.1141 11.9918 16.6264 12.4796C16.1386 12.9674 15.477 13.2414 14.7872 13.2414H13.3685V5.20199C13.3685 4.79436 13.2065 4.40343 12.9183 4.1152C12.6301 3.82697 12.2391 3.66504 11.8315 3.66504V14.7783H14.7872C15.3306 14.7783 15.8687 14.6713 16.3707 14.4634C16.8727 14.2554 17.3289 13.9506 17.7131 13.5664C18.0974 13.1821 18.4022 12.726 18.6101 12.2239C18.8181 11.7219 18.9251 11.1838 18.9251 10.6404C18.9251 10.097 18.8181 9.55893 18.6101 9.05689C18.4022 8.55485 18.0974 8.09869 17.7131 7.71445C17.3289 7.33021 16.8727 7.02541 16.3707 6.81746C15.8687 6.60951 15.3306 6.50248 14.7872 6.50248Z",fill:"white"}),r.createElement("path",{d:"M35.1225 2.43553C35.2628 2.43553 35.3999 2.39393 35.5166 2.31598C35.6332 2.23803 35.7242 2.12725 35.7779 1.99763C35.8315 1.86801 35.8456 1.72538 35.8182 1.58778C35.7908 1.45018 35.7233 1.32378 35.6241 1.22458C35.5249 1.12537 35.3985 1.05781 35.2609 1.03044C35.1233 1.00307 34.9806 1.01712 34.851 1.07081C34.7214 1.1245 34.6106 1.21542 34.5327 1.33207C34.4547 1.44872 34.4131 1.58587 34.4131 1.72617C34.4131 1.9143 34.4879 2.09473 34.6209 2.22776C34.7539 2.36079 34.9344 2.43553 35.1225 2.43553ZM30.9373 2.90844C30.6429 2.90803 30.3542 2.98968 30.1036 3.14421C29.853 3.29875 29.6504 3.52006 29.5186 3.78331H29.4713V3.02666H28.3836V7.68479H29.5422V5.1311C29.5422 4.51632 29.8969 3.87789 30.6299 3.87789C31.3629 3.87789 31.5048 4.56361 31.5048 5.10745V7.70844H32.6634V4.75277C32.6634 3.80696 32.1668 2.86114 30.9373 2.86114V2.90844ZM26.019 7.68479H27.2013V3.02666H26.019V7.68479ZM47.1816 2.41188C47.3219 2.41188 47.4591 2.37028 47.5757 2.29233C47.6924 2.21439 47.7833 2.1036 47.837 1.97398C47.8907 1.84437 47.9047 1.70174 47.8773 1.56413C47.85 1.42653 47.7824 1.30014 47.6832 1.20093C47.584 1.10173 47.4576 1.03417 47.32 1.00679C47.1824 0.979424 47.0398 0.993471 46.9101 1.04716C46.7805 1.10085 46.6697 1.19177 46.5918 1.30842C46.5138 1.42508 46.4722 1.56223 46.4722 1.70252C46.4722 1.89066 46.547 2.07109 46.68 2.20412C46.813 2.33715 46.9935 2.41188 47.1816 2.41188ZM45.29 3.02666V4.06706H46.5905V7.68479H47.7727V4.06706H49.0732V3.02666H45.29ZM43.3038 7.68479H44.486V3.02666H43.3038V7.68479ZM33.2545 4.06706H34.555V7.68479H35.7373V4.06706H37.0378V3.02666H33.2545V4.06706ZM40.9629 5.604C40.9629 6.21878 40.6082 6.8572 39.8752 6.8572C39.1422 6.8572 39.0003 6.14784 39.0003 5.604V3.02666H37.8181V5.93504C37.8181 6.88085 38.3383 7.82666 39.5442 7.82666C39.8426 7.83151 40.1363 7.75195 40.3915 7.59717C40.6467 7.44239 40.8529 7.21867 40.9865 6.95179H41.0102V7.70844H42.1215V3.02666H40.9392V5.58036L40.9629 5.604Z",fill:"currentColor"})),s={containerPaddingTop:new l(i[5],i[7]),containerPaddingBottom:new l(i[5],i[5]),containerPaddingLeftRight:new l(i[6],i[11])},L=a.div`
|
|
2
2
|
border-radius: inherit;
|
|
3
3
|
max-width: 520px;
|
|
4
4
|
text-align: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as Ol}from"./pdf-
|
|
1
|
+
import{j as Ol}from"./pdf-rNAmIEF5.js";import{p as Q,e as xc,d as kc,g as jl,a as xl}from"./sentry-DXG8OAzW.js";import{B as dt,cs as Tc,Gn as Ac,Gw as kl,Ei as Rc,bE as Tl,c_ as Al,c$ as Rl}from"./zeni-epic-state-B_a_iTrR.js";import{a as lt,b as Il,c as Pl,d as Nl,e as an,f as Ll,g as $l,h as Ml,i as Vt,j as Ic,k as oe,l as je,m as Dl,n as Yt,o as ue,p as Cl}from"./utils-CEFC9M68.js";import{r as un}from"./empty-CxBrUVur.js";import{r as Fl,a as Bl,b as Ul,c as ql}from"./pdf-lib-JWzwvdNX.js";import{r as Gl}from"./index-BOP14OKw.js";import{r as zl}from"./index-CCO5Gdps.js";import{j as Zl,h as Hl,i as Vl,u as En,k as Yl}from"./core-CSCSHf4h.js";import{jd as Kl,je as Pc,jf as Wl,jn as Jl,jo as Xl,jp as Ql,jl as tf}from"./index-DDbdy58V.js";import"./mui-CVWe5m7x.js";import{d as Pe}from"./decodeURIComponentSafe-CjRggx5I.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},f=new t.Error().stack;f&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[f]="478df8db-b737-4b3c-9825-73b71e4f3afe",t._sentryDebugIdIdentifier="sentry-dbid-478df8db-b737-4b3c-9825-73b71e4f3afe")}catch{}})();var _n,Sn={exports:{}},On,jn,xn,kn,Tn,An,Rn,In,Pn,Ne,Nn,Ln,$n,Mn,Dn,Cn,Fn,Bn,Un,qn,Gn,Le,zn,Zn,Hn,Vn,Yn,Kn,Wn,$e,Jn,Xn,Qn,to,eo,ro,no,Me={exports:{}},De={exports:{}},Ce={};function Nc(){if(On)return Ce;function t(r){return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(r)}function f(r,e){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,p){return a.__proto__=p,a},f(r,e)}function m(r){var e=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var a,p=s(r);if(e){var h=s(this).constructor;a=Reflect.construct(p,arguments,h)}else a=p.apply(this,arguments);return function(d,b){if(b&&(t(b)==="object"||typeof b=="function"))return b;if(b!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(g){if(g===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g}(d)}(this,a)}}function s(r){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(r)}On=1;var c,o,n={};function i(r,e,a){a||(a=Error);var p=function(h){(function(u,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(y&&y.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),y&&f(u,y)})(g,h);var d,b=m(g);function g(u,y,v){var S;return function(w,_){if(!(w instanceof _))throw new TypeError("Cannot call a class as a function")}(this,g),S=b.call(this,function(w,_,M){return typeof e=="string"?e:e(w,_,M)}(u,y,v)),S.code=r,S}return d=g,Object.defineProperty(d,"prototype",{writable:!1}),d}(a);n[r]=p}function l(r,e){if(Array.isArray(r)){var a=r.length;return r=r.map(function(p){return String(p)}),a>2?"one of ".concat(e," ").concat(r.slice(0,a-1).join(", "),", or ")+r[a-1]:a===2?"one of ".concat(e," ").concat(r[0]," or ").concat(r[1]):"of ".concat(e," ").concat(r[0])}return"of ".concat(e," ").concat(String(r))}return i("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),i("ERR_INVALID_ARG_TYPE",function(r,e,a){var p,h,d;if(c===void 0&&(c=ie()),c(typeof r=="string","'name' must be a string"),typeof e=="string"&&(h="not ",e.substr(0,h.length)===h)?(p="must not be",e=e.replace(/^not /,"")):p="must be",function(g,u,y){return(y===void 0||y>g.length)&&(y=g.length),g.substring(y-u.length,y)===u}(r," argument"))d="The ".concat(r," ").concat(p," ").concat(l(e,"type"));else{var b=function(g,u,y){return typeof y!="number"&&(y=0),!(y+u.length>g.length)&&g.indexOf(u,y)!==-1}(r,".")?"property":"argument";d='The "'.concat(r,'" ').concat(b," ").concat(p," ").concat(l(e,"type"))}return d+=". Received type ".concat(t(a))},TypeError),i("ERR_INVALID_ARG_VALUE",function(r,e){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";o===void 0&&(o=lt());var p=o.inspect(e);return p.length>128&&(p="".concat(p.slice(0,128),"...")),"The argument '".concat(r,"' ").concat(a,". Received ").concat(p)},TypeError),i("ERR_INVALID_RETURN_VALUE",function(r,e,a){var p;return p=a&&a.constructor&&a.constructor.name?"instance of ".concat(a.constructor.name):"type ".concat(t(a)),"Expected ".concat(r,' to be returned from the "').concat(e,'"')+" function but got ".concat(p,".")},TypeError),i("ERR_MISSING_ARGS",function(){for(var r=arguments.length,e=new Array(r),a=0;a<r;a++)e[a]=arguments[a];c===void 0&&(c=ie()),c(e.length>0,"At least one arg needs to be specified");var p="The ",h=e.length;switch(e=e.map(function(d){return'"'.concat(d,'"')}),h){case 1:p+="".concat(e[0]," argument");break;case 2:p+="".concat(e[0]," and ").concat(e[1]," arguments");break;default:p+=e.slice(0,h-1).join(", "),p+=", and ".concat(e[h-1]," arguments")}return"".concat(p," must be specified")},TypeError),Ce.codes=n,Ce}function ef(){if(xn)return jn;function t(k,E){var j=Object.keys(k);if(Object.getOwnPropertySymbols){var x=Object.getOwnPropertySymbols(k);E&&(x=x.filter(function(O){return Object.getOwnPropertyDescriptor(k,O).enumerable})),j.push.apply(j,x)}return j}function f(k){for(var E=1;E<arguments.length;E++){var j=arguments[E]!=null?arguments[E]:{};E%2?t(Object(j),!0).forEach(function(x){m(k,x,j[x])}):Object.getOwnPropertyDescriptors?Object.defineProperties(k,Object.getOwnPropertyDescriptors(j)):t(Object(j)).forEach(function(x){Object.defineProperty(k,x,Object.getOwnPropertyDescriptor(j,x))})}return k}function m(k,E,j){return(E=c(E))in k?Object.defineProperty(k,E,{value:j,enumerable:!0,configurable:!0,writable:!0}):k[E]=j,k}function s(k,E,j){return E&&function(x,O){for(var $=0;$<O.length;$++){var N=O[$];N.enumerable=N.enumerable||!1,N.configurable=!0,"value"in N&&(N.writable=!0),Object.defineProperty(x,c(N.key),N)}}(k.prototype,E),Object.defineProperty(k,"prototype",{writable:!1}),k}function c(k){var E=function(j,x){if(p(j)!=="object"||j===null)return j;var O=j[Symbol.toPrimitive];if(O!==void 0){var $=O.call(j,x);if(p($)!=="object")return $;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(j)}(k,"string");return p(E)==="symbol"?E:String(E)}function o(k,E){if(E&&(p(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return n(k)}function n(k){if(k===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return k}function i(k){var E=typeof Map=="function"?new Map:void 0;return i=function(j){if(j===null||(x=j,Function.toString.call(x).indexOf("[native code]")===-1))return j;var x;if(typeof j!="function")throw new TypeError("Super expression must either be null or a function");if(E!==void 0){if(E.has(j))return E.get(j);E.set(j,O)}function O(){return l(j,arguments,a(this).constructor)}return O.prototype=Object.create(j.prototype,{constructor:{value:O,enumerable:!1,writable:!0,configurable:!0}}),e(O,j)},i(k)}function l(k,E,j){return l=r()?Reflect.construct.bind():function(x,O,$){var N=[null];N.push.apply(N,O);var P=new(Function.bind.apply(x,N));return $&&e(P,$.prototype),P},l.apply(null,arguments)}function r(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function e(k,E){return e=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(j,x){return j.__proto__=x,j},e(k,E)}function a(k){return a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(E){return E.__proto__||Object.getPrototypeOf(E)},a(k)}function p(k){return p=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(E){return typeof E}:function(E){return E&&typeof Symbol=="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E},p(k)}xn=1;var h=lt().inspect,d=Nc().codes.ERR_INVALID_ARG_TYPE;function b(k,E,j){return(j===void 0||j>k.length)&&(j=k.length),k.substring(j-E.length,j)===E}var g="",u="",y="",v="",S={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function w(k){var E=Object.keys(k),j=Object.create(Object.getPrototypeOf(k));return E.forEach(function(x){j[x]=k[x]}),Object.defineProperty(j,"message",{value:k.message}),j}function _(k){return h(k,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function M(k,E,j){var x="",O="",$=0,N="",P=!1,G=_(k),A=G.split(`
|
|
2
2
|
`),I=_(E).split(`
|
|
3
3
|
`),R=0,B="";if(j==="strictEqual"&&p(k)==="object"&&p(E)==="object"&&k!==null&&E!==null&&(j="strictEqualObject"),A.length===1&&I.length===1&&A[0]!==I[0]){var V=A[0].length+I[0].length;if(V<=10){if(!(p(k)==="object"&&k!==null||p(E)==="object"&&E!==null||k===0&&E===0))return"".concat(S[j],`
|
|
4
4
|
|
package/dist/assets/{QBOSetupSection-Cb4AlHU9-BpQhAPPt.js → QBOSetupSection-Cb4AlHU9-D57sQXWJ.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as k,O as u,V as i,i as C,o,b as a,e as c,f7 as I,H as T,d as D,aT as W,e_ as B,ad as w,x as f,u as t}from"./index-
|
|
1
|
+
import{J as k,O as u,V as i,i as C,o,b as a,e as c,f7 as I,H as T,d as D,aT as W,e_ as B,ad as w,x as f,u as t}from"./index-DDbdy58V.js";import{n as s}from"./mui-CVWe5m7x.js";import{D as E,V as _}from"./QBOConnectionDialog-COlHLDTh-Ca5S7kv5.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]="e0767b45-5a19-4bd0-9f13-a6a05fd41411",e._sentryDebugIdIdentifier="sentry-dbid-e0767b45-5a19-4bd0-9f13-a6a05fd41411")}catch{}})();const d={containerPadding:new a(t[3],t[4]),sectionWidth:new a(343,580,726),topElementsRowGap:new a(t[3],t[0]),arrowIconWidthHeight:new a(t[3],t[4])},G={title:new T("standardMedium","largeMedium")},ee=({isAdmin:e,hasError:r=!1,isValid:l,saveConnectionState:p,isQBOPopupOpen:$,companyName:y,updateQBOPopupState:h,handleOnConnectClick:b})=>{const n=k(),{qbo_connection:j}=u.getLocalizedStrings().customerOnboardingPage.sections,{title:S,sucessText:v,button:z,errorText:P,requiredText:O}=j;return i.jsxs(H,{windowSize:n,children:[i.jsxs(A,{windowSize:n,children:[n==="small"?i.jsx(J,{children:l?i.jsx(K,{}):i.jsx(U,{})}):null,i.jsx(N,{windowSize:n,children:S})]}),i.jsxs(Q,{windowSize:n,children:[i.jsxs(V,{windowSize:n,children:[i.jsxs(L,{children:[i.jsx(M,{}),i.jsx(R,{windowSize:n}),i.jsx(F,{})]}),l?n!=="small"?i.jsx(m,{}):null:i.jsx(C,{variant:"primary",size:n!=="small"?"standard":"xs-small",label:z.connect,style:{width:"fit-content"},onClick:()=>h(!0),loading:p==="In-Progress"})]}),l?i.jsxs(i.Fragment,{children:[i.jsx(q,{children:v}),n==="small"?i.jsx(m,{}):null]}):null,p==="Error"?i.jsx(x,{children:i.jsx(g,{windowSize:n,children:P})}):null,r&&!l?i.jsx(x,{children:i.jsx(g,{windowSize:n,children:O})}):null]}),i.jsx(E,{isAdmin:e,isGoBackAllowed:!0,isQBOPopupOpen:$,companyName:y,saveConnectionState:p,handleOnConnectClick:b,handleGoBack:()=>h(!1)})]})},m=()=>{const{tags:e}=u.getLocalizedStrings().customerOnboardingPage,{connected:r}=e;return i.jsx(B,{style:{width:"max-content",padding:0,marginTop:o.sp2},tagTitle:r,textColor:{color:new w(c.successDark),borderColor:new w(c.successDark)}})},H=s.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t}from"./pdf-
|
|
1
|
+
import{j as t}from"./pdf-rNAmIEF5.js";import{a as o}from"./sentry-DXG8OAzW.js";import{u,j as L,i as A,h as F,k as M}from"./core-CSCSHf4h.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-DDbdy58V.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-B_a_iTrR.js";import{D as te,e as se,n as oe,S as ie}from"./mui-CVWe5m7x.js";import{M as le}from"./MobileAppDrawer-D_OmB8VL.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="86f2b0c5-ed2d-4547-b74d-7acb52ca31c9",e._sentryDebugIdIdentifier="sentry-dbid-86f2b0c5-ed2d-4547-b74d-7acb52ca31c9")}catch{}})();const ce={overlayWidth:new _(100,100,30)},de=({isReferralDrawerOpen:e,closeDrawerHandler:a})=>{const r=N(),s=V();if(S.getSignedInUser()==null)throw Error("Can't access How Referral works without signing in...");const i=()=>{a(!0)},p=u(c=>q(c));return t.jsx(te,{anchor:"right",open:e,PaperProps:{style:{width:ce.overlayWidth.valuePercentage(s),boxShadow:"none"}},slotProps:{backdrop:{style:{opacity:.75,backgroundColor:r.colors.black,cursor:"pointer"}}},onClose:()=>i(),children:t.jsx(se,{in:e,direction:"left",children:t.jsx(fe,{onClick:c=>c.stopPropagation(),children:t.jsx(W,{onDismissClick:i,rewardsPlan:p.rewardsPlan})})})})},fe=oe(ie)`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-height: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as t}from"./pdf-
|
|
1
|
+
import{j as t}from"./pdf-rNAmIEF5.js";import x from"./NotFoundScreen-DykxXNVn.js";import{a as p}from"./sentry-DXG8OAzW.js";import{j as I,h as A,i as C,u,N as E,k,R as D,m as c}from"./core-CSCSHf4h.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-B_a_iTrR.js";import{y as $,je as N,jC as O,jX as W,ll as q,k3 as z}from"./index-DDbdy58V.js";import"./mui-CVWe5m7x.js";import{R as h}from"./ReimbursementApprovalRuleDetailScreen-D1GmaX--.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="0ba7352c-a768-49af-a737-4123051acf3d",e._sentryDebugIdIdentifier="sentry-dbid-0ba7352c-a768-49af-a737-4123051acf3d")}catch{}})();const d="reimbursement-approval-rule-update",B=k(function(e){return{approvalView:y(e),remiSetupApproverViewUpdateData:g(e).remiSetupApproverViewUpdateData}},function(e,r){const{navigate:a,location:l}=r;return{onApprovalRulesEventReceived:n=>{n.endsWith(d)&&e(K(!1))},onBackClick:()=>{z(l)?a("../../"):a("../../../reimbursements/setup")},onDeleteRuleClick:n=>{e(U(n))},onEditRuleClick:n=>{n!=null?(e(m(n)),a(`./${n}/edit`)):(e(m()),a("./new"))}}})(W(q)),L=()=>{const e=I(),r=A(),a=C(),[l,n]=p.useState(!1),[f,S]=p.useState(!1),v=u(s=>s.remiSetupApproverViewState.fetchState),o=u(s=>T(s)),j=$(),i=u(s=>y(s)),b=u(s=>g(s).remiSetupApproverViewUpdateData);if(p.useEffect(()=>{b?.updateStatus.fetchState==="Completed"&&a(V())},[b]),p.useEffect(()=>{l||v!=="Not-Started"||(n(!0),a(_(!0)))},[l,v,a]),N.getSignedInUser()==null)throw Error("Can't access reimbursement approval without signing in...");p.useEffect(()=>{i.allApprovalRules.length===0&&i.fetchState==="Completed"&&(f||(S(!0),a(m())),e("./new"))},[f,i,a]);const w={events:o.companyId!=null?[`private-${o.companyId}.${d}`]:[],eventCallback:(s,P,R)=>{s.endsWith(d)&&R.onApprovalRulesEventReceived(s)}};return o.companyReimbursementInfo?.info?.isReimbursementTOSAccepted===!1?t.jsx(E,{to:"../../promo"}):o.companyReimbursementInfo?.info?.isReimbursementTOSAccepted!==!0||i.fetchState!=="Completed"&&i.fetchState!=="Error"?t.jsx(O,{fetchState:"In-Progress",style:{backgroundColor:j.colors.grey5}}):t.jsx(B,{currentTenant:o,location:r,navigate:e,...w})};function Z(){return t.jsxs(D,{children:[t.jsx(c,{path:"/",element:t.jsx(L,{})}),t.jsx(c,{path:"/new",element:t.jsx(h,{})}),t.jsx(c,{path:"/:approvalRuleId/edit",element:t.jsx(h,{})}),t.jsx(c,{path:"*",element:t.jsx(x,{})})]})}export{Z as R};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as M,u as D,y as W,J as G,O as U,T as J,a7 as X,a0 as H,b$ as K,V as r,a_ as Q,A as Y,a9 as Z,o as b,fo as ee}from"./index-
|
|
1
|
+
import{b as M,u as D,y as W,J as G,O as U,T as J,a7 as X,a0 as H,b$ as K,V as r,a_ as Q,A as Y,a9 as Z,o as b,fo as ee}from"./index-DDbdy58V.js";import{a as L}from"./sentry-DXG8OAzW.js";import{n as u}from"./mui-CVWe5m7x.js";import{b as ae,f as te,o as B,l as T}from"./FollowStepsSection-CTSjTKjT-BGVIDRAe.js";import"./pdf-rNAmIEF5.js";import"./zeni-epic-state-B_a_iTrR.js";import"./core-CSCSHf4h.js";import"./lottie-BQDwpIDJ.js";import"./liveblocks-CxtxQte5.js";import"./recharts-C5pBg015.js";import"./dnd-COr1F31f.js";import"./analytics-DeMdmyL7.js";import"./plaid-CiVnbkxs.js";import"./utils-CEFC9M68.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]="6953c252-eaa3-4ce7-80a6-c4f6268410bc",e._sentryDebugIdIdentifier="sentry-dbid-6953c252-eaa3-4ce7-80a6-c4f6268410bc")}catch{}})();const _="reimbursementApprovalRuleDetailPage",C="lowerBound",k="upperBound",I="steps",h="applyToExistingReimbursements",le={footerPadding:new M(D[2],D[3])};function Ue({localData:e,approvalUpdateActionType:t,isLowerBoundDisabled:a=!1,isUpperBoundDisabled:o=!0,hideUpperBoundField:n=!1,onBackClick:s,onApprovalRuleDataUpdated:g,onResetClick:$,onSaveRuleClick:N,onSaveRuleSuccess:A}){const E=W(),w=G(),l=U.getLocalizedStrings().commonSetUp.approval,S=U.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,x=re(e,t==="approval_create"&&!a),y=J({mode:"all",reValidateMode:"onChange",defaultValues:x}),d=e.remiSetupApproverViewUpdateData?.updateStatus,R=X(d?.fetchState),{upperBound:P}=x,{allApprovalRules:p,allAccountingClasses:V,remiSetupApproverViewUpdateData:c}=e;let m=p.length>1?p.length-1:0,v=p.length>0?p[m].criteria[0].range.min.amount:0;if(c!=null&&c.type==="approval_update"&&c.data!=null){const{approvalRuleId:i}=c.data;m=p.findIndex(f=>f.approvalRuleId===i),v=m>0?p[m-1].criteria[0].range.min.amount:0}const O=y.handleSubmit(()=>{N()});return L.useEffect(()=>{const i=y.watch((f,{name:q})=>{if(q!=null&&f!=null){const z=H(f);K(()=>(async(me,F)=>{g(F)})(0,z))}});return()=>{i.unsubscribe()}}),L.useEffect(()=>{R==="In-Progress"&&d?.fetchState==="Completed"&&A()},[R,d?.fetchState,A]),r.jsxs(ie,{children:[r.jsx(Q,{title:t==="approval_create"?l.newApproval:l.editApproval,backgroundColor:E.colors.grey4,style:{zIndex:4},onBackClick:()=>{s()},source:"ReimbursementApprovalRuleDetailPage"}),r.jsx(pe,{children:r.jsxs(Y,{...y,children:[r.jsx(ue,{children:r.jsx("form",{id:j(_),onSubmit:O,children:r.jsxs(de,{children:[r.jsx(ae,{label:{label:n?S.amountPerRemiGreaterLabel:S.amountPerRemiLabel},firstText:{type:"number",name:C,placeholder:"$0",options:{required:!0,max:P===1/0?Number.MAX_SAFE_INTEGER-1:P-1,min:v,validate:i=>!!a||i!=null&&i>v},isDisabled:a,additionalInfoLabel:l.firstRuleLowerBoundInfoLabel,additionalErrorLabel:l.firstRuleErrorInfoLabel},secondText:{type:"number",name:k,placeholder:"Infinity",isDisabled:o,hideField:n,additionalInfoLabel:l.upperBoundInfoLabel}}),r.jsx(ce,{}),r.jsx(te,{sectionId:I,label:{label:l.followStepsLabel},approversPlaceholder:l.approversPlaceholder,notifiersPlaceholder:l.notifiersPlaceholder,allUserWithRoles:e.allApprovers,filteredApprovers:e.filteredApprovers.map(i=>i.user),allAttributes:e.allAttributes,filteredAttributes:e.filteredAttributes,allAccountingClasses:V,stepsInfo:x[I],userSelectPlaceholder:l.userSelectPlaceholder,approveNotifyPlaceholder:l.approveNotifyPlaceholder,productType:"zeni_reimbursements"})]})})}),r.jsx(Z,{formId:j(_),primaryBtn:{label:l.saveBtnText,isLoading:d?.fetchState==="In-Progress",isDisabled:d?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},topComponent:t==="approval_create"&&p.length===0?null:r.jsx(ee,{name:h,mode:"always_on",checkBoxes:[{value:h,label:l.applyToExistingReimbursements,defaultChecked:!0,groupLabel:!1}],style:{width:"100%"}}),showCancel:!0,cancelBtn:{label:l.cancelBtnText,isLoading:!1,style:{width:"85px",minWidth:"auto"},onClick:$},containerStyle:{justifyContent:w==="small"?"space-between":"center"},style:{padding:le.footerPadding.valuePx(w)},separatorStyle:{marginRight:b.sp4}})]})})]})}const re=(e,t)=>{const{criteria:a,steps:o}=e.remiSetupApproverViewUpdateData?.data??{},n=e.allApprovalRules.length===0;return{[h]:n?[]:[h],[I]:oe(e.allApprovers.map(s=>s.user),e.filteredApprovers.map(s=>s.user),B(e.allAttributes),B(e.filteredAttributes),o??[])??[],[C]:t?void 0:a!=null?a.range.min.amount??0:0,[k]:a!=null?a.range.max==null?1/0:a.range.max.amount:1/0}},oe=(e,t,a,o,n)=>n&&n.length>0?n.map((s,g)=>({stepIndex:g,stepType:{selectedOption:s.action,allOptions:T},actors:{allUsers:t,selectedUsers:se(e,s.actors),allNonUsers:o,selectedNonUsers:ne(a,s.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:T},actors:{allUsers:t,selectedUsers:[],allNonUsers:o,selectedNonUsers:[]}}],se=(e,t)=>e.filter(a=>a.userId!=null&&t.findIndex(o=>o.userId===a.userId)>-1),ne=(e,t)=>e.filter(a=>t.findIndex(o=>o.subType===a.value)>-1),j=e=>`${e}_form`,Le=e=>`${e}`,ie=u.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
height: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as g}from"./pdf-
|
|
1
|
+
import{j as g}from"./pdf-rNAmIEF5.js";import{a as y}from"./sentry-DXG8OAzW.js";import{j as w,i as A,h as T,l as U,u as b,k as E}from"./core-CSCSHf4h.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-B_a_iTrR.js";import{je as j,y as B,jC as V,lc as F,k3 as O}from"./index-DDbdy58V.js";import"./mui-CVWe5m7x.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="cd0530f0-7394-4100-97c0-0b6177252dcc",e._sentryDebugIdIdentifier="sentry-dbid-cd0530f0-7394-4100-97c0-0b6177252dcc")}catch{}})();function $(e){return k(e)==null}const K=E(function(e,a){const t=R(e),s=t.remiSetupApproverViewUpdateData?.type??"approval_create",n=s==="approval_create"&&t.allApprovalRules.length!==0;let l=t.allApprovalRules.length===0;return a.approvalRuleId&&(l=t.allApprovalRules.findIndex(r=>r.approvalRuleId===a.approvalRuleId)===0),{localData:t,hideUpperBoundField:n,isLowerBoundDisabled:l,approvalUpdateActionType:s}},function(e,a){const{navigate:t,approvalUpdateDataView:s,approverViewData:n,approvalRuleId:l}=a,r=s.remiSetupApproverViewUpdateData?.type,i=O(a.location);return{onApprovalRuleDataUpdated:o=>{const c=p=>{const v=[];return p.forEach(u=>{const D=u.actors.selectedUsers.map(d=>({type:"user",subType:void 0,userId:d.userId,idType:"user",isImplicitActor:!1})),I=u.actors.selectedNonUsers.map(d=>{const m=!!$(d.value);return{type:m?"attribute":"role",subType:d.value,userId:void 0,idType:void 0,isImplicitActor:!m}}),f=D.concat(I);v.push({action:u.stepType.selectedOption,actors:f,operator:f.length>1?u.stepType.selectedOption==="require_approval"?"or":"and":"is"})}),v};if(r==="approval_create"){const p={criteria:{rangeType:"range",rangeEntity:"currency",range:{min:{amount:o.lowerBound,currencyCode:"USD",currencySymbol:"$"},max:{amount:o.upperBound,currencyCode:"USD",currencySymbol:"$"}}},steps:c(o.steps),isApplicableOnPendingApprovalEntity:o.applyToExistingReimbursements.includes("applyToExistingReimbursements")};e(h(p))}else{const p={approvalRuleId:l,criteria:{rangeType:"range",rangeEntity:"currency",range:{min:{amount:o.lowerBound,currencyCode:"USD",currencySymbol:"$"},max:{amount:o.upperBound,currencyCode:"USD",currencySymbol:"$"}}},steps:c(o.steps),isApplicableOnPendingApprovalEntity:o.applyToExistingReimbursements.includes("applyToExistingReimbursements")};e(h(p))}},onResetClick:()=>{e(S()),r==="approval_update"||i?t("../"):n.allApprovalRules.length===0&&n.fetchState==="Completed"?t("../../setup"):t("../")},onBackClick:()=>{e(S()),r==="approval_update"||i?t("../"):n.allApprovalRules.length===0&&n.fetchState==="Completed"?t("../../setup"):t("../")},onSaveRuleClick:()=>{e(_())},onSaveRuleSuccess:()=>{t("../")}}})(F);function G(){const e=w(),a=A(),t=T(),{approvalRuleId:s}=U(),n=j.getSignedInUser(),l=B(),r=b(p=>R(p)),i=b(p=>C(p)),[o,c]=y.useState(!1);if(y.useEffect(()=>{o||(c(!0),a(x(!0)))}),y.useEffect(()=>{i.fetchState==="Not-Started"&&e(s!=null?"../../":"../")},[i,s]),n==null)throw Error("Can't access address page without signing in...");return r.approversDetailsFetchStatus.fetchState=="Not-Started"||r.approversDetailsFetchStatus.fetchState==="In-Progress"?g.jsx(V,{fetchState:r.approversDetailsFetchStatus.fetchState,style:{backgroundColor:l.colors.grey5}}):g.jsx(K,{navigate:e,approvalUpdateDataView:r,approvalRuleId:s,approverViewData:i,location:t})}export{G as R,$ as i};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as E,J as N,O as j,V as t,a_ as G,f as F,a6 as m,o,b as r,s as M,a4 as P,bg as k,bK as V,bL as q,bM as O,ch as J,u as l,at as K,H as T,as as Q,e as z,cg as X,aR as Y,j as Z}from"./index-
|
|
1
|
+
import{y as E,J as N,O as j,V as t,a_ as G,f as F,a6 as m,o,b as r,s as M,a4 as P,bg as k,bK as V,bL as q,bM as O,ch as J,u as l,at as K,H as T,as as Q,e as z,cg as X,aR as Y,j as Z}from"./index-DDbdy58V.js";import{n as i}from"./mui-CVWe5m7x.js";import{a as ee}from"./sentry-DXG8OAzW.js";import"./pdf-rNAmIEF5.js";import"./zeni-epic-state-B_a_iTrR.js";import"./core-CSCSHf4h.js";import"./lottie-BQDwpIDJ.js";import"./liveblocks-CxtxQte5.js";import"./recharts-C5pBg015.js";import"./dnd-COr1F31f.js";import"./analytics-DeMdmyL7.js";import"./plaid-CiVnbkxs.js";import"./utils-CEFC9M68.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="e5bb42f7-1d63-4ed5-9444-45d4c8d6137c",e._sentryDebugIdIdentifier="sentry-dbid-e5bb42f7-1d63-4ed5-9444-45d4c8d6137c")}catch{}})();const s={sectionWidth:new r(343,580,726),ruleWrapperPadding:new r(l[3],l[4]),wrapperGap:new r(l[4],l[3]),wrapperMarginBottom:new r(l[6],l[8]),lastWrapperMarginBottom:new r(l[5],l[9]),stepperWidthHeight:new r(20,l[5]),stepperItemLeft:new r(-29,-23),stepperItemTop:new r(2,l[0]),stepperItemPaddingLeft:new r(l[0],10),stepperItemMinHeight:new r(22,28),stepperLeft:new r(11,17),stepperTop:new r(2,l[0]),stepperContentTop:new r(l[0],-4)},U={stepper:new T("smallRegular","standardRegular"),amount:new T("standardRegular","largeRegular")},te=({showDeleteBtn:e=!1,disableButtons:c=!1,isLastSection:g=!1,approvalRule:f,onEditRuleClick:S,onDeleteRuleClick:y})=>{const[w,x]=ee.useState(!1),n=N(),{range:u}=f.criteria[0],{steps:$,approvalRuleId:p}=f,a=j.getLocalizedStrings().commonSetUp.approval,v={onOkClick:()=>{x(!1),y?.(p)},onCancelClick:()=>{x(!1)}};return t.jsxs(oe,{windowSize:n,isLastSection:g,isUpdatingApprovalRules:c,"data-testid":m("approval-rule-section",p),children:[t.jsxs(ie,{windowSize:n,children:[t.jsxs(ce,{children:[t.jsxs(W,{windowSize:n,children:[a.from," ",P("0,0",u.min)]}),t.jsxs(re,{children:[t.jsx(R,{}),t.jsx(le,{}),t.jsx(R,{})]}),u.max==null?t.jsx(ue,{}):t.jsx(W,{windowSize:n,children:P("0,0",{...u.min,amount:u.max.amount})})]}),t.jsxs(he,{className:"icons",children:[e?c?t.jsx(k,{title:a.approvalRulesUpdatingTooltip,placement:"top",children:t.jsx(C,{children:t.jsx(I,{isDisabled:!0,"data-testid":m("delete-approval-rule",p)})})}):t.jsx(I,{onClick:()=>{x(!0)},"data-testid":m("delete-approval-rule",p)}):null,c?t.jsx(k,{title:a.approvalRulesUpdatingTooltip,placement:"top",children:t.jsx(C,{children:t.jsx(B,{isDisabled:!0,"data-testid":m("edit-approval-rule",p)})})}):t.jsx(B,{onClick:()=>{S(p)},"data-testid":m("edit-approval-rule",p)})]})]}),t.jsx(se,{windowSize:n,children:t.jsx(ae,{isSingleStep:$.length===1,windowSize:n,children:$.map((h,H)=>t.jsxs(ne,{isSingleStep:$.length===1,className:"stepperItem",windowSize:n,children:[h.action==="require_approval"?t.jsx(pe,{children:a.requireText}):t.jsx(de,{children:a.notifyText}),h.nonUserActors.filter(d=>d.subType!=null).map((d,_)=>t.jsxs(A,{children:[t.jsx(D,{children:d.subType!=null?a.nonUsers[d.subType].label:null}),h.operator!="is"?t.jsx(L,{className:"operator",children:h.operator}):null]},`${d.subType}_${_}`)),h.actors.map(d=>t.jsxs(A,{children:[t.jsxs(D,{children:[d.firstName," ",d.lastName]}),h.operator!="is"?t.jsx(L,{className:"operator",children:h.operator}):null]},d.userId))]},H))})}),w?t.jsx(V,{titleComponent:t.jsx(O,{children:a.deleteApprovalRuleTitle}),descriptionComponent:t.jsx(q,{children:a.deleteApprovalRuleDesc}),primaryButtonText:a.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:a.cancelBtnText,action:v}):null]})},oe=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
gap: ${e=>s.wrapperGap.valuePx(e.windowSize)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{t as Dt,c as Ct,J as zt,y as kt,bz as At,b as m,O as et,fy as Mt,fA as Rt,fB as Bt,V as t,bK as Ae,bL as Me,bM as Re,a_ as Be,a6 as y,aM as Pt,cK as Nt,fC as Lt,fN as Pe,o as a,fD as Ne,eD as g,fG as w,eG as x,a4 as Le,eC as _e,j as V,fI as We,a9 as _t,m as Wt,fJ as Et,fK as re,aV as Ot,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 Ht,x as Yt,g2 as qt,f$ as Jt,u as c,bB as Zt,cf as Qt}from"./index-DorX0WX8.js";import{a as p}from"./sentry-tRTnR5ia.js";import{n as r}from"./mui-gZ2J-2YO.js";import{_ as Xt}from"./liveblocks-f_lxxH57.js";import{bG as ei,b_ as ti,Fl as ii}from"./zeni-epic-state-DiMW9axO.js";import ai from"./InvoiceUploadSection-DdIQCBkC-hgUkpCX_.js";import{r as ri,h as f,u as ni}from"./types-DyvtCprH-VF9iATMs.js";import"./pdf-BNA4Ou8X.js";import"./core-ADrPabGT.js";import"./lottie-sNoV77jf.js";import"./dnd-83aXbnEf.js";import"./analytics-D7HtemTn.js";import"./plaid-DS3FargU.js";import"./recharts-BKvR8EI0.js";import"./utils-VuBQoQGa.js";import"./AttachmentView-ENg9Osic-C_h00Xvo.js";import"./uploadReceipts-Dge0cNF1-CtnQO8tO.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]="374b96d9-b18b-4d84-a152-f90ad33b17d0",e._sentryDebugIdIdentifier="sentry-dbid-374b96d9-b18b-4d84-a152-f90ad33b17d0")}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:H,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),[Y,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")&&H()},[e,H]),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:_}=fe.spendManagement.reimbursement,ee=e.remiDetails?.reportTitle,j=e.remiDetails?.lines??[],W=e.remiDetails?.reimbursementInfo.stage,E=e.remiDetails?.reimbursementInfo.billStatus,O=e.remiDetails?.reimbursementInfo.billPaymentStatus,Te=W?.code==="paid",xt=Te?W:E?.code=="approved"&&O?.code?O:E,v=li(e.remiDetails),R=E?.code=="approved"&&O?.code?O: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:()=>{H()},"data-testid":y("remi-detail-page-close"),children:t.jsx(zi,{})})]}),scrollableContent:N,enableTitleOnScroll:n!=="small",scrollThreshold:64,source:"ReimbursementDetailPage"})]}),t.jsxs(Oi,{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:_.duplicateWarning.title,description:_.duplicateWarning.description}):ze?t.jsxs(Ee,{size:n,children:[t.jsx(Ue,{}),t.jsxs(Fe,{children:[t.jsx(Oe,{children:i.thereSeems}),t.jsx(Ke,{children:i.pleaseFind})]})]}):null]}):t.jsx(Ye,{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(_i,{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(Ye,{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:_.duplicateWarning.title,description:_.duplicateWarning.description}):ze?t.jsxs(Ee,{size:n,children:[t.jsx(Ue,{}),t.jsxs(Fe,{children:[t.jsx(Oe,{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(_e,{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(He,{}),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(_e,{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(He,{}):null,t.jsx(gi,{windowSize:n,"data-testid":y("remi-detail-page-footer"),onClick:l=>{l.stopPropagation(),Y===!0&&q(!1)},children:t.jsx(_t,{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&&Y?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(!Y),"data-testid":y("remi-more-actions-button")})})]})]})}),style:{minHeight:62}})})]}),u?t.jsx(Xt,{id:h,children:t.jsx(Et,{isDrawerOpen:pt,allowComposer:!0,drawerTitle:ht,threads:B,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:z?.companyId??ve,isGlobalComment:!1,tab:"reimbursement"},isLoading:D,threadMetadata:z?{companyName:z.companyName,companyId:z.companyId,entityId:z.entityId,entityType:z.entityType,isGlobalComment:!1,application:"dashboard",tab:"reimbursement",url:window.location.href}:void 0,textOverrides:{composerPlaceholder:yt,replyComposerPlaceholder:bt,threadResolve:gt,threadUnResolve:wt},onThreadClick:(l,o)=>It(l,o),onCloseAllThreadsDrawer:()=>L(!1),drawerSectionStyle:{width:"400px",backgroundColor:ge.colors.background}})}):null]})},li=e=>{const C=et.getLocalizedStrings().spendManagement.billPay.billsByTabs;if(e?.isDeleted===!0)return{value:C.tabsById.deleted,color:re.deleted.color,bgColor:re.deleted.bgColor,borderColor:re.deleted.borderColor,code:"deleted"}},si=r.div`
|
|
1
|
+
import{t as Dt,c as Ct,J as zt,y as kt,bz as At,b as m,O as et,fy as Mt,fA as Rt,fB as Bt,V as t,bK as Ae,bL as Me,bM as Re,a_ as Be,a6 as y,aM as Pt,cK as Nt,fC as Lt,fN as Pe,o as a,fD as Ne,eD as g,fG as w,eG as x,a4 as Le,eC as _e,j as V,fI as We,a9 as _t,m as Wt,fJ as Et,fK as re,aV as Ot,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 Ht,x as Yt,g2 as qt,f$ as Jt,u as c,bB as Zt,cf as Qt}from"./index-DDbdy58V.js";import{a as p}from"./sentry-DXG8OAzW.js";import{n as r}from"./mui-CVWe5m7x.js";import{_ as Xt}from"./liveblocks-CxtxQte5.js";import{bG as ei,b_ as ti,Fl as ii}from"./zeni-epic-state-B_a_iTrR.js";import ai from"./InvoiceUploadSection-DdIQCBkC-B4QsOjKN.js";import{r as ri,h as f,u as ni}from"./types-DyvtCprH-VF9iATMs.js";import"./pdf-rNAmIEF5.js";import"./core-CSCSHf4h.js";import"./lottie-BQDwpIDJ.js";import"./dnd-COr1F31f.js";import"./analytics-DeMdmyL7.js";import"./plaid-CiVnbkxs.js";import"./recharts-C5pBg015.js";import"./utils-CEFC9M68.js";import"./AttachmentView-ENg9Osic-P9NYY_0P.js";import"./uploadReceipts-Dge0cNF1-Bk3l52rk.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]="374b96d9-b18b-4d84-a152-f90ad33b17d0",e._sentryDebugIdIdentifier="sentry-dbid-374b96d9-b18b-4d84-a152-f90ad33b17d0")}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:H,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),[Y,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")&&H()},[e,H]),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:_}=fe.spendManagement.reimbursement,ee=e.remiDetails?.reportTitle,j=e.remiDetails?.lines??[],W=e.remiDetails?.reimbursementInfo.stage,E=e.remiDetails?.reimbursementInfo.billStatus,O=e.remiDetails?.reimbursementInfo.billPaymentStatus,Te=W?.code==="paid",xt=Te?W:E?.code=="approved"&&O?.code?O:E,v=li(e.remiDetails),R=E?.code=="approved"&&O?.code?O: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:()=>{H()},"data-testid":y("remi-detail-page-close"),children:t.jsx(zi,{})})]}),scrollableContent:N,enableTitleOnScroll:n!=="small",scrollThreshold:64,source:"ReimbursementDetailPage"})]}),t.jsxs(Oi,{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:_.duplicateWarning.title,description:_.duplicateWarning.description}):ze?t.jsxs(Ee,{size:n,children:[t.jsx(Ue,{}),t.jsxs(Fe,{children:[t.jsx(Oe,{children:i.thereSeems}),t.jsx(Ke,{children:i.pleaseFind})]})]}):null]}):t.jsx(Ye,{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(_i,{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(Ye,{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:_.duplicateWarning.title,description:_.duplicateWarning.description}):ze?t.jsxs(Ee,{size:n,children:[t.jsx(Ue,{}),t.jsxs(Fe,{children:[t.jsx(Oe,{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(_e,{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(He,{}),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(_e,{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(He,{}):null,t.jsx(gi,{windowSize:n,"data-testid":y("remi-detail-page-footer"),onClick:l=>{l.stopPropagation(),Y===!0&&q(!1)},children:t.jsx(_t,{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&&Y?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(!Y),"data-testid":y("remi-more-actions-button")})})]})]})}),style:{minHeight:62}})})]}),u?t.jsx(Xt,{id:h,children:t.jsx(Et,{isDrawerOpen:pt,allowComposer:!0,drawerTitle:ht,threads:B,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:z?.companyId??ve,isGlobalComment:!1,tab:"reimbursement"},isLoading:D,threadMetadata:z?{companyName:z.companyName,companyId:z.companyId,entityId:z.entityId,entityType:z.entityType,isGlobalComment:!1,application:"dashboard",tab:"reimbursement",url:window.location.href}:void 0,textOverrides:{composerPlaceholder:yt,replyComposerPlaceholder:bt,threadResolve:gt,threadUnResolve:wt},onThreadClick:(l,o)=>It(l,o),onCloseAllThreadsDrawer:()=>L(!1),drawerSectionStyle:{width:"400px",backgroundColor:ge.colors.background}})}):null]})},li=e=>{const C=et.getLocalizedStrings().spendManagement.billPay.billsByTabs;if(e?.isDeleted===!0)return{value:C.tabsById.deleted,color:re.deleted.color,bgColor:re.deleted.bgColor,borderColor:re.deleted.borderColor,code:"deleted"}},si=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: ${e=>s.rightSectionWidth.valuePercentage(e.windowSize)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{t as ne,y as S,J as k,a7 as le,V as e,a6 as a,eO as ae,a_ as de,i as u,F as d,O as F,o as s,I as ce,bX as me,ab as Z,W as pe,b as xe,e as z,bG as he,ac as ue,au as ge,u as we}from"./index-
|
|
1
|
+
import{t as ne,y as S,J as k,a7 as le,V as e,a6 as a,eO as ae,a_ as de,i as u,F as d,O as F,o as s,I as ce,bX as me,ab as Z,W as pe,b as xe,e as z,bG as he,ac as ue,au as ge,u as we}from"./index-DDbdy58V.js";import{a as j}from"./sentry-DXG8OAzW.js";import{n as t}from"./mui-CVWe5m7x.js";import{Fk as je,bL as be}from"./zeni-epic-state-B_a_iTrR.js";import{C as fe}from"./VideoPopup-B03SM83j--LOH40s0.js";import{M as v}from"./usp-line-BBd1wKwW-BIw6ZPFi.js";import"./pdf-rNAmIEF5.js";import"./core-CSCSHf4h.js";import"./lottie-BQDwpIDJ.js";import"./liveblocks-CxtxQte5.js";import"./recharts-C5pBg015.js";import"./dnd-COr1F31f.js";import"./analytics-DeMdmyL7.js";import"./plaid-CiVnbkxs.js";import"./utils-CEFC9M68.js";import"./VideoPlayer-BuOlZW0M-BMl86S4m.js";import"./media-player-En9R4zy-.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new i.Error().stack;o&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[o]="8984bc61-677a-47cb-8cff-2fb1475bcaa3",i._sentryDebugIdIdentifier="sentry-dbid-8984bc61-677a-47cb-8cff-2fb1475bcaa3")}catch{}})();const _="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-light.png",E="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-dark.png",ye={midContainerMarginBottom:new xe(we[5],44)},$e=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
min-height: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as i}from"./pdf-BNA4Ou8X.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-ADrPabGT.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-DiMW9axO.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-DorX0WX8.js";import{n as Pe,S as An}from"./mui-gZ2J-2YO.js";import ee from"./NotFoundScreen-BlOJVroe.js";import{S as Se}from"./SetupPagesScreen-B28b7eDr.js";import{F as _e}from"./FeaturePreviewScreen-C5OPsEGq.js";import{a as I}from"./sentry-tRTnR5ia.js";import{u as $e}from"./useInitialThreadRequest-CVIIrf8B.js";import{D as En}from"./DrawerScreen-V32qwnkz.js";import{M as Ne}from"./MobileAppDrawer-vjIJyx5N.js";import{R as Cn}from"./ReimbursementApprovalRoutes-BocYdQhD.js";import{FallBackRoute as xn}from"./ScreenRoutes-Dj6yeCaN.js";import"./lottie-sNoV77jf.js";import"./liveblocks-f_lxxH57.js";import"./recharts-BKvR8EI0.js";import"./dnd-83aXbnEf.js";import"./analytics-D7HtemTn.js";import"./plaid-DS3FargU.js";import"./utils-VuBQoQGa.js";import"./analyticsHelper-CpXIJxUL.js";import"./routePaths-BozUSOR4.js";import"./BusinessVerificationPageScreen-DfGLG3SR.js";import"./ReimbursementApprovalRuleDetailScreen-DPE-kSBA.js";import"./getLocaleForTenant-Bt4tLJ8B.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="faec72a3-0c11-4a2c-bae7-c78904c94917",e._sentryDebugIdIdentifier="sentry-dbid-faec72a3-0c11-4a2c-bae7-c78904c94917")}catch{}})();const Me=e=>`/${e}/reimbursements`,Bn=Z(function(e,t){const n=t.currentTenant?.companyId,o=Ye(e.plaidAccountViewState,"user_reimbursement_account"),m=j.getSignedInUser(),u=ie(m),c=o.plaidConnectionDetails,r=ke(e.companyState,n),a=e.tenantState.currentTenantId,s={userId:m?.userId??"",sessionId:m?.zeniSessionId??"",tenantId:a??""},l=ae(e,t.reimbursementId),d=et(e,m?.userId??"");let y=`${m?.firstName} ${m?.lastName}`,g=!0;return t.reimbursementId!=null&&(y=`${l.createdBy?.firstName??"Zeni"} ${l.createdBy?.lastName??""}`,g=m?.userId===l.createdBy?.userId),{remiDetails:l,uploadInvoiceEndPoint:`${Fe.communicationAgentMicroServiceBaseUrl}`,reimbursementId:t.reimbursementId,authParams:s,defaultCurrency:{currencySymbol:r?.company.companyLocaleInfo.currencySymbol??"$",currencyCode:r?.company.companyLocaleInfo.currencyCode??"USD"},companyMileageConfigInfo:r?.company.configInfo.mileageRateConfig,createdBy:y,isUserAdmin:se(t.currentTenant?.userRole??[]),isZeniUser:u,plaidConnectionDetails:c,bankNameByRouting:l.bankNameByRouting,bankAccountCreationState:d.bankAccountCreationState,bankAccounts:d.bankAccounts,analytics:v,bankAccountToCreate:l.bankAccountToCreate,fetchBankNameByRoutingStatus:l.fetchBankNameByRoutingStatus,isSignedInUserReimbursementCreator:g}},function(e,t){const{reimbursementId:n,currentTenant:o,location:m,navigate:u,themeState:c}=t,{tenantEmailDomain:r}=o,a=j.getSignedInUser();return{onReceiptsUpload:(s,l,d)=>{s!=null&&e(vt(s,l,d,n,a?.userId))},onExistingMerchantChange:(s,l)=>{e(pe(!1,l,n,s,void 0))},fetchDuplicateReimbursement:()=>{a?.userId!=null&&e(kt(a.userId,!0,n))},clearDuplicateReimbursementDetail:()=>{e(Rt())},clearRemiSaveStatus:()=>{e(yt("Not-Started",n))},onDuplicateLineClick:(s,l)=>window.open(`/${r}/reimbursement/${s}#L${l}`),onNewMerchantChange:(s,l)=>{e(pe(!1,l,n,void 0,s))},removeFileFromLine:s=>{e(It({lineId:s,reimbursementId:n}))},onAmountChanged:(s,l)=>{e(ft(l,s,n))},updateReimbursementType:(s,l,d)=>{e(St({reimbursementId:d,lineId:l,reimbursementType:s}))},onHomeCurrencyConversionUpdate:(s,l,d)=>{e(ht({reimbursementId:d,lineId:l,amountPayload:{amount:s.amount,currency_code:s.currencyCode,currency_symbol:s.currencySymbol}}))},onReimbursementDetailsChanged:s=>{e(gt({remiDetailLocalData:s,reimbursementId:n}))},saveRemiDetails:s=>{e(de(s,!1,n))},onUserBankDetailsUpdated:s=>{const{bankAccountSection:l}=s;e(bt({data:l}))},onFetchBankName:s=>{e(pt(s))},submitRemiDetails:()=>{e(de("pending_approval",!0,n))},discardReimbursementDetailsFromLocalStore:s=>{e(dt({reimbursementId:s}))},updateInvoiceUploadFetchState:s=>{e(ut({reimbursementId:n,fetchState:s}))},clearTentativeNameForLine:s=>{e(ct({reimbursementId:n,lineId:s}))},removeDuplicateReimbursementForLine:s=>{e(mt({lineId:s}))},onZeniLogoClick:()=>{c.toggle()},clearAddRemiAutoFields:s=>{e(lt({reimbursementId:n,lineId:s}))},redirectToReimbursementListScreen:()=>{e(Ae()),e(ot());const s=Me(r),l=N(m.state?.pathnameStackToGoBack,m.pathname);u(s,{state:{pathnameStackToGoBack:l}})},redirectToReimbursementDetailScreen:()=>{t.navigate("../")},deleteReimbursement:()=>{n!=null&&(v.trackReimbursementDeleteReimbursement(n),e(ve(n)))},onSaveBankAccount:()=>{a?.userId&&e(rt(a?.userId,n))},onFetchLinkTokenClick:s=>{e(it("user_reimbursement_account",s))},onEstablishConnectionClick:s=>{e(st(s,o.companyId,"user_reimbursement_account",void 0,"link_account_no_microdeposit"))},deleteBankAccount:s=>{e(at(s,a?.userId??""))},onBackClickFromBankAccountPage:()=>{e(tt({fetchState:"Not-Started"})),e(nt())}}})(dn);function fe(){const e=H(),t=ne(),n=G(),{reimbursementId:o}=V(),m=W(),u=De(),{useFeatureGate:c}=q(),{isFeatureEnabled:r}=c(k.isLimitedCategoryForReimbursement),{isFeatureEnabled:a}=c(k.isShowDeletedReimbursementsFeatureEnabled),{isFeatureEnabled:s}=c(k.isReimbursementCommentingEnabled),l=G().pathname,d=l.includes("edit"),y=l.includes("reimbursement/new"),[g,T]=I.useState(!1),p=j.getSignedInUser(),A=x(h=>M(h)),b=x(h=>ae(h,o)),f=$e(A?.companyId,{clearParams:b.fetchState==="Completed"}),B=se(A?.userRole??[]);I.useEffect(()=>{(y&&!g||d&&b.fetchState!="Completed"&&b.fetchState!="In-Progress")&&(T(!0),t(Re(!1,r,a,o)))});const R=x(h=>Qe(h.accountState,h.accountListState,"reimbursementAccountList"));if(p==null)throw Error("Can't access address page without signing in...");const w={pathname:`../${o}`,search:n.search};return b.isDeleted===!0||b.billStage=="paid"||b.billStage=="scheduled"||b.fetchState=="Not-Started"||B&&b.billStatus==="rejected"||B===!1&&b.billStage==="pending_approval"&&b.billStatus!=="rejected"?i.jsx(F,{to:w}):b.deleteStatus.fetchState==="In-Progress"||b.fetchState!=="Completed"?i.jsx(K,{style:{backgroundColor:m.colors.grey5,boxShadow:`0px 2px ${le.sp1} ${m.colors.dropShadowNormal}`},fetchState:b.deleteStatus.fetchState}):i.jsxs(i.Fragment,{children:[i.jsx(J,{analytics:v,onLoad:h=>(L=>{o!=null&&b.deleteStatus.fetchState!=="Completed"&&L.trackReimbursementEditReimbursement(o)})(h)}),i.jsx(Bn,{initialOpenThreadRequest:f??void 0,isReimbursementCommentingEnabled:s,location:n,navigate:e,currentTenant:A,reimbursementId:o,themeState:u,uncategorizedAccounts:R})]})}const Tn=Z(function(e,t){const n=Ee(e,t.reimbursementId),o=j.getSignedInUser(),m=ie(o),u=e.tenantState.currentTenantId,c={userId:o?.userId??"",sessionId:o?.zeniSessionId??"",tenantId:u??""},r=`${n.createdBy?.firstName??"Zeni"} ${n.createdBy?.lastName??""}`;let a=!1;n?.remiActivities.length>0&&(a=Bt(n.remiActivities,Tt(t.currentTenant),o));const s=se(t.currentTenant?.userRole??[]),l=o?.userId===n.createdBy?.userId;return{remiDetails:n,uploadInvoiceEndPoint:`${Fe.communicationAgentMicroServiceBaseUrl}`,authParams:c,signedInUser:o,createdBy:r,isRealTimeApprovalEnabled:t.isRealTimeApprovalEnabled,isAdmin:s,showApproveRejectBtns:a,isZeniUser:m,isSignedInUserReimbursementCreator:l}},function(e,t){const{reimbursementId:n,currentTenant:o,location:m,navigate:u,themeState:c}=t,{tenantEmailDomain:r}=o;return{onDuplicateLineClick:(a,s)=>window.open(`/${r}/reimbursement/${a}#L${s}`),redirectToReimbursementListScreen:()=>{e(Ae());const a=Me(r),s=N(m.state?.pathnameStackToGoBack,m.pathname);u(a,{state:{pathnameStackToGoBack:s}})},onSaveRealTimeApprovals:a=>{e(jt(n,"reimbursement",a))},updateEditRealTimeApproverClicked:a=>{e(Lt({isEdit:a,entityId:n,entityType:"reimbursement"}))},approveOrRejectRemi:a=>{a.type==="approved"?e(be(n,a.type,"")):e(be(n,a.type,a.description??""))},redirectToEditableReimbursementScreen:()=>{const a=N(m.state?.pathnameStackToGoBack,m.pathname);u("./edit",{state:{pathnameStackToGoBack:a}})},deleteReimbursement:()=>{v.trackReimbursementDeleteReimbursement(n),e(ve(n))},cancelAndDeleteReport:a=>{a===!0?v.trackReimbursementCancelAndDeleteReimbursement(n):v.trackReimbursementCancelReimbursement(n),e(wt(n,a))},handleZeniLogoClick:()=>{c.toggle()}}})(pn);function wn(){const e=H(),t=ne(),n=G(),o=n.hash.substring(1),m=De(),{reimbursementId:u}=V(),c=j.getSignedInUser(),r=x(E=>M(E)),a=x(E=>Ee(E,u??"")),s=a.remiDetails?.reimbursementInfo.stage.code==="draft",l=$e(r?.companyId,{clearParams:a.fetchState==="Completed"&&!s}),{useFeatureGate:d}=q(),{isFeatureEnabled:y}=d(k.isLimitedCategoryForReimbursement),[g,T]=I.useState(!1),[p,A]=I.useState(!1),[b,f]=I.useState(!1),{isFeatureEnabled:B}=d(k.isReimbursementCommentingEnabled),{isFeatureEnabled:R}=d(k.isShowDeletedReimbursementsFeatureEnabled),w=x(E=>ae(E,u??"")),h=W(),L=At(r),_=Et(r.userRole),D=a.fetchState;if(I.useEffect(()=>{g||u==null?g==1&&D==="Error"&&e("page-not-found",{replace:!0}):(T(!0),t(Ct(u,!1,R)))},[g,u,t,D]),I.useEffect(()=>{R&&a.remiDetails?.isDeleted===!0||r.isZeni===!0&&c?.userEmailDomain==="zeni.ai"&&L===!1?f(!1):f(a.remiActivities[0]?.isRealTimeApprovalEnabled&&(_||a.allApprovers.find(E=>E.user.userId===c?.userId)!=null||a.remiDetails?.lastUpdatedBy===c?.userId))},[a.remiActivities[0]?.isRealTimeApprovalEnabled,a.allApprovers,a.remiDetails?.lastUpdatedBy,_,r.isZeni,L,c]),I.useEffect(()=>{p||a.fetchState!="Completed"||a.remiDetails?.reimbursementInfo.stage.code=="paid"||a.remiDetails?.reimbursementInfo.stage.code=="scheduled"||w.fetchState=="Completed"||w.fetchState=="In-Progress"||(A(!0),t(Re(!1,y,R,u)),a.remiActivities[0]?.isRealTimeApprovalEnabled===!0&&t(xt(!1,!0,!0,a.lastUpdatedByUserId)))},[p,a,u,t]),c==null)throw Error("Can't access address page without signing in...");return a.remiDetails?.reimbursementInfo.stage.code=="draft"&&w.fetchState=="Completed"&&a.remiDetails.isDeleted===!1?i.jsx(F,{to:`./edit${n.search}`}):a.deleteStatus.fetchState==="In-Progress"||a.cancelAndDeleteStatus.fetchState==="In-Progress"||a.remiDetails?.reimbursementInfo.stage.code=="draft"&&w.fetchState!="Completed"||a.fetchState!="Completed"?i.jsx(K,{fetchState:a.deleteStatus.fetchState,style:{backgroundColor:h.colors.grey5,boxShadow:`0px 2px ${le.sp1} ${h.colors.dropShadowNormal}`}}):i.jsxs(i.Fragment,{children:[i.jsx(J,{analytics:v,onLoad:E=>(O=>{u!=null&&O.trackReimbursementReimbursementDetails(u)})(E)}),i.jsx(Tn,{initialOpenThreadRequest:l??void 0,scrollId:o,isReimbursementCommentingEnabled:B,isShowDeletedReimbursementEnabled:R,location:n,navigate:e,isRealTimeApprovalEnabled:b,currentTenant:r,reimbursementId:u??"",themeState:m})]})}const Ln=Z(function(e,t){return{remisReviewView:Ce(e),analytics:t.analytics}},function(e,t){return{onCloseOverlay:()=>{t.navigate("./"),e($())},onCloseReviewItem:n=>{e(Ft(n))},onProceedForBulkActionClick:(n,o)=>{switch(n){case"send_for_approval":e(Dt());break;case"approve":e(ge("approved",o??""));break;case"reject":e(ge("rejected",o??""))}}}})(bn);function jn(){const e=H(),t=x(u=>u.remisBulkActionViewState.bulkSubmissionFetchState.fetchState),{remisForReview:n}=x(u=>Ce(u)),o=X(),m=o?.loggedInUserRole?.includes("admin")===!0;return I.useEffect(()=>{t!=="Completed"&&n.length!==0||e("./")},[t,n.length]),i.jsx(Ln,{navigate:e,analytics:v,isAdmin:m})}const P=Gt(),Oe="bulk-operation-update",te="reimbursement-approval-rule-update",{spendManagement:Dn,common:Ie}=fn.getLocalizedStrings(),ye=Dn.reimbursement.bulkActions,Fn=Pe.div`
|
|
1
|
+
import{j as i}from"./pdf-rNAmIEF5.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-CSCSHf4h.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-B_a_iTrR.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-DDbdy58V.js";import{n as Pe,S as An}from"./mui-CVWe5m7x.js";import ee from"./NotFoundScreen-DykxXNVn.js";import{S as Se}from"./SetupPagesScreen-n_J03kZN.js";import{F as _e}from"./FeaturePreviewScreen-CLKJ2QAB.js";import{a as I}from"./sentry-DXG8OAzW.js";import{u as $e}from"./useInitialThreadRequest-B_AZH90H.js";import{D as En}from"./DrawerScreen-C-gJlwdg.js";import{M as Ne}from"./MobileAppDrawer-D_OmB8VL.js";import{R as Cn}from"./ReimbursementApprovalRoutes-Cei43fBO.js";import{FallBackRoute as xn}from"./ScreenRoutes-Ddt_3qWB.js";import"./lottie-BQDwpIDJ.js";import"./liveblocks-CxtxQte5.js";import"./recharts-C5pBg015.js";import"./dnd-COr1F31f.js";import"./analytics-DeMdmyL7.js";import"./plaid-CiVnbkxs.js";import"./utils-CEFC9M68.js";import"./analyticsHelper-LPY3WkeX.js";import"./routePaths-fz0y1bUD.js";import"./BusinessVerificationPageScreen-Cmz7lCYf.js";import"./ReimbursementApprovalRuleDetailScreen-D1GmaX--.js";import"./getLocaleForTenant-CjEkOXZy.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="faec72a3-0c11-4a2c-bae7-c78904c94917",e._sentryDebugIdIdentifier="sentry-dbid-faec72a3-0c11-4a2c-bae7-c78904c94917")}catch{}})();const Me=e=>`/${e}/reimbursements`,Bn=Z(function(e,t){const n=t.currentTenant?.companyId,o=Ye(e.plaidAccountViewState,"user_reimbursement_account"),m=j.getSignedInUser(),u=ie(m),c=o.plaidConnectionDetails,r=ke(e.companyState,n),a=e.tenantState.currentTenantId,s={userId:m?.userId??"",sessionId:m?.zeniSessionId??"",tenantId:a??""},l=ae(e,t.reimbursementId),d=et(e,m?.userId??"");let y=`${m?.firstName} ${m?.lastName}`,g=!0;return t.reimbursementId!=null&&(y=`${l.createdBy?.firstName??"Zeni"} ${l.createdBy?.lastName??""}`,g=m?.userId===l.createdBy?.userId),{remiDetails:l,uploadInvoiceEndPoint:`${Fe.communicationAgentMicroServiceBaseUrl}`,reimbursementId:t.reimbursementId,authParams:s,defaultCurrency:{currencySymbol:r?.company.companyLocaleInfo.currencySymbol??"$",currencyCode:r?.company.companyLocaleInfo.currencyCode??"USD"},companyMileageConfigInfo:r?.company.configInfo.mileageRateConfig,createdBy:y,isUserAdmin:se(t.currentTenant?.userRole??[]),isZeniUser:u,plaidConnectionDetails:c,bankNameByRouting:l.bankNameByRouting,bankAccountCreationState:d.bankAccountCreationState,bankAccounts:d.bankAccounts,analytics:v,bankAccountToCreate:l.bankAccountToCreate,fetchBankNameByRoutingStatus:l.fetchBankNameByRoutingStatus,isSignedInUserReimbursementCreator:g}},function(e,t){const{reimbursementId:n,currentTenant:o,location:m,navigate:u,themeState:c}=t,{tenantEmailDomain:r}=o,a=j.getSignedInUser();return{onReceiptsUpload:(s,l,d)=>{s!=null&&e(vt(s,l,d,n,a?.userId))},onExistingMerchantChange:(s,l)=>{e(pe(!1,l,n,s,void 0))},fetchDuplicateReimbursement:()=>{a?.userId!=null&&e(kt(a.userId,!0,n))},clearDuplicateReimbursementDetail:()=>{e(Rt())},clearRemiSaveStatus:()=>{e(yt("Not-Started",n))},onDuplicateLineClick:(s,l)=>window.open(`/${r}/reimbursement/${s}#L${l}`),onNewMerchantChange:(s,l)=>{e(pe(!1,l,n,void 0,s))},removeFileFromLine:s=>{e(It({lineId:s,reimbursementId:n}))},onAmountChanged:(s,l)=>{e(ft(l,s,n))},updateReimbursementType:(s,l,d)=>{e(St({reimbursementId:d,lineId:l,reimbursementType:s}))},onHomeCurrencyConversionUpdate:(s,l,d)=>{e(ht({reimbursementId:d,lineId:l,amountPayload:{amount:s.amount,currency_code:s.currencyCode,currency_symbol:s.currencySymbol}}))},onReimbursementDetailsChanged:s=>{e(gt({remiDetailLocalData:s,reimbursementId:n}))},saveRemiDetails:s=>{e(de(s,!1,n))},onUserBankDetailsUpdated:s=>{const{bankAccountSection:l}=s;e(bt({data:l}))},onFetchBankName:s=>{e(pt(s))},submitRemiDetails:()=>{e(de("pending_approval",!0,n))},discardReimbursementDetailsFromLocalStore:s=>{e(dt({reimbursementId:s}))},updateInvoiceUploadFetchState:s=>{e(ut({reimbursementId:n,fetchState:s}))},clearTentativeNameForLine:s=>{e(ct({reimbursementId:n,lineId:s}))},removeDuplicateReimbursementForLine:s=>{e(mt({lineId:s}))},onZeniLogoClick:()=>{c.toggle()},clearAddRemiAutoFields:s=>{e(lt({reimbursementId:n,lineId:s}))},redirectToReimbursementListScreen:()=>{e(Ae()),e(ot());const s=Me(r),l=N(m.state?.pathnameStackToGoBack,m.pathname);u(s,{state:{pathnameStackToGoBack:l}})},redirectToReimbursementDetailScreen:()=>{t.navigate("../")},deleteReimbursement:()=>{n!=null&&(v.trackReimbursementDeleteReimbursement(n),e(ve(n)))},onSaveBankAccount:()=>{a?.userId&&e(rt(a?.userId,n))},onFetchLinkTokenClick:s=>{e(it("user_reimbursement_account",s))},onEstablishConnectionClick:s=>{e(st(s,o.companyId,"user_reimbursement_account",void 0,"link_account_no_microdeposit"))},deleteBankAccount:s=>{e(at(s,a?.userId??""))},onBackClickFromBankAccountPage:()=>{e(tt({fetchState:"Not-Started"})),e(nt())}}})(dn);function fe(){const e=H(),t=ne(),n=G(),{reimbursementId:o}=V(),m=W(),u=De(),{useFeatureGate:c}=q(),{isFeatureEnabled:r}=c(k.isLimitedCategoryForReimbursement),{isFeatureEnabled:a}=c(k.isShowDeletedReimbursementsFeatureEnabled),{isFeatureEnabled:s}=c(k.isReimbursementCommentingEnabled),l=G().pathname,d=l.includes("edit"),y=l.includes("reimbursement/new"),[g,T]=I.useState(!1),p=j.getSignedInUser(),A=x(h=>M(h)),b=x(h=>ae(h,o)),f=$e(A?.companyId,{clearParams:b.fetchState==="Completed"}),B=se(A?.userRole??[]);I.useEffect(()=>{(y&&!g||d&&b.fetchState!="Completed"&&b.fetchState!="In-Progress")&&(T(!0),t(Re(!1,r,a,o)))});const R=x(h=>Qe(h.accountState,h.accountListState,"reimbursementAccountList"));if(p==null)throw Error("Can't access address page without signing in...");const w={pathname:`../${o}`,search:n.search};return b.isDeleted===!0||b.billStage=="paid"||b.billStage=="scheduled"||b.fetchState=="Not-Started"||B&&b.billStatus==="rejected"||B===!1&&b.billStage==="pending_approval"&&b.billStatus!=="rejected"?i.jsx(F,{to:w}):b.deleteStatus.fetchState==="In-Progress"||b.fetchState!=="Completed"?i.jsx(K,{style:{backgroundColor:m.colors.grey5,boxShadow:`0px 2px ${le.sp1} ${m.colors.dropShadowNormal}`},fetchState:b.deleteStatus.fetchState}):i.jsxs(i.Fragment,{children:[i.jsx(J,{analytics:v,onLoad:h=>(L=>{o!=null&&b.deleteStatus.fetchState!=="Completed"&&L.trackReimbursementEditReimbursement(o)})(h)}),i.jsx(Bn,{initialOpenThreadRequest:f??void 0,isReimbursementCommentingEnabled:s,location:n,navigate:e,currentTenant:A,reimbursementId:o,themeState:u,uncategorizedAccounts:R})]})}const Tn=Z(function(e,t){const n=Ee(e,t.reimbursementId),o=j.getSignedInUser(),m=ie(o),u=e.tenantState.currentTenantId,c={userId:o?.userId??"",sessionId:o?.zeniSessionId??"",tenantId:u??""},r=`${n.createdBy?.firstName??"Zeni"} ${n.createdBy?.lastName??""}`;let a=!1;n?.remiActivities.length>0&&(a=Bt(n.remiActivities,Tt(t.currentTenant),o));const s=se(t.currentTenant?.userRole??[]),l=o?.userId===n.createdBy?.userId;return{remiDetails:n,uploadInvoiceEndPoint:`${Fe.communicationAgentMicroServiceBaseUrl}`,authParams:c,signedInUser:o,createdBy:r,isRealTimeApprovalEnabled:t.isRealTimeApprovalEnabled,isAdmin:s,showApproveRejectBtns:a,isZeniUser:m,isSignedInUserReimbursementCreator:l}},function(e,t){const{reimbursementId:n,currentTenant:o,location:m,navigate:u,themeState:c}=t,{tenantEmailDomain:r}=o;return{onDuplicateLineClick:(a,s)=>window.open(`/${r}/reimbursement/${a}#L${s}`),redirectToReimbursementListScreen:()=>{e(Ae());const a=Me(r),s=N(m.state?.pathnameStackToGoBack,m.pathname);u(a,{state:{pathnameStackToGoBack:s}})},onSaveRealTimeApprovals:a=>{e(jt(n,"reimbursement",a))},updateEditRealTimeApproverClicked:a=>{e(Lt({isEdit:a,entityId:n,entityType:"reimbursement"}))},approveOrRejectRemi:a=>{a.type==="approved"?e(be(n,a.type,"")):e(be(n,a.type,a.description??""))},redirectToEditableReimbursementScreen:()=>{const a=N(m.state?.pathnameStackToGoBack,m.pathname);u("./edit",{state:{pathnameStackToGoBack:a}})},deleteReimbursement:()=>{v.trackReimbursementDeleteReimbursement(n),e(ve(n))},cancelAndDeleteReport:a=>{a===!0?v.trackReimbursementCancelAndDeleteReimbursement(n):v.trackReimbursementCancelReimbursement(n),e(wt(n,a))},handleZeniLogoClick:()=>{c.toggle()}}})(pn);function wn(){const e=H(),t=ne(),n=G(),o=n.hash.substring(1),m=De(),{reimbursementId:u}=V(),c=j.getSignedInUser(),r=x(E=>M(E)),a=x(E=>Ee(E,u??"")),s=a.remiDetails?.reimbursementInfo.stage.code==="draft",l=$e(r?.companyId,{clearParams:a.fetchState==="Completed"&&!s}),{useFeatureGate:d}=q(),{isFeatureEnabled:y}=d(k.isLimitedCategoryForReimbursement),[g,T]=I.useState(!1),[p,A]=I.useState(!1),[b,f]=I.useState(!1),{isFeatureEnabled:B}=d(k.isReimbursementCommentingEnabled),{isFeatureEnabled:R}=d(k.isShowDeletedReimbursementsFeatureEnabled),w=x(E=>ae(E,u??"")),h=W(),L=At(r),_=Et(r.userRole),D=a.fetchState;if(I.useEffect(()=>{g||u==null?g==1&&D==="Error"&&e("page-not-found",{replace:!0}):(T(!0),t(Ct(u,!1,R)))},[g,u,t,D]),I.useEffect(()=>{R&&a.remiDetails?.isDeleted===!0||r.isZeni===!0&&c?.userEmailDomain==="zeni.ai"&&L===!1?f(!1):f(a.remiActivities[0]?.isRealTimeApprovalEnabled&&(_||a.allApprovers.find(E=>E.user.userId===c?.userId)!=null||a.remiDetails?.lastUpdatedBy===c?.userId))},[a.remiActivities[0]?.isRealTimeApprovalEnabled,a.allApprovers,a.remiDetails?.lastUpdatedBy,_,r.isZeni,L,c]),I.useEffect(()=>{p||a.fetchState!="Completed"||a.remiDetails?.reimbursementInfo.stage.code=="paid"||a.remiDetails?.reimbursementInfo.stage.code=="scheduled"||w.fetchState=="Completed"||w.fetchState=="In-Progress"||(A(!0),t(Re(!1,y,R,u)),a.remiActivities[0]?.isRealTimeApprovalEnabled===!0&&t(xt(!1,!0,!0,a.lastUpdatedByUserId)))},[p,a,u,t]),c==null)throw Error("Can't access address page without signing in...");return a.remiDetails?.reimbursementInfo.stage.code=="draft"&&w.fetchState=="Completed"&&a.remiDetails.isDeleted===!1?i.jsx(F,{to:`./edit${n.search}`}):a.deleteStatus.fetchState==="In-Progress"||a.cancelAndDeleteStatus.fetchState==="In-Progress"||a.remiDetails?.reimbursementInfo.stage.code=="draft"&&w.fetchState!="Completed"||a.fetchState!="Completed"?i.jsx(K,{fetchState:a.deleteStatus.fetchState,style:{backgroundColor:h.colors.grey5,boxShadow:`0px 2px ${le.sp1} ${h.colors.dropShadowNormal}`}}):i.jsxs(i.Fragment,{children:[i.jsx(J,{analytics:v,onLoad:E=>(O=>{u!=null&&O.trackReimbursementReimbursementDetails(u)})(E)}),i.jsx(Tn,{initialOpenThreadRequest:l??void 0,scrollId:o,isReimbursementCommentingEnabled:B,isShowDeletedReimbursementEnabled:R,location:n,navigate:e,isRealTimeApprovalEnabled:b,currentTenant:r,reimbursementId:u??"",themeState:m})]})}const Ln=Z(function(e,t){return{remisReviewView:Ce(e),analytics:t.analytics}},function(e,t){return{onCloseOverlay:()=>{t.navigate("./"),e($())},onCloseReviewItem:n=>{e(Ft(n))},onProceedForBulkActionClick:(n,o)=>{switch(n){case"send_for_approval":e(Dt());break;case"approve":e(ge("approved",o??""));break;case"reject":e(ge("rejected",o??""))}}}})(bn);function jn(){const e=H(),t=x(u=>u.remisBulkActionViewState.bulkSubmissionFetchState.fetchState),{remisForReview:n}=x(u=>Ce(u)),o=X(),m=o?.loggedInUserRole?.includes("admin")===!0;return I.useEffect(()=>{t!=="Completed"&&n.length!==0||e("./")},[t,n.length]),i.jsx(Ln,{navigate:e,analytics:v,isAdmin:m})}const P=Gt(),Oe="bulk-operation-update",te="reimbursement-approval-rule-update",{spendManagement:Dn,common:Ie}=fn.getLocalizedStrings(),ye=Dn.reimbursement.bulkActions,Fn=Pe.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-height: 100%;
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as Le,J as Ve,a7 as O,T as Ge,b$ as Je,O as Me,ad as $e,V as i,ew as Ze,e as q,b as s,a_ as Qe,f as Ye,A as Ke,eP as Pe,d3 as Xe,eQ as ei,aU as ii,cW as ti,a9 as ni,o as a,eS as oi,u as n,bB as ai,c3 as li,dL as si,e_ as Ae,e$ as je,fx as ri,i as ci,a6 as De,H as Ie,b8 as di,x as ui,aR as mi}from"./index-
|
|
1
|
+
import{y as Le,J as Ve,a7 as O,T as Ge,b$ as Je,O as Me,ad as $e,V as i,ew as Ze,e as q,b as s,a_ as Qe,f as Ye,A as Ke,eP as Pe,d3 as Xe,eQ as ei,aU as ii,cW as ti,a9 as ni,o as a,eS as oi,u as n,bB as ai,c3 as li,dL as si,e_ as Ae,e$ as je,fx as ri,i as ci,a6 as De,H as Ie,b8 as di,x as ui,aR as mi}from"./index-DDbdy58V.js";import{a as o}from"./sentry-DXG8OAzW.js";import{n as t}from"./mui-CVWe5m7x.js";import{ca as pi}from"./zeni-epic-state-B_a_iTrR.js";import{g as gi}from"./UploadAdditionalDocumentOverlay-CJmvE3y6-B0vgA0Ji.js";import"./pdf-rNAmIEF5.js";import"./core-CSCSHf4h.js";import"./lottie-BQDwpIDJ.js";import"./liveblocks-CxtxQte5.js";import"./recharts-C5pBg015.js";import"./dnd-COr1F31f.js";import"./analytics-DeMdmyL7.js";import"./plaid-CiVnbkxs.js";import"./utils-CEFC9M68.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},m=new e.Error().stack;m&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[m]="0fda8890-75da-4766-985e-106a6a46456b",e._sentryDebugIdIdentifier="sentry-dbid-0fda8890-75da-4766-985e-106a6a46456b")}catch{}})();const hi=e=>o.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},o.createElement("path",{d:"M12.7113 3H2.89261C2.39963 3 2 3.39963 2 3.89261V20.8522C2 21.3451 2.39963 21.7448 2.89261 21.7448H12.7113C13.2043 21.7448 13.6039 21.3451 13.6039 20.8522V3.89261C13.6039 3.39963 13.2043 3 12.7113 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M10.4798 13.7113H9.58719C9.3407 13.7113 9.14088 13.9111 9.14088 14.1576V16.8354C9.14088 17.0819 9.3407 17.2817 9.58719 17.2817H10.4798C10.7263 17.2817 10.9261 17.0819 10.9261 16.8354V14.1576C10.9261 13.9111 10.7263 13.7113 10.4798 13.7113Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M21.6374 16.1133C21.6374 16.1961 21.6143 16.2773 21.5708 16.3477C21.5273 16.4182 21.4651 16.4752 21.391 16.5123L19.8522 17.2817V14.6039H21.1911C21.3095 14.6039 21.423 14.6509 21.5067 14.7346C21.5904 14.8183 21.6374 14.9318 21.6374 15.0502V16.1133Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M19.8522 14.6039V13.265C19.8522 12.5268 22.53 10.1409 22.53 10.1409",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M19.8522 17.2817V19.9596C19.8522 20.433 19.6641 20.8871 19.3293 21.2219C18.9945 21.5567 18.5404 21.7448 18.067 21.7448C17.5935 21.7448 17.1394 21.5567 16.8046 21.2219C16.4698 20.8871 16.2817 20.433 16.2817 19.9596V7.90935C16.2817 7.55424 16.1407 7.21369 15.8896 6.96259C15.6385 6.7115 15.2979 6.57043 14.9428 6.57043H13.6039",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M2 10.1409H13.6039",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M11.3724 4.78528H4.23154C3.98505 4.78528 3.78523 4.9851 3.78523 5.23158V7.90941C3.78523 8.15589 3.98505 8.35571 4.23154 8.35571H11.3724C11.6189 8.35571 11.8187 8.15589 11.8187 7.90941V5.23158C11.8187 4.9851 11.6189 4.78528 11.3724 4.78528Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M9.14088 19.0669H10.9261",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),h={sectionWidth:new s(343,580,726),iconContainerMaxWidthHeight:new s(n[6],n[7]),iconContainerMarginRight:new s(12,n[3]),infoLabelPaddingLeft:new s(n[0],n[3]),iconPadding:new s(10,12),iconWidthHeight:new s(20,n[4]),rowGap:new s(n[2],n[3]),containerPadding:new s(n[3],n[4])},pe={title:new Ie("standardSemiBold","largeSemiBold"),infoLabel:new Ie("extraSmallRegular","smallRegular")};function fi({companyMileageConfigInfo:e,mileageDetails:m,analytics:$,style:A,sectionId:P,isActive:d=!0,isDisabled:r,onSaveMileageClick:G}){const l=Ve(),j=Le(),{formState:{errors:J},trigger:Z}=li(),D=xi(P,"mileageAmountInDenomination"),f=si(J,D),{localData:c,updateStatus:z,mileageStatus:b}=m,R=e?.denominationConversions.amount==null||e.denominationConversions.amount!==c?.mileageAmountInDenomination,{commonSetUp:Q,spendManagement:Y}=Me.getLocalizedStrings(),{reimbursement:K}=Y,[S,I]=o.useState(R),[X,U]=o.useState(!1);o.useEffect(()=>{f||Z(D)},[]),o.useEffect(()=>{e?.denominationConversions.amount!=null&&e.denominationConversions.amount===c?.mileageAmountInDenomination&&I(!1)},[e?.denominationConversions.amount]),o.useEffect(()=>{S||U(S)},[S]);const{reimbursementSetup:x}=K,{setUp:ee}=Q,ie=S===!1||z.fetchState==="In-Progress"?"readonly":r,te=c&&c?.denominationSymbol?`${c?.denominationSymbol} `:"",ne=c&&c?.mileageUnit?c?.mileageUnit:"";return i.jsxs(yi,{windowSize:l,style:A,isActive:d&&r==null,children:[i.jsxs(Ai,{windowSize:l,children:[x.mileageHeader,d===!1?i.jsx(Ii,{children:ee.comingSoon}):null]}),i.jsxs($i,{windowSize:l,children:[i.jsx(ki,{windowSize:l,isDarkMode:j.mode==="dark",children:i.jsx(hi,{width:h.iconWidthHeight.valuePx(l),height:h.iconWidthHeight.valuePx(l)})}),i.jsxs(wi,{children:[i.jsxs(Pi,{children:[i.jsxs(ji,{children:[i.jsxs(Di,{children:[i.jsx(Si,{windowSize:l,children:e?.denominationConversions.amount==null?x.mileageAddTitle:x.mileageEditTitle}),i.jsx(Ci,{children:x.mileageSubTitle})]}),b!=null&&e?.denominationConversions.amount!=null&&l==="small"?i.jsx(Ae,{style:{width:"max-content",padding:a.sp0,marginTop:a.sp2},tagTitle:b.name,textColor:je(b.code)}):null]}),i.jsxs(bi,{children:[b!=null&&e?.denominationConversions.amount!=null&&l!=="small"?i.jsx(Ae,{style:{width:"max-content"},tagTitle:b.name,textColor:je(b.code)}):null,i.jsx(vi,{})]})]}),i.jsxs(Ei,{children:[i.jsxs(Ti,{children:[i.jsx(ri,{style:{height:a.sp6,textAlign:"left"},inputStyle:{textAlign:"left",paddingRight:a.sp10,backgroundColor:f?void 0:j.colors.background,color:S||f?void 0:j.colors.grey1},isFieldError:f,type:"number",autoFocus:!1,focus:X,name:D,defaultValue:c?.mileageAmountInDenomination,returnValueType:"floatValue",allowEmptyFormatting:!0,prefix:te,suffix:` ${x.perText} ${ne}`,decimalScale:1,allowNegative:!1,isNumericString:!1,registerOptions:{min:1,validate:E=>E!=null||r!=null,required:r==null},isDisabled:ie}),i.jsx(Vi,{children:S?i.jsx(ci,{label:x.save,"data-testid":De("save-mileage"),onClick:()=>{c?.mileageAmountInDenomination!=null&&R&&!f&&G?.(c.mileageAmountInDenomination)},style:{outline:"none"},size:"small",disabled:r!=null,variant:"light_transparent",reverseSpinnerColor:!1,loading:z.fetchState==="In-Progress"}):i.jsx(Mi,{isDisabled:r,"data-testid":De("edit-mileage"),onClick:E=>{E.stopPropagation(),I(!0),U(!0),$.trackReimbursementMileageRateEdit()}})})]}),c?.description!=null?i.jsx(Li,{size:l,hasError:f,children:f&&e?.defaultMileageUnitAmount!=null?x.yourMileage.replace("__defaultMileageUnitAmount__",(100*e.defaultMileageUnitAmount).toString()):c.description}):null]})]})]})]})}const xi=(e,m)=>`${e}.${m}`,yi=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
pointer-events: ${e=>e.isLoading===!0||e.isActive===!1?"none":"initial"};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{V as _,bK as U,bL as M,bM as N,iI as V,ag as W,O as z}from"./index-
|
|
1
|
+
import{V as _,bK as U,bL as M,bM as N,iI as V,ag as W,O as z}from"./index-DDbdy58V.js";import{a as b}from"./sentry-DXG8OAzW.js";import{FZ as K}from"./zeni-epic-state-B_a_iTrR.js";import{u as Z}from"./ReviewOverlay-Be_F1hd--BbTRhL0o.js";import"./pdf-rNAmIEF5.js";import"./core-CSCSHf4h.js";import"./mui-CVWe5m7x.js";import"./recharts-C5pBg015.js";import"./lottie-BQDwpIDJ.js";import"./liveblocks-CxtxQte5.js";import"./dnd-COr1F31f.js";import"./analytics-DeMdmyL7.js";import"./plaid-CiVnbkxs.js";import"./utils-CEFC9M68.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]="c264ee17-475b-4105-af73-56a34bcaad88",e._sentryDebugIdIdentifier="sentry-dbid-c264ee17-475b-4105-af73-56a34bcaad88")}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),[m,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===m.length&&h&&(R(!1),clearInterval(j)),e.fetchState==="Completed"&&v(P(e,!1,o)),()=>{clearInterval(j)}),[m.length,B,h,e.fetchState,y,e,o]);const D=m.length,S=m.filter(d=>d.reviewStatus.code!=="error").length,F={onOkClick:d=>{p(!1);const C=e.remisForReview.map(I=>I.reimbursement);i.trackReimbursementBulkPopupConfirm(t,f,g,K(C.map(I=>I?.reimbursementTypesIncluded??[]))),u("reject",d)},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:d,description:C}=q(S);A({type:"reject",title:d,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:m,onCloseReviewItem:r,onCloseOverlay:n,showFooter:e.fetchState==="Completed"&&!h,footerProps:{primaryButton:(()=>{let d=a.footer.approve;return T?d=a.texts.close:t==="send_for_approval"&&(d=a.footer.submit),{label:d,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 m="",v="";return e!=="Completed"||u?(m=s.reviewPage.reportsReviewing.title.replace("__report__",p?c:l),v=s.reviewPage.reportsReviewing.description.replace("__report__",p?c:l)):(m=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:m,description:v}};export{ce as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as h,V as r,a3 as a,an as f,am as m,O as y,a6 as j,aa as l,b0 as g,x as u,o as c}from"./index-
|
|
1
|
+
import{y as h,V as r,a3 as a,an as f,am as m,O as y,a6 as j,aa as l,b0 as g,x as u,o as c}from"./index-DDbdy58V.js";import{n as d}from"./mui-CVWe5m7x.js";import{a as s}from"./sentry-DXG8OAzW.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="d9d0d7bf-41d8-493a-9f8b-146f41295c0d",e._sentryDebugIdIdentifier="sentry-dbid-d9d0d7bf-41d8-493a-9f8b-146f41295c0d")}catch{}})();function w({backgroundColor:e,foregroundColor:o,animated:t,width:n,height:i}){return r.jsxs(g,{speed:2,width:n,height:i,viewBox:`0 0 ${n} ${i}`,animate:t!=0,backgroundColor:e,foregroundColor:o,children:[r.jsx("rect",{x:"64",y:"0",rx:"4",ry:"4",width:""+(n-128),height:"21"}),r.jsx("rect",{x:"24",y:"45",rx:"4",ry:"4",width:""+(n-48),height:"228"})]})}function b({backgroundColor:e,foregroundColor:o,animated:t}){return r.jsxs(g,{speed:2,width:240,height:98,viewBox:"0 0 240 98",animate:t!=0,backgroundColor:e,foregroundColor:o,children:[r.jsx("rect",{x:"66",y:"0",rx:"4",ry:"4",width:"108",height:"21"}),r.jsx("rect",{x:"44",y:"77",rx:"4",ry:"4",width:"152",height:"21"}),r.jsx("rect",{x:"0",y:"29",rx:"4",ry:"4",width:"240",height:"40"})]})}const x=d(l)`
|
|
2
2
|
justify-content: flex-start;
|
|
3
3
|
`;function E({dimension:e,animated:o}){const t=h();return r.jsx(a,{dimension:e,children:r.jsx(x,{children:r.jsx(b,{backgroundColor:t.colors.grey3,foregroundColor:t.colors.grey4,animated:o})})})}function T({dimension:e,animated:o}){const t=h();return r.jsx(a,{dimension:e,children:r.jsx(x,{children:r.jsx("div",{style:{width:"100%",height:"100%"},children:r.jsx(f,{children:({height:n,width:i})=>r.jsx(w,{backgroundColor:t.colors.grey3,foregroundColor:t.colors.grey4,animated:o,width:i,height:n})})})})})}const p=d(l)`
|
|
4
4
|
justify-content: space-between;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as Z,J as ce,bz as fe,T as be,V as o,m as xe,bA as oe,A as ye,b as D,a9 as _e,o as r,bB as we,W as de,O as K,bC as $e,x as ve,Q,b0 as ke,u as m,ad as Ce,bD as je,bE as Ne,bF as Ie,s as Se,$ as Oe}from"./index-
|
|
1
|
+
import{y as Z,J as ce,bz as fe,T as be,V as o,m as xe,bA as oe,A as ye,b as D,a9 as _e,o as r,bB as we,W as de,O as K,bC as $e,x as ve,Q,b0 as ke,u as m,ad as Ce,bD as je,bE as Ne,bF as Ie,s as Se,$ as Oe}from"./index-DDbdy58V.js";import{a as u,b as he}from"./sentry-DXG8OAzW.js";import{n as h}from"./mui-CVWe5m7x.js";import{R as P,I as De}from"./CollapsableReportTable-BAz0DbFh-CAhAQGEZ.js";import{t as Pe}from"./filter-cZIFUNvj-CXXx4fNz.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="45b2b374-1999-4e70-9b1d-3bf30d911f6e",e._sentryDebugIdIdentifier="sentry-dbid-45b2b374-1999-4e70-9b1d-3bf30d911f6e")}catch{}})();const z=K.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat,Fe=e=>({this_period:{start_date:e.thisPeriod.startDate.format(z),end_date:e.thisPeriod.endDate.format(z)},number_of_periods:e.numberOfPeriods,order_by:e.orderBy}),Te=e=>e!=null?{start_date:e.startDate.format(z),end_date:e.endDate.format(z)}:void 0;async function ro(e,i,n){const s=K.getLocalizedStrings().downloadReport,l=`${e}?query=${encodeURIComponent(JSON.stringify(function(t){return{locale_id:t.localeId,show_negative_amount_in_parenthesis:t.showNegativeAmountInParenthesis,filter_accounts_with_nil_balances:t.filterAccountsWithNilBalances,filter_account_groups_with_nil_balances:t.filterAccountGroupsWithNilBalances,include_cover_page:t.includeCoverPage,company_name:t.companyName,statement_file_type:t.statementFileType,statements:t.statements,first_month_of_fy:t.firstMonthOfFY,book_close_date:t.bookCloseDate!=null?t.bookCloseDate.format(z):void 0,timeframe:t.timeframe,additional_balances:t.additionalBalances,format:t.format,balances_filter:Fe(t.balancesFilter),account_view_mode:t.accountViewMode,classes_to_filter_out:t.classesToFilterOut,data_available:Te(t.dataAvailable),is_zeni_coa_used:t.isZeniCOAUsed}}(n)))}`;try{const t=await je({urlEndPoint:l,authParams:i,fileType:n.statementFileType});if(t.ok){const x=Ne(t.headers,s.defaultFileName),y=await t.arrayBuffer();Ie(y,x)}else console.error(`${s.reportErrorMessage} ${t.statusText}`)}catch(t){console.error(`${s.reportErrorMessage} ${JSON.stringify(t)}`)}}const Be=h.div`
|
|
2
2
|
padding: 0 ${r.sp3} 0 ${r.sp3};
|
|
3
3
|
border: 1px solid ${e=>e.theme.colors.primary};
|
|
4
4
|
background: ${e=>e.theme.colors.grey5};
|