@zeniai/web-cockpit-ui 1.15.4-dev → 1.15.5-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{ACHDetailsPage-uGxVPurg-BoohNpSs.js → ACHDetailsPage-BLKhKkZC-CoU9qIfj.js} +1 -1
- package/dist/assets/{AIPerformancePage-DqmxZNlX--Hr--1bJ.js → AIPerformancePage-J3dtNEgn-DnDSfWCN.js} +103 -103
- package/dist/assets/{AccountInfoPage-C2Dq8UPa-CDfBL7Wu.js → AccountInfoPage-CI5UcHFj-BegJKMi4.js} +3 -3
- package/dist/assets/{AccountInfoPageContent-HVhR3c9c-DosFJwky.js → AccountInfoPageContent-D8oVcn1T-BXq3_V4W.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-DM9AQ-14-CIrGwmC7.js → AccountLockedInfoModal-B9_FdrYm-5NyxuZ6Z.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-zcvYkXrD-BPDfVNC-.js → AccountReconDetailsDrawerPage-DFjW0u9--BQEqjGYe.js} +39 -39
- package/dist/assets/{AccountRow-B3ULDo0k-BhJpm00a.js → AccountRow-Bq6uJ1hA-Vc9-Z3M-.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-CJZlWV2d-EdC25r6I.js → AccountsPromoCardStack-DQmHrc8b-Vd3CyDRc.js} +3 -3
- package/dist/assets/{AddAddressForCardDrawer-Rm7tH3HQ-BC-bWtsD.js → AddAddressForCardDrawer-O987RTn2-BVD6IV9k.js} +1 -1
- package/dist/assets/{AddToWalletPage-DfB-vvqh--jeS88nY.js → AddToWalletPage-C2Z6f8Y6-DKRITatO.js} +1 -1
- package/dist/assets/{AgingReportsPage-__jUwahK-CLXoQ0cz.js → AgingReportsPage-BlPqvXdx-BhMR9uMZ.js} +3 -3
- package/dist/assets/{AllUserItems-Coo6Qik6-UHUBqeo9.js → AllUserItems-CL17FcAl-HA7Ybf9E.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-C1LyqY_A-BtwuroAU.js → ApAgingDetailPage-CHVwRH_g-DOXwF09t.js} +1 -1
- package/dist/assets/{AppBasePage-Cz2ddFfo-mHKaK9iL.js → AppBasePage-CnlPnTBn-DzDs3_Wg.js} +1 -1
- package/dist/assets/{AppDrawerContent-CObWehh2-Cjn399er.js → AppDrawerContent-C2CNe5yn-CV61WWnW.js} +5 -5
- package/dist/assets/{ApprovalRulesSettingsPage-ZqKHe7B_-CavRIFVF.js → ApprovalRulesSettingsPage-XsMzIe4e-WBRcfJJV.js} +1 -1
- package/dist/assets/{ArAgingChart-CjRE8wyO-KhcQp5wu.js → ArAgingChart-Ck1uAv_a-BqG8XmZ6.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-DXjs7XAS-CBng1tZs.js → ArAgingDetailPage-KRWJzbCq-SXmC1xou.js} +5 -5
- package/dist/assets/{AttachmentView-C3WpRmXR-DHEKPSUE.js → AttachmentView-uaen0kuU-Bv_0F11t.js} +1 -1
- package/dist/assets/{BankAccountSection-BigS_oOq-Ci-ry1uG.js → BankAccountSection-CwOhGEgT-CV3SB5KM.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-Czlvc-qX-fV9_v1_E.js → BankAccountWarningSection-D7BVcqIu-RUBf41j-.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-BgliKI11-CVrp_3jT.js → BankConnectionsSettingsPage-BOdlcBfa-aX1YHXK9.js} +1 -1
- package/dist/assets/{BillDetailPage-DNPgeuje-DvJjtReR.js → BillDetailPage-Ct4Q960V-B1Ta0IG7.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-OrTzXAEP-F8EXZnBA.js → BillPayApprovalRuleDetailPage-DUU4rXuM-DI9nvx98.js} +4 -4
- package/dist/assets/{BillPayApprovalRulesPage-DXcPkwwf-D9IFAJHv.js → BillPayApprovalRulesPage-C0pcFzje-Rb9cSqGe.js} +1 -1
- package/dist/assets/{BillPayPromoPage-fBpp10um-GZ0MLbC-.js → BillPayPromoPage-BsEtxcjB-BRyrvd2x.js} +13 -13
- package/dist/assets/{BillPaySetUpPage-9iEVFLUa-CieGlXQ4.js → BillPaySetUpPage-B-rBYCtR-CKuO1PYp.js} +1 -1
- package/dist/assets/{BillingSettingsPage-IL6J1DV0-C_Ptx6al.js → BillingSettingsPage-BadzsZdt-CdWNz3my.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-DcRTKRMw-Dot6MMyh.js → BillsBulkReviewDrawerPage-CbA-LUIt-BCAx-hEw.js} +1 -1
- package/dist/assets/{BoxItem-Cg9N_YPt-DJ_jUCA7.js → BoxItem-BoanamYM-C9a7ISxI.js} +3 -3
- package/dist/assets/{BusinessVerificationPage-KZWTxmeh-Bf4A-QbN.js → BusinessVerificationPage-B9hjIdCd-fjXOOEEK.js} +2 -2
- package/dist/assets/{CardNumberSubText-DqtkAe0V-CnWXJt_4.js → CardNumberSubText-DFO_EKrs-fq6YqMPG.js} +1 -1
- package/dist/assets/{CashbackDetailPage-D-l7cqjW-DUYPwmfE.js → CashbackDetailPage-Bp85-5Ie-BrWWJ_z3.js} +8 -8
- package/dist/assets/{ChargeCardDetailPage-ChwrpnhL-veTgs8Ar.js → ChargeCardDetailPage-D8dY9X8Q-CY9gkPfd.js} +1 -1
- package/dist/assets/{ChargeCardListPage-zDV88I5X-B2RVPf-8.js → ChargeCardListPage-CxplfJ1W-Cs-f2f69.js} +1 -1
- package/dist/assets/{ChargeCardListTable-Cu1sCT_g-BGpTFZxZ.js → ChargeCardListTable-scY11ryy-Biigjr-j.js} +1 -1
- package/dist/assets/{ChargeCardPaymentHistoryPage-Db6zW203-WFxJEWqw.js → ChargeCardPaymentHistoryPage-Brh4ot5q-B0jRGM62.js} +1 -1
- package/dist/assets/{ChargeCardPromoPage-DsrTt5B0-CxLK8tnF.js → ChargeCardPromoPage-CPURUrkI-ElY1-FvK.js} +10 -10
- package/dist/assets/{ChargeCardSetupPage-DcYthQvc-CTSyFY1c.js → ChargeCardSetupPage-Bumq17f6-CZtiCi9E.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-DkUJKxIz-CnKozjSR.js → ChargeCardStatementsPage-DbU7LEIP-BvT1248-.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-C7rL0Ts2-RP5ItDdY.js → CheckDepositDrawerPage-CFl7Vr_I-m-GUaKwL.js} +1 -1
- package/dist/assets/{CollapsableReportTable-B0N8Ybey-DhyMNzbJ.js → CollapsableReportTable-CRaZZnGr-DHalWth7.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-5DfSL2V8-ScLL5OT8.js → CompanyOfficerDetailsSection-C4rN7mXr-DfF7L_UZ.js} +1 -1
- package/dist/assets/{CompanyPassportCard-BLw_MMZR-CEzISmuM.js → CompanyPassportCard-I21kA_Ir-BLJfyfQk.js} +3 -3
- package/dist/assets/{CompanyPassportPage-BamWWVQB-C7x4VyMq.js → CompanyPassportPage-BSDnF5-7-Cj98T4ob.js} +1 -1
- package/dist/assets/{CompleteProfile-CPwV8diq-J2SvPl5E.js → CompleteProfile-uultMZ5R-wTNN90nG.js} +1 -1
- package/dist/assets/{ConfettiBurst-CJc1ZWFJ-DhK08ncO.js → ConfettiBurst-CpmYtgfk-D3B4eByY.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-CDqjntBH-Dvy2lhUu.js → CreateOrEditVendorPage-AfKsEb9G-Dm36bf3i.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-cBCHuatx-C8VBVt7-.js → CreditCardPaymentDrawerPage-D0Lh5Tw1-XpTz-POB.js} +1 -1
- package/dist/assets/{CurrencySelectField-kA2N_h2r-CcyWX90z.js → CurrencySelectField-BvNBUOqg-A4J8Uxia.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-BU5SX7SV-Difzp9Mo.js → CustomerOnboardingActivationPage-OtCugBPI-qX05IlgL.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-DGhE9fpo-BZZCLRzR.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DGG2nFxO-Dw6MsSJ6.js → CustomerOnboardingDetailPageSkeleton-CMqEIIWe-DnAkQb7J.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-Dx_Py2Fa-Eccb4L_B.js → CustomerOnboardingNoStepsPage-p062pNc5-C-l3wTbU.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-AHQX5bSN-BxpQ0OvT.js → CustomerOnboardingPage-Byojt-WN-CQTmwoTL.js} +1 -1
- package/dist/assets/CustomerOnboardingProductSuitePage-C9W7h_tT-Brpfoewd.js +202 -0
- package/dist/assets/{Dashboard-BQGdcgDK-CcNLKkZL.js → Dashboard-Dkwr9npN-BXZ9_-Zj.js} +1 -1
- package/dist/assets/{DashboardReportPage-C9eB1Lz--5ieAwPtY.js → DashboardReportPage-Qk5_OFw7-BDc17Jc3.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-Cu7qPhOd-CTi4Znx6.js → DashboardSidebarBackgroundAnimation-BiD26wyg-CHBm92QN.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-DOcqx_qa-leYCAzF7.js → DepositAccTransactionItem-13TnlK6P-m98DXUKx.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-gxOQSQ9a-C_x5v-6x.js → DepositAccTransactionListPage-Dc3G81fB-A9cH7zUI.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-C_chbExL-BeToz5h5.js → DomesticWireDetailsPage-CCIoGmZO-B4_Jo1Es.js} +1 -1
- package/dist/assets/{DownloadOverlay-a0IFrzRd-D3N8T5hh.js → DownloadOverlay-Nc_Ra7Co-DN1ubFHO.js} +1 -1
- package/dist/assets/{DrawerPage-D3ezgD8z-B72SfIcT.js → DrawerPage-Bq1naYya-CQiLfSVq.js} +1 -1
- package/dist/assets/{EditPeoplePage-BnCysZo9-DrBsiLvG.js → EditPeoplePage-BnYTxq_9-DPMlpday.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-BzKR9gus-CcV8vLu7.js → EditReimbursementDetailPage-D-uH9OV3-BSdAEEMn.js} +1 -1
- package/dist/assets/{EntityDetailPage-B8vx2Mri-Dq6ftPMD.js → EntityDetailPage-DCcgGupN-C9TRJ7Es.js} +2 -2
- package/dist/assets/{EntitySummarySection-B5pV5wTI-DsRwDVIH.js → EntitySummarySection-BI44dDjO-CYCNaLvg.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-D25gPCR4-DOT9Bi2a.js → ExpenseAutomationOverviewPage-XA0L4mZw-dYnFXq-m.js} +4 -4
- package/dist/assets/{ExpenseAutomationPage-BUAS2p9i-IL1JLlJv.js → ExpenseAutomationPage-CGkJWoKY-B55w2jvQ.js} +1 -1
- package/dist/assets/{ExpressPayPage-DfIwfewF-QpNTIKub.js → ExpressPayPage-BX3rmT8V-AcNsZZN-.js} +8 -8
- package/dist/assets/{FeaturePreviewPage-AXorSpml-Ds6bcvAF.js → FeaturePreviewPage-W5YS3_F--DlENOTKC.js} +1 -1
- package/dist/assets/{FollowStepsSection-YR8SDxZC-jK4GFXy_.js → FollowStepsSection-C1Nmspra-Cdu3naRV.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-CxH9D6qC-D9VCs7_X.js → GlobalReviewListPage-BfVSGVJe-Bw9xs6tt.js} +1 -1
- package/dist/assets/{InformationCardStack-GuTsARmk-m7W2Cyla.js → InformationCardStack-BwgEyJER-uNbIwCBo.js} +3 -3
- package/dist/assets/{InsightsCardStack-CmTNccBr-B7V7JJKw.js → InsightsCardStack-BnEWSQ0m-VtqL0Nqc.js} +2 -2
- package/dist/assets/{InsightsSection-Bu-MplmN-Dorr_z_6.js → InsightsSection-hFNVHtei-D2NFl-zU.js} +5 -5
- package/dist/assets/{IntegrationsSettingsPage-JZMYvwgs-DuQDlnR9.js → IntegrationsSettingsPage-De8DEt0a-Cw9Ydly2.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-CM50BUc0-_CxvnrXr.js → InternationalWireSwiftDetailsPage-Dri_Nj57-i38KBpxN.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-Cg0oEA0I-D1TCfpW-.js → InternationalWireVerificationPage-CPIRgDy5-DxjBH4Le.js} +3 -3
- package/dist/assets/{InviteFormPage-CDlB29vX-Dmvvor8B.js → InviteFormPage-Ca_tdccZ-C7hXm59I.js} +1 -1
- package/dist/assets/{InvitePageListView-74Ymz8Xr-JpwUJSKI.js → InvitePageListView-BQbRhQ6V-DRrSpNW9.js} +1 -1
- package/dist/assets/{InvitePeoplePage-DxLF-5KU-CkS36yG4.js → InvitePeoplePage-BKffwOP--D-GaMZqa.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-De-7n3RO-qOxwsJtX.js → InvoiceUploadSection-H-JhX_DQ-B3PXCVQk.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-CzKlIsrE-CA_eEqsH.js → IssueChargeCardPage-rinAPB-d-By9lpPwl.js} +1 -1
- package/dist/assets/{LabeledAddressValue-CZwyvCy5-D1-9Sm0B.js → LabeledAddressValue-kPYLLOgv-BlJjmDxn.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-k9TP-qlZ-BzpglZfd.js → LabeledAddressValueField-B_N4O3Mv-CAfERVwt.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-DBnXkX-G-D4fP_6xf.js → LabeledControlledCheckBoxField-DiD9FNgO-CEPdNCHK.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-CiWNHg9A-DFrwqamp.js → LabeledCountryMultiSelectField-BCYMtV4j-BR8aIp2g.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-DdVE_wVv-xntEGmYo.js → LabeledCreatableSingleSelectField-Dm03LVdQ-DGBXlNr1.js} +1 -1
- package/dist/assets/{LabeledDocumentField-DGnh1cGh-BCYe8_PA.js → LabeledDocumentField-CWqz_jSU-BI4o2Iwv.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-BnaconeO-Ced0Yfaq.js → LabeledDropDownFormattedTextField-DhwPnDY8-yVeJPc_Q.js} +1 -1
- package/dist/assets/{LabeledMultiSelectField-Bt5PGbgf-8xamnDnk.js → LabeledMultiSelectField-C9feGqHN-OE3NSO1-.js} +1 -1
- package/dist/assets/{LabeledText-D9rbUJbs-B8rHFe3f.js → LabeledText-C91Eu04E-DW9Q389z.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DsstNVEx-CdKxnW8j.js → LabeledUserSingleSelectWithSubtitlesField-uruIe6mr--Ku_p9uL.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-DhvE24vx-B-YVtH41.js → LabeledZeniRolesDropDownField-BBpe1-wI-fb12_Q3E.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-CpttcuV1-DTLtK8Xw.js → LinkJETransactionPage-Cn7He0uo-CU1EJOb0.js} +2 -2
- package/dist/assets/{LockCardPage-FMI6xt1u-BqXJz86i.js → LockCardPage-CaIor45t-fxRy_eBL.js} +1 -1
- package/dist/assets/{LowBalancePopup-UNnJZwgC-D6ASOhaV.js → LowBalancePopup-DQJYforY-CaW9bnoT.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-CTqUXhIp-BPw-bzqm.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Dn7zRSmC-Cp1zfiCQ.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-BP3vdY52-BzDP-7_t.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-MURH2rp8-CYwIx8kJ.js → MagicLinkSuccessPage-RsvHwQTQ-DKdw4jPk.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-Cyx2YimC-BzlWjntf.js → MagicLinkTitleSection-DaThYY60-DuPzkS6C.js} +1 -1
- package/dist/assets/{MailingDetailsSection-Ro9Lxvtp-BP_WY31Z.js → MailingDetailsSection-DKs9SGYB-DpYzwmUT.js} +2 -2
- package/dist/assets/{Menu-XT10vy6U-BOoUbuzb.js → Menu-DWx47kcG-CqRpt11Z.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-BwD3OyXL-Da0NgCMi.js → MyBankConnectionsSettingsPage-DtnGJLK--62eLaU86.js} +5 -5
- package/dist/assets/{MyPendingActivationChargeCardListPage-B4yQ0O4T-B-nL-DnD.js → MyPendingActivationChargeCardListPage-B1A2Dxw3-KQAV9F2y.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-Bb4QkILK-HSMShd-J.js → MyProfileSettingsPage-BHpnpTmJ-DUJX3teA.js} +5 -5
- package/dist/assets/{NavBarWithPicker-DhLovvzt-DexTgtAK.js → NavBarWithPicker-Biz620wH-BwhpY8Dt.js} +1 -1
- package/dist/assets/{NavigationArrow-lK8LcatV-DGfMOxMA.js → NavigationArrow-CV_u5I1d-Dq_Cpl0i.js} +1 -1
- package/dist/assets/{NavigationDots-Dp0jKWtv-wJZlAbQ6.js → NavigationDots-DBshnTnS-eQudWkl3.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-DFt03MpW-DqMLqtG6.js → NewGlobalMerchantPage-DV2k3q5N-BcTx-Ahj.js} +1 -1
- package/dist/assets/{NoDataChart-BVStkyEY-B8WZvGsw.js → NoDataChart-DmThvRWS-pxiREfeT.js} +1 -1
- package/dist/assets/{NoDataTable-CBglXVQp-DDY10FD4.js → NoDataTable-8GCzndE4-Bqx95DdJ.js} +1 -1
- package/dist/assets/{NotFoundPage-8N4Q0cRS-l_4f29AK.js → NotFoundPage-VR72eVPP-RofDTL3E.js} +4 -4
- package/dist/assets/{NotificationSettingsPage--cl75C4Y-CI4sz5M5.js → NotificationSettingsPage-Bwf-7o4F-Aj6P3Xzl.js} +3 -3
- package/dist/assets/{NotificationsListConfig-BvqUVi6A-BHY0be2X.js → NotificationsListConfig-Dn_RFaAK-YhpveZOf.js} +1 -1
- package/dist/assets/{NotificationsPage-ClhmC4cD-IBtrx1co.js → NotificationsPage-B8GufkTS-DUQT6vp2.js} +18 -18
- package/dist/assets/{OpExByVendorPage-B24tsc-s-D6QTllTB.js → OpExByVendorPage-BlEqljuU-DVw46mxv.js} +1 -1
- package/dist/assets/{OverlayContainerPage-Daz3A7cI-qKQBMmtx.js → OverlayContainerPage-Daz3A7cI-jq9xEsKm.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-ChmIZfeB--a2CqoGA.js → PandLWithForecastPage-GOxiUR2j-BGagWawc.js} +2 -2
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-rhNK3_SE-DvD9qIA8.js → PaymentAccountSetupBillingAddressSection-BIxsEOJG-BjXFADJ0.js} +1 -1
- package/dist/assets/{PeoplePage-PetKjS8P-_ragIp3s.js → PeoplePage-DahKRMoB-F0cHCzgT.js} +13 -13
- package/dist/assets/{Preview-BfeJRZ_s.js → Preview-CrPzNPnm.js} +1 -1
- package/dist/assets/{ProductsCarousel-DzhNUiJk-CnpcLYLM.js → ProductsCarousel-1P24z1p4-CeCLsS0U.js} +1 -1
- package/dist/assets/{PromoBaseCards-ZTN2uS4W-CaNYBpDe.js → PromoBaseCards-DiKj0_oo-CtEGMdvr.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-CBtavUIz-BfsbqfyR.js → QBOConnectionDialog-A0ysjdIC-Eqpwl6_L.js} +1 -1
- package/dist/assets/{QBOSetupSection-jcVYFWfP-BR9neq53.js → QBOSetupSection-Me828i1a-N1PCk_UL.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-BoarRMWS-CplZNZTA.js → ReimbursementApprovalRuleDetailPage-dID4dZbu-DAIygneU.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-B5hHz-7T-COzYdYAx.js → ReimbursementApprovalRulesPage-D8stgYq_-CqsPNPUT.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-YfiCLu3C-DRrFxOgG.js → ReimbursementDetailPage-DaYD1eTP-BBI-ZKs3.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-CC_zFd3U-B-6fRWux.js → ReimbursementPromoPage-ClRa3wo6-GK77Fy92.js} +4 -4
- package/dist/assets/{ReimbursementSetUpPage-ChjBTodZ-BokcNixy.js → ReimbursementSetUpPage-CaJCRajP-Bhbzq9G6.js} +4 -4
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DOSDVT4u-B7pg5Efr.js → ReimbursementsBulkReviewDrawerPage-BuBVWui--heWobZZd.js} +1 -1
- package/dist/assets/{ReloadCard-qzpNu5-B-VePHUMif.js → ReloadCard-DzxA-pGI-BwtgRkm9.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-kzIQLZ5u-DS78KTH3.js → ReportTableViewSelector-D1k2eDtE-DWKTaUmF.js} +1 -1
- package/dist/assets/{ReportsPage-DVZ3Rcn1-CBE174bA.js → ReportsPage-DqXYfBQC-DTOBKK0U.js} +5 -5
- package/dist/assets/{RevenueChart-Bu8VCI9M-BYSxY3Z8.js → RevenueChart-C0vx4zUX-Uw0PsYMZ.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-Cl2_0ldt-BqZxApRm.js → ReviewDetailsPage-DmHHVA8I-Sy4HvXq_.js} +52 -52
- package/dist/assets/{ReviewOverlay-vmoQ2B3U-XNVWskNH.js → ReviewOverlay-tGj059Ib-BvRNdoTH.js} +1 -1
- package/dist/assets/{RoleWithToolTip-CEcusyL7-YmpTx_Di.js → RoleWithToolTip-BGafXnoE-Cs8CtpyO.js} +5 -5
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-D9w3rUch-DKLGn-zP.js → ScheduleDetailsFixedAssetsPage-DuuvsMhX-gKNOvkFU.js} +3 -3
- package/dist/assets/{ScheduleDetailsPage-LbjrnfcH-DCCH1T9I.js → ScheduleDetailsPage-BCw7YaHZ-CsQRejR9.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-2IpjhbUO-GCUPvy0g.js → ScheduleSequenceTable-C31xhtxt-m1Npa7Ri.js} +1 -1
- package/dist/assets/{ScreenRoutes-DkDRu-4T.js → ScreenRoutes-CcDq1jZA.js} +1 -1
- package/dist/assets/{SetUpAccountSection-p_viPmIN-BeZeCWCj.js → SetUpAccountSection-D8PGmPML-_7698rPN.js} +1 -1
- package/dist/assets/SignIn-CwWQnPnB-BjWxjduT.js +491 -0
- package/dist/assets/{SignInScreen-DLU3c9qR.js → SignInScreen-CMNwX-LP.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-C3i-Mkip-BJcfLEEj.js → SpendManagementListViewPage-B-EbBpvJ-ON20KKOZ.js} +5 -5
- package/dist/assets/{SpendManagementPerTabPage-dTz2pMKg-CV1wRQLN.js → SpendManagementPerTabPage-DANa2aTd-C61KLHM_.js} +1 -1
- package/dist/assets/{SpendManagementSection-DKMG4ReN-CZlClCbP.js → SpendManagementSection-CXYhrJSF-CXDxQfGM.js} +7 -7
- package/dist/assets/StatementItem-DeYhvD3S-1QR10Whm.js +31 -0
- package/dist/assets/{StatementsPage-DwvWOETo-C11bqWeD.js → StatementsPage-2OCuox8g-8nyeHbc9.js} +1 -1
- package/dist/assets/{StatusSwitcher-Moxr70rd-DtIz0Sb6.js → StatusSwitcher-CfBOEbYV-jyQUqc0h.js} +1 -1
- package/dist/assets/{SubTabSwitcher-DnCoUKmO-qRR_BP7y.js → SubTabSwitcher-LzrZe6zz-Bq05ehgW.js} +4 -4
- package/dist/assets/SummaryCard-DTbKziXk-DQjaUfYU.js +1 -0
- package/dist/assets/{TaskManagementPage-kHOwTTeJ-D1GVz39b.js → TaskManagementPage-J0L5w2Wc-ChHzcbst.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-8DihGZnj-BuenjRnY.js → TimeRangeSwitcher-CIhE-4dW-CNYy5JM_.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-Dy5hbFn4-tf-sE1Tu.js → TimeframeSwitcher-YlXclGGy-Dzk_QBMX.js} +5 -5
- package/dist/assets/TimeframeSwitcherWithToggle-BKRmBPLL-D7T-iUSK.js +31 -0
- package/dist/assets/{TopExCard-D_okDk9T-wYnCPso1.js → TopExCard-D1k8bh_F-C0WRKW8Q.js} +1 -1
- package/dist/assets/{TopExDetailPage-pOK_Ly9f-DZHeA38W.js → TopExDetailPage-BRJ9k9hY-DGh-mViS.js} +1 -1
- package/dist/assets/{TransactionDetailPage-T1xurXsz-B4W_5S1Q.js → TransactionDetailPage-CJjGDJoM-4j_0Nnvx.js} +1 -1
- package/dist/assets/{TransactionList-DblCSg0s-Dp5Vrkhr.js → TransactionList-CLJV-J8J-DPWKYbwQ.js} +6 -6
- package/dist/assets/{TransactionListBig-JLNkkeay-kxPrn2Fz.js → TransactionListBig-CDMd8KmW-BMMhha0s.js} +1 -1
- package/dist/assets/{TransactionListPage-Cf2i0F_k-CbyopTmd.js → TransactionListPage-Dm_JZDPM-CpkM0KX9.js} +2 -2
- package/dist/assets/{TransactionVendorDetailPage-B4T07nWa-DPNm9QGH.js → TransactionVendorDetailPage-BDuBQged-CAcA5ymW.js} +1 -1
- package/dist/assets/{TransferDrawerPage-BukQB5RF-CjEiIEvy.js → TransferDrawerPage-lY_wB7eB-BHJQPQzp.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-C0bQkCDh-BxK_GNbO.js → TreasuryOverviewPage-D5OetJEP-DU_svhq3.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-BaXLj90f-CHTsHIFq.js → TreasuryPromoPage-8tXexPVv-CiI-0ZNb.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-CNK6wX8W-D72m3AI-.js → TreasuryStatementsPage-DEOyNQFW-CWB-xLSh.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-DEnUpGEu-BnF_XmM3.js → TreasuryTaxLetterPage-B2AurZ-A-Dvkl-xbT.js} +1 -1
- package/dist/assets/{TrendChart-BhcSso96-HdF7LRi9.js → TrendChart-DhH1bAfv-Bh3qy9e2.js} +1 -1
- package/dist/assets/{TrendWithTransactions-B6xQ_DkB-Cvs1eKME.js → TrendWithTransactions-BLYyM3MY-D_wSnssv.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-DDqyVfnh-eAWCdEG0.js → UncategorizedAccountsMappingPage-CFir4dX5-DJbsYjHd.js} +5 -5
- package/dist/assets/{UnitIntegrationPage-BpT6E05N-RmQBxDe9.js → UnitIntegrationPage-CHR1UsV3-CoAODj2A.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-Dgwmxm6G-BrPUqWPJ.js → UploadAdditionalDocumentOverlay-CVb-0jqF-BDqTVyrb.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-CayW9AB7-DH4zWHWM.js → Vendor2FAPopup-BJI6SeE0-CTu9U0EV.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-CjsWjEGI-DSO-nYli.js → VendorACHDetailsPage-DLY7vm1r-DGGLogkV.js} +1 -1
- package/dist/assets/{VendorDetailPage-DQKnd_wl-DwLsSmFh.js → VendorDetailPage-Bl6Xaq0d-DsXiZRzL.js} +5 -5
- package/dist/assets/VendorDomesticWireDetailsPage-B83WB2Vz-DFPT0ZYm.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-monlt0GX-DhHW1Hg8.js → VendorFiling1099EditablePage-DHabnH22-CEFAMCGK.js} +32 -32
- package/dist/assets/{VendorFirstReviewPage-B_5VMGPE-DN-QZxaX.js → VendorFirstReviewPage-JhwEqiFF-kofbScrA.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-Czz9BmEm-DfcATEGo.js → VendorInternationalWireDetailsPage-DKsYBIjo-D8VzNPtl.js} +1 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-XKp9TJ4g-m_5Ao1BR.js +1 -0
- package/dist/assets/{VendorsAccountsSection-BCxVL3Vy-BoF6gQ0C.js → VendorsAccountsSection-Bvhib6Hd-BRinGYjw.js} +3 -3
- package/dist/assets/{VerifyDevice-CzW6x8kw-B7mzxysF.js → VerifyDevice-DGjS39sh-CtcNv75O.js} +1 -1
- package/dist/assets/{VideoPlayer-B6HamlwN-DO-Ebeno.js → VideoPlayer-DufuoQRs-CzFmZCl7.js} +2 -2
- package/dist/assets/{VideoPopup-D2mt1wC7-DHjn2cBV.js → VideoPopup-1aNRmLD6-E6I5SdxR.js} +2 -2
- package/dist/assets/{WarningsDrawerPage-BbN2G_rG-D-RK3Kf3.js → WarningsDrawerPage-Bikg48FF-BUXgPrL6.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-Bs_CVksP-aa_P2NUV.js → ZeniAccountDetailPage-DJiB-R44-8YHKJ_Rk.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-D5VNz-Hq-Cl6QAZp7.js → ZeniAccountListViewPage-BJF3-1hq-aqs0GGLS.js} +7 -7
- package/dist/assets/{ZeniAccountNavBarPieces-Dr8RdhtI-Bb7xJeYD.js → ZeniAccountNavBarPieces-ZZoVi49V-B5zNoIEH.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-DvOrXg46-D6yWqYxW.js → ZeniAccountPromoPage-VfZj6e9J-CEBstujd.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-zxlxRsQl-LI3fD0r9.js → ZeniAccountSetupPage-CfUBgLaM-ZmrhqCPO.js} +1 -1
- package/dist/assets/{ZeniCopyright-F1ki_Lss-DMCcW5zx.js → ZeniCopyright-UUk3LylG-VfT1dTbC.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-CK6HDTK_-DITkaxMM.js → ZeniTransferAmountSlider-DuyKUAsb-Di2nbbIa.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-B95D_4Mz.js → add-to-wallet-DgdBD8_G-DHth-HM4.js} +1 -1
- package/dist/assets/{analytics-Cvgud8Kt.js → analytics-CxT-6Gc4.js} +1 -1
- package/dist/assets/{analyticsHelper-B9B5MkKm.js → analyticsHelper-BbgU3YZ3.js} +1 -1
- package/dist/assets/{analyticsHelper-BgGQcED5-B6zw5Y6I.js → analyticsHelper-C_CHYSrd-D1gtzETx.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-D4yBr92E.js → arrow-south-east-round-PEovUgvH-jJL-u3ku.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-Bx6GnRAc.js → auto-transfer-rule-mbafm5D3-Bxbaldq-.js} +1 -1
- package/dist/assets/{chartTypes-Cdx27b7W-ChloPEmp.js → chartTypes-CfyGWP2E-zDFdatAv.js} +1 -1
- package/dist/assets/{commonDimensions-BIRY_wCD--kqEOvxT.js → commonDimensions-uDLC8oOH-DZ9sBzhX.js} +1 -1
- package/dist/assets/{commonTypes-DfehYs8A-BsLjL_9-.js → commonTypes-DBWmGaRi-Bvj_-gYH.js} +1 -1
- package/dist/assets/{constants-BtzoEfaK.js → constants-Dpo-zUMa.js} +1 -1
- package/dist/assets/{core-CXv949D6.js → core-CYa2vsSD.js} +1 -1
- package/dist/assets/{dash.all.min-Cqg4Xi33.js → dash.all.min-BwfoNW06.js} +1 -1
- package/dist/assets/{detailCommon-C4lCnx9f-C7pmgfja.js → detailCommon-CUjnzfBn-Bjs9ry6w.js} +3 -3
- package/dist/assets/{downloadPdf-BuszScX2-B_Z_90M1.js → downloadPdf-DZnGQqi5-DWxICXE5.js} +1 -1
- package/dist/assets/{empty-ByGWobuT.js → empty-BSEyVh8N.js} +1 -1
- package/dist/assets/{empty-DMMVJjdh.js → empty-CFYi5Ru2.js} +1 -1
- package/dist/assets/{epic-CfYPw6_1.js → epic-BaGEtIuG.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-BVRdqnGH.js → gift-box-Cmt9OgIZ-D2c9pOix.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-BOH0Hki6.js → graphic-no-data-l-DU4J8fDt-Dm8Nhvl9.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-D2SwohD-.js → graphic-no-data-net-burn-l-CzmycA0m-CTFvUdJH.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-B7qt1m6p.js → handshake-BPg58FML-cD35y_0x.js} +1 -1
- package/dist/assets/{index-HEX4i15-.js → index-CLqQIFvx.js} +9 -9
- package/dist/assets/{index-B7Vrs2at.js → index-D1NG7F-c.js} +1 -1
- package/dist/assets/{index-BoFx375B.js → index-DEJ7sanz.js} +1 -1
- package/dist/assets/{index-CWzyMkSf.js → index-DhBlfmDf.js} +1 -1
- package/dist/assets/{index-BoBO6goA.js → index-WnHIYL2y.js} +1 -1
- package/dist/assets/{index-sODlkJM-.js → index-o7l6M0TC.js} +1 -1
- package/dist/assets/{index-CuYWWTvq.js → index-oF3vysIj.js} +1 -1
- package/dist/assets/{lexical-DVRjsGc3.js → lexical-DzVC4tTe.js} +1 -1
- package/dist/assets/{liveblocks-Cb1r83bZ.js → liveblocks-DZksneMc.js} +1 -1
- package/dist/assets/{lottie-ChpXBaXa.js → lottie-EtzJiaFi.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-BNip5yf2-B8eJRUmh.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-KPnNJcR6-DHEAql9w.js → mapSectionWithAcOnlyToTreeNode-6D3s6K5H-Bt6Ormba.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-BgJYIgvo-fV_Gwxoc.js → mapSpacerToTreeNode-D950gQIm-BVvu7Mmj.js} +1 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-BwoNhSxI-9FFTEIt6.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-CpO1mQ6n-CJZiBXdi.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-tLFl9PXK-2yg-AGqh.js +1 -0
- package/dist/assets/{mui-ic6OiqS8.js → mui-Co4rhSdf.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-k_jk9CoG.js → page-detail-CWX5S47F-DzQ9yNth.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-za7RGM9N.js → radio-default-CiSgisfh-DdBmb3s2.js} +1 -1
- package/dist/assets/{react-CPjX1wmE.js → react-B9BOYeX6.js} +2 -2
- package/dist/assets/{react-DK-HRtjG.js → react-BHvhexjt.js} +1 -1
- package/dist/assets/{react-gyhpZrY7.js → react-BcTgPaBt.js} +1 -1
- package/dist/assets/{react-9LgnLXOA.js → react-BfmS3tc2.js} +1 -1
- package/dist/assets/{react-Bdp1N68v.js → react-BrZdHxR5.js} +1 -1
- package/dist/assets/{react-DQZAFu6o.js → react-DaPNcQnJ.js} +1 -1
- package/dist/assets/{react-BuqZeXYc.js → react-USABo3kI.js} +1 -1
- package/dist/assets/{react-BBhRq74A.js → react-hKmyc3EK.js} +1 -1
- package/dist/assets/{recharts-C7z-lQH-.js → recharts-C4PW-81v.js} +1 -1
- package/dist/assets/{sentry-DNw4E1cx.js → sentry-Cue4MgLi.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-D6nz_AIb.js → shield-DOlUxcFf-UAy-EXjs.js} +1 -1
- package/dist/assets/toCOABalancesWithID-B6AaIKKE-ZUVHY5cX.js +1 -0
- package/dist/assets/{toChartData-B0HFgnVy-FTnLuytJ.js → toChartData-DD8ISjzM-DQ9NjKIx.js} +1 -1
- package/dist/assets/{uploadAttachment-DlvokhTk-r6x0axxP.js → uploadAttachment-CEqqTe84-MicetzMb.js} +1 -1
- package/dist/assets/{uploadReceipts-CPw64UYa-BWHPlnz7.js → uploadReceipts-CPw64UYa-BwoznkPo.js} +1 -1
- package/dist/assets/{url-DBQRifxB.js → url-CIbQHzW3.js} +1 -1
- package/dist/assets/{url--ZPS5B7f.js → url-CpxLPhmr.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-DCMSiElk.js → useLongPress-GCK2COYQ-Da6NOL1P.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-BHEAhb94.js → usp-line-BBd1wKwW-BZcVCehg.js} +1 -1
- package/dist/assets/{utils-BM6IYCHh.js → utils-CxOjlxtI.js} +1 -1
- package/dist/assets/{zeni-epic-state-CKYsFVFb.js → zeni-epic-state-DcWK4mxP.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/CustomerOnboardingContainerPage-CY24zxv4-DINzCoKw.js +0 -1
- package/dist/assets/CustomerOnboardingProductSuitePage-CJ9rX2hA-BJUYSoDy.js +0 -202
- package/dist/assets/MagicLinkACHDetailsPage-Bwzk6331-BkvpBbKP.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-23WXWUBb-DxgLQKhU.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-XqDeRmny-DaBhYRdy.js +0 -1
- package/dist/assets/SignIn-DhRwLJFX-CrhLsfuP.js +0 -448
- package/dist/assets/StatementItem-Dk8gBfGY-DssA0Zy_.js +0 -31
- package/dist/assets/SummaryCard-DvdjDQ13-B4TCkks7.js +0 -1
- package/dist/assets/TimeframeSwitcherWithToggle-V2cHhGoQ-ChkncCQh.js +0 -31
- package/dist/assets/VendorDomesticWireDetailsPage-DBOWshWu-N9IiH6Qb.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-B-mh5P3v-Bc79bIRM.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-COOEc1T9-DGQoLemv.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DAnYNYrr-D_2bOFsl.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DKbBYyC9--OjhjG_D.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BeGSkZpM-DL5IPXlV.js +0 -1
- package/dist/assets/toCOABalancesWithID-C__BVdeG-L2MMXLgC.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as
|
|
1
|
+
import{d as be,q as I,F as y,V as t,bA as le,aN as a,bM as De,o as s,cj as Oe,ck as _e,k as U,aR as Y,cl as we,n as Le,b as $e,cm as Ae,aO as Ve,cn as Me,ap as We,co as He,cp as Be,b2 as Ue,aB as H,cq as Ee,y as b,cr as Fe,cs as je,c as $,ct as ee,cc as N,a9 as Ke,ac as Ze,cu as qe,cv as Xe,aH as Ge,ai as D,cw as Qe,al as O,am as te,p as A,cx as Je,cg as Se,b9 as ie,cy as ke,bK as Ye,cz as et}from"./index-CLqQIFvx.js";import{S as ce,a as v}from"./sentry-Cue4MgLi.js";import{n as i}from"./mui-Co4rhSdf.js";import{oV as Ie,bg as Q}from"./zeni-epic-state-DcWK4mxP.js";import{P as Ce}from"./Menu-DWx47kcG-CqRpt11Z.js";import{T as Re}from"./RoleWithToolTip-BGafXnoE-Cs8CtpyO.js";import"./liveblocks-DZksneMc.js";import"./core-CYa2vsSD.js";import"./recharts-C4PW-81v.js";import"./lottie-EtzJiaFi.js";import"./analytics-CxT-6Gc4.js";import"./lexical-DzVC4tTe.js";import"./utils-CxOjlxtI.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]="02974ded-fcec-4bb2-b72e-75d04e0112d3",e._sentryDebugIdIdentifier="sentry-dbid-02974ded-fcec-4bb2-b72e-75d04e0112d3")}catch{}})();const P=y.getLocalizedStrings().peoplePage.header,S=[{key:"name",value:P.name,sortOrder:"ascending",width:new b(32,26,26,30,32)},{key:"role",value:P.role,sortOrder:"ascending",width:new b(18,17,17,21,19)},{key:"manager",value:P.manager,sortOrder:"ascending",width:new b(20,20,20,19,20)},{key:"department",value:P.department,sortOrder:"ascending",width:new b(20,20,20,19,20)},{key:"lastSeen",value:P.lastSeen,sortOrder:"ascending",width:new b(10,17,17,11,9)}],B=[{key:"name",value:P.name,sortOrder:"ascending",width:new b(32,26,26,32,33)},{key:"role",value:P.role,sortOrder:"ascending",width:new b(58,57,57,57,58)},{key:"lastSeen",value:P.lastSeen,sortOrder:"ascending",width:new b(10,17,17,11,9)}],tt=58;function it({userNameSticky:e,sortConfig:o,onColumnSortConfigChanged:l,mode:d}){const m=I(),[p,x]=v.useState(Ge(d==="off"?S:B));v.useEffect(()=>{const n=[...p];for(const r of n)r.key===o.sortKey?r.sortOrder=o.sortOrder:r.sortOrder="ascending";x(n)},[o.sortKey,o.sortOrder]);const h=(n,r)=>{let u=r;o.sortKey===n&&(u=r==="ascending"?"descending":"ascending"),l?.(n,u)};return t.jsx(rt,{height:tt,"data-testid":a("people-list-header-row"),children:p.map(n=>t.jsxs(lt,{userNameSticky:!!e&&n.key==="name",sortDataValue:o.sortKey,actualDataValue:n.key,wrapperWidth:n.width,windowSize:m,children:[t.jsxs(dt,{"data-testid":a("people-list-header",n.key),onClick:()=>h(n.key,n.sortOrder),children:[t.jsx(D,{children:n.value}),t.jsx(ot,{sortDataValue:o.sortKey,headerdata:n,children:t.jsx(Qe,{width:12,height:12})})]}),t.jsx(at,{isVisible:o.sortKey===n.key&&n.key!=="name",children:t.jsx(nt,{"data-testid":a("people-list-header-sort-cancel",n.key),onClick:()=>h("name","ascending")})})]},n.key))})}const st=ce.memo(it),ot=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
transform: ${e=>e.sortDataValue===e.headerdata.key&&e.headerdata.sortOrder==="descending"?"rotate(180deg)":"rotate(0deg)"};
|
|
@@ -81,7 +81,7 @@ import{d as $e,q as I,F as y,V as t,bA as le,aN as a,bM as De,o as s,cj as Oe,ck
|
|
|
81
81
|
justify-content: flex-start;
|
|
82
82
|
.single-select-field__single-value {
|
|
83
83
|
color: ${e=>e.theme.colors.hero};
|
|
84
|
-
${
|
|
84
|
+
${$e.smallRegular.css};
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -103,7 +103,7 @@ import{d as $e,q as I,F as y,V as t,bA as le,aN as a,bM as De,o as s,cj as Oe,ck
|
|
|
103
103
|
}
|
|
104
104
|
`,wt=i(D)`
|
|
105
105
|
color: ${e=>e.theme.colors.hero};
|
|
106
|
-
`,{peoplePage:T}=y.getLocalizedStrings(),vt=({peopleData:e,userNameSticky:o,allClasses:l,allManagers:d,onResendInvite:m,onDeleteUser:p,onRowClick:x})=>{const[h,n]=v.useState(!1),r=I(),u=ft(e,d,l),w=e.userRole.userRoles.filter(g=>!Ie(g)),f=()=>{p?.(e)},j=()=>{x?.(e.userId)};return t.jsxs(yt,{windowSize:r,isInviteAccepted:e.userRole.invitationStatus==="accepted",onClick:j,"data-testid":a("people-list-row",e.userId),children:[t.jsx(
|
|
106
|
+
`,{peoplePage:T}=y.getLocalizedStrings(),vt=({peopleData:e,userNameSticky:o,allClasses:l,allManagers:d,onResendInvite:m,onDeleteUser:p,onRowClick:x})=>{const[h,n]=v.useState(!1),r=I(),u=ft(e,d,l),w=e.userRole.userRoles.filter(g=>!Ie(g)),f=()=>{p?.(e)},j=()=>{x?.(e.userId)};return t.jsxs(yt,{windowSize:r,isInviteAccepted:e.userRole.invitationStatus==="accepted",onClick:j,"data-testid":a("people-list-row",e.userId),children:[t.jsx(bt,{wrapperWidth:S[0].width,windowSize:r,userNameSticky:o,children:t.jsxs(jt,{children:[t.jsx(ee,{personBasic:e.user,styles:{height:s.sp6,width:s.sp6}}),t.jsxs(St,{children:[e.user?.firstName?t.jsxs(kt,{className:"personNameTxt",isInviteAccepted:e.userRole.invitationStatus==="accepted",children:[e.user?.firstName??""," ",e.user?.lastName??""]}):null,t.jsx(Ct,{isInviteAccepted:e.userRole.invitationStatus==="accepted",className:"emailTxt",children:e.userRole.userEmail??""})]})]})}),t.jsx(It,{wrapperWidth:S[1].width,windowSize:r,children:t.jsx(Re,{roles:w})}),t.jsxs(t.Fragment,{children:[Q(e.userRole.userRoles)?t.jsx(Z,{wrapperWidth:S[2].width,windowSize:r,children:t.jsx(L,{children:T.notApplicable})}):t.jsx(t.Fragment,{children:u.manager?t.jsx(ve,{wrapperWidth:S[2].width,windowSize:r,children:t.jsx(L,{children:u.manager})}):t.jsx(Z,{wrapperWidth:S[2].width,windowSize:r,children:t.jsx(L,{children:T.noManager})})}),Q(e.userRole.userRoles)?t.jsx(Z,{wrapperWidth:S[3].width,windowSize:r,children:t.jsx(L,{children:T.notApplicable})}):t.jsx(t.Fragment,{children:u.department?t.jsx(ve,{wrapperWidth:S[3].width,windowSize:r,children:t.jsx(L,{children:u.department})}):t.jsx(Z,{wrapperWidth:S[3].width,windowSize:r,children:t.jsx(L,{children:T.emptyDepartmentPlaceholderText})})})]}),t.jsxs(Rt,{"data-testid":a("last-seen-container",e.userId),wrapperWidth:S[4].width,windowSize:r,children:[e.userRole.invitationStatus==="accepted"?t.jsx($t,{children:u.lastSeen}):t.jsx(Tt,{children:e.update==="resendInvite"?t.jsx(U,{size:"Small",start:!0}):t.jsxs(t.Fragment,{children:[t.jsx(Pt,{"data-testid":a("resend-invite-text",e.userId),onClick:g=>{g.stopPropagation(),m?.(e.userId)},children:T.resendInvite.label}),t.jsx(Nt,{children:t.jsx(Dt,{children:`${T.sentText} ${N(e?.userRole?.inviteUpdateTime?e.userRole.inviteUpdateTime:e.userRole.inviteCreateTime)}`})})]})}),t.jsx(zt,{isInviteAccepted:e.userRole.invitationStatus==="accepted",className:"menu-icon",children:t.jsx(Ce,{menuItems:t.jsxs(Ot,{"data-testid":a("menu-items-container",e.userId),children:[t.jsx(fe,{"data-testid":a("edit-people-list-row"),onClick:()=>{n(!1),j()},children:T.invitePage.editTitle}),t.jsx(fe,{"data-testid":a("delete-people-list-row",e.userId),isDelete:!0,onClick:g=>{g.stopPropagation(),n(!1),f()},children:T.deleteOverlay.title})]}),setIsMenuOpen:n,isMenuOpen:h})})]})]})};function ft(e,o,l){const d=l.find(p=>e.userRole.accountingClassIDs[0]===p.classId),m=o.find(p=>p.userId===e.userRole.managerUserId);return{name:`${e.user?.firstName??""} ${e.user?.lastName??""}`,role:{selectedOptions:e.userRole.userRoles,allOptions:Je},manager:m?.user?`${m?.user?.firstName} ${m?.user?.lastName}`:void 0,department:d?d?.className:void 0,lastSeen:e?.userRole?.userLastCheckInTimeIntoTenant?N(e.userRole.userLastCheckInTimeIntoTenant):"-"}}const yt=i.div`
|
|
107
107
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
108
108
|
border-radius: ${s.sp2};
|
|
109
109
|
display: flex;
|
|
@@ -157,7 +157,7 @@ import{d as $e,q as I,F as y,V as t,bA as le,aN as a,bM as De,o as s,cj as Oe,ck
|
|
|
157
157
|
}
|
|
158
158
|
background-color: ${e=>e.theme.colors.grey5};
|
|
159
159
|
cursor: pointer;
|
|
160
|
-
|
|
160
|
+
`,bt=i(Se)`
|
|
161
161
|
width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
162
162
|
max-width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
163
163
|
height: 100%;
|
|
@@ -177,7 +177,7 @@ import{d as $e,q as I,F as y,V as t,bA as le,aN as a,bM as De,o as s,cj as Oe,ck
|
|
|
177
177
|
-webkit-box-orient: vertical;
|
|
178
178
|
text-overflow: ellipsis;
|
|
179
179
|
overflow: hidden;
|
|
180
|
-
|
|
180
|
+
`,$t=i(O)`
|
|
181
181
|
overflow: hidden;
|
|
182
182
|
display: -webkit-box;
|
|
183
183
|
-webkit-line-clamp: 1;
|
|
@@ -272,7 +272,7 @@ import{d as $e,q as I,F as y,V as t,bA as le,aN as a,bM as De,o as s,cj as Oe,ck
|
|
|
272
272
|
:hover {
|
|
273
273
|
color: ${e=>e.theme.colors.primary};
|
|
274
274
|
}
|
|
275
|
-
`,_t={width:new
|
|
275
|
+
`,_t={width:new b(343,580,726)},{peoplePage:k}=y.getLocalizedStrings(),Lt=({peopleData:e,allClasses:o,allManagers:l,onRowClick:d,onResendInvite:m})=>{const p=I(),x=e.userRole.userRoles.filter(r=>!Ie(r)),h=si(l,e.userRole.managerUserId),n=oi(o,e.userRole.accountingClassIDs);return t.jsxs(At,{windowSize:p,isInviteAccepted:e.userRole.invitationStatus==="accepted","data-testid":a("people-list-row-small",e.userId),onClick:()=>{d?.(e.userId)},children:[t.jsxs(Vt,{children:[t.jsx(ee,{personBasic:e.user,styles:{height:s.sp6,width:s.sp6}}),t.jsx(Wt,{children:t.jsxs(Ht,{children:[t.jsxs(Bt,{className:"personNameTxt",isInviteAccepted:e.userRole.invitationStatus==="accepted",children:[e.user?.firstName??""," ",e.user?.lastName??""]}),t.jsx(Ut,{isInviteAccepted:e.userRole.invitationStatus==="accepted",className:"emailTxt",children:e.userRole.userEmail??""})]})}),e.userRole.invitationStatus==="accepted"?t.jsxs(Et,{className:"lastSeen",children:[t.jsx(Ft,{className:"lastSeenDateTxt",children:e?.userRole?.userLastCheckInTimeIntoTenant?N(e.userRole.userLastCheckInTimeIntoTenant):"-"}),t.jsx(Kt,{children:k.header.lastSeen})]}):t.jsx(Zt,{"data-testid":a("resend-invite-wrapper",e.userId),children:e.update==="resendInvite"?t.jsx(U,{size:"Small",start:!0}):t.jsxs(t.Fragment,{children:[t.jsx(qt,{"data-testid":a("resend-invite-text",e.userId),onClick:r=>{r.stopPropagation(),m?.(e.userId)},children:k.resendInvite.label}),t.jsx(Xt,{children:t.jsx(Gt,{children:`${k.sentText} ${N(e?.userRole?.inviteUpdateTime?e.userRole.inviteUpdateTime:e.userRole.inviteCreateTime)}`})})]})})]}),t.jsx(Mt,{children:t.jsxs(se,{className:"personDetails",children:[t.jsxs(pe,{children:[t.jsxs(he,{children:[k.header.role,":"]}),t.jsx(oe,{children:t.jsx(Re,{roles:x})})]}),t.jsxs(Qt,{children:[t.jsxs(Yt,{children:[k.header.manager,":"]}),Q(e.userRole.userRoles)?t.jsx(q,{children:k.notApplicable}):t.jsx(t.Fragment,{children:h?t.jsx(ti,{children:h}):t.jsx(q,{children:k.noManager})})]}),t.jsxs(Jt,{children:[t.jsxs(ei,{children:[k.header.department,":"]}),Q(e.userRole.userRoles)?t.jsx(q,{children:k.notApplicable}):t.jsx(t.Fragment,{children:n?t.jsx(ii,{children:n}):t.jsx(q,{children:k.emptyDepartmentPlaceholderText})})]})]})})]})},At=i.div`
|
|
276
276
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
277
277
|
border-radius: ${s.sp2};
|
|
278
278
|
display: flex;
|
|
@@ -358,7 +358,7 @@ import{d as $e,q as I,F as y,V as t,bA as le,aN as a,bM as De,o as s,cj as Oe,ck
|
|
|
358
358
|
width: 70%;
|
|
359
359
|
`,ti=i(oe)``,ii=i(oe)``,q=i(oe)`
|
|
360
360
|
color: ${e=>e.theme.colors.grey1};
|
|
361
|
-
`,si=(e,o)=>{const l=e.find(d=>d.userId===o);return l?.user?`${l?.user?.firstName} ${l?.user?.lastName}`:void 0},oi=(e,o)=>{const l=e.find(d=>o[0]===d.classId);return l?l.className:void 0},ri=e=>I()==="small"?t.jsx(Lt,{...e}):t.jsx(vt,{...e}),X=y.getLocalizedStrings().peoplePage,li=({peopleData:e,userNameSticky:o,onResendInvite:l,onDeleteUser:d,onRowClick:m})=>{const[p,x]=v.useState(!1),h=I(),n=ni(e),r=f=>{const j=[];return f.map(g=>{const R=ke.roles.find(V=>V.value===g);return R!=null&&j.push(R?.label??""),j}),j.length>0?j.join(", "):"-"},u=()=>{d?.(e)},w=()=>{m?.(e.userId)};return t.jsxs(ai,{"data-testid":a("zeni-people-list-row-medium",e.userId),windowSize:h,isInviteAccepted:e.userRole.invitationStatus==="accepted",onClick:w,children:[t.jsx(di,{wrapperWidth:B[0].width,windowSize:h,userNameSticky:o,children:t.jsxs(pi,{children:[t.jsx(ee,{personBasic:e.user,styles:{height:s.sp6,width:s.sp6}}),t.jsxs(hi,{children:[e.user?.firstName?t.jsxs(mi,{isInviteAccepted:e.userRole.invitationStatus==="accepted",className:"personNameTxt",children:[e.user?.firstName??""," ",e.user?.lastName??""]}):null,t.jsx(xi,{isInviteAccepted:e.userRole.invitationStatus==="accepted",className:"emailTxt",children:e.userRole.userEmail??""})]})]})}),t.jsx(ui,{widthNumber:B[1].width,windowSize:h,children:t.jsx(ci,{wrapperWidth:new
|
|
361
|
+
`,si=(e,o)=>{const l=e.find(d=>d.userId===o);return l?.user?`${l?.user?.firstName} ${l?.user?.lastName}`:void 0},oi=(e,o)=>{const l=e.find(d=>o[0]===d.classId);return l?l.className:void 0},ri=e=>I()==="small"?t.jsx(Lt,{...e}):t.jsx(vt,{...e}),X=y.getLocalizedStrings().peoplePage,li=({peopleData:e,userNameSticky:o,onResendInvite:l,onDeleteUser:d,onRowClick:m})=>{const[p,x]=v.useState(!1),h=I(),n=ni(e),r=f=>{const j=[];return f.map(g=>{const R=ke.roles.find(V=>V.value===g);return R!=null&&j.push(R?.label??""),j}),j.length>0?j.join(", "):"-"},u=()=>{d?.(e)},w=()=>{m?.(e.userId)};return t.jsxs(ai,{"data-testid":a("zeni-people-list-row-medium",e.userId),windowSize:h,isInviteAccepted:e.userRole.invitationStatus==="accepted",onClick:w,children:[t.jsx(di,{wrapperWidth:B[0].width,windowSize:h,userNameSticky:o,children:t.jsxs(pi,{children:[t.jsx(ee,{personBasic:e.user,styles:{height:s.sp6,width:s.sp6}}),t.jsxs(hi,{children:[e.user?.firstName?t.jsxs(mi,{isInviteAccepted:e.userRole.invitationStatus==="accepted",className:"personNameTxt",children:[e.user?.firstName??""," ",e.user?.lastName??""]}):null,t.jsx(xi,{isInviteAccepted:e.userRole.invitationStatus==="accepted",className:"emailTxt",children:e.userRole.userEmail??""})]})]})}),t.jsx(ui,{widthNumber:B[1].width,windowSize:h,children:t.jsx(ci,{wrapperWidth:new b(100,100),windowSize:h,children:r(e.userRole.userRoles)})}),t.jsxs(yi,{"data-testid":a("people-list-row-medium-last-seen",e.userId),wrapperWidth:B[2].width,windowSize:h,children:[e.userRole.invitationStatus==="accepted"?t.jsx(bi,{children:n.lastSeen}):t.jsx(gi,{"data-testid":a("people-list-row-medium-resend-invite",e.userId),children:e.update==="resendInvite"?t.jsx(U,{size:"Small",start:!0}):t.jsxs(t.Fragment,{children:[t.jsx(wi,{"data-testid":a("people-list-row-medium-resend-invite-text",e.userId),onClick:f=>{f.stopPropagation(),l?.(e.userId)},children:X.resendInvite.label}),t.jsx(vi,{children:t.jsx(fi,{children:`${X.sentText} ${N(e?.userRole?.inviteUpdateTime?e.userRole.inviteUpdateTime:e.userRole.inviteCreateTime)}`})})]})}),t.jsx($i,{"data-testid":a("people-list-row-medium-menu",e.userId),isInviteAccepted:e.userRole.invitationStatus==="accepted",className:"menu-icon",children:t.jsx(Ce,{menuItems:t.jsxs(ji,{children:[t.jsx(ye,{"data-testid":a("people-list-row-medium-menu-edit",e.userId),onClick:()=>{x(!1),w()},children:X.invitePage.editTitle}),t.jsx(ye,{"data-testid":a("people-list-row-menu-delete",e.userId),isDelete:!0,onClick:f=>{f.stopPropagation(),x(!1),u()},children:X.deleteOverlay.title})]}),setIsMenuOpen:x,isMenuOpen:p})})]})]})};function ni(e){return{name:`${e.user?.firstName??""} ${e.user?.lastName??""}`,role:{selectedOptions:e.userRole.userRoles,allOptions:ke.roles},lastSeen:e?.userRole?.userLastCheckInTimeIntoTenant?N(e.userRole.userLastCheckInTimeIntoTenant):"-"}}const ai=i.div`
|
|
362
362
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
363
363
|
border-radius: ${s.sp2};
|
|
364
364
|
display: flex;
|
|
@@ -487,13 +487,13 @@ import{d as $e,q as I,F as y,V as t,bA as le,aN as a,bM as De,o as s,cj as Oe,ck
|
|
|
487
487
|
`,yi=i.div`
|
|
488
488
|
width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
|
|
489
489
|
position: relative;
|
|
490
|
-
|
|
490
|
+
`,bi=i(O)`
|
|
491
491
|
overflow: hidden;
|
|
492
492
|
display: -webkit-box;
|
|
493
493
|
-webkit-line-clamp: 1;
|
|
494
494
|
-webkit-box-orient: vertical;
|
|
495
495
|
text-overflow: ellipsis;
|
|
496
|
-
|
|
496
|
+
`,$i=i.div`
|
|
497
497
|
position: absolute;
|
|
498
498
|
right: ${`-${s.sp2}`};
|
|
499
499
|
top: ${e=>e.isInviteAccepted?"6%":"30%"};
|
|
@@ -509,7 +509,7 @@ import{d as $e,q as I,F as y,V as t,bA as le,aN as a,bM as De,o as s,cj as Oe,ck
|
|
|
509
509
|
:hover {
|
|
510
510
|
color: ${e=>e.theme.colors.primary};
|
|
511
511
|
}
|
|
512
|
-
`,Si={width:new
|
|
512
|
+
`,Si={width:new b(343,580,726)},G=y.getLocalizedStrings().peoplePage,ki=({peopleData:e,onRowClick:o,onResendInvite:l})=>{const d=I();return t.jsxs(Ii,{windowSize:d,"data-testid":a("zeni-people-list-row-small",e.userId),isInviteAccepted:e.userRole.invitationStatus==="accepted",onClick:()=>{o?.(e.userId)},children:[t.jsxs(Ci,{children:[t.jsx(ee,{personBasic:e.user,styles:{height:s.sp6,width:s.sp6}}),t.jsx(zi,{children:t.jsxs(Ti,{children:[t.jsxs(Pi,{className:"personNameTxt",isInviteAccepted:e.userRole.invitationStatus==="accepted",children:[e.user?.firstName??""," ",e.user?.lastName??""]}),t.jsx(Ni,{isInviteAccepted:e.userRole.invitationStatus==="accepted",className:"emailTxt",children:e.userRole.userEmail??""})]})}),e.userRole.invitationStatus==="accepted"?t.jsxs(Li,{className:"lastSeen","data-testid":a("people-list-row-small-last-seen",e.userId),children:[t.jsx(Ai,{className:"lastSeenDateTxt","data-testid":a("people-list-row-small-last-seen-content",e.userId),children:e?.userRole?.userLastCheckInTimeIntoTenant?N(e.userRole.userLastCheckInTimeIntoTenant):"-"}),t.jsx(Vi,{children:G.header.lastSeen})]}):t.jsx(Mi,{"data-testid":a("people-list-row-small-resend-invite",e.userId),children:e.update==="resendInvite"?t.jsx(U,{size:"Small",start:!0}):t.jsxs(t.Fragment,{children:[t.jsx(Wi,{"data-testid":a("people-list-row-small-resend-invite-text",e.userId),onClick:m=>{m.stopPropagation(),l?.(e.userId)},children:G.resendInvite.label}),t.jsx(Hi,{children:t.jsx(Bi,{children:`${G.sentText} ${N(e?.userRole?.inviteUpdateTime?e.userRole.inviteUpdateTime:e.userRole.inviteCreateTime)}`})})]})})]}),t.jsx(Ri,{children:t.jsx(re,{className:"personDetails",children:t.jsxs(Di,{style:{display:"flex"},children:[t.jsxs(Oi,{style:{},children:[G.header.role,":"]}),t.jsx(_i,{children:je(e.userRole.userRoles,"zeni_only")})]})})})]})},Ii=i.div`
|
|
513
513
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
514
514
|
border-radius: ${s.sp2};
|
|
515
515
|
display: flex;
|
|
@@ -587,7 +587,7 @@ import{d as $e,q as I,F as y,V as t,bA as le,aN as a,bM as De,o as s,cj as Oe,ck
|
|
|
587
587
|
justify-content: flex-end;
|
|
588
588
|
`,Bi=i(re)`
|
|
589
589
|
color: ${e=>e.theme.colors.grey1};
|
|
590
|
-
`,Ui=e=>I()==="small"?t.jsx(ki,{...e}):t.jsx(li,{...e}),M={overscanCount:1,rowNameLimit:55,listItemHeight:88},ne={peopleListItemHeight:138,zeniPeopleListItemHeight:106,zeniPeopleExtendedListItemHeight:130},J={listItemPaddingRight:new $
|
|
590
|
+
`,Ui=e=>I()==="small"?t.jsx(ki,{...e}):t.jsx(li,{...e}),M={overscanCount:1,rowNameLimit:55,listItemHeight:88},ne={peopleListItemHeight:138,zeniPeopleListItemHeight:106,zeniPeopleExtendedListItemHeight:130},J={listItemPaddingRight:new b($[3],$[8]),listItemPaddingLeft:new b($[3],$[8]),zeniLastRowHeight:new b(154,136),nonZeniLastRowHeight:new b(200,136)},W=y.getLocalizedStrings().peoplePage,Ei=({peopleView:e,allManagers:o,allClasses:l,analytics:d,onColumnSortConfigChanged:m,onDeleteClick:p,onResendInvite:x,onRowClick:h,isZeniTenant:n})=>{const r=I(),u=v.useRef(null),w=!(r==="small"||r==="medium-compact"),[f,j]=v.useState(!1),[g,R]=v.useState(),V=be(),z=e.people.findIndex(c=>c.userRole.invitationStatus==="invited"),me=c=>{j(!0),R(c)},ue=v.memo(({index:c,style:C})=>t.jsx(t.Fragment,{children:t.jsxs(Zi,{"data-testid":a("people-list-item",e.people[c].user?.userId),style:{...C,width:"fit-content",minWidth:"100%"},windowSize:r,isFirstResendInviteUser:z===c,className:"people-list-item",children:[z===c?t.jsx(Ji,{}):null,e.uiState.mode==="off"?t.jsx(ri,{allManagers:o,allClasses:l,userNameSticky:w,peopleData:e.people[c],onDeleteUser:me,onResendInvite:x,onRowClick:h,isZeniTenant:n}):t.jsx(Ui,{userNameSticky:w,peopleData:e.people[c],onDeleteUser:me,onResendInvite:x,onRowClick:h,isZeniTenant:n})]})}),Ae);ue.displayName="ListItem";const xe=v.forwardRef((c,C)=>{const{children:_,style:F,...K}=c;return t.jsxs("div",{ref:C,style:{...F,width:"auto"},...K,children:[r==="small"?t.jsx(ht,{userNameSticky:w,onColumnSortConfigChanged:m,sortConfig:{sortKey:e.uiState.sortKey,sortOrder:e.uiState.sortOrder},mode:e.uiState.mode}):t.jsx(st,{userNameSticky:w,onColumnSortConfigChanged:m,sortConfig:{sortKey:e.uiState.sortKey,sortOrder:e.uiState.sortOrder},mode:e.uiState.mode}),t.jsx(qi,{children:_})]})});xe.displayName="People list view inner element type";const ze=c=>{const C=`${e.people[c].user?.firstName} ${e.people[c].user?.lastName}`.length,_=z===c;return C>M.rowNameLimit?M.listItemHeight+$[5]+(_?$[3]:$[0]):M.listItemHeight+(_?$[3]:$[0])},Te=c=>{const C=`${e.people[c].user?.firstName} ${e.people[c].user?.lastName}`.length,_=je(e.people[c].userRole.userRoles,e.uiState.mode).length,F=z===c,K=e.uiState.mode==="zeni_only"?_>33?ne.zeniPeopleExtendedListItemHeight:ne.zeniPeopleListItemHeight:ne.peopleListItemHeight;return C>M.rowNameLimit?K+$[5]+(F?$[3]:$[0]):K+(F?$[3]:$[0])},Pe={onOkClick:()=>{const c=g;d?.trackRemoveUserAccess(c.userRole.userRoles,c.userRole.userEmail),p?.(c.userId,c.userRole.userRoleId)},onCancelClick:()=>{j(!1),R(void 0)}},ge=Ve(e.people.find(c=>c.userId===g?.userId)?.update),E=e.people.find(c=>c.userId===g?.userId)?.update,Ne=g!=null?W.deleteOverlay.description.replace("‘_user-name_’",`"${Fi(g)}"`):W.deleteOverlay.description;return v.useEffect(()=>{u.current&&u.current.resetAfterIndex(0)},[e,r]),v.useEffect(()=>{E==null&&ge==="removeUsers"&&(j(!1),R(void 0))},[E,ge]),t.jsxs(Ki,{"data-testid":a("people-list-view-container"),windowSize:r,mode:e.uiState.mode,children:[f===!0?t.jsx(Me,{titleComponent:t.jsx(Be,{children:W.deleteOverlay.title}),descriptionComponent:t.jsx(He,{children:Ne}),primaryButtonText:W.deleteOverlay.remove,secondaryButtonText:W.deleteOverlay.cancel,action:Pe,proceedButtonVariant:"danger",isLoading:E==="removeUsers",isDisabled:E==="removeUsers",style:{background:V.colors.overlayColor},children:g?.user!=null?t.jsxs(t.Fragment,{children:[t.jsx(Qi,{}),t.jsx(Xi,{children:t.jsx(Gi,{src:g?.user.photo?.toString()??We,alt:g?.user.userId,loading:"lazy"})})]}):null}):null,t.jsx(Ue,{children:({height:c,width:C})=>t.jsx(Yi,{height:c,innerElementType:xe,itemCount:e.people.length,itemSize:r==="small"?Te:ze,width:C,ref:u,overscanCount:M.overscanCount,children:ue})})]})},Fi=e=>e.user?.firstName?`${e.user?.firstName} ${e.user?.lastName}`:e.user?.email??"",Ki=i.div`
|
|
591
591
|
/** Subtract top so list can occupy remaining available height */
|
|
592
592
|
min-height: ${`calc(100vh - ${s.sp9})`};
|
|
593
593
|
max-width: 99.9%;
|
|
@@ -624,7 +624,7 @@ import{d as $e,q as I,F as y,V as t,bA as le,aN as a,bM as De,o as s,cj as Oe,ck
|
|
|
624
624
|
`,Ji=i.div`
|
|
625
625
|
padding-top: ${s.sp3};
|
|
626
626
|
border-top: 1px solid ${e=>e.theme.colors.grey3};
|
|
627
|
-
`,Yi=i(Fe)``,es=(e,o)=>{const{user:l,userId:d,userRole:m,update:p}=e,{user:x,userId:h,userRole:n,update:r}=o;return H(l,x)&&H(d,h)&&H(m,n)&&H(p,r)},ts=(e,o)=>{if(e.peopleView.people.length!=o.peopleView.people.length||e.allManagers.length!=o.allManagers.length)return!1;let l=!0;for(let d=0;d<e.peopleView.people.length;++d){const m=e.peopleView.people[d],p=o.peopleView.people[d];if(l=es(m,p),!l)break}return l=l&&H(e.peopleView.invitePeopleState,o.peopleView.invitePeopleState),l=l&&e.peopleView.uiState.sortKey===o.peopleView.uiState.sortKey&&e.peopleView.uiState.sortOrder===o.peopleView.uiState.sortOrder,l},is=v.memo(Ei,ts);function ss({peopleInviteSectionProps:e}){const o=I();return t.jsx(os,{isSearchOpen:e.isSearchOpen&&o==="small",windowsize:o,children:o!=="small"?t.jsxs(t.Fragment,{children:[e.hideSearchBtn?null:t.jsx(we,{style:{position:"absolute",left:"unset",right:"120px"},placeholder:e.searchPlaceHolder,searchText:e.searchText,onSearchTextChanged:l=>{e.onSearchTextChanged?.(l)},onSearchOpen:e.onSearchOpen}),t.jsx(Le,{variant:"primary",size:"small","data-testid":a("invite-people-button"),style:{height:"29px"
|
|
627
|
+
`,Yi=i(Fe)``,es=(e,o)=>{const{user:l,userId:d,userRole:m,update:p}=e,{user:x,userId:h,userRole:n,update:r}=o;return H(l,x)&&H(d,h)&&H(m,n)&&H(p,r)},ts=(e,o)=>{if(e.peopleView.people.length!=o.peopleView.people.length||e.allManagers.length!=o.allManagers.length)return!1;let l=!0;for(let d=0;d<e.peopleView.people.length;++d){const m=e.peopleView.people[d],p=o.peopleView.people[d];if(l=es(m,p),!l)break}return l=l&&H(e.peopleView.invitePeopleState,o.peopleView.invitePeopleState),l=l&&e.peopleView.uiState.sortKey===o.peopleView.uiState.sortKey&&e.peopleView.uiState.sortOrder===o.peopleView.uiState.sortOrder,l},is=v.memo(Ei,ts);function ss({peopleInviteSectionProps:e}){const o=I();return t.jsx(os,{isSearchOpen:e.isSearchOpen&&o==="small",windowsize:o,children:o!=="small"?t.jsxs(t.Fragment,{children:[e.hideSearchBtn?null:t.jsx(we,{style:{position:"absolute",left:"unset",right:"120px"},placeholder:e.searchPlaceHolder,searchText:e.searchText,onSearchTextChanged:l=>{e.onSearchTextChanged?.(l)},onSearchOpen:e.onSearchOpen}),t.jsx(Le,{variant:"primary",size:"small","data-testid":a("invite-people-button"),style:{height:"29px",...$e.smallRegular.cssObject,whiteSpace:"nowrap",display:"flex",alignItems:"center"},label:e.invitePeopleLabel,onClick:e.onInvitePeopleClick})]}):t.jsxs(t.Fragment,{children:[e.hideInviteBtn?null:t.jsx(rs,{"data-testid":a("invite-people-button"),onClick:e.onInvitePeopleClick}),e.hideSearchBtn?null:t.jsx(we,{style:{position:"absolute",left:"5px",right:o!=="small"?"120px":"unset",top:"44px",width:"98%"},placeholder:e.searchPlaceHolder,searchText:e.searchText,"data-testid":a("people-invite-search"),onSearchTextChanged:l=>{e.onSearchTextChanged?.(l)},onSearchOpen:e.onSearchOpen,keepSearchBoxOpen:!0})]})})}const os=i.div`
|
|
628
628
|
display: flex;
|
|
629
629
|
flex-direction: column;
|
|
630
630
|
justify-content: ${e=>e.windowsize==="small"?"unset":"center"};
|
|
@@ -672,4 +672,4 @@ import{d as $e,q as I,F as y,V as t,bA as le,aN as a,bM as De,o as s,cj as Oe,ck
|
|
|
672
672
|
`,cs=i(Y)`
|
|
673
673
|
margin-top: ${s.sp3};
|
|
674
674
|
color: ${e=>e.theme.colors.hero};
|
|
675
|
-
`,ps=()=>t.jsx(ns,{children:t.jsx(U,{size:"ExtraLarge",start:!0})});function hs(e){const o
|
|
675
|
+
`,ps=()=>t.jsx(ns,{children:t.jsx(U,{size:"ExtraLarge",start:!0})});function hs(e){const o=be(),l=I(),{mode:d,searchText:m}=e.peopleView.uiState,{fetchState:p}=e.peopleView,{fetchState:x}=e.managersView,{fetchState:h}=e.classList,[n,r]=v.useState(!1),u={isSearchOpen:n,onSearchOpen:z=>{r(z)},onSearchTextChanged:e.personAction.onSearchTextChanged,searchPlaceHolder:y.getLocalizedStrings().peoplePage.searchPlaceHolder,searchText:m,invitePeopleLabel:y.getLocalizedStrings().peoplePage.invitePeopleText,onInvitePeopleClick:e.onInvitePeopleClick,onClickMenuIcon:e.onClickMenuIcon},w=e?.isZeniTenant!==!0&&e?.isZeniAdminUser===!0,f=()=>{const z=d==="off"?"zeni_only":"off";e.personAction.onModeChange?.(z)},j=p==="Completed"?`(${e.peopleView.people.length})`:"",g=`${d==="off"?y.getLocalizedStrings().peoplePage.peopleTitle:y.getLocalizedStrings().peoplePage.zeniPeopleTitle} ${j}`,R=v.useMemo(()=>p==="In-Progress"||p==="Not-Started"||x==="In-Progress"||x==="Not-Started"||e.shouldFetchClasses&&(h==="In-Progress"||h==="Not-Started"),[p,x,e.shouldFetchClasses,h]);function V(){return R?t.jsxs(ae,{"data-testid":a("people-page-loading"),children:[t.jsx(le,{title:g,onBackClick:e.personAction.onBackClick,rightSideComponent:t.jsx(de,{...u}),showMenuIcon:l==="medium-compact"||l==="small",onClickMenuIcon:e.onClickMenuIcon,onZeniLogoClick:f,showZeniLogo:w,zeniLogoVisiblity:d==="zeni_only"?"visible":"hidden",isSearchOpen:n,backgroundColor:o.colors.grey4,source:"PeoplePage"}),t.jsx(ps,{})]}):p==="Error"||h==="Error"||x==="Error"?t.jsxs(ae,{"data-testid":a("people-page-error"),children:[t.jsx(le,{title:g,onBackClick:e.personAction.onBackClick,rightSideComponent:t.jsx(de,{...u}),showMenuIcon:l==="medium-compact"||l==="small",onZeniLogoClick:f,showZeniLogo:w,onClickMenuIcon:e.onClickMenuIcon,backgroundColor:o.colors.grey4,source:"PeoplePage"}),t.jsxs(as,{children:[t.jsx(ds,{"data-testid":a("people-page-error-reload-icon"),onClick:e.personAction.onReloadPeople,children:t.jsx(De,{width:s.sp6,height:s.sp6})}),t.jsx(cs,{children:y.getLocalizedStrings().peoplePage.reloadPage.label})]})]}):t.jsxs(ae,{"data-testid":a("people-page-content-container"),children:[t.jsx(le,{title:g,onBackClick:e.personAction.onBackClick,rightSideComponent:t.jsx(de,{...u}),showMenuIcon:l==="medium-compact"||l==="small",onZeniLogoClick:f,showZeniLogo:w,onClickMenuIcon:e.onClickMenuIcon,source:"PeoplePage",backgroundColor:o.colors.grey4}),t.jsx(ls,{"data-testid":a("people-page-content"),windowSize:l,children:e.peopleView.people.length>0?t.jsx(is,{peopleView:e.peopleView,allManagers:e.managersView.users,allClasses:e.classList.classes,onDeleteClick:e.personAction.onPersonDelete,analytics:e.analytics,onResendInvite:e.personAction.onResendInvite,onColumnSortConfigChanged:e.onColumnSortConfigChanged,onRowClick:e.onRowClick,isZeniTenant:e.isZeniTenant}):m!==""?t.jsx(Oe,{emptySearchTextFirstLine:y.getLocalizedStrings().peoplePage.emptySearchTextFirstLine,emptySearchTextSecondLine:y.getLocalizedStrings().peoplePage.emptySearchTextSecondLine}):t.jsx(_e,{message:y.getLocalizedStrings().peoplePage.emptyResultsMessage})})]})}return t.jsx("div",{children:V()})}const de=e=>t.jsx(ss,{peopleInviteSectionProps:e}),Is=ce.memo(hs);export{Is as MemoPeople,hs as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as h,S as n}from"./sentry-
|
|
1
|
+
import{a as h,S as n}from"./sentry-Cue4MgLi.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="f93b8fea-342f-46af-9294-f75d3b119450",t._sentryDebugIdIdentifier="sentry-dbid-f93b8fea-342f-46af-9294-f75d3b119450")}catch{}})();const c="64px",f={},k=({src:t,light:a,oEmbedUrl:r,onClickPreview:s,playIcon:m,previewTabIndex:I,previewAriaLabel:u})=>{const[p,o]=h.useState(null);h.useEffect(()=>{!t||!a||!r||_({src:t,light:a,oEmbedUrl:r})},[t,a,r]);const _=async({src:e,light:i,oEmbedUrl:E})=>{if(n.isValidElement(i))return;if(typeof i=="string"){o(i);return}if(f[e]){o(f[e]);return}o(null);const b=await(await fetch(E.replace("{url}",e))).json();if(b.thumbnail_url){const g=b.thumbnail_url.replace("height=100","height=480").replace("-d_295x166","-d_640");o(g),f[e]=g}},w=e=>{(e.key==="Enter"||e.key===" ")&&s?.(e)},v=e=>{s?.(e)},l=n.isValidElement(a),y={display:"flex",alignItems:"center",justifyContent:"center"},d={preview:{width:"100%",height:"100%",backgroundImage:p&&!l?`url(${p})`:void 0,backgroundSize:"cover",backgroundPosition:"center",cursor:"pointer",...y},shadow:{background:"radial-gradient(rgb(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 60%)",borderRadius:c,width:c,height:c,position:l?"absolute":void 0,...y},playIcon:{borderStyle:"solid",borderWidth:"16px 0 16px 26px",borderColor:"transparent transparent transparent white",marginLeft:"7px"}},x=n.createElement("div",{style:d.shadow,className:"react-player__shadow"},n.createElement("div",{style:d.playIcon,className:"react-player__play-icon"}));return n.createElement("div",{style:d.preview,className:"react-player__preview",tabIndex:I,onClick:v,onKeyDown:w,...u?{"aria-label":u}:{}},l?a:null,m||x)};var N=k;export{N as default};
|
package/dist/assets/{ProductsCarousel-DzhNUiJk-CnpcLYLM.js → ProductsCarousel-1P24z1p4-CeCLsS0U.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{F as D,V as t,a8 as B,o as c,c0 as N,a_ as U,c as V,d3 as q,aq as G,al as T,d4 as H,p as v}from"./index-
|
|
1
|
+
import{F as D,V as t,a8 as B,o as c,c0 as N,a_ as U,c as V,d3 as q,aq as G,al as T,d4 as H,p as v}from"./index-CLqQIFvx.js";import{a as y}from"./sentry-Cue4MgLi.js";import{n as i}from"./mui-Co4rhSdf.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]="b4e2ce74-f95a-451c-af4b-7339e91ae3f4",e._sentryDebugIdIdentifier="sentry-dbid-b4e2ce74-f95a-451c-af4b-7339e91ae3f4")}catch{}})();const u=D.getLocalizedStrings(),w={large:{labelComp:q,title:G,subtitle:T,seeMoreLink:T}},J={large:{width:496,height:512,padding:32,svgSize:12,svgContainerHeight:24,gap:8,imageGap:16,borderRadius:16}},r=J.large,Y=i.div`
|
|
2
2
|
width: ${e=>e.scale*r.width}px;
|
|
3
3
|
height: ${e=>e.scale*r.height}px;
|
|
4
4
|
overflow: hidden;
|
package/dist/assets/{PromoBaseCards-ZTN2uS4W-CaNYBpDe.js → PromoBaseCards-DiKj0_oo-CtEGMdvr.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as m,V as r,d8 as b,d9 as v,da as y,bw as z,o as e,p as d,y as a,R as c,c as p}from"./index-
|
|
1
|
+
import{q as m,V as r,d8 as b,d9 as v,da as y,bw as z,o as e,p as d,y as a,R as c,c as p}from"./index-CLqQIFvx.js";import{c as i,n as g,k as f}from"./mui-Co4rhSdf.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},h=new o.Error().stack;h&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[h]="2010a941-22e1-451f-99a6-b070eac5889f",o._sentryDebugIdIdentifier="sentry-dbid-2010a941-22e1-451f-99a6-b070eac5889f")}catch{}})();const t={plasticCardMarginLeft:new a(p[6],120),plasticCardMarginTop:new a(12,-9),businessTextRight:new a(p[2],13),businessTextBottom:new a(p[8],81),chargeCardWidth:new a(240,384),chargeCardHeight:new a(153,243),styledLogoWidth:new a(47,76),styledLogoHeight:new a(46,74),styledFullLogoTop:new a(12,28),styledFullLogoRight:new a(p[2],13),styledFullLogoHeight:new a(20,34),styledFullLogoWidth:new a(88,142),chipLogoWidth:new a(31,50),chipLogoHeight:new a(p[4],39),visaLogoWidth:new a(52,84),visaLogoHeight:new a(17,27),visaLogoRight:new a(p[2],13),visaLogoBottom:new a(p[2],13)},u={businessText:new c("extraSmallRegular","largeRegular"),promoBusinessText:new c("tinyLight","tinyLight")},F=({cardText:o,shouldAnimate:h,showChip:w,forDashboard:s,forListPage:l,cardPromoType:$,style:x})=>{const n=m();return r.jsxs(B,{cardPromoType:$,windowSize:n,shouldAnimate:h,forListPage:l,forDashboard:s,style:x,children:[w&&r.jsx(P,{windowSize:n,forDashboard:s,children:r.jsx(b,{})}),r.jsx(j,{windowSize:n,forDashboard:s,forListPage:l,children:r.jsx(z,{})}),r.jsx(L,{windowSize:n,forDashboard:s,forListPage:l,children:o}),r.jsx(S,{windowSize:n,forDashboard:s,forListPage:l,children:r.jsx(y,{})})]})},A=({cardText:o,shouldAnimate:h,showChip:w,forDashboard:s,forListPage:l,cardPromoType:$,style:x})=>{const n=m();return r.jsxs(W,{cardPromoType:$,windowSize:n,shouldAnimate:h,forListPage:l,forDashboard:s,style:x,children:[w&&r.jsx(P,{windowSize:n,forDashboard:s,children:r.jsx(b,{})}),r.jsx(k,{windowSize:n,forDashboard:s,forListPage:l,children:r.jsx(v,{})}),r.jsx(L,{windowSize:n,forDashboard:s,forListPage:l,children:o}),r.jsx(S,{windowSize:n,forDashboard:s,forListPage:l,children:r.jsx(y,{})})]})},C=f`
|
|
2
2
|
0%{
|
|
3
3
|
transform: rotate(12.4deg);
|
|
4
4
|
translate: ${e.sp0} ${e.sp0};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as b,F as r,V as n,bQ as y,n as l,y as c,o as i,aq as w,al as $,af as j,bu as P,eJ as v,c as a}from"./index-
|
|
1
|
+
import{q as b,F as r,V as n,bQ as y,n as l,y as c,o as i,aq as w,al as $,af as j,bu as P,eJ as v,c as a}from"./index-CLqQIFvx.js";import{n as o}from"./mui-Co4rhSdf.js";import"./sentry-Cue4MgLi.js";import"./liveblocks-DZksneMc.js";import"./core-CYa2vsSD.js";import"./recharts-C4PW-81v.js";import"./zeni-epic-state-DcWK4mxP.js";import"./lottie-EtzJiaFi.js";import"./analytics-CxT-6Gc4.js";import"./lexical-DzVC4tTe.js";import"./utils-CxOjlxtI.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]="f5caace9-687f-489b-ae09-b90fd143defe",e._sentryDebugIdIdentifier="sentry-dbid-f5caace9-687f-489b-ae09-b90fd143defe")}catch{}})();const s={containerPaddingTop:new c(a[5],a[7]),containerPaddingBottom:new c(a[5],a[5]),containerPaddingLeftRight:new c(a[6],a[11])},_=o.div`
|
|
2
2
|
border-radius: inherit;
|
|
3
3
|
max-width: 520px;
|
|
4
4
|
text-align: center;
|
package/dist/assets/{QBOSetupSection-jcVYFWfP-BR9neq53.js → QBOSetupSection-Me828i1a-N1PCk_UL.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as O,F as u,V as i,n as k,o,y as a,p as c,fL as I,R as T,af as D,bu as E,eJ as W,fC as _,aT as
|
|
1
|
+
import{q as O,F as u,V as i,n as k,o,y as a,p as c,fL as I,R as T,af as D,bu as E,eJ as W,fC as _,aT as h,ai as f,c as r}from"./index-CLqQIFvx.js";import{n}from"./mui-Co4rhSdf.js";import q from"./QBOConnectionDialog-A0ysjdIC-Eqpwl6_L.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]="cada12bc-8fc7-4afe-8130-c91d6ee1734b",e._sentryDebugIdIdentifier="sentry-dbid-cada12bc-8fc7-4afe-8130-c91d6ee1734b")}catch{}})();const l={containerPadding:new a(r[3],r[4]),sectionWidth:new a(343,580,726),topElementsRowGap:new a(r[3],r[0]),arrowIconWidthHeight:new a(r[3],r[4])},B={title:new T("standardMedium","largeMedium")},ee=({isAdmin:e,hasError:t=!1,isValid:d,saveConnectionState:p,isQBOPopupOpen:y,companyName:$,updateQBOPopupState:w,handleOnConnectClick:b})=>{const s=O(),{qbo_connection:j}=u.getLocalizedStrings().customerOnboardingPage.sections,{title:S,sucessText:v,button:z,errorText:P,requiredText:C}=j;return i.jsxs(G,{windowSize:s,children:[i.jsxs(A,{windowSize:s,children:[s==="small"?i.jsx(J,{children:d?i.jsx(K,{}):i.jsx(U,{})}):null,i.jsx(F,{windowSize:s,children:S})]}),i.jsxs(H,{windowSize:s,children:[i.jsxs(N,{windowSize:s,children:[i.jsxs(R,{children:[i.jsx(V,{}),i.jsx(L,{windowSize:s}),i.jsx(M,{})]}),d?s!=="small"?i.jsx(m,{}):null:i.jsx(k,{variant:"primary",size:s!=="small"?"standard":"xs-small",label:z.connect,style:{width:"fit-content"},onClick:()=>w(!0),loading:p==="In-Progress"})]}),d?i.jsxs(i.Fragment,{children:[i.jsx(Q,{children:v}),s==="small"?i.jsx(m,{}):null]}):null,p==="Error"?i.jsx(x,{children:i.jsx(g,{windowSize:s,children:P})}):null,t&&!d?i.jsx(x,{children:i.jsx(g,{windowSize:s,children:C})}):null]}),i.jsx(q,{isAdmin:e,isGoBackAllowed:!0,isQBOPopupOpen:y,companyName:$,saveConnectionState:p,handleOnConnectClick:b,handleGoBack:()=>w(!1)})]})},m=()=>{const{tags:e}=u.getLocalizedStrings().customerOnboardingPage,{connected:t}=e;return i.jsx(_,{style:{width:"max-content",padding:0,marginTop:o.sp2},tagTitle:t,textColor:{color:new h(c.successDark),borderColor:new h(c.successDark)}})},G=n.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as W,c as L,d as M,q as G,F as U,a9 as H,aO as X,aH as J,cC as K,V as r,bA as Q,ac as Y,aP as Z,o as b,g3 as ee}from"./index-
|
|
1
|
+
import{y as W,c as L,d as M,q as G,F as U,a9 as H,aO as X,aH as J,cC as K,V as r,bA as Q,ac as Y,aP as Z,o as b,g3 as ee}from"./index-CLqQIFvx.js";import{a as T}from"./sentry-Cue4MgLi.js";import{n as c}from"./mui-Co4rhSdf.js";import{b as ae,f as te,o as k,l as B}from"./FollowStepsSection-C1Nmspra-Cdu3naRV.js";import"./liveblocks-DZksneMc.js";import"./core-CYa2vsSD.js";import"./recharts-C4PW-81v.js";import"./zeni-epic-state-DcWK4mxP.js";import"./lottie-EtzJiaFi.js";import"./analytics-CxT-6Gc4.js";import"./lexical-DzVC4tTe.js";import"./utils-CxOjlxtI.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]="ee0d2b35-ea19-4cf6-b269-db77e58ef9a5",e._sentryDebugIdIdentifier="sentry-dbid-ee0d2b35-ea19-4cf6-b269-db77e58ef9a5")}catch{}})();const C="reimbursementApprovalRuleDetailPage",$="lowerBound",j="upperBound",A="steps",h="applyToExistingReimbursements",le={footerPadding:new W(L[2],L[3])};function Pe({localData:e,approvalUpdateActionType:t,isLowerBoundDisabled:a=!1,isUpperBoundDisabled:o=!0,hideUpperBoundField:s=!1,onBackClick:p,onApprovalRuleDataUpdated:g,onResetClick:E,onSaveRuleClick:N,onSaveRuleSuccess:I}){const F=M(),w=G(),l=U.getLocalizedStrings().commonSetUp.approval,S=U.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,x=re(e,t==="approval_create"&&!a),y=H({mode:"all",reValidateMode:"onChange",defaultValues:x}),u=e.remiSetupApproverViewUpdateData?.updateStatus,P=X(u?.fetchState),{upperBound:R}=x,{allApprovalRules:i,allAccountingClasses:V,remiSetupApproverViewUpdateData:m}=e;let f=i.length>1?i.length-1:0,v=i.length>0?i[f].criteria[0].range.min.amount:0;if(m!=null&&m.type==="approval_update"&&m.data!=null){const{approvalRuleId:n}=m.data;f=i.findIndex(d=>d.approvalRuleId===n),v=f>0?i[f-1].criteria[0].range.min.amount:0}const q=y.handleSubmit(()=>{N()}),z=async(n,d)=>{g(d)};return T.useEffect(()=>{const n=y.watch((d,{name:D})=>{if(D!=null&&d!=null){const O=J(d);K(()=>z(D,O))}});return()=>{n.unsubscribe()}}),T.useEffect(()=>{P==="In-Progress"&&u?.fetchState==="Completed"&&I()},[P,u?.fetchState,I]),r.jsxs(ie,{children:[r.jsx(Q,{title:t==="approval_create"?l.newApproval:l.editApproval,backgroundColor:F.colors.grey4,style:{zIndex:4},onBackClick:()=>{p()},source:"ReimbursementApprovalRuleDetailPage"}),r.jsx(de,{children:r.jsxs(Y,{...y,children:[r.jsx(ue,{children:r.jsx("form",{id:_(C),onSubmit:q,children:r.jsxs(pe,{children:[r.jsx(ae,{label:{label:s?S.amountPerRemiGreaterLabel:S.amountPerRemiLabel},firstText:{type:"number",name:$,placeholder:"$0",options:{required:!0,max:R===1/0?Number.MAX_SAFE_INTEGER-1:R-1,min:v,validate:n=>a?!0:n!=null&&n>v},isDisabled:a,additionalInfoLabel:l.firstRuleLowerBoundInfoLabel,additionalErrorLabel:l.firstRuleErrorInfoLabel},secondText:{type:"number",name:j,placeholder:"Infinity",isDisabled:o,hideField:s,additionalInfoLabel:l.upperBoundInfoLabel}}),r.jsx(ce,{}),r.jsx(te,{sectionId:A,label:{label:l.followStepsLabel},approversPlaceholder:l.approversPlaceholder,notifiersPlaceholder:l.notifiersPlaceholder,allUserWithRoles:e.allApprovers,filteredApprovers:e.filteredApprovers.map(n=>n.user),allAttributes:e.allAttributes,filteredAttributes:e.filteredAttributes,allAccountingClasses:V,stepsInfo:x[A],userSelectPlaceholder:l.userSelectPlaceholder,approveNotifyPlaceholder:l.approveNotifyPlaceholder,productType:"zeni_reimbursements"})]})})}),r.jsx(Z,{formId:_(C),primaryBtn:{label:l.saveBtnText,isLoading:u?.fetchState==="In-Progress",isDisabled:u?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},topComponent:t==="approval_create"?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:E},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??{};return{[h]:[h],[A]:oe(e.allApprovers.map(s=>s.user),e.filteredApprovers.map(s=>s.user),k(e.allAttributes),k(e.filteredAttributes),o??[])??[],[$]:t?void 0:a!=null?a.range.min.amount??0:0,[j]:a!=null?a.range.max==null?1/0:a.range.max.amount:1/0}},oe=(e,t,a,o,s)=>s&&s.length>0?s.map((p,g)=>({stepIndex:g,stepType:{selectedOption:p.action,allOptions:B},actors:{allUsers:t,selectedUsers:se(e,p.actors),allNonUsers:o,selectedNonUsers:ne(a,p.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:B},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),_=e=>`${e}_form`,Re=e=>`${e}`,ie=c.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
height: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as _,q as W,F as S,V as t,bA as M,k as E,aN as j,o,y as r,al as z,aL as P,cn as H,co as V,cp as G,cX as U,c as l,b8 as q,R as T,b7 as F,p as k,cW as J,bs as K,b as O}from"./index-
|
|
1
|
+
import{d as _,q as W,F as S,V as t,bA as M,k as E,aN as j,o,y as r,al as z,aL as P,cn as H,co as V,cp as G,cX as U,c as l,b8 as q,R as T,b7 as F,p as k,cW as J,bs as K,b as O}from"./index-CLqQIFvx.js";import{n as i}from"./mui-Co4rhSdf.js";import{a as Q}from"./sentry-Cue4MgLi.js";import"./liveblocks-DZksneMc.js";import"./core-CYa2vsSD.js";import"./recharts-C4PW-81v.js";import"./zeni-epic-state-DcWK4mxP.js";import"./lottie-EtzJiaFi.js";import"./analytics-CxT-6Gc4.js";import"./lexical-DzVC4tTe.js";import"./utils-CxOjlxtI.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]="7f94a5bd-c7c7-44b9-8332-0d818d241bcc",e._sentryDebugIdIdentifier="sentry-dbid-7f94a5bd-c7c7-44b9-8332-0d818d241bcc")}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)},A={stepper:new T("smallRegular","standardRegular"),amount:new T("standardRegular","largeRegular")},X=({showDeleteBtn:e=!1,isLastSection:m=!1,approvalRule:u,onEditRuleClick:b,onDeleteRuleClick:v})=>{const[x,c]=Q.useState(!1),a=W(),{range:d}=u.criteria[0],{steps:g,approvalRuleId:w}=u,n=S.getLocalizedStrings().commonSetUp.approval,f=()=>{c(!0)},y={onOkClick:()=>{c(!1),v?.(w)},onCancelClick:()=>{c(!1)}};return t.jsxs(Y,{windowSize:a,isLastSection:m,"data-testid":j("approval-rule-section",w),children:[t.jsxs(Z,{windowSize:a,children:[t.jsxs(ne,{children:[t.jsxs(L,{windowSize:a,children:[n.from," ",P("0,0",d.min)]}),t.jsxs(ee,{children:[t.jsx(R,{}),t.jsx(te,{}),t.jsx(R,{})]}),d.max==null?t.jsx(ce,{}):t.jsx(L,{windowSize:a,children:P("0,0",{...d.min,amount:d.max.amount})})]}),t.jsxs(ae,{className:"icons",children:[e?t.jsx(pe,{onClick:f}):null,t.jsx(de,{onClick:()=>{b(w)},"data-testid":j("edit-approval-rule",w)})]})]}),t.jsx(oe,{windowSize:a,children:t.jsx(ie,{isSingleStep:g.length===1,windowSize:a,children:g.map((h,D)=>t.jsxs(re,{isSingleStep:g.length===1,className:"stepperItem",windowSize:a,children:[h.action==="require_approval"?t.jsx(le,{children:n.requireText}):t.jsx(se,{children:n.notifyText}),h.nonUserActors.filter(p=>p.subType!=null).map((p,N)=>t.jsxs(B,{children:[t.jsx(I,{children:p.subType!=null?n.nonUsers[p.subType].label:null}),h.operator!="is"?t.jsx(C,{className:"operator",children:h.operator}):null]},`${p.subType}_${N}`)),h.actors.map(p=>t.jsxs(B,{children:[t.jsxs(I,{children:[p.firstName," ",p.lastName]}),h.operator!="is"?t.jsx(C,{className:"operator",children:h.operator}):null]},p.userId))]},D))})}),x?t.jsx(H,{titleComponent:t.jsx(G,{children:n.deleteApprovalRuleTitle}),descriptionComponent:t.jsx(V,{children:n.deleteApprovalRuleDesc}),primaryButtonText:n.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:n.cancelBtnText,action:y}):null]})},Y=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{aw as Mt,a8 as Rt,q as Pt,d as Bt,cb as Nt,y as m,F as et,gf as Lt,gh as _t,gi as Ot,V as t,cn as Ae,co as Me,cp as Re,bA as Pe,aN as y,bn as Wt,dq as Et,gj as Ft,gu as Be,o as a,gk as Ne,fe as b,gn as w,fh as x,aL as Le,fd as _e,b as V,gp as Oe,aP as Kt,ao as Ut,gq as Vt,gr as re,bw as Gt,gs as Ht,L as qt,R as Yt,M as Jt,al as tt,b8 as it,p as G,am as Qt,bT as Zt,ah as Xt,gL as ei,gH as ti,c,cg as ii,cU as ai}from"./index-HEX4i15-.js";import{a as p}from"./sentry-DNw4E1cx.js";import{n as r}from"./mui-ic6OiqS8.js";import{a as ri}from"./liveblocks-Cb1r83bZ.js";import{bL as oi,bP as ni,FH as li}from"./zeni-epic-state-CKYsFVFb.js";import si from"./InvoiceUploadSection-De-7n3RO-qOxwsJtX.js";import{r as di,h as f,u as ci}from"./types-DyvtCprH-NFPm5TaG.js";import"./core-CXv949D6.js";import"./lottie-ChpXBaXa.js";import"./analytics-Cvgud8Kt.js";import"./recharts-C7z-lQH-.js";import"./lexical-DVRjsGc3.js";import"./utils-BM6IYCHh.js";import"./AttachmentView-C3WpRmXR-DHEKPSUE.js";import"./uploadReceipts-CPw64UYa-BWHPlnz7.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]="1c0ad380-6f39-418c-9c7f-736616ac7230",e._sentryDebugIdIdentifier="sentry-dbid-1c0ad380-6f39-418c-9c7f-736616ac7230")}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])},mi={formTitle:new Yt("h6Regular","h5Regular")},sa=({remiDetails:e,uploadInvoiceEndPoint:C,authParams:ne,isAdmin:le,signedInUser:se,showApproveRejectBtns:de,isRealTimeApprovalEnabled:ce,isReimbursementCommentingEnabled:u,isShowDeletedReimbursementEnabled:me,isSignedInUserReimbursementCreator:at,updateEditRealTimeApproverClicked:pe,onSaveRealTimeApprovals:ue,redirectToReimbursementListScreen:H,redirectToEditableReimbursementScreen:rt,onDuplicateLineClick:ot,approveOrRejectRemi:he,deleteReimbursement:nt,cancelAndDeleteReport:ye,handleZeniLogoClick:lt,onAddNewRule:ge,initialOpenThreadRequest:z})=>{const d=Mt(),st=Rt().analytics,o=Pt(),be=Bt(),[dt,A]=p.useState(!1),[q,Y]=p.useState(!1),[ct,J]=p.useState(!1),[Q,Z]=p.useState("approved"),N=p.useRef(null),[j,X]=p.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[k,mt]=p.useState(null),[pt,L]=p.useState(!1),h=`dashboard_${d.currentTenant?.companyId}`,we=p.useRef({}),xe=l=>{const n=we.current[l];n!=null&&setTimeout(()=>ci(n,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 n=l.substring(1);xe(n)}},[]);const ut=()=>{H()};Nt({componentName:"reimbursement.details"});const ht={onOkClick:()=>{A(!1),j.primaryButtonText===i.buttons.delete?nt?.():j.title===i.cancelReportTitle?ye?.():j.title===i.cancelAndDeleteReportTitle&&ye?.(!0)},onCancelClick:()=>{A(!1)}},I=s.labelWidth.value(o),M=s.largeLabelWidth.value(o),fe=et.getLocalizedStrings(),{common:{texts:{comments:yt},strings:{empty:$e}},collaboration:{threads:{placeholder:{addANewComment:gt,replyAComment:bt},tooltip:{resolveComment:wt,unResolveComment:xt}}},dateFormat:ve}=fe,{reimbursementDetail:i,bulkActions:_}=fe.spendManagement.reimbursement,ee=e.remiDetails?.reportTitle,S=e.remiDetails?.lines??[],O=e.remiDetails?.reimbursementInfo.stage,W=e.remiDetails?.reimbursementInfo.billStatus,E=e.remiDetails?.reimbursementInfo.billPaymentStatus,Te=O?.code==="paid",ft=Te?O:W?.code=="approved"&&E?.code?E:W,$=pi(e.remiDetails),R=W?.code=="approved"&&E?.code?E:W,F=e.remiDetails?.isDeleted??!1,Se=e.remiDetails?.amount,je=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)},$t=()=>{X({title:i.cancelReportTitle,description:i.cancelAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),A(!0)},vt=()=>{X({title:i.cancelAndDeleteReportTitle,description:i.cancelAndDeleteAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),A(!0)},De=()=>{rt()},Tt={onOkClick:l=>{J(!1),he({reimbursementId:e.remiDetails?.id??"",type:"rejected",description:l})},onCancelClick:()=>{J(!1)}},St=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?De():(Z("approved"),he({reimbursementId:e.remiDetails?.id??"",type:"approved"}))},jt=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?(Z("delete"),Ie()):(Z("rejected"),J(!0))},It=e.remiDetails?.reimbursementInfo.paymentDate!=null?oi(ni(e.remiDetails.reimbursementInfo.paymentDate.toDate(),[0,6],e.achSameDayMaxDays).toDateString()):void 0,te=e.remiDetails?.reimbursementInfo.expectedDepositDate??It,Dt=e.remiDetails?.lines?.some(l=>{const n=l.lineDetail;return n?.account?.isDeleted===!0&&n?.account?.isBillEditableCoaAccountType===!1})??!1,Ce=e.remiDetails?.reimbursementInfo.billStatus.code==="pending_approval"&&at&&!Dt,Ct=e.remiDetails?.reimbursementInfo.billStatus.code!=="rejected"&&e.remiDetails?.reimbursementInfo.billPaymentStatus.code!=="paid",ie=ft?.code,kt=di(e.duplicateLineByLineId),ke=e.duplicateReimbursementStatus.fetchState==="Completed"&&kt>0,{requestToOpenThread:ae,setRequestToOpenThread:K,setOpenThread:U}=p.useContext(Lt);p.useEffect(()=>{z?.threadId!=null&&z?.companyId!=null&&z?.entityType!=null&&K(z)},[z,K]);const{threads:P,isLoading:D}=_t({application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id,isGlobalComment:!1},"both",!1),zt=p.useMemo(()=>P.filter(l=>l.resolved===!1&&!l.id.includes(Ot)),[P]).length,At=p.useCallback((l,n)=>{U(n),L(!1)},[U,L]);p.useEffect(()=>{ae?.threadId!=null&&P.length>0&&!D&&(U(ae.threadId),K(null))},[ae,P,D,U,K]);const g={application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id},B=li(e.remiDetails?.bulkProcessingDetail?.type);return t.jsxs(Oi,{windowSize:o,ref:N,children:[dt?t.jsx(Ae,{titleComponent:t.jsx(Re,{children:j.title}),descriptionComponent:t.jsx(Me,{children:j.description}),primaryButtonText:j.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:j.secondaryButtonText,action:ht}):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:Tt,isEditPopup:!0,isNotesIncluded:!0,notesPlaceholder:i.rejectRejectReasonPlaceholder}):null,t.jsxs(Mi,{windowSize:o,"data-testid":y("reimbursement-detail-page-nav-bar-container"),children:[o!=="small"?t.jsx(Pe,{"data-testid":y("reimbursement-detail-page-nav-bar-left"),style:{width:"42%"},title:"",leftSideComponent:t.jsx(Ri,{onClick:()=>lt?.(),"data-testid":y("remi-detail-page-nav-bar-zeni-logo")}),enableTitleOnScroll:!1,backgroundColor:be.colors.background,keepBackgroundOnScroll:!0,scrollableContent:N,source:"ReimbursementDetailPage"}):null,o!=="small"?t.jsx(ki,{}):null,t.jsx(Pe,{"data-testid":y("reimbursement-detail-page-nav-bar-right"),title:ee??$e,leftSideComponent:t.jsx(t.Fragment,{}),style:{width:o!=="small"?"58%":"100%"},rightSideComponent:t.jsxs(Bi,{children:[u?t.jsxs(Ni,{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(n=>Et(n)),void 0,void 0,"page icon")},"data-testid":y("remi-comments-section"),children:[t.jsx(Wt,{count:D?void 0:zt,isLoading:D,style:{left:"12px"}}),t.jsx(Li,{})]}):null,t.jsx(_i,{size:o,onClick:()=>ut(),"data-testid":y("remi-detail-page-close"),children:t.jsx(Pi,{})})]}),scrollableContent:N,enableTitleOnScroll:o!=="small",scrollThreshold:64,source:"ReimbursementDetailPage"})]}),t.jsxs(Gi,{children:[o==="small"?t.jsxs(t.Fragment,{children:[t.jsx(Ye,{windowSize:o,children:t.jsx(Je,{windowsSize:o,children:ee})}),e.createdBy?.userId!=null?t.jsx(Ve,{windowSize:o,children:`${i.by} ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,me&&$!=null?t.jsx(Ge,{color:$.color,bgColor:$.bgColor,borderColor:$.borderColor,children:$.value}):null,R?.code!=null?o==="small"?t.jsxs(t.Fragment,{children:[t.jsx(Ft,{progressSectionObj:R,createDate:e.remiDetails?.createTime,paymentDate:te,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:F}),B?t.jsx(Be,{variant:"warning",style:{margin:`${a.sp5} ${a.sp3}`},title:_.duplicateWarning.title,description:_.duplicateWarning.description}):ke?t.jsxs(We,{size:o,children:[t.jsx(Ue,{}),t.jsxs(Fe,{children:[t.jsx(Ee,{children:i.thereSeems}),t.jsx(Ke,{children:i.pleaseFind})]})]}):null]}):t.jsx(qe,{windowSize:o,children:t.jsx(Ne,{progressSectionObj:R,createDate:e.remiDetails?.createTime,paymentDate:te,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:F})}):null]}):null,S.map((l,n)=>{const v=e.duplicateLineByLineId[l.lineId];return t.jsxs(Xe,{windowSize:o,children:[t.jsx(Ki,{windowSize:o,children:t.jsx(Ui,{bottomSeperator:S.length!==1,windowSize:o,children:t.jsx(si,{showAutofill:!1,uploadInvoiceEndPoint:C,authParams:ne,entityId:e.remiDetails?.id,file:l.file,showTitlebar:!0,showTitlebarIcon:!1,pdfTitle:S.length>1?`#${n+1} Receipt`:"Receipt",style:{width:"auto",padding:0,height:S.length-1===n||n===0?760:451},onInvoiceUpload:()=>{console.log("onInvoiceUpload")},noAttachmentText:i.noReceiptAttached,type:"reimbursement"})})}),t.jsxs(Fi,{windowSize:o,children:[n===0&&o!=="small"?t.jsxs(t.Fragment,{children:[t.jsxs(Ye,{windowSize:o,children:[t.jsx(Je,{windowsSize:o,children:ee}),me&&$!=null?t.jsx(Ge,{color:$.color,bgColor:$.bgColor,borderColor:$.borderColor,children:$.value}):null]}),e.createdBy?.userId!=null?t.jsx(Ve,{windowSize:o,children:`By ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,R?.code!=null?t.jsx(qe,{windowSize:o,children:t.jsx(Ne,{progressSectionObj:R,createDate:e.remiDetails?.createTime,paymentDate:te,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:F})}):null,B?t.jsx(Be,{variant:"warning",style:{margin:`${a.sp3} ${a.sp8} ${a.sp3} ${a.sp6}`},title:_.duplicateWarning.title,description:_.duplicateWarning.description}):ke?t.jsxs(We,{size:o,children:[t.jsx(Ue,{}),t.jsxs(Fe,{children:[t.jsx(Ee,{children:i.thereSeems}),t.jsx(Ke,{children:i.pleaseFind})]})]}):null]}):null,t.jsxs(wi,{windowSize:o,ref:ze=>{ze!=null&&(we.current[`L${l.lineId}`]=ze)},children:[o!=="small"?t.jsx(bi,{children:t.jsx(xi,{children:S.length>1?`#${n+1} ${i.reimbursement}`:i.reimbursement})}):null,t.jsxs(fi,{windowSize:o,children:[v?.duplicateLineId!=null?t.jsxs(yi,{children:[i.thisExpenseReview," ",t.jsx(gi,{onClick:()=>{if(v.isDuplicateWithinTransaction&&v.duplicateLineId!=null)return xe(`L${v.duplicateLineId}`);v.duplicateTransactionId!=null&&v.duplicateLineId!=null&&ot(v.duplicateTransactionId,v.duplicateLineId)},"data-testid":y("remi-view-duplicate-expense"),children:i.viewOriginalExpense})]}):null,t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:l.type===i.mileageKey?`${n}.mileage.reimbursementType`:`${n}.out_of_pocket.reimbursementType`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("reimbursementType",n,l.type===i.mileageKey?"mileage":"out_of_pocket")}`},style:{borderRadius:v?.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:v?.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(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("transactionDate",n,"mileage")}`},children:t.jsx(w,{label:{label:i.transactionDate,width:M},text:l.transactionDate?.format(ve.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.distanceInMiles`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("distanceInMiles",n,"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(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("amount",n,"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(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("memo",n,"mileage")}`},children:t.jsx(w,{label:{label:i.memo,width:I},text:l.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("class",n,"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(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.merchant`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("merchant",n,"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(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("transactionDate",n,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.transactionDate,width:M},text:l.transactionDate?.format(ve.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("amount",n,"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(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("memo",n,"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(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.account`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("account",n,"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(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("class",n,"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}`}})})]})]})]}),S.length!==1&&S.length===n+1&&t.jsxs(Ei,{windowSize:o,children:[t.jsxs(Qe,{windowSize:o,children:[t.jsx(Ze,{children:i.total}),t.jsx(_e,{amount:Se,integerStyles:V.h6Regular.cssObject,decimalStyles:V.standardRegular.cssObject})]}),e.remiDetails&&t.jsx(Oe,{amount:je,activities:e.remiActivities,stage:O?.code??"draft",onAddNewRule:ge,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)}),S.length===1&&t.jsxs(Xe,{windowSize:o,children:[t.jsx(He,{}),t.jsxs(ui,{windowSize:o,children:[t.jsx(Wi,{windowSize:o,children:t.jsxs(Qe,{windowSize:o,children:[t.jsx(Ze,{children:i.total}),t.jsx(_e,{amount:Se,integerStyles:V.h6Regular.cssObject,decimalStyles:V.standardRegular.cssObject})]})}),e.remiDetails&&t.jsx(hi,{windowSize:o,children:t.jsx(Oe,{amount:je,activities:e.remiActivities,stage:O?.code??"draft",onAddNewRule:ge,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(Vi,{})]}),Te||F===!0?null:t.jsxs(Ai,{children:[o!=="small"?t.jsx(He,{}):null,t.jsx(vi,{windowSize:o,"data-testid":y("remi-detail-page-footer"),onClick:l=>{l.stopPropagation(),q===!0&&Y(!1)},children:t.jsx(Kt,{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"?o==="small"?i.buttons.delete:i.buttons.deleteReport:o==="small"?i.buttons.reject:i.buttons.rejectReport,isLoading:Q==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress"||Q==="delete"&&e.deleteStatus.fetchState==="In-Progress",onClick:jt,style:{width:s.footerButtonWidth.value(o)},reverseSpinnerColor:!1},primaryBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?o==="small"?i.buttons.edit:i.buttons.editAndResubmit:o==="small"?i.buttons.approve:i.buttons.approveReport,isLoading:Q==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:St,style:{width:s.footerButtonWidth.value(o)},isDisabled:e.approvalUpdateStatus.fetchState==="In-Progress"||e.realTimeApproval.isEditMode===!0},rightSideComponent:t.jsx($i,{children:t.jsxs(zi,{windowSize:o,children:[!B&&q?t.jsx(Ut,{onClickAway:()=>Y(!1),children:t.jsxs(Ci,{windowSize:o,children:[ie!=="processing"?t.jsx(oe,{onClick:Ie,"data-testid":y("remi-delete-action"),children:i.buttons.deleteReport}):null,ie==="processing"?t.jsx(oe,{onClick:$t,"data-testid":y("remi-cancel-action"),children:i.buttons.cancel}):null,ie==="processing"?t.jsx(oe,{onClick:vt,"data-testid":y("remi-cancel-and-delete-action"),children:i.buttons.cancelAndDelete}):null]})}):null,t.jsxs(Di,{windowSize:o,children:[!B&&Ce?t.jsx(Ii,{onClick:De,"data-testid":y("remi-edit-button"),children:t.jsx(ji,{})}):null,!B&&Ct===!0?t.jsx(Si,{windowSize:o,showEditIcon:Ce,children:t.jsx(Ti,{onClick:()=>Y(!q),"data-testid":y("remi-more-actions-button")})}):null]})]})}),style:{minHeight:62}})})]}),u?t.jsx(ri,{id:h,children:t.jsx(Vt,{isDrawerOpen:pt,allowComposer:!0,drawerTitle:yt,threads:P,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:k?.companyId??$e,isGlobalComment:!1,tab:"reimbursement"},isLoading:D,threadMetadata:k?{companyName:k.companyName,companyId:k.companyId,entityId:k.entityId,entityType:k.entityType,isGlobalComment:!1,application:"dashboard",tab:"reimbursement",url:window.location.href}:void 0,textOverrides:{composerPlaceholder:gt,replyComposerPlaceholder:bt,threadResolve:wt,threadUnResolve:xt},onThreadClick:(l,n)=>At(l,n),onCloseAllThreadsDrawer:()=>L(!1),drawerSectionStyle:{width:"400px",backgroundColor:be.colors.background}})}):null]})},pi=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"}},ui=r.div`
|
|
1
|
+
import{aw as Mt,a8 as Rt,q as Pt,d as Bt,cb as Nt,y as m,F as et,gf as Lt,gh as _t,gi as Ot,V as t,cn as Ae,co as Me,cp as Re,bA as Pe,aN as y,bn as Wt,dq as Et,gj as Ft,gu as Be,o as a,gk as Ne,fe as b,gn as w,fh as x,aL as Le,fd as _e,b as V,gp as Oe,aP as Kt,ao as Ut,gq as Vt,gr as re,bw as Gt,gs as Ht,L as qt,R as Yt,M as Jt,al as tt,b8 as it,p as G,am as Qt,bT as Zt,ai as Xt,gL as ei,gH as ti,c,cg as ii,cU as ai}from"./index-CLqQIFvx.js";import{a as p}from"./sentry-Cue4MgLi.js";import{n as r}from"./mui-Co4rhSdf.js";import{a as ri}from"./liveblocks-DZksneMc.js";import{bL as oi,bP as ni,FH as li}from"./zeni-epic-state-DcWK4mxP.js";import si from"./InvoiceUploadSection-H-JhX_DQ-B3PXCVQk.js";import{r as di,h as f,u as ci}from"./types-DyvtCprH-NFPm5TaG.js";import"./core-CYa2vsSD.js";import"./lottie-EtzJiaFi.js";import"./analytics-CxT-6Gc4.js";import"./recharts-C4PW-81v.js";import"./lexical-DzVC4tTe.js";import"./utils-CxOjlxtI.js";import"./AttachmentView-uaen0kuU-Bv_0F11t.js";import"./uploadReceipts-CPw64UYa-BwoznkPo.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]="97ed9c18-9270-4092-890d-91c1ac65355d",e._sentryDebugIdIdentifier="sentry-dbid-97ed9c18-9270-4092-890d-91c1ac65355d")}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])},mi={formTitle:new Yt("h6Regular","h5Regular")},sa=({remiDetails:e,uploadInvoiceEndPoint:C,authParams:ne,isAdmin:le,signedInUser:se,showApproveRejectBtns:de,isRealTimeApprovalEnabled:ce,isReimbursementCommentingEnabled:u,isShowDeletedReimbursementEnabled:me,isSignedInUserReimbursementCreator:at,updateEditRealTimeApproverClicked:pe,onSaveRealTimeApprovals:ue,redirectToReimbursementListScreen:H,redirectToEditableReimbursementScreen:rt,onDuplicateLineClick:ot,approveOrRejectRemi:he,deleteReimbursement:nt,cancelAndDeleteReport:ye,handleZeniLogoClick:lt,onAddNewRule:ge,initialOpenThreadRequest:z})=>{const d=Mt(),st=Rt().analytics,o=Pt(),be=Bt(),[dt,A]=p.useState(!1),[q,Y]=p.useState(!1),[ct,J]=p.useState(!1),[Q,Z]=p.useState("approved"),N=p.useRef(null),[j,X]=p.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[k,mt]=p.useState(null),[pt,L]=p.useState(!1),h=`dashboard_${d.currentTenant?.companyId}`,we=p.useRef({}),xe=l=>{const n=we.current[l];n!=null&&setTimeout(()=>ci(n,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 n=l.substring(1);xe(n)}},[]);const ut=()=>{H()};Nt({componentName:"reimbursement.details"});const ht={onOkClick:()=>{A(!1),j.primaryButtonText===i.buttons.delete?nt?.():j.title===i.cancelReportTitle?ye?.():j.title===i.cancelAndDeleteReportTitle&&ye?.(!0)},onCancelClick:()=>{A(!1)}},I=s.labelWidth.value(o),M=s.largeLabelWidth.value(o),fe=et.getLocalizedStrings(),{common:{texts:{comments:yt},strings:{empty:$e}},collaboration:{threads:{placeholder:{addANewComment:gt,replyAComment:bt},tooltip:{resolveComment:wt,unResolveComment:xt}}},dateFormat:ve}=fe,{reimbursementDetail:i,bulkActions:_}=fe.spendManagement.reimbursement,ee=e.remiDetails?.reportTitle,S=e.remiDetails?.lines??[],O=e.remiDetails?.reimbursementInfo.stage,W=e.remiDetails?.reimbursementInfo.billStatus,E=e.remiDetails?.reimbursementInfo.billPaymentStatus,Te=O?.code==="paid",ft=Te?O:W?.code=="approved"&&E?.code?E:W,$=pi(e.remiDetails),R=W?.code=="approved"&&E?.code?E:W,F=e.remiDetails?.isDeleted??!1,Se=e.remiDetails?.amount,je=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)},$t=()=>{X({title:i.cancelReportTitle,description:i.cancelAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),A(!0)},vt=()=>{X({title:i.cancelAndDeleteReportTitle,description:i.cancelAndDeleteAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),A(!0)},De=()=>{rt()},Tt={onOkClick:l=>{J(!1),he({reimbursementId:e.remiDetails?.id??"",type:"rejected",description:l})},onCancelClick:()=>{J(!1)}},St=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?De():(Z("approved"),he({reimbursementId:e.remiDetails?.id??"",type:"approved"}))},jt=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?(Z("delete"),Ie()):(Z("rejected"),J(!0))},It=e.remiDetails?.reimbursementInfo.paymentDate!=null?oi(ni(e.remiDetails.reimbursementInfo.paymentDate.toDate(),[0,6],e.achSameDayMaxDays).toDateString()):void 0,te=e.remiDetails?.reimbursementInfo.expectedDepositDate??It,Dt=e.remiDetails?.lines?.some(l=>{const n=l.lineDetail;return n?.account?.isDeleted===!0&&n?.account?.isBillEditableCoaAccountType===!1})??!1,Ce=e.remiDetails?.reimbursementInfo.billStatus.code==="pending_approval"&&at&&!Dt,Ct=e.remiDetails?.reimbursementInfo.billStatus.code!=="rejected"&&e.remiDetails?.reimbursementInfo.billPaymentStatus.code!=="paid",ie=ft?.code,kt=di(e.duplicateLineByLineId),ke=e.duplicateReimbursementStatus.fetchState==="Completed"&&kt>0,{requestToOpenThread:ae,setRequestToOpenThread:K,setOpenThread:U}=p.useContext(Lt);p.useEffect(()=>{z?.threadId!=null&&z?.companyId!=null&&z?.entityType!=null&&K(z)},[z,K]);const{threads:P,isLoading:D}=_t({application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id,isGlobalComment:!1},"both",!1),zt=p.useMemo(()=>P.filter(l=>l.resolved===!1&&!l.id.includes(Ot)),[P]).length,At=p.useCallback((l,n)=>{U(n),L(!1)},[U,L]);p.useEffect(()=>{ae?.threadId!=null&&P.length>0&&!D&&(U(ae.threadId),K(null))},[ae,P,D,U,K]);const g={application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id},B=li(e.remiDetails?.bulkProcessingDetail?.type);return t.jsxs(Oi,{windowSize:o,ref:N,children:[dt?t.jsx(Ae,{titleComponent:t.jsx(Re,{children:j.title}),descriptionComponent:t.jsx(Me,{children:j.description}),primaryButtonText:j.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:j.secondaryButtonText,action:ht}):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:Tt,isEditPopup:!0,isNotesIncluded:!0,notesPlaceholder:i.rejectRejectReasonPlaceholder}):null,t.jsxs(Mi,{windowSize:o,"data-testid":y("reimbursement-detail-page-nav-bar-container"),children:[o!=="small"?t.jsx(Pe,{"data-testid":y("reimbursement-detail-page-nav-bar-left"),style:{width:"42%"},title:"",leftSideComponent:t.jsx(Ri,{onClick:()=>lt?.(),"data-testid":y("remi-detail-page-nav-bar-zeni-logo")}),enableTitleOnScroll:!1,backgroundColor:be.colors.background,keepBackgroundOnScroll:!0,scrollableContent:N,source:"ReimbursementDetailPage"}):null,o!=="small"?t.jsx(ki,{}):null,t.jsx(Pe,{"data-testid":y("reimbursement-detail-page-nav-bar-right"),title:ee??$e,leftSideComponent:t.jsx(t.Fragment,{}),style:{width:o!=="small"?"58%":"100%"},rightSideComponent:t.jsxs(Bi,{children:[u?t.jsxs(Ni,{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(n=>Et(n)),void 0,void 0,"page icon")},"data-testid":y("remi-comments-section"),children:[t.jsx(Wt,{count:D?void 0:zt,isLoading:D,style:{left:"12px"}}),t.jsx(Li,{})]}):null,t.jsx(_i,{size:o,onClick:()=>ut(),"data-testid":y("remi-detail-page-close"),children:t.jsx(Pi,{})})]}),scrollableContent:N,enableTitleOnScroll:o!=="small",scrollThreshold:64,source:"ReimbursementDetailPage"})]}),t.jsxs(Gi,{children:[o==="small"?t.jsxs(t.Fragment,{children:[t.jsx(Ye,{windowSize:o,children:t.jsx(Je,{windowsSize:o,children:ee})}),e.createdBy?.userId!=null?t.jsx(Ve,{windowSize:o,children:`${i.by} ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,me&&$!=null?t.jsx(Ge,{color:$.color,bgColor:$.bgColor,borderColor:$.borderColor,children:$.value}):null,R?.code!=null?o==="small"?t.jsxs(t.Fragment,{children:[t.jsx(Ft,{progressSectionObj:R,createDate:e.remiDetails?.createTime,paymentDate:te,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:F}),B?t.jsx(Be,{variant:"warning",style:{margin:`${a.sp5} ${a.sp3}`},title:_.duplicateWarning.title,description:_.duplicateWarning.description}):ke?t.jsxs(We,{size:o,children:[t.jsx(Ue,{}),t.jsxs(Fe,{children:[t.jsx(Ee,{children:i.thereSeems}),t.jsx(Ke,{children:i.pleaseFind})]})]}):null]}):t.jsx(qe,{windowSize:o,children:t.jsx(Ne,{progressSectionObj:R,createDate:e.remiDetails?.createTime,paymentDate:te,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:F})}):null]}):null,S.map((l,n)=>{const v=e.duplicateLineByLineId[l.lineId];return t.jsxs(Xe,{windowSize:o,children:[t.jsx(Ki,{windowSize:o,children:t.jsx(Ui,{bottomSeperator:S.length!==1,windowSize:o,children:t.jsx(si,{showAutofill:!1,uploadInvoiceEndPoint:C,authParams:ne,entityId:e.remiDetails?.id,file:l.file,showTitlebar:!0,showTitlebarIcon:!1,pdfTitle:S.length>1?`#${n+1} Receipt`:"Receipt",style:{width:"auto",padding:0,height:S.length-1===n||n===0?760:451},onInvoiceUpload:()=>{console.log("onInvoiceUpload")},noAttachmentText:i.noReceiptAttached,type:"reimbursement"})})}),t.jsxs(Fi,{windowSize:o,children:[n===0&&o!=="small"?t.jsxs(t.Fragment,{children:[t.jsxs(Ye,{windowSize:o,children:[t.jsx(Je,{windowsSize:o,children:ee}),me&&$!=null?t.jsx(Ge,{color:$.color,bgColor:$.bgColor,borderColor:$.borderColor,children:$.value}):null]}),e.createdBy?.userId!=null?t.jsx(Ve,{windowSize:o,children:`By ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,R?.code!=null?t.jsx(qe,{windowSize:o,children:t.jsx(Ne,{progressSectionObj:R,createDate:e.remiDetails?.createTime,paymentDate:te,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:F})}):null,B?t.jsx(Be,{variant:"warning",style:{margin:`${a.sp3} ${a.sp8} ${a.sp3} ${a.sp6}`},title:_.duplicateWarning.title,description:_.duplicateWarning.description}):ke?t.jsxs(We,{size:o,children:[t.jsx(Ue,{}),t.jsxs(Fe,{children:[t.jsx(Ee,{children:i.thereSeems}),t.jsx(Ke,{children:i.pleaseFind})]})]}):null]}):null,t.jsxs(wi,{windowSize:o,ref:ze=>{ze!=null&&(we.current[`L${l.lineId}`]=ze)},children:[o!=="small"?t.jsx(bi,{children:t.jsx(xi,{children:S.length>1?`#${n+1} ${i.reimbursement}`:i.reimbursement})}):null,t.jsxs(fi,{windowSize:o,children:[v?.duplicateLineId!=null?t.jsxs(yi,{children:[i.thisExpenseReview," ",t.jsx(gi,{onClick:()=>{if(v.isDuplicateWithinTransaction&&v.duplicateLineId!=null)return xe(`L${v.duplicateLineId}`);v.duplicateTransactionId!=null&&v.duplicateLineId!=null&&ot(v.duplicateTransactionId,v.duplicateLineId)},"data-testid":y("remi-view-duplicate-expense"),children:i.viewOriginalExpense})]}):null,t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:l.type===i.mileageKey?`${n}.mileage.reimbursementType`:`${n}.out_of_pocket.reimbursementType`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("reimbursementType",n,l.type===i.mileageKey?"mileage":"out_of_pocket")}`},style:{borderRadius:v?.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:v?.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(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("transactionDate",n,"mileage")}`},children:t.jsx(w,{label:{label:i.transactionDate,width:M},text:l.transactionDate?.format(ve.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.distanceInMiles`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("distanceInMiles",n,"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(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("amount",n,"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(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("memo",n,"mileage")}`},children:t.jsx(w,{label:{label:i.memo,width:I},text:l.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.mileage.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("class",n,"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(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.merchant`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("merchant",n,"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(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("transactionDate",n,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.transactionDate,width:M},text:l.transactionDate?.format(ve.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("amount",n,"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(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("memo",n,"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(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.account`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("account",n,"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(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${n}.out_of_pocket.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("class",n,"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}`}})})]})]})]}),S.length!==1&&S.length===n+1&&t.jsxs(Ei,{windowSize:o,children:[t.jsxs(Qe,{windowSize:o,children:[t.jsx(Ze,{children:i.total}),t.jsx(_e,{amount:Se,integerStyles:V.h6Regular.cssObject,decimalStyles:V.standardRegular.cssObject})]}),e.remiDetails&&t.jsx(Oe,{amount:je,activities:e.remiActivities,stage:O?.code??"draft",onAddNewRule:ge,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)}),S.length===1&&t.jsxs(Xe,{windowSize:o,children:[t.jsx(He,{}),t.jsxs(ui,{windowSize:o,children:[t.jsx(Wi,{windowSize:o,children:t.jsxs(Qe,{windowSize:o,children:[t.jsx(Ze,{children:i.total}),t.jsx(_e,{amount:Se,integerStyles:V.h6Regular.cssObject,decimalStyles:V.standardRegular.cssObject})]})}),e.remiDetails&&t.jsx(hi,{windowSize:o,children:t.jsx(Oe,{amount:je,activities:e.remiActivities,stage:O?.code??"draft",onAddNewRule:ge,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(Vi,{})]}),Te||F===!0?null:t.jsxs(Ai,{children:[o!=="small"?t.jsx(He,{}):null,t.jsx(vi,{windowSize:o,"data-testid":y("remi-detail-page-footer"),onClick:l=>{l.stopPropagation(),q===!0&&Y(!1)},children:t.jsx(Kt,{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"?o==="small"?i.buttons.delete:i.buttons.deleteReport:o==="small"?i.buttons.reject:i.buttons.rejectReport,isLoading:Q==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress"||Q==="delete"&&e.deleteStatus.fetchState==="In-Progress",onClick:jt,style:{width:s.footerButtonWidth.value(o)},reverseSpinnerColor:!1},primaryBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?o==="small"?i.buttons.edit:i.buttons.editAndResubmit:o==="small"?i.buttons.approve:i.buttons.approveReport,isLoading:Q==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:St,style:{width:s.footerButtonWidth.value(o)},isDisabled:e.approvalUpdateStatus.fetchState==="In-Progress"||e.realTimeApproval.isEditMode===!0},rightSideComponent:t.jsx($i,{children:t.jsxs(zi,{windowSize:o,children:[!B&&q?t.jsx(Ut,{onClickAway:()=>Y(!1),children:t.jsxs(Ci,{windowSize:o,children:[ie!=="processing"?t.jsx(oe,{onClick:Ie,"data-testid":y("remi-delete-action"),children:i.buttons.deleteReport}):null,ie==="processing"?t.jsx(oe,{onClick:$t,"data-testid":y("remi-cancel-action"),children:i.buttons.cancel}):null,ie==="processing"?t.jsx(oe,{onClick:vt,"data-testid":y("remi-cancel-and-delete-action"),children:i.buttons.cancelAndDelete}):null]})}):null,t.jsxs(Di,{windowSize:o,children:[!B&&Ce?t.jsx(Ii,{onClick:De,"data-testid":y("remi-edit-button"),children:t.jsx(ji,{})}):null,!B&&Ct===!0?t.jsx(Si,{windowSize:o,showEditIcon:Ce,children:t.jsx(Ti,{onClick:()=>Y(!q),"data-testid":y("remi-more-actions-button")})}):null]})]})}),style:{minHeight:62}})})]}),u?t.jsx(ri,{id:h,children:t.jsx(Vt,{isDrawerOpen:pt,allowComposer:!0,drawerTitle:yt,threads:P,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:k?.companyId??$e,isGlobalComment:!1,tab:"reimbursement"},isLoading:D,threadMetadata:k?{companyName:k.companyName,companyId:k.companyId,entityId:k.entityId,entityType:k.entityType,isGlobalComment:!1,application:"dashboard",tab:"reimbursement",url:window.location.href}:void 0,textOverrides:{composerPlaceholder:gt,replyComposerPlaceholder:bt,threadResolve:wt,threadUnResolve:xt},onThreadClick:(l,n)=>At(l,n),onCloseAllThreadsDrawer:()=>L(!1),drawerSectionStyle:{width:"400px",backgroundColor:be.colors.background}})}):null]})},pi=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"}},ui=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{aw as ne,d as S,q as k,aO as le,V as e,aN as a,fp as ae,bA as de,n as u,ae as d,F,o as s,aq as ce,a as me,aR as E,am as pe,y as xe,p as z,cB as he,aS as ue,b9 as ge,c as we}from"./index-
|
|
1
|
+
import{aw as ne,d as S,q as k,aO as le,V as e,aN as a,fp as ae,bA as de,n as u,ae as d,F,o as s,aq as ce,a as me,aR as E,am as pe,y as xe,p as z,cB as he,aS as ue,b9 as ge,c as we}from"./index-CLqQIFvx.js";import{a as j}from"./sentry-Cue4MgLi.js";import{n as r}from"./mui-Co4rhSdf.js";import{FG as je,bT as be}from"./zeni-epic-state-DcWK4mxP.js";import{f as fe}from"./VideoPopup-1aNRmLD6-E6I5SdxR.js";import{M as v}from"./usp-line-BBd1wKwW-BZcVCehg.js";import"./liveblocks-DZksneMc.js";import"./core-CYa2vsSD.js";import"./recharts-C4PW-81v.js";import"./lottie-EtzJiaFi.js";import"./analytics-CxT-6Gc4.js";import"./lexical-DzVC4tTe.js";import"./utils-CxOjlxtI.js";import"./VideoPlayer-DufuoQRs-CzFmZCl7.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]="a97bed90-6a4b-4629-821c-be5909ce073d",i._sentryDebugIdIdentifier="sentry-dbid-a97bed90-6a4b-4629-821c-be5909ce073d")}catch{}})();const N="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-light.png",V="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-dark.png",ye={midContainerMarginBottom:new xe(we[5],44)},$e=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
min-height: 100%;
|
|
@@ -58,9 +58,9 @@ import{aw as ne,d as S,q as k,aO as le,V as e,aN as a,fp as ae,bA as de,n as u,a
|
|
|
58
58
|
align-items: center;
|
|
59
59
|
text-align: start;
|
|
60
60
|
box-sizing: border-box;
|
|
61
|
-
`,
|
|
61
|
+
`,b=r(ge)`
|
|
62
62
|
color: ${i=>i.theme.colors.champion};
|
|
63
|
-
`,
|
|
63
|
+
`,f=r(ue)`
|
|
64
64
|
color: ${i=>i.theme.colors.champion};
|
|
65
65
|
`,y=r(E)`
|
|
66
66
|
color: ${i=>i.theme.colors.champion};
|
|
@@ -81,4 +81,4 @@ import{aw as ne,d as S,q as k,aO as le,V as e,aN as a,fp as ae,bA as de,n as u,a
|
|
|
81
81
|
margin: ${s.sp3} auto;
|
|
82
82
|
max-width: 772px;
|
|
83
83
|
color: ${i=>i.theme.colors.hero};
|
|
84
|
-
`,t=F.getLocalizedStrings().spendManagement.reimbursement.reimbursementPromo,n=F.getLocalizedStrings().commonSetUp.businessVerification.terms,Te=()=>{const i=S(),o=k();return e.jsxs(Z,{windowSize:o,children:[e.jsx(q,{windowSize:o,children:e.jsx(O,{windowSize:o,children:i.mode==="dark"?e.jsx(g,{src:V,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"}):e.jsx(g,{src:N,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"})})}),e.jsxs(_,{windowSize:o,children:[e.jsxs(c,{windowSize:o,children:[e.jsx(m,{children:e.jsx(G,{})}),e.jsxs(p,{children:[e.jsx($,{children:t.simplestText.bold}),e.jsx(y,{children:t.simplestText.regular})]})]}),e.jsxs(c,{windowSize:o,children:[e.jsx(m,{children:e.jsx(H,{})}),e.jsxs(p,{children:[e.jsx($,{children:t.aiPoweredText.bold}),e.jsx(y,{children:t.aiPoweredText.regular})]})]}),e.jsxs(c,{windowSize:o,children:[e.jsx(m,{children:e.jsx(W,{})}),e.jsxs(p,{children:[e.jsx($,{children:t.multiLevelApprovalText.bold}),e.jsx(y,{children:t.multiLevelApprovalText.regular})]})]})]})]})},Ce=()=>{const i=S(),o=k();return e.jsxs(Z,{windowSize:o,children:[e.jsxs(_,{windowSize:o,children:[e.jsxs(c,{windowSize:o,style:{width:"376px"},children:[e.jsx(m,{children:e.jsx(G,{})}),e.jsxs(p,{children:[e.jsx(
|
|
84
|
+
`,t=F.getLocalizedStrings().spendManagement.reimbursement.reimbursementPromo,n=F.getLocalizedStrings().commonSetUp.businessVerification.terms,Te=()=>{const i=S(),o=k();return e.jsxs(Z,{windowSize:o,children:[e.jsx(q,{windowSize:o,children:e.jsx(O,{windowSize:o,children:i.mode==="dark"?e.jsx(g,{src:V,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"}):e.jsx(g,{src:N,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"})})}),e.jsxs(_,{windowSize:o,children:[e.jsxs(c,{windowSize:o,children:[e.jsx(m,{children:e.jsx(G,{})}),e.jsxs(p,{children:[e.jsx($,{children:t.simplestText.bold}),e.jsx(y,{children:t.simplestText.regular})]})]}),e.jsxs(c,{windowSize:o,children:[e.jsx(m,{children:e.jsx(H,{})}),e.jsxs(p,{children:[e.jsx($,{children:t.aiPoweredText.bold}),e.jsx(y,{children:t.aiPoweredText.regular})]})]}),e.jsxs(c,{windowSize:o,children:[e.jsx(m,{children:e.jsx(W,{})}),e.jsxs(p,{children:[e.jsx($,{children:t.multiLevelApprovalText.bold}),e.jsx(y,{children:t.multiLevelApprovalText.regular})]})]})]})]})},Ce=()=>{const i=S(),o=k();return e.jsxs(Z,{windowSize:o,children:[e.jsxs(_,{windowSize:o,children:[e.jsxs(c,{windowSize:o,style:{width:"376px"},children:[e.jsx(m,{children:e.jsx(G,{})}),e.jsxs(p,{children:[e.jsx(f,{children:t.simplestText.bold}),e.jsx(b,{children:t.simplestText.regular})]})]}),e.jsxs(c,{windowSize:o,style:{width:"376px"},children:[e.jsx(m,{children:e.jsx(H,{})}),e.jsxs(p,{children:[e.jsx(f,{children:t.aiPoweredText.bold}),e.jsx(b,{children:t.aiPoweredText.regular})]})]}),e.jsxs(c,{windowSize:o,style:{width:"376px"},children:[e.jsx(m,{children:e.jsx(W,{})}),e.jsxs(p,{children:[e.jsx(f,{children:t.multiLevelApprovalText.bold}),e.jsx(b,{children:t.multiLevelApprovalText.regular})]})]})]}),e.jsx(q,{windowSize:o,children:e.jsx(O,{windowSize:o,children:i.mode==="dark"?e.jsx(g,{src:V,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"}):e.jsx(g,{src:N,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"})})})]})},_e=({reimbursementSetupView:i,userReimbursementInfo:o,meetingUrl:T,videoUrl:J,analytics:x,onSetupButtonClick:K,onCreateNewRemiButtonClick:Q,onBackClick:X,onSetupReimbursementSuccess:C,onClickMenuIcon:Y})=>{const P=ne(),[ee,ie]=j.useState(!1),[te,R]=j.useState(!1),se=S(),l=k(),{remiTermsDetails:h}=i,I=le(h?.fetchStatus.fetchState),re=je(P.loggedInUserRoleMap),w=be(P.loggedInUserRoleMap)&&!re,oe=!!o?.isReimbursementTOSAccepted,B=!!i.companyRemiInfo?.isReimbursementEnabled,U=w?B?t.employeeAcceptPromoText:t.employeePendingPromoText:t.promoText;j.useEffect(()=>{I==="In-Progress"&&h?.fetchStatus.fetchState==="Completed"&&C?.()},[I,C,h?.fetchStatus]);const A=()=>{x?.trackReimbursementPromoScheduleDemo(),R(!0)};return e.jsxs($e,{children:[ee===!0?e.jsx(fe,{onCancelClick:()=>{ie(!1)},videoUrl:J,"data-testid":a("remi-promo-page-video-popup")}):null,te===!0?e.jsx(ae,{onCancelClick:()=>{R(!1)},meetingUrl:T,"data-testid":a("remi-promo-page-meeting-popup")}):null,e.jsx(de,{title:t.title,backgroundColor:se.colors.grey4,onBackClick:X,showBackButton:!w,showMenuIcon:l==="small"||l==="medium-compact",onClickMenuIcon:Y,source:"ReimbursementPromoPage"}),e.jsxs(Se,{windowSize:l,children:[l==="small"?e.jsx(ze,{children:U}):e.jsx(ke,{children:U}),l==="small"?e.jsx(Te,{}):e.jsx(Ce,{}),e.jsx(ve,{children:w?e.jsx(e.Fragment,{children:B&&!oe?e.jsxs(e.Fragment,{children:[e.jsxs(L,{windowSize:l,children:[e.jsx(u,{variant:"secondary",label:t.scheduleDemoButton,onClick:A,"data-testid":a("reimbursement-promo-page-schedule-demo-button")}),e.jsx(M,{windowSize:l,children:t.orText}),e.jsx(u,{variant:"primary",label:t.createNewReimbursementButton,loading:h?.fetchStatus.fetchState==="In-Progress",onClick:Q,"data-testid":a("reimbursement-promo-page-create-new-reimbursement-button")})]}),e.jsxs(D,{children:[t.terms.createTerms1,e.jsx(d,{href:t.terms.tosUrl,linkText:t.terms.zeniAgreement,onZeniLinkClick:()=>(x?.trackReimbursementAgreement(),!0)}),t.terms.terms2,e.jsx(d,{href:t.terms.privacyPolicyUrl,linkText:t.terms.privacyPolicy,onZeniLinkClick:()=>(x?.trackReimbursementPrivacyPolicy(),!0)}),t.terms.terms3]})]}):null}):e.jsxs(e.Fragment,{children:[e.jsxs(L,{windowSize:l,children:[e.jsx(u,{variant:"secondary",label:t.scheduleDemoButton,onClick:A,style:{width:216},"data-testid":a("reimbursement-promo-page-schedule-demo-button")}),e.jsx(M,{windowSize:l,children:t.orText}),e.jsx(u,{variant:"primary",label:t.setupReimbursementButton,loading:h?.fetchStatus.fetchState==="In-Progress",onClick:K,style:{width:216},"data-testid":a("reimbursement-promo-page-setup-reimbursement-button")})]}),e.jsxs(D,{children:[t.terms.setupTerms1,e.jsx(d,{href:n.consentUrl,linkText:n.consent}),n.term2,e.jsx(d,{href:n.depositUrl,linkText:n.depositTerms}),n.term3,e.jsx(d,{href:n.privacyPolicyUrl,linkText:n.privacy,onZeniLinkClick:()=>(x?.trackReimbursementPrivacyPolicy(),!0)}),n.term4,e.jsx(d,{href:n.tosUrl,linkText:n.tos,onZeniLinkClick:()=>(x?.trackReimbursementAgreement(),!0)}),n.term5,t.terms.terms3]})]})})]})]})};export{_e as default};
|