@zeniai/web-cockpit-ui 1.15.6-prod → 1.15.7-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-DDuW5spI-CxBhE7Uh.js → ACHDetailsPage-CGG2Hx4v-BW7Ihkof.js} +1 -1
- package/dist/assets/{AIPerformancePage-Bbk-pUwz-CXuvh1Mj.js → AIPerformancePage-XDCygRgj-CEqrEuBs.js} +32 -32
- package/dist/assets/AccountInfoPage-CSf3J58F-DCyXpiFs.js +18 -0
- package/dist/assets/{AccountInfoPageContent-BA3WBfD4-BuWc_ZhS.js → AccountInfoPageContent-wjaeVokT-CiNOfJ02.js} +9 -9
- package/dist/assets/{AccountLockedInfoModal-Bs1ImO2L-Cc7T0poM.js → AccountLockedInfoModal-DJnj--uc-BJgnvrcM.js} +4 -4
- package/dist/assets/{AccountReconDetailsDrawerPage-Ci_Eb0_d-DEaKMPcI.js → AccountReconDetailsDrawerPage-a2stjcsR-Ds8R_X-n.js} +19 -19
- package/dist/assets/{AccountRow-BWclqiQh-YQWO0ylP.js → AccountRow-DlccmtgU-foUdbmvG.js} +24 -24
- package/dist/assets/{AccountsPromoCardStack-BHgGIeBG-ByHps-3E.js → AccountsPromoCardStack-BE0vjkiK-DEN0OmWn.js} +14 -14
- package/dist/assets/AddAddressForCardDrawer-D3mMFgO8-8PMwaa8Q.js +6 -0
- package/dist/assets/{AddToWalletPage-Dllxg_0u-CgvntkH8.js → AddToWalletPage-6OCJaNcg-EoATwn7j.js} +19 -19
- package/dist/assets/{AgingReportsPage-CBHhfTKI-CxKXezYQ.js → AgingReportsPage-hgg1L3pv-DEJ_mF4m.js} +1 -1
- package/dist/assets/{AllUserItems-Bdv9AIQ9-kcd_hhsG.js → AllUserItems-BmNtc-69-BsLa0Y8T.js} +14 -14
- package/dist/assets/{ApAgingDetailPage-EE3MrY5l-CxNtm4NA.js → ApAgingDetailPage-DAZAnfcs-zxr1sXnX.js} +5 -5
- package/dist/assets/{AppBasePage-02I6V3Np-DzDRUDUh.js → AppBasePage-D7_krMlm-D-9wFTdh.js} +9 -9
- package/dist/assets/{AppDrawerContent-DbBd9m20-BD4Vxp0E.js → AppDrawerContent-DWL57wUk-DZ6AAyNy.js} +6 -6
- package/dist/assets/ApprovalRulesSettingsPage-CiX2Xx3--YCvl1YZm.js +47 -0
- package/dist/assets/{ArAgingChart-BqBx1Gj1-BwabwD2J.js → ArAgingChart-CeaYIqlX-BUR2NiTJ.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-D9rI5yue-DodXQ7og.js → ArAgingDetailPage-Is5kv2-P-CDH0tn0m.js} +1 -1
- package/dist/assets/{AttachmentView-CeblaMyI-Bcjgvkpm.js → AttachmentView-BsNhULL3-C-ca695p.js} +4 -4
- package/dist/assets/{BankAccountSection-B3v3BDPK-ST4ITFLw.js → BankAccountSection-ZWR_hXjD-mYMACSQd.js} +5 -5
- package/dist/assets/{BankAccountWarningSection-DCi9o7_J-Jkspsyof.js → BankAccountWarningSection-C-2eE9pL-BhkH4zkd.js} +5 -5
- package/dist/assets/{BankConnectionsSettingsPage-Csbc7IYe-YCKvdGwA.js → BankConnectionsSettingsPage-CjbaVbou-BNqlym9z.js} +17 -17
- package/dist/assets/{BillDetailPage-ByPP2r-L-CdPd-E0Q.js → BillDetailPage-B_zbQLLp-Dsf72rKA.js} +8 -8
- package/dist/assets/{BillPayApprovalRuleDetailPage-GDOnscxH-jbIIvIwA.js → BillPayApprovalRuleDetailPage-CtJLn_JO-BVtB6sJH.js} +4 -4
- package/dist/assets/{BillPayApprovalRulesPage-BqDyhnz3-any6qZ9S.js → BillPayApprovalRulesPage-vvgGBmoM-C7iW15VO.js} +5 -5
- package/dist/assets/{BillPayPromoPage-B1_ugFQw-PGU7hKFY.js → BillPayPromoPage-DkyMRquU-6vAZUzNc.js} +7 -7
- package/dist/assets/{BillPaySetUpPage-Cx2vQIL8-SNTH8wHn.js → BillPaySetUpPage-m15SlV0c-C_W7-nyr.js} +9 -9
- package/dist/assets/BillingSettingsPage-C4P_B31U-Dbv-0XdG.js +44 -0
- package/dist/assets/{BillsBulkReviewDrawerPage-B8KhD0xH-OW_panID.js → BillsBulkReviewDrawerPage-C_Nmv34F-s0EetHC0.js} +1 -1
- package/dist/assets/{BoxItem-CqsCCOrk-JwTnC0Kx.js → BoxItem-Cmrt_yxF-Cr2cxrKm.js} +1 -1
- package/dist/assets/BusinessVerificationPage-Dr_YFkLN-5SYND8JY.js +138 -0
- package/dist/assets/{CardNumberSubText-ByPbO0F8-BJrrvAG-.js → CardNumberSubText-B6Fprh6S-CEzRIr67.js} +8 -8
- package/dist/assets/{CashbackDetailPage-Ve3JZpeP-nSpsePO4.js → CashbackDetailPage-CWExYaIT-BmImExjs.js} +20 -20
- package/dist/assets/{ChargeCardDetailPage-D7zLKDQo-BL1yS_tf.js → ChargeCardDetailPage-B3hr0WBI-X68NSBCl.js} +1 -1
- package/dist/assets/{ChargeCardListPage-Cnm7GqIj-BUUNEdwx.js → ChargeCardListPage-g9gCfpoh-BTqPP-pZ.js} +15 -15
- package/dist/assets/{ChargeCardListTable-bTR8Mmj4-DyCLS6HZ.js → ChargeCardListTable-BoDSmzn_-CpSnyHh2.js} +38 -38
- package/dist/assets/{ChargeCardPaymentHistoryPage-Cufm-hgn-DDPTuP3u.js → ChargeCardPaymentHistoryPage-xs346JMC-CvFrTbeZ.js} +28 -28
- package/dist/assets/ChargeCardPromoPage-DwiDNiRF-BfEfjZd3.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-B-jcdCNM-Ckvz33NS.js → ChargeCardSetupPage-Dbz_GdRL-ClxdYJ_F.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-CyVlO8hd-BjyVVJMg.js → ChargeCardStatementsPage-Da9NY51a-ChevXKmL.js} +5 -5
- package/dist/assets/{CheckDepositDrawerPage-BmG5ma6K-ydNsV_qc.js → CheckDepositDrawerPage-CcSRXOv7-DM7Ey8xT.js} +8 -8
- package/dist/assets/{CollapsableReportTable-LB-wYzj1-BrgxbNdY.js → CollapsableReportTable-D1b80h2R-CMeyXG6i.js} +41 -41
- package/dist/assets/CompanyOfficerDetailsSection-BMYQ8Qcq-vyiocP81.js +260 -0
- package/dist/assets/{CompanyPassportCard-BwHjmTyn-B9NIAtJj.js → CompanyPassportCard-vAocVa7X-Bg4vrJh5.js} +4 -4
- package/dist/assets/CompanyPassportPage-Dva5Le3j-D1jREPm8.js +574 -0
- package/dist/assets/{CompleteProfile-H7UexvAo-C0O6oJwW.js → CompleteProfile-B-Hhosch-DRCiMIXe.js} +1 -1
- package/dist/assets/ConfettiBurst-BV8M1GTR-DJjoIhlI.js +1 -0
- package/dist/assets/{CreateOrEditVendorPage-Bt2itRHK-JjYy_N9B.js → CreateOrEditVendorPage-Bgc7zC_D-CfO9iUSb.js} +11 -11
- package/dist/assets/{CreditCardPaymentDrawerPage-B8eb8Q0G-gqqM0PRu.js → CreditCardPaymentDrawerPage-Bs5RpFes-CgklXCqv.js} +11 -11
- package/dist/assets/{CurrencySelectField-DIh7_ile-BiZRj88l.js → CurrencySelectField-BC9QkDwI-BEtmNe90.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-B3t4tiur-eESZshql.js → CustomerOnboardingActivationPage-Br4RFzGo-DgY7VWoB.js} +5 -5
- package/dist/assets/CustomerOnboardingContainerPage-BRs0LPZ0-y5fJ25mS.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-JE_MoyoU-CrFmiDtl.js → CustomerOnboardingDetailPageSkeleton-DLKJINnV-B2tg0XBT.js} +18 -18
- package/dist/assets/CustomerOnboardingNoStepsPage-CjvQ3PFZ-BN9B2AZm.js +66 -0
- package/dist/assets/CustomerOnboardingPage-3ECCqY1a-CL7QxZ3D.js +107 -0
- package/dist/assets/{CustomerOnboardingProductSuitePage-DZLKr3qq-CrsoJ2C7.js → CustomerOnboardingProductSuitePage-Dx3FU6Fe-CAm2edHR.js} +4 -4
- package/dist/assets/{Dashboard-z7EuNcjw-BTKsWShT.js → Dashboard-EWWj1Uby-C8-SPpUF.js} +21 -21
- package/dist/assets/{DashboardReportPage-BX2xSgwt-Dw6XE7aa.js → DashboardReportPage-D4kzdnvI-BKOw_sqx.js} +10 -10
- package/dist/assets/{DashboardSidebarBackgroundAnimation-fiNmHYV3-DhXz26Bv.js → DashboardSidebarBackgroundAnimation-BSwRgXFk-CJAI0MPE.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-CmlUJZgz-Dl8g77db.js → DepositAccTransactionItem-xvCtIj9v-7jCouOnq.js} +2 -2
- package/dist/assets/DepositAccTransactionListPage-B8UpFh_9-DlvHxyY3.js +66 -0
- package/dist/assets/{DomesticWireDetailsPage-D-SBQqbR-D77RURF6.js → DomesticWireDetailsPage-DF8bLeDL-Be0QfLbt.js} +1 -1
- package/dist/assets/{DownloadOverlay-DznbXeUZ-DpdJo5HW.js → DownloadOverlay-wlAXZwF0-B68SEe8G.js} +30 -30
- package/dist/assets/{DrawerPage-8d8mdD3v-uI7P44U9.js → DrawerPage-DroW95LB-DgRu7-up.js} +18 -18
- package/dist/assets/{EditPeoplePage-CTwY7ePr-D8_1so-E.js → EditPeoplePage-CgUM9UYI-_7L-v32x.js} +3 -3
- package/dist/assets/{EditReimbursementDetailPage-DVg6dH7p-02iAGHJh.js → EditReimbursementDetailPage-BgcII79s-qEpt9Cs6.js} +61 -61
- package/dist/assets/EntityDetailPage-ByHvXL2c-DbNraeh4.js +18 -0
- package/dist/assets/{EntitySummarySection-CloCPwyO-H2pOzd67.js → EntitySummarySection-D6HekhK7-CEx8SebE.js} +9 -9
- package/dist/assets/{ExpenseAutomationOverviewPage-dHZEdK4L-DhDW8V_C.js → ExpenseAutomationOverviewPage-VN-P6f2z-D9XayAVC.js} +16 -16
- package/dist/assets/{ExpenseAutomationPage-CWyP8ETl-D0GIa5Jp.js → ExpenseAutomationPage-CvnkIuMf-BzVTKngy.js} +66 -66
- package/dist/assets/{ExpressPayPage-liflPa6J-DhSVDpI_.js → ExpressPayPage-C_yRTeDh-CXT1jZ8h.js} +15 -15
- package/dist/assets/{FeaturePreviewPage-DhSoy4IL-C8b3BL5y.js → FeaturePreviewPage-BLRhajFn-BfH5LrVG.js} +1 -1
- package/dist/assets/{FollowStepsSection-DW5HuzRR-G6vpn5Wz.js → FollowStepsSection-DhiGIylh-dcsWOGAc.js} +49 -49
- package/dist/assets/{GlobalReviewListPage-CGCdgQFw-CYr5tDRK.js → GlobalReviewListPage-Tg986b2s-BcraUWMG.js} +6 -6
- package/dist/assets/{InformationCardStack-D6xiRsRy-RBnA5Ca9.js → InformationCardStack-3Lmn6LJr-BzzpUQZE.js} +1 -1
- package/dist/assets/{InsightsCardStack-D1eIlMkU-DTJXmvNA.js → InsightsCardStack-Dc6OL9Od-D89joaRU.js} +2 -2
- package/dist/assets/InsightsSection-Drr3r1BL-BjPy8A4H.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-CRZfnPIT-BM7Hnv51.js → IntegrationsSettingsPage-DACHBlEm-DaFs14XG.js} +8 -8
- package/dist/assets/{InternationalWireSwiftDetailsPage-DouGaVny-Cq1w6csA.js → InternationalWireSwiftDetailsPage-BaqSqvWh-BwJgPcJE.js} +17 -17
- package/dist/assets/InternationalWireVerificationPage-Daxni4YY-BKNsaA95.js +292 -0
- package/dist/assets/{InviteFormPage-dCGpLoBC-Cy_9vDs9.js → InviteFormPage-CXcHy9Sz-C3-iU8eM.js} +24 -24
- package/dist/assets/{InvitePageListView-DhV6Pw56-BqJCkz8H.js → InvitePageListView-tu82Q2y6-CzjWJAgY.js} +54 -54
- package/dist/assets/{InvitePeoplePage-J-HYw9MC-DE9iWLdm.js → InvitePeoplePage-Bbv2pjhR-BZJHvIvS.js} +2 -2
- package/dist/assets/{InvoiceUploadSection-BJLLf4x5-DPI4bKEB.js → InvoiceUploadSection-CO34IhU8-1rxbAjFS.js} +4 -4
- package/dist/assets/{IssueChargeCardPage-hEaegmyi-DwbNBXVg.js → IssueChargeCardPage-DuqGEs5b-DVXuxnuF.js} +23 -23
- package/dist/assets/{LabeledAddressValue-PXtKo31O-CFKKSfFF.js → LabeledAddressValue-D0Gu5Mgp-CuHBod6j.js} +2 -2
- package/dist/assets/{LabeledAddressValueField-D0Ow_UPE-COoDFa0v.js → LabeledAddressValueField-DPisU2iY-3oGO3c9v.js} +3 -3
- package/dist/assets/{LabeledControlledCheckBoxField-DVOeaKu0-B89RB2FN.js → LabeledControlledCheckBoxField-BKqCiNdy-CKGxo72C.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-Dqt1M07c-B31u1ckI.js → LabeledCreatableSingleSelectField-DLVxVffe-RkcfyIgp.js} +5 -5
- package/dist/assets/{LabeledDocumentField-D2n9ry_0-CWQFC9JM.js → LabeledDocumentField-DtOCNiEg-DdNet_Ri.js} +5 -5
- package/dist/assets/{LabeledDropDownFormattedTextField-BfpPbI2T-L7Ccutbp.js → LabeledDropDownFormattedTextField-CsbwG9At-Cie_r1vg.js} +6 -6
- package/dist/assets/{LabeledText-BHQeQs6Z-CG2-2xv-.js → LabeledText-C4GeOHM8-ChfVujh4.js} +3 -3
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CnwVXq2g-mDciw5rT.js → LabeledUserSingleSelectWithSubtitlesField-gwRpED7x-BzoJSlO5.js} +15 -15
- package/dist/assets/{LabeledZeniRolesDropDownField-Dpdlc1DB-b-hRGyRF.js → LabeledZeniRolesDropDownField-Bj8qcvuK-mHT__PRC.js} +12 -12
- package/dist/assets/{LinkJETransactionPage-CWOfaAhz-DM_W9RTM.js → LinkJETransactionPage-CdWWV_7u-CTynd4m9.js} +3 -3
- package/dist/assets/{LockCardPage-BMt1zujT-ZM4_z0u0.js → LockCardPage-BTxCWQ6_-bPbvvlRf.js} +65 -65
- package/dist/assets/{LowBalancePopup-BN2RBNOV-Cbcftjbf.js → LowBalancePopup-Dt9KCWOU-CfGVa0nY.js} +1 -1
- package/dist/assets/MagicLinkACHDetailsPage-C2z4VD4x-yC-7xafy.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Dxd73sj8-Dnp7p7eT.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-Ct-REVbS-CPUlXtmL.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-DQbdgFhH-Dp43QcHp.js → MagicLinkSuccessPage-D45Lu2cc-Co6kTR8X.js} +4 -4
- package/dist/assets/{MagicLinkTitleSection-BYkzInkY-D4Z6Nf6c.js → MagicLinkTitleSection-BdiSVi0V-B1KEw-n6.js} +3 -3
- package/dist/assets/{MailingDetailsSection-DiSohByM-DSNP6utN.js → MailingDetailsSection-CjO5OVZN-CsIdvq8c.js} +1 -1
- package/dist/assets/{Menu-TzNY4ajT-xZKDdZdE.js → Menu-C_kotivE-FvhfNRdu.js} +2 -2
- package/dist/assets/{MyBankConnectionsSettingsPage-Bk4Hdapv-BwulGOOk.js → MyBankConnectionsSettingsPage-CN9EKlOy-B7KFdOdn.js} +4 -4
- package/dist/assets/{MyPendingActivationChargeCardListPage-C5Q5p5zq-CKgoV309.js → MyPendingActivationChargeCardListPage-rmpT6HFS-CAP6sOzW.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-BxiofsK0-CjoZPZtE.js → MyProfileSettingsPage-CTmDuFNJ-KfiZ2ouo.js} +5 -5
- package/dist/assets/{NavBarWithPicker-DX31nlvR-CesSdpJn.js → NavBarWithPicker-VzNJnXX3-D_mYpcQU.js} +4 -4
- package/dist/assets/{NavigationArrow-BDdBEJFM-Cr3MV5Yg.js → NavigationArrow-B9ZEhJdg-DZDpNuL-.js} +1 -1
- package/dist/assets/{NavigationDots-BZOdXVhR-BogVFGLe.js → NavigationDots-C_N16I15-CgfbbWpb.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-qOuBGJ6w-CNtvF6H2.js → NewGlobalMerchantPage-DICWFjCu-B9FIBlfd.js} +8 -8
- package/dist/assets/NoDataChart-CCCkzfa4-CZ1VHThr.js +26 -0
- package/dist/assets/NoDataTable-DVW_simO-CiETBp14.js +8 -0
- package/dist/assets/{NotFoundPage-B31SyO4w-BOxZB8DW.js → NotFoundPage-BHrUY910-CB4emWh9.js} +8 -8
- package/dist/assets/{NotificationSettingsPage-3GoJDHjY-R3SuRmJv.js → NotificationSettingsPage-alUKfWWf-BIIzsf_j.js} +12 -12
- package/dist/assets/NotificationsListConfig-QOeX1KBS-BXuzGZYq.js +1 -0
- package/dist/assets/{NotificationsPage-Cuz_KDD8-k19YxZ9B.js → NotificationsPage-BjhHCUzl-CL_1S-pu.js} +22 -22
- package/dist/assets/{OpExByVendorPage-B2CQ-hT1-B0tksHJH.js → OpExByVendorPage-h_QozoZk-rvk-4kbQ.js} +20 -20
- package/dist/assets/OverlayContainerPage-Daz3A7cI-DZnbS2el.js +11 -0
- package/dist/assets/{PandLWithForecastPage-Dkcy07sC-DeLcZlC2.js → PandLWithForecastPage-DdiEIHC--BvKI5oME.js} +4 -4
- package/dist/assets/PaymentAccountSetupBillingAddressSection-CIlQ-MgM-D9smrX3o.js +107 -0
- package/dist/assets/{PeoplePage-yzYfizds-wb5Byym9.js → PeoplePage-BaOppi8Y-C-YATJdW.js} +34 -34
- package/dist/assets/{Preview-DZXFBHSQ.js → Preview-yiJBApzl.js} +1 -1
- package/dist/assets/{ProductsCarousel-DRfZ_sZ_-BYhq_r4f.js → ProductsCarousel-E65X4lGB-DH2SteEv.js} +9 -9
- package/dist/assets/{PromoBaseCards-CbPywvj2-BJXffSIG.js → PromoBaseCards-O66NGGWD-BKbCdKhK.js} +4 -4
- package/dist/assets/{QBOConnectionDialog-DLuBxOXr-CH_Aj1TS.js → QBOConnectionDialog-BrMv7xjB-DlUN7Kz1.js} +2 -2
- package/dist/assets/{QBOSetupSection-CxLynYFq-CZyV2WsE.js → QBOSetupSection-B5D4uUOv-CGhKBwg7.js} +16 -16
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CDK4q7B4-Blxm3m2m.js → ReimbursementApprovalRuleDetailPage-DJNl2oqj-B4OdqkFs.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-DFmZm1Qr-D5wSTcL3.js → ReimbursementApprovalRulesPage-tnc2z3Es-yyigySmO.js} +17 -17
- package/dist/assets/ReimbursementDetailPage-CO8Wv5-c-qlCsVXqq.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-DENI6dAX-C4LrpZuT.js → ReimbursementPromoPage-04Cqe8zH--NCi_DFM.js} +6 -6
- package/dist/assets/{ReimbursementSetUpPage-BJoFNAQR-BgHtSbbe.js → ReimbursementSetUpPage-2VrhpV75-Bv2sY3Y4.js} +6 -6
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-C0a107hB-BD_FRT7T.js → ReimbursementsBulkReviewDrawerPage-CEZlRH0_-CC2d3Iit.js} +1 -1
- package/dist/assets/{ReloadCard-BCuJkAqw-DYpvDh_s.js → ReloadCard-BakyoznA-DmnMlohL.js} +6 -6
- package/dist/assets/{ReportTableViewSelector-CEo0z4A2-CvMOkKtj.js → ReportTableViewSelector-C7w_WVnY-C6Okt0Gv.js} +4 -4
- package/dist/assets/{ReportsPage-gMt_l_Aa-BdMCVFoN.js → ReportsPage-BeZqGQ2i-2BlXIjgp.js} +5 -5
- package/dist/assets/{RevenueChart-JLdzi3aQ-7sE9zMtR.js → RevenueChart-BcRkSSWz-D5XPPSEX.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-WBKwpVad-NgO9SEC-.js → ReviewDetailsPage-CA5CBeB7-DN9fIS4d.js} +52 -52
- package/dist/assets/{ReviewOverlay-DqOXHkMM-jRakJ6IM.js → ReviewOverlay-DNjbv6Ir-BYUbQDSw.js} +12 -12
- package/dist/assets/RoleWithToolTip-CSoHoT3u-vTwGI01K.js +22 -0
- package/dist/assets/ScheduleDetailsFixedAssetsPage-CLjpednn-81YU8z_r.js +37 -0
- package/dist/assets/{ScheduleDetailsPage-_Ag36lXG-C4WIryes.js → ScheduleDetailsPage-MEVdw-l_-gtCnaFgw.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-axweBiV5-B3NWtaDa.js → ScheduleSequenceTable-BGx2un0o-CTi3pu3D.js} +52 -52
- package/dist/assets/{ScreenRoutes-DyMvoV5V.js → ScreenRoutes-DUbNYmu4.js} +1 -1
- package/dist/assets/{SetUpAccountSection-CerAAia_-BhWOLpxC.js → SetUpAccountSection-Blriup16-W2fx2DgC.js} +14 -14
- package/dist/assets/{SignIn-B1yQ5XWH-P_F72pZj.js → SignIn-DqVQU08d-BerCpw9H.js} +15 -15
- package/dist/assets/{SignInScreen-CVtWxGtY.js → SignInScreen-B5Y03mpU.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-BL77zVeL-BVoclXHH.js → SpendManagementListViewPage-Cd88asmE-CB759VbW.js} +8 -8
- package/dist/assets/{SpendManagementPerTabPage-B82q9yMk-B1JAZuX-.js → SpendManagementPerTabPage-DyPyPQjh-CeHpfSNV.js} +26 -26
- package/dist/assets/{SpendManagementSection-Bcex-9e7-CxkR_zoB.js → SpendManagementSection-C5fvFmdh-D7vZlQqH.js} +21 -21
- package/dist/assets/StatementItem-CBGi9f9C-DW_QCJ6P.js +31 -0
- package/dist/assets/StatementsPage-De1wPDzS-BpyLzEUf.js +58 -0
- package/dist/assets/{StatusSwitcher-Cw0Sq3bY-C5eVaKdh.js → StatusSwitcher-BS4h8SJh-CcRGAnPy.js} +2 -2
- package/dist/assets/{SubTabSwitcher-DmGRgMQe-B-3SwxWb.js → SubTabSwitcher-vsehXtEO-aHnk9ME_.js} +3 -3
- package/dist/assets/SummaryCard-gehzCCsW-cRlcrWMR.js +1 -0
- package/dist/assets/{TaskManagementPage-CAX0yrep-DF0jNwa1.js → TaskManagementPage-DlzHdHSu-DMSrvQ05.js} +31 -31
- package/dist/assets/{TimeRangeSwitcher-2AXHoZ8f-DfpvK_gh.js → TimeRangeSwitcher-CFZq5KoG-DvA1T4tX.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-DJiKd_tL-D0ww-92G.js → TimeframeSwitcher-Bb7JwirM-DT_nE5Dd.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-5W1Xu4QM-D44YxP7E.js → TimeframeSwitcherWithToggle-BXIevpvE-CV8LNwYU.js} +1 -1
- package/dist/assets/{TopExCard-8RRaMY7F-CDxikjtH.js → TopExCard-BQIHsi_z-CJAyN5Zr.js} +10 -10
- package/dist/assets/{TopExDetailPage-D2KlaBXx-rdDVAjhD.js → TopExDetailPage-BYCn9hZ2-DC2P4FKF.js} +2 -2
- package/dist/assets/{TransactionDetailPage-DdyFRxld-BYZZjtrc.js → TransactionDetailPage-BMYeFZH7-BFKwH-pD.js} +34 -34
- package/dist/assets/{TransactionList-CLVkETBe-CRlJFb7k.js → TransactionList-BMfwxUes-i8oCJgrA.js} +12 -12
- package/dist/assets/{TransactionListBig-BRCiFBKB-Ck3O3NDm.js → TransactionListBig-CSjliLzH-5P3TN04x.js} +6 -6
- package/dist/assets/{TransactionListPage-D0OgwsUo-CH5jc7e_.js → TransactionListPage-C2Iz7CDJ-CDbQhMhs.js} +2 -2
- package/dist/assets/TransactionVendorDetailPage-OXcpSTxA-ogeFkWo8.js +80 -0
- package/dist/assets/{TransferDrawerPage-DdDRqsyR-CEfGLHmx.js → TransferDrawerPage-4lrBrmvC-BzHEhXmo.js} +1 -1
- package/dist/assets/{TreasuryOverviewPage-BcIRsLLj-Bxe8waVi.js → TreasuryOverviewPage-DNUrwQ-l-CtbTN09Y.js} +37 -37
- package/dist/assets/{TreasuryPromoPage-qbltxtYj-D2Z_Pc4R.js → TreasuryPromoPage-CjjmLEyR-Jw9_r6c2.js} +16 -16
- package/dist/assets/TreasuryStatementsPage-CGax-FVg-CB9f88VO.js +58 -0
- package/dist/assets/{TreasuryTaxLetterPage-C2-SmkNZ-UvonfFtF.js → TreasuryTaxLetterPage-DapKFecA-Ckfl6mTT.js} +2 -2
- package/dist/assets/{TrendChart-Cot9LFNh-u8M8bbk0.js → TrendChart-t_2mlnuR-C3EpG69G.js} +2 -2
- package/dist/assets/{TrendWithTransactions-BKxxRKGE-CUH5BmSp.js → TrendWithTransactions-BjQX1uvO-CXSH8SoK.js} +6 -6
- package/dist/assets/{UncategorizedAccountsMappingPage-C7Z3q75s-DxAjDd8a.js → UncategorizedAccountsMappingPage-C9DJ4P_n-Da3On2ZP.js} +11 -11
- package/dist/assets/{UnitIntegrationPage-DV9q3Nzs-jG2CrtCZ.js → UnitIntegrationPage-CzfmBBVs-ea0q-ics.js} +11 -11
- package/dist/assets/UploadAdditionalDocumentOverlay-BJiBj5mg-Cktdlkx4.js +38 -0
- package/dist/assets/Vendor2FAPopup-Jhuzv3Fs-CDaFjIcb.js +1 -0
- package/dist/assets/VendorACHDetailsPage-BRmIiet8-C_w2yQJy.js +1 -0
- package/dist/assets/{VendorDetailPage-CH1L4UZF-BoU7iBTo.js → VendorDetailPage-D_ia0GnG-EjDxeWPl.js} +10 -10
- package/dist/assets/VendorDomesticWireDetailsPage-DTx8HL4V-ypi2AXXw.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-BaX4ACXz-CREauugt.js → VendorFiling1099EditablePage-6mV7WBuT-BWwNGaDM.js} +9 -9
- package/dist/assets/{VendorFirstReviewPage-DAZJMUR3-CPLKJIzn.js → VendorFirstReviewPage-BIh28s7e-DSbo4VGu.js} +20 -20
- package/dist/assets/{VendorInternationalWireDetailsPage-CPnjLrDQ-CjJmglTF.js → VendorInternationalWireDetailsPage-CXmAXDcB-BBI1eBRw.js} +25 -25
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-DITo3td6-DtabXm0e.js +1 -0
- package/dist/assets/{VendorsAccountsSection-DsgK37WB-BepHvkSg.js → VendorsAccountsSection-kJAKmxCN-DLYMQH1s.js} +3 -3
- package/dist/assets/{VerifyDevice-BPAsHKLY-KdMSavnE.js → VerifyDevice-Cclxcvod-LionuPr6.js} +6 -6
- package/dist/assets/{VideoPlayer-Bwg_8KIq-1vwhBTtH.js → VideoPlayer-B0jJK498-Bbxsuaup.js} +2 -2
- package/dist/assets/{VideoPopup-CxjbzbjP-W4fJ8I9f.js → VideoPopup-BUq4CaWy-BN4RkIzc.js} +2 -2
- package/dist/assets/{WarningsDrawerPage-BBc3-y8F-BVJhSnaV.js → WarningsDrawerPage-B7Pmv7_n-DMtwZsM9.js} +5 -5
- package/dist/assets/{ZeniAccountDetailPage-VB4JoNYE-D6r42BIG.js → ZeniAccountDetailPage-l5IuVidF-9qcHcEDf.js} +14 -14
- package/dist/assets/{ZeniAccountListViewPage-CMjCtqT0-zWJkLwXW.js → ZeniAccountListViewPage-CtOCukoi-BrJGMSMd.js} +14 -14
- package/dist/assets/{ZeniAccountNavBarPieces-C89nBJ6j-BCPOrLA4.js → ZeniAccountNavBarPieces-DHpWht7s-DoN45Kif.js} +2 -2
- package/dist/assets/{ZeniAccountPromoPage-C1_qLOdH-F6T3KnhO.js → ZeniAccountPromoPage-DhuZowvX-C0CMafiM.js} +6 -6
- package/dist/assets/{ZeniAccountSetupPage-DWEVvvHh-1kKOeWZG.js → ZeniAccountSetupPage-DXmdPnU2-Od8qQEgW.js} +1 -1
- package/dist/assets/{ZeniCopyright-COx-CtZK-B3AuF-kZ.js → ZeniCopyright-CxIm7c5S-BQ5EemJ1.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DfOF_MH1-CaLF7RzP.js → ZeniTransferAmountSlider-7nRSeYbl-qFHjxePx.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-BhLn5BVs.js → add-to-wallet-DgdBD8_G-DTqFjlvW.js} +1 -1
- package/dist/assets/{analytics-D1LdKGXu.js → analytics-nCDopMZa.js} +1 -1
- package/dist/assets/{analyticsHelper-CcmV6wHp-tNoRmHaA.js → analyticsHelper-BXN2EdPH-DXUFohOz.js} +1 -1
- package/dist/assets/{analyticsHelper-D-lJdgOT.js → analyticsHelper-DFj-3TWh.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-DHoVUI8d.js → arrow-south-east-round-PEovUgvH-C9v2daeL.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-CCnsYNN2.js → auto-transfer-rule-mbafm5D3-C9ojomBW.js} +1 -1
- package/dist/assets/{chartTypes-YlZX4WLs-DpXPTvhf.js → chartTypes-qqLvT6t1-BAzagmMG.js} +1 -1
- package/dist/assets/{commonDimensions-IG4iGJ-6-BzWLW9Yh.js → commonDimensions-CDU138wy-0KaFqMmK.js} +1 -1
- package/dist/assets/{constants-DC8VfZYY.js → constants-CiSoUYAy.js} +1 -1
- package/dist/assets/{core-DRgi22QZ.js → core-B8o5Jj6O.js} +1 -1
- package/dist/assets/{dash.all.min-BmaoA3iM.js → dash.all.min-D-Z5Ee1V.js} +1 -1
- package/dist/assets/{detailCommon-lUFqcp_3-BOJ85jTH.js → detailCommon-DP02lgW9-DwZYcDAj.js} +5 -5
- package/dist/assets/{downloadPdf-DYME892p-DnuA45tN.js → downloadPdf-Dl5UuOv_-DcSCv9vJ.js} +1 -1
- package/dist/assets/{empty-YAzUsLWo.js → empty-CGwQB5sP.js} +1 -1
- package/dist/assets/{empty-DIaGol0s.js → empty-dVLDjrZY.js} +1 -1
- package/dist/assets/epic-gk6U9kCP.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-D8uaCs9t.js → gift-box-Cmt9OgIZ-C7uoRs4g.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-BnqvP-Mg.js → graphic-no-data-l-DU4J8fDt-DxQEyL6u.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-BrG8Enhv.js → graphic-no-data-net-burn-l-CzmycA0m-BeDfyPz6.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-S4DZNWEu.js → handshake-BPg58FML-C6I69X2f.js} +1 -1
- package/dist/assets/{index-fCU66cGL.js → index-2UT2PoLz.js} +1 -1
- package/dist/assets/{index-CzPNam9l.js → index-B62kMDsj.js} +1 -1
- package/dist/assets/{index-CvvJB6hF.js → index-BlhMiimg.js} +1 -1
- package/dist/assets/{index-tx0waYy2.js → index-CJSgchrb.js} +1 -1
- package/dist/assets/{index-B5xx_eN8.js → index-CofZqiyy.js} +1 -1
- package/dist/assets/{index-Cb-eu--2.js → index-l9FViNoO.js} +1044 -1048
- package/dist/assets/{index-Bk_A1gE6.js → index-mRKAcklk.js} +1 -1
- package/dist/assets/{lexical-ewc-g90D.js → lexical-B19SDutg.js} +1 -1
- package/dist/assets/{liveblocks-Bz_57PUs.js → liveblocks-BKCvXoiA.js} +1 -1
- package/dist/assets/{lottie-D9rmsbLV.js → lottie-CTuuushW.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DL4wGcX6-qKcz8o_r.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BNXHaV-x-CRPLWovY.js → mapSectionWithAcOnlyToTreeNode-DLeyrCPV-CBeUvfG-.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-Bl4MSBc9-DsaOHsUd.js +1 -0
- package/dist/assets/{mapTimeframeBalancesToTreeNode-LxIEmBdX-KokF2RU0.js → mapTimeframeBalancesToTreeNode-BNP8a_pF-DA-Kt9CP.js} +1 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-Cx4O7W7V-C8qea7Z2.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BvxVvq-i-B7P1WFjn.js +1 -0
- package/dist/assets/{mui-CvhriUJf.js → mui-cKt0zt2w.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-Bq22-rqt.js → page-detail-CWX5S47F-hDrW8rOj.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-Cp9UCpd-.js → radio-default-CiSgisfh-D4wl_ybJ.js} +1 -1
- package/dist/assets/{react-C0XMjaMg.js → react-3b8QVeng.js} +1 -1
- package/dist/assets/{react-DyHZEwLG.js → react-85WN45Y4.js} +1 -1
- package/dist/assets/{react-1y3MANKU.js → react-BcpaDQXf.js} +1 -1
- package/dist/assets/{react-CZGWH6Mz.js → react-CUDeH5fw.js} +1 -1
- package/dist/assets/{react-DwmtkHEd.js → react-D2QCQuEO.js} +1 -1
- package/dist/assets/{react-KuTvFOki.js → react-D811AKIl.js} +3 -3
- package/dist/assets/{react-BuDJflUo.js → react-Drezwue3.js} +1 -1
- package/dist/assets/{react-DGrzv3mJ.js → react-DycPsf8e.js} +1 -1
- package/dist/assets/{recharts-NgHQTHYn.js → recharts-DKlDhqpA.js} +1 -1
- package/dist/assets/{sentry-agJ08X3c.js → sentry-DWELwT5u.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-B2GDXTMJ.js → shield-DOlUxcFf-DcDDcztl.js} +1 -1
- package/dist/assets/toCOABalancesWithID-BM2RMkm6-8ztVlUAS.js +1 -0
- package/dist/assets/{toChartData-CuSN9vUZ-BM3egbjZ.js → toChartData-xURa2wgf-D5Tvqegg.js} +1 -1
- package/dist/assets/{uploadAttachment-CRI5U1f4-DVW_vb-O.js → uploadAttachment-DfTOIWsX-DQL7CPp6.js} +17 -17
- package/dist/assets/{uploadReceipts-CPw64UYa-BZtR51vy.js → uploadReceipts-CPw64UYa-BXgFs59O.js} +1 -1
- package/dist/assets/{url-DZoi54Ss.js → url-BO73xRx2.js} +1 -1
- package/dist/assets/{url-DDYZGiRl.js → url-dLu3i57y.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-DGRuYRk_.js → useLongPress-GCK2COYQ-BJatk2tg.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-T0IDSH6l.js → usp-line-BBd1wKwW-DG080FPi.js} +1 -1
- package/dist/assets/{utils-D6Foy4XN.js → utils-Db67jZaM.js} +1 -1
- package/dist/assets/{zeni-epic-state-CwvuK4v8.js → zeni-epic-state-atBaoFS-.js} +17 -17
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/AccountInfoPage-D0Kzx5mY-CJm_njaM.js +0 -18
- package/dist/assets/AddAddressForCardDrawer-C_QsOhGT-JjH1tV75.js +0 -6
- package/dist/assets/ApprovalRulesSettingsPage-5bJIKss7-B4H86TF1.js +0 -47
- package/dist/assets/BillingSettingsPage-BiKaSV4T-B7qWB_0N.js +0 -44
- package/dist/assets/BusinessVerificationPage-8tFxbXGC-BJTtQskx.js +0 -138
- package/dist/assets/ChargeCardPromoPage-BUGGPnco-DBc81PKU.js +0 -222
- package/dist/assets/CompanyOfficerDetailsSection-CMl5cDNs-DdfK5FFg.js +0 -330
- package/dist/assets/CompanyPassportPage-BlDBD5EG-BUrwQfBs.js +0 -347
- package/dist/assets/ConfettiBurst-nOkNOTPr-D3HgRrS2.js +0 -1
- package/dist/assets/CustomerOnboardingContainerPage-Dq7dnrBC-CWciNrIc.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-D1XU-7jk-B9NXIxKZ.js +0 -66
- package/dist/assets/CustomerOnboardingPage-DFky4iQx-DeIXARbP.js +0 -107
- package/dist/assets/DepositAccTransactionListPage-MLQJ9urd-CXD4vrU3.js +0 -66
- package/dist/assets/EntityDetailPage-Bj5lQ0PH-CgnIn8Qd.js +0 -18
- package/dist/assets/InsightsSection-BT0lHMo3-ZMR8XDUG.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-B0ha4dEA-nPFsk-wT.js +0 -65
- package/dist/assets/LabeledCountryMultiSelectField-CJud_Lwc-DM_ekN05.js +0 -234
- package/dist/assets/LabeledMultiSelectField-DH6iG4SR-CjSQCSFf.js +0 -220
- package/dist/assets/MagicLinkACHDetailsPage-CRVp5zpz-ChZJhV1s.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Cc9jW4rg-ey3F6N1L.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-COHy_2Nv-DwFZWMbr.js +0 -1
- package/dist/assets/NoDataChart-DxwqqeoI-DvpagR71.js +0 -26
- package/dist/assets/NoDataTable-DOZy5UAM-BZ8x_1Ah.js +0 -8
- package/dist/assets/NotificationsListConfig-C-OlC5S6-CLVUTw1S.js +0 -1
- package/dist/assets/OverlayContainerPage-Daz3A7cI-bRV6SDw3.js +0 -11
- package/dist/assets/PaymentAccountSetupBillingAddressSection-Dnw0APJu-DwpnOrFK.js +0 -107
- package/dist/assets/ReimbursementDetailPage-DOCRkpPT-CXzAYn45.js +0 -314
- package/dist/assets/RoleWithToolTip-BYuFXi4d-Cr1vWh2r.js +0 -22
- package/dist/assets/ScheduleDetailsFixedAssetsPage-BU--t7Cu-SVNrNqxf.js +0 -37
- package/dist/assets/StatementItem-CL4KzNeN-BqPxf-U1.js +0 -31
- package/dist/assets/StatementsPage-ECVGrRXi-BQMeqgMv.js +0 -58
- package/dist/assets/SummaryCard-OvE5BRYP-m6PBJMlQ.js +0 -1
- package/dist/assets/TransactionVendorDetailPage-BLCUqZvL-CaBwJEED.js +0 -80
- package/dist/assets/TreasuryStatementsPage-CLFal4Qu-HYKKhiVi.js +0 -58
- package/dist/assets/UploadAdditionalDocumentOverlay-B37gdjRF-DOfs_M69.js +0 -38
- package/dist/assets/Vendor2FAPopup-BZQXt_G4-CDCDeN6H.js +0 -1
- package/dist/assets/VendorACHDetailsPage-WS3d8TF6-CvBLg0wo.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-Brom_Sf_-DKniLk2q.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-C4XEeSs2-BbCuAOE5.js +0 -1
- package/dist/assets/commonTypes-ByC4Sd87-DFD5XJ1t.js +0 -1
- package/dist/assets/epic-C_3GO3yP.js +0 -2
- package/dist/assets/mapLoadingInProgressToTreeNode-B7Tq4sxB-Dr0mqpSP.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-DpgQIqP_-DADCfTco.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-fxn51zxe-A6rpifcc.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-opvjldHo-C8_Xm6ja.js +0 -1
- package/dist/assets/toCOABalancesWithID-BAw7mDDs-DnnE8m6M.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a8 as ze,aw as Re,q as H,
|
|
1
|
+
import{a8 as ze,aw as Re,q as H,e as _,V as t,bA as Ie,b as I,g2 as Te,F as T,d as l,o as i,y as x,jf as De,cb as Be,jg as J,aN as M,b2 as Me,cr as Ae,iM as Oe,bM as Ne,aR as He,al as W,dt as j,gS as Z,aL as V,bR as We,ct as Ee,bP as Ke,am as N,cw as X,p as $,gT as pe,fM as me,fI as ge,cg as Ve,ai as F,iB as ue,bK as _e,jh as Fe,iU as Ue,cz as Ye,aT as z,iV as Ze,iW as qe}from"./index-l9FViNoO.js";import{a as S,S as q}from"./sentry-DWELwT5u.js";import{n,c as Q}from"./mui-cKt0zt2w.js";import{t as Ge}from"./SpendManagementSection-C5fvFmdh-D7vZlQqH.js";import{r as Je,a as Xe,i as ye,g as Qe}from"./SpendManagementListViewPage-Cd88asmE-CB759VbW.js";import{ck as xe,G5 as fe}from"./zeni-epic-state-atBaoFS-.js";import{r as et}from"./auto-transfer-rule-mbafm5D3-C9ojomBW.js";import"./liveblocks-BKCvXoiA.js";import"./core-B8o5Jj6O.js";import"./recharts-DKlDhqpA.js";import"./lottie-CTuuushW.js";import"./analytics-nCDopMZa.js";import"./lexical-B19SDutg.js";import"./utils-Db67jZaM.js";import"./StatusSwitcher-BS4h8SJh-CcRGAnPy.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]="e7b1fec2-8a5f-4007-b4e0-ba4985e9b581",e._sentryDebugIdIdentifier="sentry-dbid-e7b1fec2-8a5f-4007-b4e0-ba4985e9b581")}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)},we=()=>[tt,it,nt,ot,at],P={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(Ze,qe)};function st({companyNameSticky:e,sortConfig:o,onColumnSortConfigChanged:c}){const a=_(),r=H(),[d,g]=S.useState(we());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(Ke,{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(ft,{onClick:()=>y(h.key,h.sortOrder),"data-testid":M("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":M("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":M("payment-history-list-sort-cancel",o.sortKey)})})]},s.key))})})}const rt=q.memo(st),dt=n.div`
|
|
2
2
|
top: ${i.sp0};
|
|
3
3
|
left: ${i.sp0};
|
|
4
4
|
z-index: 2;
|
|
@@ -12,7 +12,7 @@ import{a8 as ze,aw as Re,q as H,d as F,V as t,bA as Ie,b as I,g2 as Te,F as T,c
|
|
|
12
12
|
padding: ${P.containerPaddingTop} ${P.containerPaddingRight}
|
|
13
13
|
${P.containerPaddingBottom} ${P.containerPaddingLeft};
|
|
14
14
|
justify-content: space-between;
|
|
15
|
-
`,ct=n(
|
|
15
|
+
`,ct=n(F)`
|
|
16
16
|
top: ${i.sp0};
|
|
17
17
|
left: ${i.sp0};
|
|
18
18
|
min-height: ${e=>P.headerHeight.valuePx(e.windowSize)};
|
|
@@ -35,10 +35,10 @@ import{a8 as ze,aw as Re,q as H,d as F,V as t,bA as Ie,b as I,g2 as Te,F as T,c
|
|
|
35
35
|
align-items: center;
|
|
36
36
|
left: ${i.sp0};
|
|
37
37
|
justify-content: ${e=>e.actualDataValue==="amount"?"flex-end":"flex-start"};
|
|
38
|
-
${e=>e.companyNameSticky?
|
|
38
|
+
${e=>e.companyNameSticky?Q`
|
|
39
39
|
position: sticky;
|
|
40
40
|
z-index: 1;
|
|
41
|
-
`:
|
|
41
|
+
`:Q`
|
|
42
42
|
position: static;
|
|
43
43
|
z-index: 0;
|
|
44
44
|
`};
|
|
@@ -91,7 +91,7 @@ import{a8 as ze,aw as Re,q as H,d as F,V as t,bA as Ie,b as I,g2 as Te,F as T,c
|
|
|
91
91
|
cursor: pointer;
|
|
92
92
|
gap: 5px;
|
|
93
93
|
color: ${e=>e.theme.colors.primary};
|
|
94
|
-
`,
|
|
94
|
+
`,B={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:A}}}=T.getLocalizedStrings(),wt=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(Y=>{Y.stopPropagation(),d&&d(e.cardRepaymentId)},[d,e.cardRepaymentId]),s=T.getLocalizedStrings(),m=e.repaymentDate.format(s.dateFormat.visual.MMMDCommaYYYYformat),C=Qe(p,h,A.sourceAccountUnknown),v=ye(e),w=e.paidByUser?.email?.endsWith("@zeni.ai")??!1,f=v||!r&&w,R=f?A.autopay:xe(e.paidByUser),D=e.status==="Rejected"||e.status==="Returned",K=e.status==="Sent",U=e.updateTime.format(s.dateFormat.visual.MMMDCommaYYYYformat),k=we();return t.jsx(St,{windowSize:u,children:t.jsx(Ct,{children:t.jsxs(kt,{children:[t.jsx(Pt,{windowSize:u,responsiveWidth:k[0].width,children:t.jsx(j,{isLoading:a,customStyle:{width:"100px",height:"20px",borderRadius:i.sp1},children:K?t.jsx(We,{placement:"bottom-start",title:t.jsxs(qt,{children:[t.jsxs(oe,{children:[t.jsx(ae,{children:A.initiatedOn}),t.jsx(se,{children:m})]}),t.jsxs(oe,{children:[t.jsx(ae,{children:A.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:k[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:Z(0)})}):y==="paymentAccount"&&g!==void 0&&(g.base64||g.url)?t.jsx(Bt,{src:wt(g),loading:"lazy"}):t.jsx(Tt,{children:t.jsx(Dt,{})})})}),t.jsx(Mt,{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(At,{children:p}),h!=null&&h!==""&&t.jsx(Ot,{children:`•••• ${h}`})]}):t.jsx(ne,{className:"sourceAccount",children:C})})})]}),t.jsx(Nt,{windowSize:u,isLoading:a,responsiveWidth:k[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":M("retry-payment",e.cardRepaymentId),children:A.retryPayment})]})]})})}),t.jsxs(Kt,{windowSize:u,responsiveWidth:k[3].width,children:[t.jsx(j,{isLoading:a,customStyle:{width:i.sp4,height:i.sp4,borderRadius:"50%"},children:f?t.jsx(Vt,{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(Yt,{windowSize:u,responsiveWidth:k[4].width,children:t.jsx(j,{isLoading:a,customStyle:{width:"100px",height:"20px",borderRadius:i.sp1},children:t.jsx(Zt,{className:"amount",windowSize:u,title:V("0,0.00",e.amount),children:V("0,0.00",e.amount)})})})]})})})},vt=({status:e,style:o})=>{const c=_(),a=jt(e,c),r=fe(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{a8 as ze,aw as Re,q as H,d as F,V as t,bA as Ie,b as I,g2 as Te,F as T,c
|
|
|
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=>B.containerPaddingLeft.valuePx(e.windowSize)};
|
|
103
|
+
padding-right: ${e=>B.containerPaddingRight.valuePx(e.windowSize)};
|
|
104
|
+
padding-top: ${e=>B.containerPaddingTop.valuePx(e.windowSize)};
|
|
105
|
+
padding-bottom: ${e=>B.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,8 +119,8 @@ import{a8 as ze,aw as Re,q as H,d as F,V as t,bA as Ie,b as I,g2 as Te,F as T,c
|
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
margin-right: ${e=>
|
|
123
|
-
margin-left: ${e=>
|
|
122
|
+
margin-right: ${e=>B.containerMarginLeft.valuePx(e.windowSize)};
|
|
123
|
+
margin-left: ${e=>B.containerMarginRight.valuePx(e.windowSize)};
|
|
124
124
|
margin-bottom: ${i.sp3};
|
|
125
125
|
box-sizing: border-box;
|
|
126
126
|
align-items: center;
|
|
@@ -180,14 +180,14 @@ import{a8 as ze,aw as Re,q as H,d as F,V as t,bA as Ie,b as I,g2 as Te,F as T,c
|
|
|
180
180
|
min-width: inherit;
|
|
181
181
|
width: ${i.sp4};
|
|
182
182
|
height: ${i.sp4};
|
|
183
|
-
`,
|
|
183
|
+
`,Bt=n.img`
|
|
184
184
|
display: flex;
|
|
185
185
|
width: ${i.sp4};
|
|
186
186
|
height: ${i.sp4};
|
|
187
187
|
min-width: ${i.sp4};
|
|
188
188
|
border-radius: 50%;
|
|
189
189
|
object-fit: cover;
|
|
190
|
-
`,
|
|
190
|
+
`,Mt=n.div`
|
|
191
191
|
display: flex;
|
|
192
192
|
flex-direction: column;
|
|
193
193
|
overflow: hidden;
|
|
@@ -198,7 +198,7 @@ import{a8 as ze,aw as Re,q as H,d as F,V as t,bA as Ie,b as I,g2 as Te,F as T,c
|
|
|
198
198
|
column-gap: ${i.sp1};
|
|
199
199
|
overflow: hidden;
|
|
200
200
|
min-width: 0;
|
|
201
|
-
`,
|
|
201
|
+
`,At=n.span`
|
|
202
202
|
overflow: hidden;
|
|
203
203
|
text-overflow: ellipsis;
|
|
204
204
|
white-space: nowrap;
|
|
@@ -232,7 +232,7 @@ import{a8 as ze,aw as Re,q as H,d as F,V as t,bA as Ie,b as I,g2 as Te,F as T,c
|
|
|
232
232
|
color: ${e=>e.theme.colors.primary};
|
|
233
233
|
}
|
|
234
234
|
}
|
|
235
|
-
`,Et=n(
|
|
235
|
+
`,Et=n(Fe)`
|
|
236
236
|
font-size: ${I.smallRegular.fontSize};
|
|
237
237
|
font-weight: ${I.smallRegular.fontWeight};
|
|
238
238
|
line-height: ${I.smallRegular.lineHeight};
|
|
@@ -259,11 +259,11 @@ import{a8 as ze,aw as Re,q as H,d as F,V as t,bA as Ie,b as I,g2 as Te,F as T,c
|
|
|
259
259
|
width: ${i.sp4};
|
|
260
260
|
height: ${i.sp4};
|
|
261
261
|
border-radius: 50%;
|
|
262
|
-
`,
|
|
262
|
+
`,_t=n(et)`
|
|
263
263
|
width: ${i.sp4};
|
|
264
264
|
height: ${i.sp4};
|
|
265
265
|
color: ${e=>e.theme.colors.hero};
|
|
266
|
-
`,
|
|
266
|
+
`,Ft=n.div`
|
|
267
267
|
display: flex;
|
|
268
268
|
align-items: center;
|
|
269
269
|
justify-content: center;
|
|
@@ -300,11 +300,11 @@ import{a8 as ze,aw as Re,q as H,d as F,V as t,bA as Ie,b as I,g2 as Te,F as T,c
|
|
|
300
300
|
justify-content: space-between;
|
|
301
301
|
align-items: center;
|
|
302
302
|
gap: ${i.sp3};
|
|
303
|
-
`,ae=n(
|
|
303
|
+
`,ae=n(F)`
|
|
304
304
|
color: ${e=>e.theme.colors.hero};
|
|
305
|
-
`,se=n(
|
|
305
|
+
`,se=n(F)`
|
|
306
306
|
color: ${$.brandColorPearl};
|
|
307
|
-
`,
|
|
307
|
+
`,Gt=new z(Z(0)).lighten(.3).hex(),{spendManagement:{chargeCard:{paymentHistory:O}}}=T.getLocalizedStrings(),Jt=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(f=>{f.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?O.autopay:xe(e.paidByUser),w=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:Z(0)})}):y==="paymentAccount"&&g!==void 0&&(g.base64||g.url)?t.jsx(li,{src:Jt(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:O.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:[O.header.initiatedBy,":"," ",t.jsx(xi,{className:"initiatedBy",children:v})]})})}),t.jsx(fi,{children:t.jsx(j,{isLoading:a,customStyle:{width:"150px",height:"16px",borderRadius:i.sp1},children:t.jsxs(wi,{children:[O.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:V("0,0.[00]",e.amount),children:V("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(ki,{children:t.jsx(Qt,{status:e.status})})})})}),w===!0&&c===!0&&d!=null&&t.jsx(Pi,{children:t.jsx(Li,{onClick:u,"data-testid":M("retry-payment",e.cardRepaymentId),children:O.retryPayment})})]})]})})},Qt=({status:e,style:o})=>{const c=_(),a=ei(e,c),r=fe(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};
|
|
@@ -354,7 +354,7 @@ import{a8 as ze,aw as Re,q as H,d as F,V as t,bA as Ie,b as I,g2 as Te,F as T,c
|
|
|
354
354
|
align-items: center;
|
|
355
355
|
justify-content: center;
|
|
356
356
|
border-radius: 50%;
|
|
357
|
-
background-color: ${
|
|
357
|
+
background-color: ${Gt};
|
|
358
358
|
`,si=n(pe)`
|
|
359
359
|
min-width: inherit;
|
|
360
360
|
width: ${i.sp6};
|
|
@@ -398,7 +398,7 @@ import{a8 as ze,aw as Re,q as H,d as F,V as t,bA as Ie,b as I,g2 as Te,F as T,c
|
|
|
398
398
|
`,mi=n.div`
|
|
399
399
|
display: flex;
|
|
400
400
|
align-items: center;
|
|
401
|
-
`,gi=n(
|
|
401
|
+
`,gi=n(F)`
|
|
402
402
|
color: ${e=>e.theme.colors.hero};
|
|
403
403
|
max-width: 100%;
|
|
404
404
|
overflow: hidden;
|
|
@@ -474,14 +474,14 @@ import{a8 as ze,aw as Re,q as H,d as F,V as t,bA as Ie,b as I,g2 as Te,F as T,c
|
|
|
474
474
|
display: flex;
|
|
475
475
|
align-items: center;
|
|
476
476
|
justify-content: flex-end;
|
|
477
|
-
`,Li=n(
|
|
477
|
+
`,Li=n(_e)`
|
|
478
478
|
color: ${$.link};
|
|
479
479
|
cursor: pointer;
|
|
480
480
|
text-decoration: underline;
|
|
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,Bi=86,$e=q.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:J,[h]),u=S.useMemo(()=>{let v=de+Ti;for(let w=1;w<=o.length;w++)v+=p(w);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":M("payment-history-list-reload"),children:t.jsx(Ei,{})}),t.jsx(Ki,{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(Vi,{windowSize:h,availableHeight:b,isListTooLarge:s,children:t.jsx(Me,{children:({height:v,width:w})=>t.jsx(Ae,{ref:m,height:v,itemCount:o.length+1,innerElementType:ve,itemSize:p,estimatedItemSize:J,itemKey:f=>f===0?"header":o[f-1].repayment.cardRepaymentId,width:w,overscanCount:Oe,initialScrollOffset:0,children:f=>t.jsx(Mi,{...f,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 Mi=({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 w=c.map(R=>R.repayment),f=w.slice(1).reduce((R,D)=>D.repaymentDate.isAfter(R.repaymentDate)?D:R,w[0]);return f.status==="Rejected"||f.status==="Returned"?f.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})})},Ai=({fetchState:e,repaymentListWithAccountInfo:o,sortConfig:c,onColumnSortConfigChanged:a,onReloadPayments:r,searchText:d,isZeniTenant:g,onRetryPaymentClick:y})=>(Be({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})),Oi=q.memo(Ai),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{a8 as ze,aw as Re,q as H,d as F,V as t,bA as Ie,b as I,g2 as Te,F as T,c
|
|
|
513
513
|
color: ${e=>e.theme.colors.hero};
|
|
514
514
|
`,Vi=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 - ${Bi}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 {
|
|
@@ -537,11 +537,11 @@ import{a8 as ze,aw as Re,q as H,d as F,V as t,bA as Ie,b as I,g2 as Te,F as T,c
|
|
|
537
537
|
left: ${i.sp0};
|
|
538
538
|
padding-bottom: ${i.sp3};
|
|
539
539
|
box-sizing: border-box;
|
|
540
|
-
`,
|
|
540
|
+
`,_i=n.div`
|
|
541
541
|
position: relative;
|
|
542
542
|
width: auto;
|
|
543
543
|
height: 100%;
|
|
544
|
-
`,je=n.div``,
|
|
544
|
+
`,je=n.div``,Fi=n.div`
|
|
545
545
|
display: flex;
|
|
546
546
|
height: 100%;
|
|
547
547
|
flex: 1 1 auto;
|
|
@@ -551,7 +551,7 @@ import{a8 as ze,aw as Re,q as H,d as F,V as t,bA as Ie,b as I,g2 as Te,F as T,c
|
|
|
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:Yi}=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:w,updateDownloadStateHandler:f})=>{const R=ze().analytics,D=Re(),[K,U]=S.useState(!1),k=H(),Y=
|
|
554
|
+
`,ce={contentContainerMargin:new x(l[3],l[4],l[8])},{spendManagement:{chargeCard:{paymentHistory:he}},common:Yi}=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:w,updateDownloadStateHandler:f})=>{const R=ze().analytics,D=Re(),[K,U]=S.useState(!1),k=H(),Y=_(),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:Yi.strings.empty,hideSearchBtn:!1,disableSearch:G,disableFilters:G,searchTextBoxStyle:{right:"86px"},moreIconContainerStyle:{paddingRight:l[4]},isSearchOpen:K,searchPlaceHolder:he.searchPlaceHolder,searchText:r,showSettingsIcon:!1,showSettingsIconOnNavbar:!1,showStatementButtonOnNavbar:!1,showPayEarlyButtonOnNavbar:!1,showDownloadButtonOnNavbar:!1,showDownloadIcon:!0,onDownloadClick:async()=>{f("In-Progress");try{await De({localeID:"en-US",fileType:"excel",entity:"charge_card_payment_history",filter:{filters:d,searchText:r},...v})}finally{f("Completed")}},disableDownloadButton:w==="In-Progress"||o!=="Completed"||e.length===0,analytics:R,onSearchOpen:Se,filterIconContainerStyle:{...k==="small"&&{position:"static",paddingRight:"10px"}},onSearchTextChanged:m,onClickSetupIcon:()=>{},onClickStatementsIcon:()=>{},downloadState:w,onNewButtonClick:()=>{},onClickPayEarlyIcon:()=>{},onMenuOpen:()=>{},filters:d,onFiltersChange:u,createdByUserListLoaded:o==="Completed",getFilterOptions:()=>Xe("charge_card_payment_history",h,D.loggedInUserRole??[],[],a),renderDropdownOptionIcon:Je},ke=t.jsx(Ge,{spendManagementSectionProps:Ce}),Pe=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(Zi,{children:[t.jsx(Ie,{title:Pe,showBackButton:!0,showMenuIcon:k==="medium-compact"||k==="small",onClickMenuIcon:C,titleTextStyles:k==="small"?{...I.standardMedium.cssObject}:void 0,style:{zIndex:3},onBackClick:y,rightSideComponent:ke,isSearchOpen:K,hideSearchBtn:!1,scrollableContent:void 0,source:"ChargeCardPaymentHistoryPage",backgroundColor:Y.colors.grey4}),o==="Not-Started"||o==="In-Progress"?t.jsx(Te,{fetchState:o,styles:{margin:"auto"}}):t.jsx(qi,{windowSize:k,children:t.jsx(Oi,{fetchState:o,repaymentListWithAccountInfo:Le,sortConfig:c,onColumnSortConfigChanged:p,onReloadPayments:b,searchText:r,isZeniTenant:g,onRetryPaymentClick:s})})]})},Zi=n.div`
|
|
555
555
|
display: flex;
|
|
556
556
|
flex-direction: column;
|
|
557
557
|
width: 100%;
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
import{q as $,V as r,e as O,aw as ye,a8 as $e,aO as je,aL as Se,fQ as Te,bA as ze,fp as ve,n as Z,aN as ee,F as oe,o as t,c as Pe,l as V,cA as ke,aq as Ae,y as x,ap as Ie,bR as Be,iF as Le,ai as Re,d as p,M as S,p as b,b9 as Me,aS as _e,iG as Ee}from"./index-l9FViNoO.js";import{a as T}from"./sentry-DWELwT5u.js";import{n,c as De,k as Fe}from"./mui-cKt0zt2w.js";import{EL as Ne}from"./zeni-epic-state-atBaoFS-.js";import{k as Ue}from"./NavigationDots-C_N16I15-CgfbbWpb.js";import{J as G,N as H}from"./PromoBaseCards-O66NGGWD-BKbCdKhK.js";import{M as R}from"./usp-line-BBd1wKwW-DG080FPi.js";import"./liveblocks-BKCvXoiA.js";import"./core-B8o5Jj6O.js";import"./recharts-DKlDhqpA.js";import"./lottie-CTuuushW.js";import"./analytics-nCDopMZa.js";import"./lexical-B19SDutg.js";import"./utils-Db67jZaM.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]="232e6bb7-e0b5-461b-9be9-bdf9ec5a1c16",e._sentryDebugIdIdentifier="sentry-dbid-232e6bb7-e0b5-461b-9be9-bdf9ec5a1c16")}catch{}})();const g={containerPaddingTopBottom:new x(p[0],p[0]),uspContainerMarginX:new x(p[6],p[0]),midContainerGap:new x(p[4],84),iconContainerMinHeight:new x(236,396),emptySectionHeight:new x(p[6],43),navigationBottom:new x(p[4],94),navigationLeft:new x(192,244),carouselHeight:new x(268,396),carouselMarginTop:new x(54,p[4]),carouselMarginLeft:new x(120,p[12]),buttonTrayGap:new x(p[3],p[5]),termsOfAgreementMarginTop:new x(p[5],p[10]),contactAdminContainerMarginTop:new x(p[0],p[10]),contactAdminContainerMarginBottom:new x(p[4],p[0]),contactAdminContainerMarginLeftRight:new x(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:N,spendManagement:{chargeCard:{chargeCardsPromo:o}}}=oe.getLocalizedStrings(),Mr=({meetingUrl:e,companyLegalName:s,chargeCardSetupView:i,showEnableCardButton:a,controllerEmails:c,isCreditCardProductVisible:m,isDebitCardFeatureEnabled:h,isDebitCardSetupEnabled:u,isChargeCardSetupEnabled:w,admins:j,cashbackRate:P,cardPromoType:f="credit",isCheckingEnabled:l,onSetupButtonClick:d,onBackClick:pe,onClickMenuIcon:me,onSetupChargeCardSuccess:J,onExpressInterestClick:ge})=>{const he=O(),q=ye(),v=$(),W=$e().analytics,{chargeCardTermsDetails:M,companyChargeCardInfo:C,companyLocaleInfo:_}=i,X=je(M?.fetchStatus.fetchState),[xe,K]=T.useState(!1),ue=()=>{W.trackCardsPromoPageClicked("schedule demo"),W.trackCardsScheduleDemoClick(c,{isCreditCardOffered:m,isDebitCardOffered:h,isDebitCardEnabled:u,isCreditCardEnabled:w},"Cards Promo"),K(!0)},we=C!=null&&_!=null?Se("0,0",{amount:C.chargeCardsCreditAccountLimit,currencyCode:_.currencyCode,currencySymbol:_.currencySymbol}):void 0;T.useEffect(()=>{X==="In-Progress"&&M?.fetchStatus.fetchState==="Completed"&&J()},[X,J,M?.fetchStatus]);const Q=Ne(q.loggedInUserRoleMap),fe=Te(q),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,Y=E?o.getPreApprovedNow:a?o.enableCardsButton:o.setupCardsButton;return r.jsxs(qe,{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"}),xe===!0?r.jsx(ve,{onCancelClick:()=>{K(!1)},meetingUrl:e}):null,r.jsx(Qe,{windowSize:v,children:Q===!0?r.jsxs(Ke,{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(ae,{cardPromoType:f,cashbackRate:P})]}),r.jsx(ne,{showEnableCardButton:a,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:v,children:[r.jsx(Z,{variant:"secondary",label:o.scheduleDemoButton,style:{width:166},onClick:ue,"data-testid":ee("schedule-demo-button")}),r.jsx(We,{windowSize:v,children:o.orText}),r.jsx(Z,{variant:"primary",label:Y,style:{minWidth:166},loading:i.chargeCardTermsDetails?.fetchStatus.fetchState==="In-Progress"||be==="In-Progress",onClick:Y===o.getPreApprovedNow?ge:()=>d(f),"data-testid":ee("enable-card-button")})]}):null]})},Ge=({admins:e})=>{const s=e.flatMap(a=>a.user?.firstName+" "+a.user?.lastName).join(", "),i=$();return r.jsxs(mr,{windowSize:i,children:[r.jsx(U,{underline:!1,windowSize:i,children:o.noCardAssigned.pre}),r.jsx(Be,{title:s,placement:"top-start",style:{padding:`2px ${t.sp2}`},children:r.jsx(U,{underline:!0,windowSize:i,children:o.noCardAssigned.tooltip})}),r.jsx(U,{underline:!1,windowSize:i,children:o.noCardAssigned.post})]})},ne=({cardPromoType:e,showEnableCardButton:s,isCheckingEnabled:i,isUnderReview:a,isRejected:c,showExpressInterest:m,isCardUser:h=!1})=>{const u=$();return r.jsx(ir,{windowSize:u,children:r.jsx(Le,{topTermLabel:o.terms.checkingAccountTerm,buttonTermLabel:a===!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&&a===!1,style:{marginTop:g.termsOfAgreementMarginTop.valuePx(u)},cardPromoType:e,isCheckingEnabled:i})})},He=({isApproved:e,cardPromoType:s,creditAmount:i,isUnderReview:a,isRejected:c,showExpressInterest:m,creditLimit:h})=>{const u=$(),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,N.strings.space]}):m?r.jsxs(r.Fragment,{children:[o.promoBadgeText.nonPreApproved.get,r.jsx(rr,{children:o.promoBadgeText.nonPreApproved.scale}),o.promoBadgeText.nonPreApproved.doubleStarred,N.strings.space,o.promoBadgeText.nonPreApproved.higherLimits]}):a?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,N.strings.space]});return r.jsxs(r.Fragment,{children:[r.jsx(r.Fragment,{children:u==="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(Ze,{cardPromoType:s,hasContent:j!=null,hideBadge:i==null||s==="debit",windowSize:u,children:[a||c||m?null:r.jsx(br,{}),r.jsx(er,{windowSize:u,children:j})]})]})},Oe=({companyLegalName:e,cards:s,admins:i,cashbackRate:a,hasZeniFinopsRoles:c,cardPromoType:m="credit",isCheckingEnabled:h})=>{const u=$(),w=m==="debit_and_credit"?o.promoTextDebitCreditCard:m==="debit"?o.promoTextDebitCard:o.promoTextCreditCard;return r.jsxs(r.Fragment,{children:[u==="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:u}):r.jsx(Ve,{cards:s,companyLegalName:e}),r.jsx(ae,{cardPromoType:m,cashbackRate:a}),c?null:r.jsx(Ge,{admins:i}),r.jsx(ne,{isCardUser:!0,showEnableCardButton:!1,cardPromoType:m,isCheckingEnabled:h})]})},Ve=({cards:e,companyLegalName:s})=>{const i=O(),a=$();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(Ye,{width:t.sp5,height:t.sp5,style:{paddingTop:a==="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:a,mode:i.mode,children:r.jsx(xr,{windowSize:a,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(ar,{windowSize:e,children:[r.jsx(G,{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})]})})},ae=({cardPromoType:e,cashbackRate:s})=>{const i=$(),a=o.benefits;return r.jsxs(tr,{windowSize:i,children:[i==="small"?r.jsx(re,{windowSize:i,cardPromoType:e}):null,r.jsxs(nr,{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:a.item1.pre}),r.jsx(I,{windowSize:i,children:a.item1.bold.replace("__cashback__",(s*100).toFixed(2))}),r.jsx(y,{windowSize:i,children:`${e==="credit"||e==="debit_and_credit"?a.singleStarred:""}${a.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:a.item2.pre}),r.jsx(I,{windowSize:i,children:a.item2.bold}),r.jsx(y,{windowSize:i,children:a.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:a.item3.pre}),r.jsx(I,{windowSize:i,children:a.item3.bold}),r.jsx(y,{windowSize:i,children:a.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:a.item4.pre}),r.jsx(I,{windowSize:i,children:a.item4.bold}),r.jsx(y,{windowSize:i,children:a.item4.post})]})]})]}),i==="small"?null:r.jsx(re,{windowSize:i,cardPromoType:e})]})};let k;const Je=()=>{const e=$(),s=O(),[i,a]=T.useState(0),[c,m]=T.useState(!1),h=o.businessText,u=`${h} ${o.debit}`,w=[{id:1,cardType:"debit",cardText:u},{id:2,cardType:"debit",cardText:u},{id:3,cardType:"credit",cardText:h},{id:4,cardType:"credit",cardText:h}];T.useEffect(()=>(c||(k=setInterval(()=>{a(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),a(l)};return r.jsxs(ur,{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(G,{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(G,{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(Ue,{numberOfDots:w.length,activeIndex:i,handleClick:a,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}})]})},qe=n.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex: 1 1 auto;
|
|
4
|
+
min-height: 100%;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
7
|
+
`,We=n(Re)`
|
|
8
|
+
color: ${e=>e.theme.colors.hero};
|
|
9
|
+
`,Xe=n.div`
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
align-items: center;
|
|
13
|
+
`,Ke=n.div`
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
justify-content: space-between;
|
|
17
|
+
flex: 1;
|
|
18
|
+
width: 100%;
|
|
19
|
+
`,Qe=n.div`
|
|
20
|
+
padding-top: ${e=>g.containerPaddingTopBottom.valuePx(e.windowSize)};
|
|
21
|
+
padding-bottom: ${e=>g.containerPaddingTopBottom.valuePx(e.windowSize)};
|
|
22
|
+
text-align: center;
|
|
23
|
+
flex: 1;
|
|
24
|
+
display: flex;
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
overflow-x: hidden;
|
|
27
|
+
`,se=n(ke)`
|
|
28
|
+
max-width: 927px;
|
|
29
|
+
margin: auto;
|
|
30
|
+
display: flex;
|
|
31
|
+
justify-content: center;
|
|
32
|
+
flex-wrap: wrap;
|
|
33
|
+
padding: ${t.sp7} ${t.sp0} ${t.sp0} ${t.sp0};
|
|
34
|
+
color: ${e=>e.theme.colors.primary};
|
|
35
|
+
`,de=n(Ae)`
|
|
36
|
+
color: ${e=>e.theme.colors.primary};
|
|
37
|
+
margin: auto;
|
|
38
|
+
margin-top: ${t.sp2};
|
|
39
|
+
`,le=n(Pe)`
|
|
40
|
+
margin: auto;
|
|
41
|
+
max-width: 343px;
|
|
42
|
+
display: flex;
|
|
43
|
+
justify-content: center;
|
|
44
|
+
text-align: center;
|
|
45
|
+
flex-wrap: wrap;
|
|
46
|
+
padding: ${t.sp5} ${t.sp0} ${t.sp0} ${t.sp0};
|
|
47
|
+
color: ${e=>e.theme.colors.primary};
|
|
48
|
+
`,ce=n(V)`
|
|
49
|
+
max-width: 314px;
|
|
50
|
+
margin: auto;
|
|
51
|
+
color: ${e=>e.theme.colors.primary};
|
|
52
|
+
padding: 6px ${t.sp3} ${t.sp0} ${t.sp3};
|
|
53
|
+
text-align: center;
|
|
54
|
+
margin-top: 6px;
|
|
55
|
+
`,Ye=n.img`
|
|
56
|
+
border-radius: 50%;
|
|
57
|
+
justify-content: center;
|
|
58
|
+
color: ${e=>e.theme.colors.hero};
|
|
59
|
+
`,Ze=n.div`
|
|
60
|
+
display: flex;
|
|
61
|
+
flex-direction: row;
|
|
62
|
+
align-items: center;
|
|
63
|
+
justify-content: center;
|
|
64
|
+
position: relative;
|
|
65
|
+
overflow: hidden;
|
|
66
|
+
padding: ${e=>e.hasContent?`${t.sp2} ${t.sp3}`:t.sp0};
|
|
67
|
+
background-color: ${e=>e.theme.colors.grey3};
|
|
68
|
+
border-radius: 96px;
|
|
69
|
+
margin-top: ${t.sp4};
|
|
70
|
+
margin-left: ${e=>e.windowSize==="small"?t.sp3:"auto"};
|
|
71
|
+
margin-right: ${e=>e.windowSize==="small"?t.sp3:"auto"};
|
|
72
|
+
margin-bottom: ${e=>e.cardPromoType==="debit_and_credit"&&e.windowSize==="small"?t.sp0:t.sp6};
|
|
73
|
+
width: fit-content;
|
|
74
|
+
gap: ${t.sp1};
|
|
75
|
+
${e=>e.hideBadge&&`
|
|
76
|
+
visibility: hidden;
|
|
77
|
+
`}
|
|
78
|
+
`,er=n(V)`
|
|
79
|
+
color: ${e=>e.theme.mode==="dark"?b.brandColorJade:b.brandColorSapphire};
|
|
80
|
+
text-align: ${e=>e.windowSize==="small"?"left":"center"};
|
|
81
|
+
${e=>`${z.promoBadgeText.style(e.windowSize)}`};
|
|
82
|
+
span {
|
|
83
|
+
${e=>`${z.promoBadgeTextBold.style(e.windowSize)}`};
|
|
84
|
+
}
|
|
85
|
+
`,rr=n.span``,te=n.span`
|
|
86
|
+
color: ${b.success};
|
|
87
|
+
`,tr=n.div`
|
|
88
|
+
display: flex;
|
|
89
|
+
gap: ${e=>g.midContainerGap.valuePx(e.windowSize)};
|
|
90
|
+
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
91
|
+
align-items: center;
|
|
92
|
+
justify-content: center;
|
|
93
|
+
`,ir=n.div`
|
|
94
|
+
display: flex;
|
|
95
|
+
flex-direction: column;
|
|
96
|
+
`,or=n.div`
|
|
97
|
+
border-top: 1px solid ${e=>e.theme.colors.grey3};
|
|
98
|
+
padding: ${t.sp2} ${t.sp3};
|
|
99
|
+
position: sticky;
|
|
100
|
+
bottom: 0;
|
|
101
|
+
left: 0;
|
|
102
|
+
right: 0;
|
|
103
|
+
z-index: 8;
|
|
104
|
+
display: flex;
|
|
105
|
+
justify-content: center;
|
|
106
|
+
align-items: center;
|
|
107
|
+
flex-direction: row;
|
|
108
|
+
row-gap: ${t.sp2};
|
|
109
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
110
|
+
gap: ${e=>g.buttonTrayGap.valuePx(e.windowSize)};
|
|
111
|
+
`,nr=n.div`
|
|
112
|
+
width: ${e=>e.windowSize==="small"?"auto":"288px"};
|
|
113
|
+
display: flex;
|
|
114
|
+
flex-direction: column;
|
|
115
|
+
margin-left: ${e=>g.uspContainerMarginX.valuePx(e.windowSize)};
|
|
116
|
+
margin-right: ${e=>g.uspContainerMarginX.valuePx(e.windowSize)};
|
|
117
|
+
z-index: 8;
|
|
118
|
+
`,ar=n.div`
|
|
119
|
+
display: flex;
|
|
120
|
+
justify-content: ${e=>e.windowSize==="small"?"center":"flex-start"};
|
|
121
|
+
min-height: ${e=>g.iconContainerMinHeight.valuePx(e.windowSize)};
|
|
122
|
+
align-items: center;
|
|
123
|
+
min-width: 480px;
|
|
124
|
+
`,A=n.div`
|
|
125
|
+
border-radius: ${t.sp12};
|
|
126
|
+
border: ${e=>`1px solid ${e.theme.colors.grey2}`};
|
|
127
|
+
padding: ${e=>e.windowSize==="small"?`${t.sp2} ${t.sp4} ${t.sp2} ${t.sp0}`:`${t.sp3} ${t.sp5} ${t.sp3} ${t.sp0}`};
|
|
128
|
+
background: ${e=>e.theme.colors.grey5};
|
|
129
|
+
position: relative;
|
|
130
|
+
margin-bottom: ${t.sp3};
|
|
131
|
+
display: flex;
|
|
132
|
+
align-items: center;
|
|
133
|
+
text-align: start;
|
|
134
|
+
width: ${e=>e.windowSize==="small"?"288px":"100%"};
|
|
135
|
+
min-height: ${e=>e.windowSize!=="small"?"83px":"44px"};
|
|
136
|
+
box-sizing: ${e=>e.windowSize==="small"?"unset":"border-box"};
|
|
137
|
+
`,y=n(Me)`
|
|
138
|
+
color: ${e=>e.theme.colors.champion};
|
|
139
|
+
${e=>`${z.uspText.style(e.windowSize)}`};
|
|
140
|
+
`,I=n(_e)`
|
|
141
|
+
color: ${e=>e.theme.colors.champion};
|
|
142
|
+
${e=>`${z.uspBoldText.style(e.windowSize)}`};
|
|
143
|
+
`,B=n.div``,L=n.div`
|
|
144
|
+
padding-left: ${t.sp3};
|
|
145
|
+
`,sr=n(R)`
|
|
146
|
+
color: ${b.graphColor16Dark};
|
|
147
|
+
`,dr=n(R)`
|
|
148
|
+
color: ${b.alert};
|
|
149
|
+
`,lr=n(R)`
|
|
150
|
+
color: ${b.graphColor11};
|
|
151
|
+
`,cr=n(R)`
|
|
152
|
+
color: ${b.success};
|
|
153
|
+
`,pr=n.div`
|
|
154
|
+
height: ${e=>g.emptySectionHeight.valuePx(e.windowSize)};
|
|
155
|
+
${e=>e.windowSize==="small"?null:De`
|
|
156
|
+
margin-top: ${t.sp4};
|
|
157
|
+
margin-bottom: ${t.sp6};
|
|
158
|
+
`}
|
|
159
|
+
`,mr=n(V)`
|
|
160
|
+
color: ${e=>e.theme.colors.hero};
|
|
161
|
+
margin-top: ${e=>g.contactAdminContainerMarginTop.valuePx(e.windowSize)};
|
|
162
|
+
margin-bottom: ${e=>g.contactAdminContainerMarginBottom.valuePx(e.windowSize)};
|
|
163
|
+
margin-left: ${e=>g.contactAdminContainerMarginLeftRight.valuePx(e.windowSize)};
|
|
164
|
+
margin-right: ${e=>g.contactAdminContainerMarginLeftRight.valuePx(e.windowSize)};
|
|
165
|
+
text-align: center;
|
|
166
|
+
`,U=n(Ee)`
|
|
167
|
+
${e=>`${z.contactAdmin.style(e.windowSize)}`};
|
|
168
|
+
text-decoration: ${e=>e.underline?"underline":"none"};
|
|
169
|
+
cursor: ${e=>e.underline?"default":null};
|
|
170
|
+
`,gr=n.div`
|
|
171
|
+
color: ${e=>e.mode==="dark"?e.theme.colors.brandColorJade:e.theme.colors.brandColorSapphire};
|
|
172
|
+
`,hr=n.div`
|
|
173
|
+
background-color: ${e=>e.theme.colors.grey3};
|
|
174
|
+
padding: ${t.sp2} ${t.sp3};
|
|
175
|
+
display: flex;
|
|
176
|
+
gap: ${t.sp2};
|
|
177
|
+
margin: auto;
|
|
178
|
+
max-width: fit-content;
|
|
179
|
+
border-radius: 96px;
|
|
180
|
+
margin-top: ${t.sp4};
|
|
181
|
+
margin-bottom: ${t.sp6};
|
|
182
|
+
`,xr=n.span`
|
|
183
|
+
${e=>`${z.cardsContent.style(e.windowSize)}`};
|
|
184
|
+
`,ur=n.div`
|
|
185
|
+
display: flex;
|
|
186
|
+
flex-direction: column;
|
|
187
|
+
min-height: ${e=>g.carouselHeight.valuePx(e.windowSize)};
|
|
188
|
+
min-width: 480px;
|
|
189
|
+
position: relative;
|
|
190
|
+
`,wr=n.div`
|
|
191
|
+
position: relative;
|
|
192
|
+
margin-top: ${e=>g.carouselMarginTop.valuePx(e.windowSize)};
|
|
193
|
+
margin-left: ${e=>g.carouselMarginLeft.valuePx(e.windowSize)};
|
|
194
|
+
`,fr=n.div`
|
|
195
|
+
position: relative;
|
|
196
|
+
overflow: visible;
|
|
197
|
+
`,ie=n.div`
|
|
198
|
+
position: absolute;
|
|
199
|
+
${e=>e.isReflection&&`
|
|
200
|
+
background-color: ${e.theme.colors.grey4};
|
|
201
|
+
clip-path: inset(16% 0 0 0);
|
|
202
|
+
`}
|
|
203
|
+
`,Cr=Fe`
|
|
204
|
+
0% {
|
|
205
|
+
left: -${t.sp6};
|
|
206
|
+
}
|
|
207
|
+
50% {
|
|
208
|
+
left: calc(100% + ${t.sp6});
|
|
209
|
+
}
|
|
210
|
+
100% {
|
|
211
|
+
left: calc(100% + ${t.sp6});
|
|
212
|
+
}
|
|
213
|
+
`,br=n.div`
|
|
214
|
+
position: absolute;
|
|
215
|
+
background:
|
|
216
|
+
${b.promoCardGradient1Strong}, ${b.promoCardGradient2Strong};
|
|
217
|
+
width: ${t.sp10};
|
|
218
|
+
z-index: 3;
|
|
219
|
+
height: 100%;
|
|
220
|
+
transform: skew(15deg);
|
|
221
|
+
animation: ${Cr} 4s linear infinite;
|
|
222
|
+
`;export{Oe as ChargeCardPromoUserContent,Mr as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{e as Oe,q as je,a8 as Ue,aO as M,a9 as _e,cC as Be,aT as G,V as t,f7 as ze,p as $e,y as d,bA as Re,A as We,ac as Le,fq as qe,dN as Ne,fr as He,o as _,b as Me,iH as J,bv as Ge,aP as Je,ft as Ke,F as Qe,d as o,al as Xe}from"./index-l9FViNoO.js";import{a as f}from"./sentry-DWELwT5u.js";import{n as w}from"./mui-cKt0zt2w.js";import{bJ as Ye}from"./zeni-epic-state-atBaoFS-.js";import{x as Ze}from"./LabeledControlledCheckBoxField-BKqCiNdy-CKGxo72C.js";import{g as et}from"./UploadAdditionalDocumentOverlay-BJiBj5mg-Cktdlkx4.js";import"./liveblocks-BKCvXoiA.js";import"./core-B8o5Jj6O.js";import"./recharts-DKlDhqpA.js";import"./lottie-CTuuushW.js";import"./analytics-nCDopMZa.js";import"./lexical-B19SDutg.js";import"./utils-Db67jZaM.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]="88d144d3-5afd-4f03-ac0b-19f740f4ce0e",e._sentryDebugIdIdentifier="sentry-dbid-88d144d3-5afd-4f03-ac0b-19f740f4ce0e")}catch{}})();const c={titleWidth:new d(343,580,726,826),setupDetailsRowGap:new d(12,o[5],o[5]),sectionRowGap:new d(o[5],o[9],o[9]),iconWidthHeight:new d(20,o[4]),subTitlePaddingTop:new d(12,o[3]),subTitlePaddingBottom:new d(o[3],o[3]),overlayWidth:new d(100,100,59),checkBoxTop:new d(o[1],o[0])},K="chargeCardSetUpPage",m="payAccount",{commonSetUp:tt,spendManagement:nt}=Qe.getLocalizedStrings(),{chargeCard:Y}=nt,{chargeCardSetUp:g}=Y,{setUp:B}=tt,wt=({autoPayThreshold:e,isDisabled:r,meetingUrl:x,isEarlyPayEnabled:h,chargeCardSetUpView:a,connectedAccountProvider:Z,filesEndPoint:ee,authParams:te,isAccountsEnabled:ne,isDebitCardOnlyEnabled:v,isCreditCardOnlyEnabled:ie,accountsPromoConfig:ae,onFetchLinkTokenClick:oe,onBackClick:ce,onEnableChargeCardClick:se,onUpdateChargeCardClick:le,onBusinessVerificationSectionClick:de,onUpdatePaymentAccountStatus:re,onUpdatePaymentAccountLoginStatus:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAutoPayClick:fe,onEstablishConnectionClick:ge,onEstablishConnectionSuccess:me,onClickMenuIcon:he,onEnableChargeCardSuccess:A,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,onCompanyOfficerUpdated:Se,onSendForVerificationClick:we,onSignUpClick:xe})=>{const y=Oe(),i=je(),E=Ue().analytics,[P,b]=f.useState(!1),{fetchState:C,companyBillPayInfo:z,isRefreshingViewInBackground:Ae,updateStatus:u,accountUpdateStatus:Pe,plaidConnectionDetails:ke,allBankAccounts:Te,companyChargeCardInfo:I,companyDebitCardInfo:$,selectedCompanyOfficer:s,primaryFundingAccount:l,allFundingAccounts:R}=a,W=M(C),k=M(u.fetchState),F=_e({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>Q(a),[a]),values:Q(a)}),ve=F.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=R.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=F.watch((T,{name:n})=>{n!=null&&T!=null&&Be(()=>Ee(n,T))});return()=>{S.unsubscribe()}}),f.useEffect(()=>{!P&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"&&b(!0),P&&W==="In-Progress"&&C==="Completed"&&b(!1)},[s,C,W]),f.useEffect(()=>{k==="In-Progress"&&u.fetchState==="Completed"&&A()},[A,k,u.fetchState]);const D=I?.isChargeCardEnabled===!0,V=$?.isDebitCardEnabled===!0,L=$?.isDebitCardTOSAccepted===!0,q=I?.isChargeCardTOSAccepted===!0,N=z?.isBusinessVerified===!0,Ie=l?.accType==="depositAccount"||Ye(l?.providerVerificationStatus?.code??""),O=v?N:N&&Ie,Fe=C==="In-Progress"||C==="Not-Started";f.useEffect(()=>{k==="In-Progress"&&u.fetchState==="Completed"&&A()},[A,k,u.fetchState]);const j=v?O&&!V&&L:ie?O&&!D&&q:O&&!(D&&V)&&q&&L,De=j?g.setupSubTitleNotEnabled:g.setupSubTitle,H=y.mode==="light"?new G(y.colors.brandColorJadeLight):new G(y.colors.brandColorJadeDark),Ve=()=>{!P&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"?b(!0):de?.()};return t.jsxs(at,{children:[t.jsx(ze,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:P,onClose:()=>b(!1),style:{backgroundColor:$e.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(Re,{title:g.setupTitle,backgroundColor:y.colors.grey4,style:{zIndex:3},onBackClick:ce,showMenuIcon:!D&&!V&&(i==="medium-compact"||i==="small"),onClickMenuIcon:he,source:"ChargeCardSetupPage"}),t.jsxs(it,{windowSize:i,children:[t.jsx(ot,{windowSize:i,children:De}),Fe?t.jsx(ct,{children:t.jsx(We,{size:"ExtraLarge",start:!0})}):t.jsx(Le,{...F,children:t.jsx("form",{id:X(K),onSubmit:ve,children:t.jsxs(st,{windowSize:i,children:[t.jsx(qe,{onClick:Ve,title:B.businessVerificationTitle,subTitle:B.businessVerificationSubTitle,header:B.businessVerificationHeader,icon:{element:t.jsx(Ne,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},status:z?.businessVerificationStatus,isLoading:Ae,isActiveWhileLoading:!0}),v?null:t.jsx(He,{connectedAccountProvider:Z,primaryFundingAccount:l,allFundingAccounts:R,plaidConnectionDetails:ke,allBankAccounts:Te,sectionId:m,isDisabled:r,onFetchLinkTokenClick:oe,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:ae,accountSelectContainerStyle:h?{marginBottom:"20px"}:{},bottomComponent:h&&t.jsx(Ze,{label:{label:Y.payEarly.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{color:y.colors.primary,...Me.smallRegular.cssObject,alignItems:"center"}},style:{width:"unset",marginRight:_.sp4,marginTop:_.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)}}})})]})})})]}),j?t.jsx(Je,{formId:X(K),primaryBtn:{label:g.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"||Pe.fetchState==="In-Progress",isDisabled:r!=null},showCancel:!1,cancelBtn:{label:""},style:{padding:`12px ${_.sp3}`}}):null,t.jsx(Ke,{isFooterRendered:j,meetingUrl:x,analytics:E,productType:"charge_cards"})]})},Q=e=>{const{allBankAccounts:r,allFundingAccounts:x,primaryFundingAccount:h}=e;return{[m]:{fundingAccount:{selectedOption:h?.id,allOptions:x.map(a=>({label:a.label,value:a.id,isRecommended:a.accType==="depositAccount"}))},account:{selectedOption:h?.zeniAccountId,allOptions:r.map(a=>({label:a.accountName,value:a.accountId}))},enableAutoPay:e.companyChargeCardInfo?.isAutoPayEnabled}}},X=e=>`${e}_form`,it=w.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: flex-start;
|
|
4
4
|
height: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{e as F,q as L,V as t,bA as V,o as h,F as B,y as g,al as R,b8 as W,a8 as _,hF as O,A as q,aN as G,d as s,c1 as J}from"./index-l9FViNoO.js";import{n as r}from"./mui-cKt0zt2w.js";import{$ as U,g as Z}from"./BoxItem-Cmrt_yxF-Cr2cxrKm.js";import{a as H}from"./sentry-DWELwT5u.js";import{w as K}from"./downloadPdf-Dl5UuOv_-DcSCv9vJ.js";import"./liveblocks-BKCvXoiA.js";import"./core-B8o5Jj6O.js";import"./recharts-DKlDhqpA.js";import"./zeni-epic-state-atBaoFS-.js";import"./lottie-CTuuushW.js";import"./analytics-nCDopMZa.js";import"./lexical-B19SDutg.js";import"./utils-Db67jZaM.js";import"./commonDimensions-CDU138wy-0KaFqMmK.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="20133936-b74a-4985-b9ba-000a56b247ac",e._sentryDebugIdIdentifier="sentry-dbid-20133936-b74a-4985-b9ba-000a56b247ac")}catch{}})();const D=B.getLocalizedStrings().months,Y={downloadButtonSize:new g(s[4],20)},Q=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
padding: ${h.sp3} ${h.sp4};
|
|
4
4
|
flex-direction: row;
|
|
@@ -19,7 +19,7 @@ import{d as F,q as L,V as t,bA as W,o as h,F as B,y as g,al as R,b8 as _,a8 as V
|
|
|
19
19
|
overflow: hidden;
|
|
20
20
|
`,te=r.div`
|
|
21
21
|
cursor: pointer;
|
|
22
|
-
`,ae=r(
|
|
22
|
+
`,ae=r(J)`
|
|
23
23
|
width: ${e=>Y.downloadButtonSize.valuePx(e.windowSize)};
|
|
24
24
|
height: ${e=>Y.downloadButtonSize.valuePx(e.windowSize)};
|
|
25
25
|
min-height: ${e=>Y.downloadButtonSize.valuePx(e.windowSize)};
|
|
@@ -27,9 +27,9 @@ import{d as F,q as L,V as t,bA as W,o as h,F as B,y as g,al as R,b8 as _,a8 as V
|
|
|
27
27
|
&:hover {
|
|
28
28
|
color: ${e=>e.theme.colors.primary};
|
|
29
29
|
}
|
|
30
|
-
`;function ie({currentTenantCompanyName:e,data:i,index:n,controllerEmails:l,isDebitCardFeatureEnabled:a,isDebitCardSetupEnabled:o,chargeCardCashbackDetailState:d,depositAccountListWithDebitCardIssued:y,debitCardSummary:x,productInformation:C,creditAccountInformation:S,debitAccountInformation:$,cashbackInformation:
|
|
30
|
+
`;function ie({currentTenantCompanyName:e,data:i,index:n,controllerEmails:l,isDebitCardFeatureEnabled:a,isDebitCardSetupEnabled:o,chargeCardCashbackDetailState:d,depositAccountListWithDebitCardIssued:y,debitCardSummary:x,productInformation:C,creditAccountInformation:S,debitAccountInformation:$,cashbackInformation:b,creditAccountRepayment:I,authParams:P,downloadEndPoint:k,boxType:j}){const f=_().analytics,[v,E]=H.useState(!1),c=L(),z=D[i.monthYearPeriod.month-1],u=`${e}-Credit-Card-Monthly-Statement-${D[i.monthYearPeriod.month-1]}-${i.monthYearPeriod.year}.pdf`,m={period:`${i.monthYearPeriod.year}-${O(i.monthYearPeriod.month)}`,format:"pdf"},p=t.jsx(Q,{children:t.jsxs(X,{children:[t.jsx(ee,{children:z}),t.jsx(te,{"data-testid":G("download-card-statement"),onClick:()=>{d.fetchState==="Completed"&&I.fetchState==="Completed"&&(!(a&&o)||y.fetchState==="Completed"&&x?.fetchState==="Completed")&&b!=null&&f.trackCardsDownloadClick(l,C,b,{fileCategory:"Credit Card Statement",fileType:"pdf",fileName:u,fileMonthYear:`${D[i.monthYearPeriod.month-1]} ${i.monthYearPeriod.year}`},"Credit Card Statements",n+1,S,$),K(`${k}/statements?query=${encodeURIComponent(JSON.stringify(m))}`,u,P,E)},children:v?t.jsx(q,{size:"Small",start:!0}):t.jsx(ae,{windowSize:c})})]})});return t.jsx(Z,{content:p,boxType:j,isDisabled:!1,isNotClickable:!0})}const M=B.getLocalizedStrings().spendManagement.chargeCard.statements,w={listItemMarginLeftRight:new g(s[3],s[8]),containerMarginTop:new g(s[0],s[2]),titleMarginLeftRight:new g(s[3],s[8])},ke=({currentTenantCompanyName:e,authParams:i,controllerEmails:n,productInformation:l,cashbackInformation:a,creditAccountInformation:o,debitAccountInformation:d,isChargeCardFeatureEnabled:y,isDebitCardFeatureEnabled:x,isDebitCardSetupEnabled:C,isChargeCardSetupEnabled:S,chargeCardCashbackDetailState:$,depositAccountListWithDebitCardIssued:b,creditAccountRepayment:I,debitCardSummary:P,creditAccount:k,downloadEndPoint:j,statementListView:f,onBackClick:v})=>{const E=F(),c=L(),{sortedYear:z,monthsByYearWithSortedMonth:u}=me(f.statements);return t.jsxs(se,{children:[t.jsx(V,{title:M.title,backgroundColor:E.colors.grey4,style:{zIndex:3},onBackClick:v,source:"ChargeCardStatementsPage"}),t.jsx(ce,{windowSize:c,children:f.statements.length===0?t.jsx(N,{children:t.jsx(de,{children:t.jsx(T,{windowSize:c,children:t.jsx(le,{children:M.noStatements})})})}):t.jsx(re,{children:z.map(m=>t.jsxs(ne,{children:[t.jsx(oe,{windowSize:c,children:m}),t.jsx(N,{children:u[m].map((p,A)=>t.jsx(T,{windowSize:c,children:t.jsx(ie,{productInformation:l,creditAccountInformation:o,debitAccountInformation:d,cashbackInformation:a,creditAccountRepayment:I,depositAccountListWithDebitCardIssued:b,debitCardSummary:P,controllerEmails:n,isChargeCardFeatureEnabled:y,isDebitCardFeatureEnabled:x,isDebitCardSetupEnabled:C,isChargeCardSetupEnabled:S,chargeCardCashbackDetailState:$,creditAccount:k,currentTenantCompanyName:e,index:A,data:p,authParams:i,downloadEndPoint:j,boxType:U(A,u[m].length)},p.id)},p.id))})]},m))})})]})},re=r.div``,ne=r.div`
|
|
31
31
|
margin-bottom: ${h.sp6};
|
|
32
|
-
`,N=r.div``,oe=r(
|
|
32
|
+
`,N=r.div``,oe=r(W)`
|
|
33
33
|
margin-left: ${e=>w.titleMarginLeftRight.valuePx(e.windowSize)};
|
|
34
34
|
margin-bottom: ${h.sp3};
|
|
35
35
|
`,T=r.div`
|
|
@@ -57,4 +57,4 @@ import{d as F,q as L,V as t,bA as W,o as h,F as B,y as g,al as R,b8 as _,a8 as V
|
|
|
57
57
|
width: 100%;
|
|
58
58
|
height: 100%;
|
|
59
59
|
margin-top: ${e=>w.containerMarginTop.valuePx(e.windowSize)};
|
|
60
|
-
`,me=e=>{const i=e.map(a=>{const[o,d]=a.period.split("-");return{id:a.id,monthYearPeriod:{year:parseInt(o),month:parseInt(d)}}}),n={};i.forEach(a=>{n[a.monthYearPeriod.year]!=null?n[a.monthYearPeriod.year].push(a):n[a.monthYearPeriod.year]=[a]});const l={};return Object.keys(n).forEach(a=>{l[Number(a)]=n[Number(a)].sort((o,d)=>d.monthYearPeriod.month-o.monthYearPeriod.month)}),{sortedYear:Object.keys(n).sort((a,o)=>Number(o)-Number(a)).map(a=>Number(a)),monthsByYearWithSortedMonth:l}};export{
|
|
60
|
+
`,me=e=>{const i=e.map(a=>{const[o,d]=a.period.split("-");return{id:a.id,monthYearPeriod:{year:parseInt(o),month:parseInt(d)}}}),n={};i.forEach(a=>{n[a.monthYearPeriod.year]!=null?n[a.monthYearPeriod.year].push(a):n[a.monthYearPeriod.year]=[a]});const l={};return Object.keys(n).forEach(a=>{l[Number(a)]=n[Number(a)].sort((o,d)=>d.monthYearPeriod.month-o.monthYearPeriod.month)}),{sortedYear:Object.keys(n).sort((a,o)=>Number(o)-Number(a)).map(a=>Number(a)),monthsByYearWithSortedMonth:l}};export{ke as default};
|