@zeniai/web-cockpit-ui 1.14.93-qa → 1.14.94-next
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-Cmt4zlsa-CDZiD7uq.js → ACHDetailsPage--3bIj7tB-B-cvJvLN.js} +1 -1
- package/dist/assets/{AIPerformancePage-Bll3cTy1-b27VXKt9.js → AIPerformancePage-DBCeKLy6-DFFbwwM6.js} +1 -1
- package/dist/assets/AccountInfoPage-CITo61GF-CRm-JDWp.js +18 -0
- package/dist/assets/{AccountInfoPageContent-9wbA8niq-BQPlrhif.js → AccountInfoPageContent-Zb49sPy6-C7Aly5A6.js} +1 -1
- package/dist/assets/{AccountLockedInfoModal-CLvVkdLW-DCJDL5e-.js → AccountLockedInfoModal-BcokXO2D-B1o5sFM-.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-BXa1TZA0-CAajw4V5.js → AccountReconDetailsDrawerPage-BWydimgX-DGoLgIz3.js} +3 -3
- package/dist/assets/{AccountRow-Ba39SxP8-BDy0Ghaj.js → AccountRow-XnGMYfcj-D4Lt4mO-.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-W5TW8HPU-BTkK4mI8.js → AccountsPromoCardStack-BQeRFxKs-C-eXsF95.js} +13 -13
- package/dist/assets/{AddAddressForCardDrawer-nEnaGKnm-CAOQViJ5.js → AddAddressForCardDrawer-DOXNDswm-ChgOyj6z.js} +1 -1
- package/dist/assets/{AddToWalletPage-CQYHG0Yj-0jpf7AZf.js → AddToWalletPage-D4yEGRLZ-BnliXlfi.js} +1 -1
- package/dist/assets/{AgingReportsPage-BWCU11pF-BQ-PtZ_4.js → AgingReportsPage-Bos6Ptg1-BsktasXm.js} +3 -3
- package/dist/assets/{AllUserItems-DPxoQeZA-bZH6ly1p.js → AllUserItems-JjQPLLSr-BHvxRi74.js} +3 -3
- package/dist/assets/{ApAgingDetailPage-cslGsO08-DaNljmbC.js → ApAgingDetailPage-Y4VWhY78-B25xR2w3.js} +2 -2
- package/dist/assets/{AppBasePage-BZINcjPW-BkU74Qad.js → AppBasePage-CaAadL3t-C7E1Qjfz.js} +1 -1
- package/dist/assets/{AppDrawerContent-V7jCH_90-BcsXCj8u.js → AppDrawerContent-BKsLlcGq-rRQyyR6u.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-BC6CLesU-3XYsHbPE.js → ApprovalRulesSettingsPage-sHR8nTbf-CmLWgYFA.js} +1 -1
- package/dist/assets/{ArAgingChart-C7VtW0AI-DEMe1eER.js → ArAgingChart-Cn2M7EaL-nBklyCn9.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-Bttq4jQR-CnsZwMCV.js → ArAgingDetailPage-vdpIT5_o-CRx6BH8C.js} +5 -5
- package/dist/assets/{AttachmentView-BijZrB02-D9PbSyO-.js → AttachmentView-QyMOK54a-CPj8grLk.js} +1 -1
- package/dist/assets/{BankAccountSection-De0m3zrf-BQt18cNm.js → BankAccountSection-BexfgJ02-CI2u-4Q0.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-DoqOr9h0-DbOY-a-J.js → BankAccountWarningSection-MLEqvFgR-DxZ4vpLS.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-BaySatUW-FG6Z5V4J.js → BankConnectionsSettingsPage-DP9KRNaJ-D5Q4c3Pf.js} +1 -1
- package/dist/assets/{BillDetailPage-Bg_3myu0-Ce1Egex3.js → BillDetailPage-jNE4rg05-Dn2k09k2.js} +1 -1
- package/dist/assets/BillPayApprovalRuleDetailPage-C8hROA4_-C3fWJ4zu.js +27 -0
- package/dist/assets/BillPayApprovalRulesPage-BQywFC8e-NvA-LWGL.js +235 -0
- package/dist/assets/{BillPayPromoPage-SUtLQemf-gCiMxmlk.js → BillPayPromoPage-D2OmNki0-D5gdYWDZ.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-BbIjaE2K-DSFxL_SK.js → BillPaySetUpPage-C81gx8-a-BW-_0Pcn.js} +1 -1
- package/dist/assets/{BillingSettingsPage-Bmd6ET1I-DQb7bbNw.js → BillingSettingsPage-CIUisdZK-uy7jNQht.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-CYSMvAbC-BflldkPi.js → BillsBulkReviewDrawerPage-DqjW9AqP-CiV0leFt.js} +1 -1
- package/dist/assets/{BoxItem-B8HVRhgE-CWOe4vur.js → BoxItem-YBSbdQ7d-BhGwJNLA.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-Cn1b1hk4-045nVDqZ.js → BusinessVerificationPage-DeJbdegJ-CWZqqwdY.js} +1 -1
- package/dist/assets/{CardNumberSubText-BcJnpRxI-BBy68c92.js → CardNumberSubText-Bq9G3f38-BfYGwxWa.js} +1 -1
- package/dist/assets/{CashbackDetailPage-BkIotpWn-Dl5OkwTJ.js → CashbackDetailPage-C-0eaJVF-BmDWiW6t.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-kKKhppzB-DdFxPSZ5.js → ChargeCardDetailPage-CBB5up99-Dpc9esSz.js} +21 -21
- package/dist/assets/{ChargeCardListPage-CP778-GK-CbLxjXoj.js → ChargeCardListPage-52TDMfjH-B-jCuhBa.js} +1 -1
- package/dist/assets/{ChargeCardListTable-DBryLHST-WKtHlBqi.js → ChargeCardListTable-BdHKiQtr-NzZNteky.js} +11 -11
- package/dist/assets/ChargeCardPromoPage-D43dBHNx-Bo7Zg5tk.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-m8dUXi38-BoklBBdh.js → ChargeCardSetupPage-CgzI8qMq-DbFDrayE.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-Dq5NpUXk-DFKaCFU_.js → ChargeCardStatementsPage-C1PYOcuH-jh_jTrqF.js} +6 -6
- package/dist/assets/{CheckDepositDrawerPage-BJQ2GSoP-B2ngCuBp.js → CheckDepositDrawerPage-CrYCkxKl-CI81BSCg.js} +1 -1
- package/dist/assets/{CollapsableReportTable-l16Ixpgb-DLPmakbL.js → CollapsableReportTable-CvXUxopt-D14Oil84.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-mKcrRkb5-CKYOdtvi.js → CompanyOfficerDetailsSection-DYAECWJz-iWPtmRpu.js} +1 -1
- package/dist/assets/{CompanyPassportCard-DUwjb7jY-5By1D8Ys.js → CompanyPassportCard-CLoIl-hE-Ze4V8h0O.js} +2 -2
- package/dist/assets/{CompanyPassportPage-mQ_Le1I1-DjufVjcH.js → CompanyPassportPage-B3opPlfY-Cg_-gZzj.js} +13 -13
- package/dist/assets/{CompleteProfile-CesiGAex-CGlxomCD.js → CompleteProfile-DKCP0ZOq-DvgLa4Cs.js} +1 -1
- package/dist/assets/{ConfettiBurst-CXF_94LB-BPT2fe0G.js → ConfettiBurst-Ccs36Y8q-CDYWQyQf.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-BMVOhEEP-BYnaIOr4.js → CreateOrEditVendorPage-CC5jroI_-DmE3YhU_.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-Cl4vJBjO-jN6hG5nU.js → CreditCardPaymentDrawerPage-BNSfaY2k-Cuc0-GLG.js} +1 -1
- package/dist/assets/{CurrencySelectField-CvnrYpdi-2Zo75Egb.js → CurrencySelectField-CfFOlEnM-CjtGRmo5.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-CmengYgm-BvZ0VfeS.js → CustomerOnboardingActivationPage-Cac_xdpd-CIpLgmKf.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-DOZu4r0V-BZXnHxO6.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-hF2fjE7f-C4vs0VMm.js → CustomerOnboardingDetailPageSkeleton-Cktian-X-1gyreCbN.js} +6 -6
- package/dist/assets/{CustomerOnboardingNoStepsPage-B-pbVz1_--ihgoaxq.js → CustomerOnboardingNoStepsPage-BVW1Hd-G-CR3dcRAL.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-CUj-SOSh-C8piDFOY.js → CustomerOnboardingPage-CSTODxiL-Ciaa6mzp.js} +4 -4
- package/dist/assets/{CustomerOnboardingProductSuitePage-DLJg9lqc-BSOnv8FC.js → CustomerOnboardingProductSuitePage-dcjDfxm3-BX6NEFv3.js} +1 -1
- package/dist/assets/{Dashboard-DUBT_4AU-02rhMcb1.js → Dashboard-DHwjF8AD-DrH5k1LE.js} +1 -1
- package/dist/assets/{DashboardReportPage-cTPn6w4q-8aV02WCJ.js → DashboardReportPage-BbFqvGcc-DJqmw77q.js} +10 -10
- package/dist/assets/{DashboardSidebarBackgroundAnimation--y1-phUW-Bt_H2fey.js → DashboardSidebarBackgroundAnimation-Aepv0x8n-DbuAIv3o.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-BJ6rNbQF-VwiYfZOw.js → DepositAccTransactionItem-B6bYU73--q6FqT2l7.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-BXu7yVC4-DHoc-nzx.js → DepositAccTransactionListPage-DdCwnDuw-AJ8eRaix.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-D5wDMrfR-Dnw1Nv9m.js → DomesticWireDetailsPage-DXlw9Ok--D5-9BbyV.js} +1 -1
- package/dist/assets/{DownloadOverlay-BF8Uzj65-DU4IzGTl.js → DownloadOverlay-KKP34aVT-TIusvHx3.js} +1 -1
- package/dist/assets/{DrawerPage-4QqiD5ag-CHJx5rEc.js → DrawerPage-DXGL0DM7-g8kKCfgI.js} +1 -1
- package/dist/assets/{EditPeoplePage-BFROUzlu-DbH6MX1W.js → EditPeoplePage-DWmJ1PpR-CBTUsg0a.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-Bz32u6U5-ByvxQ-VQ.js → EditReimbursementDetailPage-B_5V1IzS-BXGZplTX.js} +1 -1
- package/dist/assets/EntityDetailPage-BUzV8V9O-rb337Xxd.js +18 -0
- package/dist/assets/{EntitySummarySection-0nKZeBKn-CxDzlgPW.js → EntitySummarySection-CdjupOWB-OC0rkP9Y.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-Dvyn5ovf-Dh_1NuUv.js → ExpenseAutomationOverviewPage-Bx47Uuzu-QV6XGTvZ.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-DPmIOATd-H9uO6DCm.js → ExpenseAutomationPage-aVCW740N-MjL8oQ2h.js} +1 -1
- package/dist/assets/{ExpressPayPage-DGTh3qGM-hx60EgHF.js → ExpressPayPage-xIDJP3---Cd6wuSSS.js} +8 -8
- package/dist/assets/{FeaturePreviewPage-CHUVkqak--PnBOI8w.js → FeaturePreviewPage-BeGkbhpj-C1K-UgLw.js} +1 -1
- package/dist/assets/{FollowStepsSection-C_pWSlPc-CNxhobiG.js → FollowStepsSection-9Bp032CO-Bwi6dO4-.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-BjPOnObQ-BoVAoUv0.js → GlobalReviewListPage-BKgbn5KU-cYG_yqVt.js} +1 -1
- package/dist/assets/{InformationCardStack-DvFu-gjh-BSt4ac6w.js → InformationCardStack-DR09Frl5-CEj_9KBz.js} +6 -6
- package/dist/assets/{InsightsCardStack-CR3wSnhE-CeoxR_4s.js → InsightsCardStack-Bs9n7ddB-DcLKkExm.js} +5 -5
- package/dist/assets/{InsightsSection-DCFjudcA-ZH-CYvlE.js → InsightsSection-Bt4Z2mKl-Coh2MJGM.js} +2 -2
- package/dist/assets/{IntegrationsSettingsPage-DpPc99qg-DfOzY_vz.js → IntegrationsSettingsPage-Ce3RYvgj-tXsZgkFs.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-xXEk6Ubv-CcZYQF-w.js → InternationalWireSwiftDetailsPage-Dl6FL0Lc-DodlEnBH.js} +4 -4
- package/dist/assets/{InternationalWireVerificationPage-uh0GqYQA-DPUb5rUD.js → InternationalWireVerificationPage-MYSltOya-CDudpCDV.js} +5 -5
- package/dist/assets/{InviteFormPage-5xqk5ISe-LF5dwR2M.js → InviteFormPage-C0ezbQfC-Bv9DGlin.js} +1 -1
- package/dist/assets/{InvitePageListView-CpmTnQLj-t_m815b9.js → InvitePageListView-SMhlCNKA-DuBDLc2Q.js} +1 -1
- package/dist/assets/{InvitePeoplePage-BeCWfFpI-qVy_wkS4.js → InvitePeoplePage-Dna0gg0J-BdsIqWHO.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-BvaKEakI-By_ZVvOJ.js → InvoiceUploadSection-QGU5U32X-DqrS4gxW.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-Bomvo_PH-DPoESmHo.js → IssueChargeCardPage-jai5Nd4c-EJszQ57b.js} +1 -1
- package/dist/assets/{LabeledAddressValue-b4zlBP-g-DhADQjsR.js → LabeledAddressValue-cvWoRExB-y9voHUTK.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-DpcuqwLy-Cmfk083A.js → LabeledAddressValueField-BewnvHGP-BZl3E970.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-BTjbeJMZ-Cg7yDZmx.js → LabeledControlledCheckBoxField-DFKeD5HK-DQfLkamF.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-D_oWjB4_-Bia0PLfa.js → LabeledCreatableSingleSelectField-nc8iZ1C1-BtzzZp8L.js} +1 -1
- package/dist/assets/{LabeledDocumentField-dtnakMLl-jYpuR46_.js → LabeledDocumentField-DmRNRSkb-DsyysSwK.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-DDtxGo1u-VTNlZkCL.js → LabeledDropDownFormattedTextField-BP1jmZf7-CsRq_8p_.js} +1 -1
- package/dist/assets/{LabeledText-CUs3VIof-Cvm8EKo3.js → LabeledText-CIupsEGL-BSBSUSj2.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BusH2qnZ-q3jCk6Er.js → LabeledUserSingleSelectWithSubtitlesField-CeZEGuNW-zALpZz0i.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-DYkmOsOP-BPuWz2hY.js → LabeledZeniRolesDropDownField-CDmiz3py-BNL-bXQg.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-DbP6jfzn-fKg3yGaJ.js → LinkJETransactionPage-BtUXXguK-Bdnxgwu0.js} +1 -1
- package/dist/assets/{LockCardPage-CWEZyzEM-BSGmLwo3.js → LockCardPage-TzEwLGD1-BV6MvPv0.js} +1 -1
- package/dist/assets/{LowBalancePopup-BQ9JPBTS-CsnR6U3v.js → LowBalancePopup-BWD6Kz-D-BBlti0Le.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-CZQ8tUTD-dsAZn2Ie.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-DHZY9sKi-BtCIiZ_b.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-BJtMjz1M-mMCrZ67j.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-DU1RM5NI-ChKPq-l1.js → MagicLinkSuccessPage-DQAUDzEV-BrHmB3dG.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-RWEjrx8m-C9NF9igZ.js → MagicLinkTitleSection-JcGSlbn4-Cg1bGd4P.js} +1 -1
- package/dist/assets/MailingDetailsSection-Ch5XvR8o-CUiWNa3u.js +21 -0
- package/dist/assets/{Menu-BTZYMOTT-Dr0t7odP.js → Menu-B05IRjpP-BlvHxqKI.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-DufaL9n8-DDos_p1w.js → MyBankConnectionsSettingsPage-D2a7LgLg-tFv10h2I.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-DwCUyRec-DFxL-ZIz.js → MyPendingActivationChargeCardListPage-pDexjhqy-jKa40VIo.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-geduKqxy-s7eWbMFw.js → MyProfileSettingsPage-CRkrD2Bn-D2d8gszU.js} +2 -2
- package/dist/assets/{NavBarWithPicker-edkm8kW--BSVNjduX.js → NavBarWithPicker-9HjZDzt5-HqWxwGp0.js} +1 -1
- package/dist/assets/{NavigationArrow-DAOz2wst-tG8IGOKf.js → NavigationArrow-CgBj8o4H-BHMh8CKl.js} +1 -1
- package/dist/assets/{NavigationDots-Dm8SYcdL--7WpuL09.js → NavigationDots-BcSXYcwF-CbTe_zAV.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-enaZFSVb-DInVAo0j.js → NewGlobalMerchantPage-Dv9JrWDT-6AJ0ViXC.js} +1 -1
- package/dist/assets/{NoDataChart-BIcLmdso-CfY1R0LV.js → NoDataChart-tkUQHi-b-DNeJq3an.js} +1 -1
- package/dist/assets/{NoDataTable-C9ywvwy4--OJw2Ozq.js → NoDataTable-DHZ1gQeV-BGIsqNsy.js} +1 -1
- package/dist/assets/{NotFoundPage-B0Pfc4vD-D1bPY-GY.js → NotFoundPage-D59UVi8i-C0DVWS_A.js} +7 -7
- package/dist/assets/{NotificationSettingsPage-Di4KhoPI-BvChH4Ms.js → NotificationSettingsPage-xVOogGxf-Ch8qHQ2k.js} +1 -1
- package/dist/assets/{NotificationsListConfig-CHb7phwi-D6AWL70s.js → NotificationsListConfig-CkDLXlK_-BJ96wQa_.js} +1 -1
- package/dist/assets/{NotificationsPage-B4KMZZ0V-hcFdhwJL.js → NotificationsPage-C8zx5kJx-B8QW7sxM.js} +1 -1
- package/dist/assets/{OpExByVendorPage-CAxLWg7x-CtZ9giOs.js → OpExByVendorPage-BaUEnLMo-ZMDOrHni.js} +1 -1
- package/dist/assets/{OverlayContainerPage-Daz3A7cI-CimFomY0.js → OverlayContainerPage-Daz3A7cI-Ml-2trSJ.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-Dx56-ypM-DK1GJPJa.js → PandLWithForecastPage-BKWEOfwP-CrgUww7C.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-C8QwChEK-BLjfO0Lx.js → PaymentAccountSetupBillingAddressSection-Ddm0Q_3J-DYpo9ZY0.js} +1 -1
- package/dist/assets/{PeoplePage-CjD6uKA--BHaPhKgZ.js → PeoplePage-ChBsx1YC-B_9_7JcF.js} +1 -1
- package/dist/assets/Preview-0MnFWuqs.js +1 -0
- package/dist/assets/{ProductsCarousel-DzOaqLVq-DpOWg2CM.js → ProductsCarousel-CaOQupY4-Bps7VAmE.js} +1 -1
- package/dist/assets/{PromoBaseCards-B1h9AEH0-CHuvtaI2.js → PromoBaseCards-DeJ4J5Lp-rKmSZiCL.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-Bv6unk3C-C4_jlkWG.js → QBOConnectionDialog--nz5v12t-BlbdkRJQ.js} +1 -1
- package/dist/assets/{QBOSetupSection-BTjj7g98-Dapfrzs_.js → QBOSetupSection-DQTH1dAT-De5MURM8.js} +1 -1
- package/dist/assets/ReimbursementApprovalRuleDetailPage-BottOscg-CoQROVIm.js +24 -0
- package/dist/assets/ReimbursementApprovalRulesPage-B46nrYDg-DO3bP60o.js +237 -0
- package/dist/assets/{ReimbursementDetailPage-DnXsG55s-Dtagyh2_.js → ReimbursementDetailPage-DvSn2LUG-dka7NEiQ.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-Di39wgvD-BxNUKJJW.js → ReimbursementPromoPage-DRItpn0n-CG6MuovZ.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-CT5bs4wM-ByTF7QY9.js → ReimbursementSetUpPage-CRnE1XYI-CAU-etth.js} +4 -4
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BcB8hTar-BMbnui6b.js → ReimbursementsBulkReviewDrawerPage-C6Cn3AOg-Dro4MJfm.js} +1 -1
- package/dist/assets/{ReloadCard-BGPtXAV7-XTkROFfl.js → ReloadCard-CRQf0INS-DIvshWa6.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-gEKTiiSk-yAHt6AaJ.js → ReportTableViewSelector-Dj9qmDS0-DEhqArjs.js} +4 -4
- package/dist/assets/{ReportsPage-Ctvnzlk1-9xU8MY_m.js → ReportsPage-BJmkDtu3-D1e3_Gyq.js} +5 -5
- package/dist/assets/{RevenueChart-D1PfVLk0-1BQEFyGm.js → RevenueChart-LvTct9qg-DnpTu2QK.js} +14 -14
- package/dist/assets/{ReviewDetailsPage-Ynw6pln--CN0sJcfC.js → ReviewDetailsPage-CDWKsdgl-CfvSyTgH.js} +52 -52
- package/dist/assets/{ReviewOverlay-DQZwNpFY-BpRxW5CE.js → ReviewOverlay-Bh8LAnRM-Bvmxhxiq.js} +1 -1
- package/dist/assets/{RoleWithToolTip-DbQ4ezrP-CEMERHZy.js → RoleWithToolTip-BHHwWcYs-CXb_l7mb.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-DlqQBt-s-BtvHlj3c.js → ScheduleDetailsFixedAssetsPage-C_nki9xG-CnTee4TJ.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-CrVetPy7-12CzluPZ.js → ScheduleDetailsPage-BXmAqbuh-Bem9yU8B.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-B7pQ00z8-B7tyn4Md.js → ScheduleSequenceTable-BePVgFIB-DLOTUz0A.js} +1 -1
- package/dist/assets/{ScreenRoutes-d0ZspmbS.js → ScreenRoutes-BxEnA4js.js} +1 -1
- package/dist/assets/{SetUpAccountSection-BAsI7p1f-BQKv5JAR.js → SetUpAccountSection-B1mXaFmw-DMqrS73V.js} +1 -1
- package/dist/assets/{SignIn-CE6gxhI3-Cwe0hMEG.js → SignIn-B8qL3jmy-BhRUvBsa.js} +1 -1
- package/dist/assets/SignInScreen-BB583Fsy.js +1 -0
- package/dist/assets/SpendManagementListViewPage-D-XwxN9o-tA1Omp_V.js +123 -0
- package/dist/assets/SpendManagementPerTabPage-CF7D2umh-DfSBQ_13.js +754 -0
- package/dist/assets/{SpendManagementSection-rHLuZG8_-wlUP3HQF.js → SpendManagementSection-CIqYxYxX-zmPs85VN.js} +1 -1
- package/dist/assets/StatementItem-Cj9_LMwP-CuQyTOop.js +31 -0
- package/dist/assets/{StatementsPage-5oimgNHp-Cik2GNOK.js → StatementsPage-CB8LocUZ-l56B7Bjs.js} +1 -1
- package/dist/assets/{StatusSwitcher-CLCkXs_4-BLM4_oql.js → StatusSwitcher-DetjWSRH-QUlGITMo.js} +1 -1
- package/dist/assets/{SubTabSwitcher-DDR7LrDO-B46o4hWR.js → SubTabSwitcher-DNqrmpKa-CadWgrwj.js} +1 -1
- package/dist/assets/{SummaryCard-Cg5UVud3-D024tZI0.js → SummaryCard-CxlxmBvk-CQGh33KQ.js} +1 -1
- package/dist/assets/{TaskManagementPage-6_zt2ePp-DjEWnpm8.js → TaskManagementPage-zHTW1LJ--zNtVzp5G.js} +15 -15
- package/dist/assets/{TimeRangeSwitcher-BTx3d66N-wus2PWOy.js → TimeRangeSwitcher-8D64-X4u-Cr0brXtp.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-BkGiMDhd-OU0F34Ma.js → TimeframeSwitcher-YicRGCkf-Bl7zy8PL.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-M554ai9V-CRoAjStF.js → TimeframeSwitcherWithToggle-mP6ezXyM-BUQDueEy.js} +3 -3
- package/dist/assets/{TopExCard-ym2uAvUy-DnigppX5.js → TopExCard-BDEoKFUO-DfdlFCdi.js} +10 -10
- package/dist/assets/{TopExDetailPage-DU1Qj5ea-LRwIFDCO.js → TopExDetailPage-CLUf9sHg-Df3T3eV-.js} +8 -8
- package/dist/assets/{TransactionDetailPage-BHyBhrM7-BYi-GSuY.js → TransactionDetailPage-C-GKDIp2-B5odEAs9.js} +1 -1
- package/dist/assets/{TransactionList-CIbSavhJ-1mjim1La.js → TransactionList-BqQVYWs_-Daxhio3O.js} +1 -1
- package/dist/assets/{TransactionListBig-kC4b3DAu-BmaMPZxd.js → TransactionListBig-CDgdq8hU-CxcyFLiE.js} +1 -1
- package/dist/assets/{TransactionListPage-Ci98GcF7-DNyraU_a.js → TransactionListPage-CyGTX1pW-BWYKkhYn.js} +2 -2
- package/dist/assets/{TransactionVendorDetailPage-DI4kq_vO-B82fS_UE.js → TransactionVendorDetailPage-NKocfHyN-Dj7eW2gC.js} +1 -1
- package/dist/assets/{TransferDrawerPage-B342yNDJ-B7sPLTpd.js → TransferDrawerPage-qNh4Fww2-BskLu0NO.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-cvOuWLTK-B1Ra99a3.js → TreasuryOverviewPage-D1RQYkoX-DPuxgMkp.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-DyseS2l1-w9bsCAsi.js → TreasuryPromoPage-najiDjYG-ekWxsnIh.js} +1 -1
- package/dist/assets/TreasuryStatementsPage-CRR-Df5x-5oIG8FJD.js +58 -0
- package/dist/assets/{TreasuryTaxLetterPage-DjV36uFi-Bi_ZZ4SJ.js → TreasuryTaxLetterPage-vKXs7eCx-DLQ-e1bb.js} +2 -2
- package/dist/assets/{TrendChart--yie2Xkp-Ctp4-mkm.js → TrendChart-DtubLSsW-BcwWx_db.js} +2 -2
- package/dist/assets/{TrendWithTransactions-DVLdmgtU-S2aCQzJD.js → TrendWithTransactions-DB5hmoGk-CjGhsy_G.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-CRypWMwQ-CD5tyyJq.js → UncategorizedAccountsMappingPage-ldBfy4n9-LvKH0e4x.js} +5 -5
- package/dist/assets/{UnitIntegrationPage-DU6Luklp-DXGJziz-.js → UnitIntegrationPage-DPHlAm3E--gxUpUc_.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-jNiTn6qG-CyN0ip8w.js → UploadAdditionalDocumentOverlay-C2kqDNTp-BdTEieqK.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-BNA3GtkO-DBarOU6y.js → Vendor2FAPopup-_DrX-sZ2-DJepYt_a.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-ims8AKLH-B1lIy5kH.js +1 -0
- package/dist/assets/{VendorDetailPage-B6s7kOX--uMKcoPFP.js → VendorDetailPage-dh7UBGAL-B3jn_rIK.js} +1 -1
- package/dist/assets/VendorDomesticWireDetailsPage-C_28sDKW-Dk7DmNe0.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-DiVBfWTv-CUW53e28.js → VendorFiling1099EditablePage-CGEA0mkh-CcyA4AZa.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-CuM6lK63-Dvp1nLKR.js → VendorFirstReviewPage-BGktoc9W-g-FG6hl8.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-CcTippeu-Cd-dat-9.js → VendorInternationalWireDetailsPage-DidLa6Yx-DQNbcfT2.js} +1 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-YqE835gy-CHsQuiKe.js +1 -0
- package/dist/assets/{VendorsAccountsSection-zeM6PeT4-DbfJJIUQ.js → VendorsAccountsSection-BtjrsclQ-DqV482KT.js} +1 -1
- package/dist/assets/{VerifyDevice-iKowLq-3-B1M5ehkG.js → VerifyDevice-DkibYc6v-B-82CnZ_.js} +7 -7
- package/dist/assets/{VideoPlayer-CN28Ho6V-C9X8iWgG.js → VideoPlayer-C8VeeJIx-cPYk1CX6.js} +2 -2
- package/dist/assets/{VideoPopup-CfYmxIk4-CtU-zes6.js → VideoPopup-aA7dkXbZ-C6vrYCH6.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-C4jqovLJ-BX5GJuEL.js → WarningsDrawerPage-CA0EogPY-vXTcJj5W.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-M045ginI-BmZ9yaIJ.js → ZeniAccountDetailPage-Z7ZXcJ98-CqNbTYP7.js} +1 -1
- package/dist/assets/{ZeniAccountListViewPage-C-eOjorO-BI7UOOes.js → ZeniAccountListViewPage-CllLl65J-CDiwPiuL.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-Dz9ssqU1-BUAdtMrT.js → ZeniAccountNavBarPieces-CHXbVcQE-DAgmOUv1.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-BxzNy8wF-B2j7-cEN.js → ZeniAccountPromoPage-DAtyHUfj-BUYhAqKa.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-zWKttj2U-Bxni_B2X.js → ZeniAccountSetupPage-Cy6_fMVK-UDo9NNGK.js} +1 -1
- package/dist/assets/{ZeniCopyright-2oeOVh0P-CbjjvS5r.js → ZeniCopyright-D5JfDH77-BSplQ5wD.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-BADEO33A-CRBj7Za4.js → ZeniTransferAmountSlider-Bk2gg7DY-j8r-0FP_.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-CE3qjZuH.js → add-to-wallet-DgdBD8_G-CEfUgkOq.js} +1 -1
- package/dist/assets/{analytics-B5pDs204.js → analytics-m0npYLNL.js} +1 -1
- package/dist/assets/{analyticsHelper-C2XPB_2A-Cg5vkOR0.js → analyticsHelper-Cnk2OUU2-CGqpMtBZ.js} +1 -1
- package/dist/assets/{analyticsHelper-C5DBFkb8.js → analyticsHelper-D7CvKhp9.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-DXn2IDql.js → arrow-south-east-round-PEovUgvH-Bw519x-i.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-B7q3IbIp.js → auto-transfer-rule-mbafm5D3-8uxp1GDH.js} +1 -1
- package/dist/assets/{chartTypes-PZyiFZrr-BuwhqnUh.js → chartTypes-CMIndIax-BteEcbR9.js} +1 -1
- package/dist/assets/{commonDimensions-C_y3LIE8-DaT6d7Mw.js → commonDimensions-DSS8XDHZ-JYdcrP1v.js} +1 -1
- package/dist/assets/{constants-sZKYfJG5.js → constants-gj6D5fjD.js} +1 -1
- package/dist/assets/{core-DcqdNo0H.js → core-DvMedK7z.js} +1 -1
- package/dist/assets/{dash.all.min-DMmskpzZ.js → dash.all.min-u06A7xmH.js} +1 -1
- package/dist/assets/{detailCommon-PTd6DPpO-DmTNZyzt.js → detailCommon-DWd4agOz--yUWPpdP.js} +3 -3
- package/dist/assets/{downloadPdf-BdoS2D6l-CiYpnZbY.js → downloadPdf-BCoq8NLc-CubJ6yr8.js} +1 -1
- package/dist/assets/{empty-DnkbAo83.js → empty-Ct-A04vL.js} +1 -1
- package/dist/assets/{empty-BxmXnrZk.js → empty-Djh9OCNK.js} +1 -1
- package/dist/assets/{epic-Bx59pZdn.js → epic-81h-0Mjc.js} +2 -2
- package/dist/assets/{gift-box-Cmt9OgIZ-B3o5Zg1h.js → gift-box-Cmt9OgIZ-DCOl2fRS.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt--3ATT7Qt.js → graphic-no-data-l-DU4J8fDt-nMtRbPHc.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-XpHCs2R-.js → graphic-no-data-net-burn-l-CzmycA0m-DXzPAPM8.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-jt5_DBPg.js → handshake-BPg58FML-CPqB87IE.js} +1 -1
- package/dist/assets/{index-BlQ_Oyyj.js → index-B-GOW9xf.js} +1 -1
- package/dist/assets/{index-DT-1tkPQ.js → index-BEy4_CrP.js} +1 -1
- package/dist/assets/{index-D6Zob7EU.js → index-CUU_u-31.js} +1 -1
- package/dist/assets/{index-B5d0r7Yf.js → index-CfCf7MgZ.js} +561 -561
- package/dist/assets/{index-CwVOVIdt.js → index-DntzYrtk.js} +1 -1
- package/dist/assets/{index-BVPSEWzG.js → index-HXrN1i8p.js} +1 -1
- package/dist/assets/{index-C1nDAmoC.js → index-YviRfNlo.js} +1 -1
- package/dist/assets/{lexical-zpRxoSKS.js → lexical-C7Ca00s8.js} +1 -1
- package/dist/assets/{liveblocks-4VX4OJFQ.js → liveblocks-CeZbKJYW.js} +1 -1
- package/dist/assets/{lottie-C2a9Y5yd.js → lottie-BtS_aZMT.js} +2 -2
- package/dist/assets/mapLoadingInProgressToTreeNode-Dgkep7PZ-BeD8F_6x.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-C6gW1Rqr-BoSMxCv6.js → mapSectionWithAcOnlyToTreeNode-DF-WWO6U-CTTc7AxQ.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-CumKhTYV-BCq154st.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-BttFKWAb-zCM8xi6k.js +1 -0
- package/dist/assets/{mapTimeframeBalancesToTreeNode-BooGIyls-RwkDj_oc.js → mapTimeframeBalancesToTreeNode-CBfPdKyR-DtT7UXGE.js} +1 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BREIWW8N-I_gQ8R9B.js +1 -0
- package/dist/assets/{mui-CKwEUYbh.js → mui-CKpFcOsC.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-BxOlrbPR.js → page-detail-CWX5S47F-iy7BgfCy.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-D7ndbp4a.js → radio-default-CiSgisfh-Ba5d59L2.js} +1 -1
- package/dist/assets/{react-BHUEll3W.js → react-B5bvSViA.js} +2 -2
- package/dist/assets/{react-DlvMMjCe.js → react-BXcxMDpm.js} +2 -2
- package/dist/assets/{react-CO6rLI-o.js → react-Bxzu8Pg3.js} +2 -2
- package/dist/assets/{react-DJnrjIDe.js → react-CEAB29s8.js} +1 -1
- package/dist/assets/{react-mJ1u5MvS.js → react-D48qcsUh.js} +3 -3
- package/dist/assets/{react-C5e0T-7Y.js → react-Dk8Pb1C7.js} +1 -1
- package/dist/assets/{react-CJu1cymU.js → react-c12S-l6s.js} +2 -2
- package/dist/assets/{react-BuYDTl9N.js → react-zU0oZN62.js} +1 -1
- package/dist/assets/{recharts-BlDkob1i.js → recharts-Df0tybnF.js} +1 -1
- package/dist/assets/{sentry-DzQhN3No.js → sentry-BMcFBC_8.js} +2 -2
- package/dist/assets/{shield-DOlUxcFf-DTDJsrO9.js → shield-DOlUxcFf-BziiV2X2.js} +1 -1
- package/dist/assets/toCOABalancesWithID-v28KjzUb-C1xpSaLX.js +1 -0
- package/dist/assets/{toChartData-BUhYY9IR-DiW5_axO.js → toChartData-DuH-6FTe-CRRGwwGZ.js} +1 -1
- package/dist/assets/{transaction-placeholder-CpOwZAMG-C-BUqW8t.js → transaction-placeholder-CpOwZAMG-BwDQOYx_.js} +1 -1
- package/dist/assets/{uploadAttachment-D-Lomshq-C_Ew8v0M.js → uploadAttachment-BkoEZkOd-CS79jWpP.js} +1 -1
- package/dist/assets/{uploadReceipts-CPw64UYa-Bg2U2LcG.js → uploadReceipts-CPw64UYa-38rycmxd.js} +1 -1
- package/dist/assets/{url-B9MZZX7S.js → url-CGcXOlUu.js} +1 -1
- package/dist/assets/{url-Wb1ccSRL.js → url-N18-ktRL.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-BSW8jE0L.js → useLongPress-GCK2COYQ-CrGJ_cgC.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-k25tt47-.js → usp-line-BBd1wKwW-CX6H1U37.js} +1 -1
- package/dist/assets/{utils-CKnuWyyl.js → utils-C_7xnEWP.js} +1 -1
- package/dist/assets/{zeni-epic-state-CYBJ9Ksh.js → zeni-epic-state-C9GFWWAS.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/AccountInfoPage-D2IedGAy-Cz5TLln_.js +0 -18
- package/dist/assets/BillPayApprovalRuleDetailPage-B7z1PKq6-Cf5yYldh.js +0 -27
- package/dist/assets/BillPayApprovalRulesPage-Cj55NkSk-CraBsE0m.js +0 -241
- package/dist/assets/ChargeCardPromoPage-D_eQ_vXf-DSdm9hEo.js +0 -222
- package/dist/assets/CustomerOnboardingContainerPage-CBiHoKP2-B0bStTtk.js +0 -1
- package/dist/assets/EntityDetailPage-BnG_PBK5-Nxflpy3T.js +0 -18
- package/dist/assets/MagicLinkACHDetailsPage-CKoTuvNz-9gzlzqz1.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Di5hHI_D-lB6fkCG4.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-B2izwKNk-B5csZV5I.js +0 -1
- package/dist/assets/MailingDetailsSection-BT3SGHhD-B74c5iH6.js +0 -21
- package/dist/assets/Preview-Dvnsp7t1.js +0 -1
- package/dist/assets/ReimbursementApprovalRuleDetailPage-CHXo51lU-DKyJaU9a.js +0 -32
- package/dist/assets/ReimbursementApprovalRulesPage-D7utb8vM-CyER6oRv.js +0 -243
- package/dist/assets/SignInScreen-eVmQ-DfD.js +0 -1
- package/dist/assets/SpendManagementListViewPage-CURCimXb-CBLs-Eck.js +0 -123
- package/dist/assets/SpendManagementPerTabPage-RY3B-92H-0Q1oDPVt.js +0 -785
- package/dist/assets/StatementItem-DcPGZchp-CSlg6IgE.js +0 -31
- package/dist/assets/TreasuryStatementsPage-rXMNPd2f-DPIn1ORC.js +0 -58
- package/dist/assets/VendorACHDetailsPage-B9UpKcN3-C3lYJogA.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-CVJAmjuC-DapV1CxI.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-8u1L-aEg-BBNitL_n.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-CUy8c_Sm-9Yp9R5Je.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-DqR98mLo-DOVy7yts.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-BIGZRHHI-CyM2WyTo.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-lSB04gFW-DIijgkB1.js +0 -1
- package/dist/assets/toCOABalancesWithID-CPbzhUua-BBMB5d-t.js +0 -1
package/dist/assets/{ACHDetailsPage-Cmt4zlsa-CDZiD7uq.js → ACHDetailsPage--3bIj7tB-B-cvJvLN.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as E,a8 as W,F as w,cB as _,V as n,cm as V,cn as F,co as H,ab as O,aO as q,y as
|
|
1
|
+
import{q as E,a8 as W,F as w,cB as _,V as n,cm as V,cn as F,co as H,ab as O,aO as q,y as r,eR as Q,b5 as U,o as Z,c as t}from"./index-CfCf7MgZ.js";import{a as x}from"./sentry-BMcFBC_8.js";import{n as u}from"./mui-CKpFcOsC.js";import{W as G,A as J}from"./BankAccountWarningSection-MLEqvFgR-DxZ4vpLS.js";import{M as K}from"./MagicLinkTitleSection-JcGSlbn4-Cg1bGd4P.js";import{e as X}from"./BankAccountSection-BexfgJ02-CI2u-4Q0.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]="ed853a2b-658e-4cd8-926b-4d7034d72be2",e._sentryDebugIdIdentifier="sentry-dbid-ed853a2b-658e-4cd8-926b-4d7034d72be2")}catch{}})();const a={paddingTopBottomContainer:new r(t[3],t[3]),paddingLeftContainer:new r(t[3],t[6]),paddingRightContainer:new r(t[3],t[8]),sectionTitleMarginLeft:new r(t[4],t[6]),sectionTitleMarginTop:new r(12,t[3]),buttonWidth:new r(140,140)},T="achDetailsPage",p="bankAccountSection",A=e=>`${e}_form`,ue=({bankAccountCreationState:e,bankAccountToCreate:o,fetchBankNameByRoutingStatus:g,isDisabled:k,style:B,onSaveHandler:S,onBackClick:h,onACHDetailsUpdated:v,onFetchBankName:N,isMagicLink:m,companyName:D,currencySymbol:j,amount:$,bankAccountContext:P})=>{const c=E(),i=W({mode:"onBlur",reValidateMode:"onChange",defaultValues:x.useMemo(()=>Y(o),[o])}),[z,b]=x.useState(!1),d=w.getLocalizedStrings().spendManagement.billPay.vendorCreation,R=w.getLocalizedStrings().common.footer,{achDetails:C,bankAccountCommon:y}=d,I={onOkClick:()=>{b(!1),i.reset(),h?.()},onCancelClick:()=>{b(!1)}},L=async(f,l)=>{const s=l[p].bankRoutingNumber;v(l),f===`${p}.bankRoutingNumber`&&s?.length===9&&Q.test(s)===!0&&N?.(s)};x.useEffect(()=>{const f=i.watch((l,{name:s})=>{s!=null&&l!=null&&_(()=>L(s,l))});return()=>{f.unsubscribe()}});const M=i.handleSubmit(f=>{g.fetchState!=="In-Progress"&&S("ach")});return n.jsxs(ne,{children:[n.jsxs(te,{style:B,size:c,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:I}):null,n.jsx(G,{header:m?n.jsx(K,{companyName:D??"",currencySymbol:j??"",amount:$??0}):C.addACHDetails,isMagicLink:m,isDirty:i.formState.isDirty,onBackClick:h,setShowConfirmationPopup:b}),e?.fetchState==="Error"&&e.error?.code===409?n.jsx(J,{warningText:y.accountExistWarning}):null,P==="express-pay"?null:n.jsx(ae,{size:c,children:C.title}),n.jsx(ie,{children:n.jsx(O,{...i,children:n.jsx("form",{id:A(T),onSubmit:M,children:n.jsx(ee,{size:c,children:n.jsx(X,{bankAccountToCreate:o,fetchBankNameByRoutingStatus:g,sectionId:p,isDisabled:k})})})})})]}),n.jsx(q,{formId:A(T),primaryBtn:{label:m?y.submitDetails:y.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:a.buttonWidth.value(c)},isDisabled:k!=null},showCancel:!m,cancelBtn:{label:R.cancel,style:{width:a.buttonWidth.value(c)},shouldResetOnCancel:!1,onClick:()=>{i.formState.isDirty?b(!0):(i.reset(),h?.())}}})]})},Y=e=>({[p]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName,bankAccountType:e?.bankAccountType}}),ee=u.div`
|
|
2
2
|
padding-left: ${e=>a.paddingLeftContainer.valuePx(e.size)};
|
|
3
3
|
padding-right: ${e=>a.paddingRightContainer.valuePx(e.size)};
|
|
4
4
|
padding-top: ${e=>a.paddingTopBottomContainer.valuePx(e.size)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as u,a7 as y1,q as M,F as j,ca as j1,V as C,bQ as $1,o as r,aM as v1,b as D,ch as b1,k4 as T,c as n,bM as g,dp as h1,p as d,a6 as S1,b1 as p1,d as m1,k5 as f,ag as x,k6 as Z1,k7 as B1,aq as S,D as q,b5 as J,al as F1,k8 as W1,dK as _1,fZ as D1,cf as u1,ak as H1}from"./index-
|
|
1
|
+
import{y as u,a7 as y1,q as M,F as j,ca as j1,V as C,bQ as $1,o as r,aM as v1,b as D,ch as b1,k4 as T,c as n,bM as g,dp as h1,p as d,a6 as S1,b1 as p1,d as m1,k5 as f,ag as x,k6 as Z1,k7 as B1,aq as S,D as q,b5 as J,al as F1,k8 as W1,dK as _1,fZ as D1,cf as u1,ak as H1}from"./index-CfCf7MgZ.js";import{a as e}from"./sentry-BMcFBC_8.js";import{n as o,c as P1,k as T1}from"./mui-CKpFcOsC.js";import{G6 as E,G7 as e1,G8 as F}from"./zeni-epic-state-C9GFWWAS.js";import{R as V1}from"./NavBarWithPicker-9HjZDzt5-HqWxwGp0.js";import{F as k1,X as x1,Y as I,I as z1,J as O1,G as t1}from"./recharts-Df0tybnF.js";import"./liveblocks-CeZbKJYW.js";import"./core-DvMedK7z.js";import"./lottie-BtS_aZMT.js";import"./analytics-m0npYLNL.js";import"./lexical-C7Ca00s8.js";import"./utils-C_7xnEWP.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]="53c34c3f-4858-439f-b5c5-57c7adda51e8",t._sentryDebugIdIdentifier="sentry-dbid-53c34c3f-4858-439f-b5c5-57c7adda51e8")}catch{}})();const C1={titleLoaderWidth:new u(200,200,300),subtitleLoaderWidth:new u(100,100,200)},G1=o.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
height: 100%;
|
|
4
4
|
border: 1px solid ${t=>t.theme.colors.grey3};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import{d as y,q as x,V as t,gJ as b,o as a,y as s,hv as D,c as i}from"./index-CfCf7MgZ.js";import{a as $}from"./sentry-BMcFBC_8.js";import{n as o}from"./mui-CKpFcOsC.js";import{K as P}from"./StatusSwitcher-DetjWSRH-QUlGITMo.js";import{r as v}from"./AccountInfoPageContent-Zb49sPy6-C7Aly5A6.js";import"./liveblocks-CeZbKJYW.js";import"./core-DvMedK7z.js";import"./recharts-Df0tybnF.js";import"./zeni-epic-state-C9GFWWAS.js";import"./lottie-BtS_aZMT.js";import"./analytics-m0npYLNL.js";import"./lexical-C7Ca00s8.js";import"./utils-C_7xnEWP.js";import"./downloadPdf-BCoq8NLc-CubJ6yr8.js";import"./commonDimensions-DSS8XDHZ-JYdcrP1v.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]="77fa3114-3e95-4024-b030-fbc207701642",e._sentryDebugIdIdentifier="sentry-dbid-77fa3114-3e95-4024-b030-fbc207701642")}catch{}})();const d={pageTitleMarginXAxis:new s(i[4],i[8]),containerPaddingLeft:new s(i[3],i[6],i[8]),containerPaddingRight:new s(i[3],i[6],i[8])},B=({authParams:e,downloadAccountDetailEndPoint:n,depositAccount:r,zeniAccountsConfigDetail:f,currentTenant:g,onDismissClick:u})=>{const p=y(),c=x(),[l,m]=$.useState("achDetails"),w=h=>{m(h)};return t.jsxs(A,{children:[t.jsx(b,{title:"",backgroundColor:p.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:u}),t.jsx(T,{windowSize:c,children:r.accountName}),t.jsx(j,{children:t.jsx(P,{tabIds:["achDetails","wireDetails"],selectedTab:l,entity:"zeni_accounts",onTabSelectedChange:w,isSwitcherLeftAlign:!0})}),t.jsx(z,{windowSize:c,children:t.jsx(v,{authParams:e,downloadAccountDetailEndPoint:n,currentTab:l,zeniAccountsConfigDetail:f,currentTenant:g,depositAccount:r})})]})},z=o.div`
|
|
2
|
+
padding-left: ${e=>`${d.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
3
|
+
padding-right: ${e=>`${d.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
4
|
+
`,A=o.div`
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
8
|
+
overflow-x: hidden;
|
|
9
|
+
height: 100%;
|
|
10
|
+
width: 100%;
|
|
11
|
+
`,T=o(D)`
|
|
12
|
+
color: ${e=>e.theme.colors.primary};
|
|
13
|
+
padding: ${a.sp3} ${a.sp0};
|
|
14
|
+
margin: ${e=>`${a.sp0} ${d.pageTitleMarginXAxis.valuePx(e.windowSize)} `};
|
|
15
|
+
`,j=o.div`
|
|
16
|
+
display: flex;
|
|
17
|
+
justify-content: flex-start;
|
|
18
|
+
`;export{B as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as je,gR as Ae,hw as W,V as r,bQ as z,m as Se,aM as L,o as a,b5 as Te,F as ve,c0 as De,p as E,ag as re,u as Ce,gU as ze,ak as ae}from"./index-
|
|
1
|
+
import{q as je,gR as Ae,hw as W,V as r,bQ as z,m as Se,aM as L,o as a,b5 as Te,F as ve,c0 as De,p as E,ag as re,u as Ce,gU as ze,ak as ae}from"./index-CfCf7MgZ.js";import{a as s}from"./sentry-BMcFBC_8.js";import{n as t}from"./mui-CKpFcOsC.js";import{w as Le}from"./downloadPdf-BCoq8NLc-CubJ6yr8.js";import{o as _e}from"./commonDimensions-DSS8XDHZ-JYdcrP1v.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]="6a62c03d-1015-4a5d-ad7d-5a825c8952ed",e._sentryDebugIdIdentifier="sentry-dbid-6a62c03d-1015-4a5d-ad7d-5a825c8952ed")}catch{}})();const{common:{strings:Ie,copyToClipBoard:g},spendManagement:{zeniAccounts:{zeniAccountDetail:G},billPay:{vendorCreation:{achDetails:o}},downloads:K}}=ve.getLocalizedStrings(),er=({authParams:e,downloadAccountDetailEndPoint:y,currentTab:p,depositAccount:c,zeniAccountsConfigDetail:b,currentTenant:k})=>{const oe=je(),[,R]=Ae(),[N,te]=s.useState(!1),[se,ne]=s.useState(!1),[ce,ie]=s.useState(!1),[le,de]=s.useState(!1),[ue,be]=s.useState(!1),[me,pe]=s.useState(!1),[he,fe]=s.useState(!1),[xe,ye]=s.useState(!1),[h,P]=s.useState(!1),[w,q]=s.useState(!1),[j,F]=s.useState(!1),[A,U]=s.useState(!1),[S,V]=s.useState(!1),[T,O]=s.useState(!1),[v,Q]=s.useState(!1),[$,B]=s.useState(!1),D=k?.company?.companyInfo.companyLegalName,C=W(b.zeniAccountsConfigDetail.mailingAddress).text2,m=W(b.zeniAccountsConfigDetail.bankAddress).text2;s.useEffect(()=>{(h||T||v||$||S||$||j||w||A)&&setTimeout(()=>{P(!1),O(!1),Q(!1),B(!1),V(!1),U(!1),F(!1),q(!1)},1200)},[h,T,v,$,S,A,j,w]);const H=(f,n)=>{switch(f){case"accountType":ne(n);break;case"acccountNumber":ie(n);break;case"routingNumber":de(n);break;case"bankName":be(n);break;case"beneficiaryName":fe(n);break;case"beneficiaryAddress":pe(n);break;case"bankAddress":ye(n);break}},$e=f=>{let n;f==="achDetails"?n=`${o.bankRoutingNumber} ${c.routingNumberAch}
|
|
2
2
|
|
|
3
3
|
${o.accountTypeLabel} ${c.accountSubType.name??""}
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as g,F as l,V as t,ak as x,b8 as c,n as y,o as r,p,ap as b,bW as j,bX as $,bY as w,bP as k}from"./index-
|
|
1
|
+
import{d as g,F as l,V as t,ak as x,b8 as c,n as y,o as r,p,ap as b,bW as j,bX as $,bY as w,bP as k}from"./index-CfCf7MgZ.js";import{n as o}from"./mui-CKpFcOsC.js";import{t as v}from"./handshake-BPg58FML-CPqB87IE.js";import"./sentry-BMcFBC_8.js";import"./liveblocks-CeZbKJYW.js";import"./core-DvMedK7z.js";import"./recharts-Df0tybnF.js";import"./zeni-epic-state-C9GFWWAS.js";import"./lottie-BtS_aZMT.js";import"./analytics-m0npYLNL.js";import"./lexical-C7Ca00s8.js";import"./utils-C_7xnEWP.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="d0aefe30-271f-4eaa-94fa-41623662d5bf",e._sentryDebugIdIdentifier="sentry-dbid-d0aefe30-271f-4eaa-94fa-41623662d5bf")}catch{}})();const m="support@zeni.ai",n=l.getLocalizedStrings().commonSetUp.twoFactorAuthentication,h=({unlockDate:e,onSubmit:i})=>{const s=g(),f=e.format(l.getLocalizedStrings().dateFormat.visual.MMMDCommaYYYYformat),u=e.format(l.getLocalizedStrings().dateFormat.visual.HHMMFormat);return t.jsxs(S,{children:[t.jsx(D,{children:n.accountLockedTitle}),t.jsxs(_,{children:[t.jsxs(a,{children:[t.jsx(d,{theme:s,children:t.jsx(A,{})}),t.jsx(x,{children:n.accountLockedSecurityMessage})]}),t.jsxs(a,{children:[t.jsx(d,{theme:s,children:t.jsx(z,{})}),t.jsxs(c,{children:[n.tryAgainAfter,t.jsxs(I,{children:[f,t.jsx(L,{children:"•"}),u]}),n.signInViaGoogleOrMicrosoft]})]}),t.jsxs(a,{children:[t.jsx(d,{theme:s,children:t.jsx(F,{})}),t.jsxs(c,{children:[n.accountLockedContactMessage,t.jsx(C,{href:`mailto:${m}`,children:m})]})]}),t.jsx(y,{variant:"primary",label:n.understood,onClick:i})]})]})};function M({unlockDate:e,onClose:i}){return t.jsx(k,{open:!0,onClose:i,children:t.jsx(T,{children:t.jsx(h,{unlockDate:e,onSubmit:i})})})}const S=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a8 as fe,fv as xe,V as t,ab as ge,cm as ye,cn as je,co as Se,o as c,B as $e,b5 as Q,al as X,L as
|
|
1
|
+
import{a8 as fe,fv as xe,V as t,ab as ge,cm as ye,cn as je,co as Se,o as c,B as $e,b5 as Q,al as X,L as ke,a9 as be,dJ as ve,eP as we,d1 as J,ds as Z,F as Ce,ak as d,d as Ee,aK as Pe,bu as ee,dM as te,at as Re,p as ne,u as Ie}from"./index-CfCf7MgZ.js";import{a as r}from"./sentry-BMcFBC_8.js";import{n as o}from"./mui-CKpFcOsC.js";import{bL as oe,Gm as De,Gn as _e}from"./zeni-epic-state-C9GFWWAS.js";import{E as Te,C as Fe,w as Ue,f as Le}from"./AccountRow-XnGMYfcj-D4Lt4mO-.js";import"./liveblocks-CeZbKJYW.js";import"./core-DvMedK7z.js";import"./recharts-Df0tybnF.js";import"./lottie-BtS_aZMT.js";import"./analytics-m0npYLNL.js";import"./lexical-C7Ca00s8.js";import"./utils-C_7xnEWP.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]="4e713e27-54d5-41ee-81c6-9c51a777d7e3",e._sentryDebugIdIdentifier="sentry-dbid-4e713e27-54d5-41ee-81c6-9c51a777d7e3")}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};
|
|
@@ -19,7 +19,7 @@ import{a8 as fe,fv as xe,V as t,ab as ge,cm as ye,cn as je,co as Se,o as c,B as
|
|
|
19
19
|
z-index: 2;
|
|
20
20
|
top: ${c.sp0};
|
|
21
21
|
width: 100%;
|
|
22
|
-
`,Oe=o(
|
|
22
|
+
`,Oe=o(ke)`
|
|
23
23
|
cursor: pointer;
|
|
24
24
|
color: ${e=>e.theme.colors.hero};
|
|
25
25
|
width: ${c.sp4};
|
|
@@ -236,4 +236,4 @@ import{a8 as fe,fv as xe,V as t,ab as ge,cm as ye,cn as je,co as Se,o as c,B as
|
|
|
236
236
|
color: ${e=>e.status==="connected"?e.theme.colors.success:e.status==="reconnect"?e.theme.colors.important:e.theme.colors.link};
|
|
237
237
|
cursor: pointer;
|
|
238
238
|
text-decoration: underline;
|
|
239
|
-
`,{common:p,dateFormat:G,expenseAutomation:{accountRecon:i}}=Ce.getLocalizedStrings(),ft=(e,n)=>`${e}.${n}`,xt="accountReconDrawerDetailsPage",se="accountReconDrawerDetailsSection";function Mt({accountReconciliation:e,plaidConnectionDetails:n,monthYearPeriod:l,openFilePicker:u,filesEndPoint:x,authParams:S,onDismissClick:$,onFetchLinkTokenClick:E,onEstablishConnectionClick:P,onSelectSourceType:T,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:L}){const f=fe({mode:"all",reValidateMode:"onChange",defaultValues:K(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:K(e)}),b=f.handleSubmit(()=>{}),[h,g]=r.useState(void 0),k=n.link_account_no_microdeposit,v=n.update_account,a=h==="update_account"?v:k,[y,M]=r.useState(a.linkToken??null),[s,w]=r.useState(!1),[N,B]=r.useState(!1),[Y,O]=r.useState(void 0),[re,z]=r.useState(void 0),le=r.useCallback(()=>{g("link_account_no_microdeposit")},[]),de=r.useCallback(()=>{g("update_account"),E("update_account",e.paymentAccountId)},[e.paymentAccountId]),ue={onOkClick:()=>{Y!=null&&(R(Y),O(void 0)),z(void 0),B(!1)},onCancelClick:()=>{O(void 0),B(!1)}},H=r.useRef(h);r.useEffect(()=>{H.current=h},[h]);const pe=r.useCallback(I=>{P(I,e.accountReconEntity.account.accountId,H.current),g(void 0),w(!1)},[P,e.accountReconEntity.account.accountId]),he=r.useCallback((I,me)=>{I!=null&&console.log("Plaid Connection Error",I,me),g(void 0),w(!1)},[]),{open:q,ready:V}=xe({token:y,onSuccess:pe,onExit:he});return r.useEffect(()=>{(oe(new Date().toISOString()).isAfter(a.expiration)||a.linkToken==null)&&a.fetchStatus.fetchState==="Not-Started"&&E("link_account_no_microdeposit")},[a.fetchStatus.fetchState]),r.useEffect(()=>{!s&&h!=null&&a.linkToken===y&&a.fetchStatus.fetchState==="Completed"&&V&&w(!0)},[V,y,a.fetchStatus.fetchState,a.linkToken,h,s]),r.useEffect(()=>{a.fetchStatus.fetchState==="Completed"&&a.linkToken!=null&&a.linkToken!==y&&M(a.linkToken)},[a.fetchStatus.fetchState,a.linkToken,y]),r.useEffect(()=>{s&&q()},[s,q]),t.jsxs(Me,{children:[t.jsx(Ye,{children:t.jsx(We,{children:t.jsxs(Ne,{children:[t.jsx(Be,{}),t.jsxs(ze,{children:[t.jsx(He,{children:e.accountReconEntity.account.accountName}),t.jsx(ce,{children:t.jsx(kt,{monthYearPeriod:l})})]}),t.jsx(qe,{children:t.jsx(Oe,{onClick:$})})]})})}),t.jsxs(Ae,{children:[t.jsx(ge,{...f,children:t.jsx("form",{style:{width:"100%"},id:xt,onSubmit:b,children:t.jsx(gt,{monthYearPeriod:l,accountReconciliation:e,filesEndPoint:x,openFilePicker:u,authParams:S,onConnectClick:le,onReconnectClick:de,onSelectSourceType:T,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:L,showConfirmationPopup:N,setShowConfirmationPopup:B,deleteFileId:Y,setDeleteFileId:O,uploadErrorMessage:re,setUploadErrorMessage:z})})}),N===!0||e.statementDeleteStatus.fetchState==="In-Progress"?t.jsx(ye,{titleComponent:t.jsx(Se,{children:i.reconciliation.drawer.deleteConfirmation.heading}),descriptionComponent:t.jsx(je,{children:i.reconciliation.drawer.deleteConfirmation.description}),isLoading:e.statementDeleteStatus.fetchState==="In-Progress",primaryButtonText:p.confirm,secondaryButtonText:p.cancel,action:ue}):null]})]})}const gt=({monthYearPeriod:e,accountReconciliation:n,filesEndPoint:l,authParams:u,openFilePicker:x,onConnectClick:S,onReconnectClick:$,setDeleteFileId:E,setShowConfirmationPopup:P,onEditFileName:T,onSelectSourceType:R,onStatementUploadSuccess:F,onUploadWindowOpenedOnce:U,uploadErrorMessage:L,setUploadErrorMessage:f})=>{const[b,h]=r.useState(!1),g=(n.localData?.accountSource??"plaid")==="plaid"?n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt:n.accountReconEntity.reconUpdatedAt,k=[];n.accountReconEntity.account.accountType==="bank"&&k.push({label:i.reconciliation.menu.bankConnection,value:"plaid"}),k.push({label:i.reconciliation.menu.statement,value:"bank_statement"});const v=n.accountReconEntity.account.accountType==="credit_card"?"bank_statement":n.localData?.accountSource;let a=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0||b?"bank_statement":void 0;n.accountReconEntity.account.accountType==="credit_card"&&(a="bank_statement"),r.useEffect(()=>{n.accountReconEntity.statementStatus.code==="uploaded"&&(n.accountReconEntity.statementDataStatus?.code==="validation_failed"||n.accountReconEntity.statementDataStatus?.code==="parsing_failed"||n.accountReconEntity.statementDataStatus?.code==="processing_failed")&&f(Te(n.accountReconEntity.statementDataStatus?.code,"drawer",n.accountReconEntity.errorMessage?.errorShort))},[n.accountReconEntity.statementStatus.code,n.accountReconEntity.statementDataStatus?.code,n.accountReconEntity.errorMessage?.errorShort,f]);const y=["reconciled","in_progress","reconciled_via_qbo"],M=n.accountReconEntity.reconciliationStatus!=null&&y.includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(Ve,{children:[t.jsxs(Je,{children:[t.jsxs(Ge,{children:[t.jsx(A,{children:i.reconciliation.headers.bankBalance}),t.jsx(Ke,{children:t.jsx(Fe,{bankBalance:n.accountReconEntity.balance,bankConnection:n.accountConnectionStatus,isLoading:!1,fromDrawer:!0,accountId:n.accountReconEntity.account.accountId,statementStatus:n.accountReconEntity.statementStatus.code,onStatementAddClicked:()=>{},setIsHovering:()=>{}})})]}),t.jsxs(Qe,{children:[t.jsx(A,{children:i.reconciliation.headers.clearedBalance}),t.jsx(Xe,{children:t.jsx(Ue,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(et,{children:[t.jsx(A,{children:i.reconciliation.headers.variance}),t.jsx(tt,{children:t.jsx($t,{variance:n.accountReconEntity.variance,variancePercentage:n.accountReconEntity.variancePercentage})})]})]}),t.jsxs(st,{children:[t.jsxs(rt,{children:[" ",i.reconciliation.drawer.source," "]}),t.jsxs(lt,{children:[t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.type}),t.jsx(_,{children:a!=null?t.jsx(j,{children:a==="plaid"&&n.accountReconEntity.account.accountType==="bank"?t.jsxs(t.Fragment,{children:[t.jsx(ie,{}),i.reconciliation.menu.bankConnection]}):t.jsxs(t.Fragment,{children:[t.jsx(ae,{}),i.reconciliation.menu.statement]})}):t.jsx(ke,{controller:!0,children:t.jsx(ve,{moreIconType:"custom",customIcon:t.jsx(yt,{selectedSourceType:v}),options:k,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:c.sp5,width:"180px"})},menuPlacement:"bottom",onOptionSelection:s=>{R(De(s))},valueToIcon:s=>s==="plaid"?t.jsx(ut,{}):s==="bank_statement"?t.jsx(pt,{}):null})})})]}),v==="bank_statement"?t.jsx(C,{children:t.jsx(we,{name:ft(se,"file"),file:n.accountReconEntity.statementMetaData?.file,showPhotoPicker:!1,isDisabled:M,sizeLimit:1e7,onFileSizeError:s=>{s&&f(p.fileElementPicker.sizeLimit)},deleteFileStatusById:{},updateFileStatusById:{},filesEndPoint:l,authParams:u,acceptableTypes:["application/pdf"],placeholderText:i.reconciliation.drawer.downloadPlaceholder,autoOpenFilePicker:x,accountStatementUpload:{uploadHelper:_e,metadataPayload:{accountId:n.accountReconEntity.account.accountId,accountType:n.accountReconEntity.account.accountType??"bank",monthYearPeriod:e},errorMessage:L,onUploadError:s=>{f(s?.message)},onUploadSuccess:s=>{F(s),h(!1)},onUploadStart:()=>{h(!0),f(void 0)},onUploadWindowOpenedOnce:()=>{U()}},onDeleteFile:s=>{E(s),P(!0)},onEditFileName:(s,w)=>{T(s,w)}})}):null,t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.status}),t.jsx(_,{children:v!=="bank_statement"?t.jsx(jt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:$}):t.jsx(St,{uploadInProgress:b,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.accountType}),t.jsx(_,{children:t.jsx(bt,{accountSubType:J(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.lastUpdated}),t.jsx(_,{children:t.jsx(Z,{isLoading:b,customStyle:{height:"20px",width:"100px"},position:"left",children:g!=null?t.jsx(j,{children:J(g.utc(!0).fromNow())}):p.strings.hyphen})})]})]})]})]})},yt=({selectedSourceType:e})=>t.jsxs(ct,{children:[e==null||e==="plaid"?t.jsx(ie,{}):t.jsx(ae,{}),t.jsx(it,{children:e==null||e==="plaid"?i.reconciliation.menu.bankConnection:i.reconciliation.menu.statement}),t.jsx(at,{})]}),jt=({status:e,connectionInProgress:n,onConnectClick:l,onReconnectClick:u})=>n?t.jsx(W,{children:i.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(W,{children:[t.jsx(dt,{}),t.jsx(ht,{children:i.reconciliation.drawer.values.connected})]}):t.jsx(W,{onClick:e==="reconnect"?u:l,children:t.jsx(mt,{status:e,children:e==="reconnect"?i.reconciliation.drawer.values.reconnect:i.reconciliation.drawer.values.connect})}),St=({status:e,uploadInProgress:n})=>n?t.jsx(Z,{isLoading:n,customStyle:{height:"20px",width:"100px"},position:"left",children:t.jsx(t.Fragment,{})}):e==null?t.jsx(j,{children:p.strings.hyphen}):e==="parsing"?t.jsx(j,{children:i.reconciliation.drawer.values.statementParsing}):e==="validated"?t.jsx(j,{children:i.reconciliation.drawer.values.uploaded}):t.jsx(j,{children:p.strings.hyphen}),$t=({variance:e,variancePercentage:n,reconciliationStatusCode:l})=>{const u=Ee(),{varianceColor:x,variancePercentageColor:S,variancePercentageContainerColor:$}=Le(u,e,l,!0);return t.jsxs(Ze,{children:[t.jsx(nt,{textColor:x,children:Pe("0,0",e)??p.strings.hyphen}),t.jsxs(ot,{textColor:S,bgColor:$,children:[n!=null?n===0?"0":n.toFixed(2):null,n!=null?p.strings.percentage:null]})]})},bt=({accountSubType:e})=>{const n=e!=null?e.replace("_"," "):p.strings.hyphen;return t.jsx(j,{children:n})},kt=({monthYearPeriod:e})=>t.jsx(ce,{children:vt(e)}),vt=e=>{const{month:n,year:l}=e,u=oe(`${l}-${String(n).padStart(2,"0")}-01`);let x=u.endOf("month");return`${u.format(G.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${x.format(G.visual.DMMMYYYYFormat)}`},K=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{Mt as default,ft as uniqueName};
|
|
239
|
+
`,{common:p,dateFormat:G,expenseAutomation:{accountRecon:i}}=Ce.getLocalizedStrings(),ft=(e,n)=>`${e}.${n}`,xt="accountReconDrawerDetailsPage",se="accountReconDrawerDetailsSection";function Mt({accountReconciliation:e,plaidConnectionDetails:n,monthYearPeriod:l,openFilePicker:u,filesEndPoint:x,authParams:S,onDismissClick:$,onFetchLinkTokenClick:E,onEstablishConnectionClick:P,onSelectSourceType:T,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:L}){const f=fe({mode:"all",reValidateMode:"onChange",defaultValues:K(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:K(e)}),k=f.handleSubmit(()=>{}),[h,g]=r.useState(void 0),b=n.link_account_no_microdeposit,v=n.update_account,a=h==="update_account"?v:b,[y,M]=r.useState(a.linkToken??null),[s,w]=r.useState(!1),[N,B]=r.useState(!1),[Y,O]=r.useState(void 0),[re,z]=r.useState(void 0),le=r.useCallback(()=>{g("link_account_no_microdeposit")},[]),de=r.useCallback(()=>{g("update_account"),E("update_account",e.paymentAccountId)},[e.paymentAccountId]),ue={onOkClick:()=>{Y!=null&&(R(Y),O(void 0)),z(void 0),B(!1)},onCancelClick:()=>{O(void 0),B(!1)}},H=r.useRef(h);r.useEffect(()=>{H.current=h},[h]);const pe=r.useCallback(I=>{P(I,e.accountReconEntity.account.accountId,H.current),g(void 0),w(!1)},[P,e.accountReconEntity.account.accountId]),he=r.useCallback((I,me)=>{I!=null&&console.log("Plaid Connection Error",I,me),g(void 0),w(!1)},[]),{open:q,ready:V}=xe({token:y,onSuccess:pe,onExit:he});return r.useEffect(()=>{(oe(new Date().toISOString()).isAfter(a.expiration)||a.linkToken==null)&&a.fetchStatus.fetchState==="Not-Started"&&E("link_account_no_microdeposit")},[a.fetchStatus.fetchState]),r.useEffect(()=>{!s&&h!=null&&a.linkToken===y&&a.fetchStatus.fetchState==="Completed"&&V&&w(!0)},[V,y,a.fetchStatus.fetchState,a.linkToken,h,s]),r.useEffect(()=>{a.fetchStatus.fetchState==="Completed"&&a.linkToken!=null&&a.linkToken!==y&&M(a.linkToken)},[a.fetchStatus.fetchState,a.linkToken,y]),r.useEffect(()=>{s&&q()},[s,q]),t.jsxs(Me,{children:[t.jsx(Ye,{children:t.jsx(We,{children:t.jsxs(Ne,{children:[t.jsx(Be,{}),t.jsxs(ze,{children:[t.jsx(He,{children:e.accountReconEntity.account.accountName}),t.jsx(ce,{children:t.jsx(bt,{monthYearPeriod:l})})]}),t.jsx(qe,{children:t.jsx(Oe,{onClick:$})})]})})}),t.jsxs(Ae,{children:[t.jsx(ge,{...f,children:t.jsx("form",{style:{width:"100%"},id:xt,onSubmit:k,children:t.jsx(gt,{monthYearPeriod:l,accountReconciliation:e,filesEndPoint:x,openFilePicker:u,authParams:S,onConnectClick:le,onReconnectClick:de,onSelectSourceType:T,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:L,showConfirmationPopup:N,setShowConfirmationPopup:B,deleteFileId:Y,setDeleteFileId:O,uploadErrorMessage:re,setUploadErrorMessage:z})})}),N===!0||e.statementDeleteStatus.fetchState==="In-Progress"?t.jsx(ye,{titleComponent:t.jsx(Se,{children:i.reconciliation.drawer.deleteConfirmation.heading}),descriptionComponent:t.jsx(je,{children:i.reconciliation.drawer.deleteConfirmation.description}),isLoading:e.statementDeleteStatus.fetchState==="In-Progress",primaryButtonText:p.confirm,secondaryButtonText:p.cancel,action:ue}):null]})]})}const gt=({monthYearPeriod:e,accountReconciliation:n,filesEndPoint:l,authParams:u,openFilePicker:x,onConnectClick:S,onReconnectClick:$,setDeleteFileId:E,setShowConfirmationPopup:P,onEditFileName:T,onSelectSourceType:R,onStatementUploadSuccess:F,onUploadWindowOpenedOnce:U,uploadErrorMessage:L,setUploadErrorMessage:f})=>{const[k,h]=r.useState(!1),g=(n.localData?.accountSource??"plaid")==="plaid"?n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt:n.accountReconEntity.reconUpdatedAt,b=[];n.accountReconEntity.account.accountType==="bank"&&b.push({label:i.reconciliation.menu.bankConnection,value:"plaid"}),b.push({label:i.reconciliation.menu.statement,value:"bank_statement"});const v=n.accountReconEntity.account.accountType==="credit_card"?"bank_statement":n.localData?.accountSource;let a=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0||k?"bank_statement":void 0;n.accountReconEntity.account.accountType==="credit_card"&&(a="bank_statement"),r.useEffect(()=>{n.accountReconEntity.statementStatus.code==="uploaded"&&(n.accountReconEntity.statementDataStatus?.code==="validation_failed"||n.accountReconEntity.statementDataStatus?.code==="parsing_failed"||n.accountReconEntity.statementDataStatus?.code==="processing_failed")&&f(Te(n.accountReconEntity.statementDataStatus?.code,"drawer",n.accountReconEntity.errorMessage?.errorShort))},[n.accountReconEntity.statementStatus.code,n.accountReconEntity.statementDataStatus?.code,n.accountReconEntity.errorMessage?.errorShort,f]);const y=["reconciled","in_progress","reconciled_via_qbo"],M=n.accountReconEntity.reconciliationStatus!=null&&y.includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(Ve,{children:[t.jsxs(Je,{children:[t.jsxs(Ge,{children:[t.jsx(A,{children:i.reconciliation.headers.bankBalance}),t.jsx(Ke,{children:t.jsx(Fe,{bankBalance:n.accountReconEntity.balance,bankConnection:n.accountConnectionStatus,isLoading:!1,fromDrawer:!0,accountId:n.accountReconEntity.account.accountId,statementStatus:n.accountReconEntity.statementStatus.code,onStatementAddClicked:()=>{},setIsHovering:()=>{}})})]}),t.jsxs(Qe,{children:[t.jsx(A,{children:i.reconciliation.headers.clearedBalance}),t.jsx(Xe,{children:t.jsx(Ue,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(et,{children:[t.jsx(A,{children:i.reconciliation.headers.variance}),t.jsx(tt,{children:t.jsx($t,{variance:n.accountReconEntity.variance,variancePercentage:n.accountReconEntity.variancePercentage})})]})]}),t.jsxs(st,{children:[t.jsxs(rt,{children:[" ",i.reconciliation.drawer.source," "]}),t.jsxs(lt,{children:[t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.type}),t.jsx(_,{children:a!=null?t.jsx(j,{children:a==="plaid"&&n.accountReconEntity.account.accountType==="bank"?t.jsxs(t.Fragment,{children:[t.jsx(ie,{}),i.reconciliation.menu.bankConnection]}):t.jsxs(t.Fragment,{children:[t.jsx(ae,{}),i.reconciliation.menu.statement]})}):t.jsx(be,{controller:!0,children:t.jsx(ve,{moreIconType:"custom",customIcon:t.jsx(yt,{selectedSourceType:v}),options:b,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:c.sp5,width:"180px"})},menuPlacement:"bottom",onOptionSelection:s=>{R(De(s))},valueToIcon:s=>s==="plaid"?t.jsx(ut,{}):s==="bank_statement"?t.jsx(pt,{}):null})})})]}),v==="bank_statement"?t.jsx(C,{children:t.jsx(we,{name:ft(se,"file"),file:n.accountReconEntity.statementMetaData?.file,showPhotoPicker:!1,isDisabled:M,sizeLimit:1e7,onFileSizeError:s=>{s&&f(p.fileElementPicker.sizeLimit)},deleteFileStatusById:{},updateFileStatusById:{},filesEndPoint:l,authParams:u,acceptableTypes:["application/pdf"],placeholderText:i.reconciliation.drawer.downloadPlaceholder,autoOpenFilePicker:x,accountStatementUpload:{uploadHelper:_e,metadataPayload:{accountId:n.accountReconEntity.account.accountId,accountType:n.accountReconEntity.account.accountType??"bank",monthYearPeriod:e},errorMessage:L,onUploadError:s=>{f(s?.message)},onUploadSuccess:s=>{F(s),h(!1)},onUploadStart:()=>{h(!0),f(void 0)},onUploadWindowOpenedOnce:()=>{U()}},onDeleteFile:s=>{E(s),P(!0)},onEditFileName:(s,w)=>{T(s,w)}})}):null,t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.status}),t.jsx(_,{children:v!=="bank_statement"?t.jsx(jt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:$}):t.jsx(St,{uploadInProgress:k,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.accountType}),t.jsx(_,{children:t.jsx(kt,{accountSubType:J(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.lastUpdated}),t.jsx(_,{children:t.jsx(Z,{isLoading:k,customStyle:{height:"20px",width:"100px"},position:"left",children:g!=null?t.jsx(j,{children:J(g.utc(!0).fromNow())}):p.strings.hyphen})})]})]})]})]})},yt=({selectedSourceType:e})=>t.jsxs(ct,{children:[e==null||e==="plaid"?t.jsx(ie,{}):t.jsx(ae,{}),t.jsx(it,{children:e==null||e==="plaid"?i.reconciliation.menu.bankConnection:i.reconciliation.menu.statement}),t.jsx(at,{})]}),jt=({status:e,connectionInProgress:n,onConnectClick:l,onReconnectClick:u})=>n?t.jsx(W,{children:i.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(W,{children:[t.jsx(dt,{}),t.jsx(ht,{children:i.reconciliation.drawer.values.connected})]}):t.jsx(W,{onClick:e==="reconnect"?u:l,children:t.jsx(mt,{status:e,children:e==="reconnect"?i.reconciliation.drawer.values.reconnect:i.reconciliation.drawer.values.connect})}),St=({status:e,uploadInProgress:n})=>n?t.jsx(Z,{isLoading:n,customStyle:{height:"20px",width:"100px"},position:"left",children:t.jsx(t.Fragment,{})}):e==null?t.jsx(j,{children:p.strings.hyphen}):e==="parsing"?t.jsx(j,{children:i.reconciliation.drawer.values.statementParsing}):e==="validated"?t.jsx(j,{children:i.reconciliation.drawer.values.uploaded}):t.jsx(j,{children:p.strings.hyphen}),$t=({variance:e,variancePercentage:n,reconciliationStatusCode:l})=>{const u=Ee(),{varianceColor:x,variancePercentageColor:S,variancePercentageContainerColor:$}=Le(u,e,l,!0);return t.jsxs(Ze,{children:[t.jsx(nt,{textColor:x,children:Pe("0,0",e)??p.strings.hyphen}),t.jsxs(ot,{textColor:S,bgColor:$,children:[n!=null?n===0?"0":n.toFixed(2):null,n!=null?p.strings.percentage:null]})]})},kt=({accountSubType:e})=>{const n=e!=null?e.replace("_"," "):p.strings.hyphen;return t.jsx(j,{children:n})},bt=({monthYearPeriod:e})=>t.jsx(ce,{children:vt(e)}),vt=e=>{const{month:n,year:l}=e,u=oe(`${l}-${String(n).padStart(2,"0")}-01`);let x=u.endOf("month");return`${u.format(G.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${x.format(G.visual.DMMMYYYYFormat)}`},K=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{Mt as default,ft as uniqueName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,aK as E,bQ as f,o,aM as y,a9 as se,dJ as re,F as le,ak as w,dK as de,p as g,dL as Z,dM as Y,cY as ue,aS as x,ag as X,c as p,q as xe,d as S,aZ as pe,dq as he,am as ge,n as me,al as I,bH as fe,dC as je}from"./index-
|
|
1
|
+
import{V as t,aK as E,bQ as f,o,aM as y,a9 as se,dJ as re,F as le,ak as w,dK as de,p as g,dL as Z,dM as Y,cY as ue,aS as x,ag as X,c as p,q as xe,d as S,aZ as pe,dq as he,am as ge,n as me,al as I,bH as fe,dC as je}from"./index-CfCf7MgZ.js";import{a as ye}from"./sentry-BMcFBC_8.js";import{n as a,c as we}from"./mui-CKpFcOsC.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="517fdea9-d35a-415a-97eb-8f2c236386da",e._sentryDebugIdIdentifier="sentry-dbid-517fdea9-d35a-415a-97eb-8f2c236386da")}catch{}})();const $e=a.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
${e=>e.showTreeLine===!0&&e.collapsed!==!0?`&::after {
|
|
4
4
|
content: "";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{F,V as o,o as t,aV as z,p as
|
|
1
|
+
import{F,V as o,o as t,aV as z,p as b,ap as ne,b as ae,bs as ie,bt as se,bu as ce,bv as le,bw as V,l as de,aL as W,aI as pe,d as J,av as ue,aM as _,aU as me,aJ as he,aP as ge,ag as R,aW as xe,b3 as fe,ak as ye,b8 as Ce}from"./index-CfCf7MgZ.js";import{a as U,w as I}from"./sentry-BMcFBC_8.js";import{c as $e}from"./SummaryCard-CxlxmBvk-CQGh33KQ.js";import{n as r,k as X,c as K}from"./mui-CKpFcOsC.js";import{EG as ve}from"./zeni-epic-state-C9GFWWAS.js";import{N as q}from"./NavigationArrow-CgBj8o4H-BHMh8CKl.js";import{k as be}from"./NavigationDots-BcSXYcwF-CbTe_zAV.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]="fd280338-fd08-435c-a4d0-1fa206ac3ec2",e._sentryDebugIdIdentifier="sentry-dbid-fd280338-fd08-435c-a4d0-1fa206ac3ec2")}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});
|
|
@@ -27,7 +27,7 @@ import{F,V as o,o as t,aV as z,p as v,ap as ne,b as ae,bs as ie,bt as se,bu as c
|
|
|
27
27
|
width: ${t.sp7};
|
|
28
28
|
height: ${t.sp7};
|
|
29
29
|
border-radius: 50%;
|
|
30
|
-
border: 2px solid ${
|
|
30
|
+
border: 2px solid ${b.neutralGrey5Light};
|
|
31
31
|
`,ze=r.div`
|
|
32
32
|
display: flex;
|
|
33
33
|
align-items: center;
|
|
@@ -36,12 +36,12 @@ import{F,V as o,o as t,aV as z,p as v,ap as ne,b as ae,bs as ie,bt as se,bu as c
|
|
|
36
36
|
gap: ${t.sp2};
|
|
37
37
|
margin-bottom: ${t.sp4};
|
|
38
38
|
padding: ${t.sp0} ${t.sp2};
|
|
39
|
-
`,
|
|
39
|
+
`,Ie=r(Ce)`
|
|
40
40
|
text-align: center;
|
|
41
41
|
max-width: 222px;
|
|
42
42
|
white-space: pre-line;
|
|
43
43
|
color: ${e=>e.theme.colors.zeniAccountsPromoDetailTextColor};
|
|
44
|
-
`,
|
|
44
|
+
`,Se=r.div`
|
|
45
45
|
min-height: 95px;
|
|
46
46
|
display: flex;
|
|
47
47
|
flex-direction: column;
|
|
@@ -57,7 +57,7 @@ import{F,V as o,o as t,aV as z,p as v,ap as ne,b as ae,bs as ie,bt as se,bu as c
|
|
|
57
57
|
`,Te=r(ye)`
|
|
58
58
|
color: ${e=>e.theme.colors.zeniAccountsPromoButtonColor};
|
|
59
59
|
`,Be=r(le)`
|
|
60
|
-
color: ${
|
|
60
|
+
color: ${b.brandColorJade};
|
|
61
61
|
height: ${t.sp4};
|
|
62
62
|
width: ${t.sp4};
|
|
63
63
|
`,Me=r(ce)`
|
|
@@ -91,14 +91,14 @@ import{F,V as o,o as t,aV as z,p as v,ap as ne,b as ae,bs as ie,bt as se,bu as c
|
|
|
91
91
|
height: 34px;
|
|
92
92
|
width: ${t.sp5};
|
|
93
93
|
border-radius: ${t.sp0} ${t.sp1} ${t.sp1} ${t.sp0};
|
|
94
|
-
background-color: ${
|
|
94
|
+
background-color: ${b.brandColorGold};
|
|
95
95
|
`,Ue=r.div`
|
|
96
96
|
display: flex;
|
|
97
97
|
align-items: center;
|
|
98
98
|
height: 34px;
|
|
99
99
|
width: 168px;
|
|
100
100
|
border-radius: ${t.sp0} ${t.sp1} ${t.sp1} ${t.sp0};
|
|
101
|
-
background-color: ${
|
|
101
|
+
background-color: ${b.brandColorJade};
|
|
102
102
|
opacity: 0;
|
|
103
103
|
animation: ${T("right",100)} normal 0.5s 1
|
|
104
104
|
forwards;
|
|
@@ -112,7 +112,7 @@ import{F,V as o,o as t,aV as z,p as v,ap as ne,b as ae,bs as ie,bt as se,bu as c
|
|
|
112
112
|
`,Xe=r.div`
|
|
113
113
|
width: 2px;
|
|
114
114
|
height: ${t.sp0};
|
|
115
|
-
background-color: ${
|
|
115
|
+
background-color: ${b.important};
|
|
116
116
|
transform: rotate(64deg);
|
|
117
117
|
position: absolute;
|
|
118
118
|
top: ${t.sp1};
|
|
@@ -134,7 +134,7 @@ import{F,V as o,o as t,aV as z,p as v,ap as ne,b as ae,bs as ie,bt as se,bu as c
|
|
|
134
134
|
${e=>De(e.direction,e.stepCount)}
|
|
135
135
|
`,We=r.div`
|
|
136
136
|
display: flex;
|
|
137
|
-
`,
|
|
137
|
+
`,S=r.div`
|
|
138
138
|
margin-right: -${t.sp3};
|
|
139
139
|
opacity: 0;
|
|
140
140
|
transform: translateX(50%);
|
|
@@ -142,13 +142,13 @@ import{F,V as o,o as t,aV as z,p as v,ap as ne,b as ae,bs as ie,bt as se,bu as c
|
|
|
142
142
|
forwards;
|
|
143
143
|
`,L=r.img`
|
|
144
144
|
${Q}
|
|
145
|
-
`,qe=r(
|
|
145
|
+
`,qe=r(S)`
|
|
146
146
|
display: flex;
|
|
147
147
|
justify-content: center;
|
|
148
148
|
align-items: center;
|
|
149
149
|
margin-right: ${t.sp3};
|
|
150
150
|
${Q}
|
|
151
|
-
background-color:${
|
|
151
|
+
background-color:${b.brandColorGold};
|
|
152
152
|
`,Ee=r(ne)`
|
|
153
153
|
color: ${e=>e.theme.colors.brandColorOnyx};
|
|
154
154
|
`,Ye=r(se)`
|
|
@@ -158,7 +158,7 @@ import{F,V as o,o as t,aV as z,p as v,ap as ne,b as ae,bs as ie,bt as se,bu as c
|
|
|
158
158
|
path {
|
|
159
159
|
stroke-width: 2px;
|
|
160
160
|
}
|
|
161
|
-
`,Ge=(e,n)=>{const{common:i}=F.getLocalizedStrings();switch(e){case"keepInterest":case"noHiddenFees":return o.jsx(o.Fragment,{children:n.map((a,s)=>o.jsx(Ze,{className:"card-highlight-text-stack",direction:a.direction,stepCount:a.stepCount,children:a.values.map((p,h)=>o.jsx(k,{className:"card-highlight-text",children:p},`${p}_${h}`))},`${a.direction}_${s}`))});case"protectCash":return o.jsxs(o.Fragment,{children:[o.jsxs(He,{children:[o.jsx(Me,{}),o.jsx(Be,{})]}),o.jsx(_e,{}),o.jsxs(Le,{children:[o.jsxs(Ne,{children:[o.jsx(Oe,{}),o.jsxs(E,{isZeniProgressBar:!1,children:[n[0].values[0]," ",i.texts.insured]})]}),o.jsxs(Ue,{children:[o.jsx(Fe,{children:n[0].values[1]}),o.jsx(E,{isZeniProgressBar:!0,style:{marginTop:"6px"},children:i.texts.insured})]})]})]});case"freeWire":return o.jsxs(ee,{style:{gap:t.sp2},children:[o.jsxs(k,{style:{position:"relative"},children:[n[0].values[0],o.jsx(Xe,{})]}),o.jsx(k,{children:o.jsx(Y,{children:o.jsx(Ye,{})})}),o.jsx(k,{children:o.jsx(Y,{style:{animationDelay:"1.5s"},children:n[0].values[1]})})]});case"expertSupport":return o.jsxs(We,{children:[o.jsx(
|
|
161
|
+
`,Ge=(e,n)=>{const{common:i}=F.getLocalizedStrings();switch(e){case"keepInterest":case"noHiddenFees":return o.jsx(o.Fragment,{children:n.map((a,s)=>o.jsx(Ze,{className:"card-highlight-text-stack",direction:a.direction,stepCount:a.stepCount,children:a.values.map((p,h)=>o.jsx(k,{className:"card-highlight-text",children:p},`${p}_${h}`))},`${a.direction}_${s}`))});case"protectCash":return o.jsxs(o.Fragment,{children:[o.jsxs(He,{children:[o.jsx(Me,{}),o.jsx(Be,{})]}),o.jsx(_e,{}),o.jsxs(Le,{children:[o.jsxs(Ne,{children:[o.jsx(Oe,{}),o.jsxs(E,{isZeniProgressBar:!1,children:[n[0].values[0]," ",i.texts.insured]})]}),o.jsxs(Ue,{children:[o.jsx(Fe,{children:n[0].values[1]}),o.jsx(E,{isZeniProgressBar:!0,style:{marginTop:"6px"},children:i.texts.insured})]})]})]});case"freeWire":return o.jsxs(ee,{style:{gap:t.sp2},children:[o.jsxs(k,{style:{position:"relative"},children:[n[0].values[0],o.jsx(Xe,{})]}),o.jsx(k,{children:o.jsx(Y,{children:o.jsx(Ye,{})})}),o.jsx(k,{children:o.jsx(Y,{style:{animationDelay:"1.5s"},children:n[0].values[1]})})]});case"expertSupport":return o.jsxs(We,{children:[o.jsx(S,{style:{animationDelay:"0.2s"},children:o.jsx(L,{src:je})}),o.jsx(S,{style:{animationDelay:"0.4s",zIndex:1},children:o.jsx(L,{src:Ae})}),o.jsx(S,{style:{animationDelay:"0.6s",zIndex:2},children:o.jsx(L,{src:we})}),o.jsx(qe,{style:{animationDelay:"0.8s",zIndex:3},children:o.jsxs(Ee,{children:[" ",n[0].values[0]]})})]})}};let G;function Ve({zeniAccountsPromoCardContent:e,showConfetti:n}){const[i]=xe("Confetti"),a=J(),[s,p]=U.useState(!1);U.useEffect(()=>(n&&(G=setTimeout(()=>{p(!0)},2e3)),()=>{clearTimeout(G),p(!1)}),[n]);const{prefix:h,header:d,headerAnimationData:u,showAnimation:f,key:g}=e;return o.jsxs(ze,{children:[n&&s&&i!=null?o.jsx(fe,{loop:!1,play:!0,onComplete:()=>{p(!1)},segments:[100,299],animationData:i,style:{position:"absolute",top:`-${t.sp8}`,left:t.sp0},rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null,o.jsxs(Se,{children:[d!=null?o.jsx(Te,{children:d}):null,o.jsx(ee,{children:f?Ge(g,u):null})]}),o.jsx(Ie,{themeContext:a,children:h})]})}const Je=r(he)`
|
|
162
162
|
flex-wrap: wrap;
|
|
163
163
|
overflow: hidden;
|
|
164
164
|
& .styledNav {
|
|
@@ -204,4 +204,4 @@ import{F,V as o,o as t,aV as z,p as v,ap as ne,b as ae,bs as ie,bt as se,bu as c
|
|
|
204
204
|
bottom: 6px;
|
|
205
205
|
`,ro=r(V)`
|
|
206
206
|
color: ${e=>e.theme.colors.zeniAccountsPromoButtonColor};
|
|
207
|
-
`,P=F.getLocalizedStrings().zeniAccountsPromoCard;function no({analytics:e,cardPosition:n,card:i,data:a,activeCardIndex:s,isZeniAccountsSetUp:p,handleLearnMoreClick:h,handleCardNavigation:d}){const u=J(),f=ue(),[g,x]=
|
|
207
|
+
`,P=F.getLocalizedStrings().zeniAccountsPromoCard;function no({analytics:e,cardPosition:n,card:i,data:a,activeCardIndex:s,isZeniAccountsSetUp:p,handleLearnMoreClick:h,handleCardNavigation:d}){const u=J(),f=ue(),[g,x]=I.useState(0),[y,C]=I.useState(0),[B,j]=I.useState("left"),A=(l,$)=>{l.stopPropagation(),j($);const re=$=="left"?s+1:s-1;e.trackZeniAccountsPromoCardClick(n,$==="left"?"Next":"Back"),d(w(re),$)},M=l=>{d(w(l),"left")};function m(l){x(l.targetTouches[0].clientX)}function oe(l){C(l.targetTouches[0].clientX)}function w(l){return l<0?a.length+l:l%a.length}function te(){g-y>50&&y!==0?(d(w(s+1),"left"),j("left"),x(0),C(0)):g-y<-50&&y!==0&&(d(w(s-1),"right"),j("right"),x(0),C(0))}const H=a.length>1,Z=ve(f.loggedInUserRoleMap);return o.jsx(Je,{"data-testid":_("dashboard",i.cardType),style:{cursor:"default"},dimension:i.dimension,onTouchStart:l=>H?m(l):null,onTouchMove:l=>H?oe(l):null,onTouchEnd:()=>H?te():null,children:o.jsxs(Re,{children:[o.jsx(N,{children:o.jsx(q,{"data-testid":_("dashboard-navigation-arrow-left",i.cardType),isSpendManagementPromoCard:!0,navType:"left",handleClick:A,promoColor:u.colors.zeniAccountsPromoButtonColor,promoBorderColor:u.colors.zeniAccountsPromoButtonColor})}),o.jsxs(N,{style:{height:"100%",position:"relative",alignItems:"center"},children:[o.jsx(eo,{children:o.jsx(oo,{children:P.title})}),a.map((l,$)=>o.jsx(me,{activeCardIndex:s,currentIndex:$,which:B,children:o.jsx(Ve,{zeniAccountsPromoCardContent:l,showConfetti:s===2})},l.key)),o.jsx(Ke,{onClick:()=>h(Z?p?"Move Money":"Sign Up for Free":"Learn More"),children:o.jsx(Qe,{children:Z?p?P.button:P.signUp:P.learnMore})}),o.jsx(be,{spendManagementPromoCardActive:!0,numberOfDots:a.length,activeIndex:s,handleClick:M,promoColor:u.colors.zeniAccountsPromoButtonColor,promoColorHover:u.colors.zeniAccountsPromoNavigationDotHoverColor,style:{cursor:"default",position:"absolute",bottom:t.sp5}}),s===0?o.jsx(to,{children:o.jsx(ro,{children:a[0].footer})}):null]}),o.jsx(N,{children:o.jsx(q,{"data-testid":_("dashboard-navigation-arrow-right",i.cardType),isSpendManagementPromoCard:!0,navType:"right",handleClick:A,promoColor:u.colors.zeniAccountsPromoButtonColor,promoBorderColor:u.colors.zeniAccountsPromoButtonColor})})]})})}const{zeniAccountsPromoCard:c,common:v}=F.getLocalizedStrings(),D={key:"keepInterest",title:c.title,prefix:c.keepInterest.prefixDashboard,header:c.keepInterest.header,headerAnimationData:[],footer:c.keepInterest.footer,showAnimation:!0},O={key:"protectCash",title:c.title,prefix:c.protectCash.prefix,headerAnimationData:[],showAnimation:!0},ao=[{key:"noHiddenFees",title:c.title,prefix:c.noHiddenFees.prefix,headerAnimationData:[{direction:"down",stepCount:6,values:c.noHiddenFees.headerAnimationData}],showAnimation:!0},{key:"freeWire",title:c.title,prefix:c.freeWire.prefix,headerAnimationData:[{direction:"right",stepCount:1,values:c.freeWire.headerAnimationData}],showAnimation:!0},{key:"expertSupport",title:c.title,prefix:c.expertSupport.prefix,header:c.expertSupport.header,headerAnimationData:[{direction:"left",stepCount:1,values:c.expertSupport.headerAnimationData}],showAnimation:!0}];function io({card:e,data:n,analytics:i,actions:a,isZeniAccountsEnabled:s,columnKey:p,index:h,dndProps:d}){const[u,f]=U.useState(0),g=m=>{f(m)},x=(p+1)*(h+1),y=m=>{i.trackZeniAccountsPromoCardClick(x,m),n.depositAccountId!=null?a.onCardBtnClick?.("zeni_accounts_promo_card",n.depositAccountId):a.onCardBtnClick?.("zeni_accounts_promo_card")},{maxInsuredAmount:C,maxPossibleInterest:B,maxAnnualPercentageYield:j,maxCashBalanceAvailable:A=0}=n;D.headerAnimationData=so(B??25e4),D.prefix=c.keepInterest.prefixDashboard.replace(/<amount>/,z("0,0",A,v.currency.currencySymbol).toUpperCase()),D.footer=c.keepInterest.footer.replace(/<interest>/,j.toString()),O.headerAnimationData=[{direction:"right",stepCount:1,values:[...c.protectCash.headerAnimationData,z(W(C),C,v.currency.currencySymbol).toUpperCase()]}],O.prefix=c.protectCash.prefix.replace(/<amount>/,z(W(C),C,v.currency.currencySymbol).toUpperCase());const M=[D,O,...ao];return o.jsx(pe,{isDragging:d?.draggedCardType!=null,isDragOver:d?.dragOverCard===e.cardType,draggable:!0,onDragStart:m=>d?.onDragStart(e.cardType,m),onDragOver:m=>d?.onDragOver(m,e.cardType),onDragLeave:m=>d?.onDragLeave(m),onDrop:m=>d?.onDrop(m,e.cardType),dimension:e.dimension,children:o.jsx($e,{card:e,actions:{onCardClick:()=>{},onReloadData:()=>{}},children:o.jsx(no,{card:e,data:M,handleCardNavigation:g,activeCardIndex:u,handleLearnMoreClick:y,isZeniAccountsSetUp:s&&n.depositAccountId!=null,analytics:i,cardPosition:x})})},e.cardIndex)}I.memo(io);function so(e){const n=[],i=z("0,0",Math.floor(e),v.currency.currencySymbol);for(let a=0;a<i.length;a++){const s=i[a],p={direction:"up",stepCount:0,values:[s]};if(s===v.currency.currencySymbol||s===v.strings.comma)n.push(p);else{const h=parseInt(i[a]),d=a===1&&h<=1?1:Math.floor(h/2),u=a%2===0?"down":"up",f=h-d,g=[];for(let x=0;x<=f;x++){const y=d+x;g.push(y.toString())}u==="down"&&g.reverse(),n.push({direction:u,stepCount:f,values:g})}}return n}export{Ge as G,io as a,so as c};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as y,q as S,aN as T,b as d,V as l,jm as w,o as t,y as c,aM as B,F as x,c as n}from"./index-
|
|
1
|
+
import{d as y,q as S,aN as T,b as d,V as l,jm as w,o as t,y as c,aM as B,F as x,c as n}from"./index-CfCf7MgZ.js";import{a as C}from"./sentry-BMcFBC_8.js";import{n as I}from"./mui-CKpFcOsC.js";import"./liveblocks-CeZbKJYW.js";import"./core-DvMedK7z.js";import"./recharts-Df0tybnF.js";import"./zeni-epic-state-C9GFWWAS.js";import"./lottie-BtS_aZMT.js";import"./analytics-m0npYLNL.js";import"./lexical-C7Ca00s8.js";import"./utils-C_7xnEWP.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="29dfb081-2d2f-461d-9e18-13bcf4c4cf5a",e._sentryDebugIdIdentifier="sentry-dbid-29dfb081-2d2f-461d-9e18-13bcf4c4cf5a")}catch{}})();const m={marginTop:new c(n[0],18),marginBottom:new c(n[0],n[3])},{spendManagement:{chargeCard:{chargeCardsPromo:p}},common:j}=x.getLocalizedStrings(),K=({googleAPIKey:e,customAddress:s,customAddressStatus:o,onDismissClick:r,onSubmitHandler:g})=>{const u=y(),a=S(),i=T(o.fetchState);C.useEffect(()=>{i==="In-Progress"&&o.fetchState==="Completed"&&r()},[o.fetchState,r,i]);const f=a==="small"?d.extraSmallRegular.cssObject:d.standardRegular.cssObject,b=a==="small"?d.standardMedium.cssObject:d.h5Regular.cssObject;return l.jsx(P,{"data-testid":B("add-address-for-card-drawer"),children:l.jsx(w,{googleAPIKey:e,loadingState:o.fetchState,addressToEdit:s,onSubmitHandler:h=>g(h),onCancel:r,showNavbarWithClose:!0,isSubPage:!0,addTitleMessage:p.addAddress,subTitleMessage:p.addAddressSubText,hideAddressBackButton:!0,showAddressCloseButton:!0,dontShowSaveConfirmationPopup:!0,customNavStyles:{paddingTop:"19px",paddingBottom:"19px"},customTitleStyles:{marginTop:m.marginTop.valuePx(a),marginBottom:m.marginBottom.valuePx(a),...b},subTitleStyles:{marginTop:t.sp0,marginBottom:t.sp0,...f,color:u.colors.hero},navBarContainerStyles:{alignItems:"center",justifyContent:"space-between",paddingTop:t.sp2,paddingRight:t.sp3},sectionStyles:{paddingTop:t.sp4,paddingBottom:t.sp4},footerButtons:{primaryButtonLabel:j.add,buttonWidth:82,separatorStyle:{marginRight:t.sp4}}})})},P=I.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
background-color: ${e=>e.theme.colors.grey4};
|
|
4
4
|
height: 100%;
|
package/dist/assets/{AddToWalletPage-CQYHG0Yj-0jpf7AZf.js → AddToWalletPage-D4yEGRLZ-BnliXlfi.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{q as L,a7 as le,av as ne,F as N,V as t,bz as de,c as p,j1 as pe,jj as ce,o as i,n as W,aM as A,y as m,a as $,B as b,jk as he,j2 as ge,cf as xe,p as r,jl as me,bv as ue,cS as we,ak as $e,b as be,j6 as fe}from"./index-
|
|
1
|
+
import{q as L,a7 as le,av as ne,F as N,V as t,bz as de,c as p,j1 as pe,jj as ce,o as i,n as W,aM as A,y as m,a as $,B as b,jk as he,j2 as ge,cf as xe,p as r,jl as me,bv as ue,cS as we,ak as $e,b as be,j6 as fe}from"./index-CfCf7MgZ.js";import{a as g}from"./sentry-BMcFBC_8.js";import{n as o,c as D}from"./mui-CKpFcOsC.js";import{EF as ye}from"./zeni-epic-state-C9GFWWAS.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-CEfUgkOq.js";import"./liveblocks-CeZbKJYW.js";import"./core-DvMedK7z.js";import"./recharts-Df0tybnF.js";import"./lottie-BtS_aZMT.js";import"./analytics-m0npYLNL.js";import"./lexical-C7Ca00s8.js";import"./utils-C_7xnEWP.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="ae79747f-0dfb-420a-98ae-bd8a6c56cf20",e._sentryDebugIdIdentifier="sentry-dbid-ae79747f-0dfb-420a-98ae-bd8a6c56cf20")}catch{}})();const Ie=({options:e,selected:a,onToggle:h,containerStyle:l={},optionStyle:y={},thumbStyle:k={}})=>{const u=e.findIndex(n=>n.id===a),w=100/e.length,j=()=>u===0?{left:"1%"}:u===e.length-1?{left:`${(e.length-1)*w}%`}:{left:`${u*w}%`};return t.jsxs(We,{style:l,children:[t.jsx(Ae,{style:{width:`${w-1}%`,...j(),...k}}),e.map(n=>t.jsx(De,{style:y,active:n.id===a,"data-testid":n.dataTestId,onClick:v=>{v.preventDefault(),h(n.id)},children:n.label},n.id))]})},We=o.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
width: 100%;
|
|
4
4
|
background: ${e=>e.theme.colors.grey3};
|
package/dist/assets/{AgingReportsPage-BWCU11pF-BQ-PtZ_4.js → AgingReportsPage-Bos6Ptg1-BsktasXm.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as q,q as O,hX as _e,V as t,hY as De,bL as Ne,hZ as ve,bA as Oe,bz as ke,y as D,a9 as F,g1 as je,F as x,o as N,aQ as Pe,c as m,aK as Q,cc as Be,cd as $e,ce as Ie,ak as Ae,cf as Me,b1 as ne,aA as oe,aS as re}from"./index-
|
|
1
|
+
import{d as q,q as O,hX as _e,V as t,hY as De,bL as Ne,hZ as ve,bA as Oe,bz as ke,y as D,a9 as F,g1 as je,F as x,o as N,aQ as Pe,c as m,aK as Q,cc as Be,cd as $e,ce as Ie,ak as Ae,cf as Me,b1 as ne,aA as oe,aS as re}from"./index-CfCf7MgZ.js";import{a as f}from"./sentry-BMcFBC_8.js";import{n as y}from"./mui-CKpFcOsC.js";import{bh as R,FP as Ye}from"./zeni-epic-state-C9GFWWAS.js";import{n as A}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{L as ze,k as Le}from"./ArAgingChart-Cn2M7EaL-nBklyCn9.js";import{C as ie}from"./NoDataChart-tkUQHi-b-DNeJq3an.js";import{I as se,R as $}from"./CollapsableReportTable-CvXUxopt-D14Oil84.js";import{d as le}from"./NoDataTable-DHZ1gQeV-BGIsqNsy.js";import{l as ce}from"./mapSpacerToTreeNode-CumKhTYV-BCq154st.js";import{l as Ee}from"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";import"./liveblocks-CeZbKJYW.js";import"./core-DvMedK7z.js";import"./recharts-Df0tybnF.js";import"./lottie-BtS_aZMT.js";import"./analytics-m0npYLNL.js";import"./lexical-C7Ca00s8.js";import"./utils-C_7xnEWP.js";import"./chartTypes-CMIndIax-BteEcbR9.js";import"./AccountRow-XnGMYfcj-D4Lt4mO-.js";import"./graphic-no-data-l-DU4J8fDt-nMtRbPHc.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]="a68895ca-113d-47ea-af69-18307129b745",e._sentryDebugIdIdentifier="sentry-dbid-a68895ca-113d-47ea-af69-18307129b745")}catch{}})();const Fe={chartHeight:new D(288,360)},de=y.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
`,ge=y.div`
|
|
4
4
|
display: flex;
|
|
@@ -16,7 +16,7 @@ import{d as q,q as O,hX as _e,V as t,hY as De,bL as Ne,hZ as ve,bA as Oe,bz as k
|
|
|
16
16
|
`,he=y.div`
|
|
17
17
|
width: 100%;
|
|
18
18
|
height: calc(100vh - ${N.sp11});
|
|
19
|
-
`;function We({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){return e.reportId==="accounts_payable_aging"?t.jsx(Je,{report:e,onSortOrderChange:a,onEntityNameClick:o}):t.jsx(Ze,{report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i})}function Je({report:e,onSortOrderChange:a,onEntityNameClick:o}){const[i,s]=f.useState(void 0),[n,c]=f.useState(void 0),l=O(),r=q(),u=!(l==="small"||l==="medium-compact"),p=f.useCallback((d,g)=>{a(d,g)},[a]);return f.useEffect(()=>{const d={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.apAgingUIState.sortKey,sortOrder:e.apAgingUIState.sortOrder,onSortOrderChanged:p,onEntityNameClick:o}};if(n==null||!oe(i,e)){const g=He(e,d,u);s(e),c(g)}else{const g=ue(n,d,e,u);c(g)}},[e,p]),e.agingBalances.length===0?t.jsx(M,{windowSize:l,children:t.jsx(le,{})}):n!=null?t.jsx(M,{windowSize:l,children:t.jsx(he,{numOfRows:e.agingBalances.length,children:t.jsx(se,{backgroundColor:new re(r.colors.grey4),rootNodes:n,type:"name+balances_actual",isSticky:{isStickyHeader:u,isStickyName:u},treeNodePadding:{left:v.contentPaddingLeft.value(l),right:v.contentPaddingRight.value(l)},nodeOpenStatus:{},compareMode:"compare_mode_amount"})})}):null}function Ze({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){const[s,n]=f.useState(void 0),[c,l]=f.useState(void 0),r=O(),u=q(),p=!(r==="small"||r==="medium-compact"),d=f.useCallback((g,
|
|
19
|
+
`;function We({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){return e.reportId==="accounts_payable_aging"?t.jsx(Je,{report:e,onSortOrderChange:a,onEntityNameClick:o}):t.jsx(Ze,{report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i})}function Je({report:e,onSortOrderChange:a,onEntityNameClick:o}){const[i,s]=f.useState(void 0),[n,c]=f.useState(void 0),l=O(),r=q(),u=!(l==="small"||l==="medium-compact"),p=f.useCallback((d,g)=>{a(d,g)},[a]);return f.useEffect(()=>{const d={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.apAgingUIState.sortKey,sortOrder:e.apAgingUIState.sortOrder,onSortOrderChanged:p,onEntityNameClick:o}};if(n==null||!oe(i,e)){const g=He(e,d,u);s(e),c(g)}else{const g=ue(n,d,e,u);c(g)}},[e,p]),e.agingBalances.length===0?t.jsx(M,{windowSize:l,children:t.jsx(le,{})}):n!=null?t.jsx(M,{windowSize:l,children:t.jsx(he,{numOfRows:e.agingBalances.length,children:t.jsx(se,{backgroundColor:new re(r.colors.grey4),rootNodes:n,type:"name+balances_actual",isSticky:{isStickyHeader:u,isStickyName:u},treeNodePadding:{left:v.contentPaddingLeft.value(l),right:v.contentPaddingRight.value(l)},nodeOpenStatus:{},compareMode:"compare_mode_amount"})})}):null}function Ze({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){const[s,n]=f.useState(void 0),[c,l]=f.useState(void 0),r=O(),u=q(),p=!(r==="small"||r==="medium-compact"),d=f.useCallback((g,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=Ue(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(M,{windowSize:r,children:t.jsx(le,{})}):c!=null?t.jsx(M,{windowSize:r,children:t.jsx(he,{numOfRows:e.agingBalances.length,children:t.jsx(se,{backgroundColor:new re(u.colors.grey4),rootNodes:c,type:"name+balances_actual",isSticky:{isStickyHeader:p,isStickyName:p},treeNodePadding:{left:v.contentPaddingLeft.value(r),right:v.contentPaddingRight.value(r)},nodeOpenStatus:e.arAgingUIState.nodeCollapseState,onNodeCollapseToggled:i,compareMode:"compare_mode_amount"})})}):null}const Ve={summaryColumnGap:new D(m[2],m[1],m[1],m[2],m[6])},Qe=y.div`
|
|
20
20
|
display: flex;
|
|
21
21
|
width: 100%;
|
|
22
22
|
justify-content: space-between;
|
|
@@ -34,7 +34,7 @@ import{d as q,q as O,hX as _e,V as t,hY as De,bL as Ne,hZ as ve,bA as Oe,bz as k
|
|
|
34
34
|
width: fit-content;
|
|
35
35
|
`,te=y(Me)`
|
|
36
36
|
color: ${e=>e.theme.colors.primary};
|
|
37
|
-
`;function Xe({totalBalances:e,reportId:a}){const o=f.useMemo(()=>Ee(e),[e]),i=O();return t.jsxs(Qe,{windowSize:i,children:[e.map(s=>{const{period:n}=s;return t.jsxs(X,{children:[t.jsx(ee,{children:x.getLocalizedStrings().reports.aging.duration[n]}),t.jsx(te,{children:Q("0,0",s?.balance)})]},n)}),t.jsxs(X,{children:[t.jsx(ee,{children:a==="accounts_payable_aging"?x.getLocalizedStrings().reports.aging.apAging.totalPayable:x.getLocalizedStrings().reports.aging.arAging.totalReceivable}),t.jsx(te,{children:Q("0,0",o?.balance)})]})]})}const K={wrapperPadding:new D(m[3],m[3],m[8]),navbarMarginBottom:new D(m[7],m[4])},{download:T,dateFormat:_,reports:{common:et,aging:B}}=x.getLocalizedStrings();function Bt(e){const a=q(),[o,i]=f.useState(!1),s=O(),{report:n,uiState:c,downloadParams:l,analytics:r,onSelectedDateChanged:u,onBackClick:p,onSearchTextChange:d,onReloadReport:g,onSortOrderChange:
|
|
37
|
+
`;function Xe({totalBalances:e,reportId:a}){const o=f.useMemo(()=>Ee(e),[e]),i=O();return t.jsxs(Qe,{windowSize:i,children:[e.map(s=>{const{period:n}=s;return t.jsxs(X,{children:[t.jsx(ee,{children:x.getLocalizedStrings().reports.aging.duration[n]}),t.jsx(te,{children:Q("0,0",s?.balance)})]},n)}),t.jsxs(X,{children:[t.jsx(ee,{children:a==="accounts_payable_aging"?x.getLocalizedStrings().reports.aging.apAging.totalPayable:x.getLocalizedStrings().reports.aging.arAging.totalReceivable}),t.jsx(te,{children:Q("0,0",o?.balance)})]})]})}const K={wrapperPadding:new D(m[3],m[3],m[8]),navbarMarginBottom:new D(m[7],m[4])},{download:T,dateFormat:_,reports:{common:et,aging:B}}=x.getLocalizedStrings();function Bt(e){const a=q(),[o,i]=f.useState(!1),s=O(),{report:n,uiState:c,downloadParams:l,analytics:r,onSelectedDateChanged:u,onBackClick:p,onSearchTextChange:d,onReloadReport:g,onSortOrderChange:b,onEntityNameClick:fe,updateDownloadStateHandler:Y,onNodeCollapseToggled:ye}=e,{fetchState:k,reportTitle:we,reportId:w}=n,{searchString:j,downloadState:I,sortKey:z,sortOrder:L,selectedDate:S,agingDateSelectionType:H}=c,{authParams:U,downloadEndPoint:W,timezone:J}=l,Z=f.useCallback((h,C)=>{const P=ae(C);u(h,P),r.trackAgingReportDateChange(A(w),S!=null?S.format(_.analytics.YYYYDashMMDashDDFormat):R().format(_.analytics.YYYYDashMMDashDDFormat),h.format(_.analytics.YYYYDashMMDashDDFormat),P)},[r,u,w,S]),V=f.useCallback(h=>{const C=_e({options:B.preComputedDurationOptions.map(({label:E,value:Ce})=>({label:E,value:Ye(Ce)})).filter(({value:E})=>E!=null),selectedDate:h}),P=ae(C);u(h,P),r.trackAgingReportDateChange(A(w),S!=null?S.format(_.analytics.YYYYDashMMDashDDFormat):R().format(_.analytics.YYYYDashMMDashDDFormat),h.format(_.analytics.YYYYDashMMDashDDFormat),P)},[r,u,w,S]),xe=f.useCallback((h,C)=>{b(h,C),r.trackAgingReportSortChange(A(w),C,h)},[r,b,w]),Se=f.useCallback(()=>t.jsx(De,{maxDate:R(),selectedDate:{date:S},precomputedOptionsProperties:{preComputedOptionSelected:ct(H),preComputedOptionDateFormat:_.visual.MMMDCommaYYYYformat,preComputedOptions:B.preComputedDurationOptions,onPreComputedOptionSelected:Z},onSelectedDateChanged:V}),[S,Z,V,H]);if(f.useEffect(()=>{async function h(){const C={companyName:l.companyName,searchString:j,sortKey:z,sortOrder:L,statementFileType:"excel",timezone:J,reportId:w==="accounts_receivable_aging"?"accounts_receivable_aging":"accounts_payable_aging",reportDate:S};await tt(W,U,C),Y("Completed"),r.trackAgingReportDownloadClick(A(w),z,L)}o&&I!=="In-Progress"&&(i(!1),Y("In-Progress"),h())},[U,W,l.companyName,I,o,w,j,z,L,Y,S,r,J]),k==="Error")return t.jsxs(nt,{children:[t.jsx(ot,{onClick:g,children:t.jsx(Ne,{})}),t.jsx(rt,{children:et.failed})]});const be=t.jsxs(t.Fragment,{children:[t.jsx(ve,{isSearchOpen:(j?.length??0)>0,searchPlaceHolder:w==="accounts_payable_aging"?B.apAging.searchPlaceholder:B.arAging.searchPlaceholder,searchText:j??"",onSearchTextChanged:h=>{d(h)},downloadPresent:!0}),t.jsx(Oe,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:I==="In-Progress"}],onDownloadClick:async h=>{if(h==="excel")if(I==="In-Progress"){console.log("Download is already in progress!");return}else i(!0)}}}})]});return t.jsxs(it,{children:[t.jsx(ke,{title:we,subTitle:Se(),backgroundColor:a.colors.grey5,onBackClick:p,rightSideComponent:be,downloadPresent:!0,style:{marginBottom:K.navbarMarginBottom.valuePx(s)},source:"AgingReportsPage"}),t.jsx(F,{controller:k==="In-Progress"||k==="Not-Started",children:t.jsx(je,{fetchState:k})}),t.jsxs(F,{controller:k==="Completed",children:[t.jsx(F,{controller:j.length===0,children:t.jsxs(lt,{windowSize:s,children:[t.jsx(st,{children:t.jsx(Xe,{reportId:w==="accounts_payable_aging"?"accounts_payable_aging":"accounts_receivable_aging",totalBalances:n.totalBalances})}),t.jsx(Re,{report:n})]})}),t.jsx(We,{report:n,onSortOrderChange:xe,onEntityNameClick:fe,onNodeCollapseToggled:ye})]})]})}async function tt(e,a,o){const i=`${e}?query=${encodeURIComponent(JSON.stringify(at(o)))}`,s=B.arAging;try{const n=await Be({urlEndPoint:i,authParams:a,fileType:"excel"});if(n.ok){const c=$e(n.headers,T.defaultFileName),l=await n.arrayBuffer();Ie(l,c)}else console.error(`${T.errorMessages.fileDownloadError.replace("__feature__",s.arAging)} ${n.statusText}`)}catch(n){console.error(`${T.errorMessages.fileDownloadError.replace("__feature__",s.arAging)} ${JSON.stringify(n)}`)}}function at(e){return{statement_file_type:e.statementFileType,search_string:e.searchString,report_id:e.reportId,company_name:e.companyName,locale_id:x.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,report_date:e.reportDate,timezone:e.timezone}}const nt=y.div`
|
|
38
38
|
display: flex;
|
|
39
39
|
width: 100%;
|
|
40
40
|
height: calc(100% - 60px);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{cO as Q,eh as Ie,q as _,V as l,aM as P,y as O,o as i,b7 as re,F as B,n as ie,ak as ne,cY as Pe,cf as Ce,c as L,bQ as Se,aG as te,cx as Y,gK as de,fU as R,fR as K,fS as X,fT as ce,fV as pe,aZ as me,gL as Te,p as ue,cV as ge,al as he,cW as Oe,ac as Re}from"./index-
|
|
1
|
+
import{cO as Q,eh as Ie,q as _,V as l,aM as P,y as O,o as i,b7 as re,F as B,n as ie,ak as ne,cY as Pe,cf as Ce,c as L,bQ as Se,aG as te,cx as Y,gK as de,fU as R,fR as K,fS as X,fT as ce,fV as pe,aZ as me,gL as Te,p as ue,cV as ge,al as he,cW as Oe,ac as Re}from"./index-CfCf7MgZ.js";import{n as p}from"./mui-CKpFcOsC.js";import{Fv as ze,bg as J}from"./zeni-epic-state-C9GFWWAS.js";import{a as E}from"./sentry-BMcFBC_8.js";import{Y as xe}from"./LabeledUserSingleSelectWithSubtitlesField-CeZEGuNW-zALpZz0i.js";import{j as fe,C as be}from"./LabeledZeniRolesDropDownField-CDmiz3py-BNL-bXQg.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]="75f34e77-c58a-4376-94e4-a758ff2f1f0c",e._sentryDebugIdIdentifier="sentry-dbid-75f34e77-c58a-4376-94e4-a758ff2f1f0c")}catch{}})();const Z=(e,t)=>`${e}.${t}`,se={largeLabelWidth:new O(120,120,160),toolTipWidth:new O(215,237)},g=B.getLocalizedStrings().peoplePage,De=({user:e,sectionId:t,mode:o,managersList:a,classList:s,controllersList:h,customerRoleOptions:w,isBankingOnlyTenant:m,isCardsOnlyTenant:b,isEdit:U,person:x,analytics:v})=>{const y=_(),C=se.largeLabelWidth.value(y),{setValue:S}=Q(),D=te(h),$=D.splice(0,1),N=D.reduce((r,n)=>r.concat(`${n.email},`),""),M=E.useMemo(()=>te(Y.roles),[]),u=J(e.role);return E.useEffect(()=>{(u||m||b)&&S("userItems.0.department",{allOptions:[],selectedOption:void 0}),u&&S("userItems.0.manager",{allUsers:[],selectedUser:void 0})},[u,m,b]),l.jsxs(Le,{windowSize:y,"data-testid":P("edit-people-user-item-section"),children:[l.jsx(de,{label:g.invitePage.email,name:Z(t,"email"),registerOptions:{required:!0,value:e.email,disabled:!0},placeholder:R(g.addPlaceholderPrefix,g.invitePage.email),style:{paddingTop:i.sp2,paddingBottom:i.sp2}}),l.jsx(H,{}),o==="off"?l.jsxs(l.Fragment,{children:[l.jsx(fe,{label:{label:g.invitePage.role,width:C},style:{width:"auto"},rolesDropDownField:{name:Z(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(e.role),allRootRole:X(m,b)},productsByUserRole:K(e.role,w)},registerOptions:{required:!0}}}),l.jsx(H,{}),l.jsx(xe,{label:{label:g.invitePage.manager,width:C},showTooltip:!0,toolTipWidth:se.toolTipWidth.valuePx(y),tooltipTitle:l.jsx(ke,{}),userSingleSelectWithSubTitlesField:{name:Z(t,"manager"),value:{allUsers:a,selectedUser:e?.managerId?e?.managerId:"no_manager"},valueToSubtitle:r=>{const n=a.findIndex(d=>d.userId===r);if(n!==-1){const d=a[n],j=s.find(k=>k.classId===d.userRole.accountingClassIDs[0]),I=[];return j!=null&&I.push(j.className),I}else return[]},placeholderLabel:u?g.notApplicable:R(g.selectPlaceholderPrefix,g.invitePage.manager),registerOptions:{required:!u},showOneOffLabel:{label:"No Manager",value:"no_manager",position:"top",subtitles:[]},isDisabled:u?"disabled":void 0,isOptionDisabled:r=>r===x?.user?.userId},style:{width:"auto"},isDisabled:u?"disabled":void 0,opacity:u?.32:1}),l.jsx(H,{}),l.jsx(pe,{label:{label:g.invitePage.department,width:C},singleSelectWithoutClearableField:{name:Z(t,"department"),defaultValue:{allOptions:s.map(r=>({label:r.fullyQualifiedAccountingClassName??"",value:r.classId,hoverText:r.accountingClassNumber})),selectedOption:s.map(r=>({label:r.fullyQualifiedAccountingClassName??"",value:r.classId,hoverText:r.accountingClassNumber})).find(r=>r.value===e.departmentId)},placeholder:u||m||b?g.notApplicable:R(g.selectPlaceholderPrefix,g.invitePage.department),registerOptions:{required:!u||!(m||b)},isDisabled:u||m||b?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:u||m||b?"disabled":void 0,opacity:u||m||b?.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(be,{label:{label:g.invitePage.role,width:C},zeniRolesDropDownField:{name:Z(t,"role"),defaultValue:{selectedOptions:e.role,allOptions:M},registerOptions:{required:!0},placeholderLabel:R(g.selectPlaceholderPrefix,g.invitePage.role),isMulti:!0,forZeniUser:!0,onSelectionChanged:r=>{x!=null&&v?.trackRoleChanged(x.userRole.userRoles,r[0],x?.userRole.userEmail)}},style:{width:"auto"}})]})},ke=()=>B.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,Le=p.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -43,7 +43,7 @@ import{cO as Q,eh as Ie,q as _,V as l,aM as P,y as O,o as i,b7 as re,F as B,n as
|
|
|
43
43
|
color: ${e=>e.theme.colors.primary};
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
`,F=(e,t)=>`${e}.${t}`,oe={largeLabelWidth:new O(125,140,160),toolTipWidth:new O(246,250)},c=B.getLocalizedStrings().peoplePage,Fe=({user:e,sectionId:t,mode:o,isZeniTenant:a,managersList:s,classList:h,controllersList:w,index:m,customerRoleOptions:
|
|
46
|
+
`,F=(e,t)=>`${e}.${t}`,oe={largeLabelWidth:new O(125,140,160),toolTipWidth:new O(246,250)},c=B.getLocalizedStrings().peoplePage,Fe=({user:e,sectionId:t,mode:o,isZeniTenant:a,managersList:s,classList:h,controllersList:w,index:m,customerRoleOptions:b,isEdit:U,isBankingOnlyTenant:x,isCardsOnlyTenant:v})=>{const y=_(),{getValues:C,formState:{errors:S},setValue:D}=Q(),$=oe.largeLabelWidth.value(y),[N,...M]=w,u=M.map(d=>d.email).join(","),r=E.useMemo(()=>Y.roles.filter(d=>!["admin","bookkeeping_admin"].includes(d.value)),[]),n=J(e.role);return E.useEffect(()=>{(n||x||v)&&D(`userItems.${m}.department`,{allOptions:[],selectedOption:void 0}),n&&D(`userItems.${m}.manager`,{allUsers:[],selectedUser:void 0})},[n,x,v]),l.jsxs(Me,{windowSize:y,"data-testid":P("invite-people-user-item-section"),children:[l.jsx(de,{label:c.invitePage.email,name:F(t,"email"),registerOptions:{required:!0,value:e.email,validate:{duplicate:d=>!_e(d,C("userItems"),m),notZeniMail:d=>o==="zeni_only"?!0:a||d.map(j=>!j.match(Te)).reduce((j,I)=>j&&I)}},placeholder:R(c.addPlaceholderPrefix,c.invitePage.email),style:{paddingTop:i.sp2,paddingBottom:i.sp2},additionalInfoLabel:Ve(C("userItems"),F(t,"email"),m,o,S)}),l.jsx(V,{}),o==="off"?l.jsxs(l.Fragment,{children:[l.jsx(fe,{label:{label:c.invitePage.role,width:$},style:{width:"auto"},rolesDropDownField:{name:F(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(e.role),allRootRole:X(x,v)},productsByUserRole:K(e.role,b)},registerOptions:{required:!0}}}),l.jsx(V,{}),l.jsx(xe,{label:{label:c.invitePage.manager,width:$},showTooltip:!0,toolTipWidth:oe.toolTipWidth.valuePx(y),tooltipTitle:l.jsx(We,{}),userSingleSelectWithSubTitlesField:{name:F(t,"manager"),value:{allUsers:s,selectedUser:e.managerId},valueToSubtitle:d=>{const j=s.findIndex(I=>I.userId===d);if(j!==-1){const I=s[j],k=h.find(T=>T.classId===I.userRole.accountingClassIDs[0]),f=[];return k!=null&&f.push(k.className),f}else return[]},placeholderLabel:n?c.notApplicable:R(c.selectPlaceholderPrefix,c.invitePage.manager),registerOptions:{required:!n},isDisabled:n?"disabled":void 0,showOneOffLabel:{label:"No Manager",value:"no_manager",position:"top",subtitles:[]}},style:{width:"auto",height:e.managerId==null?i.sp8:"74px",boxSizing:"border-box"},isDisabled:n?"disabled":void 0,opacity:n?.32:1}),l.jsx(V,{}),l.jsx(pe,{label:{label:c.invitePage.department,width:$},singleSelectWithoutClearableField:{name:F(t,"department"),defaultValue:{allOptions:h.map(d=>({label:d.fullyQualifiedAccountingClassName??"",value:d.classId,hoverText:d.accountingClassNumber})),selectedOption:h.map(d=>({label:d.fullyQualifiedAccountingClassName??"",value:d.classId,hoverText:d.accountingClassNumber})).find(d=>d.value===e.departmentId)},placeholder:n||x||v?c.notApplicable:R(c.selectPlaceholderPrefix,c.invitePage.department),registerOptions:{required:!n||!(x||v)},isDisabled:n||x||v?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:n||x||v?"disabled":void 0,opacity:n||x||v?.32:1}),l.jsx(V,{}),U?null:l.jsxs(Ze,{windowSize:y,isDisabled:n,children:[c.invitePage.controllerText,N?l.jsx(Ee,{firstController:[N],isInvestorBanker:n,restControllerEmailsStr:u}):null]})]}):l.jsx(be,{label:{label:c.invitePage.role,width:$},zeniRolesDropDownField:{defaultValue:{allOptions:r,selectedOptions:e.role},name:F(t,"role"),placeholderLabel:R(c.selectPlaceholderPrefix,c.invitePage.role),registerOptions:{required:o==="zeni_only"},isMulti:!1,forZeniUser:!1},style:{width:"auto"}})]})},We=()=>B.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,_e=(e,t,o)=>{const a=t.filter(s=>s.userIndex!==o).map(s=>s.email).flat();return a.length>0&&e.every(s=>a.includes(s))},Me=p.div`
|
|
47
47
|
display: flex;
|
|
48
48
|
flex-direction: column;
|
|
49
49
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -92,7 +92,7 @@ import{cO as Q,eh as Ie,q as _,V as l,aM as P,y as O,o as i,b7 as re,F as B,n as
|
|
|
92
92
|
`,Ve=(e,t,o,a,s)=>{if(Oe(s,t)&&s?.userItems&&s?.userItems[o]?.email)switch(s?.userItems[o]?.email.type){case"required":return c.invitePage.defaultHelpText;case"pattern":return e[o].email.forEach(h=>{if(!Re.test(h))return c.invitePage.defaultHelpText}),a==="zeni_only"?c.invitePage.otherThanZeniMailIDForZeniModeText:c.invitePage.zeniMailIDForNormalModeText;case"duplicate":return c.invitePage.emailAlreadyExist;case"notZeniMail":return c.invitePage.zeniMailIDForNormalModeText;case"validate":return c.invitePage.defaultHelpText;default:return}},Ee=({isInvestorBanker:e,firstController:t,restControllerEmailsStr:o})=>{let a="";const s=t[0];return s?.firstName&&s?.lastName?a=`${s?.firstName} ${s?.lastName}`:s?.firstName?a=s?.firstName:s?.lastName?a=s?.lastName:a=s?.email??"",l.jsxs(Be,{isDisabled:e,href:e?void 0:`mailto:${t[0]?.email}?cc=${o}&subject=${encodeURIComponent(c.invitePage.emailSubject)}`,children:[l.jsx("span",{children:a}),l.jsx(me,{className:"arrowIcon"})]})},qe=e=>l.jsx(Ae,{style:e.style,"data-testid":P("user-item-section"),children:e.isEdit?l.jsx(De,{...e}):l.jsx(Fe,{...e})}),Ae=p.div`
|
|
93
93
|
display: flex;
|
|
94
94
|
flex-direction: column;
|
|
95
|
-
`,W={buttonWidth:new O(70,70),marginBottom:new O(12,L[3]),deleteContentMarginLeft:new O(L[0],L[3]),containerPaddingTop:new O(L[0],L[3]),addUserWrapperGap:new O(L[1],L[2])},Ge=(e,t,o,a,s,h,w)=>({userIndex:e,email:[],role:a==="zeni_only"?{allOptions:Y.roles,selectedOptions:[]}:void 0,nonZeniRole:a!=="zeni_only"?{userRole:{selectedRole:void 0,allRootRole:X(h,w)},productsByUserRole:K([],s)}:void 0,manager:{allUsers:t,selectedUser:void 0},department:{allOptions:o.map(m=>({label:m.className,value:m.classId})),selectedOption:void 0}}),z=B.getLocalizedStrings().peoplePage,gl=({isDisabled:e,control:t,deleteConfirmationIndex:o,updateDeleteConfirmationIndex:a,style:s,sectionId:h,mode:w,isZeniTenant:m,managersList:
|
|
95
|
+
`,W={buttonWidth:new O(70,70),marginBottom:new O(12,L[3]),deleteContentMarginLeft:new O(L[0],L[3]),containerPaddingTop:new O(L[0],L[3]),addUserWrapperGap:new O(L[1],L[2])},Ge=(e,t,o,a,s,h,w)=>({userIndex:e,email:[],role:a==="zeni_only"?{allOptions:Y.roles,selectedOptions:[]}:void 0,nonZeniRole:a!=="zeni_only"?{userRole:{selectedRole:void 0,allRootRole:X(h,w)},productsByUserRole:K([],s)}:void 0,manager:{allUsers:t,selectedUser:void 0},department:{allOptions:o.map(m=>({label:m.className,value:m.classId})),selectedOption:void 0}}),z=B.getLocalizedStrings().peoplePage,gl=({isDisabled:e,control:t,deleteConfirmationIndex:o,updateDeleteConfirmationIndex:a,style:s,sectionId:h,mode:w,isZeniTenant:m,managersList:b,classList:U,controllersList:x,customerRoleOptions:v,isBankingOnlyTenant:y,isCardsOnlyTenant:C,isEdit:S=!1,person:D,analytics:$})=>{const{getValues:N}=Q(),{append:M,remove:u}=Ie({name:h,control:t}),r=_(),n=N().userItems,d=()=>{const f=n.length-1,T=Ge(f+1,b,U,w,v,y,C);setTimeout(()=>M(T,{shouldFocus:!0}))},j=f=>{a(f)},I=()=>{a(-1)},k=()=>{setTimeout(()=>u(o)),a(-1)};return l.jsxs(Ke,{style:s,windowSize:r,"data-testid":P("user-items"),children:[n.length>0?n.map((f,T)=>{const je=n.length;let q={};if(w==="zeni_only")q={email:f.email,role:Ye(f.role.selectedOptions,S)??void 0};else{const ee=f.nonZeniRole?.userRole.selectedRole,A=ee!=null?(f.nonZeniRole?.productsByUserRole[ee]??[]).map(G=>ze(G.selectedOption?.value)).filter(G=>G!=null):[],le=A.length>0?J(A):!1;q={email:f.email,role:A,managerId:le?void 0:f.manager?.selectedUser,departmentId:le?void 0:f.department?.selectedOption?.value}}return l.jsxs(Xe,{"data-testid":P("user-item",f.userIndex.toString()),children:[S?null:l.jsx(l.Fragment,{children:je>1?l.jsx(ae,{windowSize:r,children:l.jsx(He,{curIndex:T,isDisabled:e,deleteConfirmationIndex:o,onDeleteClick:j,onCancelClick:I,onRemoveUserItem:k})}):l.jsx(ae,{windowSize:r,children:l.jsx(ye,{children:l.jsx($e,{children:l.jsx(we,{windowSize:r,children:z.invitePage.user})})})})}),l.jsx(qe,{isDisabled:e,sectionId:`${h}.${T}`,control:t,user:q,mode:w,isZeniTenant:m,managersList:b,classList:U,controllersList:x,customerRoleOptions:v,isBankingOnlyTenant:y,isCardsOnlyTenant:C,isEdit:S,person:D,analytics:$,index:T}),o===T&&r==="small"?l.jsx(ll,{children:l.jsx(ve,{onCancelClick:I,onRemoveUserItem:k})}):null]},T)}):null,S?null:l.jsxs(ol,{"data-testid":P("all-user-items-add-user-button"),windowSize:r,onClick:()=>{d?.()},children:[l.jsx(al,{}),l.jsx(rl,{children:`${z.invitePage.add} ${z.invitePage.user}`})]})]})},He=({curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s,isDisabled:h})=>{const w=_();return l.jsxs(ye,{children:[l.jsx($e,{children:l.jsx(we,{windowSize:w,children:`#${e+1} ${z.invitePage.user}`})}),h===void 0?l.jsx(Qe,{curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s}):null]})},Qe=({curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:a,onRemoveUserItem:s})=>{const h=_();return l.jsx(l.Fragment,{children:h==="small"?l.jsx(l.Fragment,{children:t!==e?l.jsx(sl,{"data-testid":P("delete-icon",e.toString()),onClick:()=>o(e)}):null}):l.jsx(l.Fragment,{children:t===e?l.jsx(el,{children:l.jsx(ve,{onCancelClick:a,onRemoveUserItem:s})}):l.jsx(Je,{"data-testid":P("all-user-items-delete-icon-wrapper"),className:"delete-icon-wrapper",onClick:()=>o(e),children:l.jsx(Se,{style:{padding:"2px 5px"},enterDelay:600,title:z.invitePage.remove,placement:"left",children:l.jsx(tl,{})})})})})},ve=({onCancelClick:e,onRemoveUserItem:t})=>{const o=_();return l.jsxs(l.Fragment,{children:[z.invitePage.deleteConfirmation,l.jsxs(il,{windowSize:o,"data-testid":P("delete-confirmation-wrapper"),children:[l.jsx(ie,{"data-testid":P("delete-confirmation-cancel-button"),label:z.invitePage.cancel,onClick:e,style:{width:W.buttonWidth.value(o),marginRight:i.sp3},size:"small",variant:"secondary"}),l.jsx(ie,{"data-testid":P("delete-confirmation-remove-button"),label:z.invitePage.remove,onClick:t,style:{width:W.buttonWidth.value(o)},size:"small",variant:"danger"})]})]})},Ye=(e,t)=>t?e:e!=null?[e]:[],Ke=p.div`
|
|
96
96
|
display: flex;
|
|
97
97
|
flex-direction: column;
|
|
98
98
|
padding-top: ${e=>W.containerPaddingTop.valuePx(e.windowSize)};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as R,q as B,F as g,V as o,bL as H,g1 as K,bz as q,cj as J,o as L,aQ as U,bA as V,y as M,cc as W,cd as Z,ce as G,c as
|
|
1
|
+
import{d as R,q as B,F as g,V as o,bL as H,g1 as K,bz as q,cj as J,o as L,aQ as U,bA as V,y as M,cc as W,cd as Z,ce as G,c as u}from"./index-CfCf7MgZ.js";import{a as _}from"./sentry-BMcFBC_8.js";import{n as i}from"./mui-CKpFcOsC.js";import{W as Q,L as X}from"./EntitySummarySection-CdjupOWB-OC0rkP9Y.js";import"./liveblocks-CeZbKJYW.js";import"./core-DvMedK7z.js";import"./recharts-Df0tybnF.js";import"./zeni-epic-state-C9GFWWAS.js";import"./lottie-BtS_aZMT.js";import"./analytics-m0npYLNL.js";import"./lexical-C7Ca00s8.js";import"./utils-C_7xnEWP.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]="fe9cbff0-eb6e-4d23-807a-9203e7a5af36",e._sentryDebugIdIdentifier="sentry-dbid-fe9cbff0-eb6e-4d23-807a-9203e7a5af36")}catch{}})();const S={wrapperContainerMarginTop:new M(u[4],u[0]),wrapperContaineHorizontalrMargin:new M(u[0],u[8])},ee=i.div`
|
|
2
2
|
height: 100%;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -43,4 +43,4 @@ import{d as R,q as B,F as g,V as o,bL as H,g1 as K,bz as q,cj as J,o as L,aQ as
|
|
|
43
43
|
margin-left: ${e=>S.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
|
|
44
44
|
margin-right: ${e=>S.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
|
|
45
45
|
height: 100%;
|
|
46
|
-
`;function _e(e){const s=R(),l=B(),h=g.getLocalizedStrings().common,p=g.getLocalizedStrings().reports.common,{apAgingDetail:r,downloadParams:a,reportDate:t,analytics:d,onReload:w,onBackClick:T,onColumnSortConfigChanged:v,updateDownloadStateHandler:x,onTransactionClick:N}=e,{authParams:C,downloadEndPoint:k,timezone:z}=a,{fetchState:m,invoices:I,apAgingDetailUIState:$,vendor:n,totalBalances:E}=r,{sortKey:D,sortOrder:b,downloadState:
|
|
46
|
+
`;function _e(e){const s=R(),l=B(),h=g.getLocalizedStrings().common,p=g.getLocalizedStrings().reports.common,{apAgingDetail:r,downloadParams:a,reportDate:t,analytics:d,onReload:w,onBackClick:T,onColumnSortConfigChanged:v,updateDownloadStateHandler:x,onTransactionClick:N}=e,{authParams:C,downloadEndPoint:k,timezone:z}=a,{fetchState:m,invoices:I,apAgingDetailUIState:$,vendor:n,totalBalances:E}=r,{sortKey:D,sortOrder:b,downloadState:f}=$,[j,P]=_.useState(!1),A=g.getLocalizedStrings(),F=A.reports.aging.agingDetail,Y=_.useCallback((c,y)=>{r.vendor!=null&&d.trackApAgingDetailReportSortChange(c,y,t.format(A.dateFormat.analytics.YYYYDashMMDashDDFormat),r.vendor.id,r.vendor.name),v(c,y)},[d,r.vendor,t,v]);if(_.useEffect(()=>{async function c(){const y={companyName:a.companyName,sortKey:D,sortOrder:b,statementFileType:"excel",reportId:"accounts_payable_aging",entityId:n?.id??"",timezone:z,reportDate:t};await se(k,C,y),x("Completed"),r.vendor!=null&&d.trackApAgingDetailReportDownload(D,b,t.format(g.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat),r.vendor.id,r.vendor.name)}j&&f!=="In-Progress"&&(P(!1),x("In-Progress"),c())},[d,r.vendor,C,k,a.companyName,f,j,t,D,b,z,x,n?.id]),m==="Error")return o.jsxs(oe,{children:[o.jsx(te,{onClick:w,children:o.jsx(H,{})}),o.jsx(re,{children:p.failed})]});if(m==="In-Progress"||m==="Not-Started")return o.jsx(K,{fetchState:m});const O=o.jsx(V,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:f==="In-Progress"}],onDownloadClick:async c=>{if(c==="excel")if(f==="In-Progress"){console.log("Download is already in progress!");return}else P(!0)}}}});return o.jsxs(ae,{children:[o.jsx(q,{title:h.strings.empty,backgroundColor:s.colors.grey5,onBackClick:T,rightSideComponent:O,source:"ApAgingDetailPage"}),o.jsx(Q,{totalBalances:E,entityName:n?.name??"",entityLogo:n?.logo,reportId:"accounts_payable_aging",reportDate:t}),o.jsx(ne,{windowSize:l,children:o.jsx(ie,{windowSize:l,children:I.length===0||n==null?o.jsx(J,{message:F.noDataText}):o.jsx(ee,{windowSize:l,children:o.jsx(X,{uiState:$,invoices:I,entityName:n.name,entityLogo:n.logo,onColumnSortConfigChanged:Y,onTransactionClick:N})})})})]})}async function se(e,s,l){const h=`${e}?query=${encodeURIComponent(JSON.stringify(le(l)))}`,p=g.getLocalizedStrings(),r=p.reports.aging.apAging.apAging,a=p.download;try{const t=await W({urlEndPoint:h,authParams:s,fileType:"excel"});if(t.ok){const d=Z(t.headers,a.defaultFileName),w=await t.arrayBuffer();G(w,d)}else console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",r)} ${t.statusText}`)}catch(t){console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",r)} ${JSON.stringify(t)}`)}}function le(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:g.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}export{_e as default,le as toDownloadAgingDetailedReportOptionsPayload};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as t,q as m,L as f,o as r,y as p,p as a,aQ as x,F as g,bn as u,cT as $,dK as b,cS as w}from"./index-
|
|
1
|
+
import{V as t,q as m,L as f,o as r,y as p,p as a,aQ as x,F as g,bn as u,cT as $,dK as b,cS as w}from"./index-CfCf7MgZ.js";import{n as i,k as y}from"./mui-CKpFcOsC.js";import{a as j}from"./sentry-BMcFBC_8.js";import"./liveblocks-CeZbKJYW.js";import"./core-DvMedK7z.js";import"./recharts-Df0tybnF.js";import"./zeni-epic-state-C9GFWWAS.js";import"./lottie-BtS_aZMT.js";import"./analytics-m0npYLNL.js";import"./lexical-C7Ca00s8.js";import"./utils-C_7xnEWP.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="e4fb301e-560f-4b87-b338-7facfec58d72",e._sentryDebugIdIdentifier="sentry-dbid-e4fb301e-560f-4b87-b338-7facfec58d72")}catch{}})();const l={maxWidth:new p(280,322),contentMaxWidth:new p(200,250)},k=y`
|
|
2
2
|
0% {
|
|
3
3
|
transform: translateX(100%)
|
|
4
4
|
}
|
package/dist/assets/{AppDrawerContent-V7jCH_90-BcsXCj8u.js → AppDrawerContent-BKsLlcGq-rRQyyR6u.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{av as te,R as ae,t as k,bh as se,V as n,bi as oe,bj as le,bk as re,bl as de,a9 as ce,bm as ue,o as t,bn as pe,aW as b,b3 as f}from"./index-
|
|
1
|
+
import{av as te,R as ae,t as k,bh as se,V as n,bi as oe,bj as le,bk as re,bl as de,a9 as ce,bm as ue,o as t,bn as pe,aW as b,b3 as f}from"./index-CfCf7MgZ.js";import{a as o,w as be}from"./sentry-BMcFBC_8.js";import{n as l}from"./mui-CKpFcOsC.js";import{bk as fe}from"./zeni-epic-state-C9GFWWAS.js";import{v as me}from"./DashboardSidebarBackgroundAnimation-Aepv0x8n-DbuAIv3o.js";import"./liveblocks-CeZbKJYW.js";import"./core-DvMedK7z.js";import"./recharts-Df0tybnF.js";import"./lottie-BtS_aZMT.js";import"./analytics-m0npYLNL.js";import"./lexical-C7Ca00s8.js";import"./utils-C_7xnEWP.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]="b61b4314-78a1-4513-9d4d-c7f99fef24a5",e._sentryDebugIdIdentifier="sentry-dbid-b61b4314-78a1-4513-9d4d-c7f99fef24a5")}catch{}})();const he=o.memo(function({animationEnabled:e=!1}){const[i,s]=b("DashboardSidebarBottomNewYear",e),[a,r]=o.useState(null);return o.useEffect(()=>{i!=null&&!s&&r(i)},[i,s]),e&&a!=null?n.jsx(ge,{children:n.jsx(f,{style:{display:"flex",width:"70px",height:"140px"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),ge=l.div`
|
|
2
2
|
position: absolute;
|
|
3
3
|
z-index: 0;
|
|
4
4
|
bottom: -${t.sp3};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as F,q as U,av as V,F as p,aS as x,V as t,bz as E,m as G,fp as b,dC as S,y as d,o as k,al as J,b as j,c as o}from"./index-
|
|
1
|
+
import{d as F,q as U,av as V,F as p,aS as x,V as t,bz as E,m as G,fp as b,dC as S,y as d,o as k,al as J,b as j,c as o}from"./index-CfCf7MgZ.js";import{n as l}from"./mui-CKpFcOsC.js";import{Fs as N,Ft as q}from"./zeni-epic-state-C9GFWWAS.js";import"./sentry-BMcFBC_8.js";import"./liveblocks-CeZbKJYW.js";import"./core-DvMedK7z.js";import"./recharts-Df0tybnF.js";import"./lottie-BtS_aZMT.js";import"./analytics-m0npYLNL.js";import"./lexical-C7Ca00s8.js";import"./utils-C_7xnEWP.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="d5479375-29f9-42be-9141-189934579520",e._sentryDebugIdIdentifier="sentry-dbid-d5479375-29f9-42be-9141-189934579520")}catch{}})();const n={sectionRowGap:new d(o[4],o[8],o[8]),lastSectionPaddingBottom:new d(o[7],o[10],o[10]),iconWidthHeight:new d(20,o[4]),subtitleSectionWidth:new d(343,580,1200)},ue=({billpayApprovalView:e,remiApproverView:a,currentTenant:c,onBackClick:R,onClickMenuIcon:P,onSetupApprovalRulesBillPaySectionClick:I,onSetupApprovalRulesRemiSectionClick:z})=>{const r=F(),i=U(),u=V(),{fetchState:g,allApprovalRules:m,approvalRulesStatus:T}=e,{fetchState:h,allApprovalRules:f,approvalRulesStatus:C}=a,{commonSetUp:A,spendManagement:$}=p.getLocalizedStrings(),w=p.getLocalizedStrings().common.settings,y=p.getLocalizedStrings().common.headers,{billPay:B,reimbursement:M}=$,{billPaySetup:L}=B,{reimbursementSetup:W}=M,{setUp:s}=A,_=g==="In-Progress"||h==="In-Progress"||g==="Not-Started"||h==="Not-Started",v=r.mode==="light"?new x(r.colors.brandColorJadeLight):new x(r.colors.brandColorJadeDark),D=N(c,u.loggedInUserRoleMap),H=q(c,u.loggedInUserRoleMap);return t.jsxs(Q,{children:[t.jsx(E,{source:"ApprovalRulesSettingsPage",title:w.title.approvalRules,backgroundColor:r.colors.grey4,style:{zIndex:3},onBackClick:R,showBackButton:!1,showMenuIcon:i==="medium-compact"||i==="small",onClickMenuIcon:P}),t.jsx(X,{windowSize:i,children:_?t.jsx(Y,{children:t.jsx(G,{size:"ExtraLarge",start:!0})}):t.jsxs(O,{children:[t.jsx(K,{windowSize:i,children:t.jsx(ee,{windowSize:i,children:w.infoText.approvalRules})}),t.jsxs(Z,{windowSize:i,children:[D===!0&&t.jsx(b,{title:m.length>0?s.approvalTitle:s.createApprovalTitle,subTitle:L.approvalSubTitle,header:y.bills,icon:{element:t.jsx(S,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:v},onClick:I,status:m.length>0?T:void 0}),H===!0&&t.jsx(b,{title:f.length>0?s.approvalTitle:s.createApprovalTitle,subTitle:W.approvalSubTitle,header:y.reimbursements,icon:{element:t.jsx(S,{height:n.iconWidthHeight.valuePx(i)}),color:v},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},onClick:z,status:f.length>0?C:void 0})]})]})})]})},O=l.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
margin: auto;
|
|
4
4
|
display: flex;
|