@zeniai/web-cockpit-ui 1.13.86-dev → 1.13.86-prod
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-DGGeHZnW-CRRXdkuL.js → ACHDetailsPage-DGGeHZnW-B0w75Qqa.js} +1 -1
- package/dist/assets/{AIPerformancePage-BnFh61HC-DG1jrKEt.js → AIPerformancePage-BnFh61HC-oYjMDFhp.js} +1 -1
- package/dist/assets/{AccountInfoPage-BoCzcaQW-DXC6zcEv.js → AccountInfoPage-BoCzcaQW-0jZO3NrI.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-C4VpFgc_-DvP6xZz-.js → AccountInfoPageContent-C4VpFgc_-PZ9I-m68.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-DJmFBJve-DvtbeSb_.js → AccountReconDetailsDrawerPage-DJmFBJve-CKMiqNaf.js} +1 -1
- package/dist/assets/{AccountRow-vtPa0PJn-DyxPucxT.js → AccountRow-vtPa0PJn-Ccj8p0p9.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-D5elLwcD-DFP5ej-L.js → AccountsPromoCardStack-D5elLwcD-DUhWydOV.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-D9uW1sU2-CyIurqG5.js → AddAddressForCardDrawer-D9uW1sU2-Bc-Z7xPG.js} +1 -1
- package/dist/assets/{AddToWalletPage-D3yOWwc3-Dt5WZtr8.js → AddToWalletPage-D3yOWwc3-DhHNF9uo.js} +1 -1
- package/dist/assets/{AgingReportsPage-DlB02nzb-DT1hA1_s.js → AgingReportsPage-DlB02nzb-D-Sm1I5S.js} +1 -1
- package/dist/assets/{AllUserItems-Bwbb5_fm-BcHqhbO0.js → AllUserItems-Bwbb5_fm-ynRHF0MF.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-Bhf_ygxm-DDVphjYY.js → ApAgingDetailPage-Bhf_ygxm-Ct0RZobi.js} +1 -1
- package/dist/assets/{AppBasePage-DyGLpjZ0-DttRVXyT.js → AppBasePage-DyGLpjZ0-DaARhwk6.js} +1 -1
- package/dist/assets/{AppDrawerContent-D_dlUPFp-BL5bhrHC.js → AppDrawerContent-D_dlUPFp-KwJJQrM6.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-DLvGE0ND-DjcwfHKU.js → ApprovalRulesSettingsPage-DLvGE0ND-BRmcznJ6.js} +1 -1
- package/dist/assets/{ArAgingChart-CR7dx7XY-Cx6fMjBH.js → ArAgingChart-CR7dx7XY-CKZgeOzb.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-kU_SEimL-B5vhsKkP.js → ArAgingDetailPage-kU_SEimL-BvGZHW4B.js} +1 -1
- package/dist/assets/{AttachmentView-ClQPirg--D1d3_Uda.js → AttachmentView-ClQPirg--DEqMxi0K.js} +1 -1
- package/dist/assets/{BankAccountSection-DLB1oftk-DEn9rP2e.js → BankAccountSection-DLB1oftk-DWVfhPoh.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-ClrNHLqo-NpMhaSfC.js → BankAccountWarningSection-ClrNHLqo-BkJ1BVkf.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-D1w10U35-B0hA0qGz.js → BankConnectionsSettingsPage-D1w10U35-YZIDDT6F.js} +1 -1
- package/dist/assets/{BillDetailPage-Bfrn4oa6-D2E_Tt5J.js → BillDetailPage-Bfrn4oa6-DQMbSBkL.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-DIzv3Xu9-yMWl3cpx.js → BillPayApprovalRuleDetailPage-DIzv3Xu9-B9yjottn.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-CPBknTMQ-BwSnwQg8.js → BillPayApprovalRulesPage-CPBknTMQ-CVKAq3ly.js} +1 -1
- package/dist/assets/{BillPayPromoPage-CKETeVet-WnOIT8cc.js → BillPayPromoPage-CKETeVet-DdUaRi_i.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-DIz-RZih-CC05m-y7.js → BillPaySetUpPage-DIz-RZih-BreWbM81.js} +1 -1
- package/dist/assets/{BillingSettingsPage-Bm-IF_p7-8u0bw5ku.js → BillingSettingsPage-Bm-IF_p7-DNHl4xz8.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-CVAG78EK-BwPRAmgg.js → BillsBulkReviewDrawerPage-CVAG78EK-DCPUzEL9.js} +1 -1
- package/dist/assets/{BoxItem-B8KF3Skh-TmzJmYZc.js → BoxItem-B8KF3Skh-JYmAPE_J.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-Ctqy7ZwA-J8d6V6lT.js → BusinessVerificationPage-Ctqy7ZwA-Pibcm8K3.js} +1 -1
- package/dist/assets/{CardNumberSubText-CNiPWVeO-OlxmvVJt.js → CardNumberSubText-CNiPWVeO-LUxFhNyr.js} +1 -1
- package/dist/assets/{CashbackDetailPage-BNWBGKHa-bIlWYuwv.js → CashbackDetailPage-BNWBGKHa-CgYtx0i2.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-BuCwlpLH-7rCG_cYb.js → ChargeCardDetailPage-BuCwlpLH-Dqmxnq7H.js} +1 -1
- package/dist/assets/{ChargeCardListPage-CXbTalVQ-D381djUW.js → ChargeCardListPage-CXbTalVQ-CKsNCzlh.js} +1 -1
- package/dist/assets/{ChargeCardListTable-D4-Br785-DpvUrE9e.js → ChargeCardListTable-D4-Br785-CA2JSsF9.js} +1 -1
- package/dist/assets/{ChargeCardPromoPage-BTfg7L28-D2O1yFJS.js → ChargeCardPromoPage-BTfg7L28-DF47hcgS.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-fy0EpA-m-DvURpcVh.js → ChargeCardSetupPage-fy0EpA-m-BxDAwTha.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-B_rdiq_Y-BAKafx8N.js → ChargeCardStatementsPage-B_rdiq_Y-jjH-DAgp.js} +1 -1
- package/dist/assets/{ChargeCardUtils-CtoTn6DQ-C3z4uZjJ.js → ChargeCardUtils-CtoTn6DQ-CEQAXg_r.js} +1 -1
- package/dist/assets/{ChaseOverlay-DfjQ73Ie-BOsM74a7.js → ChaseOverlay-DfjQ73Ie-BuvaJtMo.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-yUzhTMSu-DalHOQf6.js → CheckDepositDrawerPage-yUzhTMSu-MeotqJRr.js} +1 -1
- package/dist/assets/{CollapsableReportTable-CHsJ-93l-CZG5w07A.js → CollapsableReportTable-CHsJ-93l-Bi7TfJ-K.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-BlUCDRW6-r-0kIc8i.js → CompanyOfficerDetailsSection-BlUCDRW6-B6U8H_cM.js} +1 -1
- package/dist/assets/{CompanyPassportCard-DSRRu6RZ-D8WUh8RF.js → CompanyPassportCard-DSRRu6RZ-C9HDgYfN.js} +1 -1
- package/dist/assets/{CompanyPassportPage-DpeoVbLk-CGE5gjRB.js → CompanyPassportPage-DpeoVbLk-DkaYrVic.js} +1 -1
- package/dist/assets/{CompleteProfile-BaTEooSW-C9pQ1jcL.js → CompleteProfile-BaTEooSW-BYqXMLi8.js} +1 -1
- package/dist/assets/{ConfettiBurst-C2engbkN-OYjDPreK.js → ConfettiBurst-C2engbkN-V_uY_tO9.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-CaIc3Tib-CiLHzKjL.js → CreateOrEditVendorPage-CaIc3Tib-CxIwekzk.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-DEFrzmkG-BYyXj2cB.js → CreditCardPaymentDrawerPage-DEFrzmkG-BRXwoTyj.js} +1 -1
- package/dist/assets/{CreditCardPaymentPlgSection-IeRxDnG7-iIog9fs2.js → CreditCardPaymentPlgSection-IeRxDnG7-BraPG36j.js} +1 -1
- package/dist/assets/{CurrencySelectField-DDiCwLn7-OV5xt8fQ.js → CurrencySelectField-DDiCwLn7-R8-HKoHS.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-976y8y35-B5nrrrGQ.js → CustomerOnboardingActivationPage-976y8y35-BKB9eQaF.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-DzzvTpfs-pWxD83yn.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DYfidx87-rFt8SrGg.js → CustomerOnboardingDetailPageSkeleton-DYfidx87-BCTz__9n.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-DrLZ3k77-DwEaFPCU.js → CustomerOnboardingNoStepsPage-DrLZ3k77-D649rhkt.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-BiUXryld-DwfZXjsS.js → CustomerOnboardingPage-BiUXryld-HgqXiajr.js} +1 -1
- package/dist/assets/{CustomerOnboardingProductSuitePage-CmHltdpN-Cb45Wbg-.js → CustomerOnboardingProductSuitePage-CmHltdpN-H0vMGnp1.js} +1 -1
- package/dist/assets/{Dashboard-B1UeMAoF-D-P-pMiu.js → Dashboard-B1UeMAoF-Uk-MHkBf.js} +1 -1
- package/dist/assets/{DashboardReportPage-DULpVd6J-B_d0ak7a.js → DashboardReportPage-DULpVd6J-l4Vy7hhH.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-BEs_Al_8-DryszVsJ.js → DepositAccTransactionItem-BEs_Al_8-Bg20fmit.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-CL8Rr3I4-3mitujdt.js → DepositAccTransactionListPage-CL8Rr3I4-PTeUP6x-.js} +1 -1
- package/dist/assets/{DocumentSecurityBanner-BgKXBGg3-gTBQRSLd.js → DocumentSecurityBanner-BgKXBGg3-Bl8BwMyM.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-CVKheLW6-Cp0cNoH9.js → DomesticWireDetailsPage-CVKheLW6-BJ0WqkU8.js} +1 -1
- package/dist/assets/{DownloadOverlay-cne9_fIV-BGdaHI5P.js → DownloadOverlay-cne9_fIV-BVhcS5G6.js} +1 -1
- package/dist/assets/{DrawerPage-B0mgBHB5-CQtDXw_Q.js → DrawerPage-B0mgBHB5-B97-EY3F.js} +1 -1
- package/dist/assets/{EditPeoplePage-DgVDgYlm-Cq7SpjxR.js → EditPeoplePage-DgVDgYlm-DOxAUhJ5.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-DWhSkrJ7-DXfnlGXX.js → EditReimbursementDetailPage-DWhSkrJ7-Ck-WrOdO.js} +1 -1
- package/dist/assets/{EntityDetailPage-wnOA1SH7-aYV-tRku.js → EntityDetailPage-wnOA1SH7-DunEwi-2.js} +1 -1
- package/dist/assets/{EntitySummarySection-Q_UUVBaU-B-zx_bhC.js → EntitySummarySection-Q_UUVBaU-CCdZqN3Z.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-BumrdlGf-BlGx5F5V.js → ExpenseAutomationOverviewPage-BumrdlGf-DlUCUheT.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-DKjInf-x-DBua7HMI.js → ExpenseAutomationPage-DKjInf-x-CLrqgMqv.js} +1 -1
- package/dist/assets/{ExpressPayPage-wwfao-Tr-Cll3aRZR.js → ExpressPayPage-wwfao-Tr-ryF8peXx.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-DriDr9id-IfgJ91nt.js → FeaturePreviewPage-DriDr9id-U4qY_kzw.js} +1 -1
- package/dist/assets/{FollowStepsSection-5025urr9-BhQV5Gxg.js → FollowStepsSection-5025urr9-DTswNK5r.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-BFjOsp4u-dTOZQfQK.js → GlobalReviewListPage-BFjOsp4u-CkPnlCwo.js} +1 -1
- package/dist/assets/{HelpButton-CzonsAOi-CLT44ucP.js → HelpButton-CzonsAOi-C6o6gRiy.js} +1 -1
- package/dist/assets/{InformationCardStack-DrD-sWV8-D-viV3aR.js → InformationCardStack-DrD-sWV8-CpQ1DMby.js} +1 -1
- package/dist/assets/{InsightsCardStack-CFqfiCOY-DSgzQkhY.js → InsightsCardStack-CFqfiCOY-CdOcRooy.js} +1 -1
- package/dist/assets/{InsightsSection-CN1BVvSr-DiHzw0Zr.js → InsightsSection-CN1BVvSr-BcPmBh3t.js} +1 -1
- package/dist/assets/{IntegrationsSettingsPage-BBlKuJxA-Ax55qhbj.js → IntegrationsSettingsPage-BBlKuJxA-BSt5UPQP.js} +1 -1
- package/dist/assets/{InternationalWireSwiftDetailsPage-f4DZUYIx-CPv4IcAC.js → InternationalWireSwiftDetailsPage-f4DZUYIx-Bc0iCI6o.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-5WpkXxPC-B_ootlBy.js → InternationalWireVerificationPage-5WpkXxPC-D1J0y5mG.js} +1 -1
- package/dist/assets/{InviteFormPage-Bw2ykerx-B8sj-JFN.js → InviteFormPage-Bw2ykerx-CTE02jgl.js} +1 -1
- package/dist/assets/{InvitePageListView-BHp1m02Z-DMdwrgsX.js → InvitePageListView-BHp1m02Z-Bsala5KT.js} +1 -1
- package/dist/assets/{InvitePeoplePage-BnlUrpPG-D5Pb0NSX.js → InvitePeoplePage-BnlUrpPG-CsqOL2ci.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-B8Xsz6dM-CaDnzQOR.js → InvoiceUploadSection-B8Xsz6dM-DG10muME.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-DYrMWSZg-BXFdUqlA.js → IssueChargeCardPage-DYrMWSZg-B_Lk6fnL.js} +1 -1
- package/dist/assets/{LabeledAddressValue-kKgzA0is-V3nWJqwH.js → LabeledAddressValue-kKgzA0is-XuxMbm26.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-Bey_bvyv-WhcVyZpQ.js → LabeledAddressValueField-Bey_bvyv-DkjQja9O.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-CKrD5nfN-BLAx8CgU.js → LabeledControlledCheckBoxField-CKrD5nfN-VcMd1w66.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-B3x1MZJr-CT42c88y.js → LabeledCreatableSingleSelectField-B3x1MZJr-BQbLyyvB.js} +1 -1
- package/dist/assets/{LabeledDocumentField-BKPP0tRe-BoY3MkE4.js → LabeledDocumentField-BKPP0tRe-CIjTxmdT.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-NsCaPjuf-BLoARtnk.js → LabeledDropDownFormattedTextField-NsCaPjuf-DxsA2YFq.js} +1 -1
- package/dist/assets/{LabeledText-BUZXeSSr-BNwrdOLI.js → LabeledText-BUZXeSSr-TfY54fhJ.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField--jmAGQy--CMARKL0a.js → LabeledUserSingleSelectWithSubtitlesField--jmAGQy--CoSZdDuI.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-Dt5MOz8L-BzDt2F5s.js → LabeledZeniRolesDropDownField-Dt5MOz8L-DuC7vLqr.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-DZZORFZw-hfr5eK-6.js → LinkJETransactionPage-DZZORFZw-zu63LnoB.js} +1 -1
- package/dist/assets/{LowBalancePopup-BQYkTR6v-Dpy5Y7Om.js → LowBalancePopup-BQYkTR6v-BKR39KfH.js} +1 -1
- package/dist/assets/{MagicLinkACHDetailsPage-B2TCqv5k-BD7w19c6.js → MagicLinkACHDetailsPage-B2TCqv5k-YAHQsZg5.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-D0Fcshtr-WPQ-07p1.js → MagicLinkDomesticWireDetailsPage-D0Fcshtr-ClddkEWx.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-BfschSvJ-Dd4Vn3ER.js → MagicLinkInternationalWireDetailsPage-BfschSvJ-jdQCIQzO.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-CLkxou_Q-BueLZWGy.js → MagicLinkSuccessPage-CLkxou_Q-88Fi-ErF.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-BcnZtmCV-D3vo1-CC.js → MagicLinkTitleSection-BcnZtmCV-epy2dj3A.js} +1 -1
- package/dist/assets/{MailingDetailsSection-B5PAttoo-Ia41UfJq.js → MailingDetailsSection-B5PAttoo-CAWfzI0V.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-DM1wkT0M-XWyjGw5S.js → MeetingCalenderPopup-DM1wkT0M-Bm_cctkg.js} +1 -1
- package/dist/assets/{Menu-teOpHszN-B4_aUeNn.js → Menu-teOpHszN-Dh_2vQ1Q.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-M74Mv2-V-BHyX40MK.js → MyBankConnectionsSettingsPage-M74Mv2-V-Cz_Rumpg.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-jv9dbM48-BfFprZCr.js → MyPendingActivationChargeCardListPage-jv9dbM48-CnTuqx43.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-CrhE1vfc-DJYn2Oif.js → MyProfileSettingsPage-CrhE1vfc-DajCnu6s.js} +1 -1
- package/dist/assets/{NavBarWithPicker-w36OQzVq-8jrXgC9i.js → NavBarWithPicker-w36OQzVq-CmZfp2mA.js} +1 -1
- package/dist/assets/{NavigationArrow-CUVjQXS6-1gU6OEpd.js → NavigationArrow-CUVjQXS6-qUKTkXFl.js} +1 -1
- package/dist/assets/{NavigationDots-Dt6TkUQ7-IyWw7xzb.js → NavigationDots-Dt6TkUQ7-sum6xK1Z.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-BAq_UQw1-op2GScme.js → NewGlobalMerchantPage-BAq_UQw1-DoKkpxED.js} +1 -1
- package/dist/assets/{NoDataChart-CydgbaO2-w_aLFoRL.js → NoDataChart-CydgbaO2-CIdUt3UK.js} +1 -1
- package/dist/assets/{NoDataTable-Akc9VjuK-D6ZoPHVC.js → NoDataTable-Akc9VjuK-DBDpQtci.js} +1 -1
- package/dist/assets/{NotFoundPage-3pCYWZU4-D50jnl0_.js → NotFoundPage-3pCYWZU4-CzFa-O_Q.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-BX5y9Bhs-COL29uYH.js → NotificationSettingsPage-BX5y9Bhs-ChsBGNJT.js} +1 -1
- package/dist/assets/{NotificationsListConfig-BrTtuTMy-BDNvMhiy.js → NotificationsListConfig-BrTtuTMy-4ldKuia7.js} +1 -1
- package/dist/assets/{NotificationsPage-tre5LIJg-BF-9mVwv.js → NotificationsPage-tre5LIJg-DXHT17a1.js} +1 -1
- package/dist/assets/{OpExByVendorPage-Dagfjaza-DDld7cbG.js → OpExByVendorPage-Dagfjaza-BG12d2vk.js} +1 -1
- package/dist/assets/{OverlayContainerPage-nhe7xtoR-DaSs4sBz.js → OverlayContainerPage-nhe7xtoR-DhgreE--.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-B6BwG3ZF-_AvyqFlZ.js → PandLWithForecastPage-B6BwG3ZF-CpWFWN3l.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-w6QwL-c4-K3uFRIlc.js → PaymentAccountSetupBillingAddressSection-w6QwL-c4-BQdRKRB_.js} +1 -1
- package/dist/assets/{PeoplePage-EFDCrYUk-T7-wlZTX.js → PeoplePage-EFDCrYUk-CE3mVjyD.js} +1 -1
- package/dist/assets/{PortfolioAllocationFormPage-DbGLXM2D-BjP-OUR_.js → PortfolioAllocationFormPage-DbGLXM2D-Bx9gvRhX.js} +1 -1
- package/dist/assets/{PortfolioDetails-D2RWl4uo-6RAVkUY_.js → PortfolioDetails-D2RWl4uo-DGy5rPyu.js} +1 -1
- package/dist/assets/{ProductsCarousel-o-YsHwnV-CGoV5eH1.js → ProductsCarousel-o-YsHwnV-CbcIWkQ0.js} +1 -1
- package/dist/assets/{PromoBaseCards-D21UZaz1-BXsaJgOl.js → PromoBaseCards-D21UZaz1-BKv3YpvZ.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-DOpuFcsk-C6MlbM5w.js → QBOConnectionDialog-DOpuFcsk-DYkeM55L.js} +1 -1
- package/dist/assets/{QBOSetupSection-Dcf_Afvz-DJunnSBU.js → QBOSetupSection-Dcf_Afvz-Cbe3ZtEf.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-DcDdM_Ss-CbDe9uVe.js → ReimbursementApprovalRuleDetailPage-DcDdM_Ss-C7HEqCY_.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-BhdyXjR--DBfuKFGn.js → ReimbursementApprovalRulesPage-BhdyXjR--D8DMWvvK.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-BSWNsboq-4J24vWsJ.js → ReimbursementDetailPage-BSWNsboq-DNwPGNwv.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-DJTuXxOX-CzJgodWR.js → ReimbursementPromoPage-DJTuXxOX-Drg3-8a0.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-DaIc03J9-CjkHrlyV.js → ReimbursementSetUpPage-DaIc03J9-DLaizgXu.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BW6yGqNG-BnVlwyav.js → ReimbursementsBulkReviewDrawerPage-BW6yGqNG-btJeNAgh.js} +1 -1
- package/dist/assets/{ReloadCard-D3-WJk3W-D2s29SSN.js → ReloadCard-D3-WJk3W-OXxdzcMU.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-ZI_K0-D2-By-m2UD1.js → ReportTableViewSelector-ZI_K0-D2-CIoJuBlW.js} +1 -1
- package/dist/assets/{ReportsPage-DsILNosH-D0tYLjKu.js → ReportsPage-DsILNosH-BV3Vvbdo.js} +1 -1
- package/dist/assets/{RevenueChart-CKKeqpBi-UyvcWDiv.js → RevenueChart-CKKeqpBi-BfzJ94CA.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-BTag8Rn9-DTmho_bj.js → ReviewDetailsPage-BTag8Rn9-gND3y4kA.js} +1 -1
- package/dist/assets/{ReviewOverlay-CmbxFXT5-Bn6N1v3T.js → ReviewOverlay-CmbxFXT5-DAX6Vi5G.js} +1 -1
- package/dist/assets/{RoleWithToolTip-D25NUL6y-DukVAPbK.js → RoleWithToolTip-D25NUL6y-tf-yHmuW.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-svqtgWEw-BvVYPrVO.js → ScheduleDetailsFixedAssetsPage-svqtgWEw-2FnaI8Kv.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-ClifB2yP-CiC5Yaiv.js → ScheduleDetailsPage-ClifB2yP-BqsDO0Dj.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-Bzz4WFsb-D7hD25Ij.js → ScheduleSequenceTable-Bzz4WFsb-BwftU03v.js} +1 -1
- package/dist/assets/{ScreenRoutes-BxQ22zq-.js → ScreenRoutes-DCMPUDES.js} +1 -1
- package/dist/assets/{SetUpAccountSection-DHHAhE7n-C6ADn3Xk.js → SetUpAccountSection-DHHAhE7n-BYj2HZ1g.js} +1 -1
- package/dist/assets/{SetUpDefaultSection-DkoRgSyp-BG63EHcf.js → SetUpDefaultSection-DkoRgSyp-Bj90DWQf.js} +1 -1
- package/dist/assets/{SignIn-DSJylxLB-TGzVh-Ox.js → SignIn-DSJylxLB-RERuk1YM.js} +1 -1
- package/dist/assets/{SignInScreen-2ETG_qty.js → SignInScreen-B8ft0_Ar.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-NfjbjBOy-CNnp9KH1.js → SpendManagementListViewPage-NfjbjBOy-DW0rH2Ft.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-CJqqj2pl-vgdrFHgv.js → SpendManagementPerTabPage-CJqqj2pl-E24ZlsVq.js} +1 -1
- package/dist/assets/{SpendManagementSection-C8jUu71n-DVI61rJT.js → SpendManagementSection-C8jUu71n-BZHis9xk.js} +1 -1
- package/dist/assets/{SpendMgmtSetupAccountSection-CNcWLqIc-Bk6Q5WZ8.js → SpendMgmtSetupAccountSection-CNcWLqIc-Bd_LEEBx.js} +1 -1
- package/dist/assets/{StatementItem-CV3b0pVj-CWdkAyq6.js → StatementItem-CV3b0pVj-BI2xUPtS.js} +1 -1
- package/dist/assets/{StatementsPage-ly5aBK2M-CeJNv0Uj.js → StatementsPage-ly5aBK2M-B3w4WjIP.js} +1 -1
- package/dist/assets/{StatusSwitcher-CxzYEzIO-Dl4oZKu3.js → StatusSwitcher-CxzYEzIO-Co7QMQgC.js} +1 -1
- package/dist/assets/{SubTabSwitcher-_XBeoyd8-ky9GU4WA.js → SubTabSwitcher-_XBeoyd8-B6G5BhKB.js} +1 -1
- package/dist/assets/{SummaryCard-egXz66_a-CFL2HKlw.js → SummaryCard-egXz66_a-Cl1rSzvu.js} +1 -1
- package/dist/assets/{TaskManagementPage-CQL5Q6wr-B8c2_TIF.js → TaskManagementPage-CQL5Q6wr-_3qK_AWB.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-DETvaZov-Jche-37U.js → TimeRangeSwitcher-DETvaZov-CwVHTAYo.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-DRQZAZ8X-B_V6wn8a.js → TimeframeSwitcher-DRQZAZ8X-DCySEKV1.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-CuU7mRU9-lO7EaRwM.js → TimeframeSwitcherWithToggle-CuU7mRU9-0sgW3h40.js} +1 -1
- package/dist/assets/{TopExCard-CtEulaIf-Brs7tS7N.js → TopExCard-CtEulaIf-Zmeg67y4.js} +1 -1
- package/dist/assets/{TopExDetailPage-O4MMssGR-CSX4CqC4.js → TopExDetailPage-O4MMssGR-B3pvpEDI.js} +1 -1
- package/dist/assets/{TransactionDetailPage-CfY8i6QF-Bt2lSSKs.js → TransactionDetailPage-CfY8i6QF-DDhR6G8w.js} +1 -1
- package/dist/assets/{TransactionList-BABUQprb-zMQcRTpf.js → TransactionList-BABUQprb-CGrGARxw.js} +1 -1
- package/dist/assets/{TransactionListBig-qJc1PM0U-P62ir1cv.js → TransactionListBig-qJc1PM0U-D-w-QKVO.js} +1 -1
- package/dist/assets/{TransactionListPage-DuAk6fJT-Bu8_Pd-_.js → TransactionListPage-DuAk6fJT-BXMjUZ88.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-nHnLQdj7-C3egMB1p.js → TransactionVendorDetailPage-nHnLQdj7-BobBNONL.js} +1 -1
- package/dist/assets/{TransferDrawerPage-CkbHu9oQ-Bxv-yJF0.js → TransferDrawerPage-CkbHu9oQ-Cr2kLjQa.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-D9qxqZOy-ZtRAjO03.js → TreasuryOverviewPage-D9qxqZOy-DgvCDwU7.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-Bn_4ae7Q-q8C2bbYn.js → TreasuryPromoPage-Bn_4ae7Q-MjHQLB6N.js} +1 -1
- package/dist/assets/{TreasurySetupPage-CpZDjXwu-BUhJXpTK.js → TreasurySetupPage-CpZDjXwu-BlgaftAJ.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-BXDwbrcC-37YEWdU6.js → TreasuryStatementsPage-BXDwbrcC-B0Yvh0ZH.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-Cwf-e3Jz-BL-Rfzdl.js → TreasuryTaxLetterPage-Cwf-e3Jz-BGI8bIrR.js} +1 -1
- package/dist/assets/{TreasuryTransferOrReviewPage-BSiDVjnO-CB9llwyL.js → TreasuryTransferOrReviewPage-BSiDVjnO-jKxiAOAU.js} +1 -1
- package/dist/assets/{TrendChart-Dp3QrDED-8QXEOf_A.js → TrendChart-Dp3QrDED-TLZjgCXh.js} +1 -1
- package/dist/assets/{TrendWithTransactions-D8xzYG_f-De6kCbSg.js → TrendWithTransactions-D8xzYG_f-BXYJlM5g.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-CteEKVJk-pzEnrChq.js → UncategorizedAccountsMappingPage-CteEKVJk-V8s5GSE9.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-BBAq4_81-C7oc8SpE.js → UnitIntegrationPage-BBAq4_81-CQPS6SXm.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-Drs2Czkg-B7FMUcdL.js → UploadAdditionalDocumentOverlay-Drs2Czkg-CGyOsBXK.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-DKe-eMoF-BYQMXttT.js → Vendor2FAPopup-DKe-eMoF-C2M9SXlf.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-CTeRlLgu-O3tAwPNR.js → VendorACHDetailsPage-CTeRlLgu-kYd8MIRh.js} +1 -1
- package/dist/assets/{VendorDetailPage-Cw7Qe1rv-DwV1uxYo.js → VendorDetailPage-Cw7Qe1rv-VsBgNF4C.js} +1 -1
- package/dist/assets/{VendorDomesticWireDetailsPage-CYkst1D5-CxFVsRJR.js → VendorDomesticWireDetailsPage-CYkst1D5-7By2THmG.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-CXQx0jJQ-Dym5ZEfd.js → VendorFiling1099EditablePage-CXQx0jJQ-IhMnk3PA.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-C1yTYtW6-D8Hy4Plk.js → VendorFirstReviewPage-C1yTYtW6-DMX2ZPAc.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-CfbGRN9B-DYM9JMPH.js → VendorInternationalWireDetailsPage-CfbGRN9B-DCdpm2-s.js} +1 -1
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DTxy0byj-B-9bRZPN.js → VendorInternationalWireSwiftDetailsPage-DTxy0byj-D5CQNR_y.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-B_nDMJSn-DKF52Cpa.js → VendorsAccountsSection-B_nDMJSn-1NkwRYu4.js} +1 -1
- package/dist/assets/{WarningsDrawerPage-Dz3EM7AW-K261X__w.js → WarningsDrawerPage-Dz3EM7AW-BaYVjn6f.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-C01gqJIN-5uHVG2CB.js → ZeniAccountDetailPage-C01gqJIN-BM-R1eoj.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-3DEdKuaM-BOxFOXWV.js → ZeniAccountListViewPage-3DEdKuaM-CRpdg_Kj.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-bthmMpbV-dLoPCb9S.js → ZeniAccountNavBarPieces-bthmMpbV-DlefBJUL.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-ClgIxS0H-CzsHHXnv.js → ZeniAccountPromoPage-ClgIxS0H-dyns3_0Y.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-C-vwyHUJ-Dtwoz0CP.js → ZeniAccountSetupPage-C-vwyHUJ-ByPV9mPy.js} +1 -1
- package/dist/assets/{ZeniCopyright-CqFabZnN-CJTGK5CO.js → ZeniCopyright-CqFabZnN-CFC5-_8n.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-BwHzq-qG-BAnmmq0F.js → ZeniTransferAmountSlider-BwHzq-qG-CpfXUhbu.js} +1 -1
- package/dist/assets/{analyticsHelper-CvW7m-EV-BpaeVAL0.js → analyticsHelper-CvW7m-EV-nO2i_RUx.js} +1 -1
- package/dist/assets/{analyticsHelper-CA1CL3Na.js → analyticsHelper-m4qvu5s8.js} +1 -1
- package/dist/assets/{chartTypes-0tTBFzPe-DXv2oVtL.js → chartTypes-0tTBFzPe-CKqP5TB1.js} +1 -1
- package/dist/assets/{commonDimensions-B68wSFi9-M2W23m0D.js → commonDimensions-B68wSFi9-BOPm5YVm.js} +1 -1
- package/dist/assets/{detailCommon-D2RAJL6g-DxVTL_IM.js → detailCommon-D2RAJL6g-Ctxx0B-m.js} +1 -1
- package/dist/assets/{downloadPdf-IPGZ8YB9-DocjrP8U.js → downloadPdf-IPGZ8YB9-CGTdag_A.js} +1 -1
- package/dist/assets/{index-GMJ2nuUF.js → index-CjViJI82.js} +3 -3
- package/dist/assets/{mapLoadingInProgressToTreeNode-DhjVTksX-B_UltjeI.js → mapLoadingInProgressToTreeNode-DhjVTksX-D9f25W17.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DtR1UNND-CApTkkfy.js → mapSectionWithAcOnlyToTreeNode-DtR1UNND--ulpnsBf.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-oskKbJKo-DLY0eOf4.js → mapSpacerToTreeNode-oskKbJKo-DkK4Sqat.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-BkUJJy_y-CDFowGsv.js → mapTimeframeBalancesToTreeNode-BkUJJy_y-8lKA5ScY.js} +1 -1
- package/dist/assets/{play-icon-C_pnFd6Q-CegFata8.js → play-icon-C_pnFd6Q-9jE99gvQ.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-e2ImXwdp-1SnM9fzu.js → toCOABalancesWithID-e2ImXwdp-CKDntHr-.js} +1 -1
- package/dist/assets/{toChartData-Dh91kb97-BMfM5MG4.js → toChartData-Dh91kb97-BZZ8pWR6.js} +1 -1
- package/dist/assets/{treasuryColorHelper-D9SYrM7P-BaWaAPGH.js → treasuryColorHelper-D9SYrM7P-DmVNjxNp.js} +1 -1
- package/dist/assets/{uploadAttachment-BZTALP74-ypSfSLhV.js → uploadAttachment-BZTALP74-BVGfc45j.js} +1 -1
- package/dist/assets/{uploadReceipts-BH9fi3Vt-D-CW0ltI.js → uploadReceipts-BH9fi3Vt-BJeYWSVA.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-DzzvTpfs-BL-GBLoz.js +0 -1
package/dist/assets/{PortfolioDetails-D2RWl4uo-6RAVkUY_.js → PortfolioDetails-D2RWl4uo-DGy5rPyu.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as e,M as H,o as n,iE as J,s as F,d3 as X,u as K,X as Q,_ as W,C as N,bu as f,g as k,ah as U,v as A,dq as V,ak as Z,aq as ee,b6 as ie,be as se,f as ne,d5 as re,p as le}from"./index-
|
|
1
|
+
import{j as e,M as H,o as n,iE as J,s as F,d3 as X,u as K,X as Q,_ as W,C as N,bu as f,g as k,ah as U,v as A,dq as V,ak as Z,aq as ee,b6 as ie,be as se,f as ne,d5 as re,p as le}from"./index-CjViJI82.js";import{n as s,b as te}from"./vendor-CnQcJ2Lu.js";import{l as oe}from"./treasuryColorHelper-D9SYrM7P-DmVNjxNp.js";const{common:o,spendManagement:{treasury:l},dateFormat:ae}=H.getLocalizedStrings(),y={portfolioYieldMarginTop:new N(-4,le[0]),sliderWidth:new N(143,177)},Ee=({isInReview:i,isSetup:r,fundDetails:m,allocation:d,amount:g,page:v})=>{const h=de(m);return e.jsxs(me,{children:[!r&&e.jsx(xe,{style:{alignSelf:"flex-start",padding:`${n.sp2} ${n.sp0}`},children:`${l.portfolioAllocation.title}`}),h.map((a,x)=>e.jsx(ce,{portfolio:a,fund:m[x],fundIndex:x,allocationPercentage:d.allocation?.[m[x].fundCode]||0,isInReview:i,isSetup:r,isLast:x===h.length-1,amount:g,page:v},m[x]?.fundCode||x))]})},de=i=>i.map(r=>[{label:l.overviewPage.fundTile.liquidity,value:r.liquidityTimeline||o.strings.hyphen},{label:l.overviewPage.fundTile.fundSizeLabel,value:J(r.fundSize,r.currencyCode)},{label:l.overviewPage.fundTile.maturityLabel,value:`${r.maturity} ${o.timeStrings.days}`},{label:l.overviewPage.fundTile.expenseRatioLabel,value:`${r.expenseRatio}${o.strings.percentage} ${l.overviewPage.fundTile.includedInTheYield}`},{label:l.overviewPage.fundTile.riskRatingLabel,value:r.riskRating||o.strings.hyphen},{label:l.overviewPage.fundTile.compositionLabel,value:Array.isArray(r.compositions)&&r.compositions.length>0?`${r.compositions[0].investedIn} ${r.compositions[0].percentage}${o.strings.percentage}`:o.strings.hyphen,tag:Array.isArray(r.compositions)&&r.compositions.length>1?`+${r.compositions.length-1}`:void 0,compositions:r.compositions??[]}]),ce=({portfolio:i,fund:r,fundIndex:m,allocationPercentage:d,isInReview:g,isSetup:v,isLast:h,amount:a,page:x})=>{const _=X().analytics,L=K(),t=Q(),j=a!=null&&a.amount>0&&d>0?a.amount*d/100:void 0,[p,G]=te.useState(!1),u=oe(m,L),$=()=>{p||_.trackTreasuryProspectusClick(r.fundName,r.fundCode,x),G(c=>!c)};return e.jsxs(e.Fragment,{children:[e.jsx(pe,{children:e.jsxs(he,{windowSize:t,children:[e.jsxs(ge,{windowSize:t,children:[e.jsxs(ue,{windowSize:t,children:[e.jsxs(fe,{isInReview:g,windowSize:t,children:[e.jsx(we,{children:r.fundCode}),e.jsx(ye,{color:u.fundNameColor,children:`${r.fundCompanyName} ${r.fundName}`})]}),t!=="small"&&e.jsxs(T,{onClick:$,children:[p?l.transferDrawer.calculator.footerText.hide:l.overviewPage.fundTile.viewDetails,p?e.jsx(z,{}):e.jsx(C,{})]})]}),t!=="small"&&e.jsx(e.Fragment,{children:g?e.jsxs(E,{style:{alignItems:"flex-start"},children:[e.jsxs(w,{windowSize:t,children:[d,o.strings.percentage]}),e.jsx(O,{children:j!=null?W("0,0.[00]",{amount:j,currencyCode:a?.currencyCode!=null&&a.currencyCode!==""?a.currencyCode:"USD",currencySymbol:a?.currencySymbol!=null&&a.currencySymbol!==""?a.currencySymbol:"$"}):o.strings.empty})]}):e.jsxs(je,{children:[e.jsxs(w,{windowSize:t,children:[d,o.strings.percentage]}),e.jsxs(Y,{children:[e.jsx(I,{type:"range",min:0,max:100,step:1,value:d,readOnly:!0,windowSize:t}),e.jsx(M,{color:u.fundNameColor,style:{width:`calc(${y.sliderWidth.value(t)}/100*${d}px)`,zIndex:1}})]})]})}),t!=="small"&&e.jsxs(E,{children:[e.jsxs(S,{children:[l.overviewPage.fundTile.sevenDayYieldLabel,e.jsx(f,{data:l.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{minWidth:"496px",padding:`12px ${n.sp3}`},enterDelay:300,children:e.jsx(P,{})})]}),e.jsxs(b,{windowSize:t,style:{marginRight:n.sp3},children:[r.yield,o.strings.percentage]})]})]}),t==="small"&&e.jsx(Pe,{children:v?e.jsxs(Ye,{children:[e.jsxs(Ie,{children:[e.jsxs(Ae,{children:[e.jsxs(w,{windowSize:t,children:[d,o.strings.percentage]}),e.jsxs(Y,{children:[e.jsx(I,{type:"range",min:0,max:100,step:1,value:d,readOnly:!0,windowSize:t}),e.jsx(M,{color:u.fundNameColor,style:{width:`calc(${y.sliderWidth.value(t)}/100*${d}px)`,zIndex:1}})]})]}),e.jsxs(Me,{children:[e.jsxs(S,{children:[l.overviewPage.fundTile.sevenDayYieldLabel,e.jsx(f,{data:l.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{padding:`12px ${n.sp3}`},enterDelay:300,children:e.jsx(P,{})})]}),e.jsxs(b,{windowSize:t,children:[r.yield,o.strings.percentage]})]})]}),e.jsxs(T,{onClick:$,style:{marginBottom:n.sp2},children:[p?l.transferDrawer.calculator.footerText.hide:l.overviewPage.fundTile.viewDetails,p?e.jsx(z,{}):e.jsx(C,{})]})]}):g?e.jsxs(ke,{children:[e.jsxs(q,{children:[e.jsxs(w,{windowSize:t,children:[d,o.strings.percentage]}),e.jsx(O,{children:j!=null?W("0,0.[00]",{amount:j,currencyCode:a?.currencyCode!=null&&a.currencyCode!==""?a.currencyCode:"USD",currencySymbol:a?.currencySymbol!=null&&a.currencySymbol!==""?a.currencySymbol:"$"}):o.strings.empty}),e.jsxs(T,{onClick:$,style:{margin:`${n.sp2} ${n.sp0}`,...h?{marginBottom:n.sp0}:{}},children:[p?l.transferDrawer.calculator.footerText.hide:l.overviewPage.fundTile.viewDetails,p?e.jsx(z,{}):e.jsx(C,{})]})]}),e.jsxs(B,{children:[e.jsxs(S,{children:[l.overviewPage.fundTile.sevenDayYieldLabel,e.jsx(f,{data:l.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{padding:`12px ${n.sp3}`},enterDelay:300,children:e.jsx(P,{})})]}),e.jsxs(b,{windowSize:t,children:[r.yield,o.strings.percentage]})]})]}):e.jsxs(Le,{children:[e.jsxs(q,{children:[e.jsxs(w,{windowSize:t,children:[d,o.strings.percentage]}),e.jsxs(Y,{children:[e.jsx(I,{type:"range",min:0,max:100,step:1,value:d,readOnly:!0,windowSize:t}),e.jsx(M,{color:u.fundNameColor,style:{width:`calc(${y.sliderWidth.value(t)}/100*${d}px)`,zIndex:1}})]}),e.jsxs(T,{onClick:$,children:[p?l.transferDrawer.calculator.footerText.hide:l.overviewPage.fundTile.viewDetails,p?e.jsx(z,{}):e.jsx(C,{})]})]}),e.jsxs(B,{children:[e.jsxs(S,{children:[l.overviewPage.fundTile.sevenDayYieldLabel,e.jsx(f,{data:l.overviewPage.fundTile.sevenDayYieldTooltip,variant:"small-description",placement:"bottom-end",style:{padding:`12px ${n.sp3}`},enterDelay:300,children:e.jsx(P,{})})]}),e.jsxs(b,{windowSize:t,children:[r.yield,o.strings.percentage]})]})]})})]},i[0].label)}),p&&e.jsxs(be,{children:[e.jsx(D,{children:r.description}),e.jsx($e,{style:{marginLeft:n.sp3},children:i.map(c=>e.jsxs(Se,{windowSize:t,children:[e.jsx(D,{children:o.strings.dividerDot}),e.jsx(D,{style:{minWidth:"140px"},children:c.label}),e.jsxs(D,{style:{color:c.label===l.overviewPage.fundTile.fundSizeLabel?u.fundNameColor:L.colors.primary,borderBottom:`1px solid ${L.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===l.overviewPage.fundTile.compositionLabel&&e.jsx(f,{variant:"list-description",data:{title:o.strings.empty,items:Array.isArray(c.compositions)&&c.compositions.length>0?c.compositions.map(R=>({text:`${o.strings.dividerDot} ${R.investedIn}`,amount:`${R.percentage}${o.strings.percentage}`})):[]},placement:"bottom-end",style:{minWidth:"312px",padding:`12px ${n.sp3}`},children:e.jsx(Te,{children:c.tag})})]})]},c.label))}),e.jsxs(De,{onClick:()=>window.open(r.url,"_blank"),children:[e.jsx(ve,{children:`${l.overviewPage.fundTile.asOfLabel} ${r.asOfDate.format(ae.visual.MMMDCommaYYYYformat)}`}),e.jsx(Ce,{})]})]}),(!h||v)&&e.jsx(ze,{style:{width:"100%",marginBottom:n.sp3}})]})},pe=s.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: row;
|
|
4
4
|
gap: ${n.sp2};
|
package/dist/assets/{ProductsCarousel-o-YsHwnV-CGoV5eH1.js → ProductsCarousel-o-YsHwnV-CbcIWkQ0.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{M as X,j as t,d3 as I,o as l,bq as O,ak as P,d4 as D,Z as F,s as L,d5 as R,g as v}from"./index-
|
|
1
|
+
import{M as X,j as t,d3 as I,o as l,bq as O,ak as P,d4 as D,Z as F,s as L,d5 as R,g as v}from"./index-CjViJI82.js";import{b as $,n as i}from"./vendor-CnQcJ2Lu.js";const u=X.getLocalizedStrings(),y={large:{labelComp:D,title:F,subtitle:L,seeMoreLink:L}},B={large:{width:496,height:512,padding:32,svgSize:12,svgContainerHeight:24,gap:8,imageGap:16,borderRadius:16}},o=B.large,U=i.div`
|
|
2
2
|
width: ${e=>e.scale*o.width}px;
|
|
3
3
|
height: ${e=>e.scale*o.height}px;
|
|
4
4
|
overflow: hidden;
|
package/dist/assets/{PromoBaseCards-D21UZaz1-BXsaJgOl.js → PromoBaseCards-D21UZaz1-BKv3YpvZ.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as c,j as a,d9 as b,da as v,db as L,aR as z,C as r,o as e,g as d,Q as m,p as l}from"./index-
|
|
1
|
+
import{X as c,j as a,d9 as b,da as v,db as L,aR as z,C as r,o as e,g as d,Q as m,p as l}from"./index-CjViJI82.js";import{j as i,n as p,k as f}from"./vendor-CnQcJ2Lu.js";const t={plasticCardMarginLeft:new r(l[6],120),plasticCardMarginTop:new r(12,-9),businessTextRight:new r(l[2],13),businessTextBottom:new r(l[8],81),chargeCardWidth:new r(240,384),chargeCardHeight:new r(153,243),styledLogoWidth:new r(47,76),styledLogoHeight:new r(46,74),styledFullLogoTop:new r(12,28),styledFullLogoRight:new r(l[2],13),styledFullLogoHeight:new r(20,34),styledFullLogoWidth:new r(88,142),chipLogoWidth:new r(31,50),chipLogoHeight:new r(l[4],39),visaLogoWidth:new r(52,84),visaLogoHeight:new r(17,27),visaLogoRight:new r(l[2],13),visaLogoBottom:new r(l[2],13)},u={businessText:new m("extraSmallRegular","largeRegular"),promoBusinessText:new m("tinyLight","tinyLight")},F=({cardText:o,shouldAnimate:g,showChip:w,forDashboard:s,forListPage:h,cardPromoType:x,style:$})=>{const n=c();return a.jsxs(k,{cardPromoType:x,windowSize:n,shouldAnimate:g,forListPage:h,forDashboard:s,style:$,children:[w&&a.jsx(S,{windowSize:n,forDashboard:s,children:a.jsx(b,{})}),a.jsx(D,{windowSize:n,forDashboard:s,forListPage:h,children:a.jsx(z,{})}),a.jsx(P,{windowSize:n,forDashboard:s,forListPage:h,children:o}),a.jsx(y,{windowSize:n,forDashboard:s,forListPage:h,children:a.jsx(L,{})})]})},A=({cardText:o,shouldAnimate:g,showChip:w,forDashboard:s,forListPage:h,cardPromoType:x,style:$})=>{const n=c();return a.jsxs(W,{cardPromoType:x,windowSize:n,shouldAnimate:g,forListPage:h,forDashboard:s,style:$,children:[w&&a.jsx(S,{windowSize:n,forDashboard:s,children:a.jsx(b,{})}),a.jsx(B,{windowSize:n,forDashboard:s,forListPage:h,children:a.jsx(v,{})}),a.jsx(P,{windowSize:n,forDashboard:s,forListPage:h,children:o}),a.jsx(y,{windowSize:n,forDashboard:s,forListPage:h,children:a.jsx(L,{})})]})},C=f`
|
|
2
2
|
0%{
|
|
3
3
|
transform: rotate(12.4deg);
|
|
4
4
|
translate: ${e.sp0} ${e.sp0};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as j,M as a,j as n,bB as w,K as l,C as s,o as i,Z as P,s as y,$ as b,aP as f,eI as v,p as t}from"./index-
|
|
1
|
+
import{X as j,M as a,j as n,bB as w,K as l,C as s,o as i,Z as P,s as y,$ as b,aP as f,eI as v,p as t}from"./index-CjViJI82.js";import{n as o}from"./vendor-CnQcJ2Lu.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const r={containerPaddingTop:new s(t[5],t[7]),containerPaddingBottom:new s(t[5],t[5]),containerPaddingLeftRight:new s(t[6],t[11])},S=o.div`
|
|
2
2
|
border-radius: inherit;
|
|
3
3
|
max-width: 520px;
|
|
4
4
|
text-align: center;
|
package/dist/assets/{QBOSetupSection-Dcf_Afvz-DJunnSBU.js → QBOSetupSection-Dcf_Afvz-Cbe3ZtEf.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as O,M as $,j as i,K as k,o,C as a,g as d,f1 as Q,Q as T,$ as W,aP as B,eI as E,e$ as G,ab as w,v as u,p as r}from"./index-
|
|
1
|
+
import{X as O,M as $,j as i,K as k,o,C as a,g as d,f1 as Q,Q as T,$ as W,aP as B,eI as E,e$ as G,ab as w,v as u,p as r}from"./index-CjViJI82.js";import{n as s}from"./vendor-CnQcJ2Lu.js";import I from"./QBOConnectionDialog-DOpuFcsk-DYkeM55L.js";const t={containerPadding:new a(r[3],r[4]),sectionWidth:new a(343,580,726),topElementsRowGap:new a(r[3],r[0]),arrowIconWidthHeight:new a(r[3],r[4])},M={title:new T("standardMedium","largeMedium")},ee=({isAdmin:e,hasError:c=!1,isValid:l,saveConnectionState:p,isQBOPopupOpen:j,companyName:y,updateQBOPopupState:h,handleOnConnectClick:f})=>{const n=O(),{qbo_connection:S}=$.getLocalizedStrings().customerOnboardingPage.sections,{title:v,sucessText:b,button:z,errorText:P,requiredText:C}=S;return i.jsxs(A,{windowSize:n,children:[i.jsxs(H,{windowSize:n,children:[n==="small"?i.jsx(V,{children:l?i.jsx(Z,{}):i.jsx(_,{})}):null,i.jsx(N,{windowSize:n,children:v})]}),i.jsxs(q,{windowSize:n,children:[i.jsxs(D,{windowSize:n,children:[i.jsxs(R,{children:[i.jsx(F,{}),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:z.connect,style:{width:"fit-content"},onClick:()=>h(!0),loading:p==="In-Progress"})]}),l?i.jsxs(i.Fragment,{children:[i.jsx(K,{children:b}),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:C})}):null]}),i.jsx(I,{isAdmin:e,isGoBackAllowed:!0,isQBOPopupOpen:j,companyName:y,saveConnectionState:p,handleOnConnectClick:f,handleGoBack:()=>h(!1)})]})},m=()=>{const{tags:e}=$.getLocalizedStrings().customerOnboardingPage,{connected:c}=e;return i.jsx(G,{style:{width:"max-content",padding:0,marginTop:o.sp2},tagTitle:c,textColor:{color:new w(d.successDark),borderColor:new w(d.successDark)}})},A=s.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{C as q,p as U,u as M,X as W,M as D,a as G,a5 as X,j as s,U as H,c3 as J,aW as K,F as Q,a7 as Y,o as f}from"./index-
|
|
1
|
+
import{C as q,p as U,u as M,X as W,M as D,a as G,a5 as X,j as s,U as H,c3 as J,aW as K,F as Q,a7 as Y,o as f}from"./index-CjViJI82.js";import{b as j,n as h}from"./vendor-CnQcJ2Lu.js";import{b as Z,f as ee,l as B,o as L}from"./FollowStepsSection-5025urr9-DTswNK5r.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const $="reimbursementApprovalRuleDetailPage",T="lowerBound",k="upperBound",y="steps",te={footerPadding:new q(U[2],U[3])};function ye({localData:e,approvalUpdateActionType:r,isLowerBoundDisabled:t=!1,isUpperBoundDisabled:l=!0,hideUpperBoundField:o=!1,onBackClick:d,onApprovalRuleDataUpdated:b,onResetClick:N,onSaveRuleClick:E,onSaveRuleSuccess:A}){const F=M(),S=W(),a=D.getLocalizedStrings().commonSetUp.approval,I=D.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,x=ae(e,r==="approval_create"&&!t),g=G({mode:"all",reValidateMode:"onChange",defaultValues:x}),u=e.remiSetupApproverViewUpdateData?.updateStatus,w=X(u?.fetchState),{upperBound:P}=x,{allApprovalRules:n,allAccountingClasses:_,remiSetupApproverViewUpdateData:c}=e;let m=n.length>1?n.length-1:0,v=n.length>0?n[m].criteria[0].range.min.amount:0;if(c!=null&&c.type==="approval_update"&&c.data!=null){const{approvalRuleId:i}=c.data;m=n.findIndex(p=>p.approvalRuleId===i),v=m>0?n[m-1].criteria[0].range.min.amount:0}const O=g.handleSubmit(()=>{E()}),V=async(i,p)=>{b(p)};return j.useEffect(()=>{const i=g.watch((p,{name:R})=>{if(R!=null&&p!=null){const z=H(p);J(()=>V(R,z))}});return()=>{i.unsubscribe()}}),j.useEffect(()=>{w==="In-Progress"&&u?.fetchState==="Completed"&&A()},[w,u?.fetchState,A]),s.jsxs(se,{children:[s.jsx(K,{title:r==="approval_create"?a.newApproval:a.editApproval,backgroundColor:F.colors.grey4,style:{zIndex:4},onBackClick:()=>{d()},source:"ReimbursementApprovalRuleDetailPage"}),s.jsx(ne,{children:s.jsx(Q,{...g,children:s.jsx("form",{id:C($),onSubmit:O,children:s.jsxs(ie,{children:[s.jsx(Z,{label:{label:o?I.amountPerRemiGreaterLabel:I.amountPerRemiLabel},firstText:{type:"number",name:T,placeholder:"$0",options:{required:!0,max:P===1/0?Number.MAX_SAFE_INTEGER-1:P-1,min:v,validate:i=>t?!0:i!=null&&i>v},isDisabled:t,additionalInfoLabel:a.firstRuleLowerBoundInfoLabel,additionalErrorLabel:a.firstRuleErrorInfoLabel},secondText:{type:"number",name:k,placeholder:"Infinity",isDisabled:l,hideField:o,additionalInfoLabel:a.upperBoundInfoLabel}}),s.jsx(pe,{}),s.jsx(ee,{sectionId:y,label:{label:a.followStepsLabel},approversPlaceholder:a.approversPlaceholder,notifiersPlaceholder:a.notifiersPlaceholder,allUserWithRoles:e.allApprovers,filteredApprovers:e.filteredApprovers.map(i=>i.user),allAttributes:e.allAttributes,filteredAttributes:e.filteredAttributes,allAccountingClasses:_,stepsInfo:x[y],userSelectPlaceholder:a.userSelectPlaceholder,approveNotifyPlaceholder:a.approveNotifyPlaceholder,productType:"zeni_reimbursements"})]})})})}),s.jsx(Y,{formId:C($),primaryBtn:{label:a.saveBtnText,isLoading:u?.fetchState==="In-Progress",isDisabled:u?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},showCancel:!0,cancelBtn:{label:a.cancelBtnText,isLoading:!1,style:{width:"85px",minWidth:"auto"},onClick: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),L(e.allAttributes),L(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:B},actors:{allUsers:r,selectedUsers:le(e,d.actors),allNonUsers:l,selectedNonUsers:oe(t,d.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:B},actors:{allUsers:r,selectedUsers:[],allNonUsers:l,selectedNonUsers:[]}}],le=(e,r)=>e.filter(t=>t.userId!=null&&r.findIndex(l=>l.userId===t.userId)>-1),oe=(e,r)=>e.filter(t=>r.findIndex(l=>l.subType===t.value)>-1),C=e=>`${e}_form`,Ae=e=>`${e}`,se=h.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
height: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as D,X as B,M as b,j as o,aW as H,d as E,Y as S,o as t,C as r,s as L,_ as z,bN as q,bP as G,bQ as U,cq as Q,p as l,as as X,Q as P,ar as Y,g as j,cn as _,aN as F,q as O}from"./index-
|
|
1
|
+
import{u as D,X as B,M as b,j as o,aW as H,d as E,Y as S,o as t,C as r,s as L,_ as z,bN as q,bP as G,bQ as U,cq as Q,p as l,as as X,Q as P,ar as Y,g as j,cn as _,aN as F,q as O}from"./index-CjViJI82.js";import{n as i,b as V}from"./vendor-CnQcJ2Lu.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const s={sectionWidth:new r(343,580,726),ruleWrapperPadding:new r(l[3],l[4]),wrapperGap:new r(l[4],l[3]),wrapperMarginBottom:new r(l[6],l[8]),lastWrapperMarginBottom:new r(l[5],l[9]),stepperWidthHeight:new r(20,l[5]),stepperItemLeft:new r(-29,-23),stepperItemTop:new r(2,l[0]),stepperItemPaddingLeft:new r(l[0],10),stepperItemMinHeight:new r(22,28),stepperLeft:new r(11,17),stepperTop:new r(2,l[0]),stepperContentTop:new r(l[0],-4)},N={stepper:new P("smallRegular","standardRegular"),amount:new P("standardRegular","largeRegular")},J=({showDeleteBtn:e=!1,isLastSection:f=!1,approvalRule:u,onEditRuleClick:v,onDeleteRuleClick:y})=>{const[g,d]=V.useState(!1),n=B(),{range:c}=u.criteria[0],{steps:x,approvalRuleId:m}=u,a=b.getLocalizedStrings().commonSetUp.approval,$=()=>{d(!0)},W={onOkClick:()=>{d(!1),y?.(m)},onCancelClick:()=>{d(!1)}};return o.jsxs(K,{windowSize:n,isLastSection:f,"data-testid":S("approval-rule-section",m),children:[o.jsxs(Z,{windowSize:n,children:[o.jsxs(ae,{children:[o.jsxs(I,{windowSize:n,children:[a.from," ",z("0,0",c.min)]}),o.jsxs(ee,{children:[o.jsx(k,{}),o.jsx(oe,{}),o.jsx(k,{})]}),c.max==null?o.jsx(ce,{}):o.jsx(I,{windowSize:n,children:z("0,0",{...c.min,amount:c.max.amount})})]}),o.jsxs(ne,{className:"icons",children:[e?o.jsx(pe,{onClick:$}):null,o.jsx(de,{onClick:()=>{v(m)},"data-testid":S("edit-approval-rule",m)})]})]}),o.jsx(te,{windowSize:n,children:o.jsx(ie,{isSingleStep:x.length===1,windowSize:n,children:x.map((h,A)=>o.jsxs(re,{isSingleStep:x.length===1,className:"stepperItem",windowSize:n,children:[h.action==="require_approval"?o.jsx(le,{children:a.requireText}):o.jsx(se,{children:a.notifyText}),h.nonUserActors.filter(p=>p.subType!=null).map((p,M)=>o.jsxs(R,{children:[o.jsx(T,{children:p.subType!=null?a.nonUsers[p.subType].label:null}),h.operator!="is"?o.jsx(C,{className:"operator",children:h.operator}):null]},`${p.subType}_${M}`)),h.actors.map(p=>o.jsxs(R,{children:[o.jsxs(T,{children:[p.firstName," ",p.lastName]}),h.operator!="is"?o.jsx(C,{className:"operator",children:h.operator}):null]},p.userId))]},A))})}),g?o.jsx(q,{titleComponent:o.jsx(U,{children:a.deleteApprovalRuleTitle}),descriptionComponent:o.jsx(G,{children:a.deleteApprovalRuleDesc}),primaryButtonText:a.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:a.cancelBtnText,action:W}):null]})},K=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
gap: ${e=>s.wrapperGap.valuePx(e.windowSize)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as At,d3 as Mt,X as Rt,u as Pt,aV as Bt,C as m,M as Xe,l as ie,fL as Nt,fN as Lt,fO as Ot,j as t,bN as ze,bP as Ae,bQ as Me,Y as y,aW as Re,aH as _t,dr as Wt,fP as Et,f_ as Pe,o as a,fQ as Be,cP as b,cR as w,fT as x,_ as Ne,cO as Le,q as F,fV as Oe,a7 as Ft,m as Kt,fW as Vt,fX as ae,aR as Ut,fY as Yt,a6 as Gt,Q as Ht,h as qt,s as et,as as tt,g as K,f as Qt,eZ as Jt,v as Zt,gd as Xt,g9 as ei,p as c,ah as ti,cl as ii}from"./index-GMJ2nuUF.js";import{b as p,n as r}from"./vendor-CnQcJ2Lu.js";import{_ as ai}from"./liveblocks-BUGn2yQ6.js";import ri from"./InvoiceUploadSection-B8Xsz6dM-CaDnzQOR.js";import{r as oi,h as f,u as ni}from"./types-DyvtCprH-BcZYcgaq.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./crypto-BURQLTgV.js";import"./AttachmentView-ClQPirg--D1d3_Uda.js";import"./uploadReceipts-BH9fi3Vt-D-CW0ltI.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:V,authParams:it,isAdmin:oe,signedInUser:ne,showApproveRejectBtns:le,isRealTimeApprovalEnabled:se,isReimbursementCommentingEnabled:u,isShowDeletedReimbursementEnabled:de,isSignedInUserReimbursementCreator:at,updateEditRealTimeApproverClicked:ce,onSaveRealTimeApprovals:me,redirectToReimbursementListScreen:U,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,k]=p.useState(!1),[Y,G]=p.useState(!1),[ct,H]=p.useState(!1),[q,Q]=p.useState("approved"),P=p.useRef(null),[j,J]=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")&&U()},[e,U]),p.useEffect(()=>{const s=window.location.hash;if(s&&s.startsWith("#L")){const n=s.substring(1);be(n)}},[]);const ut=()=>{U()};Bt({componentName:"reimbursements.details"});const ht={onOkClick:()=>{k(!1),j.primaryButtonText===i.buttons.delete?nt?.():j.title===i.cancelReportTitle?ue?.():j.title===i.cancelAndDeleteReportTitle&&ue?.(!0)},onCancelClick:()=>{k(!1)}},I=l.labelWidth.value(o),z=l.largeLabelWidth.value(o),we=Xe.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,Z=e.remiDetails?.reportTitle,S=e.remiDetails?.lines??[],L=e.remiDetails?.reimbursementInfo.stage,O=e.remiDetails?.reimbursementInfo.billStatus,_=e.remiDetails?.reimbursementInfo.billPaymentStatus,$e=L?.code==="paid",ft=$e?L:O?.code=="approved"&&_?.code?_:O,$=si(e.remiDetails),A=O?.code=="approved"&&_?.code?_:O,W=e.remiDetails?.isDeleted??!1,ve=e.remiDetails?.amount,Te=e.remiDetails?.amount.amount??0,Se=()=>{J({title:e.remiDetails?.reimbursementInfo.stage.code==="draft"?i.deleteDraftTitle:i.deleteReportTitle,description:i.deleteAlertDescription,primaryButtonText:i.buttons.delete,secondaryButtonText:i.buttons.cancel}),k(!0)},$t=()=>{J({title:i.cancelReportTitle,description:i.cancelAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),k(!0)},vt=()=>{J({title:i.cancelAndDeleteReportTitle,description:i.cancelAndDeleteAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),k(!0)},je=()=>{rt()},Tt={onOkClick:s=>{H(!1),pe({reimbursementId:e.remiDetails?.id??"",type:"rejected",description:s})},onCancelClick:()=>{H(!1)}},St=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?je():(Q("approved"),pe({reimbursementId:e.remiDetails?.id??"",type:"approved"}))},jt=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?(Q("delete"),Se()):(Q("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,X=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),kt=p.useMemo(()=>M.filter(s=>s.resolved===!1&&!s.id.includes(Ot)),[M]).length,zt=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(ze,{titleComponent:t.jsx(Me,{children:j.title}),descriptionComponent:t.jsx(Ae,{children:j.description}),primaryButtonText:j.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:j.secondaryButtonText,action:ht}):null,ct?t.jsx(ze,{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(ki,{onClick:()=>lt?.(),"data-testid":y("remi-detail-page-nav-bar-zeni-logo")}),enableTitleOnScroll:!1,backgroundColor:ye.colors.background,keepBackgroundOnScroll:!0,scrollableContent:P,source:"ReimbursementDetailPage"}):null,o!=="small"?t.jsx(ji,{}):null,t.jsx(Re,{"data-testid":y("reimbursement-detail-page-nav-bar-right"),title:Z??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:kt,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(zi,{})})]}),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:Z})}),e.createdBy?.userId!=null?t.jsx(Ve,{windowSize:o,children:`${i.by} ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,de&&$!=null?t.jsx(Ue,{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:X,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:W}),R?t.jsx(Pe,{variant:"warning",style:{margin:`${a.sp5} ${a.sp3}`},title:N.duplicateWarning.title,description:N.duplicateWarning.description}):De?t.jsxs(_e,{size:o,children:[t.jsx(Ke,{}),t.jsxs(Ee,{children:[t.jsx(We,{children:i.thereSeems}),t.jsx(Fe,{children:i.pleaseFind})]})]}):null]}):t.jsx(Ge,{windowSize:o,children:t.jsx(Be,{progressSectionObj:A,createDate:e.remiDetails?.createTime,paymentDate:X,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:W})}):null]}):null,S.map((s,n)=>{const v=e.duplicateLineByLineId[s.lineId];return t.jsxs(Ze,{windowSize:o,children:[t.jsx(_i,{windowSize:o,children:t.jsx(Wi,{bottomSeperator:S.length!==1,windowSize:o,children:t.jsx(ri,{showAutofill:!1,uploadInvoiceEndPoint:V,authParams:it,entityId:e.remiDetails?.id,file:s.file,showTitlebar:!0,showTitlebarIcon:!1,pdfTitle:S.length>1?`#${n+1} Receipt`:"Receipt",style:{width:"auto",padding:0,height:S.length-1===n||n===0?760:451},onInvoiceUpload:()=>{console.log("onInvoiceUpload")},noAttachmentText:i.noReceiptAttached,type:"receipt"})})}),t.jsxs(Oi,{windowSize:o,children:[n===0&&o!=="small"?t.jsxs(t.Fragment,{children:[t.jsxs(He,{windowSize:o,children:[t.jsx(qe,{windowsSize:o,children:Z}),de&&$!=null?t.jsx(Ue,{color:$.color,bgColor:$.bgColor,borderColor:$.borderColor,children:$.value}):null]}),e.createdBy?.userId!=null?t.jsx(Ve,{windowSize:o,children:`By ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,A?.code!=null?t.jsx(Ge,{windowSize:o,children:t.jsx(Be,{progressSectionObj:A,createDate:e.remiDetails?.createTime,paymentDate:X,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:ke=>{ke!=null&&(ge.current[`L${s.lineId}`]=ke)},children:[o!=="small"?t.jsx(ui,{children:t.jsx(yi,{children:S.length>1?`#${n+1} ${i.reimbursement}`:i.reimbursement})}):null,t.jsxs(gi,{windowSize:o,children:[v?.duplicateLineId!=null?t.jsxs(mi,{children:[i.thisExpenseReview," ",t.jsx(pi,{onClick:()=>{if(v.isDuplicateWithinTransaction&&v.duplicateLineId!=null)return be(`L${v.duplicateLineId}`);v.duplicateTransactionId!=null&&v.duplicateLineId!=null&&ot(v.duplicateTransactionId,v.duplicateLineId)},"data-testid":y("remi-view-duplicate-expense"),children:i.viewOriginalExpense})]}):null,t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:s.type===i.mileageKey?`${n}.mileage.reimbursementType`:`${n}.out_of_pocket.reimbursementType`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("reimbursementType",n,s.type===i.mileageKey?"mileage":"out_of_pocket")}`},style:{borderRadius:v?.duplicateLineId==null?`${a.sp2} ${a.sp2} 0 0`:"0 0 0 0"},children:t.jsx(x,{label:{label:i.reimbursementType,width:z},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:z},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:z},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:z},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:z},text:s.transactionDate?.format(fe.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("amount",n,"out_of_pocket")}`},children:t.jsx(x,{label:{label:i.amount,width:I},text:s.homeCurrencyConversions!=null?Ne("0,0[.]00",s.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("memo",n,"out_of_pocket")}`},children:t.jsx(x,{label:{label:i.memo,width:I},text:s.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.account`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("account",n,"out_of_pocket")}`},children:t.jsx(x,{label:{label:i.category,width:I},text:s.lineDetail.account?.accountName??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("class",n,"out_of_pocket")}`},style:{borderRadius:`0 0 ${a.sp2} ${a.sp2}`},children:t.jsx(x,{label:{label:i.department,width:I},text:s.lineDetail.class?.className??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${a.sp2} ${a.sp2}`}})})]})]})]}),S.length!==1&&S.length===n+1&&t.jsxs(Li,{windowSize:o,children:[t.jsxs(Qe,{windowSize:o,children:[t.jsx(Je,{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)}),S.length===1&&t.jsxs(Ze,{windowSize:o,children:[t.jsx(Ye,{}),t.jsxs(di,{windowSize:o,children:[t.jsx(Ni,{windowSize:o,children:t.jsxs(Qe,{windowSize:o,children:[t.jsx(Je,{children:i.total}),t.jsx(Le,{amount:ve,integerStyles:F.h6Regular.cssObject,decimalStyles:F.standardRegular.cssObject})]})}),e.remiDetails&&t.jsx(ci,{windowSize:o,children:t.jsx(Oe,{amount:Te,activities:e.remiActivities,stage:L?.code??"draft",onAddNewRule:he,entity:"reimbursement",historicActivities:e.remiHistory.activities,realTimeApproval:{allApprovers:e.filteredApprovers,allAccountingClass:e.allAccountingClasses,filteredAttributes:e.filteredAttributes,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode??!1,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,attributeSubTypeToUserIdMapping:e.attributeSubTypeToUserIdMapping,isAdmin:oe,signedInUserId:ne?.userId,showRealTimeApproval:se,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:ce,onSaveRealTimeApprovals:me}})})]})]}),t.jsx(Ei,{})]}),$e||W===!0?null:t.jsxs(Di,{children:[o!=="small"?t.jsx(Ye,{}):null,t.jsx(wi,{windowSize:o,"data-testid":y("remi-detail-page-footer"),onClick:s=>{s.stopPropagation(),Y===!0&&G(!1)},children:t.jsx(Ft,{separatorStyle:{marginRight:a.sp4},showPrimaryButton:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||le,showCancel:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||le,cancelBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?o==="small"?i.buttons.delete:i.buttons.deleteReport:o==="small"?i.buttons.reject:i.buttons.rejectReport,isLoading:q==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress"||q==="delete"&&e.deleteStatus.fetchState==="In-Progress",onClick:jt,style:{width:l.footerButtonWidth.value(o)},reverseSpinnerColor:!1},primaryBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?o==="small"?i.buttons.edit:i.buttons.editAndResubmit:o==="small"?i.buttons.approve:i.buttons.approveReport,isLoading:q==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:St,style:{width:l.footerButtonWidth.value(o)},isDisabled:e.approvalUpdateStatus.fetchState==="In-Progress"||e.realTimeApproval.isEditMode===!0},rightSideComponent:t.jsx(bi,{children:t.jsxs(Ii,{windowSize:o,children:[!R&&Y?t.jsx(Kt,{onClickAway:()=>G(!1),children:t.jsxs(Si,{windowSize:o,children:[ee!=="processing"?t.jsx(re,{onClick:Se,"data-testid":y("remi-delete-action"),children:i.buttons.deleteReport}):null,ee==="processing"?t.jsx(re,{onClick:$t,"data-testid":y("remi-cancel-action"),children:i.buttons.cancel}):null,ee==="processing"?t.jsx(re,{onClick:vt,"data-testid":y("remi-cancel-and-delete-action"),children:i.buttons.cancelAndDelete}):null]})}):null,t.jsxs(Ti,{windowSize:o,children:[!R&&Ie===!0?t.jsx(vi,{onClick:je,"data-testid":y("remi-edit-button"),children:t.jsx($i,{})}):null,!R&&Dt===!0?t.jsx(fi,{windowSize:o,showEditIcon:Ie,children:t.jsx(xi,{onClick:()=>G(!Y),"data-testid":y("remi-more-actions-button")})}):null]})]})}),style:{minHeight:62}})})]}),u?t.jsx(ai,{id:h,children:t.jsx(Vt,{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)=>zt(s,n),onCloseAllThreadsDrawer:()=>B(!1),drawerSectionStyle:{width:"400px",backgroundColor:ye.colors.background}})}):null]})},si=e=>{const V=Xe.getLocalizedStrings().spendManagement.billPay.billsByTabs;if(e?.isDeleted===!0)return{value:V.tabsById.deleted,color:ae.deleted.color,bgColor:ae.deleted.bgColor,borderColor:ae.deleted.borderColor,code:"deleted"}},di=r.div`
|
|
1
|
+
import{w as At,d3 as Mt,X as Rt,u as Pt,aV as Bt,C as m,M as Xe,l as ie,fL as Nt,fN as Lt,fO as Ot,j as t,bN as ze,bP as Ae,bQ as Me,Y as y,aW as Re,aH as _t,dr as Wt,fP as Et,f_ as Pe,o as a,fQ as Be,cP as b,cR as w,fT as x,_ as Ne,cO as Le,q as F,fV as Oe,a7 as Ft,m as Kt,fW as Vt,fX as ae,aR as Ut,fY as Yt,a6 as Gt,Q as Ht,h as qt,s as et,as as tt,g as K,f as Qt,eZ as Jt,v as Zt,gd as Xt,g9 as ei,p as c,ah as ti,cl as ii}from"./index-CjViJI82.js";import{b as p,n as r}from"./vendor-CnQcJ2Lu.js";import{_ as ai}from"./liveblocks-BUGn2yQ6.js";import ri from"./InvoiceUploadSection-B8Xsz6dM-DG10muME.js";import{r as oi,h as f,u as ni}from"./types-DyvtCprH-BcZYcgaq.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./crypto-BURQLTgV.js";import"./AttachmentView-ClQPirg--DEqMxi0K.js";import"./uploadReceipts-BH9fi3Vt-BJeYWSVA.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:V,authParams:it,isAdmin:oe,signedInUser:ne,showApproveRejectBtns:le,isRealTimeApprovalEnabled:se,isReimbursementCommentingEnabled:u,isShowDeletedReimbursementEnabled:de,isSignedInUserReimbursementCreator:at,updateEditRealTimeApproverClicked:ce,onSaveRealTimeApprovals:me,redirectToReimbursementListScreen:U,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,k]=p.useState(!1),[Y,G]=p.useState(!1),[ct,H]=p.useState(!1),[q,Q]=p.useState("approved"),P=p.useRef(null),[j,J]=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")&&U()},[e,U]),p.useEffect(()=>{const s=window.location.hash;if(s&&s.startsWith("#L")){const n=s.substring(1);be(n)}},[]);const ut=()=>{U()};Bt({componentName:"reimbursements.details"});const ht={onOkClick:()=>{k(!1),j.primaryButtonText===i.buttons.delete?nt?.():j.title===i.cancelReportTitle?ue?.():j.title===i.cancelAndDeleteReportTitle&&ue?.(!0)},onCancelClick:()=>{k(!1)}},I=l.labelWidth.value(o),z=l.largeLabelWidth.value(o),we=Xe.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,Z=e.remiDetails?.reportTitle,S=e.remiDetails?.lines??[],L=e.remiDetails?.reimbursementInfo.stage,O=e.remiDetails?.reimbursementInfo.billStatus,_=e.remiDetails?.reimbursementInfo.billPaymentStatus,$e=L?.code==="paid",ft=$e?L:O?.code=="approved"&&_?.code?_:O,$=si(e.remiDetails),A=O?.code=="approved"&&_?.code?_:O,W=e.remiDetails?.isDeleted??!1,ve=e.remiDetails?.amount,Te=e.remiDetails?.amount.amount??0,Se=()=>{J({title:e.remiDetails?.reimbursementInfo.stage.code==="draft"?i.deleteDraftTitle:i.deleteReportTitle,description:i.deleteAlertDescription,primaryButtonText:i.buttons.delete,secondaryButtonText:i.buttons.cancel}),k(!0)},$t=()=>{J({title:i.cancelReportTitle,description:i.cancelAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),k(!0)},vt=()=>{J({title:i.cancelAndDeleteReportTitle,description:i.cancelAndDeleteAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),k(!0)},je=()=>{rt()},Tt={onOkClick:s=>{H(!1),pe({reimbursementId:e.remiDetails?.id??"",type:"rejected",description:s})},onCancelClick:()=>{H(!1)}},St=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?je():(Q("approved"),pe({reimbursementId:e.remiDetails?.id??"",type:"approved"}))},jt=()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?(Q("delete"),Se()):(Q("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,X=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),kt=p.useMemo(()=>M.filter(s=>s.resolved===!1&&!s.id.includes(Ot)),[M]).length,zt=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(ze,{titleComponent:t.jsx(Me,{children:j.title}),descriptionComponent:t.jsx(Ae,{children:j.description}),primaryButtonText:j.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:j.secondaryButtonText,action:ht}):null,ct?t.jsx(ze,{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(ki,{onClick:()=>lt?.(),"data-testid":y("remi-detail-page-nav-bar-zeni-logo")}),enableTitleOnScroll:!1,backgroundColor:ye.colors.background,keepBackgroundOnScroll:!0,scrollableContent:P,source:"ReimbursementDetailPage"}):null,o!=="small"?t.jsx(ji,{}):null,t.jsx(Re,{"data-testid":y("reimbursement-detail-page-nav-bar-right"),title:Z??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:kt,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(zi,{})})]}),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:Z})}),e.createdBy?.userId!=null?t.jsx(Ve,{windowSize:o,children:`${i.by} ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,de&&$!=null?t.jsx(Ue,{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:X,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:W}),R?t.jsx(Pe,{variant:"warning",style:{margin:`${a.sp5} ${a.sp3}`},title:N.duplicateWarning.title,description:N.duplicateWarning.description}):De?t.jsxs(_e,{size:o,children:[t.jsx(Ke,{}),t.jsxs(Ee,{children:[t.jsx(We,{children:i.thereSeems}),t.jsx(Fe,{children:i.pleaseFind})]})]}):null]}):t.jsx(Ge,{windowSize:o,children:t.jsx(Be,{progressSectionObj:A,createDate:e.remiDetails?.createTime,paymentDate:X,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:W})}):null]}):null,S.map((s,n)=>{const v=e.duplicateLineByLineId[s.lineId];return t.jsxs(Ze,{windowSize:o,children:[t.jsx(_i,{windowSize:o,children:t.jsx(Wi,{bottomSeperator:S.length!==1,windowSize:o,children:t.jsx(ri,{showAutofill:!1,uploadInvoiceEndPoint:V,authParams:it,entityId:e.remiDetails?.id,file:s.file,showTitlebar:!0,showTitlebarIcon:!1,pdfTitle:S.length>1?`#${n+1} Receipt`:"Receipt",style:{width:"auto",padding:0,height:S.length-1===n||n===0?760:451},onInvoiceUpload:()=>{console.log("onInvoiceUpload")},noAttachmentText:i.noReceiptAttached,type:"receipt"})})}),t.jsxs(Oi,{windowSize:o,children:[n===0&&o!=="small"?t.jsxs(t.Fragment,{children:[t.jsxs(He,{windowSize:o,children:[t.jsx(qe,{windowsSize:o,children:Z}),de&&$!=null?t.jsx(Ue,{color:$.color,bgColor:$.bgColor,borderColor:$.borderColor,children:$.value}):null]}),e.createdBy?.userId!=null?t.jsx(Ve,{windowSize:o,children:`By ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,A?.code!=null?t.jsx(Ge,{windowSize:o,children:t.jsx(Be,{progressSectionObj:A,createDate:e.remiDetails?.createTime,paymentDate:X,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:ke=>{ke!=null&&(ge.current[`L${s.lineId}`]=ke)},children:[o!=="small"?t.jsx(ui,{children:t.jsx(yi,{children:S.length>1?`#${n+1} ${i.reimbursement}`:i.reimbursement})}):null,t.jsxs(gi,{windowSize:o,children:[v?.duplicateLineId!=null?t.jsxs(mi,{children:[i.thisExpenseReview," ",t.jsx(pi,{onClick:()=>{if(v.isDuplicateWithinTransaction&&v.duplicateLineId!=null)return be(`L${v.duplicateLineId}`);v.duplicateTransactionId!=null&&v.duplicateLineId!=null&&ot(v.duplicateTransactionId,v.duplicateLineId)},"data-testid":y("remi-view-duplicate-expense"),children:i.viewOriginalExpense})]}):null,t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:s.type===i.mileageKey?`${n}.mileage.reimbursementType`:`${n}.out_of_pocket.reimbursementType`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("reimbursementType",n,s.type===i.mileageKey?"mileage":"out_of_pocket")}`},style:{borderRadius:v?.duplicateLineId==null?`${a.sp2} ${a.sp2} 0 0`:"0 0 0 0"},children:t.jsx(x,{label:{label:i.reimbursementType,width:z},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:z},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:z},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:z},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:z},text:s.transactionDate?.format(fe.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("amount",n,"out_of_pocket")}`},children:t.jsx(x,{label:{label:i.amount,width:I},text:s.homeCurrencyConversions!=null?Ne("0,0[.]00",s.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("memo",n,"out_of_pocket")}`},children:t.jsx(x,{label:{label:i.memo,width:I},text:s.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.account`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("account",n,"out_of_pocket")}`},children:t.jsx(x,{label:{label:i.category,width:I},text:s.lineDetail.account?.accountName??i.emptyValue,style:{width:"auto"}})}),t.jsx(T,{}),t.jsx(b,{isThreadAllowed:u,dashboardTabKey:w({type:"details",key:`${n}.out_of_pocket.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...g,entityType:`reimbursement.details.${f("class",n,"out_of_pocket")}`},style:{borderRadius:`0 0 ${a.sp2} ${a.sp2}`},children:t.jsx(x,{label:{label:i.department,width:I},text:s.lineDetail.class?.className??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${a.sp2} ${a.sp2}`}})})]})]})]}),S.length!==1&&S.length===n+1&&t.jsxs(Li,{windowSize:o,children:[t.jsxs(Qe,{windowSize:o,children:[t.jsx(Je,{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)}),S.length===1&&t.jsxs(Ze,{windowSize:o,children:[t.jsx(Ye,{}),t.jsxs(di,{windowSize:o,children:[t.jsx(Ni,{windowSize:o,children:t.jsxs(Qe,{windowSize:o,children:[t.jsx(Je,{children:i.total}),t.jsx(Le,{amount:ve,integerStyles:F.h6Regular.cssObject,decimalStyles:F.standardRegular.cssObject})]})}),e.remiDetails&&t.jsx(ci,{windowSize:o,children:t.jsx(Oe,{amount:Te,activities:e.remiActivities,stage:L?.code??"draft",onAddNewRule:he,entity:"reimbursement",historicActivities:e.remiHistory.activities,realTimeApproval:{allApprovers:e.filteredApprovers,allAccountingClass:e.allAccountingClasses,filteredAttributes:e.filteredAttributes,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode??!1,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,attributeSubTypeToUserIdMapping:e.attributeSubTypeToUserIdMapping,isAdmin:oe,signedInUserId:ne?.userId,showRealTimeApproval:se,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:ce,onSaveRealTimeApprovals:me}})})]})]}),t.jsx(Ei,{})]}),$e||W===!0?null:t.jsxs(Di,{children:[o!=="small"?t.jsx(Ye,{}):null,t.jsx(wi,{windowSize:o,"data-testid":y("remi-detail-page-footer"),onClick:s=>{s.stopPropagation(),Y===!0&&G(!1)},children:t.jsx(Ft,{separatorStyle:{marginRight:a.sp4},showPrimaryButton:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||le,showCancel:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||le,cancelBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?o==="small"?i.buttons.delete:i.buttons.deleteReport:o==="small"?i.buttons.reject:i.buttons.rejectReport,isLoading:q==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress"||q==="delete"&&e.deleteStatus.fetchState==="In-Progress",onClick:jt,style:{width:l.footerButtonWidth.value(o)},reverseSpinnerColor:!1},primaryBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?o==="small"?i.buttons.edit:i.buttons.editAndResubmit:o==="small"?i.buttons.approve:i.buttons.approveReport,isLoading:q==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:St,style:{width:l.footerButtonWidth.value(o)},isDisabled:e.approvalUpdateStatus.fetchState==="In-Progress"||e.realTimeApproval.isEditMode===!0},rightSideComponent:t.jsx(bi,{children:t.jsxs(Ii,{windowSize:o,children:[!R&&Y?t.jsx(Kt,{onClickAway:()=>G(!1),children:t.jsxs(Si,{windowSize:o,children:[ee!=="processing"?t.jsx(re,{onClick:Se,"data-testid":y("remi-delete-action"),children:i.buttons.deleteReport}):null,ee==="processing"?t.jsx(re,{onClick:$t,"data-testid":y("remi-cancel-action"),children:i.buttons.cancel}):null,ee==="processing"?t.jsx(re,{onClick:vt,"data-testid":y("remi-cancel-and-delete-action"),children:i.buttons.cancelAndDelete}):null]})}):null,t.jsxs(Ti,{windowSize:o,children:[!R&&Ie===!0?t.jsx(vi,{onClick:je,"data-testid":y("remi-edit-button"),children:t.jsx($i,{})}):null,!R&&Dt===!0?t.jsx(fi,{windowSize:o,showEditIcon:Ie,children:t.jsx(xi,{onClick:()=>G(!Y),"data-testid":y("remi-more-actions-button")})}):null]})]})}),style:{minHeight:62}})})]}),u?t.jsx(ai,{id:h,children:t.jsx(Vt,{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)=>zt(s,n),onCloseAllThreadsDrawer:()=>B(!1),drawerSectionStyle:{width:"400px",backgroundColor:ye.colors.background}})}):null]})},si=e=>{const V=Xe.getLocalizedStrings().spendManagement.billPay.billsByTabs;if(e?.isDeleted===!0)return{value:V.tabsById.deleted,color:ae.deleted.color,bgColor:ae.deleted.bgColor,borderColor:ae.deleted.borderColor,code:"deleted"}},di=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: ${e=>l.rightSectionWidth.valuePercentage(e.windowSize)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as me,u as z,X as v,a5 as de,l as D,M as V,j as e,Y as c,aW as pe,K as g,i as m,o as r,Z as xe,c0 as he,a9 as F,f as ue,C as ge,g as j,c2 as we,aa as je,av as fe,p as be}from"./index-
|
|
1
|
+
import{w as me,u as z,X as v,a5 as de,l as D,M as V,j as e,Y as c,aW as pe,K as g,i as m,o as r,Z as xe,c0 as he,a9 as F,f as ue,C as ge,g as j,c2 as we,aa as je,av as fe,p as be}from"./index-CjViJI82.js";import{b,n as t,k as $e}from"./vendor-CnQcJ2Lu.js";import{x as ye}from"./MeetingCalenderPopup-DM1wkT0M-Bm_cctkg.js";import{f as ke,C as N}from"./play-icon-C_pnFd6Q-9jE99gvQ.js";import{M as C}from"./usp-line-BBd1wKwW-CgKq8-Xn.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const O="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-light.png",W="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-dark.png",Se={midContainerMarginBottom:new ge(be[5],44)},ze=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
min-height: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as Ve,X as Ee,a5 as N,a as Ge,c3 as qe,M as Te,ab as be,j as t,cI as Je,g as J,C as r,aW as Ke,d as Qe,F as Ze,c$ as Ye,aQ as Xe,d0 as et,a7 as tt,o as a,p as n,ah as it,cg as nt,co as ot,e$ as ve,f0 as ke,fK as at,K as lt,Y as $e,Q as Pe,be as rt,v as st,aN as ct}from"./index-
|
|
1
|
+
import{u as Ve,X as Ee,a5 as N,a as Ge,c3 as qe,M as Te,ab as be,j as t,cI as Je,g as J,C as r,aW as Ke,d as Qe,F as Ze,c$ as Ye,aQ as Xe,d0 as et,a7 as tt,o as a,p as n,ah as it,cg as nt,co as ot,e$ as ve,f0 as ke,fK as at,K as lt,Y as $e,Q as Pe,be as rt,v as st,aN as ct}from"./index-CjViJI82.js";import{b as o,n as i}from"./vendor-CnQcJ2Lu.js";import{F as dt}from"./HelpButton-CzonsAOi-C6o6gRiy.js";import{J as je}from"./SetUpDefaultSection-DkoRgSyp-Bj90DWQf.js";import{p as ut}from"./SpendMgmtSetupAccountSection-CNcWLqIc-Bd_LEEBx.js";import{g as mt}from"./UploadAdditionalDocumentOverlay-Drs2Czkg-CGyOsBXK.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-DM1wkT0M-Bm_cctkg.js";import"./ChargeCardUtils-CtoTn6DQ-CEQAXg_r.js";import"./CreditCardPaymentPlgSection-IeRxDnG7-BraPG36j.js";import"./ChaseOverlay-DfjQ73Ie-BuvaJtMo.js";const pt=e=>o.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},o.createElement("path",{d:"M12.7113 3H2.89261C2.39963 3 2 3.39963 2 3.89261V20.8522C2 21.3451 2.39963 21.7448 2.89261 21.7448H12.7113C13.2043 21.7448 13.6039 21.3451 13.6039 20.8522V3.89261C13.6039 3.39963 13.2043 3 12.7113 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M10.4798 13.7113H9.58719C9.3407 13.7113 9.14088 13.9111 9.14088 14.1576V16.8354C9.14088 17.0819 9.3407 17.2817 9.58719 17.2817H10.4798C10.7263 17.2817 10.9261 17.0819 10.9261 16.8354V14.1576C10.9261 13.9111 10.7263 13.7113 10.4798 13.7113Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M21.6374 16.1133C21.6374 16.1961 21.6143 16.2773 21.5708 16.3477C21.5273 16.4182 21.4651 16.4752 21.391 16.5123L19.8522 17.2817V14.6039H21.1911C21.3095 14.6039 21.423 14.6509 21.5067 14.7346C21.5904 14.8183 21.6374 14.9318 21.6374 15.0502V16.1133Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M19.8522 14.6039V13.265C19.8522 12.5268 22.53 10.1409 22.53 10.1409",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M19.8522 17.2817V19.9596C19.8522 20.433 19.6641 20.8871 19.3293 21.2219C18.9945 21.5567 18.5404 21.7448 18.067 21.7448C17.5935 21.7448 17.1394 21.5567 16.8046 21.2219C16.4698 20.8871 16.2817 20.433 16.2817 19.9596V7.90935C16.2817 7.55424 16.1407 7.21369 15.8896 6.96259C15.6385 6.7115 15.2979 6.57043 14.9428 6.57043H13.6039",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M2 10.1409H13.6039",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M11.3724 4.78528H4.23154C3.98505 4.78528 3.78523 4.9851 3.78523 5.23158V7.90941C3.78523 8.15589 3.98505 8.35571 4.23154 8.35571H11.3724C11.6189 8.35571 11.8187 8.15589 11.8187 7.90941V5.23158C11.8187 4.9851 11.6189 4.78528 11.3724 4.78528Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M9.14088 19.0669H10.9261",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),f={sectionWidth:new r(343,580,726),iconContainerMaxWidthHeight:new r(n[6],n[7]),iconContainerMarginRight:new r(12,n[3]),infoLabelPaddingLeft:new r(n[0],n[3]),iconPadding:new r(10,12),iconWidthHeight:new r(20,n[4]),rowGap:new r(n[2],n[3]),containerPadding:new r(n[3],n[4])},ge={title:new Pe("standardSemiBold","largeSemiBold"),infoLabel:new Pe("extraSmallRegular","smallRegular")};function gt({companyMileageConfigInfo:e,mileageDetails:w,analytics:j,style:A,sectionId:$,isActive:d=!0,isDisabled:s,onSaveMileageClick:K}){const l=Ee(),D=Ve(),{formState:{errors:Q},trigger:Z}=nt(),V=ht($,"mileageAmountInDenomination"),x=ot(Q,V),{localData:c,updateStatus:R,mileageStatus:C}=w,U=e?.denominationConversions.amount==null||e.denominationConversions.amount!==c?.mileageAmountInDenomination,{commonSetUp:Y,spendManagement:X}=Te.getLocalizedStrings(),{reimbursement:ee}=X,[b,E]=o.useState(U),[te,W]=o.useState(!1);o.useEffect(()=>{x||Z(V)},[]),o.useEffect(()=>{e?.denominationConversions.amount!=null&&e.denominationConversions.amount===c?.mileageAmountInDenomination&&E(!1)},[e?.denominationConversions.amount]),o.useEffect(()=>{b||W(b)},[b]);const{reimbursementSetup:y}=ee,{setUp:ie}=Y,ne=b===!1||R.fetchState==="In-Progress"?"readonly":s,oe=c&&c?.denominationSymbol?`${c?.denominationSymbol} `:"",ae=c&&c?.mileageUnit?c?.mileageUnit:"";return t.jsxs(ft,{windowSize:l,style:A,isActive:d&&s==null,children:[t.jsxs($t,{windowSize:l,children:[y.mileageHeader,d===!1?t.jsx(At,{children:ie.comingSoon}):null]}),t.jsxs(vt,{windowSize:l,children:[t.jsx(bt,{windowSize:l,isDarkMode:D.mode==="dark",children:t.jsx(pt,{width:f.iconWidthHeight.valuePx(l),height:f.iconWidthHeight.valuePx(l)})}),t.jsxs(xt,{children:[t.jsxs(kt,{children:[t.jsxs(Pt,{children:[t.jsxs(jt,{children:[t.jsx(St,{windowSize:l,children:e?.denominationConversions.amount==null?y.mileageAddTitle:y.mileageEditTitle}),t.jsx(wt,{children:y.mileageSubTitle})]}),C!=null&&e?.denominationConversions.amount!=null&&l==="small"?t.jsx(ve,{style:{width:"max-content",padding:a.sp0,marginTop:a.sp2},tagTitle:C.name,textColor:ke(C.code)}):null]}),t.jsxs(yt,{children:[C!=null&&e?.denominationConversions.amount!=null&&l!=="small"?t.jsx(ve,{style:{width:"max-content"},tagTitle:C.name,textColor:ke(C.code)}):null,t.jsx(Ct,{})]})]}),t.jsxs(Dt,{children:[t.jsxs(Vt,{children:[t.jsx(at,{style:{height:a.sp6,textAlign:"left"},inputStyle:{textAlign:"left",paddingRight:a.sp10,backgroundColor:x?void 0:D.colors.background,color:b||x?void 0:D.colors.grey1},isFieldError:x,type:"number",autoFocus:!1,focus:te,name:V,defaultValue:c?.mileageAmountInDenomination,returnValueType:"floatValue",allowEmptyFormatting:!0,prefix:oe,suffix:` ${y.perText} ${ae}`,decimalScale:1,allowNegative:!1,isNumericString:!1,registerOptions:{min:1,validate:T=>T!=null||s!=null,required:s==null},isDisabled:ne}),t.jsx(Tt,{children:b?t.jsx(lt,{label:y.save,"data-testid":$e("save-mileage"),onClick:()=>{c?.mileageAmountInDenomination!=null&&U&&!x&&K?.(c.mileageAmountInDenomination)},style:{outline:"none"},size:"small",disabled:s!=null,variant:"light_transparent",reverseSpinnerColor:!1,loading:R.fetchState==="In-Progress"}):t.jsx(It,{isDisabled:s,"data-testid":$e("edit-mileage"),onClick:T=>{T.stopPropagation(),E(!0),W(!0),j.trackReimbursementMileageRateEdit()}})})]}),c?.description!=null?t.jsx(Et,{size:l,hasError:x,children:x&&e?.defaultMileageUnitAmount!=null?y.yourMileage.replace("__defaultMileageUnitAmount__",(e.defaultMileageUnitAmount*100).toString()):c.description}):null]})]})]})]})}const ht=(e,w)=>`${e}.${w}`,ft=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
pointer-events: ${e=>e.isLoading===!0||e.isActive===!1?"none":"initial"};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{M as O,j as b,bN as q,bP as V,bQ as W,jo as z,aJ as H,l as J}from"./index-
|
|
1
|
+
import{M as O,j as b,bN as q,bP as V,bQ as W,jo as z,aJ as H,l as J}from"./index-CjViJI82.js";import{b as f}from"./vendor-CnQcJ2Lu.js";import{m as Q}from"./ReviewOverlay-CmbxFXT5-DAX6Vi5G.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const{common:n,spendManagement:{reimbursement:k}}=O.getLocalizedStrings(),o=k.bulkActions;let I;const ae=({remisReviewView:e,isAdmin:l,analytics:i,onProceedForBulkActionClick:d,onCloseReviewItem:r,onCloseOverlay:s})=>{const{fetchState:p,bulkSubmissionFetchState:c,bulkOperationTypeSelected:t,currentTab:v,currentSubTab:g}=e,h=!1,[w,a]=f.useState(!1),[m,_]=f.useState(P(e,h,l)),[x,R]=f.useState(h),[B,Z]=f.useState(0),[y,A]=f.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});f.useEffect(()=>(B===m.length&&x&&(R(!1),clearInterval(I)),e.fetchState==="Completed"&&_(P(e,!1,l)),()=>{clearInterval(I)}),[m.length,B,x,e.fetchState,h,e,l]);const E=m.length,S=m.filter(u=>u.reviewStatus.code!=="error").length,F=()=>{const{title:u,description:T}=X(S);A({type:"reject",title:u,description:T,primaryButtonText:n.texts.confirm,secondaryButtonText:n.texts.close}),i.trackReimbursementBulkSubmit(t,v,g),a(!0)},$={onOkClick:u=>{a(!1);const T=e.remisForReview.map(j=>j.reimbursement);i.trackReimbursementBulkPopupConfirm(t,v,g,J.getRemiListUniqueType(T.map(j=>j?.reimbursementTypesIncluded??[]))),d("reject",u)},onCancelClick:()=>{a(!1)}},{title:L,description:U}=Y(p,S,E,x),C=e.fetchState==="Completed"&&S===0,N=()=>{i.trackReimbursementBulkSubmit(t,v,g),d(t)},D=()=>{let u=n.footer.approve;return C?u=n.texts.close:t==="send_for_approval"&&(u=n.footer.submit),{label:u,isDisabled:p!=="Completed"||t==="reject"&&c==="In-Progress",isLoading:c==="In-Progress"&&(t==="send_for_approval"||t==="approve"),onClick:C?s:N,style:t==="send_for_approval"?{minWidth:"92px"}:{}}},M={label:t==="send_for_approval"?n.texts.goBack:n.footer.reject,isDisabled:t!=="reject"&&c==="In-Progress",isLoading:t==="reject"&&c==="In-Progress",reverseSpinnerColor:!1,onClick:t==="send_for_approval"?s:F,style:t==="approve"?{minWidth:"92px"}:{}};return b.jsxs(b.Fragment,{children:[w?b.jsx(q,{titleComponent:b.jsx(W,{children:y.title}),descriptionComponent:b.jsx(V,{children:y.description}),primaryButtonText:y.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:y.secondaryButtonText,action:$,isNotesIncluded:!0,isEditPopup:!0}):null,b.jsx(Q,{title:L,description:{content:U,isError:e.fetchState==="Completed"&&S===0},reviewItems:m,onCloseReviewItem:r,onCloseOverlay:s,showFooter:e.fetchState==="Completed"&&!x,footerProps:{primaryButton:D(),cancelButton:M,hideCancel:C}})]})},P=(e,l,i)=>{const d=e.fetchState==="In-Progress";return e.remisForReview.map(r=>{const s=z(i,r.submittedBy);return{id:r.transactionId,leftSideText:{title:r.reimbursement?.reportTitle!=null?r.reimbursement.reportTitle:k.reimbursementDetail.newReimbursementTitle,subTitle:s!=null?`${n.by} ${s?.firstName} ${s?.lastName}`:n.strings.empty},rightSideText:{title:H("0,0.[00]",r.reimbursement?.amount?.amount,r.reimbursement?.amount?.currencySymbol),showThunderIcon:!1,subTitle:r.reviewInfoMessage??""},reviewStatus:{isLoading:d,code:r.reviewStatus??""}}})},X=e=>{const{this_:l,these:i,report:d,reports:r,payment:s,payments:p}=n.texts;return e>1?{title:o.popUps.reject.title.replace("__report__",o.reports),description:o.popUps.reject.description.replaceAll("<_this_>",i).replaceAll("<_payment_>",p).replaceAll("__report__",r)}:{title:o.popUps.reject.title.replace("__report__",o.report),description:o.popUps.reject.description.replaceAll("<_this_>",l).replaceAll("<_payment_>",s).replaceAll("__report__",d)}},Y=(e,l,i,d)=>{const{has:r,have:s,report:p,reports:c,are:t,is:v,do_:g,does:h}=n.texts,w=l>1,a=i>1;let m="",_="";return e==="Completed"&&!d?(m=o.reviewPage.reportsReviewed.title.replace("__report__",a?k.bulkActions.reports:o.report).replace("<_has_>",a?s:r),l===0?_=o.reviewPage.reportsReviewed.descriptionError.replace("__report__",a?c:p).replace("<_do_>",a?g:h):_=`${l}/${i} ${o.reviewPage.reportsReviewed.description.replace("__report__",i>1?c:p).replace("<_is_>",w?t:v)}`):(m=o.reviewPage.reportsReviewing.title.replace("__report__",a?c:p),_=o.reviewPage.reportsReviewing.description.replace("__report__",a?c:p)),{title:m,description:_}};export{ae as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as h,j as r,W as a,Y as m,an as j,M as C,a8 as l,bI as x,v as g,o as c,ao as f}from"./index-
|
|
1
|
+
import{u as h,j as r,W as a,Y as m,an as j,M as C,a8 as l,bI as x,v as g,o as c,ao as f}from"./index-CjViJI82.js";import{n as s,b as d}from"./vendor-CnQcJ2Lu.js";function p({backgroundColor:e,foregroundColor:o,animated:t,width:n,height:i}){return r.jsxs(x,{speed:2,width:n,height:i,viewBox:`0 0 ${n} ${i}`,animate:t!=!1,backgroundColor:e,foregroundColor:o,children:[r.jsx("rect",{x:"64",y:"0",rx:"4",ry:"4",width:`${n-128}`,height:"21"}),r.jsx("rect",{x:"24",y:"45",rx:"4",ry:"4",width:`${n-48}`,height:"228"})]})}function w({backgroundColor:e,foregroundColor:o,animated:t}){return r.jsxs(x,{speed:2,width:240,height:98,viewBox:"0 0 240 98",animate:t!=!1,backgroundColor:e,foregroundColor:o,children:[r.jsx("rect",{x:"66",y:"0",rx:"4",ry:"4",width:"108",height:"21"}),r.jsx("rect",{x:"44",y:"77",rx:"4",ry:"4",width:"152",height:"21"}),r.jsx("rect",{x:"0",y:"29",rx:"4",ry:"4",width:"240",height:"40"})]})}const u=s(l)`
|
|
2
2
|
justify-content: flex-start;
|
|
3
3
|
`;function T({dimension:e,animated:o}){const t=h();return r.jsx(a,{dimension:e,children:r.jsx(u,{children:r.jsx(w,{backgroundColor:t.colors.grey3,foregroundColor:t.colors.grey4,animated:o})})})}function I({dimension:e,animated:o}){const t=h();return r.jsx(a,{dimension:e,children:r.jsx(u,{children:r.jsx("div",{style:{width:"100%",height:"100%"},children:r.jsx(f,{children:({height:n,width:i})=>r.jsx(p,{backgroundColor:t.colors.grey3,foregroundColor:t.colors.grey4,animated:o,width:i,height:n})})})})})}const y=e=>d.createElement("svg",{viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("rect",{opacity:.2,width:72,height:72,rx:36,fill:"#97C3B9"}),d.createElement("path",{d:"M46.7755 32.5635L43.8368 36.9716L40.4082 33.0533",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M34.5307 44.8163C32.6902 44.8163 30.8909 44.2705 29.3605 43.248C27.8301 42.2254 26.6374 40.772 25.933 39.0715C25.2286 37.3711 25.0443 35.4999 25.4034 33.6947C25.7625 31.8895 26.6488 30.2313 27.9503 28.9298C29.2518 27.6283 30.91 26.742 32.7152 26.3829C34.5204 26.0238 36.3916 26.2081 38.092 26.9125C39.7925 27.6169 41.2459 28.8096 42.2685 30.34C43.291 31.8704 43.8369 33.6697 43.8369 35.5102V36.9737",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),k=s(l)`
|
|
4
4
|
justify-content: space-between;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as X,X as se,aV as ie,a as ce,j as a,m as de,M as J,F as he,C,a7 as ue,o as c,bE as pe,bF as me,bG as fe,ah as ge,bH as xe,p as h,v as be,J as q,bI as ye,ab as _e,s as we,b1 as ve}from"./index-
|
|
1
|
+
import{u as X,X as se,aV as ie,a as ce,j as a,m as de,M as J,F as he,C,a7 as ue,o as c,bE as pe,bF as me,bG as fe,ah as ge,bH as xe,p as h,v as be,J as q,bI as ye,ab as _e,s as we,b1 as ve}from"./index-CjViJI82.js";import{b as f,f as ae,n as u}from"./vendor-CnQcJ2Lu.js";import{r as j,a as $e}from"./CollapsableReportTable-CHsJ-93l-Bi7TfJ-K.js";const A=J.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat,ke=e=>({this_period:{start_date:e.thisPeriod.startDate.format(A),end_date:e.thisPeriod.endDate.format(A)},number_of_periods:e.numberOfPeriods,order_by:e.orderBy}),Ce=e=>e!=null?{start_date:e.startDate.format(A),end_date:e.endDate.format(A)}:void 0;function je(e){return{locale_id:e.localeId,show_negative_amount_in_parenthesis:e.showNegativeAmountInParenthesis,filter_accounts_with_nil_balances:e.filterAccountsWithNilBalances,filter_account_groups_with_nil_balances:e.filterAccountGroupsWithNilBalances,include_cover_page:e.includeCoverPage,company_name:e.companyName,statement_file_type:e.statementFileType,statements:e.statements,first_month_of_fy:e.firstMonthOfFY,book_close_date:e.bookCloseDate!=null?e.bookCloseDate.format(A):void 0,timeframe:e.timeframe,additional_balances:e.additionalBalances,format:e.format,balances_filter:ke(e.balancesFilter),account_view_mode:e.accountViewMode,classes_to_filter_out:e.classesToFilterOut,data_available:Ce(e.dataAvailable),is_zeni_coa_used:e.isZeniCOAUsed}}async function Je(e,l,n){const s=J.getLocalizedStrings().downloadReport,r=`${e}?query=${encodeURIComponent(JSON.stringify(je(n)))}`;try{const d=await pe({urlEndPoint:r,authParams:l,fileType:n.statementFileType});if(d.ok){const x=me(d.headers,s.defaultFileName),b=await d.arrayBuffer();fe(b,x)}else console.error(`${s.reportErrorMessage} ${d.statusText}`)}catch(d){console.error(`${s.reportErrorMessage} ${JSON.stringify(d)}`)}}const Ne=u.div`
|
|
2
2
|
padding: 0 ${c.sp3} 0 ${c.sp3};
|
|
3
3
|
border: 1px solid ${e=>e.theme.colors.primary};
|
|
4
4
|
background: ${e=>e.theme.colors.grey5};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as U,u as W,M as y,w as le,l as b,j as i,Y as L,bg as de,aY as pe,aW as ue,C as R,o as C,a9 as he,d as fe,bh as me,p as w,I as A,J as q,bi as ge,ab as _e,b5 as be,a_ as Se}from"./index-
|
|
1
|
+
import{X as U,u as W,M as y,w as le,l as b,j as i,Y as L,bg as de,aY as pe,aW as ue,C as R,o as C,a9 as he,d as fe,bh as me,p as w,I as A,J as q,bi as ge,ab as _e,b5 as be,a_ as Se}from"./index-CjViJI82.js";import{b as T,f as K,n as _}from"./vendor-CnQcJ2Lu.js";import{m as D,l as Y}from"./analyticsHelper-CvW7m-EV-nO2i_RUx.js";import{e as we}from"./ReportTableViewSelector-ZI_K0-D2-CIoJuBlW.js";import{a as J,p as Ce}from"./TimeRangeSwitcher-DETvaZov-CwVHTAYo.js";import{P as ye}from"./TimeframeSwitcherWithToggle-CuU7mRU9-0sgW3h40.js";import{DownloadOverlayButton as xe}from"./DownloadOverlay-cne9_fIV-BVhcS5G6.js";import{a as Oe,r as M,b as X}from"./CollapsableReportTable-CHsJ-93l-Bi7TfJ-K.js";import{T as Q,I as ee,L as $,D as Ae,g as te}from"./mapSectionWithAcOnlyToTreeNode-DtR1UNND--ulpnsBf.js";import{s as G}from"./mapTimeframeBalancesToTreeNode-BkUJJy_y-8lKA5ScY.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./TimeframeSwitcher-DRQZAZ8X-DCySEKV1.js";import"./page-detail-CWX5S47F-B6DjZ3Gi.js";import"./AccountRow-vtPa0PJn-Ccj8p0p9.js";function se({section:e,sectionId:t,numOfBalances:o,config:a}){return X("no_filter",a.filterAccountsWithNilBalances,a.filterAccountGroupsWithNilBalances).compactedAccountGroupsSelector(e.accountGroups).map(s=>Re({accountGroup:s,sectionType:t,numOfBalances:o,title:s.accountGroupName,isLastNode:!0,config:a}))}function Re({accountGroup:e,sectionType:t,numOfBalances:o,title:a,isLastNode:s,config:l}){const p=M("section",[],a+t),d={children:[],id:p,isLastNode:s,reportElementData:{element:{kind:"section",title:a,sectionType:t,data:e,numOfBalances:o},config:l}},n=X("no_filter",l.filterAccountsWithNilBalances,l.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.accounts),g=n.map((r,u)=>te({account:r,sectionType:t,numOfBalances:o,title:r.account.accountName,config:l,isLastNode:u===n.length-1,parentNodeIDs:[p],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:n.length>1,hasChildren:r.children.length>0,isLastNode:u===n.length-1}]}}));return d.children.push(...g),d}function ne({sectionWithAcOnly:e,sectionType:t,numOfBalances:o,config:a}){return e.accounts.map((s,l)=>te({account:s,sectionType:t,numOfBalances:o,title:s.account.accountName,config:a,isLastNode:l===e.accounts.length-1,parentNodeIDs:[],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:e.accounts.length>1,hasChildren:s.children.length>0,isLastNode:l===e.accounts.length-1}]}}))}function oe({balances:e,config:t,nodeId:o}){return{children:[],id:o??M("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:t.mode==="actual_vs_forecast"?"timeframe_headers_with_forecast":"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:t}}}function Be(e,t,o,a=!0){Object.assign(e.config,t);const s=ae(o),l=G({balances:s,config:t});return{config:t,headerNodes:a?[l]:[],contentNodes:[l,...e.contentNodes.slice(1)]}}const ae=e=>{switch(e.reportId){case"profit_and_loss":{const t=e;return t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:[...t.sections.income.balances,...t.sections.income.additionalBalances]}case"profit_and_loss_by_classes":{const t=e;return t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:[...t.sections.income.balances,...t.sections.income.additionalBalances]}case"cash_flow":{const t=e;return[...t.calculatedSections.operatingActivitiesTotal.balances,...t.calculatedSections.operatingActivitiesTotal.additionalBalances]}case"balance_sheet":{const t=e;let o=[];return Object.keys(t.sections).forEach(a=>{t.sections[a].balances.length>0&&(o=[...t.sections[a].balances,...t.sections[a].additionalBalances])}),o}default:return[]}};function ve(e,t,o=!0){const a=y.getLocalizedStrings().reports.sections,s=y.getLocalizedStrings().reports.balanceSheet,l=ae(e),p=t.mode!=null&&t.mode==="this_period_vs_period_before"&&l.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,d=oe({balances:l,config:t}),n=[];return n.push(d),Object.keys(e.rootSectionsWithSubSectionIds).forEach(g=>{const r=M("title_string_only",[],g),u={children:[],id:r,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:a[g],data:void 0,numOfBalances:0},config:t}};n.push(u),e.rootSectionsWithSubSectionIds[g].forEach(c=>{if(b.isBalanceSheetReportViewSectionID(c)===!0)if(e.sections[c].accountGroups.length>0)if(c==="equity"){const f=se({sectionId:c,section:e.sections[c],numOfBalances:p,config:t});n.push(...f)}else n.push(Q({section:e.sections[c],sectionType:c,numOfBalances:p,title:s[c],isLastNode:!0,config:t}));else if(c==="equity"){const f=ne({sectionWithAcOnly:e.sections[c],sectionType:c,numOfBalances:p,config:t});n.push(...f)}else{const f=e.sections[c];n.push(ee({sectionWithAcOnly:f,sectionType:c,numOfBalances:p,title:s[c],isLastNode:!0,config:t}))}else b.isBalanceSheetReportViewCalculatedSectionID(c)===!0&&n.push($({calculatedSection:e.calculatedSections[c],numOfBalances:p,title:s[c],isLastNode:!0,config:t}))})}),{config:t,headerNodes:o?[d]:[],contentNodes:n}}function Te({calculatedSection:e,numOfBalances:t,title:o,isLastNode:a,config:s}){return{children:[],id:M("calculated_section_type1",[],o),isLastNode:a,reportElementData:{element:{kind:"calculated_section_type1",title:o,data:e,numOfBalances:t},config:s}}}function Le(e,t,o=!0){const a=y.getLocalizedStrings().reports.sections,s=y.getLocalizedStrings().reports.cashFlow,l=[...e.calculatedSections.operatingActivitiesTotal.balances,...e.calculatedSections.operatingActivitiesTotal.additionalBalances],p=t.mode!=null&&t.mode==="this_period_vs_period_before"&&l.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,d=oe({balances:l,config:t}),n=[];return Object.keys(e.rootSectionsWithSubSectionIds).forEach(g=>{const r=M("title_string_only",[],g),u={children:[],id:r,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:a[g],data:void 0,numOfBalances:0},config:t}};n.push(u),e.rootSectionsWithSubSectionIds[g].forEach(c=>{if(b.isCashFlowReportViewSectionID(c)===!0)if(e.sections[c].accountGroups.length>0){const f=se({sectionId:c,section:e.sections[c],numOfBalances:p,config:t});n.push(...f)}else{const f=ne({sectionWithAcOnly:e.sections[c],sectionType:c,numOfBalances:p,config:t});n.push(...f)}else b.isCashFlowReportViewCalculatedSectionType1ID(c)===!0?n.push(Te({calculatedSection:e.calculatedSections[c],numOfBalances:p,title:s[c],isLastNode:!0,config:t})):b.isCashFlowReportViewCalculatedSectionID(c)===!0&&n.push($({calculatedSection:e.calculatedSections[c],numOfBalances:p,title:s[c],isLastNode:!0,config:t}))})}),{config:t,headerNodes:o?[d]:[],contentNodes:[d,...n]}}function ke(e,t,o=!0){const a=y.getLocalizedStrings().reports,s=e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.sections.otherIncome.balances.length>0?[...e.sections.otherIncome.balances,...e.sections.otherIncome.additionalBalances]:e.sections.otherExpenses.balances.length>0?[...e.sections.otherExpenses.balances,...e.sections.otherExpenses.additionalBalances]:[],l=t.mode!=null&&t.mode==="this_period_vs_period_before"&&s.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,p=G({balances:s,config:t}),d=[];return d.push(p),e.idsInOrder.forEach(n=>{b.isPandLReportViewSectionID(n)===!0?d.push(Ae({section:e.sections[n],sectionType:n,numOfBalances:l,title:a.sections[n],isLastNode:!0,config:t})):b.isPandLReportViewCalculatedSectionID(n)===!0&&d.push($({calculatedSection:e.calculatedSections[n],numOfBalances:l,title:a.sections[n],isLastNode:!0,config:t}))}),{config:t,headerNodes:o?[p]:[],contentNodes:d}}function Ne(e,t,o=!0){const a=y.getLocalizedStrings().reports,s=e.sections.expenses!=null&&e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.income!=null&&e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs!=null&&e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.sections.otherIncome!=null&&e.sections.otherIncome.balances.length>0?[...e.sections.otherIncome.balances,...e.sections.otherIncome.additionalBalances]:e.sections.otherExpenses!=null&&e.sections.otherExpenses.balances.length>0?[...e.sections.otherExpenses.balances,...e.sections.otherExpenses.additionalBalances]:[],l=t.mode!=null&&t.mode==="this_period_vs_period_before"&&s.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,p=G({balances:s,config:t}),d=[];return d.push(p),e.idsInOrder.forEach(n=>{if(b.isPandLReportViewSectionID(n)===!0&&(e.sections[n].accountGroups.length>0?d.push(Q({section:e.sections[n],sectionType:n,numOfBalances:l,title:a.sections[n],isLastNode:!0,config:t})):d.push(ee({sectionWithAcOnly:e.sections[n],sectionType:n,numOfBalances:l,title:a.sections[n],isLastNode:!0,config:t}))),b.isPandLReportViewCalculatedSectionID(n)===!0){const g=e.calculatedSections[n];g!=null&&d.push($({calculatedSection:g,numOfBalances:l,title:a.sections[n],isLastNode:!0,config:t}))}}),{config:t,headerNodes:o?[p]:[],contentNodes:d}}const Z={contentPaddingLeft:new R(w[0],w[0],w[0]),contentPaddingRight:new R(w[3],w[3],w[8])},Pe=_.div`
|
|
2
2
|
height: ${e=>e.height}px;
|
|
3
3
|
width: 99.9%;
|
|
4
4
|
margin-top: ${C.sp2};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as A,j as a,M as D,X as de,Y as Ae,ao as Q,b7 as Te,p as E,b8 as J,aB as ee,q as M,aA as ae,aJ as re,b9 as oe,ba as ge,o as m,bb as te,g,J as Fe,bc as pe,bd as me,C as xe,be as fe,s as R,bf as F,av as V}from"./index-
|
|
1
|
+
import{u as A,j as a,M as D,X as de,Y as Ae,ao as Q,b7 as Te,p as E,b8 as J,aB as ee,q as M,aA as ae,aJ as re,b9 as oe,ba as ge,o as m,bb as te,g,J as Fe,bc as pe,bd as me,C as xe,be as fe,s as R,bf as F,av as V}from"./index-CjViJI82.js";import{b as P,f as le,n as x}from"./vendor-CnQcJ2Lu.js";import{p as b,d as ne,y as W,b as N,g as ce,u as T}from"./chartTypes-0tTBFzPe-CKqP5TB1.js";import{i as K,h as se,c as I}from"./toCOABalancesWithID-e2ImXwdp-CKDntHr-.js";import{V as Z}from"./toChartData-Dh91kb97-BZZ8pWR6.js";const q={legendLabelMarginLeft:new xe(2,2),legendLabelMarginRight:new xe(E[3],E[4])},Ve=x.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
`,He=x.div`
|
|
4
4
|
margin: ${m.sp2} ${m.sp0} ${m.sp2} ${m.sp0};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as vt,w as Tt,C as y,cB as jt,M as St,cC as Ct,cD as Dt,j as t,cE as It,cF as le,cG as kt,l as d,cH as Pt,cI as At,Y as j,cJ as Mt,_ as A,cK as Bt,cL as Nt,cM as Ae,cN as Me,cO as Be,q as K,cP as O,cQ as z,cR as _,g as S,cS as Rt,cT as Ft,cU as Et,cV as Lt,bu as Ne,o as n,a7 as Ot,p as c,b as zt,bq as _t,Q as Wt,h as Ut,cW as Zt,ah as Ht,s as se,f as de,cX as Yt,cY as Vt,cZ as Kt,k as qt,as as Gt,Z as Xe,b6 as Xt,v as Je,aN as Jt,c_ as Qt}from"./index-GMJ2nuUF.js";import{b as U,n as i}from"./vendor-CnQcJ2Lu.js";import{t as en,o as tn}from"./LowBalancePopup-BQYkTR6v-Dpy5Y7Om.js";import{S as W}from"./LabeledText-BUZXeSSr-BNwrdOLI.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const Qe=["small","medium-compact","medium-regular"],p={largeLabelWidth:new y(150,215,215),infoMinWidth:new y(0,0,0,142,142),infoMarginRight:new y(0,0,0,c[2],c[2]),footerButtonWidth:new y(120,165),iconContainerMarginTop:new y(6,c[1]),navBarContainerPaddingTop:new y(10,c[3]),sectionTitleMarginLeft:new y(c[3],c[0]),reviewContainerMarginLeft:new y(c[3],c[6]),reviewContainerMarginRight:new y(c[3],c[8]),footerRightIconMarginRight:new y(c[0],c[0],c[7]),infoLabelPaddingRight:new y(c[0],c[3]),infoLabelMarginTop:new y(c[1],c[0])},nn={sectionTitle:new Wt("h6Medium","h5Medium")},{dateFormat:Re,common:{currency:T,labels:Fe,edit:an,strings:{empty:h}},spendManagement:{billPay:ln}}=St.getLocalizedStrings(),{billDetails:a,paymentDetails:Ee}=ln,Le=({attachment:e})=>{const[w,x]=U.useState(!1),M=()=>{x(!1)},C=e.fileId?.length===0;return t.jsxs(Bn,{isDisabled:e.fileId?.length===0,"data-testid":j("attachment-tag",e.fileName),onClick:()=>C===!1?x(!0):null,children:[w&&e?.fileDownloadUrl!=null?t.jsx(Yt,{title:e.fileName,file:e,onCrossClick:()=>M(),setShowFullScreenView:x}):null,t.jsx(Nn,{children:t.jsx(Vt,{contentType:e.contentType})})]})},ti=({billDetails:e,billpayApprovalView:w,isBillPayCommentingEnabled:x,currentTenant:M,isInternationalPaymentShaVsOurEnabled:C,isLocalCurrencyEnabled:et,style:tt,analytics:$,isRecurringBillsFeatureEnabled:nt,isApprovalRequiredForMarkAsPaid:it,isDetectInsufficientFundsEnabled:at,billId:f,onClickEdit:ce,discardBillDetailsFromLocalStore:me,saveBillDetails:pe,discardOutsideZeniPaymentData:lt,updateBillDetailSaveBillCode:ue,redirectToBillsScreen:ye,onAttachmentClick:J,retryPayment:ot})=>{const s=vt(),m=Tt(),B={application:"dashboard",companyId:m.currentTenant?.companyId,tab:"bill",entityId:f},N=x&&f!=null,R=`dashboard_${m.currentTenant?.companyId}`,F=p.largeLabelWidth.value(s),E=e.saveStatus,Q=e.zeniAssistRetryStatus,ee=e.vendor?.vendorCurrencyCode,o=jt(C,et,e.billPayConfigList.filter(l=>l.method.includes(e.paymentDetailsSection?.withdrawFrom?.accType??"depositAccount")),e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,e.paymentDetailsSection?.paymentType,ee),D=Re.visual.MMMDCommaYYYYformat,he={amount:e.recipientTotalAmount.amount/(e.paymentDetailsSection?.conversionRate??1)*100/100,currencyCode:T.currencyCode,currencySymbol:T.currencySymbol},u={amount:o?.method.includes("international")===!0?Ct(he,o):e.recipientTotalAmount.amount+(o?.fee.amount??0),currencyCode:T.currencyCode,currencySymbol:T.currencySymbol},L={amount:o?.method.includes("international")===!0?Dt(he,o):o?.fee.amount??0,currencyCode:T.currencyCode,currencySymbol:T.currencySymbol},[rt,ge]=U.useState(!1),[st,xe]=U.useState(!1),fe=()=>ge(!1),dt=()=>{$.trackBillPayMagicLinkPreviewEmail("review_bill"),ge(!0)},ct=e.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${a.magicLink.collectFrom} ${e.toAccountVendorEmail}`,t.jsx(Pn,{size:s,children:t.jsx(kn,{})})]}):It(e.paymentDetailsSection?.paymentTo);U.useEffect(()=>{(E?.fetchState==="Completed"||Q?.fetchState==="Completed")&&(me(),ue(),ye())},[E,Q,ye,me,ue]);const v=e.billPayInfo?.stage,k=e.billPayInfo?.billStatus,Z=e.billPayInfo?.billPaymentStatus,mt=e.billPayInfo?.billPaymentRefundStatus,te=v?.code==="paid"?v:k?.code=="approved"&&Z?.code?Z:k,pt=e.billPayInfo?.isRefundInitiated===!0?mt:k?.code=="approved"&&Z?.code?Z:k,ne=()=>{ce()},be=()=>{ce()},H=e.paymentDetailsSection?.paymentDate,ie=le(o?.method??""),we=ie.replace("Same Day",""),ut=e.isCollectToAccountInfoFromVendorContact?t.jsx(kt,{paymentTypeLabel:we,onClick:dt}):a.addedByZeni,Y=w.allApprovalRules.length>0,yt=d.toAmount(o?.method!=null&&(o.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)||o?.fee.amount!=null&&o.fee.amount!==0)?u.amount-L.amount:u.amount,o?.fee.currencyCode??d.defaultVendorCurrency.currencyCode,o?.fee.currencySymbol??d.defaultVendorCurrency.currencySymbol),g=d.isPaymentMethodOutsideZeni(e.paymentDetailsSection?.paymentType?.method),ht=l=>{$.trackBillPayMarkAsPaidSubmit(l.paymentMode??"other",v?.code??"draft",te?.code??""),pe(!0,l)},$e=()=>{xe(!0),$.trackBillPayMarkAsPaid(v?.code??"draft",te?.code??"")},gt=()=>{lt(),xe(!1)},P=g&&(v?.code!=null?v.code==="draft"||k?.code==="approved":!0),b=P&&!it,ve=Oe(b,Y,e.isBillMarkedForRetry),xt=()=>g?b?void 0:a.paymentOutsideZeni.reviewInfo:o?.method!=null&&o.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)&&e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod!=null&&C&&ee===T.currencyCode?Ft(e.paymentDetailsSection.internationalTransferFeeBearerPaymentMethod):void 0,ae=at&&e.paymentDetailsSection!=null?Pt(u,e.paymentDetailsSection.withdrawFrom,e.paymentDetailsSection.paymentDate):void 0,ft=()=>{const l=e.paymentDetailsSection?.paymentDate,r=e.isCollectToAccountInfoFromVendorContact,I=e.recurringConfig,wt=e.recipientTotalAmount;if(e.isInvoiceDateAutoUpdated===!0&&$.trackBillPayAutoDateChange(f??"new_bill"),o?.method!=null&&l!=null){const $t=g?a.paymentOutsideZeni.offline:le(o.method);if($.trackBillPaySendForApproval($t,l.format(Re.analytics.MMMDashDDDashYYYYFormat),r,e.isRecurring,f,e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,{startDate:d.zeniDate(I?.startDate?.toString()??"").format(D),endDate:d.zeniDate(I?.endDate?.toString()??"").format(D),frequency:I?.frequency??"monthly",totalAmount:wt.amount,totalPaymentCycles:I?.totalPaymentCycles??0,isApprovalRequired:I?.isApprovalRequired??!1,updateCurrentBill:e.recurringConfig?.id!=null?I?.updateRecurringBills==="current":void 0,updateFutureRecurringBills:e.recurringConfig?.id!=null?I?.updateRecurringBills==="all":void 0}),ae!=null){const Se=v?.code??"draft",Ce=k?.code??"",De=e.isRecurring?["Recurring"]:["One-Time"],Ie=e.invoiceNumber??"",ke=Qt(m.loggedInUser),Pe=e.paymentDetailsSection?.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account";ve===a.scheduleBill?$.trackLowBalanceAccountSchedule(Se,Ce,De,Ie,ke,Pe):ve===a.sendForApproval&&$.trackLowBalanceAccountSentForApproval(Se,Ce,De,Ie,ke,Pe)}}},Te=()=>{je===!0&&V(!1),e.isBillMarkedForRetry===!0?(ot(),$.trackRetryConfirmClick(te?.code??"",v?.code??"",pt?.description??"",e.isRecurring?["Recurring"]:["One-Time"],e.invoiceNumber??"")):e.vendor!=null&&(ft(),pe(!1,{}))},bt=d.checkIfCreatorIsApprover(u.amount,w.allApprovalRules,m.loggedInUser),[je,V]=U.useState(!1);return t.jsxs(hn,{children:[st?t.jsx(en,{onCancel:gt,onProceedForMarkAsPaid:ht,saveDetailsFetchState:E?.fetchState,paymentData:e.outsideZeniPaymentInfo}):null,je?t.jsx(tn,{withdrawFrom:e.paymentDetailsSection?.withdrawFrom,paymentDate:e.paymentDetailsSection?.paymentDate,onOkClick:Te,onCancelClick:()=>{V(!1),ne()},onClickAway:()=>{V(!1)}}):null,t.jsx(At,{anchor:"right",open:rt,onClose:fe,transitionDuration:250,"data-testid":j("vendor-email-preview-drawer"),children:t.jsx(Mt,{companyName:Bt(M.company?.companyInfo),vendor:e.vendor?.name,paymentDate:H?.format(D)??"",paymentType:we,amount:A("0,0[.]00",u),isInvoiceAttached:!!e.file,onClose:fe})}),t.jsxs(gn,{windowSize:s,style:tt,children:[s==="small"?t.jsxs(In,{windowSize:s,children:[t.jsx(Ye,{onClick:be,"data-testid":j("review-detail-nav-bar-small-back")}),t.jsx(We,{windowSize:s,children:a.oneLastLook})]}):t.jsx(Dn,{"data-testid":j("review-details-nav-bar-back"),children:t.jsx(Ye,{onClick:be})}),s!=="small"?t.jsx(fn,{children:t.jsx(We,{windowSize:s,children:a.oneLastLook})}):null,e.duplicateBillTransactions.length>0?t.jsxs(bn,{children:[t.jsxs(wn,{children:[t.jsx(zn,{}),t.jsxs($n,{children:[t.jsx(Tn,{children:a.duplicateBillPayWarning}),t.jsxs(vn,{children:[a.duplicateBillPayWarningSubHeading,t.jsxs("span",{"data-testid":j("review-detail-attachment-button"),onClick:()=>J(e.duplicateBillTransactions[0].id,e.duplicateBillTransactions[0].billPayInfo.stage.code),style:{textDecoration:"underline",cursor:"pointer"},children:[a.viewBill,e.duplicateBillTransactions[0].documentId]})]})]})]}),t.jsxs(En,{children:[t.jsx(On,{children:a.duplicateInvoiceFound}),e.duplicateBillTransactions.map(l=>{const r=Nt(l);return l!=null?t.jsx(Ln,{children:Qe.includes(s)?t.jsxs(Ue,{windowSize:s,children:[t.jsxs(jn,{children:[t.jsxs(Sn,{children:[l.attachments&&l.attachments.length>0?t.jsx(Le,{attachment:l.attachments[0]}):t.jsx(Ve,{children:t.jsx(Ke,{})}),t.jsx(G,{children:t.jsxs(t.Fragment,{children:[l.documentId!=null?a.invoiceNo:null,l.documentId]})})]}),t.jsx(qe,{windowSize:s,children:A("0,0[.]00",l.recipientTotalAmount)})]}),t.jsxs(Rn,{"data-testid":j("review-detail-mobile-info"),onClick:()=>J(l.id,l.billPayInfo.stage.code),children:[t.jsxs(G,{children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(D)]}),t.jsx(Ge,{children:r!=null?Ae.includes(r.code)?t.jsx(Me,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})]}):t.jsxs(Ue,{windowSize:s,children:[l.attachments&&l.attachments.length>0?t.jsx(Le,{attachment:l.attachments[0]}):t.jsx(Ve,{children:t.jsx(Ke,{})}),t.jsxs(Fn,{"data-testid":j("review-detail-info"),onClick:()=>J(l.id,l.billPayInfo.stage.code),children:[t.jsx(G,{style:{width:"50%"},children:t.jsxs("div",{children:[l.documentId!=null?a.invoiceNo:null," ",l.documentId]})}),t.jsxs(G,{style:{width:"25%"},children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(D)]}),t.jsx(qe,{style:{width:"25%"},windowSize:s,children:A("0,0[.]00",l.amount)})]}),t.jsx(Ge,{children:r!=null?Ae.includes(r.code)?t.jsx(Me,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})},l.id):null})]})]}):null,t.jsxs(Cn,{children:[t.jsx(Ze,{children:a.pay}),t.jsx(He,{children:t.jsx(Be,{amount:yt,integerStyles:K.largeMedium.cssObject,decimalStyles:K.smallMedium.cssObject})}),t.jsx(Ze,{children:a.to}),t.jsx(He,{children:e.vendor?.name})]}),t.jsxs(xn,{children:[g?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"withdrawFrom"}),roomId:R,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("withdrawFrom")}`},children:t.jsx(W,{label:{label:a.withdrawFrom,width:F},style:{width:"auto"},value:e.paymentDetailsSection?.withdrawFrom!=null?Rt(e.paymentDetailsSection.withdrawFrom,s):h,infoLabelStyle:{textAlign:s==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(s),marginTop:p.infoLabelMarginTop.valuePx(s),color:S.brandColorGoldDark},additionalInfoLabel:ae})}),t.jsx(q,{})]}),t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"paymentType"}),roomId:R,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("paymentType")}`},children:t.jsx(W,{label:{label:a.paymentMethod,width:F},style:{width:"auto"},value:le(o?.method??""),additionalInfoLabel:xt()})}),t.jsx(q,{}),!g&&H!=null?t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"paymentDate"}),roomId:R,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("paymentDate")}`},children:t.jsx(W,{label:{label:a.paymentDate,width:F},style:{width:"auto"},value:H.format(D),additionalInfoLabel:`${a.estimatedArrival}${d.zeniDate(d.getNextNthWorkingDay(H.toDate(),[0,6],o?.maxPeriod.value??0).toDateString()).format(D)} - (${ie.length>0?`${ie} `:""}${a.deliveryTimeLabel} = ${o?.maxPeriod.value??"0"} ${a.deliveryTimeUnits})`})}),t.jsx(q,{})]}):null,g?null:t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"paymentTo"}),roomId:R,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("paymentTo")}`},children:t.jsx(W,{label:{label:a.paymentTo,width:F},style:{width:"auto"},value:ct??"",additionalInfoLabel:ut})}),g||nt?t.jsxs(t.Fragment,{children:[t.jsx(q,{}),t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"recurringPaymentType"}),roomId:R,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("recurringPaymentType")}`},children:t.jsx(W,{label:{label:a.paymentType,width:F},style:{width:"auto"},value:Lt(e.isRecurring,g,e.recurringBillInstance??1,e.recurringConfig?.totalPaymentCycles??0),additionalInfoLabel:Et(s,e.isRecurring,g,e.recurringConfig)})})]}):null]}),!g&&o?.method!=null&&(o.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)||o?.fee.amount!=null&&o.fee.amount!==0)?t.jsx(mn,{children:t.jsxs(pn,{windowSize:s,children:[t.jsxs(un,{children:[t.jsx(sn,{children:a.total}),t.jsx(Ne,{style:{padding:`12px ${n.sp3}`,lineHeight:"18px"},maxWidth:"312px",title:t.jsxs(cn,{children:[t.jsxs(_e,{children:[t.jsx(re,{children:o.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)&&ee!==T.currencyCode?Ee.conversionAmountColon:Fe.invoiceAmount}),t.jsx(oe,{children:A("0,0[.]00",{amount:u.amount-L.amount,currencySymbol:L.currencySymbol})})]}),t.jsxs(_e,{children:[t.jsx(re,{children:Ee.transactionFee}),t.jsx(oe,{children:A("0,0[.]00",{amount:L.amount,currencySymbol:L.currencySymbol})})]}),t.jsx(dn,{}),t.jsxs(rn,{children:[t.jsx(re,{children:Fe.total}),t.jsx(oe,{children:A("0,0[.]00",{amount:u.amount,currencyCode:u.currencyCode,currencySymbol:u.currencySymbol})})]})]}),placement:"top-end",children:t.jsx(on,{})})]}),t.jsx(yn,{children:t.jsx(Be,{amount:d.toAmount(u.amount,u.currencyCode,u.currencySymbol),integerStyles:K.h6Medium.cssObject,decimalStyles:K.standardMedium.cssObject})})]})}):null]}),t.jsx(Ot,{cancelBtn:{label:P&&!b?a.paymentOutsideZeni.markAsPaid:a.editBill,onClick:P&&!b?$e:ne,style:{width:ze(!1,P,b,Y,s)}},primaryBtn:{label:Oe(b,Y,e.isBillMarkedForRetry),isLoading:E?.fetchState==="In-Progress"||Q?.fetchState==="In-Progress",onClick:b?$e:()=>{bt&&ae!=null?V(!0):Te()},style:{width:ze(!0,P,b,Y,s)}},rightSideComponent:P&&!b&&E.fetchState!=="In-Progress"?t.jsx(_n,{windowSize:s,children:t.jsx(Ne,{style:{color:S.heroDark,padding:`2px ${n.sp2}`},display:"flex",title:an,placement:"top",children:t.jsx(Un,{onClick:ne,"data-testid":j("review-detail-edit-bill-button"),children:t.jsx(Wn,{})})})}):null,style:{minHeight:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)?127:62,...e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)&&{padding:n.sp3,rowGap:n.sp3}},children:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)?t.jsxs(An,{children:[a.internationalText1,t.jsx(Mn,{href:"https://www.nium.com/legal/end-customer-terms",target:"_Blank",rel:"noopener noreferrer",children:a.internationalTerms}),a.internationalText2]}):null})]})},Oe=(e,w,x)=>e?a.paymentOutsideZeni.markAsPaid:x===!0?a.retryPayment:w?a.sendForApproval:a.scheduleBill,ze=(e,w,x,M,C)=>x?128:w&&!e&&C==="small"?"auto":M?165:p.footerButtonWidth.value(C),on=i(Xt)`
|
|
1
|
+
import{X as vt,w as Tt,C as y,cB as jt,M as St,cC as Ct,cD as Dt,j as t,cE as It,cF as le,cG as kt,l as d,cH as Pt,cI as At,Y as j,cJ as Mt,_ as A,cK as Bt,cL as Nt,cM as Ae,cN as Me,cO as Be,q as K,cP as O,cQ as z,cR as _,g as S,cS as Rt,cT as Ft,cU as Et,cV as Lt,bu as Ne,o as n,a7 as Ot,p as c,b as zt,bq as _t,Q as Wt,h as Ut,cW as Zt,ah as Ht,s as se,f as de,cX as Yt,cY as Vt,cZ as Kt,k as qt,as as Gt,Z as Xe,b6 as Xt,v as Je,aN as Jt,c_ as Qt}from"./index-CjViJI82.js";import{b as U,n as i}from"./vendor-CnQcJ2Lu.js";import{t as en,o as tn}from"./LowBalancePopup-BQYkTR6v-BKR39KfH.js";import{S as W}from"./LabeledText-BUZXeSSr-TfY54fhJ.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const Qe=["small","medium-compact","medium-regular"],p={largeLabelWidth:new y(150,215,215),infoMinWidth:new y(0,0,0,142,142),infoMarginRight:new y(0,0,0,c[2],c[2]),footerButtonWidth:new y(120,165),iconContainerMarginTop:new y(6,c[1]),navBarContainerPaddingTop:new y(10,c[3]),sectionTitleMarginLeft:new y(c[3],c[0]),reviewContainerMarginLeft:new y(c[3],c[6]),reviewContainerMarginRight:new y(c[3],c[8]),footerRightIconMarginRight:new y(c[0],c[0],c[7]),infoLabelPaddingRight:new y(c[0],c[3]),infoLabelMarginTop:new y(c[1],c[0])},nn={sectionTitle:new Wt("h6Medium","h5Medium")},{dateFormat:Re,common:{currency:T,labels:Fe,edit:an,strings:{empty:h}},spendManagement:{billPay:ln}}=St.getLocalizedStrings(),{billDetails:a,paymentDetails:Ee}=ln,Le=({attachment:e})=>{const[w,x]=U.useState(!1),M=()=>{x(!1)},C=e.fileId?.length===0;return t.jsxs(Bn,{isDisabled:e.fileId?.length===0,"data-testid":j("attachment-tag",e.fileName),onClick:()=>C===!1?x(!0):null,children:[w&&e?.fileDownloadUrl!=null?t.jsx(Yt,{title:e.fileName,file:e,onCrossClick:()=>M(),setShowFullScreenView:x}):null,t.jsx(Nn,{children:t.jsx(Vt,{contentType:e.contentType})})]})},ti=({billDetails:e,billpayApprovalView:w,isBillPayCommentingEnabled:x,currentTenant:M,isInternationalPaymentShaVsOurEnabled:C,isLocalCurrencyEnabled:et,style:tt,analytics:$,isRecurringBillsFeatureEnabled:nt,isApprovalRequiredForMarkAsPaid:it,isDetectInsufficientFundsEnabled:at,billId:f,onClickEdit:ce,discardBillDetailsFromLocalStore:me,saveBillDetails:pe,discardOutsideZeniPaymentData:lt,updateBillDetailSaveBillCode:ue,redirectToBillsScreen:ye,onAttachmentClick:J,retryPayment:ot})=>{const s=vt(),m=Tt(),B={application:"dashboard",companyId:m.currentTenant?.companyId,tab:"bill",entityId:f},N=x&&f!=null,R=`dashboard_${m.currentTenant?.companyId}`,F=p.largeLabelWidth.value(s),E=e.saveStatus,Q=e.zeniAssistRetryStatus,ee=e.vendor?.vendorCurrencyCode,o=jt(C,et,e.billPayConfigList.filter(l=>l.method.includes(e.paymentDetailsSection?.withdrawFrom?.accType??"depositAccount")),e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,e.paymentDetailsSection?.paymentType,ee),D=Re.visual.MMMDCommaYYYYformat,he={amount:e.recipientTotalAmount.amount/(e.paymentDetailsSection?.conversionRate??1)*100/100,currencyCode:T.currencyCode,currencySymbol:T.currencySymbol},u={amount:o?.method.includes("international")===!0?Ct(he,o):e.recipientTotalAmount.amount+(o?.fee.amount??0),currencyCode:T.currencyCode,currencySymbol:T.currencySymbol},L={amount:o?.method.includes("international")===!0?Dt(he,o):o?.fee.amount??0,currencyCode:T.currencyCode,currencySymbol:T.currencySymbol},[rt,ge]=U.useState(!1),[st,xe]=U.useState(!1),fe=()=>ge(!1),dt=()=>{$.trackBillPayMagicLinkPreviewEmail("review_bill"),ge(!0)},ct=e.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${a.magicLink.collectFrom} ${e.toAccountVendorEmail}`,t.jsx(Pn,{size:s,children:t.jsx(kn,{})})]}):It(e.paymentDetailsSection?.paymentTo);U.useEffect(()=>{(E?.fetchState==="Completed"||Q?.fetchState==="Completed")&&(me(),ue(),ye())},[E,Q,ye,me,ue]);const v=e.billPayInfo?.stage,k=e.billPayInfo?.billStatus,Z=e.billPayInfo?.billPaymentStatus,mt=e.billPayInfo?.billPaymentRefundStatus,te=v?.code==="paid"?v:k?.code=="approved"&&Z?.code?Z:k,pt=e.billPayInfo?.isRefundInitiated===!0?mt:k?.code=="approved"&&Z?.code?Z:k,ne=()=>{ce()},be=()=>{ce()},H=e.paymentDetailsSection?.paymentDate,ie=le(o?.method??""),we=ie.replace("Same Day",""),ut=e.isCollectToAccountInfoFromVendorContact?t.jsx(kt,{paymentTypeLabel:we,onClick:dt}):a.addedByZeni,Y=w.allApprovalRules.length>0,yt=d.toAmount(o?.method!=null&&(o.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)||o?.fee.amount!=null&&o.fee.amount!==0)?u.amount-L.amount:u.amount,o?.fee.currencyCode??d.defaultVendorCurrency.currencyCode,o?.fee.currencySymbol??d.defaultVendorCurrency.currencySymbol),g=d.isPaymentMethodOutsideZeni(e.paymentDetailsSection?.paymentType?.method),ht=l=>{$.trackBillPayMarkAsPaidSubmit(l.paymentMode??"other",v?.code??"draft",te?.code??""),pe(!0,l)},$e=()=>{xe(!0),$.trackBillPayMarkAsPaid(v?.code??"draft",te?.code??"")},gt=()=>{lt(),xe(!1)},P=g&&(v?.code!=null?v.code==="draft"||k?.code==="approved":!0),b=P&&!it,ve=Oe(b,Y,e.isBillMarkedForRetry),xt=()=>g?b?void 0:a.paymentOutsideZeni.reviewInfo:o?.method!=null&&o.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)&&e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod!=null&&C&&ee===T.currencyCode?Ft(e.paymentDetailsSection.internationalTransferFeeBearerPaymentMethod):void 0,ae=at&&e.paymentDetailsSection!=null?Pt(u,e.paymentDetailsSection.withdrawFrom,e.paymentDetailsSection.paymentDate):void 0,ft=()=>{const l=e.paymentDetailsSection?.paymentDate,r=e.isCollectToAccountInfoFromVendorContact,I=e.recurringConfig,wt=e.recipientTotalAmount;if(e.isInvoiceDateAutoUpdated===!0&&$.trackBillPayAutoDateChange(f??"new_bill"),o?.method!=null&&l!=null){const $t=g?a.paymentOutsideZeni.offline:le(o.method);if($.trackBillPaySendForApproval($t,l.format(Re.analytics.MMMDashDDDashYYYYFormat),r,e.isRecurring,f,e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,{startDate:d.zeniDate(I?.startDate?.toString()??"").format(D),endDate:d.zeniDate(I?.endDate?.toString()??"").format(D),frequency:I?.frequency??"monthly",totalAmount:wt.amount,totalPaymentCycles:I?.totalPaymentCycles??0,isApprovalRequired:I?.isApprovalRequired??!1,updateCurrentBill:e.recurringConfig?.id!=null?I?.updateRecurringBills==="current":void 0,updateFutureRecurringBills:e.recurringConfig?.id!=null?I?.updateRecurringBills==="all":void 0}),ae!=null){const Se=v?.code??"draft",Ce=k?.code??"",De=e.isRecurring?["Recurring"]:["One-Time"],Ie=e.invoiceNumber??"",ke=Qt(m.loggedInUser),Pe=e.paymentDetailsSection?.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account";ve===a.scheduleBill?$.trackLowBalanceAccountSchedule(Se,Ce,De,Ie,ke,Pe):ve===a.sendForApproval&&$.trackLowBalanceAccountSentForApproval(Se,Ce,De,Ie,ke,Pe)}}},Te=()=>{je===!0&&V(!1),e.isBillMarkedForRetry===!0?(ot(),$.trackRetryConfirmClick(te?.code??"",v?.code??"",pt?.description??"",e.isRecurring?["Recurring"]:["One-Time"],e.invoiceNumber??"")):e.vendor!=null&&(ft(),pe(!1,{}))},bt=d.checkIfCreatorIsApprover(u.amount,w.allApprovalRules,m.loggedInUser),[je,V]=U.useState(!1);return t.jsxs(hn,{children:[st?t.jsx(en,{onCancel:gt,onProceedForMarkAsPaid:ht,saveDetailsFetchState:E?.fetchState,paymentData:e.outsideZeniPaymentInfo}):null,je?t.jsx(tn,{withdrawFrom:e.paymentDetailsSection?.withdrawFrom,paymentDate:e.paymentDetailsSection?.paymentDate,onOkClick:Te,onCancelClick:()=>{V(!1),ne()},onClickAway:()=>{V(!1)}}):null,t.jsx(At,{anchor:"right",open:rt,onClose:fe,transitionDuration:250,"data-testid":j("vendor-email-preview-drawer"),children:t.jsx(Mt,{companyName:Bt(M.company?.companyInfo),vendor:e.vendor?.name,paymentDate:H?.format(D)??"",paymentType:we,amount:A("0,0[.]00",u),isInvoiceAttached:!!e.file,onClose:fe})}),t.jsxs(gn,{windowSize:s,style:tt,children:[s==="small"?t.jsxs(In,{windowSize:s,children:[t.jsx(Ye,{onClick:be,"data-testid":j("review-detail-nav-bar-small-back")}),t.jsx(We,{windowSize:s,children:a.oneLastLook})]}):t.jsx(Dn,{"data-testid":j("review-details-nav-bar-back"),children:t.jsx(Ye,{onClick:be})}),s!=="small"?t.jsx(fn,{children:t.jsx(We,{windowSize:s,children:a.oneLastLook})}):null,e.duplicateBillTransactions.length>0?t.jsxs(bn,{children:[t.jsxs(wn,{children:[t.jsx(zn,{}),t.jsxs($n,{children:[t.jsx(Tn,{children:a.duplicateBillPayWarning}),t.jsxs(vn,{children:[a.duplicateBillPayWarningSubHeading,t.jsxs("span",{"data-testid":j("review-detail-attachment-button"),onClick:()=>J(e.duplicateBillTransactions[0].id,e.duplicateBillTransactions[0].billPayInfo.stage.code),style:{textDecoration:"underline",cursor:"pointer"},children:[a.viewBill,e.duplicateBillTransactions[0].documentId]})]})]})]}),t.jsxs(En,{children:[t.jsx(On,{children:a.duplicateInvoiceFound}),e.duplicateBillTransactions.map(l=>{const r=Nt(l);return l!=null?t.jsx(Ln,{children:Qe.includes(s)?t.jsxs(Ue,{windowSize:s,children:[t.jsxs(jn,{children:[t.jsxs(Sn,{children:[l.attachments&&l.attachments.length>0?t.jsx(Le,{attachment:l.attachments[0]}):t.jsx(Ve,{children:t.jsx(Ke,{})}),t.jsx(G,{children:t.jsxs(t.Fragment,{children:[l.documentId!=null?a.invoiceNo:null,l.documentId]})})]}),t.jsx(qe,{windowSize:s,children:A("0,0[.]00",l.recipientTotalAmount)})]}),t.jsxs(Rn,{"data-testid":j("review-detail-mobile-info"),onClick:()=>J(l.id,l.billPayInfo.stage.code),children:[t.jsxs(G,{children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(D)]}),t.jsx(Ge,{children:r!=null?Ae.includes(r.code)?t.jsx(Me,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})]}):t.jsxs(Ue,{windowSize:s,children:[l.attachments&&l.attachments.length>0?t.jsx(Le,{attachment:l.attachments[0]}):t.jsx(Ve,{children:t.jsx(Ke,{})}),t.jsxs(Fn,{"data-testid":j("review-detail-info"),onClick:()=>J(l.id,l.billPayInfo.stage.code),children:[t.jsx(G,{style:{width:"50%"},children:t.jsxs("div",{children:[l.documentId!=null?a.invoiceNo:null," ",l.documentId]})}),t.jsxs(G,{style:{width:"25%"},children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(D)]}),t.jsx(qe,{style:{width:"25%"},windowSize:s,children:A("0,0[.]00",l.amount)})]}),t.jsx(Ge,{children:r!=null?Ae.includes(r.code)?t.jsx(Me,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})},l.id):null})]})]}):null,t.jsxs(Cn,{children:[t.jsx(Ze,{children:a.pay}),t.jsx(He,{children:t.jsx(Be,{amount:yt,integerStyles:K.largeMedium.cssObject,decimalStyles:K.smallMedium.cssObject})}),t.jsx(Ze,{children:a.to}),t.jsx(He,{children:e.vendor?.name})]}),t.jsxs(xn,{children:[g?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"withdrawFrom"}),roomId:R,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("withdrawFrom")}`},children:t.jsx(W,{label:{label:a.withdrawFrom,width:F},style:{width:"auto"},value:e.paymentDetailsSection?.withdrawFrom!=null?Rt(e.paymentDetailsSection.withdrawFrom,s):h,infoLabelStyle:{textAlign:s==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(s),marginTop:p.infoLabelMarginTop.valuePx(s),color:S.brandColorGoldDark},additionalInfoLabel:ae})}),t.jsx(q,{})]}),t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"paymentType"}),roomId:R,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("paymentType")}`},children:t.jsx(W,{label:{label:a.paymentMethod,width:F},style:{width:"auto"},value:le(o?.method??""),additionalInfoLabel:xt()})}),t.jsx(q,{}),!g&&H!=null?t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"paymentDate"}),roomId:R,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("paymentDate")}`},children:t.jsx(W,{label:{label:a.paymentDate,width:F},style:{width:"auto"},value:H.format(D),additionalInfoLabel:`${a.estimatedArrival}${d.zeniDate(d.getNextNthWorkingDay(H.toDate(),[0,6],o?.maxPeriod.value??0).toDateString()).format(D)} - (${ie.length>0?`${ie} `:""}${a.deliveryTimeLabel} = ${o?.maxPeriod.value??"0"} ${a.deliveryTimeUnits})`})}),t.jsx(q,{})]}):null,g?null:t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"paymentTo"}),roomId:R,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("paymentTo")}`},children:t.jsx(W,{label:{label:a.paymentTo,width:F},style:{width:"auto"},value:ct??"",additionalInfoLabel:ut})}),g||nt?t.jsxs(t.Fragment,{children:[t.jsx(q,{}),t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"recurringPaymentType"}),roomId:R,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("recurringPaymentType")}`},children:t.jsx(W,{label:{label:a.paymentType,width:F},style:{width:"auto"},value:Lt(e.isRecurring,g,e.recurringBillInstance??1,e.recurringConfig?.totalPaymentCycles??0),additionalInfoLabel:Et(s,e.isRecurring,g,e.recurringConfig)})})]}):null]}),!g&&o?.method!=null&&(o.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)||o?.fee.amount!=null&&o.fee.amount!==0)?t.jsx(mn,{children:t.jsxs(pn,{windowSize:s,children:[t.jsxs(un,{children:[t.jsx(sn,{children:a.total}),t.jsx(Ne,{style:{padding:`12px ${n.sp3}`,lineHeight:"18px"},maxWidth:"312px",title:t.jsxs(cn,{children:[t.jsxs(_e,{children:[t.jsx(re,{children:o.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)&&ee!==T.currencyCode?Ee.conversionAmountColon:Fe.invoiceAmount}),t.jsx(oe,{children:A("0,0[.]00",{amount:u.amount-L.amount,currencySymbol:L.currencySymbol})})]}),t.jsxs(_e,{children:[t.jsx(re,{children:Ee.transactionFee}),t.jsx(oe,{children:A("0,0[.]00",{amount:L.amount,currencySymbol:L.currencySymbol})})]}),t.jsx(dn,{}),t.jsxs(rn,{children:[t.jsx(re,{children:Fe.total}),t.jsx(oe,{children:A("0,0[.]00",{amount:u.amount,currencyCode:u.currencyCode,currencySymbol:u.currencySymbol})})]})]}),placement:"top-end",children:t.jsx(on,{})})]}),t.jsx(yn,{children:t.jsx(Be,{amount:d.toAmount(u.amount,u.currencyCode,u.currencySymbol),integerStyles:K.h6Medium.cssObject,decimalStyles:K.standardMedium.cssObject})})]})}):null]}),t.jsx(Ot,{cancelBtn:{label:P&&!b?a.paymentOutsideZeni.markAsPaid:a.editBill,onClick:P&&!b?$e:ne,style:{width:ze(!1,P,b,Y,s)}},primaryBtn:{label:Oe(b,Y,e.isBillMarkedForRetry),isLoading:E?.fetchState==="In-Progress"||Q?.fetchState==="In-Progress",onClick:b?$e:()=>{bt&&ae!=null?V(!0):Te()},style:{width:ze(!0,P,b,Y,s)}},rightSideComponent:P&&!b&&E.fetchState!=="In-Progress"?t.jsx(_n,{windowSize:s,children:t.jsx(Ne,{style:{color:S.heroDark,padding:`2px ${n.sp2}`},display:"flex",title:an,placement:"top",children:t.jsx(Un,{onClick:ne,"data-testid":j("review-detail-edit-bill-button"),children:t.jsx(Wn,{})})})}):null,style:{minHeight:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)?127:62,...e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)&&{padding:n.sp3,rowGap:n.sp3}},children:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)?t.jsxs(An,{children:[a.internationalText1,t.jsx(Mn,{href:"https://www.nium.com/legal/end-customer-terms",target:"_Blank",rel:"noopener noreferrer",children:a.internationalTerms}),a.internationalText2]}):null})]})},Oe=(e,w,x)=>e?a.paymentOutsideZeni.markAsPaid:x===!0?a.retryPayment:w?a.sendForApproval:a.scheduleBill,ze=(e,w,x,M,C)=>x?128:w&&!e&&C==="small"?"auto":M?165:p.footerButtonWidth.value(C),on=i(Xt)`
|
|
2
2
|
width: ${n.sp3};
|
|
3
3
|
height: ${n.sp3};
|
|
4
4
|
color: ${e=>e.theme.colors.hero};
|
package/dist/assets/{ReviewOverlay-CmbxFXT5-Bn6N1v3T.js → ReviewOverlay-CmbxFXT5-DAX6Vi5G.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as B,j as e,Y as m,o as r,a7 as C,C as d,a6 as L,Q as M,h as W,g as s,s as $,b$ as R,d as I,v as j,hF as D,p as n,ef as G,ee as A,jm as F,jn as J}from"./index-
|
|
1
|
+
import{X as B,j as e,Y as m,o as r,a7 as C,C as d,a6 as L,Q as M,h as W,g as s,s as $,b$ as R,d as I,v as j,hF as D,p as n,ef as G,ee as A,jm as F,jn as J}from"./index-CjViJI82.js";import{n as t}from"./vendor-CnQcJ2Lu.js";const a={containerMarginTop:new d(0,n[2]),containerMarginLeft:new d(n[3],n[8]),containerMarginRight:new d(n[3],n[8]),subTitleMarginBottom:new d(n[2],n[2]),titleMarginBotom:new d(n[0],n[2]),titleMarginRight:new d(n[0],n[3]),navBarHeight:new d(62,62,62),navBarPaddingLeft:new d(n[3],n[3],n[8]),navBarPaddingRight:new d(n[3],n[3],n[8])},Q={title:new M("h6Regular","h5Regular")},mi=({title:i,description:p,reviewItems:S,showFooter:b,footerProps:{primaryButton:z,cancelButton:T,hideCancel:E},onCloseOverlay:k,onCloseReviewItem:P})=>{const l=B();return e.jsxs(H,{children:[e.jsx(V,{windowSize:l,children:e.jsx(Z,{children:e.jsx(_,{windowSize:l,children:e.jsx(ii,{children:e.jsx(ei,{onClick:k,"data-testid":m("review-overlay-close",i)})})})})}),e.jsxs(K,{windowSize:l,children:[e.jsxs(O,{windowSize:l,children:[e.jsx(Y,{children:e.jsx(q,{windowSize:l,children:i})}),e.jsx(N,{isError:p.isError,windowSize:l,children:p.content})]}),e.jsx(U,{windowSize:l,children:S.map(o=>{const h=o.reviewStatus.code==="error",c=o.reviewStatus.code==="warning"||o.reviewStatus.code==="low-balance";return e.jsxs(ri,{isLoading:!1,isActive:!0,isWarning:c,isError:h,children:[c?e.jsx(ci,{onClick:()=>P(o.id),"data-testid":m("review-close",o.id)}):null,e.jsxs(ti,{children:[e.jsxs(ni,{children:[e.jsx(di,{children:X(o)}),e.jsxs(oi,{children:[e.jsxs(x,{children:[e.jsx(u,{style:{marginLeft:r.sp2},isWarning:c,isError:h,children:o.leftSideText.title}),e.jsx(u,{isWarning:c,isError:h,children:o.rightSideText.title})]}),e.jsxs(x,{children:[e.jsx(si,{style:{marginLeft:r.sp2},children:o.leftSideText.subTitle}),l!=="small"?e.jsxs(w,{windowSize:l,children:[e.jsx(g,{isError:h,isWarning:c,children:e.jsxs(e.Fragment,{children:[o.rightSideText.showThunderIcon===!0?e.jsx(f,{children:e.jsx(y,{})}):null,o.rightSideText.subTitle]})}),e.jsx(g,{isWarning:!0,isError:!1,children:o.rightSideText.additonalInfo})]}):null]})]})]}),l==="small"?e.jsxs(w,{windowSize:l,children:[e.jsx(g,{style:{marginLeft:r.sp5,marginTop:r.sp0},isError:h,isWarning:c,children:e.jsxs(e.Fragment,{children:[o.rightSideText.showThunderIcon===!0?e.jsx(f,{children:e.jsx(y,{})}):null,o.rightSideText.subTitle]})}),e.jsx(g,{style:{marginLeft:r.sp5,marginTop:r.sp0},isWarning:c,isError:h,children:o.rightSideText.additonalInfo})]}):null]})]},o.id)})})]}),b?e.jsx(C,{primaryBtn:z,cancelBtn:T,showCancel:!E}):null]})},X=i=>i.reviewStatus.isLoading?e.jsx(I,{size:"Small",style:{display:"flex",width:r.sp4,height:r.sp4,alignItems:"center",justifyContent:"center"},start:!0}):i.reviewStatus.code==="error"?e.jsx(v,{isError:!0}):i.reviewStatus.code==="warning"?e.jsx(v,{isError:!1}):i.reviewStatus.code==="valid"?e.jsx(li,{}):i.reviewStatus.code==="low-balance"?e.jsx(hi,{}):e.jsx(ai,{}),H=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${i=>i.theme.colors.grey4};
|
package/dist/assets/{RoleWithToolTip-D25NUL6y-DukVAPbK.js → RoleWithToolTip-D25NUL6y-tf-yHmuW.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{eL as h,eM as x,j as t,bu as m,o as i,Y as o,M as g,n as j,v as p}from"./index-
|
|
1
|
+
import{eL as h,eM as x,j as t,bu as m,o as i,Y as o,M as g,n as j,v as p}from"./index-CjViJI82.js";import{n as s}from"./vendor-CnQcJ2Lu.js";const{hyphen:a}=g.getLocalizedStrings().common.strings,y=s.div``,f=s.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-width: 192px;
|
|
4
4
|
justify-content: space-between;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a5 as H,l as me,hO as ee,g6 as fe,ev as we,hP as Je,a as Me,hQ as Ve,c3 as _e,c4 as Pe,j as a,M as be,F as Fe,bN as Ne,bP as qe,bQ as Re,a7 as $e,hR as Be,hS as Ue,T as he,hT as Se,hU as We,cg as ze,X as Xe,i6 as He,gb as re,p as $,g as De,C as Ce,c6 as Ge,hV as Ke,hW as Ye,hX as Qe,o as _}from"./index-
|
|
1
|
+
import{a5 as H,l as me,hO as ee,g6 as fe,ev as we,hP as Je,a as Me,hQ as Ve,c3 as _e,c4 as Pe,j as a,M as be,F as Fe,bN as Ne,bP as qe,bQ as Re,a7 as $e,hR as Be,hS as Ue,T as he,hT as Se,hU as We,cg as ze,X as Xe,i6 as He,gb as re,p as $,g as De,C as Ce,c6 as Ge,hV as Ke,hW as Ye,hX as Qe,o as _}from"./index-CjViJI82.js";import{b as m,n as U}from"./vendor-CnQcJ2Lu.js";import{i as Ze,r as et,n as tt,o as lt}from"./ScheduleSequenceTable-Bzz4WFsb-BwftU03v.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const B={labelWidth:new Ce(160,160,160),depCategoryLabelWidth:new Ce(200,280,280)},at=U.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a5 as _,l as ie,hO as Q,g6 as Ae,ev as Je,hP as Ie,a as Le,hQ as we,c3 as Me,c4 as Ve,j as a,M as De,F as Pe,bN as Fe,bP as _e,bQ as $e,a7 as Ne,hR as ze,hS as Be,T as re,hT as pe,hU as Ue,cg as Re,X as We,gb as me,p as Y,g as qe,C as He,hV as Ke,hW as Xe,hX as Ge,o as L}from"./index-
|
|
1
|
+
import{a5 as _,l as ie,hO as Q,g6 as Ae,ev as Je,hP as Ie,a as Le,hQ as we,c3 as Me,c4 as Ve,j as a,M as De,F as Pe,bN as Fe,bP as _e,bQ as $e,a7 as Ne,hR as ze,hS as Be,T as re,hT as pe,hU as Ue,cg as Re,X as We,gb as me,p as Y,g as qe,C as He,hV as Ke,hW as Xe,hX as Ge,o as L}from"./index-CjViJI82.js";import{b as D,n as P}from"./vendor-CnQcJ2Lu.js";import{i as Qe,r as Ye,n as Ze,o as et}from"./ScheduleSequenceTable-Bzz4WFsb-BwftU03v.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const B={labelWidth:new He(160,160,160)},tt=P.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|