@zeniai/web-cockpit-ui 1.14.0-qa → 1.14.1-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-CSnsNr1V-AnFfeOPF.js → ACHDetailsPage-CfXmiXOX-Bw6PIXTR.js} +1 -1
- package/dist/assets/{AIPerformancePage-Bp6NkJmc-CxDVB6rM.js → AIPerformancePage-BTkeAbzQ-BrardM2A.js} +11 -11
- package/dist/assets/{AccountInfoPage-DUhICds8-CmsXdn7D.js → AccountInfoPage-Cw14e1jO-BsUim3eq.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-DrQmMqaW-ClEz9icF.js → AccountInfoPageContent-cvYWnpel-CJmb2W-r.js} +5 -5
- package/dist/assets/{AccountReconDetailsDrawerPage-D3xJm7fZ-BOoKLLlf.js → AccountReconDetailsDrawerPage-DOKqIknC-DSx-KpKz.js} +1 -1
- package/dist/assets/{AccountRow-BZ3Sp_Zw-D-QDfd_i.js → AccountRow-Ca-OS9TF-boQKAn9P.js} +7 -7
- package/dist/assets/{AccountsPromoCardStack-RNWvlSoJ-KCxxOTK8.js → AccountsPromoCardStack-CwEVkbGD-GfsHQDZG.js} +10 -10
- package/dist/assets/{AddAddressForCardDrawer-BnlGRnfE-ZewvbMje.js → AddAddressForCardDrawer-B1zyrJMb-gDNlBeVv.js} +1 -1
- package/dist/assets/{AddToWalletPage-BsDJbWcg-C5usaKRC.js → AddToWalletPage-s7c161JX-Bbl7vvY4.js} +18 -18
- package/dist/assets/{AgingReportsPage-BzfKuv3U-BtlCXjA4.js → AgingReportsPage-Be-2Z_KS-Cp8WnRhH.js} +1 -1
- package/dist/assets/{AllUserItems-Dons5n56-DG04EpGo.js → AllUserItems-B4Iah9-Z-B79SOI6_.js} +1 -1
- package/dist/assets/{ApAgingDetailPage-hyvhEbaW-CW6LJBvG.js → ApAgingDetailPage-D_KV9urv-CMDNQ6iG.js} +1 -1
- package/dist/assets/{AppBasePage-CoHyqNQo-y6derDO0.js → AppBasePage-GbE58C1g-BcYXZw8U.js} +1 -1
- package/dist/assets/{AppDrawerContent-ChAQrDWU-AUk46fgG.js → AppDrawerContent-YTvkEPk_-6eMbUyIc.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-DZ-tEUhJ-E5MLHYHo.js → ApprovalRulesSettingsPage-Cct7Nzfb-BnkTkJjh.js} +1 -1
- package/dist/assets/{ArAgingChart-B6sVwdsh-BN_eHpTl.js → ArAgingChart-BeVadylU-XR25EAL6.js} +6 -6
- package/dist/assets/{ArAgingDetailPage-DlI47K7L-B5kRFhhu.js → ArAgingDetailPage-CWUA4S2q-Ww5hXmPO.js} +1 -1
- package/dist/assets/{AttachmentView-Cn3hQEkQ-C-MK6zFe.js → AttachmentView-DGsub__A-BBxOr8Ij.js} +1 -1
- package/dist/assets/{BankAccountSection-Dt3lb88O-C0ekT5FH.js → BankAccountSection-CtTkNBok-D2ekA6eB.js} +1 -1
- package/dist/assets/{BankAccountWarningSection-HVZlzCAu-C9OaFu3k.js → BankAccountWarningSection-dVdrPYm5-CnmYzGhr.js} +8 -8
- package/dist/assets/{BankConnectionsSettingsPage-sI4-KHqF-C5u_hjma.js → BankConnectionsSettingsPage-_e4jMGI2-DH8UTyN3.js} +1 -1
- package/dist/assets/{BillDetailPage-DJ4f8xle-MFFx8J04.js → BillDetailPage-Dz4_gdDb-ycU3JEwF.js} +6 -6
- package/dist/assets/{BillPayApprovalRuleDetailPage-BHYWECuG-BsUxD2s6.js → BillPayApprovalRuleDetailPage-DcNLlDh2-B0LeGU7-.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-C060AuRe-D4IuXN9b.js → BillPayApprovalRulesPage-C_NDjp6G-D74xT3Vs.js} +3 -3
- package/dist/assets/{BillPayPromoPage-D6RRu4W_-CwWx8sLF.js → BillPayPromoPage-TkLMkxeC-CRgciQY3.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-3J8PIprb-DbSj48hf.js → BillPaySetUpPage-DTGSGVO0-BjFYWMnM.js} +1 -1
- package/dist/assets/{BillingSettingsPage-DdH-O80Y-CNx21AcU.js → BillingSettingsPage-0RLFEj6x-1Rx-lW-z.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-BzRPYgmH-CP6RVlDS.js → BillsBulkReviewDrawerPage-rkkXgsz4-DCe7oECG.js} +1 -1
- package/dist/assets/{BoxItem-eTxUGnXc-CUU2vRQc.js → BoxItem-CIBzy4ZV-BGT6YXil.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-DXnmg7Ux-37p0I11q.js → BusinessVerificationPage-T63_ft8O-BLj5IAMR.js} +1 -1
- package/dist/assets/{CardNumberSubText-D5z3PEdv-H47FlSvQ.js → CardNumberSubText-FOFiHz-M-BomqpZHj.js} +1 -1
- package/dist/assets/{CashbackDetailPage-Bjdd2yr4-CNe1R1Nq.js → CashbackDetailPage-C1rbQ71n-BwGr1RFv.js} +13 -13
- package/dist/assets/{ChargeCardDetailPage-C5dnGCGs-9TZ-0RA8.js → ChargeCardDetailPage-OgsnesGD-BZdk7_5L.js} +23 -23
- package/dist/assets/{ChargeCardListPage-CKjT6WqS-BusO0rPu.js → ChargeCardListPage-CLHFYydY-CXTzCBUe.js} +1 -1
- package/dist/assets/{ChargeCardListTable-B3e8phUk-DjC7fkct.js → ChargeCardListTable-ePSGyBtc-B6G4rFZ9.js} +8 -8
- package/dist/assets/ChargeCardPromoPage-Bi9cAv-f-5sPJiGwd.js +219 -0
- package/dist/assets/{ChargeCardSetupPage-DVt_tQuX-4ANc8OrQ.js → ChargeCardSetupPage-DvlKbA_C-AlRyM6Q7.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-9q007HWr-CXcIqocN.js → ChargeCardStatementsPage-CXhcA95f-C45_cho2.js} +2 -2
- package/dist/assets/{ChargeCardUtils-CHHXg_Qi-Cx1TeQt_.js → ChargeCardUtils--ltNyvP2-TY5I7nE-.js} +1 -1
- package/dist/assets/{ChaseOverlay-Bc0GfIc6-_Os2ahEO.js → ChaseOverlay-CxEiwxZq-CYOJ8ZhP.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-DBXKuV2a-D3U3JCee.js → CheckDepositDrawerPage-CmZbDsc3-C6Gzx2Ad.js} +4 -4
- package/dist/assets/{CollapsableReportTable-DlPsnWiz-CNQqG22W.js → CollapsableReportTable-CyQ4sWuS-DlLXYbkM.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-BQW5rZjd-0v3eAxaa.js → CompanyOfficerDetailsSection-DPufRe0m-C6FmxOML.js} +5 -5
- package/dist/assets/{CompanyPassportCard-CDnPUIJs-DOq-zxur.js → CompanyPassportCard-JgslGZ14-CZLKyeTG.js} +1 -1
- package/dist/assets/{CompanyPassportPage-CIjDFl5o-CTilL_0y.js → CompanyPassportPage-B89YFcPT-CNi42FVb.js} +1 -1
- package/dist/assets/{CompleteProfile-B4nZ7vC_-BJOA0UIa.js → CompleteProfile-D0RvVu97-BvDLvwiX.js} +1 -1
- package/dist/assets/{ConfettiBurst-Ba2OiqXD-i40JWbMy.js → ConfettiBurst-D3BYCsW2-CicOQOeb.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-sF6U1fFH-CEAIsXEn.js → CreateOrEditVendorPage-C6Ddagzy-CrkxkCuT.js} +6 -6
- package/dist/assets/{CreditCardPaymentDrawerPage-mMyTBk4j-D_TLeEA6.js → CreditCardPaymentDrawerPage-C3mZhiZb-D2CoSxGr.js} +6 -6
- package/dist/assets/{CreditCardPaymentPlgSection-D1iBVxR6-DYlUTV1R.js → CreditCardPaymentPlgSection-D9oAn9qk-hoy3ieFS.js} +1 -1
- package/dist/assets/{CurrencySelectField-PFKAqHQu-X-DDEjkd.js → CurrencySelectField-BBgpim44-D9iz41su.js} +5 -5
- package/dist/assets/{CustomerOnboardingActivationPage-B1_0-eof-Bttf6Ovz.js → CustomerOnboardingActivationPage-iG0RHsLk-C1JrpXcK.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-Dh5KIySS-CJFQyXj_.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-Cc2MEctL-C01HLRww.js → CustomerOnboardingDetailPageSkeleton-tTcayyvt-DVLGbpG0.js} +1 -1
- package/dist/assets/{CustomerOnboardingNoStepsPage-CfsBxwGr-DaUewhhB.js → CustomerOnboardingNoStepsPage-CIranNRI-DmxCUvPO.js} +5 -5
- package/dist/assets/{CustomerOnboardingPage-BH4c57yX-kcvypEhz.js → CustomerOnboardingPage-aq8E7XsP-D1AWzLDa.js} +1 -1
- package/dist/assets/{CustomerOnboardingProductSuitePage-QQlL3hKv-DnQsjZx8.js → CustomerOnboardingProductSuitePage-DRnOKNVC-BW6Dqkww.js} +2 -2
- package/dist/assets/{Dashboard-BaJ9E50_-Cvov4YQ4.js → Dashboard-DyvhSbme-CqiNyEeS.js} +1 -1
- package/dist/assets/{DashboardReportPage-q9hnDFuv-DVBTy9y2.js → DashboardReportPage-Cy_f84RN-BBIf3h8d.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-BZcado4W-CSrC65dx.js → DepositAccTransactionItem-DK15lI5V-XJtPziNz.js} +4 -4
- package/dist/assets/{DepositAccTransactionListPage-CFzpTiWv-glGH-rvr.js → DepositAccTransactionListPage-CRBhV8W1-B1ipg9Mm.js} +2 -2
- package/dist/assets/{DocumentSecurityBanner-Dk3o5_6F-B7JodPa6.js → DocumentSecurityBanner-C0bght0k-vffkcqMR.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-mbgormGs-zMqxbnXL.js → DomesticWireDetailsPage-BX8glsOH-C_hYfUMN.js} +1 -1
- package/dist/assets/{DownloadOverlay-CPS0X-o1-BgUUax4z.js → DownloadOverlay-C5kTy4dA-91imq83n.js} +1 -1
- package/dist/assets/{DrawerPage-JCR8KCkv-CZzz5UfO.js → DrawerPage-Bwgpjwed-Dbn0o-MI.js} +1 -1
- package/dist/assets/{EditPeoplePage-Bv-eRTlp-JOqzrmEu.js → EditPeoplePage-W-SFOxhC-DmK3cjsW.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-QeCQ59Wr-g0QdqfEy.js → EditReimbursementDetailPage-D1Iduokd-BJNaLsWB.js} +48 -48
- package/dist/assets/{EntityDetailPage-CRu4kJBb-Dbzhhv29.js → EntityDetailPage-BkRcX4SZ-D3jHuVtH.js} +1 -1
- package/dist/assets/{EntitySummarySection-B8ad0rxa-DqJg8XMh.js → EntitySummarySection-BlJR-qOB-BGQRVSO6.js} +11 -11
- package/dist/assets/{ExpenseAutomationOverviewPage-Ckmim262-DcfZLbmi.js → ExpenseAutomationOverviewPage-qT0g5t_P-9L0vQmNh.js} +1 -1
- package/dist/assets/{ExpenseAutomationPage-Crlshy4t-D9OssFW2.js → ExpenseAutomationPage-CMKwWy2d-BxRd7q46.js} +1 -1
- package/dist/assets/{ExpressPayPage-DD1ht-J--Caxa1xoe.js → ExpressPayPage-DXfqMxkG-esMjhJU_.js} +1 -1
- package/dist/assets/{FeaturePreviewPage-DGljBaN4-DrwcY9JO.js → FeaturePreviewPage-CjZuOo_K-BURLQGI3.js} +1 -1
- package/dist/assets/{FollowStepsSection-Bx8_JsRm-B-UHAfgu.js → FollowStepsSection-CO5MsYe6-DJwkRNbY.js} +1 -1
- package/dist/assets/{GlobalReviewListPage-BPV4E3tM-D28oyWWi.js → GlobalReviewListPage-BIMdWu5P-DVJexznn.js} +1 -1
- package/dist/assets/{HelpButton-pj034msF-BXXf52YY.js → HelpButton-BGHsn-1b-Cb4db_8O.js} +1 -1
- package/dist/assets/{InformationCardStack-D5r7fGUK-CY1DE42g.js → InformationCardStack-B8rD8LSH-yY61wi0E.js} +4 -4
- package/dist/assets/{InsightsCardStack-DSRF-w9c-zg4ZwiGO.js → InsightsCardStack-AwXZ6ysD-CAyDZRBh.js} +1 -1
- package/dist/assets/{InsightsSection-jbXmsMC6-Dtfu_P6f.js → InsightsSection-BZS-MEy4-D-RgHCTj.js} +3 -3
- package/dist/assets/{IntegrationsSettingsPage-Dcr2s_B6-CRMt1Y7E.js → IntegrationsSettingsPage-D2tfKsbR-3hbSPzUb.js} +1 -1
- package/dist/assets/{InternationalWireSwiftDetailsPage-C4zVgFLt-C9m9o35d.js → InternationalWireSwiftDetailsPage-5NmSFI7x-CMxHmzOl.js} +4 -4
- package/dist/assets/{InternationalWireVerificationPage-Djedh5bX-DBqs5V15.js → InternationalWireVerificationPage-C8WA6jI_-CkLLJOPd.js} +4 -4
- package/dist/assets/{InviteFormPage-CY2f6v6c-D3HGgXYd.js → InviteFormPage-DC2ewDUN-BAnhpAwr.js} +6 -6
- package/dist/assets/{InvitePageListView-DI3F52Zy-D4WJtEj1.js → InvitePageListView-DaShj4IM-BOaRvdOZ.js} +18 -18
- package/dist/assets/{InvitePeoplePage-BQSIcOiF-Dkdiy0rK.js → InvitePeoplePage-BbY4ZpGl-DYibhSDJ.js} +1 -1
- package/dist/assets/{InvoiceUploadSection-B80zba2p-D8dqQO7z.js → InvoiceUploadSection-DZJTULDZ-CCiLRTJv.js} +4 -4
- package/dist/assets/{IssueChargeCardPage-6-s-UWq_-ZZ7MTNLM.js → IssueChargeCardPage-C1zB2vrB-BGIJGo3C.js} +1 -1
- package/dist/assets/{LabeledAddressValue-DvHuoKA3-BLWatlNE.js → LabeledAddressValue-BDA7y5Fq-D9zYp9L5.js} +1 -1
- package/dist/assets/{LabeledAddressValueField-D_MiUMo1-B8J8XCv2.js → LabeledAddressValueField-fj8E8gFz-pB5NcQXj.js} +1 -1
- package/dist/assets/{LabeledControlledCheckBoxField-CCyeo-ZW-CDgcsnmr.js → LabeledControlledCheckBoxField-aLuztBgv-CQQDZTL8.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-CZzezvdx-BxiovdlH.js → LabeledCreatableSingleSelectField-zhHbiOVO-Du1erYiL.js} +1 -1
- package/dist/assets/{LabeledDocumentField-CmVMZUTj-zg2u64KT.js → LabeledDocumentField-BTgmGAGq-ye6jxVF6.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-DwioWQ3H-ZKMTxPAa.js → LabeledDropDownFormattedTextField-BdAKZt7q-DJYe0D29.js} +1 -1
- package/dist/assets/{LabeledText-DCAW4nE7-D8VDmzIq.js → LabeledText-CMrFKM7D-U8mavECd.js} +2 -2
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-7h-ttahY-bbDcqYtH.js → LabeledUserSingleSelectWithSubtitlesField-C8A0HrPt-Dt-qPiqg.js} +7 -7
- package/dist/assets/{LabeledZeniRolesDropDownField-D4BIq5HF-S63M19Fh.js → LabeledZeniRolesDropDownField-BaiPRGJf-ThyMB5yW.js} +5 -5
- package/dist/assets/{LinkJETransactionPage-DAQVDAXt-DBT-iDGX.js → LinkJETransactionPage-CWc1e0RL-uXbP7Kvy.js} +1 -1
- package/dist/assets/{LowBalancePopup-D9Q_ALaf-BiWASUK2.js → LowBalancePopup-COu8cuzS-D_SGW7IW.js} +1 -1
- package/dist/assets/{MagicLinkACHDetailsPage-ynvW5qdK-DNy5Q1Lv.js → MagicLinkACHDetailsPage-h0Srx7SO-dPgjPO_-.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-4UCrDRCC-Bq-tQJp8.js → MagicLinkDomesticWireDetailsPage-BIZqOfHW-tQ-JKEYq.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-C4lIsKUB-C3OvDimI.js → MagicLinkInternationalWireDetailsPage-MSHTQMXn-BVkJt1cv.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-9c9Tn_qo-CwdkX5kB.js → MagicLinkSuccessPage-BjWw4cqt-AmPRrK11.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-BrjFuMwS-D1qmzrWE.js → MagicLinkTitleSection-Cll6JJDZ-CoLcdtN3.js} +1 -1
- package/dist/assets/{MailingDetailsSection-DgDMtsxQ-Cnqwqnmp.js → MailingDetailsSection-DWSj0MOB-BPZUzJp9.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-CRSDBuLJ-D1XUzPrf.js → MeetingCalenderPopup-CTuOhFQC-C5al8-0n.js} +3 -3
- package/dist/assets/{Menu-BzQoNjkh-cD4Fdts5.js → Menu-DlBP5CCV-y1Vf24E1.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-C45EhJK5-DZzttb9S.js → MyBankConnectionsSettingsPage-BYqoUq4q-Da0QKGU9.js} +9 -9
- package/dist/assets/{MyPendingActivationChargeCardListPage-CR_cld21-Ux8Abhj8.js → MyPendingActivationChargeCardListPage-BABBa4je-B1cN2Q5f.js} +1 -1
- package/dist/assets/{MyProfileSettingsPage-Bd4BMq8O-DPOnVs42.js → MyProfileSettingsPage-Dk_jK8-R-BnmR2m7z.js} +1 -1
- package/dist/assets/{NavBarWithPicker-Dn4oWjCF-N2jxIvIh.js → NavBarWithPicker-BC2xbV2b-BcYENhJM.js} +1 -1
- package/dist/assets/{NavigationArrow-DDiJFL1e-DjMMfLsg.js → NavigationArrow-BovrdeuJ-BGk3-i0K.js} +1 -1
- package/dist/assets/{NavigationDots-Cv-F19I9-tBMc8ISf.js → NavigationDots-yYTGREt4-DTRiZdAJ.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-B7muJVCL-mgLBgn6F.js → NewGlobalMerchantPage-BKlPnipd-BUgMD2pk.js} +4 -4
- package/dist/assets/NoDataChart-Dhg-k7iX-B526qZJD.js +26 -0
- package/dist/assets/{NoDataTable-rfVgRk3Q-BEaILjFs.js → NoDataTable-jpCLeiDv-DPfhsNYe.js} +1 -1
- package/dist/assets/{NotFoundPage-DfZN-1Pf-B4NaWN5R.js → NotFoundPage-DrKqVOry-CJmDZfXH.js} +4 -4
- package/dist/assets/{NotificationSettingsPage-CZ7uvC_h-LtcJvSnH.js → NotificationSettingsPage-lojoBPQ8-BBTvd9G7.js} +28 -28
- package/dist/assets/NotificationsListConfig-jbIMYvrE-DMMvGaQE.js +1 -0
- package/dist/assets/{NotificationsPage-CkhbN-kU-CscacZfe.js → NotificationsPage-DJNUS9wc-8qosqB88.js} +12 -12
- package/dist/assets/{OpExByVendorPage--OssjAU3-Cxrn-N9W.js → OpExByVendorPage-xMyUkO51-DLNCDIdB.js} +4 -4
- package/dist/assets/{OverlayContainerPage-GWXnlbZH-03aTtMTb.js → OverlayContainerPage-GWXnlbZH-DExKUjLx.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-ClndDOYh-B9wT1Nlc.js → PandLWithForecastPage-BHtPelIT-DOZ7XwiG.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-C078sYd8-2YgIo820.js → PaymentAccountSetupBillingAddressSection-B2ZBSiCT-BcCn0Sg1.js} +4 -4
- package/dist/assets/{PeoplePage-CW_L4QmC-CQ6F3obN.js → PeoplePage-CzQXmGVU-3wd2TE5z.js} +1 -1
- package/dist/assets/PortfolioAllocationFormPage-B1Xa0wKV-C9f5vgAD.js +207 -0
- package/dist/assets/{PortfolioDetails-BO6oRP5r-D0WEIBgj.js → PortfolioDetails-BY-IK4yO-BaoJWjzR.js} +23 -23
- package/dist/assets/{ProductsCarousel-D-AotGP3-D_E8Rtsf.js → ProductsCarousel-B7h_gH-R-XoeszqUs.js} +6 -6
- package/dist/assets/{PromoBaseCards-BaRq2gW7-Dnv2udfr.js → PromoBaseCards-CuJXuijt-Cwtg1Msq.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-TWp9ojWE-CJN340b5.js → QBOConnectionDialog-DsNkkj_j-C8IchF8A.js} +2 -2
- package/dist/assets/{QBOSetupSection-CAEVos7R-D3-6Pj8J.js → QBOSetupSection-DkoopYHr-B4YL_CMi.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-DNvNDsYb-B8zX_LUg.js → ReimbursementApprovalRuleDetailPage-BAapaJEJ-DsiatGsD.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-PP2Av_Fg-D-fHbLQ8.js → ReimbursementApprovalRulesPage-BkiZVc7S-CGfJ2oyo.js} +4 -4
- package/dist/assets/{ReimbursementDetailPage-BxODrJT2-BPsIYS6v.js → ReimbursementDetailPage-S9j_KDZJ-B4Ft6bVK.js} +4 -4
- package/dist/assets/{ReimbursementPromoPage-CY07bEdH-Wp4eoqRA.js → ReimbursementPromoPage-BJJruudV-4Q4ZYCZV.js} +3 -3
- package/dist/assets/{ReimbursementSetUpPage-KP5C3TD9-BYMDK6Yi.js → ReimbursementSetUpPage-CQdxq5lk-MGbpCaqc.js} +1 -1
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-kmEhvHQX-B6GlOKgB.js → ReimbursementsBulkReviewDrawerPage-5LGKVY6X-ClMjr5Ld.js} +1 -1
- package/dist/assets/{ReloadCard-BCOFjZZr-BIlFv4JF.js → ReloadCard-DBRY9FdH-DLbqkxuz.js} +6 -6
- package/dist/assets/{ReportTableViewSelector-DRJq_coC-B4kGEXx8.js → ReportTableViewSelector-DOxnK0VV-Civ7jc9s.js} +26 -26
- package/dist/assets/{ReportsPage-SG40vbC5-hiVn6A2p.js → ReportsPage-r_MRjkkb-B5PSr911.js} +1 -1
- package/dist/assets/{RevenueChart-Ca64TJCo-BShRCeNi.js → RevenueChart-DhCkb0c6-CpmVmIv5.js} +13 -13
- package/dist/assets/{ReviewDetailsPage-BU-0bDd9-Bwsio8yq.js → ReviewDetailsPage-DWtgiOYE-C2elGQRI.js} +1 -1
- package/dist/assets/{ReviewOverlay-CL3CPnN_-D2XLVK3Z.js → ReviewOverlay-CjWEPPvw-B5TX8ZjT.js} +5 -5
- package/dist/assets/RoleWithToolTip-4WCTaiOg-BCe2sjxQ.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-X38BPRbi-2wcS2UIm.js → ScheduleDetailsFixedAssetsPage-CSxG7vXq-DCXxKyPi.js} +1 -1
- package/dist/assets/{ScheduleDetailsPage-DXNHT3jy-khKKf9ln.js → ScheduleDetailsPage-BqaZqCZJ-pwjFyU_u.js} +4 -4
- package/dist/assets/{ScheduleSequenceTable-DOoxwZ33-J73b5lGg.js → ScheduleSequenceTable-H_kZuoon-C9WFZ9rS.js} +1 -1
- package/dist/assets/{ScreenRoutes-C2k2cDfe.js → ScreenRoutes-Ck2JOiJO.js} +1 -1
- package/dist/assets/{SetUpAccountSection-Dq7XPkje-1H6JZJ2A.js → SetUpAccountSection-B9L-2aHz-CS276oDL.js} +5 -5
- package/dist/assets/{SetUpDefaultSection-Bwllgb3V-McXckxaJ.js → SetUpDefaultSection-DO9aLike-BNjhrnJW.js} +1 -1
- package/dist/assets/{SignIn-DNWtgNjX-CNgEJTox.js → SignIn-DOSDfnki-ZWJtrmyd.js} +5 -5
- package/dist/assets/{SignInScreen-B1W_j-xE.js → SignInScreen-B66laInZ.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-BhkIACPN-CD9yrOEa.js → SpendManagementListViewPage-D6ysU0TE-fs0LZdDD.js} +11 -11
- package/dist/assets/{SpendManagementPerTabPage-BjOxRVbT-CGkKojmz.js → SpendManagementPerTabPage-CHvroeCa-SUCxwVKR.js} +1 -1
- package/dist/assets/{SpendManagementSection-CiavvRPP-DrT0DnBR.js → SpendManagementSection-BaEgJPY4-DbFNSMHd.js} +6 -6
- package/dist/assets/{SpendMgmtSetupAccountSection-CpLvxn91-BtyBtEXb.js → SpendMgmtSetupAccountSection-CVaXDNNK-CaCI906W.js} +1 -1
- package/dist/assets/{StatementItem-DdCDaiNw-CHt9eLHF.js → StatementItem-CYPCJ0XS-Bebbfivn.js} +5 -5
- package/dist/assets/{StatementsPage-DeAIoSNr-DeNxT4UI.js → StatementsPage-Cyqg2jd1-CS8CbIkz.js} +1 -1
- package/dist/assets/{StatusSwitcher-DRcsgcqk-h7IDiY9O.js → StatusSwitcher-C5UGqQw8-L5IIUMyD.js} +4 -4
- package/dist/assets/{SubTabSwitcher-DEu0w6xG-DlkNkJ2W.js → SubTabSwitcher-B3rFIZQy-fhfcG8ZL.js} +1 -1
- package/dist/assets/{SummaryCard-uv4lzlcb-DcfnOQaa.js → SummaryCard-CNADDyPG-AHW1-mz3.js} +1 -1
- package/dist/assets/{TaskManagementPage-Cvajt_yE-DjyK4H8q.js → TaskManagementPage-CtUQXjo2-CpaAFAcY.js} +1 -1
- package/dist/assets/{TimeRangeSwitcher-I6PTIuko-DBb9vjYZ.js → TimeRangeSwitcher-BXXqX3m6-DBFCX_F3.js} +2 -2
- package/dist/assets/{TimeframeSwitcher-OwZhofpM-BF4jSXHi.js → TimeframeSwitcher-Bk9rjDg4-BqMFgpEZ.js} +5 -5
- package/dist/assets/TimeframeSwitcherWithToggle-RH8QHQFd-tstiafTX.js +31 -0
- package/dist/assets/{TopExCard-C0HId814-TlmwiUgD.js → TopExCard-xJbS_mNo-B0v7lag7.js} +4 -4
- package/dist/assets/{TopExDetailPage-B_oju_VW-B8dAi2D0.js → TopExDetailPage-BDUuqAEK-Bo-vZtIP.js} +7 -7
- package/dist/assets/{TransactionDetailPage-9WsXXggv-C1Z5-L66.js → TransactionDetailPage-CtzLtYa8-J7xBsyNJ.js} +1 -1
- package/dist/assets/{TransactionList-BxsEMjYy-BzD8L7--.js → TransactionList-DS-_gBrf-B6pRX61G.js} +1 -1
- package/dist/assets/{TransactionListBig-DHqll412-CFPhUKQZ.js → TransactionListBig-D9ebH5C0-D4IFnh5K.js} +1 -1
- package/dist/assets/{TransactionListPage-kGc1IJsq-B2x30pcJ.js → TransactionListPage-CPjayOv5-C1z1kCC6.js} +2 -2
- package/dist/assets/{TransactionVendorDetailPage-DwrZXzxo-Bv4Lt9OX.js → TransactionVendorDetailPage-DMYoBJ23-BkgKiHHa.js} +1 -1
- package/dist/assets/{TransferDrawerPage-CV8rT6Ls-C2flOMOm.js → TransferDrawerPage-BAghLjPn-DV8a9ZRS.js} +9 -9
- package/dist/assets/{TreasuryOverviewPage-5qcly3m5-BZoVOHvX.js → TreasuryOverviewPage-B7EFea4a-zZd4C5QF.js} +1 -1
- package/dist/assets/{TreasuryPromoPage-DSRfEWNK-Dxfg9iVg.js → TreasuryPromoPage-D7Y8yGpx-5DMBtH8J.js} +4 -4
- package/dist/assets/{TreasurySetupPage-CDhPN2Bb-Dj9tsW_C.js → TreasurySetupPage-B1SZd_a5-DTKitX5z.js} +2 -2
- package/dist/assets/{TreasuryStatementsPage-D8DDd_5Y-CwZFvrCl.js → TreasuryStatementsPage-uakhQGBW-DM3cx3mz.js} +3 -3
- package/dist/assets/{TreasuryTaxLetterPage-B9fT9sak-BMoosEW2.js → TreasuryTaxLetterPage-BHvr72P1-ZqD52w0m.js} +3 -3
- package/dist/assets/{TreasuryTransferOrReviewPage-dNdO4rAi-3lnMi7UO.js → TreasuryTransferOrReviewPage-BBPDHav1-FgeqnaCs.js} +1 -1
- package/dist/assets/{TrendChart-BQuGBR1d-DRH_FrMZ.js → TrendChart-ChiKhGtw-BlRFpdWI.js} +2 -2
- package/dist/assets/{TrendWithTransactions-DqDVJ54f-CgsoAjix.js → TrendWithTransactions-DEMNHbbz-DBOPdxuf.js} +5 -5
- package/dist/assets/{UncategorizedAccountsMappingPage-BxfVIUoI-BAc9qbTi.js → UncategorizedAccountsMappingPage-BDNznj4Y-DBTlThuY.js} +10 -10
- package/dist/assets/{UnitIntegrationPage-CdZI78vH-CFA0apZ5.js → UnitIntegrationPage-Bgu5xfcn-CtKgXROf.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-DO8Wchkc-ByN4Qaxt.js → UploadAdditionalDocumentOverlay-DW6WCx4i-CGbCT0bE.js} +1 -1
- package/dist/assets/{Vendor2FAPopup--aencw-V-Df4pL-Qg.js → Vendor2FAPopup-D34glhep-Bcy6uzR5.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-BCPlUNfz-DeDBqivU.js → VendorACHDetailsPage-CSqpbr2r-BGpdO99p.js} +1 -1
- package/dist/assets/{VendorDetailPage-CVJBUbZ2-CYpsHQJC.js → VendorDetailPage-CJw1v9tJ-BWewlDVL.js} +1 -1
- package/dist/assets/{VendorDomesticWireDetailsPage-DWW8h7s8-B14qSrfb.js → VendorDomesticWireDetailsPage-BY8F5AWO-DX4fuW2L.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-C8InkcfJ-CugnY8_H.js → VendorFiling1099EditablePage-COYZCnYS-BBPw3drw.js} +3 -3
- package/dist/assets/{VendorFirstReviewPage-BDyNH-vU-DGYQLhyK.js → VendorFirstReviewPage-BqnXdq6Q-CL1x86cX.js} +11 -11
- package/dist/assets/{VendorInternationalWireDetailsPage-C3nJ3Pt0-DsbFoaA9.js → VendorInternationalWireDetailsPage-K9botaZv-yQ73nWrj.js} +1 -1
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-C9H4QLT1-BuKQF4oT.js → VendorInternationalWireSwiftDetailsPage-DQ_akVN_-s-XTKsWI.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-CGWJqmKQ-BXMF5Z3_.js → VendorsAccountsSection-D5d42xeO-CJcEHkCK.js} +13 -13
- package/dist/assets/{WarningsDrawerPage-BxOxXMaW-DkMBlN5z.js → WarningsDrawerPage-DiA5MRFe-Bc00wID9.js} +1 -1
- package/dist/assets/{ZeniAccountDetailPage-DCAIPx-c-BD55p6Nj.js → ZeniAccountDetailPage-DSCbx6BB-DGWgYb7a.js} +10 -10
- package/dist/assets/{ZeniAccountListViewPage-CDYYbdFb-_MT-Ohao.js → ZeniAccountListViewPage-7zssUaoL-DvaV5FVV.js} +1 -1
- package/dist/assets/{ZeniAccountNavBarPieces-CcOiYS-H-CwsBc3DA.js → ZeniAccountNavBarPieces-By4S70vz-DdkCg5aL.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-Cfw0_0bd-C5RE4POb.js → ZeniAccountPromoPage-Bvr4t7zq-DL50qAxB.js} +1 -1
- package/dist/assets/{ZeniAccountSetupPage-B7EJAqdM-DWanO_QS.js → ZeniAccountSetupPage-DtDN9JWk-D8j-79L6.js} +2 -2
- package/dist/assets/{ZeniCopyright-DEdrnsiw-Eg-xo07J.js → ZeniCopyright-CxC3wvp1-gbMTqRLu.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DBXBirJi-DpWD5K8I.js → ZeniTransferAmountSlider-CcbG1sHp-Dm5uqXid.js} +1 -1
- package/dist/assets/{analyticsHelper-w8iM5r14-BY4FkEnG.js → analyticsHelper-3y6VD3VH-4b12iNu9.js} +1 -1
- package/dist/assets/{analyticsHelper-ciHG4Q-D.js → analyticsHelper-D4WZaKOr.js} +1 -1
- package/dist/assets/{chartTypes-B0MskeA2-BTAh8Hyp.js → chartTypes-mKuCmPTG-BM7hqR_d.js} +1 -1
- package/dist/assets/{commonDimensions-BKJwd7tr-DDhhtVWn.js → commonDimensions-BHBDbLXD-D2tFRShv.js} +1 -1
- package/dist/assets/{detailCommon-B0KC7weQ-BYWcy2mw.js → detailCommon-1QwSQL9C-CMTdKXNR.js} +4 -4
- package/dist/assets/{downloadPdf-D-MBiFpt-D1ZI2KxD.js → downloadPdf-DjM3Z_88-B-Yuc7DP.js} +1 -1
- package/dist/assets/{index-B6_cg6uw.js → index-CWmqNC4C.js} +806 -807
- package/dist/assets/{mapLoadingInProgressToTreeNode-wdFfuF9A-Z50BhTnf.js → mapLoadingInProgressToTreeNode-CKZd1bh4-H6b75J9k.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-tV6QhZnt-DXfr4cSR.js → mapSectionWithAcOnlyToTreeNode-CO6ix8Ks-D7LvCMfp.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-WahUVvQq-Ch5M-kA9.js → mapSpacerToTreeNode-CzcEW1Rc-DpU4PyGc.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-B6T9ekBs-bqck2H0q.js → mapTimeframeBalancesToTreeNode-CEDhLCxY-D-EnNeIG.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-BibBSUgv-BIs_vXe5.js → mapTimeframeBalancesToTreeNode-y3lzh3vX-QR9PSTFA.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-Ndk0FkTh-CCkJ4znu.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Bf3d9TrW-Cgl9vOT0.js} +1 -1
- package/dist/assets/{play-icon-DSOHLBMM-DmVvPxjN.js → play-icon-DfMYCOJa-CBLpaBHA.js} +3 -3
- package/dist/assets/{toCOABalancesWithID-DxjnLUiu-Dt78WFEt.js → toCOABalancesWithID-CEvuOTjK-TT4jMA7r.js} +1 -1
- package/dist/assets/{toChartData-DGP41gut-CFOU4ScM.js → toChartData-D2kGY49E-CsLrqkFw.js} +1 -1
- package/dist/assets/{treasuryColorHelper-BExq29Np-Bdd5DDhE.js → treasuryColorHelper-k2phUKLw-Bv7jwBAj.js} +1 -1
- package/dist/assets/{uploadAttachment-DrRDYvZb-COcM6f-u.js → uploadAttachment-kyOdZMbL-CJNFoqRM.js} +11 -11
- package/dist/assets/{uploadReceipts-D80JLNY4-C8LFdV3T.js → uploadReceipts-D80JLNY4-Cic2YR7g.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ChargeCardPromoPage-BLnOo8KV-g9OGsau9.js +0 -219
- package/dist/assets/CustomerOnboardingContainerPage-DLvSrfgp-DEm_Qyfk.js +0 -1
- package/dist/assets/NoDataChart-D-NrGJT9-D0Ryfefk.js +0 -26
- package/dist/assets/NotificationsListConfig-D1qLw3pV-z9oKAegH.js +0 -1
- package/dist/assets/PortfolioAllocationFormPage-DSjAD_xB-DNiLcIBn.js +0 -207
- package/dist/assets/RoleWithToolTip-B2SfhDfC-B2LT4PHT.js +0 -22
- package/dist/assets/TimeframeSwitcherWithToggle-CrMpS9eg-BeZVTjXb.js +0 -31
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d2 as St,
|
|
1
|
+
import{d2 as St,w 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,p as C,bs as le,g as n,_ as It,aa as ce,Y as me,C as B,v as E,Q as Tt,h as Mt,cl as At,aB as Fe,b4 as Et,ae as ue,a5 as Lt,e as ge,m as I,d3 as Rt,Z as Dt,s as zt,c0 as Nt,ck as Ot,aP as Bt}from"./index-CWmqNC4C.js";import{b as O,n as i,j as xe,k as _t}from"./vendor-CnQcJ2Lu.js";import{Y as Ft}from"./SpendManagementSection-BaEgJPY4-DbFNSMHd.js";import{ChargeCardPromoUserContent as Ut}from"./ChargeCardPromoPage-Bi9cAv-f-5sPJiGwd.js";import{N as Wt,J as Gt}from"./PromoBaseCards-CuJXuijt-Cwtg1Msq.js";import{M as Yt}from"./ChargeCardListTable-ePSGyBtc-B6G4rFZ9.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-CTuOhFQC-C5al8-0n.js";import"./NavigationDots-yYTGREt4-DTRiZdAJ.js";import"./usp-line-BBd1wKwW-CgKq8-Xn.js";import"./Menu-DlBP5CCV-y1Vf24E1.js";import"./RoleWithToolTip-4WCTaiOg-BCe2sjxQ.js";import"./CardNumberSubText-FOFiHz-M-BomqpZHj.js";import"./ChargeCardUtils--ltNyvP2-TY5I7nE-.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
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as i,X as V,
|
|
1
|
+
import{j as i,X as V,w 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,p 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,v as F,fe as Ti,m as a,dq as Vi,_ as T,bV as De,c as Ue,bs as le,bl as _i,e as k,bY as we,s 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-CWmqNC4C.js";import{b as C,n as o,f as Wi,j as fe}from"./vendor-CnQcJ2Lu.js";import{R as Ve}from"./Menu-DlBP5CCV-y1Vf24E1.js";import{T as _e}from"./RoleWithToolTip-4WCTaiOg-BCe2sjxQ.js";import{R as ce}from"./CardNumberSubText-FOFiHz-M-BomqpZHj.js";import{_ as Me}from"./ChargeCardUtils--ltNyvP2-TY5I7nE-.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(),m=!!ee().loggedInUserRole.includes("charge_card_user")||n,[c,w]=C.useState(Oe(m));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)??(m?c[1]:c[0]),S=s=>c.find(g=>g.key===s)?.value??"",x=(m?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:x,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&&(m?s.key!=="cardName":s.key!=="owner"),children:i.jsx(Gi,{onClick:()=>u(m?"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;
|
|
@@ -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:
|
|
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:m,onChargeCardRevokeInviteClick:c})=>{const[w,u]=C.useState(!1),[f,S]=C.useState(!1),x=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:x,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:x,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:x,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:x,responsiveWidth:I[1].width,children:[i.jsx(ur,{title:e.cardName,className:"cardName",children:e.cardName}),i.jsx(Lr,{windowSize:x,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:x,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:x,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(),m(e.id)},"data-testid":b("send-reminder",e.id),children:X.cardList.sendReminder}):null]})})}),i.jsx(O,{children:i.jsx(ze,{windowSize:x,responsiveWidth:I[4].width,children:A})}),i.jsx(O,{children:i.jsxs(mr,{windowSize:x,responsiveWidth:I[5].width,children:[i.jsxs(xr,{windowSize:x,children:[i.jsx(gr,{className:"limitAmount",windowSize:x,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)};
|
|
@@ -160,7 +160,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
|
|
|
160
160
|
text-overflow: ellipsis;
|
|
161
161
|
white-space: nowrap;
|
|
162
162
|
text-transform: capitalize;
|
|
163
|
-
`,
|
|
163
|
+
`,mr=o.div`
|
|
164
164
|
display: flex;
|
|
165
165
|
align-items: center;
|
|
166
166
|
justify-content: flex-end;
|
|
@@ -168,7 +168,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
|
|
|
168
168
|
min-width: ${e=>e.responsiveWidth.valuePx(e.windowSize)};
|
|
169
169
|
position: relative;
|
|
170
170
|
padding-right: ${r.sp3};
|
|
171
|
-
`,
|
|
171
|
+
`,xr=o(U)`
|
|
172
172
|
display: flex;
|
|
173
173
|
flex-direction: column;
|
|
174
174
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -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:
|
|
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:m,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:m,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[m,c]=C.useState(!1),w=`${e.cardHolderUser?.firstName??""} ${e.cardHolderUser?.lastName??""}`,u=e?.cardHolderUserId===t.userId,f=V(),S=e.type.code,x=D.cardList.tooltip[S],j=x!=null?u?x.self:`${w} ${x.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:m,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}`};
|
|
@@ -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: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:
|
|
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:m,creditAccountRepayment:c,productInformation:w,cashbackInformation:u,creditAccountInformation:f,debitAccountInformation:S,depositAccountListWithDebitCardIssued:x,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,me]=C.useState(!1),pi=()=>{$!=null&&((!h||m.fetchState==="Completed"&&c.fetchState==="Completed")&&(!(d&&l)||x.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 xe=()=>v!=="small"?vi:ci?Ci:yi,mi=e.length*xe()+Gr+Qr,ge=window.innerHeight-Xr,xi=mi>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(xo,{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:()=>me(!0),onMouseLeave:()=>me(!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:xi,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:xe,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:m,...c}=e;return i.jsxs(ni,{ref:t,style:{...h,width:"auto"},...c,children:[i.jsx(Ki,{companyNameSticky:!1,showViewForCardUser:m,onColumnSortConfigChanged:l,sortConfig:{sortKey:d.sortKey,sortOrder:d.sortOrder}}),i.jsx(mo,{children:n})]})});ai.displayName=E.cardList.headerElementDisplayName;const Lo=({cardList:e,fetchState:t,uiState:n,receiptBotEmail:h,searchText:d,resendInviteId:l,showViewForCardUser:m,signedInUser:c,cashbackInformation:w,creditAccountInformation:u,debitAccountInformation:f,productInformation:S,onChargeCardRowClick:x,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:m,signedInUser:c,fetchState:t,receiptBotEmail:h,searchText:d,resendInviteId:l,onReloadCards:j,onChargeCardRowClick:x,uiState:n,onColumnSortConfigChanged:s,onChargeCardResendInviteClick:g,onChargeCardRevokeInviteClick:$}),ro=({index:e,style:t,cardList:n,showViewForCardUser:h,signedInUser:d,resendInviteId:l,onChargeCardResendInviteClick:m,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:m,onChargeCardRevokeInviteClick:c,onChargeCardRowClick:w})},"listItem"+n[e].id),oo=({cardDetail:e,showViewForCardUser:t,signedInUser:n,resendInviteId:h,index:d,onChargeCardResendInviteClick:l,onChargeCardRevokeInviteClick:m,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:m})},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`
|
|
@@ -535,11 +535,11 @@ 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
|
|
|
535
535
|
left: ${r.sp0};
|
|
536
536
|
padding-bottom: ${r.sp3};
|
|
537
537
|
box-sizing: border-box;
|
|
538
|
-
`,
|
|
538
|
+
`,mo=o.div`
|
|
539
539
|
position: relative;
|
|
540
540
|
width: auto;
|
|
541
541
|
height: 100%;
|
|
542
|
-
`,ni=o.div``,
|
|
542
|
+
`,ni=o.div``,xo=o.div`
|
|
543
543
|
display: flex;
|
|
544
544
|
border: 1.25px solid transparent;
|
|
545
545
|
background: ${e=>`linear-gradient(${e.theme.colors.grey4}, ${e.theme.colors.grey4}) padding-box,
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
import{X as b,M as oe,j as r,u as H,w 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,v as Me,m,Q as j,g as $,ao as Re,a6 as Le,i6 as _e}from"./index-CWmqNC4C.js";import{b as S,n as a,j as Ee,k as De}from"./vendor-CnQcJ2Lu.js";import{x as Fe}from"./MeetingCalenderPopup-CTuOhFQC-C5al8-0n.js";import{f as Ue}from"./NavigationDots-yYTGREt4-DTRiZdAJ.js";import{J as N,N as G}from"./PromoBaseCards-CuJXuijt-Cwtg1Msq.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
|
+
display: flex;
|
|
3
|
+
flex: 1 1 auto;
|
|
4
|
+
min-height: 100%;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
background-color: ${e=>e.theme.colors.grey4};
|
|
7
|
+
`,Je=a(Me)`
|
|
8
|
+
color: ${e=>e.theme.colors.hero};
|
|
9
|
+
`,Ke=a.div`
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
align-items: center;
|
|
13
|
+
`,Qe=a.div`
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
justify-content: space-between;
|
|
17
|
+
flex: 1;
|
|
18
|
+
width: 100%;
|
|
19
|
+
`,Xe=a.div`
|
|
20
|
+
padding-top: ${e=>h.containerPaddingTopBottom.valuePx(e.windowSize)};
|
|
21
|
+
padding-bottom: ${e=>h.containerPaddingTopBottom.valuePx(e.windowSize)};
|
|
22
|
+
text-align: center;
|
|
23
|
+
flex: 1;
|
|
24
|
+
display: flex;
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
overflow-x: hidden;
|
|
27
|
+
`,se=a(Pe)`
|
|
28
|
+
max-width: 927px;
|
|
29
|
+
margin: auto;
|
|
30
|
+
display: flex;
|
|
31
|
+
justify-content: center;
|
|
32
|
+
flex-wrap: wrap;
|
|
33
|
+
padding: ${t.sp7} ${t.sp0} ${t.sp0} ${t.sp0};
|
|
34
|
+
color: ${e=>e.theme.colors.primary};
|
|
35
|
+
`,de=a(ke)`
|
|
36
|
+
color: ${e=>e.theme.colors.primary};
|
|
37
|
+
margin: auto;
|
|
38
|
+
margin-top: ${t.sp2};
|
|
39
|
+
`,le=a(ve)`
|
|
40
|
+
margin: auto;
|
|
41
|
+
max-width: 343px;
|
|
42
|
+
display: flex;
|
|
43
|
+
justify-content: center;
|
|
44
|
+
text-align: center;
|
|
45
|
+
flex-wrap: wrap;
|
|
46
|
+
padding: ${t.sp5} ${t.sp0} ${t.sp0} ${t.sp0};
|
|
47
|
+
color: ${e=>e.theme.colors.primary};
|
|
48
|
+
`,ce=a(O)`
|
|
49
|
+
max-width: 314px;
|
|
50
|
+
margin: auto;
|
|
51
|
+
color: ${e=>e.theme.colors.primary};
|
|
52
|
+
padding: 6px ${t.sp3} ${t.sp0} ${t.sp3};
|
|
53
|
+
text-align: center;
|
|
54
|
+
margin-top: 6px;
|
|
55
|
+
`,Ye=a.img`
|
|
56
|
+
border-radius: 50%;
|
|
57
|
+
justify-content: center;
|
|
58
|
+
color: ${e=>e.theme.colors.hero};
|
|
59
|
+
`,We=a.div`
|
|
60
|
+
display: flex;
|
|
61
|
+
flex-direction: row;
|
|
62
|
+
align-items: center;
|
|
63
|
+
justify-content: center;
|
|
64
|
+
position: relative;
|
|
65
|
+
overflow: hidden;
|
|
66
|
+
padding: ${t.sp2} ${t.sp3};
|
|
67
|
+
background-color: ${e=>e.theme.colors.grey3};
|
|
68
|
+
border-radius: 96px;
|
|
69
|
+
margin-top: ${t.sp4};
|
|
70
|
+
margin-left: ${e=>e.windowSize==="small"?t.sp3:"auto"};
|
|
71
|
+
margin-right: ${e=>e.windowSize==="small"?t.sp3:"auto"};
|
|
72
|
+
margin-bottom: ${e=>e.cardPromoType==="debit_and_credit"&&e.windowSize==="small"?t.sp0:t.sp6};
|
|
73
|
+
width: fit-content;
|
|
74
|
+
gap: ${t.sp1};
|
|
75
|
+
${e=>e.hideBadge&&`
|
|
76
|
+
visibility: hidden;
|
|
77
|
+
`}
|
|
78
|
+
`,qe=a(O)`
|
|
79
|
+
color: ${e=>e.theme.mode==="dark"?$.brandColorJade:$.brandColorSapphire};
|
|
80
|
+
text-align: ${e=>e.windowSize==="small"?"left":"center"};
|
|
81
|
+
${e=>`${T.promoBadgeText.style(e.windowSize)}`};
|
|
82
|
+
span {
|
|
83
|
+
${e=>`${T.promoBadgeTextBold.style(e.windowSize)}`};
|
|
84
|
+
}
|
|
85
|
+
`,er=a.span``,te=a.span`
|
|
86
|
+
color: ${$.success};
|
|
87
|
+
`,rr=a.div`
|
|
88
|
+
display: flex;
|
|
89
|
+
gap: ${e=>h.midContainerGap.valuePx(e.windowSize)};
|
|
90
|
+
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
91
|
+
align-items: center;
|
|
92
|
+
justify-content: center;
|
|
93
|
+
`,tr=a.div`
|
|
94
|
+
display: flex;
|
|
95
|
+
flex-direction: column;
|
|
96
|
+
`,ir=a.div`
|
|
97
|
+
border-top: 1px solid ${e=>e.theme.colors.grey3};
|
|
98
|
+
padding: ${t.sp2} ${t.sp3};
|
|
99
|
+
position: sticky;
|
|
100
|
+
bottom: 0;
|
|
101
|
+
left: 0;
|
|
102
|
+
right: 0;
|
|
103
|
+
z-index: 8;
|
|
104
|
+
display: flex;
|
|
105
|
+
justify-content: center;
|
|
106
|
+
align-items: center;
|
|
107
|
+
flex-direction: row;
|
|
108
|
+
row-gap: ${t.sp2};
|
|
109
|
+
background-color: ${e=>e.theme.colors.grey5};
|
|
110
|
+
gap: ${e=>h.buttonTrayGap.valuePx(e.windowSize)};
|
|
111
|
+
`,or=a.div`
|
|
112
|
+
width: ${e=>e.windowSize==="small"?"auto":"288px"};
|
|
113
|
+
display: flex;
|
|
114
|
+
flex-direction: column;
|
|
115
|
+
margin-left: ${e=>h.uspContainerMarginX.valuePx(e.windowSize)};
|
|
116
|
+
margin-right: ${e=>h.uspContainerMarginX.valuePx(e.windowSize)};
|
|
117
|
+
z-index: 8;
|
|
118
|
+
`,ar=a.div`
|
|
119
|
+
display: flex;
|
|
120
|
+
justify-content: ${e=>e.windowSize==="small"?"center":"flex-start"};
|
|
121
|
+
min-height: ${e=>h.iconContainerMinHeight.valuePx(e.windowSize)};
|
|
122
|
+
align-items: center;
|
|
123
|
+
min-width: 480px;
|
|
124
|
+
`,B=a.div`
|
|
125
|
+
border-radius: ${t.sp12};
|
|
126
|
+
border: ${e=>`1px solid ${e.theme.colors.grey2}`};
|
|
127
|
+
padding: ${e=>e.windowSize==="small"?`${t.sp2} ${t.sp4} ${t.sp2} ${t.sp0}`:`${t.sp3} ${t.sp5} ${t.sp3} ${t.sp0}`};
|
|
128
|
+
background: ${e=>e.theme.colors.grey5};
|
|
129
|
+
position: relative;
|
|
130
|
+
margin-bottom: ${t.sp3};
|
|
131
|
+
display: flex;
|
|
132
|
+
align-items: center;
|
|
133
|
+
text-align: start;
|
|
134
|
+
width: ${e=>e.windowSize==="small"?"288px":"100%"};
|
|
135
|
+
min-height: ${e=>e.windowSize!=="small"?"83px":"44px"};
|
|
136
|
+
box-sizing: ${e=>e.windowSize==="small"?"unset":"border-box"};
|
|
137
|
+
`,y=a(Re)`
|
|
138
|
+
color: ${e=>e.theme.colors.champion};
|
|
139
|
+
${e=>`${T.uspText.style(e.windowSize)}`};
|
|
140
|
+
`,A=a(Le)`
|
|
141
|
+
color: ${e=>e.theme.colors.champion};
|
|
142
|
+
${e=>`${T.uspBoldText.style(e.windowSize)}`};
|
|
143
|
+
`,I=a.div``,M=a.div`
|
|
144
|
+
padding-left: ${t.sp3};
|
|
145
|
+
`,nr=a(R)`
|
|
146
|
+
color: ${$.graphColor16Dark};
|
|
147
|
+
`,sr=a(R)`
|
|
148
|
+
color: ${$.alert};
|
|
149
|
+
`,dr=a(R)`
|
|
150
|
+
color: ${$.graphColor11};
|
|
151
|
+
`,lr=a(R)`
|
|
152
|
+
color: ${$.success};
|
|
153
|
+
`,cr=a.div`
|
|
154
|
+
height: ${e=>h.emptySectionHeight.valuePx(e.windowSize)};
|
|
155
|
+
${e=>e.windowSize==="small"?null:Ee`
|
|
156
|
+
margin-top: ${t.sp4};
|
|
157
|
+
margin-bottom: ${t.sp6};
|
|
158
|
+
`}
|
|
159
|
+
`,pr=a(O)`
|
|
160
|
+
color: ${e=>e.theme.colors.hero};
|
|
161
|
+
margin-top: ${e=>h.contactAdminContainerMarginTop.valuePx(e.windowSize)};
|
|
162
|
+
margin-bottom: ${e=>h.contactAdminContainerMarginBottom.valuePx(e.windowSize)};
|
|
163
|
+
margin-left: ${e=>h.contactAdminContainerMarginLeftRight.valuePx(e.windowSize)};
|
|
164
|
+
margin-right: ${e=>h.contactAdminContainerMarginLeftRight.valuePx(e.windowSize)};
|
|
165
|
+
text-align: center;
|
|
166
|
+
`,U=a(_e)`
|
|
167
|
+
${e=>`${T.contactAdmin.style(e.windowSize)}`};
|
|
168
|
+
text-decoration: ${e=>e.underline?"underline":"none"};
|
|
169
|
+
cursor: ${e=>e.underline?"default":null};
|
|
170
|
+
`,mr=a.div`
|
|
171
|
+
color: ${e=>e.mode==="dark"?e.theme.colors.brandColorJade:e.theme.colors.brandColorSapphire};
|
|
172
|
+
`,xr=a.div`
|
|
173
|
+
background-color: ${e=>e.theme.colors.grey3};
|
|
174
|
+
padding: ${t.sp2} ${t.sp3};
|
|
175
|
+
display: flex;
|
|
176
|
+
gap: ${t.sp2};
|
|
177
|
+
margin: auto;
|
|
178
|
+
max-width: fit-content;
|
|
179
|
+
border-radius: 96px;
|
|
180
|
+
margin-top: ${t.sp4};
|
|
181
|
+
margin-bottom: ${t.sp6};
|
|
182
|
+
`,hr=a.span`
|
|
183
|
+
${e=>`${T.cardsContent.style(e.windowSize)}`};
|
|
184
|
+
`,gr=a.div`
|
|
185
|
+
display: flex;
|
|
186
|
+
flex-direction: column;
|
|
187
|
+
min-height: ${e=>h.carouselHeight.valuePx(e.windowSize)};
|
|
188
|
+
min-width: 480px;
|
|
189
|
+
position: relative;
|
|
190
|
+
`,ur=a.div`
|
|
191
|
+
position: relative;
|
|
192
|
+
margin-top: ${e=>h.carouselMarginTop.valuePx(e.windowSize)};
|
|
193
|
+
margin-left: ${e=>h.carouselMarginLeft.valuePx(e.windowSize)};
|
|
194
|
+
`,wr=a.div`
|
|
195
|
+
position: relative;
|
|
196
|
+
overflow: visible;
|
|
197
|
+
`,ie=a.div`
|
|
198
|
+
position: absolute;
|
|
199
|
+
${e=>e.isReflection&&`
|
|
200
|
+
background-color: ${e.theme.colors.grey4};
|
|
201
|
+
clip-path: inset(16% 0 0 0);
|
|
202
|
+
`}
|
|
203
|
+
`,fr=De`
|
|
204
|
+
0% {
|
|
205
|
+
left: -${t.sp6};
|
|
206
|
+
}
|
|
207
|
+
100% {
|
|
208
|
+
left: calc(100% + ${t.sp6});
|
|
209
|
+
}
|
|
210
|
+
`,Cr=a.div`
|
|
211
|
+
position: absolute;
|
|
212
|
+
background:
|
|
213
|
+
${$.promoCardGradient1Strong}, ${$.promoCardGradient2Strong};
|
|
214
|
+
width: ${t.sp10};
|
|
215
|
+
z-index: 3;
|
|
216
|
+
height: 100%;
|
|
217
|
+
transform: skew(15deg);
|
|
218
|
+
animation: ${fr} 3s linear infinite;
|
|
219
|
+
`;export{He as ChargeCardPromoUserContent,Mr as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
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,
|
|
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,p as Ne,aQ as qe,a3 as He,m as a,s as Ge}from"./index-CWmqNC4C.js";import{b as p,n as S}from"./vendor-CnQcJ2Lu.js";import{F as Je}from"./HelpButton-BGHsn-1b-Cb4db_8O.js";import{K as Ke}from"./SetUpDefaultSection-DO9aLike-BNjhrnJW.js";import{f as Qe,y as q}from"./SpendMgmtSetupAccountSection-CVaXDNNK-CaCI906W.js";import{x as Xe}from"./LabeledControlledCheckBoxField-aLuztBgv-CQQDZTL8.js";import{g as Ye}from"./UploadAdditionalDocumentOverlay-DW6WCx4i-CGbCT0bE.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-CTuOhFQC-C5al8-0n.js";import"./ChargeCardUtils--ltNyvP2-TY5I7nE-.js";import"./CreditCardPaymentPlgSection-D9oAn9qk-hoy3ieFS.js";import"./ChaseOverlay-CxEiwxZq-CYOJ8ZhP.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:se,onUpdatePaymentAccountLoginStatus:le,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:s,primaryFundingAccount:l,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&&l?.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&&l?.id!=null&&l?.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,l.id,l.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&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"&&y(!0),w&&R==="In-Progress"&&C==="Completed"&&y(!1)},[s,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=l?.accType==="depositAccount"||Ue.isVerifiedPaymentAccountProviderStatusCode(l?.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&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.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:s,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:l,allFundingAccounts:$,plaidConnectionDetails:Pe,allBankAccounts:we,sectionId:h,isDisabled:x,onFetchLinkTokenClick:ne,onEstablishConnectionClick:ue,onUpdatePaymentAccountStatus:se,onUpdatePaymentAccountLoginStatus:le,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
2
|
display: flex;
|
|
3
3
|
justify-content: flex-start;
|
|
4
4
|
height: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{u as F,X as T,j as t,aV as W,M as R,o as h,C as g,
|
|
1
|
+
import{u as F,X as T,j as t,aV as W,M as R,o as h,C as g,s as B,an as O,d2 as V,g$ as J,Y as q,c as K,m as s,bp as U}from"./index-CWmqNC4C.js";import{n as i,b as X}from"./vendor-CnQcJ2Lu.js";import{$ as _,g as G}from"./BoxItem-CIBzy4ZV-BGT6YXil.js";import{w as H}from"./downloadPdf-DjM3Z_88-B-Yuc7DP.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"./commonDimensions-BHBDbLXD-D2tFRShv.js";const z=R.getLocalizedStrings().months,A={downloadButtonSize:new g(s[4],20)},Q=i.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
padding: ${h.sp3} ${h.sp4};
|
|
4
4
|
flex-direction: row;
|
|
@@ -27,7 +27,7 @@ import{u as F,X as T,j as t,aV as W,M as R,o as h,C as g,q as B,an as O,d2 as V,
|
|
|
27
27
|
&:hover {
|
|
28
28
|
color: ${e=>e.theme.colors.primary};
|
|
29
29
|
}
|
|
30
|
-
`;function ie({currentTenantCompanyName:e,data:r,index:n,controllerEmails:l,isDebitCardFeatureEnabled:a,isDebitCardSetupEnabled:o,chargeCardCashbackDetailState:d,depositAccountListWithDebitCardIssued:x,debitCardSummary:C,productInformation:S,creditAccountInformation:y,debitAccountInformation:$,cashbackInformation:f,creditAccountRepayment:P,authParams:j,downloadEndPoint:k,boxType:I}){const b=V().analytics,[v,E]=X.useState(!1),c=T(),Y=z[r.monthYearPeriod.month-1],u=`${e}-Credit-Card-Monthly-Statement-${z[r.monthYearPeriod.month-1]}-${r.monthYearPeriod.year}.pdf`,m={period:`${r.monthYearPeriod.year}-${
|
|
30
|
+
`;function ie({currentTenantCompanyName:e,data:r,index:n,controllerEmails:l,isDebitCardFeatureEnabled:a,isDebitCardSetupEnabled:o,chargeCardCashbackDetailState:d,depositAccountListWithDebitCardIssued:x,debitCardSummary:C,productInformation:S,creditAccountInformation:y,debitAccountInformation:$,cashbackInformation:f,creditAccountRepayment:P,authParams:j,downloadEndPoint:k,boxType:I}){const b=V().analytics,[v,E]=X.useState(!1),c=T(),Y=z[r.monthYearPeriod.month-1],u=`${e}-Credit-Card-Monthly-Statement-${z[r.monthYearPeriod.month-1]}-${r.monthYearPeriod.year}.pdf`,m={period:`${r.monthYearPeriod.year}-${J(r.monthYearPeriod.month)}`,format:"pdf"},p=t.jsx(Q,{children:t.jsxs(Z,{children:[t.jsx(ee,{children:Y}),t.jsx(te,{"data-testid":q("download-card-statement"),onClick:()=>{d.fetchState==="Completed"&&P.fetchState==="Completed"&&(!(a&&o)||x.fetchState==="Completed"&&C?.fetchState==="Completed")&&f!=null&&b.trackCardsDownloadClick(l,S,f,{fileCategory:"Credit Card Statement",fileType:"pdf",fileName:u,fileMonthYear:`${z[r.monthYearPeriod.month-1]} ${r.monthYearPeriod.year}`},"Credit Card Statements",n+1,y,$),H(`${k}/statements?query=${encodeURIComponent(JSON.stringify(m))}`,u,j,E)},children:v?t.jsx(K,{size:"Small",start:!0}):t.jsx(ae,{windowSize:c})})]})});return t.jsx(G,{content:p,boxType:I,isDisabled:!1,isNotClickable:!0})}const M=R.getLocalizedStrings().spendManagement.chargeCard.statements,w={listItemMarginLeftRight:new g(s[3],s[8]),containerMarginTop:new g(s[0],s[2]),titleMarginLeftRight:new g(s[3],s[8])},Pe=({currentTenantCompanyName:e,authParams:r,controllerEmails:n,productInformation:l,cashbackInformation:a,creditAccountInformation:o,debitAccountInformation:d,isChargeCardFeatureEnabled:x,isDebitCardFeatureEnabled:C,isDebitCardSetupEnabled:S,isChargeCardSetupEnabled:y,chargeCardCashbackDetailState:$,depositAccountListWithDebitCardIssued:f,creditAccountRepayment:P,debitCardSummary:j,creditAccount:k,downloadEndPoint:I,statementListView:b,onBackClick:v})=>{const E=F(),c=T(),{sortedYear:Y,monthsByYearWithSortedMonth:u}=me(b.statements);return t.jsxs(se,{children:[t.jsx(W,{title:M.title,backgroundColor:E.colors.grey4,style:{zIndex:3},onBackClick:v,source:"ChargeCardStatementsPage"}),t.jsx(ce,{windowSize:c,children:b.statements.length===0?t.jsx(L,{children:t.jsx(de,{children:t.jsx(N,{windowSize:c,children:t.jsx(le,{children:M.noStatements})})})}):t.jsx(re,{children:Y.map(m=>t.jsxs(ne,{children:[t.jsx(oe,{windowSize:c,children:m}),t.jsx(L,{children:u[m].map((p,D)=>t.jsx(N,{windowSize:c,children:t.jsx(ie,{productInformation:l,creditAccountInformation:o,debitAccountInformation:d,cashbackInformation:a,creditAccountRepayment:P,depositAccountListWithDebitCardIssued:f,debitCardSummary:j,controllerEmails:n,isChargeCardFeatureEnabled:x,isDebitCardFeatureEnabled:C,isDebitCardSetupEnabled:S,isChargeCardSetupEnabled:y,chargeCardCashbackDetailState:$,creditAccount:k,currentTenantCompanyName:e,index:D,data:p,authParams:r,downloadEndPoint:I,boxType:_(D,u[m].length)},p.id)},p.id))})]},m))})})]})},re=i.div``,ne=i.div`
|
|
31
31
|
margin-bottom: ${h.sp6};
|
|
32
32
|
`,L=i.div``,oe=i(O)`
|
|
33
33
|
margin-left: ${e=>w.titleMarginLeftRight.valuePx(e.windowSize)};
|
package/dist/assets/{ChargeCardUtils-CHHXg_Qi-Cx1TeQt_.js → ChargeCardUtils--ltNyvP2-TY5I7nE-.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ff as D,M as S,dq as c,l as B}from"./index-
|
|
1
|
+
import{ff as D,M as S,dq as c,l as B}from"./index-CWmqNC4C.js";function U(e){const a=e.match(/\d+/g);if(!a||a.length!==3)return null;const r=parseInt(a[0]),d=parseInt(a[1]),t=parseInt(a[2]);return"#"+(1<<24|r<<16|d<<8|t).toString(16).slice(1)}const A=({signedInUserToken:e,showSecretInfo:a,setShowPhoneNumberPopup:r,onFireOnClickAnalytics:d,setShowSecretInfo:t})=>{(e==null||e.expiry.isBefore(B.dateNow()))&&a===!1?(r(!0),d("verify card details")):e?.token!=null&&a===!1?t(!0):e?.token!=null&&a===!0&&t(!1)},F=e=>e.includes("credit")?"credit":"debit",{dateFormat:s}=S.getLocalizedStrings(),L=({chargeCardDetailView:e,classListFetchState:a,analytics:r,isChargeCardFeatureEnabled:d,creditAccount:t,pageName:o,addToWalletType:i,creditAccountRepayment:l,isDebitCard:n,isChargeCardAdmin:m,cardIssuedByRoles:u,cardIssuedByDepartmentName:h,cardHolderRoles:C,cardHolderDepartmentName:g,controllerEmails:p,productInformation:y,creditAccountInformation:f,debitAccountInformation:I})=>{e.chargeCard!=null&&a==="Completed"&&(!d||t.fetchState==="Completed"&&l.fetchState==="Completed")&&(!(n&&m)||e.depositAccountLimitFetchState.fetchState==="Completed")&&r.trackCardsAddToWalletClick(p,y,{cardId:e.chargeCard.id,cardName:e.chargeCard.cardName,cardType:F(e.chargeCard.type.code),cardCategory:e.chargeCard.type.code.includes("physical")?"physical":"virtual",cardLimit:D(e.chargeCard.limit.amount),cardLastFourDigits:e.chargeCard.accountLast4,cardStatus:e.chargeCard.status.code,cardAssignedDate:e.chargeCard.createTime?.format(s.analytics.MMMDashDDDashYYYYFormat),cardIssuedDate:e.chargeCard.providerCardCreateTime?.format(s.analytics.MMMDashDDDashYYYYFormat),cardLimitFrequency:e.chargeCard.creditLimitFrequency.name},{cardIssuedByName:c(e.chargeCard.cardCreatedByUser,!1),cardIssuedByEmail:e.chargeCard.cardCreatedByUser?.email,cardIssuedByUserId:e.chargeCard.cardCreatedByUser?.userId,cardIssuedByRole:u,cardIssuedByDepartment:h},{cardholderName:c(e.chargeCard.cardHolderUser,!1),cardholderEmail:e.chargeCard.cardHolderUser?.email,cardholderRole:C,cardholderUserId:e.chargeCard.cardHolderUser?.userId,cardholderDepartment:g},o,i,f,I)},N=(e,a)=>{if(e<=0)return 0;const r=e-a;return Math.round(r/e*100)},Y=e=>e.limit.amount-e.available.amount,b="1.75";export{F,L as H,U as L,N as M,A as U,Y as _,b as v};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as H,fc as X,fd as Q,M as W,j as t,g as x,
|
|
1
|
+
import{X as H,fc as X,fd as Q,M as W,j as t,g as x,f as ee,K as N,Y as c,o as s,C as m,Z as te,s as ie,an as se,bB as oe,c$ as re,m as l,ao as A,ax as R,a6 as ne,fe as le,v as ae,cq as de,aP as ce}from"./index-CWmqNC4C.js";import{b as p,n as o}from"./vendor-CnQcJ2Lu.js";const u={width:new m(350,624,624),height:new m(600,730,730),paddingLeft:new m(l[4],l[8],l[8]),paddingRight:new m(l[4],l[7],l[7])};function De(e){const d=H(),[,_]=X(),{isMobileOrTabletScreen:g}=Q(),[j,k]=p.useState(!0),[y,S]=p.useState(!0),[z,C]=p.useState(!1),[T,M]=p.useState(!1),r=W.getLocalizedStrings().commonSetUp.chaseOverlay,K=r.title,V=r.description,Y=()=>{window.open(r.chaseVideoUrl,"_blank")},L=[0,1,2,3],P=i=>i<L.length-1,B=(i,n)=>{_(i??""),n?k(!1):S(!1)},D=i=>{i?C(!0):M(!0)},U=i=>{i?C(!1):M(!1)};p.useEffect(()=>{j===!1&&setTimeout(()=>{k(!0)},2e3),y===!1&&setTimeout(()=>{S(!0)},2e3)},[j,y]);const q=()=>{const i=r.step1;return t.jsxs($,{children:[t.jsx(Ce,{"data-testid":c("chase-overlay-signin-link"),href:r.chaseSigninUrl,target:"_blank",rel:"noreferrer noopener",children:i.text1}),i.text2,t.jsxs(a,{children:[" ",i.text3]}),i.text4,t.jsxs(a,{children:[" ",i.text5]}),i.text6]})},J=()=>{const i=r.step2;return t.jsxs($,{children:[i.text1,t.jsxs(a,{children:[" ",t.jsx(be,{}),i.text2]}),t.jsx(ke,{}),i.text3]})},Z=()=>{const i=r.step3,n=e.connectedAccountProvider==="stripe"?i.payeeIdStripe:i.payeeIdUnit;return t.jsxs($,{children:[i.text1,t.jsxs(a,{children:[" ",i.text2]}),i.text3,t.jsxs(Te,{children:[t.jsxs(f,{onClick:()=>B(n,!0),onMouseOver:()=>D(!0),onMouseLeave:()=>U(!0),"data-testid":c("copy-payee-id",n),children:[t.jsx(v,{}),i.payeeIdTitle,t.jsx(b,{children:n}),j?t.jsxs(h,{children:[t.jsx(I,{showCopyText:z&&!g,windowSize:d,children:t.jsx(O,{})}),t.jsx(w,{shouldDisplay:z&&!g,children:i.copy})]}):t.jsxs(h,{children:[t.jsx(E,{}),t.jsx(w,{children:i.copied})]})]}),t.jsxs(f,{onClick:()=>B(i.payeeName,!1),onMouseOver:()=>D(!1),onMouseLeave:()=>U(!1),"data-testid":c("copy-payee-name",i.payeeName),children:[t.jsx(v,{}),i.payeeNameTitle,t.jsx(b,{children:i.payeeName}),y?t.jsxs(h,{children:[t.jsx(I,{showCopyText:T&&!g,windowSize:d,children:t.jsx(O,{})}),t.jsx(w,{shouldDisplay:T&&!g,children:i.copy})]}):t.jsxs(h,{children:[t.jsx(E,{}),t.jsx(w,{children:i.copied})]})]}),t.jsxs(f,{children:[t.jsx(h,{children:t.jsx(v,{})}),t.jsxs(Me,{children:[i.amountLimitTitle,i.text4,t.jsx(b,{children:i.amountLimit}),i.text5]})]})]})]})},F=()=>{const i=r.step4;return t.jsxs($,{children:[i.text1,t.jsxs(a,{children:[" ",i.text2]}),i.text3,t.jsxs(a,{children:[" ",i.text4]})]})},G=i=>{switch(i){case 0:return t.jsx(q,{});case 1:return t.jsx(J,{});case 2:return t.jsx(Z,{});default:return t.jsx(F,{})}};return t.jsx(pe,{windowSize:d,role:"presentation",style:{background:x.overlayDark,...e.style},children:t.jsx(ee,{onClickAway:()=>e.action.onBackClick?.(),children:t.jsxs(he,{windowSize:d,isEditPopup:!1,children:[t.jsxs(Le,{children:[t.jsx(xe,{children:K}),t.jsx(ge,{children:V}),t.jsx(je,{children:r.stepsTitle}),t.jsx(ue,{windowSize:d,children:L.map((i,n)=>t.jsxs(me,{children:[t.jsx(fe,{children:P(n)?n+1:t.jsx(Se,{})}),t.jsx(ve,{children:G(n)}),P(n)&&t.jsx(ye,{})]},`step_${n}`))})]}),t.jsx($e,{}),t.jsxs(we,{children:[t.jsx(N,{variant:"secondary",label:r.primaryButtonText,onClick:Y,style:{width:134,whiteSpace:"nowrap"},"data-testid":c("chase-overlay-watch-video-button")}),t.jsx(ze,{}),t.jsx(N,{variant:e.proceedButtonVariant??"primary",label:r.secondaryButtonText,onClick:e.action.onBackClick,style:{width:134,whiteSpace:"nowrap"},"data-testid":c("chase-overlay-proceed-button")})]})]})})})}const pe=o.div`
|
|
2
2
|
position: fixed;
|
|
3
3
|
top: 0;
|
|
4
4
|
left: 0;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{X as Q,j as t,Y as $,gZ as pe,M as ee,_ as M,K as Y,o,a3 as he,C as l,a2 as oe,k as ue,an as me,c0 as te,
|
|
1
|
+
import{X as Q,j as t,Y as $,gZ as pe,M as ee,_ as M,K as Y,o,a3 as he,C as l,a2 as oe,k as ue,an as me,c0 as te,v as ge,s as F,a1 as xe,a as ke,c3 as fe,g as w,F as De,fD as $e,c6 as we,eN as G,cd as J,m as s,cW as be,bH as ye,bm as je,cz as Pe,f7 as Se,e as q,f9 as Le}from"./index-CWmqNC4C.js";import{b as f,n as a}from"./vendor-CnQcJ2Lu.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 ve="checkDepositDetailPage",g="checkDepositDetails",Fe="amount",Ce="depositTo",Te="source",ie="fileIds",R="selectDocument",E=e=>{const p=[];return e.checkFront!=null&&p.push(e.checkFront.fileId),e.checkBack!=null&&p.push(e.checkBack.fileId),{[g]:{[Fe]:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,[Te]:e.checkDepositLocalData.source,[Ce]:{allOptions:e.depositAccounts.depositAccounts.map(x=>({label:x.accountName,value:x.id})),selectedOption:e.checkDepositLocalData.depositTo?.id},[ie]:p,[R]:{front:e.checkFront,back:e.checkBack}}}},D=(e,p)=>`${e}.${p}`,ze=e=>`${e}_form`,u={largeLabelWidth:new l(160,160,160),rowContentPaddingLeft:new l(s[3],s[4]),checkPicRowContentPaddingXAxis:new l(s[3],s[4]),labeleMarginLeft:new l(s[0],s[0]),labeleMarginBottom:new l(s[2],s[0]),labelMarginRight:new l(s[3],s[3]),labeledFieldPaddingLeft:new l(s[3],s[0]),labeledFieldPaddingRight:new l(s[3],s[2]),labeledFieldPaddingTop:new l(s[3],s[3]),labeledFieldPaddingBottom:new l(s[3],s[2]),infoLabelPaddingRight:new l(s[0],s[3]),infoLabelMarginTop:new l(s[1],s[0])},{spendManagement:Be,common:V}=ee.getLocalizedStrings(),c=Be.zeniAccounts.zeniAccountList,Ae=V.documents;function Ie({checkDeposit:e,analytics:p,filesEndPoint:x,openPopup:b,authParams:y,onSaveChangesToLocalStore:C,updateFilesEntity:j,onDeleteFile:P,onEditFileName:S,onCheckDpositClick:T}){const r=Q(),n=e.fetchState,L=xe(n),[v,X]=f.useState(!1),[se,z]=f.useState(!1),B=u.largeLabelWidth.value(r),k=ke({mode:"all",reValidateMode:"onBlur",defaultValues:E(e),values:E(e)}),{isValid:re}=k.formState,K=i=>{const d={amount:{amount:i[g].amount??0,currencyCode:V.currency.currencyCode,currencySymbol:V.currency.currencySymbol},source:i[g].source,depositTo:e.depositAccounts.depositAccounts.find(h=>h.id===i[g].depositTo.selectedOption),fileIds:i[g][ie]};C(d)},ce=async(i,d)=>{if(i!=null){if(i.includes("source")||i.includes("amount"))return;const h=Object.assign({},d);K(h)}};f.useEffect(()=>{const i=k.watch((d,{name:h})=>{h!=null&&d!=null&&fe(()=>ce(h,d))});return()=>{i.unsubscribe()}}),f.useEffect(()=>{L==="Completed"&&n==="Not-Started"&&k.reset(E(e))},[L,n,k,e]),f.useEffect(()=>{e.error!=null?z(!0):z(!1)},[e.error]);const le=k.handleSubmit(()=>{if(re){p.trackAccountsDepositCheckFormClicked("Deposit",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null);const i=k.getValues();K(i),T?.()}}),ne=(i,d)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(I=>I.id===i),A=e.depositAccounts.depositAccounts.findIndex(I=>I.id===i);return h?t.jsx(Ve,{color:Se(A),isSelectedValue:d}):null},de=(i,d)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(A=>A.id===i);return h?d===!0?t.jsx(Re,{children:h?.maskedAccountNumber}):t.jsxs(Me,{children:[t.jsx(W,{children:h?.maskedAccountNumber}),t.jsx(to,{}),t.jsx(W,{children:M("0,0[.]00",h?.accountBalance?.available)})]}):null};return t.jsxs(t.Fragment,{children:[se?t.jsx(Oe,{children:t.jsxs(qe,{children:[t.jsxs(Xe,{children:[t.jsx(Ye,{}),t.jsxs(Ge,{children:[t.jsx(Je,{children:e.error?.title}),t.jsx(We,{children:e.error?.message})]})]}),t.jsx(Ke,{children:t.jsx(ro,{"data-testid":$("check-deposit-form-close"),onClick:()=>{p.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),z(!1)},style:{width:o.sp3,height:o.sp3,color:w.heroLight}})})]})}):null,t.jsx(Ze,{children:M("0,0.[00]",e.checkDepositLocalData.amount)}),t.jsx(De,{...k,children:t.jsx("form",{id:ze(ve),onSubmit:le,children:t.jsxs(He,{children:[t.jsx($e,{showAdditionalInfoLabel:!1,label:{label:c.checkDepositDrawer.amountLabel,width:B},formattedTextField:{type:"number",name:D(g,"amount"),defaultValue:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,placeholder:c.checkDepositDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:i=>!!i&&i>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}}),t.jsx(N,{}),t.jsx(we,{label:{label:c.checkDepositDrawer.sourceLabel,width:B},style:{width:"100%"},text:{type:"text",name:D(g,"source"),defaultValue:e.checkDepositLocalData.source,placeholder:c.checkDepositDrawer.sourcePlaceholder,options:{required:!0,validate:i=>i!=null}}}),t.jsx(N,{}),t.jsx(ae,{size:r,children:t.jsx(eo,{size:r,children:t.jsx(_e,{label:{label:c.checkDepositDrawer.depositToLabel,width:B,style:{marginLeft:u.labeleMarginLeft.valuePx(r),marginBottom:u.labeleMarginBottom.valuePx(r),marginRight:u.labelMarginRight.valuePx(r)}},style:{paddingTop:u.labeledFieldPaddingTop.valuePx(r),paddingBottom:u.labeledFieldPaddingBottom.valuePx(r),paddingLeft:u.labeledFieldPaddingLeft.valuePx(r),paddingRight:u.labeledFieldPaddingRight.valuePx(r),border:"none",width:"100%",outline:"none",padding:0,display:r==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:r==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(r),marginTop:u.infoLabelMarginTop.valuePx(r)},singleSelectPickerField:{valueToLogo:(i,d)=>ne(i,d),valueToSubLabels:(i,d)=>de(i,d),name:D(g,"depositTo"),placeholder:c.checkDepositDrawer.depositToPlaceholder,style:{position:"relative"},defaultValue:{selectedOption:e.checkDepositLocalData.depositTo?.id,allOptions:e.depositAccounts.depositAccounts.map(i=>({label:i.accountName,value:i.id}))},textAlignment:"right",registerOptions:{required:!0,validate:i=>!!(i!=null&&i.selectedOption)}}})})}),t.jsx(N,{}),t.jsxs(Ue,{size:r,children:[t.jsxs(Qe,{size:r,children:[t.jsx(Ee,{children:c.checkDepositDrawer.checkPicLabel}),t.jsx(Z,{isLast:!1,children:c.checkDepositDrawer.frontSide}),t.jsx(G,{name:`${D(g,R)}.front`,registerOptions:{required:!0},file:e.checkFront,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:x,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:J,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"front"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>X(i),onEditFileName:S,openPopup:b,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.frontSideError,useMobileCam:!0,compressImage:!0}),t.jsx(Z,{isLast:!0,children:c.checkDepositDrawer.backSide}),t.jsx(G,{name:`${D(g,R)}.back`,registerOptions:{required:!0},file:e.checkBack,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:x,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:J,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"back"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>X(i),onEditFileName:S,openPopup:b,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.backSideError,useMobileCam:!0,compressImage:!0}),t.jsx(io,{children:c.checkDepositDrawer.picGuides.map(i=>t.jsxs(ao,{children:[t.jsx(oo,{}),t.jsx(Ne,{children:i})]},i))})]}),t.jsx(so,{windowSize:r,children:Ae.formatJPGText10MB})]})]})})})]})}const Ee=a(F)`
|
|
2
2
|
color: ${e=>e.theme.colors.hero};
|
|
3
3
|
`,Ne=a(F)`
|
|
4
4
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -145,7 +145,7 @@ import{X as Q,j as t,Y as $,gZ as pe,M as ee,_ as M,K as Y,o,a3 as he,C as l,a2
|
|
|
145
145
|
&:hover {
|
|
146
146
|
color: ${e=>e.theme.colors.primary};
|
|
147
147
|
}
|
|
148
|
-
`,co="checkDepositDetailPage",lo={NavBarContainerPaddingYAxis:new l(10,s[3])},no=e=>`${e}_form`,O={containerPaddingLeft:new l(s[3],s[6],s[8]),containerPaddingRight:new l(s[3],s[6],s[8]),successContentMargin:new l(s[3],s[12])},{spendManagement:po}=ee.getLocalizedStrings(),m=po.zeniAccounts.zeniAccountList,Co=({checkDeposit:e,analytics:p,filesEndPoint:x,authParams:b,onSaveChangesToLocalStore:y,onAnotherTransferClick:C,updateFilesEntity:j,onDeleteFile:P,onEditFileName:S,onCheckDpositClick:T,onDismissClick:r})=>{const n=Q(),[L,v]=
|
|
148
|
+
`,co="checkDepositDetailPage",lo={NavBarContainerPaddingYAxis:new l(10,s[3])},no=e=>`${e}_form`,O={containerPaddingLeft:new l(s[3],s[6],s[8]),containerPaddingRight:new l(s[3],s[6],s[8]),successContentMargin:new l(s[3],s[12])},{spendManagement:po}=ee.getLocalizedStrings(),m=po.zeniAccounts.zeniAccountList,Co=({checkDeposit:e,analytics:p,filesEndPoint:x,authParams:b,onSaveChangesToLocalStore:y,onAnotherTransferClick:C,updateFilesEntity:j,onDeleteFile:P,onEditFileName:S,onCheckDpositClick:T,onDismissClick:r})=>{const n=Q(),[L,v]=f.useState(!1);return t.jsx(go,{windowSize:n,children:e.fetchState==="Completed"?t.jsxs(_,{windowSize:n,children:[t.jsx(H,{windowSize:n,children:t.jsx(U,{"data-testid":$("check-deposit-drawer-close"),onClick:()=>{p.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),r?.()}})}),t.jsxs(fo,{windowSize:n,children:[t.jsx(pe,{width:150,height:150,shouldDisplay:!0,animationInLoop:!0}),t.jsxs(xo,{children:[m.checkDepositDrawer.transferSuccessMsgPrefix,t.jsx(mo,{children:M("0,0.[00]",e.checkDepositLocalData.amount)}),m.checkDepositDrawer.transferSuccessMsgSuffix]}),t.jsxs(ko,{children:[t.jsx(Y,{variant:"secondary",label:m.checkDepositDrawer.makeAnotherTransferBtn,onClick:C,"data-testid":$("check-deposit-drawer-another-transfer")}),t.jsx(Y,{variant:"primary",label:m.checkDepositDrawer.goToAccountBtn,onClick:r,style:{marginLeft:n==="small"?o.sp3:o.sp5},"data-testid":$("check-deposit-drawer-go-to-account")})]})]})]}):t.jsxs(t.Fragment,{children:[t.jsxs(_,{windowSize:n,children:[t.jsx(H,{windowSize:n,children:t.jsx(U,{"data-testid":$("check-deposit-drawer-close"),onClick:()=>{p.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),r?.()}})}),n==="small"?t.jsx(Do,{windowSize:n,children:m.checkDepositDrawer.title}):t.jsx($o,{children:m.checkDepositDrawer.title}),n==="small"?t.jsx(uo,{children:m.checkDepositDrawer.subTitle}):t.jsx(ho,{children:m.checkDepositDrawer.subTitle}),t.jsx(Ie,{analytics:p,authParams:b,checkDeposit:e,filesEndPoint:x,onSaveChangesToLocalStore:y,openPopup:v,onCheckDpositClick:T,onDeleteFile:P,onEditFileName:S,updateFilesEntity:j})]}),t.jsx(he,{formId:no(co),helperText:m.checkDepositDrawer.footNote,helperStyle:{paddingTop:o.sp0,paddingBottom:o.sp0},style:{zIndex:L?0:4,paddingTop:o.sp3,paddingBottom:o.sp3},primaryBtn:{label:m.checkDepositDrawer.depositBtn,isLoading:e.fetchState==="In-Progress"},cancelBtn:{label:m.checkDepositDrawer.cancelBtn,onClick:()=>{p.trackAccountsDepositCheckFormClicked("Cancel",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),r?.()}}})]})})},ho=a(F)`
|
|
149
149
|
color: ${e=>e.theme.colors.hero};
|
|
150
150
|
`,uo=a(ge)`
|
|
151
151
|
color: ${e=>e.theme.colors.hero};
|
|
@@ -165,11 +165,11 @@ import{X as Q,j as t,Y as $,gZ as pe,M as ee,_ as M,K as Y,o,a3 as he,C as l,a2
|
|
|
165
165
|
height: ${e=>e.windowSize==="small"?"auto":"100%"};
|
|
166
166
|
padding-left: ${e=>`${O.containerPaddingLeft.valuePx(e.windowSize)}`};
|
|
167
167
|
padding-right: ${e=>`${O.containerPaddingRight.valuePx(e.windowSize)}`};
|
|
168
|
-
`,
|
|
168
|
+
`,ko=a.div`
|
|
169
169
|
display: flex;
|
|
170
170
|
justify-content: center;
|
|
171
171
|
margin-top: ${o.sp7};
|
|
172
|
-
`,
|
|
172
|
+
`,fo=a.div`
|
|
173
173
|
height: 80%;
|
|
174
174
|
display: flex;
|
|
175
175
|
flex-direction: column;
|