@zeniai/web-cockpit-ui 1.15.45-dev → 1.15.46-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-D87WwXK_-CBHF5jjP.js +21 -0
- package/dist/assets/{AIPerformancePage-DlTdGosv-wmtN61X5.js → AIPerformancePage-DNhHi_BA-DVKmGARz.js} +104 -104
- package/dist/assets/AccountInfoPage-rFTZmOvo-DL0RDmZu.js +18 -0
- package/dist/assets/{AccountInfoPageContent-BS2TBUSE-C5aZvKIb.js → AccountInfoPageContent-WRX3aOoA-BND3wWTU.js} +21 -21
- package/dist/assets/{AccountLockedInfoModal-aukulrV7-BnyIzxt7.js → AccountLockedInfoModal-hM0l2JoS-BM4SnK9N.js} +11 -11
- package/dist/assets/{AccountReconDetailsDrawerPage-kQJld6_N-mlekIKpg.js → AccountReconDetailsDrawerPage-D6AdnAnF-BP-45utn.js} +19 -19
- package/dist/assets/AccountRow-kn3U0JbW-CqKCifJj.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-DBQnDPXQ-Cg1k8iOd.js → AccountsPromoCardStack-D5XHZwyh-DkX-4Lp4.js} +32 -32
- package/dist/assets/AddAddressForCardDrawer-BmEFIMt4-CVY0gF8P.js +6 -0
- package/dist/assets/{AddToWalletPage-C4EwdLZJ-CuTX3g12.js → AddToWalletPage-D7DeS_0t-DEAoUKiM.js} +19 -19
- package/dist/assets/{AgingReportsPage-vAvkUfOS-CY0Z3qTp.js → AgingReportsPage-bssKBslp-BzwEfw-z.js} +7 -7
- package/dist/assets/{AllUserItems-qrYg6Gdx-CdYLC57_.js → AllUserItems-DodKPXrb-CcYwQFSA.js} +11 -11
- package/dist/assets/ApAgingDetailPage-NVrKyHd2-Bw462lTM.js +46 -0
- package/dist/assets/{AppBasePage-DrE-W6d7-BJchX_M5.js → AppBasePage-8vs83psd-DYOlChcn.js} +8 -8
- package/dist/assets/{AppDrawerContent-ATbZG_cu-DjhYjDhr.js → AppDrawerContent-D_del0Ko-C7wcXF5_.js} +5 -5
- package/dist/assets/ApprovalRulesSettingsPage-GZSj0TP5-DNVzaP3v.js +47 -0
- package/dist/assets/{ArAgingChart-CuzG9AZY-tEsYzpMw.js → ArAgingChart-DPWhkZ92-C-OV2nhV.js} +6 -6
- package/dist/assets/ArAgingDetailPage-60QCPZos-BlpsMiLT.js +46 -0
- package/dist/assets/{AttachmentView-BrQRChzc-CLMui9x5.js → AttachmentView-CbtcWV-6-CFsaig-u.js} +6 -6
- package/dist/assets/{BankAccountSection-hcKEMs80-C6Jbh-5h.js → BankAccountSection-CNsbo5NW-D5-9rntY.js} +14 -14
- package/dist/assets/{BankAccountWarningSection-CpxVDMSZ-C7N2KxYy.js → BankAccountWarningSection-DNsentDt-DXrUqr4R.js} +10 -10
- package/dist/assets/{BankConnectionsSettingsPage-Bdw1K00m-BvzDHkyQ.js → BankConnectionsSettingsPage-CLotTlUf-Cr8Fvyc2.js} +27 -27
- package/dist/assets/BillDetailPage-Cg3qZdsc-Bu00bZom.js +266 -0
- package/dist/assets/{BillPayApprovalRuleDetailPage-DkpCvYvo-O8-69iVq.js → BillPayApprovalRuleDetailPage-DbA9lF8v-D3H9v0x8.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-BEqZD0GU-BxwF6ACD.js → BillPayApprovalRulesPage-D5H-E5f4-Cy9lWX0_.js} +17 -17
- package/dist/assets/BillPayPromoPage-x2Q3c9G9-CVZuA77d.js +84 -0
- package/dist/assets/{BillPaySetUpPage-WdEdbf16-Dy9LV6PH.js → BillPaySetUpPage-CwRy-Uno-xx3edT5K.js} +4 -4
- package/dist/assets/BillingSettingsPage-D7PgDMId-BnPPtdGW.js +44 -0
- package/dist/assets/BillsBulkReviewDrawerPage-DStkOLXt-BhfIlk7A.js +1 -0
- package/dist/assets/{BoxItem-CACRFWG2-DVYuXWIN.js → BoxItem-djG6IQ4o-2WZ3HHBU.js} +1 -1
- package/dist/assets/BusinessVerificationPage-fTHIGXBy-a0eiadoT.js +138 -0
- package/dist/assets/{CardNumberSubText-C-oVdziK-DunIHxKO.js → CardNumberSubText-BNT6moWK-CsPKCw8x.js} +3 -3
- package/dist/assets/{CashbackDetailPage-BhFKSl4p-BQ_VopLN.js → CashbackDetailPage-G5wL_XNp-CJEFraK5.js} +27 -27
- package/dist/assets/{ChargeCardDetailPage-D8J6HINu-BuT8xfhQ.js → ChargeCardDetailPage-CSPeag3v-BP9bsRfj.js} +20 -20
- package/dist/assets/{ChargeCardListPage-tdUKyHdz-C4MlwZVJ.js → ChargeCardListPage-BqN-1uhQ-rbpM72ul.js} +15 -15
- package/dist/assets/{ChargeCardListTable-CByk3iqX-DoHny0DQ.js → ChargeCardListTable-Bii0Wthf-T5JYYMDA.js} +55 -55
- package/dist/assets/{ChargeCardPaymentHistoryPage-B8zRcrjo-BRbQG-FC.js → ChargeCardPaymentHistoryPage-jnLm7dsX-BCjpKu7L.js} +34 -34
- package/dist/assets/ChargeCardPromoPage-CR7Jo6Il-OQWmOWWv.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-DtwiTNKA-BFEsY7tk.js → ChargeCardSetupPage-CORgMz4D-B3XpYA3g.js} +4 -4
- package/dist/assets/{ChargeCardStatementsPage-B0KPw52e-DBUcIJ4E.js → ChargeCardStatementsPage-CyFh62V3-CVApFNSe.js} +8 -8
- package/dist/assets/{CheckDepositDrawerPage-DKNAXI77-BLa4tOO2.js → CheckDepositDrawerPage-4OsC9vnS-C8KgAtNZ.js} +15 -15
- package/dist/assets/{CollapsableReportTable-Cq8bhaYC-ZEUmVRwU.js → CollapsableReportTable-BBZQoM0P-CNldMsB_.js} +272 -272
- package/dist/assets/{CompanyOfficerDetailsSection-Rk0B5cB5-D0GfPSDE.js → CompanyOfficerDetailsSection-BxcbL0xy-CPql_B00.js} +32 -32
- package/dist/assets/{CompanyPassportCard-CHaKk74P-ChdhDOcg.js → CompanyPassportCard-DZkmzhcF-DdwaCSTK.js} +8 -8
- package/dist/assets/{CompanyPassportPage-DXWXFFKM-KfIA3e5g.js → CompanyPassportPage-FbqUpLTv-C5g27TMH.js} +20 -20
- package/dist/assets/{CompleteProfile-ChaWsK6t-DspQFryi.js → CompleteProfile-CHAiqldO-Bdzud2Sl.js} +2 -2
- package/dist/assets/ConfettiBurst-D44X4kyc-CoZYKMrw.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-DRM9GAJ_.js → ConstrainedInnerElement-BeIpAPjB-Cf0vGOip.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-C_8Jqubo-Bk2WY5iH.js → CreateOrEditVendorPage-DDLhdHIQ-DkYXq-0b.js} +13 -13
- package/dist/assets/{CreditCardPaymentDrawerPage-lOjOtk28-Csye-cQG.js → CreditCardPaymentDrawerPage-Cqp3cX11-Ch0fJLe_.js} +18 -18
- package/dist/assets/CurrencySelectField-BsReHqXI-Cpmmr7ON.js +139 -0
- package/dist/assets/CustomerOnboardingActivationPage-COSoNwiL-XcudDVcs.js +88 -0
- package/dist/assets/CustomerOnboardingContainerPage-DD9nA6Bu-Bp08bFX-.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BYXyF1CQ-Nc7z_MPq.js → CustomerOnboardingDetailPageSkeleton-CkVIT-8v-D6-I3CVi.js} +16 -16
- package/dist/assets/CustomerOnboardingNoStepsPage-g9MUens3-BHwD_Moa.js +66 -0
- package/dist/assets/{CustomerOnboardingPage-DyVyf8oK-qTGHLvSK.js → CustomerOnboardingPage-BMwDeAmg-Dk5C_vBC.js} +16 -16
- package/dist/assets/{CustomerOnboardingProductSuitePage-1F3JfCRp-DuMqzBOS.js → CustomerOnboardingProductSuitePage-cfTmZUUq-DFjdDHbL.js} +10 -10
- package/dist/assets/{Dashboard-Csggwob0-CyGCXOXS.js → Dashboard-CIMGd6vk-C9Y8AV96.js} +66 -66
- package/dist/assets/{DashboardReportPage-DFIdi_I0-BoysSy4a.js → DashboardReportPage-C4vCCh_n-BRXPWSt1.js} +22 -22
- package/dist/assets/DashboardSidebarBackgroundAnimation-DAlY419Q-DP9sfj2H.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-CZ7v1T4S-Btt7kuPp.js → DepositAccTransactionItem-BerAtS0--BKjebtYX.js} +6 -6
- package/dist/assets/{DepositAccTransactionListPage-FldPGX6K-BuhxBRx8.js → DepositAccTransactionListPage-CZ1vmnPr-B4TVnkzE.js} +6 -6
- package/dist/assets/{DomesticWireDetailsPage-C--eZ-UG-iiw5Chir.js → DomesticWireDetailsPage-E4qLX6pw-Bw3PSNwc.js} +2 -2
- package/dist/assets/{DownloadOverlay-4f9deyJS-BdBfaHAQ.js → DownloadOverlay-Boa6Fcbv-D-65-zcn.js} +26 -26
- package/dist/assets/{DrawerPage-roO3xvRT-XwvbAR8R.js → DrawerPage-Cb-dsS3c-DReTV4LX.js} +11 -11
- package/dist/assets/EditPeoplePage-CndPSw44-DxRcWXPA.js +55 -0
- package/dist/assets/EditReimbursementDetailPage-wT1IlD4U-Va_HPFVw.js +865 -0
- package/dist/assets/EntityDetailPage-BdsjHAh4-D2cQRotr.js +18 -0
- package/dist/assets/{EntitySummarySection-fBL4TZpT-DwG1Et7L.js → EntitySummarySection-BOEYtn_o-CPte8tJh.js} +32 -32
- package/dist/assets/{ExpenseAutomationOverviewPage-CnhNINCc-BWYSqjyt.js → ExpenseAutomationOverviewPage-DXZjyYrU-ShMVKnR0.js} +47 -47
- package/dist/assets/ExpenseAutomationPage-B8ptcdZd-BOgjzwCH.js +3001 -0
- package/dist/assets/{ExpressPayPage-c8oTCnBR-BO5E-s_t.js → ExpressPayPage-DitysgOF-CIeBsr4O.js} +19 -19
- package/dist/assets/{FeaturePreviewPage-DkiAajs2-CeQkBCBu.js → FeaturePreviewPage-G9whxotT-BiSE24Wc.js} +3 -3
- package/dist/assets/{FollowStepsSection-GaWu1kt9-BI3yZ8yb.js → FollowStepsSection-BERdmvvn-UqgRbJ9-.js} +44 -44
- package/dist/assets/GlobalReviewListPage-DXH3le_Z-jpZIGute.js +291 -0
- package/dist/assets/{InformationCardStack-dMFbHUWM-DZ5NgV9d.js → InformationCardStack-CXqr6wgh-ChZD3ssd.js} +6 -6
- package/dist/assets/{InsightsCardStack-BlXkyuyz-BYkM34Ig.js → InsightsCardStack-DHmkYfCM-wxboA7g4.js} +9 -9
- package/dist/assets/InsightsSection-o1r7-jTU-BEvpe3bJ.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-D-hfghuq-9CRnYKlL.js → IntegrationsSettingsPage-BngX4y9j-DAbz7zwm.js} +11 -11
- package/dist/assets/{InternationalWireSwiftDetailsPage-DxdKE300-DZZJSkkC.js → InternationalWireSwiftDetailsPage-B6OWKscw-Ami9wVCG.js} +20 -20
- package/dist/assets/InternationalWireVerificationPage-D-h205ua-C2Fi9WeW.js +65 -0
- package/dist/assets/{InviteFormPage-BCdalqtP-CheVg02u.js → InviteFormPage-Cpx6GKXE-BjzkKS1U.js} +21 -21
- package/dist/assets/{InvitePageListView-B88FW48q-BlNwjDCb.js → InvitePageListView-R9GI99rG-Lu6_t1J3.js} +63 -63
- package/dist/assets/InvitePeoplePage-nhoOZCwu-CevGBmSS.js +12 -0
- package/dist/assets/InvoiceUploadSection-IRD6N1t0-e8npmlKC.js +140 -0
- package/dist/assets/{IssueChargeCardPage-B6wmvbEr-BJuCdS5L.js → IssueChargeCardPage-ztNdugMI-ni4X5-nS.js} +18 -18
- package/dist/assets/{LabeledAddressValue-CQrDCgNs-BE2vwBEi.js → LabeledAddressValue-CTGbS3xZ-BV3lWB3L.js} +2 -2
- package/dist/assets/LabeledAddressValueField-BPAdd5QC-DJSlRcrD.js +45 -0
- package/dist/assets/LabeledControlledCheckBoxField-DlQqluVv-BVJ5kTmb.js +16 -0
- package/dist/assets/{LabeledCountryMultiSelectField-D1fVDYR_-X0msQxRV.js → LabeledCountryMultiSelectField-BQNPVmeO-w6euYfRf.js} +12 -12
- package/dist/assets/{LabeledCreatableSingleSelectField-Bhka-Faj-PIAOXuuF.js → LabeledCreatableSingleSelectField-BaooQYnP-CHclcBym.js} +8 -8
- package/dist/assets/LabeledDocumentField-13QPp-85-BBjOcC33.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-ChgtJqPr-DoauSiSH.js → LabeledDropDownFormattedTextField-BY230oMD-CrAT0eng.js} +7 -7
- package/dist/assets/LabeledText-DNr87c0J-DsOX7s5A.js +42 -0
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CZbyOdRR-Dxfcd1ix.js → LabeledUserSingleSelectWithSubtitlesField-C5jC6DTy-D9w1YJzr.js} +20 -20
- package/dist/assets/{LabeledZeniRolesDropDownField-CpH0eDWO-nc3j9OL8.js → LabeledZeniRolesDropDownField-cBcF5EGS-BkGlWFfU.js} +28 -28
- package/dist/assets/{LinkJETransactionPage-BhV2MnCY-2VFbWc8b.js → LinkJETransactionPage-KzSZJjAE-D1T5_exi.js} +16 -16
- package/dist/assets/{LockCardPage-CHv1xi2J-DERlEjt9.js → LockCardPage-_gavDDon-Blle7NDi.js} +217 -217
- package/dist/assets/{LowBalancePopup-Cb55PGLc-gAPp5TRy.js → LowBalancePopup-DLIUSW0S-B-zpTP7v.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-D9dtxxoU-CUE02Q_7.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-BakTLi7l-DD27DPrq.js +1 -0
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-Zo4oNZez-Ba4r75te.js → MagicLinkInternationalWireDetailsPage-BeRb8gxx-DwqfWI26.js} +1 -1
- package/dist/assets/MagicLinkSuccessPage-C_-bPKst-D0jsLGP2.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-BA-i6vzA-BK_4bD52.js → MagicLinkTitleSection-CL4kaSh4-CQQBDKMG.js} +5 -5
- package/dist/assets/MailingDetailsSection-DXKO0Y-W-Ds1E0EkO.js +21 -0
- package/dist/assets/{MyBankConnectionsSettingsPage-Aer6AWxY-BxNOJih2.js → MyBankConnectionsSettingsPage-BRZy0odC-BOBb3itW.js} +14 -14
- package/dist/assets/MyPendingActivationChargeCardListPage-CpKTrDUb-CccCbcXy.js +6 -0
- package/dist/assets/MyProfileSettingsPage-BblMMN2f-ckIUFFkd.js +85 -0
- package/dist/assets/NavBarWithPicker-DqS6nFbq-DgwLutRx.js +30 -0
- package/dist/assets/{NavigationArrow-kQWS5Pzb-BEUVzE31.js → NavigationArrow-DIFM2upZ-Dnb7czTw.js} +7 -7
- package/dist/assets/{NavigationDots-BQb_Fodq-DtOlofVb.js → NavigationDots-Db1I_vts-Bg46VZRN.js} +2 -2
- package/dist/assets/{NewGlobalMerchantPage-z86XZorn-DoavPLi0.js → NewGlobalMerchantPage-CC8HJjFw-HIuSKnJN.js} +40 -40
- package/dist/assets/NoDataChart-BpVOzQOW-DKnao5o4.js +26 -0
- package/dist/assets/{NoDataTable-DVe7sQhD-x5eVDn8H.js → NoDataTable-BfkONzLU--qJ2Vge1.js} +1 -1
- package/dist/assets/{NotFoundPage-B1XCmhSe-DRWfxKXj.js → NotFoundPage-DOlS4ELp-8diqNBZH.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-BaN20EGV-BGI1AOxL.js → NotificationSettingsPage-BdWAxlcA-FUERqOBl.js} +20 -20
- package/dist/assets/NotificationsListConfig-DEVHMfQH-Dgi-054y.js +1 -0
- package/dist/assets/NotificationsPage-DpnFQdLV-CIDAlFuB.js +685 -0
- package/dist/assets/OpExByVendorPage-CQxchyEe-CO-1QL4H.js +100 -0
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-DWwt3jvC.js → OverlayContainerPage-D4QU0p4o-B4ZkmBb9.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-CXtJhnA_-CX7CsCDy.js → PandLWithForecastPage-B3RkfhSi-Dsp_T8tg.js} +10 -10
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-Deb_ngk6-DGKyDmFS.js → PaymentAccountSetupBillingAddressSection-6eOH3fw_-DdzzCUgo.js} +16 -16
- package/dist/assets/PeoplePage-koDszqCP-CWui0d4h.js +727 -0
- package/dist/assets/{Preview-bUJ-afSX.js → Preview-yyD_tsB_.js} +1 -1
- package/dist/assets/{ProductsCarousel-ufZlh7Rx-BIDCk-h1.js → ProductsCarousel-DLd90FFJ-BgsIDisq.js} +7 -7
- package/dist/assets/{PromoBaseCards-D2UbhBhT-BSjHyOyw.js → PromoBaseCards-QcN1Q7jq-J94-Tlmy.js} +4 -4
- package/dist/assets/{QBOConnectionDialog-BrQ71F06-BH2ZV7vR.js → QBOConnectionDialog-CdkgNo4F-DpPxxrHx.js} +6 -6
- package/dist/assets/QBOSetupSection-DqsDS8kk-DVOL9KAa.js +79 -0
- package/dist/assets/ReimbursementApprovalRuleDetailPage-5hcvF_79--V70BOOS.js +32 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-CMpYn5y_-DhEhjlJP.js → ReimbursementApprovalRulesPage-D2S6QByB-BzvCV9yX.js} +13 -13
- package/dist/assets/ReimbursementDetailPage-DUzei4Rg-9uRBue4P.js +314 -0
- package/dist/assets/{ReimbursementPromoPage-DXTAY8c7-BNOZ_20N.js → ReimbursementPromoPage-GXdDXSVY-DHkphGMK.js} +32 -32
- package/dist/assets/{ReimbursementSetUpPage-KrGPXTCb-qu8Limvb.js → ReimbursementSetUpPage-CNWWhLUf-CNnBxBJq.js} +12 -12
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-C-1xyI7u-Bz3-f1Cr.js +1 -0
- package/dist/assets/{ReloadCard-vAhL7B8U-D7YWwAyL.js → ReloadCard-CKhoNNOP-CkJThvIh.js} +7 -7
- package/dist/assets/{ReportTableViewSelector-Y97ney3W-CvSSJ9ac.js → ReportTableViewSelector-BOX3zhPs-DuwxGH5U.js} +5 -5
- package/dist/assets/{ReportsPage-DKM0gVzR-DOSeE9yO.js → ReportsPage-CnYVgGpw-C9lM7ze2.js} +6 -6
- package/dist/assets/{RevenueChart-BEjDS1u4-BIqPjNsw.js → RevenueChart-BXDE5rdI-C91Sl-p2.js} +18 -18
- package/dist/assets/{ReviewDetailsPage-BlQLrN9z-Dca8kSzg.js → ReviewDetailsPage-Dsh7uv3t-BTN4xADy.js} +53 -53
- package/dist/assets/{ReviewOverlay-Bn3TFqfi-DPoyDHGn.js → ReviewOverlay-BL4VJPxb-D6vjuRhs.js} +9 -9
- package/dist/assets/RoleWithToolTip-BIBVAADS-DMOgVdZw.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BMkFjf9Y-TyHmMR8_.js → ScheduleDetailsFixedAssetsPage-Tx2QB7zA-BWh0cJz3.js} +13 -13
- package/dist/assets/{ScheduleDetailsPage-BP0wdtoP-B3l1fyxF.js → ScheduleDetailsPage-2-cPD7pl-BswK6aMa.js} +3 -3
- package/dist/assets/ScheduleSequenceTable-CffdpR_k-C5zU_dG9.js +324 -0
- package/dist/assets/{ScreenRoutes-Dkdo_QnR.js → ScreenRoutes-BdAMCIyo.js} +48 -48
- package/dist/assets/{SetUpAccountSection-CoVrSSYL-CtIuqnUK.js → SetUpAccountSection-Tadm9fSr-BLYLZVyR.js} +7 -7
- package/dist/assets/SignIn-CycvPOGI-yT6O4yeb.js +491 -0
- package/dist/assets/SignInScreen-DxWsWFRM.js +1 -0
- package/dist/assets/SpendManagementListViewPage-BPxaXJqk-DXMLFfi6.js +134 -0
- package/dist/assets/{SpendManagementPerTabPage-BWDjZyLp-C1eUKzso.js → SpendManagementPerTabPage-CalVz_KS-CFkJlE5z.js} +114 -114
- package/dist/assets/{SpendManagementSection-D8rBpC-y-Co0RTAvb.js → SpendManagementSection-CP-KDJ9X-Dxdtv7cA.js} +22 -22
- package/dist/assets/{StatementItem-Cu6dlAsl-DmauqRhg.js → StatementItem-BAgGJRW5-h7PpQoEN.js} +4 -4
- package/dist/assets/{StatementsPage-DiY2BOcu-ZhmXJvRa.js → StatementsPage-048VbBNB-CIAI8-Iv.js} +5 -5
- package/dist/assets/{StatusSwitcher-B9MARTyR-njYpaPcv.js → StatusSwitcher-DNe-TFW4-DzQawzTp.js} +4 -4
- package/dist/assets/{SubTabSwitcher-C3rtSwro-UHdU-bAk.js → SubTabSwitcher-CWofxHNl-pctfLicv.js} +2 -2
- package/dist/assets/SummaryCard-63rY1JXk-BoPHME_4.js +1 -0
- package/dist/assets/TaskManagementPage-sIeRkoyx-CqhyR_rs.js +508 -0
- package/dist/assets/{TimeRangeSwitcher-DFnX6_WT-DWIBGfP-.js → TimeRangeSwitcher-CYfi7lfO-C8IVJ8KX.js} +13 -13
- package/dist/assets/TimeframeSwitcher-B9NumYID-CA44AiEF.js +31 -0
- package/dist/assets/TimeframeSwitcherWithToggle-DJL42rcY-4fJfrmHh.js +31 -0
- package/dist/assets/{TopExCard-dI_WEGWb-C8zSoGB_.js → TopExCard-GHdLZwGT-BhuLE57u.js} +12 -12
- package/dist/assets/{TopExDetailPage-BWy5E8Lp-DECCdxzr.js → TopExDetailPage-CIlBZ2oX-BaF6_sM0.js} +13 -13
- package/dist/assets/TransactionActivityLogPage-C2Jr7QHc-SAiLB9JP.js +195 -0
- package/dist/assets/TransactionDetailPage-RfrmUngB-Dci0je89.js +903 -0
- package/dist/assets/TransactionList-4mJl7knT-DqG87PM9.js +153 -0
- package/dist/assets/{TransactionListBig-DWQXH4ID-DoEu9YAb.js → TransactionListBig-D-kOZVLs-B-ad9ErK.js} +20 -20
- package/dist/assets/TransactionListPage-BRF55dM4-DYeZNtak.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-CzfJ5b_3-Bq1jZ95u.js → TransactionVendorDetailPage-Bsk6E8Zm-7lohsHvf.js} +15 -15
- package/dist/assets/{TransferDrawerPage-6z-MoZZP-X9c2FbF1.js → TransferDrawerPage-CPUqGXjs-Cm1krXS2.js} +40 -40
- package/dist/assets/{TreasuryOverviewPage-CF_ter0o-BGvD7KcD.js → TreasuryOverviewPage-DfYRAHE1-CizOCyjr.js} +38 -38
- package/dist/assets/{TreasuryPromoPage-Do-PTcjI-BVsAh_s5.js → TreasuryPromoPage-F1X4qcwd-BHd14a_i.js} +24 -24
- package/dist/assets/TreasuryStatementsPage-CGbvRTgR-Dmch4a9K.js +58 -0
- package/dist/assets/{TreasuryTaxLetterPage-B8YxWytK-ClHOa93u.js → TreasuryTaxLetterPage-BMDJFFj--CncIwwwI.js} +3 -3
- package/dist/assets/{TrendChart-C6B61CAm-BUmkAB5E.js → TrendChart-DQwanU50-BV-_y5G5.js} +5 -5
- package/dist/assets/{TrendWithTransactions-Bp3vhaPa-DETWpy6t.js → TrendWithTransactions-Iz0QVdZP-CDHQCqNH.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-cbFqKAv4-DeCca6Ny.js → UncategorizedAccountsMappingPage-DDBZnuaT-D87xZWEc.js} +18 -18
- package/dist/assets/{UnitIntegrationPage-DZ0ZpE5p-DeiuATlr.js → UnitIntegrationPage-6gZ_g7Zz-DL7Eef_0.js} +5 -5
- package/dist/assets/UploadAdditionalDocumentOverlay-CcTFuMyK-D2kgY2Ed.js +38 -0
- package/dist/assets/Vendor2FAPopup-DnG7s1Ks-D9O6BUwp.js +1 -0
- package/dist/assets/VendorACHDetailsPage-CF8jFtK9-Bo23tOjB.js +1 -0
- package/dist/assets/{VendorDetailPage-C4g_Gfsl-BNNbSoIa.js → VendorDetailPage-D7zN9Vtl-BBAI0eRq.js} +89 -89
- package/dist/assets/VendorDomesticWireDetailsPage-BeqW1jo4-D9Dx30c9.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-Ckt2MiVN-e4TYQZVn.js → VendorFiling1099EditablePage-Rslpct1I-cPFmgRgW.js} +32 -32
- package/dist/assets/VendorFirstReviewPage-CGye9HoK-D-UUNB_d.js +730 -0
- package/dist/assets/{VendorInternationalWireDetailsPage-Dz8mMD8d-TCwuy6i-.js → VendorInternationalWireDetailsPage--CSkHPFy-DdqJlqoM.js} +17 -17
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-z04tKP7M-CcKSJMfU.js +1 -0
- package/dist/assets/{VendorsAccountsSection-BT-RADSV-Bve5DAMe.js → VendorsAccountsSection-ziR6oNlY-CZuH9lY0.js} +4 -4
- package/dist/assets/{VerifyDevice-Cxc9CVMi-DbObYdix.js → VerifyDevice-C-zisSaI-L64KEJ3l.js} +12 -12
- package/dist/assets/{VideoPlayer-9UkKMhGy-DADkPX-f.js → VideoPlayer-CQQljSJC-Ckm25ZkZ.js} +2 -2
- package/dist/assets/{VideoPopup-rfiYmtio-DF-tGFMP.js → VideoPopup-BgqoT4JJ-BIfkB45X.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-DrUA4asI-C6MUqBWp.js → WarningsDrawerPage-D5OicOK4-BvVf8AIm.js} +7 -7
- package/dist/assets/{ZeniAccountDetailPage-K016HgQt-wx5VYyBN.js → ZeniAccountDetailPage-C_lM66OT-G87IDGZW.js} +24 -24
- package/dist/assets/{ZeniAccountListViewPage-1oZZynB1-E-BTeqGP.js → ZeniAccountListViewPage-CQvrxw6f-CqVpV0PW.js} +17 -17
- package/dist/assets/{ZeniAccountNavBarPieces-C6Oicpue-a3nzNo79.js → ZeniAccountNavBarPieces-8VXHXUPK-CX9FAlJO.js} +3 -3
- package/dist/assets/{ZeniAccountPromoPage-BCgys-YM-CM9NQ_BO.js → ZeniAccountPromoPage-Cr-MnJVm-tTwQCBew.js} +24 -24
- package/dist/assets/ZeniAccountSetupPage-Bpqw-wqp-BvxvHEo0.js +36 -0
- package/dist/assets/ZeniCopyright-Hh9chHJi-RwVTsccT.js +1 -0
- package/dist/assets/ZeniTransferAmountSlider-sf0kghb5-n3R2asqM.js +63 -0
- package/dist/assets/{add-to-wallet-DgdBD8_G-DikzZE6B.js → add-to-wallet-DgdBD8_G-Db5fod9i.js} +1 -1
- package/dist/assets/{analytics-DYhmL7CM.js → analytics-CQziHS33.js} +30 -30
- package/dist/assets/{analyticsHelper-CT5zOInj-99CvxgyS.js → analyticsHelper-DQHFgahw-Cp99KaIG.js} +1 -1
- package/dist/assets/{analyticsHelper-DDXauk_Q.js → analyticsHelper-OLJ9to1y.js} +1 -1
- package/dist/assets/{arrow-south-east-round-PEovUgvH-8jWq8JIP.js → arrow-south-east-round-PEovUgvH-Cxk5-yTi.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-BQD13VLl.js → auto-transfer-rule-mbafm5D3-CNtOqhU-.js} +1 -1
- package/dist/assets/{chartTypes-Ddw_3-6f-HF5eETfQ.js → chartTypes-B53kfwdO-BhCsc3sU.js} +1 -1
- package/dist/assets/commonDimensions-Om-6fiMl-CN-97Hnw.js +1 -0
- package/dist/assets/{commonTypes-B-foaEwJ-DpfDV34V.js → commonTypes-DXJEXDhr-CsYzRDog.js} +1 -1
- package/dist/assets/{constants-mf68mEZJ.js → constants-Dg8hvPMb.js} +1 -1
- package/dist/assets/{core-D7HgM8n1.js → core-BPh6D8v5.js} +1 -1
- package/dist/assets/{dash.all.min-D8zACU7x.js → dash.all.min-Cz3Fm_5M.js} +1 -1
- package/dist/assets/{detailCommon-Cpgf9GLg-BeTL8M1q.js → detailCommon-ufPAtMvc-DhnVaCE8.js} +6 -6
- package/dist/assets/downloadPdf-sghpXX-r-hphDTF7O.js +1 -0
- package/dist/assets/{empty-NSIYiedq.js → empty-CwSMnfMr.js} +1 -1
- package/dist/assets/{empty-Y3MKkeNh.js → empty-DbW3pZ4D.js} +1 -1
- package/dist/assets/epic-Chew0UQN.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-CD4XSNN9.js → gift-box-Cmt9OgIZ--Zu0Eh-z.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-Cj1mbKoU.js → graphic-no-data-l-DU4J8fDt-CIZ3GcrY.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-DMlgtG13.js → graphic-no-data-net-burn-l-CzmycA0m-B95c8T1V.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-CDBh0ipY.js → handshake-BPg58FML-Dbohbn58.js} +1 -1
- package/dist/assets/{helper-DP3YY99s-DI38626F.js → helper-BBJS-iD4-DcHpxRaM.js} +3 -3
- package/dist/assets/{index-DCa8flZr.js → index-Bvx6EJi7.js} +1 -1
- package/dist/assets/{index-BB6TP51b.js → index-C8B9pQsQ.js} +1 -1
- package/dist/assets/{index-DTirxbyQ.js → index-CZZQCAd2.js} +4535 -4530
- package/dist/assets/{index-BUGp6bnR.js → index-Di5sPRAu.js} +1 -1
- package/dist/assets/{index-BDP43MqE.js → index-DrZJrwI9.js} +1 -1
- package/dist/assets/{index-Br79bjER.js → index-Dzi9AcqX.js} +1 -1
- package/dist/assets/{index-B1CF5cm3.js → index-dJzBovkm.js} +1 -1
- package/dist/assets/{lexical-BIyV8PdW.js → lexical-CO_PvSmH.js} +1 -1
- package/dist/assets/{liveblocks-DIuhFCxt.js → liveblocks-DYmELrdC.js} +1 -1
- package/dist/assets/{lottie-CoVTVb_w.js → lottie-BRpRA-Un.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-Wii9H08B-DMwkFEgt.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-QJI_OYzu-BY_qJXQo.js → mapSectionWithAcOnlyToTreeNode-9zuQ7sNi-Wfqd9hcz.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-BAzbdSwd-DpMVDymh.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-CtMEj9WJ-CRNATqeg.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-fbKpuzss-DR9K1lqX.js +1 -0
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-DIE9gcY0-BMQnsLW7.js +1 -0
- package/dist/assets/{mui-CUgxbbSv.js → mui-1V4DDk1u.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-CYodllrt.js → page-detail-CWX5S47F-B4o0uLRm.js} +1 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-DCdVDlSE.js +3 -0
- package/dist/assets/{radio-default-CiSgisfh-D5Swvnjv.js → radio-default-CiSgisfh-DveETCoH.js} +1 -1
- package/dist/assets/{react-DEm3GFrk.js → react-BGRZeN4_.js} +3 -3
- package/dist/assets/{react-DWqZUhoP.js → react-BfMx9RWN.js} +1 -1
- package/dist/assets/{react-C1Bx9mvH.js → react-BhKvphZC.js} +1 -1
- package/dist/assets/{react-BXfpyu7-.js → react-CTTbIL85.js} +1 -1
- package/dist/assets/{react-DPzCxJ9_.js → react-CwXZyl3z.js} +1 -1
- package/dist/assets/{react-CBTPpMQr.js → react-DAYLTVXK.js} +1 -1
- package/dist/assets/{react-DEF24OHG.js → react-DrvHBxOA.js} +1 -1
- package/dist/assets/{react-BUMR3Oqj.js → react-DvMoib_r.js} +2 -2
- package/dist/assets/{recharts-Cv8hlrkl.js → recharts-W_ILlOEk.js} +1 -1
- package/dist/assets/{sentry-DuRPstDP.js → sentry-KKNtqb_g.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-BuWXLRZa.js → shield-DOlUxcFf-DYMhAzvU.js} +1 -1
- package/dist/assets/toCOABalancesWithID-shajGRBP-BsWBm72Q.js +1 -0
- package/dist/assets/toChartData-DJeOVqss-Ckap6Mgt.js +1 -0
- package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-DHlUSExT.js +1 -0
- package/dist/assets/{uploadAttachment-DUpHzqMe-BV5nx0ZT.js → uploadAttachment-BjSr5jfA-5o3rK0wU.js} +19 -19
- package/dist/assets/uploadReceipts-Dge0cNF1-BxDjc4Mk.js +1 -0
- package/dist/assets/{url-P-v-bynO.js → url-BOcnt56d.js} +1 -1
- package/dist/assets/{url-CucjwMCN.js → url-DpR8Zh5r.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-CK2T-95t.js → useLongPress-GCK2COYQ-BWV9Umwr.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-Du-iFEZV.js → usp-line-BBd1wKwW-DkxZf2LY.js} +1 -1
- package/dist/assets/{utils-DiiaN_Gy.js → utils-DuPmVt2f.js} +1 -1
- package/dist/assets/{zeni-epic-state-DfBiKLGZ.js → zeni-epic-state-BIDncbwZ.js} +34 -34
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-D2Xav-UW-S35Uhoxw.js +0 -21
- package/dist/assets/AccountInfoPage-B8-8kUGD-Dn2GAcNI.js +0 -18
- package/dist/assets/AccountRow-BiEYR4Y1-BYraCT3U.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-DTnfk8K7-CSPtYmJ3.js +0 -6
- package/dist/assets/ApAgingDetailPage-BRYQMwo2-BLS80uGo.js +0 -46
- package/dist/assets/ApprovalRulesSettingsPage-5MYC1I6k-B_-ue4-L.js +0 -47
- package/dist/assets/ArAgingDetailPage-DwRkcLEu-CyeLsbpX.js +0 -46
- package/dist/assets/BillDetailPage-D0NLFZXA-C0lmLs0O.js +0 -266
- package/dist/assets/BillPayPromoPage-BMcP4EU5-CGhF2c_7.js +0 -84
- package/dist/assets/BillingSettingsPage-GtRUqSZm-DYu87yXp.js +0 -44
- package/dist/assets/BillsBulkReviewDrawerPage-DAUoo9pq-DaWpx5HK.js +0 -1
- package/dist/assets/BusinessVerificationPage-9gZbBDL6-k_B2yV-X.js +0 -138
- package/dist/assets/ChargeCardPromoPage-C4cgx2gm-D_Yc06ky.js +0 -222
- package/dist/assets/ConfettiBurst-CdB5fRMt-B7nj3Nyc.js +0 -1
- package/dist/assets/CurrencySelectField-BDqU4HVy-2khO8cFF.js +0 -139
- package/dist/assets/CustomerOnboardingActivationPage-DO6NCakm-AEOEu5XD.js +0 -88
- package/dist/assets/CustomerOnboardingContainerPage-CckCX7Vt-DBrhwTVX.js +0 -1
- package/dist/assets/CustomerOnboardingNoStepsPage-CbG5WshV-DAGPqB92.js +0 -66
- package/dist/assets/DashboardSidebarBackgroundAnimation-C3Ovv-ob-4-suD4NX.js +0 -12
- package/dist/assets/EditPeoplePage-pi5RclAj-BM2zxscy.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-CIUcImns-BxmdhEQa.js +0 -865
- package/dist/assets/EntityDetailPage-OTKTVNMD-hGdzRif2.js +0 -18
- package/dist/assets/ExpenseAutomationPage-BDLCJbFw-BzgpYsoD.js +0 -1703
- package/dist/assets/GlobalReviewListPage-DEzj0RVG-OABkNmc3.js +0 -291
- package/dist/assets/InsightsSection-D-oCmrir-CD7SS_Wx.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-CkSmhOrS-UEYqwZ-4.js +0 -65
- package/dist/assets/InvitePeoplePage-Z-2L7lWc-CTYR92-E.js +0 -12
- package/dist/assets/InvoiceUploadSection-C8hytmay-CkdGw_XE.js +0 -140
- package/dist/assets/LabeledAddressValueField-BoHS44YO-GpChwVD3.js +0 -45
- package/dist/assets/LabeledControlledCheckBoxField-BsFqjCpn-DbSKF3Eo.js +0 -16
- package/dist/assets/LabeledDocumentField-CnRk5aKZ-CP7eylom.js +0 -41
- package/dist/assets/LabeledText-2EDpuXZ4-C8KbdmSn.js +0 -42
- package/dist/assets/MagicLinkACHDetailsPage-Dnp01hnF-MnmyVJLu.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-B36rsikS-BiwQJWMK.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-09NLbjFG-BOQ43guP.js +0 -31
- package/dist/assets/MailingDetailsSection-EwtoQ2TZ-BkNjZheA.js +0 -21
- package/dist/assets/MyPendingActivationChargeCardListPage-Ddy4bAEY-CbDHJT6Y.js +0 -6
- package/dist/assets/MyProfileSettingsPage-DMz-6h9F-CFSERtJI.js +0 -85
- package/dist/assets/NavBarWithPicker-D8WNahg--DUG3-gGB.js +0 -30
- package/dist/assets/NoDataChart-CyYJ6icu-DPPKQloI.js +0 -26
- package/dist/assets/NotificationsListConfig-BOW_TmPC-gVlD4if6.js +0 -1
- package/dist/assets/NotificationsPage-C9efAgjo-BbYISYVW.js +0 -685
- package/dist/assets/OpExByVendorPage-DXeBU3-z-CtYWzGKb.js +0 -100
- package/dist/assets/PeoplePage-DXC2CtOt-CfYJLjB6.js +0 -675
- package/dist/assets/QBOSetupSection-EOFscEW--DnT8IFo9.js +0 -79
- package/dist/assets/ReimbursementApprovalRuleDetailPage-C-HPI4Ng-BKRiZPcc.js +0 -32
- package/dist/assets/ReimbursementDetailPage-CfmICHZb-EfH6pB2u.js +0 -314
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-l2mYNEKn-DBc7kt2f.js +0 -1
- package/dist/assets/RoleWithToolTip-DhBFvJea-B8n0jz5Q.js +0 -22
- package/dist/assets/ScheduleSequenceTable-D-rZ4ftr-NNixAuqw.js +0 -324
- package/dist/assets/SignIn-BoAejo7r-BtV3Ttcw.js +0 -491
- package/dist/assets/SignInScreen-DsBeFXpf.js +0 -1
- package/dist/assets/SpendManagementListViewPage-D3eISFuA-BH8cRQWr.js +0 -134
- package/dist/assets/SummaryCard-CShVbqhj-BLj7j0_e.js +0 -1
- package/dist/assets/TaskManagementPage-RVS8nv0n-uCuNXBz9.js +0 -508
- package/dist/assets/TimeframeSwitcher-CW08yYgo-Bs-pmnzg.js +0 -31
- package/dist/assets/TimeframeSwitcherWithToggle-DJOCWqpZ-BFZ7bLWL.js +0 -31
- package/dist/assets/TransactionActivityLogPage-DjhEIUYm-PWZNzXJ2.js +0 -195
- package/dist/assets/TransactionDetailPage-CuxqQd8U-BuHJVoXs.js +0 -903
- package/dist/assets/TransactionList-80KjM8Kg-CevujtV6.js +0 -153
- package/dist/assets/TransactionListPage-DC08rCC9-Clz1psGf.js +0 -35
- package/dist/assets/TreasuryStatementsPage-l_HC4zsb-BqffJxCU.js +0 -58
- package/dist/assets/UploadAdditionalDocumentOverlay-BKY6hK51-CydYggee.js +0 -38
- package/dist/assets/Vendor2FAPopup-DezpDfp8-DiVrYh3K.js +0 -1
- package/dist/assets/VendorACHDetailsPage-C8TWKYfc-Becdxrwt.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-BhJQ-Vmn-eHvavwdw.js +0 -1
- package/dist/assets/VendorFirstReviewPage-CIKRaTax-BN07guXv.js +0 -730
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-XcV7Ot44-CPyZywKh.js +0 -1
- package/dist/assets/ZeniAccountSetupPage-BubBgkoa-Duwi7djt.js +0 -36
- package/dist/assets/ZeniCopyright-BxIwmms--Doa5lp53.js +0 -1
- package/dist/assets/ZeniTransferAmountSlider-DVJ0puXA-2P0ZBWZ7.js +0 -63
- package/dist/assets/commonDimensions-ClmbdehE-aq41ZcdE.js +0 -1
- package/dist/assets/downloadPdf-DfRYmfsd-v-LOP3Jl.js +0 -1
- package/dist/assets/epic-CeNkV6CJ.js +0 -2
- package/dist/assets/mapLoadingInProgressToTreeNode-C0YIUOnb-CM3HanTy.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-DKDsz0vw-DacYuJs2.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DqDJAeAj-D7B8Pylg.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-J3b1nb_T-D59tSp4H.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-Dg4cktKO-BNoQeOGL.js +0 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-COBjrU2Y.js +0 -4
- package/dist/assets/toCOABalancesWithID-AzKAZ-Cv-BFfmnf7p.js +0 -1
- package/dist/assets/toChartData-BEjMhb7--D2HEmA7d.js +0 -1
- package/dist/assets/uploadReceipts-Dge0cNF1-D2wqfNY0.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{a9 as ze,ay as Re,J as H,y as _,V as t,bE as Ie,w as I,gb as Te,b as T,u as l,o as i,x,jt as De,cf as Oe,ju as X,ac as B,b5 as Be,cw as Ae,i$ as Me,bQ as Ne,aV as He,an as W,dy as j,h4 as Z,aQ as K,bV as We,cy as Ee,bT as Ve,ao as N,cC as J,p as $,h5 as pe,fV as me,fR as ge,ck as Ke,ak as F,iQ as ue,bO as _e,jv as Fe,j7 as Ye,cF as Ue,aX as z,j8 as Ze,j9 as Qe}from"./index-CZZQCAd2.js";import{a as S,P as Q}from"./sentry-KKNtqb_g.js";import{n,c as q}from"./mui-1V4DDk1u.js";import{t as Ge}from"./SpendManagementSection-CP-KDJ9X-Dxdtv7cA.js";import{r as Xe,a as Je,i as ye,g as qe}from"./SpendManagementListViewPage-BPxaXJqk-DXMLFfi6.js";import{ck as xe,GY as fe}from"./zeni-epic-state-BIDncbwZ.js";import{r as et}from"./auto-transfer-rule-mbafm5D3-CNtOqhU-.js";import"./liveblocks-DYmELrdC.js";import"./core-BPh6D8v5.js";import"./recharts-W_ILlOEk.js";import"./lottie-BRpRA-Un.js";import"./analytics-CQziHS33.js";import"./lexical-CO_PvSmH.js";import"./utils-DuPmVt2f.js";import"./StatusSwitcher-DNe-TFW4-DzQawzTp.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]="c2d6f8fd-d6cf-4bc6-883b-a2f0ecfc8cf3",e._sentryDebugIdIdentifier="sentry-dbid-c2d6f8fd-d6cf-4bc6-883b-a2f0ecfc8cf3")}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(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":B("mobile-payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(N,{children:h.value}),t.jsx(ee,{windowSize:r,sortDataValue:o.sortKey,headerdata:h,children:t.jsx(te,{windowSize:r,children:t.jsx(J,{})})})]})]}):t.jsx(dt,{windowSize:r,children:t.jsx(lt,{children:d.map(s=>s.width.value(r)!==0&&t.jsxs(ht,{companyNameSticky:e,sortDataValue:o.sortKey,actualDataValue:s.key,wrapperWidth:s.width,windowSize:r,children:[t.jsxs(xt,{onClick:()=>y(s.key,s.sortOrder),"data-testid":B("payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(N,{children:s.value}),t.jsx(ee,{windowSize:r,sortDataValue:o.sortKey,headerdata:s,children:t.jsx(te,{windowSize:r,children:t.jsx(J,{})})})]}),t.jsx(yt,{sortDataValue:o.sortKey,windowSize:r,isVisible:o.sortKey===s.key&&!(o.sortKey==="paymentDate"&&o.sortOrder==="ascending"),children:t.jsx(pt,{onClick:()=>y("paymentDate","ascending"),"data-testid":B("payment-history-list-sort-cancel",o.sortKey)})})]},s.key))})})}const rt=Q.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{a8 as ze,aw as Re,J as H,d as _,V as t,bD as Ie,b as I,g9 as Te,F as T,u
|
|
|
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;
|
|
@@ -46,7 +46,7 @@ import{a8 as ze,aw as Re,J as H,d as _,V as t,bD as Ie,b as I,g9 as Te,F as T,u
|
|
|
46
46
|
overflow: hidden;
|
|
47
47
|
padding-left: ${i.sp3};
|
|
48
48
|
padding-right: ${e=>e.actualDataValue==="amount"?i.sp2:i.sp3};
|
|
49
|
-
`,pt=n(
|
|
49
|
+
`,pt=n(Ue)`
|
|
50
50
|
width: ${i.sp3};
|
|
51
51
|
height: ${i.sp3};
|
|
52
52
|
cursor: pointer;
|
|
@@ -67,7 +67,7 @@ import{a8 as ze,aw as Re,J as H,d as _,V as t,bD as Ie,b as I,g9 as Te,F as T,u
|
|
|
67
67
|
gap: ${i.sp1};
|
|
68
68
|
display: flex;
|
|
69
69
|
color: ${e=>e.theme.colors.hero};
|
|
70
|
-
`,gt=n(
|
|
70
|
+
`,gt=n(Ye)`
|
|
71
71
|
width: ${i.sp3};
|
|
72
72
|
height: ${i.sp3};
|
|
73
73
|
color: inherit;
|
|
@@ -86,12 +86,12 @@ import{a8 as ze,aw as Re,J as H,d as _,V as t,bD as Ie,b as I,g9 as Te,F as T,u
|
|
|
86
86
|
&:hover {
|
|
87
87
|
color: ${e=>e.theme.colors.primary};
|
|
88
88
|
}
|
|
89
|
-
`,
|
|
89
|
+
`,ft=n.div`
|
|
90
90
|
display: flex;
|
|
91
91
|
cursor: pointer;
|
|
92
92
|
gap: 5px;
|
|
93
93
|
color: ${e=>e.theme.colors.primary};
|
|
94
|
-
`,
|
|
94
|
+
`,O={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(U=>{U.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",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(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: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:Z(0)})}):y==="paymentAccount"&&g!==void 0&&(g.base64||g.url)?t.jsx(Ot,{src:wt(g),loading:"lazy"}):t.jsx(Tt,{children:t.jsx(Dt,{})})})}),t.jsx(Bt,{children:t.jsx(j,{isLoading:a,customStyle:{width:"150px",height:"20px",borderRadius:i.sp1},children:p!=null&&p!==""?t.jsxs(ne,{className:"sourceAccount",children:[t.jsx(At,{children:p}),h!=null&&h!==""&&t.jsx(Mt,{children:`•••• ${h}`})]}):t.jsx(ne,{className:"sourceAccount",children:C})})})]}),t.jsx(Nt,{windowSize:u,isLoading:a,responsiveWidth: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":B("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(Kt,{children:t.jsx(_t,{})}):t.jsx(Ft,{children:t.jsx(Ee,{personBasic:e.paidByUser,styles:{height:i.sp4,width:i.sp4,minWidth:i.sp4}})})}),t.jsx(j,{isLoading:a,customStyle:{width:"80px",height:"20px",borderRadius:i.sp1,marginLeft:i.sp2},children:t.jsx(Yt,{className:"initiatedBy",children:R})})]}),t.jsx(Ut,{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:K("0,0.00",e.amount),children:K("0,0.00",e.amount)})})})]})})})},vt=({status:e,style:o})=>{const c=_(),a=jt(e,c),r=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,J as H,d as _,V as t,bD as Ie,b as I,g9 as Te,F as T,u
|
|
|
99
99
|
`,St=n.div`
|
|
100
100
|
display: flex;
|
|
101
101
|
background-color: ${e=>e.theme.colors.grey5};
|
|
102
|
-
padding-left: ${e=>
|
|
103
|
-
padding-right: ${e=>
|
|
104
|
-
padding-top: ${e=>
|
|
105
|
-
padding-bottom: ${e=>
|
|
102
|
+
padding-left: ${e=>O.containerPaddingLeft.valuePx(e.windowSize)};
|
|
103
|
+
padding-right: ${e=>O.containerPaddingRight.valuePx(e.windowSize)};
|
|
104
|
+
padding-top: ${e=>O.containerPaddingTop.valuePx(e.windowSize)};
|
|
105
|
+
padding-bottom: ${e=>O.containerPaddingBottom.valuePx(e.windowSize)};
|
|
106
106
|
border: ${e=>`1px solid ${e.theme.colors.grey3}`};
|
|
107
107
|
box-shadow: ${e=>e.theme.mode==="dark"?$.Elevation1Dark:$.Elevation1Light};
|
|
108
108
|
border-radius: ${i.sp2};
|
|
@@ -119,20 +119,20 @@ import{a8 as ze,aw as Re,J as H,d as _,V as t,bD as Ie,b as I,g9 as Te,F as T,u
|
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
margin-right: ${e=>
|
|
123
|
-
margin-left: ${e=>
|
|
122
|
+
margin-right: ${e=>O.containerMarginLeft.valuePx(e.windowSize)};
|
|
123
|
+
margin-left: ${e=>O.containerMarginRight.valuePx(e.windowSize)};
|
|
124
124
|
margin-bottom: ${i.sp3};
|
|
125
125
|
box-sizing: border-box;
|
|
126
126
|
align-items: center;
|
|
127
127
|
`,Ct=n.div`
|
|
128
128
|
display: block;
|
|
129
129
|
width: 100%;
|
|
130
|
-
`,
|
|
130
|
+
`,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};
|
|
@@ -180,7 +180,7 @@ import{a8 as ze,aw as Re,J as H,d as _,V as t,bD as Ie,b as I,g9 as Te,F as T,u
|
|
|
180
180
|
min-width: inherit;
|
|
181
181
|
width: ${i.sp4};
|
|
182
182
|
height: ${i.sp4};
|
|
183
|
-
`,
|
|
183
|
+
`,Ot=n.img`
|
|
184
184
|
display: flex;
|
|
185
185
|
width: ${i.sp4};
|
|
186
186
|
height: ${i.sp4};
|
|
@@ -198,7 +198,7 @@ import{a8 as ze,aw as Re,J as H,d as _,V as t,bD as Ie,b as I,g9 as Te,F as T,u
|
|
|
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;
|
|
@@ -271,13 +271,13 @@ import{a8 as ze,aw as Re,J as H,d as _,V as t,bD as Ie,b as I,g9 as Te,F as T,u
|
|
|
271
271
|
height: ${i.sp4};
|
|
272
272
|
border-radius: 50%;
|
|
273
273
|
background-color: ${e=>e.theme.colors.grey3};
|
|
274
|
-
`,
|
|
274
|
+
`,Yt=n(W)`
|
|
275
275
|
color: ${e=>e.theme.colors.hero};
|
|
276
276
|
max-width: 100%;
|
|
277
277
|
overflow: hidden;
|
|
278
278
|
text-overflow: ellipsis;
|
|
279
279
|
white-space: nowrap;
|
|
280
|
-
`,
|
|
280
|
+
`,Ut=n.div`
|
|
281
281
|
display: flex;
|
|
282
282
|
align-items: center;
|
|
283
283
|
justify-content: flex-end;
|
|
@@ -285,13 +285,13 @@ import{a8 as ze,aw as Re,J as H,d as _,V as t,bD as Ie,b as I,g9 as Te,F as T,u
|
|
|
285
285
|
padding-right: ${i.sp2};
|
|
286
286
|
width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
|
|
287
287
|
box-sizing: border-box;
|
|
288
|
-
`,
|
|
288
|
+
`,Zt=n(W)`
|
|
289
289
|
color: ${e=>e.theme.colors.hero};
|
|
290
290
|
max-width: 100%;
|
|
291
291
|
overflow: hidden;
|
|
292
292
|
text-overflow: ellipsis;
|
|
293
293
|
white-space: nowrap;
|
|
294
|
-
`,
|
|
294
|
+
`,Qt=n.div`
|
|
295
295
|
display: flex;
|
|
296
296
|
flex-direction: column;
|
|
297
297
|
gap: ${i.sp1};
|
|
@@ -304,7 +304,7 @@ import{a8 as ze,aw as Re,J as H,d as _,V as t,bD as Ie,b as I,g9 as Te,F as T,u
|
|
|
304
304
|
color: ${e=>e.theme.colors.hero};
|
|
305
305
|
`,se=n(F)`
|
|
306
306
|
color: ${$.brandColorPearl};
|
|
307
|
-
`,Gt=new z(
|
|
307
|
+
`,Gt=new z(Z(0)).lighten(.3).hex(),{spendManagement:{chargeCard:{paymentHistory:M}}}=T.getLocalizedStrings(),Xt=e=>e.base64!==void 0?`${me}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Jt=({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:Z(0)})}):y==="paymentAccount"&&g!==void 0&&(g.base64||g.url)?t.jsx(li,{src:Xt(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:K("0,0.[00]",e.amount),children:K("0,0.[00]",e.amount)})})}),t.jsx(Si,{children:t.jsx(j,{isLoading:a,customStyle:{width:"120px",height:i.sp4,borderRadius:i.sp1},children:t.jsx(Ci,{children:t.jsx(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":B("retry-payment",e.cardRepaymentId),children:M.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};
|
|
@@ -418,12 +418,12 @@ import{a8 as ze,aw as Re,J as H,d as _,V as t,bD as Ie,b as I,g9 as Te,F as T,u
|
|
|
418
418
|
white-space: nowrap;
|
|
419
419
|
`,xi=n.span`
|
|
420
420
|
color: ${e=>e.theme.colors.hero};
|
|
421
|
-
`,
|
|
421
|
+
`,fi=n.div`
|
|
422
422
|
display: flex;
|
|
423
423
|
align-items: center;
|
|
424
424
|
position: relative;
|
|
425
425
|
top: -2px;
|
|
426
|
-
`,
|
|
426
|
+
`,wi=n(N)`
|
|
427
427
|
color: ${e=>e.theme.colors.hero};
|
|
428
428
|
max-width: 100%;
|
|
429
429
|
overflow: hidden;
|
|
@@ -461,7 +461,7 @@ import{a8 as ze,aw as Re,J as H,d as _,V as t,bD as Ie,b as I,g9 as Te,F as T,u
|
|
|
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{a8 as ze,aw as Re,J as H,d as _,V as t,bD as Ie,b as I,g9 as Te,F as T,u
|
|
|
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{a8 as ze,aw as Re,J as H,d as _,V as t,bD as Ie,b as I,g9 as Te,F as T,u
|
|
|
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,Oi=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:X,[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":B("payment-history-list-reload"),children:t.jsx(Ei,{})}),t.jsx(Vi,{children:Ii.reloadPage.label})]}):e==="Completed"&&o.length===0?t.jsx(Fi,{children:t.jsx(Yi,{children:a!==""?re.paymentHistory.noPaymentHistoryMatchedSearch:re.paymentHistory.noPaymentHistoryAvailable})}):t.jsx(je,{children:t.jsx(Ki,{windowSize:h,availableHeight:b,isListTooLarge:s,children:t.jsx(Be,{children:({height:v,width:w})=>t.jsx(Ae,{ref:m,height:v,itemCount:o.length+1,innerElementType:ve,itemSize:p,estimatedItemSize:X,itemKey:f=>f===0?"header":o[f-1].repayment.cardRepaymentId,width:w,overscanCount:Me,initialScrollOffset:0,children:f=>t.jsx(Bi,{...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 Bi=({index:e,style:o,repaymentListWithAccountInfo:c,sortConfig:a,isZeniTenant:r,onColumnSortConfigChanged:d,onRetryPaymentClick:g})=>{const y=H(),h=e===0,p=h?null:c[e-1],u=p?.repayment??null,b=p?.accountInfo,s=S.useMemo(()=>{if(c.length===0)return null;const 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"?Jt:$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})=>(Oe({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=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,J as H,d as _,V as t,bD as Ie,b as I,g9 as Te,F as T,u
|
|
|
513
513
|
color: ${e=>e.theme.colors.hero};
|
|
514
514
|
`,Ki=n.div`
|
|
515
515
|
position: sticky;
|
|
516
|
-
height: ${e=>e.isListTooLarge||e.windowSize==="small"?`calc(100vh - ${
|
|
516
|
+
height: ${e=>e.isListTooLarge||e.windowSize==="small"?`calc(100vh - ${Oi}px)`:`${e.availableHeight}px`};
|
|
517
517
|
max-width: 99.9%;
|
|
518
518
|
${({isListTooLarge:e,windowSize:o})=>(e||o==="small")&&`
|
|
519
519
|
.spend-management-list-item:last-of-type {
|
|
@@ -548,16 +548,16 @@ import{a8 as ze,aw as Re,J as H,d as _,V as t,bD as Ie,b as I,g9 as Te,F as T,u
|
|
|
548
548
|
flex-direction: row;
|
|
549
549
|
justify-content: center;
|
|
550
550
|
align-items: flex-end;
|
|
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:
|
|
554
|
+
`,ce={contentContainerMargin:new x(l[3],l[4],l[8])},{spendManagement:{chargeCard:{paymentHistory:he}},common:Ui}=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=H(),U=_(),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=>{Y(L)},Ce={entity:"charge_card_payment_history",showNewButtonOnNavbar:!1,showEntityEmailInfoIconOnNavbar:!1,newButtonLabel:Ui.strings.empty,hideSearchBtn:!1,disableSearch:G,disableFilters:G,searchTextBoxStyle:{right:"86px"},moreIconContainerStyle:{paddingRight:l[4]},isSearchOpen:V,searchPlaceHolder:he.searchPlaceHolder,searchText:r,showSettingsIcon:!1,showSettingsIconOnNavbar:!1,showStatementButtonOnNavbar:!1,showPayEarlyButtonOnNavbar:!1,showDownloadButtonOnNavbar:!1,showDownloadIcon:!0,onDownloadClick:async()=>{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:()=>Je("charge_card_payment_history",h,D.loggedInUserRole??[],[],a),renderDropdownOptionIcon:Xe},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:V,hideSearchBtn:!1,scrollableContent:void 0,source:"ChargeCardPaymentHistoryPage",backgroundColor:U.colors.grey4}),o==="Not-Started"||o==="In-Progress"?t.jsx(Te,{fetchState:o,styles:{margin:"auto"}}):t.jsx(Qi,{windowSize:k,children:t.jsx(Mi,{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%;
|
|
558
558
|
height: 100vh;
|
|
559
559
|
overflow: auto;
|
|
560
|
-
`,
|
|
560
|
+
`,Qi=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{J as $,V as r,y as O,ay as ye,a9 as $e,aS as je,aQ as Se,fZ as Te,bE as ve,fy as ze,a as Y,ac as ee,b as oe,o as t,e as Pe,h as G,cG as ke,as as Ae,x as u,ar as Ie,bV as Be,iU as Le,ak as Re,u as p,c as S,p as b,bc as _e,aW as Me,iV as Ee}from"./index-CZZQCAd2.js";import{a as T}from"./sentry-KKNtqb_g.js";import{n,c as De,k as Fe}from"./mui-1V4DDk1u.js";import{Fw as Ue}from"./zeni-epic-state-BIDncbwZ.js";import{k as Ne}from"./NavigationDots-Db1I_vts-Bg46VZRN.js";import{J as V,N as H}from"./PromoBaseCards-QcN1Q7jq-J94-Tlmy.js";import{M as R}from"./usp-line-BBd1wKwW-DkxZf2LY.js";import"./liveblocks-DYmELrdC.js";import"./core-BPh6D8v5.js";import"./recharts-W_ILlOEk.js";import"./lottie-BRpRA-Un.js";import"./analytics-CQziHS33.js";import"./lexical-CO_PvSmH.js";import"./utils-DuPmVt2f.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]="fcf448ec-5fe5-4603-b1c8-8b270fbf250f",e._sentryDebugIdIdentifier="sentry-dbid-fcf448ec-5fe5-4603-b1c8-8b270fbf250f")}catch{}})();const g={containerPaddingTopBottom:new u(p[0],p[0]),uspContainerMarginX:new u(p[6],p[0]),midContainerGap:new u(p[4],84),iconContainerMinHeight:new u(236,396),emptySectionHeight:new u(p[6],43),navigationBottom:new u(p[4],94),navigationLeft:new u(192,244),carouselHeight:new u(268,396),carouselMarginTop:new u(54,p[4]),carouselMarginLeft:new u(120,p[12]),buttonTrayGap:new u(p[3],p[5]),termsOfAgreementMarginTop:new u(p[5],p[10]),contactAdminContainerMarginTop:new u(p[0],p[10]),contactAdminContainerMarginBottom:new u(p[4],p[0]),contactAdminContainerMarginLeftRight:new u(p[3],p[0])},v={promoBadgeText:new S("standardRegular","largeRegular"),promoBadgeTextBold:new S("standardBold","largeBold"),cardsContent:new S("extraSmallRegular","smallRegular"),contactAdmin:new S("extraSmallRegular","largeRegular"),uspText:new S("smallRegular","standardRegular"),uspBoldText:new S("smallMedium","standardMedium")},{common:U,spendManagement:{chargeCard:{chargeCardsPromo:o}}}=oe.getLocalizedStrings(),_r=({meetingUrl:e,companyLegalName:s,chargeCardSetupView:i,showEnableCardButton:a,controllerEmails:c,isCreditCardProductVisible:m,isDebitCardFeatureEnabled:h,isDebitCardSetupEnabled:x,isChargeCardSetupEnabled:w,admins:j,cashbackRate:P,cardPromoType:f="credit",isCheckingEnabled:l,onSetupButtonClick:d,onBackClick:pe,onClickMenuIcon:me,onSetupChargeCardSuccess:J,onExpressInterestClick:ge})=>{const he=O(),W=ye(),z=$(),Z=$e().analytics,{chargeCardTermsDetails:_,companyChargeCardInfo:C,companyLocaleInfo:M}=i,X=je(_?.fetchStatus.fetchState),[ue,Q]=T.useState(!1),xe=()=>{Z.trackCardsPromoPageClicked("schedule demo"),Z.trackCardsScheduleDemoClick(c,{isCreditCardOffered:m,isDebitCardOffered:h,isDebitCardEnabled:x,isCreditCardEnabled:w},"Cards Promo"),Q(!0)},we=C!=null&&M!=null?Se("0,0",{amount:C.chargeCardsCreditAccountLimit,currencyCode:M.currencyCode,currencySymbol:M.currencySymbol}):void 0;T.useEffect(()=>{X==="In-Progress"&&_?.fetchStatus.fetchState==="Completed"&&J()},[X,J,_?.fetchStatus]);const q=Ue(W.loggedInUserRoleMap),fe=Te(W),E=f==="credit"&&C?.isCompanyInterestedInChargeCard===!1&&C.chargeCardsCreditAccountLimit===0,D=f==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===-1,F=f==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===0,Ce=f==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit>0,{expressInterestInChargeCardFetchState:be}=i,K=E?o.getPreApprovedNow:a?o.enableCardsButton:o.setupCardsButton;return r.jsxs(We,{children:[r.jsx(ve,{title:o.title[f],backgroundColor:he.colors.grey4,onBackClick:pe,showBackButton:!0,showMenuIcon:z==="medium-compact"||z==="small",onClickMenuIcon:me,style:{zIndex:9},source:"ChargeCardPromoPage"}),ue===!0?r.jsx(ze,{onCancelClick:()=>{Q(!1)},meetingUrl:e}):null,r.jsx(qe,{windowSize:z,children:q===!0?r.jsxs(Qe,{children:[r.jsxs(Xe,{children:[r.jsx(He,{isApproved:Ce,creditAmount:we,cardPromoType:f,isUnderReview:F,isRejected:D,showExpressInterest:E,creditLimit:C?.chargeCardsCreditAccountLimit}),r.jsx(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:z,children:[r.jsx(Y,{variant:"secondary",label:o.scheduleDemoButton,style:{width:166},onClick:xe,"data-testid":ee("schedule-demo-button")}),r.jsx(Ze,{windowSize:z,children:o.orText}),r.jsx(Y,{variant:"primary",label:K,style:{minWidth:166},loading:i.chargeCardTermsDetails?.fetchStatus.fetchState==="In-Progress"||be==="In-Progress",onClick:K===o.getPreApprovedNow?ge:()=>d(f),"data-testid":ee("enable-card-button")})]}):null]})},Ve=({admins:e})=>{const s=e.flatMap(a=>a.user?.firstName+" "+a.user?.lastName).join(", "),i=$();return r.jsxs(mr,{windowSize:i,children:[r.jsx(N,{underline:!1,windowSize:i,children:o.noCardAssigned.pre}),r.jsx(Be,{title:s,placement:"top-start",style:{padding:`2px ${t.sp2}`},children:r.jsx(N,{underline:!0,windowSize:i,children:o.noCardAssigned.tooltip})}),r.jsx(N,{underline:!1,windowSize:i,children:o.noCardAssigned.post})]})},ne=({cardPromoType:e,showEnableCardButton:s,isCheckingEnabled:i,isUnderReview:a,isRejected:c,showExpressInterest:m,isCardUser:h=!1})=>{const x=$();return r.jsx(ir,{windowSize:x,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(x)},cardPromoType:e,isCheckingEnabled:i})})},He=({isApproved:e,cardPromoType:s,creditAmount:i,isUnderReview:a,isRejected:c,showExpressInterest:m,creditLimit:h})=>{const x=$(),w=s==="debit_and_credit"?o.promoTextDebitCreditCard:s==="debit"?o.promoTextDebitCard:o.promoTextCreditCard,j=e?r.jsxs(r.Fragment,{children:[o.promoBadgeText.approved,r.jsx(te,{children:i}),o.creditLimit,U.strings.space]}):m?r.jsxs(r.Fragment,{children:[o.promoBadgeText.nonPreApproved.get,r.jsx(rr,{children:o.promoBadgeText.nonPreApproved.scale}),o.promoBadgeText.nonPreApproved.doubleStarred,U.strings.space,o.promoBadgeText.nonPreApproved.higherLimits]}):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,U.strings.space]});return r.jsxs(r.Fragment,{children:[r.jsx(r.Fragment,{children:x==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:w}),r.jsx(ce,{children:o.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:w}),r.jsx(de,{children:o.promoSubText})]})}),r.jsxs(Ye,{cardPromoType:s,hasContent:j!=null,hideBadge:i==null||s==="debit",windowSize:x,children:[a||c||m?null:r.jsx(br,{}),r.jsx(er,{windowSize:x,children:j})]})]})},Oe=({companyLegalName:e,cards:s,admins:i,cashbackRate:a,hasZeniFinopsRoles:c,cardPromoType:m="credit",isCheckingEnabled:h})=>{const x=$(),w=m==="debit_and_credit"?o.promoTextDebitCreditCard:m==="debit"?o.promoTextDebitCard:o.promoTextCreditCard;return r.jsxs(r.Fragment,{children:[x==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:w}),r.jsx(ce,{children:o.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:w}),r.jsx(de,{children:o.promoSubText})]}),s.length===0?r.jsx(pr,{windowSize:x}):r.jsx(Ge,{cards:s,companyLegalName:e}),r.jsx(ae,{cardPromoType:m,cashbackRate:a}),c?null:r.jsx(Ve,{admins:i}),r.jsx(ne,{isCardUser:!0,showEnableCardButton:!1,cardPromoType:m,isCheckingEnabled:h})]})},Ge=({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(Ke,{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(ur,{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(V,{cardPromoType:s,cardText:i,shouldAnimate:!0,showChip:!0,forDashboard:!1,forListPage:!1}),r.jsx(H,{cardPromoType:s,cardText:i,showChip:!0,forDashboard:!1,shouldAnimate:!0,forListPage:!1})]})})},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,x=`${h} ${o.debit}`,w=[{id:1,cardType:"debit",cardText:x},{id:2,cardType:"debit",cardText:x},{id:3,cardType:"credit",cardText:h},{id:4,cardType:"credit",cardText:h}];T.useEffect(()=>(c||(k=setInterval(()=>{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(xr,{windowSize:e,children:[r.jsx(wr,{windowSize:e,children:w.map((l,d)=>r.jsxs(fr,{children:[r.jsx(ie,{isReflection:!1,style:{...j(d,!1)},onClick:()=>f(d),children:d===0||d===2?r.jsx(V,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}}):r.jsx(H,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}})},l.id),r.jsx(ie,{isReflection:!0,style:{...P(d)},children:d===0||d===2?r.jsx(V,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,forDashboard:!1,showChip:!0,forListPage:!1,style:{border:"none",opacity:.1,maskImage:"linear-gradient(to top, black, transparent 90%)",WebkitMaskImage:"linear-gradient(to top, black, transparent 90%)"}}):r.jsx(H,{cardPromoType:l.cardType,cardText:l.cardText,showChip:!0,shouldAnimate:!1,forDashboard:!1,forListPage:!1,style:{border:"none",opacity:.1,maskImage:"linear-gradient(to top, black, transparent)",WebkitMaskImage:"linear-gradient(to top, black, transparent)"}})},`reflection-${l.id}`)]},l.id))}),c&&r.jsx(Ne,{numberOfDots:w.length,activeIndex:i,handleClick: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}})]})},We=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
|
+
`,Ze=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
|
+
`,Qe=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(G)`
|
|
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
|
+
`,Ke=n.img`
|
|
56
|
+
border-radius: 50%;
|
|
57
|
+
justify-content: center;
|
|
58
|
+
color: ${e=>e.theme.colors.hero};
|
|
59
|
+
`,Ye=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(G)`
|
|
79
|
+
color: ${e=>e.theme.mode==="dark"?b.brandColorJade:b.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=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(_e)`
|
|
138
|
+
color: ${e=>e.theme.colors.champion};
|
|
139
|
+
${e=>`${v.uspText.style(e.windowSize)}`};
|
|
140
|
+
`,I=n(Me)`
|
|
141
|
+
color: ${e=>e.theme.colors.champion};
|
|
142
|
+
${e=>`${v.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(G)`
|
|
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=n(Ee)`
|
|
167
|
+
${e=>`${v.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
|
+
`,ur=n.span`
|
|
183
|
+
${e=>`${v.cardsContent.style(e.windowSize)}`};
|
|
184
|
+
`,xr=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,_r as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{y as je,J as Oe,a9 as Ue,aS as M,aa as Be,cI as _e,aX as G,V as t,fg as $e,p as ze,x as d,bE as Le,L as Re,ae as We,fz as Ne,dS as qe,fA as He,o as B,w as Me,iW as J,by as Ge,aT as Je,fC as Qe,b as Xe,u as o,an as Ye}from"./index-CZZQCAd2.js";import{a as f}from"./sentry-KKNtqb_g.js";import{n as w}from"./mui-1V4DDk1u.js";import{bJ as Ke}from"./zeni-epic-state-BIDncbwZ.js";import{x as Ze}from"./LabeledControlledCheckBoxField-DlQqluVv-BVJ5kTmb.js";import{g as et}from"./UploadAdditionalDocumentOverlay-CcTFuMyK-D2kgY2Ed.js";import"./liveblocks-DYmELrdC.js";import"./core-BPh6D8v5.js";import"./recharts-W_ILlOEk.js";import"./lottie-BRpRA-Un.js";import"./analytics-CQziHS33.js";import"./lexical-CO_PvSmH.js";import"./utils-DuPmVt2f.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]="a26955cc-9004-45b8-b847-f0dba93a8999",e._sentryDebugIdIdentifier="sentry-dbid-a26955cc-9004-45b8-b847-f0dba93a8999")}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])},Q="chargeCardSetUpPage",m="payAccount",{commonSetUp:tt,spendManagement:nt}=Xe.getLocalizedStrings(),{chargeCard:K}=nt,{chargeCardSetUp:g}=K,{setUp:_}=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: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:z,selectedCompanyOfficer:s,primaryFundingAccount:l,allFundingAccounts:L}=a,R=M(C),k=M(u.fetchState),V=Be({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>X(a),[a]),values:X(a)}),ve=V.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=L.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=V.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 D=I?.isChargeCardEnabled===!0,F=z?.isDebitCardEnabled===!0,W=z?.isDebitCardTOSAccepted===!0,N=I?.isChargeCardTOSAccepted===!0,q=$?.isBusinessVerified===!0,Ie=l?.accType==="depositAccount"||Ke(l?.providerVerificationStatus?.code??""),j=v?q:q&&Ie,Ve=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&&!D&&N:j&&!(D&&F)&&N&&W,De=O?g.setupSubTitleNotEnabled:g.setupSubTitle,H=y.mode==="light"?new G(y.colors.brandColorJadeLight):new G(y.colors.brandColorJadeDark),Fe=()=>{!A&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"?b(!0):de?.()};return t.jsxs(at,{children:[t.jsx($e,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>b(!1),style:{backgroundColor:ze.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(Le,{title:g.setupTitle,backgroundColor:y.colors.grey4,style:{zIndex:3},onBackClick:ce,showMenuIcon:!D&&!F&&(i==="medium-compact"||i==="small"),onClickMenuIcon:he,source:"ChargeCardSetupPage"}),t.jsxs(it,{windowSize:i,children:[t.jsx(ot,{windowSize:i,children:De}),Ve?t.jsx(ct,{children:t.jsx(Re,{size:"ExtraLarge",start:!0})}):t.jsx(We,{...V,children:t.jsx("form",{id:Y(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:Z,primaryFundingAccount:l,allFundingAccounts:L,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: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:Y(Q),primaryBtn:{label:g.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"||Ae.fetchState==="In-Progress",isDisabled:r!=null},showCancel:!1,cancelBtn:{label:""},style:{padding:`12px ${B.sp3}`}}):null,t.jsx(Qe,{isFooterRendered:O,meetingUrl:x,analytics:E,productType:"charge_cards"})]})},X=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}}},Y=e=>`${e}_form`,it=w.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: flex-start;
|
|
4
4
|
height: 100%;
|
|
@@ -6,14 +6,14 @@ import{d as je,J as Oe,a8 as Ue,aR as M,a9 as Be,cG as _e,aW as G,V as t,fe as z
|
|
|
6
6
|
flex-direction: column;
|
|
7
7
|
align-items: center;
|
|
8
8
|
row-gap: ${e=>c.setupDetailsRowGap.valuePx(e.windowSize)};
|
|
9
|
-
`,
|
|
9
|
+
`,at=w.div`
|
|
10
10
|
display: flex;
|
|
11
11
|
min-height: 100%;
|
|
12
12
|
height: 100%;
|
|
13
13
|
flex-direction: column;
|
|
14
14
|
width: 100%;
|
|
15
15
|
background-color: ${e=>e.theme.colors.grey4};
|
|
16
|
-
`,
|
|
16
|
+
`,ot=w(Ye)`
|
|
17
17
|
color: ${e=>e.theme.colors.hero};
|
|
18
18
|
display: flex;
|
|
19
19
|
justify-content: center;
|
|
@@ -33,4 +33,4 @@ import{d as je,J as Oe,a8 as Ue,aR as M,a9 as Be,cG as _e,aW as G,V as t,fe as z
|
|
|
33
33
|
display: flex;
|
|
34
34
|
flex-direction: column;
|
|
35
35
|
row-gap: ${e=>c.sectionRowGap.valuePx(e.windowSize)};
|
|
36
|
-
`;export{wt as default,
|
|
36
|
+
`;export{wt as default,Y as uniqueName};
|