@zeniai/web-cockpit-ui 1.15.3-qa → 1.15.4-qa
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-BTeL5y4g-Bayo5T5i.js → ACHDetailsPage-uGxVPurg-CSTBBuQO.js} +1 -1
- package/dist/assets/{AIPerformancePage-DbUM6qs6-D6WMVBny.js → AIPerformancePage-DqmxZNlX-CD4PTSl6.js} +1 -1
- package/dist/assets/{AccountInfoPage-C-UvpjYp-DGOEwcOg.js → AccountInfoPage-C2Dq8UPa-DbUqKkGr.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-BwD3P36S-H52_W4ix.js → AccountInfoPageContent-HVhR3c9c-BTAStM9V.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-CLssvxib-CM1Bcy93.js → AccountLockedInfoModal-DM9AQ-14-CoO7wjK9.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-BB1W1GCn-DuWqA8Ro.js → AccountReconDetailsDrawerPage-zcvYkXrD-Dbe0H637.js} +40 -40
- package/dist/assets/{AccountRow-Dqp3eLws-DiKGONOb.js → AccountRow-B3ULDo0k-C-jIzuWE.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-NTUKe73a-ByuyeLP7.js → AccountsPromoCardStack-CJZlWV2d-1dJ7ni4T.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-BRWhfaUV-CEBfTnLR.js → AddAddressForCardDrawer-Rm7tH3HQ-DZTmUgpi.js} +1 -1
- package/dist/assets/{AddToWalletPage-eU9RlrX2-jkWuQQnk.js → AddToWalletPage-DfB-vvqh-DUAF88ZP.js} +1 -1
- package/dist/assets/{AgingReportsPage-Dbj75D7L-CkjwKL8j.js → AgingReportsPage-__jUwahK-B6-kjXQe.js} +3 -3
- package/dist/assets/{AllUserItems-C8o0ftGM-CC5nJE8K.js → AllUserItems-Coo6Qik6-CvwzldZi.js} +3 -3
- package/dist/assets/{ApAgingDetailPage-oU_NMgYv-DD_oIPCC.js → ApAgingDetailPage-C1LyqY_A-CwTL7ATF.js} +2 -2
- package/dist/assets/{AppBasePage-Bb2EfHmS-BaLAasNp.js → AppBasePage-Cz2ddFfo-BclY1Wkm.js} +1 -1
- package/dist/assets/{AppDrawerContent-UxABc1Xq-BJXNWw54.js → AppDrawerContent-CObWehh2-DDaZ77eU.js} +5 -5
- package/dist/assets/{ApprovalRulesSettingsPage-ITDu42uI-Byi3Av05.js → ApprovalRulesSettingsPage-ZqKHe7B_-CU8TBRQ0.js} +1 -1
- package/dist/assets/{ArAgingChart-BxAOsEvx-BC9BFNfd.js → ArAgingChart-CjRE8wyO-DuIHY7ik.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-DhHW1GHw-bvIqkU2s.js → ArAgingDetailPage-DXjs7XAS-DXCvwuMN.js} +1 -1
- package/dist/assets/{AttachmentView-BnFvMAGW-BKYPBGjG.js → AttachmentView-C3WpRmXR-Bolhu6cG.js} +1 -1
- package/dist/assets/{BankAccountSection-C0ZBcrDN-DJoKvoq7.js → BankAccountSection-BigS_oOq-DdGfIYIY.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-BAMjtbnn-CO0inMH8.js → BankAccountWarningSection-Czlvc-qX-rUlWK1Jd.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-Ckpo_VYA-DTQcDqGV.js → BankConnectionsSettingsPage-BgliKI11-3RjzZ2Bg.js} +1 -1
- package/dist/assets/{BillDetailPage-D3lgSK4F-_PC4Dt3G.js → BillDetailPage-DNPgeuje-C8neAjYh.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage--UxMsaII-C9sBjBC1.js → BillPayApprovalRuleDetailPage-OrTzXAEP-QAGSeB_n.js} +5 -5
- package/dist/assets/{BillPayApprovalRulesPage-BgokSweY-Db8-I-Vw.js → BillPayApprovalRulesPage-DXcPkwwf-CiS_5AAk.js} +1 -1
- package/dist/assets/{BillPayPromoPage-Cmfp8aZE-BgDk3gHC.js → BillPayPromoPage-fBpp10um-DK5_Xpo1.js} +13 -13
- package/dist/assets/{BillPaySetUpPage-BmtV-Zr2-aqBLv3C0.js → BillPaySetUpPage-9iEVFLUa-SVF28UG7.js} +1 -1
- package/dist/assets/{BillingSettingsPage-BRJELj5Y-BEqC6Zwj.js → BillingSettingsPage-IL6J1DV0-Se1sNo_q.js} +8 -8
- package/dist/assets/{BillsBulkReviewDrawerPage-D0HYL5UR-DxbB0N2U.js → BillsBulkReviewDrawerPage-DcRTKRMw-BopU9rI-.js} +1 -1
- package/dist/assets/{BoxItem-BO8CYlnI-DId-cHKg.js → BoxItem-Cg9N_YPt-D0t-3bl5.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-DNOBs_OD-Dsf-B08F.js → BusinessVerificationPage-KZWTxmeh-ChQXq_Mg.js} +2 -2
- package/dist/assets/{CardNumberSubText-BgxVtjBP-B3Yoo3Lg.js → CardNumberSubText-DqtkAe0V-4_G8Lsb0.js} +1 -1
- package/dist/assets/{CashbackDetailPage-uVqHfc3a-Db2RtFRm.js → CashbackDetailPage-D-l7cqjW-DQ3Pl_mP.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-urxX5Ksv-C2Xx016z.js → ChargeCardDetailPage-ChwrpnhL-C74i3xWs.js} +1 -1
- package/dist/assets/{ChargeCardListPage-uyLpvqZN-ek1oL2Lq.js → ChargeCardListPage-zDV88I5X-7k0VThqH.js} +1 -1
- package/dist/assets/{ChargeCardListTable-CWBqYx4D-CeZ1g3d3.js → ChargeCardListTable-Cu1sCT_g-C0NdA71e.js} +1 -1
- package/dist/assets/{ChargeCardPaymentHistoryPage-CrJRk1Yl-BANohpa0.js → ChargeCardPaymentHistoryPage-Db6zW203-BuQibLL8.js} +1 -1
- package/dist/assets/{ChargeCardPromoPage-8p2rEuSL-CrIF3BTH.js → ChargeCardPromoPage-DsrTt5B0-D5poeoI3.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-Dk3kFOe8-C4GnOzsE.js → ChargeCardSetupPage-DcYthQvc-DDpbhz_U.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-BgVV9glv-Csf4xPzS.js → ChargeCardStatementsPage-DkUJKxIz-W8sJIYuD.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-D-yLGTdP-DfK57GuS.js → CheckDepositDrawerPage-C7rL0Ts2-DvlJgu1r.js} +1 -1
- package/dist/assets/{CollapsableReportTable-9GyG9N_I-Dm_EN2Cd.js → CollapsableReportTable-B0N8Ybey-lucDiVV7.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-CTO9aR2f-DJZvEbK-.js → CompanyOfficerDetailsSection-5DfSL2V8-DYZPeRCn.js} +1 -1
- package/dist/assets/{CompanyPassportCard-DRMGgEym-FxmYNftM.js → CompanyPassportCard-BLw_MMZR-WOarnR-d.js} +2 -2
- package/dist/assets/{CompanyPassportPage-CgEtnvFs-BGrc__Dg.js → CompanyPassportPage-BamWWVQB-56Enokzr.js} +1 -1
- package/dist/assets/{CompleteProfile-B8B0WHlc-DckZ5FcH.js → CompleteProfile-CPwV8diq-8P18d35b.js} +1 -1
- package/dist/assets/{ConfettiBurst-Cf9tVPaI-ga9gHcW_.js → ConfettiBurst-CJc1ZWFJ-3-Ap54Ud.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-BRoA1J_e-CL7PJuIa.js → CreateOrEditVendorPage-CDqjntBH-bCKETiwb.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-DfLgUaL5-BjGdyL8s.js → CreditCardPaymentDrawerPage-cBCHuatx-PXPlAMN0.js} +1 -1
- package/dist/assets/{CurrencySelectField-P0hAgQCu-BJOCIgj-.js → CurrencySelectField-kA2N_h2r-TVoT6MZb.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-B8Q88AWZ-D1HqImqn.js → CustomerOnboardingActivationPage-BU5SX7SV-dB7jbnPX.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-CY24zxv4-Dlglmitj.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CHfRyWDx-BKWyP_rC.js → CustomerOnboardingDetailPageSkeleton-DGG2nFxO-Dh4J5UV1.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-AHaRcpU7-CQI-lRkG.js → CustomerOnboardingNoStepsPage-Dx_Py2Fa-DzOp0_kE.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-M-yohbX--ChBZQ3jk.js → CustomerOnboardingPage-AHQX5bSN-DyVDcmlu.js} +1 -1
- package/dist/assets/CustomerOnboardingProductSuitePage-CJ9rX2hA-D_AGKikc.js +202 -0
- package/dist/assets/{Dashboard-BG4b-9G4-C54CR84x.js → Dashboard-BQGdcgDK-C1nmLdwJ.js} +1 -1
- package/dist/assets/{DashboardReportPage-BzRypSME-BlFSCtCq.js → DashboardReportPage-C9eB1Lz--CKXkiVgD.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-iToqk56B-BPnQ9fNh.js → DashboardSidebarBackgroundAnimation-Cu7qPhOd-HDfgdRgZ.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-LqdXkh9A-x0_IcHNW.js → DepositAccTransactionItem-DOcqx_qa-l3Aculh3.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-CdvLbfLi-B_vm9nE8.js → DepositAccTransactionListPage-gxOQSQ9a-DSufMjrN.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-B42h6sda-Do7iuxAn.js → DomesticWireDetailsPage-C_chbExL-CRI2B4vd.js} +1 -1
- package/dist/assets/{DownloadOverlay-BaDe2oAY-vG8XOYxq.js → DownloadOverlay-a0IFrzRd-D3xHdLjr.js} +1 -1
- package/dist/assets/{DrawerPage-CstJJdfo-CLRRsz-h.js → DrawerPage-D3ezgD8z-BT84_uAX.js} +1 -1
- package/dist/assets/{EditPeoplePage-DnOwrdDz-D0-a0dLw.js → EditPeoplePage-BnCysZo9-DOsQLMpG.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-CibEtPqY-Cy3OX0Vo.js → EditReimbursementDetailPage-BzKR9gus-DXDSnq7N.js} +1 -1
- package/dist/assets/{EntityDetailPage-DkdoV8Td-CF86X6BG.js → EntityDetailPage-B8vx2Mri-D3jt8mho.js} +2 -2
- package/dist/assets/{EntitySummarySection-mA5rFNgr-Bioc-Lb5.js → EntitySummarySection-B5pV5wTI-BHU_C13G.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-Cdb_ye_U-DmR85Pca.js → ExpenseAutomationOverviewPage-D25gPCR4-Dfqi0A-P.js} +8 -8
- package/dist/assets/{ExpenseAutomationPage-C8BdII8_-CS7TrM1T.js → ExpenseAutomationPage-BUAS2p9i-BpbTS8YU.js} +134 -134
- package/dist/assets/{ExpressPayPage-D-q6m2Sl-CIjalIP2.js → ExpressPayPage-DfIwfewF-DNrp1uq8.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-Brmih5xQ-C4-L_erz.js → FeaturePreviewPage-AXorSpml-V2Mh62fT.js} +1 -1
- package/dist/assets/{FollowStepsSection-C0R9691z-CWGjbLzM.js → FollowStepsSection-YR8SDxZC-TRiRAqO5.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-wZ4Kv7Km-Brm2bCqi.js → GlobalReviewListPage-CxH9D6qC-LJp8AeZZ.js} +1 -1
- package/dist/assets/{InformationCardStack-C_Vo9lw4-DPqc1CKN.js → InformationCardStack-GuTsARmk-CLzorLL7.js} +2 -2
- package/dist/assets/{InsightsCardStack-B18tApRg-BeGukMtE.js → InsightsCardStack-CmTNccBr-q2L1pr7k.js} +5 -5
- package/dist/assets/{InsightsSection-BT1h9fEy-CJvGL2eo.js → InsightsSection-Bu-MplmN-CDkIWrcN.js} +5 -5
- package/dist/assets/{IntegrationsSettingsPage-BXihQUgf-BBLd38xw.js → IntegrationsSettingsPage-JZMYvwgs-zsnKO8Tk.js} +1 -1
- package/dist/assets/{InternationalWireSwiftDetailsPage-s2KDdELd-BoRNPe2l.js → InternationalWireSwiftDetailsPage-CM50BUc0-BymHyzzP.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-seQdCIHj-DyA4sTpA.js → InternationalWireVerificationPage-Cg0oEA0I-D4laLv6p.js} +3 -3
- package/dist/assets/{InviteFormPage-DORYlkDF-BXlfKfEd.js → InviteFormPage-CDlB29vX-CQLcphyk.js} +1 -1
- package/dist/assets/{InvitePageListView-__0_bfoj-COkZ30vJ.js → InvitePageListView-74Ymz8Xr-6S5FKTrd.js} +1 -1
- package/dist/assets/{InvitePeoplePage-BPU0cUoJ-cklUE8EE.js → InvitePeoplePage-DxLF-5KU-9xQ616eR.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-Cf_VG6ou-DfHhidgK.js → InvoiceUploadSection-De-7n3RO-ByskKeOl.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-Ak_ZYHLC-CDt2l4oi.js → IssueChargeCardPage-CzKlIsrE-wJKAxEPa.js} +1 -1
- package/dist/assets/{LabeledAddressValue-Dv_iNmJ1-DqAFYxp0.js → LabeledAddressValue-CZwyvCy5-mzRhvk5Q.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-BOu3phtO-BRziDZTw.js → LabeledAddressValueField-k9TP-qlZ-C3UyFf5u.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-CPIKQ-CK-CyN_6bcD.js → LabeledControlledCheckBoxField-DBnXkX-G-BVvCdbZP.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-BfXHGTpW-Dm5nyQ4c.js → LabeledCountryMultiSelectField-CiWNHg9A--H0753C7.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-xk2HC5O8-Bm2kFWAo.js → LabeledCreatableSingleSelectField-DdVE_wVv-BxAFv7k5.js} +1 -1
- package/dist/assets/{LabeledDocumentField-D8RhxYIe-Bj-acypD.js → LabeledDocumentField-DGnh1cGh-BaCn_klM.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-ClNFgUx5-BHkyMdmL.js → LabeledDropDownFormattedTextField-BnaconeO-DhKbuFEk.js} +1 -1
- package/dist/assets/{LabeledMultiSelectField-BpLilatj-BH11dlTu.js → LabeledMultiSelectField-Bt5PGbgf-DEYw3JnO.js} +1 -1
- package/dist/assets/{LabeledText-Xnlcoee7-DvfegDLF.js → LabeledText-D9rbUJbs-9wMKxYu7.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DSu4gVyZ--L1WeXO_.js → LabeledUserSingleSelectWithSubtitlesField-DsstNVEx-Ds7lbv89.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-Dm6FC_X5-BUiLRpgZ.js → LabeledZeniRolesDropDownField-DhvE24vx-CMJcsG0B.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-D0tsT5TK-Dt679xSa.js → LinkJETransactionPage-CpttcuV1-DuV4F8Zk.js} +2 -2
- package/dist/assets/{LockCardPage-DYNFfr7G-WzPdjT5w.js → LockCardPage-FMI6xt1u-CaDqCq7u.js} +1 -1
- package/dist/assets/{LowBalancePopup-BHUFtl2y-Do5s3dTF.js → LowBalancePopup-UNnJZwgC-CkWspEoQ.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-Bwzk6331-DJfV3lU-.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-23WXWUBb-DJ6qKsHx.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-XqDeRmny-DL7ST80r.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-B-8mtcQ5-BdMJ3zDY.js → MagicLinkSuccessPage-MURH2rp8-CLSHC5Hv.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-DHU7VtF2-CDIRqEzx.js → MagicLinkTitleSection-Cyx2YimC-CumkPG7L.js} +1 -1
- package/dist/assets/MailingDetailsSection-Ro9Lxvtp-DaRqYLgY.js +21 -0
- package/dist/assets/{Menu-BumlrBWb-DAaXXUqk.js → Menu-XT10vy6U-CU6mTufV.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-BP8ahgjX-DpAxbKpR.js → MyBankConnectionsSettingsPage-BwD3OyXL-CYJkaop_.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-DL6ZI6yW-DqOwjxTj.js → MyPendingActivationChargeCardListPage-B4yQ0O4T-DshQIKqq.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-D0t4K8ns-Dyv1LhrC.js → MyProfileSettingsPage-Bb4QkILK-dnKU-rey.js} +5 -5
- package/dist/assets/{NavBarWithPicker-BtWbUncS-DGLoB_by.js → NavBarWithPicker-DhLovvzt-BucppuZh.js} +1 -1
- package/dist/assets/{NavigationArrow-CxgIRSy6-Bm1jcGzL.js → NavigationArrow-lK8LcatV-CeIdwn4T.js} +1 -1
- package/dist/assets/{NavigationDots-B3pcllxp-BxOTxmN3.js → NavigationDots-Dp0jKWtv-CRltAfKx.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-cvM5npvx-CxEGIqIG.js → NewGlobalMerchantPage-DFt03MpW-DlxPCqjn.js} +1 -1
- package/dist/assets/{NoDataChart-CkbRqqmB-BCbXiIwl.js → NoDataChart-BVStkyEY-D2SnG7M_.js} +1 -1
- package/dist/assets/{NoDataTable-D5uU7rww-DSFc65Kp.js → NoDataTable-CBglXVQp-Bo5PkCij.js} +1 -1
- package/dist/assets/{NotFoundPage-CQ43hKOe-B3l1yojZ.js → NotFoundPage-8N4Q0cRS-BFLKl-lt.js} +7 -7
- package/dist/assets/{NotificationSettingsPage-B1Lup2VT-BKtaafBP.js → NotificationSettingsPage--cl75C4Y-f1m5g0NX.js} +1 -1
- package/dist/assets/{NotificationsListConfig-DbMLqAOq-BzO50l3x.js → NotificationsListConfig-BvqUVi6A-B8H0H-lA.js} +1 -1
- package/dist/assets/{NotificationsPage-AB3KsQi7-BwAfardz.js → NotificationsPage-ClhmC4cD-DPPL3j0E.js} +1 -1
- package/dist/assets/{OpExByVendorPage-SzuZwalp-DSfQBVnB.js → OpExByVendorPage-B24tsc-s-kLP2AkBc.js} +1 -1
- package/dist/assets/{OverlayContainerPage-Daz3A7cI-iW6REHBm.js → OverlayContainerPage-Daz3A7cI-DZPeSqh9.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-SYjTIobN-C4Ryj-UT.js → PandLWithForecastPage-ChmIZfeB-ClSkfHo-.js} +2 -2
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-Bsx0mGaZ-CaRVFjjc.js → PaymentAccountSetupBillingAddressSection-rhNK3_SE-1vs8c8G7.js} +1 -1
- package/dist/assets/{PeoplePage-B5JrcDNI-Cj4s3SWx.js → PeoplePage-PetKjS8P-BPodINWd.js} +1 -1
- package/dist/assets/{Preview-DtV782hU.js → Preview-B0dy4K56.js} +1 -1
- package/dist/assets/{ProductsCarousel-CVoL_xl4-B9MwRfnz.js → ProductsCarousel-DzhNUiJk-j7XkXPk6.js} +1 -1
- package/dist/assets/{PromoBaseCards-C8qSUCzq-tsoJ2ZsF.js → PromoBaseCards-ZTN2uS4W-5Q0VbcDD.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-QFZbkFOA-tfio2TcG.js → QBOConnectionDialog-CBtavUIz-B6M_dsQg.js} +1 -1
- package/dist/assets/{QBOSetupSection-B2qiAlYU-DehOAWQC.js → QBOSetupSection-jcVYFWfP-C5e7X1Mu.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-iqzN8yeY-abubOT8z.js → ReimbursementApprovalRuleDetailPage-BoarRMWS-BectwrxR.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-BWFxJ80S-DGUKQot3.js → ReimbursementApprovalRulesPage-B5hHz-7T-Dv8WAEdQ.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-Cb9BOq4R-B75pOSaj.js → ReimbursementDetailPage-YfiCLu3C-CwkxO_yG.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-D-NSe4nk-B7aMfhWT.js → ReimbursementPromoPage-CC_zFd3U-CTzC3o_d.js} +4 -4
- package/dist/assets/{ReimbursementSetUpPage-zUHUxId8-UupCQLkC.js → ReimbursementSetUpPage-ChjBTodZ-BOCtoEcr.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CMupP_NB-DICk-cac.js → ReimbursementsBulkReviewDrawerPage-DOSDVT4u-eNIlif5R.js} +1 -1
- package/dist/assets/{ReloadCard-Dh0SYKvO-DLttYVfd.js → ReloadCard-qzpNu5-B-B1j5ZU_S.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-0H1aO3_G-CMsAYjZ0.js → ReportTableViewSelector-kzIQLZ5u-BhME63dM.js} +1 -1
- package/dist/assets/{ReportsPage-DsFJrJ9D-BMZEqJPZ.js → ReportsPage-DVZ3Rcn1-Wq7Sa7FA.js} +5 -5
- package/dist/assets/{RevenueChart-BlQnByKx-6raxIpF3.js → RevenueChart-Bu8VCI9M-_G1P_vqG.js} +14 -14
- package/dist/assets/{ReviewDetailsPage-CV-J7_FZ-D8EGcxeJ.js → ReviewDetailsPage-Cl2_0ldt-I0ORbaK-.js} +1 -1
- package/dist/assets/{ReviewOverlay-CwyShttD-CS0p2NsV.js → ReviewOverlay-vmoQ2B3U-U5POiYSb.js} +1 -1
- package/dist/assets/{RoleWithToolTip-CeOpT_6v-T4qsdQYp.js → RoleWithToolTip-CEcusyL7-CTwR219H.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-G0FPNF5V-B_249_Ax.js → ScheduleDetailsFixedAssetsPage-D9w3rUch-DJz9Yey_.js} +3 -3
- package/dist/assets/{ScheduleDetailsPage-D3WXeMzk-DagzT6Bp.js → ScheduleDetailsPage-LbjrnfcH-B4mXvCnN.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-DdrN0kHc-YJp2vd94.js → ScheduleSequenceTable-2IpjhbUO-yzYUZewQ.js} +1 -1
- package/dist/assets/{ScreenRoutes-NlgaK3TL.js → ScreenRoutes-Dj7TdnaB.js} +1 -1
- package/dist/assets/{SetUpAccountSection-DjGIyGqz-C5pyxc8B.js → SetUpAccountSection-p_viPmIN-BlBdymA0.js} +1 -1
- package/dist/assets/{SignIn-KN2wUeWN-BNfSgZcS.js → SignIn-DhRwLJFX-CJyBsyvF.js} +8 -8
- package/dist/assets/{SignInScreen-BC4o0Sc_.js → SignInScreen-Bn4nYRQE.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-DA0yJkNS-CKr46Zuv.js → SpendManagementListViewPage-C3i-Mkip-DzQMh6GP.js} +5 -5
- package/dist/assets/{SpendManagementPerTabPage-CIiwcTHn-BuuZIrEr.js → SpendManagementPerTabPage-dTz2pMKg-DYfwutDo.js} +1 -1
- package/dist/assets/{SpendManagementSection-BLZOU6Ll-CPa0X1dD.js → SpendManagementSection-DKMG4ReN-BvPjO4KM.js} +1 -1
- package/dist/assets/StatementItem-Dk8gBfGY-DC0R9g1b.js +31 -0
- package/dist/assets/{StatementsPage-DCjD7tSA-C0lyMhCy.js → StatementsPage-DwvWOETo-CXlDv2KT.js} +1 -1
- package/dist/assets/{StatusSwitcher-CiOSpmnA-bzevkJuE.js → StatusSwitcher-Moxr70rd-DARIPkKt.js} +1 -1
- package/dist/assets/{SubTabSwitcher-CfxBS2oi-Bb0c9jQb.js → SubTabSwitcher-DnCoUKmO-3giMprMe.js} +1 -1
- package/dist/assets/SummaryCard-DvdjDQ13-6ipWCmEa.js +1 -0
- package/dist/assets/{TaskManagementPage-q5-Uh7TS-CEYXMSXt.js → TaskManagementPage-kHOwTTeJ-CfCX6wr3.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-B7_2Hok--DVdadpas.js → TimeRangeSwitcher-8DihGZnj-Cf-1grC_.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-nC3rnif3-C0MVuCwF.js → TimeframeSwitcher-Dy5hbFn4-nqznt7nk.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-DkOcWDwA-tQGN-Mgc.js → TimeframeSwitcherWithToggle-V2cHhGoQ-CE78-HgD.js} +2 -2
- package/dist/assets/{TopExCard-aqOoqjT0-BFAOpmUG.js → TopExCard-D_okDk9T-Ba1Fp_3J.js} +10 -10
- package/dist/assets/{TopExDetailPage-DIzdQ0cx-B7m3OcRR.js → TopExDetailPage-pOK_Ly9f-YYkSMo_K.js} +8 -8
- package/dist/assets/{TransactionDetailPage-B_hEEP8t-oQRB7HKz.js → TransactionDetailPage-T1xurXsz-CH4IU-6k.js} +1 -1
- package/dist/assets/{TransactionList-UYBDB4bd-CqmDB023.js → TransactionList-DblCSg0s-uevCyEQB.js} +1 -1
- package/dist/assets/{TransactionListBig-OdFVjIup-CcgGX06o.js → TransactionListBig-JLNkkeay-GwIa9a3j.js} +5 -5
- package/dist/assets/{TransactionListPage-BXYB5l79-BzIVA3th.js → TransactionListPage-Cf2i0F_k-BRw5VvHr.js} +2 -2
- package/dist/assets/{TransactionVendorDetailPage-kDn1yhpe-C-vnMFvr.js → TransactionVendorDetailPage-B4T07nWa-Hek7YOkl.js} +1 -1
- package/dist/assets/{TransferDrawerPage-CtSQvv-q-DtKRaEk2.js → TransferDrawerPage-BukQB5RF-BaFvth7f.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-Dwp-RAwa-C2mLf6mS.js → TreasuryOverviewPage-C0bQkCDh-BSIFfKG0.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-CqiGJJb1-B0iJBOvb.js → TreasuryPromoPage-BaXLj90f-DyGHzvkx.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-BvjfEhwz-DBWXJiCv.js → TreasuryStatementsPage-CNK6wX8W-BBctfBrh.js} +2 -2
- package/dist/assets/{TreasuryTaxLetterPage-C3B6iff1-KaZaz0uJ.js → TreasuryTaxLetterPage-DEnUpGEu-PzAYgPYT.js} +1 -1
- package/dist/assets/{TrendChart-DwPnEwyO-A4_KxCx0.js → TrendChart-BhcSso96-D1M97qk4.js} +1 -1
- package/dist/assets/{TrendWithTransactions-B3oV0JPi-CUR6-uUx.js → TrendWithTransactions-B6xQ_DkB-BEFPt74D.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-bGvTx0Pv-9eIiwDA7.js → UncategorizedAccountsMappingPage-DDqyVfnh-Crd__Sgm.js} +2 -2
- package/dist/assets/{UnitIntegrationPage-CGqGix7l-ev5cIKHx.js → UnitIntegrationPage-BpT6E05N-e92ZbAwu.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-DYbC57rE-C039-pZA.js → UploadAdditionalDocumentOverlay-Dgwmxm6G-BEL8mMiP.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-CF5GvGtl-Cn_ODNTi.js → Vendor2FAPopup-CayW9AB7-x46gcb9G.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-CjsWjEGI-Dx-cpWMi.js +1 -0
- package/dist/assets/{VendorDetailPage-LmgMG0tb-C0DXP8Rz.js → VendorDetailPage-DQKnd_wl-DgCC2d7y.js} +5 -5
- package/dist/assets/VendorDomesticWireDetailsPage-DBOWshWu-2HsQayCN.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-DZYtpPRR-Cu-UWtzn.js → VendorFiling1099EditablePage-monlt0GX-D11nhKRT.js} +32 -32
- package/dist/assets/{VendorFirstReviewPage-DDj-Rw2b-RBiPr1hN.js → VendorFirstReviewPage-B_5VMGPE-BQGRha_7.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-VBJ-6ETL-yy9LV6I5.js → VendorInternationalWireDetailsPage-Czz9BmEm-j7TWYMZY.js} +1 -1
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-dc3xswld-DuC7EOCR.js → VendorInternationalWireSwiftDetailsPage-B-mh5P3v-Ca_AkD0f.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-CAygTvfU-si-Tcy40.js → VendorsAccountsSection-BCxVL3Vy-CVp3oyuz.js} +1 -1
- package/dist/assets/{VerifyDevice-CxLFy5GU-pbPCJ1x8.js → VerifyDevice-CzW6x8kw-DL7_PzvN.js} +1 -1
- package/dist/assets/{VideoPlayer-DKj4Ii21-Dr-BfljO.js → VideoPlayer-B6HamlwN-B0K1YC8V.js} +2 -2
- package/dist/assets/{VideoPopup-CFvt5o_3-GDyYKNyF.js → VideoPopup-D2mt1wC7-DX7NeQAc.js} +2 -2
- package/dist/assets/{WarningsDrawerPage-BiBeB75Y-DjI_mhfu.js → WarningsDrawerPage-BbN2G_rG-hi1DPTM_.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-CTrz5iPv-CfjO5sqD.js → ZeniAccountDetailPage-Bs_CVksP-BDdSvLD_.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-DUfa9C7y-BZpG3L7k.js → ZeniAccountListViewPage-D5VNz-Hq-5LAtN_Rm.js} +7 -7
- package/dist/assets/{ZeniAccountNavBarPieces-knHeWdLO-B6g1-c5M.js → ZeniAccountNavBarPieces-Dr8RdhtI-B5O0ky0e.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-BnGvEYqf-C1xzFxgq.js → ZeniAccountPromoPage-DvOrXg46-dzcFBDQn.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-JnPZalVG-rRdoG4wm.js → ZeniAccountSetupPage-zxlxRsQl-B6ap5Abk.js} +1 -1
- package/dist/assets/{ZeniCopyright-B4Tk2oOq-CpTeCYhK.js → ZeniCopyright-F1ki_Lss-DFx9p5Fp.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-bXoRbaVx-bnqT0BF_.js → ZeniTransferAmountSlider-CK6HDTK_-B4HkHgTv.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-OKBQPkhm.js → add-to-wallet-DgdBD8_G-BDLvoxng.js} +1 -1
- package/dist/assets/{analytics-Bw4TcvMB.js → analytics-DWna4COD.js} +1 -1
- package/dist/assets/{analyticsHelper-YXtfLWRq.js → analyticsHelper-BTX5S1zu.js} +1 -1
- package/dist/assets/{analyticsHelper-Bow8lzQJ-CmspHZCq.js → analyticsHelper-BgGQcED5-DKVZbHBv.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-KBLxTENK.js → arrow-south-east-round-PEovUgvH-DOt54l-M.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-DYcnSIYv.js → auto-transfer-rule-mbafm5D3-B8Z0z-Ku.js} +1 -1
- package/dist/assets/{chartTypes-C6j6oBoS-DHIqBduh.js → chartTypes-Cdx27b7W-BwAd9kGM.js} +1 -1
- package/dist/assets/{commonDimensions-Dw7YNTQN-BXFGudzz.js → commonDimensions-BIRY_wCD-Js86v9fG.js} +1 -1
- package/dist/assets/{commonTypes-Bq0C5-39-Bq_sc_Yc.js → commonTypes-DfehYs8A-CmS8iBUI.js} +1 -1
- package/dist/assets/{constants-WUsOZJdu.js → constants-Cr4RUUPf.js} +1 -1
- package/dist/assets/{core-B6mfCzHj.js → core-d8TJZx_K.js} +1 -1
- package/dist/assets/{dash.all.min-BDO1VuRQ.js → dash.all.min-yh9LxFx1.js} +1 -1
- package/dist/assets/{detailCommon-DaTlK7zO-D1qMyDq5.js → detailCommon-C4lCnx9f-CT9Wovwc.js} +2 -2
- package/dist/assets/{downloadPdf-CF50NGDy-BZ7Y466H.js → downloadPdf-BuszScX2-CQQvmAzj.js} +1 -1
- package/dist/assets/{empty-1g6nIkrO.js → empty-CKmL-VR3.js} +1 -1
- package/dist/assets/{empty-CIvaYukf.js → empty-D8Gd0v1U.js} +1 -1
- package/dist/assets/{epic-DLwNDeYf.js → epic-BPaG5vPL.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-CsflwNEu.js → gift-box-Cmt9OgIZ-DUMEeA-V.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-DbYxoem5.js → graphic-no-data-l-DU4J8fDt-BVFGUXFG.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-BDriF_er.js → graphic-no-data-net-burn-l-CzmycA0m-DHRR03zj.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-BjbuFgha.js → handshake-BPg58FML-C5j99nww.js} +1 -1
- package/dist/assets/{index-C9Zpxf3J.js → index-BHy2xz_i.js} +1 -1
- package/dist/assets/{index-CT3_ffM0.js → index-BxCf7Wvz.js} +6 -6
- package/dist/assets/{index-A6eZNAi1.js → index-CXhd2ski.js} +1 -1
- package/dist/assets/{index-2vVNiu0Y.js → index-DAQTbb-z.js} +1 -1
- package/dist/assets/{index-Sbme0UzG.js → index-P2JRDBkg.js} +1 -1
- package/dist/assets/{index-BTAlKoSn.js → index-Z0vhp4UP.js} +1 -1
- package/dist/assets/{index-Sd2GO_1_.js → index-ypb5f_6G.js} +1 -1
- package/dist/assets/{lexical-DFbhYDAo.js → lexical-C6LLNKxw.js} +1 -1
- package/dist/assets/{liveblocks-CCUBRXZT.js → liveblocks-CGDIIAIj.js} +1 -1
- package/dist/assets/{lottie-Dia5PUdF.js → lottie-LB826b2R.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-COOEc1T9-xGax8DFV.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DioWEF-R-Be4Ivukn.js → mapSectionWithAcOnlyToTreeNode-KPnNJcR6-BNt8WVWD.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-pvGPhRLA-BEE9eisT.js → mapSpacerToTreeNode-BgJYIgvo-CUvrjAxs.js} +1 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DAnYNYrr-DY_OPsK8.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-DKbBYyC9-BJ1iRUxh.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BeGSkZpM-C-b_T2TM.js +1 -0
- package/dist/assets/{mui-H_uXhzKV.js → mui-BH8m6kGU.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-Caa3IThi.js → page-detail-CWX5S47F-DEwJ4YhF.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-B31bLUe1.js → radio-default-CiSgisfh-9-L1Tl9m.js} +1 -1
- package/dist/assets/{react-QE649y0z.js → react-1TS5Pz5D.js} +2 -2
- package/dist/assets/{react-DsO7FUUz.js → react-B98PZ5oz.js} +1 -1
- package/dist/assets/{react-D7c57vAc.js → react-BZPwYTgt.js} +1 -1
- package/dist/assets/{react-CNHPt1hw.js → react-BZg321WR.js} +1 -1
- package/dist/assets/{react-BndhfvK7.js → react-ChgBiDic.js} +1 -1
- package/dist/assets/{react-CjedTdDh.js → react-DXqousR1.js} +1 -1
- package/dist/assets/{react-CqkFpBFr.js → react-DbC4BMti.js} +1 -1
- package/dist/assets/{react-BVTQJBC6.js → react-DjFxauce.js} +1 -1
- package/dist/assets/{recharts-pSDHxu7-.js → recharts-DuImoJah.js} +1 -1
- package/dist/assets/{sentry-5B7WY2hn.js → sentry-RNV3Di4s.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-C9f8MlRB.js → shield-DOlUxcFf-Dq2KOj6m.js} +1 -1
- package/dist/assets/toCOABalancesWithID-C__BVdeG-BfFHgnXd.js +1 -0
- package/dist/assets/{toChartData-CnjrCi9i-CYnmyA9B.js → toChartData-B0HFgnVy-BWQxPZy2.js} +1 -1
- package/dist/assets/{uploadAttachment-Ce0sdSDo-AfsygG9q.js → uploadAttachment-DlvokhTk-BnXZd0ih.js} +1 -1
- package/dist/assets/{uploadReceipts-CPw64UYa-i8VU085V.js → uploadReceipts-CPw64UYa-CC4d6kSy.js} +1 -1
- package/dist/assets/{url-JHGGIwEq.js → url-CMWGXMaV.js} +1 -1
- package/dist/assets/{url-CxOAQCm1.js → url-Q92EHF6-.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-PGeJuZQy.js → useLongPress-GCK2COYQ-Ify9QpX5.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-Cb08tH1j.js → usp-line-BBd1wKwW-C6G0Rq76.js} +1 -1
- package/dist/assets/{utils-XWlT4ops.js → utils-BXiVsZbS.js} +1 -1
- package/dist/assets/{zeni-epic-state-DRXPUrKj.js → zeni-epic-state-BSaicoAp.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/CustomerOnboardingContainerPage-YGCksJfr-CFXt9hwI.js +0 -1
- package/dist/assets/CustomerOnboardingProductSuitePage-DqQ7Lcwq-DkibbpT_.js +0 -202
- package/dist/assets/MagicLinkACHDetailsPage-D1Yrf6I3-B1M7HkDi.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-DF4qlmsy-CEb_s-9Q.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-BNeI6INt-CiHqB7XV.js +0 -1
- package/dist/assets/MailingDetailsSection-B-bODwAg-ZuNhyQhw.js +0 -21
- package/dist/assets/StatementItem-DfbvINGt-BNwrnpQ8.js +0 -31
- package/dist/assets/SummaryCard-YakCHMD--W7g06PiG.js +0 -1
- package/dist/assets/VendorACHDetailsPage-CKmq7yOU-DxpK3Avp.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-CBYW97OY-C-DED8xn.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-BogZGPG9-z8rPMfXJ.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-BNu8T9PW-BShM6kCi.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-CiB5iztB-B-zAYdM3.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-DwGOxYFm-CeT8_XP9.js +0 -1
- package/dist/assets/toCOABalancesWithID-BxzNBK9u-zzCmo2rj.js +0 -1
package/dist/assets/{ACHDetailsPage-BTeL5y4g-Bayo5T5i.js → ACHDetailsPage-uGxVPurg-CSTBBuQO.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as E,a9 as W,F as w,cC as _,V as n,cn as V,co as F,cp as H,ac as O,aP as q,y as
|
|
1
|
+
import{q as E,a9 as W,F as w,cC as _,V as n,cn as V,co as F,cp as H,ac as O,aP as q,y as c,eS as Q,b6 as U,o as Z,c as t}from"./index-BxCf7Wvz.js";import{a as k}from"./sentry-RNV3Di4s.js";import{n as u}from"./mui-BH8m6kGU.js";import{W as G,A as J}from"./BankAccountWarningSection-Czlvc-qX-rUlWK1Jd.js";import{M as K}from"./MagicLinkTitleSection-Cyx2YimC-CumkPG7L.js";import{e as X}from"./BankAccountSection-BigS_oOq-DdGfIYIY.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]="4153b411-a224-4ca8-ad46-ecb6a4178d56",e._sentryDebugIdIdentifier="sentry-dbid-4153b411-a224-4ca8-ad46-ecb6a4178d56")}catch{}})();const a={paddingTopBottomContainer:new c(t[3],t[3]),paddingLeftContainer:new c(t[3],t[6]),paddingRightContainer:new c(t[3],t[8]),sectionTitleMarginLeft:new c(t[4],t[6]),sectionTitleMarginTop:new c(12,t[3]),buttonWidth:new c(140,140)},T="achDetailsPage",f="bankAccountSection",A=e=>`${e}_form`,ue=({bankAccountCreationState:e,bankAccountToCreate:o,fetchBankNameByRoutingStatus:g,isDisabled:x,style:S,onSaveHandler:B,onBackClick:h,onACHDetailsUpdated:N,onFetchBankName:v,isMagicLink:m,companyName:D,currencySymbol:j,amount:P,bankAccountContext:$})=>{const r=E(),i=W({mode:"onBlur",reValidateMode:"onChange",defaultValues:k.useMemo(()=>Y(o),[o])}),[z,b]=k.useState(!1),l=w.getLocalizedStrings().spendManagement.billPay.vendorCreation,I=w.getLocalizedStrings().common.footer,{achDetails:C,bankAccountCommon:y}=l,L={onOkClick:()=>{b(!1),i.reset(),h?.()},onCancelClick:()=>{b(!1)}},M=async(p,d)=>{const s=d[f].bankRoutingNumber;N(d),p===`${f}.bankRoutingNumber`&&s?.length===9&&Q.test(s)===!0&&v?.(s)};k.useEffect(()=>{const p=i.watch((d,{name:s})=>{s!=null&&d!=null&&_(()=>M(s,d))});return()=>{p.unsubscribe()}});const R=i.handleSubmit(p=>{g.fetchState!=="In-Progress"&&B("ach")});return n.jsxs(ne,{children:[n.jsxs(te,{style:S,size:r,children:[z===!0?n.jsx(V,{titleComponent:n.jsx(H,{children:l.discardTitle}),descriptionComponent:n.jsx(F,{children:l.discardDescription}),primaryButtonText:l.discard,secondaryButtonText:l.cancel,action:L}):null,n.jsx(G,{header:m?n.jsx(K,{companyName:D??"",currencySymbol:j??"",amount:P??0}):C.addACHDetails,isMagicLink:m,isDirty:i.formState.isDirty,onBackClick:h,setShowConfirmationPopup:b}),e?.fetchState==="Error"&&e.error?.code===409?n.jsx(J,{warningText:y.accountExistWarning}):null,$==="express-pay"?null:n.jsx(ae,{size:r,children:C.title}),n.jsx(ie,{children:n.jsx(O,{...i,children:n.jsx("form",{id:A(T),onSubmit:R,children:n.jsx(ee,{size:r,children:n.jsx(X,{bankAccountToCreate:o,fetchBankNameByRoutingStatus:g,sectionId:f,isDisabled:x})})})})})]}),n.jsx(q,{formId:A(T),primaryBtn:{label:m?y.submitDetails:y.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:a.buttonWidth.value(r)},isDisabled:x!=null},showCancel:!m,cancelBtn:{label:I.cancel,style:{width:a.buttonWidth.value(r)},shouldResetOnCancel:!1,onClick:()=>{i.formState.isDirty?b(!0):(i.reset(),h?.())}}})]})},Y=e=>({[f]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName,bankAccountType:e?.bankAccountType}}),ee=u.div`
|
|
2
2
|
padding-left: ${e=>a.paddingLeftContainer.valuePx(e.size)};
|
|
3
3
|
padding-right: ${e=>a.paddingRightContainer.valuePx(e.size)};
|
|
4
4
|
padding-top: ${e=>a.paddingTopBottomContainer.valuePx(e.size)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as u,a8 as y1,q as M,F as j,cb as j1,V as C,bR as $1,o as r,aN as v1,b as D,ci as b1,ka as T,c as n,bN as g,dn as h1,p as d,a7 as S1,b2 as p1,d as m1,kb as f,ah as x,kc as Z1,kd as B1,ar as S,a as K,b6 as X,am as F1,ke as W1,dJ as _1,f_ as D1,cg as u1,al as H1}from"./index-
|
|
1
|
+
import{y as u,a8 as y1,q as M,F as j,cb as j1,V as C,bR as $1,o as r,aN as v1,b as D,ci as b1,ka as T,c as n,bN as g,dn as h1,p as d,a7 as S1,b2 as p1,d as m1,kb as f,ah as x,kc as Z1,kd as B1,ar as S,a as K,b6 as X,am as F1,ke as W1,dJ as _1,f_ as D1,cg as u1,al as H1}from"./index-BxCf7Wvz.js";import{a as e}from"./sentry-RNV3Di4s.js";import{n as o,c as P1,k as T1}from"./mui-BH8m6kGU.js";import{Gf as E,Gg as e1,Gh as F}from"./zeni-epic-state-BSaicoAp.js";import{R as V1}from"./NavBarWithPicker-DhLovvzt-BucppuZh.js";import{F as k1,X as x1,Y as I,I as z1,J as O1,G as t1}from"./recharts-DuImoJah.js";import"./liveblocks-CGDIIAIj.js";import"./core-d8TJZx_K.js";import"./lottie-LB826b2R.js";import"./analytics-DWna4COD.js";import"./lexical-C6LLNKxw.js";import"./utils-BXiVsZbS.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="7a81de60-efc0-453d-bac8-378097e1e958",t._sentryDebugIdIdentifier="sentry-dbid-7a81de60-efc0-453d-bac8-378097e1e958")}catch{}})();const C1={titleLoaderWidth:new u(200,200,300),subtitleLoaderWidth:new u(100,100,200)},G1=o.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
height: 100%;
|
|
4
4
|
border: 1px solid ${t=>t.theme.colors.grey3};
|
package/dist/assets/{AccountInfoPage-C-UvpjYp-DGOEwcOg.js → AccountInfoPage-C2Dq8UPa-DbUqKkGr.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as
|
|
1
|
+
import{d as h,q as x,V as t,gM as b,o as a,y as d,hy as D,c as i}from"./index-BxCf7Wvz.js";import{a as $}from"./sentry-RNV3Di4s.js";import{n as o}from"./mui-BH8m6kGU.js";import{K as P}from"./StatusSwitcher-Moxr70rd-DARIPkKt.js";import{r as z}from"./AccountInfoPageContent-HVhR3c9c-BTAStM9V.js";import"./liveblocks-CGDIIAIj.js";import"./core-d8TJZx_K.js";import"./recharts-DuImoJah.js";import"./zeni-epic-state-BSaicoAp.js";import"./lottie-LB826b2R.js";import"./analytics-DWna4COD.js";import"./lexical-C6LLNKxw.js";import"./utils-BXiVsZbS.js";import"./downloadPdf-BuszScX2-CQQvmAzj.js";import"./commonDimensions-BIRY_wCD-Js86v9fG.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]="9460c78c-eef5-4d95-853f-f754b7f2a73f",e._sentryDebugIdIdentifier="sentry-dbid-9460c78c-eef5-4d95-853f-f754b7f2a73f")}catch{}})();const s={pageTitleMarginXAxis:new d(i[4],i[8]),containerPaddingLeft:new d(i[3],i[6],i[8]),containerPaddingRight:new d(i[3],i[6],i[8])},B=({authParams:e,downloadAccountDetailEndPoint:n,depositAccount:r,zeniAccountsConfigDetail:f,currentTenant:u,onDismissClick:g})=>{const p=h(),c=x(),[l,m]=$.useState("achDetails"),w=y=>{m(y)};return t.jsxs(T,{children:[t.jsx(b,{title:"",backgroundColor:p.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:g}),t.jsx(v,{windowSize:c,children:r.accountName}),t.jsx(S,{children:t.jsx(P,{tabIds:["achDetails","wireDetails"],selectedTab:l,entity:"zeni_accounts",onTabSelectedChange:w,isSwitcherLeftAlign:!0})}),t.jsx(A,{windowSize:c,children:t.jsx(z,{authParams:e,downloadAccountDetailEndPoint:n,currentTab:l,zeniAccountsConfigDetail:f,currentTenant:u,depositAccount:r})})]})},A=o.div`
|
|
2
2
|
padding-left: ${e=>`${s.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
3
3
|
padding-right: ${e=>`${s.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
4
4
|
`,T=o.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as je,gW as Ae,hz as Q,V as r,bR as z,k as Se,aN as _,o as a,b6 as Te,F as ve,c1 as De,p as E,ah as re,u as Ce,gZ as ze,al as ae}from"./index-
|
|
1
|
+
import{q as je,gW as Ae,hz as Q,V as r,bR as z,k as Se,aN as _,o as a,b6 as Te,F as ve,c1 as De,p as E,ah as re,u as Ce,gZ as ze,al as ae}from"./index-BxCf7Wvz.js";import{a as s}from"./sentry-RNV3Di4s.js";import{n as t}from"./mui-BH8m6kGU.js";import{w as _e}from"./downloadPdf-BuszScX2-CQQvmAzj.js";import{o as Le}from"./commonDimensions-BIRY_wCD-Js86v9fG.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},y=new e.Error().stack;y&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[y]="4fde2969-50fa-4a9a-9555-dcbf37be5769",e._sentryDebugIdIdentifier="sentry-dbid-4fde2969-50fa-4a9a-9555-dcbf37be5769")}catch{}})();const{common:{strings:Ie,copyToClipBoard:g},spendManagement:{zeniAccounts:{zeniAccountDetail:Z},billPay:{vendorCreation:{achDetails:o}},downloads:G}}=ve.getLocalizedStrings(),er=({authParams:e,downloadAccountDetailEndPoint:y,currentTab:p,depositAccount:c,zeniAccountsConfigDetail:u,currentTenant:k})=>{const oe=je(),[,M]=Ae(),[N,te]=s.useState(!1),[se,ne]=s.useState(!1),[ce,ie]=s.useState(!1),[le,de]=s.useState(!1),[be,ue]=s.useState(!1),[me,pe]=s.useState(!1),[he,fe]=s.useState(!1),[xe,ye]=s.useState(!1),[h,P]=s.useState(!1),[w,V]=s.useState(!1),[j,q]=s.useState(!1),[A,U]=s.useState(!1),[S,B]=s.useState(!1),[T,F]=s.useState(!1),[v,H]=s.useState(!1),[$,O]=s.useState(!1),D=k?.company?.companyInfo.companyLegalName,C=Q(u.zeniAccountsConfigDetail.mailingAddress).text2,m=Q(u.zeniAccountsConfigDetail.bankAddress).text2;s.useEffect(()=>{(h||T||v||$||S||$||j||w||A)&&setTimeout(()=>{P(!1),F(!1),H(!1),O(!1),B(!1),U(!1),q(!1),V(!1)},1200)},[h,T,v,$,S,A,j,w]);const W=(f,n)=>{switch(f){case"accountType":ne(n);break;case"acccountNumber":ie(n);break;case"routingNumber":de(n);break;case"bankName":ue(n);break;case"beneficiaryName":fe(n);break;case"beneficiaryAddress":pe(n);break;case"bankAddress":ye(n);break}},$e=f=>{let n;f==="achDetails"?n=`${o.bankRoutingNumber} ${c.routingNumberAch}
|
|
2
2
|
|
|
3
3
|
${o.accountTypeLabel} ${c.accountSubType.name??""}
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as g,F as d,V as t,al as x,b9 as l,n as b,o,p,aq as y,bX as j,bY as $,bZ as w,bQ as k}from"./index-
|
|
1
|
+
import{d as g,F as d,V as t,al as x,b9 as l,n as b,o,p,aq as y,bX as j,bY as $,bZ as w,bQ as k}from"./index-BxCf7Wvz.js";import{n as r}from"./mui-BH8m6kGU.js";import{t as v}from"./handshake-BPg58FML-C5j99nww.js";import"./sentry-RNV3Di4s.js";import"./liveblocks-CGDIIAIj.js";import"./core-d8TJZx_K.js";import"./recharts-DuImoJah.js";import"./zeni-epic-state-BSaicoAp.js";import"./lottie-LB826b2R.js";import"./analytics-DWna4COD.js";import"./lexical-C6LLNKxw.js";import"./utils-BXiVsZbS.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="cebf66af-7e31-4ddf-9ef7-3f41ecb64137",e._sentryDebugIdIdentifier="sentry-dbid-cebf66af-7e31-4ddf-9ef7-3f41ecb64137")}catch{}})();const m="support@zeni.ai",n=d.getLocalizedStrings().commonSetUp.twoFactorAuthentication,f=({unlockDate:e,onSubmit:i})=>{const s=g(),h=e.format(d.getLocalizedStrings().dateFormat.visual.MMMDCommaYYYYformat),u=e.format(d.getLocalizedStrings().dateFormat.visual.HHMMFormat);return t.jsxs(S,{children:[t.jsx(D,{children:n.accountLockedTitle}),t.jsxs(I,{children:[t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(Y,{})}),t.jsx(x,{children:n.accountLockedSecurityMessage})]}),t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(z,{})}),t.jsxs(l,{children:[n.tryAgainAfter,t.jsxs(C,{children:[h,t.jsx(L,{children:"•"}),u]}),n.signInViaGoogleOrMicrosoft]})]}),t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(A,{})}),t.jsxs(l,{children:[n.accountLockedContactMessage,t.jsx(_,{href:`mailto:${m}`,children:m})]})]}),t.jsx(b,{variant:"primary",label:n.understood,onClick:i})]})]})};function M({unlockDate:e,onClose:i}){return t.jsx(k,{open:!0,onClose:i,children:t.jsx(F,{children:t.jsx(f,{unlockDate:e,onSubmit:i})})})}const S=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a9 as fe,fw as xe,V as t,ac as ye,cn as ge,co as je,cp as Se,o as
|
|
1
|
+
import{a9 as fe,fw as xe,V as t,ac as ye,cn as ge,co as je,cp as Se,o as i,M as $e,b6 as J,am as X,L as be,aa as ke,dI as ve,eQ as we,d0 as G,dr as Z,F as Ce,al as d,d as Ee,aL as Pe,bv as ee,dL as te,au as Re,p as ne,u as Ie}from"./index-BxCf7Wvz.js";import{a as r}from"./sentry-RNV3Di4s.js";import{n as o}from"./mui-BH8m6kGU.js";import{bL as oe,Gv as De,Gw as Te}from"./zeni-epic-state-BSaicoAp.js";import{E as _e,C as Fe,w as Le,f as Ue}from"./AccountRow-B3ULDo0k-C-jIzuWE.js";import"./liveblocks-CGDIIAIj.js";import"./core-d8TJZx_K.js";import"./recharts-DuImoJah.js";import"./lottie-LB826b2R.js";import"./analytics-DWna4COD.js";import"./lexical-C6LLNKxw.js";import"./utils-BXiVsZbS.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="583e8825-0bb6-416f-9201-e6d2aa196895",e._sentryDebugIdIdentifier="sentry-dbid-583e8825-0bb6-416f-9201-e6d2aa196895")}catch{}})();const m={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,navBarHeight:i.sp10,navBarPaddingRight:i.sp4,navBarPaddingLeft:i.sp4,balanceContainerWidth:114,sourceContainerWidth:400},Me=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey4};
|
|
@@ -6,25 +6,25 @@ import{a9 as fe,fw as xe,V as t,ac as ye,cn as ge,co as je,cp as Se,o as c,M as
|
|
|
6
6
|
width: 100%;
|
|
7
7
|
height: 100vh;
|
|
8
8
|
position: relative;
|
|
9
|
-
gap: ${
|
|
9
|
+
gap: ${i.sp5};
|
|
10
10
|
`,Ye=o.div`
|
|
11
11
|
display: flex;
|
|
12
12
|
flex: 0 0 auto;
|
|
13
|
-
width: ${
|
|
13
|
+
width: ${i.sp4};
|
|
14
14
|
`,Be=o.div`
|
|
15
15
|
min-height: ${m.navBarHeight};
|
|
16
16
|
position: sticky;
|
|
17
17
|
background-color: ${e=>e.theme.colors.grey4};
|
|
18
18
|
border-bottom: 1px solid transparent;
|
|
19
19
|
z-index: 2;
|
|
20
|
-
top: ${
|
|
20
|
+
top: ${i.sp0};
|
|
21
21
|
width: 100%;
|
|
22
|
-
`,Oe=o(
|
|
22
|
+
`,Oe=o(be)`
|
|
23
23
|
cursor: pointer;
|
|
24
24
|
color: ${e=>e.theme.colors.hero};
|
|
25
|
-
width: ${
|
|
26
|
-
height: ${
|
|
27
|
-
min-height: ${
|
|
25
|
+
width: ${i.sp4};
|
|
26
|
+
height: ${i.sp4};
|
|
27
|
+
min-height: ${i.sp3};
|
|
28
28
|
&:hover {
|
|
29
29
|
color: ${e=>e.theme.colors.primary};
|
|
30
30
|
}
|
|
@@ -58,7 +58,7 @@ import{a9 as fe,fw as xe,V as t,ac as ye,cn as ge,co as je,cp as Se,o as c,M as
|
|
|
58
58
|
align-items: center;
|
|
59
59
|
justify-content: center;
|
|
60
60
|
overflow: hidden;
|
|
61
|
-
`,
|
|
61
|
+
`,ie=o(X)`
|
|
62
62
|
display: flex;
|
|
63
63
|
color: ${e=>e.theme.colors.hero};
|
|
64
64
|
align-items: center;
|
|
@@ -74,16 +74,16 @@ import{a9 as fe,fw as xe,V as t,ac as ye,cn as ge,co as je,cp as Se,o as c,M as
|
|
|
74
74
|
flex-direction: column;
|
|
75
75
|
align-items: center;
|
|
76
76
|
justify-content: center;
|
|
77
|
-
gap: ${
|
|
77
|
+
gap: ${i.sp5};
|
|
78
78
|
`,Ge=o.div`
|
|
79
79
|
display: flex;
|
|
80
80
|
flex-direction: row;
|
|
81
81
|
align-items: center;
|
|
82
82
|
justify-content: center;
|
|
83
|
-
gap: ${
|
|
84
|
-
padding: ${
|
|
83
|
+
gap: ${i.sp2};
|
|
84
|
+
padding: ${i.sp3};
|
|
85
85
|
background-color: ${e=>e.theme.colors.background};
|
|
86
|
-
border-radius: ${
|
|
86
|
+
border-radius: ${i.sp2};
|
|
87
87
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
88
88
|
`,Qe=o.div`
|
|
89
89
|
display: flex;
|
|
@@ -115,7 +115,7 @@ import{a9 as fe,fw as xe,V as t,ac as ye,cn as ge,co as je,cp as Se,o as c,M as
|
|
|
115
115
|
flex-direction: row;
|
|
116
116
|
align-items: flex-start;
|
|
117
117
|
justify-content: flex-start;
|
|
118
|
-
gap: ${
|
|
118
|
+
gap: ${i.sp1};
|
|
119
119
|
`,et=o.div`
|
|
120
120
|
display: flex;
|
|
121
121
|
flex-direction: column;
|
|
@@ -128,24 +128,24 @@ import{a9 as fe,fw as xe,V as t,ac as ye,cn as ge,co as je,cp as Se,o as c,M as
|
|
|
128
128
|
align-items: center;
|
|
129
129
|
justify-content: flex-start;
|
|
130
130
|
`,nt=o(d)`
|
|
131
|
-
height: ${
|
|
132
|
-
border-radius: ${
|
|
131
|
+
height: ${i.sp4};
|
|
132
|
+
border-radius: ${i.sp1};
|
|
133
133
|
color: ${e=>e.textColor.hex()};
|
|
134
134
|
text-align: right;
|
|
135
135
|
`,ot=o(d)`
|
|
136
|
-
border-radius: ${
|
|
137
|
-
padding: ${
|
|
136
|
+
border-radius: ${i.sp1};
|
|
137
|
+
padding: ${i.sp0} ${i.sp1};
|
|
138
138
|
justify-content: center;
|
|
139
139
|
text-align: center;
|
|
140
140
|
color: ${e=>e.textColor.hex()};
|
|
141
141
|
background-color: ${e=>e.bgColor.hex()};
|
|
142
|
-
`,
|
|
142
|
+
`,it=o.div`
|
|
143
143
|
display: flex;
|
|
144
144
|
flex-direction: row;
|
|
145
145
|
align-items: center;
|
|
146
146
|
justify-content: flex-end;
|
|
147
|
-
gap: ${
|
|
148
|
-
`,
|
|
147
|
+
gap: ${i.sp1};
|
|
148
|
+
`,ct=o(d)`
|
|
149
149
|
display: flex;
|
|
150
150
|
color: ${e=>e.theme.colors.primary};
|
|
151
151
|
align-items: center;
|
|
@@ -161,26 +161,26 @@ import{a9 as fe,fw as xe,V as t,ac as ye,cn as ge,co as je,cp as Se,o as c,M as
|
|
|
161
161
|
align-items: flex-start;
|
|
162
162
|
justify-content: center;
|
|
163
163
|
min-width: ${m.sourceContainerWidth}px;
|
|
164
|
-
gap: ${
|
|
164
|
+
gap: ${i.sp2};
|
|
165
165
|
`,rt=o(J)`
|
|
166
166
|
display: flex;
|
|
167
167
|
color: ${e=>e.theme.colors.primary};
|
|
168
168
|
align-items: center;
|
|
169
169
|
justify-content: flex-end;
|
|
170
|
-
padding-bottom: ${
|
|
170
|
+
padding-bottom: ${i.sp2};
|
|
171
171
|
`,lt=o.div`
|
|
172
172
|
display: flex;
|
|
173
173
|
flex-direction: column;
|
|
174
174
|
align-items: flex-start;
|
|
175
175
|
justify-content: space-between;
|
|
176
|
-
gap: ${
|
|
176
|
+
gap: ${i.sp2};
|
|
177
177
|
width: 100%;
|
|
178
178
|
`,C=o.div`
|
|
179
179
|
display: flex;
|
|
180
180
|
flex-direction: row;
|
|
181
181
|
align-items: center;
|
|
182
182
|
justify-content: space-between;
|
|
183
|
-
gap: ${
|
|
183
|
+
gap: ${i.sp2};
|
|
184
184
|
width: 100%;
|
|
185
185
|
`,D=o(d)`
|
|
186
186
|
display: flex;
|
|
@@ -192,39 +192,39 @@ import{a9 as fe,fw as xe,V as t,ac as ye,cn as ge,co as je,cp as Se,o as c,M as
|
|
|
192
192
|
color: ${e=>e.theme.colors.primary};
|
|
193
193
|
align-items: center;
|
|
194
194
|
justify-content: flex-end;
|
|
195
|
-
gap: ${
|
|
195
|
+
gap: ${i.sp1};
|
|
196
196
|
`,j=o(d)`
|
|
197
197
|
display: flex;
|
|
198
198
|
align-items: center;
|
|
199
199
|
justify-content: flex-end;
|
|
200
|
-
gap: ${
|
|
200
|
+
gap: ${i.sp1};
|
|
201
201
|
`,W=o.div`
|
|
202
202
|
display: flex;
|
|
203
203
|
flex-direction: row;
|
|
204
204
|
align-items: center;
|
|
205
205
|
justify-content: flex-end;
|
|
206
|
-
gap: ${
|
|
206
|
+
gap: ${i.sp1};
|
|
207
207
|
`,dt=o(Ie)`
|
|
208
|
-
width: ${
|
|
209
|
-
height: ${
|
|
208
|
+
width: ${i.sp3};
|
|
209
|
+
height: ${i.sp3};
|
|
210
210
|
color: ${ne.success};
|
|
211
|
-
`,
|
|
212
|
-
width: ${
|
|
213
|
-
height: ${
|
|
211
|
+
`,ce=o(ee)`
|
|
212
|
+
width: ${i.sp3};
|
|
213
|
+
height: ${i.sp3};
|
|
214
214
|
color: ${e=>e.theme.colors.primary};
|
|
215
215
|
`,ae=o(te)`
|
|
216
|
-
width: ${
|
|
217
|
-
height: ${
|
|
216
|
+
width: ${i.sp3};
|
|
217
|
+
height: ${i.sp3};
|
|
218
218
|
color: ${e=>e.theme.colors.primary};
|
|
219
219
|
`,ut=o(ee)`
|
|
220
220
|
margin-top: 2px;
|
|
221
|
-
width: ${
|
|
222
|
-
height: ${
|
|
221
|
+
width: ${i.sp3};
|
|
222
|
+
height: ${i.sp3};
|
|
223
223
|
color: ${e=>e.theme.colors.primary};
|
|
224
224
|
`,pt=o(te)`
|
|
225
225
|
margin-top: 2px;
|
|
226
|
-
width: ${
|
|
227
|
-
height: ${
|
|
226
|
+
width: ${i.sp3};
|
|
227
|
+
height: ${i.sp3};
|
|
228
228
|
color: ${e=>e.theme.colors.primary};
|
|
229
229
|
`,ht=o(d)`
|
|
230
230
|
display: flex;
|
|
@@ -236,4 +236,4 @@ import{a9 as fe,fw as xe,V as t,ac as ye,cn as ge,co as je,cp as Se,o as c,M as
|
|
|
236
236
|
color: ${e=>e.status==="connected"?e.theme.colors.success:e.status==="reconnect"?e.theme.colors.important:e.theme.colors.link};
|
|
237
237
|
cursor: pointer;
|
|
238
238
|
text-decoration: underline;
|
|
239
|
-
`,{common:p,dateFormat:Q,expenseAutomation:{accountRecon:i}}=Ce.getLocalizedStrings(),ft=(e,n)=>`${e}.${n}`,xt="accountReconDrawerDetailsPage",se="accountReconDrawerDetailsSection";function Mt({accountReconciliation:e,plaidConnectionDetails:n,monthYearPeriod:l,openFilePicker:u,filesEndPoint:x,authParams:S,onDismissClick:$,onFetchLinkTokenClick:E,onEstablishConnectionClick:P,onSelectSourceType:_,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:L,onUploadWindowOpenedOnce:U}){const f=fe({mode:"all",reValidateMode:"onChange",defaultValues:K(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:K(e)}),k=f.handleSubmit(()=>{}),[h,y]=r.useState(void 0),b=n.link_account_no_microdeposit,v=n.update_account,a=h==="update_account"?v:b,[g,M]=r.useState(a.linkToken??null),[s,w]=r.useState(!1),[N,Y]=r.useState(!1),[B,O]=r.useState(void 0),[re,z]=r.useState(void 0),le=r.useCallback(()=>{y("link_account_no_microdeposit")},[]),de=r.useCallback(()=>{y("update_account"),E("update_account",e.paymentAccountId)},[e.paymentAccountId]),ue={onOkClick:()=>{B!=null&&(R(B),O(void 0)),z(void 0),Y(!1)},onCancelClick:()=>{O(void 0),Y(!1)}},H=r.useRef(h);r.useEffect(()=>{H.current=h},[h]);const pe=r.useCallback(I=>{P(I,e.accountReconEntity.account.accountId,H.current),y(void 0),w(!1)},[P,e.accountReconEntity.account.accountId]),he=r.useCallback((I,me)=>{I!=null&&console.log("Plaid Connection Error",I,me),y(void 0),w(!1)},[]),{open:q,ready:V}=xe({token:g,onSuccess:pe,onExit:he});return r.useEffect(()=>{(oe(new Date().toISOString()).isAfter(a.expiration)||a.linkToken==null)&&a.fetchStatus.fetchState==="Not-Started"&&E("link_account_no_microdeposit")},[a.fetchStatus.fetchState]),r.useEffect(()=>{!s&&h!=null&&a.linkToken===g&&a.fetchStatus.fetchState==="Completed"&&V&&w(!0)},[V,g,a.fetchStatus.fetchState,a.linkToken,h,s]),r.useEffect(()=>{a.fetchStatus.fetchState==="Completed"&&a.linkToken!=null&&a.linkToken!==g&&M(a.linkToken)},[a.fetchStatus.fetchState,a.linkToken,g]),r.useEffect(()=>{s&&q()},[s,q]),t.jsxs(Me,{children:[t.jsx(Be,{children:t.jsx(We,{children:t.jsxs(Ne,{children:[t.jsx(Ye,{}),t.jsxs(ze,{children:[t.jsx(He,{children:e.accountReconEntity.account.accountName}),t.jsx(ce,{children:t.jsx(bt,{monthYearPeriod:l})})]}),t.jsx(qe,{children:t.jsx(Oe,{onClick:$})})]})})}),t.jsxs(Ae,{children:[t.jsx(ye,{...f,children:t.jsx("form",{style:{width:"100%"},id:xt,onSubmit:k,children:t.jsx(yt,{monthYearPeriod:l,accountReconciliation:e,filesEndPoint:x,openFilePicker:u,authParams:S,onConnectClick:le,onReconnectClick:de,onSelectSourceType:_,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:L,onUploadWindowOpenedOnce:U,showConfirmationPopup:N,setShowConfirmationPopup:Y,deleteFileId:B,setDeleteFileId:O,uploadErrorMessage:re,setUploadErrorMessage:z})})}),N===!0||e.statementDeleteStatus.fetchState==="In-Progress"?t.jsx(ge,{titleComponent:t.jsx(Se,{children:i.reconciliation.drawer.deleteConfirmation.heading}),descriptionComponent:t.jsx(je,{children:i.reconciliation.drawer.deleteConfirmation.description}),isLoading:e.statementDeleteStatus.fetchState==="In-Progress",primaryButtonText:p.confirm,secondaryButtonText:p.cancel,action:ue}):null]})]})}const yt=({monthYearPeriod:e,accountReconciliation:n,filesEndPoint:l,authParams:u,openFilePicker:x,onConnectClick:S,onReconnectClick:$,setDeleteFileId:E,setShowConfirmationPopup:P,onEditFileName:_,onSelectSourceType:R,onStatementUploadSuccess:F,onUploadWindowOpenedOnce:L,uploadErrorMessage:U,setUploadErrorMessage:f})=>{const[k,h]=r.useState(!1),y=(n.localData?.accountSource??"plaid")==="plaid"?n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt:n.accountReconEntity.reconUpdatedAt,b=[];n.accountReconEntity.account.accountType==="bank"&&b.push({label:i.reconciliation.menu.bankConnection,value:"plaid"}),b.push({label:i.reconciliation.menu.statement,value:"bank_statement"});const v=n.accountReconEntity.account.accountType==="credit_card"?"bank_statement":n.localData?.accountSource;let a=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0||k?"bank_statement":void 0;n.accountReconEntity.account.accountType==="credit_card"&&(a="bank_statement"),r.useEffect(()=>{n.accountReconEntity.statementStatus.code==="uploaded"&&(n.accountReconEntity.statementDataStatus?.code==="validation_failed"||n.accountReconEntity.statementDataStatus?.code==="parsing_failed"||n.accountReconEntity.statementDataStatus?.code==="processing_failed")&&f(_e(n.accountReconEntity.statementDataStatus?.code,"drawer",n.accountReconEntity.errorMessage?.errorShort))},[n.accountReconEntity.statementStatus.code,n.accountReconEntity.statementDataStatus?.code,n.accountReconEntity.errorMessage?.errorShort,f]);const g=["reconciled","in_progress","reconciled_via_qbo"],M=n.accountReconEntity.reconciliationStatus!=null&&g.includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(Ve,{children:[t.jsxs(Ge,{children:[t.jsxs(Qe,{children:[t.jsx(A,{children:i.reconciliation.headers.bankBalance}),t.jsx(Ke,{children:t.jsx(Fe,{bankBalance:n.accountReconEntity.balance,bankConnection:n.accountConnectionStatus,isLoading:!1,fromDrawer:!0,accountId:n.accountReconEntity.account.accountId,statementStatus:n.accountReconEntity.statementStatus.code,onStatementAddClicked:()=>{},setIsHovering:()=>{}})})]}),t.jsxs(Je,{children:[t.jsx(A,{children:i.reconciliation.headers.clearedBalance}),t.jsx(Xe,{children:t.jsx(Le,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(et,{children:[t.jsx(A,{children:i.reconciliation.headers.variance}),t.jsx(tt,{children:t.jsx($t,{variance:n.accountReconEntity.variance,variancePercentage:n.accountReconEntity.variancePercentage})})]})]}),t.jsxs(st,{children:[t.jsxs(rt,{children:[" ",i.reconciliation.drawer.source," "]}),t.jsxs(lt,{children:[t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.type}),t.jsx(T,{children:a!=null?t.jsx(j,{children:a==="plaid"&&n.accountReconEntity.account.accountType==="bank"?t.jsxs(t.Fragment,{children:[t.jsx(ie,{}),i.reconciliation.menu.bankConnection]}):t.jsxs(t.Fragment,{children:[t.jsx(ae,{}),i.reconciliation.menu.statement]})}):t.jsx(be,{controller:!0,children:t.jsx(ve,{moreIconType:"custom",customIcon:t.jsx(gt,{selectedSourceType:v}),options:b,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:c.sp5,width:"180px"})},menuPlacement:"bottom",onOptionSelection:s=>{R(De(s))},valueToIcon:s=>s==="plaid"?t.jsx(ut,{}):s==="bank_statement"?t.jsx(pt,{}):null})})})]}),v==="bank_statement"?t.jsx(C,{children:t.jsx(we,{name:ft(se,"file"),file:n.accountReconEntity.statementMetaData?.file,showPhotoPicker:!1,isDisabled:M,sizeLimit:1e7,onFileSizeError:s=>{s&&f(p.fileElementPicker.sizeLimit)},deleteFileStatusById:{},updateFileStatusById:{},filesEndPoint:l,authParams:u,acceptableTypes:["application/pdf"],placeholderText:i.reconciliation.drawer.downloadPlaceholder,autoOpenFilePicker:x,accountStatementUpload:{uploadHelper:Te,metadataPayload:{accountId:n.accountReconEntity.account.accountId,accountType:n.accountReconEntity.account.accountType??"bank",monthYearPeriod:e},errorMessage:U,onUploadError:s=>{f(s?.message)},onUploadSuccess:s=>{F(s),h(!1)},onUploadStart:()=>{h(!0),f(void 0)},onUploadWindowOpenedOnce:()=>{L()}},onDeleteFile:s=>{E(s),P(!0)},onEditFileName:(s,w)=>{_(s,w)}})}):null,t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.status}),t.jsx(T,{children:v!=="bank_statement"?t.jsx(jt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:$}):t.jsx(St,{uploadInProgress:k,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.accountType}),t.jsx(T,{children:t.jsx(kt,{accountSubType:G(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.lastUpdated}),t.jsx(T,{children:t.jsx(Z,{isLoading:k,customStyle:{height:"20px",width:"100px"},position:"left",children:y!=null?t.jsx(j,{children:G(y.utc(!0).fromNow())}):p.strings.hyphen})})]})]})]})]})},gt=({selectedSourceType:e})=>t.jsxs(ct,{children:[e==null||e==="plaid"?t.jsx(ie,{}):t.jsx(ae,{}),t.jsx(it,{children:e==null||e==="plaid"?i.reconciliation.menu.bankConnection:i.reconciliation.menu.statement}),t.jsx(at,{})]}),jt=({status:e,connectionInProgress:n,onConnectClick:l,onReconnectClick:u})=>n?t.jsx(W,{children:i.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(W,{children:[t.jsx(dt,{}),t.jsx(ht,{children:i.reconciliation.drawer.values.connected})]}):t.jsx(W,{onClick:e==="reconnect"?u:l,children:t.jsx(mt,{status:e,children:e==="reconnect"?i.reconciliation.drawer.values.reconnect:i.reconciliation.drawer.values.connect})}),St=({status:e,uploadInProgress:n})=>n?t.jsx(Z,{isLoading:n,customStyle:{height:"20px",width:"100px"},position:"left",children:t.jsx(t.Fragment,{})}):e==null?t.jsx(j,{children:p.strings.hyphen}):e==="parsing"?t.jsx(j,{children:i.reconciliation.drawer.values.statementParsing}):e==="validated"?t.jsx(j,{children:i.reconciliation.drawer.values.uploaded}):t.jsx(j,{children:p.strings.hyphen}),$t=({variance:e,variancePercentage:n,reconciliationStatusCode:l})=>{const u=Ee(),{varianceColor:x,variancePercentageColor:S,variancePercentageContainerColor:$}=Ue(u,e,l,!0);return t.jsxs(Ze,{children:[t.jsx(nt,{textColor:x,children:Pe("0,0",e)??p.strings.hyphen}),t.jsxs(ot,{textColor:S,bgColor:$,children:[n!=null?n===0?"0":n.toFixed(2):null,n!=null?p.strings.percentage:null]})]})},kt=({accountSubType:e})=>{const n=e!=null?e.replace("_"," "):p.strings.hyphen;return t.jsx(j,{children:n})},bt=({monthYearPeriod:e})=>t.jsx(ce,{children:vt(e)}),vt=e=>{const{month:n,year:l}=e,u=oe(`${l}-${String(n).padStart(2,"0")}-01`);let x=u.endOf("month");return`${u.format(Q.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${x.format(Q.visual.DMMMYYYYFormat)}`},K=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{Mt as default,ft as uniqueName};
|
|
239
|
+
`,{common:p,dateFormat:Q,expenseAutomation:{accountRecon:c}}=Ce.getLocalizedStrings(),ft=(e,n)=>`${e}.${n}`,xt="accountReconDrawerDetailsPage",se="accountReconDrawerDetailsSection";function Mt({accountReconciliation:e,plaidConnectionDetails:n,monthYearPeriod:l,openFilePicker:u,filesEndPoint:x,authParams:S,onDismissClick:$,onFetchLinkTokenClick:E,onEstablishConnectionClick:P,onSelectSourceType:_,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:L,onUploadWindowOpenedOnce:U}){const f=fe({mode:"all",reValidateMode:"onChange",defaultValues:K(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:K(e)}),b=f.handleSubmit(()=>{}),[h,y]=r.useState(void 0),k=n.link_account_no_microdeposit,v=n.update_account,a=h==="update_account"?v:k,[g,M]=r.useState(a.linkToken??null),[s,w]=r.useState(!1),[N,Y]=r.useState(!1),[B,O]=r.useState(void 0),[re,z]=r.useState(void 0),le=r.useCallback(()=>{y("link_account_no_microdeposit")},[]),de=r.useCallback(()=>{y("update_account"),E("update_account",e.paymentAccountId)},[e.paymentAccountId]),ue={onOkClick:()=>{B!=null&&(R(B),O(void 0)),z(void 0),Y(!1)},onCancelClick:()=>{O(void 0),Y(!1)}},H=r.useRef(h);r.useEffect(()=>{H.current=h},[h]);const pe=r.useCallback(I=>{P(I,e.accountReconEntity.account.accountId,H.current),y(void 0),w(!1)},[P,e.accountReconEntity.account.accountId]),he=r.useCallback((I,me)=>{I!=null&&console.log("Plaid Connection Error",I,me),y(void 0),w(!1)},[]),{open:q,ready:V}=xe({token:g,onSuccess:pe,onExit:he});return r.useEffect(()=>{(oe(new Date().toISOString()).isAfter(a.expiration)||a.linkToken==null)&&a.fetchStatus.fetchState==="Not-Started"&&E("link_account_no_microdeposit")},[a.fetchStatus.fetchState]),r.useEffect(()=>{!s&&h!=null&&a.linkToken===g&&a.fetchStatus.fetchState==="Completed"&&V&&w(!0)},[V,g,a.fetchStatus.fetchState,a.linkToken,h,s]),r.useEffect(()=>{a.fetchStatus.fetchState==="Completed"&&a.linkToken!=null&&a.linkToken!==g&&M(a.linkToken)},[a.fetchStatus.fetchState,a.linkToken,g]),r.useEffect(()=>{s&&q()},[s,q]),t.jsxs(Me,{children:[t.jsx(Be,{children:t.jsx(We,{children:t.jsxs(Ne,{children:[t.jsx(Ye,{}),t.jsxs(ze,{children:[t.jsx(He,{children:e.accountReconEntity.account.accountName}),t.jsx(ie,{children:t.jsx(kt,{monthYearPeriod:l})})]}),t.jsx(qe,{children:t.jsx(Oe,{onClick:$})})]})})}),t.jsxs(Ae,{children:[t.jsx(ye,{...f,children:t.jsx("form",{style:{width:"100%"},id:xt,onSubmit:b,children:t.jsx(yt,{monthYearPeriod:l,accountReconciliation:e,filesEndPoint:x,openFilePicker:u,authParams:S,onConnectClick:le,onReconnectClick:de,onSelectSourceType:_,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:L,onUploadWindowOpenedOnce:U,showConfirmationPopup:N,setShowConfirmationPopup:Y,deleteFileId:B,setDeleteFileId:O,uploadErrorMessage:re,setUploadErrorMessage:z})})}),N===!0||e.statementDeleteStatus.fetchState==="In-Progress"?t.jsx(ge,{titleComponent:t.jsx(Se,{children:c.reconciliation.drawer.deleteConfirmation.heading}),descriptionComponent:t.jsx(je,{children:c.reconciliation.drawer.deleteConfirmation.description}),isLoading:e.statementDeleteStatus.fetchState==="In-Progress",primaryButtonText:p.confirm,secondaryButtonText:p.cancel,action:ue}):null]})]})}const yt=({monthYearPeriod:e,accountReconciliation:n,filesEndPoint:l,authParams:u,openFilePicker:x,onConnectClick:S,onReconnectClick:$,setDeleteFileId:E,setShowConfirmationPopup:P,onEditFileName:_,onSelectSourceType:R,onStatementUploadSuccess:F,onUploadWindowOpenedOnce:L,uploadErrorMessage:U,setUploadErrorMessage:f})=>{const[b,h]=r.useState(!1),y=(n.localData?.accountSource??"plaid")==="plaid"?n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt:n.accountReconEntity.reconUpdatedAt,k=[];n.accountReconEntity.account.accountType==="bank"&&k.push({label:c.reconciliation.menu.bankConnection,value:"plaid"}),k.push({label:c.reconciliation.menu.statement,value:"bank_statement"});const v=n.accountReconEntity.account.accountType==="credit_card"?"bank_statement":n.localData?.accountSource;let a=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0||b?"bank_statement":void 0;n.accountReconEntity.account.accountType==="credit_card"&&(a="bank_statement"),r.useEffect(()=>{n.accountReconEntity.statementStatus.code==="uploaded"&&(n.accountReconEntity.statementDataStatus?.code==="validation_failed"||n.accountReconEntity.statementDataStatus?.code==="parsing_failed"||n.accountReconEntity.statementDataStatus?.code==="processing_failed")&&f(_e(n.accountReconEntity.statementDataStatus?.code,"drawer",n.accountReconEntity.errorMessage?.errorShort))},[n.accountReconEntity.statementStatus.code,n.accountReconEntity.statementDataStatus?.code,n.accountReconEntity.errorMessage?.errorShort,f]);const g=["reconciled","in_progress","reconciled_via_qbo"],M=n.accountReconEntity.reconciliationStatus!=null&&g.includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(Ve,{children:[t.jsxs(Ge,{children:[t.jsxs(Qe,{children:[t.jsx(A,{children:c.reconciliation.headers.bankBalance}),t.jsx(Ke,{children:t.jsx(Fe,{bankBalance:n.accountReconEntity.balance,bankConnection:n.accountConnectionStatus,isLoading:!1,fromDrawer:!0,accountId:n.accountReconEntity.account.accountId,statementStatus:n.accountReconEntity.statementStatus.code,onStatementAddClicked:()=>{},setIsHovering:()=>{}})})]}),t.jsxs(Je,{children:[t.jsx(A,{children:c.reconciliation.headers.clearedBalance}),t.jsx(Xe,{children:t.jsx(Le,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(et,{children:[t.jsx(A,{children:c.reconciliation.headers.variance}),t.jsx(tt,{children:t.jsx($t,{variance:n.accountReconEntity.variance,variancePercentage:n.accountReconEntity.variancePercentage})})]})]}),t.jsxs(st,{children:[t.jsxs(rt,{children:[" ",c.reconciliation.drawer.source," "]}),t.jsxs(lt,{children:[t.jsxs(C,{children:[t.jsx(D,{children:c.reconciliation.drawer.labels.type}),t.jsx(T,{children:a!=null?t.jsx(j,{children:a==="plaid"&&n.accountReconEntity.account.accountType==="bank"?t.jsxs(t.Fragment,{children:[t.jsx(ce,{}),c.reconciliation.menu.bankConnection]}):t.jsxs(t.Fragment,{children:[t.jsx(ae,{}),c.reconciliation.menu.statement]})}):t.jsx(ke,{controller:!0,children:t.jsx(ve,{moreIconType:"custom",customIcon:t.jsx(gt,{selectedSourceType:v}),options:k,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:i.sp5,width:"180px"})},menuPlacement:"bottom",onOptionSelection:s=>{R(De(s))},valueToIcon:s=>s==="plaid"?t.jsx(ut,{}):s==="bank_statement"?t.jsx(pt,{}):null})})})]}),v==="bank_statement"?t.jsx(C,{children:t.jsx(we,{name:ft(se,"file"),file:n.accountReconEntity.statementMetaData?.file,showPhotoPicker:!1,isDisabled:M,sizeLimit:1e7,onFileSizeError:s=>{s&&f(p.fileElementPicker.sizeLimit)},deleteFileStatusById:{},updateFileStatusById:{},filesEndPoint:l,authParams:u,acceptableTypes:["application/pdf"],placeholderText:c.reconciliation.drawer.downloadPlaceholder,autoOpenFilePicker:x,accountStatementUpload:{uploadHelper:Te,metadataPayload:{accountId:n.accountReconEntity.account.accountId,accountType:n.accountReconEntity.account.accountType??"bank",monthYearPeriod:e},errorMessage:U,onUploadError:s=>{f(s?.message)},onUploadSuccess:s=>{F(s),h(!1)},onUploadStart:()=>{h(!0),f(void 0)},onUploadWindowOpenedOnce:()=>{L()}},onDeleteFile:s=>{E(s),P(!0)},onEditFileName:(s,w)=>{_(s,w)}})}):null,t.jsxs(C,{children:[t.jsx(D,{children:c.reconciliation.drawer.labels.status}),t.jsx(T,{children:v!=="bank_statement"?t.jsx(jt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:$}):t.jsx(St,{uploadInProgress:b,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(C,{children:[t.jsx(D,{children:c.reconciliation.drawer.labels.accountType}),t.jsx(T,{children:t.jsx(bt,{accountSubType:G(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(C,{children:[t.jsx(D,{children:c.reconciliation.drawer.labels.lastUpdated}),t.jsx(T,{children:t.jsx(Z,{isLoading:b,customStyle:{height:"20px",width:"100px"},position:"left",children:y!=null?t.jsx(j,{children:G(y.utc(!0).fromNow())}):p.strings.hyphen})})]})]})]})]})},gt=({selectedSourceType:e})=>t.jsxs(it,{children:[e==null||e==="plaid"?t.jsx(ce,{}):t.jsx(ae,{}),t.jsx(ct,{children:e==null||e==="plaid"?c.reconciliation.menu.bankConnection:c.reconciliation.menu.statement}),t.jsx(at,{})]}),jt=({status:e,connectionInProgress:n,onConnectClick:l,onReconnectClick:u})=>n?t.jsx(W,{children:c.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(W,{children:[t.jsx(dt,{}),t.jsx(ht,{children:c.reconciliation.drawer.values.connected})]}):t.jsx(W,{onClick:e==="reconnect"?u:l,children:t.jsx(mt,{status:e,children:e==="reconnect"?c.reconciliation.drawer.values.reconnect:c.reconciliation.drawer.values.connect})}),St=({status:e,uploadInProgress:n})=>n?t.jsx(Z,{isLoading:n,customStyle:{height:"20px",width:"100px"},position:"left",children:t.jsx(t.Fragment,{})}):e==null?t.jsx(j,{children:p.strings.hyphen}):e==="parsing"?t.jsx(j,{children:c.reconciliation.drawer.values.statementParsing}):e==="validated"?t.jsx(j,{children:c.reconciliation.drawer.values.uploaded}):t.jsx(j,{children:p.strings.hyphen}),$t=({variance:e,variancePercentage:n,reconciliationStatusCode:l})=>{const u=Ee(),{varianceColor:x,variancePercentageColor:S,variancePercentageContainerColor:$}=Ue(u,e,l,!0);return t.jsxs(Ze,{children:[t.jsx(nt,{textColor:x,children:Pe("0,0",e)??p.strings.hyphen}),t.jsxs(ot,{textColor:S,bgColor:$,children:[n!=null?n===0?"0":n.toFixed(2):null,n!=null?p.strings.percentage:null]})]})},bt=({accountSubType:e})=>{const n=e!=null?e.replace("_"," "):p.strings.hyphen;return t.jsx(j,{children:n})},kt=({monthYearPeriod:e})=>t.jsx(ie,{children:vt(e)}),vt=e=>{const{month:n,year:l}=e,u=oe(`${l}-${String(n).padStart(2,"0")}-01`);let x=u.endOf("month");return`${u.format(Q.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${x.format(Q.visual.DMMMYYYYFormat)}`},K=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{Mt as default,ft as uniqueName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,aL as E,bR as f,o,aN as y,aa as se,dI as re,F as le,al as w,dJ as de,p as g,dK as X,dL as Y,cX as ue,aT as x,ah as Z,c as p,q as xe,d as S,a_ as pe,dp as he,an as ge,n as me,am as I,bI as fe,dB as je}from"./index-
|
|
1
|
+
import{V as t,aL as E,bR as f,o,aN as y,aa as se,dI as re,F as le,al as w,dJ as de,p as g,dK as X,dL as Y,cX as ue,aT as x,ah as Z,c as p,q as xe,d as S,a_ as pe,dp as he,an as ge,n as me,am as I,bI as fe,dB as je}from"./index-BxCf7Wvz.js";import{a as ye}from"./sentry-RNV3Di4s.js";import{n as a,c as we}from"./mui-BH8m6kGU.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]="46a7068a-5a72-4874-be45-7d3d11f1a20f",e._sentryDebugIdIdentifier="sentry-dbid-46a7068a-5a72-4874-be45-7d3d11f1a20f")}catch{}})();const $e=a.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
${e=>e.showTreeLine===!0&&e.collapsed!==!0?`&::after {
|
|
4
4
|
content: "";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{F as U,V as o,o as t,aW as z,p as v,aq as ne,b as ae,bt as ie,bu as se,bv as ce,bw as le,bx as Y,l as de,aM as q,aJ as pe,d as R,aw as ue,aN as _,aV as he,aK as me,aQ as ge,ah as Q,aX as xe,b4 as fe,al as ye,b9 as Ce}from"./index-
|
|
1
|
+
import{F as U,V as o,o as t,aW as z,p as v,aq as ne,b as ae,bt as ie,bu as se,bv as ce,bw as le,bx as Y,l as de,aM as q,aJ as pe,d as R,aw as ue,aN as _,aV as he,aK as me,aQ as ge,ah as Q,aX as xe,b4 as fe,al as ye,b9 as Ce}from"./index-BxCf7Wvz.js";import{a as F,S}from"./sentry-RNV3Di4s.js";import{c as $e}from"./SummaryCard-DvdjDQ13-6ipWCmEa.js";import{n as r,k as X,c as V}from"./mui-BH8m6kGU.js";import{EM as be}from"./zeni-epic-state-BSaicoAp.js";import{N as E}from"./NavigationArrow-lK8LcatV-CeIdwn4T.js";import{k as ve}from"./NavigationDots-Dp0jKWtv-CRltAfKx.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]="36b76742-8023-4026-a5f0-1359e20f9940",e._sentryDebugIdIdentifier="sentry-dbid-36b76742-8023-4026-a5f0-1359e20f9940")}catch{}})();const je="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-1.png",Ae="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-2.png",we="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-3.png",T=(e,n)=>{const i=e==="right"?`-${n}%`:`${n}%`;return X`
|
|
2
2
|
0% {
|
|
3
3
|
opacity: 0;
|
|
4
4
|
transform: translateX(${i});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as y,q as S,aO as T,b as r,V as l,jr as w,o as t,y as m,aN as B,F as x,c as n}from"./index-
|
|
1
|
+
import{d as y,q as S,aO as T,b as r,V as l,jr as w,o as t,y as m,aN as B,F as x,c as n}from"./index-BxCf7Wvz.js";import{a as C}from"./sentry-RNV3Di4s.js";import{n as j}from"./mui-BH8m6kGU.js";import"./liveblocks-CGDIIAIj.js";import"./core-d8TJZx_K.js";import"./recharts-DuImoJah.js";import"./zeni-epic-state-BSaicoAp.js";import"./lottie-LB826b2R.js";import"./analytics-DWna4COD.js";import"./lexical-C6LLNKxw.js";import"./utils-BXiVsZbS.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="b6a4e308-0b71-4e3e-a2a5-b0b977720133",e._sentryDebugIdIdentifier="sentry-dbid-b6a4e308-0b71-4e3e-a2a5-b0b977720133")}catch{}})();const p={marginTop:new m(n[0],18),marginBottom:new m(n[0],n[3])},{spendManagement:{chargeCard:{chargeCardsPromo:g}},common:A}=x.getLocalizedStrings(),K=({googleAPIKey:e,customAddress:o,customAddressStatus:a,onDismissClick:d,onSubmitHandler:c})=>{const u=y(),s=S(),i=T(a.fetchState);C.useEffect(()=>{i==="In-Progress"&&a.fetchState==="Completed"&&d()},[a.fetchState,d,i]);const b=s==="small"?r.extraSmallRegular.cssObject:r.standardRegular.cssObject,f=s==="small"?r.standardMedium.cssObject:r.h5Regular.cssObject;return l.jsx(I,{"data-testid":B("add-address-for-card-drawer"),children:l.jsx(w,{googleAPIKey:e,loadingState:a.fetchState,addressToEdit:o,onSubmitHandler:h=>c(h),onCancel:d,showNavbarWithClose:!0,isSubPage:!0,addTitleMessage:g.addAddress,subTitleMessage:g.addAddressSubText,hideAddressBackButton:!0,showAddressCloseButton:!0,dontShowSaveConfirmationPopup:!0,customNavStyles:{paddingTop:"19px",paddingBottom:"19px"},customTitleStyles:{marginTop:p.marginTop.valuePx(s),marginBottom:p.marginBottom.valuePx(s),...f},subTitleStyles:{marginTop:t.sp0,marginBottom:t.sp0,...b,color:u.colors.hero},navBarContainerStyles:{alignItems:"center",justifyContent:"space-between",paddingTop:t.sp2,paddingRight:t.sp3},sectionStyles:{paddingTop:t.sp4,paddingBottom:t.sp4},footerButtons:{primaryButtonLabel:A.add,buttonWidth:82,separatorStyle:{marginRight:t.sp4}}})})},I=j.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
background-color: ${e=>e.theme.colors.grey4};
|
|
4
4
|
height: 100%;
|
package/dist/assets/{AddToWalletPage-eU9RlrX2-jkWuQQnk.js → AddToWalletPage-DfB-vvqh-DUAF88ZP.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as L,a8 as le,aw as ne,F as N,V as t,bA as de,c as p,j4 as pe,jo as ce,o as i,n as A,aN as W,y as m,R as $,M as b,jp as he,j5 as ge,cg as xe,p as r,jq as me,bw as we,cT as ue,al as $e,b as be,j9 as fe}from"./index-
|
|
1
|
+
import{q as L,a8 as le,aw as ne,F as N,V as t,bA as de,c as p,j4 as pe,jo as ce,o as i,n as A,aN as W,y as m,R as $,M as b,jp as he,j5 as ge,cg as xe,p as r,jq as me,bw as we,cT as ue,al as $e,b as be,j9 as fe}from"./index-BxCf7Wvz.js";import{a as g}from"./sentry-RNV3Di4s.js";import{n as o,c as D}from"./mui-BH8m6kGU.js";import{EL as ye}from"./zeni-epic-state-BSaicoAp.js";import{t as je,n as ve,i as Se,a as Ce,l as ke,r as Te,A as ze}from"./add-to-wallet-DgdBD8_G-BDLvoxng.js";import"./liveblocks-CGDIIAIj.js";import"./core-d8TJZx_K.js";import"./recharts-DuImoJah.js";import"./lottie-LB826b2R.js";import"./analytics-DWna4COD.js";import"./lexical-C6LLNKxw.js";import"./utils-BXiVsZbS.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="ac7fb1ea-0546-4111-bf7a-b024ef3060bd",e._sentryDebugIdIdentifier="sentry-dbid-ac7fb1ea-0546-4111-bf7a-b024ef3060bd")}catch{}})();const Ie=({options:e,selected:a,onToggle:h,containerStyle:l={},optionStyle:y={},thumbStyle:k={}})=>{const w=e.findIndex(n=>n.id===a),u=100/e.length,j=()=>w===0?{left:"1%"}:w===e.length-1?{left:`${(e.length-1)*u}%`}:{left:`${w*u}%`};return t.jsxs(Ae,{style:l,children:[t.jsx(We,{style:{width:`${u-1}%`,...j(),...k}}),e.map(n=>t.jsx(De,{style:y,active:n.id===a,"data-testid":n.dataTestId,onClick:v=>{v.preventDefault(),h(n.id)},children:n.label},n.id))]})},Ae=o.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
width: 100%;
|
|
4
4
|
background: ${e=>e.theme.colors.grey3};
|
package/dist/assets/{AgingReportsPage-Dbj75D7L-CkjwKL8j.js → AgingReportsPage-__jUwahK-B6-kjXQe.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as K,q as O,h_ as _e,V as t,h$ as De,bM as Ne,i0 as ve,bB as Oe,bA as je,y as D,aa as R,g2 as ke,F as x,o as N,aR as Pe,c as m,aL as Q,cd as Be,ce as $e,cf as Ie,al as Me,cg as Ae,b2 as ne,aB as oe,aT as re}from"./index-
|
|
1
|
+
import{d as K,q as O,h_ as _e,V as t,h$ as De,bM as Ne,i0 as ve,bB as Oe,bA as je,y as D,aa as R,g2 as ke,F as x,o as N,aR as Pe,c as m,aL as Q,cd as Be,ce as $e,cf as Ie,al as Me,cg as Ae,b2 as ne,aB as oe,aT as re}from"./index-BxCf7Wvz.js";import{a as f}from"./sentry-RNV3Di4s.js";import{n as y}from"./mui-BH8m6kGU.js";import{bh as T,FW as Ye}from"./zeni-epic-state-BSaicoAp.js";import{n as M}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{L as ze,k as Le}from"./ArAgingChart-CjRE8wyO-DuIHY7ik.js";import{C as ie}from"./NoDataChart-BVStkyEY-D2SnG7M_.js";import{I as se,R as $}from"./CollapsableReportTable-B0N8Ybey-lucDiVV7.js";import{d as le}from"./NoDataTable-CBglXVQp-Bo5PkCij.js";import{l as ce}from"./mapSpacerToTreeNode-BgJYIgvo-CUvrjAxs.js";import{l as Ee}from"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";import"./liveblocks-CGDIIAIj.js";import"./core-d8TJZx_K.js";import"./recharts-DuImoJah.js";import"./lottie-LB826b2R.js";import"./analytics-DWna4COD.js";import"./lexical-C6LLNKxw.js";import"./utils-BXiVsZbS.js";import"./chartTypes-Cdx27b7W-BwAd9kGM.js";import"./AccountRow-B3ULDo0k-C-jIzuWE.js";import"./graphic-no-data-l-DU4J8fDt-BVFGUXFG.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]="b50fd956-8215-4933-9ed5-d86f570cc5f8",e._sentryDebugIdIdentifier="sentry-dbid-b50fd956-8215-4933-9ed5-d86f570cc5f8")}catch{}})();const Re={chartHeight:new D(288,360)},de=y.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
`,ge=y.div`
|
|
4
4
|
display: flex;
|
|
@@ -16,7 +16,7 @@ import{d as K,q as O,h_ as _e,V as t,h$ as De,bM as Ne,i0 as ve,bB as Oe,bA as j
|
|
|
16
16
|
`,he=y.div`
|
|
17
17
|
width: 100%;
|
|
18
18
|
height: calc(100vh - ${N.sp11});
|
|
19
|
-
`;function We({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){return e.reportId==="accounts_payable_aging"?t.jsx(Je,{report:e,onSortOrderChange:a,onEntityNameClick:o}):t.jsx(Ve,{report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i})}function Je({report:e,onSortOrderChange:a,onEntityNameClick:o}){const[i,s]=f.useState(void 0),[n,c]=f.useState(void 0),l=O(),r=K(),u=!(l==="small"||l==="medium-compact"),p=f.useCallback((d,g)=>{a(d,g)},[a]);return f.useEffect(()=>{const d={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.apAgingUIState.sortKey,sortOrder:e.apAgingUIState.sortOrder,onSortOrderChanged:p,onEntityNameClick:o}};if(n==null||!oe(i,e)){const g=Ge(e,d,u);s(e),c(g)}else{const g=ue(n,d,e,u);c(g)}},[e,p]),e.agingBalances.length===0?t.jsx(A,{windowSize:l,children:t.jsx(le,{})}):n!=null?t.jsx(A,{windowSize:l,children:t.jsx(he,{numOfRows:e.agingBalances.length,children:t.jsx(se,{backgroundColor:new re(r.colors.grey4),rootNodes:n,type:"name+balances_actual",isSticky:{isStickyHeader:u,isStickyName:u},treeNodePadding:{left:v.contentPaddingLeft.value(l),right:v.contentPaddingRight.value(l)},nodeOpenStatus:{},compareMode:"compare_mode_amount"})})}):null}function Ve({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){const[s,n]=f.useState(void 0),[c,l]=f.useState(void 0),r=O(),u=K(),p=!(r==="small"||r==="medium-compact"),d=f.useCallback((g,
|
|
19
|
+
`;function We({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){return e.reportId==="accounts_payable_aging"?t.jsx(Je,{report:e,onSortOrderChange:a,onEntityNameClick:o}):t.jsx(Ve,{report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i})}function Je({report:e,onSortOrderChange:a,onEntityNameClick:o}){const[i,s]=f.useState(void 0),[n,c]=f.useState(void 0),l=O(),r=K(),u=!(l==="small"||l==="medium-compact"),p=f.useCallback((d,g)=>{a(d,g)},[a]);return f.useEffect(()=>{const d={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.apAgingUIState.sortKey,sortOrder:e.apAgingUIState.sortOrder,onSortOrderChanged:p,onEntityNameClick:o}};if(n==null||!oe(i,e)){const g=Ge(e,d,u);s(e),c(g)}else{const g=ue(n,d,e,u);c(g)}},[e,p]),e.agingBalances.length===0?t.jsx(A,{windowSize:l,children:t.jsx(le,{})}):n!=null?t.jsx(A,{windowSize:l,children:t.jsx(he,{numOfRows:e.agingBalances.length,children:t.jsx(se,{backgroundColor:new re(r.colors.grey4),rootNodes:n,type:"name+balances_actual",isSticky:{isStickyHeader:u,isStickyName:u},treeNodePadding:{left:v.contentPaddingLeft.value(l),right:v.contentPaddingRight.value(l)},nodeOpenStatus:{},compareMode:"compare_mode_amount"})})}):null}function Ve({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){const[s,n]=f.useState(void 0),[c,l]=f.useState(void 0),r=O(),u=K(),p=!(r==="small"||r==="medium-compact"),d=f.useCallback((g,b)=>{a(g,b)},[a]);return f.useEffect(()=>{const g={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.arAgingUIState.sortKey,sortOrder:e.arAgingUIState.sortOrder,onSortOrderChanged:d,onEntityNameClick:o}};if(c==null||!oe(s,e)){const b=He(e,g,p);n(e),l(b)}else{const b=ue(c,g,e,p);l(b)}},[e,d]),e.agingBalances.length===0?t.jsx(A,{windowSize:r,children:t.jsx(le,{})}):c!=null?t.jsx(A,{windowSize:r,children:t.jsx(he,{numOfRows:e.agingBalances.length,children:t.jsx(se,{backgroundColor:new re(u.colors.grey4),rootNodes:c,type:"name+balances_actual",isSticky:{isStickyHeader:p,isStickyName:p},treeNodePadding:{left:v.contentPaddingLeft.value(r),right:v.contentPaddingRight.value(r)},nodeOpenStatus:e.arAgingUIState.nodeCollapseState,onNodeCollapseToggled:i,compareMode:"compare_mode_amount"})})}):null}const Ze={summaryColumnGap:new D(m[2],m[1],m[1],m[2],m[6])},Qe=y.div`
|
|
20
20
|
display: flex;
|
|
21
21
|
width: 100%;
|
|
22
22
|
justify-content: space-between;
|
|
@@ -34,7 +34,7 @@ import{d as K,q as O,h_ as _e,V as t,h$ as De,bM as Ne,i0 as ve,bB as Oe,bA as j
|
|
|
34
34
|
width: fit-content;
|
|
35
35
|
`,te=y(Ae)`
|
|
36
36
|
color: ${e=>e.theme.colors.primary};
|
|
37
|
-
`;function Xe({totalBalances:e,reportId:a}){const o=f.useMemo(()=>Ee(e),[e]),i=O();return t.jsxs(Qe,{windowSize:i,children:[e.map(s=>{const{period:n}=s;return t.jsxs(X,{children:[t.jsx(ee,{children:x.getLocalizedStrings().reports.aging.duration[n]}),t.jsx(te,{children:Q("0,0",s?.balance)})]},n)}),t.jsxs(X,{children:[t.jsx(ee,{children:a==="accounts_payable_aging"?x.getLocalizedStrings().reports.aging.apAging.totalPayable:x.getLocalizedStrings().reports.aging.arAging.totalReceivable}),t.jsx(te,{children:Q("0,0",o?.balance)})]})]})}const q={wrapperPadding:new D(m[3],m[3],m[8]),navbarMarginBottom:new D(m[7],m[4])},{download:F,dateFormat:_,reports:{common:et,aging:B}}=x.getLocalizedStrings();function Bt(e){const a=K(),[o,i]=f.useState(!1),s=O(),{report:n,uiState:c,downloadParams:l,analytics:r,onSelectedDateChanged:u,onBackClick:p,onSearchTextChange:d,onReloadReport:g,onSortOrderChange:
|
|
37
|
+
`;function Xe({totalBalances:e,reportId:a}){const o=f.useMemo(()=>Ee(e),[e]),i=O();return t.jsxs(Qe,{windowSize:i,children:[e.map(s=>{const{period:n}=s;return t.jsxs(X,{children:[t.jsx(ee,{children:x.getLocalizedStrings().reports.aging.duration[n]}),t.jsx(te,{children:Q("0,0",s?.balance)})]},n)}),t.jsxs(X,{children:[t.jsx(ee,{children:a==="accounts_payable_aging"?x.getLocalizedStrings().reports.aging.apAging.totalPayable:x.getLocalizedStrings().reports.aging.arAging.totalReceivable}),t.jsx(te,{children:Q("0,0",o?.balance)})]})]})}const q={wrapperPadding:new D(m[3],m[3],m[8]),navbarMarginBottom:new D(m[7],m[4])},{download:F,dateFormat:_,reports:{common:et,aging:B}}=x.getLocalizedStrings();function Bt(e){const a=K(),[o,i]=f.useState(!1),s=O(),{report:n,uiState:c,downloadParams:l,analytics:r,onSelectedDateChanged:u,onBackClick:p,onSearchTextChange:d,onReloadReport:g,onSortOrderChange:b,onEntityNameClick:fe,updateDownloadStateHandler:Y,onNodeCollapseToggled:ye}=e,{fetchState:j,reportTitle:we,reportId:w}=n,{searchString:k,downloadState:I,sortKey:z,sortOrder:L,selectedDate:S,agingDateSelectionType:G}=c,{authParams:H,downloadEndPoint:W,timezone:J}=l,V=f.useCallback((h,C)=>{const P=ae(C);u(h,P),r.trackAgingReportDateChange(M(w),S!=null?S.format(_.analytics.YYYYDashMMDashDDFormat):T().format(_.analytics.YYYYDashMMDashDDFormat),h.format(_.analytics.YYYYDashMMDashDDFormat),P)},[r,u,w,S]),Z=f.useCallback(h=>{const C=_e({options:B.preComputedDurationOptions.map(({label:E,value:Ce})=>({label:E,value:Ye(Ce)})).filter(({value:E})=>E!=null),selectedDate:h}),P=ae(C);u(h,P),r.trackAgingReportDateChange(M(w),S!=null?S.format(_.analytics.YYYYDashMMDashDDFormat):T().format(_.analytics.YYYYDashMMDashDDFormat),h.format(_.analytics.YYYYDashMMDashDDFormat),P)},[r,u,w,S]),xe=f.useCallback((h,C)=>{b(h,C),r.trackAgingReportSortChange(M(w),C,h)},[r,b,w]),Se=f.useCallback(()=>t.jsx(De,{maxDate:T(),selectedDate:{date:S},precomputedOptionsProperties:{preComputedOptionSelected:ct(G),preComputedOptionDateFormat:_.visual.MMMDCommaYYYYformat,preComputedOptions:B.preComputedDurationOptions,onPreComputedOptionSelected:V},onSelectedDateChanged:Z}),[S,V,Z,G]);if(f.useEffect(()=>{async function h(){const C={companyName:l.companyName,searchString:k,sortKey:z,sortOrder:L,statementFileType:"excel",timezone:J,reportId:w==="accounts_receivable_aging"?"accounts_receivable_aging":"accounts_payable_aging",reportDate:S};await tt(W,H,C),Y("Completed"),r.trackAgingReportDownloadClick(M(w),z,L)}o&&I!=="In-Progress"&&(i(!1),Y("In-Progress"),h())},[H,W,l.companyName,I,o,w,k,z,L,Y,S,r,J]),j==="Error")return t.jsxs(nt,{children:[t.jsx(ot,{onClick:g,children:t.jsx(Ne,{})}),t.jsx(rt,{children:et.failed})]});const be=t.jsxs(t.Fragment,{children:[t.jsx(ve,{isSearchOpen:(k?.length??0)>0,searchPlaceHolder:w==="accounts_payable_aging"?B.apAging.searchPlaceholder:B.arAging.searchPlaceholder,searchText:k??"",onSearchTextChanged:h=>{d(h)},downloadPresent:!0}),t.jsx(Oe,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:I==="In-Progress"}],onDownloadClick:async h=>{if(h==="excel")if(I==="In-Progress"){console.log("Download is already in progress!");return}else i(!0)}}}})]});return t.jsxs(it,{children:[t.jsx(je,{title:we,subTitle:Se(),backgroundColor:a.colors.grey5,onBackClick:p,rightSideComponent:be,downloadPresent:!0,style:{marginBottom:q.navbarMarginBottom.valuePx(s)},source:"AgingReportsPage"}),t.jsx(R,{controller:j==="In-Progress"||j==="Not-Started",children:t.jsx(ke,{fetchState:j})}),t.jsxs(R,{controller:j==="Completed",children:[t.jsx(R,{controller:k.length===0,children:t.jsxs(lt,{windowSize:s,children:[t.jsx(st,{children:t.jsx(Xe,{reportId:w==="accounts_payable_aging"?"accounts_payable_aging":"accounts_receivable_aging",totalBalances:n.totalBalances})}),t.jsx(Te,{report:n})]})}),t.jsx(We,{report:n,onSortOrderChange:xe,onEntityNameClick:fe,onNodeCollapseToggled:ye})]})]})}async function tt(e,a,o){const i=`${e}?query=${encodeURIComponent(JSON.stringify(at(o)))}`,s=B.arAging;try{const n=await Be({urlEndPoint:i,authParams:a,fileType:"excel"});if(n.ok){const c=$e(n.headers,F.defaultFileName),l=await n.arrayBuffer();Ie(l,c)}else console.error(`${F.errorMessages.fileDownloadError.replace("__feature__",s.arAging)} ${n.statusText}`)}catch(n){console.error(`${F.errorMessages.fileDownloadError.replace("__feature__",s.arAging)} ${JSON.stringify(n)}`)}}function at(e){return{statement_file_type:e.statementFileType,search_string:e.searchString,report_id:e.reportId,company_name:e.companyName,locale_id:x.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,report_date:e.reportDate,timezone:e.timezone}}const nt=y.div`
|
|
38
38
|
display: flex;
|
|
39
39
|
width: 100%;
|
|
40
40
|
height: calc(100% - 60px);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{cP as Q,eg as Ie,q as _,V as l,aN as P,y as O,o as i,b8 as re,F as Z,n as ie,al as ne,cX as Pe,cg as Ce,c as L,bR as Se,aH as te,cy as Y,gN as de,fV as R,fS as J,fT as K,fU as ce,fW as pe,a_ as me,gO as Te,p as ue,cW as ge,am as he,eo as Oe,ad as Re}from"./index-
|
|
1
|
+
import{cP as Q,eg as Ie,q as _,V as l,aN as P,y as O,o as i,b8 as re,F as Z,n as ie,al as ne,cX as Pe,cg as Ce,c as L,bR as Se,aH as te,cy as Y,gN as de,fV as R,fS as J,fT as K,fU as ce,fW as pe,a_ as me,gO as Te,p as ue,cW as ge,am as he,eo as Oe,ad as Re}from"./index-BxCf7Wvz.js";import{n as p}from"./mui-BH8m6kGU.js";import{FB as ze,bg as X}from"./zeni-epic-state-BSaicoAp.js";import{a as E}from"./sentry-RNV3Di4s.js";import{Y as xe}from"./LabeledUserSingleSelectWithSubtitlesField-DsstNVEx-Ds7lbv89.js";import{j as be,C as fe}from"./LabeledZeniRolesDropDownField-DhvE24vx-CMJcsG0B.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]="1c23d64c-76ac-4c83-9ab7-ff2b7ed8c1d8",e._sentryDebugIdIdentifier="sentry-dbid-1c23d64c-76ac-4c83-9ab7-ff2b7ed8c1d8")}catch{}})();const M=(e,t)=>`${e}.${t}`,se={largeLabelWidth:new O(120,120,160),toolTipWidth:new O(215,237)},g=Z.getLocalizedStrings().peoplePage,De=({user:e,sectionId:t,mode:o,managersList:a,classList:s,controllersList:h,customerRoleOptions:w,isBankingOnlyTenant:m,isCardsOnlyTenant:f,isEdit:U,person:x,analytics:v})=>{const y=_(),C=se.largeLabelWidth.value(y),{setValue:S}=Q(),D=te(h),$=D.splice(0,1),N=D.reduce((r,n)=>r.concat(`${n.email},`),""),B=E.useMemo(()=>te(Y.roles),[]),u=X(e.role);return E.useEffect(()=>{(u||m||f)&&S("userItems.0.department",{allOptions:[],selectedOption:void 0}),u&&S("userItems.0.manager",{allUsers:[],selectedUser:void 0})},[u,m,f]),l.jsxs(Le,{windowSize:y,"data-testid":P("edit-people-user-item-section"),children:[l.jsx(de,{label:g.invitePage.email,name:M(t,"email"),registerOptions:{required:!0,value:e.email,disabled:!0},placeholder:R(g.addPlaceholderPrefix,g.invitePage.email),style:{paddingTop:i.sp2,paddingBottom:i.sp2}}),l.jsx(G,{}),o==="off"?l.jsxs(l.Fragment,{children:[l.jsx(be,{label:{label:g.invitePage.role,width:C},style:{width:"auto"},rolesDropDownField:{name:M(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(e.role),allRootRole:K(m,f)},productsByUserRole:J(e.role,w)},registerOptions:{required:!0}}}),l.jsx(G,{}),l.jsx(xe,{label:{label:g.invitePage.manager,width:C},showTooltip:!0,toolTipWidth:se.toolTipWidth.valuePx(y),tooltipTitle:l.jsx(ke,{}),userSingleSelectWithSubTitlesField:{name:M(t,"manager"),value:{allUsers:a,selectedUser:e?.managerId?e?.managerId:"no_manager"},valueToSubtitle:r=>{const n=a.findIndex(d=>d.userId===r);if(n!==-1){const d=a[n],j=s.find(k=>k.classId===d.userRole.accountingClassIDs[0]),I=[];return j!=null&&I.push(j.className),I}else return[]},placeholderLabel:u?g.notApplicable:R(g.selectPlaceholderPrefix,g.invitePage.manager),registerOptions:{required:!u},showOneOffLabel:{label:"No Manager",value:"no_manager",position:"top",subtitles:[]},isDisabled:u?"disabled":void 0,isOptionDisabled:r=>r===x?.user?.userId},style:{width:"auto"},isDisabled:u?"disabled":void 0,opacity:u?.32:1}),l.jsx(G,{}),l.jsx(pe,{label:{label:g.invitePage.department,width:C},singleSelectWithoutClearableField:{name:M(t,"department"),defaultValue:{allOptions:s.map(r=>({label:r.fullyQualifiedAccountingClassName??"",value:r.classId,hoverText:r.accountingClassNumber})),selectedOption:s.map(r=>({label:r.fullyQualifiedAccountingClassName??"",value:r.classId,hoverText:r.accountingClassNumber})).find(r=>r.value===e.departmentId)},placeholder:u||m||f?g.notApplicable:R(g.selectPlaceholderPrefix,g.invitePage.department),registerOptions:{required:!u||!(m||f)},isDisabled:u||m||f?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:u||m||f?"disabled":void 0,opacity:u||m||f?.32:1}),U?null:l.jsxs(Ue,{windowSize:y,children:[g.invitePage.controllerText,$[0]?l.jsxs(Ne,{href:`mailto:${$[0].email}?cc=${N}&subject=${encodeURIComponent(g.invitePage.emailSubject)}`,children:[l.jsx("span",{children:`${$[0].firstName} ${$[0].lastName}`}),l.jsx(me,{className:"arrowIcon"})]}):null]})]}):l.jsx(fe,{label:{label:g.invitePage.role,width:C},zeniRolesDropDownField:{name:M(t,"role"),defaultValue:{selectedOptions:e.role,allOptions:B},registerOptions:{required:!0},placeholderLabel:R(g.selectPlaceholderPrefix,g.invitePage.role),isMulti:!0,forZeniUser:!0,onSelectionChanged:r=>{x!=null&&v?.trackRoleChanged(x.userRole.userRoles,r[0],x?.userRole.userEmail)}},style:{width:"auto"}})]})},ke=()=>Z.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,Le=p.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -43,7 +43,7 @@ import{cP as Q,eg as Ie,q as _,V as l,aN as P,y as O,o as i,b8 as re,F as Z,n as
|
|
|
43
43
|
color: ${e=>e.theme.colors.primary};
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
`,F=(e,t)=>`${e}.${t}`,oe={largeLabelWidth:new O(125,140,160),toolTipWidth:new O(246,250)},c=Z.getLocalizedStrings().peoplePage,Fe=({user:e,sectionId:t,mode:o,isZeniTenant:a,managersList:s,classList:h,controllersList:w,index:m,customerRoleOptions:
|
|
46
|
+
`,F=(e,t)=>`${e}.${t}`,oe={largeLabelWidth:new O(125,140,160),toolTipWidth:new O(246,250)},c=Z.getLocalizedStrings().peoplePage,Fe=({user:e,sectionId:t,mode:o,isZeniTenant:a,managersList:s,classList:h,controllersList:w,index:m,customerRoleOptions:f,isEdit:U,isBankingOnlyTenant:x,isCardsOnlyTenant:v})=>{const y=_(),{getValues:C,formState:{errors:S},setValue:D}=Q(),$=oe.largeLabelWidth.value(y),[N,...B]=w,u=B.map(d=>d.email).join(","),r=E.useMemo(()=>Y.roles.filter(d=>!["admin","bookkeeping_admin"].includes(d.value)),[]),n=X(e.role);return E.useEffect(()=>{(n||x||v)&&D(`userItems.${m}.department`,{allOptions:[],selectedOption:void 0}),n&&D(`userItems.${m}.manager`,{allUsers:[],selectedUser:void 0})},[n,x,v]),l.jsxs(Be,{windowSize:y,"data-testid":P("invite-people-user-item-section"),children:[l.jsx(de,{label:c.invitePage.email,name:F(t,"email"),registerOptions:{required:!0,value:e.email,validate:{duplicate:d=>!_e(d,C("userItems"),m),notZeniMail:d=>o==="zeni_only"?!0:a||d.map(j=>!j.match(Te)).reduce((j,I)=>j&&I)}},placeholder:R(c.addPlaceholderPrefix,c.invitePage.email),style:{paddingTop:i.sp2,paddingBottom:i.sp2},additionalInfoLabel:qe(C("userItems"),F(t,"email"),m,o,S)}),l.jsx(q,{}),o==="off"?l.jsxs(l.Fragment,{children:[l.jsx(be,{label:{label:c.invitePage.role,width:$},style:{width:"auto"},rolesDropDownField:{name:F(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(e.role),allRootRole:K(x,v)},productsByUserRole:J(e.role,f)},registerOptions:{required:!0}}}),l.jsx(q,{}),l.jsx(xe,{label:{label:c.invitePage.manager,width:$},showTooltip:!0,toolTipWidth:oe.toolTipWidth.valuePx(y),tooltipTitle:l.jsx(We,{}),userSingleSelectWithSubTitlesField:{name:F(t,"manager"),value:{allUsers:s,selectedUser:e.managerId},valueToSubtitle:d=>{const j=s.findIndex(I=>I.userId===d);if(j!==-1){const I=s[j],k=h.find(T=>T.classId===I.userRole.accountingClassIDs[0]),b=[];return k!=null&&b.push(k.className),b}else return[]},placeholderLabel:n?c.notApplicable:R(c.selectPlaceholderPrefix,c.invitePage.manager),registerOptions:{required:!n},isDisabled:n?"disabled":void 0,showOneOffLabel:{label:"No Manager",value:"no_manager",position:"top",subtitles:[]}},style:{width:"auto",height:e.managerId==null?i.sp8:"74px",boxSizing:"border-box"},isDisabled:n?"disabled":void 0,opacity:n?.32:1}),l.jsx(q,{}),l.jsx(pe,{label:{label:c.invitePage.department,width:$},singleSelectWithoutClearableField:{name:F(t,"department"),defaultValue:{allOptions:h.map(d=>({label:d.fullyQualifiedAccountingClassName??"",value:d.classId,hoverText:d.accountingClassNumber})),selectedOption:h.map(d=>({label:d.fullyQualifiedAccountingClassName??"",value:d.classId,hoverText:d.accountingClassNumber})).find(d=>d.value===e.departmentId)},placeholder:n||x||v?c.notApplicable:R(c.selectPlaceholderPrefix,c.invitePage.department),registerOptions:{required:!n||!(x||v)},isDisabled:n||x||v?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:n||x||v?"disabled":void 0,opacity:n||x||v?.32:1}),l.jsx(q,{}),U?null:l.jsxs(Me,{windowSize:y,isDisabled:n,children:[c.invitePage.controllerText,N?l.jsx(Ee,{firstController:[N],isInvestorBanker:n,restControllerEmailsStr:u}):null]})]}):l.jsx(fe,{label:{label:c.invitePage.role,width:$},zeniRolesDropDownField:{defaultValue:{allOptions:r,selectedOptions:e.role},name:F(t,"role"),placeholderLabel:R(c.selectPlaceholderPrefix,c.invitePage.role),registerOptions:{required:o==="zeni_only"},isMulti:!1,forZeniUser:!1},style:{width:"auto"}})]})},We=()=>Z.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,_e=(e,t,o)=>{const a=t.filter(s=>s.userIndex!==o).map(s=>s.email).flat();return a.length>0&&e.every(s=>a.includes(s))},Be=p.div`
|
|
47
47
|
display: flex;
|
|
48
48
|
flex-direction: column;
|
|
49
49
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -92,7 +92,7 @@ import{cP as Q,eg as Ie,q as _,V as l,aN as P,y as O,o as i,b8 as re,F as Z,n as
|
|
|
92
92
|
`,qe=(e,t,o,a,s)=>{if(Oe(s,t)&&s?.userItems&&s?.userItems[o]?.email)switch(s?.userItems[o]?.email.type){case"required":return c.invitePage.defaultHelpText;case"pattern":return e[o].email.forEach(h=>{if(!Re.test(h))return c.invitePage.defaultHelpText}),a==="zeni_only"?c.invitePage.otherThanZeniMailIDForZeniModeText:c.invitePage.zeniMailIDForNormalModeText;case"duplicate":return c.invitePage.emailAlreadyExist;case"notZeniMail":return c.invitePage.zeniMailIDForNormalModeText;case"validate":return c.invitePage.defaultHelpText;default:return}},Ee=({isInvestorBanker:e,firstController:t,restControllerEmailsStr:o})=>{let a="";const s=t[0];return s?.firstName&&s?.lastName?a=`${s?.firstName} ${s?.lastName}`:s?.firstName?a=s?.firstName:s?.lastName?a=s?.lastName:a=s?.email??"",l.jsxs(Ze,{isDisabled:e,href:e?void 0:`mailto:${t[0]?.email}?cc=${o}&subject=${encodeURIComponent(c.invitePage.emailSubject)}`,children:[l.jsx("span",{children:a}),l.jsx(me,{className:"arrowIcon"})]})},Ve=e=>l.jsx(Ae,{style:e.style,"data-testid":P("user-item-section"),children:e.isEdit?l.jsx(De,{...e}):l.jsx(Fe,{...e})}),Ae=p.div`
|
|
93
93
|
display: flex;
|
|
94
94
|
flex-direction: column;
|
|
95
|
-
`,W={buttonWidth:new O(70,70),marginBottom:new O(12,L[3]),deleteContentMarginLeft:new O(L[0],L[3]),containerPaddingTop:new O(L[0],L[3]),addUserWrapperGap:new O(L[1],L[2])},He=(e,t,o,a,s,h,w)=>({userIndex:e,email:[],role:a==="zeni_only"?{allOptions:Y.roles,selectedOptions:[]}:void 0,nonZeniRole:a!=="zeni_only"?{userRole:{selectedRole:void 0,allRootRole:K(h,w)},productsByUserRole:J([],s)}:void 0,manager:{allUsers:t,selectedUser:void 0},department:{allOptions:o.map(m=>({label:m.className,value:m.classId})),selectedOption:void 0}}),z=Z.getLocalizedStrings().peoplePage,gl=({isDisabled:e,control:t,deleteConfirmationIndex:o,updateDeleteConfirmationIndex:a,style:s,sectionId:h,mode:w,isZeniTenant:m,managersList:
|
|
95
|
+
`,W={buttonWidth:new O(70,70),marginBottom:new O(12,L[3]),deleteContentMarginLeft:new O(L[0],L[3]),containerPaddingTop:new O(L[0],L[3]),addUserWrapperGap:new O(L[1],L[2])},He=(e,t,o,a,s,h,w)=>({userIndex:e,email:[],role:a==="zeni_only"?{allOptions:Y.roles,selectedOptions:[]}:void 0,nonZeniRole:a!=="zeni_only"?{userRole:{selectedRole:void 0,allRootRole:K(h,w)},productsByUserRole:J([],s)}:void 0,manager:{allUsers:t,selectedUser:void 0},department:{allOptions:o.map(m=>({label:m.className,value:m.classId})),selectedOption:void 0}}),z=Z.getLocalizedStrings().peoplePage,gl=({isDisabled:e,control:t,deleteConfirmationIndex:o,updateDeleteConfirmationIndex:a,style:s,sectionId:h,mode:w,isZeniTenant:m,managersList:f,classList:U,controllersList:x,customerRoleOptions:v,isBankingOnlyTenant:y,isCardsOnlyTenant:C,isEdit:S=!1,person:D,analytics:$})=>{const{getValues:N}=Q(),{append:B,remove:u}=Ie({name:h,control:t}),r=_(),n=N().userItems,d=()=>{const b=n.length-1,T=He(b+1,f,U,w,v,y,C);setTimeout(()=>B(T,{shouldFocus:!0}))},j=b=>{a(b)},I=()=>{a(-1)},k=()=>{setTimeout(()=>u(o)),a(-1)};return l.jsxs(Je,{style:s,windowSize:r,"data-testid":P("user-items"),children:[n.length>0?n.map((b,T)=>{const je=n.length;let V={};if(w==="zeni_only")V={email:b.email,role:Ye(b.role.selectedOptions,S)??void 0};else{const ee=b.nonZeniRole?.userRole.selectedRole,A=ee!=null?(b.nonZeniRole?.productsByUserRole[ee]??[]).map(H=>ze(H.selectedOption?.value)).filter(H=>H!=null):[],le=A.length>0?X(A):!1;V={email:b.email,role:A,managerId:le?void 0:b.manager?.selectedUser,departmentId:le?void 0:b.department?.selectedOption?.value}}return l.jsxs(Ke,{"data-testid":P("user-item",b.userIndex.toString()),children:[S?null:l.jsx(l.Fragment,{children:je>1?l.jsx(ae,{windowSize:r,children:l.jsx(Ge,{curIndex:T,isDisabled:e,deleteConfirmationIndex:o,onDeleteClick:j,onCancelClick:I,onRemoveUserItem:k})}):l.jsx(ae,{windowSize:r,children:l.jsx(ye,{children:l.jsx($e,{children:l.jsx(we,{windowSize:r,children:z.invitePage.user})})})})}),l.jsx(Ve,{isDisabled:e,sectionId:`${h}.${T}`,control:t,user:V,mode:w,isZeniTenant:m,managersList:f,classList:U,controllersList:x,customerRoleOptions:v,isBankingOnlyTenant:y,isCardsOnlyTenant:C,isEdit:S,person:D,analytics:$,index:T}),o===T&&r==="small"?l.jsx(ll,{children:l.jsx(ve,{onCancelClick:I,onRemoveUserItem:k})}):null]},T)}):null,S?null:l.jsxs(ol,{"data-testid":P("all-user-items-add-user-button"),windowSize:r,onClick:()=>{d?.()},children:[l.jsx(al,{}),l.jsx(rl,{children:`${z.invitePage.add} ${z.invitePage.user}`})]})]})},Ge=({curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s,isDisabled:h})=>{const w=_();return l.jsxs(ye,{children:[l.jsx($e,{children:l.jsx(we,{windowSize:w,children:`#${e+1} ${z.invitePage.user}`})}),h===void 0?l.jsx(Qe,{curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s}):null]})},Qe=({curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s})=>{const h=_();return l.jsx(l.Fragment,{children:h==="small"?l.jsx(l.Fragment,{children:t!==e?l.jsx(sl,{"data-testid":P("delete-icon",e.toString()),onClick:()=>o(e)}):null}):l.jsx(l.Fragment,{children:t===e?l.jsx(el,{children:l.jsx(ve,{onCancelClick:a,onRemoveUserItem:s})}):l.jsx(Xe,{"data-testid":P("all-user-items-delete-icon-wrapper"),className:"delete-icon-wrapper",onClick:()=>o(e),children:l.jsx(Se,{style:{padding:"2px 5px"},enterDelay:600,title:z.invitePage.remove,placement:"left",children:l.jsx(tl,{})})})})})},ve=({onCancelClick:e,onRemoveUserItem:t})=>{const o=_();return l.jsxs(l.Fragment,{children:[z.invitePage.deleteConfirmation,l.jsxs(il,{windowSize:o,"data-testid":P("delete-confirmation-wrapper"),children:[l.jsx(ie,{"data-testid":P("delete-confirmation-cancel-button"),label:z.invitePage.cancel,onClick:e,style:{width:W.buttonWidth.value(o),marginRight:i.sp3},size:"small",variant:"secondary"}),l.jsx(ie,{"data-testid":P("delete-confirmation-remove-button"),label:z.invitePage.remove,onClick:t,style:{width:W.buttonWidth.value(o)},size:"small",variant:"danger"})]})]})},Ye=(e,t)=>t?e:e!=null?[e]:[],Je=p.div`
|
|
96
96
|
display: flex;
|
|
97
97
|
flex-direction: column;
|
|
98
98
|
padding-top: ${e=>W.containerPaddingTop.valuePx(e.windowSize)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as O,q as B,F as g,V as o,bM as H,g2 as q,bA as K,ck as U,o as T,aR as J,bB as V,y as A,cd as W,ce as G,cf as Z,c as u}from"./index-
|
|
1
|
+
import{d as O,q as B,F as g,V as o,bM as H,g2 as q,bA as K,ck as U,o as T,aR as J,bB as V,y as A,cd as W,ce as G,cf as Z,c as u}from"./index-BxCf7Wvz.js";import{a as _}from"./sentry-RNV3Di4s.js";import{n as i}from"./mui-BH8m6kGU.js";import{W as Q,L as X}from"./EntitySummarySection-B5pV5wTI-BHU_C13G.js";import"./liveblocks-CGDIIAIj.js";import"./core-d8TJZx_K.js";import"./recharts-DuImoJah.js";import"./zeni-epic-state-BSaicoAp.js";import"./lottie-LB826b2R.js";import"./analytics-DWna4COD.js";import"./lexical-C6LLNKxw.js";import"./utils-BXiVsZbS.js";import"./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]="8cd609fd-fd09-4d62-a0d2-dc91eb5b5567",e._sentryDebugIdIdentifier="sentry-dbid-8cd609fd-fd09-4d62-a0d2-dc91eb5b5567")}catch{}})();const S={wrapperContainerMarginTop:new A(u[4],u[0]),wrapperContaineHorizontalrMargin:new A(u[0],u[8])},ee=i.div`
|
|
2
2
|
height: 100%;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -43,4 +43,4 @@ import{d as O,q as B,F as g,V as o,bM as H,g2 as q,bA as K,ck as U,o as T,aR as
|
|
|
43
43
|
margin-left: ${e=>S.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
|
|
44
44
|
margin-right: ${e=>S.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
|
|
45
45
|
height: 100%;
|
|
46
|
-
`;function
|
|
46
|
+
`;function _e(e){const s=O(),l=B(),h=g.getLocalizedStrings().common,p=g.getLocalizedStrings().reports.common,{apAgingDetail:r,downloadParams:a,reportDate:t,analytics:d,onReload:w,onBackClick:L,onColumnSortConfigChanged:v,updateDownloadStateHandler:x,onTransactionClick:N}=e,{authParams:C,downloadEndPoint:k,timezone:I}=a,{fetchState:m,invoices:$,apAgingDetailUIState:z,vendor:n,totalBalances:E}=r,{sortKey:D,sortOrder:b,downloadState:y}=z,[j,P]=_.useState(!1),M=g.getLocalizedStrings(),F=M.reports.aging.agingDetail,R=_.useCallback((c,f)=>{r.vendor!=null&&d.trackApAgingDetailReportSortChange(c,f,t.format(M.dateFormat.analytics.YYYYDashMMDashDDFormat),r.vendor.id,r.vendor.name),v(c,f)},[d,r.vendor,t,v]);if(_.useEffect(()=>{async function c(){const f={companyName:a.companyName,sortKey:D,sortOrder:b,statementFileType:"excel",reportId:"accounts_payable_aging",entityId:n?.id??"",timezone:I,reportDate:t};await se(k,C,f),x("Completed"),r.vendor!=null&&d.trackApAgingDetailReportDownload(D,b,t.format(g.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat),r.vendor.id,r.vendor.name)}j&&y!=="In-Progress"&&(P(!1),x("In-Progress"),c())},[d,r.vendor,C,k,a.companyName,y,j,t,D,b,I,x,n?.id]),m==="Error")return o.jsxs(oe,{children:[o.jsx(te,{onClick:w,children:o.jsx(H,{})}),o.jsx(re,{children:p.failed})]});if(m==="In-Progress"||m==="Not-Started")return o.jsx(q,{fetchState:m});const Y=o.jsx(V,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:y==="In-Progress"}],onDownloadClick:async c=>{if(c==="excel")if(y==="In-Progress"){console.log("Download is already in progress!");return}else P(!0)}}}});return o.jsxs(ae,{children:[o.jsx(K,{title:h.strings.empty,backgroundColor:s.colors.grey5,onBackClick:L,rightSideComponent:Y,source:"ApAgingDetailPage"}),o.jsx(Q,{totalBalances:E,entityName:n?.name??"",entityLogo:n?.logo,reportId:"accounts_payable_aging",reportDate:t}),o.jsx(ne,{windowSize:l,children:o.jsx(ie,{windowSize:l,children:$.length===0||n==null?o.jsx(U,{message:F.noDataText}):o.jsx(ee,{windowSize:l,children:o.jsx(X,{uiState:z,invoices:$,entityName:n.name,entityLogo:n.logo,onColumnSortConfigChanged:R,onTransactionClick:N})})})})]})}async function se(e,s,l){const h=`${e}?query=${encodeURIComponent(JSON.stringify(le(l)))}`,p=g.getLocalizedStrings(),r=p.reports.aging.apAging.apAging,a=p.download;try{const t=await W({urlEndPoint:h,authParams:s,fileType:"excel"});if(t.ok){const d=G(t.headers,a.defaultFileName),w=await t.arrayBuffer();Z(w,d)}else console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",r)} ${t.statusText}`)}catch(t){console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",r)} ${JSON.stringify(t)}`)}}function le(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:g.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}export{_e as default,le as toDownloadAgingDetailedReportOptionsPayload};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,q as m,L as x,o as r,y as d,p as a,aR as g,F as u,bo as $,cU as b,dJ as f,cT as w}from"./index-
|
|
1
|
+
import{V as t,q as m,L as x,o as r,y as d,p as a,aR as g,F as u,bo as $,cU as b,dJ as f,cT as w}from"./index-BxCf7Wvz.js";import{n as i,k as y}from"./mui-BH8m6kGU.js";import{a as j}from"./sentry-RNV3Di4s.js";import"./liveblocks-CGDIIAIj.js";import"./core-d8TJZx_K.js";import"./recharts-DuImoJah.js";import"./zeni-epic-state-BSaicoAp.js";import"./lottie-LB826b2R.js";import"./analytics-DWna4COD.js";import"./lexical-C6LLNKxw.js";import"./utils-BXiVsZbS.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="c8b24b29-5205-4a32-b5e7-5210bac75713",e._sentryDebugIdIdentifier="sentry-dbid-c8b24b29-5205-4a32-b5e7-5210bac75713")}catch{}})();const l={maxWidth:new d(280,322),contentMaxWidth:new d(200,250)},k=y`
|
|
2
2
|
0% {
|
|
3
3
|
transform: translateX(100%)
|
|
4
4
|
}
|