@zeniai/web-cockpit-ui 1.15.4-qa → 1.15.5-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-uGxVPurg-CSTBBuQO.js → ACHDetailsPage-BLKhKkZC-CoU9qIfj.js} +1 -1
- package/dist/assets/{AIPerformancePage-DqmxZNlX-CD4PTSl6.js → AIPerformancePage-J3dtNEgn-DnDSfWCN.js} +103 -103
- package/dist/assets/{AccountInfoPage-C2Dq8UPa-DbUqKkGr.js → AccountInfoPage-CI5UcHFj-BegJKMi4.js} +3 -3
- package/dist/assets/{AccountInfoPageContent-HVhR3c9c-BTAStM9V.js → AccountInfoPageContent-D8oVcn1T-BXq3_V4W.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-DM9AQ-14-CoO7wjK9.js → AccountLockedInfoModal-B9_FdrYm-5NyxuZ6Z.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-zcvYkXrD-Dbe0H637.js → AccountReconDetailsDrawerPage-DFjW0u9--BQEqjGYe.js} +39 -39
- package/dist/assets/{AccountRow-B3ULDo0k-C-jIzuWE.js → AccountRow-Bq6uJ1hA-Vc9-Z3M-.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-CJZlWV2d-1dJ7ni4T.js → AccountsPromoCardStack-DQmHrc8b-Vd3CyDRc.js} +3 -3
- package/dist/assets/{AddAddressForCardDrawer-Rm7tH3HQ-DZTmUgpi.js → AddAddressForCardDrawer-O987RTn2-BVD6IV9k.js} +1 -1
- package/dist/assets/{AddToWalletPage-DfB-vvqh-DUAF88ZP.js → AddToWalletPage-C2Z6f8Y6-DKRITatO.js} +1 -1
- package/dist/assets/{AgingReportsPage-__jUwahK-B6-kjXQe.js → AgingReportsPage-BlPqvXdx-BhMR9uMZ.js} +3 -3
- package/dist/assets/{AllUserItems-Coo6Qik6-CvwzldZi.js → AllUserItems-CL17FcAl-HA7Ybf9E.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-C1LyqY_A-CwTL7ATF.js → ApAgingDetailPage-CHVwRH_g-DOXwF09t.js} +1 -1
- package/dist/assets/{AppBasePage-Cz2ddFfo-BclY1Wkm.js → AppBasePage-CnlPnTBn-DzDs3_Wg.js} +1 -1
- package/dist/assets/{AppDrawerContent-CObWehh2-DDaZ77eU.js → AppDrawerContent-C2CNe5yn-CV61WWnW.js} +5 -5
- package/dist/assets/{ApprovalRulesSettingsPage-ZqKHe7B_-CU8TBRQ0.js → ApprovalRulesSettingsPage-XsMzIe4e-WBRcfJJV.js} +1 -1
- package/dist/assets/{ArAgingChart-CjRE8wyO-DuIHY7ik.js → ArAgingChart-Ck1uAv_a-BqG8XmZ6.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-DXjs7XAS-DXCvwuMN.js → ArAgingDetailPage-KRWJzbCq-SXmC1xou.js} +5 -5
- package/dist/assets/{AttachmentView-C3WpRmXR-Bolhu6cG.js → AttachmentView-uaen0kuU-Bv_0F11t.js} +1 -1
- package/dist/assets/{BankAccountSection-BigS_oOq-DdGfIYIY.js → BankAccountSection-CwOhGEgT-CV3SB5KM.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-Czlvc-qX-rUlWK1Jd.js → BankAccountWarningSection-D7BVcqIu-RUBf41j-.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-BgliKI11-3RjzZ2Bg.js → BankConnectionsSettingsPage-BOdlcBfa-aX1YHXK9.js} +1 -1
- package/dist/assets/{BillDetailPage-DNPgeuje-C8neAjYh.js → BillDetailPage-Ct4Q960V-B1Ta0IG7.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-OrTzXAEP-QAGSeB_n.js → BillPayApprovalRuleDetailPage-DUU4rXuM-DI9nvx98.js} +4 -4
- package/dist/assets/{BillPayApprovalRulesPage-DXcPkwwf-CiS_5AAk.js → BillPayApprovalRulesPage-C0pcFzje-Rb9cSqGe.js} +1 -1
- package/dist/assets/{BillPayPromoPage-fBpp10um-DK5_Xpo1.js → BillPayPromoPage-BsEtxcjB-BRyrvd2x.js} +13 -13
- package/dist/assets/{BillPaySetUpPage-9iEVFLUa-SVF28UG7.js → BillPaySetUpPage-B-rBYCtR-CKuO1PYp.js} +1 -1
- package/dist/assets/{BillingSettingsPage-IL6J1DV0-Se1sNo_q.js → BillingSettingsPage-BadzsZdt-CdWNz3my.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-DcRTKRMw-BopU9rI-.js → BillsBulkReviewDrawerPage-CbA-LUIt-BCAx-hEw.js} +1 -1
- package/dist/assets/{BoxItem-Cg9N_YPt-D0t-3bl5.js → BoxItem-BoanamYM-C9a7ISxI.js} +3 -3
- package/dist/assets/{BusinessVerificationPage-KZWTxmeh-ChQXq_Mg.js → BusinessVerificationPage-B9hjIdCd-fjXOOEEK.js} +2 -2
- package/dist/assets/{CardNumberSubText-DqtkAe0V-4_G8Lsb0.js → CardNumberSubText-DFO_EKrs-fq6YqMPG.js} +1 -1
- package/dist/assets/{CashbackDetailPage-D-l7cqjW-DQ3Pl_mP.js → CashbackDetailPage-Bp85-5Ie-BrWWJ_z3.js} +8 -8
- package/dist/assets/{ChargeCardDetailPage-ChwrpnhL-C74i3xWs.js → ChargeCardDetailPage-D8dY9X8Q-CY9gkPfd.js} +1 -1
- package/dist/assets/{ChargeCardListPage-zDV88I5X-7k0VThqH.js → ChargeCardListPage-CxplfJ1W-Cs-f2f69.js} +1 -1
- package/dist/assets/{ChargeCardListTable-Cu1sCT_g-C0NdA71e.js → ChargeCardListTable-scY11ryy-Biigjr-j.js} +1 -1
- package/dist/assets/{ChargeCardPaymentHistoryPage-Db6zW203-BuQibLL8.js → ChargeCardPaymentHistoryPage-Brh4ot5q-B0jRGM62.js} +1 -1
- package/dist/assets/{ChargeCardPromoPage-DsrTt5B0-D5poeoI3.js → ChargeCardPromoPage-CPURUrkI-ElY1-FvK.js} +10 -10
- package/dist/assets/{ChargeCardSetupPage-DcYthQvc-DDpbhz_U.js → ChargeCardSetupPage-Bumq17f6-CZtiCi9E.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-DkUJKxIz-W8sJIYuD.js → ChargeCardStatementsPage-DbU7LEIP-BvT1248-.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-C7rL0Ts2-DvlJgu1r.js → CheckDepositDrawerPage-CFl7Vr_I-m-GUaKwL.js} +1 -1
- package/dist/assets/{CollapsableReportTable-B0N8Ybey-lucDiVV7.js → CollapsableReportTable-CRaZZnGr-DHalWth7.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-5DfSL2V8-DYZPeRCn.js → CompanyOfficerDetailsSection-C4rN7mXr-DfF7L_UZ.js} +1 -1
- package/dist/assets/{CompanyPassportCard-BLw_MMZR-WOarnR-d.js → CompanyPassportCard-I21kA_Ir-BLJfyfQk.js} +3 -3
- package/dist/assets/{CompanyPassportPage-BamWWVQB-56Enokzr.js → CompanyPassportPage-BSDnF5-7-Cj98T4ob.js} +1 -1
- package/dist/assets/{CompleteProfile-CPwV8diq-8P18d35b.js → CompleteProfile-uultMZ5R-wTNN90nG.js} +1 -1
- package/dist/assets/{ConfettiBurst-CJc1ZWFJ-3-Ap54Ud.js → ConfettiBurst-CpmYtgfk-D3B4eByY.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-CDqjntBH-bCKETiwb.js → CreateOrEditVendorPage-AfKsEb9G-Dm36bf3i.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-cBCHuatx-PXPlAMN0.js → CreditCardPaymentDrawerPage-D0Lh5Tw1-XpTz-POB.js} +1 -1
- package/dist/assets/{CurrencySelectField-kA2N_h2r-TVoT6MZb.js → CurrencySelectField-BvNBUOqg-A4J8Uxia.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-BU5SX7SV-dB7jbnPX.js → CustomerOnboardingActivationPage-OtCugBPI-qX05IlgL.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-DGhE9fpo-BZZCLRzR.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DGG2nFxO-Dh4J5UV1.js → CustomerOnboardingDetailPageSkeleton-CMqEIIWe-DnAkQb7J.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-Dx_Py2Fa-DzOp0_kE.js → CustomerOnboardingNoStepsPage-p062pNc5-C-l3wTbU.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-AHQX5bSN-DyVDcmlu.js → CustomerOnboardingPage-Byojt-WN-CQTmwoTL.js} +1 -1
- package/dist/assets/CustomerOnboardingProductSuitePage-C9W7h_tT-Brpfoewd.js +202 -0
- package/dist/assets/{Dashboard-BQGdcgDK-C1nmLdwJ.js → Dashboard-Dkwr9npN-BXZ9_-Zj.js} +1 -1
- package/dist/assets/{DashboardReportPage-C9eB1Lz--CKXkiVgD.js → DashboardReportPage-Qk5_OFw7-BDc17Jc3.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-Cu7qPhOd-HDfgdRgZ.js → DashboardSidebarBackgroundAnimation-BiD26wyg-CHBm92QN.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-DOcqx_qa-l3Aculh3.js → DepositAccTransactionItem-13TnlK6P-m98DXUKx.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-gxOQSQ9a-DSufMjrN.js → DepositAccTransactionListPage-Dc3G81fB-A9cH7zUI.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-C_chbExL-CRI2B4vd.js → DomesticWireDetailsPage-CCIoGmZO-B4_Jo1Es.js} +1 -1
- package/dist/assets/{DownloadOverlay-a0IFrzRd-D3xHdLjr.js → DownloadOverlay-Nc_Ra7Co-DN1ubFHO.js} +1 -1
- package/dist/assets/{DrawerPage-D3ezgD8z-BT84_uAX.js → DrawerPage-Bq1naYya-CQiLfSVq.js} +1 -1
- package/dist/assets/{EditPeoplePage-BnCysZo9-DOsQLMpG.js → EditPeoplePage-BnYTxq_9-DPMlpday.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-BzKR9gus-DXDSnq7N.js → EditReimbursementDetailPage-D-uH9OV3-BSdAEEMn.js} +1 -1
- package/dist/assets/{EntityDetailPage-B8vx2Mri-D3jt8mho.js → EntityDetailPage-DCcgGupN-C9TRJ7Es.js} +2 -2
- package/dist/assets/{EntitySummarySection-B5pV5wTI-BHU_C13G.js → EntitySummarySection-BI44dDjO-CYCNaLvg.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-D25gPCR4-Dfqi0A-P.js → ExpenseAutomationOverviewPage-XA0L4mZw-dYnFXq-m.js} +4 -4
- package/dist/assets/{ExpenseAutomationPage-BUAS2p9i-BpbTS8YU.js → ExpenseAutomationPage-CGkJWoKY-B55w2jvQ.js} +1 -1
- package/dist/assets/{ExpressPayPage-DfIwfewF-DNrp1uq8.js → ExpressPayPage-BX3rmT8V-AcNsZZN-.js} +8 -8
- package/dist/assets/{FeaturePreviewPage-AXorSpml-V2Mh62fT.js → FeaturePreviewPage-W5YS3_F--DlENOTKC.js} +1 -1
- package/dist/assets/{FollowStepsSection-YR8SDxZC-TRiRAqO5.js → FollowStepsSection-C1Nmspra-Cdu3naRV.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-CxH9D6qC-LJp8AeZZ.js → GlobalReviewListPage-BfVSGVJe-Bw9xs6tt.js} +1 -1
- package/dist/assets/{InformationCardStack-GuTsARmk-CLzorLL7.js → InformationCardStack-BwgEyJER-uNbIwCBo.js} +3 -3
- package/dist/assets/{InsightsCardStack-CmTNccBr-q2L1pr7k.js → InsightsCardStack-BnEWSQ0m-VtqL0Nqc.js} +2 -2
- package/dist/assets/{InsightsSection-Bu-MplmN-CDkIWrcN.js → InsightsSection-hFNVHtei-D2NFl-zU.js} +5 -5
- package/dist/assets/{IntegrationsSettingsPage-JZMYvwgs-zsnKO8Tk.js → IntegrationsSettingsPage-De8DEt0a-Cw9Ydly2.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-CM50BUc0-BymHyzzP.js → InternationalWireSwiftDetailsPage-Dri_Nj57-i38KBpxN.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-Cg0oEA0I-D4laLv6p.js → InternationalWireVerificationPage-CPIRgDy5-DxjBH4Le.js} +3 -3
- package/dist/assets/{InviteFormPage-CDlB29vX-CQLcphyk.js → InviteFormPage-Ca_tdccZ-C7hXm59I.js} +1 -1
- package/dist/assets/{InvitePageListView-74Ymz8Xr-6S5FKTrd.js → InvitePageListView-BQbRhQ6V-DRrSpNW9.js} +1 -1
- package/dist/assets/{InvitePeoplePage-DxLF-5KU-9xQ616eR.js → InvitePeoplePage-BKffwOP--D-GaMZqa.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-De-7n3RO-ByskKeOl.js → InvoiceUploadSection-H-JhX_DQ-B3PXCVQk.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-CzKlIsrE-wJKAxEPa.js → IssueChargeCardPage-rinAPB-d-By9lpPwl.js} +1 -1
- package/dist/assets/{LabeledAddressValue-CZwyvCy5-mzRhvk5Q.js → LabeledAddressValue-kPYLLOgv-BlJjmDxn.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-k9TP-qlZ-C3UyFf5u.js → LabeledAddressValueField-B_N4O3Mv-CAfERVwt.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-DBnXkX-G-BVvCdbZP.js → LabeledControlledCheckBoxField-DiD9FNgO-CEPdNCHK.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-CiWNHg9A--H0753C7.js → LabeledCountryMultiSelectField-BCYMtV4j-BR8aIp2g.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-DdVE_wVv-BxAFv7k5.js → LabeledCreatableSingleSelectField-Dm03LVdQ-DGBXlNr1.js} +1 -1
- package/dist/assets/{LabeledDocumentField-DGnh1cGh-BaCn_klM.js → LabeledDocumentField-CWqz_jSU-BI4o2Iwv.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-BnaconeO-DhKbuFEk.js → LabeledDropDownFormattedTextField-DhwPnDY8-yVeJPc_Q.js} +1 -1
- package/dist/assets/{LabeledMultiSelectField-Bt5PGbgf-DEYw3JnO.js → LabeledMultiSelectField-C9feGqHN-OE3NSO1-.js} +1 -1
- package/dist/assets/{LabeledText-D9rbUJbs-9wMKxYu7.js → LabeledText-C91Eu04E-DW9Q389z.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DsstNVEx-Ds7lbv89.js → LabeledUserSingleSelectWithSubtitlesField-uruIe6mr--Ku_p9uL.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-DhvE24vx-CMJcsG0B.js → LabeledZeniRolesDropDownField-BBpe1-wI-fb12_Q3E.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-CpttcuV1-DuV4F8Zk.js → LinkJETransactionPage-Cn7He0uo-CU1EJOb0.js} +2 -2
- package/dist/assets/{LockCardPage-FMI6xt1u-CaDqCq7u.js → LockCardPage-CaIor45t-fxRy_eBL.js} +1 -1
- package/dist/assets/{LowBalancePopup-UNnJZwgC-CkWspEoQ.js → LowBalancePopup-DQJYforY-CaW9bnoT.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-CTqUXhIp-BPw-bzqm.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Dn7zRSmC-Cp1zfiCQ.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-BP3vdY52-BzDP-7_t.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-MURH2rp8-CLSHC5Hv.js → MagicLinkSuccessPage-RsvHwQTQ-DKdw4jPk.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-Cyx2YimC-CumkPG7L.js → MagicLinkTitleSection-DaThYY60-DuPzkS6C.js} +1 -1
- package/dist/assets/{MailingDetailsSection-Ro9Lxvtp-DaRqYLgY.js → MailingDetailsSection-DKs9SGYB-DpYzwmUT.js} +2 -2
- package/dist/assets/{Menu-XT10vy6U-CU6mTufV.js → Menu-DWx47kcG-CqRpt11Z.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-BwD3OyXL-CYJkaop_.js → MyBankConnectionsSettingsPage-DtnGJLK--62eLaU86.js} +5 -5
- package/dist/assets/{MyPendingActivationChargeCardListPage-B4yQ0O4T-DshQIKqq.js → MyPendingActivationChargeCardListPage-B1A2Dxw3-KQAV9F2y.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-Bb4QkILK-dnKU-rey.js → MyProfileSettingsPage-BHpnpTmJ-DUJX3teA.js} +5 -5
- package/dist/assets/{NavBarWithPicker-DhLovvzt-BucppuZh.js → NavBarWithPicker-Biz620wH-BwhpY8Dt.js} +1 -1
- package/dist/assets/{NavigationArrow-lK8LcatV-CeIdwn4T.js → NavigationArrow-CV_u5I1d-Dq_Cpl0i.js} +1 -1
- package/dist/assets/{NavigationDots-Dp0jKWtv-CRltAfKx.js → NavigationDots-DBshnTnS-eQudWkl3.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-DFt03MpW-DlxPCqjn.js → NewGlobalMerchantPage-DV2k3q5N-BcTx-Ahj.js} +1 -1
- package/dist/assets/{NoDataChart-BVStkyEY-D2SnG7M_.js → NoDataChart-DmThvRWS-pxiREfeT.js} +1 -1
- package/dist/assets/{NoDataTable-CBglXVQp-Bo5PkCij.js → NoDataTable-8GCzndE4-Bqx95DdJ.js} +1 -1
- package/dist/assets/{NotFoundPage-8N4Q0cRS-BFLKl-lt.js → NotFoundPage-VR72eVPP-RofDTL3E.js} +4 -4
- package/dist/assets/{NotificationSettingsPage--cl75C4Y-f1m5g0NX.js → NotificationSettingsPage-Bwf-7o4F-Aj6P3Xzl.js} +3 -3
- package/dist/assets/{NotificationsListConfig-BvqUVi6A-B8H0H-lA.js → NotificationsListConfig-Dn_RFaAK-YhpveZOf.js} +1 -1
- package/dist/assets/{NotificationsPage-ClhmC4cD-DPPL3j0E.js → NotificationsPage-B8GufkTS-DUQT6vp2.js} +18 -18
- package/dist/assets/{OpExByVendorPage-B24tsc-s-kLP2AkBc.js → OpExByVendorPage-BlEqljuU-DVw46mxv.js} +1 -1
- package/dist/assets/{OverlayContainerPage-Daz3A7cI-DZPeSqh9.js → OverlayContainerPage-Daz3A7cI-jq9xEsKm.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-ChmIZfeB-ClSkfHo-.js → PandLWithForecastPage-GOxiUR2j-BGagWawc.js} +2 -2
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-rhNK3_SE-1vs8c8G7.js → PaymentAccountSetupBillingAddressSection-BIxsEOJG-BjXFADJ0.js} +1 -1
- package/dist/assets/{PeoplePage-PetKjS8P-BPodINWd.js → PeoplePage-DahKRMoB-F0cHCzgT.js} +13 -13
- package/dist/assets/{Preview-B0dy4K56.js → Preview-CrPzNPnm.js} +1 -1
- package/dist/assets/{ProductsCarousel-DzhNUiJk-j7XkXPk6.js → ProductsCarousel-1P24z1p4-CeCLsS0U.js} +1 -1
- package/dist/assets/{PromoBaseCards-ZTN2uS4W-5Q0VbcDD.js → PromoBaseCards-DiKj0_oo-CtEGMdvr.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-CBtavUIz-B6M_dsQg.js → QBOConnectionDialog-A0ysjdIC-Eqpwl6_L.js} +1 -1
- package/dist/assets/{QBOSetupSection-jcVYFWfP-C5e7X1Mu.js → QBOSetupSection-Me828i1a-N1PCk_UL.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-BoarRMWS-BectwrxR.js → ReimbursementApprovalRuleDetailPage-dID4dZbu-DAIygneU.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-B5hHz-7T-Dv8WAEdQ.js → ReimbursementApprovalRulesPage-D8stgYq_-CqsPNPUT.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-YfiCLu3C-CwkxO_yG.js → ReimbursementDetailPage-DaYD1eTP-BBI-ZKs3.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-CC_zFd3U-CTzC3o_d.js → ReimbursementPromoPage-ClRa3wo6-GK77Fy92.js} +4 -4
- package/dist/assets/{ReimbursementSetUpPage-ChjBTodZ-BOCtoEcr.js → ReimbursementSetUpPage-CaJCRajP-Bhbzq9G6.js} +4 -4
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DOSDVT4u-eNIlif5R.js → ReimbursementsBulkReviewDrawerPage-BuBVWui--heWobZZd.js} +1 -1
- package/dist/assets/{ReloadCard-qzpNu5-B-B1j5ZU_S.js → ReloadCard-DzxA-pGI-BwtgRkm9.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-kzIQLZ5u-BhME63dM.js → ReportTableViewSelector-D1k2eDtE-DWKTaUmF.js} +1 -1
- package/dist/assets/{ReportsPage-DVZ3Rcn1-Wq7Sa7FA.js → ReportsPage-DqXYfBQC-DTOBKK0U.js} +5 -5
- package/dist/assets/{RevenueChart-Bu8VCI9M-_G1P_vqG.js → RevenueChart-C0vx4zUX-Uw0PsYMZ.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-Cl2_0ldt-I0ORbaK-.js → ReviewDetailsPage-DmHHVA8I-Sy4HvXq_.js} +52 -52
- package/dist/assets/{ReviewOverlay-vmoQ2B3U-U5POiYSb.js → ReviewOverlay-tGj059Ib-BvRNdoTH.js} +1 -1
- package/dist/assets/{RoleWithToolTip-CEcusyL7-CTwR219H.js → RoleWithToolTip-BGafXnoE-Cs8CtpyO.js} +5 -5
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-D9w3rUch-DJz9Yey_.js → ScheduleDetailsFixedAssetsPage-DuuvsMhX-gKNOvkFU.js} +3 -3
- package/dist/assets/{ScheduleDetailsPage-LbjrnfcH-B4mXvCnN.js → ScheduleDetailsPage-BCw7YaHZ-CsQRejR9.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-2IpjhbUO-yzYUZewQ.js → ScheduleSequenceTable-C31xhtxt-m1Npa7Ri.js} +1 -1
- package/dist/assets/{ScreenRoutes-Dj7TdnaB.js → ScreenRoutes-CcDq1jZA.js} +1 -1
- package/dist/assets/{SetUpAccountSection-p_viPmIN-BlBdymA0.js → SetUpAccountSection-D8PGmPML-_7698rPN.js} +1 -1
- package/dist/assets/SignIn-CwWQnPnB-BjWxjduT.js +491 -0
- package/dist/assets/{SignInScreen-Bn4nYRQE.js → SignInScreen-CMNwX-LP.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-C3i-Mkip-DzQMh6GP.js → SpendManagementListViewPage-B-EbBpvJ-ON20KKOZ.js} +5 -5
- package/dist/assets/{SpendManagementPerTabPage-dTz2pMKg-DYfwutDo.js → SpendManagementPerTabPage-DANa2aTd-C61KLHM_.js} +1 -1
- package/dist/assets/{SpendManagementSection-DKMG4ReN-BvPjO4KM.js → SpendManagementSection-CXYhrJSF-CXDxQfGM.js} +7 -7
- package/dist/assets/StatementItem-DeYhvD3S-1QR10Whm.js +31 -0
- package/dist/assets/{StatementsPage-DwvWOETo-CXlDv2KT.js → StatementsPage-2OCuox8g-8nyeHbc9.js} +1 -1
- package/dist/assets/{StatusSwitcher-Moxr70rd-DARIPkKt.js → StatusSwitcher-CfBOEbYV-jyQUqc0h.js} +1 -1
- package/dist/assets/{SubTabSwitcher-DnCoUKmO-3giMprMe.js → SubTabSwitcher-LzrZe6zz-Bq05ehgW.js} +4 -4
- package/dist/assets/SummaryCard-DTbKziXk-DQjaUfYU.js +1 -0
- package/dist/assets/{TaskManagementPage-kHOwTTeJ-CfCX6wr3.js → TaskManagementPage-J0L5w2Wc-ChHzcbst.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-8DihGZnj-Cf-1grC_.js → TimeRangeSwitcher-CIhE-4dW-CNYy5JM_.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-Dy5hbFn4-nqznt7nk.js → TimeframeSwitcher-YlXclGGy-Dzk_QBMX.js} +5 -5
- package/dist/assets/TimeframeSwitcherWithToggle-BKRmBPLL-D7T-iUSK.js +31 -0
- package/dist/assets/{TopExCard-D_okDk9T-Ba1Fp_3J.js → TopExCard-D1k8bh_F-C0WRKW8Q.js} +1 -1
- package/dist/assets/{TopExDetailPage-pOK_Ly9f-YYkSMo_K.js → TopExDetailPage-BRJ9k9hY-DGh-mViS.js} +1 -1
- package/dist/assets/{TransactionDetailPage-T1xurXsz-CH4IU-6k.js → TransactionDetailPage-CJjGDJoM-4j_0Nnvx.js} +1 -1
- package/dist/assets/{TransactionList-DblCSg0s-uevCyEQB.js → TransactionList-CLJV-J8J-DPWKYbwQ.js} +6 -6
- package/dist/assets/{TransactionListBig-JLNkkeay-GwIa9a3j.js → TransactionListBig-CDMd8KmW-BMMhha0s.js} +1 -1
- package/dist/assets/{TransactionListPage-Cf2i0F_k-BRw5VvHr.js → TransactionListPage-Dm_JZDPM-CpkM0KX9.js} +2 -2
- package/dist/assets/{TransactionVendorDetailPage-B4T07nWa-Hek7YOkl.js → TransactionVendorDetailPage-BDuBQged-CAcA5ymW.js} +1 -1
- package/dist/assets/{TransferDrawerPage-BukQB5RF-BaFvth7f.js → TransferDrawerPage-lY_wB7eB-BHJQPQzp.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-C0bQkCDh-BSIFfKG0.js → TreasuryOverviewPage-D5OetJEP-DU_svhq3.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-BaXLj90f-DyGHzvkx.js → TreasuryPromoPage-8tXexPVv-CiI-0ZNb.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-CNK6wX8W-BBctfBrh.js → TreasuryStatementsPage-DEOyNQFW-CWB-xLSh.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-DEnUpGEu-PzAYgPYT.js → TreasuryTaxLetterPage-B2AurZ-A-Dvkl-xbT.js} +1 -1
- package/dist/assets/{TrendChart-BhcSso96-D1M97qk4.js → TrendChart-DhH1bAfv-Bh3qy9e2.js} +1 -1
- package/dist/assets/{TrendWithTransactions-B6xQ_DkB-BEFPt74D.js → TrendWithTransactions-BLYyM3MY-D_wSnssv.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-DDqyVfnh-Crd__Sgm.js → UncategorizedAccountsMappingPage-CFir4dX5-DJbsYjHd.js} +5 -5
- package/dist/assets/{UnitIntegrationPage-BpT6E05N-e92ZbAwu.js → UnitIntegrationPage-CHR1UsV3-CoAODj2A.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-Dgwmxm6G-BEL8mMiP.js → UploadAdditionalDocumentOverlay-CVb-0jqF-BDqTVyrb.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-CayW9AB7-x46gcb9G.js → Vendor2FAPopup-BJI6SeE0-CTu9U0EV.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-CjsWjEGI-Dx-cpWMi.js → VendorACHDetailsPage-DLY7vm1r-DGGLogkV.js} +1 -1
- package/dist/assets/{VendorDetailPage-DQKnd_wl-DgCC2d7y.js → VendorDetailPage-Bl6Xaq0d-DsXiZRzL.js} +5 -5
- package/dist/assets/VendorDomesticWireDetailsPage-B83WB2Vz-DFPT0ZYm.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-monlt0GX-D11nhKRT.js → VendorFiling1099EditablePage-DHabnH22-CEFAMCGK.js} +32 -32
- package/dist/assets/{VendorFirstReviewPage-B_5VMGPE-BQGRha_7.js → VendorFirstReviewPage-JhwEqiFF-kofbScrA.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-Czz9BmEm-j7TWYMZY.js → VendorInternationalWireDetailsPage-DKsYBIjo-D8VzNPtl.js} +1 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-XKp9TJ4g-m_5Ao1BR.js +1 -0
- package/dist/assets/{VendorsAccountsSection-BCxVL3Vy-CVp3oyuz.js → VendorsAccountsSection-Bvhib6Hd-BRinGYjw.js} +3 -3
- package/dist/assets/{VerifyDevice-CzW6x8kw-DL7_PzvN.js → VerifyDevice-DGjS39sh-CtcNv75O.js} +1 -1
- package/dist/assets/{VideoPlayer-B6HamlwN-B0K1YC8V.js → VideoPlayer-DufuoQRs-CzFmZCl7.js} +2 -2
- package/dist/assets/{VideoPopup-D2mt1wC7-DX7NeQAc.js → VideoPopup-1aNRmLD6-E6I5SdxR.js} +2 -2
- package/dist/assets/{WarningsDrawerPage-BbN2G_rG-hi1DPTM_.js → WarningsDrawerPage-Bikg48FF-BUXgPrL6.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-Bs_CVksP-BDdSvLD_.js → ZeniAccountDetailPage-DJiB-R44-8YHKJ_Rk.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-D5VNz-Hq-5LAtN_Rm.js → ZeniAccountListViewPage-BJF3-1hq-aqs0GGLS.js} +7 -7
- package/dist/assets/{ZeniAccountNavBarPieces-Dr8RdhtI-B5O0ky0e.js → ZeniAccountNavBarPieces-ZZoVi49V-B5zNoIEH.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-DvOrXg46-dzcFBDQn.js → ZeniAccountPromoPage-VfZj6e9J-CEBstujd.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-zxlxRsQl-B6ap5Abk.js → ZeniAccountSetupPage-CfUBgLaM-ZmrhqCPO.js} +1 -1
- package/dist/assets/{ZeniCopyright-F1ki_Lss-DFx9p5Fp.js → ZeniCopyright-UUk3LylG-VfT1dTbC.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-CK6HDTK_-B4HkHgTv.js → ZeniTransferAmountSlider-DuyKUAsb-Di2nbbIa.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-BDLvoxng.js → add-to-wallet-DgdBD8_G-DHth-HM4.js} +1 -1
- package/dist/assets/{analytics-DWna4COD.js → analytics-CxT-6Gc4.js} +1 -1
- package/dist/assets/{analyticsHelper-BTX5S1zu.js → analyticsHelper-BbgU3YZ3.js} +1 -1
- package/dist/assets/{analyticsHelper-BgGQcED5-DKVZbHBv.js → analyticsHelper-C_CHYSrd-D1gtzETx.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-DOt54l-M.js → arrow-south-east-round-PEovUgvH-jJL-u3ku.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-B8Z0z-Ku.js → auto-transfer-rule-mbafm5D3-Bxbaldq-.js} +1 -1
- package/dist/assets/{chartTypes-Cdx27b7W-BwAd9kGM.js → chartTypes-CfyGWP2E-zDFdatAv.js} +1 -1
- package/dist/assets/{commonDimensions-BIRY_wCD-Js86v9fG.js → commonDimensions-uDLC8oOH-DZ9sBzhX.js} +1 -1
- package/dist/assets/{commonTypes-DfehYs8A-CmS8iBUI.js → commonTypes-DBWmGaRi-Bvj_-gYH.js} +1 -1
- package/dist/assets/{constants-Cr4RUUPf.js → constants-Dpo-zUMa.js} +1 -1
- package/dist/assets/{core-d8TJZx_K.js → core-CYa2vsSD.js} +1 -1
- package/dist/assets/{dash.all.min-yh9LxFx1.js → dash.all.min-BwfoNW06.js} +1 -1
- package/dist/assets/{detailCommon-C4lCnx9f-CT9Wovwc.js → detailCommon-CUjnzfBn-Bjs9ry6w.js} +3 -3
- package/dist/assets/{downloadPdf-BuszScX2-CQQvmAzj.js → downloadPdf-DZnGQqi5-DWxICXE5.js} +1 -1
- package/dist/assets/{empty-CKmL-VR3.js → empty-BSEyVh8N.js} +1 -1
- package/dist/assets/{empty-D8Gd0v1U.js → empty-CFYi5Ru2.js} +1 -1
- package/dist/assets/{epic-BPaG5vPL.js → epic-BaGEtIuG.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-DUMEeA-V.js → gift-box-Cmt9OgIZ-D2c9pOix.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-BVFGUXFG.js → graphic-no-data-l-DU4J8fDt-Dm8Nhvl9.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-DHRR03zj.js → graphic-no-data-net-burn-l-CzmycA0m-CTFvUdJH.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-C5j99nww.js → handshake-BPg58FML-cD35y_0x.js} +1 -1
- package/dist/assets/{index-BxCf7Wvz.js → index-CLqQIFvx.js} +9 -9
- package/dist/assets/{index-Z0vhp4UP.js → index-D1NG7F-c.js} +1 -1
- package/dist/assets/{index-DAQTbb-z.js → index-DEJ7sanz.js} +1 -1
- package/dist/assets/{index-CXhd2ski.js → index-DhBlfmDf.js} +1 -1
- package/dist/assets/{index-BHy2xz_i.js → index-WnHIYL2y.js} +1 -1
- package/dist/assets/{index-ypb5f_6G.js → index-o7l6M0TC.js} +1 -1
- package/dist/assets/{index-P2JRDBkg.js → index-oF3vysIj.js} +1 -1
- package/dist/assets/{lexical-C6LLNKxw.js → lexical-DzVC4tTe.js} +1 -1
- package/dist/assets/{liveblocks-CGDIIAIj.js → liveblocks-DZksneMc.js} +1 -1
- package/dist/assets/{lottie-LB826b2R.js → lottie-EtzJiaFi.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-BNip5yf2-B8eJRUmh.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-KPnNJcR6-BNt8WVWD.js → mapSectionWithAcOnlyToTreeNode-6D3s6K5H-Bt6Ormba.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-BgJYIgvo-CUvrjAxs.js → mapSpacerToTreeNode-D950gQIm-BVvu7Mmj.js} +1 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-BwoNhSxI-9FFTEIt6.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-CpO1mQ6n-CJZiBXdi.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-tLFl9PXK-2yg-AGqh.js +1 -0
- package/dist/assets/{mui-BH8m6kGU.js → mui-Co4rhSdf.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-DEwJ4YhF.js → page-detail-CWX5S47F-DzQ9yNth.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-9-L1Tl9m.js → radio-default-CiSgisfh-DdBmb3s2.js} +1 -1
- package/dist/assets/{react-1TS5Pz5D.js → react-B9BOYeX6.js} +2 -2
- package/dist/assets/{react-BZg321WR.js → react-BHvhexjt.js} +1 -1
- package/dist/assets/{react-DXqousR1.js → react-BcTgPaBt.js} +1 -1
- package/dist/assets/{react-DjFxauce.js → react-BfmS3tc2.js} +1 -1
- package/dist/assets/{react-BZPwYTgt.js → react-BrZdHxR5.js} +1 -1
- package/dist/assets/{react-DbC4BMti.js → react-DaPNcQnJ.js} +1 -1
- package/dist/assets/{react-ChgBiDic.js → react-USABo3kI.js} +1 -1
- package/dist/assets/{react-B98PZ5oz.js → react-hKmyc3EK.js} +1 -1
- package/dist/assets/{recharts-DuImoJah.js → recharts-C4PW-81v.js} +1 -1
- package/dist/assets/{sentry-RNV3Di4s.js → sentry-Cue4MgLi.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-Dq2KOj6m.js → shield-DOlUxcFf-UAy-EXjs.js} +1 -1
- package/dist/assets/toCOABalancesWithID-B6AaIKKE-ZUVHY5cX.js +1 -0
- package/dist/assets/{toChartData-B0HFgnVy-BWQxPZy2.js → toChartData-DD8ISjzM-DQ9NjKIx.js} +1 -1
- package/dist/assets/{uploadAttachment-DlvokhTk-BnXZd0ih.js → uploadAttachment-CEqqTe84-MicetzMb.js} +1 -1
- package/dist/assets/{uploadReceipts-CPw64UYa-CC4d6kSy.js → uploadReceipts-CPw64UYa-BwoznkPo.js} +1 -1
- package/dist/assets/{url-CMWGXMaV.js → url-CIbQHzW3.js} +1 -1
- package/dist/assets/{url-Q92EHF6-.js → url-CpxLPhmr.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-Ify9QpX5.js → useLongPress-GCK2COYQ-Da6NOL1P.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-C6G0Rq76.js → usp-line-BBd1wKwW-BZcVCehg.js} +1 -1
- package/dist/assets/{utils-BXiVsZbS.js → utils-CxOjlxtI.js} +1 -1
- package/dist/assets/{zeni-epic-state-BSaicoAp.js → zeni-epic-state-DcWK4mxP.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/CustomerOnboardingContainerPage-CY24zxv4-Dlglmitj.js +0 -1
- package/dist/assets/CustomerOnboardingProductSuitePage-CJ9rX2hA-D_AGKikc.js +0 -202
- package/dist/assets/MagicLinkACHDetailsPage-Bwzk6331-DJfV3lU-.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-23WXWUBb-DJ6qKsHx.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-XqDeRmny-DL7ST80r.js +0 -1
- package/dist/assets/SignIn-DhRwLJFX-CJyBsyvF.js +0 -448
- package/dist/assets/StatementItem-Dk8gBfGY-DC0R9g1b.js +0 -31
- package/dist/assets/SummaryCard-DvdjDQ13-6ipWCmEa.js +0 -1
- package/dist/assets/TimeframeSwitcherWithToggle-V2cHhGoQ-CE78-HgD.js +0 -31
- package/dist/assets/VendorDomesticWireDetailsPage-DBOWshWu-2HsQayCN.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-B-mh5P3v-Ca_AkD0f.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-COOEc1T9-xGax8DFV.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DAnYNYrr-DY_OPsK8.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DKbBYyC9-BJ1iRUxh.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BeGSkZpM-C-b_T2TM.js +0 -1
- package/dist/assets/toCOABalancesWithID-C__BVdeG-BfFHgnXd.js +0 -1
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import{q as Tt,aw as Ct,y as u,f0 as Dt,f1 as It,f2 as Pt,V as t,f3 as kt,f4 as le,f5 as At,f6 as Mt,f7 as Bt,f8 as Ft,aL as A,f9 as Rt,aN as j,fa as Lt,fb as Me,fc as Be,fd as Fe,b as H,fe as O,p as S,ff as zt,fg as E,fh as Z,fi as Nt,fj as Ot,bR as Re,o as n,aP as Et,c as s,F as Zt,ai as _t,c0 as qt,R as Wt,M as Gt,fk as Vt,cg as Yt,al as se,am as ce,fl as Ht,fm as Kt,bh as Ut,l as Jt,b8 as Qt,fn as Xt,aq as et,bI as en,ah as tt,bs as tn,fo as nn}from"./index-BxCf7Wvz.js";import{a as q}from"./sentry-RNV3Di4s.js";import{n as i}from"./mui-BH8m6kGU.js";import{bo as Le,bm as ze,bH as I,bN as an,Fv as ln,bL as oe,bP as on}from"./zeni-epic-state-BSaicoAp.js";import{t as rn,o as dn}from"./LowBalancePopup-UNnJZwgC-CkWspEoQ.js";import{S as _}from"./LabeledText-D9rbUJbs-9wMKxYu7.js";import"./liveblocks-CGDIIAIj.js";import"./core-d8TJZx_K.js";import"./recharts-DuImoJah.js";import"./lottie-LB826b2R.js";import"./analytics-DWna4COD.js";import"./lexical-C6LLNKxw.js";import"./utils-BXiVsZbS.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},y=new e.Error().stack;y&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[y]="41b86355-fbb3-4458-9d8d-50675cd1fc02",e._sentryDebugIdIdentifier="sentry-dbid-41b86355-fbb3-4458-9d8d-50675cd1fc02")}catch{}})();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,s[2],s[2]),footerButtonWidth:new u(120,165),iconContainerMarginTop:new u(6,s[1]),navBarContainerPaddingTop:new u(10,s[3]),sectionTitleMarginLeft:new u(s[3],s[0]),reviewContainerMarginLeft:new u(s[3],s[6]),reviewContainerMarginRight:new u(s[3],s[8]),footerRightIconMarginRight:new u(s[0],s[0],s[7]),infoLabelPaddingRight:new u(s[0],s[3]),infoLabelMarginTop:new u(s[1],s[0])},sn={sectionTitle:new Wt("h6Medium","h5Medium")},{dateFormat:Ne,common:{currency:v,labels:Oe,edit:cn,strings:{empty:h}},spendManagement:{billPay:mn}}=Zt.getLocalizedStrings(),{billDetails:a,paymentDetails:Ee}=mn,Ze=({attachment:e})=>{const[y,f]=q.useState(!1),M=()=>{f(!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?f(!0):null,children:[y&&e?.fileDownloadUrl!=null?t.jsx(Ht,{title:e.fileName,file:e,onCrossClick:()=>M(),setShowFullScreenView:f}):null,t.jsx(En,{children:t.jsx(Kt,{contentType:e.contentType})})]})},si=({billDetails:e,billpayApprovalView:y,isBillPayCommentingEnabled:f,currentTenant:M,isInternationalPaymentShaVsOurEnabled:T,isLocalCurrencyEnabled:it,style:at,analytics:w,isRecurringBillsFeatureEnabled:lt,isApprovalRequiredForMarkAsPaid:ot,isDetectInsufficientFundsEnabled:rt,billId:x,onClickEdit:me,discardBillDetailsFromLocalStore:pe,saveBillDetails:ue,discardOutsideZeniPaymentData:dt,updateBillDetailSaveBillCode:ye,redirectToBillsScreen:he,onAttachmentClick:Q,retryPayment:st})=>{const d=Tt(),c=Ct(),B={application:"dashboard",companyId:c.currentTenant?.companyId,tab:"bill",entityId:x},F=f&&x!=null,R=`dashboard_${c.currentTenant?.companyId}`,L=m.largeLabelWidth.value(d),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,fe={amount:e.recipientTotalAmount.amount/(e.paymentDetailsSection?.conversionRate??1)*100/100,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},p={amount:o?.method.includes("international")===!0?It(fe,o):e.recipientTotalAmount.amount+(o?.fee.amount??0),currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},N={amount:o?.method.includes("international")===!0?Pt(fe,o):o?.fee.amount??0,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},[ct,ge]=q.useState(!1),[mt,xe]=q.useState(!1),be=()=>ge(!1),pt=()=>{w.trackBillPayMagicLinkPreviewEmail("review_bill"),ge(!0)},ut=e.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${a.magicLink.collectFrom} ${e.toAccountVendorEmail}`,t.jsx(Ln,{size:d,children:t.jsx(Rn,{})})]}):kt(e.paymentDetailsSection?.paymentTo);q.useEffect(()=>{(z?.fetchState==="Completed"||X?.fetchState==="Completed")&&(pe(),ye(),he())},[z,X,he,pe,ye]);const $=e.billPayInfo?.stage,P=e.billPayInfo?.billStatus,W=e.billPayInfo?.billPaymentStatus,yt=e.billPayInfo?.billPaymentRefundStatus,te=$?.code==="paid"?$:P?.code=="approved"&&W?.code?W:P,ht=e.billPayInfo?.isRefundInitiated===!0?yt:P?.code=="approved"&&W?.code?W:P,ne=()=>{me()},we=()=>{me()},G=e.paymentDetailsSection?.paymentDate,ie=le(o?.method??""),$e=ie.replace("Same Day",""),ft=e.isCollectToAccountInfoFromVendorContact?t.jsx(At,{paymentTypeLabel:$e,onClick:pt}):a.addedByZeni,V=y.allApprovalRules.length>0,gt=Le(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),g=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=()=>{dt(),xe(!1)},k=g&&($?.code!=null?$.code==="draft"||P?.code==="approved":!0),b=k&&!ot,je=_e(b,V,e.isBillMarkedForRetry),wt=()=>g?b?void 0:a.paymentOutsideZeni.reviewInfo:o?.method!=null&&o.method.includes(I)&&e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod!=null&&T&&ee===v.currencyCode?Xt(e.paymentDetailsSection.internationalTransferFeeBearerPaymentMethod):void 0,ae=rt&&e.paymentDetailsSection!=null?Mt(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(x??"new_bill"),o?.method!=null&&l!=null){const St=g?a.paymentOutsideZeni.offline:le(o.method);if(w.trackBillPaySendForApproval(St,l.format(Ne.analytics.MMMDashDDDashYYYYFormat),r,e.isRecurring,x,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&&Y(!1),e.isBillMarkedForRetry===!0?(st(),w.trackRetryConfirmClick(te?.code??"",$?.code??"",ht?.description??"",e.isRecurring?["Recurring"]:["One-Time"],e.invoiceNumber??"")):e.vendor!=null&&($t(),ue(!1,{}))},vt=ln(p.amount,y.allApprovalRules,c.loggedInUser),[Te,Y]=q.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(dn,{withdrawFrom:e.paymentDetailsSection?.withdrawFrom,paymentDate:e.paymentDetailsSection?.paymentDate,onOkClick:Se,onCancelClick:()=>{Y(!1),ne()},onClickAway:()=>{Y(!1)}}):null,t.jsx(Bt,{anchor:"right",open:ct,onClose:be,transitionDuration:250,"data-testid":j("vendor-email-preview-drawer"),children:t.jsx(Ft,{companyName:Rt(M.company?.companyInfo),vendor:e.vendor?.name,paymentDate:G?.format(C)??"",paymentType:$e,amount:A("0,0[.]00",p),isInvoiceAttached:!!e.file,onClose:be})}),t.jsxs(vn,{windowSize:d,style:at,children:[d==="small"?t.jsxs(Fn,{windowSize:d,children:[t.jsx(Ke,{onClick:we,"data-testid":j("review-detail-nav-bar-small-back")}),t.jsx(Ge,{windowSize:d,children:a.oneLastLook})]}):t.jsx(Bn,{"data-testid":j("review-details-nav-bar-back"),children:t.jsx(Ke,{onClick:we})}),d!=="small"?t.jsx(Sn,{children:t.jsx(Ge,{windowSize:d,children:a.oneLastLook})}):null,e.duplicateBillTransactions.length>0?t.jsxs(Tn,{children:[t.jsxs(Cn,{children:[t.jsx(Vn,{}),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:()=>Q(e.duplicateBillTransactions[0].id,e.duplicateBillTransactions[0].billPayInfo.stage.code),style:{textDecoration:"underline",cursor:"pointer"},children:[a.viewBill,e.duplicateBillTransactions[0].documentId]})]})]})]}),t.jsxs(qn,{children:[t.jsx(Gn,{children:a.duplicateInvoiceFound}),e.duplicateBillTransactions.map(l=>{const r=Lt(l);return l!=null?t.jsx(Wn,{children:nt.includes(d)?t.jsxs(Ve,{windowSize:d,children:[t.jsxs(kn,{children:[t.jsxs(An,{children:[l.attachments&&l.attachments.length>0?t.jsx(Ze,{attachment:l.attachments[0]}):t.jsx(Ue,{children:t.jsx(Je,{})}),t.jsx(U,{children:t.jsxs(t.Fragment,{children:[l.documentId!=null?a.invoiceNo:null,l.documentId]})})]}),t.jsx(Qe,{windowSize:d,children:A("0,0[.]00",l.recipientTotalAmount)})]}),t.jsxs(Zn,{"data-testid":j("review-detail-mobile-info"),onClick:()=>Q(l.id,l.billPayInfo.stage.code),children:[t.jsxs(U,{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(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})]}):t.jsxs(Ve,{windowSize:d,children:[l.attachments&&l.attachments.length>0?t.jsx(Ze,{attachment:l.attachments[0]}):t.jsx(Ue,{children:t.jsx(Je,{})}),t.jsxs(_n,{"data-testid":j("review-detail-info"),onClick:()=>Q(l.id,l.billPayInfo.stage.code),children:[t.jsx(U,{style:{width:"50%"},children:t.jsxs("div",{children:[l.documentId!=null?a.invoiceNo:null," ",l.documentId]})}),t.jsxs(U,{style:{width:"25%"},children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(C)]}),t.jsx(Qe,{style:{width:"25%"},windowSize:d,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(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})},l.id):null})]})]}):null,t.jsxs(Mn,{children:[t.jsx(Ye,{children:a.pay}),t.jsx(He,{children:t.jsx(Fe,{amount:gt,integerStyles:H.largeMedium.cssObject,decimalStyles:H.smallMedium.cssObject})}),t.jsx(Ye,{children:a.to}),t.jsx(He,{children:e.vendor?.name})]}),t.jsxs(jn,{children:[g?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:Z({type:"details",key:"withdrawFrom"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("withdrawFrom")}`},children:t.jsx(_,{label:{label:a.withdrawFrom,width:L},style:{width:"auto"},value:e.paymentDetailsSection?.withdrawFrom!=null?zt(e.paymentDetailsSection.withdrawFrom,d):h,infoLabelStyle:{textAlign:d==="small"?"left":"right",paddingRight:m.infoLabelPaddingRight.valuePx(d),marginTop:m.infoLabelMarginTop.valuePx(d),color:S.brandColorGoldDark},additionalInfoLabel:ae})}),t.jsx(K,{})]}),t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:Z({type:"details",key:"paymentType"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentType")}`},children:t.jsx(_,{label:{label:a.paymentMethod,width:L},style:{width:"auto"},value:le(o?.method??""),additionalInfoLabel:wt()})}),t.jsx(K,{}),!g&&G!=null?t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:Z({type:"details",key:"paymentDate"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentDate")}`},children:t.jsx(_,{label:{label:a.paymentDate,width:L},style:{width:"auto"},value:G.format(C),additionalInfoLabel:`${a.estimatedArrival}${oe(on(G.toDate(),[0,6],o?.maxPeriod.value??0).toDateString()).format(C)} - (${ie.length>0?`${ie} `:""}${a.deliveryTimeLabel} = ${o?.maxPeriod.value??"0"} ${a.deliveryTimeUnits})`})}),t.jsx(K,{})]}):null,g?null:t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:Z({type:"details",key:"paymentTo"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentTo")}`},children:t.jsx(_,{label:{label:a.paymentTo,width:L},style:{width:"auto"},value:ut??"",additionalInfoLabel:ft})}),g||lt?t.jsxs(t.Fragment,{children:[t.jsx(K,{}),t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:Z({type:"details",key:"recurringPaymentType"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("recurringPaymentType")}`},children:t.jsx(_,{label:{label:a.paymentType,width:L},style:{width:"auto"},value:Ot(e.isRecurring,g,e.recurringBillInstance??1,e.recurringConfig?.totalPaymentCycles??0),additionalInfoLabel:Nt(d,e.isRecurring,g,e.recurringConfig)})})]}):null]}),!g&&o?.method!=null&&(o.method.includes(I)||o?.fee.amount!=null&&o.fee.amount!==0)?t.jsx(gn,{children:t.jsxs(xn,{windowSize:d,children:[t.jsxs(bn,{children:[t.jsx(yn,{children:a.total}),t.jsx(Re,{style:{padding:`12px ${n.sp3}`,lineHeight:"18px"},maxWidth:"312px",title:t.jsxs(fn,{children:[t.jsxs(We,{children:[t.jsx(de,{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(We,{children:[t.jsx(de,{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(de,{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:Le(p.amount,p.currencyCode,p.currencySymbol),integerStyles:H.h6Medium.cssObject,decimalStyles:H.standardMedium.cssObject})})]})}):null]}),t.jsx(Et,{cancelBtn:{label:k&&!b?a.paymentOutsideZeni.markAsPaid:a.editBill,onClick:k&&!b?ve:ne,style:{width:qe(!1,k,b,V,d)}},primaryBtn:{label:_e(b,V,e.isBillMarkedForRetry),isLoading:z?.fetchState==="In-Progress"||X?.fetchState==="In-Progress",onClick:b?ve:()=>{vt&&ae!=null?Y(!0):Se()},style:{width:qe(!0,k,b,V,d)}},rightSideComponent:k&&!b&&z.fetchState!=="In-Progress"?t.jsx(Yn,{windowSize:d,children:t.jsx(Re,{style:{color:S.heroDark,padding:`2px ${n.sp2}`},display:"flex",title:cn,placement:"top",children:t.jsx(Kn,{onClick:ne,"data-testid":j("review-detail-edit-bill-button"),children:t.jsx(Hn,{})})})}):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})]})},_e=(e,y,f)=>e?a.paymentOutsideZeni.markAsPaid:f===!0?a.retryPayment:y?a.sendForApproval:a.scheduleBill,qe=(e,y,f,M,T)=>f?128:y&&!e&&T==="small"?"auto":M?165:m.footerButtonWidth.value(T),pn=i(en)`
|
|
1
|
+
import{q as Tt,aw as Ct,y as u,f0 as Dt,f1 as It,f2 as Pt,V as t,f3 as kt,f4 as le,f5 as At,f6 as Mt,f7 as Bt,f8 as Ft,aL as A,f9 as Rt,aN as j,fa as Lt,fb as Me,fc as Be,fd as Fe,b as H,fe as O,p as S,ff as zt,fg as E,fh as Z,fi as Nt,fj as Ot,bR as Re,o as n,aP as Et,c as s,F as Zt,ag as _t,c0 as qt,R as Wt,M as Gt,fk as Vt,cg as Yt,al as se,am as ce,fl as Ht,fm as Kt,bh as Ut,l as Jt,b8 as Qt,fn as Xt,aq as et,bI as en,ai as tt,bs as tn,fo as nn}from"./index-CLqQIFvx.js";import{a as q}from"./sentry-Cue4MgLi.js";import{n as a}from"./mui-Co4rhSdf.js";import{bo as Le,bm as ze,bH as I,bN as an,Fv as ln,bL as oe,bP as on}from"./zeni-epic-state-DcWK4mxP.js";import{t as rn,o as dn}from"./LowBalancePopup-DQJYforY-CaW9bnoT.js";import{S as _}from"./LabeledText-C91Eu04E-DW9Q389z.js";import"./liveblocks-DZksneMc.js";import"./core-CYa2vsSD.js";import"./recharts-C4PW-81v.js";import"./lottie-EtzJiaFi.js";import"./analytics-CxT-6Gc4.js";import"./lexical-DzVC4tTe.js";import"./utils-CxOjlxtI.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},y=new e.Error().stack;y&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[y]="4b6911bf-691c-4658-a5b1-a43faf8add6e",e._sentryDebugIdIdentifier="sentry-dbid-4b6911bf-691c-4658-a5b1-a43faf8add6e")}catch{}})();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,s[2],s[2]),footerButtonWidth:new u(120,165),iconContainerMarginTop:new u(6,s[1]),navBarContainerPaddingTop:new u(10,s[3]),sectionTitleMarginLeft:new u(s[3],s[0]),reviewContainerMarginLeft:new u(s[3],s[6]),reviewContainerMarginRight:new u(s[3],s[8]),footerRightIconMarginRight:new u(s[0],s[0],s[7]),infoLabelPaddingRight:new u(s[0],s[3]),infoLabelMarginTop:new u(s[1],s[0])},sn={sectionTitle:new Wt("h6Medium","h5Medium")},{dateFormat:Ne,common:{currency:v,labels:Oe,edit:cn,strings:{empty:h}},spendManagement:{billPay:mn}}=Zt.getLocalizedStrings(),{billDetails:i,paymentDetails:Ee}=mn,Ze=({attachment:e})=>{const[y,f]=q.useState(!1),M=()=>{f(!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?f(!0):null,children:[y&&e?.fileDownloadUrl!=null?t.jsx(Ht,{title:e.fileName,file:e,onCrossClick:()=>M(),setShowFullScreenView:f}):null,t.jsx(En,{children:t.jsx(Kt,{contentType:e.contentType})})]})},sa=({billDetails:e,billpayApprovalView:y,isBillPayCommentingEnabled:f,currentTenant:M,isInternationalPaymentShaVsOurEnabled:T,isLocalCurrencyEnabled:at,style:it,analytics:w,isRecurringBillsFeatureEnabled:lt,isApprovalRequiredForMarkAsPaid:ot,isDetectInsufficientFundsEnabled:rt,billId:x,onClickEdit:me,discardBillDetailsFromLocalStore:pe,saveBillDetails:ue,discardOutsideZeniPaymentData:dt,updateBillDetailSaveBillCode:ye,redirectToBillsScreen:he,onAttachmentClick:Q,retryPayment:st})=>{const d=Tt(),c=Ct(),B={application:"dashboard",companyId:c.currentTenant?.companyId,tab:"bill",entityId:x},F=f&&x!=null,R=`dashboard_${c.currentTenant?.companyId}`,L=m.largeLabelWidth.value(d),z=e.saveStatus,X=e.zeniAssistRetryStatus,ee=e.vendor?.vendorCurrencyCode,o=Dt(T,at,e.billPayConfigList.filter(l=>l.method.includes(e.paymentDetailsSection?.withdrawFrom?.accType??"depositAccount")),e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,e.paymentDetailsSection?.paymentType,ee),C=Ne.visual.MMMDCommaYYYYformat,fe={amount:e.recipientTotalAmount.amount/(e.paymentDetailsSection?.conversionRate??1)*100/100,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},p={amount:o?.method.includes("international")===!0?It(fe,o):e.recipientTotalAmount.amount+(o?.fee.amount??0),currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},N={amount:o?.method.includes("international")===!0?Pt(fe,o):o?.fee.amount??0,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},[ct,ge]=q.useState(!1),[mt,xe]=q.useState(!1),be=()=>ge(!1),pt=()=>{w.trackBillPayMagicLinkPreviewEmail("review_bill"),ge(!0)},ut=e.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${i.magicLink.collectFrom} ${e.toAccountVendorEmail}`,t.jsx(Ln,{size:d,children:t.jsx(Rn,{})})]}):kt(e.paymentDetailsSection?.paymentTo);q.useEffect(()=>{(z?.fetchState==="Completed"||X?.fetchState==="Completed")&&(pe(),ye(),he())},[z,X,he,pe,ye]);const $=e.billPayInfo?.stage,P=e.billPayInfo?.billStatus,W=e.billPayInfo?.billPaymentStatus,yt=e.billPayInfo?.billPaymentRefundStatus,te=$?.code==="paid"?$:P?.code=="approved"&&W?.code?W:P,ht=e.billPayInfo?.isRefundInitiated===!0?yt:P?.code=="approved"&&W?.code?W:P,ne=()=>{me()},we=()=>{me()},G=e.paymentDetailsSection?.paymentDate,ae=le(o?.method??""),$e=ae.replace("Same Day",""),ft=e.isCollectToAccountInfoFromVendorContact?t.jsx(At,{paymentTypeLabel:$e,onClick:pt}):i.addedByZeni,V=y.allApprovalRules.length>0,gt=Le(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),g=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=()=>{dt(),xe(!1)},k=g&&($?.code!=null?$.code==="draft"||P?.code==="approved":!0),b=k&&!ot,je=_e(b,V,e.isBillMarkedForRetry),wt=()=>g?b?void 0:i.paymentOutsideZeni.reviewInfo:o?.method!=null&&o.method.includes(I)&&e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod!=null&&T&&ee===v.currencyCode?Xt(e.paymentDetailsSection.internationalTransferFeeBearerPaymentMethod):void 0,ie=rt&&e.paymentDetailsSection!=null?Mt(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(x??"new_bill"),o?.method!=null&&l!=null){const St=g?i.paymentOutsideZeni.offline:le(o.method);if(w.trackBillPaySendForApproval(St,l.format(Ne.analytics.MMMDashDDDashYYYYFormat),r,e.isRecurring,x,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}),ie!=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===i.scheduleBill?w.trackLowBalanceAccountSchedule(Ce,De,Ie,Pe,ke,Ae):je===i.sendForApproval&&w.trackLowBalanceAccountSentForApproval(Ce,De,Ie,Pe,ke,Ae)}}},Se=()=>{Te===!0&&Y(!1),e.isBillMarkedForRetry===!0?(st(),w.trackRetryConfirmClick(te?.code??"",$?.code??"",ht?.description??"",e.isRecurring?["Recurring"]:["One-Time"],e.invoiceNumber??"")):e.vendor!=null&&($t(),ue(!1,{}))},vt=ln(p.amount,y.allApprovalRules,c.loggedInUser),[Te,Y]=q.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(dn,{withdrawFrom:e.paymentDetailsSection?.withdrawFrom,paymentDate:e.paymentDetailsSection?.paymentDate,onOkClick:Se,onCancelClick:()=>{Y(!1),ne()},onClickAway:()=>{Y(!1)}}):null,t.jsx(Bt,{anchor:"right",open:ct,onClose:be,transitionDuration:250,"data-testid":j("vendor-email-preview-drawer"),children:t.jsx(Ft,{companyName:Rt(M.company?.companyInfo),vendor:e.vendor?.name,paymentDate:G?.format(C)??"",paymentType:$e,amount:A("0,0[.]00",p),isInvoiceAttached:!!e.file,onClose:be})}),t.jsxs(vn,{windowSize:d,style:it,children:[d==="small"?t.jsxs(Fn,{windowSize:d,children:[t.jsx(Ke,{onClick:we,"data-testid":j("review-detail-nav-bar-small-back")}),t.jsx(Ge,{windowSize:d,children:i.oneLastLook})]}):t.jsx(Bn,{"data-testid":j("review-details-nav-bar-back"),children:t.jsx(Ke,{onClick:we})}),d!=="small"?t.jsx(Sn,{children:t.jsx(Ge,{windowSize:d,children:i.oneLastLook})}):null,e.duplicateBillTransactions.length>0?t.jsxs(Tn,{children:[t.jsxs(Cn,{children:[t.jsx(Vn,{}),t.jsxs(Dn,{children:[t.jsx(Pn,{children:i.duplicateBillPayWarning}),t.jsxs(In,{children:[i.duplicateBillPayWarningSubHeading,t.jsxs("span",{"data-testid":j("review-detail-attachment-button"),onClick:()=>Q(e.duplicateBillTransactions[0].id,e.duplicateBillTransactions[0].billPayInfo.stage.code),style:{textDecoration:"underline",cursor:"pointer"},children:[i.viewBill,e.duplicateBillTransactions[0].documentId]})]})]})]}),t.jsxs(qn,{children:[t.jsx(Gn,{children:i.duplicateInvoiceFound}),e.duplicateBillTransactions.map(l=>{const r=Lt(l);return l!=null?t.jsx(Wn,{children:nt.includes(d)?t.jsxs(Ve,{windowSize:d,children:[t.jsxs(kn,{children:[t.jsxs(An,{children:[l.attachments&&l.attachments.length>0?t.jsx(Ze,{attachment:l.attachments[0]}):t.jsx(Ue,{children:t.jsx(Je,{})}),t.jsx(U,{children:t.jsxs(t.Fragment,{children:[l.documentId!=null?i.invoiceNo:null,l.documentId]})})]}),t.jsx(Qe,{windowSize:d,children:A("0,0[.]00",l.recipientTotalAmount)})]}),t.jsxs(Zn,{"data-testid":j("review-detail-mobile-info"),onClick:()=>Q(l.id,l.billPayInfo.stage.code),children:[t.jsxs(U,{children:[l.dueDate!=null?i.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(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})]}):t.jsxs(Ve,{windowSize:d,children:[l.attachments&&l.attachments.length>0?t.jsx(Ze,{attachment:l.attachments[0]}):t.jsx(Ue,{children:t.jsx(Je,{})}),t.jsxs(_n,{"data-testid":j("review-detail-info"),onClick:()=>Q(l.id,l.billPayInfo.stage.code),children:[t.jsx(U,{style:{width:"50%"},children:t.jsxs("div",{children:[l.documentId!=null?i.invoiceNo:null," ",l.documentId]})}),t.jsxs(U,{style:{width:"25%"},children:[l.dueDate!=null?i.due:null," ",l.dueDate?.format(C)]}),t.jsx(Qe,{style:{width:"25%"},windowSize:d,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(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})},l.id):null})]})]}):null,t.jsxs(Mn,{children:[t.jsx(Ye,{children:i.pay}),t.jsx(He,{children:t.jsx(Fe,{amount:gt,integerStyles:H.largeMedium.cssObject,decimalStyles:H.smallMedium.cssObject})}),t.jsx(Ye,{children:i.to}),t.jsx(He,{children:e.vendor?.name})]}),t.jsxs(jn,{children:[g?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:Z({type:"details",key:"withdrawFrom"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("withdrawFrom")}`},children:t.jsx(_,{label:{label:i.withdrawFrom,width:L},style:{width:"auto"},value:e.paymentDetailsSection?.withdrawFrom!=null?zt(e.paymentDetailsSection.withdrawFrom,d):h,infoLabelStyle:{textAlign:d==="small"?"left":"right",paddingRight:m.infoLabelPaddingRight.valuePx(d),marginTop:m.infoLabelMarginTop.valuePx(d),color:S.brandColorGoldDark},additionalInfoLabel:ie})}),t.jsx(K,{})]}),t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:Z({type:"details",key:"paymentType"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentType")}`},children:t.jsx(_,{label:{label:i.paymentMethod,width:L},style:{width:"auto"},value:le(o?.method??""),additionalInfoLabel:wt()})}),t.jsx(K,{}),!g&&G!=null?t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:Z({type:"details",key:"paymentDate"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentDate")}`},children:t.jsx(_,{label:{label:i.paymentDate,width:L},style:{width:"auto"},value:G.format(C),additionalInfoLabel:`${i.estimatedArrival}${oe(on(G.toDate(),[0,6],o?.maxPeriod.value??0).toDateString()).format(C)} - (${ae.length>0?`${ae} `:""}${i.deliveryTimeLabel} = ${o?.maxPeriod.value??"0"} ${i.deliveryTimeUnits})`})}),t.jsx(K,{})]}):null,g?null:t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:Z({type:"details",key:"paymentTo"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentTo")}`},children:t.jsx(_,{label:{label:i.paymentTo,width:L},style:{width:"auto"},value:ut??"",additionalInfoLabel:ft})}),g||lt?t.jsxs(t.Fragment,{children:[t.jsx(K,{}),t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:Z({type:"details",key:"recurringPaymentType"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("recurringPaymentType")}`},children:t.jsx(_,{label:{label:i.paymentType,width:L},style:{width:"auto"},value:Ot(e.isRecurring,g,e.recurringBillInstance??1,e.recurringConfig?.totalPaymentCycles??0),additionalInfoLabel:Nt(d,e.isRecurring,g,e.recurringConfig)})})]}):null]}),!g&&o?.method!=null&&(o.method.includes(I)||o?.fee.amount!=null&&o.fee.amount!==0)?t.jsx(gn,{children:t.jsxs(xn,{windowSize:d,children:[t.jsxs(bn,{children:[t.jsx(yn,{children:i.total}),t.jsx(Re,{style:{padding:`12px ${n.sp3}`,lineHeight:"18px"},maxWidth:"312px",title:t.jsxs(fn,{children:[t.jsxs(We,{children:[t.jsx(de,{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(We,{children:[t.jsx(de,{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(de,{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:Le(p.amount,p.currencyCode,p.currencySymbol),integerStyles:H.h6Medium.cssObject,decimalStyles:H.standardMedium.cssObject})})]})}):null]}),t.jsx(Et,{cancelBtn:{label:k&&!b?i.paymentOutsideZeni.markAsPaid:i.editBill,onClick:k&&!b?ve:ne,style:{width:qe(!1,k,b,V,d)}},primaryBtn:{label:_e(b,V,e.isBillMarkedForRetry),isLoading:z?.fetchState==="In-Progress"||X?.fetchState==="In-Progress",onClick:b?ve:()=>{vt&&ie!=null?Y(!0):Se()},style:{width:qe(!0,k,b,V,d)}},rightSideComponent:k&&!b&&z.fetchState!=="In-Progress"?t.jsx(Yn,{windowSize:d,children:t.jsx(Re,{style:{color:S.heroDark,padding:`2px ${n.sp2}`},display:"flex",title:cn,placement:"top",children:t.jsx(Kn,{onClick:ne,"data-testid":j("review-detail-edit-bill-button"),children:t.jsx(Hn,{})})})}):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:[i.internationalText1,t.jsx(Nn,{href:"https://www.nium.com/legal/end-customer-terms",target:"_Blank",rel:"noopener noreferrer",children:i.internationalTerms}),i.internationalText2]}):null})]})},_e=(e,y,f)=>e?i.paymentOutsideZeni.markAsPaid:f===!0?i.retryPayment:y?i.sendForApproval:i.scheduleBill,qe=(e,y,f,M,T)=>f?128:y&&!e&&T==="small"?"auto":M?165:m.footerButtonWidth.value(T),pn=a(en)`
|
|
2
2
|
width: ${n.sp3};
|
|
3
3
|
height: ${n.sp3};
|
|
4
4
|
color: ${e=>e.theme.colors.hero};
|
|
5
5
|
&:hover {
|
|
6
6
|
color: ${e=>e.theme.colors.primary};
|
|
7
7
|
}
|
|
8
|
-
`,We=
|
|
8
|
+
`,We=a(tt)`
|
|
9
9
|
display: flex;
|
|
10
10
|
justify-content: space-between;
|
|
11
11
|
padding-bottom: ${n.sp1};
|
|
12
|
-
`,re=
|
|
12
|
+
`,re=a.div`
|
|
13
13
|
color: ${e=>e.theme.colors.brandColorPearl};
|
|
14
|
-
`,de=
|
|
14
|
+
`,de=a.div`
|
|
15
15
|
color: ${e=>e.theme.colors.hero};
|
|
16
|
-
`,un=
|
|
16
|
+
`,un=a(tt)`
|
|
17
17
|
display: flex;
|
|
18
18
|
justify-content: space-between;
|
|
19
19
|
padding-top: ${n.sp1};
|
|
20
|
-
`,yn=
|
|
20
|
+
`,yn=a.div``,hn=a.div`
|
|
21
21
|
background-color: ${S.neutralGrey3Dark};
|
|
22
22
|
height: 1px;
|
|
23
23
|
width: 280px;
|
|
24
|
-
`,fn=
|
|
24
|
+
`,fn=a.div``,gn=a.div`
|
|
25
25
|
display: flex;
|
|
26
26
|
width: 100%;
|
|
27
27
|
box-sizing: border-box;
|
|
28
|
-
`,xn=
|
|
28
|
+
`,xn=a.div`
|
|
29
29
|
width: 100%;
|
|
30
30
|
padding: ${n.sp3};
|
|
31
31
|
display: flex;
|
|
@@ -36,30 +36,30 @@ import{q as Tt,aw as Ct,y as u,f0 as Dt,f1 as It,f2 as Pt,V as t,f3 as kt,f4 as
|
|
|
36
36
|
border-radius: ${n.sp2};
|
|
37
37
|
color: ${e=>e.theme.colors.hero};
|
|
38
38
|
margin-bottom: ${n.sp2};
|
|
39
|
-
`,bn=
|
|
39
|
+
`,bn=a(et)`
|
|
40
40
|
gap: ${n.sp1};
|
|
41
41
|
display: flex;
|
|
42
42
|
width: 100%;
|
|
43
43
|
color: ${e=>e.theme.colors.primary};
|
|
44
44
|
align-items: center;
|
|
45
|
-
`,wn=
|
|
45
|
+
`,wn=a(et)`
|
|
46
46
|
display: flex;
|
|
47
47
|
width: calc(100% - 176px);
|
|
48
48
|
justify-content: flex-end;
|
|
49
49
|
color: ${e=>e.theme.colors.primary};
|
|
50
|
-
`,$n=
|
|
50
|
+
`,$n=a.div`
|
|
51
51
|
display: flex;
|
|
52
52
|
flex-direction: column;
|
|
53
53
|
width: 100%;
|
|
54
54
|
height: 100%;
|
|
55
|
-
`,vn=
|
|
55
|
+
`,vn=a.div`
|
|
56
56
|
display: flex;
|
|
57
57
|
flex-grow: 1;
|
|
58
58
|
flex-direction: column;
|
|
59
59
|
margin-left: ${e=>m.reviewContainerMarginLeft.valuePx(e.windowSize)};
|
|
60
60
|
margin-right: ${e=>m.reviewContainerMarginRight.valuePx(e.windowSize)};
|
|
61
61
|
padding-top: ${n.sp3};
|
|
62
|
-
`,jn=
|
|
62
|
+
`,jn=a.div`
|
|
63
63
|
display: flex;
|
|
64
64
|
flex-direction: column;
|
|
65
65
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -68,21 +68,21 @@ import{q as Tt,aw as Ct,y as u,f0 as Dt,f1 as It,f2 as Pt,V as t,f3 as kt,f4 as
|
|
|
68
68
|
border-radius: ${n.sp2};
|
|
69
69
|
margin-bottom: ${n.sp3};
|
|
70
70
|
margin-top: ${n.sp3};
|
|
71
|
-
`,K=
|
|
71
|
+
`,K=a.div`
|
|
72
72
|
display: flex;
|
|
73
73
|
flex: 1;
|
|
74
74
|
background-color: ${e=>e.theme.colors.grey3};
|
|
75
75
|
min-height: 1px;
|
|
76
76
|
max-height: 1px;
|
|
77
|
-
`,Ge=
|
|
77
|
+
`,Ge=a(Gt)`
|
|
78
78
|
color: ${e=>e.theme.colors.primary};
|
|
79
79
|
${e=>`${sn.sectionTitle.style(e.windowSize)}`};
|
|
80
80
|
margin-left: ${e=>m.sectionTitleMarginLeft.valuePx(e.windowSize)};
|
|
81
|
-
`,Sn=
|
|
81
|
+
`,Sn=a.div`
|
|
82
82
|
display: flex;
|
|
83
83
|
margin-bottom: ${n.sp3};
|
|
84
84
|
margin-top: ${n.sp3};
|
|
85
|
-
`,Tn=
|
|
85
|
+
`,Tn=a.div`
|
|
86
86
|
display: flex;
|
|
87
87
|
flex-direction: column;
|
|
88
88
|
border-radius: ${n.sp2};
|
|
@@ -90,46 +90,46 @@ import{q as Tt,aw as Ct,y as u,f0 as Dt,f1 as It,f2 as Pt,V as t,f3 as kt,f4 as
|
|
|
90
90
|
background-color: ${e=>e.theme.colors.grey5};
|
|
91
91
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
92
92
|
box-shadow: ${e=>`${n.sp0} 2px ${n.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
93
|
-
`,Cn=
|
|
93
|
+
`,Cn=a.div`
|
|
94
94
|
background-color: ${S.alertLight};
|
|
95
95
|
border-radius: ${n.sp2};
|
|
96
96
|
width: 100%;
|
|
97
97
|
display: flex;
|
|
98
|
-
`,Dn=
|
|
98
|
+
`,Dn=a.div`
|
|
99
99
|
display: flex;
|
|
100
100
|
flex-direction: column;
|
|
101
101
|
padding-left: ${n.sp2};
|
|
102
|
-
`,In=
|
|
102
|
+
`,In=a(se)`
|
|
103
103
|
padding-bottom: ${n.sp3};
|
|
104
104
|
color: ${S.brandColorGoldDark};
|
|
105
|
-
`,Pn=
|
|
105
|
+
`,Pn=a(Yt)`
|
|
106
106
|
padding-top: ${n.sp3};
|
|
107
107
|
color: ${S.brandColorGoldDark};
|
|
108
|
-
`,Ve=
|
|
108
|
+
`,Ve=a.div`
|
|
109
109
|
display: flex;
|
|
110
110
|
flex-direction: ${e=>nt.includes(e.windowSize)?"column":"row"};
|
|
111
111
|
width: 100%;
|
|
112
|
-
`,kn=
|
|
112
|
+
`,kn=a.div`
|
|
113
113
|
display: flex;
|
|
114
114
|
justify-content: space-between;
|
|
115
115
|
align-items: center;
|
|
116
116
|
column-gap: ${n.sp1};
|
|
117
|
-
`,An=
|
|
117
|
+
`,An=a.div`
|
|
118
118
|
display: flex;
|
|
119
119
|
column-gap: ${n.sp2};
|
|
120
120
|
align-items: center;
|
|
121
|
-
`,Mn=
|
|
121
|
+
`,Mn=a.div`
|
|
122
122
|
display: flex;
|
|
123
123
|
padding-top: ${n.sp3};
|
|
124
|
-
`,Ye=
|
|
124
|
+
`,Ye=a(Jt)`
|
|
125
125
|
display: flex;
|
|
126
126
|
color: ${e=>e.theme.colors.hero};
|
|
127
127
|
margin-right: ${n.sp1};
|
|
128
|
-
`,He=
|
|
128
|
+
`,He=a(Qt)`
|
|
129
129
|
display: flex;
|
|
130
130
|
color: ${e=>e.theme.colors.primary};
|
|
131
131
|
margin-right: ${n.sp1};
|
|
132
|
-
`,Ke=
|
|
132
|
+
`,Ke=a(qt)`
|
|
133
133
|
cursor: pointer;
|
|
134
134
|
color: ${e=>e.theme.colors.hero};
|
|
135
135
|
width: 20px;
|
|
@@ -137,9 +137,9 @@ import{q as Tt,aw as Ct,y as u,f0 as Dt,f1 as It,f2 as Pt,V as t,f3 as kt,f4 as
|
|
|
137
137
|
&:hover {
|
|
138
138
|
color: ${e=>e.theme.colors.primary};
|
|
139
139
|
}
|
|
140
|
-
`,Bn=
|
|
140
|
+
`,Bn=a.div`
|
|
141
141
|
margin-bottom: ${n.sp3};
|
|
142
|
-
`,Fn=
|
|
142
|
+
`,Fn=a.div`
|
|
143
143
|
display: flex;
|
|
144
144
|
align-items: center;
|
|
145
145
|
margin-right: ${e=>e.showAutofill===!0?n.sp8:"unset"};
|
|
@@ -152,23 +152,23 @@ import{q as Tt,aw as Ct,y as u,f0 as Dt,f1 as It,f2 as Pt,V as t,f3 as kt,f4 as
|
|
|
152
152
|
padding-left: ${n.sp0};
|
|
153
153
|
z-index: 2;
|
|
154
154
|
background-color: ${e=>e.theme.colors.grey4};
|
|
155
|
-
`,Rn=
|
|
155
|
+
`,Rn=a(_t)`
|
|
156
156
|
height: ${n.sp3};
|
|
157
157
|
width: ${n.sp3};
|
|
158
158
|
color: ${e=>e.theme.colors.hero};
|
|
159
|
-
`,Ln=
|
|
159
|
+
`,Ln=a.span`
|
|
160
160
|
display: flex;
|
|
161
161
|
align-items: center;
|
|
162
162
|
margin-left: ${n.sp2};
|
|
163
163
|
margin-top: ${e=>m.iconContainerMarginTop.valuePx(e.size)};
|
|
164
164
|
align-self: ${e=>e.size==="small"?"baseline":"center"};
|
|
165
|
-
`,zn=
|
|
165
|
+
`,zn=a(ce)`
|
|
166
166
|
color: ${e=>e.theme.colors.grey1};
|
|
167
167
|
display: flex;
|
|
168
168
|
flex-wrap: wrap;
|
|
169
169
|
justify-content: center;
|
|
170
170
|
align-items: center;
|
|
171
|
-
`,Nn=
|
|
171
|
+
`,Nn=a.a`
|
|
172
172
|
color: ${e=>e.theme.colors.grey1};
|
|
173
173
|
text-decoration: underline;
|
|
174
174
|
margin-right: ${n.sp1};
|
|
@@ -176,7 +176,7 @@ import{q as Tt,aw as Ct,y as u,f0 as Dt,f1 as It,f2 as Pt,V as t,f3 as kt,f4 as
|
|
|
176
176
|
&:hover {
|
|
177
177
|
color: ${e=>e.theme.colors.primary};
|
|
178
178
|
}
|
|
179
|
-
`,On=
|
|
179
|
+
`,On=a.div`
|
|
180
180
|
cursor: ${e=>e.isDisabled?"default":"pointer"};
|
|
181
181
|
display: flex;
|
|
182
182
|
flex-direction: row;
|
|
@@ -189,49 +189,49 @@ import{q as Tt,aw as Ct,y as u,f0 as Dt,f1 as It,f2 as Pt,V as t,f3 as kt,f4 as
|
|
|
189
189
|
color: ${e=>e.isDisabled?e.theme.colors.hero:e.theme.colors.primary};
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
|
-
`,En=
|
|
192
|
+
`,En=a.div`
|
|
193
193
|
width: ${n.sp4};
|
|
194
194
|
height: ${n.sp4};
|
|
195
195
|
display: flex;
|
|
196
|
-
`,Ue=
|
|
196
|
+
`,Ue=a.div`
|
|
197
197
|
cursor: default;
|
|
198
198
|
display: flex;
|
|
199
199
|
align-items: center;
|
|
200
200
|
margin-right: ${n.sp1};
|
|
201
|
-
`,Je=
|
|
201
|
+
`,Je=a(Ut)`
|
|
202
202
|
cursor: pointer;
|
|
203
203
|
width: ${n.sp4};
|
|
204
204
|
height: ${n.sp4};
|
|
205
205
|
color: ${e=>e.theme.colors.hero};
|
|
206
|
-
`,U=
|
|
206
|
+
`,U=a(se)`
|
|
207
207
|
display: flex;
|
|
208
208
|
color: ${e=>e.theme.colors.hero};
|
|
209
209
|
align-items: center;
|
|
210
210
|
min-width: 142px;
|
|
211
211
|
flex-grow: 1;
|
|
212
|
-
`,Qe=
|
|
212
|
+
`,Qe=a(se)`
|
|
213
213
|
display: flex;
|
|
214
214
|
color: ${e=>e.theme.colors.primary};
|
|
215
215
|
align-items: center;
|
|
216
216
|
margin-right: ${e=>m.infoMarginRight.valuePx(e.windowSize)};
|
|
217
217
|
min-width: ${e=>m.infoMinWidth.valuePx(e.windowSize)};
|
|
218
218
|
justify-content: flex-end;
|
|
219
|
-
`,Zn=
|
|
219
|
+
`,Zn=a.div`
|
|
220
220
|
display: flex;
|
|
221
221
|
cursor: pointer;
|
|
222
222
|
column-gap: ${n.sp1};
|
|
223
223
|
margin-left: ${n.sp5};
|
|
224
|
-
`,Xe=
|
|
224
|
+
`,Xe=a.div`
|
|
225
225
|
width: 120px;
|
|
226
226
|
display: flex;
|
|
227
227
|
justify-content: flex-end;
|
|
228
228
|
align-items: center;
|
|
229
|
-
`,_n=
|
|
229
|
+
`,_n=a.div`
|
|
230
230
|
display: flex;
|
|
231
231
|
flex-grow: 1;
|
|
232
232
|
cursor: pointer;
|
|
233
233
|
width: 100%;
|
|
234
|
-
`,J=
|
|
234
|
+
`,J=a(ce)`
|
|
235
235
|
display: flex;
|
|
236
236
|
color: ${e=>e.borderColor};
|
|
237
237
|
height: 20px;
|
|
@@ -247,31 +247,31 @@ import{q as Tt,aw as Ct,y as u,f0 as Dt,f1 as It,f2 as Pt,V as t,f3 as kt,f4 as
|
|
|
247
247
|
padding: 1px 6px;
|
|
248
248
|
border: ${e=>`1px solid ${e.borderColor}`};
|
|
249
249
|
border-radius: ${n.sp1};
|
|
250
|
-
`,qn=
|
|
250
|
+
`,qn=a.div`
|
|
251
251
|
display: flex;
|
|
252
252
|
flex-direction: column;
|
|
253
|
-
`,Wn=
|
|
253
|
+
`,Wn=a.div`
|
|
254
254
|
display: flex;
|
|
255
255
|
width: 100%;
|
|
256
256
|
flex-flow: column;
|
|
257
257
|
padding-top: ${n.sp2};
|
|
258
258
|
padding-bottom: ${n.sp2};
|
|
259
259
|
border-bottom: ${e=>`1px solid ${e.theme.colors.grey3}`};
|
|
260
|
-
`,Gn=
|
|
260
|
+
`,Gn=a(ce)`
|
|
261
261
|
margin-top: ${n.sp3};
|
|
262
262
|
color: ${S.alert};
|
|
263
|
-
`,Vn=
|
|
263
|
+
`,Vn=a(Vt)`
|
|
264
264
|
min-width: ${n.sp4};
|
|
265
265
|
height: ${n.sp4};
|
|
266
266
|
width: ${n.sp4};
|
|
267
267
|
margin-top: ${n.sp3};
|
|
268
268
|
margin-left: ${n.sp4};
|
|
269
269
|
color: ${S.brandColorGoldDark};
|
|
270
|
-
`,Yn=
|
|
270
|
+
`,Yn=a.div`
|
|
271
271
|
display: flex;
|
|
272
272
|
justify-content: flex-end;
|
|
273
273
|
margin-right: ${e=>m.footerRightIconMarginRight.valuePx(e.windowSize)};
|
|
274
|
-
`,Hn=
|
|
274
|
+
`,Hn=a(tn)`
|
|
275
275
|
cursor: pointer;
|
|
276
276
|
color: ${e=>e.theme.colors.hero};
|
|
277
277
|
width: ${n.sp4};
|
|
@@ -279,7 +279,7 @@ import{q as Tt,aw as Ct,y as u,f0 as Dt,f1 as It,f2 as Pt,V as t,f3 as kt,f4 as
|
|
|
279
279
|
&:hover {
|
|
280
280
|
color: ${e=>e.theme.colors.primary};
|
|
281
281
|
}
|
|
282
|
-
`,Kn=
|
|
282
|
+
`,Kn=a.div`
|
|
283
283
|
display: flex;
|
|
284
284
|
cursor: pointer;
|
|
285
285
|
color: ${e=>e.theme.colors.grey1};
|
|
@@ -287,4 +287,4 @@ import{q as Tt,aw as Ct,y as u,f0 as Dt,f1 as It,f2 as Pt,V as t,f3 as kt,f4 as
|
|
|
287
287
|
&:hover {
|
|
288
288
|
color: ${e=>e.theme.colors.primary};
|
|
289
289
|
}
|
|
290
|
-
`;export{
|
|
290
|
+
`;export{sa as default};
|
package/dist/assets/{ReviewOverlay-vmoQ2B3U-U5POiYSb.js → ReviewOverlay-tGj059Ib-BvRNdoTH.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as L,V as i,aN as m,o as r,aP as M,y as d,L as B,R as I,M as W,p as s,al as j,cz as C,k as R,
|
|
1
|
+
import{q as L,V as i,aN as m,o as r,aP as M,y as d,L as B,R as I,M as W,p as s,al as j,cz as C,k as R,ai as b,bg as D,c as n,ef as G,u as _,iU as q,k5 as A}from"./index-CLqQIFvx.js";import{n as t}from"./mui-Co4rhSdf.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="5d53e90f-a21d-413b-9144-a8effa06f86f",e._sentryDebugIdIdentifier="sentry-dbid-5d53e90f-a21d-413b-9144-a8effa06f86f")}catch{}})();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])},F={title:new I("h6Regular","h5Regular")},xe=({title:e,description:g,reviewItems:x,showFooter:S,footerProps:{primaryButton:z,cancelButton:T,hideCancel:E},onCloseOverlay:k,onCloseReviewItem:P})=>{const a=L();return i.jsxs(H,{children:[i.jsx(X,{windowSize:a,children:i.jsx(Y,{children:i.jsx(Z,{windowSize:a,children:i.jsx(ee,{children:i.jsx(ie,{onClick:k,"data-testid":m("review-overlay-close",e)})})})})}),i.jsxs(J,{windowSize:a,children:[i.jsxs(N,{windowSize:a,children:[i.jsx(O,{children:i.jsx(U,{windowSize:a,children:e})}),i.jsx(K,{isError:g.isError,windowSize:a,children:g.content})]}),i.jsx(Q,{windowSize:a,children:x.map(o=>{const h=o.reviewStatus.code==="error",c=o.reviewStatus.code==="warning"||o.reviewStatus.code==="low-balance";return i.jsxs(re,{isLoading:!1,isActive:!0,isWarning:c,isError:h,children:[c?i.jsx(ce,{onClick:()=>P(o.id),"data-testid":m("review-close",o.id)}):null,i.jsxs(te,{children:[i.jsxs(ne,{children:[i.jsx(de,{children:V(o)}),i.jsxs(oe,{children:[i.jsxs(w,{children:[i.jsx(f,{style:{marginLeft:r.sp2},isWarning:c,isError:h,children:o.leftSideText.title}),i.jsx(f,{isWarning:c,isError:h,children:o.rightSideText.title})]}),i.jsxs(w,{children:[i.jsx(se,{style:{marginLeft:r.sp2},children:o.leftSideText.subTitle}),a!=="small"?i.jsxs(u,{windowSize:a,children:[i.jsx(p,{isError:h,isWarning:c,children:i.jsxs(i.Fragment,{children:[o.rightSideText.showThunderIcon===!0?i.jsx(v,{children:i.jsx($,{})}):null,o.rightSideText.subTitle]})}),i.jsx(p,{isWarning:!0,isError:!1,children:o.rightSideText.additonalInfo})]}):null]})]})]}),a==="small"?i.jsxs(u,{windowSize:a,children:[i.jsx(p,{style:{marginLeft:r.sp5,marginTop:r.sp0},isError:h,isWarning:c,children:i.jsxs(i.Fragment,{children:[o.rightSideText.showThunderIcon===!0?i.jsx(v,{children:i.jsx($,{})}):null,o.rightSideText.subTitle]})}),i.jsx(p,{style:{marginLeft:r.sp5,marginTop:r.sp0},isWarning:c,isError:h,children:o.rightSideText.additonalInfo})]}):null]})]},o.id)})})]}),S?i.jsx(M,{primaryBtn:z,cancelBtn:T,showCancel:!E}):null]})},V=e=>e.reviewStatus.isLoading?i.jsx(R,{size:"Small",style:{display:"flex",width:r.sp4,height:r.sp4,alignItems:"center",justifyContent:"center"},start:!0}):e.reviewStatus.code==="error"?i.jsx(y,{isError:!0}):e.reviewStatus.code==="warning"?i.jsx(y,{isError:!1}):e.reviewStatus.code==="valid"?i.jsx(ae,{}):e.reviewStatus.code==="low-balance"?i.jsx(he,{}):i.jsx(le,{}),H=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey4};
|
package/dist/assets/{RoleWithToolTip-CEcusyL7-CTwR219H.js → RoleWithToolTip-BGafXnoE-Cs8CtpyO.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import{eM as h,eN as
|
|
1
|
+
import{eM as h,eN as b,V as s,bR as f,o as d,aN as l,F as g,an as x,ai as c}from"./index-CLqQIFvx.js";import{n}from"./mui-Co4rhSdf.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="61eb3be2-80a0-452c-8aed-e8bcb86512f6",e._sentryDebugIdIdentifier="sentry-dbid-61eb3be2-80a0-452c-8aed-e8bcb86512f6")}catch{}})();const{hyphen:i}=g.getLocalizedStrings().common.strings,y=n.div``,m=n.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-width: 192px;
|
|
4
4
|
justify-content: space-between;
|
|
5
|
-
`,u=n(
|
|
5
|
+
`,u=n(c)`
|
|
6
6
|
color: ${e=>e.theme.colors.hero};
|
|
7
|
-
`,j=n(
|
|
7
|
+
`,j=n(c)`
|
|
8
8
|
color: ${e=>e.theme.colors.brandColorPearl};
|
|
9
9
|
`,a=n.div`
|
|
10
10
|
display: flex;
|
|
11
11
|
align-items: center;
|
|
12
|
-
`,w=n(
|
|
12
|
+
`,w=n(x)`
|
|
13
13
|
border-radius: ${d.sp12};
|
|
14
14
|
border: 1px solid ${e=>e.theme.colors.grey1};
|
|
15
15
|
display: flex;
|
|
@@ -19,4 +19,4 @@ import{eM as h,eN as f,V as s,bR as g,o as d,aN as l,F as x,an as y,ah as p}from
|
|
|
19
19
|
justify-content: center;
|
|
20
20
|
color: 1px solid ${e=>e.theme.colors.grey1};
|
|
21
21
|
margin-left: ${d.sp1};
|
|
22
|
-
`,I=({roles:e})=>{let t=i,r=[];t=h(e),r=
|
|
22
|
+
`,I=({roles:e})=>{let t=i,r=[];t=h(e),r=b(e);const p=()=>r.length>0?s.jsx(y,{children:r.map(o=>s.jsxs(m,{children:[s.jsx(u,{children:o[0]}),s.jsx(j,{children:o[1]})]},o.join(",")))}):s.jsx(s.Fragment,{children:i});return r.length>0?s.jsx(f,{enterDelay:600,"data-testid":l("roles-tooltip",t),title:p(),placement:"top-end",style:{marginLeft:d.sp1,padding:"6px 12px"},maxWidth:"264px",children:s.jsxs(a,{"data-testid":l("roles-label-wrapper",t),children:[t,s.jsx(w,{className:"roles-count-wrapper","data-testid":l("roles-count-wrapper",t),children:r.length})]})}):s.jsx(a,{"data-testid":l("roles-label-wrapper",t),children:t})};export{I as T};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aO as K,ij as ee,gE as fe,ew as we,ik as Le,a9 as Je,il as Me,cC as _e,cD as Ve,V as a,ac as Fe,cn as Pe,co as qe,cp as Ne,aP as Be,im as Re,io as We,F as
|
|
1
|
+
import{aO as K,ij as ee,gE as fe,ew as we,ik as Le,a9 as Je,il as Me,cC as _e,cD as Ve,V as a,ac as Fe,cn as Pe,co as qe,cp as Ne,aP as Be,im as Re,io as We,F as Ce,aa as he,ip as me,iq as ze,cP as Ue,q as $e,iE as Ge,gJ as re,c as R,p as Se,y as De,cF as Ke,ir as He,is as Qe,it as Ye,o as V}from"./index-CLqQIFvx.js";import{a as f}from"./sentry-Cue4MgLi.js";import{n as z}from"./mui-Co4rhSdf.js";import{F_ as Ze,F$ as Xe}from"./zeni-epic-state-DcWK4mxP.js";import{i as et,r as tt,n as lt,o as at}from"./ScheduleSequenceTable-C31xhtxt-m1Npa7Ri.js";import"./liveblocks-DZksneMc.js";import"./core-CYa2vsSD.js";import"./recharts-C4PW-81v.js";import"./lottie-EtzJiaFi.js";import"./analytics-CxT-6Gc4.js";import"./lexical-DzVC4tTe.js";import"./utils-CxOjlxtI.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="43beab83-c1f5-4852-b95a-f264ac8aedd2",e._sentryDebugIdIdentifier="sentry-dbid-43beab83-c1f5-4852-b95a-f264ac8aedd2")}catch{}})();const W={labelWidth:new De(160,160,160),depCategoryLabelWidth:new De(200,280,280)},st=z.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -18,7 +18,7 @@ import{aO as K,ij as ee,gE as fe,ew as we,ik as Le,a9 as Je,il as Me,cC as _e,cD
|
|
|
18
18
|
display: flex;
|
|
19
19
|
flex-direction: column;
|
|
20
20
|
margin: ${V.sp4} ${V.sp8} ${V.sp0} ${V.sp8};
|
|
21
|
-
`,_=(e,n)=>`${e}.${n}`;function nt({sectionId:e,jeScheduledTransaction:n,updateStatus:m,allAccountOptions:l,allAccountList:s,allClassList:u,allClassOptions:c,allDepreciationAccountList:p,allDepreciationAccountOptions:
|
|
21
|
+
`,_=(e,n)=>`${e}.${n}`;function nt({sectionId:e,jeScheduledTransaction:n,updateStatus:m,allAccountOptions:l,allAccountList:s,allClassList:u,allClassOptions:c,allDepreciationAccountList:p,allDepreciationAccountOptions:C,allMonthOptions:v,uncategorizedAccounts:k,selectedAccount:T,selectedClass:F,selectedAccumulatedDepreciationCategory:P,assetId:w,selectedDate:L,selectedMonths:I,selectedPostingDay:E,lastDayOfMonth:j,isDisabled:h,allowCreateSchedule:J,onCreateSchedule:i,onDelete:ae,onMarkAsComplete:Y}){const{resetField:S}=Ue(),se=_(e,"scheduleExpenseCategory"),oe=_(e,"scheduleClass"),ne=_(e,"accumulatedDepreciationCategory"),de=_(e,"assetId"),Z=_(e,"startDate"),D=_(e,"postingDate"),r=_(e,"months"),t=Ce.getLocalizedStrings().jeSchedules.scheduleDetails.scheduleDetailsSection,b=o=>s.filter(N=>N.qboId===o)[0]?.qboId,x=o=>p.filter(N=>N.qboId===o)[0]?.qboId,ie=o=>u.filter(N=>N.classId===o)[0]?.accountingClassNumber,Q={valueContainer:o=>({...o,overflow:"unset"})},O=$e(),U=Ge({startDate:n.baseTransaction.date,endDate:n.baseTransaction.date.add(1,"year")}),$=()=>{S(D)},G=E==null&&j==null?void 0:j===!0?"lastDayOfMonth":"day",q=o=>[k.expense?.qboId,k.income?.qboId].includes(o),X=()=>{n.jeScheduleId!=null&&ae(n.jeScheduleId)},g=n.scheduledJournalEntry.flatMap(o=>o.error);return a.jsxs(ot,{children:[a.jsx(lt,{status:n.status.code,jeScheduleId:n.jeScheduleId,allowCreateSchedule:J,onDelete:X,isUpdating:m==="In-Progress",onMarkAsComplete:Y,onCreateSchedule:i}),a.jsx(he,{controller:J===!0,children:a.jsxs(st,{children:[a.jsx(re,{isDisabled:g.includes("debit_category_deleted")?void 0:h,isLoading:!1,label:{label:t.expenseCategory,width:W.labelWidth.value(O)},groupedSingleSelectField:{customPlaceholderColor:g.includes("debit_category_deleted")?Se.brandColorGoldDark:void 0,shouldShowChevronIcon:!1,name:se,placeholder:t.expenseCategoryPlaceholder,valueToId:o=>b(o),defaultValue:{selectedOption:T,allOptions:l},registerOptions:{required:!0,validate:o=>!!o.selectedOption},customStyleConfig:Q},disableCurrentOption:q,style:{borderTopLeftRadius:R[2],borderTopRightRadius:R[2]}}),a.jsx(H,{}),a.jsx(re,{isDisabled:h,isLoading:!1,label:{label:t.class,width:W.labelWidth.value(O)},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:oe,placeholder:t.classPlaceholder,valueToId:o=>ie(o),defaultValue:{selectedOption:F,allOptions:c},registerOptions:{required:!0,validate:o=>!!o.selectedOption},customStyleConfig:Q},style:{borderTopLeftRadius:R[0],borderTopRightRadius:R[0]}}),a.jsx(H,{}),a.jsx(re,{isDisabled:g.includes("credit_category_deleted")?void 0:h,isLoading:!1,label:{label:t.accumulatedDepreciationCategory,width:W.depCategoryLabelWidth.value(O)},groupedSingleSelectField:{customPlaceholderColor:g.includes("credit_category_deleted")?Se.brandColorGoldDark:void 0,shouldShowChevronIcon:!1,name:ne,placeholder:t.accumulatedDepreciationCategoryPlaceholder,valueToId:o=>x(o),defaultValue:{selectedOption:P,allOptions:C},registerOptions:{required:!0,validate:o=>!!o.selectedOption},customStyleConfig:Q},disableCurrentOption:q,style:{borderTopLeftRadius:R[0],borderTopRightRadius:R[0]}}),a.jsx(H,{}),a.jsx(Ke,{label:{label:t.assetId,width:W.labelWidth.value(O)},style:{width:"auto"},text:{type:"text",name:de,defaultValue:w,placeholder:t.assetIdPlaceholder,autoComplete:"new-password",options:{maxLength:R[3],required:!0,validate:o=>!!o}},isDisabled:h}),a.jsx(H,{}),a.jsx(He,{label:{label:t.startMonth,width:W.labelWidth.value(O)},monthSelectorField:{name:Z,placeholder:t.startMonthPlaceholder,defaultValue:L,showDownChevron:!1,isDisabled:h,monthsAndYears:U},isDisabled:h}),a.jsx(H,{}),a.jsx(at,{label:{label:t.postingDate,width:W.labelWidth.value(O)},isDisabled:h,dayOfMonthField:{placeholder:t.postingDatePlaceholder,name:D,defaultValue:{type:G,dayOfMonth:E},onSaveClick:()=>{},onCancelClick:$}}),a.jsx(H,{}),a.jsx(Qe,{label:{label:t.months,width:W.labelWidth.value(O)},singleSelectNumericField:{name:r,isDisabled:h,placeholder:t.monthsPlaceholder,defaultValue:{selectedOption:I!=null?v[I-1]:void 0,allOptions:v},registerOptions:{required:!0,validate:o=>!!o.selectedOption}}})]})}),a.jsx(he,{controller:J===!1,children:a.jsx(Ye,{text:t.scheduleMarkedAsCompleted})})]})}const dt=z.div`
|
|
22
22
|
display: flex;
|
|
23
23
|
flex-direction: column;
|
|
24
24
|
width: 100%;
|
|
@@ -34,4 +34,4 @@ import{aO as K,ij as ee,gE as fe,ew as we,ik as Le,a9 as Je,il as Me,cC as _e,cD
|
|
|
34
34
|
`,rt=z.div`
|
|
35
35
|
display: flex;
|
|
36
36
|
justify-content: center;
|
|
37
|
-
`,ge="scheduleDetailsPage",te="scheduleDetailsFixedAssetsSection",le="scheduleDetailsListSection",ut=be.getLocalizedStrings(),{common:M,jeSchedules:{scheduleDetails:ht}}=ut;function Tt({analytics:e,controllerUserDetails:n,expenseAutomationSelectedPeriod:m,scheduleDetailsView:l,vendorSearchAutoCompleteActions:s,vendorSearchAutoCompleteData:u,usedInExpenseAutomation:c,onNavigateBack:p,onEditAmount:b,onJELinkClick:v,onSave:k,onDelete:T,onDetailPageChange:F,onViewLinkedJE:P,onTransactionClick:w,onMarkAsComplete:L,removeJeScheduleTransactionKey:I}){const[E,j]=f.useState(!1),h=K(l.updateStatus.fetchState),J=K(l.selectedJEScheduleTransaction?.status.code),i=K(l.deleteStatus.fetchState),[ae,Y]=f.useState(!1),S=l.scheduleDetailsLocalData.fixed_assets,se=K(S.jeScheduleDetails.length),oe=K(S.selectedDate),ne=K(S.selectedDayOfMonth),[de,Z]=f.useState(!0),D=l.selectedJEScheduleTransaction?.vendor,r=l.selectedJEScheduleTransaction?.baseTransaction,t=l.selectedJEScheduleTransaction,C=Ze(n.controllers),x=Xe(n.controllerUserIds),ie={onOkClick:()=>{j(!1),p()},onCancelClick:()=>{j(!1)}},Q=d=>{const y=t?.scheduledJournalEntry[d];r!=null&&y!=null&&t!=null&&e.trackScheduleDetailsLinkJournalEntry({scheduleType:"fixed_assets",transaction:{...ze(r)},scheduleExpenseCategoryAndClass:{expenseCategory:t.jeDebit.account?.accountName??null,expenseClass:t.jeDebit.accountingClass?.className??null},journalEntryDetails:{...me(y)},vendorName:D!=null?D.name:M.strings.hyphen,controllerEmails:C,controllerUserIds:x,fixedAssetsDetails:{accumulatedDepreciationCategory:t.jeCredit.account?.accountName??null,assetId:t.otherAttributes.assetId??null}}),v(d)},O=(d,y)=>{const A=t?.scheduledJournalEntry[y];r!=null&&A!=null&&t!=null&&e.trackScheduleDetailsViewJournalEntry({scheduleType:"fixed_assets",scheduleExpenseCategoryAndClass:{expenseCategory:t.jeDebit.account?.accountName??null,expenseClass:t.jeDebit.accountingClass?.className??null},journalEntryDetails:me(A),controllerEmails:C,controllerUserIds:x,fixedAssetsDetails:{accumulatedDepreciationCategory:t.jeCredit.account?.accountName??null,assetId:t.otherAttributes.assetId??null}}),P(d)};f.useEffect(()=>{h==="In-Progress"&&l.updateStatus.fetchState==="Completed"&&(r!=null&&t!=null&&e.trackScheduleDetailsSaved(ee({jeScheduleTransaction:t,scheduleTab:"fixed_assets",transaction:r,vendor:D,controllerEmails:C,controllerUserIds:x})),c===!0&&t?.jeScheduleTransactionKey!=null&&J==="draft"&&l.selectedJEScheduleTransaction?.status.code==="ongoing"&&I(t.jeScheduleTransactionKey,{month:m.month,year:m.year}),p())},[m,J,l.selectedJEScheduleTransaction?.status.code,e,p,h,I,c,l.updateStatus,t,r,D,C,x]),f.useEffect(()=>{i==="In-Progress"&&l.deleteStatus.fetchState==="Completed"&&p()},[i,l.deleteStatus,p]);const U=fe(l.accountListNestedAccountHierarchy),$=fe(l.allDepreciationAccountListNestedAccountHierarchy),G=we(l.classListNestedAccountHierarchy),q=Le("fixed_assets"),X=f.useRef(),g=Je({mode:"all",reValidateMode:"onChange",defaultValues:ue(l,U,G,$,q,u.entityAutoCompleteView),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:ue(l,U,G,$,q,u.entityAutoCompleteView)}),o=g.watch("scheduleDetailsFixedAssetsSection.vendor");f.useEffect(()=>{u.entityAutoCompleteView.fetchState==="Completed"&&X.current?.(Me(u.entityAutoCompleteView))},[u.entityAutoCompleteView.fetchState]);const N=(d,y)=>{s.onAutoCompleteInputChange?.(d,"vendor"),X.current=y},Ce=g.handleSubmit(()=>{k(l.selectedJEScheduleTransaction?.jeScheduleId)}),xe=async(d,y)=>{const A=y[te].vendor;if(d.includes("vendor")){const ce=A?.defaultOptions.map(B=>B.value);if(A?.selectedOption!=null&&ce?.includes(A.selectedOption)!==!0){const B=u.entityAutoCompleteView.vendor.find(ke=>ke.id===A.selectedOption);B!=null&&g.setValue("scheduleDetailsFixedAssetsSection.vendor.defaultOptions",[{label:B.name??"",value:B.id}])}}const Oe=d.includes("amount");if(F(y,Oe),d.includes("amount")){const ce=d.split(".")[1],B=parseInt(ce);Y(!0),b(B,l.selectedJEScheduleTransaction?.jeScheduleId)}};f.useEffect(()=>{const d=g.watch((y,{name:A})=>{A!=null&&y!=null&&_e(()=>xe(A,y))});return()=>{d.unsubscribe()}}),f.useEffect(()=>{(se!==S.jeScheduleDetails.length||oe!==S.selectedDate||ne!==S.selectedDayOfMonth)&&ae===!0&&(g.resetField(le,{defaultValue:ue(l,U,G,$,q,u.entityAutoCompleteView)[le],keepDirty:!1}),Y(!1))},[S.jeScheduleDetails.length,S.selectedDate,S.selectedDayOfMonth]),f.useEffect(()=>{l.selectedJEScheduleTransaction?.status.code==="marked_as_completed"&&Z(!1)},[l.selectedJEScheduleTransaction?.status.code]);const pe=(Ve(g.formState.dirtyFields)||l.selectedJEScheduleTransaction?.status.code==="draft")&&S.jeScheduleDetails.length>0,ve=()=>{pe===!0?j(!0):(r!=null&&t!=null&&e.trackScheduleDetailsCanceled(ee({jeScheduleTransaction:t,scheduleTab:"fixed_assets",transaction:r,vendor:D,controllerEmails:C,controllerUserIds:x})),p())},Ee=()=>{l.selectedJEScheduleTransaction!=null&&w({id:l.selectedJEScheduleTransaction.baseTransaction.id,type:l.selectedJEScheduleTransaction.baseTransaction.type})},je=f.useCallback(()=>{Z(!0)},[]),Ae=f.useCallback(()=>{r!=null&&t!=null&&e.trackScheduleDetailsMarkedAsCompleted(ee({jeScheduleTransaction:t,scheduleTab:"fixed_assets",transaction:r,vendor:D,controllerEmails:C,controllerUserIds:x})),L()},[e,C,x,t,L,r,D]),Te=f.useCallback(d=>{r!=null&&t!=null&&e.trackScheduleDetailsDeleted(ee({jeScheduleTransaction:t,scheduleTab:"fixed_assets",transaction:r,vendor:D,controllerEmails:C,controllerUserIds:x})),T(d)},[e,C,x,t,T,r,D]),Ie=(l.selectedJEScheduleTransaction?.scheduledJournalEntry.flatMap(d=>d.error??[]).filter(d=>!!d)??[])?.includes("vendor_deleted")===!0?o?.defaultOptions.find(d=>d.value===o?.selectedOption)?.[0]?.label:l?.selectedJEScheduleTransaction?.vendor?.name;return a.jsxs(dt,{children:[a.jsx(pt,{title:Ie??M.strings.empty,onNavigateBack:ve,onTransactionClick:Ee}),a.jsx(it,{children:a.jsx(Fe,{...g,children:a.jsxs("form",{style:{width:"100%"},id:ye(ge),onSubmit:Ce,children:[a.jsx(ft,{vendorLoadOptions:N,vendorField:o,vendorSearchAutoCompleteActions:s,vendorSearchAutoCompleteData:u,scheduleDetailsView:l,allAccountOptions:U,allClassOptions:G,allMonthOptions:q,allDepAccountOptions:$,onEditAmount:b,onDelete:Te,onJELinkClick:Q,onViewLinkedJE:O,onMarkAsComplete:Ae,allowCreateSchedule:de,onCreateSchedule:je}),E===!0?a.jsx(Pe,{titleComponent:a.jsx(Ne,{children:M.confirmationPopup.discardTitle}),descriptionComponent:a.jsx(qe,{children:M.confirmationPopup.discardDescription}),primaryButtonText:M.confirmationPopup.discard,secondaryButtonText:M.confirmationPopup.cancel,proceedButtonVariant:"danger",action:ie}):null,pe===!0?a.jsx(Be,{formId:ye(ge),primaryBtn:{label:M.footer.save,style:{minWidth:"82px"},isLoading:l.updateStatus.fetchState==="In-Progress",isDisabled:l.updateStatus.fetchState==="In-Progress"},cancelBtn:{label:M.footer.cancel,shouldResetOnCancel:!0,onClick:()=>{j(!0)},style:{minWidth:"82px"}}}):null]})})})]})}function pt({onNavigateBack:e,onTransactionClick:n,title:m}){return a.jsx(We,{title:m,tooltipTextOnLaunch:ht.showTransactionTooltip,onBackClick:e,onLaunchClick:n,style:{zIndex:3}})}function ft({vendorField:e,vendorLoadOptions:n,vendorSearchAutoCompleteActions:m,vendorSearchAutoCompleteData:l,scheduleDetailsView:s,allAccountOptions:u,allClassOptions:c,allDepAccountOptions:p,allMonthOptions:b,allowCreateSchedule:v,onCreateSchedule:k,onEditAmount:T,onDelete:F,onJELinkClick:P,onViewLinkedJE:w,onMarkAsComplete:L}){const I=s.selectedJEScheduleTransaction?.scheduledJournalEntry.flatMap(E=>E.error).filter(E=>!!E)??[];return s.selectedJEScheduleTransaction!=null?a.jsxs(ct,{children:[a.jsx(rt,{children:a.jsx(et,{vendorLoadOptions:n,vendorField:e,vendorFieldName:_(te,"vendor"),vendorSearchAutoCompleteActions:m,vendorSearchAutoCompleteData:l,errors:I,transaction:s.selectedJEScheduleTransaction.baseTransaction,vendor:s.selectedJEScheduleTransaction.vendor})}),a.jsx(nt,{sectionId:te,jeScheduledTransaction:s.selectedJEScheduleTransaction,allAccountOptions:u,allAccountList:s.allAccountList,allClassList:s.allClassList,allClassOptions:c,allDepreciationAccountOptions:p,allDepreciationAccountList:s.allDepreciationAccountList,allMonthOptions:b,uncategorizedAccounts:s.uncategorizedAccounts,lastDayOfMonth:s.scheduleDetailsLocalData.fixed_assets.lastDayOfMonth,assetId:s.scheduleDetailsLocalData.fixed_assets.assetId,selectedPostingDay:s.scheduleDetailsLocalData.fixed_assets.selectedDayOfMonth,selectedMonths:s.scheduleDetailsLocalData.fixed_assets.selectedMonths,isDisabled:s.selectedJEScheduleTransaction.jeScheduleId!=null&&s.selectedJEScheduleTransaction.status.code!=="draft"&&s.selectedJEScheduleTransaction.status.code!=="marked_as_completed"?"disabled":void 0,updateStatus:s.deleteStatus.fetchState,allowCreateSchedule:v,onDelete:F,onMarkAsComplete:L,onCreateSchedule:k}),a.jsx(he,{controller:v===!0,children:a.jsx(tt,{sectionId:le,totalAmount:s.selectedJEScheduleTransaction.baseTransaction.amount.amount,listFetchState:s.fetchState,scheduleJournalEntries:s.selectedJEScheduleTransaction.scheduledJournalEntry,hideMemoField:s.selectedJEScheduleTransaction.jeScheduleId==null,localData:s.scheduleDetailsLocalData.fixed_assets.jeScheduleDetails,uiState:s.uiState,onEditAmount:T,onJELinkClick:P,onViewLinkedJE:w,jeScheduleId:s.selectedJEScheduleTransaction.baseTransaction.id})})]}):null}const ye=e=>`${e}_form`,ue=(e,n,m,l,s,u)=>{const c=e.scheduleDetailsLocalData.fixed_assets,p=c.selectedAccount,b=c.selectedVendor,v=b!=null?u.vendor.find(i=>i.zeniId===b.id):void 0,k=p!=null?e.allAccountList.find(i=>i.accountId===p):void 0,T=c.selectedAccumulatedDepreciationCategory,F=T!=null?e.allDepreciationAccountList.find(i=>i.accountId===T):void 0,P=c.assetId,w=c.selectedClass,L=w!=null?e.allClassList.find(i=>i.classId===w):void 0,I=c.selectedMonths,E=c.jeScheduleDetails.map(i=>({postingDate:i.postingDate,amount:i.amount.amount,runningBalance:i.runningBalance.amount,postingStatus:i.postingStatus,jeLink:i.jeLink.thirdPartyTransactionId})),j=c.selectedDayOfMonth,h=c.lastDayOfMonth,J=j==null&&h==null?void 0:h===!0?"lastDayOfMonth":"day";return{[te]:{scheduleExpenseCategory:{selectedOption:k?.qboId,allOptions:n},accumulatedDepreciationCategory:{selectedOption:F?.qboId,allOptions:l},assetId:P,scheduleClass:{selectedOption:L?.classId,allOptions:m},startDate:c.selectedDate,months:{selectedOption:I,allOptions:s},vendor:{selectedOption:v?.id??b?.id,defaultOptions:Re(u,v??b)},postingDate:{type:J,dayOfMonth:j}},[le]:E}};export{Tt as default};
|
|
37
|
+
`,ge="scheduleDetailsPage",te="scheduleDetailsFixedAssetsSection",le="scheduleDetailsListSection",ut=Ce.getLocalizedStrings(),{common:M,jeSchedules:{scheduleDetails:ht}}=ut;function Tt({analytics:e,controllerUserDetails:n,expenseAutomationSelectedPeriod:m,scheduleDetailsView:l,vendorSearchAutoCompleteActions:s,vendorSearchAutoCompleteData:u,usedInExpenseAutomation:c,onNavigateBack:p,onEditAmount:C,onJELinkClick:v,onSave:k,onDelete:T,onDetailPageChange:F,onViewLinkedJE:P,onTransactionClick:w,onMarkAsComplete:L,removeJeScheduleTransactionKey:I}){const[E,j]=f.useState(!1),h=K(l.updateStatus.fetchState),J=K(l.selectedJEScheduleTransaction?.status.code),i=K(l.deleteStatus.fetchState),[ae,Y]=f.useState(!1),S=l.scheduleDetailsLocalData.fixed_assets,se=K(S.jeScheduleDetails.length),oe=K(S.selectedDate),ne=K(S.selectedDayOfMonth),[de,Z]=f.useState(!0),D=l.selectedJEScheduleTransaction?.vendor,r=l.selectedJEScheduleTransaction?.baseTransaction,t=l.selectedJEScheduleTransaction,b=Ze(n.controllers),x=Xe(n.controllerUserIds),ie={onOkClick:()=>{j(!1),p()},onCancelClick:()=>{j(!1)}},Q=d=>{const y=t?.scheduledJournalEntry[d];r!=null&&y!=null&&t!=null&&e.trackScheduleDetailsLinkJournalEntry({scheduleType:"fixed_assets",transaction:{...ze(r)},scheduleExpenseCategoryAndClass:{expenseCategory:t.jeDebit.account?.accountName??null,expenseClass:t.jeDebit.accountingClass?.className??null},journalEntryDetails:{...me(y)},vendorName:D!=null?D.name:M.strings.hyphen,controllerEmails:b,controllerUserIds:x,fixedAssetsDetails:{accumulatedDepreciationCategory:t.jeCredit.account?.accountName??null,assetId:t.otherAttributes.assetId??null}}),v(d)},O=(d,y)=>{const A=t?.scheduledJournalEntry[y];r!=null&&A!=null&&t!=null&&e.trackScheduleDetailsViewJournalEntry({scheduleType:"fixed_assets",scheduleExpenseCategoryAndClass:{expenseCategory:t.jeDebit.account?.accountName??null,expenseClass:t.jeDebit.accountingClass?.className??null},journalEntryDetails:me(A),controllerEmails:b,controllerUserIds:x,fixedAssetsDetails:{accumulatedDepreciationCategory:t.jeCredit.account?.accountName??null,assetId:t.otherAttributes.assetId??null}}),P(d)};f.useEffect(()=>{h==="In-Progress"&&l.updateStatus.fetchState==="Completed"&&(r!=null&&t!=null&&e.trackScheduleDetailsSaved(ee({jeScheduleTransaction:t,scheduleTab:"fixed_assets",transaction:r,vendor:D,controllerEmails:b,controllerUserIds:x})),c===!0&&t?.jeScheduleTransactionKey!=null&&J==="draft"&&l.selectedJEScheduleTransaction?.status.code==="ongoing"&&I(t.jeScheduleTransactionKey,{month:m.month,year:m.year}),p())},[m,J,l.selectedJEScheduleTransaction?.status.code,e,p,h,I,c,l.updateStatus,t,r,D,b,x]),f.useEffect(()=>{i==="In-Progress"&&l.deleteStatus.fetchState==="Completed"&&p()},[i,l.deleteStatus,p]);const U=fe(l.accountListNestedAccountHierarchy),$=fe(l.allDepreciationAccountListNestedAccountHierarchy),G=we(l.classListNestedAccountHierarchy),q=Le("fixed_assets"),X=f.useRef(),g=Je({mode:"all",reValidateMode:"onChange",defaultValues:ue(l,U,G,$,q,u.entityAutoCompleteView),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:ue(l,U,G,$,q,u.entityAutoCompleteView)}),o=g.watch("scheduleDetailsFixedAssetsSection.vendor");f.useEffect(()=>{u.entityAutoCompleteView.fetchState==="Completed"&&X.current?.(Me(u.entityAutoCompleteView))},[u.entityAutoCompleteView.fetchState]);const N=(d,y)=>{s.onAutoCompleteInputChange?.(d,"vendor"),X.current=y},be=g.handleSubmit(()=>{k(l.selectedJEScheduleTransaction?.jeScheduleId)}),xe=async(d,y)=>{const A=y[te].vendor;if(d.includes("vendor")){const ce=A?.defaultOptions.map(B=>B.value);if(A?.selectedOption!=null&&ce?.includes(A.selectedOption)!==!0){const B=u.entityAutoCompleteView.vendor.find(ke=>ke.id===A.selectedOption);B!=null&&g.setValue("scheduleDetailsFixedAssetsSection.vendor.defaultOptions",[{label:B.name??"",value:B.id}])}}const Oe=d.includes("amount");if(F(y,Oe),d.includes("amount")){const ce=d.split(".")[1],B=parseInt(ce);Y(!0),C(B,l.selectedJEScheduleTransaction?.jeScheduleId)}};f.useEffect(()=>{const d=g.watch((y,{name:A})=>{A!=null&&y!=null&&_e(()=>xe(A,y))});return()=>{d.unsubscribe()}}),f.useEffect(()=>{(se!==S.jeScheduleDetails.length||oe!==S.selectedDate||ne!==S.selectedDayOfMonth)&&ae===!0&&(g.resetField(le,{defaultValue:ue(l,U,G,$,q,u.entityAutoCompleteView)[le],keepDirty:!1}),Y(!1))},[S.jeScheduleDetails.length,S.selectedDate,S.selectedDayOfMonth]),f.useEffect(()=>{l.selectedJEScheduleTransaction?.status.code==="marked_as_completed"&&Z(!1)},[l.selectedJEScheduleTransaction?.status.code]);const pe=(Ve(g.formState.dirtyFields)||l.selectedJEScheduleTransaction?.status.code==="draft")&&S.jeScheduleDetails.length>0,ve=()=>{pe===!0?j(!0):(r!=null&&t!=null&&e.trackScheduleDetailsCanceled(ee({jeScheduleTransaction:t,scheduleTab:"fixed_assets",transaction:r,vendor:D,controllerEmails:b,controllerUserIds:x})),p())},Ee=()=>{l.selectedJEScheduleTransaction!=null&&w({id:l.selectedJEScheduleTransaction.baseTransaction.id,type:l.selectedJEScheduleTransaction.baseTransaction.type})},je=f.useCallback(()=>{Z(!0)},[]),Ae=f.useCallback(()=>{r!=null&&t!=null&&e.trackScheduleDetailsMarkedAsCompleted(ee({jeScheduleTransaction:t,scheduleTab:"fixed_assets",transaction:r,vendor:D,controllerEmails:b,controllerUserIds:x})),L()},[e,b,x,t,L,r,D]),Te=f.useCallback(d=>{r!=null&&t!=null&&e.trackScheduleDetailsDeleted(ee({jeScheduleTransaction:t,scheduleTab:"fixed_assets",transaction:r,vendor:D,controllerEmails:b,controllerUserIds:x})),T(d)},[e,b,x,t,T,r,D]),Ie=(l.selectedJEScheduleTransaction?.scheduledJournalEntry.flatMap(d=>d.error??[]).filter(d=>!!d)??[])?.includes("vendor_deleted")===!0?o?.defaultOptions.find(d=>d.value===o?.selectedOption)?.[0]?.label:l?.selectedJEScheduleTransaction?.vendor?.name;return a.jsxs(dt,{children:[a.jsx(pt,{title:Ie??M.strings.empty,onNavigateBack:ve,onTransactionClick:Ee}),a.jsx(it,{children:a.jsx(Fe,{...g,children:a.jsxs("form",{style:{width:"100%"},id:ye(ge),onSubmit:be,children:[a.jsx(ft,{vendorLoadOptions:N,vendorField:o,vendorSearchAutoCompleteActions:s,vendorSearchAutoCompleteData:u,scheduleDetailsView:l,allAccountOptions:U,allClassOptions:G,allMonthOptions:q,allDepAccountOptions:$,onEditAmount:C,onDelete:Te,onJELinkClick:Q,onViewLinkedJE:O,onMarkAsComplete:Ae,allowCreateSchedule:de,onCreateSchedule:je}),E===!0?a.jsx(Pe,{titleComponent:a.jsx(Ne,{children:M.confirmationPopup.discardTitle}),descriptionComponent:a.jsx(qe,{children:M.confirmationPopup.discardDescription}),primaryButtonText:M.confirmationPopup.discard,secondaryButtonText:M.confirmationPopup.cancel,proceedButtonVariant:"danger",action:ie}):null,pe===!0?a.jsx(Be,{formId:ye(ge),primaryBtn:{label:M.footer.save,style:{minWidth:"82px"},isLoading:l.updateStatus.fetchState==="In-Progress",isDisabled:l.updateStatus.fetchState==="In-Progress"},cancelBtn:{label:M.footer.cancel,shouldResetOnCancel:!0,onClick:()=>{j(!0)},style:{minWidth:"82px"}}}):null]})})})]})}function pt({onNavigateBack:e,onTransactionClick:n,title:m}){return a.jsx(We,{title:m,tooltipTextOnLaunch:ht.showTransactionTooltip,onBackClick:e,onLaunchClick:n,style:{zIndex:3}})}function ft({vendorField:e,vendorLoadOptions:n,vendorSearchAutoCompleteActions:m,vendorSearchAutoCompleteData:l,scheduleDetailsView:s,allAccountOptions:u,allClassOptions:c,allDepAccountOptions:p,allMonthOptions:C,allowCreateSchedule:v,onCreateSchedule:k,onEditAmount:T,onDelete:F,onJELinkClick:P,onViewLinkedJE:w,onMarkAsComplete:L}){const I=s.selectedJEScheduleTransaction?.scheduledJournalEntry.flatMap(E=>E.error).filter(E=>!!E)??[];return s.selectedJEScheduleTransaction!=null?a.jsxs(ct,{children:[a.jsx(rt,{children:a.jsx(et,{vendorLoadOptions:n,vendorField:e,vendorFieldName:_(te,"vendor"),vendorSearchAutoCompleteActions:m,vendorSearchAutoCompleteData:l,errors:I,transaction:s.selectedJEScheduleTransaction.baseTransaction,vendor:s.selectedJEScheduleTransaction.vendor})}),a.jsx(nt,{sectionId:te,jeScheduledTransaction:s.selectedJEScheduleTransaction,allAccountOptions:u,allAccountList:s.allAccountList,allClassList:s.allClassList,allClassOptions:c,allDepreciationAccountOptions:p,allDepreciationAccountList:s.allDepreciationAccountList,allMonthOptions:C,uncategorizedAccounts:s.uncategorizedAccounts,lastDayOfMonth:s.scheduleDetailsLocalData.fixed_assets.lastDayOfMonth,assetId:s.scheduleDetailsLocalData.fixed_assets.assetId,selectedPostingDay:s.scheduleDetailsLocalData.fixed_assets.selectedDayOfMonth,selectedMonths:s.scheduleDetailsLocalData.fixed_assets.selectedMonths,isDisabled:s.selectedJEScheduleTransaction.jeScheduleId!=null&&s.selectedJEScheduleTransaction.status.code!=="draft"&&s.selectedJEScheduleTransaction.status.code!=="marked_as_completed"?"disabled":void 0,updateStatus:s.deleteStatus.fetchState,allowCreateSchedule:v,onDelete:F,onMarkAsComplete:L,onCreateSchedule:k}),a.jsx(he,{controller:v===!0,children:a.jsx(tt,{sectionId:le,totalAmount:s.selectedJEScheduleTransaction.baseTransaction.amount.amount,listFetchState:s.fetchState,scheduleJournalEntries:s.selectedJEScheduleTransaction.scheduledJournalEntry,hideMemoField:s.selectedJEScheduleTransaction.jeScheduleId==null,localData:s.scheduleDetailsLocalData.fixed_assets.jeScheduleDetails,uiState:s.uiState,onEditAmount:T,onJELinkClick:P,onViewLinkedJE:w,jeScheduleId:s.selectedJEScheduleTransaction.baseTransaction.id})})]}):null}const ye=e=>`${e}_form`,ue=(e,n,m,l,s,u)=>{const c=e.scheduleDetailsLocalData.fixed_assets,p=c.selectedAccount,C=c.selectedVendor,v=C!=null?u.vendor.find(i=>i.zeniId===C.id):void 0,k=p!=null?e.allAccountList.find(i=>i.accountId===p):void 0,T=c.selectedAccumulatedDepreciationCategory,F=T!=null?e.allDepreciationAccountList.find(i=>i.accountId===T):void 0,P=c.assetId,w=c.selectedClass,L=w!=null?e.allClassList.find(i=>i.classId===w):void 0,I=c.selectedMonths,E=c.jeScheduleDetails.map(i=>({postingDate:i.postingDate,amount:i.amount.amount,runningBalance:i.runningBalance.amount,postingStatus:i.postingStatus,jeLink:i.jeLink.thirdPartyTransactionId})),j=c.selectedDayOfMonth,h=c.lastDayOfMonth,J=j==null&&h==null?void 0:h===!0?"lastDayOfMonth":"day";return{[te]:{scheduleExpenseCategory:{selectedOption:k?.qboId,allOptions:n},accumulatedDepreciationCategory:{selectedOption:F?.qboId,allOptions:l},assetId:P,scheduleClass:{selectedOption:L?.classId,allOptions:m},startDate:c.selectedDate,months:{selectedOption:I,allOptions:s},vendor:{selectedOption:v?.id??C?.id,defaultOptions:Re(u,v??C)},postingDate:{type:J,dayOfMonth:j}},[le]:E}};export{Tt as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aO as F,ij as Y,gE as ke,ew as Ae,ik as Ie,a9 as Je,il as we,cC as Le,cD as Me,V as a,ac as Ve,cn as Pe,co as _e,cp as Fe,aP as $e,im as Be,io as Ne,F as Se,aa as ie,ip as he,iq as qe,cP as ze,q as Ue,gJ as pe,c as X,p as We,y as Re,ir as Ke,is as Ge,it as He,o as w}from"./index-
|
|
1
|
+
import{aO as F,ij as Y,gE as ke,ew as Ae,ik as Ie,a9 as Je,il as we,cC as Le,cD as Me,V as a,ac as Ve,cn as Pe,co as _e,cp as Fe,aP as $e,im as Be,io as Ne,F as Se,aa as ie,ip as he,iq as qe,cP as ze,q as Ue,gJ as pe,c as X,p as We,y as Re,ir as Ke,is as Ge,it as He,o as w}from"./index-CLqQIFvx.js";import{a as D}from"./sentry-Cue4MgLi.js";import{n as P}from"./mui-Co4rhSdf.js";import{F_ as Qe,F$ as Ye,bL as Xe}from"./zeni-epic-state-DcWK4mxP.js";import{i as Ze,r as et,n as tt,o as lt}from"./ScheduleSequenceTable-C31xhtxt-m1Npa7Ri.js";import"./liveblocks-DZksneMc.js";import"./core-CYa2vsSD.js";import"./recharts-C4PW-81v.js";import"./lottie-EtzJiaFi.js";import"./analytics-CxT-6Gc4.js";import"./lexical-DzVC4tTe.js";import"./utils-CxOjlxtI.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="7dd4c544-7387-4b47-a592-315a3e8c2d2b",e._sentryDebugIdIdentifier="sentry-dbid-7dd4c544-7387-4b47-a592-315a3e8c2d2b")}catch{}})();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 A,d as X,V as t,iu as ie,iv as oe,R as le,iw as xe,dM as fe,fd as ye,b as I,F as R,ix as we,it as be,o as i,y as b,p as j,l as $e,aa as re,dI as je,cn as Se,cp as ke,cP as Z,eo as ee,cV as ve,iy as K,iz as De,b2 as Ce,iA as Me,cr as ze,iB as Le,c as h,al as L,b8 as Ee,co as Oe,ao as pe,ex as Ie,b0 as ne,ej as Ae,aP as Te,iC as T,ge as Ve,aL as Fe,iD as Je,aT as H,cX as Be,bg as Pe}from"./index-
|
|
1
|
+
import{q as A,d as X,V as t,iu as ie,iv as oe,R as le,iw as xe,dM as fe,fd as ye,b as I,F as R,ix as we,it as be,o as i,y as b,p as j,l as $e,aa as re,dI as je,cn as Se,cp as ke,cP as Z,eo as ee,cV as ve,iy as K,iz as De,b2 as Ce,iA as Me,cr as ze,iB as Le,c as h,al as L,b8 as Ee,co as Oe,ao as pe,ex as Ie,b0 as ne,ej as Ae,aP as Te,iC as T,ge as Ve,aL as Fe,iD as Je,aT as H,cX as Be,bg as Pe}from"./index-CLqQIFvx.js";import{n as l,c as B}from"./mui-Co4rhSdf.js";import{a as C}from"./sentry-Cue4MgLi.js";import{bh as G,G0 as Re}from"./zeni-epic-state-DcWK4mxP.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="0658ac7a-81f3-46c1-8855-66bd86c4cfb4",e._sentryDebugIdIdentifier="sentry-dbid-0658ac7a-81f3-46c1-8855-66bd86c4cfb4")}catch{}})();const N=(e,o)=>`${e}.${o}`,{formElements:{dayOfMonthSelector:M},common:se}=R.getLocalizedStrings();function Ne({defaultValue:e,name:o,placeholder:s,alignLeft:r=!1,style:p,isDisabled:n,registerOptions:d,onSaveClick:c,onCancelClick:w}){const[f,u]=C.useState(!1),{control:m,formState:{errors:x},setValue:S}=Z(),v=()=>{k||(c(),u(!1))},y=()=>{w(),u(!1)},k=ee(x,o),g=A(),a=X();return t.jsx(pe,{onClickAway:()=>{u(!1)},children:t.jsx(Ue,{style:p,isDisabled:n!=null,windowSize:g,onClick:()=>{!f&&n==null&&u(!0)},children:t.jsx(Ie,{name:N(o,"dayOfMonth"),control:m,rules:{...d},render:()=>t.jsxs(qe,{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(o,"type"),value:"day",radioSize:"small",checked:e.type==="day"},style:{...I.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(Ae,{name:N(o,"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,...I.smallRegular.cssObject,padding:i.sp2,maxWidth:"35px",boxSizing:"border-box"}}),t.jsx(Qe,{isSelected:e.type==="day",children:M.ofEveryMonth})]}),t.jsx(_e,{defaultValue:e.dayOfMonth,onClick:$=>{S(`${o}.dayOfMonth`,$),S(`${o}.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(o,"type"),value:"lastDayOfMonth",radioSize:"small",checked:e.type==="lastDayOfMonth"},style:{...I.smallRegular.cssObject,padding:`${i.sp3} ${i.sp0}`,width:"fit-content",marginLeft:i.sp3},labelStyle:{color:e.type==="lastDayOfMonth"&&k?j.important:"inherit"}})}),t.jsx(Te,{primaryBtn:{label:se.footer.save,onClick:v,isDisabled:Ye(e),type:"button",style:{minWidth:"83px"}},cancelBtn:{label:se.footer.cancel,onClick:y,style:{minWidth:"83px"}},style:{position:"unset",backgroundColor:"transparent"}})]}):null]})})})})}function We({placeholder:e,defaultValue:o,isDisabled:s}){return t.jsxs(He,{isDisabled:s!=null,children:[o?.type==null?t.jsx(Ke,{children:e}):null,o?.type=="day"&&o.dayOfMonth!=null?t.jsxs(de,{children:[t.jsx(W,{children:M.daysOfMonth[`${o.dayOfMonth}`]}),t.jsx(W,{children:M.ofEveryMonth})]}):null,o?.type==="lastDayOfMonth"?t.jsxs(de,{children:[t.jsx(W,{children:M.daysOfMonth.lastDayOfMonth}),t.jsx(W,{children:M.ofEveryMonth})]}):null]})}function _e({defaultValue:e,onClick:o}){return t.jsxs(Xe,{children:[t.jsx(_,{children:[...Array(7).keys()].map(s=>{const r=s+1;return t.jsx(Y,{isSelected:r===e,onClick:()=>o(Re(r)),children:r},r)})}),t.jsx(_,{children:[...Array(7).keys()].map(s=>{const r=s+8;return t.jsx(Y,{isSelected:r===e,onClick:()=>o(r),children:r},r)})}),t.jsx(_,{children:[...Array(7).keys()].map(s=>{const r=s+15;return t.jsx(Y,{isSelected:r===e,onClick:()=>o(r),children:r},r)})}),t.jsx(_,{children:[...Array(7).keys()].map(s=>{const r=s+22;return t.jsx(Y,{isSelected:r===e,onClick:()=>o(r),children:r},r)})})]})}const Ye=e=>{switch(e.type){case"day":return e.dayOfMonth==null;case"lastDayOfMonth":return!1;default:return!0}},qe=l.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
`,He=l.div`
|
|
4
4
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{DU as Xf,DV as Lt,DW as Qf,iN as ot,hv as ql,iP as Ye,hs as eh,hz as Ll,DX as Pa,hB as th,hC as rh,DY as Gt,DZ as kt,h0 as nh,D_ as xr,D$ as ta,cO as ih,f2 as ra,e$ as Ir,f7 as rt,f5 as oh,E0 as kl,E1 as Nl,hQ as ah,hN as sh,E2 as uh,h$ as ch,hW as ja,hT as lh,hI as fh,E3 as hh,dJ as dh,cU as ph,i$ as Dl,E4 as mh,bL as Tr,hF as xa,hK as gh,oL as Ml,iO as qr,E5 as Ne,ib as na,E6 as yh,j5 as vh,B as Re,E7 as ia,E8 as bh,gZ as wh,E9 as Eh,Ea as Fl,Eb as Sh,nj as qa,mQ as _h,Ec as Rh,mW as Zr,Ed as Oh,mY as Th,Ee as Ze,mN as Ih,cB as Ah,iS as Ul,iT as Bl,iR as oa,iQ as aa,iU as Ch,Ef as Ph,nm as jh,Eg as xh,n3 as qh,ng as Lh,Eh as kh,n7 as Nh,Ei as Dh,Ej as _t,Ek as sa,El as Mh,Em as Fh,lQ as Uh,lW as $l,En as Vl,gu as Bh,C_ as Gl,Eo as $h,CU as Vh,Ep as Gh,Eq as zh,lZ as Hh,Er as Zh,D3 as Wh,CT as Yh,qg as zl,Es as Wr,Et as Hl,A6 as ua,zU as Jh,A9 as Zl,zX as Kh,Eu as Xh,A0 as Qh,zO as ed,zR as td,Ev as rd,Ad as nd,A3 as id,c4 as od,bd as ad,Ew as sd,Ex as ft,Ey as ud,Ez as cd,EA as ld,i3 as Ko,ba as fd}from"./zeni-epic-state-
|
|
1
|
+
import{DU as Xf,DV as Lt,DW as Qf,iN as ot,hv as ql,iP as Ye,hs as eh,hz as Ll,DX as Pa,hB as th,hC as rh,DY as Gt,DZ as kt,h0 as nh,D_ as xr,D$ as ta,cO as ih,f2 as ra,e$ as Ir,f7 as rt,f5 as oh,E0 as kl,E1 as Nl,hQ as ah,hN as sh,E2 as uh,h$ as ch,hW as ja,hT as lh,hI as fh,E3 as hh,dJ as dh,cU as ph,i$ as Dl,E4 as mh,bL as Tr,hF as xa,hK as gh,oL as Ml,iO as qr,E5 as Ne,ib as na,E6 as yh,j5 as vh,B as Re,E7 as ia,E8 as bh,gZ as wh,E9 as Eh,Ea as Fl,Eb as Sh,nj as qa,mQ as _h,Ec as Rh,mW as Zr,Ed as Oh,mY as Th,Ee as Ze,mN as Ih,cB as Ah,iS as Ul,iT as Bl,iR as oa,iQ as aa,iU as Ch,Ef as Ph,nm as jh,Eg as xh,n3 as qh,ng as Lh,Eh as kh,n7 as Nh,Ei as Dh,Ej as _t,Ek as sa,El as Mh,Em as Fh,lQ as Uh,lW as $l,En as Vl,gu as Bh,C_ as Gl,Eo as $h,CU as Vh,Ep as Gh,Eq as zh,lZ as Hh,Er as Zh,D3 as Wh,CT as Yh,qg as zl,Es as Wr,Et as Hl,A6 as ua,zU as Jh,A9 as Zl,zX as Kh,Eu as Xh,A0 as Qh,zO as ed,zR as td,Ev as rd,Ad as nd,A3 as id,c4 as od,bd as ad,Ew as sd,Ex as ft,Ey as ud,Ez as cd,EA as ld,i3 as Ko,ba as fd}from"./zeni-epic-state-DcWK4mxP.js";import{j as N}from"./liveblocks-DZksneMc.js";import{a as Y,p as X,d as Wl,c as Yl,g as hd}from"./sentry-Cue4MgLi.js";import{v as dd,d as dt,q as Lr,e as pe,z as be,m as pd,W as md,y as Pe,f as kr,h as gd,E as Je,F as Nt,i as pt,j as at,k as Nr,o as tt,X as yd,r as vd,N as nt,t as ca,w as it,Z as bd,Y as wd,c as Yr,x as Ed,A as Jl,C as Sd,D as Kl,G as Xl,H as Xo,I as _d,J as Rd,K as Od,O as Ql,P as Td,Q as Id,S as Ad,T as Cd,U as Pd,_ as jd,$ as xd,a0 as qd,a1 as Ld,a2 as kd,a3 as Nd,a4 as Dd,a5 as Md}from"./index-CLqQIFvx.js";import{f as Fd}from"./analyticsHelper-BbgU3YZ3.js";import{n as ef,i as me,m as Ee,o as je,g as re,h as ge,N as Pt,R as Ve,k as se,u as la,j as Qo}from"./core-CYa2vsSD.js";import{D as Dr,n as Te,S as mt}from"./mui-Co4rhSdf.js";import{a as ve,b as Ud,c as Bd,d as $d,e as fa,f as Vd,g as Gd,h as zd,i as gt,j as Hd,k as xt,l as Mr,m as Zd,n as Dt,o as Wd}from"./utils-CxOjlxtI.js";import{r as ha}from"./empty-CFYi5Ru2.js";import{r as Yd,a as Jd,b as Kd,c as Xd}from"./constants-Dpo-zUMa.js";import{r as Mt,a as Qd}from"./index-oF3vysIj.js";import{r as ep}from"./index-DhBlfmDf.js";import"./recharts-C4PW-81v.js";import"./lottie-EtzJiaFi.js";import"./analytics-CxT-6Gc4.js";import"./lexical-DzVC4tTe.js";import"./url-CIbQHzW3.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="e4ef933b-2bdb-45c9-80f6-466a5934d8c7",e._sentryDebugIdIdentifier="sentry-dbid-e4ef933b-2bdb-45c9-80f6-466a5934d8c7")}catch{}})();const st=()=>{const[e,n]=ef(),[a,o]=Y.useState(),i=Y.useRef(!1);return Y.useEffect(()=>{if(i.current===!0||!(e.has("thread_id")||e.has("entity_type")||e.has("company_id")))return;const r=dd(e);r!=null&&o(r);const s=new URLSearchParams(e);s.delete("thread_id"),s.delete("entity_type"),s.delete("company_id"),n(s,{replace:!0}),i.current=!0},[e,n]),a},tp={overlayWidth:new Pe(100,100,50)},{common:{strings:La}}=Nt.getLocalizedStrings();function rp(e,n){return{headerActions:{onTabChange:a=>{const o=at(a),i=pt(a);pe.trackCockpitTabClicked(i),n.navigate(`../../${o}`,{replace:!0})},filterActions:{onFilterTextChanged:(a,o)=>{e(Gt({uiState:{filterText:o}}))},onFiltersChange:(a,o)=>{o.categories!=null&&o.categoryCombinationOperator!=null&&pe.trackHealthMonitorFiltersApplied({filterSelection:{condition:o.categories.map(i=>i.matchingOperator).join(La.comma),logic:o.categoryCombinationOperator,parameter:o.categories.map(i=>i.field).join(La.comma)}}),e(Gt({uiState:{filters:o}}))}}},healthPageActions:{onRowClick:a=>{e(Ll(a))},onColumnSortConfigChanged:(a,o)=>{e(Gt({uiState:{sortKey:a,sortOrder:o}}))},onCockpitReloadData:a=>{a==="healthMonitor"&&e(ql())},onFiltersChange:a=>{e(Gt({uiState:{filters:a}}))}}}}function np(e,n){return{headerData:{selectedTabOption:Je("healthMonitor")},healthPageData:{healthView:n.healthView,managementView:n.managementView,mixpanelUrl:n.mixpanelHMUrl}}}const ip=ge(np,rp)(gd);function Jr({isDrawerOpen:e}){const n=me(),a=Ee(),o=dt(),i=Lr(),{companyId:t}=je(),[r,s]=ef(),[d,c]=Y.useState(!1),h=st(),f=re(m=>Xf(m)),l=re(m=>Lt(m)),{additionalChurnFactors:b}=re(m=>Qf(m)),{selectedCompanyDetail:p,selectedCompanyId:y,localFormDataAndStatusByCompanyId:g}=f,u=re(m=>m.companyViewState.zeniUsers.fetchState),v=re(m=>m.companyHealthMetricConfigViewState);if(Y.useEffect(()=>{const m=E=>E==="Not-Started"||E==="Error";f.fetchState==="Completed"?a(ot(!1)):m(f.fetchState)&&(a(ql()),m(u)&&a(Ye()),m(v.fetchState)&&a(eh()))},[f.fetchState,v.fetchState]),Y.useEffect(()=>{t!=null&&f.fetchState==="Completed"&&r.has("utm_source")===!0&&(a(Ll(t)),p!=null&&(pe.trackCockpitHealthMonitorNotificationAlertClicked(r.get("utm_source"),{companyId:p.companyInfo.companyId,companyName:p.companyInfo.name,churnProbability:p.companyHealthMetric.churnProbabilityPercentage??null}),c(r.has("utm_source")),r.delete("utm_source"),s(r)))},[f.fetchState,p?.companyInfo.companyId,p?.companyInfo.name]),be.getSignedInUser()==null)throw Error("Can't access Health Monitor page without signing in...");return N.jsxs(N.Fragment,{children:[e===!0||y!=null&&p!=null?N.jsx(Dr,{anchor:"right",open:y!=null,PaperProps:{style:{width:tp.overlayWidth.valuePercentage(i),boxShadow:"none"}},slotProps:{backdrop:{style:{backgroundColor:o.colors.black,opacity:.75,cursor:"pointer"}}},onClose:()=>a(Pa()),children:N.jsx(pd,{roomId:`cockpit_${y}`,autoConnect:!0,children:N.jsx(md,{onSaveClick:()=>{y!=null&&a(rh(y))},onSaveChangesToLocalStore:m=>{f.selectedCompanyId!=null&&a(th({companyId:f.selectedCompanyId,updatedLocalData:m}))},localData:g?.companyHealthMetricLocalData??{netPromoterScore:void 0,externalProductServiceExposure:void 0,additionalChurnFactors:{increasingChurnProbability:[],decreasingChurnProbability:[]}},companyHealthMetricViewSelector:f,onCloseDrawer:()=>a(Pa()),analytics:pe,urlSource:d,additionalChurnFactorsOptions:b})})}):null,N.jsx(ip,{initialOpenThreadRequest:h??void 0,healthView:f,managementView:l,navigate:n,mixpanelHMUrl:kr.mixpanelHMUrl})]})}const tf=(e,n)=>{const a=[...e??[]];return a.push(n),a},op=e=>{const n=[...e??[]];return{poppedPathname:n.pop(),newStack:n}},ap=(e=2)=>{let n="../";for(let a=0;a<e;a++)n=`${n}../`;return n},le=({state:e,element:n})=>be.isSignedIn()===!0?N.jsx(N.Fragment,{children:n}):N.jsx(Pt,{to:"/signin/auth",replace:!0,state:{...e,message:"...",origin:window.location.pathname}});function sp(){return N.jsxs(Ve,{children:[N.jsx(se,{path:"/companies/:companyId",element:N.jsx(le,{element:N.jsx(Jr,{isDrawerOpen:!0})})}),N.jsx(se,{path:"/",element:N.jsx(le,{element:N.jsx(Jr,{})})}),N.jsx(se,{path:"/*",element:N.jsx(le,{element:N.jsx(Jr,{})})})]})}const up={drawerLeftMargin:new Pe(0,0,240)};function Ft(e){const{isOpen:n,drawerLeftMargin:a,children:o,onClose:i}=e,t=Lr(),r=a?.valuePx(t)??up.drawerLeftMargin.valuePx(t),s=dt();return N.jsx(Dr,{anchor:"right",open:n,PaperProps:{style:{width:`calc(100% - ${r})`}},slotProps:{backdrop:{style:{backgroundColor:s.colors.black,opacity:.8,cursor:"pointer"}}},onClose:i,children:o})}const cp=({fetchState:e})=>e==="In-Progress"||e==="Not-Started"?N.jsx(lp,{children:N.jsx(Nr,{size:"ExtraLarge",start:!0})}):null,lp=Te.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
height: 100%;
|