@zeniai/web-cockpit-ui 1.13.95-dev → 1.13.96-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-CTeCxcke-DEZ1DdXH.js → ACHDetailsPage-C_NL9J0X-DQ3wv9Rt.js} +1 -1
- package/dist/assets/{AIPerformancePage-DHndW6Jx-BmfxnNcs.js → AIPerformancePage-DyiOQxOC-Deykua_G.js} +18 -18
- package/dist/assets/{AccountInfoPage-DX6r16Bm-C_0exxSE.js → AccountInfoPage-xglon85A-yRVQMsLQ.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-DuUO6Fmo-ChKBTH6K.js → AccountInfoPageContent-BtMF3gSM-CwB-GVxY.js} +19 -19
- package/dist/assets/{AccountReconDetailsDrawerPage-XjxpxHaM-BlVBZ7kJ.js → AccountReconDetailsDrawerPage-DJ9x8tbi-LYKktAAO.js} +13 -13
- package/dist/assets/{AccountRow-BUDNnxLp-lnjPiXai.js → AccountRow-CP7Tu1pO-VLQJgkE6.js} +9 -9
- package/dist/assets/{AccountsPromoCardStack-BkYuVRiC-CxxRy5F_.js → AccountsPromoCardStack-1elvD1M0-GOX35w9m.js} +9 -9
- package/dist/assets/{AddAddressForCardDrawer-CaKymF5H-Dj9EwadM.js → AddAddressForCardDrawer-C8-wy-3B-di9k1XXJ.js} +1 -1
- package/dist/assets/{AddToWalletPage-CO_ranRc-Y0gvdbgy.js → AddToWalletPage-DsqplF5y-BOnzBTtb.js} +7 -7
- package/dist/assets/{AgingReportsPage-CmvGohzQ-CnwGJP78.js → AgingReportsPage-DClcRhxg-CS8rEKD_.js} +4 -4
- package/dist/assets/{AllUserItems-Bcd_lx2s-D5cL7TJF.js → AllUserItems-BOwAIYTQ-ikKyJOZ6.js} +9 -9
- package/dist/assets/{ApAgingDetailPage-B6h9L4qX-C7HrCT0Q.js → ApAgingDetailPage-CcU6Hz-o-C9CP7TBd.js} +4 -4
- package/dist/assets/{AppBasePage-bPmQIx1U-LDUbxoeo.js → AppBasePage-C7kCz0qg-gwqzuxWV.js} +2 -2
- package/dist/assets/{AppDrawerContent-D4e_1ju1-Dhj_wy1v.js → AppDrawerContent-B63CbHT7-CTgXtY-R.js} +5 -5
- package/dist/assets/{ApprovalRulesSettingsPage-D7d0RwUR-D1d_wH6A.js → ApprovalRulesSettingsPage-D6XZafBq-BQyA8PhX.js} +1 -1
- package/dist/assets/{ArAgingChart-CfBXj53W-SUndSl9y.js → ArAgingChart-D-Z3jfGt-DS-oqmcQ.js} +7 -7
- package/dist/assets/{ArAgingDetailPage-D-HZa9vX-DvZl4P3_.js → ArAgingDetailPage-AiwyJUwp-CLdUA32y.js} +1 -1
- package/dist/assets/{AttachmentView-BF2v7v3I-BI4HJynu.js → AttachmentView-wIV1i6gf-__2UovKF.js} +1 -1
- package/dist/assets/{BankAccountSection-Cm_J2y31-CDMRL_3y.js → BankAccountSection-cVBEl5IN-DpEdLEP3.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-BnsmtuKk-DP1_s4k_.js → BankAccountWarningSection-Ce5s962S-Dy-_2VlU.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-BawBUQ6M-CMfekVh9.js → BankConnectionsSettingsPage-Cgp8M98A-D84-x80q.js} +41 -41
- package/dist/assets/{BillDetailPage-DFHM1n3a-CZEScqpR.js → BillDetailPage-C9NC9kTK-BYRIHiN2.js} +6 -6
- package/dist/assets/{BillPayApprovalRuleDetailPage-PGRG0N6y-BxcnUNyI.js → BillPayApprovalRuleDetailPage-yKPMorLd-DWM3MQMK.js} +2 -2
- package/dist/assets/{BillPayApprovalRulesPage-ByawtRCM-DDp-vV61.js → BillPayApprovalRulesPage-DmMqDFmk-B8Cg6Nn6.js} +6 -6
- package/dist/assets/{BillPayPromoPage-BvA5aJV2-CaYtY57T.js → BillPayPromoPage-CWGX6uCi--607mHc3.js} +4 -4
- package/dist/assets/BillPaySetUpPage-B-DHUIqu-DsqPk0zS.js +42 -0
- package/dist/assets/{BillingSettingsPage-C0c3igP5-ap-9LOcf.js → BillingSettingsPage-Bx7lHgIy-CyArwb3F.js} +5 -5
- package/dist/assets/{BillsBulkReviewDrawerPage-ChobILB2-GJEoEUgd.js → BillsBulkReviewDrawerPage-Bf5MKQ-f-5iZSFdzE.js} +1 -1
- package/dist/assets/{BoxItem-qV71vsVl-DibKZa0V.js → BoxItem-DX1sag1G-C0OcCbod.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-CYL-J6jv-Dor_XGL3.js → BusinessVerificationPage-DXh-11f9-BWywYgcT.js} +12 -12
- package/dist/assets/{CardNumberSubText-BkMaMdcB-ChxBB6AF.js → CardNumberSubText-iYF6MLsf-BnbFJt1d.js} +1 -1
- package/dist/assets/{CashbackDetailPage-Bkvu7uCA-BYpe0YrA.js → CashbackDetailPage-DVsCU69u-iWc1QiKl.js} +17 -17
- package/dist/assets/{ChargeCardDetailPage-B8JhA6aM-0cEMZGgL.js → ChargeCardDetailPage-D5bwvNOM-CT3hMXCY.js} +30 -30
- package/dist/assets/{ChargeCardListPage-DayFsVdx-7umY7GOL.js → ChargeCardListPage-rY7_MoJ5-CzPbszY2.js} +15 -15
- package/dist/assets/{ChargeCardListTable-Ck15ShIF-B2Jd56oy.js → ChargeCardListTable-PTRaj9T6-GxUnY44G.js} +24 -24
- package/dist/assets/{ChargeCardPromoPage-ZvHc9uZ8-BCAw2lta.js → ChargeCardPromoPage-BUtD2JQ4-Bh59RQEl.js} +6 -6
- package/dist/assets/ChargeCardSetupPage-CIRcLLnB-Cefuwkkm.js +36 -0
- package/dist/assets/{ChargeCardStatementsPage-DlFimewo-dsUOLazz.js → ChargeCardStatementsPage-uRlTsfDI-DztC0UAp.js} +4 -4
- package/dist/assets/{ChargeCardUtils-Buf1Xa4X-CfiY3Rp3.js → ChargeCardUtils-BvVm2SMq-B6pl3c2F.js} +1 -1
- package/dist/assets/{ChaseOverlay-Cp5-sc7K-q-w46Qrq.js → ChaseOverlay-CI8lEzod-DNTlxx9v.js} +7 -7
- package/dist/assets/{CheckDepositDrawerPage-ClJh5smc-CaqzSYGu.js → CheckDepositDrawerPage-Czpxz6Mz-gcS4-F7d.js} +1 -1
- package/dist/assets/{CollapsableReportTable-CKu2AawV-BR9Jh8-F.js → CollapsableReportTable-BBGdC6Ii-N5Ehkf8R.js} +59 -59
- package/dist/assets/{CompanyOfficerDetailsSection-CHi8zT6M-2vvUSfpo.js → CompanyOfficerDetailsSection-BrsHy7MO-Cl-BM3f0.js} +37 -37
- package/dist/assets/{CompanyPassportCard-DW8AIAcy-ChQaVIG_.js → CompanyPassportCard-P0g_DRwA-XRQTRVQK.js} +1 -1
- package/dist/assets/{CompanyPassportPage-CG1U8xfQ-z31zr_09.js → CompanyPassportPage-CH8El0Nl-CrZI1ceZ.js} +35 -35
- package/dist/assets/{CompleteProfile-Lnfcm8Mq-A9UckRww.js → CompleteProfile-DTSAIKgF-WX_HRfP5.js} +4 -4
- package/dist/assets/{ConfettiBurst-Ca6cfnuf-0CP5GWxx.js → ConfettiBurst-CjONFCxD-BbasMJ1h.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-BuBYOkXS-C5Z5SPL2.js → CreateOrEditVendorPage-CDVjGotR-BX0RU8Lc.js} +9 -9
- package/dist/assets/{CreditCardPaymentDrawerPage-8d6cEGBi-DeW_T_vn.js → CreditCardPaymentDrawerPage-CsyNRmxp-J9Q1Nire.js} +13 -13
- package/dist/assets/{CreditCardPaymentPlgSection-B9DUkdWm-rJN3aibi.js → CreditCardPaymentPlgSection-BhHsjqZA-DtxErSDc.js} +6 -6
- package/dist/assets/{CurrencySelectField-BUtL_oMC-vjfdBgAC.js → CurrencySelectField-BRkdK9Tx-DZlSSgUd.js} +1 -1
- package/dist/assets/{CustomerOnboardingActivationPage-BZIt8djd-6s7QTCQc.js → CustomerOnboardingActivationPage-DnVXw5Ok-CF7wqV2h.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-wmVbYxdI-BLfm1bGE.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-n8n9mzuh-1Pj7fv61.js → CustomerOnboardingDetailPageSkeleton-C95eWcqa-DW8DNI2i.js} +8 -8
- package/dist/assets/{CustomerOnboardingNoStepsPage-f_PloOrf-B7YeJUhG.js → CustomerOnboardingNoStepsPage-OKbEl9Bp-Dy87ha3L.js} +8 -8
- package/dist/assets/{CustomerOnboardingPage-B_vGVChf-BBpgC_P8.js → CustomerOnboardingPage-D9jqUudS-BpBvjqe9.js} +4 -4
- package/dist/assets/{CustomerOnboardingProductSuitePage-hXloSEH1-tV_sIlVM.js → CustomerOnboardingProductSuitePage-DK_FKVS2-Dz81TViz.js} +5 -5
- package/dist/assets/{Dashboard-DN58fmab-BSfq0dju.js → Dashboard-CsuzQbH0-B5Hgiilv.js} +229 -228
- package/dist/assets/{DashboardReportPage-DIx6h5UA-DE9i6tXD.js → DashboardReportPage-BCkrfj3P-CIFdRg6l.js} +15 -15
- package/dist/assets/{DepositAccTransactionItem-DNv9nV2t-sabH0i0g.js → DepositAccTransactionItem-B55LUfPM-Bsnh-Dnt.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-CWEabc_8-D6J4mdt4.js → DepositAccTransactionListPage-CKBZEDvI-CFszcDp5.js} +2 -2
- package/dist/assets/{DocumentSecurityBanner-B6VGrs_d-jwQl4fBm.js → DocumentSecurityBanner-B5e6-zfE-B8VQ-eGv.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-BYIbT0cd-MsB82_Nr.js → DomesticWireDetailsPage--MU9IKKz-CI-n4FxD.js} +1 -1
- package/dist/assets/{DownloadOverlay-RhRX-Goq-0pJzo8tq.js → DownloadOverlay-CVay7PEO-C-BIaHoh.js} +7 -7
- package/dist/assets/{DrawerPage-C01myF5D-L_T-Mi_O.js → DrawerPage-BtsjUVWT-DKZ4-9Rc.js} +6 -6
- package/dist/assets/{EditPeoplePage-BMm08q5E-B2z1Cy4i.js → EditPeoplePage-q8Se6bGZ-Cx2X58jF.js} +12 -12
- package/dist/assets/{EditReimbursementDetailPage-C5FnQpPh-sK_g6wjY.js → EditReimbursementDetailPage-DJxpU-hz-dhF_OPbV.js} +27 -27
- package/dist/assets/{EntityDetailPage-BkpeRVR1-B6XILqHa.js → EntityDetailPage-Bux6DlIw-CDR-iDms.js} +1 -1
- package/dist/assets/{EntitySummarySection-DpxcfRng-Umu6Fw_D.js → EntitySummarySection-D8dz1hFt-Bakc19a1.js} +7 -7
- package/dist/assets/{ExpenseAutomationOverviewPage-BJ1ba0Oz-BAbt9eHm.js → ExpenseAutomationOverviewPage-CdJQtc-4-WoBW313I.js} +17 -17
- package/dist/assets/{ExpenseAutomationPage-C7GKFlgt-B1fB3w-U.js → ExpenseAutomationPage-aNc126hN-DZa4KtXO.js} +1 -1
- package/dist/assets/{ExpressPayPage-pgy9CEaP-C4tOK1_E.js → ExpressPayPage-CWVGXvfN-Bzdld5fx.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-Bpnn3Eao-DWGadm42.js → FeaturePreviewPage-C0nvVXP--BF6s18r5.js} +1 -1
- package/dist/assets/{FollowStepsSection-D4Do4Mtd-Bgez_ajJ.js → FollowStepsSection-Cf0s1DGX-BFVvc78r.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-D_50hOfK-D74gQQCX.js → GlobalReviewListPage-aY4rHJVr-DzNSgRAM.js} +9 -9
- package/dist/assets/{HelpButton-BBLa-U8R-5BfdLJDT.js → HelpButton-Dv3nbc1Z-CHaoZd0g.js} +1 -1
- package/dist/assets/{InformationCardStack-CNCEEO1z-BPT-WizN.js → InformationCardStack-BALkGk48-BWmXScs3.js} +1 -1
- package/dist/assets/{InsightsCardStack-BangbyzX-C-dfE00z.js → InsightsCardStack-D52CCSVO-CezeuABJ.js} +2 -2
- package/dist/assets/{InsightsSection-DNfDisn9-CMHRFpDc.js → InsightsSection-D_wtVtVg-5rPDOiJT.js} +1 -1
- package/dist/assets/{IntegrationsSettingsPage-ColuS6Tk-CdBeqhKb.js → IntegrationsSettingsPage-DxjbW311-BrvXi8hE.js} +7 -7
- package/dist/assets/{InternationalWireSwiftDetailsPage-BG4x1tCL-5AAkqkwh.js → InternationalWireSwiftDetailsPage-24NSHzu1-CRaVhxIk.js} +12 -12
- package/dist/assets/{InternationalWireVerificationPage-B22ThS6Q-B85Ehc7_.js → InternationalWireVerificationPage-B1jvCUkw-Ld5IAzwh.js} +11 -11
- package/dist/assets/{InviteFormPage-Cixm85d1-N6lcykk5.js → InviteFormPage-C9fNxGsi-CRksfDku.js} +6 -6
- package/dist/assets/{InvitePageListView-DBcwM1lk-DLgO5vEV.js → InvitePageListView-DSWZ2SPi-B4SFh7Xp.js} +27 -27
- package/dist/assets/{InvitePeoplePage-DIq28HlK-DxgsZvQF.js → InvitePeoplePage-DaN4NSHW-CydccedW.js} +3 -3
- package/dist/assets/{InvoiceUploadSection-D5vmrKLq-CaJvqPBS.js → InvoiceUploadSection-D0CgJxyu-9_MCn8Y6.js} +7 -7
- package/dist/assets/{IssueChargeCardPage-DjW6ZTWB-DVAoNzJY.js → IssueChargeCardPage-dYu9VLy4-YHkYWF3X.js} +29 -29
- package/dist/assets/{LabeledAddressValue-CDidTB7_-BYCZE34N.js → LabeledAddressValue-DtmZ5htg-OjX3rrF7.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-CVVc36IB-mrR3y5nG.js → LabeledAddressValueField-C2LEKAwf-BQxD3J4c.js} +4 -4
- package/dist/assets/{LabeledControlledCheckBoxField-CGN805d2-BvA9NcSn.js → LabeledControlledCheckBoxField-Ds3mSsWy-DNoefl6y.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-PunIRbD6-DSy2bCTv.js → LabeledCreatableSingleSelectField-DW8jVgaN-BEmOmz9t.js} +7 -7
- package/dist/assets/{LabeledDocumentField-DgGIyJH_-hDHBkxrT.js → LabeledDocumentField-Ce2A0qNH-CSvl2QNP.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-BDVtmFqG-j2xXgXWn.js → LabeledDropDownFormattedTextField-DWlfmICB-Diz5afTR.js} +5 -5
- package/dist/assets/{LabeledText-BW7VKf6E-PGkPpMVO.js → LabeledText-bruKdeAH-E98_Q-Ht.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Cmc8qo-r-M7EEhfxE.js → LabeledUserSingleSelectWithSubtitlesField-CfzUlgs3-BKnteQzK.js} +4 -4
- package/dist/assets/{LabeledZeniRolesDropDownField-Cl6BAapU-DdwZAoZU.js → LabeledZeniRolesDropDownField-CGSgg1Zl-M-Z5Kz_3.js} +15 -15
- package/dist/assets/{LinkJETransactionPage-CtYsRhte-gAytw1dS.js → LinkJETransactionPage-DjNutEvf-sKN4Are7.js} +2 -2
- package/dist/assets/{LowBalancePopup-C_c9t4ho-r8GHfwbA.js → LowBalancePopup-CwcYMtuk-B-vSGd6a.js} +6 -6
- package/dist/assets/{MagicLinkACHDetailsPage-KZmNuH71-eLFzvgps.js → MagicLinkACHDetailsPage-Ddhg3i45-DAcpfJH2.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-DCkibDQs-DjBoqAab.js → MagicLinkDomesticWireDetailsPage-QzsSuMOz-D-Sj2Twf.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-CR1BJE-p-BVc964tl.js → MagicLinkInternationalWireDetailsPage-BsLlhkuO-cmHC5izc.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-D9VscY-N-BvVpg8o7.js → MagicLinkSuccessPage-COpDxIAb-BaiQCbjC.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-DwxRtyUO-Dj3CNxLB.js → MagicLinkTitleSection-Oa8Szvl2-DvY3D69u.js} +1 -1
- package/dist/assets/{MailingDetailsSection-B3AtsI4y-Cg3vKD8Z.js → MailingDetailsSection-BycONjR9-Dhu_6L_d.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-5ibEhgcm-p1sBC8Am.js → MeetingCalenderPopup-D_WPTVKr-DYqVpuuh.js} +1 -1
- package/dist/assets/{Menu-B3jEZq8P-CBWyxFfA.js → Menu-B6Fh2Mf9-B_ofMkAs.js} +3 -3
- package/dist/assets/{MyBankConnectionsSettingsPage-BLqGgTGR-DFR7-MdN.js → MyBankConnectionsSettingsPage-jWuBarzg-DszKEiXJ.js} +13 -13
- package/dist/assets/{MyPendingActivationChargeCardListPage-GXGFSZqe-DQBMtuje.js → MyPendingActivationChargeCardListPage-_wuCCZ2J-Cbj97sd-.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-CwBD0rUF-Bso1ueKy.js → MyProfileSettingsPage-ChyYrCir-Dq1dhgqM.js} +6 -6
- package/dist/assets/{NavBarWithPicker-wTsy1SAG-B0aq1ozI.js → NavBarWithPicker-D4jJGXZB-BJWr2BT1.js} +2 -2
- package/dist/assets/{NavigationArrow-PxVotVGU-BN6LQQ8z.js → NavigationArrow-DlUdvmV7-iugv9ZVE.js} +5 -5
- package/dist/assets/{NavigationDots-BhLlf9IS-Cc6rFgNx.js → NavigationDots-CFJt-T5J-B9PAzC5S.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-BnXD_AkF-7b5iQIvJ.js → NewGlobalMerchantPage-DhYni-in-Diwu92Go.js} +4 -4
- package/dist/assets/{NoDataChart-DLfKZ9J--1T9pg2HM.js → NoDataChart-CvGbQO4j-B5z4vqWb.js} +1 -1
- package/dist/assets/{NoDataTable-BRKuhxS0-sx0oHeyw.js → NoDataTable-EKtYZwcL-XyHu2gAL.js} +1 -1
- package/dist/assets/{NotFoundPage-BD417YGL-rToNH_nB.js → NotFoundPage-D5SHSQLS-0U7pTJ8G.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-Mb9ed249-CQss7Tea.js → NotificationSettingsPage-CjJw9Atb-BmSbhipZ.js} +28 -28
- package/dist/assets/{NotificationsListConfig-CISUs4yA-Up6zrNe0.js → NotificationsListConfig-BL_MxKXF-CvqrsVs-.js} +1 -1
- package/dist/assets/{NotificationsPage-WTGOES7C-D5gXR2ud.js → NotificationsPage-bGvx2yV6-C4p8pfzZ.js} +1 -1
- package/dist/assets/{OpExByVendorPage-D4Ur1QRV-CtpvGOvR.js → OpExByVendorPage-BE_NnQzd-DQnxoqWx.js} +7 -7
- package/dist/assets/{OverlayContainerPage-C0rUb6-5-DLDjA1WL.js → OverlayContainerPage-GWXnlbZH-D2VSw_RI.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-DSvdGyym-C1hZzOpv.js → PandLWithForecastPage-D-000kuR-BW5fUkac.js} +9 -9
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-Bs8f-d_P-BeYSvOrY.js → PaymentAccountSetupBillingAddressSection-CwbX_znq-C6WVSYgS.js} +7 -7
- package/dist/assets/{PeoplePage-ByFdUCgV-C-dQ5ifc.js → PeoplePage-MwM0lFB9-B0wgHwI1.js} +17 -17
- package/dist/assets/PortfolioAllocationFormPage-C3a4MQzW-CQIA3SiA.js +207 -0
- package/dist/assets/PortfolioDetails-BMJ6PGMP-DtrA52bw.js +218 -0
- package/dist/assets/{ProductsCarousel-6mui8g8D-BXwmVYBD.js → ProductsCarousel-D2wC3sC--BKh2AE5P.js} +5 -5
- package/dist/assets/{PromoBaseCards-CASb_Nf9-BmTbWgM7.js → PromoBaseCards-Ddumul2a-BrEDd739.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-AF50P_eR-DhzipR7w.js → QBOConnectionDialog-DszSpNdI-DwqHmKSk.js} +5 -5
- package/dist/assets/{QBOSetupSection-hObNFdKz-3XFNnwv5.js → QBOSetupSection-BNF-BUu5-B_yCc7Df.js} +7 -7
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-NuprN06r-BkFlu4jO.js → ReimbursementApprovalRuleDetailPage-Myone4-k-B9H3tR1_.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-DP8frTz1-BIghkZwb.js → ReimbursementApprovalRulesPage-DFhp0GGU-p0zWXuJ6.js} +8 -8
- package/dist/assets/{ReimbursementDetailPage-B9F6pND6-DNevCo1s.js → ReimbursementDetailPage-BAEddssC-DcJfByf4.js} +3 -3
- package/dist/assets/{ReimbursementPromoPage-CUNbpcAP-BJXAeXWj.js → ReimbursementPromoPage-D4u3SX8R-ByzJ_1Sx.js} +7 -7
- package/dist/assets/ReimbursementSetUpPage-B9ByGW3n-Bt2Z4PCD.js +140 -0
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CafTodEa-vUUwSS79.js → ReimbursementsBulkReviewDrawerPage-CAo_NjTX-O9TR0kFt.js} +1 -1
- package/dist/assets/{ReloadCard-aQ5Ma2ne-srF7XfGP.js → ReloadCard-BA_JCHcV-DL7NGQyj.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-CjZe9dc3-B94C9OUt.js → ReportTableViewSelector-D7B88kS6-BrGIUsj4.js} +9 -9
- package/dist/assets/{ReportsPage-PDTasuAQ-CD592IPM.js → ReportsPage-BzMzH-I3-BKZoRCt6.js} +5 -5
- package/dist/assets/{RevenueChart-CJYsWcyb-COXSVzci.js → RevenueChart-D33p-PFq-CGRJwc_N.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-47Qg28PV-DD0ehHxI.js → ReviewDetailsPage-D35NcQnx-Cbn86Yy5.js} +8 -8
- package/dist/assets/{ReviewOverlay-DvYSZ8u9-D1sec7oa.js → ReviewOverlay-BYJdokfW-C97jtxei.js} +1 -1
- package/dist/assets/{RoleWithToolTip-DoD_vW-E-xeMdlQFI.js → RoleWithToolTip-B3hm-1rz-OZzvKPZJ.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BMX7jbBN-B126g4bO.js → ScheduleDetailsFixedAssetsPage-BVnISMKW-BILZO4Rn.js} +8 -8
- package/dist/assets/{ScheduleDetailsPage-CNtV2SVn-Ddz0O5ah.js → ScheduleDetailsPage-BibWPOxC-DZMtTy3C.js} +3 -3
- package/dist/assets/{ScheduleSequenceTable-CMrsG_y3-ZI5_od4y.js → ScheduleSequenceTable-DcQmeKyc-JMxQ5IZq.js} +14 -14
- package/dist/assets/{ScreenRoutes-Xqggk2Tm.js → ScreenRoutes-iE9-v0dJ.js} +1 -1
- package/dist/assets/{SetUpAccountSection-D3nUQAk8-DKZLa9Zq.js → SetUpAccountSection-BEJy78G6-Do1X3vVo.js} +12 -12
- package/dist/assets/{SetUpDefaultSection-C2MgZHUf-x0_RVnLC.js → SetUpDefaultSection-ul-q6U3w-CKVV_QFK.js} +5 -5
- package/dist/assets/{SignIn-Bud28HbX-Xl-uNzmG.js → SignIn-BC8yop4g-CznicFTu.js} +19 -19
- package/dist/assets/{SignInScreen-BV0zmhf7.js → SignInScreen-k0dvslKE.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-B8R0PEMD-BbaRv050.js → SpendManagementListViewPage-aZljA388--EEskYb2.js} +3 -3
- package/dist/assets/{SpendManagementPerTabPage-CTdgMCHu-CAOhzan7.js → SpendManagementPerTabPage-BU1ai2M8-DkMZQMfc.js} +30 -30
- package/dist/assets/{SpendManagementSection-CnD0V00y-Dmq0cMig.js → SpendManagementSection-DMw8NFvN-Cpy4Blf3.js} +1 -1
- package/dist/assets/SpendMgmtSetupAccountSection-BtcwTlJT-Bsya0Qr3.js +206 -0
- package/dist/assets/StatementItem-CKTGWEW_-d6SqxmfH.js +31 -0
- package/dist/assets/StatementsPage-CjR4AlPy-BQRlcz37.js +58 -0
- package/dist/assets/{StatusSwitcher-CxbcO6mR-C4PCbece.js → StatusSwitcher-5CZzUYJE-qZVSFmES.js} +2 -2
- package/dist/assets/{SubTabSwitcher-mCKmnU9--jUtM0Bft.js → SubTabSwitcher-a38_U4dN-BfyQ4BdY.js} +1 -1
- package/dist/assets/{SummaryCard-BoA0mdbI-C3rDEBSG.js → SummaryCard-XbFHvHx9-CTqdwSSS.js} +1 -1
- package/dist/assets/{TaskManagementPage-CbSLSOpI-BFGgqlJt.js → TaskManagementPage-Oct77yO--igT2quo0.js} +18 -18
- package/dist/assets/{TimeRangeSwitcher-DIszv8B4-D-1vIZUO.js → TimeRangeSwitcher-C4mpBnQl-CaG6dXuN.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-C8tn7HgF-Db6tSjO9.js → TimeframeSwitcher-CnLEHYWD-BW9vKcLS.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-DqvG5zv2-DqYusAPI.js → TimeframeSwitcherWithToggle-Bc-Y5Hwv-0uMnBILy.js} +1 -1
- package/dist/assets/{TopExCard-B2pg-xWB-DR721esp.js → TopExCard-CaR8tsug-DnQ2eFWB.js} +1 -1
- package/dist/assets/{TopExDetailPage-Ch-SwhrE-C3B3fW9M.js → TopExDetailPage-C4QeWe92-vjJ7ZG8N.js} +10 -10
- package/dist/assets/{TransactionDetailPage-4ehnnMwj-CxGtpuw5.js → TransactionDetailPage-BoxnNYXX-2QwooFWS.js} +23 -23
- package/dist/assets/TransactionList-IjM4ABdF-DZ9PEfgX.js +147 -0
- package/dist/assets/{TransactionListBig-YrccrGWK-DQRVfhmg.js → TransactionListBig-B0FG0-BM-Br0wUjP3.js} +6 -6
- package/dist/assets/TransactionListPage-1dwu-ZT2-vlIbHO3m.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-DIvXenmH-BygJi1pY.js → TransactionVendorDetailPage-gBr8kX0F-BE5xJ4Iy.js} +1 -1
- package/dist/assets/{TransferDrawerPage-CK9V-5BR-DZ9c1lfC.js → TransferDrawerPage-BJVanLzC-BZZsX7dv.js} +12 -12
- package/dist/assets/{TreasuryOverviewPage-Dhm7htH5-BUj5D_CB.js → TreasuryOverviewPage-DGJnHyrO-BPZDM1DN.js} +26 -26
- package/dist/assets/{TreasuryPromoPage-CiE4S4u6-qiSczFzX.js → TreasuryPromoPage-CblUabA3-CO5CaCN_.js} +11 -11
- package/dist/assets/{TreasurySetupPage-WygAmXcw-WQiA9bVD.js → TreasurySetupPage-CuROk6il-7kJUNajN.js} +2 -2
- package/dist/assets/{TreasuryStatementsPage-zycSYzUL-CE8VEsG8.js → TreasuryStatementsPage-DfB0yrzC-osurk-aq.js} +5 -5
- package/dist/assets/{TreasuryTaxLetterPage-l_CSMKSV-CFFwa7b-.js → TreasuryTaxLetterPage-CRoLpeXm-g70lefJl.js} +5 -5
- package/dist/assets/{TreasuryTransferOrReviewPage-CkHJE0PT-CVfr6xd-.js → TreasuryTransferOrReviewPage-QMDAFbkh-CUXJN-eh.js} +82 -82
- package/dist/assets/{TrendChart-Buu-BMJt-1SixfBeO.js → TrendChart-D3_4i3qH-wYUerKRk.js} +1 -1
- package/dist/assets/{TrendWithTransactions-C6sLZFPh-CJcdwvxU.js → TrendWithTransactions-KkV2_0Uh-D0lwZdhf.js} +5 -5
- package/dist/assets/{UncategorizedAccountsMappingPage-Ct1KSgHe-BkPn1VDr.js → UncategorizedAccountsMappingPage-kKq-jvPY-CF6bAw3X.js} +15 -15
- package/dist/assets/{UnitIntegrationPage-DeG7GwFV-BTOJ5_nM.js → UnitIntegrationPage-CZS0yjHf-2PLtjCjv.js} +2 -2
- package/dist/assets/{UploadAdditionalDocumentOverlay-BBEBrd1k-C8YmGx6j.js → UploadAdditionalDocumentOverlay-KkO_TLUT-n0LOLnpS.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-B2qGbIlK-CbqUscDE.js → Vendor2FAPopup-wnVnkHOg-DABVEKDS.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-CIb3Lffi-IjDSrk-_.js → VendorACHDetailsPage-nuzdr69i-pgOa8d0q.js} +1 -1
- package/dist/assets/{VendorDetailPage-DrZlWYNf-CitGu9Ha.js → VendorDetailPage-ClmL_1FB-Cz0Favu8.js} +12 -12
- package/dist/assets/{VendorDomesticWireDetailsPage-BGfsxhx5-BBlyKElB.js → VendorDomesticWireDetailsPage-DEK3jdYu-StHUbnc9.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-DpYIPFDo-Cny4xMig.js → VendorFiling1099EditablePage-KMOY10Xr-C-_0rtWP.js} +7 -7
- package/dist/assets/{VendorFirstReviewPage-JJMuxJAj-CEkUZQNo.js → VendorFirstReviewPage-CLF3qT17-D1oHFEVR.js} +68 -68
- package/dist/assets/{VendorInternationalWireDetailsPage-B7IVMovj-B5VUl76d.js → VendorInternationalWireDetailsPage-C5JXqVVq-DdhMyWB0.js} +8 -8
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-C7y7HA0_-iAtQaOvZ.js → VendorInternationalWireSwiftDetailsPage-7KrBqEWb-D_WpQwvk.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-CKizD1gN-BJJ_j-nc.js → VendorsAccountsSection-fcURK7tv-BOScGj67.js} +2 -2
- package/dist/assets/{WarningsDrawerPage-REjc7j42-TgqIuesy.js → WarningsDrawerPage-Bnd_CdR9-B2JqHi6z.js} +7 -7
- package/dist/assets/{ZeniAccountDetailPage-BYQt_cqt-B9TUZXOz.js → ZeniAccountDetailPage-DRDCdFW7-D8o4Z2Hy.js} +21 -21
- package/dist/assets/{ZeniAccountListViewPage-DPLQmd2c-BJzMmpCX.js → ZeniAccountListViewPage-ZPWww_Go-HRp0ORwg.js} +16 -16
- package/dist/assets/{ZeniAccountNavBarPieces-CB_hOCVm-Dgt-KBoE.js → ZeniAccountNavBarPieces-DFivFXxa-rHFaK51E.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-DjbDqqNB-DbFXyEm9.js → ZeniAccountPromoPage-D1oJNoqy-C6ZFb72_.js} +15 -15
- package/dist/assets/{ZeniAccountSetupPage-BKgmStQ8-DvOkzvTm.js → ZeniAccountSetupPage-DITu6ztK-Fgis_UYm.js} +4 -4
- package/dist/assets/{ZeniCopyright-gnzM8wV--B3wiitHw.js → ZeniCopyright-DoA2I5zj-CPBH_zf-.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-D5uBFeau-CCzhbeOi.js → ZeniTransferAmountSlider-amszUh1p-Wx5VV7C8.js} +1 -1
- package/dist/assets/{analyticsHelper-g-8qlEdt.js → analyticsHelper-BbcCIpO1.js} +1 -1
- package/dist/assets/{analyticsHelper-Cdzg4Zjw-BD3QBCs9.js → analyticsHelper-DPbbQVAO-ChPUlKK7.js} +1 -1
- package/dist/assets/{chartTypes-BTdgphvt-COUgSR4v.js → chartTypes-qpvW4LwC-4Ag0mdD1.js} +1 -1
- package/dist/assets/{commonDimensions-Ctzi29iY-mgtHXo4p.js → commonDimensions-DAvj4Il1-Chc9ZQai.js} +1 -1
- package/dist/assets/{detailCommon-SwpJm2mb--HDCa1ev.js → detailCommon-jP1ggD3g-CQiTz4E7.js} +8 -8
- package/dist/assets/{downloadPdf-YcATpN2g-D3XIUalG.js → downloadPdf-LAHtgcHF-B9uNpNRf.js} +1 -1
- package/dist/assets/{index-QTXYT_IZ.js → index-DyBH5SZv.js} +1148 -1164
- package/dist/assets/{mapLoadingInProgressToTreeNode-C8MSAhen-AfMjxweq.js → mapLoadingInProgressToTreeNode-CjvJKOzk-DeuVFxVw.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-C0LfGztS-DTztJDdH.js → mapSectionWithAcOnlyToTreeNode-Dr43nOGj-FSgubQ7E.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-BBfTCdRQ-bgZlN15f.js → mapSpacerToTreeNode-COsnfFtf-DI0OXEqQ.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-DcljRs6K-orb0-qTl.js → mapTimeframeBalancesToTreeNode-BnpqSOA6-DAD3sG8g.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-ClOTGsb4-B5ylNJVM.js → mapTimeframeBalancesToTreeNode-DFanhVY8-Cl8Oktyg.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BL3c3wFj-BCJhDRyN.js → mapTimeframeHeaderLoadingInProgressToTreeNode-D2xlqc6w-BjPO7Xb1.js} +1 -1
- package/dist/assets/{play-icon-DaxUpyZT-ss_3TDIT.js → play-icon-D3OSczih-8eMagn70.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-Vfz3d1qt-Dmwd2xoZ.js → toCOABalancesWithID-DeWKaovX-C_3xC96w.js} +1 -1
- package/dist/assets/{toChartData-CiTmOVzN-DBayRNk7.js → toChartData-Dkp488IJ-Cg1gF7al.js} +1 -1
- package/dist/assets/{treasuryColorHelper-BbkDcDKI-pPmAbCLc.js → treasuryColorHelper-BibNNRS5-DCmyWsB-.js} +1 -1
- package/dist/assets/{uploadAttachment-BLQvpBKI-CHSynwi0.js → uploadAttachment-BjJ8_wDA-22p019X4.js} +1 -1
- package/dist/assets/{uploadReceipts-Buvz7DfG-D7H47NIP.js → uploadReceipts-D80JLNY4-sjevKwVl.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +3 -3
- package/dist/assets/BillPaySetUpPage-D4dtDoPF-pJA12_gD.js +0 -42
- package/dist/assets/ChargeCardSetupPage-QROShfxq-C4kf_hhx.js +0 -36
- package/dist/assets/CustomerOnboardingContainerPage-DLE82ybr-CRS91glj.js +0 -1
- package/dist/assets/PortfolioAllocationFormPage-BY5JJCu--Db_AJDDA.js +0 -207
- package/dist/assets/PortfolioDetails-Du2wncho-DR6hA4On.js +0 -218
- package/dist/assets/ReimbursementSetUpPage-ihfYAhDw-BJyrWltl.js +0 -140
- package/dist/assets/SpendMgmtSetupAccountSection-D7LHyfpa-46XD5tWn.js +0 -206
- package/dist/assets/StatementItem-Dn796WZD-1Rb-SXfR.js +0 -31
- package/dist/assets/StatementsPage-L75Co_mK-C_J6xieF.js +0 -58
- package/dist/assets/TransactionList-Bds8YVxl-eo-qwfAU.js +0 -147
- package/dist/assets/TransactionListPage-EBZJJ3Bb-C5h_p4zd.js +0 -35
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d2 as St,t as jt,fk as vt,l as M,ff as v,X as pe,M as Be,o as a,u as _e,j as t,
|
|
1
|
+
import{d2 as St,t as jt,fk as vt,l as M,ff as v,X as pe,M as Be,o as a,u as _e,j as t,aV as kt,fy as Pt,cO as A,v as C,bs as le,g as n,_ as It,aa as ce,Y as me,C as B,w as E,Q as Tt,h as Mt,cl as At,aB as Fe,b4 as Et,ae as ue,a5 as Lt,f as ge,n as I,d3 as Rt,Z as Dt,q as zt,c0 as Nt,ck as Ot,aP as Bt}from"./index-DyBH5SZv.js";import{b as O,n as i,j as xe,k as _t}from"./vendor-CnQcJ2Lu.js";import{Y as Ft}from"./SpendManagementSection-DMw8NFvN-Cpy4Blf3.js";import{ChargeCardPromoUserContent as Ut}from"./ChargeCardPromoPage-BUtD2JQ4-Bh59RQEl.js";import{N as Wt,J as Gt}from"./PromoBaseCards-Ddumul2a-BrEDd739.js";import{M as Yt}from"./ChargeCardListTable-PTRaj9T6-GxUnY44G.js";import{r as Ht,i as Jt}from"./graphic-no-data-net-burn-l-CzmycA0m-DR-LfIWY.js";import{t as Vt,o as Zt}from"./arrow-south-east-round-PEovUgvH-DBLhwZXJ.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-D_WPTVKr-DYqVpuuh.js";import"./NavigationDots-CFJt-T5J-B9PAzC5S.js";import"./usp-line-BBd1wKwW-CgKq8-Xn.js";import"./Menu-B6Fh2Mf9-B_ofMkAs.js";import"./RoleWithToolTip-B3hm-1rz-OZzvKPZJ.js";import"./CardNumberSubText-iYF6MLsf-BnbFJt1d.js";import"./ChargeCardUtils-BvVm2SMq-B6pl3c2F.js";const be={infoSubheadingTextMarginTop:new B(I[0],I[0]),cardsMinWidth:new B(343,353)},ve=Be.getLocalizedStrings().spendManagement.chargeCard.chargeCardsPromo.listPage,ke=({cardPromoType:e,cardText:s,header:l,title:h,subTitle:r,slidingTextList:u,onClick:d})=>{const p=pe();return t.jsxs(Kt,{windowSize:p,cardPromoType:e,"data-testid":me("list-page-promo-card",e),onClick:()=>d(e),children:[t.jsxs(Ue,{children:[t.jsxs(Ge,{children:[t.jsx(We,{children:l}),t.jsx(ea,{children:h}),t.jsx(ia,{children:r})]}),t.jsxs(ra,{children:[t.jsx(na,{}),u.length>0&&t.jsx(he,{slideUpCount:u.length,children:u.map((g,x)=>t.jsx(Ye,{children:g},`card-promo-${x.toString()}`))}),t.jsx(oa,{})]})]}),t.jsx(sa,{children:t.jsx(Wt,{cardPromoType:e,cardText:s,shouldAnimate:!1,forDashboard:!1,showChip:!1,forListPage:!0})}),t.jsx(da,{children:t.jsx(Gt,{cardPromoType:e,cardText:s,shouldAnimate:!1,forDashboard:!1,showChip:!1,forListPage:!0})})]})},Pe=({cardType:e,header:s,title:l,creditLimit:h,onCreateNowClick:r})=>{const u=pe();return t.jsx(Qt,{windowSize:u,cardType:e,children:t.jsxs(Xt,{children:[t.jsxs(Ge,{children:[t.jsx(We,{children:s}),t.jsx(aa,{children:t.jsx(ta,{children:l})}),t.jsx(la,{windowSize:u,children:t.jsxs(ca,{windowSize:u,onClick:()=>r(e),"data-testid":me("total-cashback-info"),children:[t.jsx(Ye,{children:ve.createNow}),t.jsx(ha,{})]})})]}),e==="creditCard"?t.jsxs(pa,{children:[t.jsx(ma,{children:ve.creditLimit}),t.jsx(ua,{children:h})]}):null]})})},qt=e=>{const s=e-1;let l=`
|
|
2
2
|
0% {
|
|
3
3
|
transform: translateY(0);
|
|
4
4
|
}
|
|
@@ -63,17 +63,17 @@ import{d2 as St,t as jt,fk as vt,l as M,ff as v,X as pe,M as Be,o as a,u as _e,j
|
|
|
63
63
|
flex-basis: 33.33%;
|
|
64
64
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
65
65
|
box-shadow: ${e=>e.theme.colors.elevation1};
|
|
66
|
-
`,
|
|
66
|
+
`,Ue=i.div`
|
|
67
67
|
display: flex;
|
|
68
68
|
flex-direction: column;
|
|
69
69
|
align-items: flex-start;
|
|
70
70
|
gap: ${a.sp5};
|
|
71
|
-
`,Xt=i(
|
|
71
|
+
`,Xt=i(Ue)`
|
|
72
72
|
flex-direction: row;
|
|
73
73
|
justify-content: space-between;
|
|
74
|
-
`,
|
|
74
|
+
`,We=i(Rt)`
|
|
75
75
|
color: ${e=>e.theme.colors.brandColorGold};
|
|
76
|
-
`,ea=i(
|
|
76
|
+
`,ea=i(Nt)`
|
|
77
77
|
color: ${e=>e.theme.colors.brandColorJade};
|
|
78
78
|
`,ta=i(Dt)`
|
|
79
79
|
color: ${n.neutralGrey5Light};
|
|
@@ -101,11 +101,11 @@ import{d2 as St,t as jt,fk as vt,l as M,ff as v,X as pe,M as Be,o as a,u as _e,j
|
|
|
101
101
|
animation: ${qt(e.slideUpCount)}
|
|
102
102
|
${(e.slideUpCount-1)*3.5}s ease-out infinite;
|
|
103
103
|
`}
|
|
104
|
-
`,
|
|
104
|
+
`,Ge=i.div`
|
|
105
105
|
display: flex;
|
|
106
106
|
flex-direction: column;
|
|
107
107
|
align-items: flex-start;
|
|
108
|
-
`,na=i(
|
|
108
|
+
`,na=i(Ot)`
|
|
109
109
|
width: ${a.sp3};
|
|
110
110
|
height: ${a.sp3};
|
|
111
111
|
color: ${n.success};
|
|
@@ -123,7 +123,7 @@ import{d2 as St,t as jt,fk as vt,l as M,ff as v,X as pe,M as Be,o as a,u as _e,j
|
|
|
123
123
|
position: absolute;
|
|
124
124
|
top: 37px;
|
|
125
125
|
right: -46px;
|
|
126
|
-
`,
|
|
126
|
+
`,Ye=i.div``,la=i.div`
|
|
127
127
|
border: 1px solid ${n.neutralGrey5Light};
|
|
128
128
|
border-radius: ${a.sp12};
|
|
129
129
|
width: fit-content;
|
|
@@ -149,7 +149,7 @@ import{d2 as St,t as jt,fk as vt,l as M,ff as v,X as pe,M as Be,o as a,u as _e,j
|
|
|
149
149
|
color: ${n.neutralGrey5Light};
|
|
150
150
|
`,ua=i(zt)`
|
|
151
151
|
color: ${n.neutralGrey5Light};
|
|
152
|
-
`,_={contentContainerMargin:new B(I[3],I[4],I[8]),infoSubheadingTextMarginTop:new B(I[0],I[0]),cardsMinWidth:new B(343,353)},ga={remainingText:new Tt("largeRegular","largeRegular")},{spendManagement:{chargeCard:{payEarly:m,cardList:$,chargeCardsPromo:c}},common:f,dateFormat:V}=Be.getLocalizedStrings(),mi=({chargeCardListView:e,searchText:s,admins:l,companyLegalName:h,isCashbackFeatureEnabled:r,creditCardPayNowThreshold:u,isChargeCardFeatureEnabled:d,isDebitCardFeatureEnabled:p,isDebitCardSetupEnabled:g,isChargeCardSetupEnabled:x,companyChargeCardInfoCreditAccountLimit:Ve,controllerEmails:q,depositAccountListWithDebitCardIssued:k,chargeCardCashbackDetailState:P,uiState:Ze,signedInUser:qe,creditLimit:F,cashbackRate:K,onSearchTextChanged:Ke,onClickSetupIcon:Qe,isEarlyPayEnabled:L,onClickStatementsIcon:Xe,onChargeCardRowClick:et,onChargeCardResendInviteClick:tt,onChargeCardRevokeInviteClick:at,onIssueCardClick:it,onBackClick:rt,onReloadCards:nt,onTotalCashbackClick:ot,onColumnSortConfigChanged:st,onClickMenuIcon:dt,onPromoCardClick:Ce,onCreateNowClick:fe,showPayNowInfoTooltip:lt,navigateToCreditCardPaymentPage:W,shouldShowPayNowInfoTooltip:Q})=>{const U=St().analytics,[ye,ct]=N.useState(!1),{creditAccount:S,creditAccountRepayment:y}=e,X=jt(),T=!!X.loggedInUserRole.includes("charge_card_user"),Y=vt(X),w=M.hasChargeCardAdminLevelAccess(X.loggedInUserRoleMap),R=w===!0?{creditCardCashbackOffer:`${P.cashbackAnalytics.creditCardCashbackOffer}%`,debitCardCashbackOffer:`${P.cashbackAnalytics.debitCardCashbackOffer}%`,totalEarnedCashback:v(P.cashbackSummary.cashbackEarned.amount),redeemedCashback:v(P.cashbackSummary.cashbackRedeemed.amount),availableCashback:v(P.cashbackSummary.cashbackAvailable.amount),creditCardCashbackRedemptionMode:P.cashbackAnalytics.creditCardCashbackRedemptionMode,debitCardCashbackRedemptionMode:P.cashbackAnalytics.debitCardCashbackRedemptionMode}:void 0,ee=d&&x&&w===!0?{creditAccountId:S.id,creditAccountLimit:v(S.limit.amount),creditAccountAvailableAmount:v(S.available.amount),creditAccountSpentAmount:v(S.balance.amount+S.hold.amount),creditAccountStatus:S.status,outstandingBalance:v(y.remainingAmountDue.amount)}:void 0,te=p&&g?{debitAccountId:k.depositAccounts.map(o=>o.id),debitAccountName:k.depositAccounts.map(o=>o.accountName),debitAccountBalance:k.depositAccounts.map(o=>v(o.accountBalance.available.amount)),debitCardsSpend:v(e.debitCardSummary?.currentMonthSpends?.amount??0),debitAccountStatus:k.depositAccounts.map(o=>o.accountStatus)}:void 0,ae={isCreditCardOffered:d,isDebitCardOffered:p,isDebitCardEnabled:g,isCreditCardEnabled:x},ht=o=>{ct(o),o===!0&&(U.trackCardsListPageClicked("search"),(!d||S.fetchState==="Completed"&&y.fetchState==="Completed")&&(!(p&&g)||k.fetchState==="Completed")&&R!=null&&U.trackCardsCardListSearchClick(q,ae,R,ee,te))},b=pe(),we=Y&&!w,$e=e.creditAccount.balance.amount+e.creditAccount.hold.amount,D={amount:$e,currencyCode:e.creditAccount.balance.currencyCode,currencySymbol:e.creditAccount.balance.currencySymbol},ie=Math.round(D.amount*100/e.creditAccount.limit.amount),pt=isNaN(ie)?0:$e!==0&&ie===0?1:ie,z=e.chargeCardConfig.rePaymentInfo?.cardLimitResetDate,re=w&&D.amount>u*e.creditAccount.limit.amount/100,O=z!=null&&y.initiatedRepayments.amount>0,mt={entity:"charge_cards",showNewButtonOnNavbar:w,showEntityEmailInfoIconOnNavbar:!1,newButtonLabel:w?$.newBtnLabel:f.strings.empty,hideSearchBtn:T,searchTextBoxStyle:{right:we?a.sp4:"96px"},moreIconContainerStyle:{paddingRight:we?a.sp0:a.sp4},isSearchOpen:ye,searchPlaceHolder:$.searchPlaceHolder,searchText:s,showSettingsIcon:!T,showSettingsIconOnNavbar:w,showStatementButtonOnNavbar:d&&x,showPayEarlyButtonOnNavbar:L&&w&&D.amount>0&&!O&&!re,showDownloadButtonOnNavbar:!1,disableDownloadButton:!0,analytics:U,onSearchOpen:ht,onSearchTextChanged:Ke,onClickSetupIcon:Qe,onClickStatementsIcon:Xe,downloadState:"Not-Started",onNewButtonClick:it,onClickPayEarlyIcon:()=>W("More Button","Pay Early"),onMenuOpen:()=>{(!d||S.fetchState==="Completed"&&y.fetchState==="Completed")&&(!(p&&g)||k.fetchState==="Completed")&&R!=null&&U.trackCardsCardListMoreMenuClick(q,ae,R,ee,te)},filters:{categoryCombinationOperator:"AND",categories:[]}},ut=t.jsx(Ft,{spendManagementSectionProps:mt}),gt=e.cards.length===0?!1:T&&M.anyCardOnHold(e.cards),xt=e.fetchState==="Completed"?Sa({isChargeCardFeatureEnabled:d,isChargeCardSetupEnabled:x,isDebitCardFeatureEnabled:p,isDebitCardSetupEnabled:g}):"",G=e.debitCardSummary!=null?e.debitCardSummary.currentMonthSpends.amount-e.debitCardSummary.lastCompletedMonthSpends.amount:0,bt=d&&x&&e.hasCreditCard,Ct=p&&g&&e.hasDebitCard,ft=d&&x&&Y&&!w,yt=p&&g&&Y&&!w,H=e.chargeCardConfig.rePaymentInfo?.rePaymentDueDate?.diff(M.dateNow(),"days")??0,ne=[m.payNow,H>0&&H<11?`${m.billDueIn} ${H} ${H===1?f.timeStrings.day:f.timeStrings.days}`:m.creditLimitLow,m.payNow],Se=y.initiatedRepayments.amount===S.balance.amount+S.hold.amount,oe=[m.paymentInitiated,`${$.header.limit} ${Se?f.resets:f.updates} ${f.by} ${M.zeniDate(M.getNextNthWorkingDay(y.initiatedRepaymentDate?.toDate()??M.dateNow().toDate(),[0,6],3).toDateString()).format(V.visual.MMMDFormat)}`,m.paymentInitiated],se=N.useRef(null),de=N.useRef(null),wt=_e(),[$t,je]=N.useState(!0);return N.useEffect(()=>{const o=()=>{de.current&&(de.current.getBoundingClientRect().top<(b==="small"?68:40)?je(!1):je(!0))};o();const j=()=>{o()},J=se.current;return J&&J.addEventListener("scroll",j),window.addEventListener("scroll",j),()=>{J&&J.removeEventListener("scroll",j),window.removeEventListener("scroll",j)}},[b]),t.jsxs(Aa,{ref:se,children:[t.jsx(kt,{title:xt,showBackButton:!0,showMenuIcon:b==="medium-compact"||b==="small",onClickMenuIcon:dt,style:{zIndex:3},onBackClick:rt,rightSideComponent:ut,isSearchOpen:ye,hideSearchBtn:T,scrollableContent:se,source:"ChargeCardListPage",backgroundColor:wt.colors.grey4}),e.fetchState==="Not-Started"||e.fetchState==="In-Progress"?t.jsx(Pt,{fetchState:e.fetchState,styles:{margin:"auto"}}):t.jsxs(t.Fragment,{children:[T?null:t.jsxs(Ea,{windowSize:b,children:[bt||ft?t.jsxs(Ee,{windowSize:b,children:[t.jsxs(ze,{children:[t.jsxs(Oe,{children:[t.jsxs(Ne,{children:[t.jsx(Re,{children:$.creditCardBalance}),t.jsx(A,{amount:D,integerStyles:{...C.h5Regular.cssObject},decimalStyles:{...C.largeSemiBold.cssObject}})]}),t.jsxs(Pa,{children:[t.jsx(Z,{style:{textAlign:"end"},children:f.texts.limit}),t.jsx(A,{amount:e.creditAccount.limit,style:{justifyContent:"end"},integerStyles:C.largeRegular.cssObject,decimalStyles:C.smallRegular.cssObject})]})]}),t.jsx(Ba,{children:t.jsx(_a,{style:{width:`${pt}%`,borderRadius:a.sp1}})}),re&&!O&&L?t.jsx(le,{placement:"bottom",style:{color:n.heroDark,padding:`12px ${a.sp3}`},title:t.jsx(wa,{children:m.creditLimitIsRunningLow}),children:t.jsxs(Le,{children:[t.jsx(A,{amount:e.creditAccount.available,integerStyles:C.largeMedium.cssObject,decimalStyles:C.smallMedium.cssObject}),t.jsx(De,{windowSize:b,children:f.texts.remaining}),t.jsx($a,{children:t.jsx(ya,{})})]})}):t.jsxs(Le,{children:[t.jsx(A,{amount:e.creditAccount.available,integerStyles:C.largeMedium.cssObject,decimalStyles:C.smallMedium.cssObject}),t.jsx(De,{windowSize:b,children:f.texts.remaining})]})]}),t.jsxs(Ia,{showPaymentInitiatedInfo:O,isEarlyPayEnabled:L,children:[O&&L?null:t.jsx(Z,{children:`${f.texts.limitReset} ${z!=null?z.format(V.visual.MMMDFormat):null}`}),w&&L&&(O?t.jsx("div",{children:t.jsx(le,{maxWidth:"242px",style:{padding:`12px ${a.sp3}`},title:t.jsxs(ja,{children:[t.jsx(Ae,{children:`${m.paymentOf} ${It("0,0.[00]",{amount:y.initiatedRepayments.amount,currencyCode:y.initiatedRepayments.currencyCode,currencySymbol:y.initiatedRepayments.currencySymbol})} ${m.madeOn} `}),t.jsx(va,{children:y.initiatedRepaymentDate?.format(V.visual.MMMDFormat)}),f.strings.space,t.jsx(Ae,{children:Se?m.isProcessingAndWillResetTheCreditLimitIn23BusinessDays:m.isProcessingAndWillUpdateTheCreditLimitIn23BusinessDays})]}),placement:"bottom",children:t.jsxs(Ie,{hasPointer:!1,children:[oe.length>0&&t.jsx(he,{slideUpCount:oe.length,style:{alignItems:"flex-end",width:"auto"},children:oe.map((o,j)=>t.jsx(ba,{children:o},`card-payment-initiated-${j.toString()}`))}),t.jsx(fa,{})]})})}):re?t.jsx(le,{variant:"informative",arrow:!0,style:{top:a.sp2,left:"22px",position:"relative"},data:{preHeading:"URGENT",heading:m.creditLimitIsLow,description:m.transactionsMayBeDeclinedBecauseTheCreditLimitIsRunningLow,buttonText:m.payNow,tooltipContentStyle:{width:"240px",boxSizing:"content-box",gap:a.sp0},tooltipIntroductionStyle:{color:n.important},buttonStyle:{width:"31%"},onButtonClick:()=>{Q(!1),W("Toast Button","Pay Now")},showCloseButton:!0,onClose:o=>{o.preventDefault(),o.stopPropagation(),Q(!1)}},title:"informative",placement:"bottom-end",open:lt&&$t,children:t.jsxs(Ie,{ref:de,onClick:()=>{Q(!1),W("Text Button","Pay Now")},hasPointer:!0,children:[ne.length>0&&t.jsx(he,{slideUpCount:ne.length,style:{alignItems:"flex-end",width:"auto"},children:ne.map((o,j)=>t.jsx(xa,{isImportant:j===1,children:o},`card-pay-now-${j.toString()}`))}),t.jsx(Te,{})]})}):D.amount>0?t.jsxs(Ca,{onClick:()=>W("Text Button","Pay Early"),children:[m.payEarly,t.jsx(Te,{})]}):null)]})]}):d&&x?t.jsx(Pe,{cardType:"creditCard",header:c.listPage.spendSmarter,title:c.listPage.setUpText.replace("__cardType__",c.listPage.credit),creditLimit:ce("0,0",F.amount,F.currencySymbol),onCreateNowClick:fe}):d?t.jsx(ke,{cardPromoType:"credit",cardText:c.listPage.creditCards,header:c.listPage.getAccessTo,title:c.listPage.creditCards,subTitle:c.listPage.promoSubText.credit,slidingTextList:Me("credit",K,{amount:Ve,currencyCode:F.currencyCode,currencySymbol:F.currencySymbol}),onClick:Ce}):null,Ct||yt?t.jsxs(Ee,{windowSize:b,children:[t.jsxs(ze,{children:[t.jsx(Oe,{children:t.jsxs(Ne,{children:[t.jsx(Re,{children:$.debitCardSpend}),t.jsx(A,{amount:e.debitCardSummary?.currentMonthSpends,integerStyles:{...C.h5Regular.cssObject},decimalStyles:{...C.largeSemiBold.cssObject}})]})}),t.jsx(Ra,{children:G!==0?t.jsxs(t.Fragment,{children:[G<0?t.jsx(za,{}):t.jsx(Oa,{}),t.jsx(Da,{hasNegativeValue:G<0,children:ce("0,0.00",G,e.debitCardSummary?.currentMonthSpends.currencySymbol)}),t.jsx(Je,{children:$.compareToLastMonth})]}):null})]}),t.jsx(He,{children:t.jsx(Z,{children:`${f.texts.limitReset} ${z!=null?z.format(V.visual.MMMDFormat):null}`})})]}):p&&g?t.jsx(Pe,{cardType:"debitCard",header:c.listPage.spendSmarter,title:c.listPage.setUpText.replace("__cardType__",c.listPage.debit),onCreateNowClick:fe}):p?t.jsx(ke,{cardPromoType:"debit",cardText:c.listPage.debitCards,header:c.listPage.getAccessTo,title:c.listPage.debitCards,subTitle:c.listPage.promoSubText.debit,slidingTextList:Me("debit",K),onClick:Ce}):null,t.jsxs(La,{windowSize:b,children:[r?t.jsxs(ka,{children:[t.jsx(Z,{style:{textAlign:"start"},children:$.totalCashback}),t.jsx(A,{amount:e.totalCashback,style:{justifyContent:"flex-start"},integerStyles:C.h5Regular.cssObject,decimalStyles:C.smallSemiBold.cssObject}),e.totalCashback.amount>0?t.jsx(Ma,{windowSize:b,children:t.jsxs(Na,{windowSize:b,onClick:ot,"data-testid":me("total-cashback-info"),children:[t.jsx(Ta,{children:$.overview}),t.jsx(Fa,{})]})}):null]}):null,t.jsx(Ua,{children:t.jsx(Ya,{})})]})]}),e.cards.length===0&&T===!0||gt?t.jsx(Wa,{children:t.jsx(Wt,{companyLegalName:h,cards:e.cards,admins:l,hasZeniFinopsRoles:Y,cashbackRate:K})}):t.jsx(Gt,{depositAccountListWithDebitCardIssued:k,cashbackInformation:R,creditAccountInformation:ee,debitAccountInformation:te,productInformation:ae,controllerEmails:q,isChargeCardFeatureEnabled:d,isDebitCardFeatureEnabled:p,isDebitCardSetupEnabled:g,isChargeCardSetupEnabled:x,creditAccount:e.creditAccount,creditAccountRepayment:y,cardList:e.cards,showViewForCardUser:!1,signedInUser:qe,fetchState:e.fetchState,onReloadCards:nt,onChargeCardRowClick:et,searchText:s,receiptBotEmail:e.chargeCardConfig.receiptBotEmail,uiState:Ze,resendInviteId:e?.resendCardInvite?.cardId,onColumnSortConfigChanged:st,onChargeCardResendInviteClick:tt,onChargeCardRevokeInviteClick:at})]})]})},xa=i(Fe)`
|
|
152
|
+
`,_={contentContainerMargin:new B(I[3],I[4],I[8]),infoSubheadingTextMarginTop:new B(I[0],I[0]),cardsMinWidth:new B(343,353)},ga={remainingText:new Tt("largeRegular","largeRegular")},{spendManagement:{chargeCard:{payEarly:m,cardList:$,chargeCardsPromo:c}},common:f,dateFormat:V}=Be.getLocalizedStrings(),mi=({chargeCardListView:e,searchText:s,admins:l,companyLegalName:h,isCashbackFeatureEnabled:r,creditCardPayNowThreshold:u,isChargeCardFeatureEnabled:d,isDebitCardFeatureEnabled:p,isDebitCardSetupEnabled:g,isChargeCardSetupEnabled:x,companyChargeCardInfoCreditAccountLimit:Ve,controllerEmails:q,depositAccountListWithDebitCardIssued:k,chargeCardCashbackDetailState:P,uiState:Ze,signedInUser:qe,creditLimit:F,cashbackRate:K,onSearchTextChanged:Ke,onClickSetupIcon:Qe,isEarlyPayEnabled:L,onClickStatementsIcon:Xe,onChargeCardRowClick:et,onChargeCardResendInviteClick:tt,onChargeCardRevokeInviteClick:at,onIssueCardClick:it,onBackClick:rt,onReloadCards:nt,onTotalCashbackClick:ot,onColumnSortConfigChanged:st,onClickMenuIcon:dt,onPromoCardClick:Ce,onCreateNowClick:fe,showPayNowInfoTooltip:lt,navigateToCreditCardPaymentPage:U,shouldShowPayNowInfoTooltip:Q})=>{const W=St().analytics,[ye,ct]=O.useState(!1),{creditAccount:S,creditAccountRepayment:y}=e,X=jt(),T=!!X.loggedInUserRole.includes("charge_card_user"),G=vt(X),w=M.hasChargeCardAdminLevelAccess(X.loggedInUserRoleMap),R=w===!0?{creditCardCashbackOffer:`${P.cashbackAnalytics.creditCardCashbackOffer}%`,debitCardCashbackOffer:`${P.cashbackAnalytics.debitCardCashbackOffer}%`,totalEarnedCashback:v(P.cashbackSummary.cashbackEarned.amount),redeemedCashback:v(P.cashbackSummary.cashbackRedeemed.amount),availableCashback:v(P.cashbackSummary.cashbackAvailable.amount),creditCardCashbackRedemptionMode:P.cashbackAnalytics.creditCardCashbackRedemptionMode,debitCardCashbackRedemptionMode:P.cashbackAnalytics.debitCardCashbackRedemptionMode}:void 0,ee=d&&x&&w===!0?{creditAccountId:S.id,creditAccountLimit:v(S.limit.amount),creditAccountAvailableAmount:v(S.available.amount),creditAccountSpentAmount:v(S.balance.amount+S.hold.amount),creditAccountStatus:S.status,outstandingBalance:v(y.remainingAmountDue.amount)}:void 0,te=p&&g?{debitAccountId:k.depositAccounts.map(o=>o.id),debitAccountName:k.depositAccounts.map(o=>o.accountName),debitAccountBalance:k.depositAccounts.map(o=>v(o.accountBalance.available.amount)),debitCardsSpend:v(e.debitCardSummary?.currentMonthSpends?.amount??0),debitAccountStatus:k.depositAccounts.map(o=>o.accountStatus)}:void 0,ae={isCreditCardOffered:d,isDebitCardOffered:p,isDebitCardEnabled:g,isCreditCardEnabled:x},ht=o=>{ct(o),o===!0&&(W.trackCardsListPageClicked("search"),(!d||S.fetchState==="Completed"&&y.fetchState==="Completed")&&(!(p&&g)||k.fetchState==="Completed")&&R!=null&&W.trackCardsCardListSearchClick(q,ae,R,ee,te))},b=pe(),we=G&&!w,$e=e.creditAccount.balance.amount+e.creditAccount.hold.amount,D={amount:$e,currencyCode:e.creditAccount.balance.currencyCode,currencySymbol:e.creditAccount.balance.currencySymbol},ie=Math.round(D.amount*100/e.creditAccount.limit.amount),pt=isNaN(ie)?0:$e!==0&&ie===0?1:ie,z=e.chargeCardConfig.rePaymentInfo?.cardLimitResetDate,re=w&&D.amount>u*e.creditAccount.limit.amount/100,N=z!=null&&y.initiatedRepayments.amount>0,mt={entity:"charge_cards",showNewButtonOnNavbar:w,showEntityEmailInfoIconOnNavbar:!1,newButtonLabel:w?$.newBtnLabel:f.strings.empty,hideSearchBtn:T,searchTextBoxStyle:{right:we?a.sp4:"96px"},moreIconContainerStyle:{paddingRight:we?a.sp0:a.sp4},isSearchOpen:ye,searchPlaceHolder:$.searchPlaceHolder,searchText:s,showSettingsIcon:!T,showSettingsIconOnNavbar:w,showStatementButtonOnNavbar:d&&x,showPayEarlyButtonOnNavbar:L&&w&&D.amount>0&&!N&&!re,showDownloadButtonOnNavbar:!1,disableDownloadButton:!0,analytics:W,onSearchOpen:ht,onSearchTextChanged:Ke,onClickSetupIcon:Qe,onClickStatementsIcon:Xe,downloadState:"Not-Started",onNewButtonClick:it,onClickPayEarlyIcon:()=>U("More Button","Pay Early"),onMenuOpen:()=>{(!d||S.fetchState==="Completed"&&y.fetchState==="Completed")&&(!(p&&g)||k.fetchState==="Completed")&&R!=null&&W.trackCardsCardListMoreMenuClick(q,ae,R,ee,te)},filters:{categoryCombinationOperator:"AND",categories:[]}},ut=t.jsx(Ft,{spendManagementSectionProps:mt}),gt=e.cards.length===0?!1:T&&M.anyCardOnHold(e.cards),xt=e.fetchState==="Completed"?Sa({isChargeCardFeatureEnabled:d,isChargeCardSetupEnabled:x,isDebitCardFeatureEnabled:p,isDebitCardSetupEnabled:g}):"",Y=e.debitCardSummary!=null?e.debitCardSummary.currentMonthSpends.amount-e.debitCardSummary.lastCompletedMonthSpends.amount:0,bt=d&&x&&e.hasCreditCard,Ct=p&&g&&e.hasDebitCard,ft=d&&x&&G&&!w,yt=p&&g&&G&&!w,H=e.chargeCardConfig.rePaymentInfo?.rePaymentDueDate?.diff(M.dateNow(),"days")??0,ne=[m.payNow,H>0&&H<11?`${m.billDueIn} ${H} ${H===1?f.timeStrings.day:f.timeStrings.days}`:m.creditLimitLow,m.payNow],Se=y.initiatedRepayments.amount===S.balance.amount+S.hold.amount,oe=[m.paymentInitiated,`${$.header.limit} ${Se?f.resets:f.updates} ${f.by} ${M.zeniDate(M.getNextNthWorkingDay(y.initiatedRepaymentDate?.toDate()??M.dateNow().toDate(),[0,6],3).toDateString()).format(V.visual.MMMDFormat)}`,m.paymentInitiated],se=O.useRef(null),de=O.useRef(null),wt=_e(),[$t,je]=O.useState(!0);return O.useEffect(()=>{const o=()=>{de.current&&(de.current.getBoundingClientRect().top<(b==="small"?68:40)?je(!1):je(!0))};o();const j=()=>{o()},J=se.current;return J&&J.addEventListener("scroll",j),window.addEventListener("scroll",j),()=>{J&&J.removeEventListener("scroll",j),window.removeEventListener("scroll",j)}},[b]),t.jsxs(Aa,{ref:se,children:[t.jsx(kt,{title:xt,showBackButton:!0,showMenuIcon:b==="medium-compact"||b==="small",onClickMenuIcon:dt,style:{zIndex:3},onBackClick:rt,rightSideComponent:ut,isSearchOpen:ye,hideSearchBtn:T,scrollableContent:se,source:"ChargeCardListPage",backgroundColor:wt.colors.grey4}),e.fetchState==="Not-Started"||e.fetchState==="In-Progress"?t.jsx(Pt,{fetchState:e.fetchState,styles:{margin:"auto"}}):t.jsxs(t.Fragment,{children:[T?null:t.jsxs(Ea,{windowSize:b,children:[bt||ft?t.jsxs(Ee,{windowSize:b,children:[t.jsxs(ze,{children:[t.jsxs(Ne,{children:[t.jsxs(Oe,{children:[t.jsx(Re,{children:$.creditCardBalance}),t.jsx(A,{amount:D,integerStyles:{...C.h5Regular.cssObject},decimalStyles:{...C.largeSemiBold.cssObject}})]}),t.jsxs(Pa,{children:[t.jsx(Z,{style:{textAlign:"end"},children:f.texts.limit}),t.jsx(A,{amount:e.creditAccount.limit,style:{justifyContent:"end"},integerStyles:C.largeRegular.cssObject,decimalStyles:C.smallRegular.cssObject})]})]}),t.jsx(Ba,{children:t.jsx(_a,{style:{width:`${pt}%`,borderRadius:a.sp1}})}),re&&!N&&L?t.jsx(le,{placement:"bottom",style:{color:n.heroDark,padding:`12px ${a.sp3}`},title:t.jsx(wa,{children:m.creditLimitIsRunningLow}),children:t.jsxs(Le,{children:[t.jsx(A,{amount:e.creditAccount.available,integerStyles:C.largeMedium.cssObject,decimalStyles:C.smallMedium.cssObject}),t.jsx(De,{windowSize:b,children:f.texts.remaining}),t.jsx($a,{children:t.jsx(ya,{})})]})}):t.jsxs(Le,{children:[t.jsx(A,{amount:e.creditAccount.available,integerStyles:C.largeMedium.cssObject,decimalStyles:C.smallMedium.cssObject}),t.jsx(De,{windowSize:b,children:f.texts.remaining})]})]}),t.jsxs(Ia,{showPaymentInitiatedInfo:N,isEarlyPayEnabled:L,children:[N&&L?null:t.jsx(Z,{children:`${f.texts.limitReset} ${z!=null?z.format(V.visual.MMMDFormat):null}`}),w&&L&&(N?t.jsx("div",{children:t.jsx(le,{maxWidth:"242px",style:{padding:`12px ${a.sp3}`},title:t.jsxs(ja,{children:[t.jsx(Ae,{children:`${m.paymentOf} ${It("0,0.[00]",{amount:y.initiatedRepayments.amount,currencyCode:y.initiatedRepayments.currencyCode,currencySymbol:y.initiatedRepayments.currencySymbol})} ${m.madeOn} `}),t.jsx(va,{children:y.initiatedRepaymentDate?.format(V.visual.MMMDFormat)}),f.strings.space,t.jsx(Ae,{children:Se?m.isProcessingAndWillResetTheCreditLimitIn23BusinessDays:m.isProcessingAndWillUpdateTheCreditLimitIn23BusinessDays})]}),placement:"bottom",children:t.jsxs(Ie,{hasPointer:!1,children:[oe.length>0&&t.jsx(he,{slideUpCount:oe.length,style:{alignItems:"flex-end",width:"auto"},children:oe.map((o,j)=>t.jsx(ba,{children:o},`card-payment-initiated-${j.toString()}`))}),t.jsx(fa,{})]})})}):re?t.jsx(le,{variant:"informative",arrow:!0,style:{top:a.sp2,left:"22px",position:"relative"},data:{preHeading:"URGENT",heading:m.creditLimitIsLow,description:m.transactionsMayBeDeclinedBecauseTheCreditLimitIsRunningLow,buttonText:m.payNow,tooltipContentStyle:{width:"240px",boxSizing:"content-box",gap:a.sp0},tooltipIntroductionStyle:{color:n.important},buttonStyle:{width:"31%"},onButtonClick:()=>{Q(!1),U("Toast Button","Pay Now")},showCloseButton:!0,onClose:o=>{o.preventDefault(),o.stopPropagation(),Q(!1)}},title:"informative",placement:"bottom-end",open:lt&&$t,children:t.jsxs(Ie,{ref:de,onClick:()=>{Q(!1),U("Text Button","Pay Now")},hasPointer:!0,children:[ne.length>0&&t.jsx(he,{slideUpCount:ne.length,style:{alignItems:"flex-end",width:"auto"},children:ne.map((o,j)=>t.jsx(xa,{isImportant:j===1,children:o},`card-pay-now-${j.toString()}`))}),t.jsx(Te,{})]})}):D.amount>0?t.jsxs(Ca,{onClick:()=>U("Text Button","Pay Early"),children:[m.payEarly,t.jsx(Te,{})]}):null)]})]}):d&&x?t.jsx(Pe,{cardType:"creditCard",header:c.listPage.spendSmarter,title:c.listPage.setUpText.replace("__cardType__",c.listPage.credit),creditLimit:ce("0,0",F.amount,F.currencySymbol),onCreateNowClick:fe}):d?t.jsx(ke,{cardPromoType:"credit",cardText:c.listPage.creditCards,header:c.listPage.getAccessTo,title:c.listPage.creditCards,subTitle:c.listPage.promoSubText.credit,slidingTextList:Me("credit",K,{amount:Ve,currencyCode:F.currencyCode,currencySymbol:F.currencySymbol}),onClick:Ce}):null,Ct||yt?t.jsxs(Ee,{windowSize:b,children:[t.jsxs(ze,{children:[t.jsx(Ne,{children:t.jsxs(Oe,{children:[t.jsx(Re,{children:$.debitCardSpend}),t.jsx(A,{amount:e.debitCardSummary?.currentMonthSpends,integerStyles:{...C.h5Regular.cssObject},decimalStyles:{...C.largeSemiBold.cssObject}})]})}),t.jsx(Ra,{children:Y!==0?t.jsxs(t.Fragment,{children:[Y<0?t.jsx(za,{}):t.jsx(Na,{}),t.jsx(Da,{hasNegativeValue:Y<0,children:ce("0,0.00",Y,e.debitCardSummary?.currentMonthSpends.currencySymbol)}),t.jsx(Je,{children:$.compareToLastMonth})]}):null})]}),t.jsx(He,{children:t.jsx(Z,{children:`${f.texts.limitReset} ${z!=null?z.format(V.visual.MMMDFormat):null}`})})]}):p&&g?t.jsx(Pe,{cardType:"debitCard",header:c.listPage.spendSmarter,title:c.listPage.setUpText.replace("__cardType__",c.listPage.debit),onCreateNowClick:fe}):p?t.jsx(ke,{cardPromoType:"debit",cardText:c.listPage.debitCards,header:c.listPage.getAccessTo,title:c.listPage.debitCards,subTitle:c.listPage.promoSubText.debit,slidingTextList:Me("debit",K),onClick:Ce}):null,t.jsxs(La,{windowSize:b,children:[r?t.jsxs(ka,{children:[t.jsx(Z,{style:{textAlign:"start"},children:$.totalCashback}),t.jsx(A,{amount:e.totalCashback,style:{justifyContent:"flex-start"},integerStyles:C.h5Regular.cssObject,decimalStyles:C.smallSemiBold.cssObject}),e.totalCashback.amount>0?t.jsx(Ma,{windowSize:b,children:t.jsxs(Oa,{windowSize:b,onClick:ot,"data-testid":me("total-cashback-info"),children:[t.jsx(Ta,{children:$.overview}),t.jsx(Fa,{})]})}):null]}):null,t.jsx(Wa,{children:t.jsx(Ga,{})})]})]}),e.cards.length===0&&T===!0||gt?t.jsx(Ua,{children:t.jsx(Ut,{companyLegalName:h,cards:e.cards,admins:l,hasZeniFinopsRoles:G,cashbackRate:K})}):t.jsx(Yt,{depositAccountListWithDebitCardIssued:k,cashbackInformation:R,creditAccountInformation:ee,debitAccountInformation:te,productInformation:ae,controllerEmails:q,isChargeCardFeatureEnabled:d,isDebitCardFeatureEnabled:p,isDebitCardSetupEnabled:g,isChargeCardSetupEnabled:x,creditAccount:e.creditAccount,creditAccountRepayment:y,cardList:e.cards,showViewForCardUser:!1,signedInUser:qe,fetchState:e.fetchState,onReloadCards:nt,onChargeCardRowClick:et,searchText:s,receiptBotEmail:e.chargeCardConfig.receiptBotEmail,uiState:Ze,resendInviteId:e?.resendCardInvite?.cardId,onColumnSortConfigChanged:st,onChargeCardResendInviteClick:tt,onChargeCardRevokeInviteClick:at})]})]})},xa=i(Fe)`
|
|
153
153
|
color: ${e=>e.isImportant?n.important:e.theme.colors.primary};
|
|
154
154
|
text-align: end;
|
|
155
155
|
`,ba=i(Fe)`
|
|
@@ -307,11 +307,11 @@ import{d2 as St,t as jt,fk as vt,l as M,ff as v,X as pe,M as Be,o as a,u as _e,j
|
|
|
307
307
|
color: ${n.success};
|
|
308
308
|
width: ${a.sp3};
|
|
309
309
|
height: ${a.sp3};
|
|
310
|
-
`,
|
|
310
|
+
`,Na=i(Zt)`
|
|
311
311
|
color: ${n.important};
|
|
312
312
|
width: ${a.sp3};
|
|
313
313
|
height: ${a.sp3};
|
|
314
|
-
`,
|
|
314
|
+
`,Oa=i(ge)`
|
|
315
315
|
color: ${e=>e.theme.colors.hero};
|
|
316
316
|
margin-top: ${e=>_.infoSubheadingTextMarginTop.valuePx(e.windowSize)};
|
|
317
317
|
gap: ${a.sp1};
|
|
@@ -338,18 +338,18 @@ import{d2 as St,t as jt,fk as vt,l as M,ff as v,X as pe,M as Be,o as a,u as _e,j
|
|
|
338
338
|
color: inherit;
|
|
339
339
|
width: ${a.sp2};
|
|
340
340
|
height: ${a.sp2};
|
|
341
|
-
`,
|
|
341
|
+
`,Ua=i.div`
|
|
342
342
|
display: flex;
|
|
343
343
|
flex-direction: column;
|
|
344
344
|
margin: ${a.sp0} ${a.sp2} ${a.sp7} ${a.sp2};
|
|
345
345
|
`,ze=i.div`
|
|
346
346
|
padding: ${a.sp4};
|
|
347
347
|
padding-bottom: ${a.sp2};
|
|
348
|
-
`,
|
|
348
|
+
`,Ne=i.div`
|
|
349
349
|
display: flex;
|
|
350
350
|
justify-content: space-between;
|
|
351
351
|
align-items: center;
|
|
352
|
-
`,
|
|
352
|
+
`,Oe=i.div``,Wa=i.div`
|
|
353
353
|
height: ${a.sp10};
|
|
354
354
|
width: ${a.sp10};
|
|
355
|
-
`;function
|
|
355
|
+
`;function Ga(){switch(_e().mode){case"light":return t.jsx(Jt,{});case"dark":default:return t.jsx(Ht,{})}}export{mi as default,Me as getPromoSlidingTextList};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as i,X as V,t as ee,d2 as fi,u as de,fc as $i,i7 as vi,i8 as Ci,i9 as yi,Y as b,M as _,bL as ji,v as oe,g as y,ai as bi,bT as ki,ia as Si,ib as Ii,o as r,
|
|
1
|
+
import{j as i,X as V,t as ee,d2 as fi,u as de,fc as $i,i7 as vi,i8 as Ci,i9 as yi,Y as b,M as _,bL as ji,v as oe,g as y,ai as bi,bT as ki,ia as Si,ib as Ii,o as r,be as zi,a5 as Li,C as p,eu as Ri,ao as Pi,ic as Di,a6 as Ui,ax as Ni,w as F,fe as Ti,n as a,dq as Vi,_ as T,bV as De,c as Ue,bs as le,bl as _i,f as k,bY as we,q as U,i1 as ue,b4 as Ne,bc as Te,id as Mi,b$ as Oi,a7 as Q,ie as Ei,ig as Fi}from"./index-DyBH5SZv.js";import{b as C,n as o,f as Wi,j as fe}from"./vendor-CnQcJ2Lu.js";import{R as Ve}from"./Menu-B6Fh2Mf9-B_ofMkAs.js";import{T as _e}from"./RoleWithToolTip-B3hm-1rz-OZzvKPZJ.js";import{R as ce}from"./CardNumberSubText-iYF6MLsf-BnbFJt1d.js";import{_ as Me}from"./ChargeCardUtils-BvVm2SMq-B6pl3c2F.js";const W=_.getLocalizedStrings().spendManagement.chargeCard.cardList.header,Ai=_.getLocalizedStrings().common.strings.empty,$e={key:"owner",value:W.owner,sortOrder:"ascending",width:new p(120,120,160,200,200)},ve={key:"cardName",value:W.cardName,sortOrder:"ascending",width:new p(120,120,160,171,171)},Ce={key:"cardType",value:W.cardType,sortOrder:"ascending",width:new p(120,120,130,170,170)},ye={key:"status",value:W.status,sortOrder:"ascending",width:new p(115,115,125,132,132)},je={key:"utilisation",value:W.utilisation,sortOrder:"ascending",width:new p(a[11],a[11],a[11],a[12],120)},be={key:"limit",value:W.limit,sortOrder:"ascending",width:new p(68,68,68,a[11],100)},Oe=e=>e===!0?[{...$e,width:new p(0,0),value:Ai},ve,Ce,ye,je,be]:[$e,ve,Ce,ye,je,be],z={containerPaddingLeft:r.sp2,containerPaddingRight:r.sp3,containerPaddingTop:r.sp3,containerPaddingBottom:r.sp3,headerLastColumnTopPadding:new p(a[0],a[4]),headerLastColumnRightPadding:new p(a[3],a[11]),headerLastColumnBottomPadding:new p(a[0],a[4]),headerLastColumnLeftPadding:new p(a[3],a[11]),headerHeight:new p(Ei,Fi)};function Hi({companyNameSticky:e,sortConfig:t,showViewForCardUser:n,onColumnSortConfigChanged:h}){const d=de(),l=V(),x=!!ee().loggedInUserRole.includes("charge_card_user")||n,[c,w]=C.useState(Oe(x));C.useEffect(()=>{const s=[...c];for(const g of s)g.key===t.sortKey?g.sortOrder=t.sortOrder:g.sortOrder="ascending";w(s)},[t.sortKey,t.sortOrder]);const u=(s,g)=>{let $=g;t.sortKey===s&&($=g==="ascending"?"descending":"ascending"),h(s,$)},f=c.find(s=>s.key===t.sortKey)??(x?c[1]:c[0]),S=s=>c.find(g=>g.key===s)?.value??"",m=(x?c.filter(s=>s.key!=="owner"):c).map(s=>s.key),j=_.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?i.jsxs(Ji,{windowSize:l,children:[i.jsxs(Qi,{children:[i.jsx(Zi,{children:i.jsx(Xi,{})}),i.jsx(_i,{title:j.sortBy,placeholder:j.sortBy,pickerValues:m,valueToLabel:S,selectedValue:t.sortKey,onPickerSelectionChanged:s=>{u(s,"ascending")},optionTextStyle:oe.extraSmallRegular,titleTextStyle:oe.extraSmallRegular,titleColor:d.colors.primary,selectedOptionColor:d.colors.hero,optionBackgroundColor:d.colors.grey5,downChevronVisible:!1,backgroundColor:d.colors.grey4})]}),i.jsxs(rr,{onClick:()=>u(f.key,f.sortOrder),"data-testid":b("mobile-cards-list-sort-clicked",t.sortKey),children:[i.jsx(k,{children:f.value}),i.jsx(ke,{windowSize:l,sortDataValue:t.sortKey,headerdata:f,children:i.jsx(Se,{windowSize:l,children:i.jsx(we,{})})})]})]}):i.jsx(qi,{windowSize:l,children:i.jsx(Bi,{children:c.map(s=>s.width.value(l)!==0&&i.jsxs(Yi,{companyNameSticky:e,sortDataValue:t.sortKey,actualDataValue:s.key,wrapperWidth:s.width,windowSize:l,children:[i.jsxs(ir,{onClick:()=>u(s.key,s.sortOrder),"data-testid":b("cards-list-sort-clicked",t.sortKey),children:[i.jsx(k,{children:s.value}),i.jsx(ke,{windowSize:l,sortDataValue:t.sortKey,headerdata:s,children:i.jsx(Se,{windowSize:l,children:i.jsx(we,{})})})]}),i.jsx(er,{sortDataValue:t.sortKey,windowSize:l,isVisible:t.sortKey===s.key&&(x?s.key!=="cardName":s.key!=="owner"),children:i.jsx(Gi,{onClick:()=>u(x?"cardName":"owner","ascending"),"data-testid":b("cards-list-sort-cancel",t.sortKey)})})]},s.key))})})}const Ki=Wi.memo(Hi),qi=o.div`
|
|
2
2
|
top: ${r.sp0};
|
|
3
3
|
left: ${r.sp0};
|
|
4
4
|
z-index: 2;
|
|
@@ -14,7 +14,7 @@ import{j as i,X as V,t as ee,d2 as fi,u as de,fc as $i,i7 as vi,i8 as Ci,i9 as y
|
|
|
14
14
|
margin-left: ${r.sp8};
|
|
15
15
|
margin-right: ${r.sp8};
|
|
16
16
|
justify-content: space-between;
|
|
17
|
-
`,Ji=o(
|
|
17
|
+
`,Ji=o(F)`
|
|
18
18
|
top: ${r.sp0};
|
|
19
19
|
left: ${r.sp0};
|
|
20
20
|
min-height: ${e=>z.headerHeight.valuePx(e.windowSize)};
|
|
@@ -48,7 +48,7 @@ import{j as i,X as V,t as ee,d2 as fi,u as de,fc as $i,i7 as vi,i8 as Ci,i9 as y
|
|
|
48
48
|
overflow: hidden;
|
|
49
49
|
padding-left: ${r.sp3};
|
|
50
50
|
padding-right: ${r.sp3};
|
|
51
|
-
`,Gi=o(
|
|
51
|
+
`,Gi=o(Oi)`
|
|
52
52
|
width: ${r.sp3};
|
|
53
53
|
height: ${r.sp3};
|
|
54
54
|
cursor: pointer;
|
|
@@ -69,7 +69,7 @@ import{j as i,X as V,t as ee,d2 as fi,u as de,fc as $i,i7 as vi,i8 as Ci,i9 as y
|
|
|
69
69
|
gap: ${r.sp1};
|
|
70
70
|
display: flex;
|
|
71
71
|
color: ${e=>e.theme.colors.hero};
|
|
72
|
-
`,Xi=o(
|
|
72
|
+
`,Xi=o(Mi)`
|
|
73
73
|
width: ${r.sp3};
|
|
74
74
|
height: ${r.sp3};
|
|
75
75
|
color: inherit;
|
|
@@ -93,7 +93,7 @@ import{j as i,X as V,t as ee,d2 as fi,u as de,fc as $i,i7 as vi,i8 as Ci,i9 as y
|
|
|
93
93
|
cursor: pointer;
|
|
94
94
|
gap: 5px;
|
|
95
95
|
color: ${e=>e.theme.colors.primary};
|
|
96
|
-
`,{common:B,spendManagement:{billPay:{paymentDetails:{feePercent:or}},chargeCard:X}}=_.getLocalizedStrings(),P={containerPaddingLeft:new p(a[3],a[2]),containerPaddingRight:new p(a[2],a[3]),containerPaddingTop:new p(a[2],a[3]),containerPaddingBottom:new p(a[2],a[3]),containerMarginLeft:new p(a[4],a[8]),webkitLineClamp:new p(2,1,1,1,1)},tr=({cardDetail:e,showViewForCardUser:t,signedInUser:n,resendInviteId:h,index:d,onChargeCardRowClick:l,onChargeCardResendInviteClick:x,onChargeCardRevokeInviteClick:c})=>{const[w,u]=C.useState(!1),[f,S]=C.useState(!1),m=V(),j=!!ee().loggedInUserRole.includes("charge_card_user")||t,s=C.useCallback(()=>{l(e.id,d)},[e.id]),g=
|
|
96
|
+
`,{common:B,spendManagement:{billPay:{paymentDetails:{feePercent:or}},chargeCard:X}}=_.getLocalizedStrings(),P={containerPaddingLeft:new p(a[3],a[2]),containerPaddingRight:new p(a[2],a[3]),containerPaddingTop:new p(a[2],a[3]),containerPaddingBottom:new p(a[2],a[3]),containerMarginLeft:new p(a[4],a[8]),webkitLineClamp:new p(2,1,1,1,1)},tr=({cardDetail:e,showViewForCardUser:t,signedInUser:n,resendInviteId:h,index:d,onChargeCardRowClick:l,onChargeCardResendInviteClick:x,onChargeCardRevokeInviteClick:c})=>{const[w,u]=C.useState(!1),[f,S]=C.useState(!1),m=V(),j=!!ee().loggedInUserRole.includes("charge_card_user")||t,s=C.useCallback(()=>{l(e.id,d)},[e.id]),g=Me(e)/e.limit.amount*100,$=e?.cardHolderUserId===n.userId,R=Vi(e.cardHolderUser,!1),M=e.balance,I=Oe(j),A=i.jsxs(i.Fragment,{children:[i.jsx(Cr,{title:T("0,0.[00]",M),className:"amountToUtilize",children:T("0,0.[00]",M)}),g!==0?i.jsx(yr,{className:"amountToUtilize",children:`${Math.round(g)}${or}`}):null]}),H=e.type.code,N=X.cardList.tooltip[H],K=N!=null?$?N.self:`${R} ${N.cardUser}`:B.strings.empty;return i.jsx(ar,{windowSize:m,onMouseEnter:()=>S(!0),onMouseLeave:()=>S(!1),children:i.jsx(nr,{onClick:s,"data-testid":b("card-row",e.id),children:i.jsxs(dr,{children:[j?null:i.jsx(O,{children:i.jsxs(lr,{windowSize:m,responsiveWidth:I[0].width,children:[i.jsx(De,{personBasic:e.cardHolderUser,styles:{height:r.sp6,width:r.sp6}}),i.jsxs(hr,{children:[i.jsx(cr,{children:i.jsx(pr,{windowSize:m,title:R,className:"cardHolderName",children:R===B.strings.empty?B.strings.hyphen:R})}),i.jsx(Ie,{className:"additionalInfoContainer",children:e.cardHolderRoles?.userRoles!=null&&i.jsx(_e,{roles:e.cardHolderRoles?.userRoles})})]})]})}),i.jsx(O,{children:i.jsxs(wr,{windowSize:m,responsiveWidth:I[1].width,children:[i.jsx(ur,{title:e.cardName,className:"cardName",children:e.cardName}),i.jsx(Lr,{windowSize:m,children:e.status.code==="request_on_hold"?B.strings.hyphen:X.cardDetails.expiryHideOut+B.strings.space+e.accountLast4})]})}),i.jsx(O,{children:i.jsx(fr,{windowSize:m,responsiveWidth:I[2].width,children:i.jsx($r,{className:"card-type",children:i.jsx(ce,{cardDetail:e,forDetailPage:!1})})})}),i.jsx(O,{children:i.jsx(ze,{windowSize:m,responsiveWidth:I[3].width,children:h===e.id?i.jsx(Ue,{size:"Small",start:!0}):i.jsxs(vr,{children:[i.jsx(kr,{children:e.status.code==="request_on_hold"?i.jsxs(le,{display:"flex",title:K,placement:"top",style:{padding:`${r.sp2} ${r.sp3}`},children:[i.jsx(Z,{status:e.status.code,style:{cursor:"pointer"}}),i.jsx(jr,{style:{marginLeft:r.sp1},className:"infoIconTooltip"})]}):i.jsx(Z,{status:e.status.code})}),e.status.code==="request_on_hold"&&!$?i.jsx(br,{onClick:v=>{v.stopPropagation(),x(e.id)},"data-testid":b("send-reminder",e.id),children:X.cardList.sendReminder}):null]})})}),i.jsx(O,{children:i.jsx(ze,{windowSize:m,responsiveWidth:I[4].width,children:A})}),i.jsx(O,{children:i.jsxs(xr,{windowSize:m,responsiveWidth:I[5].width,children:[i.jsxs(mr,{windowSize:m,children:[i.jsx(gr,{className:"limitAmount",windowSize:m,title:T("0,0.[00]",e.limit),children:T("0,0.[00]",e.limit)}),i.jsx(Ie,{className:"additionalInfoContainer",children:e.creditLimitFrequency.name})]}),i.jsx(Sr,{className:"menu-icon",children:e.status.code==="request_on_hold"&&!j&&i.jsx(Ve,{isMenuVisible:f,menuItems:i.jsx(Ir,{children:i.jsx(zr,{"data-testid":b("menu-button",e.id),onClick:v=>{v.stopPropagation(),u(!1),c(e.id)},children:X.cardDetails.revokeInvite})}),setIsMenuOpen:u,isMenuOpen:w,menuIconStyles:{height:"auto"}})})]})})]})})})},Z=({status:e,style:t})=>{const n=de(),h=sr(e,n),d=_.getLocalizedStrings().spendManagement.chargeCard.cardList.status;return V()==="small"?i.jsx(ue,{textColor:h,text:d[e],tagStyles:{maxWidth:r.sp10,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",padding:"1px 6px",...t}}):i.jsx(ue,{textColor:h,text:d[e],styles:t,tagStyles:{padding:"1px 6px"}})},sr=(e,t)=>{switch(e){case"active":return new Q(y.success);case"request_on_hold":return new Q(y.graphColor36);case"inactive":return new Q(y.alert);default:return new Q(t.colors.grey1)}},ar=o.div`
|
|
97
97
|
display: flex;
|
|
98
98
|
background-color: ${e=>e.theme.colors.grey5};
|
|
99
99
|
padding-left: ${e=>P.containerPaddingLeft.valuePx(e.windowSize)};
|
|
@@ -186,13 +186,13 @@ import{j as i,X as V,t as ee,d2 as fi,u as de,fc as $i,i7 as vi,i8 as Ci,i9 as y
|
|
|
186
186
|
text-overflow: ellipsis;
|
|
187
187
|
white-space: nowrap;
|
|
188
188
|
margin-bottom: -${r.sp1};
|
|
189
|
-
`,Ie=o(
|
|
189
|
+
`,Ie=o(F)`
|
|
190
190
|
color: ${e=>e.theme.colors.hero};
|
|
191
191
|
max-width: 100%;
|
|
192
192
|
overflow: hidden;
|
|
193
193
|
text-overflow: ellipsis;
|
|
194
194
|
white-space: nowrap;
|
|
195
|
-
`,
|
|
195
|
+
`,O=o.div`
|
|
196
196
|
> div {
|
|
197
197
|
padding-left: ${r.sp3};
|
|
198
198
|
box-sizing: border-box;
|
|
@@ -247,7 +247,7 @@ import{j as i,X as V,t as ee,d2 as fi,u as de,fc as $i,i7 as vi,i8 as Ci,i9 as y
|
|
|
247
247
|
overflow: hidden;
|
|
248
248
|
text-overflow: ellipsis;
|
|
249
249
|
white-space: nowrap;
|
|
250
|
-
`,yr=o(
|
|
250
|
+
`,yr=o(F)`
|
|
251
251
|
color: ${e=>e.theme.colors.hero};
|
|
252
252
|
`;o(k)`
|
|
253
253
|
display: flex;
|
|
@@ -268,7 +268,7 @@ import{j as i,X as V,t as ee,d2 as fi,u as de,fc as $i,i7 as vi,i8 as Ci,i9 as y
|
|
|
268
268
|
display: flex;
|
|
269
269
|
align-items: center;
|
|
270
270
|
white-space: pre-wrap;
|
|
271
|
-
`;const jr=o(
|
|
271
|
+
`;const jr=o(Ne)`
|
|
272
272
|
width: ${r.sp3};
|
|
273
273
|
height: ${r.sp3};
|
|
274
274
|
margin-bottom: 0;
|
|
@@ -276,7 +276,7 @@ import{j as i,X as V,t as ee,d2 as fi,u as de,fc as $i,i7 as vi,i8 as Ci,i9 as y
|
|
|
276
276
|
&:hover {
|
|
277
277
|
color: ${e=>e.theme.colors.primary};
|
|
278
278
|
}
|
|
279
|
-
`,br=o(
|
|
279
|
+
`,br=o(Te)`
|
|
280
280
|
color: ${y.link};
|
|
281
281
|
cursor: pointer;
|
|
282
282
|
&:hover {
|
|
@@ -298,7 +298,7 @@ import{j as i,X as V,t as ee,d2 as fi,u as de,fc as $i,i7 as vi,i8 as Ci,i9 as y
|
|
|
298
298
|
right: -${r.sp2};
|
|
299
299
|
`,Ir=o.div`
|
|
300
300
|
margin: 5px ${r.sp0};
|
|
301
|
-
`,zr=o(
|
|
301
|
+
`,zr=o(F)`
|
|
302
302
|
height: ${r.sp6};
|
|
303
303
|
display: flex;
|
|
304
304
|
align-items: center;
|
|
@@ -308,7 +308,7 @@ import{j as i,X as V,t as ee,d2 as fi,u as de,fc as $i,i7 as vi,i8 as Ci,i9 as y
|
|
|
308
308
|
:hover {
|
|
309
309
|
background-color: ${e=>e.theme.colors.background};
|
|
310
310
|
}
|
|
311
|
-
`,Lr=o(
|
|
311
|
+
`,Lr=o(F)`
|
|
312
312
|
color: ${e=>e.theme.colors.hero};
|
|
313
313
|
max-width: 100%;
|
|
314
314
|
overflow: hidden;
|
|
@@ -317,7 +317,7 @@ import{j as i,X as V,t as ee,d2 as fi,u as de,fc as $i,i7 as vi,i8 as Ci,i9 as y
|
|
|
317
317
|
display: flex;
|
|
318
318
|
align-items: center;
|
|
319
319
|
gap: ${r.sp1};
|
|
320
|
-
`,{spendManagement:{billPay:{paymentDetails:{feePercent:Rr}},chargeCard:D},common:L}=_.getLocalizedStrings(),te={containerMarginLeft:new p(a[3],a[8]),webkitLineClamp:new p(2,2,1,1,1)},Pr=({cardDetail:e,showViewForCardUser:t,signedInUser:n,resendInviteId:h,index:d,onChargeCardRowClick:l,onChargeCardResendInviteClick:x,onChargeCardRevokeInviteClick:c})=>{const w=!!ee().loggedInUserRole.includes("charge_card_user")||t,u=C.useCallback(()=>{l(e.id,d)},[e.id]);return w?i.jsx(Dr,{cardDetail:e,onRowClick:u}):i.jsx(Ur,{cardDetail:e,signedInUser:n,resendInviteId:h,onRowClick:u,onChargeCardResendInviteClick:x,onChargeCardRevokeInviteClick:c})},
|
|
320
|
+
`,{spendManagement:{billPay:{paymentDetails:{feePercent:Rr}},chargeCard:D},common:L}=_.getLocalizedStrings(),te={containerMarginLeft:new p(a[3],a[8]),webkitLineClamp:new p(2,2,1,1,1)},Pr=({cardDetail:e,showViewForCardUser:t,signedInUser:n,resendInviteId:h,index:d,onChargeCardRowClick:l,onChargeCardResendInviteClick:x,onChargeCardRevokeInviteClick:c})=>{const w=!!ee().loggedInUserRole.includes("charge_card_user")||t,u=C.useCallback(()=>{l(e.id,d)},[e.id]);return w?i.jsx(Dr,{cardDetail:e,onRowClick:u}):i.jsx(Ur,{cardDetail:e,signedInUser:n,resendInviteId:h,onRowClick:u,onChargeCardResendInviteClick:x,onChargeCardRevokeInviteClick:c})},Ee=({cardDetail:e})=>{const t=e.balance,n=Me(e)/e.limit.amount*100;return i.jsxs(_r,{children:[i.jsx(Ar,{children:T("0,0.[00]",t)}),n!==0?i.jsx(Er,{children:`${Math.round(n)}${Rr}`}):null]})},Dr=({cardDetail:e,onRowClick:t})=>{const n=V();return i.jsx(Fe,{windowSize:n,children:i.jsx(We,{onClick:t,"data-testid":b("charge-card-user-row",e.id),children:i.jsxs(se,{children:[i.jsx(Ge,{children:i.jsxs(Xe,{cardUser:!0,children:[i.jsxs(Ke,{children:[i.jsx(Be,{children:L.labels.cardName}),i.jsxs(qe,{children:[i.jsx(Je,{title:e.cardName,children:e.cardName}),i.jsx(si,{windowSize:n,children:D.cardDetails.expiryHideOut+L.strings.space+e.accountLast4})]})]}),i.jsxs(Ae,{children:[i.jsx(He,{children:`${D.cardList.header.cardType}${L.strings.colon}`}),i.jsx(ne,{children:i.jsx(ce,{cardDetail:e,forDetailPage:!1})})]}),i.jsxs(Ze,{children:[i.jsx(ii,{children:L.labels.limit}),i.jsxs(ri,{children:[i.jsx(ei,{children:T("0,0.[00]",e.limit)}),i.jsx(oi,{}),i.jsx(ae,{children:e.creditLimitFrequency.name})]})]})]})}),i.jsx(Qe,{children:i.jsxs(i.Fragment,{children:[e.status.code!=="request_on_hold"?i.jsx(Ee,{cardDetail:e}):null,i.jsxs(Ye,{children:[i.jsx(Z,{status:e.status.code}),e.status.code==="request_on_hold"?i.jsx(le,{display:"flex",title:D.cardList.tooltip[e.type.code].self,placement:"top",style:{padding:`${r.sp2} ${r.sp3}`},children:i.jsx(ti,{className:"infoIconTooltip"})}):null]})]})})]})})})},Ur=({cardDetail:e,signedInUser:t,resendInviteId:n,onRowClick:h,onChargeCardResendInviteClick:d,onChargeCardRevokeInviteClick:l})=>{const[x,c]=C.useState(!1),w=`${e.cardHolderUser?.firstName??""} ${e.cardHolderUser?.lastName??""}`,u=e?.cardHolderUserId===t.userId,f=V(),S=e.type.code,m=D.cardList.tooltip[S],j=m!=null?u?m.self:`${w} ${m.cardUser}`:L.strings.empty;return i.jsx(Fe,{windowSize:f,children:i.jsxs(We,{onClick:h,"data-testid":b("charge-card-admin-row",e.id),children:[i.jsxs(se,{children:[i.jsxs(Ge,{children:[i.jsx(Mr,{children:i.jsx(De,{personBasic:e.cardHolderUser,styles:{height:r.sp6,width:r.sp6}})}),i.jsx(Or,{children:i.jsxs(Wr,{children:[i.jsx(Nr,{children:i.jsx(Tr,{windowSize:f,title:w,children:w})}),i.jsx(ae,{style:{marginTop:`-${r.sp1}`},children:e.cardHolderRoles?.userRoles!=null&&i.jsx(_e,{roles:e.cardHolderRoles?.userRoles})})]})})]}),i.jsx(Qe,{children:i.jsx(i.Fragment,{children:n===e.id?i.jsx(Ue,{size:"Small",start:!0}):i.jsxs(Yr,{children:[i.jsxs(Vr,{children:[e.status.code!=="request_on_hold"?i.jsx(Ee,{cardDetail:e}):null,i.jsxs(Ye,{children:[i.jsx(Z,{status:e.status.code}),e.status.code==="request_on_hold"?i.jsx(le,{display:"flex",title:j,placement:"top",style:{padding:`${r.sp2} ${r.sp3}`},children:i.jsx(ti,{className:"infoIconTooltip"})}):null]})]}),e.status.code==="request_on_hold"&&!u?i.jsx(Hr,{children:i.jsx(Kr,{onClick:s=>{s.stopPropagation(),d(e.id)},"data-testid":b("send-reminder-clicked",e.id),children:D.cardList.sendReminder})}):null]})})})]}),i.jsxs(se,{children:[i.jsxs(Xe,{cardUser:!1,children:[i.jsxs(Ke,{children:[i.jsx(Be,{children:`${L.labels.cardName}`}),i.jsxs(qe,{children:[i.jsx(Je,{title:e.cardName,children:e.cardName}),i.jsx(si,{windowSize:f,children:e.status.code==="request_on_hold"?L.strings.hyphen:D.cardDetails.expiryHideOut+L.strings.space+e.accountLast4})]})]}),i.jsxs(Ae,{children:[i.jsx(He,{children:`${D.cardList.header.cardType}${L.strings.colon}`}),i.jsx(ne,{children:i.jsx(ne,{children:i.jsx(ce,{cardDetail:e,forDetailPage:!1})})})]}),i.jsxs(Ze,{children:[i.jsx(ii,{children:L.labels.limit}),i.jsxs(ri,{children:[i.jsx(ei,{children:T("0,0.[00]",e.limit)}),i.jsx(oi,{}),i.jsx(ae,{children:e.creditLimitFrequency.name})]})]})]}),i.jsx(Fr,{children:e.status.code==="request_on_hold"&&i.jsx(qr,{showMenu:!0,className:"menu-icon",children:i.jsx(Ve,{menuItems:i.jsx(Br,{children:i.jsx(Jr,{"data-testid":b("revoke-invite-clicked",e.id),onClick:s=>{s.stopPropagation(),c(!1),l(e.id)},children:D.cardDetails.revokeInvite})}),setIsMenuOpen:c,isMenuOpen:x,styles:{transform:"translate(5px,0px)"}})})})]})]})})},Fe=o.div`
|
|
321
321
|
display: flex;
|
|
322
322
|
background-color: ${e=>e.theme.colors.grey5};
|
|
323
323
|
border: ${e=>` 1px solid ${e.theme.colors.grey3}`};
|
|
@@ -341,12 +341,12 @@ import{j as i,X as V,t as ee,d2 as fi,u as de,fc as $i,i7 as vi,i8 as Ci,i9 as y
|
|
|
341
341
|
display: flex;
|
|
342
342
|
width: 100%;
|
|
343
343
|
justify-content: space-between;
|
|
344
|
-
`,
|
|
344
|
+
`,Nr=o.div`
|
|
345
345
|
display: flex;
|
|
346
346
|
align-items: center;
|
|
347
347
|
gap: ${r.sp1};
|
|
348
348
|
flex-grow: 1;
|
|
349
|
-
`,
|
|
349
|
+
`,Tr=o(U)`
|
|
350
350
|
color: ${e=>e.theme.colors.hero};
|
|
351
351
|
display: -webkit-box;
|
|
352
352
|
-webkit-line-clamp: ${e=>te.webkitLineClamp.value(e.windowSize)};
|
|
@@ -401,7 +401,7 @@ import{j as i,X as V,t as ee,d2 as fi,u as de,fc as $i,i7 as vi,i8 as Ci,i9 as y
|
|
|
401
401
|
display: flex;
|
|
402
402
|
align-items: center;
|
|
403
403
|
gap: ${r.sp1};
|
|
404
|
-
`,
|
|
404
|
+
`,Mr=o.div``,Or=o.div``,Er=o(k)`
|
|
405
405
|
color: ${e=>e.theme.colors.hero};
|
|
406
406
|
display: flex;
|
|
407
407
|
margin-top: -${r.sp1};
|
|
@@ -417,7 +417,7 @@ import{j as i,X as V,t as ee,d2 as fi,u as de,fc as $i,i7 as vi,i8 as Ci,i9 as y
|
|
|
417
417
|
display: flex;
|
|
418
418
|
flex-direction: column;
|
|
419
419
|
margin-left: ${e=>e.cardUser?r.sp0:r.sp7};
|
|
420
|
-
`,
|
|
420
|
+
`,Fr=o.div`
|
|
421
421
|
display: flex;
|
|
422
422
|
flex-direction: column;
|
|
423
423
|
align-items: flex-end;
|
|
@@ -442,14 +442,14 @@ import{j as i,X as V,t as ee,d2 as fi,u as de,fc as $i,i7 as vi,i8 as Ci,i9 as y
|
|
|
442
442
|
color: ${e=>e.theme.colors.hero};
|
|
443
443
|
`,Hr=o.div`
|
|
444
444
|
padding-right: 20px;
|
|
445
|
-
`,Kr=o(
|
|
445
|
+
`,Kr=o(Te)`
|
|
446
446
|
color: ${y.link};
|
|
447
447
|
cursor: pointer;
|
|
448
448
|
text-align: right;
|
|
449
449
|
&:hover {
|
|
450
450
|
text-decoration: underline;
|
|
451
451
|
}
|
|
452
|
-
`,ti=o(
|
|
452
|
+
`,ti=o(Ne)`
|
|
453
453
|
width: ${r.sp3};
|
|
454
454
|
height: ${r.sp3};
|
|
455
455
|
margin-bottom: 0;
|
|
@@ -486,7 +486,7 @@ import{j as i,X as V,t as ee,d2 as fi,u as de,fc as $i,i7 as vi,i8 as Ci,i9 as y
|
|
|
486
486
|
display: flex;
|
|
487
487
|
align-items: center;
|
|
488
488
|
gap: ${r.sp1};
|
|
489
|
-
`,Y={lastListItemHeight:new p(200,158),bannerWrapperMarginLeftRight:new p(a[3],a[8]),styledAIIconContainerSize:new p(a[3],a[3])},{spendManagement:{chargeCard:
|
|
489
|
+
`,Y={lastListItemHeight:new p(200,158),bannerWrapperMarginLeftRight:new p(a[3],a[8]),styledAIIconContainerSize:new p(a[3],a[3])},{spendManagement:{chargeCard:E},common:J}=_.getLocalizedStrings(),Gr=66,Qr=64,Xr=351,Zr=136,eo=({cardList:e,showViewForCardUser:t,controllerEmails:n,isChargeCardFeatureEnabled:h,isDebitCardFeatureEnabled:d,isDebitCardSetupEnabled:l,creditAccount:x,creditAccountRepayment:c,productInformation:w,cashbackInformation:u,creditAccountInformation:f,debitAccountInformation:S,depositAccountListWithDebitCardIssued:m,uiState:j,signedInUser:s,fetchState:g,receiptBotEmail:$,searchText:R,resendInviteId:M,onChargeCardResendInviteClick:I,onChargeCardRevokeInviteClick:A,onChargeCardRowClick:H,onReloadCards:N,onColumnSortConfigChanged:K})=>{const v=V(),di=ee(),li=fi().analytics,ci=!!di.loggedInUserRole.includes("charge_card_user"),he=de(),[,hi]=$i(),[G,pe]=C.useState(!1),[ie,xe]=C.useState(!1),pi=()=>{$!=null&&((!h||x.fetchState==="Completed"&&c.fetchState==="Completed")&&(!(d&&l)||m.fetchState==="Completed")&&li.trackCardsCopyIconClick(n,w,"Cards List","Copy","copied","Receipt Email",$,u,f,S),hi($),pe(!0))};C.useEffect(()=>{G===!0&&setTimeout(()=>{pe(!1)},800)},[G]);const me=()=>v!=="small"?vi:ci?Ci:yi,xi=e.length*me()+Gr+Qr,ge=window.innerHeight-Xr,mi=xi>ge,re=C.useRef(null);C.useEffect(()=>{re.current?.resetAfterIndex(0)},[v,re]);const gi=()=>g==="Error"?i.jsxs(ao,{children:[i.jsx(no,{onClick:N,"data-testid":b("charge-card-list-reload"),children:i.jsx(lo,{})}),i.jsx(co,{children:J.reloadPage.label})]}):g==="Completed"&&e.length===0?i.jsx(ji,{sourceView:"charge_cards",style:{height:"calc(100vh - 450px)"},title:E.cardList.getStarted,message:R!==""?E.cardList.noDataWithFilterText:E.cardList.noDataText,messageStyle:{maxWidth:345,color:he.colors.primary,...oe.largeRegular.cssObject}}):i.jsxs(ni,{children:[$!=null?i.jsxs(mo,{windowSize:v,children:[i.jsx(vo,{windowSize:v,children:i.jsx(Co,{})}),i.jsxs(yo,{windowSize:v,children:[i.jsxs(go,{children:[i.jsx(to,{children:E.aiCardAgentText}),J.strings.space,E.receiptBotMessage,J.strings.space]}),i.jsxs($o,{"data-testid":b("charge-card-list-copy-email"),onClick:pi,onMouseEnter:()=>xe(!0),onMouseLeave:()=>xe(!1),children:[i.jsx(wo,{children:$}),G===!0?i.jsxs(Re,{children:[i.jsx(fo,{}),i.jsx(Le,{children:i.jsx(Pe,{shouldDisplay:ie||G,color:y.primaryDark,children:J.copyToClipBoard.copied})})]}):i.jsxs(Re,{children:[i.jsx(uo,{color:ie?he.colors.primary:void 0}),i.jsx(Le,{children:i.jsx(Pe,{shouldDisplay:ie&&v!=="small",children:J.copyToClipBoard.copy})})]})]})]})]}):null,i.jsx(ho,{windowSize:v,availableHeight:ge,isListTooLarge:mi,children:i.jsx(bi,{children:({height:wi,width:ui})=>i.jsx(ki,{ref:re,height:wi,itemCount:e.length,innerElementType:q=>io(q,t,K,j,g),itemSize:me,estimatedItemSize:Ii,itemKey:q=>e[q].id,width:ui,overscanCount:Si,initialScrollOffset:0,children:q=>i.jsx(ro,{...q,resendInviteId:M,onChargeCardResendInviteClick:I,onChargeCardRevokeInviteClick:A,onChargeCardRowClick:H,showViewForCardUser:t,cardList:e,signedInUser:s})})})})]});return i.jsx(so,{fetchState:g,children:gi()})},io=(e,t,n,h,d)=>i.jsx(ai,{...e,showViewForCardUser:t,onColumnSortConfigChanged:n,uiState:{sortKey:h.sortKey,sortOrder:h.sortOrder},fetchState:d}),ai=C.forwardRef((e,t)=>{const{children:n,style:h,uiState:d,onColumnSortConfigChanged:l,showViewForCardUser:x,...c}=e;return i.jsxs(ni,{ref:t,style:{...h,width:"auto"},...c,children:[i.jsx(Ki,{companyNameSticky:!1,showViewForCardUser:x,onColumnSortConfigChanged:l,sortConfig:{sortKey:d.sortKey,sortOrder:d.sortOrder}}),i.jsx(xo,{children:n})]})});ai.displayName=E.cardList.headerElementDisplayName;const Lo=({cardList:e,fetchState:t,uiState:n,receiptBotEmail:h,searchText:d,resendInviteId:l,showViewForCardUser:x,signedInUser:c,cashbackInformation:w,creditAccountInformation:u,debitAccountInformation:f,productInformation:S,onChargeCardRowClick:m,onReloadCards:j,onColumnSortConfigChanged:s,onChargeCardResendInviteClick:g,onChargeCardRevokeInviteClick:$,controllerEmails:R,creditAccountRepayment:M,depositAccountListWithDebitCardIssued:I,isChargeCardFeatureEnabled:A,isDebitCardFeatureEnabled:H,isDebitCardSetupEnabled:N,isChargeCardSetupEnabled:K,creditAccount:v})=>i.jsx(eo,{cardList:e,controllerEmails:R,isChargeCardFeatureEnabled:A,isDebitCardFeatureEnabled:H,isDebitCardSetupEnabled:N,isChargeCardSetupEnabled:K,cashbackInformation:w,creditAccountInformation:u,debitAccountInformation:f,productInformation:S,creditAccount:v,creditAccountRepayment:M,depositAccountListWithDebitCardIssued:I,showViewForCardUser:x,signedInUser:c,fetchState:t,receiptBotEmail:h,searchText:d,resendInviteId:l,onReloadCards:j,onChargeCardRowClick:m,uiState:n,onColumnSortConfigChanged:s,onChargeCardResendInviteClick:g,onChargeCardRevokeInviteClick:$}),ro=({index:e,style:t,cardList:n,showViewForCardUser:h,signedInUser:d,resendInviteId:l,onChargeCardResendInviteClick:x,onChargeCardRevokeInviteClick:c,onChargeCardRowClick:w})=>i.jsx(po,{style:{...t,width:"100%"},className:"spend-management-list-item",children:i.jsx(oo,{showViewForCardUser:h,cardDetail:n[e],signedInUser:d,resendInviteId:l,index:e,onChargeCardResendInviteClick:x,onChargeCardRevokeInviteClick:c,onChargeCardRowClick:w})},"listItem"+n[e].id),oo=({cardDetail:e,showViewForCardUser:t,signedInUser:n,resendInviteId:h,index:d,onChargeCardResendInviteClick:l,onChargeCardRevokeInviteClick:x,onChargeCardRowClick:c})=>{const w=V()==="small"?Pr:tr;return i.jsx(w,{showViewForCardUser:t,cardDetail:e,signedInUser:n,index:d,onChargeCardRowClick:c,resendInviteId:h,onChargeCardResendInviteClick:l,onChargeCardRevokeInviteClick:x})},to=o(Di)`
|
|
490
490
|
color: ${e=>e.theme.colors.brandColorSapphire};
|
|
491
491
|
${({theme:e})=>e.mode==="dark"&&`color: ${y.brandColorPearl};`}
|
|
492
492
|
`,so=o.div`
|
|
@@ -555,7 +555,7 @@ import{j as i,X as V,t as ee,d2 as fi,u as de,fc as $i,i7 as vi,i8 as Ci,i9 as y
|
|
|
555
555
|
color: ${e=>e.theme.colors.primary};
|
|
556
556
|
`,wo=o(Ui)`
|
|
557
557
|
color: ${e=>e.theme.colors.primary};
|
|
558
|
-
`,uo=o(
|
|
558
|
+
`,uo=o(Ti)`
|
|
559
559
|
height: ${r.sp3};
|
|
560
560
|
width: ${r.sp3};
|
|
561
561
|
color: ${e=>e.color??e.theme.colors.hero};
|
|
@@ -563,7 +563,7 @@ import{j as i,X as V,t as ee,d2 as fi,u as de,fc as $i,i7 as vi,i8 as Ci,i9 as y
|
|
|
563
563
|
&:hover {
|
|
564
564
|
color: ${e=>e.theme.colors.primary};
|
|
565
565
|
}
|
|
566
|
-
`,fo=o(
|
|
566
|
+
`,fo=o(Ni)`
|
|
567
567
|
height: ${r.sp3};
|
|
568
568
|
width: ${r.sp3};
|
|
569
569
|
color: ${y.success};
|
|
@@ -578,7 +578,7 @@ import{j as i,X as V,t as ee,d2 as fi,u as de,fc as $i,i7 as vi,i8 as Ci,i9 as y
|
|
|
578
578
|
position: relative;
|
|
579
579
|
margin-left: ${r.sp1};
|
|
580
580
|
top: 2px;
|
|
581
|
-
`,Pe=o(
|
|
581
|
+
`,Pe=o(F)`
|
|
582
582
|
position: relative;
|
|
583
583
|
background: ${e=>e.theme.colors.black};
|
|
584
584
|
color: ${e=>e.color??e.theme.colors.grey1};
|
|
@@ -600,4 +600,4 @@ import{j as i,X as V,t as ee,d2 as fi,u as de,fc as $i,i7 as vi,i8 as Ci,i9 as y
|
|
|
600
600
|
`,yo=o.div`
|
|
601
601
|
width: 100%;
|
|
602
602
|
max-width: ${e=>e.windowSize==="small"?"calc(100% - 20px)":"unset"};
|
|
603
|
-
`;export{Lo as
|
|
603
|
+
`;export{Lo as M};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import{X as b,M as oe,j as r,u as H,t as $e,d2 as ye,a1 as be,_ as je,l as Se,fk as Te,aW as ze,K as Y,Y as q,o as t,c0 as ve,k as O,c1 as Pe,Z as ke,C as g,bP as Be,bt as Ae,i5 as Ie,w as Me,n as m,Q as j,g as $,ao as Re,a6 as Le,i6 as _e}from"./index-QTXYT_IZ.js";import{b as S,n as a,j as Ee,k as De}from"./vendor-CnQcJ2Lu.js";import{x as Fe}from"./MeetingCalenderPopup-5ibEhgcm-p1sBC8Am.js";import{f as Ue}from"./NavigationDots-BhLlf9IS-Cc6rFgNx.js";import{J as N,N as G}from"./PromoBaseCards-CASb_Nf9-BmTbWgM7.js";import{M as R}from"./usp-line-BBd1wKwW-CgKq8-Xn.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const h={containerPaddingTopBottom:new g(m[0],m[0]),uspContainerMarginX:new g(m[6],m[0]),midContainerGap:new g(m[4],84),iconContainerMinHeight:new g(236,396),emptySectionHeight:new g(m[6],43),navigationBottom:new g(m[4],94),navigationLeft:new g(192,244),carouselHeight:new g(268,396),carouselMarginTop:new g(54,m[4]),carouselMarginLeft:new g(120,m[12]),buttonTrayGap:new g(m[3],m[5]),termsOfAgreementMarginTop:new g(m[5],m[10]),contactAdminContainerMarginTop:new g(m[0],m[10]),contactAdminContainerMarginBottom:new g(m[4],m[0]),contactAdminContainerMarginLeftRight:new g(m[3],m[0])},T={promoBadgeText:new j("standardRegular","largeRegular"),promoBadgeTextBold:new j("standardBold","largeBold"),cardsContent:new j("extraSmallRegular","smallRegular"),contactAdmin:new j("extraSmallRegular","largeRegular"),uspText:new j("smallRegular","standardRegular"),uspBoldText:new j("smallMedium","standardMedium")},{common:ee,spendManagement:{chargeCard:{chargeCardsPromo:o}}}=oe.getLocalizedStrings(),Mr=({meetingUrl:e,companyLegalName:s,chargeCardSetupView:i,showEnableCardButton:n,controllerEmails:p,isCreditCardProductVisible:x,isDebitCardFeatureEnabled:c,isDebitCardSetupEnabled:w,isChargeCardSetupEnabled:f,admins:v,cashbackRate:P,cardPromoType:u="credit",onSetupButtonClick:l,onBackClick:d,onClickMenuIcon:pe,onSetupChargeCardSuccess:Z,onExpressInterestClick:me})=>{const xe=H(),J=$e(),z=b(),K=ye().analytics,{chargeCardTermsDetails:L,companyChargeCardInfo:C,companyLocaleInfo:_}=i,V=be(L?.fetchStatus.fetchState),[he,Q]=S.useState(!1),ge=()=>{K.trackCardsPromoPageClicked("schedule demo"),K.trackCardsScheduleDemoClick(p,{isCreditCardOffered:x,isDebitCardOffered:c,isDebitCardEnabled:w,isCreditCardEnabled:f},"Cards Promo"),Q(!0)},ue=C!=null&&_!=null?je("0,0",{amount:C.chargeCardsCreditAccountLimit,currencyCode:_.currencyCode,currencySymbol:_.currencySymbol}):void 0;S.useEffect(()=>{V==="In-Progress"&&L?.fetchStatus.fetchState==="Completed"&&Z()},[V,Z,L?.fetchStatus]);const W=Se.hasChargeCardAdminLevelAccess(J.loggedInUserRoleMap),we=Te(J),E=u==="credit"&&C?.isCompanyInterestedInChargeCard===!1&&C.chargeCardsCreditAccountLimit===0,D=u==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===-1,F=u==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===0,fe=u==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit>0,{expressInterestInChargeCardFetchState:Ce}=i,X=E?o.expressInterest:n?o.enableCardsButton:o.setupCardsButton;return r.jsxs(Je,{children:[r.jsx(ze,{title:o.title[u],backgroundColor:xe.colors.grey4,onBackClick:d,showBackButton:!0,showMenuIcon:z==="medium-compact"||z==="small",onClickMenuIcon:pe,style:{zIndex:9},source:"ChargeCardPromoPage"}),he===!0?r.jsx(Fe,{onCancelClick:()=>{Q(!1)},meetingUrl:e}):null,r.jsx(We,{windowSize:z,children:W===!0?r.jsxs(Qe,{children:[r.jsxs(Ve,{children:[r.jsx(Ge,{isApproved:fe,creditAmount:ue,cardPromoType:u,isUnderReview:F,isRejected:D,showExpressInterest:E}),r.jsx(ne,{cardPromoType:u,cashbackRate:P})]}),r.jsx(ae,{showEnableCardButton:n,cardPromoType:u,isUnderReview:F,isRejected:D,showExpressInterest:E})]}):r.jsx(He,{companyLegalName:s,cards:[],admins:v,cashbackRate:P,hasZeniFinopsRoles:we,cardPromoType:u})}),W&&!(F||D)?r.jsxs(ir,{windowSize:z,children:[r.jsx(Y,{variant:"secondary",label:o.scheduleDemoButton,style:{width:166},onClick:ge,"data-testid":q("schedule-demo-button")}),r.jsx(Ke,{windowSize:z,children:o.orText}),r.jsx(Y,{variant:"primary",label:X,style:{width:166},loading:i.chargeCardTermsDetails?.fetchStatus.fetchState==="In-Progress"||Ce==="In-Progress",onClick:X===o.expressInterest?me:()=>l(u),"data-testid":q("enable-card-button")})]}):null]})},Ne=({admins:e})=>{const s=e.flatMap(n=>n.user?.firstName+" "+n.user?.lastName).join(", "),i=b();return r.jsxs(pr,{windowSize:i,children:[r.jsx(U,{underline:!1,windowSize:i,children:o.noCardAssigned.pre}),r.jsx(Ae,{title:s,placement:"top-start",style:{padding:`2px ${t.sp2}`},children:r.jsx(U,{underline:!0,windowSize:i,children:o.noCardAssigned.tooltip})}),r.jsx(U,{underline:!1,windowSize:i,children:o.noCardAssigned.post})]})},ae=({cardPromoType:e,showEnableCardButton:s,isUnderReview:i,isRejected:n,showExpressInterest:p,isCardUser:x=!1})=>{const c=b();return r.jsx(tr,{windowSize:c,children:r.jsx(Ie,{topTermLabel:e==="credit"||e==="debit_and_credit"?o.terms.checkingAccountTerm:void 0,buttonTermLabel:i===!0||n===!0||x===!0?void 0:p===!0?o.terms.approvalTerm:s?o.terms.alternateTerm1:o.terms.terms1,showEndIcon:!1,showTerms:n===!1||x===!1,style:{marginTop:h.termsOfAgreementMarginTop.valuePx(c)}})})},Ge=({isApproved:e,cardPromoType:s,creditAmount:i,isUnderReview:n,isRejected:p,showExpressInterest:x})=>{const c=b(),w=s==="debit_and_credit"?o.promoTextDebitCreditCard:s==="debit"?o.promoTextDebitCard:o.promoTextCreditCard,f=e?r.jsxs(r.Fragment,{children:[o.promoBadgeText.approved,r.jsx(te,{children:i}),o.creditLimit,ee.strings.space]}):x?r.jsxs(r.Fragment,{children:[o.promoBadgeText.nonPreApproved.get,r.jsx(er,{children:o.promoBadgeText.nonPreApproved.scale}),o.promoBadgeText.nonPreApproved.doubleStarred,o.promoBadgeText.nonPreApproved.higherLimits]}):n?o.promoBadgeText.underReview:p?o.promoBadgeText.rejected:r.jsxs(r.Fragment,{children:[o.promoBadgeText.preApproved,r.jsx(te,{children:i}),o.creditLimit,ee.strings.space]});return r.jsxs(r.Fragment,{children:[r.jsx(r.Fragment,{children:c==="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,hideBadge:i==null||s==="debit",windowSize:c,children:[n||p?null:r.jsx(Cr,{}),r.jsx(qe,{windowSize:c,children:f})]})]})},He=({companyLegalName:e,cards:s,admins:i,cashbackRate:n,hasZeniFinopsRoles:p,cardPromoType:x="credit"})=>{const c=b(),w=x==="debit_and_credit"?o.promoTextDebitCreditCard:x==="debit"?o.promoTextDebitCard:o.promoTextCreditCard;return r.jsxs(r.Fragment,{children:[c==="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(cr,{windowSize:c}):r.jsx(Oe,{cards:s,companyLegalName:e}),r.jsx(ne,{cardPromoType:x,cashbackRate:n}),p?null:r.jsx(Ne,{admins:i}),r.jsx(ae,{isCardUser:!0,showEnableCardButton:!1,cardPromoType:x})]})},Oe=({cards:e,companyLegalName:s})=>{const i=H(),n=b();let p="",x;if(e.length===1){x=e[0].cardCreatedByUser.photo;const c=e[0].cardCreatedByUser.firstName+" "+e[0].cardCreatedByUser.lastName;p=o.cardAssigned.singleCreditCard.replace("__issuing-user__",c).replace("__company-name__",s)}else p=o.cardAssigned.multipleCreditCards.replace("__company-name__",s);return r.jsxs(xr,{children:[x!=null?r.jsx(Xe,{width:t.sp5,height:t.sp5,style:{paddingTop:n==="small"?t.sp1:t.sp0},src:x.href,alt:oe.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:c})=>{c.onerror=null,c.src=Be},loading:"lazy"}):null,r.jsx(mr,{windowSize:n,mode:i.mode,children:r.jsx(hr,{windowSize:n,children:p})})]})},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(Ze,{}):r.jsxs(ar,{windowSize:e,children:[r.jsx(N,{cardPromoType:s,cardText:i,shouldAnimate:!0,showChip:!0,forDashboard:!1,forListPage:!1}),r.jsx(G,{cardPromoType:s,cardText:i,showChip:!0,forDashboard:!1,shouldAnimate:!0,forListPage:!1})]})})},ne=({cardPromoType:e,cashbackRate:s})=>{const i=b(),n=o.benefits;return r.jsxs(rr,{windowSize:i,children:[i==="small"?r.jsx(re,{windowSize:i,cardPromoType:e}):null,r.jsxs(or,{windowSize:i,children:[r.jsxs(B,{windowSize:i,children:[r.jsx(I,{children:r.jsx(dr,{})}),r.jsxs(M,{children:[r.jsx(y,{windowSize:i,children:n.item1.pre}),r.jsx(A,{windowSize:i,children:n.item1.bold.replace("__cashback__",(s*100).toFixed(2))}),r.jsx(y,{windowSize:i,children:`${e==="credit"||e==="debit_and_credit"?n.singleStarred:""}${n.item1.post}`})]})]}),r.jsxs(B,{windowSize:i,children:[r.jsx(I,{children:r.jsx(nr,{})}),r.jsxs(M,{children:[r.jsx(y,{windowSize:i,children:n.item2.pre}),r.jsx(A,{windowSize:i,children:n.item2.bold}),r.jsx(y,{windowSize:i,children:n.item2.post})]})]}),r.jsxs(B,{windowSize:i,children:[r.jsx(I,{children:r.jsx(lr,{})}),r.jsxs(M,{children:[r.jsx(y,{windowSize:i,children:n.item3.pre}),r.jsx(A,{windowSize:i,children:n.item3.bold}),r.jsx(y,{windowSize:i,children:n.item3.post})]})]}),r.jsxs(B,{windowSize:i,children:[r.jsx(I,{children:r.jsx(sr,{})}),r.jsxs(M,{children:[r.jsx(y,{windowSize:i,children:n.item4.pre}),r.jsx(A,{windowSize:i,children:n.item4.bold}),r.jsx(y,{windowSize:i,children:n.item4.post})]})]})]}),i==="small"?null:r.jsx(re,{windowSize:i,cardPromoType:e})]})};let k;const Ze=()=>{const e=b(),s=H(),[i,n]=S.useState(0),[p,x]=S.useState(!1),c=o.businessText,w=`${c} ${o.debit}`,f=[{id:1,cardType:"debit",cardText:w},{id:2,cardType:"debit",cardText:w},{id:3,cardType:"credit",cardText:c},{id:4,cardType:"credit",cardText:c}];S.useEffect(()=>(p||(k=setInterval(()=>{n(l=>{const d=l+1;return d===f.length?(x(!0),0):d})},2e3)),()=>clearInterval(k)),[p,f.length]),S.useEffect(()=>{p&&k!=null&&clearInterval(k)},[p]);const v=(l,d)=>{switch((l-i+f.length)%f.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=v(l,!0);return{...d,transform:`${d?.transform} scaleY(-1)`,opacity:1,transition:"transform 0s 0s, z-index 0s 0s"}},u=l=>{p||x(!0),n(l)};return r.jsxs(gr,{windowSize:e,children:[r.jsx(ur,{windowSize:e,children:f.map((l,d)=>r.jsxs(wr,{children:[r.jsx(ie,{isReflection:!1,style:{...v(d,!1)},onClick:()=>u(d),children:d===0||d===2?r.jsx(N,{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(G,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}})},l.id),r.jsx(ie,{isReflection:!0,style:{...P(d)},children:d===0||d===2?r.jsx(N,{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(G,{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))}),p&&r.jsx(Ue,{numberOfDots:f.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:h.navigationBottom.valuePx(e),left:h.navigationLeft.valuePx(e),zIndex:7}})]})},Je=a.div`
|
|
1
|
+
import{X as b,M as oe,j as r,u as H,t as $e,d2 as ye,a1 as be,_ as je,l as Se,fk as Te,aV as ze,K as W,Y as q,o as t,c0 as ve,k as O,c1 as Pe,Z as ke,C as g,bP as Be,bs as Ae,i5 as Ie,w as Me,n as m,Q as j,g as $,ao as Re,a6 as Le,i6 as _e}from"./index-DyBH5SZv.js";import{b as S,n as a,j as Ee,k as De}from"./vendor-CnQcJ2Lu.js";import{x as Fe}from"./MeetingCalenderPopup-D_WPTVKr-DYqVpuuh.js";import{f as Ue}from"./NavigationDots-CFJt-T5J-B9PAzC5S.js";import{J as N,N as G}from"./PromoBaseCards-Ddumul2a-BrEDd739.js";import{M as R}from"./usp-line-BBd1wKwW-CgKq8-Xn.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const h={containerPaddingTopBottom:new g(m[0],m[0]),uspContainerMarginX:new g(m[6],m[0]),midContainerGap:new g(m[4],84),iconContainerMinHeight:new g(236,396),emptySectionHeight:new g(m[6],43),navigationBottom:new g(m[4],94),navigationLeft:new g(192,244),carouselHeight:new g(268,396),carouselMarginTop:new g(54,m[4]),carouselMarginLeft:new g(120,m[12]),buttonTrayGap:new g(m[3],m[5]),termsOfAgreementMarginTop:new g(m[5],m[10]),contactAdminContainerMarginTop:new g(m[0],m[10]),contactAdminContainerMarginBottom:new g(m[4],m[0]),contactAdminContainerMarginLeftRight:new g(m[3],m[0])},T={promoBadgeText:new j("standardRegular","largeRegular"),promoBadgeTextBold:new j("standardBold","largeBold"),cardsContent:new j("extraSmallRegular","smallRegular"),contactAdmin:new j("extraSmallRegular","largeRegular"),uspText:new j("smallRegular","standardRegular"),uspBoldText:new j("smallMedium","standardMedium")},{common:ee,spendManagement:{chargeCard:{chargeCardsPromo:o}}}=oe.getLocalizedStrings(),Mr=({meetingUrl:e,companyLegalName:s,chargeCardSetupView:i,showEnableCardButton:n,controllerEmails:p,isCreditCardProductVisible:x,isDebitCardFeatureEnabled:c,isDebitCardSetupEnabled:w,isChargeCardSetupEnabled:f,admins:v,cashbackRate:P,cardPromoType:u="credit",onSetupButtonClick:l,onBackClick:d,onClickMenuIcon:pe,onSetupChargeCardSuccess:V,onExpressInterestClick:me})=>{const xe=H(),Z=$e(),z=b(),J=ye().analytics,{chargeCardTermsDetails:L,companyChargeCardInfo:C,companyLocaleInfo:_}=i,K=be(L?.fetchStatus.fetchState),[he,Q]=S.useState(!1),ge=()=>{J.trackCardsPromoPageClicked("schedule demo"),J.trackCardsScheduleDemoClick(p,{isCreditCardOffered:x,isDebitCardOffered:c,isDebitCardEnabled:w,isCreditCardEnabled:f},"Cards Promo"),Q(!0)},ue=C!=null&&_!=null?je("0,0",{amount:C.chargeCardsCreditAccountLimit,currencyCode:_.currencyCode,currencySymbol:_.currencySymbol}):void 0;S.useEffect(()=>{K==="In-Progress"&&L?.fetchStatus.fetchState==="Completed"&&V()},[K,V,L?.fetchStatus]);const X=Se.hasChargeCardAdminLevelAccess(Z.loggedInUserRoleMap),we=Te(Z),E=u==="credit"&&C?.isCompanyInterestedInChargeCard===!1&&C.chargeCardsCreditAccountLimit===0,D=u==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===-1,F=u==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===0,fe=u==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit>0,{expressInterestInChargeCardFetchState:Ce}=i,Y=E?o.expressInterest:n?o.enableCardsButton:o.setupCardsButton;return r.jsxs(Ze,{children:[r.jsx(ze,{title:o.title[u],backgroundColor:xe.colors.grey4,onBackClick:d,showBackButton:!0,showMenuIcon:z==="medium-compact"||z==="small",onClickMenuIcon:pe,style:{zIndex:9},source:"ChargeCardPromoPage"}),he===!0?r.jsx(Fe,{onCancelClick:()=>{Q(!1)},meetingUrl:e}):null,r.jsx(Xe,{windowSize:z,children:X===!0?r.jsxs(Qe,{children:[r.jsxs(Ke,{children:[r.jsx(Ge,{isApproved:fe,creditAmount:ue,cardPromoType:u,isUnderReview:F,isRejected:D,showExpressInterest:E}),r.jsx(ne,{cardPromoType:u,cashbackRate:P})]}),r.jsx(ae,{showEnableCardButton:n,cardPromoType:u,isUnderReview:F,isRejected:D,showExpressInterest:E})]}):r.jsx(He,{companyLegalName:s,cards:[],admins:v,cashbackRate:P,hasZeniFinopsRoles:we,cardPromoType:u})}),X&&!(F||D)?r.jsxs(ir,{windowSize:z,children:[r.jsx(W,{variant:"secondary",label:o.scheduleDemoButton,style:{width:166},onClick:ge,"data-testid":q("schedule-demo-button")}),r.jsx(Je,{windowSize:z,children:o.orText}),r.jsx(W,{variant:"primary",label:Y,style:{width:166},loading:i.chargeCardTermsDetails?.fetchStatus.fetchState==="In-Progress"||Ce==="In-Progress",onClick:Y===o.expressInterest?me:()=>l(u),"data-testid":q("enable-card-button")})]}):null]})},Ne=({admins:e})=>{const s=e.flatMap(n=>n.user?.firstName+" "+n.user?.lastName).join(", "),i=b();return r.jsxs(pr,{windowSize:i,children:[r.jsx(U,{underline:!1,windowSize:i,children:o.noCardAssigned.pre}),r.jsx(Ae,{title:s,placement:"top-start",style:{padding:`2px ${t.sp2}`},children:r.jsx(U,{underline:!0,windowSize:i,children:o.noCardAssigned.tooltip})}),r.jsx(U,{underline:!1,windowSize:i,children:o.noCardAssigned.post})]})},ae=({cardPromoType:e,showEnableCardButton:s,isUnderReview:i,isRejected:n,showExpressInterest:p,isCardUser:x=!1})=>{const c=b();return r.jsx(tr,{windowSize:c,children:r.jsx(Ie,{topTermLabel:e==="credit"||e==="debit_and_credit"?o.terms.checkingAccountTerm:void 0,buttonTermLabel:i===!0||n===!0||x===!0?void 0:p===!0?o.terms.approvalTerm:s?o.terms.alternateTerm1:o.terms.terms1,showEndIcon:!1,showTerms:n===!1||x===!1,style:{marginTop:h.termsOfAgreementMarginTop.valuePx(c)}})})},Ge=({isApproved:e,cardPromoType:s,creditAmount:i,isUnderReview:n,isRejected:p,showExpressInterest:x})=>{const c=b(),w=s==="debit_and_credit"?o.promoTextDebitCreditCard:s==="debit"?o.promoTextDebitCard:o.promoTextCreditCard,f=e?r.jsxs(r.Fragment,{children:[o.promoBadgeText.approved,r.jsx(te,{children:i}),o.creditLimit,ee.strings.space]}):x?r.jsxs(r.Fragment,{children:[o.promoBadgeText.nonPreApproved.get,r.jsx(er,{children:o.promoBadgeText.nonPreApproved.scale}),o.promoBadgeText.nonPreApproved.doubleStarred,o.promoBadgeText.nonPreApproved.higherLimits]}):n?o.promoBadgeText.underReview:p?o.promoBadgeText.rejected:r.jsxs(r.Fragment,{children:[o.promoBadgeText.preApproved,r.jsx(te,{children:i}),o.creditLimit,ee.strings.space]});return r.jsxs(r.Fragment,{children:[r.jsx(r.Fragment,{children:c==="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(We,{cardPromoType:s,hideBadge:i==null||s==="debit",windowSize:c,children:[n||p?null:r.jsx(Cr,{}),r.jsx(qe,{windowSize:c,children:f})]})]})},He=({companyLegalName:e,cards:s,admins:i,cashbackRate:n,hasZeniFinopsRoles:p,cardPromoType:x="credit"})=>{const c=b(),w=x==="debit_and_credit"?o.promoTextDebitCreditCard:x==="debit"?o.promoTextDebitCard:o.promoTextCreditCard;return r.jsxs(r.Fragment,{children:[c==="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(cr,{windowSize:c}):r.jsx(Oe,{cards:s,companyLegalName:e}),r.jsx(ne,{cardPromoType:x,cashbackRate:n}),p?null:r.jsx(Ne,{admins:i}),r.jsx(ae,{isCardUser:!0,showEnableCardButton:!1,cardPromoType:x})]})},Oe=({cards:e,companyLegalName:s})=>{const i=H(),n=b();let p="",x;if(e.length===1){x=e[0].cardCreatedByUser.photo;const c=e[0].cardCreatedByUser.firstName+" "+e[0].cardCreatedByUser.lastName;p=o.cardAssigned.singleCreditCard.replace("__issuing-user__",c).replace("__company-name__",s)}else p=o.cardAssigned.multipleCreditCards.replace("__company-name__",s);return r.jsxs(xr,{children:[x!=null?r.jsx(Ye,{width:t.sp5,height:t.sp5,style:{paddingTop:n==="small"?t.sp1:t.sp0},src:x.href,alt:oe.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:c})=>{c.onerror=null,c.src=Be},loading:"lazy"}):null,r.jsx(mr,{windowSize:n,mode:i.mode,children:r.jsx(hr,{windowSize:n,children:p})})]})},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(Ve,{}):r.jsxs(ar,{windowSize:e,children:[r.jsx(N,{cardPromoType:s,cardText:i,shouldAnimate:!0,showChip:!0,forDashboard:!1,forListPage:!1}),r.jsx(G,{cardPromoType:s,cardText:i,showChip:!0,forDashboard:!1,shouldAnimate:!0,forListPage:!1})]})})},ne=({cardPromoType:e,cashbackRate:s})=>{const i=b(),n=o.benefits;return r.jsxs(rr,{windowSize:i,children:[i==="small"?r.jsx(re,{windowSize:i,cardPromoType:e}):null,r.jsxs(or,{windowSize:i,children:[r.jsxs(B,{windowSize:i,children:[r.jsx(I,{children:r.jsx(dr,{})}),r.jsxs(M,{children:[r.jsx(y,{windowSize:i,children:n.item1.pre}),r.jsx(A,{windowSize:i,children:n.item1.bold.replace("__cashback__",(s*100).toFixed(2))}),r.jsx(y,{windowSize:i,children:`${e==="credit"||e==="debit_and_credit"?n.singleStarred:""}${n.item1.post}`})]})]}),r.jsxs(B,{windowSize:i,children:[r.jsx(I,{children:r.jsx(nr,{})}),r.jsxs(M,{children:[r.jsx(y,{windowSize:i,children:n.item2.pre}),r.jsx(A,{windowSize:i,children:n.item2.bold}),r.jsx(y,{windowSize:i,children:n.item2.post})]})]}),r.jsxs(B,{windowSize:i,children:[r.jsx(I,{children:r.jsx(lr,{})}),r.jsxs(M,{children:[r.jsx(y,{windowSize:i,children:n.item3.pre}),r.jsx(A,{windowSize:i,children:n.item3.bold}),r.jsx(y,{windowSize:i,children:n.item3.post})]})]}),r.jsxs(B,{windowSize:i,children:[r.jsx(I,{children:r.jsx(sr,{})}),r.jsxs(M,{children:[r.jsx(y,{windowSize:i,children:n.item4.pre}),r.jsx(A,{windowSize:i,children:n.item4.bold}),r.jsx(y,{windowSize:i,children:n.item4.post})]})]})]}),i==="small"?null:r.jsx(re,{windowSize:i,cardPromoType:e})]})};let k;const Ve=()=>{const e=b(),s=H(),[i,n]=S.useState(0),[p,x]=S.useState(!1),c=o.businessText,w=`${c} ${o.debit}`,f=[{id:1,cardType:"debit",cardText:w},{id:2,cardType:"debit",cardText:w},{id:3,cardType:"credit",cardText:c},{id:4,cardType:"credit",cardText:c}];S.useEffect(()=>(p||(k=setInterval(()=>{n(l=>{const d=l+1;return d===f.length?(x(!0),0):d})},2e3)),()=>clearInterval(k)),[p,f.length]),S.useEffect(()=>{p&&k!=null&&clearInterval(k)},[p]);const v=(l,d)=>{switch((l-i+f.length)%f.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=v(l,!0);return{...d,transform:`${d?.transform} scaleY(-1)`,opacity:1,transition:"transform 0s 0s, z-index 0s 0s"}},u=l=>{p||x(!0),n(l)};return r.jsxs(gr,{windowSize:e,children:[r.jsx(ur,{windowSize:e,children:f.map((l,d)=>r.jsxs(wr,{children:[r.jsx(ie,{isReflection:!1,style:{...v(d,!1)},onClick:()=>u(d),children:d===0||d===2?r.jsx(N,{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(G,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}})},l.id),r.jsx(ie,{isReflection:!0,style:{...P(d)},children:d===0||d===2?r.jsx(N,{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(G,{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))}),p&&r.jsx(Ue,{numberOfDots:f.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:h.navigationBottom.valuePx(e),left:h.navigationLeft.valuePx(e),zIndex:7}})]})},Ze=a.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex: 1 1 auto;
|
|
4
4
|
min-height: 100%;
|
|
5
5
|
flex-direction: column;
|
|
6
6
|
background-color: ${e=>e.theme.colors.grey4};
|
|
7
|
-
`,
|
|
7
|
+
`,Je=a(Me)`
|
|
8
8
|
color: ${e=>e.theme.colors.hero};
|
|
9
|
-
`,
|
|
9
|
+
`,Ke=a.div`
|
|
10
10
|
display: flex;
|
|
11
11
|
flex-direction: column;
|
|
12
12
|
align-items: center;
|
|
@@ -16,7 +16,7 @@ import{X as b,M as oe,j as r,u as H,t as $e,d2 as ye,a1 as be,_ as je,l as Se,fk
|
|
|
16
16
|
justify-content: space-between;
|
|
17
17
|
flex: 1;
|
|
18
18
|
width: 100%;
|
|
19
|
-
`,
|
|
19
|
+
`,Xe=a.div`
|
|
20
20
|
padding-top: ${e=>h.containerPaddingTopBottom.valuePx(e.windowSize)};
|
|
21
21
|
padding-bottom: ${e=>h.containerPaddingTopBottom.valuePx(e.windowSize)};
|
|
22
22
|
text-align: center;
|
|
@@ -52,11 +52,11 @@ import{X as b,M as oe,j as r,u as H,t as $e,d2 as ye,a1 as be,_ as je,l as Se,fk
|
|
|
52
52
|
padding: 6px ${t.sp3} ${t.sp0} ${t.sp3};
|
|
53
53
|
text-align: center;
|
|
54
54
|
margin-top: 6px;
|
|
55
|
-
`,
|
|
55
|
+
`,Ye=a.img`
|
|
56
56
|
border-radius: 50%;
|
|
57
57
|
justify-content: center;
|
|
58
58
|
color: ${e=>e.theme.colors.hero};
|
|
59
|
-
`,
|
|
59
|
+
`,We=a.div`
|
|
60
60
|
display: flex;
|
|
61
61
|
flex-direction: row;
|
|
62
62
|
align-items: center;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import{u as Ve,X as Ie,d2 as De,a1 as M,a as Oe,c3 as Be,l as Ue,M as _e,a7 as N,j as t,cI as ze,g as $e,C as r,aV as Re,c as Le,F as We,c_ as Me,o as B,v as Ne,aQ as qe,a3 as He,n as a,q as Ge}from"./index-DyBH5SZv.js";import{b as p,n as S}from"./vendor-CnQcJ2Lu.js";import{F as Je}from"./HelpButton-Dv3nbc1Z-CHaoZd0g.js";import{K as Ke}from"./SetUpDefaultSection-ul-q6U3w-CKVV_QFK.js";import{f as Qe,y as q}from"./SpendMgmtSetupAccountSection-BtcwTlJT-Bsya0Qr3.js";import{x as Xe}from"./LabeledControlledCheckBoxField-Ds3mSsWy-DNoefl6y.js";import{g as Ye}from"./UploadAdditionalDocumentOverlay-KkO_TLUT-n0LOLnpS.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-D_WPTVKr-DYqVpuuh.js";import"./ChargeCardUtils-BvVm2SMq-B6pl3c2F.js";import"./CreditCardPaymentPlgSection-BhHsjqZA-DtxErSDc.js";import"./ChaseOverlay-CI8lEzod-DNTlxx9v.js";const c={titleWidth:new r(343,580,726,826),setupDetailsRowGap:new r(12,a[5],a[5]),sectionRowGap:new r(a[5],a[9],a[9]),iconWidthHeight:new r(20,a[4]),subTitlePaddingTop:new r(12,a[3]),subTitlePaddingBottom:new r(a[3],a[3]),overlayWidth:new r(100,100,59),checkBoxTop:new r(a[1],a[0])},H="chargeCardSetUpPage",h="payAccount",{commonSetUp:Ze,spendManagement:et}=_e.getLocalizedStrings(),{chargeCard:K}=et,{chargeCardSetUp:m}=K,{setUp:U}=Ze,At=({autoPayThreshold:e,isDisabled:x,meetingUrl:v,isEarlyPayEnabled:f,chargeCardSetUpView:o,connectedAccountProvider:Q,filesEndPoint:X,authParams:Y,isAccountsEnabled:Z,isDebitCardOnlyEnabled:E,isCreditCardOnlyEnabled:ee,accountsPromoConfig:te,onFetchLinkTokenClick:ne,onBackClick:ie,onEnableChargeCardClick:oe,onUpdateChargeCardClick:ae,onBusinessVerificationSectionClick:ce,onUpdatePaymentAccountStatus:le,onUpdatePaymentAccountLoginStatus:se,onUpdatePrimaryFundingAccount:re,onUpdateAutoPayClick:de,onEstablishConnectionClick:ue,onEstablishConnectionSuccess:pe,onClickMenuIcon:me,onEnableChargeCardSuccess:P,onEditFileName:he,onDeleteFile:fe,updateFilesEntity:ge,onCompanyOfficerUpdated:ye,onSendForVerificationClick:Ce,onSignUpClick:be})=>{const g=Ve(),i=Ie(),T=De().analytics,[w,y]=p.useState(!1),{fetchState:C,companyBillPayInfo:_,isRefreshingViewInBackground:Se,updateStatus:d,accountUpdateStatus:xe,plaidConnectionDetails:Pe,allBankAccounts:we,companyChargeCardInfo:z,companyDebitCardInfo:Ae,selectedCompanyOfficer:l,primaryFundingAccount:s,allFundingAccounts:$}=o,R=M(C),A=M(d.fetchState),F=Oe({mode:"all",reValidateMode:"onChange",defaultValues:p.useMemo(()=>G(o),[o]),values:G(o)}),ke=F.handleSubmit(oe),ve=async(b,k)=>{const n=k[h];if(b.includes(h))if(b.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&s?.id!=n.fundingAccount.selectedOption){const u=$.find(O=>O.id===n.fundingAccount.selectedOption);u!=null&&re(n.fundingAccount.selectedOption,u.accType)}}else if(n.account.selectedOption!=null&&s?.id!=null&&s?.zeniAccountId!=n.account.selectedOption){const u=n.account.allOptions.find(O=>O.value===n.account.selectedOption);u!=null&&typeof u.label=="string"&&T.trackConnectBankLink(u.value,u.label,"charge_cards"),ae(n.account.selectedOption,s.id,s.accType)}else b.includes("enableAutoPay")&&n.enableAutoPay!=null&&de(n.enableAutoPay)};p.useEffect(()=>{const b=F.watch((k,{name:n})=>{n!=null&&k!=null&&Be(()=>ve(n,k))});return()=>{b.unsubscribe()}}),p.useEffect(()=>{!w&&l?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&l.areAdditionalDocumentsRequestedForVerification&&!l.areAdditionalDocumentsSubmittedForVerification&&l.userVerificationStatus?.code==="require_info"&&y(!0),w&&R==="In-Progress"&&C==="Completed"&&y(!1)},[l,C,R]),p.useEffect(()=>{A==="In-Progress"&&d.fetchState==="Completed"&&P()},[P,A,d.fetchState]);const j=z?.isChargeCardEnabled===!0,V=Ae?.isDebitCardEnabled===!0,L=_?.isBusinessVerified===!0,Ee=s?.accType==="depositAccount"||Ue.isVerifiedPaymentAccountProviderStatusCode(s?.providerVerificationStatus?.code??""),I=E?L:L&&Ee,Te=C==="In-Progress"||C==="Not-Started";p.useEffect(()=>{A==="In-Progress"&&d.fetchState==="Completed"&&P()},[P,A,d.fetchState]);const D=E?I&&!V:ee?I&&!j:I&&!(j&&V),Fe=D?m.setupSubTitleNotEnabled:m.setupSubTitle,W=g.mode==="light"?new N(g.colors.brandColorJadeLight):new N(g.colors.brandColorJadeDark),je=()=>{!w&&l?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&l.areAdditionalDocumentsRequestedForVerification&&!l.areAdditionalDocumentsSubmittedForVerification&&l.userVerificationStatus?.code==="require_info"?y(!0):ce?.()};return t.jsxs(nt,{children:[t.jsx(ze,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:w,onClose:()=>y(!1),style:{backgroundColor:$e.drawerBackground},transitionDuration:250,children:t.jsx(Ye,{authParams:Y,filesEndPoint:X,updateStatus:d,onEditFileName:he,onDeleteFile:fe,updateFilesEntity:ge,companyOfficer:l,onClose:()=>y(!1),onCompanyOfficerUpdated:ye,onSendForVerificationClick:Ce})}),t.jsx(Re,{title:m.setupTitle,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:ie,showMenuIcon:!j&&!V&&(i==="medium-compact"||i==="small"),onClickMenuIcon:me,source:"ChargeCardSetupPage"}),t.jsxs(tt,{windowSize:i,children:[t.jsx(it,{windowSize:i,children:Fe}),Te?t.jsx(ot,{children:t.jsx(Le,{size:"ExtraLarge",start:!0})}):t.jsx(We,{...F,children:t.jsx("form",{id:J(H),onSubmit:ke,children:t.jsxs(at,{windowSize:i,children:[t.jsx(Ke,{onClick:je,title:U.businessVerificationTitle,subTitle:U.businessVerificationSubTitle,header:U.businessVerificationHeader,icon:{element:t.jsx(Me,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:W},status:_?.businessVerificationStatus,isLoading:Se,isActiveWhileLoading:!0}),E?null:t.jsx(Qe,{connectedAccountProvider:Q,primaryFundingAccount:s,allFundingAccounts:$,plaidConnectionDetails:Pe,allBankAccounts:we,sectionId:h,isDisabled:x,onFetchLinkTokenClick:ne,onEstablishConnectionClick:ue,onUpdatePaymentAccountStatus:le,onUpdatePaymentAccountLoginStatus:se,sectionTitle:m.setupAccountSectionTitle,onEstablishConnectionSuccess:pe,icon:{element:t.jsx(qe,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:W},analytics:T,productType:"charge_cards",isAccountsEnabled:Z,onSignUpClick:be,pageName:m.pageName,accountsPromoConfig:te,accountSelectContainerStyle:f?{marginBottom:"20px"}:{},bottomComponent:f&&t.jsx(Xe,{label:{label:K.payEarly.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{color:g.colors.primary,...Ne.smallRegular.cssObject,alignItems:"center"}},style:{width:"unset",marginRight:B.sp4,marginTop:B.sp1,alignItems:i==="small"?"flex-start":"center"},checkBoxField:{name:q(h,"enableAutoPay"),checkBoxValue:q(h,"enableAutoPay"),defaultChecked:z?.isAutoPayEnabled,style:{top:c.checkBoxTop.valuePx(i)}}})})]})})})]}),D?t.jsx(He,{formId:J(H),primaryBtn:{label:m.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:d.fetchState==="In-Progress"||xe.fetchState==="In-Progress",isDisabled:x!=null},showCancel:!1,cancelBtn:{label:""},style:{padding:`12px ${B.sp3}`}}):null,t.jsx(Je,{isFooterRendered:D,meetingUrl:v,analytics:T,productType:"charge_cards"})]})},G=e=>{const{allBankAccounts:x,allFundingAccounts:v,primaryFundingAccount:f}=e;return{[h]:{fundingAccount:{selectedOption:f?.id,allOptions:v.map(o=>({label:o.label,value:o.id,isRecommended:o.accType==="depositAccount"}))},account:{selectedOption:f?.zeniAccountId,allOptions:x.map(o=>({label:o.accountName,value:o.accountId}))},enableAutoPay:e.companyChargeCardInfo?.isAutoPayEnabled}}},J=e=>`${e}_form`,tt=S.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
justify-content: flex-start;
|
|
4
|
+
height: 100%;
|
|
5
|
+
overflow-y: auto;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
align-items: center;
|
|
8
|
+
row-gap: ${e=>c.setupDetailsRowGap.valuePx(e.windowSize)};
|
|
9
|
+
`,nt=S.div`
|
|
10
|
+
display: flex;
|
|
11
|
+
min-height: 100%;
|
|
12
|
+
height: 100%;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
width: 100%;
|
|
15
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
16
|
+
`,it=S(Ge)`
|
|
17
|
+
color: ${e=>e.theme.colors.hero};
|
|
18
|
+
display: flex;
|
|
19
|
+
justify-content: center;
|
|
20
|
+
width: ${e=>c.titleWidth.valuePx(e.windowSize)};
|
|
21
|
+
padding-top: ${e=>c.subTitlePaddingTop.valuePx(e.windowSize)};
|
|
22
|
+
padding-bottom: ${e=>c.subTitlePaddingBottom.valuePx(e.windowSize)};
|
|
23
|
+
text-align: ${e=>e.windowSize==="small"?"initial":"center"};
|
|
24
|
+
`,ot=S.div`
|
|
25
|
+
display: flex;
|
|
26
|
+
width: 100%;
|
|
27
|
+
height: calc(100vh - 110px);
|
|
28
|
+
flex-direction: row;
|
|
29
|
+
justify-content: center;
|
|
30
|
+
align-items: center;
|
|
31
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
32
|
+
`,at=S.div`
|
|
33
|
+
display: flex;
|
|
34
|
+
flex-direction: column;
|
|
35
|
+
row-gap: ${e=>c.sectionRowGap.valuePx(e.windowSize)};
|
|
36
|
+
`;export{At as default,J as uniqueName};
|