@zeniai/web-cockpit-ui 1.15.1-prod → 1.15.2-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-CUzXxtOD-V_bV4SFc.js → ACHDetailsPage-DQqbcrtQ-B9LICqOv.js} +1 -1
- package/dist/assets/{AIPerformancePage-O2oT7VD7-BKL1TmfF.js → AIPerformancePage-C-s0Z84w-BYGvT60Q.js} +1 -1
- package/dist/assets/AccountInfoPage-EW5OCEW3-GkK4AQqU.js +18 -0
- package/dist/assets/{AccountInfoPageContent-Dm4_RVtp-Dq9CxLRy.js → AccountInfoPageContent-DRhE__FT-CsEJAa7X.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-4gi6evfx-CXNzPS2w.js → AccountLockedInfoModal-Ck5k4sN0-Dn2ELr-O.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-Cm4KEIyT-B7m_AiW6.js → AccountReconDetailsDrawerPage-CinniH8P-CbXjxNie.js} +1 -1
- package/dist/assets/{AccountRow-B16HgkVQ-ClDcgMzh.js → AccountRow-DqfBv7EN-CVLrdkv9.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-D5OgsEYb-9clzTay1.js → AccountsPromoCardStack-ClhDPo8Z-BPar240b.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-Cw6wTXEm-BDpvFKbm.js → AddAddressForCardDrawer-Bp7X9u3M-D2uHyvbm.js} +1 -1
- package/dist/assets/{AddToWalletPage-vXWBje7k-DoLwCC6X.js → AddToWalletPage-BUltXgk9-hU_WmIiG.js} +1 -1
- package/dist/assets/{AgingReportsPage-CmzapJ6B-BE_Ds6Z2.js → AgingReportsPage-C1CpbCow-DhSWr9lB.js} +3 -3
- package/dist/assets/{AllUserItems-CW-BAUK2-hoj4tLGJ.js → AllUserItems-CpiUni9v-Boqk4BWu.js} +3 -3
- package/dist/assets/{ApAgingDetailPage-DBCM7hZZ-BPIA5643.js → ApAgingDetailPage-ByNn2ALz-D3dR7MXD.js} +4 -4
- package/dist/assets/{AppBasePage-B3uZsUDM-Cs3uh4ur.js → AppBasePage-DmW3KQcg-Bl07bdsR.js} +1 -1
- package/dist/assets/{AppDrawerContent-D4EVpqHP-BmaUeIR8.js → AppDrawerContent-B1y_D31O-P0fNyfka.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-DTLJUdYp-DcI0ASDo.js → ApprovalRulesSettingsPage-GxAZWP7M-BP_FJfEx.js} +1 -1
- package/dist/assets/{ArAgingChart-BJ8nRdT6-CuRs_945.js → ArAgingChart-BNoQoaPh-DNxFLSB2.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-hd2ALORD-DELMkSep.js → ArAgingDetailPage-CMcAarbW-BT--B2mj.js} +1 -1
- package/dist/assets/{AttachmentView-2FZ6X1gL-Bo3cGru1.js → AttachmentView-BixDE2EA-J3_uk8mF.js} +1 -1
- package/dist/assets/{BankAccountSection-BbX4r1dP-CYCrCAiv.js → BankAccountSection-D85EMzvD-DIqhMGkU.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-CqlrCLSb-BsA3MVqD.js → BankAccountWarningSection--CI3tctJ-C44mqvnE.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-DLeiSryp-LKiKWBEh.js → BankConnectionsSettingsPage-BAPo9xu--DD1SOuD8.js} +1 -1
- package/dist/assets/{BillDetailPage-l0WIOXCJ-KfjWgbPw.js → BillDetailPage-DdJoziKf-DOO0wKpM.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-BOMCy57E-ZzRdg4uB.js → BillPayApprovalRuleDetailPage-CdoDPSYo-DEqRvex-.js} +3 -3
- package/dist/assets/{BillPayApprovalRulesPage-D_iQkfQr-BTPO2mI7.js → BillPayApprovalRulesPage-Cfo4L2hk-TOZxMiU9.js} +1 -1
- package/dist/assets/{BillPayPromoPage-Dsl0YvUE-BKJrHEOH.js → BillPayPromoPage-cK5O7lqH-B_je_xFj.js} +10 -10
- package/dist/assets/{BillPaySetUpPage-MLf77bPI-1mudvhC5.js → BillPaySetUpPage-BuF8vy9q-CJSI2jfR.js} +1 -1
- package/dist/assets/{BillingSettingsPage-n1PkJEDe--6W1GjK4.js → BillingSettingsPage-B_l_z9VO-Br55h4q7.js} +8 -8
- package/dist/assets/{BillsBulkReviewDrawerPage-C_4lLm2g-BFkhHF4S.js → BillsBulkReviewDrawerPage-CoKwrfed-giDGO955.js} +1 -1
- package/dist/assets/{BoxItem-CZdVWyVJ-BwHstCqr.js → BoxItem-CWj-NRo_-qWLA6cc4.js} +5 -5
- package/dist/assets/{BusinessVerificationPage-DKTSnhnQ-Co2FF9Pl.js → BusinessVerificationPage-Jl0yhiLd-BRJluTOf.js} +1 -1
- package/dist/assets/{CardNumberSubText-BhtdU0IQ-D5kcsHQV.js → CardNumberSubText-CYyCmwah-DIXC0dk2.js} +1 -1
- package/dist/assets/{CashbackDetailPage-BL-JN6N2-UKWik4sT.js → CashbackDetailPage-VVXYftFo-CP-xT4sk.js} +8 -8
- package/dist/assets/{ChargeCardDetailPage-DeUmuiMY-CEzre7F1.js → ChargeCardDetailPage-C-KKQCQP-CDsGHd2y.js} +1 -1
- package/dist/assets/ChargeCardListPage--SIQ7a3u-BopXL17p.js +412 -0
- package/dist/assets/{ChargeCardListTable-BwYAxG4d-kmoKqTGC.js → ChargeCardListTable-ddk5IppO-B_rZZ45Z.js} +1 -1
- package/dist/assets/ChargeCardPaymentHistoryPage-mA_IVVFy-De_KyAuK.js +565 -0
- package/dist/assets/{ChargeCardPromoPage-TkHihj_n-DVkprPxa.js → ChargeCardPromoPage-BCb2xl-m-CfbIoe1r.js} +10 -10
- package/dist/assets/{ChargeCardSetupPage-CkonrAnT-D7WlKP13.js → ChargeCardSetupPage-DAVM2czH-Pi7tegHv.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-DVgAcNNC-BD6pYrsH.js → ChargeCardStatementsPage-Cgl7DfV2-Cqo1fBhQ.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-DV7strdp-Cp__1jm5.js → CheckDepositDrawerPage-DIDXNWS--Cnev0zYl.js} +1 -1
- package/dist/assets/{CollapsableReportTable-BS7TgK8B-Bop-QYyt.js → CollapsableReportTable-BnxJMwQF-sE8ho7Bl.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-BotE5oj4-DDsuIvG0.js → CompanyOfficerDetailsSection-CtFvma7e-DKMEm1xs.js} +1 -1
- package/dist/assets/{CompanyPassportCard-Bx4KhQfs-Bo21JTQt.js → CompanyPassportCard-If9-KFRF-DWX3A4lo.js} +3 -3
- package/dist/assets/{CompanyPassportPage-i1SEs7VJ-pD0FkN2y.js → CompanyPassportPage-ByLL4IdN-BVFVShE9.js} +1 -1
- package/dist/assets/{CompleteProfile-DWOv7odD-B1ZO6Su7.js → CompleteProfile-D39MG_aE-C5u-dTqB.js} +1 -1
- package/dist/assets/{ConfettiBurst-D52CuNQL-BcqOP8Ip.js → ConfettiBurst-CqS9iRS--Clgy60xQ.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-9LgI-Wd0-BZbvNDOG.js → CreateOrEditVendorPage-C0lTJ9RB-Cwb-zv64.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-wHK6Ds5I-Bjh9lhVj.js → CreditCardPaymentDrawerPage-BMlE0JgE-DeTZZwZo.js} +8 -8
- package/dist/assets/{CurrencySelectField-CbGyQ8Yq-VYgv2-uq.js → CurrencySelectField-Cqh1PAAW-DaE_m5-s.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-LNgj0BYj-Dt2ZG4id.js → CustomerOnboardingActivationPage-CExJcqXe-BlQ8Hnnh.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-E5XX6tJL-B1DciOQG.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BF484X8E-Uy54XPHP.js → CustomerOnboardingDetailPageSkeleton-zHDAnR9J-BZlMZUQL.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-Dri4v3Rf-IZ0-mVHe.js → CustomerOnboardingNoStepsPage-CgblGoOL-2kYU64HC.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-BkdhcwN8-DagjdQto.js → CustomerOnboardingPage-DSGfwtw5-CUzPpcHS.js} +1 -1
- package/dist/assets/CustomerOnboardingProductSuitePage-C2YlsXt9-CBk-1EVP.js +202 -0
- package/dist/assets/{Dashboard-w2AGQi2P-CBIZbSqe.js → Dashboard-C52yIGy8-D_GGvRLH.js} +55 -55
- package/dist/assets/{DashboardReportPage-NzF6nutN-SfPjb-sF.js → DashboardReportPage-iZVhpQQc-DByWtkdh.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-vcuSFRHQ-DpyG8_Zk.js → DashboardSidebarBackgroundAnimation-mksYvmzi-DAtUhXcm.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-SRWW7dWo-Dm378Qgz.js → DepositAccTransactionItem-Ct9UKq01-C2WRTlRZ.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-BSq-FxKT-XWGw1rZ4.js → DepositAccTransactionListPage-Q-rYYEAZ-C6qRSxdm.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-Daor0MDI-B9y9cvQO.js → DomesticWireDetailsPage-D8MlbitH-BEovw2fI.js} +1 -1
- package/dist/assets/{DownloadOverlay-DkSROLX2-bsujq_Zv.js → DownloadOverlay-DooSRB2s-DAeh2FOz.js} +1 -1
- package/dist/assets/{DrawerPage-BnMCcEWw-DGj7bf10.js → DrawerPage-COB3hDS_-DpI_yrey.js} +1 -1
- package/dist/assets/{EditPeoplePage-Ld339aav-CxjL3Bfp.js → EditPeoplePage-BLRAgjPa-CqDqNG8l.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-BaMG1YJG-DUQB0APQ.js → EditReimbursementDetailPage-D1d8qzXB-Cwm7cODK.js} +1 -1
- package/dist/assets/EntityDetailPage-BDqbedFw-BHuM8vRM.js +18 -0
- package/dist/assets/{EntitySummarySection-Bs0NywbK-CAMSb0Y7.js → EntitySummarySection-DOkXIw-J-Dyl-9BSn.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-B_-wUXCx-tBZJBgkC.js → ExpenseAutomationOverviewPage-BSXCkfKT-Y-OTywuE.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-CG1Hpwz8-DZNKioPo.js → ExpenseAutomationPage-Di3n8DMk-z_MvYY9W.js} +1 -1
- package/dist/assets/{ExpressPayPage-CEf0O3S_-BhT2pP80.js → ExpressPayPage-B-SwvM4I-BKQhbtfT.js} +8 -8
- package/dist/assets/{FeaturePreviewPage-7G9DSgAA-Cb3Ygpc1.js → FeaturePreviewPage-Dz42ojYl-B74tPXRR.js} +1 -1
- package/dist/assets/{FollowStepsSection-CoXcJ6WL-BKV9u46u.js → FollowStepsSection-BS4M36H4-ByiTPZLh.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-BSfJybtY-BZrARRRe.js → GlobalReviewListPage-C1Tn5Cwx-AFNHh-gi.js} +1 -1
- package/dist/assets/{InformationCardStack-DnoAMdjH-DQOQw_vk.js → InformationCardStack-DTWUPxhs-BcQ7Bq1r.js} +1 -1
- package/dist/assets/{InsightsCardStack-BLtip0dt-C5mcsmng.js → InsightsCardStack-CklTB6N7-CcVpI_GM.js} +2 -2
- package/dist/assets/{InsightsSection-26UEfz7s-CeeuT9E2.js → InsightsSection-g58q0fm4--nDzSJ-I.js} +5 -5
- package/dist/assets/{IntegrationsSettingsPage-QVOqOc9I-C4-ZKEGF.js → IntegrationsSettingsPage-Bs3ZvOVJ-BNGlPV_t.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-B7UVdQjs-BjL1ApDk.js → InternationalWireSwiftDetailsPage-CC0aZ_Ht-BCE7V6Sm.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-Cvita0lc-B9KFeMw_.js → InternationalWireVerificationPage-Bb8q9_XZ-3msXPnre.js} +3 -3
- package/dist/assets/{InviteFormPage-ptg2-Do2-D_-GupYk.js → InviteFormPage-Bh9zpIMu-DyQ9-xdH.js} +1 -1
- package/dist/assets/{InvitePageListView-CoCiU_RJ-Bbv4-eR4.js → InvitePageListView-Da5n8FWG-CwUGql0T.js} +1 -1
- package/dist/assets/{InvitePeoplePage-CIiwEl_L-BLp6uvtq.js → InvitePeoplePage-B1jmVXj9-BNsmdXfz.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-by1gHnS2-pP18jn5q.js → InvoiceUploadSection-DN31nPpE-DlCczyMy.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-CawHdTL3-CyqF8OOR.js → IssueChargeCardPage-Ev17uGYx-DiPbJxFe.js} +1 -1
- package/dist/assets/{LabeledAddressValue-BVpOlAt0-D77GjL_9.js → LabeledAddressValue-CZvcCn7x-BDO7MreD.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-BW6ytr8f-CSB7RWin.js → LabeledAddressValueField-CJel6ymq-BCZyMLaS.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-DEaBzW9R-CKPZ8oIt.js → LabeledControlledCheckBoxField-COHS18nA-B17n3DFO.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-DOEcKGdZ-DzGFxcAd.js → LabeledCountryMultiSelectField-CcJheGwX-DdkXDdlC.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-Bsowq6Ia-v2RVfujK.js → LabeledCreatableSingleSelectField-C9p8xRkh-BtUYUlzS.js} +1 -1
- package/dist/assets/{LabeledDocumentField-DHqxzbx7-CTwBE6mP.js → LabeledDocumentField-DC4TbHE8-CfiBP2-V.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-C_2HymZs-Dn0IEbMb.js → LabeledDropDownFormattedTextField-BcSAJy2I-BDmvlnnz.js} +1 -1
- package/dist/assets/{LabeledMultiSelectField-wuzYNgjQ-DbrM8lIT.js → LabeledMultiSelectField-D-N343dq-BqmmKTLd.js} +1 -1
- package/dist/assets/{LabeledText-DMjMKupg-B5iZr6jB.js → LabeledText-DHLOUxK_-DcVlPblA.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-D2PQRKp0-C66F3vp3.js → LabeledUserSingleSelectWithSubtitlesField-BOM4OGJn-BHSVUmku.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-C2WL6H1u-BNzovq8E.js → LabeledZeniRolesDropDownField-CqZGfBlk-CXV9h6nB.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-6wvu7KQx-CnkdjBaZ.js → LinkJETransactionPage-BLleyJg_-DH6AUk6S.js} +2 -2
- package/dist/assets/{LockCardPage-DHjkslVx-CMxcnIo_.js → LockCardPage-dHmjahEB-CtYWv6rs.js} +1 -1
- package/dist/assets/{LowBalancePopup-IPPewOnk-4XR_iR-p.js → LowBalancePopup-D5xx56fY-j_He7evO.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-DHIsrr2U-VUPeO4aq.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-B1ehlPCP-EnblGBI9.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-C-Tv413E-BxJEZ2nx.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-0Pn_6wi4-BFWraIOq.js → MagicLinkSuccessPage-De4m7E-W-Cb7S-D6O.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-zMEqv8xp-DTvuMaPi.js → MagicLinkTitleSection-Bka3Yd1_-B7VDZ-WI.js} +1 -1
- package/dist/assets/MailingDetailsSection-BbWfR6ob-oFsc7Xm9.js +21 -0
- package/dist/assets/{Menu-CjpiRi32-DbHZh-UA.js → Menu-CCfXjS2S-nrC4lt1z.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-DsuI81Dg-BWmDNcHy.js → MyBankConnectionsSettingsPage-NwFd4S7O-ChK_C8XR.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-BP2ZNfJQ-DHo71pl8.js → MyPendingActivationChargeCardListPage-B2fGNuM2-BRHDDyzi.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-Bx776Bw1-CcvpDjbG.js → MyProfileSettingsPage-C2xgzfZf-CuouNDkd.js} +1 -1
- package/dist/assets/{NavBarWithPicker-B7KOipTP-CUXAONnB.js → NavBarWithPicker-DUqVkR_y-DhJfapY3.js} +1 -1
- package/dist/assets/{NavigationArrow-qaYGOFR3-BYoRbw_X.js → NavigationArrow-Ctt_H8KP-DqY5GQ1R.js} +1 -1
- package/dist/assets/{NavigationDots-U7wL0ya4-CdM-3xeD.js → NavigationDots-Dgudddqx-DYDn4vyu.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-BMLg6RYp-DTb_Rdvu.js → NewGlobalMerchantPage-D1hNFzTS-B4VJuy44.js} +1 -1
- package/dist/assets/{NoDataChart-DoN6Mneo-CftmmCTm.js → NoDataChart-DbLSGWgH-L8CdjQWY.js} +1 -1
- package/dist/assets/{NoDataTable-BMDDs83M-B9SfB1-Z.js → NoDataTable-BYLV7sLq-CgYIQzXe.js} +1 -1
- package/dist/assets/{NotFoundPage-ys6HcZUO-CWo9wAM0.js → NotFoundPage-CIeF09o9-DYOgpAOm.js} +6 -6
- package/dist/assets/{NotificationSettingsPage-Cfrj3b7B-BtkGSRXz.js → NotificationSettingsPage-CEhFnaxj-C4_q1SXp.js} +1 -1
- package/dist/assets/{NotificationsListConfig-Cqcn0C6L-U_mSi0gj.js → NotificationsListConfig-PHESCv2f-CLKpPqmc.js} +1 -1
- package/dist/assets/{NotificationsPage-Bri7Dj80-DBQqrbG3.js → NotificationsPage-hIohQ7En-7Dgvp7dJ.js} +1 -1
- package/dist/assets/{OpExByVendorPage-Dwk6JAu7-DcNHahKS.js → OpExByVendorPage-C1RcJ4Q3-C3y6eP0g.js} +1 -1
- package/dist/assets/{OverlayContainerPage-Daz3A7cI-DWWOjfXy.js → OverlayContainerPage-Daz3A7cI-mfnyLiK_.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-D9muoIzS-D7BKm9OU.js → PandLWithForecastPage-B-uQyVwQ-CyyR5yDE.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-BcQ07YZL-aFHVx1vJ.js → PaymentAccountSetupBillingAddressSection-CGqYs83b-CQ_yC_Le.js} +7 -7
- package/dist/assets/{PeoplePage-BZwxMiLM-C3onpZFo.js → PeoplePage-Db0MhBko-D-veqVIm.js} +13 -13
- package/dist/assets/{Preview-bmkSzs2R.js → Preview-B3zOr0wW.js} +1 -1
- package/dist/assets/{ProductsCarousel-HFHMMFnQ-BOh1D-2y.js → ProductsCarousel-CYwIm8nQ-b46m0x6d.js} +1 -1
- package/dist/assets/{PromoBaseCards-Bwm7huaB-CJTo98HZ.js → PromoBaseCards-B2ZC8OUT-CxdovvbY.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-B5v60lo1-houe1021.js → QBOConnectionDialog-B0E1xE9I-DveLpxdR.js} +1 -1
- package/dist/assets/{QBOSetupSection-BFxjIzV1-Dols6DTO.js → QBOSetupSection-IGV1sm9x-BtXGszuP.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-D7eJT6hf-DFV4TSLb.js → ReimbursementApprovalRuleDetailPage-CwJkaZqa-ChyiXIbJ.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-B6WJ19jK-BD5_k4Yq.js → ReimbursementApprovalRulesPage-C0D2DYVf-DCOAjf0C.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-CEyFEPK5-Cmsv8zE9.js → ReimbursementDetailPage-DV7eDd9t-CQE66iWh.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-BjhlxlPR-B5-QApvA.js → ReimbursementPromoPage-DNM2mNbV-CB0rp3Ja.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-pC4KuigM-CVNmKnoe.js → ReimbursementSetUpPage-CVuQyfku-BMnB6xP4.js} +4 -4
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CucXnBt6-CGAl9ygO.js → ReimbursementsBulkReviewDrawerPage-DAvUmNKc-CIggTaDg.js} +1 -1
- package/dist/assets/{ReloadCard-DhRbLcVA-DLtn2ojx.js → ReloadCard-BsOjPgsc-ChC0ZJ85.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-ByxUIrcT-BtbH079n.js → ReportTableViewSelector-BJNFsOJq-BKg2cb6V.js} +1 -1
- package/dist/assets/{ReportsPage-e1xmk9Ua-DvjoA8Oj.js → ReportsPage-GYEaSw4z-DkoN-mIu.js} +1 -1
- package/dist/assets/{RevenueChart-C7uaOhqz-D8w2w1jE.js → RevenueChart-DXgZ34NU-BGzMBftU.js} +14 -14
- package/dist/assets/{ReviewDetailsPage-Dk0Rw7L_-C0_phLTa.js → ReviewDetailsPage-VBCKACNQ-Cb05fh3o.js} +2 -2
- package/dist/assets/{ReviewOverlay-Bthl69qw-DfE6Ib25.js → ReviewOverlay-D1dHNrqu-DQYoi9Nj.js} +1 -1
- package/dist/assets/{RoleWithToolTip-New3P2vC-CGrSjh7e.js → RoleWithToolTip-BE5aZQ2g-BCdI84kh.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-DiwkB2J--C3K6U0z2.js → ScheduleDetailsFixedAssetsPage-p2jwjhfb-DeEP6omI.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-BLc828ST-BFaIKXfz.js → ScheduleDetailsPage-CuGgAAlk-Cs8MEF7D.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-CEQZEbUs-64nBAOn9.js → ScheduleSequenceTable-DS5xyWPM-B_plNnTN.js} +1 -1
- package/dist/assets/{ScreenRoutes-DmXkmyK0.js → ScreenRoutes-DVayPi2e.js} +1 -1
- package/dist/assets/{SetUpAccountSection-CywFKgZo-BTSCNORa.js → SetUpAccountSection-CgV-DpbH-B1jw26aR.js} +1 -1
- package/dist/assets/{SignIn-D7PmDE-R-MG3D91mV.js → SignIn-BVICuIxS-BWE0bgE_.js} +15 -15
- package/dist/assets/{SignInScreen-D113RFd8.js → SignInScreen-D4KOTIiJ.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-DJgNAGhp-5CsQoFEw.js → SpendManagementListViewPage-7hmUDsTR-DhApwaYY.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-B_muN4XH-CNz4dnei.js → SpendManagementPerTabPage-r4Ivr4ml-BVfhJves.js} +1 -1
- package/dist/assets/{SpendManagementSection-BO--0F_T-CM2fKAuB.js → SpendManagementSection-4bPNXnAu-PYCo478F.js} +14 -14
- package/dist/assets/StatementItem-D7MXVGEy-BTw31R7j.js +31 -0
- package/dist/assets/{StatementsPage-DkcgOLaa-nohY7JNi.js → StatementsPage-mK9b-oez-_P1PJ0CX.js} +1 -1
- package/dist/assets/{StatusSwitcher-Bcqhq2ht-hAJBOXci.js → StatusSwitcher-VeYkrDM7-Cg8WxvyO.js} +1 -1
- package/dist/assets/{SubTabSwitcher-BNSMaUoP-BXxH8ILx.js → SubTabSwitcher-j2oEcPev-C9gIHuSY.js} +1 -1
- package/dist/assets/SummaryCard-Bn8n64F6-PcN8QoKZ.js +1 -0
- package/dist/assets/{TaskManagementPage-K2ahivqx-BCmrLDzp.js → TaskManagementPage-Cmx-Dg-h-CaRQcF5s.js} +10 -10
- package/dist/assets/{TimeRangeSwitcher-CaV1qK_v-De4PWsE4.js → TimeRangeSwitcher-DIM1SPbu-C8aKxeBB.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-COkEJy3J-I0fiieuA.js → TimeframeSwitcher-DKqN8iPa-CLaVUI42.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-CPP1tWQ_-B3icDAhc.js → TimeframeSwitcherWithToggle-DcrnzLoy-5NwwIObs.js} +1 -1
- package/dist/assets/{TopExCard-CLkfO6zN-GAZI10F9.js → TopExCard-Bng5AuNw-CVHFew8E.js} +1 -1
- package/dist/assets/{TopExDetailPage-CUoODDhA-lWptHIiO.js → TopExDetailPage-C1UAPRay-senkgbNQ.js} +1 -1
- package/dist/assets/{TransactionDetailPage-BTonMpH2-yOJQgyGO.js → TransactionDetailPage-Ds7V1qr_-DHvaJdEC.js} +1 -1
- package/dist/assets/{TransactionList-B8eL6jhA-CXIdz1sa.js → TransactionList-Dq2orY9N-CmcTb8lX.js} +1 -1
- package/dist/assets/{TransactionListBig-BI0Egbwq-BXaq3AnP.js → TransactionListBig-BrDxcbHJ-BucaK7i8.js} +1 -1
- package/dist/assets/{TransactionListPage-DxGLszcx-DfFatS1H.js → TransactionListPage-D5v8TxYx-tIrIfplb.js} +2 -2
- package/dist/assets/{TransactionVendorDetailPage-BnqP7rIa-Yish_Kxm.js → TransactionVendorDetailPage-DnZGwCbw-NMe_2e92.js} +1 -1
- package/dist/assets/{TransferDrawerPage-BvKebmux-CutHwXxM.js → TransferDrawerPage-DUdjOy9R-BaGIl48y.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-DqlUffnH-CE590JAn.js → TreasuryOverviewPage-XYkCDBio-XL-wzdVP.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-DqZE9SWj-ClnrYXLc.js → TreasuryPromoPage-CWtp3S9L-DlbXSnI-.js} +1 -1
- package/dist/assets/TreasuryStatementsPage-C1-iJ5X--BgqOr69t.js +58 -0
- package/dist/assets/{TreasuryTaxLetterPage-04gxKt0a-BJGnfk3S.js → TreasuryTaxLetterPage-CNogHL4A-CZDa9UtZ.js} +2 -2
- package/dist/assets/{TrendChart-Cb8wnBqS-De7P6THV.js → TrendChart-DBRT1lZ3-CNfFrF4a.js} +1 -1
- package/dist/assets/{TrendWithTransactions-_49jEzFf-f5FuFAt2.js → TrendWithTransactions-CcjPNeY8-DUWt7VQm.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-WTwSitI6-BEjfAo_V.js → UncategorizedAccountsMappingPage-BuMm5-pm-OPk3mnZu.js} +5 -5
- package/dist/assets/{UnitIntegrationPage-C3HFSJ9I-BXGGs2St.js → UnitIntegrationPage-Dxb00NtN-CEWpQ1pK.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-UdsrwN9K-CdWb8HhE.js → UploadAdditionalDocumentOverlay-H6nIiMo6-BSgcEloP.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-BS-3oZPR-CDa2CeES.js → Vendor2FAPopup-Opk2NgSs-DTP-O6GX.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-C-uyGtu7-F2Is6FR_.js +1 -0
- package/dist/assets/{VendorDetailPage-CJQeB1km-BShwXDn0.js → VendorDetailPage-YUk-g7t--BJ496rNY.js} +86 -86
- package/dist/assets/VendorDomesticWireDetailsPage-D0Vd0jjO-BL4DigeA.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-C2zwrfg_-DyqUbz_t.js → VendorFiling1099EditablePage-Ctx-C6OL-spQqzVO6.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-BeDtBSt0-Cmgyhufs.js → VendorFirstReviewPage-Biy4xcIs-DznCGOBz.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-BVI-FIhY-DHYCq99b.js → VendorInternationalWireDetailsPage-B-ZKvwGN-x0rWEvGE.js} +1 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-Bg26p8FH-HzLEH2H6.js +1 -0
- package/dist/assets/{VendorsAccountsSection-DlO_YtSs-BqQo1hOy.js → VendorsAccountsSection-DztKh7dz-CgEUNYEY.js} +1 -1
- package/dist/assets/{VerifyDevice-CVr0FwHa-DQu5ZIh8.js → VerifyDevice-fvWfQQnC-CtXqEXi_.js} +7 -7
- package/dist/assets/{VideoPlayer-HL-oU9Ri-Bz044c8A.js → VideoPlayer-CfLdj-r8-B2GUFqTA.js} +2 -2
- package/dist/assets/{VideoPopup-Dw57i43Q-CzwcXxHQ.js → VideoPopup-B-N0Wv9f-Cdmc-mEU.js} +5 -5
- package/dist/assets/{WarningsDrawerPage-DOFirhc3-D_wiHvg5.js → WarningsDrawerPage-UpSDjRDQ-BBae8KFO.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-ByCgz534-C0RThAND.js → ZeniAccountDetailPage-Bd_RNPxh-BoHoadUu.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-yATacDeU-DRvzhKU3.js → ZeniAccountListViewPage-CE5BfFah-CIAB5QF6.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-Yb3HCUq4-DzLFm0o5.js → ZeniAccountNavBarPieces-C0ydgImW-D-MiE5qM.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-4iBPGLEt-DDJzitwm.js → ZeniAccountPromoPage-EX9sTaQM-DXBYg3Pe.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-bdXuLfgB-C6mUVcdt.js → ZeniAccountSetupPage-DX2DvcQa-Dwku7Zxp.js} +1 -1
- package/dist/assets/{ZeniCopyright-C_Hgn3Qx-Ds0qc8PC.js → ZeniCopyright-8vmkzP8u-BneayNNI.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DBhodWDh-B4lmL5zs.js → ZeniTransferAmountSlider-BgIOeOee-5PnJNSH6.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-DF1ZLhpG.js → add-to-wallet-DgdBD8_G-6h2ZeMP0.js} +1 -1
- package/dist/assets/{analytics-DjXPotdA.js → analytics-C6_KHLMr.js} +1 -1
- package/dist/assets/{analyticsHelper-Do_j7Ec-.js → analyticsHelper-BI1ThZe4.js} +1 -1
- package/dist/assets/{analyticsHelper-DTl4FgRU-DaGvE_nI.js → analyticsHelper-DePSHzJ2-Bn27sSmX.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-BzdqPzsS.js → arrow-south-east-round-PEovUgvH-Drco-tba.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-BN19TEiZ.js → auto-transfer-rule-mbafm5D3-B2LSu6td.js} +1 -1
- package/dist/assets/{chartTypes-wLUiIPlP-EuH-c6o2.js → chartTypes-9YOqgm9X-C6LFFFRd.js} +1 -1
- package/dist/assets/{commonDimensions-DGz_YafU-CjnpnLVY.js → commonDimensions-DMXq3s0u-DuXCMMKd.js} +1 -1
- package/dist/assets/{commonTypes-Gv0Fff59-fjxsEGiK.js → commonTypes-BquPusaw-T-jihHvn.js} +1 -1
- package/dist/assets/{constants-B9dqeElZ.js → constants-PJh0ps8k.js} +1 -1
- package/dist/assets/{core-DQCu9afb.js → core-B60xt_9S.js} +1 -1
- package/dist/assets/{dash.all.min-RF6O7QLP.js → dash.all.min-vXDE_DvB.js} +1 -1
- package/dist/assets/{detailCommon-C-kv1ST5-CmzdwBDw.js → detailCommon-OHV8uIJY-cVGKnZAs.js} +2 -2
- package/dist/assets/{downloadPdf-a0dx3Bka-BialP_86.js → downloadPdf-AQqdv24M-DFBrg3E0.js} +1 -1
- package/dist/assets/{empty-CJWANQb8.js → empty-BILjNJ1H.js} +1 -1
- package/dist/assets/{empty-CvlnhqoS.js → empty-Crd5cSnS.js} +1 -1
- package/dist/assets/{epic-CLLPTJuW.js → epic-DI4CcWQL.js} +2 -2
- package/dist/assets/{gift-box-Cmt9OgIZ-B2dtO5AM.js → gift-box-Cmt9OgIZ-Zdxcxrhq.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-BxeiZvr5.js → graphic-no-data-l-DU4J8fDt-DgTcVZZu.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-piCcMLAh.js → graphic-no-data-net-burn-l-CzmycA0m-C5bAU7gA.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-BdJEkGFy.js → handshake-BPg58FML-B-VJNfaH.js} +1 -1
- package/dist/assets/{index-CaT-3YM_.js → index-BGWJb262.js} +1 -1
- package/dist/assets/{index-DK88ffN_.js → index-BN0EotSL.js} +1 -1
- package/dist/assets/{index-BW6VjaM6.js → index-BdKLbOle.js} +1 -1
- package/dist/assets/{index-BRL5M-4q.js → index-BvTN3lDL.js} +1 -1
- package/dist/assets/{index--n-ELFcj.js → index-CdECp0kd.js} +1 -1
- package/dist/assets/{index-DUGvjtu-.js → index-CsC704zJ.js} +1 -1
- package/dist/assets/{index-BC_H0Dvt.js → index-DaYznKbB.js} +1139 -1139
- package/dist/assets/{lexical-Dwxxs9vM.js → lexical-ljPdYVBl.js} +1 -1
- package/dist/assets/{liveblocks-Bk_rgzjY.js → liveblocks-DBwZPvBF.js} +1 -1
- package/dist/assets/{lottie-DVMZSmD1.js → lottie-C5JCvMhe.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-bnjefl-h-g0Hb8RqK.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DXbOFz3E-CT2khAb0.js → mapSectionWithAcOnlyToTreeNode-DlHnT2so-BTPtJTc-.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-D7hBnjRr-B7Q2F4LU.js → mapSpacerToTreeNode-UVFWXY4N-D0YtCjzg.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-CQWxQdJu-raLuZY74.js → mapTimeframeBalancesToTreeNode-BQXXyttX-DGLgwKeE.js} +1 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-Z_evAkYB-C750bIcv.js +1 -0
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-FwPcTyoF-D6WjfBqv.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CKpBoKTl-20lccFRR.js} +1 -1
- package/dist/assets/{mui-BmV8FyyJ.js → mui-Bw2IfcWM.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-Bvrr8cIz.js → page-detail-CWX5S47F-DCgjQUKs.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-zYceSCJD.js → radio-default-CiSgisfh-CMhPvQFy.js} +1 -1
- package/dist/assets/{react-DXwN5tH4.js → react-BTUZdigh.js} +1 -1
- package/dist/assets/{react-myS-aMXG.js → react-Bq5t9UIP.js} +1 -1
- package/dist/assets/{react-Cg8XRgYG.js → react-CuTu_wtR.js} +1 -1
- package/dist/assets/{react-CSed5qnA.js → react-DI23iCmK.js} +2 -2
- package/dist/assets/{react-RdtI2BXz.js → react-DfTnNNyV.js} +1 -1
- package/dist/assets/{react-D8crbQsa.js → react-DhEFsene.js} +1 -1
- package/dist/assets/{react-CgN2MqJD.js → react-DjhBEada.js} +1 -1
- package/dist/assets/{react-CxOAkiJn.js → react-VPdYhL5m.js} +1 -1
- package/dist/assets/{recharts-K3QEFPOV.js → recharts-DIy4CLtr.js} +1 -1
- package/dist/assets/{sentry-CzYU6xgv.js → sentry-Bp9GtzEp.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-BROF78Wd.js → shield-DOlUxcFf-ro31tcAp.js} +1 -1
- package/dist/assets/toCOABalancesWithID-DcgESHck-B_zdOyxB.js +1 -0
- package/dist/assets/{toChartData-BlyUYoV7-BOlYGwXB.js → toChartData-BtwV0Kpo-LMyxiFZ7.js} +1 -1
- package/dist/assets/{uploadAttachment-BkEbu6k9-BLw1l-Yr.js → uploadAttachment-C69IP2HG-CJ_0eQlo.js} +1 -1
- package/dist/assets/{uploadReceipts-CPw64UYa-CIPV6FoB.js → uploadReceipts-CPw64UYa-udD8sJEF.js} +1 -1
- package/dist/assets/{url-BLr86cmF.js → url-4mfhlhYZ.js} +1 -1
- package/dist/assets/{url-daKMdVYE.js → url-FTiOcUfY.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-Bzjc7jhF.js → useLongPress-GCK2COYQ-CjlFZNWU.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-CBFMyNMj.js → usp-line-BBd1wKwW-Do2umI9p.js} +1 -1
- package/dist/assets/{utils-Dyo888a6.js → utils-CUkgdryf.js} +1 -1
- package/dist/assets/{zeni-epic-state-Blm5vkeu.js → zeni-epic-state-BxNqBiH-.js} +4 -4
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/AccountInfoPage-B6jxAqA6-D3AvIk8Y.js +0 -18
- package/dist/assets/ChargeCardListPage-B2OEzCZI-BVO1t6lk.js +0 -412
- package/dist/assets/ChargeCardPaymentHistoryPage-COWdn2l7-MyINBbbC.js +0 -565
- package/dist/assets/CustomerOnboardingContainerPage-DLdgYP_E-BcmkLIDn.js +0 -1
- package/dist/assets/CustomerOnboardingProductSuitePage-CDJfucTI-RZxDmPrv.js +0 -202
- package/dist/assets/EntityDetailPage-DRZiqaCb-oaZXyi6U.js +0 -18
- package/dist/assets/MagicLinkACHDetailsPage-BQvuNI4u-C-5Iz4N6.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BEr-7K3J-DiYQt8aO.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DliPDETx-BCgetX2M.js +0 -1
- package/dist/assets/MailingDetailsSection-BRCMsb6d-BN9R0MtZ.js +0 -21
- package/dist/assets/StatementItem-_50yBwO1-DM2htgiY.js +0 -31
- package/dist/assets/SummaryCard-DUTikTiQ-o2r57xWg.js +0 -1
- package/dist/assets/TreasuryStatementsPage-Cyj4xmLP-CfyqqURj.js +0 -58
- package/dist/assets/VendorACHDetailsPage-DBr7crZ5-DoKuE4gC.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-BRIKuuUP-C-Ecy8EE.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-D4H4XkkY-D2_GcLH2.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-Dn79CwqB-G1FAb9Fd.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-ph17cvaS-Bnf0nmcD.js +0 -1
- package/dist/assets/toCOABalancesWithID-CdKQhpIb-D0TFM2qU.js +0 -1
package/dist/assets/{ACHDetailsPage-CUzXxtOD-V_bV4SFc.js → ACHDetailsPage-DQqbcrtQ-B9LICqOv.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as E,a9 as W,F as w,cC as _,V as n,cn as V,co as F,cp as H,ac as O,aP as q,y as c,eS as Q,b6 as U,o as Z,c as t}from"./index-
|
|
1
|
+
import{q as E,a9 as W,F as w,cC as _,V as n,cn as V,co as F,cp as H,ac as O,aP as q,y as c,eS as Q,b6 as U,o as Z,c as t}from"./index-DaYznKbB.js";import{a as k}from"./sentry-Bp9GtzEp.js";import{n as u}from"./mui-Bw2IfcWM.js";import{W as G,A as J}from"./BankAccountWarningSection--CI3tctJ-C44mqvnE.js";import{M as K}from"./MagicLinkTitleSection-Bka3Yd1_-B7VDZ-WI.js";import{e as X}from"./BankAccountSection-D85EMzvD-DIqhMGkU.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]="a4d879e1-afd6-4c61-a835-4cf6bd6dc15c",e._sentryDebugIdIdentifier="sentry-dbid-a4d879e1-afd6-4c61-a835-4cf6bd6dc15c")}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:x,style:S,onSaveHandler:B,onBackClick:h,onACHDetailsUpdated:N,onFetchBankName:v,isMagicLink:m,companyName:D,currencySymbol:j,amount:P,bankAccountContext:$})=>{const r=E(),i=W({mode:"onBlur",reValidateMode:"onChange",defaultValues:k.useMemo(()=>Y(o),[o])}),[z,b]=k.useState(!1),d=w.getLocalizedStrings().spendManagement.billPay.vendorCreation,I=w.getLocalizedStrings().common.footer,{achDetails:C,bankAccountCommon:y}=d,L={onOkClick:()=>{b(!1),i.reset(),h?.()},onCancelClick:()=>{b(!1)}},M=async(f,l)=>{const s=l[p].bankRoutingNumber;N(l),f===`${p}.bankRoutingNumber`&&s?.length===9&&Q.test(s)===!0&&v?.(s)};k.useEffect(()=>{const f=i.watch((l,{name:s})=>{s!=null&&l!=null&&_(()=>M(s,l))});return()=>{f.unsubscribe()}});const R=i.handleSubmit(f=>{g.fetchState!=="In-Progress"&&B("ach")});return n.jsxs(ne,{children:[n.jsxs(te,{style:S,size:r,children:[z===!0?n.jsx(V,{titleComponent:n.jsx(H,{children:d.discardTitle}),descriptionComponent:n.jsx(F,{children:d.discardDescription}),primaryButtonText:d.discard,secondaryButtonText:d.cancel,action:L}):null,n.jsx(G,{header:m?n.jsx(K,{companyName:D??"",currencySymbol:j??"",amount:P??0}):C.addACHDetails,isMagicLink:m,isDirty:i.formState.isDirty,onBackClick:h,setShowConfirmationPopup:b}),e?.fetchState==="Error"&&e.error?.code===409?n.jsx(J,{warningText:y.accountExistWarning}):null,$==="express-pay"?null:n.jsx(ae,{size:r,children:C.title}),n.jsx(ie,{children:n.jsx(O,{...i,children:n.jsx("form",{id:A(T),onSubmit:R,children:n.jsx(ee,{size:r,children:n.jsx(X,{bankAccountToCreate:o,fetchBankNameByRoutingStatus:g,sectionId:p,isDisabled:x})})})})})]}),n.jsx(q,{formId:A(T),primaryBtn:{label:m?y.submitDetails:y.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:a.buttonWidth.value(r)},isDisabled:x!=null},showCancel:!m,cancelBtn:{label:I.cancel,style:{width:a.buttonWidth.value(r)},shouldResetOnCancel:!1,onClick:()=>{i.formState.isDirty?b(!0):(i.reset(),h?.())}}})]})},Y=e=>({[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,a8 as y1,q as M,F as j,cb as j1,V as C,bR as $1,o as r,aN as v1,b as D,ci as b1,ka as T,c as n,bN as g,dn as h1,p as d,a7 as S1,b2 as p1,d as m1,kb as f,ai as x,kc as Z1,kd as B1,ar as S,a as K,b6 as X,am as F1,ke as W1,dJ as _1,f_ as D1,cg as u1,al as H1}from"./index-
|
|
1
|
+
import{y as u,a8 as y1,q as M,F as j,cb as j1,V as C,bR as $1,o as r,aN as v1,b as D,ci as b1,ka as T,c as n,bN as g,dn as h1,p as d,a7 as S1,b2 as p1,d as m1,kb as f,ai as x,kc as Z1,kd as B1,ar as S,a as K,b6 as X,am as F1,ke as W1,dJ as _1,f_ as D1,cg as u1,al as H1}from"./index-DaYznKbB.js";import{a as e}from"./sentry-Bp9GtzEp.js";import{n as i,c as P1,k as T1}from"./mui-Bw2IfcWM.js";import{Gf as E,Gg as e1,Gh as F}from"./zeni-epic-state-BxNqBiH-.js";import{R as V1}from"./NavBarWithPicker-DUqVkR_y-DhJfapY3.js";import{F as k1,X as x1,Y as I,I as z1,J as O1,G as t1}from"./recharts-DIy4CLtr.js";import"./liveblocks-DBwZPvBF.js";import"./core-B60xt_9S.js";import"./lottie-C5JCvMhe.js";import"./analytics-C6_KHLMr.js";import"./lexical-ljPdYVBl.js";import"./utils-CUkgdryf.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]="0cac49af-ef4d-4074-85a6-080cf67c02a7",t._sentryDebugIdIdentifier="sentry-dbid-0cac49af-ef4d-4074-85a6-080cf67c02a7")}catch{}})();const C1={titleLoaderWidth:new u(200,200,300),subtitleLoaderWidth:new u(100,100,200)},G1=i.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 h,q as x,V as t,gM as b,o as r,y as d,hy as D,c as i}from"./index-DaYznKbB.js";import{a as $}from"./sentry-Bp9GtzEp.js";import{n as o}from"./mui-Bw2IfcWM.js";import{K as P}from"./StatusSwitcher-VeYkrDM7-Cg8WxvyO.js";import{r as z}from"./AccountInfoPageContent-DRhE__FT-CsEJAa7X.js";import"./liveblocks-DBwZPvBF.js";import"./core-B60xt_9S.js";import"./recharts-DIy4CLtr.js";import"./zeni-epic-state-BxNqBiH-.js";import"./lottie-C5JCvMhe.js";import"./analytics-C6_KHLMr.js";import"./lexical-ljPdYVBl.js";import"./utils-CUkgdryf.js";import"./downloadPdf-AQqdv24M-DFBrg3E0.js";import"./commonDimensions-DMXq3s0u-DuXCMMKd.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]="368dcb1c-9d31-4ef7-9a15-1da66e775947",e._sentryDebugIdIdentifier="sentry-dbid-368dcb1c-9d31-4ef7-9a15-1da66e775947")}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:f,currentTenant:u,onDismissClick:g})=>{const p=h(),c=x(),[l,m]=$.useState("achDetails"),w=y=>{m(y)};return t.jsxs(T,{children:[t.jsx(b,{title:"",backgroundColor:p.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:g}),t.jsx(v,{windowSize:c,children:a.accountName}),t.jsx(S,{children:t.jsx(P,{tabIds:["achDetails","wireDetails"],selectedTab:l,entity:"zeni_accounts",onTabSelectedChange:w,isSwitcherLeftAlign:!0})}),t.jsx(A,{windowSize:c,children:t.jsx(z,{authParams:e,downloadAccountDetailEndPoint:n,currentTab:l,zeniAccountsConfigDetail:f,currentTenant:u,depositAccount:a})})]})},A=o.div`
|
|
2
|
+
padding-left: ${e=>`${s.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
3
|
+
padding-right: ${e=>`${s.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
4
|
+
`,T=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
|
+
`,v=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
|
+
`,S=o.div`
|
|
16
|
+
display: flex;
|
|
17
|
+
justify-content: flex-start;
|
|
18
|
+
`;export{B as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as je,gW as Ae,hz as Q,V as r,bR as z,k as Se,aN as _,o as a,b6 as Te,F as ve,c1 as De,p as E,ai as re,u as Ce,gZ as ze,al as ae}from"./index-
|
|
1
|
+
import{q as je,gW as Ae,hz as Q,V as r,bR as z,k as Se,aN as _,o as a,b6 as Te,F as ve,c1 as De,p as E,ai as re,u as Ce,gZ as ze,al as ae}from"./index-DaYznKbB.js";import{a as s}from"./sentry-Bp9GtzEp.js";import{n as t}from"./mui-Bw2IfcWM.js";import{w as _e}from"./downloadPdf-AQqdv24M-DFBrg3E0.js";import{o as Le}from"./commonDimensions-DMXq3s0u-DuXCMMKd.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]="e4593e81-a39a-45fe-9e33-34d038d5e6bb",e._sentryDebugIdIdentifier="sentry-dbid-e4593e81-a39a-45fe-9e33-34d038d5e6bb")}catch{}})();const{common:{strings:Ie,copyToClipBoard:g},spendManagement:{zeniAccounts:{zeniAccountDetail:Z},billPay:{vendorCreation:{achDetails:o}},downloads:G}}=ve.getLocalizedStrings(),er=({authParams:e,downloadAccountDetailEndPoint:y,currentTab:p,depositAccount:c,zeniAccountsConfigDetail:u,currentTenant:k})=>{const oe=je(),[,M]=Ae(),[N,te]=s.useState(!1),[se,ne]=s.useState(!1),[ce,ie]=s.useState(!1),[le,de]=s.useState(!1),[be,ue]=s.useState(!1),[me,pe]=s.useState(!1),[he,fe]=s.useState(!1),[xe,ye]=s.useState(!1),[h,P]=s.useState(!1),[w,V]=s.useState(!1),[j,q]=s.useState(!1),[A,U]=s.useState(!1),[S,B]=s.useState(!1),[T,F]=s.useState(!1),[v,H]=s.useState(!1),[$,O]=s.useState(!1),D=k?.company?.companyInfo.companyLegalName,C=Q(u.zeniAccountsConfigDetail.mailingAddress).text2,m=Q(u.zeniAccountsConfigDetail.bankAddress).text2;s.useEffect(()=>{(h||T||v||$||S||$||j||w||A)&&setTimeout(()=>{P(!1),F(!1),H(!1),O(!1),B(!1),U(!1),q(!1),V(!1)},1200)},[h,T,v,$,S,A,j,w]);const W=(f,n)=>{switch(f){case"accountType":ne(n);break;case"acccountNumber":ie(n);break;case"routingNumber":de(n);break;case"bankName":ue(n);break;case"beneficiaryName":fe(n);break;case"beneficiaryAddress":pe(n);break;case"bankAddress":ye(n);break}},$e=f=>{let n;f==="achDetails"?n=`${o.bankRoutingNumber} ${c.routingNumberAch}
|
|
2
2
|
|
|
3
3
|
${o.accountTypeLabel} ${c.accountSubType.name??""}
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as g,F as d,V as t,al as x,b9 as l,n as b,o,p,aq as y,bX as j,bY as $,bZ as w,bQ as k}from"./index-
|
|
1
|
+
import{d as g,F as d,V as t,al as x,b9 as l,n as b,o,p,aq as y,bX as j,bY as $,bZ as w,bQ as k}from"./index-DaYznKbB.js";import{n as r}from"./mui-Bw2IfcWM.js";import{t as v}from"./handshake-BPg58FML-B-VJNfaH.js";import"./sentry-Bp9GtzEp.js";import"./liveblocks-DBwZPvBF.js";import"./core-B60xt_9S.js";import"./recharts-DIy4CLtr.js";import"./zeni-epic-state-BxNqBiH-.js";import"./lottie-C5JCvMhe.js";import"./analytics-C6_KHLMr.js";import"./lexical-ljPdYVBl.js";import"./utils-CUkgdryf.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="cebf66af-7e31-4ddf-9ef7-3f41ecb64137",e._sentryDebugIdIdentifier="sentry-dbid-cebf66af-7e31-4ddf-9ef7-3f41ecb64137")}catch{}})();const m="support@zeni.ai",n=d.getLocalizedStrings().commonSetUp.twoFactorAuthentication,f=({unlockDate:e,onSubmit:i})=>{const s=g(),h=e.format(d.getLocalizedStrings().dateFormat.visual.MMMDCommaYYYYformat),u=e.format(d.getLocalizedStrings().dateFormat.visual.HHMMFormat);return t.jsxs(S,{children:[t.jsx(D,{children:n.accountLockedTitle}),t.jsxs(I,{children:[t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(Y,{})}),t.jsx(x,{children:n.accountLockedSecurityMessage})]}),t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(z,{})}),t.jsxs(l,{children:[n.tryAgainAfter,t.jsxs(C,{children:[h,t.jsx(L,{children:"•"}),u]}),n.signInViaGoogleOrMicrosoft]})]}),t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(A,{})}),t.jsxs(l,{children:[n.accountLockedContactMessage,t.jsx(_,{href:`mailto:${m}`,children:m})]})]}),t.jsx(b,{variant:"primary",label:n.understood,onClick:i})]})]})};function M({unlockDate:e,onClose:i}){return t.jsx(k,{open:!0,onClose:i,children:t.jsx(F,{children:t.jsx(f,{unlockDate:e,onSubmit:i})})})}const S=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a9 as fe,fw as xe,V as t,ac as ye,cn as ge,co as je,cp as Se,o as c,M as $e,b6 as J,am as X,L as ke,aa as be,dI as ve,eQ as we,d0 as G,dr as Z,F as Ce,al as d,d as Ee,aL as Pe,bv as ee,dL as te,au as Re,p as ne,u as Ie}from"./index-
|
|
1
|
+
import{a9 as fe,fw as xe,V as t,ac as ye,cn as ge,co as je,cp as Se,o as c,M as $e,b6 as J,am as X,L as ke,aa as be,dI as ve,eQ as we,d0 as G,dr as Z,F as Ce,al as d,d as Ee,aL as Pe,bv as ee,dL as te,au as Re,p as ne,u as Ie}from"./index-DaYznKbB.js";import{a as r}from"./sentry-Bp9GtzEp.js";import{n as o}from"./mui-Bw2IfcWM.js";import{bL as oe,Gv as De,Gw as Te}from"./zeni-epic-state-BxNqBiH-.js";import{E as _e,C as Fe,w as Le,f as Ue}from"./AccountRow-DqfBv7EN-CVLrdkv9.js";import"./liveblocks-DBwZPvBF.js";import"./core-B60xt_9S.js";import"./recharts-DIy4CLtr.js";import"./lottie-C5JCvMhe.js";import"./analytics-C6_KHLMr.js";import"./lexical-ljPdYVBl.js";import"./utils-CUkgdryf.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]="706688da-99ab-4d36-971c-353618242971",e._sentryDebugIdIdentifier="sentry-dbid-706688da-99ab-4d36-971c-353618242971")}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,aL as E,bR as f,o,aN as y,aa as se,dI as re,F as le,al as w,dJ as de,p as g,dK as X,dL as Y,cX as ue,aT as x,ai as Z,c as p,q as xe,d as S,a_ as pe,dp as he,an as ge,n as me,am as I,bI as fe,dB as je}from"./index-
|
|
1
|
+
import{V as t,aL as E,bR as f,o,aN as y,aa as se,dI as re,F as le,al as w,dJ as de,p as g,dK as X,dL as Y,cX as ue,aT as x,ai as Z,c as p,q as xe,d as S,a_ as pe,dp as he,an as ge,n as me,am as I,bI as fe,dB as je}from"./index-DaYznKbB.js";import{a as ye}from"./sentry-Bp9GtzEp.js";import{n as a,c as we}from"./mui-Bw2IfcWM.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]="23535930-6f38-4b21-a1a9-ef4a145f5a73",e._sentryDebugIdIdentifier="sentry-dbid-23535930-6f38-4b21-a1a9-ef4a145f5a73")}catch{}})();const $e=a.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
${e=>e.showTreeLine===!0&&e.collapsed!==!0?`&::after {
|
|
4
4
|
content: "";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{F as U,V as o,o as t,aW as z,p as v,aq as ne,b as ae,bt as ie,bu as se,bv as ce,bw as le,bx as Y,l as de,aM as q,aJ as pe,d as R,aw as ue,aN as _,aV as me,aK as he,aQ as ge,ai as Q,aX as xe,b4 as fe,al as ye,b9 as Ce}from"./index-
|
|
1
|
+
import{F as U,V as o,o as t,aW as z,p as v,aq as ne,b as ae,bt as ie,bu as se,bv as ce,bw as le,bx as Y,l as de,aM as q,aJ as pe,d as R,aw as ue,aN as _,aV as me,aK as he,aQ as ge,ai as Q,aX as xe,b4 as fe,al as ye,b9 as Ce}from"./index-DaYznKbB.js";import{a as F,S}from"./sentry-Bp9GtzEp.js";import{c as $e}from"./SummaryCard-Bn8n64F6-PcN8QoKZ.js";import{n as r,k as X,c as V}from"./mui-Bw2IfcWM.js";import{EM as be}from"./zeni-epic-state-BxNqBiH-.js";import{N as E}from"./NavigationArrow-Ctt_H8KP-DqY5GQ1R.js";import{k as ve}from"./NavigationDots-Dgudddqx-DYDn4vyu.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]="6930dc7b-6364-4ae5-8090-07c3d481febc",e._sentryDebugIdIdentifier="sentry-dbid-6930dc7b-6364-4ae5-8090-07c3d481febc")}catch{}})();const je="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-1.png",Ae="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-2.png",we="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-3.png",T=(e,n)=>{const i=e==="right"?`-${n}%`:`${n}%`;return X`
|
|
2
2
|
0% {
|
|
3
3
|
opacity: 0;
|
|
4
4
|
transform: translateX(${i});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as y,q as S,aO as T,b as r,V as l,jr as w,o as t,y as m,aN as B,F as x,c as n}from"./index-
|
|
1
|
+
import{d as y,q as S,aO as T,b as r,V as l,jr as w,o as t,y as m,aN as B,F as x,c as n}from"./index-DaYznKbB.js";import{a as C}from"./sentry-Bp9GtzEp.js";import{n as j}from"./mui-Bw2IfcWM.js";import"./liveblocks-DBwZPvBF.js";import"./core-B60xt_9S.js";import"./recharts-DIy4CLtr.js";import"./zeni-epic-state-BxNqBiH-.js";import"./lottie-C5JCvMhe.js";import"./analytics-C6_KHLMr.js";import"./lexical-ljPdYVBl.js";import"./utils-CUkgdryf.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="b6a4e308-0b71-4e3e-a2a5-b0b977720133",e._sentryDebugIdIdentifier="sentry-dbid-b6a4e308-0b71-4e3e-a2a5-b0b977720133")}catch{}})();const p={marginTop:new m(n[0],18),marginBottom:new m(n[0],n[3])},{spendManagement:{chargeCard:{chargeCardsPromo:g}},common:A}=x.getLocalizedStrings(),K=({googleAPIKey:e,customAddress:o,customAddressStatus:a,onDismissClick:d,onSubmitHandler:c})=>{const u=y(),s=S(),i=T(a.fetchState);C.useEffect(()=>{i==="In-Progress"&&a.fetchState==="Completed"&&d()},[a.fetchState,d,i]);const b=s==="small"?r.extraSmallRegular.cssObject:r.standardRegular.cssObject,f=s==="small"?r.standardMedium.cssObject:r.h5Regular.cssObject;return l.jsx(I,{"data-testid":B("add-address-for-card-drawer"),children:l.jsx(w,{googleAPIKey:e,loadingState:a.fetchState,addressToEdit:o,onSubmitHandler:h=>c(h),onCancel:d,showNavbarWithClose:!0,isSubPage:!0,addTitleMessage:g.addAddress,subTitleMessage:g.addAddressSubText,hideAddressBackButton:!0,showAddressCloseButton:!0,dontShowSaveConfirmationPopup:!0,customNavStyles:{paddingTop:"19px",paddingBottom:"19px"},customTitleStyles:{marginTop:p.marginTop.valuePx(s),marginBottom:p.marginBottom.valuePx(s),...f},subTitleStyles:{marginTop:t.sp0,marginBottom:t.sp0,...b,color:u.colors.hero},navBarContainerStyles:{alignItems:"center",justifyContent:"space-between",paddingTop:t.sp2,paddingRight:t.sp3},sectionStyles:{paddingTop:t.sp4,paddingBottom:t.sp4},footerButtons:{primaryButtonLabel:A.add,buttonWidth:82,separatorStyle:{marginRight:t.sp4}}})})},I=j.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
background-color: ${e=>e.theme.colors.grey4};
|
|
4
4
|
height: 100%;
|
package/dist/assets/{AddToWalletPage-vXWBje7k-DoLwCC6X.js → AddToWalletPage-BUltXgk9-hU_WmIiG.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as L,a8 as le,aw as ne,F as N,V as t,bA as de,c as p,j4 as pe,jo as ce,o as i,n as A,aN as W,y as m,R as $,M as b,jp as he,j5 as ge,cg as xe,p as r,jq as me,bw as we,cT as ue,al as $e,b as be,j9 as fe}from"./index-
|
|
1
|
+
import{q as L,a8 as le,aw as ne,F as N,V as t,bA as de,c as p,j4 as pe,jo as ce,o as i,n as A,aN as W,y as m,R as $,M as b,jp as he,j5 as ge,cg as xe,p as r,jq as me,bw as we,cT as ue,al as $e,b as be,j9 as fe}from"./index-DaYznKbB.js";import{a as g}from"./sentry-Bp9GtzEp.js";import{n as o,c as D}from"./mui-Bw2IfcWM.js";import{EL as ye}from"./zeni-epic-state-BxNqBiH-.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-6h2ZeMP0.js";import"./liveblocks-DBwZPvBF.js";import"./core-B60xt_9S.js";import"./recharts-DIy4CLtr.js";import"./lottie-C5JCvMhe.js";import"./analytics-C6_KHLMr.js";import"./lexical-ljPdYVBl.js";import"./utils-CUkgdryf.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="ac7fb1ea-0546-4111-bf7a-b024ef3060bd",e._sentryDebugIdIdentifier="sentry-dbid-ac7fb1ea-0546-4111-bf7a-b024ef3060bd")}catch{}})();const Ie=({options:e,selected:a,onToggle:h,containerStyle:l={},optionStyle:y={},thumbStyle:k={}})=>{const w=e.findIndex(n=>n.id===a),u=100/e.length,j=()=>w===0?{left:"1%"}:w===e.length-1?{left:`${(e.length-1)*u}%`}:{left:`${w*u}%`};return t.jsxs(Ae,{style:l,children:[t.jsx(We,{style:{width:`${u-1}%`,...j(),...k}}),e.map(n=>t.jsx(De,{style:y,active:n.id===a,"data-testid":n.dataTestId,onClick:v=>{v.preventDefault(),h(n.id)},children:n.label},n.id))]})},Ae=o.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
width: 100%;
|
|
4
4
|
background: ${e=>e.theme.colors.grey3};
|
package/dist/assets/{AgingReportsPage-CmzapJ6B-BE_Ds6Z2.js → AgingReportsPage-C1CpbCow-DhSWr9lB.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as K,q as O,h_ as _e,V as t,h$ as De,bM as Ne,i0 as ve,bB as Oe,bA as je,y as D,aa as R,g2 as ke,F as x,o as N,aR as Pe,c as m,aL as Q,cd as Be,ce as $e,cf as Ie,al as Me,cg as Ae,b2 as ne,aB as oe,aT as re}from"./index-
|
|
1
|
+
import{d as K,q as O,h_ as _e,V as t,h$ as De,bM as Ne,i0 as ve,bB as Oe,bA as je,y as D,aa as R,g2 as ke,F as x,o as N,aR as Pe,c as m,aL as Q,cd as Be,ce as $e,cf as Ie,al as Me,cg as Ae,b2 as ne,aB as oe,aT as re}from"./index-DaYznKbB.js";import{a as f}from"./sentry-Bp9GtzEp.js";import{n as y}from"./mui-Bw2IfcWM.js";import{bh as T,FW as Ye}from"./zeni-epic-state-BxNqBiH-.js";import{n as M}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{L as ze,k as Le}from"./ArAgingChart-BNoQoaPh-DNxFLSB2.js";import{C as ie}from"./NoDataChart-DbLSGWgH-L8CdjQWY.js";import{I as se,R as $}from"./CollapsableReportTable-BnxJMwQF-sE8ho7Bl.js";import{d as le}from"./NoDataTable-BYLV7sLq-CgYIQzXe.js";import{l as ce}from"./mapSpacerToTreeNode-UVFWXY4N-D0YtCjzg.js";import{l as Ee}from"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";import"./liveblocks-DBwZPvBF.js";import"./core-B60xt_9S.js";import"./recharts-DIy4CLtr.js";import"./lottie-C5JCvMhe.js";import"./analytics-C6_KHLMr.js";import"./lexical-ljPdYVBl.js";import"./utils-CUkgdryf.js";import"./chartTypes-9YOqgm9X-C6LFFFRd.js";import"./AccountRow-DqfBv7EN-CVLrdkv9.js";import"./graphic-no-data-l-DU4J8fDt-DgTcVZZu.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]="fcf24723-4fa0-4b27-97a0-5a3d5c1556af",e._sentryDebugIdIdentifier="sentry-dbid-fcf24723-4fa0-4b27-97a0-5a3d5c1556af")}catch{}})();const Re={chartHeight:new D(288,360)},de=y.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
`,ge=y.div`
|
|
4
4
|
display: flex;
|
|
@@ -16,7 +16,7 @@ import{d as K,q as O,h_ as _e,V as t,h$ as De,bM as Ne,i0 as ve,bB as Oe,bA as j
|
|
|
16
16
|
`,he=y.div`
|
|
17
17
|
width: 100%;
|
|
18
18
|
height: calc(100vh - ${N.sp11});
|
|
19
|
-
`;function We({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){return e.reportId==="accounts_payable_aging"?t.jsx(Je,{report:e,onSortOrderChange:a,onEntityNameClick:o}):t.jsx(Ve,{report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i})}function Je({report:e,onSortOrderChange:a,onEntityNameClick:o}){const[i,s]=f.useState(void 0),[n,c]=f.useState(void 0),l=O(),r=K(),u=!(l==="small"||l==="medium-compact"),p=f.useCallback((d,g)=>{a(d,g)},[a]);return f.useEffect(()=>{const d={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.apAgingUIState.sortKey,sortOrder:e.apAgingUIState.sortOrder,onSortOrderChanged:p,onEntityNameClick:o}};if(n==null||!oe(i,e)){const g=Ge(e,d,u);s(e),c(g)}else{const g=ue(n,d,e,u);c(g)}},[e,p]),e.agingBalances.length===0?t.jsx(A,{windowSize:l,children:t.jsx(le,{})}):n!=null?t.jsx(A,{windowSize:l,children:t.jsx(he,{numOfRows:e.agingBalances.length,children:t.jsx(se,{backgroundColor:new re(r.colors.grey4),rootNodes:n,type:"name+balances_actual",isSticky:{isStickyHeader:u,isStickyName:u},treeNodePadding:{left:v.contentPaddingLeft.value(l),right:v.contentPaddingRight.value(l)},nodeOpenStatus:{},compareMode:"compare_mode_amount"})})}):null}function Ve({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){const[s,n]=f.useState(void 0),[c,l]=f.useState(void 0),r=O(),u=K(),p=!(r==="small"||r==="medium-compact"),d=f.useCallback((g,
|
|
19
|
+
`;function We({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){return e.reportId==="accounts_payable_aging"?t.jsx(Je,{report:e,onSortOrderChange:a,onEntityNameClick:o}):t.jsx(Ve,{report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i})}function Je({report:e,onSortOrderChange:a,onEntityNameClick:o}){const[i,s]=f.useState(void 0),[n,c]=f.useState(void 0),l=O(),r=K(),u=!(l==="small"||l==="medium-compact"),p=f.useCallback((d,g)=>{a(d,g)},[a]);return f.useEffect(()=>{const d={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.apAgingUIState.sortKey,sortOrder:e.apAgingUIState.sortOrder,onSortOrderChanged:p,onEntityNameClick:o}};if(n==null||!oe(i,e)){const g=Ge(e,d,u);s(e),c(g)}else{const g=ue(n,d,e,u);c(g)}},[e,p]),e.agingBalances.length===0?t.jsx(A,{windowSize:l,children:t.jsx(le,{})}):n!=null?t.jsx(A,{windowSize:l,children:t.jsx(he,{numOfRows:e.agingBalances.length,children:t.jsx(se,{backgroundColor:new re(r.colors.grey4),rootNodes:n,type:"name+balances_actual",isSticky:{isStickyHeader:u,isStickyName:u},treeNodePadding:{left:v.contentPaddingLeft.value(l),right:v.contentPaddingRight.value(l)},nodeOpenStatus:{},compareMode:"compare_mode_amount"})})}):null}function Ve({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){const[s,n]=f.useState(void 0),[c,l]=f.useState(void 0),r=O(),u=K(),p=!(r==="small"||r==="medium-compact"),d=f.useCallback((g,b)=>{a(g,b)},[a]);return f.useEffect(()=>{const g={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.arAgingUIState.sortKey,sortOrder:e.arAgingUIState.sortOrder,onSortOrderChanged:d,onEntityNameClick:o}};if(c==null||!oe(s,e)){const b=He(e,g,p);n(e),l(b)}else{const b=ue(c,g,e,p);l(b)}},[e,d]),e.agingBalances.length===0?t.jsx(A,{windowSize:r,children:t.jsx(le,{})}):c!=null?t.jsx(A,{windowSize:r,children:t.jsx(he,{numOfRows:e.agingBalances.length,children:t.jsx(se,{backgroundColor:new re(u.colors.grey4),rootNodes:c,type:"name+balances_actual",isSticky:{isStickyHeader:p,isStickyName:p},treeNodePadding:{left:v.contentPaddingLeft.value(r),right:v.contentPaddingRight.value(r)},nodeOpenStatus:e.arAgingUIState.nodeCollapseState,onNodeCollapseToggled:i,compareMode:"compare_mode_amount"})})}):null}const Ze={summaryColumnGap:new D(m[2],m[1],m[1],m[2],m[6])},Qe=y.div`
|
|
20
20
|
display: flex;
|
|
21
21
|
width: 100%;
|
|
22
22
|
justify-content: space-between;
|
|
@@ -34,7 +34,7 @@ import{d as K,q as O,h_ as _e,V as t,h$ as De,bM as Ne,i0 as ve,bB as Oe,bA as j
|
|
|
34
34
|
width: fit-content;
|
|
35
35
|
`,te=y(Ae)`
|
|
36
36
|
color: ${e=>e.theme.colors.primary};
|
|
37
|
-
`;function Xe({totalBalances:e,reportId:a}){const o=f.useMemo(()=>Ee(e),[e]),i=O();return t.jsxs(Qe,{windowSize:i,children:[e.map(s=>{const{period:n}=s;return t.jsxs(X,{children:[t.jsx(ee,{children:x.getLocalizedStrings().reports.aging.duration[n]}),t.jsx(te,{children:Q("0,0",s?.balance)})]},n)}),t.jsxs(X,{children:[t.jsx(ee,{children:a==="accounts_payable_aging"?x.getLocalizedStrings().reports.aging.apAging.totalPayable:x.getLocalizedStrings().reports.aging.arAging.totalReceivable}),t.jsx(te,{children:Q("0,0",o?.balance)})]})]})}const q={wrapperPadding:new D(m[3],m[3],m[8]),navbarMarginBottom:new D(m[7],m[4])},{download:F,dateFormat:_,reports:{common:et,aging:B}}=x.getLocalizedStrings();function Bt(e){const a=K(),[o,i]=f.useState(!1),s=O(),{report:n,uiState:c,downloadParams:l,analytics:r,onSelectedDateChanged:u,onBackClick:p,onSearchTextChange:d,onReloadReport:g,onSortOrderChange:
|
|
37
|
+
`;function Xe({totalBalances:e,reportId:a}){const o=f.useMemo(()=>Ee(e),[e]),i=O();return t.jsxs(Qe,{windowSize:i,children:[e.map(s=>{const{period:n}=s;return t.jsxs(X,{children:[t.jsx(ee,{children:x.getLocalizedStrings().reports.aging.duration[n]}),t.jsx(te,{children:Q("0,0",s?.balance)})]},n)}),t.jsxs(X,{children:[t.jsx(ee,{children:a==="accounts_payable_aging"?x.getLocalizedStrings().reports.aging.apAging.totalPayable:x.getLocalizedStrings().reports.aging.arAging.totalReceivable}),t.jsx(te,{children:Q("0,0",o?.balance)})]})]})}const q={wrapperPadding:new D(m[3],m[3],m[8]),navbarMarginBottom:new D(m[7],m[4])},{download:F,dateFormat:_,reports:{common:et,aging:B}}=x.getLocalizedStrings();function Bt(e){const a=K(),[o,i]=f.useState(!1),s=O(),{report:n,uiState:c,downloadParams:l,analytics:r,onSelectedDateChanged:u,onBackClick:p,onSearchTextChange:d,onReloadReport:g,onSortOrderChange:b,onEntityNameClick:fe,updateDownloadStateHandler:Y,onNodeCollapseToggled:ye}=e,{fetchState:j,reportTitle:we,reportId:w}=n,{searchString:k,downloadState:I,sortKey:z,sortOrder:L,selectedDate:S,agingDateSelectionType:G}=c,{authParams:H,downloadEndPoint:W,timezone:J}=l,V=f.useCallback((h,C)=>{const P=ae(C);u(h,P),r.trackAgingReportDateChange(M(w),S!=null?S.format(_.analytics.YYYYDashMMDashDDFormat):T().format(_.analytics.YYYYDashMMDashDDFormat),h.format(_.analytics.YYYYDashMMDashDDFormat),P)},[r,u,w,S]),Z=f.useCallback(h=>{const C=_e({options:B.preComputedDurationOptions.map(({label:E,value:Ce})=>({label:E,value:Ye(Ce)})).filter(({value:E})=>E!=null),selectedDate:h}),P=ae(C);u(h,P),r.trackAgingReportDateChange(M(w),S!=null?S.format(_.analytics.YYYYDashMMDashDDFormat):T().format(_.analytics.YYYYDashMMDashDDFormat),h.format(_.analytics.YYYYDashMMDashDDFormat),P)},[r,u,w,S]),xe=f.useCallback((h,C)=>{b(h,C),r.trackAgingReportSortChange(M(w),C,h)},[r,b,w]),Se=f.useCallback(()=>t.jsx(De,{maxDate:T(),selectedDate:{date:S},precomputedOptionsProperties:{preComputedOptionSelected:ct(G),preComputedOptionDateFormat:_.visual.MMMDCommaYYYYformat,preComputedOptions:B.preComputedDurationOptions,onPreComputedOptionSelected:V},onSelectedDateChanged:Z}),[S,V,Z,G]);if(f.useEffect(()=>{async function h(){const C={companyName:l.companyName,searchString:k,sortKey:z,sortOrder:L,statementFileType:"excel",timezone:J,reportId:w==="accounts_receivable_aging"?"accounts_receivable_aging":"accounts_payable_aging",reportDate:S};await tt(W,H,C),Y("Completed"),r.trackAgingReportDownloadClick(M(w),z,L)}o&&I!=="In-Progress"&&(i(!1),Y("In-Progress"),h())},[H,W,l.companyName,I,o,w,k,z,L,Y,S,r,J]),j==="Error")return t.jsxs(nt,{children:[t.jsx(ot,{onClick:g,children:t.jsx(Ne,{})}),t.jsx(rt,{children:et.failed})]});const be=t.jsxs(t.Fragment,{children:[t.jsx(ve,{isSearchOpen:(k?.length??0)>0,searchPlaceHolder:w==="accounts_payable_aging"?B.apAging.searchPlaceholder:B.arAging.searchPlaceholder,searchText:k??"",onSearchTextChanged:h=>{d(h)},downloadPresent:!0}),t.jsx(Oe,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:I==="In-Progress"}],onDownloadClick:async h=>{if(h==="excel")if(I==="In-Progress"){console.log("Download is already in progress!");return}else i(!0)}}}})]});return t.jsxs(it,{children:[t.jsx(je,{title:we,subTitle:Se(),backgroundColor:a.colors.grey5,onBackClick:p,rightSideComponent:be,downloadPresent:!0,style:{marginBottom:q.navbarMarginBottom.valuePx(s)},source:"AgingReportsPage"}),t.jsx(R,{controller:j==="In-Progress"||j==="Not-Started",children:t.jsx(ke,{fetchState:j})}),t.jsxs(R,{controller:j==="Completed",children:[t.jsx(R,{controller:k.length===0,children:t.jsxs(lt,{windowSize:s,children:[t.jsx(st,{children:t.jsx(Xe,{reportId:w==="accounts_payable_aging"?"accounts_payable_aging":"accounts_receivable_aging",totalBalances:n.totalBalances})}),t.jsx(Te,{report:n})]})}),t.jsx(We,{report:n,onSortOrderChange:xe,onEntityNameClick:fe,onNodeCollapseToggled:ye})]})]})}async function tt(e,a,o){const i=`${e}?query=${encodeURIComponent(JSON.stringify(at(o)))}`,s=B.arAging;try{const n=await Be({urlEndPoint:i,authParams:a,fileType:"excel"});if(n.ok){const c=$e(n.headers,F.defaultFileName),l=await n.arrayBuffer();Ie(l,c)}else console.error(`${F.errorMessages.fileDownloadError.replace("__feature__",s.arAging)} ${n.statusText}`)}catch(n){console.error(`${F.errorMessages.fileDownloadError.replace("__feature__",s.arAging)} ${JSON.stringify(n)}`)}}function at(e){return{statement_file_type:e.statementFileType,search_string:e.searchString,report_id:e.reportId,company_name:e.companyName,locale_id:x.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,report_date:e.reportDate,timezone:e.timezone}}const nt=y.div`
|
|
38
38
|
display: flex;
|
|
39
39
|
width: 100%;
|
|
40
40
|
height: calc(100% - 60px);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{cP as Q,eg as Ie,q as _,V as l,aN as P,y as O,o as i,b8 as re,F as Z,n as ie,al as ne,cX as Pe,cg as Ce,c as L,bR as Se,aH as te,cy as Y,gN as de,fV as R,fS as J,fT as K,fU as ce,fW as pe,a_ as me,gO as Te,p as ue,cW as ge,am as he,eo as Oe,ad as Re}from"./index-
|
|
1
|
+
import{cP as Q,eg as Ie,q as _,V as l,aN as P,y as O,o as i,b8 as re,F as Z,n as ie,al as ne,cX as Pe,cg as Ce,c as L,bR as Se,aH as te,cy as Y,gN as de,fV as R,fS as J,fT as K,fU as ce,fW as pe,a_ as me,gO as Te,p as ue,cW as ge,am as he,eo as Oe,ad as Re}from"./index-DaYznKbB.js";import{n as p}from"./mui-Bw2IfcWM.js";import{FB as ze,bg as X}from"./zeni-epic-state-BxNqBiH-.js";import{a as E}from"./sentry-Bp9GtzEp.js";import{Y as xe}from"./LabeledUserSingleSelectWithSubtitlesField-BOM4OGJn-BHSVUmku.js";import{j as be,C as fe}from"./LabeledZeniRolesDropDownField-CqZGfBlk-CXV9h6nB.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]="51c6380d-5a6b-48be-a9aa-01d6cfeb5504",e._sentryDebugIdIdentifier="sentry-dbid-51c6380d-5a6b-48be-a9aa-01d6cfeb5504")}catch{}})();const M=(e,t)=>`${e}.${t}`,se={largeLabelWidth:new O(120,120,160),toolTipWidth:new O(215,237)},g=Z.getLocalizedStrings().peoplePage,De=({user:e,sectionId:t,mode:o,managersList:a,classList:s,controllersList:h,customerRoleOptions:w,isBankingOnlyTenant:m,isCardsOnlyTenant:f,isEdit:U,person:x,analytics:v})=>{const y=_(),C=se.largeLabelWidth.value(y),{setValue:S}=Q(),D=te(h),$=D.splice(0,1),N=D.reduce((r,n)=>r.concat(`${n.email},`),""),B=E.useMemo(()=>te(Y.roles),[]),u=X(e.role);return E.useEffect(()=>{(u||m||f)&&S("userItems.0.department",{allOptions:[],selectedOption:void 0}),u&&S("userItems.0.manager",{allUsers:[],selectedUser:void 0})},[u,m,f]),l.jsxs(Le,{windowSize:y,"data-testid":P("edit-people-user-item-section"),children:[l.jsx(de,{label:g.invitePage.email,name:M(t,"email"),registerOptions:{required:!0,value:e.email,disabled:!0},placeholder:R(g.addPlaceholderPrefix,g.invitePage.email),style:{paddingTop:i.sp2,paddingBottom:i.sp2}}),l.jsx(G,{}),o==="off"?l.jsxs(l.Fragment,{children:[l.jsx(be,{label:{label:g.invitePage.role,width:C},style:{width:"auto"},rolesDropDownField:{name:M(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(e.role),allRootRole:K(m,f)},productsByUserRole:J(e.role,w)},registerOptions:{required:!0}}}),l.jsx(G,{}),l.jsx(xe,{label:{label:g.invitePage.manager,width:C},showTooltip:!0,toolTipWidth:se.toolTipWidth.valuePx(y),tooltipTitle:l.jsx(ke,{}),userSingleSelectWithSubTitlesField:{name:M(t,"manager"),value:{allUsers:a,selectedUser:e?.managerId?e?.managerId:"no_manager"},valueToSubtitle:r=>{const n=a.findIndex(d=>d.userId===r);if(n!==-1){const d=a[n],j=s.find(k=>k.classId===d.userRole.accountingClassIDs[0]),I=[];return j!=null&&I.push(j.className),I}else return[]},placeholderLabel:u?g.notApplicable:R(g.selectPlaceholderPrefix,g.invitePage.manager),registerOptions:{required:!u},showOneOffLabel:{label:"No Manager",value:"no_manager",position:"top",subtitles:[]},isDisabled:u?"disabled":void 0,isOptionDisabled:r=>r===x?.user?.userId},style:{width:"auto"},isDisabled:u?"disabled":void 0,opacity:u?.32:1}),l.jsx(G,{}),l.jsx(pe,{label:{label:g.invitePage.department,width:C},singleSelectWithoutClearableField:{name:M(t,"department"),defaultValue:{allOptions:s.map(r=>({label:r.fullyQualifiedAccountingClassName??"",value:r.classId,hoverText:r.accountingClassNumber})),selectedOption:s.map(r=>({label:r.fullyQualifiedAccountingClassName??"",value:r.classId,hoverText:r.accountingClassNumber})).find(r=>r.value===e.departmentId)},placeholder:u||m||f?g.notApplicable:R(g.selectPlaceholderPrefix,g.invitePage.department),registerOptions:{required:!u||!(m||f)},isDisabled:u||m||f?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:u||m||f?"disabled":void 0,opacity:u||m||f?.32:1}),U?null:l.jsxs(Ue,{windowSize:y,children:[g.invitePage.controllerText,$[0]?l.jsxs(Ne,{href:`mailto:${$[0].email}?cc=${N}&subject=${encodeURIComponent(g.invitePage.emailSubject)}`,children:[l.jsx("span",{children:`${$[0].firstName} ${$[0].lastName}`}),l.jsx(me,{className:"arrowIcon"})]}):null]})]}):l.jsx(fe,{label:{label:g.invitePage.role,width:C},zeniRolesDropDownField:{name:M(t,"role"),defaultValue:{selectedOptions:e.role,allOptions:B},registerOptions:{required:!0},placeholderLabel:R(g.selectPlaceholderPrefix,g.invitePage.role),isMulti:!0,forZeniUser:!0,onSelectionChanged:r=>{x!=null&&v?.trackRoleChanged(x.userRole.userRoles,r[0],x?.userRole.userEmail)}},style:{width:"auto"}})]})},ke=()=>Z.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,Le=p.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -43,7 +43,7 @@ import{cP as Q,eg as Ie,q as _,V as l,aN as P,y as O,o as i,b8 as re,F as Z,n as
|
|
|
43
43
|
color: ${e=>e.theme.colors.primary};
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
`,F=(e,t)=>`${e}.${t}`,oe={largeLabelWidth:new O(125,140,160),toolTipWidth:new O(246,250)},c=Z.getLocalizedStrings().peoplePage,Fe=({user:e,sectionId:t,mode:o,isZeniTenant:a,managersList:s,classList:h,controllersList:w,index:m,customerRoleOptions:
|
|
46
|
+
`,F=(e,t)=>`${e}.${t}`,oe={largeLabelWidth:new O(125,140,160),toolTipWidth:new O(246,250)},c=Z.getLocalizedStrings().peoplePage,Fe=({user:e,sectionId:t,mode:o,isZeniTenant:a,managersList:s,classList:h,controllersList:w,index:m,customerRoleOptions:f,isEdit:U,isBankingOnlyTenant:x,isCardsOnlyTenant:v})=>{const y=_(),{getValues:C,formState:{errors:S},setValue:D}=Q(),$=oe.largeLabelWidth.value(y),[N,...B]=w,u=B.map(d=>d.email).join(","),r=E.useMemo(()=>Y.roles.filter(d=>!["admin","bookkeeping_admin"].includes(d.value)),[]),n=X(e.role);return E.useEffect(()=>{(n||x||v)&&D(`userItems.${m}.department`,{allOptions:[],selectedOption:void 0}),n&&D(`userItems.${m}.manager`,{allUsers:[],selectedUser:void 0})},[n,x,v]),l.jsxs(Be,{windowSize:y,"data-testid":P("invite-people-user-item-section"),children:[l.jsx(de,{label:c.invitePage.email,name:F(t,"email"),registerOptions:{required:!0,value:e.email,validate:{duplicate:d=>!_e(d,C("userItems"),m),notZeniMail:d=>o==="zeni_only"?!0:a||d.map(j=>!j.match(Te)).reduce((j,I)=>j&&I)}},placeholder:R(c.addPlaceholderPrefix,c.invitePage.email),style:{paddingTop:i.sp2,paddingBottom:i.sp2},additionalInfoLabel:qe(C("userItems"),F(t,"email"),m,o,S)}),l.jsx(q,{}),o==="off"?l.jsxs(l.Fragment,{children:[l.jsx(be,{label:{label:c.invitePage.role,width:$},style:{width:"auto"},rolesDropDownField:{name:F(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(e.role),allRootRole:K(x,v)},productsByUserRole:J(e.role,f)},registerOptions:{required:!0}}}),l.jsx(q,{}),l.jsx(xe,{label:{label:c.invitePage.manager,width:$},showTooltip:!0,toolTipWidth:oe.toolTipWidth.valuePx(y),tooltipTitle:l.jsx(We,{}),userSingleSelectWithSubTitlesField:{name:F(t,"manager"),value:{allUsers:s,selectedUser:e.managerId},valueToSubtitle:d=>{const j=s.findIndex(I=>I.userId===d);if(j!==-1){const I=s[j],k=h.find(T=>T.classId===I.userRole.accountingClassIDs[0]),b=[];return k!=null&&b.push(k.className),b}else return[]},placeholderLabel:n?c.notApplicable:R(c.selectPlaceholderPrefix,c.invitePage.manager),registerOptions:{required:!n},isDisabled:n?"disabled":void 0,showOneOffLabel:{label:"No Manager",value:"no_manager",position:"top",subtitles:[]}},style:{width:"auto",height:e.managerId==null?i.sp8:"74px",boxSizing:"border-box"},isDisabled:n?"disabled":void 0,opacity:n?.32:1}),l.jsx(q,{}),l.jsx(pe,{label:{label:c.invitePage.department,width:$},singleSelectWithoutClearableField:{name:F(t,"department"),defaultValue:{allOptions:h.map(d=>({label:d.fullyQualifiedAccountingClassName??"",value:d.classId,hoverText:d.accountingClassNumber})),selectedOption:h.map(d=>({label:d.fullyQualifiedAccountingClassName??"",value:d.classId,hoverText:d.accountingClassNumber})).find(d=>d.value===e.departmentId)},placeholder:n||x||v?c.notApplicable:R(c.selectPlaceholderPrefix,c.invitePage.department),registerOptions:{required:!n||!(x||v)},isDisabled:n||x||v?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:n||x||v?"disabled":void 0,opacity:n||x||v?.32:1}),l.jsx(q,{}),U?null:l.jsxs(Me,{windowSize:y,isDisabled:n,children:[c.invitePage.controllerText,N?l.jsx(Ee,{firstController:[N],isInvestorBanker:n,restControllerEmailsStr:u}):null]})]}):l.jsx(fe,{label:{label:c.invitePage.role,width:$},zeniRolesDropDownField:{defaultValue:{allOptions:r,selectedOptions:e.role},name:F(t,"role"),placeholderLabel:R(c.selectPlaceholderPrefix,c.invitePage.role),registerOptions:{required:o==="zeni_only"},isMulti:!1,forZeniUser:!1},style:{width:"auto"}})]})},We=()=>Z.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,_e=(e,t,o)=>{const a=t.filter(s=>s.userIndex!==o).map(s=>s.email).flat();return a.length>0&&e.every(s=>a.includes(s))},Be=p.div`
|
|
47
47
|
display: flex;
|
|
48
48
|
flex-direction: column;
|
|
49
49
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -92,7 +92,7 @@ import{cP as Q,eg as Ie,q as _,V as l,aN as P,y as O,o as i,b8 as re,F as Z,n as
|
|
|
92
92
|
`,qe=(e,t,o,a,s)=>{if(Oe(s,t)&&s?.userItems&&s?.userItems[o]?.email)switch(s?.userItems[o]?.email.type){case"required":return c.invitePage.defaultHelpText;case"pattern":return e[o].email.forEach(h=>{if(!Re.test(h))return c.invitePage.defaultHelpText}),a==="zeni_only"?c.invitePage.otherThanZeniMailIDForZeniModeText:c.invitePage.zeniMailIDForNormalModeText;case"duplicate":return c.invitePage.emailAlreadyExist;case"notZeniMail":return c.invitePage.zeniMailIDForNormalModeText;case"validate":return c.invitePage.defaultHelpText;default:return}},Ee=({isInvestorBanker:e,firstController:t,restControllerEmailsStr:o})=>{let a="";const s=t[0];return s?.firstName&&s?.lastName?a=`${s?.firstName} ${s?.lastName}`:s?.firstName?a=s?.firstName:s?.lastName?a=s?.lastName:a=s?.email??"",l.jsxs(Ze,{isDisabled:e,href:e?void 0:`mailto:${t[0]?.email}?cc=${o}&subject=${encodeURIComponent(c.invitePage.emailSubject)}`,children:[l.jsx("span",{children:a}),l.jsx(me,{className:"arrowIcon"})]})},Ve=e=>l.jsx(Ae,{style:e.style,"data-testid":P("user-item-section"),children:e.isEdit?l.jsx(De,{...e}):l.jsx(Fe,{...e})}),Ae=p.div`
|
|
93
93
|
display: flex;
|
|
94
94
|
flex-direction: column;
|
|
95
|
-
`,W={buttonWidth:new O(70,70),marginBottom:new O(12,L[3]),deleteContentMarginLeft:new O(L[0],L[3]),containerPaddingTop:new O(L[0],L[3]),addUserWrapperGap:new O(L[1],L[2])},He=(e,t,o,a,s,h,w)=>({userIndex:e,email:[],role:a==="zeni_only"?{allOptions:Y.roles,selectedOptions:[]}:void 0,nonZeniRole:a!=="zeni_only"?{userRole:{selectedRole:void 0,allRootRole:K(h,w)},productsByUserRole:J([],s)}:void 0,manager:{allUsers:t,selectedUser:void 0},department:{allOptions:o.map(m=>({label:m.className,value:m.classId})),selectedOption:void 0}}),z=Z.getLocalizedStrings().peoplePage,gl=({isDisabled:e,control:t,deleteConfirmationIndex:o,updateDeleteConfirmationIndex:a,style:s,sectionId:h,mode:w,isZeniTenant:m,managersList:
|
|
95
|
+
`,W={buttonWidth:new O(70,70),marginBottom:new O(12,L[3]),deleteContentMarginLeft:new O(L[0],L[3]),containerPaddingTop:new O(L[0],L[3]),addUserWrapperGap:new O(L[1],L[2])},He=(e,t,o,a,s,h,w)=>({userIndex:e,email:[],role:a==="zeni_only"?{allOptions:Y.roles,selectedOptions:[]}:void 0,nonZeniRole:a!=="zeni_only"?{userRole:{selectedRole:void 0,allRootRole:K(h,w)},productsByUserRole:J([],s)}:void 0,manager:{allUsers:t,selectedUser:void 0},department:{allOptions:o.map(m=>({label:m.className,value:m.classId})),selectedOption:void 0}}),z=Z.getLocalizedStrings().peoplePage,gl=({isDisabled:e,control:t,deleteConfirmationIndex:o,updateDeleteConfirmationIndex:a,style:s,sectionId:h,mode:w,isZeniTenant:m,managersList:f,classList:U,controllersList:x,customerRoleOptions:v,isBankingOnlyTenant:y,isCardsOnlyTenant:C,isEdit:S=!1,person:D,analytics:$})=>{const{getValues:N}=Q(),{append:B,remove:u}=Ie({name:h,control:t}),r=_(),n=N().userItems,d=()=>{const b=n.length-1,T=He(b+1,f,U,w,v,y,C);setTimeout(()=>B(T,{shouldFocus:!0}))},j=b=>{a(b)},I=()=>{a(-1)},k=()=>{setTimeout(()=>u(o)),a(-1)};return l.jsxs(Je,{style:s,windowSize:r,"data-testid":P("user-items"),children:[n.length>0?n.map((b,T)=>{const je=n.length;let V={};if(w==="zeni_only")V={email:b.email,role:Ye(b.role.selectedOptions,S)??void 0};else{const ee=b.nonZeniRole?.userRole.selectedRole,A=ee!=null?(b.nonZeniRole?.productsByUserRole[ee]??[]).map(H=>ze(H.selectedOption?.value)).filter(H=>H!=null):[],le=A.length>0?X(A):!1;V={email:b.email,role:A,managerId:le?void 0:b.manager?.selectedUser,departmentId:le?void 0:b.department?.selectedOption?.value}}return l.jsxs(Ke,{"data-testid":P("user-item",b.userIndex.toString()),children:[S?null:l.jsx(l.Fragment,{children:je>1?l.jsx(ae,{windowSize:r,children:l.jsx(Ge,{curIndex:T,isDisabled:e,deleteConfirmationIndex:o,onDeleteClick:j,onCancelClick:I,onRemoveUserItem:k})}):l.jsx(ae,{windowSize:r,children:l.jsx(ye,{children:l.jsx($e,{children:l.jsx(we,{windowSize:r,children:z.invitePage.user})})})})}),l.jsx(Ve,{isDisabled:e,sectionId:`${h}.${T}`,control:t,user:V,mode:w,isZeniTenant:m,managersList:f,classList:U,controllersList:x,customerRoleOptions:v,isBankingOnlyTenant:y,isCardsOnlyTenant:C,isEdit:S,person:D,analytics:$,index:T}),o===T&&r==="small"?l.jsx(ll,{children:l.jsx(ve,{onCancelClick:I,onRemoveUserItem:k})}):null]},T)}):null,S?null:l.jsxs(ol,{"data-testid":P("all-user-items-add-user-button"),windowSize:r,onClick:()=>{d?.()},children:[l.jsx(al,{}),l.jsx(rl,{children:`${z.invitePage.add} ${z.invitePage.user}`})]})]})},Ge=({curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s,isDisabled:h})=>{const w=_();return l.jsxs(ye,{children:[l.jsx($e,{children:l.jsx(we,{windowSize:w,children:`#${e+1} ${z.invitePage.user}`})}),h===void 0?l.jsx(Qe,{curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s}):null]})},Qe=({curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s})=>{const h=_();return l.jsx(l.Fragment,{children:h==="small"?l.jsx(l.Fragment,{children:t!==e?l.jsx(sl,{"data-testid":P("delete-icon",e.toString()),onClick:()=>o(e)}):null}):l.jsx(l.Fragment,{children:t===e?l.jsx(el,{children:l.jsx(ve,{onCancelClick:a,onRemoveUserItem:s})}):l.jsx(Xe,{"data-testid":P("all-user-items-delete-icon-wrapper"),className:"delete-icon-wrapper",onClick:()=>o(e),children:l.jsx(Se,{style:{padding:"2px 5px"},enterDelay:600,title:z.invitePage.remove,placement:"left",children:l.jsx(tl,{})})})})})},ve=({onCancelClick:e,onRemoveUserItem:t})=>{const o=_();return l.jsxs(l.Fragment,{children:[z.invitePage.deleteConfirmation,l.jsxs(il,{windowSize:o,"data-testid":P("delete-confirmation-wrapper"),children:[l.jsx(ie,{"data-testid":P("delete-confirmation-cancel-button"),label:z.invitePage.cancel,onClick:e,style:{width:W.buttonWidth.value(o),marginRight:i.sp3},size:"small",variant:"secondary"}),l.jsx(ie,{"data-testid":P("delete-confirmation-remove-button"),label:z.invitePage.remove,onClick:t,style:{width:W.buttonWidth.value(o)},size:"small",variant:"danger"})]})]})},Ye=(e,t)=>t?e:e!=null?[e]:[],Je=p.div`
|
|
96
96
|
display: flex;
|
|
97
97
|
flex-direction: column;
|
|
98
98
|
padding-top: ${e=>W.containerPaddingTop.valuePx(e.windowSize)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as O,q as B,F as g,V as o,bM as H,g2 as q,bA as K,ck as U,o as T,aR as J,bB as V,y as A,cd as W,ce as G,cf as Z,c as u}from"./index-
|
|
1
|
+
import{d as O,q as B,F as g,V as o,bM as H,g2 as q,bA as K,ck as U,o as T,aR as J,bB as V,y as A,cd as W,ce as G,cf as Z,c as u}from"./index-DaYznKbB.js";import{a as _}from"./sentry-Bp9GtzEp.js";import{n as i}from"./mui-Bw2IfcWM.js";import{W as Q,L as X}from"./EntitySummarySection-DOkXIw-J-Dyl-9BSn.js";import"./liveblocks-DBwZPvBF.js";import"./core-B60xt_9S.js";import"./recharts-DIy4CLtr.js";import"./zeni-epic-state-BxNqBiH-.js";import"./lottie-C5JCvMhe.js";import"./analytics-C6_KHLMr.js";import"./lexical-ljPdYVBl.js";import"./utils-CUkgdryf.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]="6ccf2327-de3b-4286-9762-4096b122198c",e._sentryDebugIdIdentifier="sentry-dbid-6ccf2327-de3b-4286-9762-4096b122198c")}catch{}})();const S={wrapperContainerMarginTop:new A(u[4],u[0]),wrapperContaineHorizontalrMargin:new A(u[0],u[8])},ee=i.div`
|
|
2
2
|
height: 100%;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -28,13 +28,13 @@ import{d as O,q as B,F as g,V as o,bM as H,g2 as q,bA as K,ck as U,o as T,aR as
|
|
|
28
28
|
`,re=i(J)`
|
|
29
29
|
margin-top: ${T.sp3};
|
|
30
30
|
color: ${e=>e.theme.colors.hero};
|
|
31
|
-
`,
|
|
31
|
+
`,ne=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
|
+
`,ae=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 O,q as B,F as g,V as o,bM as H,g2 as q,bA as K,ck as U,o as T,aR as
|
|
|
43
43
|
margin-left: ${e=>S.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
|
|
44
44
|
margin-right: ${e=>S.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
|
|
45
45
|
height: 100%;
|
|
46
|
-
`;function _e(e){const s=O(),l=B(),h=g.getLocalizedStrings().common,p=g.getLocalizedStrings().reports.common,{apAgingDetail:r,downloadParams:
|
|
46
|
+
`;function _e(e){const s=O(),l=B(),h=g.getLocalizedStrings().common,p=g.getLocalizedStrings().reports.common,{apAgingDetail:r,downloadParams:n,reportDate:t,analytics:d,onReload:w,onBackClick:L,onColumnSortConfigChanged:v,updateDownloadStateHandler:x,onTransactionClick:N}=e,{authParams:C,downloadEndPoint:k,timezone:I}=n,{fetchState:m,invoices:$,apAgingDetailUIState:z,vendor:a,totalBalances:E}=r,{sortKey:D,sortOrder:b,downloadState:y}=z,[j,P]=_.useState(!1),M=g.getLocalizedStrings(),F=M.reports.aging.agingDetail,R=_.useCallback((c,f)=>{r.vendor!=null&&d.trackApAgingDetailReportSortChange(c,f,t.format(M.dateFormat.analytics.YYYYDashMMDashDDFormat),r.vendor.id,r.vendor.name),v(c,f)},[d,r.vendor,t,v]);if(_.useEffect(()=>{async function c(){const f={companyName:n.companyName,sortKey:D,sortOrder:b,statementFileType:"excel",reportId:"accounts_payable_aging",entityId:a?.id??"",timezone:I,reportDate:t};await se(k,C,f),x("Completed"),r.vendor!=null&&d.trackApAgingDetailReportDownload(D,b,t.format(g.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat),r.vendor.id,r.vendor.name)}j&&y!=="In-Progress"&&(P(!1),x("In-Progress"),c())},[d,r.vendor,C,k,n.companyName,y,j,t,D,b,I,x,a?.id]),m==="Error")return o.jsxs(oe,{children:[o.jsx(te,{onClick:w,children:o.jsx(H,{})}),o.jsx(re,{children:p.failed})]});if(m==="In-Progress"||m==="Not-Started")return o.jsx(q,{fetchState:m});const Y=o.jsx(V,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:y==="In-Progress"}],onDownloadClick:async c=>{if(c==="excel")if(y==="In-Progress"){console.log("Download is already in progress!");return}else P(!0)}}}});return o.jsxs(ne,{children:[o.jsx(K,{title:h.strings.empty,backgroundColor:s.colors.grey5,onBackClick:L,rightSideComponent:Y,source:"ApAgingDetailPage"}),o.jsx(Q,{totalBalances:E,entityName:a?.name??"",entityLogo:a?.logo,reportId:"accounts_payable_aging",reportDate:t}),o.jsx(ae,{windowSize:l,children:o.jsx(ie,{windowSize:l,children:$.length===0||a==null?o.jsx(U,{message:F.noDataText}):o.jsx(ee,{windowSize:l,children:o.jsx(X,{uiState:z,invoices:$,entityName:a.name,entityLogo:a.logo,onColumnSortConfigChanged:R,onTransactionClick:N})})})})]})}async function se(e,s,l){const h=`${e}?query=${encodeURIComponent(JSON.stringify(le(l)))}`,p=g.getLocalizedStrings(),r=p.reports.aging.apAging.apAging,n=p.download;try{const t=await W({urlEndPoint:h,authParams:s,fileType:"excel"});if(t.ok){const d=G(t.headers,n.defaultFileName),w=await t.arrayBuffer();Z(w,d)}else console.error(`${n.errorMessages.fileDownloadError.replace("__feature__",r)} ${t.statusText}`)}catch(t){console.error(`${n.errorMessages.fileDownloadError.replace("__feature__",r)} ${JSON.stringify(t)}`)}}function le(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:g.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}export{_e as default,le as toDownloadAgingDetailedReportOptionsPayload};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,q as m,L as x,o as r,y as d,p as a,aR as g,F as u,bo as $,cU as b,dJ as f,cT as w}from"./index-
|
|
1
|
+
import{V as t,q as m,L as x,o as r,y as d,p as a,aR as g,F as u,bo as $,cU as b,dJ as f,cT as w}from"./index-DaYznKbB.js";import{n as i,k as y}from"./mui-Bw2IfcWM.js";import{a as j}from"./sentry-Bp9GtzEp.js";import"./liveblocks-DBwZPvBF.js";import"./core-B60xt_9S.js";import"./recharts-DIy4CLtr.js";import"./zeni-epic-state-BxNqBiH-.js";import"./lottie-C5JCvMhe.js";import"./analytics-C6_KHLMr.js";import"./lexical-ljPdYVBl.js";import"./utils-CUkgdryf.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="c8b24b29-5205-4a32-b5e7-5210bac75713",e._sentryDebugIdIdentifier="sentry-dbid-c8b24b29-5205-4a32-b5e7-5210bac75713")}catch{}})();const l={maxWidth:new d(280,322),contentMaxWidth:new d(200,250)},k=y`
|
|
2
2
|
0% {
|
|
3
3
|
transform: translateX(100%)
|
|
4
4
|
}
|
package/dist/assets/{AppDrawerContent-D4EVpqHP-BmaUeIR8.js → AppDrawerContent-B1y_D31O-P0fNyfka.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aw as te,N as ae,t as k,bi as se,V as n,bj as oe,bk as le,bl as re,bm as de,aa as ce,bn as ue,o as t,bo as pe,aX as b,b4 as m}from"./index-
|
|
1
|
+
import{aw as te,N as ae,t as k,bi as se,V as n,bj as oe,bk as le,bl as re,bm as de,aa as ce,bn as ue,o as t,bo as pe,aX as b,b4 as m}from"./index-DaYznKbB.js";import{a as o,S as be}from"./sentry-Bp9GtzEp.js";import{n as l}from"./mui-Bw2IfcWM.js";import{bk as me}from"./zeni-epic-state-BxNqBiH-.js";import{v as fe}from"./DashboardSidebarBackgroundAnimation-mksYvmzi-DAtUhXcm.js";import"./liveblocks-DBwZPvBF.js";import"./core-B60xt_9S.js";import"./recharts-DIy4CLtr.js";import"./lottie-C5JCvMhe.js";import"./analytics-C6_KHLMr.js";import"./lexical-ljPdYVBl.js";import"./utils-CUkgdryf.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]="ddc5baba-6d53-4250-8108-9df41986971e",e._sentryDebugIdIdentifier="sentry-dbid-ddc5baba-6d53-4250-8108-9df41986971e")}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(m,{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};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as H,q as U,aw as V,F as p,aT as x,V as t,bA as E,k as q,fq as v,dB as S,y as d,o as j,am as G,b as k,c as o}from"./index-
|
|
1
|
+
import{d as H,q as U,aw as V,F as p,aT as x,V as t,bA as E,k as q,fq as v,dB as S,y as d,o as j,am as G,b as k,c as o}from"./index-DaYznKbB.js";import{n as l}from"./mui-Bw2IfcWM.js";import{Fy as J,Fz as N}from"./zeni-epic-state-BxNqBiH-.js";import"./sentry-Bp9GtzEp.js";import"./liveblocks-DBwZPvBF.js";import"./core-B60xt_9S.js";import"./recharts-DIy4CLtr.js";import"./lottie-C5JCvMhe.js";import"./analytics-C6_KHLMr.js";import"./lexical-ljPdYVBl.js";import"./utils-CUkgdryf.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]="92b75075-9c5e-4906-80d5-22612bd59ea7",e._sentryDebugIdIdentifier="sentry-dbid-92b75075-9c5e-4906-80d5-22612bd59ea7")}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:T})=>{const r=H(),i=U(),u=V(),{fetchState:g,allApprovalRules:m,approvalRulesStatus:z}=e,{fetchState:h,allApprovalRules:f,approvalRulesStatus:A}=a,{commonSetUp:C,spendManagement:B}=p.getLocalizedStrings(),w=p.getLocalizedStrings().common.settings,y=p.getLocalizedStrings().common.headers,{billPay:$,reimbursement:M}=B,{billPaySetup:L}=$,{reimbursementSetup:W}=M,{setUp:s}=C,D=g==="In-Progress"||h==="In-Progress"||g==="Not-Started"||h==="Not-Started",b=r.mode==="light"?new x(r.colors.brandColorJadeLight):new x(r.colors.brandColorJadeDark),_=J(c,u.loggedInUserRoleMap),F=N(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:D?t.jsx(Y,{children:t.jsx(q,{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:[_===!0&&t.jsx(v,{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:b},onClick:I,status:m.length>0?z:void 0}),F===!0&&t.jsx(v,{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:b},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},onClick:T,status:f.length>0?A: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 f,d5 as k,d as z,b2 as N,c as S,b as w,aW as T,d6 as P,d7 as I,p as h,o as x,al as q}from"./index-
|
|
1
|
+
import{V as i,F as f,d5 as k,d as z,b2 as N,c as S,b as w,aW as T,d6 as P,d7 as I,p as h,o as x,al as q}from"./index-DaYznKbB.js";import{a as C,S as H}from"./sentry-Bp9GtzEp.js";import{n as j}from"./mui-Bw2IfcWM.js";import{l as v,_ as K,h as R,m as J,u as L}from"./chartTypes-9YOqgm9X-C6LFFFRd.js";import{bm as D,Fi as B}from"./zeni-epic-state-BxNqBiH-.js";import{N as V,I as W,X as A,Y as G,J as _,K as F}from"./recharts-DIy4CLtr.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]="5dd0dff9-b8ca-437a-9c0a-73f83b2de69a",e._sentryDebugIdIdentifier="sentry-dbid-5dd0dff9-b8ca-437a-9c0a-73f83b2de69a")}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,d5 as k,d as z,b2 as N,c as S,b as w,aW as T,d6 as P,d7 as
|
|
|
15
15
|
width: 100%;
|
|
16
16
|
height: 1px;
|
|
17
17
|
background-color: ${h.neutralGrey3Dark};
|
|
18
|
-
`,ee=({active:e,payload:
|
|
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:f.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:`${f.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),X=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,X-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=>f.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=f.getLocalizedStrings().reports.aging.duration[t];if(Object.keys(n).length>X){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 p=O(d);return r.push(...p),{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:
|
|
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 p=g.record;return(p[a]?.amount!=null?p[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(N,{children:({height:d,width:l})=>i.jsxs(V,{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(W,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:u.colors.grey3}),i.jsx(A,{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=>T("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=R(e),t=f.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 Y=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,Y-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=>f.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=f.getLocalizedStrings().reports.aging.duration[t];if(Object.keys(n).length>Y){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 p=$(d);return r.push(...p),{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:
|
|
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 p=g.record;return(p[a]?.amount!=null?p[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(N,{children:({height:d,width:l})=>i.jsxs(V,{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(W,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:u.colors.grey3}),i.jsx(A,{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=>T("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=R(e),t=f.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};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as Y,q as F,V as o,bM as L,g2 as O,bA as B,ck as H,F as S,o as A,aR as q,bB as K,y as z,cd as U,ce as J,cf as V,c as y}from"./index-
|
|
1
|
+
import{d as Y,q as F,V as o,bM as L,g2 as O,bA as B,ck as H,F as S,o as A,aR as q,bB as K,y as z,cd as U,ce as J,cf as V,c as y}from"./index-DaYznKbB.js";import{a as _}from"./sentry-Bp9GtzEp.js";import{n as s}from"./mui-Bw2IfcWM.js";import{W,L as G}from"./EntitySummarySection-DOkXIw-J-Dyl-9BSn.js";import"./liveblocks-DBwZPvBF.js";import"./core-B60xt_9S.js";import"./recharts-DIy4CLtr.js";import"./zeni-epic-state-BxNqBiH-.js";import"./lottie-C5JCvMhe.js";import"./analytics-C6_KHLMr.js";import"./lexical-ljPdYVBl.js";import"./utils-CUkgdryf.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:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="f04dcf40-d692-4d6d-a041-dd32d716a0e3",e._sentryDebugIdIdentifier="sentry-dbid-f04dcf40-d692-4d6d-a041-dd32d716a0e3")}catch{}})();const b={wrapperContainerMarginTop:new z(y[4],y[0]),wrapperContaineHorizontalrMargin:new z(y[0],y[8])},{common:X,reports:{common:Z,aging:{agingDetail:Q}},dateFormat:M}=S.getLocalizedStrings();function be(e){const l=Y(),d=F(),{arAgingDetail:r,downloadParams:c,reportDate:t,analytics:a,onReload:n,onBackClick:h,onColumnSortConfigChanged:m,updateDownloadStateHandler:w,onTransactionClick:N}=e,{authParams:k,downloadEndPoint:C,timezone:I}=c,{fetchState:p,invoices:v,arAgingDetailUIState:$,customer:i,totalBalances:T}=r,{sortKey:x,sortOrder:D,downloadState:u}=$,[P,j]=_.useState(!1),E=_.useCallback((g,f)=>{r.customer!=null&&a.trackArAgingDetailReportSortChange(g,f,t.format(M.analytics.YYYYDashMMDashDDFormat),r.customer.id,r.customer.name),m(g,f)},[r.customer,m,a,t]);if(_.useEffect(()=>{async function g(){const f={companyName:c.companyName,sortKey:x,sortOrder:D,statementFileType:"excel",reportId:"accounts_receivable_aging",entityId:i?.id??"",timezone:I,reportDate:t};await ee(C,k,f),w("Completed"),r.customer!=null&&a.trackApAgingDetailReportDownload(x,D,t.format(M.analytics.YYYYDashMMDashDDFormat),r.customer.id,r.customer.name)}P&&u!=="In-Progress"&&(j(!1),w("In-Progress"),g())},[k,C,c.companyName,u,P,t,x,D,I,w,i?.id,r.customer,a]),p==="Error")return o.jsxs(te,{children:[o.jsx(ae,{onClick:n,children:o.jsx(L,{})}),o.jsx(ne,{children:Z.failed})]});if(p==="In-Progress"||p==="Not-Started")return o.jsx(O,{fetchState:p});const R=o.jsx(K,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:u==="In-Progress"}],onDownloadClick:async g=>{if(g==="excel")if(u==="In-Progress"){console.log("Download is already in progress!");return}else j(!0)}}}});return o.jsxs(ie,{children:[o.jsx(B,{title:X.strings.empty,backgroundColor:l.colors.grey5,onBackClick:h,rightSideComponent:R,downloadPresent:!0,source:"ArAgingDetailPage"}),o.jsx(W,{totalBalances:T,entityName:i?.name??"",entityLogo:i?.logo,reportId:"accounts_receivable_aging",reportDate:t}),o.jsx(se,{windowSize:d,children:o.jsx(le,{windowSize:d,children:v.length===0||i==null?o.jsx(H,{message:Q.noDataText}):o.jsx(re,{windowSize:d,children:o.jsx(G,{uiState:$,invoices:v,entityName:i.name,entityLogo:i.logo,onColumnSortConfigChanged:E,onTransactionClick:N})})})})]})}async function ee(e,l,d){const r=`${e}?query=${encodeURIComponent(JSON.stringify(oe(d)))}`,c=S.getLocalizedStrings(),t=c.reports.aging.arAging.arAging,a=c.download;try{const n=await U({urlEndPoint:r,authParams:l,fileType:"excel"});if(n.ok){const h=J(n.headers,a.defaultFileName),m=await n.arrayBuffer();V(m,h)}else console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",t)} ${n.statusText}`)}catch(n){console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",t)} ${JSON.stringify(n)}`)}}function oe(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:S.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}const re=s.div`
|
|
2
2
|
height: 100%;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|