@zeniai/web-cockpit-ui 1.14.92-dev → 1.14.93-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{ACHDetailsPage-B6sY0jN6-BewHWiw_.js → ACHDetailsPage-Cmt4zlsa-CVV8HYnx.js} +1 -1
- package/dist/assets/{AIPerformancePage-BWK9fXrz-XnvE7-6d.js → AIPerformancePage-Bll3cTy1-gL3wACpX.js} +1 -1
- package/dist/assets/AccountInfoPage-D2IedGAy-DpkY7tZI.js +18 -0
- package/dist/assets/{AccountInfoPageContent-nUi26Aww-Bwa-HIUO.js → AccountInfoPageContent-9wbA8niq-Bqglb0N2.js} +10 -10
- package/dist/assets/{AccountLockedInfoModal-BROj4bmE-DDKXU8OA.js → AccountLockedInfoModal-CLvVkdLW-bPK5I-r7.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-C-3FFCQZ-D-TpqzuY.js → AccountReconDetailsDrawerPage-BXa1TZA0-CJ_GlXhF.js} +1 -1
- package/dist/assets/{AccountRow-BM2kGWyR-CEX7zEFS.js → AccountRow-Ba39SxP8-8PYcW3Va.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-CNCG5uPJ-Y2aCPflf.js → AccountsPromoCardStack-W5TW8HPU-Cm5YfN59.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-BuAtFO1w-e0LZrU5l.js → AddAddressForCardDrawer-nEnaGKnm-DN6yVFPQ.js} +1 -1
- package/dist/assets/{AddToWalletPage-DyrcWdBZ-CkK2fnuE.js → AddToWalletPage-CQYHG0Yj-CP1osDBN.js} +1 -1
- package/dist/assets/{AgingReportsPage-CmluxKG3-B2hpJNM3.js → AgingReportsPage-BWCU11pF-MZUqlZXC.js} +3 -3
- package/dist/assets/{AllUserItems-CVZZU-J3-Ce2827d_.js → AllUserItems-DPxoQeZA-Fd0FWod6.js} +3 -3
- package/dist/assets/{ApAgingDetailPage-CoNxqskm-Bna_-NVA.js → ApAgingDetailPage-cslGsO08-CvebivaV.js} +4 -4
- package/dist/assets/{AppBasePage-CTGNzUtN--WSyuM8w.js → AppBasePage-BZINcjPW-DJOgvT_q.js} +1 -1
- package/dist/assets/{AppDrawerContent-59dQVUxu-Bv7_BAFF.js → AppDrawerContent-V7jCH_90-Ck_yeGZ4.js} +6 -6
- package/dist/assets/{ApprovalRulesSettingsPage-XEW5sdNg-DmNI-bwP.js → ApprovalRulesSettingsPage-BC6CLesU-BKNNkRpO.js} +1 -1
- package/dist/assets/{ArAgingChart-D3Ym4gVE-DmsLk005.js → ArAgingChart-C7VtW0AI-Co8wpWo7.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-BLEJSLJJ-C4CejQvS.js → ArAgingDetailPage-Bttq4jQR-BeQILYq-.js} +5 -5
- package/dist/assets/{AttachmentView-DSP80cjm-BrHb-fdX.js → AttachmentView-BijZrB02-BJhcTpzV.js} +1 -1
- package/dist/assets/{BankAccountSection-DRrNcA79-DN0L_Nus.js → BankAccountSection-De0m3zrf-DJo0ErGm.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-Ub-gsfhE-CWRw85Ya.js → BankAccountWarningSection-DoqOr9h0-CysUjzfB.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-BcTtJTbg-Cq7UhfIX.js → BankConnectionsSettingsPage-BaySatUW-BFaS82zx.js} +1 -1
- package/dist/assets/{BillDetailPage-D7AQyxwr-C4hQ51aV.js → BillDetailPage-Bg_3myu0-BcOsOHp0.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-BQWGENO8-UqNryn1Y.js → BillPayApprovalRuleDetailPage-B7z1PKq6-D3qc7XQa.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-BbA1Nwqe-8oC6drGE.js → BillPayApprovalRulesPage-Cj55NkSk-CVNQ2WUg.js} +1 -1
- package/dist/assets/{BillPayPromoPage-DSTS_vBW-D4bhyD9i.js → BillPayPromoPage-SUtLQemf-YRwlMQqq.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-CvlVPVCA-CckOfR6h.js → BillPaySetUpPage-BbIjaE2K-BvM1AO08.js} +1 -1
- package/dist/assets/{BillingSettingsPage-nKpHtd4C-BrQxt-Or.js → BillingSettingsPage-Bmd6ET1I-D1Hos3cN.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-DNHAoceL-CcLmGKWP.js → BillsBulkReviewDrawerPage-CYSMvAbC-CCvMSRtJ.js} +1 -1
- package/dist/assets/{BoxItem-Bjv3WNXO-CbkK_BvO.js → BoxItem-B8HVRhgE-Bev68PFI.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-Bj4D9bX2-CSqpS47f.js → BusinessVerificationPage-Cn1b1hk4-CAZR1TOe.js} +1 -1
- package/dist/assets/{CardNumberSubText-BYY-Inxd-B5eDSuWq.js → CardNumberSubText-BcJnpRxI-D1zdlj5r.js} +1 -1
- package/dist/assets/{CashbackDetailPage-D9UiTqp9-CYWVGaEH.js → CashbackDetailPage-BkIotpWn-DxPDsNjO.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-C5EdiIyl-BRwuM_9a.js → ChargeCardDetailPage-kKKhppzB-DtYb-jra.js} +21 -21
- package/dist/assets/{ChargeCardListPage-DZwz1qoD-CqjW0D5U.js → ChargeCardListPage-CP778-GK-CTP7-db-.js} +1 -1
- package/dist/assets/{ChargeCardListTable-D5B05Z1F-D4hpaga1.js → ChargeCardListTable-DBryLHST-Ce2gmrfZ.js} +1 -1
- package/dist/assets/ChargeCardPromoPage-D_eQ_vXf-CNDMyI7K.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-CVV24gS9-BAOQ2Xly.js → ChargeCardSetupPage-m8dUXi38-BJz_Xnlk.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-CmjBoi5e-DLlPm7j6.js → ChargeCardStatementsPage-Dq5NpUXk-Bke0Yjm9.js} +6 -6
- package/dist/assets/{CheckDepositDrawerPage-CYOhT5Qz-NvWlDiXp.js → CheckDepositDrawerPage-BJQ2GSoP-CvcGnuco.js} +1 -1
- package/dist/assets/{CollapsableReportTable-hL_Ycouc-uf2_k_Pr.js → CollapsableReportTable-l16Ixpgb-BS0sBPj9.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-DR_6TlQa-SwPBTgrA.js → CompanyOfficerDetailsSection-mKcrRkb5-BdmL4WQb.js} +1 -1
- package/dist/assets/{CompanyPassportCard-B4chn7-Q-Bv_vr7JG.js → CompanyPassportCard-DUwjb7jY-D94p2vYM.js} +4 -4
- package/dist/assets/{CompanyPassportPage-oT9HnnPQ-BroxBLc-.js → CompanyPassportPage-mQ_Le1I1-BsfzlRNE.js} +13 -13
- package/dist/assets/{CompleteProfile-BgH4v76Z-CN661m7_.js → CompleteProfile-CesiGAex-BxV2T4kD.js} +1 -1
- package/dist/assets/{ConfettiBurst-Cl6jHJ8H-gdYynPR6.js → ConfettiBurst-CXF_94LB-B61erBlR.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-CW-u7pJU-D_V5jy6j.js → CreateOrEditVendorPage-BMVOhEEP-okcAo0FU.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-D30M7ol4-Cmy98i97.js → CreditCardPaymentDrawerPage-Cl4vJBjO-BN2fXeeY.js} +1 -1
- package/dist/assets/{CurrencySelectField-DOCEstMc-DLDifnD2.js → CurrencySelectField-CvnrYpdi-Bx3ura4E.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-DMPNjFL_-DXtNUrdA.js → CustomerOnboardingActivationPage-CmengYgm-DwWvQDwP.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-CBiHoKP2-K1SzPxIX.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CBYo4VQn-lNg5MP87.js → CustomerOnboardingDetailPageSkeleton-hF2fjE7f-Bx4vnxk_.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-EBVRCYfJ-D9C_SyFY.js → CustomerOnboardingNoStepsPage-B-pbVz1_-Bu3QH6hN.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-TJK6s-LM-CoIVtMVm.js → CustomerOnboardingPage-CUj-SOSh-DqZnrHrN.js} +4 -4
- package/dist/assets/{CustomerOnboardingProductSuitePage-lNIP5gSu-Bg8Yb8JM.js → CustomerOnboardingProductSuitePage-DLJg9lqc-B7ctGtPH.js} +1 -1
- package/dist/assets/{Dashboard-WiE9IRrh-DvtSkHmk.js → Dashboard-DUBT_4AU-BQQLhc7F.js} +1 -1
- package/dist/assets/{DashboardReportPage-BKHl_IVD-CtxBGv_B.js → DashboardReportPage-cTPn6w4q-BsaoYjkr.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-B1mJObim-DOqCN-CI.js → DashboardSidebarBackgroundAnimation--y1-phUW-DGEiib0J.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-C8tChaJS-BcNs6Wmj.js → DepositAccTransactionItem-BJ6rNbQF-DcQ3w2ay.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-B6px7upV-C_h4mZC3.js → DepositAccTransactionListPage-BXu7yVC4-BqrqxoR4.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-BFQJmzYm-Cigs9AsB.js → DomesticWireDetailsPage-D5wDMrfR-C5cM-TE-.js} +1 -1
- package/dist/assets/{DownloadOverlay-DB-qx46O-Di0XX-7b.js → DownloadOverlay-BF8Uzj65-BjVIvIOE.js} +1 -1
- package/dist/assets/{DrawerPage-Bha9ElcW-tQCg2vNB.js → DrawerPage-4QqiD5ag-BNPe32xq.js} +1 -1
- package/dist/assets/{EditPeoplePage-B6QD5Vld-H7oW4yPE.js → EditPeoplePage-BFROUzlu-DwFofRms.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-EplOf2mP-DR3ob0bq.js → EditReimbursementDetailPage-Bz32u6U5-D6GoDZH_.js} +1 -1
- package/dist/assets/EntityDetailPage-BnG_PBK5-88aNTDFS.js +18 -0
- package/dist/assets/{EntitySummarySection-D6z6-dM7-iY3GcshB.js → EntitySummarySection-0nKZeBKn-BkqQH4-k.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-DkoxczRc-Dj3WEFmv.js → ExpenseAutomationOverviewPage-Dvyn5ovf-DA904IZ7.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-Na3XKgcg-DopOn429.js → ExpenseAutomationPage-DPmIOATd-E0cwlhE5.js} +40 -40
- package/dist/assets/{ExpressPayPage-DWGl_gml-hFOTsy6y.js → ExpressPayPage-DGTh3qGM-CBuhnCa1.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-BgkpUPMm-BgRBmXUD.js → FeaturePreviewPage-CHUVkqak-Bv1bUX1B.js} +1 -1
- package/dist/assets/{FollowStepsSection-64oy2OLD-BEGrGMi_.js → FollowStepsSection-C_pWSlPc-DWF54WG6.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-DHfTyj2C-C3EEWPiO.js → GlobalReviewListPage-BjPOnObQ-CbXiHvNN.js} +1 -1
- package/dist/assets/{InformationCardStack-Dw3lhl2I-Bs6_LbeZ.js → InformationCardStack-DvFu-gjh-DGBl4kd-.js} +1 -1
- package/dist/assets/{InsightsCardStack-BiEswY1Z-Db6FFDpQ.js → InsightsCardStack-CR3wSnhE-CCTCkrt4.js} +6 -6
- package/dist/assets/{InsightsSection-DvqCilqy-BQT_s43S.js → InsightsSection-DCFjudcA-7O17fZbk.js} +2 -2
- package/dist/assets/{IntegrationsSettingsPage-DzVYf5ff-DvdqA5Qq.js → IntegrationsSettingsPage-DpPc99qg-BuRPrwyt.js} +1 -1
- package/dist/assets/{InternationalWireSwiftDetailsPage-DTHcuQsH-B-a9NSLn.js → InternationalWireSwiftDetailsPage-xXEk6Ubv-DgeDkVIK.js} +4 -4
- package/dist/assets/{InternationalWireVerificationPage-BzyRqd-m-slndLY5A.js → InternationalWireVerificationPage-uh0GqYQA-9ZEgxwG_.js} +5 -5
- package/dist/assets/{InviteFormPage-CaJB3ss1-HHZxjRMu.js → InviteFormPage-5xqk5ISe-Bbb5YAD8.js} +1 -1
- package/dist/assets/{InvitePageListView-8Ltt8tHx-BPR7jVHX.js → InvitePageListView-CpmTnQLj-CTufHHPe.js} +1 -1
- package/dist/assets/{InvitePeoplePage-A7oKAD7M-DkNn-Tux.js → InvitePeoplePage-BeCWfFpI-DBINJPSA.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-DomquLut-CutCF8wG.js → InvoiceUploadSection-BvaKEakI-Cgqd0lG_.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-DtIQ1Buk-QOM0ijcK.js → IssueChargeCardPage-Bomvo_PH-CiqvhZJZ.js} +1 -1
- package/dist/assets/{LabeledAddressValue-B_9lh-_a-B22yf0PW.js → LabeledAddressValue-b4zlBP-g-DPs_zAUA.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-CC7T3qZQ-5fkS_FuY.js → LabeledAddressValueField-DpcuqwLy-CTnD7CIG.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-CeMM7Ci3-RHUW6sf_.js → LabeledControlledCheckBoxField-BTjbeJMZ-ByFU_udW.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-DKD0oEl8-Bqf3gDxT.js → LabeledCreatableSingleSelectField-D_oWjB4_-A2URoXC_.js} +1 -1
- package/dist/assets/{LabeledDocumentField-Dy3jwAiL-FmwpCOt6.js → LabeledDocumentField-dtnakMLl-DM4CLrZI.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-DDzM3r6s-CPxa5iPj.js → LabeledDropDownFormattedTextField-DDtxGo1u-9ainO5Wl.js} +1 -1
- package/dist/assets/{LabeledText-axaAGyUS-B-Q4astZ.js → LabeledText-CUs3VIof-3boaO8Y1.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-UlGND56Y-DlTnDPsW.js → LabeledUserSingleSelectWithSubtitlesField-BusH2qnZ-GKSXWTga.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-dpz7g9jK-BDxh4AaM.js → LabeledZeniRolesDropDownField-DYkmOsOP-Dg0kuJ4H.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-CJniqVcu-C9nn50Ye.js → LinkJETransactionPage-DbP6jfzn-BtGeDf5_.js} +2 -2
- package/dist/assets/{LockCardPage-CjO8cr2a-C3aOpkLz.js → LockCardPage-CWEZyzEM-Bg4PM8JQ.js} +1 -1
- package/dist/assets/{LowBalancePopup-DVS-w3b7-DZeFvNAP.js → LowBalancePopup-BQ9JPBTS-DRn4mn9-.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-CKoTuvNz-BHd5xcLb.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Di5hHI_D-C4fzv92i.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-B2izwKNk-B8pTw_O-.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-DAAoq3iT-s_k-As2A.js → MagicLinkSuccessPage-DU1RM5NI-Wq9yOHXi.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-FMRBLlRJ-Dq0HXyeM.js → MagicLinkTitleSection-RWEjrx8m-CX8Fw-B8.js} +1 -1
- package/dist/assets/{MailingDetailsSection-CiJ5JLA6-ClA0Rhay.js → MailingDetailsSection-BT3SGHhD-Ctkbx47B.js} +5 -5
- package/dist/assets/{Menu-wpP8R1br-BkJyq7Tb.js → Menu-BTZYMOTT-CKMXXApd.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-DIIFgnkE-BpGRsOdm.js → MyBankConnectionsSettingsPage-DufaL9n8-M4dyrfVV.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-Di_KYRgS-1GEJ-RE_.js → MyPendingActivationChargeCardListPage-DwCUyRec-SM92wYsw.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-m6vaeGgZ-CBRk31EZ.js → MyProfileSettingsPage-geduKqxy-CauaXJ2g.js} +1 -1
- package/dist/assets/{NavBarWithPicker-C_qO8mgD-DeDCa5cM.js → NavBarWithPicker-edkm8kW--DTJVRU93.js} +1 -1
- package/dist/assets/{NavigationArrow-BXYIj6Wz-CANss6wI.js → NavigationArrow-DAOz2wst-CzpVYMv0.js} +1 -1
- package/dist/assets/{NavigationDots-BvKSgdgh-ChF9WLMp.js → NavigationDots-Dm8SYcdL-CXSz5QAZ.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-Dc3xEoiZ-BeCQwEx7.js → NewGlobalMerchantPage-enaZFSVb-D5ALf38h.js} +1 -1
- package/dist/assets/{NoDataChart-C5ZP32zB-BxSJ1j_J.js → NoDataChart-BIcLmdso-V1__FO4W.js} +1 -1
- package/dist/assets/{NoDataTable-BnBYE8p_-CFZLFfEo.js → NoDataTable-C9ywvwy4-CbJRpj1w.js} +1 -1
- package/dist/assets/{NotFoundPage-CZ25GWwU-BICqInbF.js → NotFoundPage-B0Pfc4vD-0nVsRFSV.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-DHvgj7Hu-BDiE5wjx.js → NotificationSettingsPage-Di4KhoPI-Zq8167Bo.js} +1 -1
- package/dist/assets/{NotificationsListConfig-BBLSv0sd-CBsOo8lP.js → NotificationsListConfig-CHb7phwi-CuAMA5zK.js} +1 -1
- package/dist/assets/{NotificationsPage-CGVEC-Zc-CICQW2D8.js → NotificationsPage-B4KMZZ0V-CdnEBa77.js} +1 -1
- package/dist/assets/{OpExByVendorPage-D55JZne--Cr5n73UL.js → OpExByVendorPage-CAxLWg7x-CVAp3gyR.js} +1 -1
- package/dist/assets/{OverlayContainerPage-Daz3A7cI-DLdPkPwc.js → OverlayContainerPage-Daz3A7cI-C0naTs3U.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-fVmttEKP-aWCR7ttl.js → PandLWithForecastPage-Dx56-ypM-CahTbCAI.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-BiU8tQnm-CY8MBOF0.js → PaymentAccountSetupBillingAddressSection-C8QwChEK-DSZP0_gt.js} +1 -1
- package/dist/assets/{PeoplePage-QuuuX2AS-CDxGSCUE.js → PeoplePage-CjD6uKA--DQJyasjD.js} +1 -1
- package/dist/assets/{Preview-D_TLok3M.js → Preview-BXKaaVKN.js} +1 -1
- package/dist/assets/{ProductsCarousel-zdZkfaiY-D8MGFtGX.js → ProductsCarousel-DzOaqLVq-BtBP3iUE.js} +1 -1
- package/dist/assets/{PromoBaseCards-flFtcbIg-C0jZRRzU.js → PromoBaseCards-B1h9AEH0-CHWZv_Gb.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-DNB2C1vQ-DPJHlPHX.js → QBOConnectionDialog-Bv6unk3C-C69fuiCc.js} +1 -1
- package/dist/assets/{QBOSetupSection-B59etoGz-DxrgQvvQ.js → QBOSetupSection-BTjj7g98-CXsc6nTM.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-D7do3o0A-DiBw1aK-.js → ReimbursementApprovalRuleDetailPage-CHXo51lU-BT66bgjF.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-BJ6GewQ2-CMxGgRQ3.js → ReimbursementApprovalRulesPage-D7utb8vM-BSv0WO21.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-DKAtYSOy-C1CMn4bM.js → ReimbursementDetailPage-DnXsG55s-DO7QVibn.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-DKcSHlHp-gi8b3D2U.js → ReimbursementPromoPage-Di39wgvD-CwoSxp24.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-Y1e_hna--L4dNaOo2.js → ReimbursementSetUpPage-CT5bs4wM-CImglJgz.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-fgz8s4w9-TK1XJV4S.js → ReimbursementsBulkReviewDrawerPage-BcB8hTar-D2swNEDZ.js} +1 -1
- package/dist/assets/{ReloadCard-DjtdPHq5-D_RTB189.js → ReloadCard-BGPtXAV7-D43T0ICm.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-C8e6IEWt-B1X6y91F.js → ReportTableViewSelector-gEKTiiSk-DFp8GlM2.js} +1 -1
- package/dist/assets/{ReportsPage-BIe0eDLC-DJAgrzKt.js → ReportsPage-Ctvnzlk1-DLJ23fuU.js} +1 -1
- package/dist/assets/{RevenueChart-Cc0XrxLL-BSXP5Fpe.js → RevenueChart-D1PfVLk0-DHVFjjTE.js} +14 -14
- package/dist/assets/{ReviewDetailsPage-CU1AYWgR-Aa7a5LiH.js → ReviewDetailsPage-Ynw6pln--BjtdFL4i.js} +52 -52
- package/dist/assets/{ReviewOverlay-CruJ9O84-C1Nn7-W1.js → ReviewOverlay-DQZwNpFY-DMkxDhbs.js} +1 -1
- package/dist/assets/{RoleWithToolTip-fC3byzzv-DvgcIN_v.js → RoleWithToolTip-DbQ4ezrP-Dd2VpMcB.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-CE3tUYhk-COrIX6jB.js → ScheduleDetailsFixedAssetsPage-DlqQBt-s-drLmv8lF.js} +3 -3
- package/dist/assets/{ScheduleDetailsPage-BhAqJ1Of-aIc3huKD.js → ScheduleDetailsPage-CrVetPy7-CWE6_gjF.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-NSt1juSD-DIpN7xpp.js → ScheduleSequenceTable-B7pQ00z8-CEVjTUeV.js} +1 -1
- package/dist/assets/{ScreenRoutes-jO5HDDDI.js → ScreenRoutes-Sl9iaV1P.js} +1 -1
- package/dist/assets/{SetUpAccountSection-C1EnJv1V-BqOATLaf.js → SetUpAccountSection-BAsI7p1f-Dy9q8TNa.js} +1 -1
- package/dist/assets/{SignIn-BhIof_Cm-BVhCYPyL.js → SignIn-CE6gxhI3-CtZacIY2.js} +1 -1
- package/dist/assets/{SignInScreen-DYrtrzQo.js → SignInScreen-BTo7-KSm.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-BEWNNX_Z-DYJVhy13.js → SpendManagementListViewPage-CURCimXb-CsGfTOO_.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-Vs1Eoxgd-BJBD6w0V.js → SpendManagementPerTabPage-RY3B-92H-DYTGBiT6.js} +1 -1
- package/dist/assets/{SpendManagementSection-C38Zpi1z-zTQSB9zV.js → SpendManagementSection-rHLuZG8_-UxYLxpbV.js} +1 -1
- package/dist/assets/StatementItem-DcPGZchp-CZE_bKaq.js +31 -0
- package/dist/assets/{StatementsPage-CGQhmaXx-BIuU-4wu.js → StatementsPage-5oimgNHp-D8qK05-P.js} +1 -1
- package/dist/assets/{StatusSwitcher-7fiKLb5g-IubUY6EX.js → StatusSwitcher-CLCkXs_4-DhXpfaBL.js} +1 -1
- package/dist/assets/{SubTabSwitcher-9AnfZiNy-DBEVnhtX.js → SubTabSwitcher-DDR7LrDO-DpWQK8Dj.js} +1 -1
- package/dist/assets/{SummaryCard-DOycYLs1-C5OfLiIW.js → SummaryCard-Cg5UVud3-DPRQua4j.js} +1 -1
- package/dist/assets/{TaskManagementPage-CehyMnY0-LzT8-CCR.js → TaskManagementPage-6_zt2ePp-BeO6Q35e.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-Dq2FEgFR-CxbtXrjR.js → TimeRangeSwitcher-BTx3d66N-DkQSngDA.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-By3xz_-m-4vvkqeCS.js → TimeframeSwitcher-BkGiMDhd-Dhql0xBj.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-a3fmbzNR-DF955u5N.js → TimeframeSwitcherWithToggle-M554ai9V-DeR389hA.js} +2 -2
- package/dist/assets/{TopExCard-GEQpp_KY-BsC8DQsa.js → TopExCard-ym2uAvUy-DkU_w9K-.js} +10 -10
- package/dist/assets/{TopExDetailPage-hid1dQYl-o5BnuopY.js → TopExDetailPage-DU1Qj5ea-DhOfzSmR.js} +6 -6
- package/dist/assets/{TransactionDetailPage-CX4JW9WM-gkT488m-.js → TransactionDetailPage-BHyBhrM7-B3UILKwv.js} +1 -1
- package/dist/assets/{TransactionList-BixeXh4Y-CBLpnxhT.js → TransactionList-CIbSavhJ-Dp71olkE.js} +1 -1
- package/dist/assets/{TransactionListBig-CGMMJQBd-Bi6fPPO-.js → TransactionListBig-kC4b3DAu-DjTE72OH.js} +1 -1
- package/dist/assets/{TransactionListPage-CBVUTX4y-DvUQlgTG.js → TransactionListPage-Ci98GcF7-ClRcNxWS.js} +2 -2
- package/dist/assets/{TransactionVendorDetailPage-CEbHH_0r-vhA6GFtl.js → TransactionVendorDetailPage-DI4kq_vO-D-o6bFok.js} +1 -1
- package/dist/assets/{TransferDrawerPage-BFd7uQnF-CdQTDGt-.js → TransferDrawerPage-B342yNDJ-CsWgYoId.js} +11 -11
- package/dist/assets/{TreasuryOverviewPage-Bd58hOy8-DrtmZ_fp.js → TreasuryOverviewPage-cvOuWLTK-CefWRHUR.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-BvArufHi-zGiWS1XQ.js → TreasuryPromoPage-DyseS2l1-PYUqYVga.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-YLCEBbRh-rIAdAl8t.js → TreasuryStatementsPage-rXMNPd2f-B8HSB6xE.js} +2 -2
- package/dist/assets/{TreasuryTaxLetterPage-D_6mgQqi-DYRPEoC2.js → TreasuryTaxLetterPage-DjV36uFi-ebsJYDfS.js} +2 -2
- package/dist/assets/{TrendChart-D3dT6hUb-DkxaRhLn.js → TrendChart--yie2Xkp-B3lZJMT5.js} +2 -2
- package/dist/assets/{TrendWithTransactions-Gj-u5KXi-BXQxjthK.js → TrendWithTransactions-DVLdmgtU-Cv22_4bm.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-B3eRYolj-CDmprZps.js → UncategorizedAccountsMappingPage-CRypWMwQ-DzPLYLFI.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-DpjR9hUu-B-HccwC1.js → UnitIntegrationPage-DU6Luklp-CVEu7KVf.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-COtszXUY-BbmaGPRn.js → UploadAdditionalDocumentOverlay-jNiTn6qG-D_tolxLp.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-C85mhuSb-CEUsiGHn.js → Vendor2FAPopup-BNA3GtkO-ClfV14L3.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-B9UpKcN3-BTioFEDj.js +1 -0
- package/dist/assets/{VendorDetailPage-BrbKfsL4-Cj99XIhO.js → VendorDetailPage-B6s7kOX--Cl8uI1J2.js} +1 -1
- package/dist/assets/VendorDomesticWireDetailsPage-CVJAmjuC-DlG2tDpP.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-DgBLn3fd-BC-C_gXr.js → VendorFiling1099EditablePage-DiVBfWTv-CQg0-jaT.js} +32 -32
- package/dist/assets/{VendorFirstReviewPage-jc7-OExI-B_u4wn_i.js → VendorFirstReviewPage-CuM6lK63-QOnJj4dm.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-c6isgwH2-G6KTzCh7.js → VendorInternationalWireDetailsPage-CcTippeu-CFZ4Mir_.js} +1 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-8u1L-aEg-CW6R8j3k.js +1 -0
- package/dist/assets/{VendorsAccountsSection--VfdAF3H-CNAOxlvC.js → VendorsAccountsSection-zeM6PeT4-zwdhVM2D.js} +1 -1
- package/dist/assets/{VerifyDevice-CaifjdR8-B6dVM-BL.js → VerifyDevice-iKowLq-3-BWk2f90N.js} +7 -7
- package/dist/assets/{VideoPlayer-BVR9LPmm-B4UxpKEs.js → VideoPlayer-CN28Ho6V-t5x8EBh8.js} +2 -2
- package/dist/assets/{VideoPopup-BEXc8o78-DJiZW-Cs.js → VideoPopup-CfYmxIk4-BV_-FDHV.js} +5 -5
- package/dist/assets/{WarningsDrawerPage-CboqfxzC-gF7sCXHr.js → WarningsDrawerPage-C4jqovLJ-DvCRmdFF.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-Dujj0-XC-V9rgFIsn.js → ZeniAccountDetailPage-M045ginI-CIh86zMI.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage--SMJDGvC-CZS6XXwc.js → ZeniAccountListViewPage-C-eOjorO-Dort1_5m.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-DqLJVQ5t-CkX8FMny.js → ZeniAccountNavBarPieces-Dz9ssqU1-7L41-5ss.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-BVjJvWsA-B4Bz7FjR.js → ZeniAccountPromoPage-BxzNy8wF-ClpXMz8i.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-Dvxst8RT-Dv9aj6me.js → ZeniAccountSetupPage-zWKttj2U-Co7Yvnyy.js} +1 -1
- package/dist/assets/{ZeniCopyright-B88k3pkr-BvEC_X2s.js → ZeniCopyright-2oeOVh0P-DJaD_9oR.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-1DS0MsTI-DXZHqv18.js → ZeniTransferAmountSlider-BADEO33A-DpMPk5Vb.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-D178ysGy.js → add-to-wallet-DgdBD8_G-eMWALCp1.js} +1 -1
- package/dist/assets/{analytics-D090O6Wm.js → analytics-DCCTWnnc.js} +1 -1
- package/dist/assets/{analyticsHelper-DmujELNG-CdoVsqKC.js → analyticsHelper-C2XPB_2A-DuJwOZQc.js} +1 -1
- package/dist/assets/{analyticsHelper-CW9XC1-j.js → analyticsHelper-DnU5BAvo.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-Ccxih1KW.js → arrow-south-east-round-PEovUgvH-9nM57KjQ.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-CaIDNTCx.js → auto-transfer-rule-mbafm5D3-DeA5cpdU.js} +1 -1
- package/dist/assets/{chartTypes-DRiSljvE-DHGd6p3G.js → chartTypes-PZyiFZrr-DoI-jL6q.js} +1 -1
- package/dist/assets/{commonDimensions-BDftm0gJ-CtNxdt96.js → commonDimensions-C_y3LIE8-X_N9ThEv.js} +1 -1
- package/dist/assets/{constants-B1WOPvRN.js → constants-COrMNehl.js} +1 -1
- package/dist/assets/{core-BCGhSsNP.js → core-D2k9JfRf.js} +1 -1
- package/dist/assets/{dash.all.min-DQU9jzwW.js → dash.all.min-wMAz1qMX.js} +1 -1
- package/dist/assets/{detailCommon-BGgE4mE3-BIZKCRTc.js → detailCommon-PTd6DPpO-o02U7S0B.js} +1 -1
- package/dist/assets/{downloadPdf-DCQ9vVZs-BAK1KQub.js → downloadPdf-BdoS2D6l-B5cqxKI-.js} +1 -1
- package/dist/assets/{empty-Db_Oj0CQ.js → empty-D-w6ZnHI.js} +1 -1
- package/dist/assets/{empty-BFpyIT14.js → empty-D0VEAoJw.js} +1 -1
- package/dist/assets/{epic-BhAddVo8.js → epic-ClwVDlVx.js} +2 -2
- package/dist/assets/{gift-box-Cmt9OgIZ-BVmGGIyo.js → gift-box-Cmt9OgIZ-D29dLASa.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-BUSuwQOu.js → graphic-no-data-l-DU4J8fDt-C5a4mTsI.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-9rVTKZNa.js → graphic-no-data-net-burn-l-CzmycA0m-DMABn47o.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-DBfm_e1t.js → handshake-BPg58FML-CY1iZII1.js} +1 -1
- package/dist/assets/{index-DOvOS8E_.js → index-BDimSyBu.js} +1 -1
- package/dist/assets/{index-CrL4860P.js → index-BNglrSQW.js} +1 -1
- package/dist/assets/{index-BpEXgtW2.js → index-BeaEqEWK.js} +1 -1
- package/dist/assets/{index-DT-oXxhz.js → index-Byk1BTgy.js} +1 -1
- package/dist/assets/{index-RjyLdqZN.js → index-CCUQyVRy.js} +1 -1
- package/dist/assets/{index-BGhFLU7w.js → index-CK2D3iZ1.js} +6 -6
- package/dist/assets/{index-DuKH4leN.js → index-n5uJZ9k2.js} +1 -1
- package/dist/assets/{lexical-CtZYfzDm.js → lexical-BEs89iUy.js} +1 -1
- package/dist/assets/{liveblocks-DjrSQGDL.js → liveblocks-CofSwFWW.js} +1 -1
- package/dist/assets/{lottie-QlMyEFez.js → lottie-BO8FHl2Q.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-CUy8c_Sm-CvM45xH7.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BZSP-VcP-woXs_v4t.js → mapSectionWithAcOnlyToTreeNode-C6gW1Rqr-Dv2Q5ZLA.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-DqR98mLo-CGAj6TpO.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-BIGZRHHI-DtvbK4iE.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-BooGIyls-Ct92rF5c.js +1 -0
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BmDRXfMV-ExH9IzF0.js → mapTimeframeHeaderLoadingInProgressToTreeNode-lSB04gFW-CRpECfjU.js} +1 -1
- package/dist/assets/{mui-8xKzSljO.js → mui-DCr-y2iU.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-DjAUkIIu.js → page-detail-CWX5S47F-DDARVgTr.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-DioVIMbJ.js → radio-default-CiSgisfh-DO_kFVBk.js} +1 -1
- package/dist/assets/{react-euUD_2CS.js → react-BGUULhAS.js} +1 -1
- package/dist/assets/{react-CQVfZdRf.js → react-BgpCchG_.js} +1 -1
- package/dist/assets/{react-DEufTa0Y.js → react-CEdfmx42.js} +1 -1
- package/dist/assets/{react-C26MaKuf.js → react-CFfs9kVE.js} +1 -1
- package/dist/assets/{react-1fNkcXJk.js → react-DFeqXhsB.js} +1 -1
- package/dist/assets/{react-BpMq70Jz.js → react-DgBRIATV.js} +1 -1
- package/dist/assets/{react-CvSzLYZW.js → react-UyoSCzBu.js} +1 -1
- package/dist/assets/{react-5bc96E7k.js → react-j6fq6Sto.js} +2 -2
- package/dist/assets/{recharts-BnXj3KRI.js → recharts-CIKvFUT6.js} +1 -1
- package/dist/assets/{sentry-C9BQzslk.js → sentry-Dm3bm_ok.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-DfgTXsyM.js → shield-DOlUxcFf-BEm6OgBB.js} +1 -1
- package/dist/assets/toCOABalancesWithID-CPbzhUua-B5GAWKcP.js +1 -0
- package/dist/assets/{toChartData-CavJzP6f-MNPPYJmI.js → toChartData-BUhYY9IR-S8AOthKK.js} +1 -1
- package/dist/assets/{transaction-placeholder-CpOwZAMG-DvtWJS0D.js → transaction-placeholder-CpOwZAMG-gpUqGjUj.js} +1 -1
- package/dist/assets/{uploadAttachment-BuVCsq0Q-S-SyFEfz.js → uploadAttachment-D-Lomshq-0SKv4D0e.js} +1 -1
- package/dist/assets/{uploadReceipts-CPw64UYa-BH5K-sl5.js → uploadReceipts-CPw64UYa-BEcpM53g.js} +1 -1
- package/dist/assets/{url-MazUlenF.js → url-BXpa7lO3.js} +1 -1
- package/dist/assets/{url-WfClTpIP.js → url-D9ndU82p.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-DGIP6WpU.js → useLongPress-GCK2COYQ-DzUxHAZU.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-CVrOUZlu.js → usp-line-BBd1wKwW-Cow5FZNy.js} +1 -1
- package/dist/assets/{utils-zYB6z_it.js → utils-CVsOBiWJ.js} +1 -1
- package/dist/assets/{zeni-epic-state-D9zDRHOK.js → zeni-epic-state-Cgro3mH-.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/AccountInfoPage-DfT5DDiZ-DND7ENQF.js +0 -18
- package/dist/assets/ChargeCardPromoPage-CDJMtGJb-hssoPQjs.js +0 -222
- package/dist/assets/CustomerOnboardingContainerPage-SmOFmXBW-DTN0ucTw.js +0 -1
- package/dist/assets/EntityDetailPage-5Cu1qehd-BdCQHbCi.js +0 -18
- package/dist/assets/MagicLinkACHDetailsPage-CUHMKmcj-BWS1eLIz.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Dnc7OzKQ-BkvhGPqZ.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-sBpQkYwP-DYCM1cCk.js +0 -1
- package/dist/assets/StatementItem-bHInVThd-Bfw9F8uL.js +0 -31
- package/dist/assets/VendorACHDetailsPage-DeexeWpV-CWx4yTGx.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-DBChSKlR-CPIfYbL9.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CywCx8-0-BuJYqFug.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-CXP8ZZTG-DEpSFHGZ.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-Bc1S_1ej-D8Xyxewi.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-ClgcHX26-CH6aCNop.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-Cwp98PMa-D47kQKR9.js +0 -1
- package/dist/assets/toCOABalancesWithID--oEGymMJ-DkNt3ShR.js +0 -1
package/dist/assets/{ACHDetailsPage-B6sY0jN6-BewHWiw_.js → ACHDetailsPage-Cmt4zlsa-CVV8HYnx.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as E,a8 as W,F as w,cB as _,V as n,cm as V,cn as F,co as H,ab as O,aO as q,y as c,eR as Q,b5 as U,o as Z,c as t}from"./index-
|
|
1
|
+
import{q as E,a8 as W,F as w,cB as _,V as n,cm as V,cn as F,co as H,ab as O,aO as q,y as c,eR as Q,b5 as U,o as Z,c as t}from"./index-CK2D3iZ1.js";import{a as x}from"./sentry-Dm3bm_ok.js";import{n as u}from"./mui-DCr-y2iU.js";import{W as G,A as J}from"./BankAccountWarningSection-DoqOr9h0-CysUjzfB.js";import{M as K}from"./MagicLinkTitleSection-RWEjrx8m-CX8Fw-B8.js";import{e as X}from"./BankAccountSection-De0m3zrf-DJo0ErGm.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]="8ac8cf2e-c697-40a0-8e54-ee7ee93b60dc",e._sentryDebugIdIdentifier="sentry-dbid-8ac8cf2e-c697-40a0-8e54-ee7ee93b60dc")}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",p="bankAccountSection",A=e=>`${e}_form`,ue=({bankAccountCreationState:e,bankAccountToCreate:o,fetchBankNameByRoutingStatus:g,isDisabled:k,style:B,onSaveHandler:S,onBackClick:h,onACHDetailsUpdated:v,onFetchBankName:N,isMagicLink:m,companyName:D,currencySymbol:j,amount:$,bankAccountContext:P})=>{const r=E(),i=W({mode:"onBlur",reValidateMode:"onChange",defaultValues:x.useMemo(()=>Y(o),[o])}),[z,b]=x.useState(!1),l=w.getLocalizedStrings().spendManagement.billPay.vendorCreation,R=w.getLocalizedStrings().common.footer,{achDetails:C,bankAccountCommon:y}=l,I={onOkClick:()=>{b(!1),i.reset(),h?.()},onCancelClick:()=>{b(!1)}},L=async(f,d)=>{const s=d[p].bankRoutingNumber;v(d),f===`${p}.bankRoutingNumber`&&s?.length===9&&Q.test(s)===!0&&N?.(s)};x.useEffect(()=>{const f=i.watch((d,{name:s})=>{s!=null&&d!=null&&_(()=>L(s,d))});return()=>{f.unsubscribe()}});const M=i.handleSubmit(f=>{g.fetchState!=="In-Progress"&&S("ach")});return n.jsxs(ne,{children:[n.jsxs(te,{style:B,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:I}):null,n.jsx(G,{header:m?n.jsx(K,{companyName:D??"",currencySymbol:j??"",amount:$??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,P==="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:M,children:n.jsx(ee,{size:r,children:n.jsx(X,{bankAccountToCreate:o,fetchBankNameByRoutingStatus:g,sectionId:p,isDisabled:k})})})})})]}),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:k!=null},showCancel:!m,cancelBtn:{label:R.cancel,style:{width:a.buttonWidth.value(r)},shouldResetOnCancel:!1,onClick:()=>{i.formState.isDirty?b(!0):(i.reset(),h?.())}}})]})},Y=e=>({[p]:{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,a7 as y1,q as M,F as j,ca as j1,V as C,bQ as $1,o as r,aM as v1,b as D,ch as b1,k4 as T,c as n,bM as g,dp as h1,p as d,a6 as S1,b1 as p1,d as m1,k5 as f,ag as x,k6 as Z1,k7 as B1,aq as S,D as q,b5 as J,al as F1,k8 as W1,dK as _1,fZ as D1,cf as u1,ak as H1}from"./index-
|
|
1
|
+
import{y as u,a7 as y1,q as M,F as j,ca as j1,V as C,bQ as $1,o as r,aM as v1,b as D,ch as b1,k4 as T,c as n,bM as g,dp as h1,p as d,a6 as S1,b1 as p1,d as m1,k5 as f,ag as x,k6 as Z1,k7 as B1,aq as S,D as q,b5 as J,al as F1,k8 as W1,dK as _1,fZ as D1,cf as u1,ak as H1}from"./index-CK2D3iZ1.js";import{a as e}from"./sentry-Dm3bm_ok.js";import{n as o,c as P1,k as T1}from"./mui-DCr-y2iU.js";import{G6 as E,G7 as e1,G8 as F}from"./zeni-epic-state-Cgro3mH-.js";import{R as V1}from"./NavBarWithPicker-edkm8kW--DTJVRU93.js";import{F as k1,X as x1,Y as I,I as z1,J as O1,G as t1}from"./recharts-CIKvFUT6.js";import"./liveblocks-CofSwFWW.js";import"./core-D2k9JfRf.js";import"./lottie-BO8FHl2Q.js";import"./analytics-DCCTWnnc.js";import"./lexical-BEs89iUy.js";import"./utils-CVsOBiWJ.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]="3c41b8ac-75e4-45f9-a7b7-2b2fafed23fd",t._sentryDebugIdIdentifier="sentry-dbid-3c41b8ac-75e4-45f9-a7b7-2b2fafed23fd")}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};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import{d as y,q as x,V as t,gJ as b,o as r,y as d,hv as D,c as i}from"./index-CK2D3iZ1.js";import{a as $}from"./sentry-Dm3bm_ok.js";import{n as o}from"./mui-DCr-y2iU.js";import{K as P}from"./StatusSwitcher-CLCkXs_4-DhXpfaBL.js";import{r as v}from"./AccountInfoPageContent-9wbA8niq-Bqglb0N2.js";import"./liveblocks-CofSwFWW.js";import"./core-D2k9JfRf.js";import"./recharts-CIKvFUT6.js";import"./zeni-epic-state-Cgro3mH-.js";import"./lottie-BO8FHl2Q.js";import"./analytics-DCCTWnnc.js";import"./lexical-BEs89iUy.js";import"./utils-CVsOBiWJ.js";import"./downloadPdf-BdoS2D6l-B5cqxKI-.js";import"./commonDimensions-C_y3LIE8-X_N9ThEv.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]="ea05867b-8190-44d9-a471-9aab13a1e216",e._sentryDebugIdIdentifier="sentry-dbid-ea05867b-8190-44d9-a471-9aab13a1e216")}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:a,zeniAccountsConfigDetail:g,currentTenant:u,onDismissClick:p})=>{const f=y(),l=x(),[c,m]=$.useState("achDetails"),w=h=>{m(h)};return t.jsxs(A,{children:[t.jsx(b,{title:"",backgroundColor:f.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:p}),t.jsx(T,{windowSize:l,children:a.accountName}),t.jsx(j,{children:t.jsx(P,{tabIds:["achDetails","wireDetails"],selectedTab:c,entity:"zeni_accounts",onTabSelectedChange:w,isSwitcherLeftAlign:!0})}),t.jsx(z,{windowSize:l,children:t.jsx(v,{authParams:e,downloadAccountDetailEndPoint:n,currentTab:c,zeniAccountsConfigDetail:g,currentTenant:u,depositAccount:a})})]})},z=o.div`
|
|
2
|
+
padding-left: ${e=>`${s.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
3
|
+
padding-right: ${e=>`${s.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
4
|
+
`,A=o.div`
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
8
|
+
overflow-x: hidden;
|
|
9
|
+
height: 100%;
|
|
10
|
+
width: 100%;
|
|
11
|
+
`,T=o(D)`
|
|
12
|
+
color: ${e=>e.theme.colors.primary};
|
|
13
|
+
padding: ${r.sp3} ${r.sp0};
|
|
14
|
+
margin: ${e=>`${r.sp0} ${s.pageTitleMarginXAxis.valuePx(e.windowSize)} `};
|
|
15
|
+
`,j=o.div`
|
|
16
|
+
display: flex;
|
|
17
|
+
justify-content: flex-start;
|
|
18
|
+
`;export{B as default};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import{q as je,gR as Ae,hw as W,V as r,bQ as z,m as Se,aM as L,o as a,b5 as Te,F as ve,c0 as De,p as E,ag as re,u as Ce,gU as ze,ak as ae}from"./index-
|
|
1
|
+
import{q as je,gR as Ae,hw as W,V as r,bQ as z,m as Se,aM as L,o as a,b5 as Te,F as ve,c0 as De,p as E,ag as re,u as Ce,gU as ze,ak as ae}from"./index-CK2D3iZ1.js";import{a as s}from"./sentry-Dm3bm_ok.js";import{n as t}from"./mui-DCr-y2iU.js";import{w as Le}from"./downloadPdf-BdoS2D6l-B5cqxKI-.js";import{o as _e}from"./commonDimensions-C_y3LIE8-X_N9ThEv.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]="e749aa2a-5fcd-42ef-9154-af6548af2144",e._sentryDebugIdIdentifier="sentry-dbid-e749aa2a-5fcd-42ef-9154-af6548af2144")}catch{}})();const{common:{strings:Ie,copyToClipBoard:g},spendManagement:{zeniAccounts:{zeniAccountDetail:G},billPay:{vendorCreation:{achDetails:o}},downloads:K}}=ve.getLocalizedStrings(),er=({authParams:e,downloadAccountDetailEndPoint:y,currentTab:p,depositAccount:c,zeniAccountsConfigDetail:b,currentTenant:k})=>{const oe=je(),[,R]=Ae(),[N,te]=s.useState(!1),[se,ne]=s.useState(!1),[ce,ie]=s.useState(!1),[le,de]=s.useState(!1),[ue,be]=s.useState(!1),[me,pe]=s.useState(!1),[he,fe]=s.useState(!1),[xe,ye]=s.useState(!1),[h,P]=s.useState(!1),[w,q]=s.useState(!1),[j,F]=s.useState(!1),[A,U]=s.useState(!1),[S,V]=s.useState(!1),[T,O]=s.useState(!1),[v,Q]=s.useState(!1),[$,B]=s.useState(!1),D=k?.company?.companyInfo.companyLegalName,C=W(b.zeniAccountsConfigDetail.mailingAddress).text2,m=W(b.zeniAccountsConfigDetail.bankAddress).text2;s.useEffect(()=>{(h||T||v||$||S||$||j||w||A)&&setTimeout(()=>{P(!1),O(!1),Q(!1),B(!1),V(!1),U(!1),F(!1),q(!1)},1200)},[h,T,v,$,S,A,j,w]);const H=(f,n)=>{switch(f){case"accountType":ne(n);break;case"acccountNumber":ie(n);break;case"routingNumber":de(n);break;case"bankName":be(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
|
-
${o.accountTypeLabel} ${
|
|
3
|
+
${o.accountTypeLabel} ${c.accountSubType.name??""}
|
|
4
4
|
|
|
5
|
-
${o.bankAccountNumber} ${
|
|
5
|
+
${o.bankAccountNumber} ${c.accountNumber}
|
|
6
6
|
|
|
7
|
-
${o.bankName} ${
|
|
7
|
+
${o.bankName} ${b.zeniAccountsConfigDetail.bankName}
|
|
8
8
|
|
|
9
|
-
${o.bankAddress} ${m}`:
|
|
9
|
+
${o.bankAddress} ${m}`:n=`${o.bankRoutingNumber} ${c.routingNumberAch}
|
|
10
10
|
|
|
11
|
-
${o.accountTypeLabel} ${
|
|
11
|
+
${o.accountTypeLabel} ${c.accountSubType.name??""}
|
|
12
12
|
|
|
13
|
-
${o.bankAccountNumber} ${
|
|
13
|
+
${o.bankAccountNumber} ${c.accountNumber}
|
|
14
14
|
|
|
15
|
-
${o.bankName} ${
|
|
15
|
+
${o.bankName} ${b.zeniAccountsConfigDetail.bankName}
|
|
16
16
|
|
|
17
17
|
${o.beneficiaryName} ${D}
|
|
18
18
|
|
|
19
19
|
${o.bankAddress} ${m}
|
|
20
20
|
|
|
21
|
-
${o.beneficiaryAddress} ${C}`,R(
|
|
21
|
+
${o.beneficiaryAddress} ${C}`,R(n),P(!0)},i=(f,n,x,J)=>{let d,l;switch(x){case"acccountNumber":d=ce,l=v;break;case"accountType":d=se,l=T;break;case"bankName":d=ue,l=S;break;case"beneficiaryName":d=he,l=w;break;case"beneficiaryAddress":d=me,l=A;break;case"bankAddress":d=xe,l=j;break;default:d=le,l=$;break}const we=()=>{switch(x){case"accountType":O(!0);break;case"acccountNumber":Q(!0);break;case"routingNumber":B(!0);break;case"bankName":V(!0);break;case"beneficiaryName":q(!0);break;case"beneficiaryAddress":U(!0);break;case"bankAddress":F(!0);break}};return r.jsxs(Ue,{onMouseEnter:()=>H(x,!0),onMouseLeave:()=>H(x,!1),children:[r.jsx(Ve,{children:f}),r.jsx(Qe,{children:r.jsxs(Be,{children:[r.jsxs(Oe,{children:[d||oe==="small"?r.jsx(_,{children:r.jsx(z,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:l,children:l?g.copied:g.copy}),enterDelay:600,children:l===!0?r.jsx(ee,{}):r.jsx(Z,{"data-testid":L("account-info-copy",x),onClick:()=>{R(n),we()}})})}):null,n]}),J!=null?r.jsx(He,{children:J}):null]})})]})},ge={detail_type:"account_details",deposit_account_id:c.id,company_name:k?.companyName??"",company_legal_name:k?.company?.companyInfo.companyLegalName??""},ke=encodeURIComponent(JSON.stringify(ge)),Ne=`${y}?query=${ke}`;return r.jsx(Ee,{children:r.jsxs(Me,{children:[r.jsxs(Re,{children:[r.jsx(qe,{children:p==="achDetails"?G.achTitle:G.wireTitle}),r.jsxs(Pe,{children:[r.jsx(_,{children:r.jsx(z,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:N,children:N?K.downloading:K.download}),enterDelay:600,children:N===!0?r.jsx(Se,{size:"Small",start:!0}):r.jsx(Fe,{"data-testid":L("account-info-download-pdf"),onClick:()=>{Le(Ne,Ie.empty,e,te,!0)}})})}),r.jsx(_,{children:r.jsx(z,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:h,children:h?g.copied:g.copy}),enterDelay:600,children:h===!0?r.jsx(ee,{}):r.jsx(Z,{onClick:()=>$e(p),"data-testid":L("title-text-copy")})})})]})]}),p==="achDetails"?r.jsxs(Je,{children:[r.jsx(X,{children:i(o.bankRoutingNumber,c.routingNumberAch,"routingNumber")}),r.jsx(u,{children:i(o.accountTypeLabel,c.accountSubType.name,"accountType")}),r.jsx(u,{children:i(o.bankAccountNumber,c.accountNumber,"acccountNumber")}),r.jsx(u,{children:i(o.bankName,b.zeniAccountsConfigDetail.bankName,"bankName")}),m!=null?r.jsx(Y,{children:i(o.bankAddress,m,"bankAddress")}):null]}):p==="wireDetails"?r.jsxs(We,{children:[r.jsx(X,{children:i(o.bankRoutingNumber,c.routingNumberAch,"routingNumber")}),r.jsx(u,{children:i(o.accountTypeLabel,c.accountSubType.name,"accountType")}),r.jsx(u,{children:i(o.bankAccountNumber,c.accountNumber,"acccountNumber")}),r.jsx(u,{children:i(o.bankName,b.zeniAccountsConfigDetail.bankName,"bankName")}),m!=null?r.jsx(u,{children:i(o.bankAddress,m,"bankAddress")}):null,D!=null?r.jsx(u,{children:i(o.beneficiaryName,D,"beneficiaryName",o.beneficiaryNameSubLabel)}):null,C!=null?r.jsx(Y,{children:i(o.beneficiaryAddress,C,"beneficiaryAddress",o.beneficiaryAddressSubLabel)}):null]}):null]})})},Ee=t.div``,Me=t.div`
|
|
22
22
|
margin: ${a.sp4};
|
|
23
23
|
margin-left: ${a.sp0};
|
|
24
24
|
`,Re=t.div`
|
|
@@ -134,7 +134,7 @@ ${o.beneficiaryAddress} ${C}`,R(c),P(!0)},i=(f,c,x,J)=>{let d,l;switch(x){case"a
|
|
|
134
134
|
text-align: end;
|
|
135
135
|
`,I=t(re)`
|
|
136
136
|
color: ${e=>e.isTextCopied?E.primaryDark:E.neutralGrey1Light};
|
|
137
|
-
`,
|
|
137
|
+
`,u=t(M)`
|
|
138
138
|
box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
139
139
|
display: flex;
|
|
140
140
|
border-radius: ${a.sp0};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as g,F as l,V as t,ak as x,b8 as c,n as y,o as r,p,ap as b,bW as j,bX as $,bY as w,bP as k}from"./index-
|
|
1
|
+
import{d as g,F as l,V as t,ak as x,b8 as c,n as y,o as r,p,ap as b,bW as j,bX as $,bY as w,bP as k}from"./index-CK2D3iZ1.js";import{n as o}from"./mui-DCr-y2iU.js";import{t as v}from"./handshake-BPg58FML-CY1iZII1.js";import"./sentry-Dm3bm_ok.js";import"./liveblocks-CofSwFWW.js";import"./core-D2k9JfRf.js";import"./recharts-CIKvFUT6.js";import"./zeni-epic-state-Cgro3mH-.js";import"./lottie-BO8FHl2Q.js";import"./analytics-DCCTWnnc.js";import"./lexical-BEs89iUy.js";import"./utils-CVsOBiWJ.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]="d0aefe30-271f-4eaa-94fa-41623662d5bf",e._sentryDebugIdIdentifier="sentry-dbid-d0aefe30-271f-4eaa-94fa-41623662d5bf")}catch{}})();const m="support@zeni.ai",n=l.getLocalizedStrings().commonSetUp.twoFactorAuthentication,h=({unlockDate:e,onSubmit:i})=>{const s=g(),f=e.format(l.getLocalizedStrings().dateFormat.visual.MMMDCommaYYYYformat),u=e.format(l.getLocalizedStrings().dateFormat.visual.HHMMFormat);return t.jsxs(S,{children:[t.jsx(D,{children:n.accountLockedTitle}),t.jsxs(_,{children:[t.jsxs(a,{children:[t.jsx(d,{theme:s,children:t.jsx(A,{})}),t.jsx(x,{children:n.accountLockedSecurityMessage})]}),t.jsxs(a,{children:[t.jsx(d,{theme:s,children:t.jsx(z,{})}),t.jsxs(c,{children:[n.tryAgainAfter,t.jsxs(I,{children:[f,t.jsx(L,{children:"•"}),u]}),n.signInViaGoogleOrMicrosoft]})]}),t.jsxs(a,{children:[t.jsx(d,{theme:s,children:t.jsx(F,{})}),t.jsxs(c,{children:[n.accountLockedContactMessage,t.jsx(C,{href:`mailto:${m}`,children:m})]})]}),t.jsx(y,{variant:"primary",label:n.understood,onClick:i})]})]})};function M({unlockDate:e,onClose:i}){return t.jsx(k,{open:!0,onClose:i,children:t.jsx(T,{children:t.jsx(h,{unlockDate:e,onSubmit:i})})})}const S=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a8 as fe,fv as xe,V as t,ab as ge,cm as ye,cn as je,co as Se,o as c,B as $e,b5 as Q,al as X,L as be,a9 as ke,dJ as ve,eP as we,d1 as J,ds as Z,F as Ce,ak as d,d as Ee,aK as Pe,bu as ee,dM as te,at as Re,p as ne,u as Ie}from"./index-
|
|
1
|
+
import{a8 as fe,fv as xe,V as t,ab as ge,cm as ye,cn as je,co as Se,o as c,B as $e,b5 as Q,al as X,L as be,a9 as ke,dJ as ve,eP as we,d1 as J,ds as Z,F as Ce,ak as d,d as Ee,aK as Pe,bu as ee,dM as te,at as Re,p as ne,u as Ie}from"./index-CK2D3iZ1.js";import{a as r}from"./sentry-Dm3bm_ok.js";import{n as o}from"./mui-DCr-y2iU.js";import{bL as oe,Gm as De,Gn as _e}from"./zeni-epic-state-Cgro3mH-.js";import{E as Te,C as Fe,w as Ue,f as Le}from"./AccountRow-Ba39SxP8-8PYcW3Va.js";import"./liveblocks-CofSwFWW.js";import"./core-D2k9JfRf.js";import"./recharts-CIKvFUT6.js";import"./lottie-BO8FHl2Q.js";import"./analytics-DCCTWnnc.js";import"./lexical-BEs89iUy.js";import"./utils-CVsOBiWJ.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]="6a1e987b-90b4-43a1-aab9-90500c656005",e._sentryDebugIdIdentifier="sentry-dbid-6a1e987b-90b4-43a1-aab9-90500c656005")}catch{}})();const m={containerPaddingLeft:c.sp4,containerPaddingRight:c.sp4,navBarHeight:c.sp10,navBarPaddingRight:c.sp4,navBarPaddingLeft:c.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};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,aK as E,bQ as f,o,aM as y,a9 as se,dJ as re,F as le,ak as w,dK as de,p as g,dL as Z,dM as Y,cY as ue,aS as x,ag as X,c as p,q as xe,d as S,aZ as pe,dq as he,am as ge,n as me,al as I,bH as fe,dC as je}from"./index-
|
|
1
|
+
import{V as t,aK as E,bQ as f,o,aM as y,a9 as se,dJ as re,F as le,ak as w,dK as de,p as g,dL as Z,dM as Y,cY as ue,aS as x,ag as X,c as p,q as xe,d as S,aZ as pe,dq as he,am as ge,n as me,al as I,bH as fe,dC as je}from"./index-CK2D3iZ1.js";import{a as ye}from"./sentry-Dm3bm_ok.js";import{n as a,c as we}from"./mui-DCr-y2iU.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]="517fdea9-d35a-415a-97eb-8f2c236386da",e._sentryDebugIdIdentifier="sentry-dbid-517fdea9-d35a-415a-97eb-8f2c236386da")}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,V as o,o as t,aV as z,p as v,ap as ne,b as ae,bs as ie,bt as se,bu as ce,bv as le,bw as V,l as de,aL as W,aI as pe,d as J,av as ue,aM as _,aU as me,aJ as he,aP as ge,ag as R,aW as xe,b3 as fe,ak as ye,b8 as Ce}from"./index-
|
|
1
|
+
import{F,V as o,o as t,aV as z,p as v,ap as ne,b as ae,bs as ie,bt as se,bu as ce,bv as le,bw as V,l as de,aL as W,aI as pe,d as J,av as ue,aM as _,aU as me,aJ as he,aP as ge,ag as R,aW as xe,b3 as fe,ak as ye,b8 as Ce}from"./index-CK2D3iZ1.js";import{a as U,S}from"./sentry-Dm3bm_ok.js";import{c as $e}from"./SummaryCard-Cg5UVud3-DPRQua4j.js";import{n as r,k as X,c as K}from"./mui-DCr-y2iU.js";import{EG as be}from"./zeni-epic-state-Cgro3mH-.js";import{N as q}from"./NavigationArrow-DAOz2wst-CzpVYMv0.js";import{k as ve}from"./NavigationDots-Dm8SYcdL-CXSz5QAZ.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]="d7936220-27a7-4d94-ad15-95c8fb8ddaad",e._sentryDebugIdIdentifier="sentry-dbid-d7936220-27a7-4d94-ad15-95c8fb8ddaad")}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,aN as T,b as d,V as l,jm as w,o as t,y as c,aM as B,F as x,c as n}from"./index-
|
|
1
|
+
import{d as y,q as S,aN as T,b as d,V as l,jm as w,o as t,y as c,aM as B,F as x,c as n}from"./index-CK2D3iZ1.js";import{a as C}from"./sentry-Dm3bm_ok.js";import{n as I}from"./mui-DCr-y2iU.js";import"./liveblocks-CofSwFWW.js";import"./core-D2k9JfRf.js";import"./recharts-CIKvFUT6.js";import"./zeni-epic-state-Cgro3mH-.js";import"./lottie-BO8FHl2Q.js";import"./analytics-DCCTWnnc.js";import"./lexical-BEs89iUy.js";import"./utils-CVsOBiWJ.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]="29dfb081-2d2f-461d-9e18-13bcf4c4cf5a",e._sentryDebugIdIdentifier="sentry-dbid-29dfb081-2d2f-461d-9e18-13bcf4c4cf5a")}catch{}})();const m={marginTop:new c(n[0],18),marginBottom:new c(n[0],n[3])},{spendManagement:{chargeCard:{chargeCardsPromo:p}},common:j}=x.getLocalizedStrings(),K=({googleAPIKey:e,customAddress:s,customAddressStatus:o,onDismissClick:r,onSubmitHandler:g})=>{const u=y(),a=S(),i=T(o.fetchState);C.useEffect(()=>{i==="In-Progress"&&o.fetchState==="Completed"&&r()},[o.fetchState,r,i]);const f=a==="small"?d.extraSmallRegular.cssObject:d.standardRegular.cssObject,b=a==="small"?d.standardMedium.cssObject:d.h5Regular.cssObject;return l.jsx(P,{"data-testid":B("add-address-for-card-drawer"),children:l.jsx(w,{googleAPIKey:e,loadingState:o.fetchState,addressToEdit:s,onSubmitHandler:h=>g(h),onCancel:r,showNavbarWithClose:!0,isSubPage:!0,addTitleMessage:p.addAddress,subTitleMessage:p.addAddressSubText,hideAddressBackButton:!0,showAddressCloseButton:!0,dontShowSaveConfirmationPopup:!0,customNavStyles:{paddingTop:"19px",paddingBottom:"19px"},customTitleStyles:{marginTop:m.marginTop.valuePx(a),marginBottom:m.marginBottom.valuePx(a),...b},subTitleStyles:{marginTop:t.sp0,marginBottom:t.sp0,...f,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:j.add,buttonWidth:82,separatorStyle:{marginRight:t.sp4}}})})},P=I.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
background-color: ${e=>e.theme.colors.grey4};
|
|
4
4
|
height: 100%;
|
package/dist/assets/{AddToWalletPage-DyrcWdBZ-CkK2fnuE.js → AddToWalletPage-CQYHG0Yj-CP1osDBN.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as L,a7 as le,av as ne,F as N,V as t,bz as de,c as p,j1 as pe,jj as ce,o as i,n as W,aM as A,y as m,a as $,B as b,jk as he,j2 as ge,cf as xe,p as r,jl as me,bv as ue,cS as we,ak as $e,b as be,j6 as fe}from"./index-
|
|
1
|
+
import{q as L,a7 as le,av as ne,F as N,V as t,bz as de,c as p,j1 as pe,jj as ce,o as i,n as W,aM as A,y as m,a as $,B as b,jk as he,j2 as ge,cf as xe,p as r,jl as me,bv as ue,cS as we,ak as $e,b as be,j6 as fe}from"./index-CK2D3iZ1.js";import{a as g}from"./sentry-Dm3bm_ok.js";import{n as o,c as D}from"./mui-DCr-y2iU.js";import{EF as ye}from"./zeni-epic-state-Cgro3mH-.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-eMWALCp1.js";import"./liveblocks-CofSwFWW.js";import"./core-D2k9JfRf.js";import"./recharts-CIKvFUT6.js";import"./lottie-BO8FHl2Q.js";import"./analytics-DCCTWnnc.js";import"./lexical-BEs89iUy.js";import"./utils-CVsOBiWJ.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]="ae79747f-0dfb-420a-98ae-bd8a6c56cf20",e._sentryDebugIdIdentifier="sentry-dbid-ae79747f-0dfb-420a-98ae-bd8a6c56cf20")}catch{}})();const Ie=({options:e,selected:a,onToggle:h,containerStyle:l={},optionStyle:y={},thumbStyle:k={}})=>{const u=e.findIndex(n=>n.id===a),w=100/e.length,j=()=>u===0?{left:"1%"}:u===e.length-1?{left:`${(e.length-1)*w}%`}:{left:`${u*w}%`};return t.jsxs(We,{style:l,children:[t.jsx(Ae,{style:{width:`${w-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))]})},We=o.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
width: 100%;
|
|
4
4
|
background: ${e=>e.theme.colors.grey3};
|
package/dist/assets/{AgingReportsPage-CmluxKG3-B2hpJNM3.js → AgingReportsPage-BWCU11pF-MZUqlZXC.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as q,q as O,hX as _e,V as t,hY as De,bL as Ne,hZ as ve,bA as Oe,bz as ke,y as D,a9 as F,g1 as je,F as x,o as N,aQ as Pe,c as m,aK as Q,cc as Be,cd as $e,ce as Ie,ak as Ae,cf as Me,b1 as ne,aA as oe,aS as re}from"./index-
|
|
1
|
+
import{d as q,q as O,hX as _e,V as t,hY as De,bL as Ne,hZ as ve,bA as Oe,bz as ke,y as D,a9 as F,g1 as je,F as x,o as N,aQ as Pe,c as m,aK as Q,cc as Be,cd as $e,ce as Ie,ak as Ae,cf as Me,b1 as ne,aA as oe,aS as re}from"./index-CK2D3iZ1.js";import{a as f}from"./sentry-Dm3bm_ok.js";import{n as y}from"./mui-DCr-y2iU.js";import{bh as R,FP as Ye}from"./zeni-epic-state-Cgro3mH-.js";import{n as A}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{L as ze,k as Le}from"./ArAgingChart-C7VtW0AI-Co8wpWo7.js";import{C as ie}from"./NoDataChart-BIcLmdso-V1__FO4W.js";import{I as se,R as $}from"./CollapsableReportTable-l16Ixpgb-BS0sBPj9.js";import{d as le}from"./NoDataTable-C9ywvwy4-CbJRpj1w.js";import{l as ce}from"./mapSpacerToTreeNode-DqR98mLo-CGAj6TpO.js";import{l as Ee}from"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";import"./liveblocks-CofSwFWW.js";import"./core-D2k9JfRf.js";import"./recharts-CIKvFUT6.js";import"./lottie-BO8FHl2Q.js";import"./analytics-DCCTWnnc.js";import"./lexical-BEs89iUy.js";import"./utils-CVsOBiWJ.js";import"./chartTypes-PZyiFZrr-DoI-jL6q.js";import"./AccountRow-Ba39SxP8-8PYcW3Va.js";import"./graphic-no-data-l-DU4J8fDt-C5a4mTsI.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]="afebe18a-585b-4277-b1a1-511f7ce0b432",e._sentryDebugIdIdentifier="sentry-dbid-afebe18a-585b-4277-b1a1-511f7ce0b432")}catch{}})();const Fe={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 q,q as O,hX as _e,V as t,hY as De,bL as Ne,hZ as ve,bA as Oe,bz as k
|
|
|
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(Ze,{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=q(),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=He(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(M,{windowSize:l,children:t.jsx(le,{})}):n!=null?t.jsx(M,{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 Ze({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){const[s,n]=f.useState(void 0),[c,l]=f.useState(void 0),r=O(),u=q(),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(Ze,{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=q(),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=He(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(M,{windowSize:l,children:t.jsx(le,{})}):n!=null?t.jsx(M,{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 Ze({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){const[s,n]=f.useState(void 0),[c,l]=f.useState(void 0),r=O(),u=q(),p=!(r==="small"||r==="medium-compact"),d=f.useCallback((g,S)=>{a(g,S)},[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 S=Ue(e,g,p);n(e),l(S)}else{const S=ue(c,g,e,p);l(S)}},[e,d]),e.agingBalances.length===0?t.jsx(M,{windowSize:r,children:t.jsx(le,{})}):c!=null?t.jsx(M,{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 Ve={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 q,q as O,hX as _e,V as t,hY as De,bL as Ne,hZ as ve,bA as Oe,bz as k
|
|
|
34
34
|
width: fit-content;
|
|
35
35
|
`,te=y(Me)`
|
|
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 K={wrapperPadding:new D(m[3],m[3],m[8]),navbarMarginBottom:new D(m[7],m[4])},{download:T,dateFormat:_,reports:{common:et,aging:B}}=x.getLocalizedStrings();function Bt(e){const a=q(),[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 K={wrapperPadding:new D(m[3],m[3],m[8]),navbarMarginBottom:new D(m[7],m[4])},{download:T,dateFormat:_,reports:{common:et,aging:B}}=x.getLocalizedStrings();function Bt(e){const a=q(),[o,i]=f.useState(!1),s=O(),{report:n,uiState:c,downloadParams:l,analytics:r,onSelectedDateChanged:u,onBackClick:p,onSearchTextChange:d,onReloadReport:g,onSortOrderChange:S,onEntityNameClick:fe,updateDownloadStateHandler:Y,onNodeCollapseToggled:ye}=e,{fetchState:k,reportTitle:we,reportId:w}=n,{searchString:j,downloadState:I,sortKey:z,sortOrder:L,selectedDate:b,agingDateSelectionType:H}=c,{authParams:U,downloadEndPoint:W,timezone:J}=l,Z=f.useCallback((h,C)=>{const P=ae(C);u(h,P),r.trackAgingReportDateChange(A(w),b!=null?b.format(_.analytics.YYYYDashMMDashDDFormat):R().format(_.analytics.YYYYDashMMDashDDFormat),h.format(_.analytics.YYYYDashMMDashDDFormat),P)},[r,u,w,b]),V=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(A(w),b!=null?b.format(_.analytics.YYYYDashMMDashDDFormat):R().format(_.analytics.YYYYDashMMDashDDFormat),h.format(_.analytics.YYYYDashMMDashDDFormat),P)},[r,u,w,b]),xe=f.useCallback((h,C)=>{S(h,C),r.trackAgingReportSortChange(A(w),C,h)},[r,S,w]),be=f.useCallback(()=>t.jsx(De,{maxDate:R(),selectedDate:{date:b},precomputedOptionsProperties:{preComputedOptionSelected:ct(H),preComputedOptionDateFormat:_.visual.MMMDCommaYYYYformat,preComputedOptions:B.preComputedDurationOptions,onPreComputedOptionSelected:Z},onSelectedDateChanged:V}),[b,Z,V,H]);if(f.useEffect(()=>{async function h(){const C={companyName:l.companyName,searchString:j,sortKey:z,sortOrder:L,statementFileType:"excel",timezone:J,reportId:w==="accounts_receivable_aging"?"accounts_receivable_aging":"accounts_payable_aging",reportDate:b};await tt(W,U,C),Y("Completed"),r.trackAgingReportDownloadClick(A(w),z,L)}o&&I!=="In-Progress"&&(i(!1),Y("In-Progress"),h())},[U,W,l.companyName,I,o,w,j,z,L,Y,b,r,J]),k==="Error")return t.jsxs(nt,{children:[t.jsx(ot,{onClick:g,children:t.jsx(Ne,{})}),t.jsx(rt,{children:et.failed})]});const Se=t.jsxs(t.Fragment,{children:[t.jsx(ve,{isSearchOpen:(j?.length??0)>0,searchPlaceHolder:w==="accounts_payable_aging"?B.apAging.searchPlaceholder:B.arAging.searchPlaceholder,searchText:j??"",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(ke,{title:we,subTitle:be(),backgroundColor:a.colors.grey5,onBackClick:p,rightSideComponent:Se,downloadPresent:!0,style:{marginBottom:K.navbarMarginBottom.valuePx(s)},source:"AgingReportsPage"}),t.jsx(F,{controller:k==="In-Progress"||k==="Not-Started",children:t.jsx(je,{fetchState:k})}),t.jsxs(F,{controller:k==="Completed",children:[t.jsx(F,{controller:j.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(Re,{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,T.defaultFileName),l=await n.arrayBuffer();Ie(l,c)}else console.error(`${T.errorMessages.fileDownloadError.replace("__feature__",s.arAging)} ${n.statusText}`)}catch(n){console.error(`${T.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{cO as Q,eh as Ie,q as _,V as l,aM as P,y as O,o as i,b7 as re,F as B,n as ie,ak as ne,cY as Pe,cf as Ce,c as L,bQ as Se,aG as te,cx as Y,gK as de,fU as R,fR as K,fS as X,fT as ce,fV as pe,aZ as me,gL as Te,p as ue,cV as ge,al as he,cW as Oe,ac as Re}from"./index-
|
|
1
|
+
import{cO as Q,eh as Ie,q as _,V as l,aM as P,y as O,o as i,b7 as re,F as B,n as ie,ak as ne,cY as Pe,cf as Ce,c as L,bQ as Se,aG as te,cx as Y,gK as de,fU as R,fR as K,fS as X,fT as ce,fV as pe,aZ as me,gL as Te,p as ue,cV as ge,al as he,cW as Oe,ac as Re}from"./index-CK2D3iZ1.js";import{n as p}from"./mui-DCr-y2iU.js";import{Fv as ze,bg as J}from"./zeni-epic-state-Cgro3mH-.js";import{a as E}from"./sentry-Dm3bm_ok.js";import{Y as xe}from"./LabeledUserSingleSelectWithSubtitlesField-BusH2qnZ-GKSXWTga.js";import{j as be,C as fe}from"./LabeledZeniRolesDropDownField-DYkmOsOP-Dg0kuJ4H.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]="28f5fba9-fb13-4d7a-b55a-9859c82268ac",e._sentryDebugIdIdentifier="sentry-dbid-28f5fba9-fb13-4d7a-b55a-9859c82268ac")}catch{}})();const Z=(e,t)=>`${e}.${t}`,se={largeLabelWidth:new O(120,120,160),toolTipWidth:new O(215,237)},g=B.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},`),""),M=E.useMemo(()=>te(Y.roles),[]),u=J(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:Z(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(H,{}),o==="off"?l.jsxs(l.Fragment,{children:[l.jsx(be,{label:{label:g.invitePage.role,width:C},style:{width:"auto"},rolesDropDownField:{name:Z(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(e.role),allRootRole:X(m,f)},productsByUserRole:K(e.role,w)},registerOptions:{required:!0}}}),l.jsx(H,{}),l.jsx(xe,{label:{label:g.invitePage.manager,width:C},showTooltip:!0,toolTipWidth:se.toolTipWidth.valuePx(y),tooltipTitle:l.jsx(ke,{}),userSingleSelectWithSubTitlesField:{name:Z(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(H,{}),l.jsx(pe,{label:{label:g.invitePage.department,width:C},singleSelectWithoutClearableField:{name:Z(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:Z(t,"role"),defaultValue:{selectedOptions:e.role,allOptions:M},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=()=>B.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{cO as Q,eh as Ie,q as _,V as l,aM as P,y as O,o as i,b7 as re,F as B,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=B.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=B.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,...M]=w,u=M.map(d=>d.email).join(","),r=E.useMemo(()=>Y.roles.filter(d=>!["admin","bookkeeping_admin"].includes(d.value)),[]),n=J(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(Me,{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:Ve(C("userItems"),F(t,"email"),m,o,S)}),l.jsx(V,{}),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:X(x,v)},productsByUserRole:K(e.role,f)},registerOptions:{required:!0}}}),l.jsx(V,{}),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(V,{}),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(V,{}),U?null:l.jsxs(Ze,{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=()=>B.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))},Me=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{cO as Q,eh as Ie,q as _,V as l,aM as P,y as O,o as i,b7 as re,F as B,n as
|
|
|
92
92
|
`,Ve=(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(Be,{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"})]})},qe=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])},Ge=(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:X(h,w)},productsByUserRole:K([],s)}:void 0,manager:{allUsers:t,selectedUser:void 0},department:{allOptions:o.map(m=>({label:m.className,value:m.classId})),selectedOption:void 0}}),z=B.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])},Ge=(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:X(h,w)},productsByUserRole:K([],s)}:void 0,manager:{allUsers:t,selectedUser:void 0},department:{allOptions:o.map(m=>({label:m.className,value:m.classId})),selectedOption:void 0}}),z=B.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:M,remove:u}=Ie({name:h,control:t}),r=_(),n=N().userItems,d=()=>{const b=n.length-1,T=Ge(b+1,f,U,w,v,y,C);setTimeout(()=>M(T,{shouldFocus:!0}))},j=b=>{a(b)},I=()=>{a(-1)},k=()=>{setTimeout(()=>u(o)),a(-1)};return l.jsxs(Ke,{style:s,windowSize:r,"data-testid":P("user-items"),children:[n.length>0?n.map((b,T)=>{const je=n.length;let q={};if(w==="zeni_only")q={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(G=>ze(G.selectedOption?.value)).filter(G=>G!=null):[],le=A.length>0?J(A):!1;q={email:b.email,role:A,managerId:le?void 0:b.manager?.selectedUser,departmentId:le?void 0:b.department?.selectedOption?.value}}return l.jsxs(Xe,{"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(He,{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(qe,{isDisabled:e,sectionId:`${h}.${T}`,control:t,user:q,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}`})]})]})},He=({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(Je,{"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]:[],Ke=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 R,q as B,F as g,V as o,bL as H,g1 as K,bz as q,cj as J,o as L,aQ as U,bA as V,y as M,cc as W,cd as Z,ce as G,c as
|
|
1
|
+
import{d as R,q as B,F as g,V as o,bL as H,g1 as K,bz as q,cj as J,o as L,aQ as U,bA as V,y as M,cc as W,cd as Z,ce as G,c as f}from"./index-CK2D3iZ1.js";import{a as _}from"./sentry-Dm3bm_ok.js";import{n as i}from"./mui-DCr-y2iU.js";import{W as Q,L as X}from"./EntitySummarySection-0nKZeBKn-BkqQH4-k.js";import"./liveblocks-CofSwFWW.js";import"./core-D2k9JfRf.js";import"./recharts-CIKvFUT6.js";import"./zeni-epic-state-Cgro3mH-.js";import"./lottie-BO8FHl2Q.js";import"./analytics-DCCTWnnc.js";import"./lexical-BEs89iUy.js";import"./utils-CVsOBiWJ.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]="f2666984-c5d9-45d0-b22b-b9e71607a930",e._sentryDebugIdIdentifier="sentry-dbid-f2666984-c5d9-45d0-b22b-b9e71607a930")}catch{}})();const S={wrapperContainerMarginTop:new M(f[4],f[0]),wrapperContaineHorizontalrMargin:new M(f[0],f[8])},ee=i.div`
|
|
2
2
|
height: 100%;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -28,13 +28,13 @@ import{d as R,q as B,F as g,V as o,bL as H,g1 as K,bz as q,cj as J,o as L,aQ as
|
|
|
28
28
|
`,re=i(U)`
|
|
29
29
|
margin-top: ${L.sp3};
|
|
30
30
|
color: ${e=>e.theme.colors.hero};
|
|
31
|
-
`,
|
|
31
|
+
`,ae=i.div`
|
|
32
32
|
display: flex;
|
|
33
33
|
min-height: 100%;
|
|
34
34
|
flex-direction: column;
|
|
35
35
|
width: 100%;
|
|
36
36
|
background-color: ${e=>e.theme.colors.grey5};
|
|
37
|
-
`,
|
|
37
|
+
`,ne=i.div`
|
|
38
38
|
display: block;
|
|
39
39
|
background-color: ${e=>e.theme.colors.grey4};
|
|
40
40
|
height: calc(100vh - 178px);
|
|
@@ -43,4 +43,4 @@ import{d as R,q as B,F as g,V as o,bL as H,g1 as K,bz as q,cj as J,o as L,aQ 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 _e(e){const s=R(),l=B(),h=g.getLocalizedStrings().common,p=g.getLocalizedStrings().reports.common,{apAgingDetail:r,downloadParams:
|
|
46
|
+
`;function _e(e){const s=R(),l=B(),h=g.getLocalizedStrings().common,p=g.getLocalizedStrings().reports.common,{apAgingDetail:r,downloadParams:a,reportDate:t,analytics:d,onReload:w,onBackClick:T,onColumnSortConfigChanged:v,updateDownloadStateHandler:x,onTransactionClick:N}=e,{authParams:C,downloadEndPoint:k,timezone:z}=a,{fetchState:m,invoices:I,apAgingDetailUIState:$,vendor:n,totalBalances:E}=r,{sortKey:D,sortOrder:b,downloadState:y}=$,[j,P]=_.useState(!1),A=g.getLocalizedStrings(),F=A.reports.aging.agingDetail,Y=_.useCallback((c,u)=>{r.vendor!=null&&d.trackApAgingDetailReportSortChange(c,u,t.format(A.dateFormat.analytics.YYYYDashMMDashDDFormat),r.vendor.id,r.vendor.name),v(c,u)},[d,r.vendor,t,v]);if(_.useEffect(()=>{async function c(){const u={companyName:a.companyName,sortKey:D,sortOrder:b,statementFileType:"excel",reportId:"accounts_payable_aging",entityId:n?.id??"",timezone:z,reportDate:t};await se(k,C,u),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,z,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(K,{fetchState:m});const O=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(q,{title:h.strings.empty,backgroundColor:s.colors.grey5,onBackClick:T,rightSideComponent:O,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:I.length===0||n==null?o.jsx(J,{message:F.noDataText}):o.jsx(ee,{windowSize:l,children:o.jsx(X,{uiState:$,invoices:I,entityName:n.name,entityLogo:n.logo,onColumnSortConfigChanged:Y,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=Z(t.headers,a.defaultFileName),w=await t.arrayBuffer();G(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 f,o as r,y as p,p as a,aQ as x,F as g,bn as u,cT as $,dK as b,cS as w}from"./index-
|
|
1
|
+
import{V as t,q as m,L as f,o as r,y as p,p as a,aQ as x,F as g,bn as u,cT as $,dK as b,cS as w}from"./index-CK2D3iZ1.js";import{n as i,k as y}from"./mui-DCr-y2iU.js";import{a as j}from"./sentry-Dm3bm_ok.js";import"./liveblocks-CofSwFWW.js";import"./core-D2k9JfRf.js";import"./recharts-CIKvFUT6.js";import"./zeni-epic-state-Cgro3mH-.js";import"./lottie-BO8FHl2Q.js";import"./analytics-DCCTWnnc.js";import"./lexical-BEs89iUy.js";import"./utils-CVsOBiWJ.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]="e4fb301e-560f-4b87-b338-7facfec58d72",e._sentryDebugIdIdentifier="sentry-dbid-e4fb301e-560f-4b87-b338-7facfec58d72")}catch{}})();const l={maxWidth:new p(280,322),contentMaxWidth:new p(200,250)},k=y`
|
|
2
2
|
0% {
|
|
3
3
|
transform: translateX(100%)
|
|
4
4
|
}
|
package/dist/assets/{AppDrawerContent-59dQVUxu-Bv7_BAFF.js → AppDrawerContent-V7jCH_90-Ck_yeGZ4.js}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import{av as te,R as ae,t as k,bh as se,V as n,bi as oe,bj as le,bk as re,bl as de,a9 as ce,bm as ue,o as t,bn as
|
|
1
|
+
import{av as te,R as ae,t as k,bh as se,V as n,bi as oe,bj as le,bk as re,bl as de,a9 as ce,bm as ue,o as t,bn as pe,aW as b,b3 as f}from"./index-CK2D3iZ1.js";import{a as o,S as be}from"./sentry-Dm3bm_ok.js";import{n as l}from"./mui-DCr-y2iU.js";import{bk as fe}from"./zeni-epic-state-Cgro3mH-.js";import{v as me}from"./DashboardSidebarBackgroundAnimation--y1-phUW-DGEiib0J.js";import"./liveblocks-CofSwFWW.js";import"./core-D2k9JfRf.js";import"./recharts-CIKvFUT6.js";import"./lottie-BO8FHl2Q.js";import"./analytics-DCCTWnnc.js";import"./lexical-BEs89iUy.js";import"./utils-CVsOBiWJ.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]="4f1384aa-1318-4600-900e-89fee59e53b2",e._sentryDebugIdIdentifier="sentry-dbid-4f1384aa-1318-4600-900e-89fee59e53b2")}catch{}})();const he=o.memo(function({animationEnabled:e=!1}){const[i,s]=b("DashboardSidebarBottomNewYear",e),[a,r]=o.useState(null);return o.useEffect(()=>{i!=null&&!s&&r(i)},[i,s]),e&&a!=null?n.jsx(ge,{children:n.jsx(f,{style:{display:"flex",width:"70px",height:"140px"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),ge=l.div`
|
|
2
2
|
position: absolute;
|
|
3
3
|
z-index: 0;
|
|
4
4
|
bottom: -${t.sp3};
|
|
5
5
|
display: flex;
|
|
6
6
|
height: auto;
|
|
7
7
|
right: ${t.sp0};
|
|
8
|
-
`,xe=o.memo(function({animationEnabled:e=!1}){const[i,s]=
|
|
8
|
+
`,xe=o.memo(function({animationEnabled:e=!1}){const[i,s]=b("DashboardSidebarBottomChristmas",e),[a,r]=o.useState(null);return o.useEffect(()=>{i!=null&&!s&&r(i)},[i,s]),e&&a!=null?n.jsx(Ee,{children:n.jsx(f,{style:{display:"flex",width:"240px",height:"98px"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),Ee=l.div`
|
|
9
9
|
position: absolute;
|
|
10
10
|
z-index: 0;
|
|
11
11
|
bottom: ${t.sp0};
|
|
@@ -13,7 +13,7 @@ import{av as te,R as ae,t as k,bh as se,V as n,bi as oe,bj as le,bk as re,bl as
|
|
|
13
13
|
height: auto;
|
|
14
14
|
right: ${t.sp0};
|
|
15
15
|
width: 100%;
|
|
16
|
-
`,ye=o.memo(function({animationEnabled:e=!1}){const[i,s]=
|
|
16
|
+
`,ye=o.memo(function({animationEnabled:e=!1}){const[i,s]=b("DashboardSidebarBottomHalloween",e),[a,r]=o.useState(null);return i!=null&&a==null&&!s&&r(i),e&&a!=null?n.jsx(we,{children:n.jsx(f,{style:{display:"flex",width:"60px",height:"60px",marginLeft:"20%",marginTop:"10%"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),we=l.div`
|
|
17
17
|
position: absolute;
|
|
18
18
|
z-index: 0;
|
|
19
19
|
width: 100%;
|
|
@@ -25,7 +25,7 @@ import{av as te,R as ae,t as k,bh as se,V as n,bi as oe,bj as le,bk as re,bl as
|
|
|
25
25
|
background-repeat: no-repeat;
|
|
26
26
|
background-position-y: bottom;
|
|
27
27
|
left: 0;
|
|
28
|
-
`,Ce=o.memo(function({animationEnabled:e=!1}){const[i,s]=
|
|
28
|
+
`,Ce=o.memo(function({animationEnabled:e=!1}){const[i,s]=b("DashboardSidebarBottomThanksgiving",e),[a,r]=o.useState(null);return o.useEffect(()=>{i!=null&&!s&&r(i)},[i,s]),e&&a!=null?n.jsx(Se,{children:n.jsx(f,{style:{display:"flex",width:"100px",height:"100px",marginLeft:"45%"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),Se=l.div`
|
|
29
29
|
position: absolute;
|
|
30
30
|
z-index: 0;
|
|
31
31
|
bottom: ${t.sp0};
|
|
@@ -82,10 +82,10 @@ import{av as te,R as ae,t as k,bh as se,V as n,bi as oe,bj as le,bk as re,bl as
|
|
|
82
82
|
color: ${e=>e.theme.colors.primary};
|
|
83
83
|
}
|
|
84
84
|
z-index: 1;
|
|
85
|
-
`,Te=l(
|
|
85
|
+
`,Te=l(pe)`
|
|
86
86
|
display: flex;
|
|
87
87
|
width: ${t.sp4};
|
|
88
88
|
height: ${t.sp4};
|
|
89
89
|
align-items: center;
|
|
90
90
|
justify-content: center;
|
|
91
|
-
`;function Oe({currentTenantId:e,tenants:i,isVendorsTabVisible:s,isZeniAccountEnabled:a,isTreasuryEnabled:r,isTreasuryPopupVisible:j,isChargeCardEnabled:$,rewardsConfiguration:D,selectedMenu:T,isTenantDropdownDisabled:I,isSettings:c=!1,isAiCfo:V=!1,isOnDashboard:F,isAiCfoAccessEnabled:M,isNotificationsTabVisible:Y,isSettingsFeatureEnabled:x,signedInUser:m,aiCfoView:z,currentTenant:E,christmasAnimationEnabled:h=!1,halloweenAnimationEnabled:y=!1,newYearAnimationEnabled:w=!1,thanksGivingAnimationEnabled:C=!1,notificationCountDetails:u,isExpenseAutomationEnabledForUser:P,treasuryYieldPercentage:R,onNotificationIconClick:L,handleLogOutClick:N,handleMenuChange:U,onZeniLogoClick:B,handlePopupClose:O,handleBackClick:S,handleCockpitClick:_,handleTenantSelect:G,updateCurrentChatSessionId:H,handleSettingsClick:v}){const[d,Z]=o.useState(c&&x),g=
|
|
91
|
+
`;function Oe({currentTenantId:e,tenants:i,isVendorsTabVisible:s,isZeniAccountEnabled:a,isTreasuryEnabled:r,isTreasuryPopupVisible:j,isChargeCardEnabled:$,rewardsConfiguration:D,selectedMenu:T,isTenantDropdownDisabled:I,isSettings:c=!1,isAiCfo:V=!1,isOnDashboard:F,isAiCfoAccessEnabled:M,isNotificationsTabVisible:Y,isSettingsFeatureEnabled:x,signedInUser:m,aiCfoView:z,currentTenant:E,christmasAnimationEnabled:h=!1,halloweenAnimationEnabled:y=!1,newYearAnimationEnabled:w=!1,thanksGivingAnimationEnabled:C=!1,notificationCountDetails:u,isExpenseAutomationEnabledForUser:P,treasuryYieldPercentage:R,onNotificationIconClick:L,handleLogOutClick:N,handleMenuChange:U,onZeniLogoClick:B,handlePopupClose:O,handleBackClick:S,handleCockpitClick:_,handleTenantSelect:G,updateCurrentChatSessionId:H,handleSettingsClick:v}){const[d,Z]=o.useState(c&&x),g=be.useRef("noAnimation"),Q=fe(m),J=te(),{useFeatureGate:A}=ae(),{isFeatureEnabled:W}=A(k.isReimbursementCommentingEnabled),{isFeatureEnabled:q}=A(k.isBillPayCommentingEnabled),K=se(),X=()=>{g.current="slide-in-right-to-left",v&&v()},ee=()=>{g.current="slide-in-left-to-right",d&&S&&S()};o.useEffect(()=>{c!==d&&Z(c)},[c,d]);const p=u?.fetchStatus.fetchState==="Not-Started"||u?.fetchStatus.fetchState==="In-Progress",ne=g.current,ie=Q||W&&q&&!J.loggedInUserRole.includes("investor_or_banker");return n.jsxs(Ae,{isOnDashboard:F,children:[n.jsxs(ke,{children:[n.jsx(oe,{onClick:B,halloweenAnimationEnabled:y,thanksGivingAnimationEnabled:C,christmasAnimationEnabled:h,newYearAnimationEnabled:w}),n.jsx(le,{currentTenantId:e??"",tenants:i,isDisabled:I,onTenantSelect:G})]}),n.jsx(je,{children:n.jsx(re,{className:ne,signedInUser:m,selectedMenu:T,currentTenant:E,isVendorsTabVisible:s,rewardsConfiguration:D,isSetting:d,isAiCfo:V,isAiCfoAccessEnabled:M,aiCfoView:z,isZeniAccountEnabled:a,isTreasuryEnabled:r,isTreasuryPopupVisible:j,treasuryYieldPercentage:R,isChargeCardEnabled:$,isNotificationsTabVisible:Y,isPerformanceEnabledForUser:K,isExpenseAutomationEnabledForUser:P,onSelectionChanged:U,updateCurrentChatSessionId:H,onBackClick:ee,onPopupClose:O})}),n.jsx(me,{christmasAnimationEnabled:h}),n.jsxs($e,{children:[n.jsx(de,{signedInUser:m,onLogOutClick:N,onSettingsClick:X,onCockpitClick:_,currentTenant:E,isSettingsFeatureEnabled:x}),ie?n.jsx(ce,{controller:u!=null,children:n.jsxs(De,{isDisabled:p,onClick:p?void 0:L,children:[n.jsx(ue,{count:p?void 0:u?.count,type:"important",isLoading:p,style:{left:"12px"}}),n.jsx(Te,{})]})}):null]}),n.jsx(ve,{halloweenAnimationEnabled:y,thanksGivingAnimationEnabled:C,christmasAnimationEnabled:h,newYearAnimationEnabled:w})]},d.toString())}export{Oe as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as F,q as U,av as V,F as p,aS as x,V as t,bz as E,m as G,fp as b,dC as S,y as d,o as k,al as J,b as j,c as o}from"./index-
|
|
1
|
+
import{d as F,q as U,av as V,F as p,aS as x,V as t,bz as E,m as G,fp as b,dC as S,y as d,o as k,al as J,b as j,c as o}from"./index-CK2D3iZ1.js";import{n as l}from"./mui-DCr-y2iU.js";import{Fs as N,Ft as q}from"./zeni-epic-state-Cgro3mH-.js";import"./sentry-Dm3bm_ok.js";import"./liveblocks-CofSwFWW.js";import"./core-D2k9JfRf.js";import"./recharts-CIKvFUT6.js";import"./lottie-BO8FHl2Q.js";import"./analytics-DCCTWnnc.js";import"./lexical-BEs89iUy.js";import"./utils-CVsOBiWJ.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]="d5479375-29f9-42be-9141-189934579520",e._sentryDebugIdIdentifier="sentry-dbid-d5479375-29f9-42be-9141-189934579520")}catch{}})();const n={sectionRowGap:new d(o[4],o[8],o[8]),lastSectionPaddingBottom:new d(o[7],o[10],o[10]),iconWidthHeight:new d(20,o[4]),subtitleSectionWidth:new d(343,580,1200)},ue=({billpayApprovalView:e,remiApproverView:a,currentTenant:c,onBackClick:R,onClickMenuIcon:P,onSetupApprovalRulesBillPaySectionClick:I,onSetupApprovalRulesRemiSectionClick:z})=>{const r=F(),i=U(),u=V(),{fetchState:g,allApprovalRules:m,approvalRulesStatus:T}=e,{fetchState:h,allApprovalRules:f,approvalRulesStatus:C}=a,{commonSetUp:A,spendManagement:$}=p.getLocalizedStrings(),w=p.getLocalizedStrings().common.settings,y=p.getLocalizedStrings().common.headers,{billPay:B,reimbursement:M}=$,{billPaySetup:L}=B,{reimbursementSetup:W}=M,{setUp:s}=A,_=g==="In-Progress"||h==="In-Progress"||g==="Not-Started"||h==="Not-Started",v=r.mode==="light"?new x(r.colors.brandColorJadeLight):new x(r.colors.brandColorJadeDark),D=N(c,u.loggedInUserRoleMap),H=q(c,u.loggedInUserRoleMap);return t.jsxs(Q,{children:[t.jsx(E,{source:"ApprovalRulesSettingsPage",title:w.title.approvalRules,backgroundColor:r.colors.grey4,style:{zIndex:3},onBackClick:R,showBackButton:!1,showMenuIcon:i==="medium-compact"||i==="small",onClickMenuIcon:P}),t.jsx(X,{windowSize:i,children:_?t.jsx(Y,{children:t.jsx(G,{size:"ExtraLarge",start:!0})}):t.jsxs(O,{children:[t.jsx(K,{windowSize:i,children:t.jsx(ee,{windowSize:i,children:w.infoText.approvalRules})}),t.jsxs(Z,{windowSize:i,children:[D===!0&&t.jsx(b,{title:m.length>0?s.approvalTitle:s.createApprovalTitle,subTitle:L.approvalSubTitle,header:y.bills,icon:{element:t.jsx(S,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:v},onClick:I,status:m.length>0?T:void 0}),H===!0&&t.jsx(b,{title:f.length>0?s.approvalTitle:s.createApprovalTitle,subTitle:W.approvalSubTitle,header:y.reimbursements,icon:{element:t.jsx(S,{height:n.iconWidthHeight.valuePx(i)}),color:v},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},onClick:z,status:f.length>0?C:void 0})]})]})})]})},O=l.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
margin: auto;
|
|
4
4
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as i,F as
|
|
1
|
+
import{V as i,F as p,d6 as k,d as z,b1 as T,c as S,b as w,aV as N,d7 as P,d8 as I,p as h,o as x,ak as q}from"./index-CK2D3iZ1.js";import{a as C,S as H}from"./sentry-Dm3bm_ok.js";import{n as j}from"./mui-DCr-y2iU.js";import{l as v,_ as K,h as V,m as J,u as L}from"./chartTypes-PZyiFZrr-DoI-jL6q.js";import{bm as D,Fc as B}from"./zeni-epic-state-Cgro3mH-.js";import{N as R,I as A,X as W,Y as G,J as _,K as F}from"./recharts-CIKvFUT6.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]="5a7379f1-1d13-48f6-9814-f89f3798f565",e._sentryDebugIdIdentifier="sentry-dbid-5a7379f1-1d13-48f6-9814-f89f3798f565")}catch{}})();const Q=j.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
`,U=j.div`
|
|
4
4
|
flex: display;
|
|
@@ -15,10 +15,10 @@ import{V as i,F as f,d6 as k,d as z,b1 as T,c as S,b as w,aV as N,d7 as P,d8 as
|
|
|
15
15
|
width: 100%;
|
|
16
16
|
height: 1px;
|
|
17
17
|
background-color: ${h.neutralGrey3Dark};
|
|
18
|
-
`,ee=({active:e,payload:o,barName:r})=>{const t=[];if(o!=null&&e===!0){const n=o.filter(m=>m.name==r)[0],c=n.payload,u=n.color,s=r!=null&&c.record[r]!=null?c.record[r].amount:void 0,d={amount:0,currencyCode:"",currencySymbol:""};let l;for(l in c.record){const m=c.record[l].amount;d.amount+=c.record[l].amount?.amount??0,d.currencyCode=m!=null?m.currencyCode:d.currencyCode,d.currencySymbol=m!=null?m.currencySymbol:d.currencySymbol}const a=J(r);t.push({barName:a,actual:s,color:u}),t.push({barName:
|
|
18
|
+
`,ee=({active:e,payload:o,barName:r})=>{const t=[];if(o!=null&&e===!0){const n=o.filter(m=>m.name==r)[0],c=n.payload,u=n.color,s=r!=null&&c.record[r]!=null?c.record[r].amount:void 0,d={amount:0,currencyCode:"",currencySymbol:""};let l;for(l in c.record){const m=c.record[l].amount;d.amount+=c.record[l].amount?.amount??0,d.currencyCode=m!=null?m.currencyCode:d.currencyCode,d.currencySymbol=m!=null?m.currencySymbol:d.currencySymbol}const a=J(r);t.push({barName:a,actual:s,color:u}),t.push({barName:p.getLocalizedStrings().chartCard.total,actual:d,color:h.brandColorPearl})}return t},re=({barLabelsWithValues:e})=>i.jsx(Q,{children:i.jsxs(U,{children:[i.jsx(E,{color:e[0].color,children:`${e[0].barName}: ${L(e[0].actual)}`}),i.jsx(Z,{}),i.jsx(E,{children:`${p.getLocalizedStrings().chartCard.total}: ${L(e[1].actual)}`})]})}),te=e=>{const o=ee({...e});return o.length===0?null:i.jsx(re,{barLabelsWithValues:o})},M=H.memo(te),Y=5;function oe(e){const o=P(e,(r,t)=>[r.amount?.amount??0,t]);return o.sort((r,t)=>t[0]-r[0]),o.slice(0,Y-1).reduce((r,t)=>({...r,[t[1]]:!0}),{})}function O(e){const o=[];for(const r in e)o.push(r);return o.sort((r,t)=>(e[t].amount?.amount??0)-(e[r].amount?.amount??0)),o}const ae=e=>{const o=e.agingPeriods.map(t=>p.getLocalizedStrings().reports.aging.duration[t]),r=[];return{recordByDurations:e.agingPeriods.map(t=>{const n={};e.agingBalances.forEach(s=>{const d=v(s.vendor?.name??"",t);n[d]={amount:s.apAgingBalances.find(l=>l.period===t)?.balance}});const c=p.getLocalizedStrings().reports.aging.duration[t];if(Object.keys(n).length>Y){const s=oe(n),d=k(n,(b,y)=>s[y]===!0),l=k(n,(b,y)=>s[y]!==!0),a=Object.keys(l).reduce((b,y)=>b+(l[y].amount?.amount??0),0),m=Object.keys(l)[0],g=v("Other",t);d[g]={...l[m],amount:{amount:a,currencyCode:l[m].amount?.currencyCode??D.currencyCode,currencySymbol:l[m].amount?.currencySymbol??D.currencySymbol}};const f=O(d);return r.push(...f),{label:c,record:d}}const u=O(n);return r.push(...u),{label:c,record:n}}),durationLabels:o,orderedKeys:Array.from(r)}},ne=j.div`
|
|
19
19
|
width: ${e=>e.width}px;
|
|
20
20
|
height: ${e=>e.height}px;
|
|
21
|
-
`,se=({active:e,payload:o,mouseOverBarName:r})=>o?.find(t=>t.name===r)!=null&&r!=null&&e===!0?i.jsx(M,{active:e,payload:o,barName:r}):null;function je({report:e,width:o,height:r,isDetailPage:t}){const n=C.useRef(!1),[c,u]=C.useState(void 0);C.useEffect(()=>{n.current=!0},[]);const s=ae(e),d=()=>{const a=[];return s?.orderedKeys.forEach(m=>{const g=t===!0&&!n.current;a.push(l(m,g))}),a},l=(a,m)=>i.jsx(F,{name:a,animationDuration:m?500:void 0,style:{cursor:"pointer"},dataKey:g=>{const
|
|
21
|
+
`,se=({active:e,payload:o,mouseOverBarName:r})=>o?.find(t=>t.name===r)!=null&&r!=null&&e===!0?i.jsx(M,{active:e,payload:o,barName:r}):null;function je({report:e,width:o,height:r,isDetailPage:t}){const n=C.useRef(!1),[c,u]=C.useState(void 0);C.useEffect(()=>{n.current=!0},[]);const s=ae(e),d=()=>{const a=[];return s?.orderedKeys.forEach(m=>{const g=t===!0&&!n.current;a.push(l(m,g))}),a},l=(a,m)=>i.jsx(F,{name:a,animationDuration:m?500:void 0,style:{cursor:"pointer"},dataKey:g=>{const f=g.record;return(f[a]?.amount!=null?f[a].amount:void 0)?.amount??0},stackId:"a",fill:le(a,s),onMouseEnter:()=>{c!==a&&u(a)},onMouseLeave:()=>{c!=null&&u(void 0)}},a);return s==null?null:i.jsx(ce,{chartData:s,barElements:d(),width:o,height:r,isDetailPage:t===!0,customToolTipContent:i.jsx(se,{mouseOverBarName:c})})}const ce=({chartData:e,barElements:o,customToolTipContent:r,width:t,height:n,isDetailPage:c})=>{const u=z(),s=K(e);return i.jsx(ne,{width:t,height:n,children:i.jsx(T,{children:({height:d,width:l})=>i.jsxs(R,{width:l,height:d,stackOffset:"sign",data:e.recordByDurations,barCategoryGap:"25%",maxBarSize:c?S[8]:S[3],margin:{top:5,right:20,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},children:[i.jsx(A,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:u.colors.grey3}),i.jsx(W,{dataKey:a=>a.label,type:"category",axisLine:{stroke:u.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:u.colors.hero,...w.extraSmallRegular.cssObject}}),i.jsx(G,{type:"number",axisLine:!1,tickLine:!1,tick:{color:u.colors.hero,...w.extraSmallRegular.cssObject},tickFormatter:a=>N("0,0.[00]a",a,s)}),i.jsx(_,{wrapperStyle:{zIndex:2},cursor:!1,content:r,allowEscapeViewBox:{x:!1,y:!0}}),o]})})})};function le(e,o){const r=V(e),t=p.getLocalizedStrings().reports.aging.duration[r],n=o?.recordByDurations.find(c=>c.label===t)?.record;if(n?.[e]!=null){const c=n[e].amount?.amount??0;let u=1;switch(I(n,s=>{(s.amount?.amount??0)>c&&u++}),u){case 1:return h.graphColor24;case 2:return h.graphColor33;case 3:return h.graphColor18;case 4:return h.graphColor12;case 5:return h.graphColor01;default:return h.graphColor01}}return h.graphColor01}const X=5;function ie(e){const o=P(e,(r,t)=>[r.amount?.amount??0,t]);return o.sort((r,t)=>t[0]-r[0]),o.slice(0,X-1).reduce((r,t)=>({...r,[t[1]]:!0}),{})}function $(e){const o=[];for(const r in e)o.push(r);return o.sort((r,t)=>(e[t].amount?.amount??0)-(e[r].amount?.amount??0)),o}const ue=e=>{const o=e.agingPeriods.map(t=>p.getLocalizedStrings().reports.aging.duration[t]),r=[];return{recordByDurations:e.agingPeriods.map(t=>{const n={};e.agingBalances.forEach(s=>{const d=v(s.customer?.name??"",t),l=s.arAgingBalances.find(a=>a.period===t);n[d]={amount:s.children.length>0?l?.totalBalance:l?.balance}});const c=p.getLocalizedStrings().reports.aging.duration[t];if(Object.keys(n).length>X){const s=ie(n),d=k(n,(b,y)=>s[y]===!0),l=k(n,(b,y)=>s[y]!==!0),a=Object.keys(l).reduce((b,y)=>b+(l[y].amount?.amount??0),0),m=Object.keys(l)[0],g=v("Other",t);d[g]={...l[m],amount:{amount:a,currencyCode:l[m].amount?.currencyCode??B.currencyCode,currencySymbol:l[m].amount?.currencySymbol??B.currencySymbol}};const f=$(d);return r.push(...f),{label:c,record:d}}const u=$(n);return r.push(...u),{label:c,record:n}}),durationLabels:o,orderedKeys:Array.from(r)}},de=j.div`
|
|
22
22
|
width: ${e=>e.width}px;
|
|
23
23
|
height: ${e=>e.height}px;
|
|
24
|
-
`,me=({active:e,payload:o,mouseOverBarName:r})=>o?.find(t=>t.name===r)!=null&&r!=null&&e===!0?i.jsx(M,{active:e,payload:o,barName:r}):null;function ke({report:e,width:o,height:r,isDetailPage:t}){const n=C.useRef(!1),[c,u]=C.useState(void 0);C.useEffect(()=>{n.current=!0},[]);const s=ue(e),d=()=>{const a=[];return s?.orderedKeys.forEach(m=>{const g=t===!0&&!n.current;a.push(l(m,g))}),a},l=(a,m)=>i.jsx(F,{name:a,animationDuration:m?500:void 0,style:{cursor:"pointer"},dataKey:g=>{const
|
|
24
|
+
`,me=({active:e,payload:o,mouseOverBarName:r})=>o?.find(t=>t.name===r)!=null&&r!=null&&e===!0?i.jsx(M,{active:e,payload:o,barName:r}):null;function ke({report:e,width:o,height:r,isDetailPage:t}){const n=C.useRef(!1),[c,u]=C.useState(void 0);C.useEffect(()=>{n.current=!0},[]);const s=ue(e),d=()=>{const a=[];return s?.orderedKeys.forEach(m=>{const g=t===!0&&!n.current;a.push(l(m,g))}),a},l=(a,m)=>i.jsx(F,{name:a,animationDuration:m?500:void 0,style:{cursor:"pointer"},dataKey:g=>{const f=g.record;return(f[a]?.amount!=null?f[a].amount:void 0)?.amount??0},stackId:"a",fill:ge(a,s),onMouseEnter:()=>{c!==a&&u(a)},onMouseLeave:()=>{c!=null&&u(void 0)}},a);return s==null?null:i.jsx(he,{chartData:s,barElements:d(),width:o,height:r,isDetailPage:t===!0,customToolTipContent:i.jsx(me,{mouseOverBarName:c})})}const he=({chartData:e,barElements:o,customToolTipContent:r,width:t,height:n,isDetailPage:c})=>{const u=z(),s=K(e);return i.jsx(de,{width:t,height:n,children:i.jsx(T,{children:({height:d,width:l})=>i.jsxs(R,{width:l,height:d,stackOffset:"sign",data:e.recordByDurations,barCategoryGap:"25%",maxBarSize:c?S[8]:S[3],margin:{top:5,right:20,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},children:[i.jsx(A,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:u.colors.grey3}),i.jsx(W,{dataKey:a=>a.label,type:"category",axisLine:{stroke:u.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:u.colors.hero,...w.extraSmallRegular.cssObject}}),i.jsx(G,{type:"number",axisLine:!1,tickLine:!1,tick:{color:u.colors.hero,...w.extraSmallRegular.cssObject},tickFormatter:a=>N("0,0.[00]a",a,s)}),i.jsx(_,{wrapperStyle:{zIndex:2},cursor:!1,content:r,allowEscapeViewBox:{x:!1,y:!0}}),o]})})})};function ge(e,o){const r=V(e),t=p.getLocalizedStrings().reports.aging.duration[r],n=o?.recordByDurations.find(c=>c.label===t)?.record;if(n?.[e]!=null){const c=n[e].amount?.amount??0;let u=1;switch(I(n,s=>{(s.amount?.amount??0)>c&&u++}),u){case 1:return h.graphColor24;case 2:return h.graphColor33;case 3:return h.graphColor18;case 4:return h.graphColor12;case 5:return h.graphColor01;default:return h.graphColor01}}return h.graphColor01}export{je as L,ke as k};
|