@zeniai/web-app-ui 4.14.28-qa → 4.14.29-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-URcYg-_E-Cgyaw_bU.js → ACHDetailsPage-DdI8Zlpr-DP3Ijrzf.js} +6 -6
- package/dist/assets/{AIPerformancePage-VILPvNCr-Cwwj6J5d.js → AIPerformancePage-BCxF5hNI-DwsSzcsx.js} +15 -15
- package/dist/assets/AccountInfoPage-D_PrQwlp-DcHjYUET.js +18 -0
- package/dist/assets/{AccountInfoPageContent-g_X840C3-qxu9MQ5W.js → AccountInfoPageContent-jLGn4-UA-BlSpfvCV.js} +7 -7
- package/dist/assets/{AccountLockedInfoModal-DDNvWMEQ-C_ICPJ-z.js → AccountLockedInfoModal-CKODwo_y-D1V0TVL_.js} +8 -8
- package/dist/assets/{AccountReconDetailsDrawerPage-CydLoK6D-CMDZeEvJ.js → AccountReconDetailsDrawerPage-B2m7w0mL-C5Y15orT.js} +17 -17
- package/dist/assets/AccountRow-G9Hw9KCo-CT1w9ZhF.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-D8mOW1Wp-BglIlica.js → AccountsPromoCardStack-C1-hQWvB-BQ8MpMFD.js} +17 -17
- package/dist/assets/AddAddressForCardDrawer-Dd-0o1b--B4hUfY9b.js +6 -0
- package/dist/assets/{AddToWalletPage-BMCgd2A5-jP1yYMeJ.js → AddToWalletPage-BLdfTvYw-1DCwK82d.js} +15 -15
- package/dist/assets/AddressRoutes-BQkJFfvp.js +1 -0
- package/dist/assets/AddressScreen-Dl895CZ9.js +9 -0
- package/dist/assets/{AgingReportsPage-BL_aBNzL-BMEhVDXZ.js → AgingReportsPage-C6aasTzQ-C63SyJmI.js} +7 -7
- package/dist/assets/AiCfoScreen-IdwAAJXG.js +11 -0
- package/dist/assets/{AllUserItems-b0wgd0Wz-CZ891kMU.js → AllUserItems-CjeF5SWi-CeRsiH4z.js} +13 -13
- package/dist/assets/{ApAgingDetailPage-CD2EkZkg-CoiRS4ai.js → ApAgingDetailPage-BWtvu1dO-Br56Wlkb.js} +4 -4
- package/dist/assets/AppBasePage-MKRsDpmx-DMLcxkrr.js +71 -0
- package/dist/assets/AppDrawerContent-DN2hf6ff-5NhbUBos.js +92 -0
- package/dist/assets/ApprovalRulesSettingsPage-0XbPzs2a-C8UoHZRv.js +47 -0
- package/dist/assets/ArAgingChart-DSx_E9ZM-RnIrRkZm.js +24 -0
- package/dist/assets/ArAgingDetailPage-C8h1id5v-HwBRgj9f.js +46 -0
- package/dist/assets/{AttachmentView-ENg9Osic-CFLP9uHu.js → AttachmentView-CqKnI6Xt-AOGCu7iZ.js} +7 -7
- package/dist/assets/BalancesInsightWithToolTip-CSaW4oJh-DywAYbnn.js +38 -0
- package/dist/assets/{BankAccountSection-oL-aN0I_-tuaETO0_.js → BankAccountSection-Dhp7GLZA-FNVqovjK.js} +5 -5
- package/dist/assets/BankAccountWarningSection-C_OfdR1O-BMVJxE-j.js +51 -0
- package/dist/assets/{BankConnectionsSettingsPage-B848OGHq-DAs4lJR2.js → BankConnectionsSettingsPage-CDPUFu2k-BBx4P7dZ.js} +21 -21
- package/dist/assets/BillDetailPage-BWBGE0pg-CYoOWtCP.js +266 -0
- package/dist/assets/{BillPayApprovalRoutes-BHVZ8537.js → BillPayApprovalRoutes-BvnC9SqN.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-DtAj6RxA-C9r_i-YB.js → BillPayApprovalRuleDetailPage-B_XoB7xi-CXJBKdTH.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-DLHvMgeY-C_BMrvHA.js → BillPayApprovalRulesPage-5okdFn01-D6fpe4cT.js} +12 -12
- package/dist/assets/{BillPayPromoPage-DQJAZi1a-BdT-embc.js → BillPayPromoPage-GoR4wxn7-Cd3jtttJ.js} +11 -11
- package/dist/assets/{BillPayRoutes-CTbVCMt9.js → BillPayRoutes-DqZf2rOO.js} +13 -13
- package/dist/assets/BillPaySetUpPage-CKWIFJ92-Dr75QuFi.js +42 -0
- package/dist/assets/{BillingSettingsPage-Cfe4Vmza-13uWqRc_.js → BillingSettingsPage-AjSQYumd-GqgYiFI4.js} +10 -10
- package/dist/assets/{BillsBulkReviewDrawerPage-7y9q0HF_-ClMItAU3.js → BillsBulkReviewDrawerPage-DsNKfhkT-CXzE-Qir.js} +1 -1
- package/dist/assets/{BoxItem-CTEOx6Nh-BFlNqqzJ.js → BoxItem-BWNurtfc-J9WJ61G4.js} +3 -3
- package/dist/assets/BusinessVerificationPage-DN88j0Rn-DzH0PVhP.js +138 -0
- package/dist/assets/BusinessVerificationPageScreen-CJ17INUy.js +9 -0
- package/dist/assets/BusyIndication-H_iNZOWd-BNmJKxof.js +9 -0
- package/dist/assets/{CardNumberSubText-DijJqFXC-CsY-4Pix.js → CardNumberSubText-BAWc12F9-CekGLfjU.js} +5 -5
- package/dist/assets/{CashbackDetailPage-BxIWU0z2-SGhDWItl.js → CashbackDetailPage-BhCHvGxj-nllESilf.js} +21 -21
- package/dist/assets/{ChargeCardDetailPage-ClyQPqJf-DiYand-n.js → ChargeCardDetailPage-D9-V0pjZ-CTp6LwRI.js} +64 -64
- package/dist/assets/{ChargeCardListPage-CYhY6c52-By-D4GaU.js → ChargeCardListPage-CZFi8l0_-CO-jS4Wx.js} +21 -21
- package/dist/assets/ChargeCardListTable-DiJUp9-c-hw3gHlrw.js +711 -0
- package/dist/assets/{ChargeCardPaymentHistoryPage-wt6arCEL-mnUI1wBw.js → ChargeCardPaymentHistoryPage-CW9gtO0w-oF9Kbl5Z.js} +11 -11
- package/dist/assets/ChargeCardPromoPage-CiZDV925-B7JK6cJL.js +222 -0
- package/dist/assets/{ChargeCardRoutes-CnifKuME.js → ChargeCardRoutes-BumOjc7r.js} +12 -12
- package/dist/assets/{ChargeCardSetupPage-C59WR7nm-B7_BDfgy.js → ChargeCardSetupPage-C5jXY5P--Da4gT9DT.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-DF5rt4B5-BSFQBDIJ.js → ChargeCardStatementsPage-CetLgQ8l-CHHBhChm.js} +3 -3
- package/dist/assets/CheckDepositDrawerPage-BYfqgSGk-58W0gPrS.js +206 -0
- package/dist/assets/CollapsableReportTable-BhbPzkAB-C83Y_pXv.js +2972 -0
- package/dist/assets/{CompanyOfficerDetailsSection-BNSHkrC4-BohcManJ.js → CompanyOfficerDetailsSection-CMcuDe-X-CNo7Ot8a.js} +34 -34
- package/dist/assets/CompanyPassportCard-DImW2Dm8-pP6x_qCR.js +42 -0
- package/dist/assets/{CompanyPassportPage-DqhT6YL_-9fmBJGak.js → CompanyPassportPage-DT2W9QE1-DJLwOOR3.js} +18 -18
- package/dist/assets/{CompanyPassportScreen-CRe5P-th.js → CompanyPassportScreen-Ckk3Aa0n.js} +1 -1
- package/dist/assets/{CompleteProfile-DdA-FkwG-BiHuwAkX.js → CompleteProfile-BOabRQRQ-Cdf3T9vg.js} +1 -1
- package/dist/assets/ConfettiBurst-Ix0vYpu--B-yjeAz3.js +1 -0
- package/dist/assets/ConnectionAuthScreen-CJIuvxwT.js +11 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-KpARPyfe.js → ConstrainedInnerElement-CgdnMeoA-CUV-Iost.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-CODInbfe-DiFVD6Qj.js → CreateOrEditVendorPage-D86akQ-H-a9byVQeU.js} +21 -21
- package/dist/assets/{CreditCardPaymentDrawerPage-DZNUIDa0-Bhxy7Srv.js → CreditCardPaymentDrawerPage-MS34Pxyw-S-FNpO-K.js} +21 -21
- package/dist/assets/CurrencySelectField-BsuzTGXR-DG4V_Nis.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-CBlyvq0r-DsKfu_6g.js → CustomerOnboardingActivationPage-BP-GIrmI-cXKCGBAv.js} +5 -5
- package/dist/assets/CustomerOnboardingAuthScreen-C_Q_XIl1.js +1 -0
- package/dist/assets/CustomerOnboardingContainerPage-D4BMPshV-BEJOCQX6.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CIhb8Zvx-D-qu4kro.js → CustomerOnboardingDetailPageSkeleton-CISAUodZ-DSVMFFq4.js} +9 -9
- package/dist/assets/CustomerOnboardingNoStepsPage-DgMQ5prq-DEUVMq4v.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-BJGDpI-d-z5jUKu6P.js → CustomerOnboardingPage-QvCZDMFw-pwPfUUii.js} +6 -6
- package/dist/assets/{CustomerOnboardingProductSuitePage-DmgQGvpp-MaxHOFlf.js → CustomerOnboardingProductSuitePage-Bt1cV23--C-IqxjRL.js} +6 -6
- package/dist/assets/CustomerOnboardingRoutes-GPk7JXLd.js +23 -0
- package/dist/assets/{Dashboard-Cvmg-DzK-B4C3yfRb.js → Dashboard-DdAePVSx-CyfCOyra.js} +26 -26
- package/dist/assets/{DashboardReportPage-C7bT-gmW-CnABTNc-.js → DashboardReportPage-ccn0JYfk-DfPZgIh7.js} +40 -40
- package/dist/assets/DashboardRoutes-DbCVxvoA.js +21 -0
- package/dist/assets/{DashboardSidebarBackgroundAnimation-CcTStx9W-PqRgrLcG.js → DashboardSidebarBackgroundAnimation-DPDd6e7b-ClZHrJ6l.js} +1 -1
- package/dist/assets/{DefaultTenantHome-Cnbh-hLO.js → DefaultTenantHome-DnjlKX8o.js} +1 -1
- package/dist/assets/DepositAccTransactionItem-BijpyBiZ-CNN7AUw4.js +76 -0
- package/dist/assets/DepositAccTransactionListPage-DOuU7gGT-CxNst2Ko.js +66 -0
- package/dist/assets/DomesticWireDetailScreen-CMHXbUdU.js +18 -0
- package/dist/assets/DomesticWireDetailsPage-B10Vx6K5-BgPOj6ev.js +21 -0
- package/dist/assets/DownloadOverlay-BiIbEvq6-DkggD5hU.js +439 -0
- package/dist/assets/{DrawerPage-DGuh6P-6-vbiOWCGQ.js → DrawerPage-4aE01eRo-CbGkLlgW.js} +14 -14
- package/dist/assets/DrawerScreen-Bqlol_ka.js +1 -0
- package/dist/assets/EditPeoplePage-BWjOJqch-DMjcjWgK.js +55 -0
- package/dist/assets/EditReimbursementDetailPage-Dcw8QlH6-CKpHH0Rb.js +865 -0
- package/dist/assets/{EntityDetailPage-BbeHCNGS-D-w0bQjx.js → EntityDetailPage-DseDMalq-D030AWbJ.js} +1 -1
- package/dist/assets/EntityDetailRoutes-DKPg6KvF.js +1 -0
- package/dist/assets/{EntitySummarySection-BgjWn9vX-LOppYcen.js → EntitySummarySection-D1o-WKT9-B4D8PhFo.js} +26 -26
- package/dist/assets/{ExpenseAutomationOverviewPage-V2cvYWxH-DgccKeRs.js → ExpenseAutomationOverviewPage-BIGlSzsy-DDeWTiVS.js} +52 -52
- package/dist/assets/ExpenseAutomationPage-BUARFwSx-BgUO5pJv.js +3614 -0
- package/dist/assets/ExpenseAutomationRoutes-CFAuM0iq.js +20 -0
- package/dist/assets/{ExpressPayPage-5VdASApP-Bbb90acR.js → ExpressPayPage-BKpxo5VW-BeZ2tWeR.js} +14 -14
- package/dist/assets/{FeaturePreviewPage-CA_fxOHn-lBAw00-n.js → FeaturePreviewPage-CfqYjofS-Dw_fXJXh.js} +2 -2
- package/dist/assets/FeaturePreviewScreen-Ctx49exK.js +1 -0
- package/dist/assets/{FollowStepsSection-CTSjTKjT-CfO_mWmk.js → FollowStepsSection-CJzIGe2N-q0pn7uac.js} +11 -11
- package/dist/assets/GlobalReviewListPage-B4qWm75N-BekP71Yj.js +291 -0
- package/dist/assets/{InformationCardStack-D_Z7Ebe0-CdzcV8l3.js → InformationCardStack-BXWxFJnm-DZneOpmz.js} +3 -3
- package/dist/assets/InsightsCardStack-iUppdWya-IGcayZ6m.js +79 -0
- package/dist/assets/InsightsSection-CPg_uo3H-DaY57Nkj.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-4OV7HFwe-BkdxTWi0.js → IntegrationsSettingsPage-DthkTtT9-BfWjdmm5.js} +5 -5
- package/dist/assets/{InternationalWireSwiftDetailsPage-B1nvNamF-D8dvELa5.js → InternationalWireSwiftDetailsPage-hYeFGjj4-De4TNLmU.js} +19 -19
- package/dist/assets/InternationalWireVerificationPage-0TZuCAzZ-DstpGM2q.js +65 -0
- package/dist/assets/{InviteFormPage-C5mS-6c8-B0IN7EaK.js → InviteFormPage-BC1PH63r-DAB3gVVK.js} +7 -7
- package/dist/assets/{InvitePageListView-Yj83_lDA-CRdOQu_U.js → InvitePageListView-BJDfCvno-Sk3rc3V-.js} +65 -65
- package/dist/assets/InvitePeoplePage-Bl-WUfXO-DagADS45.js +12 -0
- package/dist/assets/InvoiceUploadSection-BgVvYytR-DjoTneQr.js +140 -0
- package/dist/assets/{IssueChargeCardPage-BIOTVOMR-v1cJqLjo.js → IssueChargeCardPage-0JEZpfCu-DLK0riSj.js} +29 -29
- package/dist/assets/{LabeledAddressValue-Bb1x9jR--BEbVa18t.js → LabeledAddressValue-BCsadhSu-lscFDQOa.js} +2 -2
- package/dist/assets/LabeledAddressValueField-D-AO8-Me-DR8Qyzx1.js +45 -0
- package/dist/assets/LabeledControlledCheckBoxField-Do7rlK6F-CTyXPdV4.js +16 -0
- package/dist/assets/{LabeledCountryMultiSelectField-LeubJT8b-COwPVYGE.js → LabeledCountryMultiSelectField-BHwXHYPO-CYnRn6eD.js} +4 -4
- package/dist/assets/{LabeledCreatableSingleSelectField-CzrPLo-T-Cy0xU_nR.js → LabeledCreatableSingleSelectField-gMUp1tXY-y1kl4nd-.js} +7 -7
- package/dist/assets/LabeledDocumentField-DxUq-7nr-DAyGmAsR.js +41 -0
- package/dist/assets/LabeledDropDownFormattedTextField-D51ly333-CZ2VlJWO.js +59 -0
- package/dist/assets/{LabeledEmailInputField-BOEHGgHy-BnfP78Li.js → LabeledEmailInputField-Cd9p7Kj0-DZf49c8n.js} +11 -11
- package/dist/assets/{LabeledNameField-DWKoivcI-CNclT5Xy.js → LabeledNameField-364jsrFK-CaN5hIDf.js} +5 -5
- package/dist/assets/{LabeledSingleSelectField-BkGsnV9P-DEP7xmaE.js → LabeledSingleSelectField-B3pMIEfZ-C8i8zlDG.js} +3 -3
- package/dist/assets/LabeledText-uFTi1qOo-Dh31QRqg.js +42 -0
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BTo_s8x5-BHV3CQzI.js → LabeledUserSingleSelectWithSubtitlesField-XD6D3r0Y-Ce4jb_BF.js} +15 -15
- package/dist/assets/{LabeledZeniRolesDropDownField-C3LoYUh_-C0QgGm5O.js → LabeledZeniRolesDropDownField-CbJ3OtWK-CN-nwhu5.js} +20 -20
- package/dist/assets/{LinkJETransactionPage-BbpybbwD-C4x4kUF5.js → LinkJETransactionPage-B5M6Ojt--C7jEEQdH.js} +12 -12
- package/dist/assets/{LockCardPage-C0XjGES8-COA53Q9C.js → LockCardPage-DN2dvQA9-ptj6YCPt.js} +34 -34
- package/dist/assets/{LowBalancePopup-CkO97HGX-roXJtnln.js → LowBalancePopup-CXTWwEyb-DHi-7FjF.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-6iW79Hsc-BuBCCqa7.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-KPRoVnEc-9k2m3ge7.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DjB2bi8k-BA612N6w.js +1 -0
- package/dist/assets/{MagicLinkRoutes-BGp-m3tE.js → MagicLinkRoutes-0gOcNpgv.js} +10 -10
- package/dist/assets/MagicLinkSignInScreen-hqZFIhM7.js +12 -0
- package/dist/assets/MagicLinkSuccessPage-JRpuY47p-CZGcRvVV.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-CEZGF8ER-DeKkt3UA.js → MagicLinkTitleSection-BnzImXCX-DsNqMADc.js} +9 -9
- package/dist/assets/MailingDetailsSection-aNMVpaF0-Mi3ceriD.js +21 -0
- package/dist/assets/MobileAppDrawer-CXepfp6e.js +1 -0
- package/dist/assets/{MoreMenuButton-BWNCapgP-DzMadVuo.js → MoreMenuButton-C_jqM-Ix-D5fFt93A.js} +23 -23
- package/dist/assets/{MyBankConnectionsSettingsPage-C6p5J_f5-BgARv7Gs.js → MyBankConnectionsSettingsPage-CdW-lOqB-CQAYDmx1.js} +7 -7
- package/dist/assets/MyPendingActivationChargeCardListPage-DKvDUyn7-Cn7MG0Rp.js +6 -0
- package/dist/assets/{MyProfileSettingsPage-Ctkx_sAQ-TcUoiri6.js → MyProfileSettingsPage-ZmPfSk3b-CekXUU4A.js} +6 -6
- package/dist/assets/NavBarWithPicker-BYosIzfk-CHzZbup1.js +30 -0
- package/dist/assets/{NavigationArrow-CUPvxfZv-s1L-Z7hs.js → NavigationArrow-CMLkPq47-BPg7he64.js} +7 -7
- package/dist/assets/NavigationDots-maxhYltq-IyF42HyI.js +15 -0
- package/dist/assets/{NewGlobalMerchantPage-g9JuX6MR-BZjrX0Tw.js → NewGlobalMerchantPage-BkDFFysB-BMj84SI3.js} +4 -4
- package/dist/assets/NoDataChart-CKqR_T30-DZpYrIq4.js +26 -0
- package/dist/assets/{NoDataTable-D1v085Vv-WRE6ppwn.js → NoDataTable-BQLSA76V-CA1kwcWh.js} +1 -1
- package/dist/assets/{NotFoundPage-Bf-EPtU9-Dix88l92.js → NotFoundPage-rtS33FV3-CW80Ae7U.js} +4 -4
- package/dist/assets/NotFoundScreen-86VjMapP.js +1 -0
- package/dist/assets/NotificationRoutes-WpVyAd3n.js +1 -0
- package/dist/assets/{NotificationSettingsPage-Zv4-2vEl-DMc4wF7J.js → NotificationSettingsPage-JJ5a6f1u-Dg5nWtfu.js} +15 -15
- package/dist/assets/NotificationsListConfig-CWWrsRBB-BQkEfnwX.js +1 -0
- package/dist/assets/NotificationsPage-9vgLoVxJ-CqhoB5mC.js +685 -0
- package/dist/assets/OpExByVendorPage-Dy7Ll1zE-CncYLP1q.js +100 -0
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-DuZLyKjH.js → OverlayContainerPage-BG9y5C0t-o9B6MYdd.js} +1 -1
- package/dist/assets/PandLWithForecastPage-D-V3dD71-2GY3G9_S.js +123 -0
- package/dist/assets/PandLWithForecastRoutes-NKWly9at.js +1 -0
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-CqavirRU-DY_xWf64.js → PaymentAccountSetupBillingAddressSection-B_4cMrVT-DX0VhwXR.js} +9 -9
- package/dist/assets/PeoplePage-B9bxxtaC-BUc8a2C6.js +772 -0
- package/dist/assets/PeopleRoutes-LIAWa-ry.js +22 -0
- package/dist/assets/PerformanceRoutes-647LNvtJ.js +1 -0
- package/dist/assets/{Preview-f_rz4qOg.js → Preview-C63MOKlS.js} +1 -1
- package/dist/assets/{ProductsCarousel-Dx8bStwI-5WXVKcMh.js → ProductsCarousel-BnezAuLA-CWNs-1wI.js} +8 -8
- package/dist/assets/{PromoBaseCards-Bauxzwzt-CEuKIUTF.js → PromoBaseCards-B5vRjrOp-DZnXvun2.js} +3 -3
- package/dist/assets/{QBOConnectionDialog-COlHLDTh-CZNls81U.js → QBOConnectionDialog-mVAyONiQ-BFw_Aijs.js} +4 -4
- package/dist/assets/{QBOConnectionScreen-DHVNs-vu.js → QBOConnectionScreen-DPXluGT3.js} +4 -22
- package/dist/assets/{QBOSetupSection-Cb4AlHU9-BwUUouj5.js → QBOSetupSection-Co4tc3sO-UEf5y5yj.js} +14 -14
- package/dist/assets/ReferralListScreen-C9t9-uma.js +5 -0
- package/dist/assets/ReimbursementApprovalRoutes-DBPigEkQ.js +1 -0
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-Cb4wyiiA-OE1Rk5kC.js → ReimbursementApprovalRuleDetailPage-t48xfVQ_-DSouPzhL.js} +6 -6
- package/dist/assets/{ReimbursementApprovalRuleDetailScreen-C0xqudkd.js → ReimbursementApprovalRuleDetailScreen-iL2FRiSL.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-BEid42KU-DOok7S1u.js → ReimbursementApprovalRulesPage-BuOE0xKm-CyQAGb5D.js} +3 -3
- package/dist/assets/ReimbursementDetailPage-oD88KyGk-Z26luXjw.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-fvIAhNdR-BvbfNbzp.js → ReimbursementPromoPage-DC6vQNFr-Df-JQbVt.js} +11 -11
- package/dist/assets/ReimbursementRoutes-DP3Zyw9z.js +13 -0
- package/dist/assets/{ReimbursementSetUpPage-CBKANstD-DthsR-eI.js → ReimbursementSetUpPage-ClkPQCRt-3XXwJA8a.js} +5 -5
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-DiWW85PW-CdKgZHg6.js +1 -0
- package/dist/assets/ReloadCard-DcyZqZO5-CwUMwJXU.js +26 -0
- package/dist/assets/ReportTableViewSelector-Be_385i6-D1d1hisQ.js +151 -0
- package/dist/assets/ReportsPage-Dp_uEJ2H-DsQqyldd.js +258 -0
- package/dist/assets/ReportsRoutes-CQDTEzwi.js +1 -0
- package/dist/assets/{RevenueChart-BHrj8Dy9-DkPntOZK.js → RevenueChart-B-iMe_PD-Bi6Ok69j.js} +12 -12
- package/dist/assets/ReviewDetailsPage--0ZUpEVp-CQmlT2je.js +290 -0
- package/dist/assets/{ReviewOverlay-Be_F1hd--DTVVFQpK.js → ReviewOverlay-D_JI48L0-CyNlOwFh.js} +8 -8
- package/dist/assets/RewardsRoutes-BiuOGirU.js +1 -0
- package/dist/assets/RoleWithToolTip-Bqdsc31P-CNmkPW05.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-h1Ewtn5T-BwfadKPa.js → ScheduleDetailsFixedAssetsPage-vFbciuuA-Diyke3YU.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-Cr-KaH2D-BVZeWx8N.js → ScheduleDetailsPage-BUxgvyKT-Xmkq7RcC.js} +3 -3
- package/dist/assets/ScheduleSequenceTable-CPf50z9S-CLdzdoca.js +324 -0
- package/dist/assets/ScreenRoutes-IYIFGbR5.js +2 -0
- package/dist/assets/{SetUpAccountSection-ULABF-Md-6cmPJvyE.js → SetUpAccountSection-Bk3RGJCY-2x7H96z3.js} +32 -32
- package/dist/assets/{SettingsRoutes-_v8Kd5Pc.js → SettingsRoutes-CEWrZV9M.js} +7 -7
- package/dist/assets/{SetupPagesScreen-DwKZajDO.js → SetupPagesScreen-BFZeWYvZ.js} +6 -6
- package/dist/assets/SignIn-DbvYG8OW-DIGSru0r.js +491 -0
- package/dist/assets/SignInScreen-B27QEE_5.js +1 -0
- package/dist/assets/SignOutScreen-DfH6txYx.js +9 -0
- package/dist/assets/SpendManagementListViewPage-CSGYJyZu-BweWpc_X.js +134 -0
- package/dist/assets/SpendManagementPerTabPage-DuGeuTYQ-DataZT66.js +754 -0
- package/dist/assets/SpendManagementSection-CZ_i360S-BWGL8ndc.js +375 -0
- package/dist/assets/StatementItem-CDx2knrL-D3uOvDYp.js +31 -0
- package/dist/assets/StatementsPage-BMFYpAPA-D3BvQu9P.js +58 -0
- package/dist/assets/{StatusSwitcher-CgzMvf5t-BwsAKxQf.js → StatusSwitcher-CDnarHSf-meshGWkH.js} +6 -6
- package/dist/assets/{SubTabSwitcher-gc5g6vV0-Cc389X5o.js → SubTabSwitcher-DhIXVTVI-Dm-A1aML.js} +9 -9
- package/dist/assets/SuccessAnimation-C-AHWH-M-DYko07lj.js +13 -0
- package/dist/assets/SummaryCard-4S9PQQ5W-B2YKQ_55.js +1 -0
- package/dist/assets/{TaskDetailPage-Brq3l5Lm-CTeGSq5Z.js → TaskDetailPage-rWt-QUEv-DH6XgxNN.js} +45 -45
- package/dist/assets/TaskListScreen-CWIPHTTl.js +9 -0
- package/dist/assets/TaskManagementPage-D3YvKWVJ-DM0xoyo4.js +1067 -0
- package/dist/assets/TaskRoutes-CgARLANx.js +9 -0
- package/dist/assets/TimeRangeSwitcher-CFJrPhfZ-Bh0bakQI.js +64 -0
- package/dist/assets/TimeframeSwitcher-DS6zgSjT-D1R0FMKh.js +31 -0
- package/dist/assets/TimeframeSwitcherWithToggle-Did8-Dj7-CGwKh4M0.js +53 -0
- package/dist/assets/{TopExCard-CRxFMC50-DMFErWO2.js → TopExCard-ByF-svYM-Ctw9EYS9.js} +6 -6
- package/dist/assets/{TopExDetailPage-D7dCJGpQ-CMGX79Ma.js → TopExDetailPage-ABVezwCx-DzhDJZA8.js} +16 -16
- package/dist/assets/{TransactionActivityLogPage-ByyxovGE-srnxYFyd.js → TransactionActivityLogPage-B8ytNODX-DVytAoU9.js} +9 -9
- package/dist/assets/TransactionDetailPage-CunkyIXB-CNc17TsU.js +903 -0
- package/dist/assets/TransactionDetailRoutes-CK-34SUt.js +1 -0
- package/dist/assets/{TransactionDetailScreen-Cf5V0oOT.js → TransactionDetailScreen-DDeYMLmN.js} +2 -2
- package/dist/assets/TransactionList-CEPVnfZD-ClBHZqTs.js +153 -0
- package/dist/assets/{TransactionListBig-BOKPby7d-DtBWL-yV.js → TransactionListBig-BYFv0irc-pAbEVbC_.js} +24 -24
- package/dist/assets/TransactionListPage-CEVs8CRQ-DxaQpOMD.js +35 -0
- package/dist/assets/{TransactionListRoutes-FXzof8yS.js → TransactionListRoutes-DCJ5Lweu.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-BK4zpJ1F-CDApXn9_.js → TransactionVendorDetailPage-DYvgQFQS-DSlx2b8r.js} +4 -4
- package/dist/assets/{TransferDrawerPage-B5ofYt0y-DEB7bAJ_.js → TransferDrawerPage-gDUiIE-g-Bvvjaklx.js} +25 -25
- package/dist/assets/TreasuryOverviewPage-DXIqVBWp-B9pyuKCe.js +725 -0
- package/dist/assets/{TreasuryPromoPage-ofZQDboF-9WAzeWsO.js → TreasuryPromoPage-oERSujnm-ClN1OTf6.js} +24 -24
- package/dist/assets/TreasuryRoutes-BjolvDGd.js +45 -0
- package/dist/assets/TreasuryStatementsPage-GWCCDPvf-_h3417p3.js +58 -0
- package/dist/assets/{TreasuryTaxLetterPage-4aV14kQe-iwLPWGPo.js → TreasuryTaxLetterPage-pTRWyNYH-BQ_qi0uM.js} +4 -4
- package/dist/assets/TrendChart-B2oLQN05-BkrG4BVH.js +16 -0
- package/dist/assets/TrendWithTransactions-Bx63fv0P-BQ8GiA8P.js +116 -0
- package/dist/assets/{UncategorizedAccountsMappingPage-mYSXtdgK-O1FdgaEf.js → UncategorizedAccountsMappingPage-D_QwlpkW-CEr8coR8.js} +5 -5
- package/dist/assets/{UnitIntegrationPage-C44UiDRH-BgZ2EdVh.js → UnitIntegrationPage-EeIQyR4L-D0Uey0gi.js} +4 -4
- package/dist/assets/UploadAdditionalDocumentOverlay-B8_7dtgO-BVpFWtFr.js +38 -0
- package/dist/assets/Vendor2FAPopup-DwTNfggI-QO3FNLHc.js +1 -0
- package/dist/assets/{VendorACHDetailsPage-CxlQSWGZ-Dbr0vyn-.js → VendorACHDetailsPage-KDUuJi9g-SMC7hwJD.js} +1 -1
- package/dist/assets/VendorDetailPage-k42A_Pv1-C-eMTgO6.js +257 -0
- package/dist/assets/VendorDomesticWireDetailsPage-Dotx5CDo-B6fOSB2X.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-DIyS2YV_-BTWZ-u7c.js → VendorFiling1099EditablePage-BUuhWv_U-D-yHNm5T.js} +16 -16
- package/dist/assets/VendorFirstReviewPage-bN7DO44j-DzTJUqvm.js +730 -0
- package/dist/assets/{VendorInternationalWireDetailsPage-DOYmaAmB-DTnVoiG2.js → VendorInternationalWireDetailsPage-DjkOrgs7-CUIWISK5.js} +11 -11
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-BRtCcxHm-BL32YiVm.js +1 -0
- package/dist/assets/{VendorsAccountsSection-D6DinIAj-D7Ln9yoe.js → VendorsAccountsSection-D-7K4aZA-BPnUt7kZ.js} +2 -2
- package/dist/assets/{VendorsRoutes-DoHaVaFK.js → VendorsRoutes-Dh458IQK.js} +21 -21
- package/dist/assets/VerifyDevice-VPfuXUzH-AU1zuQlS.js +112 -0
- package/dist/assets/{VideoPlayer-BuOlZW0M-SyXdcn2w.js → VideoPlayer-2MQyZqi6-DqklpbYT.js} +1 -1
- package/dist/assets/VideoPopup-ZFwt4A81-Ch4C2tup.js +31 -0
- package/dist/assets/WiseConfirmationScreen-Bat277PD.js +12 -0
- package/dist/assets/ZeniAccountDetailPage-CJrpkcjr-CBwTak_Y.js +300 -0
- package/dist/assets/ZeniAccountListViewPage-DvJI3LGF-CKLfdqdE.js +443 -0
- package/dist/assets/ZeniAccountNavBarPieces-UCydmVe7-CXtDBFLP.js +33 -0
- package/dist/assets/{ZeniAccountPromoPage-iELT-FzW-DKlKFYZl.js → ZeniAccountPromoPage-DiGsabvm-C_SqwLVl.js} +22 -22
- package/dist/assets/ZeniAccountRoutes-CAAxW9JY.js +58 -0
- package/dist/assets/{ZeniAccountSetupPage-feqonZIV-CVuTGOWG.js → ZeniAccountSetupPage-hVmIT6tO-tFtJgQAT.js} +4 -4
- package/dist/assets/ZeniAccountStatementScreen-BaoiJX5h.js +9 -0
- package/dist/assets/{ZeniAvatar-CHmpyZc4-CgFMIt8E.js → ZeniAvatar-C2LxBTZ4-YOmVMm4j.js} +3 -3
- package/dist/assets/{ZeniCopyright-Cy7xQhak-XXB-MVSK.js → ZeniCopyright-BTIaEGE9-Di2RxJTA.js} +1 -1
- package/dist/assets/{ZeniDatePicker--Wk1Y9-b-ILzjIY8q.js → ZeniDatePicker-9JxwH7J5-CcV9D7gC.js} +5 -5
- package/dist/assets/ZeniTransferAmountSlider-BlEFrC-Z-rEEslC0z.js +63 -0
- package/dist/assets/{accountMappingHelper-B_bqtQmE.js → accountMappingHelper-CZHlLVR_.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-BJTVCmjO.js → add-to-wallet-DgdBD8_G-BgQLRlhS.js} +1 -1
- package/dist/assets/{analytics-BwviiuqB.js → analytics-CDQ7tGpV.js} +1 -1
- package/dist/assets/{analyticsHelper-MsboCQcB-BLnXrwhy.js → analyticsHelper-CYp9h-KW-6KJErEZC.js} +1 -1
- package/dist/assets/{analyticsHelper-cKb29Ct6.js → analyticsHelper-jTnRtCKB.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-BLBs8ugU.js → arrow-south-east-round-PEovUgvH-CvfiHTRY.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-BZd_9SiP.js → auto-transfer-rule-mbafm5D3-8rMpx5do.js} +1 -1
- package/dist/assets/{avatar-Dz7aEm3d-BFq-rVXj.js → avatar-Dz7aEm3d-BdKWS97a.js} +1 -1
- package/dist/assets/bank-letter-BOcVjN6J-ydWr7ZOI.js +1 -0
- package/dist/assets/{calculateSize-DtEgyuiA-BxRureQo.js → calculateSize-DecSvt-d-CIfCbqel.js} +1 -1
- package/dist/assets/{chartTypes-BZL6U2-d-6ZTLkQO6.js → chartTypes-D2s_Hwo9-BbhqSw8p.js} +1 -1
- package/dist/assets/{clock-CJkylEKt-D86aDGgx.js → clock-CJkylEKt-CjcyjUt4.js} +1 -1
- package/dist/assets/common-BGuhvMjF-Ry4gfI81.js +1 -0
- package/dist/assets/commonDimensions-u85vL09f-D9VH5FSj.js +1 -0
- package/dist/assets/{commonTypes-lunwFIdl-DX_CuL_U.js → commonTypes-DKKiPW4t-BlYaUk1n.js} +1 -1
- package/dist/assets/{core-tQbf9q8c.js → core-B0nKoasK.js} +3 -38
- package/dist/assets/{dash.all.min-BrwO-Juz.js → dash.all.min-CXMi5GlA.js} +1 -1
- package/dist/assets/{decodeURIComponentSafe-DvIz9TKf.js → decodeURIComponentSafe-CHDtTf3Z.js} +1 -1
- package/dist/assets/{dnd-C4z4yHh0.js → dnd-NNN-4w0O.js} +1 -1
- package/dist/assets/{dollar-round-D18u7nlm-DZNtiKOk.js → dollar-round-D18u7nlm-CQw1tD8J.js} +1 -1
- package/dist/assets/downloadPdf-CnXPMbwm-BjEW_jtg.js +1 -0
- package/dist/assets/empty-CVZTZ-q9.js +1 -0
- package/dist/assets/{empty-D8sw2kbY.js → empty-DA-JSLu3.js} +1 -1
- package/dist/assets/epic-D0yDPv8O.js +2 -0
- package/dist/assets/{filter-cZIFUNvj-CE5zJJJ0.js → filter-cZIFUNvj-DAakc3sS.js} +1 -1
- package/dist/assets/getLocaleForTenant-DGG0tVFT.js +1 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-DP-9tFF0.js → gift-box-Cmt9OgIZ-C6pLHK0s.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-OTAmLtfp.js → graphic-no-data-l-DU4J8fDt-Dn4I-rOX.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-C1xtOjga.js → graphic-no-data-net-burn-l-CzmycA0m-DO0fHtUP.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-BLfSpPLa.js → handshake-BPg58FML-C47iPdmd.js} +1 -1
- package/dist/assets/{helper-2Z01-P8G-4I-xsv8A.js → helper-C7sZs2qJ-DE63clA9.js} +2 -2
- package/dist/assets/{hyperlink-DQyCeXx2-B5DTBQjH.js → hyperlink-DQyCeXx2-BOSMM7uX.js} +1 -1
- package/dist/assets/{empty-OIMWR8Ju.js → index-BIjZljJR.js} +1 -1
- package/dist/assets/{index-BVjkKCLf.js → index-ByxsQZNo.js} +4237 -4301
- package/dist/assets/{index-14QtSMKx.js → index-CEBFS-eA.js} +1 -1
- package/dist/assets/{index-7BmdvSTY.js → index-CQJQXzZY.js} +1 -1
- package/dist/assets/{index-C4KA_rsP.js → index-DrsMeyfs.js} +2 -8
- package/dist/assets/index-zhMcpxMF.js +1 -0
- package/dist/assets/{lexical-Cxv_EhfG.js → lexical-Fl-AogKa.js} +1 -1
- package/dist/assets/{liveblocks-ClmZMiZG.js → liveblocks-DskTqGyX.js} +3 -8
- package/dist/assets/{lottie-C1jDoN6L.js → lottie-BzV8yd9z.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-CG-v5g2M-DTh9tKjd.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode--0eoufeA-D7gRkuwi.js → mapSectionWithAcOnlyToTreeNode-Okgefznu-CJAMwNIO.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-Cehw-jOG-pPZFbPSE.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-sCX2cRnL-BfAjp3to.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-yMo9FeMO-BQEyuzFH.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-ww9DgKFP-Cu0SrzZe.js +1 -0
- package/dist/assets/{media-player-CixAJJd1.js → media-player-eLGyvMHZ.js} +2 -2
- package/dist/assets/{money-2cg1MuG4-Bg567PNs.js → money-2cg1MuG4-rv31fLm6.js} +1 -1
- package/dist/assets/{mui-Bjwhey0L.js → mui-40xepic5.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-BjxkU9bj.js → page-detail-CWX5S47F-BrbO3gtI.js} +1 -1
- package/dist/assets/{page-summary-D7_VQHwN-B63O8toS.js → page-summary-D7_VQHwN-bNTaLAow.js} +1 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-DgahycaC.js +3 -0
- package/dist/assets/{pathToGoBack-C0-y9K8A.js → pathToGoBack-D0UTUGlT.js} +1 -1
- package/dist/assets/{pdf-DJ-oF9-h.js → pdf-A8jRKyoC.js} +3 -3
- package/dist/assets/{pdf-lib-CRmnAdOL.js → pdf-lib-mQnebn-k.js} +1 -1
- package/dist/assets/{plaid-CFQSLZ5I.js → plaid-cfgjTkr8.js} +1 -1
- package/dist/assets/{pusher-BBjghr5u.js → pusher-1O2fsDZq.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-D0C1Nxwy.js → radio-default-CiSgisfh-Cy5-Jl8l.js} +1 -1
- package/dist/assets/{react-2Ejhu-dV.js → react-BEcUyG01.js} +2 -12
- package/dist/assets/{react-By0Yo34B.js → react-BEctO-ia.js} +2 -12
- package/dist/assets/{react-BXiKrbq0.js → react-C6o6ScF5.js} +2 -12
- package/dist/assets/react-CQm7lU_-.js +19 -0
- package/dist/assets/{react-BV8b3CRD.js → react-CidUU4N9.js} +2 -12
- package/dist/assets/{react-C5-2CZ_j.js → react-D8s_m7Vn.js} +2 -12
- package/dist/assets/{react-BGKYEK8M.js → react-DcRcFJEU.js} +3 -13
- package/dist/assets/{react-CInUMAlk.js → react-QF7HiPHo.js} +2 -12
- package/dist/assets/{recharts-DxWcXnAv.js → recharts-Bbdho9Pi.js} +1 -1
- package/dist/assets/{routePaths-nQF_3DXR.js → routePaths-CpPoI1xs.js} +1 -1
- package/dist/assets/{sentry-Bsfq8iFp.js → sentry-COYnhuxW.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-BK5y8PC1.js → shield-DOlUxcFf-wVomU2ew.js} +1 -1
- package/dist/assets/{spend-limit-D6SyboD4-BMKkrJ-o.js → spend-limit-D6SyboD4-BruIkKZj.js} +1 -1
- package/dist/assets/toCOABalancesWithID-DinJUeg4-DkE5puj7.js +1 -0
- package/dist/assets/toChartData-DrYGpr_j-D2GR-55Z.js +1 -0
- package/dist/assets/{transaction-placeholder-CpOwZAMG-PFo9FUbu.js → transaction-placeholder-CpOwZAMG-C-J0dsgn.js} +1 -1
- package/dist/assets/{undo-b_3XZ5CX-BAh3h0-i.js → undo-b_3XZ5CX-Chu3klyO.js} +1 -1
- package/dist/assets/{unlock-BPWn2I5L-DEd9hnmz.js → unlock-BPWn2I5L-BGatCFPm.js} +1 -1
- package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-GfUJ6f_w.js +1 -0
- package/dist/assets/{uploadAttachment-DtJo5Tp4-DeK-C7ju.js → uploadAttachment-DPYv4udq-CXZc-rXm.js} +29 -29
- package/dist/assets/{uploadReceipts-Dge0cNF1-D7Fo4MnD.js → uploadReceipts-CIgkuVpu-Mr0MhYx1.js} +1 -1
- package/dist/assets/{url-BaJJd1my.js → url-C27bOf0k.js} +1 -1
- package/dist/assets/{url-gf9VSr2b.js → url-XCmE-JaB.js} +1 -1
- package/dist/assets/{useDeviceId-C7oMV5vx.js → useDeviceId-UXlBHXyB.js} +1 -1
- package/dist/assets/useInitialThreadRequest-BIFRjZze.js +1 -0
- package/dist/assets/{useLongPress-GCK2COYQ-_KCebyG-.js → useLongPress-GCK2COYQ-CqE4OIEm.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-Ce0bTbAT.js → usp-line-BBd1wKwW-vz296XX2.js} +1 -1
- package/dist/assets/{utils-BxRS7J8i.js → utils-DMEPgX6w.js} +7 -20
- package/dist/assets/withTransactionSidePanel-BDgDxNYJ.js +8 -0
- package/dist/assets/zeni-epic-state-DCforPdM.js +14 -0
- package/dist/assets/{zeni-icon-only-CYgNDWlk.js → zeni-icon-only-BkUYNged.js} +1 -1
- package/dist/index.html +1 -1
- package/dist/service-worker.js +16 -8
- package/package.json +4 -4
- package/dist/assets/AccountInfoPage-BTogpO7M-D_v0KOJI.js +0 -18
- package/dist/assets/AccountRow-Zjkju8uM-CGaR_v-A.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-BvGnuIf6-e2c4M17b.js +0 -6
- package/dist/assets/AddressRoutes-zoF4RBjS.js +0 -1
- package/dist/assets/AddressScreen-BGSyJ4PZ.js +0 -9
- package/dist/assets/AiCfoScreen-CFoKGkjU.js +0 -11
- package/dist/assets/AppBasePage-BM1NMPdI-CHojPGrn.js +0 -71
- package/dist/assets/AppDrawerContent-XR9dBd-C-BWr9bkjA.js +0 -92
- package/dist/assets/ApprovalRulesSettingsPage-6unABLlP-YLoMFZPp.js +0 -47
- package/dist/assets/ArAgingChart-DePiNxcV-Byuo2Avb.js +0 -24
- package/dist/assets/ArAgingDetailPage-DiJ6PePf-_AIaQwgF.js +0 -46
- package/dist/assets/BankAccountWarningSection-CtRFcHTv-DFmiiX69.js +0 -51
- package/dist/assets/BillDetailPage-CPxVWXx6-C9i2mOHw.js +0 -266
- package/dist/assets/BillPaySetUpPage-BVOLWF1M-B3PsvONS.js +0 -42
- package/dist/assets/BusinessVerificationPage-D05hRyo1-aQRofHCL.js +0 -138
- package/dist/assets/BusinessVerificationPageScreen-pyooLZWt.js +0 -9
- package/dist/assets/BusyIndication-Nz8htndZ-DK3qiNAN.js +0 -9
- package/dist/assets/ChargeCardListTable-Dblodw9X-xnf7vtTY.js +0 -711
- package/dist/assets/ChargeCardPromoPage-AihUlwys-Do4EWC8a.js +0 -222
- package/dist/assets/CheckDepositDrawerPage-B9-ktuL_-Ck0uGpSM.js +0 -206
- package/dist/assets/CollapsableReportTable-BAz0DbFh-BcvkKcP6.js +0 -2844
- package/dist/assets/CompanyPassportCard-DTfKmcGv-CHazCsBK.js +0 -42
- package/dist/assets/ConfettiBurst-Dc0iIaw3-BJexFSkA.js +0 -1
- package/dist/assets/ConnectionAuthScreen-CdkXEtyU.js +0 -11
- package/dist/assets/CurrencySelectField-D_D8AUqS-CMSYPUvM.js +0 -139
- package/dist/assets/CustomerOnboardingAuthScreen-B9h5R6h7.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-BJV0xAFp-Djr78RES.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-CLFh9K94-C-IOhhJS.js +0 -66
- package/dist/assets/CustomerOnboardingRoutes-CTvxPGQo.js +0 -23
- package/dist/assets/DashboardRoutes-BJYzpoZN.js +0 -21
- package/dist/assets/DepositAccTransactionItem-XZgomj7v-DIzmHak6.js +0 -76
- package/dist/assets/DepositAccTransactionListPage-B11lcuip-EcEiN_CO.js +0 -66
- package/dist/assets/DomesticWireDetailScreen-C2_h3QsH.js +0 -18
- package/dist/assets/DomesticWireDetailsPage-Cw4aq8Ar-BB4UsO3F.js +0 -21
- package/dist/assets/DownloadOverlay-DE63RFQe-Crn2Ieq2.js +0 -439
- package/dist/assets/DrawerScreen-CCgZ71G-.js +0 -1
- package/dist/assets/EditPeoplePage-Dmz2l8uY-BViOrN91.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-BrQ60mqq-CiiPaBXi.js +0 -865
- package/dist/assets/EntityDetailRoutes-CDn_Sj24.js +0 -1
- package/dist/assets/ExpenseAutomationPage-BDZ6aX0q-DsIPZFRk.js +0 -2323
- package/dist/assets/ExpenseAutomationRoutes-DGeHwe0Y.js +0 -20
- package/dist/assets/FeaturePreviewScreen-mO_J_upF.js +0 -1
- package/dist/assets/GlobalReviewListPage-DmrnXFgW-BY6NnEtn.js +0 -291
- package/dist/assets/InsightsCardStack-Dbpzjgf4-RDSpnan7.js +0 -79
- package/dist/assets/InsightsSection-DgViiL7e-DSerJB8L.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-HZgqUkj4-CGNhvpQ2.js +0 -65
- package/dist/assets/InvitePeoplePage-C7DlxHsy-BebMBIo7.js +0 -12
- package/dist/assets/InvoiceUploadSection-DdIQCBkC-Cl8PEl5w.js +0 -140
- package/dist/assets/LabeledAddressValueField-D3_DsNPu-736YXF_H.js +0 -45
- package/dist/assets/LabeledControlledCheckBoxField-DdHmj0q2-DW5E7xm-.js +0 -16
- package/dist/assets/LabeledDocumentField-CFtFroDl-CMnHYN21.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-CFsuVVp3-BZagwxlS.js +0 -59
- package/dist/assets/LabeledText-CZMUFsPf-CD_2e2aX.js +0 -42
- package/dist/assets/MagicLinkACHDetailsPage-CcaWGIEm-tnKPve8j.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-6V37rCS5-FOh6a44O.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-BKWBDCxr-BhDtlKOU.js +0 -1
- package/dist/assets/MagicLinkSignInScreen-D2ieCdvR.js +0 -12
- package/dist/assets/MagicLinkSuccessPage-L5UJIvTe-CWVlYB8D.js +0 -31
- package/dist/assets/MailingDetailsSection-CRsQVOYi-UNrx0RmS.js +0 -21
- package/dist/assets/MobileAppDrawer-C0MjRK8u.js +0 -1
- package/dist/assets/MyPendingActivationChargeCardListPage-CluWS3nS-28_T6_I6.js +0 -6
- package/dist/assets/NavBarWithPicker-ClP6LCUF-DkWJWEu4.js +0 -30
- package/dist/assets/NavigationDots-Cu9LZj7T-Dck-bGwO.js +0 -15
- package/dist/assets/NoDataChart-DcMRzXHU-D7_5REKF.js +0 -26
- package/dist/assets/NotFoundScreen-OFT7uJSm.js +0 -1
- package/dist/assets/NotificationRoutes-CHaXDc9a.js +0 -1
- package/dist/assets/NotificationsListConfig-CO5uOSs7-DsPdEX8y.js +0 -1
- package/dist/assets/NotificationsPage-BH6B4Q8b-boFjpwya.js +0 -685
- package/dist/assets/OpExByVendorPage-EjyJRLhn-CQJtKQn8.js +0 -100
- package/dist/assets/PandLWithForecastPage-UpDz4Qqu-amIAlSUm.js +0 -107
- package/dist/assets/PandLWithForecastRoutes-CnIh_V-S.js +0 -1
- package/dist/assets/PeoplePage-D2N1XP-O-CJwoERS5.js +0 -720
- package/dist/assets/PeopleRoutes-BhDCeLPU.js +0 -22
- package/dist/assets/PerformanceRoutes-BuAZi3MY.js +0 -1
- package/dist/assets/ReferralListScreen-C3cSD6GP.js +0 -5
- package/dist/assets/ReimbursementApprovalRoutes-BR5Pg3Il.js +0 -1
- package/dist/assets/ReimbursementDetailPage-CuuOsKPv-D_7TSHrP.js +0 -314
- package/dist/assets/ReimbursementRoutes-CqJXKBBa.js +0 -13
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-BXO46shT-BZFw04rn.js +0 -1
- package/dist/assets/ReloadCard-BKHKE8Pu-DDzNv6xf.js +0 -26
- package/dist/assets/ReportTableViewSelector-gYxUii1M-CddF7tJN.js +0 -150
- package/dist/assets/ReportsPage-D7rEPLAa-CzmUwcBX.js +0 -121
- package/dist/assets/ReportsRoutes-CYQKfAgF.js +0 -1
- package/dist/assets/ReviewDetailsPage-B9SMV_va-Dz7Rn666.js +0 -290
- package/dist/assets/RewardsRoutes-DCITkj5z.js +0 -1
- package/dist/assets/RoleWithToolTip-D9DCHaph-nKJIR_IN.js +0 -22
- package/dist/assets/ScheduleSequenceTable-BBbLa0gA-Btbrm5JR.js +0 -324
- package/dist/assets/ScreenRoutes-cViWFW2H.js +0 -2
- package/dist/assets/SignIn-6YH_riJW-Cbh0GUA9.js +0 -491
- package/dist/assets/SignInScreen-CQ0tPRGx.js +0 -1
- package/dist/assets/SignOutScreen-DnZtVxxQ.js +0 -9
- package/dist/assets/SpendManagementListViewPage-D_RrkezV-DBINRHHC.js +0 -134
- package/dist/assets/SpendManagementPerTabPage-BnugLA94-B0bXgpZd.js +0 -754
- package/dist/assets/SpendManagementSection-DCk1isQq-Ctg203qT.js +0 -375
- package/dist/assets/StatementItem-BWKA6BsE-j_qG9rDI.js +0 -31
- package/dist/assets/StatementsPage-C5KuiVH4-xnkoQRuk.js +0 -58
- package/dist/assets/SuccessAnimation-CcFXT4sg-BdtQuwgP.js +0 -13
- package/dist/assets/SummaryCard-DgPg2oPm-2d3grF3d.js +0 -1
- package/dist/assets/TaskListScreen-BEZfxkT_.js +0 -9
- package/dist/assets/TaskManagementPage-Dyy-A0ij-BjtjsR1V.js +0 -1063
- package/dist/assets/TaskRoutes-CmFMqx0S.js +0 -9
- package/dist/assets/TimeRangeSwitcher-PcHPZNOq-BoIkN8Yn.js +0 -64
- package/dist/assets/TimeframeSwitcher-XZjkUS_W-BbzICW0F.js +0 -31
- package/dist/assets/TimeframeSwitcherWithToggle-KxCdrFMS-CZUmEkN6.js +0 -31
- package/dist/assets/TransactionDetailPage-D0_Tjv5D-CTxa80yD.js +0 -903
- package/dist/assets/TransactionDetailRoutes-CJny34aF.js +0 -1
- package/dist/assets/TransactionList-DoYieHoy-BgtAc9_H.js +0 -153
- package/dist/assets/TransactionListPage-Bfx0PW2V-CJeBc1uC.js +0 -35
- package/dist/assets/TreasuryOverviewPage-D4LuhPMd-CuGu_xGc.js +0 -708
- package/dist/assets/TreasuryRoutes-DAJ1nuDy.js +0 -45
- package/dist/assets/TreasuryStatementsPage-D4bGPC_n-CT-z0lr5.js +0 -58
- package/dist/assets/TrendChart-BJLik8fK-DKQC7WiX.js +0 -16
- package/dist/assets/TrendWithTransactions-R1FCSydB-BqoO14_s.js +0 -116
- package/dist/assets/UploadAdditionalDocumentOverlay-CJmvE3y6-OjNfOtyQ.js +0 -38
- package/dist/assets/Vendor2FAPopup-Bt_phaZI-Dci0tpRN.js +0 -1
- package/dist/assets/VendorDetailPage-BixXt95H-Cvkoy_Y0.js +0 -257
- package/dist/assets/VendorDomesticWireDetailsPage-BmFZeCgu-BrnPFu_g.js +0 -1
- package/dist/assets/VendorFirstReviewPage-DZ00XYRi-DOa-NUD4.js +0 -730
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-BCafZBL5-a5ZNRrE7.js +0 -1
- package/dist/assets/VerifyDevice-DFug_o82-Cp_iN918.js +0 -112
- package/dist/assets/VideoPopup-B03SM83j-Bz8522QR.js +0 -31
- package/dist/assets/WiseConfirmationScreen-BSiQio9j.js +0 -12
- package/dist/assets/ZeniAccountDetailPage-BJQvxY7D-CD6_hnPE.js +0 -300
- package/dist/assets/ZeniAccountListViewPage-CvwGdUPT-Dfa2vteS.js +0 -441
- package/dist/assets/ZeniAccountNavBarPieces-OGXEdZmI-DYGQS9LW.js +0 -14
- package/dist/assets/ZeniAccountRoutes-XOuwsxr4.js +0 -58
- package/dist/assets/ZeniAccountStatementScreen-xw2x-Y_T.js +0 -9
- package/dist/assets/ZeniTransferAmountSlider-BGK6jY7c-BOtVC5lY.js +0 -63
- package/dist/assets/common-DspMM85g-D8gXTZ7G.js +0 -1
- package/dist/assets/commonDimensions-RZ10geET-D7qPZRI_.js +0 -1
- package/dist/assets/detailCommon-CxEOrtjx-DMWr3OWb.js +0 -38
- package/dist/assets/downloadPdf-BpxrRqLr-CgsZPCp9.js +0 -1
- package/dist/assets/epic-CtBuyKa-.js +0 -2
- package/dist/assets/getLocaleForTenant-x-_ZsHih.js +0 -1
- package/dist/assets/index-Ch36miPU.js +0 -1
- package/dist/assets/index-DztUk-4t.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-BJRnX8Ir-CWTptJHk.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-CQvnRjWo-DwJKT6-z.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-CY0Vs8kK-VBbq9rDC.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-Cytg0KxN-XJ0C0lAw.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-3KVmTdIZ-OlNigbrb.js +0 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-C8dW-sTb.js +0 -4
- package/dist/assets/react-D1LHkJvC.js +0 -37
- package/dist/assets/toCOABalancesWithID-DzAIFjHl-CpHF0N9N.js +0 -1
- package/dist/assets/toChartData-BurvmO_S-BSey2eFY.js +0 -1
- package/dist/assets/useInitialThreadRequest-BFyDtASP.js +0 -1
- package/dist/assets/withTransactionSidePanel-D5JSDlfI.js +0 -8
- package/dist/assets/zeni-epic-state-CjVTQ4J3.js +0 -122
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import{j as e}from"./pdf-DJ-oF9-h.js";import{H5 as ee,cs as q,cz as M,cx as ae,CI as J,GP as se,p4 as we,H6 as W,oU as xe,pd as De,p7 as te,oY as ne,pb as je,p8 as Ie,H7 as oe,qG as ke,H8 as Ee,df as Pe,H9 as A,p1 as ie,o$ as re,ph as ve,bE as Te}from"./zeni-epic-state-CjVTQ4J3.js";import{J as le,aE as X,aG as j,je as z,jZ as de,e as ce,k8 as pe,jC as ue,k9 as Le,b as me,o as R,jF as he,O as ge,ka as Fe,jR as Oe,bc as Re,jl as fe,G as Ve,jA as Ue,kb as Ze,t as Be}from"./index-BVjkKCLf.js";import{D as be,n as _,S as Ce}from"./mui-Bjwhey0L.js";import N from"./NotFoundScreen-OFT7uJSm.js";import{a as i}from"./sentry-Bsfq8iFp.js";import{i as Y,l as $e,u as D,j as Ae,h as He,k as Ge,R as Q,m as $}from"./core-tQbf9q8c.js";import{M as ze}from"./MobileAppDrawer-C0MjRK8u.js";import"./lottie-C1jDoN6L.js";import"./liveblocks-ClmZMiZG.js";import"./recharts-DxWcXnAv.js";import"./dnd-C4z4yHh0.js";import"./analytics-BwviiuqB.js";import"./plaid-CFQSLZ5I.js";import"./utils-BxRS7J8i.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new a.Error().stack;t&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[t]="576c26c0-bcd1-499a-b083-2f7f3a0c0f1b",a._sentryDebugIdIdentifier="sentry-dbid-576c26c0-bcd1-499a-b083-2f7f3a0c0f1b")}catch{}})();const _e={overlayWidth:new me(100,100,58)},H=ge.getLocalizedStrings().peoplePage.invitePage,Ke=({companyId:a,managersListView:t,companyPassportView:r,classListView:n,mode:h,isEditPeopleDrawerOpen:o,closeDrawerHandler:y})=>{const g=le(),m=Y(),[V,k]=i.useState(!1),[U,S]=i.useState(!1),{userId:w}=$e(),d=D(c=>ee(c)),p=D(c=>q(c)),{useFeatureGate:f}=X(),{isFeatureEnabled:I}=f(j.isDebitCardFeatureEnabled),E=M(I,p),T=ae(p),L=J(p),Z=se(p),B=!!p.company?.featuresActivationInfo?.isReimbursementFeatureEnabled,x=!E&&n.fetchState!=="Completed"||t.fetchState!=="Completed"||r.fetchState!=="Completed"||a==null;if(z.getSignedInUser()==null)throw Error("Can't access invite people page without signing in...");const b=()=>{m(W()),y()},u=()=>{V===!0?S(!0):b()},P=r.companyView?.controllers?.map(c=>c.user),{isFeatureEnabled:v}=f(j.isDepositAccountsFeatureEnabled),{isFeatureEnabled:F}=f(j.isChargeCardFeatureEnabled),C=de(p,F,I),{isFeatureEnabled:O}=f(j.isTreasuryEnabled),s={peopleDetails:d,classList:n.classes,managersList:t.users,controllersList:P,mode:h,isZeniTenant:L,isReimbursementDisabled:B===!1,isZeniAccountsDisabled:v===!1,isChargeCardDisabled:C===!1,isTreasuryDisabled:O===!1,isLiteRoleDisabled:Z===!1,isBankingOnlyTenant:E,isCardsOnlyTenant:T,onResetClick:b,onDeleteUser:c=>{m(ne(c.userId,c.userRole.userRoleId))},onPeopleLocalDataUpdated:c=>{m(te({peopleLocalData:c})),k(!0)},onSaveClick:()=>{m(h==="zeni_only"?xe(a):De(L))},onCloseClick:u},l={onOkClick:()=>{S(!1),b()},onCancelClick:()=>{S(!1)}};return i.useEffect(()=>{x===!1&&w!=null&&m(we(w))},[x,w]),i.useEffect(()=>{d.updatePersonState.fetchState==="Completed"&&b()},[d.updatePersonState.fetchState]),e.jsx(be,{anchor:"right",open:o,PaperProps:{style:{width:_e.overlayWidth.valuePercentage(g),boxShadow:"none"}},slotProps:{backdrop:{style:{backgroundColor:ce.overlayDark,cursor:"pointer"}}},onClose:u,children:e.jsxs(We,{onClick:c=>c.stopPropagation(),children:[U===!0?e.jsx(pe,{titleComponent:e.jsx(ye,{children:H.discardTitle}),descriptionComponent:e.jsx(Se,{children:H.discardDescription}),primaryButtonText:H.discard,secondaryButtonText:H.no,action:l,isEditPopup:!0}):null,x||d.person==null?e.jsx(ue,{fetchState:"In-Progress",style:{height:"calc(100vh - 110px)"}}):e.jsx(Le,{...s})]})})},We=_(Ce)`
|
|
2
|
-
display: flex;
|
|
3
|
-
min-height: 100%;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
`,ye=_(he.H6Regular)`
|
|
6
|
-
margin-top: ${R.sp7};
|
|
7
|
-
padding-left: ${R.sp8};
|
|
8
|
-
padding-right: ${R.sp8};
|
|
9
|
-
color: ${a=>a.theme.colors.primary};
|
|
10
|
-
word-break: break-word;
|
|
11
|
-
`,Se=_(he.StandardRegularSp)`
|
|
12
|
-
color: ${a=>a.theme.colors.hero};
|
|
13
|
-
padding-left: ${R.sp8};
|
|
14
|
-
padding-right: ${R.sp8};
|
|
15
|
-
margin-bottom: 30px;
|
|
16
|
-
margin-top: ${R.sp4};
|
|
17
|
-
white-space: pre-line;
|
|
18
|
-
`,qe={overlayWidth:new me(100,100,58)},G=ge.getLocalizedStrings().peoplePage.invitePage,Me=({companyId:a,managersListView:t,companyPassportView:r,classListView:n,mode:h,isInvitePeopleDrawerOpen:o,closeDrawerHandler:y})=>{const g=le(),m=Y(),[V,k]=i.useState(!1),[U,S]=i.useState(!1),w=D(l=>ee(l)),d=D(l=>q(l)),{useFeatureGate:p}=X(),{isFeatureEnabled:f}=p(j.isDebitCardFeatureEnabled),I=M(f,d),E=ae(d),T=J(d),L=se(d),Z=!!d.company?.featuresActivationInfo?.isReimbursementFeatureEnabled,B=!I&&n.fetchState!=="Completed"||t.fetchState!=="Completed"||r.fetchState!=="Completed"||a==null;if(z.getSignedInUser()==null)throw Error("Can't access invite people page without signing in...");const x=()=>{y(),m(W())},b=()=>{V===!0?S(!0):x()},u={onOkClick:()=>{S(!1),x()},onCancelClick:()=>{S(!1)}},P=r.companyView?.controllers.map(l=>l.user),{isFeatureEnabled:v}=p(j.isDepositAccountsFeatureEnabled),{isFeatureEnabled:F}=p(j.isChargeCardFeatureEnabled),C=de(d,F,f),{isFeatureEnabled:O}=p(j.isTreasuryEnabled),s={classList:n.classes,managersList:t.users,controllersList:P,mode:h,isZeniTenant:T,onPeopleLocalDataUpdated:l=>{m(te({peopleLocalData:l})),k(!0)},onResetClick:x,onSaveClick:()=>{m(h==="zeni_only"?je(a):Ie())},onCloseClick:b,peopleDetails:w,isReimbursementDisabled:Z===!1,isLiteRoleDisabled:L===!1,isZeniAccountsDisabled:v===!1,isChargeCardDisabled:C===!1,isTreasuryDisabled:O===!1,isBankingOnlyTenant:I,isCardsOnlyTenant:E};return i.useEffect(()=>{w.invitePersonState.fetchState==="Completed"&&(y(),m(W()))},[w.invitePersonState.fetchState]),e.jsx(be,{anchor:"right",open:o,PaperProps:{style:{width:qe.overlayWidth.valuePercentage(g),boxShadow:"none"}},slotProps:{backdrop:{style:{backgroundColor:ce.overlayDark,cursor:"pointer"}}},onClose:b,children:e.jsxs(Je,{onClick:l=>l.stopPropagation(),children:[U===!0?e.jsx(pe,{titleComponent:e.jsx(ye,{children:G.discardTitle}),descriptionComponent:e.jsx(Se,{children:G.discardDescription}),primaryButtonText:G.discard,secondaryButtonText:G.no,action:u}):null,B?e.jsx(ue,{fetchState:"In-Progress",style:{height:"calc(100vh - 110px)"}}):e.jsx(Fe,{...s})]})})},Je=_(Ce)`
|
|
19
|
-
display: flex;
|
|
20
|
-
min-height: 100%;
|
|
21
|
-
flex-direction: column;
|
|
22
|
-
`,Xe=Ge(function(a,t){const r=oe(a),n=z.getSignedInUser();return{data:r,loggedinUserId:n?.userId??"",isZeniTenant:t.isZeniTenant===!0,shouldFetchClasses:t.shouldFetchClasses,isZeniAdminUser:n?.userEmailDomain==="zeni.ai"&&t.isZeni===!0,analytics:fe}},function(a,t){const{navigate:r,companyId:n,shouldFetchClasses:h}=t;return{personAction:{onPersonDelete:(o,y)=>{a(ne(o,y))},onResendInvite:o=>{a(ve(o))},onReloadPeople:()=>{a(ie()),a(re(n,h))},onBackClick:()=>{r("../../")},onModeChange:o=>{a(A({mode:o,searchText:"",sortKey:"name",sortOrder:"ascending"}))},onSearchTextChanged:o=>{a(A({searchText:o}))}}}})(Ze);function K({isInvitePeopleDrawerOpen:a,isEditPeopleDrawerOpen:t}){const r=Ae(),n=Y(),h=He(),{areTenantIdsInSync:o}=Oe(),y=z.getSignedInUser(),g=D(s=>q(s)),{useFeatureGate:m}=X(),{isFeatureEnabled:V}=m(j.isDebitCardFeatureEnabled),k=!M(V,g),U=J(g),S=g?.tenantId,{tenantEmailDomain:w}=g,[d,p]=i.useState(!1),[f,I]=i.useState(!1),[E,T]=i.useState(!1),[L,Z]=i.useState("off"),[B,x]=i.useState(!1),b=s=>{x(s)},u=D(s=>oe(s)),P=D(s=>ke(s.classState,s.classListState)),v=D(s=>Ee(s.userState,s.userRoleState,s.userListViewState,"manager")),F=D(s=>Pe(s)),C=g?.companyId;i.useEffect(()=>{d&&L===u.uiState.mode||!o||(n(A({searchText:"",sortKey:"name",sortOrder:"ascending"})),Z(u.uiState.mode),p(!0),n(ie()))},[d,y,S,n,u.uiState.mode,o]),i.useEffect(()=>{C!=null&&o&&n(re(C,k))},[C,k,o]),i.useEffect(()=>{I(a!=null&&a===!0),T(t!=null&&t===!0&&t)},[a,t]),i.useEffect(()=>{n(A({searchText:"",sortKey:"name",sortOrder:"ascending"}))},[]);const O=()=>{I(!1),T(!1),r("../")};return e.jsxs(e.Fragment,{children:[u.fetchState==="Completed"?e.jsx(Re,{analytics:fe,onLoad:s=>s.trackPageLoaded(Ve.Event.members)}):null,f===!0?e.jsx(Me,{closeDrawerHandler:O,isInvitePeopleDrawerOpen:f,managersListView:v,companyPassportView:F,classListView:P,companyId:C,mode:u.uiState.mode}):null,E===!0?e.jsx(Ke,{closeDrawerHandler:O,isEditPeopleDrawerOpen:E,managersListView:v,companyPassportView:F,classListView:P,companyId:C,mode:u.uiState.mode}):null,e.jsx(ze,{isAppContentDrawerOpen:B,handleDrawerToggle:b}),e.jsx(Xe,{navigate:r,signedInUser:y,isZeni:g.isZeni,isZeniTenant:U,peopleUIState:u.uiState,companyId:C,shouldFetchClasses:k,classList:P,managersView:v,peopleView:u,onInvitePeopleClick:()=>{r("./new")},onColumnSortConfigChanged:(s,l)=>{n(A({sortKey:s,sortOrder:l}))},onRowClick:s=>{const l=`/${w}/people/${encodeURIComponent(s)}/edit`,c=Ue(h.state?.pathnameStackToGoBack,h.pathname);r(l,{state:{pathnameStackToGoBack:c}})},onClickMenuIcon:()=>{b(!0)}})]})}function ua(){const a=Be();return Te(a?.loggedInUserRole??[])?e.jsxs(Q,{children:[e.jsx($,{path:"/",element:e.jsx(K,{})}),e.jsx($,{path:"new",element:e.jsx(K,{isInvitePeopleDrawerOpen:!0})}),e.jsx($,{path:":userId/edit",element:e.jsx(K,{isEditPeopleDrawerOpen:!0})}),e.jsx($,{path:"*",element:e.jsx(N,{})})]}):e.jsx(Q,{children:e.jsx($,{path:"*",element:e.jsx(N,{})})})}export{ua as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as n}from"./pdf-DJ-oF9-h.js";import C from"./NotFoundScreen-OFT7uJSm.js";import{a as r}from"./sentry-Bsfq8iFp.js";import{j as _,h as E,u as p,l as M,i as v,N as U,k as z,R as A,m as h}from"./core-tQbf9q8c.js";import{cs as F,MK as b,bn as O,bm as P,ex as V,ef as B}from"./zeni-epic-state-CjVTQ4J3.js";import{w as K,je as I,lZ as N}from"./index-BVjkKCLf.js";import"./mui-Bjwhey0L.js";import{M as Z}from"./MobileAppDrawer-C0MjRK8u.js";import"./lottie-C1jDoN6L.js";import"./liveblocks-ClmZMiZG.js";import"./recharts-DxWcXnAv.js";import"./dnd-C4z4yHh0.js";import"./analytics-BwviiuqB.js";import"./plaid-CFQSLZ5I.js";import"./utils-BxRS7J8i.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="b4214f5c-b27d-4af6-8082-65340d50688a",e._sentryDebugIdIdentifier="sentry-dbid-b4214f5c-b27d-4af6-8082-65340d50688a")}catch{}})();const $=z(function(e){const t=I.getSignedInUser(),d=e.tenantState.currentTenantId,o={userId:t?.userId??"",sessionId:t?.zeniSessionId??"",tenantId:d??""},{aggregatedReportViewState:s}=b(e);return{authParams:o,isDisabled:!1,loggedInUser:t,aggregatedReport:s}},function(e,t){return{onBackClick:()=>{t.navigate("../../")},onClickMenuIcon:()=>{t.handleDrawerToggle(!0)}}})(N),q=()=>{const e=_(),t=E(),d=K(),o=p(a=>F(a)),{aggregatedReportViewState:s}=p(a=>b(a)),{tenantEmailDomain:g}=M(),m=v(),l=I.getSignedInUser();if(l==null)throw new Error("Can't access this page without signing in...");const u=r.useRef(!1),[w,S]=r.useState(!1),j=O(o?.userRole??[]),x=o?.userRole?.includes("bookkeeping_admin")??!1,k=P(l),y=j||x||k,c=r.useCallback((a,i,T)=>{m(V({fromMonth:a,toMonth:i,cacheOverride:T}))},[]);r.useEffect(()=>{s?.fetchState==="Completed"&&u.current&&(m(B({messageSection:"data_refresh_update",messageText:"success",type:"success",showStatusIcon:!0})),u.current=!1)},[s?.fetchState]);const D=r.useCallback((a,i)=>{s!=null&&s?.fetchState==="In-Progress"||c(a,i,!0),u.current=!0},[s?.fetchState,c]),R=r.useCallback((a,i)=>{c(a,i,!1)},[c]);if(!y)return n.jsx(U,{to:`/${g}/dashboard`,replace:!0});const f=a=>{S(a)};return n.jsxs(n.Fragment,{children:[n.jsx(Z,{isAppContentDrawerOpen:w,handleDrawerToggle:f}),n.jsx($,{navigate:e,location:t,themeState:d,currentTenant:o,signedInUser:l,tenantEmailDomain:g,onReload:D,onTimeRangeSelect:R,handleDrawerToggle:f})]})};function ie(){return n.jsxs(A,{children:[n.jsx(h,{path:"*",element:n.jsx(q,{})}),n.jsx(h,{path:"*",element:n.jsx(C,{})})]})}export{ie as default};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import{j as t}from"./pdf-DJ-oF9-h.js";import{a as o}from"./sentry-Bsfq8iFp.js";import{u,j as L,i as A,h as F,k as M}from"./core-tQbf9q8c.js";import{y as N,J as V,je as S,kN as W,b as _,jR as U,jC as $,bc as G,jl as l,G as K,jX as z,kO as X}from"./index-BVjkKCLf.js";import{cD as q,cs as Q,JA as R,JB as Y,JC as Z,pK as ee,pA as h,cF as ae,pF as re,JD as ne}from"./zeni-epic-state-CjVTQ4J3.js";import{D as te,e as se,n as oe,S as ie}from"./mui-Bjwhey0L.js";import{M as le}from"./MobileAppDrawer-C0MjRK8u.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="86f2b0c5-ed2d-4547-b74d-7acb52ca31c9",e._sentryDebugIdIdentifier="sentry-dbid-86f2b0c5-ed2d-4547-b74d-7acb52ca31c9")}catch{}})();const ce={overlayWidth:new _(100,100,30)},de=({isReferralDrawerOpen:e,closeDrawerHandler:a})=>{const r=N(),s=V();if(S.getSignedInUser()==null)throw Error("Can't access How Referral works without signing in...");const i=()=>{a(!0)},p=u(c=>q(c));return t.jsx(te,{anchor:"right",open:e,PaperProps:{style:{width:ce.overlayWidth.valuePercentage(s),boxShadow:"none"}},slotProps:{backdrop:{style:{opacity:.75,backgroundColor:r.colors.black,cursor:"pointer"}}},onClose:()=>i(),children:t.jsx(se,{in:e,direction:"left",children:t.jsx(fe,{onClick:c=>c.stopPropagation(),children:t.jsx(W,{onDismissClick:i,rewardsPlan:p.rewardsPlan})})})})},fe=oe(ie)`
|
|
2
|
-
display: flex;
|
|
3
|
-
min-height: 100%;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
`,j="refer-and-earn-status-update",ue=M(function(e){const a=R(e);return{inviteList:a.invitations,uiState:a.uiState,pendingBonus:a.pendingBonus,earnedBonus:a.earnedBonus,pendingReferrals:a.pendingReferrals,fetchState:a.fetchState,rewardsPlan:a.rewardsPlan}},function(e,a){const{navigate:r}=a;return{onColumnSortConfigChanged:(s,i)=>{e(ne({sortOrder:i,sortkey:s}))},onInviteClick:()=>{l.trackRewardsPageClicked("invite via email"),r("../refer")},onHowItWorksClick:()=>{l.trackRewardsPageClicked("know more"),r("../how-it-works")},onResendInviteClick:s=>{l.trackRewardsPageClicked("resend invite"),e(re(s))},onBackClick:()=>{r("../",{relative:"path"})},onReloadInvitees:()=>{e(h(!0))},onCopyReferralLink:()=>{l.trackRewardsPageClicked("copy referral link")},onClickRefer:()=>{l.trackRewardsPageClicked("refer")},onEventReceived:s=>{s===j&&e(h(!0,!0))}}})(z(X));function ve({isReferralDrawerOpen:e}){const a=L(),r=A(),s=F(),[i,p]=o.useState(!1),[c,I]=o.useState(!1),[P,D]=o.useState(!1),[C,b]=o.useState(!1),w=S.getSignedInUser(),v=u(n=>Q(n)),g=u(n=>R(n)),k=g.fetchState,d=u(n=>n.referralViewState.rewardsPlanFetchState),x=()=>{b(!1),a("..")},E=Y([g,d]),B=Z([g,d]),{areTenantIdsInSync:f}=U();o.useEffect(()=>{v?.rewardsLastViewedTime==null&&P===!1&&(r(ee()),D(!0))},[]),o.useEffect(()=>{!i&&k==="Not-Started"&&f&&(p(!0),r(h(!0)))},[k,r,f]),o.useEffect(()=>{!c&&d.fetchState==="Not-Started"&&f&&(I(!0),r(ae(!0)))},[d,r,f]),o.useEffect(()=>{b(e!=null&&e===!0)},[e]);const[O,T]=o.useState(!1),m=n=>{T(n)},H={events:w?.userId!=null?[`private-${w.userId}.${j}`]:[],eventCallback:(n,y,J)=>{J.onEventReceived(n)}};return B===!0?t.jsx($,{fetchState:k}):E===!0?t.jsxs(t.Fragment,{children:[t.jsx(G,{analytics:l,onLoad:n=>(y=>{w!=null&&y.trackPageLoaded(K.Event.rewardsPageViewed)})(n)}),t.jsx(le,{isAppContentDrawerOpen:O,handleDrawerToggle:m}),C===!0?t.jsx(de,{closeDrawerHandler:x,isReferralDrawerOpen:C}):null,t.jsx(ue,{location:s,navigate:a,currentTenant:v,onClickMenuIcon:()=>{m(!0)},...H})]}):null}export{ve as R};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as t}from"./pdf-DJ-oF9-h.js";import x from"./NotFoundScreen-OFT7uJSm.js";import{a as p}from"./sentry-Bsfq8iFp.js";import{j as I,h as A,i as C,u,N as E,k,R as D,m as c}from"./core-tQbf9q8c.js";import{cs as T,Kv as y,KL as g,yq as V,xz as _,yp as m,yg as U,K_ as K}from"./zeni-epic-state-CjVTQ4J3.js";import{y as $,je as N,jC as O,jX as W,ll as q,k3 as z}from"./index-BVjkKCLf.js";import"./mui-Bjwhey0L.js";import{R as h}from"./ReimbursementApprovalRuleDetailScreen-C0xqudkd.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="0ba7352c-a768-49af-a737-4123051acf3d",e._sentryDebugIdIdentifier="sentry-dbid-0ba7352c-a768-49af-a737-4123051acf3d")}catch{}})();const d="reimbursement-approval-rule-update",B=k(function(e){return{approvalView:y(e),remiSetupApproverViewUpdateData:g(e).remiSetupApproverViewUpdateData}},function(e,r){const{navigate:a,location:l}=r;return{onApprovalRulesEventReceived:n=>{n.endsWith(d)&&e(K(!1))},onBackClick:()=>{z(l)?a("../../"):a("../../../reimbursements/setup")},onDeleteRuleClick:n=>{e(U(n))},onEditRuleClick:n=>{n!=null?(e(m(n)),a(`./${n}/edit`)):(e(m()),a("./new"))}}})(W(q)),L=()=>{const e=I(),r=A(),a=C(),[l,n]=p.useState(!1),[f,S]=p.useState(!1),v=u(s=>s.remiSetupApproverViewState.fetchState),o=u(s=>T(s)),j=$(),i=u(s=>y(s)),b=u(s=>g(s).remiSetupApproverViewUpdateData);if(p.useEffect(()=>{b?.updateStatus.fetchState==="Completed"&&a(V())},[b]),p.useEffect(()=>{l||v!=="Not-Started"||(n(!0),a(_(!0)))},[l,v,a]),N.getSignedInUser()==null)throw Error("Can't access reimbursement approval without signing in...");p.useEffect(()=>{i.allApprovalRules.length===0&&i.fetchState==="Completed"&&(f||(S(!0),a(m())),e("./new"))},[f,i,a]);const w={events:o.companyId!=null?[`private-${o.companyId}.${d}`]:[],eventCallback:(s,P,R)=>{s.endsWith(d)&&R.onApprovalRulesEventReceived(s)}};return o.companyReimbursementInfo?.info?.isReimbursementTOSAccepted===!1?t.jsx(E,{to:"../../promo"}):o.companyReimbursementInfo?.info?.isReimbursementTOSAccepted!==!0||i.fetchState!=="Completed"&&i.fetchState!=="Error"?t.jsx(O,{fetchState:"In-Progress",style:{backgroundColor:j.colors.grey5}}):t.jsx(B,{currentTenant:o,location:r,navigate:e,...w})};function Z(){return t.jsxs(D,{children:[t.jsx(c,{path:"/",element:t.jsx(L,{})}),t.jsx(c,{path:"/new",element:t.jsx(h,{})}),t.jsx(c,{path:"/:approvalRuleId/edit",element:t.jsx(h,{})}),t.jsx(c,{path:"*",element:t.jsx(x,{})})]})}export{Z as R};
|
|
@@ -1,314 +0,0 @@
|
|
|
1
|
-
import{t as Dt,c as Ct,J as zt,y as kt,bz as At,b as m,O as et,fy as Mt,fA as Rt,fB as Bt,V as t,bK as Ae,bL as Me,bM as Re,a_ as Be,a6 as y,aM as Pt,cK as Nt,fC as Lt,fN as Pe,o as a,fD as Ne,eD as g,fG as w,eG as x,a4 as Le,eC as _e,j as V,fI as We,a9 as _t,m as Wt,fJ as Et,fK as re,aV as Ot,fL as Ft,a8 as Kt,H as Ut,B as Vt,s as tt,at as it,e as G,W as Gt,bi as Ht,x as Yt,g2 as qt,f$ as Jt,u as c,bB as Zt,cf as Qt}from"./index-BVjkKCLf.js";import{a as p}from"./sentry-Bsfq8iFp.js";import{n as r}from"./mui-Bjwhey0L.js";import{_ as Xt}from"./liveblocks-ClmZMiZG.js";import{bG as ei,b_ as ti,Fl as ii}from"./zeni-epic-state-CjVTQ4J3.js";import ai from"./InvoiceUploadSection-DdIQCBkC-Cl8PEl5w.js";import{r as ri,h as f,u as ni}from"./types-DyvtCprH-VF9iATMs.js";import"./pdf-DJ-oF9-h.js";import"./core-tQbf9q8c.js";import"./lottie-C1jDoN6L.js";import"./dnd-C4z4yHh0.js";import"./analytics-BwviiuqB.js";import"./plaid-CFQSLZ5I.js";import"./recharts-DxWcXnAv.js";import"./utils-BxRS7J8i.js";import"./AttachmentView-ENg9Osic-CFLP9uHu.js";import"./uploadReceipts-Dge0cNF1-D7Fo4MnD.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},C=new e.Error().stack;C&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[C]="374b96d9-b18b-4d84-a152-f90ad33b17d0",e._sentryDebugIdIdentifier="sentry-dbid-374b96d9-b18b-4d84-a152-f90ad33b17d0")}catch{}})();const s={labelWidth:new m(120,160,160),largeLabelWidth:new m(150,235,235),rightMargin:new m(c[3],c[8]),leftMargin:new m(c[3],c[6]),invoiceRightMargin:new m(c[3],c[6]),invoiceLeftMargin:new m(c[3],c[8]),topMargin:new m(c[3],0),bottomMargin:new m(c[4],27),activityBottomMargin:new m(96,0),totalBottomMargin:new m(c[5],c[3]),formBottomMargin:new m(c[5],c[3]),navBarHeight:new m(44,62),closeMarginTop:new m(0,0),rightSectionWidth:new m(100,58),leftSectionWidth:new m(100,42),footerButtonWidth:new m(120,165),right:new m(c[3],c[0]),actionsContainerRight:new m(c[0],c[6]),otherActionsContainerBottom:new m(58,44),duplicateBannerWrapperMarginTop:new m(c[5],c[3]),duplicateBannerWrapperMarginRight:new m(c[3],c[8]),duplicateBannerWrapperMarginBottom:new m(c[5],c[3]),duplicateBannerWrapperMarginLeft:new m(c[3],c[6])},oi={formTitle:new Ut("h6Regular","h5Regular")},na=({remiDetails:e,uploadInvoiceEndPoint:C,authParams:oe,isAdmin:le,signedInUser:se,showApproveRejectBtns:de,isRealTimeApprovalEnabled:ce,isReimbursementCommentingEnabled:u,isShowDeletedReimbursementEnabled:me,isSignedInUserReimbursementCreator:at,updateEditRealTimeApproverClicked:pe,onSaveRealTimeApprovals:ue,redirectToReimbursementListScreen:H,redirectToEditableReimbursementScreen:rt,onDuplicateLineClick:nt,approveOrRejectRemi:he,deleteReimbursement:ot,cancelAndDeleteReport:ye,handleZeniLogoClick:lt,onAddNewRule:be,initialOpenThreadRequest:k})=>{const d=Dt(),st=Ct().analytics,n=zt(),ge=kt(),[dt,A]=p.useState(!1),[Y,q]=p.useState(!1),[ct,J]=p.useState(!1),[Z,Q]=p.useState("approved"),N=p.useRef(null),[S,X]=p.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[z,mt]=p.useState(null),[pt,L]=p.useState(!1),h=`dashboard_${d.currentTenant?.companyId}`,we=p.useRef({}),xe=l=>{const o=we.current[l];o!=null&&setTimeout(()=>ni(o,N.current),100)};p.useEffect(()=>{(e.deleteStatus.fetchState==="Completed"||e.approvalUpdateStatus.fetchState==="Completed"||e.cancelAndDeleteStatus.fetchState==="Completed")&&H()},[e,H]),p.useEffect(()=>{const l=window.location.hash;if(l&&l.startsWith("#L")){const o=l.substring(1);xe(o)}},[]),At({componentName:"reimbursement.details"});const ut={onOkClick:()=>{A(!1),S.primaryButtonText===i.buttons.delete?ot?.():S.title===i.cancelReportTitle?ye?.():S.title===i.cancelAndDeleteReportTitle&&ye?.(!0)},onCancelClick:()=>{A(!1)}},I=s.labelWidth.value(n),M=s.largeLabelWidth.value(n),fe=et.getLocalizedStrings(),{common:{texts:{comments:ht},strings:{empty:ve}},collaboration:{threads:{placeholder:{addANewComment:yt,replyAComment:bt},tooltip:{resolveComment:gt,unResolveComment:wt}}},dateFormat:$e}=fe,{reimbursementDetail:i,bulkActions:_}=fe.spendManagement.reimbursement,ee=e.remiDetails?.reportTitle,j=e.remiDetails?.lines??[],W=e.remiDetails?.reimbursementInfo.stage,E=e.remiDetails?.reimbursementInfo.billStatus,O=e.remiDetails?.reimbursementInfo.billPaymentStatus,Te=W?.code==="paid",xt=Te?W:E?.code=="approved"&&O?.code?O:E,v=li(e.remiDetails),R=E?.code=="approved"&&O?.code?O:E,F=e.remiDetails?.isDeleted??!1,je=e.remiDetails?.amount,Se=e.remiDetails?.amount.amount??0,Ie=()=>{X({title:e.remiDetails?.reimbursementInfo.stage.code==="draft"?i.deleteDraftTitle:i.deleteReportTitle,description:i.deleteAlertDescription,primaryButtonText:i.buttons.delete,secondaryButtonText:i.buttons.cancel}),A(!0)},De=()=>{rt()},ft={onOkClick:l=>{J(!1),he({reimbursementId:e.remiDetails?.id??"",type:"rejected",description:l})},onCancelClick:()=>{J(!1)}},vt=e.remiDetails?.reimbursementInfo.paymentDate!=null?ei(ti(e.remiDetails.reimbursementInfo.paymentDate.toDate(),[0,6],e.achSameDayMaxDays).toDateString()):void 0,te=e.remiDetails?.reimbursementInfo.expectedDepositDate??vt,$t=e.remiDetails?.lines?.some(l=>{const o=l.lineDetail;return o?.account?.isDeleted===!0&&o?.account?.isBillEditableCoaAccountType===!1})??!1,Ce=e.remiDetails?.reimbursementInfo.billStatus.code==="pending_approval"&&at&&!$t,Tt=e.remiDetails?.reimbursementInfo.billStatus.code!=="rejected"&&e.remiDetails?.reimbursementInfo.billPaymentStatus.code!=="paid",ie=xt?.code,jt=ri(e.duplicateLineByLineId),ze=e.duplicateReimbursementStatus.fetchState==="Completed"&&jt>0,{requestToOpenThread:ae,setRequestToOpenThread:K,setOpenThread:U}=p.useContext(Mt);p.useEffect(()=>{k?.threadId!=null&&k?.companyId!=null&&k?.entityType!=null&&K(k)},[k,K]);const{threads:B,isLoading:D}=Rt({application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id,isGlobalComment:!1},"both",!1),St=p.useMemo(()=>B.filter(l=>l.resolved===!1&&!l.id.includes(Bt)),[B]).length,It=p.useCallback((l,o)=>{U(o),L(!1)},[U,L]);p.useEffect(()=>{ae?.threadId!=null&&B.length>0&&!D&&(U(ae.threadId),K(null))},[ae,B,D,U,K]);const b={application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id},P=ii(e.remiDetails?.bulkProcessingDetail?.type);return t.jsxs(Bi,{windowSize:n,ref:N,children:[dt?t.jsx(Ae,{titleComponent:t.jsx(Re,{children:S.title}),descriptionComponent:t.jsx(Me,{children:S.description}),primaryButtonText:S.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:S.secondaryButtonText,action:ut}):null,ct?t.jsx(Ae,{titleComponent:t.jsx(Re,{children:`${i.rejectRemiTitlePrefix} ${e.remiDetails?.reportTitle??""} by ${e.createdBy?.firstName??""} ${e.createdBy?.lastName??""}`}),descriptionComponent:t.jsx(Me,{children:i.rejectRemiDescription}),primaryButtonText:i.buttons.send,secondaryButtonText:i.buttons.cancel,action:ft,isEditPopup:!0,isNotesIncluded:!0,notesPlaceholder:i.rejectRejectReasonPlaceholder}):null,t.jsxs(Di,{windowSize:n,"data-testid":y("reimbursement-detail-page-nav-bar-container"),children:[n!=="small"?t.jsx(Be,{"data-testid":y("reimbursement-detail-page-nav-bar-left"),style:{width:"42%"},title:"",leftSideComponent:t.jsx(Ci,{onClick:()=>lt?.(),"data-testid":y("remi-detail-page-nav-bar-zeni-logo")}),enableTitleOnScroll:!1,backgroundColor:ge.colors.background,keepBackgroundOnScroll:!0,scrollableContent:N,source:"ReimbursementDetailPage"}):null,n!=="small"?t.jsx(ji,{}):null,t.jsx(Be,{"data-testid":y("reimbursement-detail-page-nav-bar-right"),title:ee??ve,leftSideComponent:t.jsx(t.Fragment,{}),style:{width:n!=="small"?"58%":"100%"},rightSideComponent:t.jsxs(ki,{children:[u?t.jsxs(Ai,{isDisabled:D,onClick:D?()=>null:l=>{l.preventDefault(),l.stopPropagation(),mt({roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityType:"reimbursement.details",entityId:e.remiDetails?.id??""}),L(!0),st.trackCommentActivity("reimbursement","clicked",d.currentTenant?.companyName??"",d.controllersList.controllers.map(o=>Nt(o)),void 0,void 0,"page icon")},"data-testid":y("remi-comments-section"),children:[t.jsx(Pt,{count:D?void 0:St,isLoading:D,style:{left:"12px"}}),t.jsx(Mi,{})]}):null,t.jsx(Ri,{size:n,onClick:()=>{H()},"data-testid":y("remi-detail-page-close"),children:t.jsx(zi,{})})]}),scrollableContent:N,enableTitleOnScroll:n!=="small",scrollThreshold:64,source:"ReimbursementDetailPage"})]}),t.jsxs(Oi,{children:[n==="small"?t.jsxs(t.Fragment,{children:[t.jsx(qe,{windowSize:n,children:t.jsx(Je,{windowsSize:n,children:ee})}),e.createdBy?.userId!=null?t.jsx(Ve,{windowSize:n,children:`${i.by} ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,me&&v!=null?t.jsx(Ge,{color:v.color,bgColor:v.bgColor,borderColor:v.borderColor,children:v.value}):null,R?.code!=null?n==="small"?t.jsxs(t.Fragment,{children:[t.jsx(Lt,{progressSectionObj:R,createDate:e.remiDetails?.createTime,paymentDate:te,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:F}),P?t.jsx(Pe,{variant:"warning",style:{margin:`${a.sp5} ${a.sp3}`},title:_.duplicateWarning.title,description:_.duplicateWarning.description}):ze?t.jsxs(Ee,{size:n,children:[t.jsx(Ue,{}),t.jsxs(Fe,{children:[t.jsx(Oe,{children:i.thereSeems}),t.jsx(Ke,{children:i.pleaseFind})]})]}):null]}):t.jsx(Ye,{windowSize:n,children:t.jsx(Ne,{progressSectionObj:R,createDate:e.remiDetails?.createTime,paymentDate:te,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:F})}):null]}):null,j.map((l,o)=>{const $=e.duplicateLineByLineId[l.lineId];return t.jsxs(Xe,{windowSize:n,children:[t.jsx(_i,{windowSize:n,children:t.jsx(Wi,{bottomSeperator:j.length!==1,windowSize:n,children:t.jsx(ai,{showAutofill:!1,uploadInvoiceEndPoint:C,authParams:oe,entityId:e.remiDetails?.id,file:l.file,showTitlebar:!0,showTitlebarIcon:!1,pdfTitle:j.length>1?`#${o+1} Receipt`:"Receipt",style:{width:"auto",padding:0,height:j.length-1===o||o===0?760:451},onInvoiceUpload:()=>{console.log("onInvoiceUpload")},noAttachmentText:i.noReceiptAttached,type:"reimbursement"})})}),t.jsxs(Li,{windowSize:n,children:[o===0&&n!=="small"?t.jsxs(t.Fragment,{children:[t.jsxs(qe,{windowSize:n,children:[t.jsx(Je,{windowsSize:n,children:ee}),me&&v!=null?t.jsx(Ge,{color:v.color,bgColor:v.bgColor,borderColor:v.borderColor,children:v.value}):null]}),e.createdBy?.userId!=null?t.jsx(Ve,{windowSize:n,children:`By ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,R?.code!=null?t.jsx(Ye,{windowSize:n,children:t.jsx(Ne,{progressSectionObj:R,createDate:e.remiDetails?.createTime,paymentDate:te,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:F})}):null,P?t.jsx(Pe,{variant:"warning",style:{margin:`${a.sp3} ${a.sp8} ${a.sp3} ${a.sp6}`},title:_.duplicateWarning.title,description:_.duplicateWarning.description}):ze?t.jsxs(Ee,{size:n,children:[t.jsx(Ue,{}),t.jsxs(Fe,{children:[t.jsx(Oe,{children:i.thereSeems}),t.jsx(Ke,{children:i.pleaseFind})]})]}):null]}):null,t.jsxs(ui,{windowSize:n,ref:ke=>{ke!=null&&(we.current[`L${l.lineId}`]=ke)},children:[n!=="small"?t.jsx(pi,{children:t.jsx(hi,{children:j.length>1?`#${o+1} ${i.reimbursement}`:i.reimbursement})}):null,t.jsxs(yi,{windowSize:n,children:[$?.duplicateLineId!=null?t.jsxs(ci,{children:[i.thisExpenseReview," ",t.jsx(mi,{onClick:()=>{if($.isDuplicateWithinTransaction&&$.duplicateLineId!=null)return xe(`L${$.duplicateLineId}`);$.duplicateTransactionId!=null&&$.duplicateLineId!=null&&nt($.duplicateTransactionId,$.duplicateLineId)},"data-testid":y("remi-view-duplicate-expense"),children:i.viewOriginalExpense})]}):null,t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:l.type===i.mileageKey?`${o}.mileage.reimbursementType`:`${o}.out_of_pocket.reimbursementType`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("reimbursementType",o,l.type===i.mileageKey?"mileage":"out_of_pocket")}`},style:{borderRadius:$?.duplicateLineId==null?`${a.sp2} ${a.sp2} 0 0`:"0 0 0 0"},children:t.jsx(w,{label:{label:i.reimbursementType,width:M},text:l.type===i.mileageKey?i.mileage:i.outOfPocket,style:{width:"auto",borderRadius:$?.duplicateLineId==null?`${a.sp2} ${a.sp2} 0 0`:"0 0 0 0"}})}),t.jsx(T,{}),l.type===i.mileageKey?t.jsxs(t.Fragment,{children:[t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${o}.mileage.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("transactionDate",o,"mileage")}`},children:t.jsx(w,{label:{label:i.transactionDate,width:M},text:l.transactionDate?.format($e.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${o}.mileage.distanceInMiles`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("distanceInMiles",o,"mileage")}`},children:t.jsx(w,{label:{label:i.distanceInMiles,width:M},text:l.distanceMileage.value.toString()??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${o}.mileage.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("amount",o,"mileage")}`},children:t.jsx(w,{label:{label:i.amount,width:I},text:l.homeCurrencyConversions!=null?Le("0,0[.]00",l.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${o}.mileage.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("memo",o,"mileage")}`},children:t.jsx(w,{label:{label:i.memo,width:I},text:l.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${o}.mileage.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("class",o,"mileage")}`},style:{borderRadius:`0 0 ${a.sp2} ${a.sp2}`},children:t.jsx(w,{label:{label:i.department,width:I},text:l.lineDetail.class?.className??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${a.sp2} ${a.sp2}`}})})]}):t.jsxs(t.Fragment,{children:[t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${o}.out_of_pocket.merchant`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("merchant",o,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.merchant,width:M},text:l.merchant?.name??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${o}.out_of_pocket.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("transactionDate",o,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.transactionDate,width:M},text:l.transactionDate?.format($e.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${o}.out_of_pocket.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("amount",o,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.amount,width:I},text:l.homeCurrencyConversions!=null?Le("0,0[.]00",l.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${o}.out_of_pocket.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("memo",o,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.memo,width:I},text:l.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${o}.out_of_pocket.account`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("account",o,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.category,width:I},text:l.lineDetail.account?.accountName??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(g,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${o}.out_of_pocket.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...b,entityType:`reimbursement.details.${f("class",o,"out_of_pocket")}`},style:{borderRadius:`0 0 ${a.sp2} ${a.sp2}`},children:t.jsx(w,{label:{label:i.department,width:I},text:l.lineDetail.class?.className??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${a.sp2} ${a.sp2}`}})})]})]})]}),j.length!==1&&j.length===o+1&&t.jsxs(Ni,{windowSize:n,children:[t.jsxs(Ze,{windowSize:n,children:[t.jsx(Qe,{children:i.total}),t.jsx(_e,{amount:je,integerStyles:V.h6Regular.cssObject,decimalStyles:V.standardRegular.cssObject})]}),e.remiDetails&&t.jsx(We,{amount:Se,activities:e.remiActivities,stage:W?.code??"draft",onAddNewRule:be,entity:"reimbursement",realTimeApproval:{allApprovers:e.filteredApprovers,filteredAttributes:e.filteredAttributes,allAccountingClass:e.allAccountingClasses,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode??!1,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,attributeSubTypeToUserIdMapping:e.attributeSubTypeToUserIdMapping,isAdmin:le,signedInUserId:se?.userId,showRealTimeApproval:ce,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:pe,onSaveRealTimeApprovals:ue},historicActivities:e.remiHistory.activities})]})]})]},l.lineId)}),j.length===1&&t.jsxs(Xe,{windowSize:n,children:[t.jsx(He,{}),t.jsxs(si,{windowSize:n,children:[t.jsx(Pi,{windowSize:n,children:t.jsxs(Ze,{windowSize:n,children:[t.jsx(Qe,{children:i.total}),t.jsx(_e,{amount:je,integerStyles:V.h6Regular.cssObject,decimalStyles:V.standardRegular.cssObject})]})}),e.remiDetails&&t.jsx(di,{windowSize:n,children:t.jsx(We,{amount:Se,activities:e.remiActivities,stage:W?.code??"draft",onAddNewRule:be,entity:"reimbursement",historicActivities:e.remiHistory.activities,realTimeApproval:{allApprovers:e.filteredApprovers,allAccountingClass:e.allAccountingClasses,filteredAttributes:e.filteredAttributes,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode??!1,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,attributeSubTypeToUserIdMapping:e.attributeSubTypeToUserIdMapping,isAdmin:le,signedInUserId:se?.userId,showRealTimeApproval:ce,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:pe,onSaveRealTimeApprovals:ue}})})]})]}),t.jsx(Ei,{})]}),Te||F===!0?null:t.jsxs(Ii,{children:[n!=="small"?t.jsx(He,{}):null,t.jsx(gi,{windowSize:n,"data-testid":y("remi-detail-page-footer"),onClick:l=>{l.stopPropagation(),Y===!0&&q(!1)},children:t.jsx(_t,{separatorStyle:{marginRight:a.sp4},showPrimaryButton:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||de,showCancel:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||de,cancelBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?n==="small"?i.buttons.delete:i.buttons.deleteReport:n==="small"?i.buttons.reject:i.buttons.rejectReport,isLoading:Z==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress"||Z==="delete"&&e.deleteStatus.fetchState==="In-Progress",onClick:()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?(Q("delete"),Ie()):(Q("rejected"),J(!0))},style:{width:s.footerButtonWidth.value(n)},reverseSpinnerColor:!1},primaryBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?n==="small"?i.buttons.edit:i.buttons.editAndResubmit:n==="small"?i.buttons.approve:i.buttons.approveReport,isLoading:Z==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?De():(Q("approved"),he({reimbursementId:e.remiDetails?.id??"",type:"approved"}))},style:{width:s.footerButtonWidth.value(n)},isDisabled:e.approvalUpdateStatus.fetchState==="In-Progress"||e.realTimeApproval.isEditMode===!0},rightSideComponent:t.jsx(bi,{children:t.jsxs(Si,{windowSize:n,children:[!P&&Y?t.jsx(Wt,{onClickAway:()=>q(!1),children:t.jsxs(Ti,{windowSize:n,children:[ie!=="processing"?t.jsx(ne,{onClick:Ie,"data-testid":y("remi-delete-action"),children:i.buttons.deleteReport}):null,ie==="processing"?t.jsx(ne,{onClick:()=>{X({title:i.cancelReportTitle,description:i.cancelAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),A(!0)},"data-testid":y("remi-cancel-action"),children:i.buttons.cancel}):null,ie==="processing"?t.jsx(ne,{onClick:()=>{X({title:i.cancelAndDeleteReportTitle,description:i.cancelAndDeleteAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),A(!0)},"data-testid":y("remi-cancel-and-delete-action"),children:i.buttons.cancelAndDelete}):null]})}):null,t.jsxs($i,{windowSize:n,children:[!P&&Ce?t.jsx(vi,{onClick:De,"data-testid":y("remi-edit-button"),children:t.jsx(fi,{})}):null,P||Tt!==!0?null:t.jsx(xi,{windowSize:n,showEditIcon:Ce,children:t.jsx(wi,{onClick:()=>q(!Y),"data-testid":y("remi-more-actions-button")})})]})]})}),style:{minHeight:62}})})]}),u?t.jsx(Xt,{id:h,children:t.jsx(Et,{isDrawerOpen:pt,allowComposer:!0,drawerTitle:ht,threads:B,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:z?.companyId??ve,isGlobalComment:!1,tab:"reimbursement"},isLoading:D,threadMetadata:z?{companyName:z.companyName,companyId:z.companyId,entityId:z.entityId,entityType:z.entityType,isGlobalComment:!1,application:"dashboard",tab:"reimbursement",url:window.location.href}:void 0,textOverrides:{composerPlaceholder:yt,replyComposerPlaceholder:bt,threadResolve:gt,threadUnResolve:wt},onThreadClick:(l,o)=>It(l,o),onCloseAllThreadsDrawer:()=>L(!1),drawerSectionStyle:{width:"400px",backgroundColor:ge.colors.background}})}):null]})},li=e=>{const C=et.getLocalizedStrings().spendManagement.billPay.billsByTabs;if(e?.isDeleted===!0)return{value:C.tabsById.deleted,color:re.deleted.color,bgColor:re.deleted.bgColor,borderColor:re.deleted.borderColor,code:"deleted"}},si=r.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
width: ${e=>s.rightSectionWidth.valuePercentage(e.windowSize)};
|
|
5
|
-
`,di=r.div`
|
|
6
|
-
margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
|
|
7
|
-
margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
|
|
8
|
-
margin-bottom: ${e=>s.activityBottomMargin.valuePx(e.windowSize)};
|
|
9
|
-
`,ci=r(Gt)`
|
|
10
|
-
padding: ${a.sp2} ${a.sp0} ${a.sp2} ${a.sp4};
|
|
11
|
-
background-color: ${G.alertLight};
|
|
12
|
-
color: ${G.brandColorGoldDark};
|
|
13
|
-
border-top-left-radius: inherit;
|
|
14
|
-
border-top-right-radius: inherit;
|
|
15
|
-
`,mi=r.span`
|
|
16
|
-
border-bottom: 1px solid currentColor;
|
|
17
|
-
cursor: pointer;
|
|
18
|
-
`,Ee=r.div`
|
|
19
|
-
display: flex;
|
|
20
|
-
gap: ${a.sp2};
|
|
21
|
-
padding: ${a.sp3};
|
|
22
|
-
border-radius: ${a.sp2};
|
|
23
|
-
align-items: start;
|
|
24
|
-
margin-top: ${e=>s.duplicateBannerWrapperMarginTop.valuePx(e.size)};
|
|
25
|
-
margin-right: ${e=>s.duplicateBannerWrapperMarginRight.valuePx(e.size)};
|
|
26
|
-
margin-bottom: ${e=>s.duplicateBannerWrapperMarginBottom.valuePx(e.size)};
|
|
27
|
-
margin-left: ${e=>s.duplicateBannerWrapperMarginLeft.valuePx(e.size)};
|
|
28
|
-
background-color: ${G.alertLight};
|
|
29
|
-
border: 1px solid ${e=>e.theme.colors.brandColorGoldDark};
|
|
30
|
-
`,Oe=r(Zt)`
|
|
31
|
-
color: ${e=>e.theme.colors.brandColorGoldDark};
|
|
32
|
-
`,Fe=r.div`
|
|
33
|
-
width: 100%;
|
|
34
|
-
`,Ke=r(tt)`
|
|
35
|
-
color: ${e=>e.theme.colors.brandColorGoldDark};
|
|
36
|
-
`,Ue=r(Qt)`
|
|
37
|
-
width: ${a.sp4};
|
|
38
|
-
height: ${a.sp4};
|
|
39
|
-
color: ${G.brandColorGoldDark};
|
|
40
|
-
`,Ve=r(tt)`
|
|
41
|
-
margin-bottom: ${e=>s.bottomMargin.valuePx(e.windowSize)};
|
|
42
|
-
margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
|
|
43
|
-
margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
|
|
44
|
-
color: ${e=>e.theme.colors.primary};
|
|
45
|
-
`,pi=r.div`
|
|
46
|
-
display: flex;
|
|
47
|
-
justify-content: space-between;
|
|
48
|
-
`,ui=r.div`
|
|
49
|
-
margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
|
|
50
|
-
margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
|
|
51
|
-
`,hi=r(it)`
|
|
52
|
-
color: ${e=>e.theme.colors.primary};
|
|
53
|
-
margin-bottom: ${a.sp3};
|
|
54
|
-
`,yi=r.div`
|
|
55
|
-
display: flex;
|
|
56
|
-
flex-direction: column;
|
|
57
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
58
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
59
|
-
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
60
|
-
border-radius: ${a.sp2};
|
|
61
|
-
margin-bottom: ${e=>s.formBottomMargin.valuePx(e.windowSize)};
|
|
62
|
-
z-index: 3;
|
|
63
|
-
`,bi=r.div`
|
|
64
|
-
display: flex;
|
|
65
|
-
justify-content: flex-end;
|
|
66
|
-
`,gi=r.div`
|
|
67
|
-
width: ${e=>s.rightSectionWidth.valuePercentage(e.windowSize)};
|
|
68
|
-
`,wi=r(Jt)`
|
|
69
|
-
cursor: pointer;
|
|
70
|
-
color: ${e=>e.theme.colors.hero};
|
|
71
|
-
width: ${a.sp5};
|
|
72
|
-
height: ${a.sp5};
|
|
73
|
-
&:hover {
|
|
74
|
-
color: ${e=>e.theme.colors.primary};
|
|
75
|
-
}
|
|
76
|
-
`,xi=r.div`
|
|
77
|
-
display: flex;
|
|
78
|
-
margin-left: ${e=>e.windowSize==="small"?e.showEditIcon===!0?a.sp3:a.sp4:a.sp5};
|
|
79
|
-
cursor: pointer;
|
|
80
|
-
color: ${e=>e.theme.colors.grey1};
|
|
81
|
-
&:hover {
|
|
82
|
-
color: ${e=>e.theme.colors.primary};
|
|
83
|
-
}
|
|
84
|
-
`,fi=r(qt)`
|
|
85
|
-
cursor: pointer;
|
|
86
|
-
color: ${e=>e.theme.colors.hero};
|
|
87
|
-
width: ${a.sp5};
|
|
88
|
-
height: ${a.sp5};
|
|
89
|
-
&:hover {
|
|
90
|
-
color: ${e=>e.theme.colors.primary};
|
|
91
|
-
}
|
|
92
|
-
`,vi=r.div`
|
|
93
|
-
display: flex;
|
|
94
|
-
cursor: pointer;
|
|
95
|
-
color: ${e=>e.theme.colors.grey1};
|
|
96
|
-
margin-left: ${a.sp4};
|
|
97
|
-
&:hover {
|
|
98
|
-
color: ${e=>e.theme.colors.primary};
|
|
99
|
-
}
|
|
100
|
-
`,Ge=r(it)`
|
|
101
|
-
display: flex;
|
|
102
|
-
color: ${e=>e.borderColor};
|
|
103
|
-
align-items: center;
|
|
104
|
-
justify-content: flex-end;
|
|
105
|
-
margin-left: ${a.sp3};
|
|
106
|
-
padding: 1px 6px 1px 6px;
|
|
107
|
-
border: ${e=>`1px solid ${e.borderColor}`};
|
|
108
|
-
border-radius: ${a.sp1};
|
|
109
|
-
min-width: fit-content;
|
|
110
|
-
max-width: fit-content;
|
|
111
|
-
`,$i=r.div`
|
|
112
|
-
display: flex;
|
|
113
|
-
justify-content: center;
|
|
114
|
-
align-items: center;
|
|
115
|
-
`,Ti=r.div`
|
|
116
|
-
display: flex;
|
|
117
|
-
width: max-content;
|
|
118
|
-
align-items: center;
|
|
119
|
-
justify-content: center;
|
|
120
|
-
flex-direction: column;
|
|
121
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
122
|
-
color: ${e=>e.theme.colors.hero};
|
|
123
|
-
cursor: pointer;
|
|
124
|
-
padding-top: ${a.sp1};
|
|
125
|
-
padding-bottom: ${a.sp1};
|
|
126
|
-
position: absolute;
|
|
127
|
-
bottom: ${e=>s.otherActionsContainerBottom.valuePx(e.windowSize)};
|
|
128
|
-
z-index: 3;
|
|
129
|
-
border: ${e=>`1px solid ${e.theme.colors.grey3}`};
|
|
130
|
-
border-radius: ${a.sp1};
|
|
131
|
-
right: ${e=>s.right.valuePx(e.windowSize)};
|
|
132
|
-
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.grey1} 3D`};
|
|
133
|
-
`,ji=r.div`
|
|
134
|
-
position: fixed;
|
|
135
|
-
top: 0;
|
|
136
|
-
left: 42vw;
|
|
137
|
-
width: 100%;
|
|
138
|
-
height: 100vh;
|
|
139
|
-
background: transparent;
|
|
140
|
-
box-shadow: 0 2px ${a.sp1} ${({theme:e})=>e.colors.dropShadowNormal};
|
|
141
|
-
pointer-events: none;
|
|
142
|
-
z-index: 1;
|
|
143
|
-
`,Si=r.div`
|
|
144
|
-
width: auto;
|
|
145
|
-
justify-content: flex-end;
|
|
146
|
-
position: ${e=>e.windowSize==="small"?"static":"relative"};
|
|
147
|
-
right: ${e=>s.actionsContainerRight.valuePx(e.windowSize)};
|
|
148
|
-
height: 100%;
|
|
149
|
-
display: flex;
|
|
150
|
-
`,ne=r(Yt)`
|
|
151
|
-
display: flex;
|
|
152
|
-
align-items: center;
|
|
153
|
-
width: 100%;
|
|
154
|
-
padding-left: ${a.sp3};
|
|
155
|
-
padding-right: ${a.sp3};
|
|
156
|
-
height: ${a.sp6};
|
|
157
|
-
box-sizing: border-box;
|
|
158
|
-
&:hover {
|
|
159
|
-
background-color: ${e=>e.theme.colors.background};
|
|
160
|
-
}
|
|
161
|
-
`,Ii=r.div`
|
|
162
|
-
display: flex;
|
|
163
|
-
width: 100%;
|
|
164
|
-
position: sticky;
|
|
165
|
-
bottom: 0;
|
|
166
|
-
z-index: 2;
|
|
167
|
-
`,Di=r.div`
|
|
168
|
-
min-height: ${e=>s.navBarHeight.valuePx(e.windowSize)};
|
|
169
|
-
height: ${e=>s.navBarHeight.valuePx(e.windowSize)};
|
|
170
|
-
display: flex;
|
|
171
|
-
align-items: center;
|
|
172
|
-
width: 100%;
|
|
173
|
-
justify-content: space-between;
|
|
174
|
-
position: fixed;
|
|
175
|
-
z-index: 4;
|
|
176
|
-
`,Ci=r(Ot)`
|
|
177
|
-
color: ${e=>e.theme.colors.brandColorJade};
|
|
178
|
-
cursor: pointer;
|
|
179
|
-
width: ${a.sp4};
|
|
180
|
-
height: ${a.sp4};
|
|
181
|
-
`,T=r.div`
|
|
182
|
-
display: flex;
|
|
183
|
-
flex: 1;
|
|
184
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
185
|
-
min-height: 1px;
|
|
186
|
-
max-height: 1px;
|
|
187
|
-
`,zi=r(Kt)`
|
|
188
|
-
cursor: pointer;
|
|
189
|
-
width: ${a.sp4};
|
|
190
|
-
height: ${a.sp4};
|
|
191
|
-
float: right;
|
|
192
|
-
color: ${e=>e.theme.colors.hero};
|
|
193
|
-
&:hover {
|
|
194
|
-
color: ${e=>e.theme.colors.primary};
|
|
195
|
-
}
|
|
196
|
-
`,ki=r.div`
|
|
197
|
-
margin-top: ${e=>s.closeMarginTop.valuePx(e.windowSize)};
|
|
198
|
-
display: flex;
|
|
199
|
-
float: right;
|
|
200
|
-
`,Ai=r.div`
|
|
201
|
-
display: flex;
|
|
202
|
-
align-items: center;
|
|
203
|
-
justify-content: center;
|
|
204
|
-
position: relative;
|
|
205
|
-
cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
|
|
206
|
-
color: ${e=>e.theme.colors.hero};
|
|
207
|
-
&:hover {
|
|
208
|
-
color: ${e=>e.theme.colors.primary};
|
|
209
|
-
}
|
|
210
|
-
`,Mi=r(Ft)`
|
|
211
|
-
display: flex;
|
|
212
|
-
width: ${a.sp4};
|
|
213
|
-
height: ${a.sp4};
|
|
214
|
-
align-items: center;
|
|
215
|
-
justify-content: center;
|
|
216
|
-
`,Ri=r.div`
|
|
217
|
-
margin-top: ${e=>s.closeMarginTop.valuePx(e.size)};
|
|
218
|
-
margin-left: ${a.sp5};
|
|
219
|
-
`,Bi=r.div`
|
|
220
|
-
display: flex;
|
|
221
|
-
flex-direction: column;
|
|
222
|
-
width: 100vw;
|
|
223
|
-
background: -webkit-linear-gradient(
|
|
224
|
-
to right,
|
|
225
|
-
${e=>e.theme.colors.background} 42%,
|
|
226
|
-
${e=>e.theme.colors.grey4} 42%
|
|
227
|
-
);
|
|
228
|
-
background: -moz-linear-gradient(
|
|
229
|
-
to right,
|
|
230
|
-
${e=>e.theme.colors.background} 42%,
|
|
231
|
-
${e=>e.theme.colors.grey4} 42%
|
|
232
|
-
);
|
|
233
|
-
background: -o-linear-gradient(
|
|
234
|
-
to right,
|
|
235
|
-
${e=>e.theme.colors.background} 42%,
|
|
236
|
-
${e=>e.theme.colors.grey4} 42%
|
|
237
|
-
);
|
|
238
|
-
background: linear-gradient(
|
|
239
|
-
to right,
|
|
240
|
-
${e=>e.theme.colors.background} 42%,
|
|
241
|
-
${e=>e.theme.colors.grey4} 42%
|
|
242
|
-
);
|
|
243
|
-
${e=>e.windowSize==="small"&&`
|
|
244
|
-
background: ${e.theme.colors.grey4};
|
|
245
|
-
`}
|
|
246
|
-
height: 100vh;
|
|
247
|
-
overflow: scroll;
|
|
248
|
-
`,He=r.div`
|
|
249
|
-
width: 42%;
|
|
250
|
-
`,Pi=r.div`
|
|
251
|
-
margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
|
|
252
|
-
margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
|
|
253
|
-
`,Ye=r.div`
|
|
254
|
-
margin-bottom: ${e=>s.bottomMargin.valuePx(e.windowSize)};
|
|
255
|
-
margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
|
|
256
|
-
margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
|
|
257
|
-
`,qe=r.div`
|
|
258
|
-
display: flex;
|
|
259
|
-
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
260
|
-
align-items: ${e=>e.windowSize==="small"?"unset":"center"};
|
|
261
|
-
margin-top: ${e=>s.topMargin.valuePx(e.windowSize)};
|
|
262
|
-
margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
|
|
263
|
-
margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
|
|
264
|
-
width: ${e=>e.windowSize==="small"?"fit-content":"unset"};
|
|
265
|
-
`,Je=r(Vt)`
|
|
266
|
-
flex-grow: 1;
|
|
267
|
-
${e=>`${oi.formTitle.style(e.windowsSize)}`};
|
|
268
|
-
color: ${e=>e.theme.colors.primary};
|
|
269
|
-
word-break: break-all;
|
|
270
|
-
`,Ni=r.div`
|
|
271
|
-
display: flex;
|
|
272
|
-
flex-direction: column;
|
|
273
|
-
margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
|
|
274
|
-
margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
|
|
275
|
-
`,Ze=r.div`
|
|
276
|
-
padding: ${a.sp3};
|
|
277
|
-
display: flex;
|
|
278
|
-
align-items: center;
|
|
279
|
-
justify-content: center;
|
|
280
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
281
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
282
|
-
border-radius: ${a.sp2};
|
|
283
|
-
color: ${e=>e.theme.colors.hero};
|
|
284
|
-
margin-bottom: ${e=>s.totalBottomMargin.valuePx(e.windowSize)};
|
|
285
|
-
justify-content: space-between;
|
|
286
|
-
`,Qe=r(Ht)`
|
|
287
|
-
display: flex;
|
|
288
|
-
width: 176px;
|
|
289
|
-
color: ${e=>e.theme.colors.primary};
|
|
290
|
-
`,Li=r.div`
|
|
291
|
-
display: flex;
|
|
292
|
-
flex-direction: column;
|
|
293
|
-
width: ${e=>s.rightSectionWidth.valuePercentage(e.windowSize)};
|
|
294
|
-
`,Xe=r.div`
|
|
295
|
-
display: flex;
|
|
296
|
-
width: 100%;
|
|
297
|
-
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
298
|
-
align-items: ${e=>e.windowSize==="small"?"center":"flex-start"};
|
|
299
|
-
`,_i=r.div`
|
|
300
|
-
width: ${e=>s.leftSectionWidth.valuePercentage(e.windowSize)};
|
|
301
|
-
`,Wi=r.div`
|
|
302
|
-
background: ${e=>e.theme.colors.grey3};
|
|
303
|
-
border-radius: ${a.sp2};
|
|
304
|
-
margin-top: ${e=>s.topMargin.valuePx(e.windowSize)};
|
|
305
|
-
margin-left: ${e=>s.invoiceLeftMargin.valuePx(e.windowSize)};
|
|
306
|
-
margin-right: ${e=>s.invoiceRightMargin.valuePx(e.windowSize)};
|
|
307
|
-
margin-bottom: ${e=>e.bottomSeperator===!0&&e.windowSize!=="small"?"107px":a.sp5};
|
|
308
|
-
`,Ei=r.div`
|
|
309
|
-
display: flex;
|
|
310
|
-
flex-direction: column;
|
|
311
|
-
height: ${a.sp11};
|
|
312
|
-
`,Oi=r.div`
|
|
313
|
-
margin-top: 78px;
|
|
314
|
-
`;export{na as default};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import{j as i}from"./pdf-DJ-oF9-h.js";import{j as H,i as ne,h as G,l as V,u as x,N as F,k as Z,g as Je,R as Xe,m as C}from"./core-tQbf9q8c.js";import{cs as M,K$ as ae,bE as se,xu as Re,gV as Qe,L0 as Ye,bm as ie,dn as ke,L1 as et,fH as tt,Kh as nt,fW as at,xi as st,os as it,fO as rt,y2 as ve,L2 as Ae,L3 as ot,L4 as lt,L5 as mt,L6 as ct,xH as ut,L7 as dt,xO as de,g0 as pt,Kq as bt,xI as gt,xs as ht,L8 as St,xr as ft,L9 as It,xA as pe,xS as yt,xR as Rt,xN as kt,xG as vt,La as Ee,CI as At,bn as Et,xD as Ct,yk as xt,Lb as Bt,Lc as Tt,x_ as wt,xX as be,JM as Lt,xp as jt,Ld as Ce,yJ as ge,yR as Dt,Le as Ft,Lf as $,Lg as Ut,Lh as xe,Li as Pt,Lj as Be,Lk as Te,ya as Y,bq as _t,Fk as re,bL as oe,cz as we,cx as Le,Ll as $t,ef as Nt,JZ as Mt,Lm as Ot,Ln as je,K1 as Gt,KL as Ht,Lo as Zt,K_ as Kt,yO as he,yN as zt,Lp as Vt,Lq as Wt,Lr as qt,Ls as Jt,Lt as Xt,Kw as Qt,yE as Yt,yI as en,bt as tn,Fa as nn,Fb as an,Ek as sn,Ej as rn,Gp as on,bM as ln,bO as mn,bN as cn,bK as un}from"./zeni-epic-state-CjVTQ4J3.js";import{y as W,w as De,aE as q,aG as k,je as j,jC as K,o as le,bc as J,jl as v,lm as dn,kg as Fe,jA as N,ln as pn,t as X,lo as bn,J as gn,jR as hn,b as Sn,G as Ue,O as fn,jX as In,kR as yn,jT as Rn,lp as kn,jZ as vn}from"./index-BVjkKCLf.js";import{n as Pe,S as An}from"./mui-Bjwhey0L.js";import ee from"./NotFoundScreen-OFT7uJSm.js";import{S as Se}from"./SetupPagesScreen-DwKZajDO.js";import{F as _e}from"./FeaturePreviewScreen-mO_J_upF.js";import{a as I}from"./sentry-Bsfq8iFp.js";import{u as $e}from"./useInitialThreadRequest-BFyDtASP.js";import{D as En}from"./DrawerScreen-CCgZ71G-.js";import{M as Ne}from"./MobileAppDrawer-C0MjRK8u.js";import{R as Cn}from"./ReimbursementApprovalRoutes-BR5Pg3Il.js";import{FallBackRoute as xn}from"./ScreenRoutes-cViWFW2H.js";import"./lottie-C1jDoN6L.js";import"./liveblocks-ClmZMiZG.js";import"./recharts-DxWcXnAv.js";import"./dnd-C4z4yHh0.js";import"./analytics-BwviiuqB.js";import"./plaid-CFQSLZ5I.js";import"./utils-BxRS7J8i.js";import"./analyticsHelper-cKb29Ct6.js";import"./routePaths-nQF_3DXR.js";import"./BusinessVerificationPageScreen-pyooLZWt.js";import"./ReimbursementApprovalRuleDetailScreen-C0xqudkd.js";import"./getLocaleForTenant-x-_ZsHih.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="faec72a3-0c11-4a2c-bae7-c78904c94917",e._sentryDebugIdIdentifier="sentry-dbid-faec72a3-0c11-4a2c-bae7-c78904c94917")}catch{}})();const Me=e=>`/${e}/reimbursements`,Bn=Z(function(e,t){const n=t.currentTenant?.companyId,o=Ye(e.plaidAccountViewState,"user_reimbursement_account"),m=j.getSignedInUser(),u=ie(m),c=o.plaidConnectionDetails,r=ke(e.companyState,n),a=e.tenantState.currentTenantId,s={userId:m?.userId??"",sessionId:m?.zeniSessionId??"",tenantId:a??""},l=ae(e,t.reimbursementId),d=et(e,m?.userId??"");let y=`${m?.firstName} ${m?.lastName}`,g=!0;return t.reimbursementId!=null&&(y=`${l.createdBy?.firstName??"Zeni"} ${l.createdBy?.lastName??""}`,g=m?.userId===l.createdBy?.userId),{remiDetails:l,uploadInvoiceEndPoint:`${Fe.communicationAgentMicroServiceBaseUrl}`,reimbursementId:t.reimbursementId,authParams:s,defaultCurrency:{currencySymbol:r?.company.companyLocaleInfo.currencySymbol??"$",currencyCode:r?.company.companyLocaleInfo.currencyCode??"USD"},companyMileageConfigInfo:r?.company.configInfo.mileageRateConfig,createdBy:y,isUserAdmin:se(t.currentTenant?.userRole??[]),isZeniUser:u,plaidConnectionDetails:c,bankNameByRouting:l.bankNameByRouting,bankAccountCreationState:d.bankAccountCreationState,bankAccounts:d.bankAccounts,analytics:v,bankAccountToCreate:l.bankAccountToCreate,fetchBankNameByRoutingStatus:l.fetchBankNameByRoutingStatus,isSignedInUserReimbursementCreator:g}},function(e,t){const{reimbursementId:n,currentTenant:o,location:m,navigate:u,themeState:c}=t,{tenantEmailDomain:r}=o,a=j.getSignedInUser();return{onReceiptsUpload:(s,l,d)=>{s!=null&&e(vt(s,l,d,n,a?.userId))},onExistingMerchantChange:(s,l)=>{e(pe(!1,l,n,s,void 0))},fetchDuplicateReimbursement:()=>{a?.userId!=null&&e(kt(a.userId,!0,n))},clearDuplicateReimbursementDetail:()=>{e(Rt())},clearRemiSaveStatus:()=>{e(yt("Not-Started",n))},onDuplicateLineClick:(s,l)=>window.open(`/${r}/reimbursement/${s}#L${l}`),onNewMerchantChange:(s,l)=>{e(pe(!1,l,n,void 0,s))},removeFileFromLine:s=>{e(It({lineId:s,reimbursementId:n}))},onAmountChanged:(s,l)=>{e(ft(l,s,n))},updateReimbursementType:(s,l,d)=>{e(St({reimbursementId:d,lineId:l,reimbursementType:s}))},onHomeCurrencyConversionUpdate:(s,l,d)=>{e(ht({reimbursementId:d,lineId:l,amountPayload:{amount:s.amount,currency_code:s.currencyCode,currency_symbol:s.currencySymbol}}))},onReimbursementDetailsChanged:s=>{e(gt({remiDetailLocalData:s,reimbursementId:n}))},saveRemiDetails:s=>{e(de(s,!1,n))},onUserBankDetailsUpdated:s=>{const{bankAccountSection:l}=s;e(bt({data:l}))},onFetchBankName:s=>{e(pt(s))},submitRemiDetails:()=>{e(de("pending_approval",!0,n))},discardReimbursementDetailsFromLocalStore:s=>{e(dt({reimbursementId:s}))},updateInvoiceUploadFetchState:s=>{e(ut({reimbursementId:n,fetchState:s}))},clearTentativeNameForLine:s=>{e(ct({reimbursementId:n,lineId:s}))},removeDuplicateReimbursementForLine:s=>{e(mt({lineId:s}))},onZeniLogoClick:()=>{c.toggle()},clearAddRemiAutoFields:s=>{e(lt({reimbursementId:n,lineId:s}))},redirectToReimbursementListScreen:()=>{e(Ae()),e(ot());const s=Me(r),l=N(m.state?.pathnameStackToGoBack,m.pathname);u(s,{state:{pathnameStackToGoBack:l}})},redirectToReimbursementDetailScreen:()=>{t.navigate("../")},deleteReimbursement:()=>{n!=null&&(v.trackReimbursementDeleteReimbursement(n),e(ve(n)))},onSaveBankAccount:()=>{a?.userId&&e(rt(a?.userId,n))},onFetchLinkTokenClick:s=>{e(it("user_reimbursement_account",s))},onEstablishConnectionClick:s=>{e(st(s,o.companyId,"user_reimbursement_account",void 0,"link_account_no_microdeposit"))},deleteBankAccount:s=>{e(at(s,a?.userId??""))},onBackClickFromBankAccountPage:()=>{e(tt({fetchState:"Not-Started"})),e(nt())}}})(dn);function fe(){const e=H(),t=ne(),n=G(),{reimbursementId:o}=V(),m=W(),u=De(),{useFeatureGate:c}=q(),{isFeatureEnabled:r}=c(k.isLimitedCategoryForReimbursement),{isFeatureEnabled:a}=c(k.isShowDeletedReimbursementsFeatureEnabled),{isFeatureEnabled:s}=c(k.isReimbursementCommentingEnabled),l=G().pathname,d=l.includes("edit"),y=l.includes("reimbursement/new"),[g,T]=I.useState(!1),p=j.getSignedInUser(),A=x(h=>M(h)),b=x(h=>ae(h,o)),f=$e(A?.companyId,{clearParams:b.fetchState==="Completed"}),B=se(A?.userRole??[]);I.useEffect(()=>{(y&&!g||d&&b.fetchState!="Completed"&&b.fetchState!="In-Progress")&&(T(!0),t(Re(!1,r,a,o)))});const R=x(h=>Qe(h.accountState,h.accountListState,"reimbursementAccountList"));if(p==null)throw Error("Can't access address page without signing in...");const w={pathname:`../${o}`,search:n.search};return b.isDeleted===!0||b.billStage=="paid"||b.billStage=="scheduled"||b.fetchState=="Not-Started"||B&&b.billStatus==="rejected"||B===!1&&b.billStage==="pending_approval"&&b.billStatus!=="rejected"?i.jsx(F,{to:w}):b.deleteStatus.fetchState==="In-Progress"||b.fetchState!=="Completed"?i.jsx(K,{style:{backgroundColor:m.colors.grey5,boxShadow:`0px 2px ${le.sp1} ${m.colors.dropShadowNormal}`},fetchState:b.deleteStatus.fetchState}):i.jsxs(i.Fragment,{children:[i.jsx(J,{analytics:v,onLoad:h=>(L=>{o!=null&&b.deleteStatus.fetchState!=="Completed"&&L.trackReimbursementEditReimbursement(o)})(h)}),i.jsx(Bn,{initialOpenThreadRequest:f??void 0,isReimbursementCommentingEnabled:s,location:n,navigate:e,currentTenant:A,reimbursementId:o,themeState:u,uncategorizedAccounts:R})]})}const Tn=Z(function(e,t){const n=Ee(e,t.reimbursementId),o=j.getSignedInUser(),m=ie(o),u=e.tenantState.currentTenantId,c={userId:o?.userId??"",sessionId:o?.zeniSessionId??"",tenantId:u??""},r=`${n.createdBy?.firstName??"Zeni"} ${n.createdBy?.lastName??""}`;let a=!1;n?.remiActivities.length>0&&(a=Bt(n.remiActivities,Tt(t.currentTenant),o));const s=se(t.currentTenant?.userRole??[]),l=o?.userId===n.createdBy?.userId;return{remiDetails:n,uploadInvoiceEndPoint:`${Fe.communicationAgentMicroServiceBaseUrl}`,authParams:c,signedInUser:o,createdBy:r,isRealTimeApprovalEnabled:t.isRealTimeApprovalEnabled,isAdmin:s,showApproveRejectBtns:a,isZeniUser:m,isSignedInUserReimbursementCreator:l}},function(e,t){const{reimbursementId:n,currentTenant:o,location:m,navigate:u,themeState:c}=t,{tenantEmailDomain:r}=o;return{onDuplicateLineClick:(a,s)=>window.open(`/${r}/reimbursement/${a}#L${s}`),redirectToReimbursementListScreen:()=>{e(Ae());const a=Me(r),s=N(m.state?.pathnameStackToGoBack,m.pathname);u(a,{state:{pathnameStackToGoBack:s}})},onSaveRealTimeApprovals:a=>{e(jt(n,"reimbursement",a))},updateEditRealTimeApproverClicked:a=>{e(Lt({isEdit:a,entityId:n,entityType:"reimbursement"}))},approveOrRejectRemi:a=>{a.type==="approved"?e(be(n,a.type,"")):e(be(n,a.type,a.description??""))},redirectToEditableReimbursementScreen:()=>{const a=N(m.state?.pathnameStackToGoBack,m.pathname);u("./edit",{state:{pathnameStackToGoBack:a}})},deleteReimbursement:()=>{v.trackReimbursementDeleteReimbursement(n),e(ve(n))},cancelAndDeleteReport:a=>{a===!0?v.trackReimbursementCancelAndDeleteReimbursement(n):v.trackReimbursementCancelReimbursement(n),e(wt(n,a))},handleZeniLogoClick:()=>{c.toggle()}}})(pn);function wn(){const e=H(),t=ne(),n=G(),o=n.hash.substring(1),m=De(),{reimbursementId:u}=V(),c=j.getSignedInUser(),r=x(E=>M(E)),a=x(E=>Ee(E,u??"")),s=a.remiDetails?.reimbursementInfo.stage.code==="draft",l=$e(r?.companyId,{clearParams:a.fetchState==="Completed"&&!s}),{useFeatureGate:d}=q(),{isFeatureEnabled:y}=d(k.isLimitedCategoryForReimbursement),[g,T]=I.useState(!1),[p,A]=I.useState(!1),[b,f]=I.useState(!1),{isFeatureEnabled:B}=d(k.isReimbursementCommentingEnabled),{isFeatureEnabled:R}=d(k.isShowDeletedReimbursementsFeatureEnabled),w=x(E=>ae(E,u??"")),h=W(),L=At(r),_=Et(r.userRole),D=a.fetchState;if(I.useEffect(()=>{g||u==null?g==1&&D==="Error"&&e("page-not-found",{replace:!0}):(T(!0),t(Ct(u,!1,R)))},[g,u,t,D]),I.useEffect(()=>{R&&a.remiDetails?.isDeleted===!0||r.isZeni===!0&&c?.userEmailDomain==="zeni.ai"&&L===!1?f(!1):f(a.remiActivities[0]?.isRealTimeApprovalEnabled&&(_||a.allApprovers.find(E=>E.user.userId===c?.userId)!=null||a.remiDetails?.lastUpdatedBy===c?.userId))},[a.remiActivities[0]?.isRealTimeApprovalEnabled,a.allApprovers,a.remiDetails?.lastUpdatedBy,_,r.isZeni,L,c]),I.useEffect(()=>{p||a.fetchState!="Completed"||a.remiDetails?.reimbursementInfo.stage.code=="paid"||a.remiDetails?.reimbursementInfo.stage.code=="scheduled"||w.fetchState=="Completed"||w.fetchState=="In-Progress"||(A(!0),t(Re(!1,y,R,u)),a.remiActivities[0]?.isRealTimeApprovalEnabled===!0&&t(xt(!1,!0,!0,a.lastUpdatedByUserId)))},[p,a,u,t]),c==null)throw Error("Can't access address page without signing in...");return a.remiDetails?.reimbursementInfo.stage.code=="draft"&&w.fetchState=="Completed"&&a.remiDetails.isDeleted===!1?i.jsx(F,{to:`./edit${n.search}`}):a.deleteStatus.fetchState==="In-Progress"||a.cancelAndDeleteStatus.fetchState==="In-Progress"||a.remiDetails?.reimbursementInfo.stage.code=="draft"&&w.fetchState!="Completed"||a.fetchState!="Completed"?i.jsx(K,{fetchState:a.deleteStatus.fetchState,style:{backgroundColor:h.colors.grey5,boxShadow:`0px 2px ${le.sp1} ${h.colors.dropShadowNormal}`}}):i.jsxs(i.Fragment,{children:[i.jsx(J,{analytics:v,onLoad:E=>(O=>{u!=null&&O.trackReimbursementReimbursementDetails(u)})(E)}),i.jsx(Tn,{initialOpenThreadRequest:l??void 0,scrollId:o,isReimbursementCommentingEnabled:B,isShowDeletedReimbursementEnabled:R,location:n,navigate:e,isRealTimeApprovalEnabled:b,currentTenant:r,reimbursementId:u??"",themeState:m})]})}const Ln=Z(function(e,t){return{remisReviewView:Ce(e),analytics:t.analytics}},function(e,t){return{onCloseOverlay:()=>{t.navigate("./"),e($())},onCloseReviewItem:n=>{e(Ft(n))},onProceedForBulkActionClick:(n,o)=>{switch(n){case"send_for_approval":e(Dt());break;case"approve":e(ge("approved",o??""));break;case"reject":e(ge("rejected",o??""))}}}})(bn);function jn(){const e=H(),t=x(u=>u.remisBulkActionViewState.bulkSubmissionFetchState.fetchState),{remisForReview:n}=x(u=>Ce(u)),o=X(),m=o?.loggedInUserRole?.includes("admin")===!0;return I.useEffect(()=>{t!=="Completed"&&n.length!==0||e("./")},[t,n.length]),i.jsx(Ln,{navigate:e,analytics:v,isAdmin:m})}const P=Gt(),Oe="bulk-operation-update",te="reimbursement-approval-rule-update",{spendManagement:Dn,common:Ie}=fn.getLocalizedStrings(),ye=Dn.reimbursement.bulkActions,Fn=Pe.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
min-height: 100%;
|
|
4
|
-
width: 100%;
|
|
5
|
-
flex: 1 1 auto;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
align-items: center;
|
|
8
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
9
|
-
`,Un=Z(function(e,t){const n=Te(e,P,t.isBulkActionEnabled);let o=n.allSubTabs;const m=j.getSignedInUser(),u=ie(m),c=e.tenantState.currentTenantId,r=M(e),a=r?.companyName??"",s={userId:m?.userId??"",sessionId:m?.zeniSessionId??"",tenantId:c??""},l=e.remiListState.downloadUIState.downloadState;t.isShowDeletedReimbursementEnabled===!1&&(o=o.filter(g=>g!=="deleted"));const d=n.fetchState,y=Ht(e);return{transactionList:t.isShowDeletedReimbursementEnabled?n.reimbursements:n.reimbursements.filter(g=>g.isDeleted===!1),isAdmin:t.isAdmin,isZeniUser:u,isBillPayCommentingEnabled:t.isBillPayCommentingEnabled,isReimbursementCommentingEnabled:t.isReimbursementCommentingEnabled,allSubTabs:o,isEmployee:t.isEmployee,currentTab:n.currentTab,currentSubTab:n.currentSubTab,approvalCount:n.approvalCount,fetchState:d,botEmail:n.reimbursementBotEmail,analytics:v,uiState:n.uiState,searchText:n.searchText,filters:n.filters,downloadParams:{authParams:s,companyName:a,timePeriod:P,spendManagementEndPoint:`${Rn}/spendManagement`,isShowDeletedBillsEnabled:t.isShowDeletedBillsEnabled,isShowDeletedReimbursementEnabled:t.isShowDeletedReimbursementEnabled},downloadState:l,isBulkActionAllowed:n.remiListBulkActionInfo?.isBulkActionAllowed,transactionsSelectedForBulkAction:n.remiListBulkActionInfo?.remisSelectedForBulkAction,allowedBulkActions:n.remiListBulkActionInfo?.allowedBulkActions,remiApprovalRulesAffectedEntityIds:y.affectedEntityIds}},function(e,t){const{navigate:n,currentTenant:o,location:m,period:u}=t,{tenantEmailDomain:c}=o;return{updateTabToState:r=>{e($()),e(xe(r))},onSubtabChange:r=>{e($()),e(Be(r))},onTransactionClick:(r,a)=>{const s=$n(c,r,a),l=N(m.state?.pathnameStackToGoBack,m.pathname);n(s,{state:{pathnameStackToGoBack:l}})},onClickSetupIcon:()=>{const r=_n(c),a=N(m.state?.pathnameStackToGoBack,m.pathname);n(r,{state:{pathnameStackToGoBack:a}})},onAddTransactionClick:()=>{const{tenantEmailDomain:r}=t.currentTenant;v?.trackReimbursementNewReimbursement();const a=`/${r}/reimbursement/new`,s=N(t.location.state?.pathnameStackToGoBack,t.location.pathname);t.navigate(a,{state:{pathnameStackToGoBack:s}})},onColumnSortConfigChanged:(r,a)=>{e(Xt({uiState:{sortKey:r,sortOrder:a},period:t.period}))},onSearchTextChanged:r=>{e(Jt(r))},onFiltersChange:r=>{e(qt({filters:r})),r.categories.every(a=>a.field!=null&&a.values?.length!==0)&&v.trackSpendManagmentFilterChange("reimbursement",r.categories.map(a=>`${a.field}-${JSON.stringify(a.values)}`))},updateDownloadStateHandler:r=>{r==="In-Progress"&&v.trackSpendManagementDownloadClick("reimbursement"),e(Wt({uiState:{downloadState:r}}))},onReloadTransactions:()=>{e(Y(u,!0,t.isShowDeletedReimbursementEnabled,!1,!0))},onBackClick:()=>{n("../",{relative:"path"})},onNavigateToSettings:()=>{n("../reimbursements/setup")},updateBulkActionList:r=>{e(Vt(r))},removeAllTransactionsFromBulkActionList:()=>{e($())},onProceedForBulkActionClick:(r,a)=>{switch(r){case"delete":case"cancel":e(zt(r,a??""));break;case"send_for_approval":e(he("send_for_approval")),t.navigate("./bulk-review");break;case"review":e(he("approve")),t.navigate("./bulk-review")}},onReimbursementApprovalRulesEventReceived:r=>{r.endsWith(te)&&e(Kt(!1))},onEventReceived:r=>{r===Oe&&e(Zt())}}})(In(yn));function Pn(){const e=H(),t=ne(),n=G(),o=n.state,m=gn(),[u,c]=I.useState(null),r=Je("/:tenantEmailDomain/reimbursements/bulk-review")!=null;I.useEffect(()=>{if(o?.tab!=null&&o?.subTab!=null){const S=Ut(o.tab.toString());S!=null?t(xe(S)):console.log("Warning:Not a valid remiListTab");const U=Pt(o.subTab.toString());U!=null?t(Be(U)):console.log("Warning:Not a valid remiListSubTab")}return()=>{t($())}},[]);const{useFeatureGate:a}=q(),{isFeatureEnabled:s}=a(k.isShowDeletedBillsFeatureEnabled),{isFeatureEnabled:l}=a(k.isShowDeletedReimbursementsFeatureEnabled),{isFeatureEnabled:d}=a(k.isBillPayCommentingEnabled),{isFeatureEnabled:y}=a(k.isReimbursementCommentingEnabled),{isFeatureEnabled:g}=a(k.isReimbursementBulkActionEnabled),T=j.getSignedInUser(),p=x(S=>M(S)),[A,b]=I.useState(!1),[f,B]=I.useState(!1),R=X(),w=R?.loggedInUserRole?.includes("admin")===!0,h=x(S=>Te(S,P,g)),{areTenantIdsInSync:L}=hn(),_=h.fetchState;if(I.useEffect(()=>{!f&&L&&(B(!0),t(Y(P,!0,l,!1,!0)))},[f,P,t,L]),T==null)throw Error("Can't access address page without signing in...");const D=!!p?.userRole&&_t(p),E=re(R?.loggedInUserRoleMap),O=oe(R?.loggedInUserRoleMap),Q=!!p.userReimbursementInfo?.isReimbursementTOSAccepted,Ge=!!p.companyReimbursementInfo?.info?.isReimbursementEnabled,He=!!p.companyReimbursementInfo?.info?.isReimbursementTOSAccepted,Ze=x(S=>ke(S.companyState,p.companyId)),Ke=Ze?.company.featuresActivationInfo.connectedAccountProvider,me=S=>{b(S)},{isFeatureEnabled:ze}=a(k.isDebitCardFeatureEnabled),Ve=we(ze,p),We=Le(p),{remisProcessed:z,remisProcessing:ce}=x(S=>$t(S));I.useEffect(()=>{z===ce&&u!=null&&(t(Nt({messageSection:"reimbursement_bulk_processed",messageText:"success",type:"success",showStatusIcon:!0,variables:[{variableName:"_report_",variableValue:z>1?ye.reports:ye.report},{variableName:"_has_",variableValue:z>1?Ie.texts.have:Ie.texts.has},{variableName:"_action_",variableValue:Mt(u)}]})),t(Ot()),setTimeout(()=>{t(Y(P,!0,l,!1,!0,!0))},3e3),c(null))},[z,ce]);const qe={events:p.companyId!=null?[`private-${p.companyId}.${Oe}`,`private-${p.companyId}.${te}`]:[],eventCallback:(S,U,ue)=>{S.endsWith(te)?ue.onReimbursementApprovalRulesEventReceived?.(S):U.entity_type==="reimbursement"&&(c(U.operation_type),ue.onEventReceived(S))}};return n.pathname.endsWith("/reimbursements/")||n.pathname.endsWith("/reimbursements")||n.pathname.endsWith("/reimbursements/bulk-review")?Ve===!0||We===!0?i.jsx(_e,{}):Ge&&(!D||E)||O&&Q?i.jsxs(i.Fragment,{children:[_==="Completed"?i.jsx(J,{analytics:v,onLoad:S=>(U=>U.trackPageLoaded(Ue.Event.reimbursementHome))(S)}):null,i.jsx(Ne,{isAppContentDrawerOpen:A,handleDrawerToggle:me}),i.jsxs(Fn,{windowSize:m,children:[i.jsx(En,{isOpen:r,drawerLeftMargin:new Sn(0,0,300,600),onClose:()=>{e("./"),t($())},children:i.jsx(Nn,{onClick:S=>S.stopPropagation(),children:i.jsx(jn,{})})}),i.jsx(Un,{isShowDeletedBillsEnabled:s,isShowDeletedReimbursementEnabled:l,isBillPayCommentingEnabled:d,isReimbursementCommentingEnabled:y,location:n,navigate:e,currentTenant:p,period:P,isAdmin:w,isEmployee:D,entity:"reimbursement",onClickMenuIcon:()=>{me(!0)},createdByUserList:h.createdByUserList,createdByUserListFetchState:h.createdByUserListFetchState,isDownloadEnabled:h.isDownloadEnabled,connectedAccountProvider:Ke,isBulkActionEnabled:g,bulkSubmissionLimit:h.remiBulkSubmissionLimit,bulkSubmissionFetchState:h.remiListBulkActionInfo.bulkSubmissionFetchState,...qe})]})]}):He&&E?i.jsx(F,{to:"../setup"}):R!=null&&je(p,R.loggedInUserRoleMap)?i.jsx(F,{to:"../promo"}):i.jsx(K,{fetchState:"In-Progress"}):i.jsx(ee,{})}const _n=e=>`/${e}/reimbursements/setup`,$n=(e,t,n)=>{let o=`/${e}/reimbursement/${encodeURIComponent(t)}`;return n=="draft"&&(o+="/edit"),o},Nn=Pe(An)`
|
|
10
|
-
display: flex;
|
|
11
|
-
min-height: 100%;
|
|
12
|
-
flex-direction: column;
|
|
13
|
-
`,Mn=Z(function(e,t){const{companyId:n}=t;return{reimbursementSetupView:Qt(e,n),analytics:v,meetingUrl:"https://meetings.hubspot.com/niharn/demo-reimbursements?embed=true",videoUrl:"https://player.vimeo.com/video/814821498?h=e7fd11e13e&badge=0&autopause=0&player_id=0&app_id=122963"}},function(e,t){const{companyId:n,navigate:o}=t;return{onSetupButtonClick:()=>{e(en(n))},onCreateNewRemiButtonClick:()=>{e(Yt(t.userRoleId))},onBackClick:()=>{o("../..",{relative:"path"})},onSetupReimbursementSuccess:()=>{t.isEmployee?o("../../reimbursement/new",{relative:"path"}):o("../reimbursements/setup",{relative:"path"})}}})(kn),On=()=>{const e=H(),t=G(),{tenantEmailDomain:n}=V(),o=W(),[m,u]=I.useState(!1),c=x(f=>M(f)),r=j.getSignedInUserTenant(n)?.companyId??c.companyId,a=j.getSignedInUser(),s=c.userRoleId,l=!!c.userRole?.includes("reimbursements_user"),d=X(),y=re(d?.loggedInUserRoleMap),g=oe(d?.loggedInUserRoleMap),T=!!c.userReimbursementInfo?.isReimbursementTOSAccepted,p=!!c.companyReimbursementInfo?.info?.isReimbursementEnabled,A=!!c.companyReimbursementInfo?.info?.isReimbursementTOSAccepted,b=f=>{u(f)};if(a==null)throw Error("Can't access reimbursement promo page without signing in...");return p&&g&&T?i.jsx(F,{to:"../../../reimbursements"}):A&&y?i.jsx(F,{to:"../../reimbursements/setup"}):c.companyReimbursementInfo&&!A||c.userReimbursementInfo&&g&&T===!1?i.jsxs(i.Fragment,{children:[i.jsx(J,{analytics:v,onLoad:f=>(B=>B.trackPageLoaded(Ue.Event.reimbursementPromoPage))(f)}),i.jsx(Ne,{isAppContentDrawerOpen:m,handleDrawerToggle:b}),i.jsx(Mn,{companyId:r,navigate:e,location:t,userReimbursementInfo:c.userReimbursementInfo,userRoleId:s,isEmployee:l,onClickMenuIcon:()=>{b(!0)}})]}):i.jsx(K,{fetchState:"In-Progress",style:{backgroundColor:o.colors.grey5}})};function ba(){const e=x(Q=>M(Q)),t=X(),n=!!e.company?.companyReimbursementInfo.isReimbursementEnabled,o=W(),m=!!e.company?.companyReimbursementInfo.isReimbursementTOSAccepted,u=!!e.userReimbursementInfo?.isReimbursementTOSAccepted,{useFeatureGate:c}=q(),{isFeatureEnabled:r}=c(k.isChargeCardFeatureEnabled),{isFeatureEnabled:a}=c(k.isDebitCardFeatureEnabled),s=we(a,e),l=Le(e),d=e?.userRole!=null&&tn(e?.userRole),y=(e?.company==null||e.company.featuresActivationInfo?.isBillPayFeatureEnabled&&!d)&&nn(t?.loggedInUserRoleMap),g=an(t?.loggedInUserRoleMap),T=e?.company==null||e.company.featuresActivationInfo?.isReimbursementFeatureEnabled&&!d,p=re(t?.loggedInUserRoleMap),A=T&&p,{isFeatureEnabled:b}=c(k.isDepositAccountsFeatureEnabled),f=b&&!d&&sn(t?.loggedInUserRoleMap),B=vn(e,r,a)&&!d&&rn(t?.loggedInUserRoleMap),R=on(t?.loggedInUserRoleMap),w=ln(t?.loggedInUserRoleMap),h=mn(t?.loggedInUserRoleMap),L=cn(t?.loggedInUserRoleMap),_=un(t?.loggedInUserRoleMap),D=oe(t?.loggedInUserRoleMap),{tenantEmailDomain:E}=V(),O=n===!0&&(p||D&&u);return i.jsxs(Xe,{children:[location.pathname.includes("/reimbursements")?i.jsxs(i.Fragment,{children:[i.jsx(C,{path:"verification",element:i.jsx(Se,{isBillPayAdminLevelAccess:y,isUserHasOnlyBillPayAccess:g,isReimbursementAdminLevelAccess:A,isZeniAccountAdminLevelAccess:f,isChargeCardAdminLevelAccess:B,isUserHasOnlyCardAccess:R,productType:"reimbursement",type:"verification"})}),i.jsx(C,{path:"setup",element:i.jsx(Se,{isBillPayAdminLevelAccess:y,isUserHasOnlyBillPayAccess:g,isReimbursementAdminLevelAccess:A,isZeniAccountAdminLevelAccess:f,isChargeCardAdminLevelAccess:B,isUserHasOnlyCardAccess:R,productType:"reimbursement",type:"setup"})}),i.jsx(C,{path:"promo",element:i.jsx(On,{})}),i.jsx(C,{path:"approval-rules/*",element:A?i.jsx(Cn,{}):i.jsx(xn,{isUserHasZeniAccountsAccess:w,isUserHasChargeCardAccess:L,isUserHasBillPayAccess:_,isUserHasReimbursementAccess:D,isUserHasTreasuryAccess:h,isTenantBankingOnly:s,tenantEmailDomain:E??""})}),O&&i.jsx(C,{path:"*",element:i.jsx(Pn,{})}),(s===!0||l===!0)&&i.jsx(C,{path:"/*",element:i.jsx(_e,{})}),t!=null&&je(e,t?.loggedInUserRoleMap)&&i.jsx(C,{path:"*",element:i.jsx(F,{to:"../promo"})}),m&&p&&i.jsx(C,{path:"*",element:i.jsx(F,{to:"../setup"})})]}):location.pathname.includes("/reimbursement")?i.jsxs(i.Fragment,{children:[i.jsx(C,{path:"new",element:i.jsx(fe,{})}),i.jsx(C,{path:":reimbursementId",element:i.jsx(wn,{})}),i.jsx(C,{path:":reimbursementId/edit",element:i.jsx(fe,{})}),i.jsx(C,{path:"*",element:i.jsx(ee,{})})]}):i.jsx(C,{path:"*",element:i.jsx(K,{fetchState:"In-Progress",style:{backgroundColor:o.colors.grey5,boxShadow:`0px 2px ${le.sp1} ${o.colors.dropShadowNormal}`}})}),i.jsx(C,{path:"*",element:i.jsx(ee,{})})]})}export{ba as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{V as _,bK as U,bL as M,bM as N,iI as V,ag as W,O as z}from"./index-BVjkKCLf.js";import{a as b}from"./sentry-Bsfq8iFp.js";import{FZ as K}from"./zeni-epic-state-CjVTQ4J3.js";import{u as Z}from"./ReviewOverlay-Be_F1hd--DTVVFQpK.js";import"./pdf-DJ-oF9-h.js";import"./core-tQbf9q8c.js";import"./mui-Bjwhey0L.js";import"./recharts-DxWcXnAv.js";import"./lottie-C1jDoN6L.js";import"./liveblocks-ClmZMiZG.js";import"./dnd-C4z4yHh0.js";import"./analytics-BwviiuqB.js";import"./plaid-CFQSLZ5I.js";import"./utils-BxRS7J8i.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="c264ee17-475b-4105-af73-56a34bcaad88",e._sentryDebugIdIdentifier="sentry-dbid-c264ee17-475b-4105-af73-56a34bcaad88")}catch{}})();const{common:a,spendManagement:{reimbursement:k}}=z.getLocalizedStrings(),s=k.bulkActions;let j;const ce=({remisReviewView:e,isAdmin:o,analytics:i,onProceedForBulkActionClick:u,onCloseReviewItem:r,onCloseOverlay:n})=>{const{fetchState:l,bulkSubmissionFetchState:c,bulkOperationTypeSelected:t,currentTab:f,currentSubTab:g}=e,y=!1,[x,p]=b.useState(!1),[m,v]=b.useState(P(e,y,o)),[h,R]=b.useState(y),[B,H]=b.useState(0),[w,A]=b.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});b.useEffect(()=>(B===m.length&&h&&(R(!1),clearInterval(j)),e.fetchState==="Completed"&&v(P(e,!1,o)),()=>{clearInterval(j)}),[m.length,B,h,e.fetchState,y,e,o]);const D=m.length,S=m.filter(d=>d.reviewStatus.code!=="error").length,F={onOkClick:d=>{p(!1);const C=e.remisForReview.map(I=>I.reimbursement);i.trackReimbursementBulkPopupConfirm(t,f,g,K(C.map(I=>I?.reimbursementTypesIncluded??[]))),u("reject",d)},onCancelClick:()=>{p(!1)}},{title:$,description:E}=G(l,S,D,h),T=e.fetchState==="Completed"&&S===0,L=()=>{i.trackReimbursementBulkSubmit(t,f,g),u(t)},O={label:t==="send_for_approval"?a.texts.goBack:a.footer.reject,isDisabled:t!=="reject"&&c==="In-Progress",isLoading:t==="reject"&&c==="In-Progress",reverseSpinnerColor:!1,onClick:t==="send_for_approval"?n:()=>{const{title:d,description:C}=q(S);A({type:"reject",title:d,description:C,primaryButtonText:a.texts.confirm,secondaryButtonText:a.texts.close}),i.trackReimbursementBulkSubmit(t,f,g),p(!0)},style:t==="approve"?{minWidth:"92px"}:{}};return _.jsxs(_.Fragment,{children:[x?_.jsx(U,{titleComponent:_.jsx(N,{children:w.title}),descriptionComponent:_.jsx(M,{children:w.description}),primaryButtonText:w.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:w.secondaryButtonText,action:F,isNotesIncluded:!0,isEditPopup:!0}):null,_.jsx(Z,{title:$,description:{content:E,isError:e.fetchState==="Completed"&&S===0},reviewItems:m,onCloseReviewItem:r,onCloseOverlay:n,showFooter:e.fetchState==="Completed"&&!h,footerProps:{primaryButton:(()=>{let d=a.footer.approve;return T?d=a.texts.close:t==="send_for_approval"&&(d=a.footer.submit),{label:d,isDisabled:l!=="Completed"||t==="reject"&&c==="In-Progress",isLoading:c==="In-Progress"&&(t==="send_for_approval"||t==="approve"),onClick:T?n:L,style:t==="send_for_approval"?{minWidth:"92px"}:{}}})(),cancelButton:O,hideCancel:T}})]})},P=(e,o,i)=>{const u=e.fetchState==="In-Progress";return e.remisForReview.map(r=>{const n=V(i,r.submittedBy);return{id:r.transactionId,leftSideText:{title:r.reimbursement?.reportTitle!=null?r.reimbursement.reportTitle:k.reimbursementDetail.newReimbursementTitle,subTitle:n!=null?`${a.by} ${n?.firstName} ${n?.lastName}`:a.strings.empty},rightSideText:{title:W("0,0.[00]",r.reimbursement?.amount?.amount,r.reimbursement?.amount?.currencySymbol),showThunderIcon:!1,subTitle:r.reviewInfoMessage??""},reviewStatus:{isLoading:u,code:r.reviewStatus??""}}})},q=e=>{const{this_:o,these:i,report:u,reports:r,payment:n,payments:l}=a.texts;return e>1?{title:s.popUps.reject.title.replace("__report__",s.reports),description:s.popUps.reject.description.replaceAll("<_this_>",i).replaceAll("<_payment_>",l).replaceAll("__report__",r)}:{title:s.popUps.reject.title.replace("__report__",s.report),description:s.popUps.reject.description.replaceAll("<_this_>",o).replaceAll("<_payment_>",n).replaceAll("__report__",u)}},G=(e,o,i,u)=>{const{has:r,have:n,report:l,reports:c,are:t,is:f,do_:g,does:y}=a.texts,x=o>1,p=i>1;let m="",v="";return e!=="Completed"||u?(m=s.reviewPage.reportsReviewing.title.replace("__report__",p?c:l),v=s.reviewPage.reportsReviewing.description.replace("__report__",p?c:l)):(m=s.reviewPage.reportsReviewed.title.replace("__report__",p?k.bulkActions.reports:s.report).replace("<_has_>",p?n:r),v=o===0?s.reviewPage.reportsReviewed.descriptionError.replace("__report__",p?c:l).replace("<_do_>",p?g:y):`${o}/${i} ${s.reviewPage.reportsReviewed.description.replace("__report__",i>1?c:l).replace("<_is_>",x?t:f)}`),{title:m,description:v}};export{ce as default};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import{y as h,V as r,a3 as a,an as f,am as m,O as y,a6 as j,aa as l,b0 as g,x as u,o as c}from"./index-BVjkKCLf.js";import{n as d}from"./mui-Bjwhey0L.js";import{a as s}from"./sentry-Bsfq8iFp.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="d9d0d7bf-41d8-493a-9f8b-146f41295c0d",e._sentryDebugIdIdentifier="sentry-dbid-d9d0d7bf-41d8-493a-9f8b-146f41295c0d")}catch{}})();function w({backgroundColor:e,foregroundColor:o,animated:t,width:n,height:i}){return r.jsxs(g,{speed:2,width:n,height:i,viewBox:`0 0 ${n} ${i}`,animate:t!=0,backgroundColor:e,foregroundColor:o,children:[r.jsx("rect",{x:"64",y:"0",rx:"4",ry:"4",width:""+(n-128),height:"21"}),r.jsx("rect",{x:"24",y:"45",rx:"4",ry:"4",width:""+(n-48),height:"228"})]})}function b({backgroundColor:e,foregroundColor:o,animated:t}){return r.jsxs(g,{speed:2,width:240,height:98,viewBox:"0 0 240 98",animate:t!=0,backgroundColor:e,foregroundColor:o,children:[r.jsx("rect",{x:"66",y:"0",rx:"4",ry:"4",width:"108",height:"21"}),r.jsx("rect",{x:"44",y:"77",rx:"4",ry:"4",width:"152",height:"21"}),r.jsx("rect",{x:"0",y:"29",rx:"4",ry:"4",width:"240",height:"40"})]})}const x=d(l)`
|
|
2
|
-
justify-content: flex-start;
|
|
3
|
-
`;function E({dimension:e,animated:o}){const t=h();return r.jsx(a,{dimension:e,children:r.jsx(x,{children:r.jsx(b,{backgroundColor:t.colors.grey3,foregroundColor:t.colors.grey4,animated:o})})})}function T({dimension:e,animated:o}){const t=h();return r.jsx(a,{dimension:e,children:r.jsx(x,{children:r.jsx("div",{style:{width:"100%",height:"100%"},children:r.jsx(f,{children:({height:n,width:i})=>r.jsx(w,{backgroundColor:t.colors.grey3,foregroundColor:t.colors.grey4,animated:o,width:i,height:n})})})})})}const p=d(l)`
|
|
4
|
-
justify-content: space-between;
|
|
5
|
-
`,C=d.div`
|
|
6
|
-
height: ${c.sp10};
|
|
7
|
-
width: ${c.sp10};
|
|
8
|
-
background: ${e=>e.theme.colors.background};
|
|
9
|
-
border-radius: 50%;
|
|
10
|
-
cursor: pointer;
|
|
11
|
-
display: flex;
|
|
12
|
-
justify-content: center;
|
|
13
|
-
align-items: center;
|
|
14
|
-
& svg {
|
|
15
|
-
color: ${e=>e.theme.colors.hero};
|
|
16
|
-
}
|
|
17
|
-
&:hover {
|
|
18
|
-
& svg {
|
|
19
|
-
color: ${e=>e.theme.colors.primary};
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
`,k=d(u)`
|
|
23
|
-
color: ${e=>e.theme.colors.champion};
|
|
24
|
-
`,v=d(u)`
|
|
25
|
-
color: ${e=>e.theme.colors.hero};
|
|
26
|
-
`,$=d(e=>s.createElement("svg",{viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},s.createElement("rect",{opacity:.2,width:72,height:72,rx:36,fill:"#97C3B9"}),s.createElement("path",{d:"M46.7755 32.5635L43.8368 36.9716L40.4082 33.0533",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M34.5307 44.8163C32.6902 44.8163 30.8909 44.2705 29.3605 43.248C27.8301 42.2254 26.6374 40.772 25.933 39.0715C25.2286 37.3711 25.0443 35.4999 25.4034 33.6947C25.7625 31.8895 26.6488 30.2313 27.9503 28.9298C29.2518 27.6283 30.91 26.742 32.7152 26.3829C34.5204 26.0238 36.3916 26.2081 38.092 26.9125C39.7925 27.6169 41.2459 28.8096 42.2685 30.34C43.291 31.8704 43.8369 33.6697 43.8369 35.5102V36.9737",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})))``;function D({dimension:e,cardType:o,cardIndex:t,reportTitle:n,onReloadData:i}){return r.jsx(a,{"data-testid":j("dashboard-reload",o),dimension:e,onClick:()=>i(t,o),children:r.jsxs(p,{children:[r.jsxs(k,{children:[n??m(o)," "]}),r.jsx(C,{children:r.jsx($,{})}),r.jsx(v,{children:y.getLocalizedStrings().card.failedText})]})})}export{E,T as I,D as T};
|