@zeniai/web-app-ui 4.14.33-prod → 4.14.34-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{ACHDetailsPage-DKTSwNyl-TXl1b9xz.js → ACHDetailsPage-iiVBlQka-kJJwShx9.js} +6 -6
- package/dist/assets/{AIPerformancePage-BzTlSxeg-BS_hlzNx.js → AIPerformancePage-MBAB5kgB-CllvurBN.js} +1 -1
- package/dist/assets/AccountInfoPage-Cz9yoVl8-yEC5AHJo.js +18 -0
- package/dist/assets/{AccountInfoPageContent-B0ZnsyrQ-KbE96BJf.js → AccountInfoPageContent-j85psx_A-B10pnZIl.js} +2 -2
- package/dist/assets/{AccountLockedInfoModal-B6A-nGIq-D-IFTFOu.js → AccountLockedInfoModal-B1JxHllU-zA2mS4xW.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-BTmjrd8b-DiiqLtA-.js → AccountReconDetailsDrawerPage-DF-X46_u-DqFdxkfQ.js} +3 -3
- package/dist/assets/{AccountRow-C-Iunc36-YQldrlVW.js → AccountRow-DEtntSrL-CJ0B8bgS.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-D6xN5A4_-WA3fSxPL.js → AccountsPromoCardStack-Cvixqb_6-D97qRbqR.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-B6tLAOA_-CrWgXG6W.js → AddAddressForCardDrawer-B1Qfn44J-CPpzlUkA.js} +1 -1
- package/dist/assets/{AddToWalletPage-Bw1oz9Y2-DkLHI9hz.js → AddToWalletPage-BLxUsh1Y-BlYpwefQ.js} +1 -1
- package/dist/assets/{AddressRoutes-CL0Pq_Ys.js → AddressRoutes-D9ypa9JP.js} +1 -1
- package/dist/assets/{AddressScreen-S2Le0Iyl.js → AddressScreen-7cFlirZg.js} +1 -1
- package/dist/assets/{AgingReportsPage-BK3PXwnr-D17kQP-y.js → AgingReportsPage-XIzuLRE4-Ci3KQGlf.js} +8 -8
- package/dist/assets/{AiCfoScreen-Cg_pdlQK.js → AiCfoScreen-DoYaPaX9.js} +1 -1
- package/dist/assets/{AllUserItems-B42zEFpe-CIjlkzgM.js → AllUserItems-BGMZCYUO-D3nrnj9J.js} +4 -4
- package/dist/assets/{ApAgingDetailPage-vzW4qF2Y-BD1Qrsku.js → ApAgingDetailPage-B-1gVAu6-Bzjn8P1m.js} +8 -8
- package/dist/assets/{AppBasePage-yAU5vW5D-CQC_mBlM.js → AppBasePage-CYjdUgY4-B_GezOYf.js} +1 -1
- package/dist/assets/{AppDrawerContent-nnh5cFf7-CD40ny3-.js → AppDrawerContent-CbF8TOjd-CJdJC4Gi.js} +5 -5
- package/dist/assets/{ApprovalRulesSettingsPage-B-Y2YjpT-Cmxno3qR.js → ApprovalRulesSettingsPage-RCtygkuw-D7FKTOUR.js} +1 -1
- package/dist/assets/{ArAgingChart-CCc6eh55-gFVrqmo_.js → ArAgingChart-ZwWwEBJ3-CYvKQAY1.js} +2 -2
- package/dist/assets/{ArAgingDetailPage-CYXVPEzK-DJfFgL4N.js → ArAgingDetailPage-DtqyngrA-dzglT1I2.js} +1 -1
- package/dist/assets/{AttachmentView-DqrQDEWc-xCZ214JL.js → AttachmentView-UxkSFZmq-Dr8yZ85U.js} +1 -1
- package/dist/assets/{BalancesInsightWithToolTip-D1_dZg5k-DQ_IxlP9.js → BalancesInsightWithToolTip-Co6ZUc5x-DLuw_h8-.js} +8 -8
- package/dist/assets/{BankAccountSection-4vXBKCFA-Clz7a1S8.js → BankAccountSection-DnBVOkJC-Bn2rFs67.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-Dhmxhwx--Yk0j00ZU.js → BankAccountWarningSection-D7OuLiLz-CD3SlEdY.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-z52fh-wH-3DxfIBNE.js → BankConnectionsSettingsPage-BDLTuNLu-BCTZxVaa.js} +13 -13
- package/dist/assets/{BillDetailPage-DRpctLxu-DXfbZDoG.js → BillDetailPage-V8us93cj-B0TwX2a_.js} +1 -1
- package/dist/assets/{BillPayApprovalRoutes-BgvqlrUy.js → BillPayApprovalRoutes-DSmRUBge.js} +1 -1
- package/dist/assets/BillPayApprovalRuleDetailPage-C_REwEVS-CztPHOm6.js +27 -0
- package/dist/assets/{BillPayApprovalRulesPage-HG32jtX9-BUVTGWgu.js → BillPayApprovalRulesPage-C6G_eDX9-C8wM1oCi.js} +1 -1
- package/dist/assets/{BillPayPromoPage-DwxNDF0k-B5FuLPhY.js → BillPayPromoPage-CTQSknOB-CxSqRwoG.js} +12 -12
- package/dist/assets/{BillPayRoutes-YLpt2aCD.js → BillPayRoutes-DUDFuwtX.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-B-kmDrpB-BcgtlVH-.js → BillPaySetUpPage-BmgMLaf--BkQms9Qs.js} +1 -1
- package/dist/assets/{BillingSettingsPage-CNZyUOpM-CkmyE4GR.js → BillingSettingsPage-IHY3ak0N-CL3RSkEP.js} +4 -4
- package/dist/assets/{BillsBulkReviewDrawerPage-DbIDTE51-BfhLnWA9.js → BillsBulkReviewDrawerPage-ZoFahXYa-BH-n-En_.js} +1 -1
- package/dist/assets/{BoxItem-CIyMdw2s-C09MUjaB.js → BoxItem-XoWq-tnh-BmrAcTRu.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-DQ34qLUA-DG-QnMwN.js → BusinessVerificationPage-D9HtnNOu-FQn5FW8q.js} +3 -3
- package/dist/assets/{BusinessVerificationPageScreen-CXN2pQXQ.js → BusinessVerificationPageScreen-DB2AuUe-.js} +1 -1
- package/dist/assets/{BusyIndication-YMYY0Pff-BT75hsR0.js → BusyIndication-BLGcHlgu-d1oE1KKV.js} +1 -1
- package/dist/assets/{CardNumberSubText-CN1RN7Tf-D2xaj4U6.js → CardNumberSubText-Cn0EZrNE-tK-yujMO.js} +1 -1
- package/dist/assets/{CashbackDetailPage-CyYkVa0H-ZVP6lSdv.js → CashbackDetailPage-Bk5ssPnj-C8QC0Hig.js} +9 -9
- package/dist/assets/{ChargeCardDetailPage-DFUAF2OM-CMq79ons.js → ChargeCardDetailPage-Ge9Aw7PA-DZlpK6dI.js} +20 -20
- package/dist/assets/{ChargeCardListPage-BTHDGtJ6-Cf4tW6na.js → ChargeCardListPage-BNLOoSv3-DV7-d8CD.js} +9 -9
- package/dist/assets/{ChargeCardListTable-BiKjkqVs-DmEZHkoe.js → ChargeCardListTable-BoufojYF-Cnvek6YP.js} +26 -26
- package/dist/assets/{ChargeCardPaymentHistoryPage-sPGU7qmY-De2tWjhC.js → ChargeCardPaymentHistoryPage-5lUxK8pF-eVmFgfvo.js} +14 -14
- package/dist/assets/ChargeCardPromoPage-CKl6K-nr-DnYu005E.js +222 -0
- package/dist/assets/{ChargeCardRoutes-Q_AcVfPK.js → ChargeCardRoutes-B4WS6JPM.js} +1 -1
- package/dist/assets/{ChargeCardSetupPage-DmhPAnYT-CZCQ5HNb.js → ChargeCardSetupPage-Dqoel2Do-DOmmeiiu.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-DUXupPSN-5KsVWQ3X.js → ChargeCardStatementsPage-Dalrj66w-B8hsBg7k.js} +2 -2
- package/dist/assets/{CheckDepositDrawerPage-C8nbDVSz-KV4EdXpf.js → CheckDepositDrawerPage-mYjv1H0f-Cz8ArAIi.js} +7 -7
- package/dist/assets/{CollapsableReportTable-C_bWRP7w-B5XVOChU.js → CollapsableReportTable-CIaa7SIH-BTOs1ROa.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-6LXCxWYP-BUFWf_Jt.js → CompanyOfficerDetailsSection-BSFNYauO-CNbg81GJ.js} +7 -7
- package/dist/assets/{CompanyPassportCard-DVJS9xE7-D3yBGMbD.js → CompanyPassportCard-B-mBb9Q5-DTZPiAcJ.js} +1 -1
- package/dist/assets/{CompanyPassportPage-FJ30paB0-DEw2KSMR.js → CompanyPassportPage-Blyl_Z-c-DaWkc5U5.js} +1 -1
- package/dist/assets/{CompanyPassportScreen-7B6uf7gM.js → CompanyPassportScreen-DzV8epiZ.js} +1 -1
- package/dist/assets/{CompleteProfile-D3Im5rsm-UkElY7yx.js → CompleteProfile-ySk9I1Ut-Co_b7X5p.js} +1 -1
- package/dist/assets/{ConfettiBurst-BJrOe5Fg-zHdUBtAM.js → ConfettiBurst-CeAc4Ily-fAc6vAhM.js} +1 -1
- package/dist/assets/{ConnectionAuthScreen-LV19LrUf.js → ConnectionAuthScreen-XNPx_XcE.js} +1 -1
- package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-CIRoVGoS.js → ConstrainedInnerElement-CgdnMeoA-CQrlu1iR.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-C8dK3_XQ-B7BE5vbO.js → CreateOrEditVendorPage-BRkqkhfw-6tasCpNK.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-Dp5mS2Hc-CdWmI3zd.js → CreditCardPaymentDrawerPage-oUIakAtz-DpasI8GY.js} +6 -6
- package/dist/assets/{CurrencySelectField-BAQ5aoHk-CLSx3dj2.js → CurrencySelectField-CSPhUjwG-QMsL0N8I.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-D8T1akbN-CqBRQYAW.js → CustomerOnboardingActivationPage-CoOyWe6_-Dn0m9Q2e.js} +1 -1
- package/dist/assets/CustomerOnboardingAuthScreen-CPpHJyPJ.js +1 -0
- package/dist/assets/CustomerOnboardingContainerPage-B4YFIOQJ-iH-ugk6E.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DSvvHqR_-DDxDa7To.js → CustomerOnboardingDetailPageSkeleton-CWNyUuRp-PCUtxDIZ.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-CSLO3M7E-DfrADWrN.js → CustomerOnboardingNoStepsPage-DWx46Z6R-Ba9gs9mp.js} +17 -17
- package/dist/assets/{CustomerOnboardingPage-weza3x24-89JMVlty.js → CustomerOnboardingPage-D86Sj2KP-BtfnNu-9.js} +3 -3
- package/dist/assets/{CustomerOnboardingProductSuitePage-3YH4y1e1-aePXzh9B.js → CustomerOnboardingProductSuitePage-Bo0LFveG-BnqGrm-5.js} +1 -1
- package/dist/assets/{CustomerOnboardingRoutes-CIx1-GM_.js → CustomerOnboardingRoutes-Cii6REat.js} +1 -1
- package/dist/assets/{Dashboard-Bpuy-Pez-BVeBVlwV.js → Dashboard-DQLJzr16-BXSSEaEy.js} +1 -1
- package/dist/assets/{DashboardReportPage-1p79NBF9-DWbFRbgX.js → DashboardReportPage-CwfTMXY5-CyyBZOOf.js} +1 -1
- package/dist/assets/{DashboardRoutes-0ryBDIPF.js → DashboardRoutes-DPYTQsIc.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-CBg2tWHO-Cyc1B4hB.js → DashboardSidebarBackgroundAnimation-CUZGIAxW-Cr2AFDv0.js} +1 -1
- package/dist/assets/{DefaultTenantHome-CfqvxZPL.js → DefaultTenantHome-DShfBjyT.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-DlztlGZL-CezsIYfK.js → DepositAccTransactionItem-Ci-LxLsk-Ba_0JQSS.js} +5 -5
- package/dist/assets/{DepositAccTransactionListPage-BO43c3Uz-Zcue0IvK.js → DepositAccTransactionListPage-RG7P8vQS-DbfwdIAf.js} +3 -3
- package/dist/assets/{DomesticWireDetailScreen-Dt7o6kAb.js → DomesticWireDetailScreen-DdRhRffk.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-SEql3I0P-CwtZcgDr.js → DomesticWireDetailsPage-DsPFUOcE-CNM83Rj8.js} +4 -4
- package/dist/assets/{DownloadOverlay-PhrwF2iZ-BOGlUpUv.js → DownloadOverlay-BjTf50Dz-DEzcOvm5.js} +14 -14
- package/dist/assets/{DrawerPage-Bf3AP3Lj-CuJ6OWfo.js → DrawerPage-0OFinUxM-CdrQ9TzW.js} +1 -1
- package/dist/assets/{DrawerScreen-BoLS3cEF.js → DrawerScreen-BgWdy-zB.js} +1 -1
- package/dist/assets/{EditPeoplePage-B-rBzonN-CS3sxfIN.js → EditPeoplePage-BKcOmYVv-D9y240Gc.js} +5 -5
- package/dist/assets/{EditReimbursementDetailPage-CUiIHNgT-HAw3keDO.js → EditReimbursementDetailPage-BFIHhQbx-CqZ1c7qf.js} +1 -1
- package/dist/assets/EntityDetailPage-D8FzsqNk-DxrfKvnb.js +18 -0
- package/dist/assets/{EntityDetailRoutes-BToXXZKQ.js → EntityDetailRoutes-jLGbxUaz.js} +1 -1
- package/dist/assets/{EntitySummarySection-mXeSjiuZ-BvfGPJV_.js → EntitySummarySection-ORJ2pE_k-BgNQmv_X.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-DQCoy1O9-DKKO1Jrc.js → ExpenseAutomationOverviewPage-Dzf7j2zV-gCWUW27x.js} +3 -3
- package/dist/assets/{ExpenseAutomationPage-BeAzQ7Qx-C48GQ06z.js → ExpenseAutomationPage-BRsKGeoM-BXGFdyb-.js} +1 -1
- package/dist/assets/{ExpenseAutomationRoutes-GuaeYvX3.js → ExpenseAutomationRoutes-D9vGLTe3.js} +1 -1
- package/dist/assets/{ExpressPayPage-C-isOU1b-DYMWp0fl.js → ExpressPayPage-DlBFtMaR-C8b9Izur.js} +6 -6
- package/dist/assets/{FeaturePreviewPage-Cyre9YzV-DesOgA9M.js → FeaturePreviewPage-C31F3Gmz-DHInFJNz.js} +1 -1
- package/dist/assets/{FeaturePreviewScreen-DKVtqlmL.js → FeaturePreviewScreen-BUEayEBU.js} +1 -1
- package/dist/assets/{FollowStepsSection-DZNWzSvo-CEWgMRa8.js → FollowStepsSection-BVT2K7mu-DYEgY8Jh.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-Dp--ugNc-CR5AVKkp.js → GlobalReviewListPage-0cZe1hh0-BPLQx8Xp.js} +1 -1
- package/dist/assets/{InformationCardStack-D7naFDX0-CJPEq7Jn.js → InformationCardStack-t8eELRLU-Fl6DqL5O.js} +1 -1
- package/dist/assets/{InsightsCardStack-DexUl4h--Bl8IGBl8.js → InsightsCardStack-CJBPZbzD-DGmN2b_X.js} +6 -6
- package/dist/assets/InsightsSection-tUBzsCix-DIQLSRNu.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-hFTe3wiP-BbqUP31g.js → IntegrationsSettingsPage-Ce0yKUWI-Dbrmpo2j.js} +3 -3
- package/dist/assets/{InternationalWireSwiftDetailsPage-DLkE5bXp-CVUjdU_d.js → InternationalWireSwiftDetailsPage-BzR-rKaL-DTkvcjTH.js} +9 -9
- package/dist/assets/{InternationalWireVerificationPage-DYGjEqNz-OdDFheAC.js → InternationalWireVerificationPage-7tCXdJ3Y-BOpLh7TD.js} +10 -10
- package/dist/assets/{InviteFormPage-CGAsWQn7-BQX11ciA.js → InviteFormPage-DePVC0CH-TfpQcbbS.js} +1 -1
- package/dist/assets/{InvitePageListView-BSPE9f03-CSYqsy-x.js → InvitePageListView-ChbvDKgQ-CxYzSS3J.js} +20 -20
- package/dist/assets/{InvitePeoplePage-ANvLB-mB-CwQaZHmv.js → InvitePeoplePage-DJiEzIeY-YtuIrr11.js} +2 -2
- package/dist/assets/{InvoiceUploadSection-OGMswY7c-JnVeVq04.js → InvoiceUploadSection-BjNMjhQR-B0WmHo8s.js} +12 -12
- package/dist/assets/{IssueChargeCardPage-sLInqAsW-Cl_MHNbe.js → IssueChargeCardPage-4xbGf5Ut-CG64H4WO.js} +11 -11
- package/dist/assets/{LabeledAddressValue-DBJ236tZ-DU9mrQ8B.js → LabeledAddressValue-Czt7QvSJ-ezeCCYD9.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-CAr-IiTa-Coj2vGIo.js → LabeledAddressValueField-Dl3atH92-CBuLNDhF.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-BdWZgcQc-CSRUO8Mc.js → LabeledControlledCheckBoxField-DT_nxhPN-DrCJem7I.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-C6z1v9S1-0fn76-gA.js → LabeledCountryMultiSelectField-BnljZpX0-CrALbnep.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-Dhi0n2ky-C4cpdoPU.js → LabeledCreatableSingleSelectField-CiInq9yD-B0A_NESz.js} +1 -1
- package/dist/assets/{LabeledDocumentField-B3QSq1eM-CQ4OV_q7.js → LabeledDocumentField-Ceb8vgVH-BzsX4WXj.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-B39DlufR-OSl5UgSA.js → LabeledDropDownFormattedTextField-B98gNWTE-rwd9doXk.js} +1 -1
- package/dist/assets/{LabeledEmailInputField-CY2mGhJG-DsHOn9-h.js → LabeledEmailInputField-C53P9fJl-BS-n0yyf.js} +1 -1
- package/dist/assets/{LabeledNameField-CYN5kdQi-C2knR9hx.js → LabeledNameField-BdVztq_8-Cc3_vzCa.js} +1 -1
- package/dist/assets/{LabeledSingleSelectField-CBXzDXMd-Be-7ukpv.js → LabeledSingleSelectField-sjDjhxfQ-DngJSR1z.js} +1 -1
- package/dist/assets/{LabeledText-GEbY3-bB-a8-4xrHX.js → LabeledText-CFJSoGtK-hLpZiX2C.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Do8fziYM-jZMMsugI.js → LabeledUserSingleSelectWithSubtitlesField-CDiG37rQ-CajsyJVF.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-DJfE1qQb-C9jHsUlw.js → LabeledZeniRolesDropDownField-CQiP2rEh-DpkAVgvo.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-B2ROo3VS-CD9ycgeo.js → LinkJETransactionPage-ANY7Ns42-CApOUFWk.js} +12 -12
- package/dist/assets/{LockCardPage-D2dUPnNL-CjHU-BzP.js → LockCardPage-0piclOz3-FnbsGUI5.js} +1 -1
- package/dist/assets/{LowBalancePopup-DTtl3SIc-aNudwoSx.js → LowBalancePopup-CplxkRHP-B1Znghgy.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-BKh8WrCR-Ee7s37LW.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Cv19HbKi-ByrEtbtY.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DbFxpWOg-BpTLsET9.js +1 -0
- package/dist/assets/{MagicLinkRoutes-B_At_wkT.js → MagicLinkRoutes-B8zheK-B.js} +1 -1
- package/dist/assets/{MagicLinkSignInScreen-CB2sh4Tk.js → MagicLinkSignInScreen-qtJuxxon.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-Ctt1pLiv-B1_3zL4I.js → MagicLinkSuccessPage-BA1LfhVb-By8HxESz.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-CtsQ_c44-DzfsAoNb.js → MagicLinkTitleSection-DLdaV8WG-BuvestSo.js} +1 -1
- package/dist/assets/MailingDetailsSection-BNVPaGFt-De-HK05Q.js +21 -0
- package/dist/assets/{MobileAppDrawer-D9B1riEd.js → MobileAppDrawer-CKcdPSDd.js} +1 -1
- package/dist/assets/{MoreMenuButton--MxUyTqX-DxfOtpkn.js → MoreMenuButton-DrAQ635T-BL2i_PBG.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-6ltpx62E-vyWVBa3l.js → MyBankConnectionsSettingsPage-BiDvyO_G-BqsVQnsn.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-CwDedcXl-BfNnXoNe.js → MyPendingActivationChargeCardListPage-Bb4_b9o6-DszbbtUq.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-Bmhu2lrK-BTNTNmEK.js → MyProfileSettingsPage-nY_eDqfm-aRf1sJOL.js} +1 -1
- package/dist/assets/{NavBarWithPicker-jqJCHGvR-dfmiqqqq.js → NavBarWithPicker-Dr5XHgP5-CjhNLCso.js} +1 -1
- package/dist/assets/{NavigationArrow-DY_BhITD-BQwiFtSS.js → NavigationArrow-DT82hMh--BnPRXoeX.js} +1 -1
- package/dist/assets/{NavigationDots-Kh5ODrCQ-DBa52_8H.js → NavigationDots-CwCZ9EAa-ovWuwmnJ.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-BYTROFvX-Bjv2RB8-.js → NewGlobalMerchantPage-D1lxnByE-D4tZVWQn.js} +1 -1
- package/dist/assets/{NoDataChart-CuiKDcAB-BwyLAmy8.js → NoDataChart-DCTRXLc7-C1K6noeS.js} +1 -1
- package/dist/assets/{NoDataTable-BpH8puX--CRikf6dL.js → NoDataTable-D8Xw5pAY-C0LyDZgH.js} +1 -1
- package/dist/assets/{NotFoundPage-BKvCYyvc-C4zGt610.js → NotFoundPage-B_zPUigU-CFd5sZ-j.js} +8 -8
- package/dist/assets/{NotFoundScreen-DGF4ewvh.js → NotFoundScreen-CJqSMVfb.js} +1 -1
- package/dist/assets/{NotificationRoutes-BOCajdcJ.js → NotificationRoutes-j0M-AVSa.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-F2xXUCSE-Exk6EXhh.js → NotificationSettingsPage-aKLRiMp--Vy4Thl7S.js} +4 -4
- package/dist/assets/{NotificationsListConfig-C9r-O2kH-YO8sPuy3.js → NotificationsListConfig-CVEetkBc-BGp3geYy.js} +1 -1
- package/dist/assets/{NotificationsPage-CZZ9GTVy-BlxqoNKc.js → NotificationsPage-DEw6V83J-SkJPHzO4.js} +14 -14
- package/dist/assets/{OpExByVendorPage-Crvcsx0U-DV1gdTtR.js → OpExByVendorPage-DJMov6Ux-CzqjhunS.js} +5 -5
- package/dist/assets/{OverlayContainerPage-BG9y5C0t-Bb0zlii5.js → OverlayContainerPage-BG9y5C0t-CuyJ8LZt.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-CkDCt5NK-BXsQyBSk.js → PandLWithForecastPage-RBTh1bFk-BwnpORkG.js} +7 -7
- package/dist/assets/{PandLWithForecastRoutes-DUjvSQn1.js → PandLWithForecastRoutes-J6LmjJ1B.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-D1ZDh1GY-CQR83EXw.js → PaymentAccountSetupBillingAddressSection-D-kQI4nd-BoSQv9rJ.js} +1 -1
- package/dist/assets/{PeoplePage-D2CtRlrd-CyfJaF0_.js → PeoplePage-BEc-Oss7-DoZuQeL3.js} +1 -1
- package/dist/assets/{PeopleRoutes-DWTFCJOs.js → PeopleRoutes-C0vyagIg.js} +1 -1
- package/dist/assets/{PerformanceRoutes-DAqkD2US.js → PerformanceRoutes-zXK3SrhB.js} +1 -1
- package/dist/assets/{Preview-BOuv1ApV.js → Preview-COp40RlO.js} +1 -1
- package/dist/assets/{ProductsCarousel-sNagRI0c-CXROneWv.js → ProductsCarousel-BRo0P4GW-Bu_QsU8W.js} +1 -1
- package/dist/assets/{PromoBaseCards-BUk-u73S-CdxIVd7h.js → PromoBaseCards-BrXJEufN-C4zOhiIC.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-C1rEAxUE-Bns4Q1dD.js → QBOConnectionDialog-BIg9Iais-CzdJGXEh.js} +1 -1
- package/dist/assets/{QBOConnectionScreen-BzZBkC05.js → QBOConnectionScreen-DROpihDX.js} +1 -1
- package/dist/assets/{QBOSetupSection-iQJCHR-K-CCZ1VagE.js → QBOSetupSection-DDoUJ7L6-qtD1b_uv.js} +1 -1
- package/dist/assets/{ReferralListScreen-CRs7Pk4b.js → ReferralListScreen-Bkepb1RS.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRoutes-XjY3gDt6.js → ReimbursementApprovalRoutes-B_Qw-_-n.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-BPIKZ9v1-CWKcEqcV.js → ReimbursementApprovalRuleDetailPage-CP0muUGK-B40CL0Ys.js} +3 -3
- package/dist/assets/{ReimbursementApprovalRuleDetailScreen-CxSdKHi9.js → ReimbursementApprovalRuleDetailScreen-Ud4xo4RE.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-AE810nQZ-CChCQ3Ja.js → ReimbursementApprovalRulesPage-BpVWq3rk-pDKAG_dA.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-CYuZJL_J-BWOIR-bJ.js → ReimbursementDetailPage-pCg86_Ty-BwD3VA7C.js} +5 -5
- package/dist/assets/{ReimbursementPromoPage-CaxjSwrz-DwHvaE_-.js → ReimbursementPromoPage-BW6icjG5-CwTaRQC0.js} +6 -6
- package/dist/assets/{ReimbursementRoutes-CvpKnwwj.js → ReimbursementRoutes-kGf8y_Pc.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-Bw77MBHF-CscUt_mO.js → ReimbursementSetUpPage-B6OhWEWH-CGJsBL7Z.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-B-svIloS-B1Lp4xHp.js → ReimbursementsBulkReviewDrawerPage-DmDoqEZh-DV9AjOeD.js} +1 -1
- package/dist/assets/{ReloadCard-D5kxTfzJ-f2yTtdPG.js → ReloadCard-DIFXZM9U-DuI83eQl.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-BZU8yltx-DSV7knFo.js → ReportTableViewSelector-BsIDwouQ-DLCe8EfR.js} +1 -1
- package/dist/assets/{ReportsPage-CdN9MEVy-DTQ_WR-z.js → ReportsPage-BFTuYQt2-BHmgPSl5.js} +5 -5
- package/dist/assets/{ReportsRoutes-CuJzeSSZ.js → ReportsRoutes-DaW9sMcm.js} +1 -1
- package/dist/assets/{RevenueChart-B_RMeweH-BaW-ee-H.js → RevenueChart-BoFq3ebd-B1Jmsn3P.js} +12 -12
- package/dist/assets/{ReviewDetailsPage-a73YIZSO-DpkHrzHu.js → ReviewDetailsPage-6kCQzaHm-Cn6HDwAl.js} +1 -1
- package/dist/assets/{ReviewOverlay-Ubmz06uP-BJLc1VC5.js → ReviewOverlay-Dhb-kL6G-BfSpCmKQ.js} +1 -1
- package/dist/assets/{RewardsRoutes-DR53o9JA.js → RewardsRoutes-ZPHX_bEI.js} +1 -1
- package/dist/assets/{RoleWithToolTip-BYO1YG6N-BFoZQpPA.js → RoleWithToolTip-BfM8Ltz4-DGj9-oQ7.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-vgqilDC8-DDQ83sDS.js → ScheduleDetailsFixedAssetsPage-Ccewwmwc-BRbRv99B.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-DdEeFryA-DsuykU2q.js → ScheduleDetailsPage-D4LK83qQ-C27rzfV2.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-poNEzbqS-CnUEqaUu.js → ScheduleSequenceTable-BZR2cL6z-BUCxLw4U.js} +1 -1
- package/dist/assets/{ScreenRoutes-Cj2iuXVM.js → ScreenRoutes-DUg5kVGG.js} +2 -2
- package/dist/assets/{SetUpAccountSection-BSOGwHCj-l5hcQr16.js → SetUpAccountSection-CxjYbrXu-D_xZkN4u.js} +1 -1
- package/dist/assets/{SettingsRoutes-BxSbNmrP.js → SettingsRoutes-BrYKFKqU.js} +1 -1
- package/dist/assets/{SetupPagesScreen-zQ3NX2lR.js → SetupPagesScreen-BDAmd8Nv.js} +1 -1
- package/dist/assets/{SignIn-q4J9wRx8-HA_1dqj8.js → SignIn-CVmtPGKL-BjZd_WFj.js} +6 -6
- package/dist/assets/{SignInScreen-CELs0Aza.js → SignInScreen-BwyzU0FU.js} +1 -1
- package/dist/assets/{SignOutScreen-Drnn4I9w.js → SignOutScreen-DIMehMGL.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-DKRkSADM-B4S5gwAW.js → SpendManagementListViewPage-BLjP9T8h-zDO_JYhV.js} +4 -4
- package/dist/assets/{SpendManagementPerTabPage-Cd30NnXU-Doh8LRUx.js → SpendManagementPerTabPage-Ck4brjun-DcKQnpZe.js} +21 -21
- package/dist/assets/{SpendManagementSection-CPBOh_J5-Cx9bexj6.js → SpendManagementSection-DAqR2c98-Cn1QTtEj.js} +1 -1
- package/dist/assets/{StatementItem-NyOORj5f-DBo43N4H.js → StatementItem-B_iG99XI-BTCPeQVA.js} +2 -2
- package/dist/assets/{StatementsPage-Cp77wyFS-DaxbhsSQ.js → StatementsPage-DcKziEfZ-Ckb4n5eQ.js} +2 -2
- package/dist/assets/{StatusSwitcher-DN-yYdli-Cu3f5bfq.js → StatusSwitcher-BI-dgnrK-D9HsJYc3.js} +1 -1
- package/dist/assets/{SubTabSwitcher-D1LNrhUn-CAQ9zzl5.js → SubTabSwitcher-BpNI5Wke-J6S5GWya.js} +1 -1
- package/dist/assets/{SuccessAnimation-DdyAYe1e-CEynHwH0.js → SuccessAnimation-AojDorqX-DelQrrOf.js} +1 -1
- package/dist/assets/SummaryCard-HW-1WXN9-DmGROxw-.js +1 -0
- package/dist/assets/{TaskDetailPage-DXTLNhtf-Bv_CIrcO.js → TaskDetailPage-Cwe193JO-B3mrz9Ub.js} +1 -1
- package/dist/assets/{TaskListScreen-DF7HvN9h.js → TaskListScreen-BkKSoC_l.js} +1 -1
- package/dist/assets/{TaskManagementPage-BaLJR4-7-CcdtHiNd.js → TaskManagementPage-Bz1uP5hK-CqiPZXfA.js} +28 -28
- package/dist/assets/{TaskRoutes-DxF_jRUO.js → TaskRoutes-BGbHdjST.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-CkgGEwEw-Cje_LjEs.js → TimeRangeSwitcher-oORYeFzN-Bcz5e_ib.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-B8fpnYS8-9PZp4BSK.js → TimeframeSwitcher-JcJSbn0--fOirrXtT.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-DwFo6jY4-D0eIiKbV.js → TimeframeSwitcherWithToggle-BEZU-KDj-P0Jp8ujn.js} +2 -2
- package/dist/assets/{TopExCard-PayAZZY--Bj-aVuk-.js → TopExCard-CF6z0JWk-aJxcszKV.js} +1 -1
- package/dist/assets/{TopExDetailPage-Mp2KcYf6-C_nzfxYJ.js → TopExDetailPage-DrcKlFuy-oABFUcUd.js} +3 -3
- package/dist/assets/{TransactionActivityLogPage-CnmL_hUz-DdEnXJ8f.js → TransactionActivityLogPage-BB4q0jan-DmLyvTEw.js} +1 -1
- package/dist/assets/{TransactionDetailPage-Bqlnmn8Y-JVQYT9QH.js → TransactionDetailPage-DRG_qosz-BtS_tJXW.js} +22 -22
- package/dist/assets/{TransactionDetailRoutes-Dsu-ghiL.js → TransactionDetailRoutes-BqT5fc1q.js} +1 -1
- package/dist/assets/{TransactionDetailScreen-8GuKlcKa.js → TransactionDetailScreen-CAd4Ee0D.js} +1 -1
- package/dist/assets/{TransactionList-BOmlsfpv-qlUBYIHt.js → TransactionList-iw4pyMYF-DcV99PuO.js} +9 -9
- package/dist/assets/{TransactionListBig-CaMT-rq_-7hp5f6-i.js → TransactionListBig-BljAUwAB-CgBr6OF2.js} +6 -6
- package/dist/assets/TransactionListPage-ReGTmF43-DlTPQjmK.js +35 -0
- package/dist/assets/{TransactionListRoutes-DVQtuZtB.js → TransactionListRoutes-BhvTNW6M.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-DlXuiPC5-DR6QT97k.js → TransactionVendorDetailPage-DXuYIj-p-BYLZbSnP.js} +1 -1
- package/dist/assets/{TransferDrawerPage-C2VcssbM-Cu4oX3M3.js → TransferDrawerPage-C3q8h8Zy-C9Bu2kIu.js} +10 -10
- package/dist/assets/{TreasuryOverviewPage-DyyoGY23-C8QrAhwL.js → TreasuryOverviewPage-DqjFEV9B-CYFYYxZY.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-B9Hf7oxZ-exH2M4Kq.js → TreasuryPromoPage-ByeK0W_5-CfOqREZ0.js} +14 -14
- package/dist/assets/{TreasuryRoutes-NYBhe4Sz.js → TreasuryRoutes-CP_kclcP.js} +1 -1
- package/dist/assets/TreasuryStatementsPage-BjGwvMFL-CyFCCkuV.js +58 -0
- package/dist/assets/{TreasuryTaxLetterPage-BcTBr9x9-DmWWAi8g.js → TreasuryTaxLetterPage-DwLyqS86-DUS4dLDe.js} +4 -4
- package/dist/assets/{TrendChart-BvXDrgUJ-DaPNeQha.js → TrendChart-Dgh_21FN-DldNMNLW.js} +2 -2
- package/dist/assets/{TrendWithTransactions-RCpzdPf3-xFzViS9J.js → TrendWithTransactions-BgIPapHk-yF3cpnF6.js} +6 -6
- package/dist/assets/{UncategorizedAccountsMappingPage-B1m3iXh5-CWDJigyo.js → UncategorizedAccountsMappingPage-DIIJcGrj-DpxmnOrf.js} +1 -1
- package/dist/assets/{UnitIntegrationPage-lVg_8mQ4-BqTrIaLn.js → UnitIntegrationPage-DIOZhQOZ-D5vOldwB.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-DrAWxBXn-CvQ8tJ-8.js → UploadAdditionalDocumentOverlay-qrcEQmkz-DEAH1rR2.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-C8m_OJEH-CGjK9uo8.js → Vendor2FAPopup-C58w6vC7-B6Whv7tb.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-BbxRwrEv-BMYPvmSB.js +1 -0
- package/dist/assets/{VendorDetailPage-Y9_hsgjs-Bs6JWCG0.js → VendorDetailPage-CEQFcNHr-CX9v8TJZ.js} +11 -11
- package/dist/assets/VendorDomesticWireDetailsPage-C02ZhGg3-CcLCcIv4.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-CPevpiim-Dbk4Mp2s.js → VendorFiling1099EditablePage-Dl7jZYBV-DZmwa4DL.js} +6 -6
- package/dist/assets/{VendorFirstReviewPage-CXftFNl_-_y9eg1t7.js → VendorFirstReviewPage-yVbtg_tG-vnisIb8R.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-88NtGE3e-DhB1w2yC.js → VendorInternationalWireDetailsPage-DNDv_s8G-f9eGCIqU.js} +6 -6
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-Bdt0UR_b-CeTlsL7U.js +1 -0
- package/dist/assets/{VendorsAccountsSection-DorsKXyL-DqIvcWpM.js → VendorsAccountsSection-Cscbgqrx-Zty_2Das.js} +1 -1
- package/dist/assets/{VendorsRoutes-KueNgBM0.js → VendorsRoutes-0dl7Omuv.js} +1 -1
- package/dist/assets/{VerifyDevice-DAym8rUN-M7g6H0jm.js → VerifyDevice-D1vsUSdJ-hlyDWjEh.js} +5 -5
- package/dist/assets/{VideoPlayer-53OvOC7l-RvSvHksJ.js → VideoPlayer-TlEy-oD0-DnsdEgv4.js} +1 -1
- package/dist/assets/{VideoPopup-v9quqdro-7jf9bldH.js → VideoPopup-3DD646kG-BEeSChGm.js} +4 -4
- package/dist/assets/{WiseConfirmationScreen-ZA8zS_nU.js → WiseConfirmationScreen-BW6hT1Lt.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-CFEGqW5l-typbF83j.js → ZeniAccountDetailPage-BbsXzuHD-DIIfMLh3.js} +14 -14
- package/dist/assets/{ZeniAccountListViewPage-j85TO5tM-DjfKcyrL.js → ZeniAccountListViewPage-lmuVUpKS-DSNsPUPM.js} +21 -21
- package/dist/assets/ZeniAccountNavBarPieces-CQhwBKXD-CSe8C_Ya.js +33 -0
- package/dist/assets/{ZeniAccountPromoPage-DeHmh4My-DJyZmW1d.js → ZeniAccountPromoPage-CXEb9tRE-DBFLOPLE.js} +1 -1
- package/dist/assets/{ZeniAccountRoutes-_rESdYK7.js → ZeniAccountRoutes-CAjxqnTS.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-ofkQR72l-DbUwbU98.js → ZeniAccountSetupPage-DPhYQu6u-B9IBOs3Q.js} +1 -1
- package/dist/assets/{ZeniAccountStatementScreen-CXTN4TcP.js → ZeniAccountStatementScreen-I7iDP5eY.js} +1 -1
- package/dist/assets/{ZeniAvatar-Ct7MPW2X-Dr9Hk39M.js → ZeniAvatar-CCOD249Z-DHdRsr5H.js} +1 -1
- package/dist/assets/{ZeniCopyright-CmCqmJmV-DYheSP80.js → ZeniCopyright-pvaggW6x-DhIa5hzn.js} +1 -1
- package/dist/assets/{ZeniDatePicker-RNJ2ukKC-CtKXessM.js → ZeniDatePicker-EhzRlpFY-Bagds5F3.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-BpfqM032-BwOaWtqI.js → ZeniTransferAmountSlider-Dlyom9dD-CMHS5vTr.js} +1 -1
- package/dist/assets/{accountMappingHelper-BLU8hIq_.js → accountMappingHelper-DeA_Vzuk.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-Cv2WBwY-.js → add-to-wallet-DgdBD8_G-DSVHJQZ8.js} +1 -1
- package/dist/assets/{analytics-DuMT4wpV.js → analytics-hnA26KoH.js} +1 -1
- package/dist/assets/{analyticsHelper-qtejXlXH-d-w7uTbl.js → analyticsHelper-AeOsAjMK-B2elKvEV.js} +1 -1
- package/dist/assets/{analyticsHelper-CtwnuYac.js → analyticsHelper-C6d1RQIz.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-DWItiKv4.js → arrow-south-east-round-PEovUgvH-C7VEDzJz.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-DVkawdL2.js → auto-transfer-rule-mbafm5D3-CvacsS1B.js} +1 -1
- package/dist/assets/{avatar-Dz7aEm3d-VXKNqIyu.js → avatar-Dz7aEm3d-BBjMxgr_.js} +1 -1
- package/dist/assets/{bank-letter-BOcVjN6J-v-zvGYkf.js → bank-letter-BOcVjN6J-BDC6rOv1.js} +1 -1
- package/dist/assets/{calculateSize-CzpGCfNE-DkEz7M5T.js → calculateSize-D-LzlJzs-DNCT8MgL.js} +1 -1
- package/dist/assets/{chartTypes-BqRsL6eJ-DnPOTdta.js → chartTypes-BLsP7rGF-Cjsgj_un.js} +1 -1
- package/dist/assets/{clock-CJkylEKt-DTBXHHGh.js → clock-CJkylEKt-CTyWvBpx.js} +1 -1
- package/dist/assets/common-CAmBErdt-BVIeK7KA.js +1 -0
- package/dist/assets/{commonDimensions-CzWWgDTA-CkwNwI_N.js → commonDimensions-DIm7kTtR-DqNzhcTL.js} +1 -1
- package/dist/assets/{commonTypes-CF6UyWSv-CFnrHGdI.js → commonTypes-B3mnx2x_-C4g4js89.js} +1 -1
- package/dist/assets/{core-Dbakk1VU.js → core-DuCBl3U1.js} +1 -1
- package/dist/assets/{dash.all.min-C8PYPQo3.js → dash.all.min-DJBtyB-p.js} +1 -1
- package/dist/assets/{decodeURIComponentSafe-EYVZFaGG.js → decodeURIComponentSafe-B5ZlGWkv.js} +1 -1
- package/dist/assets/{dnd-CoZK9h43.js → dnd-BPJHdlPA.js} +1 -1
- package/dist/assets/{dollar-round-D18u7nlm-PE8nVeMR.js → dollar-round-D18u7nlm-C91Luiym.js} +1 -1
- package/dist/assets/{downloadPdf-BFFM3Hea-2RXX_qzA.js → downloadPdf-B5WrL0K1-C6-xl2en.js} +1 -1
- package/dist/assets/{empty-C3KqHyA9.js → empty-BcYVHaFA.js} +1 -1
- package/dist/assets/{empty-CjUOQS3C.js → empty-UwS7bCyx.js} +1 -1
- package/dist/assets/{epic-BGBLm-VW.js → epic-DAzl9zmQ.js} +1 -1
- package/dist/assets/{filter-cZIFUNvj-KJVxW4YT.js → filter-cZIFUNvj-CU1t2o_9.js} +1 -1
- package/dist/assets/{getLocaleForTenant-BAO89gke.js → getLocaleForTenant-B4PeqeqG.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-Bfn5R-O9.js → gift-box-Cmt9OgIZ-CTJlvd1T.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-BFYI8sfE.js → graphic-no-data-l-DU4J8fDt-Gma2xMWq.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-DgQOtljq.js → graphic-no-data-net-burn-l-CzmycA0m-D0m0NfVz.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-DOXeNqAW.js → handshake-BPg58FML-DVgbSASX.js} +1 -1
- package/dist/assets/{helper-COxPEvgL-DjqGilVF.js → helper-BVESv00--BfyFxQUD.js} +1 -1
- package/dist/assets/{hyperlink-DQyCeXx2-BPv_vjnI.js → hyperlink-DQyCeXx2-i9FNT3rr.js} +1 -1
- package/dist/assets/{index-BG4JRo3L.js → index-5deWfiyy.js} +1 -1
- package/dist/assets/{index-dCAlFLzb.js → index-BO-jmwXl.js} +1 -1
- package/dist/assets/{index-DD0lDka6.js → index-C0E4etuS.js} +1 -1
- package/dist/assets/{index-BdbGtEP2.js → index-CqCwZ9Bo.js} +1 -1
- package/dist/assets/{index-CH6Xem9w.js → index-TFe4MZqS.js} +1 -1
- package/dist/assets/{index-iSEGT9xi.js → index-bPu7mlA1.js} +7 -7
- package/dist/assets/{lexical-Dk5TD4lX.js → lexical-Ct26b5l4.js} +1 -1
- package/dist/assets/{liveblocks-DdnYk2Co.js → liveblocks-UDiQs1XL.js} +1 -1
- package/dist/assets/{lottie-DBYzZfO9.js → lottie-DyJgmWhI.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DJxRl0X1-CvJBQQvj.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CcuLqf_I-D5MLuJek.js → mapSectionWithAcOnlyToTreeNode-BIiMj0sc-ByugsxAl.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-Bj3f2irs-Ngbliu4M.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-AI17uMHa-DAlg0uz7.js +1 -0
- package/dist/assets/{mapTimeframeBalancesToTreeNode-Cql9mEn3-acr__MkP.js → mapTimeframeBalancesToTreeNode-CyO5pm8k-BJN9BucH.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CIXgJHQz-DcnMdcWy.js → mapTimeframeHeaderLoadingInProgressToTreeNode-NKafOEXu-CbmdzU04.js} +1 -1
- package/dist/assets/{media-player-C20hpg6W.js → media-player-Bc2nje5G.js} +2 -2
- package/dist/assets/{money-2cg1MuG4-DnxgWofF.js → money-2cg1MuG4-BqWS5D8h.js} +1 -1
- package/dist/assets/{mui-Bg5IRLA2.js → mui-CvPZa6D0.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-XQ_ZOvdt.js → page-detail-CWX5S47F-OEFqGWSt.js} +1 -1
- package/dist/assets/{page-summary-D7_VQHwN-DKN2ai-q.js → page-summary-D7_VQHwN-CzEvyMZF.js} +1 -1
- package/dist/assets/{panelSelectedMixin-Cddsb26L-C6CCGzAz.js → panelSelectedMixin-Cddsb26L-CcaPMjiP.js} +1 -1
- package/dist/assets/{pathToGoBack-BLk7pE4i.js → pathToGoBack-BdyVSZWc.js} +1 -1
- package/dist/assets/{pdf-2PUMrtF-.js → pdf-LR9rRMEe.js} +3 -3
- package/dist/assets/{pdf-lib-DlaDOnMS.js → pdf-lib-B2ywHAlU.js} +1 -1
- package/dist/assets/{plaid-DCRMdnUX.js → plaid-C4PyP873.js} +1 -1
- package/dist/assets/{pusher-DjPz7AVp.js → pusher-Cr29ksza.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-B6m2tow9.js → radio-default-CiSgisfh-CvJrfQYK.js} +1 -1
- package/dist/assets/{react-DPKlRGpY.js → react-B7DTlDjT.js} +1 -1
- package/dist/assets/{react-BRYNjAhe.js → react-BKUY-Nle.js} +1 -1
- package/dist/assets/{react-BpovbSPi.js → react-BpPHxptQ.js} +1 -1
- package/dist/assets/{react-BtvC2hyM.js → react-CC2kbVB0.js} +1 -1
- package/dist/assets/{react-C1B10AWi.js → react-D8ws7sMn.js} +1 -1
- package/dist/assets/{react-BtDFM6dw.js → react-DgBIg1r8.js} +1 -1
- package/dist/assets/{react-mssibIlX.js → react-S5J_OrT1.js} +3 -3
- package/dist/assets/{react-Cu5T4aA9.js → react-p9LV8Gbe.js} +1 -1
- package/dist/assets/{recharts-Bztd37V0.js → recharts-7AyWv7E-.js} +1 -1
- package/dist/assets/{routePaths-BxZ6qL2m.js → routePaths-rBllTjJq.js} +1 -1
- package/dist/assets/{sentry-DwNPvXBL.js → sentry-uXR4_KRo.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-BW1Lfeco.js → shield-DOlUxcFf-Bahpx3SF.js} +1 -1
- package/dist/assets/{spend-limit-D6SyboD4-BsKlbYVQ.js → spend-limit-D6SyboD4-lpJ_hpRn.js} +1 -1
- package/dist/assets/toCOABalancesWithID-BWMF0py6-CojDIytn.js +1 -0
- package/dist/assets/{toChartData-CWgd8E5c-vscPIv0G.js → toChartData-BkubFDq8-CyY5jx0a.js} +1 -1
- package/dist/assets/{transaction-placeholder-CpOwZAMG-BWj2A57R.js → transaction-placeholder-CpOwZAMG-Bn-8TRqx.js} +1 -1
- package/dist/assets/{undo-b_3XZ5CX-CGq1U42f.js → undo-b_3XZ5CX-Bwi1P-k2.js} +1 -1
- package/dist/assets/{unlock-BPWn2I5L-C6sn8W4Z.js → unlock-BPWn2I5L-BihjIVk1.js} +1 -1
- package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-DPTiDKCC.js → upload-reimbursement-receipt-O2N8vcO7-BrS_KRA7.js} +1 -1
- package/dist/assets/{uploadAttachment-D1ybl0Fy-DXUbgDE0.js → uploadAttachment-CzgakLtr-D9IiqYxz.js} +1 -1
- package/dist/assets/{uploadReceipts-CIgkuVpu-b3VtRXVk.js → uploadReceipts-CIgkuVpu-7sbogiaq.js} +1 -1
- package/dist/assets/{url-Cxz1BfkB.js → url-DK_QsAj3.js} +1 -1
- package/dist/assets/{url-DIYU8sPo.js → url-DnJ-MRbo.js} +1 -1
- package/dist/assets/{useDeviceId-TTbuzrLv.js → useDeviceId-D6CPIX5r.js} +1 -1
- package/dist/assets/{useInitialThreadRequest-BftSmmiq.js → useInitialThreadRequest-D7H0jhrF.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-Cv3WvBA2.js → useLongPress-GCK2COYQ-BV6rxzXX.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-DX-ha8_c.js → usp-line-BBd1wKwW-DYAH7Au1.js} +1 -1
- package/dist/assets/{utils-D8l6svaX.js → utils-DXqO5lkM.js} +1 -1
- package/dist/assets/{withTransactionSidePanel-B9lAl4_T.js → withTransactionSidePanel-BzT1kjjx.js} +1 -1
- package/dist/assets/{zeni-epic-state-DQF5EBoo.js → zeni-epic-state-BDdTNPzg.js} +3 -3
- package/dist/assets/{zeni-icon-only-CG_yKzSn.js → zeni-icon-only-Cldmtd10.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/AccountInfoPage-CrEEthms-CShh3lti.js +0 -18
- package/dist/assets/BillPayApprovalRuleDetailPage-CJtb4oOG-CtgAcmuQ.js +0 -27
- package/dist/assets/ChargeCardPromoPage-6JwKgWli-3qEX8CR5.js +0 -222
- package/dist/assets/CustomerOnboardingAuthScreen-7W5EArl5.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-CGFQ4G4y-UuDDkSt5.js +0 -1
- package/dist/assets/EntityDetailPage-CvLzsrUE-Dr8rmeD7.js +0 -18
- package/dist/assets/InsightsSection-D9PJ55E6-Br2S_mzj.js +0 -27
- package/dist/assets/MagicLinkACHDetailsPage-BC6_cyO0-BH-mUM2m.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-CdG5oCPl-BJlbALp7.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-C046BNUz-B5CdjKd2.js +0 -1
- package/dist/assets/MailingDetailsSection-DiZwQ9QV-DS2ZtXrV.js +0 -21
- package/dist/assets/SummaryCard-DgIPSt4y-9lOT4ZI5.js +0 -1
- package/dist/assets/TransactionListPage-D_dgwnFp-ChsX6wWw.js +0 -35
- package/dist/assets/TreasuryStatementsPage-DOzJzfTG-D2BPEanX.js +0 -58
- package/dist/assets/VendorACHDetailsPage-JhO6KtMC-Vnc2qc0g.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-D0RsDHxf-BA4CpK_P.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-BTh-VP1b-r4FuxoOX.js +0 -1
- package/dist/assets/ZeniAccountNavBarPieces-Bv34Vsqj-DzYraOow.js +0 -33
- package/dist/assets/common-BxjzMhDO-DjrSaNg9.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-COOJxneh-C62pjQWQ.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-Ci5bdH6P-1RH2DZQ7.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-CCZ9A7A6-C2Dl8nFW.js +0 -1
- package/dist/assets/toCOABalancesWithID-B70YK7cw-Cqus0iZx.js +0 -1
package/dist/assets/{ACHDetailsPage-DKTSwNyl-TXl1b9xz.js → ACHDetailsPage-iiVBlQka-kJJwShx9.js}
RENAMED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import{e as
|
|
1
|
+
import{e as W,T as H,O as A,c8 as O,V as n,bR as V,bS as q,bT as F,A as U,a9 as G,x as s,eq as J,ar as K,o as Q,m as t}from"./index-bPu7mlA1.js";import{a as h}from"./sentry-uXR4_KRo.js";import{n as l}from"./mui-CvPZa6D0.js";import{W as X,A as Y}from"./BankAccountWarningSection-D7OuLiLz-CD3SlEdY.js";import{M as Z}from"./MagicLinkTitleSection-DLdaV8WG-BuvestSo.js";import{e as ee}from"./BankAccountSection-DnBVOkJC-Bn2rFs67.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]="c4b35663-7812-46d7-a2a1-a9f998a430d9",e._sentryDebugIdIdentifier="sentry-dbid-c4b35663-7812-46d7-a2a1-a9f998a430d9")}catch{}})();const a={paddingTopBottomContainer:new s(t[3],t[3]),paddingLeftContainer:new s(t[3],t[6]),paddingRightContainer:new s(t[3],t[8]),sectionTitleMarginLeft:new s(t[4],t[6]),sectionTitleMarginTop:new s(12,t[3]),buttonWidth:new s(140,140)},S="achDetailsPage",m="bankAccountSection",B=e=>`${e}_form`,be=({bankAccountCreationState:e,bankAccountToCreate:o,fetchBankNameByRoutingStatus:b,isDisabled:y,style:N,onSaveHandler:v,onBackClick:g,onACHDetailsUpdated:D,onFetchBankName:j,isMagicLink:d,companyName:P,currencySymbol:L,amount:M,bankAccountContext:$})=>{const r=W(),i=H({mode:"onBlur",reValidateMode:"onChange",defaultValues:h.useMemo(()=>ne(o),[o])}),[z,u]=h.useState(!1),c=A.getLocalizedStrings().spendManagement.billPay.vendorCreation,I=A.getLocalizedStrings().common.footer,{achDetails:k,bankAccountCommon:p}=c,R={onOkClick:()=>{u(!1),i.reset(),g?.()},onCancelClick:()=>{u(!1)}};h.useEffect(()=>{const x=i.watch((C,{name:T})=>{T!=null&&C!=null&&O(()=>(async(E,w)=>{const f=w[m].bankRoutingNumber;D(w),E===`${m}.bankRoutingNumber`&&f?.length===9&&J.test(f)===!0&&j?.(f)})(T,C))});return()=>{x.unsubscribe()}});const _=i.handleSubmit(x=>{b.fetchState!=="In-Progress"&&v("ach")});return n.jsxs(ae,{children:[n.jsxs(ie,{style:N,size:r,children:[z===!0?n.jsx(V,{titleComponent:n.jsx(F,{children:c.discardTitle}),descriptionComponent:n.jsx(q,{children:c.discardDescription}),primaryButtonText:c.discard,secondaryButtonText:c.cancel,action:R}):null,n.jsx(X,{header:d?n.jsx(Z,{companyName:P??"",currencySymbol:L??"",amount:M??0}):k.addACHDetails,isMagicLink:d,isDirty:i.formState.isDirty,onBackClick:g,setShowConfirmationPopup:u}),e?.fetchState==="Error"&&e.error?.code===409?n.jsx(Y,{warningText:p.accountExistWarning}):null,$==="express-pay"?null:n.jsx(oe,{size:r,children:k.title}),n.jsx(se,{children:n.jsx(U,{...i,children:n.jsx("form",{id:B(S),onSubmit:_,children:n.jsx(te,{size:r,children:n.jsx(ee,{bankAccountToCreate:o,fetchBankNameByRoutingStatus:b,sectionId:m,isDisabled:y})})})})})]}),n.jsx(G,{formId:B(S),primaryBtn:{label:d?p.submitDetails:p.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:a.buttonWidth.value(r)},isDisabled:y!=null},showCancel:!d,cancelBtn:{label:I.cancel,style:{width:a.buttonWidth.value(r)},shouldResetOnCancel:!1,onClick:()=>{i.formState.isDirty?u(!0):(i.reset(),g?.())}}})]})},ne=e=>({[m]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName,bankAccountType:e?.bankAccountType}}),te=l.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)};
|
|
5
5
|
padding-bottom: ${e=>a.paddingTopBottomContainer.valuePx(e.size)};
|
|
6
|
-
`,ae=
|
|
6
|
+
`,ae=l.div`
|
|
7
7
|
display: flex;
|
|
8
8
|
flex-direction: column;
|
|
9
9
|
width: 100%;
|
|
10
10
|
height: 100%;
|
|
11
|
-
`,ie=
|
|
11
|
+
`,ie=l.div`
|
|
12
12
|
display: flex;
|
|
13
13
|
flex-direction: column;
|
|
14
14
|
flex-grow: 1;
|
|
15
|
-
`,oe=
|
|
15
|
+
`,oe=l(K)`
|
|
16
16
|
color: ${e=>e.theme.colors.champion};
|
|
17
17
|
margin-left: ${e=>a.sectionTitleMarginLeft.valuePx(e.size)};
|
|
18
18
|
margin-top: ${e=>a.sectionTitleMarginTop.valuePx(e.size)};
|
|
19
|
-
`,se=
|
|
20
|
-
margin-top: ${
|
|
19
|
+
`,se=l.div`
|
|
20
|
+
margin-top: ${Q.sp5};
|
|
21
21
|
`;export{be as f};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{x as k,h as y1,e as y,O as j,bF as j1,V as C,bo as $1,o as r,b as v1,w as D,bI as b1,iX as V,m as n,bg as f,bO as h1,f as c,N as S1,an as p1,y as m1,iY as g,C as x,iZ as Z1,i_ as B1,q as S,c2 as Y,ar as J,H as F1,fx as W1,bH as u1,l as _1}from"./index-
|
|
1
|
+
import{x as k,h as y1,e as y,O as j,bF as j1,V as C,bo as $1,o as r,b as v1,w as D,bI as b1,iX as V,m as n,bg as f,bO as h1,f as c,N as S1,an as p1,y as m1,iY as g,C as x,iZ as Z1,i_ as B1,q as S,c2 as Y,ar as J,H as F1,fx as W1,bH as u1,l as _1}from"./index-bPu7mlA1.js";import{a as e}from"./sentry-uXR4_KRo.js";import{n as o,c as D1,k as H1}from"./mui-CvPZa6D0.js";import{GL as w,GM as e1,GN as F}from"./zeni-epic-state-BDdTNPzg.js";import{R as P1}from"./NavBarWithPicker-Dr5XHgP5-CjhNLCso.js";import{t as V1}from"./clock-CJkylEKt-CTyWvBpx.js";import{o as T1}from"./dollar-round-D18u7nlm-C91Luiym.js";import{N as k1,X as x1,Y as I,E as z1,F as O1,O as t1}from"./recharts-7AyWv7E-.js";import"./pdf-LR9rRMEe.js";import"./core-DuCBl3U1.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.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]="ee870e24-f40e-47d9-9704-382ed9d39c8a",t._sentryDebugIdIdentifier="sentry-dbid-ee870e24-f40e-47d9-9704-382ed9d39c8a")}catch{}})();const C1={titleLoaderWidth:new k(200,200,300),subtitleLoaderWidth:new k(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{y as h,e as x,V as t,gd as y,o as r,x as s,h0 as b,m as i}from"./index-bPu7mlA1.js";import{a as D}from"./sentry-uXR4_KRo.js";import{n as o}from"./mui-CvPZa6D0.js";import{K as P}from"./StatusSwitcher-BI-dgnrK-D9HsJYc3.js";import{r as $}from"./AccountInfoPageContent-j85psx_A-B10pnZIl.js";import"./pdf-LR9rRMEe.js";import"./zeni-epic-state-BDdTNPzg.js";import"./core-DuCBl3U1.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.js";import"./downloadPdf-B5WrL0K1-C6-xl2en.js";import"./commonDimensions-DIm7kTtR-DqNzhcTL.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]="e3e39c65-a4e9-4666-a2ab-187cc3522537",e._sentryDebugIdIdentifier="sentry-dbid-e3e39c65-a4e9-4666-a2ab-187cc3522537")}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])},G=({authParams:e,downloadAccountDetailEndPoint:n,depositAccount:a,zeniAccountsConfigDetail:g,currentTenant:p,onDismissClick:m})=>{const u=h(),c=x(),[l,f]=D.useState("achDetails");return t.jsxs(T,{children:[t.jsx(y,{title:"",backgroundColor:u.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:m}),t.jsx(j,{windowSize:c,children:a.accountName}),t.jsx(z,{children:t.jsx(P,{tabIds:["achDetails","wireDetails"],selectedTab:l,entity:"zeni_accounts",onTabSelectedChange:w=>{f(w)},isSwitcherLeftAlign:!0})}),t.jsx(A,{windowSize:c,children:t.jsx($,{authParams:e,downloadAccountDetailEndPoint:n,currentTab:l,zeniAccountsConfigDetail:g,currentTenant:p,depositAccount:a})})]})},A=o.div`
|
|
2
|
+
padding-left: ${e=>`${d.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
3
|
+
padding-right: ${e=>`${d.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
4
|
+
`,T=o.div`
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
8
|
+
overflow-x: hidden;
|
|
9
|
+
height: 100%;
|
|
10
|
+
width: 100%;
|
|
11
|
+
`,j=o(b)`
|
|
12
|
+
color: ${e=>e.theme.colors.primary};
|
|
13
|
+
padding: ${r.sp3} ${r.sp0};
|
|
14
|
+
margin: ${e=>`${r.sp0} ${d.pageTitleMarginXAxis.valuePx(e.windowSize)} `};
|
|
15
|
+
`,z=o.div`
|
|
16
|
+
display: flex;
|
|
17
|
+
justify-content: flex-start;
|
|
18
|
+
`;export{G as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as ke,gm as Ne,h1 as K,V as r,bo as
|
|
1
|
+
import{e as ke,gm as Ne,h1 as K,V as r,bo as z,L as we,b as L,o,ar as je,O as Ae,by as Se,f as R,C as re,aA as Te,gq as ve,l as oe}from"./index-bPu7mlA1.js";import{a as n}from"./sentry-uXR4_KRo.js";import{n as t}from"./mui-CvPZa6D0.js";import{w as De}from"./downloadPdf-B5WrL0K1-C6-xl2en.js";import{o as Ce}from"./commonDimensions-DIm7kTtR-DqNzhcTL.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},f=new e.Error().stack;f&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[f]="91bda2fe-14db-4d9f-8ac2-65f763317f02",e._sentryDebugIdIdentifier="sentry-dbid-91bda2fe-14db-4d9f-8ac2-65f763317f02")}catch{}})();const{common:{strings:ze,copyToClipBoard:g},spendManagement:{zeniAccounts:{zeniAccountDetail:Q},billPay:{vendorCreation:{achDetails:a}},downloads:W}}=Ae.getLocalizedStrings(),Xe=({authParams:e,downloadAccountDetailEndPoint:f,currentTab:m,depositAccount:s,zeniAccountsConfigDetail:u,currentTenant:k})=>{const ae=ke(),[,M]=Ne(),[N,te]=n.useState(!1),[ne,se]=n.useState(!1),[ie,ce]=n.useState(!1),[de,le]=n.useState(!1),[be,ue]=n.useState(!1),[pe,me]=n.useState(!1),[he,ye]=n.useState(!1),[xe,fe]=n.useState(!1),[h,P]=n.useState(!1),[w,q]=n.useState(!1),[j,O]=n.useState(!1),[A,B]=n.useState(!1),[S,G]=n.useState(!1),[T,H]=n.useState(!1),[v,J]=n.useState(!1),[$,U]=n.useState(!1),D=k?.company?.companyInfo.companyLegalName,C=K(u.zeniAccountsConfigDetail.mailingAddress).text2,p=K(u.zeniAccountsConfigDetail.bankAddress).text2;n.useEffect(()=>{(h||T||v||$||S||$||j||w||A)&&setTimeout(()=>{P(!1),H(!1),J(!1),U(!1),G(!1),B(!1),O(!1),q(!1)},1200)},[h,T,v,$,S,A,j,w]);const V=(y,i)=>{switch(y){case"accountType":se(i);break;case"acccountNumber":ce(i);break;case"routingNumber":le(i);break;case"bankName":ue(i);break;case"beneficiaryName":ye(i);break;case"beneficiaryAddress":me(i);break;case"bankAddress":fe(i)}},c=(y,i,x,F)=>{let l,d;switch(x){case"acccountNumber":l=ie,d=v;break;case"accountType":l=ne,d=T;break;case"bankName":l=be,d=S;break;case"beneficiaryName":l=he,d=w;break;case"beneficiaryAddress":l=pe,d=A;break;case"bankAddress":l=xe,d=j;break;default:l=de,d=$}return r.jsxs(Pe,{onMouseEnter:()=>V(x,!0),onMouseLeave:()=>V(x,!1),children:[r.jsx(qe,{children:y}),r.jsx(Be,{children:r.jsxs(Ge,{children:[r.jsxs(Oe,{children:[l||ae==="small"?r.jsx(_,{children:r.jsx(z,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:d,children:d?g.copied:g.copy}),enterDelay:600,children:d===!0?r.jsx(ee,{}):r.jsx(Z,{"data-testid":L("account-info-copy",x),onClick:()=>{M(i),(()=>{switch(x){case"accountType":H(!0);break;case"acccountNumber":J(!0);break;case"routingNumber":U(!0);break;case"bankName":G(!0);break;case"beneficiaryName":q(!0);break;case"beneficiaryAddress":B(!0);break;case"bankAddress":O(!0)}})()}})})}):null,i]}),F!=null?r.jsx(He,{children:F}):null]})})]})},$e={detail_type:"account_details",deposit_account_id:s.id,company_name:k?.companyName??"",company_legal_name:k?.company?.companyInfo.companyLegalName??""},ge=`${f}?query=${encodeURIComponent(JSON.stringify($e))}`;return r.jsx(Le,{children:r.jsxs(_e,{children:[r.jsxs(Ie,{children:[r.jsx(Ee,{children:m==="achDetails"?Q.achTitle:Q.wireTitle}),r.jsxs(Re,{children:[r.jsx(_,{children:r.jsx(z,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:N,children:N?W.downloading:W.download}),enterDelay:600,children:N===!0?r.jsx(we,{size:"Small",start:!0}):r.jsx(Me,{"data-testid":L("account-info-download-pdf"),onClick:()=>{De(ge,ze.empty,e,te,!0)}})})}),r.jsx(_,{children:r.jsx(z,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:h,children:h?g.copied:g.copy}),enterDelay:600,children:h===!0?r.jsx(ee,{}):r.jsx(Z,{onClick:()=>(y=>{let i;i=y==="achDetails"?`${a.bankRoutingNumber} ${s.routingNumberAch}
|
|
2
2
|
|
|
3
3
|
${a.accountTypeLabel} ${s.accountSubType.name??""}
|
|
4
4
|
|
|
@@ -18,7 +18,7 @@ ${a.beneficiaryName} ${D}
|
|
|
18
18
|
|
|
19
19
|
${a.bankAddress} ${p}
|
|
20
20
|
|
|
21
|
-
${a.beneficiaryAddress} ${C}`,M(i),P(!0)})(m),"data-testid":
|
|
21
|
+
${a.beneficiaryAddress} ${C}`,M(i),P(!0)})(m),"data-testid":L("title-text-copy")})})})]})]}),m==="achDetails"?r.jsxs(Je,{children:[r.jsx(X,{children:c(a.bankRoutingNumber,s.routingNumberAch,"routingNumber")}),r.jsx(b,{children:c(a.accountTypeLabel,s.accountSubType.name,"accountType")}),r.jsx(b,{children:c(a.bankAccountNumber,s.accountNumber,"acccountNumber")}),r.jsx(b,{children:c(a.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),p!=null?r.jsx(Y,{children:c(a.bankAddress,p,"bankAddress")}):null]}):m==="wireDetails"?r.jsxs(Ue,{children:[r.jsx(X,{children:c(a.bankRoutingNumber,s.routingNumberAch,"routingNumber")}),r.jsx(b,{children:c(a.accountTypeLabel,s.accountSubType.name,"accountType")}),r.jsx(b,{children:c(a.bankAccountNumber,s.accountNumber,"acccountNumber")}),r.jsx(b,{children:c(a.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),p!=null?r.jsx(b,{children:c(a.bankAddress,p,"bankAddress")}):null,D!=null?r.jsx(b,{children:c(a.beneficiaryName,D,"beneficiaryName",a.beneficiaryNameSubLabel)}):null,C!=null?r.jsx(Y,{children:c(a.beneficiaryAddress,C,"beneficiaryAddress",a.beneficiaryAddressSubLabel)}):null]}):null]})})},Le=t.div``,_e=t.div`
|
|
22
22
|
margin: ${o.sp4};
|
|
23
23
|
margin-left: ${o.sp0};
|
|
24
24
|
`,Ie=t.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as g,O as l,V as t,l as x,au as c,a as y,o,f as m,D as j,bu as $,bn as b}from"./index-
|
|
1
|
+
import{y as g,O as l,V as t,l as x,au as c,a as y,o,f as m,D as j,bu as $,bn as b}from"./index-bPu7mlA1.js";import{n as r}from"./mui-CvPZa6D0.js";import{t as w}from"./handshake-BPg58FML-DVgbSASX.js";import{o as k,r as v}from"./unlock-BPWn2I5L-BihjIVk1.js";import"./sentry-uXR4_KRo.js";import"./pdf-LR9rRMEe.js";import"./zeni-epic-state-BDdTNPzg.js";import"./core-DuCBl3U1.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.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]="6859f754-a8aa-4cdf-ad8a-ef3f2dd549a4",e._sentryDebugIdIdentifier="sentry-dbid-6859f754-a8aa-4cdf-ad8a-ef3f2dd549a4")}catch{}})();const p="support@zeni.ai",s=l.getLocalizedStrings().commonSetUp.twoFactorAuthentication,f=({unlockDate:e,onSubmit:i})=>{const n=g(),h=e.format(l.getLocalizedStrings().dateFormat.visual.MMMDCommaYYYYformat),u=e.format(l.getLocalizedStrings().dateFormat.visual.HHMMFormat);return t.jsxs(D,{children:[t.jsx(M,{children:s.accountLockedTitle}),t.jsxs(S,{children:[t.jsxs(a,{children:[t.jsx(d,{theme:n,children:t.jsx(z,{})}),t.jsx(x,{children:s.accountLockedSecurityMessage})]}),t.jsxs(a,{children:[t.jsx(d,{theme:n,children:t.jsx(I,{})}),t.jsxs(c,{children:[s.tryAgainAfter,t.jsxs(C,{children:[h,t.jsx(_,{children:"•"}),u]}),s.signInViaGoogleOrMicrosoft]})]}),t.jsxs(a,{children:[t.jsx(d,{theme:n,children:t.jsx(A,{})}),t.jsxs(c,{children:[s.accountLockedContactMessage,t.jsx(L,{href:`mailto:${p}`,children:p})]})]}),t.jsx(y,{variant:"primary",label:s.understood,onClick:i})]})]})},D=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{T as xe,V as t,A as fe,bR as ye,bS as ge,bT as je,o as c,M as Se,ar as K,H as Q,a8 as
|
|
1
|
+
import{T as xe,V as t,A as fe,bR as ye,bS as ge,bT as je,o as c,M as Se,ar as K,H as Q,a8 as ke,E as $e,dc as be,el as we,cv as G,cS as X,O as ve,l as d,y as Ee,a5 as Ce,aU as ee,de as te,$ as Re,f as ne,aA as Pe}from"./index-bPu7mlA1.js";import{a as s}from"./sentry-uXR4_KRo.js";import{n as o}from"./mui-CvPZa6D0.js";import{u as Te}from"./plaid-C4PyP873.js";import{bG as oe,H4 as De,H5 as Ie}from"./zeni-epic-state-BDdTNPzg.js";import{E as _e,C as Fe,w as Ue,f as Me}from"./AccountRow-DEtntSrL-CJ0B8bgS.js";import"./pdf-LR9rRMEe.js";import"./core-DuCBl3U1.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./utils-DXqO5lkM.js";import"./clock-CJkylEKt-CTyWvBpx.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]="d8f4c922-4366-4378-953a-dce0617b9937",e._sentryDebugIdIdentifier="sentry-dbid-d8f4c922-4366-4378-953a-dce0617b9937")}catch{}})();const Oe=c.sp4,Ye=c.sp4,Ae=c.sp10,Be=c.sp4,Le=c.sp4,N=114,Ne=400,ze=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{T as xe,V as t,A as fe,bR as ye,bS as ge,bT as je,o as c,M as Se,ar as K,
|
|
|
19
19
|
z-index: 2;
|
|
20
20
|
top: ${c.sp0};
|
|
21
21
|
width: 100%;
|
|
22
|
-
`,We=o(
|
|
22
|
+
`,We=o(ke)`
|
|
23
23
|
cursor: pointer;
|
|
24
24
|
color: ${e=>e.theme.colors.hero};
|
|
25
25
|
width: ${c.sp4};
|
|
@@ -236,4 +236,4 @@ import{T as xe,V as t,A as fe,bR as ye,bS as ge,bT as je,o as c,M as Se,ar as K,
|
|
|
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:Z,expenseAutomation:{accountRecon:i}}=ve.getLocalizedStrings(),bt=(e,n)=>`${e}.${n}`,se="accountReconDrawerDetailsSection";function Vt({accountReconciliation:e,plaidConnectionDetails:n,monthYearPeriod:l,openFilePicker:u,filesEndPoint:x,authParams:S,onDismissClick:b,onFetchLinkTokenClick:E,onEstablishConnectionClick:C,onSelectSourceType:I,onDeleteFile:R,onEditFileName:_,onStatementUploadSuccess:F,onUploadWindowOpenedOnce:U}){const m=xe({mode:"all",reValidateMode:"onChange",defaultValues:J(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:J(e)}),k=m.handleSubmit(()=>{}),[h,f]=s.useState(void 0),$=n.link_account_no_microdeposit,w=n.update_account,a=h==="update_account"?w:$,[y,r]=s.useState(a.linkToken??null),[j,M]=s.useState(!1),[z,O]=s.useState(!1),[Y,A]=s.useState(void 0),[re,H]=s.useState(void 0),le=s.useCallback(()=>{f("link_account_no_microdeposit")},[]),de=s.useCallback(()=>{f("update_account"),E("update_account",e.paymentAccountId)},[e.paymentAccountId]),ue={onOkClick:()=>{Y!=null&&(R(Y),A(void 0)),H(void 0),O(!1)},onCancelClick:()=>{A(void 0),O(!1)}},V=s.useRef(h);s.useEffect(()=>{V.current=h},[h]);const pe=s.useCallback(P=>{C(P,e.accountReconEntity.account.accountId,V.current),f(void 0),M(!1)},[C,e.accountReconEntity.account.accountId]),he=s.useCallback((P,me)=>{P!=null&&console.log("Plaid Connection Error",P,me),f(void 0),M(!1)},[]),{open:W,ready:q}=Te({token:y,onSuccess:pe,onExit:he});return s.useEffect(()=>{(oe(new Date().toISOString()).isAfter(a.expiration)||a.linkToken==null)&&a.fetchStatus.fetchState==="Not-Started"&&E("link_account_no_microdeposit")},[a.fetchStatus.fetchState]),s.useEffect(()=>{!j&&h!=null&&a.linkToken===y&&a.fetchStatus.fetchState==="Completed"&&q&&M(!0)},[q,y,a.fetchStatus.fetchState,a.linkToken,h,j]),s.useEffect(()=>{a.fetchStatus.fetchState==="Completed"&&a.linkToken!=null&&a.linkToken!==y&&r(a.linkToken)},[a.fetchStatus.fetchState,a.linkToken,y]),s.useEffect(()=>{j&&W()},[j,W]),t.jsxs(ze,{children:[t.jsx(Ve,{children:t.jsx(Ge,{children:t.jsxs(Ze,{children:[t.jsx(He,{}),t.jsxs(Je,{children:[t.jsx(Ke,{children:e.accountReconEntity.account.accountName}),t.jsx(ce,{children:t.jsx(Rt,{monthYearPeriod:l})})]}),t.jsx(Qe,{children:t.jsx(We,{onClick:b})})]})})}),t.jsxs(qe,{children:[t.jsx(fe,{...m,children:t.jsx("form",{style:{width:"100%"},id:"accountReconDrawerDetailsPage",onSubmit:k,children:t.jsx(kt,{monthYearPeriod:l,accountReconciliation:e,filesEndPoint:x,openFilePicker:u,authParams:S,onConnectClick:le,onReconnectClick:de,onSelectSourceType:I,onDeleteFile:R,onEditFileName:_,onStatementUploadSuccess:F,onUploadWindowOpenedOnce:U,showConfirmationPopup:z,setShowConfirmationPopup:O,deleteFileId:Y,setDeleteFileId:A,uploadErrorMessage:re,setUploadErrorMessage:H})})}),z===!0||e.statementDeleteStatus.fetchState==="In-Progress"?t.jsx(ye,{titleComponent:t.jsx(je,{children:i.reconciliation.drawer.deleteConfirmation.heading}),descriptionComponent:t.jsx(ge,{children:i.reconciliation.drawer.deleteConfirmation.description}),isLoading:e.statementDeleteStatus.fetchState==="In-Progress",primaryButtonText:p.confirm,secondaryButtonText:p.cancel,action:ue}):null]})]})}const kt=({monthYearPeriod:e,accountReconciliation:n,filesEndPoint:l,authParams:u,openFilePicker:x,onConnectClick:S,onReconnectClick:b,setDeleteFileId:E,setShowConfirmationPopup:C,onEditFileName:I,onSelectSourceType:R,onStatementUploadSuccess:_,onUploadWindowOpenedOnce:F,uploadErrorMessage:U,setUploadErrorMessage:m})=>{const[k,h]=s.useState(!1),f=(n.localData?.accountSource??"plaid")==="plaid"?n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt:n.accountReconEntity.reconUpdatedAt,$=[];n.accountReconEntity.account.accountType==="bank"&&$.push({label:i.reconciliation.menu.bankConnection,value:"plaid"}),$.push({label:i.reconciliation.menu.statement,value:"bank_statement"});const w=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"),s.useEffect(()=>{n.accountReconEntity.statementStatus.code==="uploaded"&&(n.accountReconEntity.statementDataStatus?.code==="validation_failed"||n.accountReconEntity.statementDataStatus?.code==="parsing_failed"||n.accountReconEntity.statementDataStatus?.code==="processing_failed")&&m(_e(n.accountReconEntity.statementDataStatus?.code,"drawer",n.accountReconEntity.errorMessage?.errorShort))},[n.accountReconEntity.statementStatus.code,n.accountReconEntity.statementDataStatus?.code,n.accountReconEntity.errorMessage?.errorShort,m]);const y=n.accountReconEntity.reconciliationStatus!=null&&["reconciled","in_progress","reconciled_via_qbo"].includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(Xe,{children:[t.jsxs(et,{children:[t.jsxs(tt,{children:[t.jsx(B,{children:i.reconciliation.headers.bankBalance}),t.jsx(nt,{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(ot,{children:[t.jsx(B,{children:i.reconciliation.headers.clearedBalance}),t.jsx(ct,{children:t.jsx(Ue,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(at,{children:[t.jsx(B,{children:i.reconciliation.headers.variance}),t.jsx(st,{children:t.jsx(Et,{variance:n.accountReconEntity.variance,variancePercentage:n.accountReconEntity.variancePercentage})})]})]}),t.jsxs(ht,{children:[t.jsxs(mt,{children:[" ",i.reconciliation.drawer.source," "]}),t.jsxs(xt,{children:[t.jsxs(v,{children:[t.jsx(T,{children:i.reconciliation.drawer.labels.type}),t.jsx(D,{children:a!=null?t.jsx(g,{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($e,{moreIconType:"custom",customIcon:t.jsx($t,{selectedSourceType:w}),options:$,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:c.sp5,width:"180px"})},menuPlacement:"bottom",onOptionSelection:r=>{R(De(r))},valueToIcon:r=>r==="plaid"?t.jsx(yt,{}):r==="bank_statement"?t.jsx(gt,{}):null})})})]}),w==="bank_statement"?t.jsx(v,{children:t.jsx(we,{name:bt(se,"file"),file:n.accountReconEntity.statementMetaData?.file,showPhotoPicker:!1,isDisabled:y,sizeLimit:1e7,onFileSizeError:r=>{r&&m(p.fileElementPicker.sizeLimit)},deleteFileStatusById:{},updateFileStatusById:{},filesEndPoint:l,authParams:u,acceptableTypes:["application/pdf"],placeholderText:i.reconciliation.drawer.downloadPlaceholder,autoOpenFilePicker:x,accountStatementUpload:{uploadHelper:Ie,metadataPayload:{accountId:n.accountReconEntity.account.accountId,accountType:n.accountReconEntity.account.accountType??"bank",monthYearPeriod:e},errorMessage:U,onUploadError:r=>{m(r?.message)},onUploadSuccess:r=>{_(r),h(!1)},onUploadStart:()=>{h(!0),m(void 0)},onUploadWindowOpenedOnce:()=>{F()}},onDeleteFile:r=>{E(r),C(!0)},onEditFileName:(r,j)=>{I(r,j)}})}):null,t.jsxs(v,{children:[t.jsx(T,{children:i.reconciliation.drawer.labels.status}),t.jsx(D,{children:w!=="bank_statement"?t.jsx(wt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:b}):t.jsx(vt,{uploadInProgress:k,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(v,{children:[t.jsx(T,{children:i.reconciliation.drawer.labels.accountType}),t.jsx(D,{children:t.jsx(Ct,{accountSubType:G(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(v,{children:[t.jsx(T,{children:i.reconciliation.drawer.labels.lastUpdated}),t.jsx(D,{children:t.jsx(X,{isLoading:k,customStyle:{height:"20px",width:"100px"},position:"left",children:f!=null?t.jsx(g,{children:G(f.utc(!0).fromNow())}):p.strings.hyphen})})]})]})]})]})},$t=({selectedSourceType:e})=>t.jsxs(dt,{children:[e==null||e==="plaid"?t.jsx(ie,{}):t.jsx(ae,{}),t.jsx(ut,{children:e==null||e==="plaid"?i.reconciliation.menu.bankConnection:i.reconciliation.menu.statement}),t.jsx(pt,{})]}),wt=({status:e,connectionInProgress:n,onConnectClick:l,onReconnectClick:u})=>n?t.jsx(L,{children:i.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(L,{children:[t.jsx(ft,{}),t.jsx(jt,{children:i.reconciliation.drawer.values.connected})]}):t.jsx(L,{onClick:e==="reconnect"?u:l,children:t.jsx(St,{status:e,children:e==="reconnect"?i.reconciliation.drawer.values.reconnect:i.reconciliation.drawer.values.connect})}),vt=({status:e,uploadInProgress:n})=>n?t.jsx(X,{isLoading:n,customStyle:{height:"20px",width:"100px"},position:"left",children:t.jsx(t.Fragment,{})}):e==null?t.jsx(g,{children:p.strings.hyphen}):e==="parsing"?t.jsx(g,{children:i.reconciliation.drawer.values.statementParsing}):e==="validated"?t.jsx(g,{children:i.reconciliation.drawer.values.uploaded}):t.jsx(g,{children:p.strings.hyphen}),Et=({variance:e,variancePercentage:n,reconciliationStatusCode:l})=>{const u=Ee(),{varianceColor:x,variancePercentageColor:S,variancePercentageContainerColor:b}=Me(u,e,l,!0);return t.jsxs(it,{children:[t.jsx(rt,{textColor:x,children:Ce("0,0",e)??p.strings.hyphen}),t.jsxs(lt,{textColor:S,bgColor:b,children:[n!=null?n===0?"0":n.toFixed(2):null,n!=null?p.strings.percentage:null]})]})},Ct=({accountSubType:e})=>{const n=e!=null?e.replace("_"," "):p.strings.hyphen;return t.jsx(g,{children:n})},Rt=({monthYearPeriod:e})=>t.jsx(ce,{children:Pt(e)}),Pt=e=>{const{month:n,year:l}=e,u=oe(`${l}-${String(n).padStart(2,"0")}-01`);let x=u.endOf("month");return`${u.format(Z.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${x.format(Z.visual.DMMMYYYYFormat)}`},J=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{Vt as default,bt as uniqueName};
|
|
239
|
+
`,{common:p,dateFormat:Z,expenseAutomation:{accountRecon:i}}=ve.getLocalizedStrings(),kt=(e,n)=>`${e}.${n}`,se="accountReconDrawerDetailsSection";function Vt({accountReconciliation:e,plaidConnectionDetails:n,monthYearPeriod:l,openFilePicker:u,filesEndPoint:x,authParams:S,onDismissClick:k,onFetchLinkTokenClick:E,onEstablishConnectionClick:C,onSelectSourceType:I,onDeleteFile:R,onEditFileName:_,onStatementUploadSuccess:F,onUploadWindowOpenedOnce:U}){const m=xe({mode:"all",reValidateMode:"onChange",defaultValues:J(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:J(e)}),$=m.handleSubmit(()=>{}),[h,f]=s.useState(void 0),b=n.link_account_no_microdeposit,w=n.update_account,a=h==="update_account"?w:b,[y,r]=s.useState(a.linkToken??null),[j,M]=s.useState(!1),[z,O]=s.useState(!1),[Y,A]=s.useState(void 0),[re,H]=s.useState(void 0),le=s.useCallback(()=>{f("link_account_no_microdeposit")},[]),de=s.useCallback(()=>{f("update_account"),E("update_account",e.paymentAccountId)},[e.paymentAccountId]),ue={onOkClick:()=>{Y!=null&&(R(Y),A(void 0)),H(void 0),O(!1)},onCancelClick:()=>{A(void 0),O(!1)}},V=s.useRef(h);s.useEffect(()=>{V.current=h},[h]);const pe=s.useCallback(P=>{C(P,e.accountReconEntity.account.accountId,V.current),f(void 0),M(!1)},[C,e.accountReconEntity.account.accountId]),he=s.useCallback((P,me)=>{P!=null&&console.log("Plaid Connection Error",P,me),f(void 0),M(!1)},[]),{open:W,ready:q}=Te({token:y,onSuccess:pe,onExit:he});return s.useEffect(()=>{(oe(new Date().toISOString()).isAfter(a.expiration)||a.linkToken==null)&&a.fetchStatus.fetchState==="Not-Started"&&E("link_account_no_microdeposit")},[a.fetchStatus.fetchState]),s.useEffect(()=>{!j&&h!=null&&a.linkToken===y&&a.fetchStatus.fetchState==="Completed"&&q&&M(!0)},[q,y,a.fetchStatus.fetchState,a.linkToken,h,j]),s.useEffect(()=>{a.fetchStatus.fetchState==="Completed"&&a.linkToken!=null&&a.linkToken!==y&&r(a.linkToken)},[a.fetchStatus.fetchState,a.linkToken,y]),s.useEffect(()=>{j&&W()},[j,W]),t.jsxs(ze,{children:[t.jsx(Ve,{children:t.jsx(Ge,{children:t.jsxs(Ze,{children:[t.jsx(He,{}),t.jsxs(Je,{children:[t.jsx(Ke,{children:e.accountReconEntity.account.accountName}),t.jsx(ce,{children:t.jsx(Rt,{monthYearPeriod:l})})]}),t.jsx(Qe,{children:t.jsx(We,{onClick:k})})]})})}),t.jsxs(qe,{children:[t.jsx(fe,{...m,children:t.jsx("form",{style:{width:"100%"},id:"accountReconDrawerDetailsPage",onSubmit:$,children:t.jsx($t,{monthYearPeriod:l,accountReconciliation:e,filesEndPoint:x,openFilePicker:u,authParams:S,onConnectClick:le,onReconnectClick:de,onSelectSourceType:I,onDeleteFile:R,onEditFileName:_,onStatementUploadSuccess:F,onUploadWindowOpenedOnce:U,showConfirmationPopup:z,setShowConfirmationPopup:O,deleteFileId:Y,setDeleteFileId:A,uploadErrorMessage:re,setUploadErrorMessage:H})})}),z===!0||e.statementDeleteStatus.fetchState==="In-Progress"?t.jsx(ye,{titleComponent:t.jsx(je,{children:i.reconciliation.drawer.deleteConfirmation.heading}),descriptionComponent:t.jsx(ge,{children:i.reconciliation.drawer.deleteConfirmation.description}),isLoading:e.statementDeleteStatus.fetchState==="In-Progress",primaryButtonText:p.confirm,secondaryButtonText:p.cancel,action:ue}):null]})]})}const $t=({monthYearPeriod:e,accountReconciliation:n,filesEndPoint:l,authParams:u,openFilePicker:x,onConnectClick:S,onReconnectClick:k,setDeleteFileId:E,setShowConfirmationPopup:C,onEditFileName:I,onSelectSourceType:R,onStatementUploadSuccess:_,onUploadWindowOpenedOnce:F,uploadErrorMessage:U,setUploadErrorMessage:m})=>{const[$,h]=s.useState(!1),f=(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 w=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||$?"bank_statement":void 0;n.accountReconEntity.account.accountType==="credit_card"&&(a="bank_statement"),s.useEffect(()=>{n.accountReconEntity.statementStatus.code==="uploaded"&&(n.accountReconEntity.statementDataStatus?.code==="validation_failed"||n.accountReconEntity.statementDataStatus?.code==="parsing_failed"||n.accountReconEntity.statementDataStatus?.code==="processing_failed")&&m(_e(n.accountReconEntity.statementDataStatus?.code,"drawer",n.accountReconEntity.errorMessage?.errorShort))},[n.accountReconEntity.statementStatus.code,n.accountReconEntity.statementDataStatus?.code,n.accountReconEntity.errorMessage?.errorShort,m]);const y=n.accountReconEntity.reconciliationStatus!=null&&["reconciled","in_progress","reconciled_via_qbo"].includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(Xe,{children:[t.jsxs(et,{children:[t.jsxs(tt,{children:[t.jsx(B,{children:i.reconciliation.headers.bankBalance}),t.jsx(nt,{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(ot,{children:[t.jsx(B,{children:i.reconciliation.headers.clearedBalance}),t.jsx(ct,{children:t.jsx(Ue,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(at,{children:[t.jsx(B,{children:i.reconciliation.headers.variance}),t.jsx(st,{children:t.jsx(Et,{variance:n.accountReconEntity.variance,variancePercentage:n.accountReconEntity.variancePercentage})})]})]}),t.jsxs(ht,{children:[t.jsxs(mt,{children:[" ",i.reconciliation.drawer.source," "]}),t.jsxs(xt,{children:[t.jsxs(v,{children:[t.jsx(T,{children:i.reconciliation.drawer.labels.type}),t.jsx(D,{children:a!=null?t.jsx(g,{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($e,{controller:!0,children:t.jsx(be,{moreIconType:"custom",customIcon:t.jsx(bt,{selectedSourceType:w}),options:b,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:c.sp5,width:"180px"})},menuPlacement:"bottom",onOptionSelection:r=>{R(De(r))},valueToIcon:r=>r==="plaid"?t.jsx(yt,{}):r==="bank_statement"?t.jsx(gt,{}):null})})})]}),w==="bank_statement"?t.jsx(v,{children:t.jsx(we,{name:kt(se,"file"),file:n.accountReconEntity.statementMetaData?.file,showPhotoPicker:!1,isDisabled:y,sizeLimit:1e7,onFileSizeError:r=>{r&&m(p.fileElementPicker.sizeLimit)},deleteFileStatusById:{},updateFileStatusById:{},filesEndPoint:l,authParams:u,acceptableTypes:["application/pdf"],placeholderText:i.reconciliation.drawer.downloadPlaceholder,autoOpenFilePicker:x,accountStatementUpload:{uploadHelper:Ie,metadataPayload:{accountId:n.accountReconEntity.account.accountId,accountType:n.accountReconEntity.account.accountType??"bank",monthYearPeriod:e},errorMessage:U,onUploadError:r=>{m(r?.message)},onUploadSuccess:r=>{_(r),h(!1)},onUploadStart:()=>{h(!0),m(void 0)},onUploadWindowOpenedOnce:()=>{F()}},onDeleteFile:r=>{E(r),C(!0)},onEditFileName:(r,j)=>{I(r,j)}})}):null,t.jsxs(v,{children:[t.jsx(T,{children:i.reconciliation.drawer.labels.status}),t.jsx(D,{children:w!=="bank_statement"?t.jsx(wt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:k}):t.jsx(vt,{uploadInProgress:$,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(v,{children:[t.jsx(T,{children:i.reconciliation.drawer.labels.accountType}),t.jsx(D,{children:t.jsx(Ct,{accountSubType:G(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(v,{children:[t.jsx(T,{children:i.reconciliation.drawer.labels.lastUpdated}),t.jsx(D,{children:t.jsx(X,{isLoading:$,customStyle:{height:"20px",width:"100px"},position:"left",children:f!=null?t.jsx(g,{children:G(f.utc(!0).fromNow())}):p.strings.hyphen})})]})]})]})]})},bt=({selectedSourceType:e})=>t.jsxs(dt,{children:[e==null||e==="plaid"?t.jsx(ie,{}):t.jsx(ae,{}),t.jsx(ut,{children:e==null||e==="plaid"?i.reconciliation.menu.bankConnection:i.reconciliation.menu.statement}),t.jsx(pt,{})]}),wt=({status:e,connectionInProgress:n,onConnectClick:l,onReconnectClick:u})=>n?t.jsx(L,{children:i.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(L,{children:[t.jsx(ft,{}),t.jsx(jt,{children:i.reconciliation.drawer.values.connected})]}):t.jsx(L,{onClick:e==="reconnect"?u:l,children:t.jsx(St,{status:e,children:e==="reconnect"?i.reconciliation.drawer.values.reconnect:i.reconciliation.drawer.values.connect})}),vt=({status:e,uploadInProgress:n})=>n?t.jsx(X,{isLoading:n,customStyle:{height:"20px",width:"100px"},position:"left",children:t.jsx(t.Fragment,{})}):e==null?t.jsx(g,{children:p.strings.hyphen}):e==="parsing"?t.jsx(g,{children:i.reconciliation.drawer.values.statementParsing}):e==="validated"?t.jsx(g,{children:i.reconciliation.drawer.values.uploaded}):t.jsx(g,{children:p.strings.hyphen}),Et=({variance:e,variancePercentage:n,reconciliationStatusCode:l})=>{const u=Ee(),{varianceColor:x,variancePercentageColor:S,variancePercentageContainerColor:k}=Me(u,e,l,!0);return t.jsxs(it,{children:[t.jsx(rt,{textColor:x,children:Ce("0,0",e)??p.strings.hyphen}),t.jsxs(lt,{textColor:S,bgColor:k,children:[n!=null?n===0?"0":n.toFixed(2):null,n!=null?p.strings.percentage:null]})]})},Ct=({accountSubType:e})=>{const n=e!=null?e.replace("_"," "):p.strings.hyphen;return t.jsx(g,{children:n})},Rt=({monthYearPeriod:e})=>t.jsx(ce,{children:Pt(e)}),Pt=e=>{const{month:n,year:l}=e,u=oe(`${l}-${String(n).padStart(2,"0")}-01`);let x=u.endOf("month");return`${u.format(Z.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${x.format(Z.visual.DMMMYYYYFormat)}`},J=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{Vt as default,kt as uniqueName};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{V as e,a5 as I,bo as f,o,b as j,E as at,dc as it,O as ct,l as y,f as m,dd as X,de as Y,cq as st,ad as x,C as Z,m as g,e as rt,y as S,aj as lt,bj as dt,j as ut,a as xt,H as W,b6 as pt,d4 as ht}from"./index-
|
|
1
|
+
import{V as e,a5 as I,bo as f,o,b as j,E as at,dc as it,O as ct,l as y,f as m,dd as X,de as Y,cq as st,ad as x,C as Z,m as g,e as rt,y as S,aj as lt,bj as dt,j as ut,a as xt,H as W,b6 as pt,d4 as ht}from"./index-bPu7mlA1.js";import{a as gt}from"./sentry-uXR4_KRo.js";import{n as a,c as mt}from"./mui-CvPZa6D0.js";import{t as ft}from"./clock-CJkylEKt-CTyWvBpx.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new t.Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="c35eec52-ca91-4b60-ad49-7de148300a98",t._sentryDebugIdIdentifier="sentry-dbid-c35eec52-ca91-4b60-ad49-7de148300a98")}catch{}})();const jt=a.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
${t=>t.showTreeLine===!0&&t.collapsed!==!0?`&::after {
|
|
4
4
|
content: "";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{O,V as o,o as t,ag as P,f as v,D as ee,w as oe,aS as te,aT as re,aU as ne,aV as ae,aW as G,n as se,a6 as Z,a3 as ie,y as R,_ as ce,b as M,af as le,a4 as de,aa as pe,C as J,z as me,ap as he,l as ue,au as ge}from"./index-
|
|
1
|
+
import{O,V as o,o as t,ag as P,f as v,D as ee,w as oe,aS as te,aT as re,aU as ne,aV as ae,aW as G,n as se,a6 as Z,a3 as ie,y as R,_ as ce,b as M,af as le,a4 as de,aa as pe,C as J,z as me,ap as he,l as ue,au as ge}from"./index-bPu7mlA1.js";import{a as N,b as z}from"./sentry-uXR4_KRo.js";import{c as xe}from"./SummaryCard-HW-1WXN9-DmGROxw-.js";import{n as r,k as U,c as V}from"./mui-CvPZa6D0.js";import{F5 as fe}from"./zeni-epic-state-BDdTNPzg.js";import{N as X}from"./NavigationArrow-DT82hMh--BnPRXoeX.js";import{x as ye}from"./NavigationDots-CwCZ9EAa-ovWuwmnJ.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]="0c5b6689-06dd-49ca-9ba3-8efd946132d6",e._sentryDebugIdIdentifier="sentry-dbid-0c5b6689-06dd-49ca-9ba3-8efd946132d6")}catch{}})();const I=(e,n)=>U`
|
|
2
2
|
0% {
|
|
3
3
|
opacity: 0;
|
|
4
4
|
transform: translateX(${e==="right"?`-${n}%`:`${n}%`});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y,e as S,a7 as T,w as d,V as m,iE as w,o as e,x as l,b as B,O as x,m as n}from"./index-
|
|
1
|
+
import{y,e as S,a7 as T,w as d,V as m,iE as w,o as e,x as l,b as B,O as x,m as n}from"./index-bPu7mlA1.js";import{a as C}from"./sentry-uXR4_KRo.js";import{n as I}from"./mui-CvPZa6D0.js";import"./pdf-LR9rRMEe.js";import"./zeni-epic-state-BDdTNPzg.js";import"./core-DuCBl3U1.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new t.Error().stack;s&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[s]="4d594a1a-3ec5-467f-aa31-d943c0a6adfb",t._sentryDebugIdIdentifier="sentry-dbid-4d594a1a-3ec5-467f-aa31-d943c0a6adfb")}catch{}})();const p={marginTop:new l(n[0],18),marginBottom:new l(n[0],n[3])},{spendManagement:{chargeCard:{chargeCardsPromo:g}},common:j}=x.getLocalizedStrings(),W=({googleAPIKey:t,customAddress:s,customAddressStatus:a,onDismissClick:r,onSubmitHandler:c})=>{const u=y(),o=S(),i=T(a.fetchState);C.useEffect(()=>{i==="In-Progress"&&a.fetchState==="Completed"&&r()},[a.fetchState,r,i]);const f=o==="small"?d.extraSmallRegular.cssObject:d.standardRegular.cssObject,b=o==="small"?d.standardMedium.cssObject:d.h5Regular.cssObject;return m.jsx(v,{"data-testid":B("add-address-for-card-drawer"),children:m.jsx(w,{googleAPIKey:t,loadingState:a.fetchState,addressToEdit:s,onSubmitHandler:h=>c(h),onCancel:r,showNavbarWithClose:!0,isSubPage:!0,addTitleMessage:g.addAddress,subTitleMessage:g.addAddressSubText,hideAddressBackButton:!0,showAddressCloseButton:!0,dontShowSaveConfirmationPopup:!0,customNavStyles:{paddingTop:"19px",paddingBottom:"19px"},customTitleStyles:{marginTop:p.marginTop.valuePx(o),marginBottom:p.marginBottom.valuePx(o),...b},subTitleStyles:{marginTop:e.sp0,marginBottom:e.sp0,...f,color:u.colors.hero},navBarContainerStyles:{alignItems:"center",justifyContent:"space-between",paddingTop:e.sp2,paddingRight:e.sp3},sectionStyles:{paddingTop:e.sp4,paddingBottom:e.sp4},footerButtons:{primaryButtonLabel:j.add,buttonWidth:82,separatorStyle:{marginRight:e.sp4}}})})},v=I.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
background-color: ${t=>t.theme.colors.grey4};
|
|
4
4
|
height: 100%;
|
package/dist/assets/{AddToWalletPage-Bw1oz9Y2-DkLHI9hz.js → AddToWalletPage-BLxUsh1Y-BlYpwefQ.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as E,h as re,_ as ne,O as L,V as i,a_ as le,m as p,ij as de,iB as pe,o as t,a as z,b as W,x as m,d as $,M as b,iC as ce,ik as he,bH as ge,f as s,iD as xe,aV as me,cn as we,l as ue,w as $e,ip as be}from"./index-
|
|
1
|
+
import{e as E,h as re,_ as ne,O as L,V as i,a_ as le,m as p,ij as de,iB as pe,o as t,a as z,b as W,x as m,d as $,M as b,iC as ce,ik as he,bH as ge,f as s,iD as xe,aV as me,cn as we,l as ue,w as $e,ip as be}from"./index-bPu7mlA1.js";import{a as g}from"./sentry-uXR4_KRo.js";import{n as o,c as A}from"./mui-CvPZa6D0.js";import{F4 as ye}from"./zeni-epic-state-BDdTNPzg.js";import{t as fe,n as je,i as ve,a as Se,l as Ce,r as ke,A as Te}from"./add-to-wallet-DgdBD8_G-DSVHJQZ8.js";import"./pdf-LR9rRMEe.js";import"./core-DuCBl3U1.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.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]="027add54-4c7e-420d-9b35-e8ab73ae8f24",e._sentryDebugIdIdentifier="sentry-dbid-027add54-4c7e-420d-9b35-e8ab73ae8f24")}catch{}})();const Ie=({options:e,selected:a,onToggle:h,containerStyle:n={},optionStyle:f={},thumbStyle:C={}})=>{const w=e.findIndex(l=>l.id===a),u=100/e.length;return i.jsxs(ze,{style:n,children:[i.jsx(We,{style:{width:u-1+"%",...w===0?{left:"1%"}:w===e.length-1?{left:(e.length-1)*u+"%"}:{left:w*u+"%"},...C}}),e.map(l=>i.jsx(Ae,{style:f,active:l.id===a,"data-testid":l.dataTestId,onClick:j=>{j.preventDefault(),h(l.id)},children:l.label},l.id))]})},ze=o.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
width: 100%;
|
|
4
4
|
background: ${e=>e.theme.colors.grey3};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as e}from"./pdf-
|
|
1
|
+
import{j as e}from"./pdf-LR9rRMEe.js";import{A as s}from"./AddressScreen-7cFlirZg.js";import i from"./NotFoundScreen-CJqSMVfb.js";import"./sentry-uXR4_KRo.js";import{R as a,m as r}from"./core-DuCBl3U1.js";import"./zeni-epic-state-BDdTNPzg.js";import"./index-bPu7mlA1.js";import"./mui-CvPZa6D0.js";import"./recharts-7AyWv7E-.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="7ac0a9a3-44b6-4a4f-a315-142e9081120e",t._sentryDebugIdIdentifier="sentry-dbid-7ac0a9a3-44b6-4a4f-a315-142e9081120e")}catch{}})();function D(){return e.jsxs(a,{children:[e.jsx(r,{path:"/edit/:addressType/:addressId",element:e.jsx(s,{})}),e.jsx(r,{path:"/new/:addressType",element:e.jsx(s,{})}),e.jsx(r,{path:"*",element:e.jsx(i,{})})]})}export{D as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as d}from"./pdf-
|
|
1
|
+
import{j as d}from"./pdf-LR9rRMEe.js";import{a as b}from"./sentry-uXR4_KRo.js";import{j as P,i as j,h as _,l as E,u as M,k as D}from"./core-DuCBl3U1.js";import{e as B,y as L,js as $,_ as H,jQ as K,bk as R,jz as C,J as m,jL as z,jD as h,jM as U}from"./index-bPu7mlA1.js";import{HR as k,eq as q,ct as F,HS as G,bE as N,HT as O,hr as V}from"./zeni-epic-state-BDdTNPzg.js";import{n as J}from"./mui-CvPZa6D0.js";import Q from"./NotFoundScreen-CJqSMVfb.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]="1cf28a44-30b4-4cc4-b8d0-26532b4968e6",e._sentryDebugIdIdentifier="sentry-dbid-1cf28a44-30b4-4cc4-b8d0-26532b4968e6")}catch{}})();const W=J.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
height: 100vh;
|
|
4
4
|
width: 100%;
|
package/dist/assets/{AgingReportsPage-BK3PXwnr-D17kQP-y.js → AgingReportsPage-XIzuLRE4-Ci3KQGlf.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{y as
|
|
1
|
+
import{y as V,e as z,V as t,bd as je,hr as ve,a$ as ke,a_ as Pe,x as M,E as G,O as C,o as $,ab as Be,m as d,a5 as ne,bJ as Ie,bK as Me,bL as $e,l as Ae,bH as Ye,an as ce,S as de,ad as ge}from"./index-bPu7mlA1.js";import{a as y}from"./sentry-uXR4_KRo.js";import{n as x}from"./mui-CvPZa6D0.js";import{bs as W,Gm as ze}from"./zeni-epic-state-BDdTNPzg.js";import{m as Le}from"./BusyIndication-BLGcHlgu-d1oE1KKV.js";import{h as Ee,g as Fe}from"./ZeniDatePicker-EhzRlpFY-Bagds5F3.js";import{n as K}from"./getReferrerType-DjPOy76W-BckJ1MnT.js";import{L as Re,k as Te}from"./ArAgingChart-ZwWwEBJ3-CYvKQAY1.js";import{C as pe}from"./NoDataChart-DCTRXLc7-C1K6noeS.js";import{n as me,t as T}from"./CollapsableReportTable-CIaa7SIH-BTOs1ROa.js";import{d as he}from"./NoDataTable-D8Xw5pAY-C0LyDZgH.js";import{l as ue}from"./mapSpacerToTreeNode-Bj3f2irs-Ngbliu4M.js";import{l as Ke}from"./agingReportHelper-ovKP-qSS-CbeRQDiP.js";import"./pdf-LR9rRMEe.js";import"./core-DuCBl3U1.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.js";import"./chartTypes-BLsP7rGF-Cjsgj_un.js";import"./AccountRow-DEtntSrL-CJ0B8bgS.js";import"./clock-CJkylEKt-CTyWvBpx.js";import"./graphic-no-data-l-DU4J8fDt-Gma2xMWq.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]="3029afb6-c8a1-49eb-8d07-a2b041a8a52f",e._sentryDebugIdIdentifier="sentry-dbid-3029afb6-c8a1-49eb-8d07-a2b041a8a52f")}catch{}})();const He={chartHeight:new M(288,360)},fe=x.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
`,ye=x.div`
|
|
4
4
|
display: flex;
|
|
@@ -6,17 +6,17 @@ import{y as Q,e as z,V as t,bd as je,hr as ve,a$ as ke,a_ as Pe,x as M,E as G,O
|
|
|
6
6
|
flex-direction: column;
|
|
7
7
|
height: ${e=>He.chartHeight.valuePx(e.windowSize)};
|
|
8
8
|
padding-bottom: ${$.sp6};
|
|
9
|
-
`;function Ue({report:e}){return e.reportId==="accounts_payable_aging"?t.jsx(qe,{report:e}):t.jsx(Ge,{report:e})}function qe({report:e}){const a=z();return e.agingBalances.length===0?t.jsx(fe,{children:t.jsx(pe,{title:
|
|
9
|
+
`;function Ue({report:e}){return e.reportId==="accounts_payable_aging"?t.jsx(qe,{report:e}):t.jsx(Ge,{report:e})}function qe({report:e}){const a=z();return e.agingBalances.length===0?t.jsx(fe,{children:t.jsx(pe,{title:C.getLocalizedStrings().chartCard.no_data_available})}):t.jsx(ye,{windowSize:a,children:t.jsx(ce,{children:({height:o,width:r})=>t.jsx(Re,{isDetailPage:!0,report:e,width:r,height:o})})})}function Ge({report:e}){const a=z();return e.agingBalances.length===0?t.jsx(fe,{children:t.jsx(pe,{title:C.getLocalizedStrings().chartCard.no_data_available})}):t.jsx(ye,{windowSize:a,children:t.jsx(ce,{children:({height:o,width:r})=>t.jsx(Te,{isDetailPage:!0,report:e,width:r,height:o})})})}function we({agingBalances:e,numOfBalances:a,title:o,isLastNode:r,config:s,parentNodeIDs:i,ancestorMetadata:m}){const l=T("aging_report_row",[],o),n={children:[],id:l,isLastNode:r,reportElementData:{element:{kind:"aging_report_row",title:o,data:e,numOfBalances:a,metadata:m},config:s}},u=e.children.map((c,g)=>we({agingBalances:c,numOfBalances:a,title:c.customer.name,config:s,isLastNode:g===e.children.length-1,parentNodeIDs:[...i,l],ancestorMetadata:{vendorOrCustomerAncestorMetadata:[...m.vendorOrCustomerAncestorMetadata,{depth:c.id.length-1,hasSibling:e.children.length>1,hasChildren:c.children.length>0,isLastNode:g===e.children.length-1,name:c.customer.name}]}}));return n.children.push(...u),e.children.length>0&&n.children.push(function({nestedCustomer:c,numOfBalances:g,title:p,config:b,parentNodeIDs:j,ancestorMetadata:w}){return{children:[],id:T("ac_subentity_total",j),isLastNode:!1,reportElementData:{element:{kind:"ac_subentity_total",title:p,data:c,numOfBalances:g,metadata:w},config:b}}}({config:s,nestedCustomer:e,numOfBalances:a,title:e.customer.name,parentNodeIDs:i,ancestorMetadata:m})),n}function X({agingPeriods:e,config:a,nodeId:o}){return{children:[],id:o??T("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:a}}}function xe({title:e,balances:a,config:o,numOfBalances:r,nodeId:s}){return{children:[],id:s??T("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:e,numOfBalances:r,data:a},config:o}}}const We=(e,a,o=!0)=>{const{agingPeriods:r,totalBalances:s,agingBalances:i}=e,m=r.length,l=X({agingPeriods:r,config:a}),n=[];n.push(l);const u=i.map((g,p)=>function({agingBalances:b,numOfBalances:j,title:w,isLastNode:L,config:_}){return{children:[],id:T("aging_report_row",[],w),isLastNode:L,reportElementData:{element:{kind:"aging_report_row",title:w,data:b,numOfBalances:j},config:_}}}({agingBalances:g,title:g.vendor.name,numOfBalances:m,isLastNode:p===i.length-1,config:a}));n.push(...u);const c=xe({title:C.getLocalizedStrings().chartCard.total,balances:s,config:a,numOfBalances:m});return n.push(c),[...Array(1)].forEach((g,p)=>{n.push(ue({title:`${p}+${C.getLocalizedStrings().common.loading}`,balances:[],config:a}))}),{config:a,headerNodes:o?[l]:[],contentNodes:n}};function be(e,a,o,r=!0){Object.assign(e.config,a);const{agingPeriods:s}=o,i=X({agingPeriods:s,config:a});return{config:a,headerNodes:r?[i]:[],contentNodes:[i,...e.contentNodes.slice(1)]}}const Y={contentPaddingLeft:new M(d[0],d[0],d[0]),contentPaddingRight:new M(d[3],d[3],d[8]),wrapperPadding:new M(d[3],d[3],d[8])},H=x.div`
|
|
10
10
|
display: flex;
|
|
11
11
|
position: sticky;
|
|
12
12
|
justify-content: center;
|
|
13
13
|
padding-top: ${e=>Y.wrapperPadding.valuePx(e.windowSize)};
|
|
14
14
|
padding-left: ${e=>Y.wrapperPadding.valuePx(e.windowSize)};
|
|
15
15
|
background-color: ${e=>e.theme.colors.grey4};
|
|
16
|
-
`,
|
|
16
|
+
`,Se=x.div`
|
|
17
17
|
width: 100%;
|
|
18
18
|
height: calc(100vh - ${$.sp11});
|
|
19
|
-
`;function Je({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:r}){return e.reportId==="accounts_payable_aging"?t.jsx(
|
|
19
|
+
`;function Je({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:r}){return e.reportId==="accounts_payable_aging"?t.jsx(Qe,{report:e,onSortOrderChange:a,onEntityNameClick:o}):t.jsx(Ve,{report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:r})}function Qe({report:e,onSortOrderChange:a,onEntityNameClick:o}){const[r,s]=y.useState(void 0),[i,m]=y.useState(void 0),l=z(),n=V(),u=!(l==="small"||l==="medium-compact"),c=y.useCallback((g,p)=>{a(g,p)},[a]);return y.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.apAgingUIState.sortKey,sortOrder:e.apAgingUIState.sortOrder,onSortOrderChanged:c,onEntityNameClick:o}};if(i!=null&&de(r,e)){const p=be(i,g,e,u);m(p)}else{const p=We(e,g,u);s(e),m(p)}},[e,c]),e.agingBalances.length===0?t.jsx(H,{windowSize:l,children:t.jsx(he,{})}):i!=null?t.jsx(H,{windowSize:l,children:t.jsx(Se,{numOfRows:e.agingBalances.length,children:t.jsx(me,{backgroundColor:new ge(n.colors.grey4),rootNodes:i,type:"name+balances_actual",isSticky:{isStickyHeader:u,isStickyName:u},treeNodePadding:{left:Y.contentPaddingLeft.value(l),right:Y.contentPaddingRight.value(l)},nodeOpenStatus:{},compareMode:"compare_mode_amount"})})}):null}function Ve({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:r}){const[s,i]=y.useState(void 0),[m,l]=y.useState(void 0),n=z(),u=V(),c=!(n==="small"||n==="medium-compact"),g=y.useCallback((p,b)=>{a(p,b)},[a]);return y.useEffect(()=>{const p={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:g,onEntityNameClick:o}};if(m!=null&&de(s,e)){const b=be(m,p,e,c);l(b)}else{const b=((j,w,L=!0)=>{const{agingPeriods:_,totalBalances:U,agingBalances:h}=j,N=_.length,v=X({agingPeriods:_,config:w}),D=[];D.push(v);const E=h.map((k,P)=>we({agingBalances:k,title:k.customer.name,numOfBalances:N,isLastNode:P===h.length-1,config:w,parentNodeIDs:[],ancestorMetadata:{vendorOrCustomerAncestorMetadata:[{depth:0,hasSibling:h.length>1,hasChildren:k.children.length>0,isLastNode:P===h.length-1}]}}));D.push(...E);const S=xe({title:C.getLocalizedStrings().chartCard.total,balances:U,config:w,numOfBalances:N});return D.push(S),[...Array(1)].forEach((k,P)=>{D.push(ue({title:`${P}+${C.getLocalizedStrings().common.loading}`,balances:[],config:w}))}),{config:w,headerNodes:L?[v]:[],contentNodes:D}})(e,p,c);i(e),l(b)}},[e,g]),e.agingBalances.length===0?t.jsx(H,{windowSize:n,children:t.jsx(he,{})}):m!=null?t.jsx(H,{windowSize:n,children:t.jsx(Se,{numOfRows:e.agingBalances.length,children:t.jsx(me,{backgroundColor:new ge(u.colors.grey4),rootNodes:m,type:"name+balances_actual",isSticky:{isStickyHeader:c,isStickyName:c},treeNodePadding:{left:Y.contentPaddingLeft.value(n),right:Y.contentPaddingRight.value(n)},nodeOpenStatus:e.arAgingUIState.nodeCollapseState,onNodeCollapseToggled:r,compareMode:"compare_mode_amount"})})}):null}const Xe={summaryColumnGap:new M(d[2],d[1],d[1],d[2],d[6])},Ze=x.div`
|
|
20
20
|
display: flex;
|
|
21
21
|
width: 100%;
|
|
22
22
|
justify-content: space-between;
|
|
@@ -34,7 +34,7 @@ import{y as Q,e as z,V as t,bd as je,hr as ve,a$ as ke,a_ as Pe,x as M,E as G,O
|
|
|
34
34
|
width: fit-content;
|
|
35
35
|
`,se=x(Ye)`
|
|
36
36
|
color: ${e=>e.theme.colors.primary};
|
|
37
|
-
`;function et({totalBalances:e,reportId:a}){const o=y.useMemo(()=>Ke(e),[e]),r=z();return t.jsxs(Ze,{windowSize:r,children:[e.map(s=>{const{period:i}=s;return t.jsxs(re,{children:[t.jsx(ie,{children:
|
|
37
|
+
`;function et({totalBalances:e,reportId:a}){const o=y.useMemo(()=>Ke(e),[e]),r=z();return t.jsxs(Ze,{windowSize:r,children:[e.map(s=>{const{period:i}=s;return t.jsxs(re,{children:[t.jsx(ie,{children:C.getLocalizedStrings().reports.aging.duration[i]}),t.jsx(se,{children:ne("0,0",s?.balance)})]},i)}),t.jsxs(re,{children:[t.jsx(ie,{children:a==="accounts_payable_aging"?C.getLocalizedStrings().reports.aging.apAging.totalPayable:C.getLocalizedStrings().reports.aging.arAging.totalReceivable}),t.jsx(se,{children:ne("0,0",o?.balance)})]})]})}const Q={wrapperPadding:new M(d[3],d[3],d[8]),navbarMarginBottom:new M(d[7],d[4])},{download:J,dateFormat:I,reports:{common:tt,aging:R}}=C.getLocalizedStrings();function Yt(e){const a=V(),[o,r]=y.useState(!1),s=z(),{report:i,uiState:m,downloadParams:l,analytics:n,onSelectedDateChanged:u,onBackClick:c,onSearchTextChange:g,onReloadReport:p,onSortOrderChange:b,onEntityNameClick:j,updateDownloadStateHandler:w,onNodeCollapseToggled:L}=e,{fetchState:_,reportTitle:U,reportId:h}=i,{searchString:N,downloadState:v,sortKey:D,sortOrder:E,selectedDate:S,agingDateSelectionType:k}=m,{authParams:P,downloadEndPoint:Z,timezone:ee}=l,te=y.useCallback((f,O)=>{const B=le(O);u(f,B),n.trackAgingReportDateChange(K(h),S!=null?S.format(I.analytics.YYYYDashMMDashDDFormat):W().format(I.analytics.YYYYDashMMDashDDFormat),f.format(I.analytics.YYYYDashMMDashDDFormat),B)},[n,u,h,S]),ae=y.useCallback(f=>{const O=Ee({options:R.preComputedDurationOptions.map(({label:F,value:q})=>({label:F,value:ze(q)})).filter(({value:F})=>F!=null),selectedDate:f}),B=le(O);u(f,B),n.trackAgingReportDateChange(K(h),S!=null?S.format(I.analytics.YYYYDashMMDashDDFormat):W().format(I.analytics.YYYYDashMMDashDDFormat),f.format(I.analytics.YYYYDashMMDashDDFormat),B)},[n,u,h,S]),Ce=y.useCallback((f,O)=>{b(f,O),n.trackAgingReportSortChange(K(h),O,f)},[n,b,h]),_e=y.useCallback(()=>t.jsx(Fe,{maxDate:W(),selectedDate:{date:S},precomputedOptionsProperties:{preComputedOptionSelected:ct(k),preComputedOptionDateFormat:I.visual.MMMDCommaYYYYformat,preComputedOptions:R.preComputedDurationOptions,onPreComputedOptionSelected:te},onSelectedDateChanged:ae}),[S,te,ae,k]);if(y.useEffect(()=>{o&&v!=="In-Progress"&&(r(!1),w("In-Progress"),async function(){const f={companyName:l.companyName,searchString:N,sortKey:D,sortOrder:E,statementFileType:"excel",timezone:ee,reportId:h==="accounts_receivable_aging"?"accounts_receivable_aging":"accounts_payable_aging",reportDate:S};await async function(O,B,F){const q=`${O}?query=${encodeURIComponent(JSON.stringify(at(F)))}`,oe=R.arAging;try{const A=await Ie({urlEndPoint:q,authParams:B,fileType:"excel"});if(A.ok){const Ne=Me(A.headers,J.defaultFileName),Oe=await A.arrayBuffer();$e(Oe,Ne)}else console.error(`${J.errorMessages.fileDownloadError.replace("__feature__",oe.arAging)} ${A.statusText}`)}catch(A){console.error(`${J.errorMessages.fileDownloadError.replace("__feature__",oe.arAging)} ${JSON.stringify(A)}`)}}(Z,P,f),w("Completed"),n.trackAgingReportDownloadClick(K(h),D,E)}())},[P,Z,l.companyName,v,o,h,N,D,E,w,S,n,ee]),_==="Error")return t.jsxs(ot,{children:[t.jsx(nt,{onClick:p,children:t.jsx(je,{})}),t.jsx(rt,{children:tt.failed})]});const De=t.jsxs(t.Fragment,{children:[t.jsx(ve,{isSearchOpen:(N?.length??0)>0,searchPlaceHolder:h==="accounts_payable_aging"?R.apAging.searchPlaceholder:R.arAging.searchPlaceholder,searchText:N??"",onSearchTextChanged:f=>{g(f)},downloadPresent:!0}),t.jsx(ke,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:v==="In-Progress"}],onDownloadClick:async f=>{if(f==="excel"){if(v==="In-Progress")return void console.log("Download is already in progress!");r(!0)}}}}})]});return t.jsxs(it,{children:[t.jsx(Pe,{title:U,subTitle:_e(),backgroundColor:a.colors.grey5,onBackClick:c,rightSideComponent:De,downloadPresent:!0,style:{marginBottom:Q.navbarMarginBottom.valuePx(s)},source:"AgingReportsPage"}),t.jsx(G,{controller:_==="In-Progress"||_==="Not-Started",children:t.jsx(Le,{fetchState:_})}),t.jsxs(G,{controller:_==="Completed",children:[t.jsx(G,{controller:N.length===0,children:t.jsxs(lt,{windowSize:s,children:[t.jsx(st,{children:t.jsx(et,{reportId:h==="accounts_payable_aging"?"accounts_payable_aging":"accounts_receivable_aging",totalBalances:i.totalBalances})}),t.jsx(Ue,{report:i})]})}),t.jsx(Je,{report:i,onSortOrderChange:Ce,onEntityNameClick:j,onNodeCollapseToggled:L})]})]})}function at(e){return{statement_file_type:e.statementFileType,search_string:e.searchString,report_id:e.reportId,company_name:e.companyName,locale_id:C.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,report_date:e.reportDate,timezone:e.timezone}}const ot=x.div`
|
|
38
38
|
display: flex;
|
|
39
39
|
width: 100%;
|
|
40
40
|
height: calc(100% - 60px);
|
|
@@ -74,6 +74,6 @@ import{y as Q,e as z,V as t,bd as je,hr as ve,a$ as ke,a_ as Pe,x as M,E as G,O
|
|
|
74
74
|
position: relative;
|
|
75
75
|
box-shadow: ${e=>`2px 2px ${$.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
76
76
|
background-color: ${e=>e.theme.colors.grey5};
|
|
77
|
-
padding-left: ${e=>
|
|
78
|
-
padding-right: ${e=>
|
|
79
|
-
`,
|
|
77
|
+
padding-left: ${e=>Q.wrapperPadding.valuePx(e.windowSize)};
|
|
78
|
+
padding-right: ${e=>Q.wrapperPadding.valuePx(e.windowSize)};
|
|
79
|
+
`,ct=e=>{switch(e){case"last_month":return"month";case"last_quarter":return"quarter";default:return}},le=e=>e==="month"?"last_month":e==="quarter"?"last_quarter":"custom_date";export{Yt as default,at as toDownloadAgingReportOptionsPayload};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as S}from"./pdf-
|
|
1
|
+
import{j as S}from"./pdf-LR9rRMEe.js";import{a as r}from"./sentry-uXR4_KRo.js";import{i as ee,j as te,h as se,u as U,l as ae,k as ne}from"./core-DuCBl3U1.js";import{mm as oe,js as ie,e as re,mn as le,mo as ue,mp as $,bk as ce,jz as P,I as B,mq as de,mr as me,J as pe,k9 as he,ms as fe,k4 as Se,jO as ge,jM as Ce,mt as ke,mu as be}from"./index-bPu7mlA1.js";import{cM as N,ct as we,eS as Ie,Ok as Ee,d1 as ye,f0 as Te,eY as _e,dd as Pe,d7 as ve,c_ as xe,d4 as R,d8 as Oe,d9 as Qe,da as Ae,db as Me,dc as je}from"./zeni-epic-state-BDdTNPzg.js";import{D as Fe,n as v,P as Le,S as De}from"./mui-CvPZa6D0.js";import{p as Ue}from"./pathToGoBack-BdyVSZWc.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new a.Error().stack;i&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[i]="211d4598-33e3-4371-bdfd-b8e680efd310",a._sentryDebugIdIdentifier="sentry-dbid-211d4598-33e3-4371-bdfd-b8e680efd310")}catch{}})();const q="chat-response-generated",Be=ne(function(a,i){const n=N(a),d=i.isSubmitting;return{showSampleQuestions:i.sessionFromUrl==="explore"&&n.uiState.currentChatSessionId==null,aiCfoView:n,isSubmitting:d,isNewChatSession:i.sessionFromUrl==="new_chat"||i.sessionFromUrl==="explore",isFullView:!0,tableDownloadEndPoint:`${Se}/tableDownload`,emailLinkQuestion:i.emailLinkQuestion,autoSubmitEmailLinkQuestion:i.autoSubmitEmailLinkQuestion,onEmailLinkQuestionProcessed:i.onEmailLinkQuestionProcessed,isFileUploadEnabled:i.isFileUploadEnabled}},function(a,i){const{location:n,currentTenant:d,userId:u,navigate:p,currentChatSessionId:h,allSessionsWithOrderedQuestionAnswers:g}=i;return{onEventReceived:(e,o)=>{if(e===q&&typeof o.text=="string"&&typeof o.metadata=="object"){const t=o,m=Qe(t.type),c=t.metadata.chat_session_id??null,{currentChatSession:s,currentQuestionAnswer:C,currentQuestionAnswerSummary:f}=$(g,c);m!=="answer"?P.trackAICFOChatResponseGenerated(m,C?.question.questionText??"",t.text,c,be(f,s),t.metadata.message_id??null):P.trackAICFOChatAnswerGenerated(t.text,C?.question.questionText??"",(t.follow_up_questions?.length??0)>0,!!t.assumptions,!!t.insights,t.visualization!=null,Ae(t.visualization?.type??"")??null,c,t.summarized_title,t.metadata.message_id??null),a(Me({chatSessionId:t.metadata.chat_session_id,responseType:m,fetchState:{fetchState:"Completed",error:void 0}})),a(je({chatSessionId:t.metadata.chat_session_id,answerPayload:t,userId:u}))}},onSubmit:(e,o,t,m)=>{e&&ke(a,e,o,h,g,u,m,t)},updateCurrentInput:e=>{a(R(e))},onStopSubmit:()=>{},onUpdateScrollYOffset:e=>{a(Oe(e))},onSelectSampleQuestion:()=>{},onBackClick:()=>{p(-1)},onCloseClick:()=>{const e=Ce(n.state?.pathnameStackToGoBack),o=e.poppedPathname??Ue(1);p(o,{state:{...n.state,pathnameStackToGoBack:e.newStack}}),a(R(""))},togglePageView:()=>{p(`/${d.tenantEmailDomain}/dashboard`,{state:{...n.state,message:"open_ai_cfo_drawer"}})},onCopy:()=>{},onThumbsUp:()=>{},onThumbsDown:()=>{},onTogglePageView:()=>{p(-1)},onNewChatClick:()=>{h!=null&&a(xe());const e=ge(n.state?.pathnameStackToGoBack,n.pathname);p(`/${d.tenantEmailDomain}/ai-cfo/new_chat`,{state:{pathnameStackToGoBack:e.slice(0,-1),referrer:"Sidebar"}})},onToggleCotCollapsed:(e,o)=>{a(ve({questionAnswerId:e,isCollapsed:o}))},onMenuClick:i.onMenuClick}})(he(fe)),at=({setIsAiCfoOpen:a,isFileUploadEnabled:i})=>{const n=ee(),d=te(),u=se(),[p,h]=r.useState(!1),{customPageTitle:g}=oe(),e=U(l=>N(l)),o=ie.getSignedInUser(),{session_id:t}=ae(),m=re(),c=U(l=>we(l)),s=e.uiState.currentChatSessionId,C=le({currentTenant:c,currentChatSessionId:s,aiCfoView:e}),f=u.state,k=f?.aiCfoInitialQuestion,x=!!f?.aiCfoShouldSubmit,[G,I]=r.useState(null),[V,E]=r.useState(!1),O=r.useRef(!1);r.useEffect(()=>{O.current||k==null||k===""||(I(k),E(x),O.current=!0)},[k,x]);const z=r.useCallback(()=>{I(null),E(!1)},[]),Q=r.useMemo(()=>new URLSearchParams(u.search),[u.search]),A=Q.get("ref")??f?.aiCfoRef,y=Q.get("emailRefId")??f?.aiCfoEmailRefId,M=r.useRef(!1);r.useEffect(()=>{M.current||A!=="month-end-email"||y==null||s!=null||o==null||(n(Ie("controller",o.userId,y,"MONTH_END_EMAIL")),M.current=!0)},[A,y,s,n,o]);const b=e.uiState.lastContextMessage;r.useEffect(()=>{b!=null&&b!==""&&s!=null&&(I(b),E(!0),n(Ee()))},[b,s,n]);const W=c.masterTOSInfo,w=W?.isMasterTOSAccepted??!1,{visitedSessions:j}=ue(s),T=e.fetchState,_=e.uiState.chatSessionsNextPageToken.hasMore||!e.uiState.chatSessionsFirstPageFetched,F=s!=null?e.fetchChatSessionHistoryByChatSessionId?.[s]?.fetchState??"Not-Started":"Not-Started",L=s==null||(e.uiState.chatHistoryNextPageToken[s]?.hasMore??!0),D=e.allSessionsWithOrderedQuestionAnswers,{currentSessionQuestionAnswers:H}=$(D,s),J=H.length===0;r.useEffect(()=>{w||d("../dashboard",{state:{...u.state,message:"open_ai_cfo_drawer"}})},[w]),r.useEffect(()=>{s!=null&&t!==s&&d(`../ai-cfo/${s}`,{state:{...u.state}})},[s,t]),r.useEffect(()=>{t!=null&&s==null&&t!=="new_chat"&&t!=="explore"&&n(ye({sessionId:t,agentId:"controller"}))},[]);const Y=r.useMemo(()=>({events:j.map(l=>`private-chat-${l}.${q}`),eventCallback:(l,X,Z)=>Z.onEventReceived(l,X)}),[j]);if(r.useEffect(()=>{T!=="In-Progress"&&_&&n(Te())},[T,_,n]),r.useEffect(()=>{s!=null&&F!=="In-Progress"&&L&&o!=null&&T==="Completed"&&!_&&n(_e(s,o.userId))},[F,L,s,o,n]),o==null||t==null)throw Error("Can't access AI Controller page without signing in...");const K=s!=null&&e.responseStateByChatSessionId?.[s]?.answer?.fetchState==="In-Progress";return S.jsxs($e,{children:[S.jsx(ce,{analytics:P,onLoad:l=>l.trackPageLoaded(pe.Event.aiCFOPage)}),B(m)&&C.drawerElement,S.jsx(Be,{...Y,currentChatSessionId:s,allSessionsWithOrderedQuestionAnswers:D,openOnboardingPage:()=>h(!0),userId:o.userId,setIsAiCfoOpen:a,navigate:d,sessionFromUrl:t,location:u,isSubmitting:K,isEmptyChatWithSession:J,customPageTitle:g,currentTenant:c,emailLinkQuestion:G??void 0,autoSubmitEmailLinkQuestion:V,onEmailLinkQuestionProcessed:z,onMenuClick:B(m)?C.open:void 0,isFileUploadEnabled:i}),S.jsx(Fe,{anchor:"right",open:p,transitionDuration:250,PaperProps:{component:Ne,style:{width:`${de}vw`}},slotProps:{backdrop:{style:{backgroundColor:"transparent",cursor:"pointer"}}},onClose:()=>h(!1),children:S.jsx(Re,{onClick:l=>l.stopPropagation(),children:S.jsx(me,{isTOSAccepted:w,acceptMasterTOSState:e.masterTOSAcceptanceState,customPageTitle:g,onCloseClick:()=>h(!1),onCompleteClick:()=>{w||c.userRoleId==null||n(Pe(c.userRoleId)),h(!1)}})})})]})},Re=v(De)`
|
|
2
2
|
display: flex;
|
|
3
3
|
min-height: 100%;
|
|
4
4
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{cc as Y,dP as Pe,e as _,V as i,b as I,x as T,o as l,at as de,O as A,a as se,l as ce,cq as Ce,bH as Se,m as L,bo as Oe,a1 as oe,c0 as J,fr as R,fo as ee,fp as ie,fq as me,aj as pe,ge as Te,f as ue,cp as ge,H as he,dX as Re,W as ze}from"./index-
|
|
1
|
+
import{cc as Y,dP as Pe,e as _,V as i,b as I,x as T,o as l,at as de,O as A,a as se,l as ce,cq as Ce,bH as Se,m as L,bo as Oe,a1 as oe,c0 as J,fr as R,fo as ee,fp as ie,fq as me,aj as pe,ge as Te,f as ue,cp as ge,H as he,dX as Re,W as ze}from"./index-bPu7mlA1.js";import{n as d}from"./mui-CvPZa6D0.js";import{G0 as De,bt as le}from"./zeni-epic-state-BDdTNPzg.js";import{a as G}from"./sentry-uXR4_KRo.js";import{K as xe}from"./LabeledEmailInputField-C53P9fJl-BS-n0yyf.js";import{j as fe,x as be,C as ve}from"./LabeledZeniRolesDropDownField-CQiP2rEh-DpkAVgvo.js";import{Y as $e}from"./LabeledUserSingleSelectWithSubtitlesField-CDiG37rQ-CajsyJVF.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]="ac917bf5-d52f-4fef-9080-305de29fcd9d",e._sentryDebugIdIdentifier="sentry-dbid-ac917bf5-d52f-4fef-9080-305de29fcd9d")}catch{}})();const V=(e,t)=>`${e}.${t}`,ae={largeLabelWidth:new T(120,120,160),toolTipWidth:new T(215,237)},u=A.getLocalizedStrings().peoplePage,ke=({user:e,sectionId:t,mode:o,managersList:m,classList:s,controllersList:f,customerRoleOptions:C,isBankingOnlyTenant:g,isCardsOnlyTenant:b,isEdit:N,person:h,analytics:v})=>{const $=_(),P=ae.largeLabelWidth.value($),{setValue:S}=Y(),D=oe(f),w=D.splice(0,1),U=D.reduce((a,r)=>a.concat(`${r.email},`),""),M=G.useMemo(()=>oe(J.roles),[]),p=le(e.role);return G.useEffect(()=>{(p||g||b)&&S("userItems.0.department",{allOptions:[],selectedOption:void 0}),p&&S("userItems.0.manager",{allUsers:[],selectedUser:void 0})},[p,g,b]),i.jsxs(Ne,{windowSize:$,"data-testid":I("edit-people-user-item-section"),children:[i.jsx(xe,{label:u.invitePage.email,name:V(t,"email"),registerOptions:{required:!0,value:e.email,disabled:!0},placeholder:R(u.addPlaceholderPrefix,u.invitePage.email),style:{paddingTop:l.sp2,paddingBottom:l.sp2}}),i.jsx(X,{}),o==="off"?i.jsxs(i.Fragment,{children:[i.jsx(fe,{label:{label:u.invitePage.role,width:P},style:{width:"auto"},rolesDropDownField:{name:V(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:me(e.role),allRootRole:ie(g,b)},productsByUserRole:ee(e.role,C)},registerOptions:{required:!0}}}),i.jsx(X,{}),i.jsx($e,{label:{label:u.invitePage.manager,width:P},showTooltip:!0,toolTipWidth:ae.toolTipWidth.valuePx($),tooltipTitle:i.jsx(Le,{}),userSingleSelectWithSubTitlesField:{name:V(t,"manager"),value:{allUsers:m,selectedUser:e?.managerId?e?.managerId:"no_manager"},valueToSubtitle:a=>{const r=m.findIndex(n=>n.userId===a);if(r!==-1){const n=m[r],y=s.find(k=>k.classId===n.userRole.accountingClassIDs[0]),j=[];return y!=null&&j.push(y.className),j}return[]},placeholderLabel:p?u.notApplicable:R(u.selectPlaceholderPrefix,u.invitePage.manager),registerOptions:{required:!p},showOneOffLabel:{label:"No Manager",value:"no_manager",position:"top",subtitles:[]},isDisabled:p?"disabled":void 0,isOptionDisabled:a=>a===h?.user?.userId},style:{width:"auto"},isDisabled:p?"disabled":void 0,opacity:p?.32:1}),i.jsx(X,{}),i.jsx(be,{label:{label:u.invitePage.department,width:P},singleSelectWithoutClearableField:{name:V(t,"department"),defaultValue:{allOptions:s.map(a=>({label:a.fullyQualifiedAccountingClassName??"",value:a.classId,hoverText:a.accountingClassNumber})),selectedOption:s.map(a=>({label:a.fullyQualifiedAccountingClassName??"",value:a.classId,hoverText:a.accountingClassNumber})).find(a=>a.value===e.departmentId)},placeholder:p||g||b?u.notApplicable:R(u.selectPlaceholderPrefix,u.invitePage.department),registerOptions:{required:!p||!(g||b)},isDisabled:p||g||b?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:p||g||b?"disabled":void 0,opacity:p||g||b?.32:1}),N?null:i.jsxs(Ue,{windowSize:$,children:[u.invitePage.controllerText,w[0]?i.jsxs(We,{href:`mailto:${w[0].email}?cc=${U}&subject=${encodeURIComponent(u.invitePage.emailSubject)}`,children:[i.jsx("span",{children:`${w[0].firstName} ${w[0].lastName}`}),i.jsx(pe,{className:"arrowIcon"})]}):null]})]}):i.jsx(ve,{label:{label:u.invitePage.role,width:P},zeniRolesDropDownField:{name:V(t,"role"),defaultValue:{selectedOptions:e.role,allOptions:M},registerOptions:{required:!0},placeholderLabel:R(u.selectPlaceholderPrefix,u.invitePage.role),isMulti:!0,forZeniUser:!0,onSelectionChanged:a=>{h!=null&&v?.trackRoleChanged(h.userRole.userRoles,a[0],h?.userRole.userEmail)}},style:{width:"auto"}})]})},Le=()=>A.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,Ne=d.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -43,7 +43,7 @@ import{cc as Y,dP as Pe,e as _,V as i,b as I,x as T,o as l,at as de,O as A,a as
|
|
|
43
43
|
color: ${e=>e.theme.colors.primary};
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
`,W=(e,t)=>`${e}.${t}`,re={largeLabelWidth:new T(125,140,160),toolTipWidth:new T(246,250)},c=A.getLocalizedStrings().peoplePage,Fe=({user:e,sectionId:t,mode:o,isZeniTenant:m,managersList:s,classList:
|
|
46
|
+
`,W=(e,t)=>`${e}.${t}`,re={largeLabelWidth:new T(125,140,160),toolTipWidth:new T(246,250)},c=A.getLocalizedStrings().peoplePage,Fe=({user:e,sectionId:t,mode:o,isZeniTenant:m,managersList:s,classList:f,controllersList:C,index:g,customerRoleOptions:b,isEdit:N,isBankingOnlyTenant:h,isCardsOnlyTenant:v})=>{const $=_(),{getValues:P,formState:{errors:S},setValue:D}=Y(),w=re.largeLabelWidth.value($),[U,...M]=C,p=M.map(n=>n.email).join(","),a=G.useMemo(()=>J.roles.filter(n=>!["admin","bookkeeping_admin"].includes(n.value)),[]),r=le(e.role);return G.useEffect(()=>{(r||h||v)&&D(`userItems.${g}.department`,{allOptions:[],selectedOption:void 0}),r&&D(`userItems.${g}.manager`,{allUsers:[],selectedUser:void 0})},[r,h,v]),i.jsxs(Ze,{windowSize:$,"data-testid":I("invite-people-user-item-section"),children:[i.jsx(xe,{label:c.invitePage.email,name:W(t,"email"),registerOptions:{required:!0,value:e.email,validate:{duplicate:n=>!Me(n,P("userItems"),g),notZeniMail:n=>o==="zeni_only"||m||n.map(y=>!y.match(Te)).reduce((y,j)=>y&&j)}},placeholder:R(c.addPlaceholderPrefix,c.invitePage.email),style:{paddingTop:l.sp2,paddingBottom:l.sp2},additionalInfoLabel:Ee(P("userItems"),W(t,"email"),g,o,S)}),i.jsx(Q,{}),o==="off"?i.jsxs(i.Fragment,{children:[i.jsx(fe,{label:{label:c.invitePage.role,width:w},style:{width:"auto"},rolesDropDownField:{name:W(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:me(e.role),allRootRole:ie(h,v)},productsByUserRole:ee(e.role,b)},registerOptions:{required:!0}}}),i.jsx(Q,{}),i.jsx($e,{label:{label:c.invitePage.manager,width:w},showTooltip:!0,toolTipWidth:re.toolTipWidth.valuePx($),tooltipTitle:i.jsx(_e,{}),userSingleSelectWithSubTitlesField:{name:W(t,"manager"),value:{allUsers:s,selectedUser:e.managerId},valueToSubtitle:n=>{const y=s.findIndex(j=>j.userId===n);if(y!==-1){const j=s[y],k=f.find(O=>O.classId===j.userRole.accountingClassIDs[0]),x=[];return k!=null&&x.push(k.className),x}return[]},placeholderLabel:r?c.notApplicable:R(c.selectPlaceholderPrefix,c.invitePage.manager),registerOptions:{required:!r},isDisabled:r?"disabled":void 0,showOneOffLabel:{label:"No Manager",value:"no_manager",position:"top",subtitles:[]}},style:{width:"auto",height:e.managerId==null?l.sp8:"74px",boxSizing:"border-box"},isDisabled:r?"disabled":void 0,opacity:r?.32:1}),i.jsx(Q,{}),i.jsx(be,{label:{label:c.invitePage.department,width:w},singleSelectWithoutClearableField:{name:W(t,"department"),defaultValue:{allOptions:f.map(n=>({label:n.fullyQualifiedAccountingClassName??"",value:n.classId,hoverText:n.accountingClassNumber})),selectedOption:f.map(n=>({label:n.fullyQualifiedAccountingClassName??"",value:n.classId,hoverText:n.accountingClassNumber})).find(n=>n.value===e.departmentId)},placeholder:r||h||v?c.notApplicable:R(c.selectPlaceholderPrefix,c.invitePage.department),registerOptions:{required:!r||!(h||v)},isDisabled:r||h||v?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:r||h||v?"disabled":void 0,opacity:r||h||v?.32:1}),i.jsx(Q,{}),N?null:i.jsxs(Be,{windowSize:$,isDisabled:r,children:[c.invitePage.controllerText,U?i.jsx(Ve,{firstController:[U],isInvestorBanker:r,restControllerEmailsStr:p}):null]})]}):i.jsx(ve,{label:{label:c.invitePage.role,width:w},zeniRolesDropDownField:{defaultValue:{allOptions:a,selectedOptions:e.role},name:W(t,"role"),placeholderLabel:R(c.selectPlaceholderPrefix,c.invitePage.role),registerOptions:{required:o==="zeni_only"},isMulti:!1,forZeniUser:!1},style:{width:"auto"}})]})},_e=()=>A.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,Me=(e,t,o)=>{const m=t.filter(s=>s.userIndex!==o).map(s=>s.email).flat();return m.length>0&&e.every(s=>m.includes(s))},Ze=d.div`
|
|
47
47
|
display: flex;
|
|
48
48
|
flex-direction: column;
|
|
49
49
|
background-color: ${e=>e.theme.colors.grey5};
|
|
@@ -89,10 +89,10 @@ import{cc as Y,dP as Pe,e as _,V as i,b as I,x as T,o as l,at as de,O as A,a as
|
|
|
89
89
|
color: ${e=>e.isDisabled?e.theme.colors.grey1:e.theme.colors.primary};
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
|
-
`,Ee=(e,t,o,m,s)=>{if(Re(s,t)&&s?.userItems&&s?.userItems[o]?.email)switch(s?.userItems[o]?.email.type){case"required":case"validate":return c.invitePage.defaultHelpText;case"pattern":return e[o].email.forEach(
|
|
92
|
+
`,Ee=(e,t,o,m,s)=>{if(Re(s,t)&&s?.userItems&&s?.userItems[o]?.email)switch(s?.userItems[o]?.email.type){case"required":case"validate":return c.invitePage.defaultHelpText;case"pattern":return e[o].email.forEach(f=>{if(!ze.test(f))return c.invitePage.defaultHelpText}),m==="zeni_only"?c.invitePage.otherThanZeniMailIDForZeniModeText:c.invitePage.zeniMailIDForNormalModeText;case"duplicate":return c.invitePage.emailAlreadyExist;case"notZeniMail":return c.invitePage.zeniMailIDForNormalModeText;default:return}},Ve=({isInvestorBanker:e,firstController:t,restControllerEmailsStr:o})=>{let m="";const s=t[0];return m=s?.firstName&&s?.lastName?`${s?.firstName} ${s?.lastName}`:s?.firstName?s?.firstName:s?.lastName?s?.lastName:s?.email??"",i.jsxs(qe,{isDisabled:e,href:e?void 0:`mailto:${t[0]?.email}?cc=${o}&subject=${encodeURIComponent(c.invitePage.emailSubject)}`,children:[i.jsx("span",{children:m}),i.jsx(pe,{className:"arrowIcon"})]})},Ae=e=>i.jsx(He,{style:e.style,"data-testid":I("user-item-section"),children:e.isEdit?i.jsx(ke,{...e}):i.jsx(Fe,{...e})}),He=d.div`
|
|
93
93
|
display: flex;
|
|
94
94
|
flex-direction: column;
|
|
95
|
-
`,F={buttonWidth:new T(70,70),marginBottom:new T(12,L[3]),deleteContentMarginLeft:new T(L[0],L[3]),containerPaddingTop:new T(L[0],L[3]),addUserWrapperGap:new T(L[1],L[2])},z=A.getLocalizedStrings().peoplePage,hi=({isDisabled:e,control:t,deleteConfirmationIndex:o,updateDeleteConfirmationIndex:m,style:s,sectionId:
|
|
95
|
+
`,F={buttonWidth:new T(70,70),marginBottom:new T(12,L[3]),deleteContentMarginLeft:new T(L[0],L[3]),containerPaddingTop:new T(L[0],L[3]),addUserWrapperGap:new T(L[1],L[2])},z=A.getLocalizedStrings().peoplePage,hi=({isDisabled:e,control:t,deleteConfirmationIndex:o,updateDeleteConfirmationIndex:m,style:s,sectionId:f,mode:C,isZeniTenant:g,managersList:b,classList:N,controllersList:h,customerRoleOptions:v,isBankingOnlyTenant:$,isCardsOnlyTenant:P,isEdit:S=!1,person:D,analytics:w})=>{const{getValues:U}=Y(),{append:M,remove:p}=Pe({name:f,control:t}),a=_(),r=U().userItems,n=()=>{const x=((O,K,Z,B,q,H,E)=>({userIndex:O,email:[],role:B==="zeni_only"?{allOptions:J.roles,selectedOptions:[]}:void 0,nonZeniRole:B!=="zeni_only"?{userRole:{selectedRole:void 0,allRootRole:ie(H,E)},productsByUserRole:ee([],q)}:void 0,manager:{allUsers:K,selectedUser:void 0},department:{allOptions:Z.map(te=>({label:te.className,value:te.classId})),selectedOption:void 0}}))(r.length-1+1,b,N,C,v,$,P);setTimeout(()=>M(x,{shouldFocus:!0}))},y=x=>{m(x)},j=()=>{m(-1)},k=()=>{setTimeout(()=>p(o)),m(-1)};return i.jsxs(Xe,{style:s,windowSize:a,"data-testid":I("user-items"),children:[r.length>0?r.map((x,O)=>{const K=r.length;let Z={};if(C==="zeni_only")Z={email:x.email,role:Ke(x.role.selectedOptions,S)??void 0};else{const B=x.nonZeniRole?.userRole.selectedRole,q=B!=null?(x.nonZeniRole?.productsByUserRole[B]??[]).map(E=>De(E.selectedOption?.value)).filter(E=>E!=null):[],H=q.length>0&&le(q);Z={email:x.email,role:q,managerId:H?void 0:x.manager?.selectedUser,departmentId:H?void 0:x.department?.selectedOption?.value}}return i.jsxs(Ye,{"data-testid":I("user-item",x.userIndex.toString()),children:[S?null:i.jsx(i.Fragment,{children:K>1?i.jsx(ne,{windowSize:a,children:i.jsx(Qe,{curIndex:O,isDisabled:e,deleteConfirmationIndex:o,onDeleteClick:y,onCancelClick:j,onRemoveUserItem:k})}):i.jsx(ne,{windowSize:a,children:i.jsx(ye,{children:i.jsx(Ie,{children:i.jsx(je,{windowSize:a,children:z.invitePage.user})})})})}),i.jsx(Ae,{isDisabled:e,sectionId:`${f}.${O}`,control:t,user:Z,mode:C,isZeniTenant:g,managersList:b,classList:N,controllersList:h,customerRoleOptions:v,isBankingOnlyTenant:$,isCardsOnlyTenant:P,isEdit:S,person:D,analytics:w,index:O}),o===O&&a==="small"?i.jsx(ii,{children:i.jsx(we,{onCancelClick:j,onRemoveUserItem:k})}):null]},O)}):null,S?null:i.jsxs(oi,{"data-testid":I("all-user-items-add-user-button"),windowSize:a,onClick:()=>{n?.()},children:[i.jsx(ai,{}),i.jsx(ri,{children:`${z.invitePage.add} ${z.invitePage.user}`})]})]})},Qe=({curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:m,onRemoveUserItem:s,isDisabled:f})=>{const C=_();return i.jsxs(ye,{children:[i.jsx(Ie,{children:i.jsx(je,{windowSize:C,children:`#${e+1} ${z.invitePage.user}`})}),f===void 0?i.jsx(Ge,{curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:m,onRemoveUserItem:s}):null]})},Ge=({curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:m,onRemoveUserItem:s})=>{const f=_();return i.jsx(i.Fragment,{children:f==="small"?i.jsx(i.Fragment,{children:t!==e?i.jsx(si,{"data-testid":I("delete-icon",e.toString()),onClick:()=>o(e)}):null}):i.jsx(i.Fragment,{children:t===e?i.jsx(ei,{children:i.jsx(we,{onCancelClick:m,onRemoveUserItem:s})}):i.jsx(Je,{"data-testid":I("all-user-items-delete-icon-wrapper"),className:"delete-icon-wrapper",onClick:()=>o(e),children:i.jsx(Oe,{style:{padding:"2px 5px"},enterDelay:600,title:z.invitePage.remove,placement:"left",children:i.jsx(ti,{})})})})})},we=({onCancelClick:e,onRemoveUserItem:t})=>{const o=_();return i.jsxs(i.Fragment,{children:[z.invitePage.deleteConfirmation,i.jsxs(li,{windowSize:o,"data-testid":I("delete-confirmation-wrapper"),children:[i.jsx(se,{"data-testid":I("delete-confirmation-cancel-button"),label:z.invitePage.cancel,onClick:e,style:{width:F.buttonWidth.value(o),marginRight:l.sp3},size:"small",variant:"secondary"}),i.jsx(se,{"data-testid":I("delete-confirmation-remove-button"),label:z.invitePage.remove,onClick:t,style:{width:F.buttonWidth.value(o)},size:"small",variant:"danger"})]})]})},Ke=(e,t)=>t?e:e!=null?[e]:[],Xe=d.div`
|
|
96
96
|
display: flex;
|
|
97
97
|
flex-direction: column;
|
|
98
98
|
padding-top: ${e=>F.containerPaddingTop.valuePx(e.windowSize)};
|