@zeniai/web-cockpit-ui 1.14.54-dev → 1.14.55-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-BL7Y9c4U-S-080jU3.js → ACHDetailsPage-BL7Y9c4U-CIbXg27S.js} +1 -1
- package/dist/assets/{AIPerformancePage-CmZ4pEYx-BPaJkf02.js → AIPerformancePage-CmZ4pEYx-D_nsK3F6.js} +1 -1
- package/dist/assets/{AccountInfoPage-B7B-mNkf-CPa20kKN.js → AccountInfoPage-B7B-mNkf-CkEOE1dx.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-B-fFX2nD-YSJMheIH.js → AccountInfoPageContent-B-fFX2nD-DgPyqsmt.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-grcOz6Da-D6Nvlbqi.js → AccountLockedInfoModal-grcOz6Da-Lg1iv4QA.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-DAwcdu2Z-ERgoL3rJ.js → AccountReconDetailsDrawerPage-DAwcdu2Z-QhUp45MZ.js} +1 -1
- package/dist/assets/{AccountRow-CO9fTck3-CeVsTb60.js → AccountRow-CO9fTck3-BhudE22b.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-Dkaf-Eko-B6FgMWG_.js → AccountsPromoCardStack-Dkaf-Eko-DMRejMdh.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-Mp4xCmCl-DCx3LTAM.js → AddAddressForCardDrawer-Mp4xCmCl-CzZRCHhG.js} +1 -1
- package/dist/assets/{AddToWalletPage-FgBLNsAS-OpJIL29_.js → AddToWalletPage-FgBLNsAS-DR36Erw4.js} +1 -1
- package/dist/assets/{AgingReportsPage-7-kVkZgd-CsTae5Cd.js → AgingReportsPage-7-kVkZgd-CNaIDTvy.js} +1 -1
- package/dist/assets/{AllUserItems-BScFqs54-BbWB9biL.js → AllUserItems-BScFqs54-3tu9Cu9M.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-DoSVCS68-Bo37AxRq.js → ApAgingDetailPage-DoSVCS68-DfsxV-NH.js} +1 -1
- package/dist/assets/{AppBasePage-BS8gx0UW-BZKi_oZ9.js → AppBasePage-BS8gx0UW-ef80MIt_.js} +1 -1
- package/dist/assets/{AppDrawerContent-Cru2orVc-Bb1P47rN.js → AppDrawerContent-Cru2orVc-CU2j1x7h.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-CKzuHNfK-Bcu1__-R.js → ApprovalRulesSettingsPage-CKzuHNfK-BaA7Kep4.js} +1 -1
- package/dist/assets/{ArAgingChart-BqwdBo0U-BHOQmoUy.js → ArAgingChart-BqwdBo0U-uXgmtQNY.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-HMNedomQ-f4A-oa-l.js → ArAgingDetailPage-HMNedomQ-CAoTXUY7.js} +1 -1
- package/dist/assets/{AttachmentView-C8rxjuWp-Cdshln2D.js → AttachmentView-C8rxjuWp-eJs7bkV_.js} +1 -1
- package/dist/assets/{BankAccountSection-DL_eZK0n-CeMLWk9e.js → BankAccountSection-DL_eZK0n-BTuHaXTq.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-Cy2ZE5cU-B1tCO-Qd.js → BankAccountWarningSection-Cy2ZE5cU-CULt1_OX.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-hPIF1E8k-Dwtwd0fQ.js → BankConnectionsSettingsPage-hPIF1E8k-o0m4Cxjv.js} +1 -1
- package/dist/assets/{BillDetailPage-dgbGAG78-MMw6TE46.js → BillDetailPage-dgbGAG78-CRoTq0uz.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-CkuEm88_-DaSselk1.js → BillPayApprovalRuleDetailPage-CkuEm88_--R_7cz4V.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-BeILioNn-OveIEFmZ.js → BillPayApprovalRulesPage-BeILioNn-DnMY5GHL.js} +1 -1
- package/dist/assets/{BillPayPromoPage-CzbOrtwi-B5DsNb7D.js → BillPayPromoPage-CzbOrtwi-drwc-peH.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-CYjo4BAU-D2eW8V_j.js → BillPaySetUpPage-CYjo4BAU-DotcpRmO.js} +1 -1
- package/dist/assets/{BillingSettingsPage-DPx9Bbxh-DdhxlNLa.js → BillingSettingsPage-DPx9Bbxh-NxcUG7w6.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-CXUJ97CY-WLDEqXjn.js → BillsBulkReviewDrawerPage-CXUJ97CY-CuszxZuo.js} +1 -1
- package/dist/assets/{BoxItem-K27onT2x-BkohCknY.js → BoxItem-K27onT2x-D6Y0isvF.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-BZUpA82T-CmJeKVKt.js → BusinessVerificationPage-BZUpA82T-DKCtJREx.js} +1 -1
- package/dist/assets/{CardNumberSubText-CzSlSzuk-Bko8eDT0.js → CardNumberSubText-CzSlSzuk-D14-WsSs.js} +1 -1
- package/dist/assets/{CashbackDetailPage-D6J1wWY0-C4OlsxRu.js → CashbackDetailPage-D6J1wWY0-B2ml-dMz.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-CPYRxqZT-Urh1C9XS.js → ChargeCardDetailPage-CPYRxqZT-BZg9Lio2.js} +1 -1
- package/dist/assets/{ChargeCardListPage-CrxQrD1o-BAxF2awl.js → ChargeCardListPage-CrxQrD1o-Bskvn0jj.js} +1 -1
- package/dist/assets/{ChargeCardListTable-DWG8f_vb-BOCbUeRL.js → ChargeCardListTable-DWG8f_vb-CUPA9_AY.js} +1 -1
- package/dist/assets/{ChargeCardPromoPage-B-i67Ztj-Ucx38LL1.js → ChargeCardPromoPage-B-i67Ztj-CSfXeL56.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-C0FUtZyR-BK0DBwhw.js → ChargeCardSetupPage-C0FUtZyR-BNkRW2pt.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-_C88v_S7-H9-uVdsz.js → ChargeCardStatementsPage-_C88v_S7-yWKZCyEC.js} +1 -1
- package/dist/assets/{ChargeCardUtils-CRSMjQuJ-B7yb2Ci9.js → ChargeCardUtils-CRSMjQuJ-D6pxGyjq.js} +1 -1
- package/dist/assets/{ChaseOverlay-Chk32mP--CXWz5cKO.js → ChaseOverlay-Chk32mP--C4LfajAQ.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-Cca0_xEd-BuPrl8SB.js → CheckDepositDrawerPage-Cca0_xEd-Cmeg1qeh.js} +1 -1
- package/dist/assets/{CollapsableReportTable-DTTHoDXk-DIK6Mwpw.js → CollapsableReportTable-DTTHoDXk-Cve3d5qC.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-C-qZvDSv-DwmSf4ng.js → CompanyOfficerDetailsSection-C-qZvDSv-ClD7LwMw.js} +1 -1
- package/dist/assets/{CompanyPassportCard-CMy7IgZQ-SJAq8S3M.js → CompanyPassportCard-CMy7IgZQ-lV-mkyLx.js} +1 -1
- package/dist/assets/{CompanyPassportPage-BzfVfq5S-DkrhD24P.js → CompanyPassportPage-BzfVfq5S-WSOXApAv.js} +1 -1
- package/dist/assets/{CompleteProfile-D_Vo4bjs-CcdPLsjy.js → CompleteProfile-D_Vo4bjs-D36IiN3s.js} +1 -1
- package/dist/assets/{ConfettiBurst-ByYhe9Uq-5CdJZkPl.js → ConfettiBurst-ByYhe9Uq-DJzlPJaD.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-C3FNJ0Cp-CjD-_kAe.js → CreateOrEditVendorPage-C3FNJ0Cp-DvbIplY3.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-CCNIGTf--CbNRrVcf.js → CreditCardPaymentDrawerPage-CCNIGTf--DkwZHjQZ.js} +1 -1
- package/dist/assets/{CreditCardPaymentPlgSection-CXfJSzFG-ChxrGFi1.js → CreditCardPaymentPlgSection-CXfJSzFG-4Nmp_X7t.js} +1 -1
- package/dist/assets/{CurrencySelectField-DX9G-HIN-D7aq4KMK.js → CurrencySelectField-DX9G-HIN-dCSLQw0t.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-Cd3MGUgG-CxIAOmSk.js → CustomerOnboardingActivationPage-Cd3MGUgG-DY8G3Z9M.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-Cy-HPHas-0-tRJvBU.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DXzgXSry-2KTPNUJe.js → CustomerOnboardingDetailPageSkeleton-DXzgXSry-CUOOqLnW.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-C3ZaAPU9-DqyJ8LDm.js → CustomerOnboardingNoStepsPage-C3ZaAPU9-CITSzExq.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-DzadcRo0-D4x-OWLa.js → CustomerOnboardingPage-DzadcRo0-BP738d9w.js} +1 -1
- package/dist/assets/{CustomerOnboardingProductSuitePage-Ym1MGPlG-DWuvoKYD.js → CustomerOnboardingProductSuitePage-Ym1MGPlG-CG5Wnm0F.js} +1 -1
- package/dist/assets/{Dashboard-RqH_ZuPu-BpQ5F8Ub.js → Dashboard-RqH_ZuPu-DiJlcJPE.js} +1 -1
- package/dist/assets/{DashboardReportPage-sQHwkguO-CDHVLLGj.js → DashboardReportPage-sQHwkguO-dKjqOaBN.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-CsClkt4i-D1fefyc2.js → DashboardSidebarBackgroundAnimation-CsClkt4i-Cgy-Z328.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-BOlbmaMV-csy2xPaR.js → DepositAccTransactionItem-BOlbmaMV-CK8WKRjD.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-CwdvMWbL-D0PLKs1C.js → DepositAccTransactionListPage-CwdvMWbL-Cq2UsiGn.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-DWvjZRT1-Cx3j5lCl.js → DomesticWireDetailsPage-DWvjZRT1-DFkQW9cw.js} +1 -1
- package/dist/assets/{DownloadOverlay-Dl7xCb4T-CN1ufF-A.js → DownloadOverlay-Dl7xCb4T-DWIgsB4b.js} +1 -1
- package/dist/assets/{DrawerPage-BoP6iB-T-Cb4zNQuw.js → DrawerPage-BoP6iB-T-Bvge84mT.js} +1 -1
- package/dist/assets/{EditPeoplePage-ndohrBfp-B30r2Om4.js → EditPeoplePage-ndohrBfp-Cqh-8ib9.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-C9p_-w5B-Cn-8nlXH.js → EditReimbursementDetailPage-C9p_-w5B-BmS46YwK.js} +1 -1
- package/dist/assets/{EntityDetailPage-DzzvIpjW-CBjzaUjO.js → EntityDetailPage-DzzvIpjW-CMJq45lh.js} +1 -1
- package/dist/assets/{EntitySummarySection-fbjsf4wz-C5df-qXs.js → EntitySummarySection-fbjsf4wz-BUYRq7bN.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-C3eQwb8P-DiHkcs26.js → ExpenseAutomationOverviewPage-C3eQwb8P-B1RztGWS.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-DEmrjEst-BhfYKyBp.js → ExpenseAutomationPage-DEmrjEst-0GmgyOWV.js} +1 -1
- package/dist/assets/{ExpressPayPage-C4U5n4MF-BPJ82cA5.js → ExpressPayPage-C4U5n4MF-BtTe6Tw5.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-CgBYliY1-BqcpP0qx.js → FeaturePreviewPage-CgBYliY1-DqNEh05B.js} +1 -1
- package/dist/assets/{FollowStepsSection-Cyft5FKn-CFkDvtUa.js → FollowStepsSection-Cyft5FKn-CZYTZHNA.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-C03T4vj9-Ib6_dzlK.js → GlobalReviewListPage-C03T4vj9-BUBHd98e.js} +1 -1
- package/dist/assets/{HelpButton-BA8FSFxn-QgOSShvA.js → HelpButton-BA8FSFxn-CvRhl4IM.js} +1 -1
- package/dist/assets/{InformationCardStack-COjNLezT-BqWLmb74.js → InformationCardStack-COjNLezT-BlG6Fsgp.js} +1 -1
- package/dist/assets/{InsightsCardStack-B_GePMMj-CmbFasDj.js → InsightsCardStack-B_GePMMj-DNoghOPM.js} +1 -1
- package/dist/assets/{InsightsSection-CfkSe-t3-D1CAvRqI.js → InsightsSection-CfkSe-t3-CThfY-K0.js} +1 -1
- package/dist/assets/{IntegrationsSettingsPage-EvDUv5bk-D469e9IS.js → IntegrationsSettingsPage-EvDUv5bk-Bx6LXOau.js} +1 -1
- package/dist/assets/{InternationalWireSwiftDetailsPage-C5SyWUJb-Bjyx9DhI.js → InternationalWireSwiftDetailsPage-C5SyWUJb-B3jpoqzO.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-BHMacc28-0DoOo3Sy.js → InternationalWireVerificationPage-BHMacc28-BNvR7vGT.js} +1 -1
- package/dist/assets/{InviteFormPage-C97gCFzs-DfphoduF.js → InviteFormPage-C97gCFzs-CpCyuy3R.js} +1 -1
- package/dist/assets/{InvitePageListView-zzPRb-HM-Buanvbqw.js → InvitePageListView-zzPRb-HM-DcdIGneX.js} +1 -1
- package/dist/assets/{InvitePeoplePage-CQlbpdaC-DgVSoYn4.js → InvitePeoplePage-CQlbpdaC-OpA3_nCr.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-arZ-VFFj-Bu4_T7dR.js → InvoiceUploadSection-arZ-VFFj-DVNXMy4a.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-BhSDFR82-3iqU32sh.js → IssueChargeCardPage-BhSDFR82-DQ9Qnk59.js} +1 -1
- package/dist/assets/{LabeledAddressValue-uSO9L1QR-B4FCZjKR.js → LabeledAddressValue-uSO9L1QR-D-D1Jt8n.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-DZfIEKMS-nOY4tpHw.js → LabeledAddressValueField-DZfIEKMS-BVPR-wir.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-vGEr4y9w-DFDnozEH.js → LabeledControlledCheckBoxField-vGEr4y9w-D_EWGRBa.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-C459f8ME-BgFTKHXt.js → LabeledCreatableSingleSelectField-C459f8ME-4mrI3jSn.js} +1 -1
- package/dist/assets/{LabeledDocumentField-DBPuFA6X-CW459kUq.js → LabeledDocumentField-DBPuFA6X-BpHvPDmr.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-BXet_fp5-DgLVi29u.js → LabeledDropDownFormattedTextField-BXet_fp5-hJ13ApJ-.js} +1 -1
- package/dist/assets/{LabeledText-DyLNb495-Cx2dYoer.js → LabeledText-DyLNb495-C0DGBTf9.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-D665l1bg-CcXkCJgQ.js → LabeledUserSingleSelectWithSubtitlesField-D665l1bg-CFnoMTx3.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-_EpxhvEF-B2OrnOT1.js → LabeledZeniRolesDropDownField-_EpxhvEF-sOhaV8qe.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-CLojjOVK-mGdRsGf2.js → LinkJETransactionPage-CLojjOVK-CfYI11GW.js} +1 -1
- package/dist/assets/{LockCardPage-ZV_H9EeO-CeB7xJ9C.js → LockCardPage-ZV_H9EeO-Bhd-Rgoi.js} +1 -1
- package/dist/assets/{LowBalancePopup-BCEwFQtx-Cki5abC6.js → LowBalancePopup-BCEwFQtx-DAkyvkvN.js} +1 -1
- package/dist/assets/{MagicLinkACHDetailsPage-CT_1zjPr-CTWG4ibA.js → MagicLinkACHDetailsPage-CT_1zjPr-DWW1A0eL.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-C_tW1UK5-CZPOAsMp.js → MagicLinkDomesticWireDetailsPage-C_tW1UK5-BLD_o1UV.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-BkT6y8UR-wGRTADSo.js → MagicLinkInternationalWireDetailsPage-BkT6y8UR-D1U44qL4.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-DqOwzNTV-BDIRshKw.js → MagicLinkSuccessPage-DqOwzNTV-DFpldy8w.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-DzO2544O-3mtB01xM.js → MagicLinkTitleSection-DzO2544O-ByWcaYYk.js} +1 -1
- package/dist/assets/{MailingDetailsSection-icU04a57-BZXTyml_.js → MailingDetailsSection-icU04a57-BZwm7h3o.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-BodzJ_R7-5qrIbXVV.js → MeetingCalenderPopup-BodzJ_R7-DYVm8SlE.js} +1 -1
- package/dist/assets/{Menu-c0uhyc86-CmJMx9gT.js → Menu-c0uhyc86-Bfa41TLe.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-DLMATS23-DVVuvyPr.js → MyBankConnectionsSettingsPage-DLMATS23-BLaT1qp0.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-Cc5j_va2-D0U69_XX.js → MyPendingActivationChargeCardListPage-Cc5j_va2-tMq7WtJn.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-BrNK4c3V-89LBA4D8.js → MyProfileSettingsPage-BrNK4c3V-sgsHl6Sh.js} +1 -1
- package/dist/assets/{NavBarWithPicker-CQG_WTr9-BcuCtzIZ.js → NavBarWithPicker-CQG_WTr9-kuWDTGAm.js} +1 -1
- package/dist/assets/{NavigationArrow-Bctt-TXi-KHoCTHiQ.js → NavigationArrow-Bctt-TXi-DD3BRWoO.js} +1 -1
- package/dist/assets/{NavigationDots-PDLoz461-BoYbmxcP.js → NavigationDots-PDLoz461-CAXKELfM.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-BypiWjln-CTdMqPbm.js → NewGlobalMerchantPage-BypiWjln-CmjDzXjS.js} +1 -1
- package/dist/assets/{NoDataChart-DObkBWvD-DzhRcOYV.js → NoDataChart-DObkBWvD-DnE7OW88.js} +1 -1
- package/dist/assets/{NoDataTable-BhgILuZm-BlfmQpkg.js → NoDataTable-BhgILuZm-mJ3Q7fay.js} +1 -1
- package/dist/assets/{NotFoundPage-VEbOm-Iy-wFZLhEL-.js → NotFoundPage-VEbOm-Iy-C1ElcCao.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-BSgX4BCI-Bv4zIWH3.js → NotificationSettingsPage-BSgX4BCI-P8_SJhFz.js} +1 -1
- package/dist/assets/{NotificationsListConfig-Bwc11G5y-Q4BJMWtq.js → NotificationsListConfig-Bwc11G5y-CERIzQWy.js} +1 -1
- package/dist/assets/{NotificationsPage-CWfdlR_O-BCEIE51B.js → NotificationsPage-CWfdlR_O-C9HSw8kU.js} +1 -1
- package/dist/assets/{OpExByVendorPage-Dkc0C-jl-CRuO5D6H.js → OpExByVendorPage-Dkc0C-jl-ganI8Lbd.js} +1 -1
- package/dist/assets/{OverlayContainerPage-Bfp6B5LD-CpznE6tN.js → OverlayContainerPage-Bfp6B5LD-Dg9lsdfB.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-BKh3ZctK-BfV_TuWE.js → PandLWithForecastPage-BKh3ZctK-CUf5TmgZ.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-C03jQcsZ-CrpBOzFo.js → PaymentAccountSetupBillingAddressSection-C03jQcsZ-Cx0Zn7YZ.js} +1 -1
- package/dist/assets/{PeoplePage-ROL_5uJL-j56Q5F7e.js → PeoplePage-ROL_5uJL-CWc_oJqr.js} +1 -1
- package/dist/assets/{PortfolioAllocationFormPage-CYJSFCAe-JkUDVBXa.js → PortfolioAllocationFormPage-CYJSFCAe-fU4M5TRR.js} +1 -1
- package/dist/assets/{PortfolioDetails-CChE8NSE-B0dngALc.js → PortfolioDetails-CChE8NSE-CINHMfaT.js} +1 -1
- package/dist/assets/{ProductsCarousel-B0xJD2vX-Bc4PvXOM.js → ProductsCarousel-B0xJD2vX-BvvpkWUP.js} +1 -1
- package/dist/assets/{PromoBaseCards-BMal6k42-C2Ud4bn2.js → PromoBaseCards-BMal6k42-cBmBZn4v.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-DGZ-Ezw9-BOmssM_R.js → QBOConnectionDialog-DGZ-Ezw9-CZKXa3P-.js} +1 -1
- package/dist/assets/{QBOSetupSection-C2mON7zH-D9c6n06L.js → QBOSetupSection-C2mON7zH-IdZ3V1uE.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CS56nftW-CCXeNSY6.js → ReimbursementApprovalRuleDetailPage-CS56nftW-RjX6G9Pn.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-CnaoF3mx-B3_95LOw.js → ReimbursementApprovalRulesPage-CnaoF3mx-DIAc8bGm.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-CzxG9TVE-DsamzPbl.js → ReimbursementDetailPage-CzxG9TVE-CzVClME3.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-UonhdAMt-CP1cfq_U.js → ReimbursementPromoPage-UonhdAMt-DPizNxeM.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-CwKfBww2-CfBixPSv.js → ReimbursementSetUpPage-CwKfBww2-CCP8bCx_.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CDCFKw4w-Custa0Ji.js → ReimbursementsBulkReviewDrawerPage-CDCFKw4w-BxMKqjK6.js} +1 -1
- package/dist/assets/{ReloadCard-0WMMLOlX-DkzKeMm2.js → ReloadCard-0WMMLOlX-Df8X1LmO.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-DsWLwitJ-DuRh6fXu.js → ReportTableViewSelector-DsWLwitJ-B49ahKcX.js} +1 -1
- package/dist/assets/{ReportsPage-DXlKdC1V-DugR_pEj.js → ReportsPage-DXlKdC1V-VC6NhqSO.js} +1 -1
- package/dist/assets/{RevenueChart-DVwTJmmr-x4_RaMwi.js → RevenueChart-DVwTJmmr-D3A-Bzl3.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-DOJhAB5P-iKXl4GMe.js → ReviewDetailsPage-DOJhAB5P-DX6-Vkjg.js} +1 -1
- package/dist/assets/{ReviewOverlay-BxEvcWil-C4AhIqJp.js → ReviewOverlay-BxEvcWil-D1dJ5vBJ.js} +1 -1
- package/dist/assets/{RoleWithToolTip-CdMLmuY8-BQuUpO3e.js → RoleWithToolTip-CdMLmuY8-hFtFLrIE.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-Pdt5hDRf-Bb-LSnF9.js → ScheduleDetailsFixedAssetsPage-Pdt5hDRf-Cjdj0xwP.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-VgHvCUdC-ClpIYbQj.js → ScheduleDetailsPage-VgHvCUdC-Cwr14sTg.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-DqRZPcEM-ftLfkGrS.js → ScheduleSequenceTable-DqRZPcEM-ttQreC1W.js} +1 -1
- package/dist/assets/{ScreenRoutes-CM4-AUVm.js → ScreenRoutes-DgyzI13B.js} +1 -1
- package/dist/assets/{SetUpAccountSection-qFnhJX91-Dru7dDuF.js → SetUpAccountSection-qFnhJX91-BYg_lzHF.js} +1 -1
- package/dist/assets/{SetUpDefaultSection-Yi3xmRiN-NfEAg8vn.js → SetUpDefaultSection-Yi3xmRiN-S0AwpJh6.js} +1 -1
- package/dist/assets/{SignIn-CsxgS2y2-iRZMjPqG.js → SignIn-CsxgS2y2-BNgt-ca8.js} +1 -1
- package/dist/assets/{SignInScreen-B8hjEDWF.js → SignInScreen-cHU0u__7.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-B1PUlpg4-BSnfZr_A.js → SpendManagementListViewPage-B1PUlpg4-BdaWeV5j.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-DMiF6bgu-fp4qVpWZ.js → SpendManagementPerTabPage-DMiF6bgu-CWfbxlRq.js} +1 -1
- package/dist/assets/{SpendManagementSection-BJbCINvy-BFk4nUI4.js → SpendManagementSection-BJbCINvy-C_g8b2nF.js} +1 -1
- package/dist/assets/{SpendMgmtSetupAccountSection-CUOacq7i-B2-t6iNB.js → SpendMgmtSetupAccountSection-CUOacq7i-CuVf76NR.js} +1 -1
- package/dist/assets/{StatementItem-D7i_R5XG-BQ1ug2g2.js → StatementItem-D7i_R5XG-DCZoAF6O.js} +1 -1
- package/dist/assets/{StatementsPage-Bzh4MiyV-Q-oKLehp.js → StatementsPage-Bzh4MiyV-um9HZi7O.js} +1 -1
- package/dist/assets/{StatusSwitcher-DKn5oPDO-So_HXTev.js → StatusSwitcher-DKn5oPDO-Cdz92oTh.js} +1 -1
- package/dist/assets/{SubTabSwitcher-D0MWHWWc-Co99oP14.js → SubTabSwitcher-D0MWHWWc-Cu0hpGec.js} +1 -1
- package/dist/assets/{SummaryCard-pWDZQvgH-Cx-fm28F.js → SummaryCard-pWDZQvgH-BKT6rZIk.js} +1 -1
- package/dist/assets/{TaskManagementPage-DF8upsFi-BmboT4R6.js → TaskManagementPage-DF8upsFi-COrQio5B.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-B7iTjaT4-B3ge81X0.js → TimeRangeSwitcher-B7iTjaT4-rPBaMJVS.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-bxGUBTz6-B9BcIGi4.js → TimeframeSwitcher-bxGUBTz6-BGt6SQG3.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-CJtIvwYY-BvKcjbeJ.js → TimeframeSwitcherWithToggle-CJtIvwYY-BJy6BPmR.js} +1 -1
- package/dist/assets/{TopExCard-BC_Qauz8-DB-R7-KF.js → TopExCard-BC_Qauz8-BAn-NX-u.js} +1 -1
- package/dist/assets/{TopExDetailPage-C8AZ_LzG-CZIVc0Ki.js → TopExDetailPage-C8AZ_LzG-D6d6ynl4.js} +1 -1
- package/dist/assets/{TransactionDetailPage-BDc7rNTJ-C2sPeaXb.js → TransactionDetailPage-BDc7rNTJ-DCU-0VsN.js} +1 -1
- package/dist/assets/{TransactionList-DNMi2UP7-t0J3qjdz.js → TransactionList-DNMi2UP7-e-3r9qmI.js} +1 -1
- package/dist/assets/{TransactionListBig-CPhExM8k-DHX7I1bx.js → TransactionListBig-CPhExM8k-CidVs8_c.js} +1 -1
- package/dist/assets/{TransactionListPage-C08bZOA_-D0S-Nltx.js → TransactionListPage-C08bZOA_-D68Kf9bP.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-DA2pw-1c-DCRfm8aU.js → TransactionVendorDetailPage-DA2pw-1c-bXV2puxK.js} +1 -1
- package/dist/assets/{TransferDrawerPage-xZQDW7dt-Dyra58m_.js → TransferDrawerPage-xZQDW7dt-DCoi6s6e.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-Bp2RHHDf-Can_q09r.js → TreasuryOverviewPage-Bp2RHHDf-CWAT_iow.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-Dajl7DZT-D4Qt7dli.js → TreasuryPromoPage-Dajl7DZT-C0PByRab.js} +1 -1
- package/dist/assets/{TreasurySetupPage-BZBGrjUD-iA7jkfd4.js → TreasurySetupPage-BZBGrjUD-BpGLlNoh.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-DkghlwnA-Dsg9I-wU.js → TreasuryStatementsPage-DkghlwnA-CLnquXND.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-C9jA_pdi-DdWyphJ-.js → TreasuryTaxLetterPage-C9jA_pdi-CxzH-D9v.js} +1 -1
- package/dist/assets/{TreasuryTransferOrReviewPage-wwaS0gFg-D4f8lUt3.js → TreasuryTransferOrReviewPage-wwaS0gFg-DrE3NFYB.js} +1 -1
- package/dist/assets/{TrendChart-D2ko9f8S-DFwEUIDR.js → TrendChart-D2ko9f8S-BevSBImM.js} +1 -1
- package/dist/assets/{TrendWithTransactions-Bphu1mFB-DHWrgAZz.js → TrendWithTransactions-Bphu1mFB-BqJntO-l.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-B1rParZn-ciBewLON.js → UncategorizedAccountsMappingPage-B1rParZn-DGW6Z-Ry.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-Be0TLBmX-CPS00pJD.js → UnitIntegrationPage-Be0TLBmX-DZ5jqDwW.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-BdWfanzM-C6zi-7Qh.js → UploadAdditionalDocumentOverlay-BdWfanzM-DKO__Yl7.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-BojsClEK-CrtEpq0e.js → Vendor2FAPopup-BojsClEK-CBfG5bjT.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-fVGmv2vJ-Kl2RGM5E.js → VendorACHDetailsPage-fVGmv2vJ-D8WrdvlU.js} +1 -1
- package/dist/assets/{VendorDetailPage-Bc2RL0QW-M9UI7M1n.js → VendorDetailPage-Bc2RL0QW-DmVwfQYr.js} +1 -1
- package/dist/assets/{VendorDomesticWireDetailsPage-mkmdvBru-BuYktKZB.js → VendorDomesticWireDetailsPage-mkmdvBru-CuFjtklo.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-BgzPdL5s-CAKKo0Cc.js → VendorFiling1099EditablePage-BgzPdL5s-CPAYHklH.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-hIBnR7ij-C8ni7e1O.js → VendorFirstReviewPage-hIBnR7ij-CrCwet3-.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-Cgjkqmes-1nJJIIkF.js → VendorInternationalWireDetailsPage-Cgjkqmes-buTfaUUJ.js} +1 -1
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-ycBB_uFS-BjDNdHy_.js → VendorInternationalWireSwiftDetailsPage-ycBB_uFS-DApxnmJZ.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-VwxyI5vq-zuYXc5NC.js → VendorsAccountsSection-VwxyI5vq-CSykNAZ_.js} +1 -1
- package/dist/assets/{VerifyDevice-B5EoU78A-CHEnP_vV.js → VerifyDevice-B5EoU78A-Jh5h5Ksq.js} +1 -1
- package/dist/assets/{VideoPlayer-Cde-61a0-lKKH9y9R.js → VideoPlayer-Cde-61a0-5qQ317v_.js} +1 -1
- package/dist/assets/{VideoPopup-DVAiv7w0-qmwQtKnr.js → VideoPopup-DVAiv7w0-DUxGcAzL.js} +1 -1
- package/dist/assets/{WarningsDrawerPage-_z3Yc2Z4-73wc2eXl.js → WarningsDrawerPage-_z3Yc2Z4-C9GdMaZa.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-BZZdUiDZ-BzAtuF2f.js → ZeniAccountDetailPage-BZZdUiDZ-7AAQjzEp.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-D5eQlRY0--jArdpqu.js → ZeniAccountListViewPage-D5eQlRY0--4ruY2Lf.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-Dk8QRDwQ-BsiuuJJB.js → ZeniAccountNavBarPieces-Dk8QRDwQ-Bl5PhTe8.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-BX8kr9QP-CC2eOpNp.js → ZeniAccountPromoPage-BX8kr9QP-SPi58qRO.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-CKgm1N1_-DFcbx66Y.js → ZeniAccountSetupPage-CKgm1N1_-B6MLD551.js} +1 -1
- package/dist/assets/{ZeniCopyright-DtvG_JY1-mTm_H4IW.js → ZeniCopyright-DtvG_JY1-_xbyTXoM.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-Dm9xvG_5-CbSOmFdo.js → ZeniTransferAmountSlider-Dm9xvG_5-C206zsrW.js} +1 -1
- package/dist/assets/{analyticsHelper-B5eI-hQk-C1OJkIq-.js → analyticsHelper-B5eI-hQk-DQqGjK0J.js} +1 -1
- package/dist/assets/{analyticsHelper-DRvuviHf.js → analyticsHelper-CNI0Dusv.js} +1 -1
- package/dist/assets/{chartTypes-aps05jSC-CoGsfIem.js → chartTypes-aps05jSC-CCpmJjuB.js} +1 -1
- package/dist/assets/{commonDimensions-C4nQRXNn-BohSKsYk.js → commonDimensions-C4nQRXNn-jM1T4HR3.js} +1 -1
- package/dist/assets/{detailCommon-DjazgFEo-HyTw52FS.js → detailCommon-DjazgFEo-CPA8tA2I.js} +1 -1
- package/dist/assets/{downloadPdf-DudZVWl7-1vKPrgtq.js → downloadPdf-DudZVWl7-Mhgz0eQ3.js} +1 -1
- package/dist/assets/{index-Ba_YkRql.js → index-DFTy4Oko.js} +4 -4
- package/dist/assets/{mapLoadingInProgressToTreeNode-D16_fNRm-DD6pevt4.js → mapLoadingInProgressToTreeNode-D16_fNRm-B5jM9wUe.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DwXe5Jno-BDPEs593.js → mapSectionWithAcOnlyToTreeNode-DwXe5Jno-CmZXAUHS.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-B38-Q2a3-BDOOrP8R.js → mapSpacerToTreeNode-B38-Q2a3-CkD5UD7L.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-BSgVAExy-CwtBkG3x.js → mapTimeframeBalancesToTreeNode-BSgVAExy-BH9XYt-x.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DbX_vrQb-Bs06kxKU.js → mapTimeframeBalancesToTreeNode-DbX_vrQb-BoQqfJi_.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-P4Pr2nHL-B_O6XnXF.js → mapTimeframeHeaderLoadingInProgressToTreeNode-P4Pr2nHL-CSH4BhFa.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-DCR5UHOm-DA8JyQK7.js → toCOABalancesWithID-DCR5UHOm-BnmMezm-.js} +1 -1
- package/dist/assets/{toChartData-DXjYcTTX-DPI8llhP.js → toChartData-DXjYcTTX-CwmQbReO.js} +1 -1
- package/dist/assets/{treasuryColorHelper-yDRGpUus-CK4gPKY0.js → treasuryColorHelper-yDRGpUus-BYue4iCN.js} +1 -1
- package/dist/assets/{uploadAttachment-E5SYR10j-BP96E-PV.js → uploadAttachment-E5SYR10j-CZZOg8qi.js} +1 -1
- package/dist/assets/{uploadReceipts-Bd5TgaCa-BcQwJIUf.js → uploadReceipts-Bd5TgaCa-CAjcBNeb.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-Cy-HPHas-DtK0daLa.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c 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{c 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-DFTy4Oko.js";import{n as P}from"./vendor-Bs1fkIUX.js";import{a as U,l as V}from"./ChargeCardListTable-DWG8f_vb-CUPA9_AY.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-c0uhyc86-Bfa41TLe.js";import"./RoleWithToolTip-CdMLmuY8-hFtFLrIE.js";import"./CardNumberSubText-CzSlSzuk-D14-WsSs.js";import"./ChargeCardUtils-CRSMjQuJ-D6pxGyjq.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($,{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:()=>{}})]})},$=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,c as fe,ax as ge,g3 as be,aa as ye,aC as xe,l as k,cT as we,cS as Pe,F as re,j as l,g4 as ve,bF as $e,ad as Oe,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,c as fe,ax as ge,g3 as be,aa as ye,aC as xe,l as k,cT as we,cS as Pe,F as re,j as l,g4 as ve,bF as $e,ad as Oe,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-DFTy4Oko.js";import{b as v,n as m}from"./vendor-Bs1fkIUX.js";import{W as Fe}from"./LabeledAddressValueField-DZfIEKMS-BVPR-wir.js";import{Y as ze}from"./LabeledUserSingleSelectWithSubtitlesField-D665l1bg-CFnoMTx3.js";import{C as Be,j as ke}from"./LabeledZeniRolesDropDownField-_EpxhvEF-sOhaV8qe.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-CdMLmuY8-hFtFLrIE.js";const b=(e,t)=>`${e}.${t}`,B={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:z,errorMessage:Ae},dateFormat:Ne}=re.getLocalizedStrings(),Me=({myProfileView:e,isZeniFinopsRolesUser:t,sectionId:i,isDisabled:u,isReimbursementDisabled:y,isZeniAccountsDisabled:p,isChargeCardDisabled:o,isBankingOnlyTenant:f,isCardsOnlyTenant:$,isLiteRoleDisabled:T,isTreasuryDisabled:h,onAddressClick:x})=>{const n=ie(),{person:r,managersList:A,classList:N,manager:H,department:g,controllersList:M,myProfileLocalData:W,addressData:Q}=e,Y=e.person.user?.birthday!=null?"readonly":void 0,O=B.largeLabelWidth.value(n),I=B.largeLabelWidth.value(n),J=v.useMemo(()=>te(y,p,o,f,$,T,h),[y,p,o,f,$,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=k.hasInvestorBankerLevelAccess(r.userRole!=null?r.userRole.userRoles:[]),_=v.useMemo(()=>N.map(c=>({label:c.fullyQualifiedAccountingClassName,value:c.classId,hoverText:c.accountingClassNumber})),[N]);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:z.firstNamePlaceholder,lastName:z.lastNamePlaceholder,name:z.namePlaceholder},showFullNameError:!0},errorInfoLabel:Ae.nameError.replace("_product_type_",se.common.productTypeString)}),l.jsx(C,{}),l.jsx(Ce,{isDisabled:u,showAdditionalInfoLabel:!1,label:{label:a.invitePage.email,width:O},text:{type:"text",name:b(i,"email"),placeholder:q(a.addPlaceholderPrefix,a.invitePage.email),style:{padding:`${s.sp0} ${B.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:z.datePlaceholder,defaultValue:W.dateOfBirth,dateFormat:Ne.visual.defaultInput,autoComplete:"off",maxDate:k.dateNow().subtract(18,"year")}}),l.jsx(C,{}),l.jsx(Fe,{label:{label:G.mailingAddress,width:I},addressValueField:{name:b(i,"mailingAddress"),placeholder:z.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:z.phonePlaceholder,defaultValue:W.phone,autoComplete:"off"},showVerified:W.isPhoneVerified,style:{width:"auto"}}),l.jsx(C,{}),t?l.jsx(Be,{label:{label:a.invitePage.role,width:O},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(ke,{label:{label:a.invitePage.role,width:O},rolesDropDownField:{name:b(i,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(r.userRole?.userRoles??[]),allRootRole:de(f,$)},productsByUserRole:ne(r.userRole?.userRoles??[],J)},registerOptions:{required:!0}},isDisabled:u}),l.jsx(C,{}),l.jsx(ze,{label:{label:a.invitePage.manager,width:O},showTooltip:!0,toolTipWidth:B.toolTipWidth.valuePx(n),tooltipTitle:l.jsx(We,{}),userSingleSelectWithSubTitlesField:{name:b(i,"manager"),value:{allUsers:d?[]:A,selectedUser:d?void 0:H?.userId},valueToSubtitle:c=>{const S=A.findIndex(R=>R.userId===c);if(S!==-1){const R=A[S],V=N.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:O},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-CQG_WTr9-BcuCtzIZ.js → NavBarWithPicker-CQG_WTr9-kuWDTGAm.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c 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{c 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-DFTy4Oko.js";import{n as l}from"./vendor-Bs1fkIUX.js";const j=l.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
flex: 1 1 auto;
|
package/dist/assets/{NavigationArrow-Bctt-TXi-KHoCTHiQ.js → NavigationArrow-Bctt-TXi-DD3BRWoO.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-DFTy4Oko.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-PDLoz461-BoYbmxcP.js → NavigationDots-PDLoz461-CAXKELfM.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-DFTy4Oko.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,m 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,m as ce,eN as me,dE as he,bl as be,h as V}from"./index-DFTy4Oko.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(fe,{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(xe,{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 fe=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,c as o}from"./index-
|
|
1
|
+
import{q as l,j as t,h as r,o as a,am as s,y as m,c as o}from"./index-DFTy4Oko.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,c as s}from"./index-
|
|
1
|
+
import{j as e,o as t,c as s}from"./index-DFTy4Oko.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,L as l,am as c,h as a,an as d}from"./index-
|
|
1
|
+
import{j as o,F as i,cd as s,L as l,am as c,h as a,an as d}from"./index-DFTy4Oko.js";import{n as t}from"./vendor-Bs1fkIUX.js";import{i as h}from"./ZeniCopyright-DtvG_JY1-_xbyTXoM.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,c as J,q as Q,aa as le,cS as ae,l as P,bF as ce,ad as de,ab as w,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 S,b8 as Y,ai as K,am as W,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,c as J,q as Q,aa as le,cS as ae,l as P,bF as ce,ad as de,ab as w,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 S,b8 as Y,ai as K,am as W,an as $e}from"./index-DFTy4Oko.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(S[3],S[4]),noteGap:new T(S[0],6)},z=(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-DFTy4Oko.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{c 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,m as ti,az as et,cA as tt,b3 as it,dG as ot,cH as st,jV as at,u as y,a 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{c 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,m as ti,az as et,cA as tt,b3 as it,dG as ot,cH as st,jV as at,u as y,a 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-DFTy4Oko.js";import{b as x,n as r,i as A}from"./vendor-Bs1fkIUX.js";import{k as ui}from"./SubTabSwitcher-D0MWHWWc-Cu0hpGec.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-Bwc11G5y-CERIzQWy.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-Dkc0C-jl-CRuO5D6H.js → OpExByVendorPage-Dkc0C-jl-ganI8Lbd.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as G,i4 as ye,F as B,c 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 Oe,i6 as Pe,o as u,aS as je,m as $e,y as F,b3 as le,aC as ie,aU as Te,u as O,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 Le,C as Q,bg as Fe,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,c 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 Oe,i6 as Pe,o as u,aS as je,m as $e,y as F,b3 as le,aC as ie,aU as Te,u as O,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 Le,C as Q,bg as Fe,aX as Re,bS as Ve,bU as ze,l as We}from"./index-DFTy4Oko.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-aps05jSC-CCpmJjuB.js";import{V as Ge}from"./toChartData-DXjYcTTX-CwmQbReO.js";import{m as R}from"./analyticsHelper-B5eI-hQk-DQqGjK0J.js";import{p as qe}from"./TimeRangeSwitcher-B7iTjaT4-rPBaMJVS.js";import{M as Ue}from"./TimeframeSwitcherWithToggle-CJtIvwYY-BJy6BPmR.js";import{C as Je}from"./NoDataChart-DObkBWvD-DnE7OW88.js";import{d as Xe}from"./NoDataTable-BhgILuZm-mJ3Q7fay.js";import{H as Ze,N as oe}from"./detailCommon-DjazgFEo-CPA8tA2I.js";import{n as V}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{I as Qe,R as U}from"./CollapsableReportTable-DTTHoDXk-Cve3d5qC.js";import{o as pe}from"./mapTimeframeBalancesToTreeNode-BSgVAExy-BH9XYt-x.js";import{d as re}from"./mapLoadingInProgressToTreeNode-D16_fNRm-B5jM9wUe.js";import{l as eo}from"./mapSpacerToTreeNode-B38-Q2a3-CkD5UD7L.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-bxGUBTz6-BGt6SQG3.js";import"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";import"./AccountRow-CO9fTck3-BhudE22b.js";const oo=m.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
`,ro=m.div`
|
|
4
4
|
flex: display;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c as i,j as r}from"./index-
|
|
1
|
+
import{c as i,j as r}from"./index-DFTy4Oko.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,B as F,c as T,q as L,aM as M,bF as re,F as c,a as ie,m as ae,y as U,C as ce,o as s,aC as le,aU as de,L as ge,cQ as me,bC as pe,u as C,l as q,bK as he,cR as ue,aS as fe,aT as xe,b9 as we}from"./index-
|
|
1
|
+
import{j as o,B as F,c as T,q as L,aM as M,bF as re,F as c,a as ie,m as ae,y as U,C as ce,o as s,aC as le,aU as de,L as ge,cQ as me,bC as pe,u as C,l as q,bK as he,cR as ue,aS as fe,aT as xe,b9 as we}from"./index-DFTy4Oko.js";import{n as r,b as A}from"./vendor-Bs1fkIUX.js";import{R as Se}from"./NavBarWithPicker-CQG_WTr9-kuWDTGAm.js";import{m as je}from"./analyticsHelper-B5eI-hQk-DQqGjK0J.js";import{M as $e}from"./TimeframeSwitcherWithToggle-CJtIvwYY-BJy6BPmR.js";import{I as be,a as Ce}from"./CollapsableReportTable-DTTHoDXk-Cve3d5qC.js";import{M as E}from"./usp-line-BBd1wKwW-ZlUrfnG1.js";import{T as Pe,I as ye,L as ke}from"./mapSectionWithAcOnlyToTreeNode-DwXe5Jno-CmZXAUHS.js";import{s as Y}from"./mapTimeframeBalancesToTreeNode-DbX_vrQb-BoQqfJi_.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-bxGUBTz6-BGt6SQG3.js";import"./AccountRow-CO9fTck3-BhudE22b.js";const H="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual.png",K="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{n 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,c 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{n 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,c 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-DFTy4Oko.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-qFnhJX91-BYg_lzHF.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){$e(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 $e(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ae(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($){return t(P[$],w[$])};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||{}),{},$e({},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=Ae(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,$=o.onEscape,M=o.onClick,F=o.onLoadError,V=o.onLoaderStart,W=o.onNetworksChange,A=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=Ae(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",$),R(v,"click",M),R(v,"loaderror",F),R(v,"loaderstart",V),R(v,"networkschange",W),R(v,"confirm",A),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{c 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,m as E,aS as Y,cB as we,a 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 Ke,ad as Ue,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{c 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,m as E,aS as Y,cB as we,a 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 Ke,ad as Ue,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-DFTy4Oko.js";import{w as ce,b as v,n as i}from"./vendor-Bs1fkIUX.js";import{P as Ie}from"./Menu-c0uhyc86-Bfa41TLe.js";import{T as Ce}from"./RoleWithToolTip-CdMLmuY8-hFtFLrIE.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=y.getLocalizedStrings().peoplePage.header,S=[{key:"name",value:P.name,sortOrder:"ascending",width:new $(32,26,26,30,32)},{key:"role",value:P.role,sortOrder:"ascending",width:new $(18,17,17,21,19)},{key:"manager",value:P.manager,sortOrder:"ascending",width:new $(20,20,20,19,20)},{key:"department",value:P.department,sortOrder:"ascending",width:new $(20,20,20,19,20)},{key:"lastSeen",value:P.lastSeen,sortOrder:"ascending",width:new $(10,17,17,11,9)}],H=[{key:"name",value:P.name,sortOrder:"ascending",width:new $(32,26,26,32,33)},{key:"role",value:P.role,sortOrder:"ascending",width:new $(58,57,57,57,58)},{key:"lastSeen",value:P.lastSeen,sortOrder:"ascending",width:new $(10,17,17,11,9)}],et=58;function tt({userNameSticky:e,sortConfig:r,onColumnSortConfigChanged:l,mode:d}){const m=I(),[p,x]=v.useState(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 H,aC as S,j as i,c5 as U,F as Q,aM as V,y as u,aQ as J,o as n,A as K,O as X,H as Z,am as _,u as l,C as ee,b6 as ie,an as D,h as v,ai as te,cw as ne}from"./index-
|
|
1
|
+
import{q as H,aC as S,j as i,c5 as U,F as Q,aM as V,y as u,aQ as J,o as n,A as K,O as X,H as Z,am as _,u as l,C as ee,b6 as ie,an as D,h as v,ai as te,cw as ne}from"./index-DFTy4Oko.js";import{b as k,n as t}from"./vendor-Bs1fkIUX.js";import{q as oe}from"./PortfolioDetails-CChE8NSE-CINHMfaT.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-yDRGpUus-BYue4iCN.js";const{spendManagement:{treasury:{portfolioAllocation:x}},common:m}=Q.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])},re={stepTitle:new X("h6Regular","h5Regular")},Me=({onBackClick:e,onNextClick:g,onUpdateFundAllocation:h,treasurySetupView:E,isReadOnly:c,isEditMode:p,isOnSetup:f=!1})=>{const r=H(),[M,q]=k.useState(!1),{fundsData:F,fundAllocationOptions:s,fundAllocationLocalData:a,currentAllocation:w,portfolioAllocationUpdateStatus:N}=E;k.useEffect(()=>{if(p&&w!==null){const o=!S(a.allocation,w);q(o)}},[p,w,a]);const y=o=>{const $=s.find(Y=>Y.optionIndex===o);$&&h($)},b=()=>{y(s.findIndex(o=>o.riskScore===0||o.riskLevel==="Conservative"))},G=()=>{let o;w!=null&&(o=s.find($=>S($.allocation,w))),o!=null?h(o):b()},j=()=>{p&&G(),e()};return i.jsxs(ae,{children:[i.jsxs(de,{windowSize:r,children:[i.jsx(ce,{windowSize:r,children:i.jsx(U,{title:m.navBar.back,enterTouchDelay:600,placement:"bottom",children:i.jsx(pe,{"data-testid":V("nav-bar-back-portfolio-allocation"),onClick:j})})}),i.jsxs(xe,{windowSize:r,children:[i.jsxs(he,{windowSize:r,children:[i.jsx(ue,{windowSize:r,children:le(c,f,p)}),!c&&!p&&i.jsx(me,{children:i.jsxs(ge,{children:[i.jsx(we,{}),i.jsx(z,{}),i.jsx(z,{})]})})]}),i.jsx($e,{isReadOnly:c,children:se(c,f,p)}),i.jsx(fe,{children:i.jsxs(ye,{windowSize:r,children:[i.jsx(ve,{children:i.jsx(oe,{isInReview:!1,isSetup:!0,fundDetails:F,allocation:a,page:f?"setup portfolio":"edit portfolio"})}),i.jsxs(be,{windowSize:r,children:[i.jsx(je,{children:i.jsx(Se,{onClick:b,isRecommended:c||a.riskScore===0||a.riskLevel==="Conservative",children:x.resetButton})}),r==="small"?i.jsxs(ke,{children:[i.jsxs(R,{windowSize:r,children:[i.jsxs(O,{windowSize:r,children:[i.jsx(P,{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(ze,{children:[i.jsx(T,{children:x.riskLevelLabel}),i.jsx(W,{children:a.riskLevel})]})]}):i.jsxs(i.Fragment,{children:[i.jsxs(R,{windowSize:r,children:[i.jsxs(O,{windowSize:r,children:[i.jsx(P,{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,{windowSize:r,children:[i.jsx(T,{children:x.riskLevelLabel}),i.jsx(W,{children:a.riskLevel})]})]})]})]})})]})]}),c?null:i.jsx(J,{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 le(e,g,h){return e||g&&h?x.title:h?x.editTitle:x.stepTitle}function se(e,g,h){return e||g&&h?x.subtextReadOnly:h?x.subtextEdit:x.subtextSetup}const ae=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
height: 100%;
|
package/dist/assets/{PortfolioDetails-CChE8NSE-B0dngALc.js → PortfolioDetails-CChE8NSE-CINHMfaT.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as e,F as V,o as n,jh as X,am as Q,a9 as G,c as H,q as J,aN as B,y as L,c5 as f,h as I,cw as _,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 V,o as n,jh as X,am as Q,a9 as G,c as H,q as J,aN as B,y as L,c5 as f,h as I,cw as _,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-DFTy4Oko.js";import{n as s,b as re}from"./vendor-Bs1fkIUX.js";import{l as ae}from"./treasuryColorHelper-yDRGpUus-BYue4iCN.js";const{common:r,spendManagement:{treasury:o},dateFormat:de}=V.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:X(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=G().analytics,g=H(),t=J(),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-B0xJD2vX-Bc4PvXOM.js → ProductsCarousel-B0xJD2vX-BvvpkWUP.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{F as O,j as t,a9 as U,o as l,cg as A,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 O,j as t,a9 as U,o as l,cg as A,a$ as N,u as q,dq as G,ar as H,am as _,dr as J,h as y}from"./index-DFTy4Oko.js";import{b as $,n as i}from"./vendor-Bs1fkIUX.js";const u=O.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-BMal6k42-C2Ud4bn2.js → PromoBaseCards-BMal6k42-cBmBZn4v.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-DFTy4Oko.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,a as l,y as s,o as i,ar as P,am as y,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,a as l,y as s,o as i,ar as P,am as y,ag as f,bz as b,f1 as v,u as a}from"./index-DFTy4Oko.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-C2mON7zH-D9c6n06L.js → QBOSetupSection-C2mON7zH-IdZ3V1uE.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as C,F as u,j as i,a as k,o,y as a,h as d,fJ as E,O as T,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,a as k,o,y as a,h as d,fJ as E,O as T,ag as W,bz as q,f1 as B,fH as H,aU as w,ai as $,u as t}from"./index-DFTy4Oko.js";import{n as s}from"./vendor-Bs1fkIUX.js";import I from"./QBOConnectionDialog-DGZ-Ezw9-CZKXa3P-.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 T("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,c as M,q as W,F as $,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,c as M,q as W,F as $,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-DFTy4Oko.js";import{b as D,n as h}from"./vendor-Bs1fkIUX.js";import{b as Z,f as ee,l as j,o as B}from"./FollowStepsSection-Cyft5FKn-CZYTZHNA.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:A}){const E=M(),S=W(),a=$.getLocalizedStrings().commonSetUp.approval,I=$.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,x=ae(e,r==="approval_create"&&!t),g=G({mode:"all",reValidateMode:"onChange",defaultValues:x}),u=e.remiSetupApproverViewUpdateData?.updateStatus,w=J(u?.fetchState),{upperBound:P}=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 D.useEffect(()=>{const i=g.watch((p,{name:R})=>{if(R!=null&&p!=null){const z=Q(p);X(()=>V(R,z))}});return()=>{i.unsubscribe()}}),D.useEffect(()=>{w==="In-Progress"&&u?.fetchState==="Completed"&&A()},[w,u?.fetchState,A]),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:P===1/0?Number.MAX_SAFE_INTEGER-1:P-1,min:v,validate:i=>t?!0:i!=null&&i>v},isDisabled:t,additionalInfoLabel:a.firstRuleLowerBoundInfoLabel,additionalErrorLabel:a.firstRuleErrorInfoLabel},secondText:{type:"number",name:k,placeholder:"Infinity",isDisabled:l,hideField:o,additionalInfoLabel:a.upperBoundInfoLabel}}),s.jsx(pe,{}),s.jsx(ee,{sectionId:y,label:{label:a.followStepsLabel},approversPlaceholder:a.approversPlaceholder,notifiersPlaceholder:a.notifiersPlaceholder,allUserWithRoles:e.allApprovers,filteredApprovers:e.filteredApprovers.map(i=>i.user),allAttributes:e.allAttributes,filteredAttributes:e.filteredAttributes,allAccountingClasses:_,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:S==="small"?"space-between":"center"},style:{padding:te.footerPadding.valuePx(S)},separatorStyle:{marginRight:f.sp4}})]})}const ae=(e,r)=>{const{criteria:t,steps:l}=e.remiSetupApproverViewUpdateData?.data??{};return{[y]:re(e.allApprovers.map(o=>o.user),e.filteredApprovers.map(o=>o.user),B(e.allAttributes),B(e.filteredAttributes),l??[])??[],[T]:r?void 0:t!=null?t.range.min.amount??0:0,[k]:t!=null?t.range.max==null?1/0:t.range.max.amount:1/0}},re=(e,r,t,l,o)=>o&&o.length>0?o.map((d,b)=>({stepIndex:b,stepType:{selectedOption:d.action,allOptions:j},actors:{allUsers:r,selectedUsers:le(e,d.actors),allNonUsers:l,selectedNonUsers:oe(t,d.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:j},actors:{allUsers:r,selectedUsers:[],allNonUsers:l,selectedNonUsers:[]}}],le=(e,r)=>e.filter(t=>t.userId!=null&&r.findIndex(l=>l.userId===t.userId)>-1),oe=(e,r)=>e.filter(t=>r.findIndex(l=>l.subType===t.value)>-1),C=e=>`${e}_form`,Ae=e=>`${e}`,se=h.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
height: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c as M,q as B,F as y,j as o,bF as E,m as H,aM as S,o as t,y as r,am as L,aN as z,cD as F,cE as G,cF as U,dd as q,u as l,b8 as O,O as P,b7 as V,h as j,da as K,bx as _,C as Y}from"./index-
|
|
1
|
+
import{c as M,q as B,F as y,j as o,bF as E,m as H,aM as S,o as t,y as r,am as L,aN as z,cD as F,cE as G,cF as U,dd as q,u as l,b8 as O,O as P,b7 as V,h as j,da as K,bx as _,C as Y}from"./index-DFTy4Oko.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)},A={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),a=B(),{range:c}=x.criteria[0],{steps:w,approvalRuleId:m}=x,n=y.getLocalizedStrings().commonSetUp.approval,$=()=>{d(!0)},W={onOkClick:()=>{d(!1),b?.(m)},onCancelClick:()=>{d(!1)}};return o.jsxs(Q,{windowSize:a,isLastSection:f,"data-testid":S("approval-rule-section",m),children:[o.jsxs(X,{windowSize:a,children:[o.jsxs(ne,{children:[o.jsxs(I,{windowSize:a,children:[n.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:a,children:z("0,0",{...c.min,amount:c.max.amount})})]}),o.jsxs(ae,{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:a,children:o.jsx(ie,{isSingleStep:w.length===1,windowSize:a,children:w.map((h,N)=>o.jsxs(re,{isSingleStep:w.length===1,className:"stepperItem",windowSize:a,children:[h.action==="require_approval"?o.jsx(le,{children:n.requireText}):o.jsx(se,{children:n.notifyText}),h.nonUserActors.filter(p=>p.subType!=null).map((p,D)=>o.jsxs(R,{children:[o.jsx(T,{children:p.subType!=null?n.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))]},N))})}),g?o.jsx(F,{titleComponent:o.jsx(U,{children:n.deleteApprovalRuleTitle}),descriptionComponent:o.jsx(G,{children:n.deleteApprovalRuleDesc}),primaryButtonText:n.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:n.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,c 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 Gt,A as Yt,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-Ba_YkRql.js";import{b as p,n as r}from"./vendor-Bs1fkIUX.js";import{_ as ai}from"./liveblocks-8ht9CoL5.js";import ri from"./InvoiceUploadSection-arZ-VFFj-Bu4_T7dR.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-C8rxjuWp-Cdshln2D.js";import"./uploadReceipts-Bd5TgaCa-BcQwJIUf.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),[G,Y]=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(Ye,{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:"receipt"})})}),t.jsxs(Oi,{windowSize:o,children:[n===0&&o!=="small"?t.jsxs(t.Fragment,{children:[t.jsxs(He,{windowSize:o,children:[t.jsx(qe,{windowsSize:o,children:X}),de&&$!=null?t.jsx(Ve,{color:$.color,bgColor:$.bgColor,borderColor:$.borderColor,children:$.value}):null]}),e.createdBy?.userId!=null?t.jsx(Ue,{windowSize:o,children:`By ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,A?.code!=null?t.jsx(Ye,{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(Ge,{}),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(Ge,{}):null,t.jsx(wi,{windowSize:o,"data-testid":y("remi-detail-page-footer"),onClick:s=>{s.stopPropagation(),G===!0&&Y(!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&&G?t.jsx(Kt,{onClickAway:()=>Y(!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:()=>Y(!G),"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,c 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 Gt,A as Yt,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-DFTy4Oko.js";import{b as p,n as r}from"./vendor-Bs1fkIUX.js";import{_ as ai}from"./liveblocks-8ht9CoL5.js";import ri from"./InvoiceUploadSection-arZ-VFFj-DVNXMy4a.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-C8rxjuWp-eJs7bkV_.js";import"./uploadReceipts-Bd5TgaCa-CAjcBNeb.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),[G,Y]=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(Ye,{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:"receipt"})})}),t.jsxs(Oi,{windowSize:o,children:[n===0&&o!=="small"?t.jsxs(t.Fragment,{children:[t.jsxs(He,{windowSize:o,children:[t.jsx(qe,{windowsSize:o,children:X}),de&&$!=null?t.jsx(Ve,{color:$.color,bgColor:$.bgColor,borderColor:$.borderColor,children:$.value}):null]}),e.createdBy?.userId!=null?t.jsx(Ue,{windowSize:o,children:`By ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,A?.code!=null?t.jsx(Ye,{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(Ge,{}),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(Ge,{}):null,t.jsx(wi,{windowSize:o,"data-testid":y("remi-detail-page-footer"),onClick:s=>{s.stopPropagation(),G===!0&&Y(!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&&G?t.jsx(Kt,{onClickAway:()=>Y(!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:()=>Y(!G),"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,c as $,q as k,aP as ae,l as A,F as D,j as e,aM as a,bF as me,a as u,af as m,o as t,ar as ce,L 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,c as $,q as k,aP as ae,l as A,F as D,j as e,aM as a,bF as me,a as u,af as m,o as t,ar as ce,L 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-DFTy4Oko.js";import{b as j,n as s}from"./vendor-Bs1fkIUX.js";import{x as je}from"./MeetingCalenderPopup-BodzJ_R7-DYVm8SlE.js";import{f as be}from"./VideoPopup-DVAiv7w0-DUxGcAzL.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-Cde-61a0-5qQ317v_.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=s.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
min-height: 100%;
|