@zeniai/web-cockpit-ui 1.15.23-dev → 1.15.24-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-BOZmOJHO-DA9D4iJH.js → ACHDetailsPage-DsLMYxB2-DiWdTxEX.js} +3 -3
- package/dist/assets/{AIPerformancePage-ZVCJizP9-D55hw0l8.js → AIPerformancePage-Do1Jme84-DdOnxVtL.js} +45 -45
- package/dist/assets/AccountInfoPage-DBm3kSeD-C0VOOR62.js +18 -0
- package/dist/assets/{AccountInfoPageContent-D0wuuzMd-YMtVFfpn.js → AccountInfoPageContent-DLxvkpvG-BfQIWLZb.js} +23 -23
- package/dist/assets/AccountLockedInfoModal-Dbzdjjk6-DxFx-N4r.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-DbHX6rPG-BwmWp-T3.js → AccountReconDetailsDrawerPage-BMhGA2Nw-3sJH1EqF.js} +11 -11
- package/dist/assets/{AccountRow-Bk_25FCy-D03inSab.js → AccountRow-D5S7-AKx-CMAenaIW.js} +28 -28
- package/dist/assets/{AccountsPromoCardStack-DAXRwY1f-DegwS44K.js → AccountsPromoCardStack-Cq1lsoaV-ClvHGp3M.js} +27 -27
- package/dist/assets/AddAddressForCardDrawer-Cfd3TMpf-DJjbOnkw.js +6 -0
- package/dist/assets/{AddToWalletPage-CzziHgi7-j3gMOtad.js → AddToWalletPage-CEhxUk5V-D1aSu8HU.js} +32 -32
- package/dist/assets/{AgingReportsPage-Bdi3krKK-Bf-4bvXh.js → AgingReportsPage-CYrw-ffE-CLFSHLPA.js} +5 -5
- package/dist/assets/{AllUserItems-XWDuiug6-DkHHRN56.js → AllUserItems-CUPJzOon-ClzFTm8l.js} +7 -7
- package/dist/assets/{ApAgingDetailPage-CaM_AzrU-DCtFqylK.js → ApAgingDetailPage-BHfoAgPL-9OKwbRzK.js} +3 -3
- package/dist/assets/AppBasePage-BhcC9bkH-DtCArmcZ.js +71 -0
- package/dist/assets/{AppDrawerContent-DSX1364T-CNP-B7uf.js → AppDrawerContent-CxmXgxbq-C_5ysSm0.js} +5 -5
- package/dist/assets/{ApprovalRulesSettingsPage-DrjPOeyp-BrhLSwXJ.js → ApprovalRulesSettingsPage-gu0Fjo8W-B6qPc807.js} +2 -2
- package/dist/assets/{ArAgingChart-M7KUNA4G-DKIpaPUv.js → ArAgingChart-CxGoJ-eL-BTrpq4ll.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-7lby5mXn-BtLBFlEX.js → ArAgingDetailPage-CNKe5FGf-DnsMVnO9.js} +4 -4
- package/dist/assets/{AttachmentView-Bsa0u92o-BEQFOxXv.js → AttachmentView-BNb1kv2i-A0kL4eNc.js} +6 -6
- package/dist/assets/{BankAccountSection-BkOlwayA-DP864Lrq.js → BankAccountSection-nxf2HgVE-CszdswjK.js} +7 -7
- package/dist/assets/BankAccountWarningSection-b7VJzhDr-C9lI5R8O.js +51 -0
- package/dist/assets/{BankConnectionsSettingsPage-C_YytTke-B8k-pddW.js → BankConnectionsSettingsPage-Dj5RPseY-BsNJb4MV.js} +26 -26
- package/dist/assets/{BillDetailPage-DvU5_Rsp-C9dpUiI6.js → BillDetailPage-B8vxUUjs-wCDXpcbd.js} +8 -8
- package/dist/assets/BillPayApprovalRuleDetailPage-RxCSuM7j-Cm0UAXUf.js +27 -0
- package/dist/assets/{BillPayApprovalRulesPage-CA9eufjt-BNyCnVeE.js → BillPayApprovalRulesPage-qB8FSNxF-CXWPxuvt.js} +16 -16
- package/dist/assets/{BillPayPromoPage-DsXPWKAf-BqLcGJ_H.js → BillPayPromoPage-C-MLRBwj-rVTQLPGI.js} +11 -11
- package/dist/assets/{BillPaySetUpPage-CeMhzZ_3-BI9-weFw.js → BillPaySetUpPage-DUcVwFf0-BSesdKGQ.js} +4 -4
- package/dist/assets/BillingSettingsPage-Br6yvoDv-TW6U52nf.js +44 -0
- package/dist/assets/{BillsBulkReviewDrawerPage-WrR46NRa-CKI5pK1F.js → BillsBulkReviewDrawerPage-Cm2iOzT8-r_BIf6ms.js} +1 -1
- package/dist/assets/{BoxItem-C0M4PSXY-D0kSlmNN.js → BoxItem-BIGbJrpV-DWBd9dMt.js} +1 -1
- package/dist/assets/BusinessVerificationPage-orZNuqPA-7wUdhrYB.js +138 -0
- package/dist/assets/{CardNumberSubText-B4dAoYDE-B1SbTgmV.js → CardNumberSubText-lCdVj97_-CYJ5QkWc.js} +1 -1
- package/dist/assets/{CashbackDetailPage-B6xvn-y3-CO89J05d.js → CashbackDetailPage-DyqE-V7x-CRCR9nS0.js} +27 -27
- package/dist/assets/{ChargeCardDetailPage-eJJ4MEE6-BXMqrqi9.js → ChargeCardDetailPage-0a7KVsQ4-hN8gCQtG.js} +40 -40
- package/dist/assets/{ChargeCardListPage-BYI2HIjA-B0giUbEV.js → ChargeCardListPage-DZgzRmUt-Do_X95aE.js} +16 -16
- package/dist/assets/{ChargeCardListTable-DAVYmKCK-DEY8KXB2.js → ChargeCardListTable-CrPIqCYY-D8irt-gE.js} +51 -51
- package/dist/assets/{ChargeCardPaymentHistoryPage-BX5HtOxd-BV2ugIHB.js → ChargeCardPaymentHistoryPage-BenEXh0n-DNZruLon.js} +27 -27
- package/dist/assets/ChargeCardPromoPage-Dv8vSGMv-DpjOjqBE.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-DG1eKhYR-BVTvcCk1.js → ChargeCardSetupPage-BQdagLKY-25EtnZAG.js} +6 -6
- package/dist/assets/ChargeCardStatementsPage-1ntqN8-C-D2mSHxbe.js +60 -0
- package/dist/assets/{CheckDepositDrawerPage-BdacGDpy-CN6aGowb.js → CheckDepositDrawerPage-Bbe3YMhk-CO2Q4-ZB.js} +23 -23
- package/dist/assets/{CollapsableReportTable-UADp1m_8-C887iUXZ.js → CollapsableReportTable-Bjp9ufA3-Dgphs2fm.js} +84 -84
- package/dist/assets/CompanyOfficerDetailsSection-DQYR5DxB-DWkkLcmn.js +260 -0
- package/dist/assets/{CompanyPassportCard-BJN2GEVm-LlIc7P9q.js → CompanyPassportCard-B9yLuYoV-D8pOY5Pg.js} +6 -6
- package/dist/assets/CompanyPassportPage-DrNN8V93-BS2z_ZGy.js +574 -0
- package/dist/assets/{CompleteProfile-C8X8Z3C2-Bzf6-WNu.js → CompleteProfile-DlDJUF9s-CdsViPGP.js} +1 -1
- package/dist/assets/ConfettiBurst-arWK85ba-Nctx98GV.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-D4MBpZa1.js → ConstrainedInnerElement-BeIpAPjB-CUj8qilg.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-y-COpdhs-CywEWB6a.js → CreateOrEditVendorPage-C0zQBkip-U8NfTx7v.js} +13 -13
- package/dist/assets/{CreditCardPaymentDrawerPage-CntYJJ8v-CZ68p-k6.js → CreditCardPaymentDrawerPage-BonuuJrp-5J05qwGb.js} +14 -14
- package/dist/assets/{CurrencySelectField-Dn-hE2az-n1RHeHxE.js → CurrencySelectField-CcwMU19m-DhJ7GYyu.js} +3 -3
- package/dist/assets/{CustomerOnboardingActivationPage-B9MZHJVc-BxzBFrW0.js → CustomerOnboardingActivationPage-CnLIuUI_-CZ-HlIwz.js} +5 -5
- package/dist/assets/CustomerOnboardingContainerPage-_uAzzeQT-CG5sXasi.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BCe8BvQF-DaEKstx7.js → CustomerOnboardingDetailPageSkeleton-DFnaf7ny-CPvnX2LA.js} +14 -14
- package/dist/assets/CustomerOnboardingNoStepsPage-Dabc1DIn-BjBCiSR-.js +66 -0
- package/dist/assets/CustomerOnboardingPage-Dt4u_Cnq-BSCcv5Lh.js +107 -0
- package/dist/assets/CustomerOnboardingProductSuitePage-DrUE-f0H-oFUJaNSz.js +202 -0
- package/dist/assets/{Dashboard-CCV0_aCP-BoBmH13Z.js → Dashboard-Cgrcdi17-CUBT5krQ.js} +497 -478
- package/dist/assets/{DashboardReportPage-CmoH9Vrc-CzA5O7KO.js → DashboardReportPage-DbhRTdc4-CQqal3HB.js} +17 -17
- package/dist/assets/{DashboardSidebarBackgroundAnimation-hw3einS7-DUVXWx2a.js → DashboardSidebarBackgroundAnimation-C8g6lMFj-B53Xk9C1.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-DgdkYGjP-BkMVZWVv.js → DepositAccTransactionItem-D1o4IBkT-CKPRK6dd.js} +8 -8
- package/dist/assets/{DepositAccTransactionListPage-CF0WJn9M-DlPgp9dm.js → DepositAccTransactionListPage-xxNjjtT--2BN6hfkm.js} +6 -6
- package/dist/assets/{DomesticWireDetailsPage-B12tNa6e-DRCqor_l.js → DomesticWireDetailsPage-CwJaUAl--Cj9x82UD.js} +1 -1
- package/dist/assets/{DownloadOverlay-Dt9yt4Fz-OGiiWSIN.js → DownloadOverlay-DQhWlo3j-Bh86wxNB.js} +18 -18
- package/dist/assets/{DrawerPage-Clki97FA-CqA84wbo.js → DrawerPage-Cy3cU-ts-D2TKFfD6.js} +18 -18
- package/dist/assets/EditPeoplePage-XMLOGiwc-fvqHi7F-.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-CXy2ZWfZ-BrOpTSUf.js → EditReimbursementDetailPage-CPtNF3lE-CQCoSlzQ.js} +70 -70
- package/dist/assets/EntityDetailPage-CtIcsfb_-JOBkNq01.js +18 -0
- package/dist/assets/{EntitySummarySection-D_YLsP_P-CSh4l-FA.js → EntitySummarySection-DKVe_auH-CeBDnO_D.js} +11 -11
- package/dist/assets/{ExpenseAutomationOverviewPage-4z3yzHEA-ChRwE60S.js → ExpenseAutomationOverviewPage-BerWhvvC-CSjoH80E.js} +16 -16
- package/dist/assets/{ExpenseAutomationPage-BJ4H_c2z-FgmOcOvc.js → ExpenseAutomationPage-ZFDuZKVx-B83nArlS.js} +133 -133
- package/dist/assets/{ExpressPayPage-CTBD4y1v-NYjAlIxO.js → ExpressPayPage-DWGFzFY1-Cbs-ZH6I.js} +19 -19
- package/dist/assets/{FeaturePreviewPage-CYuTQWpP-Bl8VAq6v.js → FeaturePreviewPage-CTROYslk-B5_k_VjC.js} +3 -3
- package/dist/assets/{FollowStepsSection-BrpI2HyW-DNSECr6B.js → FollowStepsSection-Cdw8tftg-CoRfWAMh.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-BcvxLqIL-CD9rfA0-.js → GlobalReviewListPage-FIiMWDt4-C-FGlEih.js} +47 -47
- package/dist/assets/{InformationCardStack-CU4Moqky-Bc_PhxNK.js → InformationCardStack-DRM_CrnR-CyxIUlsK.js} +5 -5
- package/dist/assets/{InsightsCardStack-D8UQiuXZ-DRkswx9n.js → InsightsCardStack-B6KSNBOO-BsTECKaL.js} +10 -10
- package/dist/assets/{InsightsSection-C3X6ZNEt-CSaE3QjL.js → InsightsSection-CwYXRQBN-CI3Avgr4.js} +6 -6
- package/dist/assets/{IntegrationsSettingsPage-CsLv00HW-c8_zALL5.js → IntegrationsSettingsPage-VPy6IQco-D5f0_wQb.js} +12 -12
- package/dist/assets/{InternationalWireSwiftDetailsPage-DgrN5Xg7-ik2bKR2J.js → InternationalWireSwiftDetailsPage-CbztUTOk-DKKJSiFP.js} +19 -19
- package/dist/assets/InternationalWireVerificationPage-YuglosZT-hHWwb4SL.js +292 -0
- package/dist/assets/{InviteFormPage-B3KmRWXd-DZboWDF0.js → InviteFormPage-BBHD1wv7-BsXiZ5Av.js} +38 -38
- package/dist/assets/{InvitePageListView-DfpJBZru-8z8nAtFG.js → InvitePageListView-Gpf4q2HF-Cgrh3Brc.js} +33 -33
- package/dist/assets/InvitePeoplePage-C0n05Aw5-BiEQhiP1.js +12 -0
- package/dist/assets/InvoiceUploadSection-UXlA1jqD-DKu4SBzN.js +140 -0
- package/dist/assets/{IssueChargeCardPage-mPsxt52d-PfQTvSAJ.js → IssueChargeCardPage-CiL8yWbI-TIPP0zPK.js} +17 -17
- package/dist/assets/{LabeledAddressValue-C4fnQSyi-BYyUYLsR.js → LabeledAddressValue-DGEHzZ-x-CpMYU-xP.js} +2 -2
- package/dist/assets/{LabeledAddressValueField-D6dEaI69-DANZLTzI.js → LabeledAddressValueField-ClBxKhYQ-BPwdblj0.js} +2 -2
- package/dist/assets/{LabeledControlledCheckBoxField-B1QdZmvd-DW7Mu6XT.js → LabeledControlledCheckBoxField-B8sC2eqF--fXqIBCr.js} +3 -3
- package/dist/assets/{LabeledCreatableSingleSelectField-BPX2Nrlf-VQgMHUfl.js → LabeledCreatableSingleSelectField-BzOLZcSy-pPeiMm4m.js} +17 -21
- package/dist/assets/LabeledDocumentField-D520KMMj-BWBkZsyZ.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-A-rgip1E-DXyiM_iz.js → LabeledDropDownFormattedTextField-BwoAMxs1-UIy7_mYn.js} +8 -8
- package/dist/assets/{LabeledText-38fqkkE--BV0pTSSz.js → LabeledText-CYRn3LhA-DMSyV-Kr.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BbF25dUP-Bm5BEKWh.js → LabeledUserSingleSelectWithSubtitlesField-BzsLAAeQ-B2HtQzCh.js} +15 -15
- package/dist/assets/{LabeledZeniRolesDropDownField-Dg9_Ww-A-6LCZnv3_.js → LabeledZeniRolesDropDownField-UiY4N_NF-DAzbxXzi.js} +28 -28
- package/dist/assets/{LinkJETransactionPage-66mQ4nrK-Blq1QPxg.js → LinkJETransactionPage-PvLzGCy_-BrMsOKhb.js} +10 -10
- package/dist/assets/{LockCardPage-BCqN4K17-BFhQlELS.js → LockCardPage-Cv1mXAE9-9__dgVHz.js} +58 -58
- package/dist/assets/{LowBalancePopup-BPk1-eAb-DPKxi1xa.js → LowBalancePopup-go-1GM2R-DD-JSJCf.js} +5 -5
- package/dist/assets/MagicLinkACHDetailsPage-C7hjYeuM-BHqLoDUK.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Cv6pT3w6-pHplq2If.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-CfMDImmz-BFiTy8N6.js +1 -0
- package/dist/assets/MagicLinkSuccessPage-D9Xys0GC-BWFMi_8X.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-77rxhjLm-DuK-hJU3.js → MagicLinkTitleSection-CPs72o7_-B260haOm.js} +4 -4
- package/dist/assets/MailingDetailsSection-wmwBSANL-jxA64fnZ.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-z0tHaSl1-D8NpXmDe.js → MyBankConnectionsSettingsPage-Xo-zsUV_-Cbo1qVHj.js} +11 -11
- package/dist/assets/{MyPendingActivationChargeCardListPage-CwGYwufd-BhPm_tq1.js → MyPendingActivationChargeCardListPage-pMnrYxHt-D7bLZ8M3.js} +1 -1
- package/dist/assets/MyProfileSettingsPage-BKCzLBD9-DJbKBDYL.js +85 -0
- package/dist/assets/NavBarWithPicker-DFywcKz8-CSP4toa_.js +30 -0
- package/dist/assets/{NavigationArrow-NuJEpE7O-BsQF0lUP.js → NavigationArrow-BiYMk3Wz-DV9laMt6.js} +7 -7
- package/dist/assets/{NavigationDots-C7Na64B9-CHGprwD5.js → NavigationDots-CCLpxuwG-stH2nUIP.js} +3 -3
- package/dist/assets/{NewGlobalMerchantPage-Cus6zYV_-DyfxnG1c.js → NewGlobalMerchantPage-C48VzTEf-Rej0eQZY.js} +7 -7
- package/dist/assets/NoDataChart-sGr0o2BN-Bsuwo3YM.js +26 -0
- package/dist/assets/NoDataTable-0l_09Wxn-YZLcmEEn.js +8 -0
- package/dist/assets/{NotFoundPage-RjXioqc8-DMQ0F7IL.js → NotFoundPage-DFw9HBCT-CpQg4_TB.js} +6 -6
- package/dist/assets/{NotificationSettingsPage-DrDW_LU_-mWZ117zO.js → NotificationSettingsPage-D1rRNeRj-BoZjctkd.js} +33 -33
- package/dist/assets/{NotificationsListConfig-C6_ap0JT-D0MspRwp.js → NotificationsListConfig-LrfChZUx-DIWHkHKZ.js} +1 -1
- package/dist/assets/{NotificationsPage-DOM-Gf5P-BRdHJwOp.js → NotificationsPage-Cx4eb-l6-Tv8h6IrX.js} +35 -35
- package/dist/assets/{OpExByVendorPage-CTuBB827-Bbt1veu8.js → OpExByVendorPage-LpdEEb1U-C_zXpayd.js} +20 -20
- package/dist/assets/OverlayContainerPage-D4QU0p4o-DVuvwnps.js +11 -0
- package/dist/assets/{PandLWithForecastPage-BXaENYdR-DDSkVfM3.js → PandLWithForecastPage-DwaVCK2R-B3ldDrVm.js} +7 -7
- package/dist/assets/PaymentAccountSetupBillingAddressSection-CBVazVlJ-Cj6aYWOl.js +107 -0
- package/dist/assets/{PeoplePage-BlyVVthI-fFVSXzpH.js → PeoplePage-z8ZDLJp4-CzfsOL8l.js} +31 -31
- package/dist/assets/{Preview-DuIVCswF.js → Preview-CYHE6ojy.js} +1 -1
- package/dist/assets/{ProductsCarousel-CAcPH--E-BIuBBeKB.js → ProductsCarousel-Dp5Of83--DVU-QMP8.js} +6 -6
- package/dist/assets/{PromoBaseCards-BVwZMVeE-DstwmvWv.js → PromoBaseCards-Bpmi7do2-BJmFgVqa.js} +14 -14
- package/dist/assets/{QBOConnectionDialog-C3OYyhYO-5hTjd5-l.js → QBOConnectionDialog-BCOigpzW-42XztANC.js} +6 -6
- package/dist/assets/QBOSetupSection-Blf2QxYu-XsjB6fpI.js +79 -0
- package/dist/assets/ReimbursementApprovalRuleDetailPage-D4G5Zc8u-xW6pbKuW.js +32 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-Cx0gs7sS-B-krQa99.js → ReimbursementApprovalRulesPage-Cq3lTD4B-tMr-F7DV.js} +5 -5
- package/dist/assets/{ReimbursementDetailPage-Cs_rmkS8-DW1o_189.js → ReimbursementDetailPage-CxP7ZEyW-B6qTtbOy.js} +18 -18
- package/dist/assets/{ReimbursementPromoPage-CCFl0kQK-B9O9Pssf.js → ReimbursementPromoPage-tSycJK9l-Ckl5RC8p.js} +13 -13
- package/dist/assets/{ReimbursementSetUpPage-lf3xTVFh-COXeJ33g.js → ReimbursementSetUpPage-iGjNkC8E-CCqGUnkA.js} +11 -11
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-HrLSNRHq-MRocYFws.js +1 -0
- package/dist/assets/{ReloadCard-V_tv6YLR-pIKKLA9H.js → ReloadCard-CuRTghCv-1vd5kIoI.js} +5 -5
- package/dist/assets/{ReportTableViewSelector-CWEvGn8L-CcECbGsj.js → ReportTableViewSelector-C2oaqgZL-DxS4YP70.js} +29 -29
- package/dist/assets/{ReportsPage-BJOH1wgv-CXqYsJPZ.js → ReportsPage-D5DDZHox-DJ4p-I_l.js} +5 -5
- package/dist/assets/{RevenueChart-C_tSBw_N-Cwj-E2UP.js → RevenueChart-Na7paK3w-C9jLX88S.js} +15 -15
- package/dist/assets/{ReviewDetailsPage-CScPf4w3-Cz00WVXv.js → ReviewDetailsPage-BFj3ZJyp-DV2ASgwc.js} +30 -30
- package/dist/assets/{ReviewOverlay-BQVwPzKa-BxRw_iSk.js → ReviewOverlay-Cz8LqkKC-CAVeDnHw.js} +25 -25
- package/dist/assets/RoleWithToolTip-CSC65531-LXNMc-YZ.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-Cgqgn7nk-B00K9FnO.js → ScheduleDetailsFixedAssetsPage-UVIM7eda-BD3KjhgE.js} +8 -8
- package/dist/assets/ScheduleDetailsPage-_mUOLW28-DoX9vWxb.js +37 -0
- package/dist/assets/{ScheduleSequenceTable-DDhoyPGX-CcxwU9B1.js → ScheduleSequenceTable-DQlMdMO0-r5LBclLE.js} +24 -24
- package/dist/assets/{ScreenRoutes-CbhRMGYb.js → ScreenRoutes-IDjhPTpz.js} +1 -1
- package/dist/assets/{SetUpAccountSection-AVL_16HQ-CfJdXpM8.js → SetUpAccountSection-C_DCt5R8-BxiVSyFQ.js} +5 -5
- package/dist/assets/{SignIn-BLUwTp1l-Diu2Dl0P.js → SignIn-1fhq5RCV-BLtoe96T.js} +24 -24
- package/dist/assets/{SignInScreen-BAFcpgXM.js → SignInScreen-Bt9k9qpu.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-DJbNFHvP-HVPQNsga.js → SpendManagementListViewPage-Cxe5movK-Q_tVVASy.js} +8 -8
- package/dist/assets/{SpendManagementPerTabPage-J5pIRm-Q-zn5Z_C9i.js → SpendManagementPerTabPage-Dj9VrJCp-yGVPTW-t.js} +54 -54
- package/dist/assets/{SpendManagementSection-DZaP5ai6-BivazJAu.js → SpendManagementSection-DGGqh0xs-CpnXaxhL.js} +25 -25
- package/dist/assets/{StatementItem-D2Fx65LN-DEt1HHDA.js → StatementItem-ChfKUse--BISxQzB7.js} +7 -7
- package/dist/assets/{StatementsPage-BCh51lDW-DEzdN4yP.js → StatementsPage-BAg2GA58-6dBp6JN9.js} +2 -2
- package/dist/assets/{StatusSwitcher-C5ZrzI8Y-RGx-Rq5m.js → StatusSwitcher-DsSflF9D-B-QsB0QQ.js} +4 -4
- package/dist/assets/{SubTabSwitcher-BXZxKeq9-N3T4zPQn.js → SubTabSwitcher-DxUZTJB0-xCwGWu4u.js} +1 -1
- package/dist/assets/{SummaryCard-194UToy6-ZSyhRMcE.js → SummaryCard-B1mg84fd-GbF-N-vY.js} +1 -1
- package/dist/assets/{TaskManagementPage-zcxDUo0t-CfkgE02v.js → TaskManagementPage-Z40FApxJ-CMQHa1zS.js} +15 -15
- package/dist/assets/{TimeRangeSwitcher-Bsv7zQmN-0uKzxEGk.js → TimeRangeSwitcher-B4sHEx1F-C3HNMT2K.js} +11 -11
- package/dist/assets/{TimeframeSwitcher-DtxsNy1Z-Dpwd2ynA.js → TimeframeSwitcher-D8zfgEX_-Bal85V7i.js} +6 -6
- package/dist/assets/{TimeframeSwitcherWithToggle-B5bFhbvL-C0I_F7ow.js → TimeframeSwitcherWithToggle-CD1f2F9o-B2FZN44A.js} +2 -2
- package/dist/assets/{TopExCard-CBua66Cj-CBuXuQOS.js → TopExCard-BpicN73M-DINSiiqz.js} +6 -6
- package/dist/assets/{TopExDetailPage-DtMA-XMp-EMAyiYoo.js → TopExDetailPage-iw-7HulH-DXnd8BHg.js} +17 -17
- package/dist/assets/{TransactionActivityLogPage-C3BPL8hi-rjH_p-06.js → TransactionActivityLogPage-D7oH2hs_-vzUEThxA.js} +16 -16
- package/dist/assets/{TransactionDetailPage-CeKaduBe-gc3Brzcv.js → TransactionDetailPage-DLiA4XLe-BY8d6fwg.js} +28 -28
- package/dist/assets/{TransactionList-CSx8ZCZ--BfPEmkgj.js → TransactionList-CFz4Gf7Z-BRDY3-q0.js} +11 -11
- package/dist/assets/{TransactionListBig-B4cNQY2d-xUQ7gipo.js → TransactionListBig-BYHLJtlB-BgEsroqF.js} +17 -17
- package/dist/assets/TransactionListPage-BxtVNNib-CNsq76WM.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-DsxI8U5b-BIfZV2Ct.js → TransactionVendorDetailPage-CEAFUrTl-DeNvS775.js} +7 -7
- package/dist/assets/{TransferDrawerPage-C91TQwZi-B3ongtBQ.js → TransferDrawerPage-C6hdavbT-DrJHkT7i.js} +34 -34
- package/dist/assets/{TreasuryOverviewPage-BoBn_gtF-1-z_98qx.js → TreasuryOverviewPage-BP26JP5_-CP8HfxZ3.js} +47 -47
- package/dist/assets/{TreasuryPromoPage-CQ-VYEQC-DBZ3Ca-z.js → TreasuryPromoPage-DjVR20gs-wVmMwzp-.js} +131 -131
- package/dist/assets/TreasuryStatementsPage-Beixz0Ou-tCIgJGtT.js +58 -0
- package/dist/assets/{TreasuryTaxLetterPage-Cxhr51TD-DSRIuJm4.js → TreasuryTaxLetterPage-BW2fTHN--mfzNiBgO.js} +3 -3
- package/dist/assets/{TrendChart-DATgAEKG-BGhvWXdf.js → TrendChart-sup0F9JZ-BygEThKD.js} +5 -5
- package/dist/assets/{TrendWithTransactions-DqPFuOvC-Bu3TdK3s.js → TrendWithTransactions-C7azwT25-C5kNS0ZN.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-BQjXazj4-BOpLaunW.js → UncategorizedAccountsMappingPage-Etkl_fAG-DXRnm2d5.js} +9 -9
- package/dist/assets/{UnitIntegrationPage-BiRGRtpI-DxaSFD1H.js → UnitIntegrationPage-ZsJHRr7Z-BSAHu-Ly.js} +10 -10
- package/dist/assets/{UploadAdditionalDocumentOverlay-DCldWCol-B3iVz4fI.js → UploadAdditionalDocumentOverlay-Z5AuwaDQ-BUBRAJWb.js} +1 -1
- package/dist/assets/Vendor2FAPopup-BcnPzCr1-DSeMdCqS.js +1 -0
- package/dist/assets/VendorACHDetailsPage-D5SdrDy6-N4lQNnE6.js +1 -0
- package/dist/assets/{VendorDetailPage-DY4iaLtz-AjIptjjy.js → VendorDetailPage-Dnr8_eWj-07Hixr6q.js} +91 -91
- package/dist/assets/VendorDomesticWireDetailsPage-Bv2OKF0M-DAfdk4lz.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-Dep7O8Uz-Do-rxCWR.js → VendorFiling1099EditablePage-C7SK3oAX-sJjp-Qba.js} +32 -32
- package/dist/assets/{VendorFirstReviewPage-CJQIZn8g-DkET_08K.js → VendorFirstReviewPage-sMOzaFlZ-Bd_oFyDy.js} +49 -49
- package/dist/assets/{VendorInternationalWireDetailsPage-CJG5RIa2-DsTS-Uh9.js → VendorInternationalWireDetailsPage-B2c1Rev--BIjFP46u.js} +9 -9
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CRpoKTWj-B3s-WEz1.js +1 -0
- package/dist/assets/{VendorsAccountsSection-D65ewlO6-DU6ZIrZA.js → VendorsAccountsSection-Df4nOfCb-CW1ZNQaH.js} +2 -2
- package/dist/assets/{VerifyDevice-B1_jgwgY-DAz-KAtd.js → VerifyDevice-ogibIJ0s-DAh6OFj7.js} +12 -12
- package/dist/assets/{VideoPlayer-vWSXteQ6-D5qS5__p.js → VideoPlayer-C5JZyeyT-D8KcGBDj.js} +2 -2
- package/dist/assets/{VideoPopup-CdsmU6H4-Du7UVtqu.js → VideoPopup-Dw-9lQNK-0rd-UPIe.js} +2 -2
- package/dist/assets/{WarningsDrawerPage-CjgOsD00-Denf4Sio.js → WarningsDrawerPage-CR9wWm5g-e4J9Pag3.js} +11 -11
- package/dist/assets/{ZeniAccountDetailPage-DiLnoonB-DZ1tpmUL.js → ZeniAccountDetailPage-CP6XbPoi-BnZudMg6.js} +20 -20
- package/dist/assets/{ZeniAccountListViewPage-YfPsO8ls-CfUQiafE.js → ZeniAccountListViewPage-B-8rvc59-BisABJW0.js} +25 -25
- package/dist/assets/ZeniAccountNavBarPieces-D_Jdtql7-D0896al8.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-cEfW88p8-BvUDgJZp.js → ZeniAccountPromoPage-DmXuuPc3-BsixtEBb.js} +28 -28
- package/dist/assets/ZeniAccountSetupPage-CiLrh0yu-B_DH4YUU.js +36 -0
- package/dist/assets/{ZeniCopyright-BROHmszx-VivYqHvz.js → ZeniCopyright-DIzbP27w-D1bPi2Em.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DZZrrFXf-DAQs85Xb.js → ZeniTransferAmountSlider-CYZYkuN_-Bs-AxRga.js} +7 -7
- package/dist/assets/{add-to-wallet-DgdBD8_G-DBbMptVC.js → add-to-wallet-DgdBD8_G-DgwTOiTb.js} +1 -1
- package/dist/assets/{analytics-DH2FWXQR.js → analytics-BVR-nkdQ.js} +1 -1
- package/dist/assets/analyticsHelper-CeSpIREf.js +1 -0
- package/dist/assets/{analyticsHelper-FJ-cS8qS-Bs47KEMI.js → analyticsHelper-CirorDP7-BWRCY1oT.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-DzFpwdLa.js → arrow-south-east-round-PEovUgvH-DTABdjGY.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-C9AIqfs3.js → auto-transfer-rule-mbafm5D3-uZ4hnV5g.js} +1 -1
- package/dist/assets/{chartTypes-DJdbX13L-BnqLcj4-.js → chartTypes-B9iWOG3r-C4s2YMo6.js} +1 -1
- package/dist/assets/{commonDimensions-BpYNnQtf-BVrF2eSg.js → commonDimensions-SFn2jHVc-CTDxaBd-.js} +1 -1
- package/dist/assets/{constants-nz8RVtEp.js → constants-CZu969tQ.js} +1 -1
- package/dist/assets/{core-Be77t6wT.js → core-BCC1NfcO.js} +1 -1
- package/dist/assets/{dash.all.min-1JaBh8EA.js → dash.all.min-BRxR-4km.js} +1 -1
- package/dist/assets/{detailCommon-BRja9H93-BgDpKJS8.js → detailCommon-BTjqps8N-BwbXd0VD.js} +5 -5
- package/dist/assets/downloadPdf-CqjEwKR5-CVBCWVbb.js +1 -0
- package/dist/assets/{empty-DqMX1iak.js → empty-BjP_AR0Y.js} +1 -1
- package/dist/assets/{empty-CVHCqPg8.js → empty-CN6lL5vr.js} +1 -1
- package/dist/assets/epic-CYfuPaR1.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-hRxp85e2.js → gift-box-Cmt9OgIZ-jp2GTx_l.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-DdG5b35f.js → graphic-no-data-l-DU4J8fDt-CoNwe8F7.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CRLCiMSY.js → graphic-no-data-net-burn-l-CzmycA0m-Blfk9v0F.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-Ts-GBzII.js → handshake-BPg58FML-BZVWd-R4.js} +1 -1
- package/dist/assets/{index-CNJQ6T57.js → index-BJwUmr6X.js} +4654 -4680
- package/dist/assets/{index-gGz0-y9K.js → index-CDawrAV5.js} +1 -1
- package/dist/assets/{index-BIQvGH1Z.js → index-DOGKWCNR.js} +1 -1
- package/dist/assets/{index-CHDWslZ9.js → index-Dc-8bDa8.js} +1 -1
- package/dist/assets/{index-Cyi12XGG.js → index-DdlMyYMd.js} +1 -1
- package/dist/assets/{index-WLQ2kK4T.js → index-klyQo3c-.js} +1 -1
- package/dist/assets/{index-Q1D5afUf.js → index-oIMKLk8g.js} +1 -1
- package/dist/assets/{lexical-4qH-Yr6_.js → lexical-D1A0yBcv.js} +1 -1
- package/dist/assets/{liveblocks-CUDrE-0X.js → liveblocks-gc1Zpgue.js} +1 -1
- package/dist/assets/{lottie-C5G-hUN3.js → lottie-PDiRMFOU.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DkhO3K0B-BF8CClXj.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BlrJTKah-BOJoZ8nO.js → mapSectionWithAcOnlyToTreeNode-BywQAVX8-CBoe52_o.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-DvdWKHfX-D62umWzQ.js → mapSpacerToTreeNode-nn83cq1C-a5kCwrR8.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-88qIN3FA-CB8prKZU.js → mapTimeframeBalancesToTreeNode-CKjqanKd-DfEyG-Ny.js} +1 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-CmXuntuz-4PcA3DEd.js +1 -0
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-B5MDTbLz-BEBQ7_uD.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Bs8iGys9-D6oy7HtW.js} +1 -1
- package/dist/assets/{mui-DsjrNjDe.js → mui-BPiKl8lE.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F--SwzhZlk.js → page-detail-CWX5S47F-GD7pPHSX.js} +1 -1
- package/dist/assets/{panelSelectedMixin-CzfD5-Zs-Cev-MiVu.js → panelSelectedMixin-CzfD5-Zs-DK9S-4A7.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-YvmWy399.js → radio-default-CiSgisfh-BDa9leTw.js} +1 -1
- package/dist/assets/{react-eUpxlpRg.js → react-BmSXOB2V.js} +1 -1
- package/dist/assets/{react-BWkra2hE.js → react-CVwAo7aZ.js} +1 -1
- package/dist/assets/{react-CSCeF-Sb.js → react-Chs2CyCz.js} +1 -1
- package/dist/assets/{react-XG3-S5t1.js → react-Ck-O1ppd.js} +1 -1
- package/dist/assets/{react-Ci_HLnoa.js → react-DZxKpeyN.js} +2 -2
- package/dist/assets/{react-Bqp70D_u.js → react-DtUvZi19.js} +1 -1
- package/dist/assets/{react-BCXSKYRr.js → react-T0X5kbJf.js} +1 -1
- package/dist/assets/{react-DL4wn98u.js → react-kH3wqLZe.js} +2 -2
- package/dist/assets/{recharts-CmZa-egc.js → recharts-CTVVh_-r.js} +1 -1
- package/dist/assets/{sentry-9b1mvxJ5.js → sentry-Dozbf0xW.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-B8zzGKQS.js → shield-DOlUxcFf-BXU_wIp-.js} +1 -1
- package/dist/assets/toCOABalancesWithID-DvC1wuTC-B-3HfOc_.js +1 -0
- package/dist/assets/{toChartData-B3ouXKAd-thMI2fiV.js → toChartData-mAeXlYNV-B69xO8vw.js} +1 -1
- package/dist/assets/{uploadAttachment-DNNG-CMy-D87O59Xy.js → uploadAttachment-BAVcYsOo-CTVw7Tly.js} +16 -16
- package/dist/assets/uploadReceipts-Dge0cNF1-1wHJJfDu.js +1 -0
- package/dist/assets/{url-RTB-DW5V.js → url-AR2JoXnJ.js} +1 -1
- package/dist/assets/{url-BiBhYcFe.js → url-D26ZSNVT.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-CsE5mUiU.js → useLongPress-GCK2COYQ-DajesI1J.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-5m5uF-Rf.js → usp-line-BBd1wKwW-CY_8hROo.js} +1 -1
- package/dist/assets/{utils-VcZ1Xqjg.js → utils-CJtHQQTa.js} +1 -1
- package/dist/assets/{zeni-epic-state-DJX8u9R8.js → zeni-epic-state-DD2IEaUq.js} +17 -17
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/AccountInfoPage-DF6IU0EG-CK0AD-ot.js +0 -18
- package/dist/assets/AccountLockedInfoModal-Cfx-lPAZ-B55UQ1W3.js +0 -59
- package/dist/assets/AddAddressForCardDrawer-DNGQGGYg-AmBvQD8m.js +0 -6
- package/dist/assets/AppBasePage-B7_L4R6d-DSvQT3A9.js +0 -71
- package/dist/assets/BankAccountWarningSection-uMOXLH0B-ZXC_xQuj.js +0 -51
- package/dist/assets/BillPayApprovalRuleDetailPage-UeVxIxfF-CFPoQw5A.js +0 -27
- package/dist/assets/BillingSettingsPage-BygJjDSp-C0Ia6obD.js +0 -44
- package/dist/assets/BusinessVerificationPage-C63pUk4d-C1yyAjbf.js +0 -138
- package/dist/assets/ChargeCardPromoPage-DuQe7BpX-B1bYsTBb.js +0 -222
- package/dist/assets/ChargeCardStatementsPage-CvtZtuVC-BbTDMJQ9.js +0 -60
- package/dist/assets/CompanyOfficerDetailsSection-CaAR0Wvk-CmXyx64P.js +0 -331
- package/dist/assets/CompanyPassportPage-D2ALJDF_-B0BzydTg.js +0 -417
- package/dist/assets/ConfettiBurst-DxHzdDPp-BHPKFQrr.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-eR0yY2uX-CZ-wHAQI.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-BHk7rDAg-B5ZKgZir.js +0 -66
- package/dist/assets/CustomerOnboardingPage-1LvpVpHC-Cr4NP9fC.js +0 -107
- package/dist/assets/CustomerOnboardingProductSuitePage-DMYHMJXg-DeyKCfXK.js +0 -202
- package/dist/assets/EditPeoplePage-CKS_aEZm-B7Tw7FjE.js +0 -55
- package/dist/assets/EntityDetailPage-B3TQ5hCP-IVMsCeoo.js +0 -18
- package/dist/assets/InternationalWireVerificationPage-CvysJNBQ-Q67xp-Zv.js +0 -65
- package/dist/assets/InvitePeoplePage-C5Qgk24s-U6BHBwDh.js +0 -12
- package/dist/assets/InvoiceUploadSection-BO1i-e_D-S9qpWOlw.js +0 -140
- package/dist/assets/LabeledCountryMultiSelectField-XeBih_-f-O6Y-iu_1.js +0 -237
- package/dist/assets/LabeledDocumentField-Bjg8sNsg-C-PR2ZST.js +0 -41
- package/dist/assets/LabeledMultiSelectField-Di9Wnifv-CqQm8lOX.js +0 -223
- package/dist/assets/MagicLinkACHDetailsPage-DM7EUUU7-6n4CruRX.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-DKrGgFTu-DYmL1ff3.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-B3OpSWB3-BbCH3bCn.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-CphaJa4k-C1L3trsn.js +0 -31
- package/dist/assets/MailingDetailsSection-BJfZvT0b-Cqv93bBS.js +0 -21
- package/dist/assets/MyProfileSettingsPage-8yBXAre6-Bs5xqc-e.js +0 -85
- package/dist/assets/NavBarWithPicker-C3LVyiC9-QHhc6aBd.js +0 -30
- package/dist/assets/NoDataChart-B3s_7m2n-DuPBFXV2.js +0 -26
- package/dist/assets/NoDataTable-CMpypnTw-C6S_V6d0.js +0 -8
- package/dist/assets/OverlayContainerPage-D4QU0p4o-Bbmz6FH4.js +0 -11
- package/dist/assets/PaymentAccountSetupBillingAddressSection-DSnQX90O-Dx1jHuZ7.js +0 -107
- package/dist/assets/QBOSetupSection-DQjol-D0-05cxakPz.js +0 -79
- package/dist/assets/ReimbursementApprovalRuleDetailPage-llw4ONPo-DjqdHx3S.js +0 -32
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-C5MTFJLG-CJIWqV-7.js +0 -1
- package/dist/assets/RoleWithToolTip-GCV_l8Ly-GZKD9YbI.js +0 -22
- package/dist/assets/ScheduleDetailsPage-D1EJbzxN-l7ivTR2t.js +0 -37
- package/dist/assets/TransactionListPage-DHr64V-b-DDnZn40X.js +0 -35
- package/dist/assets/TreasuryStatementsPage-taTRE54D-s03VARjq.js +0 -58
- package/dist/assets/Vendor2FAPopup-BpkAiYTA-99TJd7nU.js +0 -1
- package/dist/assets/VendorACHDetailsPage-tUuZzJnN-BFUuaQ6q.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-B5Nym5J9-CpOxRXxZ.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-DZabfieM-a851bv0Y.js +0 -1
- package/dist/assets/ZeniAccountNavBarPieces-CHStBvRa-5ll2dkEQ.js +0 -14
- package/dist/assets/ZeniAccountSetupPage-B20DHYex-DsTq1nG1.js +0 -36
- package/dist/assets/analyticsHelper-CeC4SQzK.js +0 -1
- package/dist/assets/commonTypes-BVbA7QjV-rrrVgiRE.js +0 -1
- package/dist/assets/downloadPdf-WDHjFv79-x1y7Noz9.js +0 -1
- package/dist/assets/epic-upTynnWU.js +0 -2
- package/dist/assets/mapLoadingInProgressToTreeNode-C_5Bb47i-KSj20Sfu.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-AkxvYRty-Dd11welj.js +0 -1
- package/dist/assets/toCOABalancesWithID-Bq4Xe7az-D4N9dB70.js +0 -1
- package/dist/assets/uploadReceipts-Dge0cNF1-C_Z21T_D.js +0 -1
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import{J as C,F as g,V as i,r as I,o,y as a,p as c,fR as k,O as T,af as D,bv as B,eQ as W,fI as _,aV as w,ai as f,u as r}from"./index-CNJQ6T57.js";import{n as s}from"./mui-DsjrNjDe.js";import E from"./QBOConnectionDialog-C3OYyhYO-5hTjd5-l.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]="e545ac2d-e950-4f62-84ad-9a7f27491640",e._sentryDebugIdIdentifier="sentry-dbid-e545ac2d-e950-4f62-84ad-9a7f27491640")}catch{}})();const l={containerPadding:new a(r[3],r[4]),sectionWidth:new a(343,580,726),topElementsRowGap:new a(r[3],r[0]),arrowIconWidthHeight:new a(r[3],r[4])},Q={title:new T("standardMedium","largeMedium")},ee=({isAdmin:e,hasError:t=!1,isValid:d,saveConnectionState:p,isQBOPopupOpen:$,companyName:y,updateQBOPopupState:h,handleOnConnectClick:b})=>{const n=C(),{qbo_connection:j}=g.getLocalizedStrings().customerOnboardingPage.sections,{title:S,sucessText:v,button:z,errorText:P,requiredText:O}=j;return i.jsxs(V,{windowSize:n,children:[i.jsxs(A,{windowSize:n,children:[n==="small"?i.jsx(L,{children:d?i.jsx(Z,{}):i.jsx(K,{})}):null,i.jsx(F,{windowSize:n,children:S})]}),i.jsxs(G,{windowSize:n,children:[i.jsxs(H,{windowSize:n,children:[i.jsxs(q,{children:[i.jsx(J,{}),i.jsx(M,{windowSize:n}),i.jsx(R,{})]}),d?n!=="small"?i.jsx(m,{}):null:i.jsx(I,{variant:"primary",size:n!=="small"?"standard":"xs-small",label:z.connect,style:{width:"fit-content"},onClick:()=>h(!0),loading:p==="In-Progress"})]}),d?i.jsxs(i.Fragment,{children:[i.jsx(N,{children:v}),n==="small"?i.jsx(m,{}):null]}):null,p==="Error"?i.jsx(x,{children:i.jsx(u,{windowSize:n,children:P})}):null,t&&!d?i.jsx(x,{children:i.jsx(u,{windowSize:n,children:O})}):null]}),i.jsx(E,{isAdmin:e,isGoBackAllowed:!0,isQBOPopupOpen:$,companyName:y,saveConnectionState:p,handleOnConnectClick:b,handleGoBack:()=>h(!1)})]})},m=()=>{const{tags:e}=g.getLocalizedStrings().customerOnboardingPage,{connected:t}=e;return i.jsx(_,{style:{width:"max-content",padding:0,marginTop:o.sp2},tagTitle:t,textColor:{color:new w(c.successDark),borderColor:new w(c.successDark)}})},V=s.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
align-items: center;
|
|
5
|
-
justify-content: center;
|
|
6
|
-
`,A=s.div`
|
|
7
|
-
display: flex;
|
|
8
|
-
align-items: center;
|
|
9
|
-
padding-top: ${o.sp3};
|
|
10
|
-
padding-bottom: ${o.sp3};
|
|
11
|
-
width: ${e=>l.sectionWidth.valuePx(e.windowSize)};
|
|
12
|
-
`,F=s.div`
|
|
13
|
-
display: flex;
|
|
14
|
-
align-items: center;
|
|
15
|
-
color: ${e=>e.theme.colors.primary};
|
|
16
|
-
${e=>`${Q.title.style(e.windowSize)}`};
|
|
17
|
-
`,G=s.div`
|
|
18
|
-
display: flex;
|
|
19
|
-
flex-direction: column;
|
|
20
|
-
width: ${e=>l.sectionWidth.valuePx(e.windowSize)};
|
|
21
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
22
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
23
|
-
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
24
|
-
border-radius: ${o.sp2};
|
|
25
|
-
fill: ${e=>e.theme.colors.grey1};
|
|
26
|
-
justify-content: space-between;
|
|
27
|
-
box-sizing: border-box;
|
|
28
|
-
padding: ${e=>l.containerPadding.valuePx(e.windowSize)};
|
|
29
|
-
&:hover {
|
|
30
|
-
border: 1px solid ${e=>e.theme.colors.primary};
|
|
31
|
-
fill: ${e=>e.theme.colors.primary};
|
|
32
|
-
}
|
|
33
|
-
`,x=s.div`
|
|
34
|
-
width: 100%;
|
|
35
|
-
display: flex;
|
|
36
|
-
margin-top: ${o.sp4};
|
|
37
|
-
`,u=s(f)`
|
|
38
|
-
display: flex;
|
|
39
|
-
color: ${c.important};
|
|
40
|
-
`,H=s.div`
|
|
41
|
-
width: 100%;
|
|
42
|
-
display: flex;
|
|
43
|
-
justify-content: space-between;
|
|
44
|
-
row-gap: ${e=>l.topElementsRowGap.valuePx(e.windowSize)};
|
|
45
|
-
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
46
|
-
`,N=s(f)`
|
|
47
|
-
display: flex;
|
|
48
|
-
margin-top: ${o.sp2};
|
|
49
|
-
color: ${e=>e.theme.colors.hero};
|
|
50
|
-
`,q=s.div`
|
|
51
|
-
display: flex;
|
|
52
|
-
align-items: center;
|
|
53
|
-
gap: ${o.sp4};
|
|
54
|
-
justify-content: left;
|
|
55
|
-
color: ${e=>e.theme.colors.primary};
|
|
56
|
-
`,J=s(D)`
|
|
57
|
-
height: 20px;
|
|
58
|
-
width: auto;
|
|
59
|
-
color: ${e=>e.theme.colors.primary};
|
|
60
|
-
cursor: pointer;
|
|
61
|
-
`,M=s(B)`
|
|
62
|
-
height: ${e=>l.arrowIconWidthHeight.valuePx(e.windowSize)};
|
|
63
|
-
width: ${e=>l.arrowIconWidthHeight.valuePx(e.windowSize)};
|
|
64
|
-
color: ${e=>e.theme.colors.hero};
|
|
65
|
-
`,R=s(W)`
|
|
66
|
-
height: ${o.sp4};
|
|
67
|
-
color: ${e=>e.theme.colors.primary};
|
|
68
|
-
`,L=s.div`
|
|
69
|
-
margin-right: ${o.sp2};
|
|
70
|
-
`,Z=s(k)`
|
|
71
|
-
width: ${o.sp3};
|
|
72
|
-
height: ${o.sp3};
|
|
73
|
-
color: ${c.success};
|
|
74
|
-
`,K=s.div`
|
|
75
|
-
height: ${o.sp3};
|
|
76
|
-
width: ${o.sp3};
|
|
77
|
-
border: 1px solid ${e=>e.theme.colors.primary};
|
|
78
|
-
border-radius: 50%;
|
|
79
|
-
`;export{ee as t};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import{y as W,u as L,d as M,J as G,F as U,a9 as J,aQ as Q,aJ as X,cF as H,V as r,bC as K,ac as Y,aR as Z,o as b,g9 as ee}from"./index-CNJQ6T57.js";import{a as $}from"./sentry-9b1mvxJ5.js";import{n as c}from"./mui-DsjrNjDe.js";import{b as ae,f as te,o as B,l as C}from"./FollowStepsSection-BrpI2HyW-DNSECr6B.js";import"./liveblocks-CUDrE-0X.js";import"./core-Be77t6wT.js";import"./recharts-CmZa-egc.js";import"./zeni-epic-state-DJX8u9R8.js";import"./lottie-C5G-hUN3.js";import"./analytics-DH2FWXQR.js";import"./lexical-4qH-Yr6_.js";import"./utils-VcZ1Xqjg.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]="6923814d-eccc-43da-ab35-e6d619291906",e._sentryDebugIdIdentifier="sentry-dbid-6923814d-eccc-43da-ab35-e6d619291906")}catch{}})();const T="reimbursementApprovalRuleDetailPage",k="lowerBound",j="upperBound",I="steps",h="applyToExistingReimbursements",le={footerPadding:new W(L[2],L[3])};function Re({localData:e,approvalUpdateActionType:t,isLowerBoundDisabled:a=!1,isUpperBoundDisabled:o=!0,hideUpperBoundField:s=!1,onBackClick:p,onApprovalRuleDataUpdated:g,onResetClick:E,onSaveRuleClick:N,onSaveRuleSuccess:A}){const F=M(),S=G(),l=U.getLocalizedStrings().commonSetUp.approval,w=U.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,x=re(e,t==="approval_create"&&!a),y=J({mode:"all",reValidateMode:"onChange",defaultValues:x}),u=e.remiSetupApproverViewUpdateData?.updateStatus,R=Q(u?.fetchState),{upperBound:P}=x,{allApprovalRules:i,allAccountingClasses:V,remiSetupApproverViewUpdateData:m}=e;let f=i.length>1?i.length-1:0,v=i.length>0?i[f].criteria[0].range.min.amount:0;if(m!=null&&m.type==="approval_update"&&m.data!=null){const{approvalRuleId:n}=m.data;f=i.findIndex(d=>d.approvalRuleId===n),v=f>0?i[f-1].criteria[0].range.min.amount:0}const z=y.handleSubmit(()=>{N()}),q=async(n,d)=>{g(d)};return $.useEffect(()=>{const n=y.watch((d,{name:D})=>{if(D!=null&&d!=null){const O=X(d);H(()=>q(D,O))}});return()=>{n.unsubscribe()}}),$.useEffect(()=>{R==="In-Progress"&&u?.fetchState==="Completed"&&A()},[R,u?.fetchState,A]),r.jsxs(ie,{children:[r.jsx(K,{title:t==="approval_create"?l.newApproval:l.editApproval,backgroundColor:F.colors.grey4,style:{zIndex:4},onBackClick:()=>{p()},source:"ReimbursementApprovalRuleDetailPage"}),r.jsx(de,{children:r.jsxs(Y,{...y,children:[r.jsx(ue,{children:r.jsx("form",{id:_(T),onSubmit:z,children:r.jsxs(pe,{children:[r.jsx(ae,{label:{label:s?w.amountPerRemiGreaterLabel:w.amountPerRemiLabel},firstText:{type:"number",name:k,placeholder:"$0",options:{required:!0,max:P===1/0?Number.MAX_SAFE_INTEGER-1:P-1,min:v,validate:n=>a?!0:n!=null&&n>v},isDisabled:a,additionalInfoLabel:l.firstRuleLowerBoundInfoLabel,additionalErrorLabel:l.firstRuleErrorInfoLabel},secondText:{type:"number",name:j,placeholder:"Infinity",isDisabled:o,hideField:s,additionalInfoLabel:l.upperBoundInfoLabel}}),r.jsx(ce,{}),r.jsx(te,{sectionId:I,label:{label:l.followStepsLabel},approversPlaceholder:l.approversPlaceholder,notifiersPlaceholder:l.notifiersPlaceholder,allUserWithRoles:e.allApprovers,filteredApprovers:e.filteredApprovers.map(n=>n.user),allAttributes:e.allAttributes,filteredAttributes:e.filteredAttributes,allAccountingClasses:V,stepsInfo:x[I],userSelectPlaceholder:l.userSelectPlaceholder,approveNotifyPlaceholder:l.approveNotifyPlaceholder,productType:"zeni_reimbursements"})]})})}),r.jsx(Z,{formId:_(T),primaryBtn:{label:l.saveBtnText,isLoading:u?.fetchState==="In-Progress",isDisabled:u?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},topComponent:t==="approval_create"&&i.length===0?null:r.jsx(ee,{name:h,mode:"always_on",checkBoxes:[{value:h,label:l.applyToExistingReimbursements,defaultChecked:!0,groupLabel:!1}],style:{width:"100%"}}),showCancel:!0,cancelBtn:{label:l.cancelBtnText,isLoading:!1,style:{width:"85px",minWidth:"auto"},onClick:E},containerStyle:{justifyContent:S==="small"?"space-between":"center"},style:{padding:le.footerPadding.valuePx(S)},separatorStyle:{marginRight:b.sp4}})]})})]})}const re=(e,t)=>{const{criteria:a,steps:o}=e.remiSetupApproverViewUpdateData?.data??{};return{[h]:[h],[I]:oe(e.allApprovers.map(s=>s.user),e.filteredApprovers.map(s=>s.user),B(e.allAttributes),B(e.filteredAttributes),o??[])??[],[k]:t?void 0:a!=null?a.range.min.amount??0:0,[j]:a!=null?a.range.max==null?1/0:a.range.max.amount:1/0}},oe=(e,t,a,o,s)=>s&&s.length>0?s.map((p,g)=>({stepIndex:g,stepType:{selectedOption:p.action,allOptions:C},actors:{allUsers:t,selectedUsers:se(e,p.actors),allNonUsers:o,selectedNonUsers:ne(a,p.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:C},actors:{allUsers:t,selectedUsers:[],allNonUsers:o,selectedNonUsers:[]}}],se=(e,t)=>e.filter(a=>a.userId!=null&&t.findIndex(o=>o.userId===a.userId)>-1),ne=(e,t)=>e.filter(a=>t.findIndex(o=>o.subType===a.value)>-1),_=e=>`${e}_form`,Pe=e=>`${e}`,ie=c.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
height: 100%;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
width: 100%;
|
|
6
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
7
|
-
`,de=c.div`
|
|
8
|
-
display: flex;
|
|
9
|
-
flex: 1;
|
|
10
|
-
flex-direction: column;
|
|
11
|
-
min-height: 0;
|
|
12
|
-
`,pe=c.div`
|
|
13
|
-
display: flex;
|
|
14
|
-
flex-direction: column;
|
|
15
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
16
|
-
box-shadow: ${e=>`${b.sp0} 2px ${b.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
17
|
-
border-radius: ${b.sp2};
|
|
18
|
-
`,ue=c.div`
|
|
19
|
-
display: flex;
|
|
20
|
-
justify-content: flex-start;
|
|
21
|
-
flex: 1;
|
|
22
|
-
min-height: 0;
|
|
23
|
-
overflow-y: auto;
|
|
24
|
-
flex-direction: column;
|
|
25
|
-
align-items: center;
|
|
26
|
-
`,ce=c.div`
|
|
27
|
-
display: flex;
|
|
28
|
-
flex: 1;
|
|
29
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
30
|
-
min-height: 1px;
|
|
31
|
-
max-height: 1px;
|
|
32
|
-
`;export{le as D,Re as default,_ as uniqueFormName,Pe as uniqueName};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{V as b,cp as V,cq as M,cr as q,kd as W,aY as Y,F as z}from"./index-CNJQ6T57.js";import{a as f}from"./sentry-9b1mvxJ5.js";import{Gi as G}from"./zeni-epic-state-DJX8u9R8.js";import{u as J}from"./ReviewOverlay-BQVwPzKa-BxRw_iSk.js";import"./liveblocks-CUDrE-0X.js";import"./core-Be77t6wT.js";import"./recharts-CmZa-egc.js";import"./mui-DsjrNjDe.js";import"./lottie-C5G-hUN3.js";import"./analytics-DH2FWXQR.js";import"./lexical-4qH-Yr6_.js";import"./utils-VcZ1Xqjg.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]="e32788b7-fb65-4d4d-a863-f0bb6bd1d88c",e._sentryDebugIdIdentifier="sentry-dbid-e32788b7-fb65-4d4d-a863-f0bb6bd1d88c")}catch{}})();const{common:a,spendManagement:{reimbursement:k}}=z.getLocalizedStrings(),s=k.bulkActions;let j;const ce=({remisReviewView:e,isAdmin:o,analytics:i,onProceedForBulkActionClick:u,onCloseReviewItem:r,onCloseOverlay:n})=>{const{fetchState:p,bulkSubmissionFetchState:c,bulkOperationTypeSelected:t,currentTab:g,currentSubTab:y}=e,v=!1,[S,l]=f.useState(!1),[d,_]=f.useState(P(e,v,o)),[h,R]=f.useState(v),[B,Z]=f.useState(0),[w,A]=f.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});f.useEffect(()=>(B===d.length&&h&&(R(!1),clearInterval(j)),e.fetchState==="Completed"&&_(P(e,!1,o)),()=>{clearInterval(j)}),[d.length,B,h,e.fetchState,v,e,o]);const D=d.length,x=d.filter(m=>m.reviewStatus.code!=="error").length,F=()=>{const{title:m,description:C}=K(x);A({type:"reject",title:m,description:C,primaryButtonText:a.texts.confirm,secondaryButtonText:a.texts.close}),i.trackReimbursementBulkSubmit(t,g,y),l(!0)},E={onOkClick:m=>{l(!1);const C=e.remisForReview.map(I=>I.reimbursement);i.trackReimbursementBulkPopupConfirm(t,g,y,G(C.map(I=>I?.reimbursementTypesIncluded??[]))),u("reject",m)},onCancelClick:()=>{l(!1)}},{title:$,description:L}=X(p,x,D,h),T=e.fetchState==="Completed"&&x===0,U=()=>{i.trackReimbursementBulkSubmit(t,g,y),u(t)},N=()=>{let m=a.footer.approve;return T?m=a.texts.close:t==="send_for_approval"&&(m=a.footer.submit),{label:m,isDisabled:p!=="Completed"||t==="reject"&&c==="In-Progress",isLoading:c==="In-Progress"&&(t==="send_for_approval"||t==="approve"),onClick:T?n:U,style:t==="send_for_approval"?{minWidth:"92px"}:{}}},O={label:t==="send_for_approval"?a.texts.goBack:a.footer.reject,isDisabled:t!=="reject"&&c==="In-Progress",isLoading:t==="reject"&&c==="In-Progress",reverseSpinnerColor:!1,onClick:t==="send_for_approval"?n:F,style:t==="approve"?{minWidth:"92px"}:{}};return b.jsxs(b.Fragment,{children:[S?b.jsx(V,{titleComponent:b.jsx(q,{children:w.title}),descriptionComponent:b.jsx(M,{children:w.description}),primaryButtonText:w.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:w.secondaryButtonText,action:E,isNotesIncluded:!0,isEditPopup:!0}):null,b.jsx(J,{title:$,description:{content:L,isError:e.fetchState==="Completed"&&x===0},reviewItems:d,onCloseReviewItem:r,onCloseOverlay:n,showFooter:e.fetchState==="Completed"&&!h,footerProps:{primaryButton:N(),cancelButton:O,hideCancel:T}})]})},P=(e,o,i)=>{const u=e.fetchState==="In-Progress";return e.remisForReview.map(r=>{const n=W(i,r.submittedBy);return{id:r.transactionId,leftSideText:{title:r.reimbursement?.reportTitle!=null?r.reimbursement.reportTitle:k.reimbursementDetail.newReimbursementTitle,subTitle:n!=null?`${a.by} ${n?.firstName} ${n?.lastName}`:a.strings.empty},rightSideText:{title:Y("0,0.[00]",r.reimbursement?.amount?.amount,r.reimbursement?.amount?.currencySymbol),showThunderIcon:!1,subTitle:r.reviewInfoMessage??""},reviewStatus:{isLoading:u,code:r.reviewStatus??""}}})},K=e=>{const{this_:o,these:i,report:u,reports:r,payment:n,payments:p}=a.texts;return e>1?{title:s.popUps.reject.title.replace("__report__",s.reports),description:s.popUps.reject.description.replaceAll("<_this_>",i).replaceAll("<_payment_>",p).replaceAll("__report__",r)}:{title:s.popUps.reject.title.replace("__report__",s.report),description:s.popUps.reject.description.replaceAll("<_this_>",o).replaceAll("<_payment_>",n).replaceAll("__report__",u)}},X=(e,o,i,u)=>{const{has:r,have:n,report:p,reports:c,are:t,is:g,do_:y,does:v}=a.texts,S=o>1,l=i>1;let d="",_="";return e==="Completed"&&!u?(d=s.reviewPage.reportsReviewed.title.replace("__report__",l?k.bulkActions.reports:s.report).replace("<_has_>",l?n:r),o===0?_=s.reviewPage.reportsReviewed.descriptionError.replace("__report__",l?c:p).replace("<_do_>",l?y:v):_=`${o}/${i} ${s.reviewPage.reportsReviewed.description.replace("__report__",i>1?c:p).replace("<_is_>",S?t:g)}`):(d=s.reviewPage.reportsReviewing.title.replace("__report__",l?c:p),_=s.reviewPage.reportsReviewing.description.replace("__report__",l?c:p)),{title:d,description:_}};export{ce as default};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import{eR as f,eS as h,V as s,bT as g,o,aP as l,F as x,an as y,ai as c}from"./index-CNJQ6T57.js";import{n}from"./mui-DsjrNjDe.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]="a0b32cac-f82a-4f55-80b5-24e9040de739",e._sentryDebugIdIdentifier="sentry-dbid-a0b32cac-f82a-4f55-80b5-24e9040de739")}catch{}})();const{hyphen:i}=x.getLocalizedStrings().common.strings,b=n.div``,m=n.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
min-width: 192px;
|
|
4
|
-
justify-content: space-between;
|
|
5
|
-
`,u=n(c)`
|
|
6
|
-
color: ${e=>e.theme.colors.hero};
|
|
7
|
-
`,j=n(c)`
|
|
8
|
-
color: ${e=>e.theme.colors.brandColorPearl};
|
|
9
|
-
`,a=n.div`
|
|
10
|
-
display: flex;
|
|
11
|
-
align-items: center;
|
|
12
|
-
`,w=n(y)`
|
|
13
|
-
border-radius: ${o.sp12};
|
|
14
|
-
border: 1px solid ${e=>e.theme.colors.grey1};
|
|
15
|
-
display: flex;
|
|
16
|
-
height: 18px;
|
|
17
|
-
width: 18px;
|
|
18
|
-
align-items: center;
|
|
19
|
-
justify-content: center;
|
|
20
|
-
color: 1px solid ${e=>e.theme.colors.grey1};
|
|
21
|
-
margin-left: ${o.sp1};
|
|
22
|
-
`,I=({roles:e})=>{let t=i,r=[];t=f(e),r=h(e);const p=()=>r.length>0?s.jsx(b,{children:r.map(d=>s.jsxs(m,{children:[s.jsx(u,{children:d[0]}),s.jsx(j,{children:d[1]})]},d.join(",")))}):s.jsx(s.Fragment,{children:i});return r.length>0?s.jsx(g,{enterDelay:600,"data-testid":l("roles-tooltip",t),title:p(),placement:"top-end",style:{marginLeft:o.sp1,padding:"6px 12px"},maxWidth:"264px",children:s.jsxs(a,{"data-testid":l("roles-label-wrapper",t),children:[t,s.jsx(w,{className:"roles-count-wrapper","data-testid":l("roles-count-wrapper",t),children:r.length})]})}):s.jsx(a,{"data-testid":l("roles-label-wrapper",t),children:t})};export{I as T};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import{aQ as F,ir as X,gK as Ie,eD as Je,is as we,a9 as Le,it as Me,cF as Ve,cG as Pe,V as a,ac as _e,cp as Fe,cq as $e,cr as Be,aR as Ne,iu as ze,iv as Re,F as De,aa as re,iw as pe,ix as Ue,cJ as We,J as qe,gP as me,u as Z,p as Ke,y as Ge,iy as He,iz as Ye,iA as Qe,o as w}from"./index-CNJQ6T57.js";import{a as D}from"./sentry-9b1mvxJ5.js";import{n as P}from"./mui-DsjrNjDe.js";import{G2 as Xe,G3 as Ze,bL as et}from"./zeni-epic-state-DJX8u9R8.js";import{i as tt,r as lt,n as at,o as st}from"./ScheduleSequenceTable-DDhoyPGX-CcxwU9B1.js";import"./liveblocks-CUDrE-0X.js";import"./core-Be77t6wT.js";import"./recharts-CmZa-egc.js";import"./lottie-C5G-hUN3.js";import"./analytics-DH2FWXQR.js";import"./lexical-4qH-Yr6_.js";import"./utils-VcZ1Xqjg.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="b07d2b1a-e00c-4610-a5ac-b19bb5db00bc",e._sentryDebugIdIdentifier="sentry-dbid-b07d2b1a-e00c-4610-a5ac-b19bb5db00bc")}catch{}})();const z={labelWidth:new Ge(160,160,160)},nt=P.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
width: 100%;
|
|
5
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
6
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
7
|
-
|
|
8
|
-
border-top-left-radius: ${w.sp2};
|
|
9
|
-
border-top-right-radius: ${w.sp2};
|
|
10
|
-
border-bottom-left-radius: ${w.sp0};
|
|
11
|
-
border-bottom-right-radius: ${w.sp0};
|
|
12
|
-
`,ee=P.div`
|
|
13
|
-
display: flex;
|
|
14
|
-
flex: 1;
|
|
15
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
16
|
-
min-height: 1px;
|
|
17
|
-
`,ot=P.div`
|
|
18
|
-
display: flex;
|
|
19
|
-
flex-direction: column;
|
|
20
|
-
margin: ${w.sp4} ${w.sp8} ${w.sp0} ${w.sp8};
|
|
21
|
-
`,$=(e,s)=>`${e}.${s}`;function dt({sectionId:e,jeScheduledTransaction:s,updateStatus:p,allAccountOptions:l,allAccountList:t,allClassList:i,allClassOptions:C,allMonthOptions:o,uncategorizedAccounts:m,selectedAccount:r,selectedClass:y,selectedDate:L,selectedMonths:I,selectedPostingDay:O,lastDayOfMonth:k,isDisabled:f,allowCreateSchedule:g,onCreateSchedule:u,onDelete:ae,onMarkAsComplete:_}){const{resetField:R}=We(),U=$(e,"scheduleExpenseCategory"),W=$(e,"scheduleClass"),se=$(e,"startDate"),B=$(e,"postingDate"),b=$(e,"months"),S=De.getLocalizedStrings().jeSchedules.scheduleDetails.scheduleDetailsSection,ne=c=>t.filter(N=>N.qboId===c)[0]?.qboId,oe=c=>i.filter(N=>N.classId===c)[0]?.accountingClassNumber,q={valueContainer:c=>({...c,overflow:"unset"})},J=qe(),v=ct({startDate:s.baseTransaction.date,endDate:s.baseTransaction.date.add(1,"year")}),h=()=>{R(B)},n=O==null&&k==null?void 0:k===!0?"lastDayOfMonth":"day",x=c=>[m.expense?.qboId,m.income?.qboId].includes(c),E=()=>{s.jeScheduleId!=null&&ae(s.jeScheduleId)},K=s.scheduledJournalEntry.flatMap(c=>c.error);return a.jsxs(ot,{children:[a.jsx(at,{isUpdating:p==="In-Progress",status:s.status.code,jeScheduleId:s.jeScheduleId,allowCreateSchedule:g,onDelete:E,onMarkAsComplete:_,onCreateSchedule:u}),a.jsx(re,{controller:g===!0,children:a.jsxs(nt,{children:[a.jsx(me,{isDisabled:K.includes("debit_category_deleted")?void 0:f,isLoading:!1,label:{label:S.expenseCategory,width:z.labelWidth.value(J)},groupedSingleSelectField:{customPlaceholderColor:K.includes("debit_category_deleted")?Ke.brandColorGoldDark:void 0,shouldShowChevronIcon:!1,name:U,placeholder:S.expenseCategoryPlaceholder,valueToId:c=>ne(c),defaultValue:{selectedOption:r,allOptions:l},registerOptions:{required:!0,validate:c=>!!c.selectedOption},customStyleConfig:q},disableCurrentOption:x,style:{borderTopLeftRadius:Z[2],borderTopRightRadius:Z[2]}}),a.jsx(ee,{}),a.jsx(me,{isDisabled:f,isLoading:!1,label:{label:S.class,width:z.labelWidth.value(J)},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:W,placeholder:S.classPlaceholder,valueToId:c=>oe(c),defaultValue:{selectedOption:y,allOptions:C},registerOptions:{required:!0,validate:c=>!!c.selectedOption},customStyleConfig:q},style:{borderTopLeftRadius:Z[0],borderTopRightRadius:Z[0]}}),a.jsx(ee,{}),a.jsx(He,{label:{label:S.startMonth,width:z.labelWidth.value(J)},monthSelectorField:{name:se,placeholder:S.startMonthPlaceholder,defaultValue:L,showDownChevron:!1,isDisabled:f,monthsAndYears:v},isDisabled:f}),a.jsx(ee,{}),a.jsx(st,{label:{label:S.postingDate,width:z.labelWidth.value(J)},isDisabled:f,dayOfMonthField:{placeholder:S.postingDatePlaceholder,name:B,defaultValue:{type:n,dayOfMonth:O},onSaveClick:()=>{},onCancelClick:h}}),a.jsx(ee,{}),a.jsx(Ye,{label:{label:S.months,width:z.labelWidth.value(J)},singleSelectNumericField:{name:b,isDisabled:f,placeholder:S.monthsPlaceholder,defaultValue:{selectedOption:I!=null?o[I-1]:void 0,allOptions:o},registerOptions:{required:!0,validate:c=>!!c.selectedOption}}})]})}),a.jsx(re,{controller:g===!1,children:a.jsx(Qe,{text:S.scheduleMarkedAsCompleted})})]})}const ct=e=>{const s={},p=e.endDate.year()-e.startDate.year()+1,l=e.endDate.year(),t=e.startDate.year();return{years:Array(p).fill(l).map((i,C)=>{const o=i-C,m=o.toString();let r=[];if(o===t){const y=e.startDate.month();r=e.startDate.localeData().monthsShort(),y!==0&&r.splice(0,y)}else r=et(`${o}-01-01`).localeData().monthsShort();return s[m]=r,m}).reverse(),months:s}},it=P.div`
|
|
22
|
-
display: flex;
|
|
23
|
-
flex-direction: column;
|
|
24
|
-
width: 100%;
|
|
25
|
-
height: 100%;
|
|
26
|
-
min-height: 100vh;
|
|
27
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
28
|
-
`,rt=P.div`
|
|
29
|
-
display: flex;
|
|
30
|
-
z-index: 2;
|
|
31
|
-
`,ut=P.div`
|
|
32
|
-
display: flex;
|
|
33
|
-
flex-direction: column;
|
|
34
|
-
`,ht=P.div`
|
|
35
|
-
display: flex;
|
|
36
|
-
justify-content: center;
|
|
37
|
-
`,fe="scheduleDetailsPage",te="scheduleDetailsSection",le="scheduleDetailsListSection",pt=De.getLocalizedStrings(),{common:A,jeSchedules:{scheduleDetails:mt}}=pt;function At({analytics:e,controllerUserDetails:s,expenseAutomationSelectedPeriod:p,scheduleDetailsView:l,scheduleTab:t,usedInExpenseAutomation:i,vendorSearchAutoCompleteActions:C,vendorSearchAutoCompleteData:o,onMarkAsComplete:m,onNavigateBack:r,onEditAmount:y,onJELinkClick:L,onSave:I,onDelete:O,onDetailPageChange:k,onViewLinkedJE:f,onTransactionClick:g,removeJeScheduleTransactionKey:u}){const[ae,_]=D.useState(!1),R=F(l.updateStatus.fetchState),U=F(l.selectedJEScheduleTransaction?.status.code),W=F(l.deleteStatus.fetchState),[se,B]=D.useState(!1),b=l.scheduleDetailsLocalData.prepaid_expenses,S=F(b.jeScheduleDetails.length),ne=F(b.selectedDate),oe=F(b.selectedDayOfMonth),[q,J]=D.useState(!0),v=l.selectedJEScheduleTransaction?.vendor,h=l.selectedJEScheduleTransaction?.baseTransaction,n=l.selectedJEScheduleTransaction,x=Xe(s.controllers),E=Ze(s.controllerUserIds),K={onOkClick:()=>{_(!1),r()},onCancelClick:()=>{_(!1)}},c=d=>{const T=n?.scheduledJournalEntry[d];h!=null&&T!=null&&n!=null&&e.trackScheduleDetailsLinkJournalEntry({scheduleType:t,transaction:{...Ue(h)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...pe(T)},vendorName:v!=null?v.name:A.strings.hyphen,controllerEmails:x,controllerUserIds:E}),L(d)},N=(d,T)=>{const j=n?.scheduledJournalEntry[T];h!=null&&j!=null&&n!=null&&e.trackScheduleDetailsViewJournalEntry({scheduleType:t,scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:pe(j),controllerEmails:x,controllerUserIds:E}),f(d)};D.useEffect(()=>{R==="In-Progress"&&l.updateStatus.fetchState==="Completed"&&(h!=null&&n!=null&&e.trackScheduleDetailsSaved(X({jeScheduleTransaction:n,scheduleTab:t,transaction:h,vendor:v,controllerEmails:x,controllerUserIds:E})),i===!0&&n?.jeScheduleTransactionKey!=null&&U==="draft"&&l.selectedJEScheduleTransaction?.status.code==="ongoing"&&u(n.jeScheduleTransactionKey,{month:p.month,year:p.year}),r())},[U,l.selectedJEScheduleTransaction?.status.code,e,r,p,R,l.updateStatus,u,t,i,n,h,v,x,E]),D.useEffect(()=>{W==="In-Progress"&&l.deleteStatus.fetchState==="Completed"&&r()},[W,l.deleteStatus,r]);const G=Ie(l.accountListNestedAccountHierarchy),H=Je(l.classListNestedAccountHierarchy),Y=we(t),ue=D.useRef(),M=Le({mode:"all",reValidateMode:"onChange",defaultValues:ie(l,G,H,Y,o.entityAutoCompleteView),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:ie(l,G,H,Y,o.entityAutoCompleteView)}),de=M.watch("scheduleDetailsSection.vendor");D.useEffect(()=>{o.entityAutoCompleteView.fetchState==="Completed"&&ue.current?.(Me(o.entityAutoCompleteView))},[o.entityAutoCompleteView.fetchState]);const ye=(d,T)=>{C.onAutoCompleteInputChange?.(d,"vendor"),ue.current=T},be=M.handleSubmit(()=>{I(l.selectedJEScheduleTransaction?.jeScheduleId)}),Ce=async(d,T)=>{const j=T[te].vendor;if(d.includes("vendor")){const ce=j?.defaultOptions.map(V=>V.value);if(j?.selectedOption!=null&&ce?.includes(j.selectedOption)!==!0){const V=o.entityAutoCompleteView.vendor.find(Ae=>Ae.id===j.selectedOption);V!=null&&M.setValue("scheduleDetailsSection.vendor.defaultOptions",[{label:V.name??A.strings.empty,value:V.id}])}}const Q=d.includes("amount");if(k(T,Q),d.includes("amount")){const ce=d.split(".")[1],V=parseInt(ce);B(!0),y(V,l.selectedJEScheduleTransaction?.jeScheduleId)}};D.useEffect(()=>{let d=!0;const T=M.watch((j,{name:Q})=>{Q!=null&&j!=null&&Ve(()=>{d&&Ce(Q,j)})});return()=>{d=!1,T.unsubscribe()}}),D.useEffect(()=>{(S!==b.jeScheduleDetails.length||ne!==b.selectedDate||oe!==b.selectedDayOfMonth)&&se===!0&&(M.resetField(le,{defaultValue:ie(l,G,H,Y,o.entityAutoCompleteView)[le],keepDirty:!1}),B(!1))},[b.jeScheduleDetails.length,b.selectedDate,b.selectedDayOfMonth]),D.useEffect(()=>{l.selectedJEScheduleTransaction?.status.code==="marked_as_completed"&&J(!1)},[l.selectedJEScheduleTransaction?.status.code]);const he=(Pe(M.formState.dirtyFields)||l.selectedJEScheduleTransaction?.status.code==="draft")&&b.jeScheduleDetails.length>0,ge=()=>{he===!0?_(!0):(h!=null&&n!=null&&e.trackScheduleDetailsCanceled(X({jeScheduleTransaction:n,scheduleTab:t,transaction:h,vendor:v,controllerEmails:x,controllerUserIds:E})),r())},ve=()=>{l.selectedJEScheduleTransaction!=null&&g({id:l.selectedJEScheduleTransaction?.baseTransaction.id,type:l.selectedJEScheduleTransaction?.baseTransaction.type})},xe=D.useCallback(()=>{J(!0)},[]),Ee=D.useCallback(()=>{h!=null&&n!=null&&e.trackScheduleDetailsMarkedAsCompleted(X({jeScheduleTransaction:n,scheduleTab:t,transaction:h,vendor:v,controllerEmails:x,controllerUserIds:E})),m()},[e,n,m,t,h,v,x,E]),Te=D.useCallback(d=>{h!=null&&n!=null&&e.trackScheduleDetailsDeleted(X({jeScheduleTransaction:n,scheduleTab:t,transaction:h,vendor:v,controllerEmails:x,controllerUserIds:E})),O(d)},[e,n,O,t,h,v,x,E]),je=(l.selectedJEScheduleTransaction?.scheduledJournalEntry.flatMap(d=>d.error??[]).filter(d=>!!d)??[])?.includes("vendor_deleted")===!0?de?.defaultOptions.find(d=>d.value===de?.selectedOption)?.[0]?.label:l?.selectedJEScheduleTransaction?.vendor?.name,Oe=a.jsx(ft,{onNavigateBack:ge,onTransactionClick:ve,title:je??A.strings.empty}),ke=a.jsx(rt,{children:a.jsx(_e,{...M,children:a.jsxs("form",{style:{width:"100%"},id:Se(fe),onSubmit:be,children:[a.jsx(St,{vendorLoadOptions:ye,vendorField:de,vendorSearchAutoCompleteActions:C,vendorSearchAutoCompleteData:o,scheduleDetailsView:l,allAccountOptions:G,allClassOptions:H,allMonthOptions:Y,allowCreateSchedule:q,onEditAmount:y,onDelete:Te,onJELinkClick:c,onViewLinkedJE:N,onMarkAsComplete:Ee,onCreateSchedule:xe}),ae===!0?a.jsx(Fe,{titleComponent:a.jsx(Be,{children:A.confirmationPopup.discardTitle}),descriptionComponent:a.jsx($e,{children:A.confirmationPopup.discardDescription}),primaryButtonText:A.confirmationPopup.discard,secondaryButtonText:A.confirmationPopup.cancel,proceedButtonVariant:"danger",action:K}):null,he===!0?a.jsx(Ne,{formId:Se(fe),primaryBtn:{label:A.footer.save,style:{minWidth:"82px"},isLoading:l.updateStatus.fetchState==="In-Progress",isDisabled:l.updateStatus.fetchState==="In-Progress"},cancelBtn:{label:A.footer.cancel,shouldResetOnCancel:!0,onClick:()=>{_(!0)},style:{minWidth:"82px"}}}):null]})})});return a.jsxs(it,{children:[Oe,ke]})}function ft({title:e,onNavigateBack:s,onTransactionClick:p}){return a.jsx(Re,{title:e,tooltipTextOnLaunch:mt.showTransactionTooltip,onBackClick:s,onLaunchClick:p,style:{zIndex:3}})}function St({vendorField:e,vendorLoadOptions:s,vendorSearchAutoCompleteActions:p,vendorSearchAutoCompleteData:l,scheduleDetailsView:t,allAccountOptions:i,allClassOptions:C,allMonthOptions:o,allowCreateSchedule:m,onCreateSchedule:r,onMarkAsComplete:y,onEditAmount:L,onDelete:I,onJELinkClick:O,onViewLinkedJE:k}){const f=t.selectedJEScheduleTransaction?.scheduledJournalEntry.flatMap(g=>g.error??[]).filter(g=>!!g)??[];return t.selectedJEScheduleTransaction!=null?a.jsxs(ut,{children:[a.jsx(ht,{children:a.jsx(tt,{errors:f,vendorLoadOptions:s,vendorField:e,vendorFieldName:$(te,"vendor"),vendorSearchAutoCompleteActions:p,vendorSearchAutoCompleteData:l,transaction:t.selectedJEScheduleTransaction.baseTransaction,vendor:t.selectedJEScheduleTransaction.vendor})}),a.jsx(dt,{sectionId:te,jeScheduledTransaction:t.selectedJEScheduleTransaction,allAccountOptions:i,allAccountList:t.allAccountList,allClassList:t.allClassList,allClassOptions:C,allMonthOptions:o,uncategorizedAccounts:t.uncategorizedAccounts,lastDayOfMonth:t.scheduleDetailsLocalData.prepaid_expenses.lastDayOfMonth,selectedPostingDay:t.scheduleDetailsLocalData.prepaid_expenses.selectedDayOfMonth,selectedMonths:t.scheduleDetailsLocalData.prepaid_expenses.selectedMonths,isDisabled:t.selectedJEScheduleTransaction.jeScheduleId!=null&&t.selectedJEScheduleTransaction.status.code!=="marked_as_completed"&&t.selectedJEScheduleTransaction.status.code!=="draft"?"disabled":void 0,allowCreateSchedule:m,onCreateSchedule:r,onDelete:I,onMarkAsComplete:y,updateStatus:t.deleteStatus.fetchState}),a.jsx(re,{controller:m===!0,children:a.jsx(lt,{sectionId:le,totalAmount:t.selectedJEScheduleTransaction.baseTransaction.amount.amount,listFetchState:t.fetchState,scheduleJournalEntries:t.selectedJEScheduleTransaction.scheduledJournalEntry,hideMemoField:t.selectedJEScheduleTransaction.jeScheduleId==null,localData:t.scheduleDetailsLocalData.prepaid_expenses.jeScheduleDetails,uiState:t.uiState,onEditAmount:L,onJELinkClick:O,onViewLinkedJE:k,jeScheduleId:t.selectedJEScheduleTransaction.baseTransaction.id})})]}):null}const Se=e=>`${e}_form`,ie=(e,s,p,l,t)=>{const i=e.scheduleDetailsLocalData.prepaid_expenses,C=i.selectedAccount,o=i.selectedVendor,m=o!=null?t.vendor.find(u=>u.zeniId===o.id):void 0,r=C!=null?e.allAccountList.find(u=>u.accountId===C):void 0,y=i.selectedClass,L=y!=null?e.allClassList.find(u=>u.classId===y):void 0,I=i.selectedMonths,O=i.jeScheduleDetails.map(u=>({postingDate:u.postingDate,amount:u.amount.amount,runningBalance:u.runningBalance.amount,postingStatus:u.postingStatus,jeLink:u.jeLink.thirdPartyTransactionId})),k=i.selectedDayOfMonth,f=i.lastDayOfMonth,g=k==null&&f==null?void 0:f===!0?"lastDayOfMonth":"day";return{[te]:{scheduleExpenseCategory:{selectedOption:r?.qboId,allOptions:s},scheduleClass:{selectedOption:L?.classId,allOptions:p},startDate:i.selectedDate,months:{selectedOption:I,allOptions:l},vendor:{selectedOption:m?.id??o?.id,defaultOptions:ze(t,m??o)},postingDate:{type:g,dayOfMonth:k}},[le]:O}};export{At as default};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import{d as M,bz as R,bA as q,V as t,bB as K,T as Q,aP as h,bC as U,o as n,al as G}from"./index-CNJQ6T57.js";import{a as r,n as H}from"./sentry-9b1mvxJ5.js";import{n as l}from"./mui-DsjrNjDe.js";import{T as J}from"./TransactionList-CSx8ZCZ--BfPEmkgj.js";import{t as W}from"./page-detail-CWX5S47F--SwzhZlk.js";import"./liveblocks-CUDrE-0X.js";import"./core-Be77t6wT.js";import"./recharts-CmZa-egc.js";import"./zeni-epic-state-DJX8u9R8.js";import"./lottie-C5G-hUN3.js";import"./analytics-DH2FWXQR.js";import"./lexical-4qH-Yr6_.js";import"./utils-VcZ1Xqjg.js";import"./ConstrainedInnerElement-BeIpAPjB-D4MBpZa1.js";import"./BoxItem-C0M4PSXY-D0kSlmNN.js";import"./commonDimensions-BpYNnQtf-BVrF2eSg.js";import"./panelSelectedMixin-CzfD5-Zs-Cev-MiVu.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="83d1cb8f-e9a2-440b-bb2d-3fcc2f3fea63",e._sentryDebugIdIdentifier="sentry-dbid-83d1cb8f-e9a2-440b-bb2d-3fcc2f3fea63")}catch{}})();const X=l.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex: 1 1 auto;
|
|
4
|
-
min-height: 0;
|
|
5
|
-
width: 100%;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
8
|
-
box-shadow: ${e=>`${n.sp0} 2px ${n.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
9
|
-
`,Z=l.div`
|
|
10
|
-
display: flex;
|
|
11
|
-
flex: 1 1 auto;
|
|
12
|
-
flex-direction: column;
|
|
13
|
-
justify-content: center;
|
|
14
|
-
align-items: center;
|
|
15
|
-
margin: ${n.sp0};
|
|
16
|
-
`,ee=l.div`
|
|
17
|
-
display: flex;
|
|
18
|
-
flex: 1 1 auto;
|
|
19
|
-
height: 100%;
|
|
20
|
-
width: 100%;
|
|
21
|
-
flex-direction: row;
|
|
22
|
-
justify-content: center;
|
|
23
|
-
align-items: center;
|
|
24
|
-
`,te=l(G)`
|
|
25
|
-
color: ${e=>e.theme.colors.hero};
|
|
26
|
-
text-align: center;
|
|
27
|
-
`,oe=l(W)`
|
|
28
|
-
height: ${n.sp4};
|
|
29
|
-
width: ${n.sp4};
|
|
30
|
-
color: ${e=>e.theme.colors.hero};
|
|
31
|
-
cursor: pointer;
|
|
32
|
-
&:hover {
|
|
33
|
-
color: ${e=>e.theme.colors.primary};
|
|
34
|
-
}
|
|
35
|
-
`;function Pe({title:e,subTitle:c,firstMonthOfFY:g,timeframe:d,timePeriod:a,useFixedPeriod:b,dataAvailableForPeriod:x,report:o,currentScrollYOffset:T,showStatementPageIcon:I=!1,onTimePeriodChange:y,onTransactionItemClick:k,onTransactionListScroll:v,onBackClick:L,onStatementPageIconClick:j,panelContent:D,referrerType:F,sidePanelIsFullView:N,sidePanelIsOpen:O}){const[f,P]=r.useState(!0),[m,S]=r.useState(!1),[u,$]=r.useState(!1),B=M();r.useEffect(()=>{o.transactions.length>0?P(!1):P(m===!1&&u===!1?o.fetchState==="In-Progress"||o.fetchState==="Not-Started":!1)},[o,f,m,u]);const E=R(),w=q(F),A=`${w===""?E:w}.transactions.list`,V=a.startDate.isAfter(x.startDate,d)?{isLoading:m&&(o.fetchState==="In-Progress"||o.fetchState==="Not-Started"),fixedTimePeriod:b,onLoadPreviousClick:(i,s)=>{$(!1),S(!0),y?.(i,a,s)}}:void 0,Y=a.endDate.isBefore(x.endDate,d)?{isLoading:u&&(o.fetchState==="In-Progress"||o.fetchState==="Not-Started"),fixedTimePeriod:b,onLoadNextClick:(i,s)=>{S(!1),$(!0),y?.(i,a,s)}}:void 0;let C=null;I&&(C=t.jsx(oe,{onClick:j}));const p=r.useRef(null);function _(i,s,z){H({category:`${A}.transaction-list.react.profiler`,message:`${i} (${s}) took ${z}ms`,level:"info"})}return t.jsx(r.Profiler,{id:"TransactionListPage",onRender:_,children:t.jsx(K,{isOpen:O??!1,isFullView:N??!1,panelContent:D,headerContent:t.jsx(U,{source:"TransactionListPage","data-testid":h("transaction-list-page-nav-bar"),title:e,onBackClick:L,backgroundColor:B.colors.grey4,rightSideComponent:C,scrollableContent:p.current!=null?p:void 0}),listContent:t.jsx(X,{"data-testid":h("transaction-list-page",e),children:t.jsxs(Z,{"data-testid":h("transaction-list",e),children:[t.jsx(te,{children:c}),f===!1?t.jsx(J,{ref:p,firstMonthOfFY:g,timeframe:d,timePeriod:a,transactions:o.transactions,isFirstLotLoading:f,currentScrollYOffset:T,onTransactionItemClick:k,onTransactionListScroll:v,showLoadPrevious:V,showLoadNext:Y,componentName:"report.transactions.list"}):t.jsx(ee,{children:t.jsx(Q,{size:"ExtraLarge",start:!0})})]})})})})}export{Pe as default};
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import{d as j,J as v,V as t,bC as I,b3 as z,o as r,F as C,p as m,ct as P,y as T,u as p,al as D}from"./index-CNJQ6T57.js";import{a as h}from"./sentry-9b1mvxJ5.js";import{n as o}from"./mui-DsjrNjDe.js";import{$ as E}from"./BoxItem-C0M4PSXY-D0kSlmNN.js";import{o as B}from"./commonDimensions-BpYNnQtf-BVrF2eSg.js";import{O as M}from"./StatementItem-D2Fx65LN-DEt1HHDA.js";import"./liveblocks-CUDrE-0X.js";import"./core-Be77t6wT.js";import"./recharts-CmZa-egc.js";import"./zeni-epic-state-DJX8u9R8.js";import"./lottie-C5G-hUN3.js";import"./analytics-DH2FWXQR.js";import"./lexical-4qH-Yr6_.js";import"./utils-VcZ1Xqjg.js";import"./downloadPdf-WDHjFv79-x1y7Noz9.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]="a8b37857-abc3-4539-85fe-76ffcfb1d046",e._sentryDebugIdIdentifier="sentry-dbid-a8b37857-abc3-4539-85fe-76ffcfb1d046")}catch{}})();const b=C.getLocalizedStrings().spendManagement.treasury.statements,u={listItemMargin:new T(p[3],p[8])},re=({currentTenantCompanyName:e,authParams:n,downloadEndPoint:c,statementListView:a,onBackClick:w})=>{const g=j(),i=v(),y=h.createRef(),x=h.useRef(),$=a.statements.length===0,k=()=>B.transactionItemHeightResponsive.value(i),S=({index:s,style:l})=>{const d=a.statements[s];return $===!1?t.jsx(f,{windowSize:i,style:{...l,width:`calc(100% - 2*${u.listItemMargin.valuePx(i)})`},children:t.jsx(M,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:n,downloadEndPoint:c,documentType:"treasuryStatement",boxType:E(s,a.statements.length)},d.id)}):t.jsx(R,{style:{...l},children:t.jsx(_,{children:t.jsx(f,{windowSize:i,children:t.jsx(N,{children:b.noStatements})})})})};return t.jsxs(L,{children:[t.jsx(I,{title:b.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:w,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(z,{children:({height:s,width:l})=>t.jsx(H,{ref:y,height:s,width:l,innerRef:x,itemKey:d=>d,itemCount:a.statements.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},R=o.div``,f=o.div`
|
|
2
|
-
margin: ${e=>`${r.sp0} ${u.listItemMargin.valuePx(e.windowSize)}`};
|
|
3
|
-
&:hover {
|
|
4
|
-
position: relative;
|
|
5
|
-
z-index: 2;
|
|
6
|
-
}
|
|
7
|
-
`,_=o.div`
|
|
8
|
-
display: flex;
|
|
9
|
-
height: 100%;
|
|
10
|
-
flex: 1 1 auto;
|
|
11
|
-
flex-direction: row;
|
|
12
|
-
justify-content: center;
|
|
13
|
-
align-items: flex-end;
|
|
14
|
-
`,L=o.div`
|
|
15
|
-
display: flex;
|
|
16
|
-
height: 100%;
|
|
17
|
-
flex-direction: column;
|
|
18
|
-
width: 100%;
|
|
19
|
-
padding-bottom: ${r.sp7};
|
|
20
|
-
`,N=o(D)`
|
|
21
|
-
display: flex;
|
|
22
|
-
color: ${e=>e.theme.colors.grey2};
|
|
23
|
-
`,V=o.div`
|
|
24
|
-
display: flex;
|
|
25
|
-
flex-direction: column;
|
|
26
|
-
width: 100%;
|
|
27
|
-
height: 100%;
|
|
28
|
-
margin-top: ${e=>e.windowSize==="small"?r.sp3:r.sp6};
|
|
29
|
-
`,H=o(P)`
|
|
30
|
-
scrollbar-width: thin;
|
|
31
|
-
scrollbar-color: transparent transparent;
|
|
32
|
-
&::-webkit-scrollbar {
|
|
33
|
-
width: ${r.sp2};
|
|
34
|
-
height: ${r.sp0};
|
|
35
|
-
background-color: transparent;
|
|
36
|
-
}
|
|
37
|
-
&::-webkit-scrollbar-track {
|
|
38
|
-
box-shadow: inset 0 0 2px ${m.scrollbarBoxShadow};
|
|
39
|
-
-webkit-box-shadow: inset 0 0 2px ${m.scrollbarBoxShadow};
|
|
40
|
-
background-color: transparent;
|
|
41
|
-
}
|
|
42
|
-
&::-webkit-scrollbar-thumb {
|
|
43
|
-
background-color: transparent;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
&:hover {
|
|
47
|
-
scrollbar-color: ${e=>e.theme.colors.grey1} transparent;
|
|
48
|
-
&::-webkit-scrollbar {
|
|
49
|
-
width: ${r.sp2};
|
|
50
|
-
height: ${r.sp0};
|
|
51
|
-
background-color: transparent;
|
|
52
|
-
}
|
|
53
|
-
&::-webkit-scrollbar-thumb {
|
|
54
|
-
background-color: ${e=>e.theme.colors.grey1};
|
|
55
|
-
border-radius: 2px;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
`;export{re as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{aQ as i,F as w,V as r,h$ as x,i0 as E}from"./index-CNJQ6T57.js";import{a as s}from"./sentry-9b1mvxJ5.js";import"./liveblocks-CUDrE-0X.js";import"./core-Be77t6wT.js";import"./recharts-CmZa-egc.js";import"./zeni-epic-state-DJX8u9R8.js";import"./mui-DsjrNjDe.js";import"./lottie-C5G-hUN3.js";import"./analytics-DH2FWXQR.js";import"./lexical-4qH-Yr6_.js";import"./utils-VcZ1Xqjg.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]="bd7105f4-f5fa-4c99-8b7a-881daaa2f934",t._sentryDebugIdIdentifier="sentry-dbid-bd7105f4-f5fa-4c99-8b7a-881daaa2f934")}catch{}})();const H=({vendorViewDetails:t,isExpressPayPage:a,onSaveVendor:c,onGetOtp:S,onResendOtp:h,onVerifyOtp:g,onVerifyOtpSuccess:p})=>{const{loggedInUserVerification:e,editVendorState:m,newVendorState:V}=t,f=Object.assign({},m??V),[b,o]=s.useState(!1),[y,n]=s.useState(e.initiateVerification===!0),u=i(f?.saveStatus?.fetchState),C=i(e.userVerificationStatus.fetchState),d=i(e.otpVerificationStatus?.fetchState),l=i(e.sendOtpStatus.fetchState),O=w.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return s.useEffect(()=>{u==="In-Progress"&&f?.saveStatus?.fetchState==="Error"&&e.initiateVerification===!0&&n(!0)},[f,e,u]),s.useEffect(()=>{C==="In-Progress"&&e.userVerificationStatus.fetchState==="Completed"&&(o(!1),c())},[e.userVerificationStatus]),s.useEffect(()=>{d==="In-Progress"&&e.otpVerificationStatus?.fetchState==="Completed"&&p?.(e.userId??"",e.phone??"",e.otpChallenge??"")},[d,e,p]),s.useEffect(()=>{l==="In-Progress"&&e.sendOtpStatus.fetchState==="Completed"&&(o(!0),n(!1))},[l,e.sendOtpStatus.fetchState]),r.jsx(r.Fragment,{children:b===!0?r.jsx(x,{showHelperText:!a,verifyOtpFetchState:e.otpVerificationStatus.fetchState,phoneNumber:e.phone??"",otpChallenge:e.otpChallenge,action:{onVerifyClick:g,onCancelClick:()=>o(!1),onResendOtp:h,onEditButtonClick:()=>{n(!0),o(!1)}}}):y===!0?r.jsx(E,{showHelperText:!a,phoneNumber:e.phone??"",sendOtpFetchState:e.sendOtpStatus.fetchState,description:a?O:void 0,action:{onCancelClick:()=>n(!1),onGetCodeClick:I=>S?.(I)}}):null})};export{H as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{V as p}from"./index-CNJQ6T57.js";import{a as m}from"./sentry-9b1mvxJ5.js";import{f as u}from"./ACHDetailsPage-BOZmOJHO-DA9D4iJH.js";import"./liveblocks-CUDrE-0X.js";import"./core-Be77t6wT.js";import"./recharts-CmZa-egc.js";import"./zeni-epic-state-DJX8u9R8.js";import"./mui-DsjrNjDe.js";import"./lottie-C5G-hUN3.js";import"./analytics-DH2FWXQR.js";import"./lexical-4qH-Yr6_.js";import"./utils-VcZ1Xqjg.js";import"./BankAccountWarningSection-uMOXLH0B-ZXC_xQuj.js";import"./MagicLinkTitleSection-77rxhjLm-DuK-hJU3.js";import"./BankAccountSection-BkOlwayA-DP864Lrq.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]="13f223b1-edc0-42e1-be6d-41f8c3d62ce2",e._sentryDebugIdIdentifier="sentry-dbid-13f223b1-edc0-42e1-be6d-41f8c3d62ce2")}catch{}})();const I=({vendorViewDetails:e,bankAccountContext:t,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:o,onFetchBankName:d})=>{const{bankAccountCreationState:a,bankNameByRouting:s,bankAccountToCreate:c,fetchBankNameByRoutingStatus:f}=e;return m.useEffect(()=>{(t==="vendor"&&a?.fetchState==="Completed"||e.editVendorState?.saveStatus.fetchState==="Completed"&&t!=="express-pay")&&o()},[a,e.editVendorState?.saveStatus.fetchState,t,o]),p.jsx(u,{bankAccountToCreate:c,bankAccountCreationState:a,bankNameByRouting:s,fetchBankNameByRoutingStatus:f,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:o,onFetchBankName:d})};export{I as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{V as l}from"./index-CNJQ6T57.js";import{a as k}from"./sentry-9b1mvxJ5.js";import{D as y}from"./DomesticWireDetailsPage-B12tNa6e-DRCqor_l.js";import"./liveblocks-CUDrE-0X.js";import"./core-Be77t6wT.js";import"./recharts-CmZa-egc.js";import"./zeni-epic-state-DJX8u9R8.js";import"./mui-DsjrNjDe.js";import"./lottie-C5G-hUN3.js";import"./analytics-DH2FWXQR.js";import"./lexical-4qH-Yr6_.js";import"./utils-VcZ1Xqjg.js";import"./BankAccountSection-BkOlwayA-DP864Lrq.js";import"./MagicLinkTitleSection-77rxhjLm-DuK-hJU3.js";import"./BankAccountWarningSection-uMOXLH0B-ZXC_xQuj.js";import"./MailingDetailsSection-BJfZvT0b-Cqv93bBS.js";import"./LabeledAddressValueField-D6dEaI69-DANZLTzI.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]="0dcba0ed-c512-486b-93db-08660a8cff7e",e._sentryDebugIdIdentifier="sentry-dbid-0dcba0ed-c512-486b-93db-08660a8cff7e")}catch{}})();const j=({vendorViewDetails:e,bankAccountContext:t,isDisabled:r,onSaveHandler:d,onWireDetailsUpdated:s,onBackClick:o,onFetchBankName:i,onAddressClick:c})=>{const{bankAccountCreationState:n,editVendorState:p,newVendorState:m,bankNameByRouting:f,bankAccountToCreate:u,fetchBankNameByRoutingStatus:b}=e,a=Object.assign({},p??m);return k.useEffect(()=>{(t==="vendor"&&n?.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&o()},[n,a?.saveStatus?.fetchState,o,t]),l.jsx(y,{bankAccountToCreate:u,bankAccountCreationState:n,bankNameByRouting:f,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:b,isDisabled:r,onSaveHandler:d,onWireDetailsUpdated:s,onBackClick:o,onAddressClick:c,onFetchBankName:i})};export{j as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{V as S}from"./index-CNJQ6T57.js";import{a as k}from"./sentry-9b1mvxJ5.js";import{f as b}from"./InternationalWireSwiftDetailsPage-DgrN5Xg7-ik2bKR2J.js";import"./liveblocks-CUDrE-0X.js";import"./core-Be77t6wT.js";import"./recharts-CmZa-egc.js";import"./zeni-epic-state-DJX8u9R8.js";import"./mui-DsjrNjDe.js";import"./lottie-C5G-hUN3.js";import"./analytics-DH2FWXQR.js";import"./lexical-4qH-Yr6_.js";import"./utils-VcZ1Xqjg.js";import"./BankAccountWarningSection-uMOXLH0B-ZXC_xQuj.js";import"./MailingDetailsSection-BJfZvT0b-Cqv93bBS.js";import"./LabeledAddressValueField-D6dEaI69-DANZLTzI.js";import"./MagicLinkTitleSection-77rxhjLm-DuK-hJU3.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]="d800c495-55cd-4b5d-8d47-5de244624ec1",e._sentryDebugIdIdentifier="sentry-dbid-d800c495-55cd-4b5d-8d47-5de244624ec1")}catch{}})();const F=({vendorViewDetails:e,bankAccountContext:t,isDisabled:d,onSaveHandler:r,onBankDetailsUpdated:i,onBackClick:n,onFetchBankNameBySwift:s,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:o,internationalBankAccountToCreate:f,editVendorState:m,newVendorState:l,bankNameBySwift:p,fetchBankNameBySwiftStatus:u}=e,a={...m??l};return k.useEffect(()=>{(t==="vendor"&&o.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed")&&n()},[o,a?.saveStatus?.fetchState,n,t]),S.jsx(b,{bankAccountToCreate:f,bankAccountCreationState:o,bankNameBySwift:p,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:u,isDisabled:d,onSaveHandler:r,onBankDetailsUpdated:i,onBackClick:n,onAddressClick:c,onFetchBankNameBySwift:s})};export{F as default};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import{aw as P,fW as N,V as i,aP as _,h4 as p,hz as y,F as z,o as r,h6 as B}from"./index-CNJQ6T57.js";import{n as g}from"./mui-DsjrNjDe.js";import{bS as I}from"./zeni-epic-state-DJX8u9R8.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]="fe42468b-e23f-4c8d-ad33-ec8ee3aae367",e._sentryDebugIdIdentifier="sentry-dbid-fe42468b-e23f-4c8d-ad33-ec8ee3aae367")}catch{}})();const n=z.getLocalizedStrings().spendManagement.zeniAccounts,f=[{value:"editNickName",label:n.moveMoney.editNickName},{value:"accountStatement",label:n.moveMoney.accountStatement}],m={value:"payBill",label:n.moveMoney.payBills},b={value:"transfer",label:n.moveMoney.transfer},v={value:"sendMoney",label:n.moveMoney.sendMoney,isNew:!0},M={value:"checkDeposit",label:n.moveMoney.checkDeposit},O=[m,b,v,M],$=[v,b,m,M],C=({zeniBankProps:e,isBillPayEnabled:a,isExpressPayEnabled:c,analytics:h,onSettingsClick:w})=>{const l=P(),s=l.loggedInUserRoleMap.deposit_accounts_user===!0||N(l),k=I(l.loggedInUserRoleMap),x=f.filter(t=>t.value==="accountStatement"),d=a===!0?O:$,u=c===!0?d:d.filter(t=>t.value!=="sendMoney"),S=k?u:u.filter(t=>t.value!=="payBill");return i.jsxs(A,{isTopAlign:e.pageName==="detailPage",children:[e.pageName==="listPage"&&!s?i.jsx(D,{onClick:w,"data-testid":_("zeni-accounts-settings-button")}):e.pageName==="detailPage"&&i.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const o=y(t);o!=null&&e.onOptionSelection(o)},isMoreOption:!0,options:s?x:f,title:n.moveMoney.title}),s?null:i.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const o=y(t);o!=null&&e.onOptionSelection(o)},isMoreOption:!1,options:S,title:n.moveMoney.title,onMenuOpen:()=>h?.trackAccountsListPageClicked("Move Money")})]})},D=g(B)`
|
|
2
|
-
cursor: pointer;
|
|
3
|
-
min-width: ${r.sp4};
|
|
4
|
-
width: ${r.sp4};
|
|
5
|
-
height: ${r.sp4};
|
|
6
|
-
color: ${e=>e.theme.colors.hero};
|
|
7
|
-
&:hover {
|
|
8
|
-
color: ${e=>e.theme.colors.primary};
|
|
9
|
-
}
|
|
10
|
-
`,A=g.div`
|
|
11
|
-
display: flex;
|
|
12
|
-
flex-direction: row;
|
|
13
|
-
align-items: ${({isTopAlign:e})=>e?"flex-start":"center"};
|
|
14
|
-
`;export{C as T};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import{d as ye,J as we,aQ as O,a9 as Se,cF as Ae,aV as B,V as t,fd as xe,p as Ce,y as f,bC as Pe,T as ke,ac as ve,fw as Fe,dQ as Te,fx as Ve,bw as Ie,aR as ze,o as De,fz as Ee,F as je,u as a,al as Ue}from"./index-CNJQ6T57.js";import{a as g}from"./sentry-9b1mvxJ5.js";import{n as w}from"./mui-DsjrNjDe.js";import{g as Oe}from"./UploadAdditionalDocumentOverlay-DCldWCol-B3iVz4fI.js";import"./liveblocks-CUDrE-0X.js";import"./core-Be77t6wT.js";import"./recharts-CmZa-egc.js";import"./zeni-epic-state-DJX8u9R8.js";import"./lottie-C5G-hUN3.js";import"./analytics-DH2FWXQR.js";import"./lexical-4qH-Yr6_.js";import"./utils-VcZ1Xqjg.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},p=new e.Error().stack;p&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[p]="aedffda6-c817-4291-8260-b9554404b8cb",e._sentryDebugIdIdentifier="sentry-dbid-aedffda6-c817-4291-8260-b9554404b8cb")}catch{}})();const c={titleWidth:new f(343,580,726,826),setupDetailsRowGap:new f(12,a[5],a[5]),sectionRowGap:new f(a[5],a[9],a[9]),iconWidthHeight:new f(20,a[4]),subTitlePaddingTop:new f(12,a[3]),subTitlePaddingBottom:new f(a[3],a[3]),overlayWidth:new f(100,100,59)},_="zeniAccountSetUpPage",v="payAccount",{common:Be,commonSetUp:R,spendManagement:_e}=je.getLocalizedStrings(),{zeniAccounts:W}=_e,{zeniAccountSetUp:I}=W,{setUp:z}=R,nt=({isDisabled:e,meetingUrl:p,zeniAccountSetUpView:l,analytics:d,connectedAccountProvider:s,filesEndPoint:H,authParams:Z,accountsPromoConfig:q,onFetchLinkTokenClick:M,onBackClick:N,onEnableZeniAccountClick:G,onUpdatePrimaryFundingAccount:J,onUpdateZeniAccountClick:Q,onBusinessVerificationSectionClick:K,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionClick:ee,onEstablishConnectionSuccess:te,onClickMenuIcon:ne,onEnableZeniAccountSuccess:S,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})=>{const A=ye(),i=we(),[x,h]=g.useState(!1),{fetchState:b,companyBillPayInfo:D,isRefreshingViewInBackground:le,updateStatus:u,accountUpdateStatus:de,plaidConnectionDetails:ue,allBankAccounts:re,companyZeniAccountInfo:fe,selectedCompanyOfficer:o,primaryFundingAccount:m,allFundingAccounts:E}=l,j=O(b),C=O(u.fetchState),F=Se({mode:"all",reValidateMode:"onChange",defaultValues:g.useMemo(()=>L(l),[l]),values:L(l)}),pe=F.handleSubmit(y=>{d.trackEnableZeniAccounts(),G()}),me=async(y,k)=>{const n=k[v];if(y.includes(v)){if(y.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&m?.id!=n.fundingAccount.selectedOption){const r=E.find(V=>V.id===n.fundingAccount.selectedOption);r!=null&&J(n.fundingAccount.selectedOption,r.accType)}}else if(n.account.selectedOption!=null&&m?.id!=null&&m?.zeniAccountId!=n.account.selectedOption){const r=n.account.allOptions.find(V=>V.value===n.account.selectedOption);r!=null&&typeof r.label=="string"&&d.trackConnectBankLink(r.value,r.label,"zeni_accounts"),Q(n.account.selectedOption,m.id,m.accType)}}};g.useEffect(()=>{!x&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"&&h(!0),x&&j==="In-Progress"&&b==="Completed"&&h(!1)},[o,b,j]),g.useEffect(()=>{const y=F.watch((k,{name:n})=>{n!=null&&k!=null&&Ae(()=>me(n,k))});return()=>{y.unsubscribe()}}),g.useEffect(()=>{C==="In-Progress"&&u.fetchState==="Completed"&&S()},[S,C,u.fetchState]);const P=fe?.isZeniAccountEnabled===!0,T=D?.isBusinessVerified===!0,ge=b==="In-Progress"||b==="Not-Started";g.useEffect(()=>{C==="In-Progress"&&u.fetchState==="Completed"&&S()},[S,C,u.fetchState]);const he=T?R.setUp.setupVerifiedSubTitle:I.setupSubTitle,U=A.mode==="light"?new B(A.colors.brandColorJadeLight):new B(A.colors.brandColorJadeDark),be=()=>{!x&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"?h(!0):K?.()};return t.jsxs($e,{children:[t.jsx(xe,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:x,onClose:()=>h(!1),style:{backgroundColor:Ce.drawerBackground},transitionDuration:250,children:t.jsx(Oe,{authParams:Z,filesEndPoint:H,updateStatus:u,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,companyOfficer:o,onClose:()=>h(!1),onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})}),t.jsx(Pe,{title:I.setupTitle,backgroundColor:A.colors.grey4,style:{zIndex:3},onBackClick:N,showMenuIcon:!P&&(i==="medium-compact"||i==="small"),onClickMenuIcon:ne,source:"ZeniAccountSetupPage"}),t.jsxs(Le,{windowSize:i,children:[t.jsx(Re,{windowSize:i,children:he}),ge?t.jsx(We,{children:t.jsx(ke,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...F,children:t.jsx("form",{id:$(_),onSubmit:pe,children:t.jsxs(He,{windowSize:i,children:[t.jsx(Fe,{onClick:be,title:z.businessVerificationTitle,subTitle:z.businessVerificationSubTitle,header:z.businessVerificationHeader,icon:{element:t.jsx(Te,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:U},status:D?.businessVerificationStatus,isLoading:le,isActiveWhileLoading:!0}),t.jsx(Ve,{connectedAccountProvider:s,plaidConnectionDetails:ue,allBankAccounts:re,sectionId:v,isDisabled:e,header:W.accountSectionHeader,onFetchLinkTokenClick:M,onEstablishConnectionClick:ee,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionSuccess:te,icon:{element:t.jsx(Ie,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:U},analytics:d,productType:"zeni_accounts",primaryFundingAccount:m,isAccountsEnabled:P,allFundingAccounts:E,pageName:"Zeni Account Setup",accountsPromoConfig:q})]})})})]}),T&&!P?t.jsx(ze,{formId:$(_),primaryBtn:{label:I.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"||de.fetchState==="In-Progress",isDisabled:e!=null},showCancel:!1,cancelBtn:{label:Be.strings.empty},style:{padding:`12px ${De.sp3}`}}):null,t.jsx(Ee,{isFooterRendered:T&&!P,meetingUrl:p,analytics:d,productType:"zeni_accounts"})]})},L=e=>{const{allBankAccounts:p,allFundingAccounts:l,primaryFundingAccount:d}=e;return{[v]:{fundingAccount:{selectedOption:d?.id,allOptions:l.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},account:{selectedOption:d?.zeniAccountId,allOptions:p.map(s=>({label:s.accountName,value:s.accountId}))}}}},Le=w.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
justify-content: flex-start;
|
|
4
|
-
height: 100%;
|
|
5
|
-
overflow-y: auto;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
align-items: center;
|
|
8
|
-
row-gap: ${e=>c.setupDetailsRowGap.valuePx(e.windowSize)};
|
|
9
|
-
`,$e=w.div`
|
|
10
|
-
display: flex;
|
|
11
|
-
min-height: 100%;
|
|
12
|
-
height: 100%;
|
|
13
|
-
flex-direction: column;
|
|
14
|
-
width: 100%;
|
|
15
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
16
|
-
`,Re=w(Ue)`
|
|
17
|
-
color: ${e=>e.theme.colors.hero};
|
|
18
|
-
display: flex;
|
|
19
|
-
justify-content: center;
|
|
20
|
-
width: ${e=>c.titleWidth.valuePx(e.windowSize)};
|
|
21
|
-
padding-top: ${e=>c.subTitlePaddingTop.valuePx(e.windowSize)};
|
|
22
|
-
padding-bottom: ${e=>c.subTitlePaddingBottom.valuePx(e.windowSize)};
|
|
23
|
-
text-align: ${e=>e.windowSize==="small"?"initial":"center"};
|
|
24
|
-
`,We=w.div`
|
|
25
|
-
display: flex;
|
|
26
|
-
width: 100%;
|
|
27
|
-
height: calc(100vh - 110px);
|
|
28
|
-
flex-direction: row;
|
|
29
|
-
justify-content: center;
|
|
30
|
-
align-items: center;
|
|
31
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
32
|
-
`,He=w.div`
|
|
33
|
-
display: flex;
|
|
34
|
-
flex-direction: column;
|
|
35
|
-
row-gap: ${e=>c.sectionRowGap.valuePx(e.windowSize)};
|
|
36
|
-
`,$=e=>`${e}_form`;export{nt as default,$ as uniqueName};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e as d}from"./index-CNJQ6T57.js";import"./sentry-9b1mvxJ5.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]="ea662f9d-46df-4728-bd52-288e8248e83c",e._sentryDebugIdIdentifier="sentry-dbid-ea662f9d-46df-4728-bd52-288e8248e83c")}catch{}})();const t=(e,i,a,n)=>{d.identify(e.userId,{tenant_id:a?.tenantId,tenant_email_domain:a?.tenantEmailDomain,company_id:a?.companyId,company_name:a?.companyName,user_role:a?.userRole,$email:e.userEmail,user_email_domain:e.userEmailDomain,$first_name:e.firstName,$last_name:e.lastName,company_ids:void 0,company_names:void 0,user_roles:void 0,app_type:"web",appearance:i})};export{t as f};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{F as s}from"./index-CNJQ6T57.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new o.Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="2ee12513-814a-4593-b14e-62990bf2cd6c",o._sentryDebugIdIdentifier="sentry-dbid-2ee12513-814a-4593-b14e-62990bf2cd6c")}catch{}})();const t=["government_contracts_grants","donations_fundraising","import_export_revenue"],n=["1000001_2000000","over_2000000"],g=["cash_heavy_operations","professional_services_handling_funds","charitable_nonprofit","commercial_cash_operations","third_party_payment_processing"],{cardBrands:a}=s.getLocalizedStrings().cardPayment,r={visa:{name:a.visa,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/visa.svg"},mastercard:{name:a.mastercard,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/mastercard.svg"},american_express:{name:a.american_express,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/amex.svg"},discover:{name:a.discover,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/discover-global.svg"},jcb:{name:a.jcb,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/jcb-card.svg"},diners_club:{name:a.diners_club,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/dinersclub.svg"},unionpay:{name:a.unionpay,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},rupay:{name:a.rupay,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/rupay-card.svg"},bancontact:{name:a.bancontact,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},cmr_falabella:{name:a.cmr_falabella,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},tarjeta_naranja:{name:a.tarjeta_naranja,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},nativa:{name:a.nativa,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},cencosud:{name:a.cencosud,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},cabal:{name:a.cabal,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},argencard:{name:a.argencard,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},elo:{name:a.elo,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/elo-card.svg"},hipercard:{name:a.hipercard,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/hipercard.svg"},carnet:{name:a.carnet,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/carnet.svg"},maestro:{name:a.maestro,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/maestro.svg"},not_applicable:{name:a.not_applicable,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},eftpos_australia:{name:a.eftpos_australia,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},girocard:{name:a.girocard,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},other:{name:a.other,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},unknown:{name:a.unknown,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"}};export{n as i,r as n,t as p,g as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{cf as r,cg as i,ch as l}from"./index-CNJQ6T57.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]="9a58c820-d12a-4403-8b80-4e4af4166f1c",e._sentryDebugIdIdentifier="sentry-dbid-9a58c820-d12a-4403-8b80-4e4af4166f1c")}catch{}})();async function u(e,a,n,t,s=!1){t?.(!0);try{const o=await r({urlEndPoint:e,authParams:n,fileType:"pdf"});if(o.ok){const d=i(o.headers,a),f=await o.arrayBuffer();l(f,s?d:a),t?.(!1)}else console.error(`${a} download Failed with ${o.statusText}`),t?.(!1)}catch(o){console.error(`${a} download Failed with ${JSON.stringify(o)}`),t?.(!1)}}export{u as w};
|