@zeniai/web-cockpit-ui 1.14.60-dev → 1.14.60-qa
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{ACHDetailsPage-CMtJmLWB-DQhXzbDg.js → ACHDetailsPage-CMtJmLWB-DufQTQrW.js} +1 -1
- package/dist/assets/{AIPerformancePage-B4K4X8Cn-D4gjKeuN.js → AIPerformancePage-B4K4X8Cn-BGJDmmSs.js} +1 -1
- package/dist/assets/{AccountInfoPage-g8J8r2CO-BGDCYjCh.js → AccountInfoPage-g8J8r2CO-CDLJ3CcM.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-BTkkbk49-DuydWxU4.js → AccountInfoPageContent-BTkkbk49-Dp9zNAHz.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-B1gvhmCC-CYBkIUFK.js → AccountLockedInfoModal-B1gvhmCC-5CwfRV_A.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-BA3wJm2M-CP9qc5X-.js → AccountReconDetailsDrawerPage-BA3wJm2M-BHXn2h7U.js} +1 -1
- package/dist/assets/{AccountRow-BwLd4zoq-DdBW7IHI.js → AccountRow-BwLd4zoq-ZDzzlrC7.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-7iMhZxTm-Bs59YFQ-.js → AccountsPromoCardStack-7iMhZxTm-B05wr1hu.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-CKdlqnIU-BPIlLU_N.js → AddAddressForCardDrawer-CKdlqnIU-DZaG36zo.js} +1 -1
- package/dist/assets/{AddToWalletPage-CZ7I0vFD-BK3aabbu.js → AddToWalletPage-CZ7I0vFD-B9QfA2i7.js} +1 -1
- package/dist/assets/{AgingReportsPage-AIa3Cz-h-CB5CZ-Ae.js → AgingReportsPage-AIa3Cz-h-TUAOLU8v.js} +1 -1
- package/dist/assets/{AllUserItems-DhY8SHjT-Cn24zfBi.js → AllUserItems-DhY8SHjT-BBOWANm6.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-Ckw9fZle-C8AjvTns.js → ApAgingDetailPage-Ckw9fZle-CV-rlBEt.js} +1 -1
- package/dist/assets/{AppBasePage-C1hmvWyj-BiTNxCD2.js → AppBasePage-C1hmvWyj-Bqxe2LIw.js} +1 -1
- package/dist/assets/{AppDrawerContent-DiNGglLb-DJgey8sj.js → AppDrawerContent-DiNGglLb-nYA2BDki.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-CzWAjh1M-YBe6xfFf.js → ApprovalRulesSettingsPage-CzWAjh1M-D6nBZP2N.js} +1 -1
- package/dist/assets/{ArAgingChart-DrNoSF9D-4L5jqDNL.js → ArAgingChart-DrNoSF9D-BMHcmd6x.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-b2PAWlZI-BvwqC_5I.js → ArAgingDetailPage-b2PAWlZI-vRPeYNa9.js} +1 -1
- package/dist/assets/{AttachmentView-BHnVquLu-Doi0wc3T.js → AttachmentView-BHnVquLu-6hZ55twC.js} +1 -1
- package/dist/assets/{BankAccountSection-FoTrxLuO-BfDUF-LF.js → BankAccountSection-FoTrxLuO-BqORj6XR.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-CESdMQAp-DgR47uIB.js → BankAccountWarningSection-CESdMQAp-Dvr6IBQT.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-BbgFwEOu-BCi15Nfj.js → BankConnectionsSettingsPage-BbgFwEOu-CI-sjhMe.js} +1 -1
- package/dist/assets/{BillDetailPage-BUMvIc_J-HyeIbfP4.js → BillDetailPage-BUMvIc_J-DH-orRQg.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-CmTYtfyR-Bdb7Q3dQ.js → BillPayApprovalRuleDetailPage-CmTYtfyR-BD7oLrOg.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-B324GvTg-CqCExapJ.js → BillPayApprovalRulesPage-B324GvTg-D0U7LzE6.js} +1 -1
- package/dist/assets/{BillPayPromoPage-C9d-WjPg-DUBczhcQ.js → BillPayPromoPage-C9d-WjPg-C57VPMAK.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-BGuFqMMd-13AKk7P1.js → BillPaySetUpPage-BGuFqMMd-BgQjW6z_.js} +1 -1
- package/dist/assets/{BillingSettingsPage-CF682rr6-Wqs-gv2E.js → BillingSettingsPage-CF682rr6-D0Pbh6y3.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-ByQlaRw8-Q4fHvh2d.js → BillsBulkReviewDrawerPage-ByQlaRw8-CpVP7Bo9.js} +1 -1
- package/dist/assets/{BoxItem-T-wRQ6H--Dq_o5Dqu.js → BoxItem-T-wRQ6H--CXeEcx6r.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-ueN5uvGI-BiY6sBrR.js → BusinessVerificationPage-ueN5uvGI-CFi0yTlP.js} +1 -1
- package/dist/assets/{CardNumberSubText-BjKu7YKY-CvmQ2Prz.js → CardNumberSubText-BjKu7YKY-jR-gP-EZ.js} +1 -1
- package/dist/assets/{CashbackDetailPage-DtSnBiJ8-BvwlyQUZ.js → CashbackDetailPage-DtSnBiJ8-ZJXHgARm.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-C2a33ffW-BQEiFSOJ.js → ChargeCardDetailPage-C2a33ffW-BPlobT4a.js} +1 -1
- package/dist/assets/{ChargeCardListPage-BLnfVs2i-BUzlMQ7d.js → ChargeCardListPage-BLnfVs2i-BYYQsrhu.js} +1 -1
- package/dist/assets/{ChargeCardListTable-DOhn3tAQ-Dw_58FPh.js → ChargeCardListTable-DOhn3tAQ-C29o3Bmc.js} +1 -1
- package/dist/assets/{ChargeCardPromoPage-DJPvD2XN-CU8_Ls5G.js → ChargeCardPromoPage-DJPvD2XN-UgTcQjN9.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-BrLtSKZL-BEbmZGyf.js → ChargeCardSetupPage-BrLtSKZL-DYRwZUoG.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-CVNsePU1-BJv6Oj8n.js → ChargeCardStatementsPage-CVNsePU1-DaKopCj3.js} +1 -1
- package/dist/assets/{ChargeCardUtils-DJmy0Cev-BUo12Y2M.js → ChargeCardUtils-DJmy0Cev-DpywgBWY.js} +1 -1
- package/dist/assets/{ChaseOverlay-rri8XLPh-ZE4RLtOn.js → ChaseOverlay-rri8XLPh-Ce609WI1.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-BbVV-iey-DccMHPs0.js → CheckDepositDrawerPage-BbVV-iey-CjNbfTfO.js} +1 -1
- package/dist/assets/{CollapsableReportTable-C1EUOKF0-C_jAnLaf.js → CollapsableReportTable-C1EUOKF0-BNL-lwFO.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-Dgb-zu3S-lD_pvDXL.js → CompanyOfficerDetailsSection-Dgb-zu3S-Coo-VoVI.js} +1 -1
- package/dist/assets/{CompanyPassportCard-CzrOdaKP-CVELesEt.js → CompanyPassportCard-CzrOdaKP-BLsdx4RO.js} +1 -1
- package/dist/assets/{CompanyPassportPage-DflzhkM3-Br2nxKzM.js → CompanyPassportPage-DflzhkM3-DiFUsOgP.js} +1 -1
- package/dist/assets/{CompleteProfile-C3oZl1r8-gZ35zA-b.js → CompleteProfile-C3oZl1r8-CgtY9yON.js} +1 -1
- package/dist/assets/{ConfettiBurst-BEsxeRGY-Cwmr7Ra6.js → ConfettiBurst-BEsxeRGY-NQZmqBo9.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-B_-4ElTt-CuaWs8Eg.js → CreateOrEditVendorPage-B_-4ElTt-DNsq3bMV.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-BGQ6V3r7-CvDpAebX.js → CreditCardPaymentDrawerPage-BGQ6V3r7-CIMSA6fH.js} +1 -1
- package/dist/assets/{CreditCardPaymentPlgSection-DhdW49G9-DdiBw_az.js → CreditCardPaymentPlgSection-DhdW49G9-ARxRUbiI.js} +1 -1
- package/dist/assets/{CurrencySelectField-gfHhmXUP-BY0RpaAG.js → CurrencySelectField-gfHhmXUP-sgeYQo3A.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-BUxy6VWQ-C_awodyw.js → CustomerOnboardingActivationPage-BUxy6VWQ-BTh1ko--.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-DbMON4x7-BriViCwh.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CE6fU0CC-BtvpG6GF.js → CustomerOnboardingDetailPageSkeleton-CE6fU0CC-DGUSU9Qb.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-lYXlJE6O-BVYLQN62.js → CustomerOnboardingNoStepsPage-lYXlJE6O-CTDL4dkj.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-BOxVLi_7-C6s9HwKN.js → CustomerOnboardingPage-BOxVLi_7-CxBKz-tb.js} +1 -1
- package/dist/assets/{CustomerOnboardingProductSuitePage-tFWnWf80-Cfqw8TIR.js → CustomerOnboardingProductSuitePage-tFWnWf80-BO1DZhCb.js} +1 -1
- package/dist/assets/{Dashboard-CFylpdvX-CltF1jxw.js → Dashboard-CFylpdvX-BO1rfT4j.js} +1 -1
- package/dist/assets/{DashboardReportPage-CVX19wiC-BUP1Jnh-.js → DashboardReportPage-CVX19wiC-CebE1nks.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-DUDUA9AZ-BLGsekc5.js → DashboardSidebarBackgroundAnimation-DUDUA9AZ-D-zpYINh.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-CxfgDISi-CKa_EiV0.js → DepositAccTransactionItem-CxfgDISi-44BRhsYv.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-DRqc04U8-JrqD0VJW.js → DepositAccTransactionListPage-DRqc04U8-CE1VC7HT.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-C6bslILa-ppkWC5kZ.js → DomesticWireDetailsPage-C6bslILa-BQEqN4Se.js} +1 -1
- package/dist/assets/{DownloadOverlay-DA4eiUda-BtXfr7ZI.js → DownloadOverlay-DA4eiUda--qrkecKD.js} +1 -1
- package/dist/assets/{DrawerPage-CSD0D3x1-D3G0L0oc.js → DrawerPage-CSD0D3x1-1v_n4sH_.js} +1 -1
- package/dist/assets/{EditPeoplePage-GdNNwE7E-BEpvNk10.js → EditPeoplePage-GdNNwE7E-Bj0gM6YA.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-rwql32yU-DsXFOn4S.js → EditReimbursementDetailPage-rwql32yU-C1JgYIYI.js} +1 -1
- package/dist/assets/{EntityDetailPage-D8H8sU7_-Oqd5_TsJ.js → EntityDetailPage-D8H8sU7_-BKfugH_5.js} +1 -1
- package/dist/assets/{EntitySummarySection-Dxz5sy7--Db0e26XV.js → EntitySummarySection-Dxz5sy7--DiMkjhXV.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-CsQp9uKU-z6AEDy2Q.js → ExpenseAutomationOverviewPage-CsQp9uKU-CQzTcRJH.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-DBKdtY0f-D5ZySpMQ.js → ExpenseAutomationPage-DBKdtY0f-BkFMwu1n.js} +1 -1
- package/dist/assets/{ExpressPayPage-gRjIRDdU-DpzCPmSd.js → ExpressPayPage-gRjIRDdU-C1wPwf-b.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-BPoobhW5-CMUdbScO.js → FeaturePreviewPage-BPoobhW5-BNut5LE3.js} +1 -1
- package/dist/assets/{FollowStepsSection-DL-HmGt4-B07h0nMR.js → FollowStepsSection-DL-HmGt4-C9a7p1zc.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-BwayoUqk-BAKfMlUY.js → GlobalReviewListPage-BwayoUqk-zNgij7XG.js} +1 -1
- package/dist/assets/{HelpButton-DHSxcuGA-DwWWEgET.js → HelpButton-DHSxcuGA-BWZnqsL1.js} +1 -1
- package/dist/assets/{InformationCardStack-CQrbuPaI-CcBAPyKE.js → InformationCardStack-CQrbuPaI-DD7lHSUO.js} +1 -1
- package/dist/assets/{InsightsCardStack--Yd4NJyO-CKY0kiTo.js → InsightsCardStack--Yd4NJyO-BuOs653N.js} +1 -1
- package/dist/assets/{InsightsSection-RhbVJwLe-VaxZIGbR.js → InsightsSection-RhbVJwLe-DAe2Ld9i.js} +1 -1
- package/dist/assets/{IntegrationsSettingsPage-TuhwrYKO-22MrR-jZ.js → IntegrationsSettingsPage-TuhwrYKO-dvnT80Dt.js} +1 -1
- package/dist/assets/{InternationalWireSwiftDetailsPage-DUbugoej-D6sO6HIf.js → InternationalWireSwiftDetailsPage-DUbugoej-BMHbf8S7.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-9iKYrH3T-DnYUji2j.js → InternationalWireVerificationPage-9iKYrH3T-CXMChPWn.js} +1 -1
- package/dist/assets/{InviteFormPage-BFt8joSd-B0HXG03I.js → InviteFormPage-BFt8joSd-DiMwTEIt.js} +1 -1
- package/dist/assets/{InvitePageListView-BL430ipu-BBCU0V8O.js → InvitePageListView-BL430ipu-B4gviswJ.js} +1 -1
- package/dist/assets/{InvitePeoplePage-zZKd7NJ2-B4-lZnId.js → InvitePeoplePage-zZKd7NJ2-DQg8k2k1.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-kF1uvItW-oXAWnQA1.js → InvoiceUploadSection-kF1uvItW-C4PGeuCJ.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-CsjlMV2S-D1xnElUS.js → IssueChargeCardPage-CsjlMV2S-CEdkGzhT.js} +1 -1
- package/dist/assets/{LabeledAddressValue-Bz9cBuQ1-C7fztkXU.js → LabeledAddressValue-Bz9cBuQ1-B9_4mOjB.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-DqETahiQ-D9NSPfBW.js → LabeledAddressValueField-DqETahiQ-BC9x39T7.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-v1rfkkSG-mhW9sszQ.js → LabeledControlledCheckBoxField-v1rfkkSG-BObZavW7.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-C12MwmYB-DHm12LqG.js → LabeledCreatableSingleSelectField-C12MwmYB-BaqV3sSs.js} +1 -1
- package/dist/assets/{LabeledDocumentField-C-VgKiqN-C-McvPsj.js → LabeledDocumentField-C-VgKiqN-Czu-AYcW.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-CTTY6aaV-CSsHAcBF.js → LabeledDropDownFormattedTextField-CTTY6aaV-DjzAdVnl.js} +1 -1
- package/dist/assets/{LabeledText-D-L9n7c9-B0Mtp9ry.js → LabeledText-D-L9n7c9-BFHVyn0b.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DL77o5I--DGlmeVNf.js → LabeledUserSingleSelectWithSubtitlesField-DL77o5I--18aBl5Eb.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-CkfPFUqd-DxyjrXR-.js → LabeledZeniRolesDropDownField-CkfPFUqd-oBon4BIk.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-34_mfubF-B2jlHjr8.js → LinkJETransactionPage-34_mfubF-CUsmKesx.js} +1 -1
- package/dist/assets/{LockCardPage-CXs-4wlr-CD3AqmHI.js → LockCardPage-CXs-4wlr-desKVP17.js} +1 -1
- package/dist/assets/{LowBalancePopup-BoD3u5NM-Cph1iWoq.js → LowBalancePopup-BoD3u5NM-PiOYTtaJ.js} +1 -1
- package/dist/assets/{MagicLinkACHDetailsPage-DePsU3gl-B-nhGcgD.js → MagicLinkACHDetailsPage-DePsU3gl-F30KOfI1.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-B0yVENRv-BQoYXnEc.js → MagicLinkDomesticWireDetailsPage-B0yVENRv-piusdIak.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-ytzbIbXw-D-ggLOCi.js → MagicLinkInternationalWireDetailsPage-ytzbIbXw-9_gIHnA6.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-CSvQZH6r-AvtY7VmL.js → MagicLinkSuccessPage-CSvQZH6r-B92L3oYw.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-Cnrm36NH-hG1CSLfu.js → MagicLinkTitleSection-Cnrm36NH-7TV-1BiC.js} +1 -1
- package/dist/assets/{MailingDetailsSection-Dzn5nqaX-DbY_Na5u.js → MailingDetailsSection-Dzn5nqaX-Bkn5jBHQ.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-DiUZr6zF-BnIgnsef.js → MeetingCalenderPopup-DiUZr6zF-CdrWRN0c.js} +1 -1
- package/dist/assets/{Menu-DoA95Zgg-Bzfmjt2B.js → Menu-DoA95Zgg-B8GzMRyk.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-1CPR2Cj5-rIyctXom.js → MyBankConnectionsSettingsPage-1CPR2Cj5-CRdXV6cE.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-CVAe_sKo-D9gNyVb3.js → MyPendingActivationChargeCardListPage-CVAe_sKo-Cs___OmZ.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-CnBDaKZL-Dux56svh.js → MyProfileSettingsPage-CnBDaKZL-Bq3AQ_z0.js} +1 -1
- package/dist/assets/{NavBarWithPicker-Cog2dcVl-CIEk7mki.js → NavBarWithPicker-Cog2dcVl-Dv8SC5L_.js} +1 -1
- package/dist/assets/{NavigationArrow-CWZwBLy9-BRoKKnHc.js → NavigationArrow-CWZwBLy9-C5dkj6_D.js} +1 -1
- package/dist/assets/{NavigationDots-6Ixjpa6J-B8DzqghU.js → NavigationDots-6Ixjpa6J-CeZVAIRN.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-DPXnZqzi-Bzrcur7-.js → NewGlobalMerchantPage-DPXnZqzi-BhNDxMDh.js} +1 -1
- package/dist/assets/{NoDataChart-BkLCPOZ6-DiZGDws4.js → NoDataChart-BkLCPOZ6-DmEAsi9M.js} +1 -1
- package/dist/assets/{NoDataTable-C-orsWSF-ByVOGkY4.js → NoDataTable-C-orsWSF-yHb287vS.js} +1 -1
- package/dist/assets/{NotFoundPage-jz8rTMJa-CN4Qp1Pf.js → NotFoundPage-jz8rTMJa-DgC6CHIU.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-CFs30Z22-Cu4ufz52.js → NotificationSettingsPage-CFs30Z22-QurUjUDW.js} +1 -1
- package/dist/assets/{NotificationsListConfig-BPvFpp5h-jW7vFFjS.js → NotificationsListConfig-BPvFpp5h-a-m6bOnC.js} +1 -1
- package/dist/assets/{NotificationsPage-BITESfjg-BL3eg0HZ.js → NotificationsPage-BITESfjg-upKSZa3m.js} +1 -1
- package/dist/assets/{OpExByVendorPage-CIaWVhkG-B8Y84zZr.js → OpExByVendorPage-CIaWVhkG-C-OAXFIK.js} +1 -1
- package/dist/assets/{OverlayContainerPage-CU1AAMcq-BfbXZhIX.js → OverlayContainerPage-CU1AAMcq-3EXKmEhu.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-IbhECxqR-Cikc-Cns.js → PandLWithForecastPage-IbhECxqR-RdFygmNf.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-BFys0cfh-hVjpuYmN.js → PaymentAccountSetupBillingAddressSection-BFys0cfh-7KTptf4o.js} +1 -1
- package/dist/assets/{PeoplePage-Cogb6Wuv-Bvqtk_kC.js → PeoplePage-Cogb6Wuv-BG2Us4L9.js} +1 -1
- package/dist/assets/{PortfolioAllocationFormPage-C_NMSzqM-BSdAf4kE.js → PortfolioAllocationFormPage-C_NMSzqM-wKnRhIQ2.js} +1 -1
- package/dist/assets/{PortfolioDetails-EDVhj1-e-DQfJkWWH.js → PortfolioDetails-EDVhj1-e-ZuSCgqZx.js} +1 -1
- package/dist/assets/{ProductsCarousel-CfzrTdFH-BB-sPQzr.js → ProductsCarousel-CfzrTdFH-IAVdBFFD.js} +1 -1
- package/dist/assets/{PromoBaseCards-JDelrKuJ-D0lSC3gK.js → PromoBaseCards-JDelrKuJ-BevTB8Ip.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-Cvpg0V58-B-ez3TCV.js → QBOConnectionDialog-Cvpg0V58-DUNtqQT0.js} +1 -1
- package/dist/assets/{QBOSetupSection-DKDJtl_2-DvaUpoIR.js → QBOSetupSection-DKDJtl_2-BPctqIki.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-DRa1CYuZ-CXEYE5Z9.js → ReimbursementApprovalRuleDetailPage-DRa1CYuZ-pnB-5An7.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-_wqSm81c-BfEklwot.js → ReimbursementApprovalRulesPage-_wqSm81c-DjgggwJh.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-BTvHvmBX-BG36OPJg.js → ReimbursementDetailPage-BTvHvmBX-D3-S1jFm.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-DgPJx42_-5vMRYxsJ.js → ReimbursementPromoPage-DgPJx42_-Ca2Fb5DS.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-Cl348yZJ-DuYkaH1b.js → ReimbursementSetUpPage-Cl348yZJ-BPE9Hoy5.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CD-1v386-CBr0G7Bk.js → ReimbursementsBulkReviewDrawerPage-CD-1v386-B0wtbhkt.js} +1 -1
- package/dist/assets/{ReloadCard-BVvfO1lw-DQZWi6_3.js → ReloadCard-BVvfO1lw-DC0Q52Hm.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-p_eRZlsB-CIzsZw-O.js → ReportTableViewSelector-p_eRZlsB-DNe8cwSz.js} +1 -1
- package/dist/assets/{ReportsPage-UcoYOomm-q4mFD-gP.js → ReportsPage-UcoYOomm-C65WxI5W.js} +1 -1
- package/dist/assets/{RevenueChart-BW6a8XWu-CdpmlKb8.js → RevenueChart-BW6a8XWu-Bw_jr0b6.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-DPxC8SFc-BchmjwzI.js → ReviewDetailsPage-DPxC8SFc-JxntF7Iq.js} +1 -1
- package/dist/assets/{ReviewOverlay-Bv5Irg0L-RdtV1vw4.js → ReviewOverlay-Bv5Irg0L-BkYNNXiY.js} +1 -1
- package/dist/assets/{RoleWithToolTip-Osazfeks-VHnoAvFP.js → RoleWithToolTip-Osazfeks-DCHE9_6V.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BEGBiN_c-eKBQjNDE.js → ScheduleDetailsFixedAssetsPage-BEGBiN_c-C_TjdMkm.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-BWIeHAy7-HMShaw2F.js → ScheduleDetailsPage-BWIeHAy7-B3J0Hrt4.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-CCK6C4Iy-BUaO8DWT.js → ScheduleSequenceTable-CCK6C4Iy-C4gK-k4-.js} +1 -1
- package/dist/assets/{ScreenRoutes-Dpk22mBi.js → ScreenRoutes-D_07GGCw.js} +1 -1
- package/dist/assets/{SetUpAccountSection-DRbmb31r-PDYy4r2n.js → SetUpAccountSection-DRbmb31r-Bq51bzJC.js} +1 -1
- package/dist/assets/{SetUpDefaultSection-DbtQYgwc-cSTlnChI.js → SetUpDefaultSection-DbtQYgwc-BVO9cmWh.js} +1 -1
- package/dist/assets/{SignIn-DDUIL7qL-CxeTDQfO.js → SignIn-DDUIL7qL-C1zbknqk.js} +1 -1
- package/dist/assets/{SignInScreen-CzsREjeU.js → SignInScreen-xj2RG_oe.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-CIPAJ1BF-CE1nfB7r.js → SpendManagementListViewPage-CIPAJ1BF-CTTDJ3LM.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-gimZmZnB-By3Hfg8y.js → SpendManagementPerTabPage-gimZmZnB-DEDSLFNg.js} +1 -1
- package/dist/assets/{SpendManagementSection-DbEnKD37-C7zhsKxG.js → SpendManagementSection-DbEnKD37-CZgqSgVX.js} +1 -1
- package/dist/assets/{SpendMgmtSetupAccountSection-BLE0FTOw-DlBrvq4j.js → SpendMgmtSetupAccountSection-BLE0FTOw-CKynjFMX.js} +1 -1
- package/dist/assets/{StatementItem-_ivyNbtm-uOGEFgLD.js → StatementItem-_ivyNbtm-BMh1gnhf.js} +1 -1
- package/dist/assets/{StatementsPage-P_PaSJNK-CCWmm7nD.js → StatementsPage-P_PaSJNK-C00Xvrzi.js} +1 -1
- package/dist/assets/{StatusSwitcher-CZrLZEsV-B41bjsD8.js → StatusSwitcher-CZrLZEsV-BQUFAppu.js} +1 -1
- package/dist/assets/{SubTabSwitcher-ByWS379C-Dk51yZD_.js → SubTabSwitcher-ByWS379C-BK7xaIln.js} +1 -1
- package/dist/assets/{SummaryCard-DFB5JUd1-D97hzKdo.js → SummaryCard-DFB5JUd1-AXpcXHjV.js} +1 -1
- package/dist/assets/{TaskManagementPage-Bp51h7Qf-BKCWiJHb.js → TaskManagementPage-Bp51h7Qf-buTVD3Fj.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-CVPfQvjp-Bgj8WAvx.js → TimeRangeSwitcher-CVPfQvjp-D4TOPSSO.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-Cfj1snkW-BeOeP60Y.js → TimeframeSwitcher-Cfj1snkW-DixlMb-P.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-Bebc4mZ3-DafPph34.js → TimeframeSwitcherWithToggle-Bebc4mZ3-mGDCVzBY.js} +1 -1
- package/dist/assets/{TopExCard-CV_d5hzX-CRI-FNJR.js → TopExCard-CV_d5hzX-_qQPbljz.js} +1 -1
- package/dist/assets/{TopExDetailPage-Cq7SRFbp-Da3O9o3c.js → TopExDetailPage-Cq7SRFbp-MuFo1h8Y.js} +1 -1
- package/dist/assets/{TransactionDetailPage-DhjS0VRm-BvDEi7Na.js → TransactionDetailPage-DhjS0VRm-CfFmr-Ml.js} +1 -1
- package/dist/assets/{TransactionList-DTcqsbBX-DVZrt808.js → TransactionList-DTcqsbBX-CuiZVxsz.js} +1 -1
- package/dist/assets/{TransactionListBig-BGSeGI-E-DNMYcNvb.js → TransactionListBig-BGSeGI-E-CRtx_CYo.js} +1 -1
- package/dist/assets/{TransactionListPage-YrVNWthX-BLt9YsPg.js → TransactionListPage-YrVNWthX-CT6iqmFB.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-BeRLL6S1-CkHi599A.js → TransactionVendorDetailPage-BeRLL6S1-QNgs3sUm.js} +1 -1
- package/dist/assets/{TransferDrawerPage-xSWwONN8-CenYtj7J.js → TransferDrawerPage-xSWwONN8-Bi4fzk-H.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-DoXpiI5l-oGPSnGjm.js → TreasuryOverviewPage-DoXpiI5l-FieLawVj.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-DT46komD-DlubCHgI.js → TreasuryPromoPage-DT46komD-DRJ08iDj.js} +1 -1
- package/dist/assets/{TreasurySetupPage-CjqyWJWl-nDCk0tEb.js → TreasurySetupPage-CjqyWJWl-YhuDOKTA.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-Bd5jXQJ6-DN-egslc.js → TreasuryStatementsPage-Bd5jXQJ6-BGWk-1W2.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-Bn0t319k-BSkgskgX.js → TreasuryTaxLetterPage-Bn0t319k-CzVjWu15.js} +1 -1
- package/dist/assets/{TreasuryTransferOrReviewPage-sQWSirfd-XbiIXKNU.js → TreasuryTransferOrReviewPage-sQWSirfd-B3KxIxbb.js} +1 -1
- package/dist/assets/{TrendChart-DnngoaGI-6Dv3qGs5.js → TrendChart-DnngoaGI-kvneFiRf.js} +1 -1
- package/dist/assets/{TrendWithTransactions-CSVAwWZG-Ckg2xKxk.js → TrendWithTransactions-CSVAwWZG-B0lIYtXX.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-DRoVuN8B-DQ-kBh9F.js → UncategorizedAccountsMappingPage-DRoVuN8B-A6chnXbs.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-gBerS5Lo-DR5mvO_8.js → UnitIntegrationPage-gBerS5Lo-Ch-fQUrw.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-BbGSc0rv-CF22tDFr.js → UploadAdditionalDocumentOverlay-BbGSc0rv-DT8hhHus.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-DdTF16bh-IKM2SAtZ.js → Vendor2FAPopup-DdTF16bh-BwGr7l3l.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-DppYqvS2-BUaDQjJk.js → VendorACHDetailsPage-DppYqvS2-DEpWdj_g.js} +1 -1
- package/dist/assets/{VendorDetailPage-DZanWRgZ-BoZHWrfB.js → VendorDetailPage-DZanWRgZ-DyKdKPXk.js} +1 -1
- package/dist/assets/{VendorDomesticWireDetailsPage-CypHVGiD-Cgyg_tcs.js → VendorDomesticWireDetailsPage-CypHVGiD-B_tp4y8t.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-DjVaMEC7-COijNrN6.js → VendorFiling1099EditablePage-DjVaMEC7-B7YEorVz.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-BD3qiOkE-DgnCktOz.js → VendorFirstReviewPage-BD3qiOkE-WltMZY5K.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-DGCD7pSj-D9msEcSp.js → VendorInternationalWireDetailsPage-DGCD7pSj-DIdiNE3u.js} +1 -1
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-cTBSMjI1-ZoTi79T1.js → VendorInternationalWireSwiftDetailsPage-cTBSMjI1-ivh3C4r6.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-BbmjtLxL-C4MHLsMP.js → VendorsAccountsSection-BbmjtLxL-CqzBxDbv.js} +1 -1
- package/dist/assets/{VerifyDevice-D_2LpAmp-CSPRJYGG.js → VerifyDevice-D_2LpAmp-bxCpau_T.js} +1 -1
- package/dist/assets/{VideoPlayer-C19SquYF-YRMPVy9Y.js → VideoPlayer-C19SquYF-Do1HF2Iq.js} +1 -1
- package/dist/assets/{VideoPopup-BYi-pZ8z-BrkyFjvh.js → VideoPopup-BYi-pZ8z-pFqmhIpM.js} +1 -1
- package/dist/assets/{WarningsDrawerPage-otaNkmPb-B_wY0kZV.js → WarningsDrawerPage-otaNkmPb-DA-wH8k_.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-CaaJpWIC-Dnckd2M0.js → ZeniAccountDetailPage-CaaJpWIC-DYCoqSob.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-DrluYQZ2-BQg-KfSC.js → ZeniAccountListViewPage-DrluYQZ2-CxSUansk.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-Ctkjc2V5-AvVIAuW_.js → ZeniAccountNavBarPieces-Ctkjc2V5-R8x4dgr4.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-9aI8Hfz9-BEIM-DEN.js → ZeniAccountPromoPage-9aI8Hfz9-DhpvFG5i.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-gCHBWfoD-k0FMJxTb.js → ZeniAccountSetupPage-gCHBWfoD-BrirFpg5.js} +1 -1
- package/dist/assets/{ZeniCopyright-DEwETqZx-DfQb2QWY.js → ZeniCopyright-DEwETqZx-Xh1OAm4U.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DwTQpL8f-Do1zrnoT.js → ZeniTransferAmountSlider-DwTQpL8f-twAvj5wm.js} +1 -1
- package/dist/assets/{analyticsHelper-BXeDlVZ4.js → analyticsHelper-BQUL7_j1.js} +1 -1
- package/dist/assets/{analyticsHelper-CZsBsQ5Y-Btj9FtNh.js → analyticsHelper-CZsBsQ5Y-C4eAlMZk.js} +1 -1
- package/dist/assets/{chartTypes-v6rDvpfo-b7P67A73.js → chartTypes-v6rDvpfo-CwEf2KU_.js} +1 -1
- package/dist/assets/{commonDimensions-fd7W42ZQ-BmOvq0OJ.js → commonDimensions-fd7W42ZQ-IMrtE93m.js} +1 -1
- package/dist/assets/{detailCommon-BmFZfzJ0-BKRqQg8j.js → detailCommon-BmFZfzJ0-DFRzzxCh.js} +1 -1
- package/dist/assets/{downloadPdf-Dq-pmQ1D-DyEOZvau.js → downloadPdf-Dq-pmQ1D-BmXHYOaz.js} +1 -1
- package/dist/assets/{index-Bg6L74aO.js → index-DpnPgK1j.js} +4 -4
- package/dist/assets/{mapLoadingInProgressToTreeNode-Opz0Hl1o-DVD_bjlr.js → mapLoadingInProgressToTreeNode-Opz0Hl1o-U1qR-z5m.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Buw1b32D-CnzdNfwL.js → mapSectionWithAcOnlyToTreeNode-Buw1b32D-XTeNc9_9.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-DNzI-qNX-Cbx1ISji.js → mapSpacerToTreeNode-DNzI-qNX-D022s8DR.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-9eZANFDj-Cta98CTo.js → mapTimeframeBalancesToTreeNode-9eZANFDj-D4aGK3LV.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-qpLQhbq5-STPHjTl9.js → mapTimeframeBalancesToTreeNode-qpLQhbq5-D-lJsXzi.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BmWHdrva-CYusZ8Jg.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BmWHdrva-NsxlU_Y4.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-CpC1h4-g-CoirM5Mp.js → toCOABalancesWithID-CpC1h4-g-B2F9qpyN.js} +1 -1
- package/dist/assets/{toChartData-IftQ0lN3-D979WFez.js → toChartData-IftQ0lN3-abBzju1Z.js} +1 -1
- package/dist/assets/{treasuryColorHelper-jY8WJQsk-BX2epEJl.js → treasuryColorHelper-jY8WJQsk-RT6XAcVf.js} +1 -1
- package/dist/assets/{uploadAttachment-0jQBH4Wu-Db1AFJrf.js → uploadAttachment-0jQBH4Wu-SEjTDxUD.js} +1 -1
- package/dist/assets/{uploadReceipts-9DTOr0BG-BGcQtRen.js → uploadReceipts-9DTOr0BG-CSOfXWAP.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-DbMON4x7-B1E-JEZh.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as N,ax as B,l as w,F as D,f_ as a,j as d,bF as M,gh as j,o as O}from"./index-
|
|
1
|
+
import{b as N,ax as B,l as w,F as D,f_ as a,j as d,bF as M,gh as j,o as O}from"./index-DpnPgK1j.js";import{n as P}from"./vendor-Bs1fkIUX.js";import{a as U,l as V}from"./ChargeCardListTable-DOhn3tAQ-C29o3Bmc.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./Menu-DoA95Zgg-B8GzMRyk.js";import"./RoleWithToolTip-Osazfeks-DCHE9_6V.js";import"./CardNumberSubText-BjKu7YKY-jR-gP-EZ.js";import"./ChargeCardUtils-DJmy0Cev-DpywgBWY.js";const{spendManagement:{chargeCard:C}}=D.getLocalizedStrings(),at=({myPendingActivationChargeCardListView:e,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:n,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,chargeCardCashbackDetailState:r,creditAccount:c,creditAccountRepayment:u,depositAccountListWithDebitCardIssued:i,controllerEmails:b,signedInUser:S,onChargeCardRowClick:p,onBackClick:k,onReloadCards:g,onColumnSortConfigChanged:A})=>{const f=N(),F=B(),h=w.hasChargeCardAdminLevelAccess(F.loggedInUserRoleMap),v=e.cards.some(t=>t.type.code.includes("credit")),m=e.cards.some(t=>t.type.code.includes("debit")),y=v&&m?C.cardList.title.cards:m?C.cardList.title.debit:C.cardList.title.credit,E=h===!0?{creditCardCashbackOffer:`${r.cashbackAnalytics.creditCardCashbackOffer}%`,debitCardCashbackOffer:`${r.cashbackAnalytics.debitCardCashbackOffer}%`,totalEarnedCashback:a(r.cashbackSummary.cashbackEarned.amount),redeemedCashback:a(r.cashbackSummary.cashbackRedeemed.amount),availableCashback:a(r.cashbackSummary.cashbackAvailable.amount),creditCardCashbackRedemptionMode:r.cashbackAnalytics.creditCardCashbackRedemptionMode,debitCardCashbackRedemptionMode:r.cashbackAnalytics.debitCardCashbackRedemptionMode}:void 0,L=o&&l&&h===!0?{creditAccountId:c.id,creditAccountLimit:a(c.limit.amount),creditAccountAvailableAmount:a(c.available.amount),creditAccountSpentAmount:a(c.balance.amount+c.hold.amount),creditAccountStatus:c.status,outstandingBalance:a(u.remainingAmountDue.amount)}:void 0,I=n&&s?{debitAccountId:i.depositAccounts.map(t=>t.id),debitAccountName:i.depositAccounts.map(t=>t.accountName),debitAccountBalance:i.depositAccounts.map(t=>a(t.accountBalance.available.amount)),debitCardsSpend:0,debitAccountStatus:i.depositAccounts.map(t=>t.accountStatus)}:void 0,R={isCreditCardOffered:o,isDebitCardOffered:n,isDebitCardEnabled:s,isCreditCardEnabled:l},x={revokeChargeCardFetchState:{fetchState:"Not-Started"},unlockChargeCardsFetchState:{fetchState:"Not-Started"},lockChargeCardsFetchState:{fetchState:"Not-Started"},closeChargeCardsFetchState:{fetchState:"Not-Started"},updateChargeCardLimitFetchState:{fetchState:"Not-Started"},updateChargeCardNameFetchState:{fetchState:"Not-Started"},depositAccountLimitFetchState:{fetchState:"Not-Started"},recurringExpenses:[],recurringExpensesFetchState:{fetchState:"Not-Started"}};return d.jsxs(W,{children:[d.jsx(M,{title:y,backgroundColor:f.colors.grey4,style:{zIndex:3},onBackClick:k,source:"MyPendingActivationChargeCardListPage"}),e.fetchState==="Not-Started"||e.fetchState==="In-Progress"?d.jsx(j,{fetchState:e.fetchState,styles:{margin:"auto"}}):d.jsx(U,{onBulkCloseClick:()=>{},onBulkLockClick:()=>{},bulkSubmissionLimit:V,isCardControlsEnabled:!1,cardsSelectedForBulkAction:[],isBulkActionAllowed:!1,firstSelectedCardStatus:void 0,setActionTypeForRowAction:()=>{},setCardIdForRowAction:()=>{},controllerEmails:b,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:n,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,creditAccount:c,creditAccountRepayment:u,productInformation:R,cashbackInformation:E,creditAccountInformation:L,debitAccountInformation:I,depositAccountListWithDebitCardIssued:i,cardList:e.cards,showViewForCardUser:!0,signedInUser:S,fetchState:e.fetchState,unlockChargeCardsFetchState:"Not-Started",revokeChargeCardsInviteFetchState:"Not-Started",rowActionView:x,onProceedForBulkActionClick:t=>{},removeAllCardsFromBulkActionList:()=>{},setShowBulkChangeSpendLimitPopup:t=>{},updateBulkActionList:t=>{},onReloadCards:g,onChargeCardRowClick:(t,z)=>{p(t)},uiState:e.uiState,onColumnSortConfigChanged:A,onChargeCardResendInviteClick:()=>{}})]})},W=P.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-height: ${`calc(100vh - ${O.sp9})`};
|
|
4
4
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as ie,g2 as te,b as fe,ax as ge,g3 as be,aa as ye,aC as xe,l as z,cT as we,cS as Pe,F as re,j as l,g4 as ve,bF as Oe,ad as $e,aQ as De,o as s,g5 as ne,g6 as de,g7 as ce,cO as ue,y as L,an as me,C as Se,O as Re,aJ as le,d2 as je,cV as Ce,g8 as q,c$ as Le,cZ as Te,g9 as Ie,a$ as Ve,u as U}from"./index-
|
|
1
|
+
import{q as ie,g2 as te,b as fe,ax as ge,g3 as be,aa as ye,aC as xe,l as z,cT as we,cS as Pe,F as re,j as l,g4 as ve,bF as Oe,ad as $e,aQ as De,o as s,g5 as ne,g6 as de,g7 as ce,cO as ue,y as L,an as me,C as Se,O as Re,aJ as le,d2 as je,cV as Ce,g8 as q,c$ as Le,cZ as Te,g9 as Ie,a$ as Ve,u as U}from"./index-DpnPgK1j.js";import{b as v,n as m}from"./vendor-Bs1fkIUX.js";import{W as Fe}from"./LabeledAddressValueField-DqETahiQ-BC9x39T7.js";import{Y as Be}from"./LabeledUserSingleSelectWithSubtitlesField-DL77o5I--18aBl5Eb.js";import{C as ke,j as ze}from"./LabeledZeniRolesDropDownField-CkfPFUqd-oBon4BIk.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./RoleWithToolTip-Osazfeks-DCHE9_6V.js";const b=(e,t)=>`${e}.${t}`,k={largeLabelWidth:new L(120,120,160),textFieldPaddingHorizontal:new L(U[2],U[3]),toolTipWidth:new L(215,237),notePadding:new L(U[3],U[4]),noteGap:new L(U[0],6)},{peoplePage:a,common:{settings:se,labels:G,placeholder:B,errorMessage:Ne},dateFormat:Ae}=re.getLocalizedStrings(),Me=({myProfileView:e,isZeniFinopsRolesUser:t,sectionId:i,isDisabled:u,isReimbursementDisabled:y,isZeniAccountsDisabled:p,isChargeCardDisabled:o,isBankingOnlyTenant:f,isCardsOnlyTenant:O,isLiteRoleDisabled:T,isTreasuryDisabled:h,onAddressClick:x})=>{const n=ie(),{person:r,managersList:N,classList:A,manager:H,department:g,controllersList:M,myProfileLocalData:W,addressData:Q}=e,Y=e.person.user?.birthday!=null?"readonly":void 0,$=k.largeLabelWidth.value(n),I=k.largeLabelWidth.value(n),J=v.useMemo(()=>te(y,p,o,f,O,T,h),[y,p,o,f,O,T,h]),{firstController:w,restControllerEmailsStr:D}=v.useMemo(()=>{const c=le(M),S=c.splice(0,1),R=c.reduce((V,F)=>V.concat(`${F.email},`),"");return{firstController:S,restControllerEmailsStr:R}},[M]),K=v.useMemo(()=>le(ue.roles),[]),d=z.hasInvestorBankerLevelAccess(r.userRole!=null?r.userRole.userRoles:[]),_=v.useMemo(()=>A.map(c=>({label:c.fullyQualifiedAccountingClassName,value:c.classId,hoverText:c.accountingClassNumber})),[A]);return l.jsxs(Ze,{windowSize:n,children:[l.jsx(je,{isDisabled:u,label:{label:G.name,width:I},nameField:{name:b(i,"name"),placeHolder:{firstName:B.firstNamePlaceholder,lastName:B.lastNamePlaceholder,name:B.namePlaceholder},showFullNameError:!0},errorInfoLabel:Ne.nameError.replace("_product_type_",se.common.productTypeString)}),l.jsx(C,{}),l.jsx(Ce,{isDisabled:u,showAdditionalInfoLabel:!1,label:{label:a.invitePage.email,width:$},text:{type:"text",name:b(i,"email"),placeholder:q(a.addPlaceholderPrefix,a.invitePage.email),style:{padding:`${s.sp0} ${k.textFieldPaddingHorizontal.valuePx(n)}`}}}),l.jsx(C,{}),l.jsx(Le,{label:{label:G.dateOfBirth,width:I},style:{width:"auto"},isDisabled:Y,dateField:{name:b(i,"dateOfBirth"),placeholder:B.datePlaceholder,defaultValue:W.dateOfBirth,dateFormat:Ae.visual.defaultInput,autoComplete:"off",maxDate:z.dateNow().subtract(18,"year")}}),l.jsx(C,{}),l.jsx(Fe,{label:{label:G.mailingAddress,width:I},addressValueField:{name:b(i,"mailingAddress"),placeholder:B.addressPlaceholder,defaultValue:Q?.addressToCreate,onClick:()=>{x("user_address")}},showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${s.sp2} ${s.sp2} ${s.sp2} ${s.sp0}`}}),l.jsx(C,{}),l.jsx(Te,{label:{label:G.phone,width:I},text:{name:b(i,"phone"),placeholder:B.phonePlaceholder,defaultValue:W.phone,autoComplete:"off"},showVerified:W.isPhoneVerified,style:{width:"auto"}}),l.jsx(C,{}),t?l.jsx(ke,{label:{label:a.invitePage.role,width:$},zeniRolesDropDownField:{name:b(i,"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:$},rolesDropDownField:{name:b(i,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(r.userRole?.userRoles??[]),allRootRole:de(f,O)},productsByUserRole:ne(r.userRole?.userRoles??[],J)},registerOptions:{required:!0}},isDisabled:u}),l.jsx(C,{}),l.jsx(Be,{label:{label:a.invitePage.manager,width:$},showTooltip:!0,toolTipWidth:k.toolTipWidth.valuePx(n),tooltipTitle:l.jsx(We,{}),userSingleSelectWithSubTitlesField:{name:b(i,"manager"),value:{allUsers:d?[]:N,selectedUser:d?void 0:H?.userId},valueToSubtitle:c=>{const S=N.findIndex(R=>R.userId===c);if(S!==-1){const R=N[S],V=A.find(X=>X.classId===R.userRole.accountingClassIDs[0]),F=[];return V!=null&&F.push(V.className),F}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(Ie,{label:{label:a.invitePage.department,width:$},singleSelectWithoutClearableField:{name:b(i,"department"),defaultValue:{allOptions:d?[]:_,selectedOption:d?void 0:_.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}),t?null:l.jsxs(Ue,{windowSize:n,children:[a.invitePage.controllerText,w[0]?l.jsxs(_e,{href:`mailto:${w[0].email}?cc=${D}&subject=${encodeURIComponent(a.invitePage.emailSubject)}`,children:[l.jsx(Ee,{children:`${w[0].firstName} ${w[0].lastName}`}),l.jsx(Ve,{className:"arrowIcon"})]}):null]})]})]})},We=()=>a.invitePage.managerTooltipText,Ze=m.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey5};
|
package/dist/assets/{NavBarWithPicker-Cog2dcVl-CIEk7mki.js → NavBarWithPicker-Cog2dcVl-Dv8SC5L_.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as p,q as m,j as o,aM as u,c5 as g,F as x,o as t,bJ as b,f6 as k,cg as C,c3 as y,C as v}from"./index-
|
|
1
|
+
import{b as p,q as m,j as o,aM as u,c5 as g,F as x,o as t,bJ as b,f6 as k,cg as C,c3 as y,C as v}from"./index-DpnPgK1j.js";import{n as l}from"./vendor-Bs1fkIUX.js";const w=l.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
flex: 1 1 auto;
|
package/dist/assets/{NavigationArrow-CWZwBLy9-BRoKKnHc.js → NavigationArrow-CWZwBLy9-C5dkj6_D.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as e,o as r,a$ as g,cg as c}from"./index-
|
|
1
|
+
import{j as e,o as r,a$ as g,cg as c}from"./index-DpnPgK1j.js";import{i as t,n as l}from"./vendor-Bs1fkIUX.js";const $=t`
|
|
2
2
|
border-left-style: none;
|
|
3
3
|
margin-left: -${r.sp3};
|
|
4
4
|
border-top-right-radius: ${r.sp2};
|
package/dist/assets/{NavigationDots-6Ixjpa6J-B8DzqghU.js → NavigationDots-6Ixjpa6J-CeZVAIRN.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as e,aM as v,o as t}from"./index-
|
|
1
|
+
import{j as e,aM as v,o as t}from"./index-DpnPgK1j.js";import{n as a}from"./vendor-Bs1fkIUX.js";const C=a.div`
|
|
2
2
|
text-align: center;
|
|
3
3
|
cursor: pointer;
|
|
4
4
|
`,y=a.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as F,aa as K,cS as Q,aP as X,j as t,F as z,ad as Y,aQ as Z,y as i,o as a,A as ee,O as _,H as te,h1 as ae,am as le,d3 as O,id as ne,cX as U,cV as oe,u as l,b8 as re,db as ie,d9 as de,dn as se,P as ce,eN as me,dE as he,bl as be,h as V}from"./index-
|
|
1
|
+
import{q as F,aa as K,cS as Q,aP as X,j as t,F as z,ad as Y,aQ as Z,y as i,o as a,A as ee,O as _,H as te,h1 as ae,am as le,d3 as O,id as ne,cX as U,cV as oe,u as l,b8 as re,db as ie,d9 as de,dn as se,P as ce,eN as me,dE as he,bl as be,h as V}from"./index-DpnPgK1j.js";import{b as j,n as o,i as ge}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.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 _("smallRegular","standardRegular")},pe=z.getLocalizedStrings();function we({label:e,textField:n,additionalInfo:h,checkBoxFields:m,fetchState:g,style:v,toolTip:M,isOptionalLabel:y}){const s=F(),{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{q as l,j as t,h as r,o as a,am as s,y as m,b as o}from"./index-
|
|
1
|
+
import{q as l,j as t,h as r,o as a,am as s,y as m,b as o}from"./index-DpnPgK1j.js";import{n as i,b as h}from"./vendor-Bs1fkIUX.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,b as s}from"./index-
|
|
1
|
+
import{j as e,o as t,b as s}from"./index-DpnPgK1j.js";import{n as i}from"./vendor-Bs1fkIUX.js";import{r as n,o}from"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.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,F as i,cd as s,_ as l,am as c,h as a,an as d}from"./index-
|
|
1
|
+
import{j as o,F as i,cd as s,_ as l,am as c,h as a,an as d}from"./index-DpnPgK1j.js";import{n as t}from"./vendor-Bs1fkIUX.js";import{i as h}from"./ZeniCopyright-DEwETqZx-Xh1OAm4U.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const x=t.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
height: 100vh;
|
|
4
4
|
position: relative;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t,gh as ne,o as i,bZ as se,F as I,aS as re,b as J,q as Q,aa as le,cS as ae,l as P,bF as ce,ad as de,ab as S,aQ as pe,y as T,fO as me,gi as ue,eZ as he,gj as ge,gk as fe,a$ as xe,u as w,b8 as W,ai as Y,am as K,an as $e}from"./index-
|
|
1
|
+
import{j as t,gh as ne,o as i,bZ as se,F as I,aS as re,b as J,q as Q,aa as le,cS as ae,l as P,bF as ce,ad as de,ab as S,aQ as pe,y as T,fO as me,gi as ue,eZ as he,gj as ge,gk as fe,a$ as xe,u as w,b8 as W,ai as Y,am as K,an as $e}from"./index-DpnPgK1j.js";import{n as o,b as E}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const{common:be}=I.getLocalizedStrings(),B={notePadding:new T(w[3],w[4]),noteGap:new T(w[0],6)},R=(e,n)=>`${e}.${n}`,ye=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
row-gap: ${i.sp3};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as t,u as e}from"./index-
|
|
1
|
+
import{C as t,u as e}from"./index-DpnPgK1j.js";const r=e[5],o=59,i=e[5],l=t.standardRegular.lineHeightValue,n=1,u=1e3;export{l as A,i as E,n as I,u as L,o as a,r as t};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as Q,q as v,aa as Jt,F as P,cS as qt,j as t,bF as Zt,l as g,ad as Xt,aQ as Qt,o as i,ab as we,h5 as Kt,y as R,i5 as ei,C as Ne,P as ti,az as et,cA as tt,b3 as it,dG as ot,cH as st,jV as at,u as y,n as ii,jW as oi,dE as ce,a_ as si,O as ai,H as rt,h as S,ai as ri,b_ as z,d3 as he,gi as ue,jX as pe,ax as nt,a9 as lt,dN as U,fE as dt,gr as ni,am as K,ik as li,an as H,fH as di,aU as ye,b9 as fe,jY as ci,bX as ct,jZ as Ie,bz as hi}from"./index-
|
|
1
|
+
import{b as Q,q as v,aa as Jt,F as P,cS as qt,j as t,bF as Zt,l as g,ad as Xt,aQ as Qt,o as i,ab as we,h5 as Kt,y as R,i5 as ei,C as Ne,P as ti,az as et,cA as tt,b3 as it,dG as ot,cH as st,jV as at,u as y,n as ii,jW as oi,dE as ce,a_ as si,O as ai,H as rt,h as S,ai as ri,b_ as z,d3 as he,gi as ue,jX as pe,ax as nt,a9 as lt,dN as U,fE as dt,gr as ni,am as K,ik as li,an as H,fH as di,aU as ye,b9 as fe,jY as ci,bX as ct,jZ as Ie,bz as hi}from"./index-DpnPgK1j.js";import{b as x,n as r,i as A}from"./vendor-Bs1fkIUX.js";import{k as ui}from"./SubTabSwitcher-ByWS379C-BK7xaIln.js";import{d as ht}from"./useLongPress-GCK2COYQ-B0RUPzZV.js";import{A as ut,t as pt,a as ft,E as mt,L as gt,I as xt}from"./NotificationsListConfig-BPvFpp5h-a-m6bOnC.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";function pi({tabs:e,selectedTab:o,subTabs:s,selectedSubTab:a,subTabRightComponent:n,tabStyle:l,subTabStyle:c,onTabChange:d,onSubTabChange:h}){const u=v(),p=Q(),m=x.useCallback(b=>{d(b.id)},[d]),f=x.useCallback(b=>{h(b.id)},[h]);return e.length===0?null:t.jsxs(fi,{windowSize:u,children:[t.jsx(ei,{allTabs:e,selectedTab:o,containerStyle:{...l,borderBottom:`1px solid ${p.colors.grey3}`},onTabChange:m}),t.jsx(ui,{allTabs:s,selectedTab:a,containerStyle:{...c},rightComponent:n,onTabChange:f})]})}const fi=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
package/dist/assets/{OpExByVendorPage-CIaWVhkG-B8Y84zZr.js → OpExByVendorPage-CIaWVhkG-C-OAXFIK.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as G,i4 as ye,F as B,b as q,cr as be,az as _e,j as t,aM as Se,bZ as ke,i3 as we,bH as ve,bF as Be,i5 as Pe,i6 as Oe,o as u,aS as je,P as $e,y as L,b3 as le,aC as ie,aU as Te,u as P,bK as De,ct as Ne,cu as Ee,cv as Ie,h as a,am as ce,bW as Ae,bR as Me,bh as Fe,C as Z,bg as Le,aX as Re,bS as Ve,bU as ze,l as We}from"./index-
|
|
1
|
+
import{q as G,i4 as ye,F as B,b as q,cr as be,az as _e,j as t,aM as Se,bZ as ke,i3 as we,bH as ve,bF as Be,i5 as Pe,i6 as Oe,o as u,aS as je,P as $e,y as L,b3 as le,aC as ie,aU as Te,u as P,bK as De,ct as Ne,cu as Ee,cv as Ie,h as a,am as ce,bW as Ae,bR as Me,bh as Fe,C as Z,bg as Le,aX as Re,bS as Ve,bU as ze,l as We}from"./index-DpnPgK1j.js";import{b as y,n as m,w as Ke}from"./vendor-Bs1fkIUX.js";import{p as Ye,d as He,y as H,b as de,u as ee}from"./chartTypes-v6rDvpfo-CwEf2KU_.js";import{V as Ge}from"./toChartData-IftQ0lN3-abBzju1Z.js";import{m as R}from"./analyticsHelper-CZsBsQ5Y-C4eAlMZk.js";import{p as qe}from"./TimeRangeSwitcher-CVPfQvjp-D4TOPSSO.js";import{M as Ue}from"./TimeframeSwitcherWithToggle-Bebc4mZ3-mGDCVzBY.js";import{C as Xe}from"./NoDataChart-BkLCPOZ6-DmEAsi9M.js";import{d as Je}from"./NoDataTable-C-orsWSF-yHb287vS.js";import{H as Qe,N as oe}from"./detailCommon-BmFZfzJ0-DFRzzxCh.js";import{n as V}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{I as Ze,R as U}from"./CollapsableReportTable-C1EUOKF0-BNL-lwFO.js";import{o as pe}from"./mapTimeframeBalancesToTreeNode-qpLQhbq5-D-lJsXzi.js";import{d as re}from"./mapLoadingInProgressToTreeNode-Opz0Hl1o-U1qR-z5m.js";import{l as eo}from"./mapSpacerToTreeNode-DNzI-qNX-D022s8DR.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./TimeframeSwitcher-Cfj1snkW-DixlMb-P.js";import"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";import"./AccountRow-BwLd4zoq-ZDzzlrC7.js";const oo=m.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
`,ro=m.div`
|
|
4
4
|
flex: display;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as i,j as r}from"./index-
|
|
1
|
+
import{b as i,j as r}from"./index-DpnPgK1j.js";import{n}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.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,w as F,b as T,q as v,aM as M,bF as re,F as c,n as ie,P as ae,y as U,C as ce,o as s,aC as le,aU as de,_ as ge,cQ as me,bC as pe,u as C,l as D,bK as he,cR as ue,aS as fe,aT as xe,b9 as we}from"./index-
|
|
1
|
+
import{j as o,w as F,b as T,q as v,aM as M,bF as re,F as c,n as ie,P as ae,y as U,C as ce,o as s,aC as le,aU as de,_ as ge,cQ as me,bC as pe,u as C,l as D,bK as he,cR as ue,aS as fe,aT as xe,b9 as we}from"./index-DpnPgK1j.js";import{n as r,b as A}from"./vendor-Bs1fkIUX.js";import{R as Se}from"./NavBarWithPicker-Cog2dcVl-Dv8SC5L_.js";import{m as je}from"./analyticsHelper-CZsBsQ5Y-C4eAlMZk.js";import{M as $e}from"./TimeframeSwitcherWithToggle-Bebc4mZ3-mGDCVzBY.js";import{I as be,a as Ce}from"./CollapsableReportTable-C1EUOKF0-BNL-lwFO.js";import{M as E}from"./usp-line-BBd1wKwW-ZlUrfnG1.js";import{T as Pe,I as ye,L as ke}from"./mapSectionWithAcOnlyToTreeNode-Buw1b32D-XTeNc9_9.js";import{s as Q}from"./mapTimeframeBalancesToTreeNode-9eZANFDj-D4aGK3LV.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./TimeframeSwitcher-Cfj1snkW-DixlMb-P.js";import"./AccountRow-BwLd4zoq-ZDzzlrC7.js";const Y="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual.png",H="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{a as pe,F as le,aP as De,C as te,o as u,h as H,q as ue,j as i,c4 as Me,b as Re,d3 as Fe,aU as ae,y as oe,bA as Ve,c7 as qe,am as ke,aQ as He,af as me,u as Ke,g$ as Je,an as Ge,O as Ye}from"./index-
|
|
1
|
+
import{a as pe,F as le,aP as De,C as te,o as u,h as H,q as ue,j as i,c4 as Me,b as Re,d3 as Fe,aU as ae,y as oe,bA as Ve,c7 as qe,am as ke,aQ as He,af as me,u as Ke,g$ as Je,an as Ge,O as Ye}from"./index-DpnPgK1j.js";import{w as l,b as O,n as y}from"./vendor-Bs1fkIUX.js";import{P as p}from"./mui-Ty75qFQF.js";import{O as Ze}from"./SetUpAccountSection-DRbmb31r-Bq51bzJC.js";function fe(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function ge(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?fe(Object(r),!0).forEach(function(n){Ae(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):fe(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function re(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?re=function(e){return typeof e}:re=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},re(t)}function Ae(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function $e(t,e){return Xe(t)||Qe(t,e)||et(t,e)||tt()}function Xe(t){if(Array.isArray(t))return t}function Qe(t,e){var r=t&&(typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"]);if(r!=null){var n=[],a=!0,s=!1,c,m;try{for(r=r.call(t);!(a=(c=r.next()).done)&&(n.push(c.value),!(e&&n.length===e));a=!0);}catch(o){s=!0,m=o}finally{try{!a&&r.return!=null&&r.return()}finally{if(s)throw m}}return n}}function et(t,e){if(t){if(typeof t=="string")return he(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return he(t,e)}}function he(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function tt(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2
2
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var R=function(e,r,n){var a=!!n,s=l.useRef(n);l.useEffect(function(){s.current=n},[n]),l.useEffect(function(){if(!a||!e)return function(){};var c=function(){s.current&&s.current.apply(s,arguments)};return e.on(r,c),function(){e.off(r,c)}},[a,r,e,s])},se=function(e){var r=l.useRef(e);return l.useEffect(function(){r.current=e},[e]),r.current},K=function(e){return e!==null&&re(e)==="object"},rt=function(e){return K(e)&&typeof e.then=="function"},nt=function(e){return K(e)&&typeof e.elements=="function"&&typeof e.createToken=="function"&&typeof e.createPaymentMethod=="function"&&typeof e.confirmCardPayment=="function"},ve="[object Object]",at=function t(e,r){if(!K(e)||!K(r))return e===r;var n=Array.isArray(e),a=Array.isArray(r);if(n!==a)return!1;var s=Object.prototype.toString.call(e)===ve,c=Object.prototype.toString.call(r)===ve;if(s!==c)return!1;if(!s&&!n)return e===r;var m=Object.keys(e),o=Object.keys(r);if(m.length!==o.length)return!1;for(var h={},f=0;f<m.length;f+=1)h[m[f]]=!0;for(var x=0;x<o.length;x+=1)h[o[x]]=!0;var g=Object.keys(h);if(g.length!==m.length)return!1;var P=e,w=r,S=function(A){return t(P[A],w[A])};return g.every(S)},Ie=function(e,r,n){return K(e)?Object.keys(e).reduce(function(a,s){var c=!K(r)||!at(e[s],r[s]);return n.includes(s)?(c&&console.warn("Unsupported prop change: options.".concat(s," is not a mutable property.")),a):c?ge(ge({},a||{}),{},Ae({},s,e[s])):a},null):null},Oe="Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.",ye=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe;if(e===null||nt(e))return e;throw new Error(r)},ot=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe;if(rt(e))return{tag:"async",stripePromise:Promise.resolve(e).then(function(a){return ye(a,r)})};var n=ye(e,r);return n===null?{tag:"empty"}:{tag:"sync",stripe:n}},st=function(e){!e||!e._registerWrapper||!e.registerAppInfo||(e._registerWrapper({name:"react-stripe-js",version:"2.7.3"}),e.registerAppInfo({name:"react-stripe-js",version:"2.7.3",url:"https://stripe.com/docs/stripe-js/react"}))},ne=l.createContext(null);ne.displayName="ElementsContext";var Ue=function(e,r){if(!e)throw new Error("Could not find Elements context; You need to wrap the part of your app that ".concat(r," in an <Elements> provider."));return e},ze=function(e){var r=e.stripe,n=e.options,a=e.children,s=l.useMemo(function(){return ot(r)},[r]),c=l.useState(function(){return{stripe:s.tag==="sync"?s.stripe:null,elements:s.tag==="sync"?s.stripe.elements(n):null}}),m=$e(c,2),o=m[0],h=m[1];l.useEffect(function(){var g=!0,P=function(S){h(function(j){return j.stripe?j:{stripe:S,elements:S.elements(n)}})};return s.tag==="async"&&!o.stripe?s.stripePromise.then(function(w){w&&g&&P(w)}):s.tag==="sync"&&!o.stripe&&P(s.stripe),function(){g=!1}},[s,o,n]);var f=se(r);l.useEffect(function(){f!==null&&f!==r&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it.")},[f,r]);var x=se(n);return l.useEffect(function(){if(o.elements){var g=Ie(n,x,["clientSecret","fonts"]);g&&o.elements.update(g)}},[n,x,o.elements]),l.useEffect(function(){st(o.stripe)},[o.stripe]),l.createElement(ne.Provider,{value:o},a)};ze.propTypes={stripe:p.any,options:p.object};var it=function(e){var r=l.useContext(ne);return Ue(r,e)},ct=function(){var e=it("calls useElements()"),r=e.elements;return r};p.func.isRequired;var _e=l.createContext(null);_e.displayName="CustomCheckoutSdkContext";var lt=function(e,r){if(!e)throw new Error("Could not find CustomCheckoutProvider context; You need to wrap the part of your app that ".concat(r," in an <CustomCheckoutProvider> provider."));return e},ut=l.createContext(null);ut.displayName="CustomCheckoutContext";p.any,p.shape({clientSecret:p.string.isRequired,elementsOptions:p.object}).isRequired;var ie=function(e){var r=l.useContext(_e),n=l.useContext(ne);if(r&&n)throw new Error("You cannot wrap the part of your app that ".concat(e," in both <CustomCheckoutProvider> and <Elements> providers."));return r?lt(r,e):Ue(n,e)},dt=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},C=function(e,r){var n="".concat(dt(e),"Element"),a=function(o){var h=o.id,f=o.className,x=o.options,g=x===void 0?{}:x,P=o.onBlur,w=o.onFocus,S=o.onReady,j=o.onChange,A=o.onEscape,M=o.onClick,F=o.onLoadError,V=o.onLoaderStart,W=o.onNetworksChange,$=o.onConfirm,J=o.onCancel,B=o.onShippingAddressChange,D=o.onShippingRateChange,U=ie("mounts <".concat(n,">")),_="elements"in U?U.elements:null,E="customCheckoutSdk"in U?U.customCheckoutSdk:null,z=l.useState(null),T=$e(z,2),v=T[0],N=T[1],L=l.useRef(null),q=l.useRef(null);R(v,"blur",P),R(v,"focus",w),R(v,"escape",A),R(v,"click",M),R(v,"loaderror",F),R(v,"loaderstart",V),R(v,"networkschange",W),R(v,"confirm",$),R(v,"cancel",J),R(v,"shippingaddresschange",B),R(v,"shippingratechange",D),R(v,"change",j);var G;S&&(e==="expressCheckout"?G=S:G=function(){S(v)}),R(v,"ready",G),l.useLayoutEffect(function(){if(L.current===null&&q.current!==null&&(_||E)){var I=null;E?I=E.createElement(e,g):_&&(I=_.create(e,g)),L.current=I,N(I),I&&I.mount(q.current)}},[_,E,g]);var de=se(g);return l.useEffect(function(){if(L.current){var I=Ie(g,de,["paymentRequest"]);I&&L.current.update(I)}},[g,de]),l.useLayoutEffect(function(){return function(){if(L.current&&typeof L.current.destroy=="function")try{L.current.destroy(),L.current=null}catch{}}},[]),l.createElement("div",{id:h,className:f,ref:q})},s=function(o){ie("mounts <".concat(n,">"));var h=o.id,f=o.className;return l.createElement("div",{id:h,className:f})},c=r?s:a;return c.propTypes={id:p.string,className:p.string,onChange:p.func,onBlur:p.func,onFocus:p.func,onReady:p.func,onEscape:p.func,onClick:p.func,onLoadError:p.func,onLoaderStart:p.func,onNetworksChange:p.func,onConfirm:p.func,onCancel:p.func,onShippingAddressChange:p.func,onShippingRateChange:p.func,options:p.object},c.displayName=n,c.__elementType=e,c},b=typeof window>"u",pt=l.createContext(null);pt.displayName="EmbeddedCheckoutProviderContext";var mt=function(){var e=ie("calls useStripe()"),r=e.stripe;return r};C("auBankAccount",b);C("card",b);var Se=C("cardNumber",b),Ce=C("cardExpiry",b),be=C("cardCvc",b);C("fpxBank",b);C("iban",b);C("idealBank",b);C("p24Bank",b);C("epsBank",b);C("payment",b);C("expressCheckout",b);C("paymentRequestButton",b);C("linkAuthentication",b);C("address",b);C("shippingAddress",b);C("paymentMethodMessaging",b);C("affirmMessage",b);C("afterpayClearpayMessage",b);var Te="https://js.stripe.com/v3",ft=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/;var gt=function(){for(var e=document.querySelectorAll('script[src^="'.concat(Te,'"]')),r=0;r<e.length;r++){var n=e[r];if(ft.test(n.src))return n}return null},xe=function(e){var r="",n=document.createElement("script");n.src="".concat(Te).concat(r);var a=document.head||document.body;if(!a)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return a.appendChild(n),n},ht=function(e,r){!e||!e._registerWrapper||e._registerWrapper({name:"stripe-js",version:"4.3.0",startTime:r})},Y=null,Q=null,ee=null,vt=function(e){return function(){e(new Error("Failed to load Stripe.js"))}},yt=function(e,r){return function(){window.Stripe?e(window.Stripe):r(new Error("Stripe.js not available"))}},St=function(e){return Y!==null?Y:(Y=new Promise(function(r,n){if(typeof window>"u"||typeof document>"u"){r(null);return}if(window.Stripe){r(window.Stripe);return}try{var a=gt();if(!(a&&e)){if(!a)a=xe(e);else if(a&&ee!==null&&Q!==null){var s;a.removeEventListener("load",ee),a.removeEventListener("error",Q),(s=a.parentNode)===null||s===void 0||s.removeChild(a),a=xe(e)}}ee=yt(r,n),Q=vt(n),a.addEventListener("load",ee),a.addEventListener("error",Q)}catch(c){n(c);return}}),Y.catch(function(r){return Y=null,Promise.reject(r)}))},Ct=function(e,r,n){if(e===null)return null;var a=e.apply(void 0,r);return ht(a,n),a},Z,Ne=!1,We=function(){return Z||(Z=St(null).catch(function(e){return Z=null,Promise.reject(e)}),Z)};Promise.resolve().then(function(){return We()}).catch(function(t){Ne||console.warn(t)});var bt=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];Ne=!0;var a=Date.now();return We().then(function(s){return Ct(s,r,a)})};const xt={containerHeight:new oe(656,720)},wt=y.div`
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as $e,q as I,F as y,j as t,aM as a,bF as le,bZ as Ne,o as s,cz as De,cA as Oe,P as E,aS as Y,cB as we,n as Le,C as be,cC as _e,aP as Ae,cD as Ve,aq as Me,cE as We,cF as Be,b3 as Fe,aC as F,cG as He,y as $,cH as Ee,cI as je,u as b,l as A,cJ as ee,cs as N,aa as Ue,ad as Ke,cK as Ze,cL as qe,aJ as Je,ai as D,cM as Ge,am as O,an as te,h as V,cN as Qe,cw as Se,b9 as ie,cO as ke,bX as Xe,cP as Ye}from"./index-
|
|
1
|
+
import{b as $e,q as I,F as y,j as t,aM as a,bF as le,bZ as Ne,o as s,cz as De,cA as Oe,P as E,aS as Y,cB as we,n as Le,C as be,cC as _e,aP as Ae,cD as Ve,aq as Me,cE as We,cF as Be,b3 as Fe,aC as F,cG as He,y as $,cH as Ee,cI as je,u as b,l as A,cJ as ee,cs as N,aa as Ue,ad as Ke,cK as Ze,cL as qe,aJ as Je,ai as D,cM as Ge,am as O,an as te,h as V,cN as Qe,cw as Se,b9 as ie,cO as ke,bX as Xe,cP as Ye}from"./index-DpnPgK1j.js";import{w as ce,b as v,n as i}from"./vendor-Bs1fkIUX.js";import{P as Ie}from"./Menu-DoA95Zgg-B8GzMRyk.js";import{T as Ce}from"./RoleWithToolTip-Osazfeks-DCHE9_6V.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const T=y.getLocalizedStrings().peoplePage.header,S=[{key:"name",value:T.name,sortOrder:"ascending",width:new $(32,26,26,30,32)},{key:"role",value:T.role,sortOrder:"ascending",width:new $(18,17,17,21,19)},{key:"manager",value:T.manager,sortOrder:"ascending",width:new $(20,20,20,19,20)},{key:"department",value:T.department,sortOrder:"ascending",width:new $(20,20,20,19,20)},{key:"lastSeen",value:T.lastSeen,sortOrder:"ascending",width:new $(10,17,17,11,9)}],H=[{key:"name",value:T.name,sortOrder:"ascending",width:new $(32,26,26,32,33)},{key:"role",value:T.role,sortOrder:"ascending",width:new $(58,57,57,57,58)},{key:"lastSeen",value:T.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(Je(d==="off"?S:H));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{q as U,aC as S,j as i,c5 as Q,F as V,aM as J,y as u,aQ as K,o as n,A as X,O as Z,H as _,am as ee,u as l,C as ie,b6 as te,an as W,h as v,ai as ne,cw as oe}from"./index-
|
|
1
|
+
import{q as U,aC as S,j as i,c5 as Q,F as V,aM as J,y as u,aQ as K,o as n,A as X,O as Z,H as _,am as ee,u as l,C as ie,b6 as te,an as W,h as v,ai as ne,cw as oe}from"./index-DpnPgK1j.js";import{b as k,n as t}from"./vendor-Bs1fkIUX.js";import{q as re}from"./PortfolioDetails-EDVhj1-e-ZuSCgqZx.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./treasuryColorHelper-jY8WJQsk-RT6XAcVf.js";const{spendManagement:{treasury:{portfolioAllocation:x}},common:m}=V.getLocalizedStrings(),d={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])},le={stepTitle:new Z("h6Regular","h5Regular")},Me=({onBackClick:e,onNextClick:g,onUpdateFundAllocation:h,treasurySetupView:E,isReadOnly:c,isEditMode:p,isOnSetup:$=!1,skipTransferStep:q})=>{const r=U(),[M,F]=k.useState(!1),{fundsData:G,fundAllocationOptions:s,fundAllocationLocalData:a,currentAllocation:w,portfolioAllocationUpdateStatus:N}=E;k.useEffect(()=>{if(p&&w!==null){const o=!S(a.allocation,w);F(o)}},[p,w,a]);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"))},Y=()=>{let o;w!=null&&(o=s.find(f=>S(f.allocation,w))),o!=null?h(o):b()},j=()=>{p&&Y(),e()};return i.jsxs(de,{children:[i.jsxs(ce,{windowSize:r,children:[i.jsx(pe,{windowSize:r,children:i.jsx(Q,{title:m.navBar.back,enterTouchDelay:600,placement:"bottom",children:i.jsx(xe,{"data-testid":J("nav-bar-back-portfolio-allocation"),onClick:j})})}),i.jsxs(he,{windowSize:r,children:[i.jsxs(ue,{windowSize:r,children:[i.jsx(me,{windowSize:r,children:se(c,$,p)}),!c&&!p&&i.jsx(ge,{children:i.jsxs(we,{children:[i.jsx(fe,{}),i.jsx(z,{}),q!==!0&&i.jsx(z,{})]})})]}),i.jsx($e,{isReadOnly:c,children:ae(c,$,p)}),i.jsx(ye,{children:i.jsxs(ve,{windowSize:r,children:[i.jsx(be,{children:i.jsx(re,{isInReview:!1,isSetup:!0,fundDetails:G,allocation:a,page:$?"setup portfolio":"edit portfolio"})}),i.jsxs(je,{windowSize:r,children:[i.jsx(Se,{children:i.jsx(ke,{onClick:b,isRecommended:c||a.riskScore===0||a.riskLevel==="Conservative",children:x.resetButton})}),r==="small"?i.jsxs(ze,{children:[i.jsxs(R,{windowSize:r,children:[i.jsxs(P,{windowSize:r,children:[i.jsx(O,{children:a.riskScore}),i.jsx(L,{children:m.strings.slash}),i.jsx(C,{children:s.length>0?Math.max(...s.map(o=>o.riskScore)):0})]}),i.jsxs(B,{children:[i.jsx(I,{type:"range",min:"0",max:s.length-1,step:"1",value:a.optionIndex,onChange:o=>y(Number(o.target.value)),disabled:c,isReadOnly:c,windowSize:r}),i.jsx(A,{style:{width:`${s.length>1?a.optionIndex/(s.length-1)*(d.sliderWidth.value(r)-12):0}px`}})]})]}),i.jsxs(Re,{children:[i.jsx(T,{children:x.riskLevelLabel}),i.jsx(D,{children:a.riskLevel})]})]}):i.jsxs(i.Fragment,{children:[i.jsxs(R,{windowSize:r,children:[i.jsxs(P,{windowSize:r,children:[i.jsx(O,{children:a.riskScore}),i.jsx(L,{children:m.strings.slash}),i.jsx(C,{children:s.length>0?Math.max(...s.map(o=>o.riskScore)):0})]}),i.jsxs(B,{children:[i.jsx(I,{type:"range",min:"0",max:s.length-1,step:"1",value:a.optionIndex,onChange:o=>y(Number(o.target.value)),disabled:c,isReadOnly:c,windowSize:r}),i.jsx(A,{style:{width:`${s.length>1?a.optionIndex/(s.length-1)*(d.sliderWidth.value(r)-12):0}px`}})]})]}),i.jsxs(Pe,{windowSize:r,children:[i.jsx(T,{children:x.riskLevelLabel}),i.jsx(D,{children:a.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&&N.fetchState==="In-Progress",isDisabled:p&&!M}})]})};function se(e,g,h){return e||g&&h?x.title:h?x.editTitle:x.stepTitle}function ae(e,g,h){return e||g&&h?x.subtextReadOnly:h?x.subtextEdit:x.subtextSetup}const de=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
height: 100%;
|
package/dist/assets/{PortfolioDetails-EDVhj1-e-DQfJkWWH.js → PortfolioDetails-EDVhj1-e-ZuSCgqZx.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as e,F as Q,o as n,jh as V,am as _,a9 as X,b as G,q as H,aN as B,y as L,c5 as f,h as I,cw as J,ai as N,dM as Z,a$ as ee,b6 as ie,bP as se,bX as ne,an as le,dr as oe,u as te}from"./index-
|
|
1
|
+
import{j as e,F as Q,o as n,jh as V,am as _,a9 as X,b as G,q as H,aN as B,y as L,c5 as f,h as I,cw as J,ai as N,dM as Z,a$ as ee,b6 as ie,bP as se,bX as ne,an as le,dr as oe,u as te}from"./index-DpnPgK1j.js";import{n as s,b as re}from"./vendor-Bs1fkIUX.js";import{l as ae}from"./treasuryColorHelper-jY8WJQsk-RT6XAcVf.js";const{common:r,spendManagement:{treasury:o},dateFormat:de}=Q.getLocalizedStrings(),w={portfolioYieldMarginTop:new L(-4,te[0]),sliderWidth:new L(143,177)},Le=({isInReview:i,isSetup:l,fundDetails:m,allocation:d,amount:h,fundAllocations:v,page:j})=>{const a=ce(m);return e.jsxs(he,{children:[!l&&e.jsx(me,{style:{alignSelf:"flex-start",padding:`${n.sp2} ${n.sp0}`},children:`${o.portfolioAllocation.title}`}),a.map(($,x)=>{const A=v?.find(g=>g.fundCode===m[x].fundCode)?.amount;return e.jsx(pe,{portfolio:$,fund:m[x],fundIndex:x,allocationPercentage:d.allocation?.[m[x].fundCode]||0,isInReview:i,isSetup:l,isLast:x===a.length-1,amount:h,currentAllocationAmount:A,page:j},m[x]?.fundCode||x)})]})},ce=i=>i.map(l=>[{label:o.promoPage.liquidity,value:l.liquidityTimeline||r.strings.hyphen},{label:o.promoPage.fundSize,value:V(l.fundSize,l.currencyCode)},{label:o.promoPage.maturity,value:`${l.maturity} ${r.timeStrings.days}`},{label:o.promoPage.expenseRatio,value:`${l.expenseRatio}${o.promoPage.expenseRatioSuffix}`},{label:o.promoPage.riskRating,value:l.riskRating||r.strings.hyphen},{label:o.promoPage.composition,value:Array.isArray(l.compositions)&&l.compositions.length>0?`${l.compositions[0].investedIn} ${l.compositions[0].percentage}${r.strings.percentage}`:r.strings.hyphen,tag:Array.isArray(l.compositions)&&l.compositions.length>1?`+${l.compositions.length-1}`:void 0,compositions:l.compositions??[]}]),pe=({portfolio:i,fund:l,fundIndex:m,allocationPercentage:d,isInReview:h,isSetup:v,isLast:j,amount:a,currentAllocationAmount:$,page:x})=>{const A=X().analytics,g=G(),t=H(),b=$?$.amount:a!=null&&a.amount>0&&d>0?a.amount*d/100:void 0,[p,K]=re.useState(!1),u=ae(m,g),S=()=>{p||A.trackTreasuryProspectusClick(l.fundName,l.fundCode,x),K(c=>!c)};return e.jsxs(e.Fragment,{children:[e.jsx(xe,{children:e.jsxs(ue,{windowSize:t,children:[e.jsxs(ge,{windowSize:t,children:[e.jsxs(fe,{windowSize:t,children:[e.jsxs(ye,{isInReview:h,windowSize:t,children:[e.jsx(we,{children:l.fundCode}),e.jsx(ve,{color:u.fundNameColor,children:`${l.fundCompanyName} ${l.fundName}`})]}),t!=="small"&&e.jsxs(z,{onClick:S,children:[p?o.transferDrawer.calculator.footerText.hide:o.overviewPage.fundTile.viewDetails,p?e.jsx(T,{}):e.jsx(P,{})]})]}),t!=="small"&&e.jsx(e.Fragment,{children:h?e.jsxs(F,{style:{alignItems:"flex-start"},children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsx(O,{children:b!=null?B("0,0.[00]",{amount:b,currencyCode:a?.currencyCode!=null&&a.currencyCode!==""?a.currencyCode:"USD",currencySymbol:a?.currencySymbol!=null&&a.currencySymbol!==""?a.currencySymbol:"$"}):r.strings.empty})]}):e.jsxs($e,{children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsxs(R,{children:[e.jsx(M,{type:"range",min:0,max:100,step:1,value:d,readOnly:!0,windowSize:t}),e.jsx(W,{color:u.fundNameColor,style:{width:`calc(${w.sliderWidth.value(t)}/100*${d}px)`,zIndex:1}})]})]})}),t!=="small"&&e.jsxs(F,{children:[e.jsxs(D,{children:[o.overviewPage.sevenDayYield,e.jsx(f,{data:o.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{minWidth:"496px",padding:`12px ${n.sp3}`},enterDelay:300,children:e.jsx(Y,{})})]}),e.jsxs(C,{windowSize:t,style:{marginRight:n.sp3},children:[l.yield,r.strings.percentage]})]})]}),t==="small"&&e.jsx(Te,{children:v?e.jsxs(Ae,{children:[e.jsxs(Re,{children:[e.jsxs(We,{children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsxs(R,{children:[e.jsx(M,{type:"range",min:0,max:100,step:1,value:d,readOnly:!0,windowSize:t}),e.jsx(W,{color:u.fundNameColor,style:{width:`calc(${w.sliderWidth.value(t)}/100*${d}px)`,zIndex:1}})]})]}),e.jsxs(Me,{children:[e.jsxs(D,{children:[o.overviewPage.sevenDayYield,e.jsx(f,{data:o.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{padding:`12px ${n.sp3}`},enterDelay:300,children:e.jsx(Y,{})})]}),e.jsxs(C,{windowSize:t,children:[l.yield,r.strings.percentage]})]})]}),e.jsxs(z,{onClick:S,style:{marginBottom:n.sp2},children:[p?o.transferDrawer.calculator.footerText.hide:o.overviewPage.fundTile.viewDetails,p?e.jsx(T,{}):e.jsx(P,{})]})]}):h?e.jsxs(Ye,{children:[e.jsxs(U,{children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsx(O,{children:b!=null?B("0,0.[00]",{amount:b,currencyCode:a?.currencyCode!=null&&a.currencyCode!==""?a.currencyCode:"USD",currencySymbol:a?.currencySymbol!=null&&a.currencySymbol!==""?a.currencySymbol:"$"}):r.strings.empty}),e.jsxs(z,{onClick:S,style:{margin:`${n.sp2} ${n.sp0}`,...j?{marginBottom:n.sp0}:{}},children:[p?o.transferDrawer.calculator.footerText.hide:o.overviewPage.fundTile.viewDetails,p?e.jsx(T,{}):e.jsx(P,{})]})]}),e.jsxs(E,{children:[e.jsxs(D,{children:[o.overviewPage.sevenDayYield,e.jsx(f,{data:o.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{padding:`12px ${n.sp3}`},enterDelay:300,children:e.jsx(Y,{})})]}),e.jsxs(C,{windowSize:t,children:[l.yield,r.strings.percentage]})]})]}):e.jsxs(Ie,{children:[e.jsxs(U,{children:[e.jsxs(y,{windowSize:t,children:[d,r.strings.percentage]}),e.jsxs(R,{children:[e.jsx(M,{type:"range",min:0,max:100,step:1,value:d,readOnly:!0,windowSize:t}),e.jsx(W,{color:u.fundNameColor,style:{width:`calc(${w.sliderWidth.value(t)}/100*${d}px)`,zIndex:1}})]}),e.jsxs(z,{onClick:S,children:[p?o.transferDrawer.calculator.footerText.hide:o.overviewPage.fundTile.viewDetails,p?e.jsx(T,{}):e.jsx(P,{})]})]}),e.jsxs(E,{children:[e.jsxs(D,{children:[o.overviewPage.sevenDayYield,e.jsx(f,{data:o.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{padding:`12px ${n.sp3}`},enterDelay:300,children:e.jsx(Y,{})})]}),e.jsxs(C,{windowSize:t,children:[l.yield,r.strings.percentage]})]})]})})]},i[0].label)}),p&&e.jsxs(Se,{children:[e.jsx(k,{children:l.description}),e.jsx(be,{style:{marginLeft:n.sp3},children:i.map(c=>e.jsxs(Ce,{windowSize:t,children:[e.jsx(k,{children:r.strings.dividerDot}),e.jsx(k,{style:{minWidth:"140px"},children:c.label}),e.jsxs(k,{style:{color:c.label===o.promoPage.fundSize?u.fundNameColor:g.colors.primary,borderBottom:`1px solid ${g.colors.grey3}`,width:"100%",padding:`${n.sp1} ${n.sp0}`,display:"flex",flexDirection:"row",alignItems:"center",gap:n.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(q=>({text:`${r.strings.dividerDot} ${q.investedIn}`,amount:`${q.percentage}${r.strings.percentage}`})):[]},placement:"bottom-end",style:{minWidth:"312px",padding:`12px ${n.sp3}`},children:e.jsx(De,{children:c.tag})})]})]},c.label))}),e.jsxs(Pe,{onClick:()=>window.open(l.url,"_blank"),children:[e.jsx(je,{children:`${o.promoPage.asOf} ${l.asOfDate.format(de.visual.MMMDCommaYYYYformat)}`}),e.jsx(ze,{})]})]}),(!j||v)&&e.jsx(ke,{style:{width:"100%",marginBottom:n.sp3}})]})},xe=s.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
gap: ${n.sp2};
|
package/dist/assets/{ProductsCarousel-CfzrTdFH-BB-sPQzr.js → ProductsCarousel-CfzrTdFH-IAVdBFFD.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{F as T,j as t,a9 as B,o as l,cg as U,a$ as N,u as q,dq as G,ar as H,am as _,dr as J,h as y}from"./index-
|
|
1
|
+
import{F as T,j as t,a9 as B,o as l,cg as U,a$ as N,u as q,dq as G,ar as H,am as _,dr as J,h as y}from"./index-DpnPgK1j.js";import{b as $,n as i}from"./vendor-Bs1fkIUX.js";const u=T.getLocalizedStrings(),w={large:{labelComp:G,title:H,subtitle:_,seeMoreLink:_}},Y={large:{width:496,height:512,padding:32,svgSize:12,svgContainerHeight:24,gap:8,imageGap:16,borderRadius:16}},o=Y.large,K=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-JDelrKuJ-D0lSC3gK.js → PromoBaseCards-JDelrKuJ-BevTB8Ip.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as c,j as r,dv as b,dw as v,dx as L,bB as z,y as a,o as e,h as d,O as f,u as l}from"./index-
|
|
1
|
+
import{q as c,j as r,dv as b,dw as v,dx as L,bB as z,y as a,o as e,h as d,O as f,u as l}from"./index-DpnPgK1j.js";import{i,n as p,k as m}from"./vendor-Bs1fkIUX.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:x,style:$})=>{const n=c();return r.jsxs(k,{cardPromoType:x,windowSize:n,shouldAnimate:g,forListPage:h,forDashboard:s,style:$,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:x,style:$})=>{const n=c();return r.jsxs(W,{cardPromoType:x,windowSize:n,shouldAnimate:g,forListPage:h,forDashboard:s,style:$,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{q as w,F as t,j as n,c4 as j,n as l,y as s,o as i,ar as y,am as P,ag as f,bz as b,f1 as v,u as a}from"./index-
|
|
1
|
+
import{q as w,F as t,j as n,c4 as j,n as l,y as s,o as i,ar as y,am as P,ag as f,bz as b,f1 as v,u as a}from"./index-DpnPgK1j.js";import{n as o}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.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-DKDJtl_2-DvaUpoIR.js → QBOSetupSection-DKDJtl_2-BPctqIki.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as C,F as u,j as i,n as k,o,y as a,h as d,fJ as T,O as E,ag as W,bz as q,f1 as B,fH as H,aU as w,ai as $,u as t}from"./index-
|
|
1
|
+
import{q as C,F as u,j as i,n as k,o,y as a,h as d,fJ as T,O as E,ag as W,bz as q,f1 as B,fH as H,aU as w,ai as $,u as t}from"./index-DpnPgK1j.js";import{n as s}from"./vendor-Bs1fkIUX.js";import I from"./QBOConnectionDialog-Cvpg0V58-DUNtqQT0.js";const r={containerPadding:new a(t[3],t[4]),sectionWidth:new a(343,580,726),topElementsRowGap:new a(t[3],t[0]),arrowIconWidthHeight:new a(t[3],t[4])},A={title:new E("standardMedium","largeMedium")},ee=({isAdmin:e,hasError:c=!1,isValid:l,saveConnectionState:p,isQBOPopupOpen:y,companyName:f,updateQBOPopupState:h,handleOnConnectClick:j})=>{const n=C(),{qbo_connection:S}=u.getLocalizedStrings().customerOnboardingPage.sections,{title:b,sucessText:z,button:v,errorText:P,requiredText:O}=S;return i.jsxs(F,{windowSize:n,children:[i.jsxs(G,{windowSize:n,children:[n==="small"?i.jsx(V,{children:l?i.jsx(_,{}):i.jsx(K,{})}):null,i.jsx(N,{windowSize:n,children:b})]}),i.jsxs(Q,{windowSize:n,children:[i.jsxs(D,{windowSize:n,children:[i.jsxs(M,{children:[i.jsx(R,{}),i.jsx(L,{windowSize:n}),i.jsx(U,{})]}),l?n!=="small"?i.jsx(m,{}):null:i.jsx(k,{variant:"primary",size:n!=="small"?"standard":"xs-small",label:v.connect,style:{width:"fit-content"},onClick:()=>h(!0),loading:p==="In-Progress"})]}),l?i.jsxs(i.Fragment,{children:[i.jsx(J,{children:z}),n==="small"?i.jsx(m,{}):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:O})}):null]}),i.jsx(I,{isAdmin:e,isGoBackAllowed:!0,isQBOPopupOpen:y,companyName:f,saveConnectionState:p,handleOnConnectClick:j,handleGoBack:()=>h(!1)})]})},m=()=>{const{tags:e}=u.getLocalizedStrings().customerOnboardingPage,{connected:c}=e;return i.jsx(H,{style:{width:"max-content",padding:0,marginTop:o.sp2},tagTitle:c,textColor:{color:new w(d.successDark),borderColor:new w(d.successDark)}})},F=s.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as O,u as U,b as M,q as W,F as D,aa as G,aP as J,j as s,aJ as Q,cS as X,bF as H,ad as K,aQ as Y,o as f}from"./index-
|
|
1
|
+
import{y as O,u as U,b as M,q as W,F as D,aa as G,aP as J,j as s,aJ as Q,cS as X,bF as H,ad as K,aQ as Y,o as f}from"./index-DpnPgK1j.js";import{b as $,n as h}from"./vendor-Bs1fkIUX.js";import{b as Z,f as ee,l as j,o as B}from"./FollowStepsSection-DL-HmGt4-C9a7p1zc.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const L="reimbursementApprovalRuleDetailPage",T="lowerBound",k="upperBound",y="steps",te={footerPadding:new O(U[2],U[3])};function ye({localData:e,approvalUpdateActionType:r,isLowerBoundDisabled:t=!1,isUpperBoundDisabled:l=!0,hideUpperBoundField:o=!1,onBackClick:d,onApprovalRuleDataUpdated:b,onResetClick:N,onSaveRuleClick:F,onSaveRuleSuccess:S}){const E=M(),A=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,P=J(u?.fetchState),{upperBound:w}=x,{allApprovalRules:n,allAccountingClasses:_,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 q=g.handleSubmit(()=>{F()}),V=async(i,p)=>{b(p)};return $.useEffect(()=>{const i=g.watch((p,{name:R})=>{if(R!=null&&p!=null){const z=Q(p);X(()=>V(R,z))}});return()=>{i.unsubscribe()}}),$.useEffect(()=>{P==="In-Progress"&&u?.fetchState==="Completed"&&S()},[P,u?.fetchState,S]),s.jsxs(se,{children:[s.jsx(H,{title:r==="approval_create"?a.newApproval:a.editApproval,backgroundColor:E.colors.grey4,style:{zIndex:4},onBackClick:()=>{d()},source:"ReimbursementApprovalRuleDetailPage"}),s.jsx(ne,{children:s.jsx(K,{...g,children:s.jsx("form",{id:C(L),onSubmit:q,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:w===1/0?Number.MAX_SAFE_INTEGER-1:w-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:_,stepsInfo:x[y],userSelectPlaceholder:a.userSelectPlaceholder,approveNotifyPlaceholder:a.approveNotifyPlaceholder,productType:"zeni_reimbursements"})]})})})}),s.jsx(Y,{formId:C(L),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:N},containerStyle:{justifyContent:A==="small"?"space-between":"center"},style:{padding:te.footerPadding.valuePx(A)},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`,Se=e=>`${e}`,se=h.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
height: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as M,q as B,F as y,j as o,bF as E,P as H,aM as S,o as t,y as r,am as L,aN as z,cD as G,cE as F,cF as U,dd as q,u as l,b8 as O,O as P,b7 as V,h as j,da as _,bx as K,C as Y}from"./index-
|
|
1
|
+
import{b as M,q as B,F as y,j as o,bF as E,P as H,aM as S,o as t,y as r,am as L,aN as z,cD as G,cE as F,cF as U,dd as q,u as l,b8 as O,O as P,b7 as V,h as j,da as _,bx as K,C as Y}from"./index-DpnPgK1j.js";import{n as i,b as Z}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.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:b})=>{const[g,d]=Z.useState(!1),n=B(),{range:c}=x.criteria[0],{steps:w,approvalRuleId:m}=x,a=y.getLocalizedStrings().commonSetUp.approval,$=()=>{d(!0)},W={onOkClick:()=>{d(!1),b?.(m)},onCancelClick:()=>{d(!1)}};return o.jsxs(Q,{windowSize:n,isLastSection:f,"data-testid":S("approval-rule-section",m),children:[o.jsxs(X,{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,D)=>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}_${D}`)),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(U,{children:a.deleteApprovalRuleTitle}),descriptionComponent:o.jsx(F,{children:a.deleteApprovalRuleDesc}),primaryButtonText:a.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:a.cancelBtnText,action:W}):null]})},Q=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{ax as At,a9 as Mt,q as Rt,b as Pt,cr as Bt,y as m,F as Ze,l as ie,gr as Nt,gt as Lt,gu as Ot,j as t,cD as ke,cE as Ae,cF as Me,aM as y,bF as Re,bs as _t,dN as Wt,gv as Et,gG as Pe,o as a,gw as Be,fu as b,fw as w,gz as x,aN as Ne,ft as Le,C as F,gB as Oe,aQ as Ft,ap as Kt,gC as Ut,gD as ae,bB as Vt,gE as Yt,A as Gt,O as Ht,H as qt,am as et,b8 as tt,h as K,an as Jt,c7 as Qt,ai as Xt,gV as Zt,gR as ei,u as c,cw as ti,d8 as ii}from"./index-Bg6L74aO.js";import{b as p,n as r}from"./vendor-Bs1fkIUX.js";import{_ as ai}from"./liveblocks-8ht9CoL5.js";import ri from"./InvoiceUploadSection-kF1uvItW-oXAWnQA1.js";import{r as oi,h as f,u as ni}from"./types-DyvtCprH-BcZYcgaq.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./crypto-cQYYQPTZ.js";import"./AttachmentView-BHnVquLu-Doi0wc3T.js";import"./uploadReceipts-9DTOr0BG-BGcQtRen.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),[S,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),S.primaryButtonText===i.buttons.delete?nt?.():S.title===i.cancelReportTitle?ue?.():S.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,j=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,je=()=>{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)},Se=()=>{rt()},Tt={onOkClick:s=>{H(!1),pe({reimbursementId:e.remiDetails?.id??"",type:"rejected",description:s})},onCancelClick:()=>{H(!1)}},jt=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?Se():(J("approved"),pe({reimbursementId:e.remiDetails?.id??"",type:"approved"}))},St=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?(J("delete"),je()):(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:S.title}),descriptionComponent:t.jsx(Ae,{children:S.description}),primaryButtonText:S.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:S.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(Si,{}):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(Fi,{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(Ke,{}),t.jsxs(Ee,{children:[t.jsx(We,{children:i.thereSeems}),t.jsx(Fe,{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,j.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:j.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:j.length>1?`#${n+1} Receipt`:"Receipt",style:{width:"auto",padding:0,height:j.length-1===n||n===0?760:451},onInvoiceUpload:()=>{console.log("onInvoiceUpload")},noAttachmentText:i.noReceiptAttached,type:"reimbursement"})})}),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(Ke,{}),t.jsxs(Ee,{children:[t.jsx(We,{children:i.thereSeems}),t.jsx(Fe,{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:j.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}`}})})]})]})]}),j.length!==1&&j.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:F.h6Regular.cssObject,decimalStyles:F.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)}),j.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:F.h6Regular.cssObject,decimalStyles:F.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(Ft,{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:St,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:jt,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(Kt,{onClickAway:()=>G(!1),children:t.jsxs(ji,{windowSize:o,children:[ee!=="processing"?t.jsx(re,{onClick:je,"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:Se,"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{ax as At,a9 as Mt,q as Rt,b as Pt,cr as Bt,y as m,F as Ze,l as ie,gr as Nt,gt as Lt,gu as Ot,j as t,cD as ke,cE as Ae,cF as Me,aM as y,bF as Re,bs as _t,dN as Wt,gv as Et,gG as Pe,o as a,gw as Be,fu as b,fw as w,gz as x,aN as Ne,ft as Le,C as F,gB as Oe,aQ as Ft,ap as Kt,gC as Ut,gD as ae,bB as Vt,gE as Yt,A as Gt,O as Ht,H as qt,am as et,b8 as tt,h as K,an as Jt,c7 as Qt,ai as Xt,gV as Zt,gR as ei,u as c,cw as ti,d8 as ii}from"./index-DpnPgK1j.js";import{b as p,n as r}from"./vendor-Bs1fkIUX.js";import{_ as ai}from"./liveblocks-8ht9CoL5.js";import ri from"./InvoiceUploadSection-kF1uvItW-C4PGeuCJ.js";import{r as oi,h as f,u as ni}from"./types-DyvtCprH-BcZYcgaq.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./crypto-cQYYQPTZ.js";import"./AttachmentView-BHnVquLu-6hZ55twC.js";import"./uploadReceipts-9DTOr0BG-CSOfXWAP.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),[S,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),S.primaryButtonText===i.buttons.delete?nt?.():S.title===i.cancelReportTitle?ue?.():S.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,j=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,je=()=>{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)},Se=()=>{rt()},Tt={onOkClick:s=>{H(!1),pe({reimbursementId:e.remiDetails?.id??"",type:"rejected",description:s})},onCancelClick:()=>{H(!1)}},jt=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?Se():(J("approved"),pe({reimbursementId:e.remiDetails?.id??"",type:"approved"}))},St=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?(J("delete"),je()):(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:S.title}),descriptionComponent:t.jsx(Ae,{children:S.description}),primaryButtonText:S.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:S.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(Si,{}):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(Fi,{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(Ke,{}),t.jsxs(Ee,{children:[t.jsx(We,{children:i.thereSeems}),t.jsx(Fe,{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,j.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:j.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:j.length>1?`#${n+1} Receipt`:"Receipt",style:{width:"auto",padding:0,height:j.length-1===n||n===0?760:451},onInvoiceUpload:()=>{console.log("onInvoiceUpload")},noAttachmentText:i.noReceiptAttached,type:"reimbursement"})})}),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(Ke,{}),t.jsxs(Ee,{children:[t.jsx(We,{children:i.thereSeems}),t.jsx(Fe,{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:j.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}`}})})]})]})]}),j.length!==1&&j.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:F.h6Regular.cssObject,decimalStyles:F.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)}),j.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:F.h6Regular.cssObject,decimalStyles:F.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(Ft,{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:St,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:jt,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(Kt,{onClickAway:()=>G(!1),children:t.jsxs(ji,{windowSize:o,children:[ee!=="processing"?t.jsx(re,{onClick:je,"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:Se,"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{ax as le,b as $,q as k,aP as ae,l as L,F as D,j as e,aM as a,bF as me,n as u,af as m,o as s,ar as ce,_ as de,aS as E,an as pe,y as xe,h as z,cR as he,aT as ue,b9 as ge,u as we}from"./index-
|
|
1
|
+
import{ax as le,b as $,q as k,aP as ae,l as L,F as D,j as e,aM as a,bF as me,n as u,af as m,o as s,ar as ce,_ as de,aS as E,an as pe,y as xe,h as z,cR as he,aT as ue,b9 as ge,u as we}from"./index-DpnPgK1j.js";import{b as j,n as t}from"./vendor-Bs1fkIUX.js";import{x as je}from"./MeetingCalenderPopup-DiUZr6zF-CdrWRN0c.js";import{f as be}from"./VideoPopup-BYi-pZ8z-pFqmhIpM.js";import{M as v}from"./usp-line-BBd1wKwW-ZlUrfnG1.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./VideoPlayer-C19SquYF-Do1HF2Iq.js";const Z="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-light.png",q="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-dark.png",fe={midContainerMarginBottom:new xe(we[5],44)},ye=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
min-height: 100%;
|