@zeniai/web-cockpit-ui 1.14.5-prod → 1.14.6-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{ACHDetailsPage-CIw_jdIY-nkivmIUR.js → ACHDetailsPage-DgGGv2hx-DTY9oLT9.js} +1 -1
- package/dist/assets/{AIPerformancePage-BflDOenW-DqeZ81sN.js → AIPerformancePage-cpZUms56-BBcIcyzo.js} +1 -1
- package/dist/assets/{AccountInfoPage-D8k3wGmD-D-8qe8e0.js → AccountInfoPage-CFLaCiT5-5AiF8EJ9.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-C5gATs9y-DZF7xeex.js → AccountInfoPageContent-DtAZ50Qc-DUP_wcrg.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-CddofGws-DFpr6EFW.js → AccountReconDetailsDrawerPage-CMN1zNHW-OJMmHFy6.js} +1 -1
- package/dist/assets/{AccountRow-WEuGwVlL-JxLe7wdK.js → AccountRow-DAc1wwY9-DEIj0_IL.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-DSxSdGCd-CQwXZt6p.js → AccountsPromoCardStack-Bp1wRT6M-yc7U5gNK.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-CdIt-G3_-BesYr_PX.js → AddAddressForCardDrawer-ChDzvTVq-U4RBHj9r.js} +1 -1
- package/dist/assets/{AddToWalletPage-CxzUceYd-Bm-9lfb4.js → AddToWalletPage-BvrcjDhk-BAMsq_uj.js} +1 -1
- package/dist/assets/{AgingReportsPage-FVsrlpLM-k_hdK6iq.js → AgingReportsPage-CzYUWOIt-xhKsVxTG.js} +1 -1
- package/dist/assets/{AllUserItems-Bw0qVHfp-CYGYStGU.js → AllUserItems-XxV2Tu4Y-VnOFdHoZ.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-Dnq6kgik-Dp64W-8B.js → ApAgingDetailPage-DTXhjXRb-C8uMKsqJ.js} +1 -1
- package/dist/assets/{AppBasePage-CnvWVXa_-Cu1XLZB2.js → AppBasePage-Cfiv8Ecs-CDBmdGFq.js} +1 -1
- package/dist/assets/{AppDrawerContent-COo8rIzQ-XVk2mDpb.js → AppDrawerContent-ggBgpYsv-BQGBPgzE.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-DEDgJJu_-Dk89vbJv.js → ApprovalRulesSettingsPage-BlRSdCTV-Ba3VQ5Ff.js} +1 -1
- package/dist/assets/{ArAgingChart-B5rtQeer-ecz-Zqzf.js → ArAgingChart-C7_e1ezL-B5cv8rdg.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-DyNSK8aO-BYRHAhXC.js → ArAgingDetailPage-DhjFbj4K-DzN-2OD-.js} +1 -1
- package/dist/assets/{AttachmentView-OXyBpL2F-DYlig7pu.js → AttachmentView-CQD-yy-o-CNYsfmt9.js} +1 -1
- package/dist/assets/{BankAccountSection-DQns2Rla-BFwSJeyO.js → BankAccountSection-CmOHWLFq-JZncqm1R.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-qTsFgeuD-BLjrvoXb.js → BankAccountWarningSection-DsBsO84p-D8XBZBGY.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-Bvnltb7a-Cb3q7PQF.js → BankConnectionsSettingsPage-Cz6smhXo-BNxJJyGM.js} +1 -1
- package/dist/assets/{BillDetailPage-Da_E9_nC-BYUXwKXk.js → BillDetailPage-CYa0EITJ-CsdEjHL9.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-ziAMcG0m-CZNaA2WD.js → BillPayApprovalRuleDetailPage-BbU_Q81T-Bs1k5EiQ.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-97qcqa5F-DDXVS_zj.js → BillPayApprovalRulesPage-D8ehXeiO-CBviDfty.js} +1 -1
- package/dist/assets/{BillPayPromoPage-BYzFaKct-CRIGGAT1.js → BillPayPromoPage-DuaA85G4-CCb8T9vP.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-ijAWNt3n-BW3bIFwJ.js → BillPaySetUpPage-BH06l9Hv-C9lkGPRY.js} +1 -1
- package/dist/assets/{BillingSettingsPage-DNZAJ-3V-CX7lm6-B.js → BillingSettingsPage-BUas93LA-CscI75OR.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-DqQL9iFe-Dg28oXmP.js → BillsBulkReviewDrawerPage-D6cSAH1--DGq_mOk4.js} +1 -1
- package/dist/assets/{BoxItem-DT51UimN-kFXGdmJC.js → BoxItem-D88gMTQn-B1kkFD04.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-D_sLy4b9-Cj98U4ae.js → BusinessVerificationPage-rX7_wUAW-BsbYtglz.js} +1 -1
- package/dist/assets/{CardNumberSubText-BkDxvc37-Cne33WTX.js → CardNumberSubText-CxTVkF4V-Ct-KOGH7.js} +1 -1
- package/dist/assets/{CashbackDetailPage-eJO-ODcm-DlOV2BJ-.js → CashbackDetailPage-DdDMDW2I-Jzq4bLKz.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-Dc-3stHW-BPBshj48.js → ChargeCardDetailPage-JrO7h-ff-C9bshVlU.js} +1 -1
- package/dist/assets/{ChargeCardListPage-DRot1SKG-B_-3GUoh.js → ChargeCardListPage-CelWKqSg-DbRD1T3_.js} +1 -1
- package/dist/assets/{ChargeCardListTable-B3HCvxfz-DWM9JMsr.js → ChargeCardListTable-B4c4WFSq-CrRtTBWM.js} +1 -1
- package/dist/assets/{ChargeCardPromoPage-oU5JQfGc-DASVpDpm.js → ChargeCardPromoPage-BiyYawq5-KMXkWe6B.js} +1 -1
- package/dist/assets/ChargeCardSetupPage-PQAwr78u-Byy3_Lz6.js +36 -0
- package/dist/assets/{ChargeCardStatementsPage-B-XViYjO-B86W-Ab9.js → ChargeCardStatementsPage-DVPKN4xX-CzVkb3Pg.js} +1 -1
- package/dist/assets/{ChargeCardUtils-Bol5oWmA-CmmODJlt.js → ChargeCardUtils-BQZTS-KQ-BEdPKA-Q.js} +1 -1
- package/dist/assets/{ChaseOverlay-DAxqw7Vj-CgIFMhSK.js → ChaseOverlay-DveM_aY_-DNzo2JiY.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-CkKK3qKT-ClU5qOvy.js → CheckDepositDrawerPage-DoMhVKPu-WiZ6iqFw.js} +1 -1
- package/dist/assets/{CollapsableReportTable-q6K7jAw6-DUkjuT2o.js → CollapsableReportTable-CWIVhYku-Di1SJf6r.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-BVARFx2M-Dlnoj0mO.js → CompanyOfficerDetailsSection-Ci47swN_-BA3Vbogj.js} +1 -1
- package/dist/assets/{CompanyPassportCard-Bfc0SPQL-PF4i4VtV.js → CompanyPassportCard-Bw2TdWs0-C8coLEDf.js} +1 -1
- package/dist/assets/{CompanyPassportPage-CnEeyb9L-JEjXq7q4.js → CompanyPassportPage-CKIihOM0-C8LZIaU2.js} +1 -1
- package/dist/assets/{CompleteProfile-DvtAzqIF-CplCN8kU.js → CompleteProfile-CikcmDmg-Bx0bFhKW.js} +1 -1
- package/dist/assets/{ConfettiBurst-DI_ur1ii-CP_toxHr.js → ConfettiBurst-CU6fcwCz-DM4PmL8N.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-DmaAqZ07-DQFMB9kz.js → CreateOrEditVendorPage-BoDt1Ez7-ihMNs_cQ.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-CvNctQ-G-B7sd-cn9.js → CreditCardPaymentDrawerPage-D7Hka4sI-Cnrvme6i.js} +1 -1
- package/dist/assets/{CreditCardPaymentPlgSection-CGiJIVca-CihNYXrO.js → CreditCardPaymentPlgSection-C86KVs5o-DS3hiQEi.js} +1 -1
- package/dist/assets/{CurrencySelectField-Dg-v771d-DyG4YBrb.js → CurrencySelectField-B0VTg3Rt-BiyrySfK.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-VpzSrW82-C_aJSfNq.js → CustomerOnboardingActivationPage-oegOz3kP-Djz8CScI.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-56mBQg5m-B7bUPJSx.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-j16Xqnmk-Dwv_Sf5M.js → CustomerOnboardingDetailPageSkeleton-DhuLaWYK-DXGjF58n.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-DwdySDPO-Bnb25wHM.js → CustomerOnboardingNoStepsPage-BxwT2uzY-Cs8WelHb.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-BB1ZxqG3-1kI-VdZy.js → CustomerOnboardingPage-L_1XcD2Y-BN0hGCDA.js} +1 -1
- package/dist/assets/{CustomerOnboardingProductSuitePage-BScpvgDb-ByIJgq6I.js → CustomerOnboardingProductSuitePage-Xqdww5iU-fcjjI_cL.js} +1 -1
- package/dist/assets/{Dashboard-BpolYa4C-ClyfT6PR.js → Dashboard-CWSUiuiJ-BGpFaZbs.js} +1 -1
- package/dist/assets/{DashboardReportPage-pQRUl_gG-BYumgoFL.js → DashboardReportPage-D79gYgHb-Bdmj-j3o.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-Wt0dXING-DGElhLBC.js → DepositAccTransactionItem-BCJn6a_d-C1iXuRbP.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-Cs0KlI24-CliUVO6u.js → DepositAccTransactionListPage-6QMW3q5S-LbnWCAZH.js} +1 -1
- package/dist/assets/{DocumentSecurityBanner-DDc5UFRt-DtIawul4.js → DocumentSecurityBanner-C7TAyvIZ-DrKz95xX.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-CPGShq-e-DVwSFTSK.js → DomesticWireDetailsPage-DGOgMHF5-Dj6aB45z.js} +1 -1
- package/dist/assets/{DownloadOverlay-2cyqFPGO-mq9Ke6Fz.js → DownloadOverlay-BrVMY7u8-PA5PVprH.js} +1 -1
- package/dist/assets/{DrawerPage-C-qJ2Dm4-CjO1Di9r.js → DrawerPage-DbmFkDa9-a_7f3jw_.js} +1 -1
- package/dist/assets/{EditPeoplePage-lFbayOOG-D7msYw32.js → EditPeoplePage-CKiV3DO3-DWg5i0Bd.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-UuxUgVMA-KvHQSVtQ.js → EditReimbursementDetailPage-BSXwufQy-CZrhHx2S.js} +1 -1
- package/dist/assets/{EntityDetailPage-scWkPKyF-ChCS54ry.js → EntityDetailPage-ClKvTCns-D989IPFG.js} +1 -1
- package/dist/assets/{EntitySummarySection-BiMRux1v-DXOZ8I9R.js → EntitySummarySection-BcyWfLW_-CA1NuAEW.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-CdyrLRZJ-B56CIDH0.js → ExpenseAutomationOverviewPage-CQ5_4jtz-CJmOeqaA.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-CbEb08AK-CEpIh5AR.js → ExpenseAutomationPage-SDYsJmGO-ClxfX9Ah.js} +1 -1
- package/dist/assets/{ExpressPayPage-DA_tTo4g-aRpihcMb.js → ExpressPayPage-S33czP_U-zP-9g0Jw.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-BNqQXX2a-C5qqUK8Z.js → FeaturePreviewPage-COWIqmTf-7yGzqASh.js} +1 -1
- package/dist/assets/{FollowStepsSection-BbWkIUb_-DTEF_Mzk.js → FollowStepsSection-Cw8htUBe-BHcpEdlZ.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-COj3_1we-C9MzwgeM.js → GlobalReviewListPage-DKBYTVNe-9qWeNgUP.js} +1 -1
- package/dist/assets/{HelpButton-B-GBd1e8-Cp7Oxsen.js → HelpButton-BvPX8uxd-BlwFNZhB.js} +1 -1
- package/dist/assets/{InformationCardStack-BQz2--SG-L3HWqatS.js → InformationCardStack-CtueyMCq-CecAsOTT.js} +1 -1
- package/dist/assets/{InsightsCardStack-es6BneiX-n_9LJsaQ.js → InsightsCardStack-BKtPGTdt-DGnUS7GP.js} +1 -1
- package/dist/assets/{InsightsSection-DXW-B4Fa-BdiTA2CO.js → InsightsSection-BFIeAUrz-DhqGCmzD.js} +1 -1
- package/dist/assets/{IntegrationsSettingsPage-C_sRDpnl-Bv3-UcpY.js → IntegrationsSettingsPage-BSyZC7Kg-HQ8AMRN8.js} +1 -1
- package/dist/assets/{InternationalWireSwiftDetailsPage-Dxab2GVU-BLE-M761.js → InternationalWireSwiftDetailsPage-C9Z04pG5-CN1lREHk.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-DnJzLl92-CeVL003i.js → InternationalWireVerificationPage-iRa0YMo6-BUrJWmZw.js} +1 -1
- package/dist/assets/{InviteFormPage-BS5WRi1w-DulGzSSp.js → InviteFormPage-CbSJssAT-B68pBBll.js} +1 -1
- package/dist/assets/{InvitePageListView-CO8_ZG4N-DgU17xpb.js → InvitePageListView-BrUBTz5B-C4Bi8HKo.js} +1 -1
- package/dist/assets/{InvitePeoplePage-D3vbP-JS-Bu-BR2rk.js → InvitePeoplePage-BbDUlUjQ-D-lcrPrg.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-B-ZrMaqn-aCeuHZcd.js → InvoiceUploadSection-CRgtSthn-DpsfwSSA.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-CjWitICD-D-_uARBC.js → IssueChargeCardPage-CdOs81el-BxrEFsor.js} +1 -1
- package/dist/assets/{LabeledAddressValue-Brl4LzSu-Crlgewjx.js → LabeledAddressValue-CoQKG0Vs-ArQ7GQm6.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-CkMlEpyG-DoliwdUM.js → LabeledAddressValueField-D5zB7wnP-D9_x4rj6.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-KplLKC3R-CMCXrJ87.js → LabeledControlledCheckBoxField-DSefRIxV-DEzZcib8.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-CB5WGZwa-wo9NjzlR.js → LabeledCreatableSingleSelectField-DOv10RFp-E8nB4rrt.js} +1 -1
- package/dist/assets/{LabeledDocumentField-ClOVVHoy-Dq3PNVOa.js → LabeledDocumentField-CO6_e65U-Xg9JvMjr.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-7a2TUZx2-_D_vGvij.js → LabeledDropDownFormattedTextField-D6qgntCW-DZEs5m5T.js} +1 -1
- package/dist/assets/{LabeledText-DbGX_kFb-WPRiKZuu.js → LabeledText-DiD_FvMm-BU273AGf.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-C_2dWkTR-DyBMsIH4.js → LabeledUserSingleSelectWithSubtitlesField-rBaXx4JB-BoxuQpFr.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-BOE3zuQX-ChGKD1Fc.js → LabeledZeniRolesDropDownField-DI9XLkn7-BEClY3V7.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-DnXY1rVh-CGORo_Qk.js → LinkJETransactionPage-BI9rvDWF-D9HoKgaf.js} +1 -1
- package/dist/assets/{LowBalancePopup-DCPaPCI6-B4h_YdQE.js → LowBalancePopup-ChqqEeWk-C11eT2fZ.js} +1 -1
- package/dist/assets/{MagicLinkACHDetailsPage-BfKYEUuG-DguQEV0a.js → MagicLinkACHDetailsPage-DYDNDN_--CfETFAb1.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-CFQuFGEV-DAD1w4TT.js → MagicLinkDomesticWireDetailsPage-DQuuLyWQ-1Hg08lPo.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-BCyp3gND-DWNCHFBg.js → MagicLinkInternationalWireDetailsPage-CnUTecpU-CePRHOps.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-DVobyltE-C5Ml1Afs.js → MagicLinkSuccessPage-Dyhk5vnq-DqL0YIDt.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-C2kT2QNt-CNdQTDBW.js → MagicLinkTitleSection-CAwqT4_X-DiR04CmD.js} +1 -1
- package/dist/assets/{MailingDetailsSection-DUFIMEFw-BBRMfmnJ.js → MailingDetailsSection-Cpu-qwub-DVRGUTuN.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-Zcyrwwqh-Dc9YMkPA.js → MeetingCalenderPopup-B5M2lm-y-3o2gRW-j.js} +1 -1
- package/dist/assets/{Menu-DxxrCzV1-gFv-eZWn.js → Menu-D0NUi1FB-YWmFK_J2.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-DqpBaroQ-BuEl8iLy.js → MyBankConnectionsSettingsPage-SYlGHINJ-D_q0bDPS.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-BRBQ-D56-DYUvtEXv.js → MyPendingActivationChargeCardListPage-EBaDVcO8-DWWruauc.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-1KpIFCJp-BoygOCKn.js → MyProfileSettingsPage-a1LKde_U-B-2dtISH.js} +1 -1
- package/dist/assets/{NavBarWithPicker-CTn1eQHT-B1LTES71.js → NavBarWithPicker-D3YzfX06-B5-Ttkpq.js} +1 -1
- package/dist/assets/{NavigationArrow-B6h0SDdP-Y1jq_YX_.js → NavigationArrow-C81m-KZF-l3LUWA_R.js} +1 -1
- package/dist/assets/{NavigationDots-BzUjuHrF-BHvj9J2p.js → NavigationDots-CB3WQq54-Vldskk9V.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-Vv7Gn5oQ-BOUOhTlk.js → NewGlobalMerchantPage-BwuCbGQ_-ClFRyYGa.js} +1 -1
- package/dist/assets/{NoDataChart-T4586K3d-QluGmZeg.js → NoDataChart-B0CMrh6X-y7xNFTPm.js} +1 -1
- package/dist/assets/{NoDataTable-7SOJQOqT-BwnILKpD.js → NoDataTable-BgcSvfNz-B8UgcWMt.js} +1 -1
- package/dist/assets/{NotFoundPage-C7JGgj7V-Dq3YfoXj.js → NotFoundPage-BnPqLAwW-B4lghZn4.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-DYxOSsX7-BgcWm3OJ.js → NotificationSettingsPage-wigFcdhu-vy-nP7LS.js} +1 -1
- package/dist/assets/{NotificationsListConfig-DRx-9Yz6-Ce4vzpIo.js → NotificationsListConfig-D2ndsr4D-DM4ejkSe.js} +1 -1
- package/dist/assets/{NotificationsPage-CWCUtTy2-BupjE978.js → NotificationsPage-BC-f8rc3-7yuQcc5s.js} +1 -1
- package/dist/assets/{OpExByVendorPage-CcYVhhkB-DDdOxino.js → OpExByVendorPage-CIh1CcAU-qJCynb-Y.js} +1 -1
- package/dist/assets/{OverlayContainerPage-GWXnlbZH-C5zeOihl.js → OverlayContainerPage-GWXnlbZH-CAJiUNdH.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-B9DbC93o-_eh4ot8J.js → PandLWithForecastPage-Dj21XOWq-6pELxt5n.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-CCX-Pec--t2UZiNL0.js → PaymentAccountSetupBillingAddressSection-C0eGjv2q-Cu0V-kwW.js} +1 -1
- package/dist/assets/{PeoplePage-BiCeSvCZ-CHU6rnDX.js → PeoplePage-DHWuODjG-Pq5Jb5FY.js} +1 -1
- package/dist/assets/{PortfolioAllocationFormPage-BSvoK4qv-C2w8iakM.js → PortfolioAllocationFormPage-CYoVD723-B-VSgWfT.js} +1 -1
- package/dist/assets/{PortfolioDetails-pPKPD1a1-BdbwObm0.js → PortfolioDetails-5xc1wonC-BAeZ6WYz.js} +1 -1
- package/dist/assets/{ProductsCarousel-DR2qv1mK-L8s4NYfF.js → ProductsCarousel-DcSxZECS-DEnj1JWZ.js} +1 -1
- package/dist/assets/{PromoBaseCards-BnHveXZh-DEWVy6e9.js → PromoBaseCards-B-s9wF0Q-C1F62bpn.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-D8vq5tbS-Dab6soZ0.js → QBOConnectionDialog-CQlXDalh-D41g3YBn.js} +1 -1
- package/dist/assets/{QBOSetupSection-A1omZG46-CqcT2iQC.js → QBOSetupSection-Dpib3Rx5-Cl178Gzl.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-zd6wsvgN-AdLkkk9d.js → ReimbursementApprovalRuleDetailPage-CutUv2m2-WY3FiPdI.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-DmRH5taR-evM1EqsM.js → ReimbursementApprovalRulesPage-Cyye_Ayg-D6djPKh9.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-B1I-bvKz-COOjEuxS.js → ReimbursementDetailPage-C4Tsi1io-D7xNSc-Z.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-BUMZSzw5-oxZ_ycQA.js → ReimbursementPromoPage-4BFu3jYR-Cpj_0RjQ.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-C3k9-DjY-CNw321iC.js → ReimbursementSetUpPage-Cpl4wfuS-bOQsc45a.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CuSB32kj-CoL-12ss.js → ReimbursementsBulkReviewDrawerPage-iGaIl0hj-ByWQrboJ.js} +1 -1
- package/dist/assets/{ReloadCard-BsW5v4Z9-CUdTOVzf.js → ReloadCard-F-DEmw51-CyIUQ5A1.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-KU1rwaTS-7E_4CsFX.js → ReportTableViewSelector-BSPNRs-f-DQGy-EeN.js} +1 -1
- package/dist/assets/{ReportsPage-BIz5qsi--BjPDOabH.js → ReportsPage-BQF-yVRz-B8_CA5t6.js} +1 -1
- package/dist/assets/{RevenueChart-lzn4f31Q-MVF33ZDx.js → RevenueChart-ClRH1Vei-DyQxLBCO.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-BAHxvnIm-2R97IBmt.js → ReviewDetailsPage-BKfSEXv--DVAIAByb.js} +1 -1
- package/dist/assets/{ReviewOverlay-BS3Bb8UE-LO55TXM8.js → ReviewOverlay-Dgnr47GU-BR4bFQZ5.js} +1 -1
- package/dist/assets/{RoleWithToolTip-Bg5SMNk0-DlUtXuLe.js → RoleWithToolTip-Bcjjd_2M-BwYePEiA.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BV45Yp7u-DBDwcI5u.js → ScheduleDetailsFixedAssetsPage-Bq6XAACj-D3PtjElx.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-BImlVd01-DlI-9-SG.js → ScheduleDetailsPage-DTLTxgOx-B_v0b0ZL.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-1JyAvL7Q-DU-yBzu6.js → ScheduleSequenceTable-CEZL4GA8-2gj8oGSn.js} +1 -1
- package/dist/assets/{ScreenRoutes-DnrkRxDX.js → ScreenRoutes-Bjd9WUE9.js} +1 -1
- package/dist/assets/{SetUpAccountSection-BWj67_7V-BY4wualA.js → SetUpAccountSection-CJsY-S6w-DFvRMNS-.js} +1 -1
- package/dist/assets/{SetUpDefaultSection-CcTYu9KI-BE67r-Ge.js → SetUpDefaultSection-Dbzui0hL-DgmPb_eb.js} +1 -1
- package/dist/assets/{SignIn-C9Bis1UR-D34WcJ5T.js → SignIn-yFG7aeiJ-9NI597Q3.js} +1 -1
- package/dist/assets/{SignInScreen-wz5z0Nk2.js → SignInScreen-fi8j7ajy.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-CAqXkCNm-D_oO4dJU.js → SpendManagementListViewPage-cw0B29Ux-IBWIggY1.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-BH8fKe7l-B9D7r01O.js → SpendManagementPerTabPage-Bkw1eegW-DEu3PUyn.js} +1 -1
- package/dist/assets/{SpendManagementSection-C5TccKK--CVQu6w5N.js → SpendManagementSection-DuYMRljT-5VK3CJom.js} +1 -1
- package/dist/assets/{SpendMgmtSetupAccountSection-B_tGpehs-C13G2u3A.js → SpendMgmtSetupAccountSection-DF3XzW-2-DM5lmQVp.js} +1 -1
- package/dist/assets/{StatementItem-DG9w15d--RRq4REg8.js → StatementItem-DGX-Yd6i-apD-vT-Z.js} +1 -1
- package/dist/assets/{StatementsPage-BdN88QJJ-d3brFalJ.js → StatementsPage-BJ3A9NXT-eW57dBnC.js} +1 -1
- package/dist/assets/{StatusSwitcher-gNATihC3-C-o7lNI-.js → StatusSwitcher-Duc8UFd8-DR89v0rI.js} +1 -1
- package/dist/assets/{SubTabSwitcher-DAEoIU-Q-C-niCmiC.js → SubTabSwitcher-U04APwPI-ByK3d4eV.js} +1 -1
- package/dist/assets/{SummaryCard-OxWKTAi_-hNJY3gZm.js → SummaryCard-BPy7YF4F-BlgzbHmQ.js} +1 -1
- package/dist/assets/{TaskManagementPage-ucrH-SxY-DIYUY5ps.js → TaskManagementPage-CaPSMhTy-B_FogQNy.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-Ebmo9AYk-DN1fvxBa.js → TimeRangeSwitcher-DR2s6McL-Bd4-0Nxt.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-pPrxCjwR-D66U4eSK.js → TimeframeSwitcher-CR_Pithb-DXZcXjqp.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-ywAz9QoN-BUbMmc9Y.js → TimeframeSwitcherWithToggle-CxsK8B8h-MKstCMxH.js} +1 -1
- package/dist/assets/{TopExCard-DBn2NqIA-CVHGN5Cl.js → TopExCard-CykkX8Ny-BpkNf26X.js} +1 -1
- package/dist/assets/{TopExDetailPage-p64hNnnA-BlwErjQ0.js → TopExDetailPage-D9lST5M2-BH3jx1F5.js} +1 -1
- package/dist/assets/{TransactionDetailPage-CxAe72G9-CU73BzUi.js → TransactionDetailPage-CdEYjFbk-DsyJoIP9.js} +1 -1
- package/dist/assets/{TransactionList-yK7ZYEou-CPK5ow1f.js → TransactionList-Dybq00u0-BXF28aDD.js} +1 -1
- package/dist/assets/{TransactionListBig-D7aG1I33-1X_KgIVv.js → TransactionListBig-C08_BfqV-D6Q1VE_X.js} +1 -1
- package/dist/assets/{TransactionListPage-CRqs-wlv-DOS9yZFD.js → TransactionListPage-B1Yrd7M3-ITYl3V2H.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-CZTN0wW8-CG6HRg-A.js → TransactionVendorDetailPage-C4c-gk4U-DtCUPkDI.js} +1 -1
- package/dist/assets/{TransferDrawerPage-BrhFck8u-BeVpEpdW.js → TransferDrawerPage-R6BJFqqt-DaxCp2PU.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-BpV4pCSA-C281p1qd.js → TreasuryOverviewPage-BsLzvGJ9-J84QwhvQ.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-C6ZnQSpk-CYqZJQhB.js → TreasuryPromoPage-k4TR0X4_-CJYFJSJB.js} +1 -1
- package/dist/assets/{TreasurySetupPage-BmoVprJL-DaSPtSJl.js → TreasurySetupPage-xA9wkaxu-CK0UbTOW.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-Cm5_xU1n-C123kIcU.js → TreasuryStatementsPage-BeGMnFii-BTaJz6Ur.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-_rEGQMR3-Ck4ioaLU.js → TreasuryTaxLetterPage-D6xf_HNB-D4wojYti.js} +1 -1
- package/dist/assets/{TreasuryTransferOrReviewPage-DgiHAsBg-DEKgBWau.js → TreasuryTransferOrReviewPage-Cy90K2k1-Bhrl_iDh.js} +1 -1
- package/dist/assets/{TrendChart-xIdxctU8-VX-yReb8.js → TrendChart-CJ4ymPpY-CRRzaBld.js} +1 -1
- package/dist/assets/{TrendWithTransactions-BfLGuXQj-DKXwCJR7.js → TrendWithTransactions-B1FMv4RR-ChUN4shx.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-CDy9Ri0a-J2e6RPRE.js → UncategorizedAccountsMappingPage-MX9qLxmy-CiluJ24B.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-k2FVWXIc-jsb-UW_Z.js → UnitIntegrationPage-B1wIRNw1-CVcTooNC.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-BOA4AHm2-xdXtSUOm.js → UploadAdditionalDocumentOverlay-DiX5Dbc--BGaLR6hc.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-DWbOSde1-CIn7Mawv.js → Vendor2FAPopup-Cljy86Us-DXjV0e44.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-Dxa1YMIJ-Bignbe8A.js → VendorACHDetailsPage-BZG4bwOp-jh2vQyQm.js} +1 -1
- package/dist/assets/{VendorDetailPage-Iiwzh-ZT-BVXuEkoF.js → VendorDetailPage-B8m4FkG5-DfgwwjnN.js} +1 -1
- package/dist/assets/{VendorDomesticWireDetailsPage-CGJ4MlC8-CWb3Qc0o.js → VendorDomesticWireDetailsPage-D7Mt3s3R-Z8XslteE.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-B7871Mhw-Bj0jiayg.js → VendorFiling1099EditablePage-B1FNkNlL-BMywY9Fs.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-BkEdIBG_-CjcRvdQC.js → VendorFirstReviewPage-CDmMppJJ-D_TzCwlD.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-Kfagr169-jRMOV2if.js → VendorInternationalWireDetailsPage-X-j8j32p-Ccr-6IC8.js} +1 -1
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DOProal8-BGpw17ZD.js → VendorInternationalWireSwiftDetailsPage-eJXY7B89-D5ZjryiC.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-Dvq3DO8J-CzIklM5K.js → VendorsAccountsSection-DH0v9LaU-Nuf2omrd.js} +1 -1
- package/dist/assets/{WarningsDrawerPage-CT9Yu_kA-DYdKNIAr.js → WarningsDrawerPage-0XqR-WSe-DwIvPWAi.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-Bn-xkPN7-BsAraKtD.js → ZeniAccountDetailPage-poRKOvKO-DLO7qVLF.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-CrfoK_-S-CVNttUml.js → ZeniAccountListViewPage-DAwsHVFu-BFTLIRTF.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-CauNX8EE-CITfbmPn.js → ZeniAccountNavBarPieces-CK1z6uDE-Dx8IkqyL.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-BjvqNB1t-MPJ7O7Ay.js → ZeniAccountPromoPage-D_AeQXK0-BmsKPXvG.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-DSw_KPxq-CY17LgKe.js → ZeniAccountSetupPage-B5KmPY23-9lXbmgUa.js} +1 -1
- package/dist/assets/{ZeniCopyright-QA9RHYMK-K4iHoWJi.js → ZeniCopyright-DawBwguL-BaJFfLKQ.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-B4cUboEh-Csz834w3.js → ZeniTransferAmountSlider-BBQgQPfw-CrMPlaZB.js} +1 -1
- package/dist/assets/{analyticsHelper-CL93s-1C.js → analyticsHelper-CSTTcbjG.js} +1 -1
- package/dist/assets/{analyticsHelper-C4qmWpU5-CfuV4cN9.js → analyticsHelper-mARzqEfV-BMxvjyCP.js} +1 -1
- package/dist/assets/{chartTypes-voo0IDRB-CYGaQom1.js → chartTypes-CedtWDkU-cTNKZniI.js} +1 -1
- package/dist/assets/{commonDimensions-DlTnUSCm-DO5W9slZ.js → commonDimensions-ZxGdYNGR-CUt8Derw.js} +1 -1
- package/dist/assets/{detailCommon-D_Iv7bJI-DIDHl_8c.js → detailCommon-C0urnGcj-DiOtpfF1.js} +1 -1
- package/dist/assets/{downloadPdf-C3McD4L4-CDamigyg.js → downloadPdf-C1cvLEsi-Dk04IBab.js} +1 -1
- package/dist/assets/{index-4Vt70fVf.js → index-Bac0rl1Z.js} +3 -3
- package/dist/assets/{mapLoadingInProgressToTreeNode-DPFqqVtT-gXlUMh7k.js → mapLoadingInProgressToTreeNode-D9ofcMAJ-C2yg5vuU.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-B1YNY6Ry-Coc_OiI6.js → mapSectionWithAcOnlyToTreeNode-CAhuUnXV-CREi-s41.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-CiA7DvHN-B6UOcRIa.js → mapSpacerToTreeNode-BPXOBdsi-CZkOhrs-.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DaJ2Xi-V-BsJVghPD.js → mapTimeframeBalancesToTreeNode-BU0Ph9My-DACi2i5F.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-JmS044Zg-n00d47Hl.js → mapTimeframeBalancesToTreeNode-BYB1q7M0-DA6Wa0rz.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-DxwUIfBr-5lxS3Vma.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Bkav2l0W-DPWpD0Vt.js} +1 -1
- package/dist/assets/{play-icon-Bp64ZIEx-B2XW1StB.js → play-icon-BaaR5WkW-DL1x5IAn.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-B7LbirMG-Bc-9sy4D.js → toCOABalancesWithID-CCW7YVfm-Bs0ZA7KW.js} +1 -1
- package/dist/assets/{toChartData-CuB9yc-H-D5hI4s-u.js → toChartData-C3kVg0fD-BVd6kxYy.js} +1 -1
- package/dist/assets/{treasuryColorHelper-DyLAAeN7-rqV_AmOj.js → treasuryColorHelper-Cc1DTnhB-CSWgA_MM.js} +1 -1
- package/dist/assets/{uploadAttachment-NIRC4dWz-CPJCwR0y.js → uploadAttachment-C56u0Q20-DI9f2svy.js} +1 -1
- package/dist/assets/{uploadReceipts-D80JLNY4-DW6Z9ayE.js → uploadReceipts-D80JLNY4-ie9T0Rq7.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ChargeCardSetupPage-BADfRJlj-gyolcwRN.js +0 -36
- package/dist/assets/CustomerOnboardingContainerPage-L6Hnku03-COKiVoOG.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as te,fj as ie,u as fe,w as ge,fk as be,a as xe,H as ye,l as z,c4 as we,c3 as Pe,M as re,j as l,fl as ve,aV as $e,F as De,a3 as Se,o as s,fm as ne,fn as de,fo as ce,b_ as ue,C as L,e as me,p as je,Q as Oe,S as le,cf as Re,c6 as Ce,fp as q,cc as Le,ca as Te,fq as Ve,ae as Ie,m as E}from"./index-
|
|
1
|
+
import{X as te,fj as ie,u as fe,w as ge,fk as be,a as xe,H as ye,l as z,c4 as we,c3 as Pe,M as re,j as l,fl as ve,aV as $e,F as De,a3 as Se,o as s,fm as ne,fn as de,fo as ce,b_ as ue,C as L,e as me,p as je,Q as Oe,S as le,cf as Re,c6 as Ce,fp as q,cc as Le,ca as Te,fq as Ve,ae as Ie,m as E}from"./index-Bac0rl1Z.js";import{b as v,n as m}from"./vendor-CnQcJ2Lu.js";import{W as ke}from"./LabeledAddressValueField-D5zB7wnP-D9_x4rj6.js";import{X as Be}from"./LabeledUserSingleSelectWithSubtitlesField-rBaXx4JB-BoxuQpFr.js";import{C as Fe,j as ze}from"./LabeledZeniRolesDropDownField-DI9XLkn7-BEClY3V7.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./RoleWithToolTip-Bcjjd_2M-BwYePEiA.js";const b=(e,i)=>`${e}.${i}`,F={largeLabelWidth:new L(120,120,160),textFieldPaddingHorizontal:new L(E[2],E[3]),toolTipWidth:new L(215,237),notePadding:new L(E[3],E[4]),noteGap:new L(E[0],6)},{peoplePage:a,common:{settings:se,labels:X,placeholder:B,errorMessage:Ae},dateFormat:Ne}=re.getLocalizedStrings(),Me=({myProfileView:e,isZeniFinopsRolesUser:i,sectionId:t,isDisabled:u,isReimbursementDisabled:x,isZeniAccountsDisabled:p,isChargeCardDisabled:o,isBankingOnlyTenant:f,isCardsOnlyTenant:$,isLiteRoleDisabled:T,isTreasuryDisabled:h,onAddressClick:y})=>{const n=te(),{person:r,managersList:A,classList:N,manager:G,department:g,controllersList:M,myProfileLocalData:W,addressData:H}=e,Q=e.person.user?.birthday!=null?"readonly":void 0,D=F.largeLabelWidth.value(n),V=F.largeLabelWidth.value(n),J=v.useMemo(()=>ie(x,p,o,f,$,T,h),[x,p,o,f,$,T,h]),{firstController:w,restControllerEmailsStr:S}=v.useMemo(()=>{const c=le(M),j=c.splice(0,1),O=c.reduce((I,k)=>I.concat(`${k.email},`),"");return{firstController:j,restControllerEmailsStr:O}},[M]),K=v.useMemo(()=>le(ue.roles),[]),d=z.hasInvestorBankerLevelAccess(r.userRole!=null?r.userRole.userRoles:[]),Z=v.useMemo(()=>N.map(c=>({label:c.fullyQualifiedAccountingClassName,value:c.classId,hoverText:c.accountingClassNumber})),[N]);return l.jsxs(Ue,{windowSize:n,children:[l.jsx(Re,{isDisabled:u,label:{label:X.name,width:V},nameField:{name:b(t,"name"),placeHolder:{firstName:B.firstNamePlaceholder,lastName:B.lastNamePlaceholder,name:B.namePlaceholder},showFullNameError:!0},errorInfoLabel:Ae.nameError.replace("_product_type_",se.common.productTypeString)}),l.jsx(C,{}),l.jsx(Ce,{isDisabled:u,showAdditionalInfoLabel:!1,label:{label:a.invitePage.email,width:D},text:{type:"text",name:b(t,"email"),placeholder:q(a.addPlaceholderPrefix,a.invitePage.email),style:{padding:`${s.sp0} ${F.textFieldPaddingHorizontal.valuePx(n)}`}}}),l.jsx(C,{}),l.jsx(Le,{label:{label:X.dateOfBirth,width:V},style:{width:"auto"},isDisabled:Q,dateField:{name:b(t,"dateOfBirth"),placeholder:B.datePlaceholder,defaultValue:W.dateOfBirth,dateFormat:Ne.visual.defaultInput,autoComplete:"off",maxDate:z.dateNow().subtract(18,"year")}}),l.jsx(C,{}),l.jsx(ke,{label:{label:X.mailingAddress,width:V},addressValueField:{name:b(t,"mailingAddress"),placeholder:B.addressPlaceholder,defaultValue:H?.addressToCreate,onClick:()=>{y("user_address")}},showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${s.sp2} ${s.sp2} ${s.sp2} ${s.sp0}`}}),l.jsx(C,{}),l.jsx(Te,{label:{label:X.phone,width:V},text:{name:b(t,"phone"),placeholder:B.phonePlaceholder,defaultValue:W.phone,autoComplete:"off"},showVerified:W.isPhoneVerified,style:{width:"auto"}}),l.jsx(C,{}),i?l.jsx(Fe,{label:{label:a.invitePage.role,width:D},zeniRolesDropDownField:{name:b(t,"role"),defaultValue:{selectedOptions:r.userRole!=null?r.userRole.userRoles:[],allOptions:K},registerOptions:{required:!0},placeholderLabel:q(a.selectPlaceholderPrefix,a.invitePage.role),isMulti:!0,forZeniUser:!0},isDisabled:"readonly"}):l.jsxs(l.Fragment,{children:[l.jsx(ze,{label:{label:a.invitePage.role,width:D},rolesDropDownField:{name:b(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(r.userRole?.userRoles??[]),allRootRole:de(f,$)},productsByUserRole:ne(r.userRole?.userRoles??[],J)},registerOptions:{required:!0}},isDisabled:u}),l.jsx(C,{}),l.jsx(Be,{label:{label:a.invitePage.manager,width:D},showTooltip:!0,toolTipWidth:F.toolTipWidth.valuePx(n),tooltipTitle:l.jsx(We,{}),userSingleSelectWithSubTitlesField:{name:b(t,"manager"),value:{allUsers:d?[]:A,selectedUser:d?void 0:G?.userId},valueToSubtitle:c=>{const j=A.findIndex(O=>O.userId===c);if(j!==-1){const O=A[j],I=N.find(Y=>Y.classId===O.userRole.accountingClassIDs[0]),k=[];return I!=null&&k.push(I.className),k}else return[]},placeholderLabel:d?a.notApplicable:q(a.selectPlaceholderPrefix,a.invitePage.manager),registerOptions:{required:!d},showOneOffLabel:{label:se.label.noManager,value:"no_manager",position:"top",subtitles:[]}},isDisabled:"readonly",opacity:d?.32:1}),l.jsx(C,{}),l.jsx(Ve,{label:{label:a.invitePage.department,width:D},singleSelectWithoutClearableField:{name:b(t,"department"),defaultValue:{allOptions:d?[]:Z,selectedOption:d?void 0:Z.find(c=>c.value===g?.classId)},placeholder:d?a.notApplicable:q(a.selectPlaceholderPrefix,a.invitePage.department),registerOptions:{required:!d},isDisabled:u,showOptionOnHover:!0},isDisabled:u,opacity:d?.32:1}),i?null:l.jsxs(Ee,{windowSize:n,children:[a.invitePage.controllerText,w[0]?l.jsxs(Ze,{href:`mailto:${w[0].email}?cc=${S}&subject=${encodeURIComponent(a.invitePage.emailSubject)}`,children:[l.jsx(_e,{children:`${w[0].firstName} ${w[0].lastName}`}),l.jsx(Ie,{className:"arrowIcon"})]}):null]})]})]})},We=()=>a.invitePage.managerTooltipText,Ue=m.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey5};
|
package/dist/assets/{NavBarWithPicker-CTn1eQHT-B1LTES71.js → NavBarWithPicker-D3YzfX06-B5-Ttkpq.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as p,X as m,j as o,Y as u,bs as g,M as x,o as t,aZ as b,eK as k,bo as y,bl as C,p as v}from"./index-
|
|
1
|
+
import{u as p,X as m,j as o,Y as u,bs as g,M as x,o as t,aZ as b,eK as k,bo as y,bl as C,p as v}from"./index-Bac0rl1Z.js";import{n as l}from"./vendor-CnQcJ2Lu.js";const j=l.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
flex: 1 1 auto;
|
package/dist/assets/{NavigationArrow-B6h0SDdP-Y1jq_YX_.js → NavigationArrow-C81m-KZF-l3LUWA_R.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as e,o as r,ae as i,bo as h}from"./index-
|
|
1
|
+
import{j as e,o as r,ae as i,bo as h}from"./index-Bac0rl1Z.js";import{j as l,n as t}from"./vendor-CnQcJ2Lu.js";const c=l`
|
|
2
2
|
border-left-style: none;
|
|
3
3
|
margin-left: -${r.sp3};
|
|
4
4
|
border-top-right-radius: ${r.sp2};
|
package/dist/assets/{NavigationDots-BzUjuHrF-BHvj9J2p.js → NavigationDots-CB3WQq54-Vldskk9V.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as e,Y as p,o as t}from"./index-
|
|
1
|
+
import{j as e,Y as p,o as t}from"./index-Bac0rl1Z.js";import{n as l}from"./vendor-CnQcJ2Lu.js";const v=l.div`
|
|
2
2
|
text-align: center;
|
|
3
3
|
cursor: pointer;
|
|
4
4
|
`,C=l.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as z,a as Q,c3 as A,a1 as X,j as t,M as C,F as Y,a3 as Z,C as i,o as a,a2 as ee,Q as q,h as te,gh as ae,s as le,cg as O,hC as ne,c8 as U,c6 as oe,m as l,an as re,co as ie,cm as de,cA as se,c as ce,eo as me,dg as he,az as be,g as V}from"./index-
|
|
1
|
+
import{X as z,a as Q,c3 as A,a1 as X,j as t,M as C,F as Y,a3 as Z,C as i,o as a,a2 as ee,Q as q,h as te,gh as ae,s as le,cg as O,hC as ne,c8 as U,c6 as oe,m as l,an as re,co as ie,cm as de,cA as se,c as ce,eo as me,dg as he,az as be,g as V}from"./index-Bac0rl1Z.js";import{b as j,n as o,j as ge}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const w={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])},ue={infoLabel:new q("smallRegular","standardRegular")},pe=C.getLocalizedStrings();function we({label:e,textField:n,additionalInfo:h,checkBoxFields:m,fetchState:g,style:v,toolTip:M,isOptionalLabel:y}){const s=z(),{formState:{errors:d}}=O(),$=ie(d,n.name);return t.jsxs(xe,{windowSize:s,style:v,isDisabled:n.isDisabled!=null,isError:$,children:[t.jsx(de,{isDisabled:n.isDisabled,label:e.label,style:{marginLeft:w.labelMarginLeft.value(s),marginRight:w.labelMarginRight.value(s),marginTop:w.labelMarginTop.value(s),width:e.width??"auto"},showTooltip:M!=null,tooltipTitle:M?.title,toolTipWidth:M?.width,isOptional:y}),t.jsxs(fe,{labelWidth:e.width,children:[t.jsx(se,{...n,style:{...n.style,display:"flex",flexGrow:1,width:"-webkit-fill-available",height:w.controlHeight.value(s),cursor:"inherit"}}),g?.fetchState==="In-Progress"?t.jsx($e,{children:t.jsx(ce,{size:"Standard",start:!0})}):t.jsxs(Se,{children:[t.jsxs(Me,{windowSize:s,isRecommendationVisible:m.length>0,isError:$,children:[h.icon,h.label]}),m.length>0?m.map((u,p)=>t.jsxs(t.Fragment,{children:[t.jsx(me,{isHighlighted:!0,label:{label:u.label},checkBoxField:u.field,defaultChecked:u.field.defaultChecked,isDisabled:u.field.isDisabled!=null},he()),p<m.length-1?t.jsx(ve,{children:pe.common.texts.or}):null]})):null]})]})]})}const xe=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
align-items: flex-start;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as l,j as t,g as r,o as a,s,C as m,u as o}from"./index-
|
|
1
|
+
import{X as l,j as t,g as r,o as a,s,C as m,u as o}from"./index-Bac0rl1Z.js";import{n as i,b as h}from"./vendor-CnQcJ2Lu.js";const v=e=>h.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.createElement("path",{fill:"#3E4043",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),h.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=>h.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},h.createElement("path",{fill:"#E9ECF0",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),h.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 m(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,o as t,u as s}from"./index-
|
|
1
|
+
import{j as e,o as t,u as s}from"./index-Bac0rl1Z.js";import{n as i}from"./vendor-CnQcJ2Lu.js";import{r as n,o}from"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const r=i.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,M as i,bB as s,c0 as l,s as c,g as a,e as d}from"./index-
|
|
1
|
+
import{j as o,M as i,bB as s,c0 as l,s as c,g as a,e as d}from"./index-Bac0rl1Z.js";import{n as t}from"./vendor-CnQcJ2Lu.js";import{i as h}from"./ZeniCopyright-DawBwguL-BaJFfLKQ.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const g=t.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
height: 100vh;
|
|
4
4
|
position: relative;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t,fy as ne,o as i,be as se,M as I,a5 as re,u as W,X,a as le,c3 as ae,l as P,aV as ce,F as de,T as w,a3 as pe,C as T,f3 as me,fz as ue,eB as he,fA as fe,fB as ge,ae as xe,m as S,an as J,v as K,s as Q,e as $e}from"./index-
|
|
1
|
+
import{j as t,fy as ne,o as i,be as se,M as I,a5 as re,u as W,X,a as le,c3 as ae,l as P,aV as ce,F as de,T as w,a3 as pe,C as T,f3 as me,fz as ue,eB as he,fA as fe,fB as ge,ae as xe,m as S,an as J,v as K,s as Q,e as $e}from"./index-Bac0rl1Z.js";import{n as o,b as E}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const{common:ye}=I.getLocalizedStrings(),U={notePadding:new T(S[3],S[4]),noteGap:new T(S[0],6)},M=(e,n)=>`${e}.${n}`,be=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
row-gap: ${i.sp3};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,m as a}from"./index-
|
|
1
|
+
import{p as e,m as a}from"./index-Bac0rl1Z.js";const r=a[5],o=59,s=a[5],i=e.standardRegular.lineHeightValue,l=1,m=1e3;export{i as A,s as E,l as I,m as L,o as a,r as t};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as X,X as v,a as Zt,M as P,c3 as Kt,j as t,aV as Xt,l as g,F as Qt,a3 as ei,o as i,T as we,gm as ti,C as R,hu as ii,p as Ne,c as oi,z as et,bL as tt,ai as it,di as ot,bT as st,jd as at,m as w,K as si,je as ai,dg as ce,ad as ri,Q as ni,h as rt,g as S,v as li,bf as z,cg as ue,fz as he,jf as pe,w as nt,d2 as lt,dq as V,cZ as dt,fI as di,s as Q,hI as ci,e as H,eY as ui,a7 as ye,ao as fe,jg as hi,bc as ct,jh as Ie,aP as pi}from"./index-
|
|
1
|
+
import{u as X,X as v,a as Zt,M as P,c3 as Kt,j as t,aV as Xt,l as g,F as Qt,a3 as ei,o as i,T as we,gm as ti,C as R,hu as ii,p as Ne,c as oi,z as et,bL as tt,ai as it,di as ot,bT as st,jd as at,m as w,K as si,je as ai,dg as ce,ad as ri,Q as ni,h as rt,g as S,v as li,bf as z,cg as ue,fz as he,jf as pe,w as nt,d2 as lt,dq as V,cZ as dt,fI as di,s as Q,hI as ci,e as H,eY as ui,a7 as ye,ao as fe,jg as hi,bc as ct,jh as Ie,aP as pi}from"./index-Bac0rl1Z.js";import{b as x,n as r,j as O}from"./vendor-CnQcJ2Lu.js";import{k as fi}from"./SubTabSwitcher-U04APwPI-ByK3d4eV.js";import{d as ut}from"./useLongPress-GCK2COYQ-gxLtL5O4.js";import{A as ht,t as pt,a as ft,E as mt,L as gt,I as xt}from"./NotificationsListConfig-D2ndsr4D-DM4ejkSe.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";function mi({tabs:e,selectedTab:o,subTabs:s,selectedSubTab:a,subTabRightComponent:n,tabStyle:l,subTabStyle:c,onTabChange:d,onSubTabChange:u}){const h=v(),f=X(),m=x.useCallback(b=>{d(b.id)},[d]),p=x.useCallback(b=>{u(b.id)},[u]);return e.length===0?null:t.jsxs(gi,{windowSize:h,children:[t.jsx(ii,{allTabs:e,selectedTab:o,containerStyle:{...l,borderBottom:`1px solid ${f.colors.grey3}`},onTabChange:m}),t.jsx(fi,{allTabs:s,selectedTab:a,containerStyle:{...c},rightComponent:n,onTabChange:p})]})}const gi=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
package/dist/assets/{OpExByVendorPage-CcYVhhkB-DDdOxino.js → OpExByVendorPage-CIh1CcAU-qJCynb-Y.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as H,ht as ye,M as B,u as q,z as be,j as t,Y as _e,be as Se,hs as ke,aX as we,aV as ve,hu as Be,hv as Oe,o as u,a5 as Pe,c as $e,C as F,ai as le,H as ie,a7 as je,m as O,a_ as Te,bE as De,bF as Ne,bG as Ee,g as a,s as ce,bb as Ie,b6 as Me,au as Ae,p as Z,at as Le,aa as Fe,b7 as Ve,b9 as ze,l as Re}from"./index-
|
|
1
|
+
import{X as H,ht as ye,M as B,u as q,z as be,j as t,Y as _e,be as Se,hs as ke,aX as we,aV as ve,hu as Be,hv as Oe,o as u,a5 as Pe,c as $e,C as F,ai as le,H as ie,a7 as je,m as O,a_ as Te,bE as De,bF as Ne,bG as Ee,g as a,s as ce,bb as Ie,b6 as Me,au as Ae,p as Z,at as Le,aa as Fe,b7 as Ve,b9 as ze,l as Re}from"./index-Bac0rl1Z.js";import{b as y,n as m,f as We}from"./vendor-CnQcJ2Lu.js";import{p as Ke,d as Ye,y as G,b as de,u as ee}from"./chartTypes-CedtWDkU-cTNKZniI.js";import{V as Ge}from"./toChartData-C3kVg0fD-BVd6kxYy.js";import{m as V}from"./analyticsHelper-mARzqEfV-BMxvjyCP.js";import{p as He}from"./TimeRangeSwitcher-DR2s6McL-Bd4-0Nxt.js";import{M as qe}from"./TimeframeSwitcherWithToggle-CxsK8B8h-MKstCMxH.js";import{C as Xe}from"./NoDataChart-B0CMrh6X-y7xNFTPm.js";import{d as Je}from"./NoDataTable-BgcSvfNz-B8UgcWMt.js";import{H as Ue,k as oe}from"./detailCommon-C0urnGcj-DiOtpfF1.js";import{n as z}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{R as Qe,W as X}from"./CollapsableReportTable-CWIVhYku-Di1SJf6r.js";import{o as pe}from"./mapTimeframeBalancesToTreeNode-BYB1q7M0-DA6Wa0rz.js";import{d as re}from"./mapLoadingInProgressToTreeNode-D9ofcMAJ-C2yg5vuU.js";import{l as Ze}from"./mapSpacerToTreeNode-BPXOBdsi-CZkOhrs-.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./TimeframeSwitcher-CR_Pithb-DXZcXjqp.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";import"./AccountRow-DAc1wwY9-DEIj0_IL.js";const eo=m.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
`,oo=m.div`
|
|
4
4
|
flex: display;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as i,j as r}from"./index-
|
|
1
|
+
import{u as i,j as r}from"./index-Bac0rl1Z.js";import{n}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.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,D as M,u as T,X as v,Y as A,aV as re,M as c,K as ie,c as ae,C as D,p as ce,o as s,H as le,a7 as de,c0 as ge,c1 as pe,aS as me,m as P,l as Y,a_ as he,c2 as ue,a5 as fe,a6 as xe,ao as we}from"./index-
|
|
1
|
+
import{j as o,D as M,u as T,X as v,Y as A,aV as re,M as c,K as ie,c as ae,C as D,p as ce,o as s,H as le,a7 as de,c0 as ge,c1 as pe,aS as me,m as P,l as Y,a_ as he,c2 as ue,a5 as fe,a6 as xe,ao as we}from"./index-Bac0rl1Z.js";import{n as r,b as F}from"./vendor-CnQcJ2Lu.js";import{L as Se}from"./NavBarWithPicker-D3YzfX06-B5-Ttkpq.js";import{m as je}from"./analyticsHelper-mARzqEfV-BMxvjyCP.js";import{M as $e}from"./TimeframeSwitcherWithToggle-CxsK8B8h-MKstCMxH.js";import{R as Ce,a as Pe}from"./CollapsableReportTable-CWIVhYku-Di1SJf6r.js";import{M as E}from"./usp-line-BBd1wKwW-CgKq8-Xn.js";import{T as be,I as ke,L as ye}from"./mapSectionWithAcOnlyToTreeNode-CAhuUnXV-CREi-s41.js";import{s as H}from"./mapTimeframeBalancesToTreeNode-BU0Ph9My-DACi2i5F.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./TimeframeSwitcher-CR_Pithb-DXZcXjqp.js";import"./AccountRow-DAc1wwY9-DEIj0_IL.js";const K="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual.png",q="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual-dark.png",ze=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
min-height: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{eM as Q,M as Z,h2 as de,a1 as le,p as B,o as a,g as z,X as J,j as t,bz as pe,h3 as me,u as re,cg as ge,a7 as W,C as F,aQ as he,eW as ue,s as ie,h4 as fe,h5 as Se,h6 as q,h7 as G,h8 as X,a3 as ye,i as Y,m as xe,gf as be,e as Ce,Q as ve}from"./index-
|
|
1
|
+
import{eM as Q,M as Z,h2 as de,a1 as le,p as B,o as a,g as z,X as J,j as t,bz as pe,h3 as me,u as re,cg as ge,a7 as W,C as F,aQ as he,eW as ue,s as ie,h4 as fe,h5 as Se,h6 as q,h7 as G,h8 as X,a3 as ye,i as Y,m as xe,gf as be,e as Ce,Q as ve}from"./index-Bac0rl1Z.js";import{b as p,n as o}from"./vendor-CnQcJ2Lu.js";import{O as we}from"./SetUpAccountSection-CJsY-S6w-DFvRMNS-.js";const Pe={containerHeight:new F(656,720)},$e=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
gap: 20px;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as $e,X as I,M as y,j as t,Y as a,aV as le,be as Ne,o as s,bK as De,bL as Oe,c as U,a5 as J,bM as we,K as Le,p as be,bN as _e,a1 as Ae,bO as Ve,bP as Me,bQ as We,bR as Be,ai as He,H,bS as Ke,C as $,bT as Ue,bU as je,m as b,l as A,bV as ee,bD as N,a as Ee,F as Fe,bW as Ze,bX as qe,S as Xe,v as D,bY as Ge,s as O,e as te,g as V,bZ as Qe,bH as Se,ao as ie,b_ as ke,bc as Ye,b$ as Je}from"./index-
|
|
1
|
+
import{u as $e,X as I,M as y,j as t,Y as a,aV as le,be as Ne,o as s,bK as De,bL as Oe,c as U,a5 as J,bM as we,K as Le,p as be,bN as _e,a1 as Ae,bO as Ve,bP as Me,bQ as We,bR as Be,ai as He,H,bS as Ke,C as $,bT as Ue,bU as je,m as b,l as A,bV as ee,bD as N,a as Ee,F as Fe,bW as Ze,bX as qe,S as Xe,v as D,bY as Ge,s as O,e as te,g as V,bZ as Qe,bH as Se,ao as ie,b_ as ke,bc as Ye,b$ as Je}from"./index-Bac0rl1Z.js";import{f as ce,b as v,n as i}from"./vendor-CnQcJ2Lu.js";import{R as Ie}from"./Menu-D0NUi1FB-YWmFK_J2.js";import{T as Ce}from"./RoleWithToolTip-Bcjjd_2M-BwYePEiA.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.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)}],K=[{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)}],et=58;function tt({userNameSticky:e,sortConfig:r,onColumnSortConfigChanged:l,mode:d}){const m=I(),[p,x]=v.useState(Xe(d==="off"?S:K));v.useEffect(()=>{const n=[...p];for(const o of n)o.key===r.sortKey?o.sortOrder=r.sortOrder:o.sortOrder="ascending";x(n)},[r.sortKey,r.sortOrder]);const h=(n,o)=>{let u=o;r.sortKey===n&&(u=o==="ascending"?"descending":"ascending"),l?.(n,u)};return t.jsx(ot,{height:et,"data-testid":a("people-list-header-row"),children:p.map(n=>t.jsxs(rt,{userNameSticky:!!e&&n.key==="name",sortDataValue:r.sortKey,actualDataValue:n.key,wrapperWidth:n.width,windowSize:m,children:[t.jsxs(at,{"data-testid":a("people-list-header",n.key),onClick:()=>h(n.key,n.sortOrder),children:[t.jsx(D,{children:n.value}),t.jsx(st,{sortDataValue:r.sortKey,headerdata:n,children:t.jsx(Ge,{width:12,height:12})})]}),t.jsx(nt,{isVisible:r.sortKey===n.key&&n.key!=="name",children:t.jsx(lt,{"data-testid":a("people-list-header-sort-cancel",n.key),onClick:()=>h("name","ascending")})})]},n.key))})}const it=ce.memo(tt),st=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)"};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as Y,H as S,j as i,bs as Q,M as U,Y as q,C as u,a3 as K,o as n,a2 as V,Q as X,h as J,s as Z,m as l,p as _,al as ee,e as T,g as v,v as ie,bH as te}from"./index-
|
|
1
|
+
import{X as Y,H as S,j as i,bs as Q,M as U,Y as q,C as u,a3 as K,o as n,a2 as V,Q as X,h as J,s as Z,m as l,p as _,al as ee,e as T,g as v,v as ie,bH as te}from"./index-Bac0rl1Z.js";import{b as k,n as t}from"./vendor-CnQcJ2Lu.js";import{E as ne}from"./PortfolioDetails-5xc1wonC-BAeZ6WYz.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./treasuryColorHelper-Cc1DTnhB-CSWgA_MM.js";const{spendManagement:{treasury:{portfolioAllocation:x}},common:m}=U.getLocalizedStrings(),a={titleWidth:new u(343,580,726,826),cardBorderRadius:l[2],cardPadding:new u(l[3],l[4]),sliderWidth:new u(143,177),sliderContainerGap:new u(l[5],l[3]),navBarContainerPaddingYaxis:new u(10,l[3]),containerPaddingLeft:new u(l[3],l[6],l[8]),containerPaddingRight:new u(l[3],l[6],l[8]),riskLevelInfoPaddingRight:new u(l[0],l[3])},oe={stepTitle:new X("h6Regular","h5Regular")},Me=({onBackClick:e,onNextClick:g,onUpdateFundAllocation:h,treasurySetupView:W,isReadOnly:c,isEditMode:p,isOnSetup:$=!1})=>{const r=Y(),[D,M]=k.useState(!1),{fundsData:N,fundAllocationOptions:s,fundAllocationLocalData:d,currentAllocation:w,portfolioAllocationUpdateStatus:F}=W;k.useEffect(()=>{if(p&&w!==null){const o=!S(d.allocation,w);M(o)}},[p,w,d]);const y=o=>{const f=s.find(H=>H.optionIndex===o);f&&h(f)},b=()=>{y(s.findIndex(o=>o.riskScore===0||o.riskLevel==="Conservative"))},G=()=>{let o;w!=null&&(o=s.find(f=>S(f.allocation,w))),o!=null?h(o):b()},j=()=>{p&&G(),e()};return i.jsxs(se,{children:[i.jsxs(de,{windowSize:r,children:[i.jsx(ae,{windowSize:r,children:i.jsx(Q,{title:m.navBar.back,enterTouchDelay:600,placement:"bottom",children:i.jsx(ce,{"data-testid":q("nav-bar-back-portfolio-allocation"),onClick:j})})}),i.jsxs(pe,{windowSize:r,children:[i.jsxs(xe,{windowSize:r,children:[i.jsx(he,{windowSize:r,children:re(c,$,p)}),!c&&!p&&i.jsx(ue,{children:i.jsxs(me,{children:[i.jsx(ge,{}),i.jsx(we,{})]})})]}),i.jsx(fe,{isReadOnly:c,children:le(c,$,p)}),i.jsx($e,{children:i.jsxs(ye,{windowSize:r,children:[i.jsx(ve,{children:i.jsx(ne,{isInReview:!1,isSetup:!0,fundDetails:N,allocation:d,page:$?"setup portfolio":"edit portfolio"})}),i.jsxs(be,{windowSize:r,children:[i.jsx(je,{children:i.jsx(Se,{onClick:b,isRecommended:c||d.riskScore===0||d.riskLevel==="Conservative",children:x.resetButton})}),r==="small"?i.jsxs(ke,{children:[i.jsxs(R,{windowSize:r,children:[i.jsxs(z,{windowSize:r,children:[i.jsx(P,{children:d.riskScore}),i.jsx(C,{children:m.strings.slash}),i.jsx(O,{children:s.length>0?Math.max(...s.map(o=>o.riskScore)):0})]}),i.jsxs(L,{children:[i.jsx(B,{type:"range",min:"0",max:s.length-1,step:"1",value:d.optionIndex,onChange:o=>y(Number(o.target.value)),disabled:c,isReadOnly:c,windowSize:r}),i.jsx(I,{style:{width:`${s.length>1?d.optionIndex/(s.length-1)*(a.sliderWidth.value(r)-12):0}px`}})]})]}),i.jsxs(Re,{children:[i.jsx(A,{children:x.riskLevelLabel}),i.jsx(E,{children:d.riskLevel})]})]}):i.jsxs(i.Fragment,{children:[i.jsxs(R,{windowSize:r,children:[i.jsxs(z,{windowSize:r,children:[i.jsx(P,{children:d.riskScore}),i.jsx(C,{children:m.strings.slash}),i.jsx(O,{children:s.length>0?Math.max(...s.map(o=>o.riskScore)):0})]}),i.jsxs(L,{children:[i.jsx(B,{type:"range",min:"0",max:s.length-1,step:"1",value:d.optionIndex,onChange:o=>y(Number(o.target.value)),disabled:c,isReadOnly:c,windowSize:r}),i.jsx(I,{style:{width:`${s.length>1?d.optionIndex/(s.length-1)*(a.sliderWidth.value(r)-12):0}px`}})]})]}),i.jsxs(ze,{windowSize:r,children:[i.jsx(A,{children:x.riskLevelLabel}),i.jsx(E,{children:d.riskLevel})]})]})]})]})})]})]}),c?null:i.jsx(K,{style:{zIndex:4,paddingTop:n.sp2,paddingBottom:n.sp2},showCancel:!0,cancelBtn:{label:p?m.cancel:m.navBar.back,onClick:j},primaryBtn:{label:p?m.confirm:m.next,onClick:g,isLoading:p&&F.fetchState==="In-Progress",isDisabled:p&&!D}})]})};function re(e,g,h){return e||g&&h?x.title:h?x.editTitle:x.stepTitle}function le(e,g,h){return e||g&&h?x.subtextReadOnly:h?x.subtextEdit:x.subtextSetup}const se=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
height: 100%;
|
package/dist/assets/{PortfolioDetails-pPKPD1a1-BdbwObm0.js → PortfolioDetails-5xc1wonC-BAeZ6WYz.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as e,M as H,o as l,iB as V,s as U,d2 as X,u as G,X as K,_ as W,C as O,bs as f,g as T,bH as _,v as A,dp as Q,ae as Z,al as ee,b4 as ie,bc as se,e as le,d4 as ne,m as oe}from"./index-
|
|
1
|
+
import{j as e,M as H,o as l,iB as V,s as U,d2 as X,u as G,X as K,_ as W,C as O,bs as f,g as T,bH as _,v as A,dp as Q,ae as Z,al as ee,b4 as ie,bc as se,e as le,d4 as ne,m as oe}from"./index-Bac0rl1Z.js";import{n as s,b as te}from"./vendor-CnQcJ2Lu.js";import{l as re}from"./treasuryColorHelper-Cc1DTnhB-CSWgA_MM.js";const{common:r,spendManagement:{treasury:o},dateFormat:ae}=H.getLocalizedStrings(),w={portfolioYieldMarginTop:new O(-4,oe[0]),sliderWidth:new O(143,177)},Be=({isInReview:i,isSetup:n,fundDetails:m,allocation:d,amount:g,page:v})=>{const h=de(m);return e.jsxs(me,{children:[!n&&e.jsx(xe,{style:{alignSelf:"flex-start",padding:`${l.sp2} ${l.sp0}`},children:`${o.portfolioAllocation.title}`}),h.map((a,x)=>e.jsx(ce,{portfolio:a,fund:m[x],fundIndex:x,allocationPercentage:d.allocation?.[m[x].fundCode]||0,isInReview:i,isSetup:n,isLast:x===h.length-1,amount:g,page:v},m[x]?.fundCode||x))]})},de=i=>i.map(n=>[{label:o.promoPage.liquidity,value:n.liquidityTimeline||r.strings.hyphen},{label:o.promoPage.fundSize,value:V(n.fundSize,n.currencyCode)},{label:o.promoPage.maturity,value:`${n.maturity} ${r.timeStrings.days}`},{label:o.promoPage.expenseRatio,value:`${n.expenseRatio}${o.promoPage.expenseRatioSuffix}`},{label:o.promoPage.riskRating,value:n.riskRating||r.strings.hyphen},{label:o.promoPage.composition,value:Array.isArray(n.compositions)&&n.compositions.length>0?`${n.compositions[0].investedIn} ${n.compositions[0].percentage}${r.strings.percentage}`:r.strings.hyphen,tag:Array.isArray(n.compositions)&&n.compositions.length>1?`+${n.compositions.length-1}`:void 0,compositions:n.compositions??[]}]),ce=({portfolio:i,fund:n,fundIndex:m,allocationPercentage:d,isInReview:g,isSetup:v,isLast:h,amount:a,page:x})=>{const q=X().analytics,Y=G(),t=K(),j=a!=null&&a.amount>0&&d>0?a.amount*d/100:void 0,[p,J]=te.useState(!1),u=re(m,Y),$=()=>{p||q.trackTreasuryProspectusClick(n.fundName,n.fundCode,x),J(c=>!c)};return e.jsxs(e.Fragment,{children:[e.jsx(pe,{children:e.jsxs(he,{windowSize:t,children:[e.jsxs(ge,{windowSize:t,children:[e.jsxs(ue,{windowSize:t,children:[e.jsxs(fe,{isInReview:g,windowSize:t,children:[e.jsx(ye,{children:n.fundCode}),e.jsx(we,{color:u.fundNameColor,children:`${n.fundCompanyName} ${n.fundName}`})]}),t!=="small"&&e.jsxs(C,{onClick:$,children:[p?o.transferDrawer.calculator.footerText.hide:o.overviewPage.fundTile.viewDetails,p?e.jsx(P,{}):e.jsx(D,{})]})]}),t!=="small"&&e.jsx(e.Fragment,{children:g?e.jsxs(B,{style:{alignItems:"flex-start"},children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsx(E,{children:j!=null?W("0,0.[00]",{amount:j,currencyCode:a?.currencyCode!=null&&a.currencyCode!==""?a.currencyCode:"USD",currencySymbol:a?.currencySymbol!=null&&a.currencySymbol!==""?a.currencySymbol:"$"}):r.strings.empty})]}):e.jsxs(je,{children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsxs(I,{children:[e.jsx(R,{type:"range",min:0,max:100,step:1,value:d,readOnly:!0,windowSize:t}),e.jsx(M,{color:u.fundNameColor,style:{width:`calc(${w.sliderWidth.value(t)}/100*${d}px)`,zIndex:1}})]})]})}),t!=="small"&&e.jsxs(B,{children:[e.jsxs(S,{children:[o.overviewPage.sevenDayYield,e.jsx(f,{data:o.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{minWidth:"496px",padding:`12px ${l.sp3}`},enterDelay:300,children:e.jsx(k,{})})]}),e.jsxs(b,{windowSize:t,style:{marginRight:l.sp3},children:[n.yield,r.strings.percentage]})]})]}),t==="small"&&e.jsx(ke,{children:v?e.jsxs(Ie,{children:[e.jsxs(Re,{children:[e.jsxs(Ae,{children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsxs(I,{children:[e.jsx(R,{type:"range",min:0,max:100,step:1,value:d,readOnly:!0,windowSize:t}),e.jsx(M,{color:u.fundNameColor,style:{width:`calc(${w.sliderWidth.value(t)}/100*${d}px)`,zIndex:1}})]})]}),e.jsxs(Me,{children:[e.jsxs(S,{children:[o.overviewPage.sevenDayYield,e.jsx(f,{data:o.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{padding:`12px ${l.sp3}`},enterDelay:300,children:e.jsx(k,{})})]}),e.jsxs(b,{windowSize:t,children:[n.yield,r.strings.percentage]})]})]}),e.jsxs(C,{onClick:$,style:{marginBottom:l.sp2},children:[p?o.transferDrawer.calculator.footerText.hide:o.overviewPage.fundTile.viewDetails,p?e.jsx(P,{}):e.jsx(D,{})]})]}):g?e.jsxs(Te,{children:[e.jsxs(F,{children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsx(E,{children:j!=null?W("0,0.[00]",{amount:j,currencyCode:a?.currencyCode!=null&&a.currencyCode!==""?a.currencyCode:"USD",currencySymbol:a?.currencySymbol!=null&&a.currencySymbol!==""?a.currencySymbol:"$"}):r.strings.empty}),e.jsxs(C,{onClick:$,style:{margin:`${l.sp2} ${l.sp0}`,...h?{marginBottom:l.sp0}:{}},children:[p?o.transferDrawer.calculator.footerText.hide:o.overviewPage.fundTile.viewDetails,p?e.jsx(P,{}):e.jsx(D,{})]})]}),e.jsxs(L,{children:[e.jsxs(S,{children:[o.overviewPage.sevenDayYield,e.jsx(f,{data:o.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{padding:`12px ${l.sp3}`},enterDelay:300,children:e.jsx(k,{})})]}),e.jsxs(b,{windowSize:t,children:[n.yield,r.strings.percentage]})]})]}):e.jsxs(Ye,{children:[e.jsxs(F,{children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsxs(I,{children:[e.jsx(R,{type:"range",min:0,max:100,step:1,value:d,readOnly:!0,windowSize:t}),e.jsx(M,{color:u.fundNameColor,style:{width:`calc(${w.sliderWidth.value(t)}/100*${d}px)`,zIndex:1}})]}),e.jsxs(C,{onClick:$,children:[p?o.transferDrawer.calculator.footerText.hide:o.overviewPage.fundTile.viewDetails,p?e.jsx(P,{}):e.jsx(D,{})]})]}),e.jsxs(L,{children:[e.jsxs(S,{children:[o.overviewPage.sevenDayYield,e.jsx(f,{data:o.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{padding:`12px ${l.sp3}`},enterDelay:300,children:e.jsx(k,{})})]}),e.jsxs(b,{windowSize:t,children:[n.yield,r.strings.percentage]})]})]})})]},i[0].label)}),p&&e.jsxs(be,{children:[e.jsx(z,{children:n.description}),e.jsx($e,{style:{marginLeft:l.sp3},children:i.map(c=>e.jsxs(Se,{windowSize:t,children:[e.jsx(z,{children:r.strings.dividerDot}),e.jsx(z,{style:{minWidth:"140px"},children:c.label}),e.jsxs(z,{style:{color:c.label===o.promoPage.fundSize?u.fundNameColor:Y.colors.primary,borderBottom:`1px solid ${Y.colors.grey3}`,width:"100%",padding:`${l.sp1} ${l.sp0}`,display:"flex",flexDirection:"row",alignItems:"center",gap:l.sp2},children:[c.value,!!c.tag&&c.label===o.promoPage.composition&&e.jsx(f,{variant:"list-description",data:{title:r.strings.empty,items:Array.isArray(c.compositions)&&c.compositions.length>0?c.compositions.map(N=>({text:`${r.strings.dividerDot} ${N.investedIn}`,amount:`${N.percentage}${r.strings.percentage}`})):[]},placement:"bottom-end",style:{minWidth:"312px",padding:`12px ${l.sp3}`},children:e.jsx(Ce,{children:c.tag})})]})]},c.label))}),e.jsxs(ze,{onClick:()=>window.open(n.url,"_blank"),children:[e.jsx(ve,{children:`${o.promoPage.asOf} ${n.asOfDate.format(ae.visual.MMMDCommaYYYYformat)}`}),e.jsx(De,{})]})]}),(!h||v)&&e.jsx(Pe,{style:{width:"100%",marginBottom:l.sp3}})]})},pe=s.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
gap: ${l.sp2};
|
package/dist/assets/{ProductsCarousel-DR2qv1mK-L8s4NYfF.js → ProductsCarousel-DcSxZECS-DEnj1JWZ.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{M as X,j as t,d2 as I,o as l,bo as O,ae as P,d3 as D,Z as F,s as L,d4 as R,g as v}from"./index-
|
|
1
|
+
import{M as X,j as t,d2 as I,o as l,bo as O,ae as P,d3 as D,Z as F,s as L,d4 as R,g as v}from"./index-Bac0rl1Z.js";import{b as $,n as i}from"./vendor-CnQcJ2Lu.js";const u=X.getLocalizedStrings(),y={large:{labelComp:D,title:F,subtitle:L,seeMoreLink:L}},B={large:{width:496,height:512,padding:32,svgSize:12,svgContainerHeight:24,gap:8,imageGap:16,borderRadius:16}},o=B.large,U=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-BnHveXZh-DEWVy6e9.js → PromoBaseCards-B-s9wF0Q-C1F62bpn.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as c,j as r,d8 as b,d9 as v,da as L,aR as z,C as a,o as e,g as d,Q as f,m as l}from"./index-
|
|
1
|
+
import{X as c,j as r,d8 as b,d9 as v,da as L,aR as z,C as a,o as e,g as d,Q as f,m as l}from"./index-Bac0rl1Z.js";import{j as i,n as p,k as m}from"./vendor-CnQcJ2Lu.js";const t={plasticCardMarginLeft:new a(l[6],120),plasticCardMarginTop:new a(12,-9),businessTextRight:new a(l[2],13),businessTextBottom:new a(l[8],81),chargeCardWidth:new a(240,384),chargeCardHeight:new a(153,243),styledLogoWidth:new a(47,76),styledLogoHeight:new a(46,74),styledFullLogoTop:new a(12,28),styledFullLogoRight:new a(l[2],13),styledFullLogoHeight:new a(20,34),styledFullLogoWidth:new a(88,142),chipLogoWidth:new a(31,50),chipLogoHeight:new a(l[4],39),visaLogoWidth:new a(52,84),visaLogoHeight:new a(17,27),visaLogoRight:new a(l[2],13),visaLogoBottom:new a(l[2],13)},u={businessText:new f("extraSmallRegular","largeRegular"),promoBusinessText:new f("tinyLight","tinyLight")},F=({cardText:o,shouldAnimate:g,showChip:w,forDashboard:s,forListPage:h,cardPromoType:$,style:x})=>{const n=c();return r.jsxs(k,{cardPromoType:$,windowSize:n,shouldAnimate:g,forListPage:h,forDashboard:s,style:x,children:[w&&r.jsx(S,{windowSize:n,forDashboard:s,children:r.jsx(b,{})}),r.jsx(D,{windowSize:n,forDashboard:s,forListPage:h,children:r.jsx(z,{})}),r.jsx(P,{windowSize:n,forDashboard:s,forListPage:h,children:o}),r.jsx(y,{windowSize:n,forDashboard:s,forListPage:h,children:r.jsx(L,{})})]})},A=({cardText:o,shouldAnimate:g,showChip:w,forDashboard:s,forListPage:h,cardPromoType:$,style:x})=>{const n=c();return r.jsxs(W,{cardPromoType:$,windowSize:n,shouldAnimate:g,forListPage:h,forDashboard:s,style:x,children:[w&&r.jsx(S,{windowSize:n,forDashboard:s,children:r.jsx(b,{})}),r.jsx(B,{windowSize:n,forDashboard:s,forListPage:h,children:r.jsx(v,{})}),r.jsx(P,{windowSize:n,forDashboard:s,forListPage:h,children:o}),r.jsx(y,{windowSize:n,forDashboard:s,forListPage:h,children:r.jsx(L,{})})]})},C=m`
|
|
2
2
|
0%{
|
|
3
3
|
transform: rotate(12.4deg);
|
|
4
4
|
translate: ${e.sp0} ${e.sp0};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as j,M as t,j as n,bz as w,K as l,C as s,o as i,Z as P,s as y,$ as b,aP as f,eF as v,m as a}from"./index-
|
|
1
|
+
import{X as j,M as t,j as n,bz as w,K as l,C as s,o as i,Z as P,s as y,$ as b,aP as f,eF as v,m as a}from"./index-Bac0rl1Z.js";import{n as o}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const r={containerPaddingTop:new s(a[5],a[7]),containerPaddingBottom:new s(a[5],a[5]),containerPaddingLeftRight:new s(a[6],a[11])},z=o.div`
|
|
2
2
|
border-radius: inherit;
|
|
3
3
|
max-width: 520px;
|
|
4
4
|
text-align: center;
|
package/dist/assets/{QBOSetupSection-A1omZG46-CqcT2iQC.js → QBOSetupSection-Dpib3Rx5-Cl178Gzl.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as O,M as $,j as i,K as k,o,C as a,g as d,e_ as Q,Q as T,$ as W,aP as B,eF as E,eY as M,a7 as m,v as u,m as r}from"./index-
|
|
1
|
+
import{X as O,M as $,j as i,K as k,o,C as a,g as d,e_ as Q,Q as T,$ as W,aP as B,eF as E,eY as M,a7 as m,v as u,m as r}from"./index-Bac0rl1Z.js";import{n as s}from"./vendor-CnQcJ2Lu.js";import A from"./QBOConnectionDialog-CQlXDalh-D41g3YBn.js";const t={containerPadding:new a(r[3],r[4]),sectionWidth:new a(343,580,726),topElementsRowGap:new a(r[3],r[0]),arrowIconWidthHeight:new a(r[3],r[4])},G={title:new T("standardMedium","largeMedium")},ee=({isAdmin:e,hasError:c=!1,isValid:l,saveConnectionState:p,isQBOPopupOpen:j,companyName:y,updateQBOPopupState:h,handleOnConnectClick:f})=>{const n=O(),{qbo_connection:S}=$.getLocalizedStrings().customerOnboardingPage.sections,{title:v,sucessText:z,button:b,errorText:P,requiredText:C}=S;return i.jsxs(H,{windowSize:n,children:[i.jsxs(I,{windowSize:n,children:[n==="small"?i.jsx(L,{children:l?i.jsx(U,{}):i.jsx(V,{})}):null,i.jsx(N,{windowSize:n,children:v})]}),i.jsxs(q,{windowSize:n,children:[i.jsxs(D,{windowSize:n,children:[i.jsxs(K,{children:[i.jsx(R,{}),i.jsx(Z,{windowSize:n}),i.jsx(_,{})]}),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(F,{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(A,{isAdmin:e,isGoBackAllowed:!0,isQBOPopupOpen:j,companyName:y,saveConnectionState:p,handleOnConnectClick:f,handleGoBack:()=>h(!1)})]})},w=()=>{const{tags:e}=$.getLocalizedStrings().customerOnboardingPage,{connected:c}=e;return i.jsx(M,{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{C as q,m as U,u as M,X as W,M as D,a as G,a1 as X,j as s,S as H,c3 as J,aV as K,F as Q,a3 as Y,o as f}from"./index-
|
|
1
|
+
import{C as q,m as U,u as M,X as W,M as D,a as G,a1 as X,j as s,S as H,c3 as J,aV as K,F as Q,a3 as Y,o as f}from"./index-Bac0rl1Z.js";import{b as L,n as h}from"./vendor-CnQcJ2Lu.js";import{b as Z,f as ee,l as j,o as B}from"./FollowStepsSection-Cw8htUBe-BHcpEdlZ.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const $="reimbursementApprovalRuleDetailPage",T="lowerBound",k="upperBound",y="steps",te={footerPadding:new q(U[2],U[3])};function ye({localData:e,approvalUpdateActionType:r,isLowerBoundDisabled:t=!1,isUpperBoundDisabled:l=!0,hideUpperBoundField:o=!1,onBackClick:d,onApprovalRuleDataUpdated:b,onResetClick:E,onSaveRuleClick:N,onSaveRuleSuccess:A}){const _=M(),S=W(),a=D.getLocalizedStrings().commonSetUp.approval,I=D.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,x=ae(e,r==="approval_create"&&!t),g=G({mode:"all",reValidateMode:"onChange",defaultValues:x}),u=e.remiSetupApproverViewUpdateData?.updateStatus,w=X(u?.fetchState),{upperBound:P}=x,{allApprovalRules:n,allAccountingClasses:F,remiSetupApproverViewUpdateData:c}=e;let m=n.length>1?n.length-1:0,v=n.length>0?n[m].criteria[0].range.min.amount:0;if(c!=null&&c.type==="approval_update"&&c.data!=null){const{approvalRuleId:i}=c.data;m=n.findIndex(p=>p.approvalRuleId===i),v=m>0?n[m-1].criteria[0].range.min.amount:0}const O=g.handleSubmit(()=>{N()}),V=async(i,p)=>{b(p)};return L.useEffect(()=>{const i=g.watch((p,{name:R})=>{if(R!=null&&p!=null){const z=H(p);J(()=>V(R,z))}});return()=>{i.unsubscribe()}}),L.useEffect(()=>{w==="In-Progress"&&u?.fetchState==="Completed"&&A()},[w,u?.fetchState,A]),s.jsxs(se,{children:[s.jsx(K,{title:r==="approval_create"?a.newApproval:a.editApproval,backgroundColor:_.colors.grey4,style:{zIndex:4},onBackClick:()=>{d()},source:"ReimbursementApprovalRuleDetailPage"}),s.jsx(ne,{children:s.jsx(Q,{...g,children:s.jsx("form",{id:C($),onSubmit:O,children:s.jsxs(ie,{children:[s.jsx(Z,{label:{label:o?I.amountPerRemiGreaterLabel:I.amountPerRemiLabel},firstText:{type:"number",name:T,placeholder:"$0",options:{required:!0,max:P===1/0?Number.MAX_SAFE_INTEGER-1:P-1,min:v,validate:i=>t?!0:i!=null&&i>v},isDisabled:t,additionalInfoLabel:a.firstRuleLowerBoundInfoLabel,additionalErrorLabel:a.firstRuleErrorInfoLabel},secondText:{type:"number",name:k,placeholder:"Infinity",isDisabled:l,hideField:o,additionalInfoLabel:a.upperBoundInfoLabel}}),s.jsx(pe,{}),s.jsx(ee,{sectionId:y,label:{label:a.followStepsLabel},approversPlaceholder:a.approversPlaceholder,notifiersPlaceholder:a.notifiersPlaceholder,allUserWithRoles:e.allApprovers,filteredApprovers:e.filteredApprovers.map(i=>i.user),allAttributes:e.allAttributes,filteredAttributes:e.filteredAttributes,allAccountingClasses:F,stepsInfo:x[y],userSelectPlaceholder:a.userSelectPlaceholder,approveNotifyPlaceholder:a.approveNotifyPlaceholder,productType:"zeni_reimbursements"})]})})})}),s.jsx(Y,{formId:C($),primaryBtn:{label:a.saveBtnText,isLoading:u?.fetchState==="In-Progress",isDisabled:u?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},showCancel:!0,cancelBtn:{label:a.cancelBtnText,isLoading:!1,style:{width:"85px",minWidth:"auto"},onClick:E},containerStyle:{justifyContent:S==="small"?"space-between":"center"},style:{padding:te.footerPadding.valuePx(S)},separatorStyle:{marginRight:f.sp4}})]})}const ae=(e,r)=>{const{criteria:t,steps:l}=e.remiSetupApproverViewUpdateData?.data??{};return{[y]:re(e.allApprovers.map(o=>o.user),e.filteredApprovers.map(o=>o.user),B(e.allAttributes),B(e.filteredAttributes),l??[])??[],[T]:r?void 0:t!=null?t.range.min.amount??0:0,[k]:t!=null?t.range.max==null?1/0:t.range.max.amount:1/0}},re=(e,r,t,l,o)=>o&&o.length>0?o.map((d,b)=>({stepIndex:b,stepType:{selectedOption:d.action,allOptions:j},actors:{allUsers:r,selectedUsers:le(e,d.actors),allNonUsers:l,selectedNonUsers:oe(t,d.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:j},actors:{allUsers:r,selectedUsers:[],allNonUsers:l,selectedNonUsers:[]}}],le=(e,r)=>e.filter(t=>t.userId!=null&&r.findIndex(l=>l.userId===t.userId)>-1),oe=(e,r)=>e.filter(t=>r.findIndex(l=>l.subType===t.value)>-1),C=e=>`${e}_form`,Ae=e=>`${e}`,se=h.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
height: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as D,X as B,M as b,j as o,aV as E,c as H,Y as S,o as t,C as r,s as L,_ as z,bO as G,bQ as U,bR as q,cq as O,m as l,an as Q,Q as P,am as V,g as j,cn as X,aN as Y,p as _}from"./index-
|
|
1
|
+
import{u as D,X as B,M as b,j as o,aV as E,c as H,Y as S,o as t,C as r,s as L,_ as z,bO as G,bQ as U,bR as q,cq as O,m as l,an as Q,Q as P,am as V,g as j,cn as X,aN as Y,p as _}from"./index-Bac0rl1Z.js";import{n as i,b as F}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const s={sectionWidth:new r(343,580,726),ruleWrapperPadding:new r(l[3],l[4]),wrapperGap:new r(l[4],l[3]),wrapperMarginBottom:new r(l[6],l[8]),lastWrapperMarginBottom:new r(l[5],l[9]),stepperWidthHeight:new r(20,l[5]),stepperItemLeft:new r(-29,-23),stepperItemTop:new r(2,l[0]),stepperItemPaddingLeft:new r(l[0],10),stepperItemMinHeight:new r(22,28),stepperLeft:new r(11,17),stepperTop:new r(2,l[0]),stepperContentTop:new r(l[0],-4)},N={stepper:new P("smallRegular","standardRegular"),amount:new P("standardRegular","largeRegular")},J=({showDeleteBtn:e=!1,isLastSection:f=!1,approvalRule:x,onEditRuleClick:v,onDeleteRuleClick:y})=>{const[g,d]=F.useState(!1),n=B(),{range:c}=x.criteria[0],{steps:w,approvalRuleId:m}=x,a=b.getLocalizedStrings().commonSetUp.approval,$=()=>{d(!0)},W={onOkClick:()=>{d(!1),y?.(m)},onCancelClick:()=>{d(!1)}};return o.jsxs(K,{windowSize:n,isLastSection:f,"data-testid":S("approval-rule-section",m),children:[o.jsxs(Z,{windowSize:n,children:[o.jsxs(ae,{children:[o.jsxs(I,{windowSize:n,children:[a.from," ",z("0,0",c.min)]}),o.jsxs(ee,{children:[o.jsx(k,{}),o.jsx(oe,{}),o.jsx(k,{})]}),c.max==null?o.jsx(ce,{}):o.jsx(I,{windowSize:n,children:z("0,0",{...c.min,amount:c.max.amount})})]}),o.jsxs(ne,{className:"icons",children:[e?o.jsx(pe,{onClick:$}):null,o.jsx(de,{onClick:()=>{v(m)},"data-testid":S("edit-approval-rule",m)})]})]}),o.jsx(te,{windowSize:n,children:o.jsx(ie,{isSingleStep:w.length===1,windowSize:n,children:w.map((h,A)=>o.jsxs(re,{isSingleStep:w.length===1,className:"stepperItem",windowSize:n,children:[h.action==="require_approval"?o.jsx(le,{children:a.requireText}):o.jsx(se,{children:a.notifyText}),h.nonUserActors.filter(p=>p.subType!=null).map((p,M)=>o.jsxs(R,{children:[o.jsx(T,{children:p.subType!=null?a.nonUsers[p.subType].label:null}),h.operator!="is"?o.jsx(C,{className:"operator",children:h.operator}):null]},`${p.subType}_${M}`)),h.actors.map(p=>o.jsxs(R,{children:[o.jsxs(T,{children:[p.firstName," ",p.lastName]}),h.operator!="is"?o.jsx(C,{className:"operator",children:h.operator}):null]},p.userId))]},A))})}),g?o.jsx(G,{titleComponent:o.jsx(q,{children:a.deleteApprovalRuleTitle}),descriptionComponent:o.jsx(U,{children:a.deleteApprovalRuleDesc}),primaryButtonText:a.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:a.cancelBtnText,action:W}):null]})},K=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
gap: ${e=>s.wrapperGap.valuePx(e.windowSize)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as At,d2 as Mt,X as Rt,u as Pt,bC as Bt,C as m,M as Ze,l as ie,fI as Nt,fK as Lt,fL as Ot,j as t,bO as ke,bQ as Ae,bR as Me,Y as y,aV as Re,aI as _t,dq as Wt,fM as Et,fX as Pe,o as a,fN as Be,cP as b,cR as w,fQ as x,_ as Ne,cO as Le,p as K,fS as Oe,a3 as Kt,f as Ft,fT as Ut,fU as ae,aR as Vt,fV as Yt,a2 as Gt,Q as Ht,h as qt,s as et,an as tt,g as F,e as Jt,eW as Qt,v as Xt,ga as Zt,g6 as ei,m as c,bH as ti,cl as ii}from"./index-4Vt70fVf.js";import{b as p,n as r}from"./vendor-CnQcJ2Lu.js";import{_ as ai}from"./liveblocks-sSQ9JElv.js";import ri from"./InvoiceUploadSection-B-ZrMaqn-aCeuHZcd.js";import{r as oi,h as f,u as ni}from"./types-DyvtCprH-BcZYcgaq.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./crypto-BURQLTgV.js";import"./AttachmentView-OXyBpL2F-DYlig7pu.js";import"./uploadReceipts-D80JLNY4-DW6Z9ayE.js";const l={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])},li={formTitle:new Ht("h6Regular","h5Regular")},ia=({remiDetails:e,uploadInvoiceEndPoint:U,authParams:it,isAdmin:oe,signedInUser:ne,showApproveRejectBtns:le,isRealTimeApprovalEnabled:se,isReimbursementCommentingEnabled:u,isShowDeletedReimbursementEnabled:de,isSignedInUserReimbursementCreator:at,updateEditRealTimeApproverClicked:ce,onSaveRealTimeApprovals:me,redirectToReimbursementListScreen:V,redirectToEditableReimbursementScreen:rt,onDuplicateLineClick:ot,approveOrRejectRemi:pe,deleteReimbursement:nt,cancelAndDeleteReport:ue,handleZeniLogoClick:lt,onAddNewRule:he})=>{const d=At(),st=Mt().analytics,o=Rt(),ye=Pt(),[dt,z]=p.useState(!1),[Y,G]=p.useState(!1),[ct,H]=p.useState(!1),[q,J]=p.useState("approved"),P=p.useRef(null),[j,Q]=p.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[C,mt]=p.useState(null),[pt,B]=p.useState(!1),h=`dashboard_${d.currentTenant?.companyId}`,ge=p.useRef({}),be=s=>{const n=ge.current[s];n!=null&&setTimeout(()=>ni(n,P.current),100)};p.useEffect(()=>{(e.deleteStatus.fetchState==="Completed"||e.approvalUpdateStatus.fetchState==="Completed"||e.cancelAndDeleteStatus.fetchState==="Completed")&&V()},[e,V]),p.useEffect(()=>{const s=window.location.hash;if(s&&s.startsWith("#L")){const n=s.substring(1);be(n)}},[]);const ut=()=>{V()};Bt({componentName:"reimbursement.details"});const ht={onOkClick:()=>{z(!1),j.primaryButtonText===i.buttons.delete?nt?.():j.title===i.cancelReportTitle?ue?.():j.title===i.cancelAndDeleteReportTitle&&ue?.(!0)},onCancelClick:()=>{z(!1)}},I=l.labelWidth.value(o),k=l.largeLabelWidth.value(o),we=Ze.getLocalizedStrings(),{common:{texts:{comments:yt},strings:{empty:xe}},collaboration:{threads:{placeholder:{addANewComment:gt,replyAComment:bt},tooltip:{resolveComment:wt,unResolveComment:xt}}},dateFormat:fe}=we,{reimbursementDetail:i,bulkActions:N}=we.spendManagement.reimbursement,X=e.remiDetails?.reportTitle,S=e.remiDetails?.lines??[],L=e.remiDetails?.reimbursementInfo.stage,O=e.remiDetails?.reimbursementInfo.billStatus,_=e.remiDetails?.reimbursementInfo.billPaymentStatus,$e=L?.code==="paid",ft=$e?L:O?.code=="approved"&&_?.code?_:O,$=si(e.remiDetails),A=O?.code=="approved"&&_?.code?_:O,W=e.remiDetails?.isDeleted??!1,ve=e.remiDetails?.amount,Te=e.remiDetails?.amount.amount??0,Se=()=>{Q({title:e.remiDetails?.reimbursementInfo.stage.code==="draft"?i.deleteDraftTitle:i.deleteReportTitle,description:i.deleteAlertDescription,primaryButtonText:i.buttons.delete,secondaryButtonText:i.buttons.cancel}),z(!0)},$t=()=>{Q({title:i.cancelReportTitle,description:i.cancelAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),z(!0)},vt=()=>{Q({title:i.cancelAndDeleteReportTitle,description:i.cancelAndDeleteAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),z(!0)},je=()=>{rt()},Tt={onOkClick:s=>{H(!1),pe({reimbursementId:e.remiDetails?.id??"",type:"rejected",description:s})},onCancelClick:()=>{H(!1)}},St=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?je():(J("approved"),pe({reimbursementId:e.remiDetails?.id??"",type:"approved"}))},jt=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?(J("delete"),Se()):(J("rejected"),H(!0))},It=e.remiDetails?.reimbursementInfo.paymentDate!=null?ie.zeniDate(ie.getNextNthWorkingDay(e.remiDetails.reimbursementInfo.paymentDate.toDate(),[0,6],e.achSameDayMaxDays).toDateString()):void 0,Z=e.remiDetails?.reimbursementInfo.expectedDepositDate??It,Ie=e.remiDetails?.reimbursementInfo.billStatus.code==="pending_approval"&&at,Dt=e.remiDetails?.reimbursementInfo.billStatus.code!=="rejected"&&e.remiDetails?.reimbursementInfo.billPaymentStatus.code!=="paid",ee=ft?.code,Ct=oi(e.duplicateLineByLineId),De=e.duplicateReimbursementStatus.fetchState==="Completed"&&Ct>0,{requestToOpenThread:te,setRequestToOpenThread:Ce,setOpenThread:E}=p.useContext(Nt),{threads:M,isLoading:D}=Lt({application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id,isGlobalComment:!1},"both",!1),zt=p.useMemo(()=>M.filter(s=>s.resolved===!1&&!s.id.includes(Ot)),[M]).length,kt=p.useCallback((s,n)=>{E(n),B(!1)},[E,B]);p.useEffect(()=>{te?.threadId!=null&&M.length>0&&!D&&(E(te.threadId),Ce(null))},[te,M,D,E,Ce]);const g={application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id},R=ie.isBulkProcessing(e.remiDetails?.bulkProcessingDetail?.type);return t.jsxs(Bi,{windowSize:o,ref:P,children:[dt?t.jsx(ke,{titleComponent:t.jsx(Me,{children:j.title}),descriptionComponent:t.jsx(Ae,{children:j.description}),primaryButtonText:j.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:j.secondaryButtonText,action:ht}):null,ct?t.jsx(ke,{titleComponent:t.jsx(Me,{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:Tt,isEditPopup:!0,isNotesIncluded:!0,notesPlaceholder:i.rejectRejectReasonPlaceholder}):null,t.jsxs(Ci,{windowSize:o,"data-testid":y("reimbursement-detail-page-nav-bar-container"),children:[o!=="small"?t.jsx(Re,{"data-testid":y("reimbursement-detail-page-nav-bar-left"),style:{width:"42%"},title:"",leftSideComponent:t.jsx(zi,{onClick:()=>lt?.(),"data-testid":y("remi-detail-page-nav-bar-zeni-logo")}),enableTitleOnScroll:!1,backgroundColor:ye.colors.background,keepBackgroundOnScroll:!0,scrollableContent:P,source:"ReimbursementDetailPage"}):null,o!=="small"?t.jsx(ji,{}):null,t.jsx(Re,{"data-testid":y("reimbursement-detail-page-nav-bar-right"),title:X??xe,leftSideComponent:t.jsx(t.Fragment,{}),style:{width:o!=="small"?"58%":"100%"},rightSideComponent:t.jsxs(Ai,{children:[u?t.jsxs(Mi,{isDisabled:D,onClick:D?()=>null:s=>{s.preventDefault(),s.stopPropagation(),mt({roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityType:"reimbursement.details",entityId:e.remiDetails?.id??""}),B(!0),st.trackCommentActivity("reimbursement","clicked",d.currentTenant?.companyName??"",d.controllersList.controllers.map(n=>Wt(n)),void 0,void 0,"page icon")},"data-testid":y("remi-comments-section"),children:[t.jsx(_t,{count:D?void 0:zt,isLoading:D,style:{left:"12px"}}),t.jsx(Ri,{})]}):null,t.jsx(Pi,{size:o,onClick:()=>ut(),"data-testid":y("remi-detail-page-close"),children:t.jsx(ki,{})})]}),scrollableContent:P,enableTitleOnScroll:o!=="small",scrollThreshold:64,source:"ReimbursementDetailPage"})]}),t.jsxs(Ki,{children:[o==="small"?t.jsxs(t.Fragment,{children:[t.jsx(He,{windowSize:o,children:t.jsx(qe,{windowsSize:o,children:X})}),e.createdBy?.userId!=null?t.jsx(Ue,{windowSize:o,children:`${i.by} ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,de&&$!=null?t.jsx(Ve,{color:$.color,bgColor:$.bgColor,borderColor:$.borderColor,children:$.value}):null,A?.code!=null?o==="small"?t.jsxs(t.Fragment,{children:[t.jsx(Et,{progressSectionObj:A,createDate:e.remiDetails?.createTime,paymentDate:Z,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:W}),R?t.jsx(Pe,{variant:"warning",style:{margin:`${a.sp5} ${a.sp3}`},title:N.duplicateWarning.title,description:N.duplicateWarning.description}):De?t.jsxs(_e,{size:o,children:[t.jsx(Fe,{}),t.jsxs(Ee,{children:[t.jsx(We,{children:i.thereSeems}),t.jsx(Ke,{children:i.pleaseFind})]})]}):null]}):t.jsx(Ge,{windowSize:o,children:t.jsx(Be,{progressSectionObj:A,createDate:e.remiDetails?.createTime,paymentDate:Z,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:W})}):null]}):null,S.map((s,n)=>{const v=e.duplicateLineByLineId[s.lineId];return t.jsxs(Xe,{windowSize:o,children:[t.jsx(_i,{windowSize:o,children:t.jsx(Wi,{bottomSeperator:S.length!==1,windowSize:o,children:t.jsx(ri,{showAutofill:!1,uploadInvoiceEndPoint:U,authParams:it,entityId:e.remiDetails?.id,file:s.file,showTitlebar:!0,showTitlebarIcon:!1,pdfTitle:S.length>1?`#${n+1} Receipt`:"Receipt",style:{width:"auto",padding:0,height:S.length-1===n||n===0?760:451},onInvoiceUpload:()=>{console.log("onInvoiceUpload")},noAttachmentText:i.noReceiptAttached,type:"receipt"})})}),t.jsxs(Oi,{windowSize:o,children:[n===0&&o!=="small"?t.jsxs(t.Fragment,{children:[t.jsxs(He,{windowSize:o,children:[t.jsx(qe,{windowsSize:o,children:X}),de&&$!=null?t.jsx(Ve,{color:$.color,bgColor:$.bgColor,borderColor:$.borderColor,children:$.value}):null]}),e.createdBy?.userId!=null?t.jsx(Ue,{windowSize:o,children:`By ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,A?.code!=null?t.jsx(Ge,{windowSize:o,children:t.jsx(Be,{progressSectionObj:A,createDate:e.remiDetails?.createTime,paymentDate:Z,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:W})}):null,R?t.jsx(Pe,{variant:"warning",style:{margin:`${a.sp3} ${a.sp8} ${a.sp3} ${a.sp6}`},title:N.duplicateWarning.title,description:N.duplicateWarning.description}):De?t.jsxs(_e,{size:o,children:[t.jsx(Fe,{}),t.jsxs(Ee,{children:[t.jsx(We,{children:i.thereSeems}),t.jsx(Ke,{children:i.pleaseFind})]})]}):null]}):null,t.jsxs(hi,{windowSize:o,ref:ze=>{ze!=null&&(ge.current[`L${s.lineId}`]=ze)},children:[o!=="small"?t.jsx(ui,{children:t.jsx(yi,{children:S.length>1?`#${n+1} ${i.reimbursement}`:i.reimbursement})}):null,t.jsxs(gi,{windowSize:o,children:[v?.duplicateLineId!=null?t.jsxs(mi,{children:[i.thisExpenseReview," ",t.jsx(pi,{onClick:()=>{if(v.isDuplicateWithinTransaction&&v.duplicateLineId!=null)return be(`L${v.duplicateLineId}`);v.duplicateTransactionId!=null&&v.duplicateLineId!=null&&ot(v.duplicateTransactionId,v.duplicateLineId)},"data-testid":y("remi-view-duplicate-expense"),children:i.viewOriginalExpense})]}):null,t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:s.type===i.mileageKey?`${n}.mileage.reimbursementType`:`${n}.out_of_pocket.reimbursementType`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("reimbursementType",n,s.type===i.mileageKey?"mileage":"out_of_pocket")}`},style:{borderRadius:v?.duplicateLineId==null?`${a.sp2} ${a.sp2} 0 0`:"0 0 0 0"},children:t.jsx(x,{label:{label:i.reimbursementType,width:k},text:s.type===i.mileageKey?i.mileage:i.outOfPocket,style:{width:"auto",borderRadius:v?.duplicateLineId==null?`${a.sp2} ${a.sp2} 0 0`:"0 0 0 0"}})}),t.jsx(T,{}),s.type===i.mileageKey?t.jsxs(t.Fragment,{children:[t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.mileage.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("transactionDate",n,"mileage")}`},children:t.jsx(x,{label:{label:i.transactionDate,width:k},text:s.transactionDate?.format(fe.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.mileage.distanceInMiles`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("distanceInMiles",n,"mileage")}`},children:t.jsx(x,{label:{label:i.distanceInMiles,width:k},text:s.distanceMileage.value.toString()??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.mileage.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("amount",n,"mileage")}`},children:t.jsx(x,{label:{label:i.amount,width:I},text:s.homeCurrencyConversions!=null?Ne("0,0[.]00",s.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.mileage.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("memo",n,"mileage")}`},children:t.jsx(x,{label:{label:i.memo,width:I},text:s.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.mileage.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("class",n,"mileage")}`},style:{borderRadius:`0 0 ${a.sp2} ${a.sp2}`},children:t.jsx(x,{label:{label:i.department,width:I},text:s.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:w({type:"details",key:`${n}.out_of_pocket.merchant`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("merchant",n,"out_of_pocket")}`},children:t.jsx(x,{label:{label:i.merchant,width:k},text:s.merchant?.name??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("transactionDate",n,"out_of_pocket")}`},children:t.jsx(x,{label:{label:i.transactionDate,width:k},text:s.transactionDate?.format(fe.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("amount",n,"out_of_pocket")}`},children:t.jsx(x,{label:{label:i.amount,width:I},text:s.homeCurrencyConversions!=null?Ne("0,0[.]00",s.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("memo",n,"out_of_pocket")}`},children:t.jsx(x,{label:{label:i.memo,width:I},text:s.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.account`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("account",n,"out_of_pocket")}`},children:t.jsx(x,{label:{label:i.category,width:I},text:s.lineDetail.account?.accountName??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("class",n,"out_of_pocket")}`},style:{borderRadius:`0 0 ${a.sp2} ${a.sp2}`},children:t.jsx(x,{label:{label:i.department,width:I},text:s.lineDetail.class?.className??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${a.sp2} ${a.sp2}`}})})]})]})]}),S.length!==1&&S.length===n+1&&t.jsxs(Li,{windowSize:o,children:[t.jsxs(Je,{windowSize:o,children:[t.jsx(Qe,{children:i.total}),t.jsx(Le,{amount:ve,integerStyles:K.h6Regular.cssObject,decimalStyles:K.standardRegular.cssObject})]}),e.remiDetails&&t.jsx(Oe,{amount:Te,activities:e.remiActivities,stage:L?.code??"draft",onAddNewRule:he,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:oe,signedInUserId:ne?.userId,showRealTimeApproval:se,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:ce,onSaveRealTimeApprovals:me},historicActivities:e.remiHistory.activities})]})]})]},s.lineId)}),S.length===1&&t.jsxs(Xe,{windowSize:o,children:[t.jsx(Ye,{}),t.jsxs(di,{windowSize:o,children:[t.jsx(Ni,{windowSize:o,children:t.jsxs(Je,{windowSize:o,children:[t.jsx(Qe,{children:i.total}),t.jsx(Le,{amount:ve,integerStyles:K.h6Regular.cssObject,decimalStyles:K.standardRegular.cssObject})]})}),e.remiDetails&&t.jsx(ci,{windowSize:o,children:t.jsx(Oe,{amount:Te,activities:e.remiActivities,stage:L?.code??"draft",onAddNewRule:he,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:oe,signedInUserId:ne?.userId,showRealTimeApproval:se,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:ce,onSaveRealTimeApprovals:me}})})]})]}),t.jsx(Ei,{})]}),$e||W===!0?null:t.jsxs(Di,{children:[o!=="small"?t.jsx(Ye,{}):null,t.jsx(wi,{windowSize:o,"data-testid":y("remi-detail-page-footer"),onClick:s=>{s.stopPropagation(),Y===!0&&G(!1)},children:t.jsx(Kt,{separatorStyle:{marginRight:a.sp4},showPrimaryButton:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||le,showCancel:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||le,cancelBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?o==="small"?i.buttons.delete:i.buttons.deleteReport:o==="small"?i.buttons.reject:i.buttons.rejectReport,isLoading:q==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress"||q==="delete"&&e.deleteStatus.fetchState==="In-Progress",onClick:jt,style:{width:l.footerButtonWidth.value(o)},reverseSpinnerColor:!1},primaryBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?o==="small"?i.buttons.edit:i.buttons.editAndResubmit:o==="small"?i.buttons.approve:i.buttons.approveReport,isLoading:q==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:St,style:{width:l.footerButtonWidth.value(o)},isDisabled:e.approvalUpdateStatus.fetchState==="In-Progress"||e.realTimeApproval.isEditMode===!0},rightSideComponent:t.jsx(bi,{children:t.jsxs(Ii,{windowSize:o,children:[!R&&Y?t.jsx(Ft,{onClickAway:()=>G(!1),children:t.jsxs(Si,{windowSize:o,children:[ee!=="processing"?t.jsx(re,{onClick:Se,"data-testid":y("remi-delete-action"),children:i.buttons.deleteReport}):null,ee==="processing"?t.jsx(re,{onClick:$t,"data-testid":y("remi-cancel-action"),children:i.buttons.cancel}):null,ee==="processing"?t.jsx(re,{onClick:vt,"data-testid":y("remi-cancel-and-delete-action"),children:i.buttons.cancelAndDelete}):null]})}):null,t.jsxs(Ti,{windowSize:o,children:[!R&&Ie===!0?t.jsx(vi,{onClick:je,"data-testid":y("remi-edit-button"),children:t.jsx($i,{})}):null,!R&&Dt===!0?t.jsx(fi,{windowSize:o,showEditIcon:Ie,children:t.jsx(xi,{onClick:()=>G(!Y),"data-testid":y("remi-more-actions-button")})}):null]})]})}),style:{minHeight:62}})})]}),u?t.jsx(ai,{id:h,children:t.jsx(Ut,{isDrawerOpen:pt,allowComposer:!0,drawerTitle:yt,threads:M,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:C?.companyId??xe,isGlobalComment:!1,tab:"reimbursement"},isLoading:D,threadMetadata:C?{companyName:C.companyName,companyId:C.companyId,entityId:C.entityId,entityType:C.entityType,isGlobalComment:!1,application:"dashboard",tab:"reimbursement",url:window.location.href}:void 0,textOverrides:{composerPlaceholder:gt,replyComposerPlaceholder:bt,threadResolve:wt,threadUnResolve:xt},onThreadClick:(s,n)=>kt(s,n),onCloseAllThreadsDrawer:()=>B(!1),drawerSectionStyle:{width:"400px",backgroundColor:ye.colors.background}})}):null]})},si=e=>{const U=Ze.getLocalizedStrings().spendManagement.billPay.billsByTabs;if(e?.isDeleted===!0)return{value:U.tabsById.deleted,color:ae.deleted.color,bgColor:ae.deleted.bgColor,borderColor:ae.deleted.borderColor,code:"deleted"}},di=r.div`
|
|
1
|
+
import{w as At,d2 as Mt,X as Rt,u as Pt,bC as Bt,C as m,M as Ze,l as ie,fI as Nt,fK as Lt,fL as Ot,j as t,bO as ke,bQ as Ae,bR as Me,Y as y,aV as Re,aI as _t,dq as Wt,fM as Et,fX as Pe,o as a,fN as Be,cP as b,cR as w,fQ as x,_ as Ne,cO as Le,p as K,fS as Oe,a3 as Kt,f as Ft,fT as Ut,fU as ae,aR as Vt,fV as Yt,a2 as Gt,Q as Ht,h as qt,s as et,an as tt,g as F,e as Jt,eW as Qt,v as Xt,ga as Zt,g6 as ei,m as c,bH as ti,cl as ii}from"./index-Bac0rl1Z.js";import{b as p,n as r}from"./vendor-CnQcJ2Lu.js";import{_ as ai}from"./liveblocks-sSQ9JElv.js";import ri from"./InvoiceUploadSection-CRgtSthn-DpsfwSSA.js";import{r as oi,h as f,u as ni}from"./types-DyvtCprH-BcZYcgaq.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./crypto-BURQLTgV.js";import"./AttachmentView-CQD-yy-o-CNYsfmt9.js";import"./uploadReceipts-D80JLNY4-ie9T0Rq7.js";const l={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])},li={formTitle:new Ht("h6Regular","h5Regular")},ia=({remiDetails:e,uploadInvoiceEndPoint:U,authParams:it,isAdmin:oe,signedInUser:ne,showApproveRejectBtns:le,isRealTimeApprovalEnabled:se,isReimbursementCommentingEnabled:u,isShowDeletedReimbursementEnabled:de,isSignedInUserReimbursementCreator:at,updateEditRealTimeApproverClicked:ce,onSaveRealTimeApprovals:me,redirectToReimbursementListScreen:V,redirectToEditableReimbursementScreen:rt,onDuplicateLineClick:ot,approveOrRejectRemi:pe,deleteReimbursement:nt,cancelAndDeleteReport:ue,handleZeniLogoClick:lt,onAddNewRule:he})=>{const d=At(),st=Mt().analytics,o=Rt(),ye=Pt(),[dt,z]=p.useState(!1),[Y,G]=p.useState(!1),[ct,H]=p.useState(!1),[q,J]=p.useState("approved"),P=p.useRef(null),[j,Q]=p.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[C,mt]=p.useState(null),[pt,B]=p.useState(!1),h=`dashboard_${d.currentTenant?.companyId}`,ge=p.useRef({}),be=s=>{const n=ge.current[s];n!=null&&setTimeout(()=>ni(n,P.current),100)};p.useEffect(()=>{(e.deleteStatus.fetchState==="Completed"||e.approvalUpdateStatus.fetchState==="Completed"||e.cancelAndDeleteStatus.fetchState==="Completed")&&V()},[e,V]),p.useEffect(()=>{const s=window.location.hash;if(s&&s.startsWith("#L")){const n=s.substring(1);be(n)}},[]);const ut=()=>{V()};Bt({componentName:"reimbursement.details"});const ht={onOkClick:()=>{z(!1),j.primaryButtonText===i.buttons.delete?nt?.():j.title===i.cancelReportTitle?ue?.():j.title===i.cancelAndDeleteReportTitle&&ue?.(!0)},onCancelClick:()=>{z(!1)}},I=l.labelWidth.value(o),k=l.largeLabelWidth.value(o),we=Ze.getLocalizedStrings(),{common:{texts:{comments:yt},strings:{empty:xe}},collaboration:{threads:{placeholder:{addANewComment:gt,replyAComment:bt},tooltip:{resolveComment:wt,unResolveComment:xt}}},dateFormat:fe}=we,{reimbursementDetail:i,bulkActions:N}=we.spendManagement.reimbursement,X=e.remiDetails?.reportTitle,S=e.remiDetails?.lines??[],L=e.remiDetails?.reimbursementInfo.stage,O=e.remiDetails?.reimbursementInfo.billStatus,_=e.remiDetails?.reimbursementInfo.billPaymentStatus,$e=L?.code==="paid",ft=$e?L:O?.code=="approved"&&_?.code?_:O,$=si(e.remiDetails),A=O?.code=="approved"&&_?.code?_:O,W=e.remiDetails?.isDeleted??!1,ve=e.remiDetails?.amount,Te=e.remiDetails?.amount.amount??0,Se=()=>{Q({title:e.remiDetails?.reimbursementInfo.stage.code==="draft"?i.deleteDraftTitle:i.deleteReportTitle,description:i.deleteAlertDescription,primaryButtonText:i.buttons.delete,secondaryButtonText:i.buttons.cancel}),z(!0)},$t=()=>{Q({title:i.cancelReportTitle,description:i.cancelAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),z(!0)},vt=()=>{Q({title:i.cancelAndDeleteReportTitle,description:i.cancelAndDeleteAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),z(!0)},je=()=>{rt()},Tt={onOkClick:s=>{H(!1),pe({reimbursementId:e.remiDetails?.id??"",type:"rejected",description:s})},onCancelClick:()=>{H(!1)}},St=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?je():(J("approved"),pe({reimbursementId:e.remiDetails?.id??"",type:"approved"}))},jt=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?(J("delete"),Se()):(J("rejected"),H(!0))},It=e.remiDetails?.reimbursementInfo.paymentDate!=null?ie.zeniDate(ie.getNextNthWorkingDay(e.remiDetails.reimbursementInfo.paymentDate.toDate(),[0,6],e.achSameDayMaxDays).toDateString()):void 0,Z=e.remiDetails?.reimbursementInfo.expectedDepositDate??It,Ie=e.remiDetails?.reimbursementInfo.billStatus.code==="pending_approval"&&at,Dt=e.remiDetails?.reimbursementInfo.billStatus.code!=="rejected"&&e.remiDetails?.reimbursementInfo.billPaymentStatus.code!=="paid",ee=ft?.code,Ct=oi(e.duplicateLineByLineId),De=e.duplicateReimbursementStatus.fetchState==="Completed"&&Ct>0,{requestToOpenThread:te,setRequestToOpenThread:Ce,setOpenThread:E}=p.useContext(Nt),{threads:M,isLoading:D}=Lt({application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id,isGlobalComment:!1},"both",!1),zt=p.useMemo(()=>M.filter(s=>s.resolved===!1&&!s.id.includes(Ot)),[M]).length,kt=p.useCallback((s,n)=>{E(n),B(!1)},[E,B]);p.useEffect(()=>{te?.threadId!=null&&M.length>0&&!D&&(E(te.threadId),Ce(null))},[te,M,D,E,Ce]);const g={application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id},R=ie.isBulkProcessing(e.remiDetails?.bulkProcessingDetail?.type);return t.jsxs(Bi,{windowSize:o,ref:P,children:[dt?t.jsx(ke,{titleComponent:t.jsx(Me,{children:j.title}),descriptionComponent:t.jsx(Ae,{children:j.description}),primaryButtonText:j.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:j.secondaryButtonText,action:ht}):null,ct?t.jsx(ke,{titleComponent:t.jsx(Me,{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:Tt,isEditPopup:!0,isNotesIncluded:!0,notesPlaceholder:i.rejectRejectReasonPlaceholder}):null,t.jsxs(Ci,{windowSize:o,"data-testid":y("reimbursement-detail-page-nav-bar-container"),children:[o!=="small"?t.jsx(Re,{"data-testid":y("reimbursement-detail-page-nav-bar-left"),style:{width:"42%"},title:"",leftSideComponent:t.jsx(zi,{onClick:()=>lt?.(),"data-testid":y("remi-detail-page-nav-bar-zeni-logo")}),enableTitleOnScroll:!1,backgroundColor:ye.colors.background,keepBackgroundOnScroll:!0,scrollableContent:P,source:"ReimbursementDetailPage"}):null,o!=="small"?t.jsx(ji,{}):null,t.jsx(Re,{"data-testid":y("reimbursement-detail-page-nav-bar-right"),title:X??xe,leftSideComponent:t.jsx(t.Fragment,{}),style:{width:o!=="small"?"58%":"100%"},rightSideComponent:t.jsxs(Ai,{children:[u?t.jsxs(Mi,{isDisabled:D,onClick:D?()=>null:s=>{s.preventDefault(),s.stopPropagation(),mt({roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityType:"reimbursement.details",entityId:e.remiDetails?.id??""}),B(!0),st.trackCommentActivity("reimbursement","clicked",d.currentTenant?.companyName??"",d.controllersList.controllers.map(n=>Wt(n)),void 0,void 0,"page icon")},"data-testid":y("remi-comments-section"),children:[t.jsx(_t,{count:D?void 0:zt,isLoading:D,style:{left:"12px"}}),t.jsx(Ri,{})]}):null,t.jsx(Pi,{size:o,onClick:()=>ut(),"data-testid":y("remi-detail-page-close"),children:t.jsx(ki,{})})]}),scrollableContent:P,enableTitleOnScroll:o!=="small",scrollThreshold:64,source:"ReimbursementDetailPage"})]}),t.jsxs(Ki,{children:[o==="small"?t.jsxs(t.Fragment,{children:[t.jsx(He,{windowSize:o,children:t.jsx(qe,{windowsSize:o,children:X})}),e.createdBy?.userId!=null?t.jsx(Ue,{windowSize:o,children:`${i.by} ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,de&&$!=null?t.jsx(Ve,{color:$.color,bgColor:$.bgColor,borderColor:$.borderColor,children:$.value}):null,A?.code!=null?o==="small"?t.jsxs(t.Fragment,{children:[t.jsx(Et,{progressSectionObj:A,createDate:e.remiDetails?.createTime,paymentDate:Z,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:W}),R?t.jsx(Pe,{variant:"warning",style:{margin:`${a.sp5} ${a.sp3}`},title:N.duplicateWarning.title,description:N.duplicateWarning.description}):De?t.jsxs(_e,{size:o,children:[t.jsx(Fe,{}),t.jsxs(Ee,{children:[t.jsx(We,{children:i.thereSeems}),t.jsx(Ke,{children:i.pleaseFind})]})]}):null]}):t.jsx(Ge,{windowSize:o,children:t.jsx(Be,{progressSectionObj:A,createDate:e.remiDetails?.createTime,paymentDate:Z,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:W})}):null]}):null,S.map((s,n)=>{const v=e.duplicateLineByLineId[s.lineId];return t.jsxs(Xe,{windowSize:o,children:[t.jsx(_i,{windowSize:o,children:t.jsx(Wi,{bottomSeperator:S.length!==1,windowSize:o,children:t.jsx(ri,{showAutofill:!1,uploadInvoiceEndPoint:U,authParams:it,entityId:e.remiDetails?.id,file:s.file,showTitlebar:!0,showTitlebarIcon:!1,pdfTitle:S.length>1?`#${n+1} Receipt`:"Receipt",style:{width:"auto",padding:0,height:S.length-1===n||n===0?760:451},onInvoiceUpload:()=>{console.log("onInvoiceUpload")},noAttachmentText:i.noReceiptAttached,type:"receipt"})})}),t.jsxs(Oi,{windowSize:o,children:[n===0&&o!=="small"?t.jsxs(t.Fragment,{children:[t.jsxs(He,{windowSize:o,children:[t.jsx(qe,{windowsSize:o,children:X}),de&&$!=null?t.jsx(Ve,{color:$.color,bgColor:$.bgColor,borderColor:$.borderColor,children:$.value}):null]}),e.createdBy?.userId!=null?t.jsx(Ue,{windowSize:o,children:`By ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,A?.code!=null?t.jsx(Ge,{windowSize:o,children:t.jsx(Be,{progressSectionObj:A,createDate:e.remiDetails?.createTime,paymentDate:Z,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:W})}):null,R?t.jsx(Pe,{variant:"warning",style:{margin:`${a.sp3} ${a.sp8} ${a.sp3} ${a.sp6}`},title:N.duplicateWarning.title,description:N.duplicateWarning.description}):De?t.jsxs(_e,{size:o,children:[t.jsx(Fe,{}),t.jsxs(Ee,{children:[t.jsx(We,{children:i.thereSeems}),t.jsx(Ke,{children:i.pleaseFind})]})]}):null]}):null,t.jsxs(hi,{windowSize:o,ref:ze=>{ze!=null&&(ge.current[`L${s.lineId}`]=ze)},children:[o!=="small"?t.jsx(ui,{children:t.jsx(yi,{children:S.length>1?`#${n+1} ${i.reimbursement}`:i.reimbursement})}):null,t.jsxs(gi,{windowSize:o,children:[v?.duplicateLineId!=null?t.jsxs(mi,{children:[i.thisExpenseReview," ",t.jsx(pi,{onClick:()=>{if(v.isDuplicateWithinTransaction&&v.duplicateLineId!=null)return be(`L${v.duplicateLineId}`);v.duplicateTransactionId!=null&&v.duplicateLineId!=null&&ot(v.duplicateTransactionId,v.duplicateLineId)},"data-testid":y("remi-view-duplicate-expense"),children:i.viewOriginalExpense})]}):null,t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:s.type===i.mileageKey?`${n}.mileage.reimbursementType`:`${n}.out_of_pocket.reimbursementType`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("reimbursementType",n,s.type===i.mileageKey?"mileage":"out_of_pocket")}`},style:{borderRadius:v?.duplicateLineId==null?`${a.sp2} ${a.sp2} 0 0`:"0 0 0 0"},children:t.jsx(x,{label:{label:i.reimbursementType,width:k},text:s.type===i.mileageKey?i.mileage:i.outOfPocket,style:{width:"auto",borderRadius:v?.duplicateLineId==null?`${a.sp2} ${a.sp2} 0 0`:"0 0 0 0"}})}),t.jsx(T,{}),s.type===i.mileageKey?t.jsxs(t.Fragment,{children:[t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.mileage.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("transactionDate",n,"mileage")}`},children:t.jsx(x,{label:{label:i.transactionDate,width:k},text:s.transactionDate?.format(fe.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.mileage.distanceInMiles`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("distanceInMiles",n,"mileage")}`},children:t.jsx(x,{label:{label:i.distanceInMiles,width:k},text:s.distanceMileage.value.toString()??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.mileage.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("amount",n,"mileage")}`},children:t.jsx(x,{label:{label:i.amount,width:I},text:s.homeCurrencyConversions!=null?Ne("0,0[.]00",s.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.mileage.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("memo",n,"mileage")}`},children:t.jsx(x,{label:{label:i.memo,width:I},text:s.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.mileage.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("class",n,"mileage")}`},style:{borderRadius:`0 0 ${a.sp2} ${a.sp2}`},children:t.jsx(x,{label:{label:i.department,width:I},text:s.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:w({type:"details",key:`${n}.out_of_pocket.merchant`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("merchant",n,"out_of_pocket")}`},children:t.jsx(x,{label:{label:i.merchant,width:k},text:s.merchant?.name??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("transactionDate",n,"out_of_pocket")}`},children:t.jsx(x,{label:{label:i.transactionDate,width:k},text:s.transactionDate?.format(fe.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("amount",n,"out_of_pocket")}`},children:t.jsx(x,{label:{label:i.amount,width:I},text:s.homeCurrencyConversions!=null?Ne("0,0[.]00",s.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("memo",n,"out_of_pocket")}`},children:t.jsx(x,{label:{label:i.memo,width:I},text:s.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.account`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("account",n,"out_of_pocket")}`},children:t.jsx(x,{label:{label:i.category,width:I},text:s.lineDetail.account?.accountName??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("class",n,"out_of_pocket")}`},style:{borderRadius:`0 0 ${a.sp2} ${a.sp2}`},children:t.jsx(x,{label:{label:i.department,width:I},text:s.lineDetail.class?.className??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${a.sp2} ${a.sp2}`}})})]})]})]}),S.length!==1&&S.length===n+1&&t.jsxs(Li,{windowSize:o,children:[t.jsxs(Je,{windowSize:o,children:[t.jsx(Qe,{children:i.total}),t.jsx(Le,{amount:ve,integerStyles:K.h6Regular.cssObject,decimalStyles:K.standardRegular.cssObject})]}),e.remiDetails&&t.jsx(Oe,{amount:Te,activities:e.remiActivities,stage:L?.code??"draft",onAddNewRule:he,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:oe,signedInUserId:ne?.userId,showRealTimeApproval:se,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:ce,onSaveRealTimeApprovals:me},historicActivities:e.remiHistory.activities})]})]})]},s.lineId)}),S.length===1&&t.jsxs(Xe,{windowSize:o,children:[t.jsx(Ye,{}),t.jsxs(di,{windowSize:o,children:[t.jsx(Ni,{windowSize:o,children:t.jsxs(Je,{windowSize:o,children:[t.jsx(Qe,{children:i.total}),t.jsx(Le,{amount:ve,integerStyles:K.h6Regular.cssObject,decimalStyles:K.standardRegular.cssObject})]})}),e.remiDetails&&t.jsx(ci,{windowSize:o,children:t.jsx(Oe,{amount:Te,activities:e.remiActivities,stage:L?.code??"draft",onAddNewRule:he,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:oe,signedInUserId:ne?.userId,showRealTimeApproval:se,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:ce,onSaveRealTimeApprovals:me}})})]})]}),t.jsx(Ei,{})]}),$e||W===!0?null:t.jsxs(Di,{children:[o!=="small"?t.jsx(Ye,{}):null,t.jsx(wi,{windowSize:o,"data-testid":y("remi-detail-page-footer"),onClick:s=>{s.stopPropagation(),Y===!0&&G(!1)},children:t.jsx(Kt,{separatorStyle:{marginRight:a.sp4},showPrimaryButton:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||le,showCancel:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||le,cancelBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?o==="small"?i.buttons.delete:i.buttons.deleteReport:o==="small"?i.buttons.reject:i.buttons.rejectReport,isLoading:q==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress"||q==="delete"&&e.deleteStatus.fetchState==="In-Progress",onClick:jt,style:{width:l.footerButtonWidth.value(o)},reverseSpinnerColor:!1},primaryBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?o==="small"?i.buttons.edit:i.buttons.editAndResubmit:o==="small"?i.buttons.approve:i.buttons.approveReport,isLoading:q==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:St,style:{width:l.footerButtonWidth.value(o)},isDisabled:e.approvalUpdateStatus.fetchState==="In-Progress"||e.realTimeApproval.isEditMode===!0},rightSideComponent:t.jsx(bi,{children:t.jsxs(Ii,{windowSize:o,children:[!R&&Y?t.jsx(Ft,{onClickAway:()=>G(!1),children:t.jsxs(Si,{windowSize:o,children:[ee!=="processing"?t.jsx(re,{onClick:Se,"data-testid":y("remi-delete-action"),children:i.buttons.deleteReport}):null,ee==="processing"?t.jsx(re,{onClick:$t,"data-testid":y("remi-cancel-action"),children:i.buttons.cancel}):null,ee==="processing"?t.jsx(re,{onClick:vt,"data-testid":y("remi-cancel-and-delete-action"),children:i.buttons.cancelAndDelete}):null]})}):null,t.jsxs(Ti,{windowSize:o,children:[!R&&Ie===!0?t.jsx(vi,{onClick:je,"data-testid":y("remi-edit-button"),children:t.jsx($i,{})}):null,!R&&Dt===!0?t.jsx(fi,{windowSize:o,showEditIcon:Ie,children:t.jsx(xi,{onClick:()=>G(!Y),"data-testid":y("remi-more-actions-button")})}):null]})]})}),style:{minHeight:62}})})]}),u?t.jsx(ai,{id:h,children:t.jsx(Ut,{isDrawerOpen:pt,allowComposer:!0,drawerTitle:yt,threads:M,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:C?.companyId??xe,isGlobalComment:!1,tab:"reimbursement"},isLoading:D,threadMetadata:C?{companyName:C.companyName,companyId:C.companyId,entityId:C.entityId,entityType:C.entityType,isGlobalComment:!1,application:"dashboard",tab:"reimbursement",url:window.location.href}:void 0,textOverrides:{composerPlaceholder:gt,replyComposerPlaceholder:bt,threadResolve:wt,threadUnResolve:xt},onThreadClick:(s,n)=>kt(s,n),onCloseAllThreadsDrawer:()=>B(!1),drawerSectionStyle:{width:"400px",backgroundColor:ye.colors.background}})}):null]})},si=e=>{const U=Ze.getLocalizedStrings().spendManagement.billPay.billsByTabs;if(e?.isDeleted===!0)return{value:U.tabsById.deleted,color:ae.deleted.color,bgColor:ae.deleted.bgColor,borderColor:ae.deleted.borderColor,code:"deleted"}},di=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: ${e=>l.rightSectionWidth.valuePercentage(e.windowSize)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as me,u as z,X as v,a1 as de,l as D,M as K,j as e,Y as c,aV as pe,K as g,i as m,o as s,Z as xe,c0 as he,a5 as F,e as ue,C as ge,g as j,c2 as we,a6 as je,ao as be,m as fe}from"./index-
|
|
1
|
+
import{w as me,u as z,X as v,a1 as de,l as D,M as K,j as e,Y as c,aV as pe,K as g,i as m,o as s,Z as xe,c0 as he,a5 as F,e as ue,C as ge,g as j,c2 as we,a6 as je,ao as be,m as fe}from"./index-Bac0rl1Z.js";import{b as f,n as t,k as $e}from"./vendor-CnQcJ2Lu.js";import{x as ye}from"./MeetingCalenderPopup-B5M2lm-y-3o2gRW-j.js";import{f as ke,C as N}from"./play-icon-BaaR5WkW-DL1x5IAn.js";import{M as C}from"./usp-line-BBd1wKwW-CgKq8-Xn.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const O="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-light.png",X="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-dark.png",Se={midContainerMarginBottom:new ge(fe[5],44)},ze=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
min-height: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as Ee,X as Ve,a1 as N,a as qe,c3 as Ge,M as Te,l as Ke,a7 as be,j as t,cI as Ze,g as K,C as r,aV as Je,c as Ye,F as Qe,c_ as Xe,aQ as et,c$ as tt,a3 as it,o as a,m as n,bH as nt,cg as ot,co as at,eY as ve,eZ as ke,fH as lt,K as rt,Y as $e,Q as Pe,bc as st,v as ct,aN as dt}from"./index-
|
|
1
|
+
import{u as Ee,X as Ve,a1 as N,a as qe,c3 as Ge,M as Te,l as Ke,a7 as be,j as t,cI as Ze,g as K,C as r,aV as Je,c as Ye,F as Qe,c_ as Xe,aQ as et,c$ as tt,a3 as it,o as a,m as n,bH as nt,cg as ot,co as at,eY as ve,eZ as ke,fH as lt,K as rt,Y as $e,Q as Pe,bc as st,v as ct,aN as dt}from"./index-Bac0rl1Z.js";import{b as o,n as i}from"./vendor-CnQcJ2Lu.js";import{F as ut}from"./HelpButton-BvPX8uxd-BlwFNZhB.js";import{K as je}from"./SetUpDefaultSection-Dbzui0hL-DgmPb_eb.js";import{f as mt}from"./SpendMgmtSetupAccountSection-DF3XzW-2-DM5lmQVp.js";import{g as pt}from"./UploadAdditionalDocumentOverlay-DiX5Dbc--BGaLR6hc.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-B5M2lm-y-3o2gRW-j.js";import"./ChargeCardUtils-BQZTS-KQ-BEdPKA-Q.js";import"./CreditCardPaymentPlgSection-C86KVs5o-DS3hiQEi.js";import"./ChaseOverlay-DveM_aY_-DNzo2JiY.js";const gt=e=>o.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},o.createElement("path",{d:"M12.7113 3H2.89261C2.39963 3 2 3.39963 2 3.89261V20.8522C2 21.3451 2.39963 21.7448 2.89261 21.7448H12.7113C13.2043 21.7448 13.6039 21.3451 13.6039 20.8522V3.89261C13.6039 3.39963 13.2043 3 12.7113 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M10.4798 13.7113H9.58719C9.3407 13.7113 9.14088 13.9111 9.14088 14.1576V16.8354C9.14088 17.0819 9.3407 17.2817 9.58719 17.2817H10.4798C10.7263 17.2817 10.9261 17.0819 10.9261 16.8354V14.1576C10.9261 13.9111 10.7263 13.7113 10.4798 13.7113Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M21.6374 16.1133C21.6374 16.1961 21.6143 16.2773 21.5708 16.3477C21.5273 16.4182 21.4651 16.4752 21.391 16.5123L19.8522 17.2817V14.6039H21.1911C21.3095 14.6039 21.423 14.6509 21.5067 14.7346C21.5904 14.8183 21.6374 14.9318 21.6374 15.0502V16.1133Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M19.8522 14.6039V13.265C19.8522 12.5268 22.53 10.1409 22.53 10.1409",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M19.8522 17.2817V19.9596C19.8522 20.433 19.6641 20.8871 19.3293 21.2219C18.9945 21.5567 18.5404 21.7448 18.067 21.7448C17.5935 21.7448 17.1394 21.5567 16.8046 21.2219C16.4698 20.8871 16.2817 20.433 16.2817 19.9596V7.90935C16.2817 7.55424 16.1407 7.21369 15.8896 6.96259C15.6385 6.7115 15.2979 6.57043 14.9428 6.57043H13.6039",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M2 10.1409H13.6039",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M11.3724 4.78528H4.23154C3.98505 4.78528 3.78523 4.9851 3.78523 5.23158V7.90941C3.78523 8.15589 3.98505 8.35571 4.23154 8.35571H11.3724C11.6189 8.35571 11.8187 8.15589 11.8187 7.90941V5.23158C11.8187 4.9851 11.6189 4.78528 11.3724 4.78528Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M9.14088 19.0669H10.9261",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),h={sectionWidth:new r(343,580,726),iconContainerMaxWidthHeight:new r(n[6],n[7]),iconContainerMarginRight:new r(12,n[3]),infoLabelPaddingLeft:new r(n[0],n[3]),iconPadding:new r(10,12),iconWidthHeight:new r(20,n[4]),rowGap:new r(n[2],n[3]),containerPadding:new r(n[3],n[4])},ge={title:new Pe("standardSemiBold","largeSemiBold"),infoLabel:new Pe("extraSmallRegular","smallRegular")};function ht({companyMileageConfigInfo:e,mileageDetails:y,analytics:j,style:A,sectionId:$,isActive:d=!0,isDisabled:s,onSaveMileageClick:Z}){const l=Ve(),D=Ee(),{formState:{errors:J},trigger:Y}=ot(),E=ft($,"mileageAmountInDenomination"),f=at(J,E),{localData:c,updateStatus:R,mileageStatus:C}=y,U=e?.denominationConversions.amount==null||e.denominationConversions.amount!==c?.mileageAmountInDenomination,{commonSetUp:Q,spendManagement:X}=Te.getLocalizedStrings(),{reimbursement:ee}=X,[S,V]=o.useState(U),[te,H]=o.useState(!1);o.useEffect(()=>{f||Y(E)},[]),o.useEffect(()=>{e?.denominationConversions.amount!=null&&e.denominationConversions.amount===c?.mileageAmountInDenomination&&V(!1)},[e?.denominationConversions.amount]),o.useEffect(()=>{S||H(S)},[S]);const{reimbursementSetup:x}=ee,{setUp:ie}=Q,ne=S===!1||R.fetchState==="In-Progress"?"readonly":s,oe=c&&c?.denominationSymbol?`${c?.denominationSymbol} `:"",ae=c&&c?.mileageUnit?c?.mileageUnit:"";return t.jsxs(xt,{windowSize:l,style:A,isActive:d&&s==null,children:[t.jsxs(Pt,{windowSize:l,children:[x.mileageHeader,d===!1?t.jsx(Dt,{children:ie.comingSoon}):null]}),t.jsxs(kt,{windowSize:l,children:[t.jsx(vt,{windowSize:l,isDarkMode:D.mode==="dark",children:t.jsx(gt,{width:h.iconWidthHeight.valuePx(l),height:h.iconWidthHeight.valuePx(l)})}),t.jsxs(wt,{children:[t.jsxs($t,{children:[t.jsxs(jt,{children:[t.jsxs(At,{children:[t.jsx(Ct,{windowSize:l,children:e?.denominationConversions.amount==null?x.mileageAddTitle:x.mileageEditTitle}),t.jsx(St,{children:x.mileageSubTitle})]}),C!=null&&e?.denominationConversions.amount!=null&&l==="small"?t.jsx(ve,{style:{width:"max-content",padding:a.sp0,marginTop:a.sp2},tagTitle:C.name,textColor:ke(C.code)}):null]}),t.jsxs(yt,{children:[C!=null&&e?.denominationConversions.amount!=null&&l!=="small"?t.jsx(ve,{style:{width:"max-content"},tagTitle:C.name,textColor:ke(C.code)}):null,t.jsx(bt,{})]})]}),t.jsxs(Et,{children:[t.jsxs(Vt,{children:[t.jsx(lt,{style:{height:a.sp6,textAlign:"left"},inputStyle:{textAlign:"left",paddingRight:a.sp10,backgroundColor:f?void 0:D.colors.background,color:S||f?void 0:D.colors.grey1},isFieldError:f,type:"number",autoFocus:!1,focus:te,name:E,defaultValue:c?.mileageAmountInDenomination,returnValueType:"floatValue",allowEmptyFormatting:!0,prefix:oe,suffix:` ${x.perText} ${ae}`,decimalScale:1,allowNegative:!1,isNumericString:!1,registerOptions:{min:1,validate:T=>T!=null||s!=null,required:s==null},isDisabled:ne}),t.jsx(It,{children:S?t.jsx(rt,{label:x.save,"data-testid":$e("save-mileage"),onClick:()=>{c?.mileageAmountInDenomination!=null&&U&&!f&&Z?.(c.mileageAmountInDenomination)},style:{outline:"none"},size:"small",disabled:s!=null,variant:"light_transparent",reverseSpinnerColor:!1,loading:R.fetchState==="In-Progress"}):t.jsx(Lt,{isDisabled:s,"data-testid":$e("edit-mileage"),onClick:T=>{T.stopPropagation(),V(!0),H(!0),j.trackReimbursementMileageRateEdit()}})})]}),c?.description!=null?t.jsx(Tt,{size:l,hasError:f,children:f&&e?.defaultMileageUnitAmount!=null?x.yourMileage.replace("__defaultMileageUnitAmount__",(e.defaultMileageUnitAmount*100).toString()):c.description}):null]})]})]})]})}const ft=(e,y)=>`${e}.${y}`,xt=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{M as N,j as b,bO as z,bQ as V,bR as W,jl as q,aa as G,l as Q}from"./index-
|
|
1
|
+
import{M as N,j as b,bO as z,bQ as V,bR as W,jl as q,aa as G,l as Q}from"./index-Bac0rl1Z.js";import{b as f}from"./vendor-CnQcJ2Lu.js";import{m as X}from"./ReviewOverlay-Dgnr47GU-BR4bFQZ5.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const{common:n,spendManagement:{reimbursement:k}}=N.getLocalizedStrings(),o=k.bulkActions;let I;const ae=({remisReviewView:e,isAdmin:l,analytics:i,onProceedForBulkActionClick:d,onCloseReviewItem:r,onCloseOverlay:s})=>{const{fetchState:p,bulkSubmissionFetchState:c,bulkOperationTypeSelected:t,currentTab:v,currentSubTab:g}=e,h=!1,[w,a]=f.useState(!1),[m,_]=f.useState(R(e,h,l)),[x,P]=f.useState(h),[B,H]=f.useState(0),[y,A]=f.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});f.useEffect(()=>(B===m.length&&x&&(P(!1),clearInterval(I)),e.fetchState==="Completed"&&_(R(e,!1,l)),()=>{clearInterval(I)}),[m.length,B,x,e.fetchState,h,e,l]);const E=m.length,S=m.filter(u=>u.reviewStatus.code!=="error").length,F=()=>{const{title:u,description:T}=Y(S);A({type:"reject",title:u,description:T,primaryButtonText:n.texts.confirm,secondaryButtonText:n.texts.close}),i.trackReimbursementBulkSubmit(t,v,g),a(!0)},$={onOkClick:u=>{a(!1);const T=e.remisForReview.map(j=>j.reimbursement);i.trackReimbursementBulkPopupConfirm(t,v,g,Q.getRemiListUniqueType(T.map(j=>j?.reimbursementTypesIncluded??[]))),d("reject",u)},onCancelClick:()=>{a(!1)}},{title:L,description:U}=Z(p,S,E,x),C=e.fetchState==="Completed"&&S===0,O=()=>{i.trackReimbursementBulkSubmit(t,v,g),d(t)},D=()=>{let u=n.footer.approve;return C?u=n.texts.close:t==="send_for_approval"&&(u=n.footer.submit),{label:u,isDisabled:p!=="Completed"||t==="reject"&&c==="In-Progress",isLoading:c==="In-Progress"&&(t==="send_for_approval"||t==="approve"),onClick:C?s:O,style:t==="send_for_approval"?{minWidth:"92px"}:{}}},M={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:F,style:t==="approve"?{minWidth:"92px"}:{}};return b.jsxs(b.Fragment,{children:[w?b.jsx(z,{titleComponent:b.jsx(W,{children:y.title}),descriptionComponent:b.jsx(V,{children:y.description}),primaryButtonText:y.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:y.secondaryButtonText,action:$,isNotesIncluded:!0,isEditPopup:!0}):null,b.jsx(X,{title:L,description:{content:U,isError:e.fetchState==="Completed"&&S===0},reviewItems:m,onCloseReviewItem:r,onCloseOverlay:s,showFooter:e.fetchState==="Completed"&&!x,footerProps:{primaryButton:D(),cancelButton:M,hideCancel:C}})]})},R=(e,l,i)=>{const d=e.fetchState==="In-Progress";return e.remisForReview.map(r=>{const s=q(i,r.submittedBy);return{id:r.transactionId,leftSideText:{title:r.reimbursement?.reportTitle!=null?r.reimbursement.reportTitle:k.reimbursementDetail.newReimbursementTitle,subTitle:s!=null?`${n.by} ${s?.firstName} ${s?.lastName}`:n.strings.empty},rightSideText:{title:G("0,0.[00]",r.reimbursement?.amount?.amount,r.reimbursement?.amount?.currencySymbol),showThunderIcon:!1,subTitle:r.reviewInfoMessage??""},reviewStatus:{isLoading:d,code:r.reviewStatus??""}}})},Y=e=>{const{this_:l,these:i,report:d,reports:r,payment:s,payments:p}=n.texts;return e>1?{title:o.popUps.reject.title.replace("__report__",o.reports),description:o.popUps.reject.description.replaceAll("<_this_>",i).replaceAll("<_payment_>",p).replaceAll("__report__",r)}:{title:o.popUps.reject.title.replace("__report__",o.report),description:o.popUps.reject.description.replaceAll("<_this_>",l).replaceAll("<_payment_>",s).replaceAll("__report__",d)}},Z=(e,l,i,d)=>{const{has:r,have:s,report:p,reports:c,are:t,is:v,do_:g,does:h}=n.texts,w=l>1,a=i>1;let m="",_="";return e==="Completed"&&!d?(m=o.reviewPage.reportsReviewed.title.replace("__report__",a?k.bulkActions.reports:o.report).replace("<_has_>",a?s:r),l===0?_=o.reviewPage.reportsReviewed.descriptionError.replace("__report__",a?c:p).replace("<_do_>",a?g:h):_=`${l}/${i} ${o.reviewPage.reportsReviewed.description.replace("__report__",i>1?c:p).replace("<_is_>",w?t:v)}`):(m=o.reviewPage.reportsReviewing.title.replace("__report__",a?c:p),_=o.reviewPage.reportsReviewing.description.replace("__report__",a?c:p)),{title:m,description:_}};export{ae as default};
|