@zeniai/web-cockpit-ui 1.15.0-dev → 1.15.1-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-DYlcHRQe-lxtPXqrl.js → ACHDetailsPage-CUzXxtOD-D58ed7uT.js} +1 -1
- package/dist/assets/{AIPerformancePage-DpXZ7sco-B8d5E6QI.js → AIPerformancePage-O2oT7VD7-B6QMOBUy.js} +13 -13
- package/dist/assets/{AccountInfoPage-BEOrrVQS-L5aJOIaA.js → AccountInfoPage-B6jxAqA6-BUFslhTv.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-BJkLJK6O-CmMcM25y.js → AccountInfoPageContent-Dm4_RVtp-7_DDYrUM.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-BeLLlH_Y-DAQUptbF.js → AccountLockedInfoModal-4gi6evfx-WlzE3tch.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-D2Hx_l3u-BYxEEZJn.js → AccountReconDetailsDrawerPage-Cm4KEIyT-DvN83q1j.js} +3 -3
- package/dist/assets/{AccountRow-B0gU16A_-Ks_Pft1z.js → AccountRow-B16HgkVQ-dG_dWaCL.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-CuLhbb_W-BwlxSNV8.js → AccountsPromoCardStack-D5OgsEYb-3g8gXWBP.js} +1 -1
- package/dist/assets/AddAddressForCardDrawer-Cw6wTXEm-Ne9lwqPK.js +6 -0
- package/dist/assets/{AddToWalletPage-DNPLnpTq-CxRyEwld.js → AddToWalletPage-vXWBje7k-B9_XOYgG.js} +4 -4
- package/dist/assets/{AgingReportsPage-Bff4u7T1-DOBvEqCj.js → AgingReportsPage-CmzapJ6B-B4fRPdaL.js} +3 -3
- package/dist/assets/{AllUserItems-D8zdAu_1-C-zZqgmo.js → AllUserItems-CW-BAUK2-B9Q1lPJb.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-2NsAj3gO-DfogwLMb.js → ApAgingDetailPage-DBCM7hZZ-ChVResPi.js} +5 -5
- package/dist/assets/{AppBasePage-Uyk9GOud-D7f8hWuo.js → AppBasePage-B3uZsUDM-CkKVhlEN.js} +1 -1
- package/dist/assets/{AppDrawerContent-RX7rx40V-DlBxQF_L.js → AppDrawerContent-D4EVpqHP-BynJPN1Q.js} +6 -6
- package/dist/assets/{ApprovalRulesSettingsPage-BKxa78xI-BrpnOxmu.js → ApprovalRulesSettingsPage-DTLJUdYp-C8DjXSqL.js} +1 -1
- package/dist/assets/{ArAgingChart-BxTkvrC9-BgC5YBPR.js → ArAgingChart-BJ8nRdT6-PCsSRezt.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-CnUgFF1M-Bb_-bJZp.js → ArAgingDetailPage-hd2ALORD-DPaGaG4h.js} +5 -5
- package/dist/assets/{AttachmentView-zHGhIkWo-C64qXCAp.js → AttachmentView-2FZ6X1gL-Cy8tYEtq.js} +1 -1
- package/dist/assets/{BankAccountSection-HRSyjIxV-CV6PAaFg.js → BankAccountSection-BbX4r1dP-BVn949x0.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-CNusQFRM-4Y94-VD5.js → BankAccountWarningSection-CqlrCLSb-4sdBnqih.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-CzumYsEx-f1xJXYSm.js → BankConnectionsSettingsPage-DLeiSryp-DwwrFPU_.js} +1 -1
- package/dist/assets/{BillDetailPage-CgCMZFw1-pAtGUG0W.js → BillDetailPage-l0WIOXCJ-DfE-sU4P.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-DnhdBw3a-BtwlYdoz.js → BillPayApprovalRuleDetailPage-BOMCy57E-CAzd0WOM.js} +4 -4
- package/dist/assets/{BillPayApprovalRulesPage-S80WUW0f-Cw75zLq9.js → BillPayApprovalRulesPage-D_iQkfQr-Dlin1Cm9.js} +1 -1
- package/dist/assets/{BillPayPromoPage-DOEbuNgH-BglT_61W.js → BillPayPromoPage-Dsl0YvUE-DF_BWBKa.js} +9 -9
- package/dist/assets/{BillPaySetUpPage-Tb-gBoFT-Po5Zl1ZL.js → BillPaySetUpPage-MLf77bPI-BQQY77ue.js} +3 -3
- package/dist/assets/{BillingSettingsPage-ZupDcNHz-B6O6l_7B.js → BillingSettingsPage-n1PkJEDe-CIU_V4L-.js} +8 -8
- package/dist/assets/{BillsBulkReviewDrawerPage-CJrUtHKz-B78eSann.js → BillsBulkReviewDrawerPage-C_4lLm2g-CagoY_n4.js} +1 -1
- package/dist/assets/{BoxItem-42doFhpg-BDC_fDqi.js → BoxItem-CZdVWyVJ-Ck7WXLSC.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-De9zCAm7-geq4Sk8A.js → BusinessVerificationPage-DKTSnhnQ-CiETQcAD.js} +1 -1
- package/dist/assets/{CardNumberSubText-C6jdBRC2-YbNbzp0H.js → CardNumberSubText-BhtdU0IQ-BBiDBBhs.js} +1 -1
- package/dist/assets/{CashbackDetailPage-B2drd1Nz-BAvHe1xx.js → CashbackDetailPage-BL-JN6N2-DM7Co55u.js} +8 -8
- package/dist/assets/{ChargeCardDetailPage-bk-pzoDR-DTGxBulo.js → ChargeCardDetailPage-DeUmuiMY-Dftn0md6.js} +1 -1
- package/dist/assets/{ChargeCardListPage-DlI8ZfB0-CMLNFzih.js → ChargeCardListPage-B2OEzCZI-DRTpob3Y.js} +1 -1
- package/dist/assets/{ChargeCardListTable-CooASbVZ-CSvbg9sF.js → ChargeCardListTable-BwYAxG4d-BDrITjcg.js} +1 -1
- package/dist/assets/ChargeCardPaymentHistoryPage-COWdn2l7-D7wLS9yc.js +565 -0
- package/dist/assets/{ChargeCardPromoPage-DBSmL-ms-DBZo83zK.js → ChargeCardPromoPage-TkHihj_n-DsNKfZLq.js} +10 -10
- package/dist/assets/{ChargeCardSetupPage-cou3N3Iv-BSBfzNx6.js → ChargeCardSetupPage-CkonrAnT-D4zZH8iB.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-Z05M_t51-O2I36ZAe.js → ChargeCardStatementsPage-DVgAcNNC-DlapdY_k.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-B-bTb9ct-CleglNSV.js → CheckDepositDrawerPage-DV7strdp-DIjE0Er3.js} +1 -1
- package/dist/assets/{CollapsableReportTable-DLOi0feI-SZFbl9NV.js → CollapsableReportTable-BS7TgK8B-Ck1A0h-X.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-DVpqCb72-DOikAEBj.js → CompanyOfficerDetailsSection-BotE5oj4-BAJaZgbn.js} +1 -1
- package/dist/assets/{CompanyPassportCard-B8PLT6MG-BUc5HZU7.js → CompanyPassportCard-Bx4KhQfs-Cq5ggOmg.js} +2 -2
- package/dist/assets/{CompanyPassportPage-CQZPgrNF-KJN_fT4M.js → CompanyPassportPage-i1SEs7VJ-Djluu3GS.js} +1 -1
- package/dist/assets/{CompleteProfile-fNSWTbef-pSYliRNx.js → CompleteProfile-DWOv7odD-C_i36-ce.js} +1 -1
- package/dist/assets/{ConfettiBurst-B6ej_xoO-BzptsIBR.js → ConfettiBurst-D52CuNQL-H3h7bAw9.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-BO4_TNWg-EUNhPwxD.js → CreateOrEditVendorPage-9LgI-Wd0-BZGgNM2M.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-CsHjU-sm-BX_z_XTl.js → CreditCardPaymentDrawerPage-wHK6Ds5I-BlFWnrY1.js} +1 -1
- package/dist/assets/{CurrencySelectField-DsZTOj_T-DmNXNRTP.js → CurrencySelectField-CbGyQ8Yq-BBTidwoM.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-Cvdehiay-Ci2xJTUc.js → CustomerOnboardingActivationPage-LNgj0BYj-DDGYdiCm.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-DLdgYP_E-YLcbGvSV.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DrfNm65u-Bi4SumgH.js → CustomerOnboardingDetailPageSkeleton-BF484X8E-CaE39Z82.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-CtIWYEfR-CA6QH1RJ.js → CustomerOnboardingNoStepsPage-Dri4v3Rf-SMHqZamP.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-Db6sGSGl-C--ab3S1.js → CustomerOnboardingPage-BkdhcwN8-D99zerXB.js} +1 -1
- package/dist/assets/CustomerOnboardingProductSuitePage-CDJfucTI-BVV4jNqa.js +202 -0
- package/dist/assets/{Dashboard-cbXIPzMy-DLCpLMr4.js → Dashboard-w2AGQi2P-DrVf9Yya.js} +55 -55
- package/dist/assets/{DashboardReportPage-Pc0G2Tok-BRmpg3ok.js → DashboardReportPage-NzF6nutN-DSZitKtw.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-CSzhyK4K-DW7vdml5.js → DashboardSidebarBackgroundAnimation-vcuSFRHQ-CXXDOfjW.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-XvCjkHDS-DQ2tNEjM.js → DepositAccTransactionItem-SRWW7dWo-Bq8glEON.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-DqPIPHi9-DnAhb4M6.js → DepositAccTransactionListPage-BSq-FxKT-D5HpKscp.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-DjUvG0tD-BhbPV8HA.js → DomesticWireDetailsPage-Daor0MDI-BzIX5Sll.js} +1 -1
- package/dist/assets/{DownloadOverlay-C7r6PAam-BvXPoC9j.js → DownloadOverlay-DkSROLX2-BV0uInlq.js} +1 -1
- package/dist/assets/{DrawerPage-BEV7nWrL-CqfdeYhP.js → DrawerPage-BnMCcEWw-BXOkrI5R.js} +9 -9
- package/dist/assets/{EditPeoplePage-BnQqStEx-Cbm0H-hi.js → EditPeoplePage-Ld339aav-BKidG2ge.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-DLjRDR48-DAmxctvz.js → EditReimbursementDetailPage-BaMG1YJG-BZAQQMK3.js} +1 -1
- package/dist/assets/EntityDetailPage-DRZiqaCb-B_QVK0o1.js +18 -0
- package/dist/assets/{EntitySummarySection-C361-4tS-UJPRLBoI.js → EntitySummarySection-Bs0NywbK-BzG0U_qN.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-BLvAzAmO-JyE5jYzJ.js → ExpenseAutomationOverviewPage-B_-wUXCx-Q7Nf_H07.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-CE_qMXSG-DlDCSSSs.js → ExpenseAutomationPage-CG1Hpwz8-CW8z-7iO.js} +1 -1
- package/dist/assets/{ExpressPayPage-CDowSjHC-DolGHHJS.js → ExpressPayPage-CEf0O3S_-C7xNk40H.js} +7 -7
- package/dist/assets/{FeaturePreviewPage-DsJEfObK-B9lh1mEQ.js → FeaturePreviewPage-7G9DSgAA-dIRq9Ned.js} +1 -1
- package/dist/assets/{FollowStepsSection-h449vQkQ-BXixJ0VK.js → FollowStepsSection-CoXcJ6WL-BDHFkDzZ.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-DGOKRsKI-CAnqX1u0.js → GlobalReviewListPage-BSfJybtY-D-EekdXE.js} +1 -1
- package/dist/assets/{InformationCardStack-xhdujEcL-COTShhF9.js → InformationCardStack-DnoAMdjH-BkgD0Khh.js} +2 -2
- package/dist/assets/{InsightsCardStack-zRynyTFj-CqnhwImM.js → InsightsCardStack-BLtip0dt-CdpS0MPm.js} +2 -2
- package/dist/assets/{InsightsSection-C4fMfxQ4-BGGNiljS.js → InsightsSection-26UEfz7s-DvD8Ccwt.js} +2 -2
- package/dist/assets/{IntegrationsSettingsPage-fqQsGUmw-CRKZpnAv.js → IntegrationsSettingsPage-QVOqOc9I-BQQ4M8i8.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-CIMxKADX-CYl4ll0M.js → InternationalWireSwiftDetailsPage-B7UVdQjs-Dxjq2-if.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-DpmSzzre-gDdhOqko.js → InternationalWireVerificationPage-Cvita0lc-B390_mEJ.js} +2 -2
- package/dist/assets/{InviteFormPage-C7fxnyMS-ChsV2A2J.js → InviteFormPage-ptg2-Do2-Dsr3cxPP.js} +1 -1
- package/dist/assets/{InvitePageListView-ktOXziSw-ClMd1Rgx.js → InvitePageListView-CoCiU_RJ-DlHeTkam.js} +20 -20
- package/dist/assets/{InvitePeoplePage-C_4adNch-DPbyAjsn.js → InvitePeoplePage-CIiwEl_L-BEUpkDfI.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-W4vdQGvo-DAuF5vcp.js → InvoiceUploadSection-by1gHnS2-ByjzglAY.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-CdV757XH-B0b8pyku.js → IssueChargeCardPage-CawHdTL3-Mn0Xu6jy.js} +1 -1
- package/dist/assets/{LabeledAddressValue-Ce_wDml5-CoYtFscl.js → LabeledAddressValue-BVpOlAt0-BM8gI0N5.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-BrYbXck--8qVwdGMU.js → LabeledAddressValueField-BW6ytr8f-DmYyMrEv.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-f2c-AeS4-DagKbuzo.js → LabeledControlledCheckBoxField-DEaBzW9R-59_aD_t9.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-BLOMdq_H-CLNHA2Sp.js → LabeledCountryMultiSelectField-DOEcKGdZ-O8xmxgl_.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-BWuogpe6-DITM3Hn0.js → LabeledCreatableSingleSelectField-Bsowq6Ia-CpyK3LNE.js} +1 -1
- package/dist/assets/{LabeledDocumentField-Ch2zD7s7-Nw7bBUJi.js → LabeledDocumentField-DHqxzbx7-DKNafkiA.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-BA8tzPzQ-Big6_AMJ.js → LabeledDropDownFormattedTextField-C_2HymZs-DpANtqUG.js} +1 -1
- package/dist/assets/{LabeledMultiSelectField-CA9PUCf3-CGx9bMTu.js → LabeledMultiSelectField-wuzYNgjQ-D8K8tQ-i.js} +1 -1
- package/dist/assets/{LabeledText-D7eLbH80-Bs-kfAE-.js → LabeledText-DMjMKupg-DYP6gFxm.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CleX9Raw-CCmlbQ1T.js → LabeledUserSingleSelectWithSubtitlesField-D2PQRKp0-CAFuEck_.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-Cte6kRTw-CB2TIDv8.js → LabeledZeniRolesDropDownField-C2WL6H1u-BXDtctub.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-DicS5kKg-DOb356xm.js → LinkJETransactionPage-6wvu7KQx-BKOAennG.js} +1 -1
- package/dist/assets/{LockCardPage-DRYg_fxU-CFGUEJ0X.js → LockCardPage-DHjkslVx-BLTQi4Ro.js} +1 -1
- package/dist/assets/{LowBalancePopup-BJfagMN7-DFWlKz1e.js → LowBalancePopup-IPPewOnk-C3ft7dAK.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-BQvuNI4u-DgnKjMFk.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BEr-7K3J-BdD6RXkL.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DliPDETx-zEl4JPNd.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-BRWymdWH-suMYBps1.js → MagicLinkSuccessPage-0Pn_6wi4-BDYzvhnJ.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-D5ORaO0D-oMV_fYKL.js → MagicLinkTitleSection-zMEqv8xp-Dw1lipYQ.js} +1 -1
- package/dist/assets/MailingDetailsSection-BRCMsb6d-Bg6C6Qx3.js +21 -0
- package/dist/assets/{Menu-C9v-W9TY-DRVyGpH4.js → Menu-CjpiRi32-CBwxThCE.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-C4YJleyg-DKQ0iSMd.js → MyBankConnectionsSettingsPage-DsuI81Dg-BZvQVl9M.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-D-6TnbYs-g9LqO-rS.js → MyPendingActivationChargeCardListPage-BP2ZNfJQ-C1IGZ0Aj.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-BMNBcdq8-CzuZjUxB.js → MyProfileSettingsPage-Bx776Bw1-B3dkfEvc.js} +1 -1
- package/dist/assets/{NavBarWithPicker-Cv7tOmjd-BXBZWsng.js → NavBarWithPicker-B7KOipTP-BRApBTO0.js} +1 -1
- package/dist/assets/{NavigationArrow-DAs7ECFZ-rFu_aZmo.js → NavigationArrow-qaYGOFR3-BsTNc95E.js} +1 -1
- package/dist/assets/{NavigationDots-DISWi4Mq-BdTnuTup.js → NavigationDots-U7wL0ya4-Br1fZ1mY.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-DGFtrDg1-BDtdrE9G.js → NewGlobalMerchantPage-BMLg6RYp-BRiqVwVI.js} +1 -1
- package/dist/assets/{NoDataChart-gfqauMvY-CAbYCdyQ.js → NoDataChart-DoN6Mneo-tV8Dt3om.js} +1 -1
- package/dist/assets/{NoDataTable-C1_gqVi7-D4ANXF0d.js → NoDataTable-BMDDs83M-Dpk0AfuR.js} +1 -1
- package/dist/assets/{NotFoundPage-CdWhiWjz-DDjAX_Ng.js → NotFoundPage-ys6HcZUO-byf07x0N.js} +8 -8
- package/dist/assets/{NotificationSettingsPage-C4SZ6Qwg-DbitLXBD.js → NotificationSettingsPage-Cfrj3b7B-DQREI7pG.js} +1 -1
- package/dist/assets/{NotificationsListConfig-B-g9kb6x-CND-RON9.js → NotificationsListConfig-Cqcn0C6L-mVPCNJk6.js} +1 -1
- package/dist/assets/{NotificationsPage-jxpX3iRG-UGS5Y_9i.js → NotificationsPage-Bri7Dj80-Cv5FRQtl.js} +1 -1
- package/dist/assets/{OpExByVendorPage-B13tAq03-Dd8cq0hz.js → OpExByVendorPage-Dwk6JAu7-BDuhx0f7.js} +1 -1
- package/dist/assets/{OverlayContainerPage-Daz3A7cI-DlMlal7_.js → OverlayContainerPage-Daz3A7cI-CNivODsb.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-D3kcPKd0-sYhFB1EB.js → PandLWithForecastPage-D9muoIzS-BHKR537x.js} +2 -2
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-DjdhL9mT-4CseF2mz.js → PaymentAccountSetupBillingAddressSection-BcQ07YZL-sTtrymnZ.js} +1 -1
- package/dist/assets/{PeoplePage-Du_TRX4h-C2Rmmn5d.js → PeoplePage-BZwxMiLM-5s0-HkTL.js} +13 -13
- package/dist/assets/{Preview-CSeZ_uBx.js → Preview-mA1nVDX3.js} +1 -1
- package/dist/assets/{ProductsCarousel-y6q9BbqK-B9m9tH0o.js → ProductsCarousel-HFHMMFnQ-DrHOVGTY.js} +1 -1
- package/dist/assets/{PromoBaseCards-CLQMN7aT-BxeQG0rP.js → PromoBaseCards-Bwm7huaB-m2dOzdVj.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-R4ZWjJsY-DNCk7fny.js → QBOConnectionDialog-B5v60lo1-GNrkjfxe.js} +1 -1
- package/dist/assets/{QBOSetupSection-D--nxfIh-Difre144.js → QBOSetupSection-BFxjIzV1-B2t1VavS.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-OXenWhiy-Cj4gr0h0.js → ReimbursementApprovalRuleDetailPage-D7eJT6hf-BQOWuUEe.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-BJaSXRQF-DF9kihjD.js → ReimbursementApprovalRulesPage-B6WJ19jK-CKNTvHH7.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-BeFEzgmP-DZ-1wgaR.js → ReimbursementDetailPage-CEyFEPK5-BstF-oGE.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-C0sHIJm4-YN1RP5MA.js → ReimbursementPromoPage-BjhlxlPR-BZ1GzMRv.js} +4 -4
- package/dist/assets/{ReimbursementSetUpPage-C85Q6ZnB-DbK7lPyD.js → ReimbursementSetUpPage-pC4KuigM-BDlDJUML.js} +4 -4
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-B5RzRA4c-PwRYjy1t.js → ReimbursementsBulkReviewDrawerPage-CucXnBt6-CAc1E2XO.js} +1 -1
- package/dist/assets/{ReloadCard-BT0lSFUP-CF34SUO7.js → ReloadCard-DhRbLcVA-DIQafdWZ.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-rl6XGWA_-CSxPHelL.js → ReportTableViewSelector-ByxUIrcT-BjUKZAAK.js} +1 -1
- package/dist/assets/{ReportsPage-DV0bbi_D-1o0LJL4r.js → ReportsPage-e1xmk9Ua-DWkV6LH_.js} +5 -5
- package/dist/assets/{RevenueChart-CxvHfkxr-BmSB0A7U.js → RevenueChart-C7uaOhqz-CyB_o3bQ.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-CX2XB44j-BHiKofo4.js → ReviewDetailsPage-Dk0Rw7L_-B6ijKV2H.js} +1 -1
- package/dist/assets/{ReviewOverlay-DdOo3pcK-BVp3d9bK.js → ReviewOverlay-Bthl69qw-RmWq0Cob.js} +1 -1
- package/dist/assets/{RoleWithToolTip-C08wfnGb-CFjb8VCB.js → RoleWithToolTip-New3P2vC-2KCZppVG.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BmZgiTVc-C4es4cDL.js → ScheduleDetailsFixedAssetsPage-DiwkB2J--BPJp47yZ.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-BqX1EZGE-B4pi2I25.js → ScheduleDetailsPage-BLc828ST-CP2yCdiU.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-DU3dXX6V-BMdU_3TL.js → ScheduleSequenceTable-CEQZEbUs-BdHNsPry.js} +1 -1
- package/dist/assets/{ScreenRoutes-BOb1-zin.js → ScreenRoutes-D_sWKkhc.js} +1 -1
- package/dist/assets/{SetUpAccountSection-Clz60vjw-CDcwloM0.js → SetUpAccountSection-CywFKgZo-MmKR4ndQ.js} +1 -1
- package/dist/assets/{SignIn-B79R5ayU-BtVW5pl0.js → SignIn-D7PmDE-R-DymRL_3M.js} +12 -12
- package/dist/assets/{SignInScreen-CsaRmLqD.js → SignInScreen-C-VG_lKe.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-C3gJ8vag-CRVtgLhw.js → SpendManagementListViewPage-DJgNAGhp-JXA21DLB.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-DmCZhFWY-Dsjzi1bn.js → SpendManagementPerTabPage-B_muN4XH-u8KoBsHd.js} +1 -1
- package/dist/assets/{SpendManagementSection-mtTZeiX8-DB_R_dFU.js → SpendManagementSection-BO--0F_T-COrpCsmV.js} +1 -1
- package/dist/assets/StatementItem-_50yBwO1-CwjTPUgJ.js +31 -0
- package/dist/assets/{StatementsPage-DgoXqABR-NsGiWIFr.js → StatementsPage-DkcgOLaa-BdVtg5cn.js} +1 -1
- package/dist/assets/{StatusSwitcher-DRDFuzoj-DFWyQSIu.js → StatusSwitcher-Bcqhq2ht-tjRFz3FC.js} +1 -1
- package/dist/assets/{SubTabSwitcher-Bj1N3zLn-DocBm2NX.js → SubTabSwitcher-BNSMaUoP-C0dI-kdw.js} +1 -1
- package/dist/assets/{SummaryCard-BNrPt21W-z-I2nOL_.js → SummaryCard-DUTikTiQ-CorF8AqM.js} +1 -1
- package/dist/assets/{TaskManagementPage-svW7FNT3-CdR83JXD.js → TaskManagementPage-K2ahivqx-Cw8lnZhf.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-wio5OjI3-BFQK4ykL.js → TimeRangeSwitcher-CaV1qK_v-9kKZ6AfJ.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-234cbGUX-GrV_gRdd.js → TimeframeSwitcher-COkEJy3J-45wKe_Sn.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-B65LibQx-O8FBApDz.js → TimeframeSwitcherWithToggle-CPP1tWQ_-D4EHb91u.js} +2 -2
- package/dist/assets/{TopExCard-DFm0V6Sa-CuS6D-g2.js → TopExCard-CLkfO6zN-v91Jdaeu.js} +1 -1
- package/dist/assets/{TopExDetailPage-B4UamIS--DvTevd6J.js → TopExDetailPage-CUoODDhA-zH5Xy9H2.js} +4 -4
- package/dist/assets/{TransactionDetailPage-BiGPVM2O-BIqR8D1A.js → TransactionDetailPage-BTonMpH2-DgSPoDVR.js} +1 -1
- package/dist/assets/{TransactionList-BQ2dvALf-DExPb7_Y.js → TransactionList-B8eL6jhA-Di9L9RKc.js} +1 -1
- package/dist/assets/{TransactionListBig-Ca4yYTqY-DpBtFr0L.js → TransactionListBig-BI0Egbwq-BwzSPZzZ.js} +1 -1
- package/dist/assets/{TransactionListPage-CaSfmS5A-B8TNgEwP.js → TransactionListPage-DxGLszcx-DAoYnm1i.js} +2 -2
- package/dist/assets/{TransactionVendorDetailPage-CH7qHDUF-CdstXkoA.js → TransactionVendorDetailPage-BnqP7rIa-BU85_A7u.js} +1 -1
- package/dist/assets/{TransferDrawerPage-5IgzdfVN-CuTPVgyu.js → TransferDrawerPage-BvKebmux-o6Yl4bGU.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-CyMGJE8x-BqzDON9-.js → TreasuryOverviewPage-DqlUffnH-Bn5k5ejI.js} +27 -27
- package/dist/assets/{TreasuryPromoPage-DQabp_BI-lYWtZagK.js → TreasuryPromoPage-DqZE9SWj-Bp0vqbWD.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-DyJbkTPX-DQbO4X2A.js → TreasuryStatementsPage-Cyj4xmLP-DxZc3Yqs.js} +1 -1
- package/dist/assets/{TreasuryTaxLetterPage-BSIqzP7E-BachcLIH.js → TreasuryTaxLetterPage-04gxKt0a-DDLLJmzC.js} +2 -2
- package/dist/assets/{TrendChart-DLlQzxzM-PPRPEN_l.js → TrendChart-Cb8wnBqS-Di_U3EIl.js} +1 -1
- package/dist/assets/{TrendWithTransactions-CjGbUTLS-CZ3CCR3q.js → TrendWithTransactions-_49jEzFf-D4MyPHxb.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-CgJuXRnT-4h1DDmrY.js → UncategorizedAccountsMappingPage-WTwSitI6-BqjGQcpf.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-Dew9WP2L-B7QG_5u7.js → UnitIntegrationPage-C3HFSJ9I-BVEgdEbm.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-CoO-S_pc-DdAruGua.js → UploadAdditionalDocumentOverlay-UdsrwN9K-D09XF6PT.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-2JZx7Ouz-DmIxVSxV.js → Vendor2FAPopup-BS-3oZPR-C_3L-M1N.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-DBr7crZ5-FdMIuie9.js +1 -0
- package/dist/assets/{VendorDetailPage-DcpigP-V-CLpuuI3V.js → VendorDetailPage-CJQeB1km-B4OkDlMh.js} +5 -5
- package/dist/assets/VendorDomesticWireDetailsPage-BRIKuuUP-j1Nnt0f3.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-BK_AfMvG-BcMvx9ZT.js → VendorFiling1099EditablePage-C2zwrfg_-BSkCYiG1.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-BnGpb03v-CQ1grmaD.js → VendorFirstReviewPage-BeDtBSt0-DLLC2Nix.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-Bs_MIbDV-D_-xScY6.js → VendorInternationalWireDetailsPage-BVI-FIhY-DxEIS0E-.js} +1 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-D4H4XkkY-B3GBnsRt.js +1 -0
- package/dist/assets/{VendorsAccountsSection-V7IwNhkN-D-eiPu30.js → VendorsAccountsSection-DlO_YtSs-DR5OkKrn.js} +1 -1
- package/dist/assets/{VerifyDevice-Dc3oeJbw-D5d8Wn7A.js → VerifyDevice-CVr0FwHa-DAB6OPBb.js} +1 -1
- package/dist/assets/{VideoPlayer-XU1YwohK-BaDXYiVP.js → VideoPlayer-HL-oU9Ri-BnQLsV6M.js} +2 -2
- package/dist/assets/{VideoPopup-BKLcIVcV-C8tsI7gn.js → VideoPopup-Dw57i43Q-BXsiVF5S.js} +5 -5
- package/dist/assets/{WarningsDrawerPage-DE6hNSem-DTjl6BDC.js → WarningsDrawerPage-DOFirhc3-Ch_HhDH0.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-B3txxml4-BrnXOri_.js → ZeniAccountDetailPage-ByCgz534-Dsg1GtqQ.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-D8AbqSI--lXEmxuQ-.js → ZeniAccountListViewPage-yATacDeU-5emCk5r8.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-CNM-e6b3-CrP6I6p5.js → ZeniAccountNavBarPieces-Yb3HCUq4-CdqCHII0.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-CcZOtFpv-D5dUYpiY.js → ZeniAccountPromoPage-4iBPGLEt-CS6doMp4.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-COA09GMm-BsBo4Yw_.js → ZeniAccountSetupPage-bdXuLfgB-Cy2PUDIb.js} +1 -1
- package/dist/assets/{ZeniCopyright-DqbjGQWk-D3uyyuTN.js → ZeniCopyright-C_Hgn3Qx-CHqYLJwq.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-NJ7GeTlf-DqVr8V-Q.js → ZeniTransferAmountSlider-DBhodWDh-BViJCc8g.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-CF63trjm.js → add-to-wallet-DgdBD8_G-B2xhCimT.js} +1 -1
- package/dist/assets/{analytics-D0z7Cz17.js → analytics-CO_4s2X8.js} +1 -1
- package/dist/assets/{analyticsHelper-D1UvETVa.js → analyticsHelper-C-V4F33Q.js} +1 -1
- package/dist/assets/{analyticsHelper-C2PAija--B2XRbUD9.js → analyticsHelper-DTl4FgRU-DCg1Wj_c.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-Cun1Cxd1.js → arrow-south-east-round-PEovUgvH-BLOUsrLT.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-DPk-N0wE.js → auto-transfer-rule-mbafm5D3-DXWlGTms.js} +1 -1
- package/dist/assets/{chartTypes-B9jQTJLQ-B-uICCus.js → chartTypes-wLUiIPlP-CGvYnBXb.js} +1 -1
- package/dist/assets/{commonDimensions-BgvFMAEM-jw0M4GDE.js → commonDimensions-DGz_YafU-DaJiwvC8.js} +1 -1
- package/dist/assets/{commonTypes-PtDfk70--ByVvU-Tm.js → commonTypes-Gv0Fff59-KWmxkMG2.js} +1 -1
- package/dist/assets/{constants-DleDZ7Hr.js → constants-B80Lbuf7.js} +1 -1
- package/dist/assets/{core-9PMMelIA.js → core-D7_k1EhP.js} +1 -1
- package/dist/assets/{dash.all.min-ClWxXI22.js → dash.all.min-D84aFlTu.js} +1 -1
- package/dist/assets/{detailCommon-BjRXEZFj-BMuJy_GS.js → detailCommon-C-kv1ST5-00YEtv_m.js} +6 -6
- package/dist/assets/{downloadPdf-ZSABdzxr-CSS_LmUU.js → downloadPdf-a0dx3Bka-DXudTOPx.js} +1 -1
- package/dist/assets/{empty-Bp9uyDV_.js → empty-BK-FM9Fc.js} +1 -1
- package/dist/assets/{empty-D5Zf29Ub.js → empty-D7ZL3ibO.js} +1 -1
- package/dist/assets/{epic-Di7g1fbQ.js → epic-BKSpf58y.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-m0hJlqL5.js → gift-box-Cmt9OgIZ-BvDbzpBs.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-cg6FAACa.js → graphic-no-data-l-DU4J8fDt-DnBDJsPD.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-qDT1cGx5.js → graphic-no-data-net-burn-l-CzmycA0m-D8mbIWvo.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-DFhtOw8z.js → handshake-BPg58FML-B-s0K2Gk.js} +1 -1
- package/dist/assets/{index-DNxMom6d.js → index-AC1SIzUs.js} +1 -1
- package/dist/assets/{index-DW6fMwk4.js → index-BCqMlt2D.js} +1 -1
- package/dist/assets/{index-4hZvJwkO.js → index-CIdXBggf.js} +1 -1
- package/dist/assets/{index-0WIxY_w_.js → index-CN_MjJna.js} +1 -1
- package/dist/assets/{index-CbXRL6aP.js → index-CocAByQY.js} +1 -1
- package/dist/assets/{index-Bs2B-MQ4.js → index-qaSB49F0.js} +9 -9
- package/dist/assets/{index-BLOmj_st.js → index-yGtk6ceJ.js} +1 -1
- package/dist/assets/{lexical-CaQwXIc3.js → lexical-CGMN4tXG.js} +1 -1
- package/dist/assets/{liveblocks-48Yy2aTy.js → liveblocks-BmXYR5uO.js} +1 -1
- package/dist/assets/{lottie-ChwWMuYN.js → lottie--pGIoexZ.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-Dn79CwqB-DWPPY5_g.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DCsXPZ77-B7l0JH-0.js → mapSectionWithAcOnlyToTreeNode-DXbOFz3E-BdYTpUAO.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-D7hBnjRr-B3iPFPg7.js +1 -0
- package/dist/assets/{mapTimeframeBalancesToTreeNode-q_WorOhv-vY1YncA0.js → mapTimeframeBalancesToTreeNode-CQWxQdJu-UtXiI9zI.js} +1 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-ph17cvaS-DS1-lnZY.js +1 -0
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-DFZvknEc-BH5TYlER.js → mapTimeframeHeaderLoadingInProgressToTreeNode-FwPcTyoF-D6D_67kw.js} +1 -1
- package/dist/assets/{mui-snKYaegN.js → mui-Fyk6sRCR.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-D1nl1r9M.js → page-detail-CWX5S47F-CTsT95lG.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-BY9nqKUM.js → radio-default-CiSgisfh-DyFeMuig.js} +1 -1
- package/dist/assets/{react-B2deW7HO.js → react-89jLopxj.js} +1 -1
- package/dist/assets/{react-CiQEdtzT.js → react-8lAMKDVs.js} +1 -1
- package/dist/assets/{react-C-MrqhIX.js → react-CZ_9akaZ.js} +1 -1
- package/dist/assets/{react-o70ZlKb0.js → react-CazNrypD.js} +1 -1
- package/dist/assets/{react-BpEW9tPq.js → react-Cw0TtY4U.js} +1 -1
- package/dist/assets/{react-BNn_K56n.js → react-DywPl4iN.js} +1 -1
- package/dist/assets/{react-DHTHtXgj.js → react-E7ETqwTX.js} +1 -1
- package/dist/assets/{react-BddMC_36.js → react-OOqLEgIT.js} +2 -2
- package/dist/assets/{recharts-DGmpNqLb.js → recharts-j_eh1fXg.js} +1 -1
- package/dist/assets/{sentry-gm2R3TtK.js → sentry-D4D7HRQR.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-DNx-Nq5U.js → shield-DOlUxcFf-D9ihfdgR.js} +1 -1
- package/dist/assets/toCOABalancesWithID-CdKQhpIb-CFgx5sWA.js +1 -0
- package/dist/assets/{toChartData-CVxc3i6E-Jb1kbIeZ.js → toChartData-BlyUYoV7-DsdeBaUU.js} +1 -1
- package/dist/assets/{uploadAttachment-CBATb9_e-Bf8RMkbX.js → uploadAttachment-BkEbu6k9-DdujAAv5.js} +1 -1
- package/dist/assets/{uploadReceipts-CPw64UYa-DwtdWb2a.js → uploadReceipts-CPw64UYa-C1oywu4M.js} +1 -1
- package/dist/assets/{url-B3spPAaB.js → url-BwHZRaSJ.js} +1 -1
- package/dist/assets/{url-CsktLD4A.js → url-DStI5MA9.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-5GfLl0ml.js → useLongPress-GCK2COYQ-BS3t10_q.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-DO5-Shw0.js → usp-line-BBd1wKwW-DELeCmm4.js} +1 -1
- package/dist/assets/{utils-C7Aiy3iw.js → utils-BTQ24URD.js} +1 -1
- package/dist/assets/{zeni-epic-state-D2RxwWrl.js → zeni-epic-state-I555vKHy.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/AddAddressForCardDrawer-CNkdq378-DvUXwFrO.js +0 -6
- package/dist/assets/ChargeCardPaymentHistoryPage-DnxJwv-T-SsEma55z.js +0 -553
- package/dist/assets/CustomerOnboardingContainerPage-ZVvSCumS-nk4WVXpw.js +0 -1
- package/dist/assets/CustomerOnboardingProductSuitePage-DHSPLF5F-BeorfiRM.js +0 -202
- package/dist/assets/EntityDetailPage-BaKoO9FG-BDiZrnyD.js +0 -18
- package/dist/assets/MagicLinkACHDetailsPage-BeUu65LP-h79CD54_.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-CO7IswK8-3R9uoHM3.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-bKdrX7dk-BH9XfZTx.js +0 -1
- package/dist/assets/MailingDetailsSection-B_0EH3Eh-Dx6cptzU.js +0 -21
- package/dist/assets/StatementItem-C9KsTdoM-CvW9SwJx.js +0 -31
- package/dist/assets/VendorACHDetailsPage-DVqS0EVe-BvHJQnhv.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-BrvN0BZx-Cb_0-TC6.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CJMBOb8y-CNYkR-9e.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-ilouYnTd-DoZ0huih.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-CEKoJAIb-Ca0optUS.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-Cki-np8X-STcH44eC.js +0 -1
- package/dist/assets/toCOABalancesWithID-CcsM8Vr1-Ca_vxtPe.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as B,d as Z,F as _,aw as ke,V as s,bA as qe,k as Qe,H as Je,bB as Xe,o as d,y as N,aB as X,bC as Ke,bD as et,ai as oe,c as j,b2 as tt,aT as st,L as Oe,n as Be,p as D,aq as Pe,aS as ot,b9 as at,an as nt,bE as it,au as rt,bF as ct,bG as ne,bH as lt,at as dt,am as pt,bI as ut,bJ as gt}from"./index-
|
|
1
|
+
import{q as B,d as Z,F as _,aw as ke,V as s,bA as qe,k as Qe,H as Je,bB as Xe,o as d,y as N,aB as X,bC as Ke,bD as et,ai as oe,c as j,b2 as tt,aT as st,L as Oe,n as Be,p as D,aq as Pe,aS as ot,b9 as at,an as nt,bE as it,au as rt,bF as ct,bG as ne,bH as lt,at as dt,am as pt,bI as ut,bJ as gt}from"./index-qaSB49F0.js";import{a as y,S as K}from"./sentry-D4D7HRQR.js";import{n as u,k as Ie}from"./mui-Fyk6sRCR.js";import{bg as mt,EN as ht,E7 as ft,EO as bt,EP as xt,EQ as _t,ER as wt,ES as St,ET as yt,EU as vt,EV as $t}from"./zeni-epic-state-I555vKHy.js";import{m as G,l as se}from"./analyticsHelper-DTl4FgRU-DCg1Wj_c.js";import{g as Ct,x as jt}from"./ReportTableViewSelector-ByxUIrcT-BjUKZAAK.js";import{q as kt}from"./InsightsSection-26UEfz7s-DvD8Ccwt.js";import{k as Ot,q as Bt,Q as xe,H as ee,N as pe}from"./detailCommon-C-kv1ST5-00YEtv_m.js";import{G as Pt,P as It,Y as _e,X as we,H as Se}from"./RevenueChart-C7uaOhqz-CyB_o3bQ.js";import{C as Nt}from"./NoDataChart-DoN6Mneo-tV8Dt3om.js";import{n as R}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{p as Lt}from"./TimeRangeSwitcher-CaV1qK_v-9kKZ6AfJ.js";import{b as Ne}from"./TimeframeSwitcher-COkEJy3J-45wKe_Sn.js";import{I as Rt,R as F,x as Dt,l as ue,D as Tt}from"./CollapsableReportTable-BS7TgK8B-Ck1A0h-X.js";import{S as zt,M as At,g as Et,C as te,L as Le,D as Re,T as De}from"./mapSectionWithAcOnlyToTreeNode-DXbOFz3E-BdYTpUAO.js";import{d as Mt}from"./NoDataTable-BMDDs83M-Dpk0AfuR.js";import{d as ge,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-FwPcTyoF-D6D_67kw.js";import{d as he}from"./mapLoadingInProgressToTreeNode-Dn79CwqB-DWPPY5_g.js";import"./liveblocks-BmXYR5uO.js";import"./core-D7_k1EhP.js";import"./recharts-j_eh1fXg.js";import"./lottie--pGIoexZ.js";import"./analytics-CO_4s2X8.js";import"./lexical-CGMN4tXG.js";import"./utils-BTQ24URD.js";import"./NavigationDots-U7wL0ya4-Br1fZ1mY.js";import"./chartTypes-wLUiIPlP-CGvYnBXb.js";import"./toCOABalancesWithID-CdKQhpIb-CFgx5sWA.js";import"./toChartData-BlyUYoV7-DsdeBaUU.js";import"./AccountRow-B16HgkVQ-dG_dWaCL.js";import"./graphic-no-data-l-DU4J8fDt-DnBDJsPD.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]="7ef4085a-b288-4a3e-9796-ddda9cba654c",e._sentryDebugIdIdentifier="sentry-dbid-7ef4085a-b288-4a3e-9796-ddda9cba654c")}catch{}})();const Ft=e=>y.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},y.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),y.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),y.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),Vt=u.div`
|
|
2
2
|
justify-content: center;
|
|
3
3
|
align-items: center;
|
|
4
4
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aX as f,V as o,b4 as p,o as b}from"./index-
|
|
1
|
+
import{aX as f,V as o,b4 as p,o as b}from"./index-qaSB49F0.js";import{a as s}from"./sentry-D4D7HRQR.js";import{a as h,n as m}from"./mui-Fyk6sRCR.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]="7b9105fe-0ac2-4477-a1c1-acaa169e7a3e",e._sentryDebugIdIdentifier="sentry-dbid-7b9105fe-0ac2-4477-a1c1-acaa169e7a3e")}catch{}})();const D=s.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:n=!1}){const t=h(),r=e||n,l=n?"DashboardNewYearShow":"DashboardChristmasSnow",[i,d]=f(l,r),[a,c]=s.useState(null);i!=null&&a==null&&!d&&c(i);const u=e&&t.mode==="light"?.7:.2;return(e||n)&&a!=null?o.jsx(y,{contextWiseOpacity:u,newYearAnimationEnabled:n,children:o.jsx(p,{style:{width:"inherit",height:"inherit",display:"block"},animationData:a,play:!0,loop:n?5:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),y=m.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aL as y,hx as u,q as $,V as l,o as i,al as c,am as w}from"./index-
|
|
1
|
+
import{aL as y,hx as u,q as $,V as l,o as i,al as c,am as w}from"./index-qaSB49F0.js";import{n as t}from"./mui-Fyk6sRCR.js";import{g as k}from"./BoxItem-CZdVWyVJ-Ck7WXLSC.js";import{o as v}from"./commonDimensions-DGz_YafU-DaJiwvC8.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]="4e701844-37e7-45b2-b899-d61d0a81a513",e._sentryDebugIdIdentifier="sentry-dbid-4e701844-37e7-45b2-b899-d61d0a81a513")}catch{}})();function H({data:e,boxType:n}){const{counterParty:r,typeName:d,amount:p,logo:x,summary:b,direction:f,status:m}=e,g=r.length>0?r:b,a=y("0,0.00",p),s=u(m),o=$(),h=l.jsxs(D,{children:[l.jsx(T,{src:x?.toString(),loading:"lazy"}),l.jsx(I,{children:l.jsxs(_,{windowSize:o,children:[l.jsx(N,{children:g}),s!=null?l.jsxs(q,{windowSize:o,children:[l.jsx(E,{windowSize:o}),l.jsx(C,{color:s?.color,children:s?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[d!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:d})}):null,l.jsx(P,{windowSize:o,children:f==="debit"?`-${a}`:a})]})]});return l.jsx(k,{content:h,boxType:n,isDisabled:!1,isNotClickable:!0})}const j=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: ${e=>e.windowSize==="small"?"column-reverse":"row"};
|
|
4
4
|
align-items: ${e=>e.windowSize==="small"?"flex-end":"center"};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as M,q as S,V as t,bA as I,b2 as F,hG as Y,o as r,F as z,p as u,cr as C,db as E,dc as _,d6 as L,dd as T,y as A,ai as B,al as R,c as g}from"./index-
|
|
1
|
+
import{d as M,q as S,V as t,bA as I,b2 as F,hG as Y,o as r,F as z,p as u,cr as C,db as E,dc as _,d6 as L,dd as T,y as A,ai as B,al as R,c as g}from"./index-qaSB49F0.js";import{a as x}from"./sentry-D4D7HRQR.js";import{n as a}from"./mui-Fyk6sRCR.js";import{bh as V}from"./zeni-epic-state-I555vKHy.js";import{$ as q}from"./BoxItem-CZdVWyVJ-Ck7WXLSC.js";import{o as N}from"./commonDimensions-DGz_YafU-DaJiwvC8.js";import{H as P}from"./DepositAccTransactionItem-SRWW7dWo-Bq8glEON.js";import"./liveblocks-BmXYR5uO.js";import"./core-D7_k1EhP.js";import"./recharts-j_eh1fXg.js";import"./lottie--pGIoexZ.js";import"./analytics-CO_4s2X8.js";import"./lexical-CGMN4tXG.js";import"./utils-BTQ24URD.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="73b6ed3f-2d06-46de-b58a-0c38e184fa63",e._sentryDebugIdIdentifier="sentry-dbid-73b6ed3f-2d06-46de-b58a-0c38e184fa63")}catch{}})();const l=z.getLocalizedStrings(),G={listItemMargin:new A(g[3],g[8])};function H(e){const i=E(e,o=>o.transactionDate.format(l.dateFormat.visual.MMMDCommaYYYYformat)),d=_(i,o=>o.length>0);return L(d,o=>({date:o[0].transactionDate,transactions:T(o,m=>m.transactionDate,"desc")}))}const X=Y(H),pe=({transactionListView:e,onBackClick:i})=>{const d=M(),o=S(),m=x.createRef(),p=x.useRef(null),c=X(e.transactions),k=e.depositAccountName,f=c.length===0,j=n=>f===!1?c[n].transactions.length*N.transactionItemHeightResponsive.value(o)+45:24,v=({index:n,style:h})=>{if(f===!1){const s=c[n];return t.jsx(w,{style:{...h},children:t.jsx(y,{windowSize:o,children:t.jsxs($,{children:[t.jsx(Q,{children:V().year()===s.date.year()?s.date.format(l.dateFormat.visual.MMMDFormat):s.date.format(l.dateFormat.visual.MMMDCommaYYYYformat)}),t.jsx(U,{children:s.transactions.map((D,b)=>t.jsx(P,{data:D,boxType:q(b,s.transactions.length)},b))})]})})})}else return t.jsx(w,{style:{...h},children:t.jsx(J,{children:t.jsx(y,{windowSize:o,children:t.jsx(O,{children:l.transactionList.noTransactionsFoundForPrefix})})})})};return t.jsxs(K,{children:[t.jsx(I,{title:`${k} ${l.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:d.colors.grey4,style:{zIndex:3},onBackClick:i,scrollableContent:p.current!=null?p:void 0,source:"DepositAccTransactionListPage"}),t.jsx($,{children:t.jsx(F,{children:({height:n,width:h})=>t.jsx(Z,{ref:m,height:n,width:h,outerRef:p,itemKey:s=>s,itemCount:c.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},w=a.div``,y=a.div`
|
|
2
2
|
margin: ${e=>`${r.sp0} ${G.listItemMargin.valuePx(e.windowSize)}`};
|
|
3
3
|
`,J=a.div`
|
|
4
4
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as O,a9 as U,F as S,cC as q,aB as H,V as n,cn as Q,co as Z,cp as G,ac as J,aP as K,y as b,eS as X,o as Y,b8 as ee,c as o}from"./index-
|
|
1
|
+
import{q as O,a9 as U,F as S,cC as q,aB as H,V as n,cn as Q,co as Z,cp as G,ac as J,aP as K,y as b,eS as X,o as Y,b8 as ee,c as o}from"./index-qaSB49F0.js";import{a as w}from"./sentry-D4D7HRQR.js";import{n as h}from"./mui-Fyk6sRCR.js";import{bi as T}from"./zeni-epic-state-I555vKHy.js";import{e as ne}from"./BankAccountSection-BbX4r1dP-BVn949x0.js";import{M as te}from"./MagicLinkTitleSection-zMEqv8xp-Dw1lipYQ.js";import{W as ae,A as oe}from"./BankAccountWarningSection-CqlrCLSb-4sdBnqih.js";import{T as ie}from"./MailingDetailsSection-BRCMsb6d-Bg6C6Qx3.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]="b8b89127-0df1-408a-8449-f2585886d66d",e._sentryDebugIdIdentifier="sentry-dbid-b8b89127-0df1-408a-8449-f2585886d66d")}catch{}})();const i={paddingTopBottom:new b(o[3],o[3]),paddingRight:new b(o[3],o[8]),paddingLeft:new b(o[3],o[6]),buttonWidth:new b(140,140),marginLeft:new b(o[4],o[6])},B="domesticWireDetailsPage",k="bankAccountSection",$="mailingAddressSection",D=e=>`${e}_form`,xe=e=>{const{bankAccountCreationState:t,fetchBankNameByRoutingStatus:l,addressType:y,bankAccountToCreate:s,addressToEdit:r,mailingAddress:x,isDisabled:A,companyName:j,isMagicLink:g,currencySymbol:v,amount:P,onSaveHandler:z,onWireDetailsUpdated:I,onFetchBankName:R,onAddressClick:L,onBackClick:C}=e,u=O(),c=U({mode:"onBlur",reValidateMode:"onChange",defaultValues:w.useMemo(()=>se(s,r),[s,r])}),[W,f]=w.useState(!1),a=S.getLocalizedStrings().spendManagement.billPay.vendorCreation,E=S.getLocalizedStrings().common.footer,M=a.wireDetails.domestic,F={onOkClick:()=>{f(!1),c.reset(),C?.()},onCancelClick:()=>{f(!1)}},_=async(p,m)=>{const d=m[k].bankRoutingNumber;I(m),p===`${k}.bankRoutingNumber`&&d?.length===9&&X.test(d)===!0&&R?.(d)};w.useEffect(()=>{const p=c.watch((m,{name:d})=>{d!=null&&m!=null&&q(()=>_(d,m))});return()=>{p.unsubscribe()}});const V=c.handleSubmit(p=>{l.fetchState!=="In-Progress"&&z("wire")}),N=!H(x!=null?T(x):x,r!=null?T(r):r)||re(s)||c.formState.isDirty;return n.jsxs(ue,{children:[n.jsxs(le,{size:u,children:[W===!0?n.jsx(Q,{titleComponent:n.jsx(G,{children:a.discardTitle}),descriptionComponent:n.jsx(Z,{children:a.discardDescription}),primaryButtonText:a.discard,secondaryButtonText:a.cancel,action:F}):null,n.jsx(ae,{header:g?n.jsx(te,{companyName:j??"",currencySymbol:v??"",amount:P??0}):M.addWireDetails,isMagicLink:g,isDirty:N,onBackClick:C,setShowConfirmationPopup:f}),t?.fetchState==="Error"&&t.error?.code===409?n.jsx(oe,{warningText:a.bankAccountCommon.accountExistWarning}):null,n.jsx(de,{size:u,children:a.bankAccountCommon.accountDetailsTitle}),n.jsx(J,{...c,children:n.jsxs("form",{id:D(B),onSubmit:V,children:[n.jsx(ce,{size:u,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:l,sectionId:k,isDisabled:A})}),n.jsx(ie,{sectionId:$,isDisabled:A,addressType:y,addressToEdit:r,onAddressClick:L})]})})]}),n.jsx(K,{formId:D(B),primaryBtn:{label:g?a.bankAccountCommon.submitDetails:a.bankAccountCommon.saveAccount,isLoading:t.fetchState==="In-Progress",style:{width:i.buttonWidth.value(u)},isDisabled:A!=null},showCancel:!g,cancelBtn:{label:E.cancel,style:{width:i.buttonWidth.value(u)},shouldResetOnCancel:!1,onClick:()=>{N?f(!0):(c.reset(),C?.())}}})]})},se=(e,t)=>({[k]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[$]:{mailingAddress:t}}),re=e=>{if(e==null)return!1;const{bankAccountName:t,bankAccountNumber:l,bankName:y,bankRoutingNumber:s}=e;return!!t||!!l||!!y||!!s},ce=h.div`
|
|
2
2
|
padding-left: ${e=>i.paddingLeft.valuePx(e.size)};
|
|
3
3
|
padding-right: ${e=>i.paddingRight.valuePx(e.size)};
|
|
4
4
|
padding-top: ${e=>i.paddingTopBottom.valuePx(e.size)};
|
package/dist/assets/{DownloadOverlay-C7r6PAam-BvXPoC9j.js → DownloadOverlay-DkSROLX2-BV0uInlq.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,L as lt,F,c3 as dt,bM as Ue,c as B,b8 as qe,al as L,bP as _e,b as te,am as be,n as ae,d as We,bR as ct,c4 as xe,c5 as ge,k as Ge,c6 as Ze,bK as pt,b9 as mt,ao as ye,c7 as Z,c8 as ft,c9 as ht,bI as ut,bQ as bt,aq as xt,ca as gt,bZ as yt,au as $t}from"./index-
|
|
1
|
+
import{V as t,c1 as it,o as s,q as he,c2 as nt,an as He,p as ue,y as W,L as lt,F,c3 as dt,bM as Ue,c as B,b8 as qe,al as L,bP as _e,b as te,am as be,n as ae,d as We,bR as ct,c4 as xe,c5 as ge,k as Ge,c6 as Ze,bK as pt,b9 as mt,ao as ye,c7 as Z,c8 as ft,c9 as ht,bI as ut,bQ as bt,aq as xt,ca as gt,bZ as yt,au as $t}from"./index-qaSB49F0.js";import{a as h,S as $e}from"./sentry-D4D7HRQR.js";import{n,k as Ke}from"./mui-Fyk6sRCR.js";import{F4 as me,F5 as C,F6 as K,bL as P,F7 as X,F8 as we,F9 as U,bh as wt,Fa as _,Fb as Ft,Fc as vt,Fd as jt,Fe as Ot,Ff as Yt}from"./zeni-epic-state-I555vKHy.js";import{m as Dt}from"./analyticsHelper-DTl4FgRU-DCg1Wj_c.js";import{g as kt,x as _t}from"./ReportTableViewSelector-ByxUIrcT-BjUKZAAK.js";import{t as Ct}from"./page-detail-CWX5S47F-CTsT95lG.js";import"./liveblocks-BmXYR5uO.js";import"./core-D7_k1EhP.js";import"./recharts-j_eh1fXg.js";import"./lottie--pGIoexZ.js";import"./analytics-CO_4s2X8.js";import"./lexical-CGMN4tXG.js";import"./utils-BTQ24URD.js";import"./CollapsableReportTable-BS7TgK8B-Ck1A0h-X.js";import"./AccountRow-B16HgkVQ-dG_dWaCL.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="7de21409-61cc-4598-90a9-9c00c9a53368",e._sentryDebugIdIdentifier="sentry-dbid-7de21409-61cc-4598-90a9-9c00c9a53368")}catch{}})();const Pt=["profit_and_loss","profit_and_loss_by_classes","balance_sheet","cash_flow","cover_page","operating_expenses","revenue","net_burn_or_income","cash_position","cash_in_cash_out"];function ie(e,o,r,a){let i=0;if(!(e!==1&&(o==="quarter"||o==="year")))i=r.endDate.endOf(o).diff(r.startDate.startOf(o),o)+1;else switch(o){case"quarter":{const{startOfTimeframeFY:l}=C(r.startDate,e,"quarter"),{endOfTimeframeFY:p}=C(r.endDate,e,"quarter");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/3);break}case"year":{const{startOfTimeframeFY:l}=C(r.startDate,e,"year"),{endOfTimeframeFY:p}=C(r.endDate,e,"year");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/12);break}}return a!=null?Math.min(i,a):i}function oe(e,o,r,a=1){if(a>1){const i=K(r,e,a-1,o),{startOfTimeframeFY:l}=C(i,e,o);return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:l,endDate:r}}}else return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:r,endDate:r}}}class Ce{_firstMonthOfFY;_timeframe;_dataAvailable;_endDate;_numberOfPeriods;_maxNumberOfPeriods;constructor(o,r,a,i,l,p=a.endDate){if(a.endDate.isBefore(a.startDate))throw Error(`Invalid data available period ${JSON.stringify(a)}`);this._firstMonthOfFY=o,this._timeframe=r,this._dataAvailable=a,this._numberOfPeriods=i,this._maxNumberOfPeriods=l,this._endDate=p}get value(){return oe(this.firstMonthOfFY,this.timeframe,this.endDate,this.numberOfPeriods)}get dataAvailable(){return this._dataAvailable}get firstMonthOfFY(){return this._firstMonthOfFY}get timeframe(){return this._timeframe}set timeframe(o){this._timeframe=o}get numberOfPeriods(){return this._numberOfPeriods}get maxNumberOfPeriods(){return this._maxNumberOfPeriods}set maxNumberOfPeriods(o){if(o<=0)throw Error(`Invalid maxNumberOfPeriods ${this.maxNumberOfPeriods}`);this._maxNumberOfPeriods=o}get startDate(){return this.value.dateRange.startDate}get endDate(){return this._endDate}getValidCalendarPeriod(){const o=me(this.startDate,this.firstMonthOfFY,this.maxNumberOfPeriods-1,this.timeframe);let{endOfTimeframeFY:r}=C(o,this.firstMonthOfFY,this.timeframe);return r.isAfter(this.dataAvailable.endDate)&&(r=this.dataAvailable.endDate),{startDate:this.startDate,endDate:r}}canUpdateToPeriod(o,r){if(this.firstMonthOfFY===1||this.timeframe==="month")return o.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]")&&r.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]");{const{startOfTimeframeFY:a}=C(this.dataAvailable.startDate,this.firstMonthOfFY,this.timeframe),{endOfTimeframeFY:i}=C(this.dataAvailable.endDate,this.firstMonthOfFY,this.timeframe);return o.isBetween(a,i,null,"[]")&&r.isBetween(a,i,null,"[]")}}updatePeriod(o,r){if(!this.canUpdateToPeriod(o,r))return!1;let a=ie(this.firstMonthOfFY,this.timeframe,{startDate:o,endDate:r});if(a>this.maxNumberOfPeriods){a=this._numberOfPeriods;const{endOfTimeframeFY:i}=C(me(o,this.firstMonthOfFY,this._numberOfPeriods-1,this.timeframe),this.firstMonthOfFY,this.timeframe);this._endDate=i}else if(o.isAfter(r)){a=1;const{endOfTimeframeFY:i}=C(o,this.firstMonthOfFY,this.timeframe);this._endDate=i}else this._endDate=r;return this._endDate.isAfter(this.dataAvailable.endDate)&&(this._endDate=this.dataAvailable.endDate),this._numberOfPeriods=a,!0}updateStartDate(o){return this.updatePeriod(o,this.endDate)}updateEndDate(o){return this.updatePeriod(this.startDate,o)}}const le=["1","2","3","4"],de=wt().localeData().monthsShort(),A={pdf:12,excel:100,csv:100},E=(e,o,r)=>{const a=F.getLocalizedStrings().dateFormat.analytics.YYYYFormat,i=[];if(e===1||o==="month"){const{startDate:l,endDate:p}=r;let m=l;for(;m.isSameOrBefore(p,"year");)i.push(m.format(a)),m=me(m,e,1,"year")}else{const{startOfTimeframeFY:l}=C(r.startDate,e,"year"),{endOfTimeframeFY:p}=C(r.endDate,e,"year");let{fyYear:m}=_(l,e);const{fyYear:u}=_(p,e);for(;m<=u;)i.push(`${m}`),m++}return i},St=n.div`
|
|
2
2
|
padding: ${s.sp3};
|
|
3
3
|
border: 1px solid ${e=>e.borderColor.default};
|
|
4
4
|
border-radius: ${s.sp1};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as a,V as i,bR as y,o as r,y as s,F as h,c0 as P,R as c,M as g,L as b,c as t,aL as L,
|
|
1
|
+
import{q as a,V as i,bR as y,o as r,y as s,F as h,c0 as P,R as c,M as g,L as b,c as t,aL as L,jY as k,jZ as D,j_ as R}from"./index-qaSB49F0.js";import{n as o}from"./mui-Fyk6sRCR.js";import"./sentry-D4D7HRQR.js";import"./liveblocks-BmXYR5uO.js";import"./core-D7_k1EhP.js";import"./recharts-j_eh1fXg.js";import"./zeni-epic-state-I555vKHy.js";import"./lottie--pGIoexZ.js";import"./analytics-CO_4s2X8.js";import"./lexical-CGMN4tXG.js";import"./utils-BTQ24URD.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]="f1e70955-7942-4d77-adf8-569686041f3e",e._sentryDebugIdIdentifier="sentry-dbid-f1e70955-7942-4d77-adf8-569686041f3e")}catch{}})();const l={drawerItemPadding:new s(t[3],t[3],t[4]),styledDivMarginLeft:new s(t[6],t[7]),verticalLineLeftMargin:new s(32,42),iconWidth:new s(t[5],t[6]),iconHeight:new s(t[5],t[6]),iconSize:new s(20,t[4])},j={title:new c("standardRegular","largeRegular"),content:new c("smallRegular","standardRegular")},p=h.getLocalizedStrings().rewardsPage.drawerPage,_=({rewardsPlan:e})=>{const n=[C(),I(),M({rewardsPlan:e})],d=a();return i.jsx(E,{children:n.map((v,S)=>i.jsxs(q,{children:[i.jsx(H,{children:v}),S<n.length-1?i.jsx(F,{windowSize:d}):null]},`step_${S}`))})},C=()=>{const e=a(),n=p.item1;return i.jsxs(x,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"link",children:i.jsx(A,{windowSize:e})}),i.jsx(f,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(z,{windowSize:e,children:n.content})})]})},I=()=>{const e=a(),n=p.item2;return i.jsxs(x,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"user",children:i.jsx(B,{windowSize:e})}),i.jsx(f,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(z,{windowSize:e,children:n.content})})]})},M=({rewardsPlan:e})=>{const n=a(),d=p.item3;return i.jsxs(x,{windowSize:n,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:n,icon:"money",children:i.jsx(N,{windowSize:n})}),i.jsx(f,{windowSize:n,children:d.title[e.planName]})]}),i.jsx($,{windowSize:n,children:i.jsx(z,{windowSize:n,children:d.content[e.planName].replace("__reward-amount__",L("0,0",e.referrerAmount))})})]})},x=o.div`
|
|
2
2
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
3
3
|
border-radius: ${r.sp2};
|
|
4
4
|
box-shadow: ${e=>`${r.sp0} 1px 2px ${r.sp0} ${e.theme.colors.dropShadowNormal}`};
|
|
@@ -36,20 +36,20 @@ import{q as a,V as i,bR as y,o as r,y as s,F as h,c0 as P,R as c,M as g,L as b,c
|
|
|
36
36
|
justify-content: center;
|
|
37
37
|
align-items: center;
|
|
38
38
|
margin-right: ${r.sp2};
|
|
39
|
-
`,
|
|
39
|
+
`,f=o(g)`
|
|
40
40
|
color: ${e=>e.theme.colors.primary};
|
|
41
41
|
${e=>`${j.title.style(e.windowSize)}`};
|
|
42
|
-
`,
|
|
42
|
+
`,z=o(g)`
|
|
43
43
|
color: ${e=>e.theme.colors.hero};
|
|
44
44
|
${e=>`${j.content.style(e.windowSize)}`};
|
|
45
|
-
`,
|
|
45
|
+
`,q=o.div`
|
|
46
46
|
display: flex;
|
|
47
47
|
flex-direction: row;
|
|
48
48
|
position: relative;
|
|
49
49
|
z-index: 1;
|
|
50
|
-
`,q=o.div`
|
|
51
|
-
margin-top: ${r.sp4};
|
|
52
50
|
`,E=o.div`
|
|
51
|
+
margin-top: ${r.sp4};
|
|
52
|
+
`,F=o.div`
|
|
53
53
|
top: ${r.sp0};
|
|
54
54
|
width: 1px;
|
|
55
55
|
height: 100%;
|
|
@@ -58,9 +58,9 @@ import{q as a,V as i,bR as y,o as r,y as s,F as h,c0 as P,R as c,M as g,L as b,c
|
|
|
58
58
|
width: 2px;
|
|
59
59
|
background: ${e=>e.theme.colors.grey2};
|
|
60
60
|
z-index: -1;
|
|
61
|
-
`,
|
|
61
|
+
`,H=o.div`
|
|
62
62
|
padding-bottom: ${r.sp4};
|
|
63
|
-
`,{common:{navBar:{back:
|
|
63
|
+
`,{common:{navBar:{back:T}}}=h.getLocalizedStrings(),w={navBarContainerPaddingXaxis:new s(10,t[3]),containerPaddingLeft:new s(t[3],t[6],t[8]),containerPaddingRight:new s(t[3],t[6],t[8])},V={title:new c("standardRegular","largeRegular")},{referAndEarn:W}=h.getLocalizedStrings().rewardsPage;function ce({rewardsPlan:e,onDismissClick:n}){const d=a();return i.jsxs(X,{windowSize:d,children:[i.jsx(J,{windowSize:d,children:i.jsxs(K,{windowSize:d,children:[d==="small"&&i.jsx(Q,{children:i.jsx(y,{enterDelay:600,title:T,placement:"bottom",style:{padding:`${r.sp1} ${r.sp2}`},children:i.jsx(U,{onClick:n})})}),i.jsx(Z,{windowSize:d,children:W}),d!=="small"&&i.jsx(O,{onClick:n})]})}),i.jsx(G,{windowSize:d,children:i.jsx(_,{rewardsPlan:e})})]})}const X=o.div`
|
|
64
64
|
display: flex;
|
|
65
65
|
flex-direction: column;
|
|
66
66
|
background-color: ${e=>e.theme.colors.grey4};
|
|
@@ -78,7 +78,7 @@ import{q as a,V as i,bR as y,o as r,y as s,F as h,c0 as P,R as c,M as g,L as b,c
|
|
|
78
78
|
color: ${e=>e.theme.colors.primary};
|
|
79
79
|
width: 96%;
|
|
80
80
|
text-align: center;
|
|
81
|
-
${e=>`${
|
|
81
|
+
${e=>`${V.title.style(e.windowSize)}`};
|
|
82
82
|
`,G=o.div`
|
|
83
83
|
padding-left: ${e=>w.containerPaddingLeft.valuePx(e.windowSize)};
|
|
84
84
|
padding-right: ${e=>w.containerPaddingRight.valuePx(e.windowSize)};
|
package/dist/assets/{EditPeoplePage-BnQqStEx-Cbm0H-hi.js → EditPeoplePage-Ld339aav-BKidG2ge.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as ie,fP as ae,d as de,a9 as pe,aO as ce,V as t,cn as ue,ap as me,co as fe,cp as ge,gM as he,ct as ye,o as n,bR as be,aN as L,ac as ve,aP as xe,y as P,F as $e,cy as we,fS as Re,fT as Ce,fU as Ie,b8 as Oe,p as W,cW as Te,c as u}from"./index-
|
|
1
|
+
import{q as ie,fP as ae,d as de,a9 as pe,aO as ce,V as t,cn as ue,ap as me,co as fe,cp as ge,gM as he,ct as ye,o as n,bR as be,aN as L,ac as ve,aP as xe,y as P,F as $e,cy as we,fS as Re,fT as Ce,fU as Ie,b8 as Oe,p as W,cW as Te,c as u}from"./index-qaSB49F0.js";import{a as w}from"./sentry-D4D7HRQR.js";import{n as l}from"./mui-Fyk6sRCR.js";import{FB as _e,bg as je}from"./zeni-epic-state-I555vKHy.js";import{f as Pe}from"./AllUserItems-CW-BAUK2-B9Q1lPJb.js";import"./liveblocks-BmXYR5uO.js";import"./core-D7_k1EhP.js";import"./recharts-j_eh1fXg.js";import"./lottie--pGIoexZ.js";import"./analytics-CO_4s2X8.js";import"./lexical-CGMN4tXG.js";import"./utils-BTQ24URD.js";import"./LabeledUserSingleSelectWithSubtitlesField-D2PQRKp0-CAFuEck_.js";import"./RoleWithToolTip-New3P2vC-2KCZppVG.js";import"./LabeledZeniRolesDropDownField-C2WL6H1u-BXDtctub.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="a9d1782f-804e-4413-b6fb-0e26f4cea0f9",e._sentryDebugIdIdentifier="sentry-dbid-a9d1782f-804e-4413-b6fb-0e26f4cea0f9")}catch{}})();const I={containerPaddingTop:new P(u[3],u[3]),containerPaddingLeft:new P(u[3],u[6],u[6]),containerPaddingRight:new P(u[3],u[6],u[8]),buttonWidth:new P(85,85)},M="editPeoplePage",R="userItems",d=$e.getLocalizedStrings().peoplePage,st=({peopleDetails:e,managersList:o,classList:y,controllersList:O,mode:p,isZeniTenant:k,onCloseClick:T,onResetClick:_,onSaveClick:m,onDeleteUser:Q,onPeopleLocalDataUpdated:Y,analytics:U,isReimbursementDisabled:z,isZeniAccountsDisabled:N,isChargeCardDisabled:Z,isTreasuryDisabled:q,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isLiteRoleDisabled:A})=>{const C=ie(),[K,S]=w.useState(!1),[X,H]=w.useState(-1),ee=p==="zeni_only"?d.invitePage.editZeniTitle:d.invitePage.editTitle,te=w.useRef(null),D=w.useMemo(()=>ae(z,N,Z,b,v,A,q),[z,N,Z,b,v,A,q]),G=de(),i=pe({mode:"onBlur",reValidateMode:"onChange",defaultValues:J(e.people,o,y,p,D,b,v),values:J(e.people,o,y,p,D,b,v)}),se=i.handleSubmit(()=>{V()&&m()},()=>{V(),console.warn("Edit Profile form error")}),V=()=>{const f=i.getValues();let r=!0;return f.userItems.forEach((g,x)=>{const{role:B,department:a,nonZeniRole:h,manager:c}=g;if(p==="zeni_only"){const s=B.selectedOptions;(!s?.length||s?.length===1&&s?.includes("company_officer"))&&(i.setError(`${R}.${x}.role`,{type:"required"}),r=!1)}else{const s=h?.userRole.selectedRole;(s!=null&&h!=null?h.productsByUserRole[s].map($=>$.selectedOption).filter($=>$!=null):[]).length<1&&(i.setError(`${R}.${x}.nonZeniRole.userRole.selectedRole`,{type:"required"}),r=!1),s!=="investor_or_banker"&&a?.selectedOption==null&&(b||v||(i.setError(`${R}.${x}.department`,{type:"required"}),r=!1)),c?.selectedUser==null&&s!=="investor_or_banker"&&(i.setError(`${R}.${x}.manager`,{type:"required"}),r=!1)}}),r},ne=async(f,r)=>{const g=[],{userItems:x}=r,B=e.person?.userRole?.userRoleId;x.forEach(a=>{let h={};if(B!=null){if(p==="zeni_only")h={email:a.email,role:a.role.selectedOptions};else{const c=a.nonZeniRole?.userRole.selectedRole;let s=[];c==="admin"||c==="investor_or_banker"?s.push(c):s=c!=null?(a.nonZeniRole?.productsByUserRole[c]??[]).map(E=>_e(E.selectedOption?.value)).filter(E=>E!=null):[],c==="employee"&&s.length===0&&s.push("reimbursements_user");const $=je(s);h={email:a.email,role:s,departmentId:$?void 0:a.department?.selectedOption?.value,managerId:$?void 0:a.manager?.selectedUser}}g.push(h)}}),Y(g)};w.useEffect(()=>{const f=i.watch((r,{name:g})=>{g!=null&&r!=null&&ne(g,r)});return()=>{f.unsubscribe()}});const oe=()=>{S(!0)},re={onOkClick:()=>{const f=e.person;U?.trackRemoveUserAccess(f.userRole.userRoles,f.userRole.userEmail),Q?.(e.person)},onCancelClick:()=>{S(!1)}},F=ce(e.person?.update),j=e.person?.update,le=d.deleteOverlay.description.replace("‘_user-name_’",`"${e.person?.user?.firstName} ${e.person?.user?.lastName}"`);return w.useEffect(()=>{j==null&&F==="removeUsers"&&(S(!1),_?.())},[j,F]),t.jsxs(t.Fragment,{children:[K===!0?t.jsx(ue,{titleComponent:t.jsx(ge,{children:d.deleteOverlay.title}),descriptionComponent:t.jsx(fe,{children:le}),primaryButtonText:d.deleteOverlay.remove,secondaryButtonText:d.deleteOverlay.cancel,action:re,proceedButtonVariant:"danger",isLoading:j==="removeUsers",isDisabled:j==="removeUsers",style:{background:G.colors.overlayColor},children:e.person?.user!=null?t.jsxs(t.Fragment,{children:[t.jsx(ze,{}),t.jsx(Le,{children:t.jsx(Ue,{src:e.person?.user.photo?.toString()??me,alt:e.person?.user.userId,loading:"lazy"})})]}):null}):null,t.jsx(he,{title:ee,backgroundColor:G.colors.grey4,style:{zIndex:4},onCloseClick:T,isTitleAlignLeft:C==="small"}),t.jsxs(ke,{"data-testid":L("edit-people-page-container"),windowSize:C,ref:te,children:[t.jsxs(Ee,{children:[t.jsx(ye,{personBasic:e.person?.user,styles:{height:n.sp6,width:n.sp6}}),t.jsxs(Se,{children:[t.jsx(De,{children:e.person?.user?.firstName?t.jsxs(Be,{children:[e.person?.user?.firstName??""," ",e.person?.user?.lastName??""]}):null}),t.jsx(Ze,{className:"delete-icon-wrapper","data-testid":L("edit-people-page-delete-icon-wrapper"),onClick:oe,children:t.jsx(be,{style:{padding:"2px 5px"},enterDelay:600,title:d.deleteOverlay.title,placement:"top",children:t.jsx(Ne,{windowsize:C})})})]})]}),t.jsx(ve,{...i,children:t.jsx("form",{id:`${M}_form`,onSubmit:se,children:t.jsx(Pe,{control:i.control,sectionId:R,deleteConfirmationIndex:X,updateDeleteConfirmationIndex:H,mode:p,isZeniTenant:k,classList:y,managersList:o,controllersList:O,customerRoleOptions:D,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isEdit:!0,person:e.person,analytics:U})})})]}),t.jsx(xe,{formId:`${M}_form`,"data-testid":L("edit-people-page-footer"),primaryBtn:{label:d.invitePage.update,style:{width:I.buttonWidth.value(C)},isLoading:e.updatePersonState.fetchState==="In-Progress",isDisabled:e.updatePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:d.invitePage.cancel,style:{width:I.buttonWidth.value(C)},shouldResetOnCancel:!1,onClick:T},separatorStyle:{marginRight:n.sp4}})]})},J=(e,o,y,O,p,k,T)=>{const _=y.map(m=>({label:m.fullyQualifiedAccountingClassName??"",value:m.classId,hoverText:m.accountingClassNumber}));return{[R]:[{userIndex:0,email:e[0].email,role:O==="zeni_only"?{allOptions:we.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:O!=="zeni_only"?{userRole:{selectedRole:Ie(e[0]?.role),allRootRole:Ce(k,T)},productsByUserRole:Re(e[0]?.role,p)}:void 0,manager:{allUsers:o,selectedUser:e[0]?.managerId?e[0]?.managerId:"no_manager"},department:{allOptions:_,selectedOption:_.find(m=>m.value===e[0]?.departmentId)}}]}},nt=(e,o)=>`${e}.${o}`,ke=l.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey4};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aO as li,d as ft,aw as wt,a9 as an,ay as Ii,aB as rn,q as Le,gf as ao,gh as ro,gi as lo,V as t,gC as so,ac as ln,cn as di,co as sn,cp as dn,aN as q,o as i,y as d,bA as Ti,bn as co,dq as uo,gj as mo,gu as cn,gp as Di,aP as un,ao as mn,gq as po,gD as Ve,ew as Ke,e$ as ci,gE as Bt,F as fe,k as xt,gF as ho,p as j,L as pn,aq as ui,c as a,bw as go,gs as yo,cD as bo,eE as mi,gG as Mt,fe as Se,cF as pi,fh as $e,cP as nt,eg as fo,fd as hn,b as Lt,cI as gn,cH as tt,eo as Te,ai as hi,gH as wo,fw as xo,cC as So,aT as ji,fq as $o,bv as vo,b9 as yn,u as Co,ef as ko,b6 as Ft,gk as Io,bT as bn,R as gi,M as fn,cX as wn,cg as Et,eS as To,b8 as Do,c$ as jo,fk as Oo,al as yi,n as Oi,bR as xn,b0 as Pi,cW as Po,am as Ro,cL as Sn,aL as Lo,gI as $n,gJ as si,g8 as Ri,gK as At,cV as Ao,ge as zo,bI as Bo,cU as Mo}from"./index-
|
|
1
|
+
import{aO as li,d as ft,aw as wt,a9 as an,ay as Ii,aB as rn,q as Le,gf as ao,gh as ro,gi as lo,V as t,gC as so,ac as ln,cn as di,co as sn,cp as dn,aN as q,o as i,y as d,bA as Ti,bn as co,dq as uo,gj as mo,gu as cn,gp as Di,aP as un,ao as mn,gq as po,gD as Ve,ew as Ke,e$ as ci,gE as Bt,F as fe,k as xt,gF as ho,p as j,L as pn,aq as ui,c as a,bw as go,gs as yo,cD as bo,eE as mi,gG as Mt,fe as Se,cF as pi,fh as $e,cP as nt,eg as fo,fd as hn,b as Lt,cI as gn,cH as tt,eo as Te,ai as hi,gH as wo,fw as xo,cC as So,aT as ji,fq as $o,bv as vo,b9 as yn,u as Co,ef as ko,b6 as Ft,gk as Io,bT as bn,R as gi,M as fn,cX as wn,cg as Et,eS as To,b8 as Do,c$ as jo,fk as Oo,al as yi,n as Oi,bR as xn,b0 as Pi,cW as Po,am as Ro,cL as Sn,aL as Lo,gI as $n,gJ as si,g8 as Ri,gK as At,cV as Ao,ge as zo,bI as Bo,cU as Mo}from"./index-qaSB49F0.js";import{a as S,S as kt}from"./sentry-D4D7HRQR.js";import{n}from"./mui-Fyk6sRCR.js";import{a as Fo}from"./liveblocks-BmXYR5uO.js";import{FI as Eo,bL as it,bP as vn,bo as Cn,bm as Li,FJ as Ai,bh as bi}from"./zeni-epic-state-I555vKHy.js";import kn from"./InvoiceUploadSection-by1gHnS2-ByjzglAY.js";import{r as No,f as zt,d as bt,p as fi,u as zi,h as ke}from"./types-DyvtCprH-NFPm5TaG.js";import{I as Wo}from"./LabeledCreatableSingleSelectField-Bsowq6Ia-CpyK3LNE.js";import{S as Uo}from"./CurrencySelectField-CbGyQ8Yq-BBTidwoM.js";import{e as _o}from"./BankAccountSection-BbX4r1dP-BVn949x0.js";import{W as Vo,A as qo}from"./BankAccountWarningSection-CqlrCLSb-4sdBnqih.js";import{o as Ho}from"./radio-default-CiSgisfh-DyFeMuig.js";import"./core-D7_k1EhP.js";import"./lottie--pGIoexZ.js";import"./analytics-CO_4s2X8.js";import"./recharts-j_eh1fXg.js";import"./lexical-CGMN4tXG.js";import"./utils-BTQ24URD.js";import"./AttachmentView-2FZ6X1gL-Cy8tYEtq.js";import"./uploadReceipts-CPw64UYa-C1oywu4M.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="cb268a14-c133-433c-ba5c-a0785a74d70b",e._sentryDebugIdIdentifier="sentry-dbid-cb268a14-c133-433c-ba5c-a0785a74d70b")}catch{}})();const Me=(e,o)=>`${e}.${o}`,Bi={largeLabelWidth:new d(120,120,160),paddingBottom:new d(a[3],a[2])},{spendManagement:{reimbursement:{reimbursementDetail:Ce}},dateFormat:Ko,common:Go}=fe.getLocalizedStrings(),Yo=({lineIndex:e,mileage:o,classList:r,defaultCurrency:c,sectionId:p,isReimbursementCommentingEnabled:C,isDisabled:m,isAddReimbursementDisabled:v,companyMileageConfigInfo:f,reimbursementId:l,classHierarchyList:k})=>{const w=Le(),s=wt(),y=Mt(),$=`dashboard_${s.currentTenant?.companyId}`,P=ft(),{formState:{errors:I},getValues:R,trigger:H}=nt(),L=Go.strings.empty,T=R(Me(p,"distanceInMiles")),B=Bi.largeLabelWidth.value(w),te=R(Me(p,"class")),ne=r.find(z=>z.classId===te?.selectedOption),oe=Me(p,"class"),Y=Te(I,oe);S.useEffect(()=>{te?.selectedOption!=null&&(ne?.isDeleted===!0||Y)&&H(oe)},[te?.selectedOption,ne?.isDeleted,r,oe,H]);const K={application:"dashboard",companyId:s.currentTenant?.companyId,tab:"reimbursement",entityId:l},F=z=>r.filter(ae=>ae.classId===z)[0]?.accountingClassNumber,Z=r.find(z=>z.classId===o.class),V={valueContainer:z=>({...z,padding:`2px ${i.sp3} !important`,overflow:"unset"}),singleValue:()=>({margin:0})};return t.jsxs(t.Fragment,{children:[t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.transactionDate`}),roomId:$,companyId:s.currentTenant?.companyId??L,companyName:s.currentTenant?.companyName??L,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("transactionDate",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Sn,{isDisabled:m,label:{label:Ce.transactionDate,width:B},style:{paddingBottom:Bi.paddingBottom.valuePx(w),width:"auto"},dateField:{name:Me(p,"transactionDate"),placeholder:Ce.datePlaceholder,defaultValue:o?.transactionDate,dateFormat:Ko.visual.defaultInput,autoComplete:"off",maxDate:bi(),registerOptions:{required:!0,validate:z=>!!z}}})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.distanceInMiles`}),roomId:$,companyId:s.currentTenant?.companyId??L,companyName:s.currentTenant?.companyName??L,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("distanceInMiles",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Ri,{isDisabled:v?"disabled":void 0,style:{width:"auto"},label:{label:Ce.distanceInMiles,width:B},formattedTextField:{type:"number",name:Me(p,"distanceInMiles"),placeholder:Ce.addMiles,defaultValue:o.distanceInMiles,registerOptions:{required:!0,validate:z=>z!=null?z>0:!0,min:.01},returnValueType:"floatValue",allowNegative:!1,isNumericString:!1,decimalScale:2}})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.amount`}),roomId:$,companyId:s.currentTenant?.companyId??L,companyName:s.currentTenant?.companyName??L,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("amount",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Ri,{isDisabled:"disabled",label:{label:Ce.amount,width:B},formattedTextField:{type:"number",name:Me(`${p}.amount`,"amount"),defaultValue:o.amount?.amount,placeholder:tt(Ce.amount),returnValueType:"floatValue",prefix:o.amount?.currencySymbol,allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:z=>z!=null?z>0:!0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto"},additionalInfoLabel:T!=null&&f?.mileageUnitAmount!=null?`${c.currencySymbol}${f?.mileageUnitAmount} per mile x ${T}`:void 0})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.memo`}),roomId:$,companyId:s.currentTenant?.companyId??L,companyName:s.currentTenant?.companyName??L,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("memo",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(pi,{isDisabled:m,label:{label:Ce.memo,width:B},style:{width:"auto"},text:{type:"text",name:Me(p,"memo"),placeholder:tt(Ce.memo),defaultValue:o.memo,autoComplete:"off",options:{pattern:$n}}})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.class`}),roomId:$,companyId:s.currentTenant?.companyId??L,companyName:s.currentTenant?.companyName??L,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("class",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,style:{borderRadius:`0 0 ${i.sp2} ${i.sp2}`},children:t.jsx(si,{isLoading:!1,label:{label:Ce.department,width:B},additionalLabelInfo:ne?.isDeleted===!0&&Te(I,Me(p,"class"))?Ce.deletedClassError:void 0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:Me(p,"class"),placeholder:tt(Ce.department),valueToId:z=>F(z),defaultValue:{selectedOption:Z?.classId,allOptions:Ke(k,[])},style:{width:"100%"},customStyleConfig:V,registerOptions:{required:!0,validate:z=>z?.selectedOption==null?!1:r.find(ae=>ae.classId===z?.selectedOption)?.isDeleted===!0?Ce.deletedClassError:!0}},style:{borderBottom:`1px solid ${P.colors.grey3}`,borderBottomLeftRadius:i.sp2,borderBottomRightRadius:i.sp2},fullWidthSelect:!0},Me(p,"class"))})]})},It=n.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey3};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import{d as T,F as b,aT as x,V as i,ax as v,o,H as p}from"./index-qaSB49F0.js";import{n as a}from"./mui-Fyk6sRCR.js";import{R as C}from"./TrendWithTransactions-_49jEzFf-D4MyPHxb.js";import"./sentry-D4D7HRQR.js";import"./liveblocks-BmXYR5uO.js";import"./core-D7_k1EhP.js";import"./recharts-j_eh1fXg.js";import"./zeni-epic-state-I555vKHy.js";import"./lottie--pGIoexZ.js";import"./analytics-CO_4s2X8.js";import"./lexical-CGMN4tXG.js";import"./utils-BTQ24URD.js";import"./TrendChart-Cb8wnBqS-Di_U3EIl.js";import"./chartTypes-wLUiIPlP-CGvYnBXb.js";import"./toCOABalancesWithID-CdKQhpIb-CFgx5sWA.js";import"./toChartData-BlyUYoV7-DsdeBaUU.js";import"./NoDataChart-DoN6Mneo-tV8Dt3om.js";import"./InsightsSection-26UEfz7s-DvD8Ccwt.js";import"./NavigationDots-U7wL0ya4-Br1fZ1mY.js";import"./TransactionList-B8eL6jhA-Di9L9RKc.js";import"./BoxItem-CZdVWyVJ-Ck7WXLSC.js";import"./commonDimensions-DGz_YafU-DaJiwvC8.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]="ff507118-0f47-4fcd-83f4-ecc8074a91c2",t._sentryDebugIdIdentifier="sentry-dbid-ff507118-0f47-4fcd-83f4-ecc8074a91c2")}catch{}})();const w=a.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
margin: ${o.sp0} ${o.sp0} ${o.sp0} ${o.sp0};
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
width: 100%;
|
|
6
|
+
height: 100%;
|
|
7
|
+
background-color: ${t=>t.theme.colors.grey5};
|
|
8
|
+
`,k=a.div`
|
|
9
|
+
padding-left: ${o.sp0};
|
|
10
|
+
position: fixed;
|
|
11
|
+
width: 100%;
|
|
12
|
+
z-index: 20;
|
|
13
|
+
position: -webkit-sticky;
|
|
14
|
+
position: sticky;
|
|
15
|
+
top: ${o.sp0};
|
|
16
|
+
`,D=a.div`
|
|
17
|
+
flex: 1 1 auto;
|
|
18
|
+
`;function J({firstMonthOfFY:t,selectedEntity:e,trendWithTransactionsReport:r,autoCompleteData:c,autoCompleteActions:l,analytics:s,onTransactionItemClick:m,onTrendSelectedPeriodChange:f}){const u=T(),{dateFormat:{analytics:y}}=b.getLocalizedStrings(),g=new x(u.colors.graphColor12),h=(d,n)=>{d==="Chart"&&n!=null&&s?.trackSpendIncomeTrend(e.type==="vendor"?p.Event.spendTrend:p.Event.incomeTrend,"Search",e.type,e.name,n?.addTimePeriod.startDate.format(y.MMMYYFormat)),d==="TransactionListLoadMore"&&s?.trackTransactionList(void 0,void 0,"Search",void 0,void 0,!0),f?.(n)};return i.jsxs(w,{children:[i.jsx(k,{children:i.jsx(v,{viewType:"entity_search",searchAutoComplete:{autoCompleteData:c,autoCompleteActions:l},source:"EntityDetailPage"})}),e!=null&&r!=null&&i.jsx(D,{children:i.jsx(C,{firstMonthOfFY:t,trendWithTransactionsReport:r,isDetailPage:!1,graphColor:g,page:"EntityDetailPage",onTransactionItemClick:m,onTimePeriodChange:h})})]})}export{J as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as z,F as L,V as i,dm as O,y as l,cZ as _,o as d,aa as j,aL as S,b2 as A,cr as E,c as r,a as F,am as R,al as k,b8 as B,ai as N,cw as U,p as W,cz as G}from"./index-
|
|
1
|
+
import{q as z,F as L,V as i,dm as O,y as l,cZ as _,o as d,aa as j,aL as S,b2 as A,cr as E,c as r,a as F,am as R,al as k,b8 as B,ai as N,cw as U,p as W,cz as G}from"./index-qaSB49F0.js";import{a as f}from"./sentry-D4D7HRQR.js";import{n}from"./mui-Fyk6sRCR.js";import{l as Z}from"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="b38f488d-0c3d-4b2d-9353-c4e4e69113c9",e._sentryDebugIdIdentifier="sentry-dbid-b38f488d-0c3d-4b2d-9353-c4e4e69113c9")}catch{}})();const w=L.getLocalizedStrings().reports.aging.agingDetail.header,m=[{key:"date",value:w.date,sortOrder:"ascending",width:new l(212,212)},{key:"invoiceNumber",value:w.invoiceNumber,sortOrder:"ascending",width:new l(188,188)},{key:"dueDate",value:w.dueDate,sortOrder:"ascending",width:new l(188,188)},{key:"daysPastDue",value:w.daysPastDue,sortOrder:"ascending",width:new l(188,188)},{key:"amount",value:w.amount,sortOrder:"ascending",width:new l(188,188)},{key:"balance",value:w.balance,sortOrder:"ascending",width:new l(120,120)}],M={headerHeight:new l(45,58)},q=n.div`
|
|
2
2
|
top: ${d.sp0};
|
|
3
3
|
left: ${d.sp0};
|
|
4
4
|
min-height: ${e=>M.headerHeight.valuePx(e.windowSize)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as X,q as le,cb as de,V as t,g2 as U,aN as v,bM as ce,p as a,bR as F,o as r,bA as he,
|
|
1
|
+
import{d as X,q as le,cb as de,V as t,g2 as U,aN as v,bM as ce,p as a,bR as F,o as r,bA as he,k7 as pe,b as d,hL as _,hK as R,n as me,bv as ue,ag as ge,k8 as Ce,k9 as ke,F as k,ci as xe,a as fe,bI as je,ai as h,av as Q,al as ye,l as ve,b6 as $e,a_ as be,b8 as ee}from"./index-qaSB49F0.js";import{a as n}from"./sentry-D4D7HRQR.js";import{n as o,c as te,k as Le}from"./mui-Fyk6sRCR.js";import{bh as re,bL as we}from"./zeni-epic-state-I555vKHy.js";import{U as Me,F as Ee,X as We,Y as Se,J as De,G as He}from"./recharts-j_eh1fXg.js";import"./liveblocks-BmXYR5uO.js";import"./core-D7_k1EhP.js";import"./lottie--pGIoexZ.js";import"./analytics-CO_4s2X8.js";import"./lexical-CGMN4tXG.js";import"./utils-BTQ24URD.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="99615db9-f71c-47eb-8160-1ae570f6d4d9",e._sentryDebugIdIdentifier="sentry-dbid-99615db9-f71c-47eb-8160-1ae570f6d4d9")}catch{}})();const Pe=k.getLocalizedStrings().expenseAutomation,Ve=k.getLocalizedStrings().dateFormat.visual,{common:{strings:{percentage:ze},texts:{score:Fe}}}=k.getLocalizedStrings(),_e=({active:e,payload:i})=>{if(e===!1||e===void 0||!i||i.length===0)return null;const c=i[0]?.value;return c==null?null:t.jsxs(Ie,{children:[t.jsx(Ne,{children:Fe}),t.jsxs(Ze,{children:[c,ze]})]})};function Re({data:e,height:i}){const c=X(),L=e.map(x=>({month:we(`${x.period.year}-${String(x.period.month).padStart(2,"0")}-01`).format(Ve.MMMYYFormat),count:Math.round(x.auditScore)}));return t.jsxs(Ye,{children:[t.jsx(Te,{children:Pe.overview.monthEndCloseTrend}),t.jsx(Me,{height:i,width:"100%",children:t.jsxs(Ee,{data:L,children:[t.jsx("defs",{children:t.jsxs("linearGradient",{id:"scoreGradient",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx("stop",{offset:"0%",stopColor:a.brandColorJade,stopOpacity:.8}),t.jsx("stop",{offset:"100%",stopColor:a.brandColorJade,stopOpacity:.1})]})}),t.jsx(We,{dataKey:"month",axisLine:{stroke:c.colors.grey3},tickLine:!1,interval:"preserveStartEnd",label:{color:c.colors.hero,fontSize:d.smallRegular.fontSize,fontWeight:d.smallRegular.fontWeight,fontFamily:d.smallRegular.fontFamily}}),t.jsx(Se,{hide:!0}),t.jsx(De,{content:_e,cursor:{stroke:c.colors.primary,strokeDasharray:"3 3",strokeWidth:1},allowEscapeViewBox:{x:!1,y:!0}}),t.jsx(He,{type:"monotone",dataKey:"count",stroke:a.brandColorJade,strokeWidth:2,fill:"url(#scoreGradient)",dot:!1,activeDot:{r:5,fill:a.neutralGrey4Light,stroke:a.brandColorJade,strokeWidth:2}})]})})]})}const Te=o(h)`
|
|
2
2
|
color: ${e=>e.theme.colors.champion};
|
|
3
3
|
`,Ye=o.div`
|
|
4
4
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{o,bT as ca,q as ke,gf as es,gg as ts,V as t,cn as da,aa as Pe,aP as ns,c as g,F as Ie,co as ua,d as bt,bA as ha,i2 as pa,aL as Ue,bR as ye,y as ee,bu as ma,aN as B,i0 as ga,al as _e,gW as xa,gO as os,bv as fa,bN as Dt,b6 as is,ai as vt,bI as ss,p as Xe,
|
|
1
|
+
import{o,bT as ca,q as ke,gf as es,gg as ts,V as t,cn as da,aa as Pe,aP as ns,c as g,F as Ie,co as ua,d as bt,bA as ha,i2 as pa,aL as Ue,bR as ye,y as ee,bu as ma,aN as B,i0 as ga,al as _e,gW as xa,gO as os,bv as fa,bN as Dt,b6 as is,ai as vt,bI as ss,p as Xe,kf as ya,g2 as Ca,am as pt,L as wa,gh as ba,gi as as,bn as va,ci as Sa,c0 as ja,ez as gn,bZ as jo,a9 as qt,bM as ko,ac as Jt,kg as ka,kh as Ia,ki as $a,kj as ln,kk as rs,kl as ls,km as La,kn as No,ko as Ta,dg as cs,kp as Aa,kq as Ea,kr as Ra,ks as Da,kt as Oa,ku as Ma,kv as _a,kw as za,kx as Fa,ky as Ba,kz as ds,kA as Pa,kB as Na,kC as Va,kD as Ha,gw as us,b2 as _n,cr as zn,k as hs,N as ps,w as ms,cC as xn,dO as Io,gs as Wa,fL as Ua,gZ as qa,aq as Ja,l as Ka,fw as Ga,aB as gs,kE as Ya,aT as $o,aO as Vo,gQ as xs,kF as Za,kG as Xa,kH as Qa,bD as fs,aR as er,gE as Rt,hS as Vn,ew as En,cP as Lo,ay as tr,ex as ys,di as nr,iO as or,dn as To,cw as Fn,cz as Bn,iv as nt,b as At,hF as ir,gx as Hn,je as Ho,de as Cs,cZ as hn,kI as sr,aY as ar,dm as ws,n as pn,il as bs,iw as yo,kJ as tn,e8 as vs,ea as Ss,iR as js,iS as ks,kK as rr,cX as Pn,im as Is,fk as $s,en as Wn,aH as Ao,kL as lr,cV as cr,aW as Ls,iD as dr,dM as ur,ao as ft,kM as hr,kN as pr,b0 as Un,ej as mr,a8 as gr,ek as xr,el as fr,em as yr,ep as Wo,eq as Uo,er as Cr,kO as wr,a_ as br,eB as vr,eC as Sr,eD as jr}from"./index-qaSB49F0.js";import{a as s,S as Ts}from"./sentry-D4D7HRQR.js";import{n as a,c as Ze,k as Eo}from"./mui-Fyk6sRCR.js";import{bh as qn,Gi as qo,Gj as mn,Gk as kr,Gl as Ir,cx as $r,bL as Co,cy as Lr,EN as Jo,cz as Tr,cA as Ar,l8 as cn,bE as Nt,Gm as Ko,c4 as As,Gn as Er,bY as Rr,bo as Vt,Go as Dr,Gp as Es,Gq as Rs,Gr as Ds,Gs as Os,Gt as Ms,Gu as Ro,kU as Or}from"./zeni-epic-state-I555vKHy.js";import{r as _s,I as zs,n as nn,R as ht}from"./CollapsableReportTable-BS7TgK8B-Ck1A0h-X.js";import{N as Jn}from"./AccountRow-B16HgkVQ-dG_dWaCL.js";import{o as Fs}from"./mapTimeframeBalancesToTreeNode-ph17cvaS-DS1-lnZY.js";import{d as Go}from"./mapLoadingInProgressToTreeNode-Dn79CwqB-DWPPY5_g.js";import{h as Mr}from"./VendorsAccountsSection-DlO_YtSs-DR5OkKrn.js";import{u as _r,c as Yo,d as zr,m as Fr}from"./uploadAttachment-BkEbu6k9-DdujAAv5.js";import"./liveblocks-BmXYR5uO.js";import"./core-D7_k1EhP.js";import"./recharts-j_eh1fXg.js";import"./lottie--pGIoexZ.js";import"./analytics-CO_4s2X8.js";import"./lexical-CGMN4tXG.js";import"./utils-BTQ24URD.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]="e5ebde0c-b919-47a5-9895-97fc449af5c3",e._sentryDebugIdIdentifier="sentry-dbid-e5ebde0c-b919-47a5-9895-97fc449af5c3")}catch{}})();const{common:{navBar:{back:Br},texts:{refresh:Pr,close:Nr,copy:Vr,copied:Hr,open:Wr}},expenseAutomation:{common:{numbers:{maximumCount:Ur}}}}=Ie.getLocalizedStrings(),qr=a(Wa)`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: ${o.sp4};
|
|
4
4
|
height: ${o.sp4};
|
package/dist/assets/{ExpressPayPage-CDowSjHC-DolGHHJS.js → ExpressPayPage-CEf0O3S_-C7xNk40H.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import{d as Re,q as G,F as q,a9 as et,aO as De,cC as tt,V as t,bA as it,ac as at,aP as nt,y as f,o as n,
|
|
1
|
+
import{d as Re,q as G,F as q,a9 as et,aO as De,cC as tt,V as t,bA as it,ac as at,aP as nt,y as f,o as n,kQ as lt,kR as ot,kS as rt,cI as Ve,cF as dt,eY as st,fA as ct,fB as pt,cH as Ae,g8 as mt,kT as ut,cL as ht,cM as yt,f3 as ze,f4 as ke,fd as Oe,b as ge,c as u,ff as gt,b9 as ft,b6 as be,p as Ee,am as xt,ar as We}from"./index-qaSB49F0.js";import{a as J}from"./sentry-D4D7HRQR.js";import{n as d}from"./mui-Fyk6sRCR.js";import{bL as qe,bh as le,bP as He,bH as bt,bo as wt}from"./zeni-epic-state-I555vKHy.js";import{Y as vt}from"./LabeledDocumentField-DHqxzbx7-DKNafkiA.js";import{S as te}from"./LabeledText-DMjMKupg-DYP6gFxm.js";import"./liveblocks-BmXYR5uO.js";import"./core-D7_k1EhP.js";import"./recharts-j_eh1fXg.js";import"./lottie--pGIoexZ.js";import"./analytics-CO_4s2X8.js";import"./lexical-CGMN4tXG.js";import"./utils-BTQ24URD.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="d02ce0a8-3cf6-4386-968b-928a3fe801f5",e._sentryDebugIdIdentifier="sentry-dbid-d02ce0a8-3cf6-4386-968b-928a3fe801f5")}catch{}})();const St={progressBarWidth:new f(343,726)},jt=({pageIndex:e})=>{const i=G(),a=Re(),s=q.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.progressBar,h=[s.stateOne,s.stateTwo,s.stateThree];return i==="small"?t.jsxs($t,{children:[t.jsx(lt,{coloredSectionCount:e,stretchedSection:1,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1,topMargin:8}),t.jsx(Tt,{children:h.map((p,l)=>t.jsx(Ft,{isLast:l==h.length-1,isRelevant:l<=e,perSectionHeight:100/h.length,children:t.jsx(Le,{children:p})},l))})]}):t.jsxs(Ct,{windowSize:i,children:[t.jsx(ot,{coloredSectionCount:e,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1}),t.jsx(Pt,{children:h.map((p,l)=>t.jsx(It,{stateIndex:l,isRelevant:l<=e,children:t.jsx(Le,{children:p})},p))})]})},Ct=d.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
margin-top: ${n.sp3};
|
|
5
5
|
position: relative;
|
|
6
6
|
width: ${e=>St.progressBarWidth.valuePx(e.windowSize)};
|
|
7
|
-
|
|
7
|
+
`,$t=d.div`
|
|
8
8
|
display: flex;
|
|
9
9
|
flex-direction: row;
|
|
10
10
|
position: relative;
|
|
@@ -13,7 +13,7 @@ import{d as Re,q as G,F as q,a9 as et,aO as De,cC as tt,V as t,bA as it,ac as at
|
|
|
13
13
|
margin-left: ${n.sp2};
|
|
14
14
|
margin-bottom: ${n.sp5};
|
|
15
15
|
align-self: flex-start;
|
|
16
|
-
|
|
16
|
+
`,Pt=d.div`
|
|
17
17
|
display: flex;
|
|
18
18
|
margin: ${n.sp3} ${n.sp0};
|
|
19
19
|
justify-content: space-between;
|
|
@@ -38,7 +38,7 @@ import{d as Re,q as G,F as q,a9 as et,aO as De,cC as tt,V as t,bA as it,ac as at
|
|
|
38
38
|
position: relative;
|
|
39
39
|
height: ${e=>`${e.perSectionHeight}%`};
|
|
40
40
|
color: ${e=>e.isRelevant?e.theme.colors.primary:e.theme.colors.grey2};
|
|
41
|
-
`,I={containerWidth:new f(343,580,726),labelWidth:new f(120,160,160),largeLabelWidth:new f(150,228,228),largeLabelPickerWidth:new f(100,180,180),paddingBottom:new f(u[3],u[2]),labelMarginLeftPicker:new f(u[3],u[4]),labelMarginRightPicker:new f(u[3],u[4]),labelMarginTopPicker:new f(u[2],u[2]),labeledFieldPaddingLeft:new f(u[0],u[0]),labeledFieldPaddingRight:new f(u[2],u[2]),labeledFieldPaddingTop:new f(u[2],u[2]),labeledFieldPaddingBottom:new f(u[2],u[2]),infoLabelPaddingRight:new f(u[0],u[3]),infoLabelMarginTop:new f(u[1],u[0])},V=(e,i)=>`${e}.${i}`,Dt=({sectionId:e,paymentDetails:i,allPaymentMethods:a,paymentToOptions:s,withdrawFromList:h,internationalVerificationStatus:p,fileProps:l,receiptFile:T,deleteFileStatusById
|
|
41
|
+
`,I={containerWidth:new f(343,580,726),labelWidth:new f(120,160,160),largeLabelWidth:new f(150,228,228),largeLabelPickerWidth:new f(100,180,180),paddingBottom:new f(u[3],u[2]),labelMarginLeftPicker:new f(u[3],u[4]),labelMarginRightPicker:new f(u[3],u[4]),labelMarginTopPicker:new f(u[2],u[2]),labeledFieldPaddingLeft:new f(u[0],u[0]),labeledFieldPaddingRight:new f(u[2],u[2]),labeledFieldPaddingTop:new f(u[2],u[2]),labeledFieldPaddingBottom:new f(u[2],u[2]),infoLabelPaddingRight:new f(u[0],u[3]),infoLabelMarginTop:new f(u[1],u[0])},V=(e,i)=>`${e}.${i}`,Dt=({sectionId:e,paymentDetails:i,allPaymentMethods:a,paymentToOptions:s,withdrawFromList:h,internationalVerificationStatus:p,fileProps:l,receiptFile:T,deleteFileStatusById:P,updateFileStatusById:x,onClickAddAccount:w})=>{const o=G(),{spendManagement:D,dateFormat:y,common:C}=q.getLocalizedStrings(),$=D.billPay.billDetails,X=y.visual.defaultInput,re=D.zeniAccounts.expressPay,de=C.documents,H=I.largeLabelWidth.value(o),[g,Z]=J.useState(!1),Y=a.filter(r=>r.method.includes(i?.withdrawFrom?.accType??"depositAccount")&&r.method.includes(bt)===!1),A=r=>s.find(m=>m.id===r),L=r=>ze(A(r)),se=()=>{let r=[];return i?.paymentType?.method.includes("wire")===!0?r=s.filter(m=>!!m.bankRoutingNumberWireTransfer).map(m=>m.id):r=s.filter(m=>!!m.bankRoutingNumberAch).map(m=>m.id),r},ce=r=>{const m=A(r),j=q.getLocalizedStrings().spendManagement.billPay;return i?.paymentType?.method.includes("ach")===!0?t.jsxs(fe,{children:[t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.achDetails.bankRoutingNumber}),t.jsx(E,{children:m?.bankRoutingNumberAch??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.achDetails.bankName}),t.jsx(E,{children:m?.bankName??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.achDetails.bankAccountNumber}),t.jsx(E,{children:m?.bankAccountNumber??j.vendorCreation.emptyPlaceholderString})]})]}):i?.paymentType?.method.includes("wire")===!0?i.paymentType?.method.includes("international")===!0?t.jsx(fe,{children:m?.piLabels.map(_=>t.jsxs(W,{children:[t.jsxs(z,{children:[_.name,j.paymentDetails.colon]}),t.jsx(E,{children:_.value})]},_.name))}):t.jsxs(fe,{children:[t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.wireDetails.bankRoutingNumber}),t.jsx(E,{children:m?.bankRoutingNumberWireTransfer??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.achDetails.bankName}),t.jsx(E,{children:m?.bankName??j.vendorCreation.emptyPlaceholderString})]}),t.jsxs(W,{children:[t.jsx(z,{children:j.vendorCreation.wireDetails.accountNumber}),t.jsx(E,{children:m?.bankAccountNumber??j.vendorCreation.emptyPlaceholderString})]})]}):""};return t.jsxs(t.Fragment,{children:[t.jsx(At,{children:$.paymentDetailsTitle}),t.jsxs(kt,{windowSize:o,children:[t.jsx(st,{label:{label:$.withdrawFrom,width:H,style:{marginLeft:I.labelMarginLeftPicker.valuePx(o),marginTop:I.labelMarginTopPicker.valuePx(o),marginRight:I.labelMarginRightPicker.valuePx(o),width:I.largeLabelPickerWidth.value(o)}},style:{paddingTop:I.labeledFieldPaddingTop.valuePx(o),paddingBottom:I.labeledFieldPaddingBottom.valuePx(o),paddingLeft:I.labeledFieldPaddingLeft.valuePx(o),paddingRight:I.labeledFieldPaddingRight.valuePx(o),border:"none",width:"auto",display:o==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:o==="small"?"left":"right",paddingRight:I.infoLabelPaddingRight.valuePx(o),marginTop:I.infoLabelMarginTop.valuePx(o)},singleSelectPickerField:{name:V(e,"withdrawFrom"),placeholder:Ae($.withdrawFrom),style:{position:"relative"},capitalizeOptions:!0,isOptionRemovable:!1,showTickIcon:!1,valueToLogo:(r,m)=>pt(h,r,m),valueToSubLabels:(r,m)=>ct(h,r,m,!1),defaultValue:{selectedOption:i?.withdrawFrom?.id,allOptions:h.map(r=>({label:r.label,value:r.id}))},textAlignment:"right",registerOptions:{required:!0,validate:r=>r!=null&&!!r.selectedOption}}}),t.jsx(U,{}),t.jsx(mt,{showAdditionalInfoLabel:!1,label:{label:$.amount,width:H},formattedTextField:{type:"number",name:V(e,"amount"),defaultValue:i?.recipientAmount??0,placeholder:Ae($.amount),returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:r=>r!=null&&r!==0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,shouldHighlightZeroAmount:!0},style:{width:"auto"}}),t.jsx(U,{}),t.jsx(ut,{label:{label:$.paymentMethod,width:I.labelWidth.value(o)},style:{width:"auto"},disableOutline:!0,paymentSingleSelectField:{name:V(e,"paymentMethod"),placeholder:$.billTypeMethodPlaceholder,defaultValue:i?.paymentType,allPaymentMethods:Y,isAdmin:!0,internationalVerificationStatus:p,registerOptions:{required:!0,validate:r=>r!=null},onInternationalWireVerifyClick:()=>{}}}),t.jsx(U,{}),t.jsx(ht,{label:{label:$.paymentDate,width:I.labelWidth.value(o)},style:{paddingBottom:I.paddingBottom.valuePx(o),width:"auto"},dateField:{name:V(e,"paymentDate"),placeholder:$.paymentDate,dateFormat:X,autoComplete:"off",minDate:le(),registerOptions:{required:!0}}}),t.jsx(U,{}),t.jsx(Ve,{label:{label:$.paymentTo,width:H},style:{width:"auto"},isFunctional:!0,singleSelectField:{singleSelect:{name:V(e,"paymentTo"),placeholder:$.selectAccount,getTooltipInfo:ce,menuPlacement:"top",maxMenuHeight:308,isOptionRemovable:!1,showEyeIconOnSelect:!1,showVerifiedIcon:!0,onClickCreateBankAccount:w,showAddBankAccountOption:!0,showCollectPaymentDetailsOption:!1,getLabelForId:L},defaultValue:{selectedOption:i?.paymentType!=null?i?.paymentTo?.id:"",allOptions:i?.paymentType!=null?se():[]},registerOptions:{required:!0,validate:r=>r?.selectedOption!=null}}}),t.jsx(U,{}),t.jsx(vt,{name:V(e,"receipt"),sizeLimit:yt,deleteFileStatusById:P,updateFileStatusById:x,filesEndPoint:l.filesEndPoint,authParams:l.authParams,label:{label:re.reciept,width:H},filemetadataPayload:{documentType:"id_document",purposeId:"business_verification_others",documentSide:"front"},file:T,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:g,updateFilesEntity:l.updateFilesEntity,onEditFileName:l.onEditFileName,onDeleteFile:l.onDeleteFile,onFileSizeError:r=>Z(r),isOptional:!0,style:T!=null?{borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"}:void 0},V(e,"receipt")),T==null?t.jsx(Ot,{windowSize:o,isError:g,children:de.formatDocumentText10MB}):null,t.jsx(U,{})]})]})},At=d(be)`
|
|
42
42
|
color: ${e=>e.theme.colors.primary};
|
|
43
43
|
margin-bottom: ${n.sp3};
|
|
44
44
|
`,kt=d.div`
|
|
@@ -79,7 +79,7 @@ import{d as Re,q as G,F as q,a9 as et,aO as De,cC as tt,V as t,bA as it,ac as at
|
|
|
79
79
|
border-radius: ${n.sp0} ${n.sp0} ${n.sp2} ${n.sp2};
|
|
80
80
|
text-align: ${e=>e.windowSize==="small"?"initial":"right"};
|
|
81
81
|
color: ${e=>e.isError?Ee.important:e.theme.colors.grey1};
|
|
82
|
-
`,Lt={largeLabelWidth:new f(150,210,210)},ie=(e,i)=>`${e}.${i}`,Nt=({sectionId:e,vendorTypeList:i,formLocalData:a,vendorSearchAutoCompleteData:s,vendorSearchAutoCompleteActions:h})=>{const p=G(),l=q.getLocalizedStrings().spendManagement.zeniAccounts.expressPay,T=Lt.largeLabelWidth.value(p)
|
|
82
|
+
`,Lt={largeLabelWidth:new f(150,210,210)},ie=(e,i)=>`${e}.${i}`,Nt=({sectionId:e,vendorTypeList:i,formLocalData:a,vendorSearchAutoCompleteData:s,vendorSearchAutoCompleteActions:h})=>{const p=G(),l=q.getLocalizedStrings().spendManagement.zeniAccounts.expressPay,T=Lt.largeLabelWidth.value(p),P=J.useRef();J.useEffect(()=>{s?.entityAutoCompleteView.fetchState==="Completed"&&P.current?.(Mt(s?.entityAutoCompleteView))},[s?.entityAutoCompleteView.fetchState]);const x={vendorSearchAutoCompleteData:s,loadOptions:(y,C)=>{h?.onAutoCompleteInputChange?.(y,"vendor"),P.current=C}},w=x?.vendorSearchAutoCompleteData?.autoCompleteText!=null&&(x?.vendorSearchAutoCompleteData?.entityAutoCompleteView.fetchState==="In-Progress"||x?.vendorSearchAutoCompleteData?.entityAutoCompleteView.fetchState==="Not-Started"),o={defaultOptions:Ye(a?.vendorId,a?.vendorName,s?.entityAutoCompleteView),selectedOption:a?.vendorId??a?.vendorName??""},D={valueContainer:y=>({...y,padding:`2px ${p==="small"?n.sp2:n.sp3} !important`,overflow:"unset"}),singleValue:y=>({...y,margin:0}),placeholder:y=>({...y,fontWeight:"normal"})};return t.jsxs(t.Fragment,{children:[t.jsx(Bt,{children:l.recipientSectionTitle}),t.jsx(Rt,{children:t.jsxs(Vt,{children:[t.jsx(rt,{label:{label:l.recipientName,width:T},addIconInCreateLabel:!0,autoCompleteSingleSelectField:{name:ie(e,"recipient"),placeholder:p==="small"?l.placeholders.recipientNameMobile:l.placeholders.recipientName,valueToId:y=>y,defaultValue:{...o},style:{width:"100%"},customStyleConfig:D,registerOptions:{required:!0,validate:y=>y!=null&&!!y.selectedOption},loadOptions:x?.loadOptions,isOptionsLoading:w,makeCreateOptionSticky:!0,entity:"recipient"},style:{justifyContent:"space-between"},fullWidthSelect:!0},ie(e,"recipient")),t.jsx(Ne,{}),t.jsx(Ve,{label:{label:l.recipientType,width:T},singleSelectField:{singleSelect:{name:ie(e,"recipientType"),placeholder:l.placeholders.recipientType,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:y=>i.find(C=>C.code===y)?.name??"",showTickMark:!1,maxMenuHeight:250},defaultValue:{selectedOption:a?.vendorType,allOptions:i.map(y=>y.code)},registerOptions:{required:!0,validate:y=>!!y.selectedOption}},isFunctional:!0}),t.jsx(Ne,{}),t.jsx(dt,{showAdditionalInfoLabel:!1,label:{label:l.recipientEmail,width:T},text:{type:"email",name:ie(e,"recipientEmail"),placeholder:l.placeholders.recipientEmail,options:{required:!0}},style:{borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"}})]})})]})},Ye=(e,i,a)=>{if(e==null)return[];const s=a?.vendor?.find(h=>h.id===e);return s!=null||e!=null?[{label:s?.name??i??e??"",value:e??i??""}]:[]},Mt=e=>e?.vendor.map(i=>({label:i.name,value:i.zeniId,zeniId:i.zeniId}))??[],Bt=d(be)`
|
|
83
83
|
color: ${e=>e.theme.colors.primary};
|
|
84
84
|
margin-bottom: ${n.sp3};
|
|
85
85
|
`,Rt=d.div`
|
|
@@ -98,7 +98,7 @@ import{d as Re,q as G,F as q,a9 as et,aO as De,cC as tt,V as t,bA as it,ac as at
|
|
|
98
98
|
background-color: ${e=>e.theme.colors.grey3};
|
|
99
99
|
min-height: 1px;
|
|
100
100
|
max-height: 1px;
|
|
101
|
-
`,oe={containerWidth:new f(343,580,726),largeLabelWidth:new f(150,215,215),reviewContainerMarginLeft:new f(u[3],u[6]),reviewContainerMarginRight:new f(u[3],u[8])},zt=({vendorName:e,reviewDetails:i,paymentToOptions:a,style:s})=>{const h=G(),p=oe.largeLabelWidth.value(h),{billPay:l}=q.getLocalizedStrings().spendManagement,{dateFormat:T,common
|
|
101
|
+
`,oe={containerWidth:new f(343,580,726),largeLabelWidth:new f(150,215,215),reviewContainerMarginLeft:new f(u[3],u[6]),reviewContainerMarginRight:new f(u[3],u[8])},zt=({vendorName:e,reviewDetails:i,paymentToOptions:a,style:s})=>{const h=G(),p=oe.largeLabelWidth.value(h),{billPay:l}=q.getLocalizedStrings().spendManagement,{dateFormat:T,common:P}=q.getLocalizedStrings(),x=l.billDetails,w=i?.paymentType,o=T.visual.MMMDCommaYYYYformat,D={amount:i?.amount?.amount??0,currencyCode:P.currency.currencyCode,currencySymbol:P.currency.currencySymbol},y=ze(a.find(X=>X.id===i?.paymentToAccountId)),C=i?.paymentDate,$=ke(w?.method??"");return t.jsx(_t,{children:t.jsxs(Ut,{windowSize:h,style:s,children:[t.jsxs(Xt,{children:[t.jsx(ae,{children:x.pay}),t.jsx(ae,{children:t.jsx(Oe,{amount:D,integerStyles:ge.largeSemiBold.cssObject})}),t.jsx(ae,{children:x.to}),t.jsx(ae,{children:e})]}),t.jsxs(Jt,{windowSize:h,children:[t.jsx(te,{label:{label:x.withdrawFrom,width:p},style:{width:"auto",gap:u[3]},value:i?.withdrawFrom!=null?gt(i.withdrawFrom,h):P.strings.empty}),t.jsx(xe,{}),t.jsx(te,{label:{label:x.paymentMethod,width:p},style:{width:"auto"},value:ke(w?.method??"")}),t.jsx(xe,{}),C!=null?t.jsxs(t.Fragment,{children:[t.jsx(te,{label:{label:x.paymentDate,width:p},style:{width:"auto"},value:C.format(o),additionalInfoLabel:`${x.estimatedArrival}${qe(He(C.toDate(),[0,6],w?.maxPeriod.value??0).toDateString()).format(o)} - (${$.length>0?`${$} `:""}${x.deliveryTimeLabel} = ${w?.maxPeriod.value??"0"} ${x.deliveryTimeUnits})`}),t.jsx(xe,{})]}):null,t.jsx(te,{label:{label:x.paymentTo,width:p},style:{width:"auto"},value:y??""})]}),t.jsx(Wt,{children:t.jsxs(qt,{windowSize:h,children:[t.jsx(Ht,{children:t.jsx(Et,{children:l.paymentDetails.total})}),t.jsx(Yt,{children:t.jsx(Oe,{amount:wt(D.amount,D.currencyCode,D.currencySymbol),integerStyles:ge.h6Medium.cssObject,decimalStyles:ge.standardMedium.cssObject})})]})})]})})},Et=d.div``,Wt=d.div`
|
|
102
102
|
display: flex;
|
|
103
103
|
width: 100%;
|
|
104
104
|
box-sizing: border-box;
|
|
@@ -157,7 +157,7 @@ import{d as Re,q as G,F as q,a9 as et,aO as De,cC as tt,V as t,bA as it,ac as at
|
|
|
157
157
|
display: flex;
|
|
158
158
|
color: ${e=>e.theme.colors.primary};
|
|
159
159
|
margin-right: ${n.sp1};
|
|
160
|
-
`,Me="expressPayPage",Zt=e=>`${e}_form`,O="recipientDetails",F="paymentDetails",ne={buttonWidth:new f(160,140),largeButtonWidth:new f(166,166)},mi=({expressPayDetails:e,fileProps:i,analytics:a,accountId:s,onClickAddAccount:h,onSaveVendor:p,onVendorSelected:l,updateSelectedVendorForCreate:T,onBackClick
|
|
160
|
+
`,Me="expressPayPage",Zt=e=>`${e}_form`,O="recipientDetails",F="paymentDetails",ne={buttonWidth:new f(160,140),largeButtonWidth:new f(166,166)},mi=({expressPayDetails:e,fileProps:i,analytics:a,accountId:s,onClickAddAccount:h,onSaveVendor:p,onVendorSelected:l,updateSelectedVendorForCreate:T,onBackClick:P,saveVendorDetailLocalData:x,saveExpressPayLocalData:w,resetVendorSaveStatus:o,onSchedulePayment:D,initializeVendorAddress:y,vendorSearchAutoCompleteData:C,vendorSearchAutoCompleteActions:$,onEditFileName:X,onDeleteFile:re,updateFilesEntity:de})=>{const{vendorViewDetails:H,expressPayLocalData:g,vendorTypeList:Z,allPaymentMethods:Y,paymentToOptions:A,withdrawFromList:L,internationalWireOnboardingStatus:se,deleteFileStatusById:ce,updateFileStatusById:r,submitStatus:m,receiptFile:j,vendorSaveStatus:_}=e,[v,Q]=J.useState(0),_e=Re(),K=G(),{common:we,spendManagement:Ue}=q.getLocalizedStrings(),pe=we.footer,ve=we.currency,me=Ue.zeniAccounts.expressPay,{editVendorState:Se,newVendorState:je}=H,N=g?.vendorId!=null?Se?.vendorDetailLocalData:je?.vendorDetailLocalData,Ce=Object.assign({},Se??je),Je=N?.vendorName,$e=L.find(c=>c.id===s),ee=et({mode:"onBlur",reValidateMode:"onChange",defaultValues:Be(Z,L,A,$e,Y,N,g,j,C?.entityAutoCompleteView),values:Be(Z,L,A,$e,Y,N,g,j,C?.entityAutoCompleteView)}),Pe=De(Ce.saveStatus?.fetchState),Ie=De(m);J.useEffect(()=>{const c=ee.watch((S,{name:b})=>{b!=null&&S!=null&&tt(()=>Xe(b,S))});return()=>{c.unsubscribe()}}),J.useEffect(()=>{Pe==="In-Progress"&&_==="Completed"&&(v===0?(Q(1),o?.(g?.vendorId)):v===1&&Q(2)),Ie==="In-Progress"&&m==="Completed"&&P(g?.vendorId)},[Pe,_,v,o,g?.vendorId,Ie,m,P]);const Xe=async(c,S)=>{if(c!=="recipientDetails.recipientEmail")if(c==="recipientDetails.recipient"){const b=S[O].recipient.selectedOption,k=C?.entityAutoCompleteView.vendor.find(M=>M.zeniId===b);Ze(S),y(),N?.vendorId!==b&&k!=null&&(l?.(b),he(S,!1,A,b))}else if(c.includes("recipient"))ue(S);else{const b=S[F].paymentMethod?.method,k=g?.paymentType?.method,M=b!=null&&k!=null&&(b.toLowerCase().includes("ach")&&k.toLowerCase().includes("wire")||b.toLowerCase().includes("wire")&&k.toLowerCase().includes("ach"));he(S,M,A,g?.vendorId)}},Ze=c=>{const S=c[O].recipient.selectedOption,b=C?.entityAutoCompleteView.vendor.find(k=>k.id===S)!=null;if(S!=null&&b===!0){T?.(S),he(c,!1,A,S);return}ue(c,!0)},ue=(c,S)=>{const b=N?.vendorId,k=C?.entityAutoCompleteView.vendor.find(ye=>ye.zeniId===b)!=null,M=Kt(c,k===!0?b:void 0,N,S);x?.(M,b)},he=(c,S,b,k)=>{const M=(()=>{let B=[];return c[F].paymentMethod?.method.includes("wire")===!0?B=b.filter(R=>!!R.bankRoutingNumberWireTransfer).map(R=>R.id):B=b.filter(R=>!!R.bankRoutingNumberAch).map(R=>R.id),B})(),ye=b.find(B=>B.id===c[F]?.paymentTo?.selectedOption),Qe={vendorId:k,amount:{amount:c[F].amount,currencyCode:ve.currencyCode,currencySymbol:ve.currencySymbol},paymentDate:c[F].paymentDate?qe(c[F].paymentDate.toString()):le(),paymentType:c[F]?.paymentMethod!=null?c[F]?.paymentMethod:void 0,paymentToAccountId:S?M[0]:ye?.id,withdrawFrom:L.find(B=>B.id===c[F]?.withdrawFrom?.selectedOption),receiptFileId:c[F].receipt?.fileId};w?.(Qe)},Te=ee.handleSubmit(()=>{if(v===0||v===1){a.trackExpressPayNextClick(v===0?"Recipient Details":"Payment Details");const c=ee.getValues();ue(c),p(g?.vendorId)}else a.trackExpressPayScheduleClick(),D()}),Ke=()=>{v===2?Q(1):P(g?.vendorId)},Ge=()=>{v===0?P(g?.vendorId):Q(v===1?0:1)},Fe={withdrawFrom:g?.withdrawFrom,paymentTo:g?.paymentToAccountId!=null?A.find(c=>c.id===g?.paymentToAccountId):void 0,paymentDate:g?.paymentDate,paymentType:g?.paymentType??Y?.[0],recipientAmount:g?.amount?.amount};return t.jsxs(t.Fragment,{children:[t.jsx(it,{title:me.pageTitle,onBackClick:Ge,backgroundColor:_e.colors.grey4,hideSearchBtn:!0,source:"ExpressPayPage"}),t.jsxs(Gt,{windowSize:K,children:[t.jsx(jt,{pageIndex:v}),t.jsx(at,{...ee,children:t.jsx("form",{id:Me,onSubmit:Te,children:v===0?t.jsx(Nt,{sectionId:O,vendorTypeList:Z,formLocalData:N,vendorSearchAutoCompleteData:C,vendorSearchAutoCompleteActions:$}):v===1?t.jsx(Dt,{sectionId:F,paymentDetails:Fe,paymentToOptions:A,allPaymentMethods:Y,withdrawFromList:L,internationalVerificationStatus:se,fileProps:{...i,onEditFileName:X,onDeleteFile:re,updateFilesEntity:de},deleteFileStatusById:ce,updateFileStatusById:r,receiptFile:j,onClickAddAccount:()=>{const c=Fe?.paymentType;c!=null&&h(c)}}):v===2?t.jsx(zt,{reviewDetails:g,paymentToOptions:A,vendorName:Je}):null})})]}),t.jsx(nt,{formId:Zt(Me),style:{width:"100%"},primaryBtn:{label:v===2?le().isSame(g?.paymentDate,"date")?me.sendMoney:me.schedulePayment:pe.next,isLoading:v===0||v===1?Ce.saveStatus?.fetchState==="In-Progress":m==="In-Progress",style:{width:v===2?ne.largeButtonWidth.value(K):ne.buttonWidth.value(K),whiteSpace:"nowrap"},isDisabled:!1,onClick:()=>{Te()}},cancelBtn:{label:v===2?pe.edit:pe.cancel,style:{width:v===2?ne.largeButtonWidth.value(K):ne.buttonWidth.value(K),whiteSpace:"nowrap"},shouldResetOnCancel:!1,onClick:Ke}})]})},Be=(e,i,a,s,h,p,l,T,P)=>{const x=(()=>{let w=[];return l?.paymentType?.method.includes("wire")===!0?w=a.filter(o=>!!o.bankRoutingNumberWireTransfer).map(o=>o.id):w=a.filter(o=>!!o.bankRoutingNumberAch).map(o=>o.id),w})();return{[O]:{recipient:{defaultOptions:Ye(p?.vendorId,p?.vendorName,P),selectedOption:p?.vendorId??p?.vendorName??""},recipientEmail:p?.contacts?.[0]?.email??"",recipientName:p?.vendorName??"",recipientType:{allOptions:e.map(w=>w.code),selectedOption:p?.vendorType}},[F]:{paymentMethod:l?.paymentType??h?.[0],withdrawFrom:{selectedOption:l?.withdrawFrom?.id??s?.id??i[0]?.id,allOptions:i.map(w=>({label:w.label,value:w.id}))},amount:l?.amount.amount??0,paymentDate:l?.paymentDate?.toDate()??He(le().toDate(),[0,6],0),paymentTo:{allOptions:l?.paymentType!=null?x:[],selectedOption:l?.paymentToAccountId??x[0]},receipt:T}}};function Kt(e,i,a,s){const h=e[O].recipient.defaultOptions.find(p=>p.value===e[O].recipient.selectedOption);return{vendorType:s===!0?void 0:e[O].recipientType.selectedOption,vendorId:i,vendorName:h?.label??a?.vendorName,contacts:s===!0?[]:[{fullName:"",email:e[O].recipientEmail,phone:""}],bankAccountIds:s===!0?[]:a?.bankAccountIds??[],paymentInstrumentIds:s===!0?[]:a?.paymentInstrumentIds??[],vendorOwner:s===!0?void 0:a?.vendorOwner,isVendor1099:a?.isVendor1099,documentIds:a?.documentIds??[],fileIdsToBeDeleted:a?.fileIdsToBeDeleted??[],countryCode:s===!0?void 0:a?.countryCode,currencyCode:a?.currencyCode,currencySymbol:s===!0?void 0:a?.currencySymbol,deleteFileStatusById:a?.deleteFileStatusById??{},updateFileStatusById:a?.updateFileStatusById??{},recommendedCategory:a?.recommendedCategory,recommendedClass:a?.recommendedClass,isCategoryUpdateSelected:a?.isCategoryUpdateSelected??!1,isClassUpdateSelected:a?.isClassUpdateSelected??!1,isCategoryRecommendationPrefilled:a?.isCategoryRecommendationPrefilled??!0,isClassRecommendationPrefilled:a?.isClassRecommendationPrefilled??!0}}const Gt=d.div`
|
|
161
161
|
display: flex;
|
|
162
162
|
flex-wrap: wrap;
|
|
163
163
|
height: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as w,q as y,F as v,aT as n,p,V as i,cn as _,y as r,co as k,cp as x,c as g}from"./index-
|
|
1
|
+
import{d as w,q as y,F as v,aT as n,p,V as i,cn as _,y as r,co as k,cp as x,c as g}from"./index-qaSB49F0.js";import{n as d}from"./mui-Fyk6sRCR.js";import"./sentry-D4D7HRQR.js";import"./liveblocks-BmXYR5uO.js";import"./core-D7_k1EhP.js";import"./recharts-j_eh1fXg.js";import"./zeni-epic-state-I555vKHy.js";import"./lottie--pGIoexZ.js";import"./analytics-CO_4s2X8.js";import"./lexical-CGMN4tXG.js";import"./utils-BTQ24URD.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]="7062b7ed-42ff-47f3-baed-52b07bd23c93",e._sentryDebugIdIdentifier="sentry-dbid-7062b7ed-42ff-47f3-baed-52b07bd23c93")}catch{}})();const t={popupWidth:new r(200,468,468,468),buttonWidth:new r(140,160,160,160),popupContainerLeft:new r(g[0],g[0],255),popupContainerWidth:new r(100,100,85)},z=d.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
min-height: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as H,V as l,F as X,cP as q,eo as G,d as ee,cV as Q,y as L,ge as Z,o as i,aN as B,eg as ce,aB as le,g4 as pe,g5 as ue,n as he,p as u,c as g,gB as ge,cW as be,ex as ye,ao as ve,bF as we,b as W,dg as $e,bG as fe,bE as ke}from"./index-
|
|
1
|
+
import{q as H,V as l,F as X,cP as q,eo as G,d as ee,cV as Q,y as L,ge as Z,o as i,aN as B,eg as ce,aB as le,g4 as pe,g5 as ue,n as he,p as u,c as g,gB as ge,cW as be,ex as ye,ao as ve,bF as we,b as W,dg as $e,bG as fe,bE as ke}from"./index-qaSB49F0.js";import{n as d}from"./mui-Fyk6sRCR.js";import{a as V}from"./sentry-D4D7HRQR.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="a8664450-d950-4f1c-93ce-3c65bf42d30d",e._sentryDebugIdIdentifier="sentry-dbid-a8664450-d950-4f1c-93ce-3c65bf42d30d")}catch{}})();const v={width:new L(343,580,726),height:new L(g[6],g[6]),controlHeight:new L(g[6],g[6]),paddingLeftRight:new L(g[3],g[4]),paddingTop:new L(g[3],g[3]),paddingBottom:new L(g[3],g[2]),labelMarginRight:new L(g[3],g[4])};function je({isDisabled:e,label:s,firstText:t,secondText:p,style:$,isFieldError:k}){const f=H(),{formState:{errors:j}}=q(),m=G(j,t.name),T=G(j,p.name),r=ee();return l.jsxs(Te,{size:f,style:$,isDisabled:e!=null,isErrorFirstText:m,isErrorSecondText:T,"data-testid":B("labeled-multi-text-field",t.name),children:[l.jsx(Q,{isDisabled:e,label:s.label,style:{marginRight:v.labelMarginRight.value(f),width:s.width??"auto",color:r.colors.champion}}),l.jsxs(Oe,{labelWidth:s.width,children:[l.jsxs(ie,{className:"firstField",isDisabled:t.isDisabled,children:[l.jsx(Z,{type:t.type,name:t.name,placeholder:t.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:t.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:t.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),t.additionalInfoLabel&&t.isDisabled||m&&t.additionalErrorLabel?l.jsx(oe,{isError:m,children:m?t.additionalErrorLabel:t.additionalInfoLabel}):null]}),p.hideField?null:l.jsxs(l.Fragment,{children:[l.jsxs(Ie,{children:[l.jsx(se,{}),l.jsx(Le,{}),l.jsx(se,{})]}),l.jsxs(ie,{className:"secondField",isDisabled:p.isDisabled,children:[l.jsx(Z,{type:p.type,name:p.name,placeholder:p.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:p.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:p.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),l.jsx(oe,{isError:T,children:p.additionalInfoLabel})]})]})]})]})}const Te=d.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: flex-start;
|