@zeniai/web-cockpit-ui 1.15.59-dev → 1.15.60-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-CFhoboVe-NhNiWQoq.js → ACHDetailsPage-BO7lxW8c-B0_WsBb4.js} +1 -1
- package/dist/assets/{AIPerformancePage-DB-fTWME-C20PCC17.js → AIPerformancePage-SF-quMkk-D_TcV5rN.js} +1 -1
- package/dist/assets/AccountInfoPage-v8-NT3FJ-gaoEoT5g.js +18 -0
- package/dist/assets/{AccountInfoPageContent-eYEsv7ac-CxPwO1am.js → AccountInfoPageContent-DIWh6VaI-CcPRrUNm.js} +1 -1
- package/dist/assets/AccountLockedInfoModal-DloPB9vd-BOkxR2Sg.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-3Q0EPYhL-DhctK78k.js → AccountReconDetailsDrawerPage-BAgQsFiF-hVicxd_W.js} +49 -49
- package/dist/assets/{AccountRow-CdgvnPG8-BbJV8Q8M.js → AccountRow-Dczx5rSu-C_XsKKay.js} +10 -10
- package/dist/assets/{AccountsPromoCardStack-DHo59LLN-G_DVA-Yj.js → AccountsPromoCardStack-Ywhto4lV-C2VycrWJ.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-BzO1FXUa-kqMHH9Vt.js → AddAddressForCardDrawer-B8srmVT6-Co_HJf1Y.js} +1 -1
- package/dist/assets/{AddToWalletPage-BfXFbHjk-QRigQSHV.js → AddToWalletPage-k__RW699-DBnalmZR.js} +1 -1
- package/dist/assets/{AgingReportsPage-C1hFq4KH-COTxuu-2.js → AgingReportsPage-BuIXjljE-BrreoP_-.js} +1 -1
- package/dist/assets/{AllUserItems-B6pnKByY-BUdz_J3g.js → AllUserItems-BdgTe4WF-DQfYtDL3.js} +5 -5
- package/dist/assets/{ApAgingDetailPage-CxLVGnpY-OkmLiLaF.js → ApAgingDetailPage-6F47t31h-CB_PIykE.js} +3 -3
- package/dist/assets/{AppBasePage-DiVxF606-C03aQg1o.js → AppBasePage-DaTueT-x-BXKUSYxo.js} +1 -1
- package/dist/assets/{AppDrawerContent-B_EWsf8O-16pnrlUd.js → AppDrawerContent-CtCI6jpp-CsPTIxrb.js} +22 -22
- package/dist/assets/{ApprovalRulesSettingsPage-HHjDp_NQ-CDZaolru.js → ApprovalRulesSettingsPage-BVxu4soW-Cx9W9VZb.js} +1 -1
- package/dist/assets/{ArAgingChart-Ba4A-i2N-Cm3Zb2-A.js → ArAgingChart-BK-JyW2V-CRC7GMeI.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-prgcvsS4-CC5CLIGP.js → ArAgingDetailPage-CvqLu3q8-BQd3HFeD.js} +4 -4
- package/dist/assets/{AttachmentView-SsWJw4A8-BGK1ntZP.js → AttachmentView-DQdb3v_e-CrflCKQW.js} +2 -2
- package/dist/assets/BalancesInsightWithToolTip-D4q45w1q-CGBLlxve.js +38 -0
- package/dist/assets/{BankAccountSection-B4jmT0lb-DzAFSATj.js → BankAccountSection-DgbfU8F--CkRwjy7A.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-Bz2itMx0-BwlD2-aX.js → BankAccountWarningSection-litL0o_Z-DgHPj2Xz.js} +8 -8
- package/dist/assets/{BankConnectionsSettingsPage-BcVk7bTt-CT4jBj4R.js → BankConnectionsSettingsPage-bAj9uB9k-sPoCw_nL.js} +6 -6
- package/dist/assets/{BillDetailPage-Dkqmi4H1-BrWo4uGz.js → BillDetailPage-CiHal44n-B-pNvdK4.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-Blxlv3pa-CZSNHT3K.js → BillPayApprovalRuleDetailPage-CRBli7lk-C6KU9krq.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-B_QwggJS-LtyCS7v3.js → BillPayApprovalRulesPage-BTOmSLcs-DsHPwIyx.js} +1 -1
- package/dist/assets/{BillPayPromoPage-Bx2AXpWe-Du89a98b.js → BillPayPromoPage-B5gkQjT2-CDaCRy4j.js} +6 -6
- package/dist/assets/{BillPaySetUpPage-CM7_DkHC-CclJKf3M.js → BillPaySetUpPage-DM3r09by-ylftA-6O.js} +1 -1
- package/dist/assets/{BillingSettingsPage-DM0OIfxa-BuoiB9BU.js → BillingSettingsPage-CiTKyJeG-D7-iHgY4.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-C3xmQ7wz-Bwj3c210.js → BillsBulkReviewDrawerPage-B6ofRDkg-pxXiH1By.js} +1 -1
- package/dist/assets/{BoxItem-CvCo0wr6-DKAIvhWo.js → BoxItem-C39hQSVg-DygFSSe8.js} +3 -3
- package/dist/assets/{BusinessVerificationPage-BAZmkR4a-AnwjdvL9.js → BusinessVerificationPage-BiWEnJET-BH1PMwYP.js} +1 -1
- package/dist/assets/{CardNumberSubText-DHtSIcZZ-DL8DMs-k.js → CardNumberSubText-FNfrozX6-CY1gwPPP.js} +1 -1
- package/dist/assets/{CashbackDetailPage-CNS1FA6b-JWXE3hsL.js → CashbackDetailPage-DaLICa_v-BHVqJW_A.js} +6 -6
- package/dist/assets/{ChargeCardDetailPage-C4NeG7IM-CPxS6cRg.js → ChargeCardDetailPage-B0Aq7zO5-Bj_iPNHv.js} +34 -34
- package/dist/assets/{ChargeCardListPage-DNYiWaEf-DJhH9poc.js → ChargeCardListPage-CfRto2rQ-DUZeib3g.js} +1 -1
- package/dist/assets/{ChargeCardListTable-DdnyzdFf-BmYCmkcc.js → ChargeCardListTable-DMdC4lxo-70bPzG6D.js} +28 -28
- package/dist/assets/{ChargeCardPaymentHistoryPage-CXlqzaUt-BEtGgsbY.js → ChargeCardPaymentHistoryPage-BYTmtF_y-QaBsAk7f.js} +22 -22
- package/dist/assets/ChargeCardPromoPage-AI5bladj-CDTghnkA.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-BtikPFOq-_QFEhM40.js → ChargeCardSetupPage-BjhqdubL-Bxyq0dEG.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-RepWBbvJ-fE-f9dTt.js → ChargeCardStatementsPage-DCM92s6v-BgJV4ytL.js} +4 -4
- package/dist/assets/{CheckDepositDrawerPage-BCqg3irO-BNQC0cqt.js → CheckDepositDrawerPage-CkIxEqHU-Dod8HuuJ.js} +1 -1
- package/dist/assets/{CollapsableReportTable-gy7Ue_fk-D4P0G-Lp.js → CollapsableReportTable-ClHwXtCj-D8daRiWx.js} +43 -43
- package/dist/assets/{CompanyOfficerDetailsSection-BsCx7q-g-vYNOEpVO.js → CompanyOfficerDetailsSection-BY8hFQnp-CtC3dw7s.js} +1 -1
- package/dist/assets/{CompanyPassportCard-BbUWOs1U-BLVqocbL.js → CompanyPassportCard-B3rZE3pg-CHku2Rtz.js} +2 -2
- package/dist/assets/{CompanyPassportPage-BnP2oA1U-zWSSW3Bs.js → CompanyPassportPage-4FXVf3EP-CYRMv_ux.js} +24 -24
- package/dist/assets/{CompleteProfile-TiRsm2Fm-CIjFxaAm.js → CompleteProfile-B1BoilWd-DIpcRO8q.js} +1 -1
- package/dist/assets/{ConfettiBurst-D7J36hZf-BKlSjT6j.js → ConfettiBurst-CsbAGF65-DaE2G5iK.js} +1 -1
- package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-Bv_SCMJB.js → ConstrainedInnerElement-CgdnMeoA-D3ljsIVB.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-Dihzr1D5-D9cB4SAg.js → CreateOrEditVendorPage-C50eYOFo-5jCRpD-i.js} +11 -11
- package/dist/assets/{CreditCardPaymentDrawerPage-CZGzDuxC-p3RWbIDE.js → CreditCardPaymentDrawerPage-Dxz_SY7N-CdO_tBcx.js} +5 -5
- package/dist/assets/{CurrencySelectField-BTAmIqPa-BqQ2_ci5.js → CurrencySelectField-D2Ogwvbr-DFlDNWit.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-MVI7kqIh-wst5cRj4.js → CustomerOnboardingActivationPage-5Sh7hmI9-BLHLFJqx.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-B5kVGk_V-Bb9r_J_O.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CaI_0pCb-CxQ8bQdr.js → CustomerOnboardingDetailPageSkeleton-CL-mOSUp-BYS-DtUM.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-CO_c2COV-pLp1hFCt.js → CustomerOnboardingNoStepsPage-CyL1AK78-Cy-eN1DF.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-BF0vuYaJ-JMRuse4Z.js → CustomerOnboardingPage-C8nxJPwo-CFmeBld-.js} +4 -4
- package/dist/assets/{CustomerOnboardingProductSuitePage-BGFdLX1i-DySt6BQg.js → CustomerOnboardingProductSuitePage-C7FbnHpU-Dxkjm06Q.js} +1 -1
- package/dist/assets/{Dashboard-Qjedd4r--DHZmjgJN.js → Dashboard-Bpu-6Sm5-BISIyFSl.js} +1 -1
- package/dist/assets/{DashboardReportPage-Deith_ON-ChcA84Vk.js → DashboardReportPage-B1aAikQG-BdFbggI-.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-C7DfUDio-DPyKxS1U.js → DashboardSidebarBackgroundAnimation-C6xm-p2j-CVm6YwBC.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-7kYotKov-BnPXoaAG.js → DepositAccTransactionItem-DEU0DgtI-EQTbBfv8.js} +3 -3
- package/dist/assets/{DepositAccTransactionListPage-Bop4Uj5w-ZOaAmZOC.js → DepositAccTransactionListPage-Bh0dIkE9-CW5ttbou.js} +2 -2
- package/dist/assets/{DomesticWireDetailsPage-_TyXsqEx-cl5Mv1ja.js → DomesticWireDetailsPage-2WyD73c9-Ddu9-eO2.js} +1 -1
- package/dist/assets/{DownloadOverlay-Cmd727bN-BHplNe_3.js → DownloadOverlay-B7M2VI7K-8UWWddqd.js} +18 -18
- package/dist/assets/{DrawerPage-DmGwfnGp-B5EgKZxZ.js → DrawerPage-DsQTxXa8-FNOF0T9x.js} +5 -5
- package/dist/assets/{EditPeoplePage-YyluIC6R-CQIl30sj.js → EditPeoplePage-fY0HXvVS-CPTN1GRB.js} +3 -3
- package/dist/assets/{EditReimbursementDetailPage-DeMid2Ko-BTURFjuA.js → EditReimbursementDetailPage-D7RUWSTZ-BNhqRuzG.js} +1 -1
- package/dist/assets/EntityDetailPage-BDyO7iLI-BQGDz9Ii.js +18 -0
- package/dist/assets/{EntitySummarySection-5NbutA8l-Z4HQfo2N.js → EntitySummarySection-0rRkC5V6-DX9oCnh6.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-CQ_3WluW-sBkDi2LJ.js → ExpenseAutomationOverviewPage-DOGAdZXV-Ott9us_6.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-VuU4acYd-DRu_62Rz.js → ExpenseAutomationPage-DOsIzX0P-DNfPXp6J.js} +1 -1
- package/dist/assets/{ExpressPayPage-DhoNmyC2-Ixqn7FeR.js → ExpressPayPage-CIi6jM8Y-qFfOMk3w.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-GSwhPxgP-C20k6nV5.js → FeaturePreviewPage-BVn6ZUOB-BcJD18O7.js} +1 -1
- package/dist/assets/{FollowStepsSection-DaueHRo4-DdiQ4lOn.js → FollowStepsSection-CvWPHXDW-CayqdWAy.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-DG7_1HOT-mLv5NHYa.js → GlobalReviewListPage-CS_11bx0-sbF8FOmX.js} +1 -1
- package/dist/assets/{InformationCardStack-zc-BxR7F-B2cR2Vrc.js → InformationCardStack-B9g7W7Xx-BWV4DOrJ.js} +1 -1
- package/dist/assets/{InsightsCardStack-DxCA5sFh-CBXIO7T2.js → InsightsCardStack-mvzIc2uY-DntFQXQU.js} +3 -3
- package/dist/assets/{InsightsSection-BdFG3j3R-DpGjm8qb.js → InsightsSection-rGyA4lY9-B2pA29Jq.js} +4 -4
- package/dist/assets/{IntegrationsSettingsPage-CaiL3kqS-yWfc1-ip.js → IntegrationsSettingsPage-Dwz4ukHF-BDuIwaNQ.js} +2 -2
- package/dist/assets/{InternationalWireSwiftDetailsPage-BrQVSzeS-DauYa5_z.js → InternationalWireSwiftDetailsPage-Cm0H9oyf-DfXMYL1d.js} +1 -1
- package/dist/assets/{InternationalWireVerificationPage-NaLnhW9C-D3Wh10D9.js → InternationalWireVerificationPage-woIoME3I-CEoHufSE.js} +1 -1
- package/dist/assets/{InviteFormPage-fjqv2l7h-CoWToBnJ.js → InviteFormPage-DaZ-sJYV-Bag9I8OB.js} +17 -17
- package/dist/assets/{InvitePageListView-CQecQhxr-BNu8hXMY.js → InvitePageListView-Do7EVQrj-BrU-UxSb.js} +13 -13
- package/dist/assets/{InvitePeoplePage-DAEBuOnk-jK8Ueocl.js → InvitePeoplePage-CpD7YoC2-DLME90b_.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-58l6ePuH-BuOyGSAC.js → InvoiceUploadSection-DOuTQPee-DKRpBgc2.js} +1 -1
- package/dist/assets/{IssueChargeCardPage-Bkxqsgax-BMc-YwRY.js → IssueChargeCardPage-ClMhr27d-Dvt3VEvl.js} +1 -1
- package/dist/assets/{LabeledAddressValue-CZfFV97h-DWDhZW5u.js → LabeledAddressValue-B6_PZDTO-BM9CuApr.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-D66XOhMx-Di6mjf7B.js → LabeledAddressValueField-Cz6tRMoW-wArjCe_0.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-BtnsqE4D-CLMK-CUC.js → LabeledControlledCheckBoxField-BEpAlnvo-BghNAEyy.js} +1 -1
- package/dist/assets/{LabeledCountryMultiSelectField-kopByxLB-CVecMMvH.js → LabeledCountryMultiSelectField-1kTcZMQW-BkvqWj3Y.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-B6An-cwq-DxTaWad8.js → LabeledCreatableSingleSelectField-PiLB1S77-D7JcIqjo.js} +1 -1
- package/dist/assets/{LabeledDocumentField-D_ZD8JTn-BbI3Z3Te.js → LabeledDocumentField-Cicw8ABs-BakwqLCx.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-CJ7ncCzH-CmOBBbLT.js → LabeledDropDownFormattedTextField-BEVVgIGK-CLPycccH.js} +2 -2
- package/dist/assets/{LabeledText-A1h_ionS-YHsepFfP.js → LabeledText-C56xvYuX-BJO8VuVp.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-IYaUvqgY-BQ0ZCt10.js → LabeledUserSingleSelectWithSubtitlesField-CF4oVI17-1aX-FRHw.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-DmynBXbJ-BkBy6SHA.js → LabeledZeniRolesDropDownField-B5rxYfam-B3apIRze.js} +1 -1
- package/dist/assets/{LinkJETransactionPage-D6-fL4a6-DPNZmHzv.js → LinkJETransactionPage-DbnaYlRA-4hyH1rgp.js} +9 -9
- package/dist/assets/{LockCardPage-BDlnh_zf-coxMaBNB.js → LockCardPage-XHbTmzq8-CfUgYvqO.js} +20 -20
- package/dist/assets/{LowBalancePopup-CBPl_udd-D2XBBf4O.js → LowBalancePopup-IF7NG9aL-CmWtcxy6.js} +2 -2
- package/dist/assets/MagicLinkACHDetailsPage-DbhqYo7W-DLN4BmVt.js +1 -0
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-BcNOhJgL-C8mUkiDX.js → MagicLinkDomesticWireDetailsPage-D0JDLfbz-CKYFGEdB.js} +1 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DChqrJN7-j39Z7g0H.js +1 -0
- package/dist/assets/{MagicLinkSuccessPage-Cl461HWp-CO6oeX5F.js → MagicLinkSuccessPage-Cyr3p_8a-DYu_aa7F.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-DoIMYrRv-BlE9zH37.js → MagicLinkTitleSection-A4zyF5bg-CuWJG08o.js} +1 -1
- package/dist/assets/MailingDetailsSection-DqSOlu2t-XHdrpb5B.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-BU6TBzI1-DN5Npe5i.js → MyBankConnectionsSettingsPage-DtTjhna--DxAAS5ce.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-DcunCDU6-gyBwBEb_.js → MyPendingActivationChargeCardListPage-CKSWf7I4-CVnClwp0.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-DF7ahyXE-B1LJnYuu.js → MyProfileSettingsPage-WF1pNlyU-C1ew1Kqs.js} +1 -1
- package/dist/assets/{NavBarWithPicker-D2v1fhLS-C3H8GgqL.js → NavBarWithPicker-DiCaJ8Qy-D9erSe1B.js} +3 -3
- package/dist/assets/{NavigationArrow-CWUL-6kN-BrqMd9Lj.js → NavigationArrow-f4Z3TuXg-DjAooGX3.js} +6 -6
- package/dist/assets/{NavigationDots-c-XSrFzE-Dxzsqafk.js → NavigationDots-WiVjbUsC-BSgmW_if.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-FGEO68I8-B7wryl8V.js → NewGlobalMerchantPage-kvjjwV8d-C-gYRU5V.js} +1 -1
- package/dist/assets/{NoDataChart-DJhSgtLu-B7rWK9ww.js → NoDataChart-DlSLTzZl-qjL1S4Ow.js} +1 -1
- package/dist/assets/{NoDataTable-BZiwo2qK-1fFq9QL7.js → NoDataTable-9vLoRpsR-NJzyakwC.js} +1 -1
- package/dist/assets/{NotFoundPage-BN5unYX8-RIPoUtcm.js → NotFoundPage-CFlNCHFs-CZtYv7Ed.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-d8kHDj0M-BR4XfDGy.js → NotificationSettingsPage-KJzE9v4p-D_0qzf80.js} +1 -1
- package/dist/assets/{NotificationsListConfig-ThKLok_w-DiwvAaDh.js → NotificationsListConfig-6sXXtF_E-CjeFzlDg.js} +1 -1
- package/dist/assets/{NotificationsPage-Uvu6XESA-C7IDz_PV.js → NotificationsPage-D4AmPdo9-Lse12GIJ.js} +11 -11
- package/dist/assets/{OpExByVendorPage-QyqRkD2_-BZtZlU0k.js → OpExByVendorPage-B5Wtu3ww-DoL2G9-j.js} +1 -1
- package/dist/assets/{OverlayContainerPage-BG9y5C0t-B5Ccc20I.js → OverlayContainerPage-BG9y5C0t-B-_gIiaG.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-DJ2v5qbE-D34Zu7P_.js → PandLWithForecastPage-CjkaxTx7-hcg5r7tq.js} +2 -2
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-q5z8XZFC-BXoCztnc.js → PaymentAccountSetupBillingAddressSection-eeLSg7xb-BPuUddlR.js} +6 -6
- package/dist/assets/{PeoplePage-C5ZdpVyR-D5gb3H9N.js → PeoplePage-CQREy6SW-B0AK4Oec.js} +1 -1
- package/dist/assets/{Preview-M7TzJD6j.js → Preview-CZH7Vvu6.js} +1 -1
- package/dist/assets/{ProductsCarousel-CXjLTOLy-qhgO5u3T.js → ProductsCarousel-COZZMTcH-CfEx379j.js} +3 -3
- package/dist/assets/{PromoBaseCards-CN9uZfG4-4ZG6rDcT.js → PromoBaseCards-Bmn6TN2k-B692-NLa.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-CXSi1Pd9-BlV5xAad.js → QBOConnectionDialog-DYxoiSkA-COoNZDfT.js} +1 -1
- package/dist/assets/{QBOSetupSection-BrtLMvEP-CWf9qAKV.js → QBOSetupSection-Cdz2PDxV-1MtshN_P.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-CS1BQ7pL-gwQi2ubd.js → ReimbursementApprovalRuleDetailPage-C-QEoqCw-DEqspRF0.js} +2 -2
- package/dist/assets/{ReimbursementApprovalRulesPage-aLRkhkZB-CtUN1jCI.js → ReimbursementApprovalRulesPage-Ch2sxTFV-CKSEAZRx.js} +9 -9
- package/dist/assets/{ReimbursementDetailPage-Dr5BTvEq-BkIwEWVX.js → ReimbursementDetailPage-DSF6SfKn-BbgmDgbl.js} +1 -1
- package/dist/assets/{ReimbursementPromoPage-C5Z0mVhQ-sIeJk3bD.js → ReimbursementPromoPage-F1ROFd63-Df7C1VVh.js} +4 -4
- package/dist/assets/{ReimbursementSetUpPage-CXhOBErm-DH5oFO_k.js → ReimbursementSetUpPage-l2mhLFuo-DfcOr7HI.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CA0n0mau-YPT0uXmT.js → ReimbursementsBulkReviewDrawerPage-DyPxPnlu-BUgOGjSI.js} +1 -1
- package/dist/assets/{ReloadCard-Bjp8ygC2-QCThgpLx.js → ReloadCard-CDcJMl9F-tXak7uFI.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-DTk1dNWC-B6Y4EDN-.js → ReportTableViewSelector-DvCk55Hn-CTarIpK9.js} +1 -1
- package/dist/assets/{ReportsPage-DrjOGopt-DJaJ6UxU.js → ReportsPage-DfqqKSt3-BxlHe2bX.js} +49 -38
- package/dist/assets/{RevenueChart-CqGvXDr4-ls1jVoKH.js → RevenueChart-BONT9upM-Cun2QP3i.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-CWBP7FBN-BDBxmvOT.js → ReviewDetailsPage-857bVurA-D9gCRs9U.js} +1 -1
- package/dist/assets/{ReviewOverlay-Cxkp85Kw-C7d3vwBi.js → ReviewOverlay-ClQg7d2j-j91vCn0m.js} +1 -1
- package/dist/assets/RoleWithToolTip-C0G1Hgp_-BKrTDu8H.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-CYvlB3Nf-BjdxIH5b.js → ScheduleDetailsFixedAssetsPage-CJ_JBtxS-BCPY7QpL.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-CZXJ15tN-CjrCADWR.js → ScheduleDetailsPage-B1aEwPL--vu1ZFkSU.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-DNPID_7F-j2fgEjwp.js → ScheduleSequenceTable-DhU7PI91-BAKwnm-f.js} +1 -1
- package/dist/assets/{ScreenRoutes-DJ_rUo9A.js → ScreenRoutes-B4US_7hw.js} +1 -1
- package/dist/assets/{SetUpAccountSection-_WPR-q2V-DrJlA8IQ.js → SetUpAccountSection-C8dulq9s-DDXcc18s.js} +11 -11
- package/dist/assets/{SignIn-CDEsZw_T-0YUs2QmP.js → SignIn-wDe7lbGR-dg2gJssp.js} +1 -1
- package/dist/assets/{SignInScreen-CUXsEOc0.js → SignInScreen-CnOpPKTK.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-MOCWuROI-DKR38Veg.js → SpendManagementListViewPage-BdddUHrW-CnqRniMi.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-BeK0SCeE-D8khDgh_.js → SpendManagementPerTabPage-BBJm3884-DoJtdm-x.js} +18 -18
- package/dist/assets/{SpendManagementSection-DZFPfKNi-BUQ2S0Kz.js → SpendManagementSection-6R5y0Hy4-D5jOLcFY.js} +1 -1
- package/dist/assets/{StatementItem-DjvU5wiI-DHTNeSpB.js → StatementItem-qsoXKx_p-DBQZldZM.js} +1 -1
- package/dist/assets/{StatementsPage-DYLp_e7W-C5hw_hkQ.js → StatementsPage-Cn7WG5-S-AcQ1iHip.js} +1 -1
- package/dist/assets/{StatusSwitcher-jxaonB4S-Dw8Z5KsP.js → StatusSwitcher-D3qCg5J1-BZCFmoiB.js} +1 -1
- package/dist/assets/{SubTabSwitcher-CudjNlsi-Dk2m1EXt.js → SubTabSwitcher-BXajy75j-DZugBDGb.js} +1 -1
- package/dist/assets/{SummaryCard-DPOhBmkr-Cj1Lt-Mp.js → SummaryCard-B1d4_5lE-uu1gTNTh.js} +1 -1
- package/dist/assets/{TaskManagementPage-CTMoHv0R-DzrReeZE.js → TaskManagementPage-h3Rb49Jj-Mtdf3ds1.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-SqY2MHGs-Bpa_mFEa.js → TimeRangeSwitcher-DpUOmqiR-DjFTIpwn.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-BlJ2fuHy-8yHS99Lr.js → TimeframeSwitcher-BKEtsv_r-DfkM31PQ.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-Dgc1odUH-CNwpIwWb.js → TimeframeSwitcherWithToggle-DECnQIMT-Cmt_c04c.js} +10 -10
- package/dist/assets/{TopExCard-CG8YLsYe-CsdBprjg.js → TopExCard-leQR29Sq-B0Y6UXAe.js} +3 -3
- package/dist/assets/{TopExDetailPage-TvYCbzSP-C1DN6y7-.js → TopExDetailPage-Dgg7Do6D-DdiiFE6N.js} +8 -8
- package/dist/assets/{TransactionActivityLogPage-BL3vEAdU-B_s3Ii9P.js → TransactionActivityLogPage-CU2pUJQL-CUfFmWBA.js} +6 -6
- package/dist/assets/{TransactionDetailPage-DUouBL0o-BwsVWjsw.js → TransactionDetailPage-FT2IPLH7-BTpqS69f.js} +17 -17
- package/dist/assets/{TransactionList-B16NONME-MhxbTKXX.js → TransactionList-C2MGkQYM-DYhz6ZPl.js} +1 -1
- package/dist/assets/{TransactionListBig-CItPbTRV-CTDy7YXE.js → TransactionListBig-CZ3jIxzR-CRCbDlw1.js} +4 -4
- package/dist/assets/{TransactionListPage-DNecYY8M-DvyKlW5R.js → TransactionListPage-PCa4exLO-BxsKDJxF.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-DpqisXN8-BeIl3VIo.js → TransactionVendorDetailPage-BgcqndCu-JJLz26CY.js} +1 -1
- package/dist/assets/{TransferDrawerPage-Dsmbswu0-DuQeRo8o.js → TransferDrawerPage-SirvPH4z-I4L9iRhs.js} +28 -28
- package/dist/assets/{TreasuryOverviewPage-BcRpcYmB-B_2n4w_R.js → TreasuryOverviewPage-B_WK1aOv-CprBsLp-.js} +12 -12
- package/dist/assets/{TreasuryPromoPage-DOO_OMRa-Nn5daNmi.js → TreasuryPromoPage-B_D63Dr2-CnSqy837.js} +9 -9
- package/dist/assets/{TreasuryStatementsPage-A_U7bEy5-DdFUWuDa.js → TreasuryStatementsPage-BGe0fhBe-DTEczdhN.js} +2 -2
- package/dist/assets/TreasuryTaxLetterPage-9gNdkQZp-C1BQoAja.js +58 -0
- package/dist/assets/{TrendChart-GMMat-NG-CAc9nAfG.js → TrendChart-COItOWPp-BY69H27v.js} +1 -1
- package/dist/assets/{TrendWithTransactions-CrA4opNV-BTtTpjeg.js → TrendWithTransactions-DgAw_8CI-31-F3YNz.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-CrzbFGOi-B7V18O6N.js → UncategorizedAccountsMappingPage-B9EziB6Q-B5XRflrD.js} +5 -5
- package/dist/assets/{UnitIntegrationPage-XZY6zJa7-Cq4xbYW7.js → UnitIntegrationPage-DGWNyWV1-DDxjCVGo.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-eqwSLigx-Ci9eqDqb.js → UploadAdditionalDocumentOverlay-DWmMz_8y-CvLWvP9X.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-BHDivuPB-Cn8-yps4.js → Vendor2FAPopup-dh2g8kqu-CdLofAYR.js} +1 -1
- package/dist/assets/VendorACHDetailsPage-C0vIRpRW-Bl9ig0z-.js +1 -0
- package/dist/assets/{VendorDetailPage-DEu-yS8w-DNet96B_.js → VendorDetailPage-CGqoIODq-VSGzsMrn.js} +10 -10
- package/dist/assets/VendorDomesticWireDetailsPage-BVXSOMiH-B_RQPHLo.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-C461SzO0-BVUWElpF.js → VendorFiling1099EditablePage-CsnlHrCl-AUunsfoG.js} +1 -1
- package/dist/assets/{VendorFirstReviewPage-klbCHS04-BFjy2m5_.js → VendorFirstReviewPage-DC1j2sO_-CtBZ5OYr.js} +1 -1
- package/dist/assets/{VendorInternationalWireDetailsPage-DY0V-VbO-C2xJ0CsJ.js → VendorInternationalWireDetailsPage-Drr00a6C-CQ1ZShGA.js} +8 -8
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-CZ5N8G2o-BqZ7DdzL.js +1 -0
- package/dist/assets/{VendorsAccountsSection-Cqcr-ArD-DAAwd5Iw.js → VendorsAccountsSection-BtdwR8u4-DTioiVZE.js} +1 -1
- package/dist/assets/{VerifyDevice-Dhu5iywf-HX-kw30c.js → VerifyDevice-Bhr_yHpE-BbGiRxv5.js} +3 -3
- package/dist/assets/{VideoPlayer-ZGjx_Hp7-Nomi0VD9.js → VideoPlayer-wlJX6lEq-D6dTvqn0.js} +2 -2
- package/dist/assets/{VideoPopup-R3u0N_if-DgVn2CAl.js → VideoPopup-BPptwR51-COhEr58N.js} +1 -1
- package/dist/assets/{WarningsDrawerPage-TerLFC4m-C5ptwy3N.js → WarningsDrawerPage-CHDMmfGz-BXafaQFq.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-DQB7sXU9-CETOq0EN.js → ZeniAccountDetailPage-CSsu44ls-BwOj8KvI.js} +9 -9
- package/dist/assets/{ZeniAccountListViewPage-BwXKgf6g-DrDKS22-.js → ZeniAccountListViewPage-BZwGCrzx-Dpx7_w7g.js} +22 -22
- package/dist/assets/{ZeniAccountNavBarPieces-CHUTFAWG-DBX2rB9H.js → ZeniAccountNavBarPieces-CrNjnkNS-DjQVooJA.js} +5 -5
- package/dist/assets/{ZeniAccountPromoPage-BkfJuMNV-DSkmb6Z5.js → ZeniAccountPromoPage-CahV-Rmf-B4cDQ_nu.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-C3drM4Zs-D-HaFV-S.js → ZeniAccountSetupPage-DSNDNKZr-CY5M0A2Q.js} +1 -1
- package/dist/assets/{ZeniCopyright-CznSgVJF-iBl18n1m.js → ZeniCopyright-BNGdkMOa-Bn4hiDwJ.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-C77DEl-C-CZljZWCZ.js → ZeniTransferAmountSlider-DuD1JtSv-FE9AJrcw.js} +1 -1
- package/dist/assets/{add-to-wallet-DgdBD8_G-CM6IrCpv.js → add-to-wallet-DgdBD8_G-OZ5gpoAM.js} +1 -1
- package/dist/assets/{analytics-B_VWX-BQ.js → analytics-TwdLweES.js} +1 -1
- package/dist/assets/{analyticsHelper-Bh8o1v3y-C4Sojiq_.js → analyticsHelper-DjQYjslY-DBXj-dJs.js} +1 -1
- package/dist/assets/{analyticsHelper-B8fd42um.js → analyticsHelper-iTM7ZfDG.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-CQGzMyhs.js → arrow-south-east-round-PEovUgvH-q2OU5IkV.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-Ba30im8q.js → auto-transfer-rule-mbafm5D3-BEBK8d08.js} +1 -1
- package/dist/assets/{chartTypes-C14YY2Rq-DHigu710.js → chartTypes-BGl-YMiu-WdB5HF6p.js} +1 -1
- package/dist/assets/{commonDimensions-CVpc-NCw-D6CVEqC_.js → commonDimensions-CuKo3wam-CITxsF7B.js} +1 -1
- package/dist/assets/{commonTypes-Ec-PxfpT-Dj2109B_.js → commonTypes-CfAg6Jvv-D6_uVQ3i.js} +1 -1
- package/dist/assets/{constants-DgwGHN1r.js → constants-BRyQqmbK.js} +1 -1
- package/dist/assets/{core-Cjh03OPu.js → core-C_RwbDgZ.js} +1 -1
- package/dist/assets/{dash.all.min-CCSNDyIp.js → dash.all.min-BXIjGNzm.js} +1 -1
- package/dist/assets/{downloadPdf-BuPJ6cfr-Dyz4TLVR.js → downloadPdf-Dcd8BY_9-DevbEgfI.js} +1 -1
- package/dist/assets/{empty-iTJcp-B8.js → empty-CN54c-dU.js} +1 -1
- package/dist/assets/{empty-DlGh28fD.js → empty-D7p7xixl.js} +1 -1
- package/dist/assets/{epic-hN0N_N79.js → epic-CThn8LAI.js} +1 -1
- package/dist/assets/{gift-box-Cmt9OgIZ-TbiyaSAn.js → gift-box-Cmt9OgIZ-oia6LvJT.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-CxIH_dl6.js → graphic-no-data-l-DU4J8fDt-DCjrEnAk.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CUkTpFd-.js → graphic-no-data-net-burn-l-CzmycA0m-Db_-34x6.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-Dbtylvfc.js → handshake-BPg58FML-Dcowt3IG.js} +1 -1
- package/dist/assets/{helper-AgH8nJln-Bk3G7LVh.js → helper-DkzA3y2L-C_9Y7_ic.js} +1 -1
- package/dist/assets/{index-C4Fispms.js → index-B-ek68tb.js} +1 -1
- package/dist/assets/{index-aCBnCBoN.js → index-B8J3c9-k.js} +7 -7
- package/dist/assets/{index-ChCGry2d.js → index-BC4cjDzB.js} +1 -1
- package/dist/assets/{index-DAwCqq2t.js → index-C7AzBAhT.js} +1 -1
- package/dist/assets/{index-DFowIMIZ.js → index-CJXgYa1j.js} +1 -1
- package/dist/assets/{index-B5cuJQnR.js → index-DvYI3iXJ.js} +1 -1
- package/dist/assets/{index-Bk7UJBjY.js → index-hPlkpvne.js} +1 -1
- package/dist/assets/{lexical-9REae7LV.js → lexical-DZ4skawM.js} +1 -1
- package/dist/assets/{liveblocks-CEY7tsth.js → liveblocks-CN5hALk7.js} +1 -1
- package/dist/assets/{lottie-BmLFYENY.js → lottie-B-zs781A.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-lABm-2N9-B58RPCeu.js +1 -0
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-COcUb2pF-kcDRUVhM.js +1 -0
- package/dist/assets/mapSpacerToTreeNode-BDjo5N-i-mJOJcAn8.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-CvVUjW74-DDD8EZiJ.js +1 -0
- package/dist/assets/{mapTimeframeBalancesToTreeNode-Drhl_lnP-CrhrR0QG.js → mapTimeframeBalancesToTreeNode-CwHF76sn-r5bNXF3q.js} +1 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-B7LYTZXQ-71mHcXTa.js +1 -0
- package/dist/assets/{mui-BosmckWV.js → mui-B_fu8zAT.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-C2A7RuXG.js → page-detail-CWX5S47F-CvAL0hAO.js} +1 -1
- package/dist/assets/{panelSelectedMixin-Cddsb26L-CWVsp72I.js → panelSelectedMixin-Cddsb26L-DRHuamSe.js} +1 -1
- package/dist/assets/{radio-default-CiSgisfh-Dhw9u_Vt.js → radio-default-CiSgisfh-BgsJfXrp.js} +1 -1
- package/dist/assets/{react-CLFAbS9n.js → react-B3oFwy7V.js} +2 -2
- package/dist/assets/{react-DT8qkoNX.js → react-BG0GUKse.js} +1 -1
- package/dist/assets/{react-ddvEC0y3.js → react-Bcm_MkQe.js} +1 -1
- package/dist/assets/{react-DSh5n3Dg.js → react-CWuBuyxj.js} +1 -1
- package/dist/assets/{react-DAXSMqh2.js → react-DJ0zzqQv.js} +1 -1
- package/dist/assets/{react-D8DqvAAs.js → react-PE1K_DTb.js} +1 -1
- package/dist/assets/{react-DxfKP-TY.js → react-rwxEP-9P.js} +1 -1
- package/dist/assets/{react-DTZ405nF.js → react-uUMjmJkq.js} +1 -1
- package/dist/assets/{recharts-CimMNwCJ.js → recharts-BkmpOx_p.js} +1 -1
- package/dist/assets/{sentry-DzaNjvx0.js → sentry-xNvKSthz.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-Cva3YFBn.js → shield-DOlUxcFf-BV2AyAgf.js} +1 -1
- package/dist/assets/toCOABalancesWithID-CGYYTIjt-D5mv6_v1.js +1 -0
- package/dist/assets/{toChartData-G5y-N82I-BBptd2Gk.js → toChartData-B4ligi4c-D4j3IIGd.js} +1 -1
- package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-CMjD_kCZ.js → upload-reimbursement-receipt-O2N8vcO7-Deu8S236.js} +1 -1
- package/dist/assets/{uploadAttachment-RbkIBMGO-TVHnian4.js → uploadAttachment-DgPDimcm-DyuT8s2S.js} +5 -5
- package/dist/assets/{uploadReceipts-CIgkuVpu-Dil-Qv4Z.js → uploadReceipts-CIgkuVpu-CmRP4shz.js} +1 -1
- package/dist/assets/{url-ymOv7sCf.js → url-CPrPdBBS.js} +1 -1
- package/dist/assets/{url-KRGewpHH.js → url-DN9fcrN3.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-BgaoTE4k.js → useLongPress-GCK2COYQ-DMOFKAWg.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-Bnk1sVWO.js → usp-line-BBd1wKwW-Bx4ltDgD.js} +1 -1
- package/dist/assets/{utils-THjX-QSp.js → utils-4bW-VyLb.js} +1 -1
- package/dist/assets/{zeni-epic-state-BNpJ2txa.js → zeni-epic-state-SAYXyeZn.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/AccountInfoPage-pEEhPqOb-CuwSCEbu.js +0 -18
- package/dist/assets/AccountLockedInfoModal-jYWr_8TD-BpvSTyB8.js +0 -59
- package/dist/assets/BalancesInsightWithToolTip-DE6gDjGA-D3lvmUPJ.js +0 -38
- package/dist/assets/ChargeCardPromoPage-D4canPX9-DuNs-QpK.js +0 -222
- package/dist/assets/CustomerOnboardingContainerPage-DV3z4pR--Dxqq0QJL.js +0 -1
- package/dist/assets/EntityDetailPage-DPTSSZdS-B-VW2ygZ.js +0 -18
- package/dist/assets/MagicLinkACHDetailsPage-eq8wlXQr-DtgQBKXr.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-Df8XYlkg-BRWnjp0l.js +0 -1
- package/dist/assets/MailingDetailsSection-NdwWGQ88-D7MwCKtI.js +0 -21
- package/dist/assets/RoleWithToolTip-CqLxmtj6-BNUOWMRG.js +0 -22
- package/dist/assets/TreasuryTaxLetterPage-BsJn-BgX-CQZpySFF.js +0 -58
- package/dist/assets/VendorACHDetailsPage-DJ4Crnr0-adpyH1RD.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-WFcOmpiN-CHE49l9v.js +0 -1
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-B8sx02I_-CE29O6S4.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DTyQHWMc-CfKVg64X.js +0 -1
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-D7pjBGp6-Bef-KTrw.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-Cd4FCXAf-BQ_XhzIu.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-UsawmMLa-_s__LV61.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-B-aNuSSK-BvCkLSPj.js +0 -1
- package/dist/assets/toCOABalancesWithID-wh35N3no-ClXxioRe.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a9 as ze,ay as Re,e as N,g as K,V as t,bE as Ie,w as I,gk as Te,O as T,u as l,o as i,x,jA as De,cl as Be,jB as G,ac as O,b5 as Oe,cC as Ae,j6 as Me,bT as He,aV as Ne,an as W,dF as j,h9 as U,aQ as
|
|
1
|
+
import{a9 as ze,ay as Re,e as N,g as K,V as t,bE as Ie,w as I,gk as Te,O as T,u as l,o as i,x,jA as De,cl as Be,jB as G,ac as O,b5 as Oe,cC as Ae,j6 as Me,bT as He,aV as Ne,an as W,dF as j,h9 as U,aQ as _,c1 as We,cE as Ee,b$ as Ve,ao as H,cI as Q,d as $,ha as pe,g2 as me,f_ as ge,cq as _e,ak as F,iX as ue,bO as Ke,jC as Fe,je as Ye,cL as Ze,aX as z,jf as Ue,jg as Xe}from"./index-B8J3c9-k.js";import{a as S,P as X}from"./sentry-xNvKSthz.js";import{n,c as J}from"./mui-B_fu8zAT.js";import{t as qe}from"./SpendManagementSection-6R5y0Hy4-D5jOLcFY.js";import{r as Ge,a as Qe,i as ye,g as Je}from"./SpendManagementListViewPage-BdddUHrW-CnqRniMi.js";import{cl as xe,H1 as fe}from"./zeni-epic-state-SAYXyeZn.js";import{r as et}from"./auto-transfer-rule-mbafm5D3-BEBK8d08.js";import"./liveblocks-CN5hALk7.js";import"./core-C_RwbDgZ.js";import"./recharts-BkmpOx_p.js";import"./lottie-B-zs781A.js";import"./analytics-TwdLweES.js";import"./lexical-DZ4skawM.js";import"./utils-4bW-VyLb.js";import"./StatusSwitcher-D3qCg5J1-BZCFmoiB.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]="9db4e6e7-e8a5-4f81-afc2-4d5e13110ffc",e._sentryDebugIdIdentifier="sentry-dbid-9db4e6e7-e8a5-4f81-afc2-4d5e13110ffc")}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(Ue,Xe)};function st({companyNameSticky:e,sortConfig:o,onColumnSortConfigChanged:c}){const a=K(),r=N(),[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(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(ft,{onClick:()=>y(h.key,h.sortOrder),"data-testid":O("mobile-payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(H,{children:h.value}),t.jsx(ee,{windowSize:r,sortDataValue:o.sortKey,headerdata:h,children:t.jsx(te,{windowSize:r,children:t.jsx(Q,{})})})]})]}):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":O("payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(H,{children:s.value}),t.jsx(ee,{windowSize:r,sortDataValue:o.sortKey,headerdata:s,children:t.jsx(te,{windowSize:r,children:t.jsx(Q,{})})})]}),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":O("payment-history-list-sort-cancel",o.sortKey)})})]},s.key))})})}const rt=X.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,e as N,g as K,V as t,bE as Ie,w as I,gk as Te,O as T,u
|
|
|
9
9
|
display: flex;
|
|
10
10
|
align-items: center;
|
|
11
11
|
box-sizing: border-box;
|
|
12
|
-
padding: ${
|
|
13
|
-
${
|
|
12
|
+
padding: ${P.containerPaddingTop} ${P.containerPaddingRight}
|
|
13
|
+
${P.containerPaddingBottom} ${P.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=>P.headerHeight.valuePx(e.windowSize)};
|
|
19
|
+
max-height: ${e=>P.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=>`${P.headerLastColumnTopPadding.valuePx(e.windowSize)} ${P.headerLastColumnRightPadding.valuePx(e.windowSize)} ${P.headerLastColumnBottomPadding.valuePx(e.windowSize)} ${P.headerLastColumnLeftPadding.valuePx(e.windowSize)}`};
|
|
26
26
|
background-color: ${e=>e.theme.colors.grey4};
|
|
27
27
|
justify-content: space-between;
|
|
28
28
|
position: sticky;
|
|
@@ -91,7 +91,7 @@ import{a9 as ze,ay as Re,e as N,g as K,V as t,bE as Ie,w as I,gk as Te,O as T,u
|
|
|
91
91
|
cursor: pointer;
|
|
92
92
|
gap: 5px;
|
|
93
93
|
color: ${e=>e.theme.colors.primary};
|
|
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=N(),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=Je(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",
|
|
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=N(),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=Je(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",V=e.status==="Sent",Y=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:V?t.jsx(We,{placement:"bottom-start",title:t.jsxs(Xt,{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:Y})]})]}),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:U(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(Ot,{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(Mt,{children:`•••• ${h}`})]}):t.jsx(ne,{className:"sourceAccount",children:C})})})]}),t.jsx(Ht,{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(Nt,{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":O("retry-payment",e.cardRepaymentId),children:A.retryPayment})]})]})})}),t.jsxs(Vt,{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(_t,{children:t.jsx(Kt,{})}):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(Yt,{className:"initiatedBy",children:R})})]}),t.jsx(Zt,{windowSize:u,responsiveWidth:k[4].width,children:t.jsx(j,{isLoading:a,customStyle:{width:"100px",height:"20px",borderRadius:i.sp1},children:t.jsx(Ut,{className:"amount",windowSize:u,title:_("0,0.00",e.amount),children:_("0,0.00",e.amount)})})})]})})})},vt=({status:e,style:o})=>{const c=K(),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};
|
|
@@ -127,12 +127,12 @@ import{a9 as ze,ay as Re,e as N,g as K,V as t,bE as Ie,w as I,gk as Te,O as T,u
|
|
|
127
127
|
`,Ct=n.div`
|
|
128
128
|
display: block;
|
|
129
129
|
width: 100%;
|
|
130
|
-
`,
|
|
130
|
+
`,kt=n.div`
|
|
131
131
|
display: flex;
|
|
132
132
|
width: 100%;
|
|
133
133
|
justify-content: space-between;
|
|
134
134
|
align-items: center;
|
|
135
|
-
`,
|
|
135
|
+
`,Pt=n.div`
|
|
136
136
|
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
137
137
|
box-sizing: border-box;
|
|
138
138
|
padding-left: ${i.sp3};
|
|
@@ -245,14 +245,14 @@ import{a9 as ze,ay as Re,e as N,g as K,V as t,bE as Ie,w as I,gk as Te,O as T,u
|
|
|
245
245
|
&:hover {
|
|
246
246
|
color: ${$.link};
|
|
247
247
|
}
|
|
248
|
-
`,
|
|
248
|
+
`,Vt=n.div`
|
|
249
249
|
display: flex;
|
|
250
250
|
align-items: center;
|
|
251
251
|
gap: ${i.sp2};
|
|
252
252
|
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
253
253
|
box-sizing: border-box;
|
|
254
254
|
padding-left: ${i.sp3};
|
|
255
|
-
`,
|
|
255
|
+
`,_t=n.div`
|
|
256
256
|
display: flex;
|
|
257
257
|
align-items: center;
|
|
258
258
|
justify-content: center;
|
|
@@ -291,7 +291,7 @@ import{a9 as ze,ay as Re,e as N,g as K,V as t,bE as Ie,w as I,gk as Te,O as T,u
|
|
|
291
291
|
overflow: hidden;
|
|
292
292
|
text-overflow: ellipsis;
|
|
293
293
|
white-space: nowrap;
|
|
294
|
-
`,
|
|
294
|
+
`,Xt=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,e as N,g as K,V as t,bE as Ie,w as I,gk as Te,O as T,u
|
|
|
304
304
|
color: ${e=>e.theme.colors.hero};
|
|
305
305
|
`,se=n(F)`
|
|
306
306
|
color: ${$.brandColorPearl};
|
|
307
|
-
`,
|
|
307
|
+
`,qt=new z(U(0)).lighten(.3).hex(),{spendManagement:{chargeCard:{paymentHistory:M}}}=T.getLocalizedStrings(),Gt=e=>e.base64!==void 0?`${me}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Qt=({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?M.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:U(0)})}):y==="paymentAccount"&&g!==void 0&&(g.base64||g.url)?t.jsx(li,{src:Gt(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(fi,{children:t.jsx(j,{isLoading:a,customStyle:{width:"150px",height:"16px",borderRadius:i.sp1},children:t.jsxs(wi,{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:_("0,0.[00]",e.amount),children:_("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(Jt,{status:e.status})})})})}),w===!0&&c===!0&&d!=null&&t.jsx(Pi,{children:t.jsx(Li,{onClick:u,"data-testid":O("retry-payment",e.cardRepaymentId),children:M.retryPayment})})]})]})})},Jt=({status:e,style:o})=>{const c=K(),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{a9 as ze,ay as Re,e as N,g as K,V as t,bE as Ie,w as I,gk as Te,O as T,u
|
|
|
354
354
|
align-items: center;
|
|
355
355
|
justify-content: center;
|
|
356
356
|
border-radius: 50%;
|
|
357
|
-
background-color: ${
|
|
357
|
+
background-color: ${qt};
|
|
358
358
|
`,si=n(pe)`
|
|
359
359
|
min-width: inherit;
|
|
360
360
|
width: ${i.sp6};
|
|
@@ -388,7 +388,7 @@ import{a9 as ze,ay as Re,e as N,g as K,V as t,bE as Ie,w as I,gk as Te,O as T,u
|
|
|
388
388
|
`,hi=n.div`
|
|
389
389
|
display: flex;
|
|
390
390
|
align-items: center;
|
|
391
|
-
`,pi=n(
|
|
391
|
+
`,pi=n(_e)`
|
|
392
392
|
color: ${e=>e.theme.colors.primary};
|
|
393
393
|
max-width: 100%;
|
|
394
394
|
overflow: hidden;
|
|
@@ -461,7 +461,7 @@ import{a9 as ze,ay as Re,e as N,g as K,V as t,bE as Ie,w as I,gk as Te,O as T,u
|
|
|
461
461
|
gap: ${i.sp2};
|
|
462
462
|
flex-wrap: wrap;
|
|
463
463
|
justify-content: flex-end;
|
|
464
|
-
`,
|
|
464
|
+
`,ki=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,e as N,g as K,V as t,bE as Ie,w as I,gk as Te,O as T,u
|
|
|
470
470
|
color: ${e=>e.theme.colors.primary};
|
|
471
471
|
}
|
|
472
472
|
}
|
|
473
|
-
`,
|
|
473
|
+
`,Pi=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,e as N,g as K,V as t,bE as Ie,w as I,gk as Te,O 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,Bi=86,$e=
|
|
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=X.memo(({fetchState:e,repaymentListWithAccountInfo:o,sortConfig:c,searchText:a,isZeniTenant:r,onColumnSortConfigChanged:d,onReloadPayments:g,onRetryPaymentClick:y})=>{const h=N(),p=S.useCallback(v=>v===0?de:h==="small"?132:G,[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(Ni,{children:[t.jsx(Wi,{onClick:g,"data-testid":O("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(Yi,{children:a!==""?re.paymentHistory.noPaymentHistoryMatchedSearch:re.paymentHistory.noPaymentHistoryAvailable})}):t.jsx(je,{children:t.jsx(_i,{windowSize:h,availableHeight:b,isListTooLarge:s,children:t.jsx(Oe,{children:({height:v,width:w})=>t.jsx(Ae,{ref:m,height:v,itemCount:o.length+1,innerElementType:ve,itemSize:p,estimatedItemSize:G,itemKey:f=>f===0?"header":o[f-1].repayment.cardRepaymentId,width:w,overscanCount:Me,initialScrollOffset:0,children:f=>t.jsx(Oi,{...f,repaymentListWithAccountInfo:o,sortConfig:c,isZeniTenant:r,onColumnSortConfigChanged:d,onRetryPaymentClick:y})})})})});return t.jsx(Hi,{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(Ki,{children:c})})});ve.displayName="ChargeCardPaymentHistoryInnerElement";const Oi=({index:e,style:o,repaymentListWithAccountInfo:c,sortConfig:a,isZeniTenant:r,onColumnSortConfigChanged:d,onRetryPaymentClick:g})=>{const y=N(),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"?Qt:$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})),Mi=X.memo(Ai),Hi=n.div`
|
|
485
485
|
margin: ${e=>e.fetchState==="Error"?"auto":"unset"};
|
|
486
486
|
display: block;
|
|
487
487
|
height: 100%;
|
|
@@ -508,10 +508,10 @@ import{a9 as ze,ay as Re,e as N,g as K,V as t,bE as Ie,w as I,gk as Te,O as T,u
|
|
|
508
508
|
&:hover {
|
|
509
509
|
color: ${e=>e.theme.colors.primary};
|
|
510
510
|
}
|
|
511
|
-
`,
|
|
511
|
+
`,Vi=n(Ne)`
|
|
512
512
|
margin-top: ${i.sp3};
|
|
513
513
|
color: ${e=>e.theme.colors.hero};
|
|
514
|
-
`,
|
|
514
|
+
`,_i=n.div`
|
|
515
515
|
position: sticky;
|
|
516
516
|
height: ${e=>e.isListTooLarge||e.windowSize==="small"?`calc(100vh - ${Bi}px)`:`${e.availableHeight}px`};
|
|
517
517
|
max-width: 99.9%;
|
|
@@ -551,13 +551,13 @@ import{a9 as ze,ay as Re,e as N,g as K,V as t,bE as Ie,w as I,gk as Te,O as T,u
|
|
|
551
551
|
`,Yi=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: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:w,updateDownloadStateHandler:f})=>{const R=ze().analytics,D=Re(),[
|
|
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:w,updateDownloadStateHandler:f})=>{const R=ze().analytics,D=Re(),[V,Y]=S.useState(!1),k=N(),Z=K(),be=r===""&&(d?.categories==null||d.categories.length===0||d.categories.every(L=>L.values==null||L.values.length===0)),q=o==="Completed"&&be&&e.length===0,Se=L=>{Y(L)},Ce={entity:"charge_card_payment_history",showNewButtonOnNavbar:!1,showEntityEmailInfoIconOnNavbar:!1,newButtonLabel:Zi.strings.empty,hideSearchBtn:!1,disableSearch:q,disableFilters:q,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()=>{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:()=>Qe("charge_card_payment_history",h,D.loggedInUserRole??[],[],a),renderDropdownOptionIcon:Ge},ke=t.jsx(qe,{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(Ui,{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: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(Xi,{windowSize:k,children:t.jsx(Mi,{fetchState:o,repaymentListWithAccountInfo:Le,sortConfig:c,onColumnSortConfigChanged:p,onReloadPayments:b,searchText:r,isZeniTenant:g,onRetryPaymentClick:s})})]})},Ui=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
|
+
`,Xi=n.div`
|
|
561
561
|
margin-top: ${i.sp4};
|
|
562
562
|
margin-right: ${e=>ce.contentContainerMargin.valuePx(e.windowSize)};
|
|
563
563
|
margin-bottom: ${i.sp0};
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
import{e as $,V as r,g as G,ay as be,a9 as $e,aS as je,aQ as Se,g6 as Te,bE as ve,fH as ze,a as Y,ac as ee,O as oe,o as t,c as Pe,n as V,cM as ke,as as Ae,x,ar as Be,c1 as Ie,i$ as Le,ak as _e,u as p,N as S,d as y,bc as Re,aW as Ee,j0 as Me}from"./index-B8J3c9-k.js";import{a as T}from"./sentry-xNvKSthz.js";import{n as a,c as De,k as Fe}from"./mui-B_fu8zAT.js";import{FB as Ue}from"./zeni-epic-state-SAYXyeZn.js";import{x as Ne}from"./NavigationDots-WiVjbUsC-BSgmW_if.js";import{J as H,N as O}from"./PromoBaseCards-Bmn6TN2k-B692-NLa.js";import{M as _}from"./usp-line-BBd1wKwW-Bx4ltDgD.js";import"./liveblocks-CN5hALk7.js";import"./core-C_RwbDgZ.js";import"./recharts-BkmpOx_p.js";import"./lottie-B-zs781A.js";import"./analytics-TwdLweES.js";import"./lexical-DZ4skawM.js";import"./utils-4bW-VyLb.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]="8e29570b-37ae-483c-90da-6d8730847f1b",e._sentryDebugIdIdentifier="sentry-dbid-8e29570b-37ae-483c-90da-6d8730847f1b")}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])},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(),Rr=({meetingUrl:e,companyLegalName:s,chargeCardSetupView:i,showEnableCardButton:n,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:W,onExpressInterestClick:ge})=>{const he=G(),J=be(),z=$(),X=$e().analytics,{chargeCardTermsDetails:R,companyChargeCardInfo:C,companyLocaleInfo:E}=i,Z=je(R?.fetchStatus.fetchState),[xe,K]=T.useState(!1),ue=()=>{X.trackCardsPromoPageClicked("schedule demo"),X.trackCardsScheduleDemoClick(c,{isCreditCardOffered:m,isDebitCardOffered:h,isDebitCardEnabled:u,isCreditCardEnabled:w},"Cards Promo"),K(!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"&&R?.fetchStatus.fetchState==="Completed"&&W()},[Z,W,R?.fetchStatus]);const Q=Ue(J.loggedInUserRoleMap),fe=Te(J),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,q=M?o.getPreApprovedNow:n?o.enableCardsButton:o.setupCardsButton;return r.jsxs(Je,{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"}),xe===!0?r.jsx(ze,{onCancelClick:()=>{K(!1)},meetingUrl:e}):null,r.jsx(Qe,{windowSize:z,children:Q===!0?r.jsxs(Ke,{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(Ge,{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:ue,"data-testid":ee("schedule-demo-button")}),r.jsx(Xe,{windowSize:z,children:o.orText}),r.jsx(Y,{variant:"primary",label:q,style:{minWidth:166},loading:i.chargeCardTermsDetails?.fetchStatus.fetchState==="In-Progress"||ye==="In-Progress",onClick:q===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(Ie,{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 u=$();return r.jsx(ir,{windowSize:u,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(u)},cardPromoType:e,isCheckingEnabled:i})})},Oe=({isApproved:e,cardPromoType:s,creditAmount:i,isUnderReview:n,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,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: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(Ye,{cardPromoType:s,hasContent:j!=null,hideBadge:i==null||s==="debit",windowSize:u,children:[n||c||m?null:r.jsx(yr,{}),r.jsx(er,{windowSize:u,children:j})]})]})},Ge=({companyLegalName:e,cards:s,admins:i,cashbackRate:n,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(ne,{cardPromoType:m,cashbackRate:n}),c?null:r.jsx(He,{admins:i}),r.jsx(ae,{isCardUser:!0,showEnableCardButton:!1,cardPromoType:m,isCheckingEnabled:h})]})},Ve=({cards:e,companyLegalName:s})=>{const i=G(),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(qe,{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=Be},loading:"lazy"}):null,r.jsx(gr,{windowSize:n,mode:i.mode,children:r.jsx(xr,{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(We,{}):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(A,{windowSize:i,children:[r.jsx(I,{children:r.jsx(lr,{})}),r.jsxs(L,{children:[r.jsx(b,{windowSize:i,children:n.item1.pre}),r.jsx(B,{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(A,{windowSize:i,children:[r.jsx(I,{children:r.jsx(sr,{})}),r.jsxs(L,{children:[r.jsx(b,{windowSize:i,children:n.item2.pre}),r.jsx(B,{windowSize:i,children:n.item2.bold}),r.jsx(b,{windowSize:i,children:n.item2.post})]})]}),r.jsxs(A,{windowSize:i,children:[r.jsx(I,{children:r.jsx(cr,{})}),r.jsxs(L,{children:[r.jsx(b,{windowSize:i,children:n.item3.pre}),r.jsx(B,{windowSize:i,children:n.item3.bold}),r.jsx(b,{windowSize:i,children:n.item3.post})]})]}),r.jsxs(A,{windowSize:i,children:[r.jsx(I,{children:r.jsx(dr,{})}),r.jsxs(L,{children:[r.jsx(b,{windowSize:i,children:n.item4.pre}),r.jsx(B,{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 We=()=>{const e=$(),s=G(),[i,n]=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(()=>{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(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(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}})]})},Je=a.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
|
+
`,Xe=a(_e)`
|
|
8
|
+
color: ${e=>e.theme.colors.hero};
|
|
9
|
+
`,Ze=a.div`
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
align-items: center;
|
|
13
|
+
`,Ke=a.div`
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
justify-content: space-between;
|
|
17
|
+
flex: 1;
|
|
18
|
+
width: 100%;
|
|
19
|
+
`,Qe=a.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=a(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=a(Ae)`
|
|
36
|
+
color: ${e=>e.theme.colors.primary};
|
|
37
|
+
margin: auto;
|
|
38
|
+
margin-top: ${t.sp2};
|
|
39
|
+
`,le=a(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=a(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
|
+
`,qe=a.img`
|
|
56
|
+
border-radius: 50%;
|
|
57
|
+
justify-content: center;
|
|
58
|
+
color: ${e=>e.theme.colors.hero};
|
|
59
|
+
`,Ye=a.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=a(V)`
|
|
79
|
+
color: ${e=>e.theme.mode==="dark"?y.brandColorJade:y.brandColorSapphire};
|
|
80
|
+
text-align: ${e=>e.windowSize==="small"?"left":"center"};
|
|
81
|
+
${e=>`${v.promoBadgeText.style(e.windowSize)}`};
|
|
82
|
+
span {
|
|
83
|
+
${e=>`${v.promoBadgeTextBold.style(e.windowSize)}`};
|
|
84
|
+
}
|
|
85
|
+
`,rr=a.span``,te=a.span`
|
|
86
|
+
color: ${y.success};
|
|
87
|
+
`,tr=a.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=a.div`
|
|
94
|
+
display: flex;
|
|
95
|
+
flex-direction: column;
|
|
96
|
+
`,or=a.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
|
+
`,ar=a.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
|
+
`,nr=a.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=a.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
|
+
`,b=a(Re)`
|
|
138
|
+
color: ${e=>e.theme.colors.champion};
|
|
139
|
+
${e=>`${v.uspText.style(e.windowSize)}`};
|
|
140
|
+
`,B=a(Ee)`
|
|
141
|
+
color: ${e=>e.theme.colors.champion};
|
|
142
|
+
${e=>`${v.uspBoldText.style(e.windowSize)}`};
|
|
143
|
+
`,I=a.div``,L=a.div`
|
|
144
|
+
padding-left: ${t.sp3};
|
|
145
|
+
`,sr=a(_)`
|
|
146
|
+
color: ${y.graphColor16Dark};
|
|
147
|
+
`,dr=a(_)`
|
|
148
|
+
color: ${y.alert};
|
|
149
|
+
`,lr=a(_)`
|
|
150
|
+
color: ${y.graphColor11};
|
|
151
|
+
`,cr=a(_)`
|
|
152
|
+
color: ${y.success};
|
|
153
|
+
`,pr=a.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=a(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
|
+
`,N=a(Me)`
|
|
167
|
+
${e=>`${v.contactAdmin.style(e.windowSize)}`};
|
|
168
|
+
text-decoration: ${e=>e.underline?"underline":"none"};
|
|
169
|
+
cursor: ${e=>e.underline?"default":null};
|
|
170
|
+
`,gr=a.div`
|
|
171
|
+
color: ${e=>e.mode==="dark"?e.theme.colors.brandColorJade:e.theme.colors.brandColorSapphire};
|
|
172
|
+
`,hr=a.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=a.span`
|
|
183
|
+
${e=>`${v.cardsContent.style(e.windowSize)}`};
|
|
184
|
+
`,ur=a.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=a.div`
|
|
191
|
+
position: relative;
|
|
192
|
+
margin-top: ${e=>g.carouselMarginTop.valuePx(e.windowSize)};
|
|
193
|
+
margin-left: ${e=>g.carouselMarginLeft.valuePx(e.windowSize)};
|
|
194
|
+
`,fr=a.div`
|
|
195
|
+
position: relative;
|
|
196
|
+
overflow: visible;
|
|
197
|
+
`,ie=a.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
|
+
`,yr=a.div`
|
|
214
|
+
position: absolute;
|
|
215
|
+
background:
|
|
216
|
+
${y.promoCardGradient1Strong}, ${y.promoCardGradient2Strong};
|
|
217
|
+
width: ${t.sp10};
|
|
218
|
+
z-index: 3;
|
|
219
|
+
height: 100%;
|
|
220
|
+
transform: skew(15deg);
|
|
221
|
+
animation: ${Cr} 4s linear infinite;
|
|
222
|
+
`;export{Ge as ChargeCardPromoUserContent,Rr as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as je,e as Oe,a9 as Ue,aS as M,aa as Be,cQ as _e,aX as G,V as t,fr as $e,d as Le,x as r,bE as ze,L as Re,ae as We,fI as Ne,e1 as qe,fJ as He,o as B,w as Me,j1 as J,by as Ge,aT as Je,fL as Qe,O as Xe,u as o,an as Ze}from"./index-
|
|
1
|
+
import{g as je,e as Oe,a9 as Ue,aS as M,aa as Be,cQ as _e,aX as G,V as t,fr as $e,d as Le,x as r,bE as ze,L as Re,ae as We,fI as Ne,e1 as qe,fJ as He,o as B,w as Me,j1 as J,by as Ge,aT as Je,fL as Qe,O as Xe,u as o,an as Ze}from"./index-B8J3c9-k.js";import{a as f}from"./sentry-xNvKSthz.js";import{n as w}from"./mui-B_fu8zAT.js";import{bJ as Ke}from"./zeni-epic-state-SAYXyeZn.js";import{x as Ye}from"./LabeledControlledCheckBoxField-BEpAlnvo-BghNAEyy.js";import{g as et}from"./UploadAdditionalDocumentOverlay-DWmMz_8y-CvLWvP9X.js";import"./liveblocks-CN5hALk7.js";import"./core-C_RwbDgZ.js";import"./recharts-BkmpOx_p.js";import"./lottie-B-zs781A.js";import"./analytics-TwdLweES.js";import"./lexical-DZ4skawM.js";import"./utils-4bW-VyLb.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="84a1ac5e-915f-4091-886b-ad5039403205",e._sentryDebugIdIdentifier="sentry-dbid-84a1ac5e-915f-4091-886b-ad5039403205")}catch{}})();const c={titleWidth:new r(343,580,726,826),setupDetailsRowGap:new r(12,o[5],o[5]),sectionRowGap:new r(o[5],o[9],o[9]),iconWidthHeight:new r(20,o[4]),subTitlePaddingTop:new r(12,o[3]),subTitlePaddingBottom:new r(o[3],o[3]),overlayWidth:new r(100,100,59),checkBoxTop:new r(o[1],o[0])},Q="chargeCardSetUpPage",m="payAccount",{commonSetUp:tt,spendManagement:nt}=Xe.getLocalizedStrings(),{chargeCard:K}=nt,{chargeCardSetUp:g}=K,{setUp:_}=tt,wt=({autoPayThreshold:e,isDisabled:d,meetingUrl:x,isEarlyPayEnabled:h,chargeCardSetUpView:a,connectedAccountProvider:Y,filesEndPoint:ee,authParams:te,isAccountsEnabled:ne,isDebitCardOnlyEnabled:v,isCreditCardOnlyEnabled:ie,accountsPromoConfig:ae,onFetchLinkTokenClick:oe,onBackClick:ce,onEnableChargeCardClick:se,onUpdateChargeCardClick:le,onBusinessVerificationSectionClick:re,onUpdatePaymentAccountStatus:de,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:$,isRefreshingViewInBackground:Pe,updateStatus:u,accountUpdateStatus:Ae,plaidConnectionDetails:ke,allBankAccounts:Te,companyChargeCardInfo:I,companyDebitCardInfo:L,selectedCompanyOfficer:s,primaryFundingAccount:l,allFundingAccounts:z}=a,R=M(C),k=M(u.fetchState),D=Be({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>X(a),[a]),values:X(a)}),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=z.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&&R==="In-Progress"&&C==="Completed"&&b(!1)},[s,C,R]),f.useEffect(()=>{k==="In-Progress"&&u.fetchState==="Completed"&&P()},[P,k,u.fetchState]);const V=I?.isChargeCardEnabled===!0,F=L?.isDebitCardEnabled===!0,W=L?.isDebitCardTOSAccepted===!0,N=I?.isChargeCardTOSAccepted===!0,q=$?.isBusinessVerified===!0,Ie=l?.accType==="depositAccount"||Ke(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&&W:ie?j&&!V&&N:j&&!(V&&F)&&N&&W,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):re?.()};return t.jsxs(at,{children:[t.jsx($e,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>b(!1),style:{backgroundColor:Le.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(ze,{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(ot,{windowSize:i,children:Ve}),De?t.jsx(ct,{children:t.jsx(Re,{size:"ExtraLarge",start:!0})}):t.jsx(We,{...D,children:t.jsx("form",{id:Z(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:$?.businessVerificationStatus,isLoading:Pe,isActiveWhileLoading:!0}),v?null:t.jsx(He,{connectedAccountProvider:Y,primaryFundingAccount:l,allFundingAccounts:z,plaidConnectionDetails:ke,allBankAccounts:Te,sectionId:m,isDisabled:d,onFetchLinkTokenClick:oe,onEstablishConnectionClick:ge,onUpdatePaymentAccountStatus:de,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(Ye,{label:{label:K.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:Z(Q),primaryBtn:{label:g.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"||Ae.fetchState==="In-Progress",isDisabled:d!=null},showCancel:!1,cancelBtn:{label:""},style:{padding:`12px ${B.sp3}`}}):null,t.jsx(Qe,{isFooterRendered:O,meetingUrl:x,analytics:E,productType:"charge_cards"})]})},X=e=>{const{allBankAccounts:d,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:d.map(a=>({label:a.accountName,value:a.accountId}))},enableAutoPay:e.companyChargeCardInfo?.isAutoPayEnabled}}},Z=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{g as W,e as N,V as t,bE as F,o as h,O as R,x as g,an as B,bb as O,a9 as V,i0 as _,L as J,ac as q,u as s,
|
|
1
|
+
import{g as W,e as N,V as t,bE as F,o as h,O as R,x as g,an as B,bb as O,a9 as V,i0 as _,L as J,ac as q,u as s,cd as G}from"./index-B8J3c9-k.js";import{n as r}from"./mui-B_fu8zAT.js";import{$ as U,g as X}from"./BoxItem-C39hQSVg-DygFSSe8.js";import{a as H}from"./sentry-xNvKSthz.js";import{w as K}from"./downloadPdf-Dcd8BY_9-DevbEgfI.js";import"./liveblocks-CN5hALk7.js";import"./core-C_RwbDgZ.js";import"./recharts-BkmpOx_p.js";import"./zeni-epic-state-SAYXyeZn.js";import"./lottie-B-zs781A.js";import"./analytics-TwdLweES.js";import"./lexical-DZ4skawM.js";import"./utils-4bW-VyLb.js";import"./commonDimensions-CuKo3wam-CITxsF7B.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]="7aec42a9-3f5e-406f-88ff-94320de5138c",e._sentryDebugIdIdentifier="sentry-dbid-7aec42a9-3f5e-406f-88ff-94320de5138c")}catch{}})();const D=R.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{g as W,e as N,V as t,bE as F,o as h,O as R,x as g,an as B,bb as O,a9 as V
|
|
|
19
19
|
overflow: hidden;
|
|
20
20
|
`,te=r.div`
|
|
21
21
|
cursor: pointer;
|
|
22
|
-
`,
|
|
22
|
+
`,ae=r(G)`
|
|
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,7 +27,7 @@ import{g as W,e as N,V as t,bE as F,o as h,O as R,x as g,an as B,bb as O,a9 as V
|
|
|
27
27
|
&:hover {
|
|
28
28
|
color: ${e=>e.theme.colors.primary};
|
|
29
29
|
}
|
|
30
|
-
`;function
|
|
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:p,creditAccountRepayment:I,authParams:P,downloadEndPoint:k,boxType:j}){const b=V().analytics,[v,E]=H.useState(!1),c=N(),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}-${_(i.monthYearPeriod.month)}`,format:"pdf"},f=t.jsx(Q,{children:t.jsxs(Z,{children:[t.jsx(ee,{children:z}),t.jsx(te,{"data-testid":q("download-card-statement"),onClick:()=>{d.fetchState==="Completed"&&I.fetchState==="Completed"&&(!(a&&o)||y.fetchState==="Completed"&&x?.fetchState==="Completed")&&p!=null&&b.trackCardsDownloadClick(l,C,p,{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(J,{size:"Small",start:!0}):t.jsx(ae,{windowSize:c})})]})});return t.jsx(X,{content:f,boxType:j,isDisabled:!1,isNotClickable:!0})}const L=R.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:p,creditAccountRepayment:I,debitCardSummary:P,creditAccount:k,downloadEndPoint:j,statementListView:b,onBackClick:v})=>{const E=W(),c=N(),{sortedYear:z,monthsByYearWithSortedMonth:u}=me(b.statements);return t.jsxs(se,{children:[t.jsx(F,{title:L.title,backgroundColor:E.colors.grey4,style:{zIndex:3},onBackClick:v,source:"ChargeCardStatementsPage"}),t.jsx(ce,{windowSize:c,children:b.statements.length===0?t.jsx(M,{children:t.jsx(de,{children:t.jsx(T,{windowSize:c,children:t.jsx(le,{children:L.noStatements})})})}):t.jsx(re,{children:z.map(m=>t.jsxs(ne,{children:[t.jsx(oe,{windowSize:c,children:m}),t.jsx(M,{children:u[m].map((f,A)=>t.jsx(T,{windowSize:c,children:t.jsx(ie,{productInformation:l,creditAccountInformation:o,debitAccountInformation:d,cashbackInformation:a,creditAccountRepayment:I,depositAccountListWithDebitCardIssued:p,debitCardSummary:P,controllerEmails:n,isChargeCardFeatureEnabled:y,isDebitCardFeatureEnabled:x,isDebitCardSetupEnabled:C,isChargeCardSetupEnabled:S,chargeCardCashbackDetailState:$,creditAccount:k,currentTenantCompanyName:e,index:A,data:f,authParams:i,downloadEndPoint:j,boxType:U(A,u[m].length)},f.id)},f.id))})]},m))})})]})},re=r.div``,ne=r.div`
|
|
31
31
|
margin-bottom: ${h.sp6};
|
|
32
32
|
`,M=r.div``,oe=r(O)`
|
|
33
33
|
margin-left: ${e=>w.titleMarginLeftRight.valuePx(e.windowSize)};
|
|
@@ -57,4 +57,4 @@ import{g as W,e as N,V as t,bE as F,o as h,O as R,x as g,an as B,bb as O,a9 as V
|
|
|
57
57
|
width: 100%;
|
|
58
58
|
height: 100%;
|
|
59
59
|
margin-top: ${e=>w.containerMarginTop.valuePx(e.windowSize)};
|
|
60
|
-
`,me=e=>{const
|
|
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};
|