@zeniai/web-cockpit-ui 1.14.86-dev → 1.14.87-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{ACHDetailsPage-D19fvbL2-VL8NJ-kq.js → ACHDetailsPage-D19fvbL2-Nw4N_V4a.js} +1 -1
- package/dist/assets/{AIPerformancePage-DW0vgs3w-C6_Vooze.js → AIPerformancePage-DW0vgs3w-Cvbkmctn.js} +1 -1
- package/dist/assets/{AccountInfoPage-B0HnACVZ-BYAvhrGX.js → AccountInfoPage-B0HnACVZ-BdReVK8p.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-B9DHX_ra-CAQ0-0rF.js → AccountInfoPageContent-B9DHX_ra-BD9WGFMy.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-CM1F6VNU-uV9YAvP-.js → AccountLockedInfoModal-CM1F6VNU-CXgrsuj9.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-BbtaXRQT-1akSazct.js → AccountReconDetailsDrawerPage-BbtaXRQT-B0yoE2FM.js} +1 -1
- package/dist/assets/{AccountRow-DqB8rPL2-DMH55Auf.js → AccountRow-DqB8rPL2-DSdMIZil.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-G9g_ND9B-Dez_UUBg.js → AccountsPromoCardStack-G9g_ND9B-nArHxnW3.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-UCJdFwxu-eWHSyVQO.js → AddAddressForCardDrawer-UCJdFwxu-BxAkwbp-.js} +1 -1
- package/dist/assets/{AddToWalletPage-B-mvkRWQ-Bjrc9a7q.js → AddToWalletPage-B-mvkRWQ-wdcGJtvr.js} +1 -1
- package/dist/assets/{AgingReportsPage-dKUkHiCt-MJrPMLqB.js → AgingReportsPage-dKUkHiCt-Drwm6gZ0.js} +1 -1
- package/dist/assets/{AllUserItems-CQki1qcr-3QgEUFAR.js → AllUserItems-CQki1qcr-C9ZF7dsP.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-nMjsbSmM-sMJduNX0.js → ApAgingDetailPage-nMjsbSmM-4mZQ-QH4.js} +1 -1
- package/dist/assets/{AppBasePage-BYj0h9gw-DH3gxAi6.js → AppBasePage-BYj0h9gw-RBODTxYN.js} +1 -1
- package/dist/assets/{AppDrawerContent-C21qZewJ-DTIYgSer.js → AppDrawerContent-C21qZewJ-CJE82F-H.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-B84m25GW-BJTY9z1f.js → ApprovalRulesSettingsPage-B84m25GW-dmvjc61i.js} +1 -1
- package/dist/assets/{ArAgingChart-CLxB28eR-BnMhdr3Y.js → ArAgingChart-CLxB28eR-B3OzPEVf.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-C5yzbIB3-Bp9yrmKW.js → ArAgingDetailPage-C5yzbIB3-CxbaLt0G.js} +1 -1
- package/dist/assets/{AttachmentView-_qAuq3Am-BnxUEqyT.js → AttachmentView-_qAuq3Am-B8SsX2_q.js} +1 -1
- package/dist/assets/{BankAccountSection-B0pfiSf6-O4kzmOgz.js → BankAccountSection-B0pfiSf6-pyGhdVOc.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-Xo-Jy-73-T0cW8wCf.js → BankAccountWarningSection-Xo-Jy-73-BKVAY9Gy.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-o5oe0ctd-TAnMk9ub.js → BankConnectionsSettingsPage-o5oe0ctd-zwjkokjN.js} +1 -1
- package/dist/assets/{BillDetailPage-CtThP7Y9-BH87PynZ.js → BillDetailPage-CtThP7Y9-CzT4w13j.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-BQjmqKng-BWOGnJdV.js → BillPayApprovalRuleDetailPage-BQjmqKng-DUCtaIAL.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-BxCNEom7-DfFQvu-E.js → BillPayApprovalRulesPage-BxCNEom7-LrIL375-.js} +1 -1
- package/dist/assets/{BillPayPromoPage-BElTLopb-CAmSiy-a.js → BillPayPromoPage-BElTLopb-wcKRK3D7.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-BG8feTVd-B3AfPKbT.js → BillPaySetUpPage-BG8feTVd-BxKp0jFH.js} +1 -1
- package/dist/assets/{BillingSettingsPage-07P7VjDH-Bis-h9qV.js → BillingSettingsPage-07P7VjDH-CTh_SdBx.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-D7EPuth4-BF7T7k1A.js → BillsBulkReviewDrawerPage-D7EPuth4-Di0BtoyW.js} +1 -1
- package/dist/assets/{BoxItem-CzX5kr9f-DmbC9ChW.js → BoxItem-CzX5kr9f-CBeyb6bQ.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-WSJeMnHc-Ch5Q9ZfO.js → BusinessVerificationPage-WSJeMnHc-B8D63TPA.js} +1 -1
- package/dist/assets/{CardNumberSubText-D76dl24E-DsXfCbtD.js → CardNumberSubText-D76dl24E-Cl4Fre0m.js} +1 -1
- package/dist/assets/{CashbackDetailPage-CNxA7NQY-BORja6Sy.js → CashbackDetailPage-CNxA7NQY-BdpWUgh1.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-K4gUpiwZ-oVIalvp6.js → ChargeCardDetailPage-K4gUpiwZ-CVpR_c-9.js} +1 -1
- package/dist/assets/{ChargeCardListPage-CyTEY_8V-D5xc0H9_.js → ChargeCardListPage-CyTEY_8V-C7UQ45e6.js} +1 -1
- package/dist/assets/{ChargeCardListTable-BFyvNTeY-CrvrIm4A.js → ChargeCardListTable-BFyvNTeY-BI7o5RKE.js} +1 -1
- package/dist/assets/{ChargeCardPromoPage-C9z3yHL2-Cv7CLbK8.js → ChargeCardPromoPage-C9z3yHL2-5_msiZpN.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-DO8JYrZP-Be5rOG2G.js → ChargeCardSetupPage-DO8JYrZP-CKNFtmqm.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-BOikTcKC-Ci4t0A-V.js → ChargeCardStatementsPage-BOikTcKC-DgMYDr1k.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-DH3MI8HN-Byook4Qr.js → CheckDepositDrawerPage-DH3MI8HN-CAeh06wL.js} +1 -1
- package/dist/assets/{CollapsableReportTable-B2M1S7L1-GNwZ9Yr0.js → CollapsableReportTable-B2M1S7L1-CWsF8pJQ.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-BqY-k8Ic-8Eb1Nitm.js → CompanyOfficerDetailsSection-BqY-k8Ic-DDKovYNL.js} +1 -1
- package/dist/assets/{CompanyPassportCard-BR60dER0-Be42E5vE.js → CompanyPassportCard-BR60dER0-CdbMk43t.js} +1 -1
- package/dist/assets/{CompanyPassportPage-Bmd04hik-w4MNYTWb.js → CompanyPassportPage-Bmd04hik-Fd7LGxH9.js} +1 -1
- package/dist/assets/{CompleteProfile-UULN8u-c-Nz3OPAez.js → CompleteProfile-UULN8u-c-DafD8LGR.js} +1 -1
- package/dist/assets/{ConfettiBurst-CozTW5Rn-DUmnW6Fi.js → ConfettiBurst-CozTW5Rn-C6lgbNW4.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-D78xf5_Y-3D_82WJ6.js → CreateOrEditVendorPage-D78xf5_Y-CZrUuutJ.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-CuqD_nKw-g7BqmzM_.js → CreditCardPaymentDrawerPage-CuqD_nKw-Bj3gMO6p.js} +1 -1
- package/dist/assets/{CurrencySelectField-DWAO-FaV-BQ_smuTJ.js → CurrencySelectField-DWAO-FaV-BzEL-P2E.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-Cib3Mx_T-3TdNMDtd.js → CustomerOnboardingActivationPage-Cib3Mx_T-DHCGstkQ.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-J1gLDhpW-tYNehuBS.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-XJtMtsSn-G5iSRNCP.js → CustomerOnboardingDetailPageSkeleton-XJtMtsSn-moBZCDPy.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-B_0Hrx2F-De_1mXnl.js → CustomerOnboardingNoStepsPage-B_0Hrx2F-B_4ufL2R.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-aBkvsh1l-a_pe8FXy.js → CustomerOnboardingPage-aBkvsh1l-DvQnX9Yt.js} +1 -1
- package/dist/assets/{CustomerOnboardingProductSuitePage-BpF-YMGr-JescUxrV.js → CustomerOnboardingProductSuitePage-BpF-YMGr-C8Y5m3sW.js} +1 -1
- package/dist/assets/{Dashboard-PoZO9l3--BkoCWSoN.js → Dashboard-PoZO9l3--CY8U34o8.js} +1 -1
- package/dist/assets/{DashboardReportPage--m1KiT3x-BjIDve_e.js → DashboardReportPage--m1KiT3x-8YRE1Ztt.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-bBmcRJEU-px5rpiHu.js → DashboardSidebarBackgroundAnimation-bBmcRJEU-BS2D7Ajw.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-tRzKuflq-C-iuFnHA.js → DepositAccTransactionItem-tRzKuflq-BOyBlY2D.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-AwxQHNLD-D7z2ldjE.js → DepositAccTransactionListPage-AwxQHNLD-DT4vx3VD.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-CuE-QHLh-D9iyNNyJ.js → DomesticWireDetailsPage-CuE-QHLh-DhovX18v.js} +1 -1
- package/dist/assets/{DownloadOverlay-ebdpHSki-CAJMStLG.js → DownloadOverlay-ebdpHSki-CdxuJ1ov.js} +1 -1
- package/dist/assets/{DrawerPage-DHT0UTT4-BKWp_-5X.js → DrawerPage-DHT0UTT4-DP0MEZql.js} +1 -1
- package/dist/assets/{EditPeoplePage-Ds7odnkL-DQ_yMItj.js → EditPeoplePage-Ds7odnkL-BZO1lzZV.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-B6EHHEhj-CgRC_7_f.js → EditReimbursementDetailPage-B6EHHEhj-F6nlK139.js} +1 -1
- package/dist/assets/{EntityDetailPage-sR_MHnxH-B_60XVgg.js → EntityDetailPage-sR_MHnxH-CZIqN1zk.js} +1 -1
- package/dist/assets/{EntitySummarySection-BLwfMK6_-BUmiKyK6.js → EntitySummarySection-BLwfMK6_-pLiyg_OO.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-BqFR2yic-D3h9oKID.js → ExpenseAutomationOverviewPage-BqFR2yic-CXYJbyzt.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-C7IKGki--C5JsAebS.js → ExpenseAutomationPage-C7IKGki--CUaLySH4.js} +1 -1
- package/dist/assets/{ExpressPayPage-C6UtAiIN-B0dyZC98.js → ExpressPayPage-C6UtAiIN-DOnqT-eK.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-C_b5hdtk-CZWyI6y7.js → FeaturePreviewPage-C_b5hdtk-Bejn7JUy.js} +1 -1
- package/dist/assets/{FollowStepsSection-dgWK-_PA-svnQ0XjA.js → FollowStepsSection-dgWK-_PA-B5HqzRFh.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-Bs7BRxg_-Djvi_sGb.js → GlobalReviewListPage-Bs7BRxg_-D4VtJ-E6.js} +1 -1
- package/dist/assets/{InformationCardStack-Def3TczI-CtsF9-Af.js → InformationCardStack-Def3TczI-Bmyvq2WV.js} +1 -1
- package/dist/assets/{InsightsCardStack-CDejyDrL-DdaZf1PW.js → InsightsCardStack-CDejyDrL-fUJ7P-Z2.js} +1 -1
- package/dist/assets/{InsightsSection-DeLBGRXz-D7U82zkc.js → InsightsSection-DeLBGRXz-pKozJhA9.js} +1 -1
- package/dist/assets/{IntegrationsSettingsPage-Vd7CM5dW-BoMhl7AH.js → IntegrationsSettingsPage-Vd7CM5dW-DsvJ78rZ.js} +1 -1
- package/dist/assets/{InternationalWireSwiftDetailsPage-CPIzRzqS-CYAovypm.js → InternationalWireSwiftDetailsPage-CPIzRzqS-DNVQTBV5.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-Cc3OKrpr-Ltx5z6FE.js → InternationalWireVerificationPage-Cc3OKrpr-DJuPlryB.js} +1 -1
- package/dist/assets/{InviteFormPage-hXbvSboB-DFFPTBo7.js → InviteFormPage-hXbvSboB-CQtbKPIo.js} +1 -1
- package/dist/assets/{InvitePageListView-xv6f7OYE-CR8JCyaU.js → InvitePageListView-xv6f7OYE-CD197FBj.js} +1 -1
- package/dist/assets/{InvitePeoplePage-Bns8mbbj-CkqSudgd.js → InvitePeoplePage-Bns8mbbj-C9KsD3lb.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-wKWbAAeR-jqYSJVVo.js → InvoiceUploadSection-wKWbAAeR-BJp8u9pj.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-BbCULpNx-DK86WyIA.js → IssueChargeCardPage-BbCULpNx-DhrcaXLX.js} +1 -1
- package/dist/assets/{LabeledAddressValue-CYPuDjMF-C1O2b_Nw.js → LabeledAddressValue-CYPuDjMF-Dd27uqQ5.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-C4ft1l-K-7MDSOtQe.js → LabeledAddressValueField-C4ft1l-K-DNHZaLGB.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-DHrJB0QL-9tQ_56XZ.js → LabeledControlledCheckBoxField-DHrJB0QL-B0YD48MC.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-BeelRB2Y-BOJ6jVYt.js → LabeledCreatableSingleSelectField-BeelRB2Y-D4M6iZeW.js} +1 -1
- package/dist/assets/{LabeledDocumentField-CgMzc8wC-CqZpxSl3.js → LabeledDocumentField-CgMzc8wC-YFPbjVX8.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-DcO2nEfi-CXdSabKs.js → LabeledDropDownFormattedTextField-DcO2nEfi-DM5myIka.js} +1 -1
- package/dist/assets/{LabeledText-BNDM-899-06P8MShM.js → LabeledText-BNDM-899-daU3GCMx.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-TSpiqQUi-DMkK1ZiA.js → LabeledUserSingleSelectWithSubtitlesField-TSpiqQUi-DSsHMeHJ.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-C5I9rtgW-CfSrTjkf.js → LabeledZeniRolesDropDownField-C5I9rtgW-BhY76mIM.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-BWrpuWUo-DjNgjNiu.js → LinkJETransactionPage-BWrpuWUo-X4BCOyYT.js} +1 -1
- package/dist/assets/{LockCardPage-Ddf8_2ti-BAZKWkzC.js → LockCardPage-Ddf8_2ti-CvnRTLQJ.js} +1 -1
- package/dist/assets/{LowBalancePopup-BMSJwe7h-DMWskG_J.js → LowBalancePopup-BMSJwe7h-7plN5AfY.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-CRYqb_qO-Cd15sHqn.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-CE12GLds-CuqaunIs.js +1 -0
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-DO4DIUrG-CyLC4QH5.js → MagicLinkInternationalWireDetailsPage-DO4DIUrG-Bq55ctHD.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-fsnKXDBD-BI-yrZDm.js → MagicLinkSuccessPage-fsnKXDBD-3jkAj9R_.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-DQw4cqq_-CJjXRAcR.js → MagicLinkTitleSection-DQw4cqq_-DWQssSET.js} +1 -1
- package/dist/assets/{MailingDetailsSection-CAV69_Sr-6m02PjwU.js → MailingDetailsSection-CAV69_Sr-CoQQ8Miy.js} +1 -1
- package/dist/assets/{Menu-B_DpiT_k-BMeDRM7Z.js → Menu-B_DpiT_k-v_1bzHTG.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-CM2Faxmi-lumvcw7O.js → MyBankConnectionsSettingsPage-CM2Faxmi-Dlc9feeS.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-BV2N6fOb-Dexi8pC1.js → MyPendingActivationChargeCardListPage-BV2N6fOb-BYE6JKi2.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-BjGB1P4t-3z2NkQ-z.js → MyProfileSettingsPage-BjGB1P4t-DWc0LROj.js} +1 -1
- package/dist/assets/{NavBarWithPicker-CrDC7aPk-hy6Ta87y.js → NavBarWithPicker-CrDC7aPk-CvlWieMX.js} +1 -1
- package/dist/assets/{NavigationArrow-AIYiZbYj-BSdYWMyZ.js → NavigationArrow-AIYiZbYj-CU7-UATo.js} +1 -1
- package/dist/assets/{NavigationDots-CVjs5Sdt-DMRFcVAa.js → NavigationDots-CVjs5Sdt-CzB8BvJ3.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-Bx1M-Dpk-BzZ5CoAZ.js → NewGlobalMerchantPage-Bx1M-Dpk-Eoea5WTt.js} +1 -1
- package/dist/assets/{NoDataChart-B_yk9del-aAXFhE-W.js → NoDataChart-B_yk9del-Df_dYNrK.js} +1 -1
- package/dist/assets/{NoDataTable-DRJW6ofl-CrLqSM4Y.js → NoDataTable-DRJW6ofl-CqR6Xtik.js} +1 -1
- package/dist/assets/{NotFoundPage-C6X8pmKB-BcL_ll7R.js → NotFoundPage-C6X8pmKB-BUqC5n1D.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-CsaIk9hI-Csi-Ty8T.js → NotificationSettingsPage-CsaIk9hI-BDUbU-ad.js} +1 -1
- package/dist/assets/{NotificationsListConfig-B8ldcs-T-CNK_cS8g.js → NotificationsListConfig-B8ldcs-T-CGHm0a9I.js} +1 -1
- package/dist/assets/{NotificationsPage-Cv2LlPX0-CmUTnAF-.js → NotificationsPage-Cv2LlPX0-CadIDhjX.js} +1 -1
- package/dist/assets/{OpExByVendorPage-cVCb-lRK-RYTt83vZ.js → OpExByVendorPage-cVCb-lRK-PniEV8rm.js} +1 -1
- package/dist/assets/{OverlayContainerPage-CrZuT2Jj-C5x5xRTB.js → OverlayContainerPage-CrZuT2Jj-CmnZhEXs.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-CG5AGAFM-CGhF4vnJ.js → PandLWithForecastPage-CG5AGAFM-BSuPOI06.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-DFeVoMTQ-D8Ukqs-R.js → PaymentAccountSetupBillingAddressSection-DFeVoMTQ-B9vYXUOO.js} +1 -1
- package/dist/assets/{PeoplePage-vwcbvzlP-BQDq8Jw1.js → PeoplePage-vwcbvzlP-tCPgdCEP.js} +1 -1
- package/dist/assets/{ProductsCarousel-C2h9pwDb-BpWEeT8d.js → ProductsCarousel-C2h9pwDb-CILUAj-9.js} +1 -1
- package/dist/assets/{PromoBaseCards-nxua6geT-CBPEj2Gj.js → PromoBaseCards-nxua6geT-DhAwe8nA.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-BRU6xjQi-BroPp__0.js → QBOConnectionDialog-BRU6xjQi-B28W5kbl.js} +1 -1
- package/dist/assets/{QBOSetupSection-CvWw_-bE-K3hTN7GD.js → QBOSetupSection-CvWw_-bE-BIUwJeyC.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CDAPt76T-Ofm0uQSq.js → ReimbursementApprovalRuleDetailPage-CDAPt76T-KwAUYxyS.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-CT8KUn9L-djHWb-BD.js → ReimbursementApprovalRulesPage-CT8KUn9L-CAmVTE3P.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-BlWqdoKk-gscL22YP.js → ReimbursementDetailPage-BlWqdoKk-Cl54Z7I1.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-C12vL_aT-DOELTnax.js → ReimbursementPromoPage-C12vL_aT-BS-lUPoU.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-aeXyHOzw-BBXoRN7W.js → ReimbursementSetUpPage-aeXyHOzw-BGdljrmI.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BZn17ZAb-CSzjLPpM.js → ReimbursementsBulkReviewDrawerPage-BZn17ZAb-LlhOrvSC.js} +1 -1
- package/dist/assets/{ReloadCard-BVcEjrcM-DkDyCZdX.js → ReloadCard-BVcEjrcM-r8QzZudO.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-DlD_ISoP-DYJZDLbh.js → ReportTableViewSelector-DlD_ISoP-D9TWtYOs.js} +1 -1
- package/dist/assets/{ReportsPage-CqXr-QZi-GDB_EeKY.js → ReportsPage-CqXr-QZi-CBL8grQK.js} +1 -1
- package/dist/assets/{RevenueChart-B1KEseXB-iHNdhoBa.js → RevenueChart-B1KEseXB-nTK5jwUf.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-CYhNq-J0-Cy2NshNy.js → ReviewDetailsPage-CYhNq-J0-lRUNkeh5.js} +1 -1
- package/dist/assets/{ReviewOverlay-DkL6mTyl-BFHL0-xi.js → ReviewOverlay-DkL6mTyl-BWp95RsJ.js} +1 -1
- package/dist/assets/{RoleWithToolTip-DRSravXg-BxOW9LcQ.js → RoleWithToolTip-DRSravXg-BbhZ166y.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BsigTjZM-DhqM4jX3.js → ScheduleDetailsFixedAssetsPage-BsigTjZM-PI0Osbk8.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-C-lGzBL_-2eCogOrM.js → ScheduleDetailsPage-C-lGzBL_-BaT8y3Uj.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-BCmdqAXy-DeHIoKHW.js → ScheduleSequenceTable-BCmdqAXy-DvImaTPG.js} +1 -1
- package/dist/assets/{ScreenRoutes-DoPPzVjz.js → ScreenRoutes-DhuEbIUK.js} +1 -1
- package/dist/assets/{SetUpAccountSection-BKOCyUH3-DH5o_JLE.js → SetUpAccountSection-BKOCyUH3-BoSivHRl.js} +1 -1
- package/dist/assets/{SignIn-CS-J3pfV-CgtijYY2.js → SignIn-CS-J3pfV-DVAfXSck.js} +1 -1
- package/dist/assets/{SignInScreen-DAvW9bur.js → SignInScreen-e9SGBZ3P.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-Df2_A3Ff-BxUbsbil.js → SpendManagementListViewPage-Df2_A3Ff-DV6Td_AO.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-CMowSBFq-BrS8wTbG.js → SpendManagementPerTabPage-CMowSBFq-yMD-NPuG.js} +1 -1
- package/dist/assets/{SpendManagementSection-CMV7noyB-UYSYZMHP.js → SpendManagementSection-CMV7noyB-CowIOlkA.js} +1 -1
- package/dist/assets/{StatementItem-DJ39tw7i-Bj4A1Qdq.js → StatementItem-DJ39tw7i-CL4e1Q3R.js} +1 -1
- package/dist/assets/{StatementsPage-bQ7Ni723-DHmZyEvF.js → StatementsPage-bQ7Ni723-DoV-KdHu.js} +1 -1
- package/dist/assets/{StatusSwitcher-dxck0-_D-DRYxrfo9.js → StatusSwitcher-dxck0-_D-CWtyAgzh.js} +1 -1
- package/dist/assets/{SubTabSwitcher-iw3pF9RG-Dy8Bw-rJ.js → SubTabSwitcher-iw3pF9RG-BgOy-ZbA.js} +1 -1
- package/dist/assets/{SummaryCard-BhSCeFtW-CSdCPVeK.js → SummaryCard-BhSCeFtW-4wE8ASwK.js} +1 -1
- package/dist/assets/{TaskManagementPage-g-ZeUacD-BOKvIQzo.js → TaskManagementPage-g-ZeUacD-Qid5n_Ut.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-DV7Vkxir-CS7Y16la.js → TimeRangeSwitcher-DV7Vkxir-9Uaz_Lju.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-n-e2hXsK-B_34BEd7.js → TimeframeSwitcher-n-e2hXsK-BI2vKKV8.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-DLiPwXnZ-Dg1G7031.js → TimeframeSwitcherWithToggle-DLiPwXnZ-BiDdtHrp.js} +1 -1
- package/dist/assets/{TopExCard-CUCtGWMG-DA80G2Tw.js → TopExCard-CUCtGWMG-Dzwiri8K.js} +1 -1
- package/dist/assets/{TopExDetailPage-Du_E_YKe-CKxYJ9kT.js → TopExDetailPage-Du_E_YKe-DwZNd04N.js} +1 -1
- package/dist/assets/{TransactionDetailPage-CgT445to-C64Qr5HI.js → TransactionDetailPage-CgT445to-sLDF9SMY.js} +1 -1
- package/dist/assets/{TransactionList-we_zUYsL-Dijr1BC3.js → TransactionList-we_zUYsL-D1NTC3aO.js} +1 -1
- package/dist/assets/{TransactionListBig-nH1Qjoil-BNQ9Yrfn.js → TransactionListBig-nH1Qjoil-RaaExxWr.js} +1 -1
- package/dist/assets/{TransactionListPage-38GpLjpf-CtUGOhxg.js → TransactionListPage-38GpLjpf-BtcDMxPR.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-D9Xiyh8f-C7FSVGLd.js → TransactionVendorDetailPage-D9Xiyh8f-BaaMZHsf.js} +1 -1
- package/dist/assets/{TransferDrawerPage-lmX46zkj-iJHTGU9g.js → TransferDrawerPage-lmX46zkj-BK6ZiDfe.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-C4AZO1qa-fO0_YydA.js → TreasuryOverviewPage-C4AZO1qa-DDdB-jaK.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-D2UpPIMJ-Vs6LDADD.js → TreasuryPromoPage-D2UpPIMJ-CQRyeJy9.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-DJZjPYxF-DQoU89N8.js → TreasuryStatementsPage-DJZjPYxF-0UoUUeRZ.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-CRhVrCVC-CUht6Xx6.js → TreasuryTaxLetterPage-CRhVrCVC-BNkXbzq9.js} +1 -1
- package/dist/assets/{TrendChart-C6eEpBKz-BYGni-dr.js → TrendChart-C6eEpBKz-CdaSKzjU.js} +1 -1
- package/dist/assets/{TrendWithTransactions-CesVaJPk-CvaouDs7.js → TrendWithTransactions-CesVaJPk-C1jl0LPR.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-wFi1shv1-BGNVX7QF.js → UncategorizedAccountsMappingPage-wFi1shv1-B6N-1mPc.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-Dc1U07vV-CO1z0_28.js → UnitIntegrationPage-Dc1U07vV-BfvSaEpi.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-E73Idplv-CWs5X5k0.js → UploadAdditionalDocumentOverlay-E73Idplv-RRW5i6SD.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-BvdRkNkS-Bx2K17Se.js → Vendor2FAPopup-BvdRkNkS-DNcJdEZF.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-DSwUAV1v-CbrK94ta.js → VendorACHDetailsPage-DSwUAV1v-TkOITWe7.js} +1 -1
- package/dist/assets/{VendorDetailPage-DNoyNRTj-C-IERg2G.js → VendorDetailPage-DNoyNRTj-0purniYK.js} +1 -1
- package/dist/assets/{VendorDomesticWireDetailsPage-Bc8qjWTX-DDZJAFPN.js → VendorDomesticWireDetailsPage-Bc8qjWTX-Nkr7HPnZ.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-B1B5iG9x-IH4qWXQP.js → VendorFiling1099EditablePage-B1B5iG9x-D78V4RdP.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-B4yTlldy-c7VfwBSL.js → VendorFirstReviewPage-B4yTlldy-CCl9e2Uz.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-CJFUOmlk-Dd28v-fb.js → VendorInternationalWireDetailsPage-CJFUOmlk-Cdtbp0NH.js} +1 -1
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-CegBbxXf-CzheMiD_.js → VendorInternationalWireSwiftDetailsPage-CegBbxXf-BA5WXDAD.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-WAKW9Ve9-CYEkLKyS.js → VendorsAccountsSection-WAKW9Ve9-C4tgVFpe.js} +1 -1
- package/dist/assets/{VerifyDevice-CcZqv2Lp-BtsM-4Q_.js → VerifyDevice-CcZqv2Lp-C6TS_W9y.js} +1 -1
- package/dist/assets/{VideoPlayer-UPe1R-1g-BKErNhSD.js → VideoPlayer-UPe1R-1g-Dcfc-D3z.js} +2 -2
- package/dist/assets/{VideoPopup-CUd3F8wz-B_M6bvaF.js → VideoPopup-CUd3F8wz-tWB_z85N.js} +1 -1
- package/dist/assets/{WarningsDrawerPage-CDKJe82X-BN7YIchI.js → WarningsDrawerPage-CDKJe82X-B55ew4uu.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-Bm-Zan6l-DMTyK70d.js → ZeniAccountDetailPage-Bm-Zan6l-ClbJL7Zi.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-CCB38vGw-DXjIa160.js → ZeniAccountListViewPage-CCB38vGw-BYbjN2-q.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-Cxtt22Vg-BWEZi8Wz.js → ZeniAccountNavBarPieces-Cxtt22Vg-BaVNiYVg.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-CPLBUFop-BzqG3LSb.js → ZeniAccountPromoPage-CPLBUFop-Brl5usTR.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-jOZVnJMr-BLHd4fYC.js → ZeniAccountSetupPage-jOZVnJMr-T7AInOR4.js} +1 -1
- package/dist/assets/{ZeniCopyright-BX77ah4B-D_yAd7Va.js → ZeniCopyright-BX77ah4B-DW-Vss0l.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DwZiry1v-GEKPKIiC.js → ZeniTransferAmountSlider-DwZiry1v-BpXhUFXT.js} +1 -1
- package/dist/assets/{analytics-zoE7Zcxt.js → analytics-CThNEnNw.js} +1 -1
- package/dist/assets/{analyticsHelper-BwEP58wt.js → analyticsHelper-BDju9Ap5.js} +1 -1
- package/dist/assets/{analyticsHelper-tTHd6Unu-CYLEPAPI.js → analyticsHelper-tTHd6Unu-CmaLfK2i.js} +1 -1
- package/dist/assets/{chartTypes-BFYRQ3Cv-DXLSHrzv.js → chartTypes-BFYRQ3Cv-B8SvSK2u.js} +1 -1
- package/dist/assets/{commonDimensions-C2kzP_me-DlNLSq1Y.js → commonDimensions-C2kzP_me-Bhhd657x.js} +1 -1
- package/dist/assets/{dash.all.min-Ba2vGpbn.js → dash.all.min-BUPngCw6.js} +1 -1
- package/dist/assets/{detailCommon-BAtNx7ca-DaS89rQv.js → detailCommon-BAtNx7ca-C_kCQZMg.js} +1 -1
- package/dist/assets/{downloadPdf-Sdq-1kVQ-DVyuLdQW.js → downloadPdf-Sdq-1kVQ-CuojZ9OD.js} +1 -1
- package/dist/assets/{epic-vmWV05sm.js → epic-Bko4IStj.js} +1 -1
- package/dist/assets/{index-CHOIEdDW.js → index-BV-YAw0P.js} +1 -1
- package/dist/assets/{index-B6FLCqRf.js → index-Bc9FAOZe.js} +5 -5
- package/dist/assets/{index-jNlf8Zjb.js → index-BxXAQ-Kq.js} +1 -1
- package/dist/assets/{index-BQbbCzKZ.js → index-CwsnnJzI.js} +1 -1
- package/dist/assets/{index-A3ojUHL_.js → index-KtBRorGi.js} +1 -1
- package/dist/assets/{liveblocks-DIep7fJd.js → liveblocks-B3KbWbMM.js} +1 -1
- package/dist/assets/{lottie-DEE24l2z.js → lottie-CaGAfnTY.js} +1 -1
- package/dist/assets/{mapLoadingInProgressToTreeNode-8AkwjRg3-m9352Ilv.js → mapLoadingInProgressToTreeNode-8AkwjRg3-Dki0yA_F.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BZ6gG9Ko-DV4ta1Hw.js → mapSectionWithAcOnlyToTreeNode-BZ6gG9Ko-DBGh1pPu.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-CfM4s6Ab-CKCx6_2V.js → mapSpacerToTreeNode-CfM4s6Ab-Df9wcpWo.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-B0gWnt3S-SH7tUKnq.js → mapTimeframeBalancesToTreeNode-B0gWnt3S-BKfpG-Y5.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-Ckh-PZp0-BSwjfYWq.js → mapTimeframeBalancesToTreeNode-Ckh-PZp0-5gDsP3Ao.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-B6ynSFN--caRyYD8h.js → mapTimeframeHeaderLoadingInProgressToTreeNode-B6ynSFN--Dopsv8ep.js} +1 -1
- package/dist/assets/{react-B5y9n_ef.js → react-C2wGlvWj.js} +2 -2
- package/dist/assets/{recharts-BHhx6CLo.js → recharts-CXSQ4XPK.js} +1 -1
- package/dist/assets/{sentry-o6h_D-9x.js → sentry-DxvQlcJu.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-CHuRV6Cy-XAwo936L.js → toCOABalancesWithID-CHuRV6Cy-aUtCm-wJ.js} +1 -1
- package/dist/assets/{toChartData-DjeEqlPj-BJYwHkjk.js → toChartData-DjeEqlPj-2ozfjpmW.js} +1 -1
- package/dist/assets/{uploadAttachment-l_PHn7FL-_orBdxbm.js → uploadAttachment-l_PHn7FL-XZamg0mt.js} +1 -1
- package/dist/assets/{uploadReceipts-Bkf_PaOH-Vf7-L7FN.js → uploadReceipts-Bkf_PaOH-B56PESzm.js} +1 -1
- package/dist/assets/{url-BdYIjepo.js → url-DuX7Wo4B.js} +1 -1
- package/dist/assets/{url-BxQKeS2R.js → url-y5lCWhwX.js} +1 -1
- package/dist/assets/{utils-uDUqNRFY.js → utils-C70QTjQC.js} +1 -1
- package/dist/assets/{zeni-epic-state-LPACxnXP.js → zeni-epic-state-xFtF3OLs.js} +2 -2
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/CustomerOnboardingContainerPage-J1gLDhpW-CRG1w3EM.js +0 -1
- package/dist/assets/MagicLinkACHDetailsPage-CRYqb_qO-BhHVGLJ8.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-CE12GLds-D-96bibR.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Q as W,d as G,F as y,av as ge,V as r,aK as P,bL as _e,bA as be,bz as Se,y as B,o as w,aQ as we,A as ye,bM as Ce,u as S,x as R,aA as J,t as xe,aS as Oe,as as Ae,bD as Re}from"./index-B6FLCqRf.js";import{a as T,w as X}from"./core-3dlyNYRL.js";import{n as _}from"./mui-bYXq4XMS.js";import{bh as H,eK as Be,eT as ve,eU as $,eV as Le,eW as Te,eX as Pe,eY as ke,eZ as Ne,e_ as ee,e$ as te}from"./zeni-epic-state-LPACxnXP.js";import{m as z,l as q}from"./analyticsHelper-tTHd6Unu-CYLEPAPI.js";import{u as Ie}from"./ReportTableViewSelector-DlD_ISoP-DYJZDLbh.js";import{a as se,p as Me}from"./TimeRangeSwitcher-DV7Vkxir-CS7Y16la.js";import{M as Fe}from"./TimeframeSwitcherWithToggle-DLiPwXnZ-Dg1G7031.js";import{DownloadOverlayButton as $e}from"./DownloadOverlay-ebdpHSki-CAJMStLG.js";import{I as je,R as M,x as ne}from"./CollapsableReportTable-B2M1S7L1-GNwZ9Yr0.js";import{D as oe,T as ae,C as j,L as Ee,g as ie}from"./mapSectionWithAcOnlyToTreeNode-BZ6gG9Ko-DV4ta1Hw.js";import{s as Y}from"./mapTimeframeBalancesToTreeNode-Ckh-PZp0-BSwjfYWq.js";import{d as Ve,l as De}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-B6ynSFN--caRyYD8h.js";import{d as ze}from"./mapLoadingInProgressToTreeNode-8AkwjRg3-m9352Ilv.js";import"./sentry-o6h_D-9x.js";import"./lottie-DEE24l2z.js";import"./liveblocks-DIep7fJd.js";import"./utils-uDUqNRFY.js";import"./analytics-zoE7Zcxt.js";import"./recharts-BHhx6CLo.js";import"./lexical-DPEnH3HH.js";import"./TimeframeSwitcher-n-e2hXsK-B_34BEd7.js";import"./page-detail-CWX5S47F-Bc8Xpsuq.js";import"./AccountRow-DqB8rPL2-DMH55Auf.js";function ce({section:e,sectionId:t,numOfBalances:o,config:a}){return ne("no_filter",a.filterAccountsWithNilBalances,a.filterAccountGroupsWithNilBalances).compactedAccountGroupsSelector(e.accountGroups).map(n=>Ue({accountGroup:n,sectionType:t,numOfBalances:o,title:n.accountGroupName,isLastNode:!0,config:a}))}function Ue({accountGroup:e,sectionType:t,numOfBalances:o,title:a,isLastNode:n,config:d}){const p=M("section",[],a+t),l={children:[],id:p,isLastNode:n,reportElementData:{element:{kind:"section",title:a,sectionType:t,data:e,numOfBalances:o},config:d}},i=ne("no_filter",d.filterAccountsWithNilBalances,d.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.accounts),u=i.map((g,h)=>ie({account:g,sectionType:t,numOfBalances:o,title:g.account.accountName,config:d,isLastNode:h===i.length-1,parentNodeIDs:[p],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:i.length>1,hasChildren:g.children.length>0,isLastNode:h===i.length-1}]}}));return l.children.push(...u),l}function re({sectionWithAcOnly:e,sectionType:t,numOfBalances:o,config:a}){return e.accounts.map((n,d)=>ie({account:n,sectionType:t,numOfBalances:o,title:n.account.accountName,config:a,isLastNode:d===e.accounts.length-1,parentNodeIDs:[],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:e.accounts.length>1,hasChildren:n.children.length>0,isLastNode:d===e.accounts.length-1}]}}))}function le({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 We(e,t,o,a=!0){Object.assign(e.config,t);const n=de(o),d=Y({balances:n,config:t});return{config:t,headerNodes:a?[d]:[],contentNodes:[d,...e.contentNodes.slice(1)]}}const de=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 Ge(e,t,o=!0){const a=y.getLocalizedStrings().reports.sections,n=y.getLocalizedStrings().reports.balanceSheet,d=de(e),p=t.mode!=null&&t.mode==="this_period_vs_period_before"&&d.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,l=le({balances:d,config:t}),i=[];return i.push(l),Object.keys(e.rootSectionsWithSubSectionIds).forEach(u=>{const g=M("title_string_only",[],u),h={children:[],id:g,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:a[u],data:void 0,numOfBalances:0},config:t}};i.push(h),e.rootSectionsWithSubSectionIds[u].forEach(s=>{if(Le(s)===!0)if(e.sections[s].accountGroups.length>0)if(s==="equity"){const c=ce({sectionId:s,section:e.sections[s],numOfBalances:p,config:t});i.push(...c)}else i.push(oe({section:e.sections[s],sectionType:s,numOfBalances:p,title:n[s],isLastNode:!0,config:t}));else if(s==="equity"){const c=re({sectionWithAcOnly:e.sections[s],sectionType:s,numOfBalances:p,config:t});i.push(...c)}else{const c=e.sections[s];i.push(ae({sectionWithAcOnly:c,sectionType:s,numOfBalances:p,title:n[s],isLastNode:!0,config:t}))}else Te(s)===!0&&i.push(j({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t}))})}),{config:t,headerNodes:o?[l]:[],contentNodes:i}}function Ye({calculatedSection:e,numOfBalances:t,title:o,isLastNode:a,config:n}){return{children:[],id:M("calculated_section_type1",[],o),isLastNode:a,reportElementData:{element:{kind:"calculated_section_type1",title:o,data:e,numOfBalances:t},config:n}}}function Ze(e,t,o=!0){const a=y.getLocalizedStrings().reports.sections,n=y.getLocalizedStrings().reports.cashFlow,d=[...e.calculatedSections.operatingActivitiesTotal.balances,...e.calculatedSections.operatingActivitiesTotal.additionalBalances],p=t.mode!=null&&t.mode==="this_period_vs_period_before"&&d.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,l=le({balances:d,config:t}),i=[];return Object.keys(e.rootSectionsWithSubSectionIds).forEach(u=>{const g=M("title_string_only",[],u),h={children:[],id:g,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:a[u],data:void 0,numOfBalances:0},config:t}};i.push(h),e.rootSectionsWithSubSectionIds[u].forEach(s=>{if(Pe(s)===!0)if(e.sections[s].accountGroups.length>0){const c=ce({sectionId:s,section:e.sections[s],numOfBalances:p,config:t});i.push(...c)}else{const c=re({sectionWithAcOnly:e.sections[s],sectionType:s,numOfBalances:p,config:t});i.push(...c)}else ke(s)===!0?i.push(Ye({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t})):Ne(s)===!0&&i.push(j({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t}))})}),{config:t,headerNodes:o?[l]:[],contentNodes:[l,...i]}}function He(e,t,o=!0,a=!1){const n=y.getLocalizedStrings().reports,d=y.getLocalizedStrings().common;let p=[];const l=[];let i=[];if(a===!0){const u=Ve({title:d.loading,balances:[],config:t});u.reportElementData.element.numOfBalances=6,o&&(i=[u]),l.push(u),[...Array(8)].forEach((g,h)=>{const s=h%4;let c=De[s];const C=ze({title:`${h}+${c}`,balances:p,config:t});C.reportElementData.element.numOfBalances=6,l.push(C)})}else{const u=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]:[],g=Y({balances:u,config:t}),h=t.mode!=null&&t.mode==="this_period_vs_period_before"&&u.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1;l.push(g),o&&(i=[g]),e.idsInOrder.forEach(s=>{if(ee(s)===!0){const c=e.sections[s];c!=null&&l.push(Ee({section:c,sectionType:s,numOfBalances:h,title:n.sections[s],isLastNode:!0,config:t}))}else if(te(s)===!0){const c=e.calculatedSections[s];c!=null&&l.push(j({calculatedSection:c,numOfBalances:h,title:n.sections[s],isLastNode:!0,config:t}))}})}return{config:t,headerNodes:i,contentNodes:l}}function qe(e,t,o=!0){const a=y.getLocalizedStrings().reports,n=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]:[],d=t.mode!=null&&t.mode==="this_period_vs_period_before"&&n.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,p=Y({balances:n,config:t}),l=[];return l.push(p),e.idsInOrder.forEach(i=>{if(ee(i)===!0&&(e.sections[i].accountGroups.length>0?l.push(oe({section:e.sections[i],sectionType:i,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t})):l.push(ae({sectionWithAcOnly:e.sections[i],sectionType:i,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t}))),te(i)===!0){const u=e.calculatedSections[i];u!=null&&l.push(j({calculatedSection:u,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t}))}}),{config:t,headerNodes:o?[p]:[],contentNodes:l}}const Q={contentPaddingLeft:new B(S[0],S[0],S[0]),contentPaddingRight:new B(S[3],S[3],S[8])},Qe=_.div`
|
|
1
|
+
import{Q as W,d as G,F as y,av as ge,V as r,aK as P,bL as _e,bA as be,bz as Se,y as B,o as w,aQ as we,A as ye,bM as Ce,u as S,x as R,aA as J,t as xe,aS as Oe,as as Ae,bD as Re}from"./index-Bc9FAOZe.js";import{a as T,w as X}from"./core-3dlyNYRL.js";import{n as _}from"./mui-bYXq4XMS.js";import{bh as H,eK as Be,eT as ve,eU as $,eV as Le,eW as Te,eX as Pe,eY as ke,eZ as Ne,e_ as ee,e$ as te}from"./zeni-epic-state-xFtF3OLs.js";import{m as z,l as q}from"./analyticsHelper-tTHd6Unu-CmaLfK2i.js";import{u as Ie}from"./ReportTableViewSelector-DlD_ISoP-D9TWtYOs.js";import{a as se,p as Me}from"./TimeRangeSwitcher-DV7Vkxir-9Uaz_Lju.js";import{M as Fe}from"./TimeframeSwitcherWithToggle-DLiPwXnZ-BiDdtHrp.js";import{DownloadOverlayButton as $e}from"./DownloadOverlay-ebdpHSki-CdxuJ1ov.js";import{I as je,R as M,x as ne}from"./CollapsableReportTable-B2M1S7L1-CWsF8pJQ.js";import{D as oe,T as ae,C as j,L as Ee,g as ie}from"./mapSectionWithAcOnlyToTreeNode-BZ6gG9Ko-DBGh1pPu.js";import{s as Y}from"./mapTimeframeBalancesToTreeNode-Ckh-PZp0-5gDsP3Ao.js";import{d as Ve,l as De}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-B6ynSFN--Dopsv8ep.js";import{d as ze}from"./mapLoadingInProgressToTreeNode-8AkwjRg3-Dki0yA_F.js";import"./sentry-DxvQlcJu.js";import"./lottie-CaGAfnTY.js";import"./liveblocks-B3KbWbMM.js";import"./utils-C70QTjQC.js";import"./analytics-CThNEnNw.js";import"./recharts-CXSQ4XPK.js";import"./lexical-DPEnH3HH.js";import"./TimeframeSwitcher-n-e2hXsK-BI2vKKV8.js";import"./page-detail-CWX5S47F-Bc8Xpsuq.js";import"./AccountRow-DqB8rPL2-DSdMIZil.js";function ce({section:e,sectionId:t,numOfBalances:o,config:a}){return ne("no_filter",a.filterAccountsWithNilBalances,a.filterAccountGroupsWithNilBalances).compactedAccountGroupsSelector(e.accountGroups).map(n=>Ue({accountGroup:n,sectionType:t,numOfBalances:o,title:n.accountGroupName,isLastNode:!0,config:a}))}function Ue({accountGroup:e,sectionType:t,numOfBalances:o,title:a,isLastNode:n,config:d}){const p=M("section",[],a+t),l={children:[],id:p,isLastNode:n,reportElementData:{element:{kind:"section",title:a,sectionType:t,data:e,numOfBalances:o},config:d}},i=ne("no_filter",d.filterAccountsWithNilBalances,d.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.accounts),u=i.map((g,h)=>ie({account:g,sectionType:t,numOfBalances:o,title:g.account.accountName,config:d,isLastNode:h===i.length-1,parentNodeIDs:[p],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:i.length>1,hasChildren:g.children.length>0,isLastNode:h===i.length-1}]}}));return l.children.push(...u),l}function re({sectionWithAcOnly:e,sectionType:t,numOfBalances:o,config:a}){return e.accounts.map((n,d)=>ie({account:n,sectionType:t,numOfBalances:o,title:n.account.accountName,config:a,isLastNode:d===e.accounts.length-1,parentNodeIDs:[],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:e.accounts.length>1,hasChildren:n.children.length>0,isLastNode:d===e.accounts.length-1}]}}))}function le({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 We(e,t,o,a=!0){Object.assign(e.config,t);const n=de(o),d=Y({balances:n,config:t});return{config:t,headerNodes:a?[d]:[],contentNodes:[d,...e.contentNodes.slice(1)]}}const de=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 Ge(e,t,o=!0){const a=y.getLocalizedStrings().reports.sections,n=y.getLocalizedStrings().reports.balanceSheet,d=de(e),p=t.mode!=null&&t.mode==="this_period_vs_period_before"&&d.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,l=le({balances:d,config:t}),i=[];return i.push(l),Object.keys(e.rootSectionsWithSubSectionIds).forEach(u=>{const g=M("title_string_only",[],u),h={children:[],id:g,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:a[u],data:void 0,numOfBalances:0},config:t}};i.push(h),e.rootSectionsWithSubSectionIds[u].forEach(s=>{if(Le(s)===!0)if(e.sections[s].accountGroups.length>0)if(s==="equity"){const c=ce({sectionId:s,section:e.sections[s],numOfBalances:p,config:t});i.push(...c)}else i.push(oe({section:e.sections[s],sectionType:s,numOfBalances:p,title:n[s],isLastNode:!0,config:t}));else if(s==="equity"){const c=re({sectionWithAcOnly:e.sections[s],sectionType:s,numOfBalances:p,config:t});i.push(...c)}else{const c=e.sections[s];i.push(ae({sectionWithAcOnly:c,sectionType:s,numOfBalances:p,title:n[s],isLastNode:!0,config:t}))}else Te(s)===!0&&i.push(j({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t}))})}),{config:t,headerNodes:o?[l]:[],contentNodes:i}}function Ye({calculatedSection:e,numOfBalances:t,title:o,isLastNode:a,config:n}){return{children:[],id:M("calculated_section_type1",[],o),isLastNode:a,reportElementData:{element:{kind:"calculated_section_type1",title:o,data:e,numOfBalances:t},config:n}}}function Ze(e,t,o=!0){const a=y.getLocalizedStrings().reports.sections,n=y.getLocalizedStrings().reports.cashFlow,d=[...e.calculatedSections.operatingActivitiesTotal.balances,...e.calculatedSections.operatingActivitiesTotal.additionalBalances],p=t.mode!=null&&t.mode==="this_period_vs_period_before"&&d.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,l=le({balances:d,config:t}),i=[];return Object.keys(e.rootSectionsWithSubSectionIds).forEach(u=>{const g=M("title_string_only",[],u),h={children:[],id:g,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:a[u],data:void 0,numOfBalances:0},config:t}};i.push(h),e.rootSectionsWithSubSectionIds[u].forEach(s=>{if(Pe(s)===!0)if(e.sections[s].accountGroups.length>0){const c=ce({sectionId:s,section:e.sections[s],numOfBalances:p,config:t});i.push(...c)}else{const c=re({sectionWithAcOnly:e.sections[s],sectionType:s,numOfBalances:p,config:t});i.push(...c)}else ke(s)===!0?i.push(Ye({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t})):Ne(s)===!0&&i.push(j({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t}))})}),{config:t,headerNodes:o?[l]:[],contentNodes:[l,...i]}}function He(e,t,o=!0,a=!1){const n=y.getLocalizedStrings().reports,d=y.getLocalizedStrings().common;let p=[];const l=[];let i=[];if(a===!0){const u=Ve({title:d.loading,balances:[],config:t});u.reportElementData.element.numOfBalances=6,o&&(i=[u]),l.push(u),[...Array(8)].forEach((g,h)=>{const s=h%4;let c=De[s];const C=ze({title:`${h}+${c}`,balances:p,config:t});C.reportElementData.element.numOfBalances=6,l.push(C)})}else{const u=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]:[],g=Y({balances:u,config:t}),h=t.mode!=null&&t.mode==="this_period_vs_period_before"&&u.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1;l.push(g),o&&(i=[g]),e.idsInOrder.forEach(s=>{if(ee(s)===!0){const c=e.sections[s];c!=null&&l.push(Ee({section:c,sectionType:s,numOfBalances:h,title:n.sections[s],isLastNode:!0,config:t}))}else if(te(s)===!0){const c=e.calculatedSections[s];c!=null&&l.push(j({calculatedSection:c,numOfBalances:h,title:n.sections[s],isLastNode:!0,config:t}))}})}return{config:t,headerNodes:i,contentNodes:l}}function qe(e,t,o=!0){const a=y.getLocalizedStrings().reports,n=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]:[],d=t.mode!=null&&t.mode==="this_period_vs_period_before"&&n.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,p=Y({balances:n,config:t}),l=[];return l.push(p),e.idsInOrder.forEach(i=>{if(ee(i)===!0&&(e.sections[i].accountGroups.length>0?l.push(oe({section:e.sections[i],sectionType:i,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t})):l.push(ae({sectionWithAcOnly:e.sections[i],sectionType:i,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t}))),te(i)===!0){const u=e.calculatedSections[i];u!=null&&l.push(j({calculatedSection:u,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t}))}}),{config:t,headerNodes:o?[p]:[],contentNodes:l}}const Q={contentPaddingLeft:new B(S[0],S[0],S[0]),contentPaddingRight:new B(S[3],S[3],S[8])},Qe=_.div`
|
|
2
2
|
height: ${e=>e.height}px;
|
|
3
3
|
width: 99.9%;
|
|
4
4
|
margin-top: ${w.sp2};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as A,V as a,F as S,Q as de,aK as Ae,b1 as Z,u as I,b as M,aV as J,o as m,p as g,aA as Ve,y as xe,bJ as ge,ak as R,bK as V,b8 as F}from"./index-
|
|
1
|
+
import{d as A,V as a,F as S,Q as de,aK as Ae,b1 as Z,u as I,b as M,aV as J,o as m,p as g,aA as Ve,y as xe,bJ as ge,ak as R,bK as V,b8 as F}from"./index-Bc9FAOZe.js";import{a as P,w as ee}from"./core-3dlyNYRL.js";import{n as x}from"./mui-bYXq4XMS.js";import{p as b,d as ae,y as W,b as N,g as re,u as T}from"./chartTypes-BFYRQ3Cv-B8SvSK2u.js";import{i as K,h as oe,c as G}from"./toCOABalancesWithID-CHuRV6Cy-aUtCm-wJ.js";import{V as Q}from"./toChartData-DjeEqlPj-2ozfjpmW.js";import{B as Te,C as te,X as le,Y as ne,T as ce,L as pe,b as se,c as me,d as fe}from"./recharts-CXSQ4XPK.js";const X={legendLabelMarginLeft:new xe(2,2),legendLabelMarginRight:new xe(I[3],I[4])},Fe=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{Q as Tt,av as Ct,y as u,e$ as Dt,F as It,f0 as Pt,f1 as kt,V as t,f2 as At,f3 as le,f4 as Mt,f5 as Bt,f6 as Ft,aK as j,f7 as Lt,aL as A,f8 as Rt,f9 as zt,fa as Me,fb as Be,fc as Fe,b as U,fd as O,fe as E,ff as W,p as S,fg as Nt,fh as Ot,fi as Et,fj as Wt,bQ as Le,o as n,aO as Zt,u as d,ah as Gt,b$ as Vt,B as Yt,M as Kt,fk as _t,cf as Ut,ak as de,al as ce,fl as qt,fm as Ht,bg as Qt,c as Jt,b7 as Xt,ap as et,bI as en,ag as tt,br as tn,fn as nn}from"./index-B6FLCqRf.js";import{a as G}from"./core-3dlyNYRL.js";import{n as i}from"./mui-bYXq4XMS.js";import{bp as Re,bn as ze,bK as I,bQ as an,fv as ln,bO as oe,bS as on}from"./zeni-epic-state-LPACxnXP.js";import{t as rn,o as sn}from"./LowBalancePopup-BMSJwe7h-DMWskG_J.js";import{S as Z}from"./LabeledText-BNDM-899-06P8MShM.js";import"./sentry-o6h_D-9x.js";import"./lottie-DEE24l2z.js";import"./liveblocks-DIep7fJd.js";import"./utils-uDUqNRFY.js";import"./analytics-zoE7Zcxt.js";import"./recharts-BHhx6CLo.js";import"./lexical-DPEnH3HH.js";const nt=["small","medium-compact","medium-regular"],m={largeLabelWidth:new u(150,215,215),infoMinWidth:new u(0,0,0,142,142),infoMarginRight:new u(0,0,0,d[2],d[2]),footerButtonWidth:new u(120,165),iconContainerMarginTop:new u(6,d[1]),navBarContainerPaddingTop:new u(10,d[3]),sectionTitleMarginLeft:new u(d[3],d[0]),reviewContainerMarginLeft:new u(d[3],d[6]),reviewContainerMarginRight:new u(d[3],d[8]),footerRightIconMarginRight:new u(d[0],d[0],d[7]),infoLabelPaddingRight:new u(d[0],d[3]),infoLabelMarginTop:new u(d[1],d[0])},dn={sectionTitle:new Yt("h6Medium","h5Medium")},{dateFormat:Ne,common:{currency:v,labels:Oe,edit:cn,strings:{empty:y}},spendManagement:{billPay:mn}}=It.getLocalizedStrings(),{billDetails:a,paymentDetails:Ee}=mn,We=({attachment:e})=>{const[b,g]=G.useState(!1),M=()=>{g(!1)},T=e.fileId?.length===0;return t.jsxs(On,{isDisabled:e.fileId?.length===0,"data-testid":j("attachment-tag",e.fileName),onClick:()=>T===!1?g(!0):null,children:[b&&e?.fileDownloadUrl!=null?t.jsx(qt,{title:e.fileName,file:e,onCrossClick:()=>M(),setShowFullScreenView:g}):null,t.jsx(En,{children:t.jsx(Ht,{contentType:e.contentType})})]})},di=({billDetails:e,billpayApprovalView:b,isBillPayCommentingEnabled:g,currentTenant:M,isInternationalPaymentShaVsOurEnabled:T,isLocalCurrencyEnabled:it,style:at,analytics:w,isRecurringBillsFeatureEnabled:lt,isApprovalRequiredForMarkAsPaid:ot,isDetectInsufficientFundsEnabled:rt,billId:f,onClickEdit:me,discardBillDetailsFromLocalStore:pe,saveBillDetails:ue,discardOutsideZeniPaymentData:st,updateBillDetailSaveBillCode:ye,redirectToBillsScreen:he,onAttachmentClick:J,retryPayment:dt})=>{const s=Tt(),c=Ct(),B={application:"dashboard",companyId:c.currentTenant?.companyId,tab:"bill",entityId:f},F=g&&f!=null,L=`dashboard_${c.currentTenant?.companyId}`,R=m.largeLabelWidth.value(s),z=e.saveStatus,X=e.zeniAssistRetryStatus,ee=e.vendor?.vendorCurrencyCode,o=Dt(T,it,e.billPayConfigList.filter(l=>l.method.includes(e.paymentDetailsSection?.withdrawFrom?.accType??"depositAccount")),e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,e.paymentDetailsSection?.paymentType,ee),C=Ne.visual.MMMDCommaYYYYformat,ge={amount:e.recipientTotalAmount.amount/(e.paymentDetailsSection?.conversionRate??1)*100/100,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},p={amount:o?.method.includes("international")===!0?Pt(ge,o):e.recipientTotalAmount.amount+(o?.fee.amount??0),currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},N={amount:o?.method.includes("international")===!0?kt(ge,o):o?.fee.amount??0,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},[ct,fe]=G.useState(!1),[mt,xe]=G.useState(!1),be=()=>fe(!1),pt=()=>{w.trackBillPayMagicLinkPreviewEmail("review_bill"),fe(!0)},ut=e.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${a.magicLink.collectFrom} ${e.toAccountVendorEmail}`,t.jsx(Rn,{size:s,children:t.jsx(Ln,{})})]}):At(e.paymentDetailsSection?.paymentTo);G.useEffect(()=>{(z?.fetchState==="Completed"||X?.fetchState==="Completed")&&(pe(),ye(),he())},[z,X,he,pe,ye]);const $=e.billPayInfo?.stage,P=e.billPayInfo?.billStatus,V=e.billPayInfo?.billPaymentStatus,yt=e.billPayInfo?.billPaymentRefundStatus,te=$?.code==="paid"?$:P?.code=="approved"&&V?.code?V:P,ht=e.billPayInfo?.isRefundInitiated===!0?yt:P?.code=="approved"&&V?.code?V:P,ne=()=>{me()},we=()=>{me()},Y=e.paymentDetailsSection?.paymentDate,ie=le(o?.method??""),$e=ie.replace("Same Day",""),gt=e.isCollectToAccountInfoFromVendorContact?t.jsx(Mt,{paymentTypeLabel:$e,onClick:pt}):a.addedByZeni,K=b.allApprovalRules.length>0,ft=Re(o?.method!=null&&(o.method.includes(I)||o?.fee.amount!=null&&o.fee.amount!==0)?p.amount-N.amount:p.amount,o?.fee.currencyCode??ze.currencyCode,o?.fee.currencySymbol??ze.currencySymbol),h=an(e.paymentDetailsSection?.paymentType?.method),xt=l=>{w.trackBillPayMarkAsPaidSubmit(l.paymentMode??"other",$?.code??"draft",te?.code??""),ue(!0,l)},ve=()=>{xe(!0),w.trackBillPayMarkAsPaid($?.code??"draft",te?.code??"")},bt=()=>{st(),xe(!1)},k=h&&($?.code!=null?$.code==="draft"||P?.code==="approved":!0),x=k&&!ot,je=Ze(x,K,e.isBillMarkedForRetry),wt=()=>h?x?void 0:a.paymentOutsideZeni.reviewInfo:o?.method!=null&&o.method.includes(I)&&e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod!=null&&T&&ee===v.currencyCode?Ot(e.paymentDetailsSection.internationalTransferFeeBearerPaymentMethod):void 0,ae=rt&&e.paymentDetailsSection!=null?Bt(p,e.paymentDetailsSection.withdrawFrom,e.paymentDetailsSection.paymentDate):void 0,$t=()=>{const l=e.paymentDetailsSection?.paymentDate,r=e.isCollectToAccountInfoFromVendorContact,D=e.recurringConfig,jt=e.recipientTotalAmount;if(e.isInvoiceDateAutoUpdated===!0&&w.trackBillPayAutoDateChange(f??"new_bill"),o?.method!=null&&l!=null){const St=h?a.paymentOutsideZeni.offline:le(o.method);if(w.trackBillPaySendForApproval(St,l.format(Ne.analytics.MMMDashDDDashYYYYFormat),r,e.isRecurring,f,e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,{startDate:oe(D?.startDate?.toString()??"").format(C),endDate:oe(D?.endDate?.toString()??"").format(C),frequency:D?.frequency??"monthly",totalAmount:jt.amount,totalPaymentCycles:D?.totalPaymentCycles??0,isApprovalRequired:D?.isApprovalRequired??!1,updateCurrentBill:e.recurringConfig?.id!=null?D?.updateRecurringBills==="current":void 0,updateFutureRecurringBills:e.recurringConfig?.id!=null?D?.updateRecurringBills==="all":void 0}),ae!=null){const Ce=$?.code??"draft",De=P?.code??"",Ie=e.isRecurring?["Recurring"]:["One-Time"],Pe=e.invoiceNumber??"",ke=nn(c.loggedInUser),Ae=e.paymentDetailsSection?.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account";je===a.scheduleBill?w.trackLowBalanceAccountSchedule(Ce,De,Ie,Pe,ke,Ae):je===a.sendForApproval&&w.trackLowBalanceAccountSentForApproval(Ce,De,Ie,Pe,ke,Ae)}}},Se=()=>{Te===!0&&_(!1),e.isBillMarkedForRetry===!0?(dt(),w.trackRetryConfirmClick(te?.code??"",$?.code??"",ht?.description??"",e.isRecurring?["Recurring"]:["One-Time"],e.invoiceNumber??"")):e.vendor!=null&&($t(),ue(!1,{}))},vt=ln(p.amount,b.allApprovalRules,c.loggedInUser),[Te,_]=G.useState(!1);return t.jsxs($n,{children:[mt?t.jsx(rn,{onCancel:bt,onProceedForMarkAsPaid:xt,saveDetailsFetchState:z?.fetchState,paymentData:e.outsideZeniPaymentInfo}):null,Te?t.jsx(sn,{withdrawFrom:e.paymentDetailsSection?.withdrawFrom,paymentDate:e.paymentDetailsSection?.paymentDate,onOkClick:Se,onCancelClick:()=>{_(!1),ne()},onClickAway:()=>{_(!1)}}):null,t.jsx(Ft,{anchor:"right",open:ct,onClose:be,transitionDuration:250,"data-testid":j("vendor-email-preview-drawer"),children:t.jsx(Lt,{companyName:Rt(M.company?.companyInfo),vendor:e.vendor?.name,paymentDate:Y?.format(C)??"",paymentType:$e,amount:A("0,0[.]00",p),isInvoiceAttached:!!e.file,onClose:be})}),t.jsxs(vn,{windowSize:s,style:at,children:[s==="small"?t.jsxs(Fn,{windowSize:s,children:[t.jsx(qe,{onClick:we,"data-testid":j("review-detail-nav-bar-small-back")}),t.jsx(Ye,{windowSize:s,children:a.oneLastLook})]}):t.jsx(Bn,{"data-testid":j("review-details-nav-bar-back"),children:t.jsx(qe,{onClick:we})}),s!=="small"?t.jsx(Sn,{children:t.jsx(Ye,{windowSize:s,children:a.oneLastLook})}):null,e.duplicateBillTransactions.length>0?t.jsxs(Tn,{children:[t.jsxs(Cn,{children:[t.jsx(Kn,{}),t.jsxs(Dn,{children:[t.jsx(Pn,{children:a.duplicateBillPayWarning}),t.jsxs(In,{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(Gn,{children:[t.jsx(Yn,{children:a.duplicateInvoiceFound}),e.duplicateBillTransactions.map(l=>{const r=zt(l);return l!=null?t.jsx(Vn,{children:nt.includes(s)?t.jsxs(Ke,{windowSize:s,children:[t.jsxs(kn,{children:[t.jsxs(An,{children:[l.attachments&&l.attachments.length>0?t.jsx(We,{attachment:l.attachments[0]}):t.jsx(He,{children:t.jsx(Qe,{})}),t.jsx(H,{children:t.jsxs(t.Fragment,{children:[l.documentId!=null?a.invoiceNo:null,l.documentId]})})]}),t.jsx(Je,{windowSize:s,children:A("0,0[.]00",l.recipientTotalAmount)})]}),t.jsxs(Wn,{"data-testid":j("review-detail-mobile-info"),onClick:()=>J(l.id,l.billPayInfo.stage.code),children:[t.jsxs(H,{children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(C)]}),t.jsx(Xe,{children:r!=null?Me.includes(r.code)?t.jsx(Be,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})]}):t.jsxs(Ke,{windowSize:s,children:[l.attachments&&l.attachments.length>0?t.jsx(We,{attachment:l.attachments[0]}):t.jsx(He,{children:t.jsx(Qe,{})}),t.jsxs(Zn,{"data-testid":j("review-detail-info"),onClick:()=>J(l.id,l.billPayInfo.stage.code),children:[t.jsx(H,{style:{width:"50%"},children:t.jsxs("div",{children:[l.documentId!=null?a.invoiceNo:null," ",l.documentId]})}),t.jsxs(H,{style:{width:"25%"},children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(C)]}),t.jsx(Je,{style:{width:"25%"},windowSize:s,children:A("0,0[.]00",l.amount)})]}),t.jsx(Xe,{children:r!=null?Me.includes(r.code)?t.jsx(Be,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})},l.id):null})]})]}):null,t.jsxs(Mn,{children:[t.jsx(_e,{children:a.pay}),t.jsx(Ue,{children:t.jsx(Fe,{amount:ft,integerStyles:U.largeMedium.cssObject,decimalStyles:U.smallMedium.cssObject})}),t.jsx(_e,{children:a.to}),t.jsx(Ue,{children:e.vendor?.name})]}),t.jsxs(jn,{children:[h?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:f,dashboardTabKey:W({type:"details",key:"withdrawFrom"}),roomId:L,companyId:c.currentTenant?.companyId??y,companyName:c.currentTenant?.companyName??y,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("withdrawFrom")}`},children:t.jsx(Z,{label:{label:a.withdrawFrom,width:R},style:{width:"auto"},value:e.paymentDetailsSection?.withdrawFrom!=null?Nt(e.paymentDetailsSection.withdrawFrom,s):y,infoLabelStyle:{textAlign:s==="small"?"left":"right",paddingRight:m.infoLabelPaddingRight.valuePx(s),marginTop:m.infoLabelMarginTop.valuePx(s),color:S.brandColorGoldDark},additionalInfoLabel:ae})}),t.jsx(q,{})]}),t.jsx(O,{isThreadAllowed:F,entityId:f,dashboardTabKey:W({type:"details",key:"paymentType"}),roomId:L,companyId:c.currentTenant?.companyId??y,companyName:c.currentTenant?.companyName??y,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentType")}`},children:t.jsx(Z,{label:{label:a.paymentMethod,width:R},style:{width:"auto"},value:le(o?.method??""),additionalInfoLabel:wt()})}),t.jsx(q,{}),!h&&Y!=null?t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:f,dashboardTabKey:W({type:"details",key:"paymentDate"}),roomId:L,companyId:c.currentTenant?.companyId??y,companyName:c.currentTenant?.companyName??y,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentDate")}`},children:t.jsx(Z,{label:{label:a.paymentDate,width:R},style:{width:"auto"},value:Y.format(C),additionalInfoLabel:`${a.estimatedArrival}${oe(on(Y.toDate(),[0,6],o?.maxPeriod.value??0).toDateString()).format(C)} - (${ie.length>0?`${ie} `:""}${a.deliveryTimeLabel} = ${o?.maxPeriod.value??"0"} ${a.deliveryTimeUnits})`})}),t.jsx(q,{})]}):null,h?null:t.jsx(O,{isThreadAllowed:F,entityId:f,dashboardTabKey:W({type:"details",key:"paymentTo"}),roomId:L,companyId:c.currentTenant?.companyId??y,companyName:c.currentTenant?.companyName??y,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentTo")}`},children:t.jsx(Z,{label:{label:a.paymentTo,width:R},style:{width:"auto"},value:ut??"",additionalInfoLabel:gt})}),h||lt?t.jsxs(t.Fragment,{children:[t.jsx(q,{}),t.jsx(O,{isThreadAllowed:F,entityId:f,dashboardTabKey:W({type:"details",key:"recurringPaymentType"}),roomId:L,companyId:c.currentTenant?.companyId??y,companyName:c.currentTenant?.companyName??y,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("recurringPaymentType")}`},children:t.jsx(Z,{label:{label:a.paymentType,width:R},style:{width:"auto"},value:Wt(e.isRecurring,h,e.recurringBillInstance??1,e.recurringConfig?.totalPaymentCycles??0),additionalInfoLabel:Et(s,e.isRecurring,h,e.recurringConfig)})})]}):null]}),!h&&o?.method!=null&&(o.method.includes(I)||o?.fee.amount!=null&&o.fee.amount!==0)?t.jsx(fn,{children:t.jsxs(xn,{windowSize:s,children:[t.jsxs(bn,{children:[t.jsx(yn,{children:a.total}),t.jsx(Le,{style:{padding:`12px ${n.sp3}`,lineHeight:"18px"},maxWidth:"312px",title:t.jsxs(gn,{children:[t.jsxs(Ve,{children:[t.jsx(se,{children:o.method.includes(I)&&ee!==v.currencyCode?Ee.conversionAmountColon:Oe.invoiceAmount}),t.jsx(re,{children:A("0,0[.]00",{amount:p.amount-N.amount,currencySymbol:N.currencySymbol})})]}),t.jsxs(Ve,{children:[t.jsx(se,{children:Ee.transactionFee}),t.jsx(re,{children:A("0,0[.]00",{amount:N.amount,currencySymbol:N.currencySymbol})})]}),t.jsx(hn,{}),t.jsxs(un,{children:[t.jsx(se,{children:Oe.total}),t.jsx(re,{children:A("0,0[.]00",{amount:p.amount,currencyCode:p.currencyCode,currencySymbol:p.currencySymbol})})]})]}),placement:"top-end",children:t.jsx(pn,{})})]}),t.jsx(wn,{children:t.jsx(Fe,{amount:Re(p.amount,p.currencyCode,p.currencySymbol),integerStyles:U.h6Medium.cssObject,decimalStyles:U.standardMedium.cssObject})})]})}):null]}),t.jsx(Zt,{cancelBtn:{label:k&&!x?a.paymentOutsideZeni.markAsPaid:a.editBill,onClick:k&&!x?ve:ne,style:{width:Ge(!1,k,x,K,s)}},primaryBtn:{label:Ze(x,K,e.isBillMarkedForRetry),isLoading:z?.fetchState==="In-Progress"||X?.fetchState==="In-Progress",onClick:x?ve:()=>{vt&&ae!=null?_(!0):Se()},style:{width:Ge(!0,k,x,K,s)}},rightSideComponent:k&&!x&&z.fetchState!=="In-Progress"?t.jsx(_n,{windowSize:s,children:t.jsx(Le,{style:{color:S.heroDark,padding:`2px ${n.sp2}`},display:"flex",title:cn,placement:"top",children:t.jsx(qn,{onClick:ne,"data-testid":j("review-detail-edit-bill-button"),children:t.jsx(Un,{})})})}):null,style:{minHeight:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)?127:62,...e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)&&{padding:n.sp3,rowGap:n.sp3}},children:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)?t.jsxs(zn,{children:[a.internationalText1,t.jsx(Nn,{href:"https://www.nium.com/legal/end-customer-terms",target:"_Blank",rel:"noopener noreferrer",children:a.internationalTerms}),a.internationalText2]}):null})]})},Ze=(e,b,g)=>e?a.paymentOutsideZeni.markAsPaid:g===!0?a.retryPayment:b?a.sendForApproval:a.scheduleBill,Ge=(e,b,g,M,T)=>g?128:b&&!e&&T==="small"?"auto":M?165:m.footerButtonWidth.value(T),pn=i(en)`
|
|
1
|
+
import{Q as Tt,av as Ct,y as u,e$ as Dt,F as It,f0 as Pt,f1 as kt,V as t,f2 as At,f3 as le,f4 as Mt,f5 as Bt,f6 as Ft,aK as j,f7 as Lt,aL as A,f8 as Rt,f9 as zt,fa as Me,fb as Be,fc as Fe,b as U,fd as O,fe as E,ff as W,p as S,fg as Nt,fh as Ot,fi as Et,fj as Wt,bQ as Le,o as n,aO as Zt,u as d,ah as Gt,b$ as Vt,B as Yt,M as Kt,fk as _t,cf as Ut,ak as de,al as ce,fl as qt,fm as Ht,bg as Qt,c as Jt,b7 as Xt,ap as et,bI as en,ag as tt,br as tn,fn as nn}from"./index-Bc9FAOZe.js";import{a as G}from"./core-3dlyNYRL.js";import{n as i}from"./mui-bYXq4XMS.js";import{bp as Re,bn as ze,bK as I,bQ as an,fv as ln,bO as oe,bS as on}from"./zeni-epic-state-xFtF3OLs.js";import{t as rn,o as sn}from"./LowBalancePopup-BMSJwe7h-7plN5AfY.js";import{S as Z}from"./LabeledText-BNDM-899-daU3GCMx.js";import"./sentry-DxvQlcJu.js";import"./lottie-CaGAfnTY.js";import"./liveblocks-B3KbWbMM.js";import"./utils-C70QTjQC.js";import"./analytics-CThNEnNw.js";import"./recharts-CXSQ4XPK.js";import"./lexical-DPEnH3HH.js";const nt=["small","medium-compact","medium-regular"],m={largeLabelWidth:new u(150,215,215),infoMinWidth:new u(0,0,0,142,142),infoMarginRight:new u(0,0,0,d[2],d[2]),footerButtonWidth:new u(120,165),iconContainerMarginTop:new u(6,d[1]),navBarContainerPaddingTop:new u(10,d[3]),sectionTitleMarginLeft:new u(d[3],d[0]),reviewContainerMarginLeft:new u(d[3],d[6]),reviewContainerMarginRight:new u(d[3],d[8]),footerRightIconMarginRight:new u(d[0],d[0],d[7]),infoLabelPaddingRight:new u(d[0],d[3]),infoLabelMarginTop:new u(d[1],d[0])},dn={sectionTitle:new Yt("h6Medium","h5Medium")},{dateFormat:Ne,common:{currency:v,labels:Oe,edit:cn,strings:{empty:y}},spendManagement:{billPay:mn}}=It.getLocalizedStrings(),{billDetails:a,paymentDetails:Ee}=mn,We=({attachment:e})=>{const[b,g]=G.useState(!1),M=()=>{g(!1)},T=e.fileId?.length===0;return t.jsxs(On,{isDisabled:e.fileId?.length===0,"data-testid":j("attachment-tag",e.fileName),onClick:()=>T===!1?g(!0):null,children:[b&&e?.fileDownloadUrl!=null?t.jsx(qt,{title:e.fileName,file:e,onCrossClick:()=>M(),setShowFullScreenView:g}):null,t.jsx(En,{children:t.jsx(Ht,{contentType:e.contentType})})]})},di=({billDetails:e,billpayApprovalView:b,isBillPayCommentingEnabled:g,currentTenant:M,isInternationalPaymentShaVsOurEnabled:T,isLocalCurrencyEnabled:it,style:at,analytics:w,isRecurringBillsFeatureEnabled:lt,isApprovalRequiredForMarkAsPaid:ot,isDetectInsufficientFundsEnabled:rt,billId:f,onClickEdit:me,discardBillDetailsFromLocalStore:pe,saveBillDetails:ue,discardOutsideZeniPaymentData:st,updateBillDetailSaveBillCode:ye,redirectToBillsScreen:he,onAttachmentClick:J,retryPayment:dt})=>{const s=Tt(),c=Ct(),B={application:"dashboard",companyId:c.currentTenant?.companyId,tab:"bill",entityId:f},F=g&&f!=null,L=`dashboard_${c.currentTenant?.companyId}`,R=m.largeLabelWidth.value(s),z=e.saveStatus,X=e.zeniAssistRetryStatus,ee=e.vendor?.vendorCurrencyCode,o=Dt(T,it,e.billPayConfigList.filter(l=>l.method.includes(e.paymentDetailsSection?.withdrawFrom?.accType??"depositAccount")),e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,e.paymentDetailsSection?.paymentType,ee),C=Ne.visual.MMMDCommaYYYYformat,ge={amount:e.recipientTotalAmount.amount/(e.paymentDetailsSection?.conversionRate??1)*100/100,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},p={amount:o?.method.includes("international")===!0?Pt(ge,o):e.recipientTotalAmount.amount+(o?.fee.amount??0),currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},N={amount:o?.method.includes("international")===!0?kt(ge,o):o?.fee.amount??0,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},[ct,fe]=G.useState(!1),[mt,xe]=G.useState(!1),be=()=>fe(!1),pt=()=>{w.trackBillPayMagicLinkPreviewEmail("review_bill"),fe(!0)},ut=e.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${a.magicLink.collectFrom} ${e.toAccountVendorEmail}`,t.jsx(Rn,{size:s,children:t.jsx(Ln,{})})]}):At(e.paymentDetailsSection?.paymentTo);G.useEffect(()=>{(z?.fetchState==="Completed"||X?.fetchState==="Completed")&&(pe(),ye(),he())},[z,X,he,pe,ye]);const $=e.billPayInfo?.stage,P=e.billPayInfo?.billStatus,V=e.billPayInfo?.billPaymentStatus,yt=e.billPayInfo?.billPaymentRefundStatus,te=$?.code==="paid"?$:P?.code=="approved"&&V?.code?V:P,ht=e.billPayInfo?.isRefundInitiated===!0?yt:P?.code=="approved"&&V?.code?V:P,ne=()=>{me()},we=()=>{me()},Y=e.paymentDetailsSection?.paymentDate,ie=le(o?.method??""),$e=ie.replace("Same Day",""),gt=e.isCollectToAccountInfoFromVendorContact?t.jsx(Mt,{paymentTypeLabel:$e,onClick:pt}):a.addedByZeni,K=b.allApprovalRules.length>0,ft=Re(o?.method!=null&&(o.method.includes(I)||o?.fee.amount!=null&&o.fee.amount!==0)?p.amount-N.amount:p.amount,o?.fee.currencyCode??ze.currencyCode,o?.fee.currencySymbol??ze.currencySymbol),h=an(e.paymentDetailsSection?.paymentType?.method),xt=l=>{w.trackBillPayMarkAsPaidSubmit(l.paymentMode??"other",$?.code??"draft",te?.code??""),ue(!0,l)},ve=()=>{xe(!0),w.trackBillPayMarkAsPaid($?.code??"draft",te?.code??"")},bt=()=>{st(),xe(!1)},k=h&&($?.code!=null?$.code==="draft"||P?.code==="approved":!0),x=k&&!ot,je=Ze(x,K,e.isBillMarkedForRetry),wt=()=>h?x?void 0:a.paymentOutsideZeni.reviewInfo:o?.method!=null&&o.method.includes(I)&&e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod!=null&&T&&ee===v.currencyCode?Ot(e.paymentDetailsSection.internationalTransferFeeBearerPaymentMethod):void 0,ae=rt&&e.paymentDetailsSection!=null?Bt(p,e.paymentDetailsSection.withdrawFrom,e.paymentDetailsSection.paymentDate):void 0,$t=()=>{const l=e.paymentDetailsSection?.paymentDate,r=e.isCollectToAccountInfoFromVendorContact,D=e.recurringConfig,jt=e.recipientTotalAmount;if(e.isInvoiceDateAutoUpdated===!0&&w.trackBillPayAutoDateChange(f??"new_bill"),o?.method!=null&&l!=null){const St=h?a.paymentOutsideZeni.offline:le(o.method);if(w.trackBillPaySendForApproval(St,l.format(Ne.analytics.MMMDashDDDashYYYYFormat),r,e.isRecurring,f,e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,{startDate:oe(D?.startDate?.toString()??"").format(C),endDate:oe(D?.endDate?.toString()??"").format(C),frequency:D?.frequency??"monthly",totalAmount:jt.amount,totalPaymentCycles:D?.totalPaymentCycles??0,isApprovalRequired:D?.isApprovalRequired??!1,updateCurrentBill:e.recurringConfig?.id!=null?D?.updateRecurringBills==="current":void 0,updateFutureRecurringBills:e.recurringConfig?.id!=null?D?.updateRecurringBills==="all":void 0}),ae!=null){const Ce=$?.code??"draft",De=P?.code??"",Ie=e.isRecurring?["Recurring"]:["One-Time"],Pe=e.invoiceNumber??"",ke=nn(c.loggedInUser),Ae=e.paymentDetailsSection?.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account";je===a.scheduleBill?w.trackLowBalanceAccountSchedule(Ce,De,Ie,Pe,ke,Ae):je===a.sendForApproval&&w.trackLowBalanceAccountSentForApproval(Ce,De,Ie,Pe,ke,Ae)}}},Se=()=>{Te===!0&&_(!1),e.isBillMarkedForRetry===!0?(dt(),w.trackRetryConfirmClick(te?.code??"",$?.code??"",ht?.description??"",e.isRecurring?["Recurring"]:["One-Time"],e.invoiceNumber??"")):e.vendor!=null&&($t(),ue(!1,{}))},vt=ln(p.amount,b.allApprovalRules,c.loggedInUser),[Te,_]=G.useState(!1);return t.jsxs($n,{children:[mt?t.jsx(rn,{onCancel:bt,onProceedForMarkAsPaid:xt,saveDetailsFetchState:z?.fetchState,paymentData:e.outsideZeniPaymentInfo}):null,Te?t.jsx(sn,{withdrawFrom:e.paymentDetailsSection?.withdrawFrom,paymentDate:e.paymentDetailsSection?.paymentDate,onOkClick:Se,onCancelClick:()=>{_(!1),ne()},onClickAway:()=>{_(!1)}}):null,t.jsx(Ft,{anchor:"right",open:ct,onClose:be,transitionDuration:250,"data-testid":j("vendor-email-preview-drawer"),children:t.jsx(Lt,{companyName:Rt(M.company?.companyInfo),vendor:e.vendor?.name,paymentDate:Y?.format(C)??"",paymentType:$e,amount:A("0,0[.]00",p),isInvoiceAttached:!!e.file,onClose:be})}),t.jsxs(vn,{windowSize:s,style:at,children:[s==="small"?t.jsxs(Fn,{windowSize:s,children:[t.jsx(qe,{onClick:we,"data-testid":j("review-detail-nav-bar-small-back")}),t.jsx(Ye,{windowSize:s,children:a.oneLastLook})]}):t.jsx(Bn,{"data-testid":j("review-details-nav-bar-back"),children:t.jsx(qe,{onClick:we})}),s!=="small"?t.jsx(Sn,{children:t.jsx(Ye,{windowSize:s,children:a.oneLastLook})}):null,e.duplicateBillTransactions.length>0?t.jsxs(Tn,{children:[t.jsxs(Cn,{children:[t.jsx(Kn,{}),t.jsxs(Dn,{children:[t.jsx(Pn,{children:a.duplicateBillPayWarning}),t.jsxs(In,{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(Gn,{children:[t.jsx(Yn,{children:a.duplicateInvoiceFound}),e.duplicateBillTransactions.map(l=>{const r=zt(l);return l!=null?t.jsx(Vn,{children:nt.includes(s)?t.jsxs(Ke,{windowSize:s,children:[t.jsxs(kn,{children:[t.jsxs(An,{children:[l.attachments&&l.attachments.length>0?t.jsx(We,{attachment:l.attachments[0]}):t.jsx(He,{children:t.jsx(Qe,{})}),t.jsx(H,{children:t.jsxs(t.Fragment,{children:[l.documentId!=null?a.invoiceNo:null,l.documentId]})})]}),t.jsx(Je,{windowSize:s,children:A("0,0[.]00",l.recipientTotalAmount)})]}),t.jsxs(Wn,{"data-testid":j("review-detail-mobile-info"),onClick:()=>J(l.id,l.billPayInfo.stage.code),children:[t.jsxs(H,{children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(C)]}),t.jsx(Xe,{children:r!=null?Me.includes(r.code)?t.jsx(Be,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})]}):t.jsxs(Ke,{windowSize:s,children:[l.attachments&&l.attachments.length>0?t.jsx(We,{attachment:l.attachments[0]}):t.jsx(He,{children:t.jsx(Qe,{})}),t.jsxs(Zn,{"data-testid":j("review-detail-info"),onClick:()=>J(l.id,l.billPayInfo.stage.code),children:[t.jsx(H,{style:{width:"50%"},children:t.jsxs("div",{children:[l.documentId!=null?a.invoiceNo:null," ",l.documentId]})}),t.jsxs(H,{style:{width:"25%"},children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(C)]}),t.jsx(Je,{style:{width:"25%"},windowSize:s,children:A("0,0[.]00",l.amount)})]}),t.jsx(Xe,{children:r!=null?Me.includes(r.code)?t.jsx(Be,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(Q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})},l.id):null})]})]}):null,t.jsxs(Mn,{children:[t.jsx(_e,{children:a.pay}),t.jsx(Ue,{children:t.jsx(Fe,{amount:ft,integerStyles:U.largeMedium.cssObject,decimalStyles:U.smallMedium.cssObject})}),t.jsx(_e,{children:a.to}),t.jsx(Ue,{children:e.vendor?.name})]}),t.jsxs(jn,{children:[h?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:f,dashboardTabKey:W({type:"details",key:"withdrawFrom"}),roomId:L,companyId:c.currentTenant?.companyId??y,companyName:c.currentTenant?.companyName??y,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("withdrawFrom")}`},children:t.jsx(Z,{label:{label:a.withdrawFrom,width:R},style:{width:"auto"},value:e.paymentDetailsSection?.withdrawFrom!=null?Nt(e.paymentDetailsSection.withdrawFrom,s):y,infoLabelStyle:{textAlign:s==="small"?"left":"right",paddingRight:m.infoLabelPaddingRight.valuePx(s),marginTop:m.infoLabelMarginTop.valuePx(s),color:S.brandColorGoldDark},additionalInfoLabel:ae})}),t.jsx(q,{})]}),t.jsx(O,{isThreadAllowed:F,entityId:f,dashboardTabKey:W({type:"details",key:"paymentType"}),roomId:L,companyId:c.currentTenant?.companyId??y,companyName:c.currentTenant?.companyName??y,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentType")}`},children:t.jsx(Z,{label:{label:a.paymentMethod,width:R},style:{width:"auto"},value:le(o?.method??""),additionalInfoLabel:wt()})}),t.jsx(q,{}),!h&&Y!=null?t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:f,dashboardTabKey:W({type:"details",key:"paymentDate"}),roomId:L,companyId:c.currentTenant?.companyId??y,companyName:c.currentTenant?.companyName??y,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentDate")}`},children:t.jsx(Z,{label:{label:a.paymentDate,width:R},style:{width:"auto"},value:Y.format(C),additionalInfoLabel:`${a.estimatedArrival}${oe(on(Y.toDate(),[0,6],o?.maxPeriod.value??0).toDateString()).format(C)} - (${ie.length>0?`${ie} `:""}${a.deliveryTimeLabel} = ${o?.maxPeriod.value??"0"} ${a.deliveryTimeUnits})`})}),t.jsx(q,{})]}):null,h?null:t.jsx(O,{isThreadAllowed:F,entityId:f,dashboardTabKey:W({type:"details",key:"paymentTo"}),roomId:L,companyId:c.currentTenant?.companyId??y,companyName:c.currentTenant?.companyName??y,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentTo")}`},children:t.jsx(Z,{label:{label:a.paymentTo,width:R},style:{width:"auto"},value:ut??"",additionalInfoLabel:gt})}),h||lt?t.jsxs(t.Fragment,{children:[t.jsx(q,{}),t.jsx(O,{isThreadAllowed:F,entityId:f,dashboardTabKey:W({type:"details",key:"recurringPaymentType"}),roomId:L,companyId:c.currentTenant?.companyId??y,companyName:c.currentTenant?.companyName??y,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("recurringPaymentType")}`},children:t.jsx(Z,{label:{label:a.paymentType,width:R},style:{width:"auto"},value:Wt(e.isRecurring,h,e.recurringBillInstance??1,e.recurringConfig?.totalPaymentCycles??0),additionalInfoLabel:Et(s,e.isRecurring,h,e.recurringConfig)})})]}):null]}),!h&&o?.method!=null&&(o.method.includes(I)||o?.fee.amount!=null&&o.fee.amount!==0)?t.jsx(fn,{children:t.jsxs(xn,{windowSize:s,children:[t.jsxs(bn,{children:[t.jsx(yn,{children:a.total}),t.jsx(Le,{style:{padding:`12px ${n.sp3}`,lineHeight:"18px"},maxWidth:"312px",title:t.jsxs(gn,{children:[t.jsxs(Ve,{children:[t.jsx(se,{children:o.method.includes(I)&&ee!==v.currencyCode?Ee.conversionAmountColon:Oe.invoiceAmount}),t.jsx(re,{children:A("0,0[.]00",{amount:p.amount-N.amount,currencySymbol:N.currencySymbol})})]}),t.jsxs(Ve,{children:[t.jsx(se,{children:Ee.transactionFee}),t.jsx(re,{children:A("0,0[.]00",{amount:N.amount,currencySymbol:N.currencySymbol})})]}),t.jsx(hn,{}),t.jsxs(un,{children:[t.jsx(se,{children:Oe.total}),t.jsx(re,{children:A("0,0[.]00",{amount:p.amount,currencyCode:p.currencyCode,currencySymbol:p.currencySymbol})})]})]}),placement:"top-end",children:t.jsx(pn,{})})]}),t.jsx(wn,{children:t.jsx(Fe,{amount:Re(p.amount,p.currencyCode,p.currencySymbol),integerStyles:U.h6Medium.cssObject,decimalStyles:U.standardMedium.cssObject})})]})}):null]}),t.jsx(Zt,{cancelBtn:{label:k&&!x?a.paymentOutsideZeni.markAsPaid:a.editBill,onClick:k&&!x?ve:ne,style:{width:Ge(!1,k,x,K,s)}},primaryBtn:{label:Ze(x,K,e.isBillMarkedForRetry),isLoading:z?.fetchState==="In-Progress"||X?.fetchState==="In-Progress",onClick:x?ve:()=>{vt&&ae!=null?_(!0):Se()},style:{width:Ge(!0,k,x,K,s)}},rightSideComponent:k&&!x&&z.fetchState!=="In-Progress"?t.jsx(_n,{windowSize:s,children:t.jsx(Le,{style:{color:S.heroDark,padding:`2px ${n.sp2}`},display:"flex",title:cn,placement:"top",children:t.jsx(qn,{onClick:ne,"data-testid":j("review-detail-edit-bill-button"),children:t.jsx(Un,{})})})}):null,style:{minHeight:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)?127:62,...e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)&&{padding:n.sp3,rowGap:n.sp3}},children:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)?t.jsxs(zn,{children:[a.internationalText1,t.jsx(Nn,{href:"https://www.nium.com/legal/end-customer-terms",target:"_Blank",rel:"noopener noreferrer",children:a.internationalTerms}),a.internationalText2]}):null})]})},Ze=(e,b,g)=>e?a.paymentOutsideZeni.markAsPaid:g===!0?a.retryPayment:b?a.sendForApproval:a.scheduleBill,Ge=(e,b,g,M,T)=>g?128:b&&!e&&T==="small"?"auto":M?165:m.footerButtonWidth.value(T),pn=i(en)`
|
|
2
2
|
width: ${n.sp3};
|
|
3
3
|
height: ${n.sp3};
|
|
4
4
|
color: ${e=>e.theme.colors.hero};
|
package/dist/assets/{ReviewOverlay-DkL6mTyl-BFHL0-xi.js → ReviewOverlay-DkL6mTyl-BWp95RsJ.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Q as M,V as e,aK as x,o as r,aO as P,y as d,_ as L,B as C,M as W,p as s,ak as $,cy as R,A as D,ag as j,bf as I,u as n,el as G,s as A,iQ as Q,j$ as F}from"./index-
|
|
1
|
+
import{Q as M,V as e,aK as x,o as r,aO as P,y as d,_ as L,B as C,M as W,p as s,ak as $,cy as R,A as D,ag as j,bf as I,u as n,el as G,s as A,iQ as Q,j$ as F}from"./index-Bc9FAOZe.js";import{n as t}from"./mui-bYXq4XMS.js";const l={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])},O={title:new C("h6Regular","h5Regular")},xi=({title:i,description:p,reviewItems:S,showFooter:b,footerProps:{primaryButton:z,cancelButton:E,hideCancel:T},onCloseOverlay:k,onCloseReviewItem:B})=>{const a=M();return e.jsxs(_,{children:[e.jsx(N,{windowSize:a,children:e.jsx(X,{children:e.jsx(Z,{windowSize:a,children:e.jsx(ii,{children:e.jsx(ei,{onClick:k,"data-testid":x("review-overlay-close",i)})})})})}),e.jsxs(H,{windowSize:a,children:[e.jsxs(J,{windowSize:a,children:[e.jsx(K,{children:e.jsx(U,{windowSize:a,children:i})}),e.jsx(Y,{isError:p.isError,windowSize:a,children:p.content})]}),e.jsx(q,{windowSize:a,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:()=>B(o.id),"data-testid":x("review-close",o.id)}):null,e.jsxs(ti,{children:[e.jsxs(ni,{children:[e.jsx(di,{children:V(o)}),e.jsxs(oi,{children:[e.jsxs(m,{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(m,{children:[e.jsx(si,{style:{marginLeft:r.sp2},children:o.leftSideText.subTitle}),a!=="small"?e.jsxs(w,{windowSize:a,children:[e.jsx(g,{isError:h,isWarning:c,children:e.jsxs(e.Fragment,{children:[o.rightSideText.showThunderIcon===!0?e.jsx(v,{children:e.jsx(y,{})}):null,o.rightSideText.subTitle]})}),e.jsx(g,{isWarning:!0,isError:!1,children:o.rightSideText.additonalInfo})]}):null]})]})]}),a==="small"?e.jsxs(w,{windowSize:a,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(v,{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(P,{primaryBtn:z,cancelBtn:E,showCancel:!T}):null]})},V=i=>i.reviewStatus.isLoading?e.jsx(D,{size:"Small",style:{display:"flex",width:r.sp4,height:r.sp4,alignItems:"center",justifyContent:"center"},start:!0}):i.reviewStatus.code==="error"?e.jsx(f,{isError:!0}):i.reviewStatus.code==="warning"?e.jsx(f,{isError:!1}):i.reviewStatus.code==="valid"?e.jsx(ai,{}):i.reviewStatus.code==="low-balance"?e.jsx(hi,{}):e.jsx(li,{}),_=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${i=>i.theme.colors.grey4};
|
package/dist/assets/{RoleWithToolTip-DRSravXg-BxOW9LcQ.js → RoleWithToolTip-DRSravXg-BbhZ166y.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{eP as h,eQ as x,V as s,bQ as m,o as n,aK as o,F as g,am as j,ag as p}from"./index-
|
|
1
|
+
import{eP as h,eQ as x,V as s,bQ as m,o as n,aK as o,F as g,am as j,ag as p}from"./index-Bc9FAOZe.js";import{n as r}from"./mui-bYXq4XMS.js";const{hyphen:a}=g.getLocalizedStrings().common.strings,y=r.div``,f=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-width: 192px;
|
|
4
4
|
justify-content: space-between;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aN as K,ie as ee,gA as me,eA as Le,ig as we,a8 as Je,ih as Me,cB as Ve,cC as _e,V as a,F as ye,ab as Pe,cm as Fe,cn as Ne,co as qe,aO as Be,ii as Re,ij as We,a9 as he,ik as fe,il as Ue,cO as ze,Q as $e,iA as Ge,gF as re,u as R,p as Se,y as De,cE as Ke,im as He,io as Ye,ip as Ze,o as _}from"./index-
|
|
1
|
+
import{aN as K,ie as ee,gA as me,eA as Le,ig as we,a8 as Je,ih as Me,cB as Ve,cC as _e,V as a,F as ye,ab as Pe,cm as Fe,cn as Ne,co as qe,aO as Be,ii as Re,ij as We,a9 as he,ik as fe,il as Ue,cO as ze,Q as $e,iA as Ge,gF as re,u as R,p as Se,y as De,cE as Ke,im as He,io as Ye,ip as Ze,o as _}from"./index-Bc9FAOZe.js";import{a as m}from"./core-3dlyNYRL.js";import{n as U}from"./mui-bYXq4XMS.js";import{f_ as Qe,f$ as Xe}from"./zeni-epic-state-xFtF3OLs.js";import{i as et,r as tt,n as lt,o as at}from"./ScheduleSequenceTable-BCmdqAXy-DvImaTPG.js";import"./sentry-DxvQlcJu.js";import"./lottie-CaGAfnTY.js";import"./liveblocks-B3KbWbMM.js";import"./utils-C70QTjQC.js";import"./analytics-CThNEnNw.js";import"./recharts-CXSQ4XPK.js";import"./lexical-DPEnH3HH.js";const W={labelWidth:new De(160,160,160),depCategoryLabelWidth:new De(200,280,280)},st=U.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aN as _,ie as Q,gA as ke,eA as Ae,ig as Ie,a8 as Je,ih as Le,cB as we,cC as Me,V as a,F as fe,ab as Ve,cm as Pe,cn as Fe,co as _e,aO as $e,ii as Be,ij as Ne,a9 as ie,ik as he,il as qe,cO as Ue,Q as ze,gF as pe,u as X,p as We,y as Re,im as Ke,io as Ge,ip as He,o as L}from"./index-
|
|
1
|
+
import{aN as _,ie as Q,gA as ke,eA as Ae,ig as Ie,a8 as Je,ih as Le,cB as we,cC as Me,V as a,F as fe,ab as Ve,cm as Pe,cn as Fe,co as _e,aO as $e,ii as Be,ij as Ne,a9 as ie,ik as he,il as qe,cO as Ue,Q as ze,gF as pe,u as X,p as We,y as Re,im as Ke,io as Ge,ip as He,o as L}from"./index-Bc9FAOZe.js";import{a as D}from"./core-3dlyNYRL.js";import{n as P}from"./mui-bYXq4XMS.js";import{f_ as Ye,f$ as Qe,bO as Xe}from"./zeni-epic-state-xFtF3OLs.js";import{i as Ze,r as et,n as tt,o as lt}from"./ScheduleSequenceTable-BCmdqAXy-DvImaTPG.js";import"./sentry-DxvQlcJu.js";import"./lottie-CaGAfnTY.js";import"./liveblocks-B3KbWbMM.js";import"./utils-C70QTjQC.js";import"./analytics-CThNEnNw.js";import"./recharts-CXSQ4XPK.js";import"./lexical-DPEnH3HH.js";const q={labelWidth:new Re(160,160,160)},at=P.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Q as I,d as K,V as t,iq as ie,F as R,ir as le,B as oe,is as xe,dS as fe,fc as we,b as A,it as ye,ip as be,o as i,y as b,p as j,c as $e,a9 as re,dO as je,cm as Se,co as ke,cO as Z,cW as ee,cU as ve,iu as Q,iv as De,b1 as Ce,iw as Me,cq as ze,ix as Le,u as h,ak as L,b7 as Oe,cn as Ee,an as pe,cX as Ae,a$ as ne,d7 as Ie,aO as Ve,iy as V,gb as Fe,aL as Te,iz as Be,aS as _,cY as Je,bf as Pe}from"./index-
|
|
1
|
+
import{Q as I,d as K,V as t,iq as ie,F as R,ir as le,B as oe,is as xe,dS as fe,fc as we,b as A,it as ye,ip as be,o as i,y as b,p as j,c as $e,a9 as re,dO as je,cm as Se,co as ke,cO as Z,cW as ee,cU as ve,iu as Q,iv as De,b1 as Ce,iw as Me,cq as ze,ix as Le,u as h,ak as L,b7 as Oe,cn as Ee,an as pe,cX as Ae,a$ as ne,d7 as Ie,aO as Ve,iy as V,gb as Fe,aL as Te,iz as Be,aS as _,cY as Je,bf as Pe}from"./index-Bc9FAOZe.js";import{n as o,b as J}from"./mui-bYXq4XMS.js";import{a as C}from"./core-3dlyNYRL.js";import{bj as G,g0 as Re}from"./zeni-epic-state-xFtF3OLs.js";const N=(e,l)=>`${e}.${l}`,{formElements:{dayOfMonthSelector:M},common:se}=R.getLocalizedStrings();function Ne({defaultValue:e,name:l,placeholder:s,alignLeft:r=!1,style:p,isDisabled:n,registerOptions:d,onSaveClick:c,onCancelClick:y}){const[f,u]=C.useState(!1),{control:m,formState:{errors:x},setValue:S}=Z(),v=()=>{k||(c(),u(!1))},w=()=>{y(),u(!1)},k=ee(x,l),g=I(),a=K();return t.jsx(pe,{onClickAway:()=>{u(!1)},children:t.jsx(Xe,{style:p,isDisabled:n!=null,windowSize:g,onClick:()=>{!f&&n==null&&u(!0)},children:t.jsx(Ae,{name:N(l,"dayOfMonth"),control:m,rules:{...d},render:()=>t.jsxs(He,{children:[t.jsx(We,{placeholder:s,defaultValue:e,isDisabled:n}),f?t.jsxs(Ge,{alignLeft:r===!0,children:[t.jsx(et,{}),t.jsxs(ae,{isSelected:e.type==="day",children:[t.jsxs(Ze,{isError:e.type==="day"&&k,children:[t.jsx(ne,{label:{label:M.pickDate},radioField:{id:"day",name:N(l,"type"),value:"day",radioSize:"small",checked:e.type==="day"},style:{...A.smallRegular.cssObject,padding:`${i.sp3} ${i.sp0}`,width:"fit-content",marginLeft:i.sp3,minWidth:"35%"},labelStyle:{color:e.type==="day"&&k?j.important:"inherit"}}),t.jsx(Ie,{name:N(l,"dayOfMonth"),type:"number",placeholder:M.placeholder,disableCopyPaste:!0,autoTrim:"trim",onKeyDown:$=>{$.key!=="Backspace"&&isNaN(parseInt($.key))&&$.preventDefault()},defaultValue:e.dayOfMonth!=null&&!isNaN(e.dayOfMonth)?e.dayOfMonth:0,registerOptions:{min:1,max:28},outerDivStyle:{width:"fit-content",marginLeft:i.sp1,marginRight:i.sp1},style:{border:`1px solid ${e.type==="day"&&k?j.important:a.colors.grey2}`,borderRadius:i.sp1,...A.smallRegular.cssObject,padding:i.sp2,maxWidth:"35px",boxSizing:"border-box"}}),t.jsx(Ue,{isSelected:e.type==="day",children:M.ofEveryMonth})]}),t.jsx(Ye,{defaultValue:e.dayOfMonth,onClick:$=>{S(`${l}.dayOfMonth`,$),S(`${l}.type`,"day")}})]}),t.jsx(tt,{}),t.jsx(ae,{isSelected:e.type==="lastDayOfMonth",children:t.jsx(ne,{label:{label:M.lastDayOfMonth},radioField:{id:"lastDayOfMonth",name:N(l,"type"),value:"lastDayOfMonth",radioSize:"small",checked:e.type==="lastDayOfMonth"},style:{...A.smallRegular.cssObject,padding:`${i.sp3} ${i.sp0}`,width:"fit-content",marginLeft:i.sp3},labelStyle:{color:e.type==="lastDayOfMonth"&&k?j.important:"inherit"}})}),t.jsx(Ve,{primaryBtn:{label:se.footer.save,onClick:v,isDisabled:qe(e),type:"button",style:{minWidth:"83px"}},cancelBtn:{label:se.footer.cancel,onClick:w,style:{minWidth:"83px"}},style:{position:"unset",backgroundColor:"transparent"}})]}):null]})})})})}function We({placeholder:e,defaultValue:l,isDisabled:s}){return t.jsxs(_e,{isDisabled:s!=null,children:[l?.type==null?t.jsx(Qe,{children:e}):null,l?.type=="day"&&l.dayOfMonth!=null?t.jsxs(de,{children:[t.jsx(W,{children:M.daysOfMonth[`${l.dayOfMonth}`]}),t.jsx(W,{children:M.ofEveryMonth})]}):null,l?.type==="lastDayOfMonth"?t.jsxs(de,{children:[t.jsx(W,{children:M.daysOfMonth.lastDayOfMonth}),t.jsx(W,{children:M.ofEveryMonth})]}):null]})}function Ye({defaultValue:e,onClick:l}){return t.jsxs(Ke,{children:[t.jsx(Y,{children:[...Array(7).keys()].map(s=>{const r=s+1;return t.jsx(q,{isSelected:r===e,onClick:()=>l(Re(r)),children:r},r)})}),t.jsx(Y,{children:[...Array(7).keys()].map(s=>{const r=s+8;return t.jsx(q,{isSelected:r===e,onClick:()=>l(r),children:r},r)})}),t.jsx(Y,{children:[...Array(7).keys()].map(s=>{const r=s+15;return t.jsx(q,{isSelected:r===e,onClick:()=>l(r),children:r},r)})}),t.jsx(Y,{children:[...Array(7).keys()].map(s=>{const r=s+22;return t.jsx(q,{isSelected:r===e,onClick:()=>l(r),children:r},r)})})]})}const qe=e=>{switch(e.type){case"day":return e.dayOfMonth==null;case"lastDayOfMonth":return!1;default:return!0}},He=o.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
`,_e=o.div`
|
|
4
4
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c_ as Gh,c$ as ir,d0 as Hh,d1 as qt,d2 as xl,d3 as Ot,d4 as Zh,d5 as Tl,d6 as ls,d7 as Yh,d8 as Wh,d9 as mr,da as ar,db as Kh,dc as nn,dd as qo,cP as Jh,de as No,df as Xr,dg as kt,dh as Xh,di as Il,dj as Al,dk as Qh,dl as ed,dm as td,dn as rd,dp as hs,dq as nd,dr as id,ds as ad,dt as od,cV as sd,du as Cl,dv as ud,bO as Jr,dw as ds,dx as cd,dy as Pl,dz as an,dA as pt,dB as Do,dC as fd,dD as ld,B as et,A as ye,dE as $o,dF as hd,dG as dd,dH as pd,dI as kl,dJ as md,dK as ps,dL as gd,dM as vd,dN as bn,dO as yd,dP as _d,dQ as St,dR as bd,cC as wd,dS as jl,dT as Ll,dU as Mo,dV as Fo,dW as Ed,dX as Sd,dY as Rd,dZ as Od,d_ as xd,d$ as Td,e0 as Id,e1 as Ad,e2 as Cd,e3 as Zt,e4 as Bo,e5 as Pd,e6 as kd,e7 as jd,e8 as ql,e9 as Nl,ea as Ld,eb as Dl,ec as qd,ed as Nd,ee as Dd,ef as $d,eg as Md,eh as Fd,ei as Bd,ej as Ud,ek as $l,el as wn,em as Ml,en as Uo,eo as Vd,ep as Fl,eq as zd,er as Gd,es as Hd,et as Zd,eu as Yd,ev as Wd,ew as Kd,ex as Jd,c3 as Xd,bd as Qd,ey as ep,ez as Mt,eA as tp,eB as rp,eC as np,eD as Po,bb as ip}from"./zeni-epic-state-
|
|
1
|
+
import{c_ as Gh,c$ as ir,d0 as Hh,d1 as qt,d2 as xl,d3 as Ot,d4 as Zh,d5 as Tl,d6 as ls,d7 as Yh,d8 as Wh,d9 as mr,da as ar,db as Kh,dc as nn,dd as qo,cP as Jh,de as No,df as Xr,dg as kt,dh as Xh,di as Il,dj as Al,dk as Qh,dl as ed,dm as td,dn as rd,dp as hs,dq as nd,dr as id,ds as ad,dt as od,cV as sd,du as Cl,dv as ud,bO as Jr,dw as ds,dx as cd,dy as Pl,dz as an,dA as pt,dB as Do,dC as fd,dD as ld,B as et,A as ye,dE as $o,dF as hd,dG as dd,dH as pd,dI as kl,dJ as md,dK as ps,dL as gd,dM as vd,dN as bn,dO as yd,dP as _d,dQ as St,dR as bd,cC as wd,dS as jl,dT as Ll,dU as Mo,dV as Fo,dW as Ed,dX as Sd,dY as Rd,dZ as Od,d_ as xd,d$ as Td,e0 as Id,e1 as Ad,e2 as Cd,e3 as Zt,e4 as Bo,e5 as Pd,e6 as kd,e7 as jd,e8 as ql,e9 as Nl,ea as Ld,eb as Dl,ec as qd,ed as Nd,ee as Dd,ef as $d,eg as Md,eh as Fd,ei as Bd,ej as Ud,ek as $l,el as wn,em as Ml,en as Uo,eo as Vd,ep as Fl,eq as zd,er as Gd,es as Hd,et as Zd,eu as Yd,ev as Wd,ew as Kd,ex as Jd,c3 as Xd,bd as Qd,ey as ep,ez as Mt,eA as tp,eB as rp,eC as np,eD as Po,bb as ip}from"./zeni-epic-state-xFtF3OLs.js";import{j as U,D as on,n as tt,S as Bt}from"./mui-bYXq4XMS.js";import{p as Ve,x as Ke,y as ct,z as ap,a as le,n as Oe,o as ze,N as er,s as bt,t as xe,e as Bl,d as Ul,g as op,u as Vo,q as ko}from"./core-3dlyNYRL.js";import{d as Ut,Q as sn,e as Ue,z as We,y as ut,f as sp,W as up,g as un,h as cp,N as xt,F as or,i as Vt,j as Nt,A as cn,o as Pt,q as fp,v as lp,k as jt,l as zo,D as Lt,Z as hp,Y as dp,u as En,X as pp,m as Vl,w as mp,r as zl,t as Gl,x as jo,C as gp,G as vp,H as yp,I as Hl,J as _p,K as bp,L as wp,O as Ep,R as Sp,S as Rp,T as Op,$ as xp,a0 as Tp,a1 as Ip,a2 as Ap,a3 as Cp,a4 as Pp}from"./index-Bc9FAOZe.js";import{f as kp}from"./analyticsHelper-BDju9Ap5.js";import{q as He,v as jp,w as Lp,x as qp,y as Go,z as Np,A as Dp,B as $p,C as zt,D as Mp,E as rr,F as fn,G as Fp,H as sr,I as Bp}from"./utils-C70QTjQC.js";import{r as Ho}from"./empty-CnIz-OQ7.js";import{r as ur,a as Up}from"./index-CwsnnJzI.js";import{r as Vp}from"./index-BxXAQ-Kq.js";import"./sentry-DxvQlcJu.js";import"./lottie-CaGAfnTY.js";import"./liveblocks-B3KbWbMM.js";import"./analytics-CThNEnNw.js";import"./recharts-CXSQ4XPK.js";import"./lexical-DPEnH3HH.js";import"./url-y5lCWhwX.js";const zp={overlayWidth:new ut(100,100,50)},{common:{strings:ms}}=or.getLocalizedStrings();function Gp(e,n){return{headerActions:{onTabChange:o=>{const i=Nt(o),a=Vt(o);Ue.trackCockpitTabClicked(a),n.navigate(`../../${i}`,{replace:!0})},filterActions:{onFilterTextChanged:(o,i)=>{e(mr({uiState:{filterText:i}}))},onFiltersChange:(o,i)=>{i.categories!=null&&i.categoryCombinationOperator!=null&&Ue.trackHealthMonitorFiltersApplied({filterSelection:{condition:i.categories.map(a=>a.matchingOperator).join(ms.comma),logic:i.categoryCombinationOperator,parameter:i.categories.map(a=>a.field).join(ms.comma)}}),e(mr({uiState:{filters:i}}))}}},healthPageActions:{onRowClick:o=>{e(Tl(o))},onColumnSortConfigChanged:(o,i)=>{e(mr({uiState:{sortKey:o,sortOrder:i}}))},onCockpitReloadData:o=>{o==="healthMonitor"&&e(xl())},onFiltersChange:o=>{e(mr({uiState:{filters:o}}))}}}}function Hp(e,n){return{headerData:{selectedTabOption:xt("healthMonitor")},healthPageData:{healthView:n.healthView,managementView:n.managementView,mixpanelUrl:n.mixpanelHMUrl}}}const Zp=ze(Hp,Gp)(cp);function Sn({isDrawerOpen:e}){const n=Ve(),o=Ke(),i=Ut(),a=sn(),{companyId:t}=ct(),[r,s]=ap(),[d,l]=le.useState(!1),f=Oe(b=>Gh(b)),h=Oe(b=>ir(b)),{additionalChurnFactors:c}=Oe(b=>Hh(b)),{selectedCompanyDetail:w,selectedCompanyId:m,localFormDataAndStatusByCompanyId:y}=f,g=Oe(b=>b.companyViewState.zeniUsers.fetchState),u=Oe(b=>b.companyHealthMetricConfigViewState);if(le.useEffect(()=>{const b=v=>v==="Not-Started"||v==="Error";f.fetchState==="Completed"?o(qt(!1)):b(f.fetchState)&&(o(xl()),b(g)&&o(Ot()),b(u.fetchState)&&o(Zh()))},[f.fetchState,u.fetchState]),le.useEffect(()=>{t!=null&&f.fetchState==="Completed"&&r.has("utm_source")===!0&&(o(Tl(t)),w!=null&&(Ue.trackCockpitHealthMonitorNotificationAlertClicked(r.get("utm_source"),{companyId:w.companyInfo.companyId,companyName:w.companyInfo.name,churnProbability:w.companyHealthMetric.churnProbabilityPercentage??null}),l(r.has("utm_source")),r.delete("utm_source"),s(r)))},[f.fetchState,w?.companyInfo.companyId,w?.companyInfo.name]),We.getSignedInUser()==null)throw Error("Can't access Health Monitor page without signing in...");return U.jsxs(U.Fragment,{children:[e===!0||m!=null&&w!=null?U.jsx(on,{anchor:"right",open:m!=null,PaperProps:{style:{width:zp.overlayWidth.valuePercentage(a),boxShadow:"none"}},slotProps:{backdrop:{style:{backgroundColor:i.colors.black,opacity:.75,cursor:"pointer"}}},onClose:()=>o(ls()),children:U.jsx(sp,{roomId:`cockpit_${m}`,autoConnect:!0,children:U.jsx(up,{onSaveClick:()=>{m!=null&&o(Wh(m))},onSaveChangesToLocalStore:b=>{f.selectedCompanyId!=null&&o(Yh({companyId:f.selectedCompanyId,updatedLocalData:b}))},localData:y?.companyHealthMetricLocalData??{netPromoterScore:void 0,externalProductServiceExposure:void 0,additionalChurnFactors:{increasingChurnProbability:[],decreasingChurnProbability:[]}},companyHealthMetricViewSelector:f,onCloseDrawer:()=>o(ls()),analytics:Ue,urlSource:d,additionalChurnFactorsOptions:c})})}):null,U.jsx(Zp,{healthView:f,managementView:h,navigate:n,mixpanelHMUrl:un.mixpanelHMUrl})]})}const Zl=(e,n)=>{const o=[...e??[]];return o.push(n),o},Yp=e=>{const n=[...e??[]];return{poppedPathname:n.pop(),newStack:n}},Wp=(e=2)=>{let n="../";for(let o=0;o<e;o++)n=`${n}../`;return n},Pe=({state:e,element:n})=>We.isSignedIn()===!0?U.jsx(U.Fragment,{children:n}):U.jsx(er,{to:"/signin/auth",replace:!0,state:{...e,message:"...",origin:window.location.pathname}});function Kp(){return U.jsxs(bt,{children:[U.jsx(xe,{path:"/companies/:companyId",element:U.jsx(Pe,{element:U.jsx(Sn,{isDrawerOpen:!0})})}),U.jsx(xe,{path:"/",element:U.jsx(Pe,{element:U.jsx(Sn,{})})}),U.jsx(xe,{path:"/*",element:U.jsx(Pe,{element:U.jsx(Sn,{})})})]})}const Jp={drawerLeftMargin:new ut(0,0,240)};function cr(e){const{isOpen:n,drawerLeftMargin:o,children:i,onClose:a}=e,t=sn(),r=o?.valuePx(t)??Jp.drawerLeftMargin.valuePx(t),s=Ut();return U.jsx(on,{anchor:"right",open:n,PaperProps:{style:{width:`calc(100% - ${r})`}},slotProps:{backdrop:{style:{backgroundColor:s.colors.black,opacity:.8,cursor:"pointer"}}},onClose:a,children:i})}const Xp=({fetchState:e})=>e==="In-Progress"||e==="Not-Started"?U.jsx(Qp,{children:U.jsx(cn,{size:"ExtraLarge",start:!0})}):null,Qp=tt.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
height: 100%;
|