@zeniai/web-cockpit-ui 1.14.83-dev → 1.14.83-qa
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-StkGXn1c-DnerZ6yw.js → ACHDetailsPage-StkGXn1c-QVuWqUed.js} +1 -1
- package/dist/assets/{AIPerformancePage-cGtd6TYJ-Cp-PQoT7.js → AIPerformancePage-cGtd6TYJ-QRKa4AxL.js} +1 -1
- package/dist/assets/{AccountInfoPage-BnHC_Y3E-ByMcEeMx.js → AccountInfoPage-BnHC_Y3E-B72E7e0X.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-9hQV-QKt-DIbr8exN.js → AccountInfoPageContent-9hQV-QKt-R-xf6NE9.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-BS5pz9ze-B8_cH9pi.js → AccountLockedInfoModal-BS5pz9ze-vd3nemno.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-D_348I-1-wLi2j7Hz.js → AccountReconDetailsDrawerPage-D_348I-1-BgIx6Bmu.js} +1 -1
- package/dist/assets/{AccountRow-DbyUdPZG-D3G-oWRQ.js → AccountRow-DbyUdPZG-kPApYWvO.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-CeGcTU8h-CiwKEYdC.js → AccountsPromoCardStack-CeGcTU8h-nrGLKwQX.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-D5EnX225-LqDDXshB.js → AddAddressForCardDrawer-D5EnX225-DlgrCRko.js} +1 -1
- package/dist/assets/{AddToWalletPage-D45TGyNS-FyEeS4ax.js → AddToWalletPage-D45TGyNS-DpxcbTMf.js} +1 -1
- package/dist/assets/{AgingReportsPage-Cxe-3oBx-BYtw6E86.js → AgingReportsPage-Cxe-3oBx-BdtauDu4.js} +1 -1
- package/dist/assets/{AllUserItems-Cc_-o3gE-BoV9oLkk.js → AllUserItems-Cc_-o3gE-Dj-vsTnw.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-DoaKW48m-OHK-ezBl.js → ApAgingDetailPage-DoaKW48m-B9QImbCC.js} +1 -1
- package/dist/assets/{AppBasePage-BUE60uZt-eqCd5DKr.js → AppBasePage-BUE60uZt-C6OIIfvZ.js} +1 -1
- package/dist/assets/{AppDrawerContent-P20acbi4-B9KrqH0V.js → AppDrawerContent-P20acbi4-DSZQpDPf.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-C5KUTjie-BXW85Fbu.js → ApprovalRulesSettingsPage-C5KUTjie-BG0_ZC6k.js} +1 -1
- package/dist/assets/{ArAgingChart-DIABTV5P-DnLiVsos.js → ArAgingChart-DIABTV5P-D3hRykT_.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-CA4JP8HZ-DZ9wu-cb.js → ArAgingDetailPage-CA4JP8HZ-DzwzorRb.js} +1 -1
- package/dist/assets/{Area-Sl30rGq6-WMXLxt2t.js → Area-Sl30rGq6-CogxmVvt.js} +1 -1
- package/dist/assets/{AreaChart-2AgE74bB-juQGB2-h.js → AreaChart-2AgE74bB-DgDnH-B0.js} +1 -1
- package/dist/assets/{AttachmentView-DRBK6aiE-DxR-B_-8.js → AttachmentView-DRBK6aiE-C1Ruc-VW.js} +1 -1
- package/dist/assets/{BankAccountSection-CwPIXA5w-DE6FMEHD.js → BankAccountSection-CwPIXA5w-DDDsPYwm.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-DGSw5Uvq-4-yHVJQf.js → BankAccountWarningSection-DGSw5Uvq-DbOA1NjS.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-bk8eOcuj-7VKzOuZH.js → BankConnectionsSettingsPage-bk8eOcuj-DxzeQDqg.js} +1 -1
- package/dist/assets/{BillDetailPage-CQ8iqo9y-D1hvEdQD.js → BillDetailPage-CQ8iqo9y-Tp3WmchS.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-B8LMww_O-C3Z44ei8.js → BillPayApprovalRuleDetailPage-B8LMww_O-CRWeyw0Q.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-BCoXLnmv-Aq-Dw7YV.js → BillPayApprovalRulesPage-BCoXLnmv-DCVONktr.js} +1 -1
- package/dist/assets/{BillPayPromoPage-CIUhDNjJ-D6Jrrfcx.js → BillPayPromoPage-CIUhDNjJ-Cwqxzge6.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-CrfwREgO-oxkPqY3f.js → BillPaySetUpPage-CrfwREgO-CJ9_P2PZ.js} +1 -1
- package/dist/assets/{BillingSettingsPage-CitBvGaR-nwEc2ngU.js → BillingSettingsPage-CitBvGaR-DZa8FJ6b.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-Cal9oN8I-BL6vOdpc.js → BillsBulkReviewDrawerPage-Cal9oN8I-D6VU0QwP.js} +1 -1
- package/dist/assets/{BoxItem-B6Qj2tSj-aLWYhGMW.js → BoxItem-B6Qj2tSj-J1Dptt9x.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-aj1YPi-U-D08S06Tj.js → BusinessVerificationPage-aj1YPi-U-D4YVlN1d.js} +1 -1
- package/dist/assets/{CardNumberSubText-COZ0PEHK-CGMTIPNh.js → CardNumberSubText-COZ0PEHK-DfX-_Vv0.js} +1 -1
- package/dist/assets/{CashbackDetailPage-BloaeO12-DkRvSRPk.js → CashbackDetailPage-BloaeO12-CKXrQ4pr.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-CjW48x_w-DZEJnmps.js → ChargeCardDetailPage-CjW48x_w-CYCiZNdX.js} +1 -1
- package/dist/assets/{ChargeCardListPage-CiUoFBZq-BBkjDTTQ.js → ChargeCardListPage-CiUoFBZq-fokUM1Ml.js} +1 -1
- package/dist/assets/{ChargeCardListTable-BGdEyXLV-BJk1B__-.js → ChargeCardListTable-BGdEyXLV-i14Xe5Xy.js} +1 -1
- package/dist/assets/{ChargeCardPromoPage-BYgvGdtQ-jQVVK6Po.js → ChargeCardPromoPage-BYgvGdtQ-BP8Ml7dN.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-B0L57e-5-DfN8lydv.js → ChargeCardSetupPage-B0L57e-5-g-QFSpA6.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-CB76MDoV-B8r9tvXY.js → ChargeCardStatementsPage-CB76MDoV-DzuODTlT.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-Cr_oz-BZ-B8n362Tm.js → CheckDepositDrawerPage-Cr_oz-BZ-COLf_Spm.js} +1 -1
- package/dist/assets/{CollapsableReportTable-B3_in9eE-D8gjZt8q.js → CollapsableReportTable-B3_in9eE-DAO-TPrY.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-K0bu4TF7-zO2jQ48g.js → CompanyOfficerDetailsSection-K0bu4TF7-A5XuxES5.js} +1 -1
- package/dist/assets/{CompanyPassportCard-Bn50f4y5-D-A9Krsj.js → CompanyPassportCard-Bn50f4y5-DOiZtliu.js} +1 -1
- package/dist/assets/{CompanyPassportPage-CamFfvAV-lyA9J8un.js → CompanyPassportPage-CamFfvAV-Dh23xkTd.js} +1 -1
- package/dist/assets/{CompleteProfile-2jFR92oO-DA0X1epS.js → CompleteProfile-2jFR92oO-Dv25uofO.js} +1 -1
- package/dist/assets/{ComposedChart-Cot0K7Et-DQrzoGG2.js → ComposedChart-Cot0K7Et-Cs0IcUoo.js} +1 -1
- package/dist/assets/{ConfettiBurst-D34cviSS-Z_WPGmrN.js → ConfettiBurst-D34cviSS---m1oxyT.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-Abz0ijRD-C8cSnLG_.js → CreateOrEditVendorPage-Abz0ijRD-Wxr0ruoD.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-BRcbxJYU-DxBcUp2U.js → CreditCardPaymentDrawerPage-BRcbxJYU-BrdaibUh.js} +1 -1
- package/dist/assets/{CurrencySelectField-DR8cDrIS-TTiuldkA.js → CurrencySelectField-DR8cDrIS-BWQqgMWL.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-DPghXiES-Be3J744M.js → CustomerOnboardingActivationPage-DPghXiES-BYZrYsLp.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-CiLsQ_pQ-BfS6D7SD.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DImhzWZN-BU1ePL5b.js → CustomerOnboardingDetailPageSkeleton-DImhzWZN-Cc3W2piF.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-B0y5uw1X-DTSY3wEk.js → CustomerOnboardingNoStepsPage-B0y5uw1X-CpWrxFy5.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-BheJqVUY-DnAWhFCF.js → CustomerOnboardingPage-BheJqVUY-gSyXgh3g.js} +1 -1
- package/dist/assets/{CustomerOnboardingProductSuitePage-BaYYKqZ9-C13CIlQM.js → CustomerOnboardingProductSuitePage-BaYYKqZ9-Cjiy9Y20.js} +1 -1
- package/dist/assets/{Dashboard-DJs11vgV-CqS9vdTt.js → Dashboard-DJs11vgV-KI7JNzAI.js} +1 -1
- package/dist/assets/{DashboardReportPage-CL0RrJ4A-FEfXS09v.js → DashboardReportPage-CL0RrJ4A-CMyxRLdL.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-DHlKExbg-wP92oaCm.js → DashboardSidebarBackgroundAnimation-DHlKExbg-2TSvr-F-.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-C36JnddA-CD1u3HOE.js → DepositAccTransactionItem-C36JnddA-BuRFl8Tj.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-Db5EpWjl-D4uYWawD.js → DepositAccTransactionListPage-Db5EpWjl-fYOiHNFH.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-C_flRkmQ-DX47g_ws.js → DomesticWireDetailsPage-C_flRkmQ-D2Y9zL_T.js} +1 -1
- package/dist/assets/{DownloadOverlay-CLWNXGnb-DS0DZTJ1.js → DownloadOverlay-CLWNXGnb-CzOVbqqI.js} +1 -1
- package/dist/assets/{DrawerPage-BdYS_9Mt-BL0llqyf.js → DrawerPage-BdYS_9Mt-Bc1McCUH.js} +1 -1
- package/dist/assets/{EditPeoplePage-B7bjXrqC-Bm6qgPK0.js → EditPeoplePage-B7bjXrqC-OL09v3a6.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-BRYd6JMC-BudgCO3p.js → EditReimbursementDetailPage-BRYd6JMC-F9QPl0Ac.js} +1 -1
- package/dist/assets/{EntityDetailPage-B1aKw_1J-DOXQOxN6.js → EntityDetailPage-B1aKw_1J-CWSa9OE7.js} +1 -1
- package/dist/assets/{EntitySummarySection-Cp-CFb9j-NVB6pHEa.js → EntitySummarySection-Cp-CFb9j-DWbzDu3x.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-C7tY6mua-BYHSgS-c.js → ExpenseAutomationOverviewPage-C7tY6mua-CIo35h3r.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-CeP8I1tB-C-mlsXcM.js → ExpenseAutomationPage-CeP8I1tB-DHQpDifW.js} +1 -1
- package/dist/assets/{ExpressPayPage-DYUtczg7-BDKERlx3.js → ExpressPayPage-DYUtczg7-Cb7gdmam.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-Brau5064-B_mFzC9F.js → FeaturePreviewPage-Brau5064-B6gubfR5.js} +1 -1
- package/dist/assets/{FollowStepsSection-Dhf67oqf-CptFWIJS.js → FollowStepsSection-Dhf67oqf-C9-DQpEq.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-C89Tsajc-e0Pd9wZo.js → GlobalReviewListPage-C89Tsajc-C8QIbpaJ.js} +1 -1
- package/dist/assets/{InformationCardStack-BLD4XmMT-Dp1BbBqU.js → InformationCardStack-BLD4XmMT-CaIFPHpb.js} +1 -1
- package/dist/assets/{InsightsCardStack-CAwTWreO-DWsXatY7.js → InsightsCardStack-CAwTWreO-DMHtrXvo.js} +1 -1
- package/dist/assets/{InsightsSection-DJrMi3DN-DUYhJ5vl.js → InsightsSection-DJrMi3DN-BZzGhpNe.js} +1 -1
- package/dist/assets/{IntegrationsSettingsPage-LAjqcDLQ-BjUKkE_z.js → IntegrationsSettingsPage-LAjqcDLQ-CwsnsoHn.js} +1 -1
- package/dist/assets/{InternationalWireSwiftDetailsPage-_4BMP68N-DzpoTdAd.js → InternationalWireSwiftDetailsPage-_4BMP68N-D2TibYHD.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-BiDh0ost-o29PWd-q.js → InternationalWireVerificationPage-BiDh0ost-DRFXu-Md.js} +1 -1
- package/dist/assets/{InviteFormPage-DN2uvROT-Dfc30Liy.js → InviteFormPage-DN2uvROT-D-pHqBtv.js} +1 -1
- package/dist/assets/{InvitePageListView-DDi1bLaG-BIsQyZAc.js → InvitePageListView-DDi1bLaG-CWBEJEz9.js} +1 -1
- package/dist/assets/{InvitePeoplePage-D4bsu9K1-CnzfbNDf.js → InvitePeoplePage-D4bsu9K1-K8YB3huJ.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-BducuHAy-CwGoLvBS.js → InvoiceUploadSection-BducuHAy-DP3yW3zT.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-C2I9mUTD-8YcF3Lm8.js → IssueChargeCardPage-C2I9mUTD-Dk0ZH0_P.js} +1 -1
- package/dist/assets/{LabeledAddressValue-mLMacnQu-BhboedQp.js → LabeledAddressValue-mLMacnQu-Bs8h4KYU.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-C74ZzWQ3-j8ky07qz.js → LabeledAddressValueField-C74ZzWQ3-CvAM7L7i.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-D7yxgfu0-DldJVWKR.js → LabeledControlledCheckBoxField-D7yxgfu0-DgJw74_b.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-BoymBi06-CmNh4XiF.js → LabeledCreatableSingleSelectField-BoymBi06-B5wgIZxM.js} +1 -1
- package/dist/assets/{LabeledDocumentField-BEg2KNOF-CXhVMSrJ.js → LabeledDocumentField-BEg2KNOF-CI4r3QEJ.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-B4_WiAaD-BNmJ6YJs.js → LabeledDropDownFormattedTextField-B4_WiAaD-C8oOx3AR.js} +1 -1
- package/dist/assets/{LabeledText-iHeu8MCf-BqC7UtSs.js → LabeledText-iHeu8MCf-GFbIBet5.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-O_tz5mgs-3DtmJ9nC.js → LabeledUserSingleSelectWithSubtitlesField-O_tz5mgs-90UTcRc3.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-DoF6cXd_-NHc4m6ED.js → LabeledZeniRolesDropDownField-DoF6cXd_-DT1LbBkc.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-C1FL0hR6-BhDC9P29.js → LinkJETransactionPage-C1FL0hR6-Bp0Um_Sm.js} +1 -1
- package/dist/assets/{LockCardPage-Do7WCHaW-DegBv6L_.js → LockCardPage-Do7WCHaW-ZupVtZLk.js} +1 -1
- package/dist/assets/{LowBalancePopup-CEiTKqxT-F00svkBR.js → LowBalancePopup-CEiTKqxT-DJVUP8TV.js} +1 -1
- package/dist/assets/{MagicLinkACHDetailsPage-C7xvzxN5-Dc6R7yOX.js → MagicLinkACHDetailsPage-C7xvzxN5-pg2IguPb.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-D8iNxVu6-BUAijWLq.js → MagicLinkDomesticWireDetailsPage-D8iNxVu6-Boex5dqe.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-DNmvv77I-BpwPqLdA.js → MagicLinkInternationalWireDetailsPage-DNmvv77I-C23EkFxR.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-BO-k4XK1-MGQVRHRk.js → MagicLinkSuccessPage-BO-k4XK1-QkgOmsPy.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-CzGvBYzB-DMlmyXfy.js → MagicLinkTitleSection-CzGvBYzB-B3pEwVq_.js} +1 -1
- package/dist/assets/{MailingDetailsSection-C_TtoLpj-DODfBmzp.js → MailingDetailsSection-C_TtoLpj-DxhbJD-R.js} +1 -1
- package/dist/assets/{Menu-pyYbFxsT-C1MdlXRT.js → Menu-pyYbFxsT-BjDDhfv4.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-BP6RBO_Y-CehX8chf.js → MyBankConnectionsSettingsPage-BP6RBO_Y-BFwv-Z-d.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-CBwy21Ec-BLf4vWlb.js → MyPendingActivationChargeCardListPage-CBwy21Ec-CDRbSeBl.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-yHoOgEgo-DBI4IsMo.js → MyProfileSettingsPage-yHoOgEgo-daGXrnbi.js} +1 -1
- package/dist/assets/{NavBarWithPicker-FYZ2a05o-CmU_pgV6.js → NavBarWithPicker-FYZ2a05o-B8iO0ddX.js} +1 -1
- package/dist/assets/{NavigationArrow-DlO0Lww9-Ct543iDt.js → NavigationArrow-DlO0Lww9-C_GP4JM3.js} +1 -1
- package/dist/assets/{NavigationDots-DO5y6mdV-DGnlFBBn.js → NavigationDots-DO5y6mdV-CX8opgkb.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-FW6_Vbee-CfGEofWn.js → NewGlobalMerchantPage-FW6_Vbee-GgZoUq7l.js} +1 -1
- package/dist/assets/{NoDataChart-C0lCeeVH-BiooJKO2.js → NoDataChart-C0lCeeVH-DA9wYEab.js} +1 -1
- package/dist/assets/{NoDataTable-Mkdamra1-CCnSaZtC.js → NoDataTable-Mkdamra1-C4lxq944.js} +1 -1
- package/dist/assets/{NotFoundPage-DGkjOhKP-kjD5UcP7.js → NotFoundPage-DGkjOhKP-_tY2chCo.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-BhlKl9Ll-BUY5FCkq.js → NotificationSettingsPage-BhlKl9Ll-DUhiPe-6.js} +1 -1
- package/dist/assets/{NotificationsListConfig-DsgxTfdY-t5wE01Ro.js → NotificationsListConfig-DsgxTfdY-Bf7tXkyY.js} +1 -1
- package/dist/assets/{NotificationsPage-ZeNj-N6e-Bg1RwKL7.js → NotificationsPage-ZeNj-N6e-BTrejAUV.js} +1 -1
- package/dist/assets/{OpExByVendorPage-BFHzD656-CkhDsmtK.js → OpExByVendorPage-BFHzD656-CtmebRpb.js} +1 -1
- package/dist/assets/{OverlayContainerPage-C0a1XRUE-Coei_22L.js → OverlayContainerPage-C0a1XRUE-V98nAOZV.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-Ccd2Dj3E-BSp6SVyg.js → PandLWithForecastPage-Ccd2Dj3E-CdBcqIm3.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-NPYLXD6--Bula2_j9.js → PaymentAccountSetupBillingAddressSection-NPYLXD6--CVxMCQA5.js} +1 -1
- package/dist/assets/{PeoplePage-Dzl5Uh33-C_9NQRDZ.js → PeoplePage-Dzl5Uh33-BdlH9bSI.js} +1 -1
- package/dist/assets/{ProductsCarousel-B7wcRg4N-MgqN7eQE.js → ProductsCarousel-B7wcRg4N-CnpQ0WOo.js} +1 -1
- package/dist/assets/{PromoBaseCards-38oPeuBR-DNrev2WE.js → PromoBaseCards-38oPeuBR-B0H8TJQa.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-Bn425Vnl-D7-SW8Tv.js → QBOConnectionDialog-Bn425Vnl-BbJL04ac.js} +1 -1
- package/dist/assets/{QBOSetupSection-BqbiJ_dk-CZU6Pjgx.js → QBOSetupSection-BqbiJ_dk-32r8g9xi.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-DmhPPX4d-DMO5czP7.js → ReimbursementApprovalRuleDetailPage-DmhPPX4d-D9mrhM9N.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-DwaZeT8t-Ds2HMmHz.js → ReimbursementApprovalRulesPage-DwaZeT8t-Dv8_jFtg.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-D2tg-yOT-C3XwZ7Pf.js → ReimbursementDetailPage-D2tg-yOT-BzN7qc1_.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-kn4Die2q-BNaLqm9R.js → ReimbursementPromoPage-kn4Die2q-CKqS3hXc.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-D4FP9co3-fxCiVZhE.js → ReimbursementSetUpPage-D4FP9co3-CEmWCDyN.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-hhvxZzxC-BXtCzSIP.js → ReimbursementsBulkReviewDrawerPage-hhvxZzxC-DWqEVSUF.js} +1 -1
- package/dist/assets/{ReloadCard-CreyuBvN-CLMqgpFk.js → ReloadCard-CreyuBvN-DjNwhyuW.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-BeCqfOU9-DQYZGv2r.js → ReportTableViewSelector-BeCqfOU9-Dl1-rF4w.js} +1 -1
- package/dist/assets/{ReportsPage-CZpFSu1Y-DlpOcAya.js → ReportsPage-CZpFSu1Y-CZ0qiQOk.js} +1 -1
- package/dist/assets/{RevenueChart-CI7LXu5--DgnFQndd.js → RevenueChart-CI7LXu5--C_eMlqa_.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-DaTETUBT-PWso5Dab.js → ReviewDetailsPage-DaTETUBT-BNZWzAUG.js} +1 -1
- package/dist/assets/{ReviewOverlay-De5_nrll-D6fwtyEd.js → ReviewOverlay-De5_nrll-UZnD0Wrb.js} +1 -1
- package/dist/assets/{RoleWithToolTip-CWH-iJqI-DmzPBpda.js → RoleWithToolTip-CWH-iJqI-1DRRWE9G.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-Bq9TnStX-DDHnOsNU.js → ScheduleDetailsFixedAssetsPage-Bq9TnStX-BBlEeAEF.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-CkpwjK55-BLiF70NF.js → ScheduleDetailsPage-CkpwjK55-CdEJvs9J.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-3IZuZOPj-CeUyJkl1.js → ScheduleSequenceTable-3IZuZOPj-CpD5-K5M.js} +1 -1
- package/dist/assets/{ScreenRoutes-B29orzq3.js → ScreenRoutes-OiTPRoV-.js} +1 -1
- package/dist/assets/{SetUpAccountSection-DQMufunh-D76vpY_K.js → SetUpAccountSection-DQMufunh-CK9nyz6l.js} +1 -1
- package/dist/assets/{SignIn-xXGNpo08-CUzVPK00.js → SignIn-xXGNpo08-BfJajWh7.js} +1 -1
- package/dist/assets/{SignInScreen-CDr9y3Na.js → SignInScreen-C1mSw17d.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-BnfCoW19-BZB7Hw4I.js → SpendManagementListViewPage-BnfCoW19-KBHNQHIP.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-CqbhJrUj-DTu-7Bk6.js → SpendManagementPerTabPage-CqbhJrUj-kkilMuTU.js} +1 -1
- package/dist/assets/{SpendManagementSection-ajHIu1O8-Cq9RGBsG.js → SpendManagementSection-ajHIu1O8-DADkbXE-.js} +1 -1
- package/dist/assets/{StatementItem-GE_8ctAq-DDQXsDRX.js → StatementItem-GE_8ctAq-DrycMqry.js} +1 -1
- package/dist/assets/{StatementsPage-C3NFPx6M-jgAzPQMr.js → StatementsPage-C3NFPx6M-DxRvU8jY.js} +1 -1
- package/dist/assets/{StatusSwitcher-BFs1Anoq-B4RP8Uzy.js → StatusSwitcher-BFs1Anoq-DpyTt46Q.js} +1 -1
- package/dist/assets/{SubTabSwitcher-D66ATBlk-cmQvyV1w.js → SubTabSwitcher-D66ATBlk-DOhgjMp3.js} +1 -1
- package/dist/assets/{SummaryCard-Bm1IRZgD-Bll-orHR.js → SummaryCard-Bm1IRZgD-91ZI-22I.js} +1 -1
- package/dist/assets/{Switch-0GHq7mOt-Dq45hGqf.js → Switch-0GHq7mOt-DbAV4YYH.js} +1 -1
- package/dist/assets/{TaskManagementPage-BGrBiImq-E6_WY2ZU.js → TaskManagementPage-BGrBiImq-BfzNLv5E.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-BLZFMJtQ-wzd2C_JZ.js → TimeRangeSwitcher-BLZFMJtQ-DGm3ShK1.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-BsjH-yMO-V_f8h8uY.js → TimeframeSwitcher-BsjH-yMO-BPnsY2-U.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-Cu3G5WXl-BNaAKXj3.js → TimeframeSwitcherWithToggle-Cu3G5WXl-DA09Uj2K.js} +1 -1
- package/dist/assets/{TopExCard-ZSEsgTG--BNm-M2ne.js → TopExCard-ZSEsgTG--CATJC-Xk.js} +1 -1
- package/dist/assets/{TopExDetailPage-0MGEdNiZ-CVCWUWVh.js → TopExDetailPage-0MGEdNiZ-zdtgEwyG.js} +1 -1
- package/dist/assets/{TransactionDetailPage-C7wPASNo-BTqu7QgN.js → TransactionDetailPage-C7wPASNo-DbosApC9.js} +1 -1
- package/dist/assets/{TransactionList-Brm_EWed-DwQzznTi.js → TransactionList-Brm_EWed-Cq3RVCVg.js} +1 -1
- package/dist/assets/{TransactionListBig-Br5XrVkF-BW7DnMvS.js → TransactionListBig-Br5XrVkF-CTCHs4ax.js} +1 -1
- package/dist/assets/{TransactionListPage-BE_E_82V-SHPPjUOF.js → TransactionListPage-BE_E_82V-nYGMiY-b.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-CtVIgF01-3kEoBcmO.js → TransactionVendorDetailPage-CtVIgF01-wm39V-7s.js} +1 -1
- package/dist/assets/{TransferDrawerPage-CCKQSH2d-21ckGGxB.js → TransferDrawerPage-CCKQSH2d-C1fxF28H.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-D7OhHT_I-DWU8OjtE.js → TreasuryOverviewPage-D7OhHT_I-CJSivn-m.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-ssGWinby-BKoFmxRZ.js → TreasuryPromoPage-ssGWinby-7M6uQ6F0.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-CB4g45eo-D4tAMGAJ.js → TreasuryStatementsPage-CB4g45eo-FvCbZGLY.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-CixtQrG2-DyQ3GU2a.js → TreasuryTaxLetterPage-CixtQrG2-CdrNDE0k.js} +1 -1
- package/dist/assets/{TrendChart-ZXja3Lv--B4yGBgeP.js → TrendChart-ZXja3Lv--DjXJyQYi.js} +1 -1
- package/dist/assets/{TrendWithTransactions-Bacaqvbc-CDzpSeHr.js → TrendWithTransactions-Bacaqvbc-CuLqX3Nb.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-DgSFpzWV-Bo91RVO4.js → UncategorizedAccountsMappingPage-DgSFpzWV-DQ46RXxs.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-B2KxkPGT-Cj7aVov9.js → UnitIntegrationPage-B2KxkPGT-UD1zrCcb.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-DCq4eMPQ-0xv-e5Z1.js → UploadAdditionalDocumentOverlay-DCq4eMPQ-DgDGrP6S.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-DyQl5kF8-BPyop29n.js → Vendor2FAPopup-DyQl5kF8-DEaADgAn.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-NEsVAzoZ-DqBD51QK.js → VendorACHDetailsPage-NEsVAzoZ-Bc_YmJ7L.js} +1 -1
- package/dist/assets/{VendorDetailPage-gDnCoaGz-Bq_C256n.js → VendorDetailPage-gDnCoaGz-DnPFm_s9.js} +1 -1
- package/dist/assets/{VendorDomesticWireDetailsPage-BeqPYONY-C4JA1J7T.js → VendorDomesticWireDetailsPage-BeqPYONY-DWVhQVkv.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-UIV2Tn2v-dXlu2VP0.js → VendorFiling1099EditablePage-UIV2Tn2v-IWBkVx3W.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-DiNHrTKs--rE1SgmE.js → VendorFirstReviewPage-DiNHrTKs-dMUj2lfg.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-X2xViJmq-BLoiZ84q.js → VendorInternationalWireDetailsPage-X2xViJmq-1IEQyhex.js} +1 -1
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DUjY1sSV-xU4diICn.js → VendorInternationalWireSwiftDetailsPage-DUjY1sSV-7mNdGNdo.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-tcJAh1A7-COfHef35.js → VendorsAccountsSection-tcJAh1A7-Dj7jjfw5.js} +1 -1
- package/dist/assets/{VerifyDevice-BpRkPdzL-DdjhGhQl.js → VerifyDevice-BpRkPdzL-B5ybgDmP.js} +1 -1
- package/dist/assets/{VideoPlayer-DVIeTdLq-CMw9Re6n.js → VideoPlayer-DVIeTdLq-C7AoMVy0.js} +1 -1
- package/dist/assets/{VideoPopup-CPW65Ljn-Mlf95YHy.js → VideoPopup-CPW65Ljn-DMNmv8U3.js} +1 -1
- package/dist/assets/{WarningsDrawerPage-DmT71mwN-DESwOtN_.js → WarningsDrawerPage-DmT71mwN-Di-UIPop.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-BDnKHtXx-DnCgg11y.js → ZeniAccountDetailPage-BDnKHtXx-_4OD2XSq.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-D1I68D9x-zovkBtXJ.js → ZeniAccountListViewPage-D1I68D9x-Bvus0P_k.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-2a3O6Mrv-CEltxOUL.js → ZeniAccountNavBarPieces-2a3O6Mrv-Bn4VbLw2.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-C0xo5aaW-EZZNv-KJ.js → ZeniAccountPromoPage-C0xo5aaW-D7P5Lhzj.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-BfUwEF_n-Cb98B4Sd.js → ZeniAccountSetupPage-BfUwEF_n-Bwo0JfQm.js} +1 -1
- package/dist/assets/{ZeniCopyright-DPuPyAW5-BSJS_xPn.js → ZeniCopyright-DPuPyAW5-Bnt6ioyH.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-CPHnjZJx-BmCI7vMf.js → ZeniTransferAmountSlider-CPHnjZJx-BGffL5pM.js} +1 -1
- package/dist/assets/{_baseUnset-WRwI4F7w-C17FI5GR.js → _baseUnset-WRwI4F7w-SKv6CaOr.js} +1 -1
- package/dist/assets/{analyticsHelper-DQrzJx-G.js → analyticsHelper-C19sEVMv.js} +1 -1
- package/dist/assets/{analyticsHelper-QM8g-I4_-BsSO6wHs.js → analyticsHelper-QM8g-I4_-D8fsuugi.js} +1 -1
- package/dist/assets/{chartTypes-BADtYh4F-X-tWlUJq.js → chartTypes-BADtYh4F-B1Z_E0y8.js} +1 -1
- package/dist/assets/{commonDimensions-B2oTTz3C-DxkHqcKn.js → commonDimensions-B2oTTz3C-BcwGbjhJ.js} +1 -1
- package/dist/assets/{detailCommon-B2986coM-C1gDOjW1.js → detailCommon-B2986coM-NlrX1KrH.js} +1 -1
- package/dist/assets/{downloadPdf-C0_jxUh_-bREzf3Cq.js → downloadPdf-C0_jxUh_-xl909S0g.js} +1 -1
- package/dist/assets/{flatten-CIVR5K8J-DvOZeE7b.js → flatten-CIVR5K8J-D-QSFstn.js} +1 -1
- package/dist/assets/{groupBy-LtwzERV9-C02NtlDV.js → groupBy-LtwzERV9-DfsHYWjt.js} +1 -1
- package/dist/assets/{index-2CdI-B2B.js → index-OJbFNHch.js} +4 -4
- package/dist/assets/map-CnboTxlt-iF8o7Kja.js +1 -0
- package/dist/assets/{mapLoadingInProgressToTreeNode-wIyHFu9f-XNeJbueD.js → mapLoadingInProgressToTreeNode-wIyHFu9f-BUan4l0E.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CPOj7SUJ-C7GfKtaE.js → mapSectionWithAcOnlyToTreeNode-CPOj7SUJ-BBvkWVpb.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-D35gt6vK-B3lOm-Wx.js → mapSpacerToTreeNode-D35gt6vK-Dg4nN-DB.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-CreSrgeo-D32OjiRY.js → mapTimeframeBalancesToTreeNode-CreSrgeo-DJ7qRU6g.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-Cv8OFsQz-CIsvQJMh.js → mapTimeframeBalancesToTreeNode-Cv8OFsQz-BQTTe1de.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CJ8hkVjB-DOWHQg2-.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CJ8hkVjB-B-rBOsE2.js} +1 -1
- package/dist/assets/{omit-5LZGrM3q-cCGLyNB9.js → omit-5LZGrM3q-Dkas3Ge8.js} +1 -1
- package/dist/assets/{orderBy-D3W4CDe6-BoPe-dQB.js → orderBy-D3W4CDe6-C2Pj0hxa.js} +1 -1
- package/dist/assets/{remove-ADLCpWJf-CcDvT7jc.js → remove-ADLCpWJf-C_kUyMnr.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-C_Swao_b-2UkzUVnC.js → toCOABalancesWithID-C_Swao_b-UbAQtm0o.js} +1 -1
- package/dist/assets/{toChartData-DfujfQ7D-nillWsTs.js → toChartData-DfujfQ7D-DwlIUYBD.js} +1 -1
- package/dist/assets/{uploadAttachment-Wnp0PZFn-CVVetHUv.js → uploadAttachment-Wnp0PZFn-BWKvLRtm.js} +1 -1
- package/dist/assets/{uploadReceipts-BkHrFC8j-DevoCqHx.js → uploadReceipts-BkHrFC8j-BKjYP7lf.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-CiLsQ_pQ-BpWpryzi.js +0 -1
- package/dist/assets/map-CnboTxlt-CZn0FfBt.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as F,a8 as J,dt as K,bB as Q,j as t,a as z,aa as X,bC as Y,R as i,b as a,f as Z,d as q,e as ee,id as te,ah as ae,dF as O,jA as le,dx as U,dv as oe,s as l,bJ as ne,dN as re,dL as ie,fF as de,A as se,fN as ce,eB as me,bW as he,C as j}from"./index-
|
|
1
|
+
import{u as F,a8 as J,dt as K,bB as Q,j as t,a as z,aa as X,bC as Y,R as i,b as a,f as Z,d as q,e as ee,id as te,ah as ae,dF as O,jA as le,dx as U,dv as oe,s as l,bJ as ne,dN as re,dL as ie,fF as de,A as se,fN as ce,eB as me,bW as he,C as j}from"./index-OJbFNHch.js";import{a as G}from"./core-tlHkQPPu.js";import{n,c as be}from"./mui-kiGMfX4-.js";import"./sentry-Dhk5jNhq.js";import"./zeni-epic-state-Bo1aGezX.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";const u={width:new i(343,580,726),height:new i(l[6],l[6]),controlHeight:new i(l[6],l[6]),paddingTopBottom:new i(l[2],l[2]),marginRight:new i(l[2],l[2]),labelMarginLeft:new i(l[3],l[4]),labelMarginRight:new i(l[3],l[4]),labelMarginTop:new i(l[2],l[2])},ge={infoLabel:new q("smallRegular","standardRegular")},ue=z.getLocalizedStrings();function pe({label:e,textField:o,additionalInfo:b,checkBoxFields:m,fetchState:g,style:v,toolTip:M,isOptionalLabel:y}){const s=F(),{formState:{errors:d}}=O(),p=re(d,o.name);return t.jsxs(we,{windowSize:s,style:v,isDisabled:o.isDisabled!=null,isError:p,children:[t.jsx(ie,{isDisabled:o.isDisabled,label:e.label,style:{marginLeft:u.labelMarginLeft.value(s),marginRight:u.labelMarginRight.value(s),marginTop:u.labelMarginTop.value(s),width:e.width??"auto"},showTooltip:M!=null,tooltipTitle:M?.title,toolTipWidth:M?.width,isOptional:y}),t.jsxs(xe,{labelWidth:e.width,children:[t.jsx(de,{...o,style:{...o.style,display:"flex",flexGrow:1,width:"-webkit-fill-available",height:u.controlHeight.value(s),cursor:"inherit"}}),g?.fetchState==="In-Progress"?t.jsx(Me,{children:t.jsx(se,{size:"Standard",start:!0})}):t.jsxs($e,{children:[t.jsxs(fe,{windowSize:s,isRecommendationVisible:m.length>0,isError:p,children:[b.icon,b.label]}),m.length>0?m.map((r,c)=>t.jsxs(t.Fragment,{children:[t.jsx(ce,{isHighlighted:!0,label:{label:r.label},checkBoxField:r.field,defaultChecked:r.field.defaultChecked,isDisabled:r.field.isDisabled!=null},me()),c<m.length-1?t.jsx(Se,{children:ue.common.texts.or}):null]})):null]})]})]})}const we=n.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
align-items: flex-start;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as l,j as t,C as s,b as h,ah as r,R as o,i as m}from"./index-
|
|
1
|
+
import{u as l,j as t,C as s,b as h,ah as r,R as o,i as m}from"./index-OJbFNHch.js";import{n as i}from"./mui-kiGMfX4-.js";import{a}from"./core-tlHkQPPu.js";const v=e=>a.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{fill:"#3E4043",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),a.createElement("path",{d:"M68 235a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121H68V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zm128 116a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v80h-56v-80zm128-41a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zM708 50a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v306h-56V50zm128 185a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160z",fill:"#3E4043"})),c=e=>a.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{fill:"#E9ECF0",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),a.createElement("path",{d:"M68 235a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121H68V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zm128 116a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v80h-56v-80zm128-41a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zM708 50a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v306h-56V50zm128 185a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160z",fill:"#E9ECF0"})),d={chartMinHeight:new o(288,360)},z=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as e,b as t,i}from"./index-
|
|
1
|
+
import{j as e,b as t,i}from"./index-OJbFNHch.js";import{n as s}from"./mui-kiGMfX4-.js";import{r as n,t as r}from"./graphic-no-data-l-CfhD7tYw-SmhQgAdh.js";const p=s.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
padding: ${t.sp8} ${t.sp0} ${t.sp8} ${t.sp0};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as o,a as i,cP as l,H as s,ah as a,C as c,ai as d}from"./index-
|
|
1
|
+
import{j as o,a as i,cP as l,H as s,ah as a,C as c,ai as d}from"./index-OJbFNHch.js";import{n as t}from"./mui-kiGMfX4-.js";import{t as g}from"./ZeniCopyright-DPuPyAW5-Bnt6ioyH.js";import"./core-tlHkQPPu.js";import"./sentry-Dhk5jNhq.js";import"./zeni-epic-state-Bo1aGezX.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";const h=t.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
height: 100vh;
|
|
4
4
|
position: relative;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t,hr as ne,b as i,cz as se,a as N,bq as re,i as J,u as W,a8 as le,dt as ae,cf as ce,aa as de,a9 as v,bC as pe,R as M,gY as me,hs as ue,fZ as he,ht as ge,hu as fe,bz as xe,s as I,bJ as Z,af as K,ah as Q,ai as $e}from"./index-
|
|
1
|
+
import{j as t,hr as ne,b as i,cz as se,a as N,bq as re,i as J,u as W,a8 as le,dt as ae,cf as ce,aa as de,a9 as v,bC as pe,R as M,gY as me,hs as ue,fZ as he,ht as ge,hu as fe,bz as xe,s as I,bJ as Z,af as K,ah as Q,ai as $e}from"./index-OJbFNHch.js";import{a as k}from"./core-tlHkQPPu.js";import{n as o}from"./mui-kiGMfX4-.js";import{fD as be,fE as ye,fF as Se,fG as je}from"./zeni-epic-state-Bo1aGezX.js";import"./sentry-Dhk5jNhq.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";const{common:we}=N.getLocalizedStrings(),F={notePadding:new M(I[3],I[4]),noteGap:new M(I[0],6)},z=(e,n)=>`${e}.${n}`,ve=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
row-gap: ${i.sp3};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e,s as t}from"./index-
|
|
1
|
+
import{t as e,s as t}from"./index-OJbFNHch.js";const a=t[5],r=59,o=t[5],i=e.standardRegular.lineHeightValue,l=1,n=1e3;export{a as e,i,l as n,n as o,o as r,r as t};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as Q,u as v,a8 as Zt,a as B,dt as Qt,j as t,cf as Xt,aa as ei,bC as ti,b as i,a9 as ye,im as ii,R,js as oi,t as Ne,A as si,a_ as ot,da as st,bG as at,eC as rt,dj as nt,lm as lt,s as w,B as ai,ln as ri,eB as ue,by as ni,d as li,e as dt,C as k,af as di,cA as z,dF as he,hs as pe,lo as fe,a$ as ct,a7 as ut,eR as U,gK as ht,hC as ci,ah as X,jF as ui,ai as E,g$ as hi,bs as $e,bM as me,lp as pi,cx as pt,lq as ze,c9 as fi}from"./index-
|
|
1
|
+
import{i as Q,u as v,a8 as Zt,a as B,dt as Qt,j as t,cf as Xt,aa as ei,bC as ti,b as i,a9 as ye,im as ii,R,js as oi,t as Ne,A as si,a_ as ot,da as st,bG as at,eC as rt,dj as nt,lm as lt,s as w,B as ai,ln as ri,eB as ue,by as ni,d as li,e as dt,C as k,af as di,cA as z,dF as he,hs as pe,lo as fe,a$ as ct,a7 as ut,eR as U,gK as ht,hC as ci,ah as X,jF as ui,ai as E,g$ as hi,bs as $e,bM as me,lp as pi,cx as pt,lq as ze,c9 as fi}from"./index-OJbFNHch.js";import{a as g}from"./core-tlHkQPPu.js";import{n as r,c as O}from"./mui-kiGMfX4-.js";import{g9 as mi,ga as gi,bO as Z,bj as y,dE as ft}from"./zeni-epic-state-Bo1aGezX.js";import{n as xi}from"./SubTabSwitcher-D66ATBlk-DOhgjMp3.js";import{r as mt}from"./useLongPress-7jtiD2hr-B6uZ6RFc.js";import{i as gt,e as xt,t as bt,r as wt,o as yt,n as $t}from"./NotificationsListConfig-DsgxTfdY-Bf7tXkyY.js";import"./sentry-Dhk5jNhq.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";function bi({tabs:e,selectedTab:o,subTabs:s,selectedSubTab:a,subTabRightComponent:l,tabStyle:n,subTabStyle:c,onTabChange:d,onSubTabChange:p}){const u=v(),h=Q(),m=g.useCallback(x=>{d(x.id)},[d]),f=g.useCallback(x=>{p(x.id)},[p]);return e.length===0?null:t.jsxs(wi,{windowSize:u,children:[t.jsx(oi,{allTabs:e,selectedTab:o,containerStyle:{...n,borderBottom:`1px solid ${h.colors.grey3}`},onTabChange:m}),t.jsx(xi,{allTabs:s,selectedTab:a,containerStyle:{...c},rightComponent:l,onTabChange:f})]})}const wi=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
package/dist/assets/{OpExByVendorPage-BFHzD656-CkhDsmtK.js → OpExByVendorPage-BFHzD656-CtmebRpb.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as X,jr as xe,a as T,i as J,d4 as be,a_ as _e,j as a,bm as Se,cz as ve,jq as ke,cj as we,cf as Be,js as je,jt as Te,d1 as Pe,d2 as Oe,d3 as $e,b as x,bq as De,A as Ne,R as z,bG as ce,b3 as de,cl as Ie,bs as Ee,s as O,cu as Ae,bS as Me,t as re,bR as Re,bv as Le,cv as Fe,cs as Ve,C as o,ah as pe}from"./index-
|
|
1
|
+
import{u as X,jr as xe,a as T,i as J,d4 as be,a_ as _e,j as a,bm as Se,cz as ve,jq as ke,cj as we,cf as Be,js as je,jt as Te,d1 as Pe,d2 as Oe,d3 as $e,b as x,bq as De,A as Ne,R as z,bG as ce,b3 as de,cl as Ie,bs as Ee,s as O,cu as Ae,bS as Me,t as re,bR as Re,bv as Le,cv as Fe,cs as Ve,C as o,ah as pe}from"./index-OJbFNHch.js";import{a as w,o as ze}from"./core-tlHkQPPu.js";import{n as f}from"./mui-kiGMfX4-.js";import{fX as We}from"./zeni-epic-state-Bo1aGezX.js";import{c as Ke,s as Ye,o as q,a as me,r as oe}from"./chartTypes-BADtYh4F-B1Z_E0y8.js";import{t as Ge}from"./toChartData-DfujfQ7D-DwlIUYBD.js";import{n as He}from"./ComposedChart-Cot0K7Et-Cs0IcUoo.js";import{a as W}from"./analyticsHelper-QM8g-I4_-D8fsuugi.js";import{i as qe}from"./TimeRangeSwitcher-BLZFMJtQ-DGm3ShK1.js";import{y as Ue}from"./TimeframeSwitcherWithToggle-Cu3G5WXl-DA09Uj2K.js";import{x as Xe}from"./NoDataChart-C0lCeeVH-DA9wYEab.js";import{a as Je}from"./NoDataTable-Mkdamra1-C4lxq944.js";import{D as Qe,Y as ae}from"./detailCommon-B2986coM-NlrX1KrH.js";import{e as K}from"./getReferrerType-D1egX4iL-cWt5sFuQ.js";import{r as Ze,N as U}from"./CollapsableReportTable-B3_in9eE-DAO-TPrY.js";import{a as he}from"./mapTimeframeBalancesToTreeNode-Cv8OFsQz-BQTTe1de.js";import{n as te}from"./mapLoadingInProgressToTreeNode-wIyHFu9f-BUan4l0E.js";import{a as er}from"./mapSpacerToTreeNode-D35gt6vK-Dg4nN-DB.js";import"./sentry-Dhk5jNhq.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";import"./Area-Sl30rGq6-CogxmVvt.js";import"./Switch-0GHq7mOt-DbAV4YYH.js";import"./TimeframeSwitcher-BsjH-yMO-BPnsY2-U.js";import"./graphic-no-data-l-CfhD7tYw-SmhQgAdh.js";import"./AccountRow-DbyUdPZG-kPApYWvO.js";import"./useFormControl-DPydD0oc-BkCU7DyG.js";const rr=f.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
`,or=f.div`
|
|
4
4
|
flex: display;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i,j as r}from"./index-
|
|
1
|
+
import{i,j as r}from"./index-OJbFNHch.js";import{n}from"./mui-kiGMfX4-.js";import"./core-tlHkQPPu.js";import"./sentry-Dhk5jNhq.js";import"./zeni-epic-state-Bo1aGezX.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";const p=n.div`
|
|
2
2
|
display: ${({isOpen:o})=>o?"block":"none"};
|
|
3
3
|
position: fixed;
|
|
4
4
|
top: 0;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as o,G as R,i as B,u as M,bm as _,cf as de,a as n,B as ge,A as me,R as Y,t as pe,b as s,b3 as he,cl as ue,bs as fe,H as xe,dr as Se,cc as we,s as $,ds as je,bq as be,br as Pe,bM as ye}from"./index-
|
|
1
|
+
import{j as o,G as R,i as B,u as M,bm as _,cf as de,a as n,B as ge,A as me,R as Y,t as pe,b as s,b3 as he,cl as ue,bs as fe,H as xe,dr as Se,cc as we,s as $,ds as je,bq as be,br as Pe,bM as ye}from"./index-OJbFNHch.js";import{a as E}from"./core-tlHkQPPu.js";import{n as r}from"./mui-kiGMfX4-.js";import{v as Ce}from"./NavBarWithPicker-FYZ2a05o-B8iO0ddX.js";import{a as ke}from"./analyticsHelper-QM8g-I4_-D8fsuugi.js";import{y as $e}from"./TimeframeSwitcherWithToggle-Cu3G5WXl-DA09Uj2K.js";import{r as ze,i as ve}from"./CollapsableReportTable-B3_in9eE-DAO-TPrY.js";import{V as U}from"./usp-line-4JsxsMjK-mCxwNowe.js";import{eX as Le,eY as Te}from"./zeni-epic-state-Bo1aGezX.js";import{i as Ie,l as Ae,a as Me}from"./mapSectionWithAcOnlyToTreeNode-CPOj7SUJ-BBvkWVpb.js";import{a as K}from"./mapTimeframeBalancesToTreeNode-CreSrgeo-DJ7qRU6g.js";import"./sentry-Dhk5jNhq.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";import"./Switch-0GHq7mOt-DbAV4YYH.js";import"./TimeframeSwitcher-BsjH-yMO-BPnsY2-U.js";import"./AccountRow-DbyUdPZG-kPApYWvO.js";import"./useFormControl-DPydD0oc-BkCU7DyG.js";const Q="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual.png",Z="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual-dark.png",Ne=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
min-height: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c as ce,a as ae,bB as De,t as G,b as d,C as V,u as se,j as c,cG as Me,i as je,dF as Ne,bs as X,R as te,ca as We,cJ as Fe,ah as Pe,bC as Ve,ac as le,s as He,ib as qe,j7 as f,ai as Ye,d as Je}from"./index-
|
|
1
|
+
import{c as ce,a as ae,bB as De,t as G,b as d,C as V,u as se,j as c,cG as Me,i as je,dF as Ne,bs as X,R as te,ca as We,cJ as Fe,ah as Pe,bC as Ve,ac as le,s as He,ib as qe,j7 as f,ai as Ye,d as Je}from"./index-OJbFNHch.js";import{a as O,o as u}from"./core-tlHkQPPu.js";import{n as S}from"./mui-kiGMfX4-.js";import{n as Ke}from"./SetUpAccountSection-DQMufunh-CK9nyz6l.js";function ue(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function pe(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ue(Object(r),!0).forEach(function(n){Le(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ue(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Ee(e){return(Ee=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function Le(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Re(e,t){return function(r){if(Array.isArray(r))return r}(e)||function(r,n){var o=r&&(typeof Symbol<"u"&&r[Symbol.iterator]||r["@@iterator"]);if(o!=null){var a,s,p=[],l=!0,m=!1;try{for(o=o.call(r);!(l=(a=o.next()).done)&&(p.push(a.value),!n||p.length!==n);l=!0);}catch(i){m=!0,s=i}finally{try{l||o.return==null||o.return()}finally{if(m)throw s}}return p}}(e,t)||function(r,n){if(r){if(typeof r=="string")return de(r,n);var o=Object.prototype.toString.call(r).slice(8,-1);if(o==="Object"&&r.constructor&&(o=r.constructor.name),o==="Map"||o==="Set")return Array.from(r);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return de(r,n)}}(e,t)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2
2
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function de(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var k=function(e,t,r){var n=!!r,o=u.useRef(r);u.useEffect(function(){o.current=r},[r]),u.useEffect(function(){if(!n||!e)return function(){};var a=function(){o.current&&o.current.apply(o,arguments)};return e.on(t,a),function(){e.off(t,a)}},[n,t,e,o])},re=function(e){var t=u.useRef(e);return u.useEffect(function(){t.current=e},[e]),t.current},H=function(e){return e!==null&&Ee(e)==="object"},me="[object Object]",Ze=function e(t,r){if(!H(t)||!H(r))return t===r;var n=Array.isArray(t);if(n!==Array.isArray(r))return!1;var o=Object.prototype.toString.call(t)===me;if(o!==(Object.prototype.toString.call(r)===me))return!1;if(!o&&!n)return t===r;var a=Object.keys(t),s=Object.keys(r);if(a.length!==s.length)return!1;for(var p={},l=0;l<a.length;l+=1)p[a[l]]=!0;for(var m=0;m<s.length;m+=1)p[s[m]]=!0;var i=Object.keys(p);if(i.length!==a.length)return!1;var E=t,x=r;return i.every(function(b){return e(E[b],x[b])})},ke=function(e,t,r){return H(e)?Object.keys(e).reduce(function(n,o){var a=!H(t)||!Ze(e[o],t[o]);return r.includes(o)?(a&&console.warn("Unsupported prop change: options.".concat(o," is not a mutable property.")),n):a?pe(pe({},n||{}),{},Le({},o,e[o])):n},null):null},$e="Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.",ge=function(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$e;if(e===null||H(t=e)&&typeof t.elements=="function"&&typeof t.createToken=="function"&&typeof t.createPaymentMethod=="function"&&typeof t.confirmCardPayment=="function")return e;throw new Error(r)},Ge=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$e;if(function(n){return H(n)&&typeof n.then=="function"}(e))return{tag:"async",stripePromise:Promise.resolve(e).then(function(n){return ge(n,t)})};var r=ge(e,t);return r===null?{tag:"empty"}:{tag:"sync",stripe:r}},Q=u.createContext(null);Q.displayName="ElementsContext";var Ae=function(e,t){if(!e)throw new Error("Could not find Elements context; You need to wrap the part of your app that ".concat(t," in an <Elements> provider."));return e},ze=function(e){var t=e.stripe,r=e.options,n=e.children,o=u.useMemo(function(){return Ge(t)},[t]),a=Re(u.useState(function(){return{stripe:o.tag==="sync"?o.stripe:null,elements:o.tag==="sync"?o.stripe.elements(r):null}}),2),s=a[0],p=a[1];u.useEffect(function(){var i=!0,E=function(x){p(function(b){return b.stripe?b:{stripe:x,elements:x.elements(r)}})};return o.tag!=="async"||s.stripe?o.tag!=="sync"||s.stripe||E(o.stripe):o.stripePromise.then(function(x){x&&i&&E(x)}),function(){i=!1}},[o,s,r]);var l=re(t);u.useEffect(function(){l!==null&&l!==t&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it.")},[l,t]);var m=re(r);return u.useEffect(function(){if(s.elements){var i=ke(r,m,["clientSecret","fonts"]);i&&s.elements.update(i)}},[r,m,s.elements]),u.useEffect(function(){var i;(i=s.stripe)&&i._registerWrapper&&i.registerAppInfo&&(i._registerWrapper({name:"react-stripe-js",version:"2.8.1"}),i.registerAppInfo({name:"react-stripe-js",version:"2.8.1",url:"https://stripe.com/docs/stripe-js/react"}))},[s.stripe]),u.createElement(Q.Provider,{value:s},n)};ze.propTypes={stripe:f.any,options:f.object};var Qe=function(){var e,t;return(e="calls useElements()",t=u.useContext(Q),Ae(t,e)).elements};f.func.isRequired;var Ie=u.createContext(null);Ie.displayName="CustomCheckoutSdkContext";u.createContext(null).displayName="CustomCheckoutContext",f.any,f.shape({clientSecret:f.string.isRequired,elementsOptions:f.object}).isRequired;var ne=function(e){var t=u.useContext(Ie),r=u.useContext(Q);if(t&&r)throw new Error("You cannot wrap the part of your app that ".concat(e," in both <CustomCheckoutProvider> and <Elements> providers."));return t?function(n,o){if(!n)throw new Error("Could not find CustomCheckoutProvider context; You need to wrap the part of your app that ".concat(o," in an <CustomCheckoutProvider> provider."));return n}(t,e):Ae(r,e)},y=function(e,t){var r,n="".concat((r=e).charAt(0).toUpperCase()+r.slice(1),"Element"),o=t?function(a){ne("mounts <".concat(n,">"));var s=a.id,p=a.className;return u.createElement("div",{id:s,className:p})}:function(a){var s,p=a.id,l=a.className,m=a.options,i=m===void 0?{}:m,E=a.onBlur,x=a.onFocus,b=a.onReady,_=a.onChange,$=a.onEscape,T=a.onClick,B=a.onLoadError,D=a.onLoaderStart,z=a.onNetworksChange,N=a.onConfirm,M=a.onCancel,j=a.onShippingAddressChange,W=a.onShippingRateChange,L=ne("mounts <".concat(n,">")),I="elements"in L?L.elements:null,R="customCheckoutSdk"in L?L.customCheckoutSdk:null,P=Re(u.useState(null),2),h=P[0],F=P[1],C=u.useRef(null),U=u.useRef(null);k(h,"blur",E),k(h,"focus",x),k(h,"escape",$),k(h,"click",T),k(h,"loaderror",B),k(h,"loaderstart",D),k(h,"networkschange",z),k(h,"confirm",N),k(h,"cancel",M),k(h,"shippingaddresschange",j),k(h,"shippingratechange",W),k(h,"change",_),b&&(s=e==="expressCheckout"?b:function(){b(h)}),k(h,"ready",s),u.useLayoutEffect(function(){if(C.current===null&&U.current!==null&&(I||R)){var w=null;R?w=R.createElement(e,i):I&&(w=I.create(e,i)),C.current=w,F(w),w&&w.mount(U.current)}},[I,R,i]);var q=re(i);return u.useEffect(function(){if(C.current){var w=ke(i,q,["paymentRequest"]);w&&"update"in C.current&&C.current.update(w)}},[i,q]),u.useLayoutEffect(function(){return function(){if(C.current&&typeof C.current.destroy=="function")try{C.current.destroy(),C.current=null}catch{}}},[]),u.createElement("div",{id:p,className:l,ref:U})};return o.propTypes={id:f.string,className:f.string,onChange:f.func,onBlur:f.func,onFocus:f.func,onReady:f.func,onEscape:f.func,onClick:f.func,onLoadError:f.func,onLoaderStart:f.func,onNetworksChange:f.func,onConfirm:f.func,onCancel:f.func,onShippingAddressChange:f.func,onShippingRateChange:f.func,options:f.object},o.displayName=n,o.__elementType=e,o},v=typeof window>"u";u.createContext(null).displayName="EmbeddedCheckoutProviderContext";y("auBankAccount",v),y("card",v);var fe=y("cardNumber",v),he=y("cardExpiry",v),ye=y("cardCvc",v);y("fpxBank",v),y("iban",v),y("idealBank",v),y("p24Bank",v),y("epsBank",v),y("payment",v),y("expressCheckout",v),y("currencySelector",v),y("paymentRequestButton",v),y("linkAuthentication",v),y("address",v),y("shippingAddress",v),y("paymentMethodMessaging",v),y("affirmMessage",v),y("afterpayClearpayMessage",v);var ee,Oe="https://js.stripe.com/v3",Xe=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,ve=function(e){var t=document.createElement("script");t.src="".concat(Oe).concat("");var r=document.head||document.body;if(!r)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return r.appendChild(t),t},J=null,K=null,Z=null,et=function(e){return J!==null?J:(J=new Promise(function(t,r){if(typeof window<"u"&&typeof document<"u")if(window.Stripe)t(window.Stripe);else try{var n=function(){for(var a=document.querySelectorAll('script[src^="'.concat(Oe,'"]')),s=0;s<a.length;s++){var p=a[s];if(Xe.test(p.src))return p}return null}();if(!(n&&e))if(n){if(n&&Z!==null&&K!==null){var o;n.removeEventListener("load",Z),n.removeEventListener("error",K),(o=n.parentNode)===null||o===void 0||o.removeChild(n),n=ve()}}else n=ve();Z=function(a,s){return function(){window.Stripe?a(window.Stripe):s(new Error("Stripe.js not available"))}}(t,r),K=function(a){return function(){a(new Error("Failed to load Stripe.js"))}}(r),n.addEventListener("load",Z),n.addEventListener("error",K)}catch(a){return void r(a)}else t(null)})).catch(function(t){return J=null,Promise.reject(t)})},Ue=!1,_e=function(){return ee||(ee=et(null).catch(function(e){return ee=null,Promise.reject(e)}))};Promise.resolve().then(function(){return _e()}).catch(function(e){Ue||console.warn(e)});const tt={containerHeight:new te(656,720)},rt=S.div`
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as be,u as I,a as y,j as t,bm as a,cf as le,cz as De,b as o,d9 as Oe,da as _e,A as F,bq as Y,db as Le,bB as Be,dc as Ae,al as Ve,dd as Me,de as We,bG as Ue,b3 as W,df as xe,B as Fe,t as Se,R as $,a8 as Ee,aa as Ze,dg as Ke,dh as He,bj as qe,af as D,di as Ge,dj as Je,dk as je,s as b,dl as Qe,dm as ee,d5 as N,dn as Xe,dp as ge,dq as Ye,ah as O,ai as te,C as V,d6 as ke,bM as ie,cx as et}from"./index-
|
|
1
|
+
import{i as be,u as I,a as y,j as t,bm as a,cf as le,cz as De,b as o,d9 as Oe,da as _e,A as F,bq as Y,db as Le,bB as Be,dc as Ae,al as Ve,dd as Me,de as We,bG as Ue,b3 as W,df as xe,B as Fe,t as Se,R as $,a8 as Ee,aa as Ze,dg as Ke,dh as He,bj as qe,af as D,di as Ge,dj as Je,dk as je,s as b,dl as Qe,dm as ee,d5 as N,dn as Xe,dp as ge,dq as Ye,ah as O,ai as te,C as V,d6 as ke,bM as ie,cx as et}from"./index-OJbFNHch.js";import{o as de,a as v}from"./core-tlHkQPPu.js";import{n as i}from"./mui-kiGMfX4-.js";import{fd as Ie,bh as Q}from"./zeni-epic-state-Bo1aGezX.js";import{h as Re}from"./Menu-pyYbFxsT-BjDDhfv4.js";import{y as Ce}from"./RoleWithToolTip-CWH-iJqI-1DRRWE9G.js";import"./sentry-Dhk5jNhq.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";const P=y.getLocalizedStrings().peoplePage.header,S=[{key:"name",value:P.name,sortOrder:"ascending",width:new $(32,26,26,30,32)},{key:"role",value:P.role,sortOrder:"ascending",width:new $(18,17,17,21,19)},{key:"manager",value:P.manager,sortOrder:"ascending",width:new $(20,20,20,19,20)},{key:"department",value:P.department,sortOrder:"ascending",width:new $(20,20,20,19,20)},{key:"lastSeen",value:P.lastSeen,sortOrder:"ascending",width:new $(10,17,17,11,9)}],U=[{key:"name",value:P.name,sortOrder:"ascending",width:new $(32,26,26,32,33)},{key:"role",value:P.role,sortOrder:"ascending",width:new $(58,57,57,57,58)},{key:"lastSeen",value:P.lastSeen,sortOrder:"ascending",width:new $(10,17,17,11,9)}],tt=de.memo(function({userNameSticky:e,sortConfig:r,onColumnSortConfigChanged:l,mode:p}){const m=I(),[u,x]=v.useState(qe(p==="off"?S:U));v.useEffect(()=>{const s=[...u];for(const n of s)n.key===r.sortKey?n.sortOrder=r.sortOrder:n.sortOrder="ascending";x(s)},[r.sortKey,r.sortOrder]);const h=(s,n)=>{let d=n;r.sortKey===s&&(d=n==="ascending"?"descending":"ascending"),l?.(s,d)};return t.jsx(ot,{height:58,"data-testid":a("people-list-header-row"),children:u.map(s=>t.jsxs(st,{userNameSticky:!!e&&s.key==="name",sortDataValue:r.sortKey,actualDataValue:s.key,wrapperWidth:s.width,windowSize:m,children:[t.jsxs(nt,{"data-testid":a("people-list-header",s.key),onClick:()=>h(s.key,s.sortOrder),children:[t.jsx(D,{children:s.value}),t.jsx(it,{sortDataValue:r.sortKey,headerdata:s,children:t.jsx(Ge,{width:12,height:12})})]}),t.jsx(lt,{isVisible:r.sortKey===s.key&&s.key!=="name",children:t.jsx(rt,{"data-testid":a("people-list-header-sort-cancel",s.key),onClick:()=>h("name","ascending")})})]},s.key))})}),it=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
transform: ${e=>e.sortDataValue===e.headerdata.key&&e.headerdata.sortOrder==="descending"?"rotate(180deg)":"rotate(0deg)"};
|
package/dist/assets/{ProductsCarousel-B7wcRg4N-MgqN7eQE.js → ProductsCarousel-B7wcRg4N-CnpQ0WOo.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as O,j as t,a7 as F,b as l,cS as I,bz as B,s as H,dW as N,as as U,ah as _,dX as G,C as y}from"./index-
|
|
1
|
+
import{a as O,j as t,a7 as F,b as l,cS as I,bz as B,s as H,dW as N,as as U,ah as _,dX as G,C as y}from"./index-OJbFNHch.js";import{a as f}from"./core-tlHkQPPu.js";import{n as i}from"./mui-kiGMfX4-.js";const h=O.getLocalizedStrings(),k={large:{labelComp:N,title:U,subtitle:_,seeMoreLink:_}},o={width:496,height:512,padding:32,svgSize:12,svgContainerHeight:24,gap:8,imageGap:16,borderRadius:16},J=i.div`
|
|
2
2
|
width: ${e=>e.scale*o.width}px;
|
|
3
3
|
height: ${e=>e.scale*o.height}px;
|
|
4
4
|
overflow: hidden;
|
package/dist/assets/{PromoBaseCards-38oPeuBR-DNrev2WE.js → PromoBaseCards-38oPeuBR-B0H8TJQa.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as f,j as i,en as b,eo as z,ep as S,cb as y,R as r,b as e,C as d,d as c,s as h}from"./index-
|
|
1
|
+
import{u as f,j as i,en as b,eo as z,ep as S,cb as y,R as r,b as e,C as d,d as c,s as h}from"./index-OJbFNHch.js";import{c as a,n as p,k as m}from"./mui-kiGMfX4-.js";const t={plasticCardMarginLeft:new r(h[6],120),plasticCardMarginTop:new r(12,-9),businessTextRight:new r(h[2],13),businessTextBottom:new r(h[8],81),chargeCardWidth:new r(240,384),chargeCardHeight:new r(153,243),styledLogoWidth:new r(47,76),styledLogoHeight:new r(46,74),styledFullLogoTop:new r(12,28),styledFullLogoRight:new r(h[2],13),styledFullLogoHeight:new r(20,34),styledFullLogoWidth:new r(88,142),chipLogoWidth:new r(31,50),chipLogoHeight:new r(h[4],39),visaLogoWidth:new r(52,84),visaLogoHeight:new r(17,27),visaLogoRight:new r(h[2],13),visaLogoBottom:new r(h[2],13)},u={businessText:new c("extraSmallRegular","largeRegular"),promoBusinessText:new c("tinyLight","tinyLight")},F=({cardText:o,shouldAnimate:g,showChip:w,forDashboard:s,forListPage:l,cardPromoType:x,style:$})=>{const n=f();return i.jsxs(k,{cardPromoType:x,windowSize:n,shouldAnimate:g,forListPage:l,forDashboard:s,style:$,children:[w&&i.jsx(v,{windowSize:n,forDashboard:s,children:i.jsx(b,{})}),i.jsx(D,{windowSize:n,forDashboard:s,forListPage:l,children:i.jsx(y,{})}),i.jsx(L,{windowSize:n,forDashboard:s,forListPage:l,children:o}),i.jsx(P,{windowSize:n,forDashboard:s,forListPage:l,children:i.jsx(S,{})})]})},A=({cardText:o,shouldAnimate:g,showChip:w,forDashboard:s,forListPage:l,cardPromoType:x,style:$})=>{const n=f();return i.jsxs(R,{cardPromoType:x,windowSize:n,shouldAnimate:g,forListPage:l,forDashboard:s,style:$,children:[w&&i.jsx(v,{windowSize:n,forDashboard:s,children:i.jsx(b,{})}),i.jsx(B,{windowSize:n,forDashboard:s,forListPage:l,children:i.jsx(z,{})}),i.jsx(L,{windowSize:n,forDashboard:s,forListPage:l,children:o}),i.jsx(P,{windowSize:n,forDashboard:s,forListPage:l,children:i.jsx(S,{})})]})},C=m`
|
|
2
2
|
0%{
|
|
3
3
|
transform: rotate(12.4deg);
|
|
4
4
|
translate: ${e.sp0} ${e.sp0};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as w,a as t,j as n,cG as j,B as l,R as d,b as o,as as P,ah as S,ad as y,c9 as v,g2 as f,s as a}from"./index-
|
|
1
|
+
import{u as w,a as t,j as n,cG as j,B as l,R as d,b as o,as as P,ah as S,ad as y,c9 as v,g2 as f,s as a}from"./index-OJbFNHch.js";import{n as i}from"./mui-kiGMfX4-.js";import"./core-tlHkQPPu.js";import"./sentry-Dhk5jNhq.js";import"./zeni-epic-state-Bo1aGezX.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";const r={containerPaddingTop:new d(a[5],a[7]),containerPaddingBottom:new d(a[5],a[5]),containerPaddingLeftRight:new d(a[6],a[11])},b=i.div`
|
|
2
2
|
border-radius: inherit;
|
|
3
3
|
max-width: 520px;
|
|
4
4
|
text-align: center;
|
package/dist/assets/{QBOSetupSection-BqbiJ_dk-CZU6Pjgx.js → QBOSetupSection-BqbiJ_dk-32r8g9xi.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as O,a as u,j as i,B as k,b as o,R as a,C as d,h9 as R,d as W,ad as B,c9 as T,g2 as E,g$ as G,bs as m,af as $,s as t}from"./index-
|
|
1
|
+
import{u as O,a as u,j as i,B as k,b as o,R as a,C as d,h9 as R,d as W,ad as B,c9 as T,g2 as E,g$ as G,bs as m,af as $,s as t}from"./index-OJbFNHch.js";import{n as s}from"./mui-kiGMfX4-.js";import I from"./QBOConnectionDialog-Bn425Vnl-BbJL04ac.js";const r={containerPadding:new a(t[3],t[4]),sectionWidth:new a(343,580,726),topElementsRowGap:new a(t[3],t[0]),arrowIconWidthHeight:new a(t[3],t[4])},A={title:new W("standardMedium","largeMedium")},ee=({isAdmin:e,hasError:c=!1,isValid:l,saveConnectionState:p,isQBOPopupOpen:S,companyName:y,updateQBOPopupState:h,handleOnConnectClick:j})=>{const n=O(),{qbo_connection:f}=u.getLocalizedStrings().customerOnboardingPage.sections,{title:v,sucessText:z,button:b,errorText:P,requiredText:C}=f;return i.jsxs(H,{windowSize:n,children:[i.jsxs(L,{windowSize:n,children:[n==="small"?i.jsx(_,{children:l?i.jsx(J,{}):i.jsx(K,{})}):null,i.jsx(N,{windowSize:n,children:v})]}),i.jsxs(Q,{windowSize:n,children:[i.jsxs(D,{windowSize:n,children:[i.jsxs(F,{children:[i.jsx(M,{}),i.jsx(V,{windowSize:n}),i.jsx(Z,{})]}),l?n!=="small"?i.jsx(w,{}):null:i.jsx(k,{variant:"primary",size:n!=="small"?"standard":"xs-small",label:b.connect,style:{width:"fit-content"},onClick:()=>h(!0),loading:p==="In-Progress"})]}),l?i.jsxs(i.Fragment,{children:[i.jsx(q,{children:z}),n==="small"?i.jsx(w,{}):null]}):null,p==="Error"?i.jsx(x,{children:i.jsx(g,{windowSize:n,children:P})}):null,c&&!l?i.jsx(x,{children:i.jsx(g,{windowSize:n,children:C})}):null]}),i.jsx(I,{isAdmin:e,isGoBackAllowed:!0,isQBOPopupOpen:S,companyName:y,saveConnectionState:p,handleOnConnectClick:j,handleGoBack:()=>h(!1)})]})},w=()=>{const{tags:e}=u.getLocalizedStrings().customerOnboardingPage,{connected:c}=e;return i.jsx(G,{style:{width:"max-content",padding:0,marginTop:o.sp2},tagTitle:c,textColor:{color:new m(d.successDark),borderColor:new m(d.successDark)}})},H=s.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{R as O,s as R,i as W,u as M,a as U,a8 as G,bB as K,j as s,bj as X,dt as H,cf as J,aa as Q,bC as Y,b as f}from"./index-
|
|
1
|
+
import{R as O,s as R,i as W,u as M,a as U,a8 as G,bB as K,j as s,bj as X,dt as H,cf as J,aa as Q,bC as Y,b as f}from"./index-OJbFNHch.js";import{a as B}from"./core-tlHkQPPu.js";import{n as h}from"./mui-kiGMfX4-.js";import{K as Z,D as ee,u as D,h as L}from"./FollowStepsSection-Dhf67oqf-C9-DQpEq.js";import"./sentry-Dhk5jNhq.js";import"./zeni-epic-state-Bo1aGezX.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";const j="reimbursementApprovalRuleDetailPage",C="lowerBound",N="upperBound",y="steps",ae={footerPadding:new O(R[2],R[3])};function ye({localData:e,approvalUpdateActionType:r,isLowerBoundDisabled:a=!1,isUpperBoundDisabled:l=!0,hideUpperBoundField:o=!1,onBackClick:p,onApprovalRuleDataUpdated:b,onResetClick:T,onSaveRuleClick:k,onSaveRuleSuccess:S}){const E=W(),A=M(),t=U.getLocalizedStrings().commonSetUp.approval,I=U.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,x=te(e,r==="approval_create"&&!a),v=G({mode:"all",reValidateMode:"onChange",defaultValues:x}),d=e.remiSetupApproverViewUpdateData?.updateStatus,w=K(d?.fetchState),{upperBound:P}=x,{allApprovalRules:n,allAccountingClasses:_,remiSetupApproverViewUpdateData:u}=e;let c=n.length>1?n.length-1:0,g=n.length>0?n[c].criteria[0].range.min.amount:0;if(u!=null&&u.type==="approval_update"&&u.data!=null){const{approvalRuleId:i}=u.data;c=n.findIndex(m=>m.approvalRuleId===i),g=c>0?n[c-1].criteria[0].range.min.amount:0}const F=v.handleSubmit(()=>{k()});return B.useEffect(()=>{const i=v.watch((m,{name:z})=>{if(z!=null&&m!=null){const V=X(m);H(()=>(async(de,q)=>{b(q)})(0,V))}});return()=>{i.unsubscribe()}}),B.useEffect(()=>{w==="In-Progress"&&d?.fetchState==="Completed"&&S()},[w,d?.fetchState,S]),s.jsxs(se,{children:[s.jsx(J,{title:r==="approval_create"?t.newApproval:t.editApproval,backgroundColor:E.colors.grey4,style:{zIndex:4},onBackClick:()=>{p()},source:"ReimbursementApprovalRuleDetailPage"}),s.jsx(ne,{children:s.jsx(Q,{...v,children:s.jsx("form",{id:$(j),onSubmit:F,children:s.jsxs(ie,{children:[s.jsx(Z,{label:{label:o?I.amountPerRemiGreaterLabel:I.amountPerRemiLabel},firstText:{type:"number",name:C,placeholder:"$0",options:{required:!0,max:P===1/0?Number.MAX_SAFE_INTEGER-1:P-1,min:g,validate:i=>!!a||i!=null&&i>g},isDisabled:a,additionalInfoLabel:t.firstRuleLowerBoundInfoLabel,additionalErrorLabel:t.firstRuleErrorInfoLabel},secondText:{type:"number",name:N,placeholder:"Infinity",isDisabled:l,hideField:o,additionalInfoLabel:t.upperBoundInfoLabel}}),s.jsx(pe,{}),s.jsx(ee,{sectionId:y,label:{label:t.followStepsLabel},approversPlaceholder:t.approversPlaceholder,notifiersPlaceholder:t.notifiersPlaceholder,allUserWithRoles:e.allApprovers,filteredApprovers:e.filteredApprovers.map(i=>i.user),allAttributes:e.allAttributes,filteredAttributes:e.filteredAttributes,allAccountingClasses:_,stepsInfo:x[y],userSelectPlaceholder:t.userSelectPlaceholder,approveNotifyPlaceholder:t.approveNotifyPlaceholder,productType:"zeni_reimbursements"})]})})})}),s.jsx(Y,{formId:$(j),primaryBtn:{label:t.saveBtnText,isLoading:d?.fetchState==="In-Progress",isDisabled:d?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},showCancel:!0,cancelBtn:{label:t.cancelBtnText,isLoading:!1,style:{width:"85px",minWidth:"auto"},onClick:T},containerStyle:{justifyContent:A==="small"?"space-between":"center"},style:{padding:ae.footerPadding.valuePx(A)},separatorStyle:{marginRight:f.sp4}})]})}const te=(e,r)=>{const{criteria:a,steps:l}=e.remiSetupApproverViewUpdateData?.data??{};return{[y]:re(e.allApprovers.map(o=>o.user),e.filteredApprovers.map(o=>o.user),D(e.allAttributes),D(e.filteredAttributes),l??[])??[],[C]:r?void 0:a!=null?a.range.min.amount??0:0,[N]:a!=null?a.range.max==null?1/0:a.range.max.amount:1/0}},re=(e,r,a,l,o)=>o&&o.length>0?o.map((p,b)=>({stepIndex:b,stepType:{selectedOption:p.action,allOptions:L},actors:{allUsers:r,selectedUsers:le(e,p.actors),allNonUsers:l,selectedNonUsers:oe(a,p.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:L},actors:{allUsers:r,selectedUsers:[],allNonUsers:l,selectedNonUsers:[]}}],le=(e,r)=>e.filter(a=>a.userId!=null&&r.findIndex(l=>l.userId===a.userId)>-1),oe=(e,r)=>e.filter(a=>r.findIndex(l=>l.subType===a.value)>-1),$=e=>`${e}_form`,Se=e=>`${e}`,se=h.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
height: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as N,u as L,a as y,j as t,cf as M,A as E,bm as b,b as o,R as r,ah as B,bn as z,dc as H,dd as U,de as G,dP as q,s,bJ as V,d as P,bI as _,C as j,dM as F,c6 as J,t as O}from"./index-
|
|
1
|
+
import{i as N,u as L,a as y,j as t,cf as M,A as E,bm as b,b as o,R as r,ah as B,bn as z,dc as H,dd as U,de as G,dP as q,s,bJ as V,d as P,bI as _,C as j,dM as F,c6 as J,t as O}from"./index-OJbFNHch.js";import{n as i}from"./mui-kiGMfX4-.js";import{a as K}from"./core-tlHkQPPu.js";import"./sentry-Dhk5jNhq.js";import"./zeni-epic-state-Bo1aGezX.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";const l={sectionWidth:new r(343,580,726),ruleWrapperPadding:new r(s[3],s[4]),wrapperGap:new r(s[4],s[3]),wrapperMarginBottom:new r(s[6],s[8]),lastWrapperMarginBottom:new r(s[5],s[9]),stepperWidthHeight:new r(20,s[5]),stepperItemLeft:new r(-29,-23),stepperItemTop:new r(2,s[0]),stepperItemPaddingLeft:new r(s[0],10),stepperItemMinHeight:new r(22,28),stepperLeft:new r(11,17),stepperTop:new r(2,s[0]),stepperContentTop:new r(s[0],-4)},A={stepper:new P("smallRegular","standardRegular"),amount:new P("standardRegular","largeRegular")},Q=({showDeleteBtn:e=!1,isLastSection:f=!1,approvalRule:x,onEditRuleClick:v,onDeleteRuleClick:S})=>{const[g,d]=K.useState(!1),n=L(),{range:c}=x.criteria[0],{steps:u,approvalRuleId:m}=x,a=y.getLocalizedStrings().commonSetUp.approval,$={onOkClick:()=>{d(!1),S?.(m)},onCancelClick:()=>{d(!1)}};return t.jsxs(X,{windowSize:n,isLastSection:f,"data-testid":b("approval-rule-section",m),children:[t.jsxs(Y,{windowSize:n,children:[t.jsxs(le,{children:[t.jsxs(I,{windowSize:n,children:[a.from," ",z("0,0",c.min)]}),t.jsxs(Z,{children:[t.jsx(k,{}),t.jsx(ee,{}),t.jsx(k,{})]}),c.max==null?t.jsx(de,{}):t.jsx(I,{windowSize:n,children:z("0,0",{...c.min,amount:c.max.amount})})]}),t.jsxs(ae,{className:"icons",children:[e?t.jsx(ne,{onClick:()=>{d(!0)}}):null,t.jsx(pe,{onClick:()=>{v(m)},"data-testid":b("edit-approval-rule",m)})]})]}),t.jsx(te,{windowSize:n,children:t.jsx(oe,{isSingleStep:u.length===1,windowSize:n,children:u.map((h,W)=>t.jsxs(ie,{isSingleStep:u.length===1,className:"stepperItem",windowSize:n,children:[h.action==="require_approval"?t.jsx(re,{children:a.requireText}):t.jsx(se,{children:a.notifyText}),h.nonUserActors.filter(p=>p.subType!=null).map((p,D)=>t.jsxs(R,{children:[t.jsx(T,{children:p.subType!=null?a.nonUsers[p.subType].label:null}),h.operator!="is"?t.jsx(C,{className:"operator",children:h.operator}):null]},`${p.subType}_${D}`)),h.actors.map(p=>t.jsxs(R,{children:[t.jsxs(T,{children:[p.firstName," ",p.lastName]}),h.operator!="is"?t.jsx(C,{className:"operator",children:h.operator}):null]},p.userId))]},W))})}),g?t.jsx(H,{titleComponent:t.jsx(G,{children:a.deleteApprovalRuleTitle}),descriptionComponent:t.jsx(U,{children:a.deleteApprovalRuleDesc}),primaryButtonText:a.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:a.cancelBtnText,action:$}):null]})},X=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
gap: ${e=>l.wrapperGap.valuePx(e.windowSize)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a$ as It,a7 as Ct,u as kt,i as zt,d4 as At,R as m,a as Qe,hC as $t,hE as Mt,hF as Rt,j as t,dc as ze,dd as Ae,de as $e,bm as y,cf as Me,c1 as Pt,eR as Bt,hG as Nt,hS as Re,b as a,hH as Pe,gD as b,gF as x,hK as w,bn as Be,gC as Ne,t as O,hN as Le,bC as Lt,ak as _t,hO as Wt,hP as ie,cb as Et,hQ as Ft,f as Ot,d as Ut,e as Kt,ah as Xe,bJ as et,C as U,ai as Vt,cJ as Gt,af as Ht,i5 as Yt,i1 as Jt,s as c,d6 as qt,dK as Zt}from"./index-2CdI-B2B.js";import{a as p}from"./core-tlHkQPPu.js";import{n as r}from"./mui-kiGMfX4-.js";import{a as Qt}from"./liveblocks-BrzOBACZ.js";import{bO as Xt,bT as ei,fI as ti}from"./zeni-epic-state-Bo1aGezX.js";import ii from"./InvoiceUploadSection-BducuHAy-CwGoLvBS.js";import{o as ai,e as f,l as ri}from"./types-DRnhtDPC-CEIiK5pR.js";import"./sentry-Dhk5jNhq.js";import"./analytics-CeQu-r45.js";import"./utils-BLUF9kAp.js";import"./AttachmentView-DRBK6aiE-DxR-B_-8.js";import"./uploadReceipts-BkHrFC8j-DevoCqHx.js";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])},ni={formTitle:new Ut("h6Regular","h5Regular")},Xi=({remiDetails:e,uploadInvoiceEndPoint:K,authParams:tt,isAdmin:re,signedInUser:ne,showApproveRejectBtns:oe,isRealTimeApprovalEnabled:le,isReimbursementCommentingEnabled:u,isShowDeletedReimbursementEnabled:se,isSignedInUserReimbursementCreator:it,updateEditRealTimeApproverClicked:de,onSaveRealTimeApprovals:ce,redirectToReimbursementListScreen:V,redirectToEditableReimbursementScreen:at,onDuplicateLineClick:rt,approveOrRejectRemi:me,deleteReimbursement:nt,cancelAndDeleteReport:pe,handleZeniLogoClick:ot,onAddNewRule:ue})=>{const d=It(),lt=Ct().analytics,n=kt(),he=zt(),[st,z]=p.useState(!1),[G,H]=p.useState(!1),[dt,Y]=p.useState(!1),[J,q]=p.useState("approved"),P=p.useRef(null),[D,Z]=p.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[k,ct]=p.useState(null),[mt,B]=p.useState(!1),h=`dashboard_${d.currentTenant?.companyId}`,ye=p.useRef({}),ge=l=>{const o=ye.current[l];o!=null&&setTimeout(()=>ri(o,P.current),100)};p.useEffect(()=>{e.deleteStatus.fetchState!=="Completed"&&e.approvalUpdateStatus.fetchState!=="Completed"&&e.cancelAndDeleteStatus.fetchState!=="Completed"||V()},[e,V]),p.useEffect(()=>{const l=window.location.hash;if(l&&l.startsWith("#L")){const o=l.substring(1);ge(o)}},[]),At({componentName:"reimbursement.details"});const pt={onOkClick:()=>{z(!1),D.primaryButtonText===i.buttons.delete?nt?.():D.title===i.cancelReportTitle?pe?.():D.title===i.cancelAndDeleteReportTitle&&pe?.(!0)},onCancelClick:()=>{z(!1)}},I=s.labelWidth.value(n),A=s.largeLabelWidth.value(n),be=Qe.getLocalizedStrings(),{common:{texts:{comments:ut},strings:{empty:xe}},collaboration:{threads:{placeholder:{addANewComment:ht,replyAComment:yt},tooltip:{resolveComment:gt,unResolveComment:bt}}},dateFormat:we}=be,{reimbursementDetail:i,bulkActions:N}=be.spendManagement.reimbursement,Q=e.remiDetails?.reportTitle,j=e.remiDetails?.lines??[],L=e.remiDetails?.reimbursementInfo.stage,_=e.remiDetails?.reimbursementInfo.billStatus,W=e.remiDetails?.reimbursementInfo.billPaymentStatus,fe=L?.code==="paid",xt=fe?L:_?.code=="approved"&&W?.code?W:_,v=oi(e.remiDetails),$=_?.code=="approved"&&W?.code?W:_,E=e.remiDetails?.isDeleted??!1,ve=e.remiDetails?.amount,Se=e.remiDetails?.amount.amount??0,Te=()=>{Z({title:e.remiDetails?.reimbursementInfo.stage.code==="draft"?i.deleteDraftTitle:i.deleteReportTitle,description:i.deleteAlertDescription,primaryButtonText:i.buttons.delete,secondaryButtonText:i.buttons.cancel}),z(!0)},je=()=>{at()},wt={onOkClick:l=>{Y(!1),me({reimbursementId:e.remiDetails?.id??"",type:"rejected",description:l})},onCancelClick:()=>{Y(!1)}},ft=e.remiDetails?.reimbursementInfo.paymentDate!=null?Xt(ei(e.remiDetails.reimbursementInfo.paymentDate.toDate(),[0,6],e.achSameDayMaxDays).toDateString()):void 0,X=e.remiDetails?.reimbursementInfo.expectedDepositDate??ft,vt=e.remiDetails?.lines?.some(l=>{const o=l.lineDetail;return o?.account?.isDeleted===!0&&o?.account?.isBillEditableCoaAccountType===!1})??!1,De=e.remiDetails?.reimbursementInfo.billStatus.code==="pending_approval"&&it&&!vt,St=e.remiDetails?.reimbursementInfo.billStatus.code!=="rejected"&&e.remiDetails?.reimbursementInfo.billPaymentStatus.code!=="paid",ee=xt?.code,Tt=ai(e.duplicateLineByLineId),Ie=e.duplicateReimbursementStatus.fetchState==="Completed"&&Tt>0,{requestToOpenThread:te,setRequestToOpenThread:Ce,setOpenThread:F}=p.useContext($t),{threads:M,isLoading:C}=Mt({application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id,isGlobalComment:!1},"both",!1),jt=p.useMemo(()=>M.filter(l=>l.resolved===!1&&!l.id.includes(Rt)),[M]).length,Dt=p.useCallback((l,o)=>{F(o),B(!1)},[F,B]);p.useEffect(()=>{te?.threadId!=null&&M.length>0&&!C&&(F(te.threadId),Ce(null))},[te,M,C,F,Ce]);const g={application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id},R=ti(e.remiDetails?.bulkProcessingDetail?.type);return t.jsxs(Ri,{windowSize:n,ref:P,children:[st?t.jsx(ze,{titleComponent:t.jsx($e,{children:D.title}),descriptionComponent:t.jsx(Ae,{children:D.description}),primaryButtonText:D.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:D.secondaryButtonText,action:pt}):null,dt?t.jsx(ze,{titleComponent:t.jsx($e,{children:`${i.rejectRemiTitlePrefix} ${e.remiDetails?.reportTitle??""} by ${e.createdBy?.firstName??""} ${e.createdBy?.lastName??""}`}),descriptionComponent:t.jsx(Ae,{children:i.rejectRemiDescription}),primaryButtonText:i.buttons.send,secondaryButtonText:i.buttons.cancel,action:wt,isEditPopup:!0,isNotesIncluded:!0,notesPlaceholder:i.rejectRejectReasonPlaceholder}):null,t.jsxs(Ii,{windowSize:n,"data-testid":y("reimbursement-detail-page-nav-bar-container"),children:[n!=="small"?t.jsx(Me,{"data-testid":y("reimbursement-detail-page-nav-bar-left"),style:{width:"42%"},title:"",leftSideComponent:t.jsx(Ci,{onClick:()=>ot?.(),"data-testid":y("remi-detail-page-nav-bar-zeni-logo")}),enableTitleOnScroll:!1,backgroundColor:he.colors.background,keepBackgroundOnScroll:!0,scrollableContent:P,source:"ReimbursementDetailPage"}):null,n!=="small"?t.jsx(Ti,{}):null,t.jsx(Me,{"data-testid":y("reimbursement-detail-page-nav-bar-right"),title:Q??xe,leftSideComponent:t.jsx(t.Fragment,{}),style:{width:n!=="small"?"58%":"100%"},rightSideComponent:t.jsxs(zi,{children:[u?t.jsxs(Ai,{isDisabled:C,onClick:C?()=>null:l=>{l.preventDefault(),l.stopPropagation(),ct({roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityType:"reimbursement.details",entityId:e.remiDetails?.id??""}),B(!0),lt.trackCommentActivity("reimbursement","clicked",d.currentTenant?.companyName??"",d.controllersList.controllers.map(o=>Bt(o)),void 0,void 0,"page icon")},"data-testid":y("remi-comments-section"),children:[t.jsx(Pt,{count:C?void 0:jt,isLoading:C,style:{left:"12px"}}),t.jsx($i,{})]}):null,t.jsx(Mi,{size:n,onClick:()=>{V()},"data-testid":y("remi-detail-page-close"),children:t.jsx(ki,{})})]}),scrollableContent:P,enableTitleOnScroll:n!=="small",scrollThreshold:64,source:"ReimbursementDetailPage"})]}),t.jsxs(Ei,{children:[n==="small"?t.jsxs(t.Fragment,{children:[t.jsx(He,{windowSize:n,children:t.jsx(Ye,{windowsSize:n,children:Q})}),e.createdBy?.userId!=null?t.jsx(Ue,{windowSize:n,children:`${i.by} ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,se&&v!=null?t.jsx(Ke,{color:v.color,bgColor:v.bgColor,borderColor:v.borderColor,children:v.value}):null,$?.code!=null?n==="small"?t.jsxs(t.Fragment,{children:[t.jsx(Nt,{progressSectionObj:$,createDate:e.remiDetails?.createTime,paymentDate:X,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:E}),R?t.jsx(Re,{variant:"warning",style:{margin:`${a.sp5} ${a.sp3}`},title:N.duplicateWarning.title,description:N.duplicateWarning.description}):Ie?t.jsxs(_e,{size:n,children:[t.jsx(Oe,{}),t.jsxs(Ee,{children:[t.jsx(We,{children:i.thereSeems}),t.jsx(Fe,{children:i.pleaseFind})]})]}):null]}):t.jsx(Ge,{windowSize:n,children:t.jsx(Pe,{progressSectionObj:$,createDate:e.remiDetails?.createTime,paymentDate:X,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:E})}):null]}):null,j.map((l,o)=>{const S=e.duplicateLineByLineId[l.lineId];return t.jsxs(Ze,{windowSize:n,children:[t.jsx(Li,{windowSize:n,children:t.jsx(_i,{bottomSeperator:j.length!==1,windowSize:n,children:t.jsx(ii,{showAutofill:!1,uploadInvoiceEndPoint:K,authParams:tt,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(Ni,{windowSize:n,children:[o===0&&n!=="small"?t.jsxs(t.Fragment,{children:[t.jsxs(He,{windowSize:n,children:[t.jsx(Ye,{windowsSize:n,children:Q}),se&&v!=null?t.jsx(Ke,{color:v.color,bgColor:v.bgColor,borderColor:v.borderColor,children:v.value}):null]}),e.createdBy?.userId!=null?t.jsx(Ue,{windowSize:n,children:`By ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,$?.code!=null?t.jsx(Ge,{windowSize:n,children:t.jsx(Pe,{progressSectionObj:$,createDate:e.remiDetails?.createTime,paymentDate:X,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:E})}):null,R?t.jsx(Re,{variant:"warning",style:{margin:`${a.sp3} ${a.sp8} ${a.sp3} ${a.sp6}`},title:N.duplicateWarning.title,description:N.duplicateWarning.description}):Ie?t.jsxs(_e,{size:n,children:[t.jsx(Oe,{}),t.jsxs(Ee,{children:[t.jsx(We,{children:i.thereSeems}),t.jsx(Fe,{children:i.pleaseFind})]})]}):null]}):null,t.jsxs(pi,{windowSize:n,ref:ke=>{ke!=null&&(ye.current[`L${l.lineId}`]=ke)},children:[n!=="small"?t.jsx(mi,{children:t.jsx(ui,{children:j.length>1?`#${o+1} ${i.reimbursement}`:i.reimbursement})}):null,t.jsxs(hi,{windowSize:n,children:[S?.duplicateLineId!=null?t.jsxs(di,{children:[i.thisExpenseReview," ",t.jsx(ci,{onClick:()=>{if(S.isDuplicateWithinTransaction&&S.duplicateLineId!=null)return ge(`L${S.duplicateLineId}`);S.duplicateTransactionId!=null&&S.duplicateLineId!=null&&rt(S.duplicateTransactionId,S.duplicateLineId)},"data-testid":y("remi-view-duplicate-expense"),children:i.viewOriginalExpense})]}):null,t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:l.type===i.mileageKey?`${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:{...g,entityType:`reimbursement.details.${f("reimbursementType",o,l.type===i.mileageKey?"mileage":"out_of_pocket")}`},style:{borderRadius:S?.duplicateLineId==null?`${a.sp2} ${a.sp2} 0 0`:"0 0 0 0"},children:t.jsx(w,{label:{label:i.reimbursementType,width:A},text:l.type===i.mileageKey?i.mileage:i.outOfPocket,style:{width:"auto",borderRadius:S?.duplicateLineId==null?`${a.sp2} ${a.sp2} 0 0`:"0 0 0 0"}})}),t.jsx(T,{}),l.type===i.mileageKey?t.jsxs(t.Fragment,{children:[t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${o}.mileage.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("transactionDate",o,"mileage")}`},children:t.jsx(w,{label:{label:i.transactionDate,width:A},text:l.transactionDate?.format(we.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{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:{...g,entityType:`reimbursement.details.${f("distanceInMiles",o,"mileage")}`},children:t.jsx(w,{label:{label:i.distanceInMiles,width:A},text:l.distanceMileage.value.toString()??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{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:{...g,entityType:`reimbursement.details.${f("amount",o,"mileage")}`},children:t.jsx(w,{label:{label:i.amount,width:I},text:l.homeCurrencyConversions!=null?Be("0,0[.]00",l.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{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:{...g,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(b,{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:{...g,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(b,{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:{...g,entityType:`reimbursement.details.${f("merchant",o,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.merchant,width:A},text:l.merchant?.name??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{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:{...g,entityType:`reimbursement.details.${f("transactionDate",o,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.transactionDate,width:A},text:l.transactionDate?.format(we.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{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:{...g,entityType:`reimbursement.details.${f("amount",o,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.amount,width:I},text:l.homeCurrencyConversions!=null?Be("0,0[.]00",l.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{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:{...g,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(b,{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:{...g,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(b,{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:{...g,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(Bi,{windowSize:n,children:[t.jsxs(Je,{windowSize:n,children:[t.jsx(qe,{children:i.total}),t.jsx(Ne,{amount:ve,integerStyles:O.h6Regular.cssObject,decimalStyles:O.standardRegular.cssObject})]}),e.remiDetails&&t.jsx(Le,{amount:Se,activities:e.remiActivities,stage:L?.code??"draft",onAddNewRule:ue,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:re,signedInUserId:ne?.userId,showRealTimeApproval:le,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:de,onSaveRealTimeApprovals:ce},historicActivities:e.remiHistory.activities})]})]})]},l.lineId)}),j.length===1&&t.jsxs(Ze,{windowSize:n,children:[t.jsx(Ve,{}),t.jsxs(li,{windowSize:n,children:[t.jsx(Pi,{windowSize:n,children:t.jsxs(Je,{windowSize:n,children:[t.jsx(qe,{children:i.total}),t.jsx(Ne,{amount:ve,integerStyles:O.h6Regular.cssObject,decimalStyles:O.standardRegular.cssObject})]})}),e.remiDetails&&t.jsx(si,{windowSize:n,children:t.jsx(Le,{amount:Se,activities:e.remiActivities,stage:L?.code??"draft",onAddNewRule:ue,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:re,signedInUserId:ne?.userId,showRealTimeApproval:le,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:de,onSaveRealTimeApprovals:ce}})})]})]}),t.jsx(Wi,{})]}),fe||E===!0?null:t.jsxs(Di,{children:[n!=="small"?t.jsx(Ve,{}):null,t.jsx(gi,{windowSize:n,"data-testid":y("remi-detail-page-footer"),onClick:l=>{l.stopPropagation(),G===!0&&H(!1)},children:t.jsx(Lt,{separatorStyle:{marginRight:a.sp4},showPrimaryButton:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||oe,showCancel:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||oe,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:J==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress"||J==="delete"&&e.deleteStatus.fetchState==="In-Progress",onClick:()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?(q("delete"),Te()):(q("rejected"),Y(!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:J==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?je():(q("approved"),me({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(yi,{children:t.jsxs(ji,{windowSize:n,children:[!R&&G?t.jsx(_t,{onClickAway:()=>H(!1),children:t.jsxs(Si,{windowSize:n,children:[ee!=="processing"?t.jsx(ae,{onClick:Te,"data-testid":y("remi-delete-action"),children:i.buttons.deleteReport}):null,ee==="processing"?t.jsx(ae,{onClick:()=>{Z({title:i.cancelReportTitle,description:i.cancelAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),z(!0)},"data-testid":y("remi-cancel-action"),children:i.buttons.cancel}):null,ee==="processing"?t.jsx(ae,{onClick:()=>{Z({title:i.cancelAndDeleteReportTitle,description:i.cancelAndDeleteAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),z(!0)},"data-testid":y("remi-cancel-and-delete-action"),children:i.buttons.cancelAndDelete}):null]})}):null,t.jsxs(vi,{windowSize:n,children:[!R&&De?t.jsx(fi,{onClick:je,"data-testid":y("remi-edit-button"),children:t.jsx(wi,{})}):null,R||St!==!0?null:t.jsx(xi,{windowSize:n,showEditIcon:De,children:t.jsx(bi,{onClick:()=>H(!G),"data-testid":y("remi-more-actions-button")})})]})]})}),style:{minHeight:62}})})]}),u?t.jsx(Qt,{id:h,children:t.jsx(Wt,{isDrawerOpen:mt,allowComposer:!0,drawerTitle:ut,threads:M,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:k?.companyId??xe,isGlobalComment:!1,tab:"reimbursement"},isLoading:C,threadMetadata:k?{companyName:k.companyName,companyId:k.companyId,entityId:k.entityId,entityType:k.entityType,isGlobalComment:!1,application:"dashboard",tab:"reimbursement",url:window.location.href}:void 0,textOverrides:{composerPlaceholder:ht,replyComposerPlaceholder:yt,threadResolve:gt,threadUnResolve:bt},onThreadClick:(l,o)=>Dt(l,o),onCloseAllThreadsDrawer:()=>B(!1),drawerSectionStyle:{width:"400px",backgroundColor:he.colors.background}})}):null]})},oi=e=>{const K=Qe.getLocalizedStrings().spendManagement.billPay.billsByTabs;if(e?.isDeleted===!0)return{value:K.tabsById.deleted,color:ie.deleted.color,bgColor:ie.deleted.bgColor,borderColor:ie.deleted.borderColor,code:"deleted"}},li=r.div`
|
|
1
|
+
import{a$ as It,a7 as Ct,u as kt,i as zt,d4 as At,R as m,a as Qe,hC as $t,hE as Mt,hF as Rt,j as t,dc as ze,dd as Ae,de as $e,bm as y,cf as Me,c1 as Pt,eR as Bt,hG as Nt,hS as Re,b as a,hH as Pe,gD as b,gF as x,hK as w,bn as Be,gC as Ne,t as O,hN as Le,bC as Lt,ak as _t,hO as Wt,hP as ie,cb as Et,hQ as Ft,f as Ot,d as Ut,e as Kt,ah as Xe,bJ as et,C as U,ai as Vt,cJ as Gt,af as Ht,i5 as Yt,i1 as Jt,s as c,d6 as qt,dK as Zt}from"./index-OJbFNHch.js";import{a as p}from"./core-tlHkQPPu.js";import{n as r}from"./mui-kiGMfX4-.js";import{a as Qt}from"./liveblocks-BrzOBACZ.js";import{bO as Xt,bT as ei,fI as ti}from"./zeni-epic-state-Bo1aGezX.js";import ii from"./InvoiceUploadSection-BducuHAy-DP3yW3zT.js";import{o as ai,e as f,l as ri}from"./types-DRnhtDPC-CEIiK5pR.js";import"./sentry-Dhk5jNhq.js";import"./analytics-CeQu-r45.js";import"./utils-BLUF9kAp.js";import"./AttachmentView-DRBK6aiE-C1Ruc-VW.js";import"./uploadReceipts-BkHrFC8j-BKjYP7lf.js";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])},ni={formTitle:new Ut("h6Regular","h5Regular")},Xi=({remiDetails:e,uploadInvoiceEndPoint:K,authParams:tt,isAdmin:re,signedInUser:ne,showApproveRejectBtns:oe,isRealTimeApprovalEnabled:le,isReimbursementCommentingEnabled:u,isShowDeletedReimbursementEnabled:se,isSignedInUserReimbursementCreator:it,updateEditRealTimeApproverClicked:de,onSaveRealTimeApprovals:ce,redirectToReimbursementListScreen:V,redirectToEditableReimbursementScreen:at,onDuplicateLineClick:rt,approveOrRejectRemi:me,deleteReimbursement:nt,cancelAndDeleteReport:pe,handleZeniLogoClick:ot,onAddNewRule:ue})=>{const d=It(),lt=Ct().analytics,n=kt(),he=zt(),[st,z]=p.useState(!1),[G,H]=p.useState(!1),[dt,Y]=p.useState(!1),[J,q]=p.useState("approved"),P=p.useRef(null),[D,Z]=p.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[k,ct]=p.useState(null),[mt,B]=p.useState(!1),h=`dashboard_${d.currentTenant?.companyId}`,ye=p.useRef({}),ge=l=>{const o=ye.current[l];o!=null&&setTimeout(()=>ri(o,P.current),100)};p.useEffect(()=>{e.deleteStatus.fetchState!=="Completed"&&e.approvalUpdateStatus.fetchState!=="Completed"&&e.cancelAndDeleteStatus.fetchState!=="Completed"||V()},[e,V]),p.useEffect(()=>{const l=window.location.hash;if(l&&l.startsWith("#L")){const o=l.substring(1);ge(o)}},[]),At({componentName:"reimbursement.details"});const pt={onOkClick:()=>{z(!1),D.primaryButtonText===i.buttons.delete?nt?.():D.title===i.cancelReportTitle?pe?.():D.title===i.cancelAndDeleteReportTitle&&pe?.(!0)},onCancelClick:()=>{z(!1)}},I=s.labelWidth.value(n),A=s.largeLabelWidth.value(n),be=Qe.getLocalizedStrings(),{common:{texts:{comments:ut},strings:{empty:xe}},collaboration:{threads:{placeholder:{addANewComment:ht,replyAComment:yt},tooltip:{resolveComment:gt,unResolveComment:bt}}},dateFormat:we}=be,{reimbursementDetail:i,bulkActions:N}=be.spendManagement.reimbursement,Q=e.remiDetails?.reportTitle,j=e.remiDetails?.lines??[],L=e.remiDetails?.reimbursementInfo.stage,_=e.remiDetails?.reimbursementInfo.billStatus,W=e.remiDetails?.reimbursementInfo.billPaymentStatus,fe=L?.code==="paid",xt=fe?L:_?.code=="approved"&&W?.code?W:_,v=oi(e.remiDetails),$=_?.code=="approved"&&W?.code?W:_,E=e.remiDetails?.isDeleted??!1,ve=e.remiDetails?.amount,Se=e.remiDetails?.amount.amount??0,Te=()=>{Z({title:e.remiDetails?.reimbursementInfo.stage.code==="draft"?i.deleteDraftTitle:i.deleteReportTitle,description:i.deleteAlertDescription,primaryButtonText:i.buttons.delete,secondaryButtonText:i.buttons.cancel}),z(!0)},je=()=>{at()},wt={onOkClick:l=>{Y(!1),me({reimbursementId:e.remiDetails?.id??"",type:"rejected",description:l})},onCancelClick:()=>{Y(!1)}},ft=e.remiDetails?.reimbursementInfo.paymentDate!=null?Xt(ei(e.remiDetails.reimbursementInfo.paymentDate.toDate(),[0,6],e.achSameDayMaxDays).toDateString()):void 0,X=e.remiDetails?.reimbursementInfo.expectedDepositDate??ft,vt=e.remiDetails?.lines?.some(l=>{const o=l.lineDetail;return o?.account?.isDeleted===!0&&o?.account?.isBillEditableCoaAccountType===!1})??!1,De=e.remiDetails?.reimbursementInfo.billStatus.code==="pending_approval"&&it&&!vt,St=e.remiDetails?.reimbursementInfo.billStatus.code!=="rejected"&&e.remiDetails?.reimbursementInfo.billPaymentStatus.code!=="paid",ee=xt?.code,Tt=ai(e.duplicateLineByLineId),Ie=e.duplicateReimbursementStatus.fetchState==="Completed"&&Tt>0,{requestToOpenThread:te,setRequestToOpenThread:Ce,setOpenThread:F}=p.useContext($t),{threads:M,isLoading:C}=Mt({application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id,isGlobalComment:!1},"both",!1),jt=p.useMemo(()=>M.filter(l=>l.resolved===!1&&!l.id.includes(Rt)),[M]).length,Dt=p.useCallback((l,o)=>{F(o),B(!1)},[F,B]);p.useEffect(()=>{te?.threadId!=null&&M.length>0&&!C&&(F(te.threadId),Ce(null))},[te,M,C,F,Ce]);const g={application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id},R=ti(e.remiDetails?.bulkProcessingDetail?.type);return t.jsxs(Ri,{windowSize:n,ref:P,children:[st?t.jsx(ze,{titleComponent:t.jsx($e,{children:D.title}),descriptionComponent:t.jsx(Ae,{children:D.description}),primaryButtonText:D.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:D.secondaryButtonText,action:pt}):null,dt?t.jsx(ze,{titleComponent:t.jsx($e,{children:`${i.rejectRemiTitlePrefix} ${e.remiDetails?.reportTitle??""} by ${e.createdBy?.firstName??""} ${e.createdBy?.lastName??""}`}),descriptionComponent:t.jsx(Ae,{children:i.rejectRemiDescription}),primaryButtonText:i.buttons.send,secondaryButtonText:i.buttons.cancel,action:wt,isEditPopup:!0,isNotesIncluded:!0,notesPlaceholder:i.rejectRejectReasonPlaceholder}):null,t.jsxs(Ii,{windowSize:n,"data-testid":y("reimbursement-detail-page-nav-bar-container"),children:[n!=="small"?t.jsx(Me,{"data-testid":y("reimbursement-detail-page-nav-bar-left"),style:{width:"42%"},title:"",leftSideComponent:t.jsx(Ci,{onClick:()=>ot?.(),"data-testid":y("remi-detail-page-nav-bar-zeni-logo")}),enableTitleOnScroll:!1,backgroundColor:he.colors.background,keepBackgroundOnScroll:!0,scrollableContent:P,source:"ReimbursementDetailPage"}):null,n!=="small"?t.jsx(Ti,{}):null,t.jsx(Me,{"data-testid":y("reimbursement-detail-page-nav-bar-right"),title:Q??xe,leftSideComponent:t.jsx(t.Fragment,{}),style:{width:n!=="small"?"58%":"100%"},rightSideComponent:t.jsxs(zi,{children:[u?t.jsxs(Ai,{isDisabled:C,onClick:C?()=>null:l=>{l.preventDefault(),l.stopPropagation(),ct({roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityType:"reimbursement.details",entityId:e.remiDetails?.id??""}),B(!0),lt.trackCommentActivity("reimbursement","clicked",d.currentTenant?.companyName??"",d.controllersList.controllers.map(o=>Bt(o)),void 0,void 0,"page icon")},"data-testid":y("remi-comments-section"),children:[t.jsx(Pt,{count:C?void 0:jt,isLoading:C,style:{left:"12px"}}),t.jsx($i,{})]}):null,t.jsx(Mi,{size:n,onClick:()=>{V()},"data-testid":y("remi-detail-page-close"),children:t.jsx(ki,{})})]}),scrollableContent:P,enableTitleOnScroll:n!=="small",scrollThreshold:64,source:"ReimbursementDetailPage"})]}),t.jsxs(Ei,{children:[n==="small"?t.jsxs(t.Fragment,{children:[t.jsx(He,{windowSize:n,children:t.jsx(Ye,{windowsSize:n,children:Q})}),e.createdBy?.userId!=null?t.jsx(Ue,{windowSize:n,children:`${i.by} ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,se&&v!=null?t.jsx(Ke,{color:v.color,bgColor:v.bgColor,borderColor:v.borderColor,children:v.value}):null,$?.code!=null?n==="small"?t.jsxs(t.Fragment,{children:[t.jsx(Nt,{progressSectionObj:$,createDate:e.remiDetails?.createTime,paymentDate:X,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:E}),R?t.jsx(Re,{variant:"warning",style:{margin:`${a.sp5} ${a.sp3}`},title:N.duplicateWarning.title,description:N.duplicateWarning.description}):Ie?t.jsxs(_e,{size:n,children:[t.jsx(Oe,{}),t.jsxs(Ee,{children:[t.jsx(We,{children:i.thereSeems}),t.jsx(Fe,{children:i.pleaseFind})]})]}):null]}):t.jsx(Ge,{windowSize:n,children:t.jsx(Pe,{progressSectionObj:$,createDate:e.remiDetails?.createTime,paymentDate:X,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:E})}):null]}):null,j.map((l,o)=>{const S=e.duplicateLineByLineId[l.lineId];return t.jsxs(Ze,{windowSize:n,children:[t.jsx(Li,{windowSize:n,children:t.jsx(_i,{bottomSeperator:j.length!==1,windowSize:n,children:t.jsx(ii,{showAutofill:!1,uploadInvoiceEndPoint:K,authParams:tt,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(Ni,{windowSize:n,children:[o===0&&n!=="small"?t.jsxs(t.Fragment,{children:[t.jsxs(He,{windowSize:n,children:[t.jsx(Ye,{windowsSize:n,children:Q}),se&&v!=null?t.jsx(Ke,{color:v.color,bgColor:v.bgColor,borderColor:v.borderColor,children:v.value}):null]}),e.createdBy?.userId!=null?t.jsx(Ue,{windowSize:n,children:`By ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,$?.code!=null?t.jsx(Ge,{windowSize:n,children:t.jsx(Pe,{progressSectionObj:$,createDate:e.remiDetails?.createTime,paymentDate:X,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:E})}):null,R?t.jsx(Re,{variant:"warning",style:{margin:`${a.sp3} ${a.sp8} ${a.sp3} ${a.sp6}`},title:N.duplicateWarning.title,description:N.duplicateWarning.description}):Ie?t.jsxs(_e,{size:n,children:[t.jsx(Oe,{}),t.jsxs(Ee,{children:[t.jsx(We,{children:i.thereSeems}),t.jsx(Fe,{children:i.pleaseFind})]})]}):null]}):null,t.jsxs(pi,{windowSize:n,ref:ke=>{ke!=null&&(ye.current[`L${l.lineId}`]=ke)},children:[n!=="small"?t.jsx(mi,{children:t.jsx(ui,{children:j.length>1?`#${o+1} ${i.reimbursement}`:i.reimbursement})}):null,t.jsxs(hi,{windowSize:n,children:[S?.duplicateLineId!=null?t.jsxs(di,{children:[i.thisExpenseReview," ",t.jsx(ci,{onClick:()=>{if(S.isDuplicateWithinTransaction&&S.duplicateLineId!=null)return ge(`L${S.duplicateLineId}`);S.duplicateTransactionId!=null&&S.duplicateLineId!=null&&rt(S.duplicateTransactionId,S.duplicateLineId)},"data-testid":y("remi-view-duplicate-expense"),children:i.viewOriginalExpense})]}):null,t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:l.type===i.mileageKey?`${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:{...g,entityType:`reimbursement.details.${f("reimbursementType",o,l.type===i.mileageKey?"mileage":"out_of_pocket")}`},style:{borderRadius:S?.duplicateLineId==null?`${a.sp2} ${a.sp2} 0 0`:"0 0 0 0"},children:t.jsx(w,{label:{label:i.reimbursementType,width:A},text:l.type===i.mileageKey?i.mileage:i.outOfPocket,style:{width:"auto",borderRadius:S?.duplicateLineId==null?`${a.sp2} ${a.sp2} 0 0`:"0 0 0 0"}})}),t.jsx(T,{}),l.type===i.mileageKey?t.jsxs(t.Fragment,{children:[t.jsx(b,{isThreadAllowed:u,dashboardTabKey:x({type:"details",key:`${o}.mileage.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("transactionDate",o,"mileage")}`},children:t.jsx(w,{label:{label:i.transactionDate,width:A},text:l.transactionDate?.format(we.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{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:{...g,entityType:`reimbursement.details.${f("distanceInMiles",o,"mileage")}`},children:t.jsx(w,{label:{label:i.distanceInMiles,width:A},text:l.distanceMileage.value.toString()??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{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:{...g,entityType:`reimbursement.details.${f("amount",o,"mileage")}`},children:t.jsx(w,{label:{label:i.amount,width:I},text:l.homeCurrencyConversions!=null?Be("0,0[.]00",l.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{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:{...g,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(b,{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:{...g,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(b,{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:{...g,entityType:`reimbursement.details.${f("merchant",o,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.merchant,width:A},text:l.merchant?.name??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{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:{...g,entityType:`reimbursement.details.${f("transactionDate",o,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.transactionDate,width:A},text:l.transactionDate?.format(we.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{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:{...g,entityType:`reimbursement.details.${f("amount",o,"out_of_pocket")}`},children:t.jsx(w,{label:{label:i.amount,width:I},text:l.homeCurrencyConversions!=null?Be("0,0[.]00",l.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{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:{...g,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(b,{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:{...g,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(b,{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:{...g,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(Bi,{windowSize:n,children:[t.jsxs(Je,{windowSize:n,children:[t.jsx(qe,{children:i.total}),t.jsx(Ne,{amount:ve,integerStyles:O.h6Regular.cssObject,decimalStyles:O.standardRegular.cssObject})]}),e.remiDetails&&t.jsx(Le,{amount:Se,activities:e.remiActivities,stage:L?.code??"draft",onAddNewRule:ue,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:re,signedInUserId:ne?.userId,showRealTimeApproval:le,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:de,onSaveRealTimeApprovals:ce},historicActivities:e.remiHistory.activities})]})]})]},l.lineId)}),j.length===1&&t.jsxs(Ze,{windowSize:n,children:[t.jsx(Ve,{}),t.jsxs(li,{windowSize:n,children:[t.jsx(Pi,{windowSize:n,children:t.jsxs(Je,{windowSize:n,children:[t.jsx(qe,{children:i.total}),t.jsx(Ne,{amount:ve,integerStyles:O.h6Regular.cssObject,decimalStyles:O.standardRegular.cssObject})]})}),e.remiDetails&&t.jsx(si,{windowSize:n,children:t.jsx(Le,{amount:Se,activities:e.remiActivities,stage:L?.code??"draft",onAddNewRule:ue,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:re,signedInUserId:ne?.userId,showRealTimeApproval:le,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:de,onSaveRealTimeApprovals:ce}})})]})]}),t.jsx(Wi,{})]}),fe||E===!0?null:t.jsxs(Di,{children:[n!=="small"?t.jsx(Ve,{}):null,t.jsx(gi,{windowSize:n,"data-testid":y("remi-detail-page-footer"),onClick:l=>{l.stopPropagation(),G===!0&&H(!1)},children:t.jsx(Lt,{separatorStyle:{marginRight:a.sp4},showPrimaryButton:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||oe,showCancel:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||oe,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:J==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress"||J==="delete"&&e.deleteStatus.fetchState==="In-Progress",onClick:()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?(q("delete"),Te()):(q("rejected"),Y(!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:J==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?je():(q("approved"),me({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(yi,{children:t.jsxs(ji,{windowSize:n,children:[!R&&G?t.jsx(_t,{onClickAway:()=>H(!1),children:t.jsxs(Si,{windowSize:n,children:[ee!=="processing"?t.jsx(ae,{onClick:Te,"data-testid":y("remi-delete-action"),children:i.buttons.deleteReport}):null,ee==="processing"?t.jsx(ae,{onClick:()=>{Z({title:i.cancelReportTitle,description:i.cancelAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),z(!0)},"data-testid":y("remi-cancel-action"),children:i.buttons.cancel}):null,ee==="processing"?t.jsx(ae,{onClick:()=>{Z({title:i.cancelAndDeleteReportTitle,description:i.cancelAndDeleteAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),z(!0)},"data-testid":y("remi-cancel-and-delete-action"),children:i.buttons.cancelAndDelete}):null]})}):null,t.jsxs(vi,{windowSize:n,children:[!R&&De?t.jsx(fi,{onClick:je,"data-testid":y("remi-edit-button"),children:t.jsx(wi,{})}):null,R||St!==!0?null:t.jsx(xi,{windowSize:n,showEditIcon:De,children:t.jsx(bi,{onClick:()=>H(!G),"data-testid":y("remi-more-actions-button")})})]})]})}),style:{minHeight:62}})})]}),u?t.jsx(Qt,{id:h,children:t.jsx(Wt,{isDrawerOpen:mt,allowComposer:!0,drawerTitle:ut,threads:M,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:k?.companyId??xe,isGlobalComment:!1,tab:"reimbursement"},isLoading:C,threadMetadata:k?{companyName:k.companyName,companyId:k.companyId,entityId:k.entityId,entityType:k.entityType,isGlobalComment:!1,application:"dashboard",tab:"reimbursement",url:window.location.href}:void 0,textOverrides:{composerPlaceholder:ht,replyComposerPlaceholder:yt,threadResolve:gt,threadUnResolve:bt},onThreadClick:(l,o)=>Dt(l,o),onCloseAllThreadsDrawer:()=>B(!1),drawerSectionStyle:{width:"400px",backgroundColor:he.colors.background}})}):null]})},oi=e=>{const K=Qe.getLocalizedStrings().spendManagement.billPay.billsByTabs;if(e?.isDeleted===!0)return{value:K.tabsById.deleted,color:ie.deleted.color,bgColor:ie.deleted.bgColor,borderColor:ie.deleted.borderColor,code:"deleted"}},li=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: ${e=>s.rightSectionWidth.valuePercentage(e.windowSize)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a$ as ne,i as $,u as k,bB as le,a as D,j as e,bm as a,gO as ae,cf as me,B as h,ac as m,b as r,as as de,H as ce,bq as E,ai as pe,R as xe,C as z,ds as ue,br as he,bM as ge,s as we}from"./index-
|
|
1
|
+
import{a$ as ne,i as $,u as k,bB as le,a as D,j as e,bm as a,gO as ae,cf as me,B as h,ac as m,b as r,as as de,H as ce,bq as E,ai as pe,R as xe,C as z,ds as ue,br as he,bM as ge,s as we}from"./index-OJbFNHch.js";import{a as j}from"./core-tlHkQPPu.js";import{n as t}from"./mui-kiGMfX4-.js";import{fH as je,bX as be}from"./zeni-epic-state-Bo1aGezX.js";import{w as Se}from"./VideoPopup-CPW65Ljn-DMNmv8U3.js";import{V as v}from"./usp-line-4JsxsMjK-mCxwNowe.js";import"./sentry-Dhk5jNhq.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";import"./VideoPlayer-DVIeTdLq-C7AoMVy0.js";const Z="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-light.png",H="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-dark.png",fe={midContainerMarginBottom:new xe(we[5],44)},ye=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
min-height: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as Le,u as Me,bB as O,a8 as Ge,dt as Je,a as Ve,bs as $e,j as t,gw as Ze,C as q,R as s,cf as Ye,A as Ke,aa as Qe,gP as Pe,f6 as Xe,gQ as et,ca as tt,eX as it,bC as nt,b as a,gS as ot,s as n,d6 as at,dF as lt,dN as st,g$ as Ae,h0 as je,hB as rt,B as ct,bm as De,d as Ee,cx as dt,af as ut,c6 as mt}from"./index-
|
|
1
|
+
import{i as Le,u as Me,bB as O,a8 as Ge,dt as Je,a as Ve,bs as $e,j as t,gw as Ze,C as q,R as s,cf as Ye,A as Ke,aa as Qe,gP as Pe,f6 as Xe,gQ as et,ca as tt,eX as it,bC as nt,b as a,gS as ot,s as n,d6 as at,dF as lt,dN as st,g$ as Ae,h0 as je,hB as rt,B as ct,bm as De,d as Ee,cx as dt,af as ut,c6 as mt}from"./index-OJbFNHch.js";import{a as o}from"./core-tlHkQPPu.js";import{n as i}from"./mui-kiGMfX4-.js";import{bM as pt}from"./zeni-epic-state-Bo1aGezX.js";import{v as gt}from"./UploadAdditionalDocumentOverlay-DCq4eMPQ-DgDGrP6S.js";import"./sentry-Dhk5jNhq.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";const ht=e=>o.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},o.createElement("path",{d:"M12.7113 3H2.89261C2.39963 3 2 3.39963 2 3.89261V20.8522C2 21.3451 2.39963 21.7448 2.89261 21.7448H12.7113C13.2043 21.7448 13.6039 21.3451 13.6039 20.8522V3.89261C13.6039 3.39963 13.2043 3 12.7113 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M10.4798 13.7113H9.58719C9.3407 13.7113 9.14088 13.9111 9.14088 14.1576V16.8354C9.14088 17.0819 9.3407 17.2817 9.58719 17.2817H10.4798C10.7263 17.2817 10.9261 17.0819 10.9261 16.8354V14.1576C10.9261 13.9111 10.7263 13.7113 10.4798 13.7113Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M21.6374 16.1133C21.6374 16.1961 21.6143 16.2773 21.5708 16.3477C21.5273 16.4182 21.4651 16.4752 21.391 16.5123L19.8522 17.2817V14.6039H21.1911C21.3095 14.6039 21.423 14.6509 21.5067 14.7346C21.5904 14.8183 21.6374 14.9318 21.6374 15.0502V16.1133Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M19.8522 14.6039V13.265C19.8522 12.5268 22.53 10.1409 22.53 10.1409",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M19.8522 17.2817V19.9596C19.8522 20.433 19.6641 20.8871 19.3293 21.2219C18.9945 21.5567 18.5404 21.7448 18.067 21.7448C17.5935 21.7448 17.1394 21.5567 16.8046 21.2219C16.4698 20.8871 16.2817 20.433 16.2817 19.9596V7.90935C16.2817 7.55424 16.1407 7.21369 15.8896 6.96259C15.6385 6.7115 15.2979 6.57043 14.9428 6.57043H13.6039",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M2 10.1409H13.6039",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M11.3724 4.78528H4.23154C3.98505 4.78528 3.78523 4.9851 3.78523 5.23158V7.90941C3.78523 8.15589 3.98505 8.35571 4.23154 8.35571H11.3724C11.6189 8.35571 11.8187 8.15589 11.8187 7.90941V5.23158C11.8187 4.9851 11.6189 4.78528 11.3724 4.78528Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M9.14088 19.0669H10.9261",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),g={sectionWidth:new s(343,580,726),iconContainerMaxWidthHeight:new s(n[6],n[7]),iconContainerMarginRight:new s(12,n[3]),infoLabelPaddingLeft:new s(n[0],n[3]),iconPadding:new s(10,12),iconWidthHeight:new s(20,n[4]),rowGap:new s(n[2],n[3]),containerPadding:new s(n[3],n[4])},pe={title:new Ee("standardSemiBold","largeSemiBold"),infoLabel:new Ee("extraSmallRegular","smallRegular")};function ft({companyMileageConfigInfo:e,mileageDetails:C,analytics:P,style:A,sectionId:$,isActive:d=!0,isDisabled:r,onSaveMileageClick:G}){const l=Me(),j=Le(),{formState:{errors:J},trigger:Z}=lt(),D=xt($,"mileageAmountInDenomination"),h=st(J,D),{localData:c,updateStatus:z,mileageStatus:y}=C,R=e?.denominationConversions.amount==null||e.denominationConversions.amount!==c?.mileageAmountInDenomination,{commonSetUp:Y,spendManagement:K}=Ve.getLocalizedStrings(),{reimbursement:Q}=K,[w,E]=o.useState(R),[X,F]=o.useState(!1);o.useEffect(()=>{h||Z(D)},[]),o.useEffect(()=>{e?.denominationConversions.amount!=null&&e.denominationConversions.amount===c?.mileageAmountInDenomination&&E(!1)},[e?.denominationConversions.amount]),o.useEffect(()=>{w||F(w)},[w]);const{reimbursementSetup:f}=Q,{setUp:ee}=Y,te=w===!1||z.fetchState==="In-Progress"?"readonly":r,ie=c&&c?.denominationSymbol?`${c?.denominationSymbol} `:"",ne=c&&c?.mileageUnit?c?.mileageUnit:"";return t.jsxs(St,{windowSize:l,style:A,isActive:d&&r==null,children:[t.jsxs(At,{windowSize:l,children:[f.mileageHeader,d===!1?t.jsx(Et,{children:ee.comingSoon}):null]}),t.jsxs($t,{windowSize:l,children:[t.jsx(kt,{windowSize:l,isDarkMode:j.mode==="dark",children:t.jsx(ht,{width:g.iconWidthHeight.valuePx(l),height:g.iconWidthHeight.valuePx(l)})}),t.jsxs(Ct,{children:[t.jsxs(Pt,{children:[t.jsxs(jt,{children:[t.jsxs(Dt,{children:[t.jsx(wt,{windowSize:l,children:e?.denominationConversions.amount==null?f.mileageAddTitle:f.mileageEditTitle}),t.jsx(bt,{children:f.mileageSubTitle})]}),y!=null&&e?.denominationConversions.amount!=null&&l==="small"?t.jsx(Ae,{style:{width:"max-content",padding:a.sp0,marginTop:a.sp2},tagTitle:y.name,textColor:je(y.code)}):null]}),t.jsxs(yt,{children:[y!=null&&e?.denominationConversions.amount!=null&&l!=="small"?t.jsx(Ae,{style:{width:"max-content"},tagTitle:y.name,textColor:je(y.code)}):null,t.jsx(vt,{})]})]}),t.jsxs(Tt,{children:[t.jsxs(It,{children:[t.jsx(rt,{style:{height:a.sp6,textAlign:"left"},inputStyle:{textAlign:"left",paddingRight:a.sp10,backgroundColor:h?void 0:j.colors.background,color:w||h?void 0:j.colors.grey1},isFieldError:h,type:"number",autoFocus:!1,focus:X,name:D,defaultValue:c?.mileageAmountInDenomination,returnValueType:"floatValue",allowEmptyFormatting:!0,prefix:ie,suffix:` ${f.perText} ${ne}`,decimalScale:1,allowNegative:!1,isNumericString:!1,registerOptions:{min:1,validate:T=>T!=null||r!=null,required:r==null},isDisabled:te}),t.jsx(Mt,{children:w?t.jsx(ct,{label:f.save,"data-testid":De("save-mileage"),onClick:()=>{c?.mileageAmountInDenomination!=null&&R&&!h&&G?.(c.mileageAmountInDenomination)},style:{outline:"none"},size:"small",disabled:r!=null,variant:"light_transparent",reverseSpinnerColor:!1,loading:z.fetchState==="In-Progress"}):t.jsx(Vt,{isDisabled:r,"data-testid":De("edit-mileage"),onClick:T=>{T.stopPropagation(),E(!0),F(!0),P.trackReimbursementMileageRateEdit()}})})]}),c?.description!=null?t.jsx(Lt,{size:l,hasError:h,children:h&&e?.defaultMileageUnitAmount!=null?f.yourMileage.replace("__defaultMileageUnitAmount__",(100*e.defaultMileageUnitAmount).toString()):c.description}):null]})]})]})]})}const xt=(e,C)=>`${e}.${C}`,St=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
pointer-events: ${e=>e.isLoading===!0||e.isActive===!1?"none":"initial"};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as O,j as _,dc as N,dd as M,de as V,lt as z,bv as W}from"./index-
|
|
1
|
+
import{a as O,j as _,dc as N,dd as M,de as V,lt as z,bv as W}from"./index-OJbFNHch.js";import{a as f}from"./core-tlHkQPPu.js";import{gc as q}from"./zeni-epic-state-Bo1aGezX.js";import{S as G}from"./ReviewOverlay-De5_nrll-UZnD0Wrb.js";import"./mui-kiGMfX4-.js";import"./sentry-Dhk5jNhq.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";const{common:n,spendManagement:{reimbursement:j}}=O.getLocalizedStrings(),o=j.bulkActions;let P;const se=({remisReviewView:e,isAdmin:a,analytics:i,onProceedForBulkActionClick:d,onCloseReviewItem:r,onCloseOverlay:s})=>{const{fetchState:l,bulkSubmissionFetchState:c,bulkOperationTypeSelected:t,currentTab:b,currentSubTab:v}=e,g=!1,[w,p]=f.useState(!1),[m,h]=f.useState(R(e,g,a)),[y,I]=f.useState(g),[B,K]=f.useState(0),[S,A]=f.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});f.useEffect(()=>(B===m.length&&y&&(I(!1),clearInterval(P)),e.fetchState==="Completed"&&h(R(e,!1,a)),()=>{clearInterval(P)}),[m.length,B,y,e.fetchState,g,e,a]);const $=m.length,x=m.filter(u=>u.reviewStatus.code!=="error").length,U={onOkClick:u=>{p(!1);const T=e.remisForReview.map(k=>k.reimbursement);i.trackReimbursementBulkPopupConfirm(t,b,v,q(T.map(k=>k?.reimbursementTypesIncluded??[]))),d("reject",u)},onCancelClick:()=>{p(!1)}},{title:E,description:F}=J(l,x,$,y),C=e.fetchState==="Completed"&&x===0,L=()=>{i.trackReimbursementBulkSubmit(t,b,v),d(t)},D={label:t==="send_for_approval"?n.texts.goBack:n.footer.reject,isDisabled:t!=="reject"&&c==="In-Progress",isLoading:t==="reject"&&c==="In-Progress",reverseSpinnerColor:!1,onClick:t==="send_for_approval"?s:()=>{const{title:u,description:T}=H(x);A({type:"reject",title:u,description:T,primaryButtonText:n.texts.confirm,secondaryButtonText:n.texts.close}),i.trackReimbursementBulkSubmit(t,b,v),p(!0)},style:t==="approve"?{minWidth:"92px"}:{}};return _.jsxs(_.Fragment,{children:[w?_.jsx(N,{titleComponent:_.jsx(V,{children:S.title}),descriptionComponent:_.jsx(M,{children:S.description}),primaryButtonText:S.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:S.secondaryButtonText,action:U,isNotesIncluded:!0,isEditPopup:!0}):null,_.jsx(G,{title:E,description:{content:F,isError:e.fetchState==="Completed"&&x===0},reviewItems:m,onCloseReviewItem:r,onCloseOverlay:s,showFooter:e.fetchState==="Completed"&&!y,footerProps:{primaryButton:(()=>{let u=n.footer.approve;return C?u=n.texts.close:t==="send_for_approval"&&(u=n.footer.submit),{label:u,isDisabled:l!=="Completed"||t==="reject"&&c==="In-Progress",isLoading:c==="In-Progress"&&(t==="send_for_approval"||t==="approve"),onClick:C?s:L,style:t==="send_for_approval"?{minWidth:"92px"}:{}}})(),cancelButton:D,hideCancel:C}})]})},R=(e,a,i)=>{const d=e.fetchState==="In-Progress";return e.remisForReview.map(r=>{const s=z(i,r.submittedBy);return{id:r.transactionId,leftSideText:{title:r.reimbursement?.reportTitle!=null?r.reimbursement.reportTitle:j.reimbursementDetail.newReimbursementTitle,subTitle:s!=null?`${n.by} ${s?.firstName} ${s?.lastName}`:n.strings.empty},rightSideText:{title:W("0,0.[00]",r.reimbursement?.amount?.amount,r.reimbursement?.amount?.currencySymbol),showThunderIcon:!1,subTitle:r.reviewInfoMessage??""},reviewStatus:{isLoading:d,code:r.reviewStatus??""}}})},H=e=>{const{this_:a,these:i,report:d,reports:r,payment:s,payments:l}=n.texts;return e>1?{title:o.popUps.reject.title.replace("__report__",o.reports),description:o.popUps.reject.description.replaceAll("<_this_>",i).replaceAll("<_payment_>",l).replaceAll("__report__",r)}:{title:o.popUps.reject.title.replace("__report__",o.report),description:o.popUps.reject.description.replaceAll("<_this_>",a).replaceAll("<_payment_>",s).replaceAll("__report__",d)}},J=(e,a,i,d)=>{const{has:r,have:s,report:l,reports:c,are:t,is:b,do_:v,does:g}=n.texts,w=a>1,p=i>1;let m="",h="";return e!=="Completed"||d?(m=o.reviewPage.reportsReviewing.title.replace("__report__",p?c:l),h=o.reviewPage.reportsReviewing.description.replace("__report__",p?c:l)):(m=o.reviewPage.reportsReviewed.title.replace("__report__",p?j.bulkActions.reports:o.report).replace("<_has_>",p?s:r),h=a===0?o.reviewPage.reportsReviewed.descriptionError.replace("__report__",p?c:l).replace("<_do_>",p?v:g):`${a}/${i} ${o.reviewPage.reportsReviewed.description.replace("__report__",i>1?c:l).replace("<_is_>",w?t:b)}`),{title:m,description:h}};export{se as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as h,j as r,bl as a,bm as m,bF as C,a as j,bp as l,ck as x,af as g,b as c,bG as p}from"./index-
|
|
1
|
+
import{i as h,j as r,bl as a,bm as m,bF as C,a as j,bp as l,ck as x,af as g,b as c,bG as p}from"./index-OJbFNHch.js";import{n as s}from"./mui-kiGMfX4-.js";import{a as d}from"./core-tlHkQPPu.js";function f({backgroundColor:e,foregroundColor:o,animated:t,width:n,height:i}){return r.jsxs(x,{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 y({backgroundColor:e,foregroundColor:o,animated:t}){return r.jsxs(x,{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 u=s(l)`
|
|
2
2
|
justify-content: flex-start;
|
|
3
3
|
`;function T({dimension:e,animated:o}){const t=h();return r.jsx(a,{dimension:e,children:r.jsx(u,{children:r.jsx(y,{backgroundColor:t.colors.grey3,foregroundColor:t.colors.grey4,animated:o})})})}function S({dimension:e,animated:o}){const t=h();return r.jsx(a,{dimension:e,children:r.jsx(u,{children:r.jsx("div",{style:{width:"100%",height:"100%"},children:r.jsx(p,{children:({height:n,width:i})=>r.jsx(f,{backgroundColor:t.colors.grey3,foregroundColor:t.colors.grey4,animated:o,width:i,height:n})})})})})}const w=s(l)`
|
|
4
4
|
justify-content: space-between;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as Z,d1 as ue,d2 as pe,d3 as me,i as K,u as re,d4 as ge,a8 as fe,j as t,ak as xe,d5 as Q,aa as be,R as P,bC as ye,b as r,d6 as _e,d7 as we,ai as le,d8 as $e,s as p,af as ve,b3 as U,bs as ke,ck as Ce,ah as je,aw as Se}from"./index-
|
|
1
|
+
import{a as Z,d1 as ue,d2 as pe,d3 as me,i as K,u as re,d4 as ge,a8 as fe,j as t,ak as xe,d5 as Q,aa as be,R as P,bC as ye,b as r,d6 as _e,d7 as we,ai as le,d8 as $e,s as p,af as ve,b3 as U,bs as ke,ck as Ce,ah as je,aw as Se}from"./index-OJbFNHch.js";import{a as x,o as ie}from"./core-tlHkQPPu.js";import{n as h}from"./mui-kiGMfX4-.js";import{N as T,r as Ne}from"./CollapsableReportTable-B3_in9eE-DAO-TPrY.js";const W=Z.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat;async function Xe(e,d,a){const o=Z.getLocalizedStrings().downloadReport,l=`${e}?query=${encodeURIComponent(JSON.stringify((s=a,{locale_id:s.localeId,show_negative_amount_in_parenthesis:s.showNegativeAmountInParenthesis,filter_accounts_with_nil_balances:s.filterAccountsWithNilBalances,filter_account_groups_with_nil_balances:s.filterAccountGroupsWithNilBalances,include_cover_page:s.includeCoverPage,company_name:s.companyName,statement_file_type:s.statementFileType,statements:s.statements,first_month_of_fy:s.firstMonthOfFY,book_close_date:s.bookCloseDate!=null?s.bookCloseDate.format(W):void 0,timeframe:s.timeframe,additional_balances:s.additionalBalances,format:s.format,balances_filter:(m=s.balancesFilter,{this_period:{start_date:m.thisPeriod.startDate.format(W),end_date:m.thisPeriod.endDate.format(W)},number_of_periods:m.numberOfPeriods,order_by:m.orderBy}),account_view_mode:s.accountViewMode,classes_to_filter_out:s.classesToFilterOut,data_available:(g=s.dataAvailable,g!=null?{start_date:g.startDate.format(W),end_date:g.endDate.format(W)}:void 0),is_zeni_coa_used:s.isZeniCOAUsed})))}`;var s,g,m;try{const f=await ue({urlEndPoint:l,authParams:d,fileType:a.statementFileType});if(f.ok){const A=pe(f.headers,o.defaultFileName),N=await f.arrayBuffer();me(N,A)}else console.error(`${o.reportErrorMessage} ${f.statusText}`)}catch(f){console.error(`${o.reportErrorMessage} ${JSON.stringify(f)}`)}}const Ie=h.div`
|
|
2
2
|
padding: 0 ${r.sp3} 0 ${r.sp3};
|
|
3
3
|
border: 1px solid ${e=>e.theme.colors.primary};
|
|
4
4
|
background: ${e=>e.theme.colors.grey5};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as H,i as Z,a as A,a$ as fe,j as i,bm as M,cz as me,cj as ge,cf as _e,R as T,b as B,bq as be,cA as Se,s as O,A as we,G as v,b3 as ae,cl as Ce,E as ye,bs as xe,av as Oe}from"./index-
|
|
1
|
+
import{u as H,i as Z,a as A,a$ as fe,j as i,bm as M,cz as me,cj as ge,cf as _e,R as T,b as B,bq as be,cA as Se,s as O,A as we,G as v,b3 as ae,cl as Ce,E as ye,bs as xe,av as Oe}from"./index-OJbFNHch.js";import{a as I,o as ne}from"./core-tlHkQPPu.js";import{n as y}from"./mui-kiGMfX4-.js";import{bh as q,eK as Re,eT as Ae,eU as D,eV as Be,eW as ve,eX as K,eY as X,eZ as Le,e_ as Te,e$ as Pe}from"./zeni-epic-state-Bo1aGezX.js";import{a as U,s as J}from"./analyticsHelper-QM8g-I4_-D8fsuugi.js";import{d as Ne}from"./ReportTableViewSelector-BeCqfOU9-Dl1-rF4w.js";import{H as ie,i as ke}from"./TimeRangeSwitcher-BLZFMJtQ-DGm3ShK1.js";import{y as Ie}from"./TimeframeSwitcherWithToggle-Cu3G5WXl-DA09Uj2K.js";import{DownloadOverlayButton as Me}from"./DownloadOverlay-CLWNXGnb-CzOVbqqI.js";import{r as Fe,N as j,a as Q}from"./CollapsableReportTable-B3_in9eE-DAO-TPrY.js";import{i as ee,l as te,a as z,o as $e,n as ce}from"./mapSectionWithAcOnlyToTreeNode-CPOj7SUJ-BBvkWVpb.js";import{a as G}from"./mapTimeframeBalancesToTreeNode-CreSrgeo-DJ7qRU6g.js";import{a as je,s as Ee}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-CJ8hkVjB-B-rBOsE2.js";import{n as Ve}from"./mapLoadingInProgressToTreeNode-wIyHFu9f-BUan4l0E.js";import"./sentry-Dhk5jNhq.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";import"./Switch-0GHq7mOt-DbAV4YYH.js";import"./TimeframeSwitcher-BsjH-yMO-BPnsY2-U.js";import"./page-detail-L_-1iNMr-DCxtcaOg.js";import"./AccountRow-DbyUdPZG-kPApYWvO.js";import"./useFormControl-DPydD0oc-BkCU7DyG.js";function re({section:e,sectionId:s,numOfBalances:u,config:l}){return Q("no_filter",l.filterAccountsWithNilBalances,l.filterAccountGroupsWithNilBalances).compactedAccountGroupsSelector(e.accountGroups).map(t=>function({accountGroup:o,sectionType:b,numOfBalances:S,title:g,isLastNode:c,config:r}){const a=j("section",[],g+b),n={children:[],id:a,isLastNode:c,reportElementData:{element:{kind:"section",title:g,sectionType:b,data:o,numOfBalances:S},config:r}},m=Q("no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances),w=m.compactedAccountsSelectorVariant(o.accounts),d=w.map((_,C)=>ce({account:_,sectionType:b,numOfBalances:S,title:_.account.accountName,config:r,isLastNode:C===w.length-1,parentNodeIDs:[a],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:w.length>1,hasChildren:_.children.length>0,isLastNode:C===w.length-1}]}}));return n.children.push(...d),n}({accountGroup:t,sectionType:s,numOfBalances:u,title:t.accountGroupName,isLastNode:!0,config:l}))}function le({sectionWithAcOnly:e,sectionType:s,numOfBalances:u,config:l}){return e.accounts.map((t,o)=>ce({account:t,sectionType:s,numOfBalances:u,title:t.account.accountName,config:l,isLastNode:o===e.accounts.length-1,parentNodeIDs:[],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:e.accounts.length>1,hasChildren:t.children.length>0,isLastNode:o===e.accounts.length-1}]}}))}function de({balances:e,config:s,nodeId:u}){return{children:[],id:u??j("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:s.mode==="actual_vs_forecast"?"timeframe_headers_with_forecast":"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:s}}}const pe=e=>{switch(e.reportId){case"profit_and_loss":{const s=e;return s.sections.expenses.balances.length>0?[...s.sections.expenses.balances,...s.sections.expenses.additionalBalances]:[...s.sections.income.balances,...s.sections.income.additionalBalances]}case"profit_and_loss_by_classes":{const s=e;return s.sections.expenses.balances.length>0?[...s.sections.expenses.balances,...s.sections.expenses.additionalBalances]:[...s.sections.income.balances,...s.sections.income.additionalBalances]}case"cash_flow":{const s=e;return[...s.calculatedSections.operatingActivitiesTotal.balances,...s.calculatedSections.operatingActivitiesTotal.additionalBalances]}case"balance_sheet":{const s=e;let u=[];return Object.keys(s.sections).forEach(l=>{s.sections[l].balances.length>0&&(u=[...s.sections[l].balances,...s.sections[l].additionalBalances])}),u}default:return[]}};function De(e,s,u=!0){const l=A.getLocalizedStrings().reports.sections,t=A.getLocalizedStrings().reports.cashFlow,o=[...e.calculatedSections.operatingActivitiesTotal.balances,...e.calculatedSections.operatingActivitiesTotal.additionalBalances],b=s.mode!=null&&s.mode==="this_period_vs_period_before"&&o.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,S=de({balances:o,config:s}),g=[];return Object.keys(e.rootSectionsWithSubSectionIds).forEach(c=>{const r={children:[],id:j("title_string_only",[],c),isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:l[c],data:void 0,numOfBalances:0},config:s}};g.push(r),e.rootSectionsWithSubSectionIds[c].forEach(a=>{if(Le(a)===!0)if(e.sections[a].accountGroups.length>0){const n=re({sectionId:a,section:e.sections[a],numOfBalances:b,config:s});g.push(...n)}else{const n=le({sectionWithAcOnly:e.sections[a],sectionType:a,numOfBalances:b,config:s});g.push(...n)}else Te(a)===!0?g.push(function({calculatedSection:n,numOfBalances:m,title:w,isLastNode:d,config:_}){return{children:[],id:j("calculated_section_type1",[],w),isLastNode:d,reportElementData:{element:{kind:"calculated_section_type1",title:w,data:n,numOfBalances:m},config:_}}}({calculatedSection:e.calculatedSections[a],numOfBalances:b,title:t[a],isLastNode:!0,config:s})):Pe(a)===!0&&g.push(z({calculatedSection:e.calculatedSections[a],numOfBalances:b,title:t[a],isLastNode:!0,config:s}))})}),{config:s,headerNodes:u?[S]:[],contentNodes:[S,...g]}}const se={contentPaddingLeft:new T(O[0],O[0],O[0]),contentPaddingRight:new T(O[3],O[3],O[8])},ze=y.div`
|
|
2
2
|
height: ${e=>e.height}px;
|
|
3
3
|
width: 99.9%;
|
|
4
4
|
margin-top: ${B.sp2};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as F,j as a,a as R,cr as ge,cs as Z,u as pe,bm as Ke,bG as ee,ct as Te,s as M,cu as ae,bS as re,t as A,bR as te,bv as oe,cv as le,cw as me,b as p,C as g,b3 as He,R as ye,cx as fe,ah as T,cy as K,bM as H}from"./index-
|
|
1
|
+
import{i as F,j as a,a as R,cr as ge,cs as Z,u as pe,bm as Ke,bG as ee,ct as Te,s as M,cu as ae,bS as re,t as A,bR as te,bv as oe,cv as le,cw as me,b as p,C as g,b3 as He,R as ye,cx as fe,ah as T,cy as K,bM as H}from"./index-OJbFNHch.js";import{a as W,o as ne}from"./core-tlHkQPPu.js";import{n as f}from"./mui-kiGMfX4-.js";import{c as b,a as E,s as ce,o as G,r as N,n as se}from"./chartTypes-BADtYh4F-B1Z_E0y8.js";import{c as V,e as ie,s as I}from"./toCOABalancesWithID-C_Swao_b-UbAQtm0o.js";import{t as Q}from"./toChartData-DfujfQ7D-DwlIUYBD.js";import{n as xe}from"./ComposedChart-Cot0K7Et-Cs0IcUoo.js";const U={legendLabelMarginLeft:new ye(2,2),legendLabelMarginRight:new ye(M[3],M[4])},Ye=f.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
`,qe=f.div`
|
|
4
4
|
margin: ${p.sp2} ${p.sp0} ${p.sp2} ${p.sp0};
|