@zeniai/web-cockpit-ui 1.15.47-dev → 1.15.48-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-D2Xav-UW-Bfz777OP.js +21 -0
- package/dist/assets/{AIPerformancePage-DJBLMHvs-iLI9KDLf.js → AIPerformancePage-DlTdGosv-C-O0nWEk.js} +105 -105
- package/dist/assets/AccountInfoPage-B8-8kUGD-BK55XEFQ.js +18 -0
- package/dist/assets/{AccountInfoPageContent-C0dKzQoF-BOCBaroQ.js → AccountInfoPageContent-BS2TBUSE-yixZKJJd.js} +15 -15
- package/dist/assets/{AccountLockedInfoModal-Cy1ahm9k-BxoMcyLt.js → AccountLockedInfoModal-aukulrV7-BghUJRSx.js} +11 -11
- package/dist/assets/{AccountReconDetailsDrawerPage-DQdf3Wk4-CbpITftp.js → AccountReconDetailsDrawerPage-kQJld6_N-CTXzE170.js} +19 -19
- package/dist/assets/AccountRow-BiEYR4Y1-CNf1wUw2.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-Vwu9llOu-CnOXSXsq.js → AccountsPromoCardStack-DBQnDPXQ-BsmcJo7C.js} +32 -32
- package/dist/assets/AddAddressForCardDrawer-DTnfk8K7-BnQvSUBa.js +6 -0
- package/dist/assets/{AddToWalletPage-C6oLCkE7-C3vtPZC0.js → AddToWalletPage-C4EwdLZJ-DPPfaq4h.js} +18 -18
- package/dist/assets/{AgingReportsPage-DAe2E6ey-BAsTv0B2.js → AgingReportsPage-vAvkUfOS-eLupiUU4.js} +7 -7
- package/dist/assets/{AllUserItems-6sLrlL8E-DpxFsjkv.js → AllUserItems-qrYg6Gdx-CexfoJXZ.js} +11 -11
- package/dist/assets/ApAgingDetailPage-BRYQMwo2-s_dBzDV6.js +46 -0
- package/dist/assets/{AppBasePage-CtA9oCF7-D92abhWD.js → AppBasePage-DrE-W6d7-Bq2ai-ng.js} +8 -8
- package/dist/assets/{AppDrawerContent-BBkCJjf8-BybjdyD6.js → AppDrawerContent-ATbZG_cu-C_LUaX21.js} +5 -5
- package/dist/assets/ApprovalRulesSettingsPage-5MYC1I6k-BnQPq9AM.js +47 -0
- package/dist/assets/{ArAgingChart-zTqy57EG-Dm-WcY4b.js → ArAgingChart-CuzG9AZY-CBzkLPD8.js} +6 -6
- package/dist/assets/ArAgingDetailPage-DwRkcLEu-BW0txT0n.js +46 -0
- package/dist/assets/{AttachmentView-DAEi6O2i-CRQnb5l5.js → AttachmentView-BrQRChzc-gMo83IaQ.js} +6 -6
- package/dist/assets/{BankAccountSection-I-uZ-Yd2-0VZeMO0Z.js → BankAccountSection-hcKEMs80-C67in8I4.js} +6 -6
- package/dist/assets/BankAccountWarningSection-CpxVDMSZ-Ch8LfSH9.js +51 -0
- package/dist/assets/{BankConnectionsSettingsPage-D8V4bq-1-wYDIpQQB.js → BankConnectionsSettingsPage-Bdw1K00m-CZPCyWyx.js} +30 -30
- package/dist/assets/BillDetailPage-D0NLFZXA-B588FQUy.js +266 -0
- package/dist/assets/{BillPayApprovalRuleDetailPage-fsIdZfeP-CA1hTToh.js → BillPayApprovalRuleDetailPage-DkpCvYvo-D8q32jGy.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-CawYbj9Y-C8NzV5so.js → BillPayApprovalRulesPage-BEqZD0GU-CAnnaIQP.js} +19 -19
- package/dist/assets/BillPayPromoPage-BMcP4EU5-Bsnvs3ku.js +84 -0
- package/dist/assets/{BillPaySetUpPage-BiMDn7ZO-Bk6vBQAJ.js → BillPaySetUpPage-WdEdbf16-BT3nFT0U.js} +4 -4
- package/dist/assets/BillingSettingsPage-GtRUqSZm-C4t1HRnl.js +44 -0
- package/dist/assets/BillsBulkReviewDrawerPage-DAUoo9pq-DtA8Ct8E.js +1 -0
- package/dist/assets/{BoxItem-mA2l070e-DKIWhdy7.js → BoxItem-CACRFWG2-ByiTZQgF.js} +1 -1
- package/dist/assets/BusinessVerificationPage-9gZbBDL6-CHA00m4Y.js +138 -0
- package/dist/assets/{CardNumberSubText-H4wtwe6R-CVi7j9Nt.js → CardNumberSubText-C-oVdziK-Cq3VPImW.js} +3 -3
- package/dist/assets/{CashbackDetailPage-Bo_bsGqF-ButLTwgN.js → CashbackDetailPage-BhFKSl4p-ewrE6dWH.js} +28 -28
- package/dist/assets/{ChargeCardDetailPage-DKWkYV7Z-CddIMjKt.js → ChargeCardDetailPage-D8J6HINu-CzxUCqhO.js} +20 -20
- package/dist/assets/{ChargeCardListPage-Dfa_PX3G-CgibIpQD.js → ChargeCardListPage-tdUKyHdz--1Qr1SRx.js} +16 -16
- package/dist/assets/{ChargeCardListTable-GyVhj7uY-DDdTqmU3.js → ChargeCardListTable-CByk3iqX-BeCD5LdA.js} +55 -55
- package/dist/assets/{ChargeCardPaymentHistoryPage-7dGO_5iu-lPBFnLZd.js → ChargeCardPaymentHistoryPage-B8zRcrjo-CkVYMc70.js} +34 -34
- package/dist/assets/{ChargeCardPromoPage-CdWji5S5-BrnExXgk.js → ChargeCardPromoPage-C4cgx2gm-CkQvUCt_.js} +30 -30
- package/dist/assets/{ChargeCardSetupPage-vwbBIYjC-BAacWjKb.js → ChargeCardSetupPage-DtwiTNKA-WssSZZMh.js} +3 -3
- package/dist/assets/{ChargeCardStatementsPage-wAqoDc2D-BFeCByOF.js → ChargeCardStatementsPage-B0KPw52e-CjOL8QcR.js} +8 -8
- package/dist/assets/{CheckDepositDrawerPage-C3wR53BH-B78xbDtI.js → CheckDepositDrawerPage-DKNAXI77-CwWWbDuR.js} +15 -15
- package/dist/assets/{CollapsableReportTable-D2dtXfS_-BdWkgbsB.js → CollapsableReportTable-Cq8bhaYC-sMsxrigZ.js} +272 -272
- package/dist/assets/{CompanyOfficerDetailsSection-C1yoAdZ6-B9_PbeF5.js → CompanyOfficerDetailsSection-Rk0B5cB5-JGxyR29X.js} +32 -32
- package/dist/assets/{CompanyPassportCard-BZ_FCAKT-Cwwjpb-3.js → CompanyPassportCard-CHaKk74P-B2_ZiFli.js} +9 -9
- package/dist/assets/{CompanyPassportPage-Cq6S4mp6-UdzUDRuj.js → CompanyPassportPage-DXWXFFKM-BSWnHzV_.js} +36 -36
- package/dist/assets/{CompleteProfile-CBT17ax6-DYIsbIsy.js → CompleteProfile-ChaWsK6t-BWU7y1Ur.js} +2 -2
- package/dist/assets/ConfettiBurst-CdB5fRMt-BpKzQcdE.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-BmJp_gGJ.js → ConstrainedInnerElement-BeIpAPjB-DNicMQ8z.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-ClqI4j2U-BHL0P8Te.js → CreateOrEditVendorPage-C_8Jqubo-Dp_EGm5j.js} +11 -11
- package/dist/assets/{CreditCardPaymentDrawerPage-CtM4-nS0-BKJTmcZU.js → CreditCardPaymentDrawerPage-lOjOtk28-DUDc8hji.js} +15 -15
- package/dist/assets/CurrencySelectField-BDqU4HVy-C2JVgM83.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-DejhV7FX-8Rok_hOE.js → CustomerOnboardingActivationPage-DO6NCakm-DJ0wwxyO.js} +29 -29
- package/dist/assets/CustomerOnboardingContainerPage-CckCX7Vt-3rxX8yl4.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DTd8-dHU-BMw7YnFS.js → CustomerOnboardingDetailPageSkeleton-BYXyF1CQ-DzZiwltK.js} +17 -17
- package/dist/assets/CustomerOnboardingNoStepsPage-CbG5WshV-Ih9fR2Ck.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-LCVn__U7-BhQ2ekET.js → CustomerOnboardingPage-DyVyf8oK-BPk9Ux7h.js} +16 -16
- package/dist/assets/{CustomerOnboardingProductSuitePage-CniahiZc-DWeQdDUe.js → CustomerOnboardingProductSuitePage-1F3JfCRp-8xZH_qGW.js} +13 -13
- package/dist/assets/{Dashboard-CnwoksS9-Cj6x2TqP.js → Dashboard-Csggwob0-BEFQIWvp.js} +66 -66
- package/dist/assets/{DashboardReportPage-qKhiq9te-FT01lDlD.js → DashboardReportPage-DFIdi_I0-CkaE8ALl.js} +22 -22
- package/dist/assets/DashboardSidebarBackgroundAnimation-C3Ovv-ob-BQ7iP2W9.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-CIY2jU_O-CNSGbCvC.js → DepositAccTransactionItem-CZ7v1T4S-DmLfirr4.js} +6 -6
- package/dist/assets/{DepositAccTransactionListPage-DfhVFXvq-B738llu8.js → DepositAccTransactionListPage-FldPGX6K-B5JNFWiD.js} +4 -4
- package/dist/assets/{DomesticWireDetailsPage-DSdkrnnn-5AqQiSCx.js → DomesticWireDetailsPage-C--eZ-UG-UT6ULanE.js} +2 -2
- package/dist/assets/{DownloadOverlay-DLbD0wMn-DFyBDJuM.js → DownloadOverlay-4f9deyJS-BVIQGklQ.js} +26 -26
- package/dist/assets/{DrawerPage-CCZXoj1F-DCS5WSNv.js → DrawerPage-roO3xvRT-BOp9n67_.js} +11 -11
- package/dist/assets/EditPeoplePage-pi5RclAj-aeWIx4uA.js +55 -0
- package/dist/assets/EditReimbursementDetailPage-CIUcImns-mFlw6SLO.js +865 -0
- package/dist/assets/EntityDetailPage-OTKTVNMD-D-mJ3GEZ.js +18 -0
- package/dist/assets/{EntitySummarySection-BVG0N8QO-B29acNJ9.js → EntitySummarySection-fBL4TZpT-Do-s3IXr.js} +32 -32
- package/dist/assets/{ExpenseAutomationOverviewPage-DDTNyUiN-C6hbKIHH.js → ExpenseAutomationOverviewPage-CnhNINCc-kjQ2nbJ0.js} +47 -47
- package/dist/assets/ExpenseAutomationPage-BDLCJbFw-CupfErQE.js +1703 -0
- package/dist/assets/{ExpressPayPage-DBxaDfRz-CvEgT1Dz.js → ExpressPayPage-c8oTCnBR-B1eI11Un.js} +19 -19
- package/dist/assets/{FeaturePreviewPage-ezX4YJ8n-DZlh_My6.js → FeaturePreviewPage-DkiAajs2-DbJCCTbJ.js} +3 -3
- package/dist/assets/{FollowStepsSection-BCWwwk1I-Dr0Igucn.js → FollowStepsSection-GaWu1kt9-BRvlMtUk.js} +44 -44
- package/dist/assets/GlobalReviewListPage-DEzj0RVG-BBBmhZlV.js +291 -0
- package/dist/assets/{InformationCardStack-Czrqxdi_-DFscx6Un.js → InformationCardStack-dMFbHUWM-C-FgUaQe.js} +6 -6
- package/dist/assets/{InsightsCardStack-B50r1AKc-Fu1xeA5s.js → InsightsCardStack-BlXkyuyz-DfwZenu8.js} +10 -10
- package/dist/assets/InsightsSection-D-oCmrir-wvwFdRQ1.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-BMSATQJz-pQzp159S.js → IntegrationsSettingsPage-D-hfghuq-2m6MIXGG.js} +11 -11
- package/dist/assets/{InternationalWireSwiftDetailsPage-OirC9N1X-BxespejQ.js → InternationalWireSwiftDetailsPage-DxdKE300-Cc24FhVA.js} +20 -20
- package/dist/assets/InternationalWireVerificationPage-CkSmhOrS-CaFCfg4n.js +65 -0
- package/dist/assets/{InviteFormPage-DlqcSLWX-NYU1sZxR.js → InviteFormPage-BCdalqtP-CWNB58up.js} +21 -21
- package/dist/assets/{InvitePageListView--BKiq1KG-ChG4UMr4.js → InvitePageListView-B88FW48q-DLYg-1DF.js} +63 -63
- package/dist/assets/InvitePeoplePage-Z-2L7lWc-1iMjMN9Y.js +12 -0
- package/dist/assets/InvoiceUploadSection-C8hytmay-CTpYBdkI.js +140 -0
- package/dist/assets/{IssueChargeCardPage-kFsPFGzp-XYgLhons.js → IssueChargeCardPage-B6wmvbEr-VuO_1ug1.js} +18 -18
- package/dist/assets/{LabeledAddressValue-COZsPbp0-DczoqRAG.js → LabeledAddressValue-CQrDCgNs-DLETXjJP.js} +2 -2
- package/dist/assets/LabeledAddressValueField-BoHS44YO-35DxIth1.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-BL_01jee-D2U3D5J4.js → LabeledControlledCheckBoxField-BsFqjCpn-Drc3Qnd9.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-H4Sug2-M-CL-o7tf1.js → LabeledCountryMultiSelectField-D1fVDYR_-Bj5X4vuH.js} +12 -12
- package/dist/assets/{LabeledCreatableSingleSelectField-DWEYfaTn-33WE7LED.js → LabeledCreatableSingleSelectField-Bhka-Faj-BL3DwXW8.js} +8 -8
- package/dist/assets/LabeledDocumentField-CnRk5aKZ-DcxblEUp.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-C3Vxy6UO-D0-FCpWt.js → LabeledDropDownFormattedTextField-ChgtJqPr-BuWBYrn7.js} +7 -7
- package/dist/assets/LabeledText-2EDpuXZ4-BVmqJGFx.js +42 -0
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Cd04mYwQ-B8JTmQUc.js → LabeledUserSingleSelectWithSubtitlesField-CZbyOdRR-QFZXJ5Cv.js} +19 -19
- package/dist/assets/{LabeledZeniRolesDropDownField-5M654Yu--Ciiad84H.js → LabeledZeniRolesDropDownField-CpH0eDWO-CJTlz3Mt.js} +28 -28
- package/dist/assets/{LinkJETransactionPage-DwNoJ7YB-DNfE-nTn.js → LinkJETransactionPage-BhV2MnCY-OOF2_Kqe.js} +16 -16
- package/dist/assets/{LockCardPage-L5EAfQK5-CrxGoWXN.js → LockCardPage-CHv1xi2J-CdU6oKR8.js} +217 -217
- package/dist/assets/{LowBalancePopup-CIN_PWxf-CcAZgcPw.js → LowBalancePopup-Cb55PGLc-D5jF-boV.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-Dnp01hnF-BFHG0jRe.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-B36rsikS-DcnN13AA.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-Zo4oNZez-BAtejZPN.js +1 -0
- package/dist/assets/MagicLinkSuccessPage-09NLbjFG-DFIfT_H_.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-B33mBOG9-35QrlIpm.js → MagicLinkTitleSection-BA-i6vzA-CcuMLSrK.js} +5 -5
- package/dist/assets/MailingDetailsSection-EwtoQ2TZ-BHY-JTcx.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-Br6kJVpd-CbTGDrzB.js → MyBankConnectionsSettingsPage-Aer6AWxY-ImakKrC1.js} +14 -14
- package/dist/assets/MyPendingActivationChargeCardListPage-Ddy4bAEY-fdzETguQ.js +6 -0
- package/dist/assets/MyProfileSettingsPage-DMz-6h9F-IpwM4wHQ.js +85 -0
- package/dist/assets/NavBarWithPicker-D8WNahg--CFu9mkBL.js +30 -0
- package/dist/assets/{NavigationArrow-2B-EgvgC-BK9qtbBJ.js → NavigationArrow-kQWS5Pzb-CpYsSVtE.js} +7 -7
- package/dist/assets/{NavigationDots-BrWdpJ3R-DuPdXi3_.js → NavigationDots-BQb_Fodq-C4MvpAYN.js} +4 -4
- package/dist/assets/{NewGlobalMerchantPage-BSX2ajAh-B0IxS0GP.js → NewGlobalMerchantPage-z86XZorn-MrP90led.js} +40 -40
- package/dist/assets/NoDataChart-CyYJ6icu-CuklCFBU.js +26 -0
- package/dist/assets/{NoDataTable-CX24L0oK-DtsfPk0l.js → NoDataTable-DVe7sQhD-B4Won1bo.js} +1 -1
- package/dist/assets/{NotFoundPage-Brtxr86A-Bnm1jjAT.js → NotFoundPage-B1XCmhSe-BbSR46rN.js} +7 -7
- package/dist/assets/{NotificationSettingsPage-BV3iZaL6-CCJncOdH.js → NotificationSettingsPage-BaN20EGV-BApCLVwG.js} +20 -20
- package/dist/assets/NotificationsListConfig-BOW_TmPC-BGtwKQH4.js +1 -0
- package/dist/assets/NotificationsPage-C9efAgjo-CFPf0lT0.js +685 -0
- package/dist/assets/OpExByVendorPage-DXeBU3-z-F-6uCCSP.js +100 -0
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-BsMR9Xyx.js → OverlayContainerPage-D4QU0p4o-ZCgtvNt_.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-BrBPv1Bg-Du_wsqJx.js → PandLWithForecastPage-CXtJhnA_-BuxPvuJl.js} +10 -10
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-Bvo4Jnoy-D8BlefcU.js → PaymentAccountSetupBillingAddressSection-Deb_ngk6-D78UP0fJ.js} +13 -13
- package/dist/assets/PeoplePage-DXC2CtOt-DkUGvRPZ.js +675 -0
- package/dist/assets/{Preview-CngKNrtz.js → Preview-D0sjWWj-.js} +1 -1
- package/dist/assets/{ProductsCarousel-CYHholgU-BXEP4AT5.js → ProductsCarousel-ufZlh7Rx-CeYUIWta.js} +7 -7
- package/dist/assets/{PromoBaseCards-CT84iiQE-BQw_xgzZ.js → PromoBaseCards-D2UbhBhT-Bd7EQvVS.js} +4 -4
- package/dist/assets/{QBOConnectionDialog-D3ymRiGZ-Ci8f_0BR.js → QBOConnectionDialog-BrQ71F06-SmKPuRPN.js} +6 -6
- package/dist/assets/QBOSetupSection-EOFscEW--B1BK3OKQ.js +79 -0
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-p0TDyMiG-CZeD0AHX.js → ReimbursementApprovalRuleDetailPage-C-HPI4Ng-BAJOw6TG.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-B_EfFwpz-_OWCEpKq.js → ReimbursementApprovalRulesPage-CMpYn5y_-DkCRmTkh.js} +18 -18
- package/dist/assets/ReimbursementDetailPage-CfmICHZb-Cf4HY_lZ.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-DCiu630p-D5gOb-J0.js → ReimbursementPromoPage-DXTAY8c7-DX5gy_0D.js} +32 -32
- package/dist/assets/{ReimbursementSetUpPage-BbtZutE2-DuU_ZUl9.js → ReimbursementSetUpPage-KrGPXTCb-B1V8RiyF.js} +10 -10
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-l2mYNEKn-wbpm_uz3.js +1 -0
- package/dist/assets/{ReloadCard-CU39OBXS-B7fXlVdj.js → ReloadCard-vAhL7B8U-t1zAQv25.js} +8 -8
- package/dist/assets/ReportTableViewSelector-Y97ney3W-Dg_MzkQZ.js +150 -0
- package/dist/assets/{ReportsPage-gqc75ljk-7NT5JGPF.js → ReportsPage-DKM0gVzR-Bx9Ahq8r.js} +6 -6
- package/dist/assets/{RevenueChart-CtFVmX84-uni5BcG_.js → RevenueChart-BEjDS1u4-CJFUFXPf.js} +18 -18
- package/dist/assets/{ReviewDetailsPage-Kew5uZCA-Mv30WXv0.js → ReviewDetailsPage-BlQLrN9z-Dd93PdNx.js} +53 -53
- package/dist/assets/{ReviewOverlay-f-2s-XBM-D-MuCoTz.js → ReviewOverlay-Bn3TFqfi-Cm7uPP59.js} +24 -24
- package/dist/assets/RoleWithToolTip-DhBFvJea-kKwCSQso.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-DjjYlUtf-D-MjZ88W.js → ScheduleDetailsFixedAssetsPage-BMkFjf9Y-BeDlaHIk.js} +13 -13
- package/dist/assets/ScheduleDetailsPage-BP0wdtoP-DST5i2IG.js +37 -0
- package/dist/assets/ScheduleSequenceTable-D-rZ4ftr-C0RmvNPI.js +324 -0
- package/dist/assets/{ScreenRoutes-BOS_ZMWh.js → ScreenRoutes-B2hsHPEr.js} +48 -48
- package/dist/assets/{SetUpAccountSection-6NXF_yfU-BamPpzSM.js → SetUpAccountSection-CoVrSSYL-7U497n--.js} +7 -7
- package/dist/assets/SignIn-BoAejo7r-n6KjQ5Ul.js +491 -0
- package/dist/assets/SignInScreen-DeJvfsin.js +1 -0
- package/dist/assets/SpendManagementListViewPage-D3eISFuA-BPINZ7i2.js +134 -0
- package/dist/assets/{SpendManagementPerTabPage-BpguVSB_-Lttm8QGO.js → SpendManagementPerTabPage-BWDjZyLp-VDOF69nw.js} +114 -114
- package/dist/assets/{SpendManagementSection-DOQIJFeZ-ivgPfXva.js → SpendManagementSection-D8rBpC-y-FHAIQmms.js} +22 -22
- package/dist/assets/StatementItem-Cu6dlAsl-DRYmB2mf.js +31 -0
- package/dist/assets/{StatementsPage-BgsnClLk-8ec-Me8v.js → StatementsPage-DiY2BOcu-APBz42WN.js} +5 -5
- package/dist/assets/{StatusSwitcher-CmZuoA5C-CAazKXUL.js → StatusSwitcher-B9MARTyR-P7RIwFRO.js} +4 -4
- package/dist/assets/{SubTabSwitcher-DnAcWm4k-BiidkdTF.js → SubTabSwitcher-C3rtSwro-DGcZkDgz.js} +2 -2
- package/dist/assets/{SummaryCard-DiwOZob1-BzF2DJC-.js → SummaryCard-CShVbqhj-D8ckNEht.js} +1 -1
- package/dist/assets/TaskManagementPage-RVS8nv0n-B2vVJK8U.js +508 -0
- package/dist/assets/{TimeRangeSwitcher-BnA1fDfm-DKZWrMD_.js → TimeRangeSwitcher-DFnX6_WT-CF5mv12I.js} +13 -13
- package/dist/assets/TimeframeSwitcher-CW08yYgo-kAXguHFR.js +31 -0
- package/dist/assets/TimeframeSwitcherWithToggle-DJOCWqpZ-BsIrdDc5.js +31 -0
- package/dist/assets/{TopExCard-8Ddo4t8T-CqjPXnoc.js → TopExCard-dI_WEGWb-Dg0iyuar.js} +12 -12
- package/dist/assets/{TopExDetailPage-B6xtk1Bx-Dvdbf_Im.js → TopExDetailPage-BWy5E8Lp-z65VL4y3.js} +14 -14
- package/dist/assets/TransactionActivityLogPage-DjhEIUYm-BaKCdH85.js +195 -0
- package/dist/assets/TransactionDetailPage-CuxqQd8U-CcjegigH.js +903 -0
- package/dist/assets/{TransactionList-C4_0d8Yi-D_b8rDHf.js → TransactionList-80KjM8Kg-CGTGojKw.js} +16 -16
- package/dist/assets/{TransactionListBig-hJjsZlZZ-BQM8cKJz.js → TransactionListBig-DWQXH4ID-BXeSpaXE.js} +20 -20
- package/dist/assets/TransactionListPage-DC08rCC9-DlnDb8ev.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-DGcg2hX5-BY5R8KAA.js → TransactionVendorDetailPage-CzfJ5b_3-5A99k1pe.js} +15 -15
- package/dist/assets/{TransferDrawerPage-CqMRBO0T-DRSuLibB.js → TransferDrawerPage-6z-MoZZP-BDrE92fY.js} +29 -29
- package/dist/assets/{TreasuryOverviewPage-DkwHC8f4-Bn0V9kOv.js → TreasuryOverviewPage-CF_ter0o-C1Xt_81i.js} +42 -42
- package/dist/assets/{TreasuryPromoPage-DSF3PsLc-CzfjJZli.js → TreasuryPromoPage-Do-PTcjI-CNI9ltkm.js} +27 -27
- package/dist/assets/TreasuryStatementsPage-l_HC4zsb-B6l_d1_x.js +58 -0
- package/dist/assets/{TreasuryTaxLetterPage-DVLliaXS-BaPntd_i.js → TreasuryTaxLetterPage-B8YxWytK-4a2peJ00.js} +3 -3
- package/dist/assets/{TrendChart-DjYTskVA-gHskLbo_.js → TrendChart-C6B61CAm-DSOogQNb.js} +4 -4
- package/dist/assets/{TrendWithTransactions-hxM7e0EM-DQsX5Fpa.js → TrendWithTransactions-Bp3vhaPa-ltcNaAHT.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-CZLuQw-9-BWV6B4bF.js → UncategorizedAccountsMappingPage-cbFqKAv4-CYzZB7up.js} +18 -18
- package/dist/assets/{UnitIntegrationPage-DRwdsemz--LS2beFi.js → UnitIntegrationPage-DZ0ZpE5p-DeFm36Ch.js} +5 -5
- package/dist/assets/UploadAdditionalDocumentOverlay-BKY6hK51-EpFUtbZq.js +38 -0
- package/dist/assets/Vendor2FAPopup-DezpDfp8-Y9jdKibf.js +1 -0
- package/dist/assets/VendorACHDetailsPage-C8TWKYfc-uTPUEvcG.js +1 -0
- package/dist/assets/{VendorDetailPage-Ck-kEx6Y-DlVLyDuR.js → VendorDetailPage-C4g_Gfsl-PDTA30fp.js} +89 -89
- package/dist/assets/VendorDomesticWireDetailsPage-BhJQ-Vmn-CVY3V18u.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-BMAc4Y0L-swSK5unq.js → VendorFiling1099EditablePage-Ckt2MiVN-DkK-z8t4.js} +32 -32
- package/dist/assets/VendorFirstReviewPage-CIKRaTax-DYL9Vnpu.js +730 -0
- package/dist/assets/{VendorInternationalWireDetailsPage-Bp-fiJYj-kdX1GwW6.js → VendorInternationalWireDetailsPage-Dz8mMD8d-gzpiXQNr.js} +22 -22
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-XcV7Ot44-BeZ-zVI3.js +1 -0
- package/dist/assets/{VendorsAccountsSection-C5L3gr2G-B_pD6zSq.js → VendorsAccountsSection-BT-RADSV-DmS6BFzF.js} +4 -4
- package/dist/assets/{VerifyDevice-CkbL9enV-JKJb0VZk.js → VerifyDevice-Cxc9CVMi-Brvk1hge.js} +13 -13
- package/dist/assets/{VideoPlayer-zSNzleMo-B3Hzh9ni.js → VideoPlayer-9UkKMhGy-QE0dUH77.js} +2 -2
- package/dist/assets/{VideoPopup-BTjM2GvI-CfrQhQ9p.js → VideoPopup-rfiYmtio-CZD9BvVe.js} +3 -3
- package/dist/assets/{WarningsDrawerPage-C_3XLtV5-DXtwxZOZ.js → WarningsDrawerPage-DrUA4asI-BplyTtEg.js} +7 -7
- package/dist/assets/{ZeniAccountDetailPage-BlqcQ5a_-C6V_463T.js → ZeniAccountDetailPage-K016HgQt-AvGfMJEL.js} +24 -24
- package/dist/assets/{ZeniAccountListViewPage-_jeL_k5F-BYvSnCDl.js → ZeniAccountListViewPage-1oZZynB1-i09iw6my.js} +17 -17
- package/dist/assets/{ZeniAccountNavBarPieces-BeWOH_VI-D3WeJkvf.js → ZeniAccountNavBarPieces-C6Oicpue-BKtADLa5.js} +3 -3
- package/dist/assets/{ZeniAccountPromoPage-BUDBWd8m-CIMCfIY6.js → ZeniAccountPromoPage-BCgys-YM-COB-XAgg.js} +22 -22
- package/dist/assets/{ZeniAccountSetupPage-BD0OhX5Z-CotZyeZ5.js → ZeniAccountSetupPage-BubBgkoa-CqgM5g3P.js} +3 -3
- package/dist/assets/ZeniCopyright-BxIwmms--CqjNcAjr.js +1 -0
- package/dist/assets/{ZeniTransferAmountSlider-BM8wKUEY-DlBYyOPL.js → ZeniTransferAmountSlider-DVJ0puXA-eVW41JkY.js} +11 -11
- package/dist/assets/{add-to-wallet-DgdBD8_G-D4tNYjqP.js → add-to-wallet-DgdBD8_G-Cs3ZFbTn.js} +1 -1
- package/dist/assets/{analytics-BTo2lvc5.js → analytics-hCfYtzJT.js} +30 -30
- package/dist/assets/{analyticsHelper-BOam8HWk-DTVMIEqW.js → analyticsHelper-CT5zOInj-Du0DTPF_.js} +1 -1
- package/dist/assets/{analyticsHelper-BeNcAjzu.js → analyticsHelper-DKGNBdrX.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-BpAbcXNu.js → arrow-south-east-round-PEovUgvH-CzrrwgSg.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-DUd0RNlG.js → auto-transfer-rule-mbafm5D3-B_xw5P5j.js} +1 -1
- package/dist/assets/{chartTypes-DWf4SAOE-BXMQEiqd.js → chartTypes-Ddw_3-6f-BMc10nJG.js} +1 -1
- package/dist/assets/commonDimensions-ClmbdehE-KHSo1WEP.js +1 -0
- package/dist/assets/{commonTypes-B6f3YP8V-CbYlRzb2.js → commonTypes-B-foaEwJ-DqsczfuL.js} +1 -1
- package/dist/assets/{constants-CfG3jptV.js → constants-y09M8DFT.js} +1 -1
- package/dist/assets/{core-CDOHNO2G.js → core-Ce1HnmCU.js} +1 -1
- package/dist/assets/{dash.all.min-C7dNtldN.js → dash.all.min-BLN3VaU-.js} +1 -1
- package/dist/assets/{detailCommon-ceDAo_fs-K8aKPC4G.js → detailCommon-Cpgf9GLg-CC3Vv-5k.js} +9 -9
- package/dist/assets/downloadPdf-DfRYmfsd-0BtHMfPn.js +1 -0
- package/dist/assets/{empty-EVjF_gMV.js → empty-BjLibp41.js} +1 -1
- package/dist/assets/{empty-hw3sN7vf.js → empty-CHvpDZ25.js} +1 -1
- package/dist/assets/epic-CIKGU6HT.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-C8C7NLZp.js → gift-box-Cmt9OgIZ-tPfmdYN9.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-DrMXjgQT.js → graphic-no-data-l-DU4J8fDt-DgWqYmly.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-Bc0Qno8i.js → graphic-no-data-net-burn-l-CzmycA0m-X9wgEFDB.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-1LlZ_i0d.js → handshake-BPg58FML-CvblpTUh.js} +1 -1
- package/dist/assets/{helper-C1Mwnd6M-CNavDJqc.js → helper-DP3YY99s-D6TxHUGT.js} +3 -3
- package/dist/assets/{index-DE_CqoFx.js → index-BMSo18eq.js} +1 -1
- package/dist/assets/{index-Bp4xtOn5.js → index-BWlQ-rZN.js} +1 -1
- package/dist/assets/{index-CGTxoCJp.js → index-CbBDw148.js} +4530 -4535
- package/dist/assets/{index-DHoIuE2i.js → index-CnMDhZ-z.js} +1 -1
- package/dist/assets/{index-B6ONklHc.js → index-DV0-LoHG.js} +1 -1
- package/dist/assets/{index-MbFkHHWb.js → index-DXatjVel.js} +1 -1
- package/dist/assets/{index-DyMFy4lV.js → index-Dwr9jsgf.js} +1 -1
- package/dist/assets/{lexical-BeF2ZgkW.js → lexical-Dk2CPrxk.js} +1 -1
- package/dist/assets/{liveblocks-Dn-9djA8.js → liveblocks-ivZsDCw2.js} +1 -1
- package/dist/assets/{lottie-BYfhMHcn.js → lottie-solWV_WO.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-C0YIUOnb-CktDojF3.js +1 -0
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-QJI_OYzu-DfVKFmO9.js +1 -0
- package/dist/assets/mapSpacerToTreeNode-DKDsz0vw-NSXq93HU.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-DqDJAeAj-qlQ8jZsM.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-J3b1nb_T-BWh1BdCI.js +1 -0
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-DB6zUXCA-CmA6qGT1.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Dg4cktKO-BsKSlOwq.js} +1 -1
- package/dist/assets/{mui-CD7xFf2d.js → mui-BLUOobNq.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-CEsHow4e.js → page-detail-CWX5S47F-mLiSYxOb.js} +1 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-BwkAFvgw.js +4 -0
- package/dist/assets/{radio-default-CiSgisfh-CmFHLU8c.js → radio-default-CiSgisfh-BwLFYKqj.js} +1 -1
- package/dist/assets/{react-DtCoLsdE.js → react-BR1Eke5i.js} +1 -1
- package/dist/assets/{react-B6PWZDXX.js → react-BZ0TRoDf.js} +1 -1
- package/dist/assets/{react-BVvI-Vbl.js → react-ChJntTSM.js} +1 -1
- package/dist/assets/{react-BLzPWySR.js → react-DiVyX7it.js} +1 -1
- package/dist/assets/{react-CRe95M2Y.js → react-DwW_czRA.js} +3 -3
- package/dist/assets/{react-Cxxg-6rQ.js → react-OybbRboE.js} +1 -1
- package/dist/assets/{react-DJKM9DI1.js → react-gwEklu5z.js} +2 -2
- package/dist/assets/{react-Dc3Fbg1h.js → react-nPRE2jd8.js} +1 -1
- package/dist/assets/{recharts-CeYsUNdm.js → recharts-J8hRG6fl.js} +1 -1
- package/dist/assets/{sentry-CuNQ_GI9.js → sentry-ClS5bwGc.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-BIELJ6pj.js → shield-DOlUxcFf-DyyzcGvz.js} +1 -1
- package/dist/assets/toCOABalancesWithID-AzKAZ-Cv-B-XUgDD0.js +1 -0
- package/dist/assets/toChartData-BEjMhb7--BmOva86j.js +1 -0
- package/dist/assets/{uploadAttachment-DiB8ywoD-CoooZKCI.js → uploadAttachment-DUpHzqMe-BojPE85u.js} +21 -21
- package/dist/assets/uploadReceipts-Dge0cNF1-B2u8Ku84.js +1 -0
- package/dist/assets/{url-CLDcbK8W.js → url-VN-yF4_H.js} +1 -1
- package/dist/assets/{url-DvLmNXM-.js → url-ckMdLfnk.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-D_m3f9kb.js → useLongPress-GCK2COYQ-BBsdk_o7.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-BHWavx9j.js → usp-line-BBd1wKwW-DYPeqq64.js} +1 -1
- package/dist/assets/{utils-i_tuliLj.js → utils-DG8PAOHO.js} +1 -1
- package/dist/assets/{zeni-epic-state-BJYsNVul.js → zeni-epic-state-W0HMFHDj.js} +34 -34
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-qOWGYckl-DjJAccbn.js +0 -21
- package/dist/assets/AccountInfoPage-BulzquHY-COb5jSNJ.js +0 -18
- package/dist/assets/AccountRow-D1Jqgk7o-DewC0XFv.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-DK5lnDS9-Ctbcl8_3.js +0 -6
- package/dist/assets/ApAgingDetailPage-4SahVbGx-ZM0Bqd_F.js +0 -46
- package/dist/assets/ApprovalRulesSettingsPage-XgvVBRfh-DhsteiN3.js +0 -47
- package/dist/assets/ArAgingDetailPage-DohpExH8-CLRbt3qX.js +0 -46
- package/dist/assets/BankAccountWarningSection-BR28A3L4-D_D37qnN.js +0 -51
- package/dist/assets/BillDetailPage-BxfrpUM5-DDyFcvs1.js +0 -266
- package/dist/assets/BillPayPromoPage-DmRx1E8m-Busj2ugi.js +0 -84
- package/dist/assets/BillingSettingsPage-Co8Gw-go-BVCxX7gI.js +0 -44
- package/dist/assets/BillsBulkReviewDrawerPage-CfqxLPzs-BaPIvRkm.js +0 -1
- package/dist/assets/BusinessVerificationPage-iHBNaf7w-DrLXb-Iq.js +0 -138
- package/dist/assets/ConfettiBurst-DgE_527a-D7rXkSFC.js +0 -1
- package/dist/assets/CurrencySelectField-CP7MSQnS-BpXGyUMj.js +0 -139
- package/dist/assets/CustomerOnboardingContainerPage-B1gZ-xOx-BCHT9pOT.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-DW7kpMxd-lyLq4A0Q.js +0 -66
- package/dist/assets/DashboardSidebarBackgroundAnimation-CHpFVLim-B5TP9TTq.js +0 -12
- package/dist/assets/EditPeoplePage-CDUEfjvF-CJoR5dq4.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-BopPLndD-Dub2o4ld.js +0 -865
- package/dist/assets/EntityDetailPage-C8mC_pOt-DoBBFGRj.js +0 -18
- package/dist/assets/ExpenseAutomationPage-DG1EbsCZ-Cpa7UC9R.js +0 -3001
- package/dist/assets/GlobalReviewListPage-C1Tf-wcw-PWdcxabv.js +0 -291
- package/dist/assets/InsightsSection-BJeBGbPg-Bqi1LIqW.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-CqRSwMQj-e_Ufmweg.js +0 -65
- package/dist/assets/InvitePeoplePage-i3nljXL1-BmSEgqup.js +0 -12
- package/dist/assets/InvoiceUploadSection-BTcYpKEd-Di1o68Bp.js +0 -140
- package/dist/assets/LabeledAddressValueField-ig7qAURp-BZ_M96P1.js +0 -45
- package/dist/assets/LabeledDocumentField-heF_7XXJ-Bpbc_iNk.js +0 -41
- package/dist/assets/LabeledText-wJQ0djD--Dnw-us69.js +0 -42
- package/dist/assets/MagicLinkACHDetailsPage-DGLKqo6T-DNpDGuyV.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Cvp9N2Q2-CSBjjhkO.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-CB_rrPUd-Dl0YcL-A.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-Da-ZSMMO-DzPXDbZC.js +0 -31
- package/dist/assets/MailingDetailsSection-qtLrrSYF-CTuCvSpe.js +0 -21
- package/dist/assets/MyPendingActivationChargeCardListPage-DkhJVWBZ-Bfy4AAuw.js +0 -6
- package/dist/assets/MyProfileSettingsPage-CSY7ZEU4-BWI8MuR_.js +0 -85
- package/dist/assets/NavBarWithPicker-Csqyzu5C-DIH1ugF7.js +0 -30
- package/dist/assets/NoDataChart-CggIXqiK-C19sXnTb.js +0 -26
- package/dist/assets/NotificationsListConfig-DWL6JqJ8-BmoQcL7E.js +0 -1
- package/dist/assets/NotificationsPage-CMVuwCT_-BEJSVcvU.js +0 -685
- package/dist/assets/OpExByVendorPage-CbcnZ2ea-Di7lgu5r.js +0 -100
- package/dist/assets/PeoplePage-BruWpkMP-BXfRWFlI.js +0 -727
- package/dist/assets/QBOSetupSection-DWIulUc2-DlIiV7jG.js +0 -79
- package/dist/assets/ReimbursementDetailPage-CK_qij-l-D-oREEKY.js +0 -314
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-CyLz0tNA-CsTtoUoK.js +0 -1
- package/dist/assets/ReportTableViewSelector-YjVuyNWv-DzbC_6W1.js +0 -150
- package/dist/assets/RoleWithToolTip-Cw9gD3N5-ConmKNG4.js +0 -22
- package/dist/assets/ScheduleDetailsPage-BzJS3UZ5-DmfXVQSd.js +0 -37
- package/dist/assets/ScheduleSequenceTable-CVDT5FaP-B8HlWODo.js +0 -324
- package/dist/assets/SignIn-C81zFae4-Dea-gjSZ.js +0 -491
- package/dist/assets/SignInScreen-m5WxZ3Sy.js +0 -1
- package/dist/assets/SpendManagementListViewPage-BXVWjBXG-BD6dR01P.js +0 -134
- package/dist/assets/StatementItem-Pie3qV6--QBqzedQj.js +0 -31
- package/dist/assets/TaskManagementPage-Bf7M2Lb4-4_bmrGgs.js +0 -508
- package/dist/assets/TimeframeSwitcher-B-jhZqzy-C0mIaCAr.js +0 -31
- package/dist/assets/TimeframeSwitcherWithToggle-uBvB9Y4U-DEm424X-.js +0 -31
- package/dist/assets/TransactionActivityLogPage-DD1J0Vka-DWx7bBrg.js +0 -195
- package/dist/assets/TransactionDetailPage-B5jASgT3-CgTo1hvB.js +0 -903
- package/dist/assets/TransactionListPage-BzIAUEs8-MKD80iuh.js +0 -35
- package/dist/assets/TreasuryStatementsPage-Dw1TLve3-B04-8PQ3.js +0 -58
- package/dist/assets/UploadAdditionalDocumentOverlay-N-_Kdezc-3iy-UCwO.js +0 -38
- package/dist/assets/Vendor2FAPopup-CvMY6aLD-DqZVC04g.js +0 -1
- package/dist/assets/VendorACHDetailsPage-Dj1SW5L_-CF6jGaAx.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-LJc1Pntx-BkWcT3Mq.js +0 -1
- package/dist/assets/VendorFirstReviewPage-Cv0DMrBa-D-qTdl-e.js +0 -730
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CG6w1RiA-mOhQd5bG.js +0 -1
- package/dist/assets/ZeniCopyright-DPQzZYUR-KHcq5VOQ.js +0 -1
- package/dist/assets/commonDimensions-BgUllk7Z-mJRWeU7K.js +0 -1
- package/dist/assets/downloadPdf-CKymFYOO-BOWpMv5t.js +0 -1
- package/dist/assets/epic-CaPascl_.js +0 -2
- package/dist/assets/mapLoadingInProgressToTreeNode-9nfc1Ewm-CsweZHn5.js +0 -1
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-Bi6hurdk-xVLnW0yh.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-CHRtVS3Z-DLe2zU1L.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-B9QHM6dt-Be8Q8L2y.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-EhyCSWUM-BVeTsmlg.js +0 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-ChVQUbpx.js +0 -3
- package/dist/assets/toCOABalancesWithID-BHpR5IjE-BC__zjt5.js +0 -1
- package/dist/assets/toChartData-wLoMfnuk-B5A976Ge.js +0 -1
- package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-wGaBLxcB.js +0 -1
- package/dist/assets/uploadReceipts-Dge0cNF1-DYfDjXeu.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{a8 as ze,aw as Re,J as H,d as _,V as t,bD as Ie,b as I,g9 as Te,F as T,u as l,o as i,y as x,jn as De,ce as Ae,jo as Q,aQ as B,b4 as Be,cu as Oe,iV as Me,bP as Ne,aU as He,al as W,dx as j,g_ as Y,aO as K,bU as We,cw as Ee,bS as Ve,am as N,cA as X,p as $,g$ as pe,fT as me,fP as ge,cj as Ke,ai as F,iK as ue,bN as _e,jp as Fe,j1 as Ue,cD as Ze,aW as z,j2 as Ye,j3 as Je}from"./index-CbBDw148.js";import{a as S,P as J}from"./sentry-ClS5bwGc.js";import{n,c as q}from"./mui-BLUOobNq.js";import{t as Ge}from"./SpendManagementSection-D8rBpC-y-FHAIQmms.js";import{r as Qe,a as Xe,i as ye,g as qe}from"./SpendManagementListViewPage-D3eISFuA-BPINZ7i2.js";import{ck as xe,Gf as we}from"./zeni-epic-state-W0HMFHDj.js";import{r as et}from"./auto-transfer-rule-mbafm5D3-B_xw5P5j.js";import"./liveblocks-ivZsDCw2.js";import"./core-Ce1HnmCU.js";import"./recharts-J8hRG6fl.js";import"./lottie-solWV_WO.js";import"./analytics-hCfYtzJT.js";import"./lexical-Dk2CPrxk.js";import"./utils-DG8PAOHO.js";import"./StatusSwitcher-B9MARTyR-P7RIwFRO.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]="a18051e0-6b64-41b2-8097-a8cb8e9e0d72",e._sentryDebugIdIdentifier="sentry-dbid-a18051e0-6b64-41b2-8097-a8cb8e9e0d72")}catch{}})();const E=T.getLocalizedStrings().spendManagement.chargeCard.paymentHistory.header,tt={key:"paymentDate",value:E.paymentDate,sortOrder:"ascending",width:new x(18,18,18,18,18)},it={key:"sourceAccount",value:E.sourceAccount,sortOrder:"ascending",width:new x(30,30,30,30,30)},nt={key:"paymentStatus",value:E.paymentStatus,sortOrder:"ascending",width:new x(22,22,22,22,22)},ot={key:"initiatedBy",value:E.initiatedBy,sortOrder:"ascending",width:new x(18,18,18,18,18)},at={key:"amount",value:E.amount,sortOrder:"ascending",width:new x(12,12,12,12,12)},fe=()=>[tt,it,nt,ot,at],k={containerPaddingLeft:i.sp2,containerPaddingRight:i.sp3,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new x(l[0],l[4]),headerLastColumnRightPadding:new x(l[3],l[11]),headerLastColumnBottomPadding:new x(l[0],l[4]),headerLastColumnLeftPadding:new x(l[0],l[11]),headerHeight:new x(Ye,Je)};function st({companyNameSticky:e,sortConfig:o,onColumnSortConfigChanged:c}){const a=_(),r=H(),[d,g]=S.useState(fe());S.useEffect(()=>{const s=[...d];for(const m of s)m.key===o.sortKey?m.sortOrder=o.sortOrder:m.sortOrder="ascending";g(s)},[o.sortKey,o.sortOrder]);const y=(s,m)=>{let C=m;o.sortKey===s&&(C=m==="ascending"?"descending":"ascending"),c(s,C)},h=d.find(s=>s.key===o.sortKey)??d[0],p=s=>d.find(m=>m.key===s)?.value??"",u=d.map(s=>s.key),b=T.getLocalizedStrings().spendManagement.chargeCard.paymentHistory;return r==="small"?t.jsxs(ct,{windowSize:r,children:[t.jsxs(mt,{children:[t.jsx(ut,{children:t.jsx(gt,{})}),t.jsx(Ve,{title:b.header.paymentDate,placeholder:b.header.paymentDate,pickerValues:u,valueToLabel:p,selectedValue:o.sortKey,onPickerSelectionChanged:s=>{y(s,"ascending")},optionTextStyle:I.extraSmallRegular,titleTextStyle:I.extraSmallRegular,titleColor:a.colors.primary,selectedOptionColor:a.colors.hero,optionBackgroundColor:a.colors.grey5,downChevronVisible:!1,backgroundColor:a.colors.grey4})]}),t.jsxs(wt,{onClick:()=>y(h.key,h.sortOrder),"data-testid":B("mobile-payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(N,{children:h.value}),t.jsx(ee,{windowSize:r,sortDataValue:o.sortKey,headerdata:h,children:t.jsx(te,{windowSize:r,children:t.jsx(X,{})})})]})]}):t.jsx(dt,{windowSize:r,children:t.jsx(lt,{children:d.map(s=>s.width.value(r)!==0&&t.jsxs(ht,{companyNameSticky:e,sortDataValue:o.sortKey,actualDataValue:s.key,wrapperWidth:s.width,windowSize:r,children:[t.jsxs(xt,{onClick:()=>y(s.key,s.sortOrder),"data-testid":B("payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(N,{children:s.value}),t.jsx(ee,{windowSize:r,sortDataValue:o.sortKey,headerdata:s,children:t.jsx(te,{windowSize:r,children:t.jsx(X,{})})})]}),t.jsx(yt,{sortDataValue:o.sortKey,windowSize:r,isVisible:o.sortKey===s.key&&!(o.sortKey==="paymentDate"&&o.sortOrder==="ascending"),children:t.jsx(pt,{onClick:()=>y("paymentDate","ascending"),"data-testid":B("payment-history-list-sort-cancel",o.sortKey)})})]},s.key))})})}const rt=J.memo(st),dt=n.div`
|
|
2
2
|
top: ${i.sp0};
|
|
3
3
|
left: ${i.sp0};
|
|
4
4
|
z-index: 2;
|
|
@@ -9,20 +9,20 @@ import{a9 as ze,ay as Re,J as H,y as _,V as t,bE as Ie,w as I,gb as Te,b as T,u
|
|
|
9
9
|
display: flex;
|
|
10
10
|
align-items: center;
|
|
11
11
|
box-sizing: border-box;
|
|
12
|
-
padding: ${
|
|
13
|
-
${
|
|
12
|
+
padding: ${k.containerPaddingTop} ${k.containerPaddingRight}
|
|
13
|
+
${k.containerPaddingBottom} ${k.containerPaddingLeft};
|
|
14
14
|
justify-content: space-between;
|
|
15
15
|
`,ct=n(F)`
|
|
16
16
|
top: ${i.sp0};
|
|
17
17
|
left: ${i.sp0};
|
|
18
|
-
min-height: ${e=>
|
|
19
|
-
max-height: ${e=>
|
|
18
|
+
min-height: ${e=>k.headerHeight.valuePx(e.windowSize)};
|
|
19
|
+
max-height: ${e=>k.headerHeight.valuePx(e.windowSize)};
|
|
20
20
|
width: auto;
|
|
21
21
|
z-index: 2;
|
|
22
22
|
display: flex;
|
|
23
23
|
align-items: center;
|
|
24
24
|
box-sizing: border-box;
|
|
25
|
-
padding: ${e=>`${
|
|
25
|
+
padding: ${e=>`${k.headerLastColumnTopPadding.valuePx(e.windowSize)} ${k.headerLastColumnRightPadding.valuePx(e.windowSize)} ${k.headerLastColumnBottomPadding.valuePx(e.windowSize)} ${k.headerLastColumnLeftPadding.valuePx(e.windowSize)}`};
|
|
26
26
|
background-color: ${e=>e.theme.colors.grey4};
|
|
27
27
|
justify-content: space-between;
|
|
28
28
|
position: sticky;
|
|
@@ -46,7 +46,7 @@ import{a9 as ze,ay as Re,J as H,y as _,V as t,bE as Ie,w as I,gb as Te,b as T,u
|
|
|
46
46
|
overflow: hidden;
|
|
47
47
|
padding-left: ${i.sp3};
|
|
48
48
|
padding-right: ${e=>e.actualDataValue==="amount"?i.sp2:i.sp3};
|
|
49
|
-
`,pt=n(
|
|
49
|
+
`,pt=n(Ze)`
|
|
50
50
|
width: ${i.sp3};
|
|
51
51
|
height: ${i.sp3};
|
|
52
52
|
cursor: pointer;
|
|
@@ -67,7 +67,7 @@ import{a9 as ze,ay as Re,J as H,y as _,V as t,bE as Ie,w as I,gb as Te,b as T,u
|
|
|
67
67
|
gap: ${i.sp1};
|
|
68
68
|
display: flex;
|
|
69
69
|
color: ${e=>e.theme.colors.hero};
|
|
70
|
-
`,gt=n(
|
|
70
|
+
`,gt=n(Ue)`
|
|
71
71
|
width: ${i.sp3};
|
|
72
72
|
height: ${i.sp3};
|
|
73
73
|
color: inherit;
|
|
@@ -86,12 +86,12 @@ import{a9 as ze,ay as Re,J as H,y as _,V as t,bE as Ie,w as I,gb as Te,b as T,u
|
|
|
86
86
|
&:hover {
|
|
87
87
|
color: ${e=>e.theme.colors.primary};
|
|
88
88
|
}
|
|
89
|
-
`,
|
|
89
|
+
`,wt=n.div`
|
|
90
90
|
display: flex;
|
|
91
91
|
cursor: pointer;
|
|
92
92
|
gap: 5px;
|
|
93
93
|
color: ${e=>e.theme.colors.primary};
|
|
94
|
-
`,
|
|
94
|
+
`,A={containerPaddingLeft:new x(l[3],l[2]),containerPaddingRight:new x(l[2],l[3]),containerPaddingTop:new x(l[2],l[3]),containerPaddingBottom:new x(l[2],l[3]),containerMarginLeft:new x(l[4],l[0]),containerMarginRight:new x(l[4],l[0])},{spendManagement:{chargeCard:{paymentHistory:O}}}=T.getLocalizedStrings(),ft=e=>e.base64!==void 0?`${me}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",$t=({repayment:e,accountInfo:o,isLatestFailedPayment:c=!1,isLoading:a=!1,isZeniTenant:r,onRetryPaymentClick:d})=>{const{accountLogo:g,accountType:y,depositAccountLast4:h,depositAccountName:p}=o??{},u=H(),b=S.useCallback(Z=>{Z.stopPropagation(),d&&d(e.cardRepaymentId)},[d,e.cardRepaymentId]),s=T.getLocalizedStrings(),m=e.repaymentDate.format(s.dateFormat.visual.MMMDCommaYYYYformat),C=qe(p,h,O.sourceAccountUnknown),v=ye(e),f=e.paidByUser?.email?.endsWith("@zeni.ai")??!1,w=v||!r&&f,R=w?O.autopay:xe(e.paidByUser),D=e.status==="Rejected"||e.status==="Returned",V=e.status==="Sent",U=e.updateTime.format(s.dateFormat.visual.MMMDCommaYYYYformat),P=fe();return t.jsx(St,{windowSize:u,children:t.jsx(Ct,{children:t.jsxs(Pt,{children:[t.jsx(kt,{windowSize:u,responsiveWidth:P[0].width,children:t.jsx(j,{isLoading:a,customStyle:{width:"100px",height:"20px",borderRadius:i.sp1},children:V?t.jsx(We,{placement:"bottom-start",title:t.jsxs(Jt,{children:[t.jsxs(oe,{children:[t.jsx(ae,{children:O.initiatedOn}),t.jsx(se,{children:m})]}),t.jsxs(oe,{children:[t.jsx(ae,{children:O.completedOn}),t.jsx(se,{children:U})]})]}),style:{padding:"12px 16px"},display:"block",children:t.jsx(ie,{className:"paymentDate",children:m})}):t.jsx(ie,{className:"paymentDate",children:m})})}),t.jsxs(Lt,{windowSize:u,responsiveWidth:P[1].width,children:[t.jsx(j,{isLoading:a,customStyle:{width:i.sp4,height:i.sp4,borderRadius:"50%"},children:t.jsx(zt,{children:y==="depositAccount"&&p!=null&&p!==""?t.jsx(Rt,{children:t.jsx(It,{color:Y(0)})}):y==="paymentAccount"&&g!==void 0&&(g.base64||g.url)?t.jsx(At,{src:ft(g),loading:"lazy"}):t.jsx(Tt,{children:t.jsx(Dt,{})})})}),t.jsx(Bt,{children:t.jsx(j,{isLoading:a,customStyle:{width:"150px",height:"20px",borderRadius:i.sp1},children:p!=null&&p!==""?t.jsxs(ne,{className:"sourceAccount",children:[t.jsx(Ot,{children:p}),h!=null&&h!==""&&t.jsx(Mt,{children:`•••• ${h}`})]}):t.jsx(ne,{className:"sourceAccount",children:C})})})]}),t.jsx(Nt,{windowSize:u,isLoading:a,responsiveWidth:P[2].width,children:t.jsx(j,{isLoading:a,customStyle:{width:"120px",height:i.sp4,borderRadius:i.sp1},children:t.jsxs(Ht,{children:[t.jsx(Wt,{children:t.jsx(vt,{status:e.status})}),D===!0&&c===!0&&d!=null&&t.jsxs(t.Fragment,{children:[t.jsx(bt,{}),t.jsx(Et,{onClick:b,"data-testid":B("retry-payment",e.cardRepaymentId),children:O.retryPayment})]})]})})}),t.jsxs(Vt,{windowSize:u,responsiveWidth:P[3].width,children:[t.jsx(j,{isLoading:a,customStyle:{width:i.sp4,height:i.sp4,borderRadius:"50%"},children:w?t.jsx(Kt,{children:t.jsx(_t,{})}):t.jsx(Ft,{children:t.jsx(Ee,{personBasic:e.paidByUser,styles:{height:i.sp4,width:i.sp4,minWidth:i.sp4}})})}),t.jsx(j,{isLoading:a,customStyle:{width:"80px",height:"20px",borderRadius:i.sp1,marginLeft:i.sp2},children:t.jsx(Ut,{className:"initiatedBy",children:R})})]}),t.jsx(Zt,{windowSize:u,responsiveWidth:P[4].width,children:t.jsx(j,{isLoading:a,customStyle:{width:"100px",height:"20px",borderRadius:i.sp1},children:t.jsx(Yt,{className:"amount",windowSize:u,title:K("0,0.00",e.amount),children:K("0,0.00",e.amount)})})})]})})})},vt=({status:e,style:o})=>{const c=_(),a=jt(e,c),r=we(e);return t.jsx(ue,{textColor:a,borderColor:a,text:r,tagStyles:{padding:"1px 6px",...o}})},jt=(e,o)=>{switch(e){case"Sent":return new z($.success);case"Clearing":case"Pending":case"PendingReview":return new z($.alert);case"Rejected":case"Returned":return new z($.important);default:return new z(o.colors.grey1)}},bt=n.div`
|
|
95
95
|
width: ${i.sp1};
|
|
96
96
|
height: ${i.sp1};
|
|
97
97
|
background-color: ${e=>e.theme.colors.grey1};
|
|
@@ -99,10 +99,10 @@ import{a9 as ze,ay as Re,J as H,y as _,V as t,bE as Ie,w as I,gb as Te,b as T,u
|
|
|
99
99
|
`,St=n.div`
|
|
100
100
|
display: flex;
|
|
101
101
|
background-color: ${e=>e.theme.colors.grey5};
|
|
102
|
-
padding-left: ${e=>
|
|
103
|
-
padding-right: ${e=>
|
|
104
|
-
padding-top: ${e=>
|
|
105
|
-
padding-bottom: ${e=>
|
|
102
|
+
padding-left: ${e=>A.containerPaddingLeft.valuePx(e.windowSize)};
|
|
103
|
+
padding-right: ${e=>A.containerPaddingRight.valuePx(e.windowSize)};
|
|
104
|
+
padding-top: ${e=>A.containerPaddingTop.valuePx(e.windowSize)};
|
|
105
|
+
padding-bottom: ${e=>A.containerPaddingBottom.valuePx(e.windowSize)};
|
|
106
106
|
border: ${e=>`1px solid ${e.theme.colors.grey3}`};
|
|
107
107
|
box-shadow: ${e=>e.theme.mode==="dark"?$.Elevation1Dark:$.Elevation1Light};
|
|
108
108
|
border-radius: ${i.sp2};
|
|
@@ -119,20 +119,20 @@ import{a9 as ze,ay as Re,J as H,y as _,V as t,bE as Ie,w as I,gb as Te,b as T,u
|
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
margin-right: ${e=>
|
|
123
|
-
margin-left: ${e=>
|
|
122
|
+
margin-right: ${e=>A.containerMarginLeft.valuePx(e.windowSize)};
|
|
123
|
+
margin-left: ${e=>A.containerMarginRight.valuePx(e.windowSize)};
|
|
124
124
|
margin-bottom: ${i.sp3};
|
|
125
125
|
box-sizing: border-box;
|
|
126
126
|
align-items: center;
|
|
127
127
|
`,Ct=n.div`
|
|
128
128
|
display: block;
|
|
129
129
|
width: 100%;
|
|
130
|
-
`,
|
|
130
|
+
`,Pt=n.div`
|
|
131
131
|
display: flex;
|
|
132
132
|
width: 100%;
|
|
133
133
|
justify-content: space-between;
|
|
134
134
|
align-items: center;
|
|
135
|
-
`,
|
|
135
|
+
`,kt=n.div`
|
|
136
136
|
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
137
137
|
box-sizing: border-box;
|
|
138
138
|
padding-left: ${i.sp3};
|
|
@@ -180,7 +180,7 @@ import{a9 as ze,ay as Re,J as H,y as _,V as t,bE as Ie,w as I,gb as Te,b as T,u
|
|
|
180
180
|
min-width: inherit;
|
|
181
181
|
width: ${i.sp4};
|
|
182
182
|
height: ${i.sp4};
|
|
183
|
-
`,
|
|
183
|
+
`,At=n.img`
|
|
184
184
|
display: flex;
|
|
185
185
|
width: ${i.sp4};
|
|
186
186
|
height: ${i.sp4};
|
|
@@ -198,7 +198,7 @@ import{a9 as ze,ay as Re,J as H,y as _,V as t,bE as Ie,w as I,gb as Te,b as T,u
|
|
|
198
198
|
column-gap: ${i.sp1};
|
|
199
199
|
overflow: hidden;
|
|
200
200
|
min-width: 0;
|
|
201
|
-
`,
|
|
201
|
+
`,Ot=n.span`
|
|
202
202
|
overflow: hidden;
|
|
203
203
|
text-overflow: ellipsis;
|
|
204
204
|
white-space: nowrap;
|
|
@@ -271,13 +271,13 @@ import{a9 as ze,ay as Re,J as H,y as _,V as t,bE as Ie,w as I,gb as Te,b as T,u
|
|
|
271
271
|
height: ${i.sp4};
|
|
272
272
|
border-radius: 50%;
|
|
273
273
|
background-color: ${e=>e.theme.colors.grey3};
|
|
274
|
-
`,
|
|
274
|
+
`,Ut=n(W)`
|
|
275
275
|
color: ${e=>e.theme.colors.hero};
|
|
276
276
|
max-width: 100%;
|
|
277
277
|
overflow: hidden;
|
|
278
278
|
text-overflow: ellipsis;
|
|
279
279
|
white-space: nowrap;
|
|
280
|
-
`,
|
|
280
|
+
`,Zt=n.div`
|
|
281
281
|
display: flex;
|
|
282
282
|
align-items: center;
|
|
283
283
|
justify-content: flex-end;
|
|
@@ -285,13 +285,13 @@ import{a9 as ze,ay as Re,J as H,y as _,V as t,bE as Ie,w as I,gb as Te,b as T,u
|
|
|
285
285
|
padding-right: ${i.sp2};
|
|
286
286
|
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
287
287
|
box-sizing: border-box;
|
|
288
|
-
`,
|
|
288
|
+
`,Yt=n(W)`
|
|
289
289
|
color: ${e=>e.theme.colors.hero};
|
|
290
290
|
max-width: 100%;
|
|
291
291
|
overflow: hidden;
|
|
292
292
|
text-overflow: ellipsis;
|
|
293
293
|
white-space: nowrap;
|
|
294
|
-
`,
|
|
294
|
+
`,Jt=n.div`
|
|
295
295
|
display: flex;
|
|
296
296
|
flex-direction: column;
|
|
297
297
|
gap: ${i.sp1};
|
|
@@ -304,7 +304,7 @@ import{a9 as ze,ay as Re,J as H,y as _,V as t,bE as Ie,w as I,gb as Te,b as T,u
|
|
|
304
304
|
color: ${e=>e.theme.colors.hero};
|
|
305
305
|
`,se=n(F)`
|
|
306
306
|
color: ${$.brandColorPearl};
|
|
307
|
-
`,Gt=new z(
|
|
307
|
+
`,Gt=new z(Y(0)).lighten(.3).hex(),{spendManagement:{chargeCard:{paymentHistory:M}}}=T.getLocalizedStrings(),Qt=e=>e.base64!==void 0?`${me}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Xt=({repayment:e,accountInfo:o,isLatestFailedPayment:c=!1,isLoading:a=!1,isZeniTenant:r,onRetryPaymentClick:d})=>{const{accountLogo:g,accountType:y,depositAccountLast4:h,depositAccountName:p}=o??{},u=S.useCallback(w=>{w.stopPropagation(),d&&d(e.cardRepaymentId)},[d,e.cardRepaymentId]),b=T.getLocalizedStrings(),s=e.repaymentDate.format(b.dateFormat.visual.MMMDCommaYYYYformat),m=ye(e),C=e.paidByUser?.email?.endsWith("@zeni.ai")??!1,v=m||!r&&C?M.autopay:xe(e.paidByUser),f=e.status==="Rejected"||e.status==="Returned";return t.jsx(ti,{children:t.jsxs(ii,{children:[t.jsxs(ni,{children:[t.jsx(oi,{children:t.jsx(j,{isLoading:a,customStyle:{width:i.sp6,height:i.sp6,borderRadius:"50%"},children:y==="depositAccount"&&p!=null&&p!==""?t.jsx(ai,{children:t.jsx(si,{color:Y(0)})}):y==="paymentAccount"&&g!==void 0&&(g.base64||g.url)?t.jsx(li,{src:Qt(g),loading:"lazy"}):t.jsx(ri,{children:t.jsx(di,{})})})}),t.jsxs(ci,{children:[t.jsx(hi,{children:t.jsx(j,{isLoading:a,customStyle:{width:"150px",height:"20px",borderRadius:i.sp1},children:t.jsx(pi,{className:"sourceAccount",children:p!=null&&p!==""?p:M.sourceAccountUnknown})})}),t.jsx(mi,{children:t.jsx(j,{isLoading:a,customStyle:{width:"120px",height:"16px",borderRadius:i.sp1},children:t.jsx(gi,{children:h!=null&&h!==""?`Checking •••• ${h}`:""})})}),t.jsx(ui,{children:t.jsx(j,{isLoading:a,customStyle:{width:"150px",height:"16px",borderRadius:i.sp1},children:t.jsxs(yi,{children:[M.header.initiatedBy,":"," ",t.jsx(xi,{className:"initiatedBy",children:v})]})})}),t.jsx(wi,{children:t.jsx(j,{isLoading:a,customStyle:{width:"150px",height:"16px",borderRadius:i.sp1},children:t.jsxs(fi,{children:[M.header.paymentDate,":"," ",t.jsx($i,{className:"paymentDate",children:s})]})})})]})]}),t.jsxs(vi,{children:[t.jsx(ji,{children:t.jsx(j,{isLoading:a,customStyle:{width:"100px",height:"20px",borderRadius:i.sp1},children:t.jsx(bi,{className:"amount",title:K("0,0.[00]",e.amount),children:K("0,0.[00]",e.amount)})})}),t.jsx(Si,{children:t.jsx(j,{isLoading:a,customStyle:{width:"120px",height:i.sp4,borderRadius:i.sp1},children:t.jsx(Ci,{children:t.jsx(Pi,{children:t.jsx(qt,{status:e.status})})})})}),f===!0&&c===!0&&d!=null&&t.jsx(ki,{children:t.jsx(Li,{onClick:u,"data-testid":B("retry-payment",e.cardRepaymentId),children:M.retryPayment})})]})]})})},qt=({status:e,style:o})=>{const c=_(),a=ei(e,c),r=we(e);return t.jsx(ue,{textColor:a,borderColor:a,text:r,tagStyles:{padding:"1px 6px",...o}})},ei=(e,o)=>{switch(e){case"Sent":return new z($.success);case"Clearing":case"Pending":case"PendingReview":return new z($.alert);case"Rejected":case"Returned":return new z($.important);default:return new z(o.colors.grey1)}},ti=n.div`
|
|
308
308
|
display: flex;
|
|
309
309
|
background-color: ${e=>e.theme.colors.grey5};
|
|
310
310
|
padding: ${i.sp3};
|
|
@@ -418,12 +418,12 @@ import{a9 as ze,ay as Re,J as H,y as _,V as t,bE as Ie,w as I,gb as Te,b as T,u
|
|
|
418
418
|
white-space: nowrap;
|
|
419
419
|
`,xi=n.span`
|
|
420
420
|
color: ${e=>e.theme.colors.hero};
|
|
421
|
-
`,
|
|
421
|
+
`,wi=n.div`
|
|
422
422
|
display: flex;
|
|
423
423
|
align-items: center;
|
|
424
424
|
position: relative;
|
|
425
425
|
top: -2px;
|
|
426
|
-
`,
|
|
426
|
+
`,fi=n(N)`
|
|
427
427
|
color: ${e=>e.theme.colors.hero};
|
|
428
428
|
max-width: 100%;
|
|
429
429
|
overflow: hidden;
|
|
@@ -461,7 +461,7 @@ import{a9 as ze,ay as Re,J as H,y as _,V as t,bE as Ie,w as I,gb as Te,b as T,u
|
|
|
461
461
|
gap: ${i.sp2};
|
|
462
462
|
flex-wrap: wrap;
|
|
463
463
|
justify-content: flex-end;
|
|
464
|
-
`,
|
|
464
|
+
`,Pi=n.div`
|
|
465
465
|
display: flex;
|
|
466
466
|
align-items: center;
|
|
467
467
|
gap: ${i.sp2};
|
|
@@ -470,7 +470,7 @@ import{a9 as ze,ay as Re,J as H,y as _,V as t,bE as Ie,w as I,gb as Te,b as T,u
|
|
|
470
470
|
color: ${e=>e.theme.colors.primary};
|
|
471
471
|
}
|
|
472
472
|
}
|
|
473
|
-
`,
|
|
473
|
+
`,ki=n.div`
|
|
474
474
|
display: flex;
|
|
475
475
|
align-items: center;
|
|
476
476
|
justify-content: flex-end;
|
|
@@ -481,7 +481,7 @@ import{a9 as ze,ay as Re,J as H,y as _,V as t,bE as Ie,w as I,gb as Te,b as T,u
|
|
|
481
481
|
&:hover {
|
|
482
482
|
text-decoration: underline;
|
|
483
483
|
}
|
|
484
|
-
`,zi={lastListItemHeight:new x(200,114)},Ri=T.getLocalizedStrings(),{spendManagement:{chargeCard:re},common:Ii}=Ri,de=50,Ti=64,Di=351,
|
|
484
|
+
`,zi={lastListItemHeight:new x(200,114)},Ri=T.getLocalizedStrings(),{spendManagement:{chargeCard:re},common:Ii}=Ri,de=50,Ti=64,Di=351,Ai=86,$e=J.memo(({fetchState:e,repaymentListWithAccountInfo:o,sortConfig:c,searchText:a,isZeniTenant:r,onColumnSortConfigChanged:d,onReloadPayments:g,onRetryPaymentClick:y})=>{const h=H(),p=S.useCallback(v=>v===0?de:h==="small"?132:Q,[h]),u=S.useMemo(()=>{let v=de+Ti;for(let f=1;f<=o.length;f++)v+=p(f);return v},[o.length,p]),b=S.useMemo(()=>window.innerHeight-Di,[]),s=u>b,m=S.useRef(null);S.useEffect(()=>{m.current?.resetAfterIndex(0)},[h]);const C=()=>e==="Error"?t.jsxs(Hi,{children:[t.jsx(Wi,{onClick:g,"data-testid":B("payment-history-list-reload"),children:t.jsx(Ei,{})}),t.jsx(Vi,{children:Ii.reloadPage.label})]}):e==="Completed"&&o.length===0?t.jsx(Fi,{children:t.jsx(Ui,{children:a!==""?re.paymentHistory.noPaymentHistoryMatchedSearch:re.paymentHistory.noPaymentHistoryAvailable})}):t.jsx(je,{children:t.jsx(Ki,{windowSize:h,availableHeight:b,isListTooLarge:s,children:t.jsx(Be,{children:({height:v,width:f})=>t.jsx(Oe,{ref:m,height:v,itemCount:o.length+1,innerElementType:ve,itemSize:p,estimatedItemSize:Q,itemKey:w=>w===0?"header":o[w-1].repayment.cardRepaymentId,width:f,overscanCount:Me,initialScrollOffset:0,children:w=>t.jsx(Bi,{...w,repaymentListWithAccountInfo:o,sortConfig:c,isZeniTenant:r,onColumnSortConfigChanged:d,onRetryPaymentClick:y})})})})});return t.jsx(Ni,{fetchState:e,children:C()})},(e,o)=>e.repaymentListWithAccountInfo===o.repaymentListWithAccountInfo&&e.fetchState===o.fetchState&&e.sortConfig.sortKey===o.sortConfig.sortKey&&e.sortConfig.sortOrder===o.sortConfig.sortOrder&&e.searchText===o.searchText&&e.isZeniTenant===o.isZeniTenant);$e.displayName="ChargeCardPaymentHistoryContent";const ve=S.forwardRef((e,o)=>{const{children:c,style:a,...r}=e;return t.jsx(je,{ref:o,style:{...a,width:"auto"},...r,children:t.jsx(_i,{children:c})})});ve.displayName="ChargeCardPaymentHistoryInnerElement";const Bi=({index:e,style:o,repaymentListWithAccountInfo:c,sortConfig:a,isZeniTenant:r,onColumnSortConfigChanged:d,onRetryPaymentClick:g})=>{const y=H(),h=e===0,p=h?null:c[e-1],u=p?.repayment??null,b=p?.accountInfo,s=S.useMemo(()=>{if(c.length===0)return null;const f=c.map(R=>R.repayment),w=f.slice(1).reduce((R,D)=>D.repaymentDate.isAfter(R.repaymentDate)?D:R,f[0]);return w.status==="Rejected"||w.status==="Returned"?w.cardRepaymentId:null},[c]),m={...o,width:"100%"};if(h)return t.jsx(le,{style:m,className:"spend-management-list-item",children:t.jsx(rt,{companyNameSticky:!1,sortConfig:a,onColumnSortConfigChanged:d})});if(u==null)return null;const C=s!==null&&u.cardRepaymentId===s,v=y==="small"?Xt:$t;return t.jsx(le,{style:m,className:"spend-management-list-item",children:t.jsx(v,{repayment:u,accountInfo:b,isLatestFailedPayment:C,isZeniTenant:r,onRetryPaymentClick:g})})},Oi=({fetchState:e,repaymentListWithAccountInfo:o,sortConfig:c,onColumnSortConfigChanged:a,onReloadPayments:r,searchText:d,isZeniTenant:g,onRetryPaymentClick:y})=>(Ae({componentName:"charge_card_payment_history.list",enabled:e==="Completed"}),t.jsx($e,{fetchState:e,repaymentListWithAccountInfo:o,sortConfig:c,onColumnSortConfigChanged:a,onReloadPayments:r,searchText:d,isZeniTenant:g,onRetryPaymentClick:y})),Mi=J.memo(Oi),Ni=n.div`
|
|
485
485
|
margin: ${e=>e.fetchState==="Error"?"auto":"unset"};
|
|
486
486
|
display: block;
|
|
487
487
|
height: 100%;
|
|
@@ -513,7 +513,7 @@ import{a9 as ze,ay as Re,J as H,y as _,V as t,bE as Ie,w as I,gb as Te,b as T,u
|
|
|
513
513
|
color: ${e=>e.theme.colors.hero};
|
|
514
514
|
`,Ki=n.div`
|
|
515
515
|
position: sticky;
|
|
516
|
-
height: ${e=>e.isListTooLarge||e.windowSize==="small"?`calc(100vh - ${
|
|
516
|
+
height: ${e=>e.isListTooLarge||e.windowSize==="small"?`calc(100vh - ${Ai}px)`:`${e.availableHeight}px`};
|
|
517
517
|
max-width: 99.9%;
|
|
518
518
|
${({isListTooLarge:e,windowSize:o})=>(e||o==="small")&&`
|
|
519
519
|
.spend-management-list-item:last-of-type {
|
|
@@ -548,16 +548,16 @@ import{a9 as ze,ay as Re,J as H,y as _,V as t,bE as Ie,w as I,gb as Te,b as T,u
|
|
|
548
548
|
flex-direction: row;
|
|
549
549
|
justify-content: center;
|
|
550
550
|
align-items: flex-end;
|
|
551
|
-
`,
|
|
551
|
+
`,Ui=n(W)`
|
|
552
552
|
display: flex;
|
|
553
553
|
color: ${e=>e.theme.colors.grey2};
|
|
554
|
-
`,ce={contentContainerMargin:new x(l[3],l[4],l[8])},{spendManagement:{chargeCard:{paymentHistory:he}},common:
|
|
554
|
+
`,ce={contentContainerMargin:new x(l[3],l[4],l[8])},{spendManagement:{chargeCard:{paymentHistory:he}},common:Zi}=T.getLocalizedStrings(),pn=({repaymentList:e,fetchState:o,sortConfig:c,accountInfoByAccountId:a,searchText:r,filters:d,isZeniTenant:g,onBackClick:y,repaymentHistoryUsers:h,onColumnSortConfigChanged:p,onFiltersChange:u,onReloadPayments:b,onRetryPaymentClick:s,onSearchTextChanged:m,onClickMenuIcon:C,downloadParams:v,downloadState:f,updateDownloadStateHandler:w})=>{const R=ze().analytics,D=Re(),[V,U]=S.useState(!1),P=H(),Z=_(),be=r===""&&(d?.categories==null||d.categories.length===0||d.categories.every(L=>L.values==null||L.values.length===0)),G=o==="Completed"&&be&&e.length===0,Se=L=>{U(L)},Ce={entity:"charge_card_payment_history",showNewButtonOnNavbar:!1,showEntityEmailInfoIconOnNavbar:!1,newButtonLabel:Zi.strings.empty,hideSearchBtn:!1,disableSearch:G,disableFilters:G,searchTextBoxStyle:{right:"86px"},moreIconContainerStyle:{paddingRight:l[4]},isSearchOpen:V,searchPlaceHolder:he.searchPlaceHolder,searchText:r,showSettingsIcon:!1,showSettingsIconOnNavbar:!1,showStatementButtonOnNavbar:!1,showPayEarlyButtonOnNavbar:!1,showDownloadButtonOnNavbar:!1,showDownloadIcon:!0,onDownloadClick:async()=>{w("In-Progress");try{await De({localeID:"en-US",fileType:"excel",entity:"charge_card_payment_history",filter:{filters:d,searchText:r},...v})}finally{w("Completed")}},disableDownloadButton:f==="In-Progress"||o!=="Completed"||e.length===0,analytics:R,onSearchOpen:Se,filterIconContainerStyle:{...P==="small"&&{position:"static",paddingRight:"10px"}},onSearchTextChanged:m,onClickSetupIcon:()=>{},onClickStatementsIcon:()=>{},downloadState:f,onNewButtonClick:()=>{},onClickPayEarlyIcon:()=>{},onMenuOpen:()=>{},filters:d,onFiltersChange:u,createdByUserListLoaded:o==="Completed",getFilterOptions:()=>Xe("charge_card_payment_history",h,D.loggedInUserRole??[],[],a),renderDropdownOptionIcon:Qe},Pe=t.jsx(Ge,{spendManagementSectionProps:Ce}),ke=he.pageTitle,Le=S.useMemo(()=>e.map(L=>({repayment:L,accountInfo:L.paymentAccountId!=null&&L.paymentAccountId!==""?a?.[L.paymentAccountId]:void 0})),[e,a]);return t.jsxs(Yi,{children:[t.jsx(Ie,{title:ke,showBackButton:!0,showMenuIcon:P==="medium-compact"||P==="small",onClickMenuIcon:C,titleTextStyles:P==="small"?{...I.standardMedium.cssObject}:void 0,style:{zIndex:3},onBackClick:y,rightSideComponent:Pe,isSearchOpen:V,hideSearchBtn:!1,scrollableContent:void 0,source:"ChargeCardPaymentHistoryPage",backgroundColor:Z.colors.grey4}),o==="Not-Started"||o==="In-Progress"?t.jsx(Te,{fetchState:o,styles:{margin:"auto"}}):t.jsx(Ji,{windowSize:P,children:t.jsx(Mi,{fetchState:o,repaymentListWithAccountInfo:Le,sortConfig:c,onColumnSortConfigChanged:p,onReloadPayments:b,searchText:r,isZeniTenant:g,onRetryPaymentClick:s})})]})},Yi=n.div`
|
|
555
555
|
display: flex;
|
|
556
556
|
flex-direction: column;
|
|
557
557
|
width: 100%;
|
|
558
558
|
height: 100vh;
|
|
559
559
|
overflow: auto;
|
|
560
|
-
`,
|
|
560
|
+
`,Ji=n.div`
|
|
561
561
|
margin-top: ${i.sp4};
|
|
562
562
|
margin-right: ${e=>ce.contentContainerMargin.valuePx(e.windowSize)};
|
|
563
563
|
margin-bottom: ${i.sp0};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import{J as $,V as r,y as O,ay as ye,a9 as $e,aS as je,aQ as Se,fZ as Te,bE as ve,fy as ze,a as Y,ac as ee,b as oe,o as t,e as Pe,h as G,cG as ke,as as Ae,x as u,ar as Ie,bV as Be,iU as Le,ak as Re,u as p,c as S,p as b,bc as _e,aW as Me,iV as Ee}from"./index-CGTxoCJp.js";import{a as T}from"./sentry-CuNQ_GI9.js";import{n as a,c as De,k as Fe}from"./mui-CD7xFf2d.js";import{Fw as Ue}from"./zeni-epic-state-BJYsNVul.js";import{k as Ne}from"./NavigationDots-BrWdpJ3R-DuPdXi3_.js";import{J as V,N as H}from"./PromoBaseCards-CT84iiQE-BQw_xgzZ.js";import{M as R}from"./usp-line-BBd1wKwW-BHWavx9j.js";import"./liveblocks-Dn-9djA8.js";import"./core-CDOHNO2G.js";import"./recharts-CeYsUNdm.js";import"./lottie-BYfhMHcn.js";import"./analytics-BTo2lvc5.js";import"./lexical-BeF2ZgkW.js";import"./utils-i_tuliLj.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]="04826adb-5b2b-4860-9f70-f0275b028c63",e._sentryDebugIdIdentifier="sentry-dbid-04826adb-5b2b-4860-9f70-f0275b028c63")}catch{}})();const g={containerPaddingTopBottom:new u(p[0],p[0]),uspContainerMarginX:new u(p[6],p[0]),midContainerGap:new u(p[4],84),iconContainerMinHeight:new u(236,396),emptySectionHeight:new u(p[6],43),navigationBottom:new u(p[4],94),navigationLeft:new u(192,244),carouselHeight:new u(268,396),carouselMarginTop:new u(54,p[4]),carouselMarginLeft:new u(120,p[12]),buttonTrayGap:new u(p[3],p[5]),termsOfAgreementMarginTop:new u(p[5],p[10]),contactAdminContainerMarginTop:new u(p[0],p[10]),contactAdminContainerMarginBottom:new u(p[4],p[0]),contactAdminContainerMarginLeftRight:new u(p[3],p[0])},v={promoBadgeText:new S("standardRegular","largeRegular"),promoBadgeTextBold:new S("standardBold","largeBold"),cardsContent:new S("extraSmallRegular","smallRegular"),contactAdmin:new S("extraSmallRegular","largeRegular"),uspText:new S("smallRegular","standardRegular"),uspBoldText:new S("smallMedium","standardMedium")},{common:U,spendManagement:{chargeCard:{chargeCardsPromo:o}}}=oe.getLocalizedStrings(),_r=({meetingUrl:e,companyLegalName:s,chargeCardSetupView:i,showEnableCardButton:n,controllerEmails:c,isCreditCardProductVisible:m,isDebitCardFeatureEnabled:h,isDebitCardSetupEnabled:x,isChargeCardSetupEnabled:w,admins:j,cashbackRate:P,cardPromoType:f="credit",isCheckingEnabled:l,onSetupButtonClick:d,onBackClick:pe,onClickMenuIcon:me,onSetupChargeCardSuccess:J,onExpressInterestClick:ge})=>{const he=O(),W=ye(),z=$(),Z=$e().analytics,{chargeCardTermsDetails:_,companyChargeCardInfo:C,companyLocaleInfo:M}=i,X=je(_?.fetchStatus.fetchState),[ue,Q]=T.useState(!1),xe=()=>{Z.trackCardsPromoPageClicked("schedule demo"),Z.trackCardsScheduleDemoClick(c,{isCreditCardOffered:m,isDebitCardOffered:h,isDebitCardEnabled:x,isCreditCardEnabled:w},"Cards Promo"),Q(!0)},we=C!=null&&M!=null?Se("0,0",{amount:C.chargeCardsCreditAccountLimit,currencyCode:M.currencyCode,currencySymbol:M.currencySymbol}):void 0;T.useEffect(()=>{X==="In-Progress"&&_?.fetchStatus.fetchState==="Completed"&&J()},[X,J,_?.fetchStatus]);const q=Ue(W.loggedInUserRoleMap),fe=Te(W),E=f==="credit"&&C?.isCompanyInterestedInChargeCard===!1&&C.chargeCardsCreditAccountLimit===0,D=f==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===-1,F=f==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===0,Ce=f==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit>0,{expressInterestInChargeCardFetchState:be}=i,K=E?o.getPreApprovedNow:n?o.enableCardsButton:o.setupCardsButton;return r.jsxs(We,{children:[r.jsx(ve,{title:o.title[f],backgroundColor:he.colors.grey4,onBackClick:pe,showBackButton:!0,showMenuIcon:z==="medium-compact"||z==="small",onClickMenuIcon:me,style:{zIndex:9},source:"ChargeCardPromoPage"}),ue===!0?r.jsx(ze,{onCancelClick:()=>{Q(!1)},meetingUrl:e}):null,r.jsx(qe,{windowSize:z,children:q===!0?r.jsxs(Qe,{children:[r.jsxs(Xe,{children:[r.jsx(He,{isApproved:Ce,creditAmount:we,cardPromoType:f,isUnderReview:F,isRejected:D,showExpressInterest:E,creditLimit:C?.chargeCardsCreditAccountLimit}),r.jsx(ne,{cardPromoType:f,cashbackRate:P})]}),r.jsx(ae,{showEnableCardButton:n,cardPromoType:f,isUnderReview:F,isRejected:D,showExpressInterest:E,isCheckingEnabled:l})]}):r.jsx(Oe,{companyLegalName:s,cards:[],admins:j,cashbackRate:P,hasZeniFinopsRoles:fe,cardPromoType:f,isCheckingEnabled:l})}),q&&!(F||D)?r.jsxs(or,{windowSize:z,children:[r.jsx(Y,{variant:"secondary",label:o.scheduleDemoButton,style:{width:166},onClick:xe,"data-testid":ee("schedule-demo-button")}),r.jsx(Ze,{windowSize:z,children:o.orText}),r.jsx(Y,{variant:"primary",label:K,style:{minWidth:166},loading:i.chargeCardTermsDetails?.fetchStatus.fetchState==="In-Progress"||be==="In-Progress",onClick:K===o.getPreApprovedNow?ge:()=>d(f),"data-testid":ee("enable-card-button")})]}):null]})},Ve=({admins:e})=>{const s=e.flatMap(n=>n.user?.firstName+" "+n.user?.lastName).join(", "),i=$();return r.jsxs(mr,{windowSize:i,children:[r.jsx(N,{underline:!1,windowSize:i,children:o.noCardAssigned.pre}),r.jsx(Be,{title:s,placement:"top-start",style:{padding:`2px ${t.sp2}`},children:r.jsx(N,{underline:!0,windowSize:i,children:o.noCardAssigned.tooltip})}),r.jsx(N,{underline:!1,windowSize:i,children:o.noCardAssigned.post})]})},ae=({cardPromoType:e,showEnableCardButton:s,isCheckingEnabled:i,isUnderReview:n,isRejected:c,showExpressInterest:m,isCardUser:h=!1})=>{const x=$();return r.jsx(ir,{windowSize:x,children:r.jsx(Le,{topTermLabel:o.terms.checkingAccountTerm,buttonTermLabel:n===!0||c===!0||h===!0?void 0:m===!0?o.terms.getPreApprovedNowTerm:s?o.terms.alternateTerm1:o.terms.terms1,showEndIcon:!1,showTerms:c===!1&&h===!1&&n===!1,style:{marginTop:g.termsOfAgreementMarginTop.valuePx(x)},cardPromoType:e,isCheckingEnabled:i})})},He=({isApproved:e,cardPromoType:s,creditAmount:i,isUnderReview:n,isRejected:c,showExpressInterest:m,creditLimit:h})=>{const x=$(),w=s==="debit_and_credit"?o.promoTextDebitCreditCard:s==="debit"?o.promoTextDebitCard:o.promoTextCreditCard,j=e?r.jsxs(r.Fragment,{children:[o.promoBadgeText.approved,r.jsx(te,{children:i}),o.creditLimit,U.strings.space]}):m?r.jsxs(r.Fragment,{children:[o.promoBadgeText.nonPreApproved.get,r.jsx(rr,{children:o.promoBadgeText.nonPreApproved.scale}),o.promoBadgeText.nonPreApproved.doubleStarred,U.strings.space,o.promoBadgeText.nonPreApproved.higherLimits]}):n?o.promoBadgeText.underReview:c?o.promoBadgeText.rejected:s==="debit_and_credit"&&h===0?null:r.jsxs(r.Fragment,{children:[o.promoBadgeText.preApproved,r.jsx(te,{children:i}),o.creditLimit,U.strings.space]});return r.jsxs(r.Fragment,{children:[r.jsx(r.Fragment,{children:x==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:w}),r.jsx(ce,{children:o.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:w}),r.jsx(de,{children:o.promoSubText})]})}),r.jsxs(Ye,{cardPromoType:s,hasContent:j!=null,hideBadge:i==null||s==="debit",windowSize:x,children:[n||c||m?null:r.jsx(br,{}),r.jsx(er,{windowSize:x,children:j})]})]})},Oe=({companyLegalName:e,cards:s,admins:i,cashbackRate:n,hasZeniFinopsRoles:c,cardPromoType:m="credit",isCheckingEnabled:h})=>{const x=$(),w=m==="debit_and_credit"?o.promoTextDebitCreditCard:m==="debit"?o.promoTextDebitCard:o.promoTextCreditCard;return r.jsxs(r.Fragment,{children:[x==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:w}),r.jsx(ce,{children:o.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:w}),r.jsx(de,{children:o.promoSubText})]}),s.length===0?r.jsx(pr,{windowSize:x}):r.jsx(Ge,{cards:s,companyLegalName:e}),r.jsx(ne,{cardPromoType:m,cashbackRate:n}),c?null:r.jsx(Ve,{admins:i}),r.jsx(ae,{isCardUser:!0,showEnableCardButton:!1,cardPromoType:m,isCheckingEnabled:h})]})},Ge=({cards:e,companyLegalName:s})=>{const i=O(),n=$();let c="",m;if(e.length===1){m=e[0].cardCreatedByUser.photo;const h=e[0].cardCreatedByUser.firstName+" "+e[0].cardCreatedByUser.lastName;c=o.cardAssigned.singleCreditCard.replace("__issuing-user__",h).replace("__company-name__",s)}else c=o.cardAssigned.multipleCreditCards.replace("__company-name__",s);return r.jsxs(hr,{children:[m!=null?r.jsx(Ke,{width:t.sp5,height:t.sp5,style:{paddingTop:n==="small"?t.sp1:t.sp0},src:m.href,alt:oe.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:h})=>{h.onerror=null,h.src=Ie},loading:"lazy"}):null,r.jsx(gr,{windowSize:n,mode:i.mode,children:r.jsx(ur,{windowSize:n,children:c})})]})},re=({windowSize:e,cardPromoType:s})=>{let i=o.businessText;return s==="debit"&&(i=`${i} ${o.debit}`),r.jsx(r.Fragment,{children:s==="debit_and_credit"?r.jsx(Je,{}):r.jsxs(nr,{windowSize:e,children:[r.jsx(V,{cardPromoType:s,cardText:i,shouldAnimate:!0,showChip:!0,forDashboard:!1,forListPage:!1}),r.jsx(H,{cardPromoType:s,cardText:i,showChip:!0,forDashboard:!1,shouldAnimate:!0,forListPage:!1})]})})},ne=({cardPromoType:e,cashbackRate:s})=>{const i=$(),n=o.benefits;return r.jsxs(tr,{windowSize:i,children:[i==="small"?r.jsx(re,{windowSize:i,cardPromoType:e}):null,r.jsxs(ar,{windowSize:i,children:[r.jsxs(A,{windowSize:i,children:[r.jsx(B,{children:r.jsx(lr,{})}),r.jsxs(L,{children:[r.jsx(y,{windowSize:i,children:n.item1.pre}),r.jsx(I,{windowSize:i,children:n.item1.bold.replace("__cashback__",(s*100).toFixed(2))}),r.jsx(y,{windowSize:i,children:`${e==="credit"||e==="debit_and_credit"?n.singleStarred:""}${n.item1.post}`})]})]}),r.jsxs(A,{windowSize:i,children:[r.jsx(B,{children:r.jsx(sr,{})}),r.jsxs(L,{children:[r.jsx(y,{windowSize:i,children:n.item2.pre}),r.jsx(I,{windowSize:i,children:n.item2.bold}),r.jsx(y,{windowSize:i,children:n.item2.post})]})]}),r.jsxs(A,{windowSize:i,children:[r.jsx(B,{children:r.jsx(cr,{})}),r.jsxs(L,{children:[r.jsx(y,{windowSize:i,children:n.item3.pre}),r.jsx(I,{windowSize:i,children:n.item3.bold}),r.jsx(y,{windowSize:i,children:n.item3.post})]})]}),r.jsxs(A,{windowSize:i,children:[r.jsx(B,{children:r.jsx(dr,{})}),r.jsxs(L,{children:[r.jsx(y,{windowSize:i,children:n.item4.pre}),r.jsx(I,{windowSize:i,children:n.item4.bold}),r.jsx(y,{windowSize:i,children:n.item4.post})]})]})]}),i==="small"?null:r.jsx(re,{windowSize:i,cardPromoType:e})]})};let k;const Je=()=>{const e=$(),s=O(),[i,n]=T.useState(0),[c,m]=T.useState(!1),h=o.businessText,x=`${h} ${o.debit}`,w=[{id:1,cardType:"debit",cardText:x},{id:2,cardType:"debit",cardText:x},{id:3,cardType:"credit",cardText:h},{id:4,cardType:"credit",cardText:h}];T.useEffect(()=>(c||(k=setInterval(()=>{n(l=>{const d=l+1;return d===w.length?(m(!0),0):d})},2e3)),()=>clearInterval(k)),[c,w.length]),T.useEffect(()=>{c&&k!=null&&clearInterval(k)},[c]);const j=(l,d)=>{switch((l-i+w.length)%w.length){case 0:return{transform:`translate(0,${d?"100%":0}) scale(1)`,zIndex:d?5:6,opacity:1,transition:"transform 0.4s"};case 1:return{transform:`translate(35%, ${d?"80%":"5%"}) scale(0.75)`,zIndex:d?4:5,opacity:1,transition:"all 0.4s"};case 2:return{transform:`translate(35%,${d?"80%":"5%"}) scale(0.75)`,zIndex:d?3:4,opacity:0,transition:"transform 0.4s 0.2s, opacity 0.4s 0.0s"};case 3:return{transform:`translate(-35%, ${d?"80%":"5%"}) scale(0.75)`,zIndex:d?4:5,opacity:1,transition:"all 0.4s"};default:return}},P=l=>{const d=j(l,!0);return{...d,transform:`${d?.transform} scaleY(-1)`,opacity:1,transition:"transform 0s 0s, z-index 0s 0s"}},f=l=>{c||m(!0),n(l)};return r.jsxs(xr,{windowSize:e,children:[r.jsx(wr,{windowSize:e,children:w.map((l,d)=>r.jsxs(fr,{children:[r.jsx(ie,{isReflection:!1,style:{...j(d,!1)},onClick:()=>f(d),children:d===0||d===2?r.jsx(V,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}}):r.jsx(H,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}})},l.id),r.jsx(ie,{isReflection:!0,style:{...P(d)},children:d===0||d===2?r.jsx(V,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,forDashboard:!1,showChip:!0,forListPage:!1,style:{border:"none",opacity:.1,maskImage:"linear-gradient(to top, black, transparent 90%)",WebkitMaskImage:"linear-gradient(to top, black, transparent 90%)"}}):r.jsx(H,{cardPromoType:l.cardType,cardText:l.cardText,showChip:!0,shouldAnimate:!1,forDashboard:!1,forListPage:!1,style:{border:"none",opacity:.1,maskImage:"linear-gradient(to top, black, transparent)",WebkitMaskImage:"linear-gradient(to top, black, transparent)"}})},`reflection-${l.id}`)]},l.id))}),c&&r.jsx(Ne,{numberOfDots:w.length,activeIndex:i,handleClick:n,promoColor:s.colors.primary,promoColorHover:s.colors.grey5,spendManagementPromoCardActive:!0,dotStyle:{width:t.sp2,height:t.sp2},style:{cursor:"default",position:"absolute",bottom:g.navigationBottom.valuePx(e),left:g.navigationLeft.valuePx(e),zIndex:7}})]})},We=a.div`
|
|
1
|
+
import{J as $,V as r,d as V,aw as be,a8 as $e,aR as je,aO as Se,fX as Te,bD as ze,fw as ve,i as Y,aQ as ee,F as oe,o as t,R as Pe,c as G,cE as ke,aq as Ie,y as u,ap as Ae,bU as Be,iO as Re,ai as Le,u as p,H as S,p as y,bb as _e,aV as Ee,iP as Me}from"./index-CbBDw148.js";import{a as T}from"./sentry-ClS5bwGc.js";import{n as a,c as De,k as Fe}from"./mui-BLUOobNq.js";import{EP as Ue}from"./zeni-epic-state-W0HMFHDj.js";import{k as Ne}from"./NavigationDots-BQb_Fodq-C4MvpAYN.js";import{J as H,N as O}from"./PromoBaseCards-D2UbhBhT-Bd7EQvVS.js";import{M as L}from"./usp-line-BBd1wKwW-DYPeqq64.js";import"./liveblocks-ivZsDCw2.js";import"./core-Ce1HnmCU.js";import"./recharts-J8hRG6fl.js";import"./lottie-solWV_WO.js";import"./analytics-hCfYtzJT.js";import"./lexical-Dk2CPrxk.js";import"./utils-DG8PAOHO.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]="77ebfa1f-04ff-480a-8a42-172926fe3c67",e._sentryDebugIdIdentifier="sentry-dbid-77ebfa1f-04ff-480a-8a42-172926fe3c67")}catch{}})();const g={containerPaddingTopBottom:new u(p[0],p[0]),uspContainerMarginX:new u(p[6],p[0]),midContainerGap:new u(p[4],84),iconContainerMinHeight:new u(236,396),emptySectionHeight:new u(p[6],43),navigationBottom:new u(p[4],94),navigationLeft:new u(192,244),carouselHeight:new u(268,396),carouselMarginTop:new u(54,p[4]),carouselMarginLeft:new u(120,p[12]),buttonTrayGap:new u(p[3],p[5]),termsOfAgreementMarginTop:new u(p[5],p[10]),contactAdminContainerMarginTop:new u(p[0],p[10]),contactAdminContainerMarginBottom:new u(p[4],p[0]),contactAdminContainerMarginLeftRight:new u(p[3],p[0])},z={promoBadgeText:new S("standardRegular","largeRegular"),promoBadgeTextBold:new S("standardBold","largeBold"),cardsContent:new S("extraSmallRegular","smallRegular"),contactAdmin:new S("extraSmallRegular","largeRegular"),uspText:new S("smallRegular","standardRegular"),uspBoldText:new S("smallMedium","standardMedium")},{common:U,spendManagement:{chargeCard:{chargeCardsPromo:o}}}=oe.getLocalizedStrings(),_r=({meetingUrl:e,companyLegalName:s,chargeCardSetupView:i,showEnableCardButton:n,controllerEmails:c,isCreditCardProductVisible:m,isDebitCardFeatureEnabled:h,isDebitCardSetupEnabled:x,isChargeCardSetupEnabled:w,admins:j,cashbackRate:P,cardPromoType:f="credit",isCheckingEnabled:l,onSetupButtonClick:d,onBackClick:pe,onClickMenuIcon:me,onSetupChargeCardSuccess:J,onExpressInterestClick:ge})=>{const he=V(),X=be(),v=$(),W=$e().analytics,{chargeCardTermsDetails:_,companyChargeCardInfo:C,companyLocaleInfo:E}=i,Z=je(_?.fetchStatus.fetchState),[ue,q]=T.useState(!1),xe=()=>{W.trackCardsPromoPageClicked("schedule demo"),W.trackCardsScheduleDemoClick(c,{isCreditCardOffered:m,isDebitCardOffered:h,isDebitCardEnabled:x,isCreditCardEnabled:w},"Cards Promo"),q(!0)},we=C!=null&&E!=null?Se("0,0",{amount:C.chargeCardsCreditAccountLimit,currencyCode:E.currencyCode,currencySymbol:E.currencySymbol}):void 0;T.useEffect(()=>{Z==="In-Progress"&&_?.fetchStatus.fetchState==="Completed"&&J()},[Z,J,_?.fetchStatus]);const Q=Ue(X.loggedInUserRoleMap),fe=Te(X),M=f==="credit"&&C?.isCompanyInterestedInChargeCard===!1&&C.chargeCardsCreditAccountLimit===0,D=f==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===-1,F=f==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===0,Ce=f==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit>0,{expressInterestInChargeCardFetchState:ye}=i,K=M?o.getPreApprovedNow:n?o.enableCardsButton:o.setupCardsButton;return r.jsxs(Xe,{children:[r.jsx(ze,{title:o.title[f],backgroundColor:he.colors.grey4,onBackClick:pe,showBackButton:!0,showMenuIcon:v==="medium-compact"||v==="small",onClickMenuIcon:me,style:{zIndex:9},source:"ChargeCardPromoPage"}),ue===!0?r.jsx(ve,{onCancelClick:()=>{q(!1)},meetingUrl:e}):null,r.jsx(Qe,{windowSize:v,children:Q===!0?r.jsxs(qe,{children:[r.jsxs(Ze,{children:[r.jsx(Oe,{isApproved:Ce,creditAmount:we,cardPromoType:f,isUnderReview:F,isRejected:D,showExpressInterest:M,creditLimit:C?.chargeCardsCreditAccountLimit}),r.jsx(ne,{cardPromoType:f,cashbackRate:P})]}),r.jsx(ae,{showEnableCardButton:n,cardPromoType:f,isUnderReview:F,isRejected:D,showExpressInterest:M,isCheckingEnabled:l})]}):r.jsx(Ve,{companyLegalName:s,cards:[],admins:j,cashbackRate:P,hasZeniFinopsRoles:fe,cardPromoType:f,isCheckingEnabled:l})}),Q&&!(F||D)?r.jsxs(or,{windowSize:v,children:[r.jsx(Y,{variant:"secondary",label:o.scheduleDemoButton,style:{width:166},onClick:xe,"data-testid":ee("schedule-demo-button")}),r.jsx(We,{windowSize:v,children:o.orText}),r.jsx(Y,{variant:"primary",label:K,style:{minWidth:166},loading:i.chargeCardTermsDetails?.fetchStatus.fetchState==="In-Progress"||ye==="In-Progress",onClick:K===o.getPreApprovedNow?ge:()=>d(f),"data-testid":ee("enable-card-button")})]}):null]})},He=({admins:e})=>{const s=e.flatMap(n=>n.user?.firstName+" "+n.user?.lastName).join(", "),i=$();return r.jsxs(mr,{windowSize:i,children:[r.jsx(N,{underline:!1,windowSize:i,children:o.noCardAssigned.pre}),r.jsx(Be,{title:s,placement:"top-start",style:{padding:`2px ${t.sp2}`},children:r.jsx(N,{underline:!0,windowSize:i,children:o.noCardAssigned.tooltip})}),r.jsx(N,{underline:!1,windowSize:i,children:o.noCardAssigned.post})]})},ae=({cardPromoType:e,showEnableCardButton:s,isCheckingEnabled:i,isUnderReview:n,isRejected:c,showExpressInterest:m,isCardUser:h=!1})=>{const x=$();return r.jsx(ir,{windowSize:x,children:r.jsx(Re,{topTermLabel:o.terms.checkingAccountTerm,buttonTermLabel:n===!0||c===!0||h===!0?void 0:m===!0?o.terms.getPreApprovedNowTerm:s?o.terms.alternateTerm1:o.terms.terms1,showEndIcon:!1,showTerms:c===!1&&h===!1&&n===!1,style:{marginTop:g.termsOfAgreementMarginTop.valuePx(x)},cardPromoType:e,isCheckingEnabled:i})})},Oe=({isApproved:e,cardPromoType:s,creditAmount:i,isUnderReview:n,isRejected:c,showExpressInterest:m,creditLimit:h})=>{const x=$(),w=s==="debit_and_credit"?o.promoTextDebitCreditCard:s==="debit"?o.promoTextDebitCard:o.promoTextCreditCard,j=e?r.jsxs(r.Fragment,{children:[o.promoBadgeText.approved,r.jsx(te,{children:i}),o.creditLimit,U.strings.space]}):m?r.jsxs(r.Fragment,{children:[o.promoBadgeText.nonPreApproved.get,r.jsx(rr,{children:o.promoBadgeText.nonPreApproved.scale}),o.promoBadgeText.nonPreApproved.doubleStarred,U.strings.space,o.promoBadgeText.nonPreApproved.higherLimits]}):n?o.promoBadgeText.underReview:c?o.promoBadgeText.rejected:s==="debit_and_credit"&&h===0?null:r.jsxs(r.Fragment,{children:[o.promoBadgeText.preApproved,r.jsx(te,{children:i}),o.creditLimit,U.strings.space]});return r.jsxs(r.Fragment,{children:[r.jsx(r.Fragment,{children:x==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:w}),r.jsx(ce,{children:o.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:w}),r.jsx(de,{children:o.promoSubText})]})}),r.jsxs(Ye,{cardPromoType:s,hasContent:j!=null,hideBadge:i==null||s==="debit",windowSize:x,children:[n||c||m?null:r.jsx(yr,{}),r.jsx(er,{windowSize:x,children:j})]})]})},Ve=({companyLegalName:e,cards:s,admins:i,cashbackRate:n,hasZeniFinopsRoles:c,cardPromoType:m="credit",isCheckingEnabled:h})=>{const x=$(),w=m==="debit_and_credit"?o.promoTextDebitCreditCard:m==="debit"?o.promoTextDebitCard:o.promoTextCreditCard;return r.jsxs(r.Fragment,{children:[x==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:w}),r.jsx(ce,{children:o.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:w}),r.jsx(de,{children:o.promoSubText})]}),s.length===0?r.jsx(pr,{windowSize:x}):r.jsx(Ge,{cards:s,companyLegalName:e}),r.jsx(ne,{cardPromoType:m,cashbackRate:n}),c?null:r.jsx(He,{admins:i}),r.jsx(ae,{isCardUser:!0,showEnableCardButton:!1,cardPromoType:m,isCheckingEnabled:h})]})},Ge=({cards:e,companyLegalName:s})=>{const i=V(),n=$();let c="",m;if(e.length===1){m=e[0].cardCreatedByUser.photo;const h=e[0].cardCreatedByUser.firstName+" "+e[0].cardCreatedByUser.lastName;c=o.cardAssigned.singleCreditCard.replace("__issuing-user__",h).replace("__company-name__",s)}else c=o.cardAssigned.multipleCreditCards.replace("__company-name__",s);return r.jsxs(hr,{children:[m!=null?r.jsx(Ke,{width:t.sp5,height:t.sp5,style:{paddingTop:n==="small"?t.sp1:t.sp0},src:m.href,alt:oe.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:h})=>{h.onerror=null,h.src=Ae},loading:"lazy"}):null,r.jsx(gr,{windowSize:n,mode:i.mode,children:r.jsx(ur,{windowSize:n,children:c})})]})},re=({windowSize:e,cardPromoType:s})=>{let i=o.businessText;return s==="debit"&&(i=`${i} ${o.debit}`),r.jsx(r.Fragment,{children:s==="debit_and_credit"?r.jsx(Je,{}):r.jsxs(nr,{windowSize:e,children:[r.jsx(H,{cardPromoType:s,cardText:i,shouldAnimate:!0,showChip:!0,forDashboard:!1,forListPage:!1}),r.jsx(O,{cardPromoType:s,cardText:i,showChip:!0,forDashboard:!1,shouldAnimate:!0,forListPage:!1})]})})},ne=({cardPromoType:e,cashbackRate:s})=>{const i=$(),n=o.benefits;return r.jsxs(tr,{windowSize:i,children:[i==="small"?r.jsx(re,{windowSize:i,cardPromoType:e}):null,r.jsxs(ar,{windowSize:i,children:[r.jsxs(I,{windowSize:i,children:[r.jsx(B,{children:r.jsx(lr,{})}),r.jsxs(R,{children:[r.jsx(b,{windowSize:i,children:n.item1.pre}),r.jsx(A,{windowSize:i,children:n.item1.bold.replace("__cashback__",(s*100).toFixed(2))}),r.jsx(b,{windowSize:i,children:`${e==="credit"||e==="debit_and_credit"?n.singleStarred:""}${n.item1.post}`})]})]}),r.jsxs(I,{windowSize:i,children:[r.jsx(B,{children:r.jsx(sr,{})}),r.jsxs(R,{children:[r.jsx(b,{windowSize:i,children:n.item2.pre}),r.jsx(A,{windowSize:i,children:n.item2.bold}),r.jsx(b,{windowSize:i,children:n.item2.post})]})]}),r.jsxs(I,{windowSize:i,children:[r.jsx(B,{children:r.jsx(cr,{})}),r.jsxs(R,{children:[r.jsx(b,{windowSize:i,children:n.item3.pre}),r.jsx(A,{windowSize:i,children:n.item3.bold}),r.jsx(b,{windowSize:i,children:n.item3.post})]})]}),r.jsxs(I,{windowSize:i,children:[r.jsx(B,{children:r.jsx(dr,{})}),r.jsxs(R,{children:[r.jsx(b,{windowSize:i,children:n.item4.pre}),r.jsx(A,{windowSize:i,children:n.item4.bold}),r.jsx(b,{windowSize:i,children:n.item4.post})]})]})]}),i==="small"?null:r.jsx(re,{windowSize:i,cardPromoType:e})]})};let k;const Je=()=>{const e=$(),s=V(),[i,n]=T.useState(0),[c,m]=T.useState(!1),h=o.businessText,x=`${h} ${o.debit}`,w=[{id:1,cardType:"debit",cardText:x},{id:2,cardType:"debit",cardText:x},{id:3,cardType:"credit",cardText:h},{id:4,cardType:"credit",cardText:h}];T.useEffect(()=>(c||(k=setInterval(()=>{n(l=>{const d=l+1;return d===w.length?(m(!0),0):d})},2e3)),()=>clearInterval(k)),[c,w.length]),T.useEffect(()=>{c&&k!=null&&clearInterval(k)},[c]);const j=(l,d)=>{switch((l-i+w.length)%w.length){case 0:return{transform:`translate(0,${d?"100%":0}) scale(1)`,zIndex:d?5:6,opacity:1,transition:"transform 0.4s"};case 1:return{transform:`translate(35%, ${d?"80%":"5%"}) scale(0.75)`,zIndex:d?4:5,opacity:1,transition:"all 0.4s"};case 2:return{transform:`translate(35%,${d?"80%":"5%"}) scale(0.75)`,zIndex:d?3:4,opacity:0,transition:"transform 0.4s 0.2s, opacity 0.4s 0.0s"};case 3:return{transform:`translate(-35%, ${d?"80%":"5%"}) scale(0.75)`,zIndex:d?4:5,opacity:1,transition:"all 0.4s"};default:return}},P=l=>{const d=j(l,!0);return{...d,transform:`${d?.transform} scaleY(-1)`,opacity:1,transition:"transform 0s 0s, z-index 0s 0s"}},f=l=>{c||m(!0),n(l)};return r.jsxs(xr,{windowSize:e,children:[r.jsx(wr,{windowSize:e,children:w.map((l,d)=>r.jsxs(fr,{children:[r.jsx(ie,{isReflection:!1,style:{...j(d,!1)},onClick:()=>f(d),children:d===0||d===2?r.jsx(H,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}}):r.jsx(O,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}})},l.id),r.jsx(ie,{isReflection:!0,style:{...P(d)},children:d===0||d===2?r.jsx(H,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,forDashboard:!1,showChip:!0,forListPage:!1,style:{border:"none",opacity:.1,maskImage:"linear-gradient(to top, black, transparent 90%)",WebkitMaskImage:"linear-gradient(to top, black, transparent 90%)"}}):r.jsx(O,{cardPromoType:l.cardType,cardText:l.cardText,showChip:!0,shouldAnimate:!1,forDashboard:!1,forListPage:!1,style:{border:"none",opacity:.1,maskImage:"linear-gradient(to top, black, transparent)",WebkitMaskImage:"linear-gradient(to top, black, transparent)"}})},`reflection-${l.id}`)]},l.id))}),c&&r.jsx(Ne,{numberOfDots:w.length,activeIndex:i,handleClick:n,promoColor:s.colors.primary,promoColorHover:s.colors.grey5,spendManagementPromoCardActive:!0,dotStyle:{width:t.sp2,height:t.sp2},style:{cursor:"default",position:"absolute",bottom:g.navigationBottom.valuePx(e),left:g.navigationLeft.valuePx(e),zIndex:7}})]})},Xe=a.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
min-height: 100%;
|
|
5
5
|
flex-direction: column;
|
|
6
6
|
background-color: ${e=>e.theme.colors.grey4};
|
|
7
|
-
`,
|
|
7
|
+
`,We=a(Le)`
|
|
8
8
|
color: ${e=>e.theme.colors.hero};
|
|
9
|
-
`,
|
|
9
|
+
`,Ze=a.div`
|
|
10
10
|
display: flex;
|
|
11
11
|
flex-direction: column;
|
|
12
12
|
align-items: center;
|
|
13
|
-
`,
|
|
13
|
+
`,qe=a.div`
|
|
14
14
|
display: flex;
|
|
15
15
|
flex-direction: column;
|
|
16
16
|
justify-content: space-between;
|
|
17
17
|
flex: 1;
|
|
18
18
|
width: 100%;
|
|
19
|
-
`,
|
|
19
|
+
`,Qe=a.div`
|
|
20
20
|
padding-top: ${e=>g.containerPaddingTopBottom.valuePx(e.windowSize)};
|
|
21
21
|
padding-bottom: ${e=>g.containerPaddingTopBottom.valuePx(e.windowSize)};
|
|
22
22
|
text-align: center;
|
|
@@ -32,7 +32,7 @@ import{J as $,V as r,y as O,ay as ye,a9 as $e,aS as je,aQ as Se,fZ as Te,bE as v
|
|
|
32
32
|
flex-wrap: wrap;
|
|
33
33
|
padding: ${t.sp7} ${t.sp0} ${t.sp0} ${t.sp0};
|
|
34
34
|
color: ${e=>e.theme.colors.primary};
|
|
35
|
-
`,de=a(
|
|
35
|
+
`,de=a(Ie)`
|
|
36
36
|
color: ${e=>e.theme.colors.primary};
|
|
37
37
|
margin: auto;
|
|
38
38
|
margin-top: ${t.sp2};
|
|
@@ -76,14 +76,14 @@ import{J as $,V as r,y as O,ay as ye,a9 as $e,aS as je,aQ as Se,fZ as Te,bE as v
|
|
|
76
76
|
visibility: hidden;
|
|
77
77
|
`}
|
|
78
78
|
`,er=a(G)`
|
|
79
|
-
color: ${e=>e.theme.mode==="dark"?
|
|
79
|
+
color: ${e=>e.theme.mode==="dark"?y.brandColorJade:y.brandColorSapphire};
|
|
80
80
|
text-align: ${e=>e.windowSize==="small"?"left":"center"};
|
|
81
|
-
${e=>`${
|
|
81
|
+
${e=>`${z.promoBadgeText.style(e.windowSize)}`};
|
|
82
82
|
span {
|
|
83
|
-
${e=>`${
|
|
83
|
+
${e=>`${z.promoBadgeTextBold.style(e.windowSize)}`};
|
|
84
84
|
}
|
|
85
85
|
`,rr=a.span``,te=a.span`
|
|
86
|
-
color: ${
|
|
86
|
+
color: ${y.success};
|
|
87
87
|
`,tr=a.div`
|
|
88
88
|
display: flex;
|
|
89
89
|
gap: ${e=>g.midContainerGap.valuePx(e.windowSize)};
|
|
@@ -121,7 +121,7 @@ import{J as $,V as r,y as O,ay as ye,a9 as $e,aS as je,aQ as Se,fZ as Te,bE as v
|
|
|
121
121
|
min-height: ${e=>g.iconContainerMinHeight.valuePx(e.windowSize)};
|
|
122
122
|
align-items: center;
|
|
123
123
|
min-width: 480px;
|
|
124
|
-
`,
|
|
124
|
+
`,I=a.div`
|
|
125
125
|
border-radius: ${t.sp12};
|
|
126
126
|
border: ${e=>`1px solid ${e.theme.colors.grey2}`};
|
|
127
127
|
padding: ${e=>e.windowSize==="small"?`${t.sp2} ${t.sp4} ${t.sp2} ${t.sp0}`:`${t.sp3} ${t.sp5} ${t.sp3} ${t.sp0}`};
|
|
@@ -134,22 +134,22 @@ import{J as $,V as r,y as O,ay as ye,a9 as $e,aS as je,aQ as Se,fZ as Te,bE as v
|
|
|
134
134
|
width: ${e=>e.windowSize==="small"?"288px":"100%"};
|
|
135
135
|
min-height: ${e=>e.windowSize!=="small"?"83px":"44px"};
|
|
136
136
|
box-sizing: ${e=>e.windowSize==="small"?"unset":"border-box"};
|
|
137
|
-
`,
|
|
137
|
+
`,b=a(_e)`
|
|
138
138
|
color: ${e=>e.theme.colors.champion};
|
|
139
|
-
${e=>`${
|
|
140
|
-
`,
|
|
139
|
+
${e=>`${z.uspText.style(e.windowSize)}`};
|
|
140
|
+
`,A=a(Ee)`
|
|
141
141
|
color: ${e=>e.theme.colors.champion};
|
|
142
|
-
${e=>`${
|
|
143
|
-
`,B=a.div``,
|
|
142
|
+
${e=>`${z.uspBoldText.style(e.windowSize)}`};
|
|
143
|
+
`,B=a.div``,R=a.div`
|
|
144
144
|
padding-left: ${t.sp3};
|
|
145
|
-
`,sr=a(
|
|
146
|
-
color: ${
|
|
147
|
-
`,dr=a(
|
|
148
|
-
color: ${
|
|
149
|
-
`,lr=a(
|
|
150
|
-
color: ${
|
|
151
|
-
`,cr=a(
|
|
152
|
-
color: ${
|
|
145
|
+
`,sr=a(L)`
|
|
146
|
+
color: ${y.graphColor16Dark};
|
|
147
|
+
`,dr=a(L)`
|
|
148
|
+
color: ${y.alert};
|
|
149
|
+
`,lr=a(L)`
|
|
150
|
+
color: ${y.graphColor11};
|
|
151
|
+
`,cr=a(L)`
|
|
152
|
+
color: ${y.success};
|
|
153
153
|
`,pr=a.div`
|
|
154
154
|
height: ${e=>g.emptySectionHeight.valuePx(e.windowSize)};
|
|
155
155
|
${e=>e.windowSize==="small"?null:De`
|
|
@@ -163,8 +163,8 @@ import{J as $,V as r,y as O,ay as ye,a9 as $e,aS as je,aQ as Se,fZ as Te,bE as v
|
|
|
163
163
|
margin-left: ${e=>g.contactAdminContainerMarginLeftRight.valuePx(e.windowSize)};
|
|
164
164
|
margin-right: ${e=>g.contactAdminContainerMarginLeftRight.valuePx(e.windowSize)};
|
|
165
165
|
text-align: center;
|
|
166
|
-
`,N=a(
|
|
167
|
-
${e=>`${
|
|
166
|
+
`,N=a(Me)`
|
|
167
|
+
${e=>`${z.contactAdmin.style(e.windowSize)}`};
|
|
168
168
|
text-decoration: ${e=>e.underline?"underline":"none"};
|
|
169
169
|
cursor: ${e=>e.underline?"default":null};
|
|
170
170
|
`,gr=a.div`
|
|
@@ -180,7 +180,7 @@ import{J as $,V as r,y as O,ay as ye,a9 as $e,aS as je,aQ as Se,fZ as Te,bE as v
|
|
|
180
180
|
margin-top: ${t.sp4};
|
|
181
181
|
margin-bottom: ${t.sp6};
|
|
182
182
|
`,ur=a.span`
|
|
183
|
-
${e=>`${
|
|
183
|
+
${e=>`${z.cardsContent.style(e.windowSize)}`};
|
|
184
184
|
`,xr=a.div`
|
|
185
185
|
display: flex;
|
|
186
186
|
flex-direction: column;
|
|
@@ -210,13 +210,13 @@ import{J as $,V as r,y as O,ay as ye,a9 as $e,aS as je,aQ as Se,fZ as Te,bE as v
|
|
|
210
210
|
100% {
|
|
211
211
|
left: calc(100% + ${t.sp6});
|
|
212
212
|
}
|
|
213
|
-
`,
|
|
213
|
+
`,yr=a.div`
|
|
214
214
|
position: absolute;
|
|
215
215
|
background:
|
|
216
|
-
${
|
|
216
|
+
${y.promoCardGradient1Strong}, ${y.promoCardGradient2Strong};
|
|
217
217
|
width: ${t.sp10};
|
|
218
218
|
z-index: 3;
|
|
219
219
|
height: 100%;
|
|
220
220
|
transform: skew(15deg);
|
|
221
221
|
animation: ${Cr} 4s linear infinite;
|
|
222
|
-
`;export{
|
|
222
|
+
`;export{Ve as ChargeCardPromoUserContent,_r as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{d as je,J as Oe,a8 as Ue,aR as M,a9 as Be,cG as _e,aW as G,V as t,fe as ze,p as Re,y as d,bD as $e,T as We,ac as Le,fx as Ne,dR as qe,fy as He,o as B,b as Me,iQ as J,bx as Ge,aS as Je,fA as Qe,F as Ye,u as a,al as Ke}from"./index-CbBDw148.js";import{a as f}from"./sentry-ClS5bwGc.js";import{n as w}from"./mui-BLUOobNq.js";import{bJ as Xe}from"./zeni-epic-state-W0HMFHDj.js";import{x as Ze}from"./LabeledControlledCheckBoxField-BsFqjCpn-Drc3Qnd9.js";import{g as et}from"./UploadAdditionalDocumentOverlay-BKY6hK51-EpFUtbZq.js";import"./liveblocks-ivZsDCw2.js";import"./core-Ce1HnmCU.js";import"./recharts-J8hRG6fl.js";import"./lottie-solWV_WO.js";import"./analytics-hCfYtzJT.js";import"./lexical-Dk2CPrxk.js";import"./utils-DG8PAOHO.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="9dd72111-997d-4e07-999a-fa684b7678ec",e._sentryDebugIdIdentifier="sentry-dbid-9dd72111-997d-4e07-999a-fa684b7678ec")}catch{}})();const c={titleWidth:new d(343,580,726,826),setupDetailsRowGap:new d(12,a[5],a[5]),sectionRowGap:new d(a[5],a[9],a[9]),iconWidthHeight:new d(20,a[4]),subTitlePaddingTop:new d(12,a[3]),subTitlePaddingBottom:new d(a[3],a[3]),overlayWidth:new d(100,100,59),checkBoxTop:new d(a[1],a[0])},Q="chargeCardSetUpPage",m="payAccount",{commonSetUp:tt,spendManagement:nt}=Ye.getLocalizedStrings(),{chargeCard:X}=nt,{chargeCardSetUp:g}=X,{setUp:_}=tt,wt=({autoPayThreshold:e,isDisabled:r,meetingUrl:x,isEarlyPayEnabled:h,chargeCardSetUpView:o,connectedAccountProvider:Z,filesEndPoint:ee,authParams:te,isAccountsEnabled:ne,isDebitCardOnlyEnabled:v,isCreditCardOnlyEnabled:ie,accountsPromoConfig:oe,onFetchLinkTokenClick:ae,onBackClick:ce,onEnableChargeCardClick:se,onUpdateChargeCardClick:le,onBusinessVerificationSectionClick:de,onUpdatePaymentAccountStatus:re,onUpdatePaymentAccountLoginStatus:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAutoPayClick:fe,onEstablishConnectionClick:ge,onEstablishConnectionSuccess:me,onClickMenuIcon:he,onEnableChargeCardSuccess:P,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,onCompanyOfficerUpdated:Se,onSendForVerificationClick:we,onSignUpClick:xe})=>{const y=je(),i=Oe(),E=Ue().analytics,[A,b]=f.useState(!1),{fetchState:C,companyBillPayInfo:z,isRefreshingViewInBackground:Pe,updateStatus:u,accountUpdateStatus:Ae,plaidConnectionDetails:ke,allBankAccounts:Te,companyChargeCardInfo:I,companyDebitCardInfo:R,selectedCompanyOfficer:s,primaryFundingAccount:l,allFundingAccounts:$}=o,W=M(C),k=M(u.fetchState),D=Be({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>Y(o),[o]),values:Y(o)}),ve=D.handleSubmit(se),Ee=async(S,T)=>{const n=T[m];if(S.includes(m))if(S.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&l?.id!=n.fundingAccount.selectedOption){const p=$.find(U=>U.id===n.fundingAccount.selectedOption);p!=null&&pe(n.fundingAccount.selectedOption,p.accType)}}else if(n.account.selectedOption!=null&&l?.id!=null&&l?.zeniAccountId!=n.account.selectedOption){const p=n.account.allOptions.find(U=>U.value===n.account.selectedOption);p!=null&&typeof p.label=="string"&&E.trackConnectBankLink(p.value,p.label,"charge_cards"),le(n.account.selectedOption,l.id,l.accType)}else S.includes("enableAutoPay")&&n.enableAutoPay!=null&&fe(n.enableAutoPay)};f.useEffect(()=>{const S=D.watch((T,{name:n})=>{n!=null&&T!=null&&_e(()=>Ee(n,T))});return()=>{S.unsubscribe()}}),f.useEffect(()=>{!A&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"&&b(!0),A&&W==="In-Progress"&&C==="Completed"&&b(!1)},[s,C,W]),f.useEffect(()=>{k==="In-Progress"&&u.fetchState==="Completed"&&P()},[P,k,u.fetchState]);const V=I?.isChargeCardEnabled===!0,F=R?.isDebitCardEnabled===!0,L=R?.isDebitCardTOSAccepted===!0,N=I?.isChargeCardTOSAccepted===!0,q=z?.isBusinessVerified===!0,Ie=l?.accType==="depositAccount"||Xe(l?.providerVerificationStatus?.code??""),j=v?q:q&&Ie,De=C==="In-Progress"||C==="Not-Started";f.useEffect(()=>{k==="In-Progress"&&u.fetchState==="Completed"&&P()},[P,k,u.fetchState]);const O=v?j&&!F&&L:ie?j&&!V&&N:j&&!(V&&F)&&N&&L,Ve=O?g.setupSubTitleNotEnabled:g.setupSubTitle,H=y.mode==="light"?new G(y.colors.brandColorJadeLight):new G(y.colors.brandColorJadeDark),Fe=()=>{!A&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"?b(!0):de?.()};return t.jsxs(ot,{children:[t.jsx(ze,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>b(!1),style:{backgroundColor:Re.drawerBackground},transitionDuration:250,children:t.jsx(et,{authParams:te,filesEndPoint:ee,updateStatus:u,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,companyOfficer:s,onClose:()=>b(!1),onCompanyOfficerUpdated:Se,onSendForVerificationClick:we})}),t.jsx($e,{title:g.setupTitle,backgroundColor:y.colors.grey4,style:{zIndex:3},onBackClick:ce,showMenuIcon:!V&&!F&&(i==="medium-compact"||i==="small"),onClickMenuIcon:he,source:"ChargeCardSetupPage"}),t.jsxs(it,{windowSize:i,children:[t.jsx(at,{windowSize:i,children:Ve}),De?t.jsx(ct,{children:t.jsx(We,{size:"ExtraLarge",start:!0})}):t.jsx(Le,{...D,children:t.jsx("form",{id:K(Q),onSubmit:ve,children:t.jsxs(st,{windowSize:i,children:[t.jsx(Ne,{onClick:Fe,title:_.businessVerificationTitle,subTitle:_.businessVerificationSubTitle,header:_.businessVerificationHeader,icon:{element:t.jsx(qe,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},status:z?.businessVerificationStatus,isLoading:Pe,isActiveWhileLoading:!0}),v?null:t.jsx(He,{connectedAccountProvider:Z,primaryFundingAccount:l,allFundingAccounts:$,plaidConnectionDetails:ke,allBankAccounts:Te,sectionId:m,isDisabled:r,onFetchLinkTokenClick:ae,onEstablishConnectionClick:ge,onUpdatePaymentAccountStatus:re,onUpdatePaymentAccountLoginStatus:ue,sectionTitle:g.setupAccountSectionTitle,onEstablishConnectionSuccess:me,icon:{element:t.jsx(Ge,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},analytics:E,productType:"charge_cards",isAccountsEnabled:ne,onSignUpClick:xe,pageName:g.pageName,accountsPromoConfig:oe,accountSelectContainerStyle:h?{marginBottom:"20px"}:{},bottomComponent:h&&t.jsx(Ze,{label:{label:X.payEarly.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{color:y.colors.primary,...Me.smallRegular.cssObject,alignItems:"center"}},style:{width:"unset",marginRight:B.sp4,marginTop:B.sp1,alignItems:i==="small"?"flex-start":"center"},checkBoxField:{name:J(m,"enableAutoPay"),checkBoxValue:J(m,"enableAutoPay"),defaultChecked:I?.isAutoPayEnabled,style:{top:c.checkBoxTop.valuePx(i)}}})})]})})})]}),O?t.jsx(Je,{formId:K(Q),primaryBtn:{label:g.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"||Ae.fetchState==="In-Progress",isDisabled:r!=null},showCancel:!1,cancelBtn:{label:""},style:{padding:`12px ${B.sp3}`}}):null,t.jsx(Qe,{isFooterRendered:O,meetingUrl:x,analytics:E,productType:"charge_cards"})]})},Y=e=>{const{allBankAccounts:r,allFundingAccounts:x,primaryFundingAccount:h}=e;return{[m]:{fundingAccount:{selectedOption:h?.id,allOptions:x.map(o=>({label:o.label,value:o.id,isRecommended:o.accType==="depositAccount"}))},account:{selectedOption:h?.zeniAccountId,allOptions:r.map(o=>({label:o.accountName,value:o.accountId}))},enableAutoPay:e.companyChargeCardInfo?.isAutoPayEnabled}}},K=e=>`${e}_form`,it=w.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: flex-start;
|
|
4
4
|
height: 100%;
|
|
@@ -13,7 +13,7 @@ import{y as je,J as Oe,a9 as Ue,aS as M,aa as Be,cI as _e,aX as G,V as t,fg as $
|
|
|
13
13
|
flex-direction: column;
|
|
14
14
|
width: 100%;
|
|
15
15
|
background-color: ${e=>e.theme.colors.grey4};
|
|
16
|
-
`,at=w(
|
|
16
|
+
`,at=w(Ke)`
|
|
17
17
|
color: ${e=>e.theme.colors.hero};
|
|
18
18
|
display: flex;
|
|
19
19
|
justify-content: center;
|
|
@@ -33,4 +33,4 @@ import{y as je,J as Oe,a9 as Ue,aS as M,aa as Be,cI as _e,aX as G,V as t,fg as $
|
|
|
33
33
|
display: flex;
|
|
34
34
|
flex-direction: column;
|
|
35
35
|
row-gap: ${e=>c.sectionRowGap.valuePx(e.windowSize)};
|
|
36
|
-
`;export{wt as default,
|
|
36
|
+
`;export{wt as default,K as uniqueName};
|