@zeniai/web-cockpit-ui 1.15.4-dev → 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-BoohNpSs.js → ACHDetailsPage-BLKhKkZC-CoU9qIfj.js} +1 -1
- package/dist/assets/{AIPerformancePage-DqmxZNlX--Hr--1bJ.js → AIPerformancePage-J3dtNEgn-DnDSfWCN.js} +103 -103
- package/dist/assets/{AccountInfoPage-C2Dq8UPa-CDfBL7Wu.js → AccountInfoPage-CI5UcHFj-BegJKMi4.js} +3 -3
- package/dist/assets/{AccountInfoPageContent-HVhR3c9c-DosFJwky.js → AccountInfoPageContent-D8oVcn1T-BXq3_V4W.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-DM9AQ-14-CIrGwmC7.js → AccountLockedInfoModal-B9_FdrYm-5NyxuZ6Z.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-zcvYkXrD-BPDfVNC-.js → AccountReconDetailsDrawerPage-DFjW0u9--BQEqjGYe.js} +39 -39
- package/dist/assets/{AccountRow-B3ULDo0k-BhJpm00a.js → AccountRow-Bq6uJ1hA-Vc9-Z3M-.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-CJZlWV2d-EdC25r6I.js → AccountsPromoCardStack-DQmHrc8b-Vd3CyDRc.js} +3 -3
- package/dist/assets/{AddAddressForCardDrawer-Rm7tH3HQ-BC-bWtsD.js → AddAddressForCardDrawer-O987RTn2-BVD6IV9k.js} +1 -1
- package/dist/assets/{AddToWalletPage-DfB-vvqh--jeS88nY.js → AddToWalletPage-C2Z6f8Y6-DKRITatO.js} +1 -1
- package/dist/assets/{AgingReportsPage-__jUwahK-CLXoQ0cz.js → AgingReportsPage-BlPqvXdx-BhMR9uMZ.js} +3 -3
- package/dist/assets/{AllUserItems-Coo6Qik6-UHUBqeo9.js → AllUserItems-CL17FcAl-HA7Ybf9E.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-C1LyqY_A-BtwuroAU.js → ApAgingDetailPage-CHVwRH_g-DOXwF09t.js} +1 -1
- package/dist/assets/{AppBasePage-Cz2ddFfo-mHKaK9iL.js → AppBasePage-CnlPnTBn-DzDs3_Wg.js} +1 -1
- package/dist/assets/{AppDrawerContent-CObWehh2-Cjn399er.js → AppDrawerContent-C2CNe5yn-CV61WWnW.js} +5 -5
- package/dist/assets/{ApprovalRulesSettingsPage-ZqKHe7B_-CavRIFVF.js → ApprovalRulesSettingsPage-XsMzIe4e-WBRcfJJV.js} +1 -1
- package/dist/assets/{ArAgingChart-CjRE8wyO-KhcQp5wu.js → ArAgingChart-Ck1uAv_a-BqG8XmZ6.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-DXjs7XAS-CBng1tZs.js → ArAgingDetailPage-KRWJzbCq-SXmC1xou.js} +5 -5
- package/dist/assets/{AttachmentView-C3WpRmXR-DHEKPSUE.js → AttachmentView-uaen0kuU-Bv_0F11t.js} +1 -1
- package/dist/assets/{BankAccountSection-BigS_oOq-Ci-ry1uG.js → BankAccountSection-CwOhGEgT-CV3SB5KM.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-Czlvc-qX-fV9_v1_E.js → BankAccountWarningSection-D7BVcqIu-RUBf41j-.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-BgliKI11-CVrp_3jT.js → BankConnectionsSettingsPage-BOdlcBfa-aX1YHXK9.js} +1 -1
- package/dist/assets/{BillDetailPage-DNPgeuje-DvJjtReR.js → BillDetailPage-Ct4Q960V-B1Ta0IG7.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-OrTzXAEP-F8EXZnBA.js → BillPayApprovalRuleDetailPage-DUU4rXuM-DI9nvx98.js} +4 -4
- package/dist/assets/{BillPayApprovalRulesPage-DXcPkwwf-D9IFAJHv.js → BillPayApprovalRulesPage-C0pcFzje-Rb9cSqGe.js} +1 -1
- package/dist/assets/{BillPayPromoPage-fBpp10um-GZ0MLbC-.js → BillPayPromoPage-BsEtxcjB-BRyrvd2x.js} +13 -13
- package/dist/assets/{BillPaySetUpPage-9iEVFLUa-CieGlXQ4.js → BillPaySetUpPage-B-rBYCtR-CKuO1PYp.js} +1 -1
- package/dist/assets/{BillingSettingsPage-IL6J1DV0-C_Ptx6al.js → BillingSettingsPage-BadzsZdt-CdWNz3my.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-DcRTKRMw-Dot6MMyh.js → BillsBulkReviewDrawerPage-CbA-LUIt-BCAx-hEw.js} +1 -1
- package/dist/assets/{BoxItem-Cg9N_YPt-DJ_jUCA7.js → BoxItem-BoanamYM-C9a7ISxI.js} +3 -3
- package/dist/assets/{BusinessVerificationPage-KZWTxmeh-Bf4A-QbN.js → BusinessVerificationPage-B9hjIdCd-fjXOOEEK.js} +2 -2
- package/dist/assets/{CardNumberSubText-DqtkAe0V-CnWXJt_4.js → CardNumberSubText-DFO_EKrs-fq6YqMPG.js} +1 -1
- package/dist/assets/{CashbackDetailPage-D-l7cqjW-DUYPwmfE.js → CashbackDetailPage-Bp85-5Ie-BrWWJ_z3.js} +8 -8
- package/dist/assets/{ChargeCardDetailPage-ChwrpnhL-veTgs8Ar.js → ChargeCardDetailPage-D8dY9X8Q-CY9gkPfd.js} +1 -1
- package/dist/assets/{ChargeCardListPage-zDV88I5X-B2RVPf-8.js → ChargeCardListPage-CxplfJ1W-Cs-f2f69.js} +1 -1
- package/dist/assets/{ChargeCardListTable-Cu1sCT_g-BGpTFZxZ.js → ChargeCardListTable-scY11ryy-Biigjr-j.js} +1 -1
- package/dist/assets/{ChargeCardPaymentHistoryPage-Db6zW203-WFxJEWqw.js → ChargeCardPaymentHistoryPage-Brh4ot5q-B0jRGM62.js} +1 -1
- package/dist/assets/{ChargeCardPromoPage-DsrTt5B0-CxLK8tnF.js → ChargeCardPromoPage-CPURUrkI-ElY1-FvK.js} +10 -10
- package/dist/assets/{ChargeCardSetupPage-DcYthQvc-CTSyFY1c.js → ChargeCardSetupPage-Bumq17f6-CZtiCi9E.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-DkUJKxIz-CnKozjSR.js → ChargeCardStatementsPage-DbU7LEIP-BvT1248-.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-C7rL0Ts2-RP5ItDdY.js → CheckDepositDrawerPage-CFl7Vr_I-m-GUaKwL.js} +1 -1
- package/dist/assets/{CollapsableReportTable-B0N8Ybey-DhyMNzbJ.js → CollapsableReportTable-CRaZZnGr-DHalWth7.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-5DfSL2V8-ScLL5OT8.js → CompanyOfficerDetailsSection-C4rN7mXr-DfF7L_UZ.js} +1 -1
- package/dist/assets/{CompanyPassportCard-BLw_MMZR-CEzISmuM.js → CompanyPassportCard-I21kA_Ir-BLJfyfQk.js} +3 -3
- package/dist/assets/{CompanyPassportPage-BamWWVQB-C7x4VyMq.js → CompanyPassportPage-BSDnF5-7-Cj98T4ob.js} +1 -1
- package/dist/assets/{CompleteProfile-CPwV8diq-J2SvPl5E.js → CompleteProfile-uultMZ5R-wTNN90nG.js} +1 -1
- package/dist/assets/{ConfettiBurst-CJc1ZWFJ-DhK08ncO.js → ConfettiBurst-CpmYtgfk-D3B4eByY.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-CDqjntBH-Dvy2lhUu.js → CreateOrEditVendorPage-AfKsEb9G-Dm36bf3i.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-cBCHuatx-C8VBVt7-.js → CreditCardPaymentDrawerPage-D0Lh5Tw1-XpTz-POB.js} +1 -1
- package/dist/assets/{CurrencySelectField-kA2N_h2r-CcyWX90z.js → CurrencySelectField-BvNBUOqg-A4J8Uxia.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-BU5SX7SV-Difzp9Mo.js → CustomerOnboardingActivationPage-OtCugBPI-qX05IlgL.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-DGhE9fpo-BZZCLRzR.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DGG2nFxO-Dw6MsSJ6.js → CustomerOnboardingDetailPageSkeleton-CMqEIIWe-DnAkQb7J.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-Dx_Py2Fa-Eccb4L_B.js → CustomerOnboardingNoStepsPage-p062pNc5-C-l3wTbU.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-AHQX5bSN-BxpQ0OvT.js → CustomerOnboardingPage-Byojt-WN-CQTmwoTL.js} +1 -1
- package/dist/assets/CustomerOnboardingProductSuitePage-C9W7h_tT-Brpfoewd.js +202 -0
- package/dist/assets/{Dashboard-BQGdcgDK-CcNLKkZL.js → Dashboard-Dkwr9npN-BXZ9_-Zj.js} +1 -1
- package/dist/assets/{DashboardReportPage-C9eB1Lz--5ieAwPtY.js → DashboardReportPage-Qk5_OFw7-BDc17Jc3.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-Cu7qPhOd-CTi4Znx6.js → DashboardSidebarBackgroundAnimation-BiD26wyg-CHBm92QN.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-DOcqx_qa-leYCAzF7.js → DepositAccTransactionItem-13TnlK6P-m98DXUKx.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-gxOQSQ9a-C_x5v-6x.js → DepositAccTransactionListPage-Dc3G81fB-A9cH7zUI.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-C_chbExL-BeToz5h5.js → DomesticWireDetailsPage-CCIoGmZO-B4_Jo1Es.js} +1 -1
- package/dist/assets/{DownloadOverlay-a0IFrzRd-D3N8T5hh.js → DownloadOverlay-Nc_Ra7Co-DN1ubFHO.js} +1 -1
- package/dist/assets/{DrawerPage-D3ezgD8z-B72SfIcT.js → DrawerPage-Bq1naYya-CQiLfSVq.js} +1 -1
- package/dist/assets/{EditPeoplePage-BnCysZo9-DrBsiLvG.js → EditPeoplePage-BnYTxq_9-DPMlpday.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-BzKR9gus-CcV8vLu7.js → EditReimbursementDetailPage-D-uH9OV3-BSdAEEMn.js} +1 -1
- package/dist/assets/{EntityDetailPage-B8vx2Mri-Dq6ftPMD.js → EntityDetailPage-DCcgGupN-C9TRJ7Es.js} +2 -2
- package/dist/assets/{EntitySummarySection-B5pV5wTI-DsRwDVIH.js → EntitySummarySection-BI44dDjO-CYCNaLvg.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-D25gPCR4-DOT9Bi2a.js → ExpenseAutomationOverviewPage-XA0L4mZw-dYnFXq-m.js} +4 -4
- package/dist/assets/{ExpenseAutomationPage-BUAS2p9i-IL1JLlJv.js → ExpenseAutomationPage-CGkJWoKY-B55w2jvQ.js} +1 -1
- package/dist/assets/{ExpressPayPage-DfIwfewF-QpNTIKub.js → ExpressPayPage-BX3rmT8V-AcNsZZN-.js} +8 -8
- package/dist/assets/{FeaturePreviewPage-AXorSpml-Ds6bcvAF.js → FeaturePreviewPage-W5YS3_F--DlENOTKC.js} +1 -1
- package/dist/assets/{FollowStepsSection-YR8SDxZC-jK4GFXy_.js → FollowStepsSection-C1Nmspra-Cdu3naRV.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-CxH9D6qC-D9VCs7_X.js → GlobalReviewListPage-BfVSGVJe-Bw9xs6tt.js} +1 -1
- package/dist/assets/{InformationCardStack-GuTsARmk-m7W2Cyla.js → InformationCardStack-BwgEyJER-uNbIwCBo.js} +3 -3
- package/dist/assets/{InsightsCardStack-CmTNccBr-B7V7JJKw.js → InsightsCardStack-BnEWSQ0m-VtqL0Nqc.js} +2 -2
- package/dist/assets/{InsightsSection-Bu-MplmN-Dorr_z_6.js → InsightsSection-hFNVHtei-D2NFl-zU.js} +5 -5
- package/dist/assets/{IntegrationsSettingsPage-JZMYvwgs-DuQDlnR9.js → IntegrationsSettingsPage-De8DEt0a-Cw9Ydly2.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-CM50BUc0-_CxvnrXr.js → InternationalWireSwiftDetailsPage-Dri_Nj57-i38KBpxN.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-Cg0oEA0I-D1TCfpW-.js → InternationalWireVerificationPage-CPIRgDy5-DxjBH4Le.js} +3 -3
- package/dist/assets/{InviteFormPage-CDlB29vX-Dmvvor8B.js → InviteFormPage-Ca_tdccZ-C7hXm59I.js} +1 -1
- package/dist/assets/{InvitePageListView-74Ymz8Xr-JpwUJSKI.js → InvitePageListView-BQbRhQ6V-DRrSpNW9.js} +1 -1
- package/dist/assets/{InvitePeoplePage-DxLF-5KU-CkS36yG4.js → InvitePeoplePage-BKffwOP--D-GaMZqa.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-De-7n3RO-qOxwsJtX.js → InvoiceUploadSection-H-JhX_DQ-B3PXCVQk.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-CzKlIsrE-CA_eEqsH.js → IssueChargeCardPage-rinAPB-d-By9lpPwl.js} +1 -1
- package/dist/assets/{LabeledAddressValue-CZwyvCy5-D1-9Sm0B.js → LabeledAddressValue-kPYLLOgv-BlJjmDxn.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-k9TP-qlZ-BzpglZfd.js → LabeledAddressValueField-B_N4O3Mv-CAfERVwt.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-DBnXkX-G-D4fP_6xf.js → LabeledControlledCheckBoxField-DiD9FNgO-CEPdNCHK.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-CiWNHg9A-DFrwqamp.js → LabeledCountryMultiSelectField-BCYMtV4j-BR8aIp2g.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-DdVE_wVv-xntEGmYo.js → LabeledCreatableSingleSelectField-Dm03LVdQ-DGBXlNr1.js} +1 -1
- package/dist/assets/{LabeledDocumentField-DGnh1cGh-BCYe8_PA.js → LabeledDocumentField-CWqz_jSU-BI4o2Iwv.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-BnaconeO-Ced0Yfaq.js → LabeledDropDownFormattedTextField-DhwPnDY8-yVeJPc_Q.js} +1 -1
- package/dist/assets/{LabeledMultiSelectField-Bt5PGbgf-8xamnDnk.js → LabeledMultiSelectField-C9feGqHN-OE3NSO1-.js} +1 -1
- package/dist/assets/{LabeledText-D9rbUJbs-B8rHFe3f.js → LabeledText-C91Eu04E-DW9Q389z.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DsstNVEx-CdKxnW8j.js → LabeledUserSingleSelectWithSubtitlesField-uruIe6mr--Ku_p9uL.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-DhvE24vx-B-YVtH41.js → LabeledZeniRolesDropDownField-BBpe1-wI-fb12_Q3E.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-CpttcuV1-DTLtK8Xw.js → LinkJETransactionPage-Cn7He0uo-CU1EJOb0.js} +2 -2
- package/dist/assets/{LockCardPage-FMI6xt1u-BqXJz86i.js → LockCardPage-CaIor45t-fxRy_eBL.js} +1 -1
- package/dist/assets/{LowBalancePopup-UNnJZwgC-D6ASOhaV.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-CYwIx8kJ.js → MagicLinkSuccessPage-RsvHwQTQ-DKdw4jPk.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-Cyx2YimC-BzlWjntf.js → MagicLinkTitleSection-DaThYY60-DuPzkS6C.js} +1 -1
- package/dist/assets/{MailingDetailsSection-Ro9Lxvtp-BP_WY31Z.js → MailingDetailsSection-DKs9SGYB-DpYzwmUT.js} +2 -2
- package/dist/assets/{Menu-XT10vy6U-BOoUbuzb.js → Menu-DWx47kcG-CqRpt11Z.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-BwD3OyXL-Da0NgCMi.js → MyBankConnectionsSettingsPage-DtnGJLK--62eLaU86.js} +5 -5
- package/dist/assets/{MyPendingActivationChargeCardListPage-B4yQ0O4T-B-nL-DnD.js → MyPendingActivationChargeCardListPage-B1A2Dxw3-KQAV9F2y.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-Bb4QkILK-HSMShd-J.js → MyProfileSettingsPage-BHpnpTmJ-DUJX3teA.js} +5 -5
- package/dist/assets/{NavBarWithPicker-DhLovvzt-DexTgtAK.js → NavBarWithPicker-Biz620wH-BwhpY8Dt.js} +1 -1
- package/dist/assets/{NavigationArrow-lK8LcatV-DGfMOxMA.js → NavigationArrow-CV_u5I1d-Dq_Cpl0i.js} +1 -1
- package/dist/assets/{NavigationDots-Dp0jKWtv-wJZlAbQ6.js → NavigationDots-DBshnTnS-eQudWkl3.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-DFt03MpW-DqMLqtG6.js → NewGlobalMerchantPage-DV2k3q5N-BcTx-Ahj.js} +1 -1
- package/dist/assets/{NoDataChart-BVStkyEY-B8WZvGsw.js → NoDataChart-DmThvRWS-pxiREfeT.js} +1 -1
- package/dist/assets/{NoDataTable-CBglXVQp-DDY10FD4.js → NoDataTable-8GCzndE4-Bqx95DdJ.js} +1 -1
- package/dist/assets/{NotFoundPage-8N4Q0cRS-l_4f29AK.js → NotFoundPage-VR72eVPP-RofDTL3E.js} +4 -4
- package/dist/assets/{NotificationSettingsPage--cl75C4Y-CI4sz5M5.js → NotificationSettingsPage-Bwf-7o4F-Aj6P3Xzl.js} +3 -3
- package/dist/assets/{NotificationsListConfig-BvqUVi6A-BHY0be2X.js → NotificationsListConfig-Dn_RFaAK-YhpveZOf.js} +1 -1
- package/dist/assets/{NotificationsPage-ClhmC4cD-IBtrx1co.js → NotificationsPage-B8GufkTS-DUQT6vp2.js} +18 -18
- package/dist/assets/{OpExByVendorPage-B24tsc-s-D6QTllTB.js → OpExByVendorPage-BlEqljuU-DVw46mxv.js} +1 -1
- package/dist/assets/{OverlayContainerPage-Daz3A7cI-qKQBMmtx.js → OverlayContainerPage-Daz3A7cI-jq9xEsKm.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-ChmIZfeB--a2CqoGA.js → PandLWithForecastPage-GOxiUR2j-BGagWawc.js} +2 -2
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-rhNK3_SE-DvD9qIA8.js → PaymentAccountSetupBillingAddressSection-BIxsEOJG-BjXFADJ0.js} +1 -1
- package/dist/assets/{PeoplePage-PetKjS8P-_ragIp3s.js → PeoplePage-DahKRMoB-F0cHCzgT.js} +13 -13
- package/dist/assets/{Preview-BfeJRZ_s.js → Preview-CrPzNPnm.js} +1 -1
- package/dist/assets/{ProductsCarousel-DzhNUiJk-CnpcLYLM.js → ProductsCarousel-1P24z1p4-CeCLsS0U.js} +1 -1
- package/dist/assets/{PromoBaseCards-ZTN2uS4W-CaNYBpDe.js → PromoBaseCards-DiKj0_oo-CtEGMdvr.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-CBtavUIz-BfsbqfyR.js → QBOConnectionDialog-A0ysjdIC-Eqpwl6_L.js} +1 -1
- package/dist/assets/{QBOSetupSection-jcVYFWfP-BR9neq53.js → QBOSetupSection-Me828i1a-N1PCk_UL.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-BoarRMWS-CplZNZTA.js → ReimbursementApprovalRuleDetailPage-dID4dZbu-DAIygneU.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-B5hHz-7T-COzYdYAx.js → ReimbursementApprovalRulesPage-D8stgYq_-CqsPNPUT.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-YfiCLu3C-DRrFxOgG.js → ReimbursementDetailPage-DaYD1eTP-BBI-ZKs3.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-CC_zFd3U-B-6fRWux.js → ReimbursementPromoPage-ClRa3wo6-GK77Fy92.js} +4 -4
- package/dist/assets/{ReimbursementSetUpPage-ChjBTodZ-BokcNixy.js → ReimbursementSetUpPage-CaJCRajP-Bhbzq9G6.js} +4 -4
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DOSDVT4u-B7pg5Efr.js → ReimbursementsBulkReviewDrawerPage-BuBVWui--heWobZZd.js} +1 -1
- package/dist/assets/{ReloadCard-qzpNu5-B-VePHUMif.js → ReloadCard-DzxA-pGI-BwtgRkm9.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-kzIQLZ5u-DS78KTH3.js → ReportTableViewSelector-D1k2eDtE-DWKTaUmF.js} +1 -1
- package/dist/assets/{ReportsPage-DVZ3Rcn1-CBE174bA.js → ReportsPage-DqXYfBQC-DTOBKK0U.js} +5 -5
- package/dist/assets/{RevenueChart-Bu8VCI9M-BYSxY3Z8.js → RevenueChart-C0vx4zUX-Uw0PsYMZ.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-Cl2_0ldt-BqZxApRm.js → ReviewDetailsPage-DmHHVA8I-Sy4HvXq_.js} +52 -52
- package/dist/assets/{ReviewOverlay-vmoQ2B3U-XNVWskNH.js → ReviewOverlay-tGj059Ib-BvRNdoTH.js} +1 -1
- package/dist/assets/{RoleWithToolTip-CEcusyL7-YmpTx_Di.js → RoleWithToolTip-BGafXnoE-Cs8CtpyO.js} +5 -5
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-D9w3rUch-DKLGn-zP.js → ScheduleDetailsFixedAssetsPage-DuuvsMhX-gKNOvkFU.js} +3 -3
- package/dist/assets/{ScheduleDetailsPage-LbjrnfcH-DCCH1T9I.js → ScheduleDetailsPage-BCw7YaHZ-CsQRejR9.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-2IpjhbUO-GCUPvy0g.js → ScheduleSequenceTable-C31xhtxt-m1Npa7Ri.js} +1 -1
- package/dist/assets/{ScreenRoutes-DkDRu-4T.js → ScreenRoutes-CcDq1jZA.js} +1 -1
- package/dist/assets/{SetUpAccountSection-p_viPmIN-BeZeCWCj.js → SetUpAccountSection-D8PGmPML-_7698rPN.js} +1 -1
- package/dist/assets/SignIn-CwWQnPnB-BjWxjduT.js +491 -0
- package/dist/assets/{SignInScreen-DLU3c9qR.js → SignInScreen-CMNwX-LP.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-C3i-Mkip-BJcfLEEj.js → SpendManagementListViewPage-B-EbBpvJ-ON20KKOZ.js} +5 -5
- package/dist/assets/{SpendManagementPerTabPage-dTz2pMKg-CV1wRQLN.js → SpendManagementPerTabPage-DANa2aTd-C61KLHM_.js} +1 -1
- package/dist/assets/{SpendManagementSection-DKMG4ReN-CZlClCbP.js → SpendManagementSection-CXYhrJSF-CXDxQfGM.js} +7 -7
- package/dist/assets/StatementItem-DeYhvD3S-1QR10Whm.js +31 -0
- package/dist/assets/{StatementsPage-DwvWOETo-C11bqWeD.js → StatementsPage-2OCuox8g-8nyeHbc9.js} +1 -1
- package/dist/assets/{StatusSwitcher-Moxr70rd-DtIz0Sb6.js → StatusSwitcher-CfBOEbYV-jyQUqc0h.js} +1 -1
- package/dist/assets/{SubTabSwitcher-DnCoUKmO-qRR_BP7y.js → SubTabSwitcher-LzrZe6zz-Bq05ehgW.js} +4 -4
- package/dist/assets/SummaryCard-DTbKziXk-DQjaUfYU.js +1 -0
- package/dist/assets/{TaskManagementPage-kHOwTTeJ-D1GVz39b.js → TaskManagementPage-J0L5w2Wc-ChHzcbst.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-8DihGZnj-BuenjRnY.js → TimeRangeSwitcher-CIhE-4dW-CNYy5JM_.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-Dy5hbFn4-tf-sE1Tu.js → TimeframeSwitcher-YlXclGGy-Dzk_QBMX.js} +5 -5
- package/dist/assets/TimeframeSwitcherWithToggle-BKRmBPLL-D7T-iUSK.js +31 -0
- package/dist/assets/{TopExCard-D_okDk9T-wYnCPso1.js → TopExCard-D1k8bh_F-C0WRKW8Q.js} +1 -1
- package/dist/assets/{TopExDetailPage-pOK_Ly9f-DZHeA38W.js → TopExDetailPage-BRJ9k9hY-DGh-mViS.js} +1 -1
- package/dist/assets/{TransactionDetailPage-T1xurXsz-B4W_5S1Q.js → TransactionDetailPage-CJjGDJoM-4j_0Nnvx.js} +1 -1
- package/dist/assets/{TransactionList-DblCSg0s-Dp5Vrkhr.js → TransactionList-CLJV-J8J-DPWKYbwQ.js} +6 -6
- package/dist/assets/{TransactionListBig-JLNkkeay-kxPrn2Fz.js → TransactionListBig-CDMd8KmW-BMMhha0s.js} +1 -1
- package/dist/assets/{TransactionListPage-Cf2i0F_k-CbyopTmd.js → TransactionListPage-Dm_JZDPM-CpkM0KX9.js} +2 -2
- package/dist/assets/{TransactionVendorDetailPage-B4T07nWa-DPNm9QGH.js → TransactionVendorDetailPage-BDuBQged-CAcA5ymW.js} +1 -1
- package/dist/assets/{TransferDrawerPage-BukQB5RF-CjEiIEvy.js → TransferDrawerPage-lY_wB7eB-BHJQPQzp.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-C0bQkCDh-BxK_GNbO.js → TreasuryOverviewPage-D5OetJEP-DU_svhq3.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-BaXLj90f-CHTsHIFq.js → TreasuryPromoPage-8tXexPVv-CiI-0ZNb.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-CNK6wX8W-D72m3AI-.js → TreasuryStatementsPage-DEOyNQFW-CWB-xLSh.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-DEnUpGEu-BnF_XmM3.js → TreasuryTaxLetterPage-B2AurZ-A-Dvkl-xbT.js} +1 -1
- package/dist/assets/{TrendChart-BhcSso96-HdF7LRi9.js → TrendChart-DhH1bAfv-Bh3qy9e2.js} +1 -1
- package/dist/assets/{TrendWithTransactions-B6xQ_DkB-Cvs1eKME.js → TrendWithTransactions-BLYyM3MY-D_wSnssv.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-DDqyVfnh-eAWCdEG0.js → UncategorizedAccountsMappingPage-CFir4dX5-DJbsYjHd.js} +5 -5
- package/dist/assets/{UnitIntegrationPage-BpT6E05N-RmQBxDe9.js → UnitIntegrationPage-CHR1UsV3-CoAODj2A.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-Dgwmxm6G-BrPUqWPJ.js → UploadAdditionalDocumentOverlay-CVb-0jqF-BDqTVyrb.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-CayW9AB7-DH4zWHWM.js → Vendor2FAPopup-BJI6SeE0-CTu9U0EV.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-CjsWjEGI-DSO-nYli.js → VendorACHDetailsPage-DLY7vm1r-DGGLogkV.js} +1 -1
- package/dist/assets/{VendorDetailPage-DQKnd_wl-DwLsSmFh.js → VendorDetailPage-Bl6Xaq0d-DsXiZRzL.js} +5 -5
- package/dist/assets/VendorDomesticWireDetailsPage-B83WB2Vz-DFPT0ZYm.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-monlt0GX-DhHW1Hg8.js → VendorFiling1099EditablePage-DHabnH22-CEFAMCGK.js} +32 -32
- package/dist/assets/{VendorFirstReviewPage-B_5VMGPE-DN-QZxaX.js → VendorFirstReviewPage-JhwEqiFF-kofbScrA.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-Czz9BmEm-DfcATEGo.js → VendorInternationalWireDetailsPage-DKsYBIjo-D8VzNPtl.js} +1 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-XKp9TJ4g-m_5Ao1BR.js +1 -0
- package/dist/assets/{VendorsAccountsSection-BCxVL3Vy-BoF6gQ0C.js → VendorsAccountsSection-Bvhib6Hd-BRinGYjw.js} +3 -3
- package/dist/assets/{VerifyDevice-CzW6x8kw-B7mzxysF.js → VerifyDevice-DGjS39sh-CtcNv75O.js} +1 -1
- package/dist/assets/{VideoPlayer-B6HamlwN-DO-Ebeno.js → VideoPlayer-DufuoQRs-CzFmZCl7.js} +2 -2
- package/dist/assets/{VideoPopup-D2mt1wC7-DHjn2cBV.js → VideoPopup-1aNRmLD6-E6I5SdxR.js} +2 -2
- package/dist/assets/{WarningsDrawerPage-BbN2G_rG-D-RK3Kf3.js → WarningsDrawerPage-Bikg48FF-BUXgPrL6.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-Bs_CVksP-aa_P2NUV.js → ZeniAccountDetailPage-DJiB-R44-8YHKJ_Rk.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-D5VNz-Hq-Cl6QAZp7.js → ZeniAccountListViewPage-BJF3-1hq-aqs0GGLS.js} +7 -7
- package/dist/assets/{ZeniAccountNavBarPieces-Dr8RdhtI-Bb7xJeYD.js → ZeniAccountNavBarPieces-ZZoVi49V-B5zNoIEH.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-DvOrXg46-D6yWqYxW.js → ZeniAccountPromoPage-VfZj6e9J-CEBstujd.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-zxlxRsQl-LI3fD0r9.js → ZeniAccountSetupPage-CfUBgLaM-ZmrhqCPO.js} +1 -1
- package/dist/assets/{ZeniCopyright-F1ki_Lss-DMCcW5zx.js → ZeniCopyright-UUk3LylG-VfT1dTbC.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-CK6HDTK_-DITkaxMM.js → ZeniTransferAmountSlider-DuyKUAsb-Di2nbbIa.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-B95D_4Mz.js → add-to-wallet-DgdBD8_G-DHth-HM4.js} +1 -1
- package/dist/assets/{analytics-Cvgud8Kt.js → analytics-CxT-6Gc4.js} +1 -1
- package/dist/assets/{analyticsHelper-B9B5MkKm.js → analyticsHelper-BbgU3YZ3.js} +1 -1
- package/dist/assets/{analyticsHelper-BgGQcED5-B6zw5Y6I.js → analyticsHelper-C_CHYSrd-D1gtzETx.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-D4yBr92E.js → arrow-south-east-round-PEovUgvH-jJL-u3ku.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-Bx6GnRAc.js → auto-transfer-rule-mbafm5D3-Bxbaldq-.js} +1 -1
- package/dist/assets/{chartTypes-Cdx27b7W-ChloPEmp.js → chartTypes-CfyGWP2E-zDFdatAv.js} +1 -1
- package/dist/assets/{commonDimensions-BIRY_wCD--kqEOvxT.js → commonDimensions-uDLC8oOH-DZ9sBzhX.js} +1 -1
- package/dist/assets/{commonTypes-DfehYs8A-BsLjL_9-.js → commonTypes-DBWmGaRi-Bvj_-gYH.js} +1 -1
- package/dist/assets/{constants-BtzoEfaK.js → constants-Dpo-zUMa.js} +1 -1
- package/dist/assets/{core-CXv949D6.js → core-CYa2vsSD.js} +1 -1
- package/dist/assets/{dash.all.min-Cqg4Xi33.js → dash.all.min-BwfoNW06.js} +1 -1
- package/dist/assets/{detailCommon-C4lCnx9f-C7pmgfja.js → detailCommon-CUjnzfBn-Bjs9ry6w.js} +3 -3
- package/dist/assets/{downloadPdf-BuszScX2-B_Z_90M1.js → downloadPdf-DZnGQqi5-DWxICXE5.js} +1 -1
- package/dist/assets/{empty-ByGWobuT.js → empty-BSEyVh8N.js} +1 -1
- package/dist/assets/{empty-DMMVJjdh.js → empty-CFYi5Ru2.js} +1 -1
- package/dist/assets/{epic-CfYPw6_1.js → epic-BaGEtIuG.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-BVRdqnGH.js → gift-box-Cmt9OgIZ-D2c9pOix.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-BOH0Hki6.js → graphic-no-data-l-DU4J8fDt-Dm8Nhvl9.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-D2SwohD-.js → graphic-no-data-net-burn-l-CzmycA0m-CTFvUdJH.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-B7qt1m6p.js → handshake-BPg58FML-cD35y_0x.js} +1 -1
- package/dist/assets/{index-HEX4i15-.js → index-CLqQIFvx.js} +9 -9
- package/dist/assets/{index-B7Vrs2at.js → index-D1NG7F-c.js} +1 -1
- package/dist/assets/{index-BoFx375B.js → index-DEJ7sanz.js} +1 -1
- package/dist/assets/{index-CWzyMkSf.js → index-DhBlfmDf.js} +1 -1
- package/dist/assets/{index-BoBO6goA.js → index-WnHIYL2y.js} +1 -1
- package/dist/assets/{index-sODlkJM-.js → index-o7l6M0TC.js} +1 -1
- package/dist/assets/{index-CuYWWTvq.js → index-oF3vysIj.js} +1 -1
- package/dist/assets/{lexical-DVRjsGc3.js → lexical-DzVC4tTe.js} +1 -1
- package/dist/assets/{liveblocks-Cb1r83bZ.js → liveblocks-DZksneMc.js} +1 -1
- package/dist/assets/{lottie-ChpXBaXa.js → lottie-EtzJiaFi.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-BNip5yf2-B8eJRUmh.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-KPnNJcR6-DHEAql9w.js → mapSectionWithAcOnlyToTreeNode-6D3s6K5H-Bt6Ormba.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-BgJYIgvo-fV_Gwxoc.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-ic6OiqS8.js → mui-Co4rhSdf.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-k_jk9CoG.js → page-detail-CWX5S47F-DzQ9yNth.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-za7RGM9N.js → radio-default-CiSgisfh-DdBmb3s2.js} +1 -1
- package/dist/assets/{react-CPjX1wmE.js → react-B9BOYeX6.js} +2 -2
- package/dist/assets/{react-DK-HRtjG.js → react-BHvhexjt.js} +1 -1
- package/dist/assets/{react-gyhpZrY7.js → react-BcTgPaBt.js} +1 -1
- package/dist/assets/{react-9LgnLXOA.js → react-BfmS3tc2.js} +1 -1
- package/dist/assets/{react-Bdp1N68v.js → react-BrZdHxR5.js} +1 -1
- package/dist/assets/{react-DQZAFu6o.js → react-DaPNcQnJ.js} +1 -1
- package/dist/assets/{react-BuqZeXYc.js → react-USABo3kI.js} +1 -1
- package/dist/assets/{react-BBhRq74A.js → react-hKmyc3EK.js} +1 -1
- package/dist/assets/{recharts-C7z-lQH-.js → recharts-C4PW-81v.js} +1 -1
- package/dist/assets/{sentry-DNw4E1cx.js → sentry-Cue4MgLi.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-D6nz_AIb.js → shield-DOlUxcFf-UAy-EXjs.js} +1 -1
- package/dist/assets/toCOABalancesWithID-B6AaIKKE-ZUVHY5cX.js +1 -0
- package/dist/assets/{toChartData-B0HFgnVy-FTnLuytJ.js → toChartData-DD8ISjzM-DQ9NjKIx.js} +1 -1
- package/dist/assets/{uploadAttachment-DlvokhTk-r6x0axxP.js → uploadAttachment-CEqqTe84-MicetzMb.js} +1 -1
- package/dist/assets/{uploadReceipts-CPw64UYa-BWHPlnz7.js → uploadReceipts-CPw64UYa-BwoznkPo.js} +1 -1
- package/dist/assets/{url-DBQRifxB.js → url-CIbQHzW3.js} +1 -1
- package/dist/assets/{url--ZPS5B7f.js → url-CpxLPhmr.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-DCMSiElk.js → useLongPress-GCK2COYQ-Da6NOL1P.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-BHEAhb94.js → usp-line-BBd1wKwW-BZcVCehg.js} +1 -1
- package/dist/assets/{utils-BM6IYCHh.js → utils-CxOjlxtI.js} +1 -1
- package/dist/assets/{zeni-epic-state-CKYsFVFb.js → zeni-epic-state-DcWK4mxP.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/CustomerOnboardingContainerPage-CY24zxv4-DINzCoKw.js +0 -1
- package/dist/assets/CustomerOnboardingProductSuitePage-CJ9rX2hA-BJUYSoDy.js +0 -202
- package/dist/assets/MagicLinkACHDetailsPage-Bwzk6331-BkvpBbKP.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-23WXWUBb-DxgLQKhU.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-XqDeRmny-DaBhYRdy.js +0 -1
- package/dist/assets/SignIn-DhRwLJFX-CrhLsfuP.js +0 -448
- package/dist/assets/StatementItem-Dk8gBfGY-DssA0Zy_.js +0 -31
- package/dist/assets/SummaryCard-DvdjDQ13-B4TCkks7.js +0 -1
- package/dist/assets/TimeframeSwitcherWithToggle-V2cHhGoQ-ChkncCQh.js +0 -31
- package/dist/assets/VendorDomesticWireDetailsPage-DBOWshWu-N9IiH6Qb.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-B-mh5P3v-Bc79bIRM.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-COOEc1T9-DGQoLemv.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DAnYNYrr-D_2bOFsl.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DKbBYyC9--OjhjG_D.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BeGSkZpM-DL5IPXlV.js +0 -1
- package/dist/assets/toCOABalancesWithID-C__BVdeG-L2MMXLgC.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as a,q as R,aw as W,aC as ie,aW as ne,V as t,b2 as re,aN as w,c as n,b as ae,p as B,o,R as j,M as Q,F as $,bp as se,bq as le,
|
|
1
|
+
import{y as a,q as R,aw as W,aC as ie,aW as ne,V as t,b2 as re,aN as w,c as n,b as ae,p as B,o,R as j,M as Q,F as $,bp as se,bq as le,ai as de,aq as ce,aL as me,br as pe,ao as he,k as ue,H as G,bs as X,n as V,aR as ee}from"./index-CLqQIFvx.js";import{a as U,S as z}from"./sentry-Cue4MgLi.js";import{n as i,c as ge}from"./mui-Co4rhSdf.js";import{EM as xe,bg as we,bC as N}from"./zeni-epic-state-DcWK4mxP.js";import{G as $e,c as be}from"./AccountsPromoCardStack-DQmHrc8b-Vd3CyDRc.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";import"./SummaryCard-DTbKziXk-DQjaUfYU.js";import"./ReloadCard-DzxA-pGI-BwtgRkm9.js";import"./NavigationArrow-CV_u5I1d-Dq_Cpl0i.js";import"./NavigationDots-DBshnTnS-eQudWkl3.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]="d59924ab-ace7-49d4-9113-5082b5e27a94",e._sentryDebugIdIdentifier="sentry-dbid-d59924ab-ace7-49d4-9113-5082b5e27a94")}catch{}})();const ye={textContainer:new j("extraSmallRegular","smallRegular")},fe=i.div`
|
|
2
2
|
color: ${e=>e.theme.colors.hero};
|
|
3
3
|
cursor: default;
|
|
4
4
|
`,ve=i.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as O,by as z,bz as R,V as o,bA as M,aN as p,k as V,o as n,al as q}from"./index-
|
|
1
|
+
import{d as O,by as z,bz as R,V as o,bA as M,aN as p,k as V,o as n,al as q}from"./index-CLqQIFvx.js";import{a as r,o as G}from"./sentry-Cue4MgLi.js";import{n as l}from"./mui-Co4rhSdf.js";import{f as Z}from"./TransactionList-CLJV-J8J-DPWKYbwQ.js";import{t as H}from"./page-detail-CWX5S47F-DzQ9yNth.js";import"./liveblocks-DZksneMc.js";import"./core-CYa2vsSD.js";import"./recharts-C4PW-81v.js";import"./zeni-epic-state-DcWK4mxP.js";import"./lottie-EtzJiaFi.js";import"./analytics-CxT-6Gc4.js";import"./lexical-DzVC4tTe.js";import"./utils-CxOjlxtI.js";import"./BoxItem-BoanamYM-C9a7ISxI.js";import"./commonDimensions-uDLC8oOH-DZ9sBzhX.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new t.Error().stack;c&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[c]="955bb385-25f7-4207-ae04-b120ca516b77",t._sentryDebugIdIdentifier="sentry-dbid-955bb385-25f7-4207-ae04-b120ca516b77")}catch{}})();const J=l.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
height: 100vh;
|
|
@@ -32,4 +32,4 @@ import{d as O,by as z,bz as R,V as o,bA as M,aN as p,k as V,o as n,al as q}from"
|
|
|
32
32
|
&:hover {
|
|
33
33
|
color: ${t=>t.theme.colors.primary};
|
|
34
34
|
}
|
|
35
|
-
`;function ht({title:t,subTitle:
|
|
35
|
+
`;function ht({title:t,subTitle:c,firstMonthOfFY:g,timeframe:d,timePeriod:a,useFixedPeriod:b,dataAvailableForPeriod:x,report:e,currentScrollYOffset:w,showStatementPageIcon:L=!1,onTimePeriodChange:y,onTransactionItemClick:T,onTransactionListScroll:j,onBackClick:C,onStatementPageIconClick:I,referrerType:D}){const[f,S]=r.useState(!0),[m,$]=r.useState(!1),[u,P]=r.useState(!1),N=O();r.useEffect(()=>{e.transactions.length>0?S(!1):S(m===!1&&u===!1?e.fetchState==="In-Progress"||e.fetchState==="Not-Started":!1)},[e,f,m,u]);const B=z(),k=R(D),E=`${k===""?B:k}.transactions.list`,F=a.startDate.isAfter(x.startDate,d)?{isLoading:m&&(e.fetchState==="In-Progress"||e.fetchState==="Not-Started"),fixedTimePeriod:b,onLoadPreviousClick:(i,s)=>{P(!1),$(!0),y?.(i,a,s)}}:void 0,Y=a.endDate.isBefore(x.endDate,d)?{isLoading:u&&(e.fetchState==="In-Progress"||e.fetchState==="Not-Started"),fixedTimePeriod:b,onLoadNextClick:(i,s)=>{$(!1),P(!0),y?.(i,a,s)}}:void 0;let v=null;L&&(v=o.jsx(W,{onClick:I}));const h=r.useRef(null);function _(i,s,A){G({category:`${E}.transaction-list.react.profiler`,message:`${i} (${s}) took ${A}ms`,level:"info"})}return o.jsx(r.Profiler,{id:"TransactionListPage",onRender:_,children:o.jsxs(J,{"data-testid":p("transaction-list-page",t),children:[o.jsx(M,{source:"TransactionListPage","data-testid":p("transaction-list-page-nav-bar"),title:t,onBackClick:C,backgroundColor:N.colors.grey4,rightSideComponent:v,scrollableContent:h.current!=null?h:void 0}),o.jsxs(K,{"data-testid":p("transaction-list",t),children:[o.jsx(U,{children:c}),f===!1?o.jsx(Z,{ref:h,firstMonthOfFY:g,timeframe:d,timePeriod:a,transactions:e.transactions,isFirstLotLoading:f,currentScrollYOffset:w,onTransactionItemClick:T,onTransactionListScroll:j,showLoadPrevious:F,showLoadNext:Y,componentName:"report.transactions.list"}):o.jsx(Q,{children:o.jsx(V,{size:"ExtraLarge",start:!0})})]})]})})}export{ht as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as A,F as k,V as o,k as q,aN as L,aP as W,o as a,y as g,L as _,R as J,c$ as U,a9 as G,cC as K,ac as Q,c as r,hb as F,hc as R,hd as B,d as X,cF as Y,gJ as z,he as Z,b6 as ee,hi as oe,hj as te}from"./index-
|
|
1
|
+
import{q as A,F as k,V as o,k as q,aN as L,aP as W,o as a,y as g,L as _,R as J,c$ as U,a9 as G,cC as K,ac as Q,c as r,hb as F,hc as R,hd as B,d as X,cF as Y,gJ as z,he as Z,b6 as ee,hi as oe,hj as te}from"./index-CLqQIFvx.js";import{a as I}from"./sentry-Cue4MgLi.js";import{n as c}from"./mui-Co4rhSdf.js";import"./liveblocks-DZksneMc.js";import"./core-CYa2vsSD.js";import"./recharts-C4PW-81v.js";import"./zeni-epic-state-DcWK4mxP.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]="4b2b0926-8fbb-4c26-9691-c4156e21ca75",e._sentryDebugIdIdentifier="sentry-dbid-4b2b0926-8fbb-4c26-9691-c4156e21ca75")}catch{}})();const D=(e,n)=>`${e}.${n}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=k.getLocalizedStrings().transactionDetail.vendorDetails,d=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:n,selectedClassId:h,selectedOwnerId:t,selectedVendorName:f,allAccounts:p,allClasses:C,allOwners:S,sectionId:v,isDisabled:u,accountsHierarchyList:w,classHierarchyList:x})=>{const i=A(),b=X(),$=N.labelWidth.value(i),j=N.controlWidth.value(i),V=s=>p.filter(O=>O.accountId===s)[0]?.coaId??"",l=s=>C.filter(O=>O.classId===s)[0]?.accountingClassNumber??"",y=s=>{const O=p.find(M=>M.accountId===s)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(se,{"data-testid":L("vendor-details-section",v),children:[o.jsx(re,{children:d.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(Y,{label:{label:d.vendorDetails.vendorName,width:$},text:{type:"text",name:D(v,"vendorName"),placeholder:d.placeholders.vendor,defaultValue:f,autoComplete:"off",options:{required:!0}},isSaveError:n,showAdditionalInfoLabel:!1,additionalInfoLabel:d.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:D(v,"vendorCategory"),placeholder:d.placeholders.category,valueToInfo:s=>V(s),defaultValue:{selectedOption:e,allOptions:R(w)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${b.colors.grey3}`},isDisabled:u,disableCurrentOption:y,zIndexOnFocus:!0,additionalLabelInfo:d.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:D(v,"vendorClass"),placeholder:d.placeholders.class,valueToInfo:s=>l(s),defaultValue:{selectedOption:h,allOptions:F(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:d.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${b.colors.grey3}`},isDisabled:u}),S!=null?o.jsx(Z,{label:{label:d.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:D(v,"vendorOwner"),placeholder:d.placeholders.owner,defaultValue:{allOptions:B(S),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},se=c.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
padding-top: ${a.sp3};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,q as ue,aN as A,hr as lt,aL as U,n as ve,hA as ct,k as Ye,aP as $e,o as a,F as R,y as c,L as Ne,l as dt,b8 as ut,aq as ft,a as be,ah as De,al as fe,aO as ce,fw as pt,a9 as Xe,cC as mt,aW as ht,aM as gt,p as G,ac as qe,fA as ke,fB as Ae,g8 as wt,bR as ye,g2 as xt,hB as $t,c as o,fk as bt,cg as Ue,b_ as Dt,eY as yt,bI as Tt,am as Ze,fN as Ct,dp as St,c0 as Ge,gU as vt,gV as kt}from"./index-HEX4i15-.js";import{a as u}from"./sentry-DNw4E1cx.js";import{n}from"./mui-ic6OiqS8.js";import{bL as At}from"./zeni-epic-state-CKYsFVFb.js";import{v as Pt}from"./ZeniTransferAmountSlider-CK6HDTK_-DITkaxMM.js";import{r as Lt}from"./AccountInfoPageContent-HVhR3c9c-DosFJwky.js";import"./liveblocks-Cb1r83bZ.js";import"./core-CXv949D6.js";import"./recharts-C7z-lQH-.js";import"./lottie-ChpXBaXa.js";import"./analytics-Cvgud8Kt.js";import"./lexical-DVRjsGc3.js";import"./utils-BM6IYCHh.js";import"./downloadPdf-BuszScX2-B_Z_90M1.js";import"./commonDimensions-BIRY_wCD--kqEOvxT.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="b6d4eda4-bd11-485c-8cee-16843210ae4c",e._sentryDebugIdIdentifier="sentry-dbid-b6d4eda4-bd11-485c-8cee-16843210ae4c")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=R.getLocalizedStrings(),Je="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",Ke="transferDetailPage",ge=(e,r)=>`${e}.${r}`,He=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:J,onBackClick:I,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:K,onReviewClick:H}){const i=ue(),E=p.largeLabelWidth.value(i),[V,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,W]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[Y,N]=u.useState(!1),Q=r.transferMoneyPartiesFetchState,oe=ce(Q),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),Qe=u.useCallback(s=>{O?.(s),I(),N(!1),z(!1)},[I,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:Qe,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),P=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&N(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{Y&&x&&q()},[Y,q,x]),u.useEffect(()=>{(At(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&K?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Q==="Completed"||ie!==X||Te!==ee||s)&&P.reset(Le(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,Te,ee,X,me,pe,P,r,q]);const{isValid:tt}=P.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};J(le)}};u.useEffect(()=>{const s=P.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:B})=>{B!=null&&h!=null&&mt(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=P.handleSubmit(()=>{tt&&(_("Review","Amount Details"),H())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${Pe}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=ht(gt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[V?t.jsx(Ft,{children:t.jsxs(It,{children:[t.jsxs(Et,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Vt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Wt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(Rt,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:G.heroLight}})})]})}):null,t.jsx(Yt,{children:U("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...P,children:t.jsxs(Mt,{id:He(Ke),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ie,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Pe),placeholder:D.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Ie,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:D.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(wt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:E},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Je),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:D.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Ut,{children:[$?t.jsxs(Nt,{children:[t.jsx(Xt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Pt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Zt,{windowSize:i,children:[t.jsx(Kt,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Gt,{children:[t.jsx(ze,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${U("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:D.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Jt,{windowSize:i}),t.jsx(Ht,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${U("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Qt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ye,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:D.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,r)=>({transferDetails:{[Je]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
|
|
1
|
+
import{V as t,q as ue,aN as A,hr as lt,aL as U,n as ve,hA as ct,k as Ye,aP as $e,o as a,F as R,y as c,L as Ne,l as dt,b8 as ut,aq as ft,a as be,ai as De,al as fe,aO as ce,fw as pt,a9 as Xe,cC as mt,aW as ht,aM as gt,p as G,ac as qe,fA as ke,fB as Ae,g8 as wt,bR as ye,g2 as xt,hB as $t,c as o,fk as bt,cg as Ue,b_ as Dt,eY as yt,bI as Tt,am as Ze,fN as Ct,dp as St,c0 as Ge,gU as vt,gV as kt}from"./index-CLqQIFvx.js";import{a as u}from"./sentry-Cue4MgLi.js";import{n}from"./mui-Co4rhSdf.js";import{bL as At}from"./zeni-epic-state-DcWK4mxP.js";import{v as Pt}from"./ZeniTransferAmountSlider-DuyKUAsb-Di2nbbIa.js";import{r as Lt}from"./AccountInfoPageContent-D8oVcn1T-BXq3_V4W.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";import"./downloadPdf-DZnGQqi5-DWxICXE5.js";import"./commonDimensions-uDLC8oOH-DZ9sBzhX.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="6a590270-626d-4a0d-8be1-d03771f7de9f",e._sentryDebugIdIdentifier="sentry-dbid-6a590270-626d-4a0d-8be1-d03771f7de9f")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=R.getLocalizedStrings(),Je="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",Ke="transferDetailPage",ge=(e,r)=>`${e}.${r}`,He=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:J,onBackClick:I,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:K,onReviewClick:H}){const i=ue(),E=p.largeLabelWidth.value(i),[V,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,W]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[Y,N]=u.useState(!1),Q=r.transferMoneyPartiesFetchState,oe=ce(Q),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),Qe=u.useCallback(s=>{O?.(s),I(),N(!1),z(!1)},[I,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:Qe,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),P=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&N(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{Y&&x&&q()},[Y,q,x]),u.useEffect(()=>{(At(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&K?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Q==="Completed"||ie!==X||Te!==ee||s)&&P.reset(Le(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,Te,ee,X,me,pe,P,r,q]);const{isValid:tt}=P.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};J(le)}};u.useEffect(()=>{const s=P.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:B})=>{B!=null&&h!=null&&mt(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=P.handleSubmit(()=>{tt&&(_("Review","Amount Details"),H())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${Pe}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=ht(gt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[V?t.jsx(Ft,{children:t.jsxs(It,{children:[t.jsxs(Et,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Vt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Wt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(Rt,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:G.heroLight}})})]})}):null,t.jsx(Yt,{children:U("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...P,children:t.jsxs(Mt,{id:He(Ke),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ie,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Pe),placeholder:D.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Ie,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:D.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(wt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:E},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Je),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:D.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Ut,{children:[$?t.jsxs(Nt,{children:[t.jsx(Xt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Pt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Zt,{windowSize:i,children:[t.jsx(Kt,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Gt,{children:[t.jsx(ze,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${U("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:D.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Jt,{windowSize:i}),t.jsx(Ht,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${U("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Qt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ye,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:D.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,r)=>({transferDetails:{[Je]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
|
|
2
2
|
margin-top: ${a.sp3};
|
|
3
3
|
display: flex;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as C,d as M,a8 as Fe,cb as Ke,V as t,aL as V,bR as ae,bA as Ve,b as ie,aN as W,k as We,o as i,
|
|
1
|
+
import{q as C,d as M,a8 as Fe,cb as Ke,V as t,aL as V,bR as ae,bA as Ve,b as ie,aN as W,k as We,o as i,ai as k,F as L,p as w,bI as Ee,y as f,fd as X,R as I,c as p,b3 as ne,bM as Le,aR as Me,aw as _e,fQ as Ge,g_ as Ue,n as Je,al as R,a_ as Xe,jn as qe,j_ as Qe,bf as Ze,eI as et,d4 as tt,fN as it,kU as ot,iX as Re,iY as Ae,cr as rt,iO as at,iP as nt,kV as st,k9 as lt,am as E,bP as dt,cw as le,iW as ct,cz as ht}from"./index-CLqQIFvx.js";import{a as y,S as pt}from"./sentry-Cue4MgLi.js";import{n as o,c as de}from"./mui-Co4rhSdf.js";import{bL as _,c4 as xt}from"./zeni-epic-state-DcWK4mxP.js";import{s as gt}from"./commonDimensions-uDLC8oOH-DZ9sBzhX.js";import{g as ce}from"./BoxItem-BoanamYM-C9a7ISxI.js";import{o as mt}from"./shield-DOlUxcFf-UAy-EXjs.js";import{U as he,F as pe,X as xe,Y as ge,G as me,J as ut}from"./recharts-C4PW-81v.js";import"./liveblocks-DZksneMc.js";import"./core-CYa2vsSD.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:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="b8e263f8-4e1e-47f8-9e12-f6684ece9892",e._sentryDebugIdIdentifier="sentry-dbid-b8e263f8-4e1e-47f8-9e12-f6684ece9892")}catch{}})();const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,ft={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new f(120,250,400,400,500)},yt={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new f(100,120,200,250,300)},wt={key:"amount",value:se.amount,sortOrder:"ascending",width:new f(80,100,150,180,200)},oe=()=>[ft,yt,wt],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new f(p[0],p[4]),headerLastColumnRightPadding:new f(p[3],p[11]),headerLastColumnBottomPadding:new f(p[0],p[4]),headerLastColumnLeftPadding:new f(p[3],p[11]),headerHeight:new f(Re,Ae),sortIconSize:new f(p[2],p[2]),headerPaddingTop:new f(p[0],2)};function $t({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const h=M(),l=C(),[a,u]=y.useState(oe());y.useEffect(()=>{const c=[...a];for(const s of c)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";u(c)},[r.sortKey,r.sortOrder]);const d=(c,s)=>{let m=s;r.sortKey===c&&(m=s==="ascending"?"descending":"ascending"),n(c,m)},g=a.find(c=>c.key===r.sortKey)??a[0],x=c=>a.find(s=>s.key===c)?.value??"",$=a.map(c=>c.key),j=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(St,{windowSize:l,children:[t.jsxs(zt,{children:[t.jsx(Dt,{children:t.jsx(Pt,{})}),t.jsx(dt,{title:j.sortBy,placeholder:j.sortBy,pickerValues:$,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:c=>{d(c,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:h.colors.primary,selectedOptionColor:h.colors.hero,optionBackgroundColor:h.colors.grey5,downChevronVisible:!1,backgroundColor:h.colors.grey4})]}),t.jsxs(Mt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":W("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:g,children:t.jsx(fe,{windowSize:l,isSelected:r.sortKey===g.key,children:t.jsx(le,{})})})]})]}):t.jsx(bt,{windowSize:l,children:t.jsx(vt,{children:a.map(c=>c.width.value(l)!==0&&t.jsxs(kt,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:c.key,wrapperWidth:c.width,windowSize:l,children:[t.jsxs(Lt,{onClick:()=>d(c.key,c.sortOrder),"data-testid":W("cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:c.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:c,children:t.jsx(fe,{windowSize:l,isSelected:r.sortKey===c.key,children:t.jsx(le,{})})})]}),t.jsx(Tt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===c.key&&c.key!=="date",children:t.jsx(Ct,{onClick:()=>d("date","ascending"),"data-testid":W("cards-list-sort-cancel",r.sortKey)})})]},c.key))})})}const jt=pt.memo($t),bt=o.div`
|
|
2
2
|
top: ${i.sp0};
|
|
3
3
|
left: ${i.sp0};
|
|
4
4
|
z-index: 2;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as ce,q as A,aw as $e,a8 as fe,aO as ye,V as r,bA as be,fp as ke,b3 as je,o as t,jn as Se,bR as ze,
|
|
1
|
+
import{d as ce,q as A,aw as $e,a8 as fe,aO as ye,V as r,bA as be,fp as ke,b3 as je,o as t,jn as Se,bR as ze,ai as k,n as Z,aN as Q,F,R as $,aq as V,p as a,y as z,al as R,d4 as ve,bT as Le,l as Me,am as Pe,f7 as Be,c as h,dJ as Ee,be as Te,a as Ie,L as De,b as ee,c$ as We}from"./index-CLqQIFvx.js";import{a as s,S as _e}from"./sentry-Cue4MgLi.js";import{n as i}from"./mui-Co4rhSdf.js";import{Gx as Re}from"./zeni-epic-state-DcWK4mxP.js";import{I as Ne,N as Ge}from"./VideoPlayer-DufuoQRs-CzFmZCl7.js";import{r as He}from"./auto-transfer-rule-mbafm5D3-Bxbaldq-.js";import{o as Ae}from"./shield-DOlUxcFf-UAy-EXjs.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:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="bd977768-bb38-48f7-9740-ca200e77ef21",e._sentryDebugIdIdentifier="sentry-dbid-bd977768-bb38-48f7-9740-ca200e77ef21")}catch{}})();const Fe=({isOpen:e,onClose:g})=>{const d=A(),C=F.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Be,{anchor:"right",slotProps:{paper:{sx:{width:d==="small"||d==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:g,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Ve,{windowSize:d,children:[r.jsx(Oe,{children:r.jsx(Ye,{onClick:g})}),r.jsxs(qe,{children:[r.jsx(Ue,{windowSize:d,children:C.agreementDrawer.title}),r.jsx(re,{children:C.agreementDrawer.intro}),r.jsx(G,{children:C.agreementDrawer.introBullets.map((p,w)=>r.jsx(ie,{children:p},w))}),r.jsx(G,{children:C.agreementDrawer.documents.map((p,w)=>r.jsx(Je,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Ke,{children:p.links.map((u,b)=>r.jsx(Ze,{children:u.link!==""?r.jsx(te,{href:u.link,target:"_blank",rel:"noopener noreferrer",children:u.text}):u.text},b))}):r.jsx(te,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},w))}),r.jsx(re,{style:{marginTop:t.sp2},children:C.agreementDrawer.confirmTitle}),r.jsx(G,{children:C.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(ie,{children:p},w))})]})]})})},Ve=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
width: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as v,q as j,V as t,bA as I,b2 as z,o as r,F as P,p as m,cr as C,y as T,c as p,al as D}from"./index-
|
|
1
|
+
import{d as v,q as j,V as t,bA as I,b2 as z,o as r,F as P,p as m,cr as C,y as T,c as p,al as D}from"./index-CLqQIFvx.js";import{a as h}from"./sentry-Cue4MgLi.js";import{n as o}from"./mui-Co4rhSdf.js";import{$ as E}from"./BoxItem-BoanamYM-C9a7ISxI.js";import{o as B}from"./commonDimensions-uDLC8oOH-DZ9sBzhX.js";import{O as M}from"./StatementItem-DeYhvD3S-1QR10Whm.js";import"./liveblocks-DZksneMc.js";import"./core-CYa2vsSD.js";import"./recharts-C4PW-81v.js";import"./zeni-epic-state-DcWK4mxP.js";import"./lottie-EtzJiaFi.js";import"./analytics-CxT-6Gc4.js";import"./lexical-DzVC4tTe.js";import"./utils-CxOjlxtI.js";import"./downloadPdf-DZnGQqi5-DWxICXE5.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]="2c6a890b-888f-48b9-be0b-2ac025fb2f55",e._sentryDebugIdIdentifier="sentry-dbid-2c6a890b-888f-48b9-be0b-2ac025fb2f55")}catch{}})();const b=P.getLocalizedStrings().spendManagement.treasury.statements,u={listItemMargin:new T(p[3],p[8])},re=({currentTenantCompanyName:e,authParams:n,downloadEndPoint:c,statementListView:a,onBackClick:w})=>{const g=v(),i=j(),x=h.createRef(),y=h.useRef(),$=a.statements.length===0,k=()=>B.transactionItemHeightResponsive.value(i),S=({index:s,style:l})=>{const d=a.statements[s];return $===!1?t.jsx(f,{windowSize:i,style:{...l,width:`calc(100% - 2*${u.listItemMargin.valuePx(i)})`},children:t.jsx(M,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:n,downloadEndPoint:c,documentType:"treasuryStatement",boxType:E(s,a.statements.length)},d.id)}):t.jsx(R,{style:{...l},children:t.jsx(_,{children:t.jsx(f,{windowSize:i,children:t.jsx(N,{children:b.noStatements})})})})};return t.jsxs(L,{children:[t.jsx(I,{title:b.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:w,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(z,{children:({height:s,width:l})=>t.jsx(H,{ref:x,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:a.statements.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},R=o.div``,f=o.div`
|
|
2
2
|
margin: ${e=>`${r.sp0} ${u.listItemMargin.valuePx(e.windowSize)}`};
|
|
3
3
|
&:hover {
|
|
4
4
|
position: relative;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as j,q as S,V as t,bA as L,b2 as I,o as r,F as z,p,cr as P,y as T,c as h,al as C}from"./index-
|
|
1
|
+
import{d as j,q as S,V as t,bA as L,b2 as I,o as r,F as z,p,cr as P,y as T,c as h,al as C}from"./index-CLqQIFvx.js";import{a as m}from"./sentry-Cue4MgLi.js";import{n as o}from"./mui-Co4rhSdf.js";import{$ as D}from"./BoxItem-BoanamYM-C9a7ISxI.js";import{o as E}from"./commonDimensions-uDLC8oOH-DZ9sBzhX.js";import{O as B}from"./StatementItem-DeYhvD3S-1QR10Whm.js";import"./liveblocks-DZksneMc.js";import"./core-CYa2vsSD.js";import"./recharts-C4PW-81v.js";import"./zeni-epic-state-DcWK4mxP.js";import"./lottie-EtzJiaFi.js";import"./analytics-CxT-6Gc4.js";import"./lexical-DzVC4tTe.js";import"./utils-CxOjlxtI.js";import"./downloadPdf-DZnGQqi5-DWxICXE5.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="45372359-6b7e-4475-88ed-6de05d1a025b",e._sentryDebugIdIdentifier="sentry-dbid-45372359-6b7e-4475-88ed-6de05d1a025b")}catch{}})();const b=z.getLocalizedStrings().spendManagement.treasury.taxLetter,u={listItemMargin:new T(h[3],h[8])},re=({currentTenantCompanyName:e,authParams:a,downloadEndPoint:c,taxLetterListView:n,onBackClick:w})=>{const g=j(),i=S(),f=m.createRef(),y=m.useRef(),$=n.taxLetters.length===0,k=()=>E.transactionItemHeightResponsive.value(i),v=({index:s,style:l})=>{const d=n.taxLetters[s];return $===!1?t.jsx(x,{windowSize:i,style:{...l,width:`calc(100% - 2*${u.listItemMargin.valuePx(i)})`},children:t.jsx(B,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:a,downloadEndPoint:c,documentType:"taxLetter",boxType:D(s,n.taxLetters.length)},d.id)}):t.jsx(M,{style:{...l},children:t.jsx(R,{children:t.jsx(x,{windowSize:i,children:t.jsx(N,{children:b.noTaxLetter})})})})};return t.jsxs(_,{children:[t.jsx(L,{title:b.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:w,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(I,{children:({height:s,width:l})=>t.jsx(H,{ref:f,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:n.taxLetters.length,itemSize:k,initialScrollOffset:0,children:v})})})]})},M=o.div``,x=o.div`
|
|
2
2
|
margin: ${e=>`${r.sp0} ${u.listItemMargin.valuePx(e.windowSize)}`};
|
|
3
3
|
&:hover {
|
|
4
4
|
position: relative;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{F as k,V as n,d as _,b2 as B,b as j,aW as I,aN as Y,o as L,p as P,al as R}from"./index-
|
|
1
|
+
import{F as k,V as n,d as _,b2 as B,b as j,aW as I,aN as Y,o as L,p as P,al as R}from"./index-CLqQIFvx.js";import{a as v,S as z}from"./sentry-Cue4MgLi.js";import{F7 as m}from"./zeni-epic-state-DcWK4mxP.js";import{d as A,g as T,p as D,u as O}from"./chartTypes-CfyGWP2E-zDFdatAv.js";import{n as $}from"./mui-Co4rhSdf.js";import{o as q}from"./toCOABalancesWithID-B6AaIKKE-ZUVHY5cX.js";import{V as K}from"./toChartData-DD8ISjzM-DQ9NjKIx.js";import{H as N,I as V,X as G,Y as W,J as X,R as H,K as J}from"./recharts-C4PW-81v.js";import"./liveblocks-DZksneMc.js";import"./core-CYa2vsSD.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:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ce76eeb9-a56d-4b3e-8b90-e9eda81fefe0",e._sentryDebugIdIdentifier="sentry-dbid-ce76eeb9-a56d-4b3e-8b90-e9eda81fefe0")}catch{}})();const Q=$.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
`,Z=$.div`
|
|
4
4
|
flex: display;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as H,V as i,k as z,o as r,F as R,b2 as q,aN as y,y as c,b6 as I,a as E,c as a,al as V,L as A}from"./index-
|
|
1
|
+
import{q as H,V as i,k as z,o as r,F as R,b2 as q,aN as y,y as c,b6 as I,a as E,c as a,al as V,L as A}from"./index-CLqQIFvx.js";import{a as D}from"./sentry-Cue4MgLi.js";import{n}from"./mui-Co4rhSdf.js";import K from"./TrendChart-DhH1bAfv-Bh3qy9e2.js";import{C as W}from"./NoDataChart-DmThvRWS-pxiREfeT.js";import{q as X}from"./InsightsSection-hFNVHtei-D2NFl-zU.js";import{f as Z}from"./TransactionList-CLJV-J8J-DPWKYbwQ.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]="abfaf5fc-6b57-42cb-8cea-051ca3327955",e._sentryDebugIdIdentifier="sentry-dbid-abfaf5fc-6b57-42cb-8cea-051ca3327955")}catch{}})();const G=n.div`
|
|
2
2
|
display: inline-block;
|
|
3
3
|
`,J=n.div`
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey3};
|
|
@@ -45,7 +45,7 @@ import{q as H,V as i,k as z,o as r,F as R,b2 as q,aN as y,y as c,b6 as I,a as E,
|
|
|
45
45
|
justify-content: center;
|
|
46
46
|
align-items: center;
|
|
47
47
|
margin-top: ${r.sp8};
|
|
48
|
-
`;function de({firstMonthOfFY:e,selectedTimePeriod:t,showSelectedPeriodTags:d,fetchState:s,transactions:l,isDetailPage:g,onTransactionItemClick:m,onSelectedTimePeriodClear:f,onLoadPreviousTransactionsClick:S,onTransactionListHeightChanged:x}){const w=s==="In-Progress"||s==="Not-Started",$=l.length===0&&w,v=l.length>0&&w,T=g!==!0&&d!==!0?{isLoading:v&&(s==="In-Progress"||s==="Not-Started"),onLoadPreviousClick:(b
|
|
48
|
+
`;function de({firstMonthOfFY:e,selectedTimePeriod:t,showSelectedPeriodTags:d,fetchState:s,transactions:l,isDetailPage:g,onTransactionItemClick:m,onSelectedTimePeriodClear:f,onLoadPreviousTransactionsClick:S,onTransactionListHeightChanged:x}){const w=s==="In-Progress"||s==="Not-Started",$=l.length===0&&w,v=l.length>0&&w,T=g!==!0&&d!==!0?{isLoading:v&&(s==="In-Progress"||s==="Not-Started"),onLoadPreviousClick:(M,b)=>{S?.(M,b)}}:void 0,h=H();return i.jsx(ne,{"data-testid":y("trend-transactions-list-container"),children:$===!1?i.jsxs(i.Fragment,{children:[g===!1&&d===!0&&t!=null&&i.jsx(oe,{windowSize:h,children:i.jsx(ie,{selectedTimeframeTick:t,onTimeFilterClosed:f})}),t!=null&&i.jsx(ae,{"data-testid":y("trend-transactions-list"),children:i.jsx(Z,{firstMonthOfFY:e,timeframe:"quarter",timePeriod:t,transactions:l,isFirstLotLoading:w&&!v,componentName:"trend.transactions.list",trackPerformance:!1,onTransactionItemClick:m,showLoadPrevious:T,onListInnerElementHeightChanged:x})})]}):i.jsx(se,{children:i.jsx(z,{size:"Standard",start:!0})})})}const o={headingMarginLeftRight:new c(a[3],a[8]),headingMarginTop:new c(a[3],a[6]),headingMarginTopDetail:new c(0,0),headingMarginBottom:new c(a[4],a[5]),chartMarginLeftRight:new c(a[3],a[8]),smallHeadingMarginTop:new c(a[7],a[5]),smallHeadingMarginBottom:new c(a[4],a[3])},j={trendChartHeight:360,emptyTrendChartHeight:new c(360,432),selectedTimeHeight:136,loaderTrendChartHeight:new c(470,470)},le=n.div`
|
|
49
49
|
display: flex;
|
|
50
50
|
flex: 1 1 auto;
|
|
51
51
|
min-height: 100%;
|
|
@@ -113,4 +113,4 @@ import{q as H,V as i,k as z,o as r,F as R,b2 as q,aN as y,y as c,b6 as I,a as E,
|
|
|
113
113
|
align-items: center;
|
|
114
114
|
height: ${e=>j.loaderTrendChartHeight.valuePx(e.windowSize)};
|
|
115
115
|
margin-top: ${r.sp8};
|
|
116
|
-
`;function ze({firstMonthOfFY:e,trendWithTransactionsReport:t,graphColor:d,isDetailPage:s,initialTransactionListHeight:l=5,page:g,onTransactionItemClick:m,onTimePeriodChange:f}){const S=t.fetchState!=="Completed",x=t.selectedPeriod??{timeframe:"quarter",timePeriod:t.transactionTimePeriod},w="month",$=x?.timeframe==="month",v=t.trendReport?.dataAvailable==null,T=()=>t.trendReport?.fetchState==="In-Progress"&&t.fetchState==="Completed",h=t.trendReport?.trendReport,
|
|
116
|
+
`;function ze({firstMonthOfFY:e,trendWithTransactionsReport:t,graphColor:d,isDetailPage:s,initialTransactionListHeight:l=5,page:g,onTransactionItemClick:m,onTimePeriodChange:f}){const S=t.fetchState!=="Completed",x=t.selectedPeriod??{timeframe:"quarter",timePeriod:t.transactionTimePeriod},w="month",$=x?.timeframe==="month",v=t.trendReport?.dataAvailable==null,T=()=>t.trendReport?.fetchState==="In-Progress"&&t.fetchState==="Completed",h=t.trendReport?.trendReport,M=()=>{f?.("TransactionList")},b=(p,u)=>{const L={timeframe:u,addTimePeriod:p,currentTimePeriod:t.selectedPeriod?.timePeriod};f?.("TransactionListLoadMore",L)},P=H(),[Y,N]=D.useState(l),C=D.useRef(null),F=()=>{const p=h?.insights!=null&&h?.insights.length>0;return i.jsxs(i.Fragment,{children:[v?T()?i.jsx(Pe,{windowSize:P,children:i.jsx(z,{size:"Standard",start:!0})}):i.jsx(pe,{children:i.jsx(W,{title:R.getLocalizedStrings().chartCard.no_data_available})}):i.jsx(ge,{windowSize:P,"data-testid":y("trend-with-transactions-chart",g),bottomMarginNeeded:!p,children:i.jsx(q,{children:({height:u,width:L})=>i.jsx(i.Fragment,{children:i.jsx(K,{firstMonthOfFY:e,trendReport:h,timeframe:w,selectedTimePeriod:$===!0?x?.timePeriod:void 0,graphColor:d,onTimeframeSelectionChanged:(B,_)=>{f?.("Chart",{timeframe:B,addTimePeriod:_})},width:L,height:u})})})}),h?.insights!=null&&h?.insights.length>0&&i.jsx(ce,{ref:C,children:i.jsx(X,{insights:h?.insights})})]})},k=p=>i.jsx(i.Fragment,{children:i.jsx(de,{firstMonthOfFY:p.firstMonthOfFY,selectedTimePeriod:x?.timePeriod,showSelectedPeriodTags:$,isDetailPage:s,fetchState:t.transactionView?.fetchState??"Not-Started",transactions:t.transactionView?.transactions??[],onTransactionItemClick:m,onLoadPreviousTransactionsClick:b,onSelectedTimePeriodClear:M,onTransactionListHeightChanged:u=>{N(u)}})}),O=p=>{const u=C.current!=null?C.current.clientHeight:56;return(v===!0?j.emptyTrendChartHeight.value(P):j.trendChartHeight)+($===!0?j.selectedTimeHeight:0)+u+p};return i.jsx(le,{page:g,isDetailPage:s,children:S===!0?i.jsx(ve,{isDetailPage:s,children:i.jsx(z,{size:"Standard",start:!0})}):i.jsxs(i.Fragment,{children:[i.jsx(je,{windowSize:P,report:t,isDetailPage:s,page:g}),i.jsx(ue,{windowSize:P,height:O(Y),children:s===!0?i.jsxs(i.Fragment,{children:[i.jsx(we,{children:i.jsx(F,{})}),i.jsx(k,{firstMonthOfFY:e})]}):i.jsxs(i.Fragment,{children:[i.jsx(xe,{page:g,children:i.jsx(F,{})}),i.jsx($e,{children:i.jsx(k,{firstMonthOfFY:e})})]})})]})})}const je=({windowSize:e,report:t,isDetailPage:d,page:s})=>{const l=t.trendReport?.trendReport;if(l==null)return null;const g=l?.balancesKind==="income"?l.customer.name:l.vendor.name,m=R.getLocalizedStrings().reports.trend[l?.balancesKind];if(d)return i.jsx(fe,{windowSize:e,children:m});const f=g+" "+m;return s==="vendorDetailPage"?i.jsx(me,{windowSize:e,children:m}):i.jsx(he,{windowSize:e,children:f})};export{ze as R};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as ie,q as ce,aw as Ke,aO as en,gE as I,hM as U,a9 as nn,hN as tn,hO as je,cC as on,V as t,bA as cn,cn as sn,co as an,cp as ln,ac as dn,hP as rn,k as un,aP as pn,ft as mn,F as H,hQ as Be,y as u,al as gn,o as a,cP as
|
|
1
|
+
import{d as ie,q as ce,aw as Ke,aO as en,gE as I,hM as U,a9 as nn,hN as tn,hO as je,cC as on,V as t,bA as cn,cn as sn,co as an,cp as ln,ac as dn,hP as rn,k as un,aP as pn,ft as mn,F as H,hQ as Be,y as u,al as gn,o as a,cP as we,aT as W,gJ as te,hR as oe,hS as Z,hT as xn,c as r,R as ye,p as Ae,g1 as Ve,ai as $e,bh as hn}from"./index-CLqQIFvx.js";import{a as X}from"./sentry-Cue4MgLi.js";import{n as s}from"./mui-Co4rhSdf.js";import{FU as Te,Fy as bn,Fz as fn,FV as wn}from"./zeni-epic-state-DcWK4mxP.js";import{h as yn}from"./VendorsAccountsSection-Bvhib6Hd-BRinGYjw.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]="ffd6469e-3a74-417b-b3ee-6a09426fbcf8",e._sentryDebugIdIdentifier="sentry-dbid-ffd6469e-3a74-417b-b3ee-6a09426fbcf8")}catch{}})();const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},qe={title:new ye("standardMedium","largeMedium")},An=s.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
row-gap: ${e=>C.rowGap.valuePx(e.windowSize)};
|
|
@@ -65,7 +65,7 @@ import{d as ie,q as ce,aw as Ke,aO as en,gE as I,hM as U,a9 as nn,hN as tn,hO as
|
|
|
65
65
|
background-color: ${e=>e.theme.colors.grey5};
|
|
66
66
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
67
67
|
border-radius: ${a.sp2};
|
|
68
|
-
`,Y=(e,n)=>`${e}.${n}`;function kn({sectionId:e,containerRef:n,accountMappingView:o}){const l=ce(),p=ie(),c=H.getLocalizedStrings().uncategorizedAccountsMapping,M=C.labelWidth.value(l),z=o.billPayRecommendation!=null?[o.billPayRecommendation]:[],R=I(o.billPayAccountHierarchy,z,"Accounts"),k=o.billPayRecommendation?.account?.reason??"",O=c.tooltip.replace("__based__",k).replace("__account__",c.billsSection.billPayExpenseAccount),$=o.billPayAccountList.find(h=>h.accountId===o.accountMappingLocalData?.selectedBillPayAccountId),S={valueContainer:h=>({...h,padding:`2px ${a.sp3}`,overflow:"unset"}),singleValue:()=>({margin:0})},{getValues:d}=
|
|
68
|
+
`,Y=(e,n)=>`${e}.${n}`;function kn({sectionId:e,containerRef:n,accountMappingView:o}){const l=ce(),p=ie(),c=H.getLocalizedStrings().uncategorizedAccountsMapping,M=C.labelWidth.value(l),z=o.billPayRecommendation!=null?[o.billPayRecommendation]:[],R=I(o.billPayAccountHierarchy,z,"Accounts"),k=o.billPayRecommendation?.account?.reason??"",O=c.tooltip.replace("__based__",k).replace("__account__",c.billsSection.billPayExpenseAccount),$=o.billPayAccountList.find(h=>h.accountId===o.accountMappingLocalData?.selectedBillPayAccountId),S={valueContainer:h=>({...h,padding:`2px ${a.sp3}`,overflow:"unset"}),singleValue:()=>({margin:0})},{getValues:d}=we(),v=p.mode==="light"?new W(p.colors.brandColorJadeLight):new W(p.colors.brandColorJadeDark);return t.jsxs(An,{windowSize:l,children:[t.jsx(In,{windowSize:l,children:c.billsSection.heading}),t.jsxs($n,{windowSize:l,children:[t.jsxs(Sn,{windowSize:l,children:[t.jsx(vn,{windowSize:l,iconColor:v,isDarkMode:p.mode==="dark",children:t.jsx(Ln,{})}),t.jsxs(Rn,{children:[t.jsx(Cn,{windowSize:l,children:c.billsSection.title}),t.jsx(Pn,{children:c.billsSection.subTitle})]})]}),t.jsx(Mn,{children:t.jsx(zn,{windowSize:l,children:t.jsx(te,{isZeniRecommendsLabel:!0,isLoading:!1,label:{label:c.billsSection.bankChargesAndFeesLabel,width:M},groupedSingleSelectField:{shouldShowChevronIcon:o.billPayRecommendation!=null,name:Y(e,"billPayAccount"),placeholder:c.placeholder.accountPlaceholder,noOptionsMessage:{line1:c.noOptions.noAccountsFound,line2:c.noOptions.establishQBO},valueToId:h=>oe(h,o.billPayAccountList),defaultValue:{selectedOption:$?.qboId,allOptions:R},style:{border:`1px solid ${p.colors.grey3}`},customStyleConfig:S,registerOptions:{required:!1},menuPortal:n},style:{border:`1px solid ${p.colors.grey3}`,borderRadius:"inherit",borderBottomRightRadius:"inherit"},fullWidthSelect:!0,recommendationCheckboxField:o.billPayRecommendation!=null?{tooltipProps:{text:O},label:{label:o.billPayRecommendation?.account?.accountName??H.getLocalizedStrings().common.strings.empty},checkBoxField:{name:Y(e,"isRecommendedBillPayAccountChecked"),defaultChecked:d(Y(e,"isRecommendedBillPayAccountChecked"))}}:void 0},Y(e,"billPayAccount"))})})]})]})}const P={labelWidth:new u(120,145,160),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},He={title:new ye("standardMedium","largeMedium")},On=s.div`
|
|
69
69
|
display: flex;
|
|
70
70
|
flex-direction: column;
|
|
71
71
|
row-gap: ${e=>P.rowGap.valuePx(e.windowSize)};
|
|
@@ -132,7 +132,7 @@ import{d as ie,q as ce,aw as Ke,aO as en,gE as I,hM as U,a9 as nn,hN as tn,hO as
|
|
|
132
132
|
background-color: ${e=>e.theme.colors.grey5};
|
|
133
133
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
134
134
|
border-radius: ${a.sp2};
|
|
135
|
-
`,K=(e,n)=>`${e}.${n}`;function Wn({sectionId:e,containerRef:n,accountMappingView:o}){const l=ce(),p=ie(),c=H.getLocalizedStrings().uncategorizedAccountsMapping,M=P.labelWidth.value(l),z=o.reimbursementsRecommendation!=null?[o.reimbursementsRecommendation]:[],R=I(o.reimbursementsAccountHierarchy,z,"Accounts"),k=o.reimbursementsRecommendation?.account?.reason??"",O=c.tooltip.replace("__based__",k).replace("__account__",c.reimbursementsSection.reimbursementsExpenseAccount),$=o.reimbursementsAccountList.find(h=>h.accountId===o.accountMappingLocalData?.selectedReimbursementsAccountId),S={valueContainer:h=>({...h,padding:`2px ${a.sp3}`,overflow:"unset"}),singleValue:()=>({margin:0})},{getValues:d}=
|
|
135
|
+
`,K=(e,n)=>`${e}.${n}`;function Wn({sectionId:e,containerRef:n,accountMappingView:o}){const l=ce(),p=ie(),c=H.getLocalizedStrings().uncategorizedAccountsMapping,M=P.labelWidth.value(l),z=o.reimbursementsRecommendation!=null?[o.reimbursementsRecommendation]:[],R=I(o.reimbursementsAccountHierarchy,z,"Accounts"),k=o.reimbursementsRecommendation?.account?.reason??"",O=c.tooltip.replace("__based__",k).replace("__account__",c.reimbursementsSection.reimbursementsExpenseAccount),$=o.reimbursementsAccountList.find(h=>h.accountId===o.accountMappingLocalData?.selectedReimbursementsAccountId),S={valueContainer:h=>({...h,padding:`2px ${a.sp3}`,overflow:"unset"}),singleValue:()=>({margin:0})},{getValues:d}=we(),v=p.mode==="light"?new W(p.colors.brandColorJadeLight):new W(p.colors.brandColorJadeDark);return t.jsxs(On,{windowSize:l,children:[t.jsx(Tn,{windowSize:l,children:c.reimbursementsSection.heading}),t.jsxs(En,{windowSize:l,children:[t.jsxs(jn,{windowSize:l,children:[t.jsx(Fn,{windowSize:l,iconColor:v,isDarkMode:p.mode==="dark",children:t.jsx(Vn,{})}),t.jsxs(Dn,{children:[t.jsx(_n,{windowSize:l,children:c.reimbursementsSection.title}),t.jsx(Bn,{children:c.reimbursementsSection.subTitle})]})]}),t.jsx(qn,{children:t.jsx(Hn,{windowSize:l,children:t.jsx(te,{isZeniRecommendsLabel:!0,isLoading:!1,label:{label:c.reimbursementsSection.mileageLabel,width:M},groupedSingleSelectField:{shouldShowChevronIcon:o.reimbursementsRecommendation!=null,name:K(e,"reimbursementsAccount"),placeholder:c.placeholder.accountPlaceholder,noOptionsMessage:{line1:c.noOptions.noAccountsFound,line2:c.noOptions.establishQBO},valueToId:h=>oe(h,o.reimbursementsAccountList),defaultValue:{selectedOption:$?.qboId,allOptions:R},style:{border:`1px solid ${p.colors.grey3}`},customStyleConfig:S,registerOptions:{required:!1},menuPortal:n},style:{border:`1px solid ${p.colors.grey3}`,borderRadius:"inherit",borderBottomRightRadius:"inherit"},fullWidthSelect:!0,recommendationCheckboxField:o.reimbursementsRecommendation!=null?{tooltipProps:{text:O},label:{label:o.reimbursementsRecommendation?.account?.accountName??H.getLocalizedStrings().common.strings.empty},checkBoxField:{name:K(e,"isRecommendedReimbursementsAccountChecked"),defaultChecked:d(K(e,"isRecommendedReimbursementsAccountChecked"))}}:void 0},K(e,"reimbursementsAccount"))})})]})]})}const L={labelWidth:new u(120,145,160),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},We={title:new ye("standardMedium","largeMedium")},Nn=s.div`
|
|
136
136
|
display: flex;
|
|
137
137
|
flex-direction: column;
|
|
138
138
|
row-gap: ${e=>L.rowGap.valuePx(e.windowSize)};
|
|
@@ -199,7 +199,7 @@ import{d as ie,q as ce,aw as Ke,aO as en,gE as I,hM as U,a9 as nn,hN as tn,hO as
|
|
|
199
199
|
background-color: ${e=>e.theme.colors.grey5};
|
|
200
200
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
201
201
|
border-radius: ${a.sp2};
|
|
202
|
-
`,D=(e,n)=>`${e}.${n}`;function tt({sectionId:e,containerRef:n,accountMappingView:o}){const l=ce(),p=ie(),c=H.getLocalizedStrings().uncategorizedAccountsMapping,M=L.labelWidth.value(l),z=o.incomeRecommendation!=null?[o.incomeRecommendation]:[],R=I(o.incomeAccountHierachy,z),k=o.expenseRecommendation!=null?[o.expenseRecommendation]:[],O=I(o.expenseAccountHierarchy,k),$=o.incomeRecommendation?.account?.reason??"",S=c.tooltip.replace("__based__",$).replace("__account__",c.uncategorizedSection.incomeAccount),d=o.expenseRecommendation?.account?.reason??"",v=c.tooltip.replace("__based__",d).replace("__account__",c.uncategorizedSection.expenseAccount),h=o.incomeAccountList.find(
|
|
202
|
+
`,D=(e,n)=>`${e}.${n}`;function tt({sectionId:e,containerRef:n,accountMappingView:o}){const l=ce(),p=ie(),c=H.getLocalizedStrings().uncategorizedAccountsMapping,M=L.labelWidth.value(l),z=o.incomeRecommendation!=null?[o.incomeRecommendation]:[],R=I(o.incomeAccountHierachy,z),k=o.expenseRecommendation!=null?[o.expenseRecommendation]:[],O=I(o.expenseAccountHierarchy,k),$=o.incomeRecommendation?.account?.reason??"",S=c.tooltip.replace("__based__",$).replace("__account__",c.uncategorizedSection.incomeAccount),d=o.expenseRecommendation?.account?.reason??"",v=c.tooltip.replace("__based__",d).replace("__account__",c.uncategorizedSection.expenseAccount),h=o.incomeAccountList.find(y=>y.accountId===o.accountMappingLocalData?.selectedIncomeAccountId),E=o.expenseAccountList.find(y=>y.accountId===o.accountMappingLocalData?.selectedExpenseAccountId),F={valueContainer:y=>({...y,padding:`2px ${a.sp3}`,overflow:"unset"}),singleValue:()=>({margin:0})},{getValues:_}=we(),V=p.mode==="light"?new W(p.colors.brandColorJadeLight):new W(p.colors.brandColorJadeDark);return t.jsxs(Nn,{windowSize:l,children:[t.jsx(Jn,{windowSize:l,children:c.uncategorizedSection.heading}),t.jsxs(Gn,{windowSize:l,children:[t.jsxs(Un,{windowSize:l,children:[t.jsx(Zn,{windowSize:l,iconColor:V,isDarkMode:p.mode==="dark",children:t.jsx(Kn,{})}),t.jsxs(Qn,{children:[t.jsx(Xn,{windowSize:l,children:c.uncategorizedSection.title}),t.jsx(Yn,{children:c.uncategorizedSection.subTitle})]})]}),t.jsx(et,{children:t.jsxs(nt,{windowSize:l,children:[t.jsx(te,{isLoading:!1,label:{label:c.uncategorizedSection.incomeLabel,width:M},groupedSingleSelectField:{shouldShowChevronIcon:o.incomeRecommendation!=null,name:D(e,"incomeAccount"),placeholder:c.placeholder.incomePlaceholder,noOptionsMessage:{line1:c.noOptions.noAccountsFound,line2:c.noOptions.establishQBO},valueToId:y=>oe(y,o.incomeAccountList),defaultValue:{selectedOption:h?.qboId,allOptions:R},style:{width:"100%"},customStyleConfig:F,registerOptions:{required:!1},menuPortal:n},disableCurrentOption:()=>!1,style:{borderBottom:`1px solid ${p.colors.grey3}`,borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},fullWidthSelect:!0,recommendationCheckboxField:o.incomeRecommendation!=null?{tooltipProps:{text:S},label:{label:o.incomeRecommendation.account?.accountName??""},checkBoxField:{name:D(e,"isRecommendedIncomeAccountChecked"),defaultChecked:_(D(e,"isRecommendedIncomeAccountChecked"))}}:void 0},D(e,"incomeAccount")),t.jsx(te,{isLoading:!1,label:{label:c.uncategorizedSection.expenseLabel,width:M},groupedSingleSelectField:{shouldShowChevronIcon:o.expenseRecommendation!=null,name:D(e,"expenseAccount"),placeholder:c.placeholder.expensePlaceholder,noOptionsMessage:{line1:c.noOptions.noAccountsFound,line2:c.noOptions.establishQBO},valueToId:y=>oe(y,o.expenseAccountList),defaultValue:{selectedOption:E?.qboId,allOptions:O},style:{borderBottom:`1px solid ${p.colors.grey3}`},customStyleConfig:F,registerOptions:{required:!1},menuPortal:n},disableCurrentOption:()=>!1,style:{borderBottom:`1px solid ${p.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},fullWidthSelect:!0,recommendationCheckboxField:o.expenseRecommendation!=null?{tooltipProps:{text:v},label:{label:o.expenseRecommendation.account?.accountName??""},checkBoxField:{name:D(e,"isRecommendedExpenseAccountChecked"),defaultChecked:_(D(e,"isRecommendedExpenseAccountChecked"))}}:void 0},D(e,"expenseAccount"))]})})]})]})}const J={titleWidth:new u(343,580,826,1048),setupDetailsRowGap:new u(12,r[5],r[5]),sectionsRowGap:new u(12,r[7],r[7]),subTitlePaddingTop:new u(12,r[3]),subTitlePaddingBottom:new u(r[3],r[3])},{common:m,uncategorizedAccountsMapping:B}=H.getLocalizedStrings(),De="uncategorizedAccountsMappingPage",q="uncategorizedAccountSection",x="filing1099Section",ee="billsAccountSection",ne="reimbursementsAccountSection",Ne="vendorsAccountSection",ot=s.div`
|
|
203
203
|
display: flex;
|
|
204
204
|
height: 100vh;
|
|
205
205
|
width: 100%;
|
|
@@ -241,4 +241,4 @@ import{d as ie,q as ce,aw as Ke,aO as en,gE as I,hM as U,a9 as nn,hN as tn,hO as
|
|
|
241
241
|
padding-top: ${e=>J.subTitlePaddingTop.valuePx(e.windowSize)};
|
|
242
242
|
padding-bottom: ${e=>J.subTitlePaddingBottom.valuePx(e.windowSize)};
|
|
243
243
|
text-align: ${e=>e.windowSize==="small"?"initial":"center"};
|
|
244
|
-
`;function ft({currentTenant:e,accountMappingView:n,isFiling1099FeatureEnabled:o,isAccruedExpensesFeatureEnabled:l,meetingUrl:p,isSettings:c=!1,onAccountMappingChange:M,onSaveClick:z,onBackClick:R,onClickMenuIcon:k}){const O=ie(),$=ce(),S=Ke(),[d,v]=X.useState(!1),h=en(n.saveState.fetchState),E=X.useRef(null),{incomeRecommendation:F,expenseRecommendation:_,billPayRecommendation:V,reimbursementsRecommendation:f,prepaidExpensesRecommendation:se,fixedAssetsRecommendation:ae,accruedExpensesRecommendation:le}=n,de=F!=null?[F]:[],re=_!=null?[_]:[],ue=V!=null?[V]:[],pe=f!=null?[f]:[],me=se,ge=ae,xe=le,i=I(n.incomeAccountHierachy,de,"Accounts"),N=I(n.expenseAccountHierarchy,re,"Accounts"),he=I(n.billPayAccountHierarchy,ue,"Accounts"),we=I(n.reimbursementsAccountHierarchy,pe,"Accounts"),Se=I(n.prepaidExpensesAccountHierarchy,me,"Accounts"),Ie=I(n.fixedAssetsAccountHierarchy,ge,"Accounts"),Re=I(n.accruedExpensesAccountHierarchy,xe,"Accounts"),ve=I(n.bankAccounts1099FilingAccountHierarchy,[],"Accounts"),Ce=I(n.expenseAccounts1099FilingAccountHierarchy,[],"Categories"),Pe=U(n.expenseTypeList,B.filing1099Section.allExpenseTypes),Le=U(n.expense1099TypeList,B.filing1099Section.all1099Types),Ge=U(n.boxTypesList.int,B.filing1099Section.allBoxes),Ue=U(n.boxTypesList.misc,B.filing1099Section.allBoxes),Je=U(n.boxTypesList.nec,B.filing1099Section.allBoxes),be={int:Ge,misc:Ue,nec:Je},b=nn({mode:"all",defaultValues:_e(n,i,N,he,we,Se,Ie,Re,ve,Ce,Pe,Le,be),resetOptions:{keepDirtyValues:!0},values:_e(n,i,N,he,we,Se,Ie,Re,ve,Ce,Pe,Le,be)}),Qe=b.handleSubmit(w=>{const A=w[x].bankAccount.selectedOptions.length,g=w[x].expenseCategory1099.length,y=A===0&&g===1&&tn(w[x].expenseCategory1099[0]),j=w[x].expenseCategory1099,G=[];j.forEach((Q,T)=>{if(!y){const ze=Q.accountId?.selectedOption,ke=Q.expenseType?.selectedOption,Oe=Q.type1099?.selectedOption,Ee=Q.boxType?.selectedOption;(ze==null||ze==="")&&(b.setError(`${x}.expenseCategory1099.${T}.accountId`,{type:"manual",message:"Account ID is required."}),G.push(`${T}.accountId`)),(ke==null||ke==="")&&(b.setError(`${x}.expenseCategory1099.${T}.expenseType`,{type:"manual",message:"Expense Type is required."}),G.push(`${T}.expenseType`)),(Oe==null||Oe==="")&&(b.setError(`${x}.expenseCategory1099.${T}.type1099`,{type:"manual",message:"Type 1099 is required."}),G.push(`${T}.type1099`)),(Ee==null||Ee==="")&&(b.setError(`${x}.expenseCategory1099.${T}.boxType`,{type:"manual",message:"Box Type is required."}),G.push(`${T}.boxType`))}}),G.length===0&&(A>0&&g>1&&je(w[x].expenseCategory1099[0])||A>0&&g===1&&je(w[x].expenseCategory1099[0])||y)&&z(w)}),Ze=async(w,A)=>{if(w.includes("isRecommendedIncomeAccountChecked")){const g=A[q].isRecommendedIncomeAccountChecked===!0?n.incomeRecommendation?.account?.qboId??m.strings.empty:n.accountMappingLocalData?.previousIncomeAccount?.qboId;b.setValue(`${q}.incomeAccount`,{selectedOption:g,allOptions:i},{shouldValidate:!0})}if(w.includes("isRecommendedExpenseAccountChecked")){const g=A[q].isRecommendedExpenseAccountChecked===!0?n.expenseRecommendation?.account?.qboId??m.strings.empty:n.accountMappingLocalData?.previousExpenseAccount?.qboId;b.setValue(`${q}.expenseAccount`,{selectedOption:g,allOptions:N},{shouldValidate:!0})}if(w.includes("isRecommendedBillPayAccountChecked")){const g=A[ee].isRecommendedBillPayAccountChecked===!0?n.billPayRecommendation?.account?.qboId??m.strings.empty:n.accountMappingLocalData?.previousBillPayAccount?.qboId;b.setValue(`${ee}.billPayAccount`,{selectedOption:g,allOptions:he},{shouldValidate:!0})}if(w.includes("isRecommendedReimbursementsAccountChecked")){const g=A[ne].isRecommendedReimbursementsAccountChecked===!0?n.reimbursementsRecommendation?.account?.qboId??m.strings.empty:n.accountMappingLocalData?.previousReimbursementsAccount?.qboId;b.setValue(`${ne}.reimbursementsAccount`,{selectedOption:g,allOptions:we},{shouldValidate:!0})}if(w.includes("filing1099Section.expenseCategory1099")){const g=w.split(".").find(y=>!isNaN(Number(y)));if(g!==void 0){const y=parseInt(g,10),j=A[x].expenseCategory1099[y];j.accountId?.selectedOption!=null&&b.clearErrors(`${x}.expenseCategory1099.${y}.accountId`),j.expenseType?.selectedOption!=null&&b.clearErrors(`${x}.expenseCategory1099.${y}.expenseType`),j.type1099?.selectedOption!=null&&b.clearErrors(`${x}.expenseCategory1099.${y}.type1099`),j.boxType?.selectedOption!=null&&b.clearErrors(`${x}.expenseCategory1099.${y}.boxType`)}}if(w.includes("type1099")){const g=w?.split(".")?.find(y=>!isNaN(Number(y)));if(g!=null){const y=parseInt(g,10),j=A[x].expenseCategory1099[y].type1099?.selectedOption;b.setValue(`${x}.expenseCategory1099.${y}.boxType`,{selectedOption:m.strings.empty,allOptions:Be(j??m.strings.empty,be)},{shouldValidate:!0})}}M(A)};X.useEffect(()=>{h==="In-Progress"&&n.saveState.fetchState==="Completed"&&R?.()},[h,n.saveState.fetchState,R]),X.useEffect(()=>{const w=b.watch((A,{name:g})=>{g!=null&&A!=null&&on(()=>Ze(g,A))});return()=>{w.unsubscribe()}});const Me=()=>n.fetchState==="Completed"&&(n.accountMappingLocalData?.selectedExpenseAccountId!==n.accountMappingLocalData?.previousExpenseAccount?.accountId||n.accountMappingLocalData?.selectedIncomeAccountId!==n.accountMappingLocalData?.previousIncomeAccount?.accountId||n.accountMappingLocalData?.selectedBillPayAccountId!==n.accountMappingLocalData?.previousBillPayAccount?.accountId||n.accountMappingLocalData?.selectedReimbursementsAccountId!==n.accountMappingLocalData?.previousReimbursementsAccount?.accountId||Z(n.accountMappingLocalData?.selectedPrepaidExpensesAccountIds,n.accountMappingLocalData?.previousPrepaidExpensesAccount)||Z(n.accountMappingLocalData?.selectedFixedAssetsAccountIds,n.accountMappingLocalData?.previousFixedAssetsAccount)||Z(n.accountMappingLocalData?.selectedAccruedExpensesAccountIds,n.accountMappingLocalData?.previousAccruedExpensesAccount)||Z(n.accountMappingLocalData?.selectedBankAccounts1099FilingAccountIds,n.accountMappingLocalData?.previousBankAccounts1099FilingAccount)||xn(n.accountMappingLocalData?.selectedExpenseAccounts1099FilingAccountIds,n.accountMappingLocalData?.previousExpenseAccounts1099FilingAccount)),Xe=n.fetchState!=="Completed",Ye={onOkClick:()=>{v(!1),R?.(),b.reset()},onCancelClick:()=>{v(!1)}};return t.jsxs(ot,{ref:E,children:[t.jsx(cn,{title:c?m.settings.title.accounting:B.title,onBackClick:R,backgroundColor:O.colors.grey4,showBackButton:!c,showMenuIcon:c?$==="medium-compact"||$==="small":!1,onClickMenuIcon:k,source:"UncategorizedAccountsMappingPage"}),d===!0?t.jsx(sn,{titleComponent:t.jsx(ln,{children:m.confirmationPopup.discardTitle}),descriptionComponent:t.jsx(an,{children:m.confirmationPopup.discardDescription}),primaryButtonText:m.confirmationPopup.discard,secondaryButtonText:m.confirmationPopup.cancel,action:Ye,proceedButtonVariant:"danger"}):null,t.jsxs(it,{windowSize:$,children:[t.jsx(at,{windowSize:$,children:B.subTitle}),Xe===!1?t.jsx(dn,{...b,children:t.jsx("form",{id:Fe(De),onSubmit:Qe,children:t.jsxs(ct,{windowSize:$,children:[Te(S.loggedInUserRole??[])?t.jsx(tt,{sectionId:q,containerRef:E.current,accountMappingView:n}):null,wn(e,S.loggedInUserRoleMap)?t.jsx(kn,{sectionId:ee,containerRef:E.current,accountMappingView:n}):null,bn(e,S.loggedInUserRoleMap)?t.jsx(Wn,{sectionId:ne,containerRef:E.current,accountMappingView:n}):null,Te(S.loggedInUserRole??[])?t.jsx(fn,{sectionId:Ne,vendorAccountMappingSection:{accruedExpensesAccountHierarchy:n.accruedExpensesAccountHierarchy,accruedExpensesAccountList:n.accruedExpensesAccountList,accruedExpensesRecommendations:n.accruedExpensesRecommendation,fixedAssetsAccountHierarchy:n.fixedAssetsAccountHierarchy,fixedAssetsAccountList:n.fixedAssetsAccountList,fixedAssetsRecommendations:n.fixedAssetsRecommendation,prepaidExpensesAccountHierarchy:n.prepaidExpensesAccountHierarchy,prepaidExpensesAccountList:n.prepaidExpensesAccountList,prepaidExpensesRecommendations:n.prepaidExpensesRecommendation,selectedAccruedExpensesAccountIds:n.accountMappingLocalData?.selectedAccruedExpensesAccountIds??[],selectedFixedAssetsAccountIds:n.accountMappingLocalData?.selectedFixedAssetsAccountIds??[],selectedPrepaidExpensesAccountIds:n.accountMappingLocalData?.selectedPrepaidExpensesAccountIds??[]},isAccruedExpensesFeatureEnabled:l}):null,o&&yn(S.loggedInUserRoleMap)?t.jsx(rn,{sectionId:x,accountMappingView:n,containerRef:E.current,isSettingsPage:!0}):null]})})}):t.jsx(st,{children:t.jsx(un,{size:"ExtraLarge",start:!0})})]}),Me()===!0?t.jsx(pn,{formId:Fe(De),primaryBtn:{label:m.footer.save,style:{width:"82px"},isLoading:n.saveState.fetchState==="In-Progress",isDisabled:n.saveState.fetchState==="In-Progress"},cancelBtn:{label:m.footer.cancel,style:{width:"82px"},shouldResetOnCancel:!0,onClick:()=>{v(!0)}}}):null,c?null:t.jsx(mn,{isFooterRendered:Me(),meetingUrl:p})]})}const Fe=e=>`${e}_form`,_e=(e,n,o,l,p,c,M,z,R,k,O,$,S)=>{const{accountMappingLocalData:d,incomeRecommendation:v,expenseRecommendation:h,billPayRecommendation:E,reimbursementsRecommendation:F}=e,_=d?.selectedIncomeAccountId===v?.account?.accountId,V=d?.selectedExpenseAccountId===h?.account?.accountId,f=d?.selectedBillPayAccountId===E?.account?.accountId,se=d?.selectedReimbursementsAccountId===F?.account?.accountId,ae=d?.selectedIncomeAccountId!=null?e.incomeAccountList.find(i=>i.accountId===d.selectedIncomeAccountId):void 0,le=d?.selectedExpenseAccountId!=null?e.expenseAccountList.find(i=>i.accountId===d.selectedExpenseAccountId):void 0,de=d?.selectedBillPayAccountId!=null?e.billPayAccountList.find(i=>i.accountId===d.selectedBillPayAccountId):void 0,re=d?.selectedReimbursementsAccountId!=null?e.reimbursementsAccountList.find(i=>i.accountId===d.selectedReimbursementsAccountId):void 0,ue=d?.selectedPrepaidExpensesAccountIds!=null?e.prepaidExpensesAccountList.filter(i=>d.selectedPrepaidExpensesAccountIds.includes(i.accountId)):[],pe=d?.selectedFixedAssetsAccountIds!=null?e.fixedAssetsAccountList.filter(i=>d.selectedFixedAssetsAccountIds.includes(i.accountId)):[],me=d?.selectedAccruedExpensesAccountIds!=null?e.accruedExpensesAccountList.filter(i=>d.selectedAccruedExpensesAccountIds.includes(i.accountId)):[],ge=d?.selectedBankAccounts1099FilingAccountIds!=null?e.bankAccounts1099FilingAccountList.filter(i=>d.selectedBankAccounts1099FilingAccountIds.includes(i.accountId)):[],xe=d?.selectedExpenseAccounts1099FilingAccountIds!=null?d.selectedExpenseAccounts1099FilingAccountIds.map(i=>({accountId:i.accountId??m.strings.empty,tax1099Config:{expenseType1099:i.expenseType??m.strings.empty,type1099:i.type1099??m.strings.empty,boxType:i.boxType??m.strings.empty}})):[];return{[x]:{bankAccount:{selectedOptions:ge.map(i=>i.qboId).filter(i=>i!=null),allOptions:R},expenseCategory1099:xe.map(i=>({accountId:{selectedOption:e.expenseAccounts1099FilingAccountList.find(N=>N.accountId===i.accountId)?.qboId??m.strings.empty,allOptions:k},expenseType:{selectedOption:i?.tax1099Config?.expenseType1099??m.strings.empty,allOptions:O},type1099:{selectedOption:i?.tax1099Config?.type1099??m.strings.empty,allOptions:$},boxType:{selectedOption:i?.tax1099Config?.boxType??m.strings.empty,allOptions:Be(i?.tax1099Config?.type1099??m.strings.empty,S)}}))},[q]:{incomeAccount:{selectedOption:ae?.qboId,allOptions:n},isRecommendedIncomeAccountChecked:_,expenseAccount:{selectedOption:le?.qboId,allOptions:o},isRecommendedExpenseAccountChecked:V},[ee]:{billPayAccount:{selectedOption:de?.qboId,allOptions:l},isRecommendedBillPayAccountChecked:f},[ne]:{reimbursementsAccount:{selectedOption:re?.qboId,allOptions:p},isRecommendedReimbursementsAccountChecked:se},[Ne]:{prepaidExpensesAccount:{selectedOptions:ue.map(i=>i.qboId).filter(i=>i!=null),allOptions:c},fixedAssetsAccount:{selectedOptions:pe.map(i=>i.qboId).filter(i=>i!=null),allOptions:M},accruedExpensesAccount:{selectedOptions:me.map(i=>i.qboId).filter(i=>i!=null),allOptions:z}}}};export{ft as default};
|
|
244
|
+
`;function yt({currentTenant:e,accountMappingView:n,isFiling1099FeatureEnabled:o,isAccruedExpensesFeatureEnabled:l,meetingUrl:p,isSettings:c=!1,onAccountMappingChange:M,onSaveClick:z,onBackClick:R,onClickMenuIcon:k}){const O=ie(),$=ce(),S=Ke(),[d,v]=X.useState(!1),h=en(n.saveState.fetchState),E=X.useRef(null),{incomeRecommendation:F,expenseRecommendation:_,billPayRecommendation:V,reimbursementsRecommendation:y,prepaidExpensesRecommendation:se,fixedAssetsRecommendation:ae,accruedExpensesRecommendation:le}=n,de=F!=null?[F]:[],re=_!=null?[_]:[],ue=V!=null?[V]:[],pe=y!=null?[y]:[],me=se,ge=ae,xe=le,i=I(n.incomeAccountHierachy,de,"Accounts"),N=I(n.expenseAccountHierarchy,re,"Accounts"),he=I(n.billPayAccountHierarchy,ue,"Accounts"),be=I(n.reimbursementsAccountHierarchy,pe,"Accounts"),Se=I(n.prepaidExpensesAccountHierarchy,me,"Accounts"),Ie=I(n.fixedAssetsAccountHierarchy,ge,"Accounts"),Re=I(n.accruedExpensesAccountHierarchy,xe,"Accounts"),ve=I(n.bankAccounts1099FilingAccountHierarchy,[],"Accounts"),Ce=I(n.expenseAccounts1099FilingAccountHierarchy,[],"Categories"),Pe=U(n.expenseTypeList,B.filing1099Section.allExpenseTypes),Le=U(n.expense1099TypeList,B.filing1099Section.all1099Types),Ge=U(n.boxTypesList.int,B.filing1099Section.allBoxes),Ue=U(n.boxTypesList.misc,B.filing1099Section.allBoxes),Je=U(n.boxTypesList.nec,B.filing1099Section.allBoxes),fe={int:Ge,misc:Ue,nec:Je},f=nn({mode:"all",defaultValues:_e(n,i,N,he,be,Se,Ie,Re,ve,Ce,Pe,Le,fe),resetOptions:{keepDirtyValues:!0},values:_e(n,i,N,he,be,Se,Ie,Re,ve,Ce,Pe,Le,fe)}),Qe=f.handleSubmit(b=>{const A=b[x].bankAccount.selectedOptions.length,g=b[x].expenseCategory1099.length,w=A===0&&g===1&&tn(b[x].expenseCategory1099[0]),j=b[x].expenseCategory1099,G=[];j.forEach((Q,T)=>{if(!w){const ze=Q.accountId?.selectedOption,ke=Q.expenseType?.selectedOption,Oe=Q.type1099?.selectedOption,Ee=Q.boxType?.selectedOption;(ze==null||ze==="")&&(f.setError(`${x}.expenseCategory1099.${T}.accountId`,{type:"manual",message:"Account ID is required."}),G.push(`${T}.accountId`)),(ke==null||ke==="")&&(f.setError(`${x}.expenseCategory1099.${T}.expenseType`,{type:"manual",message:"Expense Type is required."}),G.push(`${T}.expenseType`)),(Oe==null||Oe==="")&&(f.setError(`${x}.expenseCategory1099.${T}.type1099`,{type:"manual",message:"Type 1099 is required."}),G.push(`${T}.type1099`)),(Ee==null||Ee==="")&&(f.setError(`${x}.expenseCategory1099.${T}.boxType`,{type:"manual",message:"Box Type is required."}),G.push(`${T}.boxType`))}}),G.length===0&&(A>0&&g>1&&je(b[x].expenseCategory1099[0])||A>0&&g===1&&je(b[x].expenseCategory1099[0])||w)&&z(b)}),Ze=async(b,A)=>{if(b.includes("isRecommendedIncomeAccountChecked")){const g=A[q].isRecommendedIncomeAccountChecked===!0?n.incomeRecommendation?.account?.qboId??m.strings.empty:n.accountMappingLocalData?.previousIncomeAccount?.qboId;f.setValue(`${q}.incomeAccount`,{selectedOption:g,allOptions:i},{shouldValidate:!0})}if(b.includes("isRecommendedExpenseAccountChecked")){const g=A[q].isRecommendedExpenseAccountChecked===!0?n.expenseRecommendation?.account?.qboId??m.strings.empty:n.accountMappingLocalData?.previousExpenseAccount?.qboId;f.setValue(`${q}.expenseAccount`,{selectedOption:g,allOptions:N},{shouldValidate:!0})}if(b.includes("isRecommendedBillPayAccountChecked")){const g=A[ee].isRecommendedBillPayAccountChecked===!0?n.billPayRecommendation?.account?.qboId??m.strings.empty:n.accountMappingLocalData?.previousBillPayAccount?.qboId;f.setValue(`${ee}.billPayAccount`,{selectedOption:g,allOptions:he},{shouldValidate:!0})}if(b.includes("isRecommendedReimbursementsAccountChecked")){const g=A[ne].isRecommendedReimbursementsAccountChecked===!0?n.reimbursementsRecommendation?.account?.qboId??m.strings.empty:n.accountMappingLocalData?.previousReimbursementsAccount?.qboId;f.setValue(`${ne}.reimbursementsAccount`,{selectedOption:g,allOptions:be},{shouldValidate:!0})}if(b.includes("filing1099Section.expenseCategory1099")){const g=b.split(".").find(w=>!isNaN(Number(w)));if(g!==void 0){const w=parseInt(g,10),j=A[x].expenseCategory1099[w];j.accountId?.selectedOption!=null&&f.clearErrors(`${x}.expenseCategory1099.${w}.accountId`),j.expenseType?.selectedOption!=null&&f.clearErrors(`${x}.expenseCategory1099.${w}.expenseType`),j.type1099?.selectedOption!=null&&f.clearErrors(`${x}.expenseCategory1099.${w}.type1099`),j.boxType?.selectedOption!=null&&f.clearErrors(`${x}.expenseCategory1099.${w}.boxType`)}}if(b.includes("type1099")){const g=b?.split(".")?.find(w=>!isNaN(Number(w)));if(g!=null){const w=parseInt(g,10),j=A[x].expenseCategory1099[w].type1099?.selectedOption;f.setValue(`${x}.expenseCategory1099.${w}.boxType`,{selectedOption:m.strings.empty,allOptions:Be(j??m.strings.empty,fe)},{shouldValidate:!0})}}M(A)};X.useEffect(()=>{h==="In-Progress"&&n.saveState.fetchState==="Completed"&&R?.()},[h,n.saveState.fetchState,R]),X.useEffect(()=>{const b=f.watch((A,{name:g})=>{g!=null&&A!=null&&on(()=>Ze(g,A))});return()=>{b.unsubscribe()}});const Me=()=>n.fetchState==="Completed"&&(n.accountMappingLocalData?.selectedExpenseAccountId!==n.accountMappingLocalData?.previousExpenseAccount?.accountId||n.accountMappingLocalData?.selectedIncomeAccountId!==n.accountMappingLocalData?.previousIncomeAccount?.accountId||n.accountMappingLocalData?.selectedBillPayAccountId!==n.accountMappingLocalData?.previousBillPayAccount?.accountId||n.accountMappingLocalData?.selectedReimbursementsAccountId!==n.accountMappingLocalData?.previousReimbursementsAccount?.accountId||Z(n.accountMappingLocalData?.selectedPrepaidExpensesAccountIds,n.accountMappingLocalData?.previousPrepaidExpensesAccount)||Z(n.accountMappingLocalData?.selectedFixedAssetsAccountIds,n.accountMappingLocalData?.previousFixedAssetsAccount)||Z(n.accountMappingLocalData?.selectedAccruedExpensesAccountIds,n.accountMappingLocalData?.previousAccruedExpensesAccount)||Z(n.accountMappingLocalData?.selectedBankAccounts1099FilingAccountIds,n.accountMappingLocalData?.previousBankAccounts1099FilingAccount)||xn(n.accountMappingLocalData?.selectedExpenseAccounts1099FilingAccountIds,n.accountMappingLocalData?.previousExpenseAccounts1099FilingAccount)),Xe=n.fetchState!=="Completed",Ye={onOkClick:()=>{v(!1),R?.(),f.reset()},onCancelClick:()=>{v(!1)}};return t.jsxs(ot,{ref:E,children:[t.jsx(cn,{title:c?m.settings.title.accounting:B.title,onBackClick:R,backgroundColor:O.colors.grey4,showBackButton:!c,showMenuIcon:c?$==="medium-compact"||$==="small":!1,onClickMenuIcon:k,source:"UncategorizedAccountsMappingPage"}),d===!0?t.jsx(sn,{titleComponent:t.jsx(ln,{children:m.confirmationPopup.discardTitle}),descriptionComponent:t.jsx(an,{children:m.confirmationPopup.discardDescription}),primaryButtonText:m.confirmationPopup.discard,secondaryButtonText:m.confirmationPopup.cancel,action:Ye,proceedButtonVariant:"danger"}):null,t.jsxs(it,{windowSize:$,children:[t.jsx(at,{windowSize:$,children:B.subTitle}),Xe===!1?t.jsx(dn,{...f,children:t.jsx("form",{id:Fe(De),onSubmit:Qe,children:t.jsxs(ct,{windowSize:$,children:[Te(S.loggedInUserRole??[])?t.jsx(tt,{sectionId:q,containerRef:E.current,accountMappingView:n}):null,bn(e,S.loggedInUserRoleMap)?t.jsx(kn,{sectionId:ee,containerRef:E.current,accountMappingView:n}):null,fn(e,S.loggedInUserRoleMap)?t.jsx(Wn,{sectionId:ne,containerRef:E.current,accountMappingView:n}):null,Te(S.loggedInUserRole??[])?t.jsx(yn,{sectionId:Ne,vendorAccountMappingSection:{accruedExpensesAccountHierarchy:n.accruedExpensesAccountHierarchy,accruedExpensesAccountList:n.accruedExpensesAccountList,accruedExpensesRecommendations:n.accruedExpensesRecommendation,fixedAssetsAccountHierarchy:n.fixedAssetsAccountHierarchy,fixedAssetsAccountList:n.fixedAssetsAccountList,fixedAssetsRecommendations:n.fixedAssetsRecommendation,prepaidExpensesAccountHierarchy:n.prepaidExpensesAccountHierarchy,prepaidExpensesAccountList:n.prepaidExpensesAccountList,prepaidExpensesRecommendations:n.prepaidExpensesRecommendation,selectedAccruedExpensesAccountIds:n.accountMappingLocalData?.selectedAccruedExpensesAccountIds??[],selectedFixedAssetsAccountIds:n.accountMappingLocalData?.selectedFixedAssetsAccountIds??[],selectedPrepaidExpensesAccountIds:n.accountMappingLocalData?.selectedPrepaidExpensesAccountIds??[]},isAccruedExpensesFeatureEnabled:l}):null,o&&wn(S.loggedInUserRoleMap)?t.jsx(rn,{sectionId:x,accountMappingView:n,containerRef:E.current,isSettingsPage:!0}):null]})})}):t.jsx(st,{children:t.jsx(un,{size:"ExtraLarge",start:!0})})]}),Me()===!0?t.jsx(pn,{formId:Fe(De),primaryBtn:{label:m.footer.save,style:{width:"82px"},isLoading:n.saveState.fetchState==="In-Progress",isDisabled:n.saveState.fetchState==="In-Progress"},cancelBtn:{label:m.footer.cancel,style:{width:"82px"},shouldResetOnCancel:!0,onClick:()=>{v(!0)}}}):null,c?null:t.jsx(mn,{isFooterRendered:Me(),meetingUrl:p})]})}const Fe=e=>`${e}_form`,_e=(e,n,o,l,p,c,M,z,R,k,O,$,S)=>{const{accountMappingLocalData:d,incomeRecommendation:v,expenseRecommendation:h,billPayRecommendation:E,reimbursementsRecommendation:F}=e,_=d?.selectedIncomeAccountId===v?.account?.accountId,V=d?.selectedExpenseAccountId===h?.account?.accountId,y=d?.selectedBillPayAccountId===E?.account?.accountId,se=d?.selectedReimbursementsAccountId===F?.account?.accountId,ae=d?.selectedIncomeAccountId!=null?e.incomeAccountList.find(i=>i.accountId===d.selectedIncomeAccountId):void 0,le=d?.selectedExpenseAccountId!=null?e.expenseAccountList.find(i=>i.accountId===d.selectedExpenseAccountId):void 0,de=d?.selectedBillPayAccountId!=null?e.billPayAccountList.find(i=>i.accountId===d.selectedBillPayAccountId):void 0,re=d?.selectedReimbursementsAccountId!=null?e.reimbursementsAccountList.find(i=>i.accountId===d.selectedReimbursementsAccountId):void 0,ue=d?.selectedPrepaidExpensesAccountIds!=null?e.prepaidExpensesAccountList.filter(i=>d.selectedPrepaidExpensesAccountIds.includes(i.accountId)):[],pe=d?.selectedFixedAssetsAccountIds!=null?e.fixedAssetsAccountList.filter(i=>d.selectedFixedAssetsAccountIds.includes(i.accountId)):[],me=d?.selectedAccruedExpensesAccountIds!=null?e.accruedExpensesAccountList.filter(i=>d.selectedAccruedExpensesAccountIds.includes(i.accountId)):[],ge=d?.selectedBankAccounts1099FilingAccountIds!=null?e.bankAccounts1099FilingAccountList.filter(i=>d.selectedBankAccounts1099FilingAccountIds.includes(i.accountId)):[],xe=d?.selectedExpenseAccounts1099FilingAccountIds!=null?d.selectedExpenseAccounts1099FilingAccountIds.map(i=>({accountId:i.accountId??m.strings.empty,tax1099Config:{expenseType1099:i.expenseType??m.strings.empty,type1099:i.type1099??m.strings.empty,boxType:i.boxType??m.strings.empty}})):[];return{[x]:{bankAccount:{selectedOptions:ge.map(i=>i.qboId).filter(i=>i!=null),allOptions:R},expenseCategory1099:xe.map(i=>({accountId:{selectedOption:e.expenseAccounts1099FilingAccountList.find(N=>N.accountId===i.accountId)?.qboId??m.strings.empty,allOptions:k},expenseType:{selectedOption:i?.tax1099Config?.expenseType1099??m.strings.empty,allOptions:O},type1099:{selectedOption:i?.tax1099Config?.type1099??m.strings.empty,allOptions:$},boxType:{selectedOption:i?.tax1099Config?.boxType??m.strings.empty,allOptions:Be(i?.tax1099Config?.type1099??m.strings.empty,S)}}))},[q]:{incomeAccount:{selectedOption:ae?.qboId,allOptions:n},isRecommendedIncomeAccountChecked:_,expenseAccount:{selectedOption:le?.qboId,allOptions:o},isRecommendedExpenseAccountChecked:V},[ee]:{billPayAccount:{selectedOption:de?.qboId,allOptions:l},isRecommendedBillPayAccountChecked:y},[ne]:{reimbursementsAccount:{selectedOption:re?.qboId,allOptions:p},isRecommendedReimbursementsAccountChecked:se},[Ne]:{prepaidExpensesAccount:{selectedOptions:ue.map(i=>i.qboId).filter(i=>i!=null),allOptions:c},fixedAssetsAccount:{selectedOptions:pe.map(i=>i.qboId).filter(i=>i!=null),allOptions:M},accruedExpensesAccount:{selectedOptions:me.map(i=>i.qboId).filter(i=>i!=null),allOptions:z}}}};export{yt as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aO as b,V as t,hV as W,hW as _,q as T,F as O,cn as E,ae as C,co as U,cp as N,a9 as R,ac as H,cL as M,cH as D,y as g,cI as G,p as z,ao as J,k as Q,n as K,o as i,al as X,c as F,aq as Y,b9 as Z}from"./index-
|
|
1
|
+
import{aO as b,V as t,hV as W,hW as _,q as T,F as O,cn as E,ae as C,co as U,cp as N,a9 as R,ac as H,cL as M,cH as D,y as g,cI as G,p as z,ao as J,k as Q,n as K,o as i,al as X,c as F,aq as Y,b9 as Z}from"./index-CLqQIFvx.js";import{a as l}from"./sentry-Cue4MgLi.js";import{n as p}from"./mui-Co4rhSdf.js";import{bL as ee,bh as te}from"./zeni-epic-state-DcWK4mxP.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:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="93e287f1-04f0-4030-9aae-a013e3f166f2",e._sentryDebugIdIdentifier="sentry-dbid-93e287f1-04f0-4030-9aae-a013e3f166f2")}catch{}})();const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(F[3],F[2]),width:new g(300,420,420)},ie=p.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a9 as k,fu as b,aO as R,q as U,F as q,cC as A,V as i,ac as W,aN as H,fv as G,o as a,p as J,cM as K,aP as Q,y as x,L as X,a as Y,b9 as Z,b8 as ee,c}from"./index-
|
|
1
|
+
import{a9 as k,fu as b,aO as R,q as U,F as q,cC as A,V as i,ac as W,aN as H,fv as G,o as a,p as J,cM as K,aP as Q,y as x,L as X,a as Y,b9 as Z,b8 as ee,c}from"./index-CLqQIFvx.js";import{a as f}from"./sentry-Cue4MgLi.js";import{n as l}from"./mui-Co4rhSdf.js";import{EN as te}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:{},m=new e.Error().stack;m&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[m]="6d551f7f-4dae-4667-800d-f98439d185b1",e._sentryDebugIdIdentifier="sentry-dbid-6d551f7f-4dae-4667-800d-f98439d185b1")}catch{}})();const F={marginRight:new x(c[3],c[8]),marginLeft:new x(c[3],c[8]),height:new x(c[5],62)},u="additionalDocumentsForm",s="ssnCard";function pe(e){const{filesEndPoint:m,authParams:$,companyOfficer:t,updateStatus:p,onClose:S,onEditFileName:D,onDeleteFile:v,updateFilesEntity:E,onSendForVerificationClick:P,onCompanyOfficerUpdated:C}=e,n=k({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[N,w]=f.useState(!1),[z,T]=f.useState(!1),I=R(p.fetchState),j=t?.deleteFileStatusById??{},L=t?.updateFileStatusById??{},O=Object.values(j??{}).filter(o=>o!=null),B=te(O);f.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}})},[I,p,n,t?.additionalFiles]);const r=U(),y=q.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=y,V=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,_=n.handleSubmit(()=>{B.fetchState!=="In-Progress"&&P?.(t?.officerType??"Officer_1")}),M=async(o,h)=>{const d=h[u].front;o.includes("front")&&d?.fileId!=null?(C?.(t?.officerType??"Officer_1",[d?.fileId]),w(!0)):w(!1)};return f.useEffect(()=>{const o=n.watch((h,{name:d})=>{d!=null&&h!=null&&A(()=>M(d,h))});return()=>{o.unsubscribe()}}),i.jsx(W,{...n,children:i.jsxs("form",{id:u,onSubmit:_,children:[i.jsxs(re,{size:r,children:[i.jsx(oe,{size:r,children:i.jsx(ne,{size:r,onClick:S,"data-testid":H("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(le,{children:i.jsx(se,{children:V})}),i.jsx(G,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:K,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${J.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:b(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:j,updateFileStatusById:L,filesEndPoint:m,authParams:$,hasError:z,onEditFileName:D,onDeleteFile:v,updateFilesEntity:E,onFileSizeError:o=>T(o),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),N?i.jsx(Q,{formId:u,primaryBtn:{label:y.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:p.fetchState==="In-Progress"},cancelBtn:{label:y.cancel,style:{width:r==="small"?"auto":"181px"},onClick:S},style:{position:"absolute",width:"100%"}}):null]})})}const ie=l(Y)`
|
|
2
2
|
margin-top: 19px;
|
|
3
3
|
color: ${e=>e.theme.colors.primary};
|
|
4
4
|
margin-bottom: ${a.sp2};
|
package/dist/assets/{Vendor2FAPopup-CayW9AB7-DH4zWHWM.js → Vendor2FAPopup-BJI6SeE0-CTu9U0EV.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{aO as i,F as w,V as r,hV as x,hW as E}from"./index-
|
|
1
|
+
import{aO as i,F as w,V as r,hV as x,hW as E}from"./index-CLqQIFvx.js";import{a as s}from"./sentry-Cue4MgLi.js";import"./liveblocks-DZksneMc.js";import"./core-CYa2vsSD.js";import"./recharts-C4PW-81v.js";import"./zeni-epic-state-DcWK4mxP.js";import"./mui-Co4rhSdf.js";import"./lottie-EtzJiaFi.js";import"./analytics-CxT-6Gc4.js";import"./lexical-DzVC4tTe.js";import"./utils-CxOjlxtI.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="41b264ae-0a15-4bf9-bacb-4b7b18a72034",t._sentryDebugIdIdentifier="sentry-dbid-41b264ae-0a15-4bf9-bacb-4b7b18a72034")}catch{}})();const H=({vendorViewDetails:t,isExpressPayPage:a,onSaveVendor:c,onGetOtp:S,onResendOtp:h,onVerifyOtp:b,onVerifyOtpSuccess:p})=>{const{loggedInUserVerification:e,editVendorState:g,newVendorState:m}=t,f=Object.assign({},g??m),[V,o]=s.useState(!1),[y,n]=s.useState(e.initiateVerification===!0),u=i(f?.saveStatus?.fetchState),C=i(e.userVerificationStatus.fetchState),d=i(e.otpVerificationStatus?.fetchState),l=i(e.sendOtpStatus.fetchState),O=w.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return s.useEffect(()=>{u==="In-Progress"&&f?.saveStatus?.fetchState==="Error"&&e.initiateVerification===!0&&n(!0)},[f,e,u]),s.useEffect(()=>{C==="In-Progress"&&e.userVerificationStatus.fetchState==="Completed"&&(o(!1),c())},[e.userVerificationStatus]),s.useEffect(()=>{d==="In-Progress"&&e.otpVerificationStatus?.fetchState==="Completed"&&p?.(e.userId??"",e.phone??"",e.otpChallenge??"")},[d,e,p]),s.useEffect(()=>{l==="In-Progress"&&e.sendOtpStatus.fetchState==="Completed"&&(o(!0),n(!1))},[l,e.sendOtpStatus.fetchState]),r.jsx(r.Fragment,{children:V===!0?r.jsx(x,{showHelperText:!a,verifyOtpFetchState:e.otpVerificationStatus.fetchState,phoneNumber:e.phone??"",otpChallenge:e.otpChallenge,action:{onVerifyClick:b,onCancelClick:()=>o(!1),onResendOtp:h,onEditButtonClick:()=>{n(!0),o(!1)}}}):y===!0?r.jsx(E,{showHelperText:!a,phoneNumber:e.phone??"",sendOtpFetchState:e.sendOtpStatus.fetchState,description:a?O:void 0,action:{onCancelClick:()=>n(!1),onGetCodeClick:I=>S?.(I)}}):null})};export{H as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{V as f}from"./index-
|
|
1
|
+
import{V as f}from"./index-CLqQIFvx.js";import{a as m}from"./sentry-Cue4MgLi.js";import{f as u}from"./ACHDetailsPage-BLKhKkZC-CoU9qIfj.js";import"./liveblocks-DZksneMc.js";import"./core-CYa2vsSD.js";import"./recharts-C4PW-81v.js";import"./zeni-epic-state-DcWK4mxP.js";import"./mui-Co4rhSdf.js";import"./lottie-EtzJiaFi.js";import"./analytics-CxT-6Gc4.js";import"./lexical-DzVC4tTe.js";import"./utils-CxOjlxtI.js";import"./BankAccountWarningSection-D7BVcqIu-RUBf41j-.js";import"./MagicLinkTitleSection-DaThYY60-DuPzkS6C.js";import"./BankAccountSection-CwOhGEgT-CV3SB5KM.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="988ca467-0b64-43e1-9a02-4d9f0b8421d5",t._sentryDebugIdIdentifier="sentry-dbid-988ca467-0b64-43e1-9a02-4d9f0b8421d5")}catch{}})();const I=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:d})=>{const{bankAccountCreationState:o,bankNameByRouting:s,bankAccountToCreate:c,fetchBankNameByRoutingStatus:p}=t;return m.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),f.jsx(u,{bankAccountToCreate:c,bankAccountCreationState:o,bankNameByRouting:s,fetchBankNameByRoutingStatus:p,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:d})};export{I as default};
|